From a7c0b3cb4f4b187f9e2b68360e8b7340e59b1fe2 Mon Sep 17 00:00:00 2001 From: ThaUnknown <6506529+ThaUnknown@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:20:48 +0200 Subject: [PATCH] 1.7.17 --- dist/jassub-worker-modern.wasm | Bin 2210519 -> 2210622 bytes dist/jassub-worker.js | 13 ++++++------- dist/jassub-worker.wasm | Bin 2006416 -> 2006519 bytes dist/jassub-worker.wasm.js | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/dist/jassub-worker-modern.wasm b/dist/jassub-worker-modern.wasm index fa481d277015c57f139c44c37fce6ccc310dc19f..2e8a0bedaff0fe49fb391924e4fe9c972d985bbf 100644 GIT binary patch delta 4395 zcmZ9Pc|a6L*1+dgch5A_-7`JYGYu$652(R#tx-Wi1CvBiW4!VuYBbTHF^b0~x-MR5 zynqNQidt&$N>scO71VMQ6(t%#OvuIqSB+n?uEA>!9(XJJ8q9vl_eb}y-m6!yyQ<%N zRb5k`1qbhD!A=hke1V4_Q8I;35+Sc(k31Y$L9h}B4Fx@vf5VoN1jk%xnMe9nN#Bu5 zsX{83zLBa4Dh{Edu~E|0DEVJ!BES~~&0L$v@h2r^t`UQwuH?CK#S!qRPrw;68Y#S7i?w$3S4$NAA$d0 z4H1#V5)NGzi$wq4H6Vxug+hh^J6V1>tPX-Q8k+=N;4mGV1TED=#BY&7GI+n3ZdlYq zbX^j>j-7XsAQnv{I)l%9h#0)VM-tI*n;1_-L-2!IMhA6`)&t!0Gbcq1O3o^&mI`>7M75%iih^BM164u6u=VJtrEWFR8wy;EPf%~ z0G!Ga7V#|{CTQ-I2%VX!gfa1Z7_H$#Ot=V%u{iv57s*7oQEoEN4pnql2uX%2b~A+R z6Jb8v+KMm|ag4}b$q)?DfBvy09dV`!M_Q!&b7r~y7WEjN8%ca{jBaWKtB53F9FD&n zMLGid^TiM#_?U<|vL*=SvQ(1iSbl&jXT9GfX#}pZT?0ugfUC4-5IF-^+0M5}z7-x) z|GOj@9s$4{$$u;Tqd~f*Z%dVy4${lK|zs zGn}sr{F{B@<*#wbRl$5Y2iNI=7JMOn8pkQif$kH%=bu*0ow-fomFt|-84dOe) zZB{&pui#-loAwU>G9XKb@&jz%&xo0Gc3do*KRO+6k?HEEH0pi6=vkN0*wxbPGO&x) zzRxd&X7%9X&4IQUi!+?}H$W-|yw%{;dbVgZF96(O%hLIA=BjXG`F(2OdeW6o@mqYH zY?lnqOmQ#-bv^rGI$x*D>xj=G84hVz04Q|U3OZtpKlp~?M)u}$quO-N^t zUl&3gaF7M32}4AfP5+uM_!DOnpGD>*1EM&Kc@x!HriT1ZgY{-MS%pfR`|r%y&2(Wr zfmw9eIH6O*Eb<30O=JGx1|6^ZgA3D!eLqh4fwz}qX!cTGrdQ5i34ZWf3{gb|zL>zLpz@fhg#Rize-+v^S<%88AqJfs zs}VY>_b^Y)o5Q@>)O$=jBisYbL+Pw=-;3nygrq;iQkpW=?jgzA)&)`T?t?33ed=@1xvE*^u3njX#>77Q@SoGk_!mee}xIboXy_gMZ3 zTWdSqW$Z^=rx3VBZ$7Zql3PG`siMy69@_3$;TF3D;yexu%@{%aD;Ao63Sy-lZMUo9 z5$yfYB`VmxYXIG}uTz8RDln zEtVk;B1qR%v4{LDV>k?L9+L%cA!aiDIZLd1)`ek(+DNmjC3a=^$rf3k>;NqqwzA@@+%n{V5HjKn0U&aw*v@>H(fX<(7M zw9S5_Cwxs$-nCDFuUYCnd&&qXr#XYAVI~Eu<=8rk6S}IyFXjX zwjn>7FAa-^FWJv~rImJcIPI|13LUOLEIrA{d_jOO>5OD~0g7^pJk*L?#n^80 zKC>{>&?q^WC3lzS_9C^wjxLos0glqjmGTle%7(0x#}E`N3gs3k))vZ|9WK*Ho8;>V z*Je4w>PW|W-Pn$LrlP|(%VJa8!!kF^;jck1U007Da#?A;{5GH%dQXn=4zvI}uLR(TN?vKQi%LLL^e>UPSDEg_#d z1}dj*aD`nOs?-2np$Fbou0uZEnx;g+BKlpLQh~;FxU$Y=TTH?&aTb~Gde`cq{U<4j zShW{SQuYEYrmtiuF9e_g7!YUS=?DF7L5yZ7<3YNHX=+tlVe&d@zv;xoT24`@6ASzP z9A&%@8MRdj7m&SoC?5c_bf?l=hF_WEfD%dII!!25wjh2kRbI!E-{Fw5DFT!4{6*zZ zTjXl5BQFt(=<|IY;}I+SIu1e+8`#hBB_Ore9UFL9OZN?MB*9vCXMkgR7@pfc%y7Jz zg51d*9}u|Dd|x_hZODK!$HWL^<|Rk_KOu{~&Z0KRx00R5XX7^bT$%Ia%dnC@7E~X6 z!dh6>X#ps%ayE+looa~<#Sa1-#U+928w6I+%fV_9P?q0Jy-cuoN~qcz$F2)iQyY83 z%wC#rs1yHdOSk*fY?RuEH;z0Xt}YWvA)y~WuU?@;qSe4>LM{8~1=R^`OspEs{a*Jx zfkL*ey_zE6+^=_1TjJbZiRuMAY+!Y-sJpGmjjyUVIjCc_k17!}emC?}qW~(|_x;rx zuFVD_NqDd`u&}EC*T!)DogUlyK&#(WdvvG;!xBk8;(VM$Qp{|NBthNG;v7jr48EI! zLBJV8JPAVZ@u=g}TA^T`jG^q9*mQPsy>MQ^|snqjzmp_e0uJ5`3qRE}{^MP$dgx5a)= z!mUXl;~L?ch$@PAp z{WU%>y{o$eK5t!D_di163pRDQdn3W3Ym9W468M7tG|GJy)m5Y25ge+29qYc>3Jy@$ zLM>)_f%_2_$HxWk9s~~%-IlvOz2N{G{4aO!j(DKo8lr9Gk#G34DLm?{TWR>)w2N`i zX%0T3xN(2B;$M*=MiM?1k39#r1p^LkyYVy4 z$>8VY)M8c=rPclkO4uhuw3h&R;ce|>Bpo$W`;e3n`m?MxXLpBcGlF0@n>1Mq0_4Ie z+IuGNOw|$yGCEUR6@aTR$JP7pl7L7BDzU=KyM zWi?-GsVK0pquRw6fKl$ghG6mcwQ-Vl9|%~@ z&#aXNC#5^t|Iuz=nD%6riX3+UM@?{vg~&xx9qeS`iTHH~zaNXQd62kRr+)->1dJ%`)&W_glS{2zRLC*plbh@LCD|CfjP1pM< zFpnip)>8=n%TAlBSBWU6&e4N7m`8_Y>2IRQvUIFj^Vr2~Jy#%e32nPjk7O$r=vPEj z8nsLx#x5?`JMyjO63NwA&&;sGLy1lO{~A%9%Thkk`&;pdSFpb6u_r&%TL3=(_6B{3 zfqPQlqxvW2-gN!%dVc|K(BvBZ4%}ev&*+#UH|UJB`Vqv-=k(L4ZFXLdM=k4jL9bVF zQ0lLGCWkzFOUJ*yU)fs^bj1bB*(iJ9z!k{Dp9W^FMRtEF=;<|Bo}C&Sj8`+fn&TCM TS14XB@Cw7rV5zab{Jj4F=A4+9 delta 4312 zcmZ9PdwdM%`oQ;jXJ&V^yR$pHvpY#h*iBrbiKH$KNoca|A*HIsX;D;8P{$T6KI(qz znz#fZcwHhmMN)SXdDKCOOT?vmTpBHP+N!!#kqYAednVDI)88L6-{fy-e8V7IQt~KoE<@iAiRdle^P407`O0!hsOhjBk?^SK+niJr>@A8| z8rO}GcC8h_zTC{~#gJE&bYqVVmKD|9e0M z1pc3%M@BJ21ay!MR{rk}K_M6t4r3(Pia8OmG6W9r*d%BV`}xo$Xrz=fzrhApujn@i zyauI|uTFv<|mHeO_;Jw>Hym>#X)k-;U2Tfo< z?rR54C0K?(`yt#6nJ9LKBqQv`ly1O0kcY1if;Pc0i%*yc^I#@gCc!Zk{)Ojqz$p^1 zE`os;n2KFifglsRZ30&ig%8*X-6?$MP8jZz7O)Pon|H2&*?h-Q$b|*iu>wvCif%V} z4Sp%$1$vbQ7F>KO&wfRxcgHDcs2MomC`%S;Dn2{G62P9tyao!9{n;#_WZ{jIY_tSfn0|(h6(Ea$^EKN@ z>WoTO90R*BQ4|I{rA3TZD{rp}P523qa19pmog~8|yr>EHf}t8u#|q5=*5Z>m;iO0_ z?pSLfPaqC%EBvE9Y{Q>N3yYHA08ZF0T!i3*^v7BKg^%=-5mR0W%0WK7NQj1me0h9)i~jO@pT}U_7{7a zJpa^R*lVGQH2Gr!bc+foYk2fvvEYSEs&zHeU0!nG)xqLCs8Q6Fe(Zg511{^yWN zwPExMN;S?OB1*vS0)HAOgyPnK*h8N$VW_xE30}=Q&@>o)g3V&}3VKffucWNT(-Xxz znr#*H*{xo?b$bxVe9BTWn8$r9S@BM;*!M#y#&1CkcEOlf4 zl!g*7|5FM*2EQ66ofa)eXz}_DiH2#6`(`r@%SKA+8E}tBo|EPfww{xICM@|{`m*gh zre_uW72pTI!E08?KtD{P@)rEZbR+y>6#U02rY?%-RZ7h%$+1c)LAg(rq~GlN&7|B% z^}O@|s7S5fN;Mv$ct=Y52y%H!f8!{~#p3?P?|f9d3#S<8I>_u@VC+ujkqe9`Un6tM zS!0_F`rF6Gn*soL`Q;*oo{Trm#t^9HLk5`JKsBxzU>>Q$TJ9cW{wKW_jxqOUMCW*OC)$d&bWmKop93Q}X>a~x0KFXg;g%f!aiUqb(CsSF}k^|O2zMMZEb(;`X4b8{>XFSW5N8!fjwLm5AN-!c-) zF!g~YWgr~kGy7PNg&k&I7i~3yLW26c;I0#Jcwg(RCU696rdqR1#L2U*=`rvH{!n6F zW}$==4p-UuMWhDVPtCS36BPEW!|Hu<`AGGrD=&XgQI3_uSEP2|y12 z%NV(35Cwo2;tV4HIL#D-e2hFCEH|i3jY?xGUcNeA_F$uNGIvmS-!oGl?juHTkRv2w z*RAr$KrG!RceTMSwC|Op7!iU_JKgZr=?=wTFGJ2>Ez9c;JdT29#P^aNC#KT=*tE=X_H|gwpGb-imSY2>G9if6<&Ii) zk3%Ukk@|6Pt-3H+d4~b#*Fu#7Sb{nAlxvK<0l1f(IIeQg`VVtE38lsGQXLIKP!rA9UNNi-UIq zeh{xvN66qO~siq{b z*Qqw;2}D2=D0Ql$Ji+o<*ESJ0^0BR4XJI40)!MbsLZ@k4vg;f6(k7M!qCN{RG6_jw ztW)(&Nnoy1^gNE&Tqjt|$3SPz-v{W5`}c5N31KPvx4_GOsUz)Ql#~W?xr6HXwApW7;&OK-d)ZH}u5IbG?hIEqh{QcUb(~1{_$DfS7;VEqQ`IiQc0Mjz^$}J? ztLcO%(P}ts$9gg9)t6xhKh<9i!Fv7FmjHHPhxgT4MBO-oRDZg4&2im4bq&B%OwCdEnuyX;b)W;DVW2?mBanV% zgF40v&-kk)Y6rsf616>f%SzO-W_ZezO4VKzw5U`)!=RYUhtw9htV|sRbbKOZESQQ} zgnkC&mqw`daQ$KRU`r_Bff|*7D{ItYRzPkQ-4l(-XulP>BD$OKTX&fWcZ=?P0L0!# z_e`BXn%wE*p&VbI>aGByJl*|w2Ic&dOq$+uJe=u{vC_2vw!od?f*JVET6d^}HmHw^ z+}VD}1CU*Cf_-J_5 zNYAYx(!ZbRiPMNmuBS^g$i{wqJeM7i&HX1l6AAlHcoGOTwZN7qJx4oHLw~GkODxpL z7y7iT)X2w2XnG^hkI+t0BOe~A6$sSrwWiuCg;>%?%LE$KK0%||xrW_8)ZUh1I<6V3 zr7-&D{BgW?+)VnGXv!s%*2 OS3|nIxFyz?ll_0+x|l!! diff --git a/dist/jassub-worker.js b/dist/jassub-worker.js index b6b3cc7..1e510aa 100644 --- a/dist/jassub-worker.js +++ b/dist/jassub-worker.js @@ -1,16 +1,15 @@ -"use strict";var Module=function(l={}){var l=l,h;l.ready=new Promise(function(t,r){h=t});var C=function(t){return console.log(t)},y=function(t){return console.error(t)};function _(){h(l)}function A(t,r){if(!t)throw r}var w=null;C=function(t){t==="JASSUB: No usable fontconfig configuration file found, using fallback."?console.debug(t):console.log(t)},y=function(t){t==="Fontconfig error: Cannot load default config file: No such file: (null)"?console.debug(t):console.error(t)},Y=function(t){return function(){t(),self.wasmMemory=B,self.HEAPU8C=new Uint8ClampedArray(B.buffer),self.HEAPU8=new Uint8Array(B.buffer)}}(Y);function F(t){throw t}var j,E,M,O,J,k,fe,le,B,ue;function Y(){var t=B.buffer;j=new Int8Array(t),E=new Int16Array(t),M=new Int32Array(t),O=new Uint8Array(t),J=new Uint16Array(t),k=new Uint32Array(t),fe=new Float32Array(t),le=new Float64Array(t)}if(B=new WebAssembly.Memory({initial:256,maximum:32768}),Y(),(!Math.imul||Math.imul(4294967295,5)!==-5)&&(Math.imul=function(t,r){var n=t>>>16,i=t&65535,o=r>>>16,u=r&65535;return i*u+(n*u+i*o<<16)|0}),!Math.fround){var ce=new Float32Array(1);Math.fround=function(t){return ce[0]=t,ce[0]}}Math.clz32||(Math.clz32=function(t){var r=32,n=t>>16;return n&&(r-=16,t=n),n=t>>8,n&&(r-=8,t=n),n=t>>4,n&&(r-=4,t=n),n=t>>2,n&&(r-=2,t=n),n=t>>1,n?r-2:r-t}),Math.trunc||(Math.trunc=function(t){return t<0?Math.ceil(t):Math.floor(t)});var de=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function pe(t,r,n){for(var i=r+n,o=r;t[o]&&!(o>=i);)++o;if(o-r>16&&t.buffer&&de)return de.decode(t.subarray(r,o));for(var u="";r>10,56320|g&1023)}}return u}function X(t,r){return t?pe(O,t,r):""}function Te(t,r,n,i){F("Assertion failed: "+X(t)+", at: "+[r?X(r):"unknown filename",n,i?X(i):"unknown function"])}function Pe(t,r,n){return 0}function Ae(t,r){}function Fe(t,r,n,i){if(!(i>0))return 0;for(var o=n,u=n+i-1,p=0;p=55296&&f<=57343){var v=t.charCodeAt(++p);f=65536+((f&1023)<<10)|v&1023}if(f<=127){if(n>=u)break;r[n++]=f}else if(f<=2047){if(n+1>=u)break;r[n++]=192|f>>6,r[n++]=128|f&63}else if(f<=65535){if(n+2>=u)break;r[n++]=224|f>>12,r[n++]=128|f>>6&63,r[n++]=128|f&63}else{if(n+3>=u)break;r[n++]=240|f>>18,r[n++]=128|f>>12&63,r[n++]=128|f>>6&63,r[n++]=128|f&63}}return r[n]=0,n-o}function at(t,r,n){return Fe(t,O,r,n)}function st(t,r,n){}function ot(t,r,n){return 0}function ft(t,r,n,i){}function lt(t,r,n,i){}function ut(t,r){}function ct(t,r,n,i,o){}function $e(t){switch(t){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+t)}}function dt(){for(var t=new Array(256),r=0;r<256;++r)t[r]=String.fromCharCode(r);Le=t}var Le=void 0;function D(t){for(var r="",n=t;O[n];)r+=Le[O[n++]];return r}var Q={},Z={},ge={},pt=48,gt=57;function Se(t){if(t===void 0)return"_unknown";t=t.replace(/[^a-zA-Z0-9_]/g,"$");var r=t.charCodeAt(0);return r>=pt&&r<=gt?"_"+t:t}function je(t,r){t=Se(t);var n={};return(n[t]=function(){return r.apply(this,arguments)},n)[t]}function Oe(t,r){var n=je(r,function(i){this.name=r,this.message=i;var o=new Error(i).stack;o!==void 0&&(this.stack=this.toString()+` -`+o.replace(/^Error(:[^\n]*)?\n/,""))});return n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},n}var N=void 0;function T(t){throw new N(t)}var He=void 0;function he(t){throw new He(t)}function K(t,r,n){t.forEach(function(f){ge[f]=r});function i(f){var v=n(f);v.length!==t.length&&he("Mismatched type converter count");for(var g=0;g>u])},destructorFunction:null})}function vt(t){if(!(this instanceof G)||!(t instanceof G))return!1;for(var r=this.$$.ptrType.registeredClass,n=this.$$.ptr,i=t.$$.ptrType.registeredClass,o=t.$$.ptr;r.baseClass;)n=r.upcast(n),r=r.baseClass;for(;i.baseClass;)o=i.upcast(o),i=i.baseClass;return r===i&&n===o}function yt(t){return{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType}}function Ee(t){function r(n){return n.$$.ptrType.registeredClass.name}T(r(t)+" instance already deleted")}var Me=!1;function Be(t){}function bt(t){t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)}function xe(t){t.count.value-=1;var r=t.count.value===0;r&&bt(t)}function Ve(t,r,n){if(r===n)return t;if(n.baseClass===void 0)return null;var i=Ve(t,r,n.baseClass);return i===null?null:n.downcast(i)}var ze={};function mt(){return Object.keys(re).length}function wt(){var t=[];for(var r in re)re.hasOwnProperty(r)&&t.push(re[r]);return t}var ee=[];function ke(){for(;ee.length;){var t=ee.pop();t.$$.deleteScheduled=!1,t.delete()}}var te=void 0;function Ct(t){te=t,ee.length&&te&&te(ke)}function _t(){l.getInheritedInstanceCount=mt,l.getLiveInheritedInstances=wt,l.flushPendingDeletes=ke,l.setDelayFunction=Ct}var re={};function Tt(t,r){for(r===void 0&&T("ptr should not be undefined");t.baseClass;)r=t.upcast(r),t=t.baseClass;return r}function Pt(t,r){return r=Tt(t,r),re[r]}function ve(t,r){(!r.ptrType||!r.ptr)&&he("makeClassHandle requires ptr and ptrType");var n=!!r.smartPtrType,i=!!r.smartPtr;return n!==i&&he("Both smartPtrType and smartPtr must be specified"),r.count={value:1},ne(Object.create(t,{$$:{value:r}}))}function At(t){var r=this.getPointee(t);if(!r)return this.destructor(t),null;var n=Pt(this.registeredClass,r);if(n!==void 0){if(n.$$.count.value===0)return n.$$.ptr=r,n.$$.smartPtr=t,n.clone();var i=n.clone();return this.destructor(t),i}function o(){return this.isSmartPointer?ve(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:t}):ve(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var u=this.registeredClass.getActualType(r),p=ze[u];if(!p)return o.call(this);var f;this.isConst?f=p.constPointerType:f=p.pointerType;var v=Ve(r,this.registeredClass,f.registeredClass);return v===null?o.call(this):this.isSmartPointer?ve(f.registeredClass.instancePrototype,{ptrType:f,ptr:v,smartPtrType:this,smartPtr:t}):ve(f.registeredClass.instancePrototype,{ptrType:f,ptr:v})}function ne(t){return typeof FinalizationRegistry>"u"?(ne=function(r){return r},t):(Me=new FinalizationRegistry(function(r){xe(r.$$)}),ne=function(r){var n=r.$$,i=!!n.smartPtr;if(i){var o={$$:n};Me.register(r,o,r)}return r},Be=function(r){return Me.unregister(r)},ne(t))}function Ft(){if(this.$$.ptr||Ee(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t=ne(Object.create(Object.getPrototypeOf(this),{$$:{value:yt(this.$$)}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t}function $t(){this.$$.ptr||Ee(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&T("Object already scheduled for deletion"),Be(this),xe(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function St(){return!this.$$.ptr}function jt(){return this.$$.ptr||Ee(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&T("Object already scheduled for deletion"),ee.push(this),ee.length===1&&te&&te(ke),this.$$.deleteScheduled=!0,this}function Ot(){G.prototype.isAliasOf=vt,G.prototype.clone=Ft,G.prototype.delete=$t,G.prototype.isDeleted=St,G.prototype.deleteLater=jt}function G(){}function Je(t,r,n){if(t[r].overloadTable===void 0){var i=t[r];t[r]=function(){return t[r].overloadTable.hasOwnProperty(arguments.length)||T("Function '"+n+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+t[r].overloadTable+")!"),t[r].overloadTable[arguments.length].apply(this,arguments)},t[r].overloadTable=[],t[r].overloadTable[i.argCount]=i}}function Et(t,r,n){l.hasOwnProperty(t)?((n===void 0||l[t].overloadTable!==void 0&&l[t].overloadTable[n]!==void 0)&&T("Cannot register public name '"+t+"' twice"),Je(l,t,t),l.hasOwnProperty(n)&&T("Cannot register multiple overloads of a function with the same number of arguments ("+n+")!"),l[t].overloadTable[n]=r):(l[t]=r,n!==void 0&&(l[t].numArguments=n))}function Mt(t,r,n,i,o,u,p,f){this.name=t,this.constructor=r,this.instancePrototype=n,this.rawDestructor=i,this.baseClass=o,this.getActualType=u,this.upcast=p,this.downcast=f,this.pureVirtualFunctions=[]}function ye(t,r,n){for(;r!==n;)r.upcast||T("Expected null or instance of "+n.name+", got an instance of "+r.name),t=r.upcast(t),r=r.baseClass;return t}function kt(t,r){if(r===null)return this.isReference&&T("null is not a valid "+this.name),0;r.$$||T('Cannot pass "'+Re(r)+'" as a '+this.name),r.$$.ptr||T("Cannot pass deleted object as a pointer of type "+this.name);var n=r.$$.ptrType.registeredClass,i=ye(r.$$.ptr,n,this.registeredClass);return i}function Ut(t,r){var n;if(r===null)return this.isReference&&T("null is not a valid "+this.name),this.isSmartPointer?(n=this.rawConstructor(),t!==null&&t.push(this.rawDestructor,n),n):0;r.$$||T('Cannot pass "'+Re(r)+'" as a '+this.name),r.$$.ptr||T("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&r.$$.ptrType.isConst&&T("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);var i=r.$$.ptrType.registeredClass;if(n=ye(r.$$.ptr,i,this.registeredClass),this.isSmartPointer)switch(r.$$.smartPtr===void 0&&T("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?n=r.$$.smartPtr:T("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:n=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)n=r.$$.smartPtr;else{var o=r.clone();n=this.rawShare(n,Ue.toHandle(function(){o.delete()})),t!==null&&t.push(this.rawDestructor,n)}break;default:T("Unsupporting sharing policy")}return n}function Rt(t,r){if(r===null)return this.isReference&&T("null is not a valid "+this.name),0;r.$$||T('Cannot pass "'+Re(r)+'" as a '+this.name),r.$$.ptr||T("Cannot pass deleted object as a pointer of type "+this.name),r.$$.ptrType.isConst&&T("Cannot convert argument of type "+r.$$.ptrType.name+" to parameter type "+this.name);var n=r.$$.ptrType.registeredClass,i=ye(r.$$.ptr,n,this.registeredClass);return i}function be(t){return this.fromWireType(M[t>>2])}function Wt(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t}function It(t){this.rawDestructor&&this.rawDestructor(t)}function Dt(t){t!==null&&t.delete()}function Lt(){V.prototype.getPointee=Wt,V.prototype.destructor=It,V.prototype.argPackAdvance=8,V.prototype.readValueFromPointer=be,V.prototype.deleteObject=Dt,V.prototype.fromWireType=At}function V(t,r,n,i,o,u,p,f,v,g,m){this.name=t,this.registeredClass=r,this.isReference=n,this.isConst=i,this.isSmartPointer=o,this.pointeeType=u,this.sharingPolicy=p,this.rawGetPointee=f,this.rawConstructor=v,this.rawShare=g,this.rawDestructor=m,!o&&r.baseClass===void 0?i?(this.toWireType=kt,this.destructorFunction=null):(this.toWireType=Rt,this.destructorFunction=null):this.toWireType=Ut}function Ht(t,r,n){l.hasOwnProperty(t)||he("Replacing nonexistant public symbol"),l[t].overloadTable!==void 0&&n!==void 0?l[t].overloadTable[n]=r:(l[t]=r,l[t].argCount=n)}function Bt(t,r,n){var i=dynCalls[t];return n&&n.length?i.apply(null,[r].concat(n)):i.call(null,r)}var me=[];function ie(t){var r=me[t];return r||(t>=me.length&&(me.length=t+1),me[t]=r=ue.get(t)),r}function xt(t,r,n){if(t.includes("j"))return Bt(t,r,n);var i=ie(r).apply(null,n);return i}function Vt(t,r){var n=[];return function(){return n.length=0,Object.assign(n,arguments),xt(t,r,n)}}function q(t,r){t=D(t);function n(){return t.includes("j")?Vt(t,r):ie(r)}var i=n();return typeof i!="function"&&T("unknown function pointer with signature "+t+": "+r),i}var Ge=void 0;function zt(t){var r=Ne(t),n=D(r);return z(r),n}function ae(t,r){var n=[],i={};function o(u){if(!i[u]&&!Z[u]){if(ge[u]){ge[u].forEach(o);return}n.push(u),i[u]=!0}}throw r.forEach(o),new Ge(t+": "+n.map(zt).join([", "]))}function Jt(t,r,n,i,o,u,p,f,v,g,m,P,$){m=D(m),u=q(o,u),f&&(f=q(p,f)),g&&(g=q(v,g)),$=q(P,$);var S=Se(m);Et(S,function(){ae("Cannot construct "+m+" due to unbound types",[i])}),K([t,r,n],i?[i]:[],function(U){U=U[0];var W,R;i?(W=U.registeredClass,R=W.instancePrototype):R=G.prototype;var L=je(S,function(){if(Object.getPrototypeOf(this)!==oe)throw new N("Use 'new' to construct "+m);if(I.constructor_body===void 0)throw new N(m+" has no accessible constructor");var it=I.constructor_body[arguments.length];if(it===void 0)throw new N("Tried to invoke ctor of "+m+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(I.constructor_body).toString()+") parameters instead!");return it.apply(this,arguments)}),oe=Object.create(R,{constructor:{value:L}});L.prototype=oe;var I=new Mt(m,L,oe,$,W,u,f,g);I.baseClass&&(I.baseClass.__derivedClasses===void 0&&(I.baseClass.__derivedClasses=[]),I.baseClass.__derivedClasses.push(I));var Hr=new V(m,I,!0,!1,!1),rt=new V(m+"*",I,!1,!1,!1),nt=new V(m+" const*",I,!1,!0,!1);return ze[t]={pointerType:rt,constPointerType:nt},Ht(S,L),[Hr,rt,nt]})}function qe(t,r){for(var n=[],i=0;i>2]);return n}function Ke(t){for(;t.length;){var r=t.pop(),n=t.pop();n(r)}}function Gt(t,r){if(!(t instanceof Function))throw new TypeError("new_ called with constructor type "+typeof t+" which is not a function");var n=je(t.name||"unknownFunctionName",function(){});n.prototype=t.prototype;var i=new n,o=t.apply(i,r);return o instanceof Object?o:i}function Ye(t,r,n,i,o,u){var p=r.length;p<2&&T("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var f=r[1]!==null&&n!==null,v=!1,g=1;g>>16,i=t&65535,o=r>>>16,u=r&65535;return i*u+(n*u+i*o<<16)|0}),!Math.fround){var ce=new Float32Array(1);Math.fround=function(t){return ce[0]=t,ce[0]}}Math.clz32||(Math.clz32=function(t){var r=32,n=t>>16;return n&&(r-=16,t=n),n=t>>8,n&&(r-=8,t=n),n=t>>4,n&&(r-=4,t=n),n=t>>2,n&&(r-=2,t=n),n=t>>1,n?r-2:r-t}),Math.trunc||(Math.trunc=function(t){return t<0?Math.ceil(t):Math.floor(t)});var de=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function pe(t,r,n){for(var i=r+n,o=r;t[o]&&!(o>=i);)++o;if(o-r>16&&t.buffer&&de)return de.decode(t.subarray(r,o));for(var u="";r>10,56320|g&1023)}}return u}function X(t,r){return t?pe(O,t,r):""}function Te(t,r,n,i){F("Assertion failed: "+X(t)+", at: "+[r?X(r):"unknown filename",n,i?X(i):"unknown function"])}function Pe(t,r,n){return 0}function Ae(t,r){}function Fe(t,r,n,i){if(!(i>0))return 0;for(var o=n,u=n+i-1,p=0;p=55296&&l<=57343){var v=t.charCodeAt(++p);l=65536+((l&1023)<<10)|v&1023}if(l<=127){if(n>=u)break;r[n++]=l}else if(l<=2047){if(n+1>=u)break;r[n++]=192|l>>6,r[n++]=128|l&63}else if(l<=65535){if(n+2>=u)break;r[n++]=224|l>>12,r[n++]=128|l>>6&63,r[n++]=128|l&63}else{if(n+3>=u)break;r[n++]=240|l>>18,r[n++]=128|l>>12&63,r[n++]=128|l>>6&63,r[n++]=128|l&63}}return r[n]=0,n-o}function at(t,r,n){return Fe(t,O,r,n)}function st(t,r,n){}function ot(t,r,n){return 0}function ft(t,r,n,i){}function lt(t,r,n,i){}function ut(t,r){}function ct(t,r,n,i,o){}function $e(t){switch(t){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+t)}}function dt(){for(var t=new Array(256),r=0;r<256;++r)t[r]=String.fromCharCode(r);Le=t}var Le=void 0;function D(t){for(var r="",n=t;O[n];)r+=Le[O[n++]];return r}var Q={},Z={},ge={},pt=48,gt=57;function Se(t){if(t===void 0)return"_unknown";t=t.replace(/[^a-zA-Z0-9_]/g,"$");var r=t.charCodeAt(0);return r>=pt&&r<=gt?"_"+t:t}function je(t,r){t=Se(t);var n={};return(n[t]=function(){return r.apply(this,arguments)},n)[t]}function Oe(t,r){var n=je(r,function(i){this.name=r,this.message=i;var o=new Error(i).stack;o!==void 0&&(this.stack=this.toString()+` +`+o.replace(/^Error(:[^\n]*)?\n/,""))});return n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},n}var N=void 0;function T(t){throw new N(t)}var He=void 0;function he(t){throw new He(t)}function K(t,r,n){t.forEach(function(l){ge[l]=r});function i(l){var v=n(l);v.length!==t.length&&he("Mismatched type converter count");for(var g=0;g>u])},destructorFunction:null})}function vt(t){if(!(this instanceof G)||!(t instanceof G))return!1;for(var r=this.$$.ptrType.registeredClass,n=this.$$.ptr,i=t.$$.ptrType.registeredClass,o=t.$$.ptr;r.baseClass;)n=r.upcast(n),r=r.baseClass;for(;i.baseClass;)o=i.upcast(o),i=i.baseClass;return r===i&&n===o}function yt(t){return{count:t.count,deleteScheduled:t.deleteScheduled,preservePointerOnDelete:t.preservePointerOnDelete,ptr:t.ptr,ptrType:t.ptrType,smartPtr:t.smartPtr,smartPtrType:t.smartPtrType}}function Ee(t){function r(n){return n.$$.ptrType.registeredClass.name}T(r(t)+" instance already deleted")}var Me=!1;function Be(t){}function bt(t){t.smartPtr?t.smartPtrType.rawDestructor(t.smartPtr):t.ptrType.registeredClass.rawDestructor(t.ptr)}function xe(t){t.count.value-=1;var r=t.count.value===0;r&&bt(t)}function Ve(t,r,n){if(r===n)return t;if(n.baseClass===void 0)return null;var i=Ve(t,r,n.baseClass);return i===null?null:n.downcast(i)}var ze={};function mt(){return Object.keys(re).length}function wt(){var t=[];for(var r in re)re.hasOwnProperty(r)&&t.push(re[r]);return t}var ee=[];function ke(){for(;ee.length;){var t=ee.pop();t.$$.deleteScheduled=!1,t.delete()}}var te=void 0;function Ct(t){te=t,ee.length&&te&&te(ke)}function _t(){f.getInheritedInstanceCount=mt,f.getLiveInheritedInstances=wt,f.flushPendingDeletes=ke,f.setDelayFunction=Ct}var re={};function Tt(t,r){for(r===void 0&&T("ptr should not be undefined");t.baseClass;)r=t.upcast(r),t=t.baseClass;return r}function Pt(t,r){return r=Tt(t,r),re[r]}function ve(t,r){(!r.ptrType||!r.ptr)&&he("makeClassHandle requires ptr and ptrType");var n=!!r.smartPtrType,i=!!r.smartPtr;return n!==i&&he("Both smartPtrType and smartPtr must be specified"),r.count={value:1},ne(Object.create(t,{$$:{value:r}}))}function At(t){var r=this.getPointee(t);if(!r)return this.destructor(t),null;var n=Pt(this.registeredClass,r);if(n!==void 0){if(n.$$.count.value===0)return n.$$.ptr=r,n.$$.smartPtr=t,n.clone();var i=n.clone();return this.destructor(t),i}function o(){return this.isSmartPointer?ve(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:t}):ve(this.registeredClass.instancePrototype,{ptrType:this,ptr:t})}var u=this.registeredClass.getActualType(r),p=ze[u];if(!p)return o.call(this);var l;this.isConst?l=p.constPointerType:l=p.pointerType;var v=Ve(r,this.registeredClass,l.registeredClass);return v===null?o.call(this):this.isSmartPointer?ve(l.registeredClass.instancePrototype,{ptrType:l,ptr:v,smartPtrType:this,smartPtr:t}):ve(l.registeredClass.instancePrototype,{ptrType:l,ptr:v})}function ne(t){return typeof FinalizationRegistry>"u"?(ne=function(r){return r},t):(Me=new FinalizationRegistry(function(r){xe(r.$$)}),ne=function(r){var n=r.$$,i=!!n.smartPtr;if(i){var o={$$:n};Me.register(r,o,r)}return r},Be=function(r){return Me.unregister(r)},ne(t))}function Ft(){if(this.$$.ptr||Ee(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var t=ne(Object.create(Object.getPrototypeOf(this),{$$:{value:yt(this.$$)}}));return t.$$.count.value+=1,t.$$.deleteScheduled=!1,t}function $t(){this.$$.ptr||Ee(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&T("Object already scheduled for deletion"),Be(this),xe(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function St(){return!this.$$.ptr}function jt(){return this.$$.ptr||Ee(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&T("Object already scheduled for deletion"),ee.push(this),ee.length===1&&te&&te(ke),this.$$.deleteScheduled=!0,this}function Ot(){G.prototype.isAliasOf=vt,G.prototype.clone=Ft,G.prototype.delete=$t,G.prototype.isDeleted=St,G.prototype.deleteLater=jt}function G(){}function Je(t,r,n){if(t[r].overloadTable===void 0){var i=t[r];t[r]=function(){return t[r].overloadTable.hasOwnProperty(arguments.length)||T("Function '"+n+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+t[r].overloadTable+")!"),t[r].overloadTable[arguments.length].apply(this,arguments)},t[r].overloadTable=[],t[r].overloadTable[i.argCount]=i}}function Et(t,r,n){f.hasOwnProperty(t)?((n===void 0||f[t].overloadTable!==void 0&&f[t].overloadTable[n]!==void 0)&&T("Cannot register public name '"+t+"' twice"),Je(f,t,t),f.hasOwnProperty(n)&&T("Cannot register multiple overloads of a function with the same number of arguments ("+n+")!"),f[t].overloadTable[n]=r):(f[t]=r,n!==void 0&&(f[t].numArguments=n))}function Mt(t,r,n,i,o,u,p,l){this.name=t,this.constructor=r,this.instancePrototype=n,this.rawDestructor=i,this.baseClass=o,this.getActualType=u,this.upcast=p,this.downcast=l,this.pureVirtualFunctions=[]}function ye(t,r,n){for(;r!==n;)r.upcast||T("Expected null or instance of "+n.name+", got an instance of "+r.name),t=r.upcast(t),r=r.baseClass;return t}function kt(t,r){if(r===null)return this.isReference&&T("null is not a valid "+this.name),0;r.$$||T('Cannot pass "'+Re(r)+'" as a '+this.name),r.$$.ptr||T("Cannot pass deleted object as a pointer of type "+this.name);var n=r.$$.ptrType.registeredClass,i=ye(r.$$.ptr,n,this.registeredClass);return i}function Ut(t,r){var n;if(r===null)return this.isReference&&T("null is not a valid "+this.name),this.isSmartPointer?(n=this.rawConstructor(),t!==null&&t.push(this.rawDestructor,n),n):0;r.$$||T('Cannot pass "'+Re(r)+'" as a '+this.name),r.$$.ptr||T("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&r.$$.ptrType.isConst&&T("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);var i=r.$$.ptrType.registeredClass;if(n=ye(r.$$.ptr,i,this.registeredClass),this.isSmartPointer)switch(r.$$.smartPtr===void 0&&T("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?n=r.$$.smartPtr:T("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:n=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)n=r.$$.smartPtr;else{var o=r.clone();n=this.rawShare(n,Ue.toHandle(function(){o.delete()})),t!==null&&t.push(this.rawDestructor,n)}break;default:T("Unsupporting sharing policy")}return n}function Rt(t,r){if(r===null)return this.isReference&&T("null is not a valid "+this.name),0;r.$$||T('Cannot pass "'+Re(r)+'" as a '+this.name),r.$$.ptr||T("Cannot pass deleted object as a pointer of type "+this.name),r.$$.ptrType.isConst&&T("Cannot convert argument of type "+r.$$.ptrType.name+" to parameter type "+this.name);var n=r.$$.ptrType.registeredClass,i=ye(r.$$.ptr,n,this.registeredClass);return i}function be(t){return this.fromWireType(M[t>>2])}function Wt(t){return this.rawGetPointee&&(t=this.rawGetPointee(t)),t}function It(t){this.rawDestructor&&this.rawDestructor(t)}function Dt(t){t!==null&&t.delete()}function Lt(){V.prototype.getPointee=Wt,V.prototype.destructor=It,V.prototype.argPackAdvance=8,V.prototype.readValueFromPointer=be,V.prototype.deleteObject=Dt,V.prototype.fromWireType=At}function V(t,r,n,i,o,u,p,l,v,g,m){this.name=t,this.registeredClass=r,this.isReference=n,this.isConst=i,this.isSmartPointer=o,this.pointeeType=u,this.sharingPolicy=p,this.rawGetPointee=l,this.rawConstructor=v,this.rawShare=g,this.rawDestructor=m,!o&&r.baseClass===void 0?i?(this.toWireType=kt,this.destructorFunction=null):(this.toWireType=Rt,this.destructorFunction=null):this.toWireType=Ut}function Ht(t,r,n){f.hasOwnProperty(t)||he("Replacing nonexistant public symbol"),f[t].overloadTable!==void 0&&n!==void 0?f[t].overloadTable[n]=r:(f[t]=r,f[t].argCount=n)}function Bt(t,r,n){var i=dynCalls[t];return n&&n.length?i.apply(null,[r].concat(n)):i.call(null,r)}var me=[];function ie(t){var r=me[t];return r||(t>=me.length&&(me.length=t+1),me[t]=r=ue.get(t)),r}function xt(t,r,n){if(t.includes("j"))return Bt(t,r,n);var i=ie(r).apply(null,n);return i}function Vt(t,r){var n=[];return function(){return n.length=0,Object.assign(n,arguments),xt(t,r,n)}}function q(t,r){t=D(t);function n(){return t.includes("j")?Vt(t,r):ie(r)}var i=n();return typeof i!="function"&&T("unknown function pointer with signature "+t+": "+r),i}var Ge=void 0;function zt(t){var r=Ne(t),n=D(r);return z(r),n}function ae(t,r){var n=[],i={};function o(u){if(!i[u]&&!Z[u]){if(ge[u]){ge[u].forEach(o);return}n.push(u),i[u]=!0}}throw r.forEach(o),new Ge(t+": "+n.map(zt).join([", "]))}function Jt(t,r,n,i,o,u,p,l,v,g,m,P,$){m=D(m),u=q(o,u),l&&(l=q(p,l)),g&&(g=q(v,g)),$=q(P,$);var S=Se(m);Et(S,function(){ae("Cannot construct "+m+" due to unbound types",[i])}),K([t,r,n],i?[i]:[],function(U){U=U[0];var W,R;i?(W=U.registeredClass,R=W.instancePrototype):R=G.prototype;var L=je(S,function(){if(Object.getPrototypeOf(this)!==oe)throw new N("Use 'new' to construct "+m);if(I.constructor_body===void 0)throw new N(m+" has no accessible constructor");var it=I.constructor_body[arguments.length];if(it===void 0)throw new N("Tried to invoke ctor of "+m+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(I.constructor_body).toString()+") parameters instead!");return it.apply(this,arguments)}),oe=Object.create(R,{constructor:{value:L}});L.prototype=oe;var I=new Mt(m,L,oe,$,W,u,l,g);I.baseClass&&(I.baseClass.__derivedClasses===void 0&&(I.baseClass.__derivedClasses=[]),I.baseClass.__derivedClasses.push(I));var Hr=new V(m,I,!0,!1,!1),rt=new V(m+"*",I,!1,!1,!1),nt=new V(m+" const*",I,!1,!0,!1);return ze[t]={pointerType:rt,constPointerType:nt},Ht(S,L),[Hr,rt,nt]})}function qe(t,r){for(var n=[],i=0;i>2]);return n}function Ke(t){for(;t.length;){var r=t.pop(),n=t.pop();n(r)}}function Gt(t,r){if(!(t instanceof Function))throw new TypeError("new_ called with constructor type "+typeof t+" which is not a function");var n=je(t.name||"unknownFunctionName",function(){});n.prototype=t.prototype;var i=new n,o=t.apply(i,r);return o instanceof Object?o:i}function Ye(t,r,n,i,o,u){var p=r.length;p<2&&T("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var l=r[1]!==null&&n!==null,v=!1,g=1;g0?", ":"")+$),S+=(m||u?"var rv = ":"")+"invoker(fn"+($.length>0?", ":"")+$+`); +`,W.push("argType"+g),R.push(r[g+2]);if(l&&($="thisWired"+($.length>0?", ":"")+$),S+=(m||u?"var rv = ":"")+"invoker(fn"+($.length>0?", ":"")+$+`); `,v)S+=`runDestructors(destructors); -`;else for(var g=f?1:2;g0);var p=qe(r,n);o=q(i,o),K([],[t],function(f){f=f[0];var v="constructor "+f.name;if(f.registeredClass.constructor_body===void 0&&(f.registeredClass.constructor_body=[]),f.registeredClass.constructor_body[r-1]!==void 0)throw new N("Cannot register multiple constructors with identical number of parameters ("+(r-1)+") for class '"+f.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return f.registeredClass.constructor_body[r-1]=function(){ae("Cannot construct "+f.name+" due to unbound types",p)},K([],p,function(g){return g.splice(1,0,null),f.registeredClass.constructor_body[r-1]=Ye(v,g,null,o,u),[]}),[]})}function Kt(t,r,n,i,o,u,p,f,v){var g=qe(n,i);r=D(r),u=q(o,u),K([],[t],function(m){m=m[0];var P=m.name+"."+r;r.startsWith("@@")&&(r=Symbol[r.substring(2)]),f&&m.registeredClass.pureVirtualFunctions.push(r);function $(){ae("Cannot call "+P+" due to unbound types",g)}var S=m.registeredClass.instancePrototype,U=S[r];return U===void 0||U.overloadTable===void 0&&U.className!==m.name&&U.argCount===n-2?($.argCount=n-2,$.className=m.name,S[r]=$):(Je(S,r,P),S[r].overloadTable[n-2]=$),K([],g,function(W){var R=Ye(P,W,m,u,p,v);return S[r].overloadTable===void 0?(R.argCount=n-2,S[r]=R):S[r].overloadTable[n-2]=R,[]}),[]})}function Xe(t,r,n){return t instanceof Object||T(n+' with invalid "this": '+t),t instanceof r.registeredClass.constructor||T(n+' incompatible with "this" of type '+t.constructor.name),t.$$.ptr||T("cannot call emscripten binding method "+n+" on deleted object"),ye(t.$$.ptr,t.$$.ptrType.registeredClass,r.registeredClass)}function Yt(t,r,n,i,o,u,p,f,v,g){r=D(r),o=q(i,o),K([],[t],function(m){m=m[0];var P=m.name+"."+r,$={get:function(){ae("Cannot access "+P+" due to unbound types",[n,p])},enumerable:!0,configurable:!0};return v?$.set=function(){ae("Cannot access "+P+" due to unbound types",[n,p])}:$.set=function(S){T(P+" is a read-only property")},Object.defineProperty(m.registeredClass.instancePrototype,r,$),K([],v?[n,p]:[n],function(S){var U=S[0],W={get:function(){var L=Xe(this,m,P+" getter");return U.fromWireType(o(u,L))},enumerable:!0};if(v){v=q(f,v);var R=S[1];W.set=function(L){var oe=Xe(this,m,P+" setter"),I=[];v(g,oe,R.toWireType(I,L)),Ke(I)}}return Object.defineProperty(m.registeredClass.instancePrototype,r,W),[]}),[]})}function Xt(){this.allocated=[void 0],this.freelist=[],this.get=function(t){return this.allocated[t]},this.has=function(t){return this.allocated[t]!==void 0},this.allocate=function(t){var r=this.freelist.pop()||this.allocated.length;return this.allocated[r]=t,r},this.free=function(t){this.allocated[t]=void 0,this.freelist.push(t)}}var H=new Xt;function Qt(t){t>=H.reserved&&--H.get(t).refcount===0&&H.free(t)}function Zt(){for(var t=0,r=H.reserved;r>2])};case 3:return function(n){return this.fromWireType(le[n>>3])};default:throw new TypeError("Unknown float type: "+t)}}function rr(t,r,n){var i=$e(n);r=D(r),x(t,{name:r,fromWireType:function(o){return o},toWireType:function(o,u){return u},argPackAdvance:8,readValueFromPointer:tr(r,i),destructorFunction:null})}function nr(t,r,n){switch(r){case 0:return n?function(o){return j[o]}:function(o){return O[o]};case 1:return n?function(o){return E[o>>1]}:function(o){return J[o>>1]};case 2:return n?function(o){return M[o>>2]}:function(o){return k[o>>2]};default:throw new TypeError("Unknown integer type: "+t)}}function ir(t,r,n,i,o){r=D(r);var u=$e(n),p=function(P){return P};if(i===0){var f=32-8*n;p=function(P){return P<>>f}}var v=r.includes("unsigned"),g=function(P,$){},m;v?m=function(P,$){return g($,this.name),$>>>0}:m=function(P,$){return g($,this.name),$},x(t,{name:r,fromWireType:p,toWireType:m,argPackAdvance:8,readValueFromPointer:nr(r,u,i!==0),destructorFunction:null})}function ar(t,r,n){var i=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],o=i[r];function u(p){p=p>>2;var f=k,v=f[p],g=f[p+1];return new o(f.buffer,g,v)}n=D(n),x(t,{name:n,fromWireType:u,argPackAdvance:8,readValueFromPointer:u},{ignoreDuplicateRegistrations:!0})}function sr(t){for(var r=0,n=0;n=55296&&i<=57343?(r+=4,++n):r+=3}return r}function or(t,r){r=D(r);var n=r==="std::string";x(t,{name:r,fromWireType:function(i){var o=k[i>>2],u=i+4,p;if(n)for(var f=u,v=0;v<=o;++v){var g=u+v;if(v==o||O[g]==0){var m=g-f,P=X(f,m);p===void 0?p=P:(p+=String.fromCharCode(0),p+=P),f=g+1}}else{for(var $=new Array(o),v=0;v>2]=u,n&&p)at(o,v,u+1);else if(p)for(var g=0;g255&&(z(v),T("String has UTF-16 code units that do not fit in 8 bits")),O[v+g]=m}else for(var g=0;g>1,o=i+r/2;!(i>=o)&&J[i];)++i;if(n=i<<1,n-t>32&&Qe)return Qe.decode(O.subarray(t,n));for(var u="",p=0;!(p>=r/2);++p){var f=E[t+p*2>>1];if(f==0)break;u+=String.fromCharCode(f)}return u}function lr(t,r,n){if(n===void 0&&(n=2147483647),n<2)return 0;n-=2;for(var i=r,o=n>1]=p,r+=2}return E[r>>1]=0,r-i}function ur(t){return t.length*2}function cr(t,r){for(var n=0,i="";!(n>=r/4);){var o=M[t+n*4>>2];if(o==0)break;if(++n,o>=65536){var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|u&1023)}else i+=String.fromCharCode(o)}return i}function dr(t,r,n){if(n===void 0&&(n=2147483647),n<4)return 0;for(var i=r,o=i+n-4,u=0;u=55296&&p<=57343){var f=t.charCodeAt(++u);p=65536+((p&1023)<<10)|f&1023}if(M[r>>2]=p,r+=4,r+4>o)break}return M[r>>2]=0,r-i}function pr(t){for(var r=0,n=0;n=55296&&i<=57343&&++n,r+=4}return r}function gr(t,r,n){n=D(n);var i,o,u,p,f;r===2?(i=fr,o=lr,p=ur,u=function(){return J},f=1):r===4&&(i=cr,o=dr,p=pr,u=function(){return k},f=2),x(t,{name:n,fromWireType:function(v){for(var g=k[v>>2],m=u(),P,$=v+4,S=0;S<=g;++S){var U=v+4+S*r;if(S==g||m[U>>f]==0){var W=U-$,R=i($,W);P===void 0?P=R:(P+=String.fromCharCode(0),P+=R),$=U+r}}return z(v),P},toWireType:function(v,g){typeof g!="string"&&T("Cannot pass non-string to C++ string type "+n);var m=p(g),P=De(4+m+r);return k[P>>2]=m>>f,o(g,P+4,m+r),v!==null&&v.push(z,P),P},argPackAdvance:8,readValueFromPointer:be,destructorFunction:function(v){z(v)}})}function hr(t,r){r=D(r),x(t,{isVoid:!0,name:r,argPackAdvance:0,fromWireType:function(){},toWireType:function(n,i){}})}function vr(){throw 1/0}function yr(t,r,n,i,o,u,p){return-52}function br(t,r,n,i,o,u){}function mr(){F("")}var We;typeof performance<"u"&&performance.now?We=function(){return performance.now()}:We=Date.now;function wr(){return 2147483648}function Cr(t){var r=B.buffer;try{return B.grow(t-r.byteLength+65535>>>16),Y(),1}catch{}}function _r(t){var r=O.length;t=t>>>0;var n=wr();if(t>n)return!1;for(var i=function(v,g){return v+(g-v%g)%g},o=1;o<=4;o*=2){var u=r*(1+.2/o);u=Math.min(u,t+100663296);var p=Math.min(n,i(Math.max(t,u),65536)),f=Cr(p);if(f)return!0}return!1}var Ie={};function Tr(){return"./this.program"}function se(){if(!se.strings){var t=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:t,_:Tr()};for(var n in Ie)Ie[n]===void 0?delete r[n]:r[n]=Ie[n];var i=[];for(var n in r)i.push(n+"="+r[n]);se.strings=i}return se.strings}function Pr(t,r){for(var n=0;n>0]=t.charCodeAt(n);j[r>>0]=0}function Ar(t,r){var n=0;return se().forEach(function(i,o){var u=r+n;k[t+o*4>>2]=u,Pr(i,u),n+=i.length+1}),0}function Fr(t,r){var n=se();k[t>>2]=n.length;var i=0;return n.forEach(function(o){i+=o.length+1}),k[r>>2]=i,0}function $r(t){throw"exit("+t+")"}var Sr=$r;function jr(t){return 52}function Or(t,r,n,i){return 52}function Er(t,r,n,i,o){return 70}var Mr=[null,[],[]];function kr(t,r){var n=Mr[t];r===0||r===10?((t===1?C:y)(pe(n,0)),n.length=0):n.push(r)}function Ur(t,r,n,i){for(var o=0,u=0;u>2],f=k[r+4>>2];r+=8;for(var v=0;v>2]=o,0}dt(),N=l.BindingError=Oe(Error,"BindingError"),He=l.InternalError=Oe(Error,"InternalError"),Ot(),_t(),Lt(),Ge=l.UnboundTypeError=Oe(Error,"UnboundTypeError"),Nt();var Rr={b:Te,k:Pe,I:Ae,B:st,K:ot,G:ft,n:lt,H:ut,u:ct,r:ht,j:Jt,A:qt,d:Kt,c:Yt,L:er,p:rr,g:ir,e:ar,q:or,l:gr,s:hr,y:vr,C:yr,D:br,f:mr,m:We,z:_r,E:Ar,F:Fr,h:Sr,i:jr,o:Or,t:Er,J:Ur,x:Wr,v:Dr,w:Ir,a:B};function Wr(t,r,n){var i=Ce();try{return ie(t)(r,n)}catch(o){if(_e(i),o!==o+0)throw o;we(1,0)}}function Ir(t,r,n,i,o){var u=Ce();try{return ie(t)(r,n,i,o)}catch(p){if(_e(u),p!==p+0)throw p;we(1,0)}}function Dr(t,r,n,i){var o=Ce();try{return ie(t)(r,n,i)}catch(u){if(_e(o),u!==u+0)throw u;we(1,0)}}l.getTempRet0=tt,l.setTempRet0=et;function Lr(t){t.M()}var Ze={a:Rr},De,z,Ne,we,et,tt,Ce,_e;return(WebAssembly.instantiateStreaming?WebAssembly.instantiateStreaming(fetch("jassub-worker-modern.wasm"),Ze):WebAssembly.instantiate(l.wasm,Ze)).then(function(t){w=(t.instance||t).exports,l._malloc=De=w.N,z=w.O,Ne=w.P,l.__embind_initialize_bindings=w.Q,we=w.S,et=w.T,tt=w.U,Ce=w.V,_e=w.W,w.X,w.Y,w.Z,w._,ue=w.R,Lr(w),_()}),l.ready};String.prototype.startsWith||(String.prototype.startsWith=function(s,l=0){return this.substring(l,s.length)===s});String.prototype.includes||(String.prototype.includes=function(s,l){return this.indexOf(s,l)!==-1});Uint8Array.prototype.slice||(Uint8Array.prototype.slice=function(s,l){return new Uint8Array(this.subarray(s,l))});function toAbsoluteIndex(s,l){const h=s>>0;return h<0?Math.max(h+l,0):Math.min(h,l)}Uint8Array.prototype.fill||(Int8Array.prototype.fill=Int16Array.prototype.fill=Int32Array.prototype.fill=Uint8Array.prototype.fill=Uint16Array.prototype.fill=Uint32Array.prototype.fill=Float32Array.prototype.fill=Float64Array.prototype.fill=Array.prototype.fill=function(s){if(this==null)throw new TypeError("this is null or not defined");const l=Object(this),h=l.length>>>0,C=arguments.length;let y=toAbsoluteIndex(C>1?arguments[1]:void 0,h);const _=C>2?arguments[2]:void 0,A=_===void 0?h:toAbsoluteIndex(_,h);for(;A>y;)l[y++]=s;return l});Uint8Array.prototype.copyWithin||(Int8Array.prototype.copyWithin=Int16Array.prototype.copyWithin=Int32Array.prototype.copyWithin=Uint8Array.prototype.copyWithin=Uint16Array.prototype.copyWithin=Uint32Array.prototype.copyWithin=Float32Array.prototype.copyWithin=Float64Array.prototype.copyWithin=Array.prototype.copyWithin=function(s,l){const h=Object(this),C=h.length>>>0;let y=toAbsoluteIndex(s,C),_=toAbsoluteIndex(l,C);const A=arguments.length>2?arguments[2]:void 0;let w=Math.min((A===void 0?C:toAbsoluteIndex(A,C))-_,C-y),F=1;for(_0;)_ in h?h[y]=h[_]:delete h[y],y+=F,_+=F;return h});Date.now||(Date.now=()=>new Date().getTime());"performance"in self||(self.performance={now:()=>Date.now()});if(typeof console>"u"){const s=(l,h)=>{postMessage({target:"console",command:l,content:JSON.stringify(Array.prototype.slice.call(h))})};self.console={log:function(){s("log",arguments)},debug:function(){s("debug",arguments)},info:function(){s("info",arguments)},warn:function(){s("warn",arguments)},error:function(){s("error",arguments)}},console.log("Detected lack of console, overridden console")}typeof Promise>"u"&&(self.Promise=function(s){let l=()=>{};return s(h=>setTimeout(()=>l(h),0)),{then:h=>l=h}});const read_=(s,l)=>{const h=new XMLHttpRequest;return h.open("GET",s,!1),h.responseType=l?"arraybuffer":"text",h.send(null),h.response},readAsync=(s,l,h)=>{const C=new XMLHttpRequest;C.open("GET",s,!0),C.responseType="arraybuffer",C.onload=()=>{if((C.status===200||C.status===0)&&C.response)return l(C.response)},C.onerror=h,C.send(null)};let lastCurrentTime=0;const rate=1;let rafId=null,nextIsRaf=!1,lastCurrentTimeReceivedAt=Date.now(),targetFps=24,useLocalFonts=!1,blendMode="js",availableFonts={};const fontMap_={};let fontId=0,debug;self.width=0;self.height=0;let asyncRender=!1;self.addFont=({font:s})=>asyncWrite(s);const findAvailableFonts=s=>{s=s.trim().toLowerCase(),s.startsWith("@")&&(s=s.substring(1)),!fontMap_[s]&&(fontMap_[s]=!0,availableFonts[s]?asyncWrite(availableFonts[s]):useLocalFonts&&postMessage({target:"getLocalFont",font:s}))},asyncWrite=s=>{typeof s=="string"?readAsync(s,l=>{allocFont(new Uint8Array(l))},console.error):allocFont(s)},allocFont=s=>{const l=_malloc(s.byteLength);self.HEAPU8.set(s,l),jassubObj.addFont("font-"+fontId++,l,s.byteLength),jassubObj.reloadFonts()},processAvailableFonts=s=>{if(!availableFonts)return;const l=parseAss(s);for(let y=0;y{processAvailableFonts(s),dropAllBlur&&(s=dropBlur(s)),jassubObj.createTrackMem(s),subtitleColorSpace=libassYCbCrMap[jassubObj.trackColorSpace],postMessage({target:"verifyColorSpace",subtitleColorSpace})};self.getColorSpace=()=>postMessage({target:"verifyColorSpace",subtitleColorSpace});self.freeTrack=()=>{jassubObj.removeTrack()};self.setTrackByUrl=({url:s})=>{self.setTrack({content:read_(s)})};const getCurrentTime=()=>{const s=(Date.now()-lastCurrentTimeReceivedAt)/1e3;return _isPaused?lastCurrentTime:(s>5&&(console.error("Didn't received currentTime > 5 seconds. Assuming video was paused."),setIsPaused(!0)),lastCurrentTime+s*rate)},setCurrentTime=s=>{lastCurrentTime=s,lastCurrentTimeReceivedAt=Date.now(),rafId||(nextIsRaf?rafId=requestAnimationFrame(renderLoop):(renderLoop(),setTimeout(()=>{nextIsRaf=!1},20)))};let _isPaused=!0;const setIsPaused=s=>{s!==_isPaused&&(_isPaused=s,s?rafId&&(clearTimeout(rafId),rafId=null):(lastCurrentTimeReceivedAt=Date.now(),rafId=requestAnimationFrame(renderLoop)))},a="BT601",b="BT709",c="SMPTE240M",d="FCC",libassYCbCrMap=[null,a,null,a,a,b,b,c,c,d,d],render=(s,l)=>{const h={},C=performance.now(),y=blendMode==="wasm"?jassubObj.renderBlend(s,l||0):jassubObj.renderImage(s,l||0);if(debug){const _=performance.now(),A=jassubObj.time;h.WASMRenderTime=A-C,h.WASMBitmapDecodeTime=_-A,h.JSRenderTime=Date.now()}if(jassubObj.changed!==0||l){const _=[],A=[];if(!y)return paintImages({images:_,buffers:A,times:h});if(asyncRender){const w=[];for(let F=y,j=0;j{for(let j=0;j<_.length;j++)_[j].image=F[j];debug&&(h.JSBitmapGenerationTime=Date.now()-h.JSRenderTime),paintImages({images:_,buffers:F,times:h})})}else{for(let w=y,F=0;F{lastCurrentTime=s,render(s)};const renderLoop=s=>{rafId=0,render(getCurrentTime(),s),_isPaused||(rafId=requestAnimationFrame(renderLoop))},paintImages=({times:s,images:l,buffers:h})=>{const C={target:"render",asyncRender,images:l,times:s,width:self.width,height:self.height,colorSpace:subtitleColorSpace};if(offscreenRender){(offCanvas.height!==self.height||offCanvas.width!==self.width)&&(offCanvas.width=self.width,offCanvas.height=self.height),offCanvasCtx.clearRect(0,0,self.width,self.height);for(const y of l)y.image&&(asyncRender?(offCanvasCtx.drawImage(y.image,y.x,y.y),y.image.close()):(bufferCanvas.width=y.w,bufferCanvas.height=y.h,bufferCtx.putImageData(new ImageData(self.HEAPU8C.subarray(y.image,y.image+y.w*y.h*4),y.w,y.h),0,0),offCanvasCtx.drawImage(bufferCanvas,y.x,y.y)));if(offscreenRender==="hybrid"){if(!l.length)return postMessage(C);debug&&(s.bitmaps=l.length);try{const y=offCanvas.transferToImageBitmap();C.images=[{image:y,x:0,y:0}],C.asyncRender=!0,postMessage(C,[y])}catch{postMessage({target:"unbusy"})}}else{if(debug){s.JSRenderTime=Date.now()-s.JSRenderTime-(s.JSBitmapGenerationTime||0);let y=0;for(const _ in s)y+=s[_];console.log("Bitmaps: "+l.length+" Total: "+(y|0)+"ms",s)}postMessage({target:"unbusy"})}}else postMessage(C,h)},parseAss=s=>{let l,h,C,y,_,A,w,F,j,E;const M=[],O=s.split(/[\r\n]+/g);for(F=0;Fh.length&&(C=A.slice(h.length-1).join(","),A=A.slice(0,h.length-1),A.push(C)),A=A.map(J=>J.trim()),h)){for(w={},j=0;js.replace(blurRegex,""),requestAnimationFrame=(()=>{let s=0;return l=>{const h=Date.now();if(s===0)s=h+1e3/targetFps;else for(;h+2>=s;)s+=1e3/targetFps;const C=Math.max(s-h,0);return setTimeout(l,C)}})(),_applyKeys=(s,l)=>{for(const h of Object.keys(s))l[h]=s[h]};let offCanvas,offCanvasCtx,offscreenRender,bufferCanvas,bufferCtx,jassubObj,subtitleColorSpace,dropAllBlur,_malloc,hasBitmapBug;self.init=data=>{hasBitmapBug=data.hasBitmapBug;try{const s=new WebAssembly.Module(Uint8Array.of(0,97,115,109,1,0,0,0));if(!(s instanceof WebAssembly.Module)||!(new WebAssembly.Instance(s)instanceof WebAssembly.Instance))throw new Error("WASM not supported")}catch(e){console.warn(e),eval(read_(data.legacyWasmUrl))}if(WebAssembly.instantiateStreaming){const s=self.fetch;self.fetch=l=>s(data.wasmUrl)}Module({wasm:!WebAssembly.instantiateStreaming&&read_(data.wasmUrl,!0)}).then(s=>{_malloc=s._malloc,self.width=data.width,self.height=data.height,blendMode=data.blendMode,asyncRender=data.asyncRender,asyncRender&&typeof createImageBitmap>"u"&&(asyncRender=!1,console.error("'createImageBitmap' needed for 'asyncRender' unsupported!")),availableFonts=data.availableFonts,debug=data.debug,targetFps=data.targetFps||targetFps,useLocalFonts=data.useLocalFonts,dropAllBlur=data.dropAllBlur;const l=data.fallbackFont.toLowerCase();jassubObj=new s.JASSUB(self.width,self.height,l||null,debug),l&&findAvailableFonts(l);let h=data.subContent;h||(h=read_(data.subUrl)),processAvailableFonts(h),dropAllBlur&&(h=dropBlur(h));for(const C of data.fonts||[])asyncWrite(C);jassubObj.createTrackMem(h),subtitleColorSpace=libassYCbCrMap[jassubObj.trackColorSpace],jassubObj.setDropAnimations(data.dropAllAnimations||0),(data.libassMemoryLimit>0||data.libassGlyphLimit>0)&&jassubObj.setMemoryLimits(data.libassGlyphLimit||0,data.libassMemoryLimit||0),postMessage({target:"ready"}),postMessage({target:"verifyColorSpace",subtitleColorSpace})})};self.offscreenCanvas=({transferable:s})=>{offCanvas=s[0],offCanvasCtx=offCanvas.getContext("2d"),asyncRender||(bufferCanvas=new OffscreenCanvas(self.height,self.width),bufferCtx=bufferCanvas.getContext("2d",{desynchronized:!0})),offscreenRender=!0};self.detachOffscreen=()=>{offCanvas=new OffscreenCanvas(self.height,self.width),offCanvasCtx=offCanvas.getContext("2d",{desynchronized:!0}),offscreenRender="hybrid"};self.canvas=({width:s,height:l,force:h})=>{if(s==null)throw new Error("Invalid canvas size specified");self.width=s,self.height=l,jassubObj&&jassubObj.resizeCanvas(s,l),h&&render(lastCurrentTime,!0)};self.video=({currentTime:s,isPaused:l,rate:h})=>{s!=null&&setCurrentTime(s),l!=null&&setIsPaused(l),h=h||h};self.destroy=()=>{jassubObj.quitLibrary()};self.createEvent=({event:s})=>{_applyKeys(s,jassubObj.getEvent(jassubObj.allocEvent()))};self.getEvents=()=>{const s=[];for(let l=0;l{_applyKeys(s,jassubObj.getEvent(l))};self.removeEvent=({index:s})=>{jassubObj.removeEvent(s)};self.createStyle=({style:s})=>{_applyKeys(s,jassubObj.getStyle(jassubObj.allocStyle()))};self.getStyles=()=>{const s=[];for(let l=0;l{_applyKeys(s,jassubObj.getStyle(l))};self.removeStyle=({index:s})=>{jassubObj.removeStyle(s)};onmessage=({data:s})=>{if(self[s.target])self[s.target](s);else throw new Error("Unknown event target "+s.target)}; - \ No newline at end of file +`,W.push(S),Gt(Function,W).apply(null,R)}function qt(t,r,n,i,o,u){A(r>0);var p=qe(r,n);o=q(i,o),K([],[t],function(l){l=l[0];var v="constructor "+l.name;if(l.registeredClass.constructor_body===void 0&&(l.registeredClass.constructor_body=[]),l.registeredClass.constructor_body[r-1]!==void 0)throw new N("Cannot register multiple constructors with identical number of parameters ("+(r-1)+") for class '"+l.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return l.registeredClass.constructor_body[r-1]=function(){ae("Cannot construct "+l.name+" due to unbound types",p)},K([],p,function(g){return g.splice(1,0,null),l.registeredClass.constructor_body[r-1]=Ye(v,g,null,o,u),[]}),[]})}function Kt(t,r,n,i,o,u,p,l,v){var g=qe(n,i);r=D(r),u=q(o,u),K([],[t],function(m){m=m[0];var P=m.name+"."+r;r.startsWith("@@")&&(r=Symbol[r.substring(2)]),l&&m.registeredClass.pureVirtualFunctions.push(r);function $(){ae("Cannot call "+P+" due to unbound types",g)}var S=m.registeredClass.instancePrototype,U=S[r];return U===void 0||U.overloadTable===void 0&&U.className!==m.name&&U.argCount===n-2?($.argCount=n-2,$.className=m.name,S[r]=$):(Je(S,r,P),S[r].overloadTable[n-2]=$),K([],g,function(W){var R=Ye(P,W,m,u,p,v);return S[r].overloadTable===void 0?(R.argCount=n-2,S[r]=R):S[r].overloadTable[n-2]=R,[]}),[]})}function Xe(t,r,n){return t instanceof Object||T(n+' with invalid "this": '+t),t instanceof r.registeredClass.constructor||T(n+' incompatible with "this" of type '+t.constructor.name),t.$$.ptr||T("cannot call emscripten binding method "+n+" on deleted object"),ye(t.$$.ptr,t.$$.ptrType.registeredClass,r.registeredClass)}function Yt(t,r,n,i,o,u,p,l,v,g){r=D(r),o=q(i,o),K([],[t],function(m){m=m[0];var P=m.name+"."+r,$={get:function(){ae("Cannot access "+P+" due to unbound types",[n,p])},enumerable:!0,configurable:!0};return v?$.set=function(){ae("Cannot access "+P+" due to unbound types",[n,p])}:$.set=function(S){T(P+" is a read-only property")},Object.defineProperty(m.registeredClass.instancePrototype,r,$),K([],v?[n,p]:[n],function(S){var U=S[0],W={get:function(){var L=Xe(this,m,P+" getter");return U.fromWireType(o(u,L))},enumerable:!0};if(v){v=q(l,v);var R=S[1];W.set=function(L){var oe=Xe(this,m,P+" setter"),I=[];v(g,oe,R.toWireType(I,L)),Ke(I)}}return Object.defineProperty(m.registeredClass.instancePrototype,r,W),[]}),[]})}function Xt(){this.allocated=[void 0],this.freelist=[],this.get=function(t){return this.allocated[t]},this.has=function(t){return this.allocated[t]!==void 0},this.allocate=function(t){var r=this.freelist.pop()||this.allocated.length;return this.allocated[r]=t,r},this.free=function(t){this.allocated[t]=void 0,this.freelist.push(t)}}var H=new Xt;function Qt(t){t>=H.reserved&&--H.get(t).refcount===0&&H.free(t)}function Zt(){for(var t=0,r=H.reserved;r>2])};case 3:return function(n){return this.fromWireType(le[n>>3])};default:throw new TypeError("Unknown float type: "+t)}}function rr(t,r,n){var i=$e(n);r=D(r),x(t,{name:r,fromWireType:function(o){return o},toWireType:function(o,u){return u},argPackAdvance:8,readValueFromPointer:tr(r,i),destructorFunction:null})}function nr(t,r,n){switch(r){case 0:return n?function(o){return j[o]}:function(o){return O[o]};case 1:return n?function(o){return E[o>>1]}:function(o){return J[o>>1]};case 2:return n?function(o){return M[o>>2]}:function(o){return k[o>>2]};default:throw new TypeError("Unknown integer type: "+t)}}function ir(t,r,n,i,o){r=D(r);var u=$e(n),p=function(P){return P};if(i===0){var l=32-8*n;p=function(P){return P<>>l}}var v=r.includes("unsigned"),g=function(P,$){},m;v?m=function(P,$){return g($,this.name),$>>>0}:m=function(P,$){return g($,this.name),$},x(t,{name:r,fromWireType:p,toWireType:m,argPackAdvance:8,readValueFromPointer:nr(r,u,i!==0),destructorFunction:null})}function ar(t,r,n){var i=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],o=i[r];function u(p){p=p>>2;var l=k,v=l[p],g=l[p+1];return new o(l.buffer,g,v)}n=D(n),x(t,{name:n,fromWireType:u,argPackAdvance:8,readValueFromPointer:u},{ignoreDuplicateRegistrations:!0})}function sr(t){for(var r=0,n=0;n=55296&&i<=57343?(r+=4,++n):r+=3}return r}function or(t,r){r=D(r);var n=r==="std::string";x(t,{name:r,fromWireType:function(i){var o=k[i>>2],u=i+4,p;if(n)for(var l=u,v=0;v<=o;++v){var g=u+v;if(v==o||O[g]==0){var m=g-l,P=X(l,m);p===void 0?p=P:(p+=String.fromCharCode(0),p+=P),l=g+1}}else{for(var $=new Array(o),v=0;v>2]=u,n&&p)at(o,v,u+1);else if(p)for(var g=0;g255&&(z(v),T("String has UTF-16 code units that do not fit in 8 bits")),O[v+g]=m}else for(var g=0;g>1,o=i+r/2;!(i>=o)&&J[i];)++i;if(n=i<<1,n-t>32&&Qe)return Qe.decode(O.subarray(t,n));for(var u="",p=0;!(p>=r/2);++p){var l=E[t+p*2>>1];if(l==0)break;u+=String.fromCharCode(l)}return u}function lr(t,r,n){if(n===void 0&&(n=2147483647),n<2)return 0;n-=2;for(var i=r,o=n>1]=p,r+=2}return E[r>>1]=0,r-i}function ur(t){return t.length*2}function cr(t,r){for(var n=0,i="";!(n>=r/4);){var o=M[t+n*4>>2];if(o==0)break;if(++n,o>=65536){var u=o-65536;i+=String.fromCharCode(55296|u>>10,56320|u&1023)}else i+=String.fromCharCode(o)}return i}function dr(t,r,n){if(n===void 0&&(n=2147483647),n<4)return 0;for(var i=r,o=i+n-4,u=0;u=55296&&p<=57343){var l=t.charCodeAt(++u);p=65536+((p&1023)<<10)|l&1023}if(M[r>>2]=p,r+=4,r+4>o)break}return M[r>>2]=0,r-i}function pr(t){for(var r=0,n=0;n=55296&&i<=57343&&++n,r+=4}return r}function gr(t,r,n){n=D(n);var i,o,u,p,l;r===2?(i=fr,o=lr,p=ur,u=function(){return J},l=1):r===4&&(i=cr,o=dr,p=pr,u=function(){return k},l=2),x(t,{name:n,fromWireType:function(v){for(var g=k[v>>2],m=u(),P,$=v+4,S=0;S<=g;++S){var U=v+4+S*r;if(S==g||m[U>>l]==0){var W=U-$,R=i($,W);P===void 0?P=R:(P+=String.fromCharCode(0),P+=R),$=U+r}}return z(v),P},toWireType:function(v,g){typeof g!="string"&&T("Cannot pass non-string to C++ string type "+n);var m=p(g),P=De(4+m+r);return k[P>>2]=m>>l,o(g,P+4,m+r),v!==null&&v.push(z,P),P},argPackAdvance:8,readValueFromPointer:be,destructorFunction:function(v){z(v)}})}function hr(t,r){r=D(r),x(t,{isVoid:!0,name:r,argPackAdvance:0,fromWireType:function(){},toWireType:function(n,i){}})}function vr(){throw 1/0}function yr(t,r,n,i,o,u,p){return-52}function br(t,r,n,i,o,u){}function mr(){F("")}var We;typeof performance<"u"&&performance.now?We=function(){return performance.now()}:We=Date.now;function wr(){return 2147483648}function Cr(t){var r=B.buffer;try{return B.grow(t-r.byteLength+65535>>>16),Y(),1}catch{}}function _r(t){var r=O.length;t=t>>>0;var n=wr();if(t>n)return!1;for(var i=function(v,g){return v+(g-v%g)%g},o=1;o<=4;o*=2){var u=r*(1+.2/o);u=Math.min(u,t+100663296);var p=Math.min(n,i(Math.max(t,u),65536)),l=Cr(p);if(l)return!0}return!1}var Ie={};function Tr(){return"./this.program"}function se(){if(!se.strings){var t=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:t,_:Tr()};for(var n in Ie)Ie[n]===void 0?delete r[n]:r[n]=Ie[n];var i=[];for(var n in r)i.push(n+"="+r[n]);se.strings=i}return se.strings}function Pr(t,r){for(var n=0;n>0]=t.charCodeAt(n);j[r>>0]=0}function Ar(t,r){var n=0;return se().forEach(function(i,o){var u=r+n;k[t+o*4>>2]=u,Pr(i,u),n+=i.length+1}),0}function Fr(t,r){var n=se();k[t>>2]=n.length;var i=0;return n.forEach(function(o){i+=o.length+1}),k[r>>2]=i,0}function $r(t){throw"exit("+t+")"}var Sr=$r;function jr(t){return 52}function Or(t,r,n,i){return 52}function Er(t,r,n,i,o){return 70}var Mr=[null,[],[]];function kr(t,r){var n=Mr[t];r===0||r===10?((t===1?C:y)(pe(n,0)),n.length=0):n.push(r)}function Ur(t,r,n,i){for(var o=0,u=0;u>2],l=k[r+4>>2];r+=8;for(var v=0;v>2]=o,0}dt(),N=f.BindingError=Oe(Error,"BindingError"),He=f.InternalError=Oe(Error,"InternalError"),Ot(),_t(),Lt(),Ge=f.UnboundTypeError=Oe(Error,"UnboundTypeError"),Nt();var Rr={b:Te,k:Pe,I:Ae,B:st,K:ot,G:ft,n:lt,H:ut,u:ct,r:ht,j:Jt,A:qt,d:Kt,c:Yt,L:er,p:rr,g:ir,e:ar,q:or,l:gr,s:hr,y:vr,C:yr,D:br,f:mr,m:We,z:_r,E:Ar,F:Fr,h:Sr,i:jr,o:Or,t:Er,J:Ur,x:Wr,v:Dr,w:Ir,a:B};function Wr(t,r,n){var i=Ce();try{return ie(t)(r,n)}catch(o){if(_e(i),o!==o+0)throw o;we(1,0)}}function Ir(t,r,n,i,o){var u=Ce();try{return ie(t)(r,n,i,o)}catch(p){if(_e(u),p!==p+0)throw p;we(1,0)}}function Dr(t,r,n,i){var o=Ce();try{return ie(t)(r,n,i)}catch(u){if(_e(o),u!==u+0)throw u;we(1,0)}}f.getTempRet0=tt,f.setTempRet0=et;function Lr(t){t.M()}var Ze={a:Rr},De,z,Ne,we,et,tt,Ce,_e;return(WebAssembly.instantiateStreaming?WebAssembly.instantiateStreaming(fetch("jassub-worker-modern.wasm"),Ze):WebAssembly.instantiate(f.wasm,Ze)).then(function(t){w=(t.instance||t).exports,f._malloc=De=w.N,z=w.O,Ne=w.P,f.__embind_initialize_bindings=w.Q,we=w.S,et=w.T,tt=w.U,Ce=w.V,_e=w.W,w.X,w.Y,w.Z,w._,ue=w.R,Lr(w),_()}),f.ready};String.prototype.startsWith||(String.prototype.startsWith=function(s,f=0){return this.substring(f,s.length)===s});String.prototype.includes||(String.prototype.includes=function(s,f){return this.indexOf(s,f)!==-1});Uint8Array.prototype.slice||(Uint8Array.prototype.slice=function(s,f){return new Uint8Array(this.subarray(s,f))});function toAbsoluteIndex(s,f){const h=s>>0;return h<0?Math.max(h+f,0):Math.min(h,f)}Uint8Array.prototype.fill||(Int8Array.prototype.fill=Int16Array.prototype.fill=Int32Array.prototype.fill=Uint8Array.prototype.fill=Uint16Array.prototype.fill=Uint32Array.prototype.fill=Float32Array.prototype.fill=Float64Array.prototype.fill=Array.prototype.fill=function(s){if(this==null)throw new TypeError("this is null or not defined");const f=Object(this),h=f.length>>>0,C=arguments.length;let y=toAbsoluteIndex(C>1?arguments[1]:void 0,h);const _=C>2?arguments[2]:void 0,A=_===void 0?h:toAbsoluteIndex(_,h);for(;A>y;)f[y++]=s;return f});Uint8Array.prototype.copyWithin||(Int8Array.prototype.copyWithin=Int16Array.prototype.copyWithin=Int32Array.prototype.copyWithin=Uint8Array.prototype.copyWithin=Uint16Array.prototype.copyWithin=Uint32Array.prototype.copyWithin=Float32Array.prototype.copyWithin=Float64Array.prototype.copyWithin=Array.prototype.copyWithin=function(s,f){const h=Object(this),C=h.length>>>0;let y=toAbsoluteIndex(s,C),_=toAbsoluteIndex(f,C);const A=arguments.length>2?arguments[2]:void 0;let w=Math.min((A===void 0?C:toAbsoluteIndex(A,C))-_,C-y),F=1;for(_0;)_ in h?h[y]=h[_]:delete h[y],y+=F,_+=F;return h});Date.now||(Date.now=()=>new Date().getTime());"performance"in self||(self.performance={now:()=>Date.now()});if(typeof console>"u"){const s=(f,h)=>{postMessage({target:"console",command:f,content:JSON.stringify(Array.prototype.slice.call(h))})};self.console={log:function(){s("log",arguments)},debug:function(){s("debug",arguments)},info:function(){s("info",arguments)},warn:function(){s("warn",arguments)},error:function(){s("error",arguments)}},console.log("Detected lack of console, overridden console")}let promiseSupported=typeof Promise<"u";if(promiseSupported)try{let s;new Promise(f=>{s=f}),s()}catch{promiseSupported=!1}promiseSupported||(self.Promise=function(s){let f=()=>{};return s(h=>setTimeout(()=>f(h),0)),{then:h=>f=h}});const read_=(s,f)=>{const h=new XMLHttpRequest;return h.open("GET",s,!1),h.responseType=f?"arraybuffer":"text",h.send(null),h.response},readAsync=(s,f,h)=>{const C=new XMLHttpRequest;C.open("GET",s,!0),C.responseType="arraybuffer",C.onload=()=>{if((C.status===200||C.status===0)&&C.response)return f(C.response)},C.onerror=h,C.send(null)};let lastCurrentTime=0;const rate=1;let rafId=null,nextIsRaf=!1,lastCurrentTimeReceivedAt=Date.now(),targetFps=24,useLocalFonts=!1,blendMode="js",availableFonts={};const fontMap_={};let fontId=0,debug;self.width=0;self.height=0;let asyncRender=!1;self.addFont=({font:s})=>asyncWrite(s);const findAvailableFonts=s=>{s=s.trim().toLowerCase(),s.startsWith("@")&&(s=s.substring(1)),!fontMap_[s]&&(fontMap_[s]=!0,availableFonts[s]?asyncWrite(availableFonts[s]):useLocalFonts&&postMessage({target:"getLocalFont",font:s}))},asyncWrite=s=>{typeof s=="string"?readAsync(s,f=>{allocFont(new Uint8Array(f))},console.error):allocFont(s)},allocFont=s=>{const f=_malloc(s.byteLength);self.HEAPU8.set(s,f),jassubObj.addFont("font-"+fontId++,f,s.byteLength),jassubObj.reloadFonts()},processAvailableFonts=s=>{if(!availableFonts)return;const f=parseAss(s);for(let y=0;y{processAvailableFonts(s),dropAllBlur&&(s=dropBlur(s)),jassubObj.createTrackMem(s),subtitleColorSpace=libassYCbCrMap[jassubObj.trackColorSpace],postMessage({target:"verifyColorSpace",subtitleColorSpace})};self.getColorSpace=()=>postMessage({target:"verifyColorSpace",subtitleColorSpace});self.freeTrack=()=>{jassubObj.removeTrack()};self.setTrackByUrl=({url:s})=>{self.setTrack({content:read_(s)})};const getCurrentTime=()=>{const s=(Date.now()-lastCurrentTimeReceivedAt)/1e3;return _isPaused?lastCurrentTime:(s>5&&(console.error("Didn't received currentTime > 5 seconds. Assuming video was paused."),setIsPaused(!0)),lastCurrentTime+s*rate)},setCurrentTime=s=>{lastCurrentTime=s,lastCurrentTimeReceivedAt=Date.now(),rafId||(nextIsRaf?rafId=requestAnimationFrame(renderLoop):(renderLoop(),setTimeout(()=>{nextIsRaf=!1},20)))};let _isPaused=!0;const setIsPaused=s=>{s!==_isPaused&&(_isPaused=s,s?rafId&&(clearTimeout(rafId),rafId=null):(lastCurrentTimeReceivedAt=Date.now(),rafId=requestAnimationFrame(renderLoop)))},a="BT601",b="BT709",c="SMPTE240M",d="FCC",libassYCbCrMap=[null,a,null,a,a,b,b,c,c,d,d],render=(s,f)=>{const h={},C=performance.now(),y=blendMode==="wasm"?jassubObj.renderBlend(s,f||0):jassubObj.renderImage(s,f||0);if(debug){const _=performance.now(),A=jassubObj.time;h.WASMRenderTime=A-C,h.WASMBitmapDecodeTime=_-A,h.JSRenderTime=Date.now()}if(jassubObj.changed!==0||f){const _=[],A=[];if(!y)return paintImages({images:_,buffers:A,times:h});if(asyncRender){const w=[];for(let F=y,j=0;j{for(let j=0;j<_.length;j++)_[j].image=F[j];debug&&(h.JSBitmapGenerationTime=Date.now()-h.JSRenderTime),paintImages({images:_,buffers:F,times:h})})}else{for(let w=y,F=0;F{lastCurrentTime=s,render(s)};const renderLoop=s=>{rafId=0,render(getCurrentTime(),s),_isPaused||(rafId=requestAnimationFrame(renderLoop))},paintImages=({times:s,images:f,buffers:h})=>{const C={target:"render",asyncRender,images:f,times:s,width:self.width,height:self.height,colorSpace:subtitleColorSpace};if(offscreenRender){(offCanvas.height!==self.height||offCanvas.width!==self.width)&&(offCanvas.width=self.width,offCanvas.height=self.height),offCanvasCtx.clearRect(0,0,self.width,self.height);for(const y of f)y.image&&(asyncRender?(offCanvasCtx.drawImage(y.image,y.x,y.y),y.image.close()):(bufferCanvas.width=y.w,bufferCanvas.height=y.h,bufferCtx.putImageData(new ImageData(self.HEAPU8C.subarray(y.image,y.image+y.w*y.h*4),y.w,y.h),0,0),offCanvasCtx.drawImage(bufferCanvas,y.x,y.y)));if(offscreenRender==="hybrid"){if(!f.length)return postMessage(C);debug&&(s.bitmaps=f.length);try{const y=offCanvas.transferToImageBitmap();C.images=[{image:y,x:0,y:0}],C.asyncRender=!0,postMessage(C,[y])}catch{postMessage({target:"unbusy"})}}else{if(debug){s.JSRenderTime=Date.now()-s.JSRenderTime-(s.JSBitmapGenerationTime||0);let y=0;for(const _ in s)y+=s[_];console.log("Bitmaps: "+f.length+" Total: "+(y|0)+"ms",s)}postMessage({target:"unbusy"})}}else postMessage(C,h)},parseAss=s=>{let f,h,C,y,_,A,w,F,j,E;const M=[],O=s.split(/[\r\n]+/g);for(F=0;Fh.length&&(C=A.slice(h.length-1).join(","),A=A.slice(0,h.length-1),A.push(C)),A=A.map(J=>J.trim()),h)){for(w={},j=0;js.replace(blurRegex,""),requestAnimationFrame=(()=>{let s=0;return f=>{const h=Date.now();if(s===0)s=h+1e3/targetFps;else for(;h+2>=s;)s+=1e3/targetFps;const C=Math.max(s-h,0);return setTimeout(f,C)}})(),_applyKeys=(s,f)=>{for(const h of Object.keys(s))f[h]=s[h]};let offCanvas,offCanvasCtx,offscreenRender,bufferCanvas,bufferCtx,jassubObj,subtitleColorSpace,dropAllBlur,_malloc,hasBitmapBug;self.init=data=>{hasBitmapBug=data.hasBitmapBug;try{const s=new WebAssembly.Module(Uint8Array.of(0,97,115,109,1,0,0,0));if(!(s instanceof WebAssembly.Module)||!(new WebAssembly.Instance(s)instanceof WebAssembly.Instance))throw new Error("WASM not supported")}catch(e){console.warn(e),eval(read_(data.legacyWasmUrl))}if(WebAssembly.instantiateStreaming){const s=self.fetch;self.fetch=f=>s(data.wasmUrl)}Module({wasm:!WebAssembly.instantiateStreaming&&read_(data.wasmUrl,!0)}).then(s=>{_malloc=s._malloc,self.width=data.width,self.height=data.height,blendMode=data.blendMode,asyncRender=data.asyncRender,asyncRender&&typeof createImageBitmap>"u"&&(asyncRender=!1,console.error("'createImageBitmap' needed for 'asyncRender' unsupported!")),availableFonts=data.availableFonts,debug=data.debug,targetFps=data.targetFps||targetFps,useLocalFonts=data.useLocalFonts,dropAllBlur=data.dropAllBlur;const f=data.fallbackFont.toLowerCase();jassubObj=new s.JASSUB(self.width,self.height,f||null,debug),f&&findAvailableFonts(f);let h=data.subContent;h||(h=read_(data.subUrl)),processAvailableFonts(h),dropAllBlur&&(h=dropBlur(h));for(const C of data.fonts||[])asyncWrite(C);jassubObj.createTrackMem(h),subtitleColorSpace=libassYCbCrMap[jassubObj.trackColorSpace],jassubObj.setDropAnimations(data.dropAllAnimations||0),(data.libassMemoryLimit>0||data.libassGlyphLimit>0)&&jassubObj.setMemoryLimits(data.libassGlyphLimit||0,data.libassMemoryLimit||0),postMessage({target:"ready"}),postMessage({target:"verifyColorSpace",subtitleColorSpace})})};self.offscreenCanvas=({transferable:s})=>{offCanvas=s[0],offCanvasCtx=offCanvas.getContext("2d"),asyncRender||(bufferCanvas=new OffscreenCanvas(self.height,self.width),bufferCtx=bufferCanvas.getContext("2d",{desynchronized:!0})),offscreenRender=!0};self.detachOffscreen=()=>{offCanvas=new OffscreenCanvas(self.height,self.width),offCanvasCtx=offCanvas.getContext("2d",{desynchronized:!0}),offscreenRender="hybrid"};self.canvas=({width:s,height:f,force:h})=>{if(s==null)throw new Error("Invalid canvas size specified");self.width=s,self.height=f,jassubObj&&jassubObj.resizeCanvas(s,f),h&&render(lastCurrentTime,!0)};self.video=({currentTime:s,isPaused:f,rate:h})=>{s!=null&&setCurrentTime(s),f!=null&&setIsPaused(f),h=h||h};self.destroy=()=>{jassubObj.quitLibrary()};self.createEvent=({event:s})=>{_applyKeys(s,jassubObj.getEvent(jassubObj.allocEvent()))};self.getEvents=()=>{const s=[];for(let f=0;f{_applyKeys(s,jassubObj.getEvent(f))};self.removeEvent=({index:s})=>{jassubObj.removeEvent(s)};self.createStyle=({style:s})=>{_applyKeys(s,jassubObj.getStyle(jassubObj.allocStyle()))};self.getStyles=()=>{const s=[];for(let f=0;f{_applyKeys(s,jassubObj.getStyle(f))};self.removeStyle=({index:s})=>{jassubObj.removeStyle(s)};onmessage=({data:s})=>{if(self[s.target])self[s.target](s);else throw new Error("Unknown event target "+s.target)}; diff --git a/dist/jassub-worker.wasm b/dist/jassub-worker.wasm index a8300d72a06837410175c39eb38eea832c64a05d..ad64426e860c372a152df5639eca95f011b9c6a3 100644 GIT binary patch delta 4326 zcmZ8kd3+Q_7M@pq%}n>CdwP0Ezz}*u0+WPrN=OJG0}05=5kyunXiyO$M1Kg#MplIY zCLrMm0ZTAIB1gCl3`=nd1ac7+1QmV@D(fyQ;ShpyB_izW1b21+sQ&7E@73$Bs`p-1 zFWEoi?*18NULN>DFF!6ggYRXB{6eO@47&>-b9I7;g-^MDgpI+Zkhu_*Plg|tPmo&q zm|P=Q%O?p6%2CkN+11<$ey{cf*j5eR8~z}_$Bz`;(-!;8thIt zCBvcMh0~omWZIc-00#?G&hCPuV8hvE3akh&y7+)YSXig(P#Rp-_(cf(!d`d4d;vaT z_d?*wFgQX3?V&f6)0yodN;^yfHU(sp57;wJn|7E6+rtP{N`B~wrU`!Vc@GnlH+es? z2c)S9#BK@!(2me7KP1@8NfSFvH~XO-l(SQQXfMDD)({V$36RICxO81lHTWOfLRS;SSdZGFj01g=u8KY0LGsG34{ zz!g@WLMDpPNaLO&EuoR6K1D77YNLmc^R7mS6cfmkreuQFNL@ooH#7_kCEq{;jTlDG zqg|&o{1!cpgg5uQhz(#mwT9C1X#}jksx`2z;iLn=O}gS~QUo_y!U(dKz#4XLB-t)P zA)7yj+-U)&Y}QoLg~KS>Ih`B=@(a*5Z-^~fem3FTLoO>=L!Jc4rRR!CX=rZq3Y!EM zSPazJGBIpyS}yyrggnpV?C-26Js@NrF>Pq#3gnYaZ5~T5B`*pvkFDBD#&Ix@k}^_) zbX^&#>HvG#q;JX07`V-@id+o9I_9-=pYs?g|5CX79O6GTuCOUV&t`FzV zb%G=8SPu6MgjV1l$$^cHZT-Z?_kGmSD(HbZTpU!;x;fl>s9=lcavwQZ{UYvbFI;6+ z>$ulAC}59oTT@d%=$^{s*p_L%e;NJH){?s@>p<=+ktJ~n?t$|X!O^xIO4`CpNwPVlT@6$&BrND+2pK522;?A*;hmO`WCq3mE-v7V__HTRmp!L!rz$dGyblCD4gbx z>9CufyvR4GWENqyxA+PHJ9J4S|F|WnYUBkS=FrI@LMF9`2r5l=38Q`|comZrm0AdV z%5uVmTXvXDr$-Bcp0kP1rf{+eah%P1*tHx>LVhQ~Dl(g_L?O=gcV_fvv@jZS=u_>4 zq#ils4^Eng{J{(QUHJzOmJQqAPUt5=HG2>*>>UDk=$^j{3lLJ?7Jfj8dq+5txSm*k zxWF+8K)`0&H5A~N2z*}@)>=aNuaFBIN1J9V+T~p#9-U;oDl zECg#<@hst<7jeZ0!pRq48J&1rSPaWp!)+m}EhgXimf}$r#j!EsWE6iCBfcJkV&@1k zWi;;Vu&rVy?laxDO)SOjerdb7^G#UAHYQ5n0sA>x(g`xrFO_J`(!~;DVqfV9fqME& zKj~WQdPsF~I1w>3k~3`>L9#Vlj3TUz^^{MM{t9>5tQ4un0e9G-p;A(~_!G|9$5VHW zWYD5a=>+)+nh2XUNqQi{Pi*EC={*h$iZET8js@lI>C#qb^C(yIsD3%p7PPybBe~Fy z-JdHZ#bA;oY?m-e=+y1f0L+zr+a)m!ZqxEAsR!nLLzNWcfprw8+=})-C(Xn8R-KbZ z6GZb{Nl_lC2h&LZmk{KfM3C;Ol_QXzt(Bd2sH6WpEnh=O`${&b z@|CQLA(>dT|0f9jz0#ot$h0Os!vUd#VF8_BDiN@N<(bO!fb`!!CEi$o2LUJ!84EpU z+RYHtp)FwTB9%{iz#@8Pv{HhQ{hTrwq4GIp2f|;{l|HbD?M_#Ucv#Fvj8#G-VF{Zw zTd9-aGJEEIYS36*r1a7G0upJXtBRFSno+Fu#QMFm zSUCw$Kr=s9I*OLow9!)@&ck+mtmIpTz0W#jlZpksE~upW5R<-E5(LD_=adP6`1kY5 zMg?xL*>wso>@~XOin0k|3Ot}7WM4TS!d7ZK9J{ZTI?&RR)|QrTZmmxJuPv>LQ1g%tZPPUJP8;YE%+zbZkE;#U)w z%^LnC(8;&FGObTSALkR*6Lwh3HV4#QB4Wmq>X#hUvu=Y`nOM=>cc>Z%aExUQQ_pg) zwM3S2Lrttn+FF`6LTyEs0G%{K9n}32m^MF|#rZgy^tH0hPr?RRRohR(O@4q2i#TTr z2_y`GPe2)`T>`p$ggP3Im1@tZ)=S(YRlMFDV=dlR?H&lSHj7n{%kqrZT=YyV&tQ^A zo)N=MTa#zJ`dFUvieq^u=$SoUq=qHIMmFSY_3lF0%u-+0+;%KI&rZ_9x+0&vN=qV$ zo7ZR)0nsSYBqwa5;ajv0Xf|kzwsi<>q<8LVgV9U>25q1M_vr$`Jp(}$-CH_tC6Qt> zD7YN>C3X#|lnf!wRMCEgNJs{)nQGdv?1Jbn<6#S3BD=qWE$kJ=-N}iU>*X!nCrRv9 zk_3Sb0Y&mZlU=iatbBlzLzSf#`4hYs3pbZYB z`Qh%P`2Muk?(X>h+}3V;IBa8!liURaYp}1EyM(|tdbE%G3W~Qs;cm;J_;f$_-=pCG z+d9GB8L&8hJJJ0-!D~fwmixd!l-~=wZ}4~ltlQ)67LT|2@E_cpdBo}~?zec<2X45# zf^|`>cZcw>gU-3-_93jlDhWJLP@sX8?_g*^=vyl zprdm1QE0RyNB@$*F8a-TdKb2Pt{x3|k3$j*(k>Ed-TP?4dPghPK2Oi=3cKmjy*dJ` z+>5?Nh88BFonj!2rd8@0z*t$O{skcBRO|CBbRN@xeG6)sy}#!eAf8U~OdwE0lLvbK zjCAQhPcIqw;^fnwd>#J=#=PQLq2j4{XPU?C2YEDGmq|Z+@k`QPUuu~I_r`us9L@hA}8F+}izRp+n#^jFWhHTqrY2IXq$Vb{VTw#OMkm7jV$lO2bf)m!C4qLf}0*r8F9*Xn$*~; zZB@3Dwlf43<)~;K>~9sn5&Gqc{lGN zX0JFSj+oto7nE{3#RGBXqoh?Tqs1PGgrn?B4|EaW1J)c1p9`>*RrZEN6C7luFBIvp ziR~N;+X7)Z9X1hG!!q{mL@0B@A+~iMSa@X7d>C$pg{*lQT$7OBzXvbjm#6W$Faq6I zK9Dp4=FAQzTZ2%J=|vVg*i0{Zg+ML6_#Al*H|T|AQVKWN zvJ^7O)S(%|O&-GYNp6!H2Z}d+dK^(~Zcxxd>xUAZg%2UsfN{58AXn^$e;j$KH+SO%K3rRUQ<^jv!!+W#s|uJ(6?BOdUCjR=DtbFfII}6F@prNw7G=u0!!HF zJn}ri5}Kb+3Imt4ExViGs++vm1AMrb0+b~zy?~74aY;VgPWpf&i?{>O#qP}}J|&Bh zBJx)Ove<;(WC90Sw7P`kqd2*gRCWc%dVNb4L_q`FCvs5$+t}A;?h78bPqCeA;gE$Y zm(w5ivczHBTn>(~k4JKsyF)o!yO8@D0xR%`vw4dicJhz_KIxZ%Qb89j=3=0N?p@4% z1Ql%55^j@)?oJ{nS^aA6D;LzV$`84z9IRze7jd%y<>DRO!hUdz#s0{hk2(c9IBFON^jqmTOVg}<0At)|X~$&DsG_ZAjc>%~hpx>CeU{;#Qry1)e^yd#Kfw?3FmmwgGldLv3XB0ZP1tpiAe}S)W zhd=&_3HkJ*{4e6viR0IO->j|(`UYajAY8;Z(@ zyr98C`i4XBQL{skX^LGK{Tsz=Sj1>l9Pla23=ta4kV$7p2;RP#BrHJUaJ$EF0mjR$ zWEdLq8x3}uOtKM`IOE^A(Yq1C7|5W1j1&_3WRTw_X$$#X7R7FOWkgH41AWhc!0} zQ#xTCP7F3x$f%BvGQEN7O;M(4QK+`2nUcrg?>cOk$p>(c9@=dxgnR6jJ*IuLU^6R< z7rzB|FGAD^N+yq(ue52`h{*UP@fd+R`tv~XR);!Bv2!>PlP{ce2jD)k8MDQ`gq^dF z^2y>`aGzx)i&YkAWP^u_2_dGtIO8y$s#T&+H~YlX%%MG^DF_;9 zd8OC~8d!6s80Ca*6sO#t_P;DH!}(TT7RL~z`x{Y`eyJD}ZfXvT1z#aXF?nx@r+#Ph z7^co>$_lF$Sy-+4i3&w5ti}9HI_#!@8f)1AyV>2bmUx%3vty=P-i*Kwv+aG0*M|Hd z-*Ux+HBnw;5scb6dBzeJf}QHdO-uYA;1~^$v;G5)vG?Mv*<+!ShQDjA2{}RBnp?o~ z#DVkIf!;P?<{YcvgFEok!`5K4xw3V$nZsze5^FizdffU-G#p@1XWd}MKEyVEiHl0f6ZL-PX!~XqWMc{9Z7R5_uw%Qp6 z1P;M7_;t4w3M*KaTN(!_{tza`>MQU}0Lfy*p3k|>Zim~VtYDGh(%wF>ie4BaIAE4|5Z{II-6EY12ldu2@jxK@}xkTo+tIiF1|5OIs>ql`U<3OZPsUfqKlOlNZCen zAMl~HL&m0l-7gIfLneGB#R01-0sYr~myOmZV3I5G@@X>^uwt*g z--JwmUOvY`9qTTj0IJxOVe&=JUO;R%yz9BKB`F1Tc$(ZE#?dKh@?dnO zwQ2Ggs47f;Q8ofnM#*?-sbYV4TQ)l(gQcyJopvMRrpQ`z+b6w-0c$`H&_+^nQZ@H72M zQ0F10n$(@$c9L*YB1p!~2XD^`iee%-+C)idfpAC!rA<_n7B)y!OL!=zO*ZvB6tmAI zwYwEB#VzgBGbDN^Nd(@Q@h_RUL@>39My5nCw+Tj`#$fex((7ly`{b_yhM@oIZU{jn z$+*(@@Ct+QK*OXMNbiNH75MqAgZd19{_PH`IRtjG`w8kgg1vEBKQ*7gE*kx;T8nB| zlG=$wb;5J%r3g4oZ;jGoS<)nx1MFPMK6MWz_=5Tr%k^l70%0F}IY|ow12Ih0?Vs!g@QV|r|kmVz+P)%v4#&|Gbf z86MHHOl>qe1ufLh5xhm+TCBYU;HSu*bmmg68FkaLv=zPJW7>RBL$I!gjC`NajVH9X zO`i}vfjOFcLW`t5nk*t4T&ZmZ_=H_QsVy@&y;^%T7f!OjKj*9lWI~Gbbpj`8L8|j5 z6q{3>{cO18acRzM4KL>ve{*h-@njk|%jq5nOX+;(WcW`k?tpWSh}>J|{C|SXIp*vZ zWSn#rmz^_ZxW?jZog*UQGqys}Cpj>_AymI=LHUwLKc^vgC+bH#K{lI~uFp3kZ@;Er z0LZ4tC+P`@$E{%TK7C{){?IGe>VtJ`;9q^HueW03_U+ZLVdEZIq8p8Sc8Pul8~316 zy^zE1erLbFMMh>H*OvkYIV*KtLfLaxFLA(Pdg)*KY5Wse^u2!80*l#OH}xih>KS+R zbQI6s(Q^Sgqh3EOz#`WDz8-2p4t=7pG-h5#u;lt_d$% z+bpgmf**C&<_ZNQXLrSf;UUnyo9i_@k|w%F3UHg&Cb=5mHv7)&8ca}(N_HJb+(~v_ zK<$YXR~%|tORB4jib0*nxUxB9>7QMrMWl6tt5Sva?8{lM=on;6o@-44GW)VCu`jI8 es?yux6Npa`KEe33$LA@0Lh$Lps`SwA%l{2|bBx>o diff --git a/dist/jassub-worker.wasm.js b/dist/jassub-worker.wasm.js index 890d7f9..967ab36 100644 --- a/dist/jassub-worker.wasm.js +++ b/dist/jassub-worker.wasm.js @@ -1,2 +1,2 @@ -var WebAssembly={Memory:function(opts){this.buffer=new ArrayBuffer(opts["initial"]*65536)},Module:function(binary){},Instance:function(module,info){this.exports=function instantiate(Za){function c(d){d.set=function(a,b){this[a]=b};d.get=function(a){return this[a]};return d}var e;var f=new Uint8Array(123);for(var a=25;a>=0;--a){f[48+a]=52+a;f[65+a]=a;f[97+a]=26+a}f[43]=62;f[47]=63;function l(m,n,o){var g,h,a=0,i=n,j=o.length,k=n+(j*3>>2)-(o[j-2]=="=")-(o[j-1]=="=");for(;a>4;if(i>2;if(i>>0;E=E>>>0;if(D+E>e.length)throw"trap: invalid memory.fill";e.fill(y,D,D+E)}function F(D,G,E){e.copyWithin(D,G,G+E)}function H(y){t[2]=y}function Ya(q){var I=q.a;var J=I.a;var K=J.buffer;J.grow=Wa;var L=new Int8Array(K);var M=new Int16Array(K);var N=new Int32Array(K);var O=new Uint8Array(K);var P=new Uint16Array(K);var Q=new Uint32Array(K);var R=new Float32Array(K);var S=new Float64Array(K);var T=Math.imul;var U=Math.fround;var V=Math.abs;var W=Math.clz32;var X=Math.min;var Y=Math.max;var Z=Math.floor;var _=Math.ceil;var $=Math.trunc;var aa=Math.sqrt;var ba=I.b;var ca=I.c;var da=I.d;var ea=I.e;var fa=I.f;var ga=I.g;var ha=I.h;var ia=I.i;var ja=I.j;var ka=I.k;var la=I.l;var ma=I.m;var na=I.n;var oa=I.o;var pa=I.p;var qa=I.q;var ra=I.r;var sa=I.s;var ta=I.t;var ua=I.u;var va=I.v;var wa=I.w;var xa=I.x;var ya=I.y;var za=I.z;var Aa=I.A;var Ba=I.B;var Ca=I.C;var Da=I.D;var Ea=I.E;var Fa=I.F;var Ga=I.G;var Ha=I.I;var Ia=I.J;var Ja=I.K;var Ka=I.L;var La=657072;var Ma=0;var Na=0;var Oa=0;var Pa=0;function sq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,S=0,W=U(0),X=0,Y=0,_=0,$=U(0),aa=0,ca=0,da=0,ea=0,fa=0,ga=0;p=La-288|0;La=p;a:{b:{c:{d:{e:{f:{g:{f=O[c+140|0];if(!(f&48)){aa=N[c+40>>2];L[c+140|0]=f|48;m=N[c+68>>2];if(m){j=N[a+96>>2];h=N[c+80>>2];f=0;if(m>>>0>=8){i=m&-8;while(1){N[(h+T(f,20)|0)+4>>2]=j;N[(h+T(f|1,20)|0)+4>>2]=j;N[(h+T(f|2,20)|0)+4>>2]=j;N[(h+T(f|3,20)|0)+4>>2]=j;N[(h+T(f|4,20)|0)+4>>2]=j;N[(h+T(f|5,20)|0)+4>>2]=j;N[(h+T(f|6,20)|0)+4>>2]=j;N[(h+T(f|7,20)|0)+4>>2]=j;f=f+8|0;if((i|0)!=(f|0)){continue}break}}i=m&7;if(i){while(1){N[(h+T(f,20)|0)+4>>2]=j;f=f+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}while(1){f=h+T(n,20)|0;Hd(f,c);j=P[f+16>>1];h:{i:{if(!((j&31)!=24|N[f>>2]-127995>>>0>4)){f=(h+T(n,20)|0)+16|0;break i}if(!(!n|N[f>>2]-127462>>>0>25)){f=(h+T(n,20)|0)-20|0;if(N[f>>2]-127462>>>0>25|O[f+16|0]&128){break h}f=(h+T(n,20)|0)+16|0;break i}if((j&287)==257){M[(h+T(n,20)|0)+16>>1]=j|128;g=n+1|0;if(g>>>0>=m>>>0){break h}j=h+T(g,20)|0;f=N[j>>2];if(f>>>0<=131069){f=O[((f&24|O[(f>>>5&3|O[(O[(f>>>11|0)+236400|0]>>>(f>>>8&4)<<3&120|f>>>7&7)+236464|0]<<2)+236544|0]<<5)>>>3|0)+236664|0]>>>(f&7)&1}else{f=0}if(!f){break h}Hd(j,c);j=h+T(g,20)|0;f=j+16|0;j=P[j+16>>1];n=g;break i}f=N[f>>2];if((f&-2)!=65438&f-917536>>>0>95){break h}f=(h+T(n,20)|0)+16|0}M[f>>1]=j|128}n=n+1|0;if(m>>>0>n>>>0){continue}break}}j:{k:{if(!(1<>2]+16>>1]&7168)|(N[c+132>>2]|(N[c+16>>2]&17)!=1)){break k}N[p+120>>2]=0;f=N[b+96>>2];g=N[f+28>>2];h=N[b+100>>2];j=p+120|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[g|0](b,h,9676,j,f)|0)){break k}N[p+132>>2]=0;N[p+136>>2]=0;N[p+124>>2]=0;N[p+128>>2]=0;N[p+120>>2]=9676;Hd(p+120|0,c);N[c+72>>2]=0;M[c+62>>1]=1;N[c+64>>2]=0;f=N[c+80>>2];N[c+84>>2]=f;j=N[f+4>>2];m=N[f+8>>2];g=N[p+132>>2];n=N[p+136>>2];i=N[p+120>>2];l:{m:{if(Q[c+76>>2]<=1){if(!gb(c,1)){break l}f=N[c+80>>2];h=N[c+84>>2];if((f|0)!=(h|0)){break m}}k=N[c+72>>2];if(Q[c+64>>2]>=k+1>>>0){h=f;break m}if(!O[c+62|0]){break j}h=N[c+88>>2];N[c+84>>2]=h;k=T(k,20);if(!k){break m}F(h,f,k);h=N[c+84>>2]}f=T(N[c+72>>2],20)+h|0;N[f+12>>2]=g;N[f+16>>2]=n;N[f+8>>2]=m;N[f+4>>2]=j;N[f>>2]=i;N[c+72>>2]=N[c+72>>2]+1}Ac(c)}m=N[c+144>>2];n:{if(!(m&1)){break n}i=N[c+68>>2];if(!N[c+20>>2]){if(!i){break n}f=i-1|0;h=0;j=0;o:{while(1){if((f|0)==(j|0)){n=i;j=i;break o}j=j+1|0;if(O[(N[c+80>>2]+T(j,20)|0)+16|0]&128){continue}break}n=i}while(1){if(j-h>>>0>=2){Ib(c,h,j);n=N[c+68>>2]}f=j+1|0;g=f>>>0>>0?n:f;h=g-1|0;f=j;while(1){p:{if((f|0)==(h|0)){f=g;break p}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}g=i>>>0>j>>>0;h=j;j=f;if(g){continue}break}break n}if(!i){break n}g=i-1|0;j=0;f=0;while(1){q:{if((f|0)==(g|0)){f=i;break q}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}while(1){n=f;w=N[c+68>>2];t=f>>>0>w>>>0?w:f;o=t-j|0;r:{if(o>>>0<2){break r}m=m|32;N[c+144>>2]=m;if(j>>>0>=t>>>0){break r}k=N[c+80>>2];f=-1;h=j;q=t+(h^-1)|0;if(q>>>0>=3){s=o&-4;l=0;while(1){g=k+T(h,20)|0;v=N[g+8>>2];f=f>>>0>>0?f:v;v=N[g+28>>2];f=f>>>0>>0?f:v;v=N[g+48>>2];f=f>>>0>>0?f:v;g=N[g+68>>2];f=f>>>0>>0?f:g;h=h+4|0;l=l+4|0;if((s|0)!=(l|0)){continue}break}}l=o&3;if(l){g=0;while(1){s=N[(k+T(h,20)|0)+8>>2];f=f>>>0>>0?f:s;h=h+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if(o&1){g=k+T(j,20)|0;if(N[g+8>>2]!=(f|0)){N[g+4>>2]=N[g+4>>2]|3}j=j+1|0}if(!q){break r}while(1){g=k+T(j,20)|0;if(N[g+8>>2]!=(f|0)){m=m|32;N[c+144>>2]=m;N[g+4>>2]=N[g+4>>2]|3}g=k+T(j+1|0,20)|0;if(N[g+8>>2]!=(f|0)){m=m|32;N[c+144>>2]=m;N[g+4>>2]=N[g+4>>2]|3}j=j+2|0;if((t|0)!=(j|0)){continue}break}}f=n+1|0;g=f>>>0>>0?w:f;j=g-1|0;f=n;while(1){s:{if((f|0)==(j|0)){f=g;break s}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}j=n;if(j>>>0>>0){continue}break}}f=N[c+40>>2];t:{u:{v:{h=sh(N[c+44>>2]);w:{if(!((h|0)!=5|(f|0)!=4)){g=N[c+68>>2];if(!g){h=5;break w}j=N[c+80>>2];h=0;m=1;k=0;l=0;while(1){x:{n=j+T(h,20)|0;i=P[n+16>>1]&31;y:{if((i|0)==13){k=1;break y}if(1<>2]-127462>>>0<26|l}h=h+1|0;m=g>>>0>h>>>0;if((g|0)!=(h|0)){continue}}break}h=(k|l)&1?m&1?5:4:5}g=f&-2;if((g|0)!=4){break v}}if((f|0)==(h|0)){break t}if(h){break u}break t}if((f|0)==6|(g|0)!=6){break t}}k=N[c+20>>2];g=0;f=N[c+68>>2];m=f;z:{A:{switch(f|0){default:m=1;while(1){h=g;g=N[c+80>>2];B:{if(O[(g+T(m,20)|0)+16|0]&128){g=h;break B}if(!((k|0)!=1|m-h>>>0<2)){Ib(c,h,m);g=N[c+80>>2];f=N[c+68>>2]}j=f>>>0>>0?f:h;f=f>>>0>>0?f:m;C:{if(j+2>>>0>f>>>0){break C}n=f-1|0;if(n>>>0<=j>>>0){break C}while(1){f=T(n,20)+g|0;N[p+136>>2]=N[f+16>>2];i=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=i;i=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=i;i=T(j,20)+g|0;N[f+16>>2]=N[i+16>>2];w=N[i+12>>2];N[f+8>>2]=N[i+8>>2];N[f+12>>2]=w;w=N[i+4>>2];N[f>>2]=N[i>>2];N[f+4>>2]=w;N[i+16>>2]=N[p+136>>2];f=N[p+132>>2];N[i+8>>2]=N[p+128>>2];N[i+12>>2]=f;f=N[p+124>>2];N[i>>2]=N[p+120>>2];N[i+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}}g=m;if(!O[c+63|0]){break B}f=N[c+68>>2];n=f>>>0>>0?f:m;j=f>>>0>>0?f:h;if(n>>>0>>0){break B}n=n-1|0;if(n>>>0<=j>>>0){break B}h=N[c+88>>2];while(1){f=h+T(n,20)|0;N[p+136>>2]=N[f+16>>2];g=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=g;g=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=g;g=h+T(j,20)|0;N[f+16>>2]=N[g+16>>2];i=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=i;i=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=i;N[g+16>>2]=N[p+136>>2];f=N[p+132>>2];N[g+8>>2]=N[p+128>>2];N[g+12>>2]=f;f=N[p+124>>2];N[g>>2]=N[p+120>>2];N[g+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}g=m}f=N[c+68>>2];m=m+1|0;if(f>>>0>m>>>0){continue}break};break;case 0:break z;case 1:break A}}if(!((k|0)!=1|m-g>>>0<2)){Ib(c,g,m);f=N[c+68>>2]}j=f>>>0>>0?f:g;f=f>>>0>>0?f:m;D:{if(j+2>>>0>f>>>0){break D}n=f-1|0;if(n>>>0<=j>>>0){break D}i=N[c+80>>2];while(1){f=i+T(n,20)|0;N[p+136>>2]=N[f+16>>2];h=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=h;h=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=h;h=i+T(j,20)|0;N[f+16>>2]=N[h+16>>2];k=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=k;k=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=k;N[h+16>>2]=N[p+136>>2];f=N[p+132>>2];N[h+8>>2]=N[p+128>>2];N[h+12>>2]=f;f=N[p+124>>2];N[h>>2]=N[p+120>>2];N[h+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}}E:{if(!O[c+63|0]){break E}f=N[c+68>>2];h=f>>>0>>0?f:m;j=f>>>0>>0?f:g;if(h>>>0>>0){break E}n=h-1|0;if(n>>>0<=j>>>0){break E}h=N[c+88>>2];while(1){f=h+T(n,20)|0;N[p+136>>2]=N[f+16>>2];g=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=g;g=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=g;g=h+T(j,20)|0;N[f+16>>2]=N[g+16>>2];m=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=m;m=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=m;N[g+16>>2]=N[p+136>>2];f=N[p+132>>2];N[g+8>>2]=N[p+128>>2];N[g+12>>2]=f;f=N[p+124>>2];N[g>>2]=N[p+120>>2];N[g+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}}h=N[c+68>>2];if(h>>>0>=2){m=N[c+80>>2];j=h-1|0;n=0;while(1){f=m+T(j,20)|0;N[p+136>>2]=N[f+16>>2];g=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=g;g=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=g;g=m+T(n,20)|0;N[f+16>>2]=N[g+16>>2];i=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=i;i=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=i;N[g+16>>2]=N[p+136>>2];f=N[p+132>>2];N[g+8>>2]=N[p+128>>2];N[g+12>>2]=f;f=N[p+124>>2];N[g>>2]=N[p+120>>2];N[g+4>>2]=f;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}if(!O[c+63|0]){break z}f=N[c+68>>2];f=f>>>0>>0?f:h;if(f>>>0<2){break z}h=N[c+88>>2];j=f-1|0;n=0;while(1){f=h+T(j,20)|0;N[p+136>>2]=N[f+16>>2];g=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=g;g=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=g;g=h+T(n,20)|0;N[f+16>>2]=N[g+16>>2];m=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=m;m=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=m;N[g+16>>2]=N[p+136>>2];f=N[p+132>>2];N[g+8>>2]=N[p+128>>2];N[g+12>>2]=f;f=N[p+124>>2];N[g>>2]=N[p+120>>2];N[g+4>>2]=f;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}N[c+40>>2]=N[c+40>>2]^1}I=a+60|0;F:{if(!N[N[a+80>>2]+16>>2]){break F}if(!ib(c,b,8372,0)){break F}Qa[N[N[a+80>>2]+16>>2]](I,c,b);ib(c,b,8394,0)}n=N[c+80>>2];h=N[c+68>>2];if(!(!h|(aa&-3)!=5)){k=N[a+188>>2];m=N[c+12>>2];j=0;while(1){g=n+T(j,20)|0;f=Qa[N[m+28>>2]](m,N[g>>2],N[m+60>>2])|0;G:{H:{if((f|0)==N[g>>2]){break H}N[p+120>>2]=0;i=N[b+96>>2];w=N[i+28>>2];l=N[b+100>>2];q=p+120|0;i=N[i+12>>2];if(i){i=N[i+8>>2]}else{i=0}if(!(Qa[w|0](b,l,f,q,i)|0)){break H}N[g>>2]=f;break G}N[g+4>>2]=k|N[g+4>>2]}j=j+1|0;if((h|0)!=(j|0)){continue}break}}if(!(!h|(O[a+200|0]&8|(aa&-2)!=6))){f=0;while(1){I:{J:{K:{L:{M:{N:{O:{m=n+T(f,20)|0;g=N[m>>2];j=g>>>8|0;switch(j-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break I;case 16:break K;case 0:break N;default:break O}}switch(j-254|0){case 1:break L;case 0:break M;default:break I}}j=65074;P:{switch(g-8211|0){case 1:j=65073;break J;case 18:j=65072;break J;case 19:break P;case 0:break J;default:break I}}j=65049;break J}j=65076;if((g|0)==65103){break J}break I}j=65045;Q:{switch(g-65281|0){case 7:j=65077;break J;case 8:j=65078;break J;case 11:j=65040;break J;case 25:j=65043;break J;case 26:j=65044;break J;case 30:j=65046;break J;case 58:j=65095;break J;case 60:j=65096;break J;case 62:j=65075;break J;case 90:j=65079;break J;case 92:break Q;case 0:break J;default:break I}}j=65080;break J}j=g-12289|0;if(j>>>0>=23|!(7995267>>>j&1)){break I}j=N[(j<<2)+265552>>2]}if((g|0)==(j|0)){break I}N[p+120>>2]=0;g=N[b+96>>2];i=N[g+28>>2];w=N[b+100>>2];k=p+120|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}if(!(Qa[i|0](b,w,j,k,g)|0)){break I}N[m>>2]=j}f=f+1|0;if((h|0)!=(f|0)){continue}break}}f=O[c+140|0];if(!(f&15)){L[c+140|0]=f|15;R:{S:{t=N[c+68>>2];T:{if(!t){break T}if((f&48)!=48){break R}f=N[a+80>>2];g=N[f+44>>2];N[p+128>>2]=b;N[p+124>>2]=c;N[p+120>>2]=I;N[p+132>>2]=N[c+12>>2];N[p+136>>2]=N[c+32>>2];j=N[f+24>>2];N[p+140>>2]=j?j:287;f=N[f+28>>2];N[p+144>>2]=f?f:288;N[c+72>>2]=0;M[c+62>>1]=1;N[c+64>>2]=0;N[c+84>>2]=N[c+80>>2];o=(g|0)==4?2:g;q=o&-3;f=0;l=1;U:{V:{while(1){g=f+1|0;j=g>>>0>>0?t:g;h=f;while(1){W:{g=h;h=g+1|0;if(t>>>0<=h>>>0){g=j;break W}if(!(1<>2]+T(h,20)|0)+16>>1]&7168)){continue}}break}X:{Y:{if((q|0)!=1){j=N[b+96>>2];h=N[j+32>>2];k=N[b+100>>2];m=g-f|0;f=N[c+80>>2]+T(f,20)|0;n=f;i=f+12|0;f=N[j+12>>2];if(f){f=N[f+12>>2]}else{f=0}f=Qa[h|0](b,k,m,n,20,i,20,f)|0;if(O[c+62|0]){m=N[c+84>>2];k=N[c+80>>2];h=N[c+72>>2];if(!((m|0)==(k|0)&(h|0)==N[c+64>>2])){j=f+h|0;if(!(!j|j>>>0>2])){if(!gb(c,j)){break Y}k=N[c+80>>2];m=N[c+84>>2]}Z:{if((k|0)!=(m|0)){break Z}j=N[c+72>>2];if(j+f>>>0<=f+N[c+64>>2]>>>0){m=k;break Z}if(!O[c+62|0]){break a}m=N[c+88>>2];N[c+84>>2]=m;j=T(j,20);if(!j){break Z}F(m,k,j);k=N[c+80>>2];m=N[c+84>>2]}F(T(N[c+72>>2],20)+m|0,T(N[c+64>>2],20)+k|0,T(f,20));h=N[c+72>>2]}N[c+72>>2]=h+f}f=f+N[c+64>>2]|0;N[c+64>>2]=f}_:{if(!O[c+60|0]|f>>>0>=g>>>0){break _}while(1){Ej(p+120|0,(q|0)!=1);f=N[c+64>>2];if(g>>>0<=f>>>0){break _}if(O[c+60|0]){continue}break}}if(!O[c+60|0]|(f|0)==(t|0)){break Y}g=f+1|0;j=g>>>0>>0?t:g;h=j-1|0;while(1){$:{g=f;f=f+1|0;if(t>>>0<=f>>>0){g=h;f=j;break $}if(1<>2]+T(f,20)|0)+16>>1]&7168){continue}}break}k=N[p+124>>2];m=N[k+64>>2];if(m>>>0>=f>>>0){break X}aa:{ba:{w=O[k+60|0];if(w){j=N[k+80>>2];h=m;while(1){n=N[j+T(h,20)>>2];if(!((n&-16)==65024|n-918e3>>>0>=4294967056)){n=(g|0)==(h|0);h=h+1|0;if(!n){continue}break ba}break}j=N[p+128>>2];ca:{if(g>>>0<=m>>>0){break ca}while(1){if(!O[k+60|0]){break ca}i=N[k+80>>2]+T(m,20)|0;N[i+12>>2]=0;h=i+12|0;m=N[i>>2];n=N[j+100>>2];l=N[j+96>>2];w=N[l+12>>2];i=N[i+20>>2];da:{if(!((i&-16)!=65024&i-918e3>>>0<4294967056)){l=N[l+36>>2];ea:{if(Qa[l|0](j,n,m,i,h,w?N[w+16>>2]:0)|0){N[p+96>>2]=N[N[k+80>>2]+T(N[k+64>>2],20)>>2];Sg(k,2,p+96|0);break ea}h=N[k+80>>2]+T(N[k+64>>2],20)|0;N[h+12>>2]=0;m=N[j+96>>2];n=N[m+28>>2];l=N[j+100>>2];w=N[h>>2];i=h+12|0;h=N[m+12>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[n|0](j,l,w,i,h)|0;fa:{if(O[k+62|0]){ga:{if(N[k+84>>2]==N[k+80>>2]){h=N[k+72>>2];if((h|0)==N[k+64>>2]){break ga}}if(!xd(k)){h=N[k+64>>2];break fa}h=N[k+80>>2]+T(N[k+64>>2],20)|0;n=N[h+4>>2];m=N[k+84>>2]+T(N[k+72>>2],20)|0;N[m>>2]=N[h>>2];N[m+4>>2]=n;N[m+16>>2]=N[h+16>>2];n=N[h+12>>2];N[m+8>>2]=N[h+8>>2];N[m+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}h=N[k+64>>2]+1|0;N[k+64>>2]=h}h=N[k+80>>2]+T(h,20)|0;N[h+12>>2]=0;m=N[j+96>>2];n=N[m+28>>2];l=N[j+100>>2];w=N[h>>2];i=h+12|0;h=N[m+12>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[n|0](j,l,w,i,h)|0;if(O[k+62|0]){ha:{if(N[k+84>>2]==N[k+80>>2]){h=N[k+72>>2];if((h|0)==N[k+64>>2]){break ha}}if(!xd(k)){break ea}h=N[k+80>>2]+T(N[k+64>>2],20)|0;n=N[h+4>>2];m=N[k+84>>2]+T(N[k+72>>2],20)|0;N[m>>2]=N[h>>2];N[m+4>>2]=n;N[m+16>>2]=N[h+16>>2];n=N[h+12>>2];N[m+8>>2]=N[h+8>>2];N[m+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}N[k+64>>2]=N[k+64>>2]+1}m=N[k+64>>2];if(m>>>0>=f>>>0){break da}while(1){if(!O[k+60|0]){break da}n=N[k+80>>2]+T(m,20)|0;h=N[n>>2];if((h&-16)!=65024&h-918e3>>>0<4294967056){break da}N[n+12>>2]=0;m=N[j+96>>2];i=N[m+28>>2];w=N[j+100>>2];n=n+12|0;m=N[m+12>>2];if(m){m=N[m+8>>2]}else{m=0}Qa[i|0](j,w,h,n,m)|0;ia:{if(O[k+62|0]){ja:{if(N[k+84>>2]==N[k+80>>2]){h=N[k+72>>2];if((h|0)==N[k+64>>2]){break ja}}if(!xd(k)){m=N[k+64>>2];break ia}h=N[k+80>>2]+T(N[k+64>>2],20)|0;n=N[h+4>>2];m=N[k+84>>2]+T(N[k+72>>2],20)|0;N[m>>2]=N[h>>2];N[m+4>>2]=n;N[m+16>>2]=N[h+16>>2];n=N[h+12>>2];N[m+8>>2]=N[h+8>>2];N[m+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}m=N[k+64>>2]+1|0;N[k+64>>2]=m}if(f>>>0>m>>>0){continue}break}break da}l=N[l+28>>2];Qa[l|0](j,n,m,h,w?N[w+8>>2]:0)|0;ka:{if(O[k+62|0]){l=N[k+84>>2];w=N[k+80>>2];h=N[k+72>>2];if(!((l|0)==(w|0)&(h|0)==N[k+64>>2])){h=h+1|0;if(!(!h|h>>>0>2])){if(!gb(k,h)){break ka}l=N[k+84>>2];w=N[k+80>>2]}la:{if((l|0)!=(w|0)){break la}h=N[k+72>>2];if(h+1>>>0<=N[k+64>>2]+1>>>0){l=w;break la}if(!O[k+62|0]){break a}l=N[k+88>>2];N[k+84>>2]=l;h=T(h,20);if(!h){break la}F(l,w,h);l=N[k+84>>2];w=N[k+80>>2]}h=T(N[k+64>>2],20)+w|0;n=N[h+4>>2];m=T(N[k+72>>2],20)+l|0;N[m>>2]=N[h>>2];N[m+4>>2]=n;N[m+16>>2]=N[h+16>>2];n=N[h+12>>2];N[m+8>>2]=N[h+8>>2];N[m+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}m=N[k+64>>2]+1|0;N[k+64>>2]=m;break da}m=N[k+64>>2]}if(g>>>0>m>>>0){continue}break}}if(f>>>0<=m>>>0){break X}f=N[k+80>>2]+T(m,20)|0;N[f+12>>2]=0;g=N[j+96>>2];h=N[g+28>>2];m=N[j+100>>2];i=N[f>>2];n=f+12|0;f=N[g+12>>2];if(f){f=N[f+8>>2]}else{f=0}Qa[h|0](j,m,i,n,f)|0;if(O[k+62|0]){ma:{if(N[k+84>>2]==N[k+80>>2]){f=N[k+72>>2];if((f|0)==N[k+64>>2]){break ma}}if(!xd(k)){break X}f=N[k+80>>2]+T(N[k+64>>2],20)|0;j=N[f+4>>2];g=N[k+84>>2]+T(N[k+72>>2],20)|0;N[g>>2]=N[f>>2];N[g+4>>2]=j;N[g+16>>2]=N[f+16>>2];j=N[f+12>>2];N[g+8>>2]=N[f+8>>2];N[g+12>>2]=j;f=N[k+72>>2]}N[k+72>>2]=f+1}N[k+64>>2]=N[k+64>>2]+1;break X}h=1;break aa}h=0}while(1){if(!h){w=O[k+60|0];h=1;continue}if(!(w&255)){break X}Ej(p+120|0,!o);if(Q[k+64>>2]>=f>>>0){break X}h=0;continue}}Ac(c);j=1;if(l&1){break U}break V}f=N[c+64>>2];if(t>>>0>f>>>0){l=0;if(O[c+60|0]){continue}}break}Ac(c)}j=0;if(!ib(c,b,12030,0)){break U}k=N[c+68>>2];if(k){m=0;while(1){g=N[c+80>>2];f=P[(g+T(m,20)|0)+16>>1];na:{if(f>>>0<256){i=m;break na}if(!(1<>>0>>0?k:h;i=m;while(1){oa:{i=i+1|0;if(k>>>0<=i>>>0){i=f;break oa}j=P[(g+T(i,20)|0)+16>>1];if(j>>>0<256){break oa}if(1<>>0>32){break na}if(O[c+63|0]){break S}g=m;if(h>>>0>>0){while(1){j=g;g=h;n=g>>>0>m>>>0?m:g;while(1){pa:{f=h;if(m>>>0>=f>>>0){f=n;break pa}w=N[c+80>>2];h=f-1|0;l=P[(w+T(h,20)|0)+16>>1];if(!(1<>1];if(l>>>8>>>0>(1<>>8|0:0)>>>0){continue}}break}if((f|0)!=(g|0)){j=j+2|0;if(j-f>>>0>=2){Ib(c,f,j)}h=N[c+80>>2];j=h+T(g,20)|0;N[p+112>>2]=N[j+16>>2];n=N[j+12>>2];N[p+104>>2]=N[j+8>>2];N[p+108>>2]=n;n=N[j+4>>2];N[p+96>>2]=N[j>>2];N[p+100>>2]=n;j=T(f,20);h=j+h|0;F(h+20|0,h,T(g-f|0,20));f=j+N[c+80>>2]|0;j=N[p+100>>2];N[f>>2]=N[p+96>>2];N[f+4>>2]=j;N[f+16>>2]=N[p+112>>2];j=N[p+108>>2];N[f+8>>2]=N[p+104>>2];N[f+12>>2]=j}h=g+1|0;if((i|0)!=(h|0)){continue}break}}f=N[N[a+80>>2]+36>>2];if(!f){break na}Qa[f|0](I,c,m,i)}m=i+1|0;if(k>>>0>m>>>0){continue}break}}ib(c,b,12044,0);j=0}qa:{if(!(O[c+144|0]&16)){break qa}g=N[c+68>>2];if(g>>>0<3){break qa}f=1;h=2;while(1){m=f;f=h;h=T(m,20);m=N[c+80>>2];h=h+m|0;ra:{if(N[h>>2]!=847){break ra}m=P[(m+T(f,20)|0)+16>>1];sa:{if(m>>>0<256|!(1<>1];if(n>>>8>>>0<=m>>>8>>>0){break sa}if(1<>1]=P[h+16>>1]&65471;g=N[c+68>>2]}h=f+1|0;if(g>>>0>h>>>0){continue}break}}if(!O[c+60|0]|j|(o&-2)!=2){break T}h=1;N[c+64>>2]=1;M[c+62>>1]=1;N[c+72>>2]=1;N[c+84>>2]=N[c+80>>2];i=N[c+68>>2];ta:{if(i>>>0<2){break ta}j=0;while(1){ua:{va:{h=N[c+80>>2]+T(h,20)|0;m=P[h+16>>1];if(!(1<>2];n=N[c+72>>2];g=n-1|0;if((g|0)!=(j|0)){g=P[(f+T(g>>>0<=n>>>0?g:0,20)|0)+16>>1];if(m>>>8>>>0<=(1<>>8|0:0)>>>0){break va}}g=T(j,20);if(!(Qa[N[p+144>>2]](p+120|0,N[g+f>>2],N[h>>2],p+96|0)|0)){break va}N[p+92>>2]=0;f=N[b+96>>2];h=N[f+28>>2];k=N[b+100>>2];m=N[p+96>>2];n=p+92|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[h|0](b,k,m,n,f)|0)){break va}wa:{if(!O[c+62|0]){f=N[c+72>>2];break wa}h=N[c+84>>2];m=N[c+80>>2];f=N[c+72>>2];if(!((h|0)==(m|0)&(f|0)==N[c+64>>2])){f=f+1|0;if(!(!f|f>>>0>2])){if(!gb(c,f)){break ta}m=N[c+80>>2];h=N[c+84>>2]}xa:{if((h|0)!=(m|0)){break xa}f=N[c+72>>2];if(f+1>>>0<=N[c+64>>2]+1>>>0){h=m;break xa}if(!O[c+62|0]){break a}h=N[c+88>>2];N[c+84>>2]=h;f=T(f,20);if(!f){break xa}F(h,m,f);m=N[c+80>>2];h=N[c+84>>2]}f=T(N[c+64>>2],20)+m|0;m=N[f+4>>2];h=T(N[c+72>>2],20)+h|0;N[h>>2]=N[f>>2];N[h+4>>2]=m;N[h+16>>2]=N[f+16>>2];m=N[f+12>>2];N[h+8>>2]=N[f+8>>2];N[h+12>>2]=m;f=N[c+72>>2]}f=f+1|0;N[c+72>>2]=f}N[c+64>>2]=N[c+64>>2]+1;wd(c,j,f);N[c+72>>2]=N[c+72>>2]-1;f=g+N[c+84>>2]|0;N[f>>2]=N[p+96>>2];N[f+12>>2]=N[p+92>>2];Hd(g+N[c+84>>2]|0,c);h=N[c+64>>2];break ua}ya:{if(!O[c+62|0]){n=N[c+72>>2];break ya}h=N[c+84>>2];n=N[c+80>>2];f=N[c+72>>2];if(!((h|0)==(n|0)&(f|0)==N[c+64>>2])){f=f+1|0;if(!(!f|f>>>0>2])){if(!gb(c,f)){break ta}n=N[c+80>>2];h=N[c+84>>2]}za:{if((h|0)!=(n|0)){break za}f=N[c+72>>2];if(f+1>>>0<=N[c+64>>2]+1>>>0){h=n;break za}if(!O[c+62|0]){break a}h=N[c+88>>2];N[c+84>>2]=h;f=T(f,20);if(!f){break za}F(h,n,f);n=N[c+80>>2];h=N[c+84>>2]}g=T(N[c+72>>2],20)+h|0;f=T(N[c+64>>2],20)+n|0;h=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=h;N[g+16>>2]=N[f+16>>2];h=N[f+12>>2];N[g+8>>2]=N[f+8>>2];N[g+12>>2]=h;f=N[c+72>>2]}n=f+1|0;N[c+72>>2]=n}h=N[c+64>>2]+1|0;N[c+64>>2]=h;f=n-1|0;g=P[(N[c+84>>2]+T(f>>>0<=n>>>0?f:0,20)|0)+16>>1];j=1<>>0<256?f:j:f}if(h>>>0>>0){continue}break}}Ac(c)}q=N[c+144>>2];Aa:{if(!(q&1)|!(O[a+200|0]&4)){break Aa}Ba:{if((N[c+40>>2]&-3)==4){n=N[a+176>>2];g=n|N[a+180>>2];f=a+184|0;break Ba}n=N[a+176>>2];g=n|N[a+184>>2];f=a+180|0}h=N[c+68>>2];if(!h){break Aa}t=N[c+80>>2];s=N[f>>2];m=0;while(1){x=t+T(m,20)|0;if(N[x>>2]==8260){j=m+1|0;l=0;i=m;while(1){Ca:{k=l;f=i;if(!f){k=m;f=0;break Ca}l=k+1|0;i=f-1|0;if((P[(t+T(i,20)|0)+16>>1]&31)==13){continue}}break}i=j;Da:{if(h>>>0<=i>>>0){break Da}while(1){if((P[(t+T(i,20)|0)+16>>1]&31)!=13){break Da}i=i+1|0;if((h|0)!=(i|0)){continue}break}i=h}w=N[c+68>>2];v=i>>>0>w>>>0?w:i;r=v-f|0;Ea:{if(r>>>0<2){break Ea}q=q|32;N[c+144>>2]=q;if(f>>>0>=v>>>0){break Ea}l=-1;w=f;D=v+((m^-1)+k|0)|0;if(D>>>0>=3){z=r&-4;o=0;while(1){u=t+T(w,20)|0;G=N[u+8>>2];l=l>>>0>>0?l:G;G=N[u+28>>2];l=l>>>0>>0?l:G;G=N[u+48>>2];l=l>>>0>>0?l:G;u=N[u+68>>2];l=l>>>0>>0?l:u;w=w+4|0;o=o+4|0;if((z|0)!=(o|0)){continue}break}}o=0;u=r&3;if(u){while(1){z=N[(t+T(w,20)|0)+8>>2];l=l>>>0>>0?l:z;w=w+1|0;o=o+1|0;if((u|0)!=(o|0)){continue}break}}w=f;if(r&1){w=t+T(f,20)|0;if(N[w+8>>2]!=(l|0)){N[w+4>>2]=N[w+4>>2]|3}w=f+1|0}if(!D){break Ea}while(1){o=t+T(w,20)|0;if(N[o+8>>2]!=(l|0)){q=q|32;N[c+144>>2]=q;N[o+4>>2]=N[o+4>>2]|3}o=t+T(w+1|0,20)|0;if(N[o+8>>2]!=(l|0)){q=q|32;N[c+144>>2]=q;N[o+4>>2]=N[o+4>>2]|3}w=w+2|0;if((v|0)!=(w|0)){continue}break}}Fa:{if(f>>>0>=m>>>0){break Fa}l=0;w=k&3;if(w){while(1){o=t+T(f,20)|0;N[o+4>>2]=N[o+4>>2]|g;f=f+1|0;l=l+1|0;if((w|0)!=(l|0)){continue}break}}if(k-1>>>0<=2){break Fa}while(1){k=t+T(f,20)|0;N[k+4>>2]=N[k+4>>2]|g;N[k+24>>2]=N[k+24>>2]|g;N[k+44>>2]=N[k+44>>2]|g;k=k- -64|0;N[k>>2]=N[k>>2]|g;f=f+4|0;if((m|0)!=(f|0)){continue}break}}N[x+4>>2]=N[x+4>>2]|n;Ga:{if(i>>>0<=j>>>0){break Ga}f=0;k=(m^-1)+i&3;if(k){while(1){w=t+T(j,20)|0;N[w+4>>2]=s|N[w+4>>2]|n;j=j+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if((i-m|0)-2>>>0<3){break Ga}while(1){f=t+T(j,20)|0;N[f+4>>2]=s|N[f+4>>2]|n;N[f+24>>2]=s|N[f+24>>2]|n;N[f+44>>2]=s|N[f+44>>2]|n;f=f- -64|0;N[f>>2]=s|N[f>>2]|n;j=j+4|0;if((i|0)!=(j|0)){continue}break}}m=i-1|0}m=m+1|0;if(h>>>0>m>>>0){continue}break}}f=N[N[a+80>>2]+32>>2];if(f){Qa[f|0](I,c,b)}if(e){w=0;while(1){g=(w<<4)+d|0;j=N[g+8>>2];Ha:{if(!j&N[g+12>>2]==-1){break Ha}Ia:{Ja:{f=N[a+104>>2];if((f|0)<=0){break Ja}k=N[a+108>>2];m=N[g>>2];f=f-1|0;h=0;while(1){Ka:{n=f+h>>>1|0;i=k+T(n,36)|0;l=N[i>>2];La:{if(l>>>0>m>>>0){f=n-1|0;break La}if(l>>>0>=m>>>0){break Ka}h=n+1|0}if((f|0)>=(h|0)){continue}break Ja}break}h=N[i+20>>2];f=N[i+24>>2];break Ia}h=0;f=0}if(!f){break Ha}m=N[c+68>>2];if(!m){break Ha}n=f^-1;h=f&N[g+4>>2]<>2];i=N[c+80>>2];f=0;if((m|0)!=1){k=m&1;l=m&-2;while(1){m=i+T(f,20)|0;t=N[m+8>>2];if(!(t>>>0>>0|g>>>0<=t>>>0)){N[m+4>>2]=h|n&N[m+4>>2]}m=i+T(f|1,20)|0;t=N[m+8>>2];if(!(t>>>0>>0|g>>>0<=t>>>0)){N[m+4>>2]=h|n&N[m+4>>2]}f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!k){break Ha}}m=j;f=i+T(f,20)|0;j=N[f+8>>2];if(m>>>0>j>>>0|g>>>0<=j>>>0){break Ha}N[f+4>>2]=h|n&N[f+4>>2]}w=w+1|0;if((w|0)!=(e|0)){continue}break}}Ma:{if(O[a+200|0]&128){h=N[c+68>>2];if(!h){break Ma}m=N[c+80>>2];f=0;while(1){g=m+T(f,20)|0;e=P[g+16>>1];if((e&31)==12){d=e>>>8|0;Na:{if(e>>>0>51199){n=d;break Na}Oa:{Pa:{j=N[g>>2];if((j&-256)==3584){if(e>>>0<=255){i=0;Qa:{switch(j-3633|0){case 128:case 131:case 132:case 133:case 134:case 138:case 155:case 156:i=230;break Oa;case 0:case 3:case 4:case 5:case 6:case 22:case 27:case 28:case 29:break Pa;case 139:break Qa;default:break Oa}}i=220;break Oa}i=222;if((j|0)==3642){break Oa}}n=220;Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{i=d;switch(d-3|0){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 30:case 115:case 126:case 128:break Na;case 119:case 129:break Ra;case 104:break Sa;case 0:break Ta;case 23:case 24:case 25:case 26:case 28:case 29:case 31:case 32:case 33:break Ua;case 8:case 11:break Va;case 7:break Wa;case 10:break Xa;default:break Oa}}n=214;break Na}n=232;break Na}n=228;break Na}n=230;break Na}n=222;break Na}n=232;break Na}n=230;break Na}i=232}n=i}M[g+16>>1]=e&255|n<<8}f=f+1|0;if((h|0)!=(f|0)){continue}break}}e=N[c+68>>2];if(!e){break Ma}d=N[c+80>>2];j=0;f=0;if(e>>>0>=4){g=e&-4;while(1){h=d+T(f,20)|0;N[h>>2]=N[h+12>>2];h=d+T(f|1,20)|0;N[h>>2]=N[h+12>>2];h=d+T(f|2,20)|0;N[h>>2]=N[h+12>>2];h=d+T(f|3,20)|0;N[h>>2]=N[h+12>>2];f=f+4|0;if((g|0)!=(f|0)){continue}break}}e=e&3;if(!e){break Ma}while(1){g=d+T(f,20)|0;N[g>>2]=N[g+12>>2];f=f+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}N[c+36>>2]=2;d=O[c+140|0];if((d&15)==15){L[c+140|0]=d&240|7;d=N[b+24>>2];f=N[d+140>>2];Ya:{if(f){break Ya}while(1){e=N[d+48>>2];if(!e){f=275552;break Ya}f=db(1,4);if(!f){f=275552;N[d+140>>2]=275552;break Ya}f=Of(f,e);if(!N[d+140>>2]){N[d+140>>2]=f;break Ya}ab(N[f>>2]);_a(f);f=N[d+140>>2];if(!f){continue}break}}d=N[c+68>>2];if(d){e=N[f>>2];e=e?e:275552;e=Q[e+16>>2]<4?275552:N[e+12>>2];f=0;while(1){g=T(f,20);j=g+N[c+80>>2]|0;fa=j,ga=Uc(e,N[j>>2]),M[fa+12>>1]=ga;L[(g+N[c+80>>2]|0)+14|0]=0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}f=P[a+200>>1];Za:{if(!(f&64)){break Za}e=N[c+68>>2];if(!e){break Za}g=N[c+80>>2];f=0;while(1){d=g+T(f,20)|0;h=P[d+16>>1];_a:{if((h&31)==12){j=8;if(!(h&32)|P[d+12>>1]&16){break _a}}j=2}M[d+12>>1]=j;f=f+1|0;if((e|0)!=(f|0)){continue}break}f=P[a+200>>1]}$a:{if(f&8192){w=0;h=La-160|0;La=h;f=N[b+24>>2];d=N[f+156>>2];ab:{if(d){break ab}g=h- -64|0;while(1){d=N[f+48>>2];if(!d){d=275552;break ab}N[g>>2]=0;N[g+4>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;L[h+80|0]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+84>>2]=0;N[h+88>>2]=0;e=N[d+32>>2];if((e|0)==-1){e=sb(d+56|0);e=O[e+4|0]|O[e+5|0]<<8;e=(e<<8|e>>>8)&65535;N[d+32>>2]=e}L[h+96|0]=1;N[h+92>>2]=e;e=N[d+12>>2];bb:{if(e){d=Qa[e|0](d,1836020344,N[d+16>>2])|0;if(d){break bb}}d=275552}e=tl(h+56|0,d);d=N[f+156>>2];cb:{if(e){if(d){break cb}d=e;N[f+156>>2]=e;break ab}if(d){break ab}d=275552;N[f+156>>2]=275552;break ab}if((e|0)==275552){break ab}ab(e);d=N[f+156>>2];if(!d){continue}break}}db:{e=Q[d+16>>2]<8?275552:N[d+12>>2];eb:{if(O[e|0]|O[e+1|0]<<8){f=Ue(h+56|0,I,b,c,d);if(ib(c,b,7994,0)){d=N[f+16>>2];fb:{if(!O[d+60|0]){break fb}N[f+72>>2]=0;g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!g){break fb}g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);t=g>>>0<=1?1:g;l=e+8|0;while(1){e=O[l+12|0]|O[l+13|0]<<8|(O[l+14|0]<<16|O[l+15|0]<<24);gb:{if(!e){break gb}d=N[f+4>>2];o=N[(Q[d+104>>2]<=w>>>0?275552:N[d+108>>2]+(w<<2)|0)>>2];d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);q=d>>>0<=1?1:d;d=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);e=(T(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),12)+l|0)+16|0;k=0;while(1){d=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);hb:{if(!(o&(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)))){break hb}g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!(g&32)&((g&128)>>>7|0)==((N[N[f+16>>2]+40>>2]&-2)!=6|0)){break hb}ib:{if(g&16){d=N[f+16>>2];g=(g&64)>>>6|0;break ib}d=N[f+16>>2];g=(g&64)>>>6^(N[d+40>>2]&-3)==5}j=N[f+8>>2];N[h+48>>2]=N[f+72>>2];if(!ib(d,j,17537,h+48|0)){break hb}jb:{if(g){m=N[f+16>>2];n=N[m+68>>2];if(n>>>0>=2){i=N[m+80>>2];u=n-1|0;d=0;while(1){g=i+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];s=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=s;s=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=s;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}kb:{if(!O[m+63|0]){break kb}d=N[m+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break kb}m=N[m+88>>2];u=d-1|0;d=0;while(1){g=m+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=m+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}u=0;d=0;lb:{if(e>>>0>>0){break lb}d=0;if(e>>>0>=j>>>0){break lb}g=j-e|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);u=(d>>>0>g>>>0?g:d)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=u;nl(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}m=N[f+16>>2];n=N[m+68>>2];if(n>>>0>=2){i=N[m+80>>2];u=n-1|0;d=0;while(1){g=i+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];s=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=s;s=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=s;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}if(!O[m+63|0]){break jb}d=N[m+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break jb}m=N[m+88>>2];u=d-1|0;d=0;while(1){g=m+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=m+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}break jb}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}u=0;d=0;mb:{if(e>>>0>>0){break mb}d=0;if(e>>>0>=j>>>0){break mb}g=j-e|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);u=(d>>>0>g>>>0?g:d)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=u;nl(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}}d=N[f+8>>2];g=N[f+16>>2];N[h+32>>2]=N[f+72>>2];ib(g,d,17560,h+32|0);d=N[f+16>>2];if(!O[d+60|0]){break gb}}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[f+72>>2]=N[f+72>>2]+1;e=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+e|0;k=k+1|0;if((q|0)!=(k|0)){continue}break}d=N[f+16>>2]}if(!O[d+60|0]){break fb}e=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);l=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+l|0;w=w+1|0;if((t|0)!=(w|0)){continue}break}}ib(c,b,8011,0)}ab(N[f+52>>2]);break eb}f=N[b+24>>2];d=N[f+160>>2];nb:{if(d){break nb}g=h- -64|0;while(1){d=N[f+48>>2];if(!d){d=275552;break nb}N[g>>2]=0;N[g+4>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;L[h+80|0]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+84>>2]=0;N[h+88>>2]=0;e=N[d+32>>2];if((e|0)==-1){e=sb(d+56|0);e=O[e+4|0]|O[e+5|0]<<8;e=(e<<8|e>>>8)&65535;N[d+32>>2]=e}L[h+96|0]=1;N[h+92>>2]=e;e=N[d+12>>2];ob:{if(e){d=Qa[e|0](d,1836020340,N[d+16>>2])|0;if(d){break ob}}d=275552}e=rl(h+56|0,d);d=N[f+160>>2];pb:{if(e){if(d){break pb}d=e;N[f+160>>2]=e;break nb}if(d){break nb}d=275552;N[f+160>>2]=275552;break nb}if((e|0)==275552){break nb}ab(e);d=N[f+160>>2];if(!d){continue}break}}e=Q[d+16>>2]<8?275552:N[d+12>>2];if(!(O[e|0]|O[e+1|0]<<8)){break eb}f=Ue(h+56|0,I,b,c,d);if(ib(c,b,8735,0)){d=N[f+16>>2];qb:{if(!O[d+60|0]){break qb}N[f+72>>2]=0;g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!g){break qb}g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);t=g>>>0<=1?1:g;l=e+8|0;while(1){e=O[l+10|0]|O[l+11|0]<<8;rb:{if(!e){break rb}d=N[f+4>>2];o=N[(Q[d+104>>2]<=w>>>0?275552:N[d+108>>2]+(w<<2)|0)>>2];d=(e<<8|e>>>8)&65535;q=d>>>0<=1?1:d;d=O[l+8|0]|O[l+9|0]<<8;e=(T((d<<8|d>>>8)&65535,12)+l|0)+12|0;k=0;while(1){d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);sb:{if(!(o&(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)))){break sb}g=O[e+2|0];if(!(g&32)&((N[N[f+16>>2]+40>>2]&-2)!=6|0)==(g>>>0>127|0)){break sb}tb:{if(g&16){d=N[f+16>>2];g=(g&64)>>>6|0;break tb}d=N[f+16>>2];g=(g&64)>>>6^(N[d+40>>2]&-3)==5}j=N[f+8>>2];N[h+16>>2]=N[f+72>>2];if(!ib(d,j,17537,h+16|0)){break sb}ub:{if(g){m=N[f+16>>2];n=N[m+68>>2];if(n>>>0>=2){i=N[m+80>>2];u=n-1|0;d=0;while(1){g=i+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];s=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=s;s=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=s;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}vb:{if(!O[m+63|0]){break vb}d=N[m+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break vb}m=N[m+88>>2];u=d-1|0;d=0;while(1){g=m+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=m+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}u=0;d=0;wb:{if(e>>>0>>0){break wb}d=0;if(e>>>0>=j>>>0){break wb}d=j-e|0;g=O[e|0]|O[e+1|0]<<8;g=(g<<8|g>>>8)&65535;u=(d>>>0>>0?d:g)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=u;ml(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}m=N[f+16>>2];n=N[m+68>>2];if(n>>>0>=2){i=N[m+80>>2];u=n-1|0;d=0;while(1){g=i+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];s=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=s;s=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=s;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}if(!O[m+63|0]){break ub}d=N[m+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break ub}m=N[m+88>>2];u=d-1|0;d=0;while(1){g=m+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=m+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}break ub}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}u=0;d=0;xb:{if(e>>>0>>0){break xb}d=0;if(e>>>0>=j>>>0){break xb}d=j-e|0;g=O[e|0]|O[e+1|0]<<8;g=(g<<8|g>>>8)&65535;u=(d>>>0>>0?d:g)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=u;ml(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}}d=N[f+8>>2];g=N[f+16>>2];N[h>>2]=N[f+72>>2];ib(g,d,17560,h);d=N[f+16>>2];if(!O[d+60|0]){break rb}}d=O[e|0]|O[e+1|0]<<8;N[f+72>>2]=N[f+72>>2]+1;e=((d<<8|d>>>8)&65535)+e|0;k=k+1|0;if((q|0)!=(k|0)){continue}break}d=N[f+16>>2]}if(!O[d+60|0]){break qb}e=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);l=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+l|0;w=w+1|0;if((t|0)!=(w|0)){continue}break}}ib(c,b,8752,0)}ab(N[f+52>>2])}La=h+160|0;break $a}break b}d=N[b+24>>2]+144|0;e=N[Vb(d)>>2];e=e?e:275552;f=N[e+16>>2];e=N[e+12>>2];q=N[Vb(d)+8>>2];if(!ib(c,b,20436,0)){break $a}d=Ec(p+120|0,0,b,c);N[d+100>>2]=289;j=N[a+140>>2];if(j){w=f>>>0<4?275552:e;h=0;o=0;while(1){l=j>>>0<=o>>>0?275552:N[a+144>>2]+(o<<3)|0;if(Q[l>>2]>h>>>0){while(1){e=Q[a+116>>2]<=h>>>0?275552:N[a+120>>2]+T(h,12)|0;f=P[e>>1];g=N[e+8>>2];N[p+80>>2]=g&255;N[p+64>>2]=f;N[p+68>>2]=g>>>24;N[p+76>>2]=g>>>8&255;N[p+72>>2]=g>>>16&255;if(ib(c,b,24707,p- -64|0)){k=q+T(f,28)|0;yb:{if(!(!(N[d+116>>2]&N[k>>2])|!(N[d+120>>2]&N[k+4>>2])|!(N[d+124>>2]&N[k+8>>2]))){N[d+136>>2]=f;j=N[e+4>>2];N[d+32>>2]=0;N[d+132>>2]=j;N[d+24>>2]=0;N[d+28>>2]=0;g=N[d+140>>2];N[d+12>>2]=g;m=N[d+84>>2]==1;L[d+20|0]=m;L[d+21|0]=O[d+150|0];N[d+16>>2]=j;N[d+72>>2]=0;n=O[d+151|0];L[d+22|0]=n;N[d+64>>2]=0;N[d+68>>2]=0;N[d+52>>2]=g;N[d+8>>2]=d;N[d+48>>2]=d;L[d+61|0]=1;N[d+56>>2]=-1;L[d+62|0]=n;i=m|O[d+149|0]!=0;L[d+60|0]=i;t=O[e+2|0];N[d+28>>2]=0;N[d+32>>2]=0;N[d+12>>2]=g;N[d+68>>2]=0;N[d+72>>2]=0;N[d+16>>2]=j;N[d+52>>2]=g;N[d+56>>2]=-1;L[d+20|0]=m;L[d+22|0]=n;L[d+60|0]=i;L[d+62|0]=n;i=t>>>1&1;L[d+21|0]=i;L[d+150|0]=i;t=O[e+2|0];L[d+21|0]=i;L[d+20|0]=m;L[d+22|0]=n;L[d+62|0]=n;L[d+61|0]=1;N[d+24>>2]=0;N[d+12>>2]=g;N[d+64>>2]=0;N[d+16>>2]=j;N[d+52>>2]=g;L[d+149|0]=t&1;n=(m|t)&1;L[d+60|0]=n;N[d+8>>2]=d;N[d+48>>2]=d;L[d+152|0]=O[e+2|0]>>>2&1;t=O[e+2|0];N[d+28>>2]=0;N[d+32>>2]=0;L[d+21|0]=i;L[d+20|0]=m;N[d+12>>2]=g;N[d+16>>2]=j;N[d+68>>2]=0;N[d+72>>2]=0;L[d+60|0]=n;N[d+52>>2]=g;N[d+56>>2]=-1;g=t>>>3&1;L[d+151|0]=g;L[d+22|0]=g;L[d+62|0]=g;j=275552;zb:{if((O[w|0]|O[w+1|0]<<8)!=256){break zb}i=275552;g=O[w+8|0]|O[w+9|0]<<8;if(g){i=w+((g<<8|g>>>8)&65535)|0}g=O[i|0]|O[i+1|0]<<8;if(f>>>0>=((g<<8|g>>>8)&65535)>>>0){break zb}g=(f<<1)+i|0;g=O[g+2|0]|O[g+3|0]<<8;if(!g){break zb}j=((g<<8|g>>>8)&65535)+i|0}Mj(d,j,k);break yb}g=N[e+8>>2];N[p+48>>2]=g&255;N[p+32>>2]=f;N[p+36>>2]=g>>>24;N[p+44>>2]=g>>>8&255;N[p+40>>2]=g>>>16&255;ib(c,b,11287,p+32|0)}e=N[e+8>>2];N[p+16>>2]=e&255;N[p>>2]=f;N[p+4>>2]=e>>>24;N[p+12>>2]=e>>>8&255;N[p+8>>2]=e>>>16&255;ib(c,b,24742,p)}h=h+1|0;if(h>>>0>2]){continue}break}}e=N[l+4>>2];Ab:{if(!e){break Ab}if(!(Qa[e|0](I,b,c)|0)){break Ab}e=N[c+68>>2];Bb:{if(!e){n=0;g=0;m=0;break Bb}g=0;j=N[c+80>>2];n=j;m=0;l=e>>>0<4;if(!l){f=e&-4;i=0;while(1){m=1<<(N[n>>2]>>>4)|m|1<<(N[n+20>>2]>>>4)|1<<(N[n+40>>2]>>>4)|1<<(N[n+60>>2]>>>4);n=n+80|0;i=i+4|0;if((f|0)!=(i|0)){continue}break}}f=e&3;if(f){while(1){m=1<<(N[n>>2]>>>4)|m;n=n+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}i=0;n=j;g=0;if(!l){t=e&-4;k=0;while(1){g=1<>2]|g|1<>2]|1<>2]|1<>2];n=n+80|0;k=k+4|0;if((t|0)!=(k|0)){continue}break}}if(f){while(1){g=1<>2]|g;n=n+20|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}i=0;Cb:{if(l){n=0;break Cb}e=e&-4;n=0;k=0;while(1){n=1<<(N[j>>2]>>>9)|n|1<<(N[j+20>>2]>>>9)|1<<(N[j+40>>2]>>>9)|1<<(N[j+60>>2]>>>9);j=j+80|0;k=k+4|0;if((e|0)!=(k|0)){continue}break}}if(!f){break Bb}while(1){n=1<<(N[j>>2]>>>9)|n;j=j+20|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}N[d+124>>2]=n;N[d+120>>2]=g;N[d+116>>2]=m}j=N[a+140>>2];o=o+1|0;if(j>>>0>o>>>0){continue}break}}_a(N[d+112>>2]);ib(c,b,20453,0)}if((P[a+200>>1]&8704)==8704){ll(c)}N[c+72>>2]=0;M[c+62>>1]=256;n=N[c+80>>2];N[c+84>>2]=n;j=N[c+68>>2];d=T(j,20);if(d){C(N[c+88>>2],0,d);n=N[c+80>>2];j=N[c+68>>2]}d=N[c+88>>2];Db:{if((N[c+40>>2]&-2)==4){e=N[b+96>>2];f=N[e+48>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+28>>2]}else{e=0}Qa[f|0](b,g,j,n,20,d,20,e);e=N[147126];f=b;while(1){if((e|0)==N[N[f+96>>2]+56>>2]){f=N[f+20>>2];if(!f){break Db}if((f|0)!=588752){continue}break Db}break}if(!j){break Db}h=0;while(1){e=T(h,20);Jd(b,N[e+n>>2],p+120|0,p+96|0);e=d+e|0;N[e+8>>2]=N[e+8>>2]-N[p+120>>2];N[e+12>>2]=N[e+12>>2]-N[p+96>>2];h=h+1|0;if((j|0)!=(h|0)){continue}break}break Db}e=N[b+96>>2];f=N[e+52>>2];h=0;i=N[b+100>>2];g=d+4|0;e=N[e+12>>2];if(e){e=N[e+32>>2]}else{e=0}Qa[f|0](b,i,j,n,20,g,20,e);if(!j){break Db}while(1){e=T(h,20);rq(b,N[e+n>>2],p+120|0,p+96|0);e=d+e|0;N[e+8>>2]=N[e+8>>2]-N[p+120>>2];N[e+12>>2]=N[e+12>>2]-N[p+96>>2];h=h+1|0;if((j|0)!=(h|0)){continue}break}}Eb:{if(O[c+144|0]&4){n=N[c+68>>2];if(!n){break Eb}k=N[c+80>>2];g=N[c+88>>2];h=(N[c+40>>2]&-2)!=4;f=0;while(1){j=T(f,20);d=j+k|0;Fb:{if((P[d+16>>1]&31)!=29|O[d+12|0]&32){break Fb}e=N[c+28>>2];Gb:{if(!e|(e|0)!=N[d>>2]){break Gb}if(!h){N[g+j>>2]=N[b+28>>2]/4;break Gb}N[(g+j|0)+4>>2]=N[b+32>>2]/-4}Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{d=P[d+16>>1];d=(d&31)==29?d>>>8|0:0;switch(d-1|0){case 20:break Jb;case 19:break Kb;case 18:break Lb;case 16:break Mb;case 0:case 1:case 2:case 3:case 4:case 5:case 15:break Nb;default:break Fb}}e=d>>>1|0;if(!h){N[g+j>>2]=(e+N[b+28>>2]|0)/(d|0);break Fb}N[(g+j|0)+4>>2]=0-((e+N[b+32>>2]|0)/(d|0)|0);break Fb}if(!h){d=N[b+28>>2];o=d>>31<<2|d>>>30;fa=g+j|0,ga=VE(d<<2,o,18,0),N[fa>>2]=ga;break Fb}d=0-N[b+32>>2]|0;s=d>>31<<2|d>>>30;fa=g+j|0,ga=VE(d<<2,s,18,0),N[fa+4>>2]=ga;break Fb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,m,48,i,d)|0)){break Ib}break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,m,46,i,d)|0)){N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,m,44,i,d)|0)){break Fb}}d=N[b+100>>2];i=N[b+96>>2];m=N[i+12>>2];e=N[p+120>>2];if(!h){i=N[i+40>>2];fa=g+j|0,ga=Qa[i|0](b,d,e,m?N[m+20>>2]:0)|0,N[fa>>2]=ga;break Fb}i=N[i+44>>2];fa=g+j|0,ga=Qa[i|0](b,d,e,m?N[m+24>>2]:0)|0,N[fa+4>>2]=ga;break Fb}if(!h){d=g+j|0;N[d>>2]=N[d>>2]/2;break Fb}d=g+j|0;N[d+4>>2]=N[d+4>>2]/2;break Fb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,49,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,50,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,51,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,52,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,53,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,54,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,55,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,56,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,m,57,i,d)|0)){break Fb}}d=N[b+100>>2];i=N[b+96>>2];m=N[i+12>>2];e=N[p+120>>2];if(!h){i=N[i+40>>2];fa=g+j|0,ga=Qa[i|0](b,d,e,m?N[m+20>>2]:0)|0,N[fa>>2]=ga;break Fb}i=N[i+44>>2];fa=g+j|0,ga=Qa[i|0](b,d,e,m?N[m+24>>2]:0)|0,N[fa+4>>2]=ga}f=f+1|0;if((n|0)!=(f|0)){continue}break}}n=N[c+68>>2]}w=0;w=L[a+201|0]&1?(N[c+40>>2]&-3)==4:w;da=N[c+80>>2];ea=N[c+88>>2];d=N[147126];f=b;Ob:{Pb:{Qb:{while(1){if((d|0)!=N[N[f+96>>2]+56>>2]){break Qb}f=N[f+20>>2];if((f|0)!=588752?f:0){continue}break}g=n;j=(g|0)!=0;break Pb}j=0;if(!n){break Ob}while(1){d=T(j,20);Jd(b,N[d+da>>2],p+120|0,p+96|0);d=d+ea|0;N[d+8>>2]=N[d+8>>2]+N[p+120>>2];N[d+12>>2]=N[d+12>>2]+N[p+96>>2];j=j+1|0;if((n|0)!=(j|0)){continue}break}g=N[c+68>>2];j=1}if(!g){break Ob}h=0;f=0;if(g>>>0>=4){d=g&-4;while(1){e=T(f,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|1,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|2,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|3,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}d=g&3;if(!d){break Ob}while(1){e=T(f,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;f=f+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}Rb:{if(!(O[a+200|0]&32)|N[N[a+80>>2]+48>>2]!=1){break Rb}e=N[c+68>>2];if(!e){break Rb}g=N[c+80>>2];if(w){h=0;while(1){d=T(h,20);if(O[(d+g|0)+12|0]&8){d=d+N[c+88>>2]|0;f=N[d+4>>2];N[d+4>>2]=0;m=N[d>>2];N[d>>2]=0;N[d+8>>2]=N[d+8>>2]-m;N[d+12>>2]=N[d+12>>2]-f}h=h+1|0;if((e|0)!=(h|0)){continue}break}break Rb}f=0;if((e|0)!=1){d=e&1;e=e&-2;while(1){h=T(f,20);if(O[(h+g|0)+12|0]&8){h=h+N[c+88>>2]|0;N[h>>2]=0;N[h+4>>2]=0}h=T(f|1,20);if(O[(h+g|0)+12|0]&8){h=h+N[c+88>>2]|0;N[h>>2]=0;N[h+4>>2]=0}f=f+2|0;if((e|0)!=(f|0)){continue}break}if(!d){break Rb}}d=T(f,20);if(!(O[(d+g|0)+12|0]&8)){break Rb}d=d+N[c+88>>2]|0;N[d>>2]=0;N[d+4>>2]=0}t=c;k=0;m=0;i=La-448|0;La=i;Sb:{c=P[I+140>>1];if(c&512){c=N[b+24>>2]+148|0;d=N[mc(c)>>2];d=d?d:275552;f=N[d+16>>2];d=N[d+12>>2];v=N[mc(c)+8>>2];if(!ib(t,b,19444,0)){break Sb}h=Ec(i+272|0,1,b,t);N[h+100>>2]=286;e=N[I+92>>2];if(e){m=f>>>0<4?275552:d;while(1){q=e>>>0<=A>>>0?275552:N[I+96>>2]+(A<<3)|0;if(Q[q>>2]>k>>>0){while(1){d=Q[I+68>>2]<=k>>>0?275552:N[I+72>>2]+T(k,12)|0;f=P[d>>1];c=N[d+8>>2];N[i+176>>2]=c&255;N[i+160>>2]=f;N[i+164>>2]=c>>>24;N[i+172>>2]=c>>>8&255;N[i+168>>2]=c>>>16&255;if(ib(t,b,24707,i+160|0)){y=v+T(f,28)|0;Tb:{if(!(!(N[h+116>>2]&N[y>>2])|!(N[h+120>>2]&N[y+4>>2])|!(N[h+124>>2]&N[y+8>>2]))){N[h+136>>2]=f;e=N[d+4>>2];N[h+32>>2]=0;N[h+132>>2]=e;N[h+24>>2]=0;N[h+28>>2]=0;c=N[h+140>>2];N[h+12>>2]=c;g=N[h+84>>2]==1;L[h+20|0]=g;L[h+21|0]=O[h+150|0];N[h+16>>2]=e;N[h+72>>2]=0;l=O[h+151|0];L[h+22|0]=l;N[h+64>>2]=0;N[h+68>>2]=0;N[h+52>>2]=c;N[h+8>>2]=h;N[h+48>>2]=h;L[h+61|0]=1;N[h+56>>2]=-1;L[h+62|0]=l;o=g|O[h+149|0]!=0;L[h+60|0]=o;s=O[d+2|0];N[h+28>>2]=0;N[h+32>>2]=0;N[h+12>>2]=c;N[h+68>>2]=0;N[h+72>>2]=0;N[h+16>>2]=e;N[h+52>>2]=c;N[h+56>>2]=-1;L[h+20|0]=g;L[h+22|0]=l;L[h+60|0]=o;L[h+62|0]=l;o=s>>>1&1;L[h+21|0]=o;L[h+150|0]=o;s=O[d+2|0];L[h+21|0]=o;L[h+20|0]=g;L[h+22|0]=l;L[h+62|0]=l;L[h+61|0]=1;N[h+24>>2]=0;N[h+12>>2]=c;N[h+64>>2]=0;N[h+16>>2]=e;N[h+52>>2]=c;L[h+149|0]=s&1;l=(g|s)&1;L[h+60|0]=l;N[h+8>>2]=h;N[h+48>>2]=h;L[h+152|0]=O[d+2|0]>>>2&1;s=O[d+2|0];N[h+28>>2]=0;N[h+32>>2]=0;L[h+21|0]=o;L[h+20|0]=g;N[h+12>>2]=c;N[h+16>>2]=e;N[h+68>>2]=0;N[h+72>>2]=0;L[h+60|0]=l;N[h+52>>2]=c;N[h+56>>2]=-1;c=s>>>3&1;L[h+151|0]=c;L[h+22|0]=c;L[h+62|0]=c;c=275552;Ub:{if((O[m|0]|O[m+1|0]<<8)!=256){break Ub}e=275552;g=O[m+8|0]|O[m+9|0]<<8;if(g){e=m+((g<<8|g>>>8)&65535)|0}g=O[e|0]|O[e+1|0]<<8;if(f>>>0>=((g<<8|g>>>8)&65535)>>>0){break Ub}g=(f<<1)+e|0;g=O[g+2|0]|O[g+3|0]<<8;if(!g){break Ub}c=((g<<8|g>>>8)&65535)+e|0}g=N[h+96>>2];if(!N[g+68>>2]){break Tb}l=N[h+132>>2];if(!l){break Tb}e=O[c+2|0]|O[c+3|0]<<8;o=e<<8|e>>>8;e=o&65535;if(o&16){E=c;c=O[c+4|0]|O[c+5|0]<<8;c=E+(((c<<8|c>>>8)&65535)<<1)|0;c=O[c+6|0]|O[c+7|0]<<8;e=c<<24|c<<8&16711680|e}N[h+32>>2]=0;N[h+140>>2]=e;N[h+24>>2]=0;N[h+28>>2]=0;N[h+12>>2]=e;N[h+16>>2]=l;N[h+72>>2]=0;N[h+64>>2]=0;N[h+68>>2]=0;N[h+52>>2]=e;L[h+61|0]=1;L[h+21|0]=O[h+150|0];c=O[h+151|0];L[h+22|0]=c;e=N[h+84>>2]==1;L[h+20|0]=e;L[h+60|0]=e|O[h+149|0]!=0;N[h+8>>2]=h;N[h+48>>2]=h;L[h+62|0]=c;N[h+56>>2]=-1;N[g+64>>2]=0;Lj(h,y);break Tb}c=N[d+8>>2];N[i+144>>2]=c&255;N[i+128>>2]=f;N[i+132>>2]=c>>>24;N[i+140>>2]=c>>>8&255;N[i+136>>2]=c>>>16&255;ib(t,b,11287,i+128|0)}c=N[d+8>>2];N[i+112>>2]=c&255;N[i+96>>2]=f;N[i+100>>2]=c>>>24;N[i+108>>2]=c>>>8&255;N[i+104>>2]=c>>>16&255;ib(t,b,24742,i+96|0)}k=k+1|0;if(k>>>0>2]){continue}break}}c=N[q+4>>2];Vb:{if(!c){break Vb}if(!(Qa[c|0](I,b,t)|0)){break Vb}l=N[t+68>>2];Wb:{if(!l){d=0;g=0;f=0;break Wb}g=0;e=N[t+80>>2];d=e;f=0;o=l>>>0<4;if(!o){y=l&-4;c=0;while(1){f=1<<(N[d>>2]>>>4)|f|1<<(N[d+20>>2]>>>4)|1<<(N[d+40>>2]>>>4)|1<<(N[d+60>>2]>>>4);d=d+80|0;c=c+4|0;if((y|0)!=(c|0)){continue}break}}y=l&3;if(y){while(1){f=1<<(N[d>>2]>>>4)|f;d=d+20|0;g=g+1|0;if((y|0)!=(g|0)){continue}break}}c=0;d=e;g=0;if(!o){q=l&-4;x=0;while(1){g=1<>2]|g|1<>2]|1<>2]|1<>2];d=d+80|0;x=x+4|0;if((q|0)!=(x|0)){continue}break}}if(y){while(1){g=1<>2]|g;d=d+20|0;c=c+1|0;if((y|0)!=(c|0)){continue}break}}c=0;Xb:{if(o){d=0;break Xb}l=l&-4;d=0;x=0;while(1){d=1<<(N[e>>2]>>>9)|d|1<<(N[e+20>>2]>>>9)|1<<(N[e+40>>2]>>>9)|1<<(N[e+60>>2]>>>9);e=e+80|0;x=x+4|0;if((l|0)!=(x|0)){continue}break}}if(!y){break Wb}while(1){d=1<<(N[e>>2]>>>9)|d;e=e+20|0;c=c+1|0;if((y|0)!=(c|0)){continue}break}}N[h+124>>2]=d;N[h+120>>2]=g;N[h+116>>2]=f}e=N[I+92>>2];A=A+1|0;if(e>>>0>A>>>0){continue}break}}_a(N[h+112>>2]);ib(t,b,19461,0);break Sb}if(!(c&4096)){break Sb}f=N[b+24>>2];c=N[f+164>>2];Yb:{if(c){break Yb}while(1){c=N[f+48>>2];if(!c){c=275552;break Yb}N[i+280>>2]=0;N[i+284>>2]=0;N[i+288>>2]=0;N[i+292>>2]=0;L[i+296|0]=0;N[i+272>>2]=0;N[i+276>>2]=0;N[i+300>>2]=0;N[i+304>>2]=0;e=N[c+32>>2];if((e|0)==-1){d=sb(c+56|0);d=O[d+4|0]|O[d+5|0]<<8;e=(d<<8|d>>>8)&65535;N[c+32>>2]=e}L[i+312|0]=1;N[i+308>>2]=e;d=N[c+12>>2];Zb:{if(d){c=Qa[d|0](c,1801810552,N[c+16>>2])|0;if(c){break Zb}}c=275552}d=kl(i+272|0,c);c=N[f+164>>2];_b:{if(d){if(c){break _b}c=d;N[f+164>>2]=c;break Yb}if(c){break Yb}c=275552;N[f+164>>2]=275552;break Yb}if((d|0)==275552){break Yb}ab(d);c=N[f+164>>2];if(!c){continue}break}}g=N[c+16>>2];l=N[c+12>>2];r=Ue(i+196|0,I,b,t,c);$b:{if(ib(t,b,8026,0)){d=N[b+24>>2];k=N[d+168>>2];ac:{if(k){break ac}while(1){c=N[d+48>>2];if(!c){k=275552;break ac}N[i+288>>2]=0;N[i+300>>2]=0;f=N[c+32>>2];if((f|0)==-1){e=sb(c+56|0);e=O[e+4|0]|O[e+5|0]<<8;f=(e<<8|e>>>8)&65535;N[c+32>>2]=f}L[i+312|0]=1;N[i+308>>2]=f;e=N[c+12>>2];bc:{if(e){h=Qa[e|0](c,1634626418,N[c+16>>2])|0;if(h){break bc}}h=275552}cc:{dc:{ec:{fc:{gc:{hc:{ic:{c=N[h>>2];if(c){if((c|0)<=0){break ic}N[h>>2]=c+1}L[i+296|0]=0;N[i+304>>2]=h;k=N[h+12>>2];N[i+276>>2]=k;c=N[h+16>>2];N[i+280>>2]=c+k;if((c|0)<0){break b}N[i+292>>2]=0;N[i+272>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[i+284>>2]=c;c=h;if(!k){break dc}if(nh(k,i+272|0)){break hc}jc:{if(O[i+296|0]|!N[i+300>>2]){break jc}if(!zb(h)){break jc}while(1){L[i+296|0]=1;c=N[i+304>>2];k=N[c+12>>2];N[i+276>>2]=k;e=N[c+16>>2];N[i+280>>2]=e+k;if((e|0)<0){break b}N[i+300>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[i+284>>2]=e;N[i+292>>2]=0;N[i+272>>2]=0;if(!k){break dc}if(nh(k,i+272|0)){break hc}if(O[i+296|0]|!N[i+300>>2]){break jc}c=zb(h);N[i+276>>2]=c;N[i+280>>2]=c+N[h+16>>2];if(c){continue}break}}ab(N[i+304>>2]);break gc}ba(23506,14099,260,16403);B()}if(!N[i+300>>2]){break fc}N[i+300>>2]=0;c=nh(k,i+272|0);e=N[i+300>>2];ab(N[i+304>>2]);if(e){break gc}if(c){break ec}}ab(h);k=N[d+168>>2];if(k){break ac}k=275552;N[d+168>>2]=275552;break ac}ab(N[i+304>>2])}if(!N[h+4>>2]){break cc}N[h+4>>2]=0;break cc}ab(c)}k=N[d+168>>2];if(!k){k=h;N[d+168>>2]=h;break ac}if((h|0)==275552){break ac}ab(h);k=N[d+168>>2];if(!k){continue}break}}c=N[k+12>>2];d=N[k+16>>2];N[r+72>>2]=0;N[r+64>>2]=d>>>0<12?275552:c;c=g>>>0<8?275552:l;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(d){d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);K=d>>>0<=1?1:d;Y=d-1|0;d=c+8|0;J=i+276|0;e=0;while(1){c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);f=N[r+16>>2];g=N[f+40>>2];kc:{if((!(c&128)|0)==((g&-2)!=4|0)){break kc}h=N[r+8>>2];N[i+80>>2]=e;if(!ib(f,h,17581,i+80|0)){break kc}X=(c&16)>>>4^(g&-3)!=5;c=1;lc:{if(y){break lc}c=0;if(!(O[d+4|0]&64)){break lc}f=N[r+16>>2];e=N[f+68>>2];c=1;if(!e){break lc}f=N[f+88>>2];k=0;if((e|0)!=1){g=e&1;c=e&-2;while(1){e=f+T(k,20)|0;L[e+18|0]=2;M[e+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;e=f+T(k|1,20)|0;L[e+18|0]=2;M[e+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;k=k+2|0;if((c|0)!=(k|0)){continue}break}c=1;if(!g){break lc}}c=f+T(k,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;c=1}y=c;mc:{if(X){break mc}h=N[r+16>>2];k=N[h+68>>2];if(k>>>0>=2){l=N[h+80>>2];g=k-1|0;f=0;while(1){c=l+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=l+T(f,20)|0;N[c+16>>2]=N[e+16>>2];o=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=o;o=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=o;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[h+63|0]){break mc}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break mc}h=N[h+88>>2];g=c-1|0;f=0;while(1){c=h+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(f,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}e=N[r+52>>2];c=N[e+12>>2];N[r+24>>2]=c;f=N[e+16>>2];e=f+c|0;N[r+28>>2]=e;nc:{oc:{pc:{qc:{rc:{if((f|0)>=0){sc:{if(m>>>0>=Y>>>0){break sc}f=c;c=m>>>0>>0?d:0;if(!(f>>>0<=c>>>0&c>>>0>>0)){N[r+24>>2]=0;N[r+28>>2]=0;break sc}N[r+24>>2]=c;f=e-c|0;e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);N[r+28>>2]=c+(e>>>0>f>>>0?f:e)}tc:{c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);e=c>>>24|0;switch(e|0){case 1:break oc;case 2:break pc;case 4:break qc;case 6:break rc;case 0:break tc;default:break nc}}f=N[r+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}u=N[f+132>>2];o=N[r+16>>2];q=N[r+8>>2];if(!ib(o,q,12581,0)){break nc}if(O[o+16|0]&64){wb(o,2,0,-1,1,0)}c=Ec(i+272|0,1,q,o);N[i+404>>2]=u;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=u;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;f=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(f|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;g=N[o+68>>2];if(g){H=N[o+40>>2]&-2;v=N[o+88>>2];D=N[o+80>>2];z=e&1073741824;S=d+28|0;c=0;while(1){uc:{vc:{x=T(c,20);h=x+D|0;if(!(u&N[h+4>>2])){break vc}N[i+308>>2]=1;N[i+276>>2]=c;e=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[e+68>>2];L[i+295|0]=O[i+294|0]?N[e+64>>2]==(c|0)?O[(x+N[e+80>>2]|0)+15|0]:0:0;if(!kc(J,i+440|0)){break vc}f=N[i+276>>2];A=T(f,20);e=O[d+12|0]|O[d+13|0]<<8|(O[d+14|0]<<16|O[d+15|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);wc:{if((e|0)>0){l=N[A+D>>2];s=N[h>>2];k=e-1|0;e=0;while(1){xc:{yc:{G=e+k>>>1|0;h=S+T(G,6)|0;E=O[h|0]|O[h+1|0]<<8;E=(E<<8|E>>>8)&65535;zc:{if((E|0)==(s|0)){E=O[h+2|0]|O[h+3|0]<<8;E=(E<<8|E>>>8)&65535;if(E>>>0>l>>>0){break zc}if((l|0)==(E|0)){break wc}break yc}if(s>>>0>=E>>>0){break yc}}k=G-1|0;break xc}e=G+1|0}if((e|0)<=(k|0)){continue}break}}h=275552}e=O[h+4|0]|O[h+5|0]<<8;k=(e<<8|e>>>8)<<16>>16;h=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(h){l=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if((l|0)<0){break uc}h=d+k|0;Ac:{k=l<<1;if(!k){break Ac}if(h>>>0>2]){break uc}l=N[r+28>>2];if(l>>>0>>0){break uc}if(k>>>0>l-h>>>0){break uc}e=N[r+32>>2]-k|0;N[r+32>>2]=e;if((e|0)>0){break Ac}break uc}e=O[h|0]|O[h+1|0]<<8;k=(e<<8|e>>>8)<<16>>16}if(!k){break uc}e=k>>31;Bc:{if((H|0)==4){e=UE(N[q+56>>2],N[q+60>>2],k,e);s=Pa;e=e+32768|0;e=((e>>>0<32768?s+1|0:s)&65535)<<16|e>>>16;if(z){N[(v+A|0)+12>>2]=e;N[o+144>>2]=N[o+144>>2]|8;break Bc}h=v+x|0;k=e>>1;N[h>>2]=k+N[h>>2];h=v+A|0;e=e-k|0;N[h>>2]=e+N[h>>2];N[h+8>>2]=e+N[h+8>>2];break Bc}e=UE(N[q+64>>2],N[q+68>>2],k,e);l=Pa;e=e+32768|0;e=((e>>>0<32768?l+1|0:l)&65535)<<16|e>>>16;if(z){N[(v+A|0)+8>>2]=e;N[o+144>>2]=N[o+144>>2]|8;break Bc}h=v+x|0;k=e>>1;N[h+4>>2]=k+N[h+4>>2];h=v+A|0;e=e-k|0;N[h+4>>2]=e+N[h+4>>2];N[h+12>>2]=e+N[h+12>>2]}Sc(o,c,f+1|0);f=N[i+276>>2];break uc}f=c+1|0}c=f;if(g>>>0>c>>>0){continue}break}}ib(o,q,12662,0);_a(N[i+384>>2]);break nc}break b}f=N[r+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}G=N[f+132>>2];h=N[r+16>>2];u=N[r+8>>2];if(!ib(h,u,12581,0)){break nc}if(O[h+16|0]&64){wb(h,2,0,-1,1,0)}c=Ec(i+272|0,1,u,h);N[i+404>>2]=G;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=G;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;f=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(f|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;f=N[h+68>>2];if(f){ca=N[h+40>>2]&-2;D=N[h+88>>2];S=N[h+80>>2];E=e&1073741824;k=0;while(1){Cc:{Dc:{H=T(k,20);q=H+S|0;if(!(G&N[q+4>>2])){break Dc}N[i+308>>2]=1;N[i+276>>2]=k;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];L[i+295|0]=O[i+294|0]?N[c+64>>2]==(k|0)?O[(H+N[c+80>>2]|0)+15|0]:0:0;if(!kc(J,i+440|0)){break Dc}c=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;g=O[e|0]|O[e+1|0]<<8;_=N[i+276>>2];z=T(_,20);l=N[z+S>>2];o=N[r+56>>2];c=N[q>>2];Ec:{Fc:{Gc:{if(L[d+15|0]&1){Hc:{Ic:{Jc:{if((g|0)==2560){g=0;q=O[e+4|0]|O[e+5|0]<<8;q=(q<<8|q>>>8)&65535;if(q>>>0>c>>>0){break Hc}q=c-q|0;s=O[e+6|0]|O[e+7|0]<<8;if(q>>>0>=((s<<8|s>>>8)&65535)>>>0){break Hc}c=O[e+2|0]|O[e+3|0]<<8;A=(c<<8|c>>>8)&65535;q=T(q,A);if((q|0)<0){e=275552}else{c=O[e+2|0]|O[e+3|0]<<8;A=(c<<8|c>>>8)&65535;e=(e+q|0)+8|0}if(!c){break Hc}g=A>>>0<=1?1:A;q=g&3;c=0;if(g>>>0>=4){break Jc}g=0;break Ic}c=il(e,c,o);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break Hc}e=(g&65532)+e|0;g=e-4|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24)}if(!q){break Hc}while(1){g=O[e|0]|g<<8;e=e+1|0;c=c+1|0;if((q|0)!=(c|0)){continue}break}}Kc:{Lc:{Mc:{c=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;if((O[c|0]|O[c+1|0]<<8)==2560){e=0;o=O[c+4|0]|O[c+5|0]<<8;o=(o<<8|o>>>8)&65535;if(o>>>0>l>>>0){break Kc}l=l-o|0;q=O[c+6|0]|O[c+7|0]<<8;if(l>>>0>=((q<<8|q>>>8)&65535)>>>0){break Kc}v=O[c+2|0]|O[c+3|0]<<8;x=(v<<8|v>>>8)&65535;l=T(l,x);if((l|0)<0){c=275552}else{v=O[c+2|0]|O[c+3|0]<<8;x=(v<<8|v>>>8)&65535;c=(c+l|0)+8|0}if(!v){break Kc}e=x>>>0<=1?1:x;l=e&3;v=0;if(e>>>0>=4){break Mc}e=0;break Lc}c=il(c,l,o);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break Kc}c=(e&65532)+c|0;e=c-4|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}if(!l){break Kc}while(1){e=O[c|0]|e<<8;c=c+1|0;v=v+1|0;if((l|0)!=(v|0)){continue}break}}c=e;e=e+g|0;if(c>>>0>e>>>0|e>>>0>1073741823){break Ec}o=N[r+24>>2];c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);c=((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)+(e<<2)|0;if(o>>>0>c>>>0){break Ec}g=N[r+28>>2];if(g>>>0>>0|g-c>>>0<4){break Ec}l=N[r+32>>2]-4|0;N[r+32>>2]=l;if((l|0)<=0){break Ec}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);q=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);c=q;if(!e){break Fc}s=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((s|0)<0){break Ec}c=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);e=q+((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)|0;c=s<<1;if(!c){break Gc}if(e>>>0>>0|e>>>0>g>>>0|c>>>0>g-e>>>0){break Ec}c=l-c|0;N[r+32>>2]=c;if((c|0)>0){break Gc}break Ec}Nc:{if((g|0)==2560){g=0;q=O[e+4|0]|O[e+5|0]<<8;q=(q<<8|q>>>8)&65535;if(q>>>0>c>>>0){break Nc}q=c-q|0;s=O[e+6|0]|O[e+7|0]<<8;if(q>>>0>=((s<<8|s>>>8)&65535)>>>0){break Nc}c=O[e+2|0]|O[e+3|0]<<8;A=(c<<8|c>>>8)&65535;q=T(q,A);if((q|0)<0){e=275552}else{c=O[e+2|0]|O[e+3|0]<<8;A=(c<<8|c>>>8)&65535;e=(e+q|0)+8|0}if(!c){break Nc}g=A>>>0<=1?1:A;q=g&3;c=0;if(g>>>0<4){g=0}else{e=(g&65532)+e|0;g=e-4|0;g=O[g+2|0]<<8|O[g+3|0]}if(!q){break Nc}while(1){g=O[e|0]|g<<8;e=e+1|0;c=c+1|0;if((q|0)!=(c|0)){continue}break}break Nc}c=cc(e,c,o);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8;g=c<<8|c>>>8}q=g&65535;c=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);g=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;Oc:{if((O[g|0]|O[g+1|0]<<8)==2560){e=0;c=O[g+4|0]|O[g+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>l>>>0){break Oc}l=l-c|0;o=O[g+6|0]|O[g+7|0]<<8;if(l>>>0>=((o<<8|o>>>8)&65535)>>>0){break Oc}c=O[g+2|0]|O[g+3|0]<<8;v=(c<<8|c>>>8)&65535;l=T(l,v);if((l|0)<0){g=275552}else{c=O[g+2|0]|O[g+3|0]<<8;v=(c<<8|c>>>8)&65535;g=(g+l|0)+8|0}if(!c){break Oc}e=v>>>0<=1?1:v;l=e&3;c=0;if(e>>>0<4){e=0}else{g=(e&65532)+g|0;e=g-4|0;e=O[e+2|0]<<8|O[e+3|0]}if(!l){break Oc}while(1){e=O[g|0]|e<<8;g=g+1|0;c=c+1|0;if((l|0)!=(c|0)){continue}break}break Oc}c=cc(g,l,o);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8;e=c<<8|c>>>8}o=N[r+24>>2];c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);c=((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)+(q+(e&65535)<<1)|0;if(o>>>0>c>>>0){break Ec}g=N[r+28>>2];if(g>>>0>>0|g-c>>>0<2){break Ec}l=N[r+32>>2]-2|0;N[r+32>>2]=l;if((l|0)<=0){break Ec}c=O[c|0]|O[c+1|0]<<8;q=(c<<8|c>>>8)<<16>>16;e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);c=q;if(!e){break Fc}s=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((s|0)<0){break Ec}c=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);e=q+((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)|0;c=s<<1;if(!c){break Gc}if(e>>>0>>0|e>>>0>g>>>0|c>>>0>g-e>>>0){break Ec}c=l-c|0;N[r+32>>2]=c;if((c|0)<=0){break Ec}}c=O[e|0]|O[e+1|0]<<8;c=(c<<8|c>>>8)<<16>>16}if(!c){break Ec}q=c<<16;l=q>>31;c=q>>16;Pc:{if((ca|0)==4){c=UE(N[u+56>>2],N[u+60>>2],c,l);s=Pa;c=c+32768|0;c=((c>>>0<32768?s+1|0:s)&65535)<<16|c>>>16;if(E){N[(z+D|0)+12>>2]=c;N[h+144>>2]=N[h+144>>2]|8;break Pc}e=D+H|0;g=c>>1;N[e>>2]=g+N[e>>2];e=z+D|0;c=c-g|0;N[e>>2]=c+N[e>>2];N[e+8>>2]=c+N[e+8>>2];break Pc}c=UE(N[u+64>>2],N[u+68>>2],c,l);o=Pa;c=c+32768|0;c=((c>>>0<32768?o+1|0:o)&65535)<<16|c>>>16;if(E){N[(z+D|0)+8>>2]=c;N[h+144>>2]=N[h+144>>2]|8;break Pc}e=D+H|0;g=c>>1;N[e+4>>2]=g+N[e+4>>2];e=z+D|0;c=c-g|0;N[e+4>>2]=c+N[e+4>>2];N[e+12>>2]=c+N[e+12>>2]}Sc(h,k,_+1|0)}k=N[i+276>>2];break Cc}k=k+1|0}if(f>>>0>k>>>0){continue}break}}ib(h,u,12662,0);_a(N[i+384>>2]);break nc}c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);h=N[r+16>>2];e=N[N[r+8>>2]+24>>2];u=N[e+32>>2];if((u|0)==-1){f=e;e=sb(e+56|0);e=O[e+4|0]|O[e+5|0]<<8;u=(e<<8|e>>>8)&65535;N[f+32>>2]=u}N[h+64>>2]=0;if(!O[h+60|0]){break nc}z=d+12|0;H=z+(c>>>8&65280|c>>>24|(c&65280)<<8)|0;ca=c<<24>>>30|0;v=0;A=0;x=0;while(1){e=N[h+64>>2];c=0;Qc:{if(e>>>0>=Q[h+68>>2]){break Qc}f=N[N[h+80>>2]+T(e,20)>>2];c=2;if((f|0)==65535){break Qc}e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);e=cc(z+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0,f,u);c=1;if(!e){break Qc}c=O[e|0]|O[e+1|0]<<8;c=(c<<8|c>>>8)&65535}e=O[z|0]|O[z+1|0]<<8|(O[z+2|0]<<16|O[z+3|0]<<24);f=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);g=f>>>0>c>>>0;l=T(f,x);f=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);k=z+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=((g?c:1)+l<<1)+k|0;f=O[f|0]|O[f+1|0]<<8;q=T((f<<8|f>>>8)&65535,6);f=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);f=z+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;D=q+f|0;G=O[D|0]|O[D+1|0]<<8;Rc:{Sc:{if((O[D+4|0]|O[D+5|0]<<8)!=65535){break Sc}Tc:{if(!x){break Tc}o=O[D+2|0]|O[D+3|0]<<8;if(!(o&64?G:1)){break Tc}c=k+((g?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(G|0)!=(O[c|0]|O[c+1|0]<<8)|(o^(O[c+2|0]|O[c+3|0]<<8))&64){break Sc}}c=k+(l+!e<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)==65535){break Rc}}c=N[h+64>>2];e=O[h+62|0]?N[h+72>>2]:c;if(!e|c>>>0>=Q[h+68>>2]){break Rc}wb(h,3,e-1|0,c+1|0,1,1)}Uc:{Vc:{if(!(v&255)){break Vc}c=O[D+4|0]|O[D+5|0]<<8;if((c|0)==65535){break Vc}f=N[h+64>>2];if(f>>>0>=Q[h+68>>2]){break Vc}e=(c<<8|c>>>8)&65535;c=N[h+88>>2]+T(f,20)|0;Wc:{Xc:{switch(ca|0){case 0:e=H+(e<<2)|0;if(e>>>0>2]){break Uc}f=N[r+28>>2];if(f>>>0>>0|f-e>>>0<4){break Uc}f=N[r+32>>2]-4|0;N[r+32>>2]=f;if((f|0)<=0){break Uc}g=O[e|0]|O[e+1|0]<<8;k=O[e+2|0]|O[e+3|0]<<8;N[i+184>>2]=0;N[i+180>>2]=0;f=N[N[N[r+16>>2]+80>>2]+T(A,20)>>2];e=N[r+8>>2];N[i+192>>2]=0;N[i+188>>2]=0;l=N[e+96>>2];o=N[l+76>>2];S=N[e+100>>2];_=(g<<8|g>>>8)&65535;E=i+192|0;q=i+188|0;g=N[l+12>>2];if(g){g=N[g+56>>2]}else{g=0}if(!(Qa[o|0](e,S,f,_,E,q,g)|0)){break Uc}Jd(e,f,i+272|0,i+440|0);N[i+192>>2]=N[i+192>>2]-N[i+272>>2];N[i+188>>2]=N[i+188>>2]-N[i+440>>2];e=N[r+16>>2];f=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];e=N[r+8>>2];N[i+184>>2]=0;N[i+180>>2]=0;g=N[e+96>>2];l=N[g+76>>2];_=N[e+100>>2];E=(k<<8|k>>>8)&65535;q=i+184|0;k=i+180|0;g=N[g+12>>2];if(g){g=N[g+56>>2]}else{g=0}if(!(Qa[l|0](e,_,f,E,q,k,g)|0)){break Uc}Jd(e,f,i+272|0,i+440|0);N[i+180>>2]=N[i+180>>2]-N[i+440>>2];N[c+8>>2]=N[i+192>>2]+(N[i+272>>2]-N[i+184>>2]|0);N[c+12>>2]=N[i+188>>2]-N[i+180>>2];break Wc;case 1:e=H+(e<<2)|0;if(e>>>0>2]){break Uc}f=N[r+28>>2];if(f>>>0>>0|f-e>>>0<4){break Uc}f=N[r+32>>2]-4|0;N[r+32>>2]=f;if((f|0)<=0){break Uc}l=N[N[N[r+16>>2]+80>>2]+T(A,20)>>2];k=O[e+2|0]|O[e+3|0]<<8;g=O[e|0]|O[e+1|0]<<8;x=275552;e=N[r+64>>2];f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(f){f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0}else{f=238136}l=cc(f,l,N[r+56>>2]);Yc:{if(!l){break Yc}f=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;e=O[l|0]|O[l+1|0]<<8;e=f+((e<<8|e>>>8)&65535)|0;f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);q=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=(g<<8|g>>>8)&65535;if(q>>>0<=f>>>0){break Yc}x=(e+(f<<2)|0)+4|0}e=N[r+16>>2];l=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];o=N[r+56>>2];g=275552;e=N[r+64>>2];f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(f){f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0}else{f=238136}l=cc(f,l,o);Zc:{if(!l){break Zc}f=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;e=O[l|0]|O[l+1|0]<<8;e=f+((e<<8|e>>>8)&65535)|0;f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);q=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=(k<<8|k>>>8)&65535;if(q>>>0<=f>>>0){break Zc}g=(e+(f<<2)|0)+4|0}k=O[x|0]|O[x+1|0]<<8;s=(k<<8|k>>>8)<<16;o=s>>31;S=N[r+8>>2];e=N[S+56>>2];f=N[S+60>>2];k=UE(e,f,s>>16,o);l=Pa;k=k+32768|0;s=((k>>>0<32768?l+1|0:l)&65535)<<16|k>>>16;k=O[g|0]|O[g+1|0]<<8;o=(k<<8|k>>>8)<<16;l=o>>31;e=UE(e,f,o>>16,l);q=Pa;e=e+32768|0;N[c+8>>2]=s-(((e>>>0<32768?q+1|0:q)&65535)<<16|e>>>16);k=O[x+2|0]|O[x+3|0]<<8;o=(k<<8|k>>>8)<<16;q=o>>31;e=N[S+64>>2];f=N[S+68>>2];k=UE(e,f,o>>16,q);s=Pa;k=k+32768|0;k=((k>>>0<32768?s+1|0:s)&65535)<<16|k>>>16;g=O[g+2|0]|O[g+3|0]<<8;q=(g<<8|g>>>8)<<16;s=q>>31;e=UE(e,f,q>>16,s);s=Pa;e=e+32768|0;N[c+12>>2]=k-(((e>>>0<32768?s+1|0:s)&65535)<<16|e>>>16);break Wc;case 2:break Xc;default:break Wc}}k=H+(e<<3)|0;if(k>>>0>2]){break Uc}e=N[r+28>>2];if(e>>>0>>0|e-k>>>0<8){break Uc}e=N[r+32>>2]-8|0;N[r+32>>2]=e;if((e|0)<=0){break Uc}x=O[k+2|0]|O[k+3|0]<<8;S=O[k+6|0]|O[k+7|0]<<8;g=O[k|0]|O[k+1|0]<<8;q=(g<<8|g>>>8)<<16;s=q>>31;E=N[r+8>>2];f=E;e=N[f+56>>2];f=N[f+60>>2];g=UE(e,f,q>>16,s);l=Pa;g=g+32768|0;q=((g>>>0<32768?l+1|0:l)&65535)<<16|g>>>16;g=O[k+4|0]|O[k+5|0]<<8;s=(g<<8|g>>>8)<<16;l=s>>31;e=UE(e,f,s>>16,l);o=Pa;e=e+32768|0;N[c+8>>2]=q-(((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16);s=(x<<8|x>>>8)<<16;o=s>>31;e=N[E+64>>2];f=N[E+68>>2];g=UE(e,f,s>>16,o);s=Pa;g=g+32768|0;k=((g>>>0<32768?s+1|0:s)&65535)<<16|g>>>16;o=(S<<8|S>>>8)<<16;s=o>>31;e=UE(e,f,o>>16,s);q=Pa;e=e+32768|0;N[c+12>>2]=k-(((e>>>0<32768?q+1|0:q)&65535)<<16|e>>>16)}L[c+18|0]=1;M[c+16>>1]=A-N[h+64>>2];N[h+144>>2]=N[h+144>>2]|8}if(!(O[D+2|0]&128)){break Uc}A=N[h+64>>2];v=1}g=N[h+64>>2];if(!O[h+60|0]|(g|0)==N[h+68>>2]){break nc}_c:{$c:{if(O[D+2|0]&64){c=N[h+152>>2];N[h+152>>2]=c-1;if((c|0)>0){break $c}}if(O[h+62|0]){k=N[h+72>>2];e=N[h+84>>2];f=N[h+80>>2];ad:{if((e|0)==(f|0)){c=g;if((c|0)==(k|0)){break ad}}c=k+1|0;if(!(!c|c>>>0>2])){if(!gb(h,c)){break $c}f=N[h+80>>2];e=N[h+84>>2]}bd:{if((e|0)!=(f|0)){break bd}c=N[h+72>>2];if(c+1>>>0<=N[h+64>>2]+1>>>0){e=f;break bd}if(!O[h+62|0]){break _c}e=N[h+88>>2];N[h+84>>2]=e;c=T(c,20);if(!c){break bd}F(e,f,c);e=N[h+84>>2];f=N[h+80>>2]}c=T(N[h+72>>2],20)+e|0;e=T(N[h+64>>2],20)+f|0;f=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;g=N[h+64>>2];c=N[h+72>>2]}N[h+72>>2]=c+1}N[h+64>>2]=g+1}x=(G<<8|G>>>8)&65535;if(O[h+60|0]){continue}break nc}break}break a}f=N[r+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}A=N[f+132>>2];f=N[r+16>>2];h=N[r+8>>2];if(!ib(f,h,12581,0)){break nc}if(O[f+16|0]&64){wb(f,2,0,-1,1,0)}c=Ec(i+272|0,1,h,f);N[i+404>>2]=A;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=A;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;g=O[i+421|0];k=N[i+356>>2]==1;L[i+292|0]=k;L[i+332|0]=k|(g|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;c=N[f+68>>2];if(c){z=N[f+40>>2]&-2;o=N[f+88>>2];x=N[f+80>>2];D=e&1073741824;k=0;while(1){cd:{dd:{u=T(k,20);l=u+x|0;if(!(A&N[l+4>>2])){break dd}N[i+308>>2]=1;N[i+276>>2]=k;e=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[e+68>>2];g=0;L[i+295|0]=O[i+294|0]?N[e+64>>2]==(k|0)?O[(u+N[e+80>>2]|0)+15|0]:0:0;if(!kc(J,i+440|0)){break dd}G=N[i+276>>2];q=T(G,20);s=N[q+x>>2];v=0;e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);E=N[l>>2];l=N[r+56>>2];e=cc((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0,E,l);if(e){e=O[e|0]|O[e+1|0]<<8;v=(e<<8|e>>>8)&65535}e=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);e=cc((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0,s,l);if(e){e=O[e|0]|O[e+1|0]<<8;g=(e<<8|e>>>8)&65535}H=N[r+24>>2];e=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);e=((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0)+(g+v<<1)|0;ed:{if(H>>>0>e>>>0){break ed}l=N[r+28>>2];if(l>>>0>>0|l-e>>>0<2){break ed}s=N[r+32>>2]-2|0;N[r+32>>2]=s;if((s|0)<=0){break ed}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16;g=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(g){g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if((g|0)<0){break ed}e=d+e|0;g=g<<1;if(g){if(e>>>0>>0|e>>>0>l>>>0|g>>>0>l-e>>>0){break ed}g=s-g|0;N[r+32>>2]=g;if((g|0)<=0){break ed}}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16}if(!e){break ed}g=e>>31;fd:{if((z|0)==4){e=UE(N[h+56>>2],N[h+60>>2],e,g);l=Pa;e=e+32768|0;e=((e>>>0<32768?l+1|0:l)&65535)<<16|e>>>16;if(D){N[(o+q|0)+12>>2]=e;N[f+144>>2]=N[f+144>>2]|8;break fd}g=o+u|0;l=e>>1;N[g>>2]=l+N[g>>2];g=o+q|0;e=e-l|0;N[g>>2]=e+N[g>>2];N[g+8>>2]=e+N[g+8>>2];break fd}e=UE(N[h+64>>2],N[h+68>>2],e,g);s=Pa;e=e+32768|0;e=((e>>>0<32768?s+1|0:s)&65535)<<16|e>>>16;if(D){N[(o+q|0)+8>>2]=e;N[f+144>>2]=N[f+144>>2]|8;break fd}g=o+u|0;l=e>>1;N[g+4>>2]=l+N[g+4>>2];g=o+q|0;e=e-l|0;N[g+4>>2]=e+N[g+4>>2];N[g+12>>2]=e+N[g+12>>2]}Sc(f,k,G+1|0)}k=N[i+276>>2];break cd}k=k+1|0}if(c>>>0>k>>>0){continue}break}}ib(f,h,12662,0);_a(N[i+384>>2]);break nc}if(!(c&64|M[N[r+4>>2]+140>>1]&1)){break nc}N[i+272>>2]=r;N[i+276>>2]=d;e=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);L[i+320|0]=c>>>6&1;N[i+316>>2]=0;u=d+12|0;N[i+280>>2]=u+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24));h=N[r+16>>2];c=N[N[r+8>>2]+24>>2];A=N[c+32>>2];if((A|0)==-1){e=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;A=(c<<8|c>>>8)&65535;N[e+32>>2]=A}N[h+64>>2]=0;if(!O[h+60|0]){break nc}x=0;while(1){e=N[h+64>>2];c=0;gd:{if(e>>>0>=Q[h+68>>2]){break gd}f=N[N[h+80>>2]+T(e,20)>>2];c=2;if((f|0)==65535){break gd}e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);e=cc(u+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0,f,A);c=1;if(!e){break gd}c=O[e|0]|O[e+1|0]<<8;c=(c<<8|c>>>8)&65535}e=O[u|0]|O[u+1|0]<<8|(O[u+2|0]<<16|O[u+3|0]<<24);f=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);k=f>>>0>c>>>0;o=T(f,x);f=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);l=u+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=((k?c:1)+o<<1)+l|0;f=O[f|0]|O[f+1|0]<<8;g=T((f<<8|f>>>8)&65535,6);f=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);f=u+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;g=g+f|0;D=O[g|0]|O[g+1|0]<<8;hd:{id:{if((O[g+4|0]|O[g+5|0]<<8)!=65535){break id}jd:{if(!x){break jd}q=O[g+2|0]|O[g+3|0]<<8;if(!(q&64?D:1)){break jd}c=l+((k?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(D|0)!=(O[c|0]|O[c+1|0]<<8)|(q^(O[c+2|0]|O[c+3|0]<<8))&64){break id}}c=l+(o+!e<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)==65535){break hd}}c=N[h+64>>2];e=O[h+62|0]?N[h+72>>2]:c;if(!e|c>>>0>=Q[h+68>>2]){break hd}wb(h,3,e-1|0,c+1|0,1,1)}c=O[g+2|0]|O[g+3|0]<<8;c=c<<8|c>>>8;e=c<<16>>16;if(c&8192){N[i+316>>2]=0}kd:{if((e|0)>=0){break kd}c=N[i+316>>2];if(c>>>0<=7){e=N[h+64>>2];N[i+316>>2]=c+1;N[((c<<2)+i|0)+284>>2]=e;break kd}N[i+316>>2]=0}f=O[g+4|0]|O[g+5|0]<<8;ld:{if(!N[i+316>>2]|(f|0)==65535){break ld}e=N[i+316>>2];c=N[i+276>>2];c=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);x=c>>>0<=1?1:c;c=UE(e,0,x,0);md:{nd:{if(Pa|(c|0)<0){break nd}f=N[i+280>>2]+((f<<8|f>>>8)&65534)|0;v=N[i+272>>2];c=c<<1;if(!c){break md}if(Q[v+24>>2]>f>>>0){break nd}k=N[v+28>>2];if(k>>>0>>0|c>>>0>k-f>>>0){break nd}c=N[v+32>>2]-c|0;N[v+32>>2]=c;if((c|0)>0){break md}}N[i+316>>2]=0;break ld}if(!e){break ld}z=N[N[v+4>>2]+132>>2];G=O[i+320|0];while(1){e=e-1|0;N[i+316>>2]=e;c=N[((e<<2)+i|0)+284>>2];if(c>>>0>2]){k=O[f|0]|O[f+1|0]<<8;H=(k<<8|k>>>8)<<16>>16;k=H&-2;l=T(c,20);c=l+N[h+88>>2]|0;od:{if((N[h+40>>2]&-2)==4){if(G){if((k|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+12>>2]=0;break od}if(!O[c+18|0]){break od}l=N[c+12>>2];o=N[v+8>>2];k=UE(N[o+64>>2],N[o+68>>2],k,k>>31);o=Pa;k=k+32768|0;N[c+12>>2]=(((k>>>0<32768?o+1|0:o)&65535)<<16|k>>>16)+l;N[h+144>>2]=N[h+144>>2]|8;break od}if(!(z&N[(l+N[h+80>>2]|0)+4>>2])){break od}l=N[v+8>>2];k=UE(N[l+56>>2],N[l+60>>2],k,k>>31);q=Pa;k=k+32768|0;k=((k>>>0<32768?q+1|0:q)&65535)<<16|k>>>16;N[c>>2]=k+N[c>>2];N[c+8>>2]=k+N[c+8>>2];break od}if(G){if((k|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+8>>2]=0;break od}if(!O[c+18|0]){break od}l=N[c+8>>2];o=N[v+8>>2];k=UE(N[o+56>>2],N[o+60>>2],k,k>>31);s=Pa;k=k+32768|0;N[c+8>>2]=(((k>>>0<32768?s+1|0:s)&65535)<<16|k>>>16)+l;N[h+144>>2]=N[h+144>>2]|8;break od}if(!(z&N[(l+N[h+80>>2]|0)+4>>2])){break od}l=N[v+8>>2];k=UE(N[l+64>>2],N[l+68>>2],k,k>>31);l=Pa;k=k+32768|0;k=((k>>>0<32768?l+1|0:l)&65535)<<16|k>>>16;N[c+4>>2]=k+N[c+4>>2];N[c+12>>2]=k+N[c+12>>2]}if(H&1){break ld}}f=(x<<1)+f|0;if(e){continue}break}}e=N[h+64>>2];if(!O[h+60|0]|(e|0)==N[h+68>>2]){break nc}pd:{if(O[g+2|0]&64){c=N[h+152>>2];N[h+152>>2]=c-1;if((c|0)>0){break pd}}if(O[h+62|0]){k=N[h+72>>2];f=N[h+80>>2];g=N[h+84>>2];qd:{if((f|0)==(g|0)){c=e;if((c|0)==(k|0)){break qd}}c=k+1|0;if(!(!c|c>>>0>2])){if(!gb(h,c)){break pd}g=N[h+84>>2];f=N[h+80>>2]}rd:{if((f|0)!=(g|0)){break rd}c=N[h+72>>2];if(c+1>>>0<=N[h+64>>2]+1>>>0){g=f;break rd}if(!O[h+62|0]){break a}g=N[h+88>>2];N[h+84>>2]=g;c=T(c,20);if(!c){break rd}F(g,f,c);g=N[h+84>>2];f=N[h+80>>2]}e=T(N[h+64>>2],20)+f|0;f=N[e+4>>2];c=T(N[h+72>>2],20)+g|0;N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;e=N[h+64>>2];c=N[h+72>>2]}N[h+72>>2]=c+1}N[h+64>>2]=e+1}x=(D<<8|D>>>8)&65535;if(O[h+60|0]){continue}break}}c=N[r+52>>2];e=N[c+12>>2];N[r+24>>2]=e;c=N[c+16>>2];N[r+28>>2]=c+e;if((c|0)<0){break $b}sd:{if(X){break sd}h=N[r+16>>2];k=N[h+68>>2];if(k>>>0>=2){l=N[h+80>>2];g=k-1|0;f=0;while(1){c=l+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=l+T(f,20)|0;N[c+16>>2]=N[e+16>>2];o=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=o;o=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=o;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[h+63|0]){break sd}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break sd}h=N[h+88>>2];g=c-1|0;f=0;while(1){c=h+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(f,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}c=N[r+8>>2];e=N[r+16>>2];N[i+64>>2]=N[r+72>>2];ib(e,c,17599,i- -64|0)}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);e=N[r+72>>2]+1|0;N[r+72>>2]=e;d=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;m=m+1|0;if((K|0)!=(m|0)){continue}break}}ib(t,b,8043,0)}ab(N[r+52>>2]);break Sb}break b}td:{ud:{vd:{wd:{xd:{c=P[I+140>>1];if(c&1024){e=N[b+24>>2];c=N[e+136>>2];yd:{if(c){break yd}while(1){c=N[e+48>>2];if(!c){c=275552;break yd}N[i+280>>2]=0;N[i+284>>2]=0;N[i+288>>2]=0;N[i+292>>2]=0;L[i+296|0]=0;N[i+272>>2]=0;N[i+276>>2]=0;N[i+300>>2]=0;N[i+304>>2]=0;L[i+312|0]=1;N[i+308>>2]=0;d=N[c+12>>2];zd:{if(d){c=Qa[d|0](c,1801810542,N[c+16>>2])|0;if(c){break zd}}c=275552}d=el(i+272|0,c);c=N[e+136>>2];Ad:{if(d){if(c){break Ad}c=d;N[e+136>>2]=c;break yd}if(c){break yd}c=275552;N[e+136>>2]=275552;break yd}if((d|0)==275552){break yd}ab(d);c=N[e+136>>2];if(!c){continue}break}}d=N[c+16>>2];e=N[c+12>>2];r=Ue(i+196|0,I,b,t,c);if(!ib(t,b,12630,0)){break vd}Bd:{c=d>>>0<4?275552:e;d=O[c|0]|O[c+1|0]<<8;switch((d<<8|d>>>8)&65535){case 1:break xd;case 0:break Bd;default:break wd}}N[r+72>>2]=0;d=O[c+2|0]|O[c+3|0]<<8;if(!d){break wd}d=(d<<8|d>>>8)&65535;S=d>>>0<=1?1:d;Y=d-1|0;f=c+4|0;G=i+276|0;e=0;y=0;m=0;while(1){Cd:{c=N[r+16>>2];d=N[c+40>>2];Dd:{if((L[f+5|0]&1)==((d&-2)!=4|0)){break Dd}g=N[r+8>>2];N[i+16>>2]=e;if(!ib(c,g,17581,i+16|0)){break Dd}g=d&-3;c=1;Ed:{if(y){break Ed}c=0;if(!(O[f+5|0]&4)){break Ed}e=N[r+16>>2];d=N[e+68>>2];c=1;if(!d){break Ed}e=N[e+88>>2];k=0;if((d|0)!=1){h=d&1;c=d&-2;while(1){d=e+T(k,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;d=e+T(k|1,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;k=k+2|0;if((c|0)!=(k|0)){continue}break}c=1;if(!h){break Ed}}c=e+T(k,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;c=1}y=c;X=(g|0)!=5;Fd:{if(X){break Fd}h=N[r+16>>2];k=N[h+68>>2];if(k>>>0>=2){l=N[h+80>>2];d=k-1|0;g=0;while(1){c=l+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=l+T(g,20)|0;N[c+16>>2]=N[e+16>>2];o=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=o;o=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=o;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}if(!O[h+63|0]){break Fd}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break Fd}h=N[h+88>>2];d=c-1|0;g=0;while(1){c=h+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(g,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}c=N[r+52>>2];d=N[c+12>>2];N[r+24>>2]=d;c=N[c+16>>2];e=c+d|0;N[r+28>>2]=e;Gd:{Hd:{if((c|0)>=0){c=m>>>0>>0?f:0;Id:{if(!c){break Id}if(!(c>>>0>>0&c>>>0>=d>>>0)){N[r+24>>2]=0;N[r+28>>2]=0;break Id}N[r+24>>2]=c;d=e-c|0;e=O[c+2|0]|O[c+3|0]<<8;e=(e<<8|e>>>8)&65535;N[r+28>>2]=c+(d>>>0>>0?d:e)}Jd:{switch(O[f+4|0]){case 2:break Hd;case 0:break Jd;default:break Gd}}c=N[r+4>>2];if(!(L[c+140|0]&1)){break Gd}D=N[c+132>>2];d=O[f+5|0];v=N[r+16>>2];A=N[r+8>>2];if(!ib(v,A,12581,0)){break Gd}if(O[v+16|0]&64){wb(v,2,0,-1,1,0)}c=Ec(i+272|0,1,A,v);N[i+404>>2]=D;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=D;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;e=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(e|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;g=N[v+68>>2];if(g){E=N[v+40>>2]&-2;u=N[v+88>>2];J=N[v+80>>2];H=d&4;K=f+14|0;c=0;while(1){Kd:{Ld:{z=T(c,20);h=z+J|0;if(!(D&N[h+4>>2])){break Ld}N[i+308>>2]=1;N[i+276>>2]=c;d=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[d+68>>2];L[i+295|0]=O[i+294|0]?N[d+64>>2]==(c|0)?O[(z+N[d+80>>2]|0)+15|0]:0:0;if(!kc(G,i+440|0)){break Ld}d=N[i+276>>2];x=T(d,20);e=O[f+6|0]|O[f+7|0]<<8;Md:{if(e){l=N[x+J>>2];o=N[h>>2];k=((e<<8|e>>>8)&65535)-1|0;e=0;while(1){Nd:{Od:{q=e+k>>>1|0;h=K+T(q,6)|0;s=O[h|0]|O[h+1|0]<<8;s=(s<<8|s>>>8)&65535;Pd:{if((s|0)==(o|0)){s=O[h+2|0]|O[h+3|0]<<8;s=(s<<8|s>>>8)&65535;if(s>>>0>l>>>0){break Pd}if((l|0)==(s|0)){break Md}break Od}if(o>>>0>=s>>>0){break Od}}k=q-1|0;break Nd}e=q+1|0}if((e|0)<=(k|0)){continue}break}}h=275552}e=O[h+4|0]|O[h+5|0]<<8;if(!e){break Kd}s=(e<<8|e>>>8)<<16;l=s>>31;e=s>>16;Qd:{if((E|0)==4){e=UE(N[A+56>>2],N[A+60>>2],e,l);o=Pa;e=e+32768|0;e=((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16;if(H){N[(u+x|0)+12>>2]=e;N[v+144>>2]=N[v+144>>2]|8;break Qd}h=u+z|0;k=e>>1;N[h>>2]=k+N[h>>2];h=u+x|0;e=e-k|0;N[h>>2]=e+N[h>>2];N[h+8>>2]=e+N[h+8>>2];break Qd}e=UE(N[A+64>>2],N[A+68>>2],e,l);q=Pa;e=e+32768|0;e=((e>>>0<32768?q+1|0:q)&65535)<<16|e>>>16;if(H){N[(u+x|0)+8>>2]=e;N[v+144>>2]=N[v+144>>2]|8;break Qd}h=u+z|0;k=e>>1;N[h+4>>2]=k+N[h+4>>2];h=u+x|0;e=e-k|0;N[h+4>>2]=e+N[h+4>>2];N[h+12>>2]=e+N[h+12>>2]}Sc(v,c,d+1|0);d=N[i+276>>2];break Kd}d=c+1|0}c=d;if(g>>>0>c>>>0){continue}break}}ib(v,A,12662,0);_a(N[i+384>>2]);break Gd}break b}c=N[r+4>>2];if(!(L[c+140|0]&1)){break Gd}A=N[c+132>>2];d=O[f+5|0];e=N[r+16>>2];g=N[r+8>>2];if(!ib(e,g,12581,0)){break Gd}if(O[e+16|0]&64){wb(e,2,0,-1,1,0)}c=Ec(i+272|0,1,g,e);N[i+404>>2]=A;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=A;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;h=O[i+421|0];k=N[i+356>>2]==1;L[i+292|0]=k;L[i+332|0]=k|(h|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;c=N[e+68>>2];if(c){z=N[e+40>>2]&-2;h=N[e+88>>2];x=N[e+80>>2];D=d&4;k=0;while(1){Rd:{Sd:{u=T(k,20);q=u+x|0;if(!(A&N[q+4>>2])){break Sd}N[i+308>>2]=1;N[i+276>>2]=k;l=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[l+68>>2];d=0;L[i+295|0]=O[i+294|0]?N[l+64>>2]==(k|0)?O[(u+N[l+80>>2]|0)+15|0]:0:0;if(!kc(G,i+440|0)){break Sd}J=N[i+276>>2];o=T(J,20);s=N[o+x>>2];v=0;E=N[q>>2];l=O[f+8|0]|O[f+9|0]<<8;l=((l<<8|l>>>8)&65535)+f|0;q=O[l|0]|O[l+1|0]<<8;q=E-((q<<8|q>>>8)&65535)|0;H=O[l+2|0]|O[l+3|0]<<8;if(q>>>0<((H<<8|H>>>8)&65535)>>>0){l=l+(q<<1)|0;l=O[l+4|0]|O[l+5|0]<<8;v=(l<<8|l>>>8)&65535}l=O[f+10|0]|O[f+11|0]<<8;l=((l<<8|l>>>8)&65535)+f|0;q=O[l|0]|O[l+1|0]<<8;q=s-((q<<8|q>>>8)&65535)|0;s=O[l+2|0]|O[l+3|0]<<8;if(q>>>0<((s<<8|s>>>8)&65535)>>>0){d=l+(q<<1)|0;d=O[d+4|0]|O[d+5|0]<<8;d=(d<<8|d>>>8)&65535}l=O[f+12|0]|O[f+13|0]<<8;l=(l<<8|l>>>8)&65535;d=d+v|0;d=(l+f|0)+((d>>>0>>0?1073741823:d-l>>>1|0)<<1)|0;Td:{if(d>>>0>2]){break Td}l=N[r+28>>2];if(l>>>0>>0|l-d>>>0<2){break Td}l=N[r+32>>2]-2|0;N[r+32>>2]=l;if((l|0)<=0){break Td}d=O[d|0]|O[d+1|0]<<8;if(!d){break Td}s=(d<<8|d>>>8)<<16;q=s>>31;d=s>>16;Ud:{if((z|0)==4){d=UE(N[g+56>>2],N[g+60>>2],d,q);l=Pa;d=d+32768|0;d=((d>>>0<32768?l+1|0:l)&65535)<<16|d>>>16;if(D){N[(h+o|0)+12>>2]=d;N[e+144>>2]=N[e+144>>2]|8;break Ud}l=h+u|0;q=d>>1;N[l>>2]=q+N[l>>2];l=h+o|0;d=d-q|0;N[l>>2]=d+N[l>>2];N[l+8>>2]=d+N[l+8>>2];break Ud}d=UE(N[g+64>>2],N[g+68>>2],d,q);s=Pa;d=d+32768|0;d=((d>>>0<32768?s+1|0:s)&65535)<<16|d>>>16;if(D){N[(h+o|0)+8>>2]=d;N[e+144>>2]=N[e+144>>2]|8;break Ud}l=h+u|0;q=d>>1;N[l+4>>2]=q+N[l+4>>2];l=h+o|0;d=d-q|0;N[l+4>>2]=d+N[l+4>>2];N[l+12>>2]=d+N[l+12>>2]}Sc(e,k,J+1|0)}k=N[i+276>>2];break Rd}k=k+1|0}if(c>>>0>k>>>0){continue}break}}ib(e,g,12662,0);_a(N[i+384>>2])}c=N[r+52>>2];d=N[c+12>>2];N[r+24>>2]=d;c=N[c+16>>2];N[r+28>>2]=c+d;if((c|0)<0){break Cd}Vd:{if(X){break Vd}h=N[r+16>>2];k=N[h+68>>2];if(k>>>0>=2){l=N[h+80>>2];d=k-1|0;g=0;while(1){c=l+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=l+T(g,20)|0;N[c+16>>2]=N[e+16>>2];o=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=o;o=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=o;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}if(!O[h+63|0]){break Vd}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break Vd}h=N[h+88>>2];d=c-1|0;g=0;while(1){c=h+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(g,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}c=N[r+8>>2];d=N[r+16>>2];N[i>>2]=N[r+72>>2];ib(d,c,17599,i)}c=O[f+2|0]|O[f+3|0]<<8;e=N[r+72>>2]+1|0;N[r+72>>2]=e;f=((c<<8|c>>>8)&65535)+f|0;m=m+1|0;if((S|0)!=(m|0)){continue}break wd}break}break b}if(!(c&2048)){break ud}Wd:{if((N[t+40>>2]&-2)==4){d=N[147128];c=b;while(1){if((d|0)!=N[N[c+96>>2]- -64>>2]){break Wd}c=N[c+20>>2];if(!c){break ud}if((c|0)!=588752){continue}break}break ud}d=N[147129];c=b;while(1){if((d|0)!=N[N[c+96>>2]+68>>2]){break Wd}c=N[c+20>>2];if(!c){break ud}if((c|0)!=588752){continue}break}break ud}if(!ib(t,b,12592,0)){break ud}c=N[t+40>>2];Xd:{if((c&-3)==5){g=N[t+68>>2];if(g>>>0>=2){h=N[t+80>>2];e=g-1|0;d=0;while(1){c=h+T(e,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=h+T(d,20)|0;N[c+16>>2]=N[f+16>>2];m=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=m;m=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=m;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}Yd:{if(!O[t+63|0]){break Yd}c=N[t+68>>2];c=c>>>0>>0?c:g;if(c>>>0<2){break Yd}g=N[t+88>>2];e=c-1|0;d=0;while(1){c=g+T(e,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=g+T(d,20)|0;N[c+16>>2]=N[f+16>>2];h=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=h;h=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=h;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}N[i+196>>2]=b;N[i+200>>2]=N[t+40>>2];e=0;L[i+444|0]=0;N[i+440>>2]=i+196;Fj(i+440|0,b,t,N[I+132>>2]);g=N[t+68>>2];if(g>>>0>=2){h=N[t+80>>2];d=g-1|0;while(1){c=h+T(d,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=h+T(e,20)|0;N[c+16>>2]=N[f+16>>2];m=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=m;m=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=m;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d-1|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}if(!O[t+63|0]){break Xd}c=N[t+68>>2];c=c>>>0>>0?c:g;if(c>>>0<2){break Xd}g=N[t+88>>2];e=c-1|0;d=0;while(1){c=g+T(e,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=g+T(d,20)|0;N[c+16>>2]=N[f+16>>2];h=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=h;h=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=h;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}break Xd}N[i+200>>2]=c;N[i+196>>2]=b;L[i+444|0]=0;N[i+440>>2]=i+196;Fj(i+440|0,b,t,N[I+132>>2])}ib(t,b,12612,0);break ud}N[r+72>>2]=0;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(!d){break wd}d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);S=d>>>0<=1?1:d;G=d-1|0;k=c+8|0;D=i+276|0;d=0;A=0;h=0;while(1){c=O[k+4|0];Zd:{if(c&32){break Zd}e=N[r+16>>2];f=N[e+40>>2];if(((f&-2)!=4|0)==(c<<24>>24>=0|0)){break Zd}c=N[r+8>>2];N[i+48>>2]=d;if(!ib(e,c,17581,i+48|0)){break Zd}g=f&-3;c=1;_d:{if(A&1){break _d}c=0;if(!(O[k+4|0]&64)){break _d}e=N[r+16>>2];d=N[e+68>>2];c=1;if(!d){break _d}f=N[e+88>>2];e=0;if((d|0)!=1){m=d&1;c=d&-2;while(1){d=f+T(e,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;d=f+T(e|1,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;e=e+2|0;if((c|0)!=(e|0)){continue}break}c=1;if(!m){break _d}}c=f+T(e,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;c=1}A=c;Y=(g|0)!=5;$d:{if(Y){break $d}e=N[r+16>>2];m=N[e+68>>2];if(m>>>0>=2){l=N[e+80>>2];g=m-1|0;f=0;while(1){c=l+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=l+T(f,20)|0;N[c+16>>2]=N[d+16>>2];y=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=y;y=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=y;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[e+63|0]){break $d}c=N[e+68>>2];c=c>>>0>>0?c:m;if(c>>>0<2){break $d}e=N[e+88>>2];g=c-1|0;f=0;while(1){c=e+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=e+T(f,20)|0;N[c+16>>2]=N[d+16>>2];m=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=m;m=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=m;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}d=N[r+52>>2];c=N[d+12>>2];N[r+24>>2]=c;e=N[d+16>>2];d=e+c|0;N[r+28>>2]=d;ae:{be:{ce:{de:{if((e|0)>=0){ee:{if(h>>>0>=G>>>0){break ee}e=c;c=h>>>0>>0?k:0;if(!(e>>>0<=c>>>0&c>>>0>>0)){N[r+24>>2]=0;N[r+28>>2]=0;break ee}N[r+24>>2]=c;e=d-c|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);N[r+28>>2]=c+(d>>>0>e>>>0?e:d)}fe:{switch(O[k+5|0]){case 1:break be;case 2:break ce;case 3:break de;case 0:break fe;default:break ae}}c=N[r+4>>2];if(!(L[c+140|0]&1)){break ae}x=N[c+132>>2];d=O[k+4|0];m=N[r+16>>2];l=N[r+8>>2];if(!ib(m,l,12581,0)){break ae}if(O[m+16|0]&64){wb(m,2,0,-1,1,0)}c=Ec(i+272|0,1,l,m);N[i+404>>2]=x;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=x;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;e=O[i+421|0];f=N[i+356>>2]==1;L[i+292|0]=f;L[i+332|0]=f|(e|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;g=N[m+68>>2];if(g){X=N[m+40>>2]&-2;y=N[m+88>>2];J=N[m+80>>2];H=d&64;E=k+16|0;v=0;while(1){ge:{he:{z=T(v,20);e=z+J|0;if(!(x&N[e+4>>2])){break he}N[i+308>>2]=1;N[i+276>>2]=v;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];d=0;L[i+295|0]=O[i+294|0]?N[c+64>>2]==(v|0)?O[(z+N[c+80>>2]|0)+15|0]:0:0;if(!kc(D,i+440|0)){break he}f=N[i+276>>2];u=T(f,20);c=O[k+8|0]|O[k+9|0]<<8;ie:{if(c){o=N[u+J>>2];q=N[e>>2];e=((c<<8|c>>>8)&65535)-1|0;while(1){je:{ke:{s=d+e>>>1|0;c=E+T(s,6)|0;K=O[c|0]|O[c+1|0]<<8;K=(K<<8|K>>>8)&65535;le:{if((K|0)==(q|0)){K=O[c+2|0]|O[c+3|0]<<8;K=(K<<8|K>>>8)&65535;if(K>>>0>o>>>0){break le}if((o|0)==(K|0)){break ie}break ke}if(q>>>0>=K>>>0){break ke}}e=s-1|0;break je}d=s+1|0}if((d|0)<=(e|0)){continue}break}}c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(!c){break ge}o=(c<<8|c>>>8)<<16;s=o>>31;c=o>>16;me:{if((X|0)==4){c=UE(N[l+56>>2],N[l+60>>2],c,s);q=Pa;c=c+32768|0;c=((c>>>0<32768?q+1|0:q)&65535)<<16|c>>>16;if(H){N[(u+y|0)+12>>2]=c;N[m+144>>2]=N[m+144>>2]|8;break me}d=y+z|0;e=c>>1;N[d>>2]=e+N[d>>2];d=u+y|0;c=c-e|0;N[d>>2]=c+N[d>>2];N[d+8>>2]=c+N[d+8>>2];break me}c=UE(N[l+64>>2],N[l+68>>2],c,s);s=Pa;c=c+32768|0;c=((c>>>0<32768?s+1|0:s)&65535)<<16|c>>>16;if(H){N[(u+y|0)+8>>2]=c;N[m+144>>2]=N[m+144>>2]|8;break me}d=y+z|0;e=c>>1;N[d+4>>2]=e+N[d+4>>2];d=u+y|0;c=c-e|0;N[d+4>>2]=c+N[d+4>>2];N[d+12>>2]=c+N[d+12>>2]}Sc(m,v,f+1|0);f=N[i+276>>2];break ge}f=v+1|0}v=f;if(g>>>0>v>>>0){continue}break}}ib(m,l,12662,0);_a(N[i+384>>2]);break ae}break b}c=N[r+4>>2];if(!(L[c+140|0]&1)){break ae}v=N[c+132>>2];e=O[k+4|0];g=N[r+16>>2];m=N[r+8>>2];if(!ib(g,m,12581,0)){break ae}if(O[g+16|0]&64){wb(g,2,0,-1,1,0)}c=Ec(i+272|0,1,m,g);N[i+404>>2]=v;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=v;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;d=O[i+421|0];f=N[i+356>>2]==1;L[i+292|0]=f;L[i+332|0]=f|(d|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;d=N[g+68>>2];if(d){H=N[g+40>>2]&-2;y=N[g+88>>2];x=N[g+80>>2];z=e&64;J=k+14|0;e=0;while(1){ne:{oe:{u=T(e,20);f=u+x|0;if(!(v&N[f+4>>2])){break oe}N[i+308>>2]=1;N[i+276>>2]=e;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];L[i+295|0]=O[i+294|0]?N[c+64>>2]==(e|0)?O[(u+N[c+80>>2]|0)+15|0]:0:0;if(!kc(D,i+440|0)){break oe}c=N[i+276>>2];o=O[k+10|0];l=J+(o<<1)|0;f=N[f>>2];E=l+f|0;q=f;f=O[k+8|0]|O[k+9|0]<<8;f=(f<<8|f>>>8)&65535;s=O[(q>>>0>=f>>>0?275552:E)|0];X=O[k+11|0];if(s>>>0>=X>>>0){break ne}E=f+l|0;q=T(c,20);l=N[q+x>>2];K=O[(f>>>0<=l>>>0?275552:E+l|0)|0];l=O[k+12|0];if(K>>>0>=l>>>0){break ne}E=f+E|0;f=K+T(l,s)|0;f=O[(f>>>0>=T(l,X)>>>0?275552:E+f|0)|0];f=f>>>0>=o>>>0?275552:J+(f<<1)|0;f=O[f|0]|O[f+1|0]<<8;if(!f){break ne}l=(f<<8|f>>>8)<<16;s=l>>31;f=l>>16;pe:{if((H|0)==4){f=UE(N[m+56>>2],N[m+60>>2],f,s);s=Pa;f=f+32768|0;f=((f>>>0<32768?s+1|0:s)&65535)<<16|f>>>16;if(z){N[(q+y|0)+12>>2]=f;N[g+144>>2]=N[g+144>>2]|8;break pe}l=u+y|0;o=f>>1;N[l>>2]=o+N[l>>2];l=q+y|0;f=f-o|0;N[l>>2]=f+N[l>>2];N[l+8>>2]=f+N[l+8>>2];break pe}f=UE(N[m+64>>2],N[m+68>>2],f,s);o=Pa;f=f+32768|0;f=((f>>>0<32768?o+1|0:o)&65535)<<16|f>>>16;if(z){N[(q+y|0)+8>>2]=f;N[g+144>>2]=N[g+144>>2]|8;break pe}l=u+y|0;o=f>>1;N[l+4>>2]=o+N[l+4>>2];l=q+y|0;f=f-o|0;N[l+4>>2]=f+N[l+4>>2];N[l+12>>2]=f+N[l+12>>2]}Sc(g,e,c+1|0);c=N[i+276>>2];break ne}c=e+1|0}e=c;if(d>>>0>c>>>0){continue}break}}ib(g,m,12662,0);_a(N[i+384>>2]);break ae}c=N[r+4>>2];if(!(L[c+140|0]&1)){break ae}u=N[c+132>>2];d=O[k+4|0];f=N[r+16>>2];m=N[r+8>>2];if(!ib(f,m,12581,0)){break ae}if(O[f+16|0]&64){wb(f,2,0,-1,1,0)}c=Ec(i+272|0,1,m,f);N[i+404>>2]=u;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=u;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;e=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(e|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;c=N[f+68>>2];if(c){X=N[f+40>>2]&-2;y=N[f+88>>2];J=N[f+80>>2];H=d&64;e=0;while(1){qe:{re:{z=T(e,20);l=z+J|0;if(!(u&N[l+4>>2])){break re}N[i+308>>2]=1;N[i+276>>2]=e;d=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[d+68>>2];g=0;L[i+295|0]=O[i+294|0]?N[d+64>>2]==(e|0)?O[(z+N[d+80>>2]|0)+15|0]:0:0;if(!kc(D,i+440|0)){break re}E=N[i+276>>2];v=T(E,20);o=N[v+J>>2];x=0;q=N[l>>2];d=O[k+10|0]|O[k+11|0]<<8;d=((d<<8|d>>>8)&65535)+k|0;l=O[d|0]|O[d+1|0]<<8;l=q-((l<<8|l>>>8)&65535)|0;q=O[d+2|0]|O[d+3|0]<<8;if(l>>>0<((q<<8|q>>>8)&65535)>>>0){d=d+(l<<1)|0;d=O[d+4|0]|O[d+5|0]<<8;x=(d<<8|d>>>8)&65535}d=O[k+12|0]|O[k+13|0]<<8;d=((d<<8|d>>>8)&65535)+k|0;l=O[d|0]|O[d+1|0]<<8;l=o-((l<<8|l>>>8)&65535)|0;o=O[d+2|0]|O[d+3|0]<<8;if(l>>>0<((o<<8|o>>>8)&65535)>>>0){d=d+(l<<1)|0;d=O[d+4|0]|O[d+5|0]<<8;g=(d<<8|d>>>8)&65535}d=O[k+14|0]|O[k+15|0]<<8;d=(d<<8|d>>>8)&65535;g=g+x|0;d=(d+k|0)+((d>>>0>g>>>0?1073741823:g-d>>>1|0)<<1)|0;se:{if(d>>>0>2]){break se}g=N[r+28>>2];if(g>>>0>>0|g-d>>>0<2){break se}g=N[r+32>>2]-2|0;N[r+32>>2]=g;if((g|0)<=0){break se}d=O[d|0]|O[d+1|0]<<8;if(!d){break se}q=(d<<8|d>>>8)<<16;o=q>>31;d=q>>16;te:{if((X|0)==4){d=UE(N[m+56>>2],N[m+60>>2],d,o);s=Pa;d=d+32768|0;d=((d>>>0<32768?s+1|0:s)&65535)<<16|d>>>16;if(H){N[(v+y|0)+12>>2]=d;N[f+144>>2]=N[f+144>>2]|8;break te}g=y+z|0;l=d>>1;N[g>>2]=l+N[g>>2];g=v+y|0;d=d-l|0;N[g>>2]=d+N[g>>2];N[g+8>>2]=d+N[g+8>>2];break te}d=UE(N[m+64>>2],N[m+68>>2],d,o);l=Pa;d=d+32768|0;d=((d>>>0<32768?l+1|0:l)&65535)<<16|d>>>16;if(H){N[(v+y|0)+8>>2]=d;N[f+144>>2]=N[f+144>>2]|8;break te}g=y+z|0;l=d>>1;N[g+4>>2]=l+N[g+4>>2];g=v+y|0;d=d-l|0;N[g+4>>2]=d+N[g+4>>2];N[g+12>>2]=d+N[g+12>>2]}Sc(f,e,E+1|0)}e=N[i+276>>2];break qe}e=e+1|0}if(c>>>0>e>>>0){continue}break}}ib(f,m,12662,0);_a(N[i+384>>2]);break ae}d=O[k+4|0];if(!(L[N[r+4>>2]+140|0]&1|d&64)){break ae}N[i+272>>2]=r;N[i+276>>2]=k;c=O[k+16|0]|O[k+17|0]<<8;L[i+320|0]=d>>>6&1;N[i+316>>2]=0;u=k+8|0;N[i+280>>2]=u+((c<<8|c>>>8)&65535);e=N[r+16>>2];c=N[N[r+8>>2]+24>>2];if(N[c+32>>2]==-1){d=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[d+32>>2]=(c<<8|c>>>8)&65535}N[e+64>>2]=0;if(!O[e+60|0]){break ae}m=0;while(1){f=N[e+64>>2];z=f>>>0>=Q[e+68>>2];c=0;ue:{if(z){break ue}d=N[N[e+80>>2]+T(f,20)>>2];c=2;if((d|0)==65535){break ue}g=d;c=O[k+10|0]|O[k+11|0]<<8;d=u+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;g=g-((c<<8|c>>>8)&65535)|0;l=O[d+2|0]|O[d+3|0]<<8;c=1;if(g>>>0>=((l<<8|l>>>8)&65535)>>>0){break ue}c=O[(d+g|0)+4|0]}y=O[u|0]|O[u+1|0]<<8;l=(y<<8|y>>>8)&65535;o=l>>>0>c>>>0;d=m;J=T(d,l);g=O[k+12|0]|O[k+13|0]<<8;q=(g<<8|g>>>8)&65535;s=q+u|0;g=O[k+14|0]|O[k+15|0]<<8;x=u+((g<<8|g>>>8)&65535)|0;v=(O[((o?c:1)+J|0)+s|0]<<2)+x|0;g=O[v|0]|O[v+1|0]<<8;m=(((g<<8|g>>>8)&65535)-q|0)/(l|0)|0;g=O[v+2|0]|O[v+3|0]<<8;ve:{we:{if(g&65343){break we}if(!(!d|!(g&64?m:1))){c=x+(O[s+(o?c:1)|0]<<2)|0;d=O[c+2|0]|O[c+3|0]<<8;if(d&65343){break we}c=O[c|0]|O[c+1|0]<<8;if((d^g)&64|((((c<<8|c>>>8)&65535)-q|0)/(l|0)|0)!=(m|0)){break we}}c=x+(O[s+(J+!y|0)|0]<<2)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65343)){break ve}}if(z){break ve}c=O[e+62|0]?N[e+72>>2]:f;if(!c){break ve}wb(e,3,c-1|0,f+1|0,1,1);g=O[v+2|0]|O[v+3|0]<<8}xe:{if(!(g&128)){break xe}c=N[i+316>>2];if(c>>>0<=7){d=N[e+64>>2];N[i+316>>2]=c+1;N[((c<<2)+i|0)+284>>2]=d;break xe}N[i+316>>2]=0}c=g&65343;ye:{if(!c|!N[i+316>>2]){break ye}ze:{d=N[i+316>>2];Ae:{if((d|0)<0){break Ae}g=N[i+280>>2];f=(g-N[i+276>>2]|0)-8|0;c=(c<<8|c>>>8)&65535;g=((c>>>0>>0?1073741823:c-f>>>1|0)<<1)+g|0;y=N[i+272>>2];c=d<<1;if(!c){break ze}if(Q[y+24>>2]>g>>>0){break Ae}f=N[y+28>>2];if(f>>>0>>0|c>>>0>f-g>>>0){break Ae}c=N[y+32>>2]-c|0;N[y+32>>2]=c;if((c|0)>0){break ze}}N[i+316>>2]=0;break ye}if(!d){break ye}x=N[N[y+4>>2]+132>>2];z=O[i+320|0];while(1){d=d-1|0;N[i+316>>2]=d;c=N[((d<<2)+i|0)+284>>2];if(c>>>0>2]){f=O[g|0]|O[g+1|0]<<8;J=(f<<8|f>>>8)<<16>>16;f=J&-2;l=T(c,20);c=l+N[e+88>>2]|0;Be:{if((N[e+40>>2]&-2)==4){if(z){if((f|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+12>>2]=0;break Be}if(!O[c+18|0]){break Be}l=N[c+12>>2];o=N[y+8>>2];f=UE(N[o+64>>2],N[o+68>>2],f,f>>31);o=Pa;f=f+32768|0;N[c+12>>2]=(((f>>>0<32768?o+1|0:o)&65535)<<16|f>>>16)+l;N[e+144>>2]=N[e+144>>2]|8;break Be}if(!(x&N[(l+N[e+80>>2]|0)+4>>2])){break Be}l=N[y+8>>2];f=UE(N[l+56>>2],N[l+60>>2],f,f>>31);q=Pa;f=f+32768|0;f=((f>>>0<32768?q+1|0:q)&65535)<<16|f>>>16;N[c>>2]=f+N[c>>2];N[c+8>>2]=f+N[c+8>>2];break Be}if(z){if((f|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+8>>2]=0;break Be}if(!O[c+18|0]){break Be}l=N[c+8>>2];o=N[y+8>>2];f=UE(N[o+56>>2],N[o+60>>2],f,f>>31);s=Pa;f=f+32768|0;N[c+8>>2]=(((f>>>0<32768?s+1|0:s)&65535)<<16|f>>>16)+l;N[e+144>>2]=N[e+144>>2]|8;break Be}if(!(x&N[(l+N[e+80>>2]|0)+4>>2])){break Be}l=N[y+8>>2];f=UE(N[l+64>>2],N[l+68>>2],f,f>>31);l=Pa;f=f+32768|0;f=((f>>>0<32768?l+1|0:l)&65535)<<16|f>>>16;N[c+4>>2]=f+N[c+4>>2];N[c+12>>2]=f+N[c+12>>2]}if(J&1){break ye}}g=g+2|0;if(d){continue}break}}d=N[e+64>>2];if(!O[e+60|0]|(d|0)==N[e+68>>2]){break ae}Ce:{if(O[v+2|0]&64){c=N[e+152>>2];N[e+152>>2]=c-1;if((c|0)>0){break Ce}}if(O[e+62|0]){l=N[e+72>>2];f=N[e+80>>2];g=N[e+84>>2];De:{if((f|0)==(g|0)){c=d;if((c|0)==(l|0)){break De}}c=l+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break Ce}g=N[e+84>>2];f=N[e+80>>2]}Ee:{if((f|0)!=(g|0)){break Ee}c=N[e+72>>2];if(c+1>>>0<=N[e+64>>2]+1>>>0){g=f;break Ee}if(!O[e+62|0]){break a}g=N[e+88>>2];N[e+84>>2]=g;c=T(c,20);if(!c){break Ee}F(g,f,c);g=N[e+84>>2];f=N[e+80>>2]}d=T(N[e+64>>2],20)+f|0;f=N[d+4>>2];c=T(N[e+72>>2],20)+g|0;N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;d=N[e+64>>2];c=N[e+72>>2]}N[e+72>>2]=c+1}N[e+64>>2]=d+1}if(O[e+60|0]){continue}break}}c=N[r+52>>2];d=N[c+12>>2];N[r+24>>2]=d;c=N[c+16>>2];N[r+28>>2]=c+d;if((c|0)<0){break b}Fe:{if(Y){break Fe}e=N[r+16>>2];m=N[e+68>>2];if(m>>>0>=2){l=N[e+80>>2];g=m-1|0;f=0;while(1){c=l+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=l+T(f,20)|0;N[c+16>>2]=N[d+16>>2];y=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=y;y=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=y;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[e+63|0]){break Fe}c=N[e+68>>2];c=c>>>0>>0?c:m;if(c>>>0<2){break Fe}e=N[e+88>>2];g=c-1|0;f=0;while(1){c=e+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=e+T(f,20)|0;N[c+16>>2]=N[d+16>>2];m=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=m;m=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=m;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}c=N[r+8>>2];d=N[r+16>>2];N[i+32>>2]=N[r+72>>2];ib(d,c,17599,i+32|0)}c=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);d=N[r+72>>2]+1|0;N[r+72>>2]=d;k=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+k|0;h=h+1|0;if((S|0)!=(h|0)){continue}break}}ib(t,b,12647,0)}ab(N[r+52>>2])}if(O[I+141|0]&64){c=hl(N[b+24>>2]+172|0);l=Ue(i+272|0,I,b,t,275552);W=R[N[l+8>>2]+80>>2];Ge:{if(W<=U(0)){break Ge}y=N[N[l+4>>2]+136>>2];m=N[l+16>>2];if((N[m+40>>2]&-2)==4){d=O[c+6|0]|O[c+7|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=275552}d=fl(d,c,W);W=R[N[l+8>>2]+44>>2];$=U(Z(U(U(W*U(d|0))+U(.5))));He:{if(U(V($))>2];if(!f){break Ge}g=c;h=d;c=f-1|0;d=0;while(1){Je:{if((c|0)==(d|0)){k=N[m+80>>2];d=f;break Je}k=N[m+80>>2];d=d+1|0;if(O[(k+T(d,20)|0)+16|0]&128){continue}}break}e=0;while(1){c=T(e,20);if(y&N[(c+k|0)+4>>2]){c=c+N[m+88>>2]|0;N[c>>2]=g+N[c>>2];N[c+8>>2]=h+N[c+8>>2]}c=d+1|0;e=c>>>0>>0?f:c;o=e-1|0;c=d;while(1){Ke:{if((c|0)==(o|0)){c=e;break Ke}c=c+1|0;if(O[(T(c,20)+k|0)+16|0]&128){continue}}break}o=d>>>0>>0;e=d;d=c;if(o){continue}break}break Ge}d=O[c+8|0]|O[c+9|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=275552}d=fl(d,c,W);W=R[N[l+8>>2]+48>>2];$=U(Z(U(U(W*U(d|0))+U(.5))));Le:{if(U(V($))>2];if(!d){break Ge}f=c;g=e;e=d-1|0;c=0;while(1){Ne:{if((c|0)==(e|0)){k=N[m+80>>2];c=d;break Ne}k=N[m+80>>2];c=c+1|0;if(O[(k+T(c,20)|0)+16|0]&128){continue}}break}e=0;while(1){e=T(e,20);if(y&N[(e+k|0)+4>>2]){e=e+N[m+88>>2]|0;N[e+4>>2]=f+N[e+4>>2];N[e+12>>2]=g+N[e+12>>2]}e=c;h=c+1|0;h=d>>>0>h>>>0?d:h;o=h-1|0;while(1){Oe:{if((c|0)==(o|0)){c=h;break Oe}c=c+1|0;if(O[(T(c,20)+k|0)+16|0]&128){continue}}break}if(d>>>0>e>>>0){continue}break}}ab(N[l+52>>2])}La=i+448|0;break td}Pe:{if(!(O[a+200|0]&32)|N[N[a+80>>2]+48>>2]!=2){break Pe}d=N[t+68>>2];if(!d){break Pe}e=N[t+80>>2];if(w){h=0;while(1){c=T(h,20);if(O[(c+e|0)+12|0]&8){c=c+N[t+88>>2]|0;f=N[c+4>>2];N[c+4>>2]=0;g=N[c>>2];N[c>>2]=0;N[c+8>>2]=N[c+8>>2]-g;N[c+12>>2]=N[c+12>>2]-f}h=h+1|0;if((d|0)!=(h|0)){continue}break}break Pe}f=0;if((d|0)!=1){c=d&1;d=d&-2;while(1){g=T(f,20);if(O[(g+e|0)+12|0]&8){g=g+N[t+88>>2]|0;N[g>>2]=0;N[g+4>>2]=0}g=T(f|1,20);if(O[(g+e|0)+12|0]&8){g=g+N[t+88>>2]|0;N[g>>2]=0;N[g+4>>2]=0}f=f+2|0;if((d|0)!=(f|0)){continue}break}if(!c){break Pe}}c=T(f,20);if(!(O[(c+e|0)+12|0]&8)){break Pe}c=c+N[t+88>>2]|0;N[c>>2]=0;N[c+4>>2]=0}Qe:{if(!(O[t+144|0]&2)|O[t+16|0]&12){break Qe}c=N[t+68>>2];if(!c){break Qe}d=N[t+80>>2];e=N[t+88>>2];f=0;if((c|0)!=1){g=c&1;h=c&-2;while(1){c=T(f,20);m=c+d|0;if(!(!(O[m+16|0]&32)|O[m+12|0]&16)){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=T(f|1,20);m=c+d|0;if(!(!(O[m+16|0]&32)|O[m+12|0]&16)){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}f=f+2|0;if((h|0)!=(f|0)){continue}break}if(!g){break Qe}}c=d+T(f,20)|0;if(!(O[c+16|0]&32)|O[c+12|0]&16){break Qe}c=e+T(f,20)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}Re:{if(!(O[a+201|0]&32)){break Re}c=N[t+68>>2];if(!c){break Re}d=N[t+80>>2];e=N[t+88>>2];f=0;if((c|0)!=1){g=c&1;h=c&-2;while(1){c=T(f,20);if(N[c+d>>2]==65535){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=T(f|1,20);if(N[c+d>>2]==65535){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}f=f+2|0;if((h|0)!=(f|0)){continue}break}if(!g){break Re}}c=T(f,20);if(N[c+d>>2]!=65535){break Re}c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=O[t+140|0];if((c&3)==3){if(c&4){e=N[t+68>>2];Se:{Te:{if(O[t+63|0]){break Te}c=0;if(N[t+168>>2]){break Se}N[t+72>>2]=0;M[t+62>>1]=256;N[t+84>>2]=N[t+80>>2];c=T(e,20);if(!c){break Te}C(N[t+88>>2],0,c)}c=N[t+88>>2]}if(!(!(O[t+144|0]&8)|!e)){d=N[t+40>>2];f=0;while(1){Nj(c,e,f,d,64);f=f+1|0;if((e|0)!=(f|0)){continue}break}}if(!(!e|R[b+36>>2]==U(0))){f=0;while(1){d=c+T(f,20)|0;g=N[d+12>>2];if(g){W=U(U(Z(U(U(R[b+40>>2]*U(g|0))+U(.5))))+U(N[d+8>>2]));Ue:{if(U(V(W))>2]=g}f=f+1|0;if(e>>>0>f>>>0){continue}break}}c=N[147126];f=b;Ve:{while(1){if((c|0)==N[N[f+96>>2]+56>>2]){f=N[f+20>>2];if(!f){break Ve}if((f|0)!=588752){continue}break Ve}break}if(!j){break Ve}h=0;while(1){c=T(h,20);Jd(b,N[c+da>>2],p+120|0,p+96|0);c=c+ea|0;N[c+8>>2]=N[c+8>>2]-N[p+120>>2];N[c+12>>2]=N[c+12>>2]-N[p+96>>2];h=h+1|0;if((n|0)!=(h|0)){continue}break}}We:{Xe:{if(!(O[a+200|0]&128)){break Xe}if(!ib(t,b,13525,0)){break Xe}c=O[t+140|0];if((c&3)!=3){break We}if(!(c&4)){break d}f=1;h=0;c=N[t+68>>2];if(c>>>0>1){d=N[t+80>>2];while(1){if(!(1<>1]&7168)){Gj(I,b,t,h,f,w);h=f}f=f+1|0;if((c|0)!=(f|0)){continue}break}}Gj(I,b,t,h,c,w);ib(t,b,13545,0)}Ye:{if((N[t+40>>2]&-3)!=5){break Ye}e=N[t+68>>2];if(e>>>0>=2){f=N[t+80>>2];j=e-1|0;n=0;while(1){c=f+T(j,20)|0;N[p+136>>2]=N[c+16>>2];d=N[c+12>>2];N[p+128>>2]=N[c+8>>2];N[p+132>>2]=d;d=N[c+4>>2];N[p+120>>2]=N[c>>2];N[p+124>>2]=d;d=f+T(n,20)|0;N[c+16>>2]=N[d+16>>2];g=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=g;g=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=g;N[d+16>>2]=N[p+136>>2];c=N[p+132>>2];N[d+8>>2]=N[p+128>>2];N[d+12>>2]=c;c=N[p+124>>2];N[d>>2]=N[p+120>>2];N[d+4>>2]=c;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}if(!O[t+63|0]){break Ye}c=N[t+68>>2];c=c>>>0>>0?c:e;if(c>>>0<2){break Ye}e=N[t+88>>2];j=c-1|0;n=0;while(1){c=e+T(j,20)|0;N[p+136>>2]=N[c+16>>2];d=N[c+12>>2];N[p+128>>2]=N[c+8>>2];N[p+132>>2]=d;d=N[c+4>>2];N[p+120>>2]=N[c>>2];N[p+124>>2]=d;d=e+T(n,20)|0;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[d+16>>2]=N[p+136>>2];c=N[p+132>>2];N[d+8>>2]=N[p+128>>2];N[d+12>>2]=c;c=N[p+124>>2];N[d>>2]=N[p+120>>2];N[d+4>>2]=c;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}c=O[t+140|0];if(c&4){L[t+140|0]=c&251;if((c&3)==3){L[t+140|0]=c&248;if((P[a+200>>1]&8704)==8192){ll(t)}if(!(O[t+144|0]&2)){break f}d=N[t+16>>2];if(d&4){break f}c=N[t+80>>2];g=N[t+68>>2];e=N[t+28>>2];N[p+120>>2]=e;if(!(d&8)){if(e){break g}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];j=N[b+100>>2];f=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,j,32,f,d)|0){break g}g=N[t+68>>2]}h=0;if(g){f=0;while(1){e=N[t+80>>2];j=T(f,20);d=e+j|0;Ze:{if(!(O[d+12|0]&16?0:O[d+16|0]&32)){if((f|0)!=(h|0)){m=N[d+4>>2];c=e;e=T(h,20);c=c+e|0;N[c>>2]=N[d>>2];N[c+4>>2]=m;N[c+16>>2]=N[d+16>>2];m=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=m;d=N[t+88>>2];c=d+e|0;d=d+j|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;e=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=e;N[c+16>>2]=N[d+16>>2]}h=h+1|0;c=f+1|0;break Ze}m=N[d+8>>2];_e:{$e:{af:{bf:{c=f+1|0;if(c>>>0>>0){if((m|0)!=N[(e+T(c,20)|0)+8>>2]){break bf}break Ze}if(h){break af}break _e}if(!h){break $e}}n=N[(e+T(h,20)|0)-12>>2];if(n>>>0<=m>>>0){break Ze}i=N[d+4>>2]&7;j=h;while(1){j=j-1|0;d=e+T(j,20)|0;if((n|0)!=N[d+8>>2]){break Ze}N[d+4>>2]=i|N[d+4>>2]&-8;N[d+8>>2]=m;if(j){continue}break}break Ze}Ib(t,f,f+2|0)}h=0}f=c;if((g|0)!=(f|0)){continue}break}}N[t+68>>2]=h;break f}break e}break e}break d}break d}break d}break e}ba(10615,17855,2019,8730);B()}break d}break c}break a}break c}if(!g){break f}f=0;if((g|0)!=1){e=g&1;g=g&-2;while(1){d=c+T(f,20)|0;if(!(!(O[d+16|0]&32)|O[d+12|0]&16)){N[d>>2]=N[p+120>>2]}d=c+T(f|1,20)|0;if(!(!(O[d+16|0]&32)|O[d+12|0]&16)){N[d>>2]=N[p+120>>2]}f=f+2|0;if((g|0)!=(f|0)){continue}break}if(!e){break f}}c=c+T(f,20)|0;if(!(O[c+16|0]&32)|O[c+12|0]&16){break f}N[c>>2]=N[p+120>>2]}cf:{if(!N[N[a+80>>2]+20>>2]){break cf}if(!ib(t,b,10964,0)){break cf}Qa[N[N[a+80>>2]+20>>2]](I,t,b);ib(t,b,10989,0)}df:{if(!(O[t+144|0]&32)){break df}b=N[t+68>>2];if(!b){break df}a=N[t+16>>2];g=a&64;a=a&128;d=N[t+80>>2];c=b-1|0;f=0;while(1){ef:{if((c|0)==(f|0)){f=b;break ef}e=T(f,20);f=f+1|0;e=d+e|0;if(N[e+8>>2]==N[e+28>>2]){continue}}break}if(!a){n=0;while(1){a=f;ff:{if(f>>>0<=n>>>0){break ff}e=a-n|0;h=e&3;m=0;j=0;f=n;i=a+(f^-1)|0;if(i>>>0>=3){k=e&-4;l=0;while(1){c=d+T(f,20)|0;j=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|j;f=f+4|0;l=l+4|0;if((k|0)!=(l|0)){continue}break}}if(h){while(1){j=N[(d+T(f,20)|0)+4>>2]&7|j;f=f+1|0;m=m+1|0;if((h|0)!=(m|0)){continue}break}}c=g?j:j&-3;j=0;e=e&7;if(e){while(1){N[(d+T(n,20)|0)+4>>2]=c;n=n+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}if(i>>>0<7){break ff}while(1){e=d+T(n,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;n=n+8|0;if((a|0)!=(n|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){gf:{if((e|0)==(f|0)){f=c;break gf}j=T(f,20);f=f+1|0;j=d+j|0;if(N[j+8>>2]==N[j+28>>2]){continue}}break}n=a;if(b>>>0>n>>>0){continue}break}break df}j=0;if(!g){while(1){n=0;a=f;g=f>>>0<=j>>>0;hf:{if(g){break hf}c=a-j|0;e=c&3;m=0;f=j;if(a+(f^-1)>>>0>=3){h=c&-4;l=0;while(1){c=d+T(f,20)|0;n=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|n;f=f+4|0;l=l+4|0;if((h|0)!=(l|0)){continue}break}}if(!e){break hf}while(1){n=N[(d+T(f,20)|0)+4>>2]&7|n;f=f+1|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}}jf:{if(g){break jf}c=n&1?n&-5:n;c=c>>>2&1|c&-3;e=a+(j^-1)|0;n=0;f=a-j&7;if(f){while(1){N[(d+T(j,20)|0)+4>>2]=c;j=j+1|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if(e>>>0<7){break jf}while(1){e=d+T(j,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;j=j+8|0;if((a|0)!=(j|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){kf:{if((e|0)==(f|0)){f=c;break kf}g=T(f,20);f=f+1|0;g=d+g|0;if(N[g+8>>2]==N[g+28>>2]){continue}}break}j=a;if(b>>>0>j>>>0){continue}break df}}while(1){n=0;a=f;g=f>>>0<=j>>>0;lf:{if(g){break lf}c=a-j|0;e=c&3;m=0;f=j;if(a+(f^-1)>>>0>=3){h=c&-4;l=0;while(1){c=d+T(f,20)|0;n=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|n;f=f+4|0;l=l+4|0;if((h|0)!=(l|0)){continue}break}}if(!e){break lf}while(1){n=N[(d+T(f,20)|0)+4>>2]&7|n;f=f+1|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}}mf:{if(g){break mf}c=n&1?n&-5:n;c=c&4?c|3:c;e=a+(j^-1)|0;n=0;f=a-j&7;if(f){while(1){N[(d+T(j,20)|0)+4>>2]=c;j=j+1|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if(e>>>0<7){break mf}while(1){e=d+T(j,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;j=j+8|0;if((a|0)!=(j|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){nf:{if((e|0)==(f|0)){f=c;break nf}g=T(f,20);f=f+1|0;g=d+g|0;if(N[g+8>>2]==N[g+28>>2]){continue}}break}j=a;if(b>>>0>j>>>0){continue}break}}if((O[t+140|0]&48)==48){N[t+148>>2]=1073741823;N[t+152>>2]=536870911;N[t+40>>2]=aa;M[t+140>>1]=0;La=p+288|0;return 1}}ba(22742,14165,187,12136);B()}ba(22742,14165,195,12125);B()}ba(22778,14165,169,12138);B()}ba(16656,14279,195,9642);B()}ba(8694,17855,209,11932);B()}function Kt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0;q=La-128|0;La=q;i=N[b+96>>2];g=N[i+4>>2];a:{b:{c:{ga=N[b+540>>2];if(ga){break c}f=11;if(!g){break a}d=N[g+16>>2];if((d|0)<=0){break a}e=g+20|0;h=e+(d<<2)|0;while(1){d=N[N[e>>2]>>2];if(cb(N[d+8>>2],9195)){e=e+4|0;if(h>>>0>e>>>0){continue}break a}break}ga=N[d+20>>2];if(!ga){break a}N[b+540>>2]=ga;N[b+516>>2]=N[ga>>2];if(i){break c}break b}e=g;d=N[N[i>>2]+32>>2];if(d){k=Qa[d|0](i,10566)|0;if(k){break b}e=N[i+4>>2]}k=0;d=N[e+16>>2];if((d|0)<=0){break b}e=e+20|0;f=e+(d<<2)|0;while(1){d:{h=N[e>>2];if((h|0)==(i|0)){break d}d=N[N[h>>2]+32>>2];if(!d){break d}d=Qa[d|0](h,10566)|0;if(!d){break d}k=d;break b}e=e+4|0;if(f>>>0>e>>>0){continue}break}}N[b+544>>2]=k;if(!N[b+548>>2]){e:{if(!g){h=0;break e}h=0;d=N[g+16>>2];if((d|0)<=0){break e}e=g+20|0;i=e+(d<<2)|0;while(1){f=N[e>>2];d=N[f>>2];if(cb(N[d+8>>2],15504)){e=e+4|0;if(i>>>0>e>>>0){continue}break e}break}d=N[d+32>>2];if(!d){break e}h=Qa[d|0](f,10423)|0}N[b+548>>2]=h}if(!N[b+552>>2]){f:{if(!g){h=0;break f}h=0;d=N[g+16>>2];if((d|0)<=0){break f}e=g+20|0;g=e+(d<<2)|0;while(1){f=N[e>>2];d=N[f>>2];if(cb(N[d+8>>2],15504)){e=e+4|0;if(g>>>0>e>>>0){continue}break f}break}d=N[d+32>>2];if(!d){break f}h=Qa[d|0](f,10670)|0}N[b+552>>2]=h}oa=N[a+28>>2];N[b+140>>2]=0;N[b+132>>2]=0;N[b+136>>2]=0;qa=b+132|0;sa=q+108|0;while(1){g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{e=N[a+8>>2];if(Q[a+4>>2]<=e+3>>>0){break t}u:{d=N[a+20>>2];v:{if(d){if((Qa[d|0](a,e,q+52|0,4)|0)!=4){break t}u=N[a+8>>2];d=q+52|0;break v}d=N[a>>2];if(!d){break u}u=e;d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);N[a+8>>2]=u+4;f=2;w:{d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);x:{if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212|(d|0)==65536){break x}break a}if((d|0)<=1953658212){if((d|0)==131072|(d|0)==1330926671){break x}break a}if((d|0)==1953658213|(d|0)==1953784678){break x}break a}if((d|0)==2001684018){break p}if((d|0)==2001684038){break w}if((d|0)!=1954115633){break a}}N[qa>>2]=1953784678;if((d|0)!=1953784678){break s}f=rb(a,177904,qa);N[q+12>>2]=f;if(f){break a}d=N[b+140>>2];if(d){break r}f=8;break a}y:{d=N[a+20>>2];if(d){if(!(Qa[d|0](a,e,0,0)|0)){break y}f=85;break a}if(e>>>0<=Q[a+4>>2]){break y}f=85;break a}N[a+8>>2]=e;N[q+12>>2]=0;A=N[a+28>>2];f=rb(a,177920,q+52|0);if(f){break a}f=8;u=N[q+56>>2];if((u|0)==1953784678|(u|0)==2001684038){break a}d=N[q+60>>2];if((d|0)!=N[a+4>>2]){break a}h=P[q+64>>1];if(!h){break a}l=T(h,20);if(d>>>0<=l+44>>>0){break a}k=h<<4;e=k|12;d=N[q+68>>2];if(e>>>0>=d>>>0|d&3){break a}r=N[q+80>>2];s=N[q+76>>2];z:{if(!s){if(!(r|N[q+84>>2])){break z}break a}if(!r){break z}if(!N[q+84>>2]){break a}}m=N[q+88>>2];if(!(N[q+92>>2]?m:1)){break a}w=Qa[N[A+4>>2]](A,e)|0;if(!w){f=!w<<6;n=0;w=0;break j}f=64;n=Qa[N[A+4>>2]](A,40)|0;if(!n){n=0;break i}L[n|0]=0;L[n+1|0]=0;L[n+2|0]=0;L[n+3|0]=0;L[n+4|0]=0;L[n+5|0]=0;L[n+6|0]=0;L[n+7|0]=0;L[n+32|0]=0;L[n+33|0]=0;L[n+34|0]=0;L[n+35|0]=0;L[n+36|0]=0;L[n+37|0]=0;L[n+38|0]=0;L[n+39|0]=0;L[n+24|0]=0;L[n+25|0]=0;L[n+26|0]=0;L[n+27|0]=0;L[n+28|0]=0;L[n+29|0]=0;L[n+30|0]=0;L[n+31|0]=0;L[n+16|0]=0;L[n+17|0]=0;L[n+18|0]=0;L[n+19|0]=0;L[n+20|0]=0;L[n+21|0]=0;L[n+22|0]=0;L[n+23|0]=0;L[n+8|0]=0;L[n+9|0]=0;L[n+10|0]=0;L[n+11|0]=0;L[n+12|0]=0;L[n+13|0]=0;L[n+14|0]=0;L[n+15|0]=0;d=0;N[q+24>>2]=0;e=h;while(1){g=d;d=g+1|0;i=e>>>0>1;e=e>>>1|0;if(i){continue}break}L[w+9|0]=g;L[w+5|0]=h;L[w+3|0]=u;L[w+8|0]=g>>>8;e=16<>>8;L[w+2|0]=u>>>8;L[w+1|0]=u>>>16;L[w|0]=u>>>24;d=k-e|0;L[w+11|0]=d;L[w+6|0]=e>>>8;L[w+10|0]=d>>>8;d=T(h,24);v=Qa[N[A+4>>2]](A,d)|0;if(!v){break i}C(v,0,d);d=h<<2;H=Qa[N[A+4>>2]](A,d)|0;if(!H){Qa[N[A+8>>2]](A,v);break i}C(H,0,d);f=Bb(a,l);N[q+24>>2]=f;if(f){break l}d=h>>>0<=1?1:h;g=0;h=0;while(1){l=v+T(h,24)|0;k=N[a+36>>2];e=N[a+32>>2];A:{if(k>>>0<=e+3>>>0){f=0;break A}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=e+4|0}N[a+32>>2]=e;N[l>>2]=f;u=0;B:{if(k>>>0<=e+3>>>0){I=0;break B}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);I=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+4>>2]=I;if(k>>>0>e+3>>>0){i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);u=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+8>>2]=u;u=0;C:{if(k>>>0<=e+3>>>0){I=0;break C}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);I=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+12>>2]=I;if(k>>>0>e+3>>>0){i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);u=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+16>>2]=u;if(f>>>0<=g>>>0){if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break m}N[H+(h<<2)>>2]=l;g=f;h=h+1|0;if((d|0)!=(h|0)){continue}break}if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;p=P[q+64>>1];Zc(H,p,4,180);f=p<<4|12;e=T(p,20)+44|0;D:{if(!p){d=f;break D}u=0;h=N[q+68>>2];g=N[q+60>>2];d=f;while(1){l=N[H+(u<<2)>>2];if(N[l+4>>2]!=(e|0)){break m}k=N[l+8>>2];if(k>>>0>g>>>0|g-k>>>0>>0){break m}i=N[l+12>>2];if(i>>>0>>0|h>>>0>>0|h-i>>>0>>0){break m}N[l+20>>2]=d;d=(i+3&-4)+d|0;e=(k+3&-4)+e|0;u=u+1|0;if((p|0)!=(u|0)){continue}break}}if(s){if((e|0)!=(s|0)){break o}e=r+s|0;if(e>>>0>Q[q+60>>2]){break o}}E:{if(!m){u=N[q+60>>2];break E}if((m|0)!=(e+3&-4)){break o}e=m+N[q+92>>2]|0;u=N[q+60>>2];if(e>>>0>u>>>0){break o}}if(N[q+68>>2]!=(d|0)|(e|0)!=(u|0)){break o}w=lb(A,1,f,d,w,q+24|0);f=N[q+24>>2];if(f){break n}if(p){u=w+12|0;h=0;while(1){l=v+T(h,24)|0;L[u|0]=O[l+3|0];L[u+1|0]=P[l+2>>1];L[u+2|0]=N[l>>2]>>>8;L[u+3|0]=N[l>>2];L[u+4|0]=O[l+19|0];L[u+5|0]=P[l+18>>1];L[u+6|0]=N[l+16>>2]>>>8;L[u+7|0]=N[l+16>>2];L[u+8|0]=O[l+23|0];L[u+9|0]=P[l+22>>1];L[u+10|0]=N[l+20>>2]>>>8;L[u+11|0]=N[l+20>>2];L[u+12|0]=O[l+15|0];L[u+13|0]=P[l+14>>1];L[u+14|0]=N[l+12>>2]>>>8;L[u+15|0]=N[l+12>>2];f=N[l+4>>2];F:{G:{H:{I:{e=N[a+20>>2];J:{if(e){if(Qa[e|0](a,f,0,0)|0){break J}break I}if(f>>>0<=Q[a+4>>2]){break I}}f=85;break H}N[a+8>>2]=f;f=Bb(a,N[l+8>>2]);if(f){break H}f=N[l+8>>2];e=N[l+12>>2];if((f|0)!=(e|0)){break G}F(N[l+20>>2]+w|0,N[a+32>>2],f);break F}N[q+24>>2]=f;break n}N[q+124>>2]=e;k=q+124|0;g=N[a+32>>2];f=N[l+8>>2];m=La+-64|0;La=m;i=6;e=N[l+20>>2]+w|0;K:{if(!k|(!e|!A)){break K}N[m+20>>2]=e;N[m+12>>2]=f;N[m+8>>2]=g;e=N[k>>2];N[m+48>>2]=A;N[m+44>>2]=163;N[m+40>>2]=164;N[m+24>>2]=e;if(mm(m+8|0,15)){break K}f=km(m+8|0,4);if((f|0)!=1){i=N[m+36>>2];L:{if(!i){break L}I=N[m+44>>2];if(!I){break L}g=N[i+20>>2];if(g){e=N[g>>2];if((e&-2)==4){Qa[I|0](N[m+48>>2],N[g+12>>2]);e=N[g>>2]}if((e|0)==6){Qa[N[m+44>>2]](N[m+48>>2],N[g+4>>2])}N[g+28>>2]=0;N[g+32>>2]=0;N[g>>2]=0;i=N[g+40>>2];N[g+52>>2]=i;N[g+48>>2]=i;e=N[g+56>>2];if(e){e=Qa[e|0](0,0,0)|0;N[g+60>>2]=e;N[m+56>>2]=e;i=N[g+40>>2]}Qa[N[m+44>>2]](N[m+48>>2],i);Qa[N[m+44>>2]](N[m+48>>2],N[g+36>>2]);Qa[N[m+44>>2]](N[m+48>>2],g);I=N[m+44>>2];i=N[m+36>>2]}Qa[I|0](N[m+48>>2],i)}i=0;e=f+5|0;if(e>>>0>=6){break K}i=N[(e<<2)+43112>>2];break K}N[k>>2]=N[m+28>>2];i=0;y=N[m+36>>2];if(!y){break K}I=N[m+44>>2];if(!I){break K}f=N[y+20>>2];if(f){e=N[f>>2];if((e&-2)==4){Qa[I|0](N[m+48>>2],N[f+12>>2]);e=N[f>>2]}if((e|0)==6){Qa[N[m+44>>2]](N[m+48>>2],N[f+4>>2])}N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;y=N[f+40>>2];N[f+52>>2]=y;N[f+48>>2]=y;e=N[f+56>>2];if(e){e=Qa[e|0](0,0,0)|0;N[f+60>>2]=e;N[m+56>>2]=e;y=N[f+40>>2]}Qa[N[m+44>>2]](N[m+48>>2],y);Qa[N[m+44>>2]](N[m+48>>2],N[f+36>>2]);Qa[N[m+44>>2]](N[m+48>>2],f);I=N[m+44>>2];y=N[m+36>>2]}Qa[I|0](N[m+48>>2],y)}La=m- -64|0;f=i;if(!f){if(N[q+124>>2]==N[l+12>>2]){break F}f=8}N[q+24>>2]=f;if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break n}if(N[a+20>>2]){f=N[a>>2];if(f){e=N[a+28>>2];Qa[N[e+8>>2]](e,f)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;g=N[l+12>>2];f=N[l+20>>2];e=g+f|0;if(e&3){C(e+w|0,0,((g^-1)-f&3)+1|0)}u=u+16|0;h=h+1|0;if((p|0)!=(h|0)){continue}break}N[q+24>>2]=0}N[n+32>>2]=0;N[n+8>>2]=0;N[n+4>>2]=d;N[n>>2]=w;N[n+20>>2]=0;a=N[a+28>>2];N[n+24>>2]=181;N[n+28>>2]=a;f=N[b+104>>2];M:{if(!f){break M}d=N[b+8>>2];e=N[f+28>>2];a=N[f+24>>2];if(a){Qa[a|0](f)}if(d&1024){break M}Qa[N[e+8>>2]](e,f)}N[b+104>>2]=n;N[b+8>>2]=N[b+8>>2]&-1025;f=0;break n}N[a+8>>2]=e+4;f=2;break a}f=85;break a}N[b+136>>2]=65536;N[b+140>>2]=1;a=Qa[N[oa+4>>2]](oa,4)|0;N[b+144>>2]=a;if(!a){f=!a<<6;break a}N[a>>2]=e;break q}f=10;if(d>>>0>N[a+4>>2]>>>5>>>0){break a}ta=b,ua=lb(oa,4,0,d,0,q+12|0),N[ta+144>>2]=ua;f=N[q+12>>2];if(f){break a}f=Bb(a,N[b+140>>2]<<2);N[q+12>>2]=f;if(f){break a}if(N[b+140>>2]>0){e=N[a+32>>2];g=N[b+144>>2];f=N[a+36>>2];d=0;while(1){N:{if(f>>>0<=e+3>>>0){u=0;break N}h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);u=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);e=e+4|0}N[a+32>>2]=e;N[g+(d<<2)>>2]=u;d=d+1|0;if((d|0)>2]){continue}break}}if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}u=N[b+104>>2];d=N[b+144>>2];a=c>>31;n=(a^c)-a|0;a=(n&65535)+a|0;if((a|0)>=N[b+140>>2]){f=6;if((c|0)>=0){break a}a=0}d=N[d+(a<<2)>>2];a=N[u+20>>2];O:{if(a){f=85;if(!(Qa[a|0](u,d,0,0)|0)){break O}break a}f=85;if(d>>>0>Q[u+4>>2]){break a}}N[u+8>>2]=d;f=Qa[N[ga+88>>2]](b,u)|0;N[q+52>>2]=f;if(f){break a}m=N[b+100>>2];a=0;f=0;P:{Q:{if(Qa[N[b+516>>2]](b,1719034226,u,q+24|0)|Q[q+24>>2]<20){break Q}e=Nb(u,q+52|0);f=N[q+52>>2];if(f){break Q}k=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}g=N[u+8>>2]+2|0;d=N[u+20>>2];R:{if(d){f=85;if(!(Qa[d|0](u,g,0,0)|0)){break R}break Q}f=85;if(g>>>0>Q[u+4>>2]){break Q}}N[u+8>>2]=g;N[q+52>>2]=0;h=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}ga=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}d=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}i=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}f=0;a=e;break P}k=0;h=0;ga=0;d=0;i=0}e=0;S:{if((a|0)!=65536|(ga|0)!=20|(!h|h>>>0>16382)){break S}a=h<<2;T:{if((a+4|0)!=(i|0)){if((a+6|0)!=(i|0)){break S}if(d>>>0<=32511){break T}break S}if(d>>>0>32511){break S}}if(Q[q+24>>2]<(T(h,20)+k|0)+T(d,i)>>>0){break S}N[b+740>>2]=N[b+740>>2]|1;e=d}U:{if(!(L[b+740|0]&1)){break U}l=h<<2;V:{W:{X:{Y:{if(h){g=Qa[N[m+4>>2]](m,l)|0;if(!g){f=64;break U}w=Qa[N[m+4>>2]](m,l)|0;if(w){break Y}w=0;f=64;break W}y=(N[u+8>>2]+k|0)-16|0;f=0;w=0;g=0;break X}d=N[u+8>>2]+k|0;a=d-8|0;y=d-16|0;k=0;d=g;while(1){f=Xh(u,a,d,4);d=d+4|0;a=a+ga|0;k=k+1|0;if((k|0)!=(h|0)){continue}break}}Z:{if(!e){d=0;break Z}a=(T(h,ga)+y|0)+4|0;d=0;while(1){f=Xh(u,a,w,l);if(!Mb(g,w,l)){break Z}a=a+i|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}d=e}e=((d|0)==(e|0))+e|0;if(!g){break V}}Qa[N[m+8>>2]](m,g)}if(!w){break U}Qa[N[m+8>>2]](m,w)}a=n>>>16|0;_:{if(!(Qa[N[b+516>>2]](b,1735162214,u,0)|0)){break _}if(!(Qa[N[b+516>>2]](b,1128678962,u,0)|0)){break _}e=Qa[N[b+516>>2]](b,1128678944,u,0)|0?e:0}$:{if(a>>>0>(e&65535)>>>0){if((c|0)>=0){break $}e=0}N[b+12>>2]=e<<16;N[b+4>>2]=c;N[b>>2]=N[b+140>>2];if(!ra){break a}N[b>>2]=ra;break a}f=6;break a}aa:{d=N[a+20>>2];if(d){if(!(Qa[d|0](a,e,0,0)|0)){break aa}f=85;break a}if(e>>>0<=Q[a+4>>2]){break aa}f=85;break a}N[a+8>>2]=e;N[q+12>>2]=0;t=N[a+28>>2];N[q+40>>2]=0;N[q+44>>2]=0;N[q+32>>2]=0;N[q+36>>2]=0;N[q+24>>2]=0;N[q+28>>2]=0;N[q+20>>2]=0;f=rb(a,177984,q+52|0);if(f){break a}f=8;i=N[q+56>>2];if((i|0)==2001684018){break a}n=N[q+60>>2];if((n|0)!=N[a+4>>2]){break a}g=P[q+64>>1];if(!g|n>>>0<=T(g,20)+48>>>0){break a}h=N[q+80>>2];e=N[q+76>>2];ba:{if(!e){d=N[q+84>>2]|h;h=0;if(!d){break ba}break a}if(!h){break ba}if(!N[q+84>>2]){break a}}if(n-e>>>0>>0|e>>>0>=n>>>0){break a}e=N[q+88>>2];if(e>>>0>=n>>>0){break a}d=N[q+92>>2];if(!(!d|(e|0)!=0)|d>>>0>n-e>>>0){break a}w=0;N[q+116>>2]=0;d=g<<5;ma=Qa[N[t+4>>2]](t,d)|0;ca:{if(!ma){f=64;break ca}C(ma,0,d);da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{m=g<<2;I=Qa[N[t+4>>2]](t,m)|0;if(I){d=c>>31;l=(d^c)-d&65535;h=0;C(I,0,m);N[q+120>>2]=0;g=g>>>0<=1?1:g;k=0;na:{oa:{pa:{qa:{ra:{while(1){L[q+124|0]=0;s=(h<<5)+ma|0;f=N[a+8>>2];sa:{ta:{e=N[a+20>>2];ua:{if(e){if((Qa[e|0](a,f,q+124|0,1)|0)!=1){break ta}f=N[a+8>>2];e=q+124|0;break ua}if(Q[a+4>>2]<=f>>>0){break ta}e=N[a>>2]+f|0}u=O[e|0];w=f+1|0;N[a+8>>2]=w;L[s|0]=u;e=u&63;va:{if((e|0)==63){wa:{xa:{ya:{if(Q[a+4>>2]<=f+4>>>0){break ya}e=N[a+20>>2];za:{if(e){if((Qa[e|0](a,w,q+124|0,4)|0)!=4){break ya}w=N[a+8>>2];e=q+124|0;break za}e=N[a>>2];if(!e){break xa}e=e+w|0}e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);break wa}f=85;N[q+120>>2]=85;u=0;N[s+4>>2]=0;break fa}f=0}N[a+8>>2]=w+4;N[s+4>>2]=f;u=O[s|0];break va}f=N[(e<<2)+178048>>2];N[s+4>>2]=f}e=u&255;n=(f|0)!=1819239265&(f|0)!=1735162214?e>>>0<64:e>>>0>63;f=Ql(a,s+8|0);if(f){break qa}f=N[s+8>>2];N[s+12>>2]=f;Aa:{if(!n){f=Ql(a,s+12|0);if(f){break qa}e=N[s+12>>2];if(N[s+4>>2]==1819239265){break Aa}f=e}if((k^-1)>>>0>>0){break ra}break sa}f=0;if(!e){break sa}break ra}f=85;N[q+120>>2]=85;u=0;L[s|0]=0;break fa}N[s+24>>2]=f;N[s+20>>2]=k;N[s+16>>2]=(u&192)>>>6|(n?0:256);N[(h<<2)+I>>2]=s;k=f+k|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}N[q+120>>2]=0;e=N[(m+I|0)-4>>2];f=N[e+24>>2];e=f+N[e+20>>2]|0;N[q+96>>2]=e;if(e>>>0>>0){break ra}N[q+104>>2]=0;M[q+108>>1]=1;if((i|0)!=1953784678){break oa}e=Nb(a,q+120|0);N[q+104>>2]=e;u=0;f=N[q+120>>2];if(f){break fa}if((e|0)==65536|(e|0)==131072){break pa}break ga}f=8}N[q+120>>2]=f;break ha}f=je(a,sa);N[q+120>>2]=f;if(f){break fa}h=P[q+108>>1];if(!h){break ga}k=lb(t,12,0,h,0,q+120|0);N[q+116>>2]=k;f=N[q+120>>2];if(f){break fa}w=0;i=P[q+64>>1];n=0;while(1){m=T(n,12)+k|0;f=je(a,m+4|0);N[q+120>>2]=f;if(f){break ja}ta=m,ua=Nb(a,q+120|0),N[ta>>2]=ua;f=N[q+120>>2];if(f){break ja}u=0;ta=m,ua=lb(t,2,0,P[m+4>>1],0,q+120|0),N[ta+8>>2]=ua;f=N[q+120>>2];if(f){d=c;break ia}Ba:{if(!P[m+4>>1]){g=0;y=0;break Ba}y=0;g=0;while(1){f=je(a,q+124|0);if(f){break ka}f=P[q+124>>1];if(f>>>0>=i>>>0){break la}M[N[m+8>>2]+(u<<1)>>1]=f;e=N[N[(f<<2)+I>>2]+4>>2];g=(e|0)==1735162214?f:g;y=(e|0)==1819239265?f:y;u=u+1|0;if(u>>>0>1]){continue}break}N[q+120>>2]=0}if((y-g|0)!=1|g>>>0>y>>>0?g|y:0){break la}n=n+1|0;if((n|0)!=(h|0)){continue}break}break na}k=0;N[q+116>>2]=0;h=1}e=N[a+8>>2];N[q+100>>2]=e;g=N[q+72>>2];i=(g+e|0)+3|0;e=i&-4;m=N[q+60>>2];if(e>>>0>m>>>0){break la}f=N[q+76>>2];if(f){if((e|0)!=(f|0)){break la}e=N[q+80>>2]+(i|3)&-4}f=N[q+88>>2];if(f){if((e|0)!=(f|0)){break la}e=N[q+92>>2]+(e|3)&-4}if((m+3&-4)!=(e|0)){break la}ra=h;Ca:{e=d+l|0;if((h|0)>(e|0)){break Ca}e=0;if((c|0)<0){break Ca}f=6;break ka}Da:{if(!N[q+104>>2]){n=P[q+64>>1];break Da}w=0;l=T(e,12)+k|0;u=lb(t,4,0,P[l+4>>1],0,q+120|0);f=N[q+120>>2];if(f){break ja}i=P[l+4>>1];Ea:{if(!i){break Ea}e=0;if((i|0)!=1){h=i&65534;while(1){N[u+(e<<2)>>2]=N[(P[N[l+8>>2]+(e<<1)>>1]<<2)+I>>2];f=e|1;N[u+(f<<2)>>2]=N[(P[N[l+8>>2]+(f<<1)>>1]<<2)+I>>2];e=e+2|0;if((h|0)!=(e|0)){continue}break}}if(!(i&1)){break Ea}N[u+(e<<2)>>2]=N[(P[N[l+8>>2]+(e<<1)>>1]<<2)+I>>2]}I=lb(t,4,P[q+64>>1],i,I,q+120|0);f=N[q+120>>2];if(f){break ja}Fa:{Ga:{Ha:{n=P[l+4>>1];if(!n){break Ha}k=0;e=0;if(n>>>0>=4){h=n&65532;while(1){i=e<<2;N[i+I>>2]=N[i+u>>2];f=i|4;N[f+I>>2]=N[f+u>>2];f=i|8;N[f+I>>2]=N[f+u>>2];f=i|12;N[f+I>>2]=N[f+u>>2];e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=n&3;if(!h){break Ha}while(1){f=e<<2;N[f+I>>2]=N[f+u>>2];e=e+1|0;k=k+1|0;if((h|0)!=(k|0)){continue}break}break Ga}if(!u){break Fa}}Qa[N[t+8>>2]](t,u);n=P[l+4>>1]}e=N[l>>2];M[q+64>>1]=n;N[q+56>>2]=e}f=n&65535;l=f<<4;y=l|12;N[q+16>>2]=y;Ia:{e=N[q+68>>2];if(e>>>0<=y>>>0){break Ia}e=m>>>0>>6>>>0?m<<6:e;y=e>>>0>=67108864?67108864:e;N[q+16>>2]=y;if(y){break Ia}k=0;break ma}k=Qa[N[t+4>>2]](t,y)|0;if(k){break ma}w=0;N[q+20>>2]=0;f=64;N[q+120>>2]=64;break ja}f=64;N[q+120>>2]=64;I=0;break ha}N[q+20>>2]=k;Ja:{w=Qa[N[t+4>>2]](t,40)|0;if(w){L[w|0]=0;L[w+1|0]=0;L[w+2|0]=0;L[w+3|0]=0;L[w+4|0]=0;L[w+5|0]=0;L[w+6|0]=0;L[w+7|0]=0;L[w+32|0]=0;L[w+33|0]=0;L[w+34|0]=0;L[w+35|0]=0;L[w+36|0]=0;L[w+37|0]=0;L[w+38|0]=0;L[w+39|0]=0;L[w+24|0]=0;L[w+25|0]=0;L[w+26|0]=0;L[w+27|0]=0;L[w+28|0]=0;L[w+29|0]=0;L[w+30|0]=0;L[w+31|0]=0;L[w+16|0]=0;L[w+17|0]=0;L[w+18|0]=0;L[w+19|0]=0;L[w+20|0]=0;L[w+21|0]=0;L[w+22|0]=0;L[w+23|0]=0;L[w+8|0]=0;L[w+9|0]=0;L[w+10|0]=0;L[w+11|0]=0;L[w+12|0]=0;L[w+13|0]=0;L[w+14|0]=0;L[w+15|0]=0;u=0;N[q+120>>2]=0;e=N[q+56>>2];e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);L[k|0]=e;L[k+1|0]=e>>>8;L[k+2|0]=e>>>16;L[k+3|0]=e>>>24;if(n&65535){e=f;while(1){h=u;u=h+1|0;i=e>>>0>1;e=e>>>1|0;if(i){continue}break}L[k+9|0]=h;L[k+5|0]=n;L[k+8|0]=h>>>8;h=16<>>8;e=l-h|0;L[k+11|0]=e;L[k+6|0]=h>>>8;L[k+10|0]=e>>>8;u=n;break Ja}f=0;break Ja}f=64;break ka}ta=q,ua=wh(k,12),N[ta+24>>2]=ua;Zc(I,f,4,182);Ka:{La:{h=u&65535;if(h>>>0>=2){u=N[N[I>>2]+4>>2];e=1;while(1){f=u;u=N[N[(e<<2)+I>>2]+4>>2];if((f|0)==(u|0)){break La}e=e+1|0;if((h|0)!=(e|0)){continue}break}}z=N[q+96>>2];if(!z|y>>>0>>0){break La}f=6;if((z|0)<=0){break Ka}u=Qa[N[t+4>>2]](t,z)|0;f=64;if(!u){break Ka}f=Bb(a,g);if(f){d=c;break ia}S=N[a+32>>2];N[q+124>>2]=z;y=g;ha=0;j=La-5040|0;La=j;f=N[q+124>>2];s=j+136|0;e=s;N[e>>2]=0;N[e+4>>2]=0;N[j+8>>2]=f;N[j+48>>2]=0;N[j+44>>2]=176;N[j+40>>2]=177;N[j+24>>2]=0;N[j+28>>2]=32;N[j+288>>2]=0;N[j+292>>2]=0;N[j+64>>2]=0;N[j+68>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+108>>2]=0;N[j+112>>2]=0;N[j+584>>2]=0;N[j+592>>2]=0;N[j+596>>2]=0;N[j+80>>2]=0;N[j+84>>2]=0;N[j+268>>2]=0;N[j+152>>2]=0;N[j+156>>2]=0;N[j+168>>2]=0;N[j+172>>2]=0;N[j+128>>2]=0;N[j+132>>2]=0;N[j+4>>2]=u;N[j+568>>2]=0;N[j+572>>2]=0;N[j+100>>2]=11;N[j+104>>2]=4;N[j+560>>2]=0;N[j+564>>2]=0;N[j+580>>2]=0;M[j+576>>1]=16;N[j+76>>2]=0;N[j+92>>2]=16;N[j+96>>2]=15;N[j+88>>2]=0;N[j+296>>2]=63;N[j+600>>2]=45248;N[j+604>>2]=168208;N[j+184>>2]=0;N[j+188>>2]=0;N[j+12>>2]=0;Ma:{Na:{if(!f){break Na}ha=j+4|0;if(u){break Na}f=-20;break Ma}H=j+168|0;p=j+152|0;la=j+268|0;na=j+592|0;r=j+24|0;N[j+32>>2]=S;N[j+36>>2]=y;ia=j+840|0;_=j+1184|0;ba=j+640|0;da=j+264|0;pa=j+588|0;ca=j+56|0;Oa:while(1){h=1;Pa:{Qa:while(1){Ra:{switch(h-1|0){case 1:if(N[j+112>>2]){f=Rf(j+16|0,j+8|0,ha,j+12|0,1);if((f|0)<0){break Ma}}e=N[j+64>>2];if(e){if(!N[j+36>>2]){N[j+36>>2]=y;N[j+64>>2]=0;N[j+32>>2]=S;continue Oa}if(!y){f=2;break Ma}L[e+ca|0]=O[S|0];h=1;e=N[j+64>>2]+1|0;N[j+36>>2]=e;N[j+64>>2]=e;y=y-1|0;S=S+1|0;continue}f=2;e=N[j+36>>2];if(!e){break Ma}h=N[j+32>>2];k=e&3;g=0;Sa:{if(e>>>0<4){e=0;break Sa}n=e&-4;e=0;i=0;while(1){L[e+ca|0]=O[h|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;L[e+ca|0]=O[h+1|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;L[e+ca|0]=O[h+2|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;L[e+ca|0]=O[h+3|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;h=h+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}}if(!k){break Ma}while(1){L[e+ca|0]=O[h|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;h=h+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break};break Ma;default:if(N[j+64>>2]){N[j+64>>2]=0;f=h;break Ma}g=N[j+28>>2];f=32-g|0;e=f>>>3|0;N[j+36>>2]=e+N[j+36>>2];N[j+32>>2]=N[j+32>>2]-e;e=f&-8;N[j+28>>2]=e+g;N[j+24>>2]=(e|0)!=32?N[j+24>>2]<>2]){case 19:e=N[j+20>>2];h=N[(j+(e<<2)|0)+220>>2];break Wa;case 2:e=N[j+580>>2];break bb;case 22:h=N[j+220>>2];break ob;case 6:e=N[j+20>>2];break pb;case 12:e=N[j+200>>2];if((e|0)<=0){break _a}g=N[j+32>>2];k=N[j+24>>2];i=N[j+36>>2];h=N[j+28>>2];while(1){if(h-25>>>0<=7){if(!i){h=2;continue Qa}n=k>>>8|0;N[j+24>>2]=n;f=O[g|0];i=i-1|0;N[j+36>>2]=i;g=g+1|0;N[j+32>>2]=g;k=n|f<<24;N[j+24>>2]=k;h=h-8|0}f=e-1|0;N[j+200>>2]=f;h=h+8|0;N[j+28>>2]=h;n=(e|0)>1;e=f;if(n){continue}break};break _a;case 0:break Ta;case 21:break Ua;case 20:break Va;case 17:break Ya;case 4:break $a;case 3:break ab;case 1:break cb;case 18:break db;case 11:break eb;case 26:break gb;case 14:break hb;case 13:case 15:case 16:break ib;case 7:case 8:case 9:case 10:break jb;case 25:break kb;case 24:break mb;case 23:break nb;case 5:break qb;default:continue}}e=N[j+28>>2];rb:{if(e-27>>>0>=6){h=N[j+24>>2];break rb}h=2;i=N[j+36>>2];if(!i){continue}h=N[j+24>>2]>>>8|0;N[j+24>>2]=h;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=i-1;N[j+32>>2]=g+1;h=h|f<<24;N[j+24>>2]=h;e=e-8|0}N[j+28>>2]=e+6;f=h>>>e|0;e=f&3;N[j+256>>2]=e;N[j+260>>2]=(f>>>2&15)<>2]](N[j+48>>2],N[j+220>>2])|0;N[j+596>>2]=e;h=-21;if(!e){continue}N[j+16>>2]=6;N[j+20>>2]=0;e=0}h=N[j+220>>2];if((e|0)<(h|0)){while(1){h=N[j+28>>2];sb:{if(h-31>>>0>=2){f=N[j+24>>2];break sb}n=N[j+36>>2];if(!n){break fb}i=N[j+24>>2]>>>8|0;N[j+24>>2]=i;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=n-1;N[j+32>>2]=g+1;f=i|f<<24;N[j+24>>2]=f;h=h-8|0}N[j+28>>2]=h+2;L[N[j+596>>2]+e|0]=f>>>h&3;e=e+1|0;h=N[j+220>>2];if((e|0)<(h|0)){continue}break}}N[j+16>>2]=22}h=Zl(h<<6,pa,na,j+16|0);if((h|0)!=1){continue}N[j+608>>2]=0;N[j+612>>2]=0;N[j+632>>2]=0;N[j+636>>2]=0;N[j+624>>2]=0;N[j+628>>2]=0;N[j+616>>2]=0;N[j+620>>2]=0;l=N[j+220>>2];if(l){e=0;A=N[j+592>>2];while(1){v=e<<6;k=v|3;n=v|2;i=v|1;m=O[v+A|0];h=0;g=0;while(1){g=m^O[A+(h+i|0)|0]|m^O[A+(h+v|0)|0]|m^O[A+(h+n|0)|0]|m^O[A+(h+k|0)|0]|g;f=h>>>0<60;h=h+4|0;if(f){continue}break}if(!g){f=j+(e>>>3&536870908)|0;N[f+608>>2]=N[f+608>>2]|1<>2]=23}m=N[j+260>>2];i=m+16|0;l=N[j+256>>2];k=l+1|0;tb:{if(!(O[j+576|0]&32)){i=i+(24<>>0>2147483643){break ub}e=0;n=(2147483644-m>>>l|0)+4|0;h=n;while(1){g=e;e=e+1|0;f=h>>>0>3;h=h>>>1|0;if(f){continue}break}e=(n>>>g&1|e<<1)-4|0;f=i;if(!e){break ub}f=(m+(-1<>2]<<2,da,la,j+16|0);if((h|0)!=1){continue}e=N[j+588>>2];k=Qa[N[j+40>>2]](N[j+48>>2],T(e,2532))|0;M[j+148>>1]=e;N[j+144>>2]=16777472;N[j+136>>2]=k;N[j+140>>2]=k+(e<<2);e=N[j+224>>2];n=Qa[N[j+40>>2]](N[j+48>>2],T(e,4324))|0;M[j+164>>1]=e;N[j+160>>2]=46138048;N[j+152>>2]=n;N[j+156>>2]=n+(e<<2);g=N[j+264>>2];e=g<<2;h=Qa[N[j+40>>2]](N[j+48>>2],T(e,f+377|0))|0;M[j+180>>1]=g;M[j+178>>1]=f;M[j+176>>1]=i;N[j+168>>2]=h;N[j+172>>2]=e+h;f=-22;if(!h|(!k|!n)){break Ma}N[j+16>>2]=24;N[j+20>>2]=0;g=0;e=s;break lb}f=-31;e=s;vb:{wb:{g=N[j+20>>2];switch(g|0){case 0:break lb;case 2:break vb;case 1:break wb;default:break Ma}}e=p;break lb}e=H}if(N[j+640>>2]==1){f=N[j+2428>>2]}else{f=N[e+4>>2];N[j+2428>>2]=0;N[j+2432>>2]=f;N[j+640>>2]=1;f=0}if((f|0)>1]){h=N[j+2432>>2];while(1){h=Qf(P[e+8>>1],P[e+10>>1],h,j+5036|0,j+16|0);if((h|0)!=1){continue Qa}f=N[j+2428>>2];N[N[e>>2]+(f<<2)>>2]=N[j+2432>>2];h=N[j+2432>>2]+(N[j+5036>>2]<<2)|0;N[j+2432>>2]=h;f=f+1|0;N[j+2428>>2]=f;if((f|0)>1]){continue}break}g=N[j+20>>2]}N[j+640>>2]=0;h=1;N[j+20>>2]=g+1;if((g|0)<2){continue}N[j+16>>2]=25}f=N[j+236>>2];e=N[j+592>>2]+(f<<6)|0;N[j+128>>2]=e;N[j+192>>2]=N[(j+(f>>>3&536870908)|0)+608>>2]>>>f&1;N[j+272>>2]=N[N[j+136>>2]+(O[e|0]<<2)>>2];e=O[f+N[j+596>>2]|0];N[j+132>>2]=N[j+268>>2];N[j+124>>2]=((e&3)<<9)+169536;N[j+120>>2]=N[N[j+152>>2]>>2];h=-27;if(!Yl(j+16|0)){continue}k=P[j+178>>1];n=N[j+256>>2];l=N[j+260>>2];xb:{if(!l){h=16;break xb}h=16;f=0;e=0;if(l>>>0>=4){i=l&-4;while(1){L[h+ba|0]=0;N[_+(h<<2)>>2]=e|1;g=h|1;L[g+ba|0]=0;N[_+(g<<2)>>2]=e|2;g=h|2;L[g+ba|0]=0;N[_+(g<<2)>>2]=e|3;g=h|3;L[g+ba|0]=0;e=e+4|0;N[_+(g<<2)>>2]=e;h=h+4|0;if((e|0)!=(i|0)){continue}break}}g=l&3;if(!g){break xb}while(1){L[h+ba|0]=0;e=e+1|0;N[_+(h<<2)>>2]=e;h=h+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}f=1;g=0;if(h>>>0>>0){while(1){i=l+((g+2<>2]=i+e;h=h+1|0;if(!(e>>>n|0)){continue}break}f=f+g|0;g=g^1;if(h>>>0>>0){continue}break}}N[j+16>>2]=7}k=j+16|0;f=N[k+4>>2];g=N[k+52>>2];i=2;yb:{zb:{Ab:{e=N[k+20>>2];if(e>>>0<28){break Ab}h=N[k+12>>2];Bb:{if((h|0)!=32){i=N[k+16>>2];h=h-8|0;break Bb}n=N[k+8>>2]>>>8|0;N[k+8>>2]=n;i=N[k+16>>2];h=O[i|0];e=e-1|0;N[k+20>>2]=e;N[k+12>>2]=24;i=i+1|0;N[k+16>>2]=i;N[k+8>>2]=n|h<<24;h=16}if(!(!(i&1)|!e)){l=N[k+8>>2]>>>8|0;N[k+8>>2]=l;n=O[i|0];N[k+20>>2]=e-1;N[k+12>>2]=h;N[k+16>>2]=i+1;N[k+8>>2]=l|n<<24}i=-31;Cb:{Db:{switch(N[k>>2]-7|0){case 0:e=0;break Cb;case 1:e=1;break Cb;case 2:e=2;break Cb;case 3:break Db;default:break zb}}e=3}while(1){Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{switch(e|0){case 0:Kb:{Lb:{n=N[k+20>>2];if(n>>>0<28){break Lb}h=N[k+196>>2];if(h){break Kb}while(1){A=N[k+208>>2];if(A>>>0>=2){n=N[k+168>>2]+2528|0;h=N[k+8>>2];e=N[k+12>>2];if(e>>>0>=16){e=e^16;N[k+12>>2]=e;i=h>>>16|0;N[k+8>>2]=i;l=N[k+16>>2];h=O[l|0]|O[l+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=l+2;h=i|h<<16;N[k+8>>2]=h}m=N[k+172>>2];l=h>>>e|0;i=n+((l&255)<<2)|0;n=O[i|0];if(n>>>0>=9){i=(P[i+2>>1]+(N[(n<<2)+169360>>2]&l>>>8)<<2)+i|0;n=O[i|0];e=e+8|0}v=P[i+2>>1];e=(n&255)+e|0;if(e>>>0>=16){e=e^16;N[k+12>>2]=e;i=h>>>16|0;N[k+8>>2]=i;n=N[k+16>>2];h=O[n|0]|O[n+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=n+2;h=i|h<<16;N[k+8>>2]=h}l=h>>>e|0;i=(m+1584|0)+((l&255)<<2)|0;n=O[i|0];if(n>>>0>=9){i=(P[i+2>>1]+(N[(n<<2)+169360>>2]&l>>>8)<<2)+i|0;n=O[i|0];e=e+8|0}e=e+(n&255)|0;n=P[i+2>>1];i=n<<2;l=P[i+169280>>1];R=O[i+169282|0];Mb:{if((n|0)!=25){if(e>>>0>=16){e=e^16;N[k+12>>2]=e;i=h>>>16|0;N[k+8>>2]=i;n=N[k+16>>2];h=O[n|0]|O[n+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=n+2;h=i|h<<16;N[k+8>>2]=h}N[k+12>>2]=e+R;e=N[(R<<2)+169392>>2]&h>>>e;break Mb}Nb:{Ob:{if(e>>>0<=15){i=h>>>16|0;n=e+16|0;B=h>>>e&65535;o=N[k+20>>2];e=N[k+16>>2];break Ob}m=e^16;N[k+12>>2]=m;h=h>>>16|0;N[k+8>>2]=h;e=N[k+16>>2];i=O[e|0]|O[e+1|0]<<8;o=N[k+20>>2]-2|0;N[k+20>>2]=o;e=e+2|0;N[k+16>>2]=e;h=h|i<<16;N[k+8>>2]=h;B=h>>>m&65535;n=m+16|0;if(m>>>0>4294967279){break Nb}}N[k+8>>2]=i;n=n^16;N[k+12>>2]=n;h=O[e|0]|O[e+1|0]<<8;N[k+20>>2]=o-2;N[k+16>>2]=e+2;h=h<<16|i;N[k+8>>2]=h}e=R-16|0;N[k+12>>2]=e+n;e=(N[(e<<2)+169392>>2]&h>>>n)<<16|B}N[k+196>>2]=e+l;Pb:{Qb:{switch(v|0){case 1:e=N[k+228>>2]+1|0;break Pb;case 0:e=N[k+224>>2];break Pb;default:break Qb}}e=v-2|0}N[k+224>>2]=N[k+228>>2];e=e-(e>>>0>=A>>>0?A:0)|0;N[k+228>>2]=e;N[k+104>>2]=N[N[k+136>>2]+(e<<2)>>2]}n=N[k+20>>2];if(n>>>0<=27){break Lb}h=N[k+196>>2];if(!h){continue}break}break Kb}N[k>>2]=7;i=2;break Ab}e=N[k+8>>2];m=N[k+104>>2];f=N[k+12>>2];if(f>>>0>=16){f=f^16;N[k+12>>2]=f;i=e>>>16|0;N[k+8>>2]=i;l=N[k+16>>2];e=O[l|0]|O[l+1|0]<<8;n=n-2|0;N[k+20>>2]=n;N[k+16>>2]=l+2;e=i|e<<16;N[k+8>>2]=e}l=e>>>f|0;m=m+((l&255)<<2)|0;i=O[m|0];if(i>>>0>=9){m=(P[m+2>>1]+(N[(i<<2)+169360>>2]&l>>>8)<<2)+m|0;i=O[m|0];f=f+8|0}i=f+(i&255)|0;N[k+12>>2]=i;m=P[m+2>>1]<<3;f=O[m+171587|0];N[k+180>>2]=f;N[k+268>>2]=L[m+171586|0];L[k+260|0]=O[f+N[k+116>>2]|0];v=P[m+171588>>1];l=P[m+171590>>1];x=O[m+171585|0];E=0;R=O[m+171584|0];Rb:{if(!R){break Rb}if(R>>>0<=16){if(i>>>0>=16){i=i^16;N[k+12>>2]=i;f=e>>>16|0;N[k+8>>2]=f;m=N[k+16>>2];e=O[m|0]|O[m+1|0]<<8;n=n-2|0;N[k+20>>2]=n;N[k+16>>2]=m+2;e=f|e<<16;N[k+8>>2]=e}E=N[(R<<2)+169392>>2]&e>>>i;i=i+R|0;break Rb}Sb:{Tb:{if(i>>>0<=15){E=e>>>16|0;m=i+16|0;B=e>>>i&65535;i=N[k+16>>2];break Tb}A=i^16;N[k+12>>2]=A;e=e>>>16|0;N[k+8>>2]=e;f=N[k+16>>2];E=O[f|0]|O[f+1|0]<<8;n=n-2|0;N[k+20>>2]=n;i=f+2|0;N[k+16>>2]=i;e=e|E<<16;N[k+8>>2]=e;B=e>>>A&65535;m=A+16|0;if(A>>>0>4294967279){break Sb}}N[k+8>>2]=E;m=m^16;N[k+12>>2]=m;e=O[i|0]|O[i+1|0]<<8;n=n-2|0;N[k+20>>2]=n;N[k+16>>2]=i+2;e=e<<16|E;N[k+8>>2]=e}f=R-16|0;E=(N[(f<<2)+169392>>2]&e>>>m)<<16|B;i=f+m|0}Ub:{if(x>>>0<=16){if(i>>>0>=16){i=i^16;N[k+12>>2]=i;f=e>>>16|0;N[k+8>>2]=f;m=N[k+16>>2];e=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=n-2;N[k+16>>2]=m+2;e=f|e<<16;N[k+8>>2]=e}N[k+12>>2]=i+x;e=N[(x<<2)+169392>>2]&e>>>i;break Ub}Vb:{Wb:{if(i>>>0<=15){m=e>>>16|0;f=i+16|0;B=e>>>i&65535;i=N[k+16>>2];break Wb}A=i^16;N[k+12>>2]=A;e=e>>>16|0;N[k+8>>2]=e;f=N[k+16>>2];m=O[f|0]|O[f+1|0]<<8;n=n-2|0;N[k+20>>2]=n;i=f+2|0;N[k+16>>2]=i;e=e|m<<16;N[k+8>>2]=e;B=e>>>A&65535;f=A+16|0;if(A>>>0>4294967279){break Vb}}N[k+8>>2]=m;f=f^16;N[k+12>>2]=f;e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=n-2;N[k+16>>2]=i+2;e=e<<16|m;N[k+8>>2]=e}i=x-16|0;N[k+12>>2]=i+f;e=(N[(i<<2)+169392>>2]&e>>>f)<<16|B}N[k+196>>2]=h-1;N[k+264>>2]=e+l;f=v+E|0;if(!f){break Ib}N[k+184>>2]=N[k+184>>2]-f;e=1;continue;case 2:break Gb;case 1:break Jb;default:break Hb}}n=N[k+176>>2];Xb:while(1){Yb:{Zb:{if(n){i=N[k+8>>2];n=N[k+12>>2];if(n>>>0>=16){n=n^16;N[k+12>>2]=n;h=i>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;i=h|e<<16;N[k+8>>2]=i}e=N[k+256>>2]+((i>>>n&255)<<2)|0;h=P[e+2>>1];i=O[e|0];while(1){if(Q[k+20>>2]<=27){N[k>>2]=8;i=2;break Ab}_b:{if(N[k+192>>2]){E=N[k+12>>2];e=N[k+256>>2];break _b}Wl(k);i=N[k+8>>2];E=N[k+12>>2];if(E>>>0>=16){E=E^16;N[k+12>>2]=E;h=i>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;i=h|e<<16;N[k+8>>2]=i}if(!N[k+176>>2]){break Yb}e=N[k+256>>2];i=e+((i>>>E&255)<<2)|0;h=P[i+2>>1];i=O[i|0]}m=i&255;$b:{if(m>>>0>=9){n=N[k+8>>2];if(E>>>0>=16){E=E^16;N[k+12>>2]=E;n=n>>>16|0;N[k+8>>2]=n;l=N[k+16>>2];i=O[l|0]|O[l+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=l+2;n=n|i<<16;N[k+8>>2]=n}i=n>>>E|0;h=((((i&255)<<2)+e|0)+((h&65535)<<2)|0)+((N[(m<<2)+169360>>2]&i>>>8)<<2)|0;i=(O[h|0]+E|0)+8|0;N[k+12>>2]=i;h=O[h+2|0];break $b}i=m+E|0;N[k+12>>2]=i;n=N[k+8>>2]}l=h;if(i>>>0>=16){i=i^16;N[k+12>>2]=i;n=n>>>16|0;N[k+8>>2]=n;m=N[k+16>>2];h=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=m+2;n=n|h<<16;N[k+8>>2]=n}e=((n>>>i&255)<<2)+e|0;h=P[e+2>>1];i=O[e|0];L[N[k+96>>2]+g|0]=l;N[k+192>>2]=N[k+192>>2]-1;g=g+1|0;if((g|0)==N[k+64>>2]){N[k>>2]=13;f=f-1|0;i=1;break Ab}f=f-1|0;if(f){continue}break}break Zb}e=N[k+96>>2];h=N[k+68>>2];i=O[e+(h&g-2)|0];h=O[e+(h&g-1)|0];while(1){if(Q[k+20>>2]<=27){N[k>>2]=8;i=2;break Ab}if(!N[k+192>>2]){Wl(k);n=N[k+176>>2];if(n){continue Xb}}e=N[k+108>>2];l=N[N[k+120>>2]+(O[N[k+112>>2]+(O[(e+(i&255)|0)+256|0]|O[e+(h&255)|0])|0]<<2)>>2];n=N[k+8>>2];i=N[k+12>>2];if(i>>>0>=16){i=i^16;N[k+12>>2]=i;n=n>>>16|0;N[k+8>>2]=n;m=N[k+16>>2];e=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=m+2;n=n|e<<16;N[k+8>>2]=n}e=n>>>i|0;n=l+((e&255)<<2)|0;E=O[n|0];if(E>>>0>=9){n=(P[n+2>>1]+(N[(E<<2)+169360>>2]&e>>>8)<<2)+n|0;E=O[n|0];i=i+8|0}N[k+12>>2]=i+(E&255);e=P[n+2>>1];L[N[k+96>>2]+g|0]=e;N[k+192>>2]=N[k+192>>2]-1;g=g+1|0;if((g|0)==N[k+64>>2]){N[k>>2]=13;f=f-1|0;i=1;break Ab}i=h;h=e;f=f-1|0;if(f){continue}break}}f=0;if(N[k+184>>2]>0){break Ib}N[k>>2]=14;i=1;break Ab}n=0;continue}}e=2;continue}i=N[k+64>>2]-g|0;ac:{bc:{while(1){e=f-1|0;if((f|0)<=0){break bc}f=N[k+96>>2];L[f+g|0]=O[f+(N[k+68>>2]&g-N[k+268>>2])|0];g=g+1|0;f=e;i=i-1|0;if(i){continue}break}N[k>>2]=16;break ac}if(N[k+184>>2]>0){f=e;break Fb}N[k>>2]=14}i=1;f=e;break Ab}e=N[k+268>>2];cc:{if((e|0)>=0){m=!e;N[k+180>>2]=m;e=N[k+72>>2]-1|0;N[k+72>>2]=e;e=N[(k+((e&3)<<2)|0)+76>>2];break cc}if(!N[k+200>>2]){v=N[k+212>>2];if(v>>>0>=2){i=N[k+168>>2]+5056|0;f=N[k+8>>2];e=N[k+12>>2];if(e>>>0>=16){e=e^16;N[k+12>>2]=e;h=f>>>16|0;N[k+8>>2]=h;n=N[k+16>>2];f=O[n|0]|O[n+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=n+2;f=h|f<<16;N[k+8>>2]=f}l=N[k+172>>2];n=f>>>e|0;h=i+((n&255)<<2)|0;i=O[h|0];if(i>>>0>=9){h=(P[h+2>>1]+(N[(i<<2)+169360>>2]&n>>>8)<<2)+h|0;i=O[h|0];e=e+8|0}m=P[h+2>>1];e=(i&255)+e|0;if(e>>>0>=16){e=e^16;N[k+12>>2]=e;h=f>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];f=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;f=h|f<<16;N[k+8>>2]=f}n=f>>>e|0;h=(l+3168|0)+((n&255)<<2)|0;i=O[h|0];if(i>>>0>=9){h=(P[h+2>>1]+(N[(i<<2)+169360>>2]&n>>>8)<<2)+h|0;i=O[h|0];e=e+8|0}e=e+(i&255)|0;i=P[h+2>>1];h=i<<2;n=P[h+169280>>1];A=O[h+169282|0];dc:{if((i|0)!=25){if(e>>>0>=16){e=e^16;N[k+12>>2]=e;h=f>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];f=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;f=h|f<<16;N[k+8>>2]=f}N[k+12>>2]=e+A;e=N[(A<<2)+169392>>2]&f>>>e;break dc}ec:{fc:{if(e>>>0<=15){h=f>>>16|0;i=e+16|0;x=f>>>e&65535;B=N[k+20>>2];e=N[k+16>>2];break fc}l=e^16;N[k+12>>2]=l;f=f>>>16|0;N[k+8>>2]=f;e=N[k+16>>2];h=O[e|0]|O[e+1|0]<<8;B=N[k+20>>2]-2|0;N[k+20>>2]=B;e=e+2|0;N[k+16>>2]=e;f=f|h<<16;N[k+8>>2]=f;x=f>>>l&65535;i=l+16|0;if(l>>>0>4294967279){break ec}}N[k+8>>2]=h;i=i^16;N[k+12>>2]=i;f=O[e|0]|O[e+1|0]<<8;N[k+20>>2]=B-2;N[k+16>>2]=e+2;f=f<<16|h;N[k+8>>2]=f}e=A-16|0;N[k+12>>2]=e+i;e=(N[(e<<2)+169392>>2]&f>>>i)<<16|x}N[k+200>>2]=e+n;gc:{hc:{switch(m|0){case 1:e=N[k+236>>2]+1|0;break gc;case 0:e=N[k+232>>2];break gc;default:break hc}}e=m-2|0}N[k+232>>2]=N[k+236>>2];e=e-(e>>>0>=v>>>0?v:0)|0;N[k+236>>2]=e;e=N[k+252>>2]+(e<<2)|0;N[k+116>>2]=e;L[k+260|0]=O[e+N[k+180>>2]|0]}}l=N[N[k+152>>2]+(O[k+260|0]<<2)>>2];e=N[k+8>>2];f=N[k+12>>2];if(f>>>0>=16){f=f^16;N[k+12>>2]=f;h=e>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;e=h|e<<16;N[k+8>>2]=e}n=e>>>f|0;h=n&255;i=l+(h<<2)|0;m=O[i|0];if(m>>>0>=9){i=(P[(l+(h<<2)|0)+2>>1]+(N[(m<<2)+169360>>2]&n>>>8)<<2)+i|0;m=O[i|0];f=f+8|0}h=k+624|0;m=(m&255)+f|0;N[k+12>>2]=m;v=P[i+2>>1];N[k+180>>2]=0;N[k+200>>2]=N[k+200>>2]-1;ic:{if(v>>>0<=15){if(v>>>0<=3){m=1>>>v|0;N[k+180>>2]=m;f=N[k+72>>2];e=N[(k+((f+(v^-1)&3)<<2)|0)+76>>2];N[k+72>>2]=f-m;break cc}e=v>>>0<10;e=((6312258>>>(v+(e?-4:-10)<<2)&7)+N[(k+((N[k+72>>2]+(e?3:2)&3)<<2)|0)+76>>2]|0)-3|0;e=(e|0)<=0?2147483647:e;break ic}l=O[h+v|0];jc:{if(l>>>0<=16){if(m>>>0>=16){m=m^16;N[k+12>>2]=m;f=e>>>16|0;N[k+8>>2]=f;h=N[k+16>>2];e=O[h|0]|O[h+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=h+2;e=f|e<<16;N[k+8>>2]=e}N[k+12>>2]=l+m;e=N[(l<<2)+169392>>2]&e>>>m;break jc}kc:{lc:{if(m>>>0<=15){h=e>>>16|0;n=m+16|0;E=e>>>m&65535;x=N[k+20>>2];m=N[k+16>>2];break lc}i=m^16;N[k+12>>2]=i;e=e>>>16|0;N[k+8>>2]=e;f=N[k+16>>2];h=O[f|0]|O[f+1|0]<<8;x=N[k+20>>2]-2|0;N[k+20>>2]=x;m=f+2|0;N[k+16>>2]=m;e=e|h<<16;N[k+8>>2]=e;E=e>>>i&65535;n=i+16|0;if(i>>>0>4294967279){break kc}}N[k+8>>2]=h;n=n^16;N[k+12>>2]=n;e=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=x-2;N[k+16>>2]=m+2;e=e<<16|h;N[k+8>>2]=e}f=l-16|0;N[k+12>>2]=f+n;e=(N[(f<<2)+169392>>2]&e>>>n)<<16|E}e=N[(k+(v<<2)|0)+1168>>2]+(e<>2])|0}m=0}N[k+268>>2]=e;i=N[k+60>>2];f=N[k+56>>2];if((i|0)!=(f|0)){i=(f|0)>(g|0)?g:f;N[k+60>>2]=i}f=N[k+264>>2];mc:{if((e|0)>(i|0)){h=-16;if((e|0)>2147483644){break yb}h=-12;if(f-4>>>0>20){break yb}n=N[k+584>>2];l=N[(n+(f<<2)|0)+32>>2];v=O[f+n|0];N[k+72>>2]=N[k+72>>2]+m;n=N[n+164>>2];h=-19;if(!n){break yb}e=(i^-1)+e|0;i=e>>v;m=N[k+588>>2];h=-11;if((i|0)>=N[m+12>>2]){break yb}h=n+(l+T(e&N[(v<<2)+169392>>2],f)|0)|0;e=N[k+96>>2]+g|0;nc:{if((i|0)==M[m+24>>1]){F(e,h,f);e=f;break nc}e=$l(e,h,f,m,i)}N[k+184>>2]=N[k+184>>2]-e;g=e+g|0;if((g|0)>2]){e=g;break mc}N[k>>2]=15;i=1;break Ab}l=N[k+96>>2];i=N[k+68>>2];h=N[k+72>>2];N[(k+((h&3)<<2)|0)+76>>2]=e;N[k+72>>2]=h+1;N[k+184>>2]=N[k+184>>2]-f;n=i&g-e;v=n+l|0;h=O[v|0]|O[v+1|0]<<8|(O[v+2|0]<<16|O[v+3|0]<<24);e=O[v+4|0]|O[v+5|0]<<8|(O[v+6|0]<<16|O[v+7|0]<<24);m=g+l|0;l=O[v+12|0]|O[v+13|0]<<8|(O[v+14|0]<<16|O[v+15|0]<<24);i=O[v+8|0]|O[v+9|0]<<8|(O[v+10|0]<<16|O[v+11|0]<<24);L[m+8|0]=i;L[m+9|0]=i>>>8;L[m+10|0]=i>>>16;L[m+11|0]=i>>>24;L[m+12|0]=l;L[m+13|0]=l>>>8;L[m+14|0]=l>>>16;L[m+15|0]=l>>>24;L[m|0]=h;L[m+1|0]=h>>>8;L[m+2|0]=h>>>16;L[m+3|0]=h>>>24;L[m+4|0]=e;L[m+5|0]=e>>>8;L[m+6|0]=e>>>16;L[m+7|0]=e>>>24;e=f+g|0;i=f+n|0;if((n|0)<(e|0)&(i|0)>(g|0)){break Eb}h=N[k+64>>2];if((h|0)<=(e|0)|(h|0)<=(i|0)){break Eb}if((f|0)<17){break mc}i=v+16|0;l=m+16|0;if(f>>>0>=33){F(l,i,f-16|0);break mc}h=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);g=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);n=O[i+12|0]|O[i+13|0]<<8|(O[i+14|0]<<16|O[i+15|0]<<24);i=O[i+8|0]|O[i+9|0]<<8|(O[i+10|0]<<16|O[i+11|0]<<24);L[l+8|0]=i;L[l+9|0]=i>>>8;L[l+10|0]=i>>>16;L[l+11|0]=i>>>24;L[l+12|0]=n;L[l+13|0]=n>>>8;L[l+14|0]=n>>>16;L[l+15|0]=n>>>24;L[l|0]=h;L[l+1|0]=h>>>8;L[l+2|0]=h>>>16;L[l+3|0]=h>>>24;L[l+4|0]=g;L[l+5|0]=g>>>8;L[l+6|0]=g>>>16;L[l+7|0]=g>>>24}if(N[k+184>>2]>0){g=e;break Fb}N[k>>2]=14;i=1;g=e;break Ab}e=0;continue}e=3;continue}}N[k+4>>2]=f;N[k+52>>2]=g}h=i}if((h|0)!=2){continue}Y=La-16|0;La=Y;l=j+16|0;J=l+8|0;i=N[l+4>>2];k=N[l+52>>2];f=-31;oc:{pc:{qc:{switch(N[l>>2]-7|0){case 0:h=0;break pc;case 1:h=2;break pc;case 2:h=1;break pc;case 3:break qc;default:break oc}}h=3}while(1){rc:{sc:{tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{switch(h|0){case 0:N[l>>2]=7;if(N[l+196>>2]){break wc}while(1){K=La-16|0;La=K;Ec:{Fc:{Z=N[l+208>>2];Gc:{if(Z>>>0<2){break Gc}x=N[l+172>>2];E=N[l+168>>2]+2528|0;v=N[l+20>>2];m=N[l+16>>2];V=l+8|0;W=N[V>>2];B=W;Hc:{Ic:{n=N[l+12>>2];h=n;if(h-18>>>0<=14){f=m;e=n;g=v;while(1){if(!g){break Ic}R=B>>>8|0;N[l+8>>2]=R;A=O[f|0];g=g-1|0;N[l+20>>2]=g;h=e-8|0;N[l+12>>2]=h;f=f+1|0;N[l+16>>2]=f;B=R|A<<24;N[l+8>>2]=B;A=e-26|0;e=h;if(A>>>0<15){continue}break}}f=B>>>h|0;g=E+((f&255)<<2)|0;e=O[g|0];if(e>>>0>=9){h=h+8|0;g=(P[g+2>>1]+(N[(e<<2)+169360>>2]&f>>>8&127)<<2)+g|0;e=O[g|0]}N[l+12>>2]=(e&255)+h;N[K+8>>2]=P[g+2>>1];break Hc}if(!Jc(E,V,K+8|0)){break Gc}}Jc:{Kc:{if(!N[l+556>>2]){x=x+1584|0;Lc:{e=N[l+12>>2];Mc:{if(e-18>>>0>=15){B=N[V>>2];break Mc}g=N[l+20>>2];f=e;while(1){if(!g){break Lc}R=N[l+8>>2]>>>8|0;N[l+8>>2]=R;A=N[l+16>>2];h=O[A|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=A+1;B=R|h<<24;N[l+8>>2]=B;h=f-26|0;f=e;if(h>>>0<15){continue}break}}h=B>>>e|0;g=x+((h&255)<<2)|0;f=O[g|0];if(f>>>0>=9){g=(P[g+2>>1]+(N[(f<<2)+169360>>2]&h>>>8&127)<<2)+g|0;f=O[g|0];e=e+8|0}N[l+12>>2]=e+(f&255);h=P[g+2>>1];break Kc}if(!Jc(x,V,K+12|0)){break Jc}h=N[K+12>>2];break Kc}h=N[l+188>>2]}f=h<<2;E=P[f+169280>>1];$=O[f+169282|0];e=N[l+12>>2];if($>>>0<=32-e>>>0){B=N[V>>2];break Fc}g=N[l+20>>2];f=e;while(1){if(g){x=N[l+8>>2]>>>8|0;N[l+8>>2]=x;R=N[l+16>>2];A=O[R|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=R+1;B=x|A<<24;N[l+8>>2]=B;A=40-f|0;f=e;if(A>>>0<$>>>0){continue}break Fc}break}N[l+188>>2]=h}N[l+20>>2]=v;N[l+16>>2]=m;N[l+8>>2]=W;N[l+556>>2]=0;N[l+12>>2]=n}e=0;break Ec}N[l+556>>2]=0;N[l+12>>2]=e+$;N[l+196>>2]=E+(N[($<<2)+169392>>2]&B>>>e);Nc:{Oc:{Pc:{Qc:{e=N[K+8>>2];switch(e|0){case 1:break Oc;case 0:break Qc;default:break Pc}}e=N[l+224>>2];break Nc}e=e-2|0;break Nc}e=N[l+228>>2]+1|0}N[l+224>>2]=N[l+228>>2];e=e-(e>>>0>=Z>>>0?Z:0)|0;N[l+228>>2]=e;N[l+104>>2]=N[N[l+136>>2]+(e<<2)>>2];e=1}La=K+16|0;if(e){N[l>>2]=7;if(!N[l+196>>2]){continue}break wc}break};f=2;break rc;case 1:N[l>>2]=9;e=N[l+268>>2];if((e|0)<0){break Cc}N[l+180>>2]=!e;e=N[l+72>>2]-1|0;N[l+72>>2]=e;h=N[(l+((e&3)<<2)|0)+76>>2];break Bc;case 2:break Dc;default:break Ac}}h=N[l+176>>2];Rc:while(1){Sc:{N[l>>2]=8;if(h){h=N[l+192>>2];while(1){Tc:{if(h){break Tc}if(!Vl(l)){f=2;break rc}if(N[l+176>>2]){break Tc}h=0;continue Rc}v=N[l+256>>2];Uc:{Vc:{e=N[l+12>>2];Wc:{if(e-18>>>0>=15){m=N[J>>2];break Wc}h=N[l+20>>2];f=e;while(1){if(!h){break Vc}m=N[l+8>>2]>>>8|0;N[l+8>>2]=m;n=N[l+16>>2];g=O[n|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=n+1;m=m|g<<24;N[l+8>>2]=m;g=f-26|0;f=e;if(g>>>0<15){continue}break}}g=m>>>e|0;h=v+((g&255)<<2)|0;f=O[h|0];if(f>>>0>=9){h=(P[h+2>>1]+(N[(f<<2)+169360>>2]&g>>>8&127)<<2)+h|0;f=O[h|0];e=e+8|0}N[l+12>>2]=e+(f&255);e=P[h+2>>1];break Uc}if(!Jc(v,J,Y+12|0)){break zc}e=N[Y+12>>2]}L[N[l+96>>2]+k|0]=e;h=N[l+192>>2]-1|0;N[l+192>>2]=h;k=k+1|0;if((k|0)==N[l+64>>2]){N[l>>2]=13;i=i-1|0;f=1;break rc}i=i-1|0;if(i){continue}break}break Sc}f=N[l+96>>2];g=N[l+68>>2];e=O[f+(g&k-2)|0];g=O[f+(g&k-1)|0];f=N[l+192>>2];while(1){if(!f){if(!Vl(l)){f=2;break rc}h=N[l+176>>2];if(h){continue Rc}}f=e&255;e=N[l+108>>2];A=N[N[l+120>>2]+(O[N[l+112>>2]+(O[(f+e|0)+256|0]|O[e+(g&255)|0])|0]<<2)>>2];Xc:{Yc:{e=N[l+12>>2];Zc:{if(e-18>>>0>=15){m=N[J>>2];break Zc}h=N[l+20>>2];f=e;while(1){if(!h){break Yc}v=N[l+8>>2]>>>8|0;N[l+8>>2]=v;m=N[l+16>>2];n=O[m|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=m+1;m=v|n<<24;N[l+8>>2]=m;n=f-26|0;f=e;if(n>>>0<15){continue}break}}n=m>>>e|0;h=A+((n&255)<<2)|0;f=O[h|0];if(f>>>0>=9){h=(P[h+2>>1]+(N[(f<<2)+169360>>2]&n>>>8&127)<<2)+h|0;f=O[h|0];e=e+8|0}N[l+12>>2]=e+(f&255);h=O[h+2|0];break Xc}if(!Jc(A,J,Y+12|0)){break zc}h=N[Y+12>>2]}L[N[l+96>>2]+k|0]=h;f=N[l+192>>2]-1|0;N[l+192>>2]=f;k=k+1|0;if((k|0)==N[l+64>>2]){N[l>>2]=13;i=i-1|0;f=1;break rc}e=g;g=h;i=i-1|0;if(i){continue}break}}break}if(N[l+184>>2]>0){break vc}N[l>>2]=14;f=1;i=0;break rc}_c:{if(N[l+200>>2]){break _c}K=La-16|0;La=K;$c:{ad:{Z=N[l+212>>2];bd:{if(Z>>>0<2){break bd}x=N[l+172>>2];E=N[l+168>>2]+5056|0;v=N[l+20>>2];m=N[l+16>>2];V=l+8|0;W=N[V>>2];B=W;cd:{dd:{n=N[l+12>>2];h=n;if(h-18>>>0<=14){f=m;e=n;g=v;while(1){if(!g){break dd}R=B>>>8|0;N[l+8>>2]=R;A=O[f|0];g=g-1|0;N[l+20>>2]=g;h=e-8|0;N[l+12>>2]=h;f=f+1|0;N[l+16>>2]=f;B=R|A<<24;N[l+8>>2]=B;A=e-26|0;e=h;if(A>>>0<15){continue}break}}f=B>>>h|0;g=E+((f&255)<<2)|0;e=O[g|0];if(e>>>0>=9){h=h+8|0;g=(P[g+2>>1]+(N[(e<<2)+169360>>2]&f>>>8&127)<<2)+g|0;e=O[g|0]}N[l+12>>2]=(e&255)+h;N[K+8>>2]=P[g+2>>1];break cd}if(!Jc(E,V,K+8|0)){break bd}}ed:{fd:{if(!N[l+556>>2]){x=x+3168|0;gd:{e=N[l+12>>2];hd:{if(e-18>>>0>=15){B=N[V>>2];break hd}g=N[l+20>>2];f=e;while(1){if(!g){break gd}R=N[l+8>>2]>>>8|0;N[l+8>>2]=R;A=N[l+16>>2];h=O[A|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=A+1;B=R|h<<24;N[l+8>>2]=B;h=f-26|0;f=e;if(h>>>0<15){continue}break}}h=B>>>e|0;g=x+((h&255)<<2)|0;f=O[g|0];if(f>>>0>=9){g=(P[g+2>>1]+(N[(f<<2)+169360>>2]&h>>>8&127)<<2)+g|0;f=O[g|0];e=e+8|0}N[l+12>>2]=e+(f&255);h=P[g+2>>1];break fd}if(!Jc(x,V,K+12|0)){break ed}h=N[K+12>>2];break fd}h=N[l+188>>2]}f=h<<2;E=P[f+169280>>1];$=O[f+169282|0];e=N[l+12>>2];if($>>>0<=32-e>>>0){B=N[V>>2];break ad}g=N[l+20>>2];f=e;while(1){if(g){x=N[l+8>>2]>>>8|0;N[l+8>>2]=x;R=N[l+16>>2];A=O[R|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=R+1;B=x|A<<24;N[l+8>>2]=B;A=40-f|0;f=e;if(A>>>0<$>>>0){continue}break ad}break}N[l+188>>2]=h}N[l+20>>2]=v;N[l+16>>2]=m;N[l+8>>2]=W;N[l+556>>2]=0;N[l+12>>2]=n}e=0;break $c}N[l+556>>2]=0;N[l+12>>2]=e+$;N[l+200>>2]=E+(N[($<<2)+169392>>2]&B>>>e);id:{jd:{kd:{ld:{e=N[K+8>>2];switch(e|0){case 1:break jd;case 0:break ld;default:break kd}}e=N[l+232>>2];break id}e=e-2|0;break id}e=N[l+236>>2]+1|0}N[l+232>>2]=N[l+236>>2];e=e-(e>>>0>=Z>>>0?Z:0)|0;N[l+236>>2]=e;e=N[l+252>>2]+(e<<2)|0;N[l+116>>2]=e;L[l+260|0]=O[e+N[l+180>>2]|0];e=1}La=K+16|0;if(e){break _c}f=2;break rc}E=l+624|0;R=N[l+20>>2];A=N[l+16>>2];x=N[N[l+152>>2]+(O[l+260|0]<<2)>>2];$=N[l+8>>2];f=$;md:{nd:{od:{pd:{qd:{rd:{v=N[l+12>>2];h=v;if(h-18>>>0<=14){m=A;g=v;e=R;while(1){if(!e){break rd}n=f>>>8|0;N[l+8>>2]=n;f=O[m|0];e=e-1|0;N[l+20>>2]=e;h=g-8|0;N[l+12>>2]=h;m=m+1|0;N[l+16>>2]=m;f=n|f<<24;N[l+8>>2]=f;n=g-26|0;g=h;if(n>>>0<15){continue}break}}n=f>>>h|0;g=n&255;f=x+(g<<2)|0;e=O[f|0];if(e>>>0>=9){h=h+8|0;f=(P[(x+(g<<2)|0)+2>>1]+(N[(e<<2)+169360>>2]&n>>>8&127)<<2)+f|0;e=O[f|0]}N[l+12>>2]=(e&255)+h;e=P[f+2>>1];break qd}if(!Jc(x,J,Y+12|0)){break pd}e=N[Y+12>>2]}f=0;N[l+180>>2]=0;m=N[l+200>>2];N[l+200>>2]=m-1;x=e;if(e>>>0<=15){if(x>>>0>3){break md}f=1>>>x|0;N[l+180>>2]=f;e=N[l+72>>2];h=N[(l+((e+(x^-1)&3)<<2)|0)+76>>2];N[l+72>>2]=e-f;break Bc}V=O[x+E|0];if(!V){break nd}sd:{if(V>>>0<=24){n=N[l+12>>2];td:{if(V>>>0<=32-n>>>0){K=N[J>>2];break td}f=N[l+20>>2];e=n;while(1){if(!f){break sd}E=N[l+8>>2]>>>8|0;N[l+8>>2]=E;h=N[l+16>>2];g=O[h|0];f=f-1|0;N[l+20>>2]=f;n=e-8|0;N[l+12>>2]=n;N[l+16>>2]=h+1;K=E|g<<24;N[l+8>>2]=K;g=40-e|0;e=n;if(g>>>0>>0){continue}break}}N[l+12>>2]=n+V;f=N[(V<<2)+169392>>2]&K>>>n;break nd}Z=N[J+8>>2];K=Z;W=N[J+12>>2];X=W;B=N[J>>2];f=B;ud:{vd:{m=N[J+4>>2];n=m;if(m-17>>>0<=15){e=m;while(1){if(!X){break vd}g=f>>>8|0;N[J>>2]=g;f=O[K|0];X=X-1|0;N[J+12>>2]=X;n=e-8|0;N[J+4>>2]=n;K=K+1|0;N[J+8>>2]=K;f=g|f<<24;N[J>>2]=f;g=e-25|0;e=n;if(g>>>0<16){continue}break}}e=n+16|0;N[J+4>>2]=e;V=V-16|0;wd:{if(V>>>0<=16-n>>>0){g=f;h=e;break wd}g=f;while(1){if(!X){break vd}E=g>>>8|0;N[J>>2]=E;g=O[K|0];X=X-1|0;N[J+12>>2]=X;h=e-8|0;N[J+4>>2]=h;K=K+1|0;N[J+8>>2]=K;g=E|g<<24;N[J>>2]=g;E=40-e|0;e=h;if(E>>>0>>0){continue}break}}N[J+4>>2]=h+V;N[Y+8>>2]=f>>>n&65535|(N[(V<<2)+169392>>2]&g>>>h)<<16;e=1;break ud}N[J+12>>2]=W;N[J+8>>2]=Z;N[J>>2]=B;N[J+4>>2]=m;e=0}if(e){break od}m=N[l+200>>2]+1|0}N[l+20>>2]=R;N[l+16>>2]=A;N[l+8>>2]=$;N[l+200>>2]=m;N[l+12>>2]=v}f=2;break rc}f=N[Y+8>>2]}h=N[(l+(x<<2)|0)+1168>>2]+(f<>2])|0;break Bc}e=x>>>0<10;e=((6312258>>>(x+(e?-4:-10)<<2)&7)+N[(l+((N[l+72>>2]+(e?3:10)&3)<<2)|0)+76>>2]|0)-3|0;h=(e|0)<=0?2147483647:e}N[l+268>>2]=h;f=N[l+60>>2];e=N[l+56>>2];if((f|0)!=(e|0)){f=(e|0)>(k|0)?k:e;N[l+60>>2]=f}i=N[l+264>>2];xd:{if((f|0)<(h|0)){if((h|0)>2147483644){f=-16;break oc}if(i-4>>>0>20){f=-12;break oc}e=N[l+584>>2];n=N[(e+(i<<2)|0)+32>>2];v=O[e+i|0];N[l+72>>2]=N[l+72>>2]+N[l+180>>2];g=N[e+164>>2];if(!g){f=-19;break oc}e=(f^-1)+h|0;h=e>>v;m=N[l+588>>2];if((h|0)>=N[m+12>>2]){f=-11;break oc}f=g+(n+T(e&N[(v<<2)+169392>>2],i)|0)|0;e=N[l+96>>2]+k|0;yd:{if((h|0)==M[m+24>>1]){F(e,f,i);e=i;break yd}e=$l(e,f,i,m,h)}N[l+184>>2]=N[l+184>>2]-e;k=e+k|0;if((k|0)>2]){h=k;break xd}N[l>>2]=15;f=1;break rc}n=N[l+96>>2];f=N[l+68>>2];e=N[l+72>>2];N[(l+((e&3)<<2)|0)+76>>2]=h;N[l+72>>2]=e+1;N[l+184>>2]=N[l+184>>2]-i;g=f&k-h;v=g+n|0;f=O[v|0]|O[v+1|0]<<8|(O[v+2|0]<<16|O[v+3|0]<<24);e=O[v+4|0]|O[v+5|0]<<8|(O[v+6|0]<<16|O[v+7|0]<<24);m=k+n|0;n=O[v+12|0]|O[v+13|0]<<8|(O[v+14|0]<<16|O[v+15|0]<<24);h=O[v+8|0]|O[v+9|0]<<8|(O[v+10|0]<<16|O[v+11|0]<<24);L[m+8|0]=h;L[m+9|0]=h>>>8;L[m+10|0]=h>>>16;L[m+11|0]=h>>>24;L[m+12|0]=n;L[m+13|0]=n>>>8;L[m+14|0]=n>>>16;L[m+15|0]=n>>>24;L[m|0]=f;L[m+1|0]=f>>>8;L[m+2|0]=f>>>16;L[m+3|0]=f>>>24;L[m+4|0]=e;L[m+5|0]=e>>>8;L[m+6|0]=e>>>16;L[m+7|0]=e>>>24;h=i+k|0;f=g+i|0;if((g|0)<(h|0)&(f|0)>(k|0)){break xc}e=N[l+64>>2];if((e|0)<=(h|0)|(e|0)<=(f|0)){break xc}if((i|0)<17){break xd}g=v+16|0;k=m+16|0;if(i>>>0>=33){F(k,g,i-16|0);break xd}f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);e=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);n=O[g+12|0]|O[g+13|0]<<8|(O[g+14|0]<<16|O[g+15|0]<<24);g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);L[k+8|0]=g;L[k+9|0]=g>>>8;L[k+10|0]=g>>>16;L[k+11|0]=g>>>24;L[k+12|0]=n;L[k+13|0]=n>>>8;L[k+14|0]=n>>>16;L[k+15|0]=n>>>24;L[k|0]=f;L[k+1|0]=f>>>8;L[k+2|0]=f>>>16;L[k+3|0]=f>>>24;L[k+4|0]=e;L[k+5|0]=e>>>8;L[k+6|0]=e>>>16;L[k+7|0]=e>>>24}if(N[l+184>>2]>0){k=h;break yc}N[l>>2]=14;f=1;k=h;break rc}f=N[l+64>>2]-k|0;zd:{Ad:{while(1){e=i-1|0;if((i|0)<=0){break Ad}g=N[l+96>>2];L[g+k|0]=O[g+(N[l+68>>2]&k-N[l+268>>2])|0];k=k+1|0;i=e;f=f-1|0;if(f){continue}break}N[l>>2]=16;break zd}if(N[l+184>>2]>0){i=e;break yc}N[l>>2]=14}f=1;i=e;break rc}f=2;break rc}h=0;continue}h=3;continue}R=N[l+20>>2];A=N[l+16>>2];B=N[l+104>>2];E=N[l+8>>2];f=E;e=l;l=e;Bd:{Cd:{v=N[e+12>>2];h=v;if(h-18>>>0<=14){m=A;g=v;n=R;while(1){if(!n){break Cd}x=f>>>8|0;N[l+8>>2]=x;f=O[m|0];n=n-1|0;N[l+20>>2]=n;h=g-8|0;N[l+12>>2]=h;m=m+1|0;N[l+16>>2]=m;f=x|f<<24;N[l+8>>2]=f;x=g-26|0;g=h;if(x>>>0<15){continue}break}}i=f>>>h|0;f=B+((i&255)<<2)|0;g=O[f|0];if(g>>>0>=9){h=h+8|0;f=(P[f+2>>1]+(N[(g<<2)+169360>>2]&i>>>8&127)<<2)+f|0;g=O[f|0]}N[l+12>>2]=(g&255)+h;e=P[f+2>>1];break Bd}if(!Jc(B,J,Y+12|0)){break tc}e=N[Y+12>>2]}f=e<<3;e=O[f+171587|0];N[l+180>>2]=e;N[l+268>>2]=L[f+171586|0];L[l+260|0]=O[e+N[l+116>>2]|0];i=P[f+171588>>1];x=P[f+171590>>1];W=O[f+171585|0];K=0;B=O[f+171584|0];if(B){e=N[l+12>>2];Dd:{if(B>>>0<=32-e>>>0){m=N[J>>2];break Dd}h=N[l+20>>2];f=e;while(1){if(!h){break uc}m=N[l+8>>2]>>>8|0;N[l+8>>2]=m;n=N[l+16>>2];g=O[n|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=n+1;m=m|g<<24;N[l+8>>2]=m;g=40-f|0;f=e;if(g>>>0>>0){continue}break}}N[l+12>>2]=e+B;K=N[(B<<2)+169392>>2]&m>>>e}if(W){e=N[l+12>>2];Ed:{if(W>>>0<=32-e>>>0){m=N[J>>2];break Ed}h=N[l+20>>2];f=e;while(1){if(!h){break uc}m=N[l+8>>2]>>>8|0;N[l+8>>2]=m;n=N[l+16>>2];g=O[n|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=n+1;m=m|g<<24;N[l+8>>2]=m;g=40-f|0;f=e;if(g>>>0>>0){continue}break}}N[l+12>>2]=e+W;e=N[(W<<2)+169392>>2]&m>>>e}else{e=0}N[l+264>>2]=e+x;N[l+196>>2]=N[l+196>>2]-1;i=i+K|0;if(i){break sc}}i=0;h=1;continue}N[l+16>>2]=A;N[l+8>>2]=E;N[l+20>>2]=R;N[l+12>>2]=v}f=2;break rc}N[l+184>>2]=N[l+184>>2]-i;h=2;continue}break}N[l+4>>2]=i;N[l+52>>2]=k}La=Y+16|0;h=f;continue}h=Rf(j+16|0,j+8|0,ha,j+12|0,0);if((h|0)!=1){continue}if(O[j+576|0]&8){F(N[j+112>>2],N[j+116>>2],N[j+68>>2]);M[j+576>>1]=P[j+576>>1]&65527}if(N[j+80>>2]==1<>2]){N[j+76>>2]=N[j+72>>2]}Fd:{switch(N[j+16>>2]-15|0){case 0:if(!N[j+200>>2]){break _a}N[j+16>>2]=7;continue Oa;case 1:N[j+16>>2]=10;continue Oa;default:break Fd}}if(!N[j+20>>2]){if(!N[j+200>>2]){break _a}N[j+16>>2]=9;continue Oa}N[j+16>>2]=8;continue Oa}h=-10;if(N[j+200>>2]<0){continue}Qa[N[j+44>>2]](N[j+48>>2],N[j+596>>2]);N[j+596>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+592>>2]);N[j+592>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+268>>2]);N[j+268>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+136>>2]);N[j+136>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+152>>2]);N[j+152>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+168>>2]);N[j+168>>2]=0;if(!(L[j+576|0]&1)){N[j+16>>2]=3;continue Oa}e=N[j+28>>2];f=0-e&7;Gd:{if(!f){g=e;break Gd}g=e+f|0;N[j+28>>2]=g;h=-15;if(N[(f<<2)+169392>>2]&N[j+24>>2]>>>e){continue}}if(!N[j+64>>2]){f=32-g|0;e=f>>>3|0;y=e+N[j+36>>2]|0;N[j+36>>2]=y;S=N[j+32>>2]-e|0;N[j+32>>2]=S;e=f&-8;N[j+28>>2]=e+g;N[j+24>>2]=(e|0)!=32?N[j+24>>2]<>2]=26}if(!N[j+112>>2]){f=1;break Ma}f=1;h=Rf(j+16|0,j+8|0,ha,j+12|0,1);if((h|0)!=1){continue}break Ma}N[j+20>>2]=e;h=2;continue}m=j+16|0;if(Yl(m)){k=j+8|0;n=j+12|0;e=N[m+548>>2];Hd:{while(1){Id:{Jd:{switch(e|0){case 0:l=N[m+52>>2];h=l+N[m+96>>2]|0;g=N[m+64>>2];e=N[m+20>>2];i=N[m+12>>2];f=e>>>0>1073741824?1073741824:e+(32-i>>>3|0)|0;e=N[m+184>>2];e=(e|0)>(f|0)?f:e;f=(g|0)<(e+l|0)?g-l|0:e;Kd:{if(!f){e=f;break Kd}e=f;if(i-33>>>0>4294967287){break Kd}while(1){L[h|0]=N[m+8>>2]>>>i;g=N[m+12>>2];i=g+8|0;N[m+12>>2]=i;e=e-1|0;h=h+1|0;if(g-25>>>0>4294967287){break Kd}if(e){continue}break}}F(h,N[m+16>>2],e);N[m+20>>2]=N[m+20>>2]-e;N[m+16>>2]=N[m+16>>2]+e;g=f+N[m+52>>2]|0;N[m+52>>2]=g;e=N[m+184>>2];N[m+184>>2]=e-f;if((g|0)<1<>2]){break Id}N[m+548>>2]=1;break;case 1:break Jd;default:continue}}e=Rf(m,k,ha,n,0);if((e|0)!=1){break Hd}if(N[m+64>>2]==1<>2]){N[m+60>>2]=N[m+56>>2]}e=0;N[m+548>>2]=0;continue}break}e=(e|0)==(f|0)?1:2}}else{e=-26}h=e;if((e|0)!=1){continue}break _a}h=N[j+20>>2];if((h|0)<3){break Xa}N[j+16>>2]=5;continue Oa}e=N[j+28>>2];Ld:{if(e-27>>>0>=6){h=N[j+24>>2];break Ld}h=2;i=N[j+36>>2];if(!i){continue}h=N[j+24>>2]>>>8|0;N[j+24>>2]=h;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=i-1;N[j+32>>2]=g+1;h=h|f<<24;N[j+24>>2]=h;e=e-8|0}N[j+28>>2]=e+6;e=h>>>e&63;N[j+580>>2]=e;h=-13;if(e-31>>>0<4294967275){continue}N[j+16>>2]=2}N[j+72>>2]=(1<>2]](N[j+48>>2],12336)|0;N[j+184>>2]=e;h=-30;if(!e){continue}N[j+188>>2]=e+7584}N[j+592>>2]=0;N[j+596>>2]=0;N[j+248>>2]=1;N[j+252>>2]=0;N[j+240>>2]=1;N[j+244>>2]=0;N[j+232>>2]=1;N[j+236>>2]=0;N[j+224>>2]=1;N[j+228>>2]=1;N[j+216>>2]=16777216;N[j+220>>2]=1;N[j+208>>2]=16777216;N[j+212>>2]=16777216;N[j+200>>2]=0;N[j+152>>2]=0;N[j+156>>2]=0;N[j+168>>2]=0;N[j+172>>2]=0;N[j+132>>2]=0;N[j+136>>2]=0;N[j+140>>2]=0;N[j+124>>2]=0;N[j+128>>2]=0;L[la+8|0]=0;N[la>>2]=0;N[la+4>>2]=0;N[j+16>>2]=4}e=N[j+560>>2];g=-31;Md:{Nd:{Od:{Pd:{Qd:{Rd:{Sd:{Td:{Ud:{Vd:{Wd:{Xd:{Yd:{while(1){Zd:{_d:{switch(e|0){case 2:e=N[r+4>>2];break Zd;case 0:e=N[r+4>>2];$d:{if((e|0)!=32){h=N[r>>2];break $d}i=N[r+12>>2];if(!i){break Nd}h=N[r>>2]>>>8|0;N[r>>2]=h;e=N[r+8>>2];f=O[e|0];N[r+12>>2]=i-1;N[r+8>>2]=e+1;e=24;h=h|f<<24;N[r>>2]=h}N[r+4>>2]=e+1;N[j+200>>2]=0;e=1<>1]=P[j+576>>1]&65528|(e|0)!=0;if(!e){e=2;N[j+560>>2]=2;continue}N[j+560>>2]=1;break;case 7:break Rd;case 6:break Td;case 5:break Ud;case 4:break Wd;case 3:break Yd;case 1:break _d;default:break Md}}h=N[r+4>>2];ae:{if((h|0)!=32){i=N[r>>2];break ae}h=N[r+12>>2];if(!h){break Nd}i=N[r>>2]>>>8|0;N[r>>2]=i;f=N[r+8>>2];e=O[f|0];N[r+12>>2]=h-1;N[r+8>>2]=f+1;h=24;i=i|e<<24;N[r>>2]=i}e=h+1|0;N[r+4>>2]=e;if(i>>>h&1){N[j+560>>2]=0;g=1;break Md}N[j+560>>2]=2}be:{if(e-31>>>0>=2){h=N[r>>2];break be}n=N[r+12>>2];if(!n){break Nd}i=N[r>>2]>>>8|0;N[r>>2]=i;h=N[r+8>>2];f=O[h|0];N[r+12>>2]=n-1;N[r+8>>2]=h+1;h=i|f<<24;N[r>>2]=h;e=e-8|0}N[r+4>>2]=e+2;N[j+20>>2]=0;f=h>>>e&3;e=P[j+576>>1]&-16321|f<<6|256;M[j+576>>1]=e;if((f|0)==3){M[j+576>>1]=e|4;e=5;N[j+560>>2]=5;continue}break}N[j+560>>2]=3;f=0;break Xd}e=P[j+576>>1];f=N[j+20>>2]}if((f|0)<(e>>>6&255)){h=N[r+4>>2];while(1){g=f;ce:{if(h-29>>>0>=4){f=N[r>>2];e=h;break ce}n=N[r+12>>2];if(!n){break Pd}i=N[r>>2]>>>8|0;N[r>>2]=i;f=N[r+8>>2];e=O[f|0];N[r+12>>2]=n-1;N[r+8>>2]=f+1;f=i|e<<24;N[r>>2]=f;e=h-8|0}h=e+4|0;N[r+4>>2]=h;n=f>>>e&15;f=g+1|0;e=P[j+576>>1];i=e>>>6&255;if(!(n|((f|0)!=(i|0)|i>>>0<5))){g=-1;break Md}N[j+200>>2]=N[j+200>>2]|n<<(g<<2);if((f|0)<(i|0)){continue}break}}N[j+560>>2]=4;break Vd}e=P[j+576>>1]}if(!(e&1)){e=N[r+4>>2];de:{if((e|0)!=32){f=N[r>>2];break de}h=N[r+12>>2];if(!h){break Nd}g=N[r>>2]>>>8|0;N[r>>2]=g;e=N[r+8>>2];f=O[e|0];N[r+12>>2]=h-1;N[r+8>>2]=e+1;e=24;f=g|f<<24;N[r>>2]=f}N[r+4>>2]=e+1;M[j+576>>1]=P[j+576>>1]&65533|(f>>>e&1)<<1}N[j+560>>2]=0;N[j+200>>2]=N[j+200>>2]+1;g=1;break Md}f=N[r+4>>2];ee:{if((f|0)!=32){h=N[r>>2];break ee}h=N[r+12>>2];if(!h){break Nd}g=N[r>>2]>>>8|0;N[r>>2]=g;f=N[r+8>>2];e=O[f|0];N[r+12>>2]=h-1;N[r+8>>2]=f+1;f=24;h=g|e<<24;N[r>>2]=h}e=f+1|0;N[r+4>>2]=e;g=-2;if(h>>>f&1){break Md}N[j+560>>2]=6;break Sd}e=N[r+4>>2]}g=2;fe:{if(e-31>>>0>=2){f=N[r>>2];break fe}i=N[r+12>>2];if(!i){break Md}h=N[r>>2]>>>8|0;N[r>>2]=h;g=N[r+8>>2];f=O[g|0];N[r+12>>2]=i-1;N[r+8>>2]=g+1;f=h|f<<24;N[r>>2]=f;e=e-8|0}N[r+4>>2]=e+2;e=f>>>e&3;if(!e){N[j+560>>2]=0;g=1;break Md}N[j+560>>2]=7;f=P[j+576>>1]&-16321|e<<6;M[j+576>>1]=f;break Qd}f=P[j+576>>1]}e=N[j+20>>2];ge:{if((e|0)>=(f>>>6&255)){h=N[j+200>>2];break ge}f=N[r+4>>2];while(1){g=e;he:{if(f-25>>>0>=8){i=N[r>>2];e=f;break he}n=N[r+12>>2];if(!n){break Od}i=N[r>>2]>>>8|0;N[r>>2]=i;h=N[r+8>>2];e=O[h|0];N[r+12>>2]=n-1;N[r+8>>2]=h+1;i=i|e<<24;N[r>>2]=i;e=f-8|0}f=e+8|0;N[r+4>>2]=f;h=i>>>e&255;e=g+1|0;i=P[j+576>>1]>>>6&255;if(!(h|((e|0)!=(i|0)|i>>>0<2))){g=-3;break Md}h=N[j+200>>2]|h<<(g<<3);N[j+200>>2]=h;if((e|0)<(i|0)){continue}break}}N[j+560>>2]=0;N[j+200>>2]=h+1;g=1;break Md}N[j+20>>2]=g;break Nd}N[j+20>>2]=g}g=2}h=g;if((g|0)!=1){continue}ie:{e=P[j+576>>1];if(!(e&6)){break ie}g=N[j+28>>2];f=0-g&7;if(f){N[j+28>>2]=f+g;h=-14;if(N[(f<<2)+169392>>2]&N[j+24>>2]>>>g){continue}}if(!(e&4)){break ie}N[j+16>>2]=12;continue Oa}if(N[j+200>>2]){break Za}}N[j+16>>2]=14;continue Oa}e=1<>2];h=N[j+80>>2];je:{if((e|0)==(h|0)){break je}g=P[j+576>>1];if(g&4){break je}f=N[j+112>>2]?N[j+68>>2]:0;ke:{if(!(g&16)){f=e;break ke}g=h?h:1024;f=f+N[j+200>>2]|0;g=(f|0)<(g|0)?g:f;while(1){f=e;e=e>>1;if((g|0)<=(e|0)){continue}break}}N[j+584>>2]=f}if(!(O[j+576|0]&2)){break Ya}N[j+16>>2]=11;continue Oa}N[j+804>>2]=ia;N[j+16>>2]=18;N[j+20>>2]=0;N[j+648>>2]=0;N[j+652>>2]=0;N[j+640>>2]=0;N[j+644>>2]=0;h=0}h=Xl(j+16|0,r,(j+(h<<2)|0)+220|0);if((h|0)!=1){continue}f=j+220|0;e=f+(N[j+20>>2]<<2)|0;N[e>>2]=N[e>>2]+1;e=N[j+20>>2];h=N[f+(e<<2)>>2];if(h>>>0<=1){h=1;N[j+20>>2]=e+1;continue}N[j+16>>2]=19}f=h+2|0;h=Qf(f,f,N[j+184>>2]+T(e,2528)|0,0,j+16|0);if((h|0)!=1){continue}N[j+16>>2]=20}h=Qf(26,26,N[j+188>>2]+T(N[j+20>>2],1584)|0,0,j+16|0);if((h|0)!=1){continue}N[j+16>>2]=21}m=N[j+20>>2];le:{if(!N[j+572>>2]){k=N[j+188>>2]+T(m,1584)|0;me:{g=N[j+28>>2];ne:{if(g-18>>>0>=15){i=N[j+24>>2];break ne}e=N[j+32>>2];i=N[j+24>>2];h=N[j+36>>2];f=g;while(1){if(!h){break me}n=i>>>8|0;N[j+24>>2]=n;i=O[e|0];h=h-1|0;N[j+36>>2]=h;g=f-8|0;N[j+28>>2]=g;e=e+1|0;N[j+32>>2]=e;i=n|i<<24;N[j+24>>2]=i;n=f-26|0;f=g;if(n>>>0<15){continue}break}}e=j;i=i>>>g|0;h=k+((i&255)<<2)|0;f=O[h|0];if(f>>>0>=9){g=g+8|0;h=(P[h+2>>1]+(N[(f<<2)+169360>>2]&i>>>8&127)<<2)+h|0;f=O[h|0]}N[e+28>>2]=(f&255)+g;n=P[h+2>>1];break le}if(!Jc(k,r,j+5036|0)){h=2;continue}n=N[j+5036>>2];break le}n=N[j+204>>2]}e=n<<2;l=P[e+169280>>1];oe:{v=O[e+169282|0];g=N[j+28>>2];pe:{if(v>>>0<=32-g>>>0){i=N[j+24>>2];break pe}e=N[j+32>>2];i=N[j+24>>2];h=N[j+36>>2];f=g;while(1){if(!h){break oe}k=i>>>8|0;N[j+24>>2]=k;i=O[e|0];h=h-1|0;N[j+36>>2]=h;g=f-8|0;N[j+28>>2]=g;e=e+1|0;N[j+32>>2]=e;i=k|i<<24;N[j+24>>2]=i;k=40-f|0;f=g;if(k>>>0>>0){continue}break}}N[j+28>>2]=g+v;N[(j+(m<<2)|0)+208>>2]=l+(N[(v<<2)+169392>>2]&i>>>g);N[j+572>>2]=0;N[j+16>>2]=18;h=1;N[j+20>>2]=N[j+20>>2]+1;continue}N[j+572>>2]=1;N[j+204>>2]=n;h=2;continue}e=N[j+28>>2];qe:{if((e|0)!=32){h=N[j+32>>2];f=e-8|0;break qe}h=2;e=N[j+36>>2];if(!e){continue}i=N[j+24>>2]>>>8|0;N[j+24>>2]=i;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=e-1;e=24;N[j+28>>2]=24;h=g+1|0;N[j+32>>2]=h;N[j+24>>2]=i|f<<24;f=16}re:{if(!(h&1)){break re}i=N[j+36>>2];if(!i){break re}g=N[j+24>>2]>>>8|0;N[j+24>>2]=g;e=O[h|0];N[j+36>>2]=i-1;N[j+32>>2]=h+1;N[j+24>>2]=g|e<<24;e=f}n=P[j+576>>1];M[j+576>>1]=n&65503;f=e+1|0;N[j+28>>2]=f;k=N[j+24>>2];if(!(k>>>e&1)){h=16;break Pa}i=e+4|0;N[j+28>>2]=i;f=k>>>f&7;if(f){h=f+17|0;break Pa}g=e+7|0;N[j+28>>2]=g;h=17;se:{te:{f=k>>>i&7;switch(f|0){case 0:break Pa;case 1:break te;default:break se}}h=-13;if(!(n&32)){continue}N[j+28>>2]=e+8;if(k>>>g&1){continue}h=1;N[j+16>>2]=1;M[j+576>>1]=n|32;continue}break}h=f|8}N[j+16>>2]=2;N[j+580>>2]=h;continue}}N[j+108>>2]=f;N[q+124>>2]=N[j+12>>2];Qa[N[j+44>>2]](N[j+48>>2],N[j+596>>2]);N[j+596>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+592>>2]);N[j+592>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+268>>2]);N[j+268>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+136>>2]);N[j+136>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+152>>2]);N[j+152>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+168>>2]);N[j+168>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+112>>2]);N[j+112>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+184>>2]);La=j+5040|0;e=((f-1>>>0<3?f:0)|0)==1&(z|0)==N[q+124>>2];f=e?0:8;N[q+120>>2]=f;if(N[a+20>>2]){h=N[a>>2];if(h){g=N[a+28>>2];Qa[N[g+8>>2]](g,h)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;if(!e){d=c;break ia}A=z;ea=q+16|0;g=0;z=0;l=0;la=0;p=La-48|0;La=p;f=N[q+20>>2];N[p+16>>2]=f;_=P[q+64>>1];k=_<<4|12;N[p+12>>2]=k;N[p+4>>2]=0;U=q+24|0;V=N[U>>2];ue:{ve:{if(_){we:{while(1){i=N[(g<<2)+I>>2];if(N[i+4>>2]==1735162214){break we}g=g+1|0;if((_|0)!=(g|0)){continue}break}i=0}N[U+12>>2]=i;ka=U+12|0;g=0;xe:{while(1){e=N[(g<<2)+I>>2];if(N[e+4>>2]!=1819239265){g=g+1|0;if((_|0)!=(g|0)){continue}break xe}break}N[U+16>>2]=e;E=8;if(!i|(N[e+16>>2]^N[i+16>>2])&256){break ue}v=U+16|0;break ve}N[U+16>>2]=0;E=8;if(i){break ue}v=U+16|0;break ve}N[U+12>>2]=0;N[U+16>>2]=0;ka=U+12|0;v=U+16|0}ye:{ze:{Ae:{Be:{D=Qa[N[t+4>>2]](t,16)|0;if(D){L[D|0]=0;L[D+1|0]=0;L[D+2|0]=0;L[D+3|0]=0;L[D+4|0]=0;L[D+5|0]=0;L[D+6|0]=0;L[D+7|0]=0;L[D+8|0]=0;L[D+9|0]=0;L[D+10|0]=0;L[D+11|0]=0;L[D+12|0]=0;L[D+13|0]=0;L[D+14|0]=0;L[D+15|0]=0;o=Qa[N[t+4>>2]](t,40)|0;if(o){break Be}o=0;E=64;break Ae}N[q+20>>2]=f;E=64;break ue}L[o|0]=0;L[o+1|0]=0;L[o+2|0]=0;L[o+3|0]=0;L[o+4|0]=0;L[o+5|0]=0;L[o+6|0]=0;L[o+7|0]=0;L[o+32|0]=0;L[o+33|0]=0;L[o+34|0]=0;L[o+35|0]=0;L[o+36|0]=0;L[o+37|0]=0;L[o+38|0]=0;L[o+39|0]=0;L[o+8|0]=0;L[o+9|0]=0;L[o+10|0]=0;L[o+11|0]=0;L[o+12|0]=0;L[o+13|0]=0;L[o+14|0]=0;L[o+15|0]=0;L[o+24|0]=0;L[o+25|0]=0;L[o+26|0]=0;L[o+27|0]=0;L[o+28|0]=0;L[o+29|0]=0;L[o+30|0]=0;L[o+31|0]=0;L[o+16|0]=0;L[o+17|0]=0;L[o+18|0]=0;L[o+19|0]=0;L[o+20|0]=0;L[o+21|0]=0;L[o+22|0]=0;L[o+23|0]=0;N[o+4>>2]=A;N[o>>2]=u;N[o+32>>2]=0;N[o+8>>2]=0;N[o+24>>2]=0;N[o+20>>2]=0;Ce:{De:{if(!_){break De}pa=u+8|0;R=12;while(1){g=N[(la<<2)+I>>2];e=N[g+28>>2];s=N[g+24>>2];r=N[g+20>>2];h=N[g+16>>2];ha=N[g+8>>2];Y=N[g+4>>2];Ee:{g=N[o+20>>2];if(g){if(!(Qa[g|0](o,r,0,0)|0)){break Ee}E=85;break Ae}if(r>>>0<=Q[o+4>>2]){break Ee}E=85;break Ae}N[o+8>>2]=r;E=8;if(A>>>0>>0){break Ae}Fe:{Ge:{He:{if((Y|0)==1751672161){g=r+34|0;e=N[o+20>>2];Ie:{if(e){if(Qa[e|0](o,g,0,0)|0){break Ae}y=N[o+4>>2];break Ie}y=N[o+4>>2];if(y>>>0>>0){break Ae}}N[o+8>>2]=g;if(r+35>>>0>=y>>>0){break Ae}Je:{Ke:{e=N[o+20>>2];Le:{if(e){if((Qa[e|0](o,g,p+44|0,2)|0)!=2){break Ae}g=N[o+8>>2];e=p+44|0;break Le}e=N[o>>2];if(!e){break Ke}e=e+g|0}e=O[e|0]|O[e+1|0]<<8;l=e<<8|e>>>8;break Je}l=0}N[o+8>>2]=g+2;M[U+6>>1]=l;if(!(h&256)){break He}break Ae}M[U+6>>1]=l;N[p+8>>2]=0;if(h&256){break Ge}if((Y|0)!=1751474532){break He}if(s>>>0<12){break Ae}e=r+pa|0;L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}m=r+u|0;g=0;h=0;y=s&-4;if(y){while(1){h=(O[m+(g|3)|0]|(O[m+(g|1)|0]<<16|O[g+m|0]<<24|O[m+(g|2)|0]<<8))+h|0;g=g+4|0;if(y>>>0>g>>>0){continue}break}}if((s|0)!=(y|0)){g=0;Me:{if(s>>>0<=y>>>0){break Me}n=s&1;if((s|0)!=(y|1)){i=(s&3)-n|0;j=0;while(1){e=y<<3&16;g=O[m+(y|1)|0]<<(e^16)|(O[m+y|0]<<(e^24)|g);y=y+2|0;j=j+2|0;if((i|0)!=(j|0)){continue}break}}if(!n){break Me}g=O[m+y|0]<<((y^-1)<<3)|g}h=g+h|0}N[p+8>>2]=h;h=k+s|0;if(h>>>0>31457280){break Ce}g=N[ea>>2];if(g>>>0>>0){if((g|h)<0){break Ce}Ne:{if(!g){f=Qa[N[t+4>>2]](t,h)|0;e=!f<<6;break Ne}e=Qa[N[t+12>>2]](t,g,h,f)|0;f=e?e:f;e=!e<<6}Oe:{if(!(e|(g|0)>=(h|0)|!f)){C(f+g|0,0,h-g|0);break Oe}if(e){break Ce}}N[ea>>2]=h}F(f+k|0,m,s);N[p+16>>2]=f;N[p+12>>2]=h;break Fe}Pe:{Qe:{Re:{Se:{Te:{Ue:{Ve:{We:{Xe:{Ye:{Ze:{_e:{$e:{af:{bf:{if((Y|0)!=1819239265){if((Y|0)==1752003704){break bf}if((Y|0)!=1735162214){break Ae}N[p+40>>2]=f;N[p+36>>2]=k;G=Qa[N[t+4>>2]](t,84)|0;if(!G){break af}C(G,0,84);g=N[o+8>>2]+4|0;e=N[o+20>>2];cf:{if(e){if(Qa[e|0](o,g,0,0)|0){break cf}break $e}if(g>>>0<=Q[o+4>>2]){break $e}}N[p+44>>2]=85;break _e}N[p+8>>2]=N[p+4>>2];k=e;break Fe}g=l;if(!z){e=0;s=La-16|0;La=s;df:{while(1){g=N[(e<<2)+I>>2];if(N[g+4>>2]==1835104368){break df}e=e+1|0;if((_|0)!=(e|0)){continue}break}g=0}e=0;ef:{ff:{while(1){i=N[(e<<2)+I>>2];if(N[i+4>>2]==1751474532){break ff}e=e+1|0;if((_|0)!=(e|0)){continue}break}e=8;break ef}e=8;if(!g|!N[U+16>>2]){break ef}n=N[g+20>>2];f=N[o+20>>2];gf:{hf:{if(f){e=85;if(Qa[f|0](o,n,0,0)|0){break ef}N[o+8>>2]=n;j=o+8|0;h=n+8|0;f=N[o+20>>2];if(!f){break hf}if(Qa[f|0](o,h,0,0)|0){break ef}g=N[o+4>>2];break gf}e=85;if(n>>>0>Q[o+4>>2]){break ef}N[o+8>>2]=n;j=o+8|0;h=n+8|0}g=N[o+4>>2];if(h>>>0>g>>>0){break ef}}N[o+8>>2]=h;jf:{if(n+9>>>0>=g>>>0){break jf}kf:{lf:{f=N[o+20>>2];mf:{if(f){if((Qa[f|0](o,h,s+14|0,2)|0)!=2){break jf}h=N[j>>2];f=s+14|0;break mf}f=N[o>>2];if(!f){break lf}f=f+h|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break kf}f=0}N[o+8>>2]=h+2;M[U+4>>1]=f;h=N[i+20>>2];g=N[o+20>>2];nf:{of:{if(g){if(Qa[g|0](o,h,0,0)|0){break ef}N[o+8>>2]=h;n=h+50|0;g=N[o+20>>2];if(!g){break of}if(!(Qa[g|0](o,n,0,0)|0)){break nf}break ef}if(h>>>0>Q[o+4>>2]){break ef}N[j>>2]=h;n=h+50|0}if(n>>>0>Q[o+4>>2]){break ef}}N[o+8>>2]=n;N[s+8>>2]=0;g=xb(o,s+8|0);e=N[s+8>>2];if(e){break ef}m=f&65535;ta=U,ua=lb(t,2,0,m,0,s+8|0),N[ta+8>>2]=ua;e=N[s+8>>2];if(e){break ef}if(!m){e=0;break ef}i=g?4:2;n=N[N[U+16>>2]+20>>2];h=0;if(!g){while(1){e=N[o+20>>2];pf:{if(e){if(!(Qa[e|0](o,n,0,0)|0)){break pf}break jf}if(Q[o+4>>2]>>0){break jf}}N[o+8>>2]=n;N[s+8>>2]=0;f=xb(o,s+8|0);e=N[s+8>>2];if(e){break ef}g=N[N[U+12>>2]+20>>2]+(f<<1)|0;f=N[o+20>>2];qf:{rf:{if(f){e=85;if(Qa[f|0](o,g,0,0)|0){break ef}N[o+8>>2]=g;g=g+2|0;f=N[o+20>>2];if(!f){break rf}if(Qa[f|0](o,g,0,0)|0){break ef}break qf}if(g>>>0>Q[o+4>>2]){break jf}N[j>>2]=g;g=g+2|0}if(g>>>0>Q[o+4>>2]){break jf}}N[o+8>>2]=g;N[s+8>>2]=0;e=xb(o,s+8|0);M[N[U+8>>2]+(h<<1)>>1]=e;e=N[s+8>>2];if(e){break ef}n=i+n|0;e=0;h=h+1|0;if((m|0)!=(h|0)){continue}break ef}}while(1){e=N[o+20>>2];sf:{if(e){if(!(Qa[e|0](o,n,0,0)|0)){break sf}break jf}if(Q[o+4>>2]>>0){break jf}}N[o+8>>2]=n;N[s+8>>2]=0;f=Nb(o,s+8|0);e=N[s+8>>2];if(e){break ef}g=f+N[N[U+12>>2]+20>>2]|0;f=N[o+20>>2];tf:{uf:{if(f){e=85;if(Qa[f|0](o,g,0,0)|0){break ef}N[o+8>>2]=g;g=g+2|0;f=N[o+20>>2];if(!f){break uf}if(Qa[f|0](o,g,0,0)|0){break ef}break tf}if(g>>>0>Q[o+4>>2]){break jf}N[j>>2]=g;g=g+2|0}if(g>>>0>Q[o+4>>2]){break jf}}N[o+8>>2]=g;N[s+8>>2]=0;e=xb(o,s+8|0);M[N[U+8>>2]+(h<<1)>>1]=e;e=N[s+8>>2];if(e){break ef}n=i+n|0;e=0;h=h+1|0;if((m|0)!=(h|0)){continue}break}break ef}e=85}La=s+16|0;if(e){break Ae}g=P[U+6>>1]}r=P[U+4>>1];e=g&65535;y=N[U+8>>2];x=La-16|0;La=x;N[x+4>>2]=N[p+16>>2];N[x>>2]=N[p+12>>2];N[x+8>>2]=0;L[x+14|0]=0;g=N[o+8>>2];vf:{wf:{xf:{yf:{zf:{Af:{Bf:{Cf:{Df:{Ef:{f=N[o+20>>2];Ff:{if(f){if((Qa[f|0](o,g,x+14|0,1)|0)!=1){break Ef}g=N[o+8>>2];f=x+14|0;break Ff}if(Q[o+4>>2]<=g>>>0){break Ef}f=N[o>>2]+g|0}i=O[f|0];N[o+8>>2]=g+1;if(!(i&3)|i>>>0>3|(!e|r>>>0<=(e-1&65535)>>>0)){break wf}f=e<<1;s=Qa[N[t+4>>2]](t,f)|0;if(!s){break Df}h=0;C(s,0,f);f=r<<1;H=Qa[N[t+4>>2]](t,f)|0;Gf:{if(H){C(H,0,f);N[x+8>>2]=0;break Gf}f=!H<<6;N[x+8>>2]=f;if(f){break yf}}n=i&2;i=i&1;g=N[o+8>>2];f=0;while(1){if(Q[o+4>>2]<=g+1>>>0){break Bf}Hf:{If:{h=N[o+20>>2];Jf:{if(h){if((Qa[h|0](o,g,x+14|0,2)|0)!=2){break Bf}g=N[o+8>>2];h=x+14|0;break Jf}h=N[o>>2];if(!h){break If}h=g+h|0}h=O[h|0]|O[h+1|0]<<8;h=h<<8|h>>>8;break Hf}h=0}g=g+2|0;N[o+8>>2]=g;M[s+(f<<1)>>1]=h;f=f+1|0;if((e|0)!=(f|0)){continue}break}break Cf}N[x+8>>2]=85;break wf}N[x+8>>2]=64;break wf}f=0;N[x+8>>2]=0;Kf:{Lf:{if(!i){while(1){if(Q[o+4>>2]<=g+1>>>0){break Kf}Mf:{Nf:{h=N[o+20>>2];Of:{if(h){if((Qa[h|0](o,g,x+14|0,2)|0)!=2){break Kf}g=N[o+8>>2];h=x+14|0;break Of}h=N[o>>2];if(!h){break Nf}h=g+h|0}h=O[h|0]|O[h+1|0]<<8;h=h<<8|h>>>8;break Mf}h=0}g=g+2|0;N[o+8>>2]=g;M[H+(f<<1)>>1]=h;f=f+1|0;if((e|0)!=(f|0)){continue}break}N[x+8>>2]=0;break Lf}h=0;g=0;if(e-1>>>0>=3){i=e&65532;while(1){m=g<<1;M[m+H>>1]=P[m+y>>1];f=m|2;M[f+H>>1]=P[f+y>>1];f=m|4;M[f+H>>1]=P[f+y>>1];f=m|6;M[f+H>>1]=P[f+y>>1];g=g+4|0;if((i|0)!=(g|0)){continue}break}}i=e&3;if(!i){break Lf}while(1){f=g<<1;M[f+H>>1]=P[f+y>>1];g=g+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}Pf:{if(e>>>0>=r>>>0){break Pf}if(!n){g=e;while(1){f=xb(o,x+8|0);if(N[x+8>>2]){break Af}M[H+(g<<1)>>1]=f;g=g+1|0;if((r|0)!=(g|0)){continue}break}break Pf}n=r+(e^-1)|0;i=r-e&3;Qf:{if(!i){f=e;break Qf}g=0;f=e;while(1){h=f<<1;M[h+H>>1]=P[h+y>>1];f=f+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(n>>>0<3){break Pf}while(1){h=f<<1;M[h+H>>1]=P[h+y>>1];g=h+2|0;M[g+H>>1]=P[g+y>>1];g=h+4|0;M[g+H>>1]=P[g+y>>1];g=h+6|0;M[g+H>>1]=P[g+y>>1];f=f+4|0;if((r|0)!=(f|0)){continue}break}}n=e+r<<1;h=Qa[N[t+4>>2]](t,n)|0;if(h){g=0;C(h,0,n);N[x+8>>2]=0;f=h;while(1){if(e>>>0>g>>>0){i=s+(g<<1)|0;L[f|0]=O[i+1|0];L[f+1|0]=O[i|0];f=f+2|0}i=H+(g<<1)|0;L[f|0]=O[i+1|0];L[f+1|0]=O[i|0];f=f+2|0;g=g+1|0;if((r|0)!=(g|0)){continue}break}ta=p,ua=wh(h,n),N[ta+8>>2]=ua;if(El(x+4|0,ea,x,h,n,t)){break zf}N[p+16>>2]=N[x+4>>2];N[p+12>>2]=N[x>>2];if(s){Qa[N[t+8>>2]](t,s)}Qa[N[t+8>>2]](t,H);if(h){Qa[N[t+8>>2]](t,h)}e=N[x+8>>2];break vf}N[x+8>>2]=64;break Af}N[x+8>>2]=85;break Af}N[x+8>>2]=85}h=0}if(!s){break xf}}Qa[N[t+8>>2]](t,s)}if(H){Qa[N[t+8>>2]](t,H)}if(!h){break wf}Qa[N[t+8>>2]](t,h)}e=N[x+8>>2];e=e?e:8}La=x+16|0;if(e){break Ae}f=N[p+16>>2];break Fe}N[p+16>>2]=f;break Ae}N[o+8>>2]=g;N[p+44>>2]=0;ba=xb(o,p+44|0);if(N[p+44>>2]){break _e}na=xb(o,p+44|0);if(N[p+44>>2]){break _e}M[U+4>>1]=ba;n=0;h=0;y=0;H=ba+1|0;if(N[N[U+16>>2]+8>>2]!=H<<(na?2:1)|Q[N[ka>>2]+12>>2]<36){break Ve}g=Nb(o,p+44|0);if(N[p+44>>2]){break _e}if(g>>>0>N[N[ka>>2]+12>>2]-36>>>0){break Ve}N[G+8>>2]=g;e=r+36|0;N[G+4>>2]=e;N[G>>2]=e;j=0;m=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+36|0;if(m>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+20>>2]=m;e=g+r|0;N[G+16>>2]=e;N[G+12>>2]=e;i=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+m|0;if(i>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+32>>2]=i;e=g+r|0;N[G+28>>2]=e;N[G+24>>2]=e;m=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+i|0;if(m>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+44>>2]=m;e=g+r|0;N[G+40>>2]=e;N[G+36>>2]=e;i=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+m|0;if(i>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+56>>2]=i;e=g+r|0;N[G+52>>2]=e;N[G+48>>2]=e;m=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}i=g+i|0;if(m>>>0>N[N[ka>>2]+12>>2]-i>>>0){break Ve}N[G+68>>2]=m;e=i+r|0;N[G- -64>>2]=e;N[G+60>>2]=e;g=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}e=i+m|0;if(g>>>0>N[N[ka>>2]+12>>2]-e>>>0){break Ve}N[G+80>>2]=g;e=e+r|0;N[G+76>>2]=e;N[G+72>>2]=e;y=lb(t,4,0,H,0,p+44|0);if(N[p+44>>2]){break Xe}$=N[G+64>>2];N[G+64>>2]=$+(ba+31>>>3&16380);g=Qa[N[t+4>>2]](t,5120)|0;if(!g){break Ye}C(g,0,5120);N[p+44>>2]=0;ta=U,ua=lb(t,2,0,ba,0,p+44|0),N[ta+8>>2]=ua;if(!N[p+44>>2]){break Ze}h=g;break Xe}f=N[p+40>>2];N[p+16>>2]=f;n=0;h=0;j=0;y=0;break Se}Rf:{if(!ba){h=g;e=k;break Rf}e=5120;ca=0;h=g;while(1){N[p+32>>2]=0;M[p+30>>1]=0;g=(ca>>>3|0)+$|0;Sf:{f=N[o+20>>2];Tf:{if(f){if(Qa[f|0](o,g,0,0)|0){break Tf}break Sf}if(g>>>0<=Q[o+4>>2]){break Sf}}N[p+44>>2]=85;x=0;break Ue}N[o+8>>2]=g;x=0;N[p+44>>2]=0;g=Pd(o,p+44|0);if(N[p+44>>2]){break Ue}i=N[G+4>>2];f=N[o+20>>2];Uf:{if(f){if(Qa[f|0](o,i,0,0)|0){break We}break Uf}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;N[p+44>>2]=0;J=xb(o,p+44|0);if(N[p+44>>2]){break Ve}ia=g&128>>>(ca&7);N[G+4>>2]=N[G+4>>2]+2;Vf:{Wf:{Xf:{Yf:{if(J){if((J|0)==65535){L[p+22|0]=0;M[p+28>>1]=0;if(!ia){break Ve}m=N[G+52>>2];i=0;z=La-16|0;La=z;g=N[o+20>>2];Zf:{_f:{if(g){f=85;if(!(Qa[g|0](o,m,0,0)|0)){break _f}break Zf}f=85;if(m>>>0>Q[o+4>>2]){break Zf}}N[o+8>>2]=m;f=m;j=32;while(1){if(j&32){$f:{ag:{bg:{if(Q[o+4>>2]<=f+1>>>0){break bg}g=N[o+20>>2];cg:{if(g){if((Qa[g|0](o,f,z+14|0,2)|0)!=2){break bg}f=N[o+8>>2];g=z+14|0;break cg}g=N[o>>2];if(!g){break ag}g=f+g|0}g=O[g|0]|O[g+1|0]<<8;g=g<<8|g>>>8;break $f}f=85;break Zf}g=0}s=f+2|0;N[o+8>>2]=s;j=g;g=j&1?6:4;r=g+2|0;dg:{if(j&8){break dg}r=g+4|0;f=j&65535;if(f&64){break dg}r=g|f>>>4&8}f=r+s|0;eg:{g=N[o+20>>2];if(g){if(!(Qa[g|0](o,f,0,0)|0)){break eg}f=85;break Zf}if(Q[o+4>>2]>=f>>>0){break eg}f=85;break Zf}i=j>>>8&1|i;N[o+8>>2]=f;continue}break}N[p+24>>2]=f-m;L[p+22|0]=i;f=0}La=z+16|0;if(f){break Ve}f=0;if(!O[p+22|0]){break Wf}g=N[G+40>>2];f=N[o+20>>2];if(f){if(Qa[f|0](o,g,0,0)|0){break We}break Xf}if(g>>>0>Q[o+4>>2]){break We}break Xf}j=0;x=lb(t,2,0,J,0,p+44|0);if(N[p+44>>2]){break Te}g=N[G+16>>2];f=N[o+20>>2];fg:{if(f){if(Qa[f|0](o,g,0,0)|0){break fg}break Yf}if(g>>>0<=Q[o+4>>2]){break Yf}}N[p+44>>2]=85;break Te}i=0;if(ia){break Ve}break Vf}N[o+8>>2]=g;f=0;i=0;gg:{hg:{while(1){j=je(o,p+28|0);if(j){break hg}g=P[p+28>>1];M[(f<<1)+x>>1]=g;r=g+i|0;if(r>>>0>=i>>>0){i=r;f=f+1|0;if((J|0)==(f|0)){break gg}continue}break}j=0}N[p+44>>2]=j;break Ue}j=0;N[p+44>>2]=0;N[G+16>>2]=N[o+8>>2];if(Q[G+32>>2]>>0){break Te}s=N[G+44>>2];g=N[G+40>>2];m=g-N[G+36>>2]|0;if(s>>>0>>0){break Te}z=N[o>>2];f=N[G+28>>2];N[p+24>>2]=0;j=lb(t,12,0,i,0,p+44|0);if(N[p+44>>2]){break Te}Z=f+z|0;K=g+z|0;f=0;B=0;aa=0;X=0;g=0;da=8;W=s-m|0;ig:{if(W>>>0>>0){break ig}if(r){while(1){m=O[X+Z|0];fa=m&127;i=1;jg:{if(fa>>>0<84){break jg}i=2;if(fa>>>0<120){break jg}i=fa>>>0<124?3:4}g=i+f|0;if(W>>>0>>0|g>>>0>>0){break ig}ja=m<<24>>24;kg:{if(fa>>>0<=9){z=0;f=O[f+K|0]|fa<<7&1792;S=ja&1?f:0-f|0;break kg}if(fa>>>0<=19){S=0;f=O[f+K|0]|(fa<<7)+768&1792;z=ja&1?f:0-f|0;break kg}if(fa>>>0<=83){m=O[f+K|0];i=fa-20|0;f=m&15|i<<2&48;S=ja&2?f+1|0:f^-1;f=i&48|m>>>4;z=ja&1?f+1|0:f^-1;break kg}if(fa>>>0<=119){s=f+K|0;m=fa-84|0;i=((m&255)>>>0)/12|0;f=O[s|0]|i<<8;z=ja&1?f+1|0:f^-1;f=O[s+1|0]|m+(i<<2)<<6&768;S=ja&2?f+1|0:f^-1;break kg}if(fa>>>0<=123){m=f+K|0;i=O[m+1|0];f=O[m|0]<<4|i>>>4;z=ja&1?f:0-f|0;f=O[m+2|0]|i<<8&3840;S=ja&2?f:0-f|0;break kg}i=f+K|0;f=O[i|0]<<8|O[i+1|0];z=ja&1?f:0-f|0;f=O[i+3|0]|O[i+2|0]<<8;S=ja&2?f:0-f|0}if((aa^2147483647)<(z|0)&(aa|0)>0|(aa|0)<0&(-2147483648-aa|0)>(z|0)|((B^2147483647)<(S|0)&(B|0)>0|(B|0)<0&(-2147483648-B|0)>(S|0))){break ig}f=T(X,12)+j|0;L[f+8|0]=(ja|0)>=0;B=B+S|0;N[f+4>>2]=B;aa=z+aa|0;N[f>>2]=aa;f=g;X=X+1|0;if((r|0)!=(X|0)){continue}break}}N[p+24>>2]=g;da=0}if(da){break Te}N[G+28>>2]=r+N[G+28>>2];g=N[G+40>>2]+N[p+24>>2]|0;N[G+40>>2]=g;lg:{f=N[o+20>>2];mg:{if(f){if(Qa[f|0](o,g,0,0)|0){break mg}break lg}if(g>>>0<=Q[o+4>>2]){break lg}}N[p+44>>2]=85;break Te}N[o+8>>2]=g;f=je(o,p+22|0);N[p+44>>2]=f;if(f){break Te}N[G+40>>2]=N[o+8>>2];if(r>>>0>134217727){break Te}g=(P[p+22>>1]+(T(r,5)+(J<<1)|0)|0)+12|0;ng:{if(g>>>0<=e>>>0){g=e;break ng}h=lb(t,1,e,g,h,p+44|0);if(N[p+44>>2]){break Te}}e=J<<8|J>>>8;L[h|0]=e;L[h+1|0]=e>>>8;og:{pg:{if(ia){f=N[p+32>>2];i=N[G+64>>2];e=N[o+20>>2];qg:{if(e){if(Qa[e|0](o,i,0,0)|0){break qg}break pg}if(i>>>0<=Q[o+4>>2]){break pg}}N[p+44>>2]=85;break Te}i=0;e=0;f=0;m=0;X=0;rg:{if(!r){break rg}z=1;f=N[j+4>>2];e=N[j>>2];if((r|0)==1){m=f;i=e;break rg}sg:{if((r|0)==2){m=f;i=e;break sg}i=r-1|0;S=i&1;s=i&-2;i=e;m=f;while(1){B=T(z,12)+j|0;da=N[B+16>>2];Z=N[B+4>>2];m=(m|0)<(Z|0)?Z:m;m=(m|0)<(da|0)?da:m;W=N[B+12>>2];B=N[B>>2];i=(i|0)<(B|0)?B:i;i=(i|0)<(W|0)?W:i;f=(f|0)>(Z|0)?Z:f;f=(f|0)>(da|0)?da:f;e=(e|0)>(B|0)?B:e;e=(e|0)>(W|0)?W:e;z=z+2|0;X=X+2|0;if((s|0)!=(X|0)){continue}break}if(!S){break rg}z=(r-3&-2)+3|0}s=T(z,12)+j|0;z=N[s+4>>2];m=(m|0)<(z|0)?z:m;s=N[s>>2];i=(i|0)<(s|0)?s:i;f=(f|0)>(z|0)?z:f;e=(e|0)>(s|0)?s:e}L[h+9|0]=m;L[h+7|0]=i;L[h+5|0]=f;L[h+3|0]=e;L[h+8|0]=m>>>8;L[h+6|0]=i>>>8;L[h+4|0]=f>>>8;L[h+2|0]=e>>>8;M[p+30>>1]=e;break og}N[o+8>>2]=i;N[p+44>>2]=0;ta=p,ua=xb(o,p+44|0),M[ta+30>>1]=ua;if(N[p+44>>2]){break Te}i=N[G+64>>2];tg:{e=N[o+20>>2];ug:{if(e){if(Qa[e|0](o,i,0,0)|0){break ug}break tg}if(i>>>0<=Q[o+4>>2]){break tg}}N[p+44>>2]=85;break Te}N[o+8>>2]=i;e=Zb(o,(f+2|0)+h|0,8);N[p+44>>2]=e;if(e){break Te}N[G+64>>2]=N[G+64>>2]+8}N[p+32>>2]=10;e=h+10|0;i=-1;f=0;while(1){m=e;i=P[(f<<1)+x>>1]+i|0;if((i|0)>65535){break Te}e=i<<8|(i&65280)>>>8;L[m|0]=e;L[m+1|0]=e>>>8;N[p+32>>2]=N[p+32>>2]+2;e=m+2|0;f=f+1|0;if((J|0)!=(f|0)){continue}break}z=P[p+22>>1];e=z<<8|z>>>8;L[m+2|0]=e;L[m+3|0]=e>>>8;f=N[p+32>>2];i=N[G+76>>2];vg:{e=N[o+20>>2];wg:{if(e){if(Qa[e|0](o,i,0,0)|0){break wg}break vg}if(i>>>0<=Q[o+4>>2]){break vg}}N[p+44>>2]=85;break Te}N[o+8>>2]=i;f=f+2|0;e=Zb(o,f+h|0,z);N[p+44>>2]=e;if(e){break Te}N[G+76>>2]=z+N[G+76>>2];N[p+32>>2]=f+z;s=g;S=0;aa=0;X=0;e=(z+(J<<1)|0)+12|0;xg:{yg:{zg:{if(r){z=e;B=255;g=0;e=0;Ag:{Bg:while(1){W=r-S|0;da=h+z|0;Z=da-1|0;ia=0;while(1){i=T(S,12)+j|0;m=N[i+4>>2];f=O[i+8|0]!=0;i=N[i>>2];Cg:{if((i|0)==(g|0)){f=f|16;break Cg}g=i-g|0;if(g+255>>>0<=510){aa=aa+1|0;f=((g|0)>0?18:2)|f;break Cg}aa=aa+2|0}Dg:{if((e|0)==(m|0)){f=f|32;break Dg}e=m-e|0;if(e+255>>>0<=510){X=X+1|0;f=((e|0)>0?36:4)|f;break Dg}X=X+2|0}if(!((B&255)==(f|0)&(ia&255)!=255)){if(ia&255){e=8;if(s>>>0<=z>>>0){break xg}L[da|0]=ia;z=z+1|0}e=8;if(s>>>0<=z>>>0){break xg}L[h+z|0]=f;z=z+1|0;B=f;g=i;e=m;S=S+1|0;if((r|0)!=(S|0)){continue Bg}break Ag}L[Z|0]=O[Z|0]|8;ia=ia+1|0;g=i;e=m;S=S+1|0;if((r|0)!=(S|0)){continue}break}break}f=8;if(s>>>0<=z>>>0){break yg}L[da|0]=W;z=z+1|0}f=8;e=X+aa|0;if(e>>>0>>0){break yg}e=e+z|0;if(e>>>0>>0|e>>>0>s>>>0){break yg}e=z+aa|0;S=0;f=0;g=0;while(1){m=f;B=T(g,12)+j|0;f=N[B+4>>2];i=S;S=N[B>>2];Eg:{if((i|0)==(S|0)){break Eg}i=S-i|0;if(i+255>>>0<=510){B=i;i=i>>31;L[h+z|0]=(B^i)-i;z=z+1|0;break Eg}B=h+z|0;i=i<<8|(i&65280)>>>8;L[B|0]=i;L[B+1|0]=i>>>8;z=z+2|0}Fg:{if((f|0)==(m|0)){break Fg}i=f-m|0;if(i+255>>>0<=510){m=i;i=i>>31;L[e+h|0]=(m^i)-i;e=e+1|0;break Fg}m=e+h|0;i=i<<8|(i&65280)>>>8;L[m|0]=i;L[m+1|0]=i>>>8;e=e+2|0}g=g+1|0;if((r|0)!=(g|0)){continue}break}break zg}f=8;if(e>>>0>s>>>0){break yg}}N[p+32>>2]=e;f=0}e=f}if(e){break Te}if(j){Qa[N[t+8>>2]](t,j)}Qa[N[t+8>>2]](t,x);i=N[p+32>>2];e=s;break Vf}N[o+8>>2]=g;f=je(o,p+28|0);N[p+44>>2]=f;if(f){break Ve}N[G+40>>2]=N[o+8>>2];f=P[p+28>>1]}f=(N[p+24>>2]+(f&65535)|0)+12|0;Gg:{if(f>>>0<=e>>>0){f=e;break Gg}h=lb(t,1,e,f,h,p+44|0);if(N[p+44>>2]){break Ve}}L[h|0]=255;L[h+1|0]=255;g=N[p+32>>2];i=N[G+64>>2];e=N[o+20>>2];Hg:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Hg}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;N[p+44>>2]=0;ta=p,ua=xb(o,p+44|0),M[ta+30>>1]=ua;if(N[p+44>>2]){break Ve}i=N[G+64>>2];e=N[o+20>>2];Ig:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Ig}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;e=Zb(o,(g+2|0)+h|0,8);N[p+44>>2]=e;if(e){break Ve}N[G+64>>2]=N[G+64>>2]+8;i=N[G+52>>2];e=N[o+20>>2];Jg:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Jg}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;g=g+10|0;i=N[p+24>>2];e=Zb(o,g+h|0,i);N[p+44>>2]=e;if(e){break Ve}N[G+52>>2]=i+N[G+52>>2];i=g+i|0;N[p+32>>2]=i;if(O[p+22|0]){e=h+i|0;L[e|0]=O[p+29|0];L[e+1|0]=O[p+28|0];g=N[p+32>>2];i=N[G+76>>2];e=N[o+20>>2];Kg:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Kg}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;g=g+2|0;i=P[p+28>>1];e=Zb(o,g+h|0,i);N[p+44>>2]=e;if(e){break Ve}N[G+76>>2]=i+N[G+76>>2];i=g+i|0;N[p+32>>2]=i}e=f}N[(ca<<2)+y>>2]=N[p+36>>2]-k;if(El(p+40|0,ea,p+36|0,h,i,t)){break Ve}s=La-16|0;La=s;j=N[p+40>>2];m=N[p+36>>2];L[s+14|0]=0;M[s+12>>1]=0;z=8;Lg:{if(m>>>0>4294967292){break Lg}g=m+3|0;f=g&-4;Mg:{if((m|0)==(f|0)){f=m;break Mg}if(f>>>0>31457280){break Lg}r=N[ea>>2];if(r>>>0>>0){if((g|r)<0){break Lg}Ng:{if(!r){j=Qa[N[t+4>>2]](t,f)|0;g=!j<<6;break Ng}g=Qa[N[t+12>>2]](t,r,f,j)|0;j=g?g:j;g=!g<<6}Og:{if(!(g|(f|0)<=(r|0)|!j)){C(j+r|0,0,f-r|0);break Og}if(g){break Lg}}N[ea>>2]=f}F(j+m|0,s+12|0,f-m|0)}N[p+40>>2]=j;N[p+36>>2]=f;z=0}La=s+16|0;if(z){break Ve}ta=p,ua=N[p+8>>2]+wh(h,i)|0,N[ta+8>>2]=ua;if(J){M[N[U+8>>2]+(ca<<1)>>1]=P[p+30>>1]}ca=ca+1|0;if((ba|0)!=(ca|0)){continue}break}e=N[p+36>>2]}f=N[ka>>2];g=e-N[f+28>>2]|0;N[f+8>>2]=g;N[N[v>>2]+28>>2]=e;N[(ba<<2)+y>>2]=g;f=0;j=0;z=0;r=N[p+36>>2];i=N[p+40>>2];x=H<<(na?2:1);Pg:{if(x){g=64;f=Qa[N[t+4>>2]](t,x)|0;if(!f){break Pg}C(f,0,x)}Qg:{if(na){e=f;if((H|0)!=1){s=H&1;m=H&-2;while(1){g=z<<2;H=N[g+y>>2];H=H<<24|(H&65280)<<8|(H>>>8&65280|H>>>24);L[e|0]=H;L[e+1|0]=H>>>8;L[e+2|0]=H>>>16;L[e+3|0]=H>>>24;g=N[(g|4)+y>>2];g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);L[e+4|0]=g;L[e+5|0]=g>>>8;L[e+6|0]=g>>>16;L[e+7|0]=g>>>24;e=e+8|0;z=z+2|0;if((m|0)!=(z|0)){continue}break}if(!s){break Qg}}g=N[(z<<2)+y>>2];g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);L[e|0]=g;L[e+1|0]=g>>>8;L[e+2|0]=g>>>16;L[e+3|0]=g>>>24;break Qg}e=f;if(H>>>0>=4){m=H&-4;while(1){s=j<<2;g=N[s+y>>2];L[e+1|0]=g>>>1;L[e|0]=g>>>9;g=N[(s|4)+y>>2];L[e+3|0]=g>>>1;L[e+2|0]=g>>>9;g=N[(s|8)+y>>2];L[e+5|0]=g>>>1;L[e+4|0]=g>>>9;g=N[(s|12)+y>>2];L[e+7|0]=g>>>1;L[e+6|0]=g>>>9;e=e+8|0;j=j+4|0;if((m|0)!=(j|0)){continue}break}}m=H&3;if(!m){break Qg}while(1){g=N[(j<<2)+y>>2];L[e+1|0]=g>>>1;L[e|0]=g>>>9;j=j+1|0;e=e+2|0;z=z+1|0;if((m|0)!=(z|0)){continue}break}}e=0;m=x&2147483644;Rg:{if(!m){g=0;break Rg}g=0;while(1){g=(O[(e|3)+f|0]|(O[(e|1)+f|0]<<16|O[e+f|0]<<24|O[(e|2)+f|0]<<8))+g|0;e=e+4|0;if(m>>>0>e>>>0){continue}break}e=m}if((e|0)!=(x|0)){j=0;if(e>>>0>>0){s=x-e|0;z=0;while(1){m=e<<3&16;j=O[(e|1)+f|0]<<(m^16)|(O[e+f|0]<<(m^24)|j);e=e+2|0;z=z+2|0;if((s|0)!=(z|0)){continue}break}}g=g+j|0}N[p+4>>2]=g;g=8;s=r+x|0;Sg:{if(s>>>0>31457280){break Sg}m=N[ea>>2];if(m>>>0>>0){if((m|s)<0){break Sg}Tg:{if(!m){i=Qa[N[t+4>>2]](t,s)|0;e=!i<<6;break Tg}e=Qa[N[t+12>>2]](t,m,s,i)|0;i=e?e:i;e=!e<<6}Ug:{if(!(e|(m|0)>=(s|0)|!i)){C(i+m|0,0,s-m|0);break Ug}if(e){break Sg}}N[ea>>2]=s}F(i+r|0,f,x);N[p+40>>2]=i;N[p+36>>2]=s;g=0}if(f){Qa[N[t+8>>2]](t,f)}}if(g){break Ve}f=N[v>>2];e=N[p+36>>2];N[f+8>>2]=e-N[f+28>>2];N[p+12>>2]=e;f=N[p+40>>2];N[p+16>>2]=f;Qa[N[t+8>>2]](t,G);j=0;n=y;break Qe}N[p+44>>2]=64}N[p+16>>2]=f;break Se}N[p+44>>2]=85}f=N[p+40>>2];N[p+16>>2]=f;e=N[p+44>>2];N[p+44>>2]=e?e:8;j=0;break Se}j=0}f=N[p+40>>2];N[p+16>>2]=f;e=N[p+44>>2];N[p+44>>2]=e?e:8;n=x;if(!G){break Re}}Qa[N[t+8>>2]](t,G)}if(y){Qa[N[t+8>>2]](t,y)}if(!n){break Pe}}Qa[N[t+8>>2]](t,n)}if(h){Qa[N[t+8>>2]](t,h)}if(j){Qa[N[t+8>>2]](t,j)}z=1;if(N[p+44>>2]){break Ce}}y=N[p+8>>2];L[D+15|0]=ha;L[D+11|0]=k;L[D+7|0]=y;L[D+3|0]=Y;L[D+14|0]=ha>>>8;L[D+13|0]=ha>>>16;L[D+12|0]=ha>>>24;L[D+10|0]=k>>>8;L[D+9|0]=k>>>16;L[D+8|0]=k>>>24;L[D+6|0]=y>>>8;L[D+5|0]=y>>>16;L[D+4|0]=y>>>24;L[D+2|0]=Y>>>8;L[D+1|0]=Y>>>16;L[D|0]=Y>>>24;Vg:{Wg:{Xg:{h=R+16|0;Yg:{if(h>>>0>31457280){break Yg}i=N[ea>>2];if(i>>>0>=h>>>0){e=f;break Wg}if((h|i)<0){break Yg}Zg:{if(!i){e=Qa[N[t+4>>2]](t,h)|0;g=!e<<6;break Zg}g=Qa[N[t+12>>2]](t,i,h,f)|0;e=g?g:f;g=!g<<6}if(!(g|(h|0)<=(i|0)|!e)){C(e+i|0,0,h-i|0);break Xg}if(!g){break Xg}}e=f;break Vg}N[ea>>2]=h}g=O[D+4|0]|O[D+5|0]<<8|(O[D+6|0]<<16|O[D+7|0]<<24);i=e+R|0;f=O[D|0]|O[D+1|0]<<8|(O[D+2|0]<<16|O[D+3|0]<<24);L[i|0]=f;L[i+1|0]=f>>>8;L[i+2|0]=f>>>16;L[i+3|0]=f>>>24;L[i+4|0]=g;L[i+5|0]=g>>>8;L[i+6|0]=g>>>16;L[i+7|0]=g>>>24;g=O[D+12|0]|O[D+13|0]<<8|(O[D+14|0]<<16|O[D+15|0]<<24);f=O[D+8|0]|O[D+9|0]<<8|(O[D+10|0]<<16|O[D+11|0]<<24);L[i+8|0]=f;L[i+9|0]=f>>>8;L[i+10|0]=f>>>16;L[i+11|0]=f>>>24;L[i+12|0]=g;L[i+13|0]=g>>>8;L[i+14|0]=g>>>16;L[i+15|0]=g>>>24;N[p+16>>2]=e;R=h}r=O[D+12|0]|O[D+13|0]<<8|(O[D+14|0]<<16|O[D+15|0]<<24);s=O[D+8|0]|O[D+9|0]<<8|(O[D+10|0]<<16|O[D+11|0]<<24);m=O[D+4|0]|O[D+5|0]<<8|(O[D+6|0]<<16|O[D+7|0]<<24);n=O[D|0]|O[D+1|0]<<8|(O[D+2|0]<<16|O[D+3|0]<<24);h=N[p+12>>2];L[p+46|0]=0;M[p+44>>1]=0;if(h>>>0>4294967292){break Ae}f=h+3|0;g=f&-4;_g:{if((h|0)==(g|0)){f=e;g=h;break _g}if(g>>>0>31457280){break Ae}H=N[ea>>2];$g:{if(H>>>0>=g>>>0){f=e;break $g}if((f|H)<0){break Ae}ah:{if(!H){f=Qa[N[t+4>>2]](t,g)|0;e=!f<<6;break ah}i=Qa[N[t+12>>2]](t,H,g,e)|0;f=i?i:e;e=!i<<6}bh:{if(!(e|(g|0)<=(H|0)|!f)){C(f+H|0,0,g-H|0);break bh}if(e){break Ae}}N[ea>>2]=g}F(f+h|0,p+44|0,g-h|0)}N[p+16>>2]=f;N[p+12>>2]=g;if(k+ha>>>0>g>>>0){break Ae}V=y+V+((((m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))+(n<<24|(n&65280)<<8|(n>>>8&65280|n>>>24))|0)+(s<<24|(s&65280)<<8|(s>>>8&65280|s>>>24))|0)+(r<<24|(r&65280)<<8|(r>>>8&65280|r>>>24)))|0;k=g;la=la+1|0;if((_|0)!=(la|0)){continue}break}g=0;while(1){e=N[(g<<2)+I>>2];if(N[e+4>>2]!=1751474532){g=g+1|0;if((_|0)!=(g|0)){continue}break De}break}N[U+20>>2]=e;if(Q[e+8>>2]<12){break Ce}g=N[e+28>>2]+f|0;e=-1313820742-V|0;e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);L[g+8|0]=e;L[g+9|0]=e>>>8;L[g+10|0]=e>>>16;L[g+11|0]=e>>>24;N[q+112>>2]=N[p+12>>2];N[q+20>>2]=f;Qa[N[t+8>>2]](t,D);E=0;if(!o){break ue}e=N[o+24>>2];if(e){Qa[e|0](o)}Qa[N[t+8>>2]](t,o);break ue}N[U+20>>2]=0}N[q+20>>2]=N[p+16>>2];E=8;if(!D){break ye}break ze}N[q+20>>2]=N[p+16>>2]}Qa[N[t+8>>2]](t,D)}if(!o){break ue}e=N[o+24>>2];if(e){Qa[e|0](o)}Qa[N[t+8>>2]](t,o)}La=p+48|0;f=E;N[q+120>>2]=f;if(f){d=c;break ia}e=N[q+20>>2];ch:{g=N[q+112>>2];f=N[q+16>>2];if(g>>>0>=f>>>0){break ch}e=lb(t,1,f,g,e,q+120|0);N[q+20>>2]=e;f=N[q+120>>2];if(!f){break ch}d=c;break ia}N[w+32>>2]=0;N[w+8>>2]=0;N[w+4>>2]=g;N[w>>2]=e;N[w+20>>2]=0;a=N[a+28>>2];N[w+24>>2]=183;N[w+28>>2]=a;f=N[b+104>>2];dh:{if(!f){break dh}c=N[b+8>>2];e=N[f+28>>2];a=N[f+24>>2];if(a){Qa[a|0](f)}if(c&1024){break dh}Qa[N[e+8>>2]](e,f)}N[b+104>>2]=w;N[b+8>>2]=N[b+8>>2]&-1025;f=0;break ia}f=8}N[q+120>>2]=f;u=0;d=c;break ia}f=8}N[q+120>>2]=f;w=0}d=c;u=0}if(!ma){break da}break ea}u=0;break fa}f=8;N[q+120>>2]=8}w=0;d=c}Qa[N[t+8>>2]](t,ma)}if(I){Qa[N[t+8>>2]](t,I)}if(u){Qa[N[t+8>>2]](t,u)}c=d}a=N[q+32>>2];if(a){Qa[N[t+8>>2]](t,a)}g=N[q+116>>2];if(g){d=P[q+108>>1];eh:{if(!d){break eh}e=g;a=d;if((a|0)!=1){i=a&65534;a=0;while(1){h=N[e+8>>2];if(h){Qa[N[t+8>>2]](t,h)}N[e+8>>2]=0;h=N[e+20>>2];if(h){Qa[N[t+8>>2]](t,h)}N[e+20>>2]=0;e=e+24|0;a=a+2|0;if((i|0)!=(a|0)){continue}break}}if(!(d&1)){break eh}a=N[e+8>>2];if(a){Qa[N[t+8>>2]](t,a)}N[e+8>>2]=0}Qa[N[t+8>>2]](t,g)}if(!f){break g}a=N[q+20>>2];if(a){Qa[N[t+8>>2]](t,a)}if(w){a=N[w+24>>2];if(a){Qa[a|0](w)}Qa[N[t+8>>2]](t,w)}N[q+12>>2]=f;break a}f=8;N[q+24>>2]=8}Qa[N[A+8>>2]](A,v);if(!H){break j}break k}f=8;N[q+24>>2]=8}Qa[N[A+8>>2]](A,v)}Qa[N[A+8>>2]](A,H)}if(!f){break g}if(!w){break h}}Qa[N[A+8>>2]](A,w)}if(n){a=N[n+24>>2];if(a){Qa[a|0](n)}Qa[N[A+8>>2]](A,n)}N[q+12>>2]=f;break a}N[q+12>>2]=0;a=N[b+104>>2];continue}}La=q+128|0;return f|0}function No(a,b,c,d,e){var 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,t=0,u=0,w=0,y=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,U=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,Ma=0,Na=0,Oa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,ab=0,cb=0,eb=0,fb=0,hb=0,ib=0,jb=0,lb=0,nb=0,ob=0,pb=0;oa=La+-64|0;La=oa;a:{b:{c:{if(!(N[a+16>>2]|N[a+20>>2])|!N[a+8>>2]){break c}h=N[a>>2];if(!N[b+8>>2]|(h|0)!=N[b+84>>2]){break c}N[a+176>>2]=c;N[a+180>>2]=d;N[a+168>>2]=b;f=N[b+40>>2];d:{e:{f:{g=N[b+36>>2];if((g|0)>0){if((f|0)>0){break d}if((g|0)!=1280){break f}N[b+40>>2]=1024;N[oa+32>>2]=1024;mb(h,2,17469,oa+32|0);break d}if((f|0)>0){break e}mb(h,2,21386,0);N[b+36>>2]=384;N[b+40>>2]=288;break d}f=UE(g,0,3,0);f=g>>>0<=1?1:(Pa&3)<<30|f>>>2;N[b+40>>2]=f;N[oa+48>>2]=f;mb(h,2,17469,oa+48|0);break d}if((f|0)==1024){N[b+36>>2]=1280;N[oa>>2]=1280;mb(h,2,17503,oa);break d}f=WE(f<<2,f>>>30|0,3,0);N[b+36>>2]=f;N[oa+16>>2]=f;mb(h,2,17503,oa+16|0)}g:{U=N[a+12>>2];f=N[N[a>>2]+16>>2];if((U|0)!=(f|0)){if(f>>>0<=U>>>0){break g}g=N[a+8>>2];if(N[g+40>>2]){f=N[N[g>>2]+16>>2];if(f>>>0>U>>>0){while(1){Ao(N[g+40>>2],U);U=U+1|0;if((f|0)!=(U|0)){continue}break}}U=f}N[a+12>>2]=U}f=N[a+200>>2];g=N[a+168>>2];N[N[f+40>>2]+36>>2]=N[g+64>>2]!=0;h=N[g+68>>2];h:{if(!h|!O[h|0]){break h}h=ie(h);if(!h){break h}_=N[h+4>>2]}N[f+44>>2]=_;N[f>>2]=N[a+92>>2];g=N[N[g+88>>2]+36>>2];L[f+56|0]=g>>>1&1;L[f+57|0]=g&4?2:N[f+32>>2]==64;f=N[b+96>>2]>0&N[b+92>>2]>0;s=S[a+80>>3];i:{if(!(f|s==0)){r=s;break i}r=1;g=N[a+144>>2];if(!g){break i}i=N[a+140>>2];if(!i|!f&(!N[a+24>>2]|!N[a+28>>2])){break i}r=+(g|0)/+(i|0);f=N[a+168>>2];U=N[f+92>>2];j:{if((U|0)>0){h=N[f+96>>2];if((h|0)>0){break j}}U=N[a+24>>2];if((U|0)>0){h=N[a+28>>2];if((h|0)>0){break j}}if(!(!(s<=0)&s!=1)){h=N[f+40>>2];U=N[f+36>>2];break j}if(s>1){h=N[f+40>>2];f=qc(+((T(g,h)|0)/(i|0)|0)/s);U=(f|0)<=1?1:f;break j}U=N[f+36>>2];f=qc(s*+((T(i,U)|0)/(g|0)|0));h=(f|0)<=1?1:f}r=r/(+(U|0)/+(h|0))}S[a+184>>3]=r;ya=a+116|0;f=N[ya>>2];U=0;N[ya>>2]=0;N[a+120>>2]=f;ui(N[a+852>>2],N[a+868>>2]);ui(N[a+848>>2],N[a+864>>2]);ui(N[a+844>>2],N[a+860>>2]);h=N[b+8>>2];k:{if((h|0)<=0){break k}n=a+192|0;_=0;while(1){fa=N[b+20>>2]+T(U,56)|0;g=fa;f=N[g>>2];g=N[g+4>>2];l:{if(c>>>0>>0&(d|0)<=(g|0)|(d|0)<(g|0)){break l}k=g+N[fa+12>>2]|0;g=f;f=f+N[fa+8>>2]|0;k=g>>>0>f>>>0?k+1|0:k;if((d|0)>=(k|0)&c>>>0>=f>>>0|(d|0)>(k|0)){break l}f=N[a+128>>2];m:{if((f|0)>(_|0)){h=N[a+124>>2];break m}f=f+100|0;N[a+128>>2]=f;h=$a(N[a+124>>2],f<<5);N[a+124>>2]=h}ea=(_<<5)+h|0;g=0;r=0;p=0;q=0;u=0;ta=0;t=La-272|0;La=t;W=N[n>>2];n:{if(N[fa+24>>2]>=N[N[W+168>>2]>>2]){mb(N[W>>2],2,16547,0);break n}if(!N[fa+48>>2]){mb(N[W>>2],2,9216,0);break n}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(f){N[f+12>>2]=0}N[n+216>>2]=0;N[n+88>>2]=0;N[n+64>>2]=fa;f=N[n>>2];g=N[f+168>>2];h=N[g+56>>2];L[n+256|0]=0;N[n+240>>2]=0;N[n+244>>2]=0;N[n+144>>2]=0;N[n+148>>2]=0;N[n+152>>2]=0;N[n+156>>2]=0;N[n+160>>2]=0;N[n+164>>2]=0;N[n+168>>2]=0;N[n+172>>2]=0;N[n+516>>2]=h;N[n+248>>2]=N[g+36>>2];N[n+252>>2]=N[g+40>>2];L[n+465|0]=0;L[n+466|0]=0;L[n+467|0]=0;L[n+468|0]=0;L[n+469|0]=0;L[n+470|0]=0;L[n+471|0]=0;L[n+472|0]=0;N[n+460>>2]=0;N[n+464>>2]=0;N[n+288>>2]=0;N[n+292>>2]=0;N[n+260>>2]=0;N[n+448>>2]=0;L[n+257|0]=0;L[n+258|0]=1;o:{g=N[fa+44>>2];if(!(!g|!O[g|0])){j=lc(g,59);p:{if(!j){i=1;break p}i=1;h=j+1|0;q=si(h);h=lc(h,59);if(!h){p=1;break p}h=h+1|0;u=si(h);h=lc(h,59);if(!h){break p}r=+(si(h+1|0)|0);i=0}h=N[f+168>>2];k=N[h+92>>2];q:{if((k|0)>0){m=N[h+96>>2];if((m|0)>0){break q}}k=N[f+24>>2];if((k|0)>0){m=N[f+28>>2];if((m|0)>0){break q}}r:{s=S[f+80>>3];s:{if(s<=0|s==1){break s}o=N[f+144>>2];if(!o){break s}l=N[f+140>>2];if(l){break r}}m=N[h+40>>2];k=N[h+36>>2];break q}if(s>1){m=N[h+40>>2];k=qc(+((T(o,m)|0)/(l|0)|0)/s);k=(k|0)<=1?1:k;break q}k=N[h+36>>2];m=qc(s*+((T(l,k)|0)/(o|0)|0));m=(m|0)<=1?1:m}t:{if(!bb(g,21166,7)){if(!j){f=N[f>>2];N[t+32>>2]=g;mb(f,6,24620,t+32|0);break t}N[n+476>>2]=!u|p;g=N[fa>>2];i=N[fa+4>>2];h=N[f+176>>2];j=N[f+180>>2];f=N[N[f+168>>2]+36>>2];N[n+516>>2]=2;L[n+258|0]=0;N[n+216>>2]=2;s=+(k|0)/+(f|0);r=+(q|0)/s;k=r>1;w=+(h-g>>>0)+ +(j-((h>>>0>>0)+i|0)|0)*4294967296;if(V(r)<2147483648){f=~~r}else{f=-2147483648}S[n+480>>3]=w/(s*(k?+(f|0):1));h=1;break o}u:{if(bb(g,21174,10)){if(bb(g,21185,12)){break u}j=2}else{j=3}N[n+476>>2]=j;if(i){f=N[f>>2];N[t+48>>2]=g;mb(f,6,24620,t+48|0);break t}g=N[fa>>2];j=N[fa+4>>2];i=N[f+176>>2];f=N[f+180>>2];h=N[h+40>>2];L[n+258|0]=0;N[n+216>>2]=4;N[n+492>>2]=(q|0)>(u|0)?q:u;N[n+488>>2]=(q|0)<(u|0)?q:u;s=+(m|0)/+(h|0);r=r/s;h=r>1;w=+(i-g>>>0)+ +(f-((g>>>0>i>>>0)+j|0)|0)*4294967296;if(V(r)<2147483648){f=~~r}else{f=-2147483648}S[n+480>>3]=w/(s*(h?+(f|0):1));h=1;break o}f=N[f>>2];N[t+64>>2]=g;mb(f,7,24588,t- -64|0)}h=1;if(N[n+216>>2]){break o}}g=N[fa+48>>2];v:while(1){h=O[g|0];w:while(1){x:{h=h&255;if((h|0)!=123){if(!h){break o}if(!O[g+1|0]|(h|0)!=92){break x}g=g+2|0;continue v}while(1){f=g;g=f+1|0;h=O[f+1|0];if((h|0)!=92){if(!h|(h|0)==125){continue w}continue}h=1;y:{switch(O[f+2|0]-99|0){case 10:if(O[f+3|0]!=111|O[f+4|0]!=118|O[f+5|0]!=101){continue}break o;case 0:if(O[f+3|0]!=108|O[f+4|0]!=105|O[f+5|0]!=112){continue}break o;case 6:if(O[f+3|0]!=99|O[f+4|0]!=108|(O[f+5|0]!=105|O[f+6|0]!=112)){continue}break o;case 13:break o;case 12:break y;default:continue}}if(O[f+3|0]!=114|O[f+4|0]!=103){continue}break}break o}break}g=g+1|0;continue}}N[n+532>>2]=h;ti(n,0);f=N[n+68>>2];N[n+96>>2]=N[f+104>>2];N[n+100>>2]=N[f+136>>2];m=N[n+4>>2];g=N[fa+48>>2];p=N[n>>2];z:{while(1){A:{B:{C:{D:{E:{F:{f=O[g|0];if((f|0)!=123){if(!f){break E}break F}h=lc(g,125);if(!h){break F}f=qo(n,g,h,1,0);if(O[f|0]==125){g=f+1|0;continue}ba(24336,18170,2097,10067);B()}h=f<<24>>24;if(N[n+448>>2]){h=((h|0)==123)+g|0;while(1){f=O[h|0];if(!(!f|(f|0)==123)){h=h+1|0;continue}break}o=65532;f=h-g|0;break B}if((f|0)==9){o=32;h=1;break C}G:{H:{if((f|0)==92){o=10;h=2;I:{switch(O[g+1|0]-78|0){case 26:o=160;break C;case 45:o=123;break C;case 0:break C;case 32:break D;case 47:break I;default:break H}}o=125;break C}i=-1;if((h|0)>=0){break H}h=128;while(1){j=i;i=i+1|0;h=h>>>1|0;if(f&h){continue}break}if(j>>>0>3){break H}q=O[g+1|0];if((q&192)!=128){break H}u=g+1|0;o=f&h-1;while(1){if((i|0)<=0){break H}o=q&63|o<<6;i=i-1|0;q=O[u+1|0];h=u+1|0;u=h;if((q&192)==128){continue}break}if(!i){break G}}h=g+1|0;o=f}g=0;f=0;if(o){break B}}$=N[n+4>>2];k=N[$+12>>2];if(k){break A}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;g=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0;break n}o=N[n+516>>2]==2?10:32}h=h+g|0;g=0;f=0}if(!N[n+72>>2]){break z}i=f;f=N[m+12>>2];j=N[m+52>>2];if((f|0)>=(j|0)){k=f;f=((f|0)/2|0)+1|0;f=(f|0)<(j|0)?j:f;j=(f|0)>=1073741823?1073741823:f;f=j<<1;if((k|0)>=(f|0)){break z}N[147316]=0;k=N[m>>2];J:{if(f>>>0<=11930464){q=T(j,720);q=$a(k,q>>>0<=1?1:q);if(q){break J}}N[147316]=48;N[m>>2]=k;break z}N[147316]=0;N[m>>2]=q;N[147316]=0;k=N[m+4>>2];j=j<<3;j=$a(k,j>>>0<=1?1:j);if(!j){N[147316]=48;N[m+4>>2]=k;break z}N[147316]=0;N[m+4>>2]=j;N[147316]=0;k=N[m+8>>2];j=$a(k,f>>>0<=1?1:f);N[147316]=j?0:48;N[m+8>>2]=j?j:k;if(!j){break z}N[m+52>>2]=f;f=N[m+12>>2]}f=N[m>>2]+T(f,360)|0;C(f,0,360);K:{if(g){N[f+32>>2]=g;N[f+36>>2]=i;N[f+40>>2]=N[n+448>>2];s=S[n+288>>3];L:{if(V(s)<2147483648){i=~~s;break L}i=-2147483648}N[f+44>>2]=i;N[f>>2]=o;N[f+8>>2]=N[n+72>>2];u=f+8|0;break K}N[f>>2]=o;i=N[n+72>>2];N[f+8>>2]=i;u=f+8|0;if(!i){break K}if(!N[i-8>>2]){break a}i=i-4|0;j=N[i>>2];if(!j){break a}N[i>>2]=j+1}i=N[n+224>>2];L[f+140|0]=i;j=N[n+260>>2];if((j|0)>0){q=i&-256;i=i&255;l=i+j|0;i=UE(i,0,j,0);k=Pa;i=i+127|0;k=i>>>0<127?k+1|0:k;i=l-WE(i,k,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|q}N[f+124>>2]=i;i=N[n+228>>2];L[f+141|0]=i;j=N[n+260>>2];if((j|0)>0){k=i&-256;i=i&255;q=i+j|0;j=UE(i,0,j,0);i=Pa;j=j+127|0;i=j>>>0<127?i+1|0:i;i=q-WE(j,i,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|k}N[f+128>>2]=i;i=N[n+232>>2];L[f+142|0]=i;j=N[n+260>>2];if((j|0)>0){k=i&-256;i=i&255;q=i+j|0;j=UE(i,0,j,0);i=Pa;j=j+127|0;i=j>>>0<127?i+1|0:i;i=q-WE(j,i,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|k}N[f+132>>2]=i;i=N[n+236>>2];L[f+143|0]=i;j=N[n+260>>2];if((j|0)>0){q=i&-256;i=i&255;l=i+j|0;i=UE(i,0,j,0);k=Pa;i=i+127|0;k=i>>>0<127?k+1|0:k;i=l-WE(i,k,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|q}N[f+136>>2]=i;N[f+160>>2]=N[n+460>>2];N[f+164>>2]=N[n+464>>2];N[f+168>>2]=N[n+468>>2];L[f+172|0]=O[n+472|0];w=S[n+80>>3]*S[n+544>>3];s=V(w);S[f+24>>3]=s;N[f+184>>2]=L[n+259|0];S[f+192>>3]=S[n+264>>3];S[f+200>>3]=S[n+272>>3];S[f+208>>3]=S[n+280>>3];r=S[n+176>>3];S[f+256>>3]=r;J=S[n+184>>3];S[f+264>>3]=J;N[f+280>>2]=N[n+220>>2];S[f+288>>3]=S[n+200>>3];S[f+296>>3]=S[n+208>>3];E=S[n+192>>3];S[f+304>>3]=E;N[f+320>>2]=N[n+504>>2];N[f+316>>2]=N[n+508>>2];i=N[n+92>>2];N[f+324>>2]=i;if(!(!N[N[u>>2]+16>>2]|o>>>0<753)){N[f+324>>2]=i|4}S[f+216>>3]=S[n+104>>3];S[f+224>>3]=S[n+112>>3];S[f+232>>3]=S[n+120>>3];S[f+240>>3]=S[n+128>>3];S[f+248>>3]=S[n+136>>3];i=N[n+260>>2];N[f+312>>2]=0;N[f+328>>2]=i;N[f+272>>2]=0;N[f+276>>2]=1072693248;M:{if(g){break M}E=XE(r*(E*S[n+536>>3]/S[p+184>>3])*64);N:{if(V(E)<2147483648){g=~~E;break N}g=-2147483648}N[f+312>>2]=g;O:{if(!N[p+88>>2]){R=256;break O}R=s*J;if(R==0){break M}}if(w==0){break M}s=s/R;S[f+272>>3]=1/s;S[f+256>>3]=r*s;S[f+264>>3]=J*s;S[f+24>>3]=R}N[m+12>>2]=N[m+12>>2]+1;L[n+465|0]=0;L[n+466|0]=0;L[n+467|0]=0;L[n+468|0]=0;L[n+469|0]=0;L[n+470|0]=0;L[n+471|0]=0;L[n+472|0]=0;N[n+460>>2]=0;N[n+464>>2]=0;g=h;continue}break}i=1;j=N[$>>2];L[j+121|0]=1;if((k|0)>=2){q=N[j+160>>2];while(1){f=j+T(i,360)|0;m=N[f+160>>2];g=1;P:{if(N[f+164>>2]){break P}if(m){g=1;if((m|0)!=(q|0)){break P}}g=1;if(N[f+32>>2]){break P}h=j+T(i-1|0,360)|0;g=1;if(N[h+32>>2]){break P}p=N[h+8>>2];u=N[p+4>>2];o=N[f+8>>2];g=1;if((u|0)!=N[o+4>>2]){break P}g=1;if(Mb(N[p>>2],N[o>>2],u)){break P}g=1;if(N[p+16>>2]!=N[o+16>>2]){break P}g=1;if(S[h+24>>3]!=S[f+24>>3]){break P}g=1;if(N[h+124>>2]!=N[f+124>>2]){break P}g=1;if(N[h+128>>2]!=N[f+128>>2]){break P}g=1;if(N[h+132>>2]!=N[f+132>>2]){break P}g=1;if(N[h+136>>2]!=N[f+136>>2]){break P}g=1;if(N[h+184>>2]!=N[f+184>>2]){break P}g=1;if(S[h+192>>3]!=S[f+192>>3]){break P}g=1;if(S[h+200>>3]!=S[f+200>>3]){break P}g=1;if(S[h+208>>3]!=S[f+208>>3]){break P}g=1;if(S[h+216>>3]!=S[f+216>>3]){break P}g=1;if(S[h+224>>3]!=S[f+224>>3]){break P}g=1;if(S[h+232>>3]!=S[f+232>>3]){break P}g=1;if(S[h+240>>3]!=S[f+240>>3]){break P}g=1;if(S[h+248>>3]!=S[f+248>>3]){break P}g=1;if(S[h+256>>3]!=S[f+256>>3]){break P}g=1;if(S[h+264>>3]!=S[f+264>>3]){break P}g=1;if(N[h+280>>2]!=N[f+280>>2]){break P}g=1;if(S[h+288>>3]!=S[f+288>>3]){break P}g=1;if(S[h+296>>3]!=S[f+296>>3]){break P}g=1;if(S[h+304>>3]!=S[f+304>>3]){break P}g=1;if(N[h+316>>2]!=N[f+316>>2]){break P}g=1;if(N[h+320>>2]!=N[f+320>>2]){break P}g=((N[f+324>>2]^N[h+324>>2])&-5)!=0}L[f+121|0]=g;q=m?m:q;i=i+1|0;if((k|0)!=(i|0)){continue}break}}m=N[n+8>>2];f=N[n+520>>2]==-1;N[m+32>>2]=f?64:272;if(O[m+57|0]!=2){L[m+57|0]=f}f=1517976186;i=0;o=Ic();q=0;while(1){g=f;p=j+T(i,360)|0;f=Qa[N[o+32>>2]](o,N[p>>2],N[o+64>>2])|0;N[p+20>>2]=f;Q:{if(!((f|0)!=1517910393&(f|0)!=1516858984)){f=1517976186;h=1;if((g|0)==1517976186){break Q}N[p+20>>2]=g;f=g}h=q}q=h;i=i+1|0;if((k|0)!=(i|0)){continue}break}i=k-1|0;f=0;R:{if(!q|(i|0)<0){break R}S:{if(!i){g=1517976186;i=0;break S}o=k&1;p=k&-2;q=0;g=1517976186;while(1){h=j+T(i,360)|0;f=N[h+20>>2];T:{if((f|0)!=1517910393&(f|0)!=1516858984){break T}f=1517976186;if((g|0)==1517976186){break T}N[h+20>>2]=g;f=g}h=h-340|0;g=N[h>>2];U:{if((g|0)!=1517910393&(g|0)!=1516858984){break U}g=1517976186;if((f|0)==1517976186){break U}N[h>>2]=f;g=f}i=i-2|0;q=q+2|0;if((p|0)!=(q|0)){continue}break}f=0;if(!o){break R}}f=j+T(i,360)|0;h=N[f+20>>2];if(!((h|0)!=1517910393&(h|0)!=1516858984|(g|0)==1517976186)){N[f+20>>2]=g}f=0}while(1){V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{g=N[j+T(f,360)>>2];h=g>>>8|0;switch(h|0){case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break Z;case 32:break ba;case 24:break ca;case 23:break da;case 6:break ea;case 3:break fa;case 0:break ga;default:break ha}}switch(h-254|0){case 1:break $;case 0:break aa;default:break _}}if((g|0)==173){break W}break V}if((g|0)==847){break W}break V}if((g|0)==1564){break W}break V}if((g&-2)==6068){break W}break V}if(g-6155>>>0<4){break W}break V}switch(g-8203|0){case 0:case 1:case 2:case 3:case 4:case 31:case 32:case 33:case 34:case 35:break W;default:break Y}}if((g|0)==65279|(g&-16)==65024){break W}break V}if(g-65520>>>0<9){break W}break V}if((h|0)==465){break X}}if((g&-4096)==917504){break W}break V}if((g&-16)!=8288){break V}break W}if(g-119155>>>0>=8){break V}}L[(j+T(f,360)|0)+4|0]=1}f=f+1|0;if((k|0)!=(f|0)){continue}break}if(!(N[j+32>>2]|O[j+4|0])){vo(N[W+8>>2],N[j+8>>2],N[j>>2],j+12|0,j+16|0)}i=0;N[j+332>>2]=0;g=1;if((k|0)!=1){while(1){f=j+T(g,360)|0;if(!(N[f+32>>2]|O[f+4|0])){vo(N[W+8>>2],N[f+8>>2],N[f>>2],f+12|0,f+16|0)}ia:{ja:{ka:{if(N[f-352>>2]!=N[f+8>>2]){break ka}h=O[f+4|0];if(!h&N[f-348>>2]!=N[f+12>>2]|N[f-340>>2]!=N[f+20>>2]|(O[f+121|0]|!O[m+57|0]&S[f+304>>3]!=0)){break ka}if(N[f-36>>2]==N[f+324>>2]){break ja}}i=i+1|0;break ia}if(!h){break ia}N[f+12>>2]=N[f-348>>2]}N[f+332>>2]=i;g=g+1|0;if((k|0)!=(g|0)){continue}break}}i=0;o=0;G=0;D=0;aa=0;y=La-9040|0;La=y;Z=N[$>>2];H=N[n+8>>2];g=N[$+4>>2];N[H+12>>2]=g;la:{ma:{h=N[$+12>>2];na:{if(h>>>0>Q[H+4>>2]){N[147316]=0;f=N[H+16>>2];oa:{if(h>>>0<=1073741823){g=h<<2;g=$a(f,g>>>0<=1?1:g);if(g){break oa}}N[147316]=48;N[H+16>>2]=f;break na}N[147316]=0;N[H+16>>2]=g;if(O[H+56|0]){N[147316]=0;f=N[H+52>>2];g=h<<2;g=$a(f,g>>>0<=1?1:g);if(!g){N[147316]=48;N[H+52>>2]=f;break na}N[147316]=0;N[H+52>>2]=g}N[147316]=0;g=N[H+20>>2];f=$a(g,h>>>0<=1?1:h);N[147316]=f?0:48;N[H+20>>2]=f?f:g;if(!f){break na}N[147316]=0;f=N[H+24>>2];g=h<<2;g=$a(f,g>>>0<=1?1:g);if(!g){N[147316]=48;N[H+24>>2]=f;break na}N[147316]=0;N[H+4>>2]=h;N[H+24>>2]=g;h=N[$+12>>2];g=N[H+12>>2]}p=1;if((h|0)>0){f=0;while(1){N[(f<<2)+g>>2]=N[Z+T(f,360)>>2];f=f+1|0;h=N[$+12>>2];if((f|0)<(h|0)){continue}break}}pa:{if(!h){break pa}f=N[H+16>>2];while(1){j=N[g>>2];if(j>>>0<=1114111){j=O[(P[(j>>>7&33554430)+386528>>1]+(j&255)|0)+358112|0]}else{j=0}N[f>>2]=N[(j<<2)+358016>>2];g=g+4|0;f=f+4|0;h=h-1|0;if(h){continue}break}f=N[$+12>>2];if((f|0)<2){break pa}h=f-1|0;j=h&3;g=N[H+16>>2];if(f-2>>>0<3){f=0}else{k=h&-4;m=f-5&-4;h=0;while(1){f=h<<2;p=((((N[f+g>>2]==2107456)+p|0)+(N[g+(f|4)>>2]==2107456)|0)+(N[g+(f|8)>>2]==2107456)|0)+(N[g+(f|12)>>2]==2107456)|0;h=h+4|0;if((k|0)!=(h|0)){continue}break}f=m+4|0}if(!j){break pa}while(1){p=(N[g+(f<<2)>>2]==2107456)+p|0;f=f+1|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}if(!(!O[H+57|0]|Q[H+8>>2]>=p>>>0)){N[147316]=0;f=N[H+28>>2];qa:{if(p>>>0<=1073741823){g=p<<2;g=$a(f,g>>>0<=1?1:g);if(g){break qa}}N[147316]=48;N[H+28>>2]=f;break na}N[147316]=0;N[H+8>>2]=p;N[H+28>>2]=g}ra:{sa:{ta:{if(O[H+56|0]){k=N[$+12>>2];if((k|0)<=0){break ta}i=N[H+12>>2];g=N[H+16>>2];f=N[H+52>>2];while(1){h=0;ua:{if(N[g>>2]!=64){break ua}j=N[i>>2];if(j>>>0>65535){break ua}m=O[(P[(j>>>6&67108862)+395232>>1]+(j&127)|0)+398304|0];if(!m){break ua}h=j+N[(P[(j>>>5&134217726)+396256>>1]+(j&63)<<2)+400096>>2]|0;if(m&2){h=h|-2147483648;break ua}h=h&2147483647}N[f>>2]=h;i=i+4|0;g=g+4|0;f=f+4|0;o=o+1|0;if((o|0)!=(k|0)){continue}break}}k=N[$+12>>2];if((k|0)<=0){break ta}Na=y+1472|0;Oa=y+1408|0;Ra=y+1344|0;Sa=y+1280|0;Ta=y+1216|0;Ua=y+1152|0;Va=y+1088|0;Wa=y+1024|0;Xa=y+960|0;Ya=y+896|0;Za=y+832|0;ab=y+768|0;cb=y+704|0;eb=y+640|0;fb=y+576|0;hb=y+8528|4;Ca=N[H+28>>2];while(1){va:{wa:{if((k-1|0)==(D|0)|N[N[H+16>>2]+(D<<2)>>2]==2107456){break wa}f=D+1|0;if(O[H+57|0]){D=f;break va}if(O[(Z+T(f,360)|0)+121|0]|S[(Z+T(D,360)|0)+304>>3]!=0){break wa}D=f;break va}j=O[H+56|0]?N[H+52>>2]+(aa<<2)|0:0;K=N[H+32>>2];xa:{D=D+1|0;if((aa|0)==(D|0)){break xa}ib=N[H+20>>2];f=N[H+16>>2];g=kb(36);if(!g){G=0;break na}M[g+20>>1]=255;N[g+28>>2]=0;N[g+32>>2]=0;N[g+16>>2]=128;N[g+8>>2]=-1;N[g+12>>2]=-1;N[g+4>>2]=g;ha=D-aa|0;if((ha|0)<=0){h=g;break sa}Da=f+(aa<<2)|0;f=0;h=g;o=0;i=0;ya:{if(!j){while(1){i=N[(o<<2)+Da>>2];if(!((i|0)==N[h+16>>2]&!(N[h+24>>2]|i&32768))){f=kb(36);if(!f){break sa}N[f+8>>2]=0;N[f+12>>2]=0;M[f+20>>1]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=i;N[f+8>>2]=o;N[h+4>>2]=f;N[h+12>>2]=o-N[h+8>>2];N[f+24>>2]=0;N[f>>2]=h;h=f}o=o+1|0;if((ha|0)!=(o|0)){continue}break ya}}while(1){m=i<<2;k=N[m+j>>2];m=N[m+Da>>2];if(k|(m|0)!=N[h+16>>2]|(N[h+24>>2]|m&32768)){f=kb(36);if(!f){break sa}N[f+8>>2]=0;N[f+12>>2]=0;M[f+20>>1]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=m;N[f+8>>2]=i;N[h+4>>2]=f;N[h+12>>2]=i-N[h+8>>2];N[f+24>>2]=k;N[f>>2]=h;h=f}i=i+1|0;if((ha|0)!=(i|0)){continue}break}}N[h+4>>2]=g;N[h+12>>2]=ha-N[h+8>>2];N[g>>2]=h;i=h+4|0;if(!f){break ra}o=0;i=g;za:{if(K&16){f=K;break za}while(1){i=N[i+4>>2];f=N[i+16>>2];if((f|0)==128){f=K;break za}if((f|0)==32864){o=o-((o|0)>0)|0;continue}if(f&32768){o=o+1|0;continue}if(o){continue}o=0;if(!(f&256)){continue}break}K=f&1|272}C(y+8528|0,0,508);Aa:{l=kb(36);if(l){ca=f&1;Ea=ca?273:272;M[l+20>>1]=255;N[l+28>>2]=0;N[l+32>>2]=0;N[l+16>>2]=128;N[l+8>>2]=-1;N[l+12>>2]=-1;N[l+4>>2]=l;N[l>>2]=l;m=N[g+4>>2];h=N[m+16>>2];Ba:{if((h|0)==128){break Ba}I=m+16|0;p=64;q=0;u=l;i=ca;j=0;f=0;o=0;pa=0;G=0;while(1){Ca:{L[m+21|0]=j;Da:{if(h&1052672){Ea:{if(h&16){k=N[m+12>>2];if(!k){break Ea}I=h&1;h=h&16384?I|272:64;Y=!G;while(1){q=((i+I&254)-I|0)+2|0;Fa:{if(!(o|G|q<<24>2113929215)){o=(y+512|0)+(f<<4)|0;N[o+12>>2]=j;L[o+4|0]=i;N[o+8>>2]=0;N[o>>2]=p;f=f+1|0;p=h;i=q;o=0;break Fa}o=o+Y|0}k=k-1|0;if(k){continue}break}break Ea}if((h|0)!=4128){break Ea}k=N[m+12>>2];if(!k){break Ea}while(1){Ga:{if(!f){f=0;break Ga}h=f-1|0;I=(y+512|0)+(h<<4)|0;if(N[I+8>>2]){break Ea}if((o|0)>0){o=o-1|0;break Ga}j=N[I+12>>2];p=N[I>>2];i=O[I+4|0];f=h}k=k-1|0;if(k){continue}break}}L[m+20|0]=255;k=N[m+4>>2];N[y+4>>2]=k;h=N[m>>2];if(h){N[h+4>>2]=k;N[N[m+4>>2]>>2]=h;u=N[l>>2]}N[m>>2]=u;N[N[l>>2]+4>>2]=m;N[m+4>>2]=l;N[l>>2]=m;u=m;m=y;break Da}Ha:{if((h|0)==32864){Y=N[m+12>>2];if(!Y){break Ha}while(1){Ia:{if((G|0)>0){L[m+20|0]=i;G=G-1|0;break Ia}if((pa|0)>0){k=0;Ja:{if(!f){break Ja}Ka:{while(1){k=f-1|0;h=(y+512|0)+(k<<4)|0;if(N[h+8>>2]){break Ka}La:{if((o|0)>0){o=o-1|0;break La}j=N[h+12>>2];p=N[h>>2];i=O[h+4|0];f=k}if(f){continue}break}k=0;break Ja}j=N[h+12>>2];p=N[h>>2];i=O[h+4|0]}L[m+20|0]=i;j=j-((j|0)>0)|0;L[m+21|0]=j;pa=pa-1|0;o=0;f=k;break Ia}N[I>>2]=64;L[m+20|0]=i}Y=Y-1|0;if(Y){continue}break}break Ha}Ma:{Na:{Oa:{Pa:{if(h&32768){Qa:{switch(h-32832|0){case 0:break Oa;case 1:break Pa;default:break Qa}}if((h|0)!=33587264){break Ma}q=0;k=m;while(1){k=N[k+4>>2];h=N[k+16>>2];if((h|0)==128){break Na}if((h|0)==32864){q=q-1|0;if((pa|0)>=0){continue}break Na}if(h&32768){q=q+1|0;continue}if(q){continue}q=0;if(!(h&256)){continue}break}if(!(h&1)){break Na}q=(((i<<24>>24)%2|0)+i|0)+1|0;break Ma}if((h|0)==2107456){break Ca}L[m+20|0]=i;if(p&64){break Ha}N[I>>2]=p;break Ha}q=(((i<<24>>24)%2|0)+i|0)+1|0;break Ma}q=(i-((i<<24>>24)%2|0)|0)+2|0;break Ma}q=(i-((i<<24>>24)%2|0)|0)+2|0}L[m+20|0]=i;if(!(p&64)){N[I>>2]=p}j=((j|0)<124)+j|0;if(q<<24>>24<=125){pa=pa+1|0;if(!(o|G)){h=(y+512|0)+(f<<4)|0;N[h+12>>2]=j;L[h+4|0]=i;N[h+8>>2]=1;N[h>>2]=p;f=f+1|0;p=64;G=0;o=0;i=q;break Ha}o=!G+o|0;i=q;break Ha}G=G+1|0}}m=N[m+4>>2];I=m+16|0;h=N[m+16>>2];if((h|0)!=128){continue}}break}i=0;m=N[g+4>>2];f=m;if(N[f+16>>2]==128){break Ba}while(1){h=L[f+21|0];if((h|0)<(i|0)){C((h<<2)+hb|0,0,i-h<<2)}j=(y+8528|0)+(h<<2)|0;i=N[j>>2];if(i){N[i+32>>2]=f;N[f+28>>2]=i}N[j>>2]=f;i=h;f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}Ci(m);N[y+512>>2]=Ea;q=0;o=N[g+4>>2];G=N[o+16>>2];Ra:{if((G|0)==128){break Ra}Y=o+16|0;while(1){h=588912;f=588912;k=N[o+28>>2];Sa:{if(!k){break Sa}f=k;if(N[f+16>>2]==128){break Sa}i=L[o+21|0];while(1){if((i|0)>=L[f+21|0]){break Sa}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}j=N[o+32>>2];Ta:{if(!j){break Ta}h=j;i=N[h+16>>2];if((i|0)==128){break Ta}m=L[o+21|0];while(1){if((i|0)!=32864&(m|0)>=L[h+21|0]){break Ta}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}p=L[o+21|0];i=O[f+20|0];m=O[o+20|0];u=(i|0)!=(m|0);if(u){i=i<<24>>24;I=m<<24>>24;i=((i|0)>(I|0)?i:I)&1?273:272}else{i=N[f+16>>2]}I=O[h+20|0];if((I|0)==(m|0)){m=N[h+16>>2]}else{I=I<<24>>24;m=m<<24>>24;m=((m|0)<(I|0)?I:m)&1?273:272}if(i&16){N[(y+512|0)+(p<<2)>>2]=i}I=(q|0)>(p|0);Ua:{Va:{if((G|0)!=544){if((G|0)!=524320){break Va}G=N[o>>2];if(O[G+17|0]&128){N[Y>>2]=64}Wa:{Xa:{if(!u){if((f|0)!=(G|0)){break Xa}u=N[o+4>>2];N[f+4>>2]=u;N[u>>2]=f;N[f+12>>2]=N[f+12>>2]+N[o+12>>2];Ya:{if(j){u=j+28|0}else{u=N[o+4>>2];if(N[u+28>>2]!=(o|0)){break Ya}u=u+28|0}N[u>>2]=k}k=N[o+28>>2];if(k){N[k+32>>2]=j;j=N[o+32>>2]}N[f+32>>2]=j;_a(o);break Wa}N[Y>>2]=i}f=o}if((i|0)!=(m|0)){break Ua}i=N[f+4>>2];if((i|0)!=(h|0)|O[f+20|0]!=O[i+20|0]){break Ua}f=N[h>>2];i=N[h+4>>2];N[f+4>>2]=i;N[i>>2]=f;N[f+12>>2]=N[f+12>>2]+N[h+12>>2];i=N[h+32>>2];Za:{if(i){N[i+28>>2]=N[h+28>>2];break Za}j=N[h+4>>2];if(N[j+28>>2]!=(h|0)){break Za}N[j+28>>2]=N[h+28>>2]}j=N[h+28>>2];if(j){N[j+32>>2]=i;i=N[h+32>>2]}N[f+32>>2]=i;_a(h);break Ua}if(N[(y+512|0)+(p<<2)>>2]!=275){break Va}N[Y>>2]=546;if((m|0)!=524320){break Va}N[h+16>>2]=546}f=o}q=I?q:p;o=N[f+4>>2];Y=o+16|0;G=N[o+16>>2];if((G|0)!=128){continue}break}o=N[g+4>>2];k=N[o+16>>2];N[y+512>>2]=Ea;if((k|0)==128){break Ra}G=o+16|0;m=64;Y=1;j=o;while(1){p=L[j+21|0];h=588912;f=588912;i=N[j+28>>2];_a:{if(!i){break _a}f=i;if(N[f+16>>2]==128){break _a}while(1){if((p|0)>=L[f+21|0]){break _a}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}i=N[j+32>>2];$a:{if(!i){break $a}h=i;i=N[h+16>>2];if((i|0)==128){break $a}while(1){if((i|0)!=32864&(p|0)>=L[h+21|0]){break $a}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}u=O[f+20|0];i=O[j+20|0];if((u|0)==(i|0)){f=N[f+16>>2]}else{f=u<<24>>24;u=i<<24>>24;f=((f|0)>(u|0)?f:u)&1?273:272}u=O[h+20|0];if((u|0)==(i|0)){h=N[h+16>>2]}else{h=u<<24>>24;u=i<<24>>24;h=((h|0)>(u|0)?h:u)&1?273:272}if(f&16){N[(y+512|0)+(p<<2)>>2]=f}ab:{if((k|0)==275){N[G>>2]=273;j=N[j+4>>2];Y=1;m=64;break ab}bb:{if(!Y|!(k&327680)|(!(m&512)|N[j+12>>2]!=1)){break bb}if((m|0)!=544&(k|0)!=263200|(h|0)!=(m|0)){break bb}N[G>>2]=f;k=f}cb:{db:{eb:{fb:{if((k|0)==132128){if((m|0)!=544&(h|0)!=544){break fb}N[G>>2]=544;Y=0;break db}if(!(k&1024)){break eb}}N[G>>2]=64;Y=1;break cb}Y=1;if((k|0)!=544){break cb}}if(N[(y+512|0)+(p<<2)>>2]!=272){break cb}N[G>>2]=272;j=N[j+4>>2];m=(i|0)==O[j+20|0]?544:64;break ab}j=N[j+4>>2];f=N[j>>2];h=O[f+20|0];i=O[j+20|0];if((h|0)==(i|0)){m=N[f+16>>2];break ab}f=h<<24>>24;h=i<<24>>24;m=((f|0)>(h|0)?f:h)&1?273:272}G=j+16|0;k=N[j+16>>2];if((k|0)!=128){continue}break}}Jo(o);N[y+8524>>2]=0;k=L[g+20|0];f=(q<<2)+4|0;C(y+8528|0,0,f);C(y,0,f);N[y+8588>>2]=Na;N[y+8584>>2]=Oa;N[y+8580>>2]=Ra;N[y+8576>>2]=Sa;N[y+8572>>2]=Ta;N[y+8568>>2]=Ua;N[y+8564>>2]=Va;N[y+8560>>2]=Wa;N[y+8556>>2]=Xa;N[y+8552>>2]=Ya;N[y+8548>>2]=Za;N[y+8544>>2]=ab;N[y+8540>>2]=cb;N[y+8536>>2]=eb;N[y+8532>>2]=fb;N[y+8528>>2]=y+512;f=16;if((q|0)>15){while(1){lb=(y+8528|0)+(f<<2)|0,nb=kb(252),N[lb>>2]=nb;h=(f|0)==(q|0);f=f+1|0;if(!h){continue}break}}j=0;m=0;o=N[g+4>>2];h=N[o+16>>2];gb:{if((h|0)==128){break gb}while(1){f=j;i=k;k=L[o+20|0];j=L[o+21|0];if(!((i|0)==(k|0)|(f|0)!=(j|0))){N[y+(f<<2)>>2]=0}hb:{if((h|0)!=64){break hb}h=N[o+24>>2];if(!h){break hb}i=j<<2;p=i+y|0;f=N[p>>2];if((h|0)<0){if((f|0)==63){break gb}h=N[i+(y+8528|0)>>2];N[p>>2]=f+1;N[h+(f<<2)>>2]=o;break hb}i=i+(y+8528|0)|0;while(1){if((f|0)<=0){break hb}f=f-1|0;u=N[N[i>>2]+(f<<2)>>2];if((h^N[u+24>>2])&2147483647){continue}break}N[p>>2]=f;f=kb(12);N[f+8>>2]=m;N[f+4>>2]=o;N[f>>2]=u;m=f}o=N[o+4>>2];h=N[o+16>>2];if((h|0)!=128){continue}break}}N[y+8524>>2]=m;Bi(y+8524|0);m=N[y+8524>>2];G=m;if(m){while(1){k=N[G>>2];j=L[k+20|0];ib:{jb:{f=k;o=N[G+4>>2];u=(f|0)==(o|0);if(!u){while(1){h=273;kb:{lb:{mb:{i=N[f+16>>2];switch(i-544|0){case 0:case 2:break kb;case 1:break lb;default:break mb}}if((i|0)==273){break kb}}h=i}if(h&16){i=h;h=L[f+20|0];if((((i^h)&1)+h|0)==(j|0)){break jb}}f=N[f+4>>2];if((o|0)!=(f|0)){continue}break}}p=O[k+21|0];f=k;nb:{while(1){i=273;ob:{pb:{qb:{f=N[f>>2];h=N[f+16>>2];switch(h-544|0){case 0:case 2:break ob;case 1:break pb;default:break qb}}if((h|0)==273){break ob}if((h|0)==128){break nb}}i=h;if(!(h&16)){continue}}if((p|0)!=O[f+21|0]){continue}break}f=O[f+20|0];j=((f^i)&1)+f|0}f=k;if(u){break ib}while(1){rb:{sb:{tb:{ub:{h=N[f+16>>2];switch(h-544|0){case 0:case 2:break sb;case 1:break tb;default:break ub}}if((h|0)==273){break sb}}if(!(h&16)){break rb}}if((p|0)==O[f+21|0]){break jb}}f=N[f+4>>2];if((o|0)!=(f|0)){continue}break}break ib}f=j&1|272;N[o+16>>2]=f;N[k+16>>2]=f}G=N[G+8>>2];if(G){continue}break}while(1){f=N[m+8>>2];_a(m);m=f;if(f){continue}break}}f=16;if((q|0)>=16){while(1){_a(N[(y+8528|0)+(f<<2)>>2]);h=(f|0)!=(q|0);f=f+1|0;if(h){continue}break}}h=N[g+4>>2];f=h;if(N[f+16>>2]!=128){while(1){N[f+24>>2]=0;f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}Jo(h);m=N[g+4>>2];k=N[m+16>>2];if((k|0)!=128){q=m+16|0;o=m;while(1){h=588912;f=588912;i=N[o+28>>2];vb:{if(!i){break vb}if(N[i+16>>2]==128){f=i;break vb}j=L[o+21|0];f=i;while(1){if((j|0)>=L[f+21|0]){break vb}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}j=N[o+32>>2];wb:{if(!j){break wb}i=N[j+16>>2];if((i|0)==128){h=j;break wb}p=L[o+21|0];h=j;while(1){if((i|0)!=32864&(p|0)>=L[h+21|0]){break wb}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}j=O[f+20|0];i=O[o+20|0];xb:{if((j|0)==(i|0)){f=N[f+16>>2];f=f&512?273:f;break xb}f=j<<24>>24;j=i<<24>>24;f=((f|0)>(j|0)?f:j)&1?273:272}j=O[h+20|0];yb:{if((j|0)==(i|0)){h=N[h+16>>2];h=h&512?273:h;break yb}h=j<<24>>24;j=i<<24>>24;h=((h|0)>(j|0)?h:j)&1?273:272}if((k&576)==64){N[q>>2]=(f|0)==(h|0)?f:i&1?273:272}o=N[o+4>>2];q=o+16|0;k=N[o+16>>2];if((k|0)!=128){continue}break}}Ci(m);j=N[g+4>>2];f=j;h=N[f+16>>2];if((h|0)!=128){while(1){i=O[f+20|0];L[f+20|0]=h&512?(i&-2)+2|0:i+((h^i)&1)|0;f=N[f+4>>2];h=N[f+16>>2];if((h|0)!=128){continue}break}}Ci(j);zb:{Ab:{if(N[l+4>>2]==(l|0)){break Ab}if(!Ko(g,l,1)){break zb}f=N[g+4>>2];if(!((g|0)==(f|0)|O[f+20|0]!=255)){L[f+20|0]=ca}l=0;if(N[f+16>>2]==128){break Ab}while(1){if(O[f+20|0]==255){L[f+20|0]=O[N[f>>2]+20|0]}f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}o=1;p=kb(36);if(!p){break Aa}M[p+20>>1]=255;N[p+28>>2]=0;N[p+32>>2]=0;N[p+16>>2]=128;N[p+8>>2]=-1;N[p+12>>2]=-1;N[p+4>>2]=p;N[p>>2]=p;if((ha|0)>=0){i=1;j=p;k=ha-1|0;h=k;while(1){m=h;f=(h|0)<0?64:N[(h<<2)+Da>>2];Bb:{if(!i){i=!i&(f&8192)>>>13;k=i?m:k;break Bb}i=1;if(f&9482240){break Bb}f=kb(36);if(!f){N[N[p>>2]+4>>2]=0;while(1){f=N[p+4>>2];_a(p);p=f;if(f){continue}break}break Aa}i=0;L[f+21|0]=0;N[f+28>>2]=0;N[f+32>>2]=0;L[f+20|0]=ca;N[f+16>>2]=Ea;N[f>>2]=0;N[f+4>>2]=0;N[f+12>>2]=k-m;N[f+8>>2]=m+1;N[f>>2]=N[j>>2];N[N[j>>2]+4>>2]=f;N[f+4>>2]=j;N[j>>2]=f;j=f}h=m-1|0;if((m|0)>=0){continue}break}}if(!Ko(g,p,0)){break Aa}o=0;f=N[g+4>>2];if(N[f+16>>2]==128){break Aa}i=aa+ib|0;while(1){h=N[f+12>>2];if(h){C(i+o|0,O[f+20|0],h);o=h+o|0}f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}o=0;break Aa}h=N[g>>2]}G=0;N[h+4>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}break na}N[N[g>>2]+4>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}if(l){N[N[l>>2]+4>>2]=0;while(1){f=N[l+4>>2];_a(l);l=f;if(f){continue}break}if(!o){break xa}G=0;break na}if(!o){break xa}G=0;break na}if(O[H+57|0]){N[Ca>>2]=K;Ca=Ca+4|0}aa=D}k=N[$+12>>2];if((D|0)<(k|0)){continue}break}}if(!N[H>>2]){G=1;o=db(1,k);if(k){g=o;K=N[H+12>>2];f=K;p=k;if(k&1){f=N[K>>2];if(f>>>0<=1048575){f=O[(P[(f>>>7&33554430)+404704>>1]+(f&255)|0)+412896|0]}else{f=0}L[o|0]=f;p=k-1|0;g=o+1|0;f=K+4|0}if((k|0)!=1){while(1){h=N[f>>2];if(h>>>0<=1048575){h=O[(P[(h>>>7&33554430)+404704>>1]+(h&255)|0)+412896|0]}else{h=0}L[g|0]=h;h=N[f+4>>2];if(h>>>0<=1048575){h=O[(P[(h>>>7&33554430)+404704>>1]+(h&255)|0)+412896|0]}else{h=0}L[g+1|0]=h;f=f+8|0;g=g+2|0;p=p-2|0;if(p){continue}break}}aa=N[H+20>>2];Cb:{if((k|0)<=0){break Cb}Y=N[H+16>>2];u=0;q=255;g=0;j=0;h=0;i=0;while(1){ca=g+o|0;f=O[ca|0];I=f&24;Db:{if((I|0)==16){break Db}p=255;p=N[Y+(g<<2)>>2]&1052672?p:O[g+aa|0];D=f&4;l=0;m=0;Eb:{Fb:{Gb:{if(j){j=p&255;if((j|0)==255){break Gb}ha=q&255;if((ha|0)==255){break Gb}m=1;if((j|0)==(ha|0)){break Gb}}if(!D|I){break Fb}L[ca|0]=f&(p&1?-2:-3);break Fb}j=1;if(I){break Eb}l=1;m=1;I=p&1?1:2;if(!(I&f)){break Fb}f=u+1|0;if((g|0)<=(f|0)){break Eb}m=0;l=(u^-1)+g&3;if(l){while(1){ha=f+o|0;L[ha|0]=I|(O[ha|0]|h);f=f+1|0;m=m+1|0;if((l|0)!=(m|0)){continue}break}}if((g-2|0)-u>>>0<3){break Eb}while(1){m=f+o|0;L[m|0]=I|(O[m|0]|h);L[m+1|0]=I|(O[m+1|0]|h);L[m+2|0]=I|(O[m+2|0]|h);L[m+3|0]=I|(O[m+3|0]|h);f=f+4|0;if((g|0)!=(f|0)){continue}break}break Eb}if(!(!m|!i)){f=o+u|0;L[f|0]=O[f|0]&(h^-1)}j=l}f=O[ca|0];if(f&24){break Db}h=p&1?2:1;j=(f&h)!=0;i=D;q=p;u=g}g=g+1|0;if((k|0)!=(g|0)){continue}break}if(!j|!i){break Cb}f=o+u|0;L[f|0]=O[f|0]&(h^-1)}f=0;Hb:{if(!K){break Hb}Ib:{if(!o){break Ib}g=0;if((k|0)<=0){break Hb}while(1){h=O[g+o|0];if(h&4){i=K+(g<<2)|0;j=i;i=N[i>>2];N[j>>2]=N[(i-1748>>>0<4294967117?j:(i<<4|(h&3)<<2)+406576|0)>>2]}g=g+1|0;if((k|0)!=(g|0)){continue}break}if((k|0)<2){break Ib}u=k-2|0;I=0;while(1){i=I;I=i+1|0;g=O[i+aa|0];Jb:{if(!(g&1)|(g|0)!=O[I+aa|0]){break Jb}l=K+(i<<2)|0;j=N[l>>2];if(j-65249>>>0<4294967294){break Jb}D=K+(I<<2)|0;m=N[D>>2];g=7;h=0;while(1){Kb:{Lb:{Mb:{Nb:{p=h+g>>>1|0;q=T(p,12);ca=N[q+431584>>2];Ob:{if((ca|0)!=(j|0)){if(j>>>0>>0){break Ob}break Mb}ca=N[q+431588>>2];if(ca>>>0<=m>>>0){break Nb}}g=p-1|0;break Lb}if(m>>>0<=ca>>>0){break Kb}}h=p+1|0}if((h|0)<=(g|0)){continue}break Jb}break}g=N[q+431592>>2];if(!g){break Jb}N[l>>2]=65279;h=i+o|0;L[h|0]=O[h|0]|32;N[D>>2]=g}if((i|0)!=(u|0)){continue}break}}if((k|0)<=0){break Hb}g=k;while(1){h=g;g=h-1|0;Pb:{if(!(L[aa+g|0]&1)){break Pb}j=K+(g<<2)|0;i=N[j>>2];if(i>>>0>65535){break Pb}m=M[(P[(i>>>5&134217726)+434544>>1]+(i&63)<<1)+436592>>1];if(!m){break Pb}N[j>>2]=i+m}if(h>>>0>1){continue}break}}while(1){g=Z+T(f,360)|0;h=N[(N[g+8>>2]+(N[g+12>>2]<<2)|0)+68>>2];i=N[H+12>>2]+(f<<2)|0;N[g>>2]=N[i>>2];i=ze(N[h+92>>2],N[i>>2]);N[g+16>>2]=i;if(i){j=N[h+92>>2];if(j){i=Qa[N[N[j+12>>2]+12>>2]](j,i)|0;h=i>>>0>2]?i:0}else{h=0}N[g+16>>2]=h}f=f+1|0;if((k|0)!=(f|0)){continue}break}}_a(o);break na}q=db(1,172);Qb:{if(!q){q=588184;break Qb}N[q+148>>2]=1073741823;N[q+152>>2]=536870911;N[q>>2]=1;N[q+4>>2]=1;f=Ic();Rb:{if(!f){break Rb}g=N[f>>2];if(!g){break Rb}if((g|0)<=0){break ma}N[f>>2]=g+1}L[q+60|0]=1;N[q+24>>2]=65533;N[q+12>>2]=f}N[y+8528>>2]=0;N[y+8532>>2]=0;Sb:{if(k){f=0;g=0;if(k>>>0>=8){h=k&-8;while(1){L[(Z+T(g,360)|0)+4|0]=1;L[(Z+T(g|1,360)|0)+4|0]=1;L[(Z+T(g|2,360)|0)+4|0]=1;L[(Z+T(g|3,360)|0)+4|0]=1;L[(Z+T(g|4,360)|0)+4|0]=1;L[(Z+T(g|5,360)|0)+4|0]=1;L[(Z+T(g|6,360)|0)+4|0]=1;L[(Z+T(g|7,360)|0)+4|0]=1;g=g+8|0;if((h|0)!=(g|0)){continue}break}}h=k&7;if(h){while(1){L[(Z+T(g,360)|0)+4|0]=1;g=g+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}u=k-1|0;f=0;while(1){m=Z+T(f,360)|0;Tb:{if(N[m+32>>2]){L[m+4|0]=0;j=f;break Tb}Ub:{o=N[m+8>>2];i=N[o+108>>2];if(i){break Ub}i=db(120,1);N[o+108>>2]=i;if(i){break Ub}G=0;break na}g=N[m+12>>2];h=g<<2;if(!N[h+i>>2]){p=N[(h+o|0)+68>>2];g=db(1,212);Vb:{if(!g){g=588540;break Vb}N[g+32>>2]=-1;N[g+20>>2]=0;N[g+16>>2]=p;N[g+12>>2]=362;N[g>>2]=1;N[g+4>>2]=1;N[g+48>>2]=g;N[g+36>>2]=g}if(N[g+4>>2]){N[g+24>>2]=N[p+4>>2];N[g+28>>2]=P[p+68>>1]}j=Lp(g);N[(N[m+12>>2]<<2)+i>>2]=j;nj(g);G=0;if(!j){break na}Wb:{if(!N[j+4>>2]){break Wb}g=P[p+68>>1];l=N[p+88>>2];h=N[l+20>>2];D=UE(g,0,h,h>>31);h=Pa;D=D+32768|0;h=((D>>>0<32768?h+1|0:h)&65535)<<16|D>>>16;D=g;g=N[l+16>>2];l=UE(D,0,g,g>>31);g=Pa;l=l+32768|0;g=((l>>>0<32768?g+1|0:g)&65535)<<16|l>>>16;if((g|0)==N[j+28>>2]&(h|0)==N[j+32>>2]){break Wb}N[j+32>>2]=h;N[j+28>>2]=g;N[j+12>>2]=N[j+12>>2]+1;He(j)}h=db(40,1);l=N[m+12>>2];N[(N[o+108>>2]+(l<<2)|0)+80>>2]=h;if(!h){break na}N[h>>2]=N[H+48>>2];N[h+32>>2]=N[N[m+8>>2]+16>>2];g=db(1,92);Xb:{if(!g){g=588448;break Xb}N[g>>2]=1;N[g+4>>2]=1;F(g+20|0,588468,72);l=N[m+12>>2]}N[(N[o+108>>2]+(l<<2)|0)+40>>2]=g;Yb:{if(!N[g+4>>2]){break Yb}l=N[g+16>>2];Zb:{if(!l){break Zb}D=N[l+8>>2];if(!D){break Zb}l=N[g+12>>2];if(l){l=N[l+8>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];_b:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break _b}}N[g+28>>2]=363;N[l+8>>2]=h;l=N[g+16>>2];if(!l){break _b}N[l+8>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];$b:{if(!l){break $b}D=N[l+16>>2];if(!D){break $b}l=N[g+12>>2];if(l){l=N[l+16>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];ac:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break ac}}N[g+36>>2]=364;N[l+16>>2]=h;l=N[g+16>>2];if(!l){break ac}N[l+16>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];bc:{if(!l){break bc}D=N[l+20>>2];if(!D){break bc}l=N[g+12>>2];if(l){l=N[l+20>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];cc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break cc}}N[g+40>>2]=365;N[l+20>>2]=h;l=N[g+16>>2];if(!l){break cc}N[l+20>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];dc:{if(!l){break dc}D=N[l+24>>2];if(!D){break dc}l=N[g+12>>2];if(l){l=N[l+24>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];ec:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break ec}}N[g+44>>2]=366;N[l+24>>2]=h;l=N[g+16>>2];if(!l){break ec}N[l+24>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];fc:{if(!l){break fc}D=N[l+36>>2];if(!D){break fc}l=N[g+12>>2];if(l){l=N[l+36>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];gc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break gc}}N[g+56>>2]=367;N[l+36>>2]=h;l=N[g+16>>2];if(!l){break gc}N[l+36>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];hc:{if(!l){break hc}D=N[l+40>>2];if(!D){break hc}l=N[g+12>>2];if(l){l=N[l+40>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];ic:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break ic}}N[g+60>>2]=368;N[l+40>>2]=h;l=N[g+16>>2];if(!l){break ic}N[l+40>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];jc:{if(!l){break jc}D=N[l+44>>2];if(!D){break jc}l=N[g+12>>2];if(l){l=N[l+44>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];kc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break kc}}N[g- -64>>2]=369;N[l+44>>2]=h;l=N[g+16>>2];if(!l){break kc}N[l+44>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];lc:{if(!l){break lc}D=N[l+48>>2];if(!D){break lc}l=N[g+12>>2];if(l){l=N[l+48>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];mc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break mc}}N[g+68>>2]=370;N[l+48>>2]=h;l=N[g+16>>2];if(!l){break mc}N[l+48>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];nc:{if(!l){break nc}D=N[l+52>>2];if(!D){break nc}l=N[g+12>>2];if(l){l=N[l+52>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];oc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break oc}}N[g+72>>2]=371;N[l+52>>2]=h;l=N[g+16>>2];if(!l){break oc}N[l+52>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];pc:{if(!l){break pc}D=N[l+56>>2];if(!D){break pc}l=N[g+12>>2];if(l){l=N[l+56>>2]}else{l=0}Qa[D|0](l)}G=N[g+12>>2];if(!G){G=db(1,72);N[g+12>>2]=G;if(!G){break Yb}}N[g+76>>2]=372;N[G+56>>2]=h;h=N[g+16>>2];if(!h){break Yb}N[h+56>>2]=0}if(N[j+4>>2]){N[j+12>>2]=N[j+12>>2]+1;h=N[j+104>>2];if(h){Qa[h|0](N[j+100>>2])}h=N[g>>2];if(h){if((h|0)<=0){break ma}N[g>>2]=h+1}oc(N[j+96>>2]);N[j+104>>2]=0;N[j+100>>2]=p;N[j+96>>2]=g}g=N[m+12>>2]}j=o+68|0;h=N[(g<<2)+j>>2];s=S[m+24>>3];N[y+512>>2]=1;N[y+516>>2]=0;N[y+524>>2]=0;N[y+528>>2]=0;s=XE(s*64);qc:{if(V(s)<2147483648){g=~~s;break qc}g=-2147483648}N[y+520>>2]=g;eg(h,y+512|0);g=N[m+12>>2]<<2;h=N[g+i>>2];rc:{if(!N[h+4>>2]){break rc}p=N[g+j>>2];j=N[p+88>>2];l=N[j+20>>2];g=P[p+68>>1];l=UE(l,l>>31,g,0);l=(Pa&65535)<<16|l>>>16;D=g;g=N[j+16>>2];g=UE(D,0,g,g>>31);g=(Pa&65535)<<16|g>>>16;sc:{if(!((g|0)!=N[h+28>>2]|(l|0)!=N[h+32>>2])){Y=P[j+14>>1];g=P[j+12>>1];break sc}N[h+32>>2]=l;N[h+28>>2]=g;N[h+12>>2]=N[h+12>>2]+1;He(h);if(!N[h+4>>2]){break rc}g=N[p+88>>2];Y=P[g+14>>1];g=P[g+12>>1]}if((g|0)==N[h+72>>2]&N[h+76>>2]==(Y|0)){break rc}N[h+76>>2]=Y;N[h+72>>2]=g;N[h+12>>2]=N[h+12>>2]+1}h=N[m+12>>2];j=h<<2;g=N[(j+N[o+108>>2]|0)+80>>2];N[g+8>>2]=N[m+8>>2];N[g+24>>2]=h;S[g+16>>3]=S[m+24>>3];l=N[i+j>>2];if(!l){G=0;break na}h=f>>>0>u>>>0?f:u;i=N[H+20>>2];o=O[i+f|0];p=N[m+332>>2];g=f;while(1){tc:{j=g;if((h|0)==(g|0)){j=h;break tc}g=j+1|0;if((p|0)!=N[(Z+T(g,360)|0)+332>>2]){break tc}if((o|0)==O[g+i|0]){continue}}break}g=(j-f|0)+1|0;if(!(!g|g>>>0>2])){gb(q,g)}uc:{if(O[H+57|0]){wl(q,N[H+12>>2],k,f,g);i=0;break uc}p=0;i=0;vc:{if((f|0)<=0){break vc}i=0;if(O[m+121|0]){break vc}i=(N[m-360>>2]&-2)==8204}wc:{if(j>>>0>=u>>>0){break wc}h=Z+T(j+1|0,360)|0;if(O[h+121|0]){break wc}p=(N[h>>2]&-2)==8204}wl(q,(N[H+12>>2]+(f<<2)|0)-(i<<2)|0,(g+i|0)+p|0,i,g)}h=N[m+20>>2];p=N[H+44>>2];xc:{if(p){break xc}yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{Hc:{Ic:{Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{Sc:{Tc:{Uc:{Vc:{Wc:{Xc:{Yc:{Zc:{if((h|0)<=1265134961){if((h|0)<=1165256808){if((h|0)<=1130458738){if((h|0)<=1113943654){g=12238;if((h|0)==1098015074){break zc}if((h|0)!=1098018158){break yc}g=7939;break zc}if((h|0)==1113943655){break Zc}if((h|0)==1114990441){break Ac}if((h|0)!=1114990692){break yc}g=8327;break zc}if((h|0)<=1131376755){if((h|0)==1130458739){break Yc}if((h|0)!=1130915186){break yc}g=11946;break zc}if((h|0)==1131376756){break Xc}if((h|0)==1132032620){break Wc}if((h|0)!=1147500129){break yc}g=13897;break zc}if((h|0)<=1214344806){if((h|0)<=1198679402){if((h|0)==1165256809){break Hc}if((h|0)!=1197830002){break yc}g=18433;break zc}if((h|0)==1198679403){break Vc}if((h|0)==1198877298){break Uc}if((h|0)!=1198879349){break yc}g=18430;break zc}if((h|0)<=1214870112){switch(h-1214344807|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break yc;case 8:break Cc;case 0:break Tc;default:break Sc}}if((h|0)==1214870113){break Rc}if((h|0)!=1264676449){break yc}g=18436;break zc}if((h|0)<=1400468066){if((h|0)<=1299148390){if((h|0)<=1281453934){if((h|0)==1265134962){break Gc}if((h|0)!=1265525857){break yc}g=12840;break zc}if((h|0)==1281453935){break Qc}if((h|0)==1281455214){break Pc}if((h|0)!=1298954605){break yc}g=13207;break zc}if((h|0)<=1332902240){if((h|0)==1299148391){break Oc}if((h|0)==1299803506){break Fc}if((h|0)!=1315663727){break yc}g=12489;break zc}if((h|0)==1332902241){break Nc}if((h|0)==1399418472){break Ec}if((h|0)!=1400466543){break yc}g=13182;break zc}if((h|0)<=1416126816){if((h|0)<=1415671147){if((h|0)==1400468067){break Mc}if((h|0)!=1415669602){break yc}g=8281;break zc}if((h|0)==1415671148){break Lc}if((h|0)==1415933045){break Kc}if((h|0)!=1416064103){break yc}g=13186;break zc}if((h|0)<=1432838513){switch(h-1416126817|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break yc;case 0:break Dc;case 8:break Jc;default:break Ic}}if((h|0)==1432838514){break Bc}if((h|0)!=1483761007){break yc}g=12530;break zc}g=13109;break zc}g=8331;break zc}g=12293;break zc}g=8324;break zc}g=13352;break zc}g=8334;break zc}g=12490;break zc}if((h|0)!=1214603890){break yc}g=16107;break zc}g=18436;break zc}g=12486;break zc}g=13106;break zc}g=12837;break zc}g=11943;break zc}g=11768;break zc}g=18413;break zc}g=15470;break zc}g=14040;break zc}if((h|0)!=1416192628){break yc}g=12534;break zc}g=13163;break zc}g=13132;break zc}g=7936;break zc}g=13894;break zc}g=8321;break zc}g=12833;break zc}g=18439;break zc}g=14511}if(!O[g|0]){break yc}g=ie(g);if(!g){break yc}p=N[g+4>>2];if(p){break xc}}p=N[147446];if(p){break xc}p=0;g=N[147878];g=g?g+8|0:20427;_c:{if(!O[g|0]){break _c}g=ie(g);if(!g){break _c}p=N[g+4>>2]}if(N[147446]){break xc}N[147446]=p}if(N[q+4>>2]){N[q+48>>2]=p;N[q+44>>2]=h;N[q+40>>2]=o&1|4;g=N[y+8532>>2];N[q+52>>2]=N[y+8528>>2];N[q+56>>2]=g}g=N[H+40>>2];h=N[N[m+8>>2]+16>>2]!=0;N[g+4>>2]=h;N[g+20>>2]=h;h=S[m+304>>3]==0;N[g+52>>2]=h;N[g+68>>2]=h;Ge(l,q,g,N[H+36>>2]);m=O[H+57|0];l=N[q+80>>2];o=N[q+68>>2];$c:{ad:{if(O[q+63|0]){break ad}h=0;if(N[q+168>>2]){break $c}N[q+84>>2]=l;N[q+72>>2]=0;M[q+62>>1]=256;g=T(o,20);if(!g){break ad}C(N[q+88>>2],0,g)}h=N[q+88>>2]}if((o|0)>0){D=m?0:f-i|0;i=0;while(1){p=T(i,20);K=p+l|0;m=Z+T(D+N[K+8>>2]|0,360)|0;g=m;f=g;bd:{if(O[f+4|0]){break bd}while(1){f=g;g=N[f+352>>2];if(g){continue}break}g=kb(360);N[f+352>>2]=g;if(!g){break bd}F(g,f,360);g=N[f+8>>2];if(g){if(!N[g-8>>2]){break a}g=g-4|0;G=N[g>>2];if(!G){break a}N[g>>2]=G+1}f=N[f+352>>2];N[f+352>>2]=0}L[f+4|0]=0;N[f+16>>2]=N[K>>2];s=S[f+256>>3];p=h+p|0;r=XE(s*+N[p+8>>2]);cd:{if(V(r)<2147483648){g=~~r;break cd}g=-2147483648}N[f+112>>2]=g;r=S[f+264>>3];J=XE(r*+(0-N[p+12>>2]|0));dd:{if(V(J)<2147483648){g=~~J;break dd}g=-2147483648}N[f+116>>2]=g;s=XE(s*+N[p>>2]);ed:{if(V(s)<2147483648){g=~~s;break ed}g=-2147483648}N[f+144>>2]=g;s=XE(r*+(0-N[p+4>>2]|0));fd:{if(V(s)<2147483648){p=~~s;break fd}p=-2147483648}N[f+148>>2]=p;N[m+156>>2]=p+N[m+156>>2];N[m+152>>2]=g+N[m+152>>2];i=i+1|0;if((o|0)!=(i|0)){continue}break}}if(!N[q+4>>2]){break Tb}Xe(N[q+12>>2]);f=Ic();gd:{if(!f){break gd}g=N[f>>2];if(!g){break gd}if((g|0)<=0){break Sb}N[f>>2]=g+1}N[q+24>>2]=65533;N[q+16>>2]=0;N[q+20>>2]=0;N[q+12>>2]=f;N[q+52>>2]=0;N[q+56>>2]=0;N[q+44>>2]=0;N[q+48>>2]=0;N[q+36>>2]=0;N[q+40>>2]=0;N[q+28>>2]=0;N[q+32>>2]=0;L[q+60|0]=1;L[q+68|0]=0;L[q+69|0]=0;L[q+70|0]=0;L[q+71|0]=0;L[q+72|0]=0;L[q+73|0]=0;L[q+74|0]=0;L[q+75|0]=0;L[q+61|0]=0;L[q+62|0]=0;L[q+63|0]=0;L[q+64|0]=0;L[q+65|0]=0;L[q+66|0]=0;L[q+67|0]=0;L[q+68|0]=0;N[q+144>>2]=0;N[q+84>>2]=N[q+80>>2];M[q+140>>1]=0;N[q+132>>2]=0;N[q+136>>2]=0;N[q+124>>2]=0;N[q+128>>2]=0;N[q+116>>2]=0;N[q+120>>2]=0;N[q+108>>2]=0;N[q+112>>2]=0;N[q+100>>2]=0;N[q+104>>2]=0;N[q+92>>2]=0;N[q+96>>2]=0}f=j+1|0;if(k>>>0>f>>>0){continue}break}}dc(q);G=1;break na}break ma}N[h+4>>2]=g;N[h+12>>2]=ha-N[h+8>>2];N[g>>2]=h;i=h+4|0}G=0;N[i>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}}La=y+9040|0;break la}ba(23506,14099,260,16403);B()}if(!G){g=0;mb(N[W>>2],1,8437,0);tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0;break n}l=N[n+4>>2];k=N[l+12>>2];hd:{if((k|0)<=0){p=l+12|0;f=0;break hd}j=N[l>>2];o=0;while(1){m=T(o,360);f=m+j|0;while(1){g=N[n>>2];id:{jd:{if(N[f+32>>2]){N[t+144>>2]=1;h=N[f+36>>2];N[t+152>>2]=N[f+32>>2];N[t+156>>2]=h;h=sc(N[g+844>>2],t+144|0,g);if(!h){break id}if(!O[h|0]){tb(h);break id}w=0;i=N[f+40>>2]-1&31;if((i|0)!=31){w=1/+(1<>3]*S[n+544>>3];k=N[f+44>>2]<<6;i=N[h+72>>2]-k|0;J=r*+(0-i|0);s=w*S[f+256>>3]*S[n+536>>3]/S[g+184>>3];break jd}N[t+144>>2]=0;N[t+152>>2]=N[f+8>>2];S[t+160>>3]=S[f+24>>3];N[t+168>>2]=N[f+12>>2];N[t+172>>2]=N[f+16>>2];N[t+176>>2]=N[f+320>>2];N[t+180>>2]=N[f+316>>2];N[t+184>>2]=N[f+324>>2];h=sc(N[g+844>>2],t+144|0,g);if(!h){break id}if(!O[h|0]){tb(h);break id}k=N[h+76>>2];i=N[h+72>>2];r=S[f+264>>3];J=0;s=S[f+256>>3]}S[f+56>>3]=s;N[f+48>>2]=h;S[f+80>>3]=J;N[f+72>>2]=0;N[f+76>>2]=0;S[f- -64>>3]=r;w=XE(+N[h+52>>2]*s+0);kd:{if(V(w)<2147483648){p=~~w;break kd}p=-2147483648}N[f+88>>2]=p;w=XE(+N[h+56>>2]*r+J);ld:{if(V(w)<2147483648){p=~~w;break ld}p=-2147483648}N[f+92>>2]=p;w=XE(+N[h+60>>2]*s+0);md:{if(V(w)<2147483648){p=~~w;break md}p=-2147483648}N[f+96>>2]=p;J=XE(+N[h- -64>>2]*r+J);nd:{if(V(J)<2147483648){p=~~J;break nd}p=-2147483648}N[f+100>>2]=p;if(N[g+92>>2]?N[f+32>>2]:1){g=N[h+68>>2];N[f+156>>2]=0;N[f+148>>2]=0;s=XE(s*+(g|0));od:{if(V(s)<2147483648){g=~~s;break od}g=-2147483648}N[f+152>>2]=g;N[f+144>>2]=g}s=XE(r*+(k|0));pd:{if(V(s)<2147483648){h=~~s;break pd}h=-2147483648}N[f+180>>2]=h;s=XE(r*+(i|0));qd:{if(V(s)<2147483648){h=~~s;break qd}h=-2147483648}N[f+176>>2]=h}f=N[f+352>>2];if(f){continue}break}rd:{if(!o){break rd}f=o-1|0;if(N[(j+m|0)+316>>2]|!N[(j+T(f,360)|0)+316>>2]){break rd}g=0;sd:{if(!f){break sd}while(1){h=j+T(f,360)|0;if(N[h+96>>2]!=N[h+88>>2]){g=f;break sd}if(!N[h+316>>2]){g=f;break sd}f=f-1|0;if(f){continue}break}}f=j+T(g,360)|0;g=N[f+96>>2];if((g|0)<=N[f+152>>2]){break rd}N[f+152>>2]=g}f=j+m|0;N[f+152>>2]=N[f+152>>2]+N[f+312>>2];l=N[n+4>>2];k=N[l+12>>2];o=o+1|0;if((k|0)>(o|0)){continue}break}p=l+12|0;if((k|0)<=0){f=0;break hd}j=N[l>>2];i=0;o=0;q=0;while(1){m=T(i,360);f=m+j|0;h=o;g=q;while(1){N[f+104>>2]=g;N[f+108>>2]=h;g=N[f+144>>2]+g|0;h=N[f+148>>2]+h|0;f=N[f+352>>2];if(f){continue}break}f=j+m|0;q=N[f+152>>2]+q|0;o=N[f+156>>2]+o|0;f=1;i=i+1|0;if((k|0)!=(i|0)){continue}break}}g=N[fa+32>>2];if(!g){g=N[N[n+68>>2]+108>>2]}h=N[fa+36>>2];if(!h){h=N[N[n+68>>2]+112>>2]}aa=N[fa+40>>2];if(!aa){aa=N[N[n+68>>2]+116>>2]}s=+(N[N[W+168>>2]+36>>2]-h|0);td:{ud:{h=N[n+532>>2];j=N[n>>2];vd:{if(!(h|!N[j+72>>2])){R=S[j+160>>3];r=S[j+184>>3];w=+N[N[j+168>>2]+36>>2];J=R*s/r/w+(+N[j+132>>2]-R);X=+(g|0);break vd}J=s;s=+N[j+144>>2];r=S[j+184>>3];w=+N[N[j+168>>2]+36>>2];E=+N[j- -64>>2];J=J*s/r/w+E;X=+(g|0);if(!N[j+72>>2]|h){break ud}R=S[j+160>>3]}s=X*R/r/w;break td}s=s*X/r/w+E}ca=N[n+96>>2];N[l+20>>2]=1;R=J-s;if(f){o=N[l>>2];h=-1;f=0;while(1){wd:{xd:{yd:{zd:{Ad:{g=N[l>>2]+T(f,360)|0;i=N[g>>2];Bd:{if((i|0)==10){i=N[j>>2];N[t>>2]=f;mb(i,7,17182,t);u=2;i=f;break Bd}i=(i|0)==32;if(i|!(R<=+(N[g+104>>2]+N[g+96>>2]|0)*.015625-+(N[o+104>>2]+N[o+88>>2]|0)*.015625)|N[n+516>>2]==2){break xd}if((h|0)<0){break Ad}i=N[j>>2];N[t+16>>2]=h;mb(i,7,17189,t+16|0);u=1;i=h}h=N[g>>2]==32?f:h;break zd}u=1;i=h;if((h|0)==-1){break yd}}g=i+1|0;i=N[l+20>>2];k=N[l+56>>2];Cd:{if((i|0)<(k|0)){break Cd}Dd:{if((k|0)<=1073741823){N[l+56>>2]=k<<1;N[147316]=0;i=N[l+16>>2];k=N[l+56>>2];if(k>>>0<=178956970){k=T(k,24);k=$a(i,k>>>0<=1?1:k);if(k){break Dd}}N[147316]=48;N[l+16>>2]=i;i=N[l+20>>2]}L[o+120|0]=0;N[l+20>>2]=i-1;break Cd}N[147316]=0;N[l+16>>2]=k}k=N[p>>2];if((g|0)>=(k|0)){break wd}o=N[l>>2]+T(g,360)|0;L[o+120|0]=u;N[l+20>>2]=N[l+20>>2]+1}h=-1;break wd}h=i?f:h}f=f+1|0;if((k|0)>(f|0)){continue}break}l=N[n+4>>2]}Ed:{if(N[n+516>>2]==1){break Ed}h=0;y=N[l+12>>2];if((y|0)<0){break Ed}p=1;m=N[l>>2];i=m;q=0;while(1){Fd:{K=(q|0)==(y|0);f=T(q,360);Gd:{if(!(K|O[(f+m|0)+120|0])){j=i;f=p;break Gd}j=f+m|0;Hd:{Id:{if(!h){break Id}f=i;if(O[f+120|0]!=1){break Id}Jd:{while(1){o=f;f=f-360|0;if(h>>>0>=f>>>0){break Jd}if(N[f>>2]==32){continue}break}while(1){f=f-360|0;if(h>>>0>=f>>>0){break Jd}if(N[f>>2]!=32){continue}break}}k=f;Kd:{if(f>>>0<=h>>>0){break Kd}while(1){if(N[k>>2]!=32){break Kd}k=k-360|0;if(k>>>0>h>>>0){continue}break}}g=j;G=T(N[f>>2]==32,360);u=G+f|0;if((u|0)!=(h|0)){while(1){D=g;g=g-360|0;if(i>>>0>>0&N[g>>2]==32){continue}break}g=D-360|0;g=N[g+104>>2]+N[g+96>>2]|0;f=f+G|0;s=+(g-(N[f+88>>2]+N[f+104>>2]|0)|0)*.015625;h=N[h+104>>2]+N[h+88>>2]|0;r=+(N[k+104>>2]+(N[k+96>>2]-h|0)|0)*.015625;w=r>2]+N[i+104>>2]|0)|0)*.015625;g=o-360|0;r=+((N[g+104>>2]+N[g+96>>2]|0)-h|0)*.015625;if(!(w<(r>2];if((y|0)>0){D=N[l>>2];f=D;Md:{Nd:{Od:{i=N[l+12>>2];g=i-1|0;if(!g){break Od}while(1){f=D+T(g,360)|0;h=N[f>>2];if(!((h|0)!=32&(h|0)!=10|O[f+120|0])){M[f+4>>1]=257;g=g-1|0;if(g){continue}}break}h=0;f=D;if((i|0)>0){break Od}I=N[n>>2];q=0;N[l+48>>2]=0;N[l+32>>2]=0;N[l+36>>2]=0;m=l+48|0;K=l+32|0;break Nd}Pd:{while(1){g=N[f>>2];if(!(O[f+120|0]|(g|0)!=32&(g|0)!=10)){M[f+4>>1]=257;h=h+1|0;f=D+T(h,360)|0;if((h|0)!=(i|0)){continue}break Pd}break}L[f+121|0]=1}j=D+T(i,360)|0;o=0;while(1){k=T(o,360);g=k+D|0;Qd:{if(!O[g+120|0]){break Qd}f=o-1|0;Rd:{if(!f){break Rd}while(1){h=D+T(f,360)|0;m=N[h>>2];if((m|0)!=32&(m|0)!=10|O[h+120|0]){break Rd}M[h+4>>1]=257;f=f-1|0;if(f){continue}break}}f=N[g>>2];Sd:{if((f|0)!=32&(f|0)!=10){break Sd}f=k+D|0;M[f+4>>1]=257;g=f+360|0;h=o+1|0;if((i|0)<=(h|0)){break Sd}while(1){f=N[g>>2];if((f|0)!=32&(f|0)!=10){break Sd}f=D+T(h,360)|0;if(O[f+120|0]){break Sd}M[f+4>>1]=257;g=f+360|0;o=h;h=h+1|0;if((i|0)!=(h|0)){continue}break}g=j}if(g>>>0>=j>>>0){break Qd}L[g+121|0]=1}o=o+1|0;if((o|0)<(i|0)){continue}break}I=N[n>>2];q=0;N[l+48>>2]=0;N[l+32>>2]=0;N[l+36>>2]=0;m=l+48|0;K=l+32|0;if((i|0)>0){break Md}}J=.0078125;s=0;u=0;f=0;h=0;r=0;w=0;o=0;break Ld}J=.0078125;s=0;u=0;o=0;k=0;p=1;w=0;r=0;h=0;f=0;while(1){Td:{Ud:{Vd:{q=T(k,360);g=q+D|0;Wd:{if(O[g+120|0]){j=N[l+16>>2]+T(o,24)|0;E=J*+(h|0);S[j+8>>3]=E;J=J*+(f|0);S[j>>3]=J;s=s+(J+E);S[l+32>>3]=s;r=S[n+560>>3]*r+.5;Xd:{if(V(r)<2147483648){f=~~r;break Xd}f=-2147483648}N[l+44>>2]=f;if(!o){N[l+40>>2]=f}r=S[n+552>>3]*w+.5;Yd:{if(V(r)<2147483648){f=~~r;break Yd}f=-2147483648}u=(f|0)<(u|0)?u:f;N[l+48>>2]=u;o=o+1|0;J=.0078125;h=0;w=0;j=g;r=0;f=0;break Wd}j=q+D|0;if(!(p&1)){break Vd}}if(!O[g+5|0]){f=0;r=0;h=0;w=0;p=0;break Ud}p=1;break Ud}p=0;if(O[(q+D|0)+5|0]){break Td}}g=q+D|0;E=S[g+288>>3];w=w>E?w:E;E=S[g+296>>3];r=r>E?r:E;q=N[g+180>>2];h=(h|0)>(q|0)?h:q;g=N[g+176>>2];f=(f|0)>(g|0)?f:g;J=N[j>>2]==10?J:.015625}q=1;k=k+1|0;if((k|0)!=(i|0)){continue}break}break Ld}ba(21796,18170,1877,16423);B()}if((y-1|0)!=(o|0)){ba(21820,18170,1649,8359);B()}p=N[l+16>>2];g=p+T(o,24)|0;E=J*+(h|0);S[g+8>>3]=E;J=J*+(f|0);S[g>>3]=J;r=S[n+560>>3]*r+.5;Zd:{if(V(r)<2147483648){f=~~r;break Zd}f=-2147483648}N[l+44>>2]=f;if(!o){N[l+40>>2]=f}r=S[n+552>>3]*w+.5;_d:{if(V(r)<2147483648){f=~~r;break _d}f=-2147483648}N[m>>2]=(f|0)<(u|0)?u:f;ia=S[I+40>>3];S[K>>3]=+(o|0)*ia+(s+(J+E));g=1;if(q){f=0;$d:{while(1){if(!O[(D+T(f,360)|0)+4|0]){break $d}f=f+1|0;if((i|0)!=(f|0)){continue}break}f=i}j=D+T(i,360)|0;w=+(0-N[(D+T(f,360)|0)+104>>2]|0)*.015625;r=0;f=0;while(1){k=T(f,360);h=k+D|0;ae:{if(!O[h+120|0]){k=N[(k+D|0)+104>>2];break ae}be:{if((f|0)>=(i|0)){break be}while(1){if(!O[h+4|0]|N[h>>2]==10){break be}f=f+1|0;h=D+T(f,360)|0;if((f|0)!=(i|0)){continue}break}f=i;h=j}k=p+T(g,24)|0;m=k-24|0;N[m+20>>2]=f-N[m+16>>2];N[k+16>>2]=f;r=r+(ia+(S[m+8>>3]+S[k>>3]));g=g+1|0;k=N[h+104>>2];w=+(0-k|0)*.015625}s=XE(w*64);ce:{if(V(s)<2147483648){m=~~s;break ce}m=-2147483648}N[h+104>>2]=m+k;s=XE(r*64);de:{if(V(s)<2147483648){k=~~s;break de}k=-2147483648}N[h+108>>2]=k+N[h+108>>2];f=f+1|0;if((i|0)>(f|0)){continue}break}}f=(p+T(g,24)|0)-24|0;N[f+20>>2]=i-N[f+16>>2];ee:{if((i|0)>=0){f=N[I+176>>2];g=N[n+64>>2];h=N[g>>2];y=f-h|0;G=N[I+180>>2]-(N[g+4>>2]+(f>>>0>>0)|0)|0;p=0;u=0;g=0;f=0;q=0;h=0;while(1){K=h;fe:{ge:{if((h|0)>=(i|0)){break ge}h=D+T(K,360)|0;if(O[h+121|0]){break ge}i=N[h+168>>2];h=O[h+172|0];u=i+(h?0:u)|0;q=(h|0)!=0|q;break fe}o=D+T(K,360)|0;if(!f){f=o;break fe}h=N[f+160>>2];g=h?h:g;if(!g){g=0;f=o;break fe}h=N[f+168>>2]+(O[f+172|0]?0:p)|0;i=N[f+164>>2];k=i;j=h+i|0;m=h>>31;i=m+(i>>31)|0;k=j>>>0>>0?i+1|0:i;H=q&1?0:j;i=-1e8;he:{if(h>>>0>y>>>0&(m|0)>=(G|0)|(m|0)>(G|0)){break he}p=(g|0)==2;j=p?j:h;p=p?k:m;k=p;i=1e8;if((k|0)<=(G|0)&j>>>0<=y>>>0|(k|0)<(G|0)){break he}i=f;k=o-360|0;ie:{if(k>>>0<=f>>>0){break ie}while(1){if(!O[i+4|0]){break ie}i=i+360|0;if(k>>>0>i>>>0){continue}break}}je:{if(i>>>0>=k>>>0){break je}while(1){if(!O[k+4|0]){break je}k=k-360|0;if(k>>>0>i>>>0){continue}break}}r=(+(y-h>>>0)+ +(G-((h>>>0>y>>>0)+m|0)|0)*4294967296)/(+(j-h>>>0)+ +(p-((h>>>0>j>>>0)+m|0)|0)*4294967296);Z=N[k+144>>2];Y=N[k+104>>2];q=N[i+104>>2];s=S[f+232>>3];A(+s);m=v(1)|0;p=v(0)|0;i=m>>>20&2047;ke:{if((i|0)==2047){s=s*360;s=s/s;break ke}j=p<<1;h=m<<1|p>>>31;if(!j&(h|0)==-2131951616|h>>>0<2163015680){s=!j&(h|0)==-2131951616?s*0:s;break ke}le:{if(!i){i=0;j=p<<12;k=m<<12|p>>>20;h=k;if((h|0)>0|(h|0)>=0){while(1){i=i-1|0;k=h<<1|j>>>31;j=j<<1;h=k;if((h|0)>0|(h|0)>=0){continue}break}}j=p;k=1-i|0;h=k&31;if((k&63)>>>0>=32){k=j<>>32-h|m<1031){while(1){me:{k=h-1474560|0;if((k|0)<0){break me}h=k;if(h|j){break me}s=s*0;break ke}k=h<<1|j>>>31;j=j<<1;h=k;i=i-1|0;if((i|0)>1031){continue}break}i=1031}ne:{k=h-1474560|0;if((k|0)<0){break ne}h=k;if(h|j){break ne}s=s*0;break ke}if((h|0)==1048575|h>>>0<1048575){while(1){i=i-1|0;k=h>>>0<524288;h=h<<1|j>>>31;j=j<<1;if(k){continue}break}}p=0;m=m&-2147483648;if((i|0)>0){k=h+-1048576|0;h=i<<20;i=j;k=h|k}else{k=1-i|0;i=k&31;if((k&63)>>>0>=32){k=0;i=h>>>i|0}else{k=h>>>i|0;i=((1<>>i}}x(0,i|p);x(1,k|m);s=+z()}oe:{if(!(s>90)|!(s<270)){break oe}r=1-r;k=f;if(f>>>0>=o>>>0){break oe}while(1){lb=k,nb=_E(N[k+124>>2],N[k+128>>2],32),N[lb+124>>2]=nb;N[k+128>>2]=Pa;k=k+360|0;if(o>>>0>k>>>0){continue}break}}s=XE(r*+(Z+(Y-q|0)|0));pe:{if(V(s)<2147483648){h=~~s;break pe}h=-2147483648}i=h+q|0}p=u+H|0;q=0;if(f>>>0>>0){while(1){N[f+160>>2]=g;N[f+164>>2]=i-N[f+104>>2];f=f+360|0;if(o>>>0>f>>>0){continue}break}}f=o;u=0}h=K+1|0;i=N[l+12>>2];if((K|0)<(i|0)){continue}break}q=N[n+8>>2];if((i|0)<=0){break ee}g=N[q+24>>2];f=0;while(1){N[g+(f<<2)>>2]=f;f=f+1|0;i=N[l+12>>2];if((f|0)<(i|0)){continue}break}break ee}q=N[n+8>>2]}f=O[q+57|0];if(f){u=N[q+28>>2]}else{u=q+32|0}if((i|0)>0){k=0;o=0;while(1){j=o;o=j+1|0;qe:{re:{if((j|0)==(i-1|0)){break re}g=D+T(o,360)|0;if(O[g+120|0]|N[N[q+16>>2]+(j<<2)>>2]==2107456){break re}if(f&255){break qe}if(O[g+121|0]|S[(D+T(j,360)|0)+304>>3]!=0){break re}f=0;break qe}se:{if((k|0)==(o|0)|(j|0)<(k|0)){break se}h=o-k|0;y=N[q+24>>2];p=N[q+20>>2];g=N[q+16>>2];i=N[u>>2]&1;f=j;while(1){if(N[g+(f<<2)>>2]&9441280){L[f+p|0]=i;m=(f|0)>(k|0);f=f-1|0;if(m){continue}}break}g=0;K=0;f=j;if(h>>>0>=4){G=h&-4;i=0;while(1){m=f+p|0;H=L[m-3|0];Z=L[m-2|0];Y=L[m-1|0];m=L[m|0];K=K<<24>>24;m=(m|0)>(K|0)?m:K;m=(m|0)<(Y|0)?Y:m;m=(m|0)<(Z|0)?Z:m;K=(m|0)<(H|0)?H:m;f=f-4|0;i=i+4|0;if((G|0)!=(i|0)){continue}break}}h=h&3;if(h){while(1){i=L[f+p|0];m=K<<24>>24;K=(i|0)>(m|0)?i:m;f=f-1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}i=K<<24>>24;if((i|0)<=0){break se}g=j;if(!y){while(1){te:{if((i|0)>L[g+p|0]){f=g;break te}h=((g|0)<(k|0)?g:k)-1|0;f=g;while(1){if((f|0)<=(k|0)){f=h;break te}f=f-1|0;if((i|0)<=L[p+f|0]){continue}break}}g=f-1|0;if((f|0)>(k|0)){continue}break se}}while(1){g=j;while(1){G=K<<24>>24;ue:{if((G|0)>L[g+p|0]){h=g;break ue}i=(g|0)<(k|0)?g:k;m=i-1|0;h=g;while(1){ve:{f=h;if((k|0)>=(f|0)){f=i;h=m;break ve}h=f-1|0;if((G|0)<=L[p+h|0]){continue}}break}i=g-h|0;if((i|0)<2){break ue}m=(i|0)/2|0;g=y+(f<<2)|0;f=0;if((i&-2)!=2){H=m&-2;while(1){Z=f<<2;Y=Z+g|0;ha=N[Y>>2];pa=Y;Y=g+(i+(f^-1)<<2)|0;N[pa>>2]=N[Y>>2];N[Y>>2]=ha;Z=g+(Z|4)|0;Y=N[Z>>2];pa=Z;Z=(g+(i-f<<2)|0)-8|0;N[pa>>2]=N[Z>>2];N[Z>>2]=Y;f=f+2|0;if((H|0)!=(f|0)){continue}break}}if(!(m&1)){break ue}m=g+(f<<2)|0;H=N[m>>2];f=g+(i+(f^-1)<<2)|0;N[m>>2]=N[f>>2];N[f>>2]=H}g=h-1|0;if((h|0)>(k|0)){continue}break}K=K-1|0;if((G|0)>1){continue}break}}f=O[q+57|0];we:{if(!f){f=0;break we}u=((N[N[q+16>>2]+(j<<2)>>2]==2107456)<<2)+u|0}k=o}i=N[l+12>>2];if((o|0)<(i|0)){continue}break}}o=N[q+24>>2];xe:{if(o){if((i|0)<=0){break xe}m=N[l>>2];k=0;u=1;q=0;j=0;while(1){g=T(N[o+(k<<2)>>2],360);if(O[(m+T(k,360)|0)+120|0]){s=XE(S[I+40>>3]*64);ye:{if(V(s)<2147483648){f=~~s;break ye}f=-2147483648}j=N[l+16>>2]+T(u,24)|0;s=XE(S[j-16>>3]*64);ze:{if(V(s)<2147483648){h=~~s;break ze}h=-2147483648}p=h+q|0;s=XE(S[j>>3]*64);Ae:{if(V(s)<2147483648){h=~~s;break Ae}h=-2147483648}q=f+(p+h|0)|0;u=u+1|0;j=0}h=g+m|0;if(!O[h+4|0]){f=g+m|0;p=N[h+152>>2];D=N[h+156>>2];h=j;g=q;while(1){N[f+104>>2]=N[f+112>>2]+h;N[f+108>>2]=N[f+116>>2]+g;h=N[f+144>>2]+h|0;g=N[f+148>>2]+g|0;f=N[f+352>>2];if(f){continue}break}q=q+D|0;j=j+p|0}k=k+1|0;if((k|0)!=(i|0)){continue}break}break xe}mb(N[I>>2],1,8414,0);h=0;g=N[l+12>>2];if((g|0)>0){while(1){f=N[(N[l>>2]+T(h,360)|0)+352>>2];if(f){while(1){g=N[f+352>>2];_a(f);f=g;if(f){continue}break}g=N[l+12>>2]}h=h+1|0;if((h|0)<(g|0)){continue}break}}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break xe}N[f+12>>2]=0}m=N[n+216>>2];q=m&2;l=N[n+96>>2];u=l&3;f=0;g=N[n+4>>2];j=N[g>>2];k=N[g+12>>2];if((k|0)>=0){p=q?u:N[n+100>>2];h=q?1:u;w=0;r=0;while(1){i=(f|0)==(k|0);if(i|O[(j+T(f,360)|0)+120|0]){w=r=(k|0)){break Be}g=j+T(f,360)|0;if(O[g+4|0]){break Be}Ce:{switch(N[g>>2]){case 0:case 10:break Be;default:break Ce}}r=r+ +N[g+152>>2]*.015625}f=f+1|0;if(!i){continue}break}s=R-w;E=s*.5;ia=w+E;f=0;D=h-1|0;o=-1;while(1){h=f;if(!(!O[(j+T(f,360)|0)+120|0]&(f|0)!=(k|0))){J=0;De:{Ee:{switch(D|0){case 0:Fe:{switch(p-2|0){case 1:J=w-r;break De;case 0:break Fe;default:break De}}J=(w-r)*.5;break De;case 2:J=s;Ge:{switch(p-1|0){case 1:J=s+(w-r)*.5;break De;case 0:break De;default:break Ge}}J=R-r;break De;case 1:break Ee;default:break De}}J=E;He:{switch(p-1|0){case 2:J=ia-r;break De;case 0:break De;default:break He}}J=(R-r)*.5}g=o+1|0;Ie:{if((h|0)<=(g|0)){break Ie}r=XE(J*64);Je:{if(V(r)<2147483648){i=~~r;break Je}i=-2147483648}if(!j){break Ie}if(h+(o^-1)&1){f=j+T(g,360)|0;while(1){N[f+104>>2]=i+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}g=o+2|0}if((h-2|0)==(o|0)){break Ie}while(1){o=T(g,360);f=o+j|0;while(1){N[f+104>>2]=i+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}f=(j+o|0)+360|0;while(1){N[f+104>>2]=i+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}g=g+2|0;if((h|0)!=(g|0)){continue}break}}o=h-1|0;r=0}Ke:{if((h|0)>=(k|0)){break Ke}f=j+T(h,360)|0;if(O[f+4|0]){break Ke}Le:{switch(N[f>>2]){case 0:case 10:break Ke;default:break Le}}r=r+ +N[f+152>>2]*.015625}f=h+1|0;if((h|0)!=(k|0)){continue}break}}h=N[$+12>>2];Me:{if((h|0)<=0){J=0;ia=0;R=0;E=0;break Me}i=N[$>>2];w=S[$+32>>3];s=S[N[$+16>>2]>>3];f=0;ia=-32e3;J=32e3;while(1){g=i+T(f,360)|0;if(!O[g+4|0]){r=+N[g+104>>2]*.015625;E=r+ +N[g+152>>2]*.015625;ia=E>2];if((k|0)>0){o=N[N[N[p+168>>2]+88>>2]+36>>2]&4;D=N[N[n+8>>2]+24>>2];g=0;i=0;while(1){f=T(N[D+(i<<2)>>2],360);h=j+T(i,360)|0;if(!O[h+121|0]|o?O[h+120|0]:1){g=0}Ne:{Oe:{h=f+j|0;s=S[h+256>>3];if(s!=0){r=S[h+264>>3];if(r!=0){break Oe}}L[h+4|0]=1;break Ne}if(O[h+4|0]){break Ne}f=f+j|0;while(1){N[f+108>>2]=N[f+108>>2]+g;f=N[f+352>>2];if(f){continue}break}s=r*(S[h+248>>3]/s)*+N[h+152>>2]+ +(g|0);if(V(s)<2147483648){g=~~s;break Ne}g=-2147483648}i=i+1|0;if((k|0)!=(i|0)){continue}break}}D=ca&12;Pe:{Qe:{Re:{Se:{Te:{Ue:{Ve:{We:{Xe:{f=m&1;if(f){g=l&12;r=0;s=J;w=0;Ye:{Ze:{_e:{switch(u-1|0){case 1:s=(J+ia)*.5;break Ze;case 0:break Ze;case 2:break _e;default:break Ye}}s=ia}w=s}s=E;$e:{af:{bf:{switch(g|0){case 8:s=(E+R)*.5;break af;case 4:break af;case 0:break bf;default:break $e}}s=R}r=s}g=N[W+168>>2];s=S[n+152>>3]*+N[W+140>>2]/+N[g+40>>2]+ +N[W+56>>2]-r;ta=S[n+144>>3]*+N[W+144>>2]/S[W+184>>3]/+N[g+36>>2]+ +N[W- -64>>2]-w;if(!q){break Xe}break We}s=0;if(q){break We}if(N[p+72>>2]?N[n+532>>2]:1){ta=+N[p+144>>2]*X/S[p+184>>3]/+N[N[p+168>>2]+36>>2]+ +N[p- -64>>2]}else{ta=S[p+160>>3]*X/S[p+184>>3]/+N[N[p+168>>2]+36>>2]}if(!(m&4)){break Ve}break Ue}if(!(m&4)){break Qe}break Ue}cf:{df:{switch(N[n+476>>2]){case 1:r=+N[N[W+168>>2]+36>>2];ta=(r-S[n+480>>3])*+N[W+144>>2]/S[W+184>>3]/r+ +N[W- -64>>2];break cf;case 0:break df;default:break cf}}ta=S[n+480>>3]*+N[W+144>>2]/S[W+184>>3]/+N[N[W+168>>2]+36>>2]+ +N[W- -64>>2]-(ia-J)}if(m&4){break Ue}if(f){break Qe}}switch(D-4|0){case 4:break Se;case 0:break Te;default:break Re}}ef:{switch(N[n+476>>2]-2|0){case 0:g=N[n+532>>2];s=ri(p,g,S[n+480>>3]+ +N[n+488>>2])-R;break Pe;case 1:break ef;default:break Qe}}g=N[n+532>>2];s=ri(p,g,+N[n+492>>2]-S[n+480>>3])-E;break Pe}s=lo(p,N[n+532>>2],+(aa|0))+S[N[$+16>>2]>>3];break Qe}g=N[n+532>>2];s=ri(p,g,+N[N[W+168>>2]+40>>2]*.5)-(E+R)*.5;break Pe}r=0;f=N[n+532>>2];r=f?r:S[W+48>>3];if(D){mb(N[W>>2],6,23538,0);p=N[n>>2];f=N[n+532>>2]}s=+(N[N[W+168>>2]+40>>2]-aa|0);w=+N[p+140>>2]*s/+N[N[p+168>>2]+40>>2]+ +N[p+56>>2];ff:{if(N[p+72>>2]?f:1){break ff}w=S[p+152>>3];w=w*s/+N[N[p+168>>2]+40>>2]+(+N[p+136>>2]-w)}s=w;w=lo(p,f,0);X=S[N[$+16>>2]>>3];da=w+X;s=X+(s+r*(w-s)/100-S[$+32>>3]);s=s0?da:s:s}g=N[n+532>>2]}gf:{hf:{if(N[W+72>>2]?g:1){o=N[W+144>>2];r=+(o|0);f=N[W+168>>2];w=+N[f+36>>2];i=N[W- -64>>2];X=+(i|0);k=qc(+N[n+240>>2]*r/w+X);N[n+240>>2]=k;m=qc(r*+N[n+248>>2]/w+X);N[n+248>>2]=m;q=N[W+140>>2];r=+(q|0);w=+N[f+40>>2];j=N[W+56>>2];X=+(j|0);h=qc(+N[n+244>>2]*r/w+X);N[n+244>>2]=h;f=qc(r*+N[n+252>>2]/w+X);N[n+252>>2]=f;if(!g){break gf}h=(h|0)>(j|0)?h:j;N[n+244>>2]=h;N[n+240>>2]=(i|0)<(k|0)?k:i;g=i+o|0;N[n+248>>2]=(g|0)>(m|0)?m:g;g=j+q|0;f=(f|0)<(g|0)?f:g;break hf}N[n+240>>2]=0;N[n+244>>2]=0;N[n+248>>2]=N[W+16>>2];h=0;f=N[W+20>>2]}N[n+252>>2]=f}if(O[n+216|0]&4){r=+N[W+140>>2];w=+N[N[W+168>>2]+40>>2];X=+N[W+56>>2];g=qc(r*+N[n+492>>2]/w+X);N[n+252>>2]=(f|0)<(g|0)?f:g;f=qc(+N[n+488>>2]*r/w+X);N[n+244>>2]=(f|0)<(h|0)?h:f}jf:{if(O[n+256|0]){f=N[p+168>>2];r=S[n+168>>3]*+N[p+140>>2]/+N[f+40>>2]+ +N[p+56>>2];w=S[n+160>>3]*+N[p+144>>2]/S[p+184>>3]/+N[f+36>>2]+ +N[p- -64>>2];break jf}f=N[n+96>>2];g=f&12;r=0;w=0;kf:{lf:{switch((f&3)-1|0){case 0:w=J;break kf;case 1:w=(J+ia)*.5;break kf;case 2:break lf;default:break kf}}w=ia}mf:{nf:{switch(g|0){case 4:r=E;break mf;case 8:r=(E+R)*.5;break mf;case 0:break nf;default:break mf}}r=R}r=s+r;w=ta+w}u=N[n+4>>2];i=N[u+12>>2];j=(i|0)<=0;of:{if(j){break of}k=N[u>>2];if(!k){break of}r=s-r;w=ta-w;E=S[n+560>>3];R=S[p+184>>3];X=S[n+552>>3];h=0;while(1){f=k+T(h,360)|0;while(1){da=XE((S[f+208>>3]*E+r)*64);pf:{if(V(da)<2147483648){g=~~da;break pf}g=-2147483648}N[f+340>>2]=g+N[f+108>>2];da=XE((w+X*S[f+200>>3]/R)*64);qf:{if(V(da)<2147483648){g=~~da;break qf}g=-2147483648}N[f+336>>2]=g+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}h=h+1|0;if((i|0)!=(h|0)){continue}break}}rf:{if(j){o=0;break rf}r=+N[p- -64>>2];jb=(ta-r)*S[p+184>>3]+r;m=N[u+24>>2];K=t+240|0;G=t+236|0;r=XE(s*64);sf:{if(V(r)<2147483648){j=~~r;break sf}j=-2147483648}o=0;i=1;h=0;q=0;while(1){f=N[u>>2]+T(q,360)|0;i=O[f+121|0]!=0|i;tf:{if(O[f+4|0]){while(1){tb(N[f+48>>2]);f=N[f+352>>2];if(f){continue}break tf}}while(1){k=N[f+280>>2];g=(k|0)==3;g=S[f+288>>3]==0&S[f+296>>3]==0?g:g|2;g=S[f+200>>3]==0&S[f+208>>3]==0?g:g|4;if(!(!(g&4)|!((N[f+160>>2]&-2)==2|O[f+140|0]!=255)&(k|0)!=3)){g=g|8}g=g&10?g:g&11;uf:{vf:{if(!(O[f+141|0]|(O[f+140|0]|!(g&2)))){if(!N[f+328>>2]|(k|0)==3){break vf}break uf}if((k|0)!=3){break uf}}g=g|16}wf:{xf:{yf:{zf:{Af:{Bf:{if(i&1){i=N[u+60>>2];Cf:{if(i>>>0>o>>>0){k=m;break Cf}N[147316]=0;l=N[u+24>>2];y=i<<1;if(y>>>0>48806446){break zf}i=T(i,176);k=$a(l,i>>>0<=1?1:i);if(!k){break zf}N[147316]=0;N[u+60>>2]=y;N[u+24>>2]=k}i=N[f+128>>2];h=T(o,88)+k|0;N[h+24>>2]=N[f+124>>2];N[h+28>>2]=i;i=N[f+136>>2];N[h+32>>2]=N[f+132>>2];N[h+36>>2]=i;N[h+40>>2]=N[f+160>>2];i=N[f+164>>2];N[h+48>>2]=268435455;N[h+44>>2]=i;N[h>>2]=g;N[h+4>>2]=N[f+184>>2];r=S[n+576>>3];w=S[f+192>>3];E=S[n+568>>3]*.8493218002880191*w*.03125;m=t+144|0;Vd((E+1)*4,m);l=N[t+144>>2];E=XE(ko(E)*256);Df:{if(V(E)<2147483648){i=~~E;break Df}i=-2147483648}N[h+8>>2]=i;r=w*(r*.8493218002880191)*.03125;Vd((r+1)*4,m);m=N[t+144>>2];r=XE(ko(r)*256);Ef:{if(V(r)<2147483648){i=~~r;break Ef}i=-2147483648}N[h+12>>2]=i;i=0;if(g&4){r=XE(S[f+208>>3]*S[n+560>>3]*64);Ff:{if(V(r)<2147483648){y=~~r;break Ff}y=-2147483648}i=-1<>1^-1)&i;r=XE(S[f+200>>3]*S[n+552>>3]*64);Gf:{if(V(r)<2147483648){y=~~r;break Gf}y=-2147483648}m=-1<>1^-1)&m}else{m=0}N[h+16>>2]=m;N[h+20>>2]=i;N[h+64>>2]=2147483647;N[h+68>>2]=2147483647;N[h+52>>2]=0;N[h+56>>2]=0;i=kb(1536);N[h+80>>2]=0;N[h+84>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;N[h+60>>2]=i;if(i){break Bf}tb(N[f+48>>2]);m=k;i=1;break wf}if(h){break Af}ba(12501,18170,2574,10923);B()}N[h+56>>2]=64;o=o+1|0;m=k}r=S[p+184>>3];I=j+N[f+108>>2]|0;N[f+108>>2]=I;r=XE((r*(+N[f+104>>2]*.015625)+jb)*64);Hf:{if(V(r)<2147483648){i=~~r;break Hf}i=-2147483648}N[f+104>>2]=i;If:{k=N[f+48>>2];Jf:{if(!k){break Jf}Kf:{switch(N[f>>2]){case 0:case 10:break Jf;default:break Kf}}if(!O[f+4|0]){break If}}tb(k);break xf}l=N[n>>2];aa=N[h+52>>2];ga=S[f+256>>3];da=S[f+240>>3];ja=S[f+264>>3];w=S[f+232>>3]*.017453292519943295;r=pi(w);w=oi(w);R=S[f+224>>3]*.017453292519943295;E=oi(R);qa=S[f+216>>3]*.017453292519943295;la=oi(qa);X=pi(R);ma=S[f+72>>3];na=S[f+80>>3];y=N[f+340>>2];ca=N[f+176>>2];H=N[f+336>>2];ra=S[l+184>>3];za=S[n+576>>3];R=S[f+56>>3];Aa=S[f+248>>3];ka=da*ga/ja;wa=w+r*ka;va=r-ka*w;ua=-la;xa=va*ua;da=E*wa+X*xa;sa=S[f- -64>>3];Fa=da*sa;S[t+200>>3]=Fa;ga=ja*Aa/ga;Ba=r+w*ga;la=r*ga-w;Ia=la*ua;ga=E*Ba+X*Ia;Aa=R*ga;S[t+192>>3]=Aa;Ga=+(I-y|0);Ha=pi(qa);ja=za*2e4;qa=da*Ga+Ha*va*ja;Ja=sa*qa;S[t+176>>3]=Ja;la=ga*Ga+ja*(Ha*la);Ka=R*la;S[t+168>>3]=Ka;Ma=+(H|0);za=+(i|0)-ra*Ma;va=wa*X-E*xa;wa=ja*ra;ra=da*za+va*wa;va=sa*ra;S[t+152>>3]=va;sa=ga*za+wa*(Ba*X-E*Ia);xa=R*sa;S[t+144>>3]=xa;R=+(ca|0)*ka+Ma;ka=+(y|0);Ba=r*R+w*ka;r=r*ka-R*w;ka=r*ua;w=ja+(E*Ba+X*ka);R=w+(ga*ma+da*na);S[t+208>>3]=R;ja=w*Ga+ja*(Ha*r);ua=ja+(la*ma+qa*na);S[t+184>>3]=ua;X=w*za+wa*(Ba*X-E*ka);r=X+(sa*ma+ra*na);S[t+160>>3]=r;Lf:{if(N[f+160>>2]!=2){break Lf}y=N[k+4>>2];if(!y){break Lf}I=N[k+20>>2];k=0;while(1){i=I+(k<<3)|0;ma=+N[i>>2];na=+N[i+4>>2];E=R+(Aa*ma+Fa*na);E=(r+(xa*ma+va*na))/(E>.1?E:.1);A(+E);i=v(1)|0;i=i&2147483647;if(!(v(0)|0)&(i|0)==2146435072|i>>>0<2146435072){ca=N[h+48>>2];E=E>-268435455?E:-268435455;E=XE(E>268435455?268435455:E);Mf:{if(V(E)<2147483648){i=~~E;break Mf}i=-2147483648}N[h+48>>2]=(i|0)>(ca|0)?ca:i}k=k+1|0;if((y|0)!=(k|0)){continue}break}}N[t+108>>2]=N[f+48>>2];if(!ni(t+144|0,t+80|0,t+88|0,!aa,t+108|0)){tb(N[f+48>>2]);break xf}i=sc(N[l+848>>2],t+108|0,n);N[f+344>>2]=i;Nf:{if(i){if(N[i+20>>2]){break Nf}tb(i)}N[f+344>>2]=0}k=N[t+84>>2];y=k;i=N[t+80>>2];N[t+72>>2]=i;N[t+76>>2]=k;Of:{if(g&1){if(!(g&6)){break xf}N[t+224>>2]=3;g=N[f+144>>2];k=N[f+312>>2];R=S[l+184>>3];ma=S[n+552>>3];na=S[f+288>>3];ka=S[f+256>>3];ua=S[f+272>>3];r=ua*S[f+264>>3];E=S[f+296>>3]*64*S[n+560>>3]*r;E=E<64?64:E;I=N[f+176>>2];r=(E+E+r*+(I+N[f+180>>2]|0))*.015625;S[t+200>>3]=da*r;S[t+176>>3]=qa*r;S[t+152>>3]=ra*r;r=ma*(na*64)/R;R=ka*ua;r=r*R;r=r<64?64:r;R=(r+r+R*+(g+k|0))*.015625;S[t+192>>3]=ga*R;E=-E-+(I|0);S[t+184>>3]=ja+(qa*E-la*r);S[t+168>>3]=la*R;S[t+160>>3]=X+(ra*E-sa*r);S[t+144>>3]=sa*R;R=w+(da*E-ga*r);break Of}if(!(g&2)){break xf}N[t+224>>2]=2;g=N[f+48>>2];N[t+232>>2]=g;X=S[t+208>>3];da=V(S[t+192>>3]);ma=S[n+552>>3]*64*S[f+288>>3]/S[f+56>>3]/S[l+184>>3];w=ma+64+ +(N[g+60>>2]-N[g+52>>2]|0)*.5;na=V(S[t+200>>3]);qa=S[n+560>>3]*64*S[f+296>>3]/S[f+64>>3];E=qa+64+ +(N[g- -64>>2]-N[g+56>>2]|0)*.5;ga=X-da*w-na*E;X=X*.0625;X=1/(X>3]);ga=V(S[t+152>>3]);ra=da*w+ga*E;ja=V(S[t+168>>3]);sa=ja*w;w=V(S[t+176>>3]);E=sa+E*w;E=(Eja?da:ja)),G);Vd(la*(na*E+(w>2];w=sd(ma,I);aa=N[t+240>>2];E=sd(qa,aa);if(!(w<268435455)|!(E<268435455)){break xf}E=XE(E*.0625);Pf:{if(V(E)<2147483648){g=~~E;break Pf}g=-2147483648}N[t+248>>2]=g;w=XE(w*.0625);Qf:{if(V(w)<2147483648){k=~~w;break Qf}k=-2147483648}N[t+244>>2]=k;if(!(g|k)){break yf}g=0-I|0;lb=t,pb=sd(xa,g),S[lb+144>>3]=pb;S[t+160>>3]=r;k=0-aa|0;lb=t,pb=sd(va,k),S[lb+152>>3]=pb;lb=t,pb=sd(Ka,g),S[lb+168>>3]=pb;S[t+184>>3]=ua;lb=t,pb=sd(Ja,k),S[lb+176>>3]=pb;lb=t,pb=sd(Aa,g),S[lb+192>>3]=pb;lb=t,pb=sd(Fa,k),S[lb+200>>3]=pb}S[t+208>>3]=R;g=sc(N[l+844>>2],t+224|0,l);N[t+108>>2]=g;if(!g){tb(0);break xf}Rf:{if(O[g|0]){if(ni(t+144|0,t+72|0,t+88|0,0,t+108|0)){break Rf}g=N[t+108>>2]}tb(g);break xf}g=sc(N[l+848>>2],t+108|0,n);N[f+348>>2]=g;Sf:{if(g){if(N[g+20>>2]){break Sf}tb(g)}N[f+348>>2]=0;N[t+72>>2]=i;N[t+76>>2]=y;break xf}if(N[f+344>>2]){break xf}g=N[t+76>>2];N[t+80>>2]=N[t+72>>2];N[t+84>>2]=g;break xf}N[147316]=48;N[u+24>>2]=l;tb(N[f+48>>2]);i=1;break wf}g=N[f+344>>2];if(g){if(!N[g-8>>2]){break a}g=g-4|0;i=N[g>>2];if(!i){break a}N[g>>2]=i+1}N[f+348>>2]=N[f+344>>2]}g=N[f+344>>2];Tf:{if(!(g|N[f+348>>2])){tb(0);break Tf}Uf:{k=N[h+52>>2];i=N[h+56>>2];Vf:{if(k>>>0>>0){i=N[h+60>>2];break Vf}N[147316]=0;g=N[h+60>>2];k=i<<1;if(k>>>0>178956970){break Uf}i=T(i,48);i=$a(g,i>>>0<=1?1:i);if(!i){break Uf}N[147316]=0;N[h+56>>2]=k;N[h+60>>2]=i;k=N[h+52>>2];g=N[f+344>>2]}k=T(k,24)+i|0;N[k>>2]=g;N[k+4>>2]=N[f+348>>2];g=N[t+84>>2];i=N[t+80>>2];N[k+8>>2]=i;N[k+12>>2]=g;l=N[t+76>>2];k=N[h+60>>2]+T(N[h+52>>2],24)|0;N[k+16>>2]=N[t+72>>2];N[k+20>>2]=l;N[h+52>>2]=N[h+52>>2]+1;k=N[h+64>>2];N[h+64>>2]=(i|0)>(k|0)?k:i;i=N[h+68>>2];N[h+68>>2]=(g|0)>(i|0)?i:g;break Tf}N[147316]=48;N[h+60>>2]=g;tb(N[f+344>>2]);tb(N[f+348>>2])}i=0}f=N[f+352>>2];if(f){continue}break}}q=q+1|0;if((q|0)>2]){continue}break}if(!o){o=0;break rf}K=0;while(1){f=T(K,88)+m|0;k=N[f+52>>2];Wf:{if(!k){_a(N[f+60>>2]);break Wf}if(N[f+40>>2]==2){lb=f,nb=qc(+N[f+44>>2]*.015625*S[p+184>>3]+ +N[f+48>>2]*.015625),N[lb+44>>2]=nb}i=N[f+68>>2];q=N[f+60>>2];j=N[f+64>>2];h=0;while(1){g=q+T(h,24)|0;N[g+8>>2]=N[g+8>>2]-j;N[g+16>>2]=N[g+16>>2]-j;N[g+12>>2]=N[g+12>>2]-i;N[g+20>>2]=N[g+20>>2]-i;h=h+1|0;if((k|0)!=(h|0)){continue}break}g=N[f+20>>2];N[t+160>>2]=N[f+16>>2];N[t+164>>2]=g;g=N[f+12>>2];N[t+152>>2]=N[f+8>>2];N[t+156>>2]=g;g=N[f+4>>2];N[t+144>>2]=N[f>>2];N[t+148>>2]=g;N[t+168>>2]=N[f+52>>2];N[t+172>>2]=N[f+60>>2];g=sc(N[p+852>>2],t+144|0,p);if(!g){break Wf}if(N[g+20>>2]){N[f+72>>2]=g}if(N[g+44>>2]){N[f+76>>2]=g+24}if(N[g+68>>2]){N[f+80>>2]=g+48}N[f+84>>2]=g}K=K+1|0;if((K|0)!=(o|0)){continue}break}}N[u+28>>2]=o;N[ea+24>>2]=0;N[ea+28>>2]=0;N[ea+16>>2]=0;N[ea+20>>2]=0;N[ea+8>>2]=0;N[ea+12>>2]=0;N[ea>>2]=0;N[ea+4>>2]=0;r=s-S[N[$+16>>2]>>3];s=+N[$+40>>2];r=r-s;Xf:{if(V(r)<2147483648){f=~~r;break Xf}f=-2147483648}N[ea+4>>2]=f;s=S[$+32>>3]+ +N[$+44>>2]+s;Yf:{if(V(s)<2147483648){f=~~s;break Yf}f=-2147483648}N[ea+8>>2]=f;s=S[W+184>>3];g=N[$+48>>2];r=(J+ta)*s-+(g|0)+.5;Zf:{if(V(r)<2147483648){f=~~r;break Zf}f=-2147483648}N[ea+12>>2]=f;s=(ia-J)*s+ +(g<<1)+.5;_f:{if(V(s)<2147483648){f=~~s;break _f}f=-2147483648}N[ea+16>>2]=f;f=L[n+258|0];N[ea+28>>2]=fa;N[ea+24>>2]=D?1:-1;N[ea+20>>2]=f;i=t+80|0;f=N[n+4>>2];g=N[f+28>>2];if(g){h=N[f+24>>2];f=0;while(1){j=h+T(f,88)|0;k=N[j+80>>2];if(!(!k|N[n+220>>2]==4)){i=we(n,k,N[j+64>>2],N[j+68>>2],N[j+36>>2],0,1e6,i,2,N[j+84>>2])}f=f+1|0;if((g|0)!=(f|0)){continue}break}k=0;while(1){f=h+T(k,88)|0;j=N[f+76>>2];if(!(!j|N[f+40>>2]==3&N[f+44>>2]<=0)){i=we(n,j,N[f+64>>2],N[f+68>>2],N[f+32>>2],0,1e6,i,1,N[f+84>>2])}k=k+1|0;if((g|0)!=(k|0)){continue}break}k=0;while(1){f=h+T(k,88)|0;j=N[f+72>>2];$f:{if(!j){break $f}ag:{switch(N[f+40>>2]-1|0){case 0:case 2:m=N[f+84>>2];o=N[f+68>>2];p=N[f+64>>2];if(N[f+44>>2]>0){i=we(n,j,p,o,N[f+24>>2],0,1e6,i,0,m);break $f}i=we(n,j,p,o,N[f+28>>2],0,1e6,i,0,m);break $f;case 1:i=we(n,j,N[f+64>>2],N[f+68>>2],N[f+24>>2],N[f+28>>2],N[f+44>>2],i,0,N[f+84>>2]);break $f;default:break ag}}i=we(n,j,N[f+64>>2],N[f+68>>2],N[f+24>>2],0,1e6,i,0,N[f+84>>2])}k=k+1|0;if((g|0)!=(k|0)){continue}break}f=0;while(1){tb(N[(h+T(f,88)|0)+84>>2]);f=f+1|0;if((g|0)!=(f|0)){continue}break}}N[i>>2]=0;f=N[t+80>>2];if(N[n+296>>2]){h=N[n>>2];N[t+224>>2]=1;g=N[n+300>>2];N[t+232>>2]=N[n+296>>2];N[t+236>>2]=g;N[t+200>>2]=0;N[t+204>>2]=0;N[t+192>>2]=0;N[t+196>>2]=0;N[t+184>>2]=0;N[t+188>>2]=0;N[t+176>>2]=0;N[t+180>>2]=0;N[t+168>>2]=0;N[t+172>>2]=0;N[t+160>>2]=0;N[t+164>>2]=0;N[t+152>>2]=0;N[t+156>>2]=0;N[t+144>>2]=0;N[t+148>>2]=0;r=0;g=N[n+452>>2]-1&31;if((g|0)!=31){r=1/+(1<>3]=r*S[n+536>>3];s=S[n+544>>3];N[t+208>>2]=0;N[t+212>>2]=1072693248;S[t+176>>3]=r*s;S[t+160>>3]=N[h- -64>>2]<<6;S[t+184>>3]=N[h+56>>2]<<6;g=sc(N[h+844>>2],t+224|0,h);N[t+108>>2]=g;bg:{if(!g){tb(0);break bg}cg:{if(O[g|0]){if(ni(t+144|0,t+88|0,0,1,t+108|0)){break cg}g=N[t+108>>2]}tb(g);break bg}g=sc(N[h+848>>2],t+108|0,n);if(!g){break bg}dg:{if(!f){break dg}Y=N[t+92>>2];fa=N[t+88>>2];while(1){j=fa+N[g>>2]|0;i=j+N[g+8>>2]|0;K=N[f+4>>2];k=N[f+24>>2];p=K+k|0;o=Y+N[g+4>>2]|0;ha=N[f>>2];m=N[f+20>>2];u=ha+m|0;G=(p|0)<(o|0)|(j|0)>(u|0)|(i|0)<(m|0);l=o+N[g+12>>2]|0;I=(l|0)>(p|0)?p:l;p=(k|0)>(o|0)?k:o;q=I-p|0;aa=(i|0)>(u|0)?u:i;u=(j|0)<(m|0)?m:j;i=aa-u|0;ca=p-o|0;H=u-j|0;D=p-k|0;y=u-m|0;j=1<>2];o=N[g+16>>2];m=N[f+8>>2];W=N[g+20>>2];Z=N[f+12>>2];eg:{fg:{if(N[n+456>>2]){if((u|0)==(aa|0)|G|((p|0)==(I|0)|(k|0)>(l|0))){break eg}k=Eo(j,j+T(m,K)|0);if(!k){break dg}F(k,Z,ha+T(m,K-1|0)|0);Qa[N[h+900>>2]](y+(T(m,D)+k|0)|0,m,H+(W+T(o,ca)|0)|0,o,i,q);break fg}gg:{if(!((u|0)==(aa|0)|G|(k|0)>(l|0))){if((p|0)!=(I|0)){break gg}}N[f+8>>2]=0;N[f>>2]=0;N[f+4>>2]=0;break eg}k=0-j|0;p=i>>>0>k>>>0?i:k&(i+j|0)-1;k=Eo(j,j+T(p,q)|0);if(!k){break dg}Qa[N[h+904>>2]](k,p,y+(Z+T(m,D)|0)|0,m,H+(W+T(o,ca)|0)|0,o,i,q);N[f+8>>2]=p;N[f+4>>2]=q;N[f>>2]=i;N[f+20>>2]=y+N[f+20>>2];N[f+24>>2]=D+N[f+24>>2]}N[f+40>>2]=k;N[f+12>>2]=k;tb(N[f+36>>2]);N[f+36>>2]=0}f=N[f+28>>2];if(f){continue}break}}tb(g)}f=N[t+80>>2]}N[ea>>2]=f;hg:{if(N[n+220>>2]!=4){break hg}h=N[n>>2];k=0;g=0;s=S[n+272>>3];if(s>0){g=qc(s*S[n+552>>3])}s=S[n+280>>3];if(s>0){k=qc(s*S[n+560>>3])}j=N[ea+12>>2];i=N[ea+16>>2]+(j+g|0)|0;i=(i|0)>0?i:0;g=j-g|0;j=(g|0)>0?g:0;g=N[h+132>>2];j=(g|0)>(j|0)?j:g;i=((g|0)>(i|0)?i:g)-j|0;if((i|0)<=0){break hg}g=N[ea+4>>2];m=N[ea+8>>2]+(g+k|0)|0;m=(m|0)>0?m:0;g=g-k|0;k=(g|0)>0?g:0;g=N[h+136>>2];k=(g|0)>(k|0)?k:g;m=((g|0)>(m|0)?m:g)-k|0;if((m|0)<=0){break hg}g=T(i,m);if(g>>>0>4294967289){break hg}h=kb(g+4|0);if(!h){break hg}N[h>>2]=h;o=h+4|0;C(o,255,g);p=N[n+236>>2];g=kb(48);if(!g){_a(h);break hg}N[g+44>>2]=0;N[g+40>>2]=o;N[g+36>>2]=0;N[g+24>>2]=k;N[g+20>>2]=j;N[g+16>>2]=p;N[g+12>>2]=o;N[g+8>>2]=i;N[g+4>>2]=m;N[g>>2]=i;N[g+28>>2]=f;N[ea>>2]=g}g=1;h=N[$+12>>2];if((h|0)>0){k=0;while(1){f=N[(N[$>>2]+T(k,360)|0)+352>>2];if(f){while(1){h=N[f+352>>2];_a(f);f=h;if(f){continue}break}h=N[$+12>>2]}k=k+1|0;if((k|0)<(h|0)){continue}break}}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0;break n}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;g=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0}La=t+272|0;_=g+_|0;h=N[b+8>>2]}U=U+1|0;if((U|0)<(h|0)){continue}break}if((_|0)<=0){break k}Zc(N[a+124>>2],_,32,108);f=N[a+124>>2];ig:{if((_|0)==1){b=f;_=1;break ig}U=1;b=f;while(1){c=U<<5;d=c+f|0;if(N[N[b+28>>2]+20>>2]!=N[N[d+28>>2]+20>>2]){mo(a,b,d-b>>5);f=N[a+124>>2];b=c+f|0}U=U+1|0;if((_|0)!=(U|0)){continue}break}}mo(a,b,((_<<5)+f|0)-b>>5);f=0;U=ya;if((_|0)!=1){c=_&1;d=_&-2;while(1){_=N[a+124>>2];g=f<<5;b=N[_+g>>2];if(b){while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}_=N[a+124>>2]}b=N[_+(g|32)>>2];if(b){while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}}f=f+2|0;if((d|0)!=(f|0)){continue}break}if(!c){break k}}b=N[N[a+124>>2]+(f<<5)>>2];if(!b){break k}while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}}g=N[ya>>2];if(g){N[g+44>>2]=N[g+44>>2]+1}U=N[a+120>>2];if(e){f=0;jg:{if(!U){b=g;break jg}_=U;b=g;while(1){if(!b){b=0;f=2;break jg}h=2;kg:{if(N[_>>2]!=N[b>>2]|N[_+4>>2]!=N[b+4>>2]|(N[_+8>>2]!=N[b+8>>2]|N[_+16>>2]!=N[b+16>>2])){break kg}if(N[_+12>>2]!=N[b+12>>2]){break kg}h=1;if(N[_+20>>2]!=N[b+20>>2]){break kg}h=N[_+24>>2]!=N[b+24>>2]}f=(f|0)<(h|0)?h:f;b=N[b+28>>2];_=N[_+28>>2];if(!_){break jg}if(f>>>0<2){continue}break}}N[e>>2]=b?2:f}lg:{if(!U){break lg}b=N[U+44>>2]-1|0;N[U+44>>2]=b;if(b){break lg}while(1){b=N[U+28>>2];tb(N[U+36>>2]);c=N[U+40>>2];if(c){_a(N[c-4>>2])}_a(U);U=b;if(b){continue}break}g=N[ya>>2]}N[a+120>>2]=0;break b}ba(9781,18170,3106,15850);B()}if(!e){break b}N[e>>2]=2}La=oa- -64|0;return g}ba(8916,18290,435,15229);B()}function oq(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0;a:{if(!N[b>>2]){break a}v=db(1,204);if(!v){break a}N[v>>2]=1;N[v+4>>2]=1;i=a?a:588540;if(N[i+4>>2]){N[i+4>>2]=0}N[v+12>>2]=i;p=v+16|0;if(pq(p,1,i,b,c,d,e,f)){e=0;g=La-336|0;La=g;j=v+60|0;D=j+24|0;C(D,0,88);N[g+8>>2]=i;a=N[p+12>>2];N[g+20>>2]=N[p+8>>2];N[g+24>>2]=a;N[g+28>>2]=N[p+16>>2];a=N[p+4>>2];N[g+12>>2]=N[p>>2];N[g+16>>2]=a;N[g+32>>2]=i;c=g+56|0;C(c,0,72);N[g+52>>2]=N[p+16>>2];b=N[p+12>>2];a=N[p+8>>2];N[g+44>>2]=a;N[g+48>>2]=b;b=N[p+4>>2];N[g+36>>2]=N[p>>2];N[g+40>>2]=b;N[g+196>>2]=3;N[g+184>>2]=3;d=a;b=g+208|0;a=g+172|0;Bl(N[g+40>>2],d,g+196|0,b,g+184|0,a);J=g- -64|0,K=ek(N[g+32>>2],1196643650,N[g+196>>2],b,g+68|0,c),L[J|0]=K;dk(N[g+32>>2],1196643650,N[g+68>>2],N[g+184>>2],a,g+76|0);J=g,K=ek(N[g+32>>2],1196445523,N[g+196>>2],b,g+72|0,g+60|0),L[J+65|0]=K;dk(N[g+32>>2],1196445523,N[g+72>>2],N[g+184>>2],a,g+80|0);N[g+128>>2]=i;a=N[p+4>>2];N[g+132>>2]=N[p>>2];N[g+136>>2]=a;a=N[p+12>>2];N[g+140>>2]=N[p+8>>2];N[g+144>>2]=a;N[g+148>>2]=N[p+16>>2];N[g+160>>2]=0;N[g+152>>2]=0;N[g+156>>2]=0;a=ul(i+156|0);b:{if(!(O[a|0]|O[a+1|0]<<8)){a=sl(i+160|0);if(!(O[a|0]|O[a+1|0]<<8)){break b}}e=1;if((N[p>>2]&-2)==4){break b}a=N[Vb(i+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];e=!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))}b=O[g+164|0]&-8|e;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{c=N[g+16>>2];if((c|0)<=1298231906){if((c|0)<=1198877297){if((c|0)<=1130918514){if((c|0)<=1114139506){if((c|0)<=1113681e3){if((c|0)==1097100397|(c|0)==1097363309){break e}if((c|0)==1098015074){break l}a=264680;break c}if((c|0)==1113681001|(c|0)==1113683051){break e}if((c|0)==1113943655){break i}a=264680;break c}if((c|0)<=1114990691){if((c|0)==1114139507|(c|0)==1114792296){break e}a=264680;if((c|0)==1114990441){break e}break c}if((c|0)==1114990692|(c|0)==1130457965){break e}a=264680;if((c|0)==1130914157){break e}break c}if((c|0)<=1164409199){if((c|0)<=1147756906){if((c|0)==1130918515|(c|0)==1131441518){break e}if((c|0)==1147500129){break i}a=264680;break c}if((c|0)==1147756907|(c|0)==1148151666){break e}a=264680;if((c|0)==1148547180){break e}break c}if((c|0)<=1198485094){if((c|0)==1164409200){break e}a=264680;if((c|0)==1164736877){break e}break c}a=264680;switch(c-1198485095|0){case 1:case 2:case 3:case 4:case 5:break c;case 0:case 6:break e;default:break f}}if((c|0)<=1265135465){if((c|0)<=1247901280){if((c|0)<=1214603889){a=264680;m:{switch(c-1214344807|0){case 0:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;case 8:break e;default:break m}}if((c|0)==1198877298|(c|0)==1198879349){break i}break c}a=264680;switch(c-1215131239|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;case 0:case 9:break e;default:break j}}if((c|0)<=1264678760){if((c|0)==1247901281){break e}a=264680;if((c|0)==1264675945){break e}break c}if((c|0)==1264678761|(c|0)==1265131890){break e}a=264680;if((c|0)!=1265134962){break c}a=265128;break c}if((c|0)<=1281716322){if((c|0)<=1265920104){if((c|0)==1265135466|(c|0)==1265202291){break e}if((c|0)==1265525857){break i}a=264680;break c}if((c|0)==1265920105|(c|0)==1281453665){break e}a=264680;if((c|0)!=1281453935){break c}break d}if((c|0)<=1298230112){if((c|0)==1281716323|(c|0)==1281977698){break e}a=264680;if((c|0)==1298229354){break e}break c}a=264680;n:{switch(c-1298230884|0){case 1:case 2:case 3:case 4:break c;case 0:case 5:break e;default:break n}}if((c|0)==1298230113){break e}break c}if((c|0)<=1399809891){if((c|0)<=1333094257){if((c|0)<=1299541107){if((c|0)<=1299145832){if((c|0)==1298231907|(c|0)==1298490470){break e}if((c|0)==1298954605){break i}a=264680;break c}if((c|0)==1299145833|(c|0)==1299148391){break e}a=264680;if((c|0)==1299473769){break e}break c}if((c|0)<=1315008099){if((c|0)==1299541108){break e}if((c|0)==1299803506){break h}a=264680;if((c|0)==1315006317){break e}break c}if((c|0)<=1315663726){if((c|0)==1315008100){break e}a=264680;if((c|0)==1315272545){break e}break c}if((c|0)==1315663727){break e}if((c|0)==1332902241){break i}a=264680;break c}if((c|0)<=1383032934){if((c|0)<=1349284451){if((c|0)==1333094258|(c|0)==1349017959){break e}a=264680;if((c|0)==1349020784){break e}break c}if((c|0)==1349284452){break e}if((c|0)==1365336423){break g}a=264680;if((c|0)==1382706791){break e}break c}if((c|0)<=1399415907){if((c|0)==1383032935|(c|0)==1398895986){break e}a=264680;if((c|0)==1399353956){break e}break c}a=264680;o:{switch(c-1399418468|0){case 1:case 2:case 3:break c;case 0:case 4:break e;default:break o}}if((c|0)==1399415908){break e}break c}if((c|0)<=1415999078){if((c|0)<=1415669601){if((c|0)<=1400204899){a=264680;p:{switch(c-1399809892|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 0:case 11:break e;default:break p}}if((c|0)==1399814511){break e}break c}if((c|0)==1400204900|(c|0)==1400466543){break e}if((c|0)==1400468067){break l}a=264680;break c}if((c|0)<=1415671147){if((c|0)==1415669602|(c|0)==1415670642){break e}a=264680;if((c|0)==1415670885){break e}break c}if((c|0)==1415671148){break i}if((c|0)==1415673460){break e}if((c|0)==1415933045){break i}a=264680;break c}if((c|0)<=1416524640){if((c|0)<=1416126824){if((c|0)==1415999079){break e}a=264680;if((c|0)==1416064103){break e}break c}if((c|0)==1416126825){break d}if((c|0)==1416192628){break e}a=264680;if((c|0)==1416196712){break e}break c}if((c|0)<=1466132590){if((c|0)==1416524641|(c|0)==1416590447){break e}a=264680;if((c|0)==1449751656){break e}break c}if((c|0)==1466132591|(c|0)==1499822697){break e}a=264680;if((c|0)==1516334690){break e}break c}if(!(N[g+56>>2]==1145457748&(c|0)!=1098015074)){a=264792;if((N[g+12>>2]&-2)==4){break c}}a=264680;break c}a=264904;break c}if((c|0)!=1214603890){break c}a=264960;break c}c=N[g+56>>2];if((c|0)==1145457748){a=264680;break c}a=264680;if((c|0)==1818326126){break c}a=(c&255)==51?265016:265072;break c}c=N[g+56>>2];if((c|0)==1145457748){a=264680;break c}if((c|0)==1818326126){a=264680;break c}a=264680;if((c|0)==1836674418){break c}a=265184;break c}a=265240;break c}if((c|0)!=1198678382){break c}}a=N[g+56>>2];a=(a|0)==1145457748?264680:(a|0)==1818326126?264680:265016;break c}a=264848}N[g+168>>2]=a;L[g+164|0]=b|(N[a+48>>2]!=0)<<1|O[a+52|0]<<2;if(!(e^1|(a|0)==264680)){N[g+168>>2]=264736}a=N[g+96>>2];s=N[p+24>>2];m=N[p+20>>2];q:{r:{s:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break r}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break s}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break q}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1920365166;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];t:{u:{v:{e=N[g+104>>2];if((e|0)>=0){a=N[g+108>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break u}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+112>>2],e<<3);if(a){break v}}N[g+104>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break t}N[g+104>>2]=e;N[g+112>>2]=a;a=N[g+108>>2]}if(a>>>0>>0){C(N[g+112>>2]+(a<<3)|0,0,b-a<<3)}N[g+108>>2]=b;b=(N[g+112>>2]+(b<<3)|0)-8|0}a=N[g+84>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+84>>2]=N[g+84>>2]+1;w:{x:{y:{switch(N[g+12>>2]-4|0){case 0:a=N[g+96>>2];z:{A:{B:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break A}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break B}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break z}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1819570785;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];C:{D:{E:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break D}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break E}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break C}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1819570797;c=1;break x;case 1:break y;default:break w}}a=N[g+96>>2];F:{G:{H:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break G}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break H}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break F}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1920232545;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];I:{J:{K:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break J}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break K}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break I}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1920232557;c=0}N[b+16>>2]=c;N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=a;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2]}a=N[g+96>>2];L:{M:{N:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break M}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break N}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break L}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1718772067;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];O:{P:{Q:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break P}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Q}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break O}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1853189490;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];R:{S:{T:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break S}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break T}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break R}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1684959085;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];U:{V:{W:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break V}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break W}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break U}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=255;N[b+8>>2]=255;N[b+12>>2]=33;N[b+4>>2]=a;N[b>>2]=1918987876;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];X:{Y:{Z:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Y}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Z}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break X}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=3;N[b+4>>2]=a;N[b>>2]=1953653099;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];_:{$:{aa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break $}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break aa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break _}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1214345830;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ba:{ca:{da:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break da}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ba}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1212240454;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[N[g+168>>2]>>2];if(a){Qa[a|0](g+8|0)}a=N[g+96>>2];ea:{fa:{ga:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ga}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ea}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1114995322;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ha:{ia:{ja:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ja}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ha}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1112889946;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ka:{la:{ma:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break la}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ma}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ka}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1633842797;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];na:{oa:{pa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break pa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break na}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1651275629;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];qa:{ra:{sa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break sa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break qa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1667460464;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ta:{ua:{va:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ua}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break va}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ta}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1819239276;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];wa:{xa:{ya:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break xa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ya}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break wa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=a;N[b>>2]=1835102827;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];za:{Aa:{Ba:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Aa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ba}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break za}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=a;N[b>>2]=1835756907;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ca:{Da:{Ea:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Da}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ea}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ca}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1919707495;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];b=a+1|0;c=(b|0)>0?b:0;b=N[g+92>>2];Fa:{if((N[g+12>>2]&-2)==4){Ga:{Ha:{Ia:{if((b|0)>=0){if(b>>>0>=c>>>0){break Ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ia}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ga}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1667329140;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ja:{Ka:{La:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break La}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ja}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1668049255;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ma:{Na:{Oa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Na}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Oa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ma}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1668641395;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Pa:{Qa:{Ra:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ra}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Pa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1684632436;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Sa:{Ta:{Ua:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ua}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Sa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=3;N[b+4>>2]=a;N[b>>2]=1801810542;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Va:{Wa:{Xa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Xa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Va}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1818847073;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ya:{Za:{_a:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Za}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break _a}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ya}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1919118452;c=1;break Fa}$a:{ab:{bb:{if((b|0)>=0){if(b>>>0>=c>>>0){break ab}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break bb}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break $a}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1986359924;c=17}N[b+16>>2]=1;N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=a;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];cb:{if(!s){break cb}while(1){a=m+(h<<4)|0;f=N[a>>2];d=0;d=N[a+8>>2]?d:N[a+12>>2]==-1;if(f){e=N[a+4>>2];a=N[g+96>>2];db:{eb:{fb:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break eb}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break fb}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break db}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+12>>2]=d;N[b+8>>2]=e;N[b+4>>2]=a;N[b>>2]=f;N[b+16>>2]=d?e:0;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2]}h=h+1|0;if((s|0)!=(h|0)){continue}break}if(!(L[g+164|0]&1)){break cb}c=0;while(1){a=m+(c<<4)|0;k=N[a+4>>2];f=N[a>>2];a=Nf(N[g+128>>2]+180|0);gb:{if(!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))){break gb}if((f|0)!=1633774708){b=77;a=0;while(1){hb:{e=a+b>>>1|0;h=e<<4;d=N[h+236864>>2];ib:{if(d>>>0>f>>>0){b=e-1|0;break ib}if(d>>>0>=f>>>0){break hb}a=e+1|0}if((a|0)<=(b|0)){continue}break gb}break}b=Nf(N[g+128>>2]+180|0);q=N[h+236868>>2];a=O[b+4|0]|O[b+5|0]<<8;jb:{if(a){e=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;i=e+T(f,12)|0;d=O[i|0]|O[i+1|0]<<8;d=(d<<8|d>>>8)&65535;kb:{if((d|0)>(q|0)){b=f-1|0;break kb}if((d|0)==(q|0)){break jb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}i=275552}if(!(O[i+2|0]|O[i+3|0]<<8)){if((q|0)!=37|N[h+236872>>2]!=1){break gb}b=Nf(N[g+128>>2]+180|0);a=O[b+4|0]|O[b+5|0]<<8;lb:{if(a){d=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;i=d+T(f,12)|0;e=O[i|0]|O[i+1|0]<<8;mb:{if(((e<<8|e>>>8)&65535)>>>0>=4){b=f-1|0;break mb}if((e|0)==768){break lb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}i=275552}if(!(O[i+2|0]|O[i+3|0]<<8)){break gb}}b=N[g+156>>2];nb:{ob:{pb:{e=N[g+152>>2];if((e|0)>=0){a=b+1|0;a=(a|0)>0?a:0;if(a>>>0<=e>>>0){break ob}while(1){e=((e>>>1|0)+e|0)+8|0;if(a>>>0>=e>>>0){continue}break}if(e>>>0<=268435455){b=$a(N[g+160>>2],e<<4);if(b){break pb}b=N[g+156>>2]}N[g+152>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break nb}N[g+152>>2]=e;N[g+160>>2]=b;b=N[g+156>>2]}if(a>>>0>b>>>0){C(N[g+160>>2]+(b<<4)|0,0,a-b<<4)}N[g+156>>2]=a;b=a;a=(N[g+160>>2]+(b<<4)|0)-16|0}N[a+12>>2]=b;N[a>>2]=q;N[a+4>>2]=N[(h|(k?8:12))+236864>>2];L[a+8|0]=((O[i+8|0]|O[i+9|0]<<8)&128)>>>7;break gb}b=Nf(N[g+128>>2]+180|0);a=O[b+4|0]|O[b+5|0]<<8;qb:{if(a){d=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;h=d+T(f,12)|0;e=O[h|0]|O[h+1|0]<<8;rb:{if(((e<<8|e>>>8)&65535)>>>0>=18){b=f-1|0;break rb}if((e|0)==4352){break qb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}h=275552}if(!(O[h+2|0]|O[h+3|0]<<8)){break gb}b=N[g+156>>2];sb:{tb:{ub:{e=N[g+152>>2];if((e|0)>=0){a=b+1|0;a=(a|0)>0?a:0;if(a>>>0<=e>>>0){break tb}while(1){e=((e>>>1|0)+e|0)+8|0;if(a>>>0>=e>>>0){continue}break}if(e>>>0<=268435455){b=$a(N[g+160>>2],e<<4);if(b){break ub}b=N[g+156>>2]}N[g+152>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break sb}N[g+152>>2]=e;N[g+160>>2]=b;b=N[g+156>>2]}if(a>>>0>b>>>0){C(N[g+160>>2]+(b<<4)|0,0,a-b<<4)}N[g+156>>2]=a;b=a;a=(N[g+160>>2]+(b<<4)|0)-16|0}N[a+12>>2]=b;N[a+4>>2]=k;N[a>>2]=17;L[a+8|0]=1}c=c+1|0;if((s|0)!=(c|0)){continue}break}}a=N[g+168>>2];b=N[a+4>>2];if(b){Qa[b|0](g+8|0);a=N[g+168>>2]}b=N[g+16>>2];N[j>>2]=N[g+12>>2];N[j+4>>2]=b;N[j+16>>2]=N[g+28>>2];b=N[g+24>>2];N[j+8>>2]=N[g+20>>2];N[j+12>>2]=b;N[j+36>>2]=-2147483648;N[j+20>>2]=a;N[g+184>>2]=0;N[g+188>>2]=0;N[j+24>>2]=N[g+56>>2];L[j+32|0]=O[g+64|0];ck(N[g+32>>2],1196643650,N[g+68>>2],N[g+76>>2],g+172|0,g+196|0);N[j+28>>2]=N[g+60>>2];L[j+33|0]=O[g+65|0];ck(N[g+32>>2],1196445523,N[g+72>>2],N[g+80>>2],g+176|0,g+200|0);a=N[g+96>>2];vb:{if(!a){break vb}vq(N[g+100>>2],a,28);e=1;k=N[g+96>>2];wb:{if(k>>>0<=1){h=0;break wb}d=N[g+100>>2];h=0;while(1){i=d+T(e,28)|0;f=d+T(h,28)|0;xb:{if(N[i>>2]!=N[f>>2]){a=N[i+4>>2];h=h+1|0;b=d+T(h,28)|0;N[b>>2]=N[i>>2];N[b+4>>2]=a;N[b+24>>2]=N[i+24>>2];a=N[i+20>>2];N[b+16>>2]=N[i+16>>2];N[b+20>>2]=a;a=N[i+12>>2];N[b+8>>2]=N[i+8>>2];N[b+12>>2]=a;break xb}c=N[f+12>>2];yb:{if(L[i+12|0]&1){c=c|1;N[f+12>>2]=c;N[f+8>>2]=N[i+8>>2];N[f+16>>2]=N[i+16>>2];break yb}if(c&1){c=c^1;N[f+12>>2]=c}b=N[f+8>>2];a=N[i+8>>2];N[f+8>>2]=a>>>0>>0?b:a}N[f+12>>2]=N[i+12>>2]&2|c;b=N[f+20>>2];a=N[i+20>>2];N[f+20>>2]=a>>>0>b>>>0?b:a;b=N[f+24>>2];a=N[i+24>>2];N[f+24>>2]=a>>>0>b>>>0?b:a}e=e+1|0;if((k|0)!=(e|0)){continue}break}k=N[g+96>>2]}a=h+1|0;a=(a|0)>0?a:0;if(a>>>0>>0){N[g+96>>2]=a;k=a}if(!k){break vb}q=g+212|0;f=0;c=4;e=0;while(1){zb:{if(Q[g+96>>2]<=e>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break zb}l=N[g+100>>2]+T(e,28)|0;b=N[l+8>>2];Ab:{if(L[l+12|0]&1){a=0;if((b|0)==1){break Ab}}if(!b){break zb}a=32-W(b)|0;a=a>>>0>=8?8:a}i=a+c|0;if(i>>>0>30){break zb}a=N[l>>2];f=(a|0)==N[g+196>>2]?N[l+20>>2]:f;b=Ff(N[g+32>>2],1196643650,N[g+68>>2],N[g+76>>2],a,g+208|0);a=N[l>>2];u=(a|0)==N[g+200>>2]?N[l+24>>2]:u;w=0;Bb:{if(Ff(N[g+32>>2],1196445523,N[g+72>>2],N[g+80>>2],a,q)|b){break Bb}a=N[l+12>>2];if(a&16){b=N[l>>2];a=275552;d=N[Vb(N[g+32>>2]+144|0)>>2];d=d?d:275552;o=Q[d+16>>2]<4?275552:N[d+12>>2];Cb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Cb}d=O[o+6|0]|O[o+7|0]<<8;if(!d){break Cb}a=o+((d<<8|d>>>8)&65535)|0}h=65535;a=O[a|0]|O[a+1|0]<<8;Db:{if(!a){r=0;break Db}r=1;t=(a<<8|a>>>8)&65535;s=t>>>0<=1?1:t;a=0;while(1){d=275552;Eb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Eb}m=O[o+6|0]|O[o+7|0]<<8;d=275552;if(!m){break Eb}d=o+((m<<8|m>>>8)&65535)|0}m=O[d|0]|O[d+1|0]<<8;if(((m<<8|m>>>8)&65535)>>>0>a>>>0){d=(d+T(a,6)|0)+2|0}else{d=275552}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==(b|0)){h=a;break Db}a=a+1|0;r=t>>>0>a>>>0;if((a|0)!=(s|0)){continue}break}}N[g+208>>2]=h;d=N[l>>2];a=275552;b=N[mc(N[g+32>>2]+148|0)>>2];b=b?b:275552;o=Q[b+16>>2]<4?275552:N[b+12>>2];Fb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Fb}b=O[o+6|0]|O[o+7|0]<<8;if(!b){break Fb}a=o+((b<<8|b>>>8)&65535)|0}b=65535;a=O[a|0]|O[a+1|0]<<8;Gb:{if(!a){x=0;break Gb}x=1;t=(a<<8|a>>>8)&65535;s=t>>>0<=1?1:t;a=0;while(1){h=275552;Hb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Hb}m=O[o+6|0]|O[o+7|0]<<8;h=275552;if(!m){break Hb}h=o+((m<<8|m>>>8)&65535)|0}m=O[h|0]|O[h+1|0]<<8;if(((m<<8|m>>>8)&65535)>>>0>a>>>0){h=(h+T(a,6)|0)+2|0}else{h=275552}h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))==(d|0)){b=a;break Gb}a=a+1|0;x=t>>>0>a>>>0;if((a|0)!=(s|0)){continue}break}}N[g+212>>2]=b;if((r|x)&1){break Bb}a=N[l+12>>2]}w=1;if(!(a&2)){break zb}}Ib:{Jb:{Kb:{h=N[j+40>>2];if((h|0)>=0){d=N[j+44>>2];a=d+1|0;b=(a|0)>0?a:0;if(b>>>0<=h>>>0){break Jb}while(1){h=((h>>>1|0)+h|0)+8|0;if(b>>>0>=h>>>0){continue}break}if(h>>>0<=119304647){a=$a(N[j+48>>2],T(h,36));if(a){break Kb}}N[j+40>>2]=-1}N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147464]=0;a=589824;b=0;break Ib}N[j+40>>2]=h;N[j+48>>2]=a;d=N[j+44>>2]}if(b>>>0>d>>>0){C(N[j+48>>2]+T(d,36)|0,0,T(b-d|0,36))}N[j+44>>2]=b;a=(N[j+48>>2]+T(b,36)|0)-36|0;b=O[a+32|0]}N[a>>2]=N[l>>2];N[a+4>>2]=N[g+208>>2];N[a+8>>2]=N[g+212>>2];N[a+12>>2]=N[l+20>>2];N[a+16>>2]=N[l+24>>2];b=(O[l+12|0]>>>1&2|b&-3)^2;L[a+32|0]=b;b=(O[l+12|0]>>>1&4|b&-5)^4;L[a+32|0]=b;b=b&-9|O[l+12|0]>>>2&8;L[a+32|0]=b;h=b&-17|O[l+12|0]>>>2&16;L[a+32|0]=h;Lb:{if(!(!(L[l+12|0]&1)|N[l+8>>2]!=1)){b=-2147483648;i=c;c=31;break Lb}b=(1<>2]=N[j+36>>2]|b&N[l+16>>2]<>2]=b;N[a+20>>2]=c;L[a+32|0]=h&254|w;N[a+28>>2]=1<>2]=u;N[g+184>>2]=f}Mb:{Nb:{Ob:{e=N[g+104>>2];if((e|0)>=0){a=N[g+108>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break Nb}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+112>>2],e<<3);if(a){break Ob}}N[g+104>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break Mb}N[g+104>>2]=e;N[g+112>>2]=a;a=N[g+108>>2]}if(a>>>0>>0){C(N[g+112>>2]+(a<<3)|0,0,b-a<<3)}N[g+108>>2]=b;b=(N[g+112>>2]+(b<<3)|0)-8|0}a=N[g+84>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+84>>2]=N[g+84>>2]+1;Pb:{Qb:{Rb:{e=N[g+116>>2];if((e|0)>=0){a=N[g+120>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break Qb}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+124>>2],e<<3);if(a){break Rb}}N[g+116>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break Pb}N[g+116>>2]=e;N[g+124>>2]=a;a=N[g+120>>2]}if(a>>>0>>0){C(N[g+124>>2]+(a<<3)|0,0,b-a<<3)}N[g+120>>2]=b;b=(N[g+124>>2]+(b<<3)|0)-8|0}I=p+28|0;a=N[g+88>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+88>>2]=N[g+88>>2]+1;h=1;b=0;while(1){y=b<<2;E=y+g|0;if(N[E+84>>2]){a=T(b,12);n=a+j|0;G=y+238176|0;H=y+I|0;A=a+(g+8|0)|0;p=y+(g+184|0)|0;l=y+(g+172|0)|0;r=0;f=0;w=0;while(1){s=N[l>>2];Sb:{if((s|0)==65535|N[p>>2]!=(r|0)){break Sb}m=N[H>>2];b=N[g+32>>2];i=0;c=0;u=N[G>>2];Tb:{Ub:{if((u|0)!=1196445523){a=275552;if((u|0)!=1196643650){break Tb}a=Vb(b+144|0);break Ub}a=mc(b+148|0)}a=N[a>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2]}if((O[a|0]|O[a+1|0]<<8)==256){b=O[a+8|0]|O[a+9|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8;c=(a<<8|a>>>8)&65535}while(1){N[g+204>>2]=32;bk(N[g+32>>2],u,s,m,i,g+204|0,g+208|0);b=0;a=N[g+204>>2];if(!a){break Sb}while(1){e=N[(g+208|0)+(b<<2)>>2];if(e>>>0>>0){Vb:{Wb:{Xb:{k=N[n+52>>2];if((k|0)>=0){d=N[n+56>>2];a=d+1|0;q=(a|0)>0?a:0;if(q>>>0<=k>>>0){break Wb}while(1){k=((k>>>1|0)+k|0)+8|0;if(q>>>0>=k>>>0){continue}break}if(k>>>0<=357913941){a=$a(N[n+60>>2],T(k,12));if(a){break Xb}}N[n+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;a=589824;d=0;break Vb}N[n+60>>2]=a;N[n+52>>2]=k;d=N[n+56>>2]}if(d>>>0>>0){C(N[n+60>>2]+T(d,12)|0,0,T(q-d|0,12))}N[n+56>>2]=q;a=(N[n+60>>2]+T(q,12)|0)-12|0;d=O[a+2|0]}M[a>>1]=e;N[a+4>>2]=-2147483648;N[a+8>>2]=538976288;L[a+2|0]=d&240|3;a=N[g+204>>2]}b=b+1|0;if(b>>>0>>0){continue}break}i=a+i|0;if((a|0)==32){continue}break}}a=N[j+44>>2];if(a){e=N[j+48>>2];o=e+T(a,36)|0;while(1){a=e+y|0;Yb:{if(N[a+12>>2]!=(r|0)){break Yb}t=N[a+4>>2];q=N[e>>2];b=O[e+32|0];u=N[e+24>>2];s=N[H>>2];d=N[g+32>>2];x=0;c=0;B=N[G>>2];Zb:{_b:{if((B|0)!=1196445523){a=275552;if((B|0)!=1196643650){break Zb}a=Vb(d+144|0);break _b}a=mc(d+148|0)}a=N[a>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2]}if((O[a|0]|O[a+1|0]<<8)==256){c=O[a+8|0]|O[a+9|0]<<8;if(c){a=a+((c<<8|c>>>8)&65535)|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8;c=(a<<8|a>>>8)&65535}m=b>>>1&15;while(1){N[g+204>>2]=32;bk(N[g+32>>2],B,t,s,x,g+204|0,g+208|0);b=0;a=N[g+204>>2];if(!a){break Yb}while(1){i=N[(g+208|0)+(b<<2)>>2];if(i>>>0>>0){$b:{ac:{bc:{k=N[n+52>>2];if((k|0)>=0){d=N[n+56>>2];a=d+1|0;z=(a|0)>0?a:0;if(z>>>0<=k>>>0){break ac}while(1){k=((k>>>1|0)+k|0)+8|0;if(z>>>0>=k>>>0){continue}break}if(k>>>0<=357913941){a=$a(N[n+60>>2],T(k,12));if(a){break bc}}N[n+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;a=589824;d=0;break $b}N[n+60>>2]=a;N[n+52>>2]=k;d=N[n+56>>2]}if(d>>>0>>0){C(N[n+60>>2]+T(d,12)|0,0,T(z-d|0,12))}N[n+56>>2]=z;a=(N[n+60>>2]+T(z,12)|0)-12|0;d=O[a+2|0]}N[a+8>>2]=q;M[a>>1]=i;N[a+4>>2]=u;L[a+2|0]=d&240|m;a=N[g+204>>2]}b=b+1|0;if(b>>>0>>0){continue}break}x=a+x|0;if((a|0)==32){continue}break}}e=e+36|0;if((o|0)!=(e|0)){continue}break}}a=N[n+56>>2];cc:{if(f>>>0>=a>>>0){f=a;break cc}c=a-f|0;b=a>>>0>=c>>>0?c:0;b=b>>>0>>0?b:c;if(b){uq(N[n+60>>2]+T(f,12)|0,b,12);a=N[n+56>>2]}b=f+1|0;if(b>>>0>>0){while(1){c=N[n+60>>2];d=T(b,12);i=c+d|0;a=T(f,12);e=a+c|0;dc:{if(P[i>>1]!=P[e>>1]){a=N[i+4>>2];f=f+1|0;c=c+T(f,12)|0;N[c>>2]=N[i>>2];N[c+4>>2]=a;N[c+8>>2]=N[i+8>>2];break dc}N[e+4>>2]=N[e+4>>2]|N[i+4>>2];L[e+2|0]=O[e+2|0]&(O[i+2|0]|254);c=N[n+60>>2];a=c+a|0;L[a+2|0]=O[a+2|0]&(O[(c+d|0)+2|0]|253)}a=N[n+56>>2];b=b+1|0;if(a>>>0>b>>>0){continue}break}b=f+1|0}f=a;a=(b|0)>0?b:0;if(f>>>0<=a>>>0){break cc}N[n+56>>2]=a;f=a}ec:{if(Q[A+100>>2]<=w>>>0){break ec}b=w<<3;if(N[b+N[A+104>>2]>>2]!=(r|0)){break ec}fc:{gc:{hc:{d=N[n+76>>2];if((d|0)>=0){e=N[n+80>>2];a=e+1|0;c=(a|0)>0?a:0;if(c>>>0<=d>>>0){break gc}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){a=$a(N[n+84>>2],d<<3);if(a){break hc}}N[n+76>>2]=-1}N[147456]=0;N[147457]=0;a=589824;break fc}N[n+84>>2]=a;N[n+76>>2]=d;e=N[n+80>>2]}if(c>>>0>e>>>0){C(N[n+84>>2]+(e<<3)|0,0,c-e<<3)}N[n+80>>2]=c;a=(N[n+84>>2]+(c<<3)|0)-8|0}N[a>>2]=f;ic:{if(Q[A+100>>2]<=w>>>0){N[147456]=0;N[147457]=0;b=0;break ic}b=N[(b+N[A+104>>2]|0)+4>>2]}N[a+4>>2]=b;w=w+1|0}r=r+1|0;if(r>>>0>2]){continue}break}}b=1;a=h;h=0;if(a){continue}break}jc:{if(!(L[g+164|0]&1)){break jc}a=N[g+156>>2];kc:{if(!a){break kc}Hj(N[g+160>>2],a);a=N[g+156>>2];lc:{if(a>>>0<=1){e=0;break lc}e=0;while(1){f=a>>>0>b>>>0;mc:{if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=0;break mc}c=N[N[g+160>>2]+(b<<4)>>2]}d=a>>>0>e>>>0;nc:{if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;h=0;break nc}h=N[N[g+160>>2]+(e<<4)>>2]}oc:{if((c|0)==(h|0)){pc:{if(a>>>0>b>>>0){c=N[g+160>>2]+(b<<4)|0;if(O[c+8|0]){break oc}c=N[c+4>>2];break pc}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=0}qc:{if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=0;break qc}d=N[(N[g+160>>2]+(e<<4)|0)+4>>2]}if((c^d)>>>0<2){break oc}}rc:{if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=589824;break rc}c=N[g+160>>2]+(b<<4)|0}e=e+1|0;sc:{if(e>>>0>=a>>>0){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break sc}a=N[g+160>>2]+(e<<4)|0}d=N[c+4>>2];N[a>>2]=N[c>>2];N[a+4>>2]=d;d=N[c+12>>2];N[a+8>>2]=N[c+8>>2];N[a+12>>2]=d;a=N[g+156>>2]}b=b+1|0;if(b>>>0>>0){continue}break}}b=a;a=e+1|0;a=(a|0)>0?a:0;if(b>>>0<=a>>>0){break kc}N[g+156>>2]=a}b=ul(N[g+128>>2]+156|0);if(O[b|0]|O[b+1|0]<<8){a=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(!a){break jc}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);t=a>>>0<=1?1:a;h=b+8|0;f=0;while(1){a=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);r=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);if(a){a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);q=a>>>0<=1?1:a;u=h+16|0;i=0;while(1){l=(i|0)<0?275552:u+T(i,12)|0;e=O[l+2|0]|O[l+3|0]<<8;c=(e<<8|e>>>8)&65535;b=O[l|0]|O[l+1|0]<<8;d=(b<<8|b>>>8)&65535;a=N[g+156>>2];tc:{uc:{vc:{if((a|0)>0){e=a-1|0;s=N[g+160>>2];b=d;a=c;while(1){c=a;d=b;b=0;a=e;while(1){wc:{xc:{o=a+b>>>1|0;m=s+(o<<4)|0;k=N[m>>2];yc:{if((k|0)!=(d|0)){if((d|0)>=(k|0)){break yc}break xc}k=N[m+4>>2];if((k|0)==(c|0)){break uc}if((c|0)<(k|0)){break xc}}b=o+1|0;break wc}a=o-1|0}if((a|0)>=(b|0)){continue}break}if((d|0)!=3){break vc}a=1;b=37;if((c|0)==3){continue}break}break vc}if((b|0)!=768){break vc}if((e|0)==768){break tc}}if(!c|(d|0)!=39){break tc}d=N[g+128>>2];b=N[d+176>>2];zc:{if(b){break zc}while(1){b=N[d+48>>2];if(!b){b=275552;break zc}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;e=N[b+32>>2];if((e|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;e=(a<<8|a>>>8)&65535;N[b+32>>2]=e}L[g+248|0]=1;N[g+244>>2]=e;a=N[b+12>>2];Ac:{if(a){b=Qa[a|0](b,1819566439,N[b+16>>2])|0;if(b){break Ac}}b=275552}a=ql(g+208|0,b);b=N[d+176>>2];Bc:{if(a){if(b){break Bc}b=a;N[d+176>>2]=b;break zc}if(b){break zc}b=275552;N[d+176>>2]=275552;break zc}if((a|0)==275552){break zc}ab(a);b=N[d+176>>2];if(!b){continue}break}}e=275552;k=Q[b+16>>2]<12?275552:N[b+12>>2];a=O[k+8|0]|O[k+9|0]<<8|(O[k+10|0]<<16|O[k+11|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=c-1|0;if(b>>>0>a>>>0){e=(k+(a<<2)|0)+12|0}b=0;Cc:{if(!k){break Cc}d=O[e+2|0]|O[e+3|0]<<8;if(!d){break Cc}a=O[e|0]|O[e+1|0]<<8;a=k+((a<<8|a>>>8)&65535)|0;if(!O[a|0]){break Cc}c=g+208|0;e=a;a=(d<<8|d>>>8)&65535;a=a>>>0>=63?63:a;F(c,e,a);L[a+c|0]=0;a=ie(c);if(!a){break Cc}b=N[a+4>>2]}c=N[g+140>>2];if((c|0)==(b|0)){break uc}if(!b|!c){break tc}a=nb(b);if(nb(c)>>>0>>0){break tc}if(bb(b,c,a)){break tc}a=O[a+c|0];if((a|0)==45){break uc}if(a){break tc}}a=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);b=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))&r;a=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);r=b|(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}i=i+1|0;if((q|0)!=(i|0)){continue}break}}Dc:{Ec:{Fc:{b=N[j+100>>2];if((b|0)>=0){e=N[j+104>>2];a=e+1|0;if(b>>>0>=a>>>0){d=N[j+108>>2];break Ec}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=a>>>0){continue}break}if(b>>>0<=1073741823){d=$a(N[j+108>>2],b<<2);if(d){break Fc}}N[j+100>>2]=-1}N[147456]=0;break Dc}N[j+100>>2]=b;N[j+108>>2]=d;e=N[j+104>>2];a=e+1|0}N[j+104>>2]=a;N[(e<<2)+d>>2]=r}a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0;f=f+1|0;if((t|0)!=(f|0)){continue}break}break jc}b=sl(N[g+128>>2]+160|0);if(!(O[b|0]|O[b+1|0]<<8)){break jc}a=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(!a){break jc}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);t=a>>>0<=1?1:a;h=b+8|0;f=0;while(1){a=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);r=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[h+8|0]|O[h+9|0]<<8;if(a){a=(a<<8|a>>>8)&65535;q=a>>>0<=1?1:a;u=h+12|0;i=0;while(1){l=u+T(i,12)|0;e=O[l+2|0]|O[l+3|0]<<8;c=(e<<8|e>>>8)&65535;b=O[l|0]|O[l+1|0]<<8;d=(b<<8|b>>>8)&65535;a=N[g+156>>2];Gc:{Hc:{Ic:{if((a|0)>0){e=a-1|0;s=N[g+160>>2];b=d;a=c;while(1){c=a;d=b;b=0;a=e;while(1){Jc:{Kc:{o=a+b>>>1|0;m=s+(o<<4)|0;k=N[m>>2];Lc:{if((k|0)!=(d|0)){if((d|0)>=(k|0)){break Lc}break Kc}k=N[m+4>>2];if((k|0)==(c|0)){break Hc}if((c|0)<(k|0)){break Kc}}b=o+1|0;break Jc}a=o-1|0}if((a|0)>=(b|0)){continue}break}if((d|0)!=3){break Ic}a=1;b=37;if((c|0)==3){continue}break}break Ic}if((b|0)!=768){break Ic}if((e|0)==768){break Gc}}if(!c|(d|0)!=39){break Gc}d=N[g+128>>2];b=N[d+176>>2];Mc:{if(b){break Mc}while(1){b=N[d+48>>2];if(!b){b=275552;break Mc}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;e=N[b+32>>2];if((e|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;e=(a<<8|a>>>8)&65535;N[b+32>>2]=e}L[g+248|0]=1;N[g+244>>2]=e;a=N[b+12>>2];Nc:{if(a){b=Qa[a|0](b,1819566439,N[b+16>>2])|0;if(b){break Nc}}b=275552}a=ql(g+208|0,b);b=N[d+176>>2];Oc:{if(a){if(b){break Oc}b=a;N[d+176>>2]=b;break Mc}if(b){break Mc}b=275552;N[d+176>>2]=275552;break Mc}if((a|0)==275552){break Mc}ab(a);b=N[d+176>>2];if(!b){continue}break}}e=275552;k=Q[b+16>>2]<12?275552:N[b+12>>2];a=O[k+8|0]|O[k+9|0]<<8|(O[k+10|0]<<16|O[k+11|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=c-1|0;if(b>>>0>a>>>0){e=(k+(a<<2)|0)+12|0}b=0;Pc:{if(!k){break Pc}d=O[e+2|0]|O[e+3|0]<<8;if(!d){break Pc}a=O[e|0]|O[e+1|0]<<8;a=k+((a<<8|a>>>8)&65535)|0;if(!O[a|0]){break Pc}c=g+208|0;e=a;a=(d<<8|d>>>8)&65535;a=a>>>0>=63?63:a;F(c,e,a);L[a+c|0]=0;a=ie(c);if(!a){break Pc}b=N[a+4>>2]}c=N[g+140>>2];if((c|0)==(b|0)){break Hc}if(!b|!c){break Gc}a=nb(b);if(nb(c)>>>0>>0){break Gc}if(bb(b,c,a)){break Gc}a=O[a+c|0];if((a|0)==45){break Hc}if(a){break Gc}}a=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);b=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))&r;a=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);r=b|(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}i=i+1|0;if((q|0)!=(i|0)){continue}break}}Qc:{Rc:{Sc:{b=N[j+100>>2];if((b|0)>=0){e=N[j+104>>2];a=e+1|0;if(b>>>0>=a>>>0){d=N[j+108>>2];break Rc}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=a>>>0){continue}break}if(b>>>0<=1073741823){d=$a(N[j+108>>2],b<<2);if(d){break Sc}}N[j+100>>2]=-1}N[147456]=0;break Qc}N[j+100>>2]=b;N[j+108>>2]=d;e=N[j+104>>2];a=e+1|0}N[j+104>>2]=a;N[(e<<2)+d>>2]=r}a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0;f=f+1|0;if((t|0)!=(f|0)){continue}break}}m=N[j+48>>2];b=j;Tc:{Uc:{Vc:{Wc:{k=N[b+44>>2];if((k|0)>0){d=0;a=k-1|0;e=a;Xc:{Yc:{while(1){f=d+e>>>1|0;c=N[m+T(f,36)>>2];Zc:{if(c>>>0>=1718772068){e=f-1|0;break Zc}if((c|0)==1718772067){break Yc}d=f+1|0}if((d|0)<=(e|0)){continue}break}f=0;break Xc}f=N[(m+T(f,36)|0)+28>>2]}N[j+116>>2]=f;d=0;e=a;while(1){i=d+e>>>1|0;c=N[m+T(i,36)>>2];_c:{if(c>>>0>=1853189491){e=i-1|0;break _c}if((c|0)==1853189490){break Wc}d=i+1|0}if((d|0)<=(e|0)){continue}break}c=0;break Vc}N[j+116>>2]=0;N[j+120>>2]=0;N[j+124>>2]=0;N[j+128>>2]=0;c=P[j+140>>1]&-5;M[j+140>>1]=c;f=j+140|0;break Uc}c=N[(m+T(i,36)|0)+28>>2]}N[b+120>>2]=c;d=0;e=a;$c:{ad:{while(1){i=d+e>>>1|0;b=N[m+T(i,36)>>2];bd:{if(b>>>0>=1684959086){e=i-1|0;break bd}if((b|0)==1684959085){break ad}d=i+1|0}if((d|0)<=(e|0)){continue}break}b=0;break $c}b=N[(m+T(i,36)|0)+28>>2]}N[j+124>>2]=b;cd:{dd:{if(f){f=j+140|0;h=P[j+140>>1];break dd}f=j+140|0;h=P[j+140>>1];d=0;if(!((c|0)!=0&(b|0)!=0)){break cd}}d=4}c=d|h&-5;M[f>>1]=c;d=0;e=a;ed:{fd:{while(1){i=d+e>>>1|0;b=N[m+T(i,36)>>2];gd:{if(b>>>0>=1920232558){e=i-1|0;break gd}if((b|0)==1920232557){break fd}d=i+1|0}if((d|0)<=(e|0)){continue}break}b=0;break ed}b=N[(m+T(i,36)|0)+28>>2]}N[j+128>>2]=b;e=0;while(1){hd:{d=a+e>>>1|0;b=N[m+T(d,36)>>2];id:{if(b>>>0>=1986359925){a=d-1|0;break id}if((b|0)==1986359924){break hd}e=d+1|0}if((a|0)>=(e|0)){continue}break Uc}break}a=8;if(N[(m+T(d,36)|0)+28>>2]){break Tc}}a=0}b=a|c&-9;M[f>>1]=b;i=(N[g+12>>2]&-2)==4?1801810542:1986753134;e=0;jd:{kd:{ld:{md:{if((k|0)<=0){N[j+132>>2]=0;c=b&65534;break md}d=k-1|0;h=d;nd:{od:{while(1){c=e+h>>>1|0;a=N[m+T(c,36)>>2];pd:{if(a>>>0>i>>>0){h=c-1|0;break pd}if(a>>>0>=i>>>0){break od}e=c+1|0}if((e|0)<=(h|0)){continue}break}a=0;break nd}a=N[(m+T(c,36)|0)+24>>2]}N[j+132>>2]=a;e=0;c=b&-2|(a|0)!=0;M[j+140>>1]=c;while(1){b=d+e>>>1|0;a=N[m+T(b,36)>>2];qd:{if(a>>>0>=1953653100){d=b-1|0;break qd}if((a|0)==1953653099){break ld}e=b+1|0}if((d|0)>=(e|0)){continue}break}}N[j+136>>2]=0;break kd}a=N[(m+T(b,36)|0)+24>>2];N[j+136>>2]=a;b=2;if(a){break jd}}b=0}M[f>>1]=b|c&65533;e=1;rd:{if((k|0)<=0){break rd}e=k-1|0;d=0;sd:{while(1){b=d+e>>>1|0;a=N[m+T(b,36)>>2];td:{if(a>>>0>i>>>0){e=b-1|0;break td}if(a>>>0>=i>>>0){break sd}d=b+1|0}if((d|0)<=(e|0)){continue}break}e=1;break rd}e=N[(m+T(b,36)|0)+8>>2]==65535}i=N[j+28>>2];h=N[N[j+20>>2]+40>>2];c=N[g+8>>2];d=N[c+140>>2];ud:{if(d){break ud}while(1){b=N[c+48>>2];if(!b){d=275552;break ud}a=db(1,4);if(!a){d=275552;N[c+140>>2]=275552;break ud}d=Of(a,b);if(!N[c+140>>2]){N[c+140>>2]=d;break ud}ab(N[d>>2]);_a(d);d=N[c+140>>2];if(!d){continue}break}}a=P[f>>1];b=N[d>>2];b=b?b:275552;b=Q[b+16>>2]<4?275552:N[b+12>>2];if(!(O[b+4|0]|O[b+5|0]<<8?(O[b|0]|O[b+1|0]<<8)==256:0)){a=a|64;M[f>>1]=a}k=1;M[f>>1]=a&57343|(L[g+164|0]&1)<<13;d=N[g+8>>2];b=N[d+164>>2];vd:{if(b){break vd}while(1){b=N[d+48>>2];if(!b){b=275552;break vd}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;c=N[b+32>>2];if((c|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;c=(a<<8|a>>>8)&65535;N[b+32>>2]=c}L[g+248|0]=1;N[g+244>>2]=c;a=N[b+12>>2];wd:{if(a){b=Qa[a|0](b,1801810552,N[b+16>>2])|0;if(b){break wd}}b=275552}a=kl(g+208|0,b);b=N[d+164>>2];xd:{if(a){if(b){break xd}b=a;N[d+164>>2]=b;break vd}if(b){break vd}b=275552;N[d+164>>2]=275552;break vd}if((a|0)==275552){break vd}ab(a);b=N[d+164>>2];if(!b){continue}break}}a=Q[b+16>>2]<8?275552:N[b+12>>2];c=O[a|0]|O[a+1|0]<<8;if(!(L[g+164|0]&1)){a=N[Vb(N[g+8>>2]+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];k=!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))}yd:{zd:{Ad:{Bd:{Cd:{if(!((h|0)!=(i|0)&(h|0)!=0)){a=N[mc(N[g+8>>2]+148|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(!a|k?c:0){break Cd}if(a){break Bd}break zd}if(!c){break zd}}b=P[f>>1]|4096;break Ad}b=P[f>>1]|512}M[f>>1]=b;break yd}b=P[f>>1]}Dd:{if(b&4096|(e^-1)&(b&512)>>>9){break Dd}if(c){b=b|4096;break Dd}b=fh(N[g+8>>2]+136|0);a=P[f>>1];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)?a|1024:a}a=0;k=b&-2049|(b&4608?0:(b^-1)<<1&2048);M[f>>1]=k;Ed:{if(!(O[g+164|0]&2)|b&4096){break Ed}a=32;if(!(b&1024)){break Ed}Fd:{Gd:{Hd:{Id:{Jd:{Kd:{e=fh(N[g+8>>2]+136|0);b=O[e|0]|O[e+1|0]<<8;switch((b<<8|b>>>8)&65535){case 1:break Jd;case 0:break Kd;default:break Fd}}b=O[e+2|0]|O[e+3|0]<<8;if(!b){break Fd}if(O[e+8|0]==1){break Gd}d=(b<<8|b>>>8)&65535;c=d>>>0<=1?1:d;b=e+4|0;e=0;while(1){e=e+1|0;if((c|0)==(e|0)){break Fd}h=b;b=O[b+2|0]|O[b+3|0]<<8;b=h+((b<<8|b>>>8)&65535)|0;if(O[b+4|0]!=1){continue}break}break Id}b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!b){break Fd}if(O[e+13|0]==1){break Gd}c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=c>>>0<=1?1:c;e=e+8|0;d=0;while(1){d=d+1|0;if((b|0)==(d|0)){break Fd}h=e;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=h+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;if(O[e+5|0]!=1){continue}break}break Hd}if(d>>>0>e>>>0){break Gd}break Fd}if(c>>>0<=d>>>0){break Fd}}a=0}k=P[f>>1]}d=k&-33|a;M[j+140>>1]=d;a=N[j+44>>2];Ld:{Md:{if((a|0)<=0){break Md}e=N[j+48>>2];b=a-1|0;a=0;while(1){Nd:{i=a+b>>>1|0;c=N[e+T(i,36)>>2];Od:{if(c>>>0>=1835102828){b=i-1|0;break Od}if((c|0)==1835102827){break Nd}a=i+1|0}if((a|0)<=(b|0)){continue}break Md}break}a=16;if(N[(e+T(i,36)|0)+28>>2]){break Ld}}a=0}b=a|d&-17;M[f>>1]=b;a=0;e=1;Pd:{if(k&4608){d=0;break Pd}d=256;e=0;if(!(k&1024)){break Pd}Qd:{Rd:{Sd:{Td:{Ud:{Vd:{Wd:{Xd:{h=fh(N[g+8>>2]+136|0);b=O[h|0]|O[h+1|0]<<8;switch((b<<8|b>>>8)&65535){case 1:break Wd;case 0:break Xd;default:break Ud}}b=O[h+2|0]|O[h+3|0]<<8;if(!b){break Ud}if(O[h+9|0]&4){break Td}i=(b<<8|b>>>8)&65535;c=i>>>0<=1?1:i;b=h+4|0;h=0;while(1){h=h+1|0;if((c|0)==(h|0)){break Qd}k=b;b=O[b+2|0]|O[b+3|0]<<8;b=k+((b<<8|b>>>8)&65535)|0;if(!(O[b+5|0]&4)){continue}break}break Vd}b=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);if(!b){break Ud}if(O[h+12|0]&64){break Td}c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=c>>>0<=1?1:c;e=h+8|0;h=0;while(1){h=h+1|0;if((b|0)==(h|0)){break Qd}i=e;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=i+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;if(!(O[e+4|0]&64)){continue}break}break Sd}b=P[f>>1];if(h>>>0>>0){break Rd}break Pd}b=P[f>>1];break Pd}b=P[f>>1];break Rd}b=P[f>>1];e=0;if(c>>>0<=h>>>0){break Pd}}d=0;e=1;break Pd}b=P[f>>1];e=0}c=b&-257|d;M[f>>1]=c;c=c&-129|(e?0:O[g+164|0]<<5&128);b=b&8192?c&-257:c;M[f>>1]=b;if(b&2){a=hl(N[g+8>>2]+172|0);a=((O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))!=0)<<14;b=P[f>>1]}M[j+140>>1]=b&49151|a;b=1;a=N[N[j+20>>2]+8>>2];Yd:{if(!a){break Yd}a=Qa[a|0](j)|0;N[j+112>>2]=a;if(a){break Yd}tq(D);if(N[j+104>>2]){N[j+104>>2]=0}_a(N[j+108>>2]);b=0;N[j+108>>2]=0;N[j+100>>2]=0;N[j+104>>2]=0}if(N[g+156>>2]){N[g+156>>2]=0}_a(N[g+160>>2]);N[g+160>>2]=0;N[g+152>>2]=0;N[g+156>>2]=0;if(N[g+96>>2]){N[g+96>>2]=0}_a(N[g+100>>2]);N[g+100>>2]=0;N[g+92>>2]=0;N[g+96>>2]=0;if(N[g+108>>2]){N[g+108>>2]=0}_a(N[g+112>>2]);N[g+112>>2]=0;N[g+104>>2]=0;N[g+108>>2]=0;if(N[g+120>>2]){N[g+120>>2]=0}_a(N[g+124>>2]);N[g+124>>2]=0;N[g+116>>2]=0;N[g+120>>2]=0;if(N[g+108>>2]){N[g+108>>2]=0}_a(N[g+112>>2]);N[g+112>>2]=0;N[g+104>>2]=0;N[g+108>>2]=0;if(N[g+96>>2]){N[g+96>>2]=0}_a(N[g+100>>2]);La=g+336|0;if(b){return v}_a(N[v+36>>2])}_a(v)}return 275552}function xy(a){a=a|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;j=La-48|0;La=j;d=N[a>>2];b=0;a:{if(N[N[d+96>>2]+64>>2]!=40){break a}b=0;if(!O[a+641|0]){break a}b=0;if(O[d+9|0]&32){break a}b=(O[a+340|0]^-1)>>>2&1}M[a+644>>1]=0;L[a+643|0]=b;b=N[a+388>>2];c=P[a+152>>1];f=b+c<<1;f=f>>>0<=30?30:f;if(f>>>0>1]){M[a+188>>1]=f}N[a+656>>2]=0;N[a+648>>2]=0;b=c?(c>>>0<5?50:T(c,10))+(b>>>0<500?50:(b>>>0)/10|0)|0:T(b,22)+300|0;N[a+652>>2]=b;c=N[d+16>>2];N[a+260>>2]=0;c=T(c,100);b=b>>>0>>0?b:c;N[a+660>>2]=b;N[a+652>>2]=b;b:{if(P[a+220>>1]!=P[a+222>>1]){c=116;f=117;d=118;b=115;break b}c=120;f=121;d=122;b=119}N[a+636>>2]=b;N[a+632>>2]=c;N[a+628>>2]=f;N[a+624>>2]=d;N[a+404>>2]=N[a+392>>2];N[a+504>>2]=N[a+492>>2];N[a+356>>2]=N[a+360>>2];d=M[a+302>>1];c:{if((d&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;c=b;break c}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;c=P[a+298>>1];break c}c=M[a+298>>1];b=T(b,M[a+300>>1])+T(d,c)>>14;N[a+596>>2]=b}d:{if((c&65535)==16384){N[a+604>>2]=123;break d}if(P[a+300>>1]==16384){N[a+604>>2]=124;break d}N[a+604>>2]=125}e:{if(P[a+294>>1]==16384){N[a+608>>2]=123;break e}if(P[a+296>>1]==16384){N[a+608>>2]=124;break e}N[a+608>>2]=126}N[a+620>>2]=127;N[a+616>>2]=128;f:{if((b|0)!=16384){break f}g:{if((d|0)==16384){f=130;c=129;break g}if(P[a+304>>1]!=16384){break f}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;b=N[a+316>>2];if(!(b&248)){N[a+600>>2]=N[(b<<24>>22)+28520>>2]}x=a+180|0;y=a+144|0;n=a+72|0;o=a+36|0;p=a+108|0;c=N[a+368>>2];h:{i:{while(1){h=N[a+364>>2];i=O[h+c|0];L[a+376|0]=i;f=L[i+26496|0];N[a+380>>2]=f;j:{if((i&254)!=64){d=N[a+372>>2];break j}d=N[a+372>>2];b=c+1|0;if((d|0)<=(b|0)){d=131;break i}f=2-T(O[b+h|0],f)|0;N[a+380>>2]=f}if((c+f|0)>(d|0)){d=131;break i}b=O[i+26752|0];d=b>>>4|0;c=N[a+16>>2]-d|0;N[a+28>>2]=c;if((c|0)<0){if(O[a+593|0]){d=129;break i}if(b>>>0>=16){C(N[a+24>>2],0,(d>>>0<=1?1:d)<<2)}N[a+28>>2]=0;c=0}k:{l:{if((i|0)==145){b=N[N[a>>2]+736>>2];if(!b){g=N[a+32>>2];break k}g=N[b>>2]+c|0;break l}g=(b&15)+c|0}N[a+32>>2]=g}d=130;b=N[a+20>>2];if((b|0)<(g|0)){break i}N[a+12>>2]=0;L[a+384|0]=1;k=N[a+24>>2];e=k+(c<<2)|0;d=135;m:{n:{o:{p:{q:{r:{switch(i|0){case 0:case 1:case 2:case 3:case 4:case 5:c=i<<14&16384;b=c^16384;if(i>>>0<=3){M[a+296>>1]=b;M[a+294>>1]=c;M[a+300>>1]=b;M[a+298>>1]=c}s:{if(i&2){c=P[a+302>>1];break s}M[a+304>>1]=b;M[a+302>>1]=c}t:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break t}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break t}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}f=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;u:{if((b|0)!=16384){break u}v:{if((c&65535)==16384){f=130;c=129;break v}if(P[a+304>>1]!=16384){break u}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 6:case 7:w:{b=P[e+4>>1];if(b>>>0>1]){c=P[e>>1];if(c>>>0>1]){break w}}if(!O[a+593|0]){break q}d=134;break i}c=N[a+88>>2]+(c<<3)|0;d=N[c+4>>2];f=N[a+124>>2]+(b<<3)|0;g=N[f+4>>2];b=d-g|0;e=N[c>>2];f=N[f>>2];c=(e|0)==(f|0)&(d|0)==(g|0);d=c?16384:e-f|0;c=c|!(i&1);f=c?b:d;b=c?d:0-b|0;if(f|b){N[j+16>>2]=f;N[j+12>>2]=b;_b(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}c=P[a+298>>1]|P[a+300>>1]<<16;M[a+294>>1]=c;M[a+296>>1]=c>>>16;d=M[a+302>>1];b=c<<16>>16;x:{if((d&65535)==16384){break x}f=M[a+304>>1];b=c>>16;if((f|0)==16384){break x}b=T(f,c>>16)+T(d,c<<16>>16)>>14}N[a+620>>2]=127;N[a+616>>2]=128;N[a+596>>2]=b;f=(c&-65536)==1073741824;c=(c&65535)==16384;N[a+608>>2]=c?123:f?124:126;N[a+604>>2]=c?123:f?124:125;y:{if((b|0)!=16384){break y}z:{if((d|0)==16384){f=130;c=129;break z}if(P[a+304>>1]!=16384){break y}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 8:case 9:A:{b=P[e+4>>1];if(b>>>0>1]){c=P[e>>1];if(c>>>0>1]){break A}}if(!O[a+593|0]){break q}d=134;break i}c=N[a+88>>2]+(c<<3)|0;d=N[c+4>>2];f=N[a+124>>2]+(b<<3)|0;g=N[f+4>>2];b=d-g|0;e=N[c>>2];f=N[f>>2];c=(e|0)==(f|0)&(d|0)==(g|0);d=c?16384:e-f|0;c=c|!(i&1);f=c?b:d;b=c?d:0-b|0;B:{if(!(f|b)){c=P[a+302>>1];break B}N[j+16>>2]=f;N[j+12>>2]=b;_b(j+12|0);c=N[j+12>>2]/4|0;M[a+302>>1]=c;M[a+304>>1]=N[j+16>>2]/4}C:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break C}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break C}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}f=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;D:{if((b|0)!=16384){break D}E:{if((c&65535)==16384){f=130;c=129;break E}if(P[a+304>>1]!=16384){break D}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 10:b=M[e+4>>1];c=M[e>>1];if(b|c){N[j+16>>2]=b;N[j+12>>2]=c;_b(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}c=P[a+298>>1]|P[a+300>>1]<<16;M[a+294>>1]=c;M[a+296>>1]=c>>>16;d=M[a+302>>1];b=c<<16>>16;F:{if((d&65535)==16384){break F}f=M[a+304>>1];b=c>>16;if((f|0)==16384){break F}b=T(f,c>>16)+T(d,c<<16>>16)>>14}N[a+620>>2]=127;N[a+616>>2]=128;N[a+596>>2]=b;f=(c&-65536)==1073741824;c=(c&65535)==16384;N[a+608>>2]=c?123:f?124:126;N[a+604>>2]=c?123:f?124:125;G:{if((b|0)!=16384){break G}H:{if((d|0)==16384){f=130;c=129;break H}if(P[a+304>>1]!=16384){break G}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 11:b=M[e+4>>1];c=M[e>>1];I:{if(!(b|c)){c=P[a+302>>1];break I}N[j+16>>2]=b;N[j+12>>2]=c;_b(j+12|0);c=N[j+12>>2]/4|0;M[a+302>>1]=c;M[a+304>>1]=N[j+16>>2]/4}J:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break J}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break J}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}f=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;K:{if((b|0)!=16384){break K}L:{if((c&65535)==16384){f=130;c=129;break L}if(P[a+304>>1]!=16384){break K}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 12:b=M[a+298>>1];N[e+4>>2]=M[a+300>>1];N[e>>2]=b;break q;case 13:b=M[a+302>>1];N[e+4>>2]=M[a+304>>1];N[e>>2]=b;break q;case 14:g=P[a+298>>1]|P[a+300>>1]<<16;M[a+302>>1]=g;e=g>>>16|0;M[a+304>>1]=e;c=g<<16>>16;f=123;i=g&65535;M:{if((i|0)==16384){d=123;b=c;break M}d=124;b=16384;if((e|0)==16384){break M}d=125;b=g>>16;b=T(c,c)+T(b,b)>>>14|0}N[a+604>>2]=d;N[a+596>>2]=b;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;N:{if((b|0)!=16384){break N}O:{if((i|0)==16384){f=130;c=129;break O}if((e|0)!=16384){break N}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 15:P:{d=P[e+12>>1];b=P[a+44>>1];Q:{if(d>>>0>=b>>>0){break Q}f=P[e+16>>1];if(f>>>0>=b>>>0){break Q}c=P[e+4>>1];b=P[a+80>>1];if(c>>>0>=b>>>0){break Q}g=P[e+8>>1];if(g>>>0>=b>>>0){break Q}b=P[e>>1];if(b>>>0>1]){break P}}if(!O[a+593|0]){break q}d=134;break i}e=g<<3;g=N[a+88>>2];i=e+g|0;s=N[i>>2];h=g+(c<<3)|0;c=N[h>>2];g=s-c|0;e=f<<3;f=N[a+52>>2];k=e+f|0;u=N[k+4>>2];f=f+(d<<3)|0;e=N[f+4>>2];q=u-e|0;t=0-q|0;l=jb(g,t,64);w=N[i+4>>2];d=N[h+4>>2];i=w-d|0;v=N[k>>2];h=N[f>>2];k=v-h|0;f=l+jb(i,k,64)|0;l=f>>31;r=jb(g,k,64)+jb(i,q,64)|0;q=r>>31;R:{if(((r^q)-q|0)<(T((f^l)-l|0,19)|0)){r=N[a+124>>2];e=jb(h-c|0,t,64)+jb(e-d|0,k,64)|0;W=r+(b<<3)|0,X=jb(e,g,f)+c|0,N[W>>2]=X;c=jb(e,i,f)+d|0;break R}r=N[a+124>>2];N[r+(b<<3)>>2]=(v+(h+(c+s|0)|0)|0)/4;c=(u+(e+(d+w|0)|0)|0)/4|0}N[((b<<3)+r|0)+4>>2]=c;b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|24;break q;case 16:M[a+288>>1]=N[e>>2];break q;case 17:M[a+290>>1]=N[e>>2];break q;case 18:M[a+292>>1]=N[e>>2];break q;case 19:b=x;S:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break S}}c=N[b+4>>2];N[o>>2]=N[b>>2];N[o+4>>2]=c;N[o+32>>2]=N[b+32>>2];c=N[b+28>>2];N[o+24>>2]=N[b+24>>2];N[o+28>>2]=c;c=N[b+20>>2];N[o+16>>2]=N[b+16>>2];N[o+20>>2]=c;c=N[b+12>>2];N[o+8>>2]=N[b+8>>2];N[o+12>>2]=c;M[a+348>>1]=N[e>>2];break q;case 20:b=x;T:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break T}}c=N[b+4>>2];N[n>>2]=N[b>>2];N[n+4>>2]=c;N[n+32>>2]=N[b+32>>2];c=N[b+28>>2];N[n+24>>2]=N[b+24>>2];N[n+28>>2]=c;c=N[b+20>>2];N[n+16>>2]=N[b+16>>2];N[n+20>>2]=c;c=N[b+12>>2];N[n+8>>2]=N[b+8>>2];N[n+12>>2]=c;M[a+350>>1]=N[e>>2];break q;case 21:b=x;U:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break U}}c=N[b+4>>2];N[p>>2]=N[b>>2];N[p+4>>2]=c;N[p+32>>2]=N[b+32>>2];c=N[b+28>>2];N[p+24>>2]=N[b+24>>2];N[p+28>>2]=c;c=N[b+20>>2];N[p+16>>2]=N[b+16>>2];N[p+20>>2]=c;c=N[b+12>>2];N[p+8>>2]=N[b+8>>2];N[p+12>>2]=c;M[a+352>>1]=N[e>>2];break q;case 22:b=x;V:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break V}}c=N[b+4>>2];N[o>>2]=N[b>>2];N[o+4>>2]=c;N[o+32>>2]=N[b+32>>2];c=N[b+28>>2];N[o+24>>2]=N[b+24>>2];N[o+28>>2]=c;c=N[b+20>>2];N[o+16>>2]=N[b+16>>2];N[o+20>>2]=c;c=N[b+12>>2];N[o+8>>2]=N[b+8>>2];N[o+12>>2]=c;N[n+32>>2]=N[b+32>>2];c=N[b+28>>2];N[n+24>>2]=N[b+24>>2];N[n+28>>2]=c;c=N[b+20>>2];N[n+16>>2]=N[b+16>>2];N[n+20>>2]=c;c=N[b+12>>2];N[n+8>>2]=N[b+8>>2];N[n+12>>2]=c;c=N[b+4>>2];N[n>>2]=N[b>>2];N[n+4>>2]=c;N[p+32>>2]=N[b+32>>2];c=N[b+28>>2];N[p+24>>2]=N[b+24>>2];N[p+28>>2]=c;c=N[b+20>>2];N[p+16>>2]=N[b+16>>2];N[p+20>>2]=c;c=N[b+12>>2];N[p+8>>2]=N[b+8>>2];N[p+12>>2]=c;c=N[b+4>>2];N[p>>2]=N[b>>2];N[p+4>>2]=c;b=P[e>>1];M[a+352>>1]=b;M[a+350>>1]=b;M[a+348>>1]=b;break q;case 23:b=N[e>>2];if((b|0)<0){d=132;break i}N[a+308>>2]=b>>>0>=65535?65535:b;break q;case 24:N[a+600>>2]=133;N[a+316>>2]=1;break q;case 25:N[a+600>>2]=134;N[a+316>>2]=0;break q;case 26:N[a+312>>2]=N[e>>2];break q;case 27:b=N[a+368>>2];c=N[a+372>>2];g=1;while(1){b=b+f|0;N[a+368>>2]=b;if((b|0)>=(c|0)){d=131;break i}d=O[b+h|0];L[a+376|0]=d;f=L[d+26496|0];N[a+380>>2]=f;if((d&254)==64){e=b+1|0;if((e|0)>=(c|0)){d=131;break i}f=2-T(O[e+h|0],f)|0;N[a+380>>2]=f}if((c|0)<(b+f|0)){d=131;break i}W:{switch(d-88|0){case 0:g=g+1|0;if(g){continue}break q;case 1:g=g-1|0;break;default:break W}}if(g){continue}break};break q;case 28:b=132;d=c;c=N[e>>2];X:{if(!(d|c)){break X}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break X}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break X}L[a+384|0]=0;if(N[e>>2]>=0){break q}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break q}}N[a+12>>2]=b;break p;case 29:N[a+324>>2]=N[e>>2];break q;case 30:N[a+328>>2]=N[e>>2];break q;case 31:W=a,X=ob(N[e>>2],N[a+264>>2]),N[W+332>>2]=X;break q;case 32:N[e+4>>2]=N[e>>2];break q;case 34:N[a+32>>2]=0;break q;case 35:W=e,X=_E(N[e>>2],N[e+4>>2],32),N[W>>2]=X;N[e+4>>2]=Pa;break q;case 36:N[e>>2]=N[a+16>>2];break q;case 37:b=N[e>>2];Y:{if(!((b|0)>0&(b|0)<=(c|0))){b=0;if(!O[a+593|0]){break Y}N[a+12>>2]=134;N[e>>2]=0;break q}b=N[k+(c-b<<2)>>2]}N[e>>2]=b;break q;case 38:b=N[e>>2];if(!((b|0)>0&(b|0)<=(c|0))){if(!O[a+593|0]){break q}d=134;break i}c=k+(c-b<<2)|0;d=N[c>>2];F(c,c+4|0,(b<<2)-4|0);N[(N[a+24>>2]+(N[a+28>>2]<<2)|0)-4>>2]=d;break q;case 39:Z:{b=P[e>>1];if(b>>>0>1]){c=P[e+4>>1];if(c>>>0>1]){break Z}}if(!O[a+593|0]){break q}d=134;break i}e=b;d=N[a+52>>2]+(c<<3)|0;b=N[a+88>>2]+(b<<3)|0;b=(Qa[N[a+604>>2]](a,N[d>>2]-N[b>>2]|0,N[d+4>>2]-N[b+4>>2]|0)|0)/2|0;Qa[N[a+616>>2]](a,n,e,b);Qa[N[a+616>>2]](a,o,c,0-b|0);break q;case 40:Od(a);break q;case 41:b=P[e>>1];if(b>>>0>=P[a+44>>1]){if(!O[a+593|0]){break q}d=134;break i}b=b+N[a+60>>2]|0;c=b;d=O[b|0];b=P[a+302>>1]?-9:-1;L[c|0]=d&(P[a+304>>1]?b&239:b);break q;case 42:b=134;f=N[e+4>>2];c=N[a+440>>2]+1|0;_:{if(f>>>0>=c>>>0){break _}d=N[a+424>>2];g=N[a+416>>2];$:{if((g|0)==(c|0)){c=d+T(f,24)|0;if((f|0)==N[(d?c:0)+12>>2]){break $}}c=d;d=c?c+T(g,24)|0:0;aa:{if(c>>>0>=d>>>0){break aa}while(1){if((f|0)==N[c+12>>2]){break aa}c=c+24|0;if(d>>>0>c>>>0){continue}break}}if((c|0)==(d|0)){break _}}if(!O[c+16|0]){break _}b=130;d=N[a+448>>2];if((d|0)>=N[a+452>>2]){break _}if(N[e>>2]<=0){break q}b=N[a+456>>2]+(d<<4)|0;N[b>>2]=N[a+360>>2];N[b+4>>2]=N[a+368>>2]+1;f=N[e>>2];N[b+12>>2]=c;N[b+8>>2]=f;N[a+448>>2]=d+1;b=N[c>>2];ba:{if(b-4>>>0<=4294967292){N[a+12>>2]=132;break ba}d=(b-1<<3)+a|0;f=N[d+464>>2];if(!f){N[a+12>>2]=138;break ba}d=N[d+468>>2];c=N[c+4>>2];if((d|0)<(c|0)){N[a+12>>2]=131;break ba}N[a+372>>2]=d;N[a+364>>2]=f;N[a+368>>2]=c;N[a+360>>2]=b}L[a+384|0]=0;c=N[a+648>>2]+N[e>>2]|0;N[a+648>>2]=c;b=139;if(c>>>0<=Q[a+652>>2]){break q}}N[a+12>>2]=b;break p;case 43:d=134;b=N[a+440>>2]+1|0;f=N[e>>2];if(b>>>0<=f>>>0){break i}c=N[a+424>>2];if(!c){break i}g=N[a+416>>2];ca:{if((g|0)==(b|0)){b=c+T(f,24)|0;if((f|0)==N[b+12>>2]){break ca}}e=c+T(g,24)|0;b=c;da:{if((g|0)<=0){break da}while(1){if((f|0)==N[b+12>>2]){break da}b=b+24|0;if(e>>>0>b>>>0){continue}break}}if((b|0)==(e|0)){break i}}if(!O[b+16|0]){break i}d=130;f=N[a+448>>2];if((f|0)>=N[a+452>>2]){break i}c=N[a+456>>2]+(f<<4)|0;N[c>>2]=N[a+360>>2];d=N[a+368>>2];N[c+12>>2]=b;N[c+8>>2]=1;N[c+4>>2]=d+1;N[a+448>>2]=f+1;c=N[b>>2];ea:{if(c-4>>>0<=4294967292){N[a+12>>2]=132;break ea}d=(c-1<<3)+a|0;f=N[d+464>>2];if(!f){N[a+12>>2]=138;break ea}d=N[d+468>>2];b=N[b+4>>2];if((d|0)<(b|0)){N[a+12>>2]=131;break ea}N[a+372>>2]=d;N[a+364>>2]=f;N[a+368>>2]=b;N[a+360>>2]=c}L[a+384|0]=0;break q;case 44:if(N[a+356>>2]==3){d=156;break i}b=N[a+424>>2];fa:{ga:{if(!b){g=N[a+416>>2];d=N[e>>2];c=0;break ga}g=N[a+416>>2];c=T(g,24)+b|0;d=N[e>>2];ha:{if((g|0)<=0){break ha}while(1){if(N[b+12>>2]==(d|0)){break ha}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break fa}}if(Q[a+420>>2]<=g>>>0){d=140;break i}N[a+416>>2]=g+1;b=c}if(d>>>0>65535){d=140;break i}c=N[a+360>>2];N[b+12>>2]=d;N[b>>2]=c;c=N[a+368>>2];N[b+20>>2]=0;M[b+16>>1]=1;N[b+4>>2]=c+1;if(Q[a+440>>2]>>0){N[a+440>>2]=d}e=N[a+372>>2];while(1){c=c+f|0;N[a+368>>2]=c;if((c|0)>=(e|0)){d=131;break i}g=O[c+h|0];L[a+376|0]=g;f=L[g+26496|0];N[a+380>>2]=f;if((g&254)==64){d=c+1|0;if((d|0)>=(e|0)){d=131;break i}f=2-T(O[d+h|0],f)|0;N[a+380>>2]=f}if((e|0)<(c+f|0)){d=131;break i}d=137;ia:{switch(g-44|0){case 1:N[b+8>>2]=c;break q;case 0:break i;default:break ia}}if((g|0)!=137){continue}break};break i;case 33:case 89:case 126:case 127:N[a+16>>2]=g;break o;default:if(i>>>0>=224){c=N[e+4>>2];b=0;ja:{ka:{f=N[e>>2];d=f&65535;la:{if(d>>>0>=P[a+80>>1]){break la}g=c+1|0;if(g>>>0>=N[a+388>>2]+1>>>0){break la}if(P[a+288>>1]>1]){break ka}}if(!O[a+593|0]){break ja}N[a+12>>2]=134;break ja}if(g){b=Qa[N[a+628>>2]](a,c)|0}c=N[a+332>>2];e=b-c|0;g=e>>31;b=N[a+328>>2]>((e^g)-g|0)?(b|0)<0?0-c|0:c:b;if(!P[a+350>>1]){g=M[a+302>>1];c=g>>31;i=(c^g)-c|0;c=b>>31;h=(c^b)-c|0;k=h>>>16|0;l=T(i,k);e=l<<16|8192;q=d<<3;c=q+N[a+84>>2]|0;r=N[a+48>>2]+(P[a+288>>1]<<3)|0;m=e;s=i;i=h&65535;e=e+T(s,i)|0;e=(l>>>16|0)+(m>>>0>e>>>0)<<18|e>>>14;N[c>>2]=N[r>>2]+((b^g)<0?0-e|0:e);g=M[a+304>>1];e=g>>31;h=(e^g)-e|0;k=T(h,k);e=k<<16|8192;l=e;e=e+T(i,h)|0;e=(k>>>16|0)+(l>>>0>e>>>0)<<18|e>>>14;N[c+4>>2]=N[r+4>>2]+((b^g)<0?0-e|0:e);e=N[c+4>>2];g=q+N[a+88>>2]|0;N[g>>2]=N[c>>2];N[g+4>>2]=e}d=d<<3;c=d+N[a+84>>2]|0;g=N[a+48>>2]+(P[a+288>>1]<<3)|0;c=Qa[N[a+608>>2]](a,N[c>>2]-N[g>>2]|0,N[c+4>>2]-N[g+4>>2]|0)|0;d=d+N[a+88>>2]|0;g=N[a+52>>2]+(P[a+288>>1]<<3)|0;e=Qa[N[a+604>>2]](a,N[d>>2]-N[g>>2]|0,N[d+4>>2]-N[g+4>>2]|0)|0;b=O[a+320|0]?(b^c)<0?0-b|0:b:b;d=O[a+376|0];ma:{if(d&4){if(P[a+348>>1]==P[a+350>>1]){i=b-c|0;g=i>>31;b=N[a+324>>2]<((g^i)-g|0)?c:b}b=Qa[N[a+600>>2]](a,b,d&3)|0;d=O[a+376|0];break ma}g=N[(((d&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+g|0;b=(b|0)>0?b:0;break ma}b=b-g|0;b=b>>31&b}g=a+72|0;na:{if(!(d&8)){break na}d=N[a+312>>2];if((c|0)>=0){b=(b|0)>(d|0)?b:d;break na}c=0-d|0;b=(b|0)<(c|0)?b:c}Qa[N[a+616>>2]](a,g,f&65535,b-e|0)}M[a+290>>1]=P[a+288>>1];if(O[a+376|0]&16){M[a+288>>1]=f}M[a+292>>1]=f;break q}if(i>>>0>=192){oa:{pa:{f=N[e>>2];d=f&65535;if(d>>>0>1]){c=P[a+288>>1];if(c>>>0>1]){break pa}}if(!O[a+593|0]){break oa}N[a+12>>2]=134;break oa}qa:{if(!(P[a+350>>1]?P[a+348>>1]:0)){b=N[a+84>>2]+(d<<3)|0;c=N[a+48>>2]+(c<<3)|0;b=Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0;break qa}k=N[a+56>>2];b=k+(c<<3)|0;l=N[a+92>>2];g=l+(d<<3)|0;e=N[a+224>>2];i=N[a+228>>2];if((e|0)==(i|0)){g=Qa[N[a+608>>2]](a,N[g>>2]-N[b>>2]|0,N[g+4>>2]-N[b+4>>2]|0)|0;c=g>>31;e=N[a+224>>2];b=e>>31;c=(c^g)-c|0;b=(b^e)-b|0;ra:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break ra}i=c&65535;c=T(i,b>>>16|0)+T(b,c>>>16|0)+(T(i,b&65535)+32768>>>16)|0}b=c;i=0-b|0;b=g>>31|1;b=(((e|0)<0?0-b|0:b)|0)<0?i:c;break qa}h=N[g>>2]-N[b>>2]|0;g=h>>31;g=(g^h)-g|0;b=e>>31;b=(b^e)-b|0;sa:{if(g+(b>>>8|0)>>>0<=8190){g=T(b,g)+32768>>>16|0;break sa}q=g&65535;g=T(q,b>>>16|0)+T(b,g>>>16|0)+(T(q,b&65535)+32768>>>16)|0}b=g;q=0-b|0;b=h>>31|1;e=(((e|0)<0?0-b|0:b)|0)<0?q:g;g=N[(l+(d<<3)|0)+4>>2]-N[(k+(c<<3)|0)+4>>2]|0;c=g>>31;c=(c^g)-c|0;b=i>>31;b=(b^i)-b|0;ta:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break ta}h=c&65535;c=T(h,b>>>16|0)+T(b,c>>>16|0)+(T(h,b&65535)+32768>>>16)|0}b=c;h=0-b|0;b=g>>31|1;b=Qa[N[a+608>>2]](a,e,(((i|0)<0?0-b|0:b)|0)<0?h:c)|0}g=N[a+328>>2];ua:{if((g|0)<=0){break ua}c=N[a+332>>2];if((c+g|0)<=(b|0)|(c-g|0)>=(b|0)){break ua}b=(b|0)<0?0-c|0:c}g=O[a+376|0];va:{if(g&4){c=Qa[N[a+600>>2]](a,b,g&3)|0;g=O[a+376|0];break va}c=N[(((g&3)<<2)+a|0)+268>>2];if((b|0)>=0){c=b+c|0;c=(c|0)>0?c:0;break va}c=b-c|0;c=c>>31&c}e=a+72|0;wa:{if(!(g&8)){break wa}g=N[a+312>>2];if((b|0)>=0){c=(c|0)>(g|0)?c:g;break wa}b=0-g|0;c=(b|0)>(c|0)?c:b}g=c;b=N[a+88>>2]+(d<<3)|0;c=N[a+52>>2]+(P[a+288>>1]<<3)|0;X=a,Y=e,Z=f&65535,_=g-(Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0)|0,W=N[a+616>>2],Qa[W](X|0,Y|0,Z|0,_|0)}M[a+292>>1]=f;M[a+290>>1]=P[a+288>>1];if(O[a+376|0]&16){M[a+288>>1]=f}break q}if(i>>>0>=184){b=O[a+376|0]+65353|0;c=b&65535;if(c>>>0>=(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){N[a+12>>2]=130;break q}N[a+368>>2]=N[a+368>>2]+1;xa:{if(!c){break xa}f=b&1;d=N[a+364>>2];b=0;if((c|0)!=1){c=c-f|0;while(1){g=N[a+368>>2];N[a+368>>2]=g+2;i=b<<2;g=d+g|0;g=O[g|0]|O[g+1|0]<<8;N[i+e>>2]=(g<<8|g>>>8)<<16>>16;g=N[a+368>>2];N[a+368>>2]=g+2;g=d+g|0;g=O[g|0]|O[g+1|0]<<8;N[e+(i|4)>>2]=(g<<8|g>>>8)<<16>>16;b=b+2|0;if((c|0)!=(b|0)){continue}break}}if(!f){break xa}c=N[a+368>>2];N[a+368>>2]=c+2;e=e+(b<<2)|0;b=c+d|0;b=O[b|0]|O[b+1|0]<<8;N[e>>2]=(b<<8|b>>>8)<<16>>16}L[a+384|0]=0;break q}if(i>>>0>=176){d=O[a+376|0]+65361|0;b=d&65535;if(b>>>0<(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){if(b){f=N[a+364>>2];b=1;c=1;while(1){N[(e+(b<<2)|0)-4>>2]=O[f+(N[a+368>>2]+b|0)|0];c=c+1|0;b=c&65535;if(b>>>0<=(d&65535)>>>0){continue}break}}break q}N[a+12>>2]=130;break q}Od(a);break q;case 146:if(N[N[a>>2]+736>>2]){N[e>>2]=17;break q}Od(a);break q;case 145:if(N[N[a>>2]+736>>2]){f=0;c=N[N[a>>2]+736>>2];b=N[c>>2];if(b>>>0>=(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){N[a+12>>2]=130;break q}d=N[c+8>>2];ya:{if(d){if(!b){break ya}c=0;if(b>>>0>=4){i=b&-4;while(1){g=c<<2;N[g+e>>2]=N[d+g>>2]>>2;h=g|4;N[h+e>>2]=N[d+h>>2]>>2;h=g|8;N[h+e>>2]=N[d+h>>2]>>2;g=g|12;N[g+e>>2]=N[d+g>>2]>>2;c=c+4|0;if((i|0)!=(c|0)){continue}break}}b=b&3;if(!b){break ya}while(1){g=c<<2;N[g+e>>2]=N[d+g>>2]>>2;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}break ya}if(!b){break ya}C(e,0,b<<2)}break q}Od(a);break q;case 143:case 144:Od(a);break q;case 142:c=N[e+4>>2];if(c-4>>>0<=4294967292){if(!O[a+593|0]){break q}d=134;break i}b=N[e>>2];d=1<>2]+96>>2]+64>>2]!=40){break q}L[a+643|0]=(b|0)!=4;break q;case 141:b=N[e>>2];if((b|0)<0){break q}N[a+344>>2]=b&65535;break q;case 140:b=N[e+4>>2];if((b|0)>=N[e>>2]){break q}N[e>>2]=b;break q;case 139:b=N[e+4>>2];if((b|0)<=N[e>>2]){break q}N[e>>2]=b;break q;case 138:b=N[e+8>>2];c=N[e+4>>2];N[e+8>>2]=N[e>>2];N[e>>2]=c;N[e+4>>2]=b;break q;case 137:if(N[a+356>>2]==3){d=156;break i}d=N[a+428>>2];b=N[a+436>>2];za:{Aa:{if(!b){c=0;break Aa}c=T(d,24)+b|0;Ba:{if((d|0)<=0){break Ba}g=N[e>>2];while(1){if((g|0)==N[b+12>>2]){break Ba}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break za}}if(d>>>0>=Q[a+432>>2]){d=141;break i}N[a+428>>2]=d+1;b=c}c=N[e>>2];if(c>>>0>255){d=141;break i}N[b+12>>2]=c;c=N[a+368>>2];N[b+4>>2]=c+1;d=N[a+360>>2];L[b+16|0]=1;N[b>>2]=d;d=N[e>>2];if(d>>>0>Q[a+444>>2]){N[a+444>>2]=d&255}e=N[a+372>>2];while(1){c=c+f|0;N[a+368>>2]=c;if((c|0)>=(e|0)){d=131;break i}g=O[c+h|0];L[a+376|0]=g;f=L[g+26496|0];N[a+380>>2]=f;if((g&254)==64){d=c+1|0;if((d|0)>=(e|0)){d=131;break i}f=2-T(O[d+h|0],f)|0;N[a+380>>2]=f}if((e|0)<(c+f|0)){d=131;break i}d=137;Ca:{switch(g-44|0){default:if((g|0)!=137){continue}break i;case 0:break i;case 1:break Ca}}break};N[b+8>>2]=c;break q;case 136:b=0;c=N[e>>2];b=c&1?N[N[N[a>>2]+96>>2]+64>>2]:b;b=c&2?O[a+285|0]?b|256:b:b;b=c&4?O[a+286|0]?b|512:b:b;b=c&8?N[N[a>>2]+736>>2]?b|1024:b:b;b=c&32?O[a+640|0]?b|4096:b:b;Da:{if(!O[a+641|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40){break Da}d=c<<7;b=d&8192|b;if(c&256){b=O[a+642|0]?b|32768:b}b=d&393216|b;if(!(c&4096)){break Da}b=O[a+646|0]?b|524288:b}N[e>>2]=b;break q;case 134:case 135:Ea:{b=P[e>>1];if(b>>>0>1]){c=P[e+4>>1];if(c>>>0>1]){break Ea}}if(!O[a+593|0]){break q}d=134;break i}d=b<<3;f=d+N[a+84>>2]|0;g=N[f+4>>2];e=c<<3;c=e+N[a+120>>2]|0;h=N[c+4>>2];b=g-h|0;f=N[f>>2];k=N[c>>2];c=(f|0)==(k|0)&(g|0)==(h|0);f=c?16384:f-k|0;c=c|!(i&1);g=c?b:f;b=c?f:0-b|0;if(g|b){N[j+16>>2]=g;N[j+12>>2]=b;_b(j+12|0);M[a+294>>1]=N[j+12>>2]/4;M[a+296>>1]=N[j+16>>2]/4}d=d+N[a+88>>2]|0;f=N[d+4>>2];g=e+N[a+124>>2]|0;e=N[g+4>>2];b=f-e|0;i=N[d>>2];g=N[g>>2];d=(i|0)==(g|0)&(e|0)==(f|0);f=d?16384:i-g|0;c=c|d;d=c?b:f;b=c?f:0-b|0;if(d|b){N[j+16>>2]=d;N[j+12>>2]=b;_b(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}f=P[a+302>>1];Fa:{if((f|0)==16384){b=M[a+298>>1];N[a+596>>2]=b;d=b;break Fa}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;d=P[a+298>>1];break Fa}d=M[a+298>>1];b=T(b,M[a+300>>1])+T(d,f<<16>>16)>>14;N[a+596>>2]=b}c=123;N[a+604>>2]=(d&65535)==16384?123:P[a+300>>1]==16384?124:125;c=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:c;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=c;Ga:{if((b|0)!=16384){break Ga}Ha:{if((f|0)==16384){f=130;c=129;break Ha}if(P[a+304>>1]!=16384){break Ga}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 133:b=N[e>>2];c=b&255;if((c|0)==255){L[a+341|0]=1;break q}if(!c){L[a+341|0]=0;break q}if(!(!(b&256)|c>>>0>1])){L[a+341|0]=1}if(!(!(b&512)|!O[a+285|0])){L[a+341|0]=1}if(!(!(b&1024)|!O[a+286|0])){L[a+341|0]=1}if(!(!(b&2048)|c>>>0>=P[a+256>>1])){L[a+341|0]=0}if(!(!(b&4096)|!O[a+285|0])){L[a+341|0]=0}if(!(b&8192)|!O[a+286|0]){break q}L[a+341|0]=0;break q;case 131:case 132:Od(a);break q;case 130:if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break q}}Ia:{d=P[e+4>>1];c=P[a+152>>1];if(d>>>0>=c>>>0){break Ia}b=P[e>>1];if(c>>>0<=b>>>0){break Ia}if(b>>>0>d>>>0){break q}c=b;while(1){b=N[a+168>>2]+b|0;L[b|0]=O[b|0]&254;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break q}if(!O[a+593|0]){break q}d=134;break i;case 129:if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break q}}Ja:{d=P[e+4>>1];c=P[a+152>>1];if(d>>>0>=c>>>0){break Ja}b=P[e>>1];if(c>>>0<=b>>>0){break Ja}if(b>>>0>d>>>0){break q}c=b;while(1){b=N[a+168>>2]+b|0;L[b|0]=O[b|0]|1;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break q}if(!O[a+593|0]){break q}d=134;break i;case 128:Ka:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Ka}}f=N[a+308>>2];if((f|0)<=N[a+16>>2]){if((f|0)<=0){break Ka}while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];La:{if(b>>>0>=P[a+152>>1]){b=f;if(!O[a+593|0]){break La}d=134;break i}b=b+N[a+168>>2]|0;L[b|0]=O[b|0]^1;b=N[a+308>>2]}f=b-1|0;N[a+308>>2]=f;if((b|0)>1){continue}break}c=N[a+28>>2];break Ka}if(!O[a+593|0]){break Ka}N[a+12>>2]=129}N[a+32>>2]=c;N[a+308>>2]=1;break q;case 125:N[a+600>>2]=135;N[a+316>>2]=3;break q;case 124:N[a+600>>2]=136;N[a+316>>2]=4;break q;case 123:Od(a);break q;case 122:N[a+600>>2]=137;N[a+316>>2]=5;break q;case 121:if(N[e+4>>2]){break q}b=132;d=c;c=N[e>>2];Ma:{if(!(d|c)){break Ma}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break Ma}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break Ma}L[a+384|0]=0;if(N[e>>2]>=0){break q}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break q}}N[a+12>>2]=b;break p;case 120:if(!N[e+4>>2]){break q}b=132;d=c;c=N[e>>2];Na:{if(!(d|c)){break Na}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break Na}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break Na}L[a+384|0]=0;if(N[e>>2]>=0){break q}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break q}}N[a+12>>2]=b;break p;case 119:d=N[e>>2];c=d>>>4|0;b=N[(c&12)+28568>>2];Oa:{Pa:{Qa:{Ra:{c=c&3;switch(c-1|0){case 2:break Pa;case 1:break Qa;case 0:break Ra;default:break Oa}}c=b>>>10|0;break Oa}c=b>>>9|0;break Oa}c=T(b,3)>>>10|0}N[a+512>>2]=c;N[a+600>>2]=138;N[a+316>>2]=7;c=d&15;if(c){c=(T(b,c-4|0)|0)/8|0}else{c=b-1|0}N[a+516>>2]=c>>8;N[a+508>>2]=b>>>8;break q;case 118:d=N[e>>2];c=d>>>4|0;b=N[(c&12)+28552>>2];Sa:{Ta:{Ua:{Va:{c=c&3;switch(c-1|0){case 2:break Ta;case 1:break Ua;case 0:break Va;default:break Sa}}c=b>>>10|0;break Sa}c=b>>>9|0;break Sa}c=T(b,3)>>>10|0}N[a+512>>2]=c;N[a+600>>2]=139;N[a+316>>2]=6;N[a+508>>2]=b>>>8;c=d&15;N[a+516>>2]=(c?T(b,c-4|0)>>3:b-1|0)>>8;break q;case 115:case 116:case 117:d=Qa[N[a+624>>2]](a)|0;c=1;f=N[e>>2];Wa:{if(!f){break Wa}while(1){b=N[a+28>>2];if((b|0)<=1){if(O[a+593|0]){N[a+12>>2]=129}N[a+28>>2]=0;break Wa}g=b-2|0;N[a+28>>2]=g;e=b<<2;b=N[a+24>>2];e=N[(e+b|0)-4>>2];Xa:{if(e>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break Xa}d=134;break i}g=N[b+(g<<2)>>2];b=g>>>4&15;Ya:{Za:{switch(O[a+376|0]-116|0){case 0:b=b|16;break Ya;case 1:break Za;default:break Ya}}b=b|32}if((d|0)!=(P[a+336>>1]+b|0)){break Xa}b=g&15;Qa[N[a+636>>2]](a,e,(b>>>0>7?-7:-8)+b<<6-P[a+338>>1])}c=c+1|0;if(f>>>0>=c>>>0){continue}break}}N[a+32>>2]=N[a+28>>2];break q;case 113:case 114:jn(a,e);break q;case 112:b=N[e>>2];if(b>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break q}d=134;break i}W=N[a+392>>2]+(b<<2)|0,_=ob(N[e+4>>2],N[a+264>>2]),N[W>>2]=_;break q;case 108:case 109:case 110:case 111:b=N[(((i&3)<<2)+a|0)+268>>2];c=N[e>>2];if((c|0)>=0){b=b+c|0;N[e>>2]=(b|0)>0?b:0;break q}b=c-b|0;N[e>>2]=b>>31&b;break q;case 104:case 105:case 106:case 107:W=e,_=Qa[N[a+600>>2]](a,N[e>>2],i&3)|0,N[W>>2]=_;break q;case 103:N[e>>2]=N[e>>2]+63&-64;break q;case 102:N[e>>2]=N[e>>2]&-64;break q;case 101:N[e>>2]=0-N[e>>2];break q;case 100:b=N[e>>2];if((b|0)>=0){break q}N[e>>2]=0-b;break q;case 99:W=e,_=jb(N[e>>2],N[e+4>>2],64),N[W>>2]=_;break q;case 98:b=N[e+4>>2];if(!b){d=133;break i}W=e,_=di(N[e>>2],64,b),N[W>>2]=_;break q;case 97:N[e>>2]=N[e>>2]-N[e+4>>2];break q;case 96:N[e>>2]=N[e+4>>2]+N[e>>2];break q;case 95:b=N[e>>2];if(b>>>0>6){d=132;break i}M[a+338>>1]=b;break q;case 94:M[a+336>>1]=N[e>>2];break q;case 93:jn(a,e);break q;case 92:N[e>>2]=!N[e>>2];break q;case 91:N[e>>2]=N[e>>2]?1:N[e+4>>2]!=0;break q;case 90:if(!N[e>>2]){N[e>>2]=0;break q}N[e>>2]=N[e+4>>2]!=0;break q;case 88:if(N[e>>2]){break q}c=N[a+368>>2];g=N[a+372>>2];d=1;_a:while(1){c=c+f|0;N[a+368>>2]=c;$a:{if((d|0)==1){if((c|0)>=(g|0)){d=131;break i}b=O[c+h|0];L[a+376|0]=b;f=L[b+26496|0];N[a+380>>2]=f;if((b&254)==64){e=c+1|0;if((e|0)>=(g|0)){d=131;break i}f=2-T(O[e+h|0],f)|0;N[a+380>>2]=f}if((g|0)<(c+f|0)){d=131;break i}ab:{switch(b-88|0){case 1:break q;case 0:break $a;default:break ab}}d=1;if((b|0)!=27){continue}break q}if((c|0)>=(g|0)){d=131;break i}bb:{while(1){e=O[c+h|0];L[a+376|0]=e;f=L[e+26496|0];N[a+380>>2]=f;if((e&254)==64){b=c+1|0;if((b|0)>=(g|0)){d=131;break i}f=2-T(O[b+h|0],f)|0;N[a+380>>2]=f}b=c+f|0;if((b|0)>(g|0)){d=131;break i}if((e|0)!=27){switch(e-88|0){case 0:break $a;case 1:break bb;default:continue _a}}N[a+368>>2]=b;c=b;if((b|0)<(g|0)){continue}break}d=131;break i}d=d-1|0;continue}d=d+1|0;continue};case 87:W=e,_=!(Qa[N[a+600>>2]](a,N[e>>2],3)&127),N[W>>2]=_;break q;case 86:W=e,_=(Qa[N[a+600>>2]](a,N[e>>2],3)&127)==64,N[W>>2]=_;break q;case 85:N[e>>2]=N[e>>2]!=N[e+4>>2];break q;case 84:N[e>>2]=N[e>>2]==N[e+4>>2];break q;case 83:N[e>>2]=N[e>>2]>=N[e+4>>2];break q;case 82:N[e>>2]=N[e>>2]>N[e+4>>2];break q;case 81:N[e>>2]=N[e>>2]<=N[e+4>>2];break q;case 80:N[e>>2]=N[e>>2]>2];break q;case 78:L[a+320|0]=0;break q;case 77:L[a+320|0]=1;break q;case 76:if(N[N[N[a>>2]+96>>2]+64>>2]==35){W=e,_=Qa[N[a+624>>2]](a)|0,N[W>>2]=_;break q}N[e>>2]=N[a+216>>2];break q;case 75:W=e,_=Qa[N[a+624>>2]](a)|0,N[W>>2]=_;break q;case 73:case 74:cb:{db:{b=P[e>>1];if(b>>>0>1]){c=P[e+4>>1];if(c>>>0>1]){break db}}b=0;if(!O[a+593|0]){break cb}N[a+12>>2]=134;N[e>>2]=0;break q}if(i&1){b=N[a+52>>2]+(b<<3)|0;c=N[a+88>>2]+(c<<3)|0;W=e,_=Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0,N[W>>2]=_;break q}if(!(P[a+350>>1]?P[a+348>>1]:0)){b=N[a+48>>2]+(b<<3)|0;c=N[a+84>>2]+(c<<3)|0;W=e,_=Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0,N[W>>2]=_;break q}b=N[a+56>>2]+(b<<3)|0;c=N[a+92>>2]+(c<<3)|0;d=N[b+4>>2]-N[c+4>>2]|0;f=N[a+224>>2];g=N[a+228>>2];if((f|0)==(g|0)){W=e,_=ob(Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,d)|0,N[a+224>>2]),N[W>>2]=_;break q}b=(_=a,Z=ob(N[b>>2]-N[c>>2]|0,f),Y=ob(d,g),W=N[a+608>>2],Qa[W](_|0,Z|0,Y|0)|0)}N[e>>2]=b;break q;case 72:b=P[e>>1];if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break q}d=134;break i}c=b<<3;d=c+N[a+124>>2]|0;d=Qa[N[a+604>>2]](a,N[d>>2],N[d+4>>2])|0;Qa[N[a+616>>2]](a,p,b,N[e+4>>2]-d|0);if(P[a+352>>1]){break q}b=c+N[a+120>>2]|0;c=c+N[a+124>>2]|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;break q;case 70:case 71:b=N[e>>2];eb:{if(b>>>0>=P[a+116>>1]){b=0;if(!O[a+593|0]){break eb}N[a+12>>2]=134;N[e>>2]=0;break q}if(i&1){b=N[a+120>>2]+(b<<3)|0;W=e,Y=Qa[N[a+608>>2]](a,N[b>>2],N[b+4>>2])|0,N[W>>2]=Y;break q}b=N[a+124>>2]+(b<<3)|0;b=Qa[N[a+604>>2]](a,N[b>>2],N[b+4>>2])|0}N[e>>2]=b;break q;case 69:b=N[e>>2];fb:{if(b>>>0>=Q[a+388>>2]){b=0;if(!O[a+593|0]){break fb}d=134;break i}b=Qa[N[a+628>>2]](a,b)|0}N[e>>2]=b;break q;case 68:b=N[e>>2];if(b>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break q}d=134;break i}Qa[N[a+632>>2]](a,b,N[e+4>>2]);break q;case 67:b=N[e>>2];gb:{if(b>>>0>=P[a+488>>1]){b=0;if(!O[a+593|0]){break gb}d=134;break i}b=N[N[a+492>>2]+(b<<2)>>2]}N[e>>2]=b;break q;case 66:f=N[e>>2];c=P[a+488>>1];if(f>>>0>=c>>>0){if(!O[a+593|0]){break q}d=134;break i}hb:{b=N[a+492>>2];if(!(N[a+356>>2]!=3|(b|0)!=N[a+504>>2])){d=P[a+496>>1];ib:{if(c>>>0<=d>>>0){g=d<<2;s=N[a+500>>2];break ib}g=c<<2;s=lb(N[a+8>>2],1,d<<2,g,N[a+500>>2],j+12|0);N[a+500>>2]=s;b=N[j+12>>2];if(b){break hb}b=N[a+492>>2];d=c}M[a+496>>1]=d;N[a+12>>2]=0;F(s,b,g);b=N[a+500>>2];N[a+492>>2]=b}N[(f<<2)+b>>2]=N[e+4>>2];break q}M[a+496>>1]=d;N[a+12>>2]=b;break p;case 65:d=130;f=(b-N[a+16>>2]|0)+1|0;b=N[a+368>>2];c=O[(b+h|0)+1|0];if(f>>>0<=c>>>0){break i}N[a+368>>2]=b+2;if(c){b=0;if((c|0)!=1){d=c&254;while(1){f=N[a+368>>2];N[a+368>>2]=f+2;g=b<<2;f=f+h|0;f=O[f|0]|O[f+1|0]<<8;N[g+e>>2]=(f<<8|f>>>8)<<16>>16;f=N[a+368>>2];N[a+368>>2]=f+2;f=f+h|0;f=O[f|0]|O[f+1|0]<<8;N[e+(g|4)>>2]=(f<<8|f>>>8)<<16>>16;b=b+2|0;if((d|0)!=(b|0)){continue}break}}if(c&1){d=N[a+368>>2];N[a+368>>2]=d+2;e=e+(b<<2)|0;b=d+h|0;b=O[b|0]|O[b+1|0]<<8;N[e>>2]=(b<<8|b>>>8)<<16>>16}g=N[a+32>>2]}L[a+384|0]=0;N[a+32>>2]=c+g;break q;case 64:d=130;f=O[(h+N[a+368>>2]|0)+1|0];if(f>>>0>=(b-N[a+16>>2]|0)+1>>>0){break i}if(f){b=1;if((f|0)!=1){d=f&254;c=0;while(1){g=e+(b<<2)|0;N[g-4>>2]=O[(h+(N[a+368>>2]+b|0)|0)+1|0];b=b+2|0;N[g>>2]=O[h+(b+N[a+368>>2]|0)|0];c=c+2|0;if((d|0)!=(c|0)){continue}break}}if(f&1){N[(e+(b<<2)|0)-4>>2]=O[(h+(N[a+368>>2]+b|0)|0)+1|0]}g=N[a+32>>2]}N[a+32>>2]=f+g;break q;case 62:case 63:jb:{kb:{c=P[e>>1];if(c>>>0>1]){b=N[e+4>>2];if(b>>>0>2]){break kb}}if(!O[a+593|0]){break jb}N[a+12>>2]=134;break jb}b=Qa[N[a+628>>2]](a,b)|0;if(!P[a+348>>1]){f=M[a+302>>1];d=f>>31;e=(d^f)-d|0;d=b>>31;i=(d^b)-d|0;h=i>>>16|0;k=T(e,h);g=k<<16|8192;l=c<<3;d=l+N[a+48>>2]|0;q=g;m=e;e=i&65535;g=g+T(m,e)|0;g=(k>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;N[d>>2]=(b^f)<0?0-g|0:g;f=M[a+304>>1];g=f>>31;i=(f^g)-g|0;h=T(i,h);g=h<<16|8192;k=g;g=g+T(e,i)|0;g=(h>>>16|0)+(k>>>0>g>>>0)<<18|g>>>14;N[d+4>>2]=(b^f)<0?0-g|0:g;g=N[d+4>>2];f=l+N[a+52>>2]|0;N[f>>2]=N[d>>2];N[f+4>>2]=g}d=N[a+52>>2]+(c<<3)|0;d=Qa[N[a+604>>2]](a,N[d>>2],N[d+4>>2])|0;if(L[a+376|0]&1){g=b-d|0;f=g>>31;b=Qa[N[a+600>>2]](a,N[a+324>>2]<((f^g)-f|0)?d:b,3)|0}Qa[N[a+616>>2]](a,o,c,b-d|0)}M[a+290>>1]=c;M[a+288>>1]=c;break q;case 61:N[a+600>>2]=140;N[a+316>>2]=2;break q;case 60:f=N[a+308>>2];lb:{if(!(P[a+288>>1]>1]&(f|0)<=N[a+16>>2])){if(!O[a+593|0]){break lb}N[a+12>>2]=134;break lb}if((f|0)<=0){break lb}while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];mb:{if(b>>>0>=P[a+80>>1]){b=f;if(!O[a+593|0]){break mb}d=134;break i}d=b;b=N[a+88>>2]+(b<<3)|0;c=N[a+52>>2]+(P[a+288>>1]<<3)|0;Y=a,Z=n,_=d,X=0-(Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0)|0,W=N[a+616>>2],Qa[W](Y|0,Z|0,_|0,X|0);b=N[a+308>>2]}f=b-1|0;N[a+308>>2]=f;if((b|0)>1){continue}break}c=N[a+28>>2]}N[a+32>>2]=c;N[a+308>>2]=1;break q;case 58:case 59:nb:{b=P[e>>1];if(b>>>0>1]){c=P[a+288>>1];if(c>>>0>1]){break nb}}if(!O[a+593|0]){break q}d=134;break i}if(!P[a+350>>1]){c=N[a+48>>2]+(c<<3)|0;g=N[c+4>>2];d=b<<3;f=d+N[a+84>>2]|0;N[f>>2]=N[c>>2];N[f+4>>2]=g;Qa[N[a+620>>2]](a,n,b,N[e+4>>2]);c=d+N[a+88>>2]|0;d=d+N[a+84>>2]|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;c=P[a+288>>1]}d=N[a+88>>2]+(b<<3)|0;c=N[a+52>>2]+(c<<3)|0;c=Qa[N[a+604>>2]](a,N[d>>2]-N[c>>2]|0,N[d+4>>2]-N[c+4>>2]|0)|0;Qa[N[a+616>>2]](a,n,b,N[e+4>>2]-c|0);M[a+292>>1]=b;M[a+290>>1]=P[a+288>>1];if(!(L[a+376|0]&1)){break q}M[a+288>>1]=b;break q;case 57:ob:{pb:{b=N[a+308>>2];qb:{if((b|0)>N[a+16>>2]){if(O[a+593|0]){break qb}break ob}c=1;c=!P[a+348>>1]|!P[a+350>>1]?c:!P[a+352>>1];g=P[a+290>>1];if(g>>>0>1]){break pb}if(!O[a+593|0]){break ob}}N[a+12>>2]=134;break ob}e=N[(c?48:56)+a>>2];f=g<<3;d=e+f|0;k=N[a+52>>2];i=k+f|0;r=0;f=0;h=P[a+292>>1];if(h>>>0>1]){rb:{if(c){b=N[a+84>>2]+(h<<3)|0;f=Qa[N[a+608>>2]](a,N[b>>2]-N[d>>2]|0,N[b+4>>2]-N[(e+(g<<3)|0)+4>>2]|0)|0;break rb}b=N[(e+(g<<3)|0)+4>>2];f=N[a+224>>2];l=N[a+228>>2];if((f|0)==(l|0)){f=N[a+92>>2]+(h<<3)|0;f=Qa[N[a+608>>2]](a,N[f>>2]-N[d>>2]|0,N[f+4>>2]-b|0)|0;break rb}h=N[a+92>>2]+(h<<3)|0;f=(X=a,_=ob(N[h>>2]-N[d>>2]|0,f),Z=ob(N[h+4>>2]-b|0,l),W=N[a+608>>2],Qa[W](X|0,_|0,Z|0)|0)}b=N[a+88>>2]+(P[a+292>>1]<<3)|0;r=Qa[N[a+604>>2]](a,N[b>>2]-N[i>>2]|0,N[b+4>>2]-N[(k+(g<<3)|0)+4>>2]|0)|0;b=N[a+308>>2]}if((b|0)<=0){break ob}h=g<<3;g=h+k|0;e=e+h|0;if(c){while(1){c=N[a+28>>2]-1|0;N[a+28>>2]=c;c=N[N[a+24>>2]+(c<<2)>>2];sb:{if(c>>>0>=P[a+116>>1]){if(!O[a+593|0]){break sb}d=134;break i}h=c<<3;b=h+N[a+120>>2]|0;b=Qa[N[a+608>>2]](a,N[b>>2]-N[d>>2]|0,N[b+4>>2]-N[e+4>>2]|0)|0;h=h+N[a+124>>2]|0;h=Qa[N[a+604>>2]](a,N[h>>2]-N[i>>2]|0,N[h+4>>2]-N[g+4>>2]|0)|0;k=a;c=c&65535;if(!(!b|!f)){b=jb(b,r,f)}Qa[N[a+616>>2]](k,p,c,b-h|0);b=N[a+308>>2]}c=b;b=c-1|0;N[a+308>>2]=b;if((c|0)>1){continue}break ob}}while(1){c=N[a+28>>2]-1|0;N[a+28>>2]=c;c=N[N[a+24>>2]+(c<<2)>>2];tb:{if(c>>>0>=P[a+116>>1]){if(!O[a+593|0]){break tb}d=134;break i}b=N[e+4>>2];h=N[a+224>>2];k=N[a+228>>2];ub:{if((h|0)==(k|0)){h=N[a+128>>2]+(c<<3)|0;b=Qa[N[a+608>>2]](a,N[h>>2]-N[d>>2]|0,N[h+4>>2]-b|0)|0;break ub}l=N[a+128>>2]+(c<<3)|0;b=(Z=a,_=ob(N[l>>2]-N[d>>2]|0,h),X=ob(N[l+4>>2]-b|0,k),W=N[a+608>>2],Qa[W](Z|0,_|0,X|0)|0)}h=N[a+124>>2]+(c<<3)|0;h=Qa[N[a+604>>2]](a,N[h>>2]-N[i>>2]|0,N[h+4>>2]-N[g+4>>2]|0)|0;k=a;c=c&65535;if(!(!b|!f)){b=jb(b,r,f)}Qa[N[a+616>>2]](k,p,c,b-h|0);b=N[a+308>>2]}c=b;b=c-1|0;N[a+308>>2]=b;if((c|0)>1){continue}break}}N[a+308>>2]=1;N[a+32>>2]=N[a+28>>2];break q;case 56:f=1;f=!P[a+348>>1]|!P[a+350>>1]?f:!P[a+352>>1];b=N[a+308>>2];vb:{if((b|0)>=N[a+16>>2]){if(!O[a+593|0]){break vb}N[a+12>>2]=134;break vb}if((b|0)<=0){break vb}c=M[a+304>>1];d=c>>31;b=N[e>>2];g=b>>31;e=(c^d)-d|0;g=(b^g)-g|0;i=g>>>16|0;h=T(e,i);d=h<<16|8192;k=d;g=g&65535;d=d+T(g,e)|0;d=(h>>>16|0)+(k>>>0>d>>>0)<<18|d>>>14;e=(b^c)<0?0-d|0:d;c=M[a+302>>1];d=c>>31;h=i;i=(c^d)-d|0;h=T(h,i);d=h<<16|8192;k=d;d=d+T(g,i)|0;d=(h>>>16|0)+(k>>>0>d>>>0)<<18|d>>>14;c=(b^c)<0?0-d|0:d;while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];wb:{if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break wb}d=134;break i}xb:{yb:{zb:{Ab:{if(N[N[N[a>>2]+96>>2]+64>>2]==40){if(O[a+643|0]){Bb:{if(f){break Bb}if(O[a+645|0]?O[a+644|0]:0){break wb}if(P[a+304>>1]?O[a+592|0]:0){break Bb}if(!(O[b+N[a+132>>2]|0]&16)){break wb}}if(P[a+302>>1]){d=b+N[a+132>>2]|0;L[d|0]=O[d|0]|8}if(!P[a+304>>1]){break wb}if(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40|(!O[a+644|0]|!O[a+645|0])){break yb}break xb}if(P[a+302>>1]){break Ab}break zb}if(!P[a+302>>1]){break zb}}d=N[a+124>>2]+(b<<3)|0;N[d>>2]=c+N[d>>2];d=b+N[a+132>>2]|0;L[d|0]=O[d|0]|8}if(!P[a+304>>1]){break wb}if(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40)){break yb}if(O[a+645|0]){break xb}}d=N[a+124>>2]+(b<<3)|0;N[d+4>>2]=e+N[d+4>>2]}b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|16}b=N[a+308>>2];N[a+308>>2]=b-1;if((b|0)>1){continue}break}c=N[a+28>>2]}N[a+32>>2]=c;N[a+308>>2]=1;break q;case 54:case 55:if(Q[e>>2]>=2){if(!O[a+593|0]){break q}N[a+12>>2]=134;break q}if(Wh(a,j+4|0,j,j+12|0,j+10|0)){break q}Cb:{Db:{switch(P[a+352>>1]){case 0:c=P[a+116>>1];break Cb;case 1:break Db;default:break q}}b=M[a+118>>1];if((b|0)<=0){break q}c=P[(N[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}if(!(c&65535)){break q}g=N[j>>2];e=N[j+4>>2];f=N[a+124>>2];if((f|0)==N[j+28>>2]){c=c&65535;b=0;d=P[j+10>>1];while(1){Eb:{if((b|0)==(d|0)){break Eb}if(!(!P[a+302>>1]|(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0))){i=f+(b<<3)|0;N[i>>2]=e+N[i>>2]}if(!P[a+304>>1]){break Eb}if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Eb}}i=f+(b<<3)|0;N[i+4>>2]=g+N[i+4>>2]}b=b+1|0;if((c|0)!=(b|0)){continue}break}break q}b=P[a+302>>1];if(!P[a+304>>1]){if(!b){break q}d=N[N[N[a>>2]+96>>2]+64>>2];b=0;g=c&65535;if((g|0)!=1){g=g&65534;while(1){if(!(O[a+643|0]?(d|0)==40:0)){i=b<<3;h=i+f|0;N[h>>2]=e+N[h>>2];i=f+(i|8)|0;N[i>>2]=e+N[i>>2]}b=b+2|0;if((g|0)!=(b|0)){continue}break}}if(!(c&1)|(O[a+643|0]?(d|0)==40:0)){break q}b=f+(b<<3)|0;N[b>>2]=e+N[b>>2];break q}d=N[N[N[a>>2]+96>>2]+64>>2];if(!b){if((d|0)!=40){d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if(!O[a+643|0]){d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if(!O[a+644|0]){d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if(O[a+645|0]){break q}d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if((d|0)==40){c=c&65535;d=O[a+643|0];b=0;while(1){Fb:{Gb:{if(!d){i=f+(b<<3)|0;N[i>>2]=e+N[i>>2];break Gb}if(!O[a+644|0]){break Gb}if(O[a+645|0]){break Fb}}i=f+(b<<3)|0;N[i+4>>2]=g+N[i+4>>2]}b=b+1|0;if((c|0)!=(b|0)){continue}break}break q}d=0;b=c&65535;if((b|0)!=1){i=b&65534;while(1){h=d<<3;b=h+f|0;N[b>>2]=e+N[b>>2];N[b+4>>2]=g+N[b+4>>2];b=f+(h|8)|0;N[b>>2]=e+N[b>>2];N[b+4>>2]=g+N[b+4>>2];d=d+2|0;if((i|0)!=(d|0)){continue}break}}if(!(c&1)){break q}b=f+(d<<3)|0;N[b>>2]=e+N[b>>2];N[b+4>>2]=g+N[b+4>>2];break q;case 52:case 53:b=N[e>>2];c=b<<16>>16;if(c>>>0>=(P[a+352>>1]?M[a+118>>1]:1)>>>0){if(!O[a+593|0]){break q}N[a+12>>2]=134;break q}if(Wh(a,j+4|0,j,j+12|0,j+10|0)){break q}b=(b<<16?(P[(N[a+136>>2]+(c<<1)|0)-2>>1]-P[a+140>>1]|0)+1|0:0)&65535;if(P[a+352>>1]){c=(P[N[a+136>>2]+(c<<1)>>1]-P[a+140>>1]|0)+1|0}else{c=P[a+116>>1]}c=c&65535;if(b>>>0>=c>>>0){break q}d=P[j+10>>1];f=N[j>>2];g=N[j+4>>2];e=N[j+28>>2];while(1){i=N[a+124>>2];Hb:{if((i|0)==(e|0)&(b|0)==(d|0)){break Hb}if(P[a+302>>1]){if(!(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0)){i=i+(b<<3)|0;N[i>>2]=g+N[i>>2]}i=N[a+132>>2]+b|0;L[i|0]=O[i|0]|8}if(!P[a+304>>1]){break Hb}Ib:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Ib}}i=N[a+124>>2]+(b<<3)|0;N[i+4>>2]=f+N[i+4>>2]}i=N[a+132>>2]+b|0;L[i|0]=O[i|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break};break q;case 50:case 51:Jb:{if(N[a+16>>2]>2]){if(!O[a+593|0]){break Jb}N[a+12>>2]=134;break Jb}if(Wh(a,j+4|0,j,j+12|0,j+10|0)){break q}if(N[a+308>>2]<=0){break Jb}c=N[j>>2];d=N[j+4>>2];while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];Kb:{if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break Kb}N[a+12>>2]=134;break q}if(P[a+302>>1]){if(!(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0)){f=N[a+124>>2]+(b<<3)|0;N[f>>2]=d+N[f>>2]}f=b+N[a+132>>2]|0;L[f|0]=O[f|0]|8}if(!P[a+304>>1]){break Kb}Lb:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Lb}}f=N[a+124>>2]+(b<<3)|0;N[f+4>>2]=c+N[f+4>>2]}b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|16}b=N[a+308>>2];N[a+308>>2]=b-1;if((b|0)>1){continue}break}}N[a+308>>2]=1;N[a+32>>2]=N[a+28>>2];break q;case 48:case 49:Mb:{if(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40){break Mb}if(O[a+645|0]?O[a+644|0]:0){break q}if(i&1){L[a+644|0]=1;break Mb}L[a+645|0]=1}if(!P[a+154>>1]){break q}s=N[a+156>>2];Nb:{if(i&1){u=N[a+164>>2];w=8;k=N[a+160>>2];break Nb}s=s+4|0;u=N[a+164>>2]+4|0;w=16;k=N[a+160>>2]+4|0}N[j+20>>2]=u;N[j+16>>2]=k;N[j+12>>2]=s;A=P[a+152>>1];N[j+24>>2]=A;v=0;f=0;while(1){l=f;b=P[N[a+172>>2]+(v<<1)>>1]-P[a+176>>1]|0;c=P[a+152>>1];t=b>>>0>>0?b:c-1|0;Ob:{if(t>>>0>>0){break Ob}G=N[a+168>>2];r=0;g=f;Pb:{while(1){Qb:{f=g+1|0;if(O[g+G|0]&w){d=g;c=d;Rb:{Sb:{b=f;H=t>>>0>>0;if(!H){while(1){e=c;q=d;d=b;Tb:{if(!(O[b+G|0]&w)){break Tb}b=e+1|0;c=d;if(q>>>0>>0|A>>>0<=c>>>0|e>>>0>=A>>>0){break Tb}h=N[(d<<3)+u>>2];i=N[(e<<3)+u>>2];Ub:{if((h|0)>=(i|0)){c=h;h=i;i=d;break Ub}c=i;i=e;e=d}m=i<<3;i=N[m+k>>2];B=N[s+m>>2];I=i-B|0;m=e<<3;e=N[m+k>>2];D=N[s+m>>2];J=e-D|0;Vb:{if(!((c|0)==(h|0)|(e|0)==(i|0))){S=c-h|0;U=i-e|0;K=0;i=0;while(1){c=b<<3;V=c+k|0;c=N[c+s>>2];Wb:{if((c|0)<=(D|0)){m=c+J|0;break Wb}m=c+I|0;if((c|0)>=(B|0)){break Wb}if(!K){i=fb(U,S)}K=1;E=N[(b<<3)+u>>2]-h|0;m=E>>31;m=(m^E)-m|0;c=i>>31;c=(c^i)-c|0;Xb:{if(m+(c>>>8|0)>>>0<=8190){m=T(c,m)+32768>>>16|0;break Xb}z=m&65535;m=T(z,c>>>16|0)+T(c,m>>>16|0)+(T(c&65535,z)+32768>>>16)|0}c=m;z=0-c|0;c=E>>31|1;m=e+((((i|0)<0?0-c|0:c)|0)<0?z:m)|0}N[V>>2]=m;b=b+1|0;if(q>>>0>=b>>>0){continue}break}break Vb}while(1){i=b<<3;c=N[i+s>>2];N[i+k>>2]=(c|0)>(D|0)?(c|0)<(B|0)?e:c+I|0:c+J|0;b=b+1|0;if(q>>>0>=b>>>0){continue}break}}c=d}b=d+1|0;if(t>>>0>=b>>>0){continue}break}if((c|0)!=(g|0)){break Sb}}c=g<<3;d=N[c+k>>2];c=N[c+s>>2];if((d|0)==(c|0)){break Pb}e=d-c|0;if(g>>>0<=l>>>0){break Qb}d=0;c=r&3;if(c){while(1){i=k+(l<<3)|0;N[i>>2]=e+N[i>>2];l=l+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}if(r-1>>>0>2){break Rb}break Qb}hn(j+12|0,c+1&65535,t,c,g);if(!g){break Pb}hn(j+12|0,l,g-1|0,c,g);break Pb}while(1){c=k+(l<<3)|0;N[c>>2]=e+N[c>>2];N[c+8>>2]=e+N[c+8>>2];N[c+16>>2]=e+N[c+16>>2];N[c+24>>2]=e+N[c+24>>2];l=l+4|0;if((l|0)!=(g|0)){continue}break}break Qb}r=r+1|0;g=f;if(t>>>0>=f>>>0){continue}break Ob}break}if(H){break Pb}while(1){c=k+(f<<3)|0;N[c>>2]=e+N[c>>2];f=f+1|0;if(t>>>0>=f>>>0){continue}break}}f=b}v=v+1|0;if((v|0)>1]){continue}break};break q;case 46:case 47:b=P[e>>1];if(b>>>0>=P[a+44>>1]){if(!O[a+593|0]){break q}d=134;break i}if(i&1){c=N[a+52>>2]+(b<<3)|0;c=Qa[N[a+604>>2]](a,N[c>>2],N[c+4>>2])|0;c=(Qa[N[a+600>>2]](a,c,3)|0)-c|0}else{c=0}Qa[N[a+616>>2]](a,o,b,c);M[a+290>>1]=b;M[a+288>>1]=b;break q;case 79:break i;case 45:break r}}c=N[a+448>>2];if((c|0)<=0){d=136;break i}b=c-1|0;N[a+448>>2]=b;b=N[a+456>>2]+(b<<4)|0;d=N[b+8>>2];N[b+8>>2]=d-1;L[a+384|0]=0;if((d|0)>=2){N[a+448>>2]=c;N[a+368>>2]=N[N[b+12>>2]+4>>2];break q}c=N[b>>2];if(c-4>>>0<4294967293){d=132;break i}d=(c-1<<3)+a|0;f=N[d+464>>2];if(!f){d=138;break i}d=N[d+468>>2];b=N[b+4>>2];if((d|0)<(b|0)){d=131;break i}N[a+372>>2]=d;N[a+364>>2]=f;N[a+368>>2]=b;N[a+360>>2]=c}b=N[a+12>>2]}if(b){d=128;if((b|0)!=128){break h}b=N[a+436>>2];if(!b){break i}c=N[a+428>>2];if((c|0)<=0){break i}c=T(c,24)+b|0;while(1){Yb:{if(!(!O[b+16|0]|O[a+376|0]!=O[b+12|0])){c=N[a+448>>2];if((c|0)>=N[a+452>>2]){d=134;break i}c=N[a+456>>2]+(c<<4)|0;N[c>>2]=N[a+360>>2];d=N[a+368>>2];N[c+12>>2]=b;N[c+8>>2]=1;N[c+4>>2]=d+1;d=N[b>>2];if(d-4>>>0<4294967293){d=132;break i}f=(d-1<<3)+a|0;g=N[f+464>>2];if(!g){d=138;break i}c=N[b+4>>2];f=N[f+468>>2];if((c|0)<=(f|0)){break Yb}d=131;break i}b=b+24|0;if(c>>>0>b>>>0){continue}break i}break}N[a+372>>2]=f;N[a+364>>2]=g;N[a+368>>2]=c;N[a+360>>2]=d;break m}N[a+16>>2]=N[a+32>>2];if(!O[a+384|0]){break n}f=N[a+380>>2]}N[a+368>>2]=N[a+368>>2]+f}R=R+1|0;if(R>>>0>1e6){d=139;break i}f=N[a+372>>2];c=N[a+368>>2]}if((c|0)>=(f|0)){b=0;d=131;if(N[a+448>>2]>0){break i}break h}if(!O[a+520|0]){continue}break}b=0;break h}N[a+12>>2]=d;b=d}N[a+392>>2]=N[a+404>>2];N[a+492>>2]=N[a+504>>2];La=j+48|0;return b|0}function qo(a,b,c,d,e){var 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,t=0,u=0,w=0,y=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,P=0,Q=0,R=0,U=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0;i=La-96|0;La=i;a:{if(b>>>0>=c>>>0){break a}D=N[a>>2];G=a+224|0;H=a+228|0;I=a+232|0;J=a+236|0;while(1){h=b;while(1){b:{b=h;h=h+1|0;f=O[b|0];if((b|0)==(c|0)){break b}if((f|0)!=92){continue}}break}if((f|0)!=92){break a}c:{if((c|0)==(h|0)){h=c;break c}while(1){b=O[h|0];if((b|0)!=32&(b|0)!=9){break c}h=h+1|0;continue}}b=(c+h|0)-h|0;f=h;d:{while(1){e:{f:{g=O[f|0];if(!((g|0)==40|(g|0)==92)){if((c|0)!=(f|0)){break f}f=b}if((f|0)!=(h|0)){break e}b=h;break d}f=f+1|0;continue}break}N[i+20>>2]=441572;N[i+28>>2]=441572;N[i+16>>2]=441572;N[i+36>>2]=441572;N[i+24>>2]=441572;N[i+44>>2]=441572;N[i+32>>2]=441572;N[i+52>>2]=441572;N[i+40>>2]=441572;N[i+60>>2]=441572;N[i+48>>2]=441572;N[i+68>>2]=441572;N[i+56>>2]=441572;N[i+76>>2]=441572;N[i+64>>2]=441572;N[i+72>>2]=441572;l=0;N[i+12>>2]=0;g=f;b=f;r=0;if(O[f|0]==40){g:{h:{while(1){i:{b=g+1|0;if((c|0)==(b|0)){b=c;break i}while(1){g=O[b|0];if((g|0)!=32&(g|0)!=9){break i}b=b+1|0;continue}}m=(b+c|0)-b|0;g=b;j:{k:{while(1){l:{m:{k=O[g|0];switch(k-41|0){case 0:break g;case 3:break k;case 1:case 2:break l;default:break m}}if((k|0)!=92){break l}m=g;break h}if((c|0)!=(g|0)){g=g+1|0;continue}break}if((k|0)!=44){break j}g=m}if(l>>>0>7){continue}k=g;n:{if(b>>>0>=g>>>0){break n}while(1){n=k-1|0;m=O[n|0];if((m|0)!=32&(m|0)!=9){break n}k=n;if(k>>>0>b>>>0){continue}break}k=b}if(b>>>0>=k>>>0){continue}n=(i+16|0)+(l<<3)|0;N[n+4>>2]=k;N[n>>2]=b;l=l+1|0;N[i+12>>2]=l;continue}break}g=m;if((k|0)!=92){break g}}while(1){r=1;g=m;if((g|0)==(c|0)){break g}m=g+1|0;if(O[g|0]!=41){continue}break}}o:{if(l>>>0>7){break o}m=g;p:{if(b>>>0>=g>>>0){break p}while(1){k=m-1|0;n=O[k|0];if((n|0)!=32&(n|0)!=9){break p}m=k;if(k>>>0>b>>>0){continue}break}m=b}if(b>>>0>=m>>>0){break o}k=(i+16|0)+(l<<3)|0;N[k+4>>2]=m;N[k>>2]=b;l=l+1|0;N[i+12>>2]=l}b=((c|0)!=(g|0))+g|0}m=h+5|0;q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{t=O[h|0];switch(t-120|0){case 1:break M;case 0:break N;default:break K}}w=0;g=O[h+1|0]-98|0;if(g){if((g|0)==17){break L}else{break z}}if(O[h+2|0]!=111|O[h+3|0]!=114|O[h+4|0]!=100){break z}O:{if((l|0)<=7){P:{if(f>>>0<=m>>>0){break P}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break P}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break O}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+200>>3]*(1-d)+d*j;S[a+200>>3]=j<0?0:j;break d}S[a+200>>3]=S[N[a+68>>2]+88>>3];break d}w=0;g=O[h+1|0]-98|0;if(g){if((g|0)==17){break J}else{break z}}if(O[h+2|0]!=111|O[h+3|0]!=114|O[h+4|0]!=100){break z}Q:{if((l|0)<=7){R:{if(f>>>0<=m>>>0){break R}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break R}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break Q}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+208>>3]*(1-d)+d*j;S[a+208>>3]=j<0?0:j;break d}S[a+208>>3]=S[N[a+68>>2]+88>>3];break d}if(O[h+2|0]!=104|O[h+3|0]!=97|O[h+4|0]!=100){break z}S:{if((l|0)<=7){T:{if(f>>>0<=m>>>0){break T}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break T}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break S}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);S[a+272>>3]=S[a+272>>3]*(1-d)+d*j;break d}S[a+272>>3]=S[N[a+68>>2]+96>>3];break d}n=h+3|0;switch(t-102|0){case 3:break H;case 0:break I;default:break F}}if(O[h+2|0]!=104|O[h+3|0]!=97|O[h+4|0]!=100){break z}U:{if((l|0)<=7){V:{if(f>>>0<=m>>>0){break V}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break V}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break U}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);S[a+280>>3]=S[a+280>>3]*(1-d)+d*j;break d}S[a+280>>3]=S[N[a+68>>2]+96>>3];break d}g=O[h+1|0];if((g|0)!=97){break G}if(O[h+2|0]==120){W:{if((l|0)<=7){X:{if(f>>>0<=n>>>0){break X}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break X}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break W}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+128>>3],S[W+128>>3]=X;break d}N[a+128>>2]=0;N[a+132>>2]=0;break d}if(O[h+2|0]!=121){break A}Y:{if((l|0)<=7){Z:{if(f>>>0<=n>>>0){break Z}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Z}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break Y}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+136>>3],S[W+136>>3]=X;break d}N[a+136>>2]=0;N[a+140>>2]=0;break d}w=1;if(O[h+1|0]!=99|O[h+2|0]!=108|(O[n|0]!=105|O[h+4|0]!=112)){break z}if((l|0)==4){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;h=i+88|0;r=Eb(f,h,10);k=Pa;g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,h,10);n=Pa;m=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=m;g=Eb(g,h,10);m=Pa;p=N[i+44>>2];l=N[i+40>>2];N[i+88>>2]=l;N[i+92>>2]=p;h=Eb(l,h,10);l=Pa;L[a+257|0]=1;j=1-d;p=(k|0)<0&r>>>0<=2147483648|(k|0)<-1;r=p?-2147483648:r;k=p?-1:k;o=+N[a+240>>2]*j+d*+(((k|0)>=0&r>>>0>=2147483647|(k|0)>0?2147483647:r)|0);_:{if(V(o)<2147483648){k=~~o;break _}k=-2147483648}N[a+240>>2]=k;k=m;m=(k|0)<0&g>>>0<=2147483648|(k|0)<-1;g=m?-2147483648:g;k=m?-1:k;o=+N[a+248>>2]*j+d*+(((k|0)>=0&g>>>0>=2147483647|(k|0)>0?2147483647:g)|0);$:{if(V(o)<2147483648){g=~~o;break $}g=-2147483648}N[a+248>>2]=g;g=n;k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;o=+N[a+244>>2]*j+d*+(((g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f)|0);aa:{if(V(o)<2147483648){f=~~o;break aa}f=-2147483648}N[a+244>>2]=f;g=h;f=l;h=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;j=+N[a+252>>2]*j+d*+(((f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g)|0);if(V(j)<2147483648){N[a+252>>2]=~~j;break d}N[a+252>>2]=-2147483648;break d}if(N[a+296>>2]){break d}if(!po(a,i+16|0,l)){break d}N[a+456>>2]=1;break d}k=h+2|0;ba:{switch(g-101|0){case 0:break t;case 9:break D;case 13:break E;case 14:break ba;default:break d}}g=h+4|0;if(!(O[k|0]!=99|O[n|0]!=120)){ca:{if((l|0)<=7){da:{if(f>>>0<=g>>>0){break da}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break da}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ca}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+176>>3]*(1-d)+d*(j/100);S[a+176>>3]=j<0?0:j;break d}S[a+176>>3]=S[N[a+68>>2]+48>>3];break d}if(!(O[h+2|0]!=99|O[n|0]!=121)){ea:{if((l|0)<=7){fa:{if(f>>>0<=g>>>0){break fa}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break fa}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ea}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+184>>3]*(1-d)+d*(j/100);S[a+184>>3]=j<0?0:j;break d}S[a+184>>3]=S[N[a+68>>2]+56>>3];break d}if(O[h+2|0]==99){ga:{if((l|0)>7){break ga}ha:{if(f>>>0<=n>>>0){break ha}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ha}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0<=n>>>0){break ga}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;N[i+12>>2]=l+1}f=N[a+68>>2];S[a+176>>3]=S[f+48>>3];S[a+184>>3]=S[f+56>>3];break d}if(O[h+2|0]==112){ia:{if((l|0)<=7){ja:{if(f>>>0<=n>>>0){break ja}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ja}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break ia}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);S[a+192>>3]=S[a+192>>3]*(1-d)+d*j;break d}S[a+192>>3]=S[N[a+68>>2]+64>>3];break d}ka:{la:{if((l|0)<=7){ma:{if(f>>>0<=k>>>0){break ma}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ma}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0>k>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}if(!l){break la}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);na:{oa:{switch(O[N[i+16>>2]]-43|0){case 0:case 2:j=(d*j/10+1)*S[a+80>>3];break na;default:break oa}}j=S[a+80>>3]*(1-d)+d*j}if(!(j<=0)){break ka}}j=S[N[a+68>>2]+8>>3]}S[a+80>>3]=j;break d}p=h+4|0;C=(t|0)==98;if(C){break s}k=h+1|0;g=h+2|0;w=0;s=0;pa:{switch(t-97|0){case 12:break pa;case 15:break B;case 0:break C;default:break q}}if(O[k|0]!=111|O[g|0]!=118|O[n|0]!=101){break r}if((l&-3)!=4){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;q=pb(f,i+88|0);g=N[i+36>>2];f=N[i+32>>2];N[i+88>>2]=f;N[i+92>>2]=g;u=pb(f,i+88|0);g=N[i+44>>2];f=N[i+40>>2];N[i+88>>2]=f;N[i+92>>2]=g;y=pb(f,i+88|0);f=0;h=0;if((l|0)==6){g=N[i+52>>2];f=N[i+48>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;g=Eb(f,k,10);h=N[i+60>>2];f=N[i+56>>2];N[i+88>>2]=f;N[i+92>>2]=h;h=Pa;n=(h|0)<0&g>>>0<=2147483648|(h|0)<-1;g=n?-2147483648:g;h=n?-1:h;g=(h|0)>=0&g>>>0>=2147483647|(h|0)>0?2147483647:g;f=Eb(f,k,10);h=Pa;k=(h|0)<0&f>>>0<=2147483648|(h|0)<-1;f=k?-2147483648:f;h=k?-1:h;f=(h|0)>=0&f>>>0>=2147483647|(h|0)>0?2147483647:f;h=(f|0)>(g|0)?g:f;f=(f|0)<(g|0)?g:f}g=N[a+64>>2];if(!((h|0)>0|(f|0)>0)){h=0;f=N[g+8>>2]}g=N[D+176>>2]-N[g>>2]|0;j=0;qa:{if((g|0)<=(h|0)){break qa}j=1;if((f|0)<=(g|0)){break qa}j=+(g-h|0)/+(f-h|0)}f=N[a+216>>2];if(f&1){break d}L[a+258|0]=0;N[a+216>>2]=f|1;S[a+152>>3]=j*(y-q)+q;S[a+144>>3]=j*(u-o)+o;break d}if(O[k|0]==120){rc(i+16|0,i+12|0,n,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+104>>3],S[W+104>>3]=X;break d}N[a+104>>2]=0;N[a+108>>2]=0;break d}if(O[k|0]==121){rc(i+16|0,i+12|0,n,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+112>>3],S[W+112>>3]=X;break d}N[a+112>>2]=0;N[a+116>>2]=0;break d}ra:{if((l|0)<=7){g=O[k|0]==122?n:k;sa:{if(g>>>0>=f>>>0){break sa}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break sa}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ra}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+120>>3],S[W+120>>3]=X;break d}S[a+120>>3]=S[N[a+68>>2]+72>>3];break d}rc(i+16|0,i+12|0,k,f);ta:{ua:{if(!N[i+12>>2]){break ua}h=N[i+16>>2];f=N[i+20>>2];if(!bb(h,22017,f-h|0)){break ua}while(1){g=O[h|0];if(!((g|0)!=32&(g|0)!=9)){h=h+1|0;continue}break}N[a+496>>2]=h;f=f-h|0;break ta}f=N[N[a+68>>2]+4>>2];N[a+496>>2]=f;f=nb(f)}N[a+500>>2]=f;sg(a);break d}va:{wa:{switch(O[k|0]-108|0){case 0:if(O[g|0]!=112|O[n|0]!=104|O[p|0]!=97){break va}rc(i+16|0,i+12|0,m,f);if(N[i+12>>2]){f=N[i+16>>2];g=La-16|0;La=g;while(1){h=O[f|0];if(!((h|0)!=72&(h|0)!=38)){f=f+1|0;continue}break}N[g+12>>2]=f;f=Eb(f,g+12|0,16);La=g+16|0;g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;rg(G,f,d);rg(H,f,d);rg(I,f,d);rg(J,f,d);break d}f=N[a+68>>2];g=O[f+16|0];h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+224|0]=Y;g=O[f+20|0];h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+228|0]=Y;g=O[f+24|0];h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+232|0]=Y;f=O[f+28|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+236|0]=Y;break d;case 2:break wa;default:break va}}xa:{if((l|0)>7){break xa}ya:{if(f>>>0<=g>>>0){break ya}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ya}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0<=g>>>0){break xa}h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;N[i+12>>2]=l+1}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;k=N[a+88>>2];if(k&2){break d}h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;g=f-1|0;za:{if(g>>>0<=8){h=(((g&255)>>>0)%3|0)+1|0;g=h;if(f>>>0<4){break za}g=h|8;if(f>>>0<=6){break za}g=h|4;break za}g=N[N[a+68>>2]+104>>2]}N[a+96>>2]=g;N[a+88>>2]=k|2;break d}Aa:{if((l|0)>7){break Aa}Ba:{if(f>>>0<=k>>>0){break Ba}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ba}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break Aa}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;N[i+12>>2]=l+1}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=N[a+88>>2];if(h&2){break d}k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;Ca:{if(f-1>>>0<=10){f=f&3?f:5;break Ca}f=N[N[a+68>>2]+104>>2]}N[a+96>>2]=f;N[a+88>>2]=h|2;break d}m=O[k|0];if((m|0)!=111){break v}if(O[g|0]!=115){break u}if((l|0)!=2){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);f=N[a+216>>2];if(f&1){mb(N[D>>2],6,14604,0);break d}L[a+258|0]=0;S[a+152>>3]=o;S[a+144>>3]=j;N[a+216>>2]=f|1;break d}if(O[h+2|0]!=100){break d}switch(l-2|0){case 5:break x;case 0:break y;default:break d}}k=h+1|0;g=h+2|0;p=h+4|0;s=0;break q}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;g=Eb(f,k,10);h=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=h;h=Pa;n=(h|0)<0&g>>>0<=2147483648|(h|0)<-1;g=n?-2147483648:g;h=n?-1:h;r=(h|0)>=0&g>>>0>=2147483647|(h|0)>0?2147483647:g;f=Eb(f,k,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;n=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;k=0;m=255;h=-1;l=255;f=-1;break w}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;n=i+88|0;C=n;l=Eb(f,n,10);g=Pa;h=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=h;t=Eb(f,n,10);h=Pa;k=N[i+36>>2];f=N[i+32>>2];N[i+88>>2]=f;N[i+92>>2]=k;w=Eb(f,n,10);m=Pa;k=N[i+44>>2];f=N[i+40>>2];N[i+88>>2]=f;N[i+92>>2]=k;K=Eb(f,n,10);p=Pa;k=N[i+52>>2];f=N[i+48>>2];N[i+88>>2]=f;N[i+92>>2]=k;n=Eb(f,i+88|0,10);f=Pa;r=N[i+60>>2];k=N[i+56>>2];N[i+88>>2]=k;N[i+92>>2]=r;M=Eb(k,C,10);r=N[i+68>>2];k=N[i+64>>2];s=k;N[i+88>>2]=k;N[i+92>>2]=r;k=n;n=(f|0)<0&n>>>0<=2147483648|(f|0)<-1;k=n?-2147483648:k;f=n?-1:f;r=(f|0)>=0&k>>>0>=2147483647|(f|0)>0?2147483647:k;f=Pa;n=(f|0)<0&M>>>0<=2147483648|(f|0)<-1;k=n?-2147483648:M;f=n?-1:f;n=(f|0)>=0&k>>>0>=2147483647|(f|0)>0?2147483647:k;f=g;k=(f|0)<0&l>>>0<=2147483648|(f|0)<-1;g=k?-2147483648:l;f=k?-1:f;l=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=h;h=(f|0)<0&t>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:t;f=h?-1:f;k=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=m;h=(f|0)<0&w>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:w;f=h?-1:f;m=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=p;h=(f|0)<0&K>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:K;f=h?-1:f;h=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=Eb(s,C,10);g=Pa;p=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=p?-2147483648:f;g=p?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f}g=n;if((h&f)==-1){h=0;f=N[N[a+64>>2]+8>>2];g=f-g|0}n=N[a+88>>2];if(n&1){break d}p=N[D+176>>2];C=N[D+180>>2];t=N[a+64>>2];s=N[t>>2];t=N[t+4>>2];N[a+88>>2]=n|1;n=p-s|0;p=C-((p>>>0>>0)+t|0)|0;s=h>>31;if(h>>>0<=n>>>0&(p|0)>=(s|0)|(p|0)>(s|0)){Da:{Ea:{s=r>>31;if(n>>>0>>0&(s|0)>=(p|0)|(p|0)<(s|0)){j=+(n-h|0)/+(r-h|0);j=+(l|0)*(1-j)+j*+(k|0);if(!(V(j)<2147483648)){break Ea}h=~~j;break Da}l=g>>31;h=k;if(g>>>0>n>>>0&(l|0)>=(p|0)|(l|0)>(p|0)){break Da}l=f>>31;h=m;if((l|0)<=(p|0)&f>>>0<=n>>>0|(l|0)<(p|0)){break Da}j=+(n-g|0)/+(f-g|0);j=+(k|0)*(1-j)+j*+(m|0);if(!(V(j)<2147483648)){break Ea}h=~~j;break Da}h=-2147483648}}else{h=l}N[a+260>>2]=h;break d}if((m|0)!=98|O[h+2|0]!=111){break u}rc(i+16|0,i+12|0,n,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0),S[W+288>>3]=X;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;N[a+448>>2]=(f|0)>0?f:0;break d}rc(i+16|0,i+12|0,k,f);Fa:{if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;break Fa}f=N[N[a+68>>2]+120>>2]}N[a+520>>2]=f;break d}Ga:{Ha:{switch(O[h+1|0]-108|0){case 0:if(O[h+2|0]!=117|O[n|0]!=114){break Ga}Ia:{if((l|0)<=7){Ja:{if(f>>>0<=p>>>0){break Ja}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ja}f=g;if(p>>>0>>0){continue}break}f=p}if(f>>>0>p>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=p;l=l+1|0;N[i+12>>2]=l}if(!l){break Ia}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+264>>3]*(1-d)+d*j;j=j<0?0:j;S[a+264>>3]=j>100?100:j;break d}N[a+264>>2]=0;N[a+268>>2]=0;break d;case 3:break Ha;default:break Ga}}if(O[h+2|0]!=114|O[n|0]!=100){break Ga}Ka:{La:{if((l|0)<=7){Ma:{if(f>>>0<=p>>>0){break Ma}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ma}f=g;if(p>>>0>>0){continue}break}f=p}if(f>>>0>p>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=p;l=l+1|0;N[i+12>>2]=l}if(!l){break La}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=d*pb(f,i+88|0);q=1-d;j=S[a+208>>3]*q+o;j=j<0?0:j;o=S[a+200>>3]*q+o;o=o<0?0:o;break Ka}j=S[N[a+68>>2]+88>>3];o=j}S[a+208>>3]=j;S[a+200>>3]=o;break d}g=h+2|0}k=h+1|0;w=0;s=C}Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{switch(t-49|0){case 62:r=O[k|0];if((r|0)!=114){break Ta}r=114;if(O[h+2|0]!=103){break Ta}if((l|0)!=2){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);if(O[a+256|0]){break d}L[a+258|0]=0;L[a+256|0]=1;S[a+168>>3]=o;S[a+160>>3]=j;break d;case 67:o=1;$a:{ab:{bb:{cb:{switch(l-2|0){case 1:g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;A(+j);g=v(1)|0;k=v(0)|0;if(V(j)<2147483648){h=~~j}else{h=-2147483648}g=g&2147483647;g=j<=-2147483648?-2147483648:(g|0)==2146435072&(k|0)!=0|g>>>0>2146435072?-2147483648:h;h=j>=2147483648;q=pb(f,i+88|0);k=q>=2147483648;if(V(q)<2147483648){f=~~q}else{f=-2147483648}h=h?-2147483648:g;if(!(q<=-2147483648|k)){A(+q);g=v(1)|0;g=g&2147483647;j=1;if(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072){break bb}}L[a+258|0]=0;f=-2147483648;break $a;case 0:g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);default:h=0;L[a+258|0]=0;break ab;case 2:break cb}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;h=Eb(f,k,10);f=Pa;n=N[i+28>>2];g=N[i+24>>2];N[i+88>>2]=g;N[i+92>>2]=n;n=Eb(g,k,10);m=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=m;m=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;h=m?-2147483648:h;f=m?-1:f;h=(f|0)>=0&h>>>0>=2147483647|(f|0)>0?2147483647:h;f=Pa;m=(f|0)<0&n>>>0<=2147483648|(f|0)<-1;n=m?-2147483648:n;f=m?-1:f;f=(f|0)>=0&n>>>0>=2147483647|(f|0)>0?2147483647:n;j=pb(g,k)}o=j;L[a+258|0]=0;if(f){break $a}}f=N[N[a+64>>2]+8>>2]}j=0;g=N[D+176>>2]-N[N[a+64>>2]>>2]|0;db:{if((g|0)<(h|0)){break db}j=1;n=g;if((g|0)>=(f|0)){break db}if((f|0)==(h|0)){break Ra}g=0;s=La-16|0;La=s;A(+o);k=v(1)|0;p=v(0)|0;q=+(n-h|0)/+(f-h|0);A(+q);h=v(1)|0;n=v(0)|0;C=k>>>20|0;t=C&2047;w=t-1086|0;f=h>>>20|0;eb:{fb:{if(w>>>0>4294967167&f-2047>>>0>=4294965250){break fb}m=(k<<1|p>>>31)+2097152|0;if(!(p<<1)&(m|0)==2097152|m>>>0<2097152){if(!n&(h|0)==1072693248){break eb}f=p<<1;m=k<<1|p>>>31;if(!(f|m)){break eb}g=!f&(m|0)==-2097152|m>>>0<4292870144;f=n<<1;m=h<<1|n>>>31;if(!(g&(!f&(m|0)==-2097152|m>>>0<4292870144))){j=q+o;break eb}if(!f&(m|0)==2145386496){break eb}j=((k|0)>0|(k|0)>=0)^m>>>0>2145386495?0:o*o;break eb}m=(h<<1|n>>>31)+2097152|0;if(!(n<<1)&(m|0)==2097152|m>>>0<2097152){j=q*q;if((h|0)<0){j=(Qm(p,k)|0)==1?-j:j}if((k|0)>0|(k|0)>=0){break eb}f=La-16|0;S[f+8>>3]=1/j;j=S[f+8>>3];break eb}if((h|0)<0){g=Qm(p,k);if(!g){j=q-q;j=j/j;break eb}g=((g|0)==1)<<18;h=h&2147483647;f=f&2047}if(w>>>0<=4294967167){if(!n&(h|0)==1072693248){break eb}if(t>>>0<=957){j=((h|0)==1072693248&(n|0)!=0|h>>>0>1072693248?o:-o)+1;break eb}if((!n&(h|0)==1072693248|h>>>0<1072693248)!=(C>>>0<2048|0)){f=La-16|0;S[f+8>>3]=3105036184601418e216;j=S[f+8>>3]*3105036184601418e216;break eb}f=La-16|0;S[f+8>>3]=12882297539194267e-247;j=S[f+8>>3]*12882297539194267e-247;break eb}if(f){break fb}A(+(q*4503599627370496));f=v(1)|0;n=v(0)|0;h=(f&2147483647)-54525952|0}x(0,p&-134217728);x(1,k|0);P=+z();f=h-1072076117|0;y=+(f>>20);m=(f>>>13&127)<<5;U=y*S[399]+S[m+3280>>3];p=0;k=n-p|0;f=h-((f&-1048576)+(n>>>0

>>0)|0)|0;x(0,0);x(1,(k- -2147483648>>>0<2147483648?f+1|0:f)|0);j=+z();u=S[m+3256>>3];q=j*u+-1;x(0,k|0);x(1,f|0);Q=(+z()-j)*u;j=q+Q;E=S[400];u=j*E;R=y*S[398]+S[m+3272>>3];y=j+R;F=q;q=q*E;F=F*q;E=y+F;F=U+(j+(R-y))+Q*(u+q)+(F+(y-E));q=j*u;j=F+j*q*(q*(q*(j*S[406]+S[405])+(j*S[404]+S[403]))+(j*S[402]+S[401]));q=E+j;S[s+8>>3]=j+(E-q);A(+q);f=v(1)|0;x(0,v(0)&-134217728);x(1,f|0);u=+z();j=P*u;o=(o-P)*u+(S[s+8>>3]+(q-u))*o;A(+j);f=v(1)|0;v(0)|0;gb:{hb:{f=f>>>20&2047;if(f-969>>>0<63){break hb}if(f>>>0<969){j=j+1;j=g?-j:j;break gb}h=f>>>0<1033;f=0;if(h){break hb}A(+j);f=v(1)|0;v(0)|0;if((f|0)<0){f=La-16|0;S[f+8>>3]=g?-12882297539194267e-247:12882297539194267e-247;j=S[f+8>>3]*12882297539194267e-247;break gb}f=La-16|0;S[f+8>>3]=g?-3105036184601418e216:3105036184601418e216;j=S[f+8>>3]*3105036184601418e216;break gb}q=S[129];u=S[128]*j+q;q=u-q;j=q*S[131]+(q*S[130]+j)+o;o=j*j;q=o*o*(j*S[135]+S[134]);o=o*(j*S[133]+S[132]);A(+u);v(1)|0;k=v(0)|0;n=k<<4&2032;j=q+(o+(S[n+1136>>3]+j));n=n+1144|0;m=N[n>>2];n=N[n+4>>2];g=g+k|0;p=m;m=g<<13;h=0;g=p+h|0;m=n+m|0;m=g>>>0>>0?m+1|0:m;if(!f){ib:{if(!(k&-2147483648)){x(0,g|0);x(1,m-1058013184|0);o=+z();j=(o*j+o)*5486124068793689e288;break ib}f=m+1071644672|0;h=f;x(0,g|0);x(1,f|0);o=+z();u=o*j;j=u+o;if(V(j)<1){f=La-16|0;S[f+8>>3]=22250738585072014e-324;S[f+8>>3]=S[f+8>>3]*22250738585072014e-324;x(0,0);x(1,h&-2147483648);q=j<0?-1:1;y=j+q;j=y+(u+(o-j)+(j+(q-y)))-q;j=(X=+z(),Z=j,W=j==0,W?X:Z)}j=j*22250738585072014e-324}break gb}x(0,g|0);x(1,m|0);o=+z();j=o*j+o}}La=s+16|0}g=e&1;f=l-1|0;if(r^1|f>>>0>3){d=g?j:d;break d}e=(i+16|0)+(f<<3)|0;f=N[e>>2];e=N[e+4>>2];if(e>>>0>>0){if(g){break Qa}qo(a,f,e,j,1);e=0;break d}g=(b|0)==(c|0);e=1;b=f;d=j;if(g){break d}ba(16681,18210,718,11024);B();case 50:if(O[k|0]!=108|O[h+2|0]!=105){break Oa}g=k;if(O[h+3|0]!=112){break Na}if((l|0)==4){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;h=i+88|0;r=Eb(f,h,10);k=Pa;g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,h,10);n=Pa;m=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=m;g=Eb(g,h,10);m=Pa;p=N[i+44>>2];l=N[i+40>>2];N[i+88>>2]=l;N[i+92>>2]=p;h=Eb(l,h,10);l=Pa;L[a+257|0]=0;j=1-d;p=(k|0)<0&r>>>0<=2147483648|(k|0)<-1;r=p?-2147483648:r;k=p?-1:k;o=+N[a+240>>2]*j+d*+(((k|0)>=0&r>>>0>=2147483647|(k|0)>0?2147483647:r)|0);jb:{if(V(o)<2147483648){k=~~o;break jb}k=-2147483648}N[a+240>>2]=k;k=m;m=(k|0)<0&g>>>0<=2147483648|(k|0)<-1;g=m?-2147483648:g;k=m?-1:k;o=+N[a+248>>2]*j+d*+(((k|0)>=0&g>>>0>=2147483647|(k|0)>0?2147483647:g)|0);kb:{if(V(o)<2147483648){g=~~o;break kb}g=-2147483648}N[a+248>>2]=g;g=n;k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;o=+N[a+244>>2]*j+d*+(((g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f)|0);lb:{if(V(o)<2147483648){f=~~o;break lb}f=-2147483648}N[a+244>>2]=f;g=h;f=l;h=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;j=+N[a+252>>2]*j+d*+(((f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g)|0);if(V(j)<2147483648){N[a+252>>2]=~~j;break d}N[a+252>>2]=-2147483648;break d}if(N[a+296>>2]){break d}if(!po(a,i+16|0,l)){break d}N[a+456>>2]=0;break d;case 0:r=O[k|0];switch(r-97|0){case 2:break Na;case 0:break Za;default:break Ta};case 1:mb:{r=O[k|0];switch(r-97|0){case 0:break Ya;case 2:break mb;default:break Ta}}nb:{if((l|0)<=7){ob:{if(f>>>0<=g>>>0){break ob}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ob}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break nb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[H>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);pb:{if(V(j)<2147483648){m=~~j;break pb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);qb:{if(V(j)<2147483648){k=~~j;break qb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);rb:{if(V(j)<2147483648){h=~~j;break rb}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[H>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+228|0];f=N[N[a+68>>2]+20>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+228>>2]=Y;break d;case 2:sb:{r=O[k|0];switch(r-97|0){case 0:break Xa;case 2:break sb;default:break Ta}}tb:{if((l|0)<=7){ub:{if(f>>>0<=g>>>0){break ub}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ub}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break tb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[I>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);vb:{if(V(j)<2147483648){m=~~j;break vb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);wb:{if(V(j)<2147483648){k=~~j;break wb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);xb:{if(V(j)<2147483648){h=~~j;break xb}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[I>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+232|0];f=N[N[a+68>>2]+24>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+232>>2]=Y;break d;case 65:break Ua;case 3:break _a;default:break Va}}yb:{r=O[k|0];switch(r-97|0){case 0:break Wa;case 2:break yb;default:break Ta}}zb:{if((l|0)<=7){Ab:{if(f>>>0<=g>>>0){break Ab}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Ab}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break zb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[J>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);Bb:{if(V(j)<2147483648){m=~~j;break Bb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);Cb:{if(V(j)<2147483648){k=~~j;break Cb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);Db:{if(V(j)<2147483648){h=~~j;break Db}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[J>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+236|0];f=N[N[a+68>>2]+28>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+236>>2]=Y;break d}Eb:{if((l|0)<=7){Fb:{if(f>>>0<=g>>>0){break Fb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Fb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Eb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[G|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[G|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+16|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+224|0]=Y;break d}Gb:{if((l|0)<=7){Hb:{if(f>>>0<=g>>>0){break Hb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Hb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Gb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[H|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[H|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+20|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+228|0]=Y;break d}Ib:{if((l|0)<=7){Jb:{if(f>>>0<=g>>>0){break Jb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Jb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Ib}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[I|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[I|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+24|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+232|0]=Y;break d}Kb:{if((l|0)<=7){Lb:{if(f>>>0<=g>>>0){break Lb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Lb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Kb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[J|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[J|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+28|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+236|0]=Y;break d}if(!s){break Sa}r=O[k|0];break Pa}Mb:{if((l|0)<=7){Nb:{if(f>>>0<=k>>>0){break Nb}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Nb}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0>k>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}if(!l){break Mb}}n=N[i+16>>2];g=N[i+20>>2]-n|0;k=N[D+168>>2];h=N[k>>2];Ob:{if((h|0)>0){l=N[k+16>>2];while(1){f=h-1|0;m=l+T(f,144)|0;r=N[m>>2];if(!(bb(r,n,g)|O[g+r|0])){break Ob}m=h>>>0>1;h=f;if(m){continue}break}}f=N[k+84>>2];N[i+8>>2]=n;N[i+4>>2]=g;N[i>>2]=k;mb(f,2,16562,i);m=0}ti(a,m);break d}ti(a,0);break d}if(s){break Pa}}Pb:{Qb:{Rb:{Sb:{Tb:{Ub:{Vb:{if(!w){r=k;switch(t-75|0){case 38:break Pb;case 42:break Qb;case 40:break Rb;case 0:break Ub;case 32:break Vb;default:break d}}Wb:{if((l|0)>7){break Wb}Xb:{if(f>>>0<=k>>>0){break Xb}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Xb}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break Wb}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;Yb:{if(l){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2){break Yb}}h=N[N[a+68>>2]+36>>2]}N[a+508>>2]=h;sg(a);break d}r=g;Zb:{switch(O[k|0]-102|0){case 9:break Tb;case 0:break Ub;case 14:break Zb;default:break Sb}}rc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)*10}else{j=0}L[a+472|0]=1;N[a+464>>2]=0;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+468>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}rc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)}else{j=100}N[a+460>>2]=2;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}rc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)}else{j=100}N[a+460>>2]=3;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}rc(i+16|0,i+12|0,k,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)}else{j=100}N[a+460>>2]=1;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}if(!(O[k|0]!=104|O[h+2|0]!=97|O[h+3|0]!=100)){rc(i+16|0,i+12|0,p,f);_b:{if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=d*pb(f,i+88|0);q=1-d;j=S[a+280>>3]*q+o;j=j<0?0:j;o=S[a+272>>3]*q+o;o=o<0?0:o;break _b}o=S[N[a+68>>2]+96>>3];j=o}S[a+280>>3]=j;S[a+272>>3]=o;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;$b:{if(N[i+12>>2]){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2){break $b}}h=N[N[a+68>>2]+44>>2]}f=N[a+92>>2];if(h){N[a+92>>2]=f|2;break d}N[a+92>>2]=f&-3;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;ac:{if(N[i+12>>2]){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2){break ac}}h=N[N[a+68>>2]+40>>2]}f=N[a+92>>2];if(h){N[a+92>>2]=f|1;break d}N[a+92>>2]=f&-2;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;bc:{cc:{if(!N[i+12>>2]){break cc}h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if((h|0)<0){break cc}if((h|0)<4){break bc}}h=N[N[D+168>>2]+56>>2]}N[a+516>>2]=h;break d}ba(22391,18210,702,11024);B()}ba(16780,18210,715,11024);B()}if((r&255)==101){dc:{if((l|0)<=7){ec:{if(f>>>0<=g>>>0){break ec}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ec}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break dc}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=+L[a+259|0]*(1-d)+d*j+.5;fc:{if(V(j)<2147483648){f=~~j;break fc}f=-2147483648}f=(f|0)>0?f:0;g=f>>>0>=127?127:f;A(+j);f=v(1)|0;f=f&2147483647;W=a,Y=(_=0,$=(ca=0,da=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,ea=j<=-2147483648,ea?ca:da),aa=j>=2147483648,aa?_:$),L[W+259|0]=Y;break d}L[a+259|0]=0;break d}gc:{if((l|0)>7){break gc}hc:{if(f>>>0<=k>>>0){break hc}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break hc}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break gc}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;ic:{if(l){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2|(h|0)>99){break ic}}h=N[N[a+68>>2]+32>>2]}N[a+504>>2]=h;sg(a);break d}g=k}jc:{if((l|0)<=7){kc:{if(f>>>0<=g>>>0){break kc}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break kc}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break jc}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[G>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);lc:{if(V(j)<2147483648){m=~~j;break lc}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);mc:{if(V(j)<2147483648){k=~~j;break mc}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);nc:{if(V(j)<2147483648){h=~~j;break nc}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[G>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+224|0];f=N[N[a+68>>2]+16>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+224>>2]=Y}if(b>>>0>>0){continue}break}}La=i+96|0;return b}function De(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,P=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;j=La-15968|0;La=j;N[j+15960>>2]=g;N[j+15964>>2]=f;q=N[a+176>>2];o=N[N[q+536>>2]+544>>2];J=N[a+52>>2];x=N[a>>2];C(j+15808|0,0,128);N[j+15952>>2]=0;f=j+15792|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15764|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15736|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15700|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15708|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15944>>2]=0;N[j+15948>>2]=0;N[j+15776>>2]=0;N[j+15780>>2]=0;N[j+15784>>2]=0;N[j+15788>>2]=0;N[j+15756>>2]=0;N[j+15760>>2]=0;N[j+15752>>2]=20;H=a+4|0;N[j+15748>>2]=H;N[j+15744>>2]=x;N[j+15728>>2]=0;N[j+15732>>2]=0;N[j+15724>>2]=20;N[j+15720>>2]=H;N[j+15716>>2]=x;N[j+15692>>2]=0;N[j+15696>>2]=0;N[j+15688>>2]=H;V=j+15608|0;C(V,0,80);f=j+15532|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15528>>2]=8;N[j+15524>>2]=H;f=j+15540|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15520>>2]=x;N[j+3912>>2]=c;N[j+3908>>2]=a;C(j+11664|0,0,3856);f=O[a+184|0];N[j+11668>>2]=J;L[j+11665|0]=f;K=j+15520|0;N[j+11660>>2]=K;P=j+11652|0;N[j+11656>>2]=P;N[j+11652>>2]=a;C(j+7796|0,0,3856);N[j+7800>>2]=J;L[j+7797|0]=f;N[j+7792>>2]=K;N[j+7788>>2]=P;N[j+7784>>2]=a;C(j+3928|0,0,3856);N[j+3932>>2]=J;L[j+3929|0]=f;N[j+3924>>2]=K;N[j+3920>>2]=P;N[j+3916>>2]=a;N[j+15548>>2]=N[a+40>>2];G=48;f=N[a+48>>2];N[j+15556>>2]=J;N[j+15552>>2]=f;f=N[d>>2];i=N[d+4>>2];N[j+15588>>2]=a+240;N[j+15584>>2]=g;N[j+15560>>2]=f;N[j+15564>>2]=i;N[j+15580>>2]=j+15688;N[j+15576>>2]=j+15716;N[j+15572>>2]=j+15744;L[j+15570|0]=O[a+185|0];g=N[a+228>>2];N[j+15592>>2]=g;f=N[a+232>>2];N[j+15604>>2]=6554;N[j+15596>>2]=f;M[j+15568>>1]=0;i=1;L[j+15571|0]=1;l=g;g=g>>31;g=(l^g)-g|0;l=f;f=f>>31;f=(l^f)-f|0;N[j+15600>>2]=((f|0)<(g|0)?g:f)<<1;f=O[a+9|0];L[j+15775|0]=(f|0)!=0;N[h>>2]=N[N[q+536>>2]+540>>2]<<16;G=f?N[N[q+532>>2]+1556>>2]:G;l=64;f=Qa[N[x+4>>2]](x,20)|0;a:{b:{c:{if(!f){f=0;break c}N[f+4>>2]=H;N[f>>2]=x;g=0;d:{e:{f:{g:{if((G|0)<0){break g}if(G){if((G|0)>268435455){break g}k=G<<3;g=Qa[N[x+4>>2]](x,k)|0;if(!g|(G|0)<=0){break f}C(g,0,k)}D=f+8|0;N[D>>2]=g;break d}N[f+8>>2]=0;break e}D=f+8|0;N[D>>2]=g;if(g){break d}}Qa[N[x+8>>2]](x,f);f=0;break c}N[f+16>>2]=G;N[f+12>>2]=g;A=Qa[N[x+4>>2]](x,272)|0;g=N[a+4>>2];if(!A){A=0;if(g){i=0;break a}i=0;break b}i=0;if(g){break a}R=o<<16;Z=j+3916|0;B=j+15692|0;g=N[b+4>>2];N[A>>2]=N[b>>2];N[A+4>>2]=g;g=N[b+12>>2];N[A+8>>2]=N[b+8>>2];N[A+12>>2]=g;I=a+92|0;_=j+48|0;S=2e7;t=A;h:while(1){w=0;while(1){o=i;l=t+12|0;b=N[l>>2];m=N[t+8>>2];i:{if(b>>>0>=m>>>0){g=y?11:14;k=b;break i}k=b+1|0;N[l>>2]=k;j:{g=O[b|0];switch(g-11|0){case 0:case 3:break j;default:break i}}g=O[a+9|0]?0:g}n=O[a+8|0];if(n){b=g&254;k:{i=g>>>0>31;if(i|(g|0)==12|((b|0)==10|(g-13&255)>>>0<2)){break k}if(o&255|(g&253)==1){break k}N[f+12>>2]=N[f+8>>2];i=0;continue}r=(g|0)==12;E=r?E:E&255?i?E:0:E;u=i?u:r?u:(u|0)<=0?u:(b|0)==10?u:0}if(N[a+4>>2]){i=0;break a}S=S-1|0;if(!S){i=0;l=18;break b}i=o;l:{m:{n:{o:{p:{q:{r:{s:{switch(g|0){case 15:if(!O[a+9|0]){break p}if(O[a+93|0]){break l}b=N[f+12>>2];if((b|0)==N[f+8>>2]){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break n}N[b>>2]=161;N[a+120>>2]=0;break m}if(N[b-4>>2]!=2){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break n}N[b>>2]=160;break n}b=b-8|0;N[f+12>>2]=b;g=N[b>>2];if((g|0)>=0){break n}break p;case 16:if(!O[a+9|0]){break p}l=18;i=0;if(!N[a+96>>2]){break c}t:{if(!(Qa[N[N[a+548>>2]+12>>2]](I,N[a+120>>2],N[a+124>>2],N[a+128>>2])|0)){break t}b=Qa[N[N[a+548>>2]+16>>2]](I,N[a+120>>2],N[a+124>>2],N[a+128>>2])|0;if(!b){break t}l=b;break c}b=N[f+12>>2];u:{if((b|0)==N[f+8>>2]){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break u}N[b>>2]=161;break u}if(N[b-4>>2]!=2){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break u}N[b>>2]=160;break u}b=b-8|0;N[f+12>>2]=b;g=N[b>>2];if(G>>>0>>0){break c}}p=0;b=N[f+12>>2];i=N[f+8>>2];l=b-i>>3;W=T(N[I+20>>2],g);if(g){X=l-W|0;k=X+g|0;while(1){m=N[I+24>>2];Y=N[f+12>>2];n=Y-i>>3;s=p+X|0;v:{if(n>>>0<=s>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break v}N[b>>2]=130;break v}w:{x:{y:{b=(s<<3)+i|0;switch(N[b+4>>2]-1|0){case 0:break x;case 1:break y;default:break w}}l=N[b>>2]<<16;break v}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break v}l=N[b>>2]}U=1;if(Q[I+20>>2]>=2){while(1){v=N[m+4>>2];z:{if(k>>>0>=n>>>0){b=0;r=N[f+4>>2];if(!r|N[r>>2]){break z}N[r>>2]=130;break z}A:{B:{C:{b=(k<<3)+i|0;switch(N[b+4>>2]-1|0){case 0:break B;case 1:break C;default:break A}}b=N[b>>2]<<16;break z}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break z}b=N[b>>2]}k=k+1|0;m=m+4|0;$=l;z=v>>31;z=(z^v)-z|0;r=b>>31;r=(r^b)-r|0;D:{if(z+(r>>>8|0)>>>0<=8190){r=T(r,z)+32768>>>16|0;break D}l=z&65535;r=T(l,r>>>16|0)+T(r,z>>>16|0)+(T(r&65535,l)+32768>>>16)|0}l=v>>31|1;l=$+((((b|0)<0?0-l|0:l)|0)<0?0-r|0:r)|0;U=U+1|0;if(U>>>0>2]){continue}break}n=Y-i>>3}E:{if(n>>>0>>0){b=N[f+4>>2];if(!b|N[b>>2]){break E}N[b>>2]=130;break E}b=s<<3;N[b+i>>2]=l;i=N[f+8>>2];N[(b+i|0)+4>>2]=0}p=p+1|0;if((p|0)!=(g|0)){continue}break}b=N[f+12>>2];l=b-i>>3}g=W-g|0;F:{if(g>>>0>l>>>0){b=N[f+4>>2];if(!b|N[b>>2]){break F}N[b>>2]=161;break F}N[f+12>>2]=b-(g<<3)}L[a+93|0]=1;i=o;continue;case 1:case 18:g=j+15744|0;l=j+15775|0;G:{if(!n){if(O[j+15692|0]){break p}b=0;break G}b=N[N[q+32>>2]+4>>2]}wg(a,f,g,h,l,b);if(!O[q+548|0]){break m}break o;case 3:case 23:g=j+15716|0;l=j+15775|0;H:{if(!n){if(O[j+15692|0]){break p}b=0;break H}b=N[N[q+32>>2]>>2]}wg(a,f,g,h,l,b);if(O[q+548|0]){break o}break m;case 4:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<16)){I:{J:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break I;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break I;default:break J}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}K:{if((b|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break K}N[b>>2]=161;break K}b=i-8|0;N[f+12>>2]=b;L:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break K;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break K;default:break L}}g=N[b>>2]}b=N[j+15960>>2]+g|0;N[j+15960>>2]=b;if(N[q+468>>2]){break p}Ce(j+3908|0,N[j+15964>>2],b);break p;case 5:l=N[j+15960>>2];i=N[j+15964>>2];g=N[f+8>>2];b=N[f+12>>2];if((g|0)!=(b|0)){m=b-g>>3;g=0;while(1){k=N[f+8>>2];r=N[f+12>>2]-k>>3;M:{if(r>>>0<=g>>>0){n=0;b=N[f+4>>2];if(!b|N[b>>2]){break M}N[b>>2]=130;break M}N:{O:{P:{b=k+(g<<3)|0;switch(N[b+4>>2]-1|0){case 1:break P;case 0:break O;default:break N}}n=N[b>>2]<<16;break M}b=N[b>>2];n=((b>>31)+b|0)- -8192>>14;break M}n=N[b>>2]}i=i+n|0;b=g|1;Q:{if(b>>>0>=r>>>0){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Q}N[k>>2]=130;break Q}R:{S:{T:{b=k+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break S;case 1:break T;default:break R}}b=N[b>>2]<<16;break Q}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break Q}b=N[b>>2]}l=b+l|0;Xd(j+3908|0,i,l);g=g+2|0;if(m>>>0>g>>>0){continue}break}g=N[D>>2]}N[j+15960>>2]=l;N[j+15964>>2]=i;N[f+12>>2]=g;i=o;continue;case 6:case 7:b=N[j+15960>>2];p=N[j+15964>>2];i=N[f+8>>2];l=N[f+12>>2];if((i|0)!=(l|0)){i=l-i>>3;n=i>>>0<=1?1:i;i=(g|0)==6;g=0;while(1){l=N[f+8>>2];U:{if(N[f+12>>2]-l>>3>>>0<=g>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break U}N[k>>2]=130;break U}V:{W:{X:{l=l+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break W;case 1:break X;default:break V}}l=N[l>>2]<<16;break U}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break U}l=N[l>>2]}k=i&255;p=(k?l:0)+p|0;b=(k?0:l)+b|0;Xd(j+3908|0,p,b);i=i^1;g=g+1|0;if((n|0)!=(g|0)){continue}break}i=N[D>>2]}N[j+15960>>2]=b;N[j+15964>>2]=p;N[f+12>>2]=i;i=o;continue;case 8:case 24:n=0;i=N[j+15960>>2];p=N[j+15964>>2];b=N[f+12>>2]-N[f+8>>2]|0;if(b>>>0>=48){z=b>>3;l=6;while(1){b=n;n=l;l=N[f+8>>2];s=N[f+12>>2]-l>>3;Y:{if(s>>>0<=b>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break Y}N[m>>2]=130;break Y}Z:{_:{$:{k=l+(b<<3)|0;switch(N[k+4>>2]-1|0){case 0:break _;case 1:break $;default:break Z}}k=N[k>>2]<<16;break Y}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break Y}k=N[k>>2]}m=b|1;aa:{if(m>>>0>=s>>>0){m=0;r=N[f+4>>2];if(!r|N[r>>2]){break aa}N[r>>2]=130;break aa}ba:{ca:{da:{m=l+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break ca;case 1:break da;default:break ba}}m=N[m>>2]<<16;break aa}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break aa}m=N[m>>2]}r=b+2|0;ea:{if(r>>>0>=s>>>0){r=0;v=N[f+4>>2];if(!v|N[v>>2]){break ea}N[v>>2]=130;break ea}fa:{ga:{ha:{r=l+(r<<3)|0;switch(N[r+4>>2]-1|0){case 0:break ga;case 1:break ha;default:break fa}}r=N[r>>2]<<16;break ea}r=N[r>>2];r=((r>>31)+r|0)- -8192>>14;break ea}r=N[r>>2]}v=k+p|0;k=b+3|0;ia:{if(k>>>0>=s>>>0){p=0;k=N[f+4>>2];if(!k|N[k>>2]){break ia}N[k>>2]=130;break ia}ja:{ka:{la:{k=l+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break ka;case 1:break la;default:break ja}}p=N[k>>2]<<16;break ia}k=N[k>>2];p=((k>>31)+k|0)- -8192>>14;break ia}p=N[k>>2]}k=i+m|0;m=r+v|0;i=b+4|0;ma:{if(i>>>0>=s>>>0){i=0;r=N[f+4>>2];if(!r|N[r>>2]){break ma}N[r>>2]=130;break ma}na:{oa:{pa:{i=l+(i<<3)|0;switch(N[i+4>>2]-1|0){case 0:break oa;case 1:break pa;default:break na}}i=N[i>>2]<<16;break ma}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break ma}i=N[i>>2]}r=k+p|0;p=i+m|0;b=b+5|0;qa:{if(b>>>0>=s>>>0){i=0;b=N[f+4>>2];if(!b|N[b>>2]){break qa}N[b>>2]=130;break qa}ra:{sa:{ta:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break sa;case 1:break ta;default:break ra}}i=N[b>>2]<<16;break qa}b=N[b>>2];i=((b>>31)+b|0)- -8192>>14;break qa}i=N[b>>2]}i=i+r|0;Cd(j+3908|0,v,k,m,r,p,i);l=n+6|0;if(z>>>0>=l>>>0){continue}break}}N[j+15960>>2]=i;N[j+15964>>2]=p;if((g|0)==24){g=N[f+8>>2];k=N[f+12>>2]-g>>3;ua:{if(k>>>0<=n>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break ua}N[b>>2]=130;break ua}va:{wa:{xa:{b=g+(n<<3)|0;switch(N[b+4>>2]-1|0){case 0:break wa;case 1:break xa;default:break va}}l=N[b>>2]<<16;break ua}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break ua}l=N[b>>2]}l=l+p|0;N[j+15964>>2]=l;b=n|1;ya:{if(b>>>0>=k>>>0){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break ya}N[b>>2]=130;break ya}za:{Aa:{Ba:{b=g+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break Aa;case 1:break Ba;default:break za}}g=N[b>>2]<<16;break ya}b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break ya}g=N[b>>2]}b=g+i|0;N[j+15960>>2]=b;Xd(j+3908|0,l,b)}N[f+12>>2]=N[f+8>>2];i=o;continue;case 9:if(!n){break p}if(O[j+15568|0]){L[j+15569|0]=1;Xd(j+3908|0,N[j+15640>>2],N[j+15644>>2]);if(O[j+15648|0]){lf(j+3908|0,Z,V,N[j+15616>>2],N[j+15620>>2],1)}L[j+15648|0]=0;M[j+15568>>1]=0;L[j+15571|0]=1}L[j+15775|0]=1;i=o;break m;case 10:case 29:l=18;i=0;if((y|0)>16){break c}y=y+1|0;b=y;if(b>>>0>=17){N[a+4>>2]=130;b=0}m=b<<4;b=N[f+12>>2];Ca:{if((b|0)==N[f+8>>2]){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Ca}N[k>>2]=161;break Ca}if(N[b-4>>2]!=2){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Ca}N[k>>2]=160;break Ca}b=b-8|0;N[f+12>>2]=b;b=N[b>>2]}t=m+A|0;Da:{if(!n){break Da}k=N[q+616>>2];if(!k){break Da}b=Ad(b,k);if(!b){b=-1;break Da}b=N[b>>2]}N[t>>2]=0;N[t+4>>2]=0;N[t+8>>2]=0;N[t+12>>2]=0;if((g|0)==29){b=N[q+568>>2]+b|0;if(b>>>0>=Q[q+560>>2]){break c}b=N[q+576>>2]+(b<<2)|0;g=N[b>>2];N[t+4>>2]=g;N[t+12>>2]=g;N[t+8>>2]=N[b+4>>2];i=o;continue}b=N[q+564>>2]+b|0;if(b>>>0>=Q[q+556>>2]){break c}i=b<<2;b=i+N[q+572>>2]|0;g=N[b>>2];N[t+4>>2]=g;Ea:{if(O[q+48|0]){l=N[q+612>>2];if(l){if(!g){g=0;b=0;break Ea}b=N[i+l>>2]+g|0;break Ea}i=g;g=N[q+608>>2];g=i+((g|0)>0?g:0)|0;N[t+4>>2]=g;b=N[b+4>>2];break Ea}b=N[b+4>>2]}N[t+12>>2]=g;N[t+8>>2]=b;i=o;continue;case 11:if((y|0)<=0){break l}y=y-1|0;b=y;if(b>>>0>=17){N[a+4>>2]=130;b=0}t=(b<<4)+A|0;continue;case 12:if(k>>>0>=m>>>0){b=N[t>>2];if(b){g=0;if(N[b>>2]){break q}N[b>>2]=85}g=0;break q}N[l>>2]=k+1;Fa:{Ga:{Ha:{Ia:{g=O[k|0];switch(g-8|0){case 29:break Fa;case 28:break Ga;case 27:break Ha;case 26:break Ia;case 0:case 5:case 11:case 17:case 23:case 24:break m;default:break q}}vg(f,j+15964|0,j+15960|0,j+3908|0,295036,0);continue}vg(f,j+15964|0,j+15960|0,j+3908|0,295048,0);break m}vg(f,j+15964|0,j+15960|0,j+3908|0,295060,0);continue}vg(f,j+15964|0,j+15960|0,j+3908|0,295072,1);continue;case 13:if(!n){break p}g=N[f+12>>2];i=N[f+8>>2];Ja:{if((g|0)==(i|0)){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break Ja}N[b>>2]=161;break Ja}g=g-8|0;N[f+12>>2]=g;Ka:{switch(N[g+4>>2]-1|0){case 1:p=N[g>>2]<<16;break Ja;case 0:b=N[g>>2];p=((b>>31)+b|0)- -8192>>14;break Ja;default:break Ka}}p=N[g>>2]}b=N[q+36>>2];N[b+4>>2]=0;N[b>>2]=p;La:{if((g|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break La}N[b>>2]=161;break La}b=g-8|0;N[f+12>>2]=b;Ma:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break La;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break La;default:break Ma}}g=N[b>>2]}b=N[q+32>>2];N[b>>2]=N[b>>2]+g;L[j+15775|0]=1;if(O[q+47|0]){break o}if(!(o&255)){i=0;break m}N[j+15964>>2]=N[j+15964>>2]+g;i=o;break m;case 14:if(!(!n|o&255)){Ce(j+3908|0,N[j+15964>>2],N[j+15960>>2]);N[j+15760>>2]=0;N[j+15732>>2]=0;N[B+16>>2]=0;N[B+20>>2]=0;N[B+8>>2]=0;N[B+12>>2]=0;N[B>>2]=0;N[B+4>>2]=0;N[j+15688>>2]=H;L[j+15693|0]=1;if((y|0)>0){g=y;Na:{if(!(g&1)){break Na}g=y-1|0;if(y>>>0<18){l=g;break Na}l=0;if(N[a+4>>2]){break Na}N[a+4>>2]=130}if((y|0)!=1){while(1){if(!(N[a+4>>2]|g>>>0<18)){N[a+4>>2]=130}b=g-1|0;g=g-2|0;l=g;Oa:{if(b>>>0<18){break Oa}l=0;if(N[a+4>>2]){break Oa}N[a+4>>2]=130}if(b>>>0>1){continue}break}}y=0;t=(l<<4)+A|0}N[t+12>>2]=N[t+4>>2];i=1;break m}b=N[f+12>>2]-N[f+8>>2]|0;Pa:{Qa:{if((b|0)!=8){if((b|0)!=40){break Pa}if(!O[j+15775|0]){break Qa}break Pa}if(O[j+15775|0]){break Pa}}aa=h,ba=md(f,0)+R|0,N[aa>>2]=ba}i=0;if(O[q+548|0]){l=0;break c}b=j+3908|0;if(O[b+11660|0]){L[b+11661|0]=1;Xd(b,N[b+11732>>2],N[b+11736>>2]);if(O[b+11740|0]){lf(b,b+8|0,b+11700|0,N[b+11708>>2],N[b+11712>>2],1)}L[b+11740|0]=0;M[b+11660>>1]=0;L[b+11663|0]=1}if(O[a+9|0]){l=0;break c}if(O[a+8|0]){l=0;break c}if(N[f+12>>2]-N[f+8>>2]>>>0<9){l=0;break c}l=18;Ra:{if(e){break Ra}b=nc(f);e=nc(f);g=qb(f);h=qb(f);l=Ro(q,b,j+36|0);if(l){break Ra}b=j+36|0;De(a,b,c,d,1,h,g,j+8|0);g=j+40|0;Qa[N[q+600>>2]](N[q+4>>2],g,N[j+44>>2]-N[j+40>>2]|0);l=Ro(q,e,b);if(l){break Ra}l=0;De(a,j+36|0,c,d,1,0,0,j+8|0);Qa[N[q+600>>2]](N[q+4>>2],g,N[j+44>>2]-N[j+40>>2]|0)}break c;case 19:case 20:if(O[j+15692|0]?N[f+12>>2]-N[f+8>>2]>>>0>=16:0){break p}i=0;wg(a,f,j+15716|0,h,j+15775|0,0);if(O[q+548|0]){l=0;break c}if((g|0)==19){b=N[j+15732>>2]+N[j+15760>>2]|0;if(b>>>0>=97){b=N[j+15688>>2];if(!b|N[b>>2]){break p}N[b>>2]=18;i=o;break m}N[j+15696>>2]=b;M[j+15692>>1]=257;N[j+15700>>2]=b+7>>>3;g=0;if(!b){break p}while(1){b=N[l>>2];Sa:{if(b>>>0>2]){N[l>>2]=b+1;i=O[b|0];break Sa}i=0;b=N[t>>2];if(!b|N[b>>2]){break Sa}N[b>>2]=85}L[(g+j|0)+15704|0]=i;g=g+1|0;if(g>>>0>2]){continue}break}break p}C(_,0,3856);b=O[a+184|0];N[j+52>>2]=J;L[j+49|0]=b;N[j+44>>2]=K;N[j+40>>2]=P;N[j+36>>2]=a;N[j+28>>2]=0;N[j+32>>2]=0;N[j+20>>2]=0;N[j+24>>2]=0;N[j+12>>2]=0;N[j+16>>2]=0;N[j+8>>2]=H;b=N[j+15732>>2]+N[j+15760>>2]|0;Ta:{if(b>>>0>=97){if(N[a+4>>2]){break Ta}N[a+4>>2]=18;break Ta}N[j+16>>2]=b;M[j+12>>1]=257;N[j+20>>2]=b+7>>>3;g=0;if(!b){break Ta}while(1){b=N[l>>2];Ua:{if(b>>>0>2]){N[l>>2]=b+1;i=O[b|0];break Ua}i=0;b=N[t>>2];if(!b|N[b>>2]){break Ua}N[b>>2]=85}L[(g+j|0)+24|0]=i;g=g+1|0;if(g>>>0>2]){continue}break}}kf(j+36|0,j+15744|0,j+15716|0,j+8|0,0,0);i=o;break m;case 21:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<24)){Va:{Wa:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break Va;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break Va;default:break Wa}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}l=N[j+15960>>2];Xa:{Ya:{Za:{if((b|0)==(i|0)){g=N[f+4>>2];if(!(!g|N[g>>2])){N[g>>2]=161}N[j+15960>>2]=l;n=N[j+15964>>2];break Za}g=i-8|0;N[f+12>>2]=g;_a:{$a:{switch(N[g+4>>2]-1|0){case 0:k=N[g>>2];n=((k>>31)+k|0)- -8192>>14;break _a;default:n=N[g>>2];break _a;case 1:break $a}}n=N[g>>2]<<16}l=n+l|0;N[j+15960>>2]=l;n=N[j+15964>>2];if((b|0)!=(g|0)){break Ya}g=N[f+4>>2]}i=0;if(N[g>>2]|!g){break Xa}N[g>>2]=161;break Xa}b=i-16|0;N[f+12>>2]=b;ab:{switch(N[b+4>>2]-1|0){case 1:i=N[b>>2]<<16;break Xa;case 0:b=N[b>>2];i=((b>>31)+b|0)- -8192>>14;break Xa;default:break ab}}i=N[b>>2]}b=i+n|0;N[j+15964>>2]=b;if(N[q+468>>2]){break p}Ce(j+3908|0,b,l);i=o;break m;case 22:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<16)){bb:{cb:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break bb;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break bb;default:break cb}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}db:{if((b|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break db}N[b>>2]=161;break db}b=i-8|0;N[f+12>>2]=b;eb:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break db;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break db;default:break eb}}g=N[b>>2]}b=N[j+15964>>2]+g|0;N[j+15964>>2]=b;if(N[q+468>>2]){break p}Ce(j+3908|0,b,N[j+15960>>2]);i=o;break m;case 25:l=N[f+12>>2]-N[f+8>>2]|0;p=l>>3;g=0;b=N[j+15960>>2];i=N[j+15964>>2];if(l>>>0<=48){break r}while(1){l=g;k=N[f+8>>2];m=N[f+12>>2]-k>>3;fb:{if(m>>>0<=g>>>0){g=0;n=N[f+4>>2];if(!n|N[n>>2]){break fb}N[n>>2]=130;break fb}gb:{hb:{ib:{g=k+(l<<3)|0;switch(N[g+4>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}g=N[g>>2]<<16;break fb}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break fb}g=N[g>>2]}i=g+i|0;g=l|1;jb:{if(g>>>0>=m>>>0){g=0;k=N[f+4>>2];if(!k|N[k>>2]){break jb}N[k>>2]=130;break jb}kb:{lb:{mb:{g=k+(g<<3)|0;switch(N[g+4>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}g=N[g>>2]<<16;break jb}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break jb}g=N[g>>2]}b=b+g|0;Xd(j+3908|0,i,b);g=l+2|0;if(p>>>0>l+8>>>0){continue}break};break r;case 26:m=N[j+15960>>2];l=N[j+15964>>2];i=N[f+8>>2];r=N[f+12>>2]-i>>3;s=r&-3;g=r&2;if(s>>>0>g>>>0){while(1){i=N[f+8>>2];n=N[f+12>>2]-i>>3;if(r-g&1){nb:{if(g>>>0>=n>>>0){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break nb}N[b>>2]=130;break nb}ob:{pb:{qb:{b=i+(g<<3)|0;switch(N[b+4>>2]-1|0){case 0:break pb;case 1:break qb;default:break ob}}p=N[b>>2]<<16;break nb}b=N[b>>2];p=((b>>31)+b|0)- -8192>>14;break nb}p=N[b>>2]}g=g+1|0;l=l+p|0}b=l;rb:{if(g>>>0>=n>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break rb}N[k>>2]=130;break rb}sb:{tb:{ub:{l=i+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break tb;case 1:break ub;default:break sb}}l=N[l>>2]<<16;break rb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break rb}l=N[l>>2]}k=g+1|0;vb:{if(k>>>0>=n>>>0){k=0;p=N[f+4>>2];if(!p|N[p>>2]){break vb}N[p>>2]=130;break vb}wb:{xb:{yb:{k=i+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break xb;case 1:break yb;default:break wb}}k=N[k>>2]<<16;break vb}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break vb}k=N[k>>2]}p=l+m|0;l=g+2|0;zb:{if(l>>>0>=n>>>0){m=0;l=N[f+4>>2];if(!l|N[l>>2]){break zb}N[l>>2]=130;break zb}Ab:{Bb:{Cb:{l=i+(l<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Bb;case 1:break Cb;default:break Ab}}m=N[l>>2]<<16;break zb}l=N[l>>2];m=((l>>31)+l|0)- -8192>>14;break zb}m=N[l>>2]}l=b+k|0;k=m+p|0;m=n;n=g+3|0;Db:{if(m>>>0<=n>>>0){i=0;n=N[f+4>>2];if(!n|N[n>>2]){break Db}N[n>>2]=130;break Db}Eb:{Fb:{Gb:{i=i+(n<<3)|0;switch(N[i+4>>2]-1|0){case 0:break Fb;case 1:break Gb;default:break Eb}}i=N[i>>2]<<16;break Db}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break Db}i=N[i>>2]}m=i+k|0;Cd(j+3908|0,b,p,l,k,l,m);g=g+4|0;if(s>>>0>g>>>0){continue}break}i=N[D>>2]}N[j+15960>>2]=m;N[j+15964>>2]=l;N[f+12>>2]=i;i=o;continue;case 27:m=N[j+15964>>2];l=N[j+15960>>2];i=N[f+8>>2];r=N[f+12>>2]-i>>3;s=r&-3;g=r&2;if(s>>>0>g>>>0){while(1){i=N[f+8>>2];n=N[f+12>>2]-i>>3;if(r-g&1){Hb:{if(g>>>0>=n>>>0){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break Hb}N[b>>2]=130;break Hb}Ib:{Jb:{Kb:{b=i+(g<<3)|0;switch(N[b+4>>2]-1|0){case 0:break Jb;case 1:break Kb;default:break Ib}}p=N[b>>2]<<16;break Hb}b=N[b>>2];p=((b>>31)+b|0)- -8192>>14;break Hb}p=N[b>>2]}g=g+1|0;l=l+p|0}b=l;Lb:{if(g>>>0>=n>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break Lb}N[k>>2]=130;break Lb}Mb:{Nb:{Ob:{l=i+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Nb;case 1:break Ob;default:break Mb}}l=N[l>>2]<<16;break Lb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break Lb}l=N[l>>2]}k=g+1|0;Pb:{if(k>>>0>=n>>>0){k=0;p=N[f+4>>2];if(!p|N[p>>2]){break Pb}N[p>>2]=130;break Pb}Qb:{Rb:{Sb:{k=i+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Rb;case 1:break Sb;default:break Qb}}k=N[k>>2]<<16;break Pb}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break Pb}k=N[k>>2]}m=l+m|0;l=g+2|0;Tb:{if(l>>>0>=n>>>0){l=0;p=N[f+4>>2];if(!p|N[p>>2]){break Tb}N[p>>2]=130;break Tb}Ub:{Vb:{Wb:{l=i+(l<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Vb;case 1:break Wb;default:break Ub}}l=N[l>>2]<<16;break Tb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break Tb}l=N[l>>2]}k=k+m|0;l=b+l|0;p=n;n=g+3|0;Xb:{if(p>>>0<=n>>>0){i=0;n=N[f+4>>2];if(!n|N[n>>2]){break Xb}N[n>>2]=130;break Xb}Yb:{Zb:{_b:{i=i+(n<<3)|0;switch(N[i+4>>2]-1|0){case 0:break Zb;case 1:break _b;default:break Yb}}i=N[i>>2]<<16;break Xb}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break Xb}i=N[i>>2]}n=m;m=i+k|0;Cd(j+3908|0,n,b,k,l,m,l);g=g+4|0;if(s>>>0>g>>>0){continue}break}i=N[D>>2]}N[j+15964>>2]=m;N[j+15960>>2]=l;N[f+12>>2]=i;i=o;continue;case 30:case 31:k=N[j+15960>>2];n=N[j+15964>>2];l=N[f+8>>2];b=N[f+12>>2]-l>>3;v=b&-3;i=b&2;if(v>>>0>i>>>0){z=(g|0)==31;while(1){b=k;l=n;g=N[f+8>>2];s=N[f+12>>2]-g>>3;$b:{if(z){ac:{if(i>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break ac}N[k>>2]=130;break ac}bc:{cc:{dc:{k=g+(i<<3)|0;switch(N[k+4>>2]-1|0){case 0:break cc;case 1:break dc;default:break bc}}n=N[k>>2]<<16;break ac}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break ac}n=N[k>>2]}r=i+1|0;ec:{if(s>>>0<=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break ec}N[m>>2]=130;break ec}fc:{gc:{hc:{k=g+(r<<3)|0;switch(N[k+4>>2]-1|0){case 0:break gc;case 1:break hc;default:break fc}}k=N[k>>2]<<16;break ec}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break ec}k=N[k>>2]}m=i+2|0;ic:{if(m>>>0>=s>>>0){m=0;p=N[f+4>>2];if(!p|N[p>>2]){break ic}N[p>>2]=130;break ic}jc:{kc:{lc:{m=g+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break kc;case 1:break lc;default:break jc}}m=N[m>>2]<<16;break ic}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break ic}m=N[m>>2]}l=l+n|0;p=b+m|0;n=i+3|0;mc:{if(n>>>0>=s>>>0){n=0;m=N[f+4>>2];if(!m|N[m>>2]){break mc}N[m>>2]=130;break mc}nc:{oc:{pc:{n=g+(n<<3)|0;switch(N[n+4>>2]-1|0){case 0:break oc;case 1:break pc;default:break nc}}n=N[n>>2]<<16;break mc}n=N[n>>2];n=((n>>31)+n|0)- -8192>>14;break mc}n=N[n>>2]}m=k+l|0;k=n+p|0;z=0;if((v-i|0)!=5){r=i;n=m;break $b}i=i+4|0;qc:{if(i>>>0>=s>>>0){i=N[f+4>>2];g=0;if(!i|N[i>>2]){break qc}N[i>>2]=130;n=m;break $b}rc:{sc:{tc:{g=g+(i<<3)|0;switch(N[g+4>>2]-1|0){case 0:break sc;case 1:break tc;default:break rc}}n=(N[g>>2]<<16)+m|0;break $b}g=N[g>>2];n=(((g>>31)+g|0)- -8192>>14)+m|0;break $b}g=N[g>>2]}n=g+m|0;break $b}uc:{if(i>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break uc}N[k>>2]=130;break uc}vc:{wc:{xc:{k=g+(i<<3)|0;switch(N[k+4>>2]-1|0){case 0:break wc;case 1:break xc;default:break vc}}n=N[k>>2]<<16;break uc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break uc}n=N[k>>2]}r=i+1|0;yc:{if(s>>>0<=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break yc}N[m>>2]=130;break yc}zc:{Ac:{Bc:{k=g+(r<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Ac;case 1:break Bc;default:break zc}}k=N[k>>2]<<16;break yc}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break yc}k=N[k>>2]}m=i+2|0;Cc:{if(m>>>0>=s>>>0){p=0;m=N[f+4>>2];if(!m|N[m>>2]){break Cc}N[m>>2]=130;break Cc}Dc:{Ec:{Fc:{m=g+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break Ec;case 1:break Fc;default:break Dc}}p=N[m>>2]<<16;break Cc}m=N[m>>2];p=((m>>31)+m|0)- -8192>>14;break Cc}p=N[m>>2]}b=b+n|0;m=k+l|0;k=i+3|0;Gc:{if(k>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break Gc}N[k>>2]=130;break Gc}Hc:{Ic:{Jc:{k=g+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Ic;case 1:break Jc;default:break Hc}}n=N[k>>2]<<16;break Gc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break Gc}n=N[k>>2]}p=b+p|0;n=m+n|0;z=1;if((v-i|0)!=5){r=i;k=p;break $b}i=i+4|0;Kc:{if(i>>>0>=s>>>0){g=0;i=N[f+4>>2];if(!i|N[i>>2]){break Kc}N[i>>2]=130;break Kc}Lc:{Mc:{Nc:{g=g+(i<<3)|0;switch(N[g+4>>2]-1|0){case 0:break Mc;case 1:break Nc;default:break Lc}}g=N[g>>2]<<16;break Kc}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break Kc}g=N[g>>2]}k=g+p|0}Cd(j+3908|0,l,b,m,p,n,k);i=r+4|0;if(v>>>0>i>>>0){continue}break}l=N[D>>2]}N[j+15960>>2]=k;N[j+15964>>2]=n;N[f+12>>2]=l;i=o;continue;case 28:Oc:{if(k>>>0>>0){g=k+1|0;N[l>>2]=g;i=O[k|0];break Oc}i=0;b=N[t>>2];if(!(!b|N[b>>2])){N[b>>2]=85}g=k}Pc:{if(g>>>0>>0){N[l>>2]=g+1;l=O[g|0];break Pc}l=0;b=N[t>>2];if(!b|N[b>>2]){break Pc}N[b>>2]=85}b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){i=o;b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=(l<<16|i<<24)>>16;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;i=o;continue;case 0:case 2:case 17:break m;default:break s}}if(g>>>0<=246){b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=g-139;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;continue}if(g>>>0<=250){Qc:{if(k>>>0>>0){N[l>>2]=k+1;l=O[k|0];break Qc}l=0;b=N[t>>2];if(!b|N[b>>2]){break Qc}N[b>>2]=85}b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=((g<<8)+l|0)-63124;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;continue}if((g|0)!=255){Rc:{if(k>>>0>>0){N[l>>2]=k+1;i=O[k|0];break Rc}i=0;b=N[t>>2];if(!b|N[b>>2]){break Rc}N[b>>2]=85}Be(f,64148-(g<<8|i)|0);i=o;continue}Sc:{if(k>>>0>>0){g=k+1|0;N[l>>2]=g;b=O[k|0];break Sc}b=0;g=N[t>>2];if(!(!g|N[g>>2])){N[g>>2]=85}g=k}Tc:{if(g>>>0>>0){i=g+1|0;N[l>>2]=i;p=O[g|0];break Tc}p=0;i=N[t>>2];if(!(!i|N[i>>2])){N[i>>2]=85}i=g}Uc:{if(i>>>0>>0){g=i+1|0;N[l>>2]=g;k=O[i|0];break Uc}k=0;g=N[t>>2];if(!(!g|N[g>>2])){N[g>>2]=85}g=i}Vc:{if(g>>>0>>0){N[l>>2]=g+1;g=O[g|0];break Vc}g=0;i=N[t>>2];if(!i|N[i>>2]){break Vc}N[i>>2]=85}b=p<<16|b<<24|k<<8|g;if(n){Be(f,b);E=b+32e3>>>0<64001?E:E&255?E:1;i=o;continue}Jb(f,b);i=o;continue}if(g>>>0

>>0){while(1){l=N[f+8>>2];r=N[f+12>>2]-l>>3;Wc:{if(r>>>0<=g>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break Wc}N[k>>2]=130;break Wc}Xc:{Yc:{Zc:{k=l+(g<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Yc;case 1:break Zc;default:break Xc}}n=N[k>>2]<<16;break Wc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break Wc}n=N[k>>2]}k=g|1;_c:{if(k>>>0>=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break _c}N[m>>2]=130;break _c}$c:{ad:{bd:{k=l+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break ad;case 1:break bd;default:break $c}}k=N[k>>2]<<16;break _c}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break _c}k=N[k>>2]}m=g+2|0;cd:{if(m>>>0>=r>>>0){m=0;s=N[f+4>>2];if(!s|N[s>>2]){break cd}N[s>>2]=130;break cd}dd:{ed:{fd:{m=l+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break ed;case 1:break fd;default:break dd}}m=N[m>>2]<<16;break cd}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break cd}m=N[m>>2]}n=i+n|0;i=g+3|0;gd:{if(i>>>0>=r>>>0){i=0;s=N[f+4>>2];if(!s|N[s>>2]){break gd}N[s>>2]=130;break gd}hd:{id:{jd:{i=l+(i<<3)|0;switch(N[i+4>>2]-1|0){case 0:break id;case 1:break jd;default:break hd}}i=N[i>>2]<<16;break gd}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break gd}i=N[i>>2]}k=b+k|0;m=m+n|0;b=g+4|0;kd:{if(b>>>0>=r>>>0){b=0;s=N[f+4>>2];if(!s|N[s>>2]){break kd}N[s>>2]=130;break kd}ld:{md:{nd:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break md;case 1:break nd;default:break ld}}b=N[b>>2]<<16;break kd}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break kd}b=N[b>>2]}s=i+k|0;i=b+m|0;b=g+5|0;od:{if(b>>>0>=r>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break od}N[b>>2]=130;break od}pd:{qd:{rd:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break qd;case 1:break rd;default:break pd}}l=N[b>>2]<<16;break od}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break od}l=N[b>>2]}b=l+s|0;Cd(j+3908|0,n,k,m,s,i,b);g=g+6|0;if(p>>>0>g>>>0){continue}break}}N[j+15960>>2]=b;N[j+15964>>2]=i;N[f+12>>2]=N[f+8>>2];i=o;continue}if(O[a+9|0]|g>>>0>37){break p}if(!(!n|(u|0)<=0|(g|0)==17)){u=0;i=o;break m}i=o;sd:{td:{ud:{vd:{switch(g-1|0){case 0:case 1:if(!n){break p}i=md(f,0);b=md(f,2);l=md(f,4);k=md(f,1);n=N[f+8>>2];wd:{if(N[f+12>>2]-n>>>0<=15){i=N[f+4>>2];if(!i|N[i>>2]){break wd}N[i>>2]=130;break wd}N[n+16>>2]=b-(i+k|0);N[N[D>>2]+20>>2]=0}i=md(f,3);k=N[f+8>>2];xd:{if(N[f+12>>2]-k>>>0<=31){b=N[f+4>>2];if(!b|N[b>>2]){break xd}N[b>>2]=130;break xd}N[k+32>>2]=l-(b+i|0);N[N[D>>2]+36>>2]=0}wg(a,f,(g|0)==1?j+15716|0:j+15744|0,h,j+15775|0,N[N[q+32>>2]+(((g|0)!=1)<<2)>>2]);i=o;if(O[q+548|0]){break o}break m;case 2:b=qb(f);Be(f,(qb(f)|0)!=0&(b|0)!=0);continue;case 3:Be(f,(qb(f)|qb(f))!=0);continue;case 4:Be(f,!qb(f));continue;case 5:if(!n){break m}b=N[q+4>>2];l=18;i=nc(f);g=nc(f);h=qb(f);o=qb(f);k=qb(f);yd:{if(O[q+47|0]|e){break yd}b=N[N[b+128>>2]+52>>2];zd:{if(!N[q+580>>2]){if(!b){break yd}e=N[N[q+32>>2]>>2];break zd}e=N[N[q+32>>2]>>2];if(b){break zd}g=Qo(q,g);i=Qo(q,i)}if((g|i)<0){break yd}e=e+o|0;Ad:{if(O[q+46|0]){c=N[q+8>>2];d=N[N[c+156>>2]>>2];l=Fn(d,2);if(l){break yd}b=N[d+88>>2];N[b+32>>2]=i;N[b+8>>2]=0;N[b+12>>2]=0;M[b+4>>1]=514;N[b>>2]=g;M[b+36>>1]=2;N[b+44>>2]=(h+(h>>31)|0)+32768>>16;g=b;b=e-k|0;N[g+40>>2]=((b>>31)+b|0)+32768>>16;N[c+128>>2]=2;b=N[d+52>>2];N[c+72>>2]=1668246896;N[c+132>>2]=b;N[d+84>>2]=2;break Ad}b=N[q+12>>2];N[b+56>>2]=0;N[b+84>>2]=0;o=N[b+24>>2];if(o){o=o+(M[b+22>>1]<<3)|0}else{o=0}N[b+60>>2]=o;l=b- -64|0;o=N[b+28>>2];if(o){o=o+M[b+22>>1]|0}else{o=0}N[l>>2]=o;o=N[b+32>>2];if(o){o=o+(M[b+20>>1]<<1)|0}else{o=0}N[b+68>>2]=o;if(O[b+16|0]){o=M[b+22>>1]<<3;N[b+76>>2]=o+N[b+40>>2];N[b+80>>2]=o+N[b+44>>2]}o=N[b+52>>2];if(o){o=o+(N[b+48>>2]<<5)|0}else{o=0}N[b+88>>2]=o;l=Po(N[q+4>>2],g,j+36|0);if(l){break yd}b=N[q+36>>2];o=N[b>>2];m=N[b+4>>2];b=N[q+32>>2];n=N[b>>2];r=N[b+4>>2];De(a,j+36|0,c,d,1,0,0,j+3904|0);b=N[N[N[q+4>>2]+128>>2]+52>>2];g=N[j+40>>2];N[j+12>>2]=N[j+44>>2]-g;N[j+8>>2]=g;if(b){Qa[N[N[b>>2]+4>>2]](N[b+4>>2],j+8|0)}b=N[q+32>>2];if(!O[j+15775|0]){r=N[b+4>>2];g=N[q+36>>2];o=N[g>>2];m=N[g+4>>2];n=N[b>>2]}N[b>>2]=0;N[b+4>>2]=0;l=Po(N[q+4>>2],i,j+36|0);if(l){break yd}De(a,j+36|0,c,d,1,e-k|0,h,j+3904|0);b=N[N[N[q+4>>2]+128>>2]+52>>2];c=N[j+40>>2];N[j+12>>2]=N[j+44>>2]-c;N[j+8>>2]=c;if(b){Qa[N[N[b>>2]+4>>2]](N[b+4>>2],j+8|0)}b=N[q+32>>2];N[b>>2]=n;N[b+4>>2]=r;b=N[q+36>>2];N[b>>2]=o;N[b+4>>2]=m}l=0}i=0;break c;case 6:if(!n){break p}b=qb(f);N[N[q+36>>2]+4>>2]=b;b=qb(f);N[N[q+36>>2]>>2]=b;g=qb(f);i=qb(f);b=N[q+32>>2];N[b>>2]=i+N[b>>2];N[b+4>>2]=g+N[b+4>>2];L[j+15775|0]=1;if(O[q+47|0]){break o}if(!(o&255)){i=0;break m}N[j+15964>>2]=i+N[j+15964>>2];N[j+15960>>2]=g+N[j+15960>>2];i=o;break m;case 8:b=qb(f);if((b|0)==-2147483648){Jb(f,2147483647);continue}g=b;b=b>>31;Jb(f,(g^b)-b|0);continue;case 9:Jb(f,qb(f)+qb(f)|0);continue;case 10:b=qb(f);Jb(f,qb(f)-b|0);continue;case 11:Bd:{if(!(!n|!(E&255))){E=0;g=nc(f);b=nc(f);break Bd}g=qb(f);b=qb(f)}Jb(f,fb(b,g));continue;case 13:b=qb(f);if((b|0)==-2147483648){Jb(f,2147483647);continue}Jb(f,0-b|0);continue;case 14:Be(f,(qb(f)|0)==(qb(f)|0));continue;case 15:if(!n){continue}g=nc(f);l=18;i=0;b=nc(f);k=N[f+8>>2];n=N[f+12>>2]-k>>3;if(b>>>0>n>>>0){break c}Cd:{switch(g|0){case 0:if((b|0)!=3|(!N[q+468>>2]|N[q+472>>2]!=7?o&255:0)){break c}Jb(f,N[j+15964>>2]);Jb(f,N[j+15960>>2]);w=2;break td;case 1:if(b){break c}u=0;w=0;if(!(o&255)){continue}Dd:{b=N[q+12>>2];if((M[b+22>>1]+M[b+58>>1]|0)+6>>>0<=Q[b+4>>2]){break Dd}if(!Sb(b,6,0)){break Dd}l=0;break c}N[q+468>>2]=1;N[q+472>>2]=0;break sd;case 2:if(b){break c}u=0;w=0;if(!(o&255)){continue}if(!N[q+468>>2]){break c}b=N[q+472>>2];N[q+472>>2]=b+1;i=o;if(b-1>>>0>5){continue}g=N[q+12>>2];if((M[g+22>>1]+M[g+58>>1]|0)+1>>>0>Q[g+4>>2]){i=0;if(Sb(g,1,0)){break c}}g=b<<1;g=(j+15776|0)+((b>>>0>3?g-6|0:g)<<2)|0;N[g-8>>2]=N[j+15964>>2];N[g-4>>2]=N[j+15960>>2];i=o;Ed:{switch(b-3|0){case 0:case 3:break Ed;default:continue}}Cd(j+3908|0,N[j+15776>>2],N[j+15780>>2],N[j+15784>>2],N[j+15788>>2],N[j+15792>>2],N[j+15796>>2]);continue h;case 3:w=1;if((b|0)!=1){break c}u=0;if(!(o&255)){continue}N[j+15760>>2]=0;N[j+15732>>2]=0;N[B+16>>2]=0;N[B+20>>2]=0;N[B+8>>2]=0;N[B+12>>2]=0;N[B>>2]=0;N[B+4>>2]=0;L[j+15693|0]=1;N[j+15688>>2]=H;i=o;continue;case 12:case 13:N[f+12>>2]=k;break sd;case 14:case 15:case 16:case 17:case 18:k=N[q+644>>2];if(!k){break c}w=(g+((g|0)==18)|0)-13|0;if((b|0)!=(T(w,N[k>>2])|0)){break c}p=n-b|0;i=w+p|0;n=0;while(1){l=md(f,p);g=1;if(Q[k>>2]>=2){while(1){l=ob(md(f,i),N[N[k+136>>2]+(g<<2)>>2])+l|0;i=i+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}g=N[f+8>>2];Fd:{if(N[f+12>>2]-g>>3>>>0

>>0){g=N[f+4>>2];if(!g|N[g>>2]){break Fd}N[g>>2]=130;break Fd}m=g;g=p<<3;N[m+g>>2]=l;N[(g+N[f+8>>2]|0)+4>>2]=0}p=p+1|0;n=n+1|0;if((w|0)!=(n|0)){continue}break};b=b-w|0;g=N[f+12>>2];if(b>>>0>g-N[f+8>>2]>>3>>>0){u=0;i=o;b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=161;continue}N[f+12>>2]=g-(b<<3);break td;case 19:if((b|0)!=1){break c}b=N[q+644>>2];if(!b){break c}g=nc(f);if((g|0)<0){break c}k=N[b>>2];if(Q[q+652>>2]>>0){break c}F(N[q+648>>2]+(g<<2)|0,N[b+136>>2],k<<2);break sd;case 20:if((b|0)!=2){break c}Jb(f,qb(f)+qb(f)|0);break ud;case 21:if((b|0)!=2){break c}b=qb(f);Jb(f,qb(f)-b|0);break ud;case 22:if((b|0)!=2){break c}b=qb(f);Jb(f,ob(qb(f),b));break ud;case 23:if((b|0)!=2){break c}b=qb(f);g=qb(f);if(!b){break c}Jb(f,fb(g,b));break ud;case 24:if(!N[q+644>>2]|(b|0)!=2){break c}b=nc(f);if((b|0)<0|b>>>0>=Q[q+652>>2]){break c}g=qb(f);N[N[q+648>>2]+(b<<2)>>2]=g;break sd;case 25:if(!N[q+644>>2]|(b|0)!=1){break c}b=nc(f);if((b|0)<0|b>>>0>=Q[q+652>>2]){break c}Jb(f,N[N[q+648>>2]+(b<<2)>>2]);break ud;case 27:if((b|0)!=4){break c}b=qb(f);g=qb(f);Jb(f,(aa=qb(f),ba=qb(f),ca=(b|0)<(g|0),ca?aa:ba));break ud;case 28:if(b){break c}i=N[q+536>>2];b=N[i+648>>2];g=b<<13^b;g=g>>>17^g;N[i+648>>2]=g^g<<5;w=1;Jb(f,(b&65535)+1|0);break td;default:break Cd}}if((b|0)<0){break c}w=0;if((g|0)<0){break c}u=0;i=o;g=1;b=(b|0)>=3?3:b;if(!b){continue}while(1){aa=(j+15944|0)+(b-g<<2)|0,ba=qb(f),N[aa>>2]=ba;o=(b|0)==(g|0);g=g+1|0;if(!o){continue}break};u=b;continue;case 16:if(!n){continue}if((w|0)>0){w=w-1|0;continue}if(!u){break l}u=u-1|0;Jb(f,N[(j+15944|0)+(u<<2)>>2]);continue;case 17:qb(f);continue;case 19:b=nc(f);g=qb(f);if(b>>>0>31){continue}N[(j+15808|0)+(b<<2)>>2]=g;continue;case 20:b=nc(f);if(b>>>0>31){continue}Jb(f,N[(j+15808|0)+(b<<2)>>2]);continue;case 21:b=qb(f);g=qb(f);Jb(f,(aa=qb(f),ba=qb(f),ca=(b|0)<(g|0),ca?aa:ba));continue;case 22:o=N[q+536>>2];b=N[o+648>>2];g=b<<13^b;g=g>>>17^g;N[o+648>>2]=g^g<<5;Jb(f,(b&65535)+1|0);continue;case 23:b=qb(f);Jb(f,ob(qb(f),b));continue;case 25:b=qb(f);Gd:{if((b|0)<=0){g=0;break Gd}i=b>>>(b>>>0>9)|0;while(1){g=i;i=(g+fb(b,g)|0)+1>>1;if((g|0)!=(i|0)){continue}break}}Jb(f,g);i=o;continue;case 26:b=qb(f);Jb(f,b);Jb(f,b);continue;case 27:b=qb(f);g=qb(f);Jb(f,b);Jb(f,g);continue;case 28:b=nc(f);g=N[f+12>>2];o=N[f+8>>2];if((g|0)==(o|0)){continue}o=g-o>>3;g=o-1|0;Hd:{if((b|0)<0){break Hd}g=0;if(b>>>0>=o>>>0){break Hd}g=o+(b^-1)|0}Jb(f,md(f,g));continue;case 29:b=nc(f);l=0;s=nc(f);Id:{if((s|0)<2){break Id}if(s>>>0>N[f+12>>2]-N[f+8>>2]>>3>>>0){b=N[f+4>>2];if(!b|N[b>>2]){break Id}N[b>>2]=130;break Id}if((b|0)<0){p=0-((0-b>>>0)%(s>>>0)|0)|0}else{p=(b>>>0)%(s>>>0)|0}if(!p){break Id}v=0-s|0;o=0;m=2;b=-1;g=-1;while(1){Jd:{if((b|0)!=(g|0)){k=N[f+8>>2];n=o;r=m;break Jd}k=N[f+8>>2];g=b+1|0;b=k+(g<<3)|0;n=N[b>>2];r=N[b+4>>2];b=g}b=b+p|0;b=((b|0)<(s|0)?s&b>>31:v)+b|0;k=(b<<3)+k|0;o=N[k>>2];m=N[k+4>>2];N[k>>2]=n;N[k+4>>2]=r;l=l+1|0;if((s|0)!=(l|0)){continue}break}}continue;case 32:break vd;default:break m}}if(!n|!(o&255)){break p}aa=j,ba=qb(f),N[aa+15960>>2]=ba;aa=j,ba=qb(f),N[aa+15964>>2]=ba;N[q+468>>2]=0;break m}w=1}u=0;i=o;continue}u=0;i=o;continue h}i=o;break m}i=0;l=0;break c}N[a+120>>2]=g}N[f+12>>2]=N[f+8>>2];continue}break}break}l=18;i=0}if(N[a+4>>2]){break a}}N[a+4>>2]=l}N[j+15540>>2]=0;N[j+15532>>2]=0;N[j+15536>>2]=0;a=N[j+15544>>2];if(a){b=N[j+15520>>2];Qa[N[b+8>>2]](b,a)}N[j+15544>>2]=0;N[j+15736>>2]=0;N[j+15728>>2]=0;N[j+15732>>2]=0;a=N[j+15740>>2];if(a){b=N[j+15716>>2];Qa[N[b+8>>2]](b,a)}N[j+15740>>2]=0;N[j+15764>>2]=0;N[j+15756>>2]=0;N[j+15760>>2]=0;a=N[j+15768>>2];if(a){b=N[j+15744>>2];Qa[N[b+8>>2]](b,a)}N[j+15768>>2]=0;if(A){Qa[N[x+8>>2]](x,A)}if(!i){a=N[f>>2];b=N[f+8>>2];if(b){Qa[N[a+8>>2]](a,b)}N[f+8>>2]=0;Qa[N[a+8>>2]](a,f)}La=j+15968|0}function Tj(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,M=0,P=0,R=0,S=0,U=0,V=0,W=0,X=0;D=275552;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);d=O[a+4|0]|O[a+5|0]<<8;if(d){D=((d<<8|d>>>8)&65535)+a|0}E=275552;G=275552;d=O[a+6|0]|O[a+7|0]<<8;if(d){G=((d<<8|d>>>8)&65535)+a|0}d=O[a+8|0]|O[a+9|0]<<8;if(d){E=((d<<8|d>>>8)&65535)+a|0}d=O[a+10|0]|O[a+11|0]<<8;if(d){S=(d<<8|d>>>8)&65535;H=E+4|0;I=G+4|0;J=D+4|0;M=a+12|0;while(1){K=275552;d=O[M|0]|O[M+1|0]<<8;if(d){K=((d<<8|d>>>8)&65535)+a|0}d=O[K|0]|O[K+1|0]<<8;if(d){U=(d<<8|d>>>8)&65535;P=K+2|0;while(1){d=O[P|0]|O[P+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+K|0}else{d=275552}r=O[d|0]|O[d+1|0]<<8;g=(r<<8|r>>>8)&65535;v=(g<<1)+d|0;e=v;c=O[e+2|0]|O[e+3|0]<<8;t=(c<<8|c>>>8)&65535;z=(e+2|0)+(c?t<<1:2)|0;A=O[z|0]|O[z+1|0]<<8;R=(A<<8|A>>>8)&65535;x=(R<<1)+z|0;V=O[x+2|0]|O[x+3|0]<<8;if(r){y=d+2|0;i=N[b+8>>2];r=i+24|0;p=i+36|0;B=i+12|0;while(1){q=O[y|0]|O[y+1|0]<<8;a:{b:{c:{d=O[D|0]|O[D+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=O[J|0]|O[J+1|0]<<8;if(!d){break a}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[J|0]|O[J+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+D|0)+6|0;d:{if((q|0)!=(O[d|0]|O[d+1|0]<<8)){break d}d=O[D+2|0]|O[D+3|0]<<8;s=((d<<8|d>>>8)&65535)+n|0;d=O[i+12|0];if(O[i+48|0]){if(!d){break d}e=N[i+20>>2];d=N[i+28>>2];k=s>>>9|0;m=N[i+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break d}d=d-1|0;f=0;while(1){e:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];f:{if((c|0)>(k|0)){d=e-1|0;break f}if((c|0)==(k|0)){break e}f=e+1|0}if((d|0)>=(f|0)){continue}break d}break}N[i+20>>2]=e}c=N[i+44>>2];if(!c){break d}d=N[(m+(e<<3)|0)+4>>2];N[i+16>>2]=-1;e=(c+(d<<6)|0)+(s>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,s)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break d}if(!d){break d}N[i+16>>2]=-1;o=s>>>9|0;c=N[i+32>>2];g:{h:{d=N[i+20>>2];e=N[i+28>>2];if(d>>>0>=e>>>0){break h}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break h}c=d+4|0;break g}m=N[i+40>>2];i:{j:{if((e|0)<=0){d=0;break j}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];k:{if((k|0)>(o|0)){f=e-1|0;break k}if((k|0)==(o|0)){d=e;break i}d=e+1|0}if((d|0)<=(f|0)){continue}break}}l:{m:{l=N[p>>2];n:{if((l|0)<0){break n}o:{p:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break p}e=$a(N[i+44>>2],l<<6);if(!e){break p}N[i+36>>2]=l;N[i+44>>2]=e;e=N[i+40>>2]}if(e>>>0>>0){C(N[i+44>>2]+(e<<6)|0,0,k-e<<6)}N[i+40>>2]=k;e=N[i+24>>2];if((e|0)<0){break o}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break p}f=$a(N[i+32>>2],e<<3);if(!f){break p}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,k-c<<3)}N[i+28>>2]=k;c=N[i+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);if(Q[i+28>>2]>d>>>0){break m}N[147456]=0;N[147457]=0;c=589824;break l}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break n}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}q:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break q}}N[p>>2]=-1;L[B|0]=0;break d}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[B|0]=0;break d}c=e+N[i+32>>2]|0}N[c>>2]=o;N[c+4>>2]=m;c=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[i+44>>2];if(!d){break d}d=(d+(N[c>>2]<<6)|0)+(s>>>3&56)|0;c=N[d+4>>2];e=s&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break a}d=O[D+2|0]|O[D+3|0]<<8;if(!d){break a}o=T((d<<8|d>>>8)&65535,6)+J|0;m=J;r:{s:{t:{u:{v:{w:{while(1){x:{y:{if((q|0)!=(O[m+4|0]|O[m+5|0]<<8)){break y}d=O[m+2|0]|O[m+3|0]<<8;h=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;u=(d<<8|d>>>8)&65535;if(O[i+48|0]){rd(B,u,h);break y}if(!O[B|0]){break y}if(h>>>0>>0){break a}N[i+16>>2]=-1;w=h>>>9|0;s=u>>>9|0;c=N[i+32>>2];z:{A:{B:{d=N[i+20>>2];f=N[i+28>>2];if(d>>>0>=f>>>0){break B}d=(d<<3)+c|0;if((s|0)!=N[d>>2]){break B}d=d+4|0;break A}e=N[i+40>>2];C:{D:{if((f|0)<=0){d=0;break D}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];E:{if((j|0)>(s|0)){f=k-1|0;break E}if((j|0)==(s|0)){d=k;break C}d=k+1|0}if((d|0)<=(f|0)){continue}break}}F:{G:{l=N[p>>2];H:{if((l|0)<0){break H}I:{J:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break J}f=$a(N[i+44>>2],l<<6);if(!f){break J}N[i+36>>2]=l;N[i+44>>2]=f;f=N[i+40>>2]}if(f>>>0>>0){C(N[i+44>>2]+(f<<6)|0,0,j-f<<6)}N[i+40>>2]=j;f=N[i+24>>2];if((f|0)<0){break I}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=r;if(f>>>0>536870911){break J}k=$a(N[i+32>>2],f<<3);if(!k){break J}N[i+24>>2]=f;N[i+32>>2]=k}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);if(Q[i+28>>2]>d>>>0){break G}N[147456]=0;N[147457]=0;c=589824;break F}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break H}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}K:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break K}}N[p>>2]=-1;break H}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[B|0]=0;d=0;break z}c=f+N[i+32>>2]|0}N[c>>2]=s;N[c+4>>2]=e;c=N[i+32>>2]}N[i+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[i+44>>2]+(N[d>>2]<<6)|0}L:{if((s|0)==(w|0)){if(!d){break a}c=u&63;f=c&31;if((c&63)>>>0>=32){e=-1<>>32-f}n=c;c=e;f=u>>>6&7;e=d+(f<<3)|0;k=h>>>6&7;M:{if((k|0)==(f|0)){d=e;break M}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break M}C(e,255,d-e|0)}e=h&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){e=-1<>>32-f}n=c;c=e;f=u>>>6&7;e=d+(f<<3)|0;N:{if((f|0)==7){d=e;break N}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break N}C(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=s+1|0;if(w>>>0>n>>>0){while(1){s=n&8388607;c=N[i+32>>2];O:{P:{d=N[i+20>>2];e=N[i+28>>2];if(d>>>0>=e>>>0){break P}d=(d<<3)+c|0;if((s|0)!=N[d>>2]){break P}c=d+4|0;break O}k=N[i+40>>2];Q:{R:{if((e|0)<=0){d=0;break R}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];S:{if((j|0)>(s|0)){f=e-1|0;break S}if((j|0)==(s|0)){d=e;break Q}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[B|0]){break a}l=N[p>>2];if((l|0)<0){break r}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break u}c=$a(N[i+44>>2],l<<6);if(!c){break u}N[i+36>>2]=l;N[i+44>>2]=c;e=N[i+40>>2]}if(e>>>0>>0){C(N[i+44>>2]+(e<<6)|0,0,j-e<<6)}N[i+40>>2]=j;e=N[i+24>>2];if((e|0)<0){break s}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break t}f=$a(N[i+32>>2],e<<3);c=r;if(!f){break t}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);T:{if(Q[i+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break T}c=e+N[i+32>>2]|0}N[c>>2]=s;N[c+4>>2]=k;c=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[i+44>>2];if(!d){break a}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((w|0)!=(n|0)){continue}break}}l=N[i+32>>2];U:{V:{d=N[i+20>>2];c=N[i+28>>2];if(d>>>0>=c>>>0){break V}d=(d<<3)+l|0;if((w|0)!=N[d>>2]){break V}c=d+4|0;break U}k=N[i+40>>2];W:{X:{if((c|0)<=0){d=0;break X}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];Y:{if((e|0)>(w|0)){f=c-1|0;break Y}if((e|0)==(w|0)){d=c;break W}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[B|0]){break a}f=N[p>>2];if((f|0)<0){break r}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break x}c=$a(N[i+44>>2],f<<6);if(!c){break x}N[i+36>>2]=f;N[i+44>>2]=c;e=N[i+40>>2]}if(e>>>0>>0){C(N[i+44>>2]+(e<<6)|0,0,j-e<<6)}N[i+40>>2]=j;e=N[i+24>>2];if((e|0)<0){break v}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break w}f=$a(N[i+32>>2],e<<3);c=r;if(!f){break w}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);Z:{if(Q[i+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break Z}c=e+N[i+32>>2]|0}N[c>>2]=w;N[c+4>>2]=k;l=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[i+44>>2];if(!d){break a}c=d+(N[c>>2]<<6)|0;d=h>>>6&7;_:{if(!d){d=c;break _}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break _}C(c,255,e-8|0)}c=h&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];c=c+e|0;e=j+n|0;c=e>>>0>>0?c+1|0:c;N[d>>2]=e|k;N[d+4>>2]=c|f}m=m+6|0;if((o|0)!=(m|0)){continue}break a}break}c=p}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break r}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}$:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break $}}N[p>>2]=-1;L[B|0]=0;break a}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c;L[B|0]=0;break a}c=p}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break r}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}aa:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break aa}}N[p>>2]=-1;L[B|0]=0;break a}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[B|0]=0}y=y+2|0;g=g-1|0;if(g){continue}break}}if(t>>>0>=2){y=v+4|0;g=t-1|0;h=N[b+12>>2];r=h+24|0;p=h+36|0;u=h+12|0;while(1){v=O[y|0]|O[y+1|0]<<8;ba:{ca:{da:{d=O[G|0]|O[G+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break ca;case 0:break da;default:break ba}}d=O[I|0]|O[I+1|0]<<8;if(!d){break ba}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[I|0]|O[I+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+G|0)+6|0;ea:{if((v|0)!=(O[d|0]|O[d+1|0]<<8)){break ea}d=O[G+2|0]|O[G+3|0]<<8;q=((d<<8|d>>>8)&65535)+n|0;d=O[h+12|0];if(O[h+48|0]){if(!d){break ea}e=N[h+20>>2];d=N[h+28>>2];k=q>>>9|0;m=N[h+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break ea}d=d-1|0;f=0;while(1){fa:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];ga:{if((c|0)>(k|0)){d=e-1|0;break ga}if((c|0)==(k|0)){break fa}f=e+1|0}if((d|0)>=(f|0)){continue}break ea}break}N[h+20>>2]=e}c=N[h+44>>2];if(!c){break ea}d=N[(m+(e<<3)|0)+4>>2];N[h+16>>2]=-1;e=(c+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break ea}if(!d){break ea}N[h+16>>2]=-1;o=q>>>9|0;c=N[h+32>>2];ha:{ia:{d=N[h+20>>2];e=N[h+28>>2];if(d>>>0>=e>>>0){break ia}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break ia}c=d+4|0;break ha}m=N[h+40>>2];ja:{ka:{if((e|0)<=0){d=0;break ka}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];la:{if((k|0)>(o|0)){f=e-1|0;break la}if((k|0)==(o|0)){d=e;break ja}d=e+1|0}if((d|0)<=(f|0)){continue}break}}ma:{na:{l=N[p>>2];oa:{if((l|0)<0){break oa}pa:{qa:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break qa}e=$a(N[h+44>>2],l<<6);if(!e){break qa}N[h+36>>2]=l;N[h+44>>2]=e;e=N[h+40>>2]}if(e>>>0>>0){C(N[h+44>>2]+(e<<6)|0,0,k-e<<6)}N[h+40>>2]=k;e=N[h+24>>2];if((e|0)<0){break pa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break qa}f=$a(N[h+32>>2],e<<3);if(!f){break qa}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,k-c<<3)}N[h+28>>2]=k;c=N[h+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);if(Q[h+28>>2]>d>>>0){break na}N[147456]=0;N[147457]=0;e=589824;break ma}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break oa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}ra:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break ra}}N[p>>2]=-1;L[u|0]=0;break ea}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[u|0]=0;break ea}e=e+N[h+32>>2]|0}N[e>>2]=o;N[e+4>>2]=m;c=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[h+44>>2];if(!d){break ea}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;c=N[d+4>>2];e=q&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break ba}d=O[G+2|0]|O[G+3|0]<<8;if(!d){break ba}o=T((d<<8|d>>>8)&65535,6)+I|0;m=I;sa:{ta:{ua:{va:{wa:{xa:{while(1){ya:{za:{if((v|0)!=(O[m+4|0]|O[m+5|0]<<8)){break za}d=O[m+2|0]|O[m+3|0]<<8;w=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;s=(d<<8|d>>>8)&65535;if(O[h+48|0]){rd(u,s,w);break za}if(!O[u|0]){break za}if(s>>>0>w>>>0){break ba}N[h+16>>2]=-1;t=w>>>9|0;q=s>>>9|0;c=N[h+32>>2];Aa:{Ba:{Ca:{d=N[h+20>>2];f=N[h+28>>2];if(d>>>0>=f>>>0){break Ca}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Ca}d=d+4|0;break Ba}e=N[h+40>>2];Da:{Ea:{if((f|0)<=0){d=0;break Ea}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];Fa:{if((j|0)>(q|0)){f=k-1|0;break Fa}if((j|0)==(q|0)){d=k;break Da}d=k+1|0}if((d|0)<=(f|0)){continue}break}}Ga:{Ha:{l=N[p>>2];Ia:{if((l|0)<0){break Ia}Ja:{Ka:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break Ka}f=$a(N[h+44>>2],l<<6);if(!f){break Ka}N[h+36>>2]=l;N[h+44>>2]=f;f=N[h+40>>2]}if(f>>>0>>0){C(N[h+44>>2]+(f<<6)|0,0,j-f<<6)}N[h+40>>2]=j;f=N[h+24>>2];if((f|0)<0){break Ja}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=r;if(f>>>0>536870911){break Ka}k=$a(N[h+32>>2],f<<3);if(!k){break Ka}N[h+24>>2]=f;N[h+32>>2]=k}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);if(Q[h+28>>2]>d>>>0){break Ha}N[147456]=0;N[147457]=0;c=589824;break Ga}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break Ia}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}La:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break La}}N[p>>2]=-1;break Ia}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[u|0]=0;d=0;break Aa}c=f+N[h+32>>2]|0}N[c>>2]=q;N[c+4>>2]=e;c=N[h+32>>2]}N[h+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[h+44>>2]+(N[d>>2]<<6)|0}Ma:{if((q|0)==(t|0)){if(!d){break ba}c=s&63;e=c&31;if((c&63)>>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;k=w>>>6&7;Na:{if((k|0)==(f|0)){d=e;break Na}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break Na}C(e,255,d-e|0)}e=w&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){e=-1<>>32-f}n=c;c=e;f=s>>>6&7;e=d+(f<<3)|0;Oa:{if((f|0)==7){d=e;break Oa}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break Oa}C(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=q+1|0;if(t>>>0>n>>>0){while(1){q=n&8388607;c=N[h+32>>2];Pa:{Qa:{d=N[h+20>>2];e=N[h+28>>2];if(d>>>0>=e>>>0){break Qa}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Qa}c=d+4|0;break Pa}k=N[h+40>>2];Ra:{Sa:{if((e|0)<=0){d=0;break Sa}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];Ta:{if((j|0)>(q|0)){f=e-1|0;break Ta}if((j|0)==(q|0)){d=e;break Ra}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[u|0]){break ba}l=N[p>>2];if((l|0)<0){break sa}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break va}c=$a(N[h+44>>2],l<<6);if(!c){break va}N[h+36>>2]=l;N[h+44>>2]=c;e=N[h+40>>2]}if(e>>>0>>0){C(N[h+44>>2]+(e<<6)|0,0,j-e<<6)}N[h+40>>2]=j;e=N[h+24>>2];if((e|0)<0){break ta}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break ua}f=$a(N[h+32>>2],e<<3);c=r;if(!f){break ua}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);Ua:{if(Q[h+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break Ua}e=e+N[h+32>>2]|0}N[e>>2]=q;N[e+4>>2]=k;c=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[h+44>>2];if(!d){break ba}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((t|0)!=(n|0)){continue}break}}l=N[h+32>>2];Va:{Wa:{d=N[h+20>>2];c=N[h+28>>2];if(d>>>0>=c>>>0){break Wa}d=(d<<3)+l|0;if((t|0)!=N[d>>2]){break Wa}c=d+4|0;break Va}k=N[h+40>>2];Xa:{Ya:{if((c|0)<=0){d=0;break Ya}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];Za:{if((e|0)>(t|0)){f=c-1|0;break Za}if((e|0)==(t|0)){d=c;break Xa}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[u|0]){break ba}f=N[p>>2];if((f|0)<0){break sa}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break ya}c=$a(N[h+44>>2],f<<6);if(!c){break ya}N[h+36>>2]=f;N[h+44>>2]=c;e=N[h+40>>2]}if(e>>>0>>0){C(N[h+44>>2]+(e<<6)|0,0,j-e<<6)}N[h+40>>2]=j;e=N[h+24>>2];if((e|0)<0){break wa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break xa}f=$a(N[h+32>>2],e<<3);c=r;if(!f){break xa}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);_a:{if(Q[h+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break _a}c=e+N[h+32>>2]|0}N[c>>2]=t;N[c+4>>2]=k;l=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[h+44>>2];if(!d){break ba}c=d+(N[c>>2]<<6)|0;d=w>>>6&7;$a:{if(!d){d=c;break $a}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break $a}C(c,255,e-8|0)}c=w&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];c=c+e|0;e=j+n|0;c=e>>>0>>0?c+1|0:c;N[d>>2]=e|k;N[d+4>>2]=c|f}m=m+6|0;if((o|0)!=(m|0)){continue}break ba}break}c=p}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break sa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}ab:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break ab}}N[p>>2]=-1;L[u|0]=0;break ba}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c;L[u|0]=0;break ba}c=p}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break sa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}bb:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break bb}}N[p>>2]=-1;L[u|0]=0;break ba}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[u|0]=0}y=y+2|0;g=g-1|0;if(g){continue}break}}if(A){y=z+2|0;g=N[b+16>>2];r=g+24|0;p=g+36|0;s=g+12|0;while(1){v=O[y|0]|O[y+1|0]<<8;cb:{db:{eb:{d=O[E|0]|O[E+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break db;case 0:break eb;default:break cb}}d=O[H|0]|O[H+1|0]<<8;if(!d){break cb}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[H|0]|O[H+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+E|0)+6|0;fb:{if((v|0)!=(O[d|0]|O[d+1|0]<<8)){break fb}d=O[E+2|0]|O[E+3|0]<<8;q=((d<<8|d>>>8)&65535)+n|0;d=O[g+12|0];if(O[g+48|0]){if(!d){break fb}e=N[g+20>>2];d=N[g+28>>2];k=q>>>9|0;m=N[g+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break fb}d=d-1|0;f=0;while(1){gb:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];hb:{if((c|0)>(k|0)){d=e-1|0;break hb}if((c|0)==(k|0)){break gb}f=e+1|0}if((d|0)>=(f|0)){continue}break fb}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break fb}d=N[(m+(e<<3)|0)+4>>2];N[g+16>>2]=-1;e=(c+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break fb}if(!d){break fb}N[g+16>>2]=-1;o=q>>>9|0;c=N[g+32>>2];ib:{jb:{d=N[g+20>>2];e=N[g+28>>2];if(d>>>0>=e>>>0){break jb}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break jb}c=d+4|0;break ib}m=N[g+40>>2];kb:{lb:{if((e|0)<=0){d=0;break lb}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];mb:{if((k|0)>(o|0)){f=e-1|0;break mb}if((k|0)==(o|0)){d=e;break kb}d=e+1|0}if((d|0)<=(f|0)){continue}break}}nb:{ob:{l=N[p>>2];pb:{if((l|0)<0){break pb}qb:{rb:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break rb}e=$a(N[g+44>>2],l<<6);if(!e){break rb}N[g+36>>2]=l;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,k-e<<6)}N[g+40>>2]=k;e=N[g+24>>2];if((e|0)<0){break qb}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break rb}f=$a(N[g+32>>2],e<<3);if(!f){break rb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,k-c<<3)}N[g+28>>2]=k;c=N[g+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break ob}N[147456]=0;N[147457]=0;e=589824;break nb}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break pb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}sb:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break sb}}N[p>>2]=-1;L[s|0]=0;break fb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[s|0]=0;break fb}e=e+N[g+32>>2]|0}N[e>>2]=o;N[e+4>>2]=m;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break fb}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;c=N[d+4>>2];e=q&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break cb}d=O[E+2|0]|O[E+3|0]<<8;if(!d){break cb}o=T((d<<8|d>>>8)&65535,6)+H|0;m=H;tb:{ub:{vb:{wb:{xb:{yb:{while(1){zb:{Ab:{if((v|0)!=(O[m+4|0]|O[m+5|0]<<8)){break Ab}d=O[m+2|0]|O[m+3|0]<<8;t=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;z=(d<<8|d>>>8)&65535;if(O[g+48|0]){rd(s,z,t);break Ab}if(!O[s|0]){break Ab}if(t>>>0>>0){break cb}N[g+16>>2]=-1;A=t>>>9|0;q=z>>>9|0;c=N[g+32>>2];Bb:{Cb:{Db:{d=N[g+20>>2];f=N[g+28>>2];if(d>>>0>=f>>>0){break Db}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Db}d=d+4|0;break Cb}e=N[g+40>>2];Eb:{Fb:{if((f|0)<=0){d=0;break Fb}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];Gb:{if((j|0)>(q|0)){f=k-1|0;break Gb}if((j|0)==(q|0)){d=k;break Eb}d=k+1|0}if((d|0)<=(f|0)){continue}break}}Hb:{Ib:{l=N[p>>2];Jb:{if((l|0)<0){break Jb}Kb:{Lb:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break Lb}f=$a(N[g+44>>2],l<<6);if(!f){break Lb}N[g+36>>2]=l;N[g+44>>2]=f;f=N[g+40>>2]}if(f>>>0>>0){C(N[g+44>>2]+(f<<6)|0,0,j-f<<6)}N[g+40>>2]=j;f=N[g+24>>2];if((f|0)<0){break Kb}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=r;if(f>>>0>536870911){break Lb}k=$a(N[g+32>>2],f<<3);if(!k){break Lb}N[g+24>>2]=f;N[g+32>>2]=k}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break Ib}N[147456]=0;N[147457]=0;f=589824;break Hb}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break Jb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}Mb:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break Mb}}N[p>>2]=-1;break Jb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[s|0]=0;d=0;break Bb}f=f+N[g+32>>2]|0}N[f>>2]=q;N[f+4>>2]=e;c=N[g+32>>2]}N[g+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[g+44>>2]+(N[d>>2]<<6)|0}Nb:{if((q|0)==(A|0)){if(!d){break cb}c=z&63;e=c&31;if((c&63)>>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;k=t>>>6&7;Ob:{if((k|0)==(f|0)){d=e;break Ob}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break Ob}C(e,255,d-e|0)}e=t&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;Pb:{if((f|0)==7){d=e;break Pb}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break Pb}C(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=q+1|0;if(A>>>0>n>>>0){while(1){q=n&8388607;c=N[g+32>>2];Qb:{Rb:{d=N[g+20>>2];e=N[g+28>>2];if(d>>>0>=e>>>0){break Rb}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Rb}c=d+4|0;break Qb}k=N[g+40>>2];Sb:{Tb:{if((e|0)<=0){d=0;break Tb}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];Ub:{if((j|0)>(q|0)){f=e-1|0;break Ub}if((j|0)==(q|0)){d=e;break Sb}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[s|0]){break cb}l=N[p>>2];if((l|0)<0){break tb}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break wb}c=$a(N[g+44>>2],l<<6);if(!c){break wb}N[g+36>>2]=l;N[g+44>>2]=c;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,j-e<<6)}N[g+40>>2]=j;e=N[g+24>>2];if((e|0)<0){break ub}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break vb}f=$a(N[g+32>>2],e<<3);c=r;if(!f){break vb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);Vb:{if(Q[g+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break Vb}e=e+N[g+32>>2]|0}N[e>>2]=q;N[e+4>>2]=k;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break cb}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((A|0)!=(n|0)){continue}break}}l=N[g+32>>2];Wb:{Xb:{d=N[g+20>>2];c=N[g+28>>2];if(d>>>0>=c>>>0){break Xb}d=(d<<3)+l|0;if((A|0)!=N[d>>2]){break Xb}c=d+4|0;break Wb}k=N[g+40>>2];Yb:{Zb:{if((c|0)<=0){d=0;break Zb}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];_b:{if((e|0)>(A|0)){f=c-1|0;break _b}if((e|0)==(A|0)){d=c;break Yb}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[s|0]){break cb}f=N[p>>2];if((f|0)<0){break tb}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break zb}c=$a(N[g+44>>2],f<<6);if(!c){break zb}N[g+36>>2]=f;N[g+44>>2]=c;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,j-e<<6)}N[g+40>>2]=j;e=N[g+24>>2];if((e|0)<0){break xb}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break yb}f=$a(N[g+32>>2],e<<3);c=r;if(!f){break yb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);$b:{if(Q[g+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break $b}e=e+N[g+32>>2]|0}N[e>>2]=A;N[e+4>>2]=k;l=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[g+44>>2];if(!d){break cb}c=d+(N[c>>2]<<6)|0;d=t>>>6&7;ac:{if(!d){d=c;break ac}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break ac}C(c,255,e-8|0)}c=t&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];e=c+e|0;c=j+n|0;e=c>>>0>>0?e+1|0:e;N[d>>2]=c|k;N[d+4>>2]=e|f}m=m+6|0;if((o|0)!=(m|0)){continue}break cb}break}c=p}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break tb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}bc:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break bc}}N[p>>2]=-1;L[s|0]=0;break cb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c;L[s|0]=0;break cb}c=p}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break tb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}cc:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break cc}}N[p>>2]=-1;L[s|0]=0;break cb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[s|0]=0}y=y+2|0;R=R-1|0;if(R){continue}break}}if(V){j=(V<<8|V>>>8)&65535;k=x+4|0;n=0;while(1){r=N[b+32>>2];dc:{if(!r|!N[b+24>>2]|N[b+20>>2]==275552){break dc}d=k+(n<<2)|0;d=O[d+2|0]|O[d+3|0]<<8;q=(d<<8|d>>>8)&65535;x=q>>>9|0;v=N[b+28>>2];p=N[v+32>>2];ec:{fc:{gc:{d=N[v+20>>2];m=N[v+28>>2];if(d>>>0>=m>>>0){break gc}d=p+(d<<3)|0;if((x|0)!=N[d>>2]){break gc}c=d+4|0;break fc}e=0;if((m|0)<=0){break ec}f=m-1|0;e=0;hc:{while(1){o=e+f>>>1|0;c=p+(o<<3)|0;d=N[c>>2];ic:{if((d|0)>(x|0)){f=o-1|0;break ic}if((d|0)==(x|0)){break hc}e=o+1|0}if((e|0)<=(f|0)){continue}break}e=0;break ec}N[v+20>>2]=o;c=(o>>>0>=m>>>0?275552:c)+4|0}d=N[v+44>>2];e=0;if(!d){break ec}c=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;d=N[c>>2];c=N[c+4>>2];e=q&63;p=e&31;e=((e&63)>>>0>=32?c>>>p|0:((1<>>p)&1}if((e|0)!=O[v+48|0]){break dc}e=N[b+16>>2];N[b+16>>2]=275552;c=N[b+8>>2];d=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=r-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,q);N[b+16>>2]=e;N[b+8>>2]=c;N[b+12>>2]=d;N[b+32>>2]=N[b+32>>2]+1;o=N[b+28>>2];d=O[o+12|0];if(O[o+48|0]){if(!d){break dc}c=N[o+20>>2];d=N[o+28>>2];r=N[o+32>>2];if(!(c>>>0>>0&(x|0)==N[r+(c<<3)>>2])){if((d|0)<=0){break dc}f=d-1|0;e=0;while(1){jc:{c=e+f>>>1|0;d=N[r+(c<<3)>>2];kc:{if((d|0)>(x|0)){f=c-1|0;break kc}if((d|0)==(x|0)){break jc}e=c+1|0}if((e|0)<=(f|0)){continue}break dc}break}N[o+20>>2]=c}e=N[o+44>>2];if(!e){break dc}d=N[(r+(c<<3)|0)+4>>2];N[o+16>>2]=-1;e=(e+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break dc}if(!d){break dc}N[o+16>>2]=-1;c=N[o+32>>2];lc:{mc:{d=N[o+20>>2];e=N[o+28>>2];if(d>>>0>=e>>>0){break mc}d=(d<<3)+c|0;if((x|0)!=N[d>>2]){break mc}c=d+4|0;break lc}d=N[o+40>>2];nc:{oc:{if((e|0)<=0){f=0;break oc}e=e-1|0;f=0;while(1){r=e+f>>>1|0;p=N[(r<<3)+c>>2];pc:{if((p|0)>(x|0)){e=r-1|0;break pc}if((p|0)==(x|0)){f=r;break nc}f=r+1|0}if((e|0)>=(f|0)){continue}break}}qc:{rc:{e=o+36|0;l=N[e>>2];sc:{if((l|0)<0){break sc}tc:{uc:{c=d;r=c+1|0;p=(r|0)>0?r:0;if(p>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(p>>>0>=l>>>0){continue}break}m=e;if(l>>>0>67108863){break uc}c=$a(N[o+44>>2],l<<6);if(!c){break uc}N[o+36>>2]=l;N[o+44>>2]=c;c=N[o+40>>2]}if(c>>>0

>>0){C(N[o+44>>2]+(c<<6)|0,0,p-c<<6)}N[o+40>>2]=p;m=o+24|0;c=N[m>>2];if((c|0)<0){break tc}if(c>>>0

>>0){while(1){c=((c>>>1|0)+c|0)+8|0;if(p>>>0>=c>>>0){continue}break}if(c>>>0>536870911){break uc}r=$a(N[o+32>>2],c<<3);if(!r){break uc}N[o+24>>2]=c;N[o+32>>2]=r}c=N[o+28>>2];if(c>>>0

>>0){C(N[o+32>>2]+(c<<3)|0,0,p-c<<3)}N[o+28>>2]=p;c=N[o+44>>2]+(d<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=f<<3;c=e+N[o+32>>2]|0;F(c+8|0,c,N[o+28>>2]+(f^-1)<<3);if(Q[o+28>>2]>f>>>0){break rc}N[147456]=0;N[147457]=0;e=589824;break qc}N[m>>2]=-1}f=N[o+36>>2];if((f|0)<0){break sc}d=N[o+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}vc:{if(f>>>0<=67108863){d=$a(N[o+44>>2],f<<6);if(d){break vc}}N[e>>2]=-1;L[o+12|0]=0;break dc}N[o+36>>2]=f;N[o+44>>2]=d}d=N[o+40>>2];if(d>>>0>>0){C(N[o+44>>2]+(d<<6)|0,0,c-d<<6)}N[o+40>>2]=c}L[o+12|0]=0;break dc}e=e+N[o+32>>2]|0}N[e>>2]=x;N[e+4>>2]=d;c=N[o+32>>2]}N[o+20>>2]=f;c=((f<<3)+c|0)+4|0}d=N[o+44>>2];if(!d){break dc}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;e=N[d+4>>2];c=q&63;r=c&31;if((c&63)>>>0>=32){c=1<>>32-r}N[d>>2]=f|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}}P=P+2|0;U=U-1|0;if(U){continue}break}}M=M+2|0;S=S-1|0;if(S){continue}break}}}function kq(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;d=La-96|0;La=d;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:{z:{A:{B:{C:{D:{E:{F:{switch(a-1|0){default:switch(a-255|0){case 37:break j;case 36:break k;case 35:break l;case 0:break E;case 38:break i;default:break h};case 10:a=N[b+4>>2];if(a>>>0>2]){N[b+8>>2]=a+1}c=b+4164|0;a=N[b+4168>>2];G:{if(a){a=a-1|0;N[b+4168>>2]=a;a=(c+T(a,20)|0)+8|0;break G}L[c|0]=1;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;a=589824}c=N[a+4>>2];N[b+4128>>2]=N[a>>2];N[b+4132>>2]=c;N[b+4144>>2]=N[a+16>>2];f=a+8|0;c=N[f+4>>2];g=b+4136|0;N[g>>2]=N[f>>2];N[g+4>>2]=c;f=N[a>>2];c=N[a+4>>2];N[b+8>>2]=N[a+8>>2];N[b>>2]=f;N[b+4>>2]=c;break a;case 30:break m;case 29:break n;case 26:break o;case 25:break p;case 24:break q;case 23:break r;case 7:break s;case 6:break t;case 5:break u;case 4:break v;case 3:break w;case 21:break x;case 20:break y;case 18:case 19:break z;case 2:case 22:break A;case 0:case 17:break B;case 28:break C;case 9:break D;case 13:break F;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break h}}L[b+4148|0]=1;N[b+20>>2]=0;break a}a=N[b+4>>2];c=N[b+8>>2];if(a>>>0>>0){break a}g=b+16|0;H:{if(a>>>0<=c>>>0){c=a+1|0;a=275552;break H}a=N[b>>2]+c|0}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);f=N[b+20>>2];I:{if(f>>>0<=512){N[b+20>>2]=f+1;f=(g+(f<<3)|0)+8|0;break I}L[g|0]=1;N[147456]=0;N[147457]=0;f=589824}S[f>>3]=+(a|0)*152587890625e-16;N[b+8>>2]=c+4;break a}c=b+16|0;J:{a=N[b+20>>2];K:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(c+(a<<3)|0)+8>>3];if(V(e)<2147483648){a=~~e;break K}a=-2147483648;break K}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}l=a+N[b+4380>>2]|0;L:{if((l|0)<0){break L}a=N[b+4384>>2];if(!a){break L}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(l>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break L}a=N[b+4168>>2];if(a>>>0<10){break J}}N[b+8>>2]=N[b+4>>2]+1;break a}g=N[b+4>>2];h=N[b>>2];N[b+4128>>2]=h;N[b+4132>>2]=g;N[b+4168>>2]=a+1;m=b+4136|0;N[m>>2]=N[b+8>>2];c=b+T(a,20)|0;f=b+4144|0;N[c+4188>>2]=N[f>>2];a=c+4172|0;N[a>>2]=h;N[a+4>>2]=g;a=N[m+4>>2];c=c+4180|0;N[c>>2]=N[m>>2];N[c+4>>2]=a;g=b+4128|0;a=0;h=N[b+4384>>2];M:{if(!h){break M}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(l>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break M}be(d+80|0,h,l);a=N[d+80>>2];j=N[d+84>>2]}N[b+4128>>2]=a;N[b+4132>>2]=j;N[f>>2]=l;N[m>>2]=0;N[m+4>>2]=2;N[b+8>>2]=N[g+8>>2];a=N[g+4>>2];N[b>>2]=N[g>>2];N[b+4>>2]=a;break a}c=b+16|0;N:{a=N[b+20>>2];O:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(c+(a<<3)|0)+8>>3];if(V(e)<2147483648){a=~~e;break O}a=-2147483648;break O}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}l=a+N[b+4372>>2]|0;P:{if((l|0)<0){break P}a=N[b+4376>>2];if(!a){break P}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(l>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break P}a=N[b+4168>>2];if(a>>>0<10){break N}}N[b+8>>2]=N[b+4>>2]+1;break a}g=N[b+4>>2];h=N[b>>2];N[b+4128>>2]=h;N[b+4132>>2]=g;N[b+4168>>2]=a+1;m=b+4136|0;N[m>>2]=N[b+8>>2];c=b+T(a,20)|0;f=b+4144|0;N[c+4188>>2]=N[f>>2];a=c+4172|0;N[a>>2]=h;N[a+4>>2]=g;a=N[m+4>>2];c=c+4180|0;N[c>>2]=N[m>>2];N[c+4>>2]=a;g=b+4128|0;a=0;h=N[b+4376>>2];Q:{if(!h){break Q}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(l>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break Q}be(d+80|0,h,l);a=N[d+80>>2];j=N[d+84>>2]}N[b+4128>>2]=a;N[b+4132>>2]=j;N[f>>2]=l;N[m>>2]=0;N[m+4>>2]=1;N[b+8>>2]=N[g+8>>2];a=N[g+4>>2];N[b>>2]=N[g>>2];N[b+4>>2]=a;break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4152>>2]=N[b+4152>>2]+(a>>>1|0);break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4156>>2]=N[b+4156>>2]+(a>>>1|0);break a}R:{if(O[b+4150|0]){c=N[b+4160>>2];break R}L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;c=(a+N[b+4152>>2]|0)+7>>>3|0;N[b+4160>>2]=c}a=N[b+8>>2]+c|0;if(a>>>0>Q[b+4>>2]){break a}N[b+8>>2]=a;N[b+20>>2]=0;break a}h=b+16|0;k=S[b+4400>>3];i=S[b+4392>>3];g=N[b+20>>2];if(!g){l=589824;break c}a=g-1|0;l=(h+(a<<3)|0)+8|0;if(!a){break c}a=g-2|0;f=a>>>1|0;o=S[(h+(a<<3)|0)+8>>3];break b}f=b+16|0;i=S[b+4400>>3];e=S[b+4392>>3];a=N[b+20>>2];S:{if(a){a=a-1|0;l=a>>>1|0;k=S[(f+(a<<3)|0)+8>>3];break S}L[f|0]=1;N[147456]=0;N[147457]=0;k=0}L[c|0]=0;S[b+4400>>3]=i;S[b+4392>>3]=e+k;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+l|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}f=b+16|0;i=S[b+4400>>3];e=S[b+4392>>3];a=N[b+20>>2];T:{if(a){a=a-1|0;l=a>>>1|0;k=S[(f+(a<<3)|0)+8>>3];break T}L[f|0]=1;N[147456]=0;N[147457]=0;k=0}L[c|0]=0;S[b+4400>>3]=i+k;S[b+4392>>3]=e;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+l|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}h=N[b+20>>2];if(h>>>0>=2){m=b+16|0;g=2;a=0;while(1){U:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;f=589824;break U}f=(m+(a<<3)|0)+8|0}k=S[b+4392>>3]+S[f>>3];e=S[b+4400>>3]+S[(m+(a<<3|8)|0)+8>>3];V:{if(O[c|0]){break V}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;g=a+2|0;if(h>>>0>=g>>>0){continue}break}}N[b+20>>2]=0;break a}m=b+16|0;h=N[b+20>>2];if(h>>>0>=2){f=2;a=0;while(1){g=f;W:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;e=0;break W}e=S[(m+(a<<3)|0)+8>>3]}p=S[b+4400>>3];k=S[b+4392>>3]+e;X:{if(O[c|0]){break X}L[c|0]=1;e=S[b+4392>>3];if(e>3]){S[c+8>>3]=e;e=S[b+4392>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=p;S[b+4392>>3]=k;e=k;i=S[c+8>>3];if(e>3]=k;i=k;e=S[b+4392>>3]}q=S[c+24>>3];if(q>3]=e;q=e}r=S[c+16>>3];e=S[b+4400>>3];if(r>e){S[c+16>>3]=e;r=e;e=S[b+4400>>3]}o=S[c+32>>3];if(e>o){S[c+32>>3]=e;o=e}p=p+S[(m+(a<<3|8)|0)+8>>3];Y:{if(O[c|0]){break Y}L[c|0]=1;e=i;i=S[b+4392>>3];if(e>i){S[c+8>>3]=i;i=S[b+4392>>3]}if(i>q){S[c+24>>3]=i}i=S[b+4400>>3];if(r>i){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(i>o)){break Y}S[c+32>>3]=i}S[b+4400>>3]=p;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}}Z:{if(g>>>0>=h>>>0){break Z}k=S[b+4392>>3]+S[(m+(g<<3)|0)+8>>3];e=S[b+4400>>3];_:{if(O[c|0]){break _}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(!(S[c+32>>3]>3]=k}N[b+20>>2]=0;break a}m=b+16|0;h=N[b+20>>2];if(h>>>0>=2){f=2;a=0;while(1){g=f;$:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;e=0;break $}e=S[(m+(a<<3)|0)+8>>3]}k=S[b+4392>>3];p=S[b+4400>>3]+e;aa:{if(O[c|0]){break aa}L[c|0]=1;e=S[b+4392>>3];if(e>3]){S[c+8>>3]=e;e=S[b+4392>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=p;S[b+4392>>3]=k;i=S[c+8>>3];e=k;if(i>e){S[c+8>>3]=k;i=k;e=S[b+4392>>3]}q=S[c+24>>3];if(q>3]=e;q=e}r=S[c+16>>3];e=S[b+4400>>3];if(r>e){S[c+16>>3]=e;r=e;e=S[b+4400>>3]}o=S[c+32>>3];if(e>o){S[c+32>>3]=e;o=e}k=k+S[(m+(a<<3|8)|0)+8>>3];ba:{if(O[c|0]){break ba}L[c|0]=1;e=S[b+4392>>3];if(i>e){S[c+8>>3]=e;e=S[b+4392>>3]}if(e>q){S[c+24>>3]=e}e=S[b+4400>>3];if(r>e){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(e>o)){break ba}S[c+32>>3]=e}S[b+4400>>3]=p;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}}ca:{if(g>>>0>=h>>>0){break ca}e=S[b+4400>>3]+S[(m+(g<<3)|0)+8>>3];k=S[b+4392>>3];da:{if(O[c|0]){break da}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(!(S[c+32>>3]>3]=k}N[b+20>>2]=0;break a}g=N[b+20>>2];if(g>>>0>=6){j=b+16|0;m=b+4392|0;f=6;a=0;while(1){h=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=h;h=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=h;ea:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ea}h=(j+(a<<3)|0)+8|0}l=a|1;fa:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break fa}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+2|0;ga:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ga}h=(j+(h<<3)|0)+8|0}l=a+3|0;ha:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ha}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;h=a+4|0;ia:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ia}h=(j+(h<<3)|0)+8|0}a=a+5|0;ja:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ja}i=S[(j+(a<<3)|0)+8>>3]}e=S[h>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);g=N[b+20>>2];a=f;f=a+6|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}a=N[b+20>>2];ka:{if(a>>>0<8){break ka}n=b+16|0;j=b+4392|0;m=a-2|0;l=6;a=0;while(1){f=l;g=N[j+12>>2];N[d+88>>2]=N[j+8>>2];N[d+92>>2]=g;g=N[j+4>>2];N[d+80>>2]=N[j>>2];N[d+84>>2]=g;l=N[b+20>>2];la:{if(l>>>0<=a>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;g=589824;break la}g=((a<<3)+n|0)+8|0}h=a|1;ma:{if(h>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;i=0;break ma}i=S[((h<<3)+n|0)+8>>3]}e=S[g>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];g=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=g;g=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=g;g=a+2|0;na:{if(g>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;g=589824;break na}g=((g<<3)+n|0)+8|0}h=a+3|0;oa:{if(h>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;i=0;break oa}i=S[((h<<3)+n|0)+8>>3]}e=S[g>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];g=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=g;g=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=g;g=a+4|0;pa:{if(g>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;g=589824;break pa}g=((g<<3)+n|0)+8|0}a=a+5|0;qa:{if(a>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;i=0;break qa}i=S[((a<<3)+n|0)+8>>3]}e=S[g>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);a=f;l=a+6|0;if(m>>>0>=l>>>0){continue}break}h=b+4400|0;g=N[b+20>>2];ra:{if(g>>>0<=a>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;f=589824;break ra}f=((a<<3)+n|0)+8|0}k=S[b+4392>>3];i=S[h>>3];a=a|1;sa:{if(a>>>0>=g>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;e=0;break sa}e=S[((a<<3)+n|0)+8>>3]}i=i+e;k=k+S[f>>3];ta:{if(O[c|0]){break ta}L[c|0]=1;e=S[j>>3];if(e>3]){S[c+8>>3]=e;e=S[j>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=i;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[j>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(!(S[c+32>>3]>3]=k}N[b+20>>2]=0;break a}l=N[b+20>>2];if(l>>>0>=8){j=b+16|0;m=b+4392|0;h=l-6|0;f=2;a=0;while(1){g=f;ua:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break ua}f=(j+(a<<3)|0)+8|0}a=a|1;va:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break va}e=S[(j+(a<<3)|0)+8>>3]}e=S[b+4400>>3]+e;k=S[b+4392>>3]+S[f>>3];wa:{if(O[c|0]){break wa}L[c|0]=1;i=S[m>>3];if(i>3]){S[c+8>>3]=i;i=S[m>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[m>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;xa:{if(g>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break xa}a=(j+(g<<3)|0)+8|0}h=g|1;ya:{if(h>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ya}i=S[(j+(h<<3)|0)+8>>3]}e=S[a>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;za:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break za}a=(j+(f<<3)|0)+8|0}f=g+3|0;Aa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Aa}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g+4|0;Ba:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ba}a=(j+(a<<3)|0)+8|0}f=g+5|0;Ca:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ca}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;a=0;g=N[b+20>>2];if(g&1){S[d+80>>3]=S[d+80>>3]+S[b+24>>3];a=1}f=a|4;if(f>>>0<=g>>>0){j=b+16|0;m=b+4392|0;while(1){Da:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Da}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+1|0;Ea:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break Ea}h=(j+(h<<3)|0)+8|0}l=a+2|0;Fa:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Fa}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;a=a+3|0;Ga:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ga}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;g=N[b+20>>2];a=f;f=a+4|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;a=0;g=N[b+20>>2];if(g&1){S[d+88>>3]=S[d+88>>3]+S[b+24>>3];a=1}f=a|4;if(f>>>0<=g>>>0){j=b+16|0;m=b+4392|0;while(1){Ha:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ha}e=S[(j+(a<<3)|0)+8>>3]}S[d+80>>3]=S[d+80>>3]+e;h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+1|0;Ia:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break Ia}h=(j+(h<<3)|0)+8|0}l=a+2|0;Ja:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ja}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;a=a+3|0;Ka:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ka}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;g=N[b+20>>2];a=f;f=a+4|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}j=b+16|0;h=4;l=N[b+20>>2];if(l&4){break e}if(l>>>0<8){break d}g=b+4392|0;f=8;a=0;while(1){h=a;a=f;f=N[g+12>>2];N[d+88>>2]=N[g+8>>2];N[d+92>>2]=f;f=N[g+4>>2];N[d+80>>2]=N[g>>2];N[d+84>>2]=f;La:{if(h>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break La}e=S[(j+(h<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=h|1;Ma:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break Ma}f=(j+(f<<3)|0)+8|0}m=h|2;Na:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Na}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=h|3;Oa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Oa}e=S[(j+(f<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=f;f=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=f;l=N[b+20>>2];f=h|4;Pa:{if(l>>>0<=f>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Pa}e=S[(j+(f<<3)|0)+8>>3]}f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;S[d+80>>3]=S[d+80>>3]+e;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=h|5;Qa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break Qa}f=(j+(f<<3)|0)+8|0}m=h|6;Ra:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ra}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=h|7;Sa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Sa}e=S[(j+(f<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;if(!(!(l&1)|l-h>>>0>15)){Ta:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ta}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e}Rb(b,c,d+80|0,d- -64|0,d+48|0);f=a+8|0;l=N[b+20>>2];if(f>>>0<=l>>>0){continue}break}break d}j=b+16|0;a=4;l=N[b+20>>2];if(l&4){break g}if(l>>>0<8){break f}g=b+4392|0;f=8;while(1){m=h;h=f;a=N[g+12>>2];N[d+88>>2]=N[g+8>>2];N[d+92>>2]=a;a=N[g+4>>2];N[d+80>>2]=N[g>>2];N[d+84>>2]=a;Ua:{if(l>>>0<=m>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ua}e=S[(j+(m<<3)|0)+8>>3]}a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+80>>3]=S[d+80>>3]+e;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=m|1;Va:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Va}a=(j+(a<<3)|0)+8|0}f=m|2;Wa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Wa}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=m|3;Xa:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Xa}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=a;a=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=a;l=N[b+20>>2];a=m|4;Ya:{if(l>>>0<=a>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ya}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=m|5;Za:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Za}a=(j+(a<<3)|0)+8|0}f=m|6;_a:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break _a}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=m|7;$a:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break $a}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;if(!(!(l&1)|l-m>>>0>15)){ab:{if(h>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break ab}e=S[(j+(h<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e}Rb(b,c,d+80|0,d- -64|0,d+48|0);f=h+8|0;l=N[b+20>>2];if(f>>>0<=l>>>0){continue}break}break f}bb:{if(N[b+20>>2]==7){a=b+4400|0;g=N[a>>2];f=N[a+4>>2];N[d+88>>2]=g;N[d+92>>2]=f;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;S[d+80>>3]=S[d+80>>3]+S[b+24>>3];N[d+72>>2]=g;N[d+76>>2]=f;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];g=f;a=N[d+72>>2];N[d+56>>2]=a;N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+48>>3]=S[d+48>>3]+S[b+48>>3];N[d+40>>2]=a;N[d+44>>2]=g;f=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=f;S[d+32>>3]=S[d+32>>3]+S[b+56>>3];N[d+24>>2]=a;N[d+28>>2]=g;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;S[d+16>>3]=S[d+16>>3]+S[b- -64>>3];a=N[d+92>>2];f=N[d+88>>2];N[d+24>>2]=f;N[d+28>>2]=a;N[d+8>>2]=f;N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;S[d>>3]=S[d>>3]+S[b+72>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break bb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}cb:{if(N[b+20>>2]==13){f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;e=S[b+24>>3];S[d+88>>3]=S[d+88>>3]+S[b+32>>3];S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+40>>3];S[d+72>>3]=S[d+72>>3]+S[b+48>>3];S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;e=S[b+56>>3];S[d+56>>3]=S[d+56>>3]+S[b- -64>>3];S[d+48>>3]=e+S[d+48>>3];a=N[d+60>>2];N[d+40>>2]=N[d+56>>2];N[d+44>>2]=a;a=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=a;e=S[b+72>>3];S[d+40>>3]=S[d+40>>3]+S[b+80>>3];S[d+32>>3]=e+S[d+32>>3];a=N[d+44>>2];N[d+24>>2]=N[d+40>>2];N[d+28>>2]=a;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;e=S[b+88>>3];S[d+24>>3]=S[d+24>>3]+S[b+96>>3];S[d+16>>3]=e+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;e=S[b+104>>3];S[d+8>>3]=S[d+8>>3]+S[b+112>>3];S[d>>3]=e+S[d>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break cb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}db:{if(N[b+20>>2]==9){h=b+4400|0;a=N[h+4>>2];N[d+88>>2]=N[h>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;e=S[b+24>>3];S[d+88>>3]=S[d+88>>3]+S[b+32>>3];S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+40>>3];S[d+72>>3]=S[d+72>>3]+S[b+48>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];g=f;a=N[d+72>>2];N[d+56>>2]=a;N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+48>>3]=S[d+48>>3]+S[b+56>>3];N[d+40>>2]=a;N[d+44>>2]=g;f=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=f;S[d+32>>3]=S[d+32>>3]+S[b- -64>>3];N[d+24>>2]=a;N[d+28>>2]=g;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;e=S[b+72>>3];S[d+24>>3]=S[d+24>>3]+S[b+80>>3];S[d+16>>3]=e+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;S[d>>3]=S[d>>3]+S[b+88>>3];a=N[h+4>>2];N[d+8>>2]=N[h>>2];N[d+12>>2]=a;Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break db}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}eb:{if(N[b+20>>2]==11){s=S[b+88>>3];t=S[b+96>>3];u=S[b+72>>3];p=S[b+80>>3];q=S[b+56>>3];r=S[b- -64>>3];o=S[b+40>>3];k=S[b+48>>3];i=S[b+24>>3];e=S[b+32>>3];g=b+4400|0;a=N[g+4>>2];N[d+88>>2]=N[g>>2];N[d+92>>2]=a;f=N[b+4392>>2];a=N[b+4396>>2];S[d+88>>3]=e+S[d+88>>3];N[d+80>>2]=f;N[d+84>>2]=a;S[d+80>>3]=i+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+72>>3]=k+S[d+72>>3];a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;S[d+64>>3]=o+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+56>>3]=r+S[d+56>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;S[d+48>>3]=q+S[d+48>>3];a=N[d+60>>2];N[d+40>>2]=N[d+56>>2];N[d+44>>2]=a;S[d+40>>3]=p+S[d+40>>3];a=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=a;S[d+32>>3]=u+S[d+32>>3];a=N[d+44>>2];N[d+24>>2]=N[d+40>>2];N[d+28>>2]=a;S[d+24>>3]=t+S[d+24>>3];a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;S[d+16>>3]=s+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;fb:{if(V(s+(u+(q+(o+(i+0)))))>V(t+(p+(r+(k+(e+0)))))){S[d>>3]=S[d>>3]+S[b+104>>3];a=N[g+4>>2];N[d+8>>2]=N[g>>2];N[d+12>>2]=a;break fb}a=N[b+4396>>2];N[d>>2]=N[b+4392>>2];N[d+4>>2]=a;S[d+8>>3]=S[d+8>>3]+S[b+104>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break eb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}uf(a,b);break a}f=b+4400|0;h=N[f>>2];g=N[f+4>>2];N[d+88>>2]=h;N[d+92>>2]=g;f=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=f;S[d+80>>3]=S[d+80>>3]+S[b+24>>3];N[d+72>>2]=h;N[d+76>>2]=g;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+56>>3]=S[d+56>>3]+S[b+48>>3];f=12;if(l>>>0>=12){h=b+4392|0;g=4;while(1){a=f;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[h+12>>2];N[d+88>>2]=N[h+8>>2];N[d+92>>2]=f;f=N[h+4>>2];N[d+80>>2]=N[h>>2];N[d+84>>2]=f;l=N[b+20>>2];gb:{if(l>>>0<=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break gb}e=S[(j+(g<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=g|1;hb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break hb}f=(j+(f<<3)|0)+8|0}m=g|2;ib:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ib}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=g|3;jb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break jb}e=S[(j+(f<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=f;f=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=f;l=N[b+20>>2];f=g+4|0;kb:{if(l>>>0<=f>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break kb}e=S[(j+(f<<3)|0)+8>>3]}f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;S[d+80>>3]=S[d+80>>3]+e;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=g+5|0;lb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break lb}f=(j+(f<<3)|0)+8|0}m=g+6|0;mb:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break mb}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=g+7|0;nb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break nb}e=S[(j+(f<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;g=a;f=a+8|0;if(f>>>0<=l>>>0){continue}break}}if(a>>>0>>0){S[d+48>>3]=S[d+48>>3]+S[(j+(a<<3)|0)+8>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;g=N[b+4396>>2];a=N[b+4392>>2];N[d+80>>2]=a;N[d+84>>2]=g;S[d+88>>3]=S[d+88>>3]+S[b+24>>3];f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;N[d+64>>2]=a;N[d+68>>2]=g;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;S[d+48>>3]=S[d+48>>3]+S[b+48>>3];f=12;if(l>>>0>=12){m=b+4392|0;g=4;while(1){h=f;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;l=N[b+20>>2];ob:{if(l>>>0<=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break ob}e=S[(j+(g<<3)|0)+8>>3]}a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+80>>3]=S[d+80>>3]+e;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=g|1;pb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break pb}a=(j+(a<<3)|0)+8|0}f=g|2;qb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break qb}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g|3;rb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break rb}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=a;a=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=a;l=N[b+20>>2];a=g+4|0;sb:{if(l>>>0<=a>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break sb}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=g+5|0;tb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break tb}a=(j+(a<<3)|0)+8|0}f=g+6|0;ub:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ub}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g+7|0;vb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break vb}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;g=h;f=g+8|0;if(f>>>0<=l>>>0){continue}break}}if(h>>>0>>0){S[d+56>>3]=S[d+56>>3]+S[(j+(h<<3)|0)+8>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}L[h|0]=1;N[147456]=0;N[147457]=0;o=0}e=S[l>>3];L[c|0]=0;S[b+4400>>3]=k+e;S[b+4392>>3]=i+o;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+f|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0}La=d+96|0}function vr(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;d=N[a+660>>2];if(d){ug(d);N[a+660>>2]=0}v=N[a+380>>2];h=O[b+11|0];q=h<<24>>24<0;d=q?N[b>>2]:b;b=q?N[b+4>>2]:h;q=0;o=La-352|0;La=o;a:{if(!d){break a}u=kb(b+1|0);if(!u){break a}F(u,d,b);L[b+u|0]=0;b:{i=db(1,104);if(i){N[i+84>>2]=v;d=db(1,40);N[i+88>>2]=d;c:{d:{if(!d){break d}b=kb(2880);N[147316]=b?0:48;N[i+16>>2]=b;if(!b){break d}N[i>>2]=1;N[i+4>>2]=20;C(b,0,144);h=Hb(9439);N[b>>2]=h;e=Hb(13519);N[b+116>>2]=20;N[b+104>>2]=2;N[b+96>>2]=0;N[b+100>>2]=1074266112;N[b+88>>2]=0;N[b+92>>2]=1073741824;N[b+80>>2]=1;N[b+64>>2]=0;N[b+68>>2]=0;N[b+56>>2]=0;N[b+60>>2]=1072693248;N[b+48>>2]=0;N[b+52>>2]=1072693248;N[b+32>>2]=200;N[b+24>>2]=0;N[b+28>>2]=128;N[b+16>>2]=-256;N[b+20>>2]=16776960;N[b+8>>2]=0;N[b+12>>2]=1077018624;N[b+4>>2]=e;N[b+108>>2]=20;N[b+112>>2]=20;if(e?h:0){break c}_a(h);_a(N[b+4>>2])}_a(d);_a(i);_a(u);break a}N[d+28>>2]=1;r=u;e:while(1){b=O[r|0];while(1){c=r;f:{d=b&255;g:{if((d|0)!=239){e=1;switch(d-10|0){case 0:case 3:break g;default:break f}}if(O[c+1|0]!=187|O[c+2|0]!=191){break f}e=3}r=c+e|0;continue e}while(1){b=b&255;if(!(1<>>0<=13:0)){b=O[r+1|0];r=r+1|0;continue}break}if((c|0)!=(r|0)){if(b){L[r|0]=0;r=r+1|0}h:{i:{j:{while(1){b=O[c|0];if((b|0)==32|(b|0)==9){c=c+1|0;continue}else{k:{b=0;g=18558;while(1){l:{d=O[O[g|0]+25936|0];e=O[b+c|0];h=O[e+25936|0];if(!e|b>>>0>11){break l}g=g+1|0;b=b+1|0;if((d|0)==(h|0)){continue}}break}if((d|0)==(h|0)){break k}b=0;g=18533;while(1){m:{d=O[O[g|0]+25936|0];e=O[b+c|0];h=O[e+25936|0];if(!e|b>>>0>9){break m}g=g+1|0;b=b+1|0;if((d|0)==(h|0)){continue}}break}if((d|0)==(h|0)){break j}b=0;g=18545;while(1){n:{d=O[O[g|0]+25936|0];e=O[b+c|0];h=O[e+25936|0];if(!e|b>>>0>10){break n}g=g+1|0;b=b+1|0;if((d|0)==(h|0)){continue}}break}if((d|0)==(h|0)){N[N[i+88>>2]>>2]=2;N[i+32>>2]=1;break h}o:{p:{if(O[c|0]!=91){break p}q:{if((O[c+1|0]&223)!=69|(O[c+2|0]&223)!=86|((O[c+3|0]&223)!=69|(O[c+4|0]&223)!=78)){break q}if((O[c+5|0]&223)!=84|(O[c+6|0]&223)!=83|O[c+7|0]!=93){break q}N[N[i+88>>2]>>2]=3;break h}if(O[c|0]!=91|(O[c+1|0]&223)!=70|((O[c+2|0]&223)!=79|(O[c+3|0]&223)!=78)){break p}if((O[c+4|0]&223)!=84){break p}if((O[c+5|0]&223)==83){break o}}g=N[i+88>>2];break i}g=N[i+88>>2];if(O[c+6|0]!=93){break i}N[g>>2]=4;break h}}break}N[N[i+88>>2]>>2]=1;break h}N[N[i+88>>2]>>2]=2;N[i+32>>2]=2;break h}r:{s:{switch(N[g>>2]-1|0){case 0:if(!bb(c,21334,9)){b=N[g+32>>2];t:{if(b&2){b=N[i+84>>2];N[o+16>>2]=18704;mb(b,2,24874,o+16|0);break t}N[g+32>>2]=b|2}y=i,z=yb(c+9|0),N[y+36>>2]=z;break h}if(!bb(c,21312,9)){b=N[g+32>>2];u:{if(b&4){b=N[i+84>>2];N[o+32>>2]=18572;mb(b,2,24874,o+32|0);break u}N[g+32>>2]=b|4}y=i,z=yb(c+9|0),N[y+40>>2]=z;break h}if(!bb(c,21344,11)){b=N[g+32>>2];v:{if(b&512){b=N[i+84>>2];N[o+48>>2]=18713;mb(b,2,24874,o+48|0);break v}N[g+32>>2]=b|512}y=i,z=yb(c+11|0),N[y+92>>2]=z;break h}if(!bb(c,21322,11)){b=N[g+32>>2];w:{if(b&1024){b=N[i+84>>2];N[o+64>>2]=18581;mb(b,2,24874,o- -64|0);break w}N[g+32>>2]=b|1024}y=i,z=yb(c+11|0),N[y+96>>2]=z;break h}if(!bb(c,21243,6)){b=N[g+32>>2];x:{if(b&8){b=N[i+84>>2];N[o+80>>2]=11980;mb(b,2,24874,o+80|0);break x}N[g+32>>2]=b|8}y=i,A=pb(c+6|0,0),S[y+48>>3]=A;break h}if(!bb(c,21291,10)){b=N[g+32>>2];y:{if(b&16){b=N[i+84>>2];N[o+96>>2]=15956;mb(b,2,24874,o+96|0);break y}N[g+32>>2]=b|16}y=i,z=yb(c+10|0),N[y+56>>2]=z;break h}if(!bb(c,21212,22)){b=N[g+32>>2];z:{if(b&32){b=N[i+84>>2];N[o+112>>2]=8259;mb(b,2,24874,o+112|0);break z}N[g+32>>2]=b|32}c=c+22|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}A:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break A}}b=(Kb(c,0)|0)>0}N[i+60>>2]=b;break h}if(!bb(c,21250,8)){b=N[g+32>>2];B:{if(b&128){b=N[i+84>>2];N[o+128>>2]=14675;mb(b,2,24874,o+128|0);break B}N[g+32>>2]=b|128}c=c+8|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}C:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break C}}b=(Kb(c,0)|0)>0}N[i+64>>2]=b;break h}if(!bb(c,21198,13)){b=N[g+32>>2];D:{if(b&64){b=N[i+84>>2];N[o+144>>2]=8116;mb(b,2,24874,o+144|0);break D}N[g+32>>2]=b|64}y=i,z=ro(c+13|0),N[y+72>>2]=z;break h}if(!bb(c,21302,9)){b=N[g+32>>2];E:{if(b&1){b=N[i+84>>2];N[o+160>>2]=16110;mb(b,2,24874,o+160|0);break E}N[g+32>>2]=b|1}g=c+9|0;b=O[c+9|0];F:{if(!b){break F}while(1){d=g;h=b<<24>>24;if(!(h-9>>>0<4|(h|0)==32|(b&255)==13)){break F}g=d+1|0;b=O[d+1|0];if(b){continue}break}}_a(N[i+68>>2]);d=$n(g,2);b=kb(d+1|0);if(b){Pc(b,g,d);L[b+d|0]=0}N[i+68>>2]=b;break h}if(!bb(c,21269,11)){b=N[g+32>>2];G:{if(b&256){b=N[i+84>>2];N[o+176>>2]=15532;mb(b,2,24874,o+176|0);break G}N[g+32>>2]=b|256}d=c+11|0;h=nb(d);b=h+11|0;H:{I:{if((h|0)<=0){break I}while(1){h=b-1|0;e=O[h+c|0];if((e|0)!=32&(e|0)!=9){break I}e=b>>>0>12;b=h;if(e){continue}break}c=d;break H}c=b+c|0}d=c-d|0;if(d>>>0<4){break h}g=2;b=c-1|0;if(O[b|0]==43){g=1;c=b;if(d-5>>>0>4294967291){break h}}if(bb(c-4|0,21957,4)){break h}N[i+32>>2]=g;break h}if(bb(c,24973,22)){break h}if(bb(c+22|0,17644,11)){break h}N[g+32>>2]=N[g+32>>2]|16384;break h;case 1:if(!bb(c,21235,7)){c=c+7|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}_a(N[i+24>>2]);b=Hb(c);N[i+24>>2]=b;if(!b){break h}d=N[i+84>>2];N[o+192>>2]=b;mb(d,7,11521,o+192|0);if(N[i+32>>2]==1){qi(i,c,14940);break h}qi(i,c,14751);break h}if(bb(c,21295,6)){break h}c=c+6|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break};b=N[i+24>>2];if(!b){J:{if(N[i+32>>2]==2){b=Hb(14751);break J}b=Hb(14940)}N[i+24>>2]=b;if(!b){break h}}m=Hb(b);if(!m){break h}b=N[i+84>>2];N[o+212>>2]=c;N[o+208>>2]=i;mb(b,6,11551,o+208|0);s=N[i>>2];b=N[i+4>>2];if((s|0)<=(b|0)){K:{L:{M:{if((b|0)!=(s|0)){b=N[i+16>>2];break M}if(s>>>0>2147483626){break L}N[147316]=0;d=s+20|0;b=jd(N[i+16>>2],d,144);N[i+16>>2]=b;if(N[147316]){break L}N[i+4>>2]=d;s=N[i>>2]}N[i>>2]=s+1;w=T(s,144);f=w+b|0;C(f,0,144);if((s|0)>=0){break K}}_a(m);break h}N[f+56>>2]=0;N[f+60>>2]=1079574528;N[f+48>>2]=0;N[f+52>>2]=1079574528;l=f- -64|0;j=0;b=m;N:while(1){e=b;O:{P:{Q:{g=O[b|0];switch(g|0){case 9:break O;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break P;case 0:break r;default:break Q}}if((g|0)==32){break O}}while(1){g=g&255;if(!(!g|(g|0)==44)){g=O[e+1|0];e=e+1|0;continue}break}d=e;R:{if(d>>>0<=b>>>0){break R}while(1){h=d-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break R}d=h;if(d>>>0>b>>>0){continue}break}d=b}h=((g|0)==44)+e|0;L[d|0]=0;g=c;while(1){S:{T:{U:{e=g;c=O[e|0];switch(c|0){case 9:break S;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break T;case 0:break r;default:break U}}if((c|0)==32){break S}}while(1){d=c&255;if(!(!d|(d|0)==44)){c=O[e+1|0];e=e+1|0;continue}break}L[e|0]=0;p=(d|0)==44;c=15914;d=b;while(1){V:{k=O[O[c|0]+25936|0];x=O[d|0];n=O[x+25936|0];if(!x){break V}c=c+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}c=e+p|0;e=15901;d=b;if((k|0)==(n|0)){while(1){d=g;g=d+1|0;if(O[d|0]==42){continue}break}b=h;d=Hb(d);if(!d){continue N}_a(N[f>>2]);N[f>>2]=d;continue N}while(1){W:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break W}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11798;d=b;if((k|0)==(n|0)){b=h;d=Hb(g);if(!d){continue N}_a(N[f+4>>2]);N[f+4>>2]=d;continue N}while(1){X:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break X}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11812;d=b;if((k|0)==(n|0)){b=yb(g);N[f+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=h;continue N}while(1){Y:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break Y}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11839;d=b;if((k|0)==(n|0)){b=yb(g);N[f+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=h;continue N}while(1){Z:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break Z}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11828;d=b;if((k|0)==(n|0)){b=yb(g);N[f+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=h;continue N}while(1){_:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break _}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=13334;d=b;if((k|0)==(n|0)){b=yb(g);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[f+28>>2]=d;b=h;if(N[i+32>>2]!=2){continue N}N[f+24>>2]=d;continue N}while(1){$:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break $}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15426;d=b;if((k|0)==(n|0)){j=yb(g);b=h;continue N}while(1){aa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break aa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=16733;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+8>>3]=A;b=h;continue N}while(1){ba:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ba}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=17754;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+32>>2]=z;b=h;continue N}while(1){ca:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ca}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15749;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+36>>2]=z;b=h;continue N}while(1){da:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break da}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=8720;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+40>>2]=z;b=h;continue N}while(1){ea:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ea}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15170;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+44>>2]=z;b=h;continue N}while(1){fa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break fa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=16029;d=b;if((k|0)==(n|0)){y=l,A=pb(g,0),S[y>>3]=A;b=h;continue N}while(1){ga:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ga}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15944;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+72>>3]=A;b=h;continue N}while(1){ha:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ha}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=9279;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+80>>2]=z;b=h;continue N}while(1){ia:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ia}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=19806;d=b;if((k|0)==(n|0)){d=yb(g);N[f+104>>2]=d;if(N[i+32>>2]==1){b=d>>31;d=(d|0)==-2147483648?2:(b^d)-b|0;b=((d-1|0)%3|0)+1|0;ja:{if(d>>>0<4){break ja}if(d>>>0<=6){b=b|8;break ja}b=b|4}N[f+104>>2]=b;b=h;continue N}b=h;ka:{switch(d-4|0){case 4:N[f+104>>2]=3;continue N;case 0:break ka;default:continue N}}N[f+104>>2]=11;continue N}while(1){la:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break la}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=19589;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+108>>2]=z;b=h;continue N}while(1){ma:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ma}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=19116;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+112>>2]=z;b=h;continue N}while(1){na:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break na}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15161;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+116>>2]=z;b=h;continue N}while(1){oa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break oa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=18724;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+120>>2]=z;b=h;continue N}while(1){pa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break pa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=18592;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+48>>3]=A;b=h;continue N}while(1){qa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break qa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15741;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+56>>3]=A;b=h;continue N}while(1){ra:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ra}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=8274;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+88>>3]=A;b=h;continue N}while(1){sa:{d=O[O[e|0]+25936|0];n=O[b|0];k=O[n+25936|0];if(!n){break sa}e=e+1|0;b=b+1|0;if((d|0)==(k|0)){continue}}break}b=h;if((d|0)!=(k|0)){continue N}y=f,A=pb(g,0),S[y+96>>3]=A;continue N}g=g+1|0;continue}}b=b+1|0;continue}}ba(11239,18016,104,15919);B();case 3:if(!bb(c,21281,9)){c=c+9|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}if(N[g+4>>2]){io(i);g=N[i+88>>2]}b=Hb(c);N[g+4>>2]=b;if(!b){break h}d=N[i+84>>2];N[o+304>>2]=b;mb(d,6,11538,o+304|0);break h}b=N[g+4>>2];if(!b){b=N[i+84>>2];N[o+320>>2]=c;mb(b,6,24686,o+320|0);break h}h=N[g+16>>2];ta:{ua:{d=nb(c);e=d>>>0<=102400?102400:d;if(h>>>0<(e^-1)>>>0){b=N[g+12>>2];if(b>>>0>=d+h>>>0){e=N[g+8>>2];break ta}N[147316]=0;m=N[g+8>>2];h=b+e|0;b=$a(m,h>>>0<=1?1:h);N[147316]=b?0:48;g=N[i+88>>2];e=b?b:m;N[g+8>>2]=e;if(b){break ua}b=N[g+4>>2]}_a(b);_a(N[g+8>>2]);N[g+12>>2]=0;N[g+16>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;break h}N[g+12>>2]=h}if(!e){break h}F(N[g+16>>2]+e|0,c,d);b=N[i+88>>2];N[b+16>>2]=d+N[b+16>>2];break h;case 2:break s;default:break h}}if(!bb(c,21235,7)){c=c+7|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}_a(N[i+28>>2]);b=Hb(c);N[i+28>>2]=b;if(!b){break h}d=N[i+84>>2];N[o+224>>2]=b;mb(d,7,11504,o+224|0);qi(i,c,N[i+32>>2]==1?8495:8567);if(N[N[i+88>>2]+32>>2]!=16646|N[i>>2]!=2){break h}if(bb(N[N[i+16>>2]+144>>2],9439,7)){break h}N[i+60>>2]=1;mb(N[i+84>>2],4,22355,0);break h}va:{if(!bb(c,21259,9)){if(!N[i+28>>2]){N[g>>2]=3;wa:{if(N[i+32>>2]==2){b=Hb(8567);break wa}b=Hb(8495)}N[i+28>>2]=b;mb(N[i+84>>2],6,13787,0);if(!N[i+28>>2]){break h}}c=c+9|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}b=N[i+8>>2];d=N[i+12>>2];if((b|0)<=(d|0)){xa:{if((b|0)!=(d|0)){g=N[i+20>>2];break xa}if(b>>>0>1073741822){break h}N[147316]=0;b=b<<1|1;g=jd(N[i+20>>2],b,56);N[i+20>>2]=g;if(N[147316]){break h}N[i+12>>2]=b;b=N[i+8>>2]}N[i+8>>2]=b+1;l=T(b,56);d=l+g|0;N[d>>2]=0;N[d+4>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if((b|0)<0){break h}b=N[i+20>>2];s=Hb(N[i+28>>2]);if(!s){break va}m=b+l|0;b=s;while(1){e=b;ya:{za:{Aa:{Ba:{g=O[b|0];switch(g|0){case 9:break ya;case 0:break za;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break Aa;default:break Ba}}if((g|0)==32){break ya}}while(1){g=g&255;if(!(!g|(g|0)==44)){g=O[e+1|0];e=e+1|0;continue}break}d=e;Ca:{if(d>>>0<=b>>>0){break Ca}while(1){h=d-1|0;f=O[h|0];if((f|0)!=32&(f|0)!=9){break Ca}d=h;if(d>>>0>b>>>0){continue}break}d=b}h=((g|0)==44)+e|0;L[d|0]=0;g=8635;e=b;while(1){Da:{d=O[O[g|0]+25936|0];j=O[e|0];f=O[j+25936|0];if(!j){break Da}g=g+1|0;e=e+1|0;if((d|0)==(f|0)){continue}}break}Ea:{Fa:{if((d|0)!=(f|0)){g=c;break Fa}b=Hb(c);N[m+48>>2]=b;if(!b){break Ea}Ga:{if(!O[b|0]){break Ga}d=nb(b);if((d|0)<=0){break Ga}c=b+d|0;while(1){c=c-1|0;d=O[c|0]-9|0;if(d>>>0>23|!(1<>>0>>0){continue}break}}d=N[m+8>>2];h=N[m>>2];e=d-h|0;d=N[m+12>>2]-(N[m+4>>2]+(d>>>0>>0)|0)|0;N[m+8>>2]=e;N[m+12>>2]=d;_a(s);if(!b){break va}break h}while(1){Ha:{Ia:{Ja:{Ka:{e=g;c=O[e|0];switch(c|0){case 0:break za;case 9:break Ia;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break Ja;default:break Ka}}if((c|0)==32){break Ia}}while(1){d=c&255;if(!d|(d|0)==44){break Ha}c=O[e+1|0];e=e+1|0;continue}}g=g+1|0;continue}break}L[e|0]=0;k=(d|0)==44;c=16701;f=b;while(1){La:{d=O[O[c|0]+25936|0];n=O[f|0];j=O[n+25936|0];if(!n){break La}c=c+1|0;f=f+1|0;if((d|0)==(j|0)){continue}}break}c=11926;j=(d|0)==(j|0)?12789:b;b=j;while(1){Ma:{d=O[O[c|0]+25936|0];n=O[b|0];f=O[n+25936|0];if(!n){break Ma}c=c+1|0;b=b+1|0;if((d|0)==(f|0)){continue}}break}c=11954;d=(d|0)==(f|0)?15914:j;b=d;while(1){Na:{f=O[O[c|0]+25936|0];n=O[b|0];j=O[n+25936|0];if(!n){break Na}c=c+1|0;b=b+1|0;if((f|0)==(j|0)){continue}}break}c=e+k|0;b=16007;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+20>>2]=z;b=h;continue}while(1){Oa:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Oa}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=15914;e=d;if((f|0)==(j|0)){while(1){d=g;g=d+1|0;b=9439;if(O[d|0]==42){continue}break}g=d;while(1){Pa:{e=O[O[b|0]+25936|0];j=O[g|0];f=O[j+25936|0];if(!j){break Pa}b=b+1|0;g=g+1|0;if((e|0)==(f|0)){continue}}break}d=(e|0)==(f|0)?9439:d;b=N[i>>2];Qa:{while(1){if((b|0)>0){b=b-1|0;if(cb(N[N[i+16>>2]+T(b,144)>>2],d)){continue}break Qa}break}e=N[i+84>>2];b=N[i+76>>2];N[o+248>>2]=N[N[i+16>>2]+T(b,144)>>2];N[o+244>>2]=d;N[o+240>>2]=i;mb(e,2,24480,o+240|0)}N[m+24>>2]=b;b=h;continue}while(1){Ra:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Ra}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=9655;e=d;if((f|0)==(j|0)){b=h;d=Hb(g);if(!d){continue}_a(N[m+28>>2]);N[m+28>>2]=d;continue}while(1){Sa:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Sa}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=19806;e=d;if((f|0)==(j|0)){b=h;d=Hb(g);if(!d){continue}_a(N[m+44>>2]);N[m+44>>2]=d;continue}while(1){Ta:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Ta}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=19589;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+32>>2]=z;b=h;continue}while(1){Ua:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Ua}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=19116;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+36>>2]=z;b=h;continue}while(1){Va:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Va}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=8828;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+40>>2]=z;b=h;continue}while(1){Wa:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Wa}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=12789;if((f|0)==(j|0)){b=N[i+84>>2];N[o+256>>2]=o+348;N[o+260>>2]=o+344;N[o+264>>2]=o+340;N[o+268>>2]=o+336;if((co(g,o+256|0)|0)<=3){mb(b,2,12297,0);N[m>>2]=0;N[m+4>>2]=0;b=h;continue}b=N[o+340>>2];e=b;g=b>>31;f=N[o+344>>2];b=N[o+348>>2];j=UE(b,b>>31,60,0);d=f+j|0;b=Pa+(f>>31)|0;f=e;e=UE(d,d>>>0>>0?b+1|0:b,60,0);b=f+e|0;d=Pa+g|0;d=UE(b,b>>>0>>0?d+1|0:d,1e3,0);e=Pa;b=N[o+336>>2];g=UE(b,b>>31,10,0);b=g+d|0;d=Pa+e|0;N[m>>2]=b;N[m+4>>2]=b>>>0>>0?d+1|0:d;b=h;continue}while(1){Xa:{e=O[O[b|0]+25936|0];j=O[d|0];f=O[j+25936|0];if(!j){break Xa}b=b+1|0;d=d+1|0;if((e|0)==(f|0)){continue}}break}b=h;if((e|0)!=(f|0)){continue}d=N[i+84>>2];N[o+272>>2]=o+348;N[o+276>>2]=o+344;N[o+280>>2]=o+340;N[o+284>>2]=o+336;if((co(g,o+272|0)|0)<=3){mb(d,2,12297,0);N[m+8>>2]=0;N[m+12>>2]=0;continue}d=N[o+340>>2];e=d;g=d>>31;f=N[o+344>>2];d=N[o+348>>2];j=UE(d,d>>31,60,0);h=f+j|0;d=Pa+(f>>31)|0;f=e;e=UE(h,h>>>0>>0?d+1|0:d,60,0);h=f+e|0;d=Pa+g|0;h=UE(h,e>>>0>h>>>0?d+1|0:d,1e3,0);e=Pa;d=N[o+336>>2];g=UE(d,d>>31,10,0);h=g+h|0;d=Pa+e|0;N[m+8>>2]=h;N[m+12>>2]=g>>>0>h>>>0?d+1|0:d;continue}b=N[m+8>>2];d=N[m>>2];h=b-d|0;b=N[m+12>>2]-(N[m+4>>2]+(b>>>0>>0)|0)|0;N[m+8>>2]=h;N[m+12>>2]=b}_a(s);break va}b=b+1|0;continue}}ba(10030,18016,127,9200);B()}b=N[i+84>>2];N[o+288>>2]=c;mb(b,6,24346,o+288|0);break h}b=l+N[i+20>>2]|0;_a(N[b+28>>2]);_a(N[b+44>>2]);_a(N[b+48>>2]);_a(N[b+52>>2]);N[i+8>>2]=N[i+8>>2]-1;break h}_a(m);if(N[i+32>>2]==2){b=(j|0)>=255?255:j;b=(b|0)>0?b:0;L[f+16|0]=b;L[f+20|0]=b;L[f+24|0]=b;L[f+28|0]=128}t=S[f+48>>3];S[f+48>>3]=t>0?t/100:0;t=S[f+56>>3];S[f+56>>3]=t>0?t/100:0;t=S[l>>3];S[l>>3]=t>0?t:0;t=S[f+88>>3];S[f+88>>3]=t>0?t:0;t=S[f+96>>3];S[f+96>>3]=t>0?t:0;N[f+32>>2]=N[f+32>>2]!=0;N[f+36>>2]=N[f+36>>2]!=0;N[f+40>>2]=N[f+40>>2]!=0;N[f+44>>2]=N[f+44>>2]!=0;c=N[f>>2];if(!c){c=Hb(9439);N[f>>2]=c}b=N[f+4>>2];if(!b){b=Hb(13519);N[f+4>>2]=b}if(!(b?c:0)){b=N[i+16>>2]+w|0;_a(N[b>>2]);_a(N[b+4>>2]);N[i>>2]=N[i>>2]-1;break h}if(cb(c,9439)){break h}N[i+76>>2]=s}b=O[r|0];if(b){continue}}break}break}if(N[N[i+88>>2]+4>>2]){io(i)}r=N[i+8>>2];Ya:{if((r|0)<=0){break Ya}b=N[i+20>>2];g=0;c=0;if(r>>>0>=8){d=r&-8;while(1){N[(b+T(c,56)|0)+16>>2]=c;h=c|1;N[(b+T(h,56)|0)+16>>2]=h;h=c|2;N[(b+T(h,56)|0)+16>>2]=h;h=c|3;N[(b+T(h,56)|0)+16>>2]=h;h=c|4;N[(b+T(h,56)|0)+16>>2]=h;h=c|5;N[(b+T(h,56)|0)+16>>2]=h;h=c|6;N[(b+T(h,56)|0)+16>>2]=h;h=c|7;N[(b+T(h,56)|0)+16>>2]=h;c=c+8|0;if((d|0)!=(c|0)){continue}break}}d=r&7;if(!d){break Ya}while(1){N[(b+T(c,56)|0)+16>>2]=c;c=c+1|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}if(N[i+32>>2]){break b}ug(i)}_a(u);break a}c=N[N[i+84>>2]+8>>2];Za:{if(!c){break Za}b=N[c>>2];if(!b){break Za}while(1){g=c;s=gi(b,61);_a:{if(!s){break _a}L[s|0]=0;c=18704;d=N[g>>2];b=d;while(1){$a:{q=O[O[c|0]+25936|0];h=O[b|0];e=O[h+25936|0];if(!h){break $a}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}h=s+1|0;c=18572;b=d;ab:{if((e|0)==(q|0)){y=i,z=yb(h),N[y+36>>2]=z;break ab}while(1){bb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break bb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=18713;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+40>>2]=z;break ab}while(1){cb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break cb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=18581;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+92>>2]=z;break ab}while(1){db:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break db}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=11980;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+96>>2]=z;break ab}while(1){eb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break eb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=15956;b=d;if((e|0)==(q|0)){y=i,A=pb(h,0),S[y+48>>3]=A;break ab}while(1){fb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break fb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=8259;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+56>>2]=z;break ab}while(1){gb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break gb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}b=14675;c=h;f=d;if((e|0)==(q|0)){while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}hb:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break hb}}b=(Kb(c,0)|0)>0}N[i+60>>2]=b;break ab}while(1){ib:{q=O[O[b|0]+25936|0];c=O[f|0];e=O[c+25936|0];if(!c){break ib}b=b+1|0;f=f+1|0;if((e|0)==(q|0)){continue}}break}b=8116;c=h;if((e|0)==(q|0)){while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}jb:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break jb}}b=(Kb(c,0)|0)>0}N[i+64>>2]=b;break ab}while(1){kb:{q=O[O[b|0]+25936|0];c=O[d|0];e=O[c+25936|0];if(!c){break kb}b=b+1|0;d=d+1|0;if((e|0)==(q|0)){continue}}break}if((e|0)!=(q|0)){break ab}y=i,z=ro(h),N[y+72>>2]=z}q=N[g>>2];r=gi(q,46);if(r){L[r|0]=0;q=r+1|0;e=N[g>>2]}else{e=0}if(N[i>>2]>0){d=0;while(1){m=N[i+16>>2];lb:{if(e){c=N[m+T(d,144)>>2];b=e;while(1){mb:{f=O[O[b|0]+25936|0];j=O[c|0];l=O[j+25936|0];if(!j){break mb}b=b+1|0;c=c+1|0;if((f|0)==(l|0)){continue}}break}if((f|0)!=(l|0)){break lb}}c=15901;b=q;while(1){nb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break nb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11798;b=q;if((f|0)==(l|0)){b=Hb(h);if(!b){break lb}c=m+T(d,144)|0;_a(N[c+4>>2]);N[c+4>>2]=b;break lb}while(1){ob:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break ob}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11812;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){pb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break pb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11839;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){qb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break qb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11828;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){rb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break rb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=13334;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){sb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break sb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15426;b=q;if((f|0)==(l|0)){b=m+T(d,144)|0;c=yb(h);c=(c|0)>=255?255:c;c=(c|0)>0?c:0;L[b+20|0]=c;L[b+16|0]=c;L[b+24|0]=c;L[b+28|0]=c;break lb}while(1){tb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break tb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=16733;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+8>>3]=A;break lb}while(1){ub:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break ub}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=17754;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+32>>2]=z;break lb}while(1){vb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break vb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15749;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+36>>2]=z;break lb}while(1){wb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break wb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=8720;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+40>>2]=z;break lb}while(1){xb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break xb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15170;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+44>>2]=z;break lb}while(1){yb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break yb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=16029;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+64>>3]=A;break lb}while(1){zb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break zb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15944;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+72>>3]=A;break lb}while(1){Ab:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Ab}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=9279;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+80>>2]=z;break lb}while(1){Bb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Bb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=7942;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+104>>2]=z;break lb}while(1){Cb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Cb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=19806;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+136>>2]=z;break lb}while(1){Db:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Db}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=19589;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+108>>2]=z;break lb}while(1){Eb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Eb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=19116;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+112>>2]=z;break lb}while(1){Fb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Fb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15161;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+116>>2]=z;break lb}while(1){Gb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Gb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=18724;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+120>>2]=z;break lb}while(1){Hb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Hb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=18592;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+48>>3]=A;break lb}while(1){Ib:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Ib}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15741;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+56>>3]=A;break lb}while(1){Jb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Jb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=8274;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+88>>3]=A;break lb}while(1){Kb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Kb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11871;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+96>>3]=A;break lb}while(1){Lb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Lb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}if((f|0)!=(l|0)){break lb}y=m+T(d,144)|0,A=pb(h,0),S[y+128>>3]=A}d=d+1|0;if((d|0)>2]){continue}break}}L[s|0]=61;if(!r){break _a}L[r|0]=46}c=g+4|0;b=N[g+4>>2];if(b){continue}break}r=N[i+8>>2]}_a(u);b=N[i>>2];N[o+4>>2]=r;N[o>>2]=b;mb(v,4,22689,o);q=i}La=o+352|0;N[a+660>>2]=q;if(!q){vd(25005,32,1,588952);ha(4);B()}So(a,0);N[a+664>>2]=N[N[a+660>>2]+72>>2]}function zq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!(O[a+16|0]&16)){N[a+72>>2]=0;N[a+64>>2]=0;M[a+62>>1]=1;N[a+84>>2]=N[a+80>>2];f=a- -64|0;j=N[a+68>>2];b:{c:{d:{d=N[a+44>>2];if((d|0)<=1299145832){if((d|0)>1198879348){break d}if((d|0)>1147500128){break c}if((d|0)!=1113943655){if((d|0)!=1114792296|j>>>0<2){break b}e=1;e:{while(1){if(!O[a+60|0]){break b}c=69688;f:{g:{h:{i:{j:{k:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-69637|0){case 0:break i;case 10:break j;case 6:break k;default:break h}}c=69694;break i}c=69698}i=N[T(e,20)+d>>2];l:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];m:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break m}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break l}e=N[a+84>>2];d=N[a+80>>2]}n:{if((d|0)!=(e|0)){break n}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break n}if(!O[a+62|0]){break f}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break n}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break g}Xb(a);break g}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];o:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break o}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break g}c=N[a+84>>2];d=N[a+80>>2]}p:{if((d|0)!=(c|0)){break p}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break p}if(!O[a+62|0]){break e}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break p}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}e=1;q:{while(1){if(!O[a+60|0]){break b}c=2494;r:{s:{t:{u:{v:{w:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-2437|0){case 0:break u;case 7:break v;case 6:break w;default:break t}}c=2499;break u}c=2530}i=N[T(e,20)+d>>2];x:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];y:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break y}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break x}e=N[a+84>>2];d=N[a+80>>2]}z:{if((d|0)!=(e|0)){break z}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break z}if(!O[a+62|0]){break r}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break z}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break s}Xb(a);break s}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];A:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break A}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break s}c=N[a+84>>2];d=N[a+80>>2]}B:{if((d|0)!=(c|0)){break B}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break B}if(!O[a+62|0]){break q}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break B}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break b}break}break a}break a}if((d|0)<=1415670641){C:{D:{switch(d-1399418468|0){default:if((d|0)==1299145833){break C}if((d|0)!=1332902241|j>>>0<2){break b}e=1;while(1){if(!O[a+60|0]){break b}c=2878;E:{F:{G:{H:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-2821|0){case 0:break G;case 10:case 14:break H;default:break F}}c=2903}i=N[T(e,20)+d>>2];I:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];J:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break J}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break I}e=N[a+84>>2];d=N[a+80>>2]}K:{if((d|0)!=(e|0)){break K}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break K}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break K}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break E}Xb(a);break E}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];L:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break L}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break E}c=N[a+84>>2];d=N[a+80>>2]}M:{if((d|0)!=(c|0)){break M}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break M}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break M}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break};break b;case 4:if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}N:{O:{P:{Q:{R:{S:{T:{U:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-3461|0){case 0:break R;case 12:break S;case 8:break T;case 6:case 10:case 15:break U;default:break O}}c=N[T(c,20)+d>>2]==3551;break Q}c=N[T(c,20)+d>>2]==3544;break Q}c=N[T(c,20)+d>>2]-3530|0;if(c>>>0>20|!(1<>2]==(d|0)){d=b;if((b|0)==N[a+72>>2]){break V}}if(!xd(a)){break P}b=N[a+80>>2]+T(N[a+64>>2],20)|0;d=N[b+4>>2];c=N[a+84>>2]+T(N[a+72>>2],20)|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[a+64>>2];d=N[a+72>>2]}N[a+72>>2]=d+1}N[f>>2]=b+1;Xb(a);break N}c=N[T(c,20)+d>>2]-3535>>>0<3}W:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];X:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break X}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break W}e=N[a+84>>2];d=N[a+80>>2]}Y:{if((d|0)!=(e|0)){break Y}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Y}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Y}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break N}}Xb(a);break N}if(O[a+62|0]){Z:{if(N[a+84>>2]==(d|0)){d=b;if((b|0)==N[a+72>>2]){break Z}}if(!xd(a)){break N}b=N[a+80>>2]+T(N[a+64>>2],20)|0;d=N[b+4>>2];c=N[a+84>>2]+T(N[a+72>>2],20)|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[a+64>>2];d=N[a+72>>2]}N[a+72>>2]=d+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break};break b;case 1:case 2:case 3:break b;case 0:break D}}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}_:{$:{d=N[a+80>>2];if(N[d+T(b,20)>>2]!=70320){break $}c=N[T(c,20)+d>>2];if(c-70373>>>0>=4&(c|0)!=70368){break $}aa:{if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];ba:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break ba}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break aa}c=N[a+84>>2];d=N[a+80>>2]}ca:{if((d|0)!=(c|0)){break ca}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ca}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ca}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}Xb(a);break _}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];da:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break da}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break _}c=N[a+84>>2];d=N[a+80>>2]}ea:{if((d|0)!=(c|0)){break ea}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ea}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ea}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}d=N[a+80>>2];fa:{if((N[d+T(b,20)>>2]&-2)==71168){g=N[T(c,20)+d>>2];ga:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];ha:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break ha}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ga}e=N[a+84>>2];d=N[a+80>>2]}ia:{if((d|0)!=(e|0)){break ia}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break ia}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break ia}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if(g-71225>>>0>1){break fa}Xb(a);break fa}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];ja:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break ja}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break fa}c=N[a+84>>2];d=N[a+80>>2]}ka:{if((d|0)!=(c|0)){break ka}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ka}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ka}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if((d|0)<=1415933044){if((d|0)!=1415670642){if((d|0)!=1415671148|j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}d=N[a+80>>2];la:{if(N[d+T(b,20)>>2]==2949){g=N[T(c,20)+d>>2];ma:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];na:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break na}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ma}e=N[a+84>>2];d=N[a+80>>2]}oa:{if((d|0)!=(e|0)){break oa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break oa}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break oa}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if((g|0)!=3010){break la}Xb(a);break la}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];pa:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break pa}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break la}c=N[a+84>>2];d=N[a+80>>2]}qa:{if((d|0)!=(c|0)){break qa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break qa}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break qa}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}ra:{sa:{ta:{ua:{va:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-71296|0){case 6:break ua;case 0:break va;default:break sa}}c=N[T(c,20)+d>>2]-71341|0;if(c>>>0>8|!(1<>2];c=N[a+84>>2];wa:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break wa}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ta}c=N[a+84>>2];d=N[a+80>>2]}xa:{if((d|0)!=(c|0)){break xa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break xa}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break xa}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1;Xb(a);break ra}g=N[T(c,20)+d>>2];ya:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];za:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break za}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ya}e=N[a+84>>2];d=N[a+80>>2]}Aa:{if((d|0)!=(e|0)){break Aa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Aa}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Aa}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if((g|0)!=71346){break ra}}Xb(a);break ra}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Ba:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Ba}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ra}c=N[a+84>>2];d=N[a+80>>2]}Ca:{if((d|0)!=(c|0)){break Ca}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Ca}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Ca}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if((d|0)!=1415933045){if((d|0)!=1416196712|j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{d=N[a+80>>2];e=N[d+T(b,20)>>2];switch(e-70785|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break Ha;case 10:case 12:break Ja;case 0:break Ka;default:break Ia}}c=N[T(c,20)+d>>2]==70832;break Fa}c=N[T(c,20)+d>>2]==70842;break Fa}if((e|0)==70826){break Ga}}La:{if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Ma:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Ma}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Ea}c=N[a+84>>2];d=N[a+80>>2]}Na:{if((d|0)!=(c|0)){break Na}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Na}if(!O[a+62|0]){break La}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Na}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1;break Ea}break a}c=N[T(c,20)+d>>2]-70837>>>0<2}Oa:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];Pa:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break Pa}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Oa}e=N[a+84>>2];d=N[a+80>>2]}Qa:{if((d|0)!=(e|0)){break Qa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Qa}if(!O[a+62|0]){break Da}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Qa}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break Ea}Xb(a)}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}if(j>>>0<2){break b}c=1;Ra:{while(1){if(!O[a+60|0]){break b}Sa:{Ta:{Ua:{d=N[a+80>>2];g=N[d+T(b,20)>>2];e=g-3135|0;Va:{if(!(e>>>0>11|!(1<>2]==3157;break Va}if((g|0)!=3090){break Ua}c=N[T(c,20)+d>>2];c=(c|0)==3148|(c|0)==3157}Wa:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];Xa:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break Xa}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Wa}e=N[a+84>>2];d=N[a+80>>2]}Ya:{if((d|0)!=(e|0)){break Ya}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Ya}if(!O[a+62|0]){break Sa}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Ya}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break Ta}Xb(a);break Ta}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Za:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Za}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Ta}c=N[a+84>>2];d=N[a+80>>2]}_a:{if((d|0)!=(c|0)){break _a}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break _a}if(!O[a+62|0]){break Ra}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break _a}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if((d|0)<=1265525856){if((d|0)!=1198879349){if((d|0)!=1265135466|j>>>0<2){break b}c=1;$a:{while(1){if(!O[a+60|0]){break b}ab:{bb:{cb:{db:{eb:{fb:{gb:{hb:{ib:{d=N[a+80>>2];e=N[d+T(b,20)>>2];switch(e-70144|0){case 1:case 2:case 3:case 4:case 5:break cb;case 6:break gb;case 0:break hb;default:break ib}}if((e|0)==70188){break fb}if((e|0)!=70208){break cb}c=N[T(c,20)+d>>2]==70190;break eb}c=N[T(c,20)+d>>2]-70188|0;if(c>>>0>7|!(1<>2]==(d|0)){d=b;if((b|0)==N[a+72>>2]){break jb}}if(!xd(a)){break db}b=N[a+80>>2]+T(N[a+64>>2],20)|0;d=N[b+4>>2];c=N[a+84>>2]+T(N[a+72>>2],20)|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[a+64>>2];d=N[a+72>>2]}N[a+72>>2]=d+1}N[f>>2]=b+1;Xb(a);break bb}c=N[T(c,20)+d>>2]==70188;break eb}c=(N[T(c,20)+d>>2]&-2)==70192}kb:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];lb:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break lb}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break kb}e=N[a+84>>2];d=N[a+80>>2]}mb:{if((d|0)!=(e|0)){break mb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break mb}if(!O[a+62|0]){break ab}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break mb}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break bb}}Xb(a);break bb}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];nb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break nb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break bb}c=N[a+84>>2];d=N[a+80>>2]}ob:{if((d|0)!=(c|0)){break ob}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ob}if(!O[a+62|0]){break $a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ob}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}pb:{qb:{rb:{sb:{tb:{ub:{vb:{d=N[a+80>>2];e=N[d+T(b,20)>>2];switch(e-2674|0){case 1:break tb;case 0:break ub;default:break vb}}if((e|0)!=2565){break rb}c=N[T(c,20)+d>>2]-2622|0;if(c>>>0>14|!(1<>2]-2623|0;if(c>>>0>8){break rb}if(1<>2]-2625|0;if(c>>>0>10|!(1<>2];c=N[a+84>>2];yb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break yb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break xb}c=N[a+84>>2];d=N[a+80>>2]}zb:{if((d|0)!=(c|0)){break zb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break zb}if(!O[a+62|0]){break wb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break zb}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}Xb(a);break qb}break a}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Ab:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Ab}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break qb}c=N[a+84>>2];d=N[a+80>>2]}Bb:{if((d|0)!=(c|0)){break Bb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Bb}if(!O[a+62|0]){break pb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Bb}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}if((d|0)!=1265525857){if((d|0)!=1298954605|j>>>0<2){break b}c=1;Cb:{while(1){if(!O[a+60|0]){break b}Db:{Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-3335|0){case 11:break Hb;case 7:break Ib;case 0:case 2:break Jb;default:break Fb}}c=N[T(c,20)+d>>2]==3415;break Gb}c=N[T(c,20)+d>>2]==3398;break Gb}c=N[T(c,20)+d>>2];c=(c|0)==3390|(c|0)==3415}Kb:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];Lb:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break Lb}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Kb}e=N[a+84>>2];d=N[a+80>>2]}Mb:{if((d|0)!=(e|0)){break Mb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Mb}if(!O[a+62|0]){break Db}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Mb}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break Eb}Xb(a);break Eb}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Nb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Nb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Eb}c=N[a+84>>2];d=N[a+80>>2]}Ob:{if((d|0)!=(c|0)){break Ob}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Ob}if(!O[a+62|0]){break Cb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Ob}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}e=1;Pb:{while(1){if(!O[a+60|0]){break b}c=3262;Qb:{Rb:{Sb:{Tb:{Ub:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-3209|0){case 0:case 2:break Tb;case 9:break Ub;default:break Sb}}c=3276}i=N[T(e,20)+d>>2];Vb:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];Wb:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break Wb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Vb}e=N[a+84>>2];d=N[a+80>>2]}Xb:{if((d|0)!=(e|0)){break Xb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Xb}if(!O[a+62|0]){break Qb}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Xb}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break Rb}Xb(a);break Rb}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Yb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Yb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Rb}c=N[a+84>>2];d=N[a+80>>2]}Zb:{if((d|0)!=(c|0)){break Zb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Zb}if(!O[a+62|0]){break Pb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Zb}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break b}break}break a}break a}if((d|0)!=1147500129){if((d|0)!=1198877298|j>>>0<2){break b}c=1;_b:{while(1){if(!O[a+60|0]){break b}$b:{ac:{bc:{d=N[a+80>>2];e=N[d+T(b,20)>>2];cc:{if((e|0)!=2757){if((e|0)!=2693){break bc}c=N[T(c,20)+d>>2]-2750|0;if(c>>>0>14|!(1<>2];c=N[a+84>>2];dc:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break dc}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break cc}c=N[a+84>>2];d=N[a+80>>2]}ec:{if((d|0)!=(c|0)){break ec}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ec}if(!O[a+62|0]){break $b}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ec}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1;Xb(a);break ac}g=N[T(c,20)+d>>2];fc:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];gc:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break gc}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break fc}e=N[a+84>>2];d=N[a+80>>2]}hc:{if((d|0)!=(e|0)){break hc}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break hc}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break hc}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if((g|0)!=2750){break ac}}Xb(a);break ac}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];ic:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break ic}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ac}c=N[a+84>>2];d=N[a+80>>2]}jc:{if((d|0)!=(c|0)){break jc}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break jc}if(!O[a+62|0]){break _b}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break jc}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}kc:{lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{xc:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-2309|0){case 4:break sc;case 43:break uc;case 10:break vc;case 1:break wc;case 0:break xc;default:break lc}}c=N[T(c,20)+d>>2]-2362|0;if(c>>>0>29|!(1<>2];if(c-2373>>>0<4|(c|0)==2362){break tc}break lc}c=N[T(c,20)+d>>2]-2373>>>0<3;break rc}if(N[T(c,20)+d>>2]!=2381){break lc}c=b+2|0;if(c>>>0>=j>>>0|N[T(c,20)+d>>2]!=2311){break lc}Og(a)}if(!O[a+62|0]){break nc}d=N[a+84>>2];c=N[a+80>>2];b=N[a+72>>2];if((d|0)==(c|0)&(b|0)==N[f>>2]){break oc}b=b+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break mc}c=N[a+80>>2];d=N[a+84>>2]}if((d|0)!=(c|0)){break pc}b=N[a+72>>2];if(b+1>>>0>N[f>>2]+1>>>0){break qc}d=c;break pc}c=N[T(c,20)+d>>2]==2369}yc:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];zc:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break zc}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break yc}e=N[a+84>>2];d=N[a+80>>2]}Ac:{if((d|0)!=(e|0)){break Ac}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Ac}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Ac}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(c){break mc}break kc}if(!O[a+62|0]){break a}d=N[a+88>>2];N[a+84>>2]=d;b=T(b,20);if(!b){break pc}F(d,c,b);d=N[a+84>>2];c=N[a+80>>2]}e=T(N[a+72>>2],20)+d|0;b=T(N[f>>2],20)+c|0;d=N[b+4>>2];N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[a+72>>2]}N[a+72>>2]=b+1}N[f>>2]=N[f>>2]+1}Xb(a);break kc}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Bc:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Bc}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break kc}c=N[a+84>>2];d=N[a+80>>2]}Cc:{if((d|0)!=(c|0)){break Cc}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Cc}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Cc}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}}Ac(a)}return}ba(8694,17855,209,11932);B()}function ME(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=La-240|0;La=d;a:{b:{c:{b=O[c+140|0];if(!(b&8)){L[c+140|0]=b|8;N[d+236>>2]=c;e=N[c+80>>2];N[d+232>>2]=e;h=e;d:{e:{k=N[c+68>>2];if(k){h=e+T(k,20)|0;b=e;f=k;while(1){if(O[b+18|0]!=6){break e}b=b+20|0;n=n+1|0;f=f-1|0;if(f){continue}break}}j=d+236|0;p=d+232|0;f=0;n=k;i=k;break d}j=d+236|0;p=d+232|0;i=n;while(1){h=i;if(O[b+18|0]!=14){h=b;break d}while(1){h=h+1|0;if(k>>>0<=h>>>0){h=b;break d}o=e+T(h,20)|0;if(O[o+18|0]==6){continue}break}g=f;if(!(1<>1]&7168)){h=b;break d}while(1){i=i+1|0;h=(g|0)!=0;n=h+n|0;f=g-h|0;b=T(h,20)+b|0;if((g|0)!=(h|0)){g=f;if(O[b+18|0]==6){continue}}break}if(f){continue}break}h=b;f=0}L[d+224|0]=0;N[d+220>>2]=242957;N[d+212>>2]=j;N[d+216>>2]=p;N[d+208>>2]=242956;N[d+200>>2]=n;N[d+196>>2]=f;N[d+192>>2]=h;N[d+176>>2]=0;N[d+180>>2]=1;N[d+184>>2]=i;N[d+188>>2]=1;if(!f){break c}j=i;g=h;p=f;while(1){b=p;f:{while(1){j=j+1|0;n=(b|0)!=0;p=b-n|0;g=T(n,20)+g|0;if((b|0)!=(n|0)){b=p;if(O[g+18|0]==6){continue}}if(!p){break f}b=j;g:{if(O[g+18|0]!=14){break g}while(1){b=b+1|0;if(k>>>0<=b>>>0){break g}n=e+T(b,20)|0;if(O[n+18|0]==6){continue}break}b=p;if(1<>1]&7168){continue}}break}m=m+1|0;continue}break}j=-1;n=0;h:{i:{switch(m+2|0){default:j=m+1|0;case 0:g=f;p=j;while(1){p=p-1|0;b=g;while(1){i=i+1|0;n=(b|0)!=0;g=b-n|0;h=T(n,20)+h|0;if((b|0)!=(n|0)){b=g;if(O[h+18|0]==6){continue}}if(!g){break h}b=i;j:{if(O[h+18|0]!=14){break j}while(1){b=b+1|0;if(k>>>0<=b>>>0){break j}n=e+T(b,20)|0;if(O[n+18|0]==6){continue}break}b=g;if(1<>1]&7168){continue}}break}if(p){continue}break};n=j;break;case 1:break i}}j=N[d+220>>2];b=N[d+216>>2];N[d+160>>2]=b;N[d+164>>2]=j;k=N[d+212>>2];e=N[d+208>>2];N[d+152>>2]=e;N[d+156>>2]=k;m=N[d+204>>2];g=N[d+200>>2];N[d+144>>2]=g;N[d+148>>2]=m;o=N[d+196>>2];i=N[d+192>>2];N[d+136>>2]=i;N[d+140>>2]=o;l=N[d+188>>2];h=N[d+184>>2];N[d+128>>2]=h;N[d+132>>2]=l;q=N[d+180>>2];p=N[d+176>>2];N[d+120>>2]=p;N[d+124>>2]=q;N[d+104>>2]=b;N[d+108>>2]=j;N[d+96>>2]=e;N[d+100>>2]=k;N[d+88>>2]=g;N[d+92>>2]=m;N[d+80>>2]=i;N[d+84>>2]=o;N[d+72>>2]=h;N[d+76>>2]=l;N[d+64>>2]=p;N[d+68>>2]=q;L[d+112|0]=1;L[d+168|0]=1;break a}b=N[d+220>>2];N[d+160>>2]=N[d+216>>2];N[d+164>>2]=b;b=N[d+212>>2];N[d+152>>2]=N[d+208>>2];N[d+156>>2]=b;b=N[d+204>>2];N[d+144>>2]=N[d+200>>2];N[d+148>>2]=b;b=N[d+196>>2];N[d+136>>2]=N[d+192>>2];N[d+140>>2]=b;b=N[d+188>>2];N[d+128>>2]=N[d+184>>2];N[d+132>>2]=b;b=N[d+180>>2];N[d+120>>2]=N[d+176>>2];N[d+124>>2]=b;break b}ba(22778,14165,169,12138);B()}b=N[d+220>>2];N[d+160>>2]=N[d+216>>2];N[d+164>>2]=b;b=N[d+212>>2];N[d+152>>2]=N[d+208>>2];N[d+156>>2]=b;b=N[d+204>>2];N[d+144>>2]=N[d+200>>2];N[d+148>>2]=b;b=N[d+196>>2];N[d+136>>2]=N[d+192>>2];N[d+140>>2]=b;b=N[d+188>>2];N[d+128>>2]=N[d+184>>2];N[d+132>>2]=b;b=N[d+180>>2];N[d+120>>2]=N[d+176>>2];N[d+124>>2]=b;j=0}n=j;N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;b=N[d+220>>2];N[d+104>>2]=N[d+216>>2];N[d+108>>2]=b;b=N[d+212>>2];N[d+96>>2]=N[d+208>>2];N[d+100>>2]=b;b=N[d+204>>2];N[d+88>>2]=N[d+200>>2];N[d+92>>2]=b;b=N[d+196>>2];N[d+80>>2]=N[d+192>>2];N[d+84>>2]=b;b=N[d+188>>2];N[d+72>>2]=N[d+184>>2];N[d+76>>2]=b;b=N[d+180>>2];N[d+64>>2]=N[d+176>>2];N[d+68>>2]=b;s=1;L[d+168|0]=1;L[d+112|0]=1;N[147460]=0}p=0;j=1;b=!n;while(1){k:{l:{m:{if(!b){if(O[p+248640|0]==2){bc(d+120|0,d+176|0);f=N[d+196>>2]}g=p<<1;i=M[g+247712>>1]+243216|0;e=L[p+247968|0];b=O[g+242960|0];n:{o:{if(!f){h=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;if(!b){break o}break n}h=O[N[d+192>>2]+18|0];if(b>>>0>h>>>0|O[g+242961|0]>>0){break n}}e=h-b|0}b=O[e+i|0];break m}if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if(s){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if(!p){break l}b=M[(p<<1)+248384>>1]-1|0}p=L[b+248096|0];b=L[b+248240|0];if(!b){break k}p:{switch(b-3|0){case 9:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}q:{if(!g){g=0;break q}if(O[h+18|0]!=14){break q}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break q}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 7:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}r:{if(!g){g=0;break r}if(O[h+18|0]!=14){break r}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break r}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|1;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 5:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}s:{if(!g){g=0;break s}if(O[h+18|0]!=14){break s}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break s}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|2;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 13:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}t:{if(!g){g=0;break t}if(O[h+18|0]!=14){break t}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break t}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|3;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 11:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}u:{if(!g){g=0;break u}if(O[h+18|0]!=14){break u}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break u}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 3:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}v:{if(!g){g=0;break v}if(O[h+18|0]!=14){break v}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break v}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|5;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 17:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}w:{if(!g){g=0;break w}if(O[h+18|0]!=14){break w}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break w}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|6;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 1:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}x:{if(!g){g=0;break x}if(O[h+18|0]!=14){break x}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break x}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|7;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=N[d+236>>2];N[b+144>>2]=N[b+144>>2]|64;b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 0:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}y:{if(!g){g=0;break y}if(O[h+18|0]!=14){break y}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break y}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|8;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 8:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;z:{if(!h){break z}A:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break A;default:break z}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break z}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 6:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;B:{if(!h){break B}C:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break C;default:break B}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break B}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|1;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 4:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;D:{if(!h){break D}E:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break E;default:break D}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break D}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|2;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 12:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;F:{if(!h){break F}G:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break G;default:break F}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break F}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|3;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 10:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;H:{if(!h){break H}I:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break I;default:break H}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break H}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 2:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;J:{if(!h){break J}K:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break K;default:break J}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break J}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|5;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 16:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;L:{if(!h){break L}M:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break M;default:break L}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break L}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|6;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 14:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;N:{if(!h){break N}O:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break O;default:break N}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break N}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|7;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=N[d+236>>2];N[b+144>>2]=N[b+144>>2]|64;b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 15:break p;default:break k}}bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;P:{if(!h){break P}Q:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break Q;default:break P}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break P}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break}b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|8;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}}}R:{S:{p=N[c+68>>2];if(p){l=p-1|0;n=N[c+80>>2];k=n+3|0;b=0;e=O[n+15|0];while(1){T:{if((b|0)==(l|0)){b=p;break T}b=b+1|0;if((e|0)==O[(T(b,20)+k|0)+12|0]){continue}}break}h=0;while(1){j=b;e=N[c+68>>2];m=b>>>0>e>>>0?e:b;o=m-h|0;U:{if(o>>>0<2){break U}g=N[c+144>>2]|32;N[c+144>>2]=g;if(h>>>0>=m>>>0){break U}b=-1;e=h;q=m+(e^-1)|0;if(q>>>0>=3){s=o&-4;i=0;while(1){f=T(e,20)+n|0;r=N[f+8>>2];b=b>>>0>>0?b:r;r=N[f+28>>2];b=b>>>0>>0?b:r;r=N[f+48>>2];b=b>>>0>>0?b:r;f=N[f+68>>2];b=b>>>0>>0?b:f;e=e+4|0;i=i+4|0;if((s|0)!=(i|0)){continue}break}}f=0;i=o&3;if(i){while(1){s=N[(T(e,20)+n|0)+8>>2];b=b>>>0>>0?b:s;e=e+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(o&1){e=T(h,20)+n|0;if(N[e+8>>2]!=(b|0)){N[e+4>>2]=N[e+4>>2]|3}h=h+1|0}if(!q){break U}while(1){e=T(h,20)+n|0;if(N[e+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[e+4>>2]=N[e+4>>2]|3}e=T(h+1|0,20)+n|0;if(N[e+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[e+4>>2]=N[e+4>>2]|3}h=h+2|0;if((m|0)!=(h|0)){continue}break}}b=j+1|0;e=b>>>0

>>0?p:b;g=e-1|0;f=O[(T(j,20)+k|0)+12|0];b=j;while(1){V:{if((b|0)==(g|0)){b=e;break V}b=b+1|0;if((f|0)==O[(T(b,20)+k|0)+12|0]){continue}}break}h=j;if(p>>>0>h>>>0){continue}break}break S}j=N[a+112>>2];break R}j=N[a+112>>2];f=N[j>>2];if(!f){break R}e=0;b=O[n+15|0];while(1){W:{if((e|0)==(l|0)){e=p;break W}e=e+1|0;if((b|0)==O[(T(e,20)+k|0)+12|0]){continue}}break}h=n+2|0;b=0;while(1){g=e;e=e-b|0;i=O[(h+T(b,20)|0)+16|0]==18?1:e>>>0>=3?3:e;m=i+b|0;X:{if(m>>>0<=b>>>0){break X}e=0;if(i){while(1){o=T(b,20)+n|0;N[o+4>>2]=f|N[o+4>>2];b=b+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(i-1>>>0<=2){break X}while(1){e=T(b,20)+n|0;N[e+4>>2]=f|N[e+4>>2];N[e+24>>2]=f|N[e+24>>2];N[e+44>>2]=f|N[e+44>>2];e=e- -64|0;N[e>>2]=f|N[e>>2];b=b+4|0;if((m|0)!=(b|0)){continue}break}}b=g+1|0;b=b>>>0

>>0?p:b;i=b-1|0;m=O[(T(g,20)+k|0)+12|0];e=g;while(1){Y:{if((e|0)==(i|0)){e=b;break Y}e=e+1|0;if((m|0)==O[(T(e,20)+k|0)+12|0]){continue}}break}b=g;if(p>>>0>b>>>0){continue}break}}Z:{if(N[j+4>>2]){break Z}b=N[a+44>>2];if((b|0)<=0){break Z}g=N[a+36>>2];a=N[a+48>>2];n=0;e=b-1|0;b=e;_:{while(1){f=b+n>>>1|0;i=N[a+T(f,36)>>2];$:{if(i>>>0<=1769172844){j=N[(a+T(f,36)|0)+28>>2];if((i|0)==1769172844){break _}n=f+1|0;break $}b=f-1|0}if((b|0)>=(n|0)){continue}break}j=0}b=j;n=0;i=(b|0)!=(g|0)?b:0;N[d+176>>2]=i;b=e;aa:{while(1){f=b+n>>>1|0;h=N[a+T(f,36)>>2];ba:{if(h>>>0<=1768843636){j=N[(a+T(f,36)|0)+28>>2];if((h|0)==1768843636){break aa}n=f+1|0;break ba}b=f-1|0}if((b|0)>=(n|0)){continue}break}j=0}b=j;n=0;b=(b|0)!=(g|0)?b:0;N[d+180>>2]=b;i=b|i;b=e;ca:{while(1){f=b+n>>>1|0;h=N[a+T(f,36)>>2];da:{if(h>>>0<=1835361385){j=N[(a+T(f,36)|0)+28>>2];if((h|0)==1835361385){break ca}n=f+1|0;break da}b=f-1|0}if((b|0)>=(n|0)){continue}break}j=0}f=j;b=0;f=(f|0)!=(g|0)?f:0;N[d+184>>2]=f;i=f|i;j=d;ea:{while(1){f=b+e>>>1|0;h=N[a+T(f,36)>>2];fa:{if(h>>>0<=1718185569){b=N[(a+T(f,36)|0)+28>>2];if((h|0)==1718185569){break ea}b=f+1|0;break fa}e=f-1|0}if((b|0)<=(e|0)){continue}break}b=0}a=b;a=(a|0)!=(g|0)?a:0;N[j+188>>2]=a;a=a|i;if(!a|!p){break Z}f=a^-1;a=p-1|0;h=N[c+80>>2];k=h+3|0;i=0;j=O[h+15|0];b=j;e=0;while(1){ga:{g=4;if((a|0)==(e|0)){e=p;break ga}e=e+1|0;if((b|0)==O[(k+T(e,20)|0)+12|0]){continue}}break}b=0;while(1){a=i;i=e;c=j&15;ha:{if(c>>>0>8){break ha}if(!(1<>>0<=b>>>0){break ia}c=a+(b^-1)|0;e=N[(d+176|((g|0)==3?8:4))>>2];g=a-b&3;if(g){n=0;while(1){j=h+T(b,20)|0;N[j+4>>2]=e|f&N[j+4>>2];b=b+1|0;n=n+1|0;if((g|0)!=(n|0)){continue}break}}if(c>>>0<3){break ia}while(1){c=h+T(b,20)|0;N[c+4>>2]=e|f&N[c+4>>2];N[c+24>>2]=e|f&N[c+24>>2];N[c+44>>2]=e|f&N[c+44>>2];c=c- -64|0;N[c>>2]=e|f&N[c>>2];b=b+4|0;if((a|0)!=(b|0)){continue}break}}ka:{if(a>>>0>=i>>>0){break ka}c=N[(d+176|m<<2)>>2];e=a;b=i-e&3;if(b){n=0;while(1){g=h+T(e,20)|0;N[g+4>>2]=c|f&N[g+4>>2];e=e+1|0;n=n+1|0;if((b|0)!=(n|0)){continue}break}}if((a^-1)+i>>>0<3){break ka}while(1){b=h+T(e,20)|0;N[b+4>>2]=c|f&N[b+4>>2];N[b+24>>2]=c|f&N[b+24>>2];N[b+44>>2]=c|f&N[b+44>>2];b=b- -64|0;N[b>>2]=c|f&N[b>>2];e=e+4|0;if((i|0)!=(e|0)){continue}break}}g=m}b=i+1|0;b=b>>>0

>>0?p:b;c=b-1|0;j=O[(k+T(i,20)|0)+12|0];e=i;while(1){la:{if((c|0)==(e|0)){e=b;break la}e=e+1|0;if((j|0)==O[(k+T(e,20)|0)+12|0]){continue}}break}b=a;if(i>>>0

>>0|c-p>>>0<2){break a}h=N[b+12>>2];d=h-2|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}d=O[p|0]|O[p+1|0]<<8;c:{if(!d){break c}d:{o=((d<<8|d>>>8)&65535)+a|0;if(f>>>0>o>>>0|c>>>0>>0|c-o>>>0<2){break d}d=h-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}f=O[o|0]|O[o+1|0]<<8;if(!f){break c}h=o+2|0;if(h>>>0>c>>>0){break d}e=c-h|0;c=(f<<8|f>>>8)&65535;f=c<<1;if(e>>>0>>0){break d}d=d-f|0;N[b+12>>2]=d;if((d|0)<=0){break d}A=c>>>0<=1?1:c;while(1){q=((v<<1)+o|0)+2|0;d=N[b+4>>2];if(q>>>0>>0){break d}f=N[b+8>>2];if(f>>>0>>0|f-q>>>0<2){break d}c=N[b+12>>2];h=c-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[q|0]|O[q+1|0]<<8;e:{if(!h){break e}l=((h<<8|h>>>8)&65535)+o|0;f:{g:{if(d>>>0>l>>>0|f>>>0>>0|f-l>>>0<6){break g}h=c-8|0;N[b+12>>2]=h;if((h|0)<=0){break g}n=l+4|0;if(f>>>0>>0|f-n>>>0<2){break g}h=c-10|0;N[b+12>>2]=h;if((h|0)<=0){break g}s=O[n|0]|O[n+1|0]<<8;t=(s<<8|s>>>8)&65535;e=t<<1;if(s){c=l+6|0;if(c>>>0>f>>>0|e>>>0>f-c>>>0){break g}h=h-e|0;N[b+12>>2]=h;if((h|0)<=0){break g}}c=N[b+16>>2]+t|0;N[b+16>>2]=c;if((c|0)>16383){break g}h:{if(!(O[l+3|0]&16)){c=h;break h}c=(e+n|0)+2|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break g}c=h-2|0;N[b+12>>2]=c;if((h|0)<3){break g}}if(d>>>0>n>>>0){break g}d=O[l|0]|O[l+1|0]<<8;c=c-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}if(s){h=l+6|0;if(h>>>0>f>>>0|e>>>0>f-h>>>0){break g}c=c-e|0;N[b+12>>2]=c;if((c|0)<=0){break g}s=(d<<8|d>>>8)&65535;B=t>>>0<=1?1:t;h=0;while(1){r=((h<<1)+n|0)+2|0;if(r>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-r>>>0<2){break g}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=O[r|0]|O[r+1|0]<<8;i:{if(!c){break i}f=((c<<8|c>>>8)&65535)+l|0;c=s;d=0;m=La-16|0;La=m;j:{while(1){k:{if((c|0)!=9){d=1;l:{switch(c-1|0){case 0:if(Q[b+4>>2]>f>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}g=c-f|0;if(g>>>0<2){d=0;break j}e=N[b+12>>2];i=e-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}m:{n:{i=O[f|0]|O[f+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break m;case 0:break n;default:break j}}if(g>>>0<6){d=0;break j}d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-10|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;o:{if(!c){break o}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break o}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=O[f+4|0]|O[f+5|0]<<8;if(!c){break j}e=f+6|0;if(e>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}g=d-e|0;d=YE(c)<<1;if(g>>>0>>0){d=0;break j}g=N[b+12>>2]-d|0;N[b+12>>2]=g;d=0;if((g|0)<=0){break j}d=1;if(c>>>0<4096){break j}d=fe(c,b,f,e);break j}if(g>>>0<8){d=0;break j}d=e-10|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-12|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;p:{if(!c){break p}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break p}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;g=O[f+4|0]|O[f+5|0]<<8;j=YE(g);e=O[f+6|0]|O[f+7|0]<<8;k=(e<<8|e>>>8)&65535;d=T(j,k)<<1;if(d){if(Q[b+4>>2]>c>>>0){d=0;break j}i=N[b+8>>2];if(i>>>0>>0){d=0;break j}if(d>>>0>i-c>>>0){d=0;break j}i=N[b+12>>2]-d|0;N[b+12>>2]=i;d=0;if((i|0)<=0){break j}}if(!e){d=1;break j}d=1;if(g>>>0<4096){break j}i=0;while(1){d=fe(O[f+4|0]|O[f+5|0]<<8,b,f,c);if(!d){break j}c=(j<<1)+c|0;i=i+1|0;if((k|0)!=(i|0)){continue}break};break j;case 1:if(Q[b+4>>2]>f>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}g=c-f|0;if(g>>>0<2){d=0;break j}e=N[b+12>>2];i=e-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}q:{r:{i=O[f|0]|O[f+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break q;case 0:break r;default:break j}}if(g>>>0<10){d=0;break j}d=e-12|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}i=O[f+6|0]|O[f+7|0]<<8;j=O[f+4|0]|O[f+5|0]<<8;c=e-14|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;s:{if(!c){break s}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break s}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=f+10|0;if(d>>>0>e>>>0){d=0;break j}e=e-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(e>>>0>>0){d=0;break j}e=g-d|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break j}y=YE(j);w=(y+YE(i)|0)+1|0;C=c>>>0<=1?1:c;i=0;while(1){e=N[b+4>>2];j=((i<<1)+f|0)+10|0;if(e>>>0>j>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}if(c-j>>>0<2){d=0;break j}k=N[b+12>>2];d=k-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[j|0]|O[j+1|0]<<8;t:{if(!d){break t}u:{g=((d<<8|d>>>8)&65535)+f|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<2){break u}d=k-4|0;N[b+12>>2]=d;if((d|0)<=0){break u}k=O[g|0]|O[g+1|0]<<8;if(!k){break t}e=g+2|0;if(e>>>0>c>>>0){break u}x=(k<<8|k>>>8)&65535;z=T(x,w)<<1;if(z>>>0>c-e>>>0){break u}c=d-z|0;N[b+12>>2]=c;if((c|0)<=0){break u}c=g+4|0;v:{if(!k){break v}e=0;d=c;if((O[f+4|0]|O[f+5|0]<<8)>>>0<4096){break v}while(1){if(!fe(O[f+4|0]|O[f+5|0]<<8,b,g,d)){break u}d=(w<<1)+d|0;e=e+1|0;if((x|0)!=(e|0)){continue}break}}if(!k|(O[f+6|0]|O[f+7|0]<<8)>>>0<4096){break t}d=c+(y<<1)|0;e=0;while(1){if(!fe(O[f+6|0]|O[f+7|0]<<8,b,g,d)){break u}d=(w<<1)+d|0;e=e+1|0;if((x|0)!=(e|0)){continue}break}break t}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[j|0]=0;L[j+1|0]=0}d=1;i=i+1|0;if((C|0)!=(i|0)){continue}break}break j}if(g>>>0<16){d=0;break j}d=e-18|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-20|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;w:{if(!c){break w}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break w}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;x:{if(!d){break x}if(td(((d<<8|d>>>8)&65535)+f|0,b)){break x}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=f+10|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;y:{if(!d){break y}if(td(((d<<8|d>>>8)&65535)+f|0,b)){break y}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=O[f+14|0]|O[f+15|0]<<8;d=(c<<8|c>>>8)&65535;c=O[f+12|0]|O[f+13|0]<<8;g=T(d,(c<<8|c>>>8)&65535);i=YE(O[f+4|0]|O[f+5|0]<<8);j=YE(O[f+6|0]|O[f+7|0]<<8)+i|0;c=UE(g,0,j<<1,0);if(Pa){d=0;break j}e=f+16|0;if(c){if(e>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(c>>>0>d-e>>>0){d=0;break j}c=N[b+12>>2]-c|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}}if(!(!g|(O[f+4|0]|O[f+5|0]<<8)>>>0<4096)){d=0;c=e;while(1){if(!fe(O[f+4|0]|O[f+5|0]<<8,b,f,c)){d=0;break j}c=(j<<1)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=1;if(!g|(O[f+6|0]|O[f+7|0]<<8)>>>0<4096){break j}c=e+(i<<1)|0;e=0;while(1){d=fe(O[f+6|0]|O[f+7|0]<<8,b,f,c);if(!d){break j}c=(j<<1)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break};break j;case 2:c=N[b+4>>2];if(c>>>0>f>>>0){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-f>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[f|0]|O[f+1|0]<<8)!=256){break j}d=c;c=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>e>>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;z:{if(!d){break z}if(Lb(((d<<8|d>>>8)&65535)+f|0,b)){break z}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=f+6|0;if(d>>>0>e>>>0){d=0;break j}e=e-d|0;c=(c<<8|c>>>8)&65535;d=c<<2;if(e>>>0>>0){d=0;break j}e=g-d|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break j}e=c>>>0<=1?1:c;c=0;while(1){d=(c<<2)+f|0;if(!Hf(d+6|0,b,f)){d=0;break j}if(Hf(d+8|0,b,f)){d=1;c=c+1|0;if((e|0)==(c|0)){break j}continue}break};d=0;break j;case 3:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;A:{if(!e){break A}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break A}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;B:{if(!e){break B}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break B}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;C:{if(!e){break C}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Xg(e,b,m+12|0)){break C}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;d=Wg(f+10|0,b,f,m+8|0);break j;case 4:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;D:{if(!e){break D}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break D}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;E:{if(!e){break E}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break E}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;F:{if(!e){break F}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Xg(e,b,m+12|0)){break F}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;i=N[b+4>>2];e=f+10|0;d=0;G:{if(i>>>0>e>>>0){break G}g=N[b+8>>2];d=0;if(g>>>0>>0){break G}d=0;if(g-e>>>0<2){break G}j=N[b+12>>2];k=j-2|0;N[b+12>>2]=k;c=1;d=0;if((k|0)<=0){break G}k=m+8|0;d=O[e|0]|O[e+1|0]<<8;H:{if(!d){break H}I:{f=((d<<8|d>>>8)&65535)+f|0;if(f>>>0>>0|f>>>0>g>>>0|g-f>>>0<2){break I}d=j-4|0;N[b+12>>2]=d;if((d|0)<=0){break I}i=O[f|0]|O[f+1|0]<<8;if(!i){break H}c=f+2|0;if(c>>>0>g>>>0){break I}j=g-c|0;c=(i<<8|i>>>8)&65535;g=c<<1;if(j>>>0>>0){break I}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break I}g=c>>>0<=1?1:c;d=0;while(1){if(!Wg((f+(d<<1)|0)+2|0,b,f,k)){break I}c=1;d=d+1|0;if((g|0)!=(d|0)){continue}break}break H}c=N[b+28>>2];d=0;if(c>>>0>31){break G}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break H}L[e|0]=0;L[e+1|0]=0;c=1}d=c}break j;case 5:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;J:{if(!e){break J}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break J}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;K:{if(!e){break K}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break K}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;L:{if(!e){break L}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Xg(e,b,m+12|0)){break L}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;d=Wg(f+10|0,b,f,m+8|0);break j;case 6:d=0;if(Q[b+4>>2]>f>>>0){break j}c=N[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break j}d=1;M:{N:{c=O[f|0]|O[f+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break M;case 1:break N;case 0:break k;default:break j}}d=yk(f,b);break j}d=xk(f,b);break j;case 7:break l;default:break j}}d=wk(f,b);break j}if(Q[b+4>>2]>f>>>0){break j}c=N[b+8>>2];if(c>>>0>>0){break j}c=c-f|0;if(c>>>0<2){break j}e=N[b+12>>2];g=e-2|0;N[b+12>>2]=g;if((g|0)<=0){break j}if((O[f|0]|O[f+1|0]<<8)!=256){d=1;break j}if(c>>>0<8){break j}c=e-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}e=O[f+2|0]|O[f+3|0]<<8;if((e|0)==2304){break j}c=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if(c){f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+f|0}else{f=275552}c=(e<<8|(e&65280)>>>8)&65535;continue}break}d=vk(f,b)}La=m+16|0;if(d){break i}c=N[b+28>>2];if(c>>>0>31){break d}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break f}L[r|0]=0;L[r+1|0]=0}h=h+1|0;if((B|0)!=(h|0)){continue}break}d=O[l|0]|O[l+1|0]<<8}if(N[b+28>>2]|(d&65535)!=2304){break e}d=275552;e=0;c=O[n|0]|O[n+1|0]<<8?l+6|0:275552;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+l|0}if((O[d|0]|O[d+1|0]<<8)==256){c=O[d+2|0]|O[d+3|0]<<8;e=(c<<8|c>>>8)&65535}d=1;if(t>>>0<2){break e}while(1){h=275552;c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=d>>>0?275552:((d<<1)+n|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){h=((c<<8|c>>>8)&65535)+l|0}c=0;if((O[h|0]|O[h+1|0]<<8)==256){c=O[h+2|0]|O[h+3|0]<<8;c=(c<<8|c>>>8)&65535}if((c|0)==(e|0)){d=d+1|0;if((t|0)!=(d|0)){continue}}break}if((c|0)==(e|0)){break e}}c=N[b+28>>2]}if(c>>>0>31){break d}N[b+28>>2]=c+1;if(!O[b+24|0]){break d}L[q|0]=0;L[q+1|0]=0}v=v+1|0;if((A|0)!=(v|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){h=0;break a}N[b+28>>2]=c+1;if(!O[b+24|0]){h=0;break a}L[p|0]=0;L[p+1|0]=0}h=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65537){break a}c=a+10|0;if(c>>>0>2]){h=0;break a}d=N[b+8>>2];if(d>>>0>>0){h=0;break a}if(d-c>>>0<4){h=0;break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!d){break a}if(d&128){h=0;break a}if(Bk((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+a|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){h=0;break a}N[b+28>>2]=a+1;h=0;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;h=1}La=u+16|0;return h}function bq(a,b){var 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,t=0,u=0,v=0;f=La-8288|0;La=f;N[a>>2]=0;N[a+4>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;L[a+40|0]=0;N[a+36>>2]=65536;N[a+8>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;L[a+24|0]=0;C(a+44|0,0,88);c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[a+40|0]=1;N[a+36>>2]=c;c=N[b+12>>2];a:{if(c){b=Qa[c|0](b,1128678962,N[b+16>>2])|0;if(b){break a}}b=275552}b:{c=N[b>>2];if(c){if((c|0)<=0){break b}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;e=N[b+12>>2];N[a+4>>2]=e;d=N[b+16>>2];N[a+8>>2]=d+e;if((d|0)>=0){c:{N[a+28>>2]=0;if(d>>>0>67108863){c=1073741823}else{c=d<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;d:{if(!e){ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break d}e:{if(d>>>0>=5){N[a+12>>2]=c-5;c=O[e|0];ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if((c|0)!=2){break e}if(!N[b+4>>2]){break d}N[b+4>>2]=0;break d}ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}ab(b);b=275552}N[a+44>>2]=b;f:{c=N[b>>2];if(c){if((c|0)<=0){break f}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;c=N[b+16>>2];h=c+d|0;N[a+8>>2]=h;if((c|0)>=0){N[a+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;g:{h:{if(Q[b+16>>2]<5){break h}n=N[b+12>>2];if((n|0)==275552){break h}g=O[n+3|0]|O[n+4|0]<<8;e=(g<<8|g>>>8)&65535;b=O[n+2|0]+n|0;if(g){if(b>>>0>>0|b>>>0>h>>>0|h-b>>>0>>0){break h}c=c-e|0;N[a+12>>2]=c;if((c|0)<=0){break h}}i=a+116|0;s=a+104|0;L[f+24|0]=0;C(f+28|0,0,4108);N[f+12>>2]=e;N[f+8>>2]=b;N[a+72>>2]=0;N[a+76>>2]=0;N[a+64>>2]=0;N[a+68>>2]=0;N[a+56>>2]=0;N[a+60>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;h=f+24|0;c=0;d=0;while(1){i:{j:{k:{b=d+1|0;if(b>>>0<=e>>>0){g=N[f+8>>2];j=O[g+d|0];N[f+16>>2]=b;l:{if((j|0)!=12){d=b;break l}d=d+2|0;if(e>>>0>>0){j=65535;break k}b=O[b+g|0];N[f+16>>2]=d;j=b|256}m:{n:{o:{p:{q:{switch(j-17|0){default:r:{switch(j-292|0){case 0:break n;case 1:break p;default:break r}}if((j|0)!=263){break k}s:{t:{u:{l=N[a+52>>2];if((l|0)>=0){b=N[a+56>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=l>>>0){break t}while(1){l=((l>>>1|0)+l|0)+8|0;if(c>>>0>=l>>>0){continue}break}if(l>>>0<=357913941){b=$a(N[a+60>>2],T(l,12));if(b){break u}}N[a+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;m=589824;break s}N[a+52>>2]=l;N[a+60>>2]=b;b=N[a+56>>2]}if(b>>>0>>0){while(1){N[a+56>>2]=b+1;b=N[a+60>>2]+T(b,12)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+56>>2];if(c>>>0>b>>>0){continue}break}}N[a+56>>2]=c;m=(N[a+60>>2]+T(c,12)|0)-12|0}c=m;N[c+4>>2]=263;b=g;g=N[a+48>>2];N[c>>2]=b+g;b=0;c=e-g|0;c=c>>>0<=e>>>0?c:0;g=d-g|0;L[m+8|0]=c>>>0>>0?c:g;N[a+48>>2]=d;break m;case 1:case 2:case 3:case 4:case 5:case 6:break k;case 0:break o;case 7:break q}}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+72>>2]=0;break m}b=0;k=S[h+(c<<3)>>3];v:{if(V(k)<2147483648){c=~~k;break v}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+72>>2]=c;break m}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+76>>2]=0;break m}b=0;k=S[h+(c<<3)>>3];w:{if(V(k)<2147483648){c=~~k;break w}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+76>>2]=c;break m}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+64>>2]=0;break m}b=0;k=S[h+(c<<3)>>3];x:{if(V(k)<2147483648){c=~~k;break x}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+64>>2]=c;break m}y:{if(!c){c=0;N[147456]=0;N[147457]=0;L[f+24|0]=1;b=1;break y}k=S[h+(c<<3)>>3];z:{if(V(k)<2147483648){c=~~k;break z}c=-2147483648}b=0;if((c|0)>=0){break y}L[f+24|0]=1;c=0;b=1}N[a+68>>2]=c}N[f+28>>2]=0;break j}e=O[n+2|0];d=O[n+3|0]|O[n+4|0]<<8;b=N[a+72>>2];b=b?b+n|0:275552;N[a+84>>2]=b;c=N[a+64>>2];c=c?c+n|0:275552;N[a+88>>2]=c;h=N[a+68>>2];N[a+92>>2]=h?h+n|0:275552;h=N[a+76>>2];N[a+96>>2]=h?h+n|0:275552;N[a+80>>2]=(e+((d<<8|d>>>8)&65535)|0)+n;if((b|0)!=275552){if(b>>>0>2]){break h}e=N[a+8>>2];if(e>>>0>>0|e-b>>>0<10){break h}d=N[a+12>>2]-10|0;N[a+12>>2]=d;if((d|0)<=0){break h}c=b+2|0;g=O[b|0]|O[b+1|0]<<8;A:{if(!g){h=e-c|0;break A}if(c>>>0>e>>>0){break h}h=e-c|0;g=(g<<8|g>>>8)&65535;if(h>>>0>>0){break h}d=d-g|0;N[a+12>>2]=d;if((d|0)<=0){break h}}if(h>>>0<=7|c>>>0>e>>>0){break h}N[a+12>>2]=d-8;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<9){break h}if(!hh(b+4|0,a,c)){break h}N[f+8>>2]=c;if(!gh(b+8|0,a,f+8|0)){break h}c=N[a+88>>2]}if((c|0)==275552){break h}if(!Jg(c,a)){break h}b=N[a+80>>2];if((b|0)==275552){break h}if(!Jg(b,a)){break h}b=N[a+92>>2];if((b|0)==275552){break h}if(!Jg(b,a)){break h}b=N[a+96>>2];B:{if((b|0)==275552){break B}if(b>>>0>2]){break h}d=N[a+8>>2];if(d>>>0>>0|d-b>>>0<2){break h}c=N[a+92>>2];c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=N[a+12>>2]-2|0;N[a+12>>2]=e;if((e|0)<=0){break h}l=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);C:{switch(O[b|0]){case 0:c=N[a+36>>2];if(!c){break B}b=b+1|0;if(b>>>0>d>>>0|c>>>0>d-b>>>0){break h}b=e-c|0;N[a+12>>2]=b;if((b|0)>0){break B}break h;case 3:if(!Yp(b+1|0,a,l)){break h}break B;case 4:break C;default:break h}}g=0;d=b+1|0;D:{E:{if(d>>>0>2]){break E}h=N[a+8>>2];if(h>>>0>>0|h-d>>>0<4){break E}b=N[a+12>>2];c=b-4|0;N[a+12>>2]=c;if((c|0)<=0){break E}o=b-8|0;N[a+12>>2]=o;if((o|0)<=0){break E}e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);b=UE(j,0,6,0);if(Pa){break E}c=d+4|0;if(b){if(c>>>0>h>>>0|b>>>0>h-c>>>0){break E}b=o-b|0;N[a+12>>2]=b;if((b|0)<=0){break E}}F:{if(!e){break F}o=j>>>0<=1?1:j;q=N[a+36>>2];e=0;while(1){h=d+T(e,6)|0;j=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);b=0;if(q>>>0<=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))>>>0){break D}b=O[h+8|0]|O[h+9|0]<<8;if(l>>>0>((b<<8|b>>>8)&65535)>>>0){e=e+1|0;if((o|0)==(e|0)){break F}continue}break}b=0;break D}if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))|(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))){break E}e=1;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(c>>>0>1){while(1){h=275552;m=c;c=e-1|0;if(m>>>0>c>>>0){h=(d+T(c,6)|0)+4|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24)}b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<=e>>>0?275552:(d+T(e,6)|0)+4|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(c>>>0<=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0){break E}b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);e=e+1|0;if(c>>>0>e>>>0){continue}break}}b=(b?(d+T(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),6)|0)-2|0:275552)+6|0;if(b>>>0>2]){break E}c=N[a+8>>2];if(c>>>0>>0|c-b>>>0<4){break E}b=N[a+12>>2]-4|0;N[a+12>>2]=b;if((b|0)<=0){break E}c=N[a+36>>2];b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(b){b=(d+T(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),6)|0)-2|0}else{b=275552}b=O[b+6|0]|O[b+7|0]<<8|(O[b+8|0]<<16|O[b+9|0]<<24);g=(c|0)==(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))}b=g}if(!b){break h}}b=N[a+88>>2];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[a+128>>2]=b;if((b|0)!=N[a+36>>2]){break h}b=N[a+92>>2];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[a+100>>2]=b;d=N[a+116>>2];if((d|0)<0){break h}c=(b|0)>0?b:0;if(c>>>0>d>>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}G:{if(d>>>0<=153391689){b=Xp(i,d);if(b){break G}}N[i>>2]=-1;break h}N[a+116>>2]=d;N[a+124>>2]=b}b=N[a+120>>2];H:{if(c>>>0>b>>>0){while(1){N[a+120>>2]=b+1;b=N[a+124>>2]+T(b,28)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+120>>2];if(c>>>0>b>>>0){continue}break H}}if(b>>>0<=c>>>0){break H}while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b>>>0>c>>>0){continue}break}}N[a+120>>2]=c;if(!N[a+100>>2]){break g}u=f+28|0;q=f+24|0;v=f+4164|0;t=f+4160|0;I:while(1){be(f+8272|0,N[a+92>>2],p);b=N[f+8276>>2];if(b){c=N[f+8272>>2];if(c>>>0>2]){break h}d=N[a+8>>2];if(d>>>0>>0|b>>>0>d-c>>>0){break h}b=N[a+12>>2]-b|0;N[a+12>>2]=b;if((b|0)<=0){break h}}L[f+4160|0]=0;C(v,0,4108);c=N[f+8276>>2];N[f+4144>>2]=N[f+8272>>2];N[f+4148>>2]=c;J:{K:{d=N[a+104>>2];if((d|0)>=0){b=N[a+108>>2];e=b+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break J}while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){b=Xp(s,d);if(b){break K}}N[s>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break h}N[a+104>>2]=d;N[a+112>>2]=b;b=N[a+108>>2]}L:{if(b>>>0>>0){while(1){N[a+108>>2]=b+1;b=N[a+112>>2]+T(b,28)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+108>>2];if(e>>>0>b>>>0){continue}break L}}if(b>>>0<=e>>>0){break L}while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b>>>0>e>>>0){continue}break}}N[a+108>>2]=e;b=N[a+112>>2];N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;i=b+T(e-1|0,28)|0;if((i|0)==589824){break h}j=c;N[i>>2]=0;N[i+4>>2]=0;g=0;N[i+24>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;c=0;while(1){e=c+1|0;if(j>>>0>=e>>>0){b=N[f+4144>>2];h=O[b+c|0];N[f+4152>>2]=e;M:{N:{O:{P:{if((h|0)==12){c=c+2|0;if(c>>>0<=j>>>0){break P}h=65535;break O}if((h|0)!=18){break O}Q:{R:{S:{if(!g){N[i+16>>2]=0;break S}d=0;b=g-1|0;k=S[((b<<3)+t|0)+8>>3];T:{if(V(k)<2147483648){c=~~k;break T}c=-2147483648}if((c|0)<0){L[f+4160|0]=1;d=1;c=0}N[i+16>>2]=c;if(b){break R}}c=0;N[147456]=0;N[147457]=0;d=1;L[f+4160|0]=1;break Q}k=S[((g<<3)+t|0)-8>>3];U:{if(V(k)<2147483648){c=~~k;break U}c=-2147483648}if((c|0)>=0){break Q}d=1;L[f+4160|0]=1;c=0}N[i+20>>2]=c;N[f+4164>>2]=0;h=18;break N}b=O[b+e|0];N[f+4152>>2]=c;h=b|256}Je(h,f+4144|0);d=O[f+4160|0];j=N[f+4148>>2];e=N[f+4152>>2];g=N[f+4164>>2];if(g){break M}}g=0;if(d&255|e>>>0>j>>>0){break M}V:{W:{X:{g=N[i+4>>2];if((g|0)>=0){c=N[i+8>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=g>>>0){break W}while(1){g=((g>>>1|0)+g|0)+8|0;if(b>>>0>=g>>>0){continue}break}if(g>>>0<=357913941){c=$a(N[i+12>>2],T(g,12));if(c){break X}}N[i+4>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;g=589824;break V}N[i+4>>2]=g;N[i+12>>2]=c;c=N[i+8>>2]}if(b>>>0>c>>>0){while(1){N[i+8>>2]=c+1;c=N[i+12>>2]+T(c,12)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;c=N[i+8>>2];if(b>>>0>c>>>0){continue}break}}N[i+8>>2]=b;g=(N[i+12>>2]+T(b,12)|0)-12|0}b=g;N[b+4>>2]=h;c=N[i>>2];N[b>>2]=c+N[f+4144>>2];d=0;b=j-c|0;b=b>>>0<=j>>>0?b:0;c=e-c|0;L[g+8|0]=b>>>0>>0?b:c;N[i>>2]=e;g=0}if(e>>>0>j>>>0){break h}c=e;if(!(d&255)){continue}break h}break}b=N[i+16>>2];o=b?b+n|0:275552;i=N[i+20>>2];if(i){if(o>>>0>2]){break h}b=N[a+8>>2];if(b>>>0>>0|i>>>0>b-o>>>0){break h}b=N[a+12>>2]-i|0;N[a+12>>2]=b;if((b|0)<=0){break h}}L[f+24|0]=0;C(u,0,4108);L[f+4140|0]=0;N[f+4136>>2]=0;N[f+12>>2]=i;N[f+8>>2]=o;Y:{if(Q[a+120>>2]<=p>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Y}b=N[a+124>>2]+T(p,28)|0}N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;Z:{if(Q[a+120>>2]<=p>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=589824;break Z}c=N[a+124>>2]+T(p,28)|0}N[c>>2]=0;N[c+4>>2]=0;g=0;N[c+24>>2]=0;N[c+20>>2]=275552;N[c+16>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=i;b=0;while(1){_:{$:{aa:{d=b+1|0;if(d>>>0<=e>>>0){h=N[f+8>>2];j=O[h+b|0];N[f+16>>2]=d;ba:{if((j|0)!=12){b=d;break ba}b=b+2|0;if(e>>>0>>0){j=65535;break aa}d=O[d+h|0];N[f+16>>2]=b;j=d|256}k=0;h=0;d=0;ca:{da:{ea:{fa:{ga:{ha:{switch(j-6|0){case 17:break $;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:break aa;case 0:case 1:case 2:case 3:break ca;case 16:break ea;case 13:break fa;case 4:case 5:break ga;default:break ha}}d=j-265|0;if(d>>>0>9){break aa}d=1<>3];break ca}if(!g){N[147456]=0;N[147457]=0;h=1;L[f+24|0]=1;N[c+16>>2]=0;break ca}r=S[(g<<3)+q>>3];ia:{if(V(r)<2147483648){d=~~r;break ia}d=-2147483648}if((d|0)<0){h=1;L[f+24|0]=1;d=0}N[c+16>>2]=d;break ca}ja:{if(O[f+4140|0]){d=N[f+4136>>2];break ja}ka:{if(!g){N[147456]=0;N[147457]=0;L[f+24|0]=1;h=1;break ka}r=S[(g<<3)+q>>3];la:{if(V(r)<2147483648){d=~~r;break la}d=-2147483648}h=0;if((d|0)>=0){break ka}L[f+24|0]=1;d=0;h=1}N[f+4136>>2]=d}L[f+4140|0]=1;N[c+24>>2]=d;break ca}N[147456]=0;N[147457]=0;h=1;L[f+24|0]=1}N[f+28>>2]=0;d=h;g=0;break $}c=N[a+124>>2]+T(p,28)|0;b=N[c+16>>2];b=b?b+(i?o:275552)|0:275552;N[c+20>>2]=b;if((b|0)!=275552){if(!Jg(b,a)){break h}}p=p+1|0;if(p>>>0>2]){continue I}break g}Je(j,f+8|0);e=N[f+12>>2];b=N[f+16>>2];g=N[f+28>>2];if(g){break _}k=0;g=0;d=O[f+24|0]}if(d&255|b>>>0>e>>>0){break _}ma:{na:{oa:{d=N[c+4>>2];if((d|0)>=0){m=N[c+8>>2];h=m+1|0;if(h>>>0<=d>>>0){l=N[c+12>>2];break na}while(1){d=((d>>>1|0)+d|0)+8|0;if(h>>>0>=d>>>0){continue}break}if(d>>>0<=178956970){l=$a(N[c+12>>2],T(d,24));if(l){break oa}}N[c+4>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=589824;break ma}N[c+4>>2]=d;N[c+12>>2]=l;m=N[c+8>>2];h=m+1|0}N[c+8>>2]=h;d=T(m,24)+l|0;S[d+16>>3]=k;L[d+8|0]=0;N[d>>2]=0}N[d+4>>2]=j;h=N[c>>2];N[d>>2]=h+N[f+8>>2];m=d;d=e-h|0;d=d>>>0<=e>>>0?d:0;h=b-h|0;L[m+8|0]=d>>>0>>0?d:h;N[c>>2]=b}if(b>>>0>e>>>0){break h}if(!O[f+24|0]){continue}break}break}break h}Je(j,f+8|0);b=O[f+24|0];e=N[f+12>>2];d=N[f+16>>2];c=N[f+28>>2];if(c){break i}}c=0;if(b&255|d>>>0>e>>>0){break i}pa:{qa:{ra:{g=N[a+52>>2];if((g|0)>=0){b=N[a+56>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=g>>>0){break qa}while(1){g=((g>>>1|0)+g|0)+8|0;if(c>>>0>=g>>>0){continue}break}if(g>>>0<=357913941){b=$a(N[a+60>>2],T(g,12));if(b){break ra}}N[a+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;m=589824;break pa}N[a+52>>2]=g;N[a+60>>2]=b;b=N[a+56>>2]}if(b>>>0>>0){while(1){N[a+56>>2]=b+1;b=N[a+60>>2]+T(b,12)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+56>>2];if(c>>>0>b>>>0){continue}break}}N[a+56>>2]=c;m=(N[a+60>>2]+T(c,12)|0)-12|0}c=m;N[c+4>>2]=j;g=N[a+48>>2];N[c>>2]=g+N[f+8>>2];b=0;c=e-g|0;c=c>>>0<=e>>>0?c:0;g=d-g|0;L[m+8|0]=c>>>0>>0?c:g;N[a+48>>2]=d;c=0}if(d>>>0>e>>>0){break h}if(!(b&255)){continue}break}}Wp(a)}La=f+8288|0;return a}break c}break b}}ba(16656,14279,195,9642);B()}ba(23506,14099,260,16403);B()}function Dg(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,o=U(0),p=0,q=0,r=0,s=0,t=U(0),u=0,v=U(0),w=0,x=0;h=La-48|0;La=h;a:{e=(N[a+16>>2]<<1)+400|0;b:{c:{if((e|0)<=0){d=6;if(!e){break c}break b}d=N[a+100>>2];d=Qa[N[d+4>>2]](d,e)|0;if(!d){d=64;break b}C(d,0,e);i=d}N[i>>2]=a;d=N[a+16>>2];N[i+396>>2]=c;N[i+8>>2]=i+400;N[i+4>>2]=d;N[i+376>>2]=0;N[i+380>>2]=0;M[i+372>>1]=0;N[i+384>>2]=0;N[i+388>>2]=0;N[i+392>>2]=0;d:{e:{f:{g:{h:{i:{j:{k:{l:{c=N[a+104>>2];if(!N[c+20>>2]){d=275552;e=N[c+4>>2];m:{if((e|0)<=0){break m}f=N[c>>2];c=db(1,32);if(!c){break m}N[c+28>>2]=0;N[c+24>>2]=a;N[c+20>>2]=1;N[c+16>>2]=e;N[c+12>>2]=f;N[c>>2]=1;N[c+4>>2]=1;d=c}g=N[a+4>>2];L[h+44|0]=0;N[h+40>>2]=65536;N[h+20>>2]=0;c=N[d>>2];if(c){if((c|0)<=0){break a}N[d>>2]=c+2}L[h+28|0]=0;N[h+36>>2]=d;c=N[d+12>>2];N[h+8>>2]=c;e=N[d+16>>2];N[h+12>>2]=e+c;if((e|0)<0){break l}N[h+32>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[h+16>>2]=e;N[h+24>>2]=0;N[h+4>>2]=0;e=d;if(!c){break g}if(oj(c,h+4|0)){break k}n:{if(O[h+28|0]|!N[h+32>>2]){break n}if(!zb(d)){break n}while(1){L[h+28|0]=1;e=N[h+36>>2];c=N[e+12>>2];N[h+8>>2]=c;f=N[e+16>>2];N[h+12>>2]=f+c;if((f|0)<0){break l}N[h+32>>2]=0;if(f>>>0>67108863){p=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;p=f>>>0>=1073741823?1073741823:f}N[h+16>>2]=p;N[h+24>>2]=0;N[h+4>>2]=0;if(!c){break g}if(oj(c,h+4|0)){break k}if(O[h+28|0]|!N[h+32>>2]){break n}c=zb(d);N[h+8>>2]=c;N[h+12>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[h+36>>2]);N[h+36>>2]=0;break j}c=db(1,212);if(!c){c=588540;break d}N[c+32>>2]=-1;N[c+20>>2]=0;N[c+16>>2]=a;N[c+12>>2]=312;N[c>>2]=1;N[c+4>>2]=1;N[c+48>>2]=c;N[c+36>>2]=c;break d}ba(16656,14279,195,9642);B()}if(!N[h+32>>2]){break i}N[h+32>>2]=0;c=oj(c,h+4|0);e=N[h+32>>2];ab(N[h+36>>2]);N[h+36>>2]=0;if(e){break j}if(c){break h}}ab(d);c=275552;break e}ab(N[h+36>>2])}c=d;if(!N[d+4>>2]){break e}N[d+4>>2]=0;break f}ab(e)}c=d}e=c;f=db(1,8);if(!f){ab(e);c=588540;ab(d);break d}M[f+4>>1]=g;N[f>>2]=e;c=db(1,212);o:{if(!c){ab(e);_a(f);c=588540;break o}N[c+32>>2]=-1;N[c+20>>2]=313;N[c+16>>2]=f;N[c+12>>2]=314;N[c>>2]=1;N[c+4>>2]=1;N[c+48>>2]=c;N[c+36>>2]=c}N[c+24>>2]=g;ab(d)}if(N[c+4>>2]){N[c+24>>2]=N[a+4>>2];N[c+28>>2]=P[a+68>>1]}d=Lp(c);nj(c);c=N[a+92>>2];if(c){c=N[c+4>>2]==1937337698}else{c=0}e=db(1,1044);p:{if(!e){break p}L[e+5|0]=0;L[e+4|0]=c;N[e+12>>2]=a;N[e>>2]=2;C(e+16|0,255,1028);a=N[147568];q:{if(a){break q}while(1){c=588448;a=db(1,92);if(a){N[a>>2]=1;N[a+4>>2]=1;F(a+20|0,588468,72);c=a}r:{if(!N[c+4>>2]){break r}a=N[c+16>>2];s:{if(!a){break s}f=N[a+8>>2];if(!f){break s}a=N[c+12>>2];if(a){a=N[a+8>>2]}else{a=0}Qa[f|0](a)}N[c+28>>2]=315;a=N[c+12>>2];if(a){N[a+8>>2]=0}a=N[c+16>>2];if(a){N[a+8>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];t:{if(!a){break t}f=N[a+12>>2];if(!f){break t}a=N[c+12>>2];if(a){a=N[a+12>>2]}else{a=0}Qa[f|0](a)}N[c+32>>2]=316;a=N[c+12>>2];if(a){N[a+12>>2]=0}a=N[c+16>>2];if(a){N[a+12>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];u:{if(!a){break u}f=N[a+16>>2];if(!f){break u}a=N[c+12>>2];if(a){a=N[a+16>>2]}else{a=0}Qa[f|0](a)}N[c+36>>2]=317;a=N[c+12>>2];if(a){N[a+16>>2]=0}a=N[c+16>>2];if(a){N[a+16>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];v:{if(!a){break v}f=N[a>>2];if(!f){break v}a=N[c+12>>2];if(a){a=N[a>>2]}else{a=0}Qa[f|0](a)}N[c+20>>2]=318;a=N[c+12>>2];if(a){N[a>>2]=0}a=N[c+16>>2];if(a){N[a>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];w:{if(!a){break w}f=N[a+28>>2];if(!f){break w}a=N[c+12>>2];if(a){a=N[a+28>>2]}else{a=0}Qa[f|0](a)}N[c+48>>2]=319;a=N[c+12>>2];if(a){N[a+28>>2]=0}a=N[c+16>>2];if(a){N[a+28>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];x:{if(!a){break x}f=N[a+24>>2];if(!f){break x}a=N[c+12>>2];if(a){a=N[a+24>>2]}else{a=0}Qa[f|0](a)}N[c+44>>2]=320;a=N[c+12>>2];if(a){N[a+24>>2]=0}a=N[c+16>>2];if(a){N[a+24>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];y:{if(!a){break y}f=N[a+40>>2];if(!f){break y}a=N[c+12>>2];if(a){a=N[a+40>>2]}else{a=0}Qa[f|0](a)}N[c+60>>2]=321;a=N[c+12>>2];if(a){N[a+40>>2]=0}a=N[c+16>>2];if(a){N[a+40>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];z:{if(!a){break z}f=N[a+44>>2];if(!f){break z}a=N[c+12>>2];if(a){a=N[a+44>>2]}else{a=0}Qa[f|0](a)}N[c- -64>>2]=322;a=N[c+12>>2];if(a){N[a+44>>2]=0}a=N[c+16>>2];if(a){N[a+44>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];A:{if(!a){break A}f=N[a+52>>2];if(!f){break A}a=N[c+12>>2];if(a){a=N[a+52>>2]}else{a=0}Qa[f|0](a)}N[c+72>>2]=323;a=N[c+12>>2];if(a){N[a+52>>2]=0}a=N[c+16>>2];if(a){N[a+52>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];B:{if(!a){break B}f=N[a+56>>2];if(!f){break B}a=N[c+12>>2];if(a){a=N[a+56>>2]}else{a=0}Qa[f|0](a)}N[c+76>>2]=324;a=N[c+12>>2];if(a){N[a+56>>2]=0}a=N[c+16>>2];if(a){N[a+56>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];C:{if(!a){break C}f=N[a+60>>2];if(!f){break C}a=N[c+12>>2];if(a){a=N[a+60>>2]}else{a=0}Qa[f|0](a)}N[c+80>>2]=325;a=N[c+12>>2];if(a){N[a+60>>2]=0}a=N[c+16>>2];if(a){N[a+60>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];D:{if(!a){break D}f=N[a+64>>2];if(!f){break D}a=N[c+12>>2];if(a){a=N[a+64>>2]}else{a=0}Qa[f|0](a)}N[c+84>>2]=326;a=N[c+12>>2];if(a){N[a+64>>2]=0}a=N[c+16>>2];if(a){N[a+64>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];E:{if(!a){break E}f=N[a+68>>2];if(!f){break E}a=N[c+12>>2];if(a){a=N[a+68>>2]}else{a=0}Qa[f|0](a)}N[c+88>>2]=327;a=N[c+12>>2];if(a){N[a+68>>2]=0}a=N[c+16>>2];if(a){N[a+68>>2]=0}if(!N[c+4>>2]){break r}N[c+4>>2]=0}a=N[147568];if(!a){N[147568]=c;a=c;break q}if((c|0)==588448){break q}oc(c);a=N[147568];if(!a){continue}break}}if(!N[d+4>>2]){Ip(e);break p}N[d+12>>2]=N[d+12>>2]+1;c=N[d+104>>2];if(c){Qa[c|0](N[d+100>>2])}a=a?a:588448;c=N[a>>2];if(c){if((c|0)<=0){break a}N[a>>2]=c+1}oc(N[d+96>>2]);N[d+104>>2]=328;N[d+100>>2]=e;N[d+96>>2]=a}if(N[d+104>>2]==328){u=N[d+100>>2];f=N[u+12>>2];F:{if(!N[d+4>>2]){break F}a=P[f+68>>1];e=N[f+88>>2];c=N[e+20>>2];g=UE(a,0,c,c>>31);c=Pa;g=g+32768|0;c=((g>>>0<32768?c+1|0:c)&65535)<<16|g>>>16;p=a;a=N[e+16>>2];e=UE(p,0,a,a>>31);a=Pa;e=e+32768|0;a=((e>>>0<32768?a+1|0:a)&65535)<<16|e>>>16;if((a|0)==N[d+28>>2]&(c|0)==N[d+32>>2]){break F}N[d+32>>2]=c;N[d+28>>2]=a;N[d+12>>2]=N[d+12>>2]+1;He(d)}N[h+4>>2]=0;G:{if(!(L[f+9|0]&1)){break G}H:{I:{e=N[f+128>>2];c=N[e+32>>2];switch(c+2|0){case 2:break I;case 0:break G;default:break H}}a=N[f+96>>2];c=N[N[a>>2]+32>>2];J:{if(!c){c=0;break J}c=Qa[c|0](a,10423)|0;e=N[f+128>>2]}N[e+32>>2]=c?c:-2}if(!c){break G}a=N[c+16>>2];if(!a){break G}if(Qa[a|0](f,h+4|0)|0){break G}a=N[N[h+4>>2]>>2];j=db(a,4);n=db(a,4);K:{if(!j|!n|!(L[f+9|0]&1)){break K}L:{M:{c=N[f+128>>2];g=N[c+32>>2];switch(g+2|0){case 2:break M;case 0:break K;default:break L}}e=N[f+96>>2];g=N[N[e>>2]+32>>2];N:{if(!g){g=0;break N}g=Qa[g|0](e,10423)|0;c=N[f+128>>2]}N[c+32>>2]=g?g:-2}if(!g){break K}c=N[g+12>>2];if(!c){break K}if(Qa[c|0](f,a,j)|0){break K}O:{P:{e=N[N[h+4>>2]>>2];Q:{if(!e){break Q}c=0;a=0;R:{if((e|0)!=1){q=e&1;m=e&-2;while(1){g=a<<2;r=g+j|0;s=N[r>>2];l=s>>2;N[r>>2]=l;N[g+n>>2]=l;l=g|4;r=l+j|0;p=N[r>>2];g=p>>2;N[r>>2]=g;N[l+n>>2]=g;c=s>>>0>3|c|p>>>0>3;a=a+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}if(!q){break R}}g=a<<2;k=g+j|0;l=N[k>>2];a=l>>2;N[k>>2]=a;N[g+n>>2]=a;if(c&1){break P}if(l>>>0<=3){break Q}break P}if(c&1){break P}}if(!N[d+4>>2]){break K}a=N[d+12>>2]+1|0;N[d+16>>2]=a;N[d+12>>2]=a;Ig(N[d+24>>2]+124|0);_a(N[d+88>>2]);_a(N[d+92>>2]);N[d+92>>2]=0;N[d+84>>2]=0;N[d+88>>2]=0;break O}if(!N[d+4>>2]){break K}a=N[d+12>>2]+1|0;N[d+16>>2]=a;N[d+12>>2]=a;l=db(e,4);k=db(e,4);q=db(e,4);if(q?!l|!k:1){_a(l);_a(k);_a(q);break K}a=e<<2;if(a){F(l,n,a);F(k,n,a)}a=Ig(N[d+24>>2]+124|0);c=O[a+6|0]|O[a+7|0]<<8;c=(c<<8|c>>>8)&65535;m=c>>>0>>0?c:e;S:{if(!m){a=0;break S}g=a+8|0;a=0;c=0;while(1){r=k+(c<<2)|0;w=r,x=Jp(g,N[r>>2],1,0),N[w>>2]=x;p=g;g=O[g|0]|O[g+1|0]<<8;g=(p+(((g<<8|g>>>8)&65535)<<2)|0)+2|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}}while(1){c=sf(N[d+24>>2]+120|0);m=a<<2;g=N[k+m>>2];p=m+q|0;m=O[c+4|0]|O[c+5|0]<<8;if(m){s=c+((m<<8|m>>>8)&65535)|0}else{s=275552}c=O[c+8|0]|O[c+9|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=a>>>0?275552:s+T(a,20)|0;m=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);o=U(U(m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))*U(152587890625e-16));T:{if(!g){break T}v=U(g|0);if((g|0)<0){c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);t=U(U(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))*U(152587890625e-16));o=U(o+U(U(U(o-(o<=t?o:t))*v)*U(6103515625e-14)));break T}c=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);t=U(U(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))*U(152587890625e-16));o=U(o+U(U(U((o>=t?o:t)-o)*v)*U(6103515625e-14)))}R[p>>2]=o;a=a+1|0;if((e|0)!=(a|0)){continue}break}a=N[d+88>>2];_a(k);_a(a);_a(N[d+92>>2]);N[d+92>>2]=q;N[d+88>>2]=l;N[d+84>>2]=e}He(d)}_a(n);_a(j);a=N[N[f+84>>2]>>2];if(!a){break G}c=N[h+4>>2];if(!c){break G}a=N[a>>2];Qa[N[a+8>>2]](a,c)}C(u+20|0,255,1024);N[u+16>>2]=N[d+12>>2]}N[i+12>>2]=d;c=db(1,172);U:{if(!c){c=588184;break U}N[c+148>>2]=1073741823;N[c+152>>2]=536870911;N[c>>2]=1;N[c+4>>2]=1;a=Ic();V:{if(!a){break V}d=N[a>>2];if(!d){break V}if((d|0)<=0){break a}N[a>>2]=d+1}L[c+60|0]=1;N[c+24>>2]=65533;N[c+12>>2]=a}N[i+16>>2]=c;f=N[i+8>>2];e=N[i>>2];n=N[e+92>>2];g=N[i+4>>2];W:{if(g){c=0;d=0;if(g>>>0>=8){j=g&-8;while(1){a=d<<1;M[a+f>>1]=16383;M[f+(a|2)>>1]=16383;M[f+(a|4)>>1]=16383;M[f+(a|6)>>1]=16383;M[f+(a|8)>>1]=16383;M[f+(a|10)>>1]=16383;M[f+(a|12)>>1]=16383;M[f+(a|14)>>1]=16383;d=d+8|0;if((j|0)!=(d|0)){continue}break}}a=g&7;if(a){while(1){M[f+(d<<1)>>1]=16383;d=d+1|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}if(!e){break W}}g=N[e+40>>2];if(!g){break W}a=g+(N[e+36>>2]<<2)|0;c=a-4|0;X:{if(g>>>0<=c>>>0){while(1){d=N[c>>2];Y:{if(N[d+4>>2]!=1970170211){break Y}Z:{switch(P[d+8>>1]){case 3:if(P[d+10>>1]!=10){break Y}break X;case 0:break Z;default:break Y}}if(P[d+10>>1]==4){break X}}c=c-4|0;if(g>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(g>>>0>a>>>0){break W}d=N[a>>2];if(N[d+4>>2]!=1970170211){continue}break}}N[e+92>>2]=d;k=-1;d=286856;g=0;while(1){c=N[d+8>>2];l=N[(c<<2)+288704>>2];a=N[l+4>>2];_:{if(!a){break _}if(N[d+16>>2]==10){q=(c|0)==N[N[i+396>>2]+16>>2];c=N[a>>2];if(c){while(1){d=a;$:{if(!e){break $}a=N[e+92>>2];if(!a){break $}a=Qa[N[N[a+12>>2]+12>>2]](a,c)|0;if(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2]){break $}a=f+(a<<1)|0;if((P[a>>1]&16383)!=16383){break $}M[a>>1]=g}while(1){aa:{if(!e){break aa}j=N[e+92>>2];if(!j|!N[e+16>>2]){break aa}N[h+4>>2]=c;while(1){a=Qa[N[N[j+12>>2]+16>>2]](j,h+4|0)|0;if(a>>>0>=Q[e+16>>2]){continue}break}if(!a){break aa}c=a?N[h+4>>2]:0;if(c>>>0>Q[d+4>>2]){break aa}if(a>>>0>=Q[i+4>>2]){continue}a=f+(a<<1)|0;if((P[a>>1]&16383)!=16383){continue}M[a>>1]=g;continue}break}a=d+8|0;c=N[d+8>>2];if(c){continue}break}}k=q?g:k;a=N[l+8>>2];c=N[a>>2];if(!c){break _}while(1){d=a;ba:{if(!e){break ba}a=N[e+92>>2];if(!a){break ba}a=Qa[N[N[a+12>>2]+12>>2]](a,c)|0;if(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2]){break ba}a=f+(a<<1)|0;j=P[a>>1];if((j&16383)!=(g&65535)){break ba}M[a>>1]=j|16384}while(1){ca:{if(!e){break ca}j=N[e+92>>2];if(!j|!N[e+16>>2]){break ca}N[h+4>>2]=c;while(1){a=Qa[N[N[j+12>>2]+16>>2]](j,h+4|0)|0;if(a>>>0>=Q[e+16>>2]){continue}break}if(!a){break ca}c=a?N[h+4>>2]:0;if(c>>>0>Q[d+4>>2]){break ca}if(a>>>0>=Q[i+4>>2]){continue}a=f+(a<<1)|0;j=P[a>>1];if((j&16383)!=(g&65535)){continue}M[a>>1]=j|16384;continue}break}a=d+8|0;c=N[d+8>>2];if(c){continue}break}break _}Vi(i,d,f,0)}g=g+1|0;d=N[(g<<2)+288960>>2];if((g|0)!=87){continue}break}a=0;d=286856;while(1){if(N[d+16>>2]==10){Vi(i,d,f,0)}a=a+1|0;d=N[(a<<2)+288960>>2];if((a|0)!=87){continue}break}Vi(i,N[(k<<2)+288960>>2],f,1);if(!e){break W}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,48)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,49)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,50)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,51)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,52)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,53)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,54)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,55)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,56)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,57)|0;if(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2]){break W}a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}c=N[N[i+396>>2]+12>>2];da:{if((c|0)==16383){break da}d=N[i+4>>2];if((d|0)<=0){break da}a=0;if((d|0)!=1){g=d&1;d=d&-2;while(1){j=a<<1;k=j+f|0;l=P[k>>1];if((l&16383)==16383){M[k>>1]=c|l&49152}j=f+(j|2)|0;k=P[j>>1];if((k&16383)==16383){M[j>>1]=c|k&49152}a=a+2|0;if((d|0)!=(a|0)){continue}break}if(!g){break da}}a=f+(a<<1)|0;d=P[a>>1];if((d&16383)!=16383){break da}M[a>>1]=c|d&49152}ea:{if(!e|!n){break ea}a=N[e+40>>2];if(!a){break ea}c=N[e+36>>2];if((c|0)<=0){break ea}c=(c<<2)+a|0;while(1){fa:{if((n|0)!=N[a>>2]){break fa}d=N[n>>2];ga:{if(!d){break ga}d=N[d+96>>2];f=N[N[d>>2]+32>>2];if(!f){break ga}d=Qa[f|0](d,10557)|0;if(!d){break ga}if(Qa[N[d>>2]](n,h+4|0)|0){break ga}if(N[h+8>>2]==14){break fa}}N[e+92>>2]=N[a>>2];break ea}a=a+4|0;if(c>>>0>a>>>0){continue}break}}d=0;N[i+20>>2]=0}N[b>>2]=i;La=h+48|0;return d}ba(23506,14099,260,16403);B()}function gm(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,o=0,p=0,q=0,r=0,s=0,t=0;h=La-32|0;La=h;o=N[b+100>>2];e=N[a+20>>2];a:{b:{if(e){if(Qa[e|0](a,0,0,0)|0){break b}}N[a+8>>2]=0;if(rb(a,43232,b+184|0)|N[b+184>>2]!=1885562369){break b}d=N[b+188>>2];if(!d){break b}e=N[a+4>>2];if(e>>>0<16){break b}c:{g=e>>>4|0;if(d>>>0<=9&g>>>0>=d>>>0){break c}d=e>>>0>=144?9:g;N[b+188>>2]=d;if(d>>>0<134217728){break c}N[b+192>>2]=0;break b}g=d<<4;e=Qa[N[o+4>>2]](o,g)|0;d:{if(!(!e|(d|0)<=0)){C(e,0,g);N[b+192>>2]=e;break d}N[b+192>>2]=e;if(!e){break b}}e:{f:{g:{h:{if(!N[b+188>>2]){break h}d=0;while(1){i=rb(a,43248,e);if(i){break e}e=e+16|0;d=d+1|0;i=N[b+188>>2];if(d>>>0>>0){continue}break}e=N[b+192>>2];if((i|0)!=1){break h}f=N[a+4>>2];k=e;break g}i:{while(1){d=f+1|0;if((d|0)==(i|0)){g=i-1|0;f=N[a+4>>2];e=N[b+192>>2];break i}p=f^-1;j=N[e+12>>2];k=0;f=0;while(1){g=(f<<4)+e|0;f=f+1|0;m=(f<<4)+e|0;i=N[m+12>>2];if(j>>>0>i>>>0){i=N[g+12>>2];N[h+16>>2]=N[g+8>>2];N[h+20>>2]=i;i=N[g+4>>2];N[h+8>>2]=N[g>>2];N[h+12>>2]=i;i=N[m+12>>2];N[g+8>>2]=N[m+8>>2];N[g+12>>2]=i;i=N[m+4>>2];N[g>>2]=N[m>>2];N[g+4>>2]=i;i=N[h+20>>2];N[m+8>>2]=N[h+16>>2];N[m+12>>2]=i;i=N[h+12>>2];N[m>>2]=N[h+8>>2];N[m+4>>2]=i;k=1;i=N[m+12>>2]}j=N[g+8>>2];if(j>>>0>i>>>0|Q[g+12>>2]>i-j>>>0){break f}j=i;i=N[b+188>>2];if(p+i>>>0>f>>>0){continue}break}g=i-1|0;if(k){f=d;if(d>>>0>>0){continue}}break}f=N[a+4>>2];e=N[b+192>>2];k=e;if(!g){break g}}k=((i<<4)+e|0)-16|0;d=e;while(1){i=8;j=N[d+8>>2];if(j>>>0>f>>>0|Q[d+12>>2]>f-j>>>0){break e}d=d+16|0;l=l+1|0;if((l|0)!=(g|0)){continue}break}}i=8;d=N[k+12>>2];if(d>>>0>f>>>0){break e}d=f-d|0;if(d>>>0>2]){N[k+8>>2]=d}N[b>>2]=1;N[b+4>>2]=0;d=0;if((c|0)<0){break a}c=N[b+188>>2];if(!c){break b}f=N[b+100>>2];j:{k:{l:{m:{n:{o:{while(1){p:{if(N[(d<<4)+e>>2]==1){c=N[((d<<4)+e|0)+12>>2];g=N[a+8>>2];if(c>>>0>>0){break b}if(Xc(a,c-g|0)){break b}g=N[((d<<4)+e|0)+8>>2];N[h+8>>2]=0;c=Wc(a,h+8|0);d=N[h+8>>2];if(d|c>>>0>255){break j}k=c&4;q:{if(k){c=Nb(a,h+8|0);break q}c=Wc(a,h+8|0)}if(N[h+8>>2]|c>>>0>(g>>>0)/9>>>0){break b}i=c>>>0>=256?256:c;N[b+280>>2]=i;l=0;j=lb(f,12,0,i,0,h+8|0);d=N[h+8>>2];if(d){break m}r:{if(!i){break r}e=0;if(!k){while(1){d=rb(a,43312,j+T(e,12)|0);if(d){break n}e=e+1|0;if((i|0)!=(e|0)){continue}break r}}while(1){d=rb(a,43280,j+T(e,12)|0);if(d){break n}e=e+1|0;if((i|0)!=(e|0)){continue}break}}e=Xc(a,T(c-i|0,9));N[h+8>>2]=e;if(e){break o}e=c&3;if(e){e=Xc(a,4-e|0);N[h+8>>2]=e;if(e){break o}}s:{if(k){e=Nb(a,h+8|0);break s}e=Wc(a,h+8|0)}d=N[h+8>>2];if(d){break m}d=8;if(e>>>0>g+T(c,-9)>>>0){break m}c=e>>>0>=16777472?16777472:e;l=Qa[N[f+4>>2]](f,c+1|0)|0;if(!l){d=!l<<6;l=0;break m}d=Zb(a,l,c);N[h+8>>2]=d;if(d){break m}g=0;L[c+l|0]=0;m=lb(f,12,0,i,0,h+8|0);d=N[h+8>>2];if(d){break m}N[b+284>>2]=m;if(i){while(1){k=T(g,12);e=k+j|0;d=N[e>>2];if((d|0)<0|c>>>0>>0){break p}k=k+m|0;s=k,t=Nc(f,d+l|0,h+8|0),N[s>>2]=t;d=N[h+8>>2];if(d){break l}d=O[e+4|0];L[k+4|0]=d;e=N[e+8>>2];t:{if(d){if((e|0)<0|c>>>0>>0){break p}s=k,t=Nc(f,e+l|0,h+8|0),N[s+8>>2]=t;d=N[h+8>>2];if(!d){break t}break l}N[k+8>>2]=e}g=g+1|0;if((i|0)!=(g|0)){continue}break}}d=0;N[h+8>>2]=0;break m}d=d+1|0;if((c|0)!=(d|0)){continue}break b}break}d=9;N[h+8>>2]=9;break l}d=83}N[h+8>>2]=d}if(!j){break k}}Qa[N[f+8>>2]](f,j)}if(!l){break j}Qa[N[f+8>>2]](f,l)}if(d){break b}u:{v:{e=N[b+188>>2];if(!e){break v}c=N[b+192>>2];d=0;while(1){if(N[(d<<4)+c>>2]!=256){d=d+1|0;if((e|0)!=(d|0)){continue}break v}break}d=0;break u}c=fm(a,b,2);N[h+4>>2]=c;if(c){break b}e=N[b+188>>2];c=N[b+192>>2];d=1}if(!e){break b}k=d;f=N[b+100>>2];d=0;w:{x:{while(1){y:{if(N[(d<<4)+c>>2]==4){e=N[((d<<4)+c|0)+12>>2];g=N[a+8>>2];if(e>>>0>>0){break b}if(Xc(a,e-g|0)){break b}e=N[((d<<4)+c|0)+8>>2];N[h+28>>2]=0;d=Wc(a,h+28|0);if(N[h+28>>2]|((d|256)&-256)!=256){break b}i=d&4;z:{if(d>>>0<=255){if(i){c=Nb(a,h+28|0);break z}c=Wc(a,h+28|0);break z}if(i){c=xb(a,h+28|0);break z}c=ln(a,h+28|0)}if(N[h+28>>2]){break b}g=c-1|0;A:{if(d>>>0<=255){if(g>>>0<(e>>>0)/12>>>0){break A}break b}if(g>>>0>=(e>>>0)/5>>>0){break b}}c=(c>>>0>=65534?65534:c)+1|0;N[b+288>>2]=c;e=lb(f,16,0,c,0,h+28|0);N[b+292>>2]=e;if(N[h+28>>2]){break b}B:{if(Q[b+288>>2]<2){break B}g=e+16|0;j=1;if(d>>>0<=255){i=i?43472:43504;while(1){d=g;c=rb(a,i,d);N[e+28>>2]=0;if(c){break x}if(!(M[e+18>>1]>=M[d>>1]&M[e+22>>1]>=(0-M[e+24>>1]|0))){M[e+20>>1]=0;M[d>>1]=0;M[e+22>>1]=0;M[e+24>>1]=0;M[e+18>>1]=0}g=d+16|0;e=d;j=j+1|0;if(j>>>0>2]){continue}break}break B}while(1){c=rb(a,43536,h+8|0);if(c){break y}c=g;g=O[h+8|0];M[c>>1]=g-128;i=O[h+9|0];M[e+18>>1]=i-128;M[e+20>>1]=O[h+10|0]-128;l=O[h+11|0]-128|0;M[e+22>>1]=l;d=O[h+12|0];M[e+26>>1]=0;M[e+24>>1]=d-128;N[e+28>>2]=0;if(!(g>>>0<=i>>>0&(l|0)>=(128-d|0))){M[e+20>>1]=0;M[c>>1]=0;M[e+22>>1]=0;M[e+24>>1]=0;M[e+18>>1]=0}g=c+16|0;e=c;j=j+1|0;if(j>>>0>2]){continue}break}}d=0;N[h+4>>2]=0;e=N[b+188>>2];if(!e){break b}c=N[b+192>>2];break w}d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}N[e+28>>2]=0}a=N[b+292>>2];if(a){Qa[N[f+8>>2]](f,a)}N[b+292>>2]=0;N[h+4>>2]=c;break b}while(1){if(N[c+(d<<4)>>2]!=8){d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}e=N[(c+(d<<4)|0)+12>>2];g=N[a+8>>2];if(e>>>0>>0){break b}if(Xc(a,e-g|0)){break b}e=N[(c+(d<<4)|0)+8>>2];c=Bb(a,8);N[h+8>>2]=c;if(c){break b}f=0;C:{D:{g=N[a+36>>2];d=N[a+32>>2];if(g>>>0<=d+3>>>0){j=0;break D}j=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=d+4|0;N[a+32>>2]=c;if(!(j&4)){d=c;break D}l=0;if(g>>>0<=d+7>>>0){break C}c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=d+8|0;break C}l=1;if(g>>>0<=d+3>>>0){c=d;break C}c=d+4|0;f=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24)}N[a+32>>2]=c;if(N[a+20>>2]){c=N[a>>2];if(c){d=N[a+28>>2];Qa[N[d+8>>2]](d,c)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;if(j>>>0>255){break b}c=f>>>0>=65534?65534:f;if((c|0)!=(N[b+288>>2]-1|0)){break b}E:{if(!c){break E}g=(N[a+8>>2]+(c<<2)|0)+16|0;d=1;if(l){while(1){f=Wc(a,h+8|0);N[(N[b+292>>2]+(d<<4)|0)+12>>2]=g+(e>>>0>=f>>>0?f:0);f=(c|0)==(d|0);d=d+1|0;if(!f){continue}break E}}while(1){f=Nb(a,h+8|0);N[(N[b+292>>2]+(d<<4)|0)+12>>2]=g+(e>>>0>=f>>>0?f:0);f=(c|0)!=(d|0);d=d+1|0;if(f){continue}break}}if(N[h+8>>2]){break b}F:{if(!l){Nb(a,h+8|0);if(N[h+8>>2]){break b}Nb(a,h+8|0);if(N[h+8>>2]){break b}Nb(a,h+8|0);if(N[h+8>>2]){break b}Nb(a,h+8|0);if(!N[h+8>>2]){break F}break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}}N[b+312>>2]=j;g=0;j=La-16|0;La=j;f=3;d=N[b+188>>2];G:{if(!d){break G}m=b+296|0;c=N[b+192>>2];e=N[b+100>>2];H:{while(1){I:{if(N[c+(g<<4)>>2]==32){f=83;g=N[(c+(g<<4)|0)+12>>2];c=N[a+8>>2];if(g>>>0>>0|(g-c|0)<0){break G}c=N[a+20>>2];if(!c){break I}if(Qa[c|0](a,g,0,0)|0){break G}c=N[a+4>>2];break H}g=g+1|0;if((d|0)!=(g|0)){continue}break G}break}c=N[a+4>>2];if(g>>>0>c>>>0){break G}}N[a+8>>2]=g;J:{if(g+3>>>0>=c>>>0){break J}K:{L:{M:{c=N[a+20>>2];N:{if(c){if((Qa[c|0](a,g,j+12|0,4)|0)!=4){break J}g=N[a+8>>2];c=j+12|0;break N}c=N[a>>2];if(!c){break M}c=c+g|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[a+8>>2]=g+4;f=3;if(c>>>0>=256){break G}if(!(c&4)){break L}f=rb(a,43568,m);N[j+8>>2]=f;if(f){break G}i=0;break K}N[a+8>>2]=g+4}f=rb(a,43600,m);N[j+8>>2]=f;if(f){break G}i=1}f=8;c=P[b+298>>1];g=P[b+296>>1];if(c>>>0>>0|c>>>0>255){break G}d=P[b+302>>1];l=P[b+300>>1];if(d>>>0>>0|d>>>0>255){break G}c=T((d-l|0)+1|0,(c-g|0)+1|0);s=b,t=lb(e,2,0,c,0,j+8|0),N[s+308>>2]=t;f=N[j+8>>2];if(f){break G}f=Bb(a,c<<1);N[j+8>>2]=f;if(!f){e=P[b+304>>1];c=e>>>8|0;g=P[b+300>>1];O:{P:{if(c>>>0>>0|P[b+302>>1]>>0){break P}d=P[m>>1];e=e&255;if(d>>>0>e>>>0){break P}l=P[b+298>>1];if(l>>>0>=e>>>0){break O}}d=P[b+296>>1];M[b+304>>1]=d+(g<<8);l=P[b+298>>1];c=g;e=d}f=1;n=e&65535;e=d&65535;c=N[a+32>>2]+((n-e|0)+T((l-e|0)+1|0,c-g|0)<<1)|0;c=O[c+i|0]<<8|O[c+!i|0];if((c|0)!=65535){c=c+1&65535;f=c>>>0>=Q[b+288>>2]?1:c}c=N[b+292>>2];e=(f<<4)+c|0;d=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=d;d=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=d;e=P[b+300>>1];c=P[b+302>>1];Q:{if(e>>>0>c>>>0){break Q}f=P[b+298>>1];if(f>>>0>1]){while(1){e=e+1|0;if(c>>>0>=(e&65535)>>>0){continue}break Q}}c=N[b+308>>2];while(1){d=P[m>>1];R:{if(d>>>0>(f&65535)>>>0){break R}g=N[a+32>>2];l=N[a+36>>2];if(i){while(1){S:{if(l>>>0<=g+1>>>0){N[a+32>>2]=g;f=1;break S}f=O[g|0]|O[g+1|0]<<8;g=g+2|0;N[a+32>>2]=g;f=f+1|0;f=(f|0)!=(f&65535)?-1:f}M[c>>1]=f;c=c+2|0;f=P[b+298>>1];d=d+1|0;if(f>>>0>=(d&65535)>>>0){continue}break R}}while(1){T:{if(l>>>0<=g+1>>>0){N[a+32>>2]=g;f=1;break T}f=O[g|0]|O[g+1|0]<<8;g=g+2|0;N[a+32>>2]=g;f=((f<<8|(f&65280)>>>8)&65535)+1|0;f=(f|0)!=(f&65535)?-1:f}M[c>>1]=f;c=c+2|0;f=P[b+298>>1];d=d+1|0;if(f>>>0>=(d&65535)>>>0){continue}break}}e=e+1|0;if(P[b+302>>1]>=(e&65535)>>>0){continue}break}}if(N[a+20>>2]){c=N[a>>2];if(c){e=N[a+28>>2];Qa[N[e+8>>2]](e,c)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;f=0;break G}c=N[b+308>>2];if(c){Qa[N[e+8>>2]](e,c)}N[b+308>>2]=0;break G}f=85}La=j+16|0;if(f){break b}if(!k){if(fm(a,b,256)){break b}}a=N[b+8>>2];N[b+8>>2]=a|18;if(O[b+199|0]){N[b+8>>2]=a|22}a=0;c=0;j=0;k=0;l=0;p=0;N[b+12>>2]=0;i=1;n=N[b+100>>2];U:{V:{W:{X:{f=N[b+280>>2];if((f|0)<=0){f=8;j=7;e=12199;m=1;g=0;q=1;break X}g=N[b+284>>2];while(1){Y:{e=a;i=cb(N[g+T(a,12)>>2],19332);a=a+1|0;if((f|0)<=(a|0)){break Y}if(i){continue}}break}d=2;Z:{if(i){i=0;break Z}if(!O[(g+T(e,12)|0)+4|0]){i=0;break Z}i=0;_:{a=(g+T(a,12)|0)-4|0;switch(O[N[a>>2]]-73|0){case 0:case 6:case 32:case 38:break _;default:break Z}}N[b+12>>2]=1;i=(O[N[a>>2]]&223)==79?15457:17754;d=3}while(1){$:{e=c;k=cb(N[g+T(c,12)>>2],20260);c=c+1|0;if((f|0)<=(c|0)){break $}if(k){continue}}break}a=0;m=1;l=0;aa:{if(k){break aa}l=0;if(!O[(g+T(e,12)|0)+4|0]){break aa}l=0;if((O[N[(g+T(c,12)|0)-4>>2]]|32)!=98){break aa}N[b+12>>2]=d;m=0;l=16733}while(1){ba:{d=a;k=cb(N[g+T(d,12)>>2],20282);a=d+1|0;if((f|0)<=(a|0)){break ba}if(k){continue}}break}c=0;e=0;ca:{if(k){break ca}e=0;if(!O[(g+T(d,12)|0)+4|0]){break ca}a=N[(g+T(a,12)|0)-4>>2];d=O[a|0];e=0;if(!d){break ca}e=0;if((d|0)==78){break ca}e=0;if((d|0)==110){break ca}e=a}d=e;while(1){da:{a=c;k=cb(N[g+T(a,12)>>2],20296);c=a+1|0;if((f|0)<=(c|0)){break da}if(k){continue}}break}e=0;f=0;ea:{if(k){break ea}fa:{if(!O[(g+T(a,12)|0)+4|0]){break fa}a=N[(g+T(c,12)|0)-4>>2];c=O[a|0];if(!c|(c|0)==78){break fa}f=0;if((c|0)==110){break ea}e=a;j=nb(a);f=j+1|0;break ea}f=0}ga:{if(m){l=0;break ga}p=nb(l);f=(p+f|0)+1|0}g=0;ha:{if(!i){a=0;c=0;break ha}a=nb(i);f=(f+a|0)+1|0;c=i}r=c;ia:{if(!d){k=0;break ia}k=nb(d);f=(k+f|0)+1|0;g=d}q=!i;i=!d;if(!f){f=8;j=7;e=12199;break X}if((f|0)>0){break X}a=6;break W}d=Qa[N[n+4>>2]](n,f)|0;if(d){break V}a=64}N[b+24>>2]=0;break U}N[b+24>>2]=d;if(e){F(d,e,j);ja:{if(!j){break ja}c=0;f=0;if(j>>>0>=4){e=j&-4;while(1){n=d+f|0;if(O[n|0]==32){L[n|0]=45}n=(f|1)+d|0;if(O[n|0]==32){L[n|0]=45}n=(f|2)+d|0;if(O[n|0]==32){L[n|0]=45}n=(f|3)+d|0;if(O[n|0]==32){L[n|0]=45}f=f+4|0;if((e|0)!=(f|0)){continue}break}}e=j&3;if(!e){break ja}while(1){n=d+f|0;if(O[n|0]==32){L[n|0]=45}f=f+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}d=d+j|0}if(!m){if(N[b+24>>2]!=(d|0)){L[d|0]=32;d=d+1|0}F(d,l,p);d=d+p|0}if(!q){if(N[b+24>>2]!=(d|0)){L[d|0]=32;d=d+1|0}F(d,r,a);d=a+d|0}if(!i){if(N[b+24>>2]!=(d|0)){L[d|0]=32;d=d+1|0}F(d,g,k);ka:{if(!k){break ka}a=0;f=0;if(k>>>0>=4){c=k&-4;while(1){e=d+f|0;if(O[e|0]==32){L[e|0]=45}e=(f|1)+d|0;if(O[e|0]==32){L[e|0]=45}e=(f|2)+d|0;if(O[e|0]==32){L[e|0]=45}e=(f|3)+d|0;if(O[e|0]==32){L[e|0]=45}f=f+4|0;if((c|0)!=(f|0)){continue}break}}c=k&3;if(!c){break ka}while(1){e=d+f|0;if(O[e|0]==32){L[e|0]=45}f=f+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=d+k|0}L[d|0]=0;a=0}N[h+4>>2]=a;if(a){break b}a=yd(N[b+280>>2],N[b+284>>2],20231);la:{if(!(!a|!O[a+4|0])){s=b,t=Nc(o,N[a+8>>2],h+4|0),N[s+20>>2]=t;if(!N[h+4>>2]){break la}break b}N[b+20>>2]=0}N[b+28>>2]=1;N[b+16>>2]=N[b+288>>2];a=Qa[N[o+4>>2]](o,16)|0;if(a){L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[h+4>>2]=0;N[b+32>>2]=a;i=32767;c=N[b+208>>2]+N[b+204>>2]|0;e=c>>31;c=(c^e)-e>>>0>32767?32767:c&32768?0-c|0:c;M[a>>1]=c;e=N[b+280>>2];g=N[b+284>>2];d=yd(e,g,19895);ma:{if(d){c=N[d+8>>2];d=c>>31;if((c^d)-d>>>0>327665){break ma}c=(c+5|0)/10|0;i=c&32768?0-c|0:c;break ma}i=jb(c<<16>>16,2,3)}M[a+2>>1]=i;c=yd(e,g,20048);if(c){d=N[c+8>>2];c=d>>31;c=(c^d)-c|0;if(c>>>0<=328898){c=jb(c,460800,72270)}else{c=32767}N[a+4>>2]=c}c=yd(e,g,20082);if(c){c=N[c+8>>2];d=c>>31;if((c^d)-d>>>0<=32767){c=c<<16;d=c>>16;c=((c|0)<0?0-d|0:d)<<6}else{c=2097088}N[a+12>>2]=c}d=yd(e,g,18765);c=0;na:{if(!d){break na}d=N[d+8>>2];f=d>>31;c=32767;if((d^f)-f>>>0>32767){break na}c=d<<16;c=((c|0)<0?0-c|0:c)>>16}oa:{pa:{qa:{ra:{d=yd(e,g,18633);if(d){f=32767;d=N[d+8>>2];i=d>>31;if((d^i)-i>>>0>32767){break ra}f=d&32768?0-d|0:d;d=N[a+12>>2];if(d){break pa}d=N[a+4>>2];N[a+12>>2]=d;if(!(f&65535)){break oa}i=a+12|0;break qa}d=N[a+12>>2];if(d){break oa}d=N[a+4>>2];N[a+12>>2]=d;break oa}d=N[a+12>>2];if(d){break pa}d=N[a+4>>2];N[a+12>>2]=d;i=a+12|0}d=jb(d,f<<16>>16,72);N[i>>2]=d}if(!c|!(f&65535)){break oa}d=jb(d,c,f<<16>>16)}N[a+8>>2]=d;d=0;a=yd(e,g,18649);c=yd(e,g,19963);if(!a|!O[a+4|0]|(!c|!O[c+4|0])){break a}s=b,t=Nc(o,N[c+8>>2],h+4|0),N[s+176>>2]=t;if(N[h+4>>2]){break b}s=b,t=Nc(o,N[a+8>>2],h+4|0),N[s+180>>2]=t;if(!N[h+4>>2]){break a}break b}N[h+4>>2]=64;N[b+32>>2]=0;break b}i=9}a=N[b+192>>2];if(a){Qa[N[o+8>>2]](o,a)}N[b+192>>2]=0;N[h+4>>2]=i}d=3}La=h+32|0;return d}function Rq(a){a=a|0;var b=0,c=0,d=0,e=0;c=N[a+88>>2];a:{b:{c:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break b}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1937007464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d:{e:{f:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=270;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];e=a+24|0;j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break l}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];m:{n:{o:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break n}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break o}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break m}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1769172844,N[a+8>>2]==1098015074?10:8);p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1718185569,N[a+8>>2]==1098015074?10:8);s:{t:{u:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break t}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break u}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break s}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];v:{w:{x:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break w}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break x}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break v}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1718185522;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];y:{z:{A:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break z}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break A}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break y}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];B:{C:{D:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break C}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break D}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break B}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1718185523;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];E:{F:{G:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break F}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break G}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break E}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1835361385,N[a+8>>2]==1098015074?10:8);H:{I:{J:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break I}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break J}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break H}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1835361330;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];N:{O:{P:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break O}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break P}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break N}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Cf(e,1768843636,N[a+8>>2]==1098015074?10:8);b=N[a+100>>2];Q:{R:{S:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break R}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break S}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Q}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;T:{U:{V:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break U}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break V}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break T}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=271;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=11;N[b+4>>2]=c;N[b>>2]=1919707495;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];if(N[a+8>>2]==1098015074){Z:{_:{$:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break _}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break $}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Z}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=272;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1}c=N[a+88>>2];aa:{ba:{ca:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ba}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ca}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break aa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1667329140;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];da:{if(Ff(N[a+24>>2],1196643650,N[a+60>>2],N[a+68>>2],1919118452,0)){break da}if(Ff(N[a+24>>2],1196445523,N[a- -64>>2],N[a+72>>2],1919118452,0)){break da}ea:{fa:{ga:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break fa}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break ga}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break ea}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ha:{ia:{ja:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ja}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ha}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1919118452;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}c=N[a+88>>2];ka:{la:{ma:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break la}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ma}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ka}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];na:{oa:{pa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break pa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break na}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1668049255;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];qa:{ra:{sa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break sa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break qa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1836279156;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function sk(a,b){var 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;n=La-16|0;La=n;N[a+20>>2]=0;d=a+12|0;N[d>>2]=0;N[d+4>>2]=0;N[n+8>>2]=-1;N[n+12>>2]=0;N[n+4>>2]=d;N[n>>2]=0;d=O[b+4|0]|O[b+5|0]<<8;a:{if(!d){N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+24>>2]=-1;break a}c=O[b|0]|O[b+1|0]<<8;o=(c<<8|c>>>8)&65535;p=b+4|0;d=(d<<8|d>>>8)&65535;q=d>>>0<=1?1:d;while(1){d=O[p|0]|O[p+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=l>>>0?275552:((l<<1)+p|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+b|0}else{d=275552}c=o;h=0;g=La-32|0;La=g;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{while(1){m:{if((c|0)!=7){n:{switch(c-1|0){case 0:o:{p:{c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break o;case 0:break p;default:break b}}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=250;N[g+12>>2]=251;N[g+8>>2]=252;N[g+4>>2]=d;q:{r:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break q;case 0:break r;default:break c}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break c}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;s:{if((c|0)==256){e=0;c=d;break s}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break d}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break d}Ub(d,g+20|0);break c}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=253;N[g+12>>2]=254;N[g+8>>2]=255;N[g+4>>2]=d;t:{u:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break t;case 0:break u;default:break e}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break e}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;v:{if((c|0)==256){e=0;c=d;break v}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break f}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break f}Ub(d,g+20|0);break e;case 1:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=256;N[g+12>>2]=257;N[g+8>>2]=258;N[g+4>>2]=d;w:{x:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break w;case 0:break x;default:break g}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break g}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;y:{if((c|0)==256){e=0;c=d;break y}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break h}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break h}Ub(d,g+20|0);break g;case 2:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=259;N[g+12>>2]=260;N[g+8>>2]=261;N[g+4>>2]=d;z:{A:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break z;case 0:break A;default:break i}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break i}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;B:{if((c|0)==256){e=0;c=d;break B}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break j}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break j}Ub(d,g+20|0);break i;case 3:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=262;N[g+12>>2]=263;N[g+8>>2]=264;N[g+4>>2]=d;C:{D:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break C;case 0:break D;default:break k}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break k}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;E:{if((c|0)==256){e=0;c=d;break E}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break l}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break l}Ub(d,g+20|0);break k;case 4:Vk(d,n);break b;case 7:break m;case 5:break n;default:break b}}Wk(d,n);break b}if((O[d|0]|O[d+1|0]<<8)!=256){break b}c=O[d+2|0]|O[d+3|0]<<8;c=(c<<8|c>>>8)&65535;e=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(e){d=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0}else{d=275552}continue}break}if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=265;N[g+12>>2]=266;N[g+8>>2]=267;N[g+4>>2]=d;F:{G:{H:{I:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break H;case 0:break I;default:break F}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break F}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;J:{if((c|0)==256){e=0;c=d;break J}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break G}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break G}Ub(d,g+20|0);break F}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}K:{L:{M:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break M}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break L}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break K}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}N:{O:{P:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break P}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break O}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break N}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}Q:{R:{S:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break S}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break R}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break Q}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}T:{U:{V:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break V}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break U}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break T}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}W:{X:{Y:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break Y}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break X}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break W}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}Z:{_:{$:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break $}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break _}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break Z}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c}La=g+32|0;l=l+1|0;if((q|0)!=(l|0)){continue}break}N[a>>2]=0;N[a+4>>2]=0;e=0;N[a+8>>2]=0;f=N[a+16>>2];if(!f){N[a+24>>2]=N[n+8>>2];break a}l=N[a+20>>2];b=T(f,28)-28|0;d=((b>>>0)/28|0)+1|0;g=d&1;aa:{if(b>>>0<28){d=0;c=0;break aa}o=d&536870910;d=0;c=0;b=0;while(1){e=N[l+16>>2]|e;N[a>>2]=e;d=N[l+20>>2]|d;N[a+4>>2]=d;c=N[l+24>>2]|c;N[a+8>>2]=c;e=e|N[l+44>>2];N[a>>2]=e;d=d|N[l+48>>2];N[a+4>>2]=d;c=c|N[l+52>>2];N[a+8>>2]=c;l=l+56|0;b=b+2|0;if((o|0)!=(b|0)){continue}break}}if(g){N[a>>2]=N[l+16>>2]|e;N[a+4>>2]=N[l+20>>2]|d;N[a+8>>2]=N[l+24>>2]|c}N[a+24>>2]=N[n+8>>2];l=0;while(1){if(N[a+24>>2]!=(l|0)){ba:{if(f>>>0<=l>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;f=N[a+16>>2];b=0;break ba}b=N[(N[a+20>>2]+T(l,28)|0)+4>>2]}ca:{if(f>>>0<=l>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;f=N[a+16>>2];d=589824;break ca}d=N[a+20>>2]+T(l,28)|0}N[d+8>>2]=b}l=l+1|0;if(l>>>0>>0){continue}break}}La=n+16|0}function Vg(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;w=La-16|0;La=w;a:{if(!Dk(a+4|0,b,a)){break a}c=a+6|0;if(c>>>0>2]){break a}e=N[b+8>>2];if(e>>>0>>0){break a}if(e-c>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=O[c|0]|O[c+1|0]<<8;b:{if(!e){break b}e=((e<<8|e>>>8)&65535)+a|0;N[w+12>>2]=e;if(Ck(e,b,w+12|0)){break b}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}r=a+8|0;h=N[b+4>>2];if(r>>>0>>0){h=0;break a}c=N[b+8>>2];if(c>>>0>>0){h=0;break a}if(c-r>>>0<2){h=0;break a}j=N[b+12>>2];e=j-2|0;N[b+12>>2]=e;if((e|0)<=0){h=0;break a}e=O[r|0]|O[r+1|0]<<8;c:{if(!e){break c}d:{q=((e<<8|e>>>8)&65535)+a|0;if(h>>>0>q>>>0|c>>>0>>0|c-q>>>0<2){break d}e=j-4|0;N[b+12>>2]=e;if((e|0)<=0){break d}h=O[q|0]|O[q+1|0]<<8;if(!h){break c}j=q+2|0;if(j>>>0>c>>>0){break d}j=c-j|0;c=(h<<8|h>>>8)&65535;h=c<<1;if(j>>>0>>0){break d}e=e-h|0;N[b+12>>2]=e;if((e|0)<=0){break d}y=c>>>0<=1?1:c;while(1){s=((x<<1)+q|0)+2|0;e=N[b+4>>2];if(s>>>0>>0){break d}j=N[b+8>>2];if(j>>>0>>0|j-s>>>0<2){break d}c=N[b+12>>2];h=c-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[s|0]|O[s+1|0]<<8;e:{if(!h){break e}m=((h<<8|h>>>8)&65535)+q|0;f:{g:{if(e>>>0>m>>>0|j>>>0>>0|j-m>>>0<6){break g}h=c-8|0;N[b+12>>2]=h;if((h|0)<=0){break g}n=m+4|0;if(j>>>0>>0|j-n>>>0<2){break g}h=c-10|0;N[b+12>>2]=h;if((h|0)<=0){break g}o=O[n|0]|O[n+1|0]<<8;u=(o<<8|o>>>8)&65535;d=u<<1;if(o){c=m+6|0;if(c>>>0>j>>>0|d>>>0>j-c>>>0){break g}h=h-d|0;N[b+12>>2]=h;if((h|0)<=0){break g}}c=N[b+16>>2]+u|0;N[b+16>>2]=c;if((c|0)>16383){break g}h:{if(!(O[m+3|0]&16)){c=h;break h}c=(d+n|0)+2|0;if(c>>>0>>0|c>>>0>j>>>0|j-c>>>0<2){break g}c=h-2|0;N[b+12>>2]=c;if((h|0)<3){break g}}if(e>>>0>n>>>0){break g}e=O[m|0]|O[m+1|0]<<8;c=c-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}if(o){h=m+6|0;if(h>>>0>j>>>0|d>>>0>j-h>>>0){break g}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break g}j=(e<<8|e>>>8)&65535;z=u>>>0<=1?1:u;h=0;while(1){o=((h<<1)+n|0)+2|0;if(o>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-o>>>0<2){break g}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=O[o|0]|O[o+1|0]<<8;i:{if(!c){break i}e=((c<<8|c>>>8)&65535)+m|0;c=j;d=0;l=0;v=La-16|0;La=v;j:{k:{while(1){l:{if((c|0)!=7){d=1;m:{switch(c-1|0){case 0:c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}n:{o:{i=O[e|0]|O[e+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break n;case 0:break o;default:break j}}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;p:{if(!d){break p}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break p}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}d=0;if(e-c>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;d=(c|0)>0;break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;q:{if(!d){break q}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break q}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}f=N[b+12>>2]-2|0;N[b+12>>2]=f;if((f|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break k}e=e+6|0;if(e>>>0>d>>>0){d=0;break j}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>d-e>>>0){d=0;break j}c=f-c|0;N[b+12>>2]=c;d=0;if((c|0)>0){break k}break j;case 1:if(Q[b+4>>2]>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;r:{if(!d){break r}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break r}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}p=c>>>0<=1?1:c;c=0;while(1){i=N[b+4>>2];d=((c<<1)+e|0)+6|0;if(i>>>0>d>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-d>>>0<2){d=0;break j}l=N[b+12>>2];g=l-2|0;N[b+12>>2]=g;if((g|0)<=0){d=0;break j}g=O[d|0]|O[d+1|0]<<8;s:{if(!g){break s}g=((g<<8|g>>>8)&65535)+e|0;t:{if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break t}i=l-4|0;N[b+12>>2]=i;if((i|0)<=0){break t}l=O[g|0]|O[g+1|0]<<8;if(!l){break s}g=g+2|0;if(g>>>0>f>>>0){break t}g=f-g|0;f=((l<<8|l>>>8)&65535)<<1;if(g>>>0>>0){break t}f=i-f|0;N[b+12>>2]=f;if((f|0)>0){break s}}f=N[b+28>>2];if(f>>>0>31){d=0;break j}N[b+28>>2]=f+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=c+1|0;if((p|0)!=(c|0)){continue}break};break j;case 2:if(Q[b+4>>2]>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;u:{if(!d){break u}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break u}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}p=c>>>0<=1?1:c;c=0;while(1){i=N[b+4>>2];d=((c<<1)+e|0)+6|0;if(i>>>0>d>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-d>>>0<2){d=0;break j}l=N[b+12>>2];g=l-2|0;N[b+12>>2]=g;if((g|0)<=0){d=0;break j}g=O[d|0]|O[d+1|0]<<8;v:{if(!g){break v}g=((g<<8|g>>>8)&65535)+e|0;w:{if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break w}i=l-4|0;N[b+12>>2]=i;if((i|0)<=0){break w}l=O[g|0]|O[g+1|0]<<8;if(!l){break v}g=g+2|0;if(g>>>0>f>>>0){break w}g=f-g|0;f=((l<<8|l>>>8)&65535)<<1;if(g>>>0>>0){break w}f=i-f|0;N[b+12>>2]=f;if((f|0)>0){break v}}f=N[b+28>>2];if(f>>>0>31){d=0;break j}N[b+28>>2]=f+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=c+1|0;if((p|0)!=(c|0)){continue}break};break j;case 3:c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;x:{if(!d){break x}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break x}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}A=c>>>0<=1?1:c;while(1){g=N[b+4>>2];f=((l<<1)+e|0)+6|0;if(g>>>0>f>>>0){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-f>>>0<2){d=0;break j}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[f|0]|O[f+1|0]<<8;y:{if(!c){break y}z:{A:{c=((c<<8|c>>>8)&65535)+e|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break A}g=i-4|0;N[b+12>>2]=g;if((g|0)<=0){break A}i=O[c|0]|O[c+1|0]<<8;if(!i){break y}p=c+2|0;if(p>>>0>d>>>0){break A}k=d-p|0;d=(i<<8|i>>>8)&65535;i=d<<1;if(k>>>0>>0){break A}g=g-i|0;N[b+12>>2]=g;if((g|0)<=0){break A}B=d>>>0<=1?1:d;p=0;while(1){k=N[b+4>>2];g=(c+(p<<1)|0)+2|0;if(k>>>0>g>>>0){break A}d=N[b+8>>2];if(d>>>0>>0|d-g>>>0<2){break A}t=N[b+12>>2];i=t-2|0;N[b+12>>2]=i;if((i|0)<=0){break A}i=O[g|0]|O[g+1|0]<<8;B:{if(!i){break B}i=c+((i<<8|i>>>8)&65535)|0;C:{if(i>>>0>>0|d>>>0>>0|d-i>>>0<2){break C}k=t-4|0;N[b+12>>2]=k;if((k|0)<=0){break C}k=i+2|0;if(k>>>0>d>>>0|d-k>>>0<2){break C}t=t-6|0;N[b+12>>2]=t;if((t|0)<=0){break C}k=O[k|0]|O[k+1|0]<<8;if(!k){break B}k=(((k<<8|k>>>8)&65535)<<1)-2|0;if(!k){break B}i=i+4|0;if(i>>>0>d>>>0|k>>>0>d-i>>>0){break C}d=t-k|0;N[b+12>>2]=d;if((d|0)>0){break B}}d=N[b+28>>2];if(d>>>0>31){d=0;break j}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break z}L[g|0]=0;L[g+1|0]=0}p=p+1|0;if((B|0)!=(p|0)){continue}break}break y}d=N[b+28>>2]}if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[f|0]=0;L[f+1|0]=0}d=1;l=l+1|0;if((A|0)!=(l|0)){continue}break};break j;case 4:d=0;if(Q[b+4>>2]>e>>>0){break j}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break j}d=1;D:{E:{F:{c=O[e|0]|O[e+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break D;case 1:break E;case 0:break F;default:break j}}d=vk(e,b);break j}d=yk(e,b);break j}d=xk(e,b);break j;case 7:break l;case 5:break m;default:break j}}d=wk(e,b);break j}if(Q[b+4>>2]>e>>>0){break j}c=N[b+8>>2];if(c>>>0>>0){break j}c=c-e|0;if(c>>>0<2){break j}f=N[b+12>>2];g=f-2|0;N[b+12>>2]=g;if((g|0)<=0){break j}if((O[e|0]|O[e+1|0]<<8)!=256){break k}if(c>>>0<8){break j}c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}f=O[e+2|0]|O[e+3|0]<<8;if((f|0)==1792){break j}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0}else{e=275552}c=(f<<8|(f&65280)>>>8)&65535;continue}break}c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;G:{if(!d){break G}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break G}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}N[v+12>>2]=e;d=e+4|0;if(!Pe(d,b,v+12|0)){d=0;break j}c=O[e+4|0]|O[e+5|0]<<8;N[v+8>>2]=e;c=(d+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!Pe(c,b,v+8|0)){d=0;break j}e=O[c|0]|O[c+1|0]<<8;c=(c+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}f=O[c|0]|O[c+1|0]<<8;if(!f){break k}c=c+2|0;if(c>>>0>e>>>0){d=0;break j}e=e-c|0;c=((f<<8|f>>>8)&65535)<<1;if(e>>>0>>0){d=0;break j}c=d-c|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}}d=1}La=v+16|0;if(d){break i}c=N[b+28>>2];if(c>>>0>31){break d}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break f}L[o|0]=0;L[o+1|0]=0}h=h+1|0;if((z|0)!=(h|0)){continue}break}e=O[m|0]|O[m+1|0]<<8}if(N[b+28>>2]|(e&65535)!=1792){break e}e=275552;d=0;c=O[n|0]|O[n+1|0]<<8?m+6|0:275552;c=O[c|0]|O[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+m|0}if((O[e|0]|O[e+1|0]<<8)==256){c=O[e+2|0]|O[e+3|0]<<8;d=(c<<8|c>>>8)&65535}e=1;if(u>>>0<2){break e}while(1){h=275552;c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+n|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){h=((c<<8|c>>>8)&65535)+m|0}c=0;if((O[h|0]|O[h+1|0]<<8)==256){c=O[h+2|0]|O[h+3|0]<<8;c=(c<<8|c>>>8)&65535}if((c|0)==(d|0)){e=e+1|0;if((u|0)!=(e|0)){continue}}break}if((c|0)==(d|0)){break e}}c=N[b+28>>2]}if(c>>>0>31){break d}N[b+28>>2]=c+1;if(!O[b+24|0]){break d}L[s|0]=0;L[s+1|0]=0}x=x+1|0;if((y|0)!=(x|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){h=0;break a}N[b+28>>2]=c+1;if(!O[b+24|0]){h=0;break a}L[r|0]=0;L[r+1|0]=0}h=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65537){break a}c=a+10|0;if(c>>>0>2]){h=0;break a}e=N[b+8>>2];if(e>>>0>>0){h=0;break a}if(e-c>>>0<4){h=0;break a}e=N[b+12>>2]-4|0;N[b+12>>2]=e;if((e|0)<=0){h=0;break a}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!e){break a}if(e&128){h=0;break a}if(Bk((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){h=0;break a}N[b+28>>2]=a+1;h=0;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;h=1}La=w+16|0;return h}function $A(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;c=c?-1:0;L[a+24|0]=c;d=c>>>8|0;L[a+25|0]=d;e=c>>>16|0;L[a+26|0]=e;f=c>>>24|0;L[a+27|0]=f;L[a+28|0]=c;g=c>>>8|0;L[a+29|0]=g;h=c>>>16|0;L[a+30|0]=h;i=c>>>24|0;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i}function Fq(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0;j=La-32|0;La=j;a:{b:{a=L[b+140|0];if((a|0)>=0){N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;L[b+140|0]=a|128;N[b+84>>2]=N[b+80>>2];w=N[b+68>>2];c:{while(1){d:{if(!O[b+60|0]|f>>>0>=w>>>0){break d}d=N[b+80>>2];y=d+T(f,20)|0;a=N[y>>2];if((a&-2)==12334){e:{if(!(N[b+72>>2]!=(i|0)|i>>>0<=n>>>0)){wb(b,3,n,f,1,1);if(O[b+62|0]){d=N[b+84>>2];e=N[b+80>>2];f=N[b+72>>2];if(!((d|0)==(e|0)&(f|0)==N[b+64>>2])){g=f+1|0;if(!(!g|g>>>0>2])){if(!gb(b,g)){break d}e=N[b+80>>2];d=N[b+84>>2]}f:{if((d|0)!=(e|0)){break f}g=N[b+72>>2];if(g+1>>>0<=N[b+64>>2]+1>>>0){d=e;break f}if(!O[b+62|0]){break b}d=N[b+88>>2];N[b+84>>2]=d;g=T(g,20);if(!g){break f}F(d,e,g);d=N[b+84>>2];e=N[b+80>>2]}g=T(N[b+72>>2],20)+d|0;e=T(N[b+64>>2],20)+e|0;d=N[e+4>>2];N[g>>2]=N[e>>2];N[g+4>>2]=d;N[g+16>>2]=N[e+16>>2];d=N[e+12>>2];N[g+8>>2]=N[e+8>>2];N[g+12>>2]=d;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1;N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[h|0](c,f,a,e,d)|0){a=N[c+96>>2];g=N[a+40>>2];d=N[c+100>>2];f=N[j+8>>2];a=N[a+12>>2];if(a){a=N[a+20>>2]}else{a=0}if(!(Qa[g|0](c,d,f,a)|0)){break e}}wd(b,n,i+1|0);d=N[b+84>>2];e=d+T(i,20)|0;N[j+24>>2]=N[e+16>>2];a=N[e+12>>2];N[j+16>>2]=N[e+8>>2];N[j+20>>2]=a;a=N[e+4>>2];N[j+8>>2]=N[e>>2];N[j+12>>2]=a;d=d+T(n,20)|0;F(d+20|0,d,T(i-n|0,20));N[d+16>>2]=N[j+24>>2];a=N[j+20>>2];N[d+8>>2]=N[j+16>>2];N[d+12>>2]=a;a=N[j+12>>2];N[d>>2]=N[j+8>>2];N[d+4>>2]=a;break e}g:{if(O[b+16|0]&16){break g}N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[h|0](c,f,9676,e,d)|0)){break g}N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}h:{if(!(Qa[h|0](c,f,a,e,d)|0)){i=a;a=9676;break h}d=N[c+96>>2];h=N[d+40>>2];f=N[c+100>>2];e=N[j+8>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}d=Qa[h|0](c,f,e,d)|0;i=d?a:9676;a=d?9676:a}d=N[b+72>>2]+2|0;if(!(!d|d>>>0>2])){if(!gb(b,d)){break e}}g=N[b+84>>2];i:{if((g|0)!=N[b+80>>2]){break i}d=N[b+72>>2];if(d+2>>>0<=N[b+64>>2]+1>>>0){break i}if(!O[b+62|0]){break b}e=N[b+88>>2];N[b+84>>2]=e;d=T(d,20);if(!d){break i}F(e,g,d)}d=N[b+68>>2];e=N[b+64>>2];if(d>>>0>>0){break a}j:{if(d>>>0>e>>>0){f=N[b+72>>2];n=N[b+84>>2];d=N[b+80>>2]+T(e,20)|0;break j}n=N[b+84>>2];f=N[b+72>>2];d=f-1|0;d=n+T(d>>>0<=f>>>0?d:0,20)|0}e=N[d+4>>2];h=T(f,20)+n|0;N[h>>2]=N[d>>2];N[h+4>>2]=e;N[h+16>>2]=N[d+16>>2];g=d+8|0;e=N[g+4>>2];N[h+8>>2]=N[g>>2];N[h+12>>2]=e;N[h>>2]=i;e=N[d+4>>2];N[h+20>>2]=N[d>>2];N[h+24>>2]=e;e=N[d+12>>2];N[h+28>>2]=N[d+8>>2];N[h+32>>2]=e;N[h+36>>2]=N[d+16>>2];N[h+20>>2]=a;N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+2;break e}if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break e}d=N[b+80>>2];a=N[b+84>>2]}k:{if((a|0)!=(d|0)){break k}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break k}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break k}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1}i=N[b+72>>2];n=i;f=N[b+64>>2];continue}n=N[b+72>>2];l:{m:{n:{o:{p:{q:{r:{q=a-4352|0;if(!(a-43360>>>0>28&q>>>0>=96)){l=f+1|0;if(l>>>0>=w>>>0){break n}r=N[T(l,20)+d>>2];if(r-4448>>>0>=72&r-55216>>>0>22){break n}p=0;x=0;e=f+2|0;if(e>>>0>>0){g=N[T(e,20)+d>>2];e=g-4520>>>0<88|g-55243>>>0<49;x=e?g:0;p=e?g-4519|0:0}g=N[b+68>>2];o=x?3:2;e=o+f|0;u=e>>>0>g>>>0?g:e;s=u-f|0;s:{if(s>>>0<2){break s}h=N[b+144>>2]|32;N[b+144>>2]=h;if(f>>>0>=u>>>0){break s}i=-1;e=f;t=u+(e^-1)|0;if(t>>>0>=3){v=s&-4;g=0;while(1){k=T(e,20)+d|0;m=N[k+8>>2];m=i>>>0>>0?i:m;i=N[k+28>>2];m=i>>>0>m>>>0?m:i;i=N[k+48>>2];m=i>>>0>m>>>0?m:i;i=N[k+68>>2];i=i>>>0>m>>>0?m:i;e=e+4|0;g=g+4|0;if((v|0)!=(g|0)){continue}break}}k=0;m=s&3;if(m){while(1){g=N[(T(e,20)+d|0)+8>>2];i=g>>>0>i>>>0?i:g;e=e+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}e=f;if(s&1){if(N[y+8>>2]!=(i|0)){N[y+4>>2]=N[y+4>>2]|3}e=l}if(!t){break s}while(1){g=T(e,20)+d|0;if(N[g+8>>2]!=(i|0)){h=h|32;N[b+144>>2]=h;N[g+4>>2]=N[g+4>>2]|3}g=T(e+1|0,20)+d|0;if(N[g+8>>2]!=(i|0)){h=h|32;N[b+144>>2]=h;N[g+4>>2]=N[g+4>>2]|3}e=e+2|0;if((u|0)!=(e|0)){continue}break}}if(!(q>>>0>18|r-4449>>>0>20|(x-4520>>>0>26?x:0))){a=((T(a,588)+T(r,28)|0)+p|0)-2639516|0;N[j+4>>2]=a;N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[h|0](c,f,a,e,d)|0){Sg(b,o,j+4|0);i=n+1|0;f=N[b+64>>2];continue}f=N[b+64>>2];d=N[b+80>>2]}L[(T(f,20)+d|0)+19|0]=1;if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break r}d=N[b+80>>2];a=N[b+84>>2]}t:{if((a|0)!=(d|0)){break t}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break t}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break t}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}f=N[b+64>>2]+1|0;N[b+64>>2]=f;break m}f=a-44032|0;if(f>>>0>11171){break n}N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];e=N[c+100>>2];g=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}u=Qa[h|0](c,e,a,g,d)|0;m=((f&65535)>>>0)/588|0;d=f-T(m,588)|0;t=((d&65535)>>>0)/28|0;v=T(t,-28)+d|0;s=v&65535;if(s){break q}g=N[b+64>>2];d=g+1|0;u:{if(d>>>0>=w>>>0){break u}d=N[N[b+80>>2]+T(d,20)>>2];if(d-4520>>>0>26){break u}a=(a+d|0)-4519|0;N[j+4>>2]=a;N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[h|0](c,f,a,e,d)|0){Sg(b,2,j+4|0);i=n+1|0;f=N[b+64>>2];continue}d=N[b+68>>2];g=N[b+64>>2];a=g+2|0;k=a>>>0>d>>>0?d:a;p=k-g|0;if(p>>>0<2){break u}f=N[b+144>>2]|32;N[b+144>>2]=f;if(g>>>0>=k>>>0){break u}r=N[b+80>>2];a=-1;h=g;l=k+(g^-1)|0;if(l>>>0>=3){e=p&-4;o=0;while(1){q=r+T(h,20)|0;d=N[q+8>>2];d=a>>>0>>0?a:d;a=N[q+28>>2];d=a>>>0>d>>>0?d:a;a=N[q+48>>2];d=a>>>0>d>>>0?d:a;a=N[q+68>>2];a=a>>>0>d>>>0?d:a;h=h+4|0;o=o+4|0;if((e|0)!=(o|0)){continue}break}}o=0;e=p&3;if(e){while(1){d=N[(r+T(h,20)|0)+8>>2];a=a>>>0>>0?a:d;h=h+1|0;o=o+1|0;if((e|0)!=(o|0)){continue}break}}h=g;if(p&1){d=r+T(g,20)|0;if(N[d+8>>2]!=(a|0)){N[d+4>>2]=N[d+4>>2]|3}h=g+1|0}if(!l){break u}while(1){d=r+T(h,20)|0;if(N[d+8>>2]!=(a|0)){f=f|32;N[b+144>>2]=f;N[d+4>>2]=N[d+4>>2]|3}d=r+T(h+1|0,20)|0;if(N[d+8>>2]!=(a|0)){f=f|32;N[b+144>>2]=f;N[d+4>>2]=N[d+4>>2]|3}h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!u){break p}a=g+1|0;if(a>>>0>=w>>>0){break o}a=N[N[b+80>>2]+T(a,20)>>2];if(a-4520>>>0<88){break p}if(a-55243>>>0>48){break o}break p}f=N[b+64>>2];break m}if(u){break o}}N[j+8>>2]=0;a=N[c+96>>2];h=N[a+28>>2];v:{d=N[c+100>>2];m=m|4352;f=j+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[h|0](c,d,m,f,a)|0)){break v}N[j+8>>2]=0;a=N[c+96>>2];h=N[a+28>>2];d=N[c+100>>2];l=t+4449|0;f=j+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[h|0](c,d,l,f,a)|0)){break v}d=v+4519&65535;w:{x:{y:{if(!s){a=N[b+72>>2]+2|0;if(!(!a|a>>>0>2])){k=2;if(!gb(b,a)){break x}}k=2;g=N[b+84>>2];if((g|0)!=N[b+80>>2]){break y}a=N[b+72>>2];if(a+2>>>0<=N[b+64>>2]+1>>>0){break y}if(!O[b+62|0]){break b}e=N[b+88>>2];N[b+84>>2]=e;a=T(a,20);if(!a){break y}F(e,g,a);break y}N[j+8>>2]=0;e=N[c+96>>2];f=N[e+28>>2];g=N[c+100>>2];h=j+8|0;e=N[e+12>>2];if(e){a=N[e+8>>2]}else{a=0}if(!(Qa[f|0](c,g,d,h,a)|0)){break o}a=N[b+72>>2]+3|0;if(!(!a|a>>>0>2])){k=3;if(!gb(b,a)){break w}}k=3;g=N[b+84>>2];if((g|0)!=N[b+80>>2]){break y}a=N[b+72>>2];if(a+3>>>0<=N[b+64>>2]+1>>>0){break y}if(!O[b+62|0]){break b}e=N[b+88>>2];N[b+84>>2]=e;a=T(a,20);if(!a){break y}F(e,g,a)}a=N[b+68>>2];e=N[b+64>>2];if(a>>>0>>0){break a}z:{if(a>>>0>e>>>0){a=N[b+72>>2];g=N[b+84>>2];i=N[b+80>>2]+T(e,20)|0;break z}g=N[b+84>>2];a=N[b+72>>2];e=a-1|0;i=g+T(a>>>0>=e>>>0?e:0,20)|0}g=T(a,20)+g|0;a=N[i+4>>2];N[g>>2]=N[i>>2];N[g+4>>2]=a;N[g+16>>2]=N[i+16>>2];e=i+8|0;a=N[e+4>>2];N[g+8>>2]=N[e>>2];N[g+12>>2]=a;N[g>>2]=m;a=N[i+4>>2];N[g+20>>2]=N[i>>2];N[g+24>>2]=a;a=N[i+12>>2];N[g+28>>2]=N[i+8>>2];N[g+32>>2]=a;N[g+36>>2]=N[i+16>>2];N[g+20>>2]=l;if(s){a=N[i+4>>2];N[g+40>>2]=N[i>>2];N[g+44>>2]=a;N[g+56>>2]=N[i+16>>2];a=N[i+12>>2];N[g+48>>2]=N[i+8>>2];N[g+52>>2]=a;N[g+40>>2]=d}N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+k}if(!u|s){break w}A:{if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break A}d=N[b+80>>2];a=N[b+84>>2]}B:{if((a|0)!=(d|0)){break B}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break B}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break B}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1}k=k+1|0}if(!O[b+60|0]){break d}d=N[b+84>>2];a=d+T(n,20)|0;L[a+39|0]=2;L[a+19|0]=1;i=k+n|0;a=n+2|0;if(i>>>0>a>>>0){L[(d+T(a,20)|0)+19|0]=3}if(N[b+20>>2]){break l}wd(b,n,i);f=N[b+64>>2];continue}if(s){break o}d=N[b+64>>2];e=d+1|0;if(w>>>0<=e>>>0){break o}p=N[b+80>>2];a=N[p+T(e,20)>>2];if(a-4520>>>0>=88&a-55243>>>0>48){break o}g=N[b+68>>2];a=d+2|0;q=a>>>0>g>>>0?g:a;o=q-d|0;if(o>>>0<2){break o}h=N[b+144>>2]|32;N[b+144>>2]=h;if(d>>>0>=q>>>0){break o}f=-1;a=d;v=q+(d^-1)|0;if(v>>>0>=3){m=o&-4;g=0;while(1){t=p+T(a,20)|0;l=N[t+8>>2];l=f>>>0>>0?f:l;f=N[t+28>>2];l=f>>>0>l>>>0?l:f;f=N[t+48>>2];l=f>>>0>l>>>0?l:f;f=N[t+68>>2];f=f>>>0>l>>>0?l:f;a=a+4|0;g=g+4|0;if((m|0)!=(g|0)){continue}break}}k=0;l=o&3;if(l){while(1){g=N[(p+T(a,20)|0)+8>>2];f=g>>>0>f>>>0?f:g;a=a+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}C:{if(!(o&1)){e=d;break C}a=p+T(d,20)|0;if(N[a+8>>2]==(f|0)){break C}N[a+4>>2]=N[a+4>>2]|3}if(!v){break o}while(1){a=p+T(e,20)|0;if(N[a+8>>2]!=(f|0)){h=h|32;N[b+144>>2]=h;N[a+4>>2]=N[a+4>>2]|3}a=p+T(e+1|0,20)|0;if(N[a+8>>2]!=(f|0)){h=h|32;N[b+144>>2]=h;N[a+4>>2]=N[a+4>>2]|3}e=e+2|0;if((q|0)!=(e|0)){continue}break}}i=u?n+1|0:i}if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break l}d=N[b+80>>2];a=N[b+84>>2]}D:{if((a|0)!=(d|0)){break D}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break D}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break D}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1;break l}L[(N[b+80>>2]+T(f,20)|0)+19|0]=2;E:{if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break E}d=N[b+80>>2];a=N[b+84>>2]}F:{if((a|0)!=(d|0)){break F}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break F}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break F}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1}a=2;G:{if(!x){break G}L[(N[b+80>>2]+T(N[b+64>>2],20)|0)+19|0]=3;if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){a=3;if(!gb(b,e)){break G}d=N[b+80>>2];a=N[b+84>>2]}H:{if((a|0)!=(d|0)){break H}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break H}if(!O[b+62|0]){break c}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break H}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1;a=3}if(!O[b+60|0]){break d}i=a+n|0;if(N[b+20>>2]){break l}wd(b,n,i);f=N[b+64>>2];continue}f=N[b+64>>2];continue}break}Ac(b);La=j+32|0;return}break b}ba(22778,14165,169,12138);B()}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function VD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=U(0),k=U(0),l=0,m=U(0),n=0,o=U(0),p=0,q=U(0),r=0,s=U(0),t=U(0),u=U(0),v=0,w=0,x=U(0),y=U(0),z=0,A=0,D=0,E=0,F=U(0),G=0,H=U(0),I=0;g=La-4560|0;La=g;j=R[a+40>>2];N[g+40>>2]=0;N[g+44>>2]=0;N[g+48>>2]=0;N[g+52>>2]=0;N[g+56>>2]=0;N[g+60>>2]=0;b=g- -64|0;N[b>>2]=0;N[b+4>>2]=0;N[g+72>>2]=0;N[g+76>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+28>>2]=e;N[g+24>>2]=d;R[g+16>>2]=j;L[g+20|0]=j==U(0);b=N[a+24>>2];d=N[b+108>>2];a:{if(d){break a}while(1){d=N[b+48>>2];if(!d){d=275552;break a}e=db(1,28);if(!e){d=275552;N[b+108>>2]=275552;break a}d=Le(e,d);if(!N[b+108>>2]){N[b+108>>2]=d;break a}ab(N[d+24>>2]);_a(d);d=N[b+108>>2];if(!d){continue}break}}b=g+32|0;b:{c:{if(Q[d+16>>2]<=c>>>0){break c}N[g+4552>>2]=0;N[g+4544>>2]=0;N[g+4548>>2]=0;e=N[d+20>>2];e=N[(e?e:275552)+12>>2];d:{if(O[d+12|0]){f=e+(c<<1)|0;e=O[f|0]|O[f+1|0]<<8;e=((e<<8|e>>>8)&65535)<<1;f=O[f+2|0]|O[f+3|0]<<8;f=((f<<8|f>>>8)&65535)<<1;break d}f=e+(c<<2)|0;e=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);f=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}e:{f:{if(e>>>0<=f>>>0){h=N[d+24>>2];h=h?h:275552;if(f>>>0<=Q[h+16>>2]){break f}}N[g+104>>2]=0;N[g+96>>2]=0;N[g+100>>2]=0;N[g+112>>2]=-1;N[g+116>>2]=0;N[g+108>>2]=275552;break e}h=N[h+12>>2]+e|0;i=f-e|0;f=i>>>0<10?275552:h;e=O[f|0]|O[f+1|0]<<8;if(e){e=(e<<8|e>>>8)<<16>>16>0?1:(e|0)==65279?3:2}else{e=0}N[g+116>>2]=e;N[g+112>>2]=c;N[g+108>>2]=f;N[g+104>>2]=0;N[g+100>>2]=i;N[g+96>>2]=h}N[g+88>>2]=0;N[g+8>>2]=0;N[g+80>>2]=0;N[g+84>>2]=0;N[g>>2]=0;N[g+4>>2]=0;w=ej(g+96|0,a,d,g+4544|0,0,g,0);if(w){r=N[g+4548>>2];if(r>>>0>3){z=N[g+4552>>2];E=r-4|0;if(!E){_a(z);break b}e=0;d=0;while(1){g:{if(d>>>0>=r>>>0){l=0;N[147456]=0;N[147457]=0;N[147458]=0;f=589824;j=U(0);k=U(0);break g}f=z+T(d,12)|0;j=R[f+4>>2];l=O[f+8|0];k=R[f>>2]}h=l&1;j=U(j*R[a+48>>2]);k=U(k*R[a+44>>2]);h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if(!n){if(h){i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(N[g+32>>2]){t=R[g+36>>2];s=R[g+40>>2];if(!(t==R[g+44>>2]&s==R[g+48>>2])){l=N[h+16>>2];n=N[h+32>>2];if(n){n=N[n+4>>2]}else{n=0}Qa[l|0](h,i,b,t,s,n)}l=N[h+28>>2];n=N[h+32>>2];if(n){n=N[n+16>>2]}else{n=0}Qa[l|0](h,i,b,n);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=j;R[g+44>>2]=k;n=1;break r}dj(h,i,b,U(U(j*R[g+16>>2])+k),j);n=1;break r}if(!v){break t}s=U(U(U(j-u)*U(.5))+u);t=U(U(U(k-y)*U(.5))+y);h=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(N[g+32>>2]){o=R[g+36>>2];m=R[g+40>>2];if(!(o==R[g+44>>2]&m==R[g+48>>2])){n=N[e+16>>2];i=N[e+32>>2];if(i){i=N[i+4>>2]}else{i=0}Qa[n|0](e,h,b,o,m,i)}n=N[e+28>>2];i=N[e+32>>2];if(i){i=N[i+16>>2]}else{i=0}Qa[n|0](e,h,b,i);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=s;R[g+44>>2]=t;break s}dj(e,h,b,U(U(s*R[g+16>>2])+t),s);break s}u:{v:{w:{if(e&255){if(h){i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[h+12>>2];q=R[g+44>>2];x=R[g+48>>2];e=N[h+32>>2];if(e){e=N[e>>2]}else{e=0}Qa[l|0](h,i,b,q,x,e);N[g+32>>2]=1;e=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=e}A=N[h+20>>2];e=0;l=N[h+32>>2];if(l){l=N[l+8>>2]}else{l=0}Qa[A|0](h,i,b,o,m,k,j,l);R[g+48>>2]=j;R[g+44>>2]=k;o=U(0);m=U(0);break u}q=R[g+16>>2];Ke(h,i,b,U(U(m*q)+o),m,U(U(j*q)+k),j);o=U(0);e=0;m=U(0);break u}q=U(U(U(j-m)*U(.5))+m);x=U(U(U(k-o)*U(.5))+o);h=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[e+12>>2];F=R[g+44>>2];H=R[g+48>>2];i=N[e+32>>2];if(i){i=N[i>>2]}else{i=0}Qa[l|0](e,h,b,F,H,i);N[g+32>>2]=1;i=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=i}l=N[e+20>>2];i=N[e+32>>2];if(i){i=N[i+8>>2]}else{i=0}Qa[l|0](e,h,b,o,m,x,q,i);R[g+48>>2]=q;R[g+44>>2]=x;e=1;break w}F=R[g+16>>2];Ke(e,h,b,U(U(m*F)+o),m,U(U(q*F)+x),q);e=1;break w}e=1;if(h){break v}}o=k;m=j;break u}i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[h+12>>2];q=R[g+44>>2];x=R[g+48>>2];e=N[h+32>>2];if(e){e=N[e>>2]}else{e=0}Qa[l|0](h,i,b,q,x,e);N[g+32>>2]=1;e=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=e}A=N[h+16>>2];e=0;l=N[h+32>>2];if(l){l=N[l+4>>2]}else{l=0}Qa[A|0](h,i,b,k,j,l);R[g+48>>2]=j;R[g+44>>2]=k;break u}cq(h,i,b,U(U(j*R[g+16>>2])+k),j);e=0}k=s;j=t;break r}if(!O[f+9|0]){n=0;v=1;y=k;u=j;break h}n=0;if(e&255){u=j;y=k;break q}e=N[g+28>>2];f=N[g+24>>2];if(O[g+20|0]){break m}break l}e=1;o=k;m=j;n=1;k=t;j=s}if(!O[f+9|0]){s=k;t=j;break h}if(!v){break o}t=j;s=k;if(!(e&255)){break p}}j=U(U(U(u-m)*U(.5))+m);k=U(U(U(y-o)*U(.5))+o);f=N[g+28>>2];e=N[g+24>>2];x:{if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];q=R[g+44>>2];x=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,q,x,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}i=N[e+20>>2];h=N[e+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](e,f,b,o,m,k,j,h);R[g+48>>2]=j;R[g+44>>2]=k;break x}q=R[g+16>>2];Ke(e,f,b,U(U(m*q)+o),m,U(U(j*q)+k),j)}j=t;k=s}e=N[g+28>>2];f=N[g+24>>2];h=O[g+20|0];if(!n){break n}if(h){if(!N[g+32>>2]){i=N[f+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[f+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](f,e,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}i=N[f+20>>2];h=N[f+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](f,e,b,y,u,k,j,h);break j}m=R[g+16>>2];Ke(f,e,b,U(U(u*m)+y),u,U(U(j*m)+k),j);break i}if(e&255){if(!n){break i}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];s=R[g+44>>2];t=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,s,t,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+20>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,o,m,k,j,0);break j}Qa[h|0](e,f,b,o,m,k,j,N[i+8>>2]);break j}u=R[g+16>>2];Ke(e,f,b,U(U(m*u)+o),m,U(U(j*u)+k),j);break i}if(!n){break i}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+16>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,k,j,0);break j}Qa[h|0](e,f,b,k,j,N[i+4>>2]);break j}cq(e,f,b,U(U(j*R[g+16>>2])+k),j);break i}j=u;k=y;if(!h){break l}}if(N[g+32>>2]){o=R[g+36>>2];m=R[g+40>>2];if(!(o==R[g+44>>2]&m==R[g+48>>2])){i=N[f+16>>2];h=N[f+32>>2];if(h){h=N[h+4>>2]}else{h=0}Qa[i|0](f,e,b,o,m,h)}i=N[f+28>>2];h=N[f+32>>2];if(h){h=N[h+16>>2]}else{h=0}Qa[i|0](f,e,b,h);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=j;R[g+44>>2]=k;break k}dj(f,e,b,U(U(j*R[g+16>>2])+k),j)}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+20>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,k,j,k,j,0);break j}Qa[h|0](e,f,b,k,j,k,j,N[i+8>>2]);break j}k=U(U(j*R[g+16>>2])+k);Ke(e,f,b,k,j,k,j);break i}R[g+48>>2]=j;R[g+44>>2]=k}if(N[g+32>>2]){f=N[g+28>>2];e=N[g+24>>2];k=R[g+36>>2];j=R[g+40>>2];if(!(k==R[g+44>>2]&j==R[g+48>>2])){i=N[e+16>>2];h=N[e+32>>2];if(h){h=N[h+4>>2]}else{h=0}Qa[i|0](e,f,b,k,j,h)}i=N[e+28>>2];h=N[e+32>>2];if(h){h=N[h+16>>2]}else{h=0}Qa[i|0](e,f,b,h)}N[b>>2]=0;N[b+4>>2]=0;e=0;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;o=U(0);m=U(0);v=0;y=U(0);u=U(0);n=0;s=U(0);t=U(0)}d=d+1|0;if((E|0)!=(d|0)){continue}break}_a(N[g+4552>>2]);if(!w){break c}break b}ba(19169,14261,202,9940);B()}_a(N[g+4552>>2])}if(jj(Kg(N[a+24>>2]+112|0),a,c,g+16|0,0,0)){break b}e=N[a+24>>2];d=N[e+116>>2];y:{if(d){break y}while(1){d=N[e+48>>2];if(!d){d=275552;break y}f=db(1,132);if(!f){d=275552;N[e+116>>2]=275552;break y}d=bq(f,d);if(!N[e+116>>2]){N[e+116>>2]=d;break y}_a(lj(d));d=N[e+116>>2];if(!d){continue}break}}if(!N[d+44>>2]|Q[d+128>>2]<=c>>>0){break b}e=lq(N[d+96>>2],c);be(g+4544|0,N[d+88>>2],c);v=e>>>0>=Q[d+120>>2]?275552:N[d+124>>2]+T(e,28)|0;f=N[v+20>>2];n=N[a+84>>2];l=N[a+88>>2];h=N[d+80>>2];L[g+112|0]=0;C(g+116|0,0,4108);c=g+4288|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4296>>2]=0;c=g+4308|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4316>>2]=0;c=g+4328|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4336>>2]=0;c=g+4348|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4356>>2]=0;c=g+4368|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4376>>2]=0;c=g+4388|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4396>>2]=0;N[g+4416>>2]=0;c=g+4408|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4436>>2]=0;c=g+4428|0;N[c>>2]=0;N[c+4>>2]=0;L[g+4260|0]=0;N[g+104>>2]=0;c=N[g+4548>>2];e=N[g+4544>>2];N[g+96>>2]=e;N[g+100>>2]=c;N[g+4456>>2]=0;i=g+4448|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4272|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4264|0;N[i>>2]=0;N[i+4>>2]=0;N[g+4240>>2]=0;i=g+4232|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4496|0;N[i>>2]=0;N[i+4>>2]=0;N[g+4472>>2]=h;N[g+4224>>2]=e;N[g+4228>>2]=c;N[g+4256>>2]=0;N[g+4248>>2]=0;N[g+4252>>2]=0;L[g+4245|0]=1;L[g+4246|0]=0;N[g+4488>>2]=0;N[g+4492>>2]=0;e=107;i=107;z:{if(!h){break z}h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);i=107;if(h>>>0<1240){break z}i=h>>>0<33900?1131:32768}N[g+4480>>2]=f;N[g+4468>>2]=i;A:{if(!f){break A}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0<1240){break A}e=f>>>0<33900?1131:32768}N[g+4508>>2]=n;N[g+4504>>2]=l;N[g+4476>>2]=e;d=N[d+84>>2];N[g+4532>>2]=0;N[g+4512>>2]=d;L[g+4537|0]=0;L[g+4538|0]=0;N[g+4524>>2]=0;N[g+4528>>2]=0;e=c;h=g+112|0;c=0;B:{if(!l){break B}c=0;if(!n){break B}c=(O[d|0]|O[d+1|0]<<8)!=0}L[g+4536|0]=c;N[g+4520>>2]=N[v+24>>2];L[g+4244|0]=0;N[g+84>>2]=a;N[g+80>>2]=g+16;E=g+120|0;z=1e4;d=0;while(1){C:{z=z-1|0;if(!z){N[g+104>>2]=e+1;break C}D:{E:{F:{G:{H:{I:{a=d+1|0;J:{if(a>>>0<=e>>>0){c=N[g+96>>2];f=O[c+d|0];N[g+104>>2]=a;if((f|0)==12){d=d+2|0;if(d>>>0>e>>>0){f=65535;break J}a=O[a+c|0];N[g+104>>2]=d;f=a|256}K:{switch(f-10|0){case 0:case 19:iq(f,g+96|0,g+80|0);break D;case 6:jq(g+96|0);a=N[g+116>>2];L:{if(a){e=a-1|0;N[g+116>>2]=e;p=S[(h+(e<<3)|0)+8>>3];break L}e=0;N[147456]=0;N[147457]=0;L[g+112|0]=1;p=0}n=N[g+4516>>2];if(V(p)<2147483648){a=~~p}else{a=-2147483648}if((a|0)<0){break I}i=T(n^-1,a)+e|0;if(i>>>0>e>>>0){break G}if(!a){a=0;break E}if(!O[g+4536|0]){d=0;if((a|0)!=1){c=a&1;l=a&-2;while(1){f=d+i|0;M:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break M}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;f=i+(d|1)|0;N:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break N}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;d=d+2|0;if((l|0)!=(d|0)){continue}break}if(!c){break E}}c=d+i|0;if(c>>>0>>0){break H}N[147456]=0;N[147457]=0;L[g+112|0]=1;S[73728]=0;break E}f=N[g+4528>>2];if(!f){break F}A=a+i|0;v=N[g+4532>>2];c=f&-2;I=f&1;l=0;while(1){d=A+T(l,n)|0;r=513-d|0;r=r>>>0<=513?r:0;r=n>>>0>r>>>0?r:n;w=i+l|0;O:{if(w>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;w=589824;p=0;break O}w=(h+(w<<3)|0)+8|0;p=S[w>>3]}D=0;P:{if((f|0)!=(r|0)){break P}r=E+(d<<3)|0;d=0;if((f|0)!=1){while(1){G=d|1;D=+R[v+(G<<2)>>2]*S[r+(G<<3)>>3]+(+R[v+(d<<2)>>2]*S[r+(d<<3)>>3]+D);d=d+2|0;if((c|0)!=(d|0)){continue}break}d=c;if(!I){break P}}D=+R[v+(d<<2)>>2]*S[r+(d<<3)>>3]+D}S[w>>3]=p+D;l=l+1|0;if((l|0)!=(a|0)){continue}break};break E;case 5:break K;default:break J}}a=N[g+116>>2];Q:{if(!a){d=0;N[147456]=0;N[147457]=0;L[g+112|0]=1;break Q}p=S[h+(a<<3)>>3];R:{if(V(p)<2147483648){d=~~p;break R}d=-2147483648}if((d|0)>=0){break Q}L[g+112|0]=1;d=0}S:{if(O[g+4537|0]|O[g+4538|0]){N[g+104>>2]=e+1;break S}N[g+4520>>2]=d}N[g+116>>2]=0;L[g+4537|0]=1;break D}f=N[g+4264>>2]?11:14}iq(f,g+96|0,g+80|0);break D}L[g+112|0]=1;a=0;break E}c=h+(c<<3)|0;S[c+8>>3]=S[c+8>>3]+0;break E}N[g+104>>2]=N[g+100>>2]+1;break D}d=0;if((a|0)!=1){c=a&1;l=a&-2;while(1){f=d+i|0;T:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break T}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;f=i+(d|1)|0;U:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break U}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;d=d+2|0;if((l|0)!=(d|0)){continue}break}if(!c){break E}}c=d+i|0;V:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;d=589824;p=0;break V}d=(h+(c<<3)|0)+8|0;p=S[d>>3]+0}S[d>>3]=p}a=T(a,n);if(a>>>0<=e>>>0){N[g+116>>2]=e-a;break D}L[g+112|0]=1}if(O[g+4260|0]){break C}d=N[g+104>>2];e=N[g+100>>2];if(O[g+112|0]|d>>>0>e>>>0){break C}if(!O[g+4244|0]){continue}}break}if(N[g+4528>>2]){N[g+4528>>2]=0}_a(N[g+4532>>2])}if(N[g+32>>2]){c=N[g+28>>2];a=N[g+24>>2];k=R[g+36>>2];j=R[g+40>>2];if(!(k==R[g+44>>2]&j==R[g+48>>2])){e=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](a,c,b,k,j,d)}e=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](a,c,b,d)}La=g+4560|0}function Pv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0;g=La-384|0;La=g;N[b>>2]=1;f=N[b+136>>2];a:{if(!f){d=11;e=N[N[b+96>>2]+4>>2];if(!e){break a}f=N[e+16>>2];if((f|0)<=0){break a}e=e+20|0;f=e+(f<<2)|0;while(1){i=N[N[e>>2]>>2];if(cb(N[i+8>>2],7988)){e=e+4|0;if(f>>>0>e>>>0){continue}break a}break}f=N[i+20>>2];if(!f){break a}N[b+136>>2]=f}if(!N[b+320>>2]){e=N[N[b+96>>2]+4>>2];b:{if(!e){d=0;break b}d=0;i=N[e+16>>2];if((i|0)<=0){break b}e=e+20|0;i=e+(i<<2)|0;while(1){l=N[N[e>>2]>>2];if(cb(N[l+8>>2],11971)){e=e+4|0;if(i>>>0>e>>>0){continue}break b}break}d=N[l+20>>2]}N[b+320>>2]=d}e=N[a+20>>2];if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}f=N[b+136>>2]}N[a+8>>2]=0;n=N[b+100>>2];N[g+108>>2]=0;h=N[b+104>>2];a=g+8|0;C(a,0,100);Qa[N[N[f+4>>2]>>2]](a,0,0,n);N[g+80>>2]=h;a=N[h+4>>2];k=N[h+8>>2];c:{d:{if(N[h+20>>2]){d=85;if(a>>>0<31){break c}e:{f:{a=N[h+28>>2];d=Qa[N[a+4>>2]](a,31)|0;if(d){N[h>>2]=d;i=Qa[N[h+20>>2]](h,N[h+8>>2],d,31)|0;e=N[h>>2];if(i>>>0<=30){break f}d=0;break e}N[h>>2]=0;d=64;break c}if(e){Qa[N[a+8>>2]](a,e)}e=0;N[h>>2]=0;d=85}N[h+32>>2]=e;N[h+36>>2]=e?e+31|0:0;N[h+8>>2]=i+N[h+8>>2];f=e;if(i>>>0>=31){break d}break c}d=85;if(a-k>>>0<31|a>>>0<=k>>>0){break c}N[h+8>>2]=k+31;e=N[h>>2];f=k+e|0;N[h+32>>2]=f;N[h+36>>2]=f+31}a=bb(f,9128,31);if(N[h+20>>2]){if(e){d=N[h+28>>2];Qa[N[d+8>>2]](d,e)}N[h>>2]=0}N[h+32>>2]=0;N[h+36>>2]=0;if(a){d=2;break c}f=N[h+8>>2];o=g+84|0;l=g+112|9;g:{while(1){a=g+112|0;e=265;i=f;m=0;while(1){d=85;j=N[h+4>>2];if(j>>>0<=f>>>0){break c}j=j-f|0;j=e>>>0>>0?e:j;e=N[h+20>>2];h:{if(!e){F(a,N[h>>2]+f|0,j);N[h+8>>2]=f+j;break h}e=Qa[e|0](h,f,a,j)|0;N[h+8>>2]=e+f;if(e>>>0>>0){break c}}a=a+j|0;L[a|0]=0;i:{a=a-6|0;if(a>>>0>g+112>>>0){e=g+112|0;d=O[g+112|0];while(1){j:{if((d&255)!=83){break j}if(bb(e,18380,9)){break j}d=10;break i}k:{d=O[e+1|0];if((d|0)!=115){break k}if(bb(e,10023,6)){break k}d=7;break i}e=e+1|0;if((a|0)!=(e|0)){continue}break}}if(j+m>>>0<9){d=3;break c}a=j+(g+m|0)|0;d=O[a+103|0]|O[a+104|0]<<8|(O[a+105|0]<<16|O[a+106|0]<<24);e=O[a+107|0]|O[a+108|0]<<8|(O[a+109|0]<<16|O[a+110|0]<<24);L[g+120|0]=O[a+111|0];N[g+112>>2]=d;N[g+116>>2]=e;e=256;i=i+256|0;f=N[h+8>>2];m=9;a=l;continue}break}l:{a=N[h+20>>2];if(a){if(!(Qa[a|0](h,k,0,0)|0)){break l}d=85;break c}if(k>>>0<=Q[h+4>>2]){break l}d=85;break c}N[h+8>>2]=k;f=((i-(g+112|0)|0)+e|0)+d|0;e=f-k|0;d=fc(h,e,o);if(d){break c}N[g+92>>2]=f;a=N[g+84>>2];N[g+12>>2]=a;N[g+104>>2]=-1;N[g+8>>2]=a;N[g+88>>2]=e;N[g+16>>2]=a+e;d=g+8|0;Qa[N[g+40>>2]](d);Qa[N[g+36>>2]](d);e=N[g+8>>2];Qa[N[g+40>>2]](d);Qa[N[g+36>>2]](d);m:{d=N[g+8>>2];i=N[g+16>>2];j=i-6|0;n:{if(d>>>0<=j>>>0){m=i-9|0;while(1){i=e;e=d;d=N[g+20>>2];if(d){break c}o:{if(O[e|0]!=83|e>>>0>m>>>0){break o}if(bb(e,18380,9)){break o}if(bb(a,22540,5)){break g}a=Kb(i,0);if((a|0)>=0){break m}d=3;break c}p:{if(O[e+1|0]!=115){break p}if(bb(e,10023,6)){break p}d=2;break c}a=g+8|0;Qa[N[g+40>>2]](a);Qa[N[g+36>>2]](a);a=i;d=N[g+8>>2];if(j>>>0>=d>>>0){continue}break}if(!h){break n}}if(!N[h+20>>2]){break n}a=N[g+84>>2];if(!a){break n}d=N[h+28>>2];Qa[N[d+8>>2]](d,a)}N[g+84>>2]=0;q:{a=N[h+20>>2];if(a){if(!(Qa[a|0](h,f,0,0)|0)){break q}d=85;break c}if(Q[h+4>>2]>=f>>>0){break q}d=85;break c}N[h+8>>2]=f;continue}break}N[g+96>>2]=a}N[g+20>>2]=0;e=N[g+84>>2];j=e+N[g+88>>2]|0;N[g+16>>2]=j;i=b+164|0;l=b+312|0;h=b+196|0;k=b+140|0;q=j-1|0;r:while(1){N[g+8>>2]=e;Qa[N[g+36>>2]](g+8|0);a=N[g+8>>2];d=(a>>>0>>0?a:q)-17|0;if(d>>>0>e>>>0){f=N[g+104>>2];while(1){s:{if(O[e|0]!=37){break s}if(bb(e,9603,17)|N[b+300>>2]<=0){break s}f=f+1|0;N[g+104>>2]=f}e=e+1|0;if((d|0)!=(e|0)){continue}break}}t:{if(a>>>0>=j>>>0){break t}Qa[N[g+40>>2]](g+8|0);e=N[g+8>>2];if(N[g+20>>2]|j>>>0<=e>>>0){break t}if(O[a|0]!=47|j>>>0<=a+2>>>0){continue}o=a+1|0;if((o|0)==(e|0)){continue}m=e-o|0;if(m>>>0>21){continue}p=O[o|0];d=34672;a=15898;u:{if(m>>>0>=2){while(1){f=d;v:{if((p|0)!=O[a|0]){break v}d=1;if((nb(a)|0)!=(m|0)){break v}while(1){if(O[d+o|0]!=O[a+d|0]){break v}d=d+1|0;if((m|0)!=(d|0)){continue}break}d=f;break u}d=f+36|0;a=N[f+36>>2];if(a){continue}continue r}}while(1){if((p|0)==O[a|0]){if((nb(a)|0)==(m|0)){break u}}a=N[d+36>>2];d=d+36|0;if(a){continue}break}continue}e=N[d+8>>2];w:{if((e|0)==11){Qa[N[d+12>>2]](b,g+8|0);d=N[g+20>>2];break w}a=k;x:{y:{z:{A:{switch(N[d+4>>2]){case 3:a=i;break z;case 2:a=l;break z;case 5:a=h;break z;case 0:break z;default:break A}}a=N[g+104>>2];if((a|0)<0|(a|0)>=N[b+300>>2]){break y}a=N[b+304>>2]+T(a,252)|0}N[g+112>>2]=a;if(e-9>>>0>1){break x}d=Qa[N[g+76>>2]](g+8|0,d,g+112|0,0,0)|0;break w}d=160;N[g+20>>2]=160;break c}d=Qa[N[g+72>>2]](g+8|0,d,g+112|0,0,0)|0}N[g+20>>2]=d;if(d){break c}e=N[g+8>>2];continue}break}if(!N[b+300>>2]){d=3;break c}d=N[g+20>>2];if(d|(c|0)<0){break c}B:{d=Qa[N[n+4>>2]](n,40)|0;if(d){L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+32|0]=0;L[d+33|0]=0;L[d+34|0]=0;L[d+35|0]=0;L[d+36|0]=0;L[d+37|0]=0;L[d+38|0]=0;L[d+39|0]=0;L[d+24|0]=0;L[d+25|0]=0;L[d+26|0]=0;L[d+27|0]=0;L[d+28|0]=0;L[d+29|0]=0;L[d+30|0]=0;L[d+31|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;N[b+328>>2]=d;a=N[b+104>>2];f=N[g+96>>2];C:{if(f){i=N[g+92>>2];d=N[a+4>>2]-i|0;if(d>>>0>>0){N[g+96>>2]=d;f=d}D:{E:{if((f|0)>0){e=Qa[N[n+4>>2]](n,f)|0;if(e){break E}d=64;break B}d=6;if(f){break B}e=0;d=0;break D}a=N[b+104>>2];i=N[g+92>>2];d=N[g+96>>2]}N[b+324>>2]=e;f=La-256|0;La=f;k=a;h=N[a+20>>2];F:{G:{if(h){l=85;a=e;if(!(Qa[h|0](k,i,0,0)|0)){break G}break F}l=85;a=e;if(Q[k+4>>2]>>0){break F}}N[k+8>>2]=i;if((d|0)<=0){a=e}else{o=d+e|0;j=1;i=e;d=f;n=d;while(1){a=i;H:{I:{J:{while(1){if(d>>>0>=n>>>0){d=N[k+4>>2];i=N[k+8>>2];if((d|0)==(i|0)){l=160;break F}l=85;if(d>>>0<=i>>>0){break F}d=d-i|0;d=d>>>0>=256?256:d;h=N[k+20>>2];K:{if(!h){F(f,i+N[k>>2]|0,d);N[k+8>>2]=d+i;h=d;break K}h=Qa[h|0](k,i,f,d)|0;N[k+8>>2]=i+h;if(d>>>0>h>>>0){break F}}n=f+h|0;d=f}i=O[d|0];h=i-48|0;if(h>>>0<10){break I}if((i-97&255)>>>0>=6){if((i-65&255)>>>0<6){break J}h=0;l=160;m=0;L:{switch(i|0){case 62:break H;case 0:case 9:case 10:case 12:case 13:case 32:break L;default:break F}}d=d+1|0;continue}break}h=i-87|0;break I}h=i-55|0}m=1}M:{if(j&255){h=h<<4;i=a;break M}h=O[a|0]+h|0;i=a+1|0}L[a|0]=h;d=d+1|0;j=1-j|0;if(i>>>0>>0&m){continue}break}a=i}l=0}N[g+112>>2]=a-e;La=f+256|0;d=l;if(d){break c}d=N[b+324>>2];e=N[g+112>>2];a=N[b+328>>2];N[a+32>>2]=0;N[a+8>>2]=0;N[a+4>>2]=e;N[a>>2]=d;N[a+20>>2]=0;N[a+24>>2]=0;a=0;break C}e=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=e;e=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=e;e=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=e;e=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=e;e=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=e;a=N[g+92>>2]}N[b+308>>2]=a;i=N[b+288>>2];if((i|0)<0){d=3;break c}l=N[b+292>>2];if((l|0)<=0){d=3;break c}if(i>>>0>4){d=3;break c}if(l>>>0>4){d=3;break c}e=N[N[b+328>>2]+4>>2]-a|0;k=N[b+300>>2];if((k|0)>0){j=N[b+304>>2];d=0;while(1){a=j+T(d,252)|0;if(Q[a+112>>2]>=1001){N[a+112>>2]=7}if(Q[a+116>>2]>=1001){N[a+116>>2]=1}f=N[a+248>>2];if((f|0)<0){d=3;break c}h=N[a+240>>2];if(!f&(h|0)!=0){d=3;break c}if(f>>>0>4){d=3;break c}a=N[a+244>>2];if(a>>>0>e>>>0){d=3;break c}if((h|0)<0){d=3;break c}if(!(!f|h>>>0<=(e-a>>>0)/(f>>>0)>>>0)){d=3;break c}d=d+1|0;if((k|0)!=(d|0)){continue}break}}a=N[b+284>>2];if(a>>>0>e>>>0){d=3;break c}d=3;if(Q[b+296>>2]>(e-a>>>0)/(i+l>>>0)>>>0){break c}l=0;m=0;N:{O:{d=N[b+300>>2];if((d|0)<0){a=6;break O}t=N[b+136>>2];j=N[b+328>>2];o=N[b+100>>2];P:{Q:{R:{S:{T:{U:{V:{W:{if(d){a=10;if((d|0)>268435455){break O}a=d<<3;l=Qa[N[o+4>>2]](o,a)|0;if(!l|(d|0)<=0){break W}C(l,0,a)}N[b+316>>2]=l;h=b+316|0;break V}N[b+316>>2]=l;if(!l){break U}h=b+316|0}a=0;n=N[b+300>>2];if((n|0)<=0){break N}while(1){d=N[b+304>>2]+T(u,252)|0;p=N[d+240>>2];if(p){w=N[d+4>>2];q=p+1|0;X:{if(q>>>0<=a>>>0){e=a;break X}e=(p&-4)+4|0;if(e>>>0<=a>>>0){f=160;break Q}if((a|e)<0){f=6;break Q}if((e|0)>536870911){f=10;break Q}f=e<<2;Y:{if(!a){m=Qa[N[o+4>>2]](o,f)|0;f=!m<<6;break Y}f=Qa[N[o+12>>2]](o,a<<2,f,m)|0;m=f?f:m;f=!f<<6}if(!(f|(a|0)>=(e|0)|!m)){C((a<<2)+m|0,0,e-a<<2);break X}if(f){break Q}}a=N[d+244>>2]+N[b+308>>2]|0;Z:{f=N[j+20>>2];if(f){if(!(Qa[f|0](j,a,0,0)|0)){break Z}f=85;break Q}if(a>>>0<=Q[j+4>>2]){break Z}f=85;break Q}N[j+8>>2]=a;f=Bb(j,T(q,N[d+248>>2]));if(f){break Q}a=N[d+248>>2];r=a&255;_:{if(!r){d=0;while(1){N[(d<<2)+m>>2]=0;d=d+1|0;if(p>>>0>=d>>>0){continue}break}break _}v=a&3;f=N[j+32>>2];k=f+(a+252&252)|0;i=k+4|0;s=0;while(1){d=f;a=0;if(r>>>0>=4){d=i;a=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}n=0;if(v){while(1){a=O[d|0]|a<<8;d=d+1|0;n=n+1|0;if((n&255)!=(v|0)){continue}break}}N[(s<<2)+m>>2]=a;i=i+r|0;k=k+r|0;f=f+r|0;s=s+1|0;if(p>>>0>=s>>>0){continue}break}}if(N[j+20>>2]){a=N[j>>2];if(a){d=N[j+28>>2];Qa[N[d+8>>2]](d,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;d=1;k=N[m>>2];a=k;while(1){f=3;i=a;a=N[(d<<2)+m>>2];if(i>>>0>a>>>0){break Q}d=d+1|0;if(p>>>0>=d>>>0){continue}break}a=N[(p<<2)+m>>2];if(a>>>0>N[j+4>>2]-N[b+308>>2]>>>0){break Q}if((q|0)<0){f=6;break S}if((q|0)>536870911){f=10;break S}f=q<<2;d=Qa[N[o+4>>2]](o,f)|0;$:{if(!(!d|p>>>0>2147483646)){C(d,0,f);N[l+4>>2]=d;break $}N[l+4>>2]=d;if(!d){break T}}aa:{i=a-k|0;if((i|0)>0){n=Qa[N[o+4>>2]](o,i)|0;d=N[l+4>>2];if(n){break aa}f=64;break R}n=0;if((a|0)==(k|0)){break aa}f=6;break R}N[d>>2]=n;a=N[m>>2]+N[b+308>>2]|0;ba:{ca:{d=N[j+20>>2];if(d){if(!(Qa[d|0](j,a,0,0)|0)){break ca}f=85;break Q}n=N[j+4>>2];if(a>>>0<=n>>>0){break ba}f=85;break Q}n=N[j+4>>2]}N[j+8>>2]=a;f=85;if(a>>>0>=n>>>0){break Q}d=N[N[l+4>>2]>>2];k=N[j+20>>2];da:{if(k){n=Qa[k|0](j,a,d,i)|0;break da}k=d;d=n-a|0;n=d>>>0>>0?d:i;F(k,a+N[j>>2]|0,n)}N[j+8>>2]=a+n;if(i>>>0>n>>>0){break Q}a=N[m>>2];d=1;while(1){f=d<<2;i=f+N[l+4>>2]|0;f=N[f+m>>2];N[i>>2]=N[i-4>>2]+(f-a|0);a=f;d=d+1|0;if(p>>>0>=d>>>0){continue}break}ea:{if((w|0)<0){break ea}a=p>>>0<=1?1:p;i=a&1;d=0;if(p>>>0>=2){k=a&-2;while(1){a=d<<2;n=a|4;f=n+m|0;Qa[N[t+16>>2]](N[a+N[l+4>>2]>>2],N[f>>2]-N[a+m>>2]|0,4330);d=d+2|0;Qa[N[t+16>>2]](N[n+N[l+4>>2]>>2],N[(d<<2)+m>>2]-N[f>>2]|0,4330);if((d|0)!=(k|0)){continue}break}}if(!i){break ea}d=d<<2;a=d+m|0;Qa[N[t+16>>2]](N[d+N[l+4>>2]>>2],N[a+4>>2]-N[a>>2]|0,4330)}N[l>>2]=p;n=N[b+300>>2];a=e}l=l+8|0;u=u+1|0;if((u|0)<(n|0)){continue}break}f=0;break P}a=!l<<6;break N}f=!d<<6;break Q}d=l+4|0}N[d>>2]=0}d=N[h>>2];if(!d){break P}if(N[b+300>>2]>0){a=0;while(1){i=a<<3;e=N[(i+d|0)+4>>2];fa:{if(!e){break fa}d=N[e>>2];if(d){Qa[N[o+8>>2]](o,d);e=N[(i+N[h>>2]|0)+4>>2]}N[e>>2]=0;d=N[h>>2];e=N[(i+d|0)+4>>2];if(!e){break fa}Qa[N[o+8>>2]](o,e);d=N[h>>2]}N[(d+i|0)+4>>2]=0;a=a+1|0;if((a|0)>2]){continue}break}}Qa[N[o+8>>2]](o,d);N[h>>2]=0}if(m){Qa[N[o+8>>2]](o,m)}a=f;break N}N[b+316>>2]=0}d=a;break c}N[b+328>>2]=0;d=64;break c}N[b+324>>2]=0}e=N[g+84>>2];if(e){a=N[g+80>>2];if(!(!a|!N[a+20>>2])){a=N[a+28>>2];Qa[N[a+8>>2]](a,e)}N[g+84>>2]=0}Qa[N[g+32>>2]](g+8|0);if(d|(c|0)<0){break a}d=6;if(c&65535){break a}N[b+36>>2]=0;N[b+4>>2]=0;N[b+16>>2]=N[b+296>>2];a=N[b+8>>2];N[b+8>>2]=a|2065;if(O[b+188|0]){N[b+8>>2]=a|2069}N[b+24>>2]=12199;a=N[b+176>>2];N[b+20>>2]=a;ga:{if(a){e=N[b+172>>2];if(!e){break ga}d=O[e|0];if(!d){break ga}while(1){d=d&255;c=O[a|0];ha:{if((d|0)==(c|0)){e=e+1|0;a=a+1|0;break ha}d=d-32|0;if(!(!d|(d|0)==13)){ia:{switch(c-32|0){case 0:case 13:a=a+1|0;break ha;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break ga;default:break ia}}if(c){break ga}N[b+24>>2]=e;break ga}e=e+1|0}d=O[e|0];if(d){continue}break}break ga}a=N[b+140>>2];if(!a){break ga}N[b+20>>2]=a}c=N[b+184>>2]!=0;N[b+12>>2]=c;a=N[b+180>>2];ja:{if(!a){break ja}if(cb(a,16733)){if(cb(a,13781)){break ja}}N[b+12>>2]=c|2}N[b+28>>2]=0;N[b+32>>2]=0;N[b+52>>2]=M[b+198>>1];a=M[b+202>>1];N[b+56>>2]=a;N[b+60>>2]=N[b+204>>2]+65535>>16;c=N[b+208>>2]+65535>>16;N[b- -64>>2]=c;d=P[b+68>>1];if(!d){M[b+68>>1]=1e3;d=1e3}M[b+72>>1]=a;M[b+70>>1]=c;N[b+80>>2]=P[b+190>>1]|P[b+192>>1]<<16;e=b;a=c-a|0;b=(T(d,12)>>>0)/10|0;M[e+74>>1]=(a|0)>b<<16>>16?a:b;d=0}La=g+384|0;return d|0}function Vj(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[a+4|0]|O[a+5|0]<<8;if(c){v=(c<<8|c>>>8)&65535;r=a+6|0;while(1){q=275552;c=O[r|0]|O[r+1|0]<<8;if(c){q=((c<<8|c>>>8)&65535)+a|0}c=O[q|0]|O[q+1|0]<<8;if(c){w=(c<<8|c>>>8)&65535;s=q+2|0;while(1){c=O[s|0]|O[s+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+q|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;l=(d<<8|d>>>8)&65535;A=(l<<1)+c|0;e=A;i=O[e+2|0]|O[e+3|0]<<8;p=(i<<8|i>>>8)&65535;t=(e+2|0)+(i?p<<1:2)|0;x=O[t|0]|O[t+1|0]<<8;u=(x<<8|x>>>8)&65535;y=(u<<1)+t|0;z=O[y+2|0]|O[y+3|0]<<8;if(d){n=c+2|0;g=N[b+8>>2];j=g+24|0;k=g+36|0;while(1){c=O[n|0]|O[n+1|0]<<8;m=(c<<8|c>>>8)&65535;c=O[g+12|0];a:{if(O[g+48|0]){if(!c){break a}e=N[g+20>>2];d=N[g+28>>2];c=m>>>9|0;i=N[g+32>>2];if(!(e>>>0>>0&(c|0)==N[i+(e<<3)>>2])){if((d|0)<=0){break a}d=d-1|0;f=0;while(1){b:{e=d+f>>>1|0;h=N[i+(e<<3)>>2];c:{if((h|0)>(c|0)){d=e-1|0;break c}if((c|0)==(h|0)){break b}f=e+1|0}if((d|0)>=(f|0)){continue}break a}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break a}d=N[(i+(e<<3)|0)+4>>2];N[g+16>>2]=-1;c=(c+(d<<6)|0)+(m>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,m)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break a}if(!c){break a}N[g+16>>2]=-1;o=m>>>9|0;c=N[g+32>>2];d:{e:{e=N[g+20>>2];d=N[g+28>>2];if(e>>>0>=d>>>0){break e}e=(e<<3)+c|0;if((o|0)!=N[e>>2]){break e}c=e+4|0;break d}i=N[g+40>>2];f:{g:{if((d|0)<=0){d=0;break g}f=d-1|0;d=0;while(1){e=d+f>>>1|0;h=N[(e<<3)+c>>2];h:{if((h|0)>(o|0)){f=e-1|0;break h}if((h|0)==(o|0)){d=e;break f}d=e+1|0}if((d|0)<=(f|0)){continue}break}}i:{j:{h=N[k>>2];k:{if((h|0)<0){break k}l:{m:{e=i;c=e+1|0;f=(c|0)>0?c:0;if(f>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(f>>>0>=h>>>0){continue}break}c=k;if(h>>>0>67108863){break m}e=$a(N[g+44>>2],h<<6);if(!e){break m}N[g+36>>2]=h;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,f-e<<6)}N[g+40>>2]=f;e=N[g+24>>2];if((e|0)<0){break l}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}c=j;if(e>>>0>536870911){break m}h=$a(N[g+32>>2],e<<3);if(!h){break m}N[g+24>>2]=e;N[g+32>>2]=h}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,f-c<<3)}N[g+28>>2]=f;c=N[g+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=d<<3;e=c+N[g+32>>2]|0;F(e+8|0,e,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break j}N[147456]=0;N[147457]=0;c=589824;break i}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break k}c=N[g+28>>2];c=(c|0)>0?c:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}n:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break n}}N[k>>2]=-1;L[g+12|0]=0;break a}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[g+12|0]=0;break a}c=c+N[g+32>>2]|0}N[c>>2]=o;N[c+4>>2]=i;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break a}c=(d+(N[c>>2]<<6)|0)+(m>>>3&56)|0;f=N[c+4>>2];i=m&63;e=i&31;d=c;d=c;h=N[c>>2];if((i&63)>>>0>=32){c=1<>>32-e}N[d>>2]=h|i;N[d+4>>2]=c|f}n=n+2|0;l=l-1|0;if(l){continue}break}}if(p>>>0>=2){n=A+4|0;l=p-1|0;g=N[b+12>>2];j=g+24|0;k=g+36|0;while(1){c=O[n|0]|O[n+1|0]<<8;m=(c<<8|c>>>8)&65535;c=O[g+12|0];o:{if(O[g+48|0]){if(!c){break o}e=N[g+20>>2];d=N[g+28>>2];c=m>>>9|0;i=N[g+32>>2];if(!(e>>>0>>0&(c|0)==N[i+(e<<3)>>2])){if((d|0)<=0){break o}d=d-1|0;f=0;while(1){p:{e=d+f>>>1|0;h=N[i+(e<<3)>>2];q:{if((h|0)>(c|0)){d=e-1|0;break q}if((c|0)==(h|0)){break p}f=e+1|0}if((d|0)>=(f|0)){continue}break o}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break o}d=N[(i+(e<<3)|0)+4>>2];N[g+16>>2]=-1;c=(c+(d<<6)|0)+(m>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,m)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break o}if(!c){break o}N[g+16>>2]=-1;o=m>>>9|0;c=N[g+32>>2];r:{s:{e=N[g+20>>2];d=N[g+28>>2];if(e>>>0>=d>>>0){break s}e=(e<<3)+c|0;if((o|0)!=N[e>>2]){break s}c=e+4|0;break r}i=N[g+40>>2];t:{u:{if((d|0)<=0){d=0;break u}f=d-1|0;d=0;while(1){e=d+f>>>1|0;h=N[(e<<3)+c>>2];v:{if((h|0)>(o|0)){f=e-1|0;break v}if((h|0)==(o|0)){d=e;break t}d=e+1|0}if((d|0)<=(f|0)){continue}break}}w:{x:{h=N[k>>2];y:{if((h|0)<0){break y}z:{A:{e=i;c=e+1|0;f=(c|0)>0?c:0;if(f>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(f>>>0>=h>>>0){continue}break}c=k;if(h>>>0>67108863){break A}e=$a(N[g+44>>2],h<<6);if(!e){break A}N[g+36>>2]=h;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,f-e<<6)}N[g+40>>2]=f;e=N[g+24>>2];if((e|0)<0){break z}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}c=j;if(e>>>0>536870911){break A}h=$a(N[g+32>>2],e<<3);if(!h){break A}N[g+24>>2]=e;N[g+32>>2]=h}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,f-c<<3)}N[g+28>>2]=f;c=N[g+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=d<<3;e=c+N[g+32>>2]|0;F(e+8|0,e,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break x}N[147456]=0;N[147457]=0;e=589824;break w}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break y}c=N[g+28>>2];c=(c|0)>0?c:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}B:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break B}}N[k>>2]=-1;L[g+12|0]=0;break o}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[g+12|0]=0;break o}e=c+N[g+32>>2]|0}N[e>>2]=o;N[e+4>>2]=i;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break o}c=(d+(N[c>>2]<<6)|0)+(m>>>3&56)|0;f=N[c+4>>2];e=m&63;d=e&31;if((e&63)>>>0>=32){i=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=f|i}n=n+2|0;l=l-1|0;if(l){continue}break}}if(x){n=t+2|0;j=N[b+16>>2];k=j+24|0;l=j+36|0;while(1){c=O[n|0]|O[n+1|0]<<8;g=(c<<8|c>>>8)&65535;c=O[j+12|0];C:{if(O[j+48|0]){if(!c){break C}e=N[j+20>>2];d=N[j+28>>2];c=g>>>9|0;i=N[j+32>>2];if(!(e>>>0>>0&(c|0)==N[i+(e<<3)>>2])){if((d|0)<=0){break C}d=d-1|0;f=0;while(1){D:{e=d+f>>>1|0;h=N[i+(e<<3)>>2];E:{if((h|0)>(c|0)){d=e-1|0;break E}if((c|0)==(h|0)){break D}f=e+1|0}if((d|0)>=(f|0)){continue}break C}break}N[j+20>>2]=e}c=N[j+44>>2];if(!c){break C}d=N[(i+(e<<3)|0)+4>>2];N[j+16>>2]=-1;c=(c+(d<<6)|0)+(g>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,g)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break C}if(!c){break C}N[j+16>>2]=-1;m=g>>>9|0;c=N[j+32>>2];F:{G:{e=N[j+20>>2];d=N[j+28>>2];if(e>>>0>=d>>>0){break G}e=(e<<3)+c|0;if((m|0)!=N[e>>2]){break G}c=e+4|0;break F}i=N[j+40>>2];H:{I:{if((d|0)<=0){d=0;break I}f=d-1|0;d=0;while(1){e=d+f>>>1|0;h=N[(e<<3)+c>>2];J:{if((h|0)>(m|0)){f=e-1|0;break J}if((h|0)==(m|0)){d=e;break H}d=e+1|0}if((d|0)<=(f|0)){continue}break}}K:{L:{h=N[l>>2];M:{if((h|0)<0){break M}N:{O:{e=i;c=e+1|0;f=(c|0)>0?c:0;if(f>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(f>>>0>=h>>>0){continue}break}c=l;if(h>>>0>67108863){break O}e=$a(N[j+44>>2],h<<6);if(!e){break O}N[j+36>>2]=h;N[j+44>>2]=e;e=N[j+40>>2]}if(e>>>0>>0){C(N[j+44>>2]+(e<<6)|0,0,f-e<<6)}N[j+40>>2]=f;e=N[j+24>>2];if((e|0)<0){break N}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}c=k;if(e>>>0>536870911){break O}h=$a(N[j+32>>2],e<<3);if(!h){break O}N[j+24>>2]=e;N[j+32>>2]=h}c=N[j+28>>2];if(c>>>0>>0){C(N[j+32>>2]+(c<<3)|0,0,f-c<<3)}N[j+28>>2]=f;c=N[j+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=d<<3;e=c+N[j+32>>2]|0;F(e+8|0,e,N[j+28>>2]+(d^-1)<<3);if(Q[j+28>>2]>d>>>0){break L}N[147456]=0;N[147457]=0;c=589824;break K}N[c>>2]=-1}f=N[j+36>>2];if((f|0)<0){break M}c=N[j+28>>2];c=(c|0)>0?c:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}P:{if(f>>>0<=67108863){d=$a(N[j+44>>2],f<<6);if(d){break P}}N[l>>2]=-1;L[j+12|0]=0;break C}N[j+36>>2]=f;N[j+44>>2]=d}d=N[j+40>>2];if(d>>>0>>0){C(N[j+44>>2]+(d<<6)|0,0,c-d<<6)}N[j+40>>2]=c}L[j+12|0]=0;break C}c=c+N[j+32>>2]|0}N[c>>2]=m;N[c+4>>2]=i;c=N[j+32>>2]}N[j+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[j+44>>2];if(!d){break C}c=(d+(N[c>>2]<<6)|0)+(g>>>3&56)|0;f=N[c+4>>2];e=g&63;d=e&31;if((e&63)>>>0>=32){i=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=f|i}n=n+2|0;u=u-1|0;if(u){continue}break}}if(z){m=(z<<8|z>>>8)&65535;o=y+4|0;n=0;while(1){k=N[b+32>>2];Q:{if(!k|!N[b+24>>2]|N[b+20>>2]==275552){break Q}c=o+(n<<2)|0;c=O[c+2|0]|O[c+3|0]<<8;g=(c<<8|c>>>8)&65535;j=g>>>9|0;c=N[b+28>>2];l=N[c+32>>2];R:{S:{T:{d=N[c+20>>2];i=N[c+28>>2];if(d>>>0>=i>>>0){break T}d=l+(d<<3)|0;if((j|0)!=N[d>>2]){break T}e=d+4|0;break S}d=0;if((i|0)<=0){break R}f=i-1|0;e=0;U:{while(1){d=e+f>>>1|0;h=l+(d<<3)|0;p=N[h>>2];V:{if((p|0)>(j|0)){f=d-1|0;break V}if((j|0)==(p|0)){break U}e=d+1|0}if((e|0)<=(f|0)){continue}break}d=0;break R}N[c+20>>2]=d;e=(d>>>0>=i>>>0?275552:h)+4|0}i=N[c+44>>2];d=0;if(!i){break R}d=(i+(N[e>>2]<<6)|0)+(g>>>3&56)|0;f=N[d>>2];i=N[d+4>>2];e=g&63;d=e&31;d=((e&63)>>>0>=32?i>>>d|0:((1<>>d)&1}if((d|0)!=O[c+48|0]){break Q}c=N[b+16>>2];N[b+16>>2]=275552;d=N[b+8>>2];e=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=k-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,g);N[b+16>>2]=c;N[b+8>>2]=d;N[b+12>>2]=e;N[b+32>>2]=N[b+32>>2]+1;k=N[b+28>>2];c=O[k+12|0];if(O[k+48|0]){if(!c){break Q}d=N[k+20>>2];e=N[k+28>>2];c=N[k+32>>2];if(!(d>>>0>>0&(j|0)==N[c+(d<<3)>>2])){if((e|0)<=0){break Q}f=e-1|0;e=0;while(1){W:{d=e+f>>>1|0;i=N[c+(d<<3)>>2];X:{if((i|0)>(j|0)){f=d-1|0;break X}if((j|0)==(i|0)){break W}e=d+1|0}if((e|0)<=(f|0)){continue}break Q}break}N[k+20>>2]=d}e=N[k+44>>2];if(!e){break Q}c=N[(c+(d<<3)|0)+4>>2];N[k+16>>2]=-1;c=(e+(c<<6)|0)+(g>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,g)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break Q}if(!c){break Q}N[k+16>>2]=-1;c=N[k+32>>2];Y:{Z:{e=N[k+20>>2];d=N[k+28>>2];if(e>>>0>=d>>>0){break Z}e=(e<<3)+c|0;if((j|0)!=N[e>>2]){break Z}c=e+4|0;break Y}i=N[k+40>>2];_:{$:{if((d|0)<=0){f=0;break $}e=d-1|0;f=0;while(1){d=e+f>>>1|0;l=N[(d<<3)+c>>2];aa:{if((l|0)>(j|0)){e=d-1|0;break aa}if((j|0)==(l|0)){f=d;break _}f=d+1|0}if((e|0)>=(f|0)){continue}break}}ba:{ca:{c=k+36|0;h=N[c>>2];da:{if((h|0)<0){break da}ea:{fa:{d=i;e=d+1|0;e=(e|0)>0?e:0;if(e>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(e>>>0>=h>>>0){continue}break}l=c;if(h>>>0>67108863){break fa}d=$a(N[k+44>>2],h<<6);if(!d){break fa}N[k+36>>2]=h;N[k+44>>2]=d;d=N[k+40>>2]}if(d>>>0>>0){C(N[k+44>>2]+(d<<6)|0,0,e-d<<6)}N[k+40>>2]=e;l=k+24|0;d=N[l>>2];if((d|0)<0){break ea}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break fa}h=$a(N[k+32>>2],d<<3);if(!h){break fa}N[k+24>>2]=d;N[k+32>>2]=h}c=N[k+28>>2];if(c>>>0>>0){C(N[k+32>>2]+(c<<3)|0,0,e-c<<3)}N[k+28>>2]=e;c=N[k+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=f<<3;d=c+N[k+32>>2]|0;F(d+8|0,d,N[k+28>>2]+(f^-1)<<3);if(Q[k+28>>2]>f>>>0){break ca}N[147456]=0;N[147457]=0;d=589824;break ba}N[l>>2]=-1}f=N[k+36>>2];if((f|0)<0){break da}d=N[k+28>>2];d=(d|0)>0?d:0;if(d>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(d>>>0>=f>>>0){continue}break}ga:{if(f>>>0<=67108863){e=$a(N[k+44>>2],f<<6);if(e){break ga}}N[c>>2]=-1;L[k+12|0]=0;break Q}N[k+36>>2]=f;N[k+44>>2]=e}c=N[k+40>>2];if(c>>>0>>0){C(N[k+44>>2]+(c<<6)|0,0,d-c<<6)}N[k+40>>2]=d}L[k+12|0]=0;break Q}d=c+N[k+32>>2]|0}N[d>>2]=j;N[d+4>>2]=i;c=N[k+32>>2]}N[k+20>>2]=f;c=((f<<3)+c|0)+4|0}d=N[k+44>>2];if(!d){break Q}c=(d+(N[c>>2]<<6)|0)+(g>>>3&56)|0;f=N[c+4>>2];e=g&63;d=e&31;if((e&63)>>>0>=32){i=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=f|i}n=n+1|0;if((m|0)!=(n|0)){continue}break}}s=s+2|0;w=w-1|0;if(w){continue}break}}r=r+2|0;v=v-1|0;if(v){continue}break}}}function zC(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0;f=La-26336|0;La=f;S=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{d=N[b+40>>2];b:{if(!d){break b}c=d+(N[b+36>>2]<<2)|0;i=c-4|0;c:{d:{e:{if(d>>>0<=i>>>0){while(1){m=N[i>>2];f:{if(N[m+4>>2]!=1970170211){break f}g:{switch(P[m+8>>1]){case 3:if(P[m+10>>1]!=10){break f}break e;case 0:break g;default:break f}}if(P[m+10>>1]==4){break e}}i=i-4|0;if(d>>>0<=i>>>0){continue}break}}while(1){c=c-4|0;if(d>>>0>c>>>0){break d}m=N[c>>2];if(N[m+4>>2]!=1970170211){continue}break}}N[b+92>>2]=m;c=N[b+100>>2];C(f+19664|4,0,2748);N[f+19664>>2]=c;N[a+9856>>2]=0;N[a+52>>2]=0;c=N[N[(N[N[a>>2]+8>>2]<<2)+288704>>2]+16>>2];i=db(1,172);h:{if(!i){i=588184;break h}N[i+148>>2]=1073741823;N[i+152>>2]=536870911;N[i>>2]=1;N[i+4>>2]=1;d=Ic();i:{if(!d){break i}e=N[d>>2];if(!e){break i}if((e|0)<=0){break a}N[d>>2]=e+1}L[i+60|0]=1;N[i+24>>2]=65533;N[i+12>>2]=d}j:{k:{m=O[c|0];if(m){while(1){if((m&255)==32){while(1){d=O[c+1|0];c=c+1|0;if((d|0)==32){continue}break}}c=Fe(c,a,i,f);l:{if(Q[f>>2]>1){break l}d=N[i+80>>2];e=N[i+68>>2];m:{if(O[i+63|0]|N[i+168>>2]){break m}N[i+84>>2]=d;N[i+72>>2]=0;M[i+62>>1]=256;g=T(e,20);if(!g){break m}C(N[i+88>>2],0,g)}if(!e){break l}d=N[d>>2];if(d){break k}}m=O[c|0];if(m){continue}break}}dc(i);break j}dc(i);if(vc(b,d,1)){break j}c=N[b+84>>2];if(M[c+110>>1]<=0){break j}C(f,0,19652);d=N[a+40>>2];N[f+8>>2]=65536;N[f+12>>2]=65536;N[f+40>>2]=d;N[f+4>>2]=b;N[f+22404>>2]=0;N[f+22412>>2]=f;if(rf(f+19664|0,c+108|0)){break j}if(Yd(f+19664|0,0)){break j}i=0;qf(f+19664|0,0,0,0);d=N[f+19708>>2];if((d|0)>0){c=N[f+19716>>2];e=c+T(d,44)|0;while(1){d=N[c+20>>2];if(!(!d|c>>>0>=d>>>0|(N[d+20>>2]!=(c|0)|i>>>0>15))){g=M[c+2>>1]-M[d+2>>1]|0;d=g>>31;N[(T(i,12)+a|0)+56>>2]=(d^g)-d;i=i+1|0}c=c+44|0;if(e>>>0>c>>>0){continue}break}}N[f+26288>>2]=i;Eg(f+26288|0,a+56|0,Q[f+40>>2]/100|0);N[a+52>>2]=N[f+26288>>2];if(Yd(f+19664|0,1)){break j}i=0;qf(f+19664|0,0,0,1);d=N[f+21056>>2];if((d|0)>0){c=N[f+21064>>2];e=c+T(d,44)|0;while(1){d=N[c+20>>2];if(!(!d|c>>>0>=d>>>0|(N[d+20>>2]!=(c|0)|i>>>0>15))){g=M[c+2>>1]-M[d+2>>1]|0;d=g>>31;N[(T(i,12)+a|0)+9860>>2]=(d^g)-d;i=i+1|0}c=c+44|0;if(e>>>0>c>>>0){continue}break}}N[f+26288>>2]=i;Eg(f+26288|0,a+9860|0,Q[f+40>>2]/100|0);N[a+9856>>2]=N[f+26288>>2]}if(N[a+52>>2]){c=N[a+56>>2]}else{c=(T(N[a+40>>2],50)|0)/2048|0}L[a+256|0]=0;N[a+252>>2]=c;N[a+248>>2]=(c|0)/5;if(N[a+9856>>2]){c=N[a+9860>>2]}else{c=(T(N[a+40>>2],50)|0)/2048|0}L[a+10060|0]=0;N[a+10056>>2]=c;N[a+10052>>2]=(c|0)/5;c=N[f+19664>>2];if(c){N[f+19708>>2]=0;N[f+19712>>2]=0;d=N[f+19716>>2];if((d|0)!=(f+19736|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19716>>2]=0}d=f+19720|0;N[d>>2]=0;N[d+4>>2]=0;d=N[f+19728>>2];if((d|0)!=(f+20528|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19728>>2]=0}d=f+21056|0;N[d>>2]=0;N[d+4>>2]=0;d=N[f+21064>>2];if((d|0)!=(f+21084|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+21064>>2]=0}d=f+21068|0;N[d>>2]=0;N[d+4>>2]=0;d=N[f+21076>>2];if((d|0)!=(f+21876|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+21076>>2]=0}d=N[f+19704>>2];if((d|0)!=(f+22416|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19704>>2]=0}N[f+19696>>2]=0;N[f+19700>>2]=0;d=N[f+19692>>2];if((d|0)!=(f+22448|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19692>>2]=0}N[f+19684>>2]=0;N[f+19688>>2]=0}$=Q[a+40>>2]/14|0;V=N[a>>2];e=N[V+12>>2];o=db(1,172);n:{if(!o){o=588184;break n}N[o+148>>2]=1073741823;N[o+152>>2]=536870911;N[o>>2]=1;N[o+4>>2]=1;c=Ic();o:{if(!c){break o}d=N[c>>2];if(!d){break o}if((d|0)<=0){break a}N[c>>2]=d+1}L[o+60|0]=1;N[o+24>>2]=65533;N[o+12>>2]=c}c=(e<<3)+283472|0;m=N[c>>2];if((m|0)!=5531){while(1){G=c;E=m+277936|0;c=O[E|0];p:{if(!c){break p}v=0;u=0;m=0;i=0;while(1){if((c&255)==32){while(1){c=O[E+1|0];E=E+1|0;if((c|0)==32){continue}break}}E=Fe(E,a,o,f+26288|0);W=N[f+26288>>2];q:{if(!W){break q}c=P[G+4>>1];X=c&1;z=X?-2147483648:2147483647;Y=c&4;aa=c&16;ca=c&3;J=0;K=0;while(1){d=N[o+80>>2];e=N[o+68>>2];r:{s:{if(O[o+63|0]){break s}c=0;if(N[o+168>>2]){break r}N[o+84>>2]=d;N[o+72>>2]=0;M[o+62>>1]=256;c=T(e,20);if(!c){break s}C(N[o+88>>2],0,c)}c=N[o+88>>2]}t:{if(e>>>0<=J>>>0){break t}e=d;d=T(J,20);e=N[e+d>>2];if(!e){break t}F=N[(c+d|0)+12>>2];if(vc(b,e,1)){break t}c=N[b+84>>2];if(M[c+110>>1]<3){break t}r=0;A=M[c+108>>1];u:{if((A|0)<=0){A=0;break u}H=N[c+120>>2];D=N[c+116>>2];p=N[c+112>>2];g=-1;w=0;h=0;q=0;d=0;while(1){n=M[H+(q<<1)>>1];v:{if((n|0)<=(h|0)){c=g;break v}c=(n-h|0)+1&1;w:{if(ca){x:{if(!c){j=h;e=d;c=g;break x}e=N[((h<<3)+p|0)+4>>2];c=F+e|0;j=h+1|0;y:{if(!((g|0)<0|(d|0)<(e|0))){i=(c|0)>(i|0)?i:c;e=d;c=g;break y}m=(c|0)<(m|0)?m:c;d=e;c=h}}if((h|0)==(n|0)){break w}while(1){d=N[((j<<3)+p|0)+4>>2];k=F+d|0;z:{if(!((d|0)<=(e|0)&(c|0)>=0)){m=(m|0)>(k|0)?m:k;c=j;break z}i=(i|0)<(k|0)?i:k;d=e}k=j+1|0;e=N[((k<<3)+p|0)+4>>2];l=F+e|0;A:{if(!((c|0)<0|(d|0)<(e|0))){i=(i|0)<(l|0)?i:l;e=d;break A}m=(l|0)<(m|0)?m:l;c=k}j=j+2|0;d=e;if((k|0)!=(n|0)){continue}break}break w}B:{if(!c){j=h;e=d;c=g;break B}e=N[((h<<3)+p|0)+4>>2];c=F+e|0;j=h+1|0;C:{if(!((g|0)<0|(d|0)>(e|0))){m=(c|0)<(m|0)?m:c;e=d;c=g;break C}i=(c|0)>(i|0)?i:c;d=e;c=h}}if((h|0)==(n|0)){break w}while(1){d=N[((j<<3)+p|0)+4>>2];k=F+d|0;D:{if(!((c|0)>=0&(d|0)>=(e|0))){i=(i|0)<(k|0)?i:k;c=j;break D}m=(m|0)>(k|0)?m:k;d=e}k=j+1|0;e=N[((k<<3)+p|0)+4>>2];l=F+e|0;E:{if(!((c|0)<0|(d|0)>(e|0))){m=(l|0)<(m|0)?m:l;e=d;break E}i=(i|0)<(l|0)?i:l;c=k}j=j+2|0;d=e;if((k|0)!=(n|0)){continue}break}}e=(c|0)==(g|0);r=e?r:h;w=e?w:n;g=c}h=n+1|0;q=q+1|0;if((A|0)!=(q|0)){continue}break}A=0;if((c|0)<0){r=d;break u}H=N[(c<<3)+p>>2];k=c;e=(O[c+D|0]&3)!=1?-1:c;j=e;F:{while(1){g=(k|0)>(r|0)?k-1|0:w;n=(g<<3)+p|0;l=N[n+4>>2]-d|0;h=l>>31;l=(h^l)-h|0;if(l>>>0>=6){n=N[n>>2]-H|0;h=n>>31;if((h^n)-h>>>0<=T(l,20)>>>0){break F}}h=(O[g+D|0]&3)==1;j=h?(j|0)<0?g:j:j;e=h?g:e;k=g;if((g|0)!=(c|0)){continue}break}k=c}g=c;G:{while(1){h=(g|0)<(w|0)?g+1|0:r;U=(h<<3)+p|0;l=N[U+4>>2]-d|0;n=l>>31;l=(l^n)-n|0;if(l>>>0>=6){q=N[U>>2]-H|0;n=q>>31;if((n^q)-n>>>0<=T(l,20)>>>0){break G}}g=(O[h+D|0]&3)==1;e=g?(e|0)<0?h:e:e;j=g?h:j;g=h;if((g|0)!=(c|0)){continue}break}g=c}H:{I:{if(!aa){break I}n=N[(g<<3)+p>>2]-N[(k<<3)+p>>2]|0;h=n>>31;q=N[a+40>>2];Z=(q>>>0)/25|0;if(Z>>>0<=(h^n)-h>>>0){break I}l=c;if(((g-k|0)+2|0)>(w-r|0)){break I}while(1){l=(l|0)>(r|0)?l-1|0:w;_=N[(l<<3)+p>>2];if((H|0)==(_|0)&(c|0)!=(l|0)){continue}break}if((c|0)==(l|0)){break t}da=q>>>2|0;I=0;n=g;c=g;l=0;h=0;while(1){if(!I){n=c;l=(O[c+D|0]&3)!=1?-1:c;h=l}c=(c|0)<(w|0)?c+1|0:r;I=0;x=(n<<3)+p|0;q=N[x+4>>2];y=d-q|0;t=y>>31;J:{if((t^y)-t>>>0>da>>>0){break J}t=(c<<3)+p|0;s=N[t+4>>2]-q|0;y=s>>31;y=(s^y)-y|0;K:{if(y>>>0<=5){t=N[t>>2];x=N[x>>2];s=t-x|0;I=s>>31;s=(s^I)-I|0;break K}t=N[t>>2];x=N[x>>2];R=t-x|0;s=R>>31;s=(s^R)-s|0;if(s>>>0<=T(y,20)>>>0){break J}}I=1;R=(O[c+D|0]&3)==1;l=R?(l|0)<0?c:l:l;h=R?c:h;if((t|0)>(x|0)^(H|0)>(_|0)|s>>>0>>0){break J}e=T(y,20);while(1){c=(c|0)<(w|0)?c+1|0:r;g=N[((c<<3)+p|0)+4>>2]-q|0;d=g>>31;L:{if((d^g)-d>>>0<6){break L}g=N[U>>2]-x|0;d=g>>31;if(e>>>0<(d^g)-d>>>0){break L}g=(c|0)>(r|0)?c-1|0:w;break H}l=(O[c+D|0]&3)==1?(l|0)<0?c:l:l;h=c;if((c|0)!=(k|0)){continue}break}g=k;h=g;break H}if((c|0)!=(k|0)){continue}break}}q=d;n=k;l=e;h=j}r=q+F|0;if((l|h)>=0){d=N[(h<<3)+p>>2]-N[(l<<3)+p>>2]|0;c=d>>31;if((c^d)-c>>>0>$>>>0){break u}}if((O[n+D|0]&3)==1){c=O[g+D|0]&3;A=(c|0)!=1;if(!Y|(c|0)==1){break u}break t}A=1;if(Y){break t}}if(X){c=(r|0)>(z|0);z=c?r:z;K=c?A:K;break t}c=(r|0)<(z|0);z=c?r:z;K=c?A:K}J=J+1|0;if((W|0)!=(J|0)){continue}break}if(z-2147483647>>>0<2){break q}c=K&255;N[(c?(f+19664|0)+(u<<2)|0:(v<<2)+f|0)>>2]=z;v=!c+v|0;u=((c|0)!=0)+u|0}c=O[E|0];if(c){continue}break}if(!(u|v)){break p}M:{if(u>>>0<2){break M}d=1;if((u|0)!=2){c=u-1|0;h=c&1;j=c&-2;l=0;while(1){g=N[(f+19664|0)+(d<<2)>>2];c=d;while(1){e=c-1|0;k=(f+19664|0)+(e<<2)|0;n=N[k>>2];if((n|0)>(g|0)){N[(f+19664|0)+(c<<2)>>2]=n;N[k>>2]=g;c=e;if(c){continue}}break}c=d+1|0;e=N[(f+19664|0)+(c<<2)>>2];while(1){N:{g=((c<<2)+f|0)+19660|0;k=N[g>>2];if((k|0)<=(e|0)){break N}n=f+19664|0;N[n+(c<<2)>>2]=k;N[g>>2]=e;c=c-2|0;k=n+(c<<2)|0;n=N[k>>2];if((n|0)<=(e|0)){break N}N[g>>2]=n;N[k>>2]=e;if(c){continue}}break}d=d+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}if(!h){break M}}e=N[(f+19664|0)+(d<<2)>>2];while(1){c=d-1|0;g=(f+19664|0)+(c<<2)|0;h=N[g>>2];if((h|0)<=(e|0)){break M}N[(f+19664|0)+(d<<2)>>2]=h;N[g>>2]=e;d=c;if(c){continue}break}}O:{if(v>>>0<2){break O}d=1;if((v|0)!=2){c=v-1|0;h=c&1;j=c&-2;l=0;while(1){g=N[(d<<2)+f>>2];c=d;while(1){e=c-1|0;k=(e<<2)+f|0;n=N[k>>2];if((n|0)>(g|0)){N[(c<<2)+f>>2]=n;N[k>>2]=g;c=e;if(c){continue}}break}c=d+1|0;e=N[(c<<2)+f>>2];while(1){P:{g=(c-1<<2)+f|0;k=N[g>>2];if((k|0)<=(e|0)){break P}N[(c<<2)+f>>2]=k;N[g>>2]=e;c=c-2|0;k=(c<<2)+f|0;n=N[k>>2];if((n|0)<=(e|0)){break P}N[g>>2]=n;N[k>>2]=e;if(c){continue}}break}d=d+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}if(!h){break O}}e=N[(d<<2)+f>>2];while(1){c=d-1|0;g=(c<<2)+f|0;h=N[g>>2];if((h|0)<=(e|0)){break O}N[(d<<2)+f>>2]=h;N[g>>2]=e;d=c;if(c){continue}break}}c=N[a+10064>>2];N[a+10064>>2]=c+1;c=T(c,36)+a|0;d=c+10080|0;g=c+10068|0;Q:{R:{if(!v){e=N[(f+19664|0)+(u<<1&-4)>>2];break R}e=N[(v<<1&-4)+f>>2];if(!u){break R}N[g>>2]=e;h=N[(f+19664|0)+(u<<1&-4)>>2];N[d>>2]=h;if((e|0)==(h|0)){j=P[G+4>>1];break Q}j=P[G+4>>1];if(((j&3)!=0|0)==((e|0)<(h|0)|0)){break Q}k=d;d=(e+h|0)/2|0;N[k>>2]=d;N[g>>2]=d;break Q}N[d>>2]=e;N[g>>2]=e;j=P[G+4>>1]}d=c+10100|0;e=j<<1&14;N[d>>2]=e;N[c+10096>>2]=i;N[c+10092>>2]=m;if(!(j&8)){break p}N[d>>2]=e|16}c=G+8|0;m=N[G+8>>2];if((m|0)!=5531){continue}break}}dc(o);S:{T:{g=N[a+10064>>2];if(g){i=0;c=0;if(g>>>0>=4){h=g&-4;d=a+10068|0;while(1){e=f+26288|0;N[e+(c<<2)>>2]=d+T(c,36);j=c|1;N[e+(j<<2)>>2]=d+T(j,36);j=c|2;N[e+(j<<2)>>2]=d+T(j,36);j=c|3;N[e+(j<<2)>>2]=d+T(j,36);c=c+4|0;if((h|0)!=(c|0)){continue}break}}d=g&3;if(d){while(1){N[(f+26288|0)+(c<<2)>>2]=(T(c,36)+a|0)+10068;c=c+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(g>>>0>=2){e=1;while(1){h=N[(f+26288|0)+(e<<2)>>2];k=N[(O[h+32|0]&6?0:12)+h>>2];c=e;while(1){d=c-1|0;n=(f+26288|0)+(d<<2)|0;j=N[n>>2];if((k|0)>2]){N[(f+26288|0)+(c<<2)>>2]=j;N[n>>2]=h;c=d;if(c){continue}}break}e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=g-1|0;if(e){c=N[f+26288>>2];i=N[c+32>>2];m=0;while(1){d=i&6?c+12|0:c;m=m+1|0;c=N[(f+26288|0)+(m<<2)>>2];i=N[c+32>>2];g=N[(i&6?12:0)+c>>2];if((g|0)>2]){N[d>>2]=g}if((e|0)!=(m|0)){continue}break}}N[f+16>>2]=N[73412];c=N[73411];N[f+8>>2]=N[73410];N[f+12>>2]=c;c=N[73409];N[f>>2]=N[73408];N[f+4>>2]=c;c=db(1,172);if(c){break T}c=588184;break S}c=N[a+36>>2];a=N[c+4>>2];U:{if((a|0)<=0){break U}d=N[c+8>>2];e=N[V>>2];c=0;if((a|0)!=1){g=a&1;a=a&-2;while(1){h=c<<1;j=h+d|0;if((e|0)==(P[j>>1]&16383)){M[j>>1]=66}h=d+(h|2)|0;if((e|0)==(P[h>>1]&16383)){M[h>>1]=66}c=c+2|0;if((a|0)!=(c|0)){continue}break}if(!g){break U}}a=d+(c<<1)|0;if((e|0)!=(P[a>>1]&16383)){break U}M[a>>1]=66}m=-1;break c}N[c+148>>2]=1073741823;N[c+152>>2]=536870911;N[c>>2]=1;N[c+4>>2]=1;d=Ic();V:{if(!d){break V}e=N[d>>2];if(!e){break V}if((e|0)<=0){break a}N[d>>2]=e+1}L[c+60|0]=1;N[c+24>>2]=65533;N[c+12>>2]=d}m=f;d=0;e=0;W:{while(1){m=Fe(m,a,c,f+19664|0);X:{if(Q[f+19664>>2]>1){break X}g=N[c+80>>2];h=N[c+68>>2];Y:{Z:{if(O[c+63|0]){break Z}j=0;if(N[c+168>>2]){break Y}N[c+84>>2]=g;N[c+72>>2]=0;M[c+62>>1]=256;j=T(h,20);if(!j){break Z}C(N[c+88>>2],0,j)}j=N[c+88>>2]}if(!h|!N[g>>2]){break X}g=N[j>>2];h=d&255;d=1;if(!h){e=g;break X}if((e|0)==(g|0)){break X}d=0;break W}if(O[m|0]){continue}break}d=1}dc(c);L[a+32|0]=d}m=0}if(!b|!S){break b}c=N[b+40>>2];if(!c){break b}a=N[b+36>>2];if((a|0)<=0){break b}a=(a<<2)+c|0;while(1){_:{if(N[c>>2]!=(S|0)){break _}d=N[S>>2];$:{if(!d){break $}d=N[d+96>>2];e=N[N[d>>2]+32>>2];if(!e){break $}d=Qa[e|0](d,10557)|0;if(!d){break $}if(Qa[N[d>>2]](S,f)|0){break $}if(N[f+4>>2]==14){break _}}N[b+92>>2]=N[c>>2];break b}c=c+4|0;if(a>>>0>c>>>0){continue}break}}La=f+26336|0;return m|0}ba(23506,14099,260,16403);B()}function vx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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;f=La-1536|0;La=f;N[b>>2]=1;d=N[b+96>>2];a:{b:{if(!d){break b}a=N[N[d>>2]+32>>2];if(a){l=Qa[a|0](d,10566)|0;if(l){break a}}a=N[d+4>>2];e=N[a+16>>2];if((e|0)<=0){break b}a=a+20|0;g=a+(e<<2)|0;while(1){e=N[a>>2];c:{if((e|0)==(d|0)){break c}h=N[N[e>>2]+32>>2];if(!h){break c}l=Qa[h|0](e,10566)|0;if(l){break a}}a=a+4|0;if(g>>>0>a>>>0){continue}break}}l=0}N[b+488>>2]=l;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{a=N[N[b+96>>2]+4>>2];if(!a){break m}e=N[a+16>>2];if((e|0)<=0){break m}d=a+20|0;e=d+(e<<2)|0;a=d;while(1){g=N[N[a>>2]>>2];if(cb(N[g+8>>2],7988)){a=a+4|0;if(e>>>0>a>>>0){continue}break m}break}m=N[g+20>>2];N[b+492>>2]=m;if(!m){g=11;break d}n:{o:{while(1){a=N[N[d>>2]>>2];if(!cb(N[a+8>>2],11971)){break o}d=d+4|0;if(e>>>0>d>>>0){continue}break}a=0;break n}a=N[a+20>>2]}N[b+552>>2]=a;d=f+12|0;C(d,0,380);N[b+544>>2]=0;N[b+536>>2]=-1;N[b+540>>2]=-1;N[b+284>>2]=1;N[b+348>>2]=3932;N[b+172>>2]=4;N[b+276>>2]=2596864;N[b+280>>2]=7;a=N[b+104>>2];e=d;d=N[b+100>>2];Qa[N[N[m+4>>2]>>2]](e,0,0,d);N[f+96>>2]=0;N[f+100>>2]=0;L[f+103|0]=0;L[f+104|0]=0;L[f+105|0]=0;L[f+106|0]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+84>>2]=a;g=Sm(a,9095,14);if(g){if((g&255)!=2){break f}g=Sm(a,15555,10);if(g){break f}}e=N[a+20>>2];if(e){g=85;if(Qa[e|0](a,0,0,0)|0){break f}}N[a+8>>2]=0;if(Q[a+4>>2]<2){break h}e=N[a+20>>2];if(e){if((Qa[e|0](a,0,f+1528|0,2)|0)!=2){break h}e=N[a+8>>2];g=f+1528|0;break l}e=0;g=N[a>>2];if(g){break l}N[a+8>>2]=2;break k}N[b+492>>2]=0;g=11;break d}g=O[g|0]|O[g+1|0]<<8;h=e+2|0;N[a+8>>2]=h;g=g<<8|g>>>8;if((g+32767&65535)>>>0>1){break k}if(Q[a+4>>2]<=e+5>>>0){break h}e=N[a+20>>2];p:{if(e){if((Qa[e|0](a,h,f+1528|0,4)|0)!=4){break h}h=N[a+8>>2];e=f+1528|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);break p}e=N[a>>2];if(e){e=e+h|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);break p}e=0}h=h+4|0;N[a+8>>2]=h;if((g&65535)==32769){break j}}e=N[a+20>>2];if(e){g=85;if(Qa[e|0](a,0,0,0)|0){break f}}h=0;N[a+8>>2]=0;e=N[a+4>>2];break i}L[f+104|0]=1}q:{if(!N[a+20>>2]){g=N[a>>2];L[f+105|0]=1;N[f+92>>2]=e;N[f+88>>2]=g+h;g=Xc(a,e);if(g){break f}e=N[f+92>>2];break q}r:{if((e|0)>0){g=Qa[N[d+4>>2]](d,e)|0;if(g){break r}g=64;break g}g=6;if(e){break g}g=0}N[f+88>>2]=g;g=Zb(a,g,e);if(g){break f}N[f+92>>2]=e}a=N[f+88>>2];N[f+16>>2]=a;N[f+12>>2]=a;N[f+20>>2]=a+e;g=Rm(b,f+12|0,a,e);N[f+8>>2]=g;if(g){break e}i=N[f+28>>2];s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if(O[f+104|0]){e=N[f+84>>2];a=N[e+8>>2];N[f+100>>2]=0;d=a;C:{while(1){if(Q[e+4>>2]<=d+1>>>0){break y}D:{g=N[e+20>>2];E:{if(g){if((Qa[g|0](e,d,f+1528|0,2)|0)!=2){break y}d=N[e+8>>2];g=f+1528|0;break E}g=N[e>>2];if(!g){break D}g=d+g|0}h=O[g|0]|O[g+1|0]<<8;g=d+2|0;N[e+8>>2]=g;h=h<<8|h>>>8;if((h+32767&65535)>>>0>1){break C}F:{G:{H:{if(Q[e+4>>2]<=d+5>>>0){break H}d=N[e+20>>2];if(d){if((Qa[d|0](e,g,f+1528|0,4)|0)!=4){break H}g=N[e+8>>2];d=f+1528|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break F}d=N[e>>2];if(!d){break G}d=d+g|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break F}g=85;N[f+8>>2]=85;break e}d=0}j=g+4|0;N[e+8>>2]=j;if((h&65535)!=32770){break C}N[f+100>>2]=d+N[f+100>>2];g=85;if((d|0)<0){break A}d=d+j|0;h=N[e+20>>2];I:{if(h){if(!(Qa[h|0](e,d,0,0)|0)){break I}break A}if(Q[e+4>>2]>>0){break A}}N[e+8>>2]=d;continue}break}N[e+8>>2]=d+2}d=N[f+100>>2];if(!d){g=3;N[f+8>>2]=3;break e}h=N[e+20>>2];J:{if(h){g=85;if(Qa[h|0](e,a,0,0)|0){break A}d=N[f+100>>2];break J}g=85;if(a>>>0>Q[e+4>>2]){break A}}N[e+8>>2]=a;K:{if((d|0)>0){g=Qa[N[i+4>>2]](i,d)|0;if(g){break K}g=64;break s}g=6;if(d){break s}g=0}N[f+96>>2]=g;g=0;while(1){N[f+100>>2]=g;a=xb(e,f+1528|0);if(N[f+1528>>2]|(a+32767&65535)>>>0>1){break B}d=Wc(e,f+1528|0);if(N[f+1528>>2]|(a|0)!=32770){break B}g=Zb(e,N[f+96>>2]+N[f+100>>2]|0,d);if(g){break A}g=d+N[f+100>>2]|0;continue}}e=N[f+88>>2];h=N[f+92>>2];d=e+h|0;a=e;while(1){L:{M:{if(O[a|0]!=101|a+9>>>0>=d>>>0|(O[a+1|0]!=101|O[a+2|0]!=120)){break M}if(O[a+3|0]!=101){break M}if(O[a+4|0]==99){break L}}a=a+1|0;if(d>>>0>a>>>0){continue}g=3;N[f+8>>2]=3;break e}a=a+10|0;N[f+20>>2]=a;N[f+12>>2]=e;N:{if(a>>>0>e>>>0){while(1){O:{if(O[e|0]!=101|e+5>>>0>=a>>>0|(O[e+1|0]!=101|O[e+2|0]!=120)){break O}if(O[e+3|0]!=101){break O}if(O[e+4|0]==99){break N}}Qa[N[f+44>>2]](f+12|0);if(!N[f+24>>2]){Qa[N[f+40>>2]](f+12|0);e=N[f+12>>2];if(e>>>0>>0){continue}}break}h=N[f+92>>2];e=N[f+88>>2]}g=3;d=e+h|0;if(d>>>0>a>>>0){continue}break A}break}N[f+20>>2]=N[f+88>>2]+N[f+92>>2];Qa[N[f+44>>2]](f+12|0);h=N[f+20>>2];a=N[f+12>>2];e=h-a|0;d=qe(a,10,e);if(d){d=qe(a,13,e)>>>0>>0}else{d=1}g=3;if(a>>>0>=h>>>0){break A}j=a+e|0;while(1){P:{e=O[a|0];if(!((e|0)==9|(e|0)==32|(e|0)==10)){if(!(d&(e|0)==13)){break P}}a=a+1|0;if((j|0)!=(a|0)){continue}break A}break}g=N[f+88>>2];d=N[f+92>>2]+(g-a|0)|0;Q:{if(O[f+105|0]){e=d+1|0;R:{if(d>>>0<=2147483646){g=Qa[N[i+4>>2]](i,e)|0;if(g){break R}g=64;break t}g=6;if(e){break t}g=0}N[f+100>>2]=d;N[f+96>>2]=g;break Q}N[f+100>>2]=d;N[f+96>>2]=g;L[f+106|0]=1;N[f+88>>2]=0;N[f+92>>2]=0}S:{if(h>>>0<=a+3>>>0){break S}T:{e=O[a|0];if(e-48>>>0<10){break T}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break T;default:break S}}U:{e=O[a+1|0];if(e-48>>>0<10){break U}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break U;default:break S}}V:{e=O[a+2|0];if(e-48>>>0<10){break V}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break V;default:break S}}W:{e=O[a+3|0];if(e-48>>>0<10){break W}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break W;default:break S}}N[f+12>>2]=a;Qa[N[N[m+4>>2]+24>>2]](f+12|0,g,d,f+1528|0,0)|0;a=N[f+1528>>2];N[f+100>>2]=a;L[a+N[f+96>>2]|0]=0;break B}F(g,a,d)}Qa[N[m+16>>2]](N[f+96>>2],N[f+100>>2],55665);g=3;if(Q[f+100>>2]>3){break z}}N[f+8>>2]=g;break e}L[N[f+96>>2]]=32;L[N[f+96>>2]+1|0]=32;L[N[f+96>>2]+2|0]=32;L[N[f+96>>2]+3|0]=32;a=N[f+96>>2];N[f+16>>2]=a;N[f+12>>2]=a;d=N[f+100>>2];N[f+20>>2]=d+a;g=Rm(b,f+12|0,a,d);N[f+8>>2]=g;if(g){break e}L[b+176|0]=O[b+176|0]&254;X:{Y:{g=N[b+532>>2];if(!g){break Y}if(N[g>>2]!=1<>2]){$e(b);g=N[b+532>>2];if(!g){break Y}}a=N[g+416>>2];if(!(!a|(a|0)==N[g+4>>2])){N[g+416>>2]=0}Z:{_:{if(N[g>>2]){d=N[g+4>>2];if(d){break _}}$e(b);g=N[b+532>>2];if(!g){break Y}d=N[g+4>>2];if(!d){break Z}}a=0;while(1){if(O[(T(a,12)+g|0)+88|0]){a=a+1|0;if((d|0)!=(a|0)){continue}break Z}break}$e(b);if(!N[b+532>>2]){break Y}}a=N[b+544>>2];if(!a){break X}r=b,s=lb(N[b+100>>2],4,0,a,0,f+8|0),N[r+548>>2]=s;g=N[f+8>>2];if(!g){break X}N[b+544>>2]=0;break e}N[b+544>>2]=0}j=N[f+164>>2];N[b+420>>2]=j;if(N[f+340>>2]){N[b+404>>2]=N[f+324>>2];N[b+392>>2]=N[f+328>>2];N[b+408>>2]=N[f+352>>2];N[b+412>>2]=N[f+356>>2];N[b+416>>2]=N[f+380>>2];N[f+380>>2]=0;N[f+340>>2]=0}g=0;$:{if(N[N[b+128>>2]+52>>2]){break $}g=0;if(N[f+232>>2]){break $}N[f+8>>2]=3;g=3}N[f+232>>2]=0;N[b+396>>2]=N[f+220>>2];N[b+428>>2]=N[f+244>>2];N[b+432>>2]=N[f+248>>2];N[b+400>>2]=N[f+168>>2];N[b+424>>2]=N[f+192>>2];N[f+192>>2]=0;N[f+168>>2]=0;if(N[b+368>>2]!=1){break u}i=N[f+128>>2];if((i|0)<=0){break w}e=0;if((j|0)<=0){break x}h=0;d=0;while(1){k=d<<2;o=N[k+N[f+136>>2]>>2];p=d<<1;M[p+N[b+384>>2]>>1]=0;N[k+N[b+388>>2]>>2]=15265;aa:{if(!o){break aa}q=N[b+424>>2];a=0;while(1){n=N[(a<<2)+q>>2];if(cb(o,n)){a=a+1|0;if((j|0)!=(a|0)){continue}break aa}break}M[N[b+384>>2]+p>>1]=a;N[k+N[b+388>>2]>>2]=n;if(!cb(15265,n)){break aa}e=(d|0)<(e|0)?e:d+1|0;h=(d|0)<(h|0)?d:h}d=d+1|0;if((i|0)!=(d|0)){continue}break}break v}g=85;N[f+8>>2]=85;break e}d=0;a=0;if(i>>>0>=4){e=i&-4;while(1){M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;h=a|1;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|2;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|3;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;a=a+4|0;if((e|0)!=(a|0)){continue}break}}i=i&3;if(!i){break w}while(1){h=0;M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;a=a+1|0;e=0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break v}h=0;e=0}N[b+380>>2]=e;N[b+376>>2]=h;N[b+372>>2]=N[f+108>>2]}if(Q[b+280>>2]>=1001){N[b+280>>2]=7}if(Q[b+284>>2]<1001){break e}N[b+284>>2]=1;break e}N[f+96>>2]=0;N[f+8>>2]=g;break e}N[f+96>>2]=0;N[f+8>>2]=g;break e}g=85;break f}N[f+88>>2]=0}if(O[f+105|0]){N[f+8>>2]=g;break e}a=N[f+88>>2];if(a){Qa[N[d+8>>2]](d,a)}N[f+88>>2]=0}d=N[f+28>>2];a=N[f+160>>2];if(a){Qa[a|0](f+112|0)}a=N[f+268>>2];if(a){Qa[a|0](f+220|0)}a=N[f+216>>2];if(a){Qa[a|0](f+168|0)}a=N[f+320>>2];if(a){Qa[a|0](f+272|0)}a=N[f+376>>2];if(a){Qa[a|0](f+328|0)}h=N[f+380>>2];ba:{if(!h){break ba}e=N[h+4>>2];ca:{if(!e){break ca}a=N[h+20>>2];if((e|0)!=1){i=e&1;j=e&-2;e=0;while(1){k=N[a>>2];if(k){Qa[N[d+8>>2]](d,k)}N[a>>2]=0;k=N[a+4>>2];if(k){Qa[N[d+8>>2]](d,k)}N[a+4>>2]=0;a=a+8|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}if(!i){break ca}}e=N[a>>2];if(e){Qa[N[d+8>>2]](d,e)}N[a>>2]=0}a=N[h+20>>2];if(a){Qa[N[d+8>>2]](d,a)}N[h+20>>2]=0;a=N[f+380>>2];if(!a){break ba}Qa[N[d+8>>2]](d,a)}N[f+380>>2]=0;a=N[f+28>>2];d=N[f+96>>2];if(d){Qa[N[a+8>>2]](a,d)}N[f+96>>2]=0;if(!O[f+105|0]){d=N[f+88>>2];if(d){Qa[N[a+8>>2]](a,d)}N[f+88>>2]=0}Qa[N[f+36>>2]](f+12|0);if(g|(c|0)<0){break d}g=6;if(c&65535){break d}N[b+4>>2]=0;N[b+16>>2]=N[b+420>>2];c=N[b+8>>2];a=c|2577;N[b+8>>2]=a;if(O[b+156|0]){a=c|2581;N[b+8>>2]=a}e=N[b+532>>2];if(e){N[b+8>>2]=a|256}N[b+24>>2]=0;g=N[b+144>>2];N[b+20>>2]=g;da:{ea:{if(g){a=N[b+140>>2];if(!a){break ea}d=O[a|0];if(!d){a=12199;break da}while(1){fa:{ga:{d=d&255;c=O[g|0];if((d|0)==(c|0)){a=a+1|0;break ga}d=d-32|0;if(!((d|0)!=13?d:0)){a=a+1|0;break fa}ha:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break ea;case 0:case 13:break ga;default:break ha}}if(c){break ea}break da}g=g+1|0}d=O[a|0];if(d){continue}break}a=12199;break da}a=N[b+364>>2];if(!a){break ea}N[b+20>>2]=a}a=N[b+148>>2];a=a?a:12199}N[b+24>>2]=a;c=N[b+152>>2]!=0;N[b+12>>2]=c;a=N[b+148>>2];ia:{if(!a){break ia}if(cb(a,16733)){if(cb(a,13781)){break ia}}N[b+12>>2]=c|2}N[b+28>>2]=0;N[b+32>>2]=0;N[b+52>>2]=M[b+466>>1];a=M[b+470>>1];N[b+56>>2]=a;g=N[b+472>>2]+65535>>16;N[b+60>>2]=g;c=N[b+476>>2]+65535>>16;N[b- -64>>2]=c;d=P[b+68>>1];if(!d){M[b+68>>1]=1e3;d=1e3}M[b+76>>1]=g;M[b+72>>1]=a;M[b+70>>1]=c;a=c-a|0;c=(T(d,12)>>>0)/10|0;M[b+74>>1]=(a|0)>c<<16>>16?a:c;a=0;d=N[b+492>>2];if(!(Qa[N[N[d+12>>2]>>2]](f+12|0,b,0,0,N[b+424>>2],e,0,0,147)|0)){L[f+80|0]=0;L[f+82|0]=1;N[f+1376>>2]=N[b+404>>2];N[f+1380>>2]=N[b+408>>2];N[f+1384>>2]=N[b+412>>2];N[f+1388>>2]=N[b+416>>2];N[f+1508>>2]=N[b+548>>2];N[f+1512>>2]=N[b+544>>2];ja:{if(N[b+420>>2]<=0){break ja}ka:{if(_e(f+12|0,0,f+1528|0,f+8|0)){break ka}a=N[N[N[f+16>>2]+128>>2]+52>>2];if(!a){break ka}Qa[N[N[a>>2]+4>>2]](N[a+4>>2],f+1528|0)}a=N[f+52>>2];if(N[b+420>>2]<2){break ja}g=1;while(1){la:{if(_e(f+12|0,g,f+1528|0,f+8|0)){break la}c=N[N[N[f+16>>2]+128>>2]+52>>2];if(!c){break la}Qa[N[N[c>>2]+4>>2]](N[c+4>>2],f+1528|0)}c=N[f+52>>2];a=(a|0)<(c|0)?c:a;g=g+1|0;if((g|0)>2]){continue}break}}Qa[N[N[d+12>>2]+4>>2]](f+12|0);M[b+76>>1]=((a>>31)+a|0)+32768>>>16}M[b+78>>1]=P[b+74>>1];N[b+80>>2]=P[b+158>>1]|P[b+160>>1]<<16;if(!l){g=0;break d}a=N[m+32>>2];N[f+12>>2]=b;N[f+16>>2]=1970170211;N[f+20>>2]=65539;g=Bc(N[a+12>>2],0,f+12|0,0);ma:{if(!g){break ma}c=g&255;if((c|0)==163){break ma}if((c|0)!=7){break d}}M[f+20>>1]=7;g=0;na:{oa:{switch(N[b+368>>2]-1|0){case 1:M[f+22>>1]=0;N[f+16>>2]=1094995778;break na;case 3:M[f+22>>1]=1;N[f+16>>2]=1094992453;a=a+4|0;break na;case 0:M[f+22>>1]=2;N[f+16>>2]=1094992451;a=a+8|0;break na;case 2:break oa;default:break d}}a=a+12|0;M[f+22>>1]=3;N[f+16>>2]=1818326065}a=N[a>>2];if(!a){break d}g=Bc(a,0,f+12|0,0)}La=f+1536|0;return g|0}function lf(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;r=La-48|0;La=r;C=N[a+11744>>2];g=(C|0)==2;h=N[(g?a+11756|0:a+11772|0)+4>>2];j=(g?11756:11772)+a|0;k=N[j>>2];p=N[c>>2];m=N[c+4>>2];a:{if(!((k|0)!=(p|0)|(m|0)!=(h|0))){u=1;break a}v=N[(g?a+11748|0:a+11764|0)+4>>2];t=h-v|0;x=t+16|0;o=x>>5;A=(d-p|0)+16|0;i=A>>5;B=(e-m|0)+16|0;n=B>>5;l=n>>31;s=N[(g?11748:11764)+a>>2];w=k-s|0;y=w+16|0;z=y>>5;u=z>>31;g=(l^n)-l|0;D=g>>>8|0;l=(u^z)-u|0;b:{if(D+l>>>0<=8190){n=T(g,l)+32768>>>16|0;break b}u=l&65535;n=T(u,g>>>16|0)+T(g,l>>>16|0)+(T(u,g&65535)+32768>>>16)|0}l=n;q=0-l|0;l=y>>31|1;y=(((B|0)<0?0-l|0:l)|0)<0?q:n;l=i>>31;i=(l^i)-l|0;z=i>>>8|0;l=o>>31;l=(l^o)-l|0;c:{if(z+l>>>0<=8190){q=T(i,l)+32768>>>16|0;break c}o=l&65535;q=T(o,i>>>16|0)+T(i,l>>>16|0)+(T(o,i&65535)+32768>>>16)|0}n=q;l=0;u=1;o=0;E=0-n|0;n=x>>31|1;n=(((A|0)<0?0-n|0:n)|0)<0?E:q;if((n|0)==(y|0)){break a}u=(m-v|0)+16|0;o=u>>5;n=y-n|0;y=(p-s|0)+16|0;x=y>>5;l=x>>31;l=(l^x)-l|0;d:{if(l+D>>>0<=8190){g=T(g,l)+32768>>>16|0;break d}x=l&65535;g=T(x,g>>>16|0)+T(g,l>>>16|0)+(T(x,g&65535)+32768>>>16)|0}l=g;q=0-l|0;l=y>>31|1;q=(((B|0)<0?0-l|0:l)|0)<0?q:g;l=o>>31;l=(l^o)-l|0;e:{if(l+z>>>0<=8190){g=T(i,l)+32768>>>16|0;break e}o=l&65535;g=T(o,i>>>16|0)+T(i,l>>>16|0)+(T(o,i&65535)+32768>>>16)|0}l=g;i=0-l|0;l=u>>31|1;g=fb(q+((((A|0)<0?0-l|0:l)|0)<0?g:i)|0,n);l=g>>31;l=(g^l)-l|0;o=w>>31;o=(o^w)-o|0;f:{if(l+(o>>>8|0)>>>0<=8190){o=T(l,o)+32768>>>16|0;break f}i=l&65535;o=T(i,o>>>16|0)+T(o,l>>>16|0)+(T(i,o&65535)+32768>>>16)|0}g=g>>31|1;u=0-g|0;i=(((w|0)<0?u:g)|0)<0?0-o|0:o;o=t>>31;o=(o^t)-o|0;g:{if(l+(o>>>8|0)>>>0<=8190){l=T(l,o)+32768>>>16|0;break g}w=l&65535;l=T(w,o>>>16|0)+T(o,l>>>16|0)+(T(w,o&65535)+32768>>>16)|0}o=i+s|0;if((k|0)==(s|0)){s=o-k|0;i=s>>31;o=N[a+11696>>2]>((i^s)-i|0)?k:o}l=v+((((t|0)<0?u:g)|0)<0?0-l|0:l)|0;if((h|0)==(v|0)){i=l-h|0;g=i>>31;l=N[a+11696>>2]>((g^i)-g|0)?h:l}if((d|0)==(p|0)){i=o-d|0;g=i>>31;o=N[a+11696>>2]>((g^i)-g|0)?d:o}if((e|0)==(m|0)){g=l-e|0;d=g>>31;l=N[a+11696>>2]>((d^g)-d|0)?e:l}u=1;e=((k+p|0)/-2|0)+o|0;d=e>>31;d=(d^e)-d|0;e=N[a+11692>>2];if((d|0)>(e|0)){break a}g=((h+m|0)/-2|0)+l|0;d=g>>31;if(((d^g)-d|0)>(e|0)){break a}N[j>>2]=o;N[j+4>>2]=l;u=0}e=N[a+11728>>2];j=e;d=N[a+11724>>2];N[r+8>>2]=d;N[r+12>>2]=e;h:{i:{j:{switch(C-2|0){case 0:N[r+40>>2]=2;k:{if(f){e=N[a+11760>>2];h=N[a+11640>>2];i=h>>31;m=N[a+11756>>2];g=m>>31;i=(i^h)-i|0;g=(g^m)-g|0;l:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break l}k=i&65535;i=T(k,g>>>16|0)+T(g,i>>>16|0)+(T(k,g&65535)+32768>>>16)|0}g=i;k=a+3876|0;n=0-g|0;g=h>>31|1;n=(((m|0)<0?0-g|0:g)|0)<0?n:i;h=N[a+11644>>2];i=h>>31;i=(i^h)-i|0;g=e>>31;g=(g^e)-g|0;m:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break m}p=i&65535;i=T(p,g>>>16|0)+T(g,i>>>16|0)+(T(p,g&65535)+32768>>>16)|0}g=i;q=0-g|0;g=h>>31|1;g=n+((((e|0)<0?0-g|0:g)|0)<0?q:i)|0;e=_c(k,e);break k}e=N[a+11760>>2];h=N[a+11640>>2];i=h>>31;m=N[a+11756>>2];g=m>>31;i=(i^h)-i|0;g=(g^m)-g|0;n:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break n}k=i&65535;i=T(k,g>>>16|0)+T(g,i>>>16|0)+(T(k,g&65535)+32768>>>16)|0}g=i;k=0-g|0;g=h>>31|1;n=(((m|0)<0?0-g|0:g)|0)<0?k:i;h=N[a+11644>>2];i=h>>31;i=(i^h)-i|0;g=e>>31;g=(g^e)-g|0;o:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break o}k=i&65535;i=T(k,g>>>16|0)+T(g,i>>>16|0)+(T(k,g&65535)+32768>>>16)|0}g=i;k=0-g|0;g=h>>31|1;g=n+((((e|0)<0?0-g|0:g)|0)<0?k:i)|0;e=_c(b,e)}m=N[a>>2];k=N[m+64>>2];h=k>>31;i=g>>31;i=(i^g)-i|0;v=i>>>8|0;h=(h^k)-h|0;p:{if(v+h>>>0<=8190){n=T(i,h)+32768>>>16|0;break p}p=h&65535;n=T(p,i>>>16|0)+T(i,h>>>16|0)+(T(p,i&65535)+32768>>>16)|0}h=n;q=0-h|0;h=k>>31|1;q=(((g|0)<0?0-h|0:h)|0)<0?q:n;p=N[m+72>>2];k=p>>31;h=e>>31;h=(h^e)-h|0;s=h>>>8|0;k=(k^p)-k|0;q:{if(s+k>>>0<=8190){n=T(h,k)+32768>>>16|0;break q}w=k&65535;n=T(w,h>>>16|0)+T(h,k>>>16|0)+(T(w,h&65535)+32768>>>16)|0}k=n;t=0-k|0;k=p>>31|1;t=q+((((e|0)<0?0-k|0:k)|0)<0?t:n)|0;w=N[a+11652>>2];p=N[m+68>>2];k=p>>31;k=(k^p)-k|0;r:{if(k+v>>>0<=8190){n=T(i,k)+32768>>>16|0;break r}v=k&65535;n=T(v,i>>>16|0)+T(i,k>>>16|0)+(T(v,i&65535)+32768>>>16)|0}i=n;k=t+w|0;q=N[a+11656>>2];t=0-i|0;i=p>>31|1;n=(((g|0)<0?0-i|0:i)|0)<0?t:n;i=N[m+76>>2];g=i>>31;g=(g^i)-g|0;s:{if(g+s>>>0<=8190){h=T(g,h)+32768>>>16|0;break s}m=g&65535;h=T(m,h>>>16|0)+T(h,g>>>16|0)+(T(m,h&65535)+32768>>>16)|0}g=h;m=0-g|0;g=i>>31|1;e=q+(n+((((e|0)<0?0-g|0:g)|0)<0?m:h)|0)|0;N[r+20>>2]=e;N[r+16>>2]=k;if((d|0)==(k|0)&(e|0)==(j|0)){break h}g=N[a+4>>2];e=g+4|0;d=r+16|0;break i;case 2:break j;default:break h}}N[r+40>>2]=4;d=N[a+11760>>2];g=N[a+11640>>2];j=g>>31;i=N[a+11756>>2];e=i>>31;j=(g^j)-j|0;e=(e^i)-e|0;t:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break t}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=0-e|0;e=g>>31|1;i=(((i|0)<0?0-e|0:e)|0)<0?j:h;g=N[a+11644>>2];j=g>>31;j=(g^j)-j|0;e=d>>31;e=(e^d)-e|0;u:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break u}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=_c(b,d);n=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=i+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;i=N[a>>2];h=N[i+64>>2];e=h>>31;d=(d^g)-d|0;p=d>>>8|0;e=(e^h)-e|0;v:{if(p+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break v}m=e&65535;k=T(m,d>>>16|0)+T(d,e>>>16|0)+(T(m,d&65535)+32768>>>16)|0}e=k;q=0-e|0;e=h>>31|1;q=(((g|0)<0?0-e|0:e)|0)<0?q:k;m=N[i+72>>2];h=m>>31;e=j>>31;e=(e^j)-e|0;t=e>>>8|0;h=(h^m)-h|0;w:{if(t+h>>>0<=8190){k=T(e,h)+32768>>>16|0;break w}s=h&65535;k=T(s,e>>>16|0)+T(e,h>>>16|0)+(T(s,e&65535)+32768>>>16)|0}h=k;s=0-h|0;h=m>>31|1;N[r+16>>2]=n+(q+((((j|0)<0?0-h|0:h)|0)<0?s:k)|0);k=N[a+11656>>2];m=N[i+68>>2];h=m>>31;h=(h^m)-h|0;x:{if(h+p>>>0<=8190){h=T(d,h)+32768>>>16|0;break x}p=h&65535;h=T(p,d>>>16|0)+T(d,h>>>16|0)+(T(p,d&65535)+32768>>>16)|0}d=h;n=0-d|0;d=m>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?n:h;g=N[i+76>>2];d=g>>31;d=(d^g)-d|0;y:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break y}i=d&65535;e=T(i,e>>>16|0)+T(e,d>>>16|0)+(T(i,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=g>>31|1;N[r+20>>2]=k+(h+((((j|0)<0?0-d|0:d)|0)<0?i:e)|0);d=N[a+11768>>2];g=N[a+11640>>2];j=g>>31;i=N[a+11764>>2];e=i>>31;j=(g^j)-j|0;e=(e^i)-e|0;z:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break z}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=0-e|0;e=g>>31|1;i=(((i|0)<0?0-e|0:e)|0)<0?j:h;g=N[a+11644>>2];j=g>>31;j=(g^j)-j|0;e=d>>31;e=(e^d)-e|0;A:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break A}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=_c(b,d);n=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=i+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;i=N[a>>2];h=N[i+64>>2];e=h>>31;d=(d^g)-d|0;p=d>>>8|0;e=(e^h)-e|0;B:{if(p+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break B}m=e&65535;k=T(m,d>>>16|0)+T(d,e>>>16|0)+(T(m,d&65535)+32768>>>16)|0}e=k;q=0-e|0;e=h>>31|1;q=(((g|0)<0?0-e|0:e)|0)<0?q:k;m=N[i+72>>2];h=m>>31;e=j>>31;e=(e^j)-e|0;t=e>>>8|0;h=(h^m)-h|0;C:{if(t+h>>>0<=8190){k=T(e,h)+32768>>>16|0;break C}s=h&65535;k=T(s,e>>>16|0)+T(e,h>>>16|0)+(T(s,e&65535)+32768>>>16)|0}h=k;s=0-h|0;h=m>>31|1;N[r+24>>2]=n+(q+((((j|0)<0?0-h|0:h)|0)<0?s:k)|0);k=N[a+11656>>2];m=N[i+68>>2];h=m>>31;h=(h^m)-h|0;D:{if(h+p>>>0<=8190){h=T(d,h)+32768>>>16|0;break D}p=h&65535;h=T(p,d>>>16|0)+T(d,h>>>16|0)+(T(p,d&65535)+32768>>>16)|0}d=h;n=0-d|0;d=m>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?n:h;g=N[i+76>>2];d=g>>31;d=(d^g)-d|0;E:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break E}i=d&65535;e=T(i,e>>>16|0)+T(e,d>>>16|0)+(T(i,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=g>>31|1;N[r+28>>2]=k+(h+((((j|0)<0?0-d|0:d)|0)<0?i:e)|0);d=N[a+11776>>2];g=N[a+11640>>2];j=g>>31;i=N[a+11772>>2];e=i>>31;j=(g^j)-j|0;e=(e^i)-e|0;F:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break F}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=0-e|0;e=g>>31|1;i=(((i|0)<0?0-e|0:e)|0)<0?j:h;g=N[a+11644>>2];j=g>>31;j=(g^j)-j|0;e=d>>31;e=(e^d)-e|0;G:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break G}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=_c(b,d);n=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=i+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;i=N[a>>2];h=N[i+64>>2];e=h>>31;d=(d^g)-d|0;p=d>>>8|0;e=(e^h)-e|0;H:{if(p+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break H}m=e&65535;k=T(m,d>>>16|0)+T(d,e>>>16|0)+(T(m,d&65535)+32768>>>16)|0}e=k;q=0-e|0;e=h>>31|1;q=(((g|0)<0?0-e|0:e)|0)<0?q:k;m=N[i+72>>2];h=m>>31;e=j>>31;e=(e^j)-e|0;t=e>>>8|0;h=(h^m)-h|0;I:{if(t+h>>>0<=8190){k=T(e,h)+32768>>>16|0;break I}s=h&65535;k=T(s,e>>>16|0)+T(e,h>>>16|0)+(T(s,e&65535)+32768>>>16)|0}h=k;s=0-h|0;h=m>>31|1;N[r+32>>2]=n+(q+((((j|0)<0?0-h|0:h)|0)<0?s:k)|0);k=N[a+11656>>2];m=N[i+68>>2];h=m>>31;h=(h^m)-h|0;J:{if(h+p>>>0<=8190){h=T(d,h)+32768>>>16|0;break J}p=h&65535;h=T(p,d>>>16|0)+T(d,h>>>16|0)+(T(p,d&65535)+32768>>>16)|0}d=h;n=0-d|0;d=m>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?n:h;g=N[i+76>>2];d=g>>31;d=(d^g)-d|0;K:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break K}i=d&65535;e=T(i,e>>>16|0)+T(e,d>>>16|0)+(T(i,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=g>>31|1;N[r+36>>2]=k+(h+((((j|0)<0?0-d|0:d)|0)<0?i:e)|0);g=N[a+4>>2];e=g+12|0;d=r+32|0}Qa[N[e>>2]](g,r+8|0);e=N[d+4>>2];N[a+11724>>2]=N[d>>2];N[a+11728>>2]=e}L:{if(f|u){M:{if(f){b=N[c+4>>2];g=a+3876|0;f=N[a+11640>>2];e=f>>31;j=N[c>>2];d=j>>31;e=(e^f)-e|0;d=(d^j)-d|0;N:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break N}i=e&65535;e=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=e;h=0-d|0;d=f>>31|1;h=(((j|0)<0?0-d|0:d)|0)<0?h:e;f=N[a+11644>>2];e=f>>31;e=(e^f)-e|0;d=b>>31;d=(d^b)-d|0;O:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break O}i=e&65535;e=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=e;i=0-d|0;d=f>>31|1;f=h+((((b|0)<0?0-d|0:d)|0)<0?i:e)|0;b=_c(g,b);break M}d=N[c+4>>2];j=N[a+11640>>2];f=j>>31;g=N[c>>2];e=g>>31;f=(f^j)-f|0;e=(e^g)-e|0;P:{if(f+(e>>>8|0)>>>0<=8190){f=T(e,f)+32768>>>16|0;break P}i=f&65535;f=T(i,e>>>16|0)+T(e,f>>>16|0)+(T(i,e&65535)+32768>>>16)|0}e=f;h=0-e|0;e=j>>31|1;g=(((g|0)<0?0-e|0:e)|0)<0?h:f;j=N[a+11644>>2];f=j>>31;f=(f^j)-f|0;e=d>>31;e=(e^d)-e|0;Q:{if(f+(e>>>8|0)>>>0<=8190){f=T(e,f)+32768>>>16|0;break Q}i=f&65535;f=T(i,e>>>16|0)+T(e,f>>>16|0)+(T(i,e&65535)+32768>>>16)|0}e=f;h=0-e|0;e=j>>31|1;f=g+((((d|0)<0?0-e|0:e)|0)<0?h:f)|0;b=_c(b,d)}k=N[a+11652>>2];j=N[a>>2];g=N[j+64>>2];e=g>>31;d=f>>31;d=(d^f)-d|0;m=d>>>8|0;e=(e^g)-e|0;R:{if(m+e>>>0<=8190){h=T(d,e)+32768>>>16|0;break R}i=e&65535;h=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}e=h;i=0-e|0;e=g>>31|1;n=(((f|0)<0?0-e|0:e)|0)<0?i:h;i=N[j+72>>2];g=i>>31;e=b>>31;e=(e^b)-e|0;p=e>>>8|0;g=(g^i)-g|0;S:{if(p+g>>>0<=8190){h=T(e,g)+32768>>>16|0;break S}v=g&65535;h=T(v,e>>>16|0)+T(e,g>>>16|0)+(T(v,e&65535)+32768>>>16)|0}g=h;q=0-g|0;g=i>>31|1;h=k+(n+((((b|0)<0?0-g|0:g)|0)<0?q:h)|0)|0;N[r+16>>2]=h;k=N[a+11656>>2];i=N[j+68>>2];g=i>>31;g=(g^i)-g|0;T:{if(g+m>>>0<=8190){g=T(d,g)+32768>>>16|0;break T}m=g&65535;g=T(m,d>>>16|0)+T(d,g>>>16|0)+(T(m,d&65535)+32768>>>16)|0}d=g;n=0-d|0;d=i>>31|1;g=(((f|0)<0?0-d|0:d)|0)<0?n:g;f=N[j+76>>2];d=f>>31;d=(d^f)-d|0;U:{if(d+p>>>0<=8190){e=T(d,e)+32768>>>16|0;break U}j=d&65535;e=T(j,e>>>16|0)+T(e,d>>>16|0)+(T(j,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=f>>31|1;b=k+(g+((((b|0)<0?0-d|0:d)|0)<0?i:e)|0)|0;N[r+20>>2]=b;if(!((h|0)==N[a+11724>>2]&(b|0)==N[a+11728>>2])){N[r+40>>2]=2;b=N[a+11728>>2];N[r+8>>2]=N[a+11724>>2];N[r+12>>2]=b;b=N[a+4>>2];Qa[N[b+4>>2]](b,r+8|0);b=N[r+20>>2];N[a+11724>>2]=N[r+16>>2];N[a+11728>>2]=b}if(u){break L}}N[c>>2]=o;N[c+4>>2]=l}La=r+48|0}function Pg(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,P=0;F=La-16|0;La=F;a:{b:{c:{d:{e:{f:{if(N[b+24>>2]){break f}g:{h:{i:{j:{k:{l:{m:{n:{o:{if(Q[b>>2]<=a>>>0){k=N[b+4>>2];if(k>>>0>=a>>>0){if(k-a>>>0<7){i=a+6|0;j=i-k|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-k|0))){N[b+24>>2]=4;break f}if((i|0)!=(k|0)){C(k,0,j);k=N[b+4>>2]}j=j+k|0;N[b+4>>2]=j;if(N[b+24>>2]|!k){break f}s=a+4|0;if(s>>>0>=Q[b>>2]){if(j>>>0>=s>>>0){if(j-s>>>0<3){m=i-j|0;if(!((m|0)>=0&(m|0)<=(N[b+8>>2]-j|0))){N[b+24>>2]=4;break f}k=N[c+4>>2];if((i|0)!=(j|0)){C(j,0,m);i=N[b+4>>2]}N[b+4>>2]=i+m;if(!i){break f}j=k<<8|(k&65280)>>>8;L[s|0]=j;L[s+1|0]=j>>>8;j=N[b+24>>2];if(k>>>0>=65536){N[b+24>>2]=j|16;break f}if(j){break f}if(Q[b>>2]<=s>>>0){i=N[b+4>>2];if(s>>>0<=i>>>0){j=(k<<1&131070)+2|0;if(j>>>0>=i-s>>>0){m=j+s|0;j=m-i|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-i|0))){N[b+24>>2]=4;break f}if((i|0)!=(m|0)){C(i,0,j);i=N[b+4>>2]}N[b+4>>2]=i+j;if(!i){break f}p:{q:{if(!k){n=N[c+4>>2];break q}G=b+32|0;while(1){q=N[(e>>>0<=z>>>0?275552:(z<<2)+d|0)>>2];j=O[s|0]|O[s+1|0]<<8;r:{if(((j<<8|j>>>8)&65535)>>>0<=z>>>0){M[294912]=0;u=589824;break r}u=((z<<1)+a|0)+6|0}H=N[g>>2];I=N[f>>2];r=N[f+4>>2];A=N[g+4>>2];L[u|0]=0;L[u+1|0]=0;if(N[b+24>>2]){break g}s:{t:{i=N[b+28>>2];if(!i){if(!xj(G,N[b+36>>2]+1|0)){break t}j=db(1,576);N[F+12>>2]=j;if(!j){break t}wj(G,F+12|0);i=vj(j)}N[b+28>>2]=N[i>>2];j=i+32|0;L[j|0]=0;L[j+1|0]=0;L[j+2|0]=0;L[j+3|0]=0;L[i+24|0]=0;L[i+25|0]=0;L[i+26|0]=0;L[i+27|0]=0;L[i+28|0]=0;L[i+29|0]=0;L[i+30|0]=0;L[i+31|0]=0;L[i+16|0]=0;L[i+17|0]=0;L[i+18|0]=0;L[i+19|0]=0;L[i+20|0]=0;L[i+21|0]=0;L[i+22|0]=0;L[i+23|0]=0;L[i+8|0]=0;L[i+9|0]=0;L[i+10|0]=0;L[i+11|0]=0;L[i+12|0]=0;L[i+13|0]=0;L[i+14|0]=0;L[i+15|0]=0;L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0;L[i+4|0]=0;L[i+5|0]=0;L[i+6|0]=0;L[i+7|0]=0;N[i>>2]=N[b+4>>2];N[i+4>>2]=N[b+8>>2];N[i+32>>2]=N[b+44>>2];N[b+44>>2]=i;if(!N[b+24>>2]){break s}break g}if(N[b+24>>2]){break g}N[b+24>>2]=1;break g}p=N[b+4>>2];if(p>>>0>2]){break p}if((N[b+8>>2]-p|0)<=1){N[b+24>>2]=4;break g}L[p|0]=0;L[p+1|0]=0;l=N[b+4>>2];k=l+2|0;N[b+4>>2]=k;if(N[b+24>>2]|!l){break g}if(Q[b>>2]>p>>>0){break e}if(k>>>0

>>0){break d}if(k-p>>>0>=3){break c}j=p+2|0;i=j-k|0;if(!((i|0)>=0&(i|0)<=(N[b+8>>2]-k|0))){N[b+24>>2]=4;break g}if((l|0)!=(p|0)){C(k,0,i);j=N[b+4>>2]}N[b+4>>2]=i+j;if(!j){break g}x=q>>>0>r>>>0?r:q;j=x<<8|(x&65280)>>>8;L[p|0]=j;L[p+1|0]=j>>>8;j=N[b+24>>2];if(x>>>0>=65536){N[b+24>>2]=j|16;break g}if(j){break g}if(Q[b>>2]>p>>>0){break e}i=N[b+4>>2];if(p>>>0>i>>>0){break d}j=(x<<1&131070)+2|0;if(j>>>0>>0){break c}k=j+p|0;j=k-i|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-i|0))){N[b+24>>2]=4;break g}if((i|0)!=(k|0)){C(i,0,j);i=N[b+4>>2]}N[b+4>>2]=i+j;if(!i){break g}if(x){K=q>>>0>A>>>0?A:q;v=0;while(1){y=N[(v>>>0>=K>>>0?275552:(v<<2)+H|0)>>2];j=O[p|0]|O[p+1|0]<<8;u:{if(((j<<8|j>>>8)&65535)>>>0<=v>>>0){M[294912]=0;n=589824;break u}n=((v<<1)+p|0)+2|0}k=N[h>>2];D=N[h+4>>2];L[n|0]=0;L[n+1|0]=0;if(N[b+24>>2]){break h}i=N[b+28>>2];v:{if(i){j=N[i>>2];break v}l=N[b+32>>2];if((l|0)<0){break i}j=N[b+36>>2]+1|0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}w:{if(l>>>0<=1073741823){j=$a(N[b+40>>2],l<<2);if(j){break w}}N[G>>2]=-1;break i}N[b+32>>2]=l;N[b+40>>2]=j}i=db(1,576);if(!i){break i}x:{y:{o=N[b+36>>2];m=o+1|0;z:{if(m>>>0<=l>>>0){w=N[b+40>>2];break z}while(1){l=((l>>>1|0)+l|0)+8|0;if(m>>>0>=l>>>0){continue}break}if(l>>>0>1073741823){break y}w=$a(N[b+40>>2],l<<2);if(!w){break y}N[b+32>>2]=l;N[b+40>>2]=w;o=N[b+36>>2];m=o+1|0}N[b+36>>2]=m;N[(o<<2)+w>>2]=i;break x}N[G>>2]=-1;N[147456]=0}N[i+540>>2]=0;N[i+504>>2]=i+540;N[i+468>>2]=i+504;N[i+432>>2]=i+468;N[i+396>>2]=i+432;N[i+360>>2]=i+396;N[i+324>>2]=i+360;N[i+288>>2]=i+324;N[i+252>>2]=i+288;N[i+216>>2]=i+252;N[i+180>>2]=i+216;N[i+144>>2]=i+180;N[i+108>>2]=i+144;N[i+72>>2]=i+108;N[i+36>>2]=i+72;j=i+36|0}N[b+28>>2]=j;j=i+32|0;L[j|0]=0;L[j+1|0]=0;L[j+2|0]=0;L[j+3|0]=0;L[i+24|0]=0;L[i+25|0]=0;L[i+26|0]=0;L[i+27|0]=0;L[i+28|0]=0;L[i+29|0]=0;L[i+30|0]=0;L[i+31|0]=0;L[i+16|0]=0;L[i+17|0]=0;L[i+18|0]=0;L[i+19|0]=0;L[i+20|0]=0;L[i+21|0]=0;L[i+22|0]=0;L[i+23|0]=0;L[i+8|0]=0;L[i+9|0]=0;L[i+10|0]=0;L[i+11|0]=0;L[i+12|0]=0;L[i+13|0]=0;L[i+14|0]=0;L[i+15|0]=0;L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0;L[i+4|0]=0;L[i+5|0]=0;L[i+6|0]=0;L[i+7|0]=0;N[i>>2]=N[b+4>>2];N[i+4>>2]=N[b+8>>2];N[i+32>>2]=N[b+44>>2];N[b+44>>2]=i;if(N[b+24>>2]){break h}o=N[b+4>>2];if(o>>>0>2]){break e}w=4;if((N[b+8>>2]-o|0)<4){break j}j=v>>>0>=x>>>0?275552:(v<<1)+I|0;j=O[j|0]|O[j+1|0]<<8;L[o|0]=0;L[o+1|0]=0;L[o+2|0]=0;L[o+3|0]=0;i=N[b+4>>2];N[b+4>>2]=i+4;if(!i){break h}L[o|0]=j;L[o+1|0]=j>>>8;if(N[b+24>>2]){break h}j=o+2|0;if(j>>>0>2]){break e}i=N[b+4>>2];if(i>>>0>>0){break d}if(i-j>>>0>=3){break c}m=o+4|0;l=m-i|0;if((l|0)<0|(l|0)>(N[b+8>>2]-i|0)){break j}if((i|0)!=(m|0)){C(i,0,l);m=N[b+4>>2]}N[b+4>>2]=l+m;if(!m){break h}y=((y|0)<=1?1:y)-1|0;i=y>>>0>D>>>0?D:y;m=i+1|0;l=m<<8|(m&65280)>>>8;L[j|0]=l;L[j+1|0]=l>>>8;l=N[b+24>>2];if(i>>>0>=65535){w=l|16;break j}if(l){break h}if(j>>>0>2]){break e}l=N[b+4>>2];if(l>>>0>>0){break d}m=m&65535?m<<1&131070:2;if(m>>>0>>0){break c}j=(j+m|0)-l|0;if((j|0)<0|(j|0)>(N[b+8>>2]-l|0)){break j}N[b+4>>2]=j+l;if(!l){break h}A:{if(!i){break A}m=0;l=k;if((i|0)!=1){w=i&1;P=i&-2;j=k;while(1){l=o+(m<<1)|0;t=i?j:275552;t=O[t|0]|O[t+1|0]<<8;L[l+4|0]=t;L[l+5|0]=t>>>8;t=o+((m|1)<<1)|0;l=(i|0)!=0;j=(l<<1)+j|0;J=(i|0)==(l|0);E=J?275552:j;E=O[E|0]|O[E+1|0]<<8;L[t+4|0]=E;L[t+5|0]=E>>>8;t=!J;j=j+(t<<1)|0;i=i-(l+t|0)|0;m=m+2|0;if((P|0)!=(m|0)){continue}break}if(!w){break A}l=i?j:275552}j=o+(m<<1)|0;i=O[l|0]|O[l+1|0]<<8;L[j+4|0]=i;L[j+5|0]=i>>>8}m=Cc(b,1);if(!(!m|N[b+24>>2])){i=N[b+44>>2];if(!i){break b}if(Q[i>>2]>n>>>0){break a}B:{C:{D:{o=N[i+8>>2];if((o|0)>=0){j=N[i+12>>2];l=j+1|0;l=(l|0)>0?l:0;if(l>>>0<=o>>>0){break C}while(1){o=((o>>>1|0)+o|0)+8|0;if(l>>>0>=o>>>0){continue}break}if(o>>>0<=357913941){j=$a(N[i+16>>2],T(o,12));if(j){break D}}N[i+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;j=589824;break B}N[i+8>>2]=o;N[i+16>>2]=j;j=N[i+12>>2]}if(j>>>0>>0){C(N[i+16>>2]+T(j,12)|0,0,T(l-j|0,12))}N[i+12>>2]=l;j=(N[i+16>>2]+T(l,12)|0)-12|0}if(N[N[b+44>>2]+8>>2]<0){N[b+24>>2]=N[b+24>>2]|1}N[j+8>>2]=m;N[j>>2]=N[j>>2]&-64|2;i=N[N[b+44>>2]>>2];N[j>>2]=2;N[j+4>>2]=n-i}j=y>>>0>D>>>0?D:y;N[h+4>>2]=D-j;N[h+8>>2]=j+N[h+8>>2];N[h>>2]=k+(j<<1);v=v+1|0;if(x>>>0>v>>>0){continue}break}}l=Cc(b,1);if(!(!l|N[b+24>>2])){k=N[b+44>>2];if(!k){break b}if(Q[k>>2]>u>>>0){break a}E:{F:{G:{j=N[k+8>>2];if((j|0)>=0){n=N[k+12>>2];i=n+1|0;i=(i|0)>0?i:0;if(i>>>0<=j>>>0){break F}while(1){j=((j>>>1|0)+j|0)+8|0;if(i>>>0>=j>>>0){continue}break}if(j>>>0<=357913941){m=$a(N[k+16>>2],T(j,12));if(m){break G}}N[k+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;j=589824;break E}N[k+8>>2]=j;N[k+16>>2]=m;n=N[k+12>>2]}if(i>>>0>n>>>0){C(N[k+16>>2]+T(n,12)|0,0,T(i-n|0,12))}N[k+12>>2]=i;j=(N[k+16>>2]+T(i,12)|0)-12|0}if(N[N[b+44>>2]+8>>2]<0){N[b+24>>2]=N[b+24>>2]|1}N[j+8>>2]=l;N[j>>2]=N[j>>2]&-64|2;k=N[N[b+44>>2]>>2];N[j>>2]=2;N[j+4>>2]=u-k}i=q;if(r>>>0>>0){i=r}N[f+4>>2]=r-i;N[f+8>>2]=N[f+8>>2]+i;N[f>>2]=(i<<1)+I;j=q>>>0>A>>>0?A:q;N[g+4>>2]=A-j;N[g+8>>2]=j+N[g+8>>2];N[g>>2]=(j<<2)+H;n=N[c+4>>2];z=z+1|0;if(n>>>0>z>>>0){continue}break}}l=0;L[a+2|0]=0;L[a+3|0]=0;d=ad(b);j=N[c>>2];if(!ee(b,d)){break k}if(!n){L[d|0]=0;L[d+1|0]=1;break n}e=n-1&2147483647;h=e+1|0;f=h&3;c=0;if(e>>>0<3){m=-2;k=j;i=0;break o}q=h&-4;i=0;m=-2;k=j;g=0;while(1){r=i;i=O[k|0]|O[k+1|0]<<8;i=(i<<8|i>>>8)&65535;r=r+((i|0)!=(m+1|0))|0;u=i+1|0;i=O[k+2|0]|O[k+3|0]<<8;i=(i<<8|i>>>8)&65535;r=r+((u|0)!=(i|0))|0;u=i+1|0;i=O[k+4|0]|O[k+5|0]<<8;i=(i<<8|i>>>8)&65535;m=O[k+6|0]|O[k+7|0]<<8;m=(m<<8|m>>>8)&65535;i=(r+((u|0)!=(i|0))|0)+((m|0)!=(i+1|0))|0;k=k+8|0;g=g+4|0;if((q|0)!=(g|0)){continue}break}break o}break e}break c}break d}break e}break c}break d}break e}break c}break d}break e}if(f){while(1){q=m+1|0;g=O[k|0]|O[k+1|0]<<8;m=(g<<8|g>>>8)&65535;i=((q|0)!=(m|0))+i|0;k=k+2|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=T(i,3);g=c>>>0>e>>>0?256:512;L[d|0]=g;L[d+1|0]=g>>>8;if((c>>>0<=e>>>0)-1|0){break n}if(!tj(b,d)){break k}c=0;H:{if(e>>>0<3){i=-2;m=0;k=j;break H}e=h&-4;i=-2;m=0;k=j;g=0;while(1){h=O[k|0]|O[k+1|0]<<8;h=(h<<8|h>>>8)&65535;i=((h|0)!=(i+1|0))+m|0;q=h+1|0;h=O[k+2|0]|O[k+3|0]<<8;h=(h<<8|h>>>8)&65535;q=i+((q|0)!=(h|0))|0;r=h+1|0;h=O[k+4|0]|O[k+5|0]<<8;h=(h<<8|h>>>8)&65535;i=O[k+6|0]|O[k+7|0]<<8;i=(i<<8|i>>>8)&65535;m=(q+((r|0)!=(h|0))|0)+((i|0)!=(h+1|0))|0;k=k+8|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}if(f){while(1){g=i+1|0;e=O[k|0]|O[k+1|0]<<8;i=(e<<8|e>>>8)&65535;m=((g|0)!=(i|0))+m|0;k=k+2|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=d+2|0;if(!ee(b,c)){break k}d=m<<8|(m&65280)>>>8;L[c|0]=d;L[c+1|0]=d>>>8;if(m>>>0>=65536){N[b+24>>2]=N[b+24>>2]|16}if(!sj(b,c,T(m&65535,6)+2|0)){break k}if(!m){break m}f=(n<<1)+j|0;l=-2;m=0;k=-1;while(1){e=l+1|0;d=O[j|0]|O[j+1|0]<<8;l=(d<<8|d>>>8)&65535;if((e|0)!=(l|0)){k=k+1|0;e=O[c|0]|O[c+1|0]<<8;I:{if(k>>>0>=((e<<8|e>>>8)&65535)>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break I}e=(c+T(k,6)|0)+2|0}L[e|0]=d;L[e+1|0]=d>>>8;e=O[c|0]|O[c+1|0]<<8;J:{if(((e<<8|e>>>8)&65535)>>>0<=k>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break J}e=(c+T(k,6)|0)+2|0}g=m<<8|(m&65280)>>>8;L[e+4|0]=g;L[e+5|0]=g>>>8}e=O[c|0]|O[c+1|0]<<8;K:{if(((e<<8|e>>>8)&65535)>>>0<=k>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break K}e=(c+T(k,6)|0)+2|0}L[e+2|0]=d;L[e+3|0]=d>>>8;m=m+1|0;j=j+2|0;if((f|0)!=(j|0)){continue}break}break m}d=d+2|0;if(!ee(b,d)){break k}c=n<<8|(n&65280)>>>8;L[d|0]=c;L[d+1|0]=c>>>8;c=N[b+24>>2];if(n>>>0>=65536){c=c|16;break l}if(c){break k}if(d>>>0>2]){break e}e=N[b+4>>2];if(e>>>0>>0){break d}f=(n<<1&131070)+2|0;if(f>>>0>>0){break c}c=4;f=(d+f|0)-e|0;if((f|0)<0|(f|0)>(N[b+8>>2]-e|0)){break l}N[b+4>>2]=e+f;if(!e){break k}if(!n){break m}i=0;if((n|0)!=1){e=n&1;f=n&-2;while(1){c=d+(i<<1)|0;g=n?j:275552;g=O[g|0]|O[g+1|0]<<8;L[c+2|0]=g;L[c+3|0]=g>>>8;g=d+((i|1)<<1)|0;c=(n|0)!=0;h=(c<<1)+j|0;j=(c|0)==(n|0);k=j?275552:h;k=O[k|0]|O[k+1|0]<<8;L[g+2|0]=k;L[g+3|0]=k>>>8;g=!j;j=h+(g<<1)|0;n=n-(c+g|0)|0;i=i+2|0;if((f|0)!=(i|0)){continue}break}if(!e){break m}j=n?j:275552}c=d+(i<<1)|0;d=O[j|0]|O[j+1|0]<<8;L[c+2|0]=d;L[c+3|0]=d>>>8}l=1;de(b,a+2|0,Cc(b,1));break f}N[b+24>>2]=c;$c(b);break f}$c(b);break f}N[b+24>>2]=w;break h}if(N[b+24>>2]){break h}N[b+24>>2]=1;$c(b);break g}$c(b)}$c(b);l=0}La=F+16|0;return l}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}ba(9271,14296,479,13575);B()}ba(11056,14296,480,13575);B()}function xq(a,b,c,d,e){var 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,t=0,u=0,v=0;k=La-32|0;La=k;n=N[c+80>>2];j=d+3|0;a:{if(N[c+44>>2]!=1265525857|j>>>0>e>>>0){break a}f=T(d,20)+n|0;if(O[f+12|0]&32|O[f+18|0]!=15){break a}g=d+1|0;f=T(g,20)+n|0;if(O[f+12|0]&32|O[f+18|0]!=4){break a}h=T(d,20)+n|0;if(O[h+52|0]&32){break a}h=h+40|0;if(O[h+18|0]!=6){break a}Ib(c,g,j);N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;N[f+16>>2]=N[h+16>>2];g=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=g;g=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=g;N[h+16>>2]=N[k+24>>2];f=N[k+20>>2];N[h+8>>2]=N[k+16>>2];N[h+12>>2]=f;f=N[k+12>>2];N[h>>2]=N[k+8>>2];N[h+4>>2]=f}g=N[N[a>>2]+16>>2];b:{c:{d:{e:{if(!(!N[a+100>>2]|e>>>0>>0)){h=e;j=d;f:{g:{switch(g|0){case 0:f=T(d,20)+n|0;if(O[f+52|0]&32){break f}f=O[f+58|0];if(f>>>0>31|!(1<>2]=N[f>>2];N[k+12>>2]=N[f+20>>2];N[k+16>>2]=(g|0)==1?N[f+40>>2]:0;h=N[a+16>>2];if(h){f=N[a+12>>2];h=f+T(h,12)|0;while(1){if(Dc(b,P[f>>1],k+8|0,2,O[a+24|0])){break d}f=f+12|0;if((h|0)!=(f|0)){continue}break}g=N[N[a>>2]+16>>2]}h:{if((g|0)!=1){break h}h=N[a+16>>2];if(!h){break h}f=N[a+12>>2];h=f+T(h,12)|0;while(1){if(Dc(b,P[f>>1],k+8|0,3,O[a+24|0])){break d}f=f+12|0;if((h|0)!=(f|0)){continue}break}}h=e;break b}h=e;j=d;if((g|0)!=2){break b}}if(O[(T(d,20)+n|0)+18|0]!=14){break b}i=1;f=d+1|0;j=e>>>0>f>>>0?e:f;f=d;while(1){f=f+1|0;if(f>>>0>=e>>>0){h=d;break b}h=T(f,20)+n|0;if(O[h+12|0]&32){h=d;j=f;break b}h=O[h+18|0];if(1<>>0<=31:0){continue}break}j=f;break c}i=1;j=d+2|0;if(j>>>0>=e>>>0){h=d;break b}i:{while(1){f=T(j,20)+n|0;if(O[f+12|0]&32){h=d;break b}f=O[f+18|0];if(f>>>0>31|!(1<>>0>31|!(1<>>0>=f>>>0){break k}if(O[(T(g,20)+s|0)-24|0]==4){break j}}if(f>>>0>j>>>0){continue}}break}i=i?(d|0)!=(h|0)|j-h>>>0>2:0;o:{if(d>>>0>=h>>>0){break o}f=d;l=h-f&3;if(l){g=0;while(1){m=T(f,20)+q|0;j=O[m+16|0];L[m+16|0]=j>>>0>=3?3:j;f=f+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if((d^-1)+h>>>0<=2){break o}while(1){j=T(f,20)+q|0;g=O[j+16|0];L[j+16|0]=g>>>0>=3?3:g;g=O[j+36|0];L[j+36|0]=g>>>0>=3?3:g;g=O[j+56|0];L[j+56|0]=g>>>0>=3?3:g;g=j;j=O[j+76|0];L[g+76|0]=j>>>0>=3?3:j;f=f+4|0;if((h|0)!=(f|0)){continue}break}}if(e>>>0>h>>>0){L[(T(h,20)+n|0)+19|0]=4}if(i){L[(T(d,20)+n|0)+19|0]=1}p:{if(!O[a+4|0]){break p}l=N[c+44>>2];f=h;while(1){j=f;f=f+1|0;if(f>>>0>=e>>>0){break p}if(O[(T(f,20)+s|0)+16|0]!=4){continue}break}i=e-1|0;if(i>>>0<=f>>>0){break p}g=T(f,20)+n|0;p=(l|0)!=1265525857;while(1){q:{o=T(i,20);l=o+n|0;r:{if(O[l+12|0]&32){break r}m=O[l+18|0];if(m>>>0>31){break r}if(1<>>0>f>>>0){continue}break p}i=i-1|0;if(i>>>0>f>>>0){continue}break p}break}if((m|0)==4){break p}N[k+24>>2]=N[g+16>>2];m=N[g+12>>2];N[k+16>>2]=N[g+8>>2];N[k+20>>2]=m;m=N[g+4>>2];N[k+8>>2]=N[g>>2];N[k+12>>2]=m;F(g,(T(j,20)+n|0)+40|0,T(i-f|0,20));N[l+16>>2]=N[k+24>>2];f=N[k+20>>2];N[l+8>>2]=N[k+16>>2];N[l+12>>2]=f;f=N[k+12>>2];N[l>>2]=N[k+8>>2];N[l+4>>2]=f}o=d>>>0>>0;if(o){j=0;f=d;while(1){i=T(f,20)+n|0;l=O[i+18|0];s:{if(!(l>>>0>31|!(1<>>0>=g>>>0){break s}g=g-1|0;l=O[(T(g,20)+q|0)+16|0];if((l|0)==2){continue}break}L[i+19|0]=l;break s}g=O[i+19|0];if((g|0)==13){break s}if(!((l|0)!=13|d>>>0>=f>>>0|O[i-2|0]!=8)){L[(i-4|0)+3|0]=g}j=g}f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=h+1|0;if(f>>>0>>0){p=h-1|0;j=0;l=h;while(1){i=l;t:{u:{m=T(f,20);g=m+n|0;if(O[g+12|0]&32){g=O[(m+s|0)+16|0];l=1<>>0>31){break u}g=i+1|0;l=f;if(g>>>0>=f>>>0){break t}m=m+q|0;if((h+j|0)-i&1){g=T(g,20)+q|0;if(O[g+16|0]<=12){L[g+16|0]=O[m+16|0]}g=i+2|0}l=f;if((i|0)==(j+p|0)){break t}while(1){i=T(g,20)+q|0;if(O[i+16|0]<=12){L[i+16|0]=O[m+16|0]}if(O[i+36|0]<=12){L[i+36|0]=O[m+16|0]}g=g+2|0;if(g>>>0>>0){continue}break}l=f;break t}l=g>>>0>31?i:l&8320?f:i}j=j+1|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}u=e-d|0;i=T(d,20)+n|0;p=O[i+15|0];v=d>>>0>=e>>>0;v:{if(v){break v}f=d;h=u&3;if(h){g=0;while(1){L[(T(f,20)+q|0)+12|0]=f-d;f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}if((d^-1)+e>>>0<3){break v}while(1){h=T(f,20)+q|0;j=f-d|0;L[h+32|0]=j+1;L[h+12|0]=j;L[h+52|0]=j+2;L[h+72|0]=j+3;f=f+4|0;if((f|0)!=(e|0)){continue}break}}if(u>>>0>=2){l=i+19|0;j=1;while(1){h=T(j,20);m=h+l|0;g=j;while(1){w:{f=g;if(!f){f=0;break w}g=f-1|0;if(O[l+T(g,20)|0]>O[m|0]){continue}}break}if((f|0)!=(j|0)){h=h+i|0;N[k+24>>2]=N[h+16>>2];g=N[h+12>>2];N[k+16>>2]=N[h+8>>2];N[k+20>>2]=g;g=N[h+4>>2];N[k+8>>2]=N[h>>2];N[k+12>>2]=g;h=i+T(f,20)|0;F(h+20|0,h,T(j-f|0,20));N[h+16>>2]=N[k+24>>2];f=N[k+20>>2];N[h+8>>2]=N[k+16>>2];N[h+12>>2]=f;f=N[k+12>>2];N[h>>2]=N[k+8>>2];N[h+4>>2]=f}j=j+1|0;if((u|0)!=(j|0)){continue}break}}j=e;x:{if(!o){break x}j=d;m=e;h=e;y:{while(1){z:{switch(O[(T(j,20)+q|0)+16|0]-2|0){case 0:h=(e|0)==(h|0)?j:h;m=j;break;case 2:break y;default:break z}}j=j+1|0;if((j|0)!=(e|0)){continue}break}j=e}if(h>>>0>=m>>>0){break x}f=N[c+68>>2];o=m+1|0;g=f>>>0>>0?f:o;i=f>>>0>>0?f:h;A:{if(g>>>0>>0){break A}l=g-1|0;if(l>>>0<=i>>>0){break A}r=N[c+80>>2];while(1){f=r+T(l,20)|0;N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;g=r+T(i,20)|0;N[f+16>>2]=N[g+16>>2];t=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=t;t=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=t;N[g+16>>2]=N[k+24>>2];f=N[k+20>>2];N[g+8>>2]=N[k+16>>2];N[g+12>>2]=f;f=N[k+12>>2];N[g>>2]=N[k+8>>2];N[g+4>>2]=f;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}}B:{if(!O[c+63|0]){break B}f=N[c+68>>2];g=f>>>0>>0?f:o;i=f>>>0>>0?f:h;if(g>>>0>>0){break B}l=g-1|0;if(l>>>0<=i>>>0){break B}o=N[c+88>>2];while(1){f=o+T(l,20)|0;N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;g=o+T(i,20)|0;N[f+16>>2]=N[g+16>>2];r=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=r;r=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=r;N[g+16>>2]=N[k+24>>2];f=N[k+20>>2];N[g+8>>2]=N[k+16>>2];N[g+12>>2]=f;f=N[k+12>>2];N[g>>2]=N[k+8>>2];N[g+4>>2]=f;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}}f=h;while(1){g=f;f=h;h=f+1|0;f=O[(T(f,20)+s|0)+16|0];C:{if(f>>>0>31){f=g;break C}if(!(1<>2];l=f>>>0>>0?f:h;i=f>>>0>>0?f:g;D:{if(l>>>0>>0){break D}l=l-1|0;if(l>>>0<=i>>>0){break D}r=N[c+80>>2];while(1){o=r+T(l,20)|0;N[k+24>>2]=N[o+16>>2];f=N[o+12>>2];N[k+16>>2]=N[o+8>>2];N[k+20>>2]=f;f=N[o+4>>2];N[k+8>>2]=N[o>>2];N[k+12>>2]=f;f=r+T(i,20)|0;N[o+16>>2]=N[f+16>>2];t=N[f+12>>2];N[o+8>>2]=N[f+8>>2];N[o+12>>2]=t;t=N[f+4>>2];N[o>>2]=N[f>>2];N[o+4>>2]=t;N[f+16>>2]=N[k+24>>2];o=N[k+20>>2];N[f+8>>2]=N[k+16>>2];N[f+12>>2]=o;o=N[k+12>>2];N[f>>2]=N[k+8>>2];N[f+4>>2]=o;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}}f=h;if(!O[c+63|0]){break C}i=N[c+68>>2];l=f>>>0>i>>>0?i:h;i=g>>>0>i>>>0?i:g;if(l>>>0>>0){break C}l=l-1|0;if(l>>>0<=i>>>0){break C}o=N[c+88>>2];while(1){f=o+T(l,20)|0;N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;g=o+T(i,20)|0;N[f+16>>2]=N[g+16>>2];r=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=r;r=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=r;N[g+16>>2]=N[k+24>>2];f=N[k+20>>2];N[g+8>>2]=N[k+16>>2];N[g+12>>2]=f;f=N[k+12>>2];N[g>>2]=N[k+8>>2];N[g+4>>2]=f;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}f=h}if(h>>>0<=m>>>0){continue}break}}E:{if(!(O[a+4|0]|u>>>0>127)){if(e>>>0<=j>>>0){break E}l=j;while(1){f=O[(T(l,20)+q|0)+12|0];F:{if((f|0)==255){break F}f=d+f|0;i=l;g=i;if((f|0)!=(g|0)){while(1){h=T(f,20)+q|0;m=O[h+12|0];L[h+12|0]=255;i=f>>>0>>0?i:f;g=f>>>0>g>>>0?g:f;f=d+m|0;if((l|0)!=(f|0)){continue}break}}f=i+1|0;h=g>>>0>>0?j:g;if(f-h>>>0<2){break F}Ib(c,h,f)}l=l+1|0;if((l|0)!=(e|0)){continue}break}break E}if(e-j>>>0<2){break E}Ib(c,j,e)}G:{if(v){break G}g=d;h=u&7;if(h){f=0;while(1){L[(T(g,20)+q|0)+12|0]=p;g=g+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}f=d;if((f^-1)+e>>>0>=7){while(1){f=T(g,20)+q|0;L[f+32|0]=p;L[f+12|0]=p;L[f+52|0]=p;L[f+72|0]=p;L[f+92|0]=p;L[f+112|0]=p;L[f+132|0]=p;L[f+152|0]=p;g=g+8|0;if((g|0)!=(e|0)){continue}break}f=d}while(1){h=T(f,20);if(O[(h+q|0)+16|0]!=1){break G}h=h+n|0;N[h+4>>2]=N[h+4>>2]|N[a+100>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}g=N[a+120>>2];l=O[a+4|0];g=l|N[N[a>>2]+20>>2]?g:N[a+112>>2]|g;H:{if(d>>>0>=j>>>0){break H}f=d;h=j-f&3;if(h){i=0;while(1){m=T(f,20)+n|0;N[m+4>>2]=N[m+4>>2]|g;f=f+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if((d^-1)+j>>>0<=2){break H}while(1){h=T(f,20)+n|0;N[h+4>>2]=N[h+4>>2]|g;N[h+24>>2]=N[h+24>>2]|g;N[h+44>>2]=N[h+44>>2]|g;h=h- -64|0;N[h>>2]=N[h>>2]|g;f=f+4|0;if((j|0)!=(f|0)){continue}break}}f=j+1|0;I:{if(f>>>0>=e>>>0){break I}g=N[a+124>>2]|(N[a+116>>2]|N[a+112>>2]);h=(j^-1)+e&3;if(h){i=0;while(1){m=T(f,20)+n|0;N[m+4>>2]=g|N[m+4>>2];f=f+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if((e-j|0)-2>>>0<3){break I}while(1){h=T(f,20)+n|0;N[h+4>>2]=g|N[h+4>>2];N[h+24>>2]=g|N[h+24>>2];N[h+44>>2]=g|N[h+44>>2];h=h- -64|0;N[h>>2]=g|N[h>>2];f=f+4|0;if((f|0)!=(e|0)){continue}break}}J:{if(!l|N[c+44>>2]!=1147500129){break J}i=d+1|0;if(i>>>0>=j>>>0){break J}f=d;while(1){c=f;f=i;h=T(c,20);K:{if(O[(h+s|0)+16|0]!=15){break K}g=T(f,20);if(O[(g+s|0)+16|0]!=4){break K}c=c+2|0;if((c|0)!=(j|0)&O[(T(c,20)+s|0)+16|0]==6){break K}c=h+n|0;N[c+4>>2]=N[c+4>>2]|N[a+112>>2];c=g+n|0;N[c+4>>2]=N[c+4>>2]|N[a+112>>2]}i=f+1|0;if((i|0)!=(j|0)){continue}break}}L:{if(!N[a+108>>2]|j+2>>>0>=e>>>0){break L}while(1){c=T(j,20)+n|0;N[k+8>>2]=N[c+20>>2];N[k+12>>2]=N[c+40>>2];c=j+1|0;M:{h=N[a+32>>2];if(!h){break M}g=j+2|0;f=N[a+28>>2];h=f+T(h,12)|0;while(1){if(!Dc(b,P[f>>1],k+8|0,2,O[a+40|0])){f=f+12|0;if((h|0)!=(f|0)){continue}break M}break}b=T(c,20)+n|0;N[b+4>>2]=N[b+4>>2]|N[a+108>>2];b=T(g,20)+n|0;N[b+4>>2]=N[b+4>>2]|N[a+108>>2];break L}f=j+3|0;j=c;if(e>>>0>f>>>0){continue}break}}g=d+1|0;if(g>>>0>>0){i=d;while(1){f=i;i=g;b=T(g,20)+n|0;N:{if(O[b+12|0]&32){break N}b=O[b+18|0];if((b|0)!=5|!(1<>2]=N[b+4>>2]&(N[a+120>>2]^-1);if(d>>>0>=f>>>0){break N}while(1){b=T(f,20)+n|0;O:{if(O[b+12|0]&32){break O}b=O[b+18|0];if(b>>>0>31){break O}if(1<>2]=N[b+4>>2]&(N[a+120>>2]^-1);if(d>>>0>>0){continue}break}}g=i+1|0;if((g|0)!=(e|0)){continue}break}}La=k+32|0}function qC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;f=La-6752|0;La=f;h=N[N[a+4>>2]>>2];c=f- -64|0;C(c|4,0,2748);N[f+16>>2]=0;N[f+20>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+64>>2]=h;N[f+8>>2]=c;o=N[b+4>>2];n=N[o+84>>2];q=N[n+156>>2];w=N[q>>2];i=N[o+88>>2];j=N[i+40>>2];h=N[j+12>>2];a:{b:{if(!h){g=e>>>16&15;break b}c=N[j+4>>2];g=e>>>16&15;if((c|0)==(g|0)){break a}}N[j+4>>2]=g;N[j+32>>2]=N[i+36>>2];b=N[i+32>>2];N[j+24>>2]=N[i+28>>2];N[j+28>>2]=b;b=N[i+24>>2];N[j+16>>2]=N[i+20>>2];N[j+20>>2]=b;b=N[i+16>>2];N[j+8>>2]=N[i+12>>2];N[j+12>>2]=b;h=N[j+12>>2];c=g}N[f+6712>>2]=0;N[f+6704>>2]=h;N[f+6700>>2]=o;b=N[j+16>>2];N[f+6724>>2]=0;N[f+6720>>2]=c;N[f+6716>>2]=0;N[f+6708>>2]=b;N[f>>2]=o;g=N[o+116>>2];N[f+4>>2]=g;c:{if(!g){h=Dg(o,f|4,a);if(h){break c}g=N[f+4>>2];N[o+116>>2]=g;N[o+120>>2]=311}if(Q[g+4>>2]<=d>>>0){h=6;break c}i=d<<1;h=P[i+N[g+8>>2]>>1]&16383;j=((h<<2)+g|0)+24|0;b=N[j>>2];d:{if(b){break d}while(1){m=N[N[g>>2]+100>>2];c=N[(h<<2)+288960>>2];l=N[(N[c+4>>2]<<2)+288672>>2];h=N[l+4>>2];e:{if((h|0)<=0){b=0;if(!h){break e}h=6;break c}b=Qa[N[m+4>>2]](m,h)|0;if(!b){h=64;break c}C(b,0,h)}N[b+36>>2]=g;N[b>>2]=c;f:{c=N[l+8>>2];if(!c){break f}h=Qa[c|0](b,N[g>>2])|0;if(!h){break f}c=N[l+16>>2];if(c){Qa[c|0](b)}Qa[N[m+8>>2]](m,b);if((h|0)!=-1){break c}h=P[i+N[g+8>>2]>>1]&16383;j=((h<<2)+g|0)+24|0;b=N[j>>2];if(!b){continue}break d}break}N[j>>2]=b}c=N[N[b>>2]+4>>2];N[f+12>>2]=b;y=N[(c<<2)+288672>>2];c=N[y+12>>2];g:{if(c){Qa[c|0](b,f+6700|0);break g}c=N[f+6704>>2];N[b+4>>2]=N[f+6700>>2];N[b+8>>2]=c;N[b+28>>2]=N[f+6724>>2];h=f+6716|0;c=N[h+4>>2];N[b+20>>2]=N[h>>2];N[b+24>>2]=c;h=f+6708|0;c=N[h+4>>2];N[b+12>>2]=N[h>>2];N[b+16>>2]=c}c=N[y+24>>2];if(c){h=Qa[c|0](f- -64|0,b)|0;if(h){break c}}h=vc(o,d,e&-10246|10241);if(h){break c}h:{if(N[f+6720>>2]!=1){break h}c=L[N[o+128>>2]+56|0];if(O[a+20|0]|(c|0)>=0?c:0){break h}h=N[o+84>>2];r=N[N[o+88>>2]+40>>2];p=N[f+4>>2];N[f+6748>>2]=0;N[f+6744>>2]=0;s=P[o+68>>1];m=P[p+372>>1];l=P[r+8>>1];N[f+6736>>2]=N[73415];a=N[73414];N[f+6728>>2]=N[73413];N[f+6732>>2]=a;if(!s){break h}a=N[N[(N[N[b>>2]+4>>2]<<2)+288672>>2]+20>>2];if(!a){break h}Qa[a|0](b,f+6744|0,f+6748|0);a=N[f+6748>>2];i:{j:{k:{if(((a|0)==N[p+376>>2]|(a|0)<=0)&(l|0)==(m|0)){break k}j=N[N[f+4>>2]+396>>2];i=P[o+68>>1];g=P[N[o+88>>2]+12>>1];e=sp(j,i,g,a);c=N[r+12>>2];N[p+376>>2]=a;a=P[r+8>>1];z=p,A=ob(e,c)+32768>>16,N[z+384>>2]=A;M[p+372>>1]=a;if((l|0)==(m|0)){break k}e=N[f+6744>>2];break j}e=N[f+6744>>2];if((e|0)<=0|N[p+380>>2]==(e|0)){break i}j=N[N[f+4>>2]+396>>2];i=P[o+68>>1];g=P[N[o+88>>2]+12>>1]}g=sp(j,i,g,e);c=N[r+16>>2];N[p+380>>2]=e;a=P[r+8>>1];z=p,A=ob(g,c)+32768>>16,N[z+388>>2]=A;M[p+372>>1]=a;a=s<<16;z=p,A=fb((a-g|0)-524288|0,a),N[z+392>>2]=A}a=h+108|0;mn(a,N[p+384>>2],N[p+388>>2]);N[f+6740>>2]=N[p+392>>2];kg(a,f+6728|0)}a=O[q+8|0];L[f+16|0]=a;l:{if(!a){break l}j=N[q+24>>2];c=N[q+20>>2];N[f+28>>2]=c;N[f+32>>2]=j;i=N[q+16>>2];a=N[q+12>>2];N[f+20>>2]=a;N[f+24>>2]=i;g=N[q+28>>2];h=N[q+32>>2];e=f+6736|0;N[e>>2]=c;N[e+4>>2]=j;N[f+36>>2]=g;N[f+40>>2]=h;N[f+6728>>2]=a;N[f+6732>>2]=i;o=N[f+6740>>2];c=o>>31;t=(c^o)-c|0;c=a>>31;v=(c^a)-c|0;m:{if((t>>>8|0)+v>>>0<=8190){c=T(t,v)+32768>>>16|0;break m}c=v&65535;c=T(c,t>>>16|0)+T(t,v>>>16|0)+(T(c,t&65535)+32768>>>16)|0}r=a>>31|1;g=0-r|0;c=(((o|0)<0?g:r)|0)<0?0-c|0:c;h=N[f+6732>>2];e=h>>31;p=N[f+6736>>2];a=p>>31;e=(e^h)-e|0;u=(a^p)-a|0;n:{if(e+(u>>>8|0)>>>0<=8190){a=T(e,u)+32768>>>16|0;break n}a=e&65535;a=T(a,u>>>16|0)+T(u,e>>>16|0)+(T(a,u&65535)+32768>>>16)|0}s=h>>31|1;h=0-s|0;a=(((p|0)<0?h:s)|0)<0?0-a|0:a;if((c|0)==(a|0)){break l}x=c-a|0;a=x>>31;k=(a^x)-a|0;q=k>>>17^65535;o:{if(q>>>0>=e>>>0){c=((e<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break o}c=2147483647;a=k>>>1|0;i=a+(e<<16)|0;e=(e>>>16|0)+(a>>>0>i>>>0)|0;if(e>>>0>=k>>>0){break o}l=W(e);a=32-l|0;e=i>>>a|e<>>0)/(k>>>0)|0;j=e-T(c,k)|0;i=i<>>31;e=a>>>0>=k>>>0;j=a-(e?k:0)|0;c=e|c<<1;i=i<<1;a=31-l|0}if((l|0)==31){break o}while(1){e=j<<1|i>>>31;m=e>>>0>=k>>>0;e=i>>>30&1|e-(m?k:0)<<1;l=e>>>0>=k>>>0;j=e-(l?k:0)|0;c=c<<2|m<<1|l;i=i<<2;a=a-2|0;if(a){continue}break}}N[f+6732>>2]=(((x|0)<0?h:s)|0)<0?c:0-c|0;p:{if(q>>>0>=u>>>0){c=((u<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break p}c=2147483647;a=k>>>1|0;h=a+(u<<16)|0;e=(u>>>16|0)+(a>>>0>h>>>0)|0;if(e>>>0>=k>>>0){break p}l=W(e);a=32-l|0;e=h>>>a|e<>>0)/(k>>>0)|0;j=e-T(c,k)|0;i=h<>>31;e=a>>>0>=k>>>0;j=a-(e?k:0)|0;c=e|c<<1;i=i<<1;a=31-l|0}if((l|0)==31){break p}while(1){e=j<<1|i>>>31;l=e>>>0>=k>>>0;e=i>>>30&1|e-(l?k:0)<<1;h=e>>>0>=k>>>0;j=e-(h?k:0)|0;c=h|(c<<2|l<<1);i=i<<2;a=a-2|0;if(a){continue}break}}a=p>>31|1;N[f+6736>>2]=(((x|0)<0?0-a|0:a)|0)<0?c:0-c|0;q:{if(q>>>0>=t>>>0){c=((t<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break q}c=2147483647;a=k>>>1|0;h=a+(t<<16)|0;e=(t>>>16|0)+(a>>>0>h>>>0)|0;if(e>>>0>=k>>>0){break q}j=W(e);a=32-j|0;e=h>>>a|e<>>0)/(k>>>0)|0;e=e-T(c,k)|0;i=h<>>31;h=a>>>0>=k>>>0;e=a-(h?k:0)|0;c=h|c<<1;i=i<<1;a=31-j|0}if((j|0)==31){break q}while(1){e=e<<1|i>>>31;j=e>>>0>=k>>>0;e=i>>>30&1|e-(j?k:0)<<1;h=e>>>0>=k>>>0;e=e-(h?k:0)|0;c=h|(c<<2|j<<1);i=i<<2;a=a-2|0;if(a){continue}break}}h=f+36|0;a=o>>31|1;N[f+6728>>2]=(((x|0)<0?0-a|0:a)|0)<0?0-c|0:c;r:{if(q>>>0>=v>>>0){c=((v<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break r}c=2147483647;a=k>>>1|0;i=a+(v<<16)|0;e=(v>>>16|0)+(a>>>0>i>>>0)|0;if(e>>>0>=k>>>0){break r}l=W(e);a=32-l|0;e=i>>>a|e<>>0)/(k>>>0)|0;e=e-T(c,k)|0;i=i<>>31;j=a>>>0>=k>>>0;e=a-(j?k:0)|0;c=j|c<<1;i=i<<1;a=31-l|0}if((l|0)==31){break r}while(1){e=e<<1|i>>>31;l=e>>>0>=k>>>0;e=i>>>30&1|e-(l?k:0)<<1;j=e>>>0>=k>>>0;e=e-(j?k:0)|0;c=j|(c<<2|l<<1);i=i<<2;a=a-2|0;if(a){continue}break}}N[f+6740>>2]=(((x|0)<0?g:r)|0)<0?0-c|0:c;id(h,f+6728|0)}j=7;s:{if(N[n+72>>2]!=1869968492){break s}t:{if(!O[f+16|0]){break t}e=M[n+110>>1];if((e|0)<=0){break t}i=N[f+40>>2];h=N[f+36>>2];g=N[n+112>>2];if(e>>>0>=4){a=e&-4;c=0;while(1){N[g>>2]=h+N[g>>2];N[g+4>>2]=i+N[g+4>>2];N[g+8>>2]=h+N[g+8>>2];N[g+16>>2]=h+N[g+16>>2];N[g+24>>2]=h+N[g+24>>2];N[g+12>>2]=i+N[g+12>>2];N[g+20>>2]=i+N[g+20>>2];N[g+28>>2]=i+N[g+28>>2];g=g+32|0;c=c+4|0;if((a|0)!=(c|0)){continue}break}}a=e&3;if(!a){break t}c=0;while(1){N[g>>2]=h+N[g>>2];N[g+4>>2]=i+N[g+4>>2];g=g+8|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}e=N[f+80>>2];N[f+48>>2]=e;c=N[f+72>>2];N[f+44>>2]=c;i=N[n+40>>2];g=i>>31;h=N[f+68>>2];a=h>>31;g=(g^i)-g|0;j=(a^h)-a|0;u:{if(g+(j>>>8|0)>>>0<=8190){g=T(g,j)+32768>>>16|0;break u}a=g&65535;g=T(a,j>>>16|0)+T(j,g>>>16|0)+(T(a,j&65535)+32768>>>16)|0}a=g;N[f+56>>2]=e;j=0;e=0-a|0;a=i>>31|1;N[f+52>>2]=c+((((h|0)<0?0-a|0:a)|0)<0?e:g);if(!P[n+110>>1]){break s}a=N[y+28>>2];if(a){h=Qa[a|0](d,f- -64|0,w+20|0,b)|0;if(h){break c}}v:{if(N[f+6720>>2]!=1){c=N[f+120>>2];if(!(O[f+2804|0]&4|(c|0)<2)){e=N[f+128>>2];c=(e+T(c,44)|0)-44|0;s=N[c+8>>2];g=N[c+4>>2];h=N[e+8>>2];m=N[e+4>>2];c=h-m|0;e=(m|0)<24?c-8|0:c;i=e+32&-64;N[f+44>>2]=i;l=N[f+52>>2]-g|0;c=l+s|0;c=(l|0)<24?c+8|0:c;g=c+32&-64;N[f+52>>2]=g;if(!((m|0)<=0|(h|0)>(i|0))){i=i+-64|0;N[f+44>>2]=i}if(!((l|0)<=0|(g|0)>(s|0))){g=g- -64|0;N[f+52>>2]=g}N[n+144>>2]=i-e;a=g-c|0;break v}g=N[f+52>>2];h=g+32&-64;N[f+52>>2]=h;e=N[f+44>>2];c=e+32&-64;N[f+44>>2]=c;N[n+144>>2]=c-e;a=h-g|0;break v}g=N[f+52>>2];h=g+32&-64;N[f+52>>2]=h;e=N[f+44>>2];c=e+32&-64;N[f+44>>2]=c;N[n+144>>2]=c-e;a=h-g|0}N[n+148>>2]=a}g=N[n+48>>2]-N[n+36>>2]|0;h=N[n+44>>2]-N[n+32>>2]|0;e=h>>31;c=N[b+8>>2];a=c>>31;e=(e^h)-e|0;i=(a^c)-a|0;w:{if(e+(i>>>8|0)>>>0<=8190){e=T(e,i)+32768>>>16|0;break w}a=e&65535;e=T(a,i>>>16|0)+T(i,e>>>16|0)+(T(a,i&65535)+32768>>>16)|0}a=e;i=0-a|0;a=h>>31|1;N[f+6728>>2]=(((c|0)<0?0-a|0:a)|0)<0?i:e;c=N[b+12>>2];a=c>>31;h=(a^c)-a|0;a=g>>31;e=(a^g)-a|0;x:{if((h>>>8|0)+e>>>0<=8190){e=T(e,h)+32768>>>16|0;break x}a=e&65535;e=T(a,h>>>16|0)+T(h,e>>>16|0)+(T(a,h&65535)+32768>>>16)|0}a=e;h=0-a|0;a=g>>31|1;N[f+6732>>2]=(((c|0)<0?0-a|0:a)|0)<0?h:e;if(O[f+16|0]){c=f+20|0;g=N[w+24>>2];y:{if(!g){break y}a=M[w+22>>1];if((a|0)<=0){break y}a=(a<<3)+g|0;while(1){id(g,c);g=g+8|0;if(a>>>0>g>>>0){continue}break}}id(f+6728|0,c)}m=N[f+44>>2];l=M[w+22>>1];z:{if(!m|(l|0)<=0){break z}i=l&3;g=N[w+24>>2];A:{if(l>>>0<4){break A}e=l-4|0;a=(e>>>2|0)+1|0;c=a&1;if(e>>>0>=4){a=a&2147483646;h=0;while(1){N[g>>2]=N[g>>2]-m;N[g+8>>2]=N[g+8>>2]-m;N[g+16>>2]=N[g+16>>2]-m;N[g+24>>2]=N[g+24>>2]-m;N[g+32>>2]=N[g+32>>2]-m;N[g+40>>2]=N[g+40>>2]-m;N[g+48>>2]=N[g+48>>2]-m;N[g+56>>2]=N[g+56>>2]-m;g=g- -64|0;h=h+2|0;if((a|0)!=(h|0)){continue}break}}if(!c){break A}N[g>>2]=N[g>>2]-m;N[g+8>>2]=N[g+8>>2]-m;N[g+16>>2]=N[g+16>>2]-m;N[g+24>>2]=N[g+24>>2]-m;g=g+32|0}if(!i){break z}h=0;while(1){N[g>>2]=N[g>>2]-m;g=g+8|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}B:{if(!l){g=0;c=0;i=0;h=0;break B}a=N[w+24>>2];i=N[a+4>>2];h=N[a>>2];if((l|0)<2){g=i;c=h;break B}l=(l<<3)+a|0;e=a+8|0;c=h;g=i;while(1){m=N[a+12>>2];g=(g|0)<(m|0)?m:g;i=(i|0)>(m|0)?m:i;a=N[a+8>>2];c=(a|0)>(c|0)?a:c;h=(a|0)<(h|0)?a:h;a=e;e=a+8|0;if(l>>>0>e>>>0){continue}break}}e=h&-64;N[n+32>>2]=e;a=g+63&-64;N[n+36>>2]=a;N[n+28>>2]=a-(i&-64);N[n+24>>2]=(c+63&-64)-e;N[n+44>>2]=e+N[f+6728>>2]&-64;N[n+48>>2]=a+N[f+6732>>2]&-64;C:{D:{if(N[f+6720>>2]==1){break D}if(!(O[N[n+4>>2]+8|0]&4)){a=N[f+4>>2];if(!O[b+32|0]|(Q[a+4>>2]<=d>>>0|M[N[a+8>>2]+(d<<1)>>1]>=0)){break D}}g=ob(N[n+40>>2],N[b+8>>2]);N[n+144>>2]=0;N[n+148>>2]=0;break C}if(!N[n+40>>2]){g=0;break C}g=N[f+52>>2]-N[f+44>>2]|0}d=N[n+52>>2];c=d>>31;b=N[b+12>>2];a=b>>31;c=(c^d)-c|0;e=(a^b)-a|0;E:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break E}a=c&65535;c=T(a,e>>>16|0)+T(e,c>>>16|0)+(T(a,e&65535)+32768>>>16)|0}a=c;N[n+72>>2]=1869968492;N[n+40>>2]=g+32&-64;e=0-a|0;a=d>>31|1;N[n+52>>2]=((((b|0)<0?0-a|0:a)|0)<0?e:c)+32&-64;h=j}N[f+8>>2]=0;N[f>>2]=0;N[f+4>>2]=0;b=N[f+64>>2];F:{if(!b){break F}N[f+108>>2]=0;N[f+112>>2]=0;a=N[f+116>>2];if((a|0)!=(f+136|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+116>>2]=0}N[f+120>>2]=0;N[f+124>>2]=0;a=N[f+128>>2];if((a|0)!=(f+928|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+128>>2]=0}a=f+1456|0;N[a>>2]=0;N[a+4>>2]=0;a=N[f+1464>>2];if((a|0)!=(f+1484|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+1464>>2]=0}a=f+1468|0;N[a>>2]=0;N[a+4>>2]=0;a=N[f+1476>>2];if((a|0)!=(f+2276|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+1476>>2]=0}a=N[f+104>>2];if((a|0)!=(f+2816|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+104>>2]=0}N[f+96>>2]=0;N[f+100>>2]=0;a=N[f+92>>2];if((a|0)==(f+2848|0)|!a){break F}Qa[N[b+8>>2]](b,a)}La=f+6752|0;return h|0}function ol(a,b){var 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;a:{b:{e=N[b+4>>2];c=a+4|0;c:{if(e>>>0>c>>>0){break c}d=N[b+8>>2];if(c>>>0>d>>>0|d-c>>>0<4){break c}h=N[b+12>>2]-4|0;N[b+12>>2]=h;if(a>>>0>>0|(h|0)<=0){break c}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>d-a>>>0){break c}f=h-c|0;N[b+12>>2]=f;if((f|0)<=0){break c}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=UE(j,0,12,0);if(Pa){break c}h=a+16|0;if(c){if(d>>>0>>0|c>>>0>d-h>>>0){break c}c=f-c|0;N[b+12>>2]=c;if((c|0)<=0){break c}}a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);if(!a){return 1}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);o=a>>>0<=1?1:a;f=h+T(j,12)|0;while(1){if(d>>>0>>0|e>>>0>f>>>0){break a}e=d-f|0;if(e>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}a=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0<13|a>>>0>e>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=N[b+32>>2];e=N[c+12>>2];N[b+4>>2]=e;h=N[c+16>>2];c=h+e|0;N[b+8>>2]=c;d:{e:{f:{g:{h:{if((h|0)>=0){e=c>>>0<=f>>>0|e>>>0>f>>>0;N[b+4>>2]=e?0:f;c=c-f|0;a=e?0:(a>>>0>c>>>0?c:a)+f|0;N[b+8>>2]=a;g=1;i:{switch((O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24))>>>24|0){case 4:break g;case 5:break h;case 0:break i;case 1:break e;case 2:break f;default:break d}}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<16){break d}c=d-16|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-20|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!yc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){j:{k:{l:{m:{n:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,m,0);if(Pa){break d}o:{if(!d){d=N[b+12>>2];break o}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break n}c=h}if(!e){break l}d=e;break m}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=d<<2;if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break k}break j}d=0;if(N[b+12>>2]>0){break j}g=0;break d}h=h+j|0;g=j+(e<<2)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+4|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=1;break d}break b}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<20){break d}c=d-20|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=d-36|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-40|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!yc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){p:{q:{r:{s:{t:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,m,0);if(Pa){break d}u:{if(!d){d=N[b+12>>2];break u}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break t}c=h}if(!e){break r}d=e;break s}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=d<<3;if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break q}break p}d=0;if(N[b+12>>2]>0){break p}g=0;break d}h=h+j|0;g=j+(e<<3)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+8|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=(O[f+28|0]|O[f+29|0]<<8|(O[f+30|0]<<16|O[f+31|0]<<24))!=0;break d}g=yc(f+12|0,b);break d}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<28){break d}c=d-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=d-44|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-48|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!yc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){v:{w:{x:{y:{z:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,m,0);if(Pa){break d}A:{if(!d){d=N[b+12>>2];break A}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break z}c=h}if(!e){break x}d=e;break y}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=T(d,6);if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break w}break v}e=N[b+12>>2]+e|0;N[b+12>>2]=e;d=0;if((e|0)>0){break v}g=0;break d}h=h+j|0;g=j+T(e,6)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+6|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=0;if(!(O[f+28|0]|O[f+29|0]<<8|(O[f+30|0]<<16|O[f+31|0]<<24))|!(O[f+32|0]|O[f+33|0]<<8|(O[f+34|0]<<16|O[f+35|0]<<24))){break d}g=(O[f+36|0]|O[f+37|0]<<8|(O[f+38|0]<<16|O[f+39|0]<<24))!=0;break d}g=0;j=f+12|0;if(j>>>0>a>>>0|a-j>>>0<16){break d}e=d-16|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<4){break d}e=f+16|0;if(e>>>0>a>>>0|a-e>>>0<4){break d}a=d-20|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(a&128){break d}if(!yc(j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);i=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((i|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);k=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);l=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;p=i<<1;c=0;a=0;e=0;B:{C:{while(1){D:{E:{F:{G:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,p,0);if(Pa){break d}H:{if(!d){d=N[b+12>>2];break H}if(l>>>0>2]){break d}m=N[b+8>>2];if(m>>>0>>0|d>>>0>m-l>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,i,0);if(Pa){break d}d=T(h,i);if((d|0)<0){break d}c=T(c,i);if((c|0)<(d|0)){break G}c=h}if(!e){break E}d=e;break F}m=l+(d<<1)|0;g=l+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(m>>>0>g>>>0){continue}break}c=h}g=0;if(k>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}m=d<<3;if(m>>>0>h-k>>>0){break d}h=N[b+12>>2]-m|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=h+(e-d|0)|0;N[b+12>>2]=h;if((h|0)<=0){break d}if((d|0)>(e|0)){m=k+m|0;g=k+(e<<3)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+8|0;if(m>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}e=0;if(!d){break D}a=0;while(1){c=k+(a<<3)|0;g=O[c+4|0]|O[c+5|0]<<8;if((g|0)!=65535){g=((g<<8|g>>>8)&65535)+1|0;e=e>>>0>g>>>0?e:g}c=O[c+6|0]|O[c+7|0]<<8;if((c|0)!=65535){c=((c<<8|c>>>8)&65535)+1|0;e=c>>>0>>0?e:c}a=a+1|0;if((d|0)!=(a|0)){continue}break}break D}h=N[b+12>>2];if((h|0)<=0){break C}e=0;if((a|0)>=(c|0)){continue}}break}c=N[b+4>>2];a=f+28|0;if(c>>>0<=a>>>0){break B}g=0;break d}g=0;break d}d=N[b+8>>2];if(d>>>0>>0){g=0;break d}if(d-a>>>0<4){g=0;break d}h=h-4|0;N[b+12>>2]=h;if((h|0)<=0){g=0;break d}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(a&128){g=0;break d}g=1;if(!e){break d}g=c;c=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;if(g>>>0>c>>>0){g=0;break d}if(c>>>0>d>>>0){g=0;break d}g=0;a=e<<2;if(a>>>0>d-c>>>0){break d}a=h-a|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break d}while(1){a=c+(d<<2)|0;if(a>>>0>2]){g=0;break d}h=N[b+8>>2];if(h>>>0>>0){g=0;break d}if(h-a>>>0<4){g=0;break d}h=N[b+12>>2]-4|0;N[b+12>>2]=h;if((h|0)<=0){g=0;break d}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(a&128){g=0;break d}if(yc(c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){g=1;d=d+1|0;if((e|0)==(d|0)){break d}continue}break}g=0}a=N[b+32>>2];e=N[a+12>>2];N[b+4>>2]=e;a=N[a+16>>2];d=a+e|0;N[b+8>>2]=d;if((a|0)<0){break b}if(!g){break a}a=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+f|0;g=1;n=n+1|0;if((o|0)!=(n|0)){continue}break}}return g}ba(16656,14279,195,9642);B()}return 0}function Td(a,b,c,d,e){var 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,t=0;g=La-240|0;La=g;N[g+8>>2]=0;i=6;a:{if(!b|!((d|0)!=0|(c|0)<0)){break a}l=N[b>>2];m=l&2;n=m?N[b+16>>2]!=0:n;N[g+12>>2]=0;b:{if(!a){i=33;l=0;break b}h=N[a>>2];c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch((l&7)-1|0){case 0:f=Qa[N[h+4>>2]](h,40)|0;if(f){break o}break d;case 3:f=Qa[N[h+4>>2]](h,40)|0;if(!f){break d}L[f|0]=0;L[f+1|0]=0;L[f+2|0]=0;L[f+3|0]=0;L[f+4|0]=0;L[f+5|0]=0;L[f+6|0]=0;L[f+7|0]=0;L[f+32|0]=0;L[f+33|0]=0;L[f+34|0]=0;L[f+35|0]=0;L[f+36|0]=0;L[f+37|0]=0;L[f+38|0]=0;L[f+39|0]=0;L[f+24|0]=0;L[f+25|0]=0;L[f+26|0]=0;L[f+27|0]=0;L[f+28|0]=0;L[f+29|0]=0;L[f+30|0]=0;L[f+31|0]=0;L[f+16|0]=0;L[f+17|0]=0;L[f+18|0]=0;L[f+19|0]=0;L[f+20|0]=0;L[f+21|0]=0;L[f+22|0]=0;L[f+23|0]=0;L[f+8|0]=0;L[f+9|0]=0;L[f+10|0]=0;L[f+11|0]=0;L[f+12|0]=0;L[f+13|0]=0;L[f+14|0]=0;L[f+15|0]=0;i=df(f,N[b+12>>2]);if(!i){break n}Qa[N[h+8>>2]](h,f);l=0;break m;case 1:f=N[b+16>>2];if(f){break n}break;default:break p}}l=0;if(!m){break c}a=N[b+16>>2];if(!a){break c}b=N[a+24>>2];if(!b){break c}Qa[b|0](a);break c}L[f|0]=0;L[f+1|0]=0;L[f+2|0]=0;L[f+3|0]=0;L[f+4|0]=0;L[f+5|0]=0;L[f+6|0]=0;L[f+7|0]=0;L[f+32|0]=0;L[f+33|0]=0;L[f+34|0]=0;L[f+35|0]=0;L[f+36|0]=0;L[f+37|0]=0;L[f+38|0]=0;L[f+39|0]=0;l=f+24|0;L[l|0]=0;L[l+1|0]=0;L[l+2|0]=0;L[l+3|0]=0;L[l+4|0]=0;L[l+5|0]=0;L[l+6|0]=0;L[l+7|0]=0;L[f+16|0]=0;L[f+17|0]=0;L[f+18|0]=0;L[f+19|0]=0;L[f+20|0]=0;L[f+21|0]=0;L[f+22|0]=0;L[f+23|0]=0;L[f+8|0]=0;L[f+9|0]=0;L[f+10|0]=0;L[f+11|0]=0;L[f+12|0]=0;L[f+13|0]=0;L[f+14|0]=0;L[f+15|0]=0;l=N[b+8>>2];i=N[b+4>>2];N[f+24>>2]=0;N[f>>2]=i;N[f+4>>2]=l}N[f+28>>2]=h;N[g+12>>2]=f;o=N[a>>2];q:{h=N[b>>2];if(!(h&8)){break q}l=N[b+20>>2];if(!l){break q}i=32;if(L[N[l>>2]]&1){i=0;f=0;if(h&16){i=N[b+24>>2];f=N[b+28>>2]}i=Dn(l,g+12|0,n,c,i,f,g+8|0);if(!i){break k}f=N[g+12>>2];if(!f){break b}}a=N[f+28>>2];b=N[f+24>>2];if(b){Qa[b|0](f)}if(n){break b}Qa[N[a+8>>2]](a,f);break b}h=N[a+16>>2];if((h|0)<=0){i=11;l=0;break c}f=a+20|0;m=f+(h<<2)|0;i=11;h=0;while(1){l=N[f>>2];if(L[N[l>>2]]&1){i=0;h=0;if(O[b|0]&16){i=N[b+24>>2];h=N[b+28>>2]}i=Dn(l,g+12|0,n,c,i,h,g+8|0);if(!i){break k}r:{if(!e){break r}if(cb(N[N[N[f>>2]>>2]+8>>2],15504)|(i&255)!=142){break r}h=N[g+12>>2];i=N[h+20>>2];if(i){if(Qa[i|0](h,0,0,0)|0){break l}}N[h+8>>2]=0;i=Cn(a,h,c,d);if(i){break r}a=N[h+28>>2];b=N[h+24>>2];if(b){Qa[b|0](h)}i=0;if(n){break a}Qa[N[a+8>>2]](a,h);break a}h=l;if((i&255)!=2){break m}}f=f+4|0;if(m>>>0>f>>>0){continue}break}l=h}s:{t:{h=i&255;switch(h-81|0){case 0:case 4:break s;case 1:case 2:case 3:break c;default:break t}}if((h|0)!=2){break c}}if(!e){break f}h=N[g+12>>2];if(h){break l}h=0;r=1;break j}e=N[h+20>>2];if(e){if(Qa[e|0](h,0,0,0)|0){break j}}N[h+8>>2]=0;e=N[h+4>>2];if(!e){break j}f=N[h+20>>2];u:{if(f){i=Qa[f|0](h,0,g+112|0,128)|0;break u}i=e>>>0>=128?128:e;F(g+112|0,N[h>>2],i)}N[h+8>>2]=i;if(i>>>0<128){break j}v:{w:{if(O[g+194|0]|(O[g+112|0]|O[g+186|0])){break w}e=O[g+113|0];if(!e|e>>>0>33|(O[g+175|0]|O[(e+g|0)+114|0])){break w}e=L[g+195|0];if((e|0)<0){break w}i=ci(a,h,((O[g+198|0]|(O[g+196|0]<<16|(e&255)<<24|O[g+197|0]<<8))+127&2147483520)+128|0,c,d);if((i&255)!=2){break v}}i=ci(a,h,0,c,d)}e=i&255;if((e|0)==85){break i}if((e|0)!=2){break h}break i}a=Qa[N[o+4>>2]](o,12)|0;if(!a){i=64;break b}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;e=N[g+8>>2];N[a+8>>2]=e;b=N[e+96>>2];h=N[b+20>>2];N[a>>2]=h;N[(h?h+4|0:b+16|0)>>2]=a;N[b+20>>2]=a;x:{if((c|0)>=0){i=ei(e,0);if(i){break x}i=Bn(e,g+112|0);if(i){break x}N[e+88>>2]=N[g+112>>2]}a=N[e+8>>2];y:{if(!(a&1)){break y}i=M[e+74>>1];if((i|0)<0){i=0-i|0;M[e+74>>1]=i}if(a&32){break y}M[e+78>>1]=i}z:{if(!(a&2)){break z}b=N[e+28>>2];if((b|0)<=0){break z}c=N[e+32>>2];i=0;while(1){a=c+(i<<4)|0;f=M[a>>1];if((f|0)<0){f=0-f|0;M[a>>1]=f}h=N[a+8>>2];if((h|0)<0){N[a+8>>2]=0-h}h=N[a+12>>2];if((h|0)<0){N[a+12>>2]=0-h}if(f<<16>>16<0){N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0}i=i+1|0;if((b|0)!=(i|0)){continue}break}}a=N[e+128>>2];N[a+64>>2]=1;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=65536;N[a>>2]=65536;N[a+4>>2]=0;L[a+56|0]=255;if(d){N[d>>2]=e;i=0;break a}zn(e);i=0;break a}a=N[e+96>>2];if(!a){break a}c=N[e+128>>2];b=N[c+64>>2];N[c+64>>2]=b-1;if((b|0)>1){break a}b=N[a+16>>2];if(!b){break a}h=a+16|0;c=N[a+8>>2];while(1){if((e|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break a}break}d=N[b>>2];l=d?d+4|0:h;h=N[b+4>>2];N[l>>2]=h;N[(h?h:a+20|0)>>2]=d;Qa[N[c+8>>2]](c,b);ic(c,e,a);break a}i=85}if(!(O[b|0]&4)){break h}m=N[a>>2];i=N[b+12>>2];N[g+112>>2]=0;A:{B:{C:{if(h){f=N[h+20>>2];D:{if(f){e=85;if(Qa[f|0](h,0,0,0)|0){break D}}N[h+8>>2]=0;N[g+112>>2]=0;e=Rd(h,333319,g- -64|0)}N[g+116>>2]=0;N[g+16>>2]=e;e=N[h+20>>2];if(!e){break C}if(!(Qa[e|0](h,0,0,0)|0)){break C}N[g+20>>2]=85;break B}N[g+16>>2]=81;N[g+20>>2]=81;N[g+116>>2]=0;N[g+120>>2]=0;e=bi(a,g,i,g+112|8,g- -64|8);N[g+124>>2]=0;N[g+24>>2]=e;f=nb(i);e=f+18|0;E:{F:{if((f|0)>=-17){j=N[a>>2];e=Qa[N[j+4>>2]](j,e)|0;if(e){break F}j=64;break E}j=6;if(e){break E}e=0}F(e,i,f);f=e+f|0;j=O[17697]|O[17698]<<8;L[f+16|0]=j;L[f+17|0]=j>>>8;j=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);k=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[f+8|0]=k;L[f+9|0]=k>>>8;L[f+10|0]=k>>>16;L[f+11|0]=k>>>24;L[f+12|0]=j;L[f+13|0]=j>>>8;L[f+14|0]=j>>>16;L[f+15|0]=j>>>24;j=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);k=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[f|0]=k;L[f+1|0]=k>>>8;L[f+2|0]=k>>>16;L[f+3|0]=k>>>24;L[f+4|0]=j;L[f+5|0]=j>>>8;L[f+6|0]=j>>>16;L[f+7|0]=j>>>24;N[g+124>>2]=e;N[g+76>>2]=0;j=0}e=0;N[g+128>>2]=0;N[g+28>>2]=j;f=6;j=nb(i);k=j+6|0;G:{H:{if((j|0)>=-5){e=N[a>>2];e=Qa[N[e+4>>2]](e,k)|0;if(e){break H}f=64;break G}if(k){break G}}F(e,i,j);f=0;j=e+j|0;k=O[17697]|O[17698]<<8;L[j+4|0]=k;L[j+5|0]=k>>>8;k=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[j|0]=k;L[j+1|0]=k>>>8;L[j+2|0]=k>>>16;L[j+3|0]=k>>>24;N[g+128>>2]=e;N[g+80>>2]=0}N[g+132>>2]=0;N[g+32>>2]=f;e=64;f=64;j=hd(N[a>>2],i,22019);if(j){N[g+84>>2]=0;N[g+132>>2]=j;f=0}N[g+136>>2]=0;N[g+36>>2]=f;f=hd(N[a>>2],i,22047);if(f){N[g+88>>2]=0;N[g+136>>2]=f;e=0}f=0;N[g+140>>2]=0;N[g+40>>2]=e;e=ai(a,g,i,g+140|0,g+92|0);N[g+144>>2]=0;N[g+44>>2]=e;s=g,t=$h(a,g,i,g+144|0,g+96|0),N[s+48>>2]=t;break A}N[h+8>>2]=0;N[g+116>>2]=0;s=g,t=Rd(h,333312,g- -64|4),N[s+20>>2]=t}N[g+120>>2]=0;I:{J:{e=N[h+20>>2];if(!e){break J}if(!(Qa[e|0](h,0,0,0)|0)){break J}N[g+24>>2]=85;break I}N[h+8>>2]=0;s=g,t=bi(a,g,i,g+112|8,g- -64|8),N[s+24>>2]=t}N[g+124>>2]=0;K:{L:{e=N[h+20>>2];if(!e){break L}if(!(Qa[e|0](h,0,0,0)|0)){break L}N[g+28>>2]=85;break K}N[h+8>>2]=0;f=nb(i);j=f+18|0;M:{N:{if((f|0)>=-17){e=N[a>>2];e=Qa[N[e+4>>2]](e,j)|0;if(e){break N}e=64;break M}e=6;if(j){break M}e=0}F(e,i,f);f=e+f|0;j=O[17697]|O[17698]<<8;L[f+16|0]=j;L[f+17|0]=j>>>8;j=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);k=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[f+8|0]=k;L[f+9|0]=k>>>8;L[f+10|0]=k>>>16;L[f+11|0]=k>>>24;L[f+12|0]=j;L[f+13|0]=j>>>8;L[f+14|0]=j>>>16;L[f+15|0]=j>>>24;j=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);k=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[f|0]=k;L[f+1|0]=k>>>8;L[f+2|0]=k>>>16;L[f+3|0]=k>>>24;L[f+4|0]=j;L[f+5|0]=j>>>8;L[f+6|0]=j>>>16;L[f+7|0]=j>>>24;N[g+124>>2]=e;N[g+76>>2]=0;e=0}N[g+28>>2]=e}N[g+128>>2]=0;O:{P:{e=N[h+20>>2];if(!e){break P}if(!(Qa[e|0](h,0,0,0)|0)){break P}N[g+32>>2]=85;break O}N[h+8>>2]=0;e=6;j=nb(i);f=j+6|0;Q:{R:{if((j|0)>=-5){e=N[a>>2];f=Qa[N[e+4>>2]](e,f)|0;if(f){break R}e=64;break Q}if(f){break Q}f=0}F(f,i,j);e=0;j=f+j|0;k=O[17697]|O[17698]<<8;L[j+4|0]=k;L[j+5|0]=k>>>8;k=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[j|0]=k;L[j+1|0]=k>>>8;L[j+2|0]=k>>>16;L[j+3|0]=k>>>24;N[g+128>>2]=f;N[g+80>>2]=0}N[g+32>>2]=e}N[g+132>>2]=0;S:{T:{e=N[h+20>>2];if(!e){break T}if(!(Qa[e|0](h,0,0,0)|0)){break T}N[g+36>>2]=85;break S}N[h+8>>2]=0;e=hd(N[a>>2],i,22019);if(e){N[g+84>>2]=0;N[g+132>>2]=e;e=0}else{e=64}N[g+36>>2]=e}N[g+136>>2]=0;U:{V:{e=N[h+20>>2];if(!e){break V}if(!(Qa[e|0](h,0,0,0)|0)){break V}N[g+40>>2]=85;break U}N[h+8>>2]=0;e=hd(N[a>>2],i,22047);if(e){N[g+88>>2]=0;N[g+136>>2]=e;e=0}else{e=64}N[g+40>>2]=e}N[g+140>>2]=0;W:{X:{e=N[h+20>>2];if(!e){break X}if(!(Qa[e|0](h,0,0,0)|0)){break X}N[g+44>>2]=85;break W}N[h+8>>2]=0;s=g,t=ai(a,g,i,g+140|0,g+92|0),N[s+44>>2]=t}f=0;N[g+144>>2]=0;Y:{e=N[h+20>>2];if(!e){break Y}if(!(Qa[e|0](h,0,0,0)|0)){break Y}N[g+48>>2]=85;break A}N[h+8>>2]=0;s=g,t=$h(a,g,i,g+144|0,g+96|0),N[s+48>>2]=t}j=2;i=0;while(1){Z:{p=N[(i<<3)+26356>>2]-3|0;_:{if(!(!(f&255)|p>>>0>1)){f=1;break _}e=i<<2;if(N[e+(g+16|0)>>2]){break _}j=N[e+(g+112|0)>>2];if(!j){j=N[b+12>>2]}$:{k=N[a>>2];e=Qa[N[k+4>>2]](k,40)|0;aa:{if(!e){j=64;break aa}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+32|0]=0;L[e+33|0]=0;L[e+34|0]=0;L[e+35|0]=0;L[e+36|0]=0;L[e+37|0]=0;L[e+38|0]=0;L[e+39|0]=0;L[e+24|0]=0;L[e+25|0]=0;L[e+26|0]=0;L[e+27|0]=0;L[e+28|0]=0;L[e+29|0]=0;L[e+30|0]=0;L[e+31|0]=0;L[e+16|0]=0;L[e+17|0]=0;L[e+18|0]=0;L[e+19|0]=0;L[e+20|0]=0;L[e+21|0]=0;L[e+22|0]=0;L[e+23|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;j=df(e,j);if(!j){break $}Qa[N[k+8>>2]](k,e)}f=p>>>0<2?(j|0)==81?1:f:f;break _}N[e+28>>2]=k;j=ci(a,e,N[(g- -64|0)+(i<<2)>>2],c,d);k=N[e+28>>2];q=N[e+24>>2];if(q){Qa[q|0](e)}Qa[N[k+8>>2]](k,e);if(!j){j=0;break Z}f=p>>>0<2?1:f}i=i+1|0;if((i|0)!=9){continue}}break}a=N[g+112>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+112>>2]=0}a=N[g+116>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+116>>2]=0}a=N[g+120>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+120>>2]=0}a=N[g+124>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+128>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+132>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+136>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+140>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+144>>2];if(a){Qa[N[m+8>>2]](m,a)}if(!j){break g}break e}if(i){break f}}i=0;if(r){break a}a=N[h+28>>2];b=N[h+24>>2];if(b){Qa[b|0](h)}if(n){break a}Qa[N[a+8>>2]](a,h);break a}if((i&255)!=2){break c}}i=2;break c}i=64;l=0}a=N[g+12>>2];if(!a){break b}b=N[a+28>>2];c=N[a+24>>2];if(c){Qa[c|0](a)}if(n){break b}Qa[N[b+8>>2]](b,a)}a=N[g+8>>2];if(!a){break a}ic(o,a,l)}La=g+240|0;return i}function Jx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0;g=La-256|0;La=g;a:{if(!b){e=36;break a}j=N[a+4>>2];if(!j){e=35;break a}if(!(N[N[j+128>>2]+52>>2]|Q[j+16>>2]>c>>>0)){e=6;break a}if(d&2){d=O[j+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(O[j+9|0]&32?9:11)|d}o=d&2;N[b+44>>2]=(o?12:48)+b;b:{if(d&8){break b}e=N[b+116>>2];if(O[j+9|0]&128|(P[j+6>>1]&32767|(e|0)==-1)){break b}f=N[b+20>>2];h=N[b+16>>2];c:{e=Qa[N[N[j+540>>2]+72>>2]](j,e,c,d,N[j+104>>2],a+76|0,g+12|0)|0;if(e){j=N[a+4>>2];k=N[j+8>>2]&1;if((e&255)!=157){break c}if(k){break b}M[g+12>>1]=0;M[g+240>>1]=0;M[g+224>>1]=0;M[g+10>>1]=0;if(!N[j+752>>2]){break a}Qa[N[N[j+540>>2]+156>>2]](j,0,c,g+12|0,g+224|0);b=g+240|0;d=g+10|0;d:{if(O[j+292|0]){Qa[N[N[j+540>>2]+156>>2]](j,1,c,b,d);break d}if(P[j+372>>1]!=65535){M[b>>1]=P[j+442>>1];c=M[j+442>>1]-M[j+444>>1]|0;b=c>>31;M[d>>1]=(b^c)-b;break d}M[b>>1]=P[j+220>>1];c=M[j+220>>1]-M[j+222>>1]|0;b=c>>31;M[d>>1]=(b^c)-b}N[a+108>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;b=M[g+12>>1];N[a+36>>2]=0;s=a,t=ob(b,h),N[s+32>>2]=t;b=P[g+224>>1];N[a+44>>2]=0;s=a,t=ob(b,h),N[s+40>>2]=t;s=a,t=ob(M[g+240>>1],f),N[s+48>>2]=t;b=P[g+10>>1];N[a+100>>2]=0;N[a+104>>2]=0;L[a+94|0]=1;N[a+72>>2]=1651078259;s=a,t=ob(b,f),N[s+52>>2]=t;e=0;break a}e=0;N[a+108>>2]=0;N[a+24>>2]=P[g+14>>1]<<6;N[a+28>>2]=P[g+12>>1]<<6;j=M[g+16>>1];N[a+32>>2]=j<<6;k=M[g+18>>1];N[a+36>>2]=k<<6;N[a+40>>2]=P[g+20>>1]<<6;i=M[g+22>>1];N[a+44>>2]=i<<6;m=M[g+24>>1];N[a+48>>2]=m<<6;l=P[g+26>>1];q=k;k=d&16;N[a+104>>2]=k?m:q;N[a+100>>2]=k?i:j;N[a+72>>2]=1651078259;N[a+52>>2]=l<<6;j=N[a+4>>2];if(!(L[j+8|0]&1)){break a}e=N[j+104>>2];C(g+24|0,0,192);N[g+216>>2]=0;N[g+220>>2]=0;N[g+36>>2]=e;N[g+20>>2]=a;N[g+16>>2]=b;N[g+12>>2]=j;N[g+28>>2]=d;Vh(g+12|0,c,0,1);d=N[N[g+12>>2]+100>>2];e:{if(!d){break e}b=N[g+216>>2];if(!b){break e}while(1){c=N[b+4>>2];Qa[N[d+8>>2]](d,b);b=c;if(b){continue}break}}b=N[g+72>>2];N[a+56>>2]=b;c=N[g+188>>2];N[a+60>>2]=c;if(!(N[a+40>>2]|!b)){s=a,t=ob(b,h),N[s+40>>2]=t}e=0;if(N[a+52>>2]|!c){break a}s=a,t=ob(c,f),N[s+52>>2]=t;break a}if(!k){break a}}q=d&1;if(!(q|O[b+112|0])){e=36;break a}e=6;if(d&16384){break a}r=N[j+104>>2];p=N[j+96>>2];C(g+12|0,0,212);if(!o){m=(d&128)>>>7|0;e=N[b+304>>2];f:{g:{if((e|0)>=0){f=N[b+308>>2];if((f|0)<0){break g}if(e){break a}e=f;if(!e){break f}break a}k=N[b>>2];h=N[k+100>>2];e=N[b+132>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+132>>2]=0;e=N[b+144>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+144>>2]=0;e=N[b+252>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+252>>2]=0;e=N[b+260>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+260>>2]=0;e=N[b+300>>2];if(e){N[e+460>>2]=0;f=N[e+8>>2];i=N[e+24>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+20>>2]=0;N[e+24>>2]=0;i=N[e+400>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+396>>2]=0;N[e+400>>2]=0;i=N[e+500>>2];if(i){Qa[N[f+8>>2]](f,i)}M[e+496>>1]=0;N[e+500>>2]=0;i=N[e+456>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+456>>2]=0;N[e+448>>2]=0;N[e+452>>2]=0;i=N[e+412>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+408>>2]=0;N[e+412>>2]=0;N[e>>2]=0;N[e+4>>2]=0;Qa[N[f+8>>2]](f,e)}e=N[b+264>>2];if(e){f=N[b+292>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+292>>2]=0;f=N[b+288>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+288>>2]=0;f=N[b+280>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+280>>2]=0;f=N[b+276>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+276>>2]=0;f=N[b+284>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+284>>2]=0;N[b+272>>2]=0;N[b+264>>2]=0;N[b+268>>2]=0}N[b+304>>2]=-1;N[b+308>>2]=-1;i=0;e=N[k+96>>2];f=0;h:{if(!e){break h}l=N[e+8>>2];e=Qa[N[l+4>>2]](l,664)|0;f=0;if(!e){break h}C(e,0,664);N[e+452>>2]=32;N[e+8>>2]=l;f=Qa[N[l+4>>2]](l,512)|0;if(f){C(f,0,512);N[e+460>>2]=0;N[e+456>>2]=f;N[e+408>>2]=0;N[e+412>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e>>2]=0;N[e+4>>2]=0;f=e;break h}N[e+456>>2]=0;N[e+460>>2]=0;f=N[e+8>>2];l=N[e+24>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+20>>2]=0;N[e+24>>2]=0;l=N[e+400>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+396>>2]=0;N[e+400>>2]=0;l=N[e+500>>2];if(l){Qa[N[f+8>>2]](f,l)}M[e+496>>1]=0;N[e+500>>2]=0;l=N[e+456>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+456>>2]=0;N[e+448>>2]=0;N[e+452>>2]=0;l=N[e+412>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+408>>2]=0;N[e+412>>2]=0;N[e>>2]=0;N[e+4>>2]=0;Qa[N[f+8>>2]](f,e);f=0}N[b+300>>2]=f;e=P[k+280>>1];N[b+128>>2]=e;f=P[k+282>>1];N[b+148>>2]=0;N[b+152>>2]=0;N[b+136>>2]=0;N[b+124>>2]=0;N[b+140>>2]=f;N[b+248>>2]=N[k+700>>2];f=P[k+278>>1];L[b+113|0]=0;L[b+114|0]=0;M[b+256>>1]=f;N[b+96>>2]=0;N[b+100>>2]=0;N[b+104>>2]=0;N[b+108>>2]=0;i:{j:{if(e){e=T(e,24);i=Qa[N[h+4>>2]](h,e)|0;if(!i){break j}C(i,0,e)}N[g+224>>2]=0;N[b+132>>2]=i;s=b,t=lb(h,24,0,N[b+140>>2],0,g+224|0),N[s+144>>2]=t;e=N[g+224>>2];if(e){break i}s=b,t=lb(h,4,0,N[b+248>>2],0,g+224|0),N[s+252>>2]=t;e=N[g+224>>2];if(e){break i}s=b,t=lb(h,4,0,P[b+256>>1],0,g+224|0),N[s+260>>2]=t;e=N[g+224>>2];if(e){break i}e=P[k+276>>1];N[b+292>>2]=0;N[b+296>>2]=0;N[b+284>>2]=0;N[b+288>>2]=0;N[b+276>>2]=0;N[b+280>>2]=0;N[b+268>>2]=0;N[b+272>>2]=0;N[b+264>>2]=h;i=e+4|0;f=i&65535;s=b,t=lb(h,8,0,f,0,g+240|0),N[s+276>>2]=t;e=N[g+240>>2];k:{if(e){break k}s=b,t=lb(h,8,0,f,0,g+240|0),N[s+280>>2]=t;e=N[g+240>>2];if(e){break k}s=b,t=lb(h,8,0,f,0,g+240|0),N[s+284>>2]=t;e=N[g+240>>2];if(e){break k}e=0;l:{if(i&65535){e=Qa[N[h+4>>2]](h,f)|0;if(!e){break l}C(e,0,f)}M[b+268>>1]=i;N[b+292>>2]=0;N[b+288>>2]=e;M[b+270>>1]=0;M[b+272>>1]=i;F(b+180|0,26424,68);e=N[N[N[k+96>>2]+4>>2]+164>>2];N[k+708>>2]=e?e:146;f=N[b+300>>2];h=N[b>>2];e=Uh(f,h,b);m:{if(e){break m}N[f+512>>2]=0;N[f+516>>2]=0;N[f+508>>2]=64;N[f+16>>2]=0;N[f+448>>2]=0;N[f+596>>2]=16384;L[f+593|0]=m;N[f+220>>2]=0;N[f+224>>2]=0;L[f+520|0]=0;M[f+256>>1]=0;N[f+228>>2]=0;N[f+260>>2]=65536;N[f+264>>2]=0;k=N[h+688>>2];e=N[h+684>>2];N[f+472>>2]=0;N[f+476>>2]=0;N[f+468>>2]=e;N[f+464>>2]=k;N[f+480>>2]=0;N[f+484>>2]=0;n:{if(!e){N[b+304>>2]=0;break n}N[f+372>>2]=e;N[f+364>>2]=k;N[f+368>>2]=0;N[f+360>>2]=1;e=Qa[N[h+708>>2]](f)|0;N[b+304>>2]=e;if(e){break m}}N[b+124>>2]=N[f+416>>2];N[b+136>>2]=N[f+428>>2];N[b+148>>2]=N[f+440>>2];N[b+152>>2]=N[f+444>>2];e=N[f+468>>2];N[b+156>>2]=N[f+464>>2];N[b+160>>2]=e;e=N[f+476>>2];N[b+164>>2]=N[f+472>>2];N[b+168>>2]=e;e=N[f+484>>2];N[b+172>>2]=N[f+480>>2];N[b+176>>2]=e;e=0}break g}N[b+288>>2]=0;e=64}f=N[b+264>>2];if(!f){N[g+224>>2]=e;break i}h=N[b+292>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+292>>2]=0;h=N[b+288>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+288>>2]=0;h=N[b+280>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+280>>2]=0;h=N[b+276>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+276>>2]=0;h=N[b+284>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+284>>2]=0;N[b+272>>2]=0;N[b+264>>2]=0;N[b+268>>2]=0;break i}e=64;N[g+224>>2]=64;N[b+132>>2]=0}cn(b)}if(e){break a}e=N[b+308>>2];if((e|0)<0){f=P[b+272>>1];o:{if(!f){break o}h=N[b+280>>2];k=N[b+276>>2];e=0;if((f|0)!=1){l=f&65534;while(1){i=e<<3;n=i+k|0;N[n>>2]=0;N[n+4>>2]=0;n=h+i|0;N[n>>2]=0;N[n+4>>2]=0;i=i|8;n=i+k|0;N[n>>2]=0;N[n+4>>2]=0;i=h+i|0;N[i>>2]=0;N[i+4>>2]=0;e=e+2|0;if((l|0)!=(e|0)){continue}break}}if(!(f&1)){break o}e=e<<3;f=e+k|0;N[f>>2]=0;N[f+4>>2]=0;e=e+h|0;N[e>>2]=0;N[e+4>>2]=0}e=P[b+256>>1];if(e){C(N[b+260>>2],0,e<<2)}F(b+180|0,26424,68);e=bn(b,m)}if(e){break a}}f=N[b+300>>2];if(!f){e=153;break a}e=d&983040;p:{if(N[p+64>>2]!=40){h=(e|0)!=131072;k=0;i=0;e=0;break p}i=(e|0)!=131072;k=i&!(d&458752);h=0;e=d>>>18&1}L[f+642|0]=e;e=Uh(f,j,b);if(e){break a}q:{r:{s:{t:{if(N[p+64>>2]==40){e=O[f+641|0]==(i|0);if(!e){L[f+641|0]=i}if(O[f+646|0]!=(k|0)){break t}if(O[f+640|0]==(h|0)){break s}L[f+640|0]=h;break r}if(O[f+640|0]==(h|0)){break q}L[f+640|0]=h;break r}L[f+646|0]=k;if(O[f+640|0]==(h|0)){break r}L[f+640|0]=h;break r}if(e){break q}}e=bn(b,m);if(e){break a}}e=O[f+340|0];h=e<<1&2;if(e&2){F(f+288|0,26424,68)}L[f+593|0]=m;N[g+168>>2]=f;N[g+172>>2]=N[f+412>>2];d=d|h}e=N[N[a+156>>2]>>2];N[e+20>>2]=0;N[e+36>>2]=0;N[e+48>>2]=0;f=N[e+24>>2];N[e+56>>2]=N[e+20>>2];N[e+60>>2]=f;h=N[e+32>>2];f=e- -64|0;N[f>>2]=N[e+28>>2];N[f+4>>2]=h;N[e+88>>2]=N[e+52>>2];f=N[e+40>>2];N[e+72>>2]=N[e+36>>2];N[e+76>>2]=f;f=N[e+48>>2];N[e+80>>2]=N[e+44>>2];N[e+84>>2]=f;N[g+216>>2]=0;N[g+220>>2]=0;N[g+36>>2]=r;N[g+20>>2]=a;N[g+16>>2]=b;N[g+12>>2]=j;N[g+24>>2]=e;N[g+28>>2]=d;N[a+72>>2]=1869968492;N[a+124>>2]=0;N[a+128>>2]=0;e=Vh(g+12|0,c,0,0);u:{if(e){break u}d=N[g+24>>2];v:{if(N[a+72>>2]==1668246896){N[a+128>>2]=N[d+48>>2];N[a+132>>2]=N[d+52>>2];break v}f=N[d+24>>2];e=a+108|0;N[e>>2]=N[d+20>>2];N[e+4>>2]=f;N[e+16>>2]=N[d+36>>2];f=N[d+32>>2];N[e+8>>2]=N[d+28>>2];N[e+12>>2]=f;N[a+124>>2]=N[a+124>>2]&-513;d=N[g+80>>2];if(!d){break v}te(e,0-d|0,0)}w:{if(o){break w}d=8;e=N[g+168>>2];x:{if(!O[e+341|0]){break x}d=32;y:{switch(N[e+344>>2]){case 4:d=48;break x;case 5:d=16;break x;case 1:break w;case 0:break x;default:break y}}d=8}N[a+124>>2]=N[a+124>>2]|d}f=N[g+12>>2];j=65536;h=N[g+16>>2];d=N[g+20>>2];k=N[g+28>>2];j=k&1?j:N[N[h+44>>2]+8>>2];e=N[f+96>>2];z:{if(N[d+72>>2]!=1668246896){En(d+108|0,g+240|0);break z}i=N[g+60>>2];N[g+248>>2]=N[g+56>>2];N[g+252>>2]=i;i=N[g+52>>2];N[g+240>>2]=N[g+48>>2];N[g+244>>2]=i}N[d+56>>2]=N[g+72>>2];o=N[g+240>>2];N[d+32>>2]=o;i=N[g+252>>2];N[d+36>>2]=i;N[d+40>>2]=N[g+88>>2]-N[g+80>>2];A:{B:{if(N[e+64>>2]!=40){break B}e=N[g+168>>2];if(!e){break B}if(O[e+643|0]){break A}}if(N[f+488>>2]|k&2097154){break A}p=N[f+776>>2];if(!p){break A}e=0;m=N[f+768>>2];r=m?m+8|0:0;l=N[f+780>>2];n=N[f+784>>2];h=P[N[h+44>>2]>>1];while(1){if((h|0)==O[e+n|0]){h=c+2|0;if(!m|h>>>0>=l>>>0){break A}N[d+40>>2]=O[h+(r+T(e,l)|0)|0]<<6;break A}e=e+1|0;if((p|0)!=(e|0)){continue}break}}N[d+24>>2]=N[g+248>>2]-o;h=i-N[g+244>>2]|0;N[d+28>>2]=h;C:{if(!(!O[f+292|0]|!P[f+330>>1])){m=N[g+196>>2];h=fb(m-i|0,j)<<16>>16;e=0;i=N[g+204>>2];if((i|0)>=(m|0)){break C}e=fb(m-i|0,j)&65535;break C}e=P[f+372>>1]==65535;e=M[f+(e?220:442)>>1]-M[f+(e?222:444)>>1]|0;h=(e-(fb(h,j)<<16>>16)|0)/2|0}f=N[N[f+128>>2]+52>>2];D:{if(!f){break D}i=N[N[f>>2]+8>>2];if(!i){break D}N[g+232>>2]=e;N[g+228>>2]=h;N[g+224>>2]=0;e=Qa[i|0](N[f+4>>2],c,1,g+224|0)|0;if(e){break u}k=N[g+28>>2];e=N[g+232>>2];h=N[g+228>>2]}N[d+60>>2]=e;if(!(k&1)){h=ob(h,j);e=ob(e,j)}N[d+52>>2]=e;N[d+48>>2]=h;N[d+44>>2]=N[d+32>>2]+(N[d+40>>2]/-2|0);e=0}if(!(P[N[b+44>>2]+2>>1]>23|q)){N[a+124>>2]=N[a+124>>2]|256}c=N[N[g+12>>2]+100>>2];if(!c){break a}b=N[g+216>>2];if(!b){break a}while(1){a=N[b+4>>2];Qa[N[c+8>>2]](c,b);b=a;if(b){continue}break}}La=g+256|0;return e|0}function jm(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;n=La-16|0;La=n;e=N[a+72>>2];m=N[a+64>>2];j=N[a+68>>2];a:{b:{c:{d:{e:{f:{g:{switch(N[a>>2]){case 0:l=N[a+164>>2];k=N[l+20>>2];h:{if(k){if(Qa[k|0](l,2,0,0)|0){break f}g=N[a+164>>2];k=N[g+4>>2];break h}g=l;k=N[g+4>>2];if(k>>>0<2){break f}}N[l+8>>2]=2;d=N[g+8>>2];if(k>>>0<=d>>>0){break f}l=N[g+20>>2];i:{if(l){k=Qa[l|0](g,d,n+15|0,1)|0;d=N[g+8>>2];break i}k=(d|0)!=(k|0);F(n+15|0,N[g>>2]+d|0,k)}N[g+8>>2]=d+k;if((k|0)!=1){break f}d=O[n+15|0];N[a+44>>2]=d&128;k=d&31;N[a+40>>2]=k;l=1<>2]=l-256;if(k>>>0>16){break f}N[a+52>>2]=9;N[a+56>>2]=d>>>7;N[a+60>>2]=k>>>0>9?256:l-255|0;e=0;k=zh(a);if(k>>>0>255){break f}if(b){L[b|0]=k}if(c>>>0<2){break e}l=1;N[a>>2]=1;j=k;m=j;break;case 2:break d;case 1:break g;default:break a}}d=0;break c}l=0;break b}d=1;j=k;m=j;break a}d=1}j:{while(1){k:{l:{m:{n:{if(!d){k=zh(a);if((k|0)<0){break b}if((k|0)!=256){i=j;break n}if(!N[a+44>>2]){i=j;k=256;break m}while(1){L[a+32|0]=1;j=0;N[a+56>>2]=0;k=zh(a);if((k|0)<0){m=0;break b}if((k|0)!=256){i=0;m=0;break n}k=256;i=0;m=0;if(N[a+44>>2]){continue}break}break m}o:{if(b){while(1){l=N[a+92>>2];if(!l){break o}l=l-1|0;N[a+92>>2]=l;L[b+f|0]=O[l+N[a+88>>2]|0];f=f+1|0;if((f|0)!=(c|0)){continue}break}d=c;break a}d=N[a+92>>2];while(1){if(!d){break o}d=d-1|0;N[a+92>>2]=d;f=f+1|0;if((f|0)!=(c|0)){continue}break}d=c;break a}l=f;p:{d=N[a+56>>2];if(d>>>0>2]){h=N[a+84>>2];if(h>>>0<=d>>>0){g=h?h+(h>>>2|0)|0:512;if((g|h)<0){break b}i=N[a+76>>2];d=N[a+168>>2];q:{r:{s:{if(!g){k=0;if(!i){break s}Qa[N[d+8>>2]](d,i);break s}if((g|0)>715827882){break b}t:{if(!h){k=Qa[N[d+4>>2]](d,T(g,3))|0;d=!k<<6;break t}d=Qa[N[d+12>>2]](d,T(h,3),T(g,3),i)|0;k=d?d:i;d=!d<<6}if(d|(h|0)>=(g|0)|!k){break r}C(T(h,3)+k|0,0,T(g-h|0,3))}N[a+76>>2]=k;break q}N[a+76>>2]=k;if(d){break b}}d=(g<<1)+k|0;N[a+80>>2]=d;F(d,(h<<1)+k|0,h);N[a+84>>2]=g;d=N[a+56>>2]}M[N[a+76>>2]+(d<<1)>>1]=m;L[N[a+80>>2]+d|0]=j;N[a+56>>2]=N[a+56>>2]+1}N[a>>2]=1;m=e;break p}d=0;continue}j=k;if(j>>>0<256){break l}}u:{j=k;d=j-256|0;e=N[a+56>>2];if(d>>>0>>0){break u}if(d>>>0>e>>>0){break k}d=N[a+96>>2];f=N[a+92>>2];if(d>>>0<=f>>>0){j=((d>>>1|0)+d|0)+4|0;h=N[a+168>>2];v:{w:{x:{f=N[a+88>>2];e=a+100|0;y:{if((f|0)!=(e|0)){z:{A:{if(j>>>0>=65537){j=65536;if((d|0)==65536|(d|0)<0){break k}break A}if((d|0)<0){break k}if(!j){break z}}if(!d){break x}g=Qa[N[h+12>>2]](h,d,j,f)|0;f=g?g:f;h=!g<<6;break w}g=0;if(f){Qa[N[h+8>>2]](h,f)}f=0;break y}g=0;N[a+88>>2]=0;d=0;f=0;j=j>>>0>=65536?65536:j;if(j){break x}}N[a+88>>2]=0;break v}d=0;f=Qa[N[h+4>>2]](h,j)|0;h=!f<<6}g=j;if(!(!f|(h|(g|0)<=(d|0)))){C(d+f|0,0,g-d|0);N[a+88>>2]=f;break v}N[a+88>>2]=f;if(h){break k}}if(!d){d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);j=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);L[f|0]=j;L[f+1|0]=j>>>8;L[f+2|0]=j>>>16;L[f+3|0]=j>>>24;L[f+4|0]=d;L[f+5|0]=d>>>8;L[f+6|0]=d>>>16;L[f+7|0]=d>>>24;d=O[e+60|0]|O[e+61|0]<<8|(O[e+62|0]<<16|O[e+63|0]<<24);j=O[e+56|0]|O[e+57|0]<<8|(O[e+58|0]<<16|O[e+59|0]<<24);L[f+56|0]=j;L[f+57|0]=j>>>8;L[f+58|0]=j>>>16;L[f+59|0]=j>>>24;L[f+60|0]=d;L[f+61|0]=d>>>8;L[f+62|0]=d>>>16;L[f+63|0]=d>>>24;d=O[e+52|0]|O[e+53|0]<<8|(O[e+54|0]<<16|O[e+55|0]<<24);j=O[e+48|0]|O[e+49|0]<<8|(O[e+50|0]<<16|O[e+51|0]<<24);L[f+48|0]=j;L[f+49|0]=j>>>8;L[f+50|0]=j>>>16;L[f+51|0]=j>>>24;L[f+52|0]=d;L[f+53|0]=d>>>8;L[f+54|0]=d>>>16;L[f+55|0]=d>>>24;d=O[e+44|0]|O[e+45|0]<<8|(O[e+46|0]<<16|O[e+47|0]<<24);j=O[e+40|0]|O[e+41|0]<<8|(O[e+42|0]<<16|O[e+43|0]<<24);L[f+40|0]=j;L[f+41|0]=j>>>8;L[f+42|0]=j>>>16;L[f+43|0]=j>>>24;L[f+44|0]=d;L[f+45|0]=d>>>8;L[f+46|0]=d>>>16;L[f+47|0]=d>>>24;d=O[e+36|0]|O[e+37|0]<<8|(O[e+38|0]<<16|O[e+39|0]<<24);j=O[e+32|0]|O[e+33|0]<<8|(O[e+34|0]<<16|O[e+35|0]<<24);L[f+32|0]=j;L[f+33|0]=j>>>8;L[f+34|0]=j>>>16;L[f+35|0]=j>>>24;L[f+36|0]=d;L[f+37|0]=d>>>8;L[f+38|0]=d>>>16;L[f+39|0]=d>>>24;d=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);j=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);L[f+24|0]=j;L[f+25|0]=j>>>8;L[f+26|0]=j>>>16;L[f+27|0]=j>>>24;L[f+28|0]=d;L[f+29|0]=d>>>8;L[f+30|0]=d>>>16;L[f+31|0]=d>>>24;d=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);j=O[e+16|0]|O[e+17|0]<<8|(O[e+18|0]<<16|O[e+19|0]<<24);L[f+16|0]=j;L[f+17|0]=j>>>8;L[f+18|0]=j>>>16;L[f+19|0]=j>>>24;L[f+20|0]=d;L[f+21|0]=d>>>8;L[f+22|0]=d>>>16;L[f+23|0]=d>>>24;d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);j=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);L[f+8|0]=j;L[f+9|0]=j>>>8;L[f+10|0]=j>>>16;L[f+11|0]=j>>>24;L[f+12|0]=d;L[f+13|0]=d>>>8;L[f+14|0]=d>>>16;L[f+15|0]=d>>>24}N[a+96>>2]=g;f=N[a+92>>2]}N[a+92>>2]=f+1;L[N[a+88>>2]+f|0]=i;j=m;if(j>>>0>=256){break u}break l}h=a+100|0;d=N[a+76>>2];while(1){if(!d){break k}d=N[a+96>>2];f=N[a+92>>2];if(d>>>0<=f>>>0){f=((d>>>1|0)+d|0)+4|0;g=N[a+168>>2];B:{C:{D:{E:{F:{e=N[a+88>>2];G:{if((e|0)!=(h|0)){if(f>>>0>=65537){f=65536;if((d|0)==65536|(d|0)<0){break k}break F}if((d|0)<0){break k}if(f){break F}if(!e){break G}Qa[N[g+8>>2]](g,e);break G}d=0;N[a+88>>2]=0;f=f>>>0>=65536?65536:f;if(f){break E}}f=0;e=0;N[a+88>>2]=0;break B}if(d){break D}}d=0;e=Qa[N[g+4>>2]](g,f)|0;g=!e<<6;break C}g=Qa[N[g+12>>2]](g,d,f,e)|0;e=g?g:e;g=!g<<6}if(!(!e|(g|(d|0)>=(f|0)))){C(d+e|0,0,f-d|0);N[a+88>>2]=e;break B}N[a+88>>2]=e;if(g){break k}}if(!d){g=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);d=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);L[e|0]=d;L[e+1|0]=d>>>8;L[e+2|0]=d>>>16;L[e+3|0]=d>>>24;L[e+4|0]=g;L[e+5|0]=g>>>8;L[e+6|0]=g>>>16;L[e+7|0]=g>>>24;g=O[h+60|0]|O[h+61|0]<<8|(O[h+62|0]<<16|O[h+63|0]<<24);d=O[h+56|0]|O[h+57|0]<<8|(O[h+58|0]<<16|O[h+59|0]<<24);L[e+56|0]=d;L[e+57|0]=d>>>8;L[e+58|0]=d>>>16;L[e+59|0]=d>>>24;L[e+60|0]=g;L[e+61|0]=g>>>8;L[e+62|0]=g>>>16;L[e+63|0]=g>>>24;g=O[h+52|0]|O[h+53|0]<<8|(O[h+54|0]<<16|O[h+55|0]<<24);d=O[h+48|0]|O[h+49|0]<<8|(O[h+50|0]<<16|O[h+51|0]<<24);L[e+48|0]=d;L[e+49|0]=d>>>8;L[e+50|0]=d>>>16;L[e+51|0]=d>>>24;L[e+52|0]=g;L[e+53|0]=g>>>8;L[e+54|0]=g>>>16;L[e+55|0]=g>>>24;g=O[h+44|0]|O[h+45|0]<<8|(O[h+46|0]<<16|O[h+47|0]<<24);d=O[h+40|0]|O[h+41|0]<<8|(O[h+42|0]<<16|O[h+43|0]<<24);L[e+40|0]=d;L[e+41|0]=d>>>8;L[e+42|0]=d>>>16;L[e+43|0]=d>>>24;L[e+44|0]=g;L[e+45|0]=g>>>8;L[e+46|0]=g>>>16;L[e+47|0]=g>>>24;g=O[h+36|0]|O[h+37|0]<<8|(O[h+38|0]<<16|O[h+39|0]<<24);d=O[h+32|0]|O[h+33|0]<<8|(O[h+34|0]<<16|O[h+35|0]<<24);L[e+32|0]=d;L[e+33|0]=d>>>8;L[e+34|0]=d>>>16;L[e+35|0]=d>>>24;L[e+36|0]=g;L[e+37|0]=g>>>8;L[e+38|0]=g>>>16;L[e+39|0]=g>>>24;g=O[h+28|0]|O[h+29|0]<<8|(O[h+30|0]<<16|O[h+31|0]<<24);d=O[h+24|0]|O[h+25|0]<<8|(O[h+26|0]<<16|O[h+27|0]<<24);L[e+24|0]=d;L[e+25|0]=d>>>8;L[e+26|0]=d>>>16;L[e+27|0]=d>>>24;L[e+28|0]=g;L[e+29|0]=g>>>8;L[e+30|0]=g>>>16;L[e+31|0]=g>>>24;g=O[h+20|0]|O[h+21|0]<<8|(O[h+22|0]<<16|O[h+23|0]<<24);d=O[h+16|0]|O[h+17|0]<<8|(O[h+18|0]<<16|O[h+19|0]<<24);L[e+16|0]=d;L[e+17|0]=d>>>8;L[e+18|0]=d>>>16;L[e+19|0]=d>>>24;L[e+20|0]=g;L[e+21|0]=g>>>8;L[e+22|0]=g>>>16;L[e+23|0]=g>>>24;g=O[h+12|0]|O[h+13|0]<<8|(O[h+14|0]<<16|O[h+15|0]<<24);d=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);L[e+8|0]=d;L[e+9|0]=d>>>8;L[e+10|0]=d>>>16;L[e+11|0]=d>>>24;L[e+12|0]=g;L[e+13|0]=g>>>8;L[e+14|0]=g>>>16;L[e+15|0]=g>>>24}N[a+96>>2]=f;f=N[a+92>>2]}e=j-256|0;j=O[e+N[a+80>>2]|0];N[a+92>>2]=f+1;L[N[a+88>>2]+f|0]=j;d=N[a+76>>2];j=P[d+(e<<1)>>1];if(j>>>0>255){continue}break}}d=N[a+96>>2];f=N[a+92>>2];if(d>>>0<=f>>>0){e=((d>>>1|0)+d|0)+4|0;g=N[a+168>>2];H:{I:{J:{K:{L:{M:{N:{O:{f=N[a+88>>2];i=a+100|0;if((f|0)!=(i|0)){if(e>>>0>=65537){e=65536;if((d|0)==65536|(d|0)<0){break j}break N}if((d|0)>=0){break O}break j}h=0;N[a+88>>2]=0;d=0;f=0;e=e>>>0>=65536?65536:e;if(e){break M}break J}if(e){break N}h=0;if(!f){f=0;N[a+88>>2]=0;break H}Qa[N[g+8>>2]](g,f);f=0;N[a+88>>2]=0;break H}if(d){break L}}d=0;f=Qa[N[g+4>>2]](g,e)|0;g=!f<<6;break K}g=Qa[N[g+12>>2]](g,d,e,f)|0;f=g?g:f;g=!g<<6}h=e;if(!f|(g|(d|0)>=(e|0))){break I}C(d+f|0,0,h-d|0)}N[a+88>>2]=f;break H}N[a+88>>2]=f;if(g){break j}}if(!d){d=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);e=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);L[f|0]=e;L[f+1|0]=e>>>8;L[f+2|0]=e>>>16;L[f+3|0]=e>>>24;L[f+4|0]=d;L[f+5|0]=d>>>8;L[f+6|0]=d>>>16;L[f+7|0]=d>>>24;d=O[i+60|0]|O[i+61|0]<<8|(O[i+62|0]<<16|O[i+63|0]<<24);e=O[i+56|0]|O[i+57|0]<<8|(O[i+58|0]<<16|O[i+59|0]<<24);L[f+56|0]=e;L[f+57|0]=e>>>8;L[f+58|0]=e>>>16;L[f+59|0]=e>>>24;L[f+60|0]=d;L[f+61|0]=d>>>8;L[f+62|0]=d>>>16;L[f+63|0]=d>>>24;d=O[i+52|0]|O[i+53|0]<<8|(O[i+54|0]<<16|O[i+55|0]<<24);e=O[i+48|0]|O[i+49|0]<<8|(O[i+50|0]<<16|O[i+51|0]<<24);L[f+48|0]=e;L[f+49|0]=e>>>8;L[f+50|0]=e>>>16;L[f+51|0]=e>>>24;L[f+52|0]=d;L[f+53|0]=d>>>8;L[f+54|0]=d>>>16;L[f+55|0]=d>>>24;d=O[i+44|0]|O[i+45|0]<<8|(O[i+46|0]<<16|O[i+47|0]<<24);e=O[i+40|0]|O[i+41|0]<<8|(O[i+42|0]<<16|O[i+43|0]<<24);L[f+40|0]=e;L[f+41|0]=e>>>8;L[f+42|0]=e>>>16;L[f+43|0]=e>>>24;L[f+44|0]=d;L[f+45|0]=d>>>8;L[f+46|0]=d>>>16;L[f+47|0]=d>>>24;d=O[i+36|0]|O[i+37|0]<<8|(O[i+38|0]<<16|O[i+39|0]<<24);e=O[i+32|0]|O[i+33|0]<<8|(O[i+34|0]<<16|O[i+35|0]<<24);L[f+32|0]=e;L[f+33|0]=e>>>8;L[f+34|0]=e>>>16;L[f+35|0]=e>>>24;L[f+36|0]=d;L[f+37|0]=d>>>8;L[f+38|0]=d>>>16;L[f+39|0]=d>>>24;d=O[i+28|0]|O[i+29|0]<<8|(O[i+30|0]<<16|O[i+31|0]<<24);e=O[i+24|0]|O[i+25|0]<<8|(O[i+26|0]<<16|O[i+27|0]<<24);L[f+24|0]=e;L[f+25|0]=e>>>8;L[f+26|0]=e>>>16;L[f+27|0]=e>>>24;L[f+28|0]=d;L[f+29|0]=d>>>8;L[f+30|0]=d>>>16;L[f+31|0]=d>>>24;d=O[i+20|0]|O[i+21|0]<<8|(O[i+22|0]<<16|O[i+23|0]<<24);e=O[i+16|0]|O[i+17|0]<<8|(O[i+18|0]<<16|O[i+19|0]<<24);L[f+16|0]=e;L[f+17|0]=e>>>8;L[f+18|0]=e>>>16;L[f+19|0]=e>>>24;L[f+20|0]=d;L[f+21|0]=d>>>8;L[f+22|0]=d>>>16;L[f+23|0]=d>>>24;d=O[i+12|0]|O[i+13|0]<<8|(O[i+14|0]<<16|O[i+15|0]<<24);e=O[i+8|0]|O[i+9|0]<<8|(O[i+10|0]<<16|O[i+11|0]<<24);L[f+8|0]=e;L[f+9|0]=e>>>8;L[f+10|0]=e>>>16;L[f+11|0]=e>>>24;L[f+12|0]=d;L[f+13|0]=d>>>8;L[f+14|0]=d>>>16;L[f+15|0]=d>>>24}N[a+96>>2]=h;f=N[a+92>>2]}N[a+92>>2]=f+1;L[N[a+88>>2]+f|0]=j;N[a>>2]=2;e=k;f=l;d=1;continue}break}j=i}e=k}d=l;N[a>>2]=3}N[a+72>>2]=e;N[a+68>>2]=j;N[a+64>>2]=m;La=n+16|0;return d}function St(a){a=a|0;var 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;g=La-32|0;La=g;f=N[a+720>>2];a:{if(f){break a}b:{c:{d:{if(!(!N[a+736>>2]|!(P[a+6>>1]&32767|O[a+9|0]&128))){m=N[a+548>>2];d=N[a+100>>2];if(!N[a+744>>2]){N[g+4>>2]=-1;N[g+8>>2]=-1;h=P[a+340>>1];if(!h){f=0;break b}i=N[a+356>>2];while(1){f=i+T(c,20)|0;e:{if(P[f+6>>1]!=25|!P[f+8>>1]){break e}f:{g:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break e}b=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break f}break e;case 0:break g;default:break e}}if(P[f+2>>1]){break e}b=g+4|0;if(!P[f+4>>1]){break f}if(N[g+4>>2]!=-1){break e}}N[b>>2]=c}c=c+1|0;if((h|0)!=(c|0)){continue}break}h:{i:{c=N[g+8>>2];if((c|0)>=0){break i}e=N[g+4>>2];j:{if((e|0)>=0){break j}N[g+4>>2]=-1;N[g+8>>2]=-1;c=0;while(1){f=i+T(c,20)|0;k:{if(P[f+6>>1]!=16|!P[f+8>>1]){break k}l:{m:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break k}b=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break l}break k;case 0:break m;default:break k}}if(P[f+2>>1]){break k}b=g+4|0;if(!P[f+4>>1]){break l}if(N[g+4>>2]!=-1){break k}}N[b>>2]=c}c=c+1|0;if((h|0)!=(c|0)){continue}break}c=N[g+8>>2];if((c|0)>=0){break i}e=N[g+4>>2];if((e|0)>=0){break j}N[g+4>>2]=-1;N[g+8>>2]=-1;c=0;while(1){f=i+T(c,20)|0;n:{if(P[f+6>>1]!=1|!P[f+8>>1]){break n}o:{p:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break n}b=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break o}break n;case 0:break p;default:break n}}if(P[f+2>>1]){break n}b=g+4|0;if(!P[f+4>>1]){break o}if(N[g+4>>2]!=-1){break n}}N[b>>2]=c}c=c+1|0;if((h|0)!=(c|0)){continue}break}c=N[g+8>>2];if((c|0)>=0){break i}f=0;e=N[g+4>>2];if((e|0)<0){break b}}if((c|0)!=-1){break i}c=0;break h}c=Sl(d,N[a+368>>2],i+T(c,20)|0,178);e=N[g+4>>2]}q:{r:{s:{if(!((e|0)==-1|c)){f=N[a+368>>2];i=N[a+100>>2];n=N[a+356>>2];h=n+T(e,20)|0;c=Qa[N[i+4>>2]](i,P[h+8>>1]+1|0)|0;if(!c){f=0;break b}b=N[h+12>>2];j=N[f+20>>2];t:{if(j){if(!(Qa[j|0](f,b,0,0)|0)){break t}break r}if(b>>>0>Q[f+4>>2]){break r}}N[f+8>>2]=b;if(Bb(f,P[h+8>>1])){break r}b=c;k=P[h+8>>1];if(k){j=N[f+32>>2];while(1){l=L[j|0];if(l-58>>>0<=4294967285&(l&-33)-91>>>0<4294967270){break s}L[b|0]=l;j=j+1|0;b=b+1|0;k=k-1|0;if(k){continue}break}}L[b|0]=0;if(N[f+20>>2]){b=N[f>>2];if(b){e=N[f+28>>2];Qa[N[e+8>>2]](e,b)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}if(c){break q}f=0;break b}if(N[f+20>>2]){b=N[f>>2];if(b){d=N[f+28>>2];Qa[N[d+8>>2]](d,b)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}Qa[N[i+8>>2]](i,c);f=0;N[h+12>>2]=0;M[h+8>>1]=0;b=T(e,20)+n|0;d=N[b+16>>2];if(d){Qa[N[i+8>>2]](i,d)}N[b+16>>2]=0;break b}b=nb(c);if(b>>>0>=92){L[c+91|0]=0;b=91}N[a+748>>2]=b;N[a+744>>2]=c}Qa[N[m+40>>2]](a,g+20|0,g+16|0,0,g+12|0)|0;u:{v:{b=N[a+4>>2]&2147418112;if(!b|O[a+9|0]&128){break v}e=(b>>>16|0)-1|0;b=N[N[g+12>>2]+16>>2];f=N[(T(e,12)+b|0)+8>>2];c=N[a+540>>2];N[g+24>>2]=0;if(!((f|0)!=6&f-256>>>0>32511)){Qa[N[c+160>>2]](a,f&65535,g+24|0)|0;f=N[g+24>>2];if(f){break u}b=N[N[g+12>>2]+16>>2]}Qa[N[c+160>>2]](a,P[(T(e,12)+b|0)+4>>1],g)|0;b=N[g>>2];if(!b){break v}b=(N[a+748>>2]+nb(b)|0)+2|0;w:{if((b|0)>0){c=Qa[N[d+4>>2]](d,b)|0;if(c){break w}break c}if(b){break c}c=0}f=pd(c,N[a+744>>2]);b=f+N[a+748>>2]|0;L[b|0]=45;b=b+1|0;e=N[g>>2];c=O[e|0];if(c){while(1){i=c<<24>>24;if(!(!(i-48>>>0<10|i-65>>>0<26)&i-97>>>0>25)){L[b|0]=c;b=b+1|0}c=O[e+1|0];e=e+1|0;if(c){continue}break}}L[b|0]=0;c=N[g>>2];if(c){Qa[N[d+8>>2]](d,c)}c=b+1|0;break d}j=N[N[g+12>>2]+12>>2];b=(N[a+748>>2]+T(N[g+20>>2],17)|0)+1|0;x:{if((b|0)>0){f=Qa[N[d+4>>2]](d,b)|0;if(f){break x}f=0;break b}f=0;if(b){break b}}f=pd(f,N[a+744>>2]);e=f+N[a+748>>2]|0;if(N[g+20>>2]){c=N[g+16>>2];l=0;while(1){y:{if(N[c>>2]==N[j+8>>2]){break y}L[e|0]=95;c=N[N[g+16>>2]>>2];z:{if(!c){L[e+1|0]=48;e=e+2|0;break z}if((c|0)>=0){e=e+1|0}else{L[e+1|0]=45;c=0-c|0;e=e+2|0}k=c&65535;A:{if(c>>>0<65536){break A}d=c>>>16|0;c=g+24|0;b=0;while(1){i=(d>>>0)/10|0;L[c|0]=T(i,246)+d|48;h=b;b=b+1|0;c=c+1|0;m=d>>>0<10;d=i;if(!m){continue}break}if(g+24>>>0>=c>>>0){break A}d=0;b=b&7;if(b){while(1){c=c-1|0;L[e|0]=O[c|0];e=e+1|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}if(h>>>0<7){break A}while(1){L[e|0]=O[c-1|0];L[e+1|0]=O[c-2|0];L[e+2|0]=O[c-3|0];L[e+3|0]=O[c-4|0];L[e+4|0]=O[c-5|0];L[e+5|0]=O[c-6|0];L[e+6|0]=O[c-7|0];c=c-8|0;L[e+7|0]=O[c|0];e=e+8|0;if(g+24>>>0>>0){continue}break}}if(!k){break z}L[e|0]=46;b=T(k,10)+5|0;L[e+1|0]=(b>>>16|0)+48;b=T(b&65535,10);L[e+2|0]=b>>>16|48;b=T(b&65534,10);d=b>>>16|48;L[e+3|0]=d;B:{C:{D:{E:{F:{G:{H:{b=b&65532;if(!b){c=e+3|0;break H}b=T(b,10);d=b>>>16|48;L[e+4|0]=d;b=b&65528;if(!b){c=e+4|0;break H}b=T(b,10);i=b>>>16|0;d=i|48;L[e+5|0]=d;c=e+5|0;b=b&65520;if(!b){break H}if(b>>>0>=34480){break D}if((d|0)==49){break G}if((b|0)==17232){if(!(i&1)){break D}d=i+47|0;break E}if(b>>>0>17231){break D}break F}if((c-e|0)!=5){break D}if((d|0)!=49){break F}}L[c|0]=48;break C}if((d|0)==48){break C}d=d-1|0}L[c|0]=d}if((d|0)!=48){break B}}while(1){L[c|0]=0;c=c-1|0;if(O[c|0]==48){continue}break}}e=c+1|0}c=N[j+16>>2];b=c>>24;if(!((b|0)==32|!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25)){L[e|0]=c>>>24;e=e+1|0;c=N[j+16>>2]}d=c>>>16|0;b=d<<24;I:{if((b|0)==536870912){break I}b=b>>24;if(!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25){break I}L[e|0]=d;e=e+1|0;c=N[j+16>>2]}d=c>>>8|0;b=d<<24;J:{if((b|0)==536870912){break J}b=b>>24;if(!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25){break J}L[e|0]=d;e=e+1|0;c=N[j+16>>2]}b=c<<24;if((b|0)==536870912){break y}b=b>>24;if(!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25){break y}L[e|0]=c;e=e+1|0}c=N[g+16>>2]+4|0;N[g+16>>2]=c;j=j+24|0;l=l+1|0;if(l>>>0>2]){continue}break}}L[e|0]=0;c=e+1|0;break d}c=(nb(f)+f|0)+1|0;break d}N[g+20>>2]=-1;N[g+24>>2]=-1;f=P[a+340>>1];if(!f){f=0;break a}d=N[a+356>>2];while(1){b=d+T(c,20)|0;K:{if(P[b+6>>1]!=6|!P[b+8>>1]){break K}L:{M:{switch(P[b>>1]-1|0){case 2:if(P[b+2>>1]>1){break K}i=g+24|0;if(P[b+4>>1]==1033|N[g+24>>2]==-1){break L}break K;case 0:break M;default:break K}}if(P[b+2>>1]){break K}i=g+20|0;if(!P[b+4>>1]){break L}if(N[g+20>>2]!=-1){break K}}N[i>>2]=c}c=c+1|0;if((f|0)!=(c|0)){continue}break}e=N[g+20>>2];N:{O:{b=N[g+24>>2];if((b|0)>=0){break O}f=0;if((e|0)<0){break a}if((b|0)!=-1){break O}f=0;break N}f=Sl(N[a+100>>2],N[a+368>>2],d+T(b,20)|0,179)}if(f|(e|0)==-1){break b}b=N[a+368>>2];d=N[a+100>>2];l=N[a+356>>2];c=l+T(e,20)|0;f=Qa[N[d+4>>2]](d,P[c+8>>1]+1|0)|0;if(!f){f=0;break b}i=N[c+12>>2];h=N[b+20>>2];P:{Q:{if(h){if(!(Qa[h|0](b,i,0,0)|0)){break Q}break P}if(i>>>0>Q[b+4>>2]){break P}}N[b+8>>2]=i;if(Bb(b,P[c+8>>1])){break P}i=f;R:{k=P[c+8>>1];if(k){j=N[b+32>>2];while(1){h=O[j|0];m=h<<24>>24;if((m|0)<0|!(O[(h>>>3|0)+179360|0]>>>(h&7)&1)){break R}L[i|0]=m;j=j+1|0;i=i+1|0;k=k-1|0;if(k){continue}break}}L[i|0]=0;if(N[b+20>>2]){d=N[b>>2];if(d){c=N[b+28>>2];Qa[N[c+8>>2]](c,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;break b}if(N[b+20>>2]){i=N[b>>2];if(i){h=N[b+28>>2];Qa[N[h+8>>2]](h,i)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}Qa[N[d+8>>2]](d,f);f=0;N[c+12>>2]=0;M[c+8>>1]=0;b=l+T(e,20)|0;c=N[b+16>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+16>>2]=0;break b}k=c-f|0;if((k|0)<128){break b}d=0-(k>>>4|0)|0;h=(k&-16)+f|0;j=123456789;e=123456789;b=123456789;i=123456789;while(1){l=j;c=h+(d<<4)|0;j=N[c>>2];j=ZE(l^T(T(j,597399067)>>>17|T(j,-888307712),-1425107063),19)+e|0;l=e;e=N[c+4>>2];e=T(ZE(l^T(T(e,-1425107063)>>>16|T(e,-1752629248),951274213),17)+b|0,5)+197830471|0;l=b;b=N[c+8>>2];b=T(ZE(l^T(T(b,951274213)>>>15|T(b,-1781923840),-1578923117),15)+i|0,5)-1764942795|0;c=N[c+12>>2];j=T(j,5)+1444728091|0;l=T(ZE(T(T(c,-1578923117)>>>14|T(c,776732672),597399067)^i,13)+j|0,5)+850148119|0;i=l;d=d+1|0;if(d){continue}break}c=0;S:{switch((k&15)-1|0){case 14:c=O[h+14|0]<<16;case 13:c=O[h+13|0]<<8|c;case 12:d=O[h+12|0]^c;l=T(T(d,-1578923117)>>>14|T(d,776732672),597399067)^l;case 11:c=O[h+11|0]<<24;case 10:c=O[h+10|0]<<16|c;case 9:c=O[h+9|0]<<8^c;case 8:i=b;b=O[h+8|0]^c;b=i^T(T(b,951274213)>>>15|T(b,-1781923840),-1578923117);case 7:c=O[h+7|0]<<24;case 6:c=O[h+6|0]<<16|c;case 5:c=O[h+5|0]<<8^c;case 4:d=O[h+4|0]^c;e=T(T(d,-1425107063)>>>16|T(d,-1752629248),951274213)^e;case 3:c=O[h+3|0]<<24;case 2:c=O[h+2|0]<<16|c;case 1:c=O[h+1|0]<<8^c;case 0:d=O[h|0]^c;j=T(T(d,597399067)>>>17|T(d,-888307712),-1425107063)^j;break;default:break S}}d=N[a+748>>2]+f|0;L[d|0]=45;L[d+33|0]=46;L[d+34|0]=46;L[d+35|0]=46;L[d+36|0]=0;e=e^k;c=b^k;i=k^l;b=(e+(c+i|0)|0)+(j^k)|0;h=T(b>>>16^b,-2048144789);h=T(h>>>13^h,-1028477387);j=h>>>16^h;e=b+e|0;e=T(e>>>16^e,-2048144789);e=T(e>>>13^e,-1028477387);h=e>>>16^e;c=c+b|0;c=T(c>>>16^c,-2048144789);c=T(c>>>13^c,-1028477387);e=c>>>16^c;b=b+i|0;b=T(b>>>16^b,-2048144789);b=T(b>>>13^b,-1028477387);c=b>>>16^b;b=((j+h|0)+e|0)+c|0;c=c+b|0;L[d+32|0]=O[(c&15)+584032|0];L[d+25|0]=O[(c>>>28|0)+584032|0];e=b+e|0;L[d+24|0]=O[(e&15)+584032|0];L[d+31|0]=O[(c>>>4&15)+584032|0];L[d+30|0]=O[(c>>>8&15)+584032|0];L[d+29|0]=O[(c>>>12&15)+584032|0];L[d+28|0]=O[(c>>>16&15)+584032|0];L[d+27|0]=O[(c>>>20&15)+584032|0];L[d+26|0]=O[(c>>>24&15)+584032|0];L[d+23|0]=O[(e>>>4&15)+584032|0];L[d+22|0]=O[(e>>>8&15)+584032|0];L[d+21|0]=O[(e>>>12&15)+584032|0];L[d+20|0]=O[(e>>>16&15)+584032|0];L[d+19|0]=O[(e>>>20&15)+584032|0];L[d+18|0]=O[(e>>>24&15)+584032|0];c=b+h|0;L[d+16|0]=O[(c&15)+584032|0];L[d+17|0]=O[(e>>>28|0)+584032|0];L[d+15|0]=O[(c>>>4&15)+584032|0];L[d+14|0]=O[(c>>>8&15)+584032|0];L[d+13|0]=O[(c>>>12&15)+584032|0];L[d+12|0]=O[(c>>>16&15)+584032|0];L[d+11|0]=O[(c>>>20&15)+584032|0];L[d+10|0]=O[(c>>>24&15)+584032|0];L[d+9|0]=O[(c>>>28|0)+584032|0];L[d+8|0]=O[(b&15)+584032|0];L[d+7|0]=O[(b>>>4&15)+584032|0];L[d+6|0]=O[(b>>>8&15)+584032|0];L[d+5|0]=O[(b>>>12&15)+584032|0];L[d+4|0]=O[(b>>>16&15)+584032|0];L[d+3|0]=O[(b>>>20&15)+584032|0];L[d+2|0]=O[(b>>>24&15)+584032|0];L[d+1|0]=O[(b>>>28|0)+584032|0];break b}f=0}N[a+720>>2]=f}La=g+32|0;return f|0}function Sh(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0;o=La-16|0;La=o;t=N[a+736>>2];j=N[a+104>>2];n=N[j+28>>2];N[o+4>>2]=0;p=6;a:{if(!O[a+733|0]|!t){break a}b:{if(!e){break b}f=N[c+4>>2];p=0;if((e|0)!=1){k=e&1;i=e&-2;while(1){g=p<<3;q=g+d|0;G=f+g|0;N[q>>2]=N[G>>2]<<6;N[q+4>>2]=N[G+4>>2]<<6;g=g|8;q=g+d|0;g=f+g|0;N[q>>2]=N[g>>2]<<6;N[q+4>>2]=N[g+4>>2]<<6;p=p+2|0;if((i|0)!=(p|0)){continue}break}if(!k){break b}}g=p<<3;k=g+d|0;f=f+g|0;N[k>>2]=N[f>>2]<<6;N[k+4>>2]=N[f+4>>2]<<6}p=0;if(Q[t+68>>2]<=b>>>0){break a}f=N[t+72>>2];g=b+1|0;if(N[f+(b<<2)>>2]==N[f+(g<<2)>>2]){break a}c:{d:{if((e|0)<0){p=6;break d}e:{f:{g:{if(!e){break g}p=10;if((e|0)>268435455){break d}f=e<<3;r=Qa[N[n+4>>2]](n,f)|0;h:{if(!(r?(e|0)>0:0)){N[o+12>>2]=!r<<6;if(r){break h}break c}C(r,0,f)}s=Qa[N[n+4>>2]](n,f)|0;i:{if(!(s?(e|0)>0:0)){N[o+12>>2]=!s<<6;if(s){break i}p=0;break f}C(s,0,f)}p=Qa[N[n+4>>2]](n,e)|0;if(!(!p|(e|0)<=0)){C(p,0,e);break g}f=!p;N[o+12>>2]=f<<6;if(f){break f}}f=N[t+72>>2];b=N[f+(b<<2)>>2];f=N[f+(g<<2)>>2];j:{k:{g=N[j+20>>2];l:{if(g){if(Qa[g|0](j,b,0,0)|0){break l}break k}if(b>>>0<=Q[j+4>>2]){break k}}N[o+12>>2]=85;break j}N[j+8>>2]=b;g=f-b|0;b=Bb(j,g);N[o+12>>2]=b;if(b){break j}k=N[j>>2];i=N[j+32>>2];H=lb(n,4,0,N[t>>2],0,o+12|0);m:{if(N[o+12>>2]){break m}K=lb(n,4,0,N[t>>2],0,o+12|0);if(N[o+12>>2]){break m}R=lb(n,4,0,N[t>>2],0,o+12|0);if(N[o+12>>2]){break m}f=N[j+36>>2];b=N[j+32>>2];if(f>>>0>b+1>>>0){h=O[b|0]|O[b+1|0]<<8;h=h<<8|h>>>8;b=b+2|0}N[j+32>>2]=b;if(f>>>0>b+1>>>0){D=O[b+1|0]|O[b|0]<<8;b=b+2|0}N[j+32>>2]=b;n:{if(g>>>0>=D>>>0){ba=h&4095;if(g>>>0>=ba<<2>>>0){break n}}N[o+12>>2]=8;break m}I=(i-k|0)+D|0;D=0;o:{if(h<<16>>16>=0){G=0;break o}h=N[j>>2];N[j+32>>2]=f-h>>>0>I>>>0?h+I|0:f;G=ag(j,N[t+76>>2],o+4|0);g=N[j+32>>2];f=N[j>>2];b=b-h|0;h=N[j+36>>2];N[j+32>>2]=b>>>0>>0?f+b|0:h;I=g-f|0}U=lb(n,4,0,e,0,o+12|0);p:{q:{r:{if(N[o+12>>2]){break r}D=lb(n,4,0,e,0,o+12|0);if(N[o+12>>2]){break r}s:{if(!e){break s}b=N[c+4>>2];f=0;if((e|0)!=1){g=e&1;k=e&-2;while(1){h=f<<3;i=h+r|0;q=b+h|0;N[i>>2]=N[q>>2]<<16;N[i+4>>2]=N[q+4>>2]<<16;h=h|8;i=h+r|0;h=b+h|0;N[i>>2]=N[h>>2]<<16;N[i+4>>2]=N[h+4>>2]<<16;f=f+2|0;if((k|0)!=(f|0)){continue}break}if(!g){break s}}f=f<<3;h=f+r|0;b=b+f|0;N[h>>2]=N[b>>2]<<16;N[h+4>>2]=N[b+4>>2]<<16}if(ba){na=e&-4;ea=e&3;fa=e-1|0;ga=e-2|0;ha=e-3|0;Z=e-4|0;ia=N[o+4>>2];i=0;while(1){g=N[j+36>>2];b=N[j+32>>2];t:{if(g>>>0<=b+1>>>0){ja=0;break t}ja=O[b+1|0]|O[b|0]<<8;b=b+2|0}N[j+32>>2]=b;k=0;w=0;u:{v:{w:{x:{y:{z:{A:{if(g>>>0<=b+1>>>0){break A}h=O[b|0]|O[b+1|0]<<8;f=b+2|0;N[j+32>>2]=f;b=h<<8|h>>>8;k=b&65535;w=b<<16>>16;if((w|0)>=0){break A}b=N[t>>2];if(!b){break z}l=0;B:{if((b|0)==1){q=0;break B}m=b&1;y=b&-2;q=0;h=0;while(1){C:{if(g>>>0<=f+1>>>0){b=0;break C}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(q<<2)+H>>2]=b<<16>>16<<2;b=0;if(g>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[((q|1)<<2)+H>>2]=b<<16>>16<<2;q=q+2|0;h=h+2|0;if((y|0)!=(h|0)){continue}break}if(!m){break z}}if(g>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;l=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(q<<2)+H>>2]=l<<16>>16<<2;break z}b=k&4095;if(b>>>0>=Q[t+60>>2]){break y}f=b;b=N[t>>2];F(H,N[t+64>>2]+(T(f,b)<<2)|0,b<<2)}if(!(k&16384)){break u}m=N[t>>2];if(!m){break u}y=m&1;f=N[j+32>>2];l=N[j+36>>2];q=0;E=m-1|0;if(!E){g=0;break w}J=m&-2;g=0;h=0;while(1){D:{if(l>>>0<=f+1>>>0){b=0;break D}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+K>>2]=b<<16>>16<<2;b=0;if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[((g|1)<<2)+K>>2]=b<<16>>16<<2;g=g+2|0;h=h+2|0;if((J|0)!=(h|0)){continue}break}break x}N[o+12>>2]=8;break r}if(!y){break v}}if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;q=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+K>>2]=q<<16>>16<<2}q=0;E:{if(!E){g=0;break E}m=m&-2;g=0;h=0;while(1){F:{if(l>>>0<=f+1>>>0){b=0;break F}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+R>>2]=b<<16>>16<<2;b=0;if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[((g|1)<<2)+R>>2]=b<<16>>16<<2;g=g+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}if(!y){break u}}if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;q=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+R>>2]=q<<16>>16<<2}h=$m(t,w&65535,H,K,R);if(h){oa=N[j+32>>2];ca=N[j>>2];b=N[j+36>>2];N[j+32>>2]=b-ca>>>0>I>>>0?ca+I|0:b;G:{if(k&8192){q=ag(j,N[t+76>>2],o+8|0);k=q;b=N[o+8>>2];break G}N[o+8>>2]=ia;q=i;k=G;b=ia}f=b?b:e;y=Rh(j,N[t+76>>2],f);E=Rh(j,N[t+76>>2],f);H:{if(!y|(!k|!E)){break H}I:{J:{K:{if((k|0)!=-1){if(!e){break I}g=0;f=0;if(e>>>0>=4){break K}break J}f=0;if(!e){break H}while(1){b=f<<2;g=b+D|0;k=N[g>>2];i=b+U|0;l=N[i>>2];m=ob(N[b+y>>2],h);b=ob(N[b+E>>2],h);L:{if(f>>>0>>0){N[i>>2]=l+m;N[g>>2]=b+k;break L}if(!(O[a+740|0]&4|(f|0)!=(Z|0))){N[i>>2]=l+m;break L}if(!(O[a+740|0]&2|(f|0)!=(ha|0))){N[i>>2]=l+m;break L}if(!(O[a+740|0]&32|(f|0)!=(ga|0))){N[g>>2]=b+k;break L}if(O[a+740|0]&16|(f|0)!=(fa|0)){break L}N[g>>2]=b+k}f=f+1|0;if((f|0)!=(e|0)){continue}break}break H}while(1){L[f+p|0]=0;i=f<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;i=f|1;L[i+p|0]=0;i=i<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;i=f|2;L[i+p|0]=0;i=i<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;i=f|3;L[i+p|0]=0;i=i<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;f=f+4|0;if((na|0)!=(f|0)){continue}break}}if(!ea){break I}while(1){L[f+p|0]=0;i=f<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;f=f+1|0;g=g+1|0;if((ea|0)!=(g|0)){continue}break}}f=0;if(b){while(1){g=P[(f<<1)+k>>1];if(g>>>0>>0){L[g+p|0]=1;g=(g<<3)+s|0;i=N[g>>2];l=i;i=f<<2;ta=g,ua=l+ob(N[i+y>>2],h)|0,N[ta>>2]=ua;ta=g,ua=N[g+4>>2]+ob(N[i+E>>2],h)|0,N[ta+4>>2]=ua}f=f+1|0;if((b|0)!=(f|0)){continue}break}}i=0;_=0;if(P[c>>1]){da=s+4|0;J=r+4|0;while(1){w=M[N[c+12>>2]+(_<<1)>>1];M:{if((w|0)<(i|0)){break M}f=w+1|0;$=0;k=i;while(1){b=k+1|0;if(O[k+p|0]){f=k;g=f;N:{O:{P:{Q:{ka=(f|0)<(w|0);if(ka){while(1){l=f;f=b;h=g;R:{if(!O[p+f|0]){break R}h=f;if((g|0)>=(l|0)){break R}b=g+1|0;m=N[(g<<3)+r>>2]>N[(f<<3)+r>>2];V=m?g:f;W=V<<3;h=N[W+s>>2];X=m?f:g;Y=X<<3;z=N[Y+s>>2];u=N[r+W>>2];x=N[r+Y>>2];if(!((u|0)==(x|0)&(h|0)!=(z|0))){m=0;aa=h-u|0;S=z-x|0;if((u|0)!=(x|0)){m=fb(h-z|0,u-x|0)}h=m>>31;v=(h^m)-h|0;pa=v&65535;qa=v>>>16|0;ra=v>>>8|0;g=b;while(1){h=g;la=g<<3;g=N[la+r>>2];S:{if((g|0)<=(x|0)){A=g+S|0;break S}A=g+aa|0;if((g|0)>=(u|0)){break S}A=g-x|0;g=A>>31;g=(g^A)-g|0;T:{if(g+ra>>>0<=8190){B=T(g,v)+32768>>>16|0;break T}B=g&65535;B=T(B,qa)+T(v,g>>>16|0)+(T(pa,B)+32768>>>16)|0}g=B;sa=0-g|0;g=A>>31|1;A=z+((((m|0)<0?0-g|0:g)|0)<0?sa:B)|0}N[s+la>>2]=A;g=h+1|0;if((h|0)!=(l|0)){continue}break}}h=N[J+Y>>2]>N[J+W>>2];g=(h?X:V)<<3;u=N[g+da>>2];h=(h?V:X)<<3;x=N[h+da>>2];z=N[g+J>>2];g=N[h+J>>2];if((z|0)==(g|0)){h=f;if((u|0)!=(x|0)){break R}}m=0;A=u-z|0;V=x-g|0;if((g|0)!=(z|0)){m=fb(u-x|0,z-g|0)}h=m>>31;u=(h^m)-h|0;W=u&65535;X=u>>>16|0;Y=u>>>8|0;while(1){h=b;aa=b<<3;b=N[aa+J>>2];U:{if((b|0)<=(g|0)){v=b+V|0;break U}v=b+A|0;if((b|0)>=(z|0)){break U}v=b-g|0;b=v>>31;b=(b^v)-b|0;V:{if(b+Y>>>0<=8190){B=T(b,u)+32768>>>16|0;break V}S=b&65535;B=T(S,X)+T(u,b>>>16|0)+(T(W,S)+32768>>>16)|0}b=B;S=0-b|0;b=v>>31|1;v=x+((((m|0)<0?0-b|0:b)|0)<0?S:B)|0}N[da+aa>>2]=v;b=h+1|0;if((h|0)!=(l|0)){continue}break}h=f}g=h;b=f+1|0;if((f|0)<(w|0)){continue}break}if((g|0)!=(k|0)){break Q}}h=k<<3;g=h+r|0;f=N[g+4>>2];l=h+s|0;h=N[l+4>>2];l=N[l>>2];g=N[g>>2];if((l|0)==(g|0)&(f|0)==(h|0)){break N}h=h-f|0;g=l-g|0;if((i|0)>=(k|0)){break O}if($&1){f=(i<<3)+s|0;N[f>>2]=g+N[f>>2];N[f+4>>2]=h+N[f+4>>2];i=i+1|0}if(($|0)!=1){break P}break O}Zm(g+1|0,w,g,k,r,s);if((k|0)<=0){break N}Zm(i,k-1|0,g,k,r,s);break N}while(1){f=(i<<3)+s|0;N[f>>2]=g+N[f>>2];N[f+4>>2]=h+N[f+4>>2];N[f+12>>2]=h+N[f+12>>2];N[f+8>>2]=g+N[f+8>>2];i=i+2|0;if((i|0)!=(k|0)){continue}break}}if(!ka){break N}while(1){k=k+1|0;f=(k<<3)+s|0;N[f>>2]=g+N[f>>2];N[f+4>>2]=h+N[f+4>>2];if((k|0)!=(w|0)){continue}break}}i=b;break M}$=$+1|0;h=(k|0)==(w|0);k=b;if(!h){continue}break}i=f}_=_+1|0;if((_|0)>1]){continue}break}}f=0;if(!e){break H}while(1){b=f<<3;h=b+s|0;g=b+r|0;b=N[h+4>>2]-N[g+4>>2]|0;h=N[h>>2]-N[g>>2]|0;i=f<<2;g=i+D|0;k=N[g>>2];i=i+U|0;l=N[i>>2];W:{if(f>>>0>>0){N[i>>2]=h+l;N[g>>2]=b+k;break W}if(!(O[a+740|0]&4|(f|0)!=(Z|0))){N[i>>2]=h+l;break W}if(!(O[a+740|0]&2|(f|0)!=(ha|0))){N[i>>2]=h+l;break W}if(!(O[a+740|0]&32|(f|0)!=(ga|0))){N[g>>2]=b+k;break W}if(O[a+740|0]&16|(f|0)!=(fa|0)){break W}N[g>>2]=b+k}f=f+1|0;if((f|0)!=(e|0)){continue}break}}i=-1;X:{switch(q+1|0){default:Qa[N[n+8>>2]](n,q);case 1:i=0;break;case 0:break X}}if(y){Qa[N[n+8>>2]](n,y)}if(E){Qa[N[n+8>>2]](n,E)}b=oa-ca|0;f=N[j>>2];h=N[j+36>>2];N[j+32>>2]=b>>>0>>0?b+f|0:h}I=I+ja|0;ma=ma+1|0;if((ma|0)!=(ba|0)){continue}break}}if(!e){break r}b=N[c+4>>2];f=0;while(1){c=f<<3;a=c+d|0;h=f<<2;g=h+U|0;N[a>>2]=N[a>>2]+(N[g>>2]+512>>10);h=h+D|0;N[a+4>>2]=N[a+4>>2]+(N[h>>2]+512>>10);a=b+c|0;N[a>>2]=N[a>>2]+(N[g>>2]+32768>>16);N[a+4>>2]=N[a+4>>2]+(N[h>>2]+32768>>16);f=f+1|0;if((f|0)!=(e|0)){continue}break}break q}if(!U){break p}}Qa[N[n+8>>2]](n,U)}if(D){Qa[N[n+8>>2]](n,D)}if(G+1>>>0<2){break m}Qa[N[n+8>>2]](n,G)}if(H){Qa[N[n+8>>2]](n,H)}if(K){Qa[N[n+8>>2]](n,K)}if(R){Qa[N[n+8>>2]](n,R)}if(N[j+20>>2]){a=N[j>>2];if(a){b=N[j+28>>2];Qa[N[b+8>>2]](b,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0}if(!r){break e}}Qa[N[n+8>>2]](n,r)}if(s){Qa[N[n+8>>2]](n,s)}if(!p){break c}Qa[N[n+8>>2]](n,p);break c}N[o+12>>2]=p}p=N[o+12>>2]}La=o+16|0;return p}function kb(a){a=a|0;var 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;l=La-16|0;La=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(a>>>0<=244){j=N[147317];g=a>>>0<11?16:a+11&-8;c=g>>>3|0;b=j>>>c|0;if(b&3){c=c+((b^-1)&1)|0;a=c<<3;b=a+589308|0;d=N[a+589316>>2];a=N[d+8>>2];n:{if((b|0)==(a|0)){m=589268,n=ZE(-2,c)&j,N[m>>2]=n;break n}N[a+12>>2]=b;N[b+8>>2]=a}a=d+8|0;b=c<<3;N[d+4>>2]=b|3;b=b+d|0;N[b+4>>2]=N[b+4>>2]|1;break a}i=N[147319];if(i>>>0>=g>>>0){break m}if(b){a=2<>2];a=N[f+8>>2];o:{if((b|0)==(a|0)){j=ZE(-2,d)&j;N[147317]=j;break o}N[a+12>>2]=b;N[b+8>>2]=a}N[f+4>>2]=g|3;c=f+g|0;a=d<<3;d=a-g|0;N[c+4>>2]=d|1;N[a+f>>2]=d;if(i){b=(i&-8)+589308|0;e=N[147322];a=1<<(i>>>3);p:{if(!(a&j)){N[147317]=a|j;a=b;break p}a=N[b+8>>2]}N[b+8>>2]=e;N[a+12>>2]=e;N[e+12>>2]=b;N[e+8>>2]=a}a=f+8|0;N[147322]=c;N[147319]=d;break a}k=N[147318];if(!k){break m}c=N[(SE(k&0-k)<<2)+589572>>2];d=(N[c+4>>2]&-8)-g|0;b=c;while(1){q:{a=N[b+16>>2];if(!a){a=N[b+20>>2];if(!a){break q}}b=(N[a+4>>2]&-8)-g|0;e=b>>>0>>0;d=e?b:d;c=e?a:c;b=a;continue}break}h=N[c+24>>2];e=N[c+12>>2];if((e|0)!=(c|0)){a=N[c+8>>2];N[a+12>>2]=e;N[e+8>>2]=a;break b}b=c+20|0;a=N[b>>2];if(!a){a=N[c+16>>2];if(!a){break l}b=c+16|0}while(1){f=b;e=a;b=a+20|0;a=N[b>>2];if(a){continue}b=e+16|0;a=N[e+16>>2];if(a){continue}break}N[f>>2]=0;break b}g=-1;if(a>>>0>4294967231){break m}a=a+11|0;g=a&-8;h=N[147318];if(!h){break m}d=0-g|0;k=0;r:{if(g>>>0<256){break r}k=31;if(g>>>0>16777215){break r}a=W(a>>>8|0);k=((g>>>38-a&1)-(a<<1)|0)+62|0}b=N[(k<<2)+589572>>2];s:{t:{u:{if(!b){a=0;break u}a=0;c=g<<((k|0)!=31?25-(k>>>1|0)|0:0);while(1){v:{f=(N[b+4>>2]&-8)-g|0;if(f>>>0>=d>>>0){break v}e=b;d=f;if(d){break v}d=0;a=b;break t}f=N[b+20>>2];b=N[((c>>>29&4)+b|0)+16>>2];a=f?(f|0)==(b|0)?a:f:a;c=c<<1;if(b){continue}break}}if(!(a|e)){e=0;a=2<>2]}if(!a){break s}}while(1){b=(N[a+4>>2]&-8)-g|0;c=b>>>0>>0;d=c?b:d;e=c?a:e;b=N[a+16>>2];if(b){a=b}else{a=N[a+20>>2]}if(a){continue}break}}if(!e|N[147319]-g>>>0<=d>>>0){break m}k=N[e+24>>2];c=N[e+12>>2];if((e|0)!=(c|0)){a=N[e+8>>2];N[a+12>>2]=c;N[c+8>>2]=a;break c}b=e+20|0;a=N[b>>2];if(!a){a=N[e+16>>2];if(!a){break k}b=e+16|0}while(1){f=b;c=a;b=a+20|0;a=N[b>>2];if(a){continue}b=c+16|0;a=N[c+16>>2];if(a){continue}break}N[f>>2]=0;break c}a=N[147319];if(a>>>0>=g>>>0){d=N[147322];b=a-g|0;w:{if(b>>>0>=16){c=d+g|0;N[c+4>>2]=b|1;N[a+d>>2]=b;N[d+4>>2]=g|3;break w}N[d+4>>2]=a|3;a=a+d|0;N[a+4>>2]=N[a+4>>2]|1;c=0;b=0}N[147319]=b;N[147322]=c;a=d+8|0;break a}i=N[147320];if(i>>>0>g>>>0){b=i-g|0;N[147320]=b;c=N[147323];a=c+g|0;N[147323]=a;N[a+4>>2]=b|1;N[c+4>>2]=g|3;a=c+8|0;break a}a=0;k=g+47|0;if(N[147435]){c=N[147437]}else{N[147438]=-1;N[147439]=-1;N[147436]=4096;N[147437]=4096;N[147435]=l+12&-16^1431655768;N[147440]=0;N[147428]=0;c=4096}f=k+c|0;e=0-c|0;b=f&e;if(b>>>0<=g>>>0){break a}d=N[147427];if(d){c=N[147425];h=c+b|0;if(d>>>0>>0|c>>>0>=h>>>0){break a}}x:{if(!(O[589712]&4)){y:{z:{A:{B:{h=N[147323];if(h){d=589716;while(1){c=N[d>>2];if(c>>>0<=h>>>0&h>>>0>2]>>>0){break B}d=N[d+8>>2];if(d){continue}break}}c=Ae(0);if((c|0)==-1){break y}e=b;f=N[147436];d=f-1|0;if(d&c){e=(b-c|0)+(c+d&0-f)|0}if(e>>>0<=g>>>0){break y}f=N[147427];if(f){d=N[147425];h=d+e|0;if(f>>>0>>0|d>>>0>=h>>>0){break y}}d=Ae(e);if((d|0)!=(c|0)){break A}break x}e=e&f-i;c=Ae(e);if((c|0)==(N[d>>2]+N[d+4>>2]|0)){break z}d=c}if((d|0)==-1){break y}if(g+48>>>0<=e>>>0){c=d;break x}c=N[147437];c=c+(k-e|0)&0-c;if((Ae(c)|0)==-1){break y}e=c+e|0;c=d;break x}if((c|0)!=-1){break x}}N[147428]=N[147428]|4}c=Ae(b);b=Ae(0);if((c|0)==-1|(b|0)==-1|b>>>0<=c>>>0){break a}e=b-c|0;if(e>>>0<=g+40>>>0){break a}}a=N[147425]+e|0;N[147425]=a;if(a>>>0>Q[147426]){N[147426]=a}C:{i=N[147323];if(i){a=589716;while(1){d=N[a>>2];b=N[a+4>>2];if((d+b|0)==(c|0)){break C}a=N[a+8>>2];if(a){continue}break}break j}a=N[147321];if(!(a>>>0<=c>>>0?a:0)){N[147321]=c}a=0;N[147430]=e;N[147429]=c;N[147325]=-1;N[147326]=N[147435];N[147432]=0;while(1){d=a<<3;b=d+589308|0;N[d+589316>>2]=b;N[d+589320>>2]=b;a=a+1|0;if((a|0)!=32){continue}break}d=e-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;N[147320]=b;a=a+c|0;N[147323]=a;N[a+4>>2]=b|1;N[(c+d|0)+4>>2]=40;N[147324]=N[147439];break i}if(N[a+12>>2]&8|(c>>>0<=i>>>0|d>>>0>i>>>0)){break j}N[a+4>>2]=b+e;a=i+8&7?-8-i&7:0;c=a+i|0;N[147323]=c;b=N[147320]+e|0;a=b-a|0;N[147320]=a;N[c+4>>2]=a|1;N[(b+i|0)+4>>2]=40;N[147324]=N[147439];break i}e=0;break b}c=0;break c}if(Q[147321]>c>>>0){N[147321]=c}b=c+e|0;a=589716;D:{E:{F:{while(1){if((b|0)!=N[a>>2]){a=N[a+8>>2];if(a){continue}break F}break}if(!(O[a+12|0]&8)){break E}}a=589716;while(1){b=N[a>>2];if(b>>>0<=i>>>0){f=b+N[a+4>>2]|0;if(f>>>0>i>>>0){break D}}a=N[a+8>>2];continue}}N[a>>2]=c;N[a+4>>2]=N[a+4>>2]+e;k=(c+8&7?-8-c&7:0)+c|0;N[k+4>>2]=g|3;j=b+(b+8&7?-8-b&7:0)|0;h=g+k|0;a=j-h|0;if((i|0)==(j|0)){N[147323]=h;a=N[147320]+a|0;N[147320]=a;N[h+4>>2]=a|1;break d}if(N[147322]==(j|0)){N[147322]=h;a=N[147319]+a|0;N[147319]=a;N[h+4>>2]=a|1;N[a+h>>2]=a;break d}d=N[j+4>>2];if((d&3)!=1){break e}f=d&-8;if(d>>>0<=255){b=d>>>3|0;d=N[j+12>>2];c=N[j+8>>2];if((d|0)==(c|0)){m=589268,n=N[147317]&ZE(-2,b),N[m>>2]=n;break f}N[c+12>>2]=d;N[d+8>>2]=c;break f}g=N[j+24>>2];c=N[j+12>>2];if((j|0)!=(c|0)){b=N[j+8>>2];N[b+12>>2]=c;N[c+8>>2]=b;break g}b=j+20|0;d=N[b>>2];if(!d){d=N[j+16>>2];if(!d){break h}b=j+16|0}while(1){e=b;c=d;b=c+20|0;d=N[b>>2];if(d){continue}b=c+16|0;d=N[c+16>>2];if(d){continue}break}N[e>>2]=0;break g}d=e-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;N[147320]=b;a=a+c|0;N[147323]=a;N[a+4>>2]=b|1;N[(c+d|0)+4>>2]=40;N[147324]=N[147439];a=(f+(f-39&7?39-f&7:0)|0)-47|0;d=a>>>0>>0?i:a;N[d+4>>2]=27;a=N[147432];N[d+16>>2]=N[147431];N[d+20>>2]=a;a=N[147430];N[d+8>>2]=N[147429];N[d+12>>2]=a;N[147431]=d+8;N[147430]=e;N[147429]=c;N[147432]=0;a=d+24|0;while(1){N[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((d|0)==(i|0)){break i}N[d+4>>2]=N[d+4>>2]&-2;f=d-i|0;N[i+4>>2]=f|1;N[d>>2]=f;if(f>>>0<=255){b=(f&-8)+589308|0;c=N[147317];a=1<<(f>>>3);G:{if(!(c&a)){N[147317]=a|c;a=b;break G}a=N[b+8>>2]}N[b+8>>2]=i;N[a+12>>2]=i;N[i+12>>2]=b;N[i+8>>2]=a;break i}a=31;if(f>>>0<=16777215){a=W(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}N[i+28>>2]=a;N[i+16>>2]=0;N[i+20>>2]=0;d=(a<<2)+589572|0;H:{c=N[147318];b=1<>2]=i;N[i+24>>2]=d;break I}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);e=N[d>>2];while(1){b=e;if((f|0)==(N[b+4>>2]&-8)){break H}c=a>>>29|0;a=a<<1;c=b+(c&4)|0;e=N[c+16>>2];if(e){continue}break}N[c+16>>2]=i;N[i+24>>2]=b}N[i+12>>2]=i;N[i+8>>2]=i;break i}a=N[b+8>>2];N[a+12>>2]=i;N[b+8>>2]=i;N[i+24>>2]=0;N[i+12>>2]=b;N[i+8>>2]=a}a=0;b=N[147320];if(b>>>0<=g>>>0){break a}b=b-g|0;N[147320]=b;c=N[147323];a=c+g|0;N[147323]=a;N[a+4>>2]=b|1;N[c+4>>2]=g|3;a=c+8|0;break a}c=0}if(!g){break f}d=N[j+28>>2];b=(d<<2)+589572|0;J:{if(N[b>>2]==(j|0)){N[b>>2]=c;if(c){break J}m=589272,n=N[147318]&ZE(-2,d),N[m>>2]=n;break f}N[g+(N[g+16>>2]==(j|0)?16:20)>>2]=c;if(!c){break f}}N[c+24>>2]=g;b=N[j+16>>2];if(b){N[c+16>>2]=b;N[b+24>>2]=c}b=N[j+20>>2];if(!b){break f}N[c+20>>2]=b;N[b+24>>2]=c}a=a+f|0;j=f+j|0;d=N[j+4>>2]}N[j+4>>2]=d&-2;N[h+4>>2]=a|1;N[a+h>>2]=a;if(a>>>0<=255){b=(a&-8)+589308|0;c=N[147317];a=1<<(a>>>3);K:{if(!(c&a)){N[147317]=a|c;a=b;break K}a=N[b+8>>2]}N[b+8>>2]=h;N[a+12>>2]=h;N[h+12>>2]=b;N[h+8>>2]=a;break d}d=31;if(a>>>0<=16777215){b=W(a>>>8|0);d=((a>>>38-b&1)-(b<<1)|0)+62|0}N[h+28>>2]=d;N[h+16>>2]=0;N[h+20>>2]=0;e=(d<<2)+589572|0;L:{c=N[147318];b=1<>2]=h;N[h+24>>2]=e;break M}d=a<<((d|0)!=31?25-(d>>>1|0)|0:0);c=N[e>>2];while(1){b=c;if((N[c+4>>2]&-8)==(a|0)){break L}c=d>>>29|0;d=d<<1;e=b+(c&4)|0;c=N[e+16>>2];if(c){continue}break}N[e+16>>2]=h;N[h+24>>2]=b}N[h+12>>2]=h;N[h+8>>2]=h;break d}a=N[b+8>>2];N[a+12>>2]=h;N[b+8>>2]=h;N[h+24>>2]=0;N[h+12>>2]=b;N[h+8>>2]=a}a=k+8|0;break a}N:{if(!k){break N}b=N[e+28>>2];a=(b<<2)+589572|0;O:{if(N[a>>2]==(e|0)){N[a>>2]=c;if(c){break O}h=ZE(-2,b)&h;N[147318]=h;break N}N[k+(N[k+16>>2]==(e|0)?16:20)>>2]=c;if(!c){break N}}N[c+24>>2]=k;a=N[e+16>>2];if(a){N[c+16>>2]=a;N[a+24>>2]=c}a=N[e+20>>2];if(!a){break N}N[c+20>>2]=a;N[a+24>>2]=c}P:{if(d>>>0<=15){a=d+g|0;N[e+4>>2]=a|3;a=a+e|0;N[a+4>>2]=N[a+4>>2]|1;break P}N[e+4>>2]=g|3;f=e+g|0;N[f+4>>2]=d|1;N[d+f>>2]=d;if(d>>>0<=255){b=(d&-8)+589308|0;c=N[147317];a=1<<(d>>>3);Q:{if(!(c&a)){N[147317]=a|c;a=b;break Q}a=N[b+8>>2]}N[b+8>>2]=f;N[a+12>>2]=f;N[f+12>>2]=b;N[f+8>>2]=a;break P}a=31;if(d>>>0<=16777215){a=W(d>>>8|0);a=((d>>>38-a&1)-(a<<1)|0)+62|0}N[f+28>>2]=a;N[f+16>>2]=0;N[f+20>>2]=0;c=(a<<2)+589572|0;R:{b=1<>2]=f;N[f+24>>2]=c;break S}a=d<<((a|0)!=31?25-(a>>>1|0)|0:0);g=N[c>>2];while(1){b=g;if((N[b+4>>2]&-8)==(d|0)){break R}c=a>>>29|0;a=a<<1;c=b+(c&4)|0;g=N[c+16>>2];if(g){continue}break}N[c+16>>2]=f;N[f+24>>2]=b}N[f+12>>2]=f;N[f+8>>2]=f;break P}a=N[b+8>>2];N[a+12>>2]=f;N[b+8>>2]=f;N[f+24>>2]=0;N[f+12>>2]=b;N[f+8>>2]=a}a=e+8|0;break a}T:{if(!h){break T}b=N[c+28>>2];a=(b<<2)+589572|0;U:{if(N[a>>2]==(c|0)){N[a>>2]=e;if(e){break U}m=589272,n=ZE(-2,b)&k,N[m>>2]=n;break T}N[h+(N[h+16>>2]==(c|0)?16:20)>>2]=e;if(!e){break T}}N[e+24>>2]=h;a=N[c+16>>2];if(a){N[e+16>>2]=a;N[a+24>>2]=e}a=N[c+20>>2];if(!a){break T}N[e+20>>2]=a;N[a+24>>2]=e}V:{if(d>>>0<=15){a=d+g|0;N[c+4>>2]=a|3;a=a+c|0;N[a+4>>2]=N[a+4>>2]|1;break V}N[c+4>>2]=g|3;e=c+g|0;N[e+4>>2]=d|1;N[d+e>>2]=d;if(i){b=(i&-8)+589308|0;f=N[147322];a=1<<(i>>>3);W:{if(!(a&j)){N[147317]=a|j;a=b;break W}a=N[b+8>>2]}N[b+8>>2]=f;N[a+12>>2]=f;N[f+12>>2]=b;N[f+8>>2]=a}N[147322]=e;N[147319]=d}a=c+8|0}La=l+16|0;return a|0}function jB(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;p=La-80|0;La=p;N[p+12>>2]=0;c=6;a:{if(!a|!b){break a}c=97;b:{if(N[b+8>>2]!=8){break b}c=6;f=N[b+4>>2];if(!f){break b}q=N[b>>2];if(!q){break b}u=N[a>>2];if(!u){c=32;break b}c:{if(N[b+48>>2]-33>>>0<4294967265){break c}c=0;d=N[q>>2];j=N[q+4>>2];a=j<<4;if((d|a)<0){c=6;break a}if(!(!a|!d)){c=10;if((2147483647/(a>>>0)|0)<(d|0)){break a}c=Qa[N[u+4>>2]](u,T(a,d))|0;if(!c){c=64;break a}j=N[q+4>>2];d=N[q>>2]}N[p+20>>2]=d;N[p+16>>2]=j;N[p+12>>2]=c;a=N[b+12>>2];N[p+32>>2]=N[b+8>>2];N[p+36>>2]=a;a=N[b+20>>2];N[p+40>>2]=N[b+16>>2];N[p+44>>2]=a;a=N[b+28>>2];N[p+48>>2]=N[b+24>>2];N[p+52>>2]=a;a=N[b+36>>2];N[p+56>>2]=N[b+32>>2];N[p+60>>2]=a;c=N[b+44>>2];a=p- -64|0;N[a>>2]=N[b+40>>2];N[a+4>>2]=c;a=N[b+52>>2];N[p+72>>2]=N[b+48>>2];N[p+76>>2]=a;a=N[b+4>>2];N[p+24>>2]=N[b>>2];N[p+28>>2]=a;a=f;b=6;k=p+12|0;d:{if(!k){break d}f=N[k+4>>2];e=N[a+4>>2];if((f|0)<(e|0)){break d}h=N[k+8>>2];n=N[a>>2];if((h|0)<(n|0)){break d}c=O[a+18|0];if(!c){break d}o=(h-n|0)/2|0;m=(f-e|0)/2|0;l=N[a+12>>2];d=N[k>>2];b=7;e:{switch(c-1|0){case 1:b=0;if((h|0)<=0|(f|0)<=0){break d}r=f&-4;i=f&3;c=0;while(1){a=T(c,f);j=c-o|0;f:{if(!((j|0)>=(n|0)|(j|0)<0)){s=n+(j^-1)|0;while(1){t=d+(a+b<<4)|0;g=t;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;g=b-m|0;if(!((g|0)<0|(e|0)<=(g|0))){L[t+12|0]=O[l+(g+T(e,O[k+65|0]?s:j)|0)|0]}b=b+1|0;if((f|0)!=(b|0)){continue}break}break f}j=0;if(f>>>0>=4){while(1){g=d+(a+b<<4)|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;g=d+(a+(b|1)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;g=d+(a+(b|2)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;g=d+(a+(b|3)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;b=b+4|0;if((r|0)!=(b|0)){continue}break}}if(!i){break f}while(1){g=d+(a+b<<4)|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;b=b+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}b=0;c=c+1|0;if((h|0)!=(c|0)){continue}break};break d;case 0:break e;default:break d}}b=0;if((h|0)<=0|(f|0)<=0){break d}s=f&-4;r=f&3;while(1){c=T(f,g);j=g-o|0;g:{if(!((j|0)>=(n|0)|(j|0)<0)){t=n+(j^-1)|0;while(1){v=d+(b+c<<4)|0;i=v;N[i>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;i=b-m|0;if(!((i|0)<0|(e|0)<=(i|0))){L[v+12|0]=O[l+(T(N[a+8>>2],O[k+65|0]?t:j)+(i>>>3|0)|0)|0]>>>((i^-1)&7)&1?-1:0}b=b+1|0;if((f|0)!=(b|0)){continue}break}break g}j=0;if(f>>>0>=4){while(1){i=d+(b+c<<4)|0;N[i>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;i=d+(c+(b|1)<<4)|0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;i=d+(c+(b|2)<<4)|0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;i=d+(c+(b|3)<<4)|0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;b=b+4|0;if((s|0)!=(b|0)){continue}break}}if(!r){break g}while(1){i=d+(b+c<<4)|0;N[i>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;b=b+1|0;j=j+1|0;if((r|0)!=(j|0)){continue}break}}b=0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}c=b;if(c){break c}a=La-16|0;La=a;f=6;g=p+12|0;h:{if(!g){break h}k=N[g>>2];if(!k){break h}j=N[g+8>>2];if((j|0)>0){f=0;c=N[g+4>>2];if((c|0)<=0){break h}t=k+28|0;v=k-4|0;b=k;while(1){if((c|0)<=0){f=f+1|0}else{n=f+1|0;x=!f;j=0;while(1){i:{j:{e=T(c,f)+j<<4;h=e+b|0;d=O[h+12|0];if(!d){break j}i=N[g+8>>2];k:{l:{m:{n:{if((d|0)!=255){break n}d=0;o=(f|0)>(i|0);if(!(o|x)){d=1;if(!O[(h-(c<<4)|0)+12|0]){break n}}m=(i|0)<=(n|0);if(!m){if(!O[(h+(c<<4)|0)+12|0]){break n}d=d+1|0}if(!(!j|(f|0)>=(i|0))){if(!O[h-4|0]){break m}d=d+1|0}l=(j+1|0)>=(c|0);if(!(l|(f|0)>=(i|0))){if(!O[h+28|0]){break n}d=d+1|0}if(!(!j|(!f|o))){if(!O[(h-(c<<4)|0)-4|0]){break m}d=d+1|0}if(!(l|(!f|o))){if(!O[(h-(c<<4)|0)+28|0]){break n}d=d+1|0}if(!(m|!j)){if(!O[(h+(c<<4)|0)-4|0]){break m}d=d+1|0}if(!O[(h+(c<<4)|0)+28|0]|(m|l)){break n}if((d|0)==7){break j}}d=e+k|0;b=d+4|0;if(j){break l}h=0;o=0;break k}d=e+k|0;b=d+4|0}h=0;o=0;if(!f){break k}m=c-1|0;if((m|0)<=(j|0)|(i-1|0)<=(f|0)){break k}h=e+k|0;o=O[(h+(m<<4)|0)+12|0];l=O[(h+(1-c<<4)|0)+12|0];i=c<<4;m=h-i|0;r=h+i|0;w=O[r+28|0];s=O[(h+((c^-1)<<4)|0)+12|0]<<8;i=O[e+t|0];c=O[e+v|0];o:{if(c>>>0<=30){c=T(c,23726336)+32768>>>16|0;break o}c=(c<<8)+(T(c,6949120)+32768>>>16|0)|0}e=O[m+12|0];m=o<<8;l=l<<8;s=0-s|0;o=O[r+12|0];r=O[h+12|0];w=w<<8;N[a+8>>2]=w+((l+s-(c+m)|0)+(i>>>0<=30?T(i,23726336)+32768>>>16|0:(i<<8)+(T(i,6949120)+32768>>>16|0)|0)|0);c=e>>>0<=30?T(e,23726336)+32768>>>16|0:(e<<8)+(T(e,6949120)+32768>>>16|0)|0;e=r<<8;N[a+12>>2]=((w+(m+(s-l|0)|0)|0)-c|0)+(o>>>0<=30?T(o,23726336)+32768>>>16|0:(o<<8)+(T(o,6949120)+32768>>>16|0)|0);_b(a+8|0);i=N[a+8>>2];o=N[a+12>>2];c=32768-e|0;p:{if(!(o?i:0)){break p}c=i>>31;m=(c^i)-c|0;c=o>>31;l=(c^o)-c|0;c=m>>>0>>0?m:l;h=m>>>0>l>>>0?m:l;s=(fb(c,h)|0)/2|0;if((s|0)>(e|0)){l=m+l>>>1|0;c=c+r>>>0<=8190?T(c,e)+32768>>>16|0:T(e,c>>>16|0)+(T(e,c&65535)+32768>>>16|0)|0;e=c;c=c>>31;c=(e^c)-c|0;q:{if(h+(c>>>8|0)>>>0<=8190){c=T(c,h)+32768>>>16|0;break q}e=h&65535;c=T(e,c>>>16|0)+T(c,h>>>16|0)+(T(e,c&65535)+32768>>>16)|0}c=l-bp(c<<1)|0;break p}if((e|0)<(65536-s|0)){e=32768-e|0;c=e>>31;c=(c^e)-c|0;r:{if(c+(h>>>8|0)>>>0<=8190){c=T(c,h)+32768>>>16|0;break r}c=c&65280;c=T(c,h>>>16|0)+(T(c,h&65535)+32768>>>16|0)|0}c=r>>>0>128?0-c|0:c;break p}m=m+l>>>1|0;e=65536-e|0;s:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break s}l=c&65535;c=T(l,e>>>16|0)+T(e,c>>>16|0)+(T(l,e&65280)+32768>>>16)|0}e=c>>31;e=(c^e)-e|0;t:{if(h+(e>>>8|0)>>>0<=8190){h=T(e,h)+32768>>>16|0;break t}l=h&65535;h=T(l,e>>>16|0)+T(e,h>>>16|0)+(T(l,e&65535)+32768>>>16)|0}c=bp(((c|0)<0?0-h|0:h)<<1)-m|0}h=c>>31;h=(c^h)-h|0;m=h>>>8|0;e=i>>31;e=(e^i)-e|0;u:{if(m+e>>>0<=8190){l=T(e,h)+32768>>>16|0;break u}l=e&65535;l=T(l,h>>>16|0)+T(h,e>>>16|0)+(T(l,h&65535)+32768>>>16)|0}e=l;r=0-e|0;e=i>>31|1;s=0-e|0;i=e;e=(c|0)<0;N[a+8>>2]=((e?s:i)|0)<0?r:l;c=o>>31;c=(c^o)-c|0;v:{if(c+m>>>0<=8190){h=T(c,h)+32768>>>16|0;break v}i=c&65535;h=T(i,h>>>16|0)+T(h,c>>>16|0)+(T(i,h&65535)+32768>>>16)|0}c=h;i=0-c|0;c=o>>31|1;N[a+12>>2]=((e?0-c|0:c)|0)<0?i:h;h=N[a+8>>2];o=N[a+12>>2]}N[b>>2]=h;N[b+4>>2]=o;y=d,z=Wb(b),N[y>>2]=z;b=N[g>>2];c=N[g+4>>2];break i}d=e+k|0;N[d>>2]=26214400;N[d+4>>2]=13107200;N[d+8>>2]=13107200}j=j+1|0;if((j|0)<(c|0)){continue}break}j=N[g+8>>2];f=n}if((f|0)<(j|0)){continue}break}}f=0}La=a+16|0;c=f;if(c){break c}f=La-16|0;La=f;a=6;k=p+12|0;w:{if(!k){break w}j=N[k>>2];if(!j){break w}a=0;i=N[k+8>>2];if((i|0)<2){break w}h=N[k+4>>2];if((h|0)<2){break w}c=h-2|0;o=0-h|0;n=1;while(1){e=T(h,n);b=1;while(1){d=j+(b+e<<4)|0;a=d+(o<<4)|0;g=N[d>>2];x:{if((N[a-16>>2]-65536|0)>=(g|0)){break x}m=a-12|0;l=N[m>>2];m=N[m+4>>2];N[f+8>>2]=l-65536;N[f+12>>2]=m-65536;t=g;g=Wb(f+8|0);if((t|0)<=(g|0)){break x}N[d>>2]=g;g=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=g}g=N[d>>2];y:{if((g|0)<=(N[a>>2]-65536|0)){break y}l=N[a+8>>2];N[f+8>>2]=N[a+4>>2];N[f+12>>2]=l-65536;t=g;g=Wb(f+8|0);if((t|0)<=(g|0)){break y}N[d>>2]=g;g=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=g}g=N[d>>2];z:{if((g|0)<=(N[a+16>>2]-65536|0)){break z}m=N[a+20>>2];a=N[a+24>>2];N[f+8>>2]=m+65536;N[f+12>>2]=a-65536;a=Wb(f+8|0);if((a|0)>=(g|0)){break z}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}g=N[d>>2];A:{if((g|0)<=(N[d-16>>2]-65536|0)){break A}m=d-12|0;a=N[m>>2];N[f+12>>2]=N[m+4>>2];N[f+8>>2]=a-65536;a=Wb(f+8|0);if((a|0)>=(g|0)){break A}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}b=b+1|0;if((h|0)!=(b|0)){continue}break}a=c;while(1){b=a;d=j+(a+e<<4)|0;g=N[d>>2];B:{if((g|0)<=(N[d+16>>2]-65536|0)){break B}a=N[d+20>>2];N[f+12>>2]=N[d+24>>2];N[f+8>>2]=a+65536;a=Wb(f+8|0);if((a|0)>=(g|0)){break B}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}a=b-1|0;if((b|0)>0){continue}break}n=n+1|0;if((i|0)!=(n|0)){continue}break}a=0;b=N[k+8>>2];if((b|0)<2){break w}h=N[k+4>>2];if((h|0)<2){break w}n=N[k>>2];c=h-2|0;k=b-2|0;while(1){j=T(h,k);b=1;while(1){d=n+(b+j<<4)|0;a=d+(h<<4)|0;e=N[d>>2];C:{if((N[a-16>>2]-65536|0)>=(e|0)){break C}g=a-12|0;i=N[g>>2];g=N[g+4>>2];N[f+8>>2]=i-65536;N[f+12>>2]=g+65536;g=e;e=Wb(f+8|0);if((g|0)<=(e|0)){break C}N[d>>2]=e;e=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=e}e=N[d>>2];D:{if((e|0)<=(N[a>>2]-65536|0)){break D}i=N[a+8>>2];N[f+8>>2]=N[a+4>>2];N[f+12>>2]=i+65536;g=e;e=Wb(f+8|0);if((g|0)<=(e|0)){break D}N[d>>2]=e;e=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=e}e=N[d>>2];E:{if((e|0)<=(N[a+16>>2]-65536|0)){break E}g=N[a+20>>2];a=N[a+24>>2];N[f+8>>2]=g+65536;N[f+12>>2]=a+65536;a=Wb(f+8|0);if((a|0)>=(e|0)){break E}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}e=N[d>>2];F:{if((e|0)<=(N[d-16>>2]-65536|0)){break F}g=d-12|0;a=N[g>>2];N[f+12>>2]=N[g+4>>2];N[f+8>>2]=a-65536;a=Wb(f+8|0);if((a|0)>=(e|0)){break F}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}b=b+1|0;if((h|0)!=(b|0)){continue}break}a=c;while(1){b=a;d=n+(a+j<<4)|0;e=N[d>>2];G:{if((e|0)<=(N[d+16>>2]-65536|0)){break G}a=N[d+20>>2];N[f+12>>2]=N[d+24>>2];N[f+8>>2]=a+65536;a=Wb(f+8|0);if((a|0)>=(e|0)){break G}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}a=b-1|0;if((b|0)>0){continue}break}a=0;b=(k|0)>0;k=k-1|0;if(b){continue}break}}La=f+16|0;c=a;if(c){break c}a=6;b=p+12|0;H:{if(!b){break H}f=N[q+4>>2];if((f|0)!=N[b+4>>2]){break H}h=N[q>>2];if((h|0)!=N[b+8>>2]){break H}if((h|0)>0){a=0;if((f|0)<=0){break H}j=N[q+12>>2];c=N[b+60>>2]<<16;while(1){e=T(a,f);d=0;while(1){q=d+e|0;k=N[b>>2]+(q<<4)|0;n=O[k+12|0]<127;k=N[k>>2];k=fb(T(O[b+64|0]?n?1:-1:n?-1:1,(k|0)<0?c:(c|0)<(k|0)?c:k),c);n=k>>31;g=j+q|0;n=(k^n)-n|0;q=n>>>9|0;n=(k|0)>0?n>>>0>65535?127:q:q;q=n&255;k=(k|0)<0;n=k?n>>>0>128?128:q:q;L[g|0]=(k?0-n|0:n)^128;d=d+1|0;if((f|0)!=(d|0)){continue}break}a=a+1|0;if((h|0)!=(a|0)){continue}break}}a=0}c=a}d=u}a=N[p+12>>2];if(!a){break a}Qa[N[d+8>>2]](d,a)}La=p+80|0;return c|0}function Zj(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0;f=La-288|0;La=f;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}h=Vb(a+144|0);break b}h=mc(a+148|0)}g=N[h>>2];g=g?g:275552;g=Q[g+16>>2]<4?275552:N[g+12>>2]}N[f+20>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;L[f+52|0]=0;L[f+16|0]=1;N[f+12>>2]=0;N[f+4>>2]=1;N[f+8>>2]=1;c:{d:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break c}a=Vb(a+144|0);break d}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}N[f+80>>2]=0;N[f+84>>2]=0;L[f+76|0]=1;N[f+72>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;L[f+112|0]=0;N[f+136>>2]=0;N[f+140>>2]=0;L[f+132|0]=1;N[f+128>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;N[f+152>>2]=0;N[f+156>>2]=0;N[f+160>>2]=0;N[f+164>>2]=0;L[f+168|0]=0;N[f+64>>2]=1;N[f+68>>2]=1;N[f+56>>2]=h;N[f+120>>2]=1;N[f+124>>2]=1;N[f+60>>2]=f+4;L[f+184|0]=1;N[f+180>>2]=0;N[f+188>>2]=0;N[f+192>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;N[f+204>>2]=0;N[f+208>>2]=0;N[f+212>>2]=0;N[f+216>>2]=0;L[f+220|0]=0;N[f+172>>2]=1;N[f+176>>2]=1;N[f+232>>2]=0;N[f+224>>2]=0;N[f+228>>2]=0;e:{if(!d){L[f+116|0]=0;break e}L[f+116|0]=1;N[f+252>>2]=0;N[f+256>>2]=0;N[f+260>>2]=0;N[f+264>>2]=0;N[f+268>>2]=0;N[f+272>>2]=0;N[f+276>>2]=0;N[f+280>>2]=0;L[f+284|0]=0;L[f+248|0]=1;N[f+244>>2]=0;N[f+236>>2]=1;N[f+240>>2]=1;b=N[d>>2];if(b){while(1){tc(f+236|0,b);b=N[d+4>>2];d=d+4|0;if(b){continue}break}}m=f- -64|0;a=0;while(1){f:{b=N[f+56>>2];g:{if((O[b|0]|O[b+1|0]<<8)!=256){break g}d=O[b+6|0]|O[b+7|0]<<8;if(!d){break g}b=b+((d<<8|d>>>8)&65535)|0;d=O[b|0]|O[b+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>a>>>0){break f}}a=N[f+244>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;h=N[a+12>>2]+T(d,12)|0;b=N[h+8>>2];h=N[h+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](h);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a)}_a(N[f+268>>2]);_a(N[f+280>>2]);break e}d=O[b|0]|O[b+1|0]<<8;b=((d<<8|d>>>8)&65535)>>>0<=a>>>0?275552:(b+T(a,6)|0)+2|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);i=k>>>9|0;o=N[f+268>>2];h:{i:{j:{b=N[f+256>>2];j=N[f+264>>2];if(b>>>0>=j>>>0){break j}b=o+(b<<3)|0;if((i|0)!=N[b>>2]){break j}d=b+4|0;break i}b=0;if((j|0)<=0){break h}d=j-1|0;b=0;k:{while(1){h=b+d>>>1|0;l=o+(h<<3)|0;n=N[l>>2];l:{if((n|0)>(i|0)){d=h-1|0;break l}if((i|0)==(n|0)){break k}b=h+1|0}if((b|0)<=(d|0)){continue}break}b=0;break h}N[f+256>>2]=h;d=(h>>>0>=j>>>0?275552:l)+4|0}h=N[f+280>>2];b=0;if(!h){break h}b=(h+(N[d>>2]<<6)|0)+(k>>>3&56)|0;i=N[b>>2];h=N[b+4>>2];d=k&63;b=d&31;b=((d&63)>>>0>=32?h>>>b|0:((1<>>b)&1}if((b|0)!=O[f+284|0]){tc(m,a)}a=a+1|0;continue}}m:{if(c){a=N[c>>2];if(!a){break m}while(1){h=c;d=275552;c=N[f+56>>2];k=(O[c|0]|O[c+1|0]<<8)!=256;n:{if(k){break n}b=O[c+4|0]|O[c+5|0]<<8;if(!b){break n}d=c+((b<<8|b>>>8)&65535)|0}b=O[d|0]|O[d+1|0]<<8;o:{if(!b){break o}o=d+2|0;b=((b<<8|b>>>8)&65535)-1|0;j=0;while(1){p:{d=b+j>>>1|0;m=T(d,6);i=m+o|0;i=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);i=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);q:{if(i>>>0>a>>>0){b=d-1|0;break q}if((a|0)==(i|0)){break p}j=d+1|0}if((b|0)>=(j|0)){continue}break o}break}l=f+56|0;a=275552;r:{if(k){break r}b=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!b){break r}a=c+((b<<8|b>>>8)&65535)|0}b=O[a|0]|O[a+1|0]<<8;if(d>>>0<((b<<8|b>>>8)&65535)>>>0){b=(a+m|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}ak(l,a)}c=h+4|0;a=N[h+4>>2];if(a){continue}break}break m}d=275552;a=N[f+56>>2];s:{if((O[a|0]|O[a+1|0]<<8)!=256){break s}b=O[a+4|0]|O[a+5|0]<<8;if(!b){break s}d=a+((b<<8|b>>>8)&65535)|0}a=O[d|0]|O[d+1|0]<<8;if(!a){break m}a=(a<<8|a>>>8)&65535;h=a>>>0<=1?1:a;b=0;while(1){l=f+56|0;c=N[f+56>>2];a=275552;t:{if((O[c|0]|O[c+1|0]<<8)!=256){break t}d=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!d){break t}a=c+((d<<8|d>>>8)&65535)|0}c=O[a|0]|O[a+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>b>>>0){c=(a+T(b,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(c){a=a+((c<<8|c>>>8)&65535)|0}else{a=275552}ak(l,a);b=b+1|0;if((h|0)!=(b|0)){continue}break}}N[f+172>>2]=-57005;a=N[f+180>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+180>>2]=0}if(N[f+200>>2]){N[f+200>>2]=0}_a(N[f+204>>2]);N[f+204>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;if(N[f+212>>2]){N[f+212>>2]=0}_a(N[f+216>>2]);N[f+216>>2]=0;N[f+208>>2]=0;N[f+212>>2]=0;if(N[f+200>>2]){N[f+200>>2]=0}_a(N[f+204>>2]);N[f+204>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;N[f+120>>2]=-57005;a=N[f+128>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+128>>2]=0}if(N[f+148>>2]){N[f+148>>2]=0}_a(N[f+152>>2]);N[f+152>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;if(N[f+160>>2]){N[f+160>>2]=0}_a(N[f+164>>2]);N[f+164>>2]=0;N[f+156>>2]=0;N[f+160>>2]=0;if(N[f+148>>2]){N[f+148>>2]=0}_a(N[f+152>>2]);N[f+152>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;N[f+64>>2]=-57005;a=N[f+72>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+72>>2]=0}if(N[f+92>>2]){N[f+92>>2]=0}_a(N[f+96>>2]);N[f+96>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;if(N[f+104>>2]){N[f+104>>2]=0}_a(N[f+108>>2]);N[f+108>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;if(N[f+92>>2]){N[f+92>>2]=0}_a(N[f+96>>2]);N[f+56>>2]=-1;o=e+12|0;u:while(1){if(!Se(f+4|0,f+56|0)){k=275552;v:{if((O[g|0]|O[g+1|0]<<8)!=256){break v}a=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0<65537){break v}a=O[g+10|0]|O[g+11|0]<<8|(O[g+12|0]<<16|O[g+13|0]<<24);if(!a){break v}k=g+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0}a=O[k+4|0]|O[k+5|0]<<8|(O[k+6|0]<<16|O[k+7|0]<<24);if(a){m=k+8|0;w=m+((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))<<3)|0;while(1){l=275552;a=O[m+4|0]|O[m+5|0]<<8|(O[m+6|0]<<16|O[m+7|0]<<24);if(a){l=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+k|0}a=O[l+4|0]|O[l+5|0]<<8;w:{if(!a){break w}i=l+6|0;a=(a<<8|a>>>8)&65535;n=N[f+32>>2];h=n-1|0;c=N[f+24>>2];v=O[f+52|0];r=N[f+48>>2];p=N[f+36>>2];while(1){b=O[i|0]|O[i+1|0]<<8;s=(b<<8|b>>>8)&65535;q=s>>>9|0;x:{y:{z:{if(c>>>0>=n>>>0){break z}b=p+(c<<3)|0;if((q|0)!=N[b>>2]){break z}b=b+4|0;break y}j=0;b=0;d=h;if((n|0)<=0){break x}while(1){A:{g=b+d>>>1|0;t=p+(g<<3)|0;u=N[t>>2];B:{if((u|0)>(q|0)){d=g-1|0;break B}if((q|0)==(u|0)){break A}b=g+1|0}if((b|0)<=(d|0)){continue}break x}break}N[f+24>>2]=g;c=g;b=(n>>>0<=c>>>0?275552:t)+4|0}if(!r){j=0;break x}b=(r+(N[b>>2]<<6)|0)+(s>>>3&56)|0;j=N[b>>2];g=N[b+4>>2];d=s&63;b=d&31;j=((d&63)>>>0>=32?g>>>b|0:((1<>>b)&1}if((j|0)==(v|0)){i=i+6|0;a=a-1|0;if(a){continue}break w}break}if(!a){break w}while(1){b=O[i+2|0]|O[i+3|0]<<8|(O[i+4|0]<<16|O[i+5|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+l|0}else{b=275552}c=O[b+2|0]|O[b+3|0]<<8;j=(c<<8|c>>>8)&65535;b=b+4|0;C:{if(O[e+48|0]){Ug(o,b,j);break C}if(!c|!O[o|0]){break C}N[e+16>>2]=-1;c=O[b|0]|O[b+1|0]<<8;d=(c<<8|c>>>8)&65535;D:while(1){h=wc(o,d);if(!h){break C}n=d&65024;q=n+512|0;while(1){c=h+(d>>>3&56)|0;r=N[c+4>>2];g=d&63;d=g&31;if((g&63)>>>0>=32){g=1<>>32-d}N[c>>2]=p|N[c>>2];N[c+4>>2]=g|r;j=j-1|0;if(!j){break C}c=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;d=(c<<8|c>>>8)&65535;if(n>>>0>d>>>0){continue D}if(d>>>0>>0){continue}break}continue}}n=N[f+32>>2];h=n-1|0;c=N[f+24>>2];v=O[f+52|0];r=N[f+48>>2];p=N[f+36>>2];while(1){b=a;d=(b|0)!=0;a=b-d|0;i=T(d,6)+i|0;if((b|0)!=(d|0)){b=O[i|0]|O[i+1|0]<<8;s=(b<<8|b>>>8)&65535;q=s>>>9|0;E:{F:{G:{if(c>>>0>=n>>>0){break G}b=p+(c<<3)|0;if((q|0)!=N[b>>2]){break G}b=b+4|0;break F}j=0;b=0;d=h;if((n|0)<=0){break E}while(1){H:{g=b+d>>>1|0;t=p+(g<<3)|0;u=N[t>>2];I:{if((u|0)>(q|0)){d=g-1|0;break I}if((q|0)==(u|0)){break H}b=g+1|0}if((b|0)<=(d|0)){continue}break E}break}N[f+24>>2]=g;c=g;b=(n>>>0<=c>>>0?275552:t)+4|0}if(!r){j=0;break E}b=(r+(N[b>>2]<<6)|0)+(s>>>3&56)|0;j=N[b>>2];g=N[b+4>>2];d=s&63;b=d&31;j=((d&63)>>>0>=32?g>>>b|0:((1<>>b)&1}if((j|0)==(v|0)){continue}}break}if(a){continue}break}}m=m+8|0;if((w|0)!=(m|0)){continue}break}}N[f+4>>2]=-57005;a=N[f+12>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+12>>2]=0}if(N[f+32>>2]){N[f+32>>2]=0}_a(N[f+36>>2]);N[f+36>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;if(N[f+44>>2]){N[f+44>>2]=0}_a(N[f+48>>2]);N[f+48>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;if(N[f+32>>2]){N[f+32>>2]=0}_a(N[f+36>>2]);La=f+288|0;return}a=275552;J:{if((O[g|0]|O[g+1|0]<<8)!=256){break J}b=O[g+6|0]|O[g+7|0]<<8;a=275552;if(!b){break J}a=g+((b<<8|b>>>8)&65535)|0}b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;b=N[f+56>>2];if(c>>>0>b>>>0){b=(a+T(b,6)|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}c=O[a+2|0]|O[a+3|0]<<8;j=(c<<8|c>>>8)&65535;b=a+4|0;if(O[e+48|0]){Ug(o,b,j);continue}if(!c|!O[o|0]){continue}N[e+16>>2]=-1;a=O[b|0]|O[b+1|0]<<8;d=(a<<8|a>>>8)&65535;K:while(1){h=wc(o,d);if(!h){continue u}i=d&65024;k=i+512|0;while(1){a=h+(d>>>3&56)|0;m=N[a+4>>2];d=d&63;c=d&31;if((d&63)>>>0>=32){d=1<>>32-c}N[a>>2]=l|N[a>>2];N[a+4>>2]=d|m;j=j-1|0;if(!j){continue u}a=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;d=(a<<8|a>>>8)&65535;if(i>>>0>d>>>0){continue K}if(d>>>0>>0){continue}break}continue}}}function nu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0;i=La-48|0;La=i;p=N[b+100>>2];d=N[a+20>>2];a:{if(d){h=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;N[i+32>>2]=0;N[i+36>>2]=8;N[i+24>>2]=1;N[i+28>>2]=1;h=64;j=Qa[N[p+4>>2]](p,64)|0;if(!j){N[i+40>>2]=64;break a}d=j;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d+32|0]=0;L[d+33|0]=0;L[d+34|0]=0;L[d+35|0]=0;L[d+36|0]=0;L[d+37|0]=0;L[d+38|0]=0;L[d+39|0]=0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+56|0]=0;L[d+57|0]=0;L[d+58|0]=0;L[d+59|0]=0;L[d+60|0]=0;L[d+61|0]=0;L[d+62|0]=0;L[d+63|0]=0;L[d+48|0]=0;L[d+49|0]=0;L[d+50|0]=0;L[d+51|0]=0;L[d+52|0]=0;L[d+53|0]=0;L[d+54|0]=0;L[d+55|0]=0;L[d+40|0]=0;L[d+41|0]=0;L[d+42|0]=0;L[d+43|0]=0;L[d+44|0]=0;L[d+45|0]=0;L[d+46|0]=0;L[d+47|0]=0;L[d+24|0]=0;L[d+25|0]=0;L[d+26|0]=0;L[d+27|0]=0;L[d+28|0]=0;L[d+29|0]=0;L[d+30|0]=0;L[d+31|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;M[d+12>>1]=32767;N[d+36>>2]=i+24;e=N[a+4>>2];N[d+56>>2]=p;N[d+60>>2]=e;N[d+40>>2]=0;N[d+44>>2]=0;N[d+48>>2]=0;N[d+52>>2]=p;e=1024;s=N[a+28>>2];g=Qa[N[s+4>>2]](s,1024)|0;h=!g<<6;b:{if(!g){break b}N[i+12>>2]=169;L[g|0]=0;q=256;r=1;c:{d:while(1){l=e;k=0;e=0;while(1){if(!(k&1)){n=0;k=N[a+4>>2];d=N[a+8>>2];if(k>>>0>d>>>0){f=l-o|0;n=g+o|0;m=N[a+20>>2];e:{if(m){n=Qa[m|0](a,d,n,f)|0;break e}m=n;t=d+N[a>>2]|0;d=k-d|0;n=d>>>0>>0?d:f;F(m,t,n)}N[a+8>>2]=N[a+8>>2]+n}f=n+o|0;o=0}f:{g:{if((e|0)>=(f|0)){d=e}else{d=L[e+g|0]==(q|0);q=d?256:q;d=d+e|0}e=d;if((f|0)>(d|0)){while(1){h:{m=e+g|0;k=O[m|0];switch(k-10|0){case 0:case 3:break g;default:break h}}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(!n){break f}if(!d){if(l>>>0>65535){h=6;break f}e=l<<1;d=Qa[N[s+12>>2]](s,l,e,g)|0;g=d?d:g;h=0;o=l;if(d){continue d}h=64;break f}n=f-d|0;F(g,d+g|0,n);k=0;e=0;o=n;f=d;continue}L[m|0]=0;i:{j:{q=d+g|0;switch(O[q|0]-26|0){case 0:case 9:break i;default:break j}}if((d|0)>=(e|0)){break i}h=0;t=e-d|0;d=Qa[N[i+12>>2]](q,t,r,i+12|0,j)|0;if((d|0)==-1){d=Qa[N[i+12>>2]](q,t,r,i+12|0,j)|0}if(!d){break i}h=d;break c}L[m|0]=k;q=(k|0)==10?13:(k|0)==13?10:256;k=1;e=e+1|0;r=r+1|0;continue}break}break}if(!g){break b}}Qa[N[s+8>>2]](s,g)}N[i+44>>2]=h;e=N[j+32>>2];k:{l:{if(h){break l}m:{n:{o:{p:{q:{if(e){if(N[e+28>>2]!=8){M[e+32>>1]=P[e+4>>1]}r:{if(!N[N[j+36>>2]>>2]|!(N[e+52>>2]|N[e+64>>2])){break r}a=M[j+12>>1];d=M[j+16>>1]-a|0;if((d|0)!=P[e+4>>1]){M[e+4>>1]=d}if(P[e+8>>1]!=(a&65535)){M[e+8>>1]=a}d=P[j+18>>1];if((d|0)!=P[e+12>>1]){M[e+12>>1]=d}a=P[j+20>>1];f=a<<16>>16;if((a|0)!=P[e+14>>1]){M[e+14>>1]=a;M[e+10>>1]=0-a}a=f+(d<<16>>16)|0;if((a|0)==P[e+6>>1]){break r}M[e+6>>1]=a}f=N[j>>2];if(f&1){break q}a=N[e+88>>2];if(a){break p}h=0;break k}f=N[j>>2];if(!(f&1)){break o}}if(f&32){break n}h=185;break m}a=lb(N[e+100>>2],1,a,a+1|0,N[e+84>>2],i+44|0);e=N[j+32>>2];N[e+84>>2]=a;h=N[i+44>>2];if(h){break l}h=0;L[a+N[e+88>>2]|0]=0;e=N[j+32>>2];break k}h=3;N[i+44>>2]=3;e=0;break k}h=186}N[i+44>>2]=h}dm(e);a=N[j+32>>2];if(a){Qa[N[p+8>>2]](p,a)}e=0;N[j+32>>2]=0}a=N[j+52>>2];if(a){d=N[j+40>>2];if(d){Qa[N[a+8>>2]](a,d)}N[j+40>>2]=0;N[j+44>>2]=0;N[j+48>>2]=0;N[j+52>>2]=0}a=N[j+24>>2];if(a){Qa[N[p+8>>2]](p,a)}N[j+24>>2]=0;Qa[N[p+8>>2]](p,j);N[i+40>>2]=h;s:{t:{u:{v:{w:{x:{y:{z:{A:{if((h&255)!=176){if(h){break a}N[b+140>>2]=e;if(!(!(c&65535)|(c|0)<=0)){yh(b);h=6;break a}N[b>>2]=1;N[b+4>>2]=0;N[b+8>>2]=N[b+8>>2]|18;B:{C:{if(!e|!N[e+72>>2]){break C}a=Ad(19980,N[e+92>>2]);D:{if(!a){break D}c=N[e+80>>2];if(!c){break D}a=c+(N[a>>2]<<4)|0;if(N[a+4>>2]!=1){break D}a=N[a+12>>2];if(!a){break D}E:{F:{a=O[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break D;case 0:case 10:break E;default:break F}}switch(a-99|0){case 0:case 10:break E;default:break D}}N[b+8>>2]=N[b+8>>2]|4}if(!N[e+72>>2]){break C}a=Ad(20231,N[e+92>>2]);if(!a){break C}c=N[e+80>>2];if(!c){break C}a=N[(c+(N[a>>2]<<4)|0)+12>>2];if(!a){break C}u=b,v=Nc(p,a,i+40|0),N[u+20>>2]=v;h=N[i+40>>2];if(!h){break B}break a}N[b+20>>2]=0}j=0;N[b+12>>2]=0;g=N[b+100>>2];h=1;f=N[b+140>>2];if(!f|!N[f+72>>2]){break v}a=0;o=0;c=Ad(19332,N[f+92>>2]);G:{if(!c){break G}d=N[f+80>>2];if(!d){break G}c=d+(N[c>>2]<<4)|0;if(N[c+4>>2]!=1){break G}d=N[c+12>>2];if(!d){break G}H:{switch(O[d|0]-73|0){case 0:case 6:case 32:case 38:break H;default:break G}}N[b+12>>2]=N[b+12>>2]|1;o=(O[N[c+12>>2]]&223)==79?15457:17754}if(!N[f+72>>2]){d=0;l=0;q=0;n=0;f=0;k=1;break w}q=0;k=1;c=Ad(20260,N[f+92>>2]);l=0;I:{if(!c){break I}d=N[f+80>>2];l=0;if(!d){break I}c=d+(N[c>>2]<<4)|0;l=0;if(N[c+4>>2]!=1){break I}c=N[c+12>>2];l=0;if(!c){break I}l=0;if((O[c|0]|32)!=98){break I}N[b+12>>2]=N[b+12>>2]|2;k=0;l=16733}if(!N[f+72>>2]){break z}d=0;c=Ad(20282,N[f+92>>2]);a=0;J:{if(!c){break J}h=N[f+80>>2];a=0;if(!h){break J}c=h+(N[c>>2]<<4)|0;a=0;if(N[c+4>>2]!=1){break J}c=N[c+12>>2];a=0;if(!c){break J}h=O[c|0];a=0;if(!h){break J}a=0;if((h|0)==78){break J}a=0;if((h|0)==110){break J}a=c}q=a;if(!N[f+72>>2]){break y}a=Ad(20296,N[f+92>>2]);if(!a){break z}c=N[f+80>>2];if(!c){break z}a=c+(N[a>>2]<<4)|0;if(N[a+4>>2]!=1){break y}d=N[a+12>>2];if(!d){break z}a=0;c=O[d|0];if(!c|(c|0)==78|(c|0)==110){break A}a=nb(d);f=a+1|0;break x}yh(b);h=2;break a}d=0;f=0;break x}d=0}a=0;f=0}if(k){l=0;n=0;k=1;break w}n=nb(l);f=(n+f|0)+1|0;k=0}r=0;if(o){j=nb(o);f=(j+f|0)+1|0}c=!o;h=!q;if(q){r=nb(q);f=(r+f|0)+1|0}if(!f){f=8;a=7;d=12199;break u}if((f|0)>0){break u}h=6;break t}f=8;a=7;d=12199;k=1;l=0;o=0;q=0;n=0;c=1;r=0}f=Qa[N[g+4>>2]](g,f)|0;if(f){break s}h=64}N[b+24>>2]=0;break a}N[b+24>>2]=f;if(d){F(f,d,a);K:{if(!a){break K}d=0;g=0;if(a>>>0>=4){s=a&-4;while(1){m=f+g|0;if(O[m|0]==32){L[m|0]=45}m=(g|1)+f|0;if(O[m|0]==32){L[m|0]=45}m=(g|2)+f|0;if(O[m|0]==32){L[m|0]=45}m=(g|3)+f|0;if(O[m|0]==32){L[m|0]=45}g=g+4|0;if((s|0)!=(g|0)){continue}break}}s=a&3;if(!s){break K}while(1){m=f+g|0;if(O[m|0]==32){L[m|0]=45}g=g+1|0;d=d+1|0;if((s|0)!=(d|0)){continue}break}}f=a+f|0}if(!k){if(N[b+24>>2]!=(f|0)){L[f|0]=32;f=f+1|0}F(f,l,n);f=f+n|0}if(!c){if(N[b+24>>2]!=(f|0)){L[f|0]=32;f=f+1|0}F(f,o,j);f=f+j|0}if(!h){if(N[b+24>>2]!=(f|0)){L[f|0]=32;f=f+1|0}F(f,q,r);L:{if(!r){break L}d=0;g=0;if(r>>>0>=4){a=r&-4;while(1){c=f+g|0;if(O[c|0]==32){L[c|0]=45}c=(g|1)+f|0;if(O[c|0]==32){L[c|0]=45}c=(g|2)+f|0;if(O[c|0]==32){L[c|0]=45}c=(g|3)+f|0;if(O[c|0]==32){L[c|0]=45}g=g+4|0;if((a|0)!=(g|0)){continue}break}}a=r&3;if(!a){break L}while(1){c=f+g|0;if(O[c|0]==32){L[c|0]=45}g=g+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}f=f+r|0}L[f|0]=0;a=N[e+48>>2];N[b+28>>2]=1;N[b+16>>2]=a+1;a=Qa[N[p+4>>2]](p,16)|0;if(a){L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[i+40>>2]=0;N[b+32>>2]=a;g=N[e+40>>2];if(g-32768>>>0<4294901761){g=(g|0)<0?-32767:32767;N[e+40>>2]=g}d=N[e+44>>2];if(d-32768>>>0<=4294901760){d=(d|0)<0?-32767:32767;N[e+44>>2]=d}M[a>>1]=d+g;d=Nd(e,19895);M:{if(d){d=N[d+12>>2];c=32767;if(d-327666>>>0<4294311965){break M}d=(d+5|0)/10|0;c=d>>31;c=(c^d)-c|0;break M}c=jb(M[a>>1],2,3)}M[a+2>>1]=c;d=Nd(e,20048);N:{if(d){d=N[d+12>>2];c=32767;if(d-328899>>>0<4294309499){break N}c=d>>31;c=jb((c^d)-c|0,460800,72270);break N}c=N[e+16>>2];if(c){c=c>>>0>32767?32767:c<<6;break N}c=M[a+2>>1]<<6}N[a+4>>2]=c;c=Nd(e,20082);if(c){c=N[c+12>>2];d=c>>31;N[a+12>>2]=c-32768>>>0<4294901761?2097088:(c^d)-d<<6}d=Nd(e,18765);d=N[(d?d+12|0:e+20|0)>>2];c=0;O:{if(!d){break O}c=32767;if(d-32768>>>0<4294901761){break O}c=d>>31;c=(c^d)-c|0}P:{Q:{R:{S:{d=Nd(e,18633);d=N[(d?d+12|0:e+24|0)>>2];if(d){if(d-32768>>>0<4294901761){break S}f=d;d=d>>31;k=(f^d)-d|0;g=N[a+12>>2];if(g){break Q}g=N[a+4>>2];N[a+12>>2]=g;if(!(k&65535)){break P}d=a+12|0;break R}g=N[a+12>>2];if(g){break P}g=N[a+4>>2];N[a+12>>2]=g;break P}k=32767;g=N[a+12>>2];if(g){break Q}g=N[a+4>>2];N[a+12>>2]=g;d=a+12|0}g=jb(g,k&65535,72);N[d>>2]=g}if(!c){break P}d=k&65535;if(!d){break P}g=jb(g,c,d)}N[a+8>>2]=g;a=N[e+56>>2];c=lb(p,8,0,N[e+48>>2],0,i+40|0);N[b+144>>2]=c;h=N[i+40>>2];if(h){break a}N[b+148>>2]=0;d=N[e+48>>2];T:{if(!d){break T}h=N[e+36>>2];f=0;if((d|0)!=1){l=d&1;n=d&-2;while(1){d=N[(a+T(f,36)|0)+4>>2];o=c+(f<<3)|0;M[o+4>>1]=f;N[o>>2]=d;if((d|0)==(h|0)){N[b+148>>2]=f}d=f|1;o=N[(a+T(d,36)|0)+4>>2];j=c+(d<<3)|0;M[j+4>>1]=d;N[j>>2]=o;if((h|0)==(o|0)){N[b+148>>2]=d}f=f+2|0;if((n|0)!=(f|0)){continue}break}if(!l){break T}}a=N[(a+T(f,36)|0)+4>>2];c=c+(f<<3)|0;M[c+4>>1]=f;N[c>>2]=a;if((a|0)!=(h|0)){break T}N[b+148>>2]=f}U:{a=Nd(e,18649);c=Nd(e,19963);if(!a|!c|(N[a+4>>2]!=1|N[c+4>>2]!=1)){break U}if(!N[a+12>>2]){break U}c=N[c+12>>2];if(!c){break U}u=b,v=Nc(p,c,i+40|0),N[u+132>>2]=v;h=N[i+40>>2];if(h){break a}a=Nc(p,N[a+12>>2],i+40|0);N[b+136>>2]=a;h=N[i+40>>2];if(h){break a}V:{W:{X:{Y:{if(!((O[a|0]|32)!=105|(O[a+1|0]|32)!=115|(O[a+2|0]|32)!=111)){a=a+3|0;if(!cb(a,21540)){break Y}if(!cb(a,21356)){if(!cb(N[b+132>>2],21900)){break Y}}if(!cb(a,21737)){break X}}N[i+16>>2]=0;N[i+20>>2]=0;N[i+12>>2]=b;break V}N[i+16>>2]=0;N[i+20>>2]=0;N[i+12>>2]=b;break W}a=cb(N[b+132>>2],19136);N[i+16>>2]=0;N[i+20>>2]=0;N[i+12>>2]=b;if(a){break V}}N[i+16>>2]=1970170211;N[i+20>>2]=65539}h=Bc(43664,0,i+12|0,0);break a}N[i+16>>2]=1094995778;N[i+20>>2]=7;N[i+12>>2]=b;h=Bc(43664,0,i+12|0,0);if(!N[b+36>>2]){break a}N[b+92>>2]=N[N[b+40>>2]>>2];break a}h=64;N[i+40>>2]=64;N[b+32>>2]=0}La=i+48|0;return h|0}function jE(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=284;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];j:{k:{l:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break k}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break l}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break j}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=285;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];v:{w:{x:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break w}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break x}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break v}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break A}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break C}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break B}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break G}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];H:{I:{J:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break I}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break J}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break H}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;K:{L:{M:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break L}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break M}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break K}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break P}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break S}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];T:{U:{V:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break U}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break V}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break T}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Dc(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;o=La-32|0;La=o;f=a+144|0;if(Q[Vb(f)+4>>2]<=b>>>0){c=0}else{N[o+24>>2]=d;N[o+20>>2]=c;N[o+16>>2]=a;c=0;N[o+12>>2]=0;L[o+28|0]=(e|0)!=0;d=275552;a=N[Vb(f)>>2];a=a?a:275552;e=Q[a+16>>2]<4?275552:N[a+12>>2];a:{if((O[e|0]|O[e+1|0]<<8)!=256){break a}a=275552;h=O[e+8|0]|O[e+9|0]<<8;if(h){a=e+((h<<8|h>>>8)&65535)|0}e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<=b>>>0){break a}e=(b<<1)+a|0;e=O[e+2|0]|O[e+3|0]<<8;if(!e){break a}d=((e<<8|e>>>8)&65535)+a|0}a=Vb(f);b:{if(!N[o+24>>2]){break b}a=N[a+8>>2]+T(b,28)|0;b=N[N[o+20>>2]>>2];if(!(N[a>>2]>>>(b>>>4)&1)|!(N[a+4>>2]>>>b&1)|!(N[a+8>>2]>>>(b>>>9)&1)){break b}a=O[d+4|0]|O[d+5|0]<<8;if(!a){break b}b=O[d|0]|O[d+1|0]<<8;x=(b<<8|b>>>8)&65535;t=d+4|0;u=(a<<8|a>>>8)&65535;y=u>>>0<=1?1:u;b=0;c=1;while(1){a=O[t|0]|O[t+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+t|0)+2|0;a=O[a|0]|O[a+1|0]<<8;if(a){e=((a<<8|a>>>8)&65535)+d|0}else{e=275552}j=o+12|0;a=x;p=La-32|0;La=p;c:{d:{while(1){e:{if((a|0)!=7){g=0;f:{switch(a-1|0){case 0:g:{h:{i:{a=O[e|0]|O[e+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break h;case 0:break i;default:break c}}if(N[j+12>>2]!=1){break c}f=O[e+2|0]|O[e+3|0]<<8;a=275552;if(!f){break g}a=((f<<8|f>>>8)&65535)+e|0;break g}if(N[j+12>>2]!=1){break c}f=O[e+2|0]|O[e+3|0]<<8;a=275552;if(!f){break g}a=((f<<8|f>>>8)&65535)+e|0}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 1:if((O[e|0]|O[e+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 2:if((O[e|0]|O[e+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 3:if((O[e|0]|O[e+1|0]<<8)!=256){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);if((a|0)==-1){break c}k=275552;h=((a<<1)+e|0)+6|0;f=a;a=O[e+4|0]|O[e+5|0]<<8;a=f>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:h;a=O[a|0]|O[a+1|0]<<8;if(a){k=((a<<8|a>>>8)&65535)+e|0}a=O[k|0]|O[k+1|0]<<8;if(!a){break c}l=(a<<8|a>>>8)&65535;e=k+2|0;while(1){j:{f=N[j+12>>2];a=O[e|0]|O[e+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+k|0}else{a=275552}h=O[a+2|0]|O[a+3|0]<<8;if((f|0)!=((h<<8|h>>>8)&65535)){break j}i=1;if(f>>>0<2){g=1;break c}while(1){f=O[a+2|0]|O[a+3|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=i>>>0?275552:(a+(i<<1)|0)+2|0;f=O[f|0]|O[f+1|0]<<8;if(N[N[j+8>>2]+(i<<2)>>2]!=((f<<8|f>>>8)&65535)){break j}g=1;i=i+1|0;if(i>>>0>2]){continue}break}break c}e=e+2|0;l=l-1|0;if(l){continue}break};g=0;break c;case 4:k:{l:{a=O[e|0]|O[e+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break d;case 1:break k;case 0:break l;default:break c}}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);f=O[e+4|0]|O[e+5|0]<<8;a=a>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((a<<1)+e|0)+6|0;a=O[a|0]|O[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}e=O[a|0]|O[a+1|0]<<8;if(!e){break c}l=(e<<8|e>>>8)&65535;i=a+2|0;f=N[j+12>>2];while(1){e=O[i|0]|O[i+1|0]<<8;if(e){h=a+((e<<8|e>>>8)&65535)|0}else{h=275552}e=O[h|0]|O[h+1|0]<<8;e=(e<<8|e>>>8)&65535;m:{if((e|0)!=(f|0)){break m}if(e>>>0<2){g=1;break c}g=1;e=1;m=N[j+8>>2];k=h+4|0;h=O[k|0]|O[k+1|0]<<8;if(N[m+4>>2]!=((h<<8|h>>>8)&65535)){break m}while(1){h=e+1|0;if((h|0)==(f|0)){break c}n=e<<1;e=h;h=k+n|0;h=O[h|0]|O[h+1|0]<<8;if(N[m+(e<<2)>>2]==((h<<8|h>>>8)&65535)){continue}break}if(e>>>0>=f>>>0){break c}}i=i+2|0;l=l-1|0;if(l){continue}break}g=0;break c}h=N[N[j+8>>2]>>2];a=0;n:{o:{p:{q:{f=O[e+4|0]|O[e+5|0]<<8;if(f){f=((f<<8|f>>>8)&65535)+e|0}else{f=275552}g=O[f|0]|O[f+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break n}}a=h;h=O[f+2|0]|O[f+3|0]<<8;h=a-((h<<8|h>>>8)&65535)|0;g=O[f+4|0]|O[f+5|0]<<8;a=275552;if(h>>>0>=((g<<8|g>>>8)&65535)>>>0){break o}a=(f+(h<<1)|0)+6|0;break o}k=241305;a=O[f+2|0]|O[f+3|0]<<8;r:{if(!a){break r}m=f+4|0;a=((a<<8|a>>>8)&65535)-1|0;g=0;while(1){i=a+g>>>1|0;l=m+T(i,6)|0;n=O[l|0]|O[l+1|0]<<8;s:{if(h>>>0>=((n<<8|n>>>8)&65535)>>>0){g=O[l+2|0]|O[l+3|0]<<8;if(h>>>0>((g<<8|g>>>8)&65535)>>>0){g=i+1|0;break s}k=m+T(i,6)|0;break r}a=i-1|0}if((a|0)>=(g|0)){continue}break}}a=k+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}i=275552;g=((a<<1)+e|0)+8|0;h=a;a=O[e+6|0]|O[e+7|0]<<8;a=h>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:g;a=O[a|0]|O[a+1|0]<<8;if(a){i=((a<<8|a>>>8)&65535)+e|0}a=O[i|0]|O[i+1|0]<<8;if(!a){g=0;break c}q=(a<<8|a>>>8)&65535;s=f+4|0;l=i+2|0;while(1){a=O[l|0]|O[l+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+i|0}else{a=275552}e=O[a|0]|O[a+1|0]<<8;m=(e<<8|e>>>8)&65535;t:{if((m|0)!=N[j+12>>2]){break t}if(m>>>0<2){g=1;break c}v=a+4|0;a=O[v|0]|O[v+1|0]<<8;n=(a<<8|a>>>8)&65535;h=N[N[j+8>>2]+4>>2];a=0;u:{v:{w:{x:{e=O[f|0]|O[f+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break w;case 0:break x;default:break u}}e=O[f+4|0]|O[f+5|0]<<8;g=(e<<8|e>>>8)&65535;e=O[f+2|0]|O[f+3|0]<<8;e=h-((e<<8|e>>>8)&65535)|0;a=275552;if(g>>>0<=e>>>0){break v}a=(f+(e<<1)|0)+6|0;break v}e=O[f+2|0]|O[f+3|0]<<8;y:{if(e){e=((e<<8|e>>>8)&65535)-1|0;while(1){k=a+e>>>1|0;g=s+T(k,6)|0;r=O[g|0]|O[g+1|0]<<8;z:{if(h>>>0>=((r<<8|r>>>8)&65535)>>>0){a=O[g+2|0]|O[g+3|0]<<8;if(h>>>0<=((a<<8|a>>>8)&65535)>>>0){break y}a=k+1|0;break z}e=k-1|0}if((a|0)<=(e|0)){continue}break}}g=241305}a=g+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}g=1;e=1;if((a|0)!=(n|0)){break t}while(1){h=e+1|0;if((h|0)==(m|0)){break c}a=(e<<1)+v|0;a=O[a|0]|O[a+1|0]<<8;z=(a<<8|a>>>8)&65535;n=N[N[j+8>>2]+(h<<2)>>2];a=0;A:{B:{C:{D:{e=O[f|0]|O[f+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break C;case 0:break D;default:break A}}e=O[f+4|0]|O[f+5|0]<<8;k=(e<<8|e>>>8)&65535;e=O[f+2|0]|O[f+3|0]<<8;e=n-((e<<8|e>>>8)&65535)|0;a=275552;if(k>>>0<=e>>>0){break B}a=(f+(e<<1)|0)+6|0;break B}e=O[f+2|0]|O[f+3|0]<<8;E:{if(e){e=((e<<8|e>>>8)&65535)-1|0;while(1){r=a+e>>>1|0;k=s+T(r,6)|0;w=O[k|0]|O[k+1|0]<<8;F:{if(n>>>0>=((w<<8|w>>>8)&65535)>>>0){a=O[k+2|0]|O[k+3|0]<<8;if(n>>>0<=((a<<8|a>>>8)&65535)>>>0){break E}a=r+1|0;break F}e=r-1|0}if((a|0)<=(e|0)){continue}break}}k=241305}a=k+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}e=h;if((a|0)==(z|0)){continue}break}if(e>>>0>=m>>>0){break c}}l=l+2|0;q=q-1|0;if(q){continue}break};g=0;break c;case 5:break e;case 7:break f;default:break c}}if((O[e|0]|O[e+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c}g=0;if((O[e|0]|O[e+1|0]<<8)!=256){break c}a=O[e+2|0]|O[e+3|0]<<8;a=(a<<8|a>>>8)&65535;f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(f){e=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+e|0}else{e=275552}continue}break}G:{H:{I:{a=O[e|0]|O[e+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break G;case 1:break H;case 0:break I;default:break c}}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);f=O[e+4|0]|O[e+5|0]<<8;a=a>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((a<<1)+e|0)+6|0;a=O[a|0]|O[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=Oj(a,j,238152);break c}i=275552;k=275552;a=O[e+4|0]|O[e+5|0]<<8;if(a){k=((a<<8|a>>>8)&65535)+e|0}a=O[e+6|0]|O[e+7|0]<<8;if(a){i=((a<<8|a>>>8)&65535)+e|0}a=O[e+8|0]|O[e+9|0]<<8;if(a){f=((a<<8|a>>>8)&65535)+e|0}else{f=275552}h=N[N[j+8>>2]>>2];a=0;J:{K:{L:{M:{g=O[i|0]|O[i+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break L;case 0:break M;default:break J}}a=h;h=O[i+2|0]|O[i+3|0]<<8;h=a-((h<<8|h>>>8)&65535)|0;g=O[i+4|0]|O[i+5|0]<<8;a=275552;if(h>>>0>=((g<<8|g>>>8)&65535)>>>0){break K}a=((h<<1)+i|0)+6|0;break K}l=241305;a=O[i+2|0]|O[i+3|0]<<8;N:{if(!a){break N}q=i+4|0;a=((a<<8|a>>>8)&65535)-1|0;g=0;while(1){m=a+g>>>1|0;n=q+T(m,6)|0;s=O[n|0]|O[n+1|0]<<8;O:{if(h>>>0>=((s<<8|s>>>8)&65535)>>>0){g=O[n+2|0]|O[n+3|0]<<8;if(h>>>0>((g<<8|g>>>8)&65535)>>>0){g=m+1|0;break O}l=q+T(m,6)|0;break N}a=m-1|0}if((a|0)>=(g|0)){continue}break}}a=l+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}g=275552;l=((a<<1)+e|0)+12|0;h=a;a=O[e+10|0]|O[e+11|0]<<8;a=h>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:l;a=O[a|0]|O[a+1|0]<<8;if(a){g=((a<<8|a>>>8)&65535)+e|0}N[p+28>>2]=f;N[p+24>>2]=i;N[p+20>>2]=k;N[p+16>>2]=249;N[p+12>>2]=249;N[p+8>>2]=249;g=Oj(g,j,p+8|0);break c}a=O[e+2|0]|O[e+3|0]<<8;i=(e+2|0)+(((a<<8|a>>>8)&65535)<<1)|0;f=i+2|0;h=O[f|0]|O[f+1|0]<<8;k=h<<8|h>>>8;h=k&65535;f=(h<<1)+f|0;if(!(!(O[f+2|0]|O[f+3|0]<<8|a)|!O[j+16|0])){break c}if((h|0)!=N[j+12>>2]){break c}g=1;if((k&65535)>>>0<2){break c}g=0;i=i+6|0;a=O[i|0]|O[i+1|0]<<8;j=N[j+8>>2];if((vb(a?((a<<8|a>>>8)&65535)+e|0:275552,N[j+4>>2])|0)==-1){break c}a=1;while(1){f=a+1|0;if((f|0)==(h|0)){g=1;break c}a=i+(a<<1)|0;a=O[a|0]|O[a+1|0]<<8;g=a?((a<<8|a>>>8)&65535)+e|0:275552;a=f;if((vb(g,N[j+(a<<2)>>2])|0)!=-1){continue}break}g=a>>>0>=h>>>0;break c}a=O[e+2|0]|O[e+3|0]<<8;a=a<<8|a>>>8;h=a&65535;if((h|0)!=N[j+12>>2]){break c}g=1;if((a&65535)>>>0<2){break c}g=0;a=O[e+8|0]|O[e+9|0]<<8;j=N[j+8>>2];if((vb(a?((a<<8|a>>>8)&65535)+e|0:275552,N[j+4>>2])|0)==-1){break c}g=e+8|0;a=1;while(1){f=a+1|0;if((f|0)==(h|0)){g=1;break c}a=g+(a<<1)|0;a=O[a|0]|O[a+1|0]<<8;i=a?((a<<8|a>>>8)&65535)+e|0:275552;a=f;if((vb(i,N[j+(a<<2)>>2])|0)!=-1){continue}break}g=a>>>0>=h>>>0}La=p+32|0;if(g){break b}b=b+1|0;c=u>>>0>b>>>0;if((b|0)!=(y|0)){continue}break}}}La=o+32|0;return c}function gp(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;n=La-144|0;La=n;a:{b:{c:{while(1){d:{N[a+84>>2]=0;M[a+78>>1]=0;N[a+40>>2]=0;N[a+44>>2]=0;e=N[a+24>>2];N[a+36>>2]=e;N[a+80>>2]=e;d=N[a+4>>2];N[a+72>>2]=T(d,c);N[a+68>>2]=T(d,s);j=N[a+28>>2]-32|0;N[a+32>>2]=j;N[e+8>>2]=e;M[a+76>>1]=0;e:{f:{g:{h:{i:{if(M[a+120>>1]<=0){break i}d=N[a+8>>2];h=N[a+132>>2];g=0;q=0;j:{while(1){N[a+88>>2]=0;N[a+92>>2]=0;f=N[a+12>>2];j=N[a+124>>2];i=g&65535;e=j+(i<<3)|0;g=T(f,N[e+4>>2])-d|0;k=T(f,N[e>>2])-d|0;u=q<<1;m=P[u+h>>1];l=j+(m<<3)|0;j=T(f,N[l+4>>2])-d|0;f=T(f,N[l>>2])-d|0;k:{if(!b){p=k;k=g;h=f;f=j;break k}p=g;h=j}j=N[a+128>>2];g=j+i|0;d=O[g|0];if(d&4){L[a+48|0]=d>>>5;d=O[g|0]}l:{switch(d&3){case 0:m:{if((O[j+m|0]&3)==1){l=l-8|0;break m}f=(f+k|0)/2|0;h=(h+p|0)/2|0}p=h;k=f;g=g-1|0;e=e-8|0;break;case 2:break d;default:break l}}N[a+64>>2]=k;N[a+60>>2]=p;n:{if(e>>>0>>0){while(1){f=g+1|0;d=e+8|0;o:{p:{q:{r:{switch(O[g+1|0]&3){case 1:j=N[e+8>>2];h=e;g=f;e=d;d=N[a+12>>2];f=T(d,N[h+12>>2]);h=N[a+8>>2];f=f-h|0;d=T(d,j)-h|0;if(fp(a,b?f:d,b?d:f)){break g}break o;case 0:g=N[a+12>>2];j=N[a+8>>2];h=T(g,N[e+8>>2])-j|0;j=T(g,N[e+12>>2])-j|0;if(b){break q}while(1){if(d>>>0>=l>>>0){d=h;h=j;break p}g=f+1|0;e=d+8|0;m=N[a+12>>2];o=N[a+8>>2];i=T(m,N[d+8>>2])-o|0;m=T(m,N[d+12>>2])-o|0;d=O[f+1|0]&3;if(d){if((d|0)!=1){break d}if(!mf(a,h,j,i,m)){break o}break g}o=mf(a,h,j,(h+i|0)/2|0,(j+m|0)/2|0);f=g;d=e;h=i;j=m;if(!o){continue}break};break g;default:break r}}if((O[g+2|0]&3)!=2|e+16>>>0>l>>>0){break d}o=N[a+12>>2];r=N[a+8>>2];h=T(o,N[e+16>>2])-r|0;j=T(o,N[e+8>>2])-r|0;d=T(o,N[e+20>>2])-r|0;f=T(o,N[e+12>>2])-r|0;s:{if(!b){i=j;j=f;m=h;h=d;break s}i=f;m=d}d=e+24|0;if(d>>>0<=l>>>0){f=h;h=T(o,N[e+28>>2])-r|0;e=T(o,N[e+24>>2])-r|0;if(ep(a,i,j,m,f,b?h:e,b?e:h)){break g}g=g+3|0;e=d;break o}if(ep(a,i,j,m,h,p,k)){break g}break n}while(1){if(d>>>0>=l>>>0){d=j;break p}g=f+1|0;e=d+8|0;m=N[a+12>>2];o=N[a+8>>2];i=T(m,N[d+8>>2])-o|0;m=T(m,N[d+12>>2])-o|0;d=O[f+1|0]&3;if(!d){o=mf(a,j,h,(j+m|0)/2|0,(h+i|0)/2|0);f=g;d=e;j=m;h=i;if(o){break g}continue}break}if((d|0)!=1){break d}if(!mf(a,j,h,m,i)){break o}break g}if(!mf(a,d,h,p,k)){break n}break g}if(e>>>0>>0){continue}break}}if(fp(a,p,k)){break g}}h=N[a+132>>2];i=P[u+h>>1];k=N[a+4>>2];m=k-1|0;e=N[a+64>>2];l=m&e;t:{if(l|(e|0)>2]|(e|0)>N[a+72>>2]){break t}d=N[a+88>>2];if(!d|(P[N[a+80>>2]+12>>1]^P[d+12>>1])&8){break t}N[a+36>>2]=N[a+36>>2]-4}u:{v:{w:{g=N[a+36>>2];f=N[a+80>>2];d=N[f+8>>2];p=(g|0)==(d|0);if(O[f+12|0]&8?p:1){j=g-d|0;if((j|0)>=0){break w}break c}j=g-d|0;if((j|0)<0){break c}d=N[a+8>>2];e=(l|0)>=(d|0);break v}d=N[a+8>>2];if(p){e=g;break u}e=((e+m&0-k)-e|0)>=(d|0)}N[f+16>>2]=j>>>2;if(e){e=P[f+12>>1];M[f+12>>1]=(e&8?16:32)|e}N[a+80>>2]=g;e=g+32|0;N[a+36>>2]=e;N[g+8>>2]=e;N[g+16>>2]=0;N[f+28>>2]=g;M[a+76>>1]=P[a+76>>1]+1}j=N[a+32>>2];if(j>>>0<=e>>>0){break j}L[a+79|0]=0;g=N[a+88>>2];if(g){N[f+28>>2]=g}g=i+1|0;q=q+1|0;if((q|0)>1]){continue}break}p=P[a+76>>1];if(p>>>0<2){break i}d=N[a+84>>2];if(!d){break i}m=N[a+44>>2];q=N[a+28>>2];while(1){x:{if((p&65535)>>>0<=1){f=N[d+16>>2];j=0;break x}f=N[d+16>>2];j=N[d+8>>2]+(f<<2)|0}N[d+4>>2]=j;h=N[d+20>>2];y:{if(O[d+12|0]&8){e=h;h=(f+e|0)-1|0;break y}e=(h-f|0)+1|0;N[d+20>>2]=e;N[d+8>>2]=(N[d+8>>2]+(f<<2)|0)-4}g=0;o=0-m|0;k=q-(m<<2)|0;l=(m>>31^-1)&m;d=m;z:{A:{while(1){f=d;i=g;if((g|0)==(l|0)){g=e;break A}g=i+1|0;d=f-1|0;r=N[k+(d<<2)>>2];if((r|0)>(e|0)){continue}break}if((e|0)<=(r|0)){i=m;break z}l=0;i=m-i&3;if(i){while(1){o=k+(d<<2)|0;g=N[o>>2];N[o>>2]=e;d=d-1|0;e=g;l=l+1|0;if((i|0)!=(l|0)){continue}break}}if(f>>>0<4){break A}while(1){g=k+(d<<2)|0;f=g-4|0;i=N[f>>2];f=N[f+4>>2];N[g>>2]=e;e=g-8|0;g=N[e>>2];N[e>>2]=i;N[e+4>>2]=f;f=d-3|0;i=k+(f<<2)|0;e=N[i>>2];N[i>>2]=g;d=d-4|0;g=e;if(f){continue}break}}d=N[a+32>>2]-4|0;N[a+32>>2]=d;if(d>>>0<=Q[a+36>>2]){break j}i=m+1|0;N[a+44>>2]=i;o=m^-1;N[q+(o<<2)>>2]=g}e=h+1|0;m=q+(o<<2)|0;l=(i>>31^-1)&i;g=0;d=i;B:{C:{while(1){f=d;k=g;if((g|0)==(l|0)){g=e;break C}g=k+1|0;d=f-1|0;o=N[m+(d<<2)>>2];if((o|0)>(e|0)){continue}break}if((h|0)<(o|0)){m=i;break B}l=0;h=i-k&3;if(h){while(1){k=m+(d<<2)|0;g=N[k>>2];N[k>>2]=e;d=d-1|0;e=g;l=l+1|0;if((h|0)!=(l|0)){continue}break}}if(f>>>0<4){break C}while(1){h=m+(d<<2)|0;g=h-4|0;f=N[g>>2];g=N[g+4>>2];N[h>>2]=e;e=h-8|0;h=N[e>>2];N[e>>2]=f;N[e+4>>2]=g;f=d-3|0;g=m+(f<<2)|0;e=N[g>>2];N[g>>2]=h;d=d-4|0;g=e;if(f){continue}break}}d=N[a+32>>2]-4|0;N[a+32>>2]=d;if(d>>>0<=Q[a+36>>2]){break j}m=i+1|0;N[a+44>>2]=m;N[q+((i^-1)<<2)>>2]=g}d=j;p=p-1|0;if(p&65535){continue}break}j=N[a+32>>2];e=N[a+36>>2];break h}N[a+40>>2]=98;break f}N[a+84>>2]=0}if(e>>>0>>0){break e}}d=N[a+40>>2];if((d|0)!=98){break a}}if((c|0)==(s|0)){d=98;break a}N[(t<<2)+n>>2]=s;t=t+1|0;s=(c+s>>1)+1|0;continue}f=N[a+84>>2];D:{if(!f){break D}N[n+140>>2]=0;N[n+136>>2]=0;N[n+132>>2]=0;c=N[a>>2];i=N[a+72>>2]>>c;o=N[a+68>>2]>>c;while(1){c=f;N[f>>2]=0;h=o<<16>>16;e=N[f+20>>2];f=(e+N[f+16>>2]|0)-1<<16>>16;j=(h|0)>(f|0);k=e<<16>>16>16;g=n+140|0;E:{F:{d=N[n+140>>2];if(!d){break F}if(N[d>>2]>0){break E}while(1){g=d+4|0;d=N[d+4>>2];if(!d){break F}if(N[d>>2]<=0){continue}break}break E}d=0}o=j?h:f;i=k?e:i;f=N[c+4>>2];N[c+4>>2]=d;N[g>>2]=c;if(f){continue}break}if(!N[a+44>>2]){break d}c=i<<16>>16;Qa[N[a+140>>2]](a,c,o);d=N[n+140>>2];if(d){while(1){N[d+24>>2]=N[d+20>>2]-c;d=N[d+4>>2];if(d){continue}break}}l=N[a+44>>2];G:{if((l|0)<=0){break G}d=0;H:{if((c|0)!=N[N[a+28>>2]-(l<<2)>>2]){j=i;break H}l=l-1|0;N[a+44>>2]=l;j=i;if(!l){break G}}while(1){e=N[n+140>>2];if(e){f=d<<16>>16;while(1){d=N[e+24>>2];N[e+24>>2]=d-f;c=N[e+4>>2];if((d|0)==(f|0)){d=N[n+140>>2];I:{if(!d){break I}if((d|0)==(e|0)){N[n+140>>2]=c;break I}while(1){h=d;d=N[d+4>>2];if(!d){break I}if((d|0)!=(e|0)){continue}break}N[h+4>>2]=c}h=N[e>>2];J:{K:{if(O[e+12|0]&8){g=n+136|0;d=N[n+136>>2];if(!d){break K}if((h|0)>2]){break J}while(1){g=d+4|0;d=N[d+4>>2];if(!d){break K}if((h|0)>=N[d>>2]){continue}break}break J}g=n+132|0;d=N[n+132>>2];if(!d){break K}if((h|0)>2]){break J}while(1){g=d+4|0;d=N[d+4>>2];if(!d){break K}if((h|0)>=N[d>>2]){continue}break}break J}d=0}N[e+4>>2]=d;N[g>>2]=e}e=c;if(e){continue}break}}e=N[n+136>>2];d=e;L:{if(!d){break L}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}d=N[e+4>>2];if(!d){break L}g=e+4|0;f=n+136|0;while(1){if(N[e>>2]<=N[d>>2]){f=g}else{N[f>>2]=d;N[g>>2]=N[d+4>>2];N[d+4>>2]=e;d=N[n+136>>2];f=n+136|0}e=d;g=d+4|0;d=N[d+4>>2];if(d){continue}break}}k=N[n+132>>2];d=k;M:{if(!d){k=0;break M}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}e=N[k+4>>2];if(!e){break M}g=k+4|0;f=n+132|0;d=k;while(1){N:{if(N[d>>2]<=N[e>>2]){f=g;d=e;break N}N[f>>2]=e;N[g>>2]=N[e+4>>2];N[e+4>>2]=d;f=n+132|0;k=N[n+132>>2];d=k}g=d+4|0;e=N[d+4>>2];if(e){continue}break}}N[a+44>>2]=l-1;u=N[N[a+28>>2]-(l<<2)>>2];v=u<<16>>16;O:{if((v|0)>j<<16>>16){q=k;l=k;i=j;while(1){f=N[n+136>>2];P:{if(!f){break P}p=0;d=f;h=l;if(!h){break P}while(1){Q:{R:{e=N[d>>2];g=N[h>>2];c=(e|0)>(g|0)?e:g;e=(e|0)<(g|0)?e:g;g=N[a+4>>2];if((c-e|0)>(g|0)){break R}r=0-g|0;m=r&e;if((m|0)==(e|0)){break R}r=r&(c+g|0)-1;if((r|0)==(c|0)|(r|0)!=(g+m|0)&(m|0)<=(r|0)){break R}if((P[d+12>>1]&7)==2){break Q}N[d>>2]=e;N[h>>2]=c;N[d+24>>2]=1;p=p+1|0;break Q}Qa[N[a+144>>2]](a,i<<16>>16,e,c,d,h)}d=N[d+4>>2];if(d){h=N[h+4>>2];if(h){continue}}break}d=f;if(p<<16>>16<=0){break P}while(1){if(N[d+24>>2]){N[d+24>>2]=0;Qa[N[a+148>>2]](a,i<<16>>16,N[d>>2],N[l>>2],d,l)}d=N[d+4>>2];if(!d){break P}l=N[l+4>>2];if(l){continue}break}}Qa[N[a+152>>2]](a);i=i+1|0;if((v|0)<=i<<16>>16){break O}d=f;S:{if(!d){break S}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}d=N[f+4>>2];if(!d){break S}e=f+4|0;g=n+136|0;while(1){if(!(N[f>>2]<=N[d>>2])){N[g>>2]=d;N[e>>2]=N[d+4>>2];N[d+4>>2]=f;d=N[n+136>>2];e=n+136|0}g=e;f=d;e=d+4|0;d=N[d+4>>2];if(d){continue}break}k=N[n+132>>2];q=k}h=q;q=0;l=0;d=h;if(!d){continue}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}g=h+4|0;f=n+132|0;q=h;l=h;d=h;e=N[d+4>>2];if(!e){continue}while(1){T:{if(N[d>>2]<=N[e>>2]){f=g;d=e;break T}N[f>>2]=e;N[g>>2]=N[e+4>>2];N[e+4>>2]=d;f=n+132|0;k=N[n+132>>2];h=k;d=h}g=d+4|0;e=N[d+4>>2];if(e){continue}break}q=h;l=h;continue}}f=N[n+136>>2];i=j}if(f){while(1){c=f;f=N[f+4>>2];U:{if(N[c+16>>2]){break U}d=N[n+136>>2];if(!d){break U}if((c|0)==(d|0)){N[n+136>>2]=f;break U}while(1){e=d;d=N[d+4>>2];if(!d){break U}if((c|0)!=(d|0)){continue}break}N[e+4>>2]=f}if(f){continue}break}}V:{if(!k){break V}while(1){c=k;k=N[c+4>>2];W:{if(N[c+16>>2]){break W}d=N[n+132>>2];if(!d){break W}if((c|0)==(d|0)){N[n+132>>2]=k;if(!k){break V}continue}while(1){e=d;d=N[d+4>>2];if(!d){break W}if((c|0)!=(d|0)){continue}break}N[e+4>>2]=k;if(!k){break V}continue}if(k){continue}break}}d=u-j|0;j=i;l=N[a+44>>2];if((l|0)>0){continue}break}}if(i<<16>>16>(o|0)){break D}while(1){Qa[N[a+152>>2]](a);i=i+1<<16>>16;if((o|0)>=(i|0)){continue}break}}if((t|0)<=0){d=0;break a}else{c=s-1|0;t=t-1|0;s=N[(t<<2)+n>>2];continue}}break}d=20;break b}d=99}N[a+40>>2]=d}La=n+144|0;return d}function uv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=La-32|0;La=i;d=N[a+20>>2];a:{if(d){f=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;f=rb(a,36672,b+132|0);if(f){break a}N[b+168>>2]=N[b+168>>2]+(N[b+204>>2]<<16);f=2;if(N[b+132>>2]!=1346785840|Q[b+136>>2]>4|(N[b+140>>2]!=3338|Q[b+144>>2]<58)){break a}e=N[b+152>>2];d=N[a+20>>2];b:{if(d){f=85;if(!(Qa[d|0](a,e,0,0)|0)){break b}break a}f=85;if(e>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=e;N[i+12>>2]=0;d=xb(a,i+12|0);f=N[i+12>>2];if(f){break a}f=8;if(d>>>0>13106){break a}j=N[a+4>>2];if(T(d,5)+2>>>0>=j-e>>>0|j>>>0<=T(d,23)+95>>>0){break a}f=0;N[i+24>>2]=0;N[b>>2]=d;if((c|0)<0){break a}f=6;o=c&65535;if(d>>>0<=o>>>0){break a}n=N[b+204>>2];c=N[b+152>>2];d=N[a+20>>2];c:{if(d){f=85;if(!(Qa[d|0](a,c,0,0)|0)){break c}break a}f=85;if(c>>>0>j>>>0){break a}}N[a+8>>2]=c;N[i+12>>2]=0;c=xb(a,i+12|0);f=N[i+12>>2];if(f){break a}f=6;if(c>>>0<=o>>>0){break a}f=Xc(a,T(o,5));N[i+12>>2]=f;if(f){break a}d=xb(a,i+12|0);f=N[i+12>>2];if(f){break a}e=0;f=La-16|0;La=f;N[i+12>>2]=0;j=a;d:{e:{f:{g:{c=N[a+4>>2];a=N[a+8>>2];if(c>>>0<=a+2>>>0){break g}c=N[j+20>>2];h:{if(c){if((Qa[c|0](j,a,f+13|0,3)|0)!=3){break g}a=N[j+8>>2];c=f+13|0;break h}c=N[j>>2];if(!c){break f}c=a+c|0}e=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);break e}N[i+12>>2]=85;break d}e=0}N[j+8>>2]=a+3}La=f+16|0;f=N[i+12>>2];if(f){break a}N[b+240>>2]=d;N[b+244>>2]=e;a=N[j+20>>2];i:{if(a){f=85;if(!(Qa[a|0](j,e,0,0)|0)){break i}break a}f=85;if(e>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=e;f=Bb(j,d);N[i+12>>2]=f;if(f){break a}j:{if(d>>>0<13){f=8;break j}a=N[j+32>>2];k=a+d|0;f=8;N[b+248>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);N[b+252>>2]=O[a+5|0]|(O[a+4|0]<<8|O[a+3|0]<<16);N[b+256>>2]=O[a+8|0]|(O[a+7|0]<<8|O[a+6|0]<<16);N[b+260>>2]=O[a+11|0]|(O[a+10|0]<<8|O[a+9|0]<<16);d=a+13|0;e=O[a+12|0];c=e&4;if(c){g=e&8?2:1;g=e&3?g:g+3|0}m=e&32;if(k>>>0>31&(m?2:1))|0)>>>0){break j}l=e&16;k:{if(!c){break k}g=O[d|0];l:{if(e&8){g=(O[a+14|0]|g<<8)<<16>>16;d=a+15|0;break l}d=a+14|0}N[b+268>>2]=g;if(e&3){break k}N[b+276>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);d=d+3|0}m:{if(!l){c=d;break m}g=O[d|0];n:{if(m){g=(O[d+1|0]|g<<8)<<16>>16;c=d+2|0;break n}c=d+1|0}N[b+272>>2]=g}o:{if(!(e&64)){d=c;break o}d=c+1|0;if(k>>>0>>0){break j}c=O[c|0];if(c){while(1){a=d+2|0;if(a>>>0>k>>>0){break j}d=a+O[d|0]|0;if(k>>>0>>0){break j}c=c-1|0;if(c){continue}break}}N[i+12>>2]=0}if(k>>>0>>0){break j}a=O[d+1|0]|O[d|0]<<8;N[b+280>>2]=a;N[b+284>>2]=O[d+4|0]|(O[d+3|0]<<8|O[d+2|0]<<16);if(n){if(k>>>0>>0){break j}N[b+280>>2]=a|O[d+5|0]<<16}f=0;h=1}if(N[j+20>>2]){a=N[j>>2];if(a){c=N[j+28>>2];Qa[N[c+8>>2]](c,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;N[i+24>>2]=f;if(!h){break a}c=N[b+280>>2];n=N[b+284>>2];m=N[j+28>>2];N[b+428>>2]=b+424;N[b+424>>2]=0;N[b+292>>2]=n;N[b+288>>2]=m;a=N[j+20>>2];p:{if(a){f=85;if(!(Qa[a|0](j,n,0,0)|0)){break p}break a}f=85;if(n>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=n;f=Bb(j,c);N[i+12>>2]=f;if(f){break a}a=N[j+32>>2];N[b+436>>2]=a;f=8;q:{if((c|0)<15){break q}N[b+296>>2]=O[a+1|0]|O[a|0]<<8;N[b+300>>2]=O[a+3|0]|O[a+2|0]<<8;N[b+304>>2]=O[a+5|0]|O[a+4|0]<<8;d=O[a+6|0]|O[a+7|0]<<8;N[b+308>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+8|0]|O[a+9|0]<<8;N[b+312>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+10|0]|O[a+11|0]<<8;N[b+316>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+12|0]|O[a+13|0]<<8;N[b+320>>2]=(d<<8|d>>>8)<<16>>16;h=a+15|0;N[i+28>>2]=h;k=O[a+14|0];N[b+324>>2]=k;p=k&4;if(!p){if(c>>>0<17){break q}h=a+17|0;N[i+28>>2]=h;d=O[a+15|0]|O[a+16|0]<<8;N[b+328>>2]=(d<<8|d>>>8)<<16>>16}g=a+c|0;if(k<<24>>24<0){l=b+288|0;c=N[i+28>>2];a=c+1|0;r:{if(g>>>0>>0){N[i+28>>2]=c;a=8;break r}f=O[c|0];s:{if(f){while(1){d=a+2|0;if(g>>>0>>0){N[i+28>>2]=a;a=8;break r}c=O[a|0]+d|0;if(c>>>0>g>>>0){N[i+28>>2]=d;a=8;break r}e=156;h=157;t:{u:{v:{w:{switch(O[a+1|0]-1|0){case 2:e=158;break v;case 0:break u;case 1:break v;case 3:break w;default:break t}}e=159}h=e}a=Qa[h|0](d,c,l)|0;if(a){break s}}a=c;f=f-1|0;if(f){continue}break}}d=a;a=0}N[i+28>>2]=d}f=a;N[i+12>>2]=a;if(a){break q}h=N[i+28>>2]}f=8;e=h+3|0;if(g>>>0>>0){break q}N[i+28>>2]=e;h=O[h+2|0]|(O[h+1|0]<<8|O[h|0]<<16);if(h){a=e+h|0;if(a>>>0>g>>>0){break q}N[i+28>>2]=a;l=b+372|0;q=b+376|0;while(1){x:{d=e+4|0;if(d>>>0>a>>>0){break x}c=O[e+1|0]|O[e|0]<<8;if(c>>>0<4|c>>>0>h>>>0){break x}y:{z:{A:{B:{C:{f=O[e+2|0]|O[e+3|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break A;case 1:break B;case 0:break C;default:break y}}f=sm(d,c-4|0,m,l);break z}if(c>>>0<36){break y}d=O[e+14|0]|O[e+15|0]<<8;N[b+332>>2]=(d<<8|d>>>8)<<16>>16;d=O[e+16|0]|O[e+17|0]<<8;N[b+336>>2]=(d<<8|d>>>8)<<16>>16;d=O[e+18|0]|O[e+19|0]<<8;N[b+340>>2]=(d<<8|d>>>8)<<16>>16;break y}f=sm(d,c-4|0,m,q)}N[i+12>>2]=f;if(f){break a}}e=c+e|0;h=h-c|0;if(h){continue}}break}e=a}h=e+1|0;if(g>>>0>>0){f=8;break q}N[i+28>>2]=h;a=O[e|0];N[b+392>>2]=a;f=8;if(g>>>0<(a<<1)+h>>>0){break q}c=lb(m,4,0,a,0,i+12|0);N[b+396>>2]=c;f=N[i+12>>2];if(f){break q}D:{if(!a){break D}d=a&1;E:{if((a|0)==1){f=0;break E}a=a&254;f=0;while(1){e=f<<2;l=O[h|0]|O[h+1|0]<<8;N[e+c>>2]=(l<<8|l>>>8)<<16>>16;l=c+(e|4)|0;e=O[h+2|0]|O[h+3|0]<<8;N[l>>2]=(e<<8|e>>>8)<<16>>16;h=h+4|0;f=f+2|0;if((a|0)!=(f|0)){continue}break}}if(!d){break D}a=O[h|0]|O[h+1|0]<<8;N[c+(f<<2)>>2]=(a<<8|a>>>8)<<16>>16;h=h+2|0}f=8;e=h+8|0;if(g>>>0>>0){break q}N[i+28>>2]=h+1;N[b+400>>2]=O[h|0];N[i+28>>2]=h+2;N[b+404>>2]=O[h+1|0];N[i+28>>2]=h+4;N[b+356>>2]=O[h+3|0]|O[h+2|0]<<8;N[b+344>>2]=O[h+5|0]|O[h+4|0]<<8;N[i+28>>2]=e;l=O[h+7|0]|O[h+6|0]<<8;N[b+408>>2]=l;N[b+412>>2]=(e+n|0)-N[j+32>>2];c=g;g=k>>>3&1;n=k&16;a=k&32;k=k&2;if(c>>>0>>1)+(n>>>4|0)+(a>>>5)|0)+(k?5:4)|0)+e>>>0){break q}m=lb(m,16,0,l,0,i+12|0);N[b+416>>2]=m;f=N[i+12>>2];if(f|!l){break q}d=0;if(!a){while(1){f=m+(d<<4)|0;h=O[e|0];F:{if(k){h=O[e+1|0]|h<<8;c=e+2|0;break F}c=e+1|0}N[f>>2]=h;G:{if(p){a=O[c|0]|O[c+1|0]<<8;e=(a<<8|a>>>8)<<16>>16;c=c+2|0;break G}e=N[b+328>>2]}N[f+4>>2]=e;a=c+g|0;e=O[a|0];H:{if(n){e=O[a+1|0]|e<<8;a=a+2|0;break H}a=a+1|0}N[f+8>>2]=e;N[f+12>>2]=O[a+1|0]|O[a|0]<<8;e=a+2|0;f=0;d=d+1|0;if((l|0)!=(d|0)){continue}break q}}while(1){f=m+(d<<4)|0;h=O[e|0];I:{if(k){h=O[e+1|0]|h<<8;c=e+2|0;break I}c=e+1|0}N[f>>2]=h;J:{if(p){a=O[c|0]|O[c+1|0]<<8;e=(a<<8|a>>>8)<<16>>16;c=c+2|0;break J}e=N[b+328>>2]}N[f+4>>2]=e;a=c+g|0;e=O[a|0];K:{if(n){e=O[a+1|0]|e<<8;a=a+2|0;break K}a=a+1|0}N[f+8>>2]=e;N[f+12>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);e=a+3|0;f=0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if(N[j+20>>2]){a=N[j>>2];if(a){c=N[j+28>>2];Qa[N[c+8>>2]](c,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;c=N[j+8>>2];a=0;N[b+436>>2]=0;N[b+432>>2]=c;N[i+24>>2]=f;if(f){break a}N[b+4>>2]=o;c=N[b+8>>2]|1;N[b+8>>2]=c;d=N[b+408>>2];N[b+16>>2]=d+1;L:{M:{N:{if(!d){break N}e=N[b+416>>2];while(1){if(N[(e+(a<<4)|0)+12>>2]){break N}a=a+1|0;if((d|0)!=(a|0)){continue}break}break M}if((a|0)==(d|0)){break M}e=N[b+380>>2];break L}c=0;e=N[b+380>>2];if(e){break L}f=3;break a}a=N[b+324>>2];c=(a^-1)&4|c|(a&1?32:16);c=e?c|2:c;N[b+8>>2]=c;if(N[b+420>>2]){N[b+8>>2]=c|64}c=N[b+372>>2];N[b+20>>2]=c;if(!c){N[b+20>>2]=N[b+368>>2]}N[b+28>>2]=0;N[b+32>>2]=0;N[b+24>>2]=N[b+376>>2];c=N[b+312>>2];N[b+52>>2]=N[b+308>>2];N[b+56>>2]=c;c=N[b+320>>2];N[b+60>>2]=N[b+316>>2];N[b+64>>2]=c;c=N[b+300>>2];M[b+68>>1]=c;d=N[b+320>>2];M[b+70>>1]=d;f=N[b+312>>2];M[b+72>>1]=f;d=(d<<16>>16)-(f<<16>>16)|0;c=(T(c&65535,12)>>>0)/10|0;M[b+74>>1]=(d|0)>c<<16>>16?d:c;if(e){a=lb(N[N[b+104>>2]+28>>2],16,0,e,0,i+24|0);N[b+32>>2]=a;f=N[i+24>>2];if(f){break a}f=N[b+388>>2];O:{if((e|0)!=1){h=e&1;j=e&-2;c=0;while(1){g=N[f+4>>2];M[a>>1]=g;d=N[f>>2];g=g<<6;N[a+12>>2]=g;N[a+4>>2]=g;M[a+2>>1]=d;N[a+8>>2]=d<<6;g=N[f+40>>2];M[a+16>>1]=g;d=N[f+36>>2];g=g<<6;N[a+28>>2]=g;N[a+20>>2]=g;M[a+18>>1]=d;N[a+24>>2]=d<<6;f=f+72|0;a=a+32|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}if(!h){break O}}d=N[f+4>>2];M[a>>1]=d;c=N[f>>2];d=d<<6;N[a+12>>2]=d;N[a+4>>2]=d;M[a+2>>1]=c;N[a+8>>2]=c<<6}N[b+28>>2]=e;a=N[b+324>>2]}P:{if(!(a&4)){f=N[b+328>>2];break P}c=N[b+408>>2];if(!c){f=0;break P}e=c&3;a=N[b+416>>2];d=0;Q:{if(c>>>0<4){f=0;break Q}c=c-4|0;f=(c>>>2|0)+1|0;h=f&1;R:{if(c>>>0<4){f=0;break R}j=f&2147483646;f=0;c=0;while(1){g=N[a+4>>2];f=(f|0)>(g|0)?f:g;g=N[a+20>>2];f=(f|0)>(g|0)?f:g;g=N[a+36>>2];f=(f|0)>(g|0)?f:g;g=N[a+52>>2];f=(f|0)>(g|0)?f:g;g=N[a+68>>2];f=(f|0)>(g|0)?f:g;g=N[a+84>>2];f=(f|0)>(g|0)?f:g;g=N[a+100>>2];f=(f|0)>(g|0)?f:g;g=N[a+116>>2];f=(f|0)>(g|0)?f:g;a=a+128|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!h){break Q}c=N[a+4>>2];c=(c|0)<(f|0)?f:c;f=N[a+20>>2];c=(c|0)>(f|0)?c:f;f=N[a+36>>2];c=(c|0)>(f|0)?c:f;f=N[a+52>>2];f=(c|0)>(f|0)?c:f;a=a- -64|0}if(!e){break P}while(1){c=N[a+4>>2];f=(c|0)<(f|0)?f:c;a=a+16|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}M[b+76>>1]=f;M[b+78>>1]=P[b+74>>1];a=P[b+68>>1];M[b+82>>1]=(a>>>0)/30;M[b+80>>1]=0-((a>>>0)/10|0);N[i+12>>2]=b;N[i+16>>2]=1970170211;N[i+20>>2]=65539;f=Bc(36580,0,i+12|0,0);if(!N[b+420>>2]){break a}N[b+8>>2]=N[b+8>>2]|64}La=i+32|0;return f|0}function kC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;h=La-128|0;La=h;f=M[b+2>>1];a:{if(!f|!P[b>>1]){break a}C(h,0,128);v=N[c>>2];N[h+16>>2]=v;b:{if((f|0)<0){n=6;break b}c:{f=T(f,40);e=Qa[N[v+4>>2]](v,f)|0;if(e){C(e,0,f);N[h+8>>2]=e;e=M[b>>1];if((e|0)<0){N[h+12>>2]=0;n=6;break b}d:{if(e){f=e<<3;t=Qa[N[v+4>>2]](v,f)|0;if(!t|(e|0)<=0){break d}C(t,0,f)}N[h+12>>2]=t;break c}N[h+12>>2]=t;if(t){break c}n=!t<<6;break b}N[h+8>>2]=e;n=64;break b}u=M[b+2>>1];N[h>>2]=u;n=P[b>>1];A=n<<16>>16;N[h+4>>2]=A;l=N[h+8>>2];if(n){q=N[b+12>>2];f=t;while(1){s=M[q+(o<<1)>>1];p=T(i,40)+l|0;N[f>>2]=p;m=s+1|0;k=m-i|0;N[f+4>>2]=k;if(k){N[p>>2]=T(s,40)+l;N[p+8>>2]=f;g=p;e:{if((k|0)==1){break e}j=0;e=p;r=s-i&3;if(r){while(1){N[e+48>>2]=f;g=e+40|0;N[e+4>>2]=g;N[e+40>>2]=e;k=k-1|0;e=g;j=j+1|0;if((r|0)!=(j|0)){continue}break}}if(s+(i^-1)>>>0<3){break e}while(1){N[e+48>>2]=f;g=e+40|0;N[e+4>>2]=g;N[e+88>>2]=f;N[e+80>>2]=g;g=e+80|0;N[e+44>>2]=g;N[e+128>>2]=f;N[e+120>>2]=g;g=e+120|0;N[e+84>>2]=g;N[e+168>>2]=f;N[e+160>>2]=g;g=e+160|0;N[e+124>>2]=g;N[e+40>>2]=e;e=g;k=k-4|0;if(k>>>0>1){continue}break}}N[g+4>>2]=p}f=f+8|0;i=m;o=o+1|0;if((A|0)!=(o|0)){continue}break}}f:{if(!u){N[h+24>>2]=c;N[h+20>>2]=b;break f}e=N[b+4>>2];o=N[b+8>>2];k=0;f=l;while(1){j=(N[f+4>>2]-l|0)/40|0;g=(N[f>>2]-l|0)/40|0;if(!(L[k+o|0]&1)){N[f+12>>2]=1}i=(k<<3)+e|0;m=N[i+4>>2];g=(g<<3)+e|0;s=m-N[g+4>>2]|0;r=s>>31;p=N[i>>2];q=p-N[g>>2]|0;g=q>>31;w=(g^q)-g|0;x=(s^r)-r|0;g=(q|0)>=0?2:-2;g:{if(w>>>0>T(x,12)>>>0){break g}g=4;if(x>>>0<=T(w,12)>>>0){break g}g=(s|0)>=0?-1:1}L[f+20|0]=g;i=(j<<3)+e|0;r=N[i+4>>2]-m|0;m=r>>31;j=N[i>>2]-p|0;i=j>>31;y=(i^j)-i|0;z=(m^r)-m|0;i=(j|0)>=0?2:-2;h:{if(y>>>0>T(z,12)>>>0){break h}i=4;if(z>>>0<=T(y,12)>>>0){break h}i=(r|0)>=0?-1:1}L[f+21|0]=i;p=N[f+12>>2];i:{j:{if(p&1){break j}if((g|0)!=(i|0)){break i}if((i|0)!=4){break j}i=j+q|0;j=i>>31;g=s+r|0;m=g>>31;i=(i^j)-j|0;g=(g^m)-m|0;g=(T(g>>>0>i>>>0?i:g,3)>>>3|0)+(g>>>0>>0?i:g)|0;if((((T(z>>>0>y>>>0?y:z,3)>>>3|0)+(z>>>0>>0?y:z)+((T(x>>>0>w>>>0?w:x,3)>>>3|0)+(x>>>0>>0?w:x))|0)-g|0)>=(g>>>4|0)){break i}}N[f+12>>2]=p|2}f=f+40|0;k=k+1|0;if((u|0)!=(k|0)){continue}break}N[h+24>>2]=c;N[h+20>>2]=b;b=u&3;if(b){f=0;while(1){N[l+24>>2]=0;N[l+16>>2]=0;N[l+28>>2]=N[e>>2];N[l+32>>2]=N[e+4>>2];e=e+8|0;l=l+40|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=u&-4}else{f=u}if(u>>>0<4){break f}while(1){N[l+24>>2]=0;N[l+16>>2]=0;N[l+28>>2]=N[e>>2];b=N[e+4>>2];N[l- -64>>2]=0;N[l+56>>2]=0;N[l+32>>2]=b;N[l+68>>2]=N[e+8>>2];b=N[e+12>>2];N[l+104>>2]=0;N[l+96>>2]=0;N[l+72>>2]=b;N[l+108>>2]=N[e+16>>2];b=N[e+20>>2];N[l+144>>2]=0;N[l+136>>2]=0;N[l+112>>2]=b;N[l+148>>2]=N[e+24>>2];N[l+152>>2]=N[e+28>>2];e=e+32|0;l=l+160|0;f=f-4|0;if(f){continue}break}}if(n){s=0;while(1){b=(s<<3)+t|0;k:{if(Q[b+4>>2]<4){break k}j=N[b>>2];e=j;while(1){e=N[e+4>>2];if((j|0)==(e|0)){break k}b=N[j+28>>2];l=N[e+28>>2];f=N[e+32>>2];i=N[j+32>>2];if((b|0)==(l|0)&(f|0)==(i|0)){continue}break}o=f-i|0;u=l-b|0;m=j;while(1){p=m;m=N[m>>2];if((j|0)==(m|0)){break k}g=b;b=N[m+28>>2];g=g-b|0;k=i;i=N[m+32>>2];k=k-i|0;if(!(g|k)){continue}q=Gn(u,o,g,k);if(!q){continue}break}b=p;while(1){r=q;o=k;u=g;n=b;m=0;j=f;i=l;while(1){b=e;e=N[e+4>>2];f=N[e+32>>2];k=f-j|0;l=N[e+28>>2];g=l-i|0;m=(e|0)==(p|0)?1:m;j=f;i=l;if(!(g|k)){continue}q=Gn(u,o,g,k);if(!q){continue}break}if((q^r)<0){while(1){N[n+12>>2]=N[n+12>>2]|4;n=N[n+4>>2];if((n|0)!=(b|0)){continue}break}N[b+12>>2]=N[b+12>>2]|4}if(!m){continue}break}}s=s+1|0;if((A|0)!=(s|0)){continue}break}}n=rp(h+28|0,a+16|0,a+28|0,v);if(n){break b}n=rp(h+68|0,a+52|0,a- -64|0,v);if(n){break b}a=N[h+24>>2];t=N[a+200>>2];p=c+416|0;q=N[a+404>>2];f=ob(N[p>>2],q);b=f+32&-64;r=!b|(b|0)==(f|0);if(!r){Ui(a,(b|0)<(f|0)?t+((t|0)/-50|0)|0:t,jb(q,b,f),0,0)}M[h+120>>1]=257;L[h+124|0]=(d|0)!=1;L[h+123|0]=(d|0)==2|(d|0)==4;L[h+122|0]=(d&-2)==2;u=c+932|0;g=N[h>>2];n=1;l=0;while(1){l:{if(!g){break l}a=g&3;f=N[N[h+20>>2]+4>>2];e=N[h+8>>2];if(!(n&1)){m:{if(!a){i=g;break m}i=g&-4;j=0;while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f+4>>2];N[e+32>>2]=N[f>>2];f=f+8|0;e=e+40|0;j=j+1|0;if((a|0)!=(j|0)){continue}break}}if(g>>>0<4){break l}while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f+4>>2];a=N[f>>2];N[e- -64>>2]=0;N[e+56>>2]=0;N[e+32>>2]=a;N[e+68>>2]=N[f+12>>2];a=N[f+8>>2];N[e+104>>2]=0;N[e+96>>2]=0;N[e+72>>2]=a;N[e+108>>2]=N[f+20>>2];a=N[f+16>>2];N[e+144>>2]=0;N[e+136>>2]=0;N[e+112>>2]=a;N[e+148>>2]=N[f+28>>2];N[e+152>>2]=N[f+24>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}break l}n:{if(!a){i=g;break n}i=g&-4;j=0;while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f>>2];N[e+32>>2]=N[f+4>>2];f=f+8|0;e=e+40|0;j=j+1|0;if((a|0)!=(j|0)){continue}break}}if(g>>>0<4){break l}while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f>>2];a=N[f+4>>2];N[e- -64>>2]=0;N[e+56>>2]=0;N[e+32>>2]=a;N[e+68>>2]=N[f+8>>2];a=N[f+12>>2];N[e+104>>2]=0;N[e+96>>2]=0;N[e+72>>2]=a;N[e+108>>2]=N[f+16>>2];a=N[f+20>>2];N[e+144>>2]=0;N[e+136>>2]=0;N[e+112>>2]=a;N[e+148>>2]=N[f+24>>2];N[e+152>>2]=N[f+28>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}}i=N[h+4>>2];o:{if(!i){m=0;break o}b=0;d=N[h+12>>2];while(1){p:{a=d+(b<<3)|0;if(!N[a+4>>2]){break p}a=N[a>>2];f=a;while(1){f=N[f>>2];if((a|0)==(f|0)){m=b+1|0;break o}if(N[f+28>>2]==N[a+28>>2]){continue}break}a=N[f+4>>2];e=a;while(1){k=e;while(1){e=N[e+4>>2];if((a|0)==(e|0)){break p}m=N[e+28>>2];j=N[k+28>>2];if((m|0)==(j|0)){continue}break}q:{r:{if((j|0)>N[f+28>>2]){if((j|0)>(m|0)){break r}break q}if((j|0)>=(m|0)){break q}}while(1){N[k+16>>2]=N[k+16>>2]|64;k=N[k+4>>2];if((k|0)!=(e|0)){continue}break}}f=N[e>>2];continue}}m=0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}while(1){if(g>>>0>m>>>0){f=N[h+8>>2];b=T(m,40);a=f+b|0;d=N[a+16>>2];s:{if(!(d&64)){break s}b=b+f|0;e=a;while(1){e=N[e>>2];if((a|0)==(e|0)){break s}f=N[e+32>>2];i=N[b+32>>2];if((f|0)==(i|0)){continue}break}e=a;while(1){e=N[e+4>>2];if((a|0)==(e|0)){break s}b=N[e+32>>2];if((b|0)==(i|0)){continue}break}t:{if((f|0)<(i|0)){e=128;if((b|0)>(i|0)){break t}}if((f|0)<=(i|0)){break s}e=256;if((b|0)>=(i|0)){break s}}N[a+16>>2]=d|e}m=m+1|0;continue}break}k=N[h+24>>2];m=T(l,40)+h|0;j=m+28|0;f=N[j>>2];if(f){e=N[j+8>>2];while(1){qp(e,k,l,h);e=e+28|0;f=f-1|0;if(f){continue}break}k=N[h+24>>2]}b=N[m+60>>2];e=N[b+8>>2];a=fb(32,N[(T(l,204)+k|0)+200>>2]);i=(a|0)>=30?30:a;d=n&1?1:2;u:{v:{w:{x:{y:{g=N[b>>2];z:{A:{B:{if(g>>>0>=2){b=N[h>>2];if(!b){o=0;break z}a=N[e+12>>2];f=a>>>0>>0?a:b;while(1){b=N[e+28>>2];a=N[h>>2];a=a>>>0>b>>>0?b:a;if(a>>>0>f>>>0){b=N[h+8>>2];pp(j,N[e+16>>2],N[e+24>>2]);op(N[j+4>>2],N[j+12>>2],b+T(f,40)|0,a-f|0,i,d)}e=e+16|0;f=a;g=g-1|0;if(g>>>0>1){continue}break}e=N[N[m+60>>2]+8>>2];break B}if((g|0)!=1){break A}}b=N[h+8>>2];a=N[h>>2];pp(j,N[e>>2],N[e+8>>2]);op(N[j+4>>2],N[j+12>>2],b,a,i,d)}o=N[h>>2];if(!o){o=0;break z}k=N[h+8>>2];e=k;f=o;if(f&1){C:{if(!N[k+24>>2]){break C}a=N[k+16>>2];if(a&16){break C}N[k+16>>2]=a|16}e=k+40|0;f=o-1|0}if((o|0)==1){break y}while(1){D:{if(!N[e+24>>2]){break D}a=N[e+16>>2];if(a&16){break D}N[e+16>>2]=a|16}E:{if(!N[e- -64>>2]){break E}a=N[e+56>>2];if(a&16){break E}N[e+56>>2]=a|16}e=e+80|0;f=f-2|0;if(f){continue}break}}if(!(l&1)){break x}if(!o){break v}k=N[h+8>>2];break w}o=1;if(l&1){break w}}g=0;np(h,0);mp(h,0);lp(h,0);a=N[h>>2];if(!a){break u}b=N[h+20>>2];d=N[b+8>>2];b=N[b+4>>2];f=0;e=N[h+8>>2];g=a;while(1){N[b+(f<<3)>>2]=N[e+36>>2];if(O[e+16|0]&16){a=d+f|0;L[a|0]=O[a|0]|32;g=N[h>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break u}while(1){a=O[k+20|0];F:{G:{if((a|0)==2|(a|0)==254){break G}a=O[k+21|0];if((a|0)==254){break G}if((a|0)!=2){break F}}j=N[k+16>>2];if(j&16){break F}i=N[k+28>>2];g=N[c+412>>2];H:{if(!g){break H}d=N[c+2488>>2];b=0-d|0;e=p;while(1){a=i-N[e+12>>2]|0;if((a|0)<(b|0)){break H}if(!(!O[c+2492|0]&(a|0)>N[c+2484>>2]|(i|0)>(d+N[e+8>>2]|0))){a=N[e+24>>2];j=j|48;N[k+16>>2]=j;N[k+36>>2]=a}e=e+32|0;g=g-1|0;if(g){continue}break}}g=N[c+928>>2];if(!g){break F}f=N[c+2488>>2];d=0-f|0;l=u+(g<<5)|0;while(1){a=l;l=a-32|0;b=N[l+8>>2]-i|0;if((b|0)<(d|0)){break F}if(!(!O[c+2492|0]&(b|0)>=N[c+2484>>2]|(i|0)<(N[a-20>>2]-f|0))){a=N[a-4>>2];j=j|48;N[k+16>>2]=j;N[k+36>>2]=a}g=g-1|0;if(g){continue}break}}k=k+40|0;o=o-1|0;if(o){continue}break}}np(h,1);mp(h,1);lp(h,1);g=N[h>>2];if(!g){g=0;break u}a=N[h+20>>2];d=N[a+8>>2];b=N[a+4>>2];f=0;e=N[h+8>>2];while(1){N[(b+(f<<3)|0)+4>>2]=N[e+36>>2];if(O[e+16|0]&16){a=d+f|0;L[a|0]=O[a|0]|64;g=N[h>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}if(!r){Ui(N[h+24>>2],t,q,0,0)}l=1;a=n&1;n=0;if(a){continue}break}}b=N[h+16>>2];a=N[h+92>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+80>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+76>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+52>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+40>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+36>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+8>>2];if(a){Qa[N[b+8>>2]](b,a)}N[h+8>>2]=0;a=N[h+12>>2];if(!a){break a}Qa[N[b+8>>2]](b,a)}La=h+128|0;return n|0}function gf(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,T=0,U=0,W=0,X=0,Y=0;g=La-320|0;La=g;v=S[d+40>>3];r=S[d>>3];u=S[d+32>>3];n=S[d+24>>3];j=S[d+8>>3];s=r*u-n*j;A=S[c+24>>3];C=S[c+16>>3];L=r*A-C*j;y=v*s+L;D=S[d+16>>3];M=n*A-C*u;w=D*s-M;J=r*C+j*A;K=n*C+u*A;a:{if(!(s<0)){m=33;h=s;k=2;break a}y=-y;w=-w;h=-s;k=1}b:{X=J+K;c:{d:{if(!(X>0)){break d}z=r*n+j*u;e:{if(e&k){u=K+(D*z+v);r=J+(v*z+D);if(!(!(u>2];o=N[b+4>>2];x=La-32|0;La=x;g:{h:{if(f){N[a+56>>2]=k|N[a+56>>2];break h}I=k&(N[a+60>>2]^-1);j=S[a+88>>3]*S[a+24>>3];i:{if(V(j)<2147483648){i=~~j;break i}i=-2147483648}l=I&1;j=S[a+80>>3]*S[a+16>>3];j:{if(V(j)<2147483648){q=~~j;break j}q=-2147483648}if(l){N[x+28>>2]=i+o;N[x+24>>2]=q+E;t=N[a>>2];l=N[x+28>>2];N[x+16>>2]=N[x+24>>2];N[x+20>>2]=l;l=0;if(!Fb(t,x+16|0,1)){break g}}if(!(I&2)){break h}N[x+28>>2]=o-i;N[x+24>>2]=E-q;i=N[a+4>>2];q=N[x+28>>2];N[x+8>>2]=N[x+24>>2];N[x+12>>2]=q;l=0;if(!Fb(i,x+8|0,1)){break g}}N[a+60>>2]=k|N[a+60>>2];l=1}La=x+32|0;if(!l){break c}k:{if(u<0|r<0){if(!xi(a,N[b>>2],N[b+4>>2],0,0,k)){break c}if(xi(a,N[b+24>>2],N[b+28>>2],0,0,k)){break k}break c}h=u/h;if(!xi(a,N[b>>2],N[b+4>>2],h*S[d>>3],h*S[d+8>>3],k)){break c}}q=(k^-1)&e;if(q){break f}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;p=1;break c}k=e^k;break e}q=L<0?m|64:m;m=M<0?q^65:q;i=m&64;q=i>>>6|0;l:{m:{n:{o:{p:{q:{if(z+w<1){r:{if(!i){break r}m=(z<0?642:130)^m;if(!(h0)){m=m^193;break q}m=m^705}if(!(z+y<1)){break o}if(!i){break m}break n}if(z+y<1){m=m^65;break n}m=m^1;break l}if(i){m=m^64;break l}if(!(z>0)){m=m^320;break l}m=m^1344;break l}m=(z<0?1284:260)^m;if(!(h>>0>2?k:0)^e}else{k=e}q=e}s:{if(!k){break s}O=z+1;T=(L+M)/X;P=T*T;Q=O*P;R=s*s;w=O*Q;v=R*3+w*3;j=s*T;r=j*6*O;U=v-r;h=aa(O*.5);H=h*1.5*(h+1);F=j+j;u=F*(z+4);n=R+R+Q*-6;D=u+n;y=U+U+H*D;A=z+-1;j=A+A+P*3;h=j-F;W=r+v;r=n-u;C=W+W+H*r;u=F+j;w=z*((w-R)*3.6);n=(R-Q*z)*7.2;v=w+w+H*n;j=A*4+z*(P*3.6);v=(y*(U-H*h*H)+(C*(W-H*u*H)+(v*(w-H*j*H)+0)))/((y*y+(C*C+(v*v+0)))*H+1e-9);h=v*(v*U+D)+h;P=h*h;h=v*(v*W+r)+u;Q=h*h;h=v*(v*w+n)+j;if(!(S[a+144>>3]>P+(Q+(h*h+0)))){break s}n=v*O+-1;j=T*n;h=s*v;F=j+h;y=j-h;l=m&32;i=l?2:1;t:{if(!(i&k)){A=S[d+40>>3];C=S[d+16>>3];break t}h=n;n=l?-s:s;e=h*(n+n)>3];j=l?-y:y;e=C-j<0?e|2:e;h=l?-F:F;A=S[d+40>>3];e=h+A<0?e|4:e;e=n+(J+C)-h*z<0?e|8:e;if(!(((j*z+(n+(K+A))<0?e|16:e)^m)&m>>>6)){break t}k=(i^-1)&k;if(!k){break s}}v=L+L;D=J+J;w=S[a+152>>3];if(!(V(y*3*C+v)<(C*3+D)*w)){break s}r=M+M;u=K+K;if(!(V(F*3*A+r)<(A*3+u)*w)){break s}n=z*C;j=s*C;s=A*-s;h=z*A;if(!(V(F*n+(y*D+v-j)-s/3)>2];r=S[d+8>>3];u=S[d+32>>3];o=N[b>>2];n=S[d>>3];j=S[d+24>>3];I=k^-1;N[a+60>>2]=I&N[a+60>>2];h=S[a+88>>3]*S[a+24>>3];u:{if(V(h)<2147483648){i=~~h;break u}i=-2147483648}G=k&1;h=S[a+80>>3]*S[a+16>>3];v:{if(V(h)<2147483648){e=~~h;break v}e=-2147483648}if(G){N[g+84>>2]=i+E;N[g+80>>2]=e+o;t=N[a>>2];l=N[g+84>>2];N[g+72>>2]=N[g+80>>2];N[g+76>>2]=l;p=0;if(!Fb(t,g+72|0,3)){break c}}Y=k&2;if(Y){N[g+84>>2]=E-i;N[g+80>>2]=o-e;i=N[a+4>>2];e=N[g+84>>2];N[g+64>>2]=N[g+80>>2];N[g+68>>2]=e;p=0;if(!Fb(i,g- -64|0,3)){break c}}s=r*y+n;x=N[b+12>>2];E=N[b+8>>2];h=(r-n*y)*S[a+24>>3];w:{if(V(h)<2147483648){k=~~h;break w}k=-2147483648}h=s*S[a+16>>3];x:{if(V(h)<2147483648){i=~~h;break x}i=-2147483648}if(G){m=N[a>>2];t=N[m+4>>2];if(!t){break b}p=0;o=i+E|0;e=o>>31;if((e^o)-e>>>0>268435455){break c}e=k+x|0;l=e>>31;if((e^l)-l>>>0>268435455){break c}p=N[m>>2];y:{if(t>>>0>p>>>0){t=N[m+16>>2];break y}p=0;N[147316]=0;l=t<<1;t=jd(N[m+16>>2],l,8);N[m+16>>2]=t;if(N[147316]){break c}N[m+4>>2]=l;p=N[m>>2]}l=(p<<3)+t|0;N[l>>2]=o;N[l+4>>2]=e;N[m>>2]=N[m>>2]+1}if(Y){o=N[a+4>>2];t=N[o+4>>2];if(!t){break b}p=0;l=E-i|0;e=l>>31;if((e^l)-e>>>0>268435455){break c}e=x-k|0;i=e>>31;if((e^i)-i>>>0>268435455){break c}p=N[o>>2];z:{if(t>>>0>p>>>0){k=N[o+16>>2];break z}p=0;N[147316]=0;i=t<<1;k=jd(N[o+16>>2],i,8);N[o+16>>2]=k;if(N[147316]){break c}N[o+4>>2]=i;p=N[o>>2]}i=(p<<3)+k|0;N[i>>2]=l;N[i+4>>2]=e;N[o>>2]=N[o>>2]+1}s=u*F+j;x=N[b+20>>2];E=N[b+16>>2];h=(u-j*F)*S[a+24>>3];A:{if(V(h)<2147483648){k=~~h;break A}k=-2147483648}h=s*S[a+16>>3];B:{if(V(h)<2147483648){i=~~h;break B}i=-2147483648}if(G){G=N[a>>2];o=N[G+4>>2];if(!o){break b}p=0;t=i+E|0;e=t>>31;if((e^t)-e>>>0>268435455){break c}e=k+x|0;l=e>>31;if((e^l)-l>>>0>268435455){break c}p=N[G>>2];C:{if(o>>>0>p>>>0){m=N[G+16>>2];break C}p=0;N[147316]=0;l=o<<1;m=jd(N[G+16>>2],l,8);N[G+16>>2]=m;if(N[147316]){break c}N[G+4>>2]=l;p=N[G>>2]}l=(p<<3)+m|0;N[l>>2]=t;N[l+4>>2]=e;N[G>>2]=N[G>>2]+1}D:{if(Y){o=N[a+4>>2];t=N[o+4>>2];if(!t){break D}p=0;l=E-i|0;e=l>>31;if((e^l)-e>>>0>268435455){break c}e=x-k|0;i=e>>31;if((e^i)-i>>>0>268435455){break c}p=N[o>>2];E:{if(t>>>0>p>>>0){k=N[o+16>>2];break E}p=0;N[147316]=0;i=t<<1;k=jd(N[o+16>>2],i,8);N[o+16>>2]=k;if(N[147316]){break c}N[o+4>>2]=i;p=N[o>>2]}i=(p<<3)+k|0;N[i>>2]=l;N[i+4>>2]=e;N[o>>2]=N[o>>2]+1}e=q&I;if(e){break d}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;p=1;break c}break b}e=q}o=N[b+12>>2];x=N[b+8>>2];I=N[b>>2];t=N[b+24>>2];E=N[b+16>>2];l=N[b+4>>2];i=N[b+20>>2];q=i+N[b+28>>2]|0;N[g+300>>2]=q>>1;k=q;q=(i+o|0)+2|0;k=k+q|0;N[g+292>>2]=k>>2;i=l+o|0;q=i+q|0;N[g+276>>2]=q>>2;o=(k+q|0)-1>>3;N[g+284>>2]=o;q=t+E|0;N[g+296>>2]=q>>1;k=x+I|0;N[g+264>>2]=k>>1;N[g+268>>2]=i>>1;i=q;q=(x+E|0)+2|0;i=i+q|0;N[g+288>>2]=i>>2;q=k+q|0;N[g+272>>2]=q>>2;l=(i+q|0)-1>>3;N[g+280>>2]=l;i=N[b+4>>2];q=N[b>>2];N[g+256>>2]=q;N[g+260>>2]=i;k=N[b+28>>2];N[g+304>>2]=N[b+24>>2];N[g+308>>2]=k;r=S[c>>3]*.5;S[g+176>>3]=r;u=S[c+8>>3]*.5;S[g+184>>3]=u;s=S[c+24>>3];n=S[c+16>>3];j=S[c+32>>3]*.5;S[g+240>>3]=j;h=S[c+40>>3];s=s*.5;D=(u+s)*.5;S[g+200>>3]=D;h=h*.5;S[g+248>>3]=h;u=(s+h)*.5;S[g+232>>3]=u;w=(D+u)*.5;S[g+216>>3]=w;h=n*.5;n=(r+h)*.5;S[g+192>>3]=n;h=(h+j)*.5;S[g+224>>3]=h;r=(n+h)*.5;S[g+208>>3]=r;t=g+208|0;k=g+280|0;j=aa(r*r+w*w);s=S[a+128>>3];if(j>2];N[g+80>>2]=N[d>>2];N[g+84>>2]=b;b=N[d+12>>2];N[g+88>>2]=N[d+8>>2];N[g+92>>2]=b;S[g+96>>3]=S[d+16>>3]*.5;b=N[d+36>>2];N[g+160>>2]=N[d+32>>2];N[g+164>>2]=b;b=N[d+28>>2];N[g+152>>2]=N[d+24>>2];N[g+156>>2]=b;S[g+168>>3]=S[d+40>>3]*.5;v=n+r;S[g+192>>3]=v;r=h+r;S[g+224>>3]=r;n=u+w;S[g+232>>3]=n;j=D+w;S[g+200>>3]=j;N[t>>2]=0;N[t+4>>2]=0;N[t+8>>2]=0;N[t+12>>2]=0;h=aa(v*v+j*j);c=h>2];N[g+120>>2]=N[d+16>>2];N[g+124>>2]=b;b=N[d+12>>2];N[g+112>>2]=N[d+8>>2];N[g+116>>2]=b;b=N[d+4>>2];N[g+104>>2]=N[d>>2];N[g+108>>2]=b;break F}S[g+120>>3]=h;h=1/h;S[g+112>>3]=j*h;S[g+104>>3]=v*h}h=s;s=aa(r*r+n*n);G:{if(h>s){b=N[d+44>>2];N[g+144>>2]=N[d+40>>2];N[g+148>>2]=b;b=N[d+36>>2];N[g+136>>2]=N[d+32>>2];N[g+140>>2]=b;b=N[d+28>>2];N[g+128>>2]=N[d+24>>2];N[g+132>>2]=b;break G}S[g+144>>3]=s;h=1/s;S[g+136>>3]=n*h;S[g+128>>3]=r*h}H:{if(c){N[a+60>>2]=N[a+60>>2]&(e^-1);h=S[a+88>>3]*S[a+24>>3];I:{if(V(h)<2147483648){d=~~h;break I}d=-2147483648}b=i;f=e&1;h=S[a+80>>3]*S[a+16>>3];J:{if(V(h)<2147483648){c=~~h;break J}c=-2147483648}if(f){N[g+316>>2]=b+d;N[g+312>>2]=c+q;i=N[a>>2];f=N[g+316>>2];N[g+56>>2]=N[g+312>>2];N[g+60>>2]=f;p=0;if(!Fb(i,g+56|0,1)){break c}}if(!(e&2)){break H}N[g+316>>2]=b-d;N[g+312>>2]=q-c;c=N[a+4>>2];b=N[g+316>>2];N[g+48>>2]=N[g+312>>2];N[g+52>>2]=b;p=0;if(Fb(c,g+48|0,1)){break H}break c}p=0;if(!gf(a,g+256|0,g+176|0,g+80|0,e,f)){break c}}d=N[g+272>>2];c=N[g+276>>2];b=N[g+140>>2];N[g+32>>2]=N[g+136>>2];N[g+36>>2]=b;N[g+40>>2]=d;N[g+44>>2]=c;b=N[g+132>>2];N[g+24>>2]=N[g+128>>2];N[g+28>>2]=b;p=0;if(!ye(a,g+40|0,g+24|0,e)){break c}K:{if(s>3]){N[a+60>>2]=N[a+60>>2]&(e^-1);h=S[a+88>>3]*S[a+24>>3];L:{if(V(h)<2147483648){c=~~h;break L}c=-2147483648}d=e&1;h=S[a+80>>3]*S[a+16>>3];M:{if(V(h)<2147483648){b=~~h;break M}b=-2147483648}if(d){N[g+316>>2]=c+o;N[g+312>>2]=b+l;f=N[a>>2];d=N[g+316>>2];N[g+16>>2]=N[g+312>>2];N[g+20>>2]=d;if(!Fb(f,g+16|0,1)){break c}}if(!(e&2)){break K}N[g+316>>2]=o-c;N[g+312>>2]=l-b;b=N[a+4>>2];a=N[g+316>>2];N[g+8>>2]=N[g+312>>2];N[g+12>>2]=a;if(Fb(b,g+8|0,1)){break K}break c}if(!gf(a,k,t,g+128|0,e,0)){break c}}p=1;break c}b=N[d+4>>2];N[g+80>>2]=N[d>>2];N[g+84>>2]=b;b=N[d+12>>2];N[g+88>>2]=N[d+8>>2];N[g+92>>2]=b;s=S[d+16>>3];h=1/j;S[g+112>>3]=w*h;S[g+120>>3]=j;S[g+104>>3]=r*h;S[g+96>>3]=s*.5;b=N[d+36>>2];N[g+136>>2]=N[d+32>>2];N[g+140>>2]=b;b=N[d+28>>2];N[g+128>>2]=N[d+24>>2];N[g+132>>2]=b;S[g+144>>3]=S[d+40>>3]*.5;p=0;if(!gf(a,g+256|0,g+176|0,g+80|0,e,f)){break c}p=gf(a,k,t,g+104|0,e,0)}La=g+320|0;return p}ba(9920,18249,281,9160);B()}function EA(a){a=a|0;var 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;f=La-80|0;La=f;j=N[a+8>>2];a:{if(!j){b=6;break a}m=N[a>>2];c=N[a+4>>2];b:{if(N[c+12>>2]>1){break b}ld(c);if(N[c+12>>2]>1){break b}h=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=h>>>0){break b}d=b+1|0;N[c>>2]=d;e=O[b|0];b=d;if(!(1<>>0>26){continue}break}}while(1){c:{N[c+12>>2]=0;d=hf(c);if(d){break c}b=2;if(N[c+12>>2]==2){continue}break a}break}b=2;if((N[c>>2]+(d^-1)|0)!=16){break a}if(bb(d,11361,16)){break a}e=160;d:{e:{f:{g:while(1){c=N[a+4>>2];h:{if(N[c+12>>2]>1){break h}ld(c);if(N[c+12>>2]>1){break h}g=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=g>>>0){break h}d=b+1|0;N[c>>2]=d;h=O[b|0];b=d;if(!(1<>>0>26){continue}break}}while(1){i:{N[c+12>>2]=0;h=hf(c);if(h){break i}if(N[c+12>>2]==2){continue}break d}break}g=N[c>>2]+(h^-1)|0;b=O[h|0];c=0;while(1){j:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break j}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break j}d=c|2;if((d|0)==74){continue g}if((b|0)==O[N[(d<<2)+294496>>2]]){break j}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break j}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){i=N[(d<<2)+294496>>2];if((b|0)!=O[i|0]){continue g}if(bb(i,h,g)){i=(c|0)==(d|0);d=d+1|0;if(i){continue g}continue}break}b=0;k:{l:{switch(d|0){case 40:N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}if(!(N[f+36>>2]&-3)){continue}e=7;break d;case 30:N[f>>2]=4;if((ed(a,f,1)|0)!=1){break d}L[j|0]=O[f+4|0];continue;case 26:N[f+24>>2]=2;N[f+16>>2]=2;N[f+8>>2]=2;N[f>>2]=2;if((ed(a,f,4)|0)!=4){break d}N[j+4>>2]=N[f+4>>2];N[j+8>>2]=N[f+12>>2];N[j+12>>2]=N[f+20>>2];N[j+16>>2]=N[f+28>>2];continue;case 0:N[f>>2]=2;if((ed(a,f,1)|0)!=1){break d}N[j+20>>2]=N[f+4>>2];continue;case 14:N[f>>2]=2;if((ed(a,f,1)|0)!=1){break d}N[j+24>>2]=N[f+4>>2];continue;case 45:N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}c=N[f+36>>2];if((c|0)<=0){break k}m:while(1){g=N[a+4>>2];n:{if(N[g+12>>2]>1){break n}ld(g);if(N[g+12>>2]>1){break n}h=N[g+8>>2];d=N[g>>2];while(1){if(d>>>0>=h>>>0){break n}b=d+1|0;N[g>>2]=b;e=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[g+12>>2]=0;d=N[g>>2];i=N[g+8>>2];if(d>>>0>=i>>>0){break f}h=c-1|0;while(1){b=d+1|0;N[g>>2]=b;o:{switch(O[d|0]-9|0){case 0:case 23:d=b;if((i|0)!=(b|0)){continue}break f;default:p:{q:{r:{while(1){if(b>>>0>=i>>>0){break r}d=b;b=b+1|0;N[g>>2]=b;e=2;s:{switch(O[d|0]-9|0){case 0:case 23:break p;case 1:case 4:break q;case 17:break r;case 50:break s;default:continue}}break}e=1;break q}e=3}N[g+12>>2]=e}b=(c|0)>1;c=h;if(b){continue m}break k;case 50:N[g+12>>2]=1;break e;case 1:case 4:break o;case 17:break f}}N[g+12>>2]=0;d=b;if(i>>>0>b>>>0){continue}break}break};break f;case 20:break a;case 49:break l;default:continue}}i=1;t:while(1){e=N[a+4>>2];u:{if(N[e+12>>2]>1){break u}ld(e);if(N[e+12>>2]>1){break u}h=N[e+8>>2];d=N[e>>2];while(1){if(d>>>0>=h>>>0){break u}b=d+1|0;N[e>>2]=b;c=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[e+12>>2]=0;v:{d=N[e>>2];g=N[e+8>>2];if(d>>>0>=g>>>0){break v}w:{x:{while(1){y:{b=d+1|0;N[e>>2]=b;z:{switch(O[d|0]-9|0){case 0:case 23:d=b;if((g|0)!=(b|0)){continue}break v;default:while(1){c=b;if(g>>>0<=b>>>0){break y}b=c+1|0;N[e>>2]=b;h=2;A:{switch(O[c|0]-9|0){case 0:case 23:break w;case 1:case 4:break x;case 17:break y;case 50:break A;default:continue}}break};h=1;break x;case 50:N[e+12>>2]=1;e=160;break d;case 17:break v;case 1:case 4:break z}}N[e+12>>2]=0;d=b;if(g>>>0>b>>>0){continue}break v}break}h=3}N[e+12>>2]=h}h=(d^-1)+b|0;e=O[d|0];b=0;while(1){B:{if((e|0)==O[N[(b<<2)+294496>>2]]){c=b;break B}c=b|1;if((e|0)==O[N[(c<<2)+294496>>2]]){break B}c=b|2;if((c|0)==74){continue t}if((e|0)==O[N[(c<<2)+294496>>2]]){break B}c=b|3;if((e|0)==O[N[(c<<2)+294496>>2]]){break B}b=b+4|0;continue}break}b=(c|0)<=73?73:c;while(1){g=N[(c<<2)+294496>>2];if((e|0)!=O[g|0]){continue t}if(bb(g,d,h)){g=(b|0)==(c|0);c=c+1|0;if(g){continue t}continue}break}if((c|0)==75){continue}b=0;e=160;C:{switch(c-20|0){case 33:if(!i){break d}d=N[a+4>>2];h=N[a+8>>2];N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}b=N[f+36>>2];if((b|0)<0){break d}N[h+32>>2]=b;if(b>>>0>(N[d+8>>2]-N[d>>2]>>>0)/20>>>0){break d}if(b){n=h,o=lb(N[a>>2],20,0,b,0,f+32|0),N[n+28>>2]=o;e=N[f+32>>2];if(e){break d}}e=-1;D:while(1){c=N[a+4>>2];E:{if(N[c+12>>2]>1){break E}ld(c);if(N[c+12>>2]>1){break E}i=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=i>>>0){break E}d=b+1|0;N[c>>2]=d;g=O[b|0];b=d;if(!(1<>>0>26){continue}break}}F:{while(1){N[c+12>>2]=0;g=hf(c);if(g){break F}if(N[c+12>>2]==2){continue}break}e=160;break d}i=N[c>>2]+(g^-1)|0;b=O[g|0];c=0;while(1){G:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break G}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break G}d=c|2;if((d|0)==74){continue D}if((b|0)==O[N[(d<<2)+294496>>2]]){break G}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break G}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){k=N[(d<<2)+294496>>2];if((b|0)!=O[k|0]){continue D}if(bb(k,g,i)){k=(c|0)==(d|0);d=d+1|0;if(k){continue D}continue}break}H:{I:{switch(d-20|0){case 36:e=e+1|0;if((e|0)>=N[h+32>>2]){break H}b=N[h+28>>2];N[f+64>>2]=2;N[f+56>>2]=2;N[f+48>>2]=2;N[f+40>>2]=2;N[f+32>>2]=3;if((ed(a,f+32|0,5)|0)!=5){break H}b=b+T(e,20)|0;N[b>>2]=N[f+36>>2];N[b+4>>2]=N[f+44>>2];N[b+8>>2]=N[f+52>>2];N[b+12>>2]=N[f+60>>2];N[b+16>>2]=N[f+68>>2];continue;case 0:case 1:case 3:b=e+1|0;if((b|0)!=N[h+32>>2]){N[h+32>>2]=b}i=0;continue t;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break H;default:break I}}if((d|0)==75){continue}}break};e=160;break d;case 0:case 1:break a;case 30:case 31:break C;default:break d}}if(l){break d}d=N[a+4>>2];g=N[a+8>>2];N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}b=N[f+36>>2];if((b|0)<0){break d}N[g+40>>2]=b;if(b>>>0>(N[d+8>>2]-N[d>>2]>>>0)/10>>>0){break d}if(b){n=g,o=lb(N[a>>2],16,0,b,0,f+32|0),N[n+36>>2]=o;e=N[f+32>>2];if(e){break d}}e=-1;J:{K:while(1){c=N[a+4>>2];L:{if(N[c+12>>2]>1){break L}ld(c);if(N[c+12>>2]>1){break L}l=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=l>>>0){break L}d=b+1|0;N[c>>2]=d;h=O[b|0];b=d;if(!(1<>>0>26){continue}break}}M:{while(1){N[c+12>>2]=0;h=hf(c);if(h){break M}if(N[c+12>>2]==2){continue}break}e=160;break d}l=N[c>>2]+(h^-1)|0;b=O[h|0];c=0;while(1){N:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break N}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break N}d=c|2;if((d|0)==74){continue K}if((b|0)==O[N[(d<<2)+294496>>2]]){break N}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break N}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){k=N[(d<<2)+294496>>2];if((b|0)!=O[k|0]){continue K}if(bb(k,h,l)){k=(c|0)==(d|0);d=d+1|0;if(k){continue K}continue}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){e=160;break d}b=1<=N[g+40>>2]){break O}b=N[g+36>>2];N[f+56>>2]=3;N[f+48>>2]=3;N[f+40>>2]=5;N[f+32>>2]=5;l=ed(a,f+32|0,4);if((l|0)<3){break O}h=b+(e<<4)|0;N[h>>2]=N[f+36>>2];N[h+4>>2]=N[f+44>>2];c=0;b=N[f+52>>2];if((d|0)!=37){c=b;b=(d|0)==34?(l|0)==4?N[f+60>>2]:0:0}N[h+12>>2]=b;N[h+8>>2]=c;continue}break}e=160;break d}b=e+1|0;if((b|0)!=N[g+40>>2]){N[g+40>>2]=b}Zc(N[g+36>>2],b,16,359);l=1;continue}break}N[e+12>>2]=3;e=160;break d}while(1){e=N[a+4>>2];P:{if(N[e+12>>2]>1){break P}ld(e);if(N[e+12>>2]>1){break P}h=N[e+8>>2];d=N[e>>2];while(1){if(d>>>0>=h>>>0){break P}b=d+1|0;N[e>>2]=b;c=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[e+12>>2]=0;Q:{d=N[e>>2];g=N[e+8>>2];if(d>>>0>=g>>>0){break Q}R:{S:{while(1){T:{b=d+1|0;N[e>>2]=b;U:{switch(O[d|0]-9|0){case 50:N[e+12>>2]=1;break e;case 0:case 23:d=b;if((g|0)!=(b|0)){continue}break Q;default:while(1){c=b;if(g>>>0<=b>>>0){break T}b=c+1|0;N[e>>2]=b;h=2;V:{switch(O[c|0]-9|0){case 0:case 23:break R;case 1:case 4:break S;case 17:break T;case 50:break V;default:continue}}break};h=1;break S;case 17:break Q;case 1:case 4:break U}}N[e+12>>2]=0;d=b;if(g>>>0>b>>>0){continue}break Q}break}h=3}N[e+12>>2]=h}h=(d^-1)+b|0;e=O[d|0];c=0;W:{while(1){X:{if((e|0)==O[N[(c<<2)+294496>>2]]){b=c;break X}b=c|1;if((e|0)==O[N[(b<<2)+294496>>2]]){break X}b=c|2;if((b|0)==74){c=75;break W}if((e|0)==O[N[(b<<2)+294496>>2]]){break X}b=c|3;if((e|0)==O[N[(b<<2)+294496>>2]]){break X}c=c+4|0;continue}break}g=(b|0)<=73?73:b;while(1){c=75;i=N[(b<<2)+294496>>2];if((e|0)!=O[i|0]){break W}if(!bb(i,d,h)){c=b;break W}i=(b|0)==(g|0);b=b+1|0;if(!i){continue}break}}e=0;switch(c-17|0){case 0:case 3:continue g;default:continue}}break}break}N[e+12>>2]=3;break e}N[g+12>>2]=3}b=160;break a}a=N[j+28>>2];if(a){Qa[N[m+8>>2]](m,a)}N[j+28>>2]=0;N[j+32>>2]=0;a=N[j+36>>2];if(a){Qa[N[m+8>>2]](m,a)}L[j|0]=0;N[j+36>>2]=0;N[j+40>>2]=0;b=e}La=f+80|0;return b|0}function oh(a,b){var 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;a:{g=N[b+4>>2];b:{if(g>>>0>a>>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break b}f=N[b+12>>2];d=f-2|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=O[a|0]|O[a+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<2){break b}d=a+4|0;if(d>>>0>h>>>0|h-d>>>0<4){break b}f=f-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}c=1;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break b}c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);o=c>>>0<=1?1:c;p=c-1|0;e=a+8|0;while(1){c:{if(e>>>0>>0|e>>>0>h>>>0|h-e>>>0<12){break c}d=N[b+12>>2];a=d-12|0;N[b+12>>2]=a;if((a|0)<=0){break c}a=N[b+32>>2];c=N[a+12>>2];N[b+4>>2]=c;a=N[a+16>>2];h=a+c|0;N[b+8>>2]=h;d:{e:{f:{g:{h:{if((a|0)>=0){i:{j:{a=m>>>0

>>0?e:0;if(a){if(a>>>0>>0&a>>>0>=c>>>0){break j}N[b+4>>2]=0;N[b+8>>2]=0;c=0;h=0;break i}if(c>>>0<=e>>>0){break i}a=0;break d}N[b+4>>2]=a;f=h-a|0;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=a+(c>>>0>f>>>0?f:c)|0;N[b+8>>2]=h;c=a}a=0;if(e>>>0>h>>>0){break d}f=h-e|0;if(f>>>0<12){break d}g=d-24|0;N[b+12>>2]=g;if((g|0)<=0){break d}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<13|d>>>0>f>>>0){break d}d=g-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}k:{switch((O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24))>>>24|0){case 0:f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<8){break d}d=d-8|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);c=UE(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24),0,6,0);if(Pa){break d}if(!c){break e}f=e+28|0;if(f>>>0>h>>>0|c>>>0>h-f>>>0){break d}c=d-c|0;N[b+12>>2]=c;if((c|0)>0){break e}break d;case 1:break k;case 2:break f;case 4:break g;case 6:break h;default:break e}}if(f>>>0<32|c>>>0>e>>>0){break d}f=d-32|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<16){break d}f=d-48|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<4){break d}f=e+16|0;if(f>>>0>h>>>0|h-f>>>0<4){break d}d=d-52|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(d&128){break d}if(!yc(c+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break d}d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((i|0)<0){break d}a=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);j=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);k=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;n=i<<1;d=0;h=0;a=0;while(1){l:{m:{n:{if((d|0)<=(h|0)){f=h+1|0;c=UE(f,0,n,0);if(Pa){a=0;break d}o:{if(!c){g=N[b+12>>2];break o}if(k>>>0>2]){a=0;break d}g=N[b+8>>2];if(g>>>0>>0){a=0;break d}if(c>>>0>g-k>>>0){a=0;break d}g=N[b+12>>2]-c|0;N[b+12>>2]=g;if((g|0)>0){break o}a=0;break d}c=((h^-1)+d|0)+g|0;N[b+12>>2]=c;if((c|0)<=0){a=0;break d}UE(f,0,i,0);if(Pa){a=0;break d}c=T(f,i);if((c|0)<0){a=0;break d}d=T(d,i);if((d|0)<(c|0)){break n}d=f}if(!a){c=N[b+12>>2]+a|0;N[b+12>>2]=c;a=0;if((c|0)<=0){break d}break l}c=a;break m}l=k+(c<<1)|0;g=k+(d<<1)|0;c=a;while(1){d=O[g|0]|O[g+1|0]<<8;d=((d<<8|d>>>8)&65535)+1|0;c=c>>>0>d>>>0?c:d;g=g+2|0;if(l>>>0>g>>>0){continue}break}d=f}if(j>>>0>2]){a=0;break d}f=N[b+8>>2];if(f>>>0>>0){a=0;break d}l=f-j|0;f=T(c,6);if(l>>>0>>0){a=0;break d}g=N[b+12>>2]-f|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}g=g+(a-c|0)|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}if((a|0)>=(c|0)){a=c;break l}f=f+j|0;g=j+T(a,6)|0;while(1){a=O[g|0]|O[g+1|0]<<8;a=(a<<8|a>>>8)&65535;h=(a|0)<(h|0)?h:a;g=g+6|0;if(f>>>0>g>>>0){continue}break}a=c}if((d|0)<=(h|0)){continue}break}break e}break a}if(f>>>0<36|c>>>0>e>>>0){break d}c=d-36|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=e+20|0;f=c>>>0>h>>>0|h-c>>>0<4;p:{if(L[e+15|0]&1){if(f){break d}d=d-40|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!jl((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+24|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!jl((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);if(!c){break p}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)>0){break p}break d}if(f){break d}d=d-40|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+24|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);if(!c){break p}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}}if(!(O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24))){break e}c=O[e+32|0]|O[e+33|0]<<8|(O[e+34|0]<<16|O[e+35|0]<<24);if(!c){break e}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}break e}if(f>>>0<32|c>>>0>e>>>0){break d}f=d-32|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<16){break d}f=d-48|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<4){break d}f=e+16|0;if(f>>>0>h>>>0|h-f>>>0<4){break d}d=d-52|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(d&128){break d}if(!yc(c+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break d}d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((i|0)<0){break d}a=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);j=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);k=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;n=i<<1;d=0;h=0;a=0;while(1){q:{r:{s:{if((d|0)<=(h|0)){f=h+1|0;c=UE(f,0,n,0);if(Pa){a=0;break d}t:{if(!c){g=N[b+12>>2];break t}if(k>>>0>2]){a=0;break d}g=N[b+8>>2];if(g>>>0>>0){a=0;break d}if(c>>>0>g-k>>>0){a=0;break d}g=N[b+12>>2]-c|0;N[b+12>>2]=g;if((g|0)>0){break t}a=0;break d}c=((h^-1)+d|0)+g|0;N[b+12>>2]=c;if((c|0)<=0){a=0;break d}UE(f,0,i,0);if(Pa){a=0;break d}c=T(f,i);if((c|0)<0){a=0;break d}d=T(d,i);if((d|0)<(c|0)){break s}d=f}if(!a){c=N[b+12>>2]+a|0;N[b+12>>2]=c;a=0;if((c|0)<=0){break d}break q}c=a;break r}l=k+(c<<1)|0;g=k+(d<<1)|0;c=a;while(1){d=O[g|0]|O[g+1|0]<<8;d=((d<<8|d>>>8)&65535)+1|0;c=c>>>0>d>>>0?c:d;g=g+2|0;if(l>>>0>g>>>0){continue}break}d=f}if(j>>>0>2]){a=0;break d}f=N[b+8>>2];if(f>>>0>>0){a=0;break d}l=f-j|0;f=T(c,6);if(l>>>0>>0){a=0;break d}g=N[b+12>>2]-f|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}g=g+(a-c|0)|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}if((a|0)>=(c|0)){a=c;break q}f=f+j|0;g=j+T(a,6)|0;while(1){a=O[g|0]|O[g+1|0]<<8;a=(a<<8|a>>>8)&65535;h=(a|0)<(h|0)?h:a;g=g+6|0;if(f>>>0>g>>>0){continue}break}a=c}if((d|0)<=(h|0)){continue}break}break e}if(f>>>0<28|c>>>0>e>>>0){break d}c=d-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=e+16|0;if(c>>>0>h>>>0|h-c>>>0<4){break d}d=d-32|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+20|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);if(!c){break e}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}}a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+e|0;a=1}c=N[b+32>>2];g=N[c+12>>2];N[b+4>>2]=g;c=N[c+16>>2];h=c+g|0;N[b+8>>2]=h;if((c|0)<0){break a}if(!a){break c}c=1;m=m+1|0;if((o|0)!=(m|0)){continue}break b}break}c=0}return c}ba(16656,14279,195,9642);B()}function qv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0;o=La-32|0;La=o;q=6;p=N[a+4>>2];a:{if(!p){break a}f=c-1|0;u=c>>>0>=f>>>0?f:0;if(u>>>0>=Q[p+408>>2]){break a}b:{if(d&9){break b}g=N[p+380>>2];if(!g){break b}k=N[p+416>>2];e=k+(u<<4)|0;j=N[p+104>>2];c=N[p+388>>2];f=P[b+12>>1];while(1){if(!((f|0)==N[c>>2]&N[c+4>>2]==P[b+14>>1])){c=c+36|0;h=h+1|0;if((g|0)!=(h|0)){continue}break b}break}g=N[c+24>>2]+N[p+432>>2]|0;h=N[c+8>>2];f=N[j+20>>2];c:{if(f){if(!(Qa[f|0](j,g,0,0)|0)){break c}break b}if(g>>>0>Q[j+4>>2]){break b}}N[j+8>>2]=g;f=h&1;if(Bb(j,T(N[c+28>>2],(h>>>2&1)+(h&2?f+5|0:f|4)|0))){break b}g=N[c+8>>2];n=g&1;t=(g&2?n+5|0:n|4)+(g>>>2&1)|0;s=N[e>>2];h=N[c+28>>2];i=N[j+32>>2];if(!(g&64)){f=N[j+36>>2];r=g|128;N[c+8>>2]=r;d:{e:{f:{e=f;f=T(h,t);l=f+i|0;if(e>>>0>=l>>>0){if((f|0)<=0){break d}e=-1;if(n){break f}f=i;while(1){m=e;e=O[f|0];if((m|0)>=(e|0)){break e}f=f+t|0;if(l>>>0>f>>>0){continue}break}break d}r=g&-129;break d}f=i;while(1){m=e;e=O[f+1|0]|O[f|0]<<8;if((m|0)>=(e|0)){break e}f=f+t|0;if(l>>>0>f>>>0){continue}break}break d}r=g&-129}g=r|64;N[c+8>>2]=g}g:{h:{i:{if(!(g&128)){break i}c=0;j:{if(!n){while(1){if(c>>>0>=h>>>0){break i}l=c+h>>>1|0;f=i+T(l,t)|0;m=O[f|0];e=m>>>0>s>>>0;h=e?l:h;c=e?c:m>>>0>>0?l+1|0:c;if((m|0)!=(s|0)){continue}break}c=f+1|0;break j}while(1){if(c>>>0>=h>>>0){break i}l=c+h>>>1|0;m=i+T(l,t)|0;e=O[m|0]<<8|O[m+1|0];f=e>>>0>s>>>0;c=f?c:e>>>0>>0?l+1|0:c;h=f?l:h;if((e|0)!=(s|0)){continue}break}c=m+2|0}i=O[c|0];k:{if(g&2){i=O[c+1|0]|i<<8;c=c+2|0;break k}c=c+1|0}e=O[c+1|0];f=O[c|0];if(!(g&4)){break h}c=O[c+2|0]|(e<<8|f<<16);break g}if(N[j+20>>2]){f=N[j>>2];if(f){c=N[j+28>>2];Qa[N[c+8>>2]](c,f)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;break b}c=e|f<<8}if(N[j+20>>2]){e=N[j>>2];if(e){f=N[j+28>>2];Qa[N[f+8>>2]](f,e)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;if(!i){break b}N[o+28>>2]=0;N[o+24>>2]=0;N[o+16>>2]=0;N[o+12>>2]=0;N[o+8>>2]=0;e=N[((u<<4)+k|0)+4>>2];h=N[p+304>>2];f=N[p+300>>2];if((h|0)!=(f|0)){f=jb(e,f,h)}else{f=e}N[a+56>>2]=f;f=jb(P[b+12>>1]<<8,e,h);N[o+20>>2]=f;e=c+N[p+188>>2]|0;c=N[j+20>>2];l:{if(c){if(!(Qa[c|0](j,e,0,0)|0)){break l}break b}if(e>>>0>Q[j+4>>2]){break b}}N[j+8>>2]=e;if(Bb(j,i)){break b}N[o+4>>2]=N[j+32>>2];m=8;l=N[j+36>>2];g=N[o+4>>2];m:{if(l>>>0>>0){break m}n:{o:{p:{q:{r:{h=O[g|0];switch((h&3)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}c=g+2|0;if(l>>>0>>0){break m}e=L[g+1|0];g=e>>4;k=e<<28>>28;break n}c=g+3|0;if(l>>>0>>0){break m}k=L[g+2|0];g=L[g+1|0];break n}c=g+5|0;if(l>>>0>>0){break m}e=O[g+3|0]|O[g+4|0]<<8;k=(e<<8|e>>>8)<<16>>16;e=O[g+1|0]|O[g+2|0]<<8;g=(e<<8|e>>>8)<<16>>16;break n}c=g+7|0;if(l>>>0>>0){break m}k=O[g+6|0]|(O[g+5|0]<<8|O[g+4|0]<<16);g=O[g+3|0]|(O[g+2|0]<<8|O[g+1|0]<<16)}n=h>>>2&3;r=n;s:{t:{switch(n-1|0){case 0:e=c+1|0;if(e>>>0>l>>>0){break m}c=O[c|0];r=c&15;n=c>>>4|0;c=e;break s;case 1:e=c+2|0;if(e>>>0>l>>>0){break m}r=O[c+1|0];n=O[c|0];c=e;break s;case 2:break t;default:break s}}e=c+4|0;if(e>>>0>l>>>0){break m}r=O[c+3|0]|O[c+2|0]<<8;n=O[c+1|0]|O[c|0]<<8;c=e}u:{v:{w:{x:{h=h>>>4|0;switch((h&3)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break u}}e=c+1|0;if(e>>>0>l>>>0){break m}f=L[c|0]<<8;c=e;break u}e=c+2|0;if(e>>>0>l>>>0){break m}c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=e;break u}e=c+3|0;if(e>>>0>l>>>0){break m}f=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);c=e}N[o+28>>2]=g;N[o+24>>2]=k;N[o+16>>2]=n;N[o+12>>2]=r;N[o+20>>2]=f;N[o+8>>2]=h>>>2;N[o+4>>2]=c;m=0}y:{if(m){break y}z:{A:{B:{C:{m=N[o+8>>2];switch(m|0){case 0:break A;case 2:break B;case 1:break C;default:break y}}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)>>>0<=T(i,15)>>>0){break z}break y}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)>>>0>T(i+1>>>1|0,255)>>>0){break y}break z}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)+7>>>3>>>0>i>>>0){break y}}if((c|0)<0){break y}i=N[o+24>>2];if((i|0)>(c^2147483647)){break y}N[a+72>>2]=1651078259;N[a+76>>2]=c;N[a+80>>2]=h;L[a+94|0]=1;N[a+28>>2]=c<<6;g=h<<6;N[a+24>>2]=g;e=h+7>>3;N[a+84>>2]=e;h=N[o+28>>2];N[a+36>>2]=i<<6;N[a+32>>2]=h<<6;f=N[o+20>>2];N[a+48>>2]=0;N[a+44>>2]=0-g>>1;N[a+40>>2]=(f>>2)+32&-64;f=N[b+32>>2];N[a+104>>2]=c+i;N[a+100>>2]=h;N[a+52>>2]=f;if(!(d&4194304)){g=T(c,e);h=N[N[a+4>>2]+100>>2];f=N[a+156>>2];c=N[f+4>>2];D:{if(c&1){c=N[a+88>>2];if(c){Qa[N[h+8>>2]](h,c)}N[a+88>>2]=0;break D}N[f+4>>2]=c|1}c=0;e=g?6:0;E:{if((g|0)<=0){break E}f=Qa[N[h+4>>2]](h,g)|0;e=64;if(!f){break E}C(f,0,g);c=f;e=0}N[a+88>>2]=c;if(e){break y}d=N[o+4>>2];k=N[j+36>>2];e=O[p+208|0]>>>1&1;n=0;f=N[a+76>>2];F:{if(!f){break F}b=N[a+80>>2];if(!b){break F}c=N[a+84>>2];l=e?c:0-c|0;q=T(b,f);h=N[a+88>>2]+(e?0:T(c,f-1|0))|0;G:{H:{switch(m|0){case 0:a=k-d<<3;g=a>>>0>>0?a:q;if(!g){break F}i=128;e=0;f=h;a=b;c=g;while(1){if(!((c^g)&7)){e=O[d|0];d=d+1|0}n=e<<24>>31&i|n;a=a-1|0;I:{if(!a){L[f|0]=n;n=0;a=b;h=h+l|0;f=h;m=128;break I}m=i>>>1|0;if(i>>>0>1){break I}L[f|0]=n;f=f+1|0;n=0;m=128}i=m;e=e<<1;c=c-1|0;if(c){continue}break};if((i|0)!=128){break G}break F;case 1:if(!q){break F}r=1;g=128;f=h;c=b;a=0;e=0;i=1;while(1){J:{K:{if(!r){break K}L:{if(!i){i=1;e=a;break L}i=1;m=g;if(d>>>0>=k>>>0){break J}e=O[d|0];a=e&15;d=d+1|0;i=0;e=e>>>4|0}if(e){break K}while(1){M:{if(!i){i=1;e=a;break M}if(d>>>0>=k>>>0){i=1;e=0;m=g;break J}e=O[d|0];a=e&15;d=d+1|0;i=0;e=e>>>4|0}if(!e){continue}break}}m=i?g:0}n=m|n;c=c-1|0;N:{if(!c){L[f|0]=n;n=0;c=b;h=h+l|0;f=h;m=128;break N}m=g>>>1|0;if(g>>>0>1){break N}L[f|0]=n;f=f+1|0;n=0;m=128}g=m;r=(e|0)<2;e=e-1|0;q=q-1|0;if(q){continue}break};if((g|0)!=128){break G}break F;case 2:break H;default:break F}}if(!q){break F}e=1;g=128;f=h;c=b;a=0;i=1;while(1){O:{if(!(e&1)|d>>>0>=k>>>0){break O}P:{while(1){i=i^1;e=d+1|0;a=O[d|0];if(a){break P}d=e;if((e|0)!=(k|0)){continue}break}a=0;d=k;break O}d=e}n=(i?g:0)|n;c=c-1|0;Q:{if(!c){L[f|0]=n;n=0;c=b;h=h+l|0;f=h;e=128;break Q}e=g>>>1|0;if(g>>>0>1){break Q}L[f|0]=n;f=f+1|0;n=0;e=128}g=e;e=(a|0)<2;a=a-1|0;q=q-1|0;if(q){continue}break}if((g|0)==128){break F}}L[f|0]=n}}if(N[j+20>>2]){b=N[j>>2];if(b){a=N[j+28>>2];Qa[N[a+8>>2]](a,b)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;q=0;break a}if(N[j+20>>2]){f=N[j>>2];if(f){c=N[j+28>>2];Qa[N[c+8>>2]](c,f)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0}if(d&16384){break a}m=N[p+416>>2];N[a+72>>2]=1869968492;N[a+108>>2]=0;c=m+(u<<4)|0;i=N[c+8>>2];g=N[c+12>>2];h=N[p+188>>2];e=N[p+104>>2];k=N[a+188>>2];N[k+20>>2]=0;N[k+36>>2]=0;N[k+48>>2]=0;c=N[k+32>>2];f=k- -64|0;N[f>>2]=N[k+28>>2];N[f+4>>2]=c;N[k+88>>2]=N[k+52>>2];c=N[k+24>>2];N[k+56>>2]=N[k+20>>2];N[k+60>>2]=c;c=N[k+40>>2];N[k+72>>2]=N[k+36>>2];N[k+76>>2]=c;c=N[k+48>>2];N[k+80>>2]=N[k+44>>2];N[k+84>>2]=c;N[a+176>>2]=0;q=rm(a+160|0,e,h,g,i);if(q){break a}f=N[a+188>>2];c=N[f+24>>2];N[a+108>>2]=N[f+20>>2];N[a+112>>2]=c;N[a+124>>2]=N[f+36>>2];c=N[f+32>>2];N[a+116>>2]=N[f+28>>2];N[a+120>>2]=c;c=N[a+124>>2]&-6;N[a+124>>2]=c|4;if(P[b+14>>1]<=23){N[a+124>>2]=c|260}N[a+52>>2]=0;N[a+40>>2]=0;c=N[(m+(u<<4)|0)+4>>2];e=N[p+304>>2];f=N[p+300>>2];if((e|0)!=(f|0)){c=jb(c,f,e)}f=N[p+324>>2]&1;N[(f?52:40)+a>>2]=c;u=0-f&c;N[a+60>>2]=u;n=f?0:c;N[a+56>>2]=n;N[a+44>>2]=0;N[a+48>>2]=0;R:{if(d&1){e=P[a+110>>1];break R}p=N[b+20>>2];s=N[b+16>>2];e=M[a+110>>1];S:{if((e|0)<=0){b=s>>31;b=(b^s)-b|0;r=b>>>8|0;break S}b=p>>31;t=(b^p)-b|0;m=t&65535;i=t>>>16|0;g=t>>>8|0;b=s>>31;b=(b^s)-b|0;h=b&65535;f=b>>>16|0;r=b>>>8|0;c=N[a+112>>2];q=0;while(1){k=N[c>>2];d=k>>31;l=(d^k)-d|0;T:{if(l+r>>>0<=8190){j=T(b,l)+32768>>>16|0;break T}d=l&65535;j=T(d,f)+T(l>>>16|0,b)+(T(d,h)+32768>>>16)|0}d=j;l=0-d|0;d=k>>31|1;N[c>>2]=(((s|0)<0?0-d|0:d)|0)<0?l:j;k=N[c+4>>2];d=k>>31;l=(d^k)-d|0;U:{if(l+g>>>0<=8190){j=T(l,t)+32768>>>16|0;break U}d=l&65535;j=T(d,i)+T(t,l>>>16|0)+(T(d,m)+32768>>>16)|0}d=j;l=0-d|0;d=k>>31|1;N[c+4>>2]=(((p|0)<0?0-d|0:d)|0)<0?l:j;c=c+8|0;q=q+1|0;if((q|0)!=(e|0)){continue}break}}c=n>>31;d=(c^n)-c|0;V:{if(d+r>>>0<=8190){c=T(b,d)+32768>>>16|0;break V}c=d&65535;c=T(c,b>>>16|0)+T(d>>>16|0,b)+(T(c,b&65535)+32768>>>16)|0}b=c;d=0-b|0;b=n>>31|1;N[a+40>>2]=(((s|0)<0?0-b|0:b)|0)<0?d:c;b=p>>31;d=(b^p)-b|0;b=u>>31;c=(b^u)-b|0;W:{if((d>>>8|0)+c>>>0<=8190){c=T(c,d)+32768>>>16|0;break W}b=c&65535;c=T(b,d>>>16|0)+T(d,c>>>16|0)+(T(b,d&65535)+32768>>>16)|0}b=c;d=0-b|0;b=u>>31|1;N[a+52>>2]=(((p|0)<0?0-b|0:b)|0)<0?d:c}q=0;b=0;d=0;h=0;f=0;X:{if(!(e&65535)){break X}i=N[a+112>>2];h=N[i+4>>2];f=N[i>>2];b=e<<16>>16;if((b|0)<2){b=h;d=f;break X}c=(b<<3)+i|0;e=i+8|0;d=f;b=h;while(1){g=N[i+12>>2];b=(b|0)<(g|0)?g:b;h=(g|0)<(h|0)?g:h;g=N[i+8>>2];d=(d|0)<(g|0)?g:d;f=(f|0)>(g|0)?g:f;i=e;e=e+8|0;if(c>>>0>e>>>0){continue}break}}N[a+36>>2]=h;N[a+32>>2]=f;N[a+28>>2]=b-h;N[a+24>>2]=d-f}La=o+32|0;return q|0}function rE(a){a=a|0;var b=0,c=0,d=0;b=N[a+100>>2];a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break c}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=282;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;d:{e:{f:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=283;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break l}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];p:{q:{r:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break q}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break r}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break p}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];v:{w:{x:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break w}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break x}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break v}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break A}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1667654002;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break C}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break B}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break G}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];H:{I:{J:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break I}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break J}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break H}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break P}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function re(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=La-48|0;La=j;r=N[a+100>>2];f=N[a+104>>2];N[j+32>>2]=0;N[j+36>>2]=0;N[j+24>>2]=0;N[j+28>>2]=0;e=N[a+736>>2];a:{b:{if(!e){if(Qa[N[a+516>>2]](a,1735811442,f,j+44|0)|0){c=Qa[N[a+516>>2]](a,1128678962,f,j+44|0)|0;if(c){break a}}c=Qa[N[a+516>>2]](a,1719034226,f,j+44|0)|0;if(c){break a}w=N[f+8>>2];c=rb(f,27216,j+24|0);if(c){break a}i=P[j+30>>1];g=P[j+36>>1];c=Qa[N[r+4>>2]](r,80)|0;if(c){C(c,0,80);N[a+736>>2]=c;N[c>>2]=i;m=(g|0)==((i<<2)+6|0);break b}N[a+736>>2]=0;c=64;break a}i=N[e>>2];c=e;m=0}x=T(i,24);o=N[a+12>>2];s=o>>>16|0;y=T(s,12);z=(i<<1)+3&-4;q=T(i,s);t=q<<2;c:{if(!e){e=((((T(i,5)+x|0)+z|0)+y|0)+t|0)+20|0;N[c+16>>2]=e;d:{if((e|0)<=0){c=6;if(!e){break d}break a}h=Qa[N[r+4>>2]](r,e)|0;if(!h){c=64;break a}C(h,0,e)}N[N[a+736>>2]+12>>2]=h;k=h+20|0;g=z+k|0;n=g+x|0;N[h+16>>2]=n;N[h+12>>2]=g;N[h+8>>2]=s;N[h+4>>2]=-1;N[h>>2]=i;e=n+y|0;e:{if(o>>>0<65536){break e}o=s>>>0<=1?1:s;u=o&3;c=e;if(o>>>0>=4){o=o&65532;while(1){N[n+T(d,12)>>2]=c;p=c;c=i<<2;p=p+c|0;N[n+T(d|1,12)>>2]=p;p=c+p|0;N[n+T(d|2,12)>>2]=p;p=c+p|0;N[n+T(d|3,12)>>2]=p;c=c+p|0;d=d+4|0;if((o|0)!=(d|0)){continue}break}}if(!u){break e}o=i<<2;while(1){N[n+T(d,12)>>2]=c;d=d+1|0;c=c+o|0;l=l+1|0;if((u|0)!=(l|0)){continue}break}}f:{if(!i){break f}l=i&7;d=e+t|0;g:{if(i-1>>>0<7){c=0;break g}e=i&-8;c=0;while(1){N[g+T(c,24)>>2]=d;N[g+T(c|1,24)>>2]=d+5;N[g+T(c|2,24)>>2]=d+10;N[g+T(c|3,24)>>2]=d+15;N[g+T(c|4,24)>>2]=d+20;N[g+T(c|5,24)>>2]=d+25;N[g+T(c|6,24)>>2]=d+30;N[g+T(c|7,24)>>2]=d+35;d=d+40|0;c=c+8|0;if((e|0)!=(c|0)){continue}break}}if(!l){break f}while(1){N[g+T(c,24)>>2]=d;c=c+1|0;d=d+5|0;v=v+1|0;if((l|0)!=(v|0)){continue}break}}d=P[j+28>>1]+w|0;e=N[f+20>>2];h:{if(e){c=85;if(!(Qa[e|0](f,d,0,0)|0)){break h}break a}c=85;if(d>>>0>Q[f+4>>2]){break a}}N[f+8>>2]=d;i:{j:{k:{if(!i){d=0;break k}d=N[h+12>>2];e=0;while(1){c=rb(f,27264,j+4|0);if(c){break a}c=N[j+4>>2];N[d+16>>2]=c;N[d+4>>2]=N[j+8>>2];N[d+8>>2]=N[j+12>>2];N[d+12>>2]=N[j+16>>2];N[d+20>>2]=P[j+22>>1];L[N[d>>2]]=c>>>24;L[N[d>>2]+1|0]=P[d+18>>1];L[N[d>>2]+2|0]=N[d+16>>2]>>>8;L[N[d>>2]+3|0]=N[d+16>>2];L[N[d>>2]+4|0]=0;M[k>>1]=P[j+20>>1];c=N[d+8>>2];if(!((c|0)>=N[d+4>>2]&(c|0)<=N[d+12>>2])){N[d+12>>2]=c;N[d+4>>2]=c}k=k+2|0;d=d+24|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}d=0;if((q|0)<0){c=6;break c}if(!q){break k}c=10;if((q|0)>536870911){break c}d=Qa[N[r+4>>2]](r,t)|0;if(!d|(q|0)<=0){break j}C(d,0,t)}c=N[a+736>>2];N[c+20>>2]=d;break i}c=N[a+736>>2];N[c+20>>2]=d;if(d){break i}c=!d<<6;break a}g=P[j+34>>1];if(g){if(!O[c+24|0]){d=N[f+8>>2];Wm(a);e=N[f+20>>2];l:{if(e){c=85;if(!(Qa[e|0](f,d,0,0)|0)){break l}break a}c=85;if(d>>>0>Q[f+4>>2]){break a}}N[f+8>>2]=d;c=N[a+736>>2]}u=i<<2;w=u+(m?6:4)|0;p=g>>>0<=1?1:g;l=N[h+16>>2];k=N[c+20>>2];o=0;while(1){c=Bb(f,w);if(c){break a}e=0;n=N[f+36>>2];c=N[f+32>>2];if(n>>>0>c+1>>>0){e=O[c+1|0]|O[c|0]<<8;c=c+2|0}N[l+4>>2]=e;d=c+((n>>>0>c+1>>>0)<<1)|0;N[f+32>>2]=d;if(i){c=N[l>>2];e=0;while(1){m:{if(n>>>0<=d+3>>>0){v=0;break m}q=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);v=q<<24|(q&65280)<<8|(q>>>8&65280|q>>>24);d=d+4|0}N[f+32>>2]=d;N[c>>2]=v;c=c+4|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}n:{if(!m){c=65535;break n}c=0;if(d+1>>>0>>0){c=O[d+1|0]|O[d|0]<<8;d=d+2|0}N[f+32>>2]=d}N[l+8>>2]=c;Vm(N[a+736>>2],i,N[l>>2],k);if(N[f+20>>2]){c=N[f>>2];if(c){d=N[f+28>>2];Qa[N[d+8>>2]](d,c)}N[f>>2]=0}k=k+u|0;N[f+32>>2]=0;N[f+36>>2]=0;l=l+12|0;o=o+1|0;if((p|0)!=(o|0)){continue}break}c=g}else{c=0}o:{if((c|0)==(s|0)){break o}c=17;d=N[a+540>>2];if(!(Qa[N[d+164>>2]](a,17,j+4|0,j)|0)){c=2;if(!(Qa[N[d+164>>2]](a,2,j+4|0,j)|0)){break o}}if(!(Qa[N[d+164>>2]](a,6,j+4|0,j)|0)){break o}d=N[h+16>>2]+T(g,12)|0;N[d+8>>2]=6;N[d+4>>2]=c;if(!i){break o}d=N[d>>2];c=N[h+12>>2];if(i-1>>>0>=7){f=i&-8;e=0;while(1){N[d>>2]=N[c+8>>2];N[d+4>>2]=N[c+32>>2];N[d+8>>2]=N[c+56>>2];N[d+12>>2]=N[c+80>>2];N[d+16>>2]=N[c+104>>2];N[d+20>>2]=N[c+128>>2];N[d+24>>2]=N[c+152>>2];N[d+28>>2]=N[c+176>>2];d=d+32|0;c=c+192|0;e=e+8|0;if((f|0)!=(e|0)){continue}break}}f=i&7;if(!f){break o}e=0;while(1){N[d>>2]=N[c+8>>2];d=d+4|0;c=c+24|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}l=0;g=La-16|0;La=g;m=N[a+736>>2];f=N[a+104>>2];k=N[f+28>>2];p:{if(Qa[N[a+516>>2]](a,1297498450,f,g+4|0)|0){break p}d=N[f+8>>2];N[g+8>>2]=0;if(Q[f+4>>2]<=d+1>>>0){break p}q:{r:{c=N[f+20>>2];s:{if(c){if((Qa[c|0](f,d,g+14|0,2)|0)!=2){break p}h=g+14|0;c=N[f+8>>2];break s}c=N[f>>2];if(!c){break r}h=c+d|0;c=d}e=O[h|0]|O[h+1|0]<<8;e=e<<8|e>>>8;break q}c=d;e=0}N[f+8>>2]=c+2;c=c+4|0;h=N[f+20>>2];t:{if(h){if(!(Qa[h|0](f,c,0,0)|0)){break t}break p}if(c>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=c;if((e&65535)!=1){break p}c=Qa[N[k+4>>2]](k,28)|0;if(c){L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[m+56>>2]=c;c=N[f+8>>2]+4|0;e=N[f+20>>2];u:{if(e){if(!(Qa[e|0](f,c,0,0)|0)){break u}break p}if(c>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=c;N[g+8>>2]=0;c=xb(f,g+8|0);M[N[m+56>>2]>>1]=c;if(N[g+8>>2]){break p}e=xb(f,g+8|0);if(N[g+8>>2]){break p}c=N[f+8>>2];d=Um(N[a+104>>2],N[a+736>>2],d+e|0,N[m+56>>2]+4|0);N[g+8>>2]=d;if(d){break p}e=lb(k,12,0,P[N[m+56>>2]>>1],0,g+8|0);d=N[m+56>>2];N[d+24>>2]=e;if(N[g+8>>2]){break p}e=N[f+20>>2];v:{if(e){if(Qa[e|0](f,c,0,0)|0){break p}d=N[m+56>>2];break v}if(c>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=c;c=Bb(f,P[d>>1]<<3);N[g+8>>2]=c;if(c){break p}k=N[m+56>>2];c=P[k>>1];w:{if(!c){l=1;break w}d=N[k+24>>2];s=d+T(c,12)|0;e=N[f+32>>2];q=N[k+4>>2];n=N[f+36>>2];while(1){c=0;x:{if(n>>>0<=e+3>>>0){h=0;break x}h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);e=e+4|0}N[f+32>>2]=e;N[d>>2]=h;if(n>>>0>e+1>>>0){c=O[e|0]|O[e+1|0]<<8;c=c<<8|c>>>8;e=e+2|0}N[f+32>>2]=e;M[d+4>>1]=c;y:{if(n>>>0<=e+1>>>0){h=0;break y}h=O[e|0]|O[e+1|0]<<8;h=h<<8|h>>>8;e=e+2|0}N[f+32>>2]=e;M[d+6>>1]=h;c=c&65535;if(c>>>0>=q>>>0|Q[N[k+8>>2]+(c<<4)>>2]<=(h&65535)>>>0){break w}d=d+12|0;if(s>>>0>d>>>0){continue}break}l=1}if(N[f+20>>2]){c=N[f>>2];if(c){d=N[f+28>>2];Qa[N[d+8>>2]](d,c)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;if(!l){break p}c=N[m+56>>2];d=P[c>>1];if(d){c=N[c+24>>2];d=c+T(d,12)|0;while(1){e=Xm(a,N[c>>2]);if(e){M[c+8>>1]=P[e>>1]}c=c+12|0;if(d>>>0>c>>>0){continue}break}}N[a+740>>2]=N[a+740>>2]|256;break p}N[m+56>>2]=0}La=g+16|0}if(b){k=0;d=N[N[a+736>>2]+16>>2];z:{if((d|0)<=0){c=6;if(!d){break z}break a}k=Qa[N[r+4>>2]](r,d)|0;if(!k){c=64;break a}C(k,0,d)}a=N[a+736>>2];F(k,N[a+12>>2],N[a+16>>2]);c=(k+z|0)+20|0;g=x+c|0;N[k+16>>2]=g;N[k+12>>2]=c;f=g+y|0;m=N[k+8>>2];A:{if(!m){break A}a=0;d=0;e=f;if(m>>>0>=4){h=m&-4;while(1){N[g+T(d,12)>>2]=e;p=e;e=i<<2;l=p+e|0;N[g+T(d|1,12)>>2]=l;l=e+l|0;N[g+T(d|2,12)>>2]=l;l=e+l|0;N[g+T(d|3,12)>>2]=l;e=e+l|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}m=m&3;if(!m){break A}h=i<<2;while(1){N[g+T(d,12)>>2]=e;d=d+1|0;e=e+h|0;a=a+1|0;if((m|0)!=(a|0)){continue}break}}B:{if(!i){break B}d=f+t|0;if((i|0)!=1){f=i&1;g=i&-2;i=0;while(1){N[c>>2]=d;C:{D:{E:{a=N[c+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break E}if((a|0)!=1936486004){break C}e=9324;break D}e=9465;if((a|0)==2003265652){break D}if((a|0)!=2003072104){break C}e=14033;break D}e=15435}N[c>>2]=e}N[c+24>>2]=d+5;F:{G:{H:{I:{a=N[c+40>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break I}if((a|0)!=1936486004){break F}e=9324;break G}if((a|0)==2003072104){break H}e=9465;if((a|0)==2003265652){break G}break F}e=15435;break G}e=14033}N[c+24>>2]=e}c=c+48|0;d=d+10|0;i=i+2|0;if((g|0)!=(i|0)){continue}break}if(!f){break B}}N[c>>2]=d;J:{K:{L:{a=N[c+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break L}if((a|0)!=1936486004){break B}e=9324;break J}if((a|0)==2003072104){break K}e=9465;if((a|0)==2003265652){break J}break B}e=15435;break J}e=14033}N[c>>2]=e}N[b>>2]=k}c=0;break a}N[N[a+736>>2]+20>>2]=0}La=j+48|0;return c|0}function BE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;k=N[c+80>>2];m=31;h=1;a=0;b=0;n=N[c+68>>2];if(!n){break b}f=0;break a}ba(22778,14165,169,12138);B()}f=1}while(1){c:{d:{e:{if(!f){a=O[m+259984|0]==10?b:a;d=m<<1;e=M[d+258944>>1]+257504|0;f=L[m+259232|0];m=O[(k+T(b,20)|0)+18|0];i=O[d+257216|0];if(m>>>0>=i>>>0){f=m>>>0>O[d+257217|0]?f:m-i|0}f=O[e+f|0];break e}if((m|0)==31){break d}b=n;f=M[(m<<1)+259696>>1]-1|0}m=O[f+259376|0];f=L[f+259536|0];f:{if(!f){break f}g:{h:{switch(f-1|0){case 1:g=b+1|0;break f;case 10:g=b+1|0;i:{if(g>>>0<=a>>>0){break i}i=k+3|0;e=h<<4|5;d=a;j=g-d&7;if(j){f=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(b-a>>>0<=6){break i}while(1){f=i+T(d,20)|0;L[f+32|0]=e;L[f+12|0]=e;L[f+52|0]=e;L[f+72|0]=e;L[f+92|0]=e;L[f+112|0]=e;L[f+132|0]=e;L[f+152|0]=e;f=d+7|0;d=d+8|0;if((b|0)!=(f|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 12:f=b-1|0;j:{if(a>>>0>=b>>>0){break j}i=k+3|0;e=h<<4;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break j}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 13:f=b-1|0;k:{if(a>>>0>=b>>>0){break k}i=k+3|0;e=h<<4|1;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break k}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 16:f=b-1|0;l:{if(a>>>0>=b>>>0){break l}i=k+3|0;e=h<<4|2;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break l}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 18:f=b-1|0;m:{if(a>>>0>=b>>>0){break m}i=k+3|0;e=h<<4|3;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break m}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 14:f=b-1|0;n:{if(a>>>0>=b>>>0){break n}i=k+3|0;e=h<<4|4;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break n}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 15:f=b-1|0;o:{if(a>>>0>=b>>>0){break o}i=k+3|0;e=h<<4|5;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break o}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 0:b=g-1|0;p:{if(a>>>0>=g>>>0){break p}i=k+3|0;e=h<<4;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break p}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 2:b=g-1|0;q:{if(a>>>0>=g>>>0){break q}i=k+3|0;e=h<<4|1;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break q}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 6:b=g-1|0;r:{if(a>>>0>=g>>>0){break r}i=k+3|0;e=h<<4|2;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break r}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 7:b=g-1|0;s:{if(a>>>0>=g>>>0){break s}i=k+3|0;e=h<<4|3;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break s}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 3:b=g-1|0;t:{if(a>>>0>=g>>>0){break t}i=k+3|0;e=h<<4|4;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break t}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;f=h+1|0;h=(f|0)==16?1:f;break f;case 5:u:{switch(l-1|0){case 0:b=g-1|0;v:{if(a>>>0>=g>>>0){break v}l=k+3|0;e=h<<4;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break v}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}l=1;f=h+1|0;h=(f|0)==16?1:f;break f;case 4:b=g-1|0;w:{if(a>>>0>=g>>>0){break w}l=k+3|0;e=h<<4|4;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break w}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;f=h+1|0;h=(f|0)==16?1:f;l=5;break f;case 5:break u;default:break f}}b=g-1|0;x:{if(a>>>0>=g>>>0){break x}l=k+3|0;e=h<<4|5;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break x}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break g;case 17:l=1;g=b+1|0;break f;case 4:g=b+1|0;l=5;break f;case 11:break h;default:break f}}g=b+1|0}l=6}a=O[m+260128|0]!=9?a:0;b=b+1|0;if((n|0)!=(b|0)){break c}f=1;continue}n=N[c+68>>2];if(n){a=n-1|0;k=N[c+80>>2];e=k+3|0;b=0;f=O[k+15|0];while(1){y:{if((a|0)==(b|0)){b=n;break y}b=b+1|0;if((f|0)==O[(e+T(b,20)|0)+12|0]){continue}}break}a=0;while(1){d=N[c+68>>2];f=b;l=d>>>0>>0?d:f;i=l-a|0;z:{if(i>>>0<2){break z}g=N[c+144>>2]|32;N[c+144>>2]=g;if(a>>>0>=l>>>0){break z}b=-1;m=a;j=l+(a^-1)|0;if(j>>>0>=3){p=i&-4;d=0;while(1){h=k+T(m,20)|0;o=N[h+8>>2];b=b>>>0>>0?b:o;o=N[h+28>>2];b=b>>>0>>0?b:o;o=N[h+48>>2];b=b>>>0>>0?b:o;h=N[h+68>>2];b=b>>>0>>0?b:h;m=m+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}h=0;d=i&3;if(d){while(1){p=N[(k+T(m,20)|0)+8>>2];b=b>>>0

>>0?b:p;m=m+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(i&1){d=k+T(a,20)|0;if(N[d+8>>2]!=(b|0)){N[d+4>>2]=N[d+4>>2]|3}a=a+1|0}if(!j){break z}while(1){d=k+T(a,20)|0;if(N[d+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=k+T(a+1|0,20)|0;if(N[d+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}a=f+1|0;a=a>>>0>>0?n:a;d=a-1|0;g=O[(e+T(f,20)|0)+12|0];b=f;while(1){A:{if((b|0)==(d|0)){b=a;break A}b=b+1|0;if((g|0)==O[(e+T(b,20)|0)+12|0]){continue}}break}a=f;if(f>>>0>>0){continue}break}}return 0}f=0;continue}}function rm(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;l=La-48|0;La=l;f=c+d|0;g=N[b+20>>2];a:{b:{if(g){d=85;if(!(Qa[g|0](b,f,0,0)|0)){break b}break a}d=85;if(f>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=f;d=Bb(b,e);if(d){break a}c:{d:{if(!e){break d}g=N[b+32>>2];h=g+e|0;d=L[g|0];j=d&255;if((d|0)<0){p=N[a+16>>2];r=N[a+28>>2];N[l>>2]=0;d=8;if((e|0)<=0){break c}f=g+1|0;k=N[r>>2];e:{if(!(j&64)){e=f;break e}if(e>>>0<2){break c}e=g+2|0;f=O[f|0];if(!f){break e}while(1){i=e+2|0;if(i>>>0>h>>>0){break c}e=i+O[e|0]|0;if(h>>>0>>0){break c}f=f-1|0;if(f){continue}break}}q=j&63;f=q+p|0;g=N[a+20>>2];f:{if(f>>>0<=g>>>0){f=N[a+24>>2];break f}i=f+3&-4;if(i>>>0>64){break c}f=lb(k,24,g,i,N[a+24>>2],l);N[a+24>>2]=f;d=N[l>>2];if(d){break c}N[a+20>>2]=i}if(q){f=T(p,24)+f|0;d=8;while(1){g=e+1|0;if(h>>>0>>0){break c}j=O[e|0];N[f>>2]=65536;if(j&16){g=e+3|0;if(h>>>0>>0){break c}e=O[e+1|0]|O[e+2|0]<<8;N[f>>2]=(e<<8|e>>>8)<<16>>16<<4}N[f+4>>2]=65536;g:{if(!(j&32)){e=g;break g}e=g+2|0;if(h>>>0>>0){break c}i=O[g|0]|O[g+1|0]<<8;N[f+4>>2]=(i<<8|i>>>8)<<16>>16<<4}k=0;g=0;h:{i:{switch((j&3)-1|0){case 0:i=e+2|0;if(i>>>0>h>>>0){break c}e=O[e|0]|O[e+1|0]<<8;g=(e<<8|e>>>8)<<16>>16;e=i;break h;case 1:break i;default:break h}}i=e+1|0;if(i>>>0>h>>>0){break c}g=L[e|0];e=i}j:{k:{switch((j>>>2&3)-1|0){case 0:i=e+2|0;if(i>>>0>h>>>0){break c}e=O[e|0]|O[e+1|0]<<8;k=(e<<8|e>>>8)<<16>>16;e=i;break j;case 1:break k;default:break j}}i=e+1|0;if(i>>>0>h>>>0){break c}k=L[e|0];e=i}N[f+12>>2]=k;N[f+8>>2]=g;l:{if(j&64){g=e+2|0;if(h>>>0>>0){break c}e=O[e+1|0]|O[e|0]<<8;break l}g=e+1|0;if(h>>>0>>0){break c}e=O[e|0]}N[f+20>>2]=e;m:{if(j<<24>>24<0){e=g+3|0;if(h>>>0>>0){break c}k=2;i=O[g+1|0]<<8|O[g|0]<<16;break m}e=g+2|0;if(h>>>0>>0){break c}k=1;i=O[g|0]<<8}N[f+16>>2]=i|O[g+k|0];N[a+16>>2]=N[a+16>>2]+1;f=f+24|0;m=m+1|0;if((q|0)!=(m|0)){continue}break}}if(N[b+20>>2]){d=N[b>>2];if(d){e=N[b+28>>2];Qa[N[e+8>>2]](e,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;d=0;e=N[a+16>>2];if((e|0)==(p|0)){break a}w=e-p|0;i=P[r+22>>1];q=N[a+24>>2];k=0;while(1){f=T(k,24);e=T(p,24);d=f+(e+q|0)|0;d=rm(a,b,c,N[d+16>>2],N[d+20>>2]);if(d){break a}h=i<<16>>16;i=M[r+22>>1];j=i-h|0;q=N[a+24>>2];f=f+(e+q|0)|0;o=N[f>>2];n:{if(!((o|0)==65536&N[f+4>>2]==65536)){if((j|0)<=0){break n}d=o>>31;m=(d^o)-d|0;x=m&65535;y=m>>>16|0;z=m>>>8|0;u=N[f+4>>2];d=u>>31;s=(d^u)-d|0;A=s&65535;B=s>>>16|0;C=s>>>8|0;d=N[r+24>>2]+(h<<3)|0;e=N[f+12>>2];g=N[f+8>>2];f=0;while(1){t=N[d>>2];h=t>>31;h=(h^t)-h|0;o:{if(h+z>>>0<=8190){n=T(h,m)+32768>>>16|0;break o}n=h&65535;n=T(n,y)+T(m,h>>>16|0)+(T(n,x)+32768>>>16)|0}h=n;v=0-h|0;h=t>>31|1;N[d>>2]=((((o|0)<0?0-h|0:h)|0)<0?v:n)+g;t=N[d+4>>2];h=t>>31;h=(h^t)-h|0;p:{if(h+C>>>0<=8190){n=T(h,s)+32768>>>16|0;break p}n=h&65535;n=T(n,B)+T(s,h>>>16|0)+(T(n,A)+32768>>>16)|0}h=n;v=0-h|0;h=t>>31|1;N[d+4>>2]=((((u|0)<0?0-h|0:h)|0)<0?v:n)+e;d=d+8|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}break n}if((j|0)<=0){break n}d=N[r+24>>2]+(h<<3)|0;e=N[f+12>>2];g=N[f+8>>2];if((h^-1)+i>>>0>=3){h=j&-4;f=0;while(1){N[d>>2]=g+N[d>>2];N[d+4>>2]=e+N[d+4>>2];N[d+8>>2]=g+N[d+8>>2];N[d+16>>2]=g+N[d+16>>2];N[d+24>>2]=g+N[d+24>>2];N[d+12>>2]=e+N[d+12>>2];N[d+20>>2]=e+N[d+20>>2];N[d+28>>2]=e+N[d+28>>2];d=d+32|0;f=f+4|0;if((h|0)!=(f|0)){continue}break}}f=0;j=j&3;if(!j){break n}while(1){N[d>>2]=g+N[d>>2];N[d+4>>2]=e+N[d+4>>2];d=d+8|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}d=0;k=k+1|0;if((w|0)!=(k|0)){continue}break}break a}N[l+44>>2]=0;d=8;if((e|0)<=0){break c}k=N[N[a+28>>2]>>2];q:{if(j&4){if(e>>>0<2){break c}f=g+2|0;c=O[g+1|0];r=c>>>4|0;p=c&15;break q}if(j&2){if(e>>>0<2){break c}p=O[g+1|0];c=g+2|0}else{c=g+1|0}if(!(j&1)){f=c;break q}f=c+1|0;if(h>>>0>>0){break c}r=O[c|0]}g=p+r|0;c=N[a+4>>2];r:{s:{if(g>>>0>c>>>0){d=c;c=g+7&1016;m=lb(k,4,d,c,N[a+8>>2],l+44|0);N[a+8>>2]=m;d=N[l+44>>2];if(d){break c}N[a+4>>2]=c;N[a+12>>2]=(p<<2)+m;q=a+12|0;break s}m=N[a+8>>2];N[a+12>>2]=m+(p<<2);q=a+12|0;if(!g){break r}}c=0;d=0;while(1){t:{if(d&7){e=f;break t}e=f+1|0;if(h>>>0>>0){break d}c=O[f|0]}n=(d<<2)+m|0;u:{if(c&1){f=e+2|0;if(h>>>0>>0){break d}e=O[e|0]|O[e+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;break u}f=e+1|0;if(h>>>0>>0){break d}i=O[e|0]+i|0}N[n>>2]=i;c=c>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;v:{if(!(j&8)){e=f;break v}e=f+1|0;if(h>>>0>>0){break c}c=O[f|0];if(c){while(1){f=e+2|0;if(f>>>0>h>>>0){break c}e=f+O[e|0]|0;if(h>>>0>>0){break c}c=c-1|0;if(c){continue}break}}N[l+44>>2]=0}L[a+32|0]=0;N[l+24>>2]=0;N[l+28>>2]=0;N[l>>2]=0;N[l+4>>2]=0;m=l+16|0;s=l|8;i=0;f=0;while(1){c=e+1|0;if(h>>>0>>0){break d}j=O[e|0];e=j&15;d=l;k=1;g=0;w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{o=j>>>4|0;switch(o|0){case 0:break y;case 1:case 4:case 5:break z;case 7:break B;case 6:break C;case 3:break E;case 2:break F;default:break A}}if(e>>>0>=p>>>0){break d}N[l>>2]=N[N[a+8>>2]+(e<<2)>>2];break D}if(e>>>0>=r>>>0){break d}N[l>>2]=f;i=N[N[q>>2]+(e<<2)>>2]}N[l+4>>2]=i;i=N[l+4>>2];f=N[l>>2];N[l+24>>2]=f;N[l+28>>2]=i;break w}e=2958;k=3;break z}e=3627;k=3;break z}k=4}while(1){G:{H:{switch(e&3){case 0:j=c+1|0;if(j>>>0>h>>>0){break d}c=O[c|0];if(c>>>0>=p>>>0){break d}f=N[N[a+8>>2]+(c<<2)>>2];c=j;break G;case 1:j=c+2|0;if(j>>>0>h>>>0){break d}c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=j;break G;case 2:break H;default:break G}}j=c+1|0;if(j>>>0>h>>>0){break d}f=L[c|0]+f|0;c=j}N[d>>2]=f;I:{J:{switch(e>>>2&3){case 0:f=c+1|0;if(f>>>0>h>>>0){break d}c=O[c|0];if(c>>>0>=r>>>0){break d}i=N[N[q>>2]+(c<<2)>>2];c=f;break I;case 1:f=c+2|0;if(f>>>0>h>>>0){break d}c=O[c|0]|O[c+1|0]<<8;i=(c<<8|c>>>8)<<16>>16;c=f;break I;case 2:break J;default:break I}}f=c+1|0;if(f>>>0>h>>>0){break d}i=L[c|0]+i|0;c=f}N[d+4>>2]=i;K:{if(!((k|0)!=4|g)){f=c+1|0;if(f>>>0>h>>>0){break d}e=O[c|0];k=3;c=f;break K}e=e>>>4|0}i=N[d+4>>2];f=N[d>>2];N[l+24>>2]=f;N[l+28>>2]=i;d=d+8|0;g=g+1|0;if(k>>>0>g>>>0){continue}break}L:{switch(o|0){case 4:case 5:e=N[a+28>>2];M:{if(!O[a+32|0]){break M}j=M[e+58>>1];d=j-1|0;g=P[e+56>>1];k=g<<16>>16;if((k|0)<=0){g=0}else{g=M[(N[e+68>>2]+(g<<1)|0)-2>>1]}N:{if((d|0)<=(g|0)){break N}o=N[e+60>>2];u=o+(g<<3)|0;o=o+(d<<3)|0;if(N[u>>2]!=N[o>>2]|N[u+4>>2]!=N[o+4>>2]){break N}M[e+58>>1]=j-1;d=j-2|0}if((d|0)<(g|0)){break M}M[e+56>>1]=k+1;M[N[e+68>>2]+(k<<1)>>1]=d}L[a+32|0]=1;d=M[e+58>>1];g=(d+M[e+22>>1]|0)+1|0;k=N[e+4>>2];if(!(g>>>0<=k>>>0&Q[e+8>>2]>=(M[e+20>>1]+M[e+56>>1]|0)+1>>>0)){d=Sb(e,1,1);if(d){break x}if(!O[a+32|0]){d=8;break x}e=N[a+28>>2];d=M[e+58>>1];g=(d+M[e+22>>1]|0)+1|0;k=N[e+4>>2]}if(g>>>0>k>>>0){d=Sb(e,1,0);if(d){break x}d=M[e+58>>1]}j=N[l+4>>2];g=N[e+60>>2]+(d<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=j;L[N[e- -64>>2]+d|0]=1;M[e+58>>1]=P[e+58>>1]+1;d=0;break x;case 1:case 2:case 3:break w;case 0:break y;default:break L}}if(O[a+32|0]){d=N[a+28>>2];e=M[d+58>>1];O:{if(Q[d+4>>2]<(M[d+22>>1]+e|0)+3>>>0){e=Sb(d,3,0);if(e){break O}e=M[d+58>>1]}j=N[d- -64>>2];k=N[l+4>>2];g=N[d+60>>2]+(e<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=k;k=N[s+4>>2];N[g+8>>2]=N[s>>2];N[g+12>>2]=k;k=N[m+4>>2];N[g+16>>2]=N[m>>2];N[g+20>>2]=k;e=e+j|0;L[e+2|0]=1;L[e|0]=2;L[e+1|0]=2;M[d+58>>1]=P[d+58>>1]+3;e=0}d=e}else{d=8}break x}e=N[a+28>>2];if(O[a+32|0]){f=M[e+58>>1];d=f-1|0;c=P[e+56>>1];i=c<<16>>16;if((i|0)<=0){c=0}else{c=M[(N[e+68>>2]+(c<<1)|0)-2>>1]}P:{if((d|0)<=(c|0)){break P}g=N[e+60>>2];j=g+(c<<3)|0;g=g+(d<<3)|0;if(N[j>>2]!=N[g>>2]|N[j+4>>2]!=N[g+4>>2]){break P}M[e+58>>1]=f-1;d=f-2|0}if((c|0)<=(d|0)){M[e+56>>1]=i+1;M[N[e+68>>2]+(i<<1)>>1]=d}L[a+32|0]=0}af(e);d=0;break c}N[l+44>>2]=d;e=c;if(!d){continue}break c}e=c;Q:{if(!O[a+32|0]){d=8;break Q}c=N[a+28>>2];d=M[c+58>>1];if((d+M[c+22>>1]|0)+1>>>0>Q[c+4>>2]){d=Sb(c,1,0);if(d){break Q}d=M[c+58>>1]}j=N[l+4>>2];g=N[c+60>>2]+(d<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=j;L[N[c- -64>>2]+d|0]=1;M[c+58>>1]=P[c+58>>1]+1;d=0}N[l+44>>2]=d;if(!d){continue}break}break c}d=8}if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}La=l+48|0;return d}function xo(a,b,c,d,e){var 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,t=0,u=0;k=La-48|0;La=k;if(!(a&1)){o=a;a=N[a>>2]}q=a>>>1&32767;f=a>>>16|0;N[k+40>>2]=0;N[k+44>>2]=0;a:{if(!b){break a}a=N[b>>2];if(!a){break a}l=N[c>>2];if(!l){break a}r=q+441617|0;s=f+441617|0;m=O[q+441616|0];n=O[f+441616|0];t=N[147600];N[147600]=581216;b:{c:{while(1){d:{f=O[a|0];i=f<<24>>24;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{j=n&255;switch(j-192|0){case 40:break m;case 32:break o;case 24:case 25:break q;case 26:break r;case 18:break s;case 16:break t;case 17:break u;case 11:break v;case 10:case 12:break w;case 1:case 2:case 4:case 5:break x;case 0:case 3:break z;case 6:break A;case 7:break B;case 8:break C;default:break l}}g=1;if((i|0)>=0){break g}h=25;g=fo(k+36|0,a,l,k+40|0);switch(g+2|0){case 0:break j;case 1:break c;default:break k}}g=1;if((i|0)>=0){break g}break d}if(l>>>0<4){break j}f=N[a>>2];break y}if(l>>>0<4){break j}f=eo(a,j)}h=25;if(f>>>0>1114111){break c}g=4;if((f&-2048)!=55296){break g}break c}if(l>>>0<2){break j}h=25;f=j&1;f=O[f+a|0]<<8|O[!f+a|0];i=f&64512;if((i|0)!=55296){g=2;if((i|0)!=56320){break g}break c}if((j&254)==196){break c}if(l>>>0<4){break j}g=j&1;a=a+2|0;a=(O[g+a|0]<<8|O[a+!g|0])-56320|0;if(a>>>0>1023){break c}f=(a+(f<<10)|0)-56557568|0;g=4;break g}g=0;n=N[o+4>>2];if(n){break e}if(l>>>0<2){break j}f=O[a+1|0]|O[a|0]<<8;a=(f|0)==65534;n=(j|0)==204?a?197:196:a?193:194;N[o+4>>2]=n;g=a?2:((f|0)==65279)<<1;break e}g=0;n=N[o+4>>2];if(n){break e}if(l>>>0<4){break j}a=eo(a,0);f=(a|0)==-131072;n=f?195:192;N[o+4>>2]=n;g=f?4:((a|0)==65279)<<2;break e}g=1;if((i|0)>=0){break g}if(f-161>>>0<=62){f=f+65216|0;break g}if(l>>>0<2){break j}g=O[a+1|0];a=f-129|0;if(a>>>0>=31){if((f&240)!=224){break d}a=f-193|0}i=a<<1;a=g+-64|0;D:{if(a>>>0<=94){if((g|0)==127){break d}a=a+(g<<24>>31)|0;break D}a=g-159|0;f=a>>>0<94;i=f|i;a=f?a:g}f=P[(T(i,188)+(a<<1)|0)+504752>>1];break h}g=1;if((i|0)>=0){break g}if(l>>>0<2){break j}a=O[a+1|0];if((i|0)==-114){if(a-224>>>0<4294967233){break d}f=a+65216|0;g=2;break g}h=25;f=f-161|0;if(f>>>0>83){break c}a=a-161|0;if(a>>>0>93){break c}f=P[(T(f,188)+(a<<1)|0)+504752>>1];break n}h=25;if((i|0)<0){break c}if((i|0)==27){if(l>>>0<3){break j}E:{f=O[a+1|0];switch(f-36|0){case 0:case 4:break E;default:break c}}F:{G:{H:{I:{J:{a=O[a+2|0]+(((f|0)==36)<<7)|0;switch(a-73|0){case 0:break H;case 1:break I;default:break J}}K:{switch(a-192|0){case 1:break c;case 2:break F;case 0:break G;default:break K}}if((a|0)!=66){break c}N[o+4>>2]=0;break i}N[o+4>>2]=1;break i}N[o+4>>2]=4;break i}N[o+4>>2]=2;break i}g=3;N[o+4>>2]=3;n=210;break e}g=1;L:{switch(N[o+4>>2]-1|0){case 0:a=(i|0)==92?165:f;f=(a|0)==126?8254:a;break g;case 1:case 2:if(l>>>0<2){break j}f=f-33|0;if(f>>>0>83){break c}a=O[a+1|0]-33|0;if(a>>>0>93){break c}f=P[(T(f,188)+(a<<1)|0)+504752>>1];break n;case 3:break L;default:break g}}if(f-96>>>0<31){break c}f=f-33>>>0<94?f+65344|0:f;break g}g=1;if((i|0)>=0){break g}if(i>>>0<4294967201){break d}break p}g=1;if((i|0)>=0){break g}}h=25;g=f-129|0;if(g>>>0>125){break c}if(l>>>0<2){break j}f=O[a+1|0];if((j|0)==218&f>>>0<=160){break c}M:{if((f|0)!=127){i=f+-64|0;if(i>>>0<191){break M}}if((j|0)!=216|f-58>>>0<4294967286){break c}if(l>>>0<4){break j}i=O[a+2|0]-129|0;if(i>>>0>126){break c}a=O[a+3|0]-48|0;if(a>>>0>9){break c}f=(a+(T(f+T(g,10)|0,1260)+T(i,10)|0)|0)-60352|0;h=0;while(1){g=f-h|0;j=0;i=0;while(1){a=0;while(1){i=(g>>>0>=P[(T(j,380)+(a<<1)|0)+446512>>1]-h>>>0)+i|0;a=a+1|0;if((a|0)!=190){continue}break}j=j+1|0;if((j|0)!=126){continue}break}g=4;h=f+1|0;f=f+i|0;if(h>>>0<=f>>>0){continue}break}break g}f=P[(T(g,380)+((i>>>0>63?f-65|0:i)<<1)|0)+446512>>1];g=2;break g}g=1;if((i|0)>=0){break g}if(l>>>0<2){break j}h=25;a=O[a+1|0];g=a+-64|0;if(g>>>0>190|a-127>>>0<34){break c}a=g>>>0>62?a-98|0:g;g=f-161|0;if(g>>>0>=89){g=f-135|0;if(g>>>0>119){break c}a=a+T(i>>>0<4294967201?g:f-224|0,157)|0;g=P[(a<<1)+494400>>1];f=g|P[(a>>>3&536870910)+504134>>1]>>>(a&15)<<17&131072;if((f&196352)!=56320){break n}a=k+28|0;N[k+24>>2]=a;f=ki(21381);N[k+16>>2]=4;N[k+20>>2]=(g&255)+7721;N[k+12>>2]=8;f=xo(q<<1|f<<16|1,k+20|0,k+16|0,k+24|0,k+12|0);g=N[e>>2];a=N[k+24>>2]-a|0;if(g>>>0>>0){break f}h=N[d>>2];Pc(h,k+28|0,a);N[d>>2]=a+h;N[e>>2]=g-a;p=((f|0)!=0)+p|0;n=224;g=2;break e}f=P[(T(g,314)+(a<<1)|0)+520544>>1];N:{O:{if((g|0)!=39){break O}i=131072;P:{switch(a-58|0){case 0:case 2:break N;case 1:break O;default:break P}}if((a|0)==66){break N}}i=0}f=f|i}g=2;if(f){break g}break c}g=1;if((i|0)>=0){break g}if(l>>>0<2){break j}a=O[a+1|0];Q:{j=f-161|0;if(j>>>0<=92){g=a-161|0;if(g>>>0<94){break Q}}h=25;f=f-129|0;if(f>>>0>92|a>>>0>82&f>>>0>=69){break c}i=a-65|0;R:{if(i>>>0<26){break R}if(a-97>>>0<=25){i=a-71|0;break R}if(a-129>>>0>125){break c}i=a-77|0}h=44032;g=2;f=((f>>>0<32?T(f,178):T(j,84)+5696|0)+i|0)+44032|0;if(f>>>0<44032){break g}while(1){u=f-h|0;j=0;i=0;while(1){a=0;while(1){i=(P[(T(j,188)+(a<<1)|0)+548496>>1]-h>>>0<=u>>>0)+i|0;a=a+1|0;if((a|0)!=94){continue}break}j=j+1|0;if((j|0)!=93){continue}break}h=f+1|0;f=f+i|0;if(h>>>0<=f>>>0){continue}break}break g}f=P[(T(j,188)+(g<<1)|0)+548496>>1];break h}g=1;if(!i){f=0;break g}f=ji(s,f);if(!f){break d}break g}f=N[k+36>>2];break g}h=28;break c}n=210;g=3;break e}g=2;if(!f){break d}}S:{T:{U:{V:{W:{switch(m-192|0){case 6:a=N[e>>2];if(a>>>0<4){break f}h=N[d>>2];N[h>>2]=f;N[d>>2]=h+4;N[e>>2]=a-4;m=198;break e;case 8:h=N[e>>2];X:{if(h>>>0<=3){a=og(k+28|0,f);if(h>>>0>>0){break f}j=N[d>>2];Pc(j,k+28|0,a);break X}j=N[d>>2];a=og(j,f)}N[d>>2]=a+j;N[e>>2]=h-a;m=200;break e;case 7:if(f>>>0<128){break V}break U;case 17:if(f>>>0<128){break S}Y:{if((f|0)!=8254){if((f|0)!=165){break Y}p=p+1|0;f=92;break S}p=p+1|0;f=126;break S}if(f-65377>>>0<=62){f=f-65216|0;break S}a=ii(f);if(!a){break U}h=N[e>>2];if(h>>>0<2){break f}f=N[d>>2];L[f|0]=((a>>>8|0)+1>>>1|0)+(a>>>0<24320?112:176);N[d>>2]=f+2;i=f;f=a&255;L[i+1|0]=a&256?(((f>>>0)/96|0)+f|0)+31|0:f+126|0;N[e>>2]=h-2;m=209;break e;case 16:if(f>>>0<128){break S}Z:{if(f-65377>>>0<=62){a=f-61760|0;break Z}a=ii(f);if(!a){break U}}h=N[e>>2];if(h>>>0<2){break f}f=N[d>>2];L[f|0]=a>>>8^128;N[d>>2]=f+2;L[f+1|0]=a^128;N[e>>2]=h-2;m=208;break e;case 18:if(f>>>0<128){break S}if(!(!((f|0)==8254|f-65377>>>0<63)&(f|0)!=165)){h=N[e>>2];if(h>>>0<7){break f}a=N[d>>2];L[a|0]=27;L[a+1|0]=40;_:{$:{if((f|0)!=8254){if((f|0)!=165){break $}L[a+2|0]=74;L[a+3|0]=92;break _}L[a+2|0]=74;L[a+3|0]=126;break _}L[a+2|0]=73;L[a+3|0]=f+-64}L[a+4|0]=27;L[a+5|0]=40;N[d>>2]=a+7;L[a+6|0]=66;N[e>>2]=h-7;m=210;break e}h=ii(f);if(!h){break U}f=N[e>>2];if(f>>>0<8){break f}a=N[d>>2];L[a+5|0]=27;L[a+6|0]=40;L[a+4|0]=h;L[a+3|0]=h>>>8;L[a+2|0]=66;L[a|0]=27;L[a+1|0]=36;N[d>>2]=a+8;L[a+7|0]=66;N[e>>2]=f-8;m=210;break e;case 12:m=196;case 1:case 2:case 4:case 5:case 10:if(!((m&254)!=196&f>>>0>=65536)){h=N[e>>2];if(h>>>0<2){break f}i=m&1;a=N[d>>2];f=f>>>0>65535?65533:f;L[i+a|0]=f>>>8;L[a+!i|0]=f;N[d>>2]=a+2;N[e>>2]=h-2;break e}i=N[e>>2];if(i>>>0<4){break f}a=m&1;h=N[d>>2];j=f-65536>>>10|55296;L[a+h|0]=j>>>8;L[h+!a|0]=j;j=h+2|0;f=f&1023|56320;L[j+a|0]=f>>>8;L[j+!a|0]=f;N[d>>2]=h+4;N[e>>2]=i-4;break e;case 11:m=192;break;case 0:case 3:break W;default:break V}}i=N[e>>2];if(i>>>0<4){break f}h=m&3;a=N[d>>2];L[h+a|0]=f>>>24;L[a+(h^1)|0]=f>>>16;L[a+(h^2)|0]=f>>>8;L[a+(h^3)|0]=f;N[d>>2]=a+4;N[e>>2]=i-4;break e}a=1;break T}a=0}while(1){if(!a){p=p+1|0;f=42;a=1;continue}if(!N[e>>2]){break f}if(f>>>0<=255){if((ji(r,f)|0)==(f|0)){break S}}if(m>>>0<=63){a=m<<2;h=a>>>0<=255?255:a;while(1){if((ji(r,a)|0)==(f|0)){f=a;break S}i=(a|0)==(h|0);a=a+1|0;if(!i){continue}break}}a=0;continue}}a=N[e>>2];if(!a){break f}h=N[d>>2];N[d>>2]=h+1;L[h|0]=f;N[e>>2]=a-1;break e}h=1;break c}a=N[b>>2]+g|0;N[b>>2]=a;l=l-g|0;N[c>>2]=l;if(l){continue}break b}break}h=25}N[147316]=h;p=-1}N[147600]=t}La=k+48|0;return p}function Ge(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0;g=La-1104|0;La=g;a:{b:{c:{d:{e:{f:{g:{k=N[b+68>>2];h:{if(!k){e=1;break h}N[b+144>>2]=0;L[b+61|0]=0;M[b+140>>1]=0;i:{if(k>>>0>67108863){break i}e=k<<6;N[b+148>>2]=e>>>0<=16384?16384:e;if(k>>>0>4194303){break i}e=k<<10;N[b+152>>2]=e>>>0<=16384?16384:e}if(O[b+16|0]&32){m=db(1,172);j:{if(!m){m=588184;break j}N[m+148>>2]=1073741823;N[m+152>>2]=536870911;N[m>>2]=1;N[m+4>>2]=1;k=Ic();k:{if(!k){break k}e=N[k>>2];if(!e){break k}if((e|0)<=0){break b}N[k>>2]=e+1}L[m+60|0]=1;N[m+24>>2]=65533;N[m+12>>2]=k}Ld(m,b,0,-1)}s=b+40|0;D=N[a+84>>2];o=N[a+88>>2];x=N[a+24>>2];l:{if(N[x>>2]>0){u=g+108|0;while(1){k=N[x+208>>2];if(!pq(g+80|0,0,x,s,c,d,o,D)){f=275552;break l}if(k){t=N[g+116>>2];z=N[g+100>>2];A=N[g+104>>2];w=N[g+96>>2];y=N[g+92>>2];v=N[g+88>>2];q=N[g+84>>2];p=N[g+80>>2];e=k;while(1){m:{f=N[e>>2];if(N[f+16>>2]!=(p|0)|N[f+20>>2]!=(q|0)|(N[f+24>>2]!=(v|0)|N[f+28>>2]!=(y|0))){break m}if((w|0)!=N[f+32>>2]|(A|0)!=N[f+40>>2]){break m}if(A){n=N[f+36>>2];if(N[n>>2]!=N[z>>2]){break m}r=0;i=0;if(N[n+4>>2]!=N[z+4>>2]){break m}while(1){n:{o:{p:{l=i<<4;h=l+n|0;if(!N[h+8>>2]){j=N[h+12>>2];h=l+z|0;if(!N[h+8>>2]){break p}if((j|0)!=-1){break o}break n}h=l+z|0;if(N[h+8>>2]|N[h+12>>2]!=-1){break o}break n}if((j|0)==-1^N[h+12>>2]==-1){break n}}i=i+1|0;r=A>>>0<=i>>>0;if((i|0)==(A|0)){break n}h=i<<4;j=h+n|0;h=h+z|0;if(N[j>>2]!=N[h>>2]){break n}if(N[j+4>>2]==N[h+4>>2]){continue}}break}if(!r){break m}}if(Mb(f+44|0,u,8)|(t|0)!=N[f+52>>2]){break m}e=N[f>>2];if(!e){break l}if((e|0)>0){N[f>>2]=e+1;break l}break b}e=N[e+4>>2];if(e){continue}break}}f=oq(x,s,c,d,o,D);e=db(1,8);if(!e){break l}N[e+4>>2]=k;N[e>>2]=f;if((k|0)==N[x+208>>2]){N[x+208>>2]=e;if(!f){f=0;break l}e=N[f>>2];if(!e){break l}if((e|0)<=0){break b}N[f>>2]=e+1;break l}pj(f);_a(e);if(N[x>>2]>0){continue}break}}f=oq(x,s,c,d,o,D)}q:{r:{if(!N[b+68>>2]){break r}if(!N[b+4>>2]){break g}i=1;if(N[b+36>>2]!=1){break a}k=0;if(N[f>>2]<=0){break q}if(N[f+12>>2]!=N[a+24>>2]){break f}if(N[f+16>>2]!=N[s>>2]|N[f+20>>2]!=N[b+44>>2]|(N[f+24>>2]!=N[b+48>>2]|N[f+28>>2]!=N[b+52>>2])){break e}if(N[f+32>>2]!=N[b+56>>2]){break e}e=N[f+52>>2];if((e|0)==290){if(!N[a+112>>2]){if(!N[a+108>>2]){break q}N[a+112>>2]=1}sq(f,a,b,c,d);break r}if((e|0)!=291){break q}if(!N[a+116>>2]){if(!N[a+108>>2]){break q}N[a+116>>2]=1}qq(e,a,b,e,e)}k=1;i=0;if(N[b+36>>2]!=1){break q}N[b+36>>2]=2}if(N[b+152>>2]<=0){L[b+61|0]=1}pj(f);s:{if(!m){e=k;break s}e=0;t:{if(i){break t}if(!O[b+60|0]){e=k;break t}if(O[b+61|0]){e=k;break t}if(!O[m+60|0]){e=k;break t}p=1;e=1;i=N[b+20>>2];u:{if(i>>>0>1){break u}v=N[b+68>>2];if(v>>>0>=2){q=N[b+80>>2];f=N[q+8>>2];j=(N[b+40>>2]&-3)==4;v:{while(1){h=f;f=N[(q+T(e,20)|0)+8>>2];if(!((h|0)!=(f|0)&!(j^f>>>0<=h>>>0))){e=e+1|0;if((v|0)!=(e|0)){continue}break v}break}p=0;Zd(b,a,22206,0);i=N[b+20>>2]}e=1;if(i>>>0>1){break u}}f=We(b);if(N[f+4>>2]){N[f+16>>2]=N[f+16>>2]&-33}l=We(b);if(N[l+4>>2]){N[l+16>>2]=N[l+16>>2]&-33}w=N[b+68>>2];w:{if(w-1>>>0<=4294967293){y=N[m+80>>2];t=N[b+80>>2];u=(N[b+40>>2]&-3)!=4;v=u?-1:0;r=1;j=N[m+68>>2];e=u?j:0;i=e;while(1){x:{if(r>>>0>>0){h=t+T(r,20)|0;if(L[(t+T(r+v|0,20)|0)+4|0]&1|N[h+8>>2]==N[h-12>>2]){break x}}y:{if((r|0)==(w|0)){e=u?0:e;i=u?i:j;break y}if(!u){if(i>>>0>=j>>>0){break y}h=N[(t+T(r,20)|0)+8>>2];while(1){if(h>>>0<=Q[(y+T(i,20)|0)+8>>2]){break y}i=i+1|0;if((j|0)!=(i|0)){continue}break}i=j;break y}q=N[(t+T(r,20)|0)-12>>2];while(1){h=e;if(!e){e=0;break y}e=h-1|0;if(q>>>0<=Q[(y+T(e,20)|0)+8>>2]){continue}break}e=h}if(e>>>0>=i>>>0){break d}if(N[f+4>>2]){N[f+36>>2]=0;N[f+40>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;L[f+60|0]=1;L[f+68|0]=0;L[f+69|0]=0;L[f+70|0]=0;L[f+71|0]=0;L[f+72|0]=0;L[f+73|0]=0;L[f+74|0]=0;L[f+75|0]=0;L[f+61|0]=0;L[f+62|0]=0;L[f+63|0]=0;L[f+64|0]=0;L[f+65|0]=0;L[f+66|0]=0;L[f+67|0]=0;L[f+68|0]=0;N[f+144>>2]=0;N[f+84>>2]=N[f+80>>2];M[f+140>>1]=0;N[f+132>>2]=0;N[f+136>>2]=0;N[f+124>>2]=0;N[f+128>>2]=0;N[f+116>>2]=0;N[f+120>>2]=0;N[f+108>>2]=0;N[f+112>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;h=N[f+16>>2];h=e?h&-2:h;N[f+16>>2]=i>>>0>>0?h&-3:h}Ld(f,m,e,i);if(!Ge(a,f,c,d)){Zd(b,a,22058,0);e=0;break w}if(!(O[f+61|0]?0:O[f+60|0])){dc(l);dc(f);e=1;break u}Ld(l,f,0,-1);i=u?e:i;e=i}r=r+1|0;if(r>>>0>>0){continue}break}}e=vl(l,b)&-65;if(e){Zd(b,a,22305,0);if(N[b+4>>2]){N[b+132>>2]=0;N[b+136>>2]=0;N[b+36>>2]=0;N[b+68>>2]=0}Ld(b,l,0,-1)}e=!e}dc(l);dc(f)}w=e&p;z:{if(O[b+16|0]&64){r=1;if(Q[b+20>>2]<=1){o=We(b);N[g+72>>2]=o;n=We(b);N[g+76>>2]=n;if(N[o+4>>2]){N[o+16>>2]=N[o+16>>2]&-33}if(N[n+4>>2]){N[n+16>>2]=N[n+16>>2]&-33}l=We(b);if(N[l+4>>2]){N[l+16>>2]=N[l+16>>2]&-33}N[g+96>>2]=N[s+16>>2];e=N[s+12>>2];N[g+88>>2]=N[s+8>>2];N[g+92>>2]=e;e=N[s+4>>2];N[g+80>>2]=N[s>>2];N[g+84>>2]=e;if(N[o+4>>2]){f=N[s+8>>2];j=N[s+12>>2];h=N[s>>2];e=N[s+4>>2];N[o+56>>2]=N[s+16>>2];N[o+48>>2]=f;N[o+52>>2]=j;N[o+40>>2]=h;N[o+44>>2]=e}if(N[n+4>>2]){e=N[g+84>>2];N[n+40>>2]=N[g+80>>2];N[n+44>>2]=e;N[n+56>>2]=N[g+96>>2];e=N[g+92>>2];N[n+48>>2]=N[g+88>>2];N[n+52>>2]=e}if(N[l+4>>2]){e=N[g+84>>2];N[l+40>>2]=N[g+80>>2];N[l+44>>2]=e;N[l+56>>2]=N[g+96>>2];e=N[g+92>>2];N[l+48>>2]=N[g+88>>2];N[l+52>>2]=e}q=N[m+80>>2];j=N[m+68>>2];v=N[b+80>>2];u=N[b+68>>2];y=N[b+40>>2]&-3;if((y|0)!=4){Ve(b)}if(u-1>>>0<4294967294){f=1;t=0;e=0;p=0;while(1){A:{if(f>>>0>>0){h=v+T(f,20)|0;if(N[h+8>>2]==N[h-12>>2]|O[h+4|0]&2){break A}}h=j;B:{if((f|0)==(u|0)){break B}h=e;if(e>>>0>=j>>>0){break B}i=N[(v+T(f,20)|0)+8>>2];while(1){h=e;if(i>>>0<=Q[(q+T(e,20)|0)+8>>2]){break B}e=e+1|0;if((j|0)!=(e|0)){continue}break}h=j}if(h>>>0<=p>>>0){break c}Ld(N[(g+72|0)+(t<<2)>>2],m,p,h);t=1-t|0;p=h;e=h}f=f+1|0;if(f>>>0>>0){continue}break}}C:{if(!Ge(a,o,c,d)){r=0;Zd(b,a,22058,0);break C}if(O[o+61|0]|!O[o+60|0]){break C}if(!Ge(a,n,c,d)){r=0;Zd(b,a,22058,0);break C}if(O[n+61|0]|!O[n+60|0]){break C}if((y|0)!=4){Ve(o);Ve(n)}N[g+64>>2]=0;N[g+68>>2]=0;v=N[o+68>>2];N[g+56>>2]=v;N[g+48>>2]=N[o+80>>2];q=N[n+68>>2];N[g+60>>2]=q;N[g+52>>2]=N[n+80>>2];if(q|v){d=0;while(1){t=d<<2;p=t+(g- -64|0)|0;i=N[p>>2];e=i+1|0;c=N[t+(g+56|0)>>2];D:{if(e>>>0>=c>>>0){break D}j=N[t+(g+48|0)>>2];f=N[(j+T(i,20)|0)+8>>2];while(1){s=f;h=j+T(e,20)|0;f=N[h+8>>2];if((s|0)!=(f|0)&!(O[h+4|0]&2)){break D}e=e+1|0;if((c|0)!=(e|0)){continue}break}e=c}Ld(l,N[t+(g+72|0)>>2],i,e);N[p>>2]=e;d=1-d|0;if(v>>>0>Q[g+64>>2]|q>>>0>Q[g+68>>2]){continue}break}}if((y|0)!=4){Ve(b);Ve(l)}if(!(vl(l,b)&-65)){break C}r=0;Zd(b,a,22254,0);if(N[b+4>>2]){N[b+132>>2]=0;N[b+136>>2]=0;N[b+36>>2]=0;N[b+68>>2]=0}Ld(b,l,0,-1)}dc(l);dc(o);dc(n)}e=k;if(!(r&w)){break z}break t}e=k;if(w){break t}}d=0;c=N[m+68>>2];e=T(c,10)+16|0;k=(e|0)>0;p=k?e:0;E:{if(k){while(1){d=((d>>>1|0)+d|0)+8|0;if(p>>>0>=d>>>0){continue}break}d=kb(d);if(!d){d=0;break E}C(d,0,p);e=N[m+68>>2];L[d|0]=0;c=c>>>0>e>>>0?e:c}e=N[m+36>>2];if(e|N[m+68>>2]?(e|0)!=1:0){break a}F:{if(!c){break F}h=N[m+80>>2];L[g+80|0]=60;N[g+32>>2]=N[h>>2];q=g+80|1;e=Ne(q,1023,19054,g+32|0);e=((e|0)>0?e:0)+q|0;k=c-1|0;if(!k){L[e|0]=62;e=e+1|0}j=e-(g+80|0)|0;if(j>>>0>=p>>>0){break F}if((g+80|0)!=(e|0)){F(d,g+80|0,j)}i=d+j|0;L[i|0]=0;f=1;if((c|0)==1){break F}p=p-j|0;while(1){L[g+80|0]=124;N[g+16>>2]=N[h+T(f,20)>>2];e=Ne(q,1023,19054,g+16|0);e=q+((e|0)>0?e:0)|0;if((f|0)==(k|0)){L[e|0]=62;e=e+1|0}j=e-(g+80|0)|0;if(j>>>0>=p>>>0){break F}if((g+80|0)!=(e|0)){F(i,g+80|0,j)}i=i+j|0;L[i|0]=0;p=p-j|0;f=f+1|0;if((f|0)!=(c|0)){continue}break}}N[g>>2]=d;Zd(b,a,22118,g)}_a(d);e=0}dc(m)}M[b+140>>1]=0;N[b+148>>2]=1073741823;N[b+152>>2]=536870911}La=g+1104|0;return e}ba(22880,17868,402,13371);B()}ba(16467,17868,409,13371);B()}ba(22811,17868,410,13371);B()}ba(16634,17802,150,13830);B()}ba(16634,17802,292,9714);B()}ba(23506,14099,260,16403);B()}ba(24107,14165,530,16333);B()}function LA(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0;h=La+-64|0;La=h;i=O[a+48|0];a:{if(!(N[a+536>>2]|!i)){e=8;break a}b:{c:{d:{e:{f:{g:{e=N[a+540>>2];d=N[e>>2];if(!d){g=N[a>>2];N[e+4>>2]=355;d=Qa[N[g+4>>2]](g,552)|0;if(!d){break g}C(d,0,552);N[N[a+540>>2]>>2]=d;N[d>>2]=g;if(!i){N[d+548>>2]=N[N[a+532>>2]+3088>>2]}e=d+168|0;N[e>>2]=0;N[e+4>>2]=0;N[d+160>>2]=0;N[d+164>>2]=0;N[d+152>>2]=0;N[d+156>>2]=0;N[d+144>>2]=356;N[d+148>>2]=357;N[d+168>>2]=d+4;N[d+164>>2]=g;N[d+156>>2]=358}N[d+176>>2]=a;N[d+172>>2]=a;e=N[a+4>>2];k=L[N[e+128>>2]+56|0];g=N[e+96>>2];p=O[g+32|0];N[h+16>>2]=0;N[h+20>>2]=0;N[h+24>>2]=0;N[h+40>>2]=b;N[h+28>>2]=0;N[h+36>>2]=b?b+c|0:0;N[h+32>>2]=b;N[h+8>>2]=0;N[h+12>>2]=0;b=N[a+8>>2];j=O[b+161|0];o=O[b+160|0];h:{if(!o){c=1024;b=1024;break h}c=(N[b+168>>2]+32|0)/64|0;b=(N[b+164>>2]+32|0)/64|0}N[h+16>>2]=c;N[h+4>>2]=b;f=i?f:O[e+732|0];L[d+8|0]=i;L[d+9|0]=f;e=(o|0)!=0;N[d+12>>2]=e;if(!(!j|(p|(k|0)>=0?k:0))){N[d+12>>2]=e|2}N[d+188>>2]=N[g+36>>2];N[d+192>>2]=N[g+40>>2];N[d+196>>2]=N[g+44>>2];N[d+200>>2]=N[g+48>>2];N[d+204>>2]=N[g+52>>2];N[d+208>>2]=N[g+56>>2];N[d+212>>2]=N[g+60>>2];N[d+216>>2]=N[g- -64>>2];f=N[a+4>>2];g=P[f+68>>1];N[d+132>>2]=g;if(j){e=36;if((b|0)<=0|(c|0)<=0){break a}e=164;if(g<<16>>16<0){break a}l=b;b=fb(131072e3,g<<16);if((l|0)>(b|0)|(b|0)<(c|0)){break a}}N[h+48>>2]=0;N[h+52>>2]=0;e=0;N[h+44>>2]=0;j=N[d+140>>2];g=N[d+136>>2];N[h+60>>2]=0;N[h+56>>2]=0;N[d+4>>2]=0;b=N[a+536>>2];if((b|0)!=N[d+180>>2]){N[d+180>>2]=b;e=1}if(!(!N[N[a+532>>2]+3112>>2]|i)){c=N[d+548>>2];f=Qa[N[N[f+548>>2]+40>>2]](f,h+60|0,0,h+56|0,0)|0;N[d+4>>2]=f;if(f){break c}if(Qa[N[c+12>>2]](b+556|0,N[b+548>>2],N[h+60>>2],N[h+56>>2])|0){Qa[N[c+4>>2]](N[a+532>>2],b,N[h+60>>2],N[h+56>>2])|0;e=1}c=N[b+560>>2];L[d+93|0]=0;N[d+96>>2]=c;N[d+120>>2]=N[b+548>>2];N[d+124>>2]=N[h+60>>2];N[d+128>>2]=N[h+56>>2];f=N[a+4>>2]}f=P[N[f+88>>2]+14>>1]<<16;if((f|0)!=N[d+88>>2]){N[d+88>>2]=f;e=1}b=N[d+12>>2];L[d+184|0]=b&1;i:{j:{k:{if(!Mb(h+4|0,d+16|0,16)){p=d+186|0;b=b&2;i=O[d+186|0];if((b|0)!=(i|0)){break k}if(e){break j}break i}c=N[h+8>>2];N[d+16>>2]=N[h+4>>2];N[d+20>>2]=c;c=N[h+16>>2];N[d+24>>2]=N[h+12>>2];N[d+28>>2]=c;N[d+32>>2]=0;N[d+36>>2]=0;c=N[h+8>>2];N[d+40>>2]=N[h+4>>2];N[d+44>>2]=c;c=N[h+16>>2];N[d+48>>2]=N[h+12>>2];N[d+52>>2]=c;c=N[h+24>>2];N[d+56>>2]=N[h+20>>2];N[d+60>>2]=c;N[d+72>>2]=0;N[d+76>>2]=65536;N[d+64>>2]=65536;N[d+68>>2]=0;p=d+186|0;b=b&2;i=O[d+186|0];if((b|0)==(i|0)){break j}}i=b>>>1|0;L[p|0]=i}b=N[d+132>>2];o=b?b:1e3;c=65536e3/(o|0)|0;k=d+188|0;e=(f|0)<=262144?262144:f;f=N[a+536>>2];b=N[f+400>>2]<<16;if((b|0)<=0){b=fb(4915200,c)}N[d+220>>2]=b;l:{if((g|0)>0){a=fb(o<<16,e);N[d+228>>2]=0;if((c|0)<655){break l}a=(a|0)<(g|0)?g:a;if(!a){break l}N[d+228>>2]=(a|0)/2;break l}Vo(c,e,b,d+228|0,0,i,k);f=N[a+536>>2]}b=N[f+396>>2];m:{if(b<<16>0){a=4915200;if(N[d+220>>2]>b<<17){break m}}a=7208960}a=fb(a,c);N[d+224>>2]=a;Vo(c,e,a,d+232|0,j,O[d+186|0],k);a=1;a=N[d+228>>2]?a:N[d+232>>2]!=0;i=0;L[d+236|0]=0;L[d+185|0]=a;a=N[d+176>>2];C(d+244|0,0,304);k=N[d+52>>2];N[d+240>>2]=k;f=N[a+536>>2];g=fb(N[f+384>>2],65536e3);N[d+252>>2]=g;N[d+256>>2]=N[f+388>>2]<<16;N[d+260>>2]=N[f+392>>2]<<16;j=f+192|0;s=O[f+191|0];o=O[f+190|0];r=O[f+189|0];c=O[f+188|0];n:{o:{if(N[f+524>>2]==1){p:{switch(c|0){case 4:if(N[j>>2]<<16>-7864321|N[f+196>>2]<<16>-7864321|(N[f+200>>2]<<16<57671681|N[f+204>>2]<<16<57671681)){break o}break;case 0:break p;default:break o}}N[d+304>>2]=k;N[d+296>>2]=-7864321;N[d+288>>2]=49;g=N[d+232>>2];b=(g<<1)+57671681|0;N[d+276>>2]=b;a=k>>31;a=(a^k)-a|0;c=a>>>16|0;e=c+T(a,120)+((a&32768)+32768>>>16)|0;N[d+300>>2]=(((k|0)<0?e:0-e|0)+32768&-65536)-32768;N[d+268>>2]=50;N[d+284>>2]=k;L[d+249|0]=1;e=b;b=b>>31;b=(e^b)-b|0;q:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break q}e=c;c=b&65535;b=T(e,c)+T(a,b>>>16|0)+(T(c,a&65535)+32768>>>16)|0}a=b;c=0-a|0;a=(g|0)>-28835841?1:-1;N[d+280>>2]=((((k|0)<0?0-a|0:a)|0)<0?c:b)+32768&-65536|32768;break i}b=0;if(!c){break n}}a=N[f+192>>2]<<16;N[d+308>>2]=a;e=N[f+196>>2]<<16;N[d+312>>2]=e;b=0;a=e-a|0;if((a|0)>=0){i=1;N[d+244>>2]=1;N[d+316>>2]=e;L[d+324|0]=1;b=a}e=2;if(c>>>0<=2){break n}while(1){a=T(i,20)+d|0;l=e<<2;m=N[l+j>>2]<<16;N[a+308>>2]=m;l=N[j+(l|4)>>2]<<16;N[a+312>>2]=l;n=l-m|0;if((n|0)>=0){q=l;l=N[d+232>>2]<<1;N[a+312>>2]=q+l;m=m+l|0;N[a+308>>2]=m;N[a+316>>2]=m;L[a+324|0]=0;i=i+1|0;N[d+244>>2]=i;b=(b|0)<(n|0)?n:b}e=e+2|0;if(c>>>0>e>>>0){continue}break}}if(r){c=f+248|0;e=0;while(1){a=T(i,20)+d|0;j=e<<2;m=N[j+c>>2]<<16;N[a+308>>2]=m;j=N[c+(j|4)>>2]<<16;N[a+312>>2]=j;m=j-m|0;if((m|0)>=0){N[a+316>>2]=j;L[a+324|0]=1;i=i+1|0;N[d+244>>2]=i;b=(b|0)<(m|0)?m:b}e=e+2|0;if(r>>>0>e>>>0){continue}break}}r=fb(65536,k);if(i){u=f+344|0;v=f+288|0;m=0;w=o>>>0<3;while(1){a=T(m,20)+d|0;l=a;j=N[a+316>>2];r:{if(O[a+324|0]){a=0;c=2147483647;s:{if(!s){break s}while(1){n=N[(a<<2|4)+u>>2]<<16;q=j-n|0;e=q>>31;t:{e=(e^q)-e|0;if((e|0)>=(c|0)|(e|0)>=(r|0)){break t}N[l+316>>2]=n;c=e;if((j|0)!=(n|0)){break t}c=0;break s}a=a+2|0;if(s>>>0>a>>>0){continue}break}}if(o>>>0<2){break r}e=N[f+292>>2]<<16;j=j-e|0;a=j>>31;a=(a^j)-a|0;if((a|0)>=(c|0)|(a|0)>=(r|0)){break r}N[l+316>>2]=e;break r}if(w){break r}q=N[d+232>>2]<<1;a=2;c=2147483647;while(1){n=(N[(a<<2)+v>>2]<<16)+q|0;t=j-n|0;e=t>>31;e=(e^t)-e|0;if(!((e|0)>=(c|0)|(e|0)>=(r|0))){N[l+316>>2]=n;c=e;if((j|0)==(n|0)){break r}}a=a+2|0;if(o>>>0>a>>>0){continue}break}}m=m+1|0;if((m|0)!=(i|0)){continue}break}}u:{if((b|0)<=0){break u}a=fb(65536,b);if((a|0)>=(g|0)){break u}N[d+252>>2]=a;g=a}if((g|0)>(k|0)){L[d+248|0]=1;a=jb(39322,k,g);N[d+264>>2]=(a|0)<6555?32767:39322-a|0}if(O[p|0]){N[d+264>>2]=0}if(!i){break i}f=d+240|0;a=0;while(1){b=T(a,20);c=b+f|0;k=O[c+84|0];l=b+d|0;g=N[c+76>>2];c=g>>31;e=N[d+240>>2];b=e>>31;c=(c^g)-c|0;b=(b^e)-b|0;v:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break v}p=c&65535;c=T(p,b>>>16|0)+T(b,c>>>16|0)+(T(p,b&65535)+32768>>>16)|0}b=c;q=0-b|0;b=g>>31|1;c=(((e|0)<0?0-b|0:b)|0)<0?q:c;b=N[d+264>>2];N[l+320>>2]=(c+(k?0-b|0:b)|0)+32768&-65536;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(N[d+4>>2]){break c}L[d+236|0]=0;N[d+160>>2]=0;b=O[d+185|0];a=N[N[d+172>>2]+12>>2];N[a+20>>2]=0;N[a+48>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];g=N[a+32>>2];c=a- -64|0;N[c>>2]=N[a+28>>2];N[c+4>>2]=g;c=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=c;c=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=c;c=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=c;c=d+144|0;De(d,h+28|0,c,h+48|0,0,0,0,h+44|0);if(N[d+4>>2]){break c}if(!(!b|N[d+160>>2]>=0)){L[d+236|0]=1;N[d+160>>2]=0;a=N[N[d+172>>2]+12>>2];N[a+20>>2]=0;N[a+48>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];g=N[a+32>>2];b=a- -64|0;N[b>>2]=N[a+28>>2];N[b+4>>2]=g;b=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=b;b=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=b;b=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=b;De(d,h+28|0,c,h+48|0,0,0,0,h+44|0);if(N[d+4>>2]){break c}}e=N[d+172>>2];a=N[e+20>>2];if(!a){break d}b=P[a>>1];g=b<<16>>16;if((g|0)>=2){b=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break f}b=0;if(g){break f}c=P[a+2>>1];break e}N[N[a+540>>2]>>2]=0;e=64;break a}c=M[a+2>>1];if((c|0)!=(b|0)){break e}M[a>>1]=g-1;break d}w:{if(c<<16>>16<2){break w}f=N[a+4>>2];i=f+(b<<3)|0;k=c&65535;f=f+(k<<3)|0;if(N[i>>2]!=N[f-8>>2]|N[i+4>>2]!=N[f-4>>2]|O[(k+N[a+8>>2]|0)-1|0]!=1){break w}c=c-1|0;M[a+2>>1]=c}if((g|0)<=0){break d}l=b;b=(c<<16>>16)-1|0;if((l|0)==(b|0)){M[a+2>>1]=c-1;M[a>>1]=g-1;break d}M[(N[a+12>>2]+(g<<1)|0)-2>>1]=b}af(N[e+12>>2]);if(!N[d+4>>2]){break b}}e=3;break a}a=N[h+44>>2];e=0;N[d+4>>2]=0;b=N[d+172>>2];if(O[b+48|0]){break a}N[N[b+544>>2]>>2]=a+32768>>16}La=h- -64|0;return e|0}function Jt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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;f=La-32|0;La=f;o=1;j=N[b+540>>2];a:{if((d|0)<=0){d=0;break a}p=d&3;if(d>>>0<4){c=0}else{g=d&-4;d=0;while(1){i=1;n=h<<3;m=N[n+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}c=d}else{c=1}d=N[(n|8)+e>>2]-1768386662|0;if(d){if((d|0)==13){k=1}i=c}d=1;m=N[(n|16)+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}c=i}else{c=1}i=N[(n|24)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}d=c}h=h+4|0;if((h|0)!=(g|0)){continue}break}c=d}if(!p){break a}while(1){i=N[(g<<3)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}}else{c=1}d=c;g=g+1|0;c=d;l=l+1|0;if((p|0)!=(l|0)){continue}break}}b:{if(N[N[b+128>>2]+52>>2]){break b}e=P[b+152>>1];if(e){c=N[b+156>>2];g=c+(e<<4)|0;e=c;while(1){if(N[e+12>>2]?N[e>>2]==1735162214:0){break b}e=e+16|0;if(g>>>0>e>>>0){continue}break}e=c;while(1){if(N[e+12>>2]?N[e>>2]==1128678944:0){break b}e=e+16|0;if(g>>>0>e>>>0){continue}break}while(1){if(N[c+12>>2]?N[c>>2]==1128678962:0){break b}c=c+16|0;if(g>>>0>c>>>0){continue}break}}o=0}e=1;g=Qa[N[b+516>>2]](b,1935829368,a,0)|0;i=(g|0)!=0&o;c:{d:{e:{if(i){break e}h=N[j+68>>2];if(!h){break e}c=0;h=Qa[h|0](b,a)|0;e=(h|0)!=0;if(!g){break e}if(!h){break d}}g=Qa[N[j+24>>2]](b,a)|0;N[f+28>>2]=g;c=e;if(g){break c}}e=Qa[N[b+516>>2]](b,1128418371,a,0)|0;g=Qa[N[b+516>>2]](b,1128416340,a,0)|0;if((P[b+178>>1]-16385&65535)>>>0<=49166){N[f+28>>2]=8;break c}e=i&((e|0)!=0&(g|0)!=0);Qa[N[j+36>>2]](b,a)|0;Qa[N[j+32>>2]](b,a)|0;Qa[N[j+48>>2]](b,a)|0;i=Qa[N[j+44>>2]](b,a)|0;f:{if(!c){g=e;break f}c=Qa[N[j+28>>2]](b,a,0)|0;N[f+28>>2]=c;g:{h:{i:{if(!c){c=Qa[N[j+92>>2]](b,a,0)|0;N[f+28>>2]=c;if((c&255)!=142){break h}N[f+28>>2]=147;c=N[N[b+128>>2]+52>>2];if(!c){break c}if(N[N[c>>2]+8>>2]){break i}break c}if((c&255)!=142){break c}g=0;if(N[b+148>>2]==1953658213){break g}N[f+28>>2]=143;c=N[N[b+128>>2]+52>>2];if(!c|!N[N[c>>2]+8>>2]){break c}}M[b+250>>1]=0;g=e;break g}g=e;if(c){break c}}e=Qa[N[j+28>>2]](b,a,1)|0;N[f+28>>2]=e;j:{k:{if(e){break k}e=Qa[N[j+92>>2]](b,a,1)|0;N[f+28>>2]=e;if(e){break k}L[b+292|0]=1;break j}if((e&255)!=142){break c}}if(!(Qa[N[j+40>>2]](b,a)|0)){break f}M[b+372>>1]=65535}c=N[j+96>>2];if(c){Qa[c|0](b,a)|0}c=N[j+112>>2];if(c){Qa[c|0](b,a)|0;Qa[N[j+116>>2]](b,a)|0}Qa[N[j+64>>2]](b,a)|0;Qa[N[j+60>>2]](b,a)|0;Qa[N[j+56>>2]](b,a)|0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+16>>2]=P[b+264>>1];a=b+24|0;c=b+20|0;l:{if(!(!(L[b+437|0]&1)|P[b+372>>1]==65535)){m:{if(!(d&255)){d=Vc(b,16,c);N[f+28>>2]=d;if(d){break c}if(N[c>>2]){break m}}c=Vc(b,1,c);N[f+28>>2]=c;if(c){break c}}if(!(k&255)){c=Vc(b,17,a);N[f+28>>2]=c;if(c){break c}}if(N[a>>2]){break l}a=Vc(b,2,a);N[f+28>>2]=a;if(!a){break l}break c}e=Vc(b,21,c);N[f+28>>2]=e;if(e){break c}l=N[c>>2];if(!(l|d&255)){d=Vc(b,16,c);N[f+28>>2]=d;if(d){break c}l=N[c>>2]}if(!l){c=Vc(b,1,c);N[f+28>>2]=c;if(c){break c}}c=Vc(b,22,a);N[f+28>>2]=c;if(c){break c}d=N[a>>2];if(!(d|k&255)){c=Vc(b,17,a);N[f+28>>2]=c;if(c){break c}d=N[a>>2]}if(d){break l}a=Vc(b,2,a);N[f+28>>2]=a;if(a){break c}}d=N[b+8>>2];a=g|(!N[b+872>>2]&(N[b+796>>2]&-2)!=2?d:d|16384);d=a|24;d=i?d:N[b+476>>2]==196608?d:a|536;a=N[b+488>>2]?d|4:d;a=O[b+292|0]?a|32:a;h=N[b+820>>2]?a|64:a;n:{if(!(L[b+740|0]&1)){break n}a=P[b+152>>1];if(!a){break n}d=N[b+156>>2];a=d+(a<<4)|0;e=d;o:{while(1){p:{if(!(!N[e+12>>2]|N[e>>2]!=1735162214)){e=d;while(1){if(N[e+12>>2]?N[e>>2]==1735811442:0){break p}e=e+16|0;if(a>>>0>e>>>0){continue}break}break o}e=e+16|0;if(a>>>0>e>>>0){continue}break o}break}h=h|256}while(1){if(!(N[d+12>>2]?N[d>>2]==1128678962:0)){d=d+16|0;if(a>>>0>d>>>0){continue}break n}break}h=h|256}N[b+8>>2]=h;q:{if(!(!g|P[b+372>>1]==65535)){a=P[b+436>>1];a=a>>>4&2|(a&513)!=0;break q}a=P[b+204>>1];a=(a<<1|(a&2)>>>1)&3}N[b+12>>2]=a|N[b+12>>2];a=La-224|0;La=a;d=kb(40);N[d>>2]=0;h=N[b+508>>2];N[a+216>>2]=h;r:{if(!N[a+216>>2]){break r}c=N[b+512>>2];if(c>>>0<4){break r}N[a+216>>2]=N[a+216>>2]+2;N[a+216>>2]=N[a+216>>2]+2;N[a+220>>2]=O[N[a+216>>2]-1|0]|O[N[a+216>>2]-2|0]<<8;if(!N[a+220>>2]){break r}g=4;k=c+h|0;while(1){if(k>>>0>2]+8>>>0){break r}N[a+216>>2]=N[a+216>>2]+2;c=O[N[a+216>>2]-2|0];e=O[N[a+216>>2]-1|0];N[a+216>>2]=N[a+216>>2]+2;M[a+212>>1]=e|c<<8;c=O[N[a+216>>2]-2|0];e=O[N[a+216>>2]-1|0];N[a+216>>2]=N[a+216>>2]+4;N[a+204>>2]=b;N[a+208>>2]=0;M[a+214>>1]=e|c<<8;c=O[N[a+216>>2]-1|0]|(O[N[a+216>>2]-3|0]<<16|O[N[a+216>>2]-4|0]<<24|O[N[a+216>>2]-2|0]<<8);if(!(!c|c>>>0>N[b+512>>2]-2>>>0)){N[a+200>>2]=c+h;c=N[a+200>>2];N[a+196>>2]=O[c+1|0]|O[c|0]<<8;N[a+192>>2]=178304;s:{if(!N[N[a+192>>2]>>2]){break s}while(1){t:{N[a+188>>2]=N[N[a+192>>2]>>2];if(N[N[a+188>>2]+40>>2]==N[a+196>>2]){c=0;N[a+8>>2]=0;N[a+168>>2]=N[a+200>>2];N[a+172>>2]=k;N[a+176>>2]=0;N[a+180>>2]=0;N[a+184>>2]=P[b+264>>1];d=Lh(a+12|0,1,d,g);g=Ma;while(1){u:{v:{w:{if(!c){c=N[N[a+188>>2]+44>>2];N[147441]=0;l=xa(c|0,N[a+200>>2],a+12|0)|0;c=N[147441];N[147441]=0;e=-1;x:{if(!c){break x}i=N[147442];if(!i){break x}e=Kh(N[c>>2],d,g);if(!e){break w}Ma=i}c=Ma;if((e|0)==1){continue}N[a+8>>2]=l}if(N[a+180>>2]){break s}N[147441]=0;l=wa(186,N[a+188>>2],N[a+200>>2],a+204|0,a+4|0)|0;c=N[147441];N[147441]=0;e=-1;if(!c){break u}i=N[147442];if(!i){break u}e=Kh(N[c>>2],d,g);if(e){break v}}_a(d);pe(c,i);B()}Ma=i}c=Ma;if((e|0)==1){continue}break}break t}N[a+192>>2]=N[a+192>>2]+4;if(N[N[a+192>>2]>>2]){continue}break s}break}if(l){break s}N[N[a+4>>2]+20>>2]=N[a+8>>2]}}N[a+220>>2]=N[a+220>>2]-1;if(N[a+220>>2]){continue}break}}_a(d);La=a+224|0;e=N[b+36>>2];y:{if((e|0)>0){i=N[b+40>>2];k=1;d=0;while(1){c=N[i+(d<<2)>>2];a=P[c+10>>1];g=178352;z:{A:{B:{C:{switch(P[c+8>>1]){case 0:g=178364;break B;case 1:if(a){break A}g=178376;break B;case 2:break B;case 3:break C;default:break A}}if(!(1151>>>a&1)|a>>>0>=11){break A}g=N[(a<<2)+179376>>2]}a=N[g+8>>2];N[c+4>>2]=a;if((a|0)!=1937337698&(a|0)!=1970170211){break z}k=0;d=d+1|0;if((e|0)!=(d|0)){continue}break y}N[c+4>>2]=0}d=d+1|0;if((e|0)!=(d|0)){continue}break}if(!(k&1)){break y}}if(!(O[b+9|0]&2)){break y}N[f>>2]=b;N[f+4>>2]=1970170211;N[f+8>>2]=65539;a=Bc(177852,0,f,0);N[f+28>>2]=a;D:{if(!a){break D}a=a&255;if((a|0)==163){break D}if((a|0)!=7){break c}}N[f+28>>2]=0}a=N[b+800>>2];E:{if(!a){break E}e=N[N[b+104>>2]+28>>2];k=P[b+178>>1];if(!k|P[b+372>>1]==65535){k=1;c=1}else{c=P[b+374>>1]}q=b,r=lb(e,16,0,a,0,f+28|0),N[q+32>>2]=r;if(N[f+28>>2]){break c}g=lb(e,4,0,a,0,f+28|0);if(N[f+28>>2]){break c}l=k>>>1|0;n=c<<16>>16;h=0;d=0;while(1){c=N[b+32>>2];o=Qa[N[j+108>>2]](b,d,f)|0;F:{if(o){break F}c=c+(h<<4)|0;M[c>>1]=N[f+20>>2]>>>6;i=P[f>>1];N[c+8>>2]=i<<6;M[c+2>>1]=(l+T(i,n)|0)/(k|0);p=P[f+2>>1];m=p<<6;N[c+4>>2]=m;N[c+12>>2]=m;if(!i|!p){break F}N[g+(h<<2)>>2]=d;h=h+1|0}d=d+1|0;if((a|0)!=(d|0)){continue}break}N[f+28>>2]=o;a=lb(e,4,a,h,g,f+28|0);if(!h){break E}N[b+804>>2]=a;N[b+28>>2]=h;N[b+8>>2]=N[b+8>>2]|2}d=N[b+8>>2];if(!(d&3)){d=d|1;N[b+8>>2]=d}if(!(d&1)){break c}M[b+68>>1]=P[b+178>>1];N[b+52>>2]=M[b+196>>1];N[b+56>>2]=M[b+198>>1];N[b+60>>2]=M[b+200>>1];N[b- -64>>2]=M[b+202>>1];d=P[b+372>>1]==65535;G:{if(!(d|!(O[b+436|0]&128))){a=P[b+442>>1];M[b+70>>1]=a;c=P[b+444>>1];M[b+72>>1]=c;M[b+74>>1]=P[b+446>>1]+(a-c|0);break G}a=P[b+220>>1];M[b+70>>1]=a;c=P[b+222>>1];M[b+72>>1]=c;M[b+74>>1]=P[b+224>>1]+(a-c|0);if(c|(a|d)){break G}a=P[b+442>>1];c=P[b+444>>1];if(a|c){M[b+72>>1]=c;M[b+70>>1]=a;M[b+74>>1]=P[b+446>>1]+(a-c|0);break G}a=P[b+448>>1];M[b+70>>1]=a;c=a;a=P[b+450>>1];M[b+74>>1]=c+a;M[b+72>>1]=0-a}M[b+76>>1]=P[b+226>>1];M[b+78>>1]=P[(O[b+292|0]?306:74)+b>>1];a=M[b+486>>1];M[b+82>>1]=a;M[b+80>>1]=P[b+484>>1]+((a|0)/-2|0)}La=f+32|0;return N[f+28>>2]}function kf(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=La-80|0;La=h;p=N[a>>2];a:{if(f){break a}j=N[a+4>>2];if(O[j+12|0]){break a}g=N[d>>2];N[h+68>>2]=0;N[h+72>>2]=0;N[h+60>>2]=0;N[h+64>>2]=0;N[h+52>>2]=0;N[h+56>>2]=0;N[h+48>>2]=g;kf(j,b,c,h+48|0,e,1)}b:{c:{d:{if(O[d+4|0]){break d}j=N[c+16>>2]+N[b+16>>2]|0;e:{if(j>>>0>=97){b=N[d>>2];if(!b|N[b>>2]){break e}N[b>>2]=18;break e}N[d+8>>2]=j;M[d+4>>1]=257;N[d+12>>2]=j+7>>>3;if(!j){break d}c=0;j=-1<<(0-j&7);while(1){L[(c+d|0)+16|0]=255;c=c+1|0;g=N[d+12>>2];if(c>>>0>>0){continue}break}c=d+g|0;L[c+15|0]=j&O[c+15|0];if(O[d+4|0]){break d}}if(!O[p+8|0]){break b}N[N[d>>2]>>2]=0;a=a+13|0;break c}N[a+20>>2]=0;N[a+24>>2]=0;N[h+72>>2]=N[d+24>>2];j=N[d+20>>2];u=h- -64|0;c=u;N[c>>2]=N[d+16>>2];N[c+4>>2]=j;c=N[d+12>>2];N[h+56>>2]=N[d+8>>2];N[h+60>>2]=c;c=N[d+4>>2];N[h+48>>2]=N[d>>2];N[h+52>>2]=c;v=N[b+16>>2];if(v>>>0>Q[d+8>>2]){break b}if(O[p+249|0]){N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;c=h+24|0;jf(a,p+288|0,c);jf(a,c,p+268|0)}f:{g:{if(v){o=u;r=128;j=0;while(1){h:{if(!(O[o|0]&r)){break h}c=N[a+16>>2];N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;g=j;m=g>>>0>2];i:{if(m){break i}g=0;i=N[b+4>>2];if(!i|N[i>>2]){break i}N[i>>2]=130}j:{k:{s=N[b+24>>2];n=N[b+8>>2];g=s+T(n,g)|0;i=N[g+8>>2];l=N[g+4>>2];k=i-l|0;if((k|0)==-1376256){l=1}else{if((k|0)==-1310720){N[h+40>>2]=c;N[h+32>>2]=e;N[h+28>>2]=j;l=0;i=e;break k}i=(k|0)<0?i:l;l=4}N[h+40>>2]=c;N[h+24>>2]=l;N[h+28>>2]=j;i=e+i|0;N[h+32>>2]=i;if(!O[g|0]){break k}q=N[g+12>>2];l=l|16;N[h+24>>2]=l;break j}k=i>>31;k=(k^i)-k|0;g=c>>31;g=(g^c)-g|0;l:{if(k+(g>>>8|0)>>>0<=8190){k=T(g,k)+32768>>>16|0;break l}q=k&65535;k=T(q,g>>>16|0)+T(g,k>>>16|0)+(T(q,g&65535)+32768>>>16)|0}g=k;q=0-g|0;g=i>>31|1;q=(((c|0)<0?0-g|0:g)|0)<0?q:k}N[h+36>>2]=q;c=N[a+16>>2];N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h>>2]=0;N[h+4>>2]=0;g=j;m:{if(m){break m}g=0;k=N[b+4>>2];if(!k|N[k>>2]){break m}N[k>>2]=130}n:{o:{m=s+T(g,n)|0;n=N[m+8>>2];g=N[m+4>>2];k=n-g|0;if((k|0)==-1310720){k=2}else{if((k|0)==-1376256){N[h+16>>2]=c;N[h+8>>2]=e;N[h+4>>2]=j;k=0;g=e;break o}g=(k|0)<0?g:n;k=8}N[h>>2]=k;n=N[p+232>>2];N[h+16>>2]=c;N[h+4>>2]=j;g=(e+g|0)+(n<<1)|0;N[h+8>>2]=g;if(!O[m|0]){break o}n=N[m+16>>2];k=k|16;N[h>>2]=k;break n}n=g>>31;n=(n^g)-n|0;m=c>>31;m=(m^c)-m|0;p:{if(n+(m>>>8|0)>>>0<=8190){n=T(m,n)+32768>>>16|0;break p}s=n&65535;n=T(s,m>>>16|0)+T(m,n>>>16|0)+(T(s,m&65535)+32768>>>16)|0}m=n;s=0-m|0;m=g>>31|1;n=(((c|0)<0?0-m|0:m)|0)<0?s:n}N[h+12>>2]=n;q:{if((k|l)&16){break q}s=N[p+244>>2];if(!s){break h}m=N[p+260>>2];t=k&10;r:{s:{t:{if(!(l&5)){c=0;if(!t){break h}while(1){i=p+T(c,20)|0;u:{if(O[i+324|0]){break u}w=N[i+308>>2];if((w-m|0)>(g|0)){break u}if((m+N[i+312>>2]|0)>=(g|0)){break t}}c=c+1|0;if((s|0)!=(c|0)){continue}break}break h}c=0;if(!t){while(1){g=p+T(c,20)|0;if(!(!O[g+324|0]|(N[g+308>>2]-m|0)>(i|0))){t=N[g+312>>2];if((m+t|0)>=(i|0)){break s}}c=c+1|0;if((s|0)!=(c|0)){continue}break h}}while(1){t=p+T(c,20)|0;w=N[t+308>>2];x=w-m|0;v:{if(O[t+324|0]){if((i|0)<(x|0)){break v}t=N[t+312>>2];if((m+t|0)<(i|0)){break v}break s}if((g|0)<(x|0)){break v}if((m+N[t+312>>2]|0)>=(g|0)){break t}}c=c+1|0;if((s|0)!=(c|0)){continue}break}break h}i=N[(p+T(c,20)|0)+320>>2];w:{if(O[p+248|0]){break w}i=n+32768&-65536;if(N[p+256>>2]>(g-w|0)){break w}c=N[(p+T(c,20)|0)+320>>2]+65536|0;i=(c|0)<(i|0)?i:c}c=i-n|0;if(!l){break r}N[h+24>>2]=l|16;N[h+36>>2]=c+q;break r}g=N[(p+T(c,20)|0)+320>>2];x:{if(O[p+248|0]){break x}g=q+32768&-65536;if(N[p+256>>2]>(t-i|0)){break x}c=N[(p+T(c,20)|0)+320>>2]-65536|0;g=(c|0)>(g|0)?g:c}N[h+24>>2]=l|16;N[h+36>>2]=g;if(!k){break q}c=g-q|0}N[h>>2]=k|16;N[h+12>>2]=c+n}jf(a,h+24|0,h);L[o|0]=O[o|0]&(r^-1)}c=(j&7)==7;r=c?128:r>>>1&127;o=c+o|0;j=j+1|0;if((v|0)!=(j|0)){continue}break}if(f){break g}j=128;c=0;while(1){if(O[u|0]&j){k=N[a+16>>2];N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;i=c;o=c>>>0>2];y:{if(o){break y}i=0;g=N[b+4>>2];if(!g|N[g>>2]){break y}N[g>>2]=130}z:{A:{m=N[b+24>>2];r=N[b+8>>2];l=m+T(r,i)|0;g=N[l+8>>2];q=N[l+4>>2];i=g-q|0;if((i|0)==-1376256){i=1}else{if((i|0)==-1310720){N[h+40>>2]=k;N[h+32>>2]=e;N[h+28>>2]=c;g=e;break A}g=(i|0)<0?g:q;i=4}N[h+40>>2]=k;N[h+24>>2]=i;N[h+28>>2]=c;g=e+g|0;N[h+32>>2]=g;if(!O[l|0]){break A}g=N[l+12>>2];N[h+24>>2]=i|16;N[h+36>>2]=g;break z}l=g>>31;l=(l^g)-l|0;i=k>>31;i=(i^k)-i|0;B:{if(l+(i>>>8|0)>>>0<=8190){i=T(i,l)+32768>>>16|0;break B}q=l&65535;i=T(q,i>>>16|0)+T(i,l>>>16|0)+(T(q,i&65535)+32768>>>16)|0}g=g>>31|1;N[h+36>>2]=(((k|0)<0?0-g|0:g)|0)<0?0-i|0:i}k=N[a+16>>2];N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h>>2]=0;N[h+4>>2]=0;i=c;C:{if(o){break C}i=0;g=N[b+4>>2];if(!g|N[g>>2]){break C}N[g>>2]=130}D:{E:{l=m+T(i,r)|0;o=N[l+8>>2];g=N[l+4>>2];i=o-g|0;if((i|0)==-1310720){i=2}else{if((i|0)==-1376256){N[h+16>>2]=k;N[h+8>>2]=e;N[h+4>>2]=c;g=e;break E}g=(i|0)<0?g:o;i=8}N[h>>2]=i;o=N[p+232>>2];N[h+16>>2]=k;N[h+4>>2]=c;g=(e+g|0)+(o<<1)|0;N[h+8>>2]=g;if(!O[l|0]){break E}g=N[l+16>>2];N[h>>2]=i|16;N[h+12>>2]=g;break D}l=g>>31;l=(l^g)-l|0;i=k>>31;i=(i^k)-i|0;F:{if(l+(i>>>8|0)>>>0<=8190){i=T(i,l)+32768>>>16|0;break F}o=l&65535;i=T(o,i>>>16|0)+T(i,l>>>16|0)+(T(o,i&65535)+32768>>>16)|0}g=g>>31|1;N[h+12>>2]=(((k|0)<0?0-g|0:g)|0)<0?0-i|0:i}jf(a,h+24|0,h)}g=(c&7)==7;j=g?128:j>>>1&127;u=g+u|0;c=c+1|0;if((v|0)!=(c|0)){continue}break}break f}if(!f){break f}}c=N[a+20>>2];if(!(!c|N[a+36>>2]>0)&N[(T(c,20)+a|0)+16>>2]>=0){break f}N[h+36>>2]=0;N[h+28>>2]=0;N[h+32>>2]=0;N[h+24>>2]=49;c=N[a+16>>2];N[h+8>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h>>2]=0;N[h+4>>2]=0;N[h+40>>2]=c;jf(a,h+24|0,h)}r=N[a+8>>2];N[r+16>>2]=0;k=N[a+20>>2];if(k){r=a+28|0;c=0;while(1){u=T(c,20);e=u+r|0;m=e;i=c+1|0;j=N[e>>2];q=j&12;l=q?i:c;s=T(l,20);g=s+r|0;n=g;G:{if(j&16){break G}p=N[e+12>>2];e=p&65535;o=e?65536-e|0:0;v=N[g+12>>2];j=v&65535;g=j?65536-j|0:0;g=g>>>0>o>>>0?o:g;o=(e|0)<(j|0)?e:j;j=0-o|0;H:{I:{if(l>>>0>>0){k=T(l+1|0,20)+a|0;if(N[k+40>>2]<((g+v|0)+32768|0)){break I}}if(!(!c|N[(a+u|0)+20>>2]<=((p-o|0)-32768|0))){j=g;break H}j=g>>>0>o>>>0?j:g;break H}J:{if(c){e=0;if(N[(a+u|0)+20>>2]>((p-o|0)-32768|0)){break J}}e=j;if(g>>>0>=o>>>0){break H}}if(!(O[k+28|0]&16)){N[h+24>>2]=l;N[h+28>>2]=g-e;Oo(N[a+8>>2],h+24|0)}j=e}N[m+12>>2]=j+p;if(!q){break G}N[n+12>>2]=j+v}K:{if(!c){break K}e=a+u|0;j=N[e+36>>2];e=N[e+16>>2];if((j|0)==(e|0)){break K}g=T(c-1|0,20)+a|0;y=g,z=fb(N[m+12>>2]-N[g+40>>2]|0,j-e|0),N[y+44>>2]=z}if(q){c=a+s|0;e=N[c+36>>2];c=N[c+16>>2];if((e|0)!=(c|0)){j=T(l-1|0,20)+a|0;y=j,z=fb(N[n+12>>2]-N[j+40>>2]|0,e-c|0),N[y+44>>2]=z}c=i}c=c+1|0;k=N[a+20>>2];if(c>>>0>>0){continue}break}r=N[a+8>>2]}e=N[r+16>>2];if(e){i=N[r+8>>2];k=N[r+24>>2];c=e;while(1){c=c-1|0;j=c;L:{if(c>>>0>>0){break L}j=0;g=N[r+4>>2];if(!g|N[g>>2]){break L}N[g>>2]=130}g=k+T(i,j)|0;j=T(N[g>>2],20)+a|0;g=N[g+4>>2];l=g+N[j+40>>2]|0;M:{if(N[j+60>>2]<(l+32768|0)){break M}N[j+40>>2]=l;if(!(O[j+28|0]&12)){break M}N[j+20>>2]=g+N[j+20>>2]}if(c){continue}break}}N:{if(f){break N}g=N[a+20>>2];if(!g){break N}c=0;while(1){e=T(c,20)+a|0;f=N[e+28>>2];if(!(f&32)){g=N[e+32>>2];O:{if(g>>>0>2]){break O}g=0;j=N[b+4>>2];if(!j|N[j>>2]){break O}N[j>>2]=130;f=N[e+28>>2]}i=f&10?16:12;f=N[b+24>>2]+T(N[b+8>>2],g)|0;N[i+f>>2]=N[e+40>>2];L[f|0]=1;g=N[a+20>>2]}c=c+1|0;if(g>>>0>c>>>0){continue}break}}L[a+12|0]=1;a=d+5|0}L[a|0]=0}La=h+80|0}function yE(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0;m=La-32|0;La=m;a:{if(N[c+68>>2]){if(ib(c,b,13403,0)){t=N[c+68>>2];if(t){j=t-1|0;i=N[c+80>>2];f=i+3|0;e=O[i+15|0];while(1){b:{if((d|0)==(j|0)){d=t;break b}d=d+1|0;if((e|0)==O[(f+T(d,20)|0)+12|0]){continue}}break}j=0;while(1){q=N[a+112>>2];g=N[q+8>>2];h=d;if(!(!g|j>>>0>=d>>>0)){l=i+2|0;d=j;while(1){f=T(d,20);k=f+i|0;c:{if((g|0)!=N[k>>2]){break c}e=P[k+12>>1];if((e&96)!=96){break c}L[(f+l|0)+16|0]=4;M[k+12>>1]=e&65439}d=d+1|0;if((h|0)!=(d|0)){continue}break}}g=N[q+108>>2];p=(g|0)!=0;d:{e:{f:{g:{if(h>>>0>j>>>0){o=i+3|0;f=j;h:{while(1){d=f+1|0;if(O[(o+T(f,20)|0)+16|0]>=4){i:{if(!g){break i}e=d;if(d>>>0>=h>>>0){break i}while(1){l=T(e,20)+i|0;if(g&N[l+4>>2]){p=1;if((P[l+12>>1]&112)==48){break i}j:{while(1){d=T(e,20)+i|0;if(O[d+12|0]&32|O[d+18|0]!=4){break j}e=e+1|0;if(h>>>0>e>>>0){continue}break}e=h}f=e;L[(T(e,20)+i|0)+19|0]=4;d=e+1|0;p=0;break i}p=1;e=e+1|0;if(h>>>0>e>>>0){continue}break}}k:{if(N[c+44>>2]!=1298954605|d>>>0>=h>>>0){break k}while(1){e=d+1|0;e=e>>>0>>0?h:e;l:{while(1){l=T(d,20)+i|0;if(O[l+12|0]&32){break l}l=O[l+18|0];if(l>>>0>31|!(1<>>0>d>>>0){continue}break}d=e}if((d|0)==(h|0)){break k}e=T(d,20)+i|0;if(O[e+12|0]&32|O[e+18|0]!=4){break k}e=d+1|0;l=(e>>>0>>0?h:e)-1|0;m:{while(1){e=d;d=d+1|0;if(h>>>0<=d>>>0){e=l;break m}k=T(d,20);g=k+i|0;if(O[g+12|0]&32){break m}g=O[g+18|0];n=1<>>0>31;if(!(n&96?g:1)){continue}break}if(!(n&363526)|g){break m}l=k+o|0;if(O[l+16|0]!=8){break m}L[l+16|0]=4;f=d}d=e+2|0;if(h>>>0>d>>>0){continue}break}}if(f>>>0<=j>>>0){break h}f=f-(O[(T(f,20)+i|0)+19|0]>4)|0;break h}f=d;if((d|0)!=(h|0)){continue}break}f=h}n:{if(!((f|0)!=(h|0)|f>>>0<=j>>>0)){f=h;e=f-1|0;d=T(e,20)+i|0;if(O[d+12|0]&32){break n}f=O[d+18|0]==6?e:h}if(f>>>0<=j>>>0|f>>>0>=h>>>0){break n}while(1){d=T(f,20)+i|0;if(O[d+12|0]&32){break n}d=O[d+18|0];if(d>>>0>31|!(1<>>0>>0){continue}break}l=j+1|0;f=j;break e}l=j+1|0;r=l>>>0>=h>>>0;if(r|f>>>0<=j>>>0){break f}d=((f|0)==(h|0)?-2:-1)+f|0;o:{e=N[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break o}n=i+2|0;while(1){e=1;p:{if(d>>>0<=j>>>0){break p}while(1){q:{g=T(d,20)+i|0;if(O[g+12|0]&32){break q}g=O[g+18|0];if(g>>>0>31|!(1<>>0>>0){continue}break}d=j}k=T(d,20);g=k+i|0;if(O[g+12|0]&32|O[g+18|0]!=4|O[(k+o|0)+16|0]==2){break g}g=d+1|0;if(g>>>0>=h>>>0|(O[(n+T(g,20)|0)+16|0]!=6|e)){break o}d=d-1|0;continue}}if(O[(T(d,20)+i|0)+19|0]==2|d>>>0<=j>>>0){break g}e=d;while(1){g=d-1|0;k=T(g,20);if(O[(k+o|0)+16|0]==2){n=i+k|0;N[m+24>>2]=N[n+16>>2];k=N[n+12>>2];N[m+16>>2]=N[n+8>>2];N[m+20>>2]=k;k=N[n+4>>2];N[m+8>>2]=N[n>>2];N[m+12>>2]=k;F(n,T(d,20)+i|0,T(e-g|0,20));k=T(e,20)+i|0;N[k+16>>2]=N[m+24>>2];d=N[m+20>>2];N[k+8>>2]=N[m+16>>2];N[k+12>>2]=d;d=N[m+12>>2];N[k>>2]=N[m+8>>2];N[k+4>>2]=d;f=f-(f>>>0>g>>>0&e>>>0>=f>>>0)|0;d=f+1|0;d=d>>>0>>0?d:h;if(d-e>>>0>=2){Ib(c,e,d)}e=e-1|0}d=g;if(j>>>0>>0){continue}break}break f}l=j+1|0;f=j;break d}e=j;while(1){if(O[(o+T(e,20)|0)+16|0]==2){d=f+1|0;d=d>>>0>>0?d:h;if(d-e>>>0<2){break f}Ib(c,e,d);break e}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(r){break d}}n=T(j,20)+i|0;if(O[n+19|0]!=1|(O[n+18|0]==14|0)==((P[n+12>>1]&96)==32|0)){break d}k=N[N[q>>2]+12>>2];r:{s:{if((k|0)==12){break s}t:{u:{v:{d=l;if(f>>>0>d>>>0){while(1){e=d+1|0;g=T(d,20)+i|0;if(!(O[g+12|0]&32)&O[g+18|0]==4){break v}d=e;if((f|0)!=(d|0)){continue}break}}switch(k-5|0){case 4:break t;case 0:break u;default:break s}}if(e>>>0>=f>>>0){break r}g=T(e,20)+i|0;if(O[g+12|0]&32){break r}k=d;d=O[g+18|0];d=d>>>0<32&(1<>>0>>0?h:d)-1|0;e=f;while(1){w:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break w}if(O[(o+T(e,20)|0)+16|0]<6){continue}}break}if(d>>>0>=h>>>0){break s}break r}d=f+1|0;g=(d>>>0>>0?h:d)-1|0;e=f;while(1){x:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break x}k=O[(o+T(e,20)|0)+16|0];if(k>>>0>31|!(1<>>0>>0){break r}}y:{d=l;if(f>>>0<=d>>>0){break y}while(1){z:{e=d+1|0;g=T(d,20)+i|0;if(!(O[g+12|0]&32)&O[g+18|0]==4){break z}d=e;if((f|0)!=(d|0)){continue}break y}break}if(e>>>0>=f>>>0){break r}g=T(e,20)+i|0;if(O[g+12|0]&32){break r}k=d;d=O[g+18|0];d=d>>>0<32&(1<>>0>j>>>0?j:d;d=h;while(1){A:{d=d-1|0;if(j>>>0>=d>>>0){d=e;break A}if(O[(o+T(d,20)|0)+16|0]==13){continue}}break}if(O[q+5|0]){break r}e=T(d,20)+i|0;if(O[e+12|0]&32|O[e+18|0]!=4){break r}e=f+1|0;if(e>>>0>=d>>>0){break r}g=i+2|0;while(1){k=d;d=O[(T(e,20)+g|0)+16|0];d=k-(d>>>0<32&(1<>>0>e>>>0){continue}break}}e=d+1|0;if(e-j>>>0>=2){Ib(c,j,e)}N[m+24>>2]=N[n+16>>2];e=N[n+12>>2];N[m+16>>2]=N[n+8>>2];N[m+20>>2]=e;e=N[n+4>>2];N[m+8>>2]=N[n>>2];N[m+12>>2]=e;F(n,T(l,20)+i|0,T(d-j|0,20));g=T(d,20)+i|0;N[g+16>>2]=N[m+24>>2];e=N[m+20>>2];N[g+8>>2]=N[m+16>>2];N[g+12>>2]=e;e=N[m+12>>2];N[g>>2]=N[m+8>>2];N[g+4>>2]=e;f=f-(f>>>0>j>>>0&d>>>0>=f>>>0)|0}B:{if(!p){break B}d=f+1|0;if(h>>>0<=d>>>0){break B}e=N[q+108>>2];C:{D:{while(1){E:{k=T(d,20)+i|0;if(e&N[k+4>>2]){if((P[k+12>>1]&96)!=32){break B}e=N[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break E}e=f;if(j>>>0>=e>>>0){break D}while(1){e=f;f=e-1|0;g=T(f,20)+i|0;F:{if(O[g+12|0]&32){break F}g=O[g+18|0];if(g>>>0>31){break F}if(1<>>0>j>>>0){continue}break}e=j;break C}d=d+1|0;if((h|0)!=(d|0)){continue}break B}break}e=f}if(e>>>0<=j>>>0|e>>>0>=h>>>0){break C}g=T(e,20)+i|0;f=g-20|0;if(P[f+12>>1]&32|O[f+18|0]!=4|O[g+12|0]&32){break C}f=e;e=O[g+18|0];e=f+(e>>>0<32&(1<>>0>=2){Ib(c,e,f)}N[m+24>>2]=N[k+16>>2];f=N[k+12>>2];N[m+16>>2]=N[k+8>>2];N[m+20>>2]=f;f=N[k+4>>2];N[m+8>>2]=N[k>>2];N[m+12>>2]=f;f=T(e,20)+i|0;F(f+20|0,f,T(d-e|0,20));N[f+16>>2]=N[m+24>>2];d=N[m+20>>2];N[f+8>>2]=N[m+16>>2];N[f+12>>2]=d;d=N[m+12>>2];N[f>>2]=N[m+8>>2];N[f+4>>2]=d}d=T(j,20)+i|0;G:{if(O[d+19|0]!=2){break G}H:{if(j){f=j-1|0;k=T(f,20);if(1<>1]&8190){break H}}N[d+4>>2]=N[d+4>>2]|N[q+136>>2];break G}d=N[c+68>>2];o=d>>>0>>0?d:l;r=o-f|0;if(r>>>0<2){break G}p=N[c+144>>2]|32;N[c+144>>2]=p;if(f>>>0>=o>>>0){break G}s=N[c+80>>2];d=-1;i=f;if(o-j>>>0>=3){g=r&-4;e=0;while(1){n=s+T(i,20)|0;l=N[n+8>>2];l=d>>>0>>0?d:l;d=N[n+28>>2];l=d>>>0>l>>>0?l:d;d=N[n+48>>2];l=d>>>0>l>>>0?l:d;d=N[n+68>>2];d=d>>>0>l>>>0?l:d;i=i+4|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}e=0;g=r&3;if(g){while(1){l=N[(s+T(i,20)|0)+8>>2];d=d>>>0>>0?d:l;i=i+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}I:{if(!(r&1)){break I}f=j;e=k+s|0;if(N[e+8>>2]==(d|0)){break I}N[e+4>>2]=N[e+4>>2]|3}if((j|0)==(o|0)){break G}while(1){e=s+T(f,20)|0;if(N[e+8>>2]!=(d|0)){p=p|32;N[c+144>>2]=p;N[e+4>>2]=N[e+4>>2]|3}e=s+T(f+1|0,20)|0;if(N[e+8>>2]!=(d|0)){p=p|32;N[c+144>>2]=p;N[e+4>>2]=N[e+4>>2]|3}f=f+2|0;if((o|0)!=(f|0)){continue}break}}if(!(!O[q+5|0]|h-j>>>0<2|N[a+4>>2]==1415671148)){Ib(c,j,h)}e=N[c+68>>2];d=h+1|0;e=d>>>0>>0?e:d;l=e-1|0;i=N[c+80>>2];j=O[(i+T(h,20)|0)+15|0];f=i+3|0;d=h;while(1){J:{if((d|0)==(l|0)){d=e;break J}d=d+1|0;if((j|0)==O[(f+T(d,20)|0)+12|0]){continue}}break}j=h;if(h>>>0>>0){continue}break}}ib(c,b,13432,0)}a=O[c+140|0];if(!(a&64)){break a}a=a<<24>>24;L[c+140|0]=a&191;if((a|0)>=0){break a}L[c+140|0]=a&63}La=m+32|0;return 0}ba(22742,14165,187,12136);B()}function fv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0;g=La-320|0;La=g;N[b>>2]=1;N[b+504>>2]=0;a=N[b+96>>2];a:{b:{if(!a){break b}f=N[N[a>>2]+32>>2];if(f){m=Qa[f|0](a,10566)|0;if(m){break a}}f=N[a+4>>2];i=N[f+16>>2];if((i|0)<=0){break b}f=f+20|0;h=f+(i<<2)|0;while(1){i=N[f>>2];c:{if((i|0)==(a|0)){break c}j=N[N[i>>2]+32>>2];if(!j){break c}m=Qa[j|0](i,10566)|0;if(m){break a}}f=f+4|0;if(h>>>0>f>>>0){continue}break}}m=0}N[b+488>>2]=m;d:{e:{f:{g:{h:{i:{j:{k:{a=N[N[b+96>>2]+4>>2];if(!a){break k}i=N[a+16>>2];if((i|0)<=0){break k}s=b+504|0;f=a+20|0;a=f+(i<<2)|0;while(1){i=N[N[f>>2]>>2];if(cb(N[i+8>>2],7988)){f=f+4|0;if(a>>>0>f>>>0){continue}break k}break}p=N[i+20>>2];N[b+492>>2]=p;if(!p){f=11;break d}k=N[b+100>>2];C(g+4|0,0,304);a=Qa[N[k+4>>2]](k,12)|0;N[b+496>>2]=a;if(!a){f=!a<<6;break e}N[b+500>>2]=12;a=N[b+104>>2];Qa[N[N[p+4>>2]>>2]](g+4|0,0,0,k);L[g+88|0]=0;N[g+80>>2]=0;N[g+84>>2]=0;N[g+76>>2]=a;i=N[a+20>>2];if(!i){N[a+8>>2]=0;i=a+4|0;l=a+8|0;h=N[a+4>>2];break j}f=85;if(Qa[i|0](a,0,0,0)|0){break g}N[a+8>>2]=0;i=a+4|0;l=a+8|0;h=N[a+4>>2];if(!N[a+20>>2]){break j}if(h>>>0<17){break g}f=N[a+28>>2];h=Qa[N[f+4>>2]](f,17)|0;if(!h){f=64;i=a;break h}N[a>>2]=h;j=Qa[N[a+20>>2]](a,N[a+8>>2],h,17)|0;h=N[a>>2];if(j>>>0>16){f=0}else{if(h){Qa[N[f+8>>2]](f,h)}h=0;N[a>>2]=0;f=85}N[a+32>>2]=h;N[a+36>>2]=h?h+17|0:0;N[a+8>>2]=j+N[a+8>>2];if(j>>>0<17){break g}break i}N[b+492>>2]=0;f=11;break d}f=85;if(h>>>0<17){break g}N[a+8>>2]=17;h=N[a>>2];N[a+32>>2]=h;N[a+36>>2]=h+17}j=N[a+20>>2];if(Mb(h,9077,17)){if(j){if(h){f=N[a+28>>2];Qa[N[f+8>>2]](f,h)}N[a>>2]=0}N[a+32>>2]=0;i=a+36|0;f=2;break h}l:{m:{n:{if(!j){N[a+32>>2]=0;N[a+36>>2]=0;break n}o:{if(!h){N[a+32>>2]=0;N[a+36>>2]=0;N[a>>2]=0;break o}f=N[a+28>>2];Qa[N[f+8>>2]](f,h);N[a+32>>2]=0;N[a+36>>2]=0;N[a>>2]=0;j=N[a+20>>2];if(!j){break n}}f=85;if(Qa[j|0](a,0,0,0)|0){break g}N[a+8>>2]=0;h=N[a+4>>2];f=h;if(!N[a+20>>2]){break m}i=g+80|0;p:{if((h|0)>0){f=Qa[N[k+4>>2]](k,h)|0;if(f){break p}f=64;break h}f=6;if(h){break h}f=0}N[g+80>>2]=f;f=Zb(a,f,h);if(f){break g}N[g+84>>2]=h;break l}N[l>>2]=0;f=N[i>>2]}i=N[a>>2];L[g+88|0]=1;N[g+84>>2]=f;N[g+80>>2]=i;f=Xc(a,f);if(f){break g}h=N[g+84>>2]}a=N[g+80>>2];N[g+8>>2]=a;break f}N[i>>2]=0}if(O[g+88|0]){break e}a=N[g+80>>2];if(a){Qa[N[k+8>>2]](k,a)}a=0;N[g+80>>2]=0;if(f){break e}h=N[g+84>>2]}N[g+16>>2]=0;N[g+4>>2]=a;i=a+h|0;N[g+12>>2]=i;Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(i>>>0>f>>>0){n=b+132|0;q=b+164|0;o=b+464|0;while(1){q:{r:{a=O[f|0];if(!((a|0)!=70|i>>>0<=f+25>>>0)){if(bb(f,7876,13)){break r}a=g+4|0;Qa[N[g+36>>2]](a);Qa[N[g+32>>2]](a);a=N[g+4>>2];f=a;s:{if(a>>>0>=i>>>0){break s}while(1){t:{if(!(O[f|0]!=107|i>>>0<=f+5>>>0)){if(!bb(f,12543,5)){break t}}Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(i>>>0>f>>>0){continue}break s}break}f=g+4|0;Qa[N[g+36>>2]](f);Qa[N[g+60>>2]](f,g+308|0);a=N[g+316>>2]==3?N[g+4>>2]:a}N[g+4>>2]=a;break q}if((a|0)!=47|i>>>0<=f+2>>>0){break r}a=f+1|0;N[g+4>>2]=a;Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}h=N[g+4>>2];if((h|0)==(a|0)){break q}k=h-a|0;if(k>>>0>21){break q}f=0;if(h>>>0>=i>>>0){break q}while(1){u:{h=T(f,36);l=h+36880|0;j=N[l>>2];if(!j|O[a|0]!=O[j|0]){break u}if((nb(j)|0)!=(k|0)){break u}if(Mb(a,j,k)){break u}v:{if(f-15>>>0<=3){Qa[N[h+36892>>2]](b,g+4|0);f=N[g+16>>2];break v}a=N[h+36888>>2];w:{x:{switch(N[h+36884>>2]-2|0){case 0:N[g+308>>2]=q;break w;case 3:N[g+308>>2]=o;break w;default:break x}}N[g+308>>2]=n}if(a-9>>>0<=1){f=Qa[N[g+72>>2]](g+4|0,l,g+308|0,0,0)|0;break v}f=Qa[N[g+68>>2]](g+4|0,l,g+308|0,0,0)|0}N[g+16>>2]=f;if(!f){break q}break e}f=f+1|0;if((f|0)!=20){continue}break}break q}Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}}Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(i>>>0>f>>>0){continue}break}}f=N[g+16>>2];if(f){break e}f=2;if(O[b+437|0]!=42){break e}l=N[g+148>>2];N[b+420>>2]=l;a=N[g+216>>2];i=0;N[g+216>>2]=0;N[b+396>>2]=N[g+204>>2];N[b+428>>2]=N[g+228>>2];N[b+432>>2]=N[g+232>>2];N[b+400>>2]=N[g+152>>2];N[b+424>>2]=N[g+176>>2];N[g+176>>2]=0;N[g+152>>2]=0;f=a?0:3;if(N[b+368>>2]!=1){break e}h=0;k=N[g+112>>2];y:{if((k|0)<=0){break y}j=0;if((l|0)>0){while(1){n=j<<2;q=N[n+N[g+120>>2]>>2];r=j<<1;M[r+N[b+384>>2]>>1]=0;N[n+N[b+388>>2]>>2]=15265;z:{if(!q){break z}t=N[b+424>>2];a=0;while(1){o=N[(a<<2)+t>>2];if(cb(q,o)){a=a+1|0;if((l|0)!=(a|0)){continue}break z}break}M[N[b+384>>2]+r>>1]=a;N[n+N[b+388>>2]>>2]=o;if(!cb(15265,o)){break z}h=(h|0)>(j|0)?h:j+1|0;i=(i|0)>(j|0)?j:i}j=j+1|0;if((k|0)!=(j|0)){continue}break}break y}a=0;if(k>>>0>=4){i=k&-4;while(1){M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;h=a|1;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|2;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|3;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;a=a+4|0;if((i|0)!=(a|0)){continue}break}}k=k&3;if(!k){i=0;h=0;break y}while(1){i=0;M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;a=a+1|0;h=0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}N[b+380>>2]=h;N[b+376>>2]=i;N[b+372>>2]=N[g+92>>2]}a=N[g+144>>2];if(a){Qa[a|0](g+96|0)}a=N[g+252>>2];if(a){Qa[a|0](g+204|0)}a=N[g+200>>2];if(a){Qa[a|0](g+152|0)}a=N[g+304>>2];if(a){Qa[a|0](g+256|0)}if(!O[g+88|0]){a=N[g+80>>2];if(a){i=N[g+20>>2];Qa[N[i+8>>2]](i,a)}N[g+80>>2]=0}a=N[g+28>>2];if(a){Qa[a|0](g+4|0)}if(f|(c|0)<0){break d}f=6;if(c&65535){break d}N[b+36>>2]=0;N[b+4>>2]=0;N[b+24>>2]=12199;N[b+16>>2]=N[b+420>>2];a=N[b+144>>2];N[b+20>>2]=a;N[b+8>>2]=N[b+8>>2]|(O[b+156|0]?533:529)|2048;A:{if(a){f=N[b+140>>2];if(!f){break A}j=O[f|0];if(!j){break A}while(1){i=j&255;c=O[a|0];B:{if((i|0)==(c|0)){f=f+1|0;a=a+1|0;break B}i=i-32|0;if(!(!i|(i|0)==13)){C:{switch(c-32|0){case 0:case 13:a=a+1|0;break B;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break A;default:break C}}if(c){break A}N[b+24>>2]=f;break A}f=f+1|0}j=O[f|0];if(j){continue}break}break A}a=N[b+364>>2];if(!a){break A}N[b+20>>2]=a}N[b+28>>2]=0;N[b+32>>2]=0;N[g+4>>2]=9;c=N[N[b+96>>2]+4>>2];D:{if(!c){a=0;break D}a=N[c+16>>2];if((a|0)<=0){a=0;break D}f=c+20|0;i=f+(a<<2)|0;while(1){a=N[f>>2];if(!cb(N[N[a>>2]+8>>2],15504)){break D}f=f+4|0;if(i>>>0>f>>>0){continue}break}a=0}N[g+24>>2]=a;N[g+8>>2]=N[b+496>>2];N[g+12>>2]=N[b+500>>2];if(d){N[g+32>>2]=e;N[g+28>>2]=d;N[g+4>>2]=25}f=Td(c,g+4|0,0,s,1);if(f){break d}vn(N[N[b+504>>2]+88>>2]);a=N[b+504>>2];c=N[a+56>>2];N[b+52>>2]=N[a+52>>2];N[b+56>>2]=c;c=N[a+64>>2];N[b+60>>2]=N[a+60>>2];N[b+64>>2]=c;M[b+68>>1]=P[a+68>>1];M[b+70>>1]=P[a+70>>1];M[b+72>>1]=P[a+72>>1];M[b+74>>1]=P[a+74>>1];M[b+76>>1]=P[a+76>>1];M[b+78>>1]=P[a+78>>1];M[b+80>>1]=P[b+158>>1];M[b+82>>1]=P[b+160>>1];c=N[b+152>>2]!=0;N[b+12>>2]=c;if(O[a+12|0]&2){N[b+12>>2]=c|2}if(O[a+8|0]&32){N[b+8>>2]=N[b+8>>2]|32}if(!m){f=0;break d}a=N[p+32>>2];N[g+4>>2]=b;N[g+8>>2]=1970170211;N[g+12>>2]=65539;f=Bc(N[a+12>>2],0,g+4|0,0);E:{if(!f){break E}c=f&255;if((c|0)==163){break E}if((c|0)!=7){break d}}M[g+12>>1]=7;f=0;F:{G:{switch(N[b+368>>2]-1|0){case 1:M[g+14>>1]=0;N[g+8>>2]=1094995778;break F;case 3:M[g+14>>1]=1;N[g+8>>2]=1094992453;a=a+4|0;break F;case 0:M[g+14>>1]=2;N[g+8>>2]=1094992451;a=a+8|0;break F;case 2:break G;default:break d}}a=a+12|0;M[g+14>>1]=3;N[g+8>>2]=1818326065}a=N[a>>2];if(!a){break d}f=Bc(a,0,g+4|0,0)}La=g+320|0;return f|0}function tt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=La-48|0;La=i;h=2;a:{b:{c:{d:{e:{f:{switch(N[a+796>>2]-1|0){case 0:case 1:l=N[a+864>>2];if(!l){h=142;break a}k=N[N[a+804>>2]+(b<<2)>>2];b=N[a+860>>2];j=N[a+104>>2];e=N[j+20>>2];g:{if(e){h=85;if(Qa[e|0](j,b,0,0)|0){break a}l=N[a+864>>2];e=N[a+860>>2];break g}h=85;e=b;if(b>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=b;N[i+4>>2]=j;N[i>>2]=a;b=N[a+84>>2];N[i+24>>2]=l;N[i+20>>2]=e;M[i+16>>1]=0;N[i+12>>2]=g;N[i+8>>2]=b+76;b=N[a+788>>2];N[i+36>>2]=b;e=N[a+792>>2];N[i+40>>2]=e+b;h=3;g=T(k,48);if(e>>>0>>0){break a}b=b+g|0;g=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);l=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);N[i+28>>2]=l;g=O[b+16|0]|O[b+17|0]<<8|(O[b+18|0]<<16|O[b+19|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);N[i+32>>2]=g;L[i+18|0]=O[b+54|0];if(e>>>0>>0|g>>>0>e-l>>>3>>>0){break a}h=Pl(i,c,0,0,0,d>>>22&1);if(h){break a}if(!(d&5242880)){break e}h=0;break a;case 2:break f;default:break a}}b=N[N[a+804>>2]+(b<<2)>>2];M[g>>1]=0;M[g+2>>1]=0;h=6;if(Q[a+16>>2]>>0){break a}b=N[a+788>>2]+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);g=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);k=g+4|0;while(1){b=N[a+864>>2];if(b>>>0<=g>>>0){h=3;break a}c=c<<2;if(c+12>>>0>b-g>>>0){h=3;break a}c=N[a+860>>2]+(c+k|0)|0;b=N[e+20>>2];h:{i:{if(b){h=85;if(Qa[b|0](e,c,0,0)|0){break a}N[e+8>>2]=c;b=N[e+4>>2];if(!N[e+20>>2]){break i}if(b>>>0<8){break a}b=N[e+28>>2];c=Qa[N[b+4>>2]](b,8)|0;if(!c){break d}N[e>>2]=c;j=Qa[N[e+20>>2]](e,N[e+8>>2],c,8)|0;d=N[e>>2];h=0;if(j>>>0<=7){if(d){Qa[N[b+8>>2]](b,d)}N[e>>2]=0;h=85;d=0}N[e+32>>2]=d;f=d?d+8|0:0;N[e+36>>2]=f;N[e+8>>2]=j+N[e+8>>2];c=d;if(j>>>0>=8){break h}break a}b=N[e+4>>2];if(c>>>0>b>>>0){h=85;break a}N[e+8>>2]=c}h=85;if(b-c>>>0<8|b>>>0<=c>>>0){break a}N[e+8>>2]=c+8;d=N[e>>2];c=c+d|0;N[e+32>>2]=c;f=c+8|0;N[e+36>>2]=f}h=0;j:{if(c+3>>>0>=f>>>0){b=0;break j}b=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);c=c+4|0}N[e+32>>2]=c;if(c+3>>>0>>0){f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=c+4|0}N[e+32>>2]=c;if(N[e+20>>2]){if(d){c=N[e+28>>2];Qa[N[c+8>>2]](c,d)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;if((b|0)==(h|0)){h=157;break a}if(b>>>0>h>>>0){h=3;break a}c=h-b|0;if(c>>>0<8){h=3;break a}if(N[a+864>>2]-g>>>0>>0){h=3;break a}b=N[a+860>>2]+(b+g|0)|0;k:{d=N[e+20>>2];if(d){if(!(Qa[d|0](e,b,0,0)|0)){break k}h=85;break a}if(b>>>0<=Q[e+4>>2]){break k}h=85;break a}N[e+8>>2]=b;h=Bb(e,c);if(h){break a}f=N[e+36>>2];b=N[e+32>>2];b=((f>>>0>b+1>>>0)<<1)+b|0;b=((b+1>>>0>>0)<<1)+b|0;N[e+32>>2]=b;if(f>>>0<=b+3>>>0){h=7;break b}c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);d=b+4|0;N[e+32>>2]=d;c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((c|0)!=1685418085){h=2;if((c|0)==1785751328|(c|0)==1919378028){break b}a=7;if((c|0)==1953064550){break b}break c}if((l|0)==4){a=3;break c}c=0;if(f>>>0>b+5>>>0){d=b+6|0;c=O[b+5|0]|O[b+4|0]<<8}N[e+32>>2]=d;if(N[e+20>>2]){b=N[e>>2];if(b){d=N[e+28>>2];Qa[N[d+8>>2]](d,b)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;l=l+1|0;h=6;if(Q[a+16>>2]>=c>>>0){continue}break}break a}h=0;if(O[f+18|0]!=7){break a}n=N[N[a+84>>2]>>2];N[i+16>>2]=0;N[i+20>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;g=f;h=33;l:{if(!n){break l}l=6;m:{n:{if(!g|!i){break n}o:{if((O[g+18|0]-1&255)>>>0<=6){c=N[n>>2];L[i+18|0]=2;h=N[i>>2];b=N[g>>2];N[i>>2]=b;N[i+4>>2]=N[g+4>>2];f=N[i+8>>2];e=N[g+4>>2];d=(e|0)>0;UE(e,0,b,0);if(Pa?d:0){break n}d=N[i+12>>2];k=f;f=f>>31;f=T(h,(k^f)-f|0);b=T(b,e);if((f|b)<0){N[i+12>>2]=d;h=6;break l}p:{if(!b){b=0;if(!d){break p}Qa[N[c+8>>2]](c,d);break p}if(!f){b=Qa[N[c+4>>2]](c,b)|0;if(b){break p}h=0;break m}b=Qa[N[c+12>>2]](c,f,b,d)|0;h=b?b:d;if(!b){break m}b=h}N[i+12>>2]=b;l=0;N[i+8>>2]=N[i+8>>2]<0?0-e|0:e;break o}b=N[i+12>>2]}c=N[g+12>>2];f=N[g+8>>2];if((f|0)<0){c=T(1-N[g>>2]|0,f)+c|0}j=N[i+8>>2];if((j|0)<0){b=T(1-N[i>>2]|0,j)+b|0}q:{switch(O[g+18|0]-1|0){case 0:M[i+16>>1]=2;j=N[g>>2];if(!j){break n}while(1){e=N[g+4>>2];r:{if(e>>>0<8){f=c;d=b;break r}h=e>>>3|0;d=b;f=c;while(1){e=O[f|0];L[d+7|0]=e&1;L[d|0]=e>>>7;L[d+6|0]=e>>>1&1;L[d+5|0]=e>>>2&1;L[d+4|0]=e>>>3&1;L[d+3|0]=e>>>4&1;L[d+2|0]=e>>>5&1;L[d+1|0]=e>>>6&1;f=f+1|0;d=d+8|0;h=h-1|0;if(h){continue}break}e=N[g+4>>2]}e=e&7;s:{if(!e){break s}f=O[f|0];L[d|0]=f>>>7;if((e|0)==1){break s}L[d+1|0]=f>>>6&1;if((e|0)==2){break s}L[d+2|0]=f>>>5&1;if((e|0)==3){break s}L[d+3|0]=f>>>4&1;if((e|0)==4){break s}L[d+4|0]=f>>>3&1;if((e|0)==5){break s}L[d+5|0]=f>>>2&1;if((e|0)==6){break s}L[d+6|0]=f>>>1&1}b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;j=j-1|0;if(j){continue}break};break n;case 1:case 4:case 5:f=N[g+4>>2];M[i+16>>1]=256;d=N[g>>2];if(!d){break n}if(d&1){F(b,c,f);b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;e=d-1|0}else{e=d}if((d|0)==1){break n}while(1){F(b,c,f);b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;F(b,c,f);b=b+N[i+8>>2]|0;c=c+N[g+8>>2]|0;e=e-2|0;if(e){continue}break};break n;case 2:M[i+16>>1]=4;j=N[g>>2];if(!j){break n}while(1){f=N[g+4>>2];t:{if(f>>>0<4){e=c;d=b;break t}k=f>>>2|0;h=k;d=b;e=c;if(f&4){d=O[c|0];L[b+3|0]=d&3;L[b|0]=d>>>6;L[b+2|0]=d>>>2&3;L[b+1|0]=d>>>4&3;h=k-1|0;e=c+1|0;d=b+4|0}if((k|0)!=1){while(1){f=O[e|0];L[d+3|0]=f&3;L[d|0]=f>>>6;L[d+2|0]=f>>>2&3;L[d+1|0]=f>>>4&3;f=O[e+1|0];L[d+7|0]=f&3;L[d+4|0]=f>>>6;L[d+6|0]=f>>>2&3;L[d+5|0]=f>>>4&3;d=d+8|0;e=e+2|0;h=h-2|0;if(h){continue}break}}f=N[g+4>>2]}f=f&3;u:{if(!f){break u}e=O[e|0];L[d|0]=e>>>6;if((f|0)==1){break u}L[d+1|0]=e>>>4&3;if((f|0)==2){break u}L[d+2|0]=e>>>2&3}b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;j=j-1|0;if(j){continue}break};break n;case 3:M[i+16>>1]=16;j=N[g>>2];if(!j){break n}while(1){k=N[g+4>>2];v:{if(k>>>0<2){e=c;d=b;break v}h=k>>>1|0;o=h-1|0;f=0;d=b;e=c;m=h&3;if(m){while(1){h=O[e|0];L[d+1|0]=h&15;L[d|0]=h>>>4;d=d+2|0;e=e+1|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}h=k>>>1&2147483644}if(o>>>0>=3){while(1){f=O[e|0];L[d+1|0]=f&15;L[d|0]=f>>>4;f=O[e+1|0];L[d+3|0]=f&15;L[d+2|0]=f>>>4;f=O[e+2|0];L[d+5|0]=f&15;L[d+4|0]=f>>>4;f=O[e+3|0];L[d+7|0]=f&15;L[d+6|0]=f>>>4;d=d+8|0;e=e+4|0;h=h-4|0;if(h){continue}break}}k=N[g+4>>2]}if(k&1){L[d|0]=O[e|0]>>>4}b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;j=j-1|0;if(j){continue}break};break n;case 6:break q;default:break n}}M[i+16>>1]=256;k=N[g>>2];if(!k){break n}h=N[g+4>>2];if(!h){break n}while(1){e=b;d=c;if(h){while(1){f=O[d+3|0];if(f){j=O[d+1|0];m=T(T(j,j),46871);j=O[d|0];m=m+T(T(j,j),4732)|0;j=O[d+2|0];f=f-((m+T(T(j,j),13933)>>>16>>>0)/(f>>>0)|0)|0}else{f=0}L[e|0]=f;e=e+1|0;d=d+4|0;h=h-1|0;if(h){continue}break}j=N[i+8>>2];f=N[g+8>>2]}k=k-1|0;if(!k){break n}c=c+f|0;b=b+j|0;h=N[g+4>>2];continue}}h=l;break l}N[i+12>>2]=h;h=64}if(h){if(!n){break a}a=N[i+12>>2];if(!a){break a}b=N[n>>2];Qa[N[b+8>>2]](b,a);break a}L[g+18|0]=O[i+18|0];N[g+8>>2]=N[i+8>>2];M[g+16>>1]=P[i+16>>1];d=N[i+12>>2];c=N[a+84>>2];e=N[c+156>>2];w:{if(!e){break w}b=N[e+4>>2];if(!(b&1)){break w}f=N[c+88>>2];if(f){b=N[N[c+4>>2]+100>>2];Qa[N[b+8>>2]](b,f);e=N[c+156>>2];b=N[e+4>>2]}N[e+4>>2]=b&-2}N[c+88>>2]=d;a=N[N[a+84>>2]+156>>2];N[a+4>>2]=N[a+4>>2]|1;break a}N[e>>2]=0;h=64;break a}h=a}if(N[e+20>>2]){a=N[e>>2];if(a){b=N[e+28>>2];Qa[N[b+8>>2]](b,a)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0}La=i+48|0;return h|0}function LB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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;p=La-48|0;La=p;q=N[a+8>>2];f=6;a:{b:{if(N[b+72>>2]!=N[a+16>>2]){break b}f=19;if((c|0)==2|c>>>0>4){break b}m=N[b+156>>2];f=N[m+4>>2];if(f&1){j=N[b+88>>2];if(j){Qa[N[q+8>>2]](q,j);m=N[b+156>>2];f=N[m+4>>2]}N[b+88>>2]=0;N[m+4>>2]=f&-2}f=98;m=0;if(jg(b,c,d)){break b}f=0;c:{i=b+76|0;j=N[i>>2];d:{if(!j){break d}h=N[b+84>>2];if(!h){break d}if((h|j)<0){f=6;break c}f=10;if((j|0)>(2147483647/(h>>>0)|0)){break c}e:{h=T(h,j);f=Qa[N[q+4>>2]](q,h)|0;if(!(!f|(j|0)<=0)){C(f,0,h);N[b+88>>2]=f;break e}N[b+88>>2]=f;if(f){break e}f=!f<<6;break b}f=N[b+156>>2];N[f+4>>2]=N[f+4>>2]|1;f=N[b+76>>2]<<6;o=(O[b+94|0]==6?(f|0)/3|0:f)-(N[b+104>>2]<<6)|0;m=0-(N[b+100>>2]<<6)|0;j=b+108|0;if(d){o=N[d+4>>2]+o|0;m=N[d>>2]+m|0}if(m|o){te(j,m,o)}f:{if(c>>>0<=1){if(O[b+124|0]&64){e=La+-64|0;La=e;d=N[j+4>>2];if(d){f=(M[j+2>>1]<<3)+d|0}else{f=0}c=98;g=N[i+4>>2];g:{if(g&1073733632){break g}N[e+56>>2]=g<<2;N[e+48>>2]=0;N[e+52>>2]=0;N[e+28>>2]=343;N[e+24>>2]=3;N[e+20>>2]=j;N[e+44>>2]=e+8;j=N[i>>2];N[e+60>>2]=j<<2;g=N[i+12>>2];c=N[i+8>>2];N[e+12>>2]=c;N[e+8>>2]=g+((c|0)>=0?T(c,j-1|0):0);if(d>>>0>>0){c=d;while(1){N[c>>2]=N[c>>2]<<2;N[c+4>>2]=N[c+4>>2]<<2;c=c+8|0;if(f>>>0>c>>>0){continue}break}c=Qa[N[a+56>>2]](N[a+52>>2],e+16|0)|0;while(1){N[d>>2]=N[d>>2]/4;N[d+4>>2]=N[d+4>>2]/4;d=d+8|0;if(f>>>0>d>>>0){continue}break}break g}c=Qa[N[a+56>>2]](N[a+52>>2],e+16|0)|0}La=e- -64|0;f=c;break f}N[p+8>>2]=1;N[p+4>>2]=j;N[p>>2]=i;f=Qa[N[a+56>>2]](N[a+52>>2],p)|0;break f}f=0;h:{switch(c-3|0){case 0:h=La+-64|0;La=h;k=N[a+4>>2];N[h+48>>2]=0;N[h+52>>2]=0;N[h+28>>2]=344;N[h+24>>2]=3;N[h+20>>2]=j;N[h+44>>2]=h+8;N[h+56>>2]=N[i+4>>2];d=N[i>>2];N[h+60>>2]=d;f=N[i+12>>2];c=N[i+8>>2];N[h+12>>2]=c;N[h+8>>2]=f+((c|0)>=0?T(c,d-1|0):0);c=k+184|0;i:{if(!j){break i}i=M[j+2>>1];if((i|0)<=0){break i}d=N[k+184>>2];f=N[k+180>>2];e=N[j+4>>2];if(i>>>0>=4){l=i&-4;while(1){N[e>>2]=N[e>>2]-f;N[e+4>>2]=N[e+4>>2]-d;N[e+8>>2]=N[e+8>>2]-f;N[e+16>>2]=N[e+16>>2]-f;N[e+24>>2]=N[e+24>>2]-f;N[e+12>>2]=N[e+12>>2]-d;N[e+20>>2]=N[e+20>>2]-d;N[e+28>>2]=N[e+28>>2]-d;e=e+32|0;g=g+4|0;if((l|0)!=(g|0)){continue}break}}i=i&3;if(!i){break i}g=0;while(1){N[e>>2]=N[e>>2]-f;N[e+4>>2]=N[e+4>>2]-d;e=e+8|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0;j:{if(f){d=k+180|0;break j}N[h+8>>2]=N[h+8>>2]+1;c=k+192|0;d=k+188|0;k:{if(!j){break k}l=M[j+2>>1];if((l|0)<=0){break k}f=N[k+184>>2]-N[k+192>>2]|0;i=N[k+180>>2]-N[k+188>>2]|0;e=N[j+4>>2];if(l>>>0>=4){n=l&-4;g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];N[e+8>>2]=i+N[e+8>>2];N[e+16>>2]=i+N[e+16>>2];N[e+24>>2]=i+N[e+24>>2];N[e+12>>2]=f+N[e+12>>2];N[e+20>>2]=f+N[e+20>>2];N[e+28>>2]=f+N[e+28>>2];e=e+32|0;g=g+4|0;if((n|0)!=(g|0)){continue}break}}l=l&3;if(!l){break k}g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];e=e+8|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0;if(f){break j}N[h+8>>2]=N[h+8>>2]+1;c=k+200|0;d=k+196|0;l:{if(!j){break l}l=M[j+2>>1];if((l|0)<=0){break l}f=N[k+192>>2]-N[k+200>>2]|0;i=N[k+188>>2]-N[k+196>>2]|0;e=N[j+4>>2];if(l>>>0>=4){k=l&-4;g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];N[e+8>>2]=i+N[e+8>>2];N[e+16>>2]=i+N[e+16>>2];N[e+24>>2]=i+N[e+24>>2];N[e+12>>2]=f+N[e+12>>2];N[e+20>>2]=f+N[e+20>>2];N[e+28>>2]=f+N[e+28>>2];e=e+32|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}k=l&3;if(!k){break l}g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];e=e+8|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0}m:{if(!j){break m}i=M[j+2>>1];if((i|0)<=0){break m}a=N[d>>2];c=N[c>>2];e=N[j+4>>2];if(i>>>0>=4){d=i&-4;g=0;while(1){N[e>>2]=a+N[e>>2];N[e+4>>2]=c+N[e+4>>2];N[e+8>>2]=a+N[e+8>>2];N[e+16>>2]=a+N[e+16>>2];N[e+24>>2]=a+N[e+24>>2];N[e+12>>2]=c+N[e+12>>2];N[e+20>>2]=c+N[e+20>>2];N[e+28>>2]=c+N[e+28>>2];e=e+32|0;g=g+4|0;if((d|0)!=(g|0)){continue}break}}d=i&3;if(!d){break m}g=0;while(1){N[e>>2]=a+N[e>>2];N[e+4>>2]=c+N[e+4>>2];e=e+8|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}La=h- -64|0;break f;case 1:break h;default:break d}}k=La-48|0;La=k;d=N[a+4>>2];l=N[i+8>>2];N[k+8>>2]=1;N[k+4>>2]=j;N[k>>2]=i;N[i+8>>2]=T(l,3);N[i>>2]=Q[i>>2]/3;n:{if(!j){break n}h=M[j+2>>1];if((h|0)<=0){break n}f=N[d+184>>2];g=N[d+180>>2];c=N[j+4>>2];if(h>>>0>=4){n=h&-4;while(1){N[c>>2]=N[c>>2]-f;N[c+4>>2]=g+N[c+4>>2];N[c+8>>2]=N[c+8>>2]-f;N[c+16>>2]=N[c+16>>2]-f;N[c+24>>2]=N[c+24>>2]-f;N[c+12>>2]=g+N[c+12>>2];N[c+20>>2]=g+N[c+20>>2];N[c+28>>2]=g+N[c+28>>2];c=c+32|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}}h=h&3;if(!h){break n}e=0;while(1){N[c>>2]=N[c>>2]-f;N[c+4>>2]=g+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+180>>2];h=N[d+184>>2];o:{if(f){break o}N[i+12>>2]=l+N[i+12>>2];p:{if(!j){break p}n=M[j+2>>1];if((n|0)<=0){break p}f=N[d+188>>2]-g|0;g=h-N[d+192>>2]|0;c=N[j+4>>2];if(n>>>0>=4){h=n&-4;e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];N[c+8>>2]=g+N[c+8>>2];N[c+16>>2]=g+N[c+16>>2];N[c+24>>2]=g+N[c+24>>2];N[c+12>>2]=f+N[c+12>>2];N[c+20>>2]=f+N[c+20>>2];N[c+28>>2]=f+N[c+28>>2];c=c+32|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=n&3;if(!h){break p}e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+188>>2];h=N[d+192>>2];c=N[i+12>>2]-l|0;N[i+12>>2]=c;if(f){break o}n=l<<1;N[i+12>>2]=n+c;q:{if(!j){break q}l=M[j+2>>1];if((l|0)<=0){break q}f=N[d+196>>2]-g|0;g=h-N[d+200>>2]|0;c=N[j+4>>2];if(l>>>0>=4){h=l&-4;e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];N[c+8>>2]=g+N[c+8>>2];N[c+16>>2]=g+N[c+16>>2];N[c+24>>2]=g+N[c+24>>2];N[c+12>>2]=f+N[c+12>>2];N[c+20>>2]=f+N[c+20>>2];N[c+28>>2]=f+N[c+28>>2];c=c+32|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=l&3;if(!h){break q}e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+196>>2];h=N[d+200>>2];N[i+12>>2]=N[i+12>>2]-n}r:{if(!j){break r}a=M[j+2>>1];if((a|0)<=0){break r}c=N[j+4>>2];if(a>>>0>=4){d=a&-4;e=0;while(1){N[c>>2]=N[c>>2]+h;N[c+4>>2]=N[c+4>>2]-g;N[c+8>>2]=N[c+8>>2]+h;N[c+16>>2]=N[c+16>>2]+h;N[c+24>>2]=N[c+24>>2]+h;N[c+12>>2]=N[c+12>>2]-g;N[c+20>>2]=N[c+20>>2]-g;N[c+28>>2]=N[c+28>>2]-g;c=c+32|0;e=e+4|0;if((d|0)!=(e|0)){continue}break}}a=a&3;if(!a){break r}e=0;while(1){N[c>>2]=N[c>>2]+h;N[c+4>>2]=N[c+4>>2]-g;c=c+8|0;e=e+1|0;if((a|0)!=(e|0)){continue}break}}N[i+8>>2]=N[i+8>>2]/3;N[i>>2]=T(N[i>>2],3);La=k+48|0}if(f){break b}}N[b+72>>2]=1651078259;break a}N[b+88>>2]=0}a=N[b+156>>2];c=N[a+4>>2];if(!(c&1)){break a}d=N[b+88>>2];if(d){Qa[N[q+8>>2]](q,d);a=N[b+156>>2];c=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=c&-2}s:{if(!(m|o)){break s}c=M[b+110>>1];if((c|0)<=0){break s}b=N[b+112>>2];if(c>>>0>=4){d=c&-4;a=0;while(1){N[b>>2]=N[b>>2]-m;N[b+4>>2]=N[b+4>>2]-o;N[b+8>>2]=N[b+8>>2]-m;N[b+16>>2]=N[b+16>>2]-m;N[b+24>>2]=N[b+24>>2]-m;N[b+12>>2]=N[b+12>>2]-o;N[b+20>>2]=N[b+20>>2]-o;N[b+28>>2]=N[b+28>>2]-o;b=b+32|0;a=a+4|0;if((d|0)!=(a|0)){continue}break}}c=c&3;if(!c){break s}a=0;while(1){N[b>>2]=N[b>>2]-m;N[b+4>>2]=N[b+4>>2]-o;b=b+8|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}La=p+48|0;return f|0}function rn(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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,O=0;k=La-336|0;La=k;n=h;p=i&65535;o=d;m=e&65535;u=(e^i)&-2147483648;s=i>>>16&32767;q=e>>>16&32767;a:{b:{if(s-32767>>>0>4294934529&q-32767>>>0>=4294934530){break b}j=e&2147483647;if(!(!d&(j|0)==2147418112?!(b|c):j>>>0<2147418112)){r=d;u=e|32768;break a}e=i&2147483647;if(!(!h&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){r=h;u=i|32768;b=f;c=g;break a}if(!(b|d|(j^2147418112|c))){if(!(f|h|(e^2147418112|g))){b=0;c=0;u=2147450880;break a}u=u|2147418112;b=0;c=0;break a}if(!(f|h|(e^2147418112|g))){b=0;c=0;break a}if(!(b|d|(c|j))){b=!(f|h|(e|g));r=b?0:r;u=b?2147450880:u;b=0;c=0;break a}if(!(f|h|(e|g))){u=u|2147418112;b=0;c=0;break a}if((j|0)==65535|j>>>0<65535){d=!(m|o);i=d;j=d?b:o;d=d<<6;i=W(i?c:m);d=d+((i|0)==32?W(j)+32|0:i)|0;hc(k+320|0,b,c,o,m,d-15|0);v=16-d|0;o=N[k+328>>2];m=N[k+332>>2];c=N[k+324>>2];b=N[k+320>>2]}if(e>>>0>65535){break b}d=!(n|p);h=d;i=d?f:n;d=d<<6;h=W(h?g:p);d=d+((h|0)==32?W(i)+32|0:h)|0;hc(k+304|0,f,g,n,p,d-15|0);v=(d+v|0)-16|0;n=N[k+312>>2];p=N[k+316>>2];f=N[k+304>>2];g=N[k+308>>2]}e=p|65536;A=e;B=n;d=n;j=e<<15|d>>>17;e=d<<15|g>>>17;d=e;i=0-d|0;h=j;j=1963258675-(j+((d|0)!=0)|0)|0;hb(k+288|0,d,h,0,0,i,j,0,0);d=N[k+296>>2];hb(k+272|0,0-d|0,0-(N[k+300>>2]+((d|0)!=0)|0)|0,0,0,i,j,0,0);d=N[k+280>>2];i=d<<1|N[k+276>>2]>>>31;d=N[k+284>>2]<<1|d>>>31;hb(k+256|0,i,d,0,0,e,h,0,0);j=N[k+264>>2];hb(k+240|0,i,d,0,0,0-j|0,0-(N[k+268>>2]+((j|0)!=0)|0)|0,0,0);i=N[k+248>>2];j=i<<1|N[k+244>>2]>>>31;d=N[k+252>>2]<<1|i>>>31;hb(k+224|0,j,d,0,0,e,h,0,0);i=N[k+232>>2];hb(k+208|0,j,d,0,0,0-i|0,0-(N[k+236>>2]+((i|0)!=0)|0)|0,0,0);d=N[k+216>>2];i=d<<1|N[k+212>>2]>>>31;d=N[k+220>>2]<<1|d>>>31;hb(k+192|0,i,d,0,0,e,h,0,0);j=N[k+200>>2];hb(k+176|0,i,d,0,0,0-j|0,0-(N[k+204>>2]+((j|0)!=0)|0)|0,0,0);i=e;e=N[k+184>>2];d=h;n=e<<1|N[k+180>>2]>>>31;h=n-1|0;e=(N[k+188>>2]<<1|e>>>31)-!n|0;hb(k+160|0,i,d,0,0,h,e,0,0);d=h;hb(k+144|0,f<<15,g<<15|f>>>17,0,0,d,e,0,0);t=k+112|0;y=N[k+168>>2];h=N[k+172>>2];n=N[k+160>>2];i=N[k+152>>2];l=n+i|0;p=N[k+164>>2];j=p+N[k+156>>2]|0;j=i>>>0>l>>>0?j+1|0:j;i=j;j=(p|0)==(j|0)&l>>>0>>0|j>>>0

>>0;p=j+y|0;j=j>>>0>p>>>0?h+1|0:h;n=!i&l>>>0>1|(i|0)!=0;h=n+p|0;j=n>>>0>h>>>0?j+1|0:j;hb(t,d,e,0,0,0-h|0,0-(((h|0)!=0)+j|0)|0,0,0);hb(k+128|0,1-l|0,0-((l>>>0>1)+i|0)|0,0,0,d,e,0,0);H=(q-s|0)+v|0;e=N[k+116>>2];t=e;d=N[k+112>>2];j=e<<1|d>>>31;n=d<<1;q=j;d=j;h=N[k+140>>2];z=h;e=N[k+136>>2];j=h<<1|e>>>31;i=e<<1|N[k+132>>2]>>>31;h=i+n|0;d=d+j|0;d=h>>>0>>0?d+1|0:d;e=d;d=d-(h>>>0<13927)|0;x=d;y=d;l=0;j=m|65536;I=j;J=o;d=o;j=j<<1|d>>>31;L=d<<1;M=j;D=j;d=UE(x,l,j,0);j=Pa;E=d;w=j;v=b<<1;d=c<<1|b>>>31;s=d;j=0;p=j;i=h-13927|0;x=(e|0)==(x|0)&i>>>0>>0|e>>>0>x>>>0;e=(e|0)==(q|0)&h>>>0>>0|e>>>0>>0;d=N[k+120>>2];h=N[k+124>>2]<<1|d>>>31;d=d<<1|t>>>31;j=h;l=z>>>31|0;d=l+d|0;j=d>>>0>>0?j+1|0:j;h=d;d=d+e|0;l=h>>>0>d>>>0?j+1|0:j;e=d;d=d+x|0;l=e>>>0>d>>>0?l+1|0:l;e=d-1|0;x=l-!d|0;q=0;j=UE(s,p,x,q);d=j+E|0;h=Pa+w|0;h=d>>>0>>0?h+1|0:h;t=(w|0)==(h|0)&d>>>0>>0|h>>>0>>0;j=0;z=e;K=c>>>31|0;C=K|o<<1;w=0;e=UE(e,j,C,w);o=e+d|0;j=Pa+h|0;l=0;j=e>>>0>o>>>0?j+1|0:j;n=j;d=(j|0)==(h|0)&d>>>0>o>>>0|h>>>0>j>>>0;e=d;d=d+t|0;l=e>>>0>d>>>0?1:l;e=UE(D,p,x,q);d=e+d|0;j=Pa+l|0;t=d;d=d>>>0>>0?j+1|0:j;e=UE(D,p,z,w);m=Pa;h=e;e=UE(C,w,x,q);l=h+e|0;j=Pa+m|0;j=e>>>0>l>>>0?j+1|0:j;e=j;j=(m|0)==(j|0)&h>>>0>l>>>0|j>>>0>>0;m=t+e|0;d=d+j|0;d=m>>>0>>0?d+1|0:d;t=m;m=d;e=0;d=e+o|0;j=l+n|0;j=d>>>0>>0?j+1|0:j;e=j;h=(j|0)==(n|0)&d>>>0>>0|j>>>0>>0;j=m;l=h;h=h+t|0;j=l>>>0>h>>>0?j+1|0:j;F=h;l=j;t=d;m=d;o=e;E=i;d=UE(i,0,C,w);h=Pa;e=d;i=UE(y,r,s,r);d=d+i|0;j=Pa+h|0;j=d>>>0>>0?j+1|0:j;i=(h|0)==(j|0)&d>>>0>>0|h>>>0>j>>>0;h=j;G=v&-2;e=UE(z,w,G,0);n=e+d|0;j=Pa+j|0;j=e>>>0>n>>>0?j+1|0:j;e=j;d=(j|0)==(h|0)&d>>>0>n>>>0|h>>>0>j>>>0;h=0;i=d+i|0;d=(i>>>0>>0?1:h)+o|0;j=l;m=i+m|0;d=m>>>0>>0?d+1|0:d;i=d;d=(d|0)==(o|0)&m>>>0>>0|d>>>0>>0;h=d;d=d+F|0;j=h>>>0>d>>>0?j+1|0:j;O=d;t=j;d=UE(D,p,E,r);F=Pa;D=d;h=UE(x,q,G,r);d=d+h|0;j=Pa+F|0;o=d;p=UE(y,r,C,w);l=d+p|0;h=d>>>0>>0?j+1|0:j;d=h+Pa|0;d=l>>>0

>>0?d+1|0:d;q=l;j=UE(s,r,z,w);p=l+j|0;l=Pa+d|0;l=j>>>0>p>>>0?l+1|0:l;z=0;C=(d|0)==(l|0)&p>>>0>>0|d>>>0>l>>>0;j=(h|0)==(F|0)&o>>>0>>0|h>>>0>>0;d=(d|0)==(h|0)&o>>>0>q>>>0|d>>>0>>0;d=d+j|0;d=d+C|0;h=l;q=h+m|0;j=(d|z)+i|0;j=h>>>0>q>>>0?j+1|0:j;o=j;d=(i|0)==(j|0)&m>>>0>q>>>0|i>>>0>j>>>0;j=t;h=d;d=d+O|0;j=h>>>0>d>>>0?j+1|0:j;z=d;i=j;d=UE(y,r,G,r);y=Pa;m=d;h=UE(s,r,E,r);d=d+h|0;j=Pa+y|0;j=d>>>0>>0?j+1|0:j;t=0;h=(j|0)==(y|0)&d>>>0>>0|j>>>0>>0;m=j;d=j+n|0;j=(h|t)+e|0;j=d>>>0>>0?j+1|0:j;h=j;m=(e|0)==(j|0)&d>>>0>>0|e>>>0>j>>>0;j=p;p=0;n=p+d|0;l=h+j|0;j=0;l=n>>>0

>>0?l+1|0:l;d=(h|0)==(l|0)&d>>>0>n>>>0|h>>>0>l>>>0;e=d;d=d+m|0;j=(e>>>0>d>>>0?1:j)+o|0;l=i;e=d;d=d+q|0;j=e>>>0>d>>>0?j+1|0:j;e=j;h=(o|0)==(j|0)&d>>>0>>0|j>>>0>>0;i=h;h=h+z|0;l=i>>>0>h>>>0?l+1|0:l;i=l;c:{if((l|0)==131071|l>>>0<131071){J=L|K;I=w|M;hb(k+80|0,d,e,h,i,f,g,B,A);l=N[k+84>>2];p=l;j=b<<17;n=0;m=N[k+88>>2];c=n-m|0;b=N[k+80>>2];l=(l|b)!=0;o=c-l|0;m=(j-(N[k+92>>2]+(m>>>0>n>>>0)|0)|0)-(c>>>0>>0)|0;n=0-b|0;p=0-(((b|0)!=0)+p|0)|0;b=H+16382|0;break c}d=(e&1)<<31|d>>>1;e=h<<31|e>>>1;h=(i&1)<<31|h>>>1;i=i>>>1|0;hb(k+96|0,d,e,h,i,f,g,B,A);o=N[k+100>>2];s=o;v=N[k+104>>2];n=0-v|0;l=N[k+96>>2];m=(o|l)!=0;o=n-m|0;m=((b<<16)-(N[k+108>>2]+(p>>>0>>0)|0)|0)-(m>>>0>n>>>0)|0;n=0-l|0;p=0-(((l|0)!=0)+s|0)|0;v=b;s=c;b=H+16383|0}if((b|0)>=32767){u=u|2147418112;b=0;c=0;break a}d:{if((b|0)>0){l=m<<1|o>>>31;o=o<<1|p>>>31;m=l;v=h;s=i&65535|b<<16;l=p<<1|n>>>31;i=n<<1;break d}if((b|0)<=-113){b=0;c=0;break a}Qd(k- -64|0,d,e,h,i,1-b|0);hc(k+48|0,v,s,J,I,b+112|0);d=N[k+64>>2];e=N[k+68>>2];v=N[k+72>>2];s=N[k+76>>2];hb(k+32|0,f,g,B,A,d,e,v,s);b=N[k+40>>2];c=N[k+56>>2];l=N[k+36>>2];o=b<<1|l>>>31;n=c-o|0;m=N[k+60>>2]-((N[k+44>>2]<<1|b>>>31)+(c>>>0>>0)|0)|0;b=N[k+32>>2];h=l<<1|b>>>31;j=b<<1;i=N[k+52>>2];c=N[k+48>>2];b=(h|0)==(i|0)&j>>>0>c>>>0|h>>>0>i>>>0;o=n-b|0;m=m-(b>>>0>n>>>0)|0;l=i-((c>>>0>>0)+h|0)|0;i=c-j|0}b=i;hb(k+16|0,f,g,B,A,3,0,0,0);hb(k,f,g,B,A,5,0,0,0);c=0;h=l+c|0;j=d&1;b=b+j|0;h=i>>>0>b>>>0?h+1|0:h;i=b;g=(g|0)==(h|0)&b>>>0>f>>>0|g>>>0>>0;l=m;b=(c|0)==(h|0)&b>>>0>>0|c>>>0>h>>>0;f=b+o|0;l=b>>>0>f>>>0?l+1|0:l;j=e;b=(l|0)==(A|0);b=b&(f|0)==(B|0)?g:b&f>>>0>B>>>0|l>>>0>A>>>0;c=b;b=b+d|0;j=c>>>0>b>>>0?j+1|0:j;c=j;d=(e|0)==(j|0)&b>>>0>>0|e>>>0>j>>>0;j=s;e=d;d=d+v|0;j=e>>>0>d>>>0?j+1|0:j;g=d;e=N[k+20>>2];m=(e|0)==(h|0)&Q[k+16>>2]>>0|e>>>0>>0;e=N[k+28>>2];d=N[k+24>>2];e=j>>>0<2147418112&((d|0)==(f|0)&(e|0)==(l|0)?m:(e|0)==(l|0)&d>>>0>>0|e>>>0>>0);d=c;m=e;e=b+e|0;d=m>>>0>e>>>0?d+1|0:d;b=(c|0)==(d|0)&b>>>0>e>>>0|c>>>0>d>>>0;c=b;b=b+g|0;j=c>>>0>b>>>0?j+1|0:j;g=b;c=N[k+4>>2];h=(c|0)==(h|0)&Q[k>>2]>>0|c>>>0>>0;c=N[k+12>>2];b=N[k+8>>2];b=j>>>0<2147418112&((b|0)==(f|0)&(c|0)==(l|0)?h:(c|0)==(l|0)&b>>>0>>0|c>>>0>>0);c=b;b=b+e|0;l=c>>>0>b>>>0?d+1|0:d;c=l;e=(d|0)==(l|0)&b>>>0>>0|d>>>0>l>>>0;d=j;f=e;e=e+g|0;d=f>>>0>e>>>0?d+1|0:d;r=e|r;u=d|u}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=r;N[a+12>>2]=u;La=k+336|0}function Qu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0;h=La-144|0;La=h;j=N[b+100>>2];f=N[b+104>>2];N[b+132>>2]=0;d=c>>31;l=(d^c)-d&65535;e=N[f+20>>2];a:{b:{if(e){d=85;if(Qa[e|0](f,0,0,0)|0){break b}}N[f+8>>2]=0;d=rb(f,37696,h+140|0);if(d){break b}e=2;c:{d:{e:{f:{if(P[h+140>>1]!=23117){break f}g=P[h+142>>1];e=N[f+20>>2];g:{if(e){d=85;if(!(Qa[e|0](f,g,0,0)|0)){break g}break b}d=85;if(g>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=g;d=rb(f,37728,h+134|0);if(d){break b}e=2;h:{i:{switch(P[h+134>>1]-17742|0){case 0:d=g;g=P[h+136>>1];d=d+g|0;i=N[f+20>>2];j:{if(i){e=85;if(!(Qa[i|0](f,d,0,0)|0)){break j}break c}e=85;if(d>>>0>Q[f+4>>2]){break c}}N[f+8>>2]=d;e=Bb(f,P[h+138>>1]-g|0);if(e){break c}k:{e=N[f+36>>2];d=N[f+32>>2];if(e>>>0>d+1>>>0){m=O[d|0]|O[d+1|0]<<8;d=d+2|0;N[f+32>>2]=d;if(m>>>0>16){break k}}while(1){l:{m:{n:{o:{if(e>>>0<=d+1>>>0){N[f+32>>2]=d;break o}k=O[d|0]|O[d+1|0]<<8;g=d+2|0;N[f+32>>2]=g;if(k){break n}}i=0;d=0;break m}i=0;if(e>>>0>d+3>>>0){i=O[d+2|0]|O[d+3|0]<<8;g=d+4|0}N[f+32>>2]=g;if((k|0)!=32776){break l}d=((N[f+8>>2]+g|0)-e|0)+4|0}if(N[f+20>>2]){e=N[f>>2];if(e){g=N[f+28>>2];Qa[N[g+8>>2]](g,e)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;e=3;if(!(i&65535)|!d){break c}g=i&65535;if(Q[f+4>>2]>>0){break c}N[b>>2]=g;e=0;if((c|0)<0){break c}e=6;if(g>>>0<=l>>>0){break c}e=Qa[N[j+4>>2]](j,172)|0;if(e){C(e,0,172);N[b+132>>2]=e;d=d+T(l,12)|0;g=N[f+20>>2];p:{if(g){e=85;if(!(Qa[g|0](f,d,0,0)|0)){break p}break f}e=85;if(d>>>0>Q[f+4>>2]){break f}}N[f+8>>2]=d;e=Bb(f,12);if(e){break f}e=0;k=N[f+36>>2];d=N[f+32>>2];q:{if(k>>>0<=d+1>>>0){i=0;break q}i=O[d|0]|O[d+1|0]<<8;d=d+2|0}N[f+32>>2]=d;g=N[b+132>>2];N[g>>2]=i<>>0>>0){e=O[d|0]|O[d+1|0]<<8;d=d+2|0}N[g+164>>2]=e<>2]=d+8;if(N[f+20>>2]){d=N[f>>2];if(d){e=N[f+28>>2];Qa[N[e+8>>2]](e,d);g=N[b+132>>2]}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;e=Ch(g,f);break h}N[b+132>>2]=0;e=64;break c}d=(T(i&65535,12)+g|0)+4|0;N[f+32>>2]=d;continue}}if(N[f+20>>2]){d=N[f>>2];if(d){e=N[f+28>>2];Qa[N[e+8>>2]](e,d)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;d=3;break b;case 2:break i;default:break h}}e=N[f+20>>2];r:{if(e){d=85;if(!(Qa[e|0](f,g,0,0)|0)){break r}break b}d=85;if(g>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=g;d=rb(f,37760,h+112|0);if(d){break b}if(N[h+112>>2]!=17744){d=3;break b}if(P[h+116>>1]!=332){d=3;break b}if(P[h+120>>1]!=224){d=3;break b}if(P[h+122>>1]!=267){d=3;break b}g=0;N[b>>2]=0;e=P[h+118>>1];if(!e){d=3;break b}i=N[h+124>>2];s:{while(1){d=rb(f,37824,h+92|0);if(d){break b}if((i|0)==N[h+100>>2]){break s}g=g+1|0;if(e>>>0>(g&65535)>>>0){continue}break}d=3;break b}g=N[h+108>>2];e=N[f+20>>2];t:{if(e){d=85;if(!(Qa[e|0](f,g,0,0)|0)){break t}break b}d=85;if(g>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=g;d=rb(f,37856,h+76|0);if(d){break b}e=P[h+90>>1];d=P[h+88>>1];if((e|0)!=(0-d|0)){n=d+e|0;o=g+16|0;d=0;while(1){d=(d<<3)+o|0;u:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break u}d=85;break b}if(d>>>0<=Q[f+4>>2]){break u}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+36|0);if(d){break b}d=N[h+40>>2];if((d|0)>=0){d=3;break b}d=d&2147483647;N[h+40>>2]=d;e=d+g|0;v:{d=N[f+20>>2];if(d){if(!(Qa[d|0](f,e,0,0)|0)){break v}d=85;break b}if(e>>>0<=Q[f+4>>2]){break v}d=85;break b}N[f+8>>2]=e;d=rb(f,37856,h+60|0);if(d){break b}i=P[h+74>>1];d=P[h+72>>1];if((i|0)!=(0-d|0)){p=d+i|0;q=e+16|0;d=0;r=N[h+108>>2];k=0;while(1){d=(d<<3)+q|0;w:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break w}d=85;break b}if(d>>>0<=Q[f+4>>2]){break w}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+28|0);if(d){break b}d=N[h+32>>2];if((d|0)>=0){d=3;break b}d=d&2147483647;N[h+32>>2]=d;e=d+r|0;x:{d=N[f+20>>2];if(d){if(!(Qa[d|0](f,e,0,0)|0)){break x}d=85;break b}if(e>>>0<=Q[f+4>>2]){break x}d=85;break b}N[f+8>>2]=e;d=rb(f,37856,h+44|0);if(d){break b}i=P[h+58>>1];d=P[h+56>>1];if((i|0)!=(0-d|0)){s=d+i|0;t=e+16|0;d=0;u=N[h+100>>2];v=N[h+108>>2];w=N[h+36>>2];i=0;while(1){d=(d<<3)+t|0;y:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break y}d=85;break b}if(d>>>0<=Q[f+4>>2]){break y}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+20|0);if(d){break b}if((w|0)==8){d=g+N[h+24>>2]|0;z:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break z}d=85;break b}if(d>>>0<=Q[f+4>>2]){break z}d=85;break b}N[f+8>>2]=d;d=rb(f,37904,h+4|0);if(d){break b}d=N[b>>2];if((d|0)==(l|0)){d=Qa[N[j+4>>2]](j,172)|0;if(!d){break e}C(d,0,172);N[b+132>>2]=d;N[d>>2]=(N[h+4>>2]+v|0)-u;N[d+164>>2]=N[h+8>>2];e=Ch(d,f);if(e){break f}d=N[b>>2]}N[b>>2]=d+1}i=i+1|0;d=i&65535;if(s>>>0>d>>>0){continue}break}}k=k+1|0;d=k&65535;if(p>>>0>d>>>0){continue}break}}m=m+1|0;d=m&65535;if(n>>>0>d>>>0){continue}break}}e=0}g=N[b>>2];if(!g){d=3;break b}d=6;if((g|0)<=(l|0)){break b}if(!e){break c}}d=N[b+132>>2];if(d){break d}d=e;break b}N[b+132>>2]=0;d=64;break b}g=N[b+100>>2];i=N[d+160>>2];if(i){f=N[b+104>>2];if(!(!f|!N[f+20>>2])){f=N[f+28>>2];Qa[N[f+8>>2]](f,i)}N[d+160>>2]=0}f=N[d+168>>2];if(f){Qa[N[g+8>>2]](g,f)}N[d+168>>2]=0;Qa[N[g+8>>2]](g,d);N[b+132>>2]=0;d=e;break b}if((c|0)>=0){d=e;break b}g=0;d=e;if(!d){break a}}A:{B:{C:{D:{E:{F:{G:{if((d|0)==2){d=Qa[N[j+4>>2]](j,172)|0;if(!d){break E}g=0;C(d,0,172);N[b>>2]=1;N[b+132>>2]=d;N[d>>2]=0;N[d+164>>2]=N[a+4>>2];d=Ch(d,a);if(!(d|(c|0)<0)){d=6;if(!l){break G}break C}if(d){break C}break a}if(d){break F}}a=N[b+132>>2];if(!P[a+96>>1]){c=N[b+100>>2];g=3;d=N[b+104>>2];break B}N[b+4>>2]=l;c=N[b+8>>2];N[b+8>>2]=c|18;if(P[a+100>>1]==P[a+102>>1]){N[b+8>>2]=c|22}if(O[a+86|0]){N[b+12>>2]=N[b+12>>2]|1}if(P[a+90>>1]>=800){N[b+12>>2]=N[b+12>>2]|2}c=Qa[N[j+4>>2]](j,16)|0;d=!c<<6;N[h+92>>2]=d;N[b+32>>2]=c;if(!c){break C}N[b+28>>2]=1;M[c+2>>1]=P[a+100>>1];g=P[a+96>>1];M[c>>1]=g+P[a+84>>1];d=P[a+74>>1]<<6;N[c+4>>2]=d;e=P[a+78>>1];f=P[a+76>>1];f=f?f:72;i=jb(d,f,72)+32&-64;N[c+12>>2]=i;g=g<<6;if((g|0)<(i|0)){N[c+12>>2]=g;d=jb(g,72,f);N[c+4>>2]=d}x=c,y=jb(d,e?e:72,72)+32&-64,N[x+8>>2]=y;N[h+112>>2]=b;N[h+116>>2]=0;N[h+120>>2]=0;if(O[a+92|0]==77){M[h+120>>1]=1;N[h+116>>2]=1634889070}d=Bc(37644,0,h+112|0,0);if(d){break C}d=3;c=O[a+105|0];e=O[a+104|0];if(c>>>0>>0){break C}N[b+16>>2]=(c-e|0)+2;c=N[a+116>>2];e=N[a+8>>2];if(c>>>0>=e>>>0){break C}e=e-c|0;g=e+1|0;H:{I:{if(e>>>0<=2147483646){d=Qa[N[j+4>>2]](j,g)|0;if(d){break I}d=64;break D}d=6;if(g){break D}d=0;break H}c=N[a+116>>2]}N[h+92>>2]=0;N[a+168>>2]=d;F(d,N[a+160>>2]+c|0,e);L[e+N[a+168>>2]|0]=0;c=a;a=N[a+168>>2];a=lb(j,1,e,nb(a)+1|0,a,h+92|0);N[c+168>>2]=a;d=N[h+92>>2];if(d){break C}N[b+24>>2]=12199;N[b+20>>2]=a;c=N[b+12>>2];a=c&1;if(c&2){if(a){N[b+24>>2]=17749;g=0;break a}N[b+24>>2]=16733;g=0;break a}g=0;if(!a){break a}N[b+24>>2]=17754;break a}g=d;if(!b){break a}break C}N[b+132>>2]=0;g=64;break a}N[a+168>>2]=0}c=N[b+100>>2];a=N[b+132>>2];if(!a){g=d;break A}g=d;d=N[b+104>>2]}e=N[a+160>>2];if(e){if(!(!d|!N[d+20>>2])){d=N[d+28>>2];Qa[N[d+8>>2]](d,e)}N[a+160>>2]=0}d=N[a+168>>2];if(d){Qa[N[c+8>>2]](c,d)}N[a+168>>2]=0;Qa[N[c+8>>2]](c,a);N[b+132>>2]=0}a=N[b+32>>2];if(a){Qa[N[c+8>>2]](c,a)}N[b+28>>2]=0;N[b+32>>2]=0}La=h+144|0;return g|0}function Dr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0;k=La-80|0;La=k;e=eb(680);n=N[b>>2];o=N[a>>2];a=O[d|0];N[e+676>>2]=0;N[e+668>>2]=0;N[e+672>>2]=0;N[e+364>>2]=0;N[e+356>>2]=0;N[e+360>>2]=0;N[e+324>>2]=0;N[e+316>>2]=0;N[e+320>>2]=0;N[e+284>>2]=0;N[e+276>>2]=0;N[e+280>>2]=0;N[e+244>>2]=0;N[e+236>>2]=0;N[e+240>>2]=0;N[e+204>>2]=0;N[e+196>>2]=0;N[e+200>>2]=0;N[e+164>>2]=0;N[e+156>>2]=0;N[e+160>>2]=0;N[e+124>>2]=0;N[e+116>>2]=0;N[e+120>>2]=0;N[e+84>>2]=0;N[e+76>>2]=0;N[e+80>>2]=0;N[e+44>>2]=0;N[e+36>>2]=0;N[e+40>>2]=0;N[e+8>>2]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+660>>2]=0;N[e+400>>2]=0;N[e+380>>2]=0;N[e+384>>2]=0;N[e+392>>2]=0;N[e+396>>2]=0;N[e+376>>2]=0;L[e+388|0]=a;L[e+372|0]=0;a:{a=L[c+11|0]<0?N[c>>2]:c;if(nb(a)>>>0<256){t=pd(e+404|0,a);l=db(1,28);if(!l){break a}N[e+380>>2]=l;c=0;N[l+24>>2]=0;N[l+20>>2]=80;N[k+64>>2]=24121344;mb(l,4,19069,k- -64|0);N[k+48>>2]=24067;mb(l,4,11566,k+48|0);a=k+76|0;j=La-432|0;La=j;b:{b=kb(16);if(!b){m=7;break b}N[b+12>>2]=105;N[b+4>>2]=106;N[b>>2]=0;N[b+8>>2]=107;c:{if(!a){_a(b);m=6;break c}d=kb(208);if(!d){_a(b);m=64;break c}C(d+16|0,0,188);N[d+204>>2]=1;N[d+12>>2]=0;N[d+4>>2]=2;N[d+8>>2]=11;N[d>>2]=b;N[a>>2]=d;gc(d,356728);gc(d,356824);gc(d,356920);gc(d,357016);gc(d,357112);gc(d,357208);gc(d,357304);gc(d,357400);gc(d,357496);gc(d,357592);gc(d,357628);gc(d,357664);gc(d,357700);gc(d,357760);gc(d,357820);gc(d,357880);gc(d,357940);gc(d,357976);m=0}p=N[a>>2];g=th(19517);if(!g){break b}q=p+20|0;while(1){d=0;d:{e:{f:{b=g;f=O[b|0];switch(f|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break e;case 0:break b;case 9:break d;default:break f}}if((f|0)==32){break d}}g:{h:{i:{while(1){a=f&255;if(!a|(a|0)==58){break g}L[(j+288|0)+d|0]=f;a=b+1|0;f=d|1;h=O[b+1|0];if(!((h|0)==58|!h)){L[f+(j+288|0)|0]=h;a=b+2|0;f=d|2;h=O[b+2|0];if(!h|(h|0)==58){break h}L[f+(j+288|0)|0]=h;a=b+3|0;f=d|3;h=O[b+3|0];if(!h|(h|0)==58){break i}L[f+(j+288|0)|0]=h;b=b+4|0;d=d+4|0;if((d|0)==128){d=128;break g}f=O[b|0];continue}break}b=a;d=f;break g}b=a;d=f;break g}b=a;d=f}L[(j+288|0)+d|0]=0;if((b|0)==(g|0)|O[b|0]!=58){break b}a=1;d=b+1|0;f=0;j:{while(1){g=O[d|0];if(!g){g=f;break j}if((g|0)==61){g=f;break j}L[(j+144|0)+f|0]=g;g=f|1;h=a+1|0;d=h+b|0;i=O[d|0];if(!i){a=h;break j}if((i|0)==61){a=h;break j}L[(j+144|0)+g|0]=i;g=f|2;h=a+2|0;d=h+b|0;i=O[d|0];if(!i){a=h;break j}if((i|0)==61){a=h;break j}L[(j+144|0)+g|0]=i;g=f|3;h=a+3|0;d=h+b|0;i=O[d|0];if(!i){a=h;break j}if((i|0)==61){a=h;break j}L[(j+144|0)+g|0]=i;a=a+4|0;d=b+a|0;g=128;f=f+4|0;if((f|0)!=128){continue}break}a=129}L[(j+144|0)+g|0]=0;if((a|0)==1|O[d|0]!=61){break b}a=1;g=d+1|0;f=0;k:{while(1){h=a;b=f;l:{m:{i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break l;default:break m}}if((i|0)!=32){break l}break k}L[f+j|0]=i;b=f|1;n:{o:{h=a+1|0;g=h+d|0;i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break n;default:break o}}if((i|0)==32){break k}}L[b+j|0]=i;b=f|2;p:{q:{h=a+2|0;g=h+d|0;i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break p;default:break q}}if((i|0)==32){break k}}L[b+j|0]=i;b=f|3;r:{s:{h=a+3|0;g=h+d|0;i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break r;default:break s}}if((i|0)==32){break k}}L[b+j|0]=i;a=a+4|0;g=d+a|0;b=128;f=f+4|0;if((f|0)!=128){continue}break}h=129}L[b+j|0]=0;t:{u:{a=O[g|0];switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 0:case 9:break t;default:break u}}if((a|0)!=32){break b}}if((h|0)==1){break b}v:{if(!p){break v}a=N[p+16>>2];d=(a<<2)+q|0;b=q;w:{if((a|0)<=0){break w}while(1){if(!cb(N[N[N[b>>2]>>2]+8>>2],j+288|0)){break w}b=b+4|0;if(d>>>0>b>>>0){continue}break}}if((b|0)==(d|0)){break v}d=N[b>>2];a=N[N[d>>2]+32>>2];if(!a){break v}a=Qa[a|0](d,11276)|0;if(!a){break v}a=N[a>>2];if(!a){break v}Qa[a|0](N[b>>2],j+144|0,j,1)|0}if(!O[g|0]){break b}}g=g+1|0;continue}}La=j+432|0;x:{y:{if(m){N[k+32>>2]=15594;mb(l,0,16788,k+32|0);break y}a=N[k+76>>2];z:{if(!a){d=0;a=0;break z}d=N[a+12>>2];c=N[a+4>>2];a=N[a+8>>2]}N[k+24>>2]=d;N[k+20>>2]=a;N[k+16>>2]=c;mb(l,6,17016,k+16|0);c=db(1,1120);if(!c){dq(N[k+76>>2]);c=0;break y}N[c>>2]=l;a=N[k+76>>2];N[c+972>>2]=81;N[c+968>>2]=82;N[c+964>>2]=83;N[c+960>>2]=84;N[c+956>>2]=85;N[c+952>>2]=86;N[c+948>>2]=87;N[c+944>>2]=88;N[c+940>>2]=89;N[c+936>>2]=90;N[c+932>>2]=91;N[c+928>>2]=92;N[c+924>>2]=93;N[c+920>>2]=94;N[c+916>>2]=95;N[c+912>>2]=96;N[c+908>>2]=97;N[c+904>>2]=98;N[c+900>>2]=99;N[c+896>>2]=100;N[c+892>>2]=101;N[c+888>>2]=102;N[c+884>>2]=103;N[c+880>>2]=104;N[c+876>>2]=5;N[c+4>>2]=a;N[c+224>>2]=0;N[c+228>>2]=0;N[c+204>>2]=16;N[c+872>>2]=4;N[c+232>>2]=0;N[c+236>>2]=0;N[c+240>>2]=0;N[c+244>>2]=0;N[c+248>>2]=0;d=kb(1043);if(!d){N[c+252>>2]=0;break y}a=d+4|0;b=a&15;a=(b?16-b|0:0)+a|0;N[a-4>>2]=d;N[c+252>>2]=a;if(!a){break y}b=db(1,36);a=0;A:{if(!b){break A}N[b+16>>2]=440388;N[b>>2]=65535;N[b+12>>2]=b+8;d=db(65535,4);N[b+4>>2]=d;a=b;if(d){break A}_a(b);a=0}d=a;N[c+840>>2]=d;a=db(1,36);B:{if(!a){break B}N[a+16>>2]=440416;N[a>>2]=65535;N[a+12>>2]=a+8;b=db(65535,4);N[a+4>>2]=b;if(b){r=a;break B}_a(a)}N[c+848>>2]=r;b=db(1,36);a=0;C:{if(!b){break C}N[b+16>>2]=440444;N[b>>2]=65535;N[b+12>>2]=b+8;f=db(65535,4);N[b+4>>2]=f;a=b;if(f){break C}_a(b);a=0}N[c+852>>2]=a;b=db(1,36);D:{if(!b){break D}N[b+16>>2]=440472;N[b>>2]=65535;N[b+12>>2]=b+8;f=db(65535,4);N[b+4>>2]=f;if(f){s=b;break D}_a(b)}N[c+844>>2]=s;b=0;f=db(1,36);E:{if(!f){break E}N[f+16>>2]=440500;N[f>>2]=65535;N[f+12>>2]=f+8;g=db(65535,4);N[f+4>>2]=g;if(g){b=f;break E}_a(f)}N[c+856>>2]=b;if(!d|!r|(!a|!s)){break y}if(!b){break y}N[c+868>>2]=67108864;N[c+860>>2]=1e4;N[c+864>>2]=134217728;N[c+836>>2]=16;N[c+828>>2]=1024;N[c+832>>2]=64;N[c+804>>2]=0;h=db(16,88);N[c+800>>2]=h;g=db(1024,360);N[c+776>>2]=g;f=db(1024,4);N[c+780>>2]=f;d=kb(1024);N[c+784>>2]=d;a=db(64,24);N[c+792>>2]=a;if(!h|!f|(!d|!g)){break y}if(!a){break y}N[c+976>>2]=15978;N[c+196>>2]=c+776;N[c+96>>2]=2;N[c+32>>2]=0;N[c+36>>2]=1072693248;N[c+192>>2]=c;a=db(60,1);if(a){N[a+32>>2]=64;d=db(16,5);N[a+40>>2]=d;if(d){break x}_a(a)}N[c+200>>2]=0}mb(l,1,16798,0);Zo(c);N[e+384>>2]=0;vd(25307,34,1,588952);ha(3);B()}N[a+36>>2]=5;N[d+76>>2]=-1;N[d+60>>2]=-1;N[d+64>>2]=1668049255;N[d+44>>2]=-1;N[d+48>>2]=1818847073;N[d+28>>2]=-1;N[d+32>>2]=1801810542;N[d+12>>2]=-1;N[d+16>>2]=1986752097;N[d>>2]=1986359924;N[a+48>>2]=b;N[c+200>>2]=a;N[k>>2]=21962;mb(l,4,23768,k);N[c+92>>2]=1;mb(l,6,16768,0);N[e+384>>2]=c;N[N[e+380>>2]+4>>2]=1;a=(n|o)>=0;b=a?n:0;a=a?o:0;c=N[e+384>>2];if(!((a|0)==N[c+16>>2]&(b|0)==N[c+20>>2])){N[c+16>>2]=a;N[c+20>>2]=b;xg(c);c=N[e+384>>2]}N[e+392>>2]=o;N[e+396>>2]=n;Uo(c,t);_a(N[e>>2]);N[e+8>>2]=0;N[e>>2]=0;N[e+4>>2]=0;La=k+80|0;return e|0}rj(24937);ha(4);B()}N[e+380>>2]=0;vd(25273,33,1,588952);ha(2);B()}function WD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=U(0),o=0,p=0;f=La-144|0;La=f;i=N[a+96>>2];j=N[i+40>>2];g=N[b>>2];k=N[a+100>>2];b=N[i+12>>2];if(b){b=N[b+20>>2]}else{b=0}o=d,p=(Qa[j|0](a,k,c,b)|0)/2|0,N[o>>2]=p;d=N[g+52>>2];a:{if(d){break a}while(1){b=N[g>>2];if(!b){d=275552;break a}d=N[b+12>>2];b:{if(d){d=Qa[d|0](b,1448038983,N[b+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{if(!d){break f}b=N[d>>2];if(!b){break f}if((b|0)<=0){break e}N[d>>2]=b+1}L[f+104|0]=0;N[f+112>>2]=d;i=N[d+12>>2];N[f+84>>2]=i;j=N[d+16>>2];N[f+88>>2]=j+i;if((j|0)<0){break d}N[f+108>>2]=0;if(j>>>0>67108863){b=1073741823}else{b=j<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[f+92>>2]=b;N[f+100>>2]=0;N[f+80>>2]=0;if(!i){ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;b=d;break c}g:{h:{if(j>>>0<8){break h}N[f+92>>2]=b-8;if((j&-2)==6|(O[i|0]|O[i+1|0]<<8)!=256){break h}h=b-10|0;N[f+92>>2]=h;b=O[i+6|0]|O[i+7|0]<<8;if(!b){break g}b=((b<<8|b>>>8)&65535)<<2;if(b>>>0>j-8>>>0){break h}b=h-b|0;N[f+92>>2]=b;if((b|0)>0){break g}}ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;ab(d);b=275552;break c}ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;if(N[d+4>>2]){N[d+4>>2]=0}b=d;break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}d=N[g+52>>2];i:{if(b){if(d){break i}d=b;N[g+52>>2]=b;break a}if(d){break a}d=275552;N[g+52>>2]=275552;break a}if((b|0)==275552){break a}ab(b);d=N[g+52>>2];if(!d){continue}break}}j=Q[d+16>>2]<8?275552:N[d+12>>2];j:{if(O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24)){d=N[g+48>>2];k:{if(d){break k}while(1){b=N[g>>2];if(!b){d=275552;break k}d=db(1,28);if(!d){d=275552;N[g+48>>2]=275552;break k}d=Lg(d,b);if(!N[g+48>>2]){N[g+48>>2]=d;break k}ab(N[d+20>>2]);N[d+20>>2]=0;ab(N[d+24>>2]);_a(d);d=N[g+48>>2];if(!d){continue}break}}g=N[a+84>>2];l:{if(!g){break l}b=N[d+24>>2];b=b?b:275552;b=Q[b+16>>2]<24?275552:N[b+12>>2];d=O[b+20|0]|O[b+21|0]<<8|(O[b+22|0]<<16|O[b+23|0]<<24);if(!d){break l}i=N[a+88>>2];h=nd(b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,c);k=h>>>16|0;d=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(d){b=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{b=275552}d=O[b+6|0]|O[b+7|0]<<8;if(k>>>0>=((d<<8|d>>>8)&65535)>>>0){break l}d=b+(k<<2)|0;d=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(d){d=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{d=275552}k=h&65535;h=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(h){b=b+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0}else{b=275552}l=Fc(d,k,i,g,b,0)}n=R[a+48>>2];m:{n:{a=O[j+6|0]|O[j+7|0]<<8;if(a){g=j+8|0;i=j+6|0;h=(a<<8|a>>>8)&65535;b=h-1|0;d=0;while(1){a=b+d>>>1|0;k=g+(a<<2)|0;k=O[k|0]|O[k+1|0]<<8;k=(k<<8|k>>>8)&65535;o:{if(k>>>0>c>>>0){b=a-1|0;break o}if((c|0)==(k|0)){break n}d=a+1|0}if((b|0)>=(d|0)){continue}break}}a=j+4|0;break m}a=(a>>>0>=h>>>0?275552:(i+(a<<2)|0)+2|0)+2|0}a=O[a|0]|O[a+1|0]<<8;l=U(Z(U(U(n*U(l+U((a<<8|a>>>8)<<16>>16)))+U(.5))));if(U(V(l))>2]=~~l;break j}N[e>>2]=-2147483648;break j}N[f+40>>2]=0;N[f+44>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;d=N[g+60>>2];p:{if(d){break p}while(1){b=N[g>>2];if(!b){d=275552;break p}d=db(1,28);if(!d){d=275552;N[g+60>>2]=275552;break p}d=Le(d,b);if(!N[g+60>>2]){N[g+60>>2]=d;break p}ab(N[d+24>>2]);_a(d);d=N[g+60>>2];if(!d){continue}break}}if(eq(d,a,c,f+32|0)){d=N[g+48>>2];q:{if(d){break q}while(1){b=N[g>>2];if(!b){d=275552;break q}d=db(1,28);if(!d){d=275552;N[g+48>>2]=275552;break q}d=Lg(d,b);if(!N[g+48>>2]){N[g+48>>2]=d;break q}ab(N[d+20>>2]);N[d+20>>2]=0;ab(N[d+24>>2]);_a(d);d=N[g+48>>2];if(!d){continue}break}}r:{i=N[a+84>>2];s:{if(!i){b=N[d>>2];t:{if(c>>>0>>0){if((c|0)<0){b=275552}else{b=N[d+20>>2];b=N[(b?b:275552)+12>>2]+(c<<2)|0}b=b+2|0;break t}if(Q[d+4>>2]<=c>>>0){break r}u:{if((b|0)<0){g=275552;break u}g=N[d+20>>2];g=N[(g?g:275552)+12>>2]+(b<<2)|0;b=N[d>>2]}b=(c-b<<1)+g|0}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;break s}b=275552;v:{w:{g=N[d+24>>2];g=g?g:275552;g=Q[g+16>>2]<24?275552:N[g+12>>2];h=O[g+12|0]|O[g+13|0]<<8|(O[g+14|0]<<16|O[g+15|0]<<24);if(!h){break w}j=N[a+88>>2];k=nd(g+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0,c);h=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);if(h){b=g+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0}g=O[b+6|0]|O[b+7|0]<<8;h=(g<<8|g>>>8)&65535;g=k>>>16|0;if(h>>>0<=g>>>0){l=U(.5)}else{g=(g<<2)+b|0;g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);if(g){g=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+b|0}else{g=275552}k=k&65535;h=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(h){b=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+b|0}else{b=275552}l=U(Fc(g,k,j,i,b,0)+U(.5))}l=U(Z(l));b=N[d>>2];x:{if(c>>>0>>0){if((c|0)<0){b=275552}else{b=N[d+20>>2];b=N[(b?b:275552)+12>>2]+(c<<2)|0}b=b+2|0;break x}if(Q[d+4>>2]<=c>>>0){break w}y:{if((b|0)<0){g=275552;break y}g=N[d+20>>2];g=N[(g?g:275552)+12>>2]+(b<<2)|0;b=N[d>>2]}b=(c-b<<1)+g|0}b=O[b|0]|O[b+1|0]<<8;l=U(l+U((b<<8|b>>>8)<<16>>16));if(!(U(V(l))>2];b=N[d+108>>2];z:{if(b){break z}while(1){b=N[d+48>>2];if(!b){b=275552;break z}g=db(1,28);if(!g){b=275552;N[d+108>>2]=275552;break z}b=Le(g,b);if(!N[d+108>>2]){N[d+108>>2]=b;break z}ab(N[b+24>>2]);_a(b);b=N[d+108>>2];if(!b){continue}break}}if(Q[b+16>>2]<=c>>>0){break r}M[f+100>>1]=0;M[f+112>>1]=0;M[f+124>>1]=0;N[f+72>>2]=-8388609;N[f+76>>2]=-8388609;d=f- -64|0;N[d>>2]=2139095039;N[d+4>>2]=2139095039;N[f+16>>2]=2139095039;N[f+20>>2]=2139095039;N[f+24>>2]=-8388609;N[f+28>>2]=-8388609;L[f+60|0]=0;N[f+56>>2]=f+80;d=N[f+60>>2];N[f+8>>2]=N[f+56>>2];N[f+12>>2]=d;N[f+48>>2]=a;M[f+88>>1]=0;N[f+80>>2]=0;N[f+84>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+116>>2]=0;N[f+120>>2]=0;N[f+52>>2]=f+128;d=N[f+52>>2];N[f>>2]=N[f+48>>2];N[f+4>>2]=d;if(!fj(b,a,c,f)){break r}l=U(U(Z(U(R[f+108>>2]+U(.5))))-U(N[f+132>>2]));if(!(U(V(l))>2];d=N[a+64>>2];i=N[a+68>>2];a=b<<16;b=a>>31;b=UE(d,i,a>>16,b);a=Pa;b=b+32768|0;N[e>>2]=(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16)+c;break j}N[f+120>>2]=0;N[f+124>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+80>>2]=0;N[f+84>>2]=0;b=N[a+96>>2];c=N[b+20>>2];d=N[a+100>>2];i=f+80|0;b=N[b+12>>2];if(b){b=N[b>>2]}else{b=0}A:{if(Qa[c|0](a,d,i,b)|0){b=N[f+80>>2];a=N[f+84>>2];break A}a=N[a+32>>2];m=+(a|0)*.8;B:{if(V(m)<2147483648){b=~~m;break B}b=-2147483648}a=b-a|0}N[e>>2]=N[f+36>>2]+(N[f+44>>2]+(b-a|0)>>1);break j}N[f+120>>2]=0;N[f+124>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+80>>2]=0;N[f+84>>2]=0;b=N[a+96>>2];c=N[b+20>>2];d=N[a+100>>2];i=f+80|0;b=N[b+12>>2];if(b){b=N[b>>2]}else{b=0}C:{if(Qa[c|0](a,d,i,b)|0){a=N[f+80>>2];break C}m=+N[a+32>>2]*.8;if(V(m)<2147483648){a=~~m;break C}a=-2147483648}N[e>>2]=a}La=f+144|0;return 1}function Ui(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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;a:{if(N[a+200>>2]==(b|0)&N[a+204>>2]==(d|0)){break a}N[a+200>>2]=b;N[a+204>>2]=d;p=N[a+4>>2];if(!p){break a}k=N[a+8>>2];j=k>>31;d=b>>31;d=(d^b)-d|0;r=d>>>8|0;j=(k^j)-j|0;b:{if(r+j>>>0<=8190){h=T(d,j)+32768>>>16|0;break b}l=j&65535;h=T(l,d>>>16|0)+T(d,j>>>16|0)+(T(l,d&65535)+32768>>>16)|0}j=h;f=0-j|0;j=k>>31|1;l=(b|0)<0;b=((l?0-j|0:j)|0)<0?f:h;N[a+12>>2]=b;N[a+16>>2]=b+32&-64;j=p-1|0;if(!j){break a}m=d&65535;h=d>>>16|0;b=a+20|0;while(1){p=N[b>>2];k=p>>31;k=(k^p)-k|0;c:{if(k+r>>>0<=8190){f=T(d,k)+32768>>>16|0;break c}g=k&65535;f=T(g,h)+T(d,k>>>16|0)+(T(g,m)+32768>>>16)|0}k=f;g=0-k|0;k=p>>31|1;p=((l?0-k|0:k)|0)<0?g:f;g=N[a+12>>2];f=p-g|0;k=f>>31;k=(f^k)-k>>>0<128?g:p;N[b+4>>2]=k;N[b+8>>2]=k+32&-64;b=b+12|0;j=j-1|0;if(j){continue}break}}d:{if(N[a+404>>2]==(c|0)&N[a+408>>2]==(e|0)){break d}N[a+404>>2]=c;N[a+408>>2]=e;k=N[a+208>>2];e:{if(!k){break e}j=N[a+212>>2];b=j>>31;d=c>>31;d=(d^c)-d|0;r=d>>>8|0;b=(b^j)-b|0;f:{if(r+b>>>0<=8190){h=T(b,d)+32768>>>16|0;break f}p=b&65535;h=T(p,d>>>16|0)+T(d,b>>>16|0)+(T(p,d&65535)+32768>>>16)|0}b=h;f=0-b|0;b=j>>31|1;l=(c|0)<0;b=((l?0-b|0:b)|0)<0?f:h;N[a+216>>2]=b;N[a+220>>2]=b+32&-64;j=k-1|0;if(!j){break e}m=d&65535;h=d>>>16|0;b=a+224|0;while(1){p=N[b>>2];k=p>>31;k=(k^p)-k|0;g:{if(k+r>>>0<=8190){f=T(d,k)+32768>>>16|0;break g}g=k&65535;f=T(g,h)+T(d,k>>>16|0)+(T(g,m)+32768>>>16)|0}k=f;g=0-k|0;k=p>>31|1;p=((l?0-k|0:k)|0)<0?g:f;g=N[a+216>>2];f=p-g|0;k=f>>31;k=(f^k)-k>>>0<128?g:p;N[b+4>>2]=k;N[b+8>>2]=k+32&-64;b=b+12|0;j=j-1|0;if(j){continue}break}}L[a+2492|0]=(T(c,125)|0)>2]<<3&(c|0)<=34359737;b=N[a+2480>>2];h:{if((b|0)<=0){break h}d=c>>31;d=(d^c)-d|0;k=d&65535;p=d>>>16|0;r=d>>>8|0;while(1){j=b>>31;j=(j^b)-j|0;i:{if(j+r>>>0<=8190){j=T(d,j)+32768>>>16|0;break i}l=j&65535;j=T(l,p)+T(d,j>>>16|0)+(T(k,l)+32768>>>16)|0}if((((c|0)<0?0-j|0:j)|0)<33){break h}j=(b|0)>1;b=b-1|0;if(j){continue}break}b=0}N[a+2484>>2]=b;p=N[a+412>>2];if(p){b=c>>31;j=(b^c)-b|0;k=j&65535;r=j>>>16|0;l=j>>>8|0;b=a+416|0;d=p;while(1){h=N[b+8>>2];m=h>>31;m=(h^m)-m|0;j:{if(m+l>>>0<=8190){f=T(j,m)+32768>>>16|0;break j}g=m&65535;f=T(g,r)+T(j,m>>>16|0)+(T(g,k)+32768>>>16)|0}m=f;g=0-m|0;m=h>>31|1;i=0-m|0;h=m;m=(c|0)<0;N[b+28>>2]=(((m?i:h)|0)<0?g:f)+e;g=N[b+12>>2];h=g>>31;h=(g^h)-h|0;k:{if(h+l>>>0<=8190){f=T(h,j)+32768>>>16|0;break k}f=h&65535;f=T(f,r)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;N[b+24>>2]=(((m?0-h|0:h)|0)<0?i:f)+e;g=N[b>>2];h=g>>31;h=(g^h)-h|0;l:{if(h+l>>>0<=8190){f=T(h,j)+32768>>>16|0;break l}f=h&65535;f=T(f,r)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;f=(((m?0-h|0:h)|0)<0?i:f)+e|0;g=N[b+4>>2];h=g>>31;h=(g^h)-h|0;m:{if(h+l>>>0<=8190){i=T(h,j)+32768>>>16|0;break m}i=h&65535;i=T(i,r)+T(j,h>>>16|0)+(T(k,i)+32768>>>16)|0}h=i;N[b+16>>2]=f+32&-64;f=0-h|0;h=g>>31|1;N[b+20>>2]=((m?0-h|0:h)|0)<0?f:i;b=b+32|0;d=d-1|0;if(d){continue}break}}r=N[a+928>>2];if(r){b=c>>31;j=(b^c)-b|0;k=j&65535;l=j>>>16|0;m=j>>>8|0;b=a+932|0;d=r;while(1){g=N[b+8>>2];h=g>>31;h=(g^h)-h|0;n:{if(h+m>>>0<=8190){f=T(h,j)+32768>>>16|0;break n}f=h&65535;f=T(f,l)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;n=0-h|0;g=h;h=(c|0)<0;N[b+28>>2]=(((h?n:g)|0)<0?i:f)+e;f=N[b+12>>2];g=f>>31;g=(g^f)-g|0;o:{if(g+m>>>0<=8190){i=T(g,j)+32768>>>16|0;break o}i=g&65535;i=T(i,l)+T(j,g>>>16|0)+(T(k,i)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;N[b+24>>2]=(((h?0-g|0:g)|0)<0?n:i)+e;f=N[b>>2];g=f>>31;g=(g^f)-g|0;p:{if(g+m>>>0<=8190){i=T(g,j)+32768>>>16|0;break p}i=g&65535;i=T(i,l)+T(j,g>>>16|0)+(T(k,i)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;i=(((h?0-g|0:g)|0)<0?n:i)+e|0;f=N[b+4>>2];g=f>>31;g=(g^f)-g|0;q:{if(g+m>>>0<=8190){n=T(g,j)+32768>>>16|0;break q}o=g&65535;n=T(o,l)+T(j,g>>>16|0)+(T(k,o)+32768>>>16)|0}g=n;N[b+16>>2]=i+32&-64;i=0-g|0;g=f>>31|1;N[b+20>>2]=((h?0-g|0:g)|0)<0?i:n;b=b+32|0;d=d-1|0;if(d){continue}break}}j=N[a+1444>>2];if(j){b=c>>31;k=(b^c)-b|0;l=k&65535;m=k>>>16|0;h=k>>>8|0;b=a+1448|0;d=j;while(1){f=N[b+8>>2];g=f>>31;g=(g^f)-g|0;r:{if(g+h>>>0<=8190){i=T(g,k)+32768>>>16|0;break r}i=g&65535;i=T(i,m)+T(k,g>>>16|0)+(T(i,l)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;o=0-g|0;f=g;g=(c|0)<0;N[b+28>>2]=(((g?o:f)|0)<0?n:i)+e;i=N[b+12>>2];f=i>>31;f=(f^i)-f|0;s:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break s}o=f&65535;n=T(o,m)+T(k,f>>>16|0)+(T(l,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;N[b+24>>2]=(((g?0-f|0:f)|0)<0?o:n)+e;i=N[b>>2];f=i>>31;f=(f^i)-f|0;t:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break t}o=f&65535;n=T(o,m)+T(k,f>>>16|0)+(T(l,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;o=(((g?0-f|0:f)|0)<0?o:n)+e|0;i=N[b+4>>2];f=i>>31;f=(f^i)-f|0;u:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break u}q=f&65535;n=T(q,m)+T(k,f>>>16|0)+(T(l,q)+32768>>>16)|0}f=n;N[b+16>>2]=o+32&-64;o=0-f|0;f=i>>31|1;N[b+20>>2]=((g?0-f|0:f)|0)<0?o:n;b=b+32|0;d=d-1|0;if(d){continue}break}}k=N[a+1960>>2];if(k){b=c>>31;l=(b^c)-b|0;m=l&65535;h=l>>>16|0;g=l>>>8|0;b=a+1964|0;d=k;while(1){i=N[b+8>>2];f=i>>31;f=(f^i)-f|0;v:{if(f+g>>>0<=8190){n=T(f,l)+32768>>>16|0;break v}o=f&65535;n=T(o,h)+T(f>>>16|0,l)+(T(m,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;q=0-f|0;i=f;f=(c|0)<0;N[b+28>>2]=(((f?q:i)|0)<0?o:n)+e;o=N[b+12>>2];i=o>>31;i=(i^o)-i|0;w:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break w}q=i&65535;n=T(q,h)+T(i>>>16|0,l)+(T(m,q)+32768>>>16)|0}i=n;q=0-i|0;i=o>>31|1;N[b+24>>2]=(((f?0-i|0:i)|0)<0?q:n)+e;o=N[b>>2];i=o>>31;i=(i^o)-i|0;x:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break x}q=i&65535;n=T(q,h)+T(i>>>16|0,l)+(T(m,q)+32768>>>16)|0}i=n;q=0-i|0;i=o>>31|1;q=(((f?0-i|0:i)|0)<0?q:n)+e|0;o=N[b+4>>2];i=o>>31;i=(i^o)-i|0;y:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break y}n=i&65535;n=T(n,h)+T(i>>>16|0,l)+(T(m,n)+32768>>>16)|0}i=n;N[b+16>>2]=q+32&-64;q=0-i|0;i=o>>31|1;N[b+20>>2]=((f?0-i|0:i)|0)<0?q:n;b=b+32|0;d=d-1|0;if(d){continue}break}}z:{if(!p|!j){break z}b=a+1448|0;d=c>>31;m=(d^c)-d|0;g=m&65535;f=m>>>16|0;i=m>>>8|0;l=a+416|0;while(1){o=N[l>>2];d=j;e=b;while(1){A:{q=o-N[e>>2]|0;h=q>>31;h=(h^q)-h|0;B:{if(h+i>>>0<=8190){h=T(h,m)+32768>>>16|0;break B}q=h&65535;h=T(q,f)+T(m,h>>>16|0)+(T(g,q)+32768>>>16)|0}if((((c|0)<0?0-h|0:h)|0)<=63){N[l+28>>2]=N[e+28>>2];N[l+24>>2]=N[e+24>>2];N[l+16>>2]=N[e+16>>2];N[l+20>>2]=N[e+20>>2];break A}e=e+32|0;d=d-1|0;if(d){continue}}break}p=p-1|0;if(!p){break z}l=l+32|0;continue}}if(!r|!k){break d}b=a+1964|0;d=c>>31;j=(d^c)-d|0;p=j&65535;m=j>>>16|0;h=j>>>8|0;l=a+932|0;while(1){g=N[l>>2];d=k;e=b;C:{while(1){f=g-N[e>>2]|0;a=f>>31;a=(a^f)-a|0;D:{if(a+h>>>0<=8190){a=T(a,j)+32768>>>16|0;break D}f=a&65535;a=T(f,m)+T(j,a>>>16|0)+(T(f,p)+32768>>>16)|0}if((((c|0)<0?0-a|0:a)|0)>=64){e=e+32|0;d=d-1|0;if(d){continue}break C}break}N[l+28>>2]=N[e+28>>2];N[l+24>>2]=N[e+24>>2];N[l+16>>2]=N[e+16>>2];N[l+20>>2]=N[e+20>>2]}r=r-1|0;if(!r){break d}l=l+32|0;continue}}}function Vx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0;g=11;f=N[N[b+96>>2]+4>>2];a:{if(!f){break a}h=N[f+16>>2];if((h|0)<=0){break a}f=f+20|0;h=f+(h<<2)|0;while(1){i=N[N[f>>2]>>2];if(cb(N[i+8>>2],9195)){f=f+4|0;if(h>>>0>f>>>0){continue}break a}break}f=N[i+20>>2];if(!f){break a}h=N[a+20>>2];if(h){g=85;if(Qa[h|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;g=Qa[N[f+4>>2]](a,b,c,d,e)|0;if(g){break a}k=N[b+104>>2];g=2;a=N[b+148>>2];b:{if((a|0)<=65535){if((a|0)==-1519689116|(a|0)==-1519619212){break b}break a}if((a|0)==65536|(a|0)==1953658213){break b}if((a|0)!=131072){break a}}N[b+8>>2]=N[b+8>>2]|2048;g=0;if((c|0)<0){break a}g=Qa[N[f+8>>2]](k,b,c,d,e)|0;if(g){break a}f=La-128|0;La=f;c:{d:{if(!b){break d}a=N[b+20>>2];if(a){i=1;if(ub(a,27296)){break c}if(ub(a,27316)){break c}if(ub(a,27336)){break c}if(ub(a,27356)){break c}if(ub(a,27376)){break c}if(ub(a,27396)){break c}if(ub(a,27416)){break c}if(ub(a,27436)){break c}if(ub(a,27456)){break c}if(ub(a,27476)){break c}if(ub(a,27496)){break c}if(ub(a,27516)){break c}if(ub(a,27536)){break c}if(ub(a,27556)){break c}if(ub(a,27576)){break c}if(ub(a,27596)){break c}if(ub(a,27616)){break c}if(ub(a,27636)){break c}if(ub(a,27656)){break c}if(ub(a,27676)){break c}if(ub(a,27696)){break c}if(ub(a,27716)){break c}if(ub(a,27736)){break c}if(ub(a,27756)){break c}if(ub(a,27776)){break c}if(ub(a,27796)){break c}}i=0;C(f,0,116);e:{f:{h=P[b+152>>1];if(h){a=0;while(1){e=1;g=0;n=o<<4;d=N[n+N[b+156>>2]>>2];g:{if((d|0)!=1668707360){h:{if((d|0)!=1886545264){if((d|0)!=1718642541){break g}g=1;break h}g=2}e=a}i=0;h=0;while(1){a=n+N[b+156>>2]|0;d=T(i,24)+(g<<3)|0;if(N[a+12>>2]==N[d+27828>>2]){r=d+27824|0;i:{if(h){break i}d=N[b+516>>2];if(!d){h=0;break i}h=0;if(Qa[d|0](b,N[a>>2],N[b+104>>2],0)|0){break i}j=N[b+104>>2];d=N[(n+N[b+156>>2]|0)+12>>2];if(Bb(j,d)){break i}if(d>>>0>=4){a=N[j+32>>2];m=N[j+36>>2];while(1){j:{if(m>>>0<=a+3>>>0){l=0;break j}l=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);l=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);a=a+4|0}N[j+32>>2]=a;h=h+l|0;d=d-4|0;if(d>>>0>3){continue}break}}k:{if(!d){break k}a=N[j+32>>2];m=N[j+36>>2];l=3;if((d|0)!=1){s=d&1;t=d&2;p=0;while(1){l:{if(a>>>0>=m>>>0){d=a;a=0;break l}d=a+1|0;N[j+32>>2]=d;a=O[a|0]}q=l<<3;u=(a<>>0>=m>>>0){a=d;break m}a=d+1|0;N[j+32>>2]=a;h=O[d|0]}h=((h&255)<>>0>>0){N[j+32>>2]=a+1;a=O[a|0]}else{a=0}h=(a<<(l<<3))+h|0}if(N[j+20>>2]){a=N[j>>2];if(a){d=N[j+28>>2];Qa[N[d+8>>2]](d,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0}d=f+(i<<2)|0;a=N[d>>2];if(N[r>>2]==(h|0)){a=a+1|0;N[d>>2]=a}if((a|0)==3){break f}}i=i+1|0;if((i|0)!=29){continue}break}h=P[b+152>>1];a=e}o=o+1|0;if(o>>>0<(h&65535)>>>0){continue}break}if(a&255){break e}i=0}while(1){a=f+(i<<2)|0;h=N[a>>2];if(i-16>>>0<12){h=h+1|0;N[a>>2]=h}if((h|0)==3){break f}a=i|1;if((a|0)==29){break d}a=f+(a<<2)|0;h=N[a>>2];if(i-15>>>0<=11){h=h+1|0;N[a>>2]=h}if((h|0)==3){break f}i=i+2|0;continue}}i=1;break c}i=1;if(!(N[f>>2]!=3&N[f+4>>2]!=3&N[f+8>>2]!=3&N[f+12>>2]!=3&N[f+16>>2]!=3&N[f+20>>2]!=3&N[f+24>>2]!=3&N[f+28>>2]!=3&N[f+32>>2]!=3&N[f+36>>2]!=3&N[f+40>>2]!=3&N[f+44>>2]!=3&N[f+48>>2]!=3&N[f+52>>2]!=3&N[f+56>>2]!=3&N[f+60>>2]!=3&N[f+64>>2]!=3&N[f+68>>2]!=3&N[f+72>>2]!=3&N[f+76>>2]!=3&N[f+80>>2]!=3&N[f+84>>2]!=3&N[f+88>>2]!=3&N[f+92>>2]!=3&N[f+96>>2]!=3&N[f+100>>2]!=3&N[f+104>>2]!=3&N[f+108>>2]!=3&N[f+112>>2]!=3)){break c}}i=0}La=f+128|0;if(i){N[b+8>>2]=N[b+8>>2]|8192}a=0;f=La-16|0;La=f;h=N[k+28>>2];n:{if(Qa[N[b+516>>2]](b,1751412088,k,f+12|0)|0){break n}d=N[f+12>>2];if(d>>>0<8){break n}a=fc(k,d,b+768|0);if(a){break n}a=3;e=N[b+768>>2];d=O[e+2|0]<<8|O[e+3|0];o:{if(d>>>0>255){break o}g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i=g>>>0>4294901759?g&65535:g;if(i-65538>>>0<4294901762?d:0){break o}j=N[f+12>>2];p:{q:{if(!d){e=0;N[b+784>>2]=0;break q}g=Qa[N[h+4>>2]](h,d)|0;if(!g){break p}a=e+8|0;h=e+j|0;e=0;C(g,0,d);N[b+784>>2]=g;while(1){g=a+i|0;if(g>>>0>h>>>0){break q}L[N[b+784>>2]+e|0]=O[a|0];a=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}e=d}N[b+776>>2]=e;a=N[f+12>>2];N[b+780>>2]=i;N[b+772>>2]=a;a=0;break n}N[b+784>>2]=0;a=64}r:{if(!N[k+20>>2]){break r}d=N[b+768>>2];if(!d){break r}e=N[k+28>>2];Qa[N[e+8>>2]](e,d)}N[b+768>>2]=0;N[b+772>>2]=0}La=f+16|0;g=a;if(a){break a}s:{if(!(L[b+8|0]&1)){break s}t:{if(N[N[b+128>>2]+52>>2]){break t}i=0;g=La-16|0;La=g;e=Qa[N[b+516>>2]](b,1735162214,k,b+724|0)|0;u:{v:{if((e&255)==142){N[b+724>>2]=0;a=0;break v}if(e){break u}a=0;if(N[N[b+128>>2]+52>>2]){break v}a=N[k+8>>2]}N[b+728>>2]=a;e=144;if(Qa[N[b+516>>2]](b,1819239265,k,g+12|0)|0){break u}a=N[g+12>>2];w:{if(P[b+210>>1]){e=2;if(a>>>0>=262144){N[g+12>>2]=262143;a=262143}break w}e=1;if(a>>>0>=131072){N[g+12>>2]=131071;a=131071}}d=a;f=a>>>e|0;N[b+760>>2]=f;a=N[b+16>>2];x:{y:{if(a>>>0>>0){break y}j=a+1|0;if((j|0)==(f|0)){break y}a=j<>2];e=P[b+152>>1];z:{if(e){h=N[b+156>>2];o=h+(e<<4)|0;e=2147483647;while(1){m=N[h+8>>2]-l|0;n=(m|0)>0&(e|0)>(m|0);i=n?1:i;e=n?m:e;h=h+16|0;if(o>>>0>h>>>0){continue}break}if(i&255){break z}}e=N[k+4>>2]-l|0}if(a>>>0<=e>>>0){N[b+760>>2]=j;N[g+12>>2]=a;break x}a=f-1|0;N[b+16>>2]=a>>>0<=f>>>0?a:0}a=d}e=fc(k,a,b+764|0)}La=g+16|0;g=e;if(N[b+724>>2]){if(g){break a}if((g&255)!=142){break t}break a}if(g){break a}}g=gn(b,k);if((g&255)!=142?g:0){break a}a=La-16|0;La=a;A:{if(Qa[N[b+516>>2]](b,1718642541,k,a+12|0)|0){N[b+684>>2]=0;N[b+688>>2]=0;g=0;break A}d=N[a+12>>2];N[b+684>>2]=d;g=fc(k,d,b+688|0)}La=a+16|0;if(g){break a}a=La-16|0;La=a;B:{if(Qa[N[b+516>>2]](b,1886545264,k,a+12|0)|0){N[b+692>>2]=0;N[b+696>>2]=0;g=0;break B}d=N[a+12>>2];N[b+692>>2]=d;g=fc(k,d,b+696|0)}La=a+16|0;if(g){break a}if(!N[b+764>>2]|(N[N[b+128>>2]+52>>2]|!N[b+28>>2])){break s}f=0;d=0;e=La-16|0;La=e;g=N[b+760>>2];C:{if(!g){break C}D:{while(1){bg(b,d,e+12|0);a=d+1|0;h=N[e+12>>2];if(h){break D}d=a;if((a|0)!=(g|0)){continue}break}break C}if((a|0)!=(g|0)){while(1){bg(b,a,e+12|0);if(N[e+12>>2]){break C}a=a+1|0;if((g|0)!=(a|0)){continue}break}if(!h){break C}}if(!d){f=1;break C}if(!b){break C}L[e+4|0]=0;if(!(O[b+9|0]&2)|N[b+16>>2]<=(d|0)){break C}E:{F:{g=N[b+128>>2];a=N[g+40>>2];switch(a+2|0){case 0:break C;case 2:break F;default:break E}}a=N[b+96>>2];h=N[N[a>>2]+32>>2];G:{if(!h){a=0;break G}a=Qa[h|0](a,9592)|0;g=N[b+128>>2]}N[g+40>>2]=a?a:-2}if(!a){break C}a=N[a>>2];if(!a){break C}if(Qa[a|0](b,d,e+4|0,8)|O[e+4|0]!=46){break C}f=!Mb(e+4|0,15265,8)}La=e+16|0;if(!f){break s}N[b+8>>2]=N[b+8>>2]&-2}if(!(!(N[b+8>>2]&256)|c>>>0<65536)){g=fn(b,c>>>16|0);if(g){break a}en(b)}N[b+536>>2]=141;N[b+532>>2]=142;N[b+528>>2]=143;N[b+520>>2]=144;N[b+524>>2]=145;g=0}return g|0}function ch(a,b){var 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;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}e=N[b+12>>2];c=e-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}d=e-6|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}f=N[b+4>>2];d=a+6|0;if(f>>>0>d>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;c:{if(!c){break c}d:{c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break d}e=g-4|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[c|0]|O[c+1|0]<<8;e:{if(!e){break e}if(Lb(c+((e<<8|e>>>8)&65535)|0,b)){break e}e=N[b+28>>2];if(e>>>0>31){break d}N[b+28>>2]=e+1;if(!O[b+24|0]){break d}L[c|0]=0;L[c+1|0]=0}e=c+2|0;if(e>>>0>2]){break d}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<2){break d}g=N[b+12>>2]-2|0;N[b+12>>2]=g;if((g|0)<=0){break d}e=O[e|0]|O[e+1|0]<<8;if(!e){break c}h=c+4|0;if(h>>>0>f>>>0){break d}k=f-h|0;e=(e<<8|e>>>8)&65535;f=e<<1;if(k>>>0>>0){break d}f=g-f|0;N[b+12>>2]=f;if((f|0)<=0){break d}l=e>>>0<=1?1:e;e=0;while(1){j=N[b+4>>2];f=(c+(e<<1)|0)+4|0;if(j>>>0>f>>>0){break d}g=N[b+8>>2];if(g>>>0>>0|g-f>>>0<2){break d}i=N[b+12>>2];h=i-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[f|0]|O[f+1|0]<<8;f:{if(!h){break f}h=c+((h<<8|h>>>8)&65535)|0;g:{if(h>>>0>>0|g>>>0>>0|g-h>>>0<2){break g}j=i-4|0;N[b+12>>2]=j;if((j|0)<=0){break g}i=O[h|0]|O[h+1|0]<<8;if(!i){break f}h=h+2|0;if(h>>>0>g>>>0){break g}k=g-h|0;g=((i<<8|i>>>8)&65535)<<1;if(k>>>0>>0){break g}g=j-g|0;N[b+12>>2]=g;if((g|0)>0){break f}}g=N[b+28>>2];if(g>>>0>31){break d}N[b+28>>2]=g+1;if(!O[b+24|0]){break d}L[f|0]=0;L[f+1|0]=0}e=e+1|0;if((l|0)!=(e|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}e=N[b+4>>2];h=a+8|0;if(e>>>0>h>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-h>>>0<2){break a}g=N[b+12>>2];d=g-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[h|0]|O[h+1|0]<<8;h:{if(!d){break h}i:{f=((d<<8|d>>>8)&65535)+a|0;if(f>>>0>>0|c>>>0>>0|c-f>>>0<2){break i}c=g-4|0;N[b+12>>2]=c;if((c|0)<=0){break i}c=O[f|0]|O[f+1|0]<<8;j:{if(!c){break j}if(Lb(f+((c<<8|c>>>8)&65535)|0,b)){break j}c=N[b+28>>2];if(c>>>0>31){break i}N[b+28>>2]=c+1;if(!O[b+24|0]){break i}L[f|0]=0;L[f+1|0]=0}c=f+2|0;if(c>>>0>2]){break i}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break i}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break i}c=O[c|0]|O[c+1|0]<<8;if(!c){break h}g=f+4|0;if(g>>>0>d>>>0){break i}k=d-g|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(k>>>0>>0){break i}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break i}p=c>>>0<=1?1:c;while(1){e=N[b+4>>2];j=(f+(n<<1)|0)+4|0;if(e>>>0>j>>>0){break i}c=N[b+8>>2];if(c>>>0>>0|c-j>>>0<2){break i}i=N[b+12>>2];d=i-2|0;N[b+12>>2]=d;if((d|0)<=0){break i}d=O[j|0]|O[j+1|0]<<8;k:{if(!d){break k}l:{m:{g=f+((d<<8|d>>>8)&65535)|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<2){break m}d=i-4|0;N[b+12>>2]=d;if((d|0)<=0){break m}e=O[g|0]|O[g+1|0]<<8;if(!e){break k}i=g+2|0;if(i>>>0>c>>>0){break m}k=c-i|0;c=(e<<8|e>>>8)&65535;e=c<<1;if(k>>>0>>0){break m}d=d-e|0;N[b+12>>2]=d;if((d|0)<=0){break m}q=c>>>0<=1?1:c;m=0;while(1){e=N[b+4>>2];d=(g+(m<<1)|0)+2|0;if(e>>>0>d>>>0){break m}i=N[b+8>>2];if(i>>>0>>0|i-d>>>0<2){break m}l=N[b+12>>2];c=l-2|0;N[b+12>>2]=c;if((c|0)<=0){break m}c=O[d|0]|O[d+1|0]<<8;n:{if(!c){break n}k=e;e=g+((c<<8|c>>>8)&65535)|0;o:{p:{q:{if(k>>>0>e>>>0|e>>>0>i>>>0){break q}c=i-e|0;if(c>>>0<2){break q}k=l-4|0;N[b+12>>2]=k;if((k|0)<=0){break q}r:{s:{t:{k=O[e|0]|O[e+1|0]<<8;switch(((k<<8|k>>>8)&65535)-1|0){case 1:break r;case 2:break s;case 0:break t;default:break n}}if(c>>>0<4){break q}c=l-8|0;N[b+12>>2]=c;if((c|0)<=0){break q}break n}if(c>>>0<6){break q}c=l-10|0;N[b+12>>2]=c;if((c|0)<=0){break q}c=e+4|0;if(i>>>0>>0|i-c>>>0<2){break q}i=l-12|0;N[b+12>>2]=i;if((i|0)<=0){break q}i=O[c|0]|O[c+1|0]<<8;if(!i){break n}if(Id(e+((i<<8|i>>>8)&65535)|0,b)){break n}e=N[b+28>>2];if(e>>>0>31){break i}e=e+1|0;N[b+28>>2]=e;if(!O[b+24|0]){break p}break o}if(c>>>0<4){break q}c=l-8|0;N[b+12>>2]=c;if((c|0)>0){break n}}e=N[b+28>>2]}if(e>>>0>31){break i}e=e+1|0;N[b+28>>2]=e;c=d;if(!O[b+24|0]){break l}}L[c|0]=0;L[c+1|0]=0}m=m+1|0;if((q|0)!=(m|0)){continue}break}break k}e=N[b+28>>2]}if(e>>>0>31){break i}N[b+28>>2]=e+1;if(!O[b+24|0]){break i}L[j|0]=0;L[j+1|0]=0}n=n+1|0;if((p|0)!=(n|0)){continue}break}break h}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[h|0]=0;L[h+1|0]=0}c=a+10|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;u:{if(!d){break u}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break u}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){return 1}h=N[b+4>>2];g=a+12|0;c=0;v:{if(h>>>0>g>>>0){break v}f=N[b+8>>2];c=0;if(f>>>0>>0){break v}c=0;if(f-g>>>0<2){break v}j=N[b+12>>2];e=j-2|0;N[b+12>>2]=e;d=1;c=0;if((e|0)<=0){break v}c=O[g|0]|O[g+1|0]<<8;w:{if(!c){break w}x:{e=((c<<8|c>>>8)&65535)+a|0;if(e>>>0>>0|e>>>0>f>>>0|f-e>>>0<2){break x}c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break x}if((O[e|0]|O[e+1|0]<<8)!=256){break w}c=e+2|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break x}h=j-6|0;N[b+12>>2]=h;if((h|0)<=0){break x}c=O[c|0]|O[c+1|0]<<8;if(!c){break w}d=e+4|0;if(d>>>0>f>>>0){break x}k=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<2;if(k>>>0>>0){break x}d=h-d|0;N[b+12>>2]=d;if((d|0)<=0){break x}h=c>>>0<=1?1:c;f=0;while(1){c=(e+(f<<2)|0)+4|0;if(c>>>0>2]){break x}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break x}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break x}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);y:{if(!d){break y}if(d&128){break x}if(Lb(e+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break y}d=N[b+28>>2];if(d>>>0>31){break x}N[b+28>>2]=d+1;if(!O[b+24|0]){break x}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}d=1;f=f+1|0;if((h|0)!=(f|0)){continue}break}break w}d=N[b+28>>2];c=0;if(d>>>0>31){break v}N[b+28>>2]=d+1;d=0;if(!O[b+24|0]){break w}L[g|0]=0;L[g+1|0]=0;d=1}c=d}if(!c){break a}o=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65539){break a}o=Gf(a+14|0,b,a)}return o}function jk(a,b){var 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,t=0;i=La-1376|0;La=i;a:{b:{c:{d:{q=O[a+2|0]|O[a+3|0]<<8;p=q<<8|q>>>8;n=p&65535;switch(n|0){case 0:break b;case 1:break d;default:break c}}e=N[b+96>>2];if(N[e+156>>2]){zc(e);e=N[b+88>>2];c=N[b+96>>2];N[i+80>>2]=N[c+64>>2];ib(c,e,23142,i+80|0)}a=O[a|0]|O[a+1|0]<<8;Oe(b,(a<<8|a>>>8)&65535);r=1;a=N[b+96>>2];if(!N[a+156>>2]){break b}b=N[b+88>>2];N[i+64>>2]=N[a+64>>2]-1;ib(a,b,23188,i- -64|0);break b}e:{if(n>>>0>64){break e}o=N[b+96>>2];h=N[o+64>>2];N[b+36>>2]=n-1;N[b+4>>2]=h;e=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[e+68>>2];d=N[e+64>>2]==(h|0)?O[(N[e+80>>2]+T(h,20)|0)+15|0]:d;e=b+4|0;N[b+32>>2]=a+4;N[b+28>>2]=0;N[b+24>>2]=246;L[b+23|0]=O[b+22|0]?d:0;f=N[o+80>>2]+T(h,20)|0;c=O[f+14|0];d=c&16;f:{g:{h:{i:{j:{k:{if(O[f+12|0]&4){if(!d){k=(c&224)>>>5|0;break j}f=c&15;k=(c&224)>>>5|0;break k}k=(c&224)>>>5|0;f=1;if(!d){break j}}N[i+1120>>2]=h;break i}N[i+1120>>2]=h;l=1;if(c>>>0>=32){s=c&15;if(s){break h}}f=1}c=1;while(1){if(!kc(e,i+96|0)){break f}g=N[e>>2];N[(i+1120|0)+(c<<2)>>2]=g;m=N[o+80>>2]+T(g,20)|0;d=O[m+14|0];j=d&15;l=d&16;if(!((d>>>5|0)==(k|0)|d>>>0<32|(!j|l))){d=0;break e}f=(l?P[m+12>>1]&4?j:1:1)+f|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}break g}f=1;j=1;while(1){if(!kc(e,i+96|0)){break f}g=N[e>>2];N[(i+1120|0)+(j<<2)>>2]=g;l:{c=N[o+80>>2];d=O[(c+T(g,20)|0)+14|0];if((d>>>5|0)==(k|0)){d=((d&16?0:d&15)|0)==(s|0)}else{d=0}m:{if(d){break m}d=0;n:{switch(m|0){case 0:break n;case 1:break e;default:break m}}g=N[o+84>>2];m=g+14|0;d=N[o+72>>2];while(1){if(!d){break l}d=d-1|0;t=T(d,20);c=O[m+t|0];if((c>>>5|0)!=(k|0)){break l}if(!(c&15?c&16:1)){continue}break}if((Jk(e,g+t|0)|0)!=1){break l}g=N[e>>2];c=N[o+80>>2];m=2}d=1;c=T(g,20)+c|0;o:{if(!(O[c+12|0]&4)){break o}c=O[c+14|0];if(!(c&16)){break o}d=c&15}f=d+f|0;j=j+1|0;l=n>>>0>j>>>0;if((j|0)!=(n|0)){continue}break g}break}d=0;if(l&1){break e}g=N[e>>2]}l=g+1|0;d=N[b+96>>2];p:{if(!N[d+156>>2]){o=0;break p}e=zc(d);d=N[b+96>>2];o=N[d+64>>2];C(i+96|0,0,1024);if(q){h=e+h|0;N[i+48>>2]=h;N[i+1120>>2]=h;Ne(i+96|0,1024,8356,i+48|0);if((p&65535)>>>0>=2){j=n>>>0<=1?1:n;k=i+1120|0;c=i+96|0;d=nb(c)+c|0;c=1;while(1){m=(i+1120|0)+(c<<2)|0;g=e+N[m>>2]|0;N[m>>2]=g;L[d|0]=44;N[i+32>>2]=g;d=d+1|0;Ne(d,k-d|0,8356,i+32|0);d=nb(d)+d|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}}d=N[b+96>>2]}l=e+l|0;e=N[b+88>>2];N[i+16>>2]=i+96;ib(d,e,11458,i+16|0);d=N[b+96>>2]}e=O[a|0]|O[a+1|0]<<8;a=N[d+64>>2];if(l-a>>>0>=2){Ib(d,a,l)}c=1;j=N[d+80>>2];h=P[(j+T(h,20)|0)+12>>1];a=!(h&8);g=!(h&2);q:{if((p&65535)>>>0<=1){break q}while(1){if(O[(j+T(N[(i+1120|0)+(c<<2)>>2],20)|0)+12|0]&8){c=c+1|0;if((n|0)!=(c|0)){continue}break q}break}a=1;g=1}m=0;l=a&g;if((l|0)==1){c=O[d+141|0];while(1){c=c+1&255;c=c>>>0<=1?1:c;if(!(c&7)){continue}break}L[d+141|0]=c;m=c<<5&224}h=(e<<8|e>>>8)&65535;e=j+T(N[d+64>>2],20)|0;g=O[e+14|0];j=O[e+12|0];r:{if(!l){break r}L[e+14|0]=f&15|m|16;e=N[d+80>>2]+T(N[d+64>>2],20)|0;c=P[e+16>>1];if((c&31)!=12){break r}M[e+16>>1]=c&224|7}N[b+116>>2]=N[b+116>>2]|1<<(h>>>4);N[b+120>>2]=N[b+120>>2]|1<>2]=N[b+124>>2]|1<<(h>>>9);e=N[b+160>>2];if((e|0)!=-1){c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=e}e=N[b+96>>2];e=N[e+80>>2]+T(N[e+64>>2],20)|0;s:{if(O[b+148|0]){c=Uc(N[b+104>>2],h)|48;break s}c=l?52:P[e+12>>1]&65423|48}M[e+12>>1]=c;t:{u:{c=N[b+96>>2];e=N[c+72>>2]+1|0;v:{if(!(!e|e>>>0>2])){if(!gb(c,e)){break v}}e=N[c+84>>2];w:{if((e|0)!=N[c+80>>2]){break w}f=N[c+72>>2];if(f+1>>>0<=N[c+64>>2]+1>>>0){break w}if(!O[c+62|0]){break t}k=N[c+88>>2];N[c+84>>2]=k;f=T(f,20);if(!f){break w}F(k,e,f)}f=N[c+68>>2];e=N[c+64>>2];if(f>>>0>>0){break u}x:{if(e>>>0>>0){f=N[c+72>>2];k=N[c+84>>2];e=N[c+80>>2]+T(e,20)|0;break x}k=N[c+84>>2];f=N[c+72>>2];e=f-1|0;e=k+T(e>>>0<=f>>>0?e:0,20)|0}f=T(f,20)+k|0;k=N[e+4>>2];N[f>>2]=N[e>>2];N[f+4>>2]=k;N[f+16>>2]=N[e+16>>2];k=N[e+12>>2];N[f+8>>2]=N[e+8>>2];N[f+12>>2]=k;N[f>>2]=h;N[c+64>>2]=N[c+64>>2]+1;N[c+72>>2]=N[c+72>>2]+1}h=j&4?g&16?g&15:1:1;f=0-h|0;y:{if((p&65535)>>>0<2){e=h;break y}c=N[d+64>>2];k=1;e=h;while(1){z:{p=(i+1120|0)+(k<<2)|0;g=N[p>>2];if(g>>>0<=c>>>0){break z}if(l){q=f+h|0;while(1){if(!O[d+60|0]){break z}f=N[d+80>>2]+T(c,20)|0;c=O[f+14|0];c=c&16?0:c&15;c=c?c:e;L[f+14|0]=q+(c>>>0>>0?c:e)&15|m;A:{B:{if(O[d+62|0]){f=N[d+84>>2];j=N[d+80>>2];c=N[d+72>>2];if(!((f|0)==(j|0)&(c|0)==N[d+64>>2])){c=c+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break B}j=N[d+80>>2];f=N[d+84>>2]}C:{if((f|0)!=(j|0)){break C}c=N[d+72>>2];if(c+1>>>0<=N[d+64>>2]+1>>>0){f=j;break C}if(!O[d+62|0]){break a}f=N[d+88>>2];N[d+84>>2]=f;c=T(c,20);if(!c){break C}F(f,j,c);f=N[d+84>>2];j=N[d+80>>2]}c=T(N[d+72>>2],20)+f|0;f=T(N[d+64>>2],20)+j|0;g=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=g;N[c+16>>2]=N[f+16>>2];g=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=g;g=N[p>>2];c=N[d+72>>2]}N[d+72>>2]=c+1}c=N[d+64>>2]+1|0;N[d+64>>2]=c;break A}c=N[d+64>>2]}if(c>>>0>>0){continue}break}break z}if(!O[d+60|0]){break z}e=1;if(!O[d+62|0]){N[d+64>>2]=g;c=g;break z}while(1){D:{E:{if(e&255){e=N[d+84>>2];f=N[d+80>>2];j=N[d+72>>2];if((e|0)!=(f|0)|(j|0)!=(c|0)){c=j+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break E}f=N[d+80>>2];e=N[d+84>>2]}F:{if((e|0)!=(f|0)){break F}c=N[d+72>>2];if(c+1>>>0<=N[d+64>>2]+1>>>0){e=f;break F}if(!O[d+62|0]){break a}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break F}F(e,f,c);e=N[d+84>>2];f=N[d+80>>2]}c=T(N[d+64>>2],20)+f|0;f=N[c+4>>2];e=T(N[d+72>>2],20)+e|0;N[e>>2]=N[c>>2];N[e+4>>2]=f;N[e+16>>2]=N[c+16>>2];f=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=f;g=N[p>>2];c=N[d+64>>2];e=N[d+72>>2]}else{e=c}N[d+72>>2]=e+1}c=c+1|0;N[d+64>>2]=c;break D}c=N[d+64>>2]}if(!O[d+60|0]|c>>>0>=g>>>0){break z}e=O[d+62|0];continue}}e=N[d+80>>2]+T(c,20)|0;f=P[e+12>>1];g=O[e+14|0];c=c+1|0;N[d+64>>2]=c;e=f&4?g&16?g&15:1:1;f=0-e|0;h=e+h|0;k=k+1|0;if((n|0)!=(k|0)){continue}break}}G:{if(!(g>>>0>31&a)){break G}c=N[d+64>>2];if(c>>>0>=Q[d+68>>2]){break G}f=f+h|0;while(1){h=N[d+80>>2]+T(c,20)|0;a=O[h+14|0];if(((a^g)&255)>>>0>31|a&16){break G}a=a&15;if(!a){break G}L[h+14|0]=f+(a>>>0>e>>>0?e:a)&15|m;c=c+1|0;if(c>>>0>2]){continue}break}}r=1;a=N[b+96>>2];if(!N[a+156>>2]){break b}zc(a);a=N[b+88>>2];b=N[b+96>>2];N[i>>2]=o;ib(b,a,17426,i);break b}ba(13080,14165,312,10949);B()}break a}d=N[i+96>>2]}a=N[b+96>>2];if(!(O[a+16|0]&64)){break b}wb(a,2,N[a+64>>2],d,1,0)}La=i+1376|0;return r}ba(8694,17855,209,11932);B()}function yi(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0;g=La-320|0;La=g;r=S[d>>3];j=S[d+24>>3];n=S[d+8>>3];t=S[d+32>>3];l=r*j+n*t;a:{r=r*t-j*n;o=r<0?1:2;b:{c:{if(o&e){j=V(r);n=S[d+16>>3];v=j*n;t=S[d+40>>3];z=j*t;d:{s=n*l+t;if(!(sx)){break d}m=e;e:{n=(s*t+n*x)*.5;if(!(n>2]=o|N[a+56>>2];break f}k=N[b+4>>2];q=N[b>>2];p=o&(N[a+60>>2]^-1);n=S[a+88>>3]*S[a+24>>3];g:{if(V(n)<2147483648){m=~~n;break g}m=-2147483648}h=p&1;n=S[a+80>>3]*S[a+16>>3];h:{if(V(n)<2147483648){i=~~n;break h}i=-2147483648}if(h){N[g+148>>2]=k+m;N[g+144>>2]=i+q;u=N[a>>2];h=N[g+148>>2];N[g+136>>2]=N[g+144>>2];N[g+140>>2]=h;h=0;if(!Fb(u,g+136|0,1)){break b}}if(p>>>0<2){break f}N[g+148>>2]=k-m;N[g+144>>2]=q-i;m=N[a+4>>2];i=N[g+148>>2];N[g+128>>2]=N[g+144>>2];N[g+132>>2]=i;h=0;if(!Fb(m,g+128|0,1)){break b}}N[a+60>>2]=o|N[a+60>>2];i:{if(s<0|x<0){k=N[b+4>>2];j=S[a+24>>3]*0;j:{if(V(j)<2147483648){m=~~j;break j}m=-2147483648}q=o&1;j=S[a+16>>3]*0;k:{if(V(j)<2147483648){i=~~j;break k}i=-2147483648}p=N[b>>2];if(q){N[g+148>>2]=k+m;N[g+144>>2]=i+p;u=N[a>>2];h=N[g+148>>2];N[g+104>>2]=N[g+144>>2];N[g+108>>2]=h;h=0;if(!Fb(u,g+104|0,1)){break b}}if(!(r<0)){N[g+148>>2]=k-m;N[g+144>>2]=p-i;m=N[a+4>>2];i=N[g+148>>2];N[g+96>>2]=N[g+144>>2];N[g+100>>2]=i;h=0;if(!Fb(m,g+96|0,1)){break b}}k=N[b+20>>2];p=N[b+16>>2];j=S[a+24>>3]*0;l:{if(V(j)<2147483648){m=~~j;break l}m=-2147483648}j=S[a+16>>3]*0;m:{if(V(j)<2147483648){i=~~j;break m}i=-2147483648}if(q){N[g+148>>2]=k+m;N[g+144>>2]=i+p;q=N[a>>2];h=N[g+148>>2];N[g+88>>2]=N[g+144>>2];N[g+92>>2]=h;h=0;if(!Fb(q,g+88|0,1)){break b}}if(r<0){break i}N[g+148>>2]=k-m;N[g+144>>2]=p-i;m=N[a+4>>2];i=N[g+148>>2];N[g+80>>2]=N[g+144>>2];N[g+84>>2]=i;h=0;if(Fb(m,g+80|0,1)){break i}break b}j=s/j;n=j*S[d+8>>3]*S[a+24>>3];n:{if(V(n)<2147483648){m=~~n;break n}m=-2147483648}h=o&1;k=N[b+4>>2];j=j*S[d>>3]*S[a+16>>3];o:{if(V(j)<2147483648){i=~~j;break o}i=-2147483648}q=N[b>>2];if(h){N[g+148>>2]=k+m;N[g+144>>2]=i+q;p=N[a>>2];h=N[g+148>>2];N[g+120>>2]=N[g+144>>2];N[g+124>>2]=h;h=0;if(!Fb(p,g+120|0,1)){break b}}if(r<0){break i}N[g+148>>2]=k-m;N[g+144>>2]=q-i;m=N[a+4>>2];i=N[g+148>>2];N[g+112>>2]=N[g+144>>2];N[g+116>>2]=i;h=0;if(!Fb(m,g+112|0,1)){break b}}m=(o^-1)&e;if(m){break e}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;h=1;break b}i=e^o;break c}i=(l+v<1?l+z<1?o:0:0)^e}else{i=e}m=e}p:{if(!i){break p}j=l+3;n=l+1;if(!(j*j>3])){break p}j=S[d+16>>3];s=j+j;n=1/n;t=S[d+40>>3];v=S[a+152>>3];if(!(V(r*(s*n-t))>2];l=S[d+32>>3];r=S[d+8>>3];q=N[b>>2];j=S[d+24>>3];t=S[d>>3];A=i^-1;N[a+60>>2]=A&N[a+60>>2];s=S[a+88>>3]*S[a+24>>3];q:{if(V(s)<2147483648){e=~~s;break q}e=-2147483648}p=i&1;s=S[a+80>>3]*S[a+16>>3];r:{if(V(s)<2147483648){o=~~s;break r}o=-2147483648}if(p){N[g+148>>2]=e+k;N[g+144>>2]=o+q;u=N[a>>2];h=N[g+148>>2];N[g+72>>2]=N[g+144>>2];N[g+76>>2]=h;h=0;if(!Fb(u,g+72|0,2)){break b}}C=i&2;if(C){N[g+148>>2]=k-e;N[g+144>>2]=q-o;e=N[a+4>>2];i=N[g+148>>2];N[g+64>>2]=N[g+144>>2];N[g+68>>2]=i;h=0;if(!Fb(e,g- -64|0,2)){break b}}j=n*(t+j);q=N[b+12>>2];u=N[b+8>>2];l=n*(r+l)*S[a+24>>3];s:{if(V(l)<2147483648){i=~~l;break s}i=-2147483648}l=j*S[a+16>>3];t:{if(V(l)<2147483648){o=~~l;break t}o=-2147483648}if(p){k=N[a>>2];p=N[k+4>>2];if(!p){break a}h=0;y=o+u|0;e=y>>31;if((e^y)-e>>>0>268435455){break b}e=i+q|0;w=e>>31;if((e^w)-w>>>0>268435455){break b}h=N[k>>2];u:{if(p>>>0>h>>>0){p=N[k+16>>2];break u}h=0;N[147316]=0;w=p<<1;p=jd(N[k+16>>2],w,8);N[k+16>>2]=p;if(N[147316]){break b}N[k+4>>2]=w;h=N[k>>2]}h=(h<<3)+p|0;N[h>>2]=y;N[h+4>>2]=e;N[k>>2]=N[k>>2]+1}if(C){k=N[a+4>>2];p=N[k+4>>2];if(!p){break a}h=0;o=u-o|0;e=o>>31;if((e^o)-e>>>0>268435455){break b}e=q-i|0;i=e>>31;if((e^i)-i>>>0>268435455){break b}h=N[k>>2];v:{if(p>>>0>h>>>0){i=N[k+16>>2];break v}h=0;N[147316]=0;q=p<<1;i=jd(N[k+16>>2],q,8);N[k+16>>2]=i;if(N[147316]){break b}N[k+4>>2]=q;h=N[k>>2]}i=(h<<3)+i|0;N[i>>2]=o;N[i+4>>2]=e;N[k>>2]=N[k>>2]+1}m=m&A;if(m){break p}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;h=1;break b}i=N[b>>2];o=N[b+16>>2];e=N[b+8>>2];h=N[b+4>>2];k=N[b+12>>2];q=k+N[b+20>>2]|0;N[g+300>>2]=q>>1;h=h+k|0;k=(h+q|0)+2>>2;N[g+292>>2]=k;o=e+o|0;N[g+296>>2]=o>>1;e=e+i|0;N[g+280>>2]=e>>1;N[g+284>>2]=h>>1;q=(e+o|0)+2>>2;N[g+288>>2]=q;i=N[b+4>>2];e=N[b>>2];N[g+272>>2]=e;N[g+276>>2]=i;o=N[b+20>>2];N[g+304>>2]=N[b+16>>2];N[g+308>>2]=o;r=S[c>>3]*.5;S[g+224>>3]=r;l=S[c+8>>3]*.5;S[g+232>>3]=l;j=S[c+16>>3]*.5;S[g+256>>3]=j;n=S[c+24>>3]*.5;S[g+264>>3]=n;l=(l+n)*.5;S[g+248>>3]=l;r=(r+j)*.5;S[g+240>>3]=r;o=g+288|0;j=aa(r*r+l*l);if(j>3]){p=m^-1;N[a+60>>2]=p&N[a+60>>2];l=S[a+88>>3]*S[a+24>>3];w:{if(V(l)<2147483648){b=~~l;break w}b=-2147483648}f=i;i=m&1;l=S[a+80>>3]*S[a+16>>3];x:{if(V(l)<2147483648){c=~~l;break x}c=-2147483648}if(i){N[g+148>>2]=b+f;N[g+144>>2]=c+e;u=N[a>>2];h=N[g+148>>2];N[g+56>>2]=N[g+144>>2];N[g+60>>2]=h;h=0;if(!Fb(u,g+56|0,1)){break b}}u=m&2;if(u){N[g+148>>2]=f-b;N[g+144>>2]=e-c;b=N[a+4>>2];c=N[g+148>>2];N[g+48>>2]=N[g+144>>2];N[g+52>>2]=c;h=0;if(!Fb(b,g+48|0,1)){break b}}b=N[o+4>>2];N[g+40>>2]=N[o>>2];N[g+44>>2]=b;b=N[d+36>>2];N[g+32>>2]=N[d+32>>2];N[g+36>>2]=b;b=N[d+28>>2];N[g+24>>2]=N[d+24>>2];N[g+28>>2]=b;h=0;if(!ye(a,g+40|0,g+24|0,m)){break b}N[a+60>>2]=p&N[a+60>>2];l=S[d+32>>3]*S[a+24>>3];y:{if(V(l)<2147483648){b=~~l;break y}b=-2147483648}l=S[d+24>>3]*S[a+16>>3];z:{if(V(l)<2147483648){c=~~l;break z}c=-2147483648}if(i){N[g+148>>2]=b+k;N[g+144>>2]=c+q;d=N[a>>2];e=N[g+148>>2];N[g+16>>2]=N[g+144>>2];N[g+20>>2]=e;if(!Fb(d,g+16|0,1)){break b}}if(u){N[g+148>>2]=k-b;N[g+144>>2]=q-c;a=N[a+4>>2];b=N[g+148>>2];N[g+8>>2]=N[g+144>>2];N[g+12>>2]=b;if(!Fb(a,g+8|0,1)){break b}}h=1;break b}b=N[d+4>>2];N[g+144>>2]=N[d>>2];N[g+148>>2]=b;b=N[d+12>>2];N[g+152>>2]=N[d+8>>2];N[g+156>>2]=b;n=S[d+16>>3];s=l;l=1/j;S[g+176>>3]=s*l;S[g+184>>3]=j;S[g+168>>3]=r*l;S[g+160>>3]=n*.5;b=N[d+36>>2];N[g+200>>2]=N[d+32>>2];N[g+204>>2]=b;b=N[d+28>>2];N[g+192>>2]=N[d+24>>2];N[g+196>>2]=b;S[g+208>>3]=S[d+40>>3]*.5;h=0;if(!yi(a,g+272|0,g+224|0,g+144|0,m,f)){break b}h=yi(a,o,g+240|0,g+168|0,m,0)}La=g+320|0;return h}ba(9920,18249,281,9160);B()}function wm(){var a=0,b=0;ja(25360,25384,25420,0,25436,2,440648,0,440648,0,9426,25439,3);a=eb(4);N[a>>2]=0;b=eb(4);N[b>>2]=0;ca(25360,440650,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=4;b=eb(4);N[b>>2]=4;ca(25360,440652,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=8;b=eb(4);N[b>>2]=8;ca(25360,8314,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=12;b=eb(4);N[b>>2]=12;ca(25360,440634,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=6;ca(25360,8490,25360,25442,7,a|0,0,0,0,0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25360,16119,584936,25442,8,a|0,584936,25446,9,b|0);ja(25464,25484,25516,0,25436,10,440648,0,440648,0,16003,25439,11);a=eb(4);N[a>>2]=12;b=eb(4);N[b>>2]=13;ca(25464,15914,440720,25442,14,a|0,440720,25446,15,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=17;ca(25464,15901,440720,25442,14,a|0,440720,25446,15,b|0);a=eb(4);N[a>>2]=8;b=eb(4);N[b>>2]=8;ca(25464,15426,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25464,11798,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=20;b=eb(4);N[b>>2]=20;ca(25464,11812,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=24;b=eb(4);N[b>>2]=24;ca(25464,11839,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=28;b=eb(4);N[b>>2]=28;ca(25464,11828,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=32;ca(25464,16733,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=36;ca(25464,17754,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=40;b=eb(4);N[b>>2]=40;ca(25464,15749,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=44;b=eb(4);N[b>>2]=44;ca(25464,8720,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=48;b=eb(4);N[b>>2]=48;ca(25464,18724,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=56;b=eb(4);N[b>>2]=56;ca(25464,18592,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=64;b=eb(4);N[b>>2]=64;ca(25464,15170,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=72;b=eb(4);N[b>>2]=72;ca(25464,16029,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=80;b=eb(4);N[b>>2]=80;ca(25464,15944,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=88;b=eb(4);N[b>>2]=88;ca(25464,15741,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=96;b=eb(4);N[b>>2]=96;ca(25464,8274,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=104;b=eb(4);N[b>>2]=104;ca(25464,9279,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=108;b=eb(4);N[b>>2]=108;ca(25464,19806,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=112;b=eb(4);N[b>>2]=112;ca(25464,19589,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=116;b=eb(4);N[b>>2]=116;ca(25464,19116,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=120;b=eb(4);N[b>>2]=120;ca(25464,15161,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=124;b=eb(4);N[b>>2]=124;ca(25464,12555,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=128;b=eb(4);N[b>>2]=128;ca(25464,11871,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=136;b=eb(4);N[b>>2]=136;ca(25464,7942,584912,25442,22,a|0,584912,25446,23,b|0);ja(25552,25572,25604,0,25436,24,440648,0,440648,0,9260,25439,25);a=eb(4);N[a>>2]=26;b=eb(4);N[b>>2]=27;ca(25552,8828,584920,25442,28,a|0,584928,25446,29,b|0);a=eb(4);N[a>>2]=30;b=eb(4);N[b>>2]=31;ca(25552,12789,584920,25442,28,a|0,584928,25446,29,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=33;ca(25552,15914,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=37;ca(25552,9655,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=38;b=eb(4);N[b>>2]=39;ca(25552,8635,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25552,12056,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=20;b=eb(4);N[b>>2]=20;ca(25552,11954,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=24;b=eb(4);N[b>>2]=24;ca(25552,16007,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=32;ca(25552,19806,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=36;ca(25552,19589,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=40;b=eb(4);N[b>>2]=40;ca(25552,19116,584912,25442,40,a|0,584912,25446,41,b|0);ja(25628,25648,25676,0,25436,42,440648,0,440648,0,20429,25439,43);Aa(25628,5,25696,25716,44,45);a=eb(8);N[a+4>>2]=0;N[a>>2]=46;da(25628,13322,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=48;da(25628,10652,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=49;da(25628,13148,3,25736,25446,50,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=51;da(25628,13760,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=53;da(25628,11425,4,25760,25776,54,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=55;da(25628,7890,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=56;da(25628,9110,5,25792,25812,57,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=58;da(25628,9843,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=59;da(25628,12849,6,25824,25848,60,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=61;da(25628,8981,2,25856,25442,62,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=63;da(25628,9249,2,25864,25442,64,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=65;da(25628,15992,2,25864,25442,64,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=66;da(25628,9237,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=67;da(25628,9005,2,25856,25442,62,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=68;da(25628,15966,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=69;da(25628,10080,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=70;da(25628,10284,4,25760,25776,54,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=71;da(25628,16622,4,25872,25888,72,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=73;da(25628,16125,4,25872,25888,72,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=74;da(25628,9228,3,25896,25908,75,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=76;da(25628,15935,3,25916,25908,77,a|0,0,0);a=eb(4);N[a>>2]=664;b=eb(4);N[b>>2]=664;ca(25628,16451,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=668;b=eb(4);N[b>>2]=668;ca(25628,16901,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=672;b=eb(4);N[b>>2]=672;ca(25628,8975,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=676;b=eb(4);N[b>>2]=676;ca(25628,15816,584912,25442,78,a|0,584912,25446,79,b|0)}function $d(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{if(Q[b+4>>2]>a>>>0){break f}e=N[b+8>>2];if(e>>>0<=a>>>0){break f}c=N[b+12>>2];g=c-1|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break f}g:{h:{switch(O[a|0]-1|0){case 0:d=0;if(e-a>>>0<6){break g}a=c-7|0;N[b+12>>2]=a;break e;case 1:d=0;if(e-a>>>0<5){break g}a=c-6|0;N[b+12>>2]=a;break e;case 2:if(e-a>>>0<9){break f}a=c-10|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break g}a=c-15|0;N[b+12>>2]=a;break e;case 3:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 4:if(e-a>>>0<20){break f}d=c-21|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-37|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 5:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 6:if(e-a>>>0<20){break f}d=c-21|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-37|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 7:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 8:if(e-a>>>0<16){break f}d=c-17|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-29|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 9:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 10:d=0;if(e-a>>>0<3){break g}a=c-4|0;N[b+12>>2]=a;break e;case 11:if(e-a>>>0<7){break f}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!tf(a+1|0,b,a)){break g}i=N[b+4>>2];e=a+4|0;f=0;i:{if(i>>>0>e>>>0){break i}g=N[b+8>>2];f=0;if(g>>>0>>0){break i}f=0;if(g-e>>>0<3){break i}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break i}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);j:{if(!d){break j}a=a+d|0;k:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<24){break k}a=h-27|0;N[b+12>>2]=a;if((a|0)<=0){break k}a=h-51|0;N[b+12>>2]=a;if((a|0)>0){break j}}a=N[b+28>>2];f=0;if(a>>>0>31){break i}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break j}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f;case 12:if(e-a>>>0<7){break f}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!tf(a+1|0,b,a)){break g}i=N[b+4>>2];e=a+4|0;f=0;l:{if(i>>>0>e>>>0){break l}g=N[b+8>>2];f=0;if(g>>>0>>0){break l}f=0;if(g-e>>>0<3){break l}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break l}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);m:{if(!d){break m}a=a+d|0;n:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<28){break n}a=h-31|0;N[b+12>>2]=a;if((a|0)<=0){break n}a=h-55|0;N[b+12>>2]=a;if((a|0)>0){break m}}a=N[b+28>>2];f=0;if(a>>>0>31){break l}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break m}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f;case 13:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 14:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 15:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 16:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 17:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 18:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Tp(a,b);case 19:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 20:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Sp(a,b);case 21:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 22:if(e-a>>>0<14){break f}c=c-15|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Rp(a,b);case 23:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 24:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Sp(a,b);case 25:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 26:if(e-a>>>0<14){break f}c=c-15|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Rp(a,b);case 27:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 28:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 29:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 30:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Tp(a,b);case 31:break h;default:break g}}if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!tf(a+1|0,b,a)){break g}d=tf(a+5|0,b,a)}return d}return 0}return(a|0)>0}i=N[b+4>>2];e=a+1|0;f=0;o:{if(i>>>0>e>>>0){break o}g=N[b+8>>2];f=0;if(g>>>0>>0){break o}f=0;if(g-e>>>0<3){break o}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break o}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);p:{if(!d){break p}a=a+d|0;q:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<3){break q}c=h-6|0;N[b+12>>2]=c;if((c|0)<=0){break q}d=a+1|0;if(d>>>0>g>>>0|g-d>>>0<2){break q}h=h-8|0;N[b+12>>2]=h;c=1;if((h|0)<=0){break q}d=O[d|0]|O[d+1|0]<<8;if(!d){break p}a=a+3|0;if(a>>>0>g>>>0){break q}f=g-a|0;a=T((d<<8|d>>>8)&65535,6);if(f>>>0>>0){break q}a=h-a|0;N[b+12>>2]=a;if((a|0)>0){break p}}a=N[b+28>>2];f=0;if(a>>>0>31){break o}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break p}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f}i=N[b+4>>2];e=a+1|0;f=0;r:{if(i>>>0>e>>>0){break r}g=N[b+8>>2];f=0;if(g>>>0>>0){break r}f=0;if(g-e>>>0<3){break r}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break r}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);s:{if(!d){break s}a=a+d|0;t:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<3){break t}c=h-6|0;N[b+12>>2]=c;if((c|0)<=0){break t}d=a+1|0;if(d>>>0>g>>>0|g-d>>>0<2){break t}h=h-8|0;N[b+12>>2]=h;c=1;if((h|0)<=0){break t}d=O[d|0]|O[d+1|0]<<8;if(!d){break s}a=a+3|0;if(a>>>0>g>>>0){break t}f=g-a|0;a=T((d<<8|d>>>8)&65535,10);if(f>>>0>>0){break t}a=h-a|0;N[b+12>>2]=a;if((a|0)>0){break s}}a=N[b+28>>2];f=0;if(a>>>0>31){break r}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break s}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f}return tf(a+1|0,b,a)}u:{v:{if(Q[b+4>>2]>a>>>0){break v}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break v}d=N[b+12>>2];e=d-8|0;N[b+12>>2]=e;if((e|0)<=0){break v}e=a+1|0;if(e>>>0>c>>>0|c-e>>>0<3){break v}d=d-11|0;N[b+12>>2]=d;c=1;if((d|0)<=0){break v}d=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);w:{if(!d){break w}e=N[b+20>>2];x:{if((e|0)>15){break x}e=e+1|0;N[b+20>>2]=e;if(!e){break x}d=$d(a+d|0,b);N[b+20>>2]=N[b+20>>2]-1;if(d){break w}}c=N[b+28>>2];if(c>>>0>31){break v}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break w}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}break u}c=0}return c}function Wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{b:{c:{d:{e:{f:{g:{h:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break a}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=228;N[e+12>>2]=229;N[e+8>>2]=230;N[e+4>>2]=a;i:{j:{d=O[a+2|0]|O[a+3|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break j;case 1:break i;default:break b}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}d=a+4|0;k=c<<8|c>>>8;i=k&65535;m=i&1;k:{if((c|0)==256){a=0;c=d;break k}h=i&65534;a=0;c=d;while(1){l=a;a=O[c|0]|O[c+1|0]<<8;l=l|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=l|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;c=d;a=0;if((k&65535)>>>0>=4){f=i&65532;while(1){a=1<>2]=a;a=0;if((k&65535)>>>0<4){c=0;break c}f=i&65532;c=0;g=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break c}Ub(a,e+20|0);break b}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=231;N[e+12>>2]=232;N[e+8>>2]=233;N[e+4>>2]=a;l:{m:{d=O[a+2|0]|O[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break d}d=d+4|0;k=c<<8|c>>>8;n=k&65535;m=n&1;n:{if((c|0)==256){c=d;break n}h=n&65534;c=d;while(1){l=f;f=O[c|0]|O[c+1|0]<<8;l=l|1<<(f>>>12|f<<4);f=O[c+2|0]|O[c+3|0]<<8;f=l|1<<(f>>>12|f<<4);c=c+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(m){c=O[c|0]|O[c+1|0]<<8;f=1<<(c>>>12|c<<4)|f}N[e+20>>2]=f;i=n&3;c=d;f=0;if((k&65535)>>>0>=4){h=n&65532;m=0;while(1){f=1<>2]=f;f=0;if((k&65535)>>>0<4){c=0;break e}h=n&65532;c=0;j=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;j=j+4|0;if((h|0)!=(j|0)){continue}break}break e}Ub(d,e+20|0);break d}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=234;N[e+12>>2]=235;N[e+8>>2]=236;N[e+4>>2]=a;d=275552;c=O[a+2|0]|O[a+3|0]<<8;c=((((c<<8|c>>>8)&65535)<<1)+a|0)+4|0;if(O[c|0]|O[c+1|0]<<8){c=c+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}o:{p:{q:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break o}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break o}d=d+4|0;k=c<<8|c>>>8;i=k&65535;m=i&1;a=N[e+20>>2];r:{if((c|0)==256){c=d;break r}h=i&65534;c=d;while(1){l=a;a=O[c|0]|O[c+1|0]<<8;l=l|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=l|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;a=N[e+24>>2];s:{if((k&65535)>>>0<4){c=d;break s}f=i&65532;c=d;while(1){a=1<>2]=a;c=N[e+28>>2];if((k&65535)>>>0>=4){f=i&65532;a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;a=a+4|0;if((f|0)!=(a|0)){continue}break}}if(h){a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c;break o}Ub(d,e+20|0)}t:{u:{v:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break v}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break u}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break t}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a;break a}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}N[e+28>>2]=c}w:{x:{y:{z:{d=N[b+4>>2];c=N[d>>2];if((c|0)>=0){g=N[d+4>>2];f=g+1|0;if(f>>>0<=c>>>0){break z}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){j=$a(N[d+8>>2],T(c,28));if(j){break y}}N[d>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break w}j=N[d+8>>2];break x}N[d>>2]=c;N[d+8>>2]=j;g=N[d+4>>2];f=g+1|0}N[d+4>>2]=f;d=N[e+8>>2];c=T(g,28)+j|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=d;N[c+24>>2]=N[e+28>>2];d=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=d;d=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=d}d=O[a+8|0]|O[a+9|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;A:{B:{C:{f=O[c|0]|O[c+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break B;case 0:break C;default:break A}}d=1;break A}d=O[c+2|0]|O[c+3|0]<<8;d=d?32-W((d<<8|d>>>8)&65535)|0:0}a=O[a+10|0]|O[a+11|0]<<8;a=T((a<<8|a>>>8)&65535,d);d=a>>>0>3?a:0;if(d>>>0<=Q[b+12>>2]){break a}a=N[b+4>>2];if(N[a>>2]<0){break a}a=N[a+4>>2];N[b+12>>2]=d;N[b+8>>2]=a-1;break a}if(h){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c}D:{E:{F:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break F}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break E}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break D}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a}La=e+32|0}function at(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=N[a+872>>2];a:{if(!d|!N[d+20>>2]){break a}f=N[d+36>>2];if(!f){break a}b:{if(O[b+4|0]){N[c>>2]=12;b=N[b>>2];L[c+8|0]=0;N[c+4>>2]=b;b=N[a+88>>2];q=N[b+20>>2];e=q+32>>6;l=N[b+16>>2];f=l+32>>6;g=N[a+128>>2];c:{if(!(L[g+24|0]&1)){b=0;break c}h=N[g>>2];b=h>>31;d=f>>31;d=(d^f)-d|0;j=d>>>8|0;b=(b^h)-b|0;d:{if(j+b>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}f=b&65535;b=T(f,d>>>16|0)+T(d,b>>>16|0)+(T(f,d&65535)+32768>>>16)|0}i=(l|0)<-32;k=h>>31|1;m=0-k|0;h=N[g+4>>2];n=h>>31|1;r=0-n|0;o=e;e=e>>31;f=(o^e)-e|0;p=f>>>8|0;e=h>>31;e=(e^h)-e|0;e:{if(p+e>>>0<=8190){e=T(e,f)+32768>>>16|0;break e}h=e&65535;e=T(h,f>>>16|0)+T(f,e>>>16|0)+(T(h,f&65535)+32768>>>16)|0}k=i?m:k;m=(q|0)<-32?r:n;i=N[g+8>>2];h=i>>31;h=(h^i)-h|0;f:{if(h+j>>>0<=8190){d=T(d,h)+32768>>>16|0;break f}j=h&65535;d=T(j,d>>>16|0)+T(d,h>>>16|0)+(T(j,d&65535)+32768>>>16)|0}h=(k|0)<0;j=0-b|0;k=0-e|0;m=(m|0)<0;i=i>>31|1;l=(((l|0)<-32?0-i|0:i)|0)<0;i=0-d|0;g=N[g+12>>2];n=g>>31|1;r=0-n|0;o=g;g=g>>31;g=(o^g)-g|0;g:{if(g+p>>>0<=8190){g=T(f,g)+32768>>>16|0;break g}p=g&65535;g=T(p,f>>>16|0)+T(f,g>>>16|0)+(T(p,f&65535)+32768>>>16)|0}f=h?j:b;b=m?k:e;h=l?i:d;e=(((q|0)<-32?r:n)|0)<0?0-g|0:g}N[c+28>>2]=e;N[c+24>>2]=h;N[c+16>>2]=b;N[c+12>>2]=f;b=N[a+128>>2];if(O[b+24|0]&2){N[c+20>>2]=N[b+16>>2]<<10;N[c+32>>2]=N[N[a+128>>2]+20>>2]<<10;break b}N[c+32>>2]=0;N[c+20>>2]=0;break b}a=N[b>>2];if(!a){break a}b=N[d+32>>2];if(b>>>0>a>>>0){break a}f=f+N[d+40>>2]|0;if(f>>>0<=a>>>0){break a}g=O[a|0];N[c>>2]=g;if(g>>>0>32){break a}h:{switch(g-1|0){case 0:f=N[d+24>>2];b=O[a+1|0];if(f>>>0>>0){break a}a=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(f>>>0>>0){break a}N[c+4>>2]=b;N[c+8>>2]=0;N[c+12>>2]=(N[d+28>>2]+(a<<2)|0)+4;break b;case 1:b=O[a+1|0]|O[a+2|0]<<8;M[c+4>>1]=b<<8|b>>>8;a=O[a+3|0]|O[a+4|0]<<8;M[c+6>>1]=a<<8|a>>>8;break b;case 10:N[c+4>>2]=O[a+2|0]|O[a+1|0]<<8;break b;default:break h}}h=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);if(!h){break a}o=b;b=a+h|0;if(o>>>0>b>>>0|b>>>0>=f>>>0){break a}i:{switch(g-4|0){case 0:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8;N[c+28>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+10|0]|O[a+11|0]<<8;N[c+32>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+12|0]|O[a+13|0]<<8;N[c+36>>2]=(b<<8|b>>>8)<<16>>16;a=O[a+14|0]|O[a+15|0]<<8;N[c+40>>2]=(a<<8|a>>>8)<<16>>16;break b;case 2:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8;M[c+28>>1]=b<<8|b>>>8;b=O[a+10|0]|O[a+11|0]<<8;N[c+32>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+12|0]|O[a+13|0]<<8;N[c+36>>2]=(b<<8|b>>>8)<<16>>16;a=O[a+14|0]|O[a+15|0]<<8;M[c+40>>1]=a<<8|a>>>8;break b;case 4:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+32>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 6:N[c+4>>2]=b;L[c+8|0]=0;N[c+12>>2]=O[a+5|0]|O[a+4|0]<<8;break b;case 8:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);N[c+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);N[c+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);N[c+32>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 10:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 12:case 14:case 16:case 18:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[c+12>>2]=f;e=a+8|0;j:{switch(g-16|0){case 0:case 2:b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);e=a+12|0;break;default:break j}}N[c+16>>2]=f;k:{l:{switch(g-18|0){case 0:case 4:a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[c+20>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break k;default:break l}}N[c+20>>2]=0;a=0}N[c>>2]=16;N[c+24>>2]=a;break b;case 20:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+20>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 24:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);N[c+24>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 28:break i;default:break a}}N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0];if(b>>>0>26){break a}N[c+12>>2]=b;b=O[a+7|0]|(O[a+6|0]<<8|O[a+5|0]<<16);if(!b){break a}a=a+b|0;if(a>>>0>2]|a>>>0>=N[d+36>>2]+N[d+40>>2]>>>0){break a}L[c+20|0]=0;N[c+16>>2]=a}e=1}return e|0}function fu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=La-16|0;La=j;N[j+8>>2]=0;f=N[e+32>>2];h=N[f+100>>2];a:{b:{c:{if(bb(a,19233,7)){break c}d:{i=O[a+7|0];switch(i|0){case 0:case 9:case 10:case 13:case 32:break d;default:break c}}g=N[f+88>>2];k=(i?-8:-7)+b|0;l=k+1|0;b=g+l|0;if((b|g)<0){c=6;break b}c=N[f+84>>2];e:{f:{g:{if(!b){d=0;if(!c){break g}Qa[N[h+8>>2]](h,c);N[f+84>>2]=0;break e}m=(b|0)<=(g|0);h:{if(!g){d=Qa[N[h+4>>2]](h,b)|0;c=!d<<6;break h}b=Qa[N[h+12>>2]](h,g,b,c)|0;d=b?b:c;c=!b<<6}if(m|c|!d){break f}C(d+g|0,0,l)}N[f+84>>2]=d;break e}N[f+84>>2]=d;if(c){break b}}b=N[f+88>>2]+d|0;F(b,i?a+8|0:a+7|0,k);L[b+k|0]=10;N[f+88>>2]=l+N[f+88>>2];c=0;break a}i:{j:{k:{l:{m:{g=N[e>>2];if(!(g&32)){c=180;if(bb(a,19438,5)){break b}n:{switch(O[a+5|0]){case 0:case 9:case 10:case 13:case 32:break n;default:break b}}c=Kc(e+40|0,22537,a,b);if(c){break b}c=N[N[e+40>>2]+4>>2];if(!c){break m}a=L[c|0];b=a&255;if(!b|!(O[(b>>>3|0)+45040|0]>>>(a&7)&1)){break m}b=0;o:{p:{while(1){if(b>>>0>=429496728){c=f+48|0;a=Q[e+60>>2]/20|0;b=e+4|0;break p}b=O[a+45072|0]+T(b,10)|0;a=L[c+1|0];c=c+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}N[f+48>>2]=b;N[e+4>>2]=b;c=f+48|0;a=Q[e+60>>2]/20|0;if(b>>>0<=a>>>0){a=b;break o}b=e+4|0}N[c>>2]=a;N[b>>2]=a}if(!a){break l}c=6;if(a>>>0>1114111){break b}break k}q:{if(bb(a,19213,7)){break q}r:{switch(O[a+7|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=186;if(g&4032){break b}Zc(N[f+56>>2],N[f+52>>2],36,174);N[e>>2]=N[e>>2]&-2;N[d>>2]=175;c=0;break a}s:{if(bb(a,19733,7)){break s}t:{switch(O[a+7|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break s}}c=0;N[e+28>>2]=0;N[e>>2]=g&-4033;break a}d=g&64;if(!(N[N[e+36>>2]+4>>2]|(!d|N[e+28>>2]!=-1))){c=0;break a}u:{if(bb(a,19723,9)){break u}v:{switch(O[a+9|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break u}}c=181;if(g&4032){break b}c=N[e+24>>2];if(c){Qa[N[h+8>>2]](h,c)}N[e+24>>2]=0;d=e+40|0;c=Kc(d,22537,a,b);if(c){break b}cm(d);d=bm(d,j+12|0);if(!d){c=3;break b}a=e+24|0;c=N[j+12>>2];b=c+1|0;w:{if(c>>>0<=2147483646){c=Qa[N[h+4>>2]](h,b)|0;if(c){break w}break j}c=6;if(b){break i}c=0}N[e+24>>2]=c;F(c,d,b);N[e>>2]=N[e>>2]|64;c=0;break a}x:{y:{z:{if(bb(a,19971,8)){break z}A:{switch(O[a+8|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break z}}c=181;if(!d){break b}c=Kc(e+40|0,22537,a,b);N[j+8>>2]=c;if(c){break b}c=N[e+40>>2];a=am(N[c+4>>2]);b=(a|0)>=0;a=b?a:-1;N[e+28>>2]=a;if(!(Q[e+48>>2]<3|b)){a=am(N[c+8>>2]);N[e+28>>2]=a}if(a-1114112>>>0<=4293853182){N[e+28>>2]=-1;break y}if((a|0)<0){break y}c=N[f+52>>2];B:{if((c|0)!=N[f+48>>2]){b=N[f+56>>2];break B}b=lb(h,36,c,c- -64|0,N[f+56>>2],j+8|0);N[f+56>>2]=b;c=N[j+8>>2];if(c){break b}N[f+48>>2]=N[f+48>>2]- -64;c=N[f+52>>2];a=N[e+28>>2]}N[f+52>>2]=c+1;d=N[e+24>>2];b=T(c,36)+b|0;N[b+4>>2]=a;N[b>>2]=d;break x}c=182;if(!(g&128)){break b}c=N[e+28>>2]==-1;d=N[f+(c?64:52)>>2]-1|0;i=N[f+(c?68:56)>>2];if(g&2048){b=N[e+8>>2];i=i+T(d,36)|0;if(b>>>0>=P[i+14>>1]){c=0;if((g|0)<0){break a}N[e>>2]=g|-2147483648;break a}c=b;b=N[i+28>>2];f=N[i+24>>2]+T(c,b)|0;c=0;d=b<<1;C:{if(!d){b=0;break C}D:{while(1){b=c;g=O[c+a|0];c=g<<24>>24;if(!(O[(g>>>3|0)+45216|0]>>>(c&7)&1)){break D}L[f|0]=O[c+45072|0]+(O[f|0]<<4);c=b+1|0;if(!(!(b&1)|d>>>0<=c>>>0)){L[f+1|0]=0;f=f+1|0}if((c|0)!=(d|0)){continue}break}b=d;break C}c=N[e>>2];if(c&1073741824){break C}N[e>>2]=c|1073741824}c=P[i+12>>1];if(c){L[f|0]=O[f|0]&O[(T(c,P[N[e+32>>2]+96>>1])&7)+45200|0]}E:{if((b|0)!=(d|0)){break E}a=O[a+d|0];if(!(O[(a>>>3|0)+45216|0]>>>(a&7)&1)){break E}a=N[e>>2];if(a&1073741824){break E}N[e>>2]=a|1073741824}N[e+8>>2]=N[e+8>>2]+1;c=N[j+8>>2];if(c){break b}c=0;break a}F:{if(bb(a,19942,6)){break F}G:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break G;default:break F}}c=Kc(e+40|0,22537,a,b);if(c){break b}n=i+T(d,36)|0,o=Ye(N[N[e+40>>2]+4>>2]),M[n+8>>1]=o;N[e>>2]=N[e>>2]|256;c=0;break a}H:{if(bb(a,19949,6)){break H}I:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}c=Kc(e+40|0,22537,a,b);if(c){break b}a=i+T(d,36)|0;b=Ye(N[N[e+40>>2]+4>>2]);M[a+10>>1]=b;c=N[e>>2];if(!(c&256)){n=a,o=jb(b&65535,72e3,T(N[f+20>>2],N[f+16>>2])),M[n+8>>1]=o}N[e>>2]=c|512;c=0;break a}c=3;J:{if(bb(a,18801,3)){break J}K:{switch(O[a+3|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}c=Kc(e+40|0,22537,a,b);if(c){break b}a=i+T(d,36)|0;c=N[e+40>>2];h=Tf(N[c+4>>2]);M[a+12>>1]=h;g=Tf(N[c+8>>2]);M[a+14>>1]=g;b=Ze(N[c+12>>2]);M[a+16>>1]=b;c=Ze(N[c+16>>2]);M[a+18>>1]=c;k=0-c|0;M[a+22>>1]=k;c=c+g|0;M[a+20>>1]=c;g=b+h|0;M[e+22>>1]=g;c=c<<16>>16;l=M[e+18>>1];M[e+18>>1]=(c|0)>(l|0)?c:l;c=M[e+20>>1];k=k<<16>>16;M[e+20>>1]=(c|0)>(k|0)?c:k;c=g<<16>>16;g=M[e+16>>1];M[e+16>>1]=(c|0)>(g|0)?c:g;c=M[e+12>>1];M[e+12>>1]=(b|0)<(c|0)?b:c;c=M[e+14>>1];M[e+14>>1]=(b|0)>(c|0)?b:c;c=N[e>>2];if(!(c&512)){M[a+10>>1]=h}L:{if(!N[N[e+36>>2]>>2]){break L}a=i+T(d,36)|0;d=P[a+8>>1];b=jb(P[a+10>>1],72e3,T(N[f+20>>2],N[f+16>>2]));if((d|0)==(b&65535)){break L}M[a+8>>1]=b;c=c|4096}N[e>>2]=c|1024;c=0;break a}if(bb(a,19744,6)){break b}M:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break b}}c=183;if(!(g&1024)){break b}a=i+T(d,36)|0;f=T(P[f+96>>1],P[a+12>>1]);b=f+7>>>3|0;N[a+28>>2]=b;c=184;if(f>>>0>524280){break b}a=T(b,P[a+14>>1]);if(a>>>0>65535){break b}b=i+T(d,36)|0;M[b+32>>1]=a;c=0;f=0;N:{if((a|0)>0){f=Qa[N[h+4>>2]](h,a)|0;if(!f){break N}C(f,0,a)}N[b+24>>2]=f;N[e+8>>2]=0;N[e>>2]=N[e>>2]|2048;break a}a=(i+T(d,36)|0)+24|0;break j}if(N[N[e+36>>2]+4>>2]){a=N[f+64>>2];O:{if((a|0)!=N[f+60>>2]){b=N[f+68>>2];break O}b=lb(h,36,a,a+4|0,N[f+68>>2],j+8|0);N[f+68>>2]=b;c=N[j+8>>2];if(c){break b}N[f+60>>2]=N[f+60>>2]+4;a=N[f+64>>2]}b=T(a,36)+b|0;N[b>>2]=N[e+24>>2];N[f+64>>2]=a+1;N[b+4>>2]=a;break x}a=N[e+24>>2];if(!a){break x}Qa[N[h+8>>2]](h,a)}c=0;N[e+24>>2]=0;N[e>>2]=N[e>>2]&1073741695|128;break a}N[f+48>>2]=0;N[e+4>>2]=0;c=f+48|0}a=64;N[c>>2]=64}b=T(a,36);a=Qa[N[h+4>>2]](h,b)|0;if(a){c=0;C(a,0,b);N[f+56>>2]=a;N[e>>2]=N[e>>2]|32;break a}a=f+56|0}c=64}N[a>>2]=0}if(!(O[e|0]&64)){break a}a=N[e+24>>2];if(a){Qa[N[h+8>>2]](h,a)}N[e+24>>2]=0}La=j+16|0;return c|0}function Vk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{b:{c:{d:{e:{f:{g:{h:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break a}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=237;N[e+12>>2]=238;N[e+8>>2]=239;N[e+4>>2]=a;i:{j:{d=O[a+2|0]|O[a+3|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break j;case 1:break i;default:break b}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}d=a+4|0;l=c<<8|c>>>8;i=l&65535;m=i&1;k:{if((c|0)==256){a=0;c=d;break k}h=i&65534;a=0;c=d;while(1){k=a;a=O[c|0]|O[c+1|0]<<8;k=k|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=k|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;c=d;a=0;if((l&65535)>>>0>=4){f=i&65532;while(1){a=1<>2]=a;a=0;if((l&65535)>>>0<4){c=0;break c}f=i&65532;c=0;g=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break c}Ub(a,e+20|0);break b}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=240;N[e+12>>2]=241;N[e+8>>2]=242;N[e+4>>2]=a;l:{m:{d=O[a+2|0]|O[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break d}d=d+4|0;l=c<<8|c>>>8;n=l&65535;m=n&1;n:{if((c|0)==256){c=d;break n}h=n&65534;c=d;while(1){k=f;f=O[c|0]|O[c+1|0]<<8;k=k|1<<(f>>>12|f<<4);f=O[c+2|0]|O[c+3|0]<<8;f=k|1<<(f>>>12|f<<4);c=c+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}k=e;if(m){c=O[c|0]|O[c+1|0]<<8;f=1<<(c>>>12|c<<4)|f}N[k+20>>2]=f;i=n&3;c=d;f=0;if((l&65535)>>>0>=4){h=n&65532;m=0;while(1){f=1<>2]=f;f=0;if((l&65535)>>>0<4){c=0;break e}h=n&65532;c=0;j=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;j=j+4|0;if((h|0)!=(j|0)){continue}break}break e}Ub(d,e+20|0);break d}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=243;N[e+12>>2]=244;N[e+8>>2]=245;N[e+4>>2]=a;o:{p:{q:{d=O[a+6|0]|O[a+7|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break o}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break o}d=a+4|0;l=c<<8|c>>>8;i=l&65535;m=i&1;a=N[e+20>>2];r:{if((c|0)==256){c=d;break r}h=i&65534;c=d;while(1){k=a;a=O[c|0]|O[c+1|0]<<8;k=k|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=k|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;a=N[e+24>>2];s:{if((l&65535)>>>0<4){c=d;break s}f=i&65532;c=d;while(1){a=1<>2]=a;c=N[e+28>>2];if((l&65535)>>>0>=4){f=i&65532;a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;a=a+4|0;if((f|0)!=(a|0)){continue}break}}if(h){a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c;break o}Ub(a,e+20|0)}t:{u:{v:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break v}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break u}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break t}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a;break a}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}N[e+28>>2]=c}w:{x:{y:{z:{d=N[b+4>>2];c=N[d>>2];if((c|0)>=0){g=N[d+4>>2];f=g+1|0;if(f>>>0<=c>>>0){break z}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){j=$a(N[d+8>>2],T(c,28));if(j){break y}}N[d>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break w}j=N[d+8>>2];break x}N[d>>2]=c;N[d+8>>2]=j;g=N[d+4>>2];f=g+1|0}N[d+4>>2]=f;d=N[e+8>>2];c=T(g,28)+j|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=d;N[c+24>>2]=N[e+28>>2];d=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=d;d=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=d}d=O[a+4|0]|O[a+5|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;A:{B:{C:{f=O[c|0]|O[c+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break B;case 0:break C;default:break A}}d=1;break A}d=O[c+2|0]|O[c+3|0]<<8;d=d?32-W((d<<8|d>>>8)&65535)|0:0}a=O[a+6|0]|O[a+7|0]<<8;a=T((a<<8|a>>>8)&65535,d);d=a>>>0>3?a:0;if(d>>>0<=Q[b+12>>2]){break a}a=N[b+4>>2];if(N[a>>2]<0){break a}a=N[a+4>>2];N[b+12>>2]=d;N[b+8>>2]=a-1;break a}if(h){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c}D:{E:{F:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break F}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break E}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break D}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a}La=e+32|0}function uo(a,b){var 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,t=0,u=0,w=0,y=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;h=La-880|0;La=h;a:{b:{c:{d:{e:{if(b<.5){N[a>>2]=0;N[a+4>>2]=4;N[h+24>>2]=0;N[h+28>>2]=0;N[h+16>>2]=0;N[h+20>>2]=0;d=b*.085*b*b;S[h+8>>3]=d;S[h>>3]=b*.5+d*-4;l=4;break e}m=1-Vd(aa(b*.11569+.20591047),a);f=+N[a>>2]*-2;A(+f);c=v(1)|0;v(0)|0;c=c>>>20&2047;f:{if(c-969>>>0>=63){d=f+1;if(c>>>0<969){break f}A(+f);e=v(1)|0;g=v(0)|0;g:{if(c>>>0<1033){break g}d=0;if(!g&(e|0)==-1048576){break f}d=f+1;if(c>>>0>=2047){break f}if((e|0)>0|(e|0)>=0){c=La-16|0;S[c+8>>3]=3105036184601418e216;d=S[c+8>>3]*3105036184601418e216;break f}if(e>>>0<3230714880){break g}c=La-16|0;S[c+8>>3]=12882297539194267e-247;d=S[c+8>>3]*12882297539194267e-247;break f}i=c;c=e<<1|g>>>31;c=!(g<<1)&(c|0)==-2129002496|c>>>0<2165964800?i:0}d=S[136];o=d+f;d=f-(o-d);f=d*d;p=f*f*(d*S[141]+S[140]);f=f*(d*S[139]+S[138]);d=d*S[137];A(+o);v(1)|0;j=v(0)|0;g=j<<4&2032;d=p+(f+(d+S[g+1136>>3]));g=g+1144|0;i=N[g>>2];l=N[g+4>>2];g=0+i|0;e=(j<<13)+l|0;e=g>>>0>>0?e+1|0:e;if(!c){h:{if(!(j&-2147483648)){x(0,g|0);x(1,e+-1048576|0);f=+z();d=f*d+f;d=d+d;break h}x(0,g|0);x(1,e+1071644672|0);f=+z();o=f*d;d=o+f;if(d<1){c=La-16|0;N[c+8>>2]=0;N[c+12>>2]=1048576;S[c+8>>3]=S[c+8>>3]*22250738585072014e-324;p=d+1;d=p+(o+(f-d)+(d+(1-p)))+-1;d=d==0?0:d}d=d*22250738585072014e-324}break f}x(0,g|0);x(1,e|0);f=+z();d=f*d+f}f=m*(d*.8335+10.1525);i:{if(V(f)<2147483648){g=~~f;break i}g=-2147483648}l=(g|0)>=4?4:8-g|0;N[a+4>>2]=l;if((l|0)>=9){break d}C(h+784|0,0,88);s=((d*-.013558201058201057+.022569444444444444)*d+-.010416666666666666)*d+.0014054232804232803;f=s+0;q=((d*.08134920634920635+-.04513888888888889)*d+-.0763888888888889)*d+.04017857142857143;t=((d*.27116402116402116+.09027777777777778)*d+.20833333333333334)*d+.43022486772486773;o=t*0;r=((d*-.20337301587301587+-.022569444444444444)*d+-.017361111111111112)*d+.24330357142857142;p=o+r*0;S[h+784>>3]=f*s+(q*0+p);m=q+0;E=m*s;S[h+776>>3]=E+(f*q+p);p=r+0;u=p*s;S[h+768>>3]=u+(m*q+(o+r*f));f=t+0;S[h+760>>3]=f*s+(p*q+(s*t+r*m));m=f*q;f=s+r;S[h+752>>3]=u+(m+(q*t+r*f));S[h+744>>3]=E+(f*q+(r*t+r*(q+t)));u=(s+s)*s+((q+q)*q+(t*t+r*(r+r)));S[h+736>>3]=u;e=0;f=.5/(d*b);b=-f;A(+b);c=v(1)|0;v(0)|0;j:{k:{l:{c=c>>>20&2047;if(c-969>>>0<63){e=c;break l}d=b+1;if(c>>>0<969){break j}if(c>>>0<1033){break l}A(+b);e=v(1)|0;d=0;if(!(v(0)|0)&(e|0)==-1048576){break k}d=b+1;if(c>>>0>=2047){break j}if((e|0)<0){c=La-16|0;S[c+8>>3]=12882297539194267e-247;d=S[c+8>>3]*12882297539194267e-247;break j}c=La-16|0;S[c+8>>3]=3105036184601418e216;d=S[c+8>>3]*3105036184601418e216;break j}d=S[129];m=S[128]*b+d;d=m-d;b=d*S[131]+(d*S[130]+b);d=b*b;o=d*d*(b*S[135]+S[134]);d=d*(b*S[133]+S[132]);A(+m);v(1)|0;j=v(0)|0;i=j<<4&2032;b=o+(d+(S[i+1136>>3]+b));i=i+1144|0;c=0+N[i>>2]|0;i=N[i+4>>2]+(j<<13)|0;i=c>>>0>>0?i+1|0:i;if(!e){m:{if(!(j&-2147483648)){x(0,c|0);x(1,i-1058013184|0);d=+z();d=(d*b+d)*5486124068793689e288;break m}x(0,c|0);x(1,i+1071644672|0);d=+z();m=d*b;b=m+d;if(b<1){c=La-16|0;N[c+8>>2]=0;N[c+12>>2]=1048576;S[c+8>>3]=S[c+8>>3]*22250738585072014e-324;o=b+1;b=o+(m+(d-b)+(b+(1-o)))+-1;b=b==0?0:b}d=b*22250738585072014e-324}break j}x(0,c|0);x(1,i|0);d=+z();d=d*b+d}}f=aa(f/3.141592653589793);b=d*f;S[h+648>>3]=b;S[h+640>>3]=f;if((l|0)<-1){break a}m=d*d;e=l+3|0;c=2;while(1){d=m*d;b=b*d;S[(h+640|0)+(c<<3)>>3]=b;i=(c|0)!=(e|0);c=c+1|0;if(i){continue}break}c=0;if((l|0)<0){break a}E=S[h+664>>3];d=S[h+648>>3];b=d;p=S[h+656>>3];m=p;while(1){o=b;b=f;f=d;d=p;e=(h+640|0)+(c<<3)|0;p=S[e+24>>3];S[e>>3]=(E+p)*s+((d+m)*q+(b*t+r*(f+o)));e=(c|0)==(l|0);c=c+1|0;E=m;m=o;if(!e){continue}break}e=0;if((l|0)<=0){break a}b=u*3;while(1){i=e;y=(h+128|0)+(e<<6)|0;D=e<<3;e=e+1|0;d=S[(h+736|0)+(e<<3)>>3];S[y+D>>3]=d*-4+(b+S[((i<<4)+h|0)+752>>3]);if((e|0)<(l|0)){d=u-d;G=i+2|0;c=e;while(1){k=h+736|0;j=c+1|0;f=d-S[k+(j<<3)>>3];f=f+f+(S[k+(c+G<<3)>>3]+S[k+(c-i<<3)>>3]);S[D+((h+128|0)+(c<<6)|0)>>3]=f;S[y+(c<<3)>>3]=f;c=j;if((l|0)!=(c|0)){continue}break}}if((e|0)!=(l|0)){continue}break}G=l&-4;y=l&3;H=l&-2;D=l&1;w=((g|0)<=4?4:g)+3|0;J=w-g|0;k=0;while(1){I=k<<3;i=(h+128|0)+(k<<6)|0;c=I+i|0;b=S[c>>3];N[c>>2]=0;N[c+4>>2]=1072693248;b=1/b;e=0;while(1){n:{if((e|0)==(k|0)){break n}j=(h+128|0)+(e<<6)|0;c=j+I|0;d=S[c>>3];N[c>>2]=0;N[c+4>>2]=0;d=b*d;c=0;if((g|0)!=(w|0)){while(1){n=c<<3;F=n+j|0;S[F>>3]=S[F>>3]-S[i+n>>3]*d;n=n|8;F=n+j|0;S[F>>3]=S[F>>3]-S[i+n>>3]*d;c=c+2|0;if((H|0)!=(c|0)){continue}break}}if(!D){break n}c=c<<3;j=c+j|0;S[j>>3]=S[j>>3]-S[c+i>>3]*d}e=e+1|0;if((l|0)!=(e|0)){continue}break}j=0;c=0;if(J>>>0>=3){while(1){e=c<<3;n=e+i|0;S[n>>3]=b*S[n>>3];n=i+(e|8)|0;S[n>>3]=b*S[n>>3];n=i+(e|16)|0;S[n>>3]=b*S[n>>3];e=i+(e|24)|0;S[e>>3]=b*S[e>>3];c=c+4|0;if((G|0)!=(c|0)){continue}break}}if(y){while(1){e=i+(c<<3)|0;S[e>>3]=b*S[e>>3];c=c+1|0;j=j+1|0;if((y|0)!=(j|0)){continue}break}}k=k+1|0;if((k|0)!=(l|0)){continue}break}c=0;b=S[h+640>>3];if((g|0)!=(w|0)){while(1){g=c<<3;e=g|8;k=g;g=h- -64|0;i=h+640|0;S[k+g>>3]=S[i+e>>3]+(u-S[e+(h+736|0)>>3]-b);g=e+g|0;c=c+2|0;e=c<<3;S[g>>3]=S[e+i>>3]+(u-S[e+(h+736|0)>>3]-b);if((c|0)!=(H|0)){continue}break}}if(D){e=c<<3;c=e+8|0;S[e+(h- -64|0)>>3]=S[c+(h+640|0)>>3]+(u-S[c+(h+736|0)>>3]-b)}e=l&-4;j=0;H=J>>>0<3;while(1){g=0;d=0;c=0;b=0;if(!H){while(1){i=(h+128|0)+(j<<6)|0;c=g<<3;k=c|24;b=S[i+k>>3];n=k;I=h- -64|0;k=I;w=c|16;m=S[w+i>>3]*S[k+w>>3];w=c|8;d=b*S[n+k>>3]+(m+(S[w+i>>3]*S[w+k>>3]+(S[c+i>>3]*S[c+k>>3]+d)));g=g+4|0;if((G|0)!=(g|0)){continue}break}c=e;b=d}g=0;if(y){while(1){i=c<<3;c=c+1|0;b=S[i+((h+128|0)+(j<<6)|0)>>3]*S[i+(h- -64|0)>>3]+b;d=b;g=g+1|0;if((y|0)!=(g|0)){continue}break}}S[(j<<3)+h>>3]=d<0?0:d;j=j+1|0;if((j|0)!=(l|0)){continue}break}c=0;if((l|0)==1){break b}}i=l&-2;e=a+8|0;while(1){k=e+(c<<1)|0;b=S[(c<<3)+h>>3]*65536+.5;o:{if(V(b)<2147483648){g=~~b;break o}g=-2147483648}M[k>>1]=g;g=c|1;k=e+(g<<1)|0;b=S[(g<<3)+h>>3]*65536+.5;p:{if(V(b)<2147483648){g=~~b;break p}g=-2147483648}M[k>>1]=g;c=c+2|0;if((i|0)!=(c|0)){continue}break}break c}ba(21524,18088,111,15214);B()}if(!D){break a}}e=(c<<1)+a|0;b=S[(c<<3)+h>>3]*65536+.5;q:{if(V(b)<2147483648){a=~~b;break q}a=-2147483648}M[e+8>>1]=a}La=h+880|0}function Lp(a){var b=0,c=0,d=0,e=0,f=0,g=U(0),h=U(0),i=0,j=0,k=0,l=U(0),m=U(0),n=0,o=0,p=0,q=0;c=a;if(!c){c=588540}a:{e=db(1,120);b:{if(!e){e=588752;break b}N[e>>2]=1;N[e+4>>2]=1;if(N[c+4>>2]){N[c+4>>2]=0}N[e+20>>2]=588752;b=N[c>>2];if(b){if((b|0)<=0){break a}N[c>>2]=b+1}N[e+96>>2]=588448;N[e+24>>2]=c;N[e+108>>2]=e;b=N[c+28>>2];if(!b){f=c;c=ae(c+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;b=c-16>>>0>=16369?1e3:c;N[f+28>>2]=b}N[e+28>>2]=b;N[e+32>>2]=b;N[e+64>>2]=65536;N[e+68>>2]=0;N[e+44>>2]=1065353216;N[e+48>>2]=1065353216;N[e+56>>2]=65536;N[e+60>>2]=0}f=db(1,12);c:{if(!f){break c}N[f>>2]=N[e+24>>2]+48;b=N[147452];d:{if(b){break d}while(1){c=db(1,92);e:{if(!c){c=588448;break e}N[c>>2]=1;N[c+4>>2]=1;F(c+20|0,588468,72)}f:{if(!N[c+4>>2]){break f}b=N[c+16>>2];g:{if(!b){break g}d=N[b+8>>2];if(!d){break g}b=N[c+12>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[d|0](b)}N[c+28>>2]=292;b=N[c+12>>2];if(b){N[b+8>>2]=0}b=N[c+16>>2];if(b){N[b+8>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];h:{if(!b){break h}d=N[b+12>>2];if(!d){break h}b=N[c+12>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[d|0](b)}N[c+32>>2]=293;b=N[c+12>>2];if(b){N[b+12>>2]=0}b=N[c+16>>2];if(b){N[b+12>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];i:{if(!b){break i}d=N[b+16>>2];if(!d){break i}b=N[c+12>>2];if(b){b=N[b+16>>2]}else{b=0}Qa[d|0](b)}N[c+36>>2]=294;b=N[c+12>>2];if(b){N[b+16>>2]=0}b=N[c+16>>2];if(b){N[b+16>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];j:{if(!b){break j}d=N[b>>2];if(!d){break j}b=N[c+12>>2];if(b){b=N[b>>2]}else{b=0}Qa[d|0](b)}N[c+20>>2]=295;b=N[c+12>>2];if(b){N[b>>2]=0}b=N[c+16>>2];if(b){N[b>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];k:{if(!b){break k}d=N[b+28>>2];if(!d){break k}b=N[c+12>>2];if(b){b=N[b+28>>2]}else{b=0}Qa[d|0](b)}N[c+48>>2]=296;b=N[c+12>>2];if(b){N[b+28>>2]=0}b=N[c+16>>2];if(b){N[b+28>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];l:{if(!b){break l}d=N[b+4>>2];if(!d){break l}b=N[c+12>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[d|0](b)}N[c+24>>2]=297;b=N[c+12>>2];if(b){N[b+4>>2]=0}b=N[c+16>>2];if(b){N[b+4>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];m:{if(!b){break m}d=N[b+32>>2];if(!d){break m}b=N[c+12>>2];if(b){b=N[b+32>>2]}else{b=0}Qa[d|0](b)}N[c+52>>2]=298;b=N[c+12>>2];if(b){N[b+32>>2]=0}b=N[c+16>>2];if(b){N[b+32>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];n:{if(!b){break n}d=N[b+40>>2];if(!d){break n}b=N[c+12>>2];if(b){b=N[b+40>>2]}else{b=0}Qa[d|0](b)}N[c+60>>2]=299;b=N[c+12>>2];if(b){N[b+40>>2]=0}b=N[c+16>>2];if(b){N[b+40>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];o:{if(!b){break o}d=N[b+68>>2];if(!d){break o}b=N[c+12>>2];if(b){b=N[b+68>>2]}else{b=0}Qa[d|0](b)}N[c+88>>2]=300;b=N[c+12>>2];if(b){N[b+68>>2]=0}b=N[c+16>>2];if(b){N[b+68>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];p:{if(!b){break p}d=N[b+52>>2];if(!d){break p}b=N[c+12>>2];if(b){b=N[b+52>>2]}else{b=0}Qa[d|0](b)}N[c+72>>2]=301;b=N[c+12>>2];if(b){N[b+52>>2]=0}b=N[c+16>>2];if(b){N[b+52>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];q:{if(!b){break q}d=N[b+60>>2];if(!d){break q}b=N[c+12>>2];if(b){b=N[b+60>>2]}else{b=0}Qa[d|0](b)}N[c+80>>2]=302;b=N[c+12>>2];if(b){N[b+60>>2]=0}b=N[c+16>>2];if(b){N[b+60>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];r:{if(!b){break r}d=N[b+64>>2];if(!d){break r}b=N[c+12>>2];if(b){b=N[b+64>>2]}else{b=0}Qa[d|0](b)}N[c+84>>2]=303;b=N[c+12>>2];if(b){N[b+64>>2]=0}b=N[c+16>>2];if(b){N[b+64>>2]=0}if(!N[c+4>>2]){break f}N[c+4>>2]=0}b=N[147452];s:{t:{if(c){if(b){break s}break t}if(b){break d}c=588448}b=c;N[147452]=b;break d}if((c|0)==588448){break d}oc(c);b=N[147452];if(!b){continue}break}}if(!N[e+4>>2]){c=N[f+8>>2];if(c){_a(c)}_a(f);break c}N[e+12>>2]=N[e+12>>2]+1;c=N[e+104>>2];if(c){Qa[c|0](N[e+100>>2])}c=b?b:588448;b=N[c>>2];if(b){if((b|0)<=0){break a}N[c>>2]=b+1}oc(N[e+96>>2]);N[e+104>>2]=310;N[e+100>>2]=f;N[e+96>>2]=c}u:{if(!a){break u}c=N[a+24>>2];if(!N[e+4>>2]|c>>>0<65536){break u}a=N[e+12>>2]+1|0;N[e+16>>2]=a;N[e+12>>2]=a;b=0;v:{w:{d=(c>>>16|0)-1|0;a=sf(N[e+24>>2]+120|0);f=O[a+12|0]|O[a+13|0]<<8;if(d>>>0>=((f<<8|f>>>8)&65535)>>>0){break w}a=O[a+8|0]|O[a+9|0]<<8;if(!a){break w}a=(a<<8|a>>>8)&65535;i=db(a,4);if(!i){break u}break v}a=0}f=sf(N[e+24>>2]+120|0);c=O[f+12|0]|O[f+13|0]<<8;x:{if(d>>>0>=((c<<8|c>>>8)&65535)>>>0){break x}c=O[f+4|0]|O[f+5|0]<<8;if(c){j=f+((c<<8|c>>>8)&65535)|0}else{j=275552}if(!a){break x}c=O[f+8|0]|O[f+9|0]<<8;k=(c<<8|c>>>8)&65535;c=a>>>0>k>>>0?k:a;if(!c){break x}a=O[f+14|0]|O[f+15|0]<<8;f=((j+T(k,20)|0)+T(d,(a<<8|a>>>8)&65535)|0)+4|0;a=0;y:{if((c|0)!=1){j=c&1;k=c&65534;while(1){d=a<<2;b=d+f|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);R[d+i>>2]=U(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))*U(152587890625e-16);d=d|4;b=d+f|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);R[d+i>>2]=U(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))*U(152587890625e-16);a=a+2|0;if((k|0)!=(a|0)){continue}break}if(!j){break y}}b=a<<2;a=b+f|0;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);R[b+i>>2]=U(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))*U(152587890625e-16)}b=c}z:{if(!N[e+4>>2]){break z}a=N[e+12>>2]+1|0;N[e+16>>2]=a;N[e+12>>2]=a;A:{B:{if(b){n=db(b,4);o=db(b,4);if(o?n:0){break B}_a(n);_a(o);break z}a=N[e+24>>2];sf(a+120|0);Kp(Ig(a+124|0),0,0);break A}F(o,i,b<<2);j=N[e+24>>2];a=sf(j+120|0);c=O[a+4|0]|O[a+5|0]<<8;k=c?((c<<8|c>>>8)&65535)+a|0:275552;a=O[a+8|0]|O[a+9|0]<<8;q=(a<<8|a>>>8)&65535;c=0;while(1){a=c>>>0>=q>>>0?275552:k+T(c,20)|0;d=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);g=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));p=c<<2;h=R[p+i>>2];d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);l=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));l=g<=l?g:l;m=h>=l?h:l;a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);h=U(U(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))*U(152587890625e-16));h=g>=h?g:h;m=h>=m?m:h;f=0;C:{if(g==m){break C}g=U(Z(U(U(U(U(m-g)/(g>m?U(g-l):U(h-g)))*U(16384))+U(.5))));if(U(V(g))>2]=f;c=c+1|0;if((c|0)!=(b|0)){continue}break}Kp(Ig(j+124|0),n,b)}_a(N[e+88>>2]);_a(N[e+92>>2]);N[e+92>>2]=o;N[e+88>>2]=n;N[e+84>>2]=b;He(e)}_a(i)}return e}ba(23506,14099,260,16403);B()}function $f(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0;o=La-32|0;La=o;L[a+733|0]=0;s=N[a+100>>2];k=N[a+736>>2];a:{if(!k){e=re(a,0);if(e){break a}k=N[a+736>>2]}b:{q=N[k+12>>2];h=N[q>>2];b=b>>>0>h>>>0?h:b;if(!b){break b}while(1){if(N[(f<<2)+c>>2]-65537>>>0>=4294836223){f=f+1|0;if((f|0)!=(b|0)){continue}break b}break}e=6;break a}c:{d:{e:{f:{g:{h:{if(O[a+732|0]|N[k+72>>2]){break h}f=N[a+104>>2];i=N[f+28>>2];e=Qa[N[a+516>>2]](a,1735811442,f,o+24|0)|0;if(e){break a}m=N[f+8>>2];e=rb(f,27168,o+4|0);if(e){break a}e=8;if(N[o+4>>2]!=65536){break a}h=P[o+8>>1];if((h|0)!=P[N[k+12>>2]>>1]){break a}t=P[o+10>>1];u=T(t,h);g=N[o+24>>2];if(u>>>0>g>>>1>>>0){break a}p=P[o+16>>1];l=p+1|0;n=M[o+18>>1]&1;j=l<<(n?2:1);if(j>>>0>g>>>0){break a}N[k+76>>2]=g;g=N[o+20>>2];e=Bb(f,j);N[o+28>>2]=e;if(e){break a}j=0;x=k,y=lb(i,4,0,l,0,o+28|0),N[x+72>>2]=y;e=N[o+28>>2];if(e){break g}v=g+m|0;l=m+N[o+24>>2]|0;i:{if(!n){n=0;while(1){e=0;g=N[f+32>>2];if(Q[f+36>>2]>g+1>>>0){e=O[g+1|0]|O[g|0]<<8;g=g+2|0}N[f+32>>2]=g;g=v+(e<<1)|0;j=g>>>0>>0?j:g;N[N[k+72>>2]+(n<<2)>>2]=j>>>0>l>>>0?l:j;g=(n|0)!=(p|0);n=n+1|0;if(g){continue}break}break i}n=0;while(1){e=0;g=N[f+32>>2];if(Q[f+36>>2]>g+3>>>0){e=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);g=g+4|0}N[f+32>>2]=g;g=e+v|0;n=g>>>0>>0?n:g;N[N[k+72>>2]+(j<<2)>>2]=l>>>0>>0?l:n;g=(j|0)==(p|0);j=j+1|0;if(!g){continue}break}}N[k+68>>2]=p;if(N[f+20>>2]){g=N[f>>2];if(g){e=N[f+28>>2];Qa[N[e+8>>2]](e,g)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;if(!t){break h}g=m+N[o+12>>2]|0;j:{e=N[f+20>>2];k:{if(e){if(Qa[e|0](f,g,0,0)|0){break k}break j}if(g>>>0<=Q[f+4>>2]){break j}}e=85;N[o+28>>2]=85;break f}N[f+8>>2]=g;e=Bb(f,u<<1);N[o+28>>2]=e;if(e){break f}l=0;j=lb(i,4,0,u,0,o+28|0);N[k+64>>2]=j;e=N[o+28>>2];if(e){break g}u=h>>>0<2;v=h>>>0<=1?1:h;w=v&65534;i=h;while(1){r=0;l:{if(!(i&65535)){break l}n=T(h,l);e=N[f+32>>2];p=N[f+36>>2];m=0;if(!u){g=0;while(1){m:{if(p>>>0<=e+1>>>0){i=0;break m}i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;e=e+2|0}N[f+32>>2]=e;N[j+(m+n<<2)>>2]=i<<16>>16<<2;i=0;if(p>>>0>e+1>>>0){i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;e=e+2|0}N[f+32>>2]=e;N[j+(n+(m|1)<<2)>>2]=i<<16>>16<<2;m=m+2|0;g=g+2|0;if((w|0)!=(g|0)){continue}break}}r=h;if(!(v&1)){break l}i=0;if(p>>>0>e+1>>>0){g=O[e|0]|O[e+1|0]<<8;i=g<<8|g>>>8;e=e+2|0}N[f+32>>2]=e;N[j+(m+n<<2)>>2]=i<<16>>16<<2;r=h}i=r;l=l+1|0;if(t>>>0>l>>>0){continue}break}N[k+60>>2]=t;if(N[f+20>>2]){h=N[f>>2];if(h){g=N[f+28>>2];Qa[N[g+8>>2]](g,h)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}t=N[k+4>>2];if(t){break d}e=0;f=N[q>>2];if((f|0)>=0){break e}e=6;break c}if(N[f+20>>2]){a=N[f>>2];if(a){b=N[f+28>>2];Qa[N[b+8>>2]](b,a)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}a=N[k+72>>2];if(a){Qa[N[i+8>>2]](i,a)}N[k+68>>2]=0;N[k+72>>2]=0;break a}n:{if(f){e=10;if((f|0)>536870911){break c}h=f<<2;e=Qa[N[s+4>>2]](s,h)|0;if(!e|(f|0)<=0){break n}C(e,0,h)}N[k+4>>2]=e;break d}N[k+4>>2]=e;if(e){break d}e=!e<<6;break a}o:{p:{q:{r:{s:{t:{i=N[k+8>>2];if(i){f=0;if(b){break t}break s}i=0;f=N[q>>2];if((f|0)<0){e=6;break o}u:{if(f){e=10;if((f|0)>536870911){break o}h=f<<2;i=Qa[N[s+4>>2]](s,h)|0;if(!i|(f|0)<=0){break u}C(i,0,h)}N[k+8>>2]=i;break q}N[k+8>>2]=i;if(i){break q}e=!i<<6;break a}m=1;while(1){h=f<<2;n=2;if(N[h+i>>2]!=N[c+h>>2]){break r}f=f+1|0;if((f|0)!=(b|0)){continue}break}f=b}m=0;n=0}j=N[q>>2];h=N[a+4>>2];v:{if(h&2147418112){if(f>>>0>=j>>>0){break v}r=N[k+20>>2]+(T((h>>>16|0)-1|0,j)<<2)|0;h=f<<2;g=r+h|0;p=(f^-1)+j|0;e=h+i|0;q=j-f&3;w:{if(!q){l=f;break w}l=f+q|0;u=l<<2;h=0;while(1){m=N[e>>2]!=N[g>>2]?1:m;e=e+4|0;g=g+4|0;h=h+1|0;if((q|0)!=(h|0)){continue}break}e=i+u|0}if(p>>>0<3){break v}while(1){m=N[e+12>>2]!=N[g+12>>2]?1:N[e+8>>2]!=N[g+8>>2]?1:N[e+4>>2]!=N[g+4>>2]?1:N[e>>2]!=N[g>>2]?1:m;e=e+16|0;g=g+16|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}break v}if(f>>>0>=j>>>0){break v}q=(f^-1)+j|0;e=(f<<2)+i|0;l=j-f&3;x:{if(!l){h=f;break x}h=f+l|0;p=h<<2;g=0;while(1){m=N[e>>2]?1:m;e=e+4|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}e=i+p|0}if(q>>>0<3){break v}while(1){m=N[e+12>>2]|N[e+8>>2]|(N[e+4>>2]|N[e>>2])?1:m;e=e+16|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}y:{if(m&255){if(f>>>0>=j>>>0){break p}break y}L[a+733|0]=1;e=-1;break a}while(1){if(!N[(f<<2)+i>>2]){f=f+1|0;if((j|0)!=(f|0)){continue}break p}break}n=2;break p}j=N[q>>2];n=1}N[k>>2]=j;if(c){F(i,c,b<<2)}z:{if(!d){break z}d=N[k+4>>2];e=N[a+736>>2];l=N[e>>2];b=t?b:N[k>>2];c=b>>>0>l>>>0?l:b;A:{if(!c){break A}h=N[k+8>>2];g=0;f=0;if(c>>>0>=4){k=c&-4;while(1){i=f<<2;N[i+d>>2]=N[h+i>>2];j=i|4;N[j+d>>2]=N[h+j>>2];j=i|8;N[j+d>>2]=N[h+j>>2];i=i|12;N[i+d>>2]=N[h+i>>2];f=f+4|0;if((k|0)!=(f|0)){continue}break}}i=c&3;if(!i){break A}while(1){k=f<<2;N[k+d>>2]=N[h+k>>2];f=f+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(b>>>0>l>>>0){C(d+(c<<2)|0,0,b-c<<2)}B:{if(!c){break B}j=N[e+28>>2];if(!j){break B}k=0;while(1){g=P[j>>1];C:{if(g>>>0<2){break C}i=d+(k<<2)|0;b=N[i>>2];l=N[j+4>>2];f=1;while(1){h=l+(f<<3)|0;m=N[h+4>>2];if((m|0)>(b|0)){g=h-8|0;f=N[g>>2];r=b;b=N[g+4>>2];x=i,y=jb(r-b|0,N[h>>2]-f|0,m-b|0)+f|0,N[x>>2]=y;break C}f=f+1|0;if((g|0)!=(f|0)){continue}break}}j=j+8|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}if(!c){break z}b=N[N[e+12>>2]+12>>2];e=0;while(1){k=d+(e<<2)|0;h=N[k>>2];D:{E:{if((h|0)<0){i=0-h|0;f=N[b+8>>2];l=f-N[b+4>>2]|0;g=l>>31;g=(g^l)-g|0;F:{if((g>>>8|0)-h>>>0<=8190){h=T(g,i)+32768>>>16|0;break F}h=i&65535;h=T(h,g>>>16|0)+T(g,i>>>16|0)+(T(h,g&65535)+32768>>>16)|0}h=(l|0)<0?h:0-h|0;break E}f=N[b+8>>2];if(!h){break D}i=N[b+12>>2]-f|0;g=i>>31;r=h;h=h>>31;h=(r^h)-h|0;g=(g^i)-g|0;G:{if(h+(g>>>8|0)>>>0<=8190){h=T(g,h)+32768>>>16|0;break G}l=h&65535;h=T(l,g>>>16|0)+T(g,h>>>16|0)+(T(l,g&65535)+32768>>>16)|0}h=(i|0)<0?0-h|0:h}f=f+h|0}N[k>>2]=f;b=b+24|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}L[a+733|0]=1;e=0;b=N[a+704>>2];H:{if(!b){break H}I:{switch(n-1|0){case 1:Qa[N[s+8>>2]](s,b);N[a+704>>2]=0;e=gn(a,N[a+104>>2]);break H;case 0:break I;default:break H}}e=Ym(a,N[a+104>>2])}b=N[a+720>>2];if(b){Qa[N[s+8>>2]](s,b)}N[a+720>>2]=0;break a}N[k+8>>2]=0;break a}N[k+4>>2]=0}La=o+32|0;return e}function gj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=La-48|0;La=h;N[a+44>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h+28>>2]=0;c=N[b+32>>2];if((c|0)==-1){d=sb(b+56|0);d=O[d+4|0]|O[d+5|0]<<8;c=(d<<8|d>>>8)&65535;N[b+32>>2]=c}L[h+40|0]=1;N[h+36>>2]=c;d=N[b+12>>2];a:{if(d){c=Qa[d|0](b,1668112752,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{d=N[c>>2];if(d){if((d|0)<=0){break j}N[c>>2]=d+1}L[h+24|0]=0;N[h+32>>2]=c;f=N[c+12>>2];N[h+4>>2]=f;e=N[c+16>>2];N[h+8>>2]=e+f;if((e|0)<0){break i}if(e>>>0>67108863){i=1073741823}else{d=e<<6;d=d>>>0<=16384?16384:d;i=d>>>0>=1073741823?1073741823:d}N[h+20>>2]=0;N[h>>2]=0;N[h+28>>2]=0;d=c;if(!f){break c}if(e>>>0<4){break g}N[h+12>>2]=i-4;if(O[f|0]|O[f+1|0]<<8){break g}N[h+44>>2]=f;if(Yi(f+2|0,h,h+44|0)){break h}if(O[h+24|0]|!N[h+28>>2]){break g}if(!zb(c)){break g}while(1){L[h+24|0]=1;d=N[h+32>>2];f=N[d+12>>2];N[h+4>>2]=f;e=N[d+16>>2];N[h+8>>2]=e+f;if((e|0)<0){break i}if(e>>>0>67108863){i=1073741823}else{i=e<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}N[h+20>>2]=0;N[h>>2]=0;N[h+28>>2]=0;if(!f){break c}if(e>>>0<=3){break g}N[h+12>>2]=i-4;if(O[f|0]|O[f+1|0]<<8){break g}N[h+44>>2]=f;if(Yi(f+2|0,h,h+44|0)){break h}if(O[h+24|0]|!N[h+28>>2]){break g}d=zb(c);N[h+4>>2]=d;N[h+8>>2]=d+N[c+16>>2];if(d){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[h+28>>2]){break f}N[h+28>>2]=0;if(Q[h+4>>2]>f>>>0){break g}d=N[h+8>>2];if(d>>>0>>0|d-f>>>0<=3){break g}d=N[h+12>>2]-4|0;N[h+12>>2]=d;if(O[f|0]|O[f+1|0]<<8|(d|0)<=0){break g}N[h+44>>2]=f;d=Yi(f+2|0,h,h+44|0);if(N[h+28>>2]){break g}ab(N[h+32>>2]);if(d){break e}break d}ab(N[h+32>>2]);break d}ab(N[h+32>>2])}if(!N[c+4>>2]){break b}N[c+4>>2]=0;break b}ab(c);c=275552;break b}ab(d)}N[a+44>>2]=c;j=275552;l=Q[c+16>>2]<4?275552:N[c+12>>2];i=l+4|0;k:{l:{k=O[l+2|0]|O[l+3|0]<<8;m:{if(!k){break m}e=0;d=((k<<8|k>>>8)&65535)-1|0;c=d;n:{while(1){o:{p:{f=c+e>>>1|0;g=i+(f<<3)|0;m=O[g|0]|O[g+1|0]<<8;n=(m<<8|m>>>8)&65535;q:{if(!(n>>>0>3|(m|0)!=768)){if(O[g+2|0]|O[g+3|0]<<8){break q}c=i+(f<<3)|0;break n}if(n>>>0<4){break p}}c=f-1|0;break o}e=f+1|0}if((c|0)>=(e|0)){continue}break}c=275552}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){break l}e=0;f=d;r:{while(1){s:{t:{u:{c=e+f>>>1|0;g=i+(c<<3)|0;m=O[g|0]|O[g+1|0]<<8;n=(m<<8|m>>>8)&65535;v:{if(!(n>>>0>3|(m|0)!=768)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>10){break v}if((g|0)==2560){break u}break t}if(n>>>0<4){break t}}f=c-1|0;break s}c=i+(c<<3)|0;break r}e=c+1|0}if((e|0)<=(f|0)){continue}break}c=275552}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=1;break k}f=0;c=d;w:{x:{while(1){y:{z:{e=c+f>>>1|0;g=i+(e<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<7){break z}}c=e-1|0;break y}if((g|0)==1536){break x}f=e+1|0}if((c|0)>=(f|0)){continue}break}c=275552;break w}c=i+(e<<3)|0}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=1;break k}c=0;A:{B:{while(1){C:{D:{f=c+d>>>1|0;e=i+(f<<3)|0;if(!(O[e|0]|O[e+1|0]<<8)){e=O[e+2|0]|O[e+3|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<5){break D}}d=f-1|0;break C}if((e|0)==1024){break B}c=f+1|0}if((c|0)<=(d|0)){continue}break}d=275552;break A}d=i+(f<<3)|0}d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(d){e=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+l|0;d=1;break k}if(!k){break m}f=((k<<8|k>>>8)&65535)-1|0;e=0;while(1){E:{F:{G:{d=e+f>>>1|0;c=i+(d<<3)|0;g=O[c|0]|O[c+1|0]<<8;m=(g<<8|g>>>8)&65535;H:{if(!(m>>>0>3|(g|0)!=768)){c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>1){break H}if((c|0)==256){break G}break F}if(m>>>0<4){break F}}f=d-1|0;break E}j=i+(d<<3)|0;break m}e=d+1|0}if((e|0)<=(f|0)){continue}break}}d=1;c=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=275552;I:{if(!k){break I}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){J:{K:{L:{j=c+f>>>1|0;g=i+(j<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<4){break L}}c=j-1|0;break K}if((g|0)==768){break J}f=j+1|0}if((c|0)>=(f|0)){continue}break I}break}e=i+(j<<3)|0}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=275552;M:{if(!k){break M}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){N:{O:{P:{j=c+f>>>1|0;g=i+(j<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<3){break P}}c=j-1|0;break O}if((g|0)==512){break N}f=j+1|0}if((c|0)>=(f|0)){continue}break M}break}e=i+(j<<3)|0}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=Qp(l,1);if(e){break k}c=Qp(l,0);e=c?c:275552;break k}e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=0}j=275552;N[a+4>>2]=275552;N[a>>2]=e;Q:{if(!k){break Q}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){R:{S:{T:{k=c+f>>>1|0;g=i+(k<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<6){break T}}c=k-1|0;break S}if((g|0)==1280){break R}f=k+1|0}if((c|0)>=(f|0)){continue}break Q}break}j=i+(k<<3)|0}c=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);U:{if(!c){break U}c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;if((O[c|0]|O[c+1|0]<<8)!=3584){break U}N[a+4>>2]=c}c=e?e:275552;N[a+12>>2]=c;V:{if(!d){b=Tc(b+72|0);b=(O[b|0]|O[b+1|0]<<8?0:(O[b+62|0]|O[b+63|0]<<8)<<8)&65280;if(!b){b=304;break V}W:{if((b|0)!=45824){if((b|0)!=45568){break W}b=305;break V}b=306;break V}b=307;break V}b=307;X:{Y:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-4|0){case 0:break X;case 8:break Y;default:break V}}b=308;break V}b=O[c+6|0]|O[c+7|0]<<8;d=c+14|0;N[a+16>>2]=d;b=(b<<8|b>>>8)&65534;f=b>>>1|0;N[a+36>>2]=f;d=(b+d|0)+2|0;N[a+20>>2]=d;d=b+d|0;N[a+24>>2]=d;d=b+d|0;N[a+28>>2]=d;N[a+32>>2]=b+d;b=O[c+2|0]|O[c+3|0]<<8;N[a+12>>2]=a+16;N[a+40>>2]=(((b<<8|b>>>8)&65535)-(f<<3)|0)-16>>>1;b=309}N[a+8>>2]=b;La=h+48|0;return a}function _i(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{g=N[b+4>>2];if(g>>>0>a>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<14){break b}f=N[b+12>>2]-14|0;N[b+12>>2]=f;if((f|0)<=0){break b}e=O[a+2|0]|O[a+3|0]<<8;if(e){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>d>>>0){break b}l=d-c|0;c=T((e<<8|e>>>8)&65535,6);if(l>>>0>>0){break b}f=f-c|0;N[b+12>>2]=f;if((f|0)<=0){break b}}e=O[a+12|0]|O[a+13|0]<<8;if(e){c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>d>>>0){break b}l=d-c|0;c=((e<<8|e>>>8)&65535)<<2;if(l>>>0>>0){break b}f=f-c|0;N[b+12>>2]=f;if((f|0)<=0){break b}}c=1;c:{e=O[a|0]|O[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 0:break a;case 1:break c;default:break b}}e=a+14|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break b}c=f-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d:{if(!c){break d}if(c&128){break b}e:{l=g;g=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(l>>>0>g>>>0|d>>>0>>0|d-g>>>0<4){break e}h=f-8|0;N[b+12>>2]=h;if((h|0)<=0){break e}f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);j=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=UE(j,0,6,0);if(Pa){break e}if(c){i=g+4|0;if(i>>>0>d>>>0|c>>>0>d-i>>>0){break e}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break e}}if(!f){break d}j=j>>>0<=1?1:j;f=0;while(1){h=g+T(f,6)|0;c=h+4|0;if(c>>>0>2]){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<6){break e}i=N[b+12>>2];c=i-6|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=h+6|0;if(c>>>0>d>>>0|d-c>>>0<4){break e}d=i-10|0;N[b+12>>2]=d;if((d|0)<=0){break e}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);f:{if(!d){break f}if(d&128){break e}h=N[b+20>>2];g:{if((h|0)>15){break g}h=h+1|0;N[b+20>>2]=h;if(!h){break g}d=$d(g+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b);N[b+20>>2]=N[b+20>>2]-1;if(d){break f}}d=N[b+28>>2];if(d>>>0>31){break e}N[b+28>>2]=d+1;if(!O[b+24|0]){break e}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}f=f+1|0;if((j|0)!=(f|0)){continue}break}break d}c=N[b+28>>2];if(c>>>0>31){break b}N[b+28>>2]=c+1;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}f=N[b+4>>2];c=a+18|0;if(f>>>0>c>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break b}g=N[b+12>>2];e=g-4|0;N[b+12>>2]=e;if((e|0)<=0){break b}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h:{if(!e){break h}if(e&128){break b}i:{e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break i}j=g-8|0;N[b+12>>2]=j;if((j|0)<=0){break i}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(g>>>0>1073741823){break i}h=g<<2;if(h){i=e+4|0;if(i>>>0>d>>>0|h>>>0>d-i>>>0){break i}d=j-h|0;N[b+12>>2]=d;if((d|0)<=0){break i}}if(!f){break h}j=g>>>0<=1?1:g;f=0;while(1){d=(e+(f<<2)|0)+4|0;if(d>>>0>2]){break i}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break i}g=N[b+12>>2]-4|0;N[b+12>>2]=g;if((g|0)<=0){break i}g=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j:{if(!g){break j}if(g&128){break i}h=N[b+20>>2];k:{if((h|0)>15){break k}h=h+1|0;N[b+20>>2]=h;if(!h){break k}g=$d(e+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0,b);N[b+20>>2]=N[b+20>>2]-1;if(g){break j}}g=N[b+28>>2];if(g>>>0>31){break i}N[b+28>>2]=g+1;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}f=f+1|0;if((j|0)!=(f|0)){continue}break}break h}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}l:{m:{g=N[b+4>>2];d=a+22|0;if(g>>>0>d>>>0){break m}f=N[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break m}h=N[b+12>>2];e=h-4|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break m}e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);n:{if(!e){break n}if(e&128){break m}o:{p:{e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0;if(e>>>0>>0|e>>>0>f>>>0|f-e>>>0<5){break p}c=h-9|0;N[b+12>>2]=c;if((c|0)<=0){break p}j=e+1|0;if(j>>>0>>0|f>>>0>>0|f-j>>>0<4){break p}i=h-13|0;N[b+12>>2]=i;if((i|0)<=0){break p}g=O[e+1|0]|O[e+2|0]<<8|(O[e+3|0]<<16|O[e+4|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);c=UE(h,0,7,0);if(Pa){break p}if(c){k=e+5|0;if(k>>>0>f>>>0|c>>>0>f-k>>>0){break p}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break p}}if(!g){break o}n=h>>>0<=1?1:h;h=0;while(1){g=N[b+4>>2];k=j+T(h,7)|0;c=k+4|0;if(g>>>0>c>>>0){break p}f=N[b+8>>2];if(f>>>0>>0|f-c>>>0<7){break p}i=N[b+12>>2];c=i-7|0;N[b+12>>2]=c;if((c|0)<=0){break p}c=k+8|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<3){break p}k=i-10|0;N[b+12>>2]=k;if((k|0)<=0){break p}m=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);q:{if(!m){break q}l=g;g=e+m|0;r:{if(l>>>0>g>>>0|f>>>0<=g>>>0){break r}m=i-11|0;N[b+12>>2]=m;if(!m){break r}s:{t:{switch(O[g|0]-1|0){case 0:i=-10;if(f-g>>>0>=9){break s}break r;case 1:break t;default:break q}}if(f-g>>>0<13){break r}f=i-24|0;N[b+12>>2]=f;i=-23;if((f|0)<=0){break r}}f=i+k|0;N[b+12>>2]=f;if((f|0)>0){break q}}f=N[b+28>>2];if(f>>>0>31){break p}N[b+28>>2]=f+1;if(!O[b+24|0]){break p}L[c+2|0]=0;L[c|0]=0;L[c+1|0]=0}c=1;h=h+1|0;if((n|0)!=(h|0)){continue}break}break n}c=N[b+28>>2];if(c>>>0>31){break m}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break n}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}c=1}break l}c=0}if(!c){break b}c=0;u:{v:{e=a+26|0;if(e>>>0>2]){break v}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break v}f=N[b+12>>2]-4|0;N[b+12>>2]=f;d=1;if((f|0)<=0){break v}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);w:{if(!f){break w}if(f&128){break v}if(Ed((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0,b)){break w}d=N[b+28>>2];if(d>>>0>31){break v}N[b+28>>2]=d+1;d=0;if(!O[b+24|0]){break w}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;d=1}break u}d=0}if(!d){break a}return Gf(a+30|0,b,a)}c=0}return c}function Jq(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0;i=La-32|0;La=i;N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;N[b+84>>2]=N[b+80>>2];a:{b:{l=N[b+68>>2];c:{if(!l){break c}while(1){d=N[b+80>>2];h=N[d+T(e,20)>>2];d:{if((h&-129)!=3635){if(O[b+62|0]){h=N[b+72>>2];g=N[b+84>>2];e:{if((g|0)==(d|0)){f=e;if((e|0)==(h|0)){break e}}f=h+1|0;if(!(!f|f>>>0>2])){if(!gb(b,f)){break c}g=N[b+84>>2];d=N[b+80>>2]}f:{if((d|0)!=(g|0)){break f}f=N[b+72>>2];if(f+1>>>0<=N[b+64>>2]+1>>>0){g=d;break f}if(!O[b+62|0]){break b}g=N[b+88>>2];N[b+84>>2]=g;f=T(f,20);if(!f){break f}F(g,d,f);g=N[b+84>>2];d=N[b+80>>2]}f=T(N[b+64>>2],20)+d|0;d=N[f+4>>2];e=T(N[b+72>>2],20)+g|0;N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;e=N[b+64>>2];f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=e+1;break d}g=h+26|0;g:{d=N[b+72>>2]+1|0;if(!(!d|d>>>0>2])){if(!gb(b,d)){break g}}e=N[b+84>>2];h:{if((e|0)!=N[b+80>>2]){break h}d=N[b+72>>2];if(Q[b+64>>2]>=d+1>>>0){break h}if(!O[b+62|0]){break b}f=N[b+88>>2];N[b+84>>2]=f;d=T(d,20);if(!d){break h}F(f,e,d)}f=N[b+64>>2];d=N[b+68>>2];if(f>>>0<=d>>>0){i:{if(d>>>0>f>>>0){d=N[b+72>>2];e=N[b+84>>2];f=N[b+80>>2]+T(f,20)|0;break i}e=N[b+84>>2];d=N[b+72>>2];f=d-1|0;f=e+T(d>>>0>=f>>>0?f:0,20)|0}e=T(d,20)+e|0;d=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;N[e>>2]=g;N[b+72>>2]=N[b+72>>2]+1;break g}break a}f=N[b+72>>2];d=f-1|0;d=N[b+84>>2]+T(d>>>0<=f>>>0?d:0,20)|0;M[d+16>>1]=P[d+16>>1]|128;g=h-1|0;j:{f=N[b+72>>2]+1|0;k:{if(!(!f|f>>>0>2])){d=0;if(!gb(b,f)){break k}}e=N[b+84>>2];l:{if((e|0)!=N[b+80>>2]){break l}d=N[b+72>>2];if(d+1>>>0<=N[b+64>>2]+1>>>0){break l}if(!O[b+62|0]){break b}f=N[b+88>>2];N[b+84>>2]=f;d=T(d,20);if(!d){break l}F(f,e,d)}d=N[b+68>>2];f=N[b+64>>2];if(d>>>0>>0){break a}m:{if(d>>>0>f>>>0){d=N[b+72>>2];e=N[b+84>>2];f=N[b+80>>2]+T(f,20)|0;break m}e=N[b+84>>2];d=N[b+72>>2];f=d-1|0;f=e+T(d>>>0>=f>>>0?f:0,20)|0}e=T(d,20)+e|0;d=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;N[e>>2]=g;N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+1;d=1}break j}if(!d){break c}j=N[b+72>>2];e=j-2|0;f=T(e,20);d=f+N[b+84>>2]|0;M[d+16>>1]=P[d+16>>1]&224|12;if(!e){break d}d=N[b+84>>2];n:{o:{p:{while(1){g=e;q:{e=e-1|0;h=N[d+T(e,20)>>2];if((h&-132)==3636|(h&-129)-3655>>>0<8){break q}r:{switch(h-3633|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break p;case 0:case 10:break q;default:break r}}switch(h-3761|0){case 0:case 10:break q;default:break p}}if(e){continue}break}g=0;if(j>>>0>2){break o}break d}if(j>>>0<=g+2>>>0){break n}}wd(b,g,j);e=f;f=N[b+84>>2];e=e+f|0;N[i+24>>2]=N[e+16>>2];d=N[e+12>>2];N[i+16>>2]=N[e+8>>2];N[i+20>>2]=d;d=N[e+4>>2];N[i+8>>2]=N[e>>2];N[i+12>>2]=d;e=f;f=T(g,20);d=e+f|0;F(d+20|0,d,T(j-g|0,20)-40|0);d=N[i+12>>2];f=f+N[b+84>>2]|0;N[f>>2]=N[i+8>>2];N[f+4>>2]=d;N[f+16>>2]=N[i+24>>2];d=N[i+20>>2];N[f+8>>2]=N[i+16>>2];N[f+12>>2]=d;break d}if(N[b+20>>2]){break d}wd(b,e,j)}e=N[b+64>>2];if(l>>>0>e>>>0){continue}break}}Ac(b);s:{if(O[a+32|0]|N[a+4>>2]!=1416126825){break s}v=N[b+68>>2];if(!v){break s}w=N[b+80>>2];f=0;t=3;u=2;l=0;while(1){e=0;t:{u:{p=T(l,20)+w|0;g=N[p>>2];if((g|0)==3633|(g&-4)==3636){break u}a=g-3655|0;if(1<>>0<=7:0){break u}e=1;if(g-3640>>>0<3){break u}e=2;if(g-3656>>>0<5){break u}v:{w:{a=g-3597|0;if(a>>>0<=18){a=1<>>0>45)<<2;break v}f=2}a=f<<2;u=N[a+242416>>2];t=N[a+242384>>2];f=l;break t}a=e<<3;h=a+T(u,24)|0;e=h+242548|0;d=a+T(t,24)|0;a=d+242452|0;k=N[d+242448>>2];if(!k){k=N[h+242544>>2]}u=N[e>>2];t=N[a>>2];a=N[b+68>>2];r=a>>>0>>0?a:l;s=r-f|0;x:{if(s>>>0<2){break x}o=N[b+144>>2]|32;N[b+144>>2]=o;if(f>>>0>=r>>>0){break x}q=N[b+80>>2];e=-1;d=f;n=(d^-1)+r|0;if(n>>>0>=3){j=s&-4;a=0;while(1){m=q+T(d,20)|0;h=N[m+8>>2];h=e>>>0>>0?e:h;e=N[m+28>>2];h=e>>>0>h>>>0?h:e;e=N[m+48>>2];h=e>>>0>h>>>0?h:e;e=N[m+68>>2];e=e>>>0>h>>>0?h:e;d=d+4|0;a=a+4|0;if((j|0)!=(a|0)){continue}break}}a=0;j=s&3;if(j){while(1){h=N[(q+T(d,20)|0)+8>>2];e=e>>>0>>0?e:h;d=d+1|0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}d=f;if(s&1){a=q+T(f,20)|0;if(N[a+8>>2]!=(e|0)){N[a+4>>2]=N[a+4>>2]|3}d=f+1|0}if(!n){break x}while(1){a=q+T(d,20)|0;if(N[a+8>>2]!=(e|0)){o=o|32;N[b+144>>2]=o;N[a+4>>2]=N[a+4>>2]|3}a=q+T(d+1|0,20)|0;if(N[a+8>>2]!=(e|0)){o=o|32;N[b+144>>2]=o;N[a+4>>2]=N[a+4>>2]|3}d=d+2|0;if((r|0)!=(d|0)){continue}break}}e=0;y:{z:{A:{switch(k|0){case 4:g=242816;B:{C:{D:{p=T(f,20)+w|0;d=N[p>>2];switch(d-3597|0){case 0:break C;case 3:break D;default:break B}}g=242822}N[i+8>>2]=0;a=N[c+96>>2];n=N[a+28>>2];m=N[c+100>>2];e=P[g+2>>1];k=i+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[n|0](c,m,e,k,a)|0)){N[i+8>>2]=0;a=N[c+96>>2];j=N[a+28>>2];k=N[c+100>>2];e=P[g+4>>1];g=i+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[j|0](c,k,e,g,a)|0)){break B}}d=e}N[p>>2]=d;break t;case 1:e=242624;break z;case 3:e=242688;break z;case 0:break y;case 2:break A;default:break z}}e=242736}d=P[e>>1];if(!d){break y}while(1){if((d&65535)==(g|0)){a=P[e+2>>1];N[i+8>>2]=0;d=N[c+96>>2];n=N[d+28>>2];m=N[c+100>>2];k=i+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[n|0](c,m,a,k,d)|0){g=P[e+2>>1];break y}a=P[e+4>>1];N[i+8>>2]=0;d=N[c+96>>2];n=N[d+28>>2];m=N[c+100>>2];k=i+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[n|0](c,m,a,k,d)|0)){break y}g=P[e+4>>1];break y}d=P[e+6>>1];e=e+6|0;if(d){continue}break}}N[p>>2]=g}l=l+1|0;if((v|0)!=(l|0)){continue}break}}La=i+32|0;return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function pl(a,b){var 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,t=0,u=0,v=0,w=0;a:{b:{c=N[b+4>>2];d=a+4|0;c:{if(c>>>0>d>>>0){break c}e=N[b+8>>2];if(d>>>0>e>>>0|e-d>>>0<4){break c}k=N[b+12>>2]-4|0;N[b+12>>2]=k;if(a>>>0>>0|(k|0)<=0){break c}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<12|d>>>0>e-a>>>0){break c}i=k-d|0;N[b+12>>2]=i;if((i|0)<=0){break c}l=O[a+8|0]|O[a+9|0]<<8;d=T((l<<8|l>>>8)&65535,12);k=a+12|0;if(l){if(e>>>0>>0|d>>>0>e-k>>>0){break c}i=i-d|0;N[b+12>>2]=i;if((i|0)<=0){break c}}a=O[a+10|0]|O[a+11|0]<<8;if(!a){return 1}a=(a<<8|a>>>8)&65535;w=a>>>0<=1?1:a;g=d+k|0;while(1){if(e>>>0>>0|c>>>0>g>>>0){break a}c=e-g|0;if(c>>>0<2){break a}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){break a}e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<9|c>>>0>>0){break a}a=a-e|0;N[b+12>>2]=a;if((a|0)<=0){break a}d=N[b+32>>2];c=N[d+12>>2];N[b+4>>2]=c;j=N[d+16>>2];d=j+c|0;N[b+8>>2]=d;d:{e:{f:{g:{if((j|0)>=0){c=d>>>0<=g>>>0|c>>>0>g>>>0;q=c?0:g;N[b+4>>2]=q;d=d-g|0;h=c?0:(e>>>0>d>>>0?d:e)+g|0;N[b+8>>2]=h;m=1;h:{switch(O[g+3|0]){case 0:m=ph(g+8|0,b);break d;case 5:break g;case 1:break h;case 2:break e;case 4:break f;default:break d}}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<8){break d}c=a-8|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8;o=(c<<8|c>>>8)&65535;if(o>>>0<4){break d}c=g+10|0;if(c>>>0>h>>>0|h-c>>>0<2){break d}d=a-10|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8;c=e+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<4){break d}d=a-14|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>h>>>0|h-d>>>0<2){break d}f=a-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}a=O[d|0]|O[d+1|0]<<8;if(a){c=c+4|0;if(c>>>0>h>>>0){break d}a=(a<<8|a>>>8)&65535;if(a>>>0>h-c>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}a=O[g+14|0]|O[g+15|0]<<8;p=e+((a<<8|a>>>8)&65535)|0;t=h-p|0;a=O[g+12|0]|O[g+13|0]<<8;s=(a<<8|a>>>8)&65535;l=s+e|0;u=h-l|0;a=0;d=0;k=0;j=0;n=0;c=0;while(1){i:{if(!(a&1)){e=c;break i}UE(j,0,o,0);if(Pa){break d}i=T(j,o);r=i+l|0;if(i){if(r>>>0>>0|h>>>0>>0|h-r>>>0<0-i>>>0){break d}f=f+i|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(j-k|0)+f|0;N[b+12>>2]=f;if((f|0)<=0|(i|0)>0){break d}a=l;e=c;if((i|0)<0){while(1){a=a-1|0;k=O[a|0]+1|0;e=e>>>0>k>>>0?e:k;if(a>>>0>r>>>0){continue}break}}k=j}j:{k:{l:{if((d|0)<=(n|0)){if(l>>>0>>0|h>>>0>>0){break d}i=n+1|0;a=T(i,o);if(a>>>0>u>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=f+((n^-1)+d|0)|0;N[b+12>>2]=f;if((a|0)<0|(f|0)<=0){break d}d=T(d,o);if((d|0)<(a|0)){break l}d=i}if(e){break k}e=0;break j}m=a+l|0;a=d+l|0;while(1){d=O[a|0]+1|0;e=e>>>0>d>>>0?e:d;a=a+1|0;if(m>>>0>a>>>0){continue}break}d=i}m=0;if(p>>>0>>0|h>>>0

>>0){break d}a=e<<3;if(a>>>0>t>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(c-e|0)+f|0;N[b+12>>2]=f;if((f|0)<=0){break d}if((c|0)<(e|0)){i=p+(e<<3)|0;c=p+(c<<3)|0;while(1){a=O[c|0]|O[c+1|0]<<8;a=(((a<<8|a>>>8)&65535)-s|0)/(o|0)|0;n=(a|0)<(n|0)?n:a;j=(a|0)>(j|0)?j:a;c=c+8|0;if(i>>>0>c>>>0){continue}break}}c=e;a=(j|0)<(k|0);if(a|(d|0)<=(n|0)){continue}break}a=g+16|0;if(a>>>0>h>>>0|h-a>>>0<2){break d}a=f-2|0;N[b+12>>2]=a;m=(a|0)>0;break d}break b}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<20){break d}c=a-20|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=a-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8;o=(c<<8|c>>>8)&65535;if(o>>>0<4){break d}c=g+10|0;if(c>>>0>h>>>0|h-c>>>0<2){break d}d=a-30|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8;c=e+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<4){break d}d=a-34|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>h>>>0|h-d>>>0<2){break d}f=a-36|0;N[b+12>>2]=f;if((f|0)<=0){break d}a=O[d|0]|O[d+1|0]<<8;if(a){c=c+4|0;if(c>>>0>h>>>0){break d}a=(a<<8|a>>>8)&65535;if(a>>>0>h-c>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}a=O[g+14|0]|O[g+15|0]<<8;p=e+((a<<8|a>>>8)&65535)|0;t=h-p|0;a=O[g+12|0]|O[g+13|0]<<8;s=(a<<8|a>>>8)&65535;l=s+e|0;u=h-l|0;a=0;d=0;k=0;j=0;n=0;c=0;while(1){m:{if(!(a&1)){e=c;break m}UE(j,0,o,0);if(Pa){break d}i=T(j,o);r=i+l|0;if(i){if(r>>>0>>0|h>>>0>>0|h-r>>>0<0-i>>>0){break d}f=f+i|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(j-k|0)+f|0;N[b+12>>2]=f;if((f|0)<=0|(i|0)>0){break d}a=l;e=c;if((i|0)<0){while(1){a=a-1|0;k=O[a|0]+1|0;e=e>>>0>k>>>0?e:k;if(a>>>0>r>>>0){continue}break}}k=j}n:{o:{p:{if((d|0)<=(n|0)){if(l>>>0>>0|h>>>0>>0){break d}i=n+1|0;a=T(i,o);if(a>>>0>u>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=f+((n^-1)+d|0)|0;N[b+12>>2]=f;if((a|0)<0|(f|0)<=0){break d}d=T(d,o);if((d|0)<(a|0)){break p}d=i}if(e){break o}e=0;break n}m=a+l|0;a=d+l|0;while(1){d=O[a|0]+1|0;e=e>>>0>d>>>0?e:d;a=a+1|0;if(m>>>0>a>>>0){continue}break}d=i}m=0;if(p>>>0>>0|h>>>0

>>0){break d}a=e<<3;if(a>>>0>t>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(c-e|0)+f|0;N[b+12>>2]=f;if((f|0)<=0){break d}if((c|0)<(e|0)){i=p+(e<<3)|0;c=p+(c<<3)|0;while(1){a=O[c|0]|O[c+1|0]<<8;a=(((a<<8|a>>>8)&65535)-s|0)/(o|0)|0;n=(a|0)<(n|0)?n:a;j=(a|0)>(j|0)?j:a;c=c+8|0;if(i>>>0>c>>>0){continue}break}}c=e;a=(j|0)<(k|0);if(a|(d|0)<=(n|0)){continue}break}m=(O[g+16|0]|O[g+17|0]<<8)!=0;break d}m=yc(g+8|0,b);break d}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<28){break d}a=a-28|0;N[b+12>>2]=a;if((a|0)<=0){break d}if(!ph(e,b)|!(O[g+16|0]|O[g+17|0]<<8)|!(O[g+18|0]|O[g+19|0]<<8)){break d}m=(O[g+20|0]|O[g+21|0]<<8)!=0}a=N[b+32>>2];c=N[a+12>>2];N[b+4>>2]=c;a=N[a+16>>2];e=a+c|0;N[b+8>>2]=e;if((a|0)<0){break b}if(!m){break a}a=O[g|0]|O[g+1|0]<<8;g=((a<<8|a>>>8)&65535)+g|0;j=1;v=v+1|0;if((w|0)!=(v|0)){continue}break}}return j}ba(16656,14279,195,9642);B()}return 0}function Md(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=La-16|0;La=k;l=N[a+100>>2];h=N[a+92>>2];N[k+8>>2]=b;e=N[h+20>>2];d=e+((Qa[N[h+12>>2]](k+8|0)>>>0)%Q[h+4>>2]<<2)|0;f=N[d>>2];a:{if(!f){break a}while(1){if(Qa[N[h+16>>2]](f,k+8|0)|0){break a}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[h+4>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}e=N[d>>2];b:{if(e){d=0;c:{d:{e:{b=N[a+80>>2];e=N[e+4>>2];h=b+(e<<4)|0;switch(N[h+4>>2]-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}a=N[h+12>>2];if(a){Qa[N[l+8>>2]](l,a)}N[h+12>>2]=0;if(!c|!O[c|0]){break b}a=nb(c);b=a+1|0;e=!b;f:{if(a>>>0<=2147483646){a=Qa[N[l+4>>2]](l,b)|0;d=!a<<6;break f}a=0;d=b?6:0}if(!(e|d)){F(a,c,b);d=0}N[h+12>>2]=a;break b}e=b+(e<<4)|0;b=0;g:{if(!c){break g}a=O[c|0];b=0;if(!a){break g}b=(a|0)==45;a=b+c|0;f=L[a|0];h:{if(!(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1)){break h}while(1){if((g|0)>214748362){g=2147483647;break h}g=O[f+45072|0]+T(g,10)|0;f=L[a+1|0];a=a+1|0;if(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1){continue}break}}b=b?0-g|0:g}N[e+12>>2]=b;break b}i:{if(!c){break i}f=L[c|0];a=f&255;if(!a|!(O[(a>>>3|0)+45040|0]>>>(f&7)&1)){break i}while(1){if(g>>>0>429496727){g=-1;break i}g=O[f+45072|0]+T(g,10)|0;f=L[c+1|0];c=c+1|0;if(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1){continue}break}}N[(b+(e<<4)|0)+12>>2]=g;break b}N[k+8>>2]=b;e=N[a+132>>2];d=e+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;f=N[d>>2];j:{if(!f){break j}while(1){if(Qa[N[a+128>>2]](f,k+8|0)|0){break j}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[a+116>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}k:{l:{d=N[d>>2];m:{if(d){e=d?d+4|0:0;break m}i=N[a+100>>2];N[k+8>>2]=b;e=N[a+132>>2];d=e+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;f=N[d>>2];n:{if(!f){break n}while(1){if(Qa[N[a+128>>2]](f,k+8|0)|0){break n}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[a+116>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}if(!N[d>>2]){j=N[a+104>>2];h=N[a+108>>2];e=h+1|0;if((e|h)<0){d=6;break k}o:{p:{q:{if(!e){if(!j){break q}Qa[N[i+8>>2]](i,j);N[a+104>>2]=0;break o}d=10;if((e|0)>134217727){break k}r:{if(!h){g=Qa[N[i+4>>2]](i,e<<4)|0;d=!g<<6;break r}d=Qa[N[i+12>>2]](i,h<<4,e<<4,j)|0;g=d?d:j;d=!d<<6}if(d|(h|0)==2147483647|!g){break p}d=(h<<4)+g|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0}N[a+104>>2]=g;break o}N[a+104>>2]=g;if(d){break b}}d=nb(b);j=d+1|0;e=N[a+108>>2];h=(e<<4)+g|0;s:{if(d>>>0<=2147483646){d=Qa[N[i+4>>2]](i,j)|0;if(d){break s}d=64;break l}d=6;if(j){break l}d=0}N[h>>2]=d;F(d,b,j);d=(e<<4)+g|0;N[d+4>>2]=1;N[d+8>>2]=0;d=gg(N[h>>2],N[a+108>>2]+83|0,a+112|0,i);if(d){break b}N[a+108>>2]=N[a+108>>2]+1}N[k+8>>2]=b;e=N[a+132>>2];d=e+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;f=N[d>>2];t:{if(!f){break t}while(1){if(Qa[N[a+128>>2]](f,k+8|0)|0){break t}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[a+116>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}d=N[d>>2];e=d?d+4|0:0}i=N[a+76>>2];if((i|0)==N[a+72>>2]){j=i+1|0;if((j|i)<0){d=6;break b}h=N[a+80>>2];u:{v:{w:{if(!j){g=0;if(!h){break w}Qa[N[l+8>>2]](l,h);N[a+80>>2]=0;break u}d=10;if((j|0)>134217727){break b}x:{if(!i){g=Qa[N[l+4>>2]](l,j<<4)|0;d=!g<<6;break x}d=Qa[N[l+12>>2]](l,i<<4,j<<4,h)|0;g=d?d:h;d=!d<<6}if(d|(i|0)==2147483647|!g){break v}d=(i<<4)+g|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0}N[a+80>>2]=g;break u}N[a+80>>2]=g;if(d){break b}}N[a+72>>2]=N[a+72>>2]+1}h=N[a+80>>2];j=N[a+76>>2];i=h+(j<<4)|0;d=N[e>>2];y:{if(d>>>0>=83){d=(N[a+104>>2]+(d<<4)|0)-1328|0;break y}d=(d<<4)+43712|0}N[i>>2]=N[d>>2];N[i+4>>2]=N[d+4>>2];N[i+8>>2]=N[d+8>>2];z:{A:{B:{switch(N[d+4>>2]-1|0){case 0:N[i+12>>2]=0;if(!c|!O[c|0]){break z}d=nb(c);e=d+1|0;f=!e;C:{if(d>>>0<=2147483646){g=Qa[N[l+4>>2]](l,e)|0;d=!g<<6;break C}g=0;d=e?6:0}if(!(f|d)){F(g,c,e);N[i+12>>2]=g;break z}N[i+12>>2]=g;if(!d){break z}break b;case 1:d=0;if(!c){break A}e=O[c|0];if(!e){break A}f=0;d=c;c=(e|0)==45;g=d+c|0;d=L[g|0];D:{if(!(O[((d&248)>>>3|0)+45040|0]>>>(d&7)&1)){break D}while(1){if((f|0)>214748362){f=2147483647;break D}f=O[d+45072|0]+T(f,10)|0;d=L[g+1|0];g=g+1|0;if(O[((d&248)>>>3|0)+45040|0]>>>(d&7)&1){continue}break}}d=c?0-f|0:f;break A;case 2:break B;default:break z}}d=0;if(!c){break A}f=L[c|0];e=f&255;if(!e|!(O[(e>>>3|0)+45040|0]>>>(f&7)&1)){break A}while(1){if(d>>>0>429496727){d=-1;break A}d=O[f+45072|0]+T(d,10)|0;f=L[c+1|0];c=c+1|0;if(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1){continue}break}}N[(h+(j<<4)|0)+12>>2]=d}E:{F:{if(bb(b,19233,7)){break F}switch(O[b+7|0]){case 0:case 9:case 10:case 13:case 32:break E;default:break F}}d=gg(N[i>>2],N[a+76>>2],N[a+92>>2],l);if(d){break b}}N[a+76>>2]=N[a+76>>2]+1;G:{if(bb(b,19710,12)){break G}H:{switch(O[b+12|0]){case 0:case 9:case 10:case 13:case 32:break H;default:break G}}N[a+36>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}I:{if(bb(b,19320,11)){break I}J:{switch(O[b+11|0]){case 0:case 9:case 10:case 13:case 32:break J;default:break I}}N[a+40>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}K:{if(bb(b,19275,12)){break K}L:{switch(O[b+12|0]){case 0:case 9:case 10:case 13:case 32:break L;default:break K}}N[a+44>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}d=0;if(bb(b,19980,7)){break b}M:{switch(O[b+7|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break b}}b=N[(h+(j<<4)|0)+12>>2];if(!b){d=3;break b}N:{switch(O[b|0]-67|0){case 13:case 45:N[a+28>>2]=8;break b;case 10:case 42:N[a+28>>2]=16;break b;case 0:case 32:break N;default:break b}}N[a+28>>2]=32;break b}N[h>>2]=0;break b}N[a+104>>2]=j}La=k+16|0;return d}function Mn(a,b){var 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,t=0,u=0,w=0,y=0,B=0,C=0,D=0,E=0;m=La-48|0;La=m;A(+a);d=v(1)|0;e=v(0)|0;o=d;a:{b:{g=d&2147483647;c:{if(g>>>0<=1074752122){if((d&1048575)==598523){break c}if(g>>>0<=1073928572){if((o|0)>0|(o|0)>=0){a=a+-1.5707963267341256;f=a+-6077100506506192e-26;S[b>>3]=f;S[b+8>>3]=a-f+-6077100506506192e-26;d=1;break a}a=a+1.5707963267341256;f=a+6077100506506192e-26;S[b>>3]=f;S[b+8>>3]=a-f+6077100506506192e-26;d=-1;break a}if((o|0)>0|(o|0)>=0){a=a+-3.1415926534682512;f=a+-1.2154201013012384e-10;S[b>>3]=f;S[b+8>>3]=a-f+-1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;f=a+1.2154201013012384e-10;S[b>>3]=f;S[b+8>>3]=a-f+1.2154201013012384e-10;d=-2;break a}if(g>>>0<=1075594811){if(g>>>0<=1075183036){if((g|0)==1074977148){break c}if((o|0)>0|(o|0)>=0){a=a+-4.712388980202377;f=a+-1.8231301519518578e-10;S[b>>3]=f;S[b+8>>3]=a-f+-1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;f=a+1.8231301519518578e-10;S[b>>3]=f;S[b+8>>3]=a-f+1.8231301519518578e-10;d=-3;break a}if((g|0)==1075388923){break c}if((o|0)>0|(o|0)>=0){a=a+-6.2831853069365025;f=a+-2.430840202602477e-10;S[b>>3]=f;S[b+8>>3]=a-f+-2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;f=a+2.430840202602477e-10;S[b>>3]=f;S[b+8>>3]=a-f+2.430840202602477e-10;d=-4;break a}if(g>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+-6755399441055744;f=a+j*-1.5707963267341256;l=j*6077100506506192e-26;u=f-l;e=u<-.7853981633974483;if(V(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(e){d=d-1|0;j=j+-1;l=j*6077100506506192e-26;f=a+j*-1.5707963267341256;break d}if(!(u>.7853981633974483)){break d}d=d+1|0;j=j+1;l=j*6077100506506192e-26;f=a+j*-1.5707963267341256}a=f-l;S[b>>3]=a;A(+a);e=v(1)|0;v(0)|0;c=g>>>20|0;e:{if((c-(e>>>20&2047)|0)<17){break e}l=f;a=j*6077100506303966e-26;f=f-a;l=j*20222662487959506e-37-(l-f-a);a=f-l;S[b>>3]=a;A(+a);e=v(1)|0;v(0)|0;if((c-(e>>>20&2047)|0)<50){break e}l=f;a=j*20222662487111665e-37;f=f-a;l=j*84784276603689e-45-(l-f-a);a=f-l;S[b>>3]=a}S[b+8>>3]=f-a-l;break a}if(g>>>0>=2146435072){a=a-a;S[b>>3]=a;S[b+8>>3]=a;d=0;break a}x(0,e|0);x(1,o&1048575|1096810496);a=+z();d=0;e=1;while(1){c=(m+16|0)+(d<<3)|0;if(V(a)<2147483648){d=~~a}else{d=-2147483648}f=+(d|0);S[c>>3]=f;a=(a-f)*16777216;d=1;c=e;e=0;if(c){continue}break}S[m+32>>3]=a;d=2;while(1){c=d;d=c-1|0;if(S[(m+16|0)+(c<<3)>>3]==0){continue}break}w=m+16|0;h=La-560|0;La=h;d=(g>>>20|0)-1046|0;g=(d-3|0)/24|0;t=(g|0)>0?g:0;g=T(t,-24)+d|0;p=N[146293];r=c+1|0;i=r-1|0;if((p+i|0)>=0){d=p+r|0;c=t-i|0;while(1){S[(h+320|0)+(e<<3)>>3]=(c|0)<0?0:+N[(c<<2)+585184>>2];c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}q=g-24|0;d=0;e=(p|0)>0?p:0;n=(r|0)<=0;while(1){f:{if(n){a=0;break f}k=d+i|0;c=0;a=0;while(1){a=S[(c<<3)+w>>3]*S[(h+320|0)+(k-c<<3)>>3]+a;c=c+1|0;if((r|0)!=(c|0)){continue}break}}S[(d<<3)+h>>3]=a;c=(d|0)==(e|0);d=d+1|0;if(!c){continue}break}D=47-g|0;y=48-g|0;B=(g|0)<25;E=g-25|0;d=p;g:{while(1){a=S[(d<<3)+h>>3];c=0;e=d;k=(d|0)<=0;if(!k){while(1){n=(h+480|0)+(c<<2)|0;f=a*5.960464477539063e-8;h:{if(V(f)<2147483648){i=~~f;break h}i=-2147483648}f=+(i|0);a=f*-16777216+a;i:{if(V(a)<2147483648){i=~~a;break i}i=-2147483648}N[n>>2]=i;e=e-1|0;a=S[(e<<3)+h>>3]+f;c=c+1|0;if((c|0)!=(d|0)){continue}break}}a=Gd(a,q);a=a+Z(a*.125)*-8;j:{if(V(a)<2147483648){n=~~a;break j}n=-2147483648}a=a-+(n|0);k:{l:{m:{n:{if(!B){c=(d<<2)+h|0;i=N[c+476>>2];e=i>>y;s=c;c=i-(e<>2]=c;n=e+n|0;i=c>>D;break n}if(q){break m}i=N[((d<<2)+h|0)+476>>2]>>23}if((i|0)<=0){break k}break l}i=2;if(a>=.5){break l}i=0;break k}c=0;e=0;if(!k){while(1){s=(h+480|0)+(c<<2)|0;C=N[s>>2];k=16777215;o:{p:{if(e){break p}k=16777216;if(C){break p}e=0;break o}N[s>>2]=k-C;e=1}c=c+1|0;if((c|0)!=(d|0)){continue}break}}q:{if(B){break q}c=8388607;r:{switch(E|0){case 1:c=4194303;break;case 0:break r;default:break q}}k=(d<<2)+h|0;N[k+476>>2]=N[k+476>>2]&c}n=n+1|0;if((i|0)!=2){break k}a=1-a;i=2;if(!e){break k}a=a-Gd(1,q)}if(a==0){c=1;k=0;e=d;s:{if((d|0)<=(p|0)){break s}while(1){e=e-1|0;k=N[(h+480|0)+(e<<2)>>2]|k;if((e|0)>(p|0)){continue}break}if(!k){break s}g=q;while(1){g=g-24|0;d=d-1|0;if(!N[(h+480|0)+(d<<2)>>2]){continue}break}break g}while(1){e=c;c=c+1|0;if(!N[(h+480|0)+(p-e<<2)>>2]){continue}break}e=d+e|0;while(1){i=d+r|0;d=d+1|0;S[(h+320|0)+(i<<3)>>3]=N[(t+d<<2)+585184>>2];c=0;a=0;if((r|0)>0){while(1){a=S[(c<<3)+w>>3]*S[(h+320|0)+(i-c<<3)>>3]+a;c=c+1|0;if((r|0)!=(c|0)){continue}break}}S[(d<<3)+h>>3]=a;if((d|0)<(e|0)){continue}break}d=e;continue}break}a=Gd(a,24-g|0);t:{if(a>=16777216){q=(h+480|0)+(d<<2)|0;f=a*5.960464477539063e-8;u:{if(V(f)<2147483648){c=~~f;break u}c=-2147483648}a=+(c|0)*-16777216+a;v:{if(V(a)<2147483648){e=~~a;break v}e=-2147483648}N[q>>2]=e;d=d+1|0;break t}if(V(a)<2147483648){c=~~a}else{c=-2147483648}g=q}N[(h+480|0)+(d<<2)>>2]=c}a=Gd(1,g);if((d|0)>=0){e=d;while(1){c=e;S[(c<<3)+h>>3]=a*+N[(h+480|0)+(c<<2)>>2];e=c-1|0;a=a*5.960464477539063e-8;if(c){continue}break}e=d;while(1){a=0;c=0;g=d-e|0;q=(g|0)>(p|0)?p:g;if((q|0)>=0){while(1){a=S[(c<<3)+587952>>3]*S[(c+e<<3)+h>>3]+a;r=(c|0)!=(q|0);c=c+1|0;if(r){continue}break}}S[(h+160|0)+(g<<3)>>3]=a;c=(e|0)>0;e=e-1|0;if(c){continue}break}}a=0;if((d|0)>=0){e=d;while(1){c=e;e=c-1|0;a=a+S[(h+160|0)+(c<<3)>>3];if(c){continue}break}}S[m>>3]=i?-a:a;a=S[h+160>>3]-a;c=1;if((d|0)>0){while(1){a=a+S[(h+160|0)+(c<<3)>>3];e=(d|0)!=(c|0);c=c+1|0;if(e){continue}break}}S[m+8>>3]=i?-a:a;La=h+560|0;d=n&7;a=S[m>>3];if((o|0)<0){S[b>>3]=-a;S[b+8>>3]=-S[m+8>>3];d=0-d|0;break a}S[b>>3]=a;S[b+8>>3]=S[m+8>>3]}La=m+48|0;return d}function cz(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var 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,t=0,u=0,w=0,x=0,y=0,z=0;m=La-560|0;La=m;N[m+44>>2]=0;A(+b);g=v(1)|0;v(0)|0;a:{if((g|0)<0){s=1;y=8236;b=-b;A(+b);g=v(1)|0;v(0)|0;break a}if(e&2048){s=1;y=8239;break a}s=e&1;y=s?8242:8237;z=!s}b:{if((g&2146435072)==2146435072){g=s+3|0;jc(a,32,c,g,e&-65537);ac(a,y,s);d=f&32;ac(a,b!=b?d?13118:19802:d?15186:19988,3);jc(a,32,c,g,e^8192);n=(c|0)<(g|0)?g:c;break b}u=m+16|0;c:{d:{e:{b=Vd(b,m+44|0);b=b+b;if(b!=0){g=N[m+44>>2];N[m+44>>2]=g-1;w=f|32;if((w|0)!=97){break e}break c}w=f|32;if((w|0)==97){break c}k=N[m+44>>2];l=(d|0)<0?6:d;break d}k=g-29|0;N[m+44>>2]=k;b=b*268435456;l=(d|0)<0?6:d}q=(m+48|0)+((k|0)>=0?288:0)|0;h=q;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}N[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<=0){d=k;g=h;i=q;break f}i=q;d=k;while(1){o=(d|0)>=29?29:d;g=h-4|0;g:{if(i>>>0>g>>>0){break g}d=0;while(1){j=N[g>>2];x=d;d=o&31;if((o&63)>>>0>=32){n=j<>>32-d;d=j<>>0>x>>>0?j+1|0:j,1e9,0);j=UE(d,Pa,-1e9,0)+x|0;N[g>>2]=j;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!d){break g}i=i-4|0;N[i>>2]=d}while(1){g=h;if(i>>>0>>0){h=g-4|0;if(!N[h>>2]){continue}}break}d=N[m+44>>2]-o|0;N[m+44>>2]=d;h=g;if((d|0)>0){continue}break}}if((d|0)<0){t=((l+25>>>0)/9|0)+1|0;p=(w|0)==102;while(1){d=0-d|0;n=(d|0)>=9?9:d;h:{if(g>>>0<=i>>>0){h=N[i>>2];break h}o=1e9>>>n|0;j=-1<>2];N[h>>2]=x+(d>>>n|0);d=T(o,d&j);h=h+4|0;if(h>>>0>>0){continue}break}h=N[i>>2];if(!d){break h}N[g>>2]=d;g=g+4|0}d=n+N[m+44>>2]|0;N[m+44>>2]=d;i=(!h<<2)+i|0;h=p?q:i;g=g-h>>2>(t|0)?h+(t<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=i>>>0){break i}d=T(q-i>>2,9);h=10;j=N[i>>2];if(j>>>0<10){break i}while(1){d=d+1|0;h=T(h,10);if(j>>>0>=h>>>0){continue}break}}h=(l-((w|0)!=102?d:0)|0)-((w|0)==103&(l|0)!=0)|0;if((h|0)<(T(g-q>>2,9)-9|0)){o=h+9216|0;j=(o|0)/9|0;k=((((k|0)<0?4:292)+m|0)+(j<<2)|0)-4048|0;h=10;n=o+T(j,-9)|0;if((n|0)<=7){while(1){h=T(h,10);n=n+1|0;if((n|0)!=8){continue}break}}o=N[k>>2];t=(o>>>0)/(h>>>0)|0;p=T(t,h);j=k+4|0;j:{if((o|0)==(p|0)&(j|0)==(g|0)){break j}o=o-p|0;k:{if(!(t&1)){b=9007199254740992;if(!(L[k-4|0]&1)|((h|0)!=1e9|i>>>0>=k>>>0)){break k}}b=9007199254740994}r=(g|0)==(j|0)?1:1.5;j=h>>>1|0;r=j>>>0>o>>>0?.5:(j|0)==(o|0)?r:1.5;if(!(O[y|0]!=45|z)){r=-r;b=-b}N[k>>2]=p;if(b+r==b){break j}d=h+p|0;N[k>>2]=d;if(d>>>0>=1e9){while(1){N[k>>2]=0;k=k-4|0;if(k>>>0>>0){i=i-4|0;N[i>>2]=0}d=N[k>>2]+1|0;N[k>>2]=d;if(d>>>0>999999999){continue}break}}d=T(q-i>>2,9);h=10;j=N[i>>2];if(j>>>0<10){break j}while(1){d=d+1|0;h=T(h,10);if(j>>>0>=h>>>0){continue}break}}h=k+4|0;g=g>>>0>h>>>0?h:g}while(1){j=g;o=g>>>0<=i>>>0;if(!o){g=j-4|0;if(!N[g>>2]){continue}}break}l:{if((w|0)!=103){k=e&8;break l}h=l?l:1;g=(h|0)>(d|0)&(d|0)>-5;l=(g?d^-1:-1)+h|0;f=(g?-1:-2)+f|0;k=e&8;if(k){break l}g=-9;m:{if(o){break m}k=N[j-4>>2];if(!k){break m}n=10;g=0;if((k>>>0)%10|0){break m}while(1){h=g;g=g+1|0;n=T(n,10);if(!((k>>>0)%(n>>>0)|0)){continue}break}g=h^-1}h=T(j-q>>2,9);if((f&-33)==70){k=0;g=(g+h|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g;break l}k=0;g=((d+h|0)+g|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g}n=-1;o=k|l;if(((o?2147483645:2147483646)|0)<(l|0)){break b}p=(((o|0)!=0)+l|0)+1|0;h=f&-33;n:{if((h|0)==70){if((p^2147483647)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=ue((g^d)-g|0,0,u);if((u-g|0)<=1){while(1){g=g-1|0;L[g|0]=48;if((u-g|0)<2){continue}break}}t=g-2|0;L[t|0]=f;L[g-1|0]=(d|0)<0?45:43;g=u-t|0;if((g|0)>(p^2147483647)){break b}}d=g+p|0;if((d|0)>(s^2147483647)){break b}p=d+s|0;jc(a,32,c,p,e);ac(a,y,s);jc(a,48,c,p,e^65536);o:{p:{q:{if((h|0)==70){f=m+16|0;d=f|8;k=f|9;h=i>>>0>q>>>0?q:i;i=h;while(1){g=ue(N[i>>2],0,k);r:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break r}while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}break r}if((g|0)!=(k|0)){break r}L[m+24|0]=48;g=d}ac(a,g,k-g|0);i=i+4|0;if(q>>>0>=i>>>0){continue}break}if(o){ac(a,22483,1)}if((l|0)<=0|i>>>0>=j>>>0){break q}while(1){g=ue(N[i>>2],0,k);if(g>>>0>m+16>>>0){while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}}ac(a,g,(l|0)>=9?9:l);g=l-9|0;i=i+4|0;if(j>>>0<=i>>>0){break p}d=(l|0)>9;l=g;if(d){continue}break}break p}s:{if((l|0)<0){break s}q=i>>>0>>0?j:i+4|0;f=m+16|0;d=f|8;j=f|9;h=i;while(1){g=ue(N[h>>2],0,j);if((j|0)==(g|0)){L[m+24|0]=48;g=d}t:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break t}while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}break t}ac(a,g,1);g=g+1|0;if(!(k|l)){break t}ac(a,22483,1)}f=j-g|0;ac(a,g,(f|0)>(l|0)?l:f);l=l-f|0;h=h+4|0;if(q>>>0<=h>>>0){break s}if((l|0)>=0){continue}break}}jc(a,48,l+18|0,18,0);ac(a,t,u-t|0);break o}g=l}jc(a,48,g+9|0,9,0)}jc(a,32,c,p,e^8192);n=(c|0)<(p|0)?p:c;break b}k=(f<<26>>31&9)+y|0;u:{if(d>>>0>11){break u}g=12-d|0;r=16;while(1){r=r*16;g=g-1|0;if(g){continue}break}if(O[k|0]==45){b=-(r+(-b-r));break u}b=b+r-r}q=s|2;i=f&32;h=N[m+44>>2];g=h>>31;g=ue((g^h)-g|0,0,u);if((u|0)==(g|0)){L[m+15|0]=48;g=m+15|0}l=g-2|0;L[l|0]=f+15;L[g-1|0]=(h|0)<0?45:43;g=e&8;h=m+16|0;while(1){f=h;if(V(b)<2147483648){j=~~b}else{j=-2147483648}L[h|0]=i|O[j+584032|0];b=(b-+(j|0))*16;h=f+1|0;if(!(!((d|0)>0|g)&b==0|(h-(m+16|0)|0)!=1)){L[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}n=-1;g=u-l|0;f=g+q|0;if((2147483645-f|0)<(d|0)){break b}j=f;f=m+16|0;i=h-f|0;d=d?(i-2|0)<(d|0)?d+2|0:i:i;h=j+d|0;jc(a,32,c,h,e);ac(a,k,q);jc(a,48,c,h,e^65536);ac(a,f,i);jc(a,48,d-i|0,0,0);ac(a,l,g);jc(a,32,c,h,e^8192);n=(c|0)<(h|0)?h:c}La=m+560|0;return n|0}function EC(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0;j=La-432|0;La=j;t=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{c=N[b+40>>2];b:{if(!c){break b}d=c+(N[b+36>>2]<<2)|0;g=d-4|0;c:{d:{if(c>>>0<=g>>>0){while(1){e=N[g>>2];e:{if(N[e+4>>2]!=1970170211){break e}f:{switch(P[e+8>>1]){case 3:if(P[e+10>>1]!=10){break e}break d;case 0:break f;default:break e}}if(P[e+10>>1]==4){break d}}g=g-4|0;if(c>>>0<=g>>>0){continue}break}}while(1){d=d-4|0;if(c>>>0>d>>>0){break c}e=N[d>>2];if(N[e+4>>2]!=1970170211){continue}break}}N[b+92>>2]=e;Hp(a,b);g=N[N[a>>2]+12>>2];n=db(1,172);g:{if(!n){n=588184;break g}N[n+148>>2]=1073741823;N[n+152>>2]=536870911;N[n>>2]=1;N[n+4>>2]=1;c=Ic();h:{if(!c){break h}d=N[c>>2];if(!d){break h}if((d|0)<=0){break a}N[c>>2]=d+1}L[n+60|0]=1;N[n+24>>2]=65533;N[n+12>>2]=c}d=(g<<3)+283472|0;e=N[d>>2];if((e|0)!=5531){D=a+7720|0;E=a+44|0;while(1){w=d;d=e+277936|0;e=O[d|0];i:{if(!e){break i}u=P[w+4>>1];z=u&2;x=z?E:D;y=1;A=u&1;r=0;s=0;while(1){c=e&255;if((c|0)!=32){j:{k:{if((c|0)==124){d=d+1|0;break k}d=Fe(d,a,n,j+12|0);if(Q[j+12>>2]>1){break j}c=N[n+80>>2];g=N[n+68>>2];l:{if(O[n+63|0]|N[n+168>>2]){break l}N[n+84>>2]=c;N[n+72>>2]=0;M[n+62>>1]=256;f=T(g,20);if(!f){break l}C(N[n+88>>2],0,f)}if(!g){break j}c=N[c>>2];if(!c){break j}if(vc(b,c,1)){break j}c=N[b+84>>2];if(M[c+110>>1]<3){break j}l=M[c+108>>1];m:{if((l|0)<=0){e=0;break m}v=N[c+120>>2];k=N[c+112>>2];if(!z){i=-1;g=0;e=0;m=0;if(!A){while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;n:{if((f|0)>=(o|0)){break n}if(g-f&1){c=N[(k+(f<<3)|0)+4>>2];h=(i|0)<0|(c|0)<(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break n}while(1){f=i;h=(i|0)<0;i=N[(k+(c<<3)|0)+4>>2];h=h|(i|0)<(e|0);p=h?c:f;f=c+1|0;q=N[(k+(f<<3)|0)+4>>2];h=h?i:e;e=(p|0)<0|(q|0)<(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break m}}while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;o:{if((f|0)>=(o|0)){break o}if(g-f&1){c=N[(k+(f<<3)|0)+4>>2];h=(i|0)<0|(c|0)>(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break o}while(1){f=i;h=(i|0)<0;i=N[(k+(c<<3)|0)+4>>2];h=h|(i|0)>(e|0);p=h?c:f;f=c+1|0;q=N[(k+(f<<3)|0)+4>>2];h=h?i:e;e=(p|0)<0|(q|0)>(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break}break m}i=-1;g=0;e=0;m=0;if(!A){while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;p:{if((f|0)>=(o|0)){break p}if(g-f&1){c=N[k+(f<<3)>>2];h=(i|0)<0|(c|0)<(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break p}while(1){f=i;h=(i|0)<0;i=N[k+(c<<3)>>2];h=h|(i|0)<(e|0);p=h?c:f;f=c+1|0;q=N[k+(f<<3)>>2];h=h?i:e;e=(p|0)<0|(q|0)<(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break m}}while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;q:{if((f|0)>=(o|0)){break q}if(g-f&1){c=N[k+(f<<3)>>2];h=(i|0)<0|(c|0)>(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break q}while(1){f=i;h=(i|0)<0;i=N[k+(c<<3)>>2];h=h|(i|0)>(e|0);p=h?c:f;f=c+1|0;q=N[k+(f<<3)>>2];h=h?i:e;e=(p|0)<0|(q|0)>(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break}}if(y){N[(j+224|0)+(r<<2)>>2]=e;y=1;r=r+1|0;break j}N[(j+16|0)+(s<<2)>>2]=e;s=s+1|0}y=0}e=O[d|0];if(e){continue}if(!(r|s)){break i}r:{if(r>>>0<2){break r}c=1;if((r|0)!=2){d=r-1|0;i=d&1;m=d&-2;f=0;while(1){e=N[(j+224|0)+(c<<2)>>2];d=c;while(1){g=d-1|0;k=(j+224|0)+(g<<2)|0;l=N[k>>2];if((l|0)>(e|0)){N[(j+224|0)+(d<<2)>>2]=l;N[k>>2]=e;d=g;if(d){continue}}break}d=c+1|0;g=N[(j+224|0)+(d<<2)>>2];while(1){s:{e=(d<<2)+j|0;k=N[e+220>>2];if((k|0)<=(g|0)){break s}l=j+224|0;N[l+(d<<2)>>2]=k;N[e+220>>2]=g;d=d-2|0;k=l+(d<<2)|0;l=N[k>>2];if((l|0)<=(g|0)){break s}N[e+220>>2]=l;N[k>>2]=g;if(d){continue}}break}c=c+2|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}if(!i){break r}}g=N[(j+224|0)+(c<<2)>>2];while(1){d=c-1|0;f=(j+224|0)+(d<<2)|0;e=N[f>>2];if((e|0)<=(g|0)){break r}N[(j+224|0)+(c<<2)>>2]=e;N[f>>2]=g;c=d;if(c){continue}break}}t:{if(s>>>0<2){break t}c=1;if((s|0)!=2){d=s-1|0;i=d&1;m=d&-2;f=0;while(1){e=N[(j+16|0)+(c<<2)>>2];d=c;while(1){g=d-1|0;k=(j+16|0)+(g<<2)|0;l=N[k>>2];if((l|0)>(e|0)){N[(j+16|0)+(d<<2)>>2]=l;N[k>>2]=e;d=g;if(d){continue}}break}d=c+1|0;g=N[(j+16|0)+(d<<2)>>2];while(1){u:{e=(d<<2)+j|0;k=N[e+12>>2];if((k|0)<=(g|0)){break u}l=j+16|0;N[l+(d<<2)>>2]=k;N[e+12>>2]=g;d=d-2|0;k=l+(d<<2)|0;l=N[k>>2];if((l|0)<=(g|0)){break u}N[e+12>>2]=l;N[k>>2]=g;if(d){continue}}break}c=c+2|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}if(!i){break t}}g=N[(j+16|0)+(c<<2)>>2];while(1){d=c-1|0;f=(j+16|0)+(d<<2)|0;e=N[f>>2];if((e|0)<=(g|0)){break t}N[(j+16|0)+(c<<2)>>2]=e;N[f>>2]=g;c=d;if(c){continue}break}}c=N[x+216>>2];N[x+216>>2]=c+1;c=T(c,28)+x|0;d=N[(j+224|0)+(r<<1&-4)>>2];v:{w:{if(!s){break w}d=N[(j+16|0)+(s<<1&-4)>>2];if(!r){break w}d=N[(j+224|0)+(r<<1&-4)>>2];N[c+220>>2]=d;g=N[(j+16|0)+(s<<1&-4)>>2];N[c+232>>2]=g;if(((d|0)<=(g|0)^u)&1|(d|0)==(g|0)){break v}d=(d+g|0)/2|0}N[c+232>>2]=d;N[c+220>>2]=d}N[c+244>>2]=u<<1&2}else{e=O[d+1|0];d=d+1|0;continue}break}}d=w+8|0;e=N[w+8>>2];if((e|0)!=5531){continue}break}}dc(n);Gp(a)}if(!b|!t){break b}d=N[b+40>>2];if(!d){break b}a=N[b+36>>2];if((a|0)<=0){break b}a=(a<<2)+d|0;while(1){x:{if(N[d>>2]!=(t|0)){break x}c=N[t>>2];y:{if(!c){break y}c=N[c+96>>2];g=N[N[c>>2]+32>>2];if(!g){break y}c=Qa[g|0](c,10557)|0;if(!c){break y}if(Qa[N[c>>2]](t,j+224|0)|0){break y}if(N[j+228>>2]==14){break x}}N[b+92>>2]=N[d>>2];break b}d=d+4|0;if(a>>>0>d>>>0){continue}break}}La=j+432|0;return 0}ba(23506,14099,260,16403);B()}function hE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;g=La-32|0;La=g;a:{b:{if(ib(c,b,12151,0)){p=wf(b,c,1,11,-1,-1);o=N[c+68>>2];if(o){d=o-1|0;l=N[c+80>>2];k=l+3|0;a=0;e=O[l+15|0];while(1){c:{if((a|0)==(d|0)){a=o;break c}a=a+1|0;if(O[(k+T(a,20)|0)+12|0]==(e|0)){continue}}break}d=0;while(1){k=a;d:{if(e&14){break d}e:{f:{a=d+3|0;if(k>>>0>>0){break f}e=T(d,20)+l|0;if(O[e+18|0]!=15|O[e+38|0]!=32|O[e+58|0]!=4){break f}i=0;j=3;break e}i=1;a=d;j=0}m=l+3|0;f=d;g:{if(a>>>0>=k>>>0){break g}while(1){h:{e=T(a,20)+l|0;if(O[e+12|0]&32){break h}e=O[e+18|0];if(e>>>0>31|!(1<>>0>>0){a=0;e=d;if(!i){while(1){L[(m+T(e,20)|0)+16|0]=5;e=e+1|0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}if(j-1>>>0>6){while(1){a=m+T(e,20)|0;L[a+36|0]=5;L[a+16|0]=5;L[a+56|0]=5;L[a+76|0]=5;L[a+96|0]=5;L[a+116|0]=5;L[a+136|0]=5;L[a+156|0]=5;e=e+8|0;if((h|0)!=(e|0)){continue}break}}a=h}if(a>>>0>>0){j=f+(a^-1)|0;e=0;h=f-a&7;if(h){while(1){L[(m+T(a,20)|0)+16|0]=3;a=a+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(j>>>0>=7){while(1){e=m+T(a,20)|0;L[e+36|0]=3;L[e+16|0]=3;L[e+56|0]=3;L[e+76|0]=3;L[e+96|0]=3;L[e+116|0]=3;L[e+136|0]=3;L[e+156|0]=3;a=a+8|0;if((f|0)!=(a|0)){continue}break}}a=f}if(a>>>0>>0){L[(T(a,20)+l|0)+19|0]=4;a=a+1|0}e=5;if(a>>>0>>0){while(1){i:{j:{k:{l:{m:{h=T(a,20);f=h+l|0;j=O[f+18|0];switch(j-22|0){case 18:break k;case 0:break l;case 14:break m;default:break j}}L[f+19|0]=3;break i}L[f+19|0]=2;break i}L[f+19|0]=O[(h+m|0)-4|0];break i}n:{o:{if((e|0)==5&(j|0)==21){break o}if((e|0)!=8){break n}if((j|0)==9){L[f+19|0]=7;e=8;break i}if((j|0)==21){break o}e=9;break n}e=8}L[f+19|0]=e}a=a+1|0;if((k|0)!=(a|0)){continue}break}}if(O[c+63|0]){break b}f=d;h=d+1|0;a=h;if(k>>>0>a>>>0){while(1){j=f;f=a;i=a>>>0>d>>>0?d:a;e=a;while(1){p:{a=e;if(d>>>0>=a>>>0){a=i;break p}n=N[c+80>>2];e=a-1|0;if(O[(n+T(e,20)|0)+19|0]>O[(T(f,20)+n|0)+19|0]){continue}}break}if((a|0)!=(f|0)){e=j+2|0;if(e-a>>>0>=2){Ib(c,a,e)}j=N[c+80>>2];e=j+T(f,20)|0;N[g+24>>2]=N[e+16>>2];i=N[e+12>>2];N[g+16>>2]=N[e+8>>2];N[g+20>>2]=i;i=N[e+4>>2];N[g+8>>2]=N[e>>2];N[g+12>>2]=i;e=T(a,20);j=e+j|0;F(j+20|0,j,T(f-a|0,20));a=e+N[c+80>>2]|0;e=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=e;N[a+16>>2]=N[g+24>>2];e=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=e}a=f+1|0;if((k|0)!=(a|0)){continue}break}}if(d>>>0>=k>>>0){break d}q:{if(!(k-d&1)){j=k;break q}j=O[(m+T(d,20)|0)+16|0]==2?d:k;d=h}e=j;if((h|0)==(k|0)){break d}while(1){a=d+1|0;f=m+T(d,20)|0;h=O[f+16|0]==2;f=O[f+36|0]==2;j=f?a:h?d:j;i=a;a=h?(e|0)==(k|0)?d:e:e;e=f?(a|0)==(k|0)?i:a:a;d=d+2|0;if((k|0)!=(d|0)){continue}break}if(e>>>0>=j>>>0){break d}a=N[c+68>>2];i=j+1|0;d=a>>>0>>0?a:i;h=a>>>0>>0?a:e;r:{if(d>>>0>>0){break r}f=d-1|0;if(h>>>0>=f>>>0){break r}m=N[c+80>>2];while(1){a=m+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=m+T(h,20)|0;N[a+16>>2]=N[d+16>>2];n=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=n;n=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=n;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}s:{if(!O[c+63|0]){break s}a=N[c+68>>2];d=a>>>0>>0?a:i;h=a>>>0>>0?a:e;if(d>>>0>>0){break s}f=d-1|0;if(h>>>0>=f>>>0){break s}i=N[c+88>>2];while(1){a=i+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=i+T(h,20)|0;N[a+16>>2]=N[d+16>>2];m=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=m;m=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=m;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}m=l+2|0;a=e;while(1){d=a;a=e;e=a+1|0;t:{if(O[(m+T(a,20)|0)+16|0]!=22){a=d;break t}a=N[c+68>>2];f=a>>>0>>0?a:e;h=a>>>0>>0?a:d;u:{if(f>>>0>>0){break u}f=f-1|0;if(h>>>0>=f>>>0){break u}l=N[c+80>>2];while(1){i=l+T(f,20)|0;N[g+24>>2]=N[i+16>>2];a=N[i+12>>2];N[g+16>>2]=N[i+8>>2];N[g+20>>2]=a;a=N[i+4>>2];N[g+8>>2]=N[i>>2];N[g+12>>2]=a;a=l+T(h,20)|0;N[i+16>>2]=N[a+16>>2];n=N[a+12>>2];N[i+8>>2]=N[a+8>>2];N[i+12>>2]=n;n=N[a+4>>2];N[i>>2]=N[a>>2];N[i+4>>2]=n;N[a+16>>2]=N[g+24>>2];i=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=i;i=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=i;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}a=e;if(!O[c+63|0]){break t}f=N[c+68>>2];i=a>>>0>f>>>0?f:e;h=d>>>0>f>>>0?f:d;if(i>>>0>>0){break t}f=i-1|0;if(h>>>0>=f>>>0){break t}i=N[c+88>>2];while(1){a=i+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=i+T(h,20)|0;N[a+16>>2]=N[d+16>>2];l=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=l;l=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=l;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}a=e}if(e>>>0<=j>>>0){continue}break}}a=N[c+68>>2];e=k+1|0;d=a>>>0>e>>>0?a:e;f=d-1|0;l=N[c+80>>2];e=O[(l+T(k,20)|0)+15|0];j=l+3|0;a=k;while(1){v:{if((a|0)==(f|0)){a=d;break v}a=a+1|0;if(O[(j+T(a,20)|0)+12|0]==(e&255)){continue}}break}d=k;if(o>>>0>d>>>0){continue}break}}ib(c,b,12176,0)}a=O[c+140|0];if(!(a&64)){break a}a=a<<24>>24;L[c+140|0]=a&191;if((a|0)>=0){break a}L[c+140|0]=a&63;La=g+32|0;return p|0}ba(10615,17855,2019,8730);B()}ba(22742,14165,187,12136);B()}function Yf(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0;e=La-1488|0;La=e;i=N[a+4>>2];p=N[i+556>>2];k=N[p+40>>2];a:{b:{c:{j=N[i+712>>2];if(N[j+1504>>2]==65535){break c}f=N[j+1192>>2];if(!f){break c}if(!c){c=0;break b}g=6;if(Q[j+1196>>2]>>0){break a}c=P[f+(c<<1)>>1];if(c){break b}break a}g=6;if(Q[j+20>>2]<=c>>>0){break a}}N[a+164>>2]=65536;N[a+168>>2]=65536;o=d&1024?d|3:d;d:{e:{if(!b){break e}N[a+164>>2]=N[b+16>>2];N[a+168>>2]=N[b+20>>2];d=N[b+44>>2];if(o&8|(d|0)==-1){break e}f=N[b>>2];g=N[f+540>>2];if(!N[g+96>>2]){break e}if(Qa[N[g+72>>2]](i,d,c,o,N[f+104>>2],a+76|0,e+708|0)|0){break e}N[a+108>>2]=0;N[a+24>>2]=P[e+710>>1]<<6;N[a+28>>2]=P[e+708>>1]<<6;b=M[e+712>>1];N[a+32>>2]=b<<6;d=M[e+714>>1];N[a+36>>2]=d<<6;N[a+40>>2]=P[e+716>>1]<<6;f=M[e+718>>1];N[a+44>>2]=f<<6;g=M[e+720>>1];N[a+48>>2]=g<<6;j=P[e+722>>1];h=d;d=o&16;N[a+104>>2]=d?g:h;N[a+100>>2]=d?f:b;N[a+72>>2]=1651078259;N[a+52>>2]=j<<6;Qa[N[N[i+540>>2]+156>>2]](i,0,c,e+32|0,e+52|0);N[a+56>>2]=P[e+52>>1];if(!(!O[i+292|0]|!P[i+330>>1])){Qa[N[N[i+540>>2]+156>>2]](i,1,c,e+32|0,e+52|0);N[a+60>>2]=P[e+52>>1];break d}if(P[i+372>>1]!=65535){N[a+60>>2]=M[i+442>>1]-M[i+444>>1];break d}N[a+60>>2]=M[i+220>>1]-M[i+222>>1];break d}g=6;if(o&16384){break a}l=N[j+2024>>2];f:{if(l){g=0;f=N[j+3060>>2];g:{if(!f){break g}h:{switch(O[j+3052|0]){case 0:g=O[c+f|0];break g;case 3:break h;default:break g}}if(Q[j+3072>>2]>c-N[j+3068>>2]>>>0){g=O[j+3076|0];break g}g=f+2|0;d=O[f+1|0]|O[f|0]<<8;h=f+N[j+3064>>2]|0;while(1){if(c>>>0>=d>>>0){f=O[g+2|0]|O[g+1|0]<<8;if(f>>>0>c>>>0){g=O[g|0];L[j+3076|0]=g;N[j+3072>>2]=f-d;N[j+3068>>2]=d;break g}d=f;g=g+3|0;if(h>>>0>g>>>0){continue}}break}g=0}l=(j+(((l>>>0>(g&255)>>>0?g:l-1|0)&255)<<2)|0)+2028|0;d=N[l>>2];f=N[d+68>>2];g=N[j+1440>>2];h=N[d+60>>2];N[e+40>>2]=N[d+56>>2];N[e+44>>2]=h;h=N[d+52>>2];N[e+32>>2]=N[d+48>>2];N[e+36>>2]=h;d=N[l>>2];l=N[d+72>>2];h=N[d+76>>2];if((g|0)==(f|0)){break f}w=a,x=jb(N[a+164>>2],g,f),N[w+164>>2]=x;w=a,x=jb(N[a+168>>2],g,f),N[w+168>>2]=x;q=1;break f}d=j+1428|0;f=N[d+4>>2];N[e+40>>2]=N[d>>2];N[e+44>>2]=f;d=j+1420|0;f=N[d+4>>2];N[e+32>>2]=N[d>>2];N[e+36>>2]=f;h=N[j+1448>>2];l=N[j+1444>>2]}N[a+108>>2]=0;N[a+72>>2]=1869968492;r=o&1;L[a+161|0]=!r;n=!(o&2);L[a+160|0]=n;Qa[N[k>>2]](e+708|0,i,b,a,n,o>>>16&15,153,154);if(o&256){L[e+1301|0]=1}s=o&1024;L[e+774|0]=s>>>10;d=N[N[i+128>>2]+52>>2];i:{if(d){g=Qa[N[N[d>>2]>>2]](N[d+4>>2],c,e+52|0)|0;N[e+28>>2]=N[e+52>>2];N[e+24>>2]=N[e+56>>2];break i}g=Xf(N[i+712>>2]+1204|0,c,e+28|0,e+24|0)}if(g){break a}g=Qa[N[k+4>>2]](e+708|0,b,c)|0;if(g){break a}d=e+52|0;Qa[N[p+24>>2]](d,e+708|0,0);m=d;f=N[e+28>>2];d=N[e+24>>2];g=Qa[N[k+8>>2]](m,f,d)|0;if((g&255)==164){L[a+160|0]=0;q=1;n=0;g=Qa[N[k+8>>2]](e+52|0,f,d)|0}k=N[N[i+128>>2]+52>>2];j:{if(k){N[e+12>>2]=d;N[e+8>>2]=f;Qa[N[N[k>>2]+4>>2]](N[k+4>>2],e+8|0);break j}k=N[i+712>>2];if(N[k+1236>>2]){break j}k=N[k+1204>>2];if(!f|(!k|!N[k+20>>2])){break j}k=N[k+28>>2];Qa[N[k+8>>2]](k,f)}if(g){break a}g=0;k:{if(N[N[i+128>>2]+52>>2]){d=0}else{f=N[j+1232>>2];if(!f){break k}g=(N[j+1236>>2]+N[f+(c<<2)>>2]|0)-1|0}N[a+140>>2]=d;N[a+136>>2]=g}Qa[N[e+788>>2]](e+708|0);d=N[N[i+128>>2]+52>>2];l:{if(!d){break l}f=N[N[d>>2]+8>>2];if(!f){break l}N[e+12>>2]=0;N[e+8>>2]=N[e+740>>2];g=N[e+752>>2];N[e+16>>2]=N[e+748>>2];N[e+20>>2]=g;g=Qa[f|0](N[d+4>>2],c,0,e+8|0)|0;N[e+740>>2]=N[e+8>>2];d=N[e+20>>2];N[e+748>>2]=N[e+16>>2];N[e+752>>2]=d;if(g){break a}}if(s){N[a+32>>2]=N[e+740>>2];N[a+40>>2]=N[e+1292>>2];b=N[e+40>>2];c=N[e+44>>2];d=N[e+32>>2];f=N[e+36>>2];a=N[a+156>>2];N[a+28>>2]=l;N[a+32>>2]=h;L[a+8|0]=1;N[a+20>>2]=b;N[a+24>>2]=c;N[a+12>>2]=d;N[a+16>>2]=f;break d}m:{if(P[i+250>>1]){M[e+8>>1]=0;M[e+28>>1]=0;Qa[N[N[i+540>>2]+156>>2]](i,0,c,e+8|0,e+28|0);d=P[e+28>>1];N[a+32>>2]=M[e+8>>1];break m}d=N[e+1292>>2]}N[a+56>>2]=d;N[a+40>>2]=d;L[N[a+156>>2]+8|0]=0;n:{if(!(!O[i+292|0]|!P[i+330>>1])){M[e+8>>1]=0;M[e+28>>1]=0;Qa[N[N[i+540>>2]+156>>2]](i,1,c,e+8|0,e+28|0);N[a+48>>2]=M[e+8>>1];f=P[e+28>>1];N[a+52>>2]=f;i=1;break n}if(P[i+372>>1]!=65535){f=M[i+442>>1]-M[i+444>>1]|0}else{f=M[i+220>>1]-M[i+222>>1]|0}N[a+52>>2]=f;i=0}N[a+72>>2]=1869968492;N[a+60>>2]=f;k=a+108|0;N[a+124>>2]=b?P[b+14>>1]<24?260:4:4;o:{if(!(N[e+36>>2]|(N[e+32>>2]!=65536|N[e+44>>2]!=65536))){if(!N[e+40>>2]){break o}}kg(k,e+32|0);w=a,x=ob(N[a+40>>2],N[e+32>>2]),N[w+40>>2]=x;f=ob(N[a+52>>2],N[e+44>>2]);N[a+52>>2]=f}if(h|l){te(k,l,h);N[a+40>>2]=N[a+40>>2]+l;f=N[a+52>>2]+h|0;N[a+52>>2]=f}if(!(q?0:r)){b=N[a+168>>2];g=N[a+164>>2];p:{if(N[e+776>>2]?n:0){break p}c=M[a+110>>1];if((c|0)<=0){break p}c=c&65535;d=b>>31;j=(d^b)-d|0;q=j&65535;p=j>>>16|0;r=j>>>8|0;d=g>>31;l=(d^g)-d|0;s=l&65535;u=l>>>16|0;v=l>>>8|0;d=N[a+112>>2];while(1){n=N[d>>2];h=n>>31;h=(h^n)-h|0;q:{if(h+v>>>0<=8190){m=T(h,l)+32768>>>16|0;break q}m=h&65535;m=T(m,u)+T(l,h>>>16|0)+(T(s,m)+32768>>>16)|0}h=m;t=0-h|0;h=n>>31|1;N[d>>2]=(((g|0)<0?0-h|0:h)|0)<0?t:m;n=N[d+4>>2];h=n>>31;h=(h^n)-h|0;r:{if(h+r>>>0<=8190){m=T(h,j)+32768>>>16|0;break r}m=h&65535;m=T(m,p)+T(j,h>>>16|0)+(T(q,m)+32768>>>16)|0}h=m;t=0-h|0;h=n>>31|1;N[d+4>>2]=(((b|0)<0?0-h|0:h)|0)<0?t:m;d=d+8|0;h=c>>>0>1;c=c-1|0;if(h){continue}break}}w=a,x=ob(N[a+40>>2],g),N[w+40>>2]=x;f=ob(f,b);N[a+52>>2]=f}En(k,e+8|0);b=N[e+8>>2];N[a+24>>2]=N[e+16>>2]-b;c=N[e+12>>2];d=N[e+20>>2];N[a+36>>2]=d;N[a+32>>2]=b;N[a+28>>2]=d-c;if(i){N[a+44>>2]=b+(N[a+40>>2]/-2|0);w=a,x=ob(N[a+48>>2],N[a+168>>2]),N[w+48>>2]=x;break d}if(!(o&16)){break d}tn(a+24|0,f)}g=0}La=e+1488|0;return g}function ci(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0,x=0;g=La-48|0;La=g;o=N[a>>2];h=N[b+20>>2];a:{b:{if(h){f=85;if(Qa[h|0](b,c,0,0)|0){break a}k=N[b+4>>2];break b}f=85;k=N[b+4>>2];if(k>>>0>>0){break a}}N[b+8>>2]=c;if(c>>>0>=k>>>0){break a}h=N[b+20>>2];c:{if(h){k=Qa[h|0](b,c,g+16|0,16)|0;break c}h=k-c|0;k=h>>>0>=16?16:h;F(g+16|0,N[b>>2]+c|0,k)}N[b+8>>2]=c+k;if(k>>>0<16){break a}j=L[g+16|0];if((j|0)<0){f=2;break a}h=L[g+20|0];if((h|0)<0){f=2;break a}n=L[g+24|0];if((n|0)<0){f=2;break a}l=L[g+28|0];if((l|0)<0){f=2;break a}h=O[g+23|0]|(O[g+21|0]<<16|(h&255)<<24|O[g+22|0]<<8);if(!h){f=2;break a}i=O[g+31|0];l=i|(O[g+29|0]<<16|(l&255)<<24|O[g+30|0]<<8);n=O[g+27|0]|(O[g+25|0]<<16|(n&255)<<24|O[g+26|0]<<8);d:{j=O[g+19|0]|(O[g+17|0]<<16|(j&255)<<24|O[g+18|0]<<8);if(j>>>0>>0){if((j|0)<=(h-n|0)){break d}f=2;break a}if((h|0)<=(j-l|0)){break d}f=2;break a}if(j>>>0>(n^2147483647)>>>0){f=2;break a}if(h>>>0>(l^2147483647)>>>0){f=2;break a}if((j+n^2147483647)<(c|0)){f=2;break a}if((h+l^2147483647)<(c|0)){f=2;break a}j=c+j|0;k=j+n|0;n=N[b+4>>2];if(k>>>0>n>>>0){f=2;break a}c=c+h|0;if(n>>>0>>0){f=2;break a}h=N[b+20>>2];e:{if(h){if(Qa[h|0](b,c,0,0)|0){break a}i=O[g+31|0];break e}if(c>>>0>n>>>0){break a}}N[b+8>>2]=c;L[g+15|0]=i+1;f=Zb(b,g,16);if(f){break a}u=O[g|0];v=O[g+1|0];w=O[g+2|0];x=O[g+3|0];t=O[g+4|0];q=O[g+5|0];r=O[g+6|0];s=O[g+7|0];p=O[g+8|0];k=O[g+9|0];m=O[g+10|0];n=O[g+11|0];f=O[g+12|0];h=O[g+13|0];i=O[g+15|0];l=O[g+14|0];if(!(!(u|(v|(w|(x|(t|(q|(r|(s|(p|(k|(m|(n|(f|(h|(i|l)))))))))))))))|O[g+31|0]==(i|0)&O[g+30|0]==(l|0)&O[g+29|0]==(h|0)&O[g+28|0]==(f|0)&(n|0)==O[g+27|0]&(m|0)==O[g+26|0]&(k|0)==O[g+25|0]&(p|0)==O[g+24|0]&(s|0)==O[g+23|0]&(r|0)==O[g+22|0]&(q|0)==O[g+21|0]&(t|0)==O[g+20|0]&(x|0)==O[g+19|0]&(w|0)==O[g+18|0]&(v|0)==O[g+17|0]&(u|0)==O[g+16|0])){f=2;break a}h=N[b+8>>2]+8|0;i=N[b+20>>2];f:{g:{if(i){f=85;if(!(Qa[i|0](b,h,0,0)|0)){break g}break f}f=85;if(h>>>0>Q[b+4>>2]){break f}}N[b+8>>2]=h;f=0}N[g+44>>2]=f;h=xb(b,g+44|0);f=N[g+44>>2];if(f){break a}f=2;h=h<<16>>16;if((h|0)<0){break a}c=c+h|0;h=N[b+20>>2];h:{if(h){f=85;if(!(Qa[h|0](b,c,0,0)|0)){break h}break a}f=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;f=1;i:{j:{k:{if(!xn(N[a>>2],b,c,j,1347375956,1,g,g+44|0)){s=N[g>>2];l:{m:{n:{if(d+1>>>0>1){break n}t=N[g+44>>2];if((t|0)<=0){f=10;break n}r=N[a>>2];d=0;k=0;while(1){c=N[s+(k<<2)>>2];o:{p:{f=N[b+20>>2];if(f){if(!(Qa[f|0](b,c,0,0)|0)){break p}f=85;break m}f=N[b+4>>2];if(f>>>0>=c>>>0){break o}f=85;break m}f=N[b+4>>2]}N[b+8>>2]=c;q:{r:{s:{t:{if(c+3>>>0>=f>>>0){break t}f=N[b+20>>2];if(f){if((Qa[f|0](b,c,g+16|0,4)|0)!=4){break t}c=N[b+8>>2];f=g+16|0;break r}f=N[b>>2];if(!f){break s}f=c+f|0;break r}f=85;break m}N[b+8>>2]=c+4;c=0;break q}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);N[b+8>>2]=c+4;c=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(c>>>0<=16777215){break q}f=9;break m}d=d+6|0;if(d>>>0>(c^16777215)>>>0){f=9;break m}d=c+d|0;k=k+1|0;if((t|0)!=(k|0)){continue}break}q=d+2|0;m=Qa[N[r+4>>2]](r,q)|0;if(!m){f=64;break m}L[m+2|0]=0;L[m+3|0]=0;L[m+4|0]=0;L[m+5|0]=0;L[m|0]=128;L[m+1|0]=1;p=2;j=6;h=0;n=1;k=0;u:{while(1){c=N[s+(k<<2)>>2];f=N[b+20>>2];v:{if(f){if(Qa[f|0](b,c,0,0)|0){break u}f=N[b+4>>2];break v}f=N[b+4>>2];if(f>>>0>>0){break u}}N[b+8>>2]=c;if(c+3>>>0>=f>>>0){break u}w:{x:{f=N[b+20>>2];y:{if(f){if((Qa[f|0](b,c,g+16|0,4)|0)!=4){break u}c=N[b+8>>2];f=g+16|0;break y}f=N[b>>2];if(!f){break x}f=c+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break w}f=0}N[b+8>>2]=c+4;if((f|0)<0){break u}c=N[b+8>>2];if(Q[b+4>>2]<=c+1>>>0){break u}z:{A:{B:{i=N[b+20>>2];if(i){if((Qa[i|0](b,c,g+16|0,2)|0)!=2){break u}c=N[b+8>>2];i=g+16|0;break B}i=N[b>>2];if(i){i=c+i|0;break B}N[b+8>>2]=c+2;break A}l=O[i+1|0];i=O[i|0];N[b+8>>2]=c+2;if((l|i<<8)>>>0<256){break A}c=f-2|0;l=c>>>0<=f>>>0?c:0;C:{if((i|0)==(n|0)){f=j;h=h+l|0;break C}f=p+3|0;if(f>>>0>q>>>0){break u}c=m+p|0;L[c|0]=h;L[c+2|0]=h>>>16;L[c+1|0]=h>>>8;L[f+m|0]=h>>>24;if((i|0)==5){break z}f=j+6|0;if(q>>>0>>0){break u}h=j+m|0;L[h|0]=128;p=j+2|0;c=m+p|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[h+1|0]=i;n=i;h=l}if(d>>>0>>0){break u}j=f+l|0;if(j>>>0>d>>>0){break u}if(Zb(b,f+m|0,l)){break u}}k=k+1|0;if((t|0)!=(k|0)){continue}}break}c=j+2|0;if(c>>>0>q>>>0){break u}b=j+m|0;L[b|0]=128;L[b+1|0]=3;d=p+3|0;if(d>>>0>q>>>0){break u}b=m+p|0;L[b|0]=h;L[b+2|0]=h>>>16;L[b+1|0]=h>>>8;L[d+m|0]=h>>>24;f=_h(a,m,c,0,21728,e);break n}Qa[N[r+8>>2]](r,m);f=1}if(!s){break l}}Qa[N[o+8>>2]](o,s)}if(f){break a}c=1;break k}f=xn(N[a>>2],b,c,j,1936092788,0,g,g+44|0);if(f){break a}j=N[g>>2];c=N[g+44>>2];d=(d|0)%(c|0)|0;l=d>>31^d;if((c|0)<=(l|0)){break j}i=N[a>>2];h=N[j+(l<<2)>>2];d=N[b+20>>2];D:{if(d){f=85;if(!(Qa[d|0](b,h,0,0)|0)){break D}break i}f=85;if(h>>>0>Q[b+4>>2]){break i}}N[b+8>>2]=h;N[g+16>>2]=0;d=Nb(b,g+16|0);f=N[g+16>>2];if(f){break i}f=1;if((d|0)<=0){break i}f=9;if(d>>>0>16777215){break i}if(!Cn(a,b,l,e)){Qa[N[o+8>>2]](o,j);break k}h=h+4|0;l=N[b+20>>2];E:{if(l){f=85;if(Qa[l|0](b,h,0,0)|0){break i}break E}f=85;if(h>>>0>Q[b+4>>2]){break i}}N[b+8>>2]=h;h=Qa[N[i+4>>2]](i,d)|0;if(!h){f=64;break i}f=Zb(b,h,d);if(f){Qa[N[i+8>>2]](i,h);break i}if(d>>>0>=5){b=Mb(h,19751,4)?15504:15225}else{b=15504}f=_h(a,h,d,0,b,e);Qa[N[o+8>>2]](o,j);if(f){break a}}N[N[e>>2]>>2]=c;f=0;break a}f=1;if(!j){break a}Qa[N[o+8>>2]](o,j);break a}Qa[N[o+8>>2]](o,j)}La=g+48|0;return f}function Yd(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,Q=0,R=0,S=0;i=La-48|0;La=i;v=N[a>>2];y=N[a+40>>2];k=N[a+36>>2];c=N[N[a+2748>>2]+40>>2];L[i+39|0]=0;L[i+40|0]=0;L[i+41|0]=0;L[i+42|0]=0;N[i+32>>2]=0;N[i+36>>2]=0;N[i+24>>2]=0;N[i+28>>2]=0;N[i+8>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;N[i>>2]=0;N[i+4>>2]=0;d=T(b,1348)+a|0;w=d;N[d+44>>2]=0;f=N[d+68>>2];H=(c>>>0)/14|0;e=N[a+28>>2];d=N[a+24>>2];c=e+T(d,40)|0;a:{if(!b){if((d|0)<=0){break a}while(1){N[e+24>>2]=M[e+12>>1];N[e+28>>2]=M[e+14>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}break a}if((d|0)<=0){break a}while(1){N[e+24>>2]=M[e+14>>1];N[e+28>>2]=M[e+12>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}}b:{c:{d:{e:{if((k|0)<=0){break e}S=(k<<2)+y|0;p=T(b,1348)+a|0;D=p+72|0;c=f>>31;z=(c^f)-c|0;J=z;c=0;f:while(1){x=N[y>>2];d=L[N[x+36>>2]+3|0];f=d>>31;g:{if(((d^f)-f|0)!=(z|0)){break g}e=x;d=L[e+3|0];f=d>>31;if(((d^f)-f|0)!=(z|0)){break g}while(1){e=N[e+36>>2];d=L[e+3|0];f=d>>31;if(((d^f)-f|0)!=(z|0)){x=N[e+32>>2];break g}if((e|0)!=(x|0)){continue}break}}m=0;n=-32e3;o=32e3;e=x;g=32e3;k=-32e3;f=0;d=0;q=32e3;l=-32e3;K=0;j=0;t=32e3;u=-32e3;A=32e3;B=-32e3;I=0;r=0;E=32e3;G=-32e3;while(1){Q=1;h:{if(!m){break h}s=N[e+28>>2];m=P[e>>1];h=m&3;l=h?l:(l|0)<(s|0)?s:l;q=h?q:(q|0)>(s|0)?s:q;h=(k|0)<(s|0);d=h?m:d;k=h?s:k;h=(g|0)>(s|0);f=h?m:f;g=h?s:g;h=N[e+24>>2];n=(n|0)<(h|0)?h:n;o=(h|0)<(o|0)?h:o;if(!((e|0)==(x|0)|L[e+3|0]!=(J|0))){Q=0;break h}i:{if(j){h=N[c+36>>2];if((h|0)==N[j+40>>2]){break i}}N[c+40>>2]=e;M[c+4>>1]=n-o>>>1;M[c+2>>1]=n+o>>>1;if(!(!((d|f)&3)|(l-q|0)>=(H|0))){L[c|0]=O[c|0]|1}M[c+8>>1]=k;M[c+6>>1]=g;M[c+10>>1]=k-g;j=c;t=o;u=n;A=g;B=k;I=f;r=d;E=q;G=l;c=0;break h}j:{if(O[h+2|0]==O[e+2|0]){N[j+40>>2]=e;h=(k|0)<(B|0);k=h?B:k;M[j+8>>1]=k;c=(g|0)>(A|0);g=c?A:g;M[j+6>>1]=g;M[j+10>>1]=k-g;n=(n|0)<(u|0)?u:n;o=(o|0)>(t|0)?t:o;M[j+4>>1]=n-o>>>1;M[j+2>>1]=n+o>>>1;d=h?r:d;f=c?I:f;l=(l|0)<(G|0)?G:l;q=(q|0)>(E|0)?E:q;L[j|0]=O[j|0]&254|((d|f)&3)!=0&(l-q|0)<(H|0);break j}h=B-A|0;R=h>>31;s=k-g|0;m=s>>31;if((h^R)-R>>>0>(m^s)-m>>>0){N[j+40>>2]=e;u=(n|0)>(u|0)?n:u;t=(o|0)<(t|0)?o:t;M[j+4>>1]=u-t>>>1;M[j+2>>1]=t+u>>>1;break j}N[c+40>>2]=e;n=(n|0)<(u|0)?u:n;o=(o|0)>(t|0)?t:o;M[c+4>>1]=n-o>>>1;M[c+2>>1]=n+o>>>1;if(!(!((d|f)&3)|(l-q|0)>=(H|0))){L[c|0]=O[c|0]|1}M[c+6>>1]=g;M[c+10>>1]=s;M[c+8>>1]=k;N[j+40>>2]=N[c+40>>2];r=N[c+36>>2];N[j+32>>2]=N[c+32>>2];N[j+36>>2]=r;r=N[c+28>>2];N[j+24>>2]=N[c+24>>2];N[j+28>>2]=r;r=N[c+20>>2];N[j+16>>2]=N[c+16>>2];N[j+20>>2]=r;r=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=r;r=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=r;t=o;u=n;A=g;B=k;I=f;r=d;E=q;G=l}N[w+44>>2]=N[w+44>>2]-1;c=0}k:{l:{m:{n:{o:{if((e|0)==(x|0)){h=K;K=1;if(h){break o}}m=1;if(!Q){e=N[e+32>>2];continue}h=L[e+3|0];m=h>>31;p:{if(((m^h)-m|0)==(z|0)){break p}m=0;if(N[e+36>>2]==(e|0)){break p}e=N[e+32>>2];continue}c=N[w+44>>2];if((c|0)>=1001){l=0;N[w+44>>2]=0;break b}if((c|0)<=17){if(N[p+52>>2]){break k}N[p+52>>2]=D;N[p+48>>2]=18;break k}f=N[p+48>>2];if((f|0)>(c|0)){break k}q:{r:{s:{t:{u:{if((f|0)>=-16){c=(f+(f>>2)|0)+4|0;g=N[p+52>>2];if((D|0)!=(g|0)){break q}if((c|0)>=0){break u}l=6;break c}c=48806446;g=N[p+52>>2];if((D|0)==(g|0)){break t}break d}if(!c){c=0;m=0;break s}if((c|0)<=48806446){break t}l=10;break c}d=T(c,44);m=Qa[N[v+4>>2]](v,d)|0;if(!m|(c|0)<=0){break r}C(m,0,d)}N[p+52>>2]=m;break m}N[p+52>>2]=m;if(m){break m}l=!m<<6;break b}if((c|f)<0){break d}if(!c){if(!g){break n}Qa[N[v+8>>2]](v,g);break n}if((c|0)>48806446){l=10;N[p+52>>2]=g;break b}d=T(c,44);v:{if(!f){g=Qa[N[v+4>>2]](v,d)|0;l=!g<<6;break v}d=Qa[N[v+12>>2]](v,T(f,44),d,g)|0;g=d?d:g;l=!d<<6}if(!(l|(c|0)<=(f|0)|!g)){C(T(f,44)+g|0,0,T(c-f|0,44));N[p+52>>2]=g;break l}N[p+52>>2]=g;if(l){break b}break l}y=y+4|0;if(S>>>0>y>>>0){continue f}break e}c=0;N[p+52>>2]=0;break l}F(m,D,792)}N[p+48>>2]=c;c=N[w+44>>2]}m=1;n=N[p+52>>2];N[w+44>>2]=c+1;k=T(c,44);c=k+n|0;L[c|0]=0;f=N[i+20>>2];d=N[i+16>>2];L[c+1|0]=d;L[c+2|0]=d>>>8;L[c+3|0]=d>>>16;L[c+4|0]=d>>>24;L[c+5|0]=f;L[c+6|0]=f>>>8;L[c+7|0]=f>>>16;L[c+8|0]=f>>>24;f=N[i+28>>2];d=N[i+24>>2];L[c+9|0]=d;L[c+10|0]=d>>>8;L[c+11|0]=d>>>16;L[c+12|0]=d>>>24;L[c+13|0]=f;L[c+14|0]=f>>>8;L[c+15|0]=f>>>16;L[c+16|0]=f>>>24;f=N[i+36>>2];d=N[i+32>>2];L[c+17|0]=d;L[c+18|0]=d>>>8;L[c+19|0]=d>>>16;L[c+20|0]=d>>>24;L[c+21|0]=f;L[c+22|0]=f>>>8;L[c+23|0]=f>>>16;L[c+24|0]=f>>>24;d=O[i+39|0]|O[i+40|0]<<8|(O[i+41|0]<<16|O[i+42|0]<<24);L[c+24|0]=d;L[c+25|0]=d>>>8;L[c+26|0]=d>>>16;L[c+27|0]=d>>>24;N[c+28>>2]=32e3;N[c+40>>2]=N[i+8>>2];d=N[i+4>>2];N[c+32>>2]=N[i>>2];N[c+36>>2]=d;L[c+1|0]=h;N[c+40>>2]=e;N[c+36>>2]=e;j=j?c-44|0:0;g=N[e+28>>2];f=P[e>>1];d=f&3;l=d?-32e3:g;q=d?32e3:g;o=N[e+24>>2];if(N[e+36>>2]==(e|0)){k=k+n|0;M[k+2>>1]=o;if(d){L[c|0]=1}M[k+10>>1]=0;M[k+8>>1]=g;M[k+6>>1]=g;m=0;c=0}n=o;k=g;d=f;J=h;e=N[e+32>>2];continue}}}l=0;e=N[(T(b,1348)+a|0)+52>>2];if(!e){break b}a=N[w+44>>2];if((a|0)<=0){break b}b=T(a,44)+e|0;while(1){a=N[e+36>>2];f=N[N[a+36>>2]+28>>2];d=N[a+28>>2];a=N[e+40>>2];c=N[a+28>>2];w:{x:{if((d|0)<(c|0)){if((d|0)>(f|0)){M[e+10>>1]=P[e+10>>1]+(d-f>>>1|0)}a=N[N[a+32>>2]+28>>2];if((a|0)<=(c|0)){break w}a=a-c|0;break x}if((d|0)<(f|0)){M[e+10>>1]=P[e+10>>1]+(f-d>>>1|0)}a=N[N[a+32>>2]+28>>2];if((a|0)>=(c|0)){break w}a=c-a|0}M[e+10>>1]=P[e+10>>1]+(a>>>1|0)}e=e+44|0;if(b>>>0>e>>>0){continue}break}break b}l=6;N[p+52>>2]=g;break b}N[p+52>>2]=0}La=i+48|0;return l}function Yi(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,o=0,p=0,q=0;a:{if(Q[b+4>>2]>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break a}e=O[a|0]|O[a+1|0]<<8;b:{if(!e){break b}d=a+2|0;if(d>>>0>f>>>0){break a}h=f-d|0;f=(e<<8|e>>>8)&65535;d=f<<3;if(h>>>0>>0){break a}g=g-d|0;N[b+12>>2]=g;d=0;if((g|0)<=0){break b}p=f>>>0<=1?1:f;while(1){e=N[b+4>>2];f=(m<<3)+a|0;d=f+2|0;if(e>>>0>d>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<8){break a}h=N[c>>2];d=N[b+12>>2];i=d-8|0;N[b+12>>2]=i;if((i|0)<=0){break a}i=f+6|0;if(g>>>0>>0|g-i>>>0<4){break a}f=d-12|0;N[b+12>>2]=f;if((f|0)<=0){break a}f=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);c:{if(!f){break c}if(f&128){break a}d:{e:{f=h+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;if(f>>>0>>0|f>>>0>g>>>0){break e}e=g-f|0;if(e>>>0<2){break e}h=d-14|0;N[b+12>>2]=h;if((h|0)<=0){break e}f:{g:{h:{i:{j:{k:{l:{h=O[f|0]|O[f+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break i;case 6:break j;case 4:break k;case 0:break l;case 14:break f;case 13:break g;case 12:break h;default:break c}}if(e>>>0<262){break e}d=d-276|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<14){break e}g=d-28|0;N[b+12>>2]=g;if((g|0)<=0){break e}d=O[f+2|0]|O[f+3|0]<<8;m:{if(!d){d=0;break m}h=(d<<8|d>>>8)&65535;if(h>>>0<=e>>>0){g=g-h|0;N[b+12>>2]=g;if((g|0)>0){break m}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}d=e>>>0>=65535?65535:e;d=d<<8|(d&65280)>>>8;L[f+2|0]=d;L[f+3|0]=d>>>8}f=O[f+6|0]|O[f+7|0]<<8;if((((f<<8|f>>>8)&65535)<<2)+16>>>0>((d<<8|(d&65280)>>>8)&65535)>>>0){break e}break c}if(e>>>0<10){break e}e=d-24|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+8|0;if(e>>>0>g>>>0|g-e>>>0<2){break e}d=d-26|0;N[b+12>>2]=d;if((d|0)<=0){break e}e=O[e|0]|O[e+1|0]<<8;if(!e){break c}f=f+10|0;if(f>>>0>g>>>0){break e}g=g-f|0;f=((e<<8|e>>>8)&65535)<<1;if(g>>>0>>0){break e}d=d-f|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<20){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+16|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-38|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+16|0]|O[f+17|0]<<8|(O[f+18|0]<<16|O[f+19|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((d|0)<0){break e}d=d<<1;if(!d){break c}f=f+20|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<16){break e}e=d-30|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+12|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);d=UE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,12,0);if(Pa){break e}if(!d){break c}f=f+16|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<16){break e}e=d-30|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+12|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);d=UE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,12,0);if(Pa){break e}if(!d){break c}f=f+16|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)>0){break c}break e}if(e>>>0<10){break e}e=d-24|0;N[b+12>>2]=e;if((e|0)<=0){break e}n=f+6|0;if(g>>>0>>0|g-n>>>0<4){break e}j=d-28|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[f+6|0]|O[f+7|0]<<8|(O[f+8|0]<<16|O[f+9|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);d=UE(h,0,11,0);if(Pa){break e}if(d){k=f+10|0;if(k>>>0>g>>>0|d>>>0>g-k>>>0){break e}d=j-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}}if(!e){break c}q=h>>>0<=1?1:h;k=0;while(1){j=N[b+4>>2];l=T(k,11)+n|0;g=l+4|0;if(j>>>0>g>>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-g>>>0<11){break e}h=N[b+12>>2];g=h-11|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=l+7|0;if(g>>>0>d>>>0|d-g>>>0<4){break e}e=h-15|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);n:{if(!e){break n}if(e&128){break e}e=f+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;o:{if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break o}o=h-19|0;N[b+12>>2]=o;if((o|0)<=0){break o}h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(h>>>0>1073741823){break o}h=h<<2;if(!h){break n}e=e+4|0;if(e>>>0>d>>>0|h>>>0>d-e>>>0){break o}d=o-h|0;N[b+12>>2]=d;if((d|0)>0){break n}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[g|0]=0;L[g+1|0]=0;L[g+2|0]=0;L[g+3|0]=0;j=N[b+4>>2]}g=l+11|0;if(g>>>0>>0){break e}h=N[b+8>>2];if(h>>>0>>0|h-g>>>0<4){break e}l=N[b+12>>2];d=l-4|0;N[b+12>>2]=d;if((d|0)<=0){break e}d=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);p:{if(!d){break p}if(d&128){break e}e=f+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;q:{if(e>>>0>>0|e>>>0>h>>>0|h-e>>>0<4){break q}j=l-8|0;N[b+12>>2]=j;if((j|0)<=0){break q}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=UE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,5,0);if(Pa){break q}if(!d){break p}e=e+4|0;if(e>>>0>h>>>0|d>>>0>h-e>>>0){break q}d=j-d|0;N[b+12>>2]=d;if((d|0)>0){break p}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[g|0]=0;L[g+1|0]=0;L[g+2|0]=0;L[g+3|0]=0}k=k+1|0;if((q|0)!=(k|0)){continue}break}break c}d=N[b+28>>2]}if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0}d=1;m=m+1|0;if((p|0)!=(m|0)){continue}break}}return d}return 0}function Yj(a,b,c,d,e){var 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,t=0,u=0,v=0;j=La-48|0;La=j;N[j+36>>2]=0;f=275552;N[j+28>>2]=275552;N[j+20>>2]=275552;N[j+16>>2]=a;N[j+12>>2]=0;N[j+32>>2]=e?e:275552;N[j+24>>2]=d?d:275552;d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;f=d}N[j+44>>2]=64;N[j+40>>2]=f;a:{if((b|0)!=1196445523){if((b|0)!=1196643650){break a}b=275552;a=N[Vb(a+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];b:{if((O[a|0]|O[a+1|0]<<8)!=256){break b}e=275552;d=O[a+8|0]|O[a+9|0]<<8;if(d){e=a+((d<<8|d>>>8)&65535)|0}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break b}a=(c<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;if(!a){break b}b=((a<<8|a>>>8)&65535)+e|0}N[j+36>>2]=268;c=O[b+4|0]|O[b+5|0]<<8;if(!c){break a}a=O[b|0]|O[b+1|0]<<8;d=(a<<8|a>>>8)&65535;a=b+4|0;c=(c<<8|c>>>8)&65535;f=c>>>0<=1?1:c;e=0;while(1){c=O[a|0]|O[a+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:(a+(e<<1)|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+b|0}else{c=275552}Xj(c,j+12|0,d);e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}b=275552;a=N[mc(a+148|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}e=275552;d=O[a+8|0]|O[a+9|0]<<8;if(d){e=a+((d<<8|d>>>8)&65535)|0}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break c}a=(c<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;if(!a){break c}b=((a<<8|a>>>8)&65535)+e|0}a=O[b+4|0]|O[b+5|0]<<8;if(!a){break a}c=O[b|0]|O[b+1|0]<<8;c=(c<<8|c>>>8)&65535;o=b+4|0;a=(a<<8|a>>>8)&65535;s=a>>>0<=1?1:a;e=0;while(1){a=O[o|0]|O[o+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+o|0)+2|0;a=O[a|0]|O[a+1|0]<<8;if(a){d=((a<<8|a>>>8)&65535)+b|0}else{d=275552}g=j+12|0;a=c;h=0;k=0;d:{e:{f:{g:{h:{while(1){i:{if((a|0)!=9){j:{switch(a-1|0){case 0:k:{l:{m:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}f=O[d+2|0]|O[d+3|0]<<8;a=275552;if(!f){break k}a=((f<<8|f>>>8)&65535)+d|0;break k}f=O[d+2|0]|O[d+3|0]<<8;a=275552;if(!f){break k}a=((f<<8|f>>>8)&65535)+d|0}Ob(a,N[g+12>>2]);break d;case 3:case 4:case 5:break e;case 2:break g;case 6:break h;case 7:break i;case 1:break j;default:break d}}n:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break f;case 0:break n;default:break d}}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}a=O[d+8|0]|O[d+9|0]<<8;if(!a){break d}a=(a<<8|a>>>8)&65535;t=a>>>0<=1?1:a;while(1){a=275552;f=O[d+8|0]|O[d+9|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=k>>>0?275552:((k<<1)+d|0)+10|0;f=O[f|0]|O[f+1|0]<<8;if(f){a=((f<<8|f>>>8)&65535)+d|0}f=O[a|0]|O[a+1|0]<<8;i=(f<<8|f>>>8)&65535;h=a+2|0;a=N[g+12>>2];l=a+12|0;m=(YE(O[d+4|0]|O[d+5|0]<<8)+YE(O[d+6|0]|O[d+7|0]<<8)<<1)+2|0;o:{if(O[a+48|0]){Ef(l,h,i,m);break o}if(!f|!O[l|0]){break o}N[a+16>>2]=-1;a=O[h|0]|O[h+1|0]<<8;a=(a<<8|a>>>8)&65535;p:while(1){q=wc(l,a);if(!q){break o}r=a&65024;u=r+512|0;while(1){f=q+(a>>>3&56)|0;v=N[f+4>>2];n=a&63;a=n&31;if((n&63)>>>0>=32){n=1<>>32-a}N[f>>2]=p|N[f>>2];N[f+4>>2]=n|v;i=i-1|0;if(!i){break o}h=h+m|0;a=O[h|0]|O[h+1|0]<<8;a=(a<<8|a>>>8)&65535;if(r>>>0>a>>>0){continue p}if(a>>>0>>0){continue}break}continue}}k=k+1|0;if((t|0)!=(k|0)){continue}break}break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;a=(a<<8|a>>>8)&65535;f=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(f){d=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+d|0}else{d=275552}continue}break}q:{r:{s:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break q;case 1:break r;case 0:break s;default:break d}}Vj(d,g);break d}Tj(d,g);break d}Sj(d,g);break d}Wj(d,g);break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}Ob(a,N[g+12>>2]);break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}f=N[g+12>>2];t:{u:{v:{a=O[d+10|0]|O[d+11|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break u;case 0:break v;default:break d}}d=O[a+4|0]|O[a+5|0]<<8;g=(d<<8|d>>>8)&65535;if(d){l=g>>>0<=1?1:g;k=f+12|0;d=0;while(1){i=O[a+4|0]|O[a+5|0]<<8;i=((i<<8|i>>>8)&65535)>>>0<=d>>>0?275552:(a+(d<<1)|0)+6|0;w:{if(O[i|0]|O[i+1|0]<<8){d=d+1|0;break w}x:{if((d|0)==(h|0)){break x}i=O[a+2|0]|O[a+3|0]<<8;m=(i<<8|i>>>8)&65535;i=m+d|0;h=h+m|0;if(O[f+48|0]){rd(k,h,i);break x}if(!Me(k,h,i)){break d}}d=d+1|0;h=d}if((d|0)!=(l|0)){continue}break}}if((g|0)==(h|0)){break d}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=d+g|0;d=d+h|0;g=f+12|0;if(!O[f+48|0]){break t}rd(g,d,a);break d}g=O[a+2|0]|O[a+3|0]<<8;if(!g){break d}d=a+4|0;a=d+T((g<<8|g>>>8)&65535,6)|0;g=f+12|0;while(1){y:{if(O[d+4|0]|O[d+5|0]<<8){h=O[d+2|0]|O[d+3|0]<<8;h=(h<<8|h>>>8)&65535;k=O[d|0]|O[d+1|0]<<8;k=(k<<8|k>>>8)&65535;if(!O[f+48|0]){break y}rd(g,k,h)}d=d+6|0;if((a|0)!=(d|0)){continue}break d}if(!Me(g,k,h)){break d}d=d+6|0;if((a|0)!=(d|0)){continue}break}break d}Me(g,d,a);break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}a=O[d+4|0]|O[d+5|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}Ob(a,N[g+12>>2])}e=e+1|0;if((s|0)!=(e|0)){continue}break}}Te(N[j+40>>2]);La=j+48|0}function pE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;l=N[c+80>>2];k=21;h=1;a=0;n=N[c+68>>2];if(!n){break b}b=0;break a}ba(22778,14165,169,12138);B()}b=1}while(1){c:{d:{e:{if(!b){a=O[k+261936|0]==7?f:a;d=k<<1;g=M[d+261568>>1]+260608|0;b=L[k+261664|0];k=O[(l+T(f,20)|0)+18|0];i=O[d+260512|0];if(k>>>0>=i>>>0){b=k>>>0>O[d+260513|0]?b:k-i|0}b=L[b+g|0];break e}if((k|0)==21){break d}f=n;b=M[(k<<1)+261840>>1]-1|0}k=L[b+261712|0];d=b&31;f:{if(((b&63)>>>0>=32?63990>>>d|0:((1<>>d)&1){break f}g:{switch(L[b+261776|0]-1|0){case 1:e=f+1|0;break f;case 7:e=f+1|0;h:{if(e>>>0<=a>>>0){break h}i=l+3|0;g=h<<4|2;d=a;j=e-d&7;if(j){b=0;while(1){L[(i+T(d,20)|0)+12|0]=g;d=d+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if(f-a>>>0<=6){break h}while(1){b=i+T(d,20)|0;L[b+32|0]=g;L[b+12|0]=g;L[b+52|0]=g;L[b+72|0]=g;L[b+92|0]=g;L[b+112|0]=g;L[b+132|0]=g;L[b+152|0]=g;b=d+7|0;d=d+8|0;if((b|0)!=(f|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 9:g=f-1|0;i:{if(a>>>0>=f>>>0){break i}i=l+3|0;e=h<<4;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break i}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 10:g=f-1|0;j:{if(a>>>0>=f>>>0){break j}i=l+3|0;e=h<<4|1;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break j}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 11:g=f-1|0;k:{if(a>>>0>=f>>>0){break k}i=l+3|0;e=h<<4|2;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 0:f=e-1|0;l:{if(a>>>0>=e>>>0){break l}i=l+3|0;g=h<<4;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break l}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 2:f=e-1|0;m:{if(a>>>0>=e>>>0){break m}i=l+3|0;g=h<<4|1;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;break f;case 4:n:{switch(m-2|0){case 0:f=e-1|0;o:{if(a>>>0>=e>>>0){break o}m=l+3|0;g=h<<4|1;b=a;i=e-b&7;if(i){d=0;while(1){L[(m+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break o}while(1){d=m+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;m=2;break f;case 1:break n;default:break f}}m=3;f=e-1|0;p:{if(a>>>0>=e>>>0){break p}i=l+3|0;g=h<<4|2;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break p}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 3:e=f+1|0;m=2;break f;case 8:break g;default:break f}}e=f+1|0;m=3}a=O[k+261984|0]!=6?a:0;f=f+1|0;if((n|0)!=(f|0)){break c}b=1;continue}g=N[c+68>>2];if(g){a=g-1|0;h=N[c+80>>2];l=h+3|0;f=0;b=O[h+15|0];while(1){q:{if((a|0)==(f|0)){f=g;break q}f=f+1|0;if((b|0)==O[(l+T(f,20)|0)+12|0]){continue}}break}a=0;while(1){n=f;b=N[c+68>>2];m=b>>>0>>0?b:f;i=m-a|0;r:{if(i>>>0<2){break r}b=N[c+144>>2]|32;N[c+144>>2]=b;if(a>>>0>=m>>>0){break r}f=-1;k=a;j=m+(a^-1)|0;if(j>>>0>=3){p=i&-4;e=0;while(1){d=h+T(k,20)|0;o=N[d+8>>2];f=f>>>0>>0?f:o;o=N[d+28>>2];f=f>>>0>>0?f:o;o=N[d+48>>2];f=f>>>0>>0?f:o;d=N[d+68>>2];f=d>>>0>f>>>0?f:d;k=k+4|0;e=e+4|0;if((p|0)!=(e|0)){continue}break}}d=0;e=i&3;if(e){while(1){p=N[(h+T(k,20)|0)+8>>2];f=f>>>0

>>0?f:p;k=k+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(i&1){e=h+T(a,20)|0;if(N[e+8>>2]!=(f|0)){N[e+4>>2]=N[e+4>>2]|3}a=a+1|0}if(!j){break r}while(1){e=h+T(a,20)|0;if(N[e+8>>2]!=(f|0)){b=b|32;N[c+144>>2]=b;N[e+4>>2]=N[e+4>>2]|3}e=h+T(a+1|0,20)|0;if(N[e+8>>2]!=(f|0)){b=b|32;N[c+144>>2]=b;N[e+4>>2]=N[e+4>>2]|3}a=a+2|0;if((m|0)!=(a|0)){continue}break}}a=n+1|0;a=a>>>0>>0?g:a;b=a-1|0;e=O[(l+T(n,20)|0)+12|0];f=n;while(1){s:{if((b|0)==(f|0)){f=a;break s}f=f+1|0;if((e|0)==O[(l+T(f,20)|0)+12|0]){continue}}break}a=n;if(g>>>0>a>>>0){continue}break}}return 0}b=0;continue}}function vc(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,o=0;e=35;a:{if(!a|!N[a+88>>2]){break a}d=N[a+84>>2];if(!d){break a}b:{c:{e=N[d+156>>2];if(!e){break c}f=N[e+4>>2];if(!(f&1)){break c}g=N[d+88>>2];if(g){e=N[N[d+4>>2]+100>>2];Qa[N[e+8>>2]](e,g);e=N[d+156>>2];f=N[e+4>>2]}N[d+88>>2]=0;N[e+4>>2]=f&-2;break b}N[d+88>>2]=0}N[d+12>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+100>>2]=0;N[d+104>>2]=0;L[d+94|0]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;e=d- -64|0;N[e>>2]=0;N[e+4>>2]=0;N[d+72>>2]=0;N[d+76>>2]=0;N[d+80>>2]=0;N[d+84>>2]=0;N[d+108>>2]=0;N[d+112>>2]=0;N[d+116>>2]=0;N[d+120>>2]=0;N[d+124>>2]=0;N[d+128>>2]=0;N[d+132>>2]=0;N[d+136>>2]=0;N[d+140>>2]=0;N[d+144>>2]=0;N[d+148>>2]=0;N[d+152>>2]=0;d:{e:{c=c&1024?c|2049:c;c=c&1?c&-15|10:c;i=c&4194304?c&-5:c;j=i&2;f=N[a+96>>2];g=N[N[f+4>>2]+160>>2];if(j|!g|i&32768){break e}e=N[a+8>>2];if((e&8193)!=1){break e}f:{if(i&2048){break f}h=N[a+128>>2];c=N[h>>2];if(!N[h+8>>2]){if(c){break f}break e}if(c){break e}}g:{if(i&32){break g}c=N[f>>2];if(!(O[c+1|0]&4)){break g}if(ub(Qa[N[c+32>>2]](f,9676)|0,21771)){c=N[f+28>>2]==1}else{c=0}if(!(c|(O[N[f>>2]+1|0]&8)>>>3|(i&983040)!=65536)){e=N[a+8>>2];break g}e=N[a+8>>2];if(!(e&8)|!N[a+760>>2]|(P[a+286>>1]|N[a+684>>2])){break e}if(N[a+692>>2]){break e}}h:{if(!(e&2)|i&8){break h}if(Qa[N[N[f+12>>2]+72>>2]](d,N[a+88>>2],b,i|16384)|0){break h}c=0;if(N[d+72>>2]==1651078259){break d}}e=N[a+128>>2];f=N[e+24>>2];N[e+24>>2]=0;c=Qa[N[N[N[g>>2]+20>>2]+12>>2]](g,d,N[a+88>>2],b,i)|0;N[e+24>>2]=f;break d}e=Qa[N[N[f+12>>2]+72>>2]](d,N[a+88>>2],b,i)|0;if(e){break a}c=0;if(N[d+72>>2]!=1869968492){break d}h=M[d+110>>1];k=M[d+108>>1];if((h|k)&65535){e=6;if((h|0)<=0|(k|0)<=0){break a}m=N[d+120>>2];f=-1;while(1){g=M[(l<<1)+m>>1];if((g|0)>=(h|0)|(f|0)>=(g|0)){break a}f=g;l=l+1|0;if((k|0)!=(l|0)){continue}break}if((h-1|0)!=(f|0)){break a}}if(j){break d}i:{if(i>>>4&1){N[d+32>>2]=N[d+32>>2]&-64;e=N[d+44>>2];f=e&-64;N[d+44>>2]=f;g=N[d+48>>2];h=g&-64;N[d+48>>2]=h;N[d+36>>2]=N[d+36>>2]+63&-64;N[d+24>>2]=((e+N[d+24>>2]|0)+63&-64)-f;N[d+28>>2]=((g+N[d+28>>2]|0)+63&-64)-h;break i}N[d+44>>2]=N[d+44>>2]&-64;N[d+48>>2]=N[d+48>>2]&-64;e=N[d+32>>2];f=e&-64;N[d+32>>2]=f;g=N[d+36>>2];h=g+63&-64;N[d+36>>2]=h;N[d+28>>2]=h-(g-N[d+28>>2]&-64);N[d+24>>2]=((e+N[d+24>>2]|0)+63&-64)-f}N[d+40>>2]=N[d+40>>2]+32&-64;N[d+52>>2]=N[d+52>>2]+32&-64}j:{if(i&16){f=0;e=N[d+52>>2];break j}f=N[d+40>>2];e=0}N[d+64>>2]=f;N[d+68>>2]=e;if(!(!(L[a+8|0]&1)|i&8192)){e=N[a+88>>2];n=d,o=jb(N[d+56>>2],N[e+16>>2],64),N[n+56>>2]=o;n=d,o=jb(N[d+60>>2],N[e+20>>2],64),N[n+60>>2]=o}k:{if(i&2048){break k}h=N[a+128>>2];g=N[h+24>>2];if(!g){break k}k=d- -64|0;l:{m:{a=N[N[N[d+4>>2]+96>>2]+4>>2];e=N[a+156>>2];n:{if(!e){f=N[d+72>>2];break n}f=N[d+72>>2];if((f|0)==N[e+16>>2]){break m}}a=N[a+148>>2];if(a){while(1){e=N[a+8>>2];if(N[e+16>>2]==(f|0)){break m}a=N[a+4>>2];if(a){continue}break}}o:{if((f|0)!=1869968492){break o}if(g&1){kg(d+108|0,h);g=N[h+24>>2]}if(!(g&2)){break o}j=M[d+110>>1];if((j|0)<=0){break o}f=N[h+20>>2];g=N[h+16>>2];a=N[d+112>>2];if(j>>>0>=4){l=j&-4;e=0;while(1){N[a>>2]=g+N[a>>2];N[a+4>>2]=f+N[a+4>>2];N[a+8>>2]=g+N[a+8>>2];N[a+16>>2]=g+N[a+16>>2];N[a+24>>2]=g+N[a+24>>2];N[a+12>>2]=f+N[a+12>>2];N[a+20>>2]=f+N[a+20>>2];N[a+28>>2]=f+N[a+28>>2];a=a+32|0;e=e+4|0;if((l|0)!=(e|0)){continue}break}}j=j&3;if(!j){break o}e=0;while(1){N[a>>2]=g+N[a>>2];N[a+4>>2]=f+N[a+4>>2];a=a+8|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}break l}c=Qa[N[N[e+12>>2]+44>>2]](e,d,h,h+16|0)|0}id(k,h)}e=c;N[d+12>>2]=b;N[N[d+156>>2]+40>>2]=i;if(e){break a}e=0;if(i&1){break a}a=N[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=i>>>16&15;a=a?a:i>>>11&2;if(i&4){b=N[d+4>>2];if(!b){return 6}i=N[N[b+96>>2]+4>>2];f=a;g=La-32|0;La=g;p:{q:{r:{if(!(O[N[d+156>>2]+42|0]&16)){break r}a=N[d+4>>2];b=N[d+12>>2];N[g+28>>2]=0;if(!(O[a+8|0]&8)|(!a|b>>>0>=Q[a+16>>2])){break r}c=N[N[a+540>>2]+132>>2];if(!c){break r}if(!(Qa[c|0](a,b,g+16|0,g+12|0,g+20|0)|0)){break r}if(!ei(a,0)){c=N[a+540>>2];s:{while(1){h=vc(a,N[g+16>>2],N[N[d+156>>2]+40>>2]&-1048581|4);if(h){break s}h=Qa[N[c+152>>2]](a,N[g+12>>2],d,N[a+84>>2])|0;if(h){break s}t:{if(!(O[a+8|0]&8)|b>>>0>=Q[a+16>>2]){break t}e=N[N[a+540>>2]+132>>2];if(!e){break t}if(Qa[e|0](a,b,g+16|0,g+12|0,g+20|0)|0){continue}}break}N[d+72>>2]=1651078259;h=0}b=N[a+84>>2];u:{if(!b){break u}j=N[b+4>>2];c=N[j+84>>2];if(!c){break u}k=N[N[j+96>>2]+8>>2];v:{if((b|0)==(c|0)){e=0;break v}while(1){a=N[c+8>>2];if(!a){break u}e=c;c=a;if((a|0)!=(b|0)){continue}break}}N[(e?e+8|0:j+84|0)>>2]=N[b+8>>2];a=N[b+20>>2];if(a){Qa[a|0](b)}ig(b);Qa[N[k+8>>2]](k,b)}if(!h){break q}}N[d+72>>2]=1869968492}h=N[d+72>>2];w:{if((h|0)!=1869968492){a=7;if(!i){break p}c=N[i+148>>2];if(!c){break p}e=i+148|0;while(1){b=N[c+8>>2];if((h|0)==N[b+16>>2]){break w}c=N[c+4>>2];if(c){continue}break}break p}b=N[i+156>>2];if(!b){a=7;break p}e=i+148|0;c=N[i+148>>2]}a=0;b=Qa[N[b+60>>2]](b,d,f,0)|0;if(!b){break p}while(1){if((b&255)!=19){a=b;break p}c=N[(c?c+4|0:e)>>2];if(!c){a=b;break p}a=N[d+72>>2];x:{while(1){i=N[c+8>>2];if((a|0)==N[i+16>>2]){break x}c=N[c+4>>2];if(c){continue}break}a=b;break p}a=0;b=Qa[N[i+60>>2]](i,d,f,0)|0;if(b){continue}break}break p}a=0}La=g+32|0;return a}jg(d,a,0)}return e}function nh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{k=N[b+4>>2];if(k>>>0>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0){break a}l=d-a|0;if(l>>>0<12){break a}c=N[b+12>>2]-12|0;N[b+12>>2]=c;if(O[a|0]|O[a+1|0]<<8|(c|0)<=0){break a}f=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b:{if(!f){break b}if(h>>>0>l>>>0){break a}c=c-h|0;N[b+12>>2]=c;if((c|0)>0){break b}break a}l=a+4|0;if(d>>>0>>0|d-l>>>0<4){break a}N[b+12>>2]=c-4;if((c|0)<5){break a}f=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);c:{d:{if(!f){break d}if(f&128){break a}f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0;e:{if(f>>>0>>0|d>>>0>>0){break e}i=d-f|0;if(i>>>0<2){break e}m=c-6|0;N[b+12>>2]=m;e=1;if((m|0)<=0){break e}m=a+h|0;f:{g:{h:{i:{j:{a=O[f|0]|O[f+1|0]<<8;switch((a<<8|a>>>8)&65535){case 2:break j;case 10:break e;case 0:break f;case 8:break g;case 6:break h;case 4:break i;default:break c}}i=f+2|0;if(i>>>0>>0|d>>>0>>0|d-i>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}h=O[i|0]|O[i+1|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<6){break e}g=O[f+4|0]|O[f+5|0]<<8;a=(g<<8|g>>>8)&65535;k:{if(!g){break k}g=f+12|0;if(g>>>0>d>>>0){break e}n=d-g|0;d=T(a,e);if(n>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=g+T(e,a-1|0)|0;if((O[c|0]|O[c+1|0]<<8)!=65535){break k}j=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=a+j|0;if(!n){break d}g=f+12|0;a=0;while(1){d=O[f+4|0]|O[f+5|0]<<8;e=(d<<8|d>>>8)&65535;c=0;l:{if(!d){break l}d=g+T(e-1|0,(h<<8|(h&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break l}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+e>>>0<=a>>>0){c=275552}else{k=N[b+4>>2];h=O[i|0]|O[i+1|0]<<8;c=g+T((h<<8|h>>>8)&65535,a)|0}if(c>>>0>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<6){break e}e=N[b+12>>2];j=e-6|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=c+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break e}j=e-8|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=O[c|0]|O[c+1|0]<<8;c=m+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}j=e-12|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>1073741823){break e}e=e<<2;if(e){c=c+4|0;if(c>>>0>d>>>0|e>>>0>d-c>>>0){break e}c=j-e|0;N[b+12>>2]=c;if((c|0)<=0){break e}}e=1;a=a+1|0;if((n|0)!=(a|0)){continue}break}break c}h=f+2|0;if(h>>>0>>0|d>>>0>>0|d-h>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}a=O[h|0]|O[h+1|0]<<8;k=(a<<8|a>>>8)&65535;if(k>>>0<6){break e}i=O[f+4|0]|O[f+5|0]<<8;a=(i<<8|i>>>8)&65535;e=0;m:{if(!i){break m}i=f+12|0;if(i>>>0>d>>>0){break e}g=d-i|0;d=T(a,k);if(g>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=i+T(k,a-1|0)|0;if((O[c|0]|O[c+1|0]<<8)!=65535){break m}e=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}i=a+e|0;if(!i){break d}k=f+12|0;c=0;while(1){d=O[f+4|0]|O[f+5|0]<<8;e=(d<<8|d>>>8)&65535;a=0;n:{if(!d){break n}d=O[h|0]|O[h+1|0]<<8;d=k+T(e-1|0,(d<<8|d>>>8)&65535)|0;a=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break n}a=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(a+e>>>0<=c>>>0){a=275552}else{a=O[h|0]|O[h+1|0]<<8;a=k+T((a<<8|a>>>8)&65535,c)|0}if(a>>>0>2]){break e}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break e}e=N[b+12>>2];g=e-6|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;j=O[a+2|0]|O[a+3|0]<<8;j=(j<<8|j>>>8)&65535;if(g>>>0>>0){break e}a=a+4|0;if(a>>>0>d>>>0|d-a>>>0<2){break e}d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){break e}a=O[a|0]|O[a+1|0]<<8;if(!mh(f+((a<<8|a>>>8)&65535)|0,b,(g-j|0)+1|0,m)){break e}e=1;c=c+1|0;if((i|0)!=(c|0)){continue}break}break c}i=f+2|0;if(i>>>0>>0|d>>>0>>0|d-i>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}h=O[i|0]|O[i+1|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<4){break e}g=O[f+4|0]|O[f+5|0]<<8;a=(g<<8|g>>>8)&65535;if(g){g=f+12|0;if(g>>>0>d>>>0){break e}j=d-g|0;d=T(a,e);if(j>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=g+T(e,a-1|0)|0;c=(O[c|0]|O[c+1|0]<<8)==65535?-1:0}else{c=0}n=c+a|0;if(!n){break d}g=f+12|0;a=0;while(1){c=O[f+4|0]|O[f+5|0]<<8;d=(c<<8|c>>>8)&65535;if(c){c=g+T(d-1|0,(h<<8|(h&65280)>>>8)&65535)|0;c=(O[c|0]|O[c+1|0]<<8)==65535?-1:0}else{c=0}if(c+d>>>0<=a>>>0){c=275552}else{k=N[b+4>>2];h=O[i|0]|O[i+1|0]<<8;c=g+T((h<<8|h>>>8)&65535,a)|0}if(c>>>0>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break e}e=N[b+12>>2];j=e-4|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=c+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break e}j=e-6|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=O[c|0]|O[c+1|0]<<8;c=m+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}j=e-10|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>1073741823){break e}e=e<<2;if(e){c=c+4|0;if(c>>>0>d>>>0|e>>>0>d-c>>>0){break e}c=j-e|0;N[b+12>>2]=c;if((c|0)<=0){break e}}e=1;a=a+1|0;if((n|0)!=(a|0)){continue}break}break c}if(i>>>0<6){break e}a=c-12|0;N[b+12>>2]=a;if((a|0)<=0){break e}a=O[f+4|0]|O[f+5|0]<<8;if(!mh(f+6|0,b,(a<<8|a>>>8)&65535,m)){break e}break c}if(mh(f+2|0,b,N[b+36>>2],m)){break c}}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;e=0;if(!O[b+24|0]){break c}L[l|0]=0;L[l+1|0]=0;L[l+2|0]=0;L[l+3|0]=0}e=1}return e}return 0}function Ej(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-16|0;La=f;c=N[a+4>>2];d=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];a:{b:{c:{d:{e:{f:{if(b){b=N[a+8>>2];N[f+12>>2]=N[a+16>>2];e=N[b+96>>2];g=N[e+28>>2];i=N[b+100>>2];h=f+12|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[g|0](b,i,d,h,e)|0)){break f}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break b}d=N[c+84>>2];b=N[c+80>>2]}g:{if((b|0)!=(d|0)){break g}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break g}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break g}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}if(Tg(a,0,d)){break c}b=N[a+8>>2];N[f+12>>2]=N[a+16>>2];e=N[b+96>>2];g=N[e+28>>2];i=N[b+100>>2];h=f+12|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[g|0](b,i,d,h,e)|0)){break e}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break b}d=N[c+84>>2];b=N[c+80>>2]}h:{if((b|0)!=(d|0)){break h}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break h}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break h}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}if(Tg(a,1,d)){break c}}if((P[(N[c+80>>2]+T(N[c+64>>2],20)|0)+16>>1]&31)!=29){break d}i:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break i}break d}j:{k:{switch(d+-8192|0){case 0:case 2:b=512;break i;case 4:b=768;break i;case 5:b=1024;break i;case 6:b=1536;break i;case 7:b=4864;break i;case 8:b=5120;break i;case 9:b=1280;break i;case 10:b=4096;break i;case 47:b=5376;break i;case 95:b=4352;break i;case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:break d;case 1:case 3:break j;default:break k}}if((d|0)==12288){break j}break d}b=256}e=N[a+8>>2];N[f+8>>2]=0;g=N[e+96>>2];j=N[g+28>>2];i=N[e+100>>2];h=f+8|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}if(!(Qa[j|0](e,i,32,h,g)|0)){e=N[c+28>>2];N[f+8>>2]=e;if(!e){break d}}a=N[c+80>>2];d=N[c+64>>2];e=a+T(d,20)|0;g=P[e+16>>1];if((g&31)==29){M[e+16>>1]=g&255|b;d=N[c+64>>2];a=N[c+80>>2]}N[(a+T(d,20)|0)+12>>2]=N[f+8>>2];l:{if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break l}d=N[c+84>>2];b=N[c+80>>2]}m:{if((b|0)!=(d|0)){break m}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break m}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break m}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1}N[c+144>>2]=N[c+144>>2]|4;break b}n:{if((d|0)!=8209){break n}a=N[a+8>>2];N[f+4>>2]=0;b=N[a+96>>2];d=N[b+28>>2];h=N[a+100>>2];e=f+4|0;b=N[b+12>>2];if(b){b=N[b+8>>2]}else{b=0}if(!(Qa[d|0](a,h,8208,e,b)|0)){break n}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+4>>2];if(O[c+62|0]){o:{if(N[c+84>>2]==N[c+80>>2]){a=N[c+72>>2];if((a|0)==N[c+64>>2]){break o}}if(!xd(c)){break b}b=N[c+80>>2]+T(N[c+64>>2],20)|0;d=N[b+4>>2];a=N[c+84>>2]+T(N[c+72>>2],20)|0;N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break b}d=N[c+84>>2];b=N[c+80>>2]}p:{if((b|0)!=(d|0)){break p}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break p}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break p}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}N[c+64>>2]=N[c+64>>2]+1}La=f+16|0;return}ba(8694,17855,209,11932);B()}function Vn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;j=La-80|0;La=j;N[j+76>>2]=b;y=j+55|0;s=j+56|0;a:{b:{c:{d:{e:while(1){k=b;if((p^2147483647)<(h|0)){break d}p=h+p|0;f:{g:{h:{h=k;i=O[h|0];if(i){while(1){i:{b=i&255;j:{if(!b){b=h;break j}if((b|0)!=37){break i}i=h;while(1){if(O[i+1|0]!=37){b=i;break j}h=h+1|0;m=O[i+2|0];b=i+2|0;i=b;if((m|0)==37){continue}break}}h=h-k|0;x=p^2147483647;if((h|0)>(x|0)){break d}if(a){ac(a,k,h)}if(h){continue e}N[j+76>>2]=b;h=b+1|0;q=-1;i=L[b+1|0];if(!(O[b+2|0]!=36|i-48>>>0>=10)){q=i-48|0;u=1;h=b+3|0}N[j+76>>2]=h;n=0;i=L[h|0];b=i-32|0;k:{if(b>>>0>31){o=h;break k}o=h;b=1<>2]=o;n=b|n;i=L[h+1|0];b=i-32|0;if(b>>>0>=32){break k}h=o;b=1<>>0>=10)){N[((b<<2)+e|0)-192>>2]=10;i=o+3|0;u=1;b=N[((L[o+1|0]<<3)+d|0)-384>>2];break m}if(u){break h}i=o+1|0;if(!a){N[j+76>>2]=i;u=0;r=0;break l}b=N[c>>2];N[c>>2]=b+4;u=0;b=N[b>>2]}N[j+76>>2]=i;r=b;if((b|0)>=0){break l}r=0-r|0;n=n|8192;break l}r=Un(j+76|0);if((r|0)<0){break d}i=N[j+76>>2]}h=0;l=-1;n:{if(O[i|0]!=46){b=i;w=0;break n}if(O[i+1|0]==42){b=L[i+2|0];o:{if(!(O[i+3|0]!=36|b-48>>>0>=10)){N[((b<<2)+e|0)-192>>2]=10;b=i+4|0;l=N[((L[i+2|0]<<3)+d|0)-384>>2];break o}if(u){break h}b=i+2|0;l=0;if(!a){break o}i=N[c>>2];N[c>>2]=i+4;l=N[i>>2]}N[j+76>>2]=b;w=(l^-1)>>>31|0;break n}N[j+76>>2]=i+1;l=Un(j+76|0);b=N[j+76>>2];w=1}while(1){t=h;o=28;m=b;h=L[b|0];if(h-123>>>0<4294967238){break c}b=m+1|0;h=O[(h+T(t,58)|0)+583503|0];if(h-1>>>0<8){continue}break}N[j+76>>2]=b;p:{q:{if((h|0)!=27){if(!h){break c}if((q|0)>=0){N[(q<<2)+e>>2]=h;i=(q<<3)+d|0;h=N[i+4>>2];N[j+64>>2]=N[i>>2];N[j+68>>2]=h;break q}if(!a){break f}Tn(j- -64|0,h,c,g);break p}if((q|0)>=0){break c}}h=0;if(!a){continue e}}i=n&-65537;n=n&8192?i:n;q=0;v=8226;o=s;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{h=L[m|0];h=t?(h&15)==3?h&-33:h:h;switch(h-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 g;default:break G}}H:{switch(h-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break g;default:break H}}if((h|0)==83){break w}break g}i=N[j+64>>2];m=N[j+68>>2];v=8226;break z}h=0;I:{switch(t&255){case 0:N[N[j+64>>2]>>2]=p;continue e;case 1:N[N[j+64>>2]>>2]=p;continue e;case 2:k=N[j+64>>2];N[k>>2]=p;N[k+4>>2]=p>>31;continue e;case 3:M[N[j+64>>2]>>1]=p;continue e;case 4:L[N[j+64>>2]]=p;continue e;case 6:N[N[j+64>>2]>>2]=p;continue e;case 7:break I;default:continue e}}k=N[j+64>>2];N[k>>2]=p;N[k+4>>2]=p>>31;continue e}l=l>>>0<=8?8:l;n=n|8;h=120}k=s;z=h&32;i=N[j+64>>2];m=N[j+68>>2];if(i|m){while(1){k=k-1|0;L[k|0]=z|O[(i&15)+584032|0];A=!m&i>>>0>15|(m|0)!=0;t=m;m=m>>>4|0;i=(t&15)<<28|i>>>4;if(A){continue}break}}if(!(N[j+64>>2]|N[j+68>>2])|!(n&8)){break y}v=(h>>>4|0)+8226|0;q=2;break y}h=s;k=N[j+68>>2];m=k;i=N[j+64>>2];if(k|i){while(1){h=h-1|0;L[h|0]=i&7|48;t=!m&i>>>0>7|(m|0)!=0;k=m;m=k>>>3|0;i=(k&7)<<29|i>>>3;if(t){continue}break}}k=h;if(!(n&8)){break y}h=s-k|0;l=(h|0)<(l|0)?l:h+1|0;break y}i=N[j+64>>2];h=N[j+68>>2];m=h;if((h|0)<0){k=0-(m+((i|0)!=0)|0)|0;m=k;i=0-i|0;N[j+64>>2]=i;N[j+68>>2]=k;q=1;v=8226;break z}if(n&2048){q=1;v=8227;break z}q=n&1;v=q?8228:8226}k=ue(i,m,s)}if((l|0)<0?w:0){break d}n=w?n&-65537:n;h=N[j+64>>2];i=N[j+68>>2];if(!(l|(h|i)!=0)){k=s;l=0;break g}h=!(h|i)+(s-k|0)|0;l=(h|0)<(l|0)?l:h;break g}h=N[j+64>>2];k=h?h:23499;h=$n(k,l>>>0>=2147483647?2147483647:l);o=h+k|0;if((l|0)>=0){n=i;l=h;break g}n=i;l=h;if(O[o|0]){break d}break g}if(l){i=N[j+64>>2];break u}h=0;jc(a,32,r,0,n);break t}N[j+12>>2]=0;N[j+8>>2]=N[j+64>>2];i=j+8|0;N[j+64>>2]=i;l=-1}h=0;J:{while(1){k=N[i>>2];if(!k){break J}m=og(j+4|0,k);k=(m|0)<0;if(!(k|m>>>0>l-h>>>0)){i=i+4|0;h=h+m|0;if(l>>>0>h>>>0){continue}break J}break}if(k){break b}}o=61;if((h|0)<0){break c}jc(a,32,r,h,n);if(!h){h=0;break t}o=0;i=N[j+64>>2];while(1){k=N[i>>2];if(!k){break t}k=og(j+4|0,k);o=k+o|0;if(o>>>0>h>>>0){break t}ac(a,j+4|0,k);i=i+4|0;if(h>>>0>o>>>0){continue}break}}jc(a,32,r,h,n^8192);h=(h|0)<(r|0)?r:h;continue e}if((l|0)<0?w:0){break d}o=61;h=Qa[f|0](a,S[j+64>>3],r,l,n,h)|0;if((h|0)>=0){continue e}break c}L[j+55|0]=N[j+64>>2];l=1;k=y;n=i;break g}i=O[h+1|0];h=h+1|0;continue}}if(a){break a}if(!u){break f}h=1;while(1){a=N[(h<<2)+e>>2];if(a){Tn((h<<3)+d|0,a,c,g);p=1;h=h+1|0;if((h|0)!=10){continue}break a}break}p=1;if(h>>>0>=10){break a}while(1){if(N[(h<<2)+e>>2]){break h}h=h+1|0;if((h|0)!=10){continue}break}break a}o=28;break c}m=o-k|0;i=(l|0)>(m|0)?l:m;if((i|0)>(q^2147483647)){break d}o=61;l=i+q|0;h=(l|0)<(r|0)?r:l;if((x|0)<(h|0)){break c}jc(a,32,h,l,n);ac(a,v,q);jc(a,48,h,l,n^65536);jc(a,48,i,m,0);ac(a,k,m);jc(a,32,h,l,n^8192);continue}break}p=0;break a}o=61}N[147316]=o}p=-1}La=j+80|0;return p}function rf(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;N[a+44>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+1404>>2]=0;N[a+1392>>2]=0;N[a+56>>2]=0;d=N[a>>2];x=N[a+16>>2];y=N[a+8>>2];j=N[a+12>>2];k=N[a+4>>2];a:{b:{c=M[b>>1];c:{d:{e:{if(c>>>0<=8){if(N[a+40>>2]){break d}N[a+40>>2]=a+2752;g=8;break e}h=N[a+32>>2];if(h>>>0>=c>>>0){break d}e=N[a+40>>2];if((e|0)==(a+2752|0)){N[a+40>>2]=0;e=0}c=c+3|0;if((c|h)<0){c=6;break a}f:{g=c&-4;g:{if(!g){if(!e){break g}Qa[N[d+8>>2]](d,e);N[a+40>>2]=0;break e}c=10;if((g|0)>536870911){break a}h:{if(!h){l=Qa[N[d+4>>2]](d,g<<2)|0;c=!l<<6;break h}c=Qa[N[d+12>>2]](d,h<<2,g<<2,e)|0;l=c?c:e;c=!c<<6}if(c|(g|0)<=(h|0)|!l){break f}C((h<<2)+l|0,0,g-h<<2)}N[a+40>>2]=l;break e}N[a+40>>2]=l;if(c){break c}}N[a+32>>2]=g}p=M[b+2>>1];c=p+2|0;i:{if(c>>>0<=96){if(N[a+28>>2]){break i}N[a+20>>2]=96;N[a+28>>2]=a+2784;break i}h=N[a+20>>2];if(h>>>0>=c>>>0){break i}c=N[a+28>>2];if((c|0)==(a+2784|0)){N[a+28>>2]=0;c=0}e=p+11|0;if((e|h)<0){e=6;break b}j:{k:{g=e&-8;l:{if(!g){e=0;if(!c){break l}Qa[N[d+8>>2]](d,c);N[a+28>>2]=0;break j}e=10;if((g|0)>53687091){break b}m:{if(!h){e=Qa[N[d+4>>2]](d,T(g,40))|0;c=!e<<6;break m}d=Qa[N[d+12>>2]](d,T(h,40),T(g,40),c)|0;e=d?d:c;c=!d<<6}if(c|(g|0)<=(h|0)|!e){break k}C(T(h,40)+e|0,0,T(g-h|0,40))}N[a+28>>2]=e;break j}N[a+28>>2]=e;if(c){break c}}N[a+20>>2]=g;p=M[b+2>>1]}N[a+24>>2]=p;g=M[b>>1];N[a+1416>>2]=-1;N[a+68>>2]=2;N[a+36>>2]=g;if((dg(b)|0)==1){N[a+1416>>2]=1;N[a+68>>2]=-2}N[a+12>>2]=j;N[a+4>>2]=k;N[a+16>>2]=x;N[a+8>>2]=y;if(p){h=N[a+28>>2];v=h+T(p,40)|0;r=T(P[N[N[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;l=N[b+12>>2];if((p|0)>0){c=j>>31;m=(c^j)-c|0;z=m&65535;A=m>>>16|0;B=m>>>8|0;c=k>>31;o=(c^k)-c|0;D=o&65535;E=o>>>16|0;F=o>>>8|0;s=N[b+8>>2];u=N[b+4>>2];d=u;c=h;n=M[l>>1];e=c+T(n,40)|0;b=e;while(1){M[c+2>>1]=1028;f=N[d>>2];M[c+12>>1]=f;q=N[d+4>>2];M[c+14>>1]=q;i=f>>31;i=(i^f)-i|0;n:{if(i+F>>>0<=8190){i=T(i,o)+32768>>>16|0;break n}t=i&65535;i=T(t,E)+T(o,i>>>16|0)+(T(t,D)+32768>>>16)|0}f=f>>31|1;f=((((k|0)<0?0-f|0:f)|0)<0?0-i|0:i)+y|0;N[c+4>>2]=f;N[c+16>>2]=f;f=q>>31;f=(f^q)-f|0;o:{if(f+B>>>0<=8190){i=T(f,m)+32768>>>16|0;break o}i=f&65535;i=T(i,A)+T(m,f>>>16|0)+(T(i,z)+32768>>>16)|0}f=i;t=0-f|0;f=q>>31|1;f=((((j|0)<0?0-f|0:f)|0)<0?t:i)+x|0;N[c+8>>2]=f;N[c+20>>2]=f;f=(n<<16>>16<<3)+u|0;M[e+12>>1]=N[f>>2];M[e+14>>1]=N[f+4>>2];f=O[s|0]&3;M[c>>1]=f?((f|0)==2)<<1:1;i=M[c+14>>1]-M[b+14>>1]|0;f=i>>31;t=M[c+12>>1]-M[b+12>>1]|0;q=t>>31;if((f^i)-f+((q^t)-q)>>>0>>0){M[b>>1]=P[b>>1]|32}N[c+36>>2]=b;N[b+32>>2]=c;p:{if((c|0)!=(e|0)){b=c;break p}w=w+1|0;if((g|0)<=(w|0)){b=c;e=c;break p}n=M[(w<<1)+l>>1];b=T(n,40)+h|0;e=b}s=s+1|0;d=d+8|0;c=c+40|0;if(v>>>0>c>>>0){continue}break}}if((g|0)>0){c=N[a+40>>2];e=c+(g<<2)|0;b=0;while(1){N[c>>2]=T(b<<16>>16,40)+h;b=P[l>>1]+1|0;l=l+2|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}n=N[a+40>>2];s=n+(g<<2)|0;f=(r<<1)-1|0;while(1){e=N[n>>2];b=P[e+12>>1];c=e;while(1){q:{g=b;a=c;c=N[c+36>>2];if((e|0)==(c|0)){l=P[a+14>>1];break q}l=M[a+14>>1];k=l-M[c+14>>1]|0;d=k>>31;b=M[c+12>>1];m=(g<<16>>16)-b|0;j=m>>31;if((f|0)>((d^k)-d+((j^m)-j)|0)){continue}}break}N[a+24>>2]=0;N[a+28>>2]=0;c=0;d=a;e=a;b=0;while(1){k=g<<16>>16;g=l<<16>>16;d=N[d+32>>2];l=M[d+14>>1];b=(l-g|0)+b|0;j=b>>31;g=M[d+12>>1];c=(g-k|0)+c|0;k=c>>31;j=(b^j)-j|0;k=(c^k)-k|0;r:{if(j+k>>>0>>0){M[d>>1]=P[d>>1]|16;break r}m=(d-e|0)/40|0;N[e+24>>2]=m;N[d+28>>2]=0-m;m=0-c|0;s:{if((b|0)>=(c|0)){i=c;c=(b|0)<(m|0);k=c?b:i;j=k>>31;j=(j^k)-j|0;o=c?-1:2;c=c?m:b;break s}o=1;if((b|0)>=(m|0)){break s}c=0-b|0;o=254;j=k}b=(T(j,14)|0)>=(c|0)?4:o;L[e+3|0]=b;c=N[e+32>>2];if((d|0)!=(c|0)){while(1){L[c+3|0]=b;L[c+2|0]=b;c=N[c+32>>2];if((d|0)!=(c|0)){continue}break}}L[d+2|0]=b;b=(a-d|0)/40|0;N[d+24>>2]=b;c=0;N[a+28>>2]=0-b;e=d;b=0}if((a|0)!=(d|0)){continue}break}n=n+4|0;if(s>>>0>n>>>0){continue}break}}c=0;if((p|0)<=0){break c}c=h;while(1){e=P[c>>1];t:{if(e&16|O[c+2|0]!=4|O[c+3|0]!=4){break t}d=N[c+24>>2];a=T(d,40)+c|0;b=M[c+12>>1];u=M[a+12>>1]-b|0;i=b;g=N[c+28>>2];b=T(g,40)+c|0;if((u^i-M[b+12>>1])<0){break t}j=M[c+14>>1];if((j-M[b+14>>1]^M[a+14>>1]-j)<0){break t}M[c>>1]=e|16;e=b;b=(T(d-g|0,40)|0)/40|0;N[e+24>>2]=b;N[a+28>>2]=0-b}c=c+40|0;if(v>>>0>c>>>0){continue}break}while(1){c=P[h>>1];u:{if(c&16){break u}v:{if(c&3){break v}a=O[h+3|0];b=O[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break v}p=N[h+24>>2];e=T(p,40)+h|0;k=M[e+12>>1];d=M[h+12>>1];n=k-d|0;a=n>>31;l=M[e+14>>1];j=M[h+14>>1];m=l-j|0;b=m>>31;i=d;o=N[h+28>>2];d=T(o,40)+h|0;r=M[d+12>>1];s=i-r|0;g=s>>31;f=M[d+14>>1];q=j-f|0;j=q>>31;r=k-r|0;k=r>>31;f=l-f|0;l=f>>31;a=(a^n)-a|0;b=(b^m)-b|0;i=(T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;a=(g^s)-g|0;b=(j^q)-j|0;i=i+((T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0)|0;a=(k^r)-k|0;b=(f^l)-l|0;a=(T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;if((i-a|0)>=(a>>>4|0)){break u}a=(T(p-o|0,40)|0)/40|0;N[d+24>>2]=a;N[e+28>>2]=0-a;break v}if(b<<24>>24!=(0-(a<<24>>24)|0)){break u}}M[h>>1]=c|16}h=h+40|0;if(v>>>0>h>>>0){continue}break}}c=0}return c}N[a+28>>2]=c;return e}N[a+40>>2]=e;return c}function Hj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=(b<<4)+a|0;if(b>>>0>9){while(1){f=(b<<4)-16|0;g=f+a|0;i=g-16|0;d=N[a+16>>2];c=(b<<3&-16)+a|0;b=N[c>>2];a:{if((d|0)!=(b|0)){b=(b|0)>(d|0)?-1:1;break a}b:{if(O[a+24|0]){break b}b=N[c+4>>2];d=N[a+20>>2];if((b^d)>>>0<2){break b}b=(b|0)>(d|0)?-1:1;break a}b=N[a+28>>2];d=N[c+12>>2];b=b>>>0>>0?-1:b>>>0>d>>>0}e=a+16|0;h=(b|0)>0;b=h?e:c;j=N[b>>2];d=N[i>>2];c:{d:{if((j|0)!=(d|0)){if((d|0)<=(j|0)){break d}break c}e:{if(O[b+8|0]){break e}j=N[g-12>>2];l=N[b+4>>2];if((j^l)>>>0<2){break e}if((j|0)<=(l|0)){break d}break c}if(Q[b+12>>2]<=Q[g-4>>2]){break c}}b=h?c:e;c=N[b>>2];f:{if((c|0)!=(d|0)){c=(c|0)<(d|0)?-1:1;break f}g:{if(O[b+8|0]){break g}c=N[g-12>>2];d=N[b+4>>2];if((c^d)>>>0<2){break g}c=(c|0)>(d|0)?-1:1;break f}c=N[b+12>>2];d=N[g-4>>2];c=c>>>0>>0?-1:c>>>0>d>>>0}b=(c|0)>0?b:i}if((b|0)!=(g|0)){c=O[b|0];L[b|0]=O[g|0];L[g|0]=c;c=O[b+1|0];L[b+1|0]=O[g+1|0];L[g+1|0]=c;c=O[b+2|0];L[b+2|0]=O[g+2|0];L[g+2|0]=c;c=O[b+3|0];L[b+3|0]=O[g+3|0];L[g+3|0]=c;c=O[b+4|0];L[b+4|0]=O[g+4|0];L[g+4|0]=c;c=O[b+5|0];L[b+5|0]=O[g+5|0];L[g+5|0]=c;c=O[b+6|0];L[b+6|0]=O[g+6|0];L[g+6|0]=c;c=O[b+7|0];L[b+7|0]=O[g+7|0];L[g+7|0]=c;c=O[b+8|0];L[b+8|0]=O[g+8|0];L[g+8|0]=c;c=O[b+9|0];L[b+9|0]=O[g+9|0];L[g+9|0]=c;c=O[b+10|0];L[b+10|0]=O[g+10|0];L[g+10|0]=c;c=O[b+11|0];L[b+11|0]=O[g+11|0];L[g+11|0]=c;c=O[b+12|0];L[b+12|0]=O[g+12|0];L[g+12|0]=c;c=O[b+13|0];L[b+13|0]=O[g+13|0];L[g+13|0]=c;c=O[b+14|0];L[b+14|0]=O[g+14|0];L[g+14|0]=c;c=O[b+15|0];L[b+15|0]=O[g+15|0];L[g+15|0]=c}h:{if((f|0)<=0){d=0;break h}i=g;c=g;d=a;b=d;while(1){i:{j:{e=N[b>>2];h=N[g>>2];k:{if((e|0)!=(h|0)){if((e|0)<(h|0)){break k}break j}l:{if(O[b+8|0]){break l}e=N[g+4>>2];h=N[b+4>>2];if((e^h)>>>0<2){break l}if((e|0)<=(h|0)){break j}break k}e=N[b+12>>2];h=N[g+12>>2];if(e>>>0>>0){break k}if(e>>>0>h>>>0){break j}if(b>>>0>d>>>0){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;e=O[d+1|0];L[d+1|0]=O[b+1|0];L[b+1|0]=e;e=O[d+2|0];L[d+2|0]=O[b+2|0];L[b+2|0]=e;e=O[d+3|0];L[d+3|0]=O[b+3|0];L[b+3|0]=e;e=O[d+4|0];L[d+4|0]=O[b+4|0];L[b+4|0]=e;e=O[d+5|0];L[d+5|0]=O[b+5|0];L[b+5|0]=e;e=O[d+6|0];L[d+6|0]=O[b+6|0];L[b+6|0]=e;e=O[d+7|0];L[d+7|0]=O[b+7|0];L[b+7|0]=e;e=O[d+8|0];L[d+8|0]=O[b+8|0];L[b+8|0]=e;e=O[d+9|0];L[d+9|0]=O[b+9|0];L[b+9|0]=e;e=O[d+10|0];L[d+10|0]=O[b+10|0];L[b+10|0]=e;e=O[d+11|0];L[d+11|0]=O[b+11|0];L[b+11|0]=e;e=O[d+12|0];L[d+12|0]=O[b+12|0];L[b+12|0]=e;e=O[d+13|0];L[d+13|0]=O[b+13|0];L[b+13|0]=e;e=O[d+14|0];L[d+14|0]=O[b+14|0];L[b+14|0]=e;e=O[d+15|0];L[d+15|0]=O[b+15|0];L[b+15|0]=e}d=d+16|0}b=b+16|0;if(c>>>0>b>>>0){continue}break i}m:{if(b>>>0>=c>>>0){break m}while(1){n:{h=c;c=c-16|0;e=N[c>>2];f=N[g>>2];o:{if((e|0)!=(f|0)){if((e|0)>=(f|0)){break o}break n}p:{if(O[h-8|0]){break p}e=N[g+4>>2];f=N[h-12>>2];if((e^f)>>>0<2){break p}if((e|0)>(f|0)){break n}break o}e=N[h-4>>2];f=N[g+12>>2];if(e>>>0>>0){break n}if(e>>>0>f>>>0){break o}e=i-16|0;if(h>>>0>>0){f=c;i=e;while(1){j=O[f|0];L[f|0]=O[i|0];L[i|0]=j;i=i+1|0;f=f+1|0;if(h>>>0>f>>>0){continue}break}}i=e}if(b>>>0>>0){continue}break m}break}if(b>>>0>>0){e=O[b|0];L[b|0]=O[c|0];L[c|0]=e;e=O[b+1|0];f=h-15|0;L[b+1|0]=O[f|0];L[f|0]=e;e=O[b+2|0];f=h-14|0;L[b+2|0]=O[f|0];L[f|0]=e;e=O[b+3|0];f=h-13|0;L[b+3|0]=O[f|0];L[f|0]=e;e=O[b+4|0];f=h-12|0;L[b+4|0]=O[f|0];L[f|0]=e;e=O[b+5|0];f=h-11|0;L[b+5|0]=O[f|0];L[f|0]=e;e=O[b+6|0];f=h-10|0;L[b+6|0]=O[f|0];L[f|0]=e;e=O[b+7|0];f=h-9|0;L[b+7|0]=O[f|0];L[f|0]=e;e=O[b+8|0];f=h-8|0;L[b+8|0]=O[f|0];L[f|0]=e;e=O[b+9|0];f=h-7|0;L[b+9|0]=O[f|0];L[f|0]=e;e=O[b+10|0];f=h-6|0;L[b+10|0]=O[f|0];L[f|0]=e;e=O[b+11|0];f=h-5|0;L[b+11|0]=O[f|0];L[f|0]=e;e=O[b+12|0];f=h-4|0;L[b+12|0]=O[f|0];L[f|0]=e;e=O[b+13|0];f=h-3|0;L[b+13|0]=O[f|0];L[f|0]=e;e=O[b+14|0];f=h-2|0;L[b+14|0]=O[f|0];L[f|0]=e;e=O[b+15|0];h=h-1|0;L[b+15|0]=O[h|0];L[h|0]=e}b=b+16|0}if(b>>>0>>0){continue}}break}f=c-d|0;q:{if((a|0)==(d|0)|(c|0)==(d|0)){break q}b=d-a|0;if(b>>>0>f>>>0){if((f|0)<=0){break q}g=a+f|0;b=a+b|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break q}if((b|0)<=0){break q}g=a+b|0;b=a+f|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}d=i-c|0;if((c|0)==(i|0)|(i|0)==(k|0)){break h}b=k-i|0;if(b>>>0>>0){if((b|0)<=0){break h}g=b+c|0;b=c+d|0;while(1){i=O[c|0];L[c|0]=O[b|0];L[b|0]=i;b=b+1|0;c=c+1|0;if(g>>>0>c>>>0){continue}break}break h}if((d|0)<=0){break h}g=c+d|0;b=b+c|0;while(1){i=O[c|0];L[c|0]=O[b|0];L[b|0]=i;b=b+1|0;c=c+1|0;if(g>>>0>c>>>0){continue}break}}Hj(a,f>>>4|0);a=k-d|0;k=a+(d&-16)|0;b=d>>>4|0;if(d>>>0>=160){continue}break}}i=a+16|0;if(k>>>0>i>>>0){while(1){c=i;r:{if(c>>>0<=a>>>0){break r}while(1){g=c-16|0;b=N[g>>2];d=N[c>>2];s:{if((b|0)!=(d|0)){if((b|0)<(d|0)){break r}break s}t:{if(O[c-8|0]){break t}b=N[c+4>>2];d=N[c-12>>2];if((b^d)>>>0<2){break t}if((b|0)>(d|0)){break r}break s}if(Q[c-4>>2]<=Q[c+12>>2]){break r}}b=g;d=c;while(1){e=O[b|0];L[b|0]=O[d|0];L[d|0]=e;d=d+1|0;b=b+1|0;if(c>>>0>b>>>0){continue}break}c=g;if(c>>>0>a>>>0){continue}break}}i=i+16|0;if(k>>>0>i>>>0){continue}break}}}function lu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-160|0;La=h;f=N[e+32>>2];if(f){g=N[f+100>>2]}else{g=0}a:{b:{if(bb(a,19233,7)){break b}c:{i=O[a+7|0];switch(i|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!f|!N[N[e+36>>2]+8>>2]){break a}j=(i?-8:-7)+b|0;k=j+1|0;d=N[f+88>>2];e=k+d|0;if((d|e)<0){c=6;break a}g=N[f+84>>2];c=N[f+100>>2];d:{e:{f:{if(!e){b=0;if(!g){break f}Qa[N[c+8>>2]](c,g);N[f+84>>2]=0;break d}g:{if(!d){b=Qa[N[c+4>>2]](c,e)|0;c=!b<<6;break g}c=Qa[N[c+12>>2]](c,d,e,g)|0;b=c?c:g;c=!c<<6}if(c|(d|0)>=(e|0)|!b){break e}C(b+d|0,0,k)}N[f+84>>2]=b;break d}N[f+84>>2]=b;if(c){break a}}b=N[f+88>>2]+b|0;F(b,i?a+8|0:a+7|0,j);L[b+j|0]=10;N[f+88>>2]=N[f+88>>2]+k;c=0;break a}h:{i=N[e>>2];if(!(i&1)){d=N[e+56>>2];c=176;if(bb(a,19203,9)){break a}i:{switch(O[a+9|0]){case 0:case 9:case 10:case 13:case 32:break i;default:break a}}N[e+32>>2]=0;N[e>>2]=1;c=64;b=Qa[N[d+4>>2]](d,136)|0;if(!b){break a}C(b,0,136);N[e+32>>2]=b;N[b+100>>2]=N[e+56>>2];N[e+56>>2]=0;N[b+128>>2]=170;N[b+124>>2]=171;N[b+120>>2]=0;N[b+112>>2]=80;N[b+116>>2]=241;c=Qa[N[d+4>>2]](d,964)|0;if(!c){N[b+132>>2]=0;c=64;break a}g=b+112|0;a=0;C(c,0,964);N[b+132>>2]=c;b=43712;while(1){c=gg(N[b>>2],a,g,d);if(c){break a}b=b+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=Qa[N[d+4>>2]](d,24)|0;if(!a){break h}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[N[e+32>>2]+92>>2]=a;N[a+16>>2]=170;N[a+12>>2]=171;c=0;N[a+8>>2]=0;N[a>>2]=80;N[a+4>>2]=241;b=Qa[N[d+4>>2]](d,964)|0;if(!b){N[a+20>>2]=0;c=64;break a}C(b,0,964);N[a+20>>2]=b;a=N[N[e+36>>2]+12>>2];b=N[e+32>>2];N[b+36>>2]=-1;N[b+28>>2]=a;break a}j:{if(bb(a,19537,15)){break j}k:{switch(O[a+15|0]){case 0:case 9:case 10:case 13:case 32:break k;default:break j}}c=179;if(!(i&8)){break a}c=Kc(e+40|0,22537,a,b);N[h+32>>2]=c;if(c){break a}l:{m:{b=N[N[e+40>>2]+4>>2];if(!b){break m}a=L[b|0];c=a&255;if(!c|!(O[(c>>>3|0)+45040|0]>>>(a&7)&1)){break m}c=0;n:{while(1){if(c>>>0>=429496728){a=N[e+32>>2];N[a+72>>2]=-1;N[e+4>>2]=-1;a=a+72|0;break n}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}a=N[e+32>>2];N[a+72>>2]=c;N[e+4>>2]=c;if(N[e+60>>2]>>>2>>>0>=c>>>0){break l}a=a+72|0}N[a>>2]=0;c=6;break a}c=0;N[N[e+32>>2]+72>>2]=0;N[e+4>>2]=0}a=lb(g,16,0,c,0,h+32|0);b=N[e+32>>2];N[b+80>>2]=a;c=N[h+32>>2];if(c){N[b+72>>2]=0;break a}N[e>>2]=N[e>>2]|16;N[d>>2]=172;c=0;break a}o:{if(bb(a,18785,15)){break o}p:{switch(O[a+15|0]){case 0:case 9:case 10:case 13:case 32:break p;default:break o}}c=178;if(!(i&4)){break a}c=Kc(e+40|0,22537,a,b);if(c){break a}a=N[e+32>>2];b=N[e+40>>2];l=a,m=Tf(N[b+4>>2]),M[l+4>>1]=m;d=Tf(N[b+8>>2]);M[a+6>>1]=d;l=a,m=Ze(N[b+12>>2]),M[l+8>>1]=m;b=Ze(N[b+16>>2]);M[a+10>>1]=b;c=0;M[a+14>>1]=0-b;M[a+12>>1]=b+d;N[e>>2]=N[e>>2]|8;break a}q:{if(bb(a,19216,4)){break q}r:{switch(O[a+4|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}d=e+40|0;c=Kc(d,22537,a,b);if(c){break a}cm(d);f=bm(d,h+32|0);if(!f){c=3;break a}a=N[e+32>>2];b=N[a>>2];if(b){Qa[N[g+8>>2]](g,b);a=N[e+32>>2]}b=0;N[a>>2]=0;c=N[h+32>>2];d=c+1|0;s:{t:{if(c>>>0<=2147483646){b=Qa[N[g+4>>2]](g,d)|0;a=N[e+32>>2];if(b){break s}c=64;break t}c=6;if(!d){break s}}N[a>>2]=0;break a}N[a>>2]=b;F(b,f,d);g=N[e+36>>2];a=La-272|0;La=a;d=6;b=N[e+32>>2];u:{if(!b){break u}c=N[b>>2];if(!c|!O[c|0]){break u}f=N[b+100>>2];N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[a+12>>2]=f;N[b+28>>2]=N[g+12>>2];g=nb(c)+1|0;if(g>>>0>255){break u}d=a+16|0;F(d,c,g);d=Kc(a,22535,d,g);v:{if(d|N[a+8>>2]!=15){break v}c=32;w:{x:{switch(L[N[N[a>>2]+44>>2]]-67|0){case 10:case 42:c=16;break w;case 0:case 32:break w;case 13:case 45:break x;default:break v}}c=8}N[b+28>>2]=c}b=N[a+12>>2];if(!b){break u}c=N[a>>2];if(!c){break u}Qa[N[b+8>>2]](b,c)}La=a+272|0;c=d;if(c){break a}N[e>>2]=N[e>>2]|2;c=0;break a}y:{if(bb(a,20116,4)){break y}z:{switch(O[a+4|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}c=177;if(!(i&2)){break a}c=Kc(e+40|0,22537,a,b);if(c){break a}a=N[e+32>>2];b=N[e+40>>2];l=a,m=Ye(N[b+4>>2]),N[l+16>>2]=m;l=a,m=Ye(N[b+8>>2]),N[l+20>>2]=m;l=a,m=Ye(N[b+12>>2]),N[l+24>>2]=m;A:{if(N[e+48>>2]==5){b=Ze(N[b+16>>2]);if(b>>>0>=5){M[a+96>>1]=8;break A}if(b>>>0>=3){M[a+96>>1]=4;break A}if((b|0)==2){M[a+96>>1]=2;break A}M[a+96>>1]=1;break A}M[a+96>>1]=1}N[e>>2]=N[e>>2]|4;c=0;break a}c=3;if(bb(a,19438,5)){break a}B:{switch(O[a+5|0]){case 0:case 9:case 10:case 13:case 32:break B;default:break a}}c=179;if(!(i&8)){break a}a=M[f+12>>1];N[f+40>>2]=a;N[h+16>>2]=a;a=h+32|0;Sf(a,h+16|0);c=Md(N[e+32>>2],19320,a);if(c){break a}b=N[e+32>>2];a=M[b+14>>1];N[b+44>>2]=a;N[h>>2]=a;a=h+32|0;Sf(a,h);c=Md(N[e+32>>2],19275,a);if(c){break a}N[d>>2]=173;c=-1;break a}N[N[e+32>>2]+92>>2]=0;c=64}La=h+160|0;return c|0}function uB(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;g=La-48|0;La=g;e=6;a:{if(!a|!b){break a}d=N[b+4>>2];if(!d){e=20;break a}e=0;if(M[d+2>>1]<=0|M[d>>1]<=0){break a}if(!N[d+12>>2]){e=20;break a}e=20;if(!N[d+4>>2]){break a}e=6;if(N[b+48>>2]-33>>>0<4294967265){break a}e=N[a>>2];if(!e){e=32;break a}z=g,A=dg(d),N[z+32>>2]=A;L[g+36|0]=O[b+52|0];a=O[b+53|0];N[g+40>>2]=0;L[g+37|0]=a;f=Qa[N[e+4>>2]](e,8)|0;if(!f){e=64;break a}N[f>>2]=0;N[f+4>>2]=0;N[f>>2]=e;N[g+44>>2]=f;e=Yh(d,294060,f);if(e){break a}j=N[b>>2];d=N[b+48>>2];b:{if(O[b+54|0]){N[g+24>>2]=N[g+40>>2];a=N[g+36>>2];N[g+16>>2]=N[g+32>>2];N[g+20>>2]=a;t=La-32|0;La=t;b=6;c:{if(!f|!j){break c}l=N[f>>2];if(!l){break c}p=O[g+20|0];L[g+20|0]=0;c=N[f+4>>2];N[t+24>>2]=l;f=f+4|0;x=N[j>>2];v=N[j+4>>2];d:{e:{f:{g:{if(!c){w=1;c=0;break g}while(1){o=o+1|0;c=N[c+12>>2];if(c){continue}break}a=T(o,24);h:{if((a|0)<=0){if(!a){break h}break c}m=Qa[N[l+4>>2]](l,a)|0;if(!m){b=64;break c}C(m,0,a)}a=o<<2;i:{if((a|0)<=0){if(!a){break i}break d}q=Qa[N[l+4>>2]](l,a)|0;if(!q){b=64;break d}C(q,0,a)}a=!o;w=a;if(a){c=0;break g}a=f;c=0;while(1){k=T(r,24)+m|0;n=N[a>>2];if(m){N[k>>2]=0;N[k+4>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+12>>2]=0}e=c;N[k+4>>2]=N[j+4>>2];N[k>>2]=N[j>>2];N[k+8>>2]=N[j+8>>2];M[k+16>>1]=P[j+16>>1];L[k+18|0]=O[j+18|0];j:{k:{l:{m:{b=T(N[j+8>>2],N[j>>2]);n:{if((b|0)<=0){a=0;if(!b){break n}N[(T(r,24)+m|0)+12>>2]=0;b=6;break f}a=Qa[N[l+4>>2]](l,b)|0;if(!a){break m}C(a,0,b)}N[k+12>>2]=a;if(!n){break l}a=0;c=N[n+8>>2];if(!c){break l}while(1){o:{p:{switch(N[c+32>>2]-1|0){case 0:b=(T(N[c+4>>2]+N[c+12>>2]|0,N[c+8>>2]-N[c>>2]|0)|0)/64|0;break o;case 1:b=a;h=N[c+20>>2];a=N[c+16>>2];b=b+((T(h+N[c+4>>2]|0,a-N[c>>2]|0)|0)/64|0)|0;a=(T(h+N[c+12>>2]|0,N[c+8>>2]-a|0)|0)/64|0;break o;case 2:break p;default:break l}}h=a;a=N[c+20>>2];b=N[c+16>>2];i=h+((T(a+N[c+4>>2]|0,b-N[c>>2]|0)|0)/64|0)|0;h=N[c+28>>2];s=h+a|0;a=N[c+24>>2];b=i+((T(s,a-b|0)|0)/64|0)|0;a=(T(h+N[c+12>>2]|0,N[c+8>>2]-a|0)|0)/64|0}a=a+b|0;c=N[c+36>>2];if(c){continue}break}c=1;u=(r<<2)+q|0;b=(a|0)<=0;N[u>>2]=b?2:1;i=b;b=N[g+16>>2];h=0;if(b?0:i){break j}if((a|0)<=0){break k}h=1;if((b|0)==1){break j}break k}N[(T(r,24)+m|0)+12>>2]=0;b=64;break f}u=(r<<2)+q|0;N[u>>2]=0;b=N[g+16>>2]}c=0;h=b}N[g+24>>2]=c;c=N[n+12>>2];N[n+12>>2]=0;N[t+28>>2]=n;N[t+16>>2]=N[g+24>>2];a=N[g+20>>2];N[t+8>>2]=N[g+16>>2];N[t+12>>2]=a;b=cp(t+8|0,t+24|0,d,k);if(b){break e}a=n+12|0;N[a>>2]=c;c=N[t+28>>2];N[c+12>>2]=e;q:{if((h|0)!=1){break q}b=2;r:{switch(N[u>>2]-1|0){case 1:b=1;break;case 0:break r;default:break q}}N[u>>2]=b}r=r+1|0;if((r|0)!=(o|0)){continue}break}}N[f>>2]=c;if((x|0)<=0){b=0;break f}b=0;if((v|0)<=0){break f}r=N[j+12>>2];if(w){C(r,p?-1:0,T(v,x));break f}e=o&-2;u=o&1;k=0;if(p){w=(o|0)==1;while(1){h=T(k,v);s=0;while(1){j=h+s|0;i=255;c=0;a=0;b=0;s:{if(!w){while(1){a=i&255;n=O[j+N[(T(c,24)+m|0)+12>>2]|0];f=N[(c<<2)+q>>2]==1;a=f?i:a>>>0>>0?a:n;d=a&255;i=a;a=c|1;p=O[j+N[(T(a,24)+m|0)+12>>2]|0];y=d>>>0

>>0?d:p;d=N[(a<<2)+q>>2]==1;i=d?i:y;a=b&255;b=f?a>>>0>n>>>0?a:n:b;a=b&255;b=d?a>>>0>p>>>0?a:p:b;c=c+2|0;if((e|0)!=(c|0)){continue}break}a=e;if(!u){break s}}d=i&255;f=O[j+N[(T(a,24)+m|0)+12>>2]|0];c=d>>>0>>0?d:f;d=N[(a<<2)+q>>2]==1;i=d?i:c;a=b&255;b=d?a>>>0>f>>>0?a:f:b}b=b&255;a=i&255;L[j+r|0]=(a>>>0>b>>>0?b:a)^-1;s=s+1|0;if((v|0)!=(s|0)){continue}break}k=k+1|0;if((x|0)!=(k|0)){continue}break}b=0;break e}w=(o|0)==1;while(1){h=T(k,v);s=0;while(1){j=h+s|0;i=255;c=0;a=0;b=0;t:{if(!w){while(1){a=i&255;n=O[j+N[(T(c,24)+m|0)+12>>2]|0];f=N[(c<<2)+q>>2]==1;a=f?i:a>>>0>>0?a:n;d=a&255;i=a;a=c|1;p=O[j+N[(T(a,24)+m|0)+12>>2]|0];y=d>>>0

>>0?d:p;d=N[(a<<2)+q>>2]==1;i=d?i:y;a=b&255;b=f?a>>>0>n>>>0?a:n:b;a=b&255;b=d?a>>>0>p>>>0?a:p:b;c=c+2|0;if((e|0)!=(c|0)){continue}break}a=e;if(!u){break t}}d=i&255;f=O[j+N[(T(a,24)+m|0)+12>>2]|0];c=d>>>0>>0?d:f;d=N[(a<<2)+q>>2]==1;i=d?i:c;a=b&255;b=d?a>>>0>f>>>0?a:f:b}b=b&255;a=i&255;L[j+r|0]=a>>>0>b>>>0?b:a;s=s+1|0;if((v|0)!=(s|0)){continue}break}k=k+1|0;if((x|0)!=(k|0)){continue}break}b=0;break e}if(!q){break d}}Qa[N[l+8>>2]](l,q)}if(!m){break c}if(!o){b=97;break c}c=0;u:{if((o|0)!=1){h=o&1;f=o&-2;a=0;while(1){d=T(c,24)+m|0;e=N[d+12>>2];if(e){Qa[N[l+8>>2]](l,e)}N[d+12>>2]=0;d=T(c|1,24)+m|0;e=N[d+12>>2];if(e){Qa[N[l+8>>2]](l,e)}N[d+12>>2]=0;c=c+2|0;a=a+2|0;if((f|0)!=(a|0)){continue}break}if(!h){break u}}e=T(c,24)+m|0;a=N[e+12>>2];if(a){Qa[N[l+8>>2]](l,a)}N[e+12>>2]=0}Qa[N[l+8>>2]](l,m)}La=t+32|0;e=b;if(!b){break b}break a}N[g+8>>2]=N[g+40>>2];a=N[g+36>>2];N[g>>2]=N[g+32>>2];N[g+4>>2]=a;e=cp(g,f,d,j);if(e){break a}}f=g+44|0;v:{if(!f){break v}a=N[f>>2];if(!a){break v}h=N[a>>2];if(!h){break v}b=N[a+4>>2];w:{if(b){while(1){d=N[b+12>>2];a=N[b+8>>2];x:{if(a){while(1){e=N[a+36>>2];Qa[N[h+8>>2]](h,a);a=e;if(a){continue}break}if(!b){break x}}Qa[N[h+8>>2]](h,b)}b=d;if(b){continue}break}a=N[f>>2];if(!a){break w}}Qa[N[h+8>>2]](h,a)}N[f>>2]=0}e=0}La=g+48|0;return e|0}function Ym(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;g=La-16|0;La=g;i=N[b+28>>2];n=N[a+736>>2];N[g>>2]=0;a:{if(!n){N[g+12>>2]=0;break a}if(!N[a+704>>2]){N[g+12>>2]=0;break a}if(Qa[N[a+516>>2]](a,1668702578,b,g+8|0)|0){N[g+12>>2]=0;break a}if(Bb(b,N[g+8>>2])){N[g+12>>2]=0;break a}b:{c:{d:{e:{f=N[b+32>>2];if(Q[b+36>>2]>f+3>>>0){k=N[b>>2];c=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);N[b+32>>2]=f+4;if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))==65536){break e}}N[g+12>>2]=0;break d}f:{c=N[n>>2];if((c|0)<0){l=6;break f}g:{h:{if(c){l=10;if((c|0)>536870911){break f}d=c<<2;l=Qa[N[i+4>>2]](i,d)|0;if(!l|(c|0)<=0){break h}C(l,0,d)}N[g+12>>2]=0;break g}N[g+12>>2]=!l<<6;if(l){break g}break c}t=lb(i,4,0,N[n>>2],0,g+12|0);if(N[g+12>>2]){break c}u=lb(i,4,0,N[n>>2],0,g+12|0);if(N[g+12>>2]){break c}j=N[b+36>>2];d=N[b+32>>2];if(j>>>0>d+1>>>0){c=O[d|0]|O[d+1|0]<<8;h=c<<8|c>>>8;d=d+2|0}N[b+32>>2]=d;if(j>>>0<=d+1>>>0){c=d}else{e=O[d+1|0]|O[d|0]<<8;c=d+2|0}N[b+32>>2]=c;q=N[g+8>>2];w=h&4095;if(q>>>0<(w<<2)+e>>>0){N[g+12>>2]=8;break c}r=(f-k|0)+e|0;i:{if(h<<16>>16>=0){q=0;break i}d=N[b>>2];N[b+32>>2]=j-d>>>0>r>>>0?d+r|0:j;q=ag(b,q,g);j=N[b+32>>2];f=N[b>>2];c=c-d|0;d=N[b+36>>2];N[b+32>>2]=c>>>0>>0?f+c|0:d;r=j-f|0}s=lb(i,4,0,N[a+700>>2],0,g+12|0);j:{if(N[g+12>>2]){break j}if(w){p=N[g>>2];k=0;while(1){h=N[b+36>>2];c=N[b+32>>2];k:{if(h>>>0<=c+1>>>0){y=0;break k}y=O[c+1|0]|O[c|0]<<8;c=c+2|0}N[b+32>>2]=c;j=0;x=0;l:{m:{if(h>>>0<=c+1>>>0){break m}d=O[c|0]|O[c+1|0]<<8;c=c+2|0;N[b+32>>2]=c;d=d<<8|d>>>8;j=d&65535;x=d<<16>>16;if((x|0)>=0){break m}d=N[n>>2];if(!d){break l}m=0;n:{if((d|0)==1){d=0;break n}o=d&1;v=d&-2;d=0;f=0;while(1){o:{if(h>>>0<=c+1>>>0){e=0;break o}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(d<<2)+l>>2]=e<<16>>16<<2;e=0;if(h>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((d|1)<<2)+l>>2]=e<<16>>16<<2;d=d+2|0;f=f+2|0;if((v|0)!=(f|0)){continue}break}if(!o){break l}}if(h>>>0>c+1>>>0){f=O[c|0]|O[c+1|0]<<8;m=f<<8|f>>>8;c=c+2|0}N[b+32>>2]=c;N[(d<<2)+l>>2]=m<<16>>16<<2;break l}c=j&4095;if(c>>>0>=Q[n+60>>2]){N[g+12>>2]=8;break j}d=N[n+64>>2];if(!d){N[g+12>>2]=8;break j}f=c;c=N[n>>2];F(l,d+(T(f,c)<<2)|0,c<<2)}p:{if(!(j&16384)){break p}o=N[n>>2];if(!o){break p}v=o&1;c=N[b+32>>2];d=N[b+36>>2];m=0;z=o-1|0;q:{r:{if(!z){h=0;break r}B=o&-2;h=0;f=0;while(1){s:{if(d>>>0<=c+1>>>0){e=0;break s}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+t>>2]=e<<16>>16<<2;e=0;if(d>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((h|1)<<2)+t>>2]=e<<16>>16<<2;h=h+2|0;f=f+2|0;if((B|0)!=(f|0)){continue}break}if(!v){break q}}if(d>>>0>c+1>>>0){f=O[c|0]|O[c+1|0]<<8;m=f<<8|f>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+t>>2]=m<<16>>16<<2}m=0;t:{if(!z){h=0;break t}o=o&-2;h=0;f=0;while(1){u:{if(d>>>0<=c+1>>>0){e=0;break u}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+u>>2]=e<<16>>16<<2;e=0;if(d>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((h|1)<<2)+u>>2]=e<<16>>16<<2;h=h+2|0;f=f+2|0;if((o|0)!=(f|0)){continue}break}if(!v){break p}}if(d>>>0>c+1>>>0){d=O[c|0]|O[c+1|0]<<8;m=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+u>>2]=m<<16>>16<<2}h=$m(n,x&65535,l,t,u);if(h){m=N[b+32>>2];e=N[b>>2];c=N[b+36>>2];N[b+32>>2]=c-e>>>0>r>>>0?e+r|0:c;v:{if(j&8192){j=ag(b,N[g+8>>2],g+4|0);f=j;c=N[g+4>>2];break v}N[g+4>>2]=p;j=k;f=q;c=p}d=c;m=m-e|0;k=N[g+8>>2];if(!c){c=N[a+700>>2]}e=Rh(b,k,c);w:{x:{y:{if(!f|!e){break y}z:{if((j|0)!=-1){c=0;if(d){break z}k=0;if(!j){break x}Qa[N[i+8>>2]](i,j);break x}k=-1;if((d|0)!=N[a+700>>2]){break x}c=0;if(!d){break x}while(1){d=c<<2;f=d+s|0;D=f,E=ob(N[d+e>>2],h)+N[f>>2]|0,N[D>>2]=E;c=c+1|0;if(c>>>0>2]){continue}break}break y}while(1){k=P[(c<<1)+f>>1];if(k>>>0>2]){k=(k<<2)+s|0;D=k,E=ob(N[e+(c<<2)>>2],h)+N[k>>2]|0,N[D>>2]=E}c=c+1|0;if((d|0)!=(c|0)){continue}break}}k=-1;A:{switch(j+1|0){default:Qa[N[i+8>>2]](i,j);case 1:k=0;break;case 0:break A}}if(!e){break w}}Qa[N[i+8>>2]](i,e)}c=N[b>>2];d=N[b+36>>2];N[b+32>>2]=m>>>0>>0?c+m|0:d}r=r+y|0;A=A+1|0;if((A|0)!=(w|0)){continue}break}}c=N[a+700>>2];if(!c){break j}f=N[a+704>>2];d=0;if((c|0)!=1){j=c&1;k=c&-2;while(1){c=d<<2;p=c+f|0;N[p>>2]=N[p>>2]+(N[c+s>>2]+512>>10);c=c|4;p=c+f|0;N[p>>2]=N[p>>2]+(N[c+s>>2]+512>>10);d=d+2|0;if((k|0)!=(d|0)){continue}break}if(!j){break j}}c=d<<2;d=c+f|0;N[d>>2]=N[d>>2]+(N[c+s>>2]+512>>10)}if(N[b+20>>2]){c=N[b>>2];if(c){d=N[b+28>>2];Qa[N[d+8>>2]](d,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(q+1>>>0<2){break b}Qa[N[i+8>>2]](i,q);break b}N[g+12>>2]=l}l=0}if(N[b+20>>2]){c=N[b>>2];if(c){d=N[b+28>>2];Qa[N[d+8>>2]](d,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}if(l){Qa[N[i+8>>2]](i,l)}if(t){Qa[N[i+8>>2]](i,t)}if(u){Qa[N[i+8>>2]](i,u)}if(!s){break a}Qa[N[i+8>>2]](i,s)}a=N[a+108>>2];while(1){if(a){b=N[a+4>>2];N[N[a+8>>2]+308>>2]=-1;a=b;continue}break}La=g+16|0;return N[g+12>>2]}function Ao(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0;f=La-128|0;La=f;r=N[a>>2];m=N[r>>2];h=N[m+12>>2]+T(b,12)|0;v=N[h+8>>2];s=N[h+4>>2];p=N[h>>2];t=f- -64|0;u=1;while(1){a:{b:{if(s){h=N[r+4>>2];N[f+104>>2]=0;N[f+96>>2]=v;N[f+92>>2]=s;N[f+88>>2]=1;if(!Td(h,f+88|0,o,f+84|0,1)){break b}}N[f>>2]=p;mb(m,2,24370,f);break a}h=N[f+84>>2];u=N[h>>2];zo(m,h);N[f+80>>2]=0;N[f+72>>2]=0;N[f+76>>2]=0;N[t>>2]=0;N[t+4>>2]=0;N[f+56>>2]=0;N[f+60>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!Do(N[f+84>>2],0,f+48|0)){N[f+32>>2]=p;mb(m,2,24401,f+32|0);g=N[f+84>>2];if(!g){break a}h=N[g+96>>2];if(!h){break a}c=N[g+128>>2];d=N[c+64>>2];N[c+64>>2]=d-1;if((d|0)>1){break a}d=N[h+16>>2];if(!d){break a}j=h+16|0;c=N[h+8>>2];while(1){if((g|0)==N[d+8>>2]){break k}d=N[d+4>>2];if(d){continue}break}break a}h=db(1,12);if(!h){h=N[f+48>>2];if(!h){break c}d=0;g=N[f+64>>2];if((g|0)>0){break j}break d}N[h>>2]=m;g=N[f+84>>2];N[h+8>>2]=b;N[h+4>>2]=g;j=N[a>>2];N[f+120>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;d=f+48|0;g=o;q=N[f+64>>2];l:{if(!q){d=N[a+36>>2];if(d){g=Qa[d|0](h)|0}d=N[f+56>>2];d=yo(N[j>>2],N[j+4>>2],d?d:N[f+60>>2],N[a+4>>2],h,g);if(!d){break l}n=N[f+60>>2];if(!Do(d,n,f+88|0)){g=N[d+96>>2];if(!g){break l}e=N[d+128>>2];c=N[e+64>>2];N[e+64>>2]=c-1;if((c|0)>1){break l}c=N[g+16>>2];if(!c){break l}i=g+16|0;e=N[g+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break l}break}j=N[c>>2];k=j?j+4|0:i;i=N[c+4>>2];N[k>>2]=i;N[(i?i:g+20|0)>>2]=j;Qa[N[e+8>>2]](e,c);ic(e,d,g);break l}m:{c=N[f+96>>2];if(!c){break m}c=Hb(c);N[f+96>>2]=c;if(c){break m}g=N[d+96>>2];if(!g){break l}e=N[d+128>>2];c=N[e+64>>2];N[e+64>>2]=c-1;if((c|0)>1){break l}c=N[g+16>>2];if(!c){break l}i=g+16|0;e=N[g+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break l}break}j=N[c>>2];k=j?j+4|0:i;i=N[c+4>>2];N[k>>2]=i;N[(i?i:g+20|0)>>2]=j;Qa[N[e+8>>2]](e,c);ic(e,d,g);break l}e=N[d+96>>2];n:{if(!e){break n}i=N[d+128>>2];c=N[i+64>>2];N[i+64>>2]=c-1;if((c|0)>1){break n}c=N[e+16>>2];if(!c){break n}k=e+16|0;i=N[e+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break n}break}l=N[c>>2];w=l?l+4|0:k;k=N[c+4>>2];N[w>>2]=k;N[(k?k:e+20|0)>>2]=l;Qa[N[i+8>>2]](i,c);ic(i,d,e)}N[f+100>>2]=n;d=f+88|0}c=N[d+24>>2];i=c>>>0<=110?c:0;c=N[d+32>>2];l=c-201>>>0<4294967145?100:c;c=N[d+28>>2];k=c-901>>>0<4294966495?400:c;c=N[j+24>>2];e=N[j+28>>2];o:{if((c|0)<(e|0)){e=N[j+32>>2];break o}c=(e|0)<=0?1:e<<1;N[j+28>>2]=c;e=$a(N[j+32>>2],T(c,56));N[j+32>>2]=e;c=N[j+24>>2]}e=T(c,56)+e|0;N[e>>2]=0;N[e+4>>2]=0;N[e+48>>2]=0;N[e+52>>2]=0;N[e+40>>2]=0;N[e+44>>2]=0;N[e+32>>2]=0;N[e+36>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;c=N[j+8>>2];N[j+8>>2]=c+1;N[e+28>>2]=l;N[e+24>>2]=k;N[e+20>>2]=i;N[e>>2]=c;l=N[d+20>>2];N[e+16>>2]=l;k=N[d+16>>2];N[e+12>>2]=k;i=db(k,4);N[e+4>>2]=i;p:{if(!i){break p}if(l){c=db(l,4);N[e+8>>2]=c;if(!c){break p}}c=0;if((k|0)>0){while(1){n=c<<2;x=n+i|0,y=Hb(N[n+N[d>>2]>>2]),N[x>>2]=y;i=N[e+4>>2];if(!N[n+i>>2]){break p}c=c+1|0;if((k|0)!=(c|0)){continue}break}}if((l|0)>0){i=N[e+8>>2];c=0;while(1){k=c<<2;x=k+i|0,y=Hb(N[k+N[d+4>>2]>>2]),N[x>>2]=y;i=N[e+8>>2];if(!N[k+i>>2]){break p}c=c+1|0;if((l|0)!=(c|0)){continue}break}}c=N[d+8>>2];if(c){c=Hb(c);N[e+40>>2]=c;if(!c){break p}}d=N[d+12>>2];if(!d){break h}d=Hb(d);N[e+44>>2]=d;if(d){break h}}Co(e)}g=N[f+88>>2];if(!g){break f}d=0;c=N[f+104>>2];if((c|0)>0){break i}break g}e=N[d>>2];i=e?e+4|0:j;j=N[d+4>>2];N[i>>2]=j;N[(j?j:h+20|0)>>2]=e;Qa[N[c+8>>2]](c,d);ic(c,g,h);break a}while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}break d}while(1){_a(N[g+(d<<2)>>2]);d=d+1|0;if((c|0)!=(d|0)){continue}break}break g}N[e+52>>2]=h;N[e+36>>2]=g;N[e+48>>2]=a;N[j+24>>2]=N[j+24>>2]+1;break e}_a(g)}g=N[f+92>>2];if(g){d=0;c=N[f+108>>2];if((c|0)>0){while(1){_a(N[g+(d<<2)>>2]);d=d+1|0;if((c|0)!=(d|0)){continue}break}}_a(g)}_a(N[f+96>>2]);g=N[a+16>>2];if(g){Qa[g|0](h)}N[f+16>>2]=p;mb(m,2,24447,f+16|0);_a(h)}h=N[f+48>>2];if(h){d=0;if((q|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((q|0)!=(d|0)){continue}break}}_a(h)}h=N[f+52>>2];if(!h){break a}d=0;g=N[f+68>>2];if((g|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(h);break a}_a(h)}h=N[f+52>>2];if(h){d=0;g=N[f+68>>2];if((g|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(h)}g=N[f+84>>2];if(!g){break a}h=N[g+96>>2];if(!h){break a}c=N[g+128>>2];d=N[c+64>>2];N[c+64>>2]=d-1;if((d|0)>1){break a}d=N[h+16>>2];if(!d){break a}j=h+16|0;c=N[h+8>>2];while(1){if((g|0)!=N[d+8>>2]){d=N[d+4>>2];if(d){continue}break a}break}e=N[d>>2];i=e?e+4|0:j;j=N[d+4>>2];N[i>>2]=j;N[(j?j:h+20|0)>>2]=e;Qa[N[c+8>>2]](c,d);ic(c,g,h)}o=o+1|0;if((u|0)>(o|0)){continue}break}La=f+128|0}function cj(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,o=0,p=0,q=0;d=b<<1;o=d+a|0;if(b>>>0>=10){while(1){j=a+2|0;i=P[a+2>>1];h=(b&-2)+a|0;g=P[h>>1];b=(bj(i,g,c)|0)>0;d=d-2|0;l=d+a|0;f=l-2|0;e=P[f>>1];k=b?j:h;a:{if((bj(b?i:g,e,c)|0)<=0){break a}k=(bj(b?g:i,e,c)|0)>0?b?h:j:f}b=k;if((b|0)!=(l|0)){j=O[b|0];L[b|0]=O[l|0];L[l|0]=j;j=O[b+1|0];L[b+1|0]=O[l+1|0];L[l+1|0]=j}h=l;i=h;j=a;b=j;b:{if((d|0)<=0){f=0;break b}while(1){c:{m=P[b>>1];d=P[l>>1];d:{e:{f:{g:{h:{g=N[c+4>>2];if((g|0)!=131072){if((g|0)!=65536){break e}g=0;k=0;f=0;if(d>>>0<=257){f=d<<2;d=N[f+267632>>2];k=d+268668|0;f=N[f+267636>>2]+(d^-1)|0}if(m>>>0<=257){break h}e=0;break f}g=0;k=0;e=N[c+8>>2];n=O[e|0]|O[e+1|0]<<8;n=(n<<8|n>>>8)&65535;f=0;i:{if(n>>>0<=d>>>0){break i}d=e+(d<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){f=d<<2;d=N[f+267632>>2];k=d+268668|0;f=N[f+267636>>2]+(d^-1)|0;break i}d=d-258|0;f=0;if(d>>>0>=Q[c+16>>2]){break i}d=N[c+24>>2]+N[N[c+20>>2]+(d<<2)>>2]|0;k=d+1|0;f=O[d|0]}if(m>>>0>>0){break g}e=0;break f}g=m<<2;d=N[g+267632>>2];e=N[g+267636>>2]+(d^-1)|0;g=d+268668|0;break f}d=e+(m<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){g=d<<2;d=N[g+267632>>2];e=N[g+267636>>2]+(d^-1)|0;g=d+268668|0;break f}d=d-258|0;if(d>>>0>=Q[c+16>>2]){e=0;break f}d=N[c+24>>2]+N[N[c+20>>2]+(d<<2)>>2]|0;g=d+1|0;e=O[d|0]}if((e|0)!=(f|0)){d=e-f|0}else{if(!f){break e}d=Mb(g,k,f)}if((d|0)>0){j:{if(b>>>0>=i>>>0){break j}while(1){g=i;i=i-2|0;m=P[i>>1];q=m>>>8|0;e=P[l>>1];k:{l:{m:{n:{o:{p:{d=N[c+4>>2];if((d|0)!=131072){if((d|0)!=65536){break m}k=0;d=0;f=0;if(e>>>0<=257){f=e<<2;d=N[f+267632>>2];f=N[f+267636>>2]+(d^-1)|0;d=d+268668|0}if(m>>>0<=257){break p}e=0;break n}k=0;d=0;f=0;n=N[c+8>>2];p=O[n|0]|O[n+1|0]<<8;p=(p<<8|p>>>8)&65535;q:{if(p>>>0<=e>>>0){break q}d=(e<<1)+n|0;d=O[d+2|0]|O[d+3|0]<<8;e=(d<<8|d>>>8)&65535;if(e>>>0<=257){f=e<<2;d=N[f+267632>>2];f=N[f+267636>>2]+(d^-1)|0;d=d+268668|0;break q}d=0;e=e-258|0;if(e>>>0>=Q[c+16>>2]){break q}f=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;d=f+1|0;f=O[f|0]}if(m>>>0

>>0){break o}e=0;break n}e=m<<2;k=N[e+267632>>2];e=N[e+267636>>2]+(k^-1)|0;k=k+268668|0;break n}e=(m<<1)+n|0;e=O[e+2|0]|O[e+3|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<=257){e=e<<2;k=N[e+267632>>2];e=N[e+267636>>2]+(k^-1)|0;k=k+268668|0;break n}e=e-258|0;if(e>>>0>=Q[c+16>>2]){e=0;break n}e=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;k=e+1|0;e=O[e|0]}if((e|0)!=(f|0)){d=e-f|0}else{if(!f){break m}d=Mb(k,d,f)}if(d){break l}}d=h-2|0;if(g>>>0>>0){L[i|0]=O[d|0];L[d|0]=m;h=h-1|0;L[g-1|0]=O[h|0];L[h|0]=q}h=d;break k}if((d|0)>=0){break k}if(b>>>0>>0){d=O[b|0];L[b|0]=m;L[i|0]=d;d=O[b+1|0];L[b+1|0]=q;L[g-1|0]=d}b=b+2|0;break j}if(b>>>0>>0){continue}break}}if(b>>>0>>0){continue}break c}if(d){break d}}if(b>>>0>j>>>0){d=O[j|0];L[j|0]=m;L[b|0]=d;d=O[j+1|0];L[j+1|0]=m>>>8;L[b+1|0]=d}j=j+2|0}b=b+2|0;if(i>>>0>b>>>0){continue}}break}d=i-j|0;r:{if((a|0)==(j|0)|(j|0)==(i|0)){break r}b=j-a|0;if(b>>>0>d>>>0){if((d|0)<=0){break r}l=a+d|0;b=a+b|0;j=a;while(1){g=O[j|0];L[j|0]=O[b|0];L[b|0]=g;b=b+1|0;j=j+1|0;if(l>>>0>j>>>0){continue}break}break r}if((b|0)<=0){break r}l=a+b|0;b=a+d|0;j=a;while(1){g=O[j|0];L[j|0]=O[b|0];L[b|0]=g;b=b+1|0;j=j+1|0;if(l>>>0>j>>>0){continue}break}}f=h-i|0;if((i|0)==(h|0)|(h|0)==(o|0)){break b}b=o-h|0;if(b>>>0>>0){if((b|0)<=0){break b}j=b+i|0;b=f+i|0;while(1){l=O[i|0];L[i|0]=O[b|0];L[b|0]=l;b=b+1|0;i=i+1|0;if(j>>>0>i>>>0){continue}break}break b}if((f|0)<=0){break b}j=f+i|0;b=b+i|0;while(1){l=O[i|0];L[i|0]=O[b|0];L[b|0]=l;b=b+1|0;i=i+1|0;if(j>>>0>i>>>0){continue}break}}cj(a,d>>>1|0,c);a=o-f|0;d=f&-2;o=a+d|0;b=f>>>1|0;if(f>>>0>=20){continue}break}}d=a+2|0;if(o>>>0>d>>>0){while(1){b=d;s:{if(d>>>0<=a>>>0){break s}while(1){i=P[b>>1];j=b-2|0;l=P[j>>1];t:{u:{v:{h=N[c+4>>2];if((h|0)!=131072){if((h|0)!=65536){break s}h=0;g=0;f=0;if(i>>>0<=257){f=i<<2;g=N[f+267632>>2];f=N[f+267636>>2]+(g^-1)|0;g=g+268668|0}if(l>>>0<=257){break v}e=0;break t}h=0;g=0;f=0;e=N[c+8>>2];k=O[e|0]|O[e+1|0]<<8;m=(k<<8|k>>>8)&65535;w:{if(m>>>0<=i>>>0){break w}g=e+(i<<1)|0;g=O[g+2|0]|O[g+3|0]<<8;k=(g<<8|g>>>8)&65535;if(k>>>0<=257){f=k<<2;g=N[f+267632>>2];f=N[f+267636>>2]+(g^-1)|0;g=g+268668|0;break w}g=0;k=k-258|0;if(k>>>0>=Q[c+16>>2]){break w}f=N[c+24>>2]+N[N[c+20>>2]+(k<<2)>>2]|0;g=f+1|0;f=O[f|0]}if(l>>>0>>0){break u}e=0;break t}e=l<<2;h=N[e+267632>>2];e=N[e+267636>>2]+(h^-1)|0;h=h+268668|0;break t}h=e+(l<<1)|0;h=O[h+2|0]|O[h+3|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<=257){e=e<<2;h=N[e+267632>>2];e=N[e+267636>>2]+(h^-1)|0;h=h+268668|0;break t}h=0;e=e-258|0;if(e>>>0>=Q[c+16>>2]){e=0;break t}e=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;h=e+1|0;e=O[e|0]}if((e|0)!=(f|0)){h=e-f|0}else{if(!f){break s}h=Mb(h,g,f)}if((h|0)<=0){break s}L[j|0]=i;L[b+1|0]=l>>>8;L[b-1|0]=i>>>8;L[b|0]=l;b=j;if(b>>>0>a>>>0){continue}break}}d=d+2|0;if(o>>>0>d>>>0){continue}break}}}function oj(a,b){var 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;a:{f=N[b+4>>2];if(f>>>0>a>>>0){break a}e=N[b+8>>2];if(e>>>0>>0){break a}i=e-a|0;if(i>>>0<4){break a}c=N[b+12>>2];g=c-4|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break a}b:{c:{d:{h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);e:{if((g|0)<=1953658212){if((g|0)==256){break c}if((g|0)==65536|(g|0)==1330926671){break e}break b}if((g|0)==1954115633){break e}if((g|0)==1953784678){break d}if((g|0)!=1953658213){break b}}if(i>>>0<12){break a}d=c-16|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+4|0;if(d>>>0>e>>>0|e-d>>>0<8){break a}c=c-24|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;if(d){a=a+12|0;if(a>>>0>e>>>0){break a}f=e-a|0;a=((d<<8|d>>>8)&65535)<<4;if(f>>>0>>0){break a}a=c-a|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}return 1}g=f;f=a+4|0;if(g>>>0>f>>>0|e>>>0>>0|e-f>>>0<4){break a}g=c-8|0;N[b+12>>2]=g;if((g|0)<=0){break a}f=O[f|0]|O[f+1|0]<<8;if(((f<<8|f>>>8)&65535)-1>>>0>1){break b}d=a+8|0;if(d>>>0>e>>>0|e-d>>>0<4){break a}d=c-12|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(f>>>0>1073741823){break a}g=f<<2;if(g){h=a+12|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break a}e=d-g|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break b}}if(!c){return 1}i=f>>>0<=1?1:f;c=0;while(1){g=N[b+4>>2];e=((c<<2)+a|0)+12|0;if(g>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}h=N[b+12>>2];f=h-4|0;N[b+12>>2]=f;if((f|0)<=0){break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f:{if(!f){break f}if(f&128){break a}f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0;g:{if(f>>>0>>0|d>>>0>>0|d-f>>>0<12){break g}g=h-16|0;N[b+12>>2]=g;if((g|0)<=0){break g}g=f+4|0;if(g>>>0>d>>>0|d-g>>>0<8){break g}h=h-24|0;N[b+12>>2]=h;if((h|0)<=0){break g}g=O[g|0]|O[g+1|0]<<8;if(!g){break f}f=f+12|0;if(f>>>0>d>>>0){break g}f=d-f|0;d=((g<<8|g>>>8)&65535)<<4;if(f>>>0>>0){break g}d=h-d|0;N[b+12>>2]=d;if((d|0)>0){break f}}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}d=1;c=c+1|0;if((i|0)!=(c|0)){continue}break}break b}if(i>>>0<16){break a}d=c-20|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=c-24|0;N[b+12>>2]=d;if(h&128|(d|0)<=0){break a}j=a+256|0;h:{c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(!c){break h}if(e>>>0>>0|f>>>0>j>>>0){break a}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>e-j>>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break h}break a}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break a}N[b+12>>2]=d-4;if((d|0)<5){break a}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break a}a=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<28){break a}c=d-32|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+24|0;if(c>>>0>e>>>0|e-c>>>0<2){break a}c=O[a+24|0]|O[a+25|0]<<8;g=d-34|0;N[b+12>>2]=g;if((g|0)<=0){break a}g=a+((c<<8|c>>>8)&65535)|0;if(g>>>0>>0|e>>>0>>0|e-g>>>0<2){break a}a=d-36|0;N[b+12>>2]=a;if((a|0)<=0){break a}c=g+2|0;if(c>>>0>e>>>0){break a}d=0;h=e-c|0;c=O[g|0]|O[g+1|0]<<8;p=(c<<8|c>>>8)&65535;c=(p<<3)+8|0;if(h>>>0>>0){break b}a=a-c|0;N[b+12>>2]=a;if((a|0)<=0){break a}while(1){h=g+(o<<3)|0;c=h+2|0;if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<8){break a}d=a-8|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=0;k=0;if((O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))==1953392243){c=O[h+6|0]|O[h+7|0]<<8;k=((c<<8|c>>>8)&65535)+1|0}c=h+8|0;if(c>>>0>e>>>0|e-c>>>0<2){break b}a=a-10|0;N[b+12>>2]=a;if((a|0)<=0){break b}if(k){c=O[c|0]|O[c+1|0]<<8;l=g+((c<<8|c>>>8)&65535)|0;if(f>>>0>l>>>0|e>>>0>>0){break b}c=T(k,12);if(c>>>0>e-l>>>0){break b}a=a-c|0;N[b+12>>2]=a;m=0;if((a|0)<=0){break b}while(1){h=T(m,12)+l|0;if(h>>>0>>0|e>>>0>>0|e-h>>>0<12){break b}c=a-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}n=h+5|0;if(e>>>0>>0|e-n>>>0<3){break b}c=a-15|0;N[b+12>>2]=c;if((c|0)<=0){break b}i=j+(O[h+7|0]|(O[h+6|0]<<8|O[n|0]<<16))|0;if(i>>>0>>0|e>>>0>>0|e-i>>>0<4){break b}c=a-19|0;N[b+12>>2]=c;if((c|0)<=0){break b}a=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);if(a){i=i+4|0;if(i>>>0>e>>>0){break b}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0>e-i>>>0){break b}c=c-a|0;N[b+12>>2]=c;if((c|0)<=0){break b}}i=j+(O[h+7|0]|(O[h+6|0]<<8|O[n|0]<<16))|0;a=i+4|0;if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<12){break b}N[b+12>>2]=c-12;if((c|0)<13){break b}h=i+8|0;if(h>>>0>e>>>0|e-h>>>0<8){break b}a=c-20|0;N[b+12>>2]=a;if((c|0)<21){break b}c=O[h|0]|O[h+1|0]<<8;if(c){h=i+16|0;if(h>>>0>e>>>0){break b}c=((c<<8|c>>>8)&65535)<<4;if(c>>>0>e-h>>>0){break b}a=a-c|0;N[b+12>>2]=a;if((a|0)<=0){break b}}m=m+1|0;if((m|0)!=(k|0)){continue}break}}d=1;c=(o|0)!=(p|0);o=o+1|0;if(c){continue}break}}return d}return 0}function iE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;l=N[c+80>>2];h=1;a=0;b=0;m=N[c+68>>2];if(!m){break b}d=0;break a}ba(22778,14165,169,12138);B()}d=1}while(1){c:{d:{e:{if(!d){a=O[j+264560|0]==2?b:a;e=j<<1;f=M[e+264144>>1]+262144|0;d=L[j+264256|0];j=O[(l+T(b,20)|0)+18|0];g=O[e+262032|0];if(j>>>0>=g>>>0){d=j>>>0>O[e+262033|0]?d:j-g|0}d=L[d+f|0];break e}if(!j){break d}b=m;d=M[(j<<1)+264448>>1]-1|0}j=L[d+264320|0];e=d&31;f:{if(((d&63)>>>0>=32?268337151>>>e|0:((1<>>e)&1){break f}g:{switch(L[d+264384|0]-3|0){case 3:d=b+1|0;h:{if(d>>>0<=a>>>0){break h}g=l+3|0;f=h<<4;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break h}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 1:d=b+1|0;i:{if(d>>>0<=a>>>0){break i}g=l+3|0;f=h<<4|2;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break i}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 5:d=b+1|0;j:{if(d>>>0<=a>>>0){break j}g=l+3|0;f=h<<4|1;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break j}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;d=h+1|0;h=(d|0)==16?1:d;break f;case 0:d=b+1|0;k:{if(d>>>0<=a>>>0){break k}g=l+3|0;f=h<<4|2;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break k}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 2:f=b-1|0;l:{if(a>>>0>=b>>>0){break l}i=l+3|0;g=h<<4;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break l}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;b=f;break f;case 4:f=b-1|0;m:{if(a>>>0>=b>>>0){break m}i=l+3|0;g=h<<4|1;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break m}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;b=f;break f;case 6:break g;default:break f}}f=b-1|0;n:{if(a>>>0>=b>>>0){break n}i=l+3|0;g=h<<4|2;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break n}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;b=f}a=O[j+264624|0]!=1?a:0;b=b+1|0;if((m|0)!=(b|0)){break c}d=1;continue}f=N[c+68>>2];if(f){a=f-1|0;g=N[c+80>>2];l=g+3|0;b=0;d=O[g+15|0];while(1){o:{if((a|0)==(b|0)){b=f;break o}b=b+1|0;if((d|0)==O[(l+T(b,20)|0)+12|0]){continue}}break}a=0;while(1){m=b;d=N[c+68>>2];i=b>>>0>d>>>0?d:b;k=i-a|0;p:{if(k>>>0<2){break p}d=N[c+144>>2]|32;N[c+144>>2]=d;if(a>>>0>=i>>>0){break p}b=-1;j=a;p=i+(a^-1)|0;if(p>>>0>=3){o=k&-4;e=0;while(1){h=g+T(j,20)|0;n=N[h+8>>2];b=b>>>0>>0?b:n;n=N[h+28>>2];b=b>>>0>>0?b:n;n=N[h+48>>2];b=b>>>0>>0?b:n;h=N[h+68>>2];b=b>>>0>>0?b:h;j=j+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}h=0;e=k&3;if(e){while(1){o=N[(g+T(j,20)|0)+8>>2];b=b>>>0>>0?b:o;j=j+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){e=g+T(a,20)|0;if(N[e+8>>2]!=(b|0)){N[e+4>>2]=N[e+4>>2]|3}a=a+1|0}if(!p){break p}while(1){e=g+T(a,20)|0;if(N[e+8>>2]!=(b|0)){d=d|32;N[c+144>>2]=d;N[e+4>>2]=N[e+4>>2]|3}e=g+T(a+1|0,20)|0;if(N[e+8>>2]!=(b|0)){d=d|32;N[c+144>>2]=d;N[e+4>>2]=N[e+4>>2]|3}a=a+2|0;if((i|0)!=(a|0)){continue}break}}a=m+1|0;a=a>>>0>>0?f:a;d=a-1|0;e=O[(l+T(m,20)|0)+12|0];b=m;while(1){q:{if((b|0)==(d|0)){b=a;break q}b=b+1|0;if((e|0)==O[(l+T(b,20)|0)+12|0]){continue}}break}a=m;if(f>>>0>a>>>0){continue}break}}return 0}d=0;continue}}function Uk(a,b){var c=0,d=0,e=0,f=0,g=0,h=U(0),i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=La-48|0;La=d;j=N[b+96>>2];g=275552;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[N[j+80>>2]+T(N[j+64>>2],20)>>2]);i=O[a+4|0]|O[a+5|0]<<8;g=c>>>0<((i<<8|i>>>8)&65535)>>>0?((c<<2)+a|0)+6|0:g;c=0;a:{if(!(O[g|0]|O[g+1|0]<<8)){break a}c=N[j+64>>2];N[b+36>>2]=1;N[b+4>>2]=c;i=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[i+68>>2];L[b+23|0]=O[b+22|0]?(c|0)==N[i+64>>2]?O[(N[i+80>>2]+T(c,20)|0)+15|0]:0:0;i=b+4|0;if(!he(i,d+44|0)){c=0;if(!(O[j+16|0]&64)){break a}wb(j,2,N[d+44>>2],N[j+64>>2]+1|0,0,1);c=0;break a}k=275552;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[N[j+80>>2]+T(N[i>>2],20)>>2]);l=O[a+4|0]|O[a+5|0]<<8;k=c>>>0<((l<<8|l>>>8)&65535)>>>0?((c<<2)+a|0)+6|0:k;if(!(O[k+2|0]|O[k+3|0]<<8)){c=0;if(!(O[j+16|0]&64)){break a}wb(j,2,N[i>>2],N[j+64>>2]+1|0,0,1);c=0;break a}l=N[j+64>>2];i=N[b+4>>2];c=N[b+96>>2];if(N[c+156>>2]){f=N[b+88>>2];N[d+20>>2]=l;N[d+16>>2]=i;ib(c,f,17289,d+16|0)}c=N[j+68>>2];f=l+1|0;p=c>>>0>>0?c:f;q=p-i|0;b:{if(q>>>0<2){break b}n=N[j+144>>2]|32;N[j+144>>2]=n;if(i>>>0>=p>>>0){break b}o=N[j+80>>2];e=-1;c=i;s=(c^-1)+p|0;if(s>>>0>=3){r=q&-4;while(1){f=T(c,20)+o|0;m=N[f+8>>2];e=e>>>0>>0?e:m;m=N[f+28>>2];e=e>>>0>>0?e:m;m=N[f+48>>2];e=e>>>0>>0?e:m;f=N[f+68>>2];e=e>>>0>>0?e:f;c=c+4|0;t=t+4|0;if((r|0)!=(t|0)){continue}break}}r=q&3;if(r){f=0;while(1){m=N[(T(c,20)+o|0)+8>>2];e=e>>>0>>0?e:m;c=c+1|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}c=i;if(q&1){c=T(i,20)+o|0;if(N[c+8>>2]!=(e|0)){N[c+4>>2]=N[c+4>>2]|3}c=i+1|0}if(!s){break b}while(1){f=T(c,20)+o|0;if(N[f+8>>2]!=(e|0)){n=n|32;N[j+144>>2]=n;N[f+4>>2]=N[f+4>>2]|3}f=T(c+1|0,20)+o|0;if(N[f+8>>2]!=(e|0)){n=n|32;N[j+144>>2]=n;N[f+4>>2]=N[f+4>>2]|3}c=c+2|0;if((p|0)!=(c|0)){continue}break}}c=O[k+2|0]|O[k+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}f=N[N[j+80>>2]+T(i,20)>>2];N[d+32>>2]=0;N[d+28>>2]=0;c:{d:{e:{f:{e=O[c|0]|O[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 2:break d;case 1:break e;case 0:break f;default:break c}}f=N[b+88>>2];e=O[c+2|0]|O[c+3|0]<<8;R[d+32>>2]=R[f+44>>2]*U((e<<8|e>>>8)<<16>>16);c=O[c+4|0]|O[c+5|0]<<8;R[d+28>>2]=R[f+48>>2]*U((c<<8|c>>>8)<<16>>16);break c}Jf(c,N[b+88>>2],f,d+32|0,d+28|0);break c}If(c,b,d+32|0,d+28|0)}c=O[g|0]|O[g+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}c=N[N[j+80>>2]+T(l,20)>>2];N[d+40>>2]=0;N[d+36>>2]=0;g:{h:{i:{j:{g=O[a|0]|O[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break g}}c=N[b+88>>2];g=O[a+2|0]|O[a+3|0]<<8;R[d+40>>2]=R[c+44>>2]*U((g<<8|g>>>8)<<16>>16);a=O[a+4|0]|O[a+5|0]<<8;R[d+36>>2]=R[c+48>>2]*U((a<<8|a>>>8)<<16>>16);break g}Jf(a,N[b+88>>2],c,d+40|0,d+36|0);break g}If(a,b,d+40|0,d+36|0)}e=N[j+88>>2];k:{l:{m:{n:{o:{k=N[b+128>>2];switch(k-4|0){case 3:break l;case 2:break m;case 1:break n;case 0:break o;default:break k}}c=e+T(i,20)|0;h=U(U(Z(U(R[d+32>>2]+U(.5))))+U(N[c+8>>2]));p:{if(U(V(h))>2]=a;a=e+T(l,20)|0;g=N[a+8>>2];h=U(U(Z(U(R[d+40>>2]+U(.5))))+U(g|0));q:{if(U(V(h))>2]=g-c;N[a>>2]=N[a>>2]-c;break k}a=e+T(i,20)|0;g=N[a+8>>2];h=U(U(Z(U(R[d+32>>2]+U(.5))))+U(g|0));r:{if(U(V(h))>2]=g-c;N[a>>2]=N[a>>2]-c;a=e+T(l,20)|0;h=U(U(Z(U(R[d+40>>2]+U(.5))))+U(N[a+8>>2]));if(U(V(h))>2]=~~h;break k}N[a>>2]=-2147483648;break k}c=e+T(i,20)|0;h=U(U(Z(U(R[d+28>>2]+U(.5))))+U(N[c+12>>2]));s:{if(U(V(h))>2]=a;a=e+T(l,20)|0;g=N[a+12>>2];h=U(U(Z(U(R[d+36>>2]+U(.5))))+U(g|0));t:{if(U(V(h))>2]=g-c;N[a+4>>2]=N[a+4>>2]-c;break k}a=e+T(i,20)|0;g=N[a+12>>2];h=U(U(Z(U(R[d+28>>2]+U(.5))))+U(g|0));u:{if(U(V(h))>2]=g-c;N[a+4>>2]=N[a+4>>2]-c;c=e+T(l,20)|0;h=U(Z(U(R[d+36>>2]+U(.5))));v:{if(U(V(h))>2]=a}a=O[b+140|0];h=U(R[d+36>>2]-R[d+28>>2]);w:{if(U(V(h))>2]-R[d+32>>2]);x:{if(U(V(h))>1]=a-c;L[k+18|0]=2;N[j+144>>2]=N[j+144>>2]|8;z:{if((N[b+128>>2]&-2)==4){N[k+12>>2]=g;break z}N[k+8>>2]=f}c=e+T(a,20)|0;if(M[c+16>>1]==(0-M[k+16>>1]|0)){M[c+16>>1]=0;N[((N[b+128>>2]&-2)==4?(e+T(a,20)|0)+12|0:(e+T(a,20)|0)+8|0)>>2]=0}a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[d+4>>2]=l;N[d>>2]=i;ib(a,b,17334,d)}N[j+64>>2]=N[j+64>>2]+1;c=1}La=d+48|0;return c}function RB(a,b){a=a|0;b=b|0;var 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;e=La-256|0;La=e;a:{if(!a){a=6;break a}a=19;c=N[b+8>>2];if(!(c&1)){break a}a=20;i=N[b+4>>2];if(!i){break a}f=M[i+2>>1];if(!f){a=0;break a}g=M[i>>1];if((g|0)<=0){a=0;break a}h=N[i+12>>2];if(!h|!N[i+4>>2]|(f|0)!=(M[(h+(g<<1)|0)-2>>1]+1|0)){break a}f=N[b>>2];N[e+224>>2]=N[i+16>>2];a=N[i+12>>2];N[e+216>>2]=N[i+8>>2];N[e+220>>2]=a;a=N[i+4>>2];N[e+208>>2]=N[i>>2];N[e+212>>2]=a;b:{if(c&2){a=N[b+12>>2];if(!a){a=0;break a}N[e+236>>2]=a;N[e+240>>2]=N[b+28>>2];a=N[b+32>>2];N[e+156>>2]=a;i=N[b+36>>2];N[e+164>>2]=i;h=N[b+40>>2];N[e+160>>2]=h;b=N[b+44>>2];break b}if(!f){a=6;break a}h=N[f+4>>2];if(!h){a=0;break a}b=N[f>>2];if(!b){a=0;break a}a=6;c=N[f+12>>2];if(!c){break a}a=N[f+8>>2];N[e+232>>2]=a;N[e+236>>2]=0;N[e+240>>2]=0;i=0;N[e+164>>2]=0;N[e+156>>2]=0;N[e+160>>2]=h;N[e+228>>2]=c+((a|0)>=0?T(a,b-1|0):0);a=0}N[e+168>>2]=b;if((a|0)>=(h|0)){a=0;break a}a=0;if((b|0)<=(i|0)){break a}i=La-16608|0;La=i;p=N[e+168>>2];b=N[e+164>>2];n=p-b|0;if(n>>>0>=129){a=n+127>>>7|0;n=((a+n|0)-1>>>0)/(a>>>0)|0}N[e+184>>2]=i+16512;a=(n<<2)+15|0;N[e+196>>2]=1024-(a>>>4|0);c=a&-16;a=i+128|0;l=c+a|0;N[e+192>>2]=l;N[e+188>>2]=a;N[l>>2]=2147483647;N[l+4>>2]=0;N[l+8>>2]=0;N[l+12>>2]=0;c:{if((b|0)>=(p|0)){break c}while(1){a=b;N[e+164>>2]=a;b=a+n|0;d=(b|0)<(p|0)?b:p;N[e+168>>2]=d;N[i>>2]=d;N[i+4>>2]=a;a=i;while(1){f=N[a>>2];h=N[a+4>>2];g=f-h|0;d:{if((g|0)<=0){break d}c=0;d=0;if(f+(h^-1)>>>0>=3){j=g&-4;while(1){f=d<<2;N[f+N[e+188>>2]>>2]=l;N[N[e+188>>2]+(f|4)>>2]=l;N[N[e+188>>2]+(f|8)>>2]=l;N[N[e+188>>2]+(f|12)>>2]=l;d=d+4|0;if((j|0)!=(d|0)){continue}break}}f=g&3;if(!f){break d}while(1){N[N[e+188>>2]+(d<<2)>>2]=l;d=d+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}N[e+176>>2]=l;N[e+164>>2]=h;N[e+180>>2]=N[e+192>>2]+16;N[e+168>>2]=N[a>>2];N[e+172>>2]=g;c=0;d=kb(40);N[d>>2]=0;d=Lh(e,1,d,4);k=Ma;m=e+208|0;e:{while(1){if(c){f=98;break e}N[147441]=0;f=va(342,m|0,293956,e|0)|0;c=N[147441];N[147441]=0;h=-1;f:{g:{if(!c){break g}j=N[147442];if(!j){break g}h=Kh(N[c>>2],d,k);if(!h){break f}Ma=j}c=Ma;if((h|0)==1){continue}break e}break}_a(d);pe(c,j);B()}_a(d);d=f;h:{if((d|0)!=98){if(d){break c}m=N[e+224>>2]&2;o=m?256:-2147483648;i:{if(N[e+236>>2]){j=N[e+164>>2];if((j|0)>=N[e+168>>2]){break i}while(1){d=N[N[e+188>>2]+(j-N[e+164>>2]<<2)>>2];h=N[d>>2];j:{if((h|0)==2147483647){break j}c=N[e+156>>2];f=0;g=0;while(1){k:{if(!f|(c|0)>=(h|0)){break k}k=(i+16512|0)+T(g,6)|0;M[k+2>>1]=h-c;M[k>>1]=c;c=f>>9;c=(c&o?-1:0)^c;L[k+4|0]=(c|0)>255?m?c:-1:c;g=g+1|0;if((g|0)!=16){break k}Qa[N[e+236>>2]](j,16,i+16512|0,N[e+240>>2]);g=0}f=(N[d+4>>2]<<9)+f|0;h=N[d+8>>2];l:{if((f|0)==(h|0)){break l}k=N[d>>2];if((k|0)>2]){break l}c=(i+16512|0)+T(g,6)|0;M[c+2>>1]=1;M[c>>1]=k;k=c;c=f-h>>9;c=(c&o?-1:0)^c;L[k+4|0]=(c|0)>255?m?c:-1:c;g=g+1|0;if((g|0)!=16){break l}Qa[N[e+236>>2]](j,16,i+16512|0,N[e+240>>2]);g=0}c=N[d>>2]+1|0;d=N[d+12>>2];h=N[d>>2];if((h|0)!=2147483647){continue}break}if(f){d=(i+16512|0)+T(g,6)|0;M[d>>1]=c;f=f>>9;f=(f&o?-1:0)^f;L[d+4|0]=(f|0)>255?m?f:-1:f;M[d+2>>1]=N[e+160>>2]-c;g=g+1|0}if(!g){break j}Qa[N[e+236>>2]](j,g,i+16512|0,N[e+240>>2])}j=j+1|0;if((j|0)>2]){continue}break}break i}j=N[e+164>>2];if((j|0)>=N[e+168>>2]){break i}while(1){d=N[N[e+188>>2]+(j-N[e+164>>2]<<2)>>2];h=N[d>>2];m:{if((h|0)==2147483647){break m}q=N[e+228>>2]-T(N[e+232>>2],j)|0;g=N[e+156>>2];f=0;while(1){n:{if(!f|(g|0)>=(h|0)){break n}c=f>>9;c=(c&o?-1:0)^c;k=(c|0)>255?m?c:255:c;c=g+q|0;o:{p:{q:{r:{s:{t:{u:{v:{g=h-g|0;switch(g|0){case 0:break n;case 2:break p;case 3:break q;case 4:break r;case 5:break s;case 6:break t;case 7:break u;case 1:break v;default:break o}}L[c|0]=k;break n}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;L[c+1|0]=k;break n}C(c,k,g)}f=(N[d+4>>2]<<9)+f|0;c=N[d+8>>2];w:{if((f|0)==(c|0)){break w}g=N[d>>2];if((g|0)>2]){break w}c=f-c>>9;c=(c&o?-1:0)^c;L[g+q|0]=(c|0)>255?m?c:-1:c}g=N[d>>2]+1|0;d=N[d+12>>2];h=N[d>>2];if((h|0)!=2147483647){continue}break}if(!f){break m}d=f>>9;d=(d&o?-1:0)^d;f=(d|0)>255?m?d:255:d;d=g+q|0;x:{y:{z:{A:{B:{C:{D:{E:{c=N[e+160>>2]-g|0;switch(c|0){case 0:break m;case 2:break y;case 3:break z;case 4:break A;case 5:break B;case 6:break C;case 7:break D;case 1:break E;default:break x}}L[d|0]=f;break m}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;L[d+1|0]=f;break m}C(d,f,c)}j=j+1|0;if((j|0)>2]){continue}break}}a=a-4|0;break h}if(g>>>0<2){d=98;break c}d=N[a+4>>2];N[a+8>>2]=d;N[a+4>>2]=d+(g>>1);a=a+4|0}if(i>>>0<=a>>>0){continue}break}d=0;if((b|0)<(p|0)){continue}break}}La=i+16608|0;a=d}La=e+256|0;return a|0}function wo(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,o=0,p=0,q=0;e=La-144|0;La=e;N[e+120>>2]=0;N[e+104>>2]=0;N[e+108>>2]=0;l=-1;a:{if(N[b+112>>2]==10){break a}f=N[a+36>>2];g=N[b+12>>2];j=N[b+8>>2];b:{d=N[b>>2];c:{if(!(!d|!O[d|0])){h=wi(a,d,0,j,g,e+116|0,e+120|0,e+112|0,e+104|0,c);if(h){break c}}d:{h=N[a+12>>2];if(!h){break d}h=wi(a,h,0,j,g,e+116|0,e+120|0,e+112|0,e+104|0,c);if(!h){break d}c=N[a>>2];N[e+96>>2]=N[e+116>>2];f=N[e+120>>2];N[e+100>>2]=f?f:23531;N[e+80>>2]=d;N[e+84>>2]=j;N[e+88>>2]=g;N[e+92>>2]=h;mb(c,2,11604,e+80|0);break c}e:{if(!f){break e}h=N[f+32>>2];if(!h){break e}i=N[f+40>>2];k=N[a>>2];f:{if(d){f=d;if(O[d|0]){break f}}f=13519}f=Qa[h|0](i,k,f,c)|0;if(!f){break e}h=wi(a,f,1,j,g,e+116|0,e+120|0,e+112|0,e+104|0,c);_a(f);if(h){break c}}h=N[a+16>>2];if(!h){break b}c=N[a+20>>2];N[e+116>>2]=c;f=N[a>>2];N[e- -64>>2]=c;c=N[e+120>>2];N[e+68>>2]=c?c:23531;N[e+48>>2]=d;N[e+52>>2]=j;N[e+56>>2]=g;N[e+60>>2]=h;mb(f,2,11670,e+48|0)}a=N[a>>2];c=N[e+116>>2];N[e+32>>2]=c;n=N[e+120>>2];N[e+36>>2]=n?n:23531;N[e+16>>2]=d;N[e+20>>2]=j;N[e+24>>2]=g;N[e+28>>2]=h;mb(a,4,11729,e+16|0);d=N[b+112>>2];if((d|0)>0){a=0;f=N[e+112>>2];while(1){if((f|0)==N[((a<<2)+b|0)+28>>2]){mb(N[b+20>>2],4,22153,0);l=a;break a}a=a+1|0;if((d|0)!=(a|0)){continue}break}}j=N[b+24>>2];o=N[b+20>>2];g:{if(N[e+104>>2]){a=yo(o,j,h,N[e+104>>2],N[e+108>>2],c);break g}a=c;f=La-80|0;La=f;h:{i:{j:{if(h){N[f+64>>2]=0;N[f+60>>2]=h;N[f+48>>2]=4;if(!Td(j,f+48|0,a,f+44|0,1)){break j}}N[f+4>>2]=a;N[f>>2]=h;mb(o,2,17615,f);break i}c=N[f+44>>2];if((a|0)>=0){break h}k:{l:{m:{if(N[c>>2]<=0){break m}a=N[c+96>>2];n:{if(!a){break n}g=N[c+128>>2];d=N[g+64>>2];N[g+64>>2]=d-1;if((d|0)>1){break n}d=N[a+16>>2];if(!d){break n}k=a+16|0;g=N[a+8>>2];while(1){if(N[d+8>>2]!=(c|0)){d=N[d+4>>2];if(d){continue}break n}break}i=N[d>>2];m=i?i+4|0:k;k=N[d+4>>2];N[m>>2]=k;N[(k?k:a+20|0)>>2]=i;Qa[N[g+8>>2]](g,d);ic(g,c,a)}a=0;N[f+64>>2]=0;N[f+60>>2]=h;N[f+48>>2]=4;c=Td(j,f+48|0,0,f+44|0,1);if(!n){break l}if(c){break k}c=N[f+44>>2];if(N[c>>2]==1){break h}o:{if(!c){break o}p:{q:{g=N[c+128>>2];d=N[g+28>>2];switch(d+2|0){case 0:break o;case 2:break q;default:break p}}d=N[c+96>>2];i=N[N[d>>2]+32>>2];r:{if(!i){d=0;break r}d=Qa[i|0](d,15866)|0;g=N[c+128>>2]}N[g+28>>2]=d?d:-2}if(!d){break o}d=N[d>>2];if(!d){break o}a=Qa[d|0](c)|0}s:{if(!a){c=N[f+44>>2];break s}c=N[f+44>>2];if(!cb(a,n)){break h}}if(N[c>>2]<2){break m}a=1;while(1){g=N[c+96>>2];t:{if(!g){break t}i=N[c+128>>2];d=N[i+64>>2];N[i+64>>2]=d-1;if((d|0)>1){break t}d=N[g+16>>2];if(!d){break t}m=g+16|0;i=N[g+8>>2];while(1){if(N[d+8>>2]!=(c|0)){d=N[d+4>>2];if(d){continue}break t}break}k=N[d>>2];q=k?k+4|0:m;m=N[d+4>>2];N[q>>2]=m;N[(m?m:g+20|0)>>2]=k;Qa[N[i+8>>2]](i,d);ic(i,c,g)}N[f+64>>2]=0;N[f+60>>2]=h;N[f+48>>2]=4;if(Td(j,f+48|0,a,f+44|0,1)){break k}u:{v:{c=N[f+44>>2];w:{if(!c){break w}x:{y:{g=N[c+128>>2];d=N[g+28>>2];switch(d+2|0){case 0:break w;case 2:break y;default:break x}}d=N[c+96>>2];i=N[N[d>>2]+32>>2];z:{if(!i){d=0;break z}d=Qa[i|0](d,15866)|0;g=N[c+128>>2]}N[g+28>>2]=d?d:-2}if(!d){break w}d=N[d>>2];if(!d){break w}d=Qa[d|0](c)|0;if(d){break v}}c=N[f+44>>2];break u}c=N[f+44>>2];if(!cb(d,n)){break h}}a=a+1|0;if((a|0)>2]){continue}break}}a=N[c+96>>2];A:{if(!a){break A}g=N[c+128>>2];d=N[g+64>>2];N[g+64>>2]=d-1;if((d|0)>1){break A}d=N[a+16>>2];if(!d){break A}i=a+16|0;g=N[a+8>>2];while(1){if(N[d+8>>2]!=(c|0)){d=N[d+4>>2];if(d){continue}break A}break}j=N[d>>2];k=j?j+4|0:i;i=N[d+4>>2];N[k>>2]=i;N[(i?i:a+20|0)>>2]=j;Qa[N[g+8>>2]](g,d);ic(g,c,a)}N[f+36>>2]=h;N[f+32>>2]=n;mb(o,2,24647,f+32|0);break i}if(c){break k}c=N[f+44>>2];if(N[c>>2]==1){break h}zn(c);break i}N[f+20>>2]=a;N[f+16>>2]=h;mb(o,2,17615,f+16|0)}c=0}La=f+80|0;a=c}if(!a){break a}zo(N[b+20>>2],a);c=0;l=1;B:{if(!(O[a+8|0]&8)){break B}d=N[a+96>>2];f=N[N[d>>2]+32>>2];if(!f){break B}d=Qa[f|0](d,16067)|0;if(!d){break B}d=Qa[N[d+4>>2]](a,2)|0;if(!d){break B}l=0;f=M[d+76>>1];c=M[d+78>>1];if((f|0)!=(0-c|0)){M[a+70>>1]=f;M[a+74>>1]=c+f;M[a+72>>1]=0-c}c=d}if(!(P[a+74>>1]?P[a+70>>1]!=P[a+72>>1]:0)){C:{D:{if(l){break D}d=P[c+70>>1];c=P[c+72>>1];if((d|0)==(c|0)){break D}M[a+72>>1]=c;M[a+70>>1]=d;c=d-c|0;break C}c=N[a- -64>>2];M[a+70>>1]=c;d=N[a+56>>2];M[a+72>>1]=d;c=c-d|0}M[a+74>>1]=c}c=N[b+112>>2];d=(c<<2)+b|0;N[d+68>>2]=a;l=N[e+112>>2];N[b+112>>2]=c+1;N[d+28>>2]=l;p=S[b+120>>3];N[e+124>>2]=1;N[e+128>>2]=0;N[e+136>>2]=0;N[e+140>>2]=0;p=XE(p*64);E:{if(V(p)<2147483648){c=~~p;break E}c=-2147483648}N[e+132>>2]=c;eg(a,e+124|0);l=N[b+112>>2]-1|0;break a}a=N[a>>2];N[e+12>>2]=g;N[e+8>>2]=j;N[e+4>>2]=d;N[e>>2]=c;mb(a,2,23689,e)}La=e+144|0;return l}function ox(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0;f=La-1552|0;La=f;m=N[a+4>>2];L[f+35|0]=0;i=N[N[m+492>>2]+12>>2];a:{if(!(N[N[m+128>>2]+52>>2]|Q[m+16>>2]>c>>>0)){g=6;break a}d=d&1024?d|3:d;b:{if(!b){e=65536;g=65536;break b}e=N[b+20>>2];g=N[b+16>>2]}N[a+168>>2]=e;N[a+164>>2]=g;N[a+108>>2]=0;N[a+72>>2]=1869968492;h=d&1;L[a+161|0]=!h;g=!(d&3);L[a+160|0]=g;g=Qa[N[i>>2]](f+36|0,m,b,a,N[m+424>>2],N[m+532>>2],g,d>>>16&15,147)|0;if(g){break a}e=d&1024;L[f+105|0]=e>>>10;N[f+1400>>2]=N[m+404>>2];N[f+1404>>2]=N[m+408>>2];N[f+1408>>2]=N[m+412>>2];N[f+1412>>2]=N[m+416>>2];N[f+1532>>2]=N[m+548>>2];N[f+1536>>2]=N[m+544>>2];g=_e(f+36|0,c,f+8|0,f+35|0);if(!g){n=O[a+160|0];c=f+1424|0;g=N[c+4>>2];N[f+24>>2]=N[c>>2];N[f+28>>2]=g;c=N[f+1420>>2];N[f+16>>2]=N[f+1416>>2];N[f+20>>2]=c;c=N[f+1436>>2];g=N[f+1432>>2];Qa[N[i+4>>2]](f+36|0);i=N[a+124>>2]&1;N[a+124>>2]=i|4;c:{if(e){b=N[f+68>>2];N[a+32>>2]=((b>>31)+b|0)+32768>>16;b=N[f+76>>2];N[a+40>>2]=((b>>31)+b|0)+32768>>16;d=N[f+24>>2];e=N[f+28>>2];i=N[f+16>>2];j=N[f+20>>2];b=N[a+156>>2];N[b+28>>2]=g;N[b+32>>2]=c;L[b+8|0]=1;N[b+20>>2]=d;N[b+24>>2]=e;N[b+12>>2]=i;N[b+16>>2]=j;break c}e=N[f+76>>2];j=((e>>31)+e|0)+32768>>16;N[a+56>>2]=j;N[a+40>>2]=j;L[N[a+156>>2]+8|0]=0;p=d&16;if(p){d=N[m+476>>2]-N[m+468>>2]|0}else{d=N[f+80>>2];d=((d>>31)+d|0)+32768|0}N[a+72>>2]=1869968492;l=d>>16;N[a+60>>2]=l;N[a+52>>2]=l;if(!(!b|P[b+14>>1]>23)){N[a+124>>2]=i|260}d=N[f+16>>2];d:{if(!(N[f+20>>2]|((d|0)!=65536|N[f+28>>2]!=65536))){if(!N[f+24>>2]){break d}}b=N[a+112>>2];e:{if(!b){break e}e=M[a+110>>1];if((e|0)<=0){break e}d=(e<<3)+b|0;while(1){id(b,f+16|0);b=b+8|0;if(d>>>0>b>>>0){continue}break}j=N[a+40>>2];d=N[f+16>>2]}e=j>>31;e=(e^j)-e|0;b=d>>31;b=(b^d)-b|0;f:{if(e+(b>>>8|0)>>>0<=8190){k=T(b,e)+32768>>>16|0;break f}i=e&65535;k=T(i,b>>>16|0)+T(b,e>>>16|0)+(T(i,b&65535)+32768>>>16)|0}b=k;i=0-b|0;b=j>>31|1;j=(((d|0)<0?0-b|0:b)|0)<0?i:k;N[a+40>>2]=j;e=N[a+52>>2];d=e>>31;i=N[f+28>>2];b=i>>31;d=(d^e)-d|0;b=(b^i)-b|0;g:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break g}l=d&65535;d=T(l,b>>>16|0)+T(b,d>>>16|0)+(T(l,b&65535)+32768>>>16)|0}b=d;k=0-b|0;b=e>>31|1;l=(((i|0)<0?0-b|0:b)|0)<0?k:d;N[a+52>>2]=l}if(c|g){e=M[a+110>>1];h:{if((e|0)<=0){break h}b=N[a+112>>2];if(e>>>0>=4){i=e&-4;d=0;while(1){N[b>>2]=g+N[b>>2];N[b+4>>2]=c+N[b+4>>2];N[b+8>>2]=g+N[b+8>>2];N[b+16>>2]=g+N[b+16>>2];N[b+24>>2]=g+N[b+24>>2];N[b+12>>2]=c+N[b+12>>2];N[b+20>>2]=c+N[b+20>>2];N[b+28>>2]=c+N[b+28>>2];b=b+32|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}e=e&3;if(!e){break h}d=0;while(1){N[b>>2]=g+N[b>>2];N[b+4>>2]=c+N[b+4>>2];b=b+8|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}l=c+l|0;N[a+52>>2]=l;j=g+j|0;N[a+40>>2]=j}if(!(O[f+35|0]?0:h)){c=N[a+168>>2];g=N[a+164>>2];i:{if(N[f+108>>2]?n:0){break i}b=N[f+52>>2];d=M[b+2>>1];if((d|0)<=0){break i}d=d&65535;e=c>>31;e=(e^c)-e|0;q=e&65535;r=e>>>16|0;s=e>>>8|0;i=g>>31;i=(i^g)-i|0;t=i&65535;u=i>>>16|0;v=i>>>8|0;b=N[b+4>>2];while(1){n=N[b>>2];h=n>>31;h=(h^n)-h|0;j:{if(h+v>>>0<=8190){k=T(h,i)+32768>>>16|0;break j}k=h&65535;k=T(k,u)+T(i,h>>>16|0)+(T(k,t)+32768>>>16)|0}h=k;o=0-h|0;h=n>>31|1;N[b>>2]=(((g|0)<0?0-h|0:h)|0)<0?o:k;n=N[b+4>>2];h=n>>31;h=(h^n)-h|0;k:{if(h+s>>>0<=8190){k=T(e,h)+32768>>>16|0;break k}k=h&65535;k=T(k,r)+T(e,h>>>16|0)+(T(k,q)+32768>>>16)|0}h=k;o=0-h|0;h=n>>31|1;N[b+4>>2]=(((c|0)<0?0-h|0:h)|0)<0?o:k;b=b+8|0;h=d>>>0>1;d=d-1|0;if(h){continue}break}}d=j>>31;d=(d^j)-d|0;b=g>>31;b=(b^g)-b|0;l:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break l}e=d&65535;d=T(e,b>>>16|0)+T(b,d>>>16|0)+(T(e,b&65535)+32768>>>16)|0}b=d;h=0-b|0;b=j>>31|1;j=(((g|0)<0?0-b|0:b)|0)<0?h:d;N[a+40>>2]=j;d=l>>31;d=(d^l)-d|0;b=c>>31;b=(b^c)-b|0;m:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break m}g=d&65535;d=T(g,b>>>16|0)+T(b,d>>>16|0)+(T(g,b&65535)+32768>>>16)|0}b=d;g=0-b|0;b=l>>31|1;l=(((c|0)<0?0-b|0:b)|0)<0?g:d;N[a+52>>2]=l}b=M[a+110>>1];n:{if(!b){d=0;b=0;c=0;g=0;break n}e=N[a+112>>2];c=N[e+4>>2];g=N[e>>2];if((b|0)<2){d=c;b=g;break n}n=(b<<3)+e|0;i=e+8|0;b=g;d=c;while(1){h=N[e+12>>2];d=(d|0)<(h|0)?h:d;c=(c|0)>(h|0)?h:c;e=N[e+8>>2];b=(b|0)<(e|0)?e:b;g=(e|0)<(g|0)?e:g;e=i;i=e+8|0;if(n>>>0>i>>>0){continue}break}}N[a+36>>2]=d;N[a+32>>2]=g;e=d-c|0;N[a+28>>2]=e;N[a+24>>2]=b-g;if(!p){break c}b=(d|0)<0?(d|0)<(e|0)?e:d:0-c|0;c=l?l:(T(b,12)|0)/10|0;N[a+52>>2]=c;N[a+48>>2]=(c-b|0)/2;N[a+44>>2]=((j|0)/-2|0)+g}N[a+136>>2]=N[f+8>>2];N[a+140>>2]=N[f+12>>2];g=0;b=N[N[m+128>>2]+52>>2];if(!b){break a}Qa[N[N[b>>2]+4>>2]](N[b+4>>2],f+8|0);N[a+136>>2]=0;N[a+140>>2]=0;break a}Qa[N[i+4>>2]](f+36|0)}La=f+1552|0;return g|0}function mz(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0;C(b,0,72);n=N[a+24>>2];a:{if(!n){h=2147483647;g=-2147483648;j=-2147483648;l=2147483647;r=-2147483648;v=-2147483648;o=2147483647;s=2147483647;break a}m=N[a+28>>2];v=-2147483648;s=2147483647;o=2147483647;r=-2147483648;l=2147483647;h=2147483647;j=-2147483648;g=-2147483648;while(1){p=T(d,24);k=p+m|0;i=N[k>>2];if(i){u=m+p|0;e=N[i>>2]+N[u+8>>2]|0;l=(e|0)>(l|0)?l:e;e=e+N[i+8>>2]|0;j=(e|0)<(j|0)?j:e;e=N[i+4>>2]+N[u+12>>2]|0;h=(e|0)>(h|0)?h:e;e=e+N[i+12>>2]|0;g=(e|0)<(g|0)?g:e;t=t+1|0;e=k}i=N[k+4>>2];if(i){p=m+p|0;f=N[i>>2]+N[p+16>>2]|0;s=(f|0)>(s|0)?s:f;f=f+N[i+8>>2]|0;v=(f|0)<(v|0)?v:f;f=N[i+4>>2]+N[p+20>>2]|0;o=(f|0)>(o|0)?o:f;f=f+N[i+12>>2]|0;r=(f|0)<(r|0)?r:f;q=q+1|0;f=k}d=d+1|0;if((n|0)!=(d|0)){continue}break}}b:{c:{d:{e:{d=N[a+4>>2];k=(d|0)<4?d:(d|0)<8?4:5;f:{if(!(k|(t|0)!=1)){tg(c+872|0,b,N[e>>2]);N[b>>2]=N[b>>2]+N[e+8>>2];N[b+4>>2]=N[b+4>>2]+N[e+12>>2];break f}if(!t){break f}d=1<>2];i=0-d|0;m=k<<1;e=m+(j-l|0)|0;j=e>>>0>i>>>0?e:i&(d+e|0)-1;g=m+(g-h|0)|0;if(j>>>0>((d^2147483647)>>>0)/(((g|0)<=1?1:g)>>>0)>>>0){break f}i=d+T(g,j)|0;if(i>>>0>=-5-d>>>0){break f}i=db((d+i|0)+3|0,1);if(!i){break f}u=d;p=d-1|0;d=i+4|0;m=p&d;d=(m?u-m|0:0)+d|0;N[d-4>>2]=i;if(!d){break f}N[b+20>>2]=d;N[b+16>>2]=j;N[b+12>>2]=g;N[b+8>>2]=e;N[b+4>>2]=h-k;N[b>>2]=l-k;if(!n){break f}d=0;while(1){g=N[a+28>>2]+T(d,24)|0;e=N[g>>2];if(e){h=(N[e>>2]+N[g+8>>2]|0)-N[b>>2]|0;if((h|0)<0){break e}l=N[e+8>>2];if(N[b+8>>2]<(l+h|0)){break e}g=(N[e+4>>2]+N[g+12>>2]|0)-N[b+4>>2]|0;if((g|0)<0){break d}j=N[e+12>>2];if(N[b+12>>2]<(j+g|0)){break d}u=g;g=N[b+16>>2];Qa[N[c+896>>2]](h+(N[b+20>>2]+T(u,g)|0)|0,g,N[e+20>>2],N[e+16>>2],l,j);n=N[a+24>>2]}d=d+1|0;if(n>>>0>d>>>0){continue}break}}g:{if(!((q|0)!=1|k)){tg(c+872|0,b+24|0,N[f+4>>2]);N[b+24>>2]=N[b+24>>2]+N[f+16>>2];N[b+28>>2]=N[b+28>>2]+N[f+20>>2];break g}if(!q){break g}d=1<>2];f=0-d|0;g=k<<1;e=g+(v-s|0)|0;f=e>>>0>f>>>0?e:f&(d+e|0)-1;g=g+(r-o|0)|0;if(f>>>0>((d^2147483647)>>>0)/(((g|0)<=1?1:g)>>>0)>>>0){break g}h=d+T(f,g)|0;if(h>>>0>=-5-d>>>0){break g}h=db((d+h|0)+3|0,1);if(!h){break g}u=d;p=d-1|0;d=h+4|0;l=p&d;d=(l?u-l|0:0)+d|0;N[d-4>>2]=h;if(!d){break g}N[b+44>>2]=d;N[b+40>>2]=f;N[b+36>>2]=g;N[b+32>>2]=e;N[b+28>>2]=o-k;N[b+24>>2]=s-k;g=N[a+24>>2];if(!g){break g}k=0;while(1){e=N[a+28>>2]+T(k,24)|0;d=N[e+4>>2];if(d){f=(N[d>>2]+N[e+16>>2]|0)-N[b+24>>2]|0;if((f|0)<0){break c}g=N[d+8>>2];if(N[b+32>>2]<(g+f|0)){break c}e=(N[d+4>>2]+N[e+20>>2]|0)-N[b+28>>2]|0;if((e|0)<0){break b}h=N[d+12>>2];if(N[b+36>>2]<(h+e|0)){break b}u=e;e=N[b+40>>2];Qa[N[c+896>>2]](f+(N[b+44>>2]+T(u,e)|0)|0,e,N[d+20>>2],N[d+16>>2],g,h);g=N[a+24>>2]}k=k+1|0;if(k>>>0>>0){continue}break}}w=no(+N[a+8>>2]*.00390625)*32;w=w*w;x=no(+N[a+12>>2]*.00390625)*32;x=x*x;d=N[a>>2];if((d&3)!=2){to(c+872|0,b,N[a+4>>2],w,x)}k=c+872|0;h=b+24|0;to(k,h,N[a+4>>2],w,x);v=d&24;if(!v){vi(b,h)}h:{if(!(d&4)){break h}c=b+48|0;i:{if(d&2){tg(k,c,h);if((v|0)!=16){break i}vi(b,c);break i}if(d&1){d=N[h+4>>2];N[c>>2]=N[h>>2];N[c+4>>2]=d;d=N[h+20>>2];N[c+16>>2]=N[h+16>>2];N[c+20>>2]=d;d=N[h+12>>2];N[c+8>>2]=N[h+8>>2];N[c+12>>2]=d;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h+20>>2]=0;break i}tg(k,c,b)}d=N[a+16>>2];N[b+48>>2]=N[b+48>>2]+(d>>6);c=N[a+20>>2];N[b+52>>2]=N[b+52>>2]+(c>>6);l=N[b+68>>2];if(!l){break h}s=c&63;o=N[b- -64>>2];k=N[b+56>>2];j=d&63;c=N[b+60>>2];if(!(!j|(c|0)<=0|(k|0)<2)){e=k-1|0;m=k&1;g=0;t=(k|0)==2;while(1){r=T(g,o);d=k;if(!m){d=l+(e+r|0)|0;n=d-1|0;i=O[n|0];f=T(i,j)>>>6|0;L[n|0]=i-f;L[d|0]=f+O[d|0];d=e}if(!t){while(1){n=l+(d+r|0)|0;i=n-2|0;q=O[i|0];f=T(q,j)>>>6|0;L[i|0]=q-f;n=n-1|0;L[n|0]=f+O[n|0];f=d-2|0;n=l+(f+r|0)|0;q=n-1|0;p=O[q|0];i=T(p,j)>>>6|0;L[q|0]=p-i;L[n|0]=i+O[n|0];n=(d|0)>3;d=f;if(n){continue}break}}g=g+1|0;if((c|0)!=(g|0)){continue}break}}if(!s|(k|0)<=0|(c|0)<2){break h}r=c&1;e=c-1|0;n=T(e,o);g=0;i=(c|0)==2;while(1){d=c;if(!r){f=g+n|0;j=l+(f-o|0)|0;m=O[j|0];d=T(m,s)>>>6|0;L[j|0]=m-d;f=f+l|0;L[f|0]=d+O[f|0];d=e}if(!i){while(1){j=T(o,d-1|0)+g|0;m=l+(j-o|0)|0;t=O[m|0];f=T(t,s)>>>6|0;L[m|0]=t-f;j=j+l|0;L[j|0]=f+O[j|0];f=d-2|0;m=T(f,o)+g|0;t=l+(m-o|0)|0;q=O[t|0];j=T(q,s)>>>6|0;L[t|0]=q-j;m=l+m|0;L[m|0]=j+O[m|0];j=(d|0)>3;d=f;if(j){continue}break}}g=g+1|0;if((k|0)!=(g|0)){continue}break}}if((v|0)==8){vi(b,h)}return(((T(N[a+24>>2],24)+T(N[b+16>>2],N[b+12>>2])|0)+T(N[b+40>>2],N[b+36>>2])|0)+T(N[b- -64>>2],N[b+60>>2])|0)+104|0}ba(8285,18170,2727,9568);B()}ba(14429,18170,2728,9568);B()}ba(8285,18170,2752,9568);B()}ba(14429,18170,2753,9568);B()}function Ap(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;u=La-16|0;La=u;e=T(b,1348)+a|0;g=e;i=N[e+52>>2];a:{b:{if(i){e=N[e+44>>2];d=Yd(a,b);if(d){break a}if((e|0)<=0){break b}e=T(e,44)+i|0;while(1){d=N[i+36>>2];c=P[d>>1];f=O[i|0];L[i|0]=f&254;h=N[i+40>>2];c:{if((h|0)==(d|0)){break c}c=c&3;while(1){l=c;d=N[d+32>>2];c=P[d>>1]&3;if(!((l|c)&65535)){break c}if((d|0)!=(h|0)){continue}break}L[i|0]=f|1}i=i+44|0;if(e>>>0>i>>>0){continue}break}break b}d=Yd(a,b);if(d){break a}}s=N[a+2748>>2];j=N[s+40>>2]/256|0;e=N[g+52>>2];p=T(b,1348)+a|0;w=p+44|0;m=N[w>>2];n=e+T(m,44)|0;l=N[p+68>>2];o=(b?12:4)+a|0;k=N[o>>2];i=fb(192,k);if((m|0)>0){c=e;while(1){d=e;if((l|0)==L[c+1|0]){while(1){d:{if((c|0)==(d|0)|(l|0)!=(0-L[d+1|0]|0)){break d}f=M[d+2>>1]-M[c+2>>1]|0;if((f|0)<0){break d}g=M[c+8>>1];h=M[d+8>>1];r=(g|0)<(h|0)?g:h;g=M[c+6>>1];h=M[d+6>>1];g=r-((g|0)>(h|0)?g:h)|0;if((g|0)<(j|0)){break d}h=f<<3;k=N[c+28>>2];if(!((h|0)>=(T(k,9)|0)|(g|0)<=N[c+32>>2]&(h|0)>=(T(k,7)|0))){N[c+32>>2]=g;N[c+28>>2]=f;N[c+20>>2]=d}k=N[d+28>>2];if((h|0)>=(T(k,9)|0)|(g|0)<=N[d+32>>2]&(h|0)>=(T(k,7)|0)){break d}N[d+32>>2]=g;N[d+28>>2]=f;N[d+20>>2]=c}d=d+44|0;if(n>>>0>d>>>0){continue}break}}c=c+44|0;if(n>>>0>c>>>0){continue}break}c=e;while(1){h=N[c+20>>2];e:{if(!h|N[h+20>>2]!=(c|0)){break e}j=M[h+2>>1];k=M[c+2>>1];if((j|0)<=(k|0)){break e}q=N[c+28>>2];if((q|0)>=(i|0)){break e}v=q<<2;d=e;while(1){f:{g:{if((c|0)==(d|0)){break g}g=M[d+2>>1];if((g|0)>(k|0)){break g}l=N[d+20>>2];if(!l|N[l+20>>2]!=(d|0)){break g}f=M[l+2>>1];if((f|0)<(j|0)|(g|0)==(k|0)&(f|0)==(j|0)){break g}g=N[d+28>>2];if((g|0)<=(q|0)|(g|0)>=(v|0)){break g}f=e;if(N[c+32>>2]<(T(N[d+32>>2],3)|0)){break f}while(1){g=h;t=N[f+20>>2];h:{if((t|0)!=(d|0)){g=c;if((l|0)!=(t|0)){break h}}N[f+24>>2]=g;N[f+20>>2]=0}f=f+44|0;if(n>>>0>f>>>0){continue}break}}d=d+44|0;if(n>>>0>d>>>0){continue}break e}break}N[h+20>>2]=0;N[c+20>>2]=0}c=c+44|0;if(n>>>0>c>>>0){continue}break}d=e;while(1){c=N[d+20>>2];i:{if(!c|N[c+20>>2]==(d|0)){break i}N[d+20>>2]=0;g=N[c+28>>2];if((g|0)>=(i|0)&N[d+28>>2]>=g<<2){break i}N[d+24>>2]=N[c+20>>2]}d=d+44|0;if(n>>>0>d>>>0){continue}break}k=N[o>>2]}v=N[a>>2];N[p+56>>2]=0;g=N[(s+T(b,7676)|0)+248>>2];c=g>>31;d=k>>31;j=(d^k)-d|0;t=j>>>8|0;c=(c^g)-c|0;j:{if(t+c>>>0<=8190){f=T(c,j)+32768>>>16|0;break j}d=c&65535;f=T(d,j>>>16|0)+T(j,c>>>16|0)+(T(d,j&65535)+32768>>>16)|0}c=f;d=0;h=0-c|0;c=g>>31|1;if((((((k|0)<0?0-c|0:c)|0)<0?h:f)|0)>=17){g=fb(16,k)}if((m|0)<=0){break a}z=j&65535;A=j>>>16|0;B=(T(b,1348)+a|0)- -64|0;while(1){k:{l:{x=N[p+56>>2];m:{if((x|0)<=0){q=O[e+1|0];break m}q=O[e+1|0];s=N[B>>2];f=0;h=65535;i=0;while(1){d=T(i,44);l=d+s|0;n:{if(O[l+13|0]!=(q|0)){break n}m=M[e+2>>1]-M[l>>1]|0;c=m>>31;m=(c^m)-c|0;if((m|0)>=(g|0)|(h|0)<=(m|0)){break n}y=N[e+20>>2];if(y){c=0;r=N[(d+s|0)+36>>2];d=r;while(1){o:{o=N[d+20>>2];if(o){c=M[y+2>>1];o=M[o+2>>1];c=(c|0)>(o|0)?c-o|0:o-c|0;if((g|0)<=(c|0)){break o}}d=N[d+16>>2];if((r|0)!=(d|0)){continue}}break}if((c|0)>=(g|0)){break n}}h=m;f=l}i=i+1|0;if((x|0)!=(i|0)){continue}break}if(f){break l}}d=xp(w,M[e+2>>1],q<<24>>24,0,v,u+12|0);if(d){break a}c=N[u+12>>2];N[c>>2]=0;N[c+4>>2]=0;N[c+40>>2]=e;N[c+36>>2]=e;N[c+32>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;L[c+13|0]=O[e+1|0];d=M[e+2>>1];M[c>>1]=d;f=d>>31;f=(f^d)-f|0;p:{if(f+t>>>0<=8190){f=T(f,j)+32768>>>16|0;break p}f=T(f,A)+(T(f,z)+32768>>>16|0)|0}d=d>>31|1;d=(((k|0)<0?0-d|0:d)|0)<0?0-f|0:f;N[c+8>>2]=d;N[c+4>>2]=d;N[e+16>>2]=e;break k}N[e+16>>2]=N[f+36>>2];N[N[f+40>>2]+16>>2]=e;N[f+40>>2]=e}e=e+44|0;if(n>>>0>e>>>0){continue}break}e=N[p+56>>2];if((e|0)>0){b=N[(T(b,1348)+a|0)- -64>>2];n=b+T(e,44)|0;c=b;while(1){a=N[c+36>>2];d=a;if(d){while(1){N[d+12>>2]=c;d=N[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+44|0;if(n>>>0>c>>>0){continue}break}while(1){f=0;m=0;h=N[b+36>>2];if(h){l=b+28|0;a=b+24|0;d=h;while(1){k=L[d|0]&1;p=!k;c=N[d+24>>2];q:{r:{if(c){g=N[d+20>>2];e=N[c+12>>2];if(!g&(e|0)==(b|0)){break q}if((b|0)==(e|0)){i=0;e=a;break r}i=1;e=l;g=c;break r}i=0;e=a;g=N[d+20>>2];if(!g){break q}}c=N[e>>2];s:{if(c){j=M[b>>1]-M[c>>1]|0;e=j>>31;r=(e^j)-e|0;e=M[d+2>>1];j=M[g+2>>1];if((r|0)<=(((e|0)>(j|0)?e-j|0:j-e|0)|0)){break s}}c=N[g+12>>2]}if(i){N[l>>2]=c;L[c+12|0]=O[c+12|0]|2;break q}N[a>>2]=c}f=f+k|0;m=m+p|0;d=N[d+16>>2];if((h|0)!=(d|0)){continue}break}}L[b+12|0]=(f|0)>0&(f|0)>=(m|0);if(!(!N[b+28>>2]|!N[b+24>>2])){N[b+28>>2]=0}b=b+44|0;if(n>>>0>b>>>0){continue}break}}d=0}La=u+16|0;return d}function Ah(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;m=La-192|0;La=m;N[m+144>>2]=0;N[m+148>>2]=0;N[m+152>>2]=0;N[m+156>>2]=0;N[m+160>>2]=0;N[m+164>>2]=0;N[m+168>>2]=0;N[m+172>>2]=0;N[m+176>>2]=0;N[m+180>>2]=0;N[m+184>>2]=0;N[m+188>>2]=0;N[m+128>>2]=0;N[m+132>>2]=0;N[m+136>>2]=0;N[m+140>>2]=0;s=b;k=a;n=b&3;if(n){s=b&-4;while(1){t=(m+128|0)+(N[k>>2]<<2)|0;N[t>>2]=N[t>>2]+1;k=k+4|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}if(b-1>>>0>=3){while(1){l=m+128|0;n=l+(N[k>>2]<<2)|0;N[n>>2]=N[n>>2]+1;n=l+(N[k+4>>2]<<2)|0;N[n>>2]=N[n>>2]+1;n=l+(N[k+8>>2]<<2)|0;N[n>>2]=N[n>>2]+1;l=l+(N[k+12>>2]<<2)|0;N[l>>2]=N[l>>2]+1;k=k+16|0;s=s-4|0;if(s){continue}break}}a:{if(N[m+128>>2]==(b|0)){N[f>>2]=0;N[g>>2]=0;break a}k=N[g>>2];o=1;b:{c:{d:{e:{f:{g:{l=N[m+132>>2];if(l){break g}o=2;if(N[m+136>>2]){break g}o=3;if(N[m+140>>2]){break g}o=4;if(N[m+144>>2]){break g}o=5;if(N[m+148>>2]){break g}o=6;if(N[m+152>>2]){break g}o=7;if(N[m+156>>2]){break g}o=8;if(N[m+160>>2]){break g}o=9;if(N[m+164>>2]){break g}o=10;if(N[m+168>>2]){break g}o=11;if(N[m+172>>2]){break g}o=12;if(N[m+176>>2]){break g}o=13;if(N[m+180>>2]){break g}o=14;if(N[m+184>>2]){break g}if(N[m+188>>2]){o=15;k=k>>>0<=15?15:k;A=1;l=15;break e}o=16;k=k>>>0<=16?16:k;break f}k=k>>>0>o>>>0?k:o;if(N[m+188>>2]){p=15;u=k>>>0>=15?15:k;N[g>>2]=u;w=1<>2]){break d}}p=13;if(N[m+180>>2]){break d}p=12;if(N[m+176>>2]){break d}p=11;if(N[m+172>>2]){break d}p=10;if(N[m+168>>2]){break d}p=9;if(N[m+164>>2]){break d}p=8;if(N[m+160>>2]){break d}p=7;if(N[m+156>>2]){break d}p=6;if(N[m+152>>2]){break d}p=5;if(N[m+148>>2]){break d}p=4;if(N[m+144>>2]){break d}p=3;if(N[m+140>>2]){break d}p=2;if(N[m+136>>2]){break d}A=!l;l=(l|0)!=0}p=l;u=k>>>0

>>0?k:p;N[g>>2]=u;w=1<>>0

>>0?k:p;N[g>>2]=u;A=1;w=1<>>0>=p>>>0){break b}}k=o;while(1){g=w-N[(m+128|0)+(k<<2)>>2]|0;if((g|0)<0){C=-3;break a}A=1;w=g<<1;k=k+1|0;if((p|0)!=(k|0)){continue}break}}C=-3;g=(m+128|0)+(p<<2)|0;D=N[g>>2];if((w-D|0)<0){break a}N[g>>2]=w;N[m+4>>2]=0;g=p-1|0;h:{if(!g){break h}k=m+128|4;n=g&3;l=m|8;s=0;i:{if(p-2>>>0<3){break i}g=p-5|0;t=(g>>>2|0)+1|0;v=t&1;if(g>>>0>=4){t=t&2147483646;g=0;while(1){q=N[k>>2]+r|0;N[l>>2]=q;q=q+N[k+4>>2]|0;N[l+4>>2]=q;q=q+N[k+8>>2]|0;N[l+8>>2]=q;q=q+N[k+12>>2]|0;N[l+12>>2]=q;q=q+N[k+16>>2]|0;N[l+16>>2]=q;q=q+N[k+20>>2]|0;N[l+20>>2]=q;q=q+N[k+24>>2]|0;N[l+24>>2]=q;r=q+N[k+28>>2]|0;N[l+28>>2]=r;l=l+32|0;k=k+32|0;g=g+2|0;if((t|0)!=(g|0)){continue}break}}if(!v){break i}g=N[k>>2]+r|0;N[l>>2]=g;g=g+N[k+4>>2]|0;N[l+4>>2]=g;g=g+N[k+8>>2]|0;N[l+8>>2]=g;r=g+N[k+12>>2]|0;N[l+12>>2]=r;l=l+16|0;k=k+16|0}if(!n){break h}while(1){r=N[k>>2]+r|0;N[l>>2]=r;l=l+4|0;k=k+4|0;s=s+1|0;if((n|0)!=(s|0)){continue}break}}g=b>>>0<=1?1:b;l=g&1;k=0;if(b>>>0>=2){g=g&-2;while(1){b=N[a>>2];if(b){n=(b<<2)+m|0;b=N[n>>2];N[n>>2]=b+1;N[(b<<2)+j>>2]=k}b=N[a+4>>2];if(b){n=(b<<2)+m|0;b=N[n>>2];N[n>>2]=b+1;N[(b<<2)+j>>2]=k|1}a=a+8|0;k=k+2|0;if((g|0)!=(k|0)){continue}break}}j:{if(!l){break j}a=N[a>>2];if(!a){break j}b=(a<<2)+m|0;a=N[b>>2];N[b>>2]=a+1;N[(a<<2)+j>>2]=k}N[m+64>>2]=0;a=N[(p<<2)+m>>2];N[m>>2]=0;if(o>>>0<=p>>>0){n=0-u|0;E=(a<<2)+j|0;g=0;s=0;a=0;k=-1;while(1){q=(m+128|0)+(o<<2)|0;y=N[q>>2];if(y){F=1<>>0<=y>>>0){break l}g=p-n|0;s=g>>>0>>0?g:u;if(s>>>0<=b>>>0){break l}l=b+1|0;if(s>>>0<=l>>>0){break l}g=u>>>0>>0?u:B;r=k-y|0;k=q;while(1){r=r<<1;z=N[k+4>>2];if(r>>>0<=z>>>0){break l}k=k+4|0;r=r-z|0;l=l+1|0;if(s>>>0>l>>>0){continue}break}l=g}g=1<>2];r=g+s|0;if(r>>>0>1440){break a}k=t+1|0;z=k<<2;s=(s<<3)+h|0;N[z+(m- -64|0)>>2]=s;N[i>>2]=r;m:{if(k){N[m+z>>2]=a;r=N[(m- -64|0)+(t<<2)>>2];v=a>>>v|0;t=r+(v<<3)|0;L[t+1|0]=u;L[t|0]=l;x=(s-r>>3)-v|0;N[t+4>>2]=x;break m}N[f>>2]=s}B=B-u|0;v=n;t=k;l=n+u|0;if((o|0)>(l|0)){continue}break}}t=192;n:{if(j>>>0>=E>>>0){break n}x=N[j>>2];if(x>>>0>>0){t=x>>>0>=256?96:0;j=j+4|0;break n}j=j+4|0;l=x-c<<2;t=O[l+e|0]+80|0;x=N[d+l>>2]}l=a>>>n|0;if(l>>>0>>0){r=1<>2]=x;L[v+1|0]=b;L[v|0]=t;l=l+r|0;if(l>>>0>>0){continue}break}}l=F;if(l&a){while(1){a=a^l;l=l>>>1|0;if(a&l){continue}break}}a=a^l;if(N[(k<<2)+m>>2]!=(a&(-1<>2]!=((-1<>2]);_a(N[a+104>>2]);N[a+100>>2]=0;if(b){e=Hb(b)}else{e=0}N[a+104>>2]=e;xg(a);dd(N[a+840>>2]);dd(N[a+856>>2]);e=N[a+8>>2];if(e){d=N[e+36>>2];if(d){xe(d)}d=N[e+40>>2];if(d){xe(d)}_a(N[e+32>>2]);_a(N[e+16>>2]);_a(N[e+12>>2]);_a(e)}e=N[a+4>>2];n=N[a>>2];j=db(1,44);a:{if(j){N[j+8>>2]=1;N[j+4>>2]=e;N[j>>2]=n;b:{if(b){b=Hb(b);N[j+16>>2]=0;N[j+12>>2]=b;if(!b){break b}}l=db(1,44);if(l){N[l>>2]=j;N[l+36>>2]=N[110084];b=N[110083];N[l+28>>2]=N[110082];N[l+32>>2]=b;b=N[110081];N[l+20>>2]=N[110080];N[l+24>>2]=b;b=N[110079];N[l+12>>2]=N[110078];N[l+16>>2]=b;b=N[110077];N[l+4>>2]=N[110076];N[l+8>>2]=b;d=N[n>>2];c:{if(!d|!O[d|0]){break c}b=nb(d);if(b){e=b-1|0;c=O[d+e|0]==47?e:b;if(c>>>0>4294967037){break c}r=c+258|0}else{r=258}b=kb(r);if(!b){break c}F(b,d,c);L[b+c|0]=47;e=0;d=Qn(d,589824);if((d|0)>=0){d:{e=db(1,2072);if(!e){ia(d|0)|0;e=0;break d}N[e+8>>2]=d}}o=e;e:{if(!e){e=b;break e}s=c+1|0;while(1){f:{e=b;c=N[o+12>>2];g:{if((c|0)>=N[o+16>>2]){c=0;d=Ba(N[o+8>>2],o+24|0,2048)|0;if((d|0)<=0){if(!d|(d|0)==-44){break g}N[147316]=0-d;break g}N[o+16>>2]=d}d=c;c=c+o|0;N[o+12>>2]=d+P[c+40>>1];d=N[c+36>>2];N[o>>2]=N[c+32>>2];N[o+4>>2]=d;c=c+24|0}if(!c){break f}m=c?c+19|0:0;if(O[m|0]==46){continue}f=nb(m);d=f+1|0;c=d+s|0;if(c>>>0>>0){continue}h:{if(c>>>0>r>>>0){if(c>>>0>4294967039){continue}c=c+256|0;e=$a(b,c);if(!e){continue}F(e+s|0,m,d);r=c;break h}F(e+s|0,m,d);b=0;if(!e){continue}}N[k+64>>2]=e;mb(n,4,24533,k- -64|0);c=0;h=La-16|0;La=h;i:{j:{if(!lc(18347,114)){N[147316]=28;break j}b=((lc(18329,43)|0)!=0)<<1;b=lc(18329,120)?b|128:b;b=lc(18329,101)?b|524288:b;N[h>>2]=438;N[h+4>>2]=0;b=na(-100,e|0,b|32768,h|0)|0;if(b>>>0>=4294963201){N[147316]=0-b;b=-1}if((b|0)<0){break i}f=La-32|0;La=f;k:{l:{m:{if(!lc(18347,L[18329])){N[147316]=28;break m}c=kb(1176);if(c){break l}}c=0;break k}ve(c,0,144);d=O[18329];if(!lc(18329,43)){N[c>>2]=(d|0)==114?8:4}n:{if((d|0)!=97){d=N[c>>2];break n}d=ka(b|0,3,0)|0;if(!(d&1024)){d=d|1024;N[f+16>>2]=d;N[f+20>>2]=d>>31;ka(b|0,4,f+16|0)|0}d=N[c>>2]|128;N[c>>2]=d}N[c+80>>2]=-1;N[c+48>>2]=1024;N[c+60>>2]=b;N[c+44>>2]=c+152;o:{if(d&8){break o}N[f>>2]=f+24;N[f+4>>2]=0;if(Ja(b|0,21523,f|0)|0){break o}N[c+80>>2]=10}N[c+40>>2]=377;N[c+36>>2]=378;N[c+32>>2]=379;N[c+12>>2]=380;if(!O[591481]){N[c+76>>2]=-1}d=N[147575];N[c+56>>2]=d;if(d){N[d+52>>2]=c}N[147575]=c}La=f+32|0;if(c){break i}ia(b|0)|0}c=0}La=h+16|0;if(!c){N[k>>2]=e;mb(n,2,16820,k);b=e;continue}p:{if(N[c+76>>2]<0){b=li(c,2);break p}b=li(c,2)}if((b|0)==-1){N[k+16>>2]=e;mb(n,2,16852,k+16|0);qg(c);b=e;continue}f=c;q:{if(N[c+76>>2]<0){b=ho(f);c=Pa;break q}b=ho(f);c=Pa}if((c|0)>=0&b>>>0>=2147483648|(c|0)>0){N[147316]=61;b=-1}li(f,0);N[f>>2]=N[f>>2]&-33;h=b;N[k+48>>2]=b;mb(n,6,16738,k+48|0);r:{if((b|0)!=-1){b=0;q=kb(h+1|0);if(q){break r}}qg(f);b=e;continue}s:{while(1){i=b+q|0;d=h-b|0;c=N[f+72>>2];N[f+72>>2]=c-1|c;c=N[f+4>>2];g=N[f+8>>2];if((c|0)==(g|0)){c=d}else{p=c;c=g-c|0;c=c>>>0>>0?c:d;Pc(i,p,c);N[f+4>>2]=c+N[f+4>>2];i=c+i|0;c=d-c|0}if(c){while(1){t:{u:{if(!mi(f)){g=Qa[N[f+32>>2]](f,i,c)|0;if(g){break u}}d=d-c|0;break t}i=g+i|0;c=c-g|0;if(c){continue}}break}}if((d|0)<=0){t=N[147316];v=P[((t>>>0<=153?t:0)<<1)+583168>>1]+581240|0;b=0;c=N[N[147600]+20>>2];if(c){m=N[c+4>>2];c=N[c>>2];h=N[c>>2]+1794895138|0;d=Ud(N[c+8>>2],h);i=Ud(N[c+12>>2],h);g=Ud(N[c+16>>2],h);v:{if(m>>>2>>>0<=d>>>0){break v}p=m-(d<<2)|0;if((g|i)&3|(p>>>0<=i>>>0|g>>>0>=p>>>0)){break v}z=g>>>2|0;A=i>>>2|0;i=0;while(1){p=d>>>1|0;w=p+i|0;x=w<<1;g=c+(x+A<<2)|0;y=Ud(N[g>>2],h);g=Ud(N[g+4>>2],h);if(g>>>0>=m>>>0|m-g>>>0<=y>>>0|O[c+(g+y|0)|0]){break v}g=cb(v,c+g|0);if(!g){d=c+(z+x<<2)|0;i=Ud(N[d>>2],h);d=Ud(N[d+4>>2],h);if(d>>>0>=m>>>0|i>>>0>=m-d>>>0){break v}b=O[c+(d+i|0)|0]?0:c+d|0;break v}if((d|0)==1){break v}g=(g|0)<0;d=g?p:d-p|0;i=g?i:w;continue}}}N[k+36>>2]=b?b:v;N[k+32>>2]=t;mb(n,4,11584,k+32|0);qg(f);break s}b=b+d|0;if((h|0)>(b|0)){continue}break}L[h+q|0]=0;qg(f);Ji(n,m,q,h)}_a(q);b=e;continue}break}fi(N[o+8>>2]);_a(o)}_a(e)}w:{if(!N[n+16>>2]){e=0;break w}while(1){Ao(l,u);e=N[n+16>>2];u=u+1|0;if(e>>>0>u>>>0){continue}break}}N[a+12>>2]=e;N[j+40>>2]=l;break a}mb(n,2,12085,0);b=N[j+36>>2];if(!b){break b}xe(b)}b=N[j+40>>2];if(b){xe(b)}_a(N[j+12>>2]);_a(N[j+16>>2]);_a(j)}j=0}N[a+8>>2]=j;La=k+80|0}function wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;f=N[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=N[b+12>>2];h=e-2|0;N[b+12>>2]=h;c=1;if((h|0)<=0){c=0;break a}b:{c:{d:{h=O[a|0]|O[a+1|0]<<8;switch(((h<<8|h>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=a+2|0;if(c>>>0>d>>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;e:{if(!d){break e}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break e}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}d=a+4|0;if(d>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-d>>>0<2){c=0;break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){c=0;break a}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=a+6|0;if(c>>>0>e>>>0){c=0;break a}e=e-c|0;d=(d<<8|d>>>8)&65535;c=d<<1;if(e>>>0>>0){c=0;break a}e=f-c|0;N[b+12>>2]=e;c=0;if((e|0)<=0){break a}f=d>>>0<=1?1:d;d=0;while(1){c=((d<<1)+a|0)+6|0;if(c>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-c>>>0<2){c=0;break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){c=0;break a}e=O[c|0]|O[c+1|0]<<8;f:{if(!e){break f}e=((e<<8|e>>>8)&65535)+a|0;N[g+12>>2]=e;if(tk(e,b,g+12|0)){break f}e=N[b+28>>2];if(e>>>0>31){c=0;break a}N[b+28>>2]=e+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=1;d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>d>>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;g:{if(!d){break g}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break g}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+4|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;h:{if(!d){break h}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break h}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+6|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;i:{if(!d){break i}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break i}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+8|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;j:{if(!d){break j}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break j}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}d=a+10|0;if(d>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-d>>>0<2){c=0;break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){c=0;break a}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=a+12|0;if(c>>>0>e>>>0){c=0;break a}e=e-c|0;d=(d<<8|d>>>8)&65535;c=d<<1;if(e>>>0>>0){c=0;break a}e=f-c|0;N[b+12>>2]=e;c=0;if((e|0)<=0){break a}f=d>>>0<=1?1:d;d=0;while(1){c=((d<<1)+a|0)+12|0;if(c>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-c>>>0<2){c=0;break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){c=0;break a}e=O[c|0]|O[c+1|0]<<8;k:{if(!e){break k}e=((e<<8|e>>>8)&65535)+a|0;N[g+12>>2]=e;if(tk(e,b,g+12|0)){break k}e=N[b+28>>2];if(e>>>0>31){c=0;break a}N[b+28>>2]=e+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=1;d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}N[g+12>>2]=a;d=a+2|0;if(!Pe(d,b,g+12|0)){c=0;break a}c=O[a+2|0]|O[a+3|0]<<8;N[g+12>>2]=a;c=(d+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!Pe(c,b,g+12|0)){c=0;break a}d=O[c|0]|O[c+1|0]<<8;if(!d){c=0;break a}N[g+12>>2]=a;a=(c+(((d<<8|d>>>8)&65535)<<1)|0)+2|0;if(!Pe(a,b,g+12|0)){c=0;break a}c=a;a=O[a|0]|O[a+1|0]<<8;a=(c+(((a<<8|a>>>8)&65535)<<1)|0)+2|0;if(a>>>0>2]){c=0;break a}c=N[b+8>>2];if(c>>>0>>0){c=0;break a}if(c-a>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}e=O[a|0]|O[a+1|0]<<8;if(e){a=a+2|0;if(a>>>0>c>>>0){c=0;break a}c=c-a|0;a=((e<<8|e>>>8)&65535)<<2;if(c>>>0>>0){c=0;break a}a=d-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}La=g+16|0;return c}function Le(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;N[a+24>>2]=0;a:{b:{d=ae(b+52|0);c=O[d+50|0]|O[d+51|0]<<8;if(!(((c<<8|c>>>8)&65535)>>>0>1|(O[d+52|0]|O[d+53|0]<<8))){L[a+12|0]=!c;c=N[b+104>>2];c:{if(c){break c}while(1){d=N[b+48>>2];if(!d){c=275552;break c}N[e+8>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;L[e+24|0]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;L[e+40|0]=1;N[e+36>>2]=0;if(!O[e+40|0]){c=N[d+32>>2];if((c|0)==-1){c=sb(d+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[d+32>>2]=c}L[e+40|0]=1;N[e+36>>2]=c}c=N[d+12>>2];d:{if(c){d=Qa[c|0](d,1819239265,N[d+16>>2])|0;if(d){break d}}d=275552}c=N[d>>2];if(c){if((c|0)<=0){break b}N[d>>2]=c+1}L[e+24|0]=0;N[e+32>>2]=d;f=N[d+12>>2];N[e+4>>2]=f;c=N[d+16>>2];N[e+8>>2]=c+f;e:{if((c|0)<0){break a}N[e+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[e+12>>2]=c;N[e+20>>2]=0;N[e>>2]=0;ab(d);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(!(!f|!N[d+4>>2])){N[d+4>>2]=0}break e}c=N[b+104>>2];f:{if(d){if(c){break f}c=d;N[b+104>>2]=d;break c}if(c){break c}c=275552;N[b+104>>2]=275552;break c}if((d|0)==275552){break c}ab(d);c=N[b+104>>2];if(!c){continue}break}}N[a+20>>2]=c;if(N[b+32>>2]==-1){d=sb(b+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[b+32>>2]=(d<<8|d>>>8)&65535}d=N[b+12>>2];g:{if(d){c=Qa[d|0](b,1735162214,N[b+16>>2])|0;if(c){break g}}c=275552}d=N[c>>2];if(d){if((d|0)<=0){break b}N[c>>2]=d+1}if(N[c+16>>2]<0){break a}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+24>>2]=c;c=N[b+128>>2];h:{if(c){break h}while(1){d=N[b+48>>2];if(!d){c=275552;break h}c=db(1,4);if(!c){c=275552;N[b+128>>2]=275552;break h}N[e+8>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;L[e+24|0]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;f=N[d+32>>2];if((f|0)==-1){f=sb(d+56|0);f=O[f+4|0]|O[f+5|0]<<8;f=(f<<8|f>>>8)&65535;N[d+32>>2]=f}L[e+40|0]=1;N[e+36>>2]=f;f=N[d+12>>2];i:{if(f){d=Qa[f|0](d,1735811442,N[d+16>>2])|0;if(d){break i}}d=275552}j:{if(!d){break j}f=N[d>>2];if(!f){break j}if((f|0)<=0){break b}N[d>>2]=f+1}L[e+24|0]=0;N[e+32>>2]=d;h=N[d+12>>2];N[e+4>>2]=h;f=N[d+16>>2];N[e+8>>2]=f+h;if((f|0)<0){break a}N[e+28>>2]=0;if(f>>>0>67108863){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[e+12>>2]=f;N[e+20>>2]=0;N[e>>2]=0;f=d;k:{l:{if(!h){break l}m:{n:{o:{p:{if($i(h,e)){break p}q:{if(O[e+24|0]|!N[e+28>>2]){break q}f=zb(d);N[e+4>>2]=f;N[e+8>>2]=f+N[d+16>>2];if(!f){break q}while(1){L[e+24|0]=1;f=N[e+32>>2];h=N[f+12>>2];N[e+4>>2]=h;g=N[f+16>>2];N[e+8>>2]=g+h;if((g|0)<0){break a}N[e+28>>2]=0;if(g>>>0>67108863){g=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}N[e+12>>2]=g;N[e+20>>2]=0;N[e>>2]=0;if(!h){break l}if($i(h,e)){break p}if(O[e+24|0]|!N[e+28>>2]){break q}f=zb(d);N[e+4>>2]=f;N[e+8>>2]=f+N[d+16>>2];if(f){continue}break}}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;break o}if(!N[e+28>>2]){break n}N[e+28>>2]=0;f=$i(h,e);h=N[e+28>>2];ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(h){break o}if(f){break m}}ab(d);d=275552;break k}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break k}ab(f);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}N[c>>2]=d;if(!N[b+128>>2]){N[b+128>>2]=c;break h}ab(d);_a(c);c=N[b+128>>2];if(!c){continue}break}}N[a>>2]=c;c=N[b+68>>2];r:{if(c){break r}while(1){d=N[b+48>>2];if(!d){c=275552;break r}c=db(1,28);if(!c){c=275552;N[b+68>>2]=275552;break r}c=hq(c,d);if(!N[b+68>>2]){N[b+68>>2]=c;break r}ab(N[c+20>>2]);N[c+20>>2]=0;ab(N[c+24>>2]);_a(c);c=N[b+68>>2];if(!c){continue}break}}N[a+4>>2]=c;c=N[b+96>>2];s:{if(c){break s}while(1){d=N[b+48>>2];if(!d){c=275552;break s}c=db(1,28);if(!c){c=275552;N[b+96>>2]=275552;break s}c=Lg(c,d);if(!N[b+96>>2]){N[b+96>>2]=c;break s}ab(N[c+20>>2]);N[c+20>>2]=0;ab(N[c+24>>2]);_a(c);c=N[b+96>>2];if(!c){continue}break}}N[a+8>>2]=c;d=N[a+20>>2];d=N[(d?d:275552)+16>>2]>>>(O[a+12|0]?1:2)|0;c=(d>>>0<=1?1:d)-1|0;N[a+16>>2]=c;d=N[b+32>>2];if((d|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;d=(b<<8|b>>>8)&65535;N[c+32>>2]=d;c=N[a+16>>2]}N[a+16>>2]=c>>>0>>0?c:d}La=e+48|0;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function Qw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+437|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+440|0;break i;case 1:a=a+444|0;break i;case 2:a=a+448|0;break i;case 3:break j;default:break h}}a=a+452|0}e=N[a>>2]}N[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+464|0;break l;case 1:a=a+468|0;break l;case 2:a=a+472|0;break l;case 3:break m;default:break k}}a=a+476|0}e=N[a>>2]}N[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+436|0];break b;case 4:a=N[a+364>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+420>>2];break c;case 7:if(Q[a+420>>2]<=c>>>0){break e}a=N[N[a+424>>2]+(c<<2)>>2];c=nb(a);b=c+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);L[c+d|0]=0;break f;case 8:if(Q[a+420>>2]<=c>>>0){break e}e=N[N[a+432>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}F(d,N[N[a+428>>2]+(c<<2)>>2],e);L[d+e|0]=0;break f;case 9:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+368>>2];break c;case 10:if(N[a+368>>2]!=1|Q[a+372>>2]<=c>>>0){break e}c=N[N[a+388>>2]+(c<<2)>>2];a=nb(c);b=a+1|0;if(!d|f>>>0>>0){break f}F(d,c,a);L[a+d|0]=0;break f;case 11:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+404>>2];break c;case 12:b=N[a+416>>2];n:{if(b){b=Ad(c,b);if(!b){break e}c=N[b>>2];break n}if(Q[a+404>>2]<=c>>>0){break e}}e=N[a+408>>2];if(!e){break e}a=N[N[a+412>>2]+(c<<2)>>2];b=a+1|0;if(!d|f>>>0>>0){break f}F(d,N[e+(c<<2)>>2],a);L[a+d|0]=0;break f;case 13:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+176|0];break b;case 16:if(O[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+177|0];break b;case 19:if(O[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+178|0];break b;case 21:if(O[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+179|0];break b;case 23:if(O[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+292|0];break b;case 27:if(O[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+293|0];break b;case 29:if(O[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+295|0];break b;case 30:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+164>>1];break a;case 36:a=N[a+132>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 37:a=N[a+136>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 38:a=N[a+140>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 39:a=N[a+144>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=N[a+148>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+152>>2]}return b|0}return 1}return 2}function Gb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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,O=0,P=0,Q=0,R=0;k=La-96|0;La=k;u=i&65535;o=(e^i)&-2147483648;r=e&65535;z=r;Q=i>>>16&32767;R=e>>>16&32767;a:{b:{if(Q-32767>>>0>4294934529&R-32767>>>0>=4294934530){break b}s=e&2147483647;q=s;j=d;if(!(!d&(q|0)==2147418112?!(b|c):q>>>0<2147418112)){m=d;o=e|32768;break a}s=i&2147483647;p=s;e=h;if(!(!e&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){m=h;o=i|32768;b=f;c=g;break a}if(!(b|j|(q^2147418112|c))){if(!(e|f|(g|p))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(e|f|(p^2147418112|g))){e=b|j;d=c|q;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|j|(c|q))){b=0;c=0;break a}if(!(e|f|(g|p))){b=0;c=0;break a}if((q|0)==65535|q>>>0<65535){j=!(d|r);i=j?b:d;s=j<<6;e=W(i)+32|0;i=W(j?c:r);i=s+((i|0)==32?e:i)|0;hc(k+80|0,b,c,d,r,i-15|0);t=16-i|0;d=N[k+88>>2];z=N[k+92>>2];c=N[k+84>>2];b=N[k+80>>2]}if(p>>>0>65535){break b}i=!(h|u);e=i?f:h;r=i<<6;j=W(e)+32|0;e=W(i?g:u);e=r+((e|0)==32?j:e)|0;hc(k- -64|0,f,g,h,u,e-15|0);t=(t-e|0)+16|0;h=N[k+72>>2];u=N[k+76>>2];f=N[k+64>>2];g=N[k+68>>2]}e=f;f=g<<15|f>>>17;i=e<<15;e=0;v=i&-32768;J=c;s=UE(v,e,c,0);e=Pa;y=e;K=f;q=b;b=UE(f,0,b,0);i=b+s|0;f=Pa+e|0;c=b>>>0>i>>>0?f+1|0:f;j=0;b=UE(q,l,v,l);p=j+b|0;f=i;e=f+Pa|0;e=b>>>0>p>>>0?e+1|0:e;r=e;L=(f|0)==(e|0)&j>>>0>p>>>0|e>>>0>>0;M=d;w=UE(v,l,d,0);O=Pa;b=UE(J,l,K,l);x=b+w|0;j=Pa+O|0;j=b>>>0>x>>>0?j+1|0:j;b=u<<15|h>>>17;A=h<<15|g>>>17;d=UE(A,0,q,l);B=d+x|0;f=Pa+j|0;f=d>>>0>B>>>0?f+1|0:f;C=f;d=(c|0)==(y|0)&i>>>0>>0|c>>>0>>0;D=c+B|0;f=d+f|0;f=c>>>0>D>>>0?f+1|0:f;u=f;g=D;c=f;E=z|65536;z=UE(v,l,E,n);P=Pa;d=UE(M,m,K,l);F=d+z|0;e=Pa+P|0;e=d>>>0>F>>>0?e+1|0:e;i=e;G=b|-2147483648;b=UE(G,0,q,l);H=b+F|0;f=Pa+e|0;f=b>>>0>H>>>0?f+1|0:f;b=UE(A,m,J,l);y=b+H|0;I=f;f=f+Pa|0;s=b>>>0>y>>>0?f+1|0:f;b=0;q=b+g|0;e=c+y|0;v=b>>>0>q>>>0?e+1|0:e;f=v;b=q+L|0;c=b>>>0>>0?f+1|0:f;t=((R+Q|0)+t|0)-16383|0;d=UE(G,m,J,l);h=Pa;e=UE(E,m,K,l);g=e+d|0;f=Pa+h|0;f=e>>>0>g>>>0?f+1|0:f;n=(h|0)==(f|0)&d>>>0>g>>>0|f>>>0>>0;h=f;e=UE(A,m,M,m);d=e+g|0;f=Pa+f|0;f=d>>>0>>0?f+1|0:f;e=f;g=(f|0)==(h|0)&d>>>0>>0|f>>>0>>0;f=0;h=g;g=g+n|0;f=h>>>0>g>>>0?1:f;h=g;g=UE(G,m,E,m);h=h+g|0;f=Pa+f|0;L=h;g=g>>>0>h>>>0?f+1|0:f;h=d;l=e;e=(j|0)==(O|0)&w>>>0>x>>>0|j>>>0>>0;f=0;j=(j|0)==(C|0)&x>>>0>B>>>0|j>>>0>C>>>0;n=j;j=e+j|0;e=(n>>>0>j>>>0?1:f)+l|0;f=g;d=d+j|0;e=d>>>0>>0?e+1|0:e;n=e;w=d;d=(e|0)==(l|0)&d>>>0>>0|e>>>0>>0;e=d;d=d+L|0;f=e>>>0>d>>>0?f+1|0:f;j=d;g=f;e=UE(A,m,E,m);l=Pa;d=UE(G,m,M,m);h=d+e|0;f=Pa+l|0;f=d>>>0>h>>>0?f+1|0:f;d=f;f=(l|0)==(f|0)&e>>>0>h>>>0|f>>>0>>0;x=d+j|0;e=f+g|0;e=d>>>0>x>>>0?e+1|0:e;l=x;g=e;e=0;d=e+w|0;f=h+n|0;f=d>>>0>>0?f+1|0:f;e=f;h=(n|0)==(f|0)&d>>>0>>0|f>>>0>>0;f=g;g=h+l|0;f=g>>>0>>0?f+1|0:f;w=g;g=f;h=d;j=e;e=(s|0)==(I|0)&y>>>0>>0|s>>>0>>0;d=(i|0)==(P|0)&z>>>0>F>>>0|i>>>0

>>0;i=(i|0)==(I|0)&F>>>0>H>>>0|i>>>0>I>>>0;d=d+i|0;d=d+e|0;n=s;i=n+h|0;e=d+j|0;f=g;d=i;e=d>>>0>>0?e+1|0:e;h=(e|0)==(j|0)&h>>>0>d>>>0|e>>>0>>0;g=h+w|0;f=h>>>0>g>>>0?f+1|0:f;j=g;g=f;h=d;f=0;i=e;n=(u|0)==(v|0)&q>>>0>>0|u>>>0>v>>>0;l=n;n=n+((u|0)==(C|0)&B>>>0>D>>>0|u>>>0>>0)|0;e=e+(l>>>0>n>>>0?1:f)|0;f=g;d=d+n|0;e=d>>>0>>0?e+1|0:e;h=(e|0)==(i|0)&d>>>0>>0|e>>>0>>0;g=h;h=h+j|0;f=g>>>0>h>>>0?f+1|0:f;i=f;c:{if(f&65536){t=t+1|0;break c}j=r>>>31|0;g=0;f=i<<1|h>>>31;h=h<<1|e>>>31;i=f;f=e<<1|d>>>31;d=d<<1|c>>>31;e=f;f=r<<1|p>>>31;p=p<<1;r=f;f=c<<1|b>>>31;b=b<<1|j;c=f|g}if((t|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((t|0)<=0){g=1-t|0;if(g>>>0<=127){f=t+127|0;hc(k+48|0,p,r,b,c,f);hc(k+32|0,d,e,h,i,f);Qd(k+16|0,p,r,b,c,g);Qd(k,d,e,h,i,g);p=N[k+32>>2]|N[k+16>>2]|(N[k+48>>2]|N[k+56>>2]|(N[k+52>>2]|N[k+60>>2]))!=0;r=N[k+36>>2]|N[k+20>>2];b=N[k+40>>2]|N[k+24>>2];c=N[k+44>>2]|N[k+28>>2];d=N[k>>2];e=N[k+4>>2];g=N[k+8>>2];f=N[k+12>>2];break d}b=0;c=0;break a}g=h;f=i&65535|t<<16}m=g|m;o=f|o;if(!(!b&(c|0)==-2147483648?!(p|r):(c|0)>0|(c|0)>=0)){b=d+1|0;j=b?e:e+1|0;e=o;c=j;d=!(j|b);m=d+m|0;o=d>>>0>m>>>0?e+1|0:e;break a}if(b|p|(c^-2147483648|r)){b=d;c=e;break a}f=e;b=d&1;c=b;b=b+d|0;c=c>>>0>b>>>0?f+1|0:f;d=(f|0)==(c|0)&b>>>0>>0|c>>>0>>0;f=o;m=d+m|0;o=m>>>0>>0?f+1|0:f}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=m;N[a+12>>2]=o;La=k+96|0}function Gj(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;i=La-32|0;La=i;if(!(e-d>>>0<2|d>>>0>=e>>>0)){E=N[c+80>>2];while(1){q=T(d,20);a:{if(1<>1]&7168){v=d;break a}g=d+1|0;h=e>>>0>g>>>0?e:g;j=h-1|0;m=d;while(1){b:{v=m;if((j|0)==(m|0)){v=j;m=h;break b}m=v+1|0;if(1<>1]&7168){continue}}break}j=N[c+68>>2];n=j>>>0>>0?j:m;x=n-d|0;c:{if(x>>>0<=1){o=N[c+80>>2];break c}l=N[c+144>>2]|32;N[c+144>>2]=l;o=N[c+80>>2];if(d>>>0>=n>>>0){break c}h=-1;j=d;z=n+(d^-1)|0;if(z>>>0>=3){A=x&-4;k=0;while(1){p=T(j,20)+o|0;s=N[p+8>>2];h=h>>>0>>0?h:s;s=N[p+28>>2];h=h>>>0>>0?h:s;s=N[p+48>>2];h=h>>>0>>0?h:s;p=N[p+68>>2];h=h>>>0

>>0?h:p;j=j+4|0;k=k+4|0;if((A|0)!=(k|0)){continue}break}}u=0;k=x&3;if(k){while(1){p=N[(T(j,20)+o|0)+8>>2];h=h>>>0

>>0?h:p;j=j+1|0;u=u+1|0;if((k|0)!=(u|0)){continue}break}}j=d;d:{if(!(x&1)){break d}k=o+q|0;j=g;if(N[k+8>>2]==(h|0)){break d}N[k+4>>2]=N[k+4>>2]|3;j=g}if(!z){break c}while(1){k=T(j,20)+o|0;if(N[k+8>>2]!=(h|0)){l=l|32;N[c+144>>2]=l;N[k+4>>2]=N[k+4>>2]|3}k=T(j+1|0,20)+o|0;if(N[k+8>>2]!=(h|0)){l=l|32;N[c+144>>2]=l;N[k+4>>2]=N[k+4>>2]|3}j=j+2|0;if((n|0)!=(j|0)){continue}break}}j=N[o+q>>2];N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;h=N[b+96>>2];k=N[h+72>>2];n=N[b+100>>2];h=N[h+12>>2];if(h){h=N[h+52>>2]}else{h=0}if(!(Qa[k|0](b,n,j,i,h)|0)){if(g>>>0>=m>>>0){break a}j=N[c+80>>2];if(!f){h=g;if(v-d&1){m=T(g,20);if((P[(m+j|0)+16>>1]&31)==12){m=m+N[c+88>>2]|0;N[m>>2]=0;N[m+4>>2]=0}h=d+2|0}if((g|0)==(v|0)){break a}while(1){d=T(h,20);if((P[(d+j|0)+16>>1]&31)==12){d=d+N[c+88>>2]|0;N[d>>2]=0;N[d+4>>2]=0}d=h+1|0;g=T(d,20);if((P[(g+j|0)+16>>1]&31)==12){g=g+N[c+88>>2]|0;N[g>>2]=0;N[g+4>>2]=0}h=h+2|0;if((d|0)!=(v|0)){continue}break}break a}while(1){d=T(g,20);if((P[(d+j|0)+16>>1]&31)==12){d=d+N[c+88>>2]|0;m=N[d+4>>2];N[d+4>>2]=0;h=N[d>>2];N[d>>2]=0;N[d+8>>2]=N[d+8>>2]-h;N[d+12>>2]=N[d+12>>2]-m}d=(g|0)==(v|0);g=g+1|0;if(!d){continue}break}break a}d=N[(q+N[c+88>>2]|0)+12>>2];o=0;N[i>>2]=0;N[i+4>>2]=d+N[i+4>>2];d=N[b+96>>2];j=N[d+40>>2];h=N[b+100>>2];k=N[q+N[c+80>>2]>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}h=Qa[j|0](b,h,k,d)|0;N[i+8>>2]=h;u=0;if((N[c+40>>2]&-3)==4){d=q+N[c+88>>2]|0;o=0-N[d+4>>2]|0;u=0-N[d>>2]|0}if(g>>>0>=m>>>0){break a}F=N[c+80>>2];d=q+F|0;D=O[d+14|0];w=O[d+12|0]&4?D&16?D&15:1:1;x=-1;q=255;B=0;p=N[i>>2];m=p;z=N[i+4>>2];k=z;j=h;A=N[i+12>>2];d=A;while(1){s=g;C=T(g,20);g=F+C|0;n=P[g+16>>1];e:{if(!(n>>>0<256|!(1<>>0<2){break f}g=O[g+14|0];l=g&16?0:g&15;l=D>>>0<32?w:(g^D)>>>0>31?w:l>>>0>w>>>0?w:l;g=l-1|0;if((g|0)==(x|0)){break f}A=N[i+12>>2];h=N[i+8>>2];z=N[i+4>>2];q=N[i>>2];g:{if(B){break g}B=N[a>>2];if((B&-2)==4){break g}B=sh(N[a+4>>2])}p=q+((T(h,(B|0)==4?g:w-l|0)|0)/(w|0)|0)|0;h=(h|0)/(w|0)|0;q=255;x=g}g=n>>>8|0;if((g|0)!=(q|0)){j=h;k=z;m=p;q=g;d=A}n=N[N[c+80>>2]+C>>2];N[i+24>>2]=0;N[i+28>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;l=N[b+96>>2];r=N[l+72>>2];t=N[b+100>>2];y=i+16|0;l=N[l+12>>2];if(l){l=N[l+52>>2]}else{l=0}h:{if(!(Qa[r|0](b,t,n,y,l)|0)){l=N[c+88>>2];break h}r=N[b+32>>2];l=N[c+88>>2];n=C+l|0;N[n+12>>2]=0;t=(r|0)/16|0;i:{j:{k:{l:{m:{g=g-200|0;switch(g|0){case 16:case 22:case 32:break j;case 0:case 18:case 28:break k;case 33:case 34:break m;default:break l}}n:{switch(N[c+40>>2]-4|0){case 0:y=((j+m|0)+(N[i+24>>2]/-2|0)|0)-N[i+16>>2]|0;break i;case 1:break n;default:break l}}y=((N[i+24>>2]/-2|0)+m|0)-N[i+16>>2]|0;break i}y=(m-N[i+16>>2]|0)+((j-N[i+24>>2]|0)/2|0)|0;break i}y=m-N[i+16>>2]|0;break i}y=j+m-(N[i+24>>2]+N[i+16>>2])|0}N[n+8>>2]=y;o:{switch(g|0){case 18:case 20:case 22:case 33:d=d-t|0;case 0:case 2:g=(d+k|0)-N[i+20>>2]|0;r=(r|0)<16^(g|0)>0;N[n+12>>2]=r?0:g;d=(N[i+28>>2]+d|0)-(r?g:0)|0;break h;case 28:case 30:case 32:case 34:d=d-t|0;k=k+t|0;break;case 14:case 16:break o;default:break h}}t=(r|0)<16;r=N[i+28>>2];g=k-(r+N[i+20>>2]|0)|0;if(!(t^(g|0)>0)){t=(g|0)/-2|0;g=t+g|0;k=k+t|0;d=d-t|0}N[n+12>>2]=g;d=d+r|0;k=k-r|0}g=l+C|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=N[g+8>>2]+u;N[g+12>>2]=N[g+12>>2]+o;break e}n=N[c+88>>2]+C|0;g=N[n+4>>2];n=N[n>>2];if((N[c+40>>2]&-3)==4){o=o-g|0;u=u-n|0;break e}o=g+o|0;u=n+u|0}g=s+1|0;if((v|0)!=(s|0)){continue}break}}d=v+1|0;if(e>>>0>d>>>0){continue}break}}La=i+32|0}function Mf(a,b,c,d,e){var 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,t=0,u=0,v=0;k=La-80|0;La=k;a:{b:{c:{if(O[a|0]){N[a+4>>2]=-1;h=N[a+28>>2];g=N[e+28>>2];N[k+76>>2]=0;N[k+68>>2]=0;N[k+72>>2]=0;d:{e:{f:{g:{h:{if(!c){f=(h|0)>0;t=f?h:0;if(f){while(1){p=((p>>>1|0)+p|0)+8|0;if(t>>>0>=p>>>0){continue}break}if(p>>>0>1073741823){break h}f=kb(p<<2);if(!f){break h}N[k+68>>2]=p;N[k+76>>2]=f;C(f,0,t<<2);p=f}N[k+72>>2]=t}i:{if(!h|!g){break i}while(1){o=N[a+16>>2];r=o>>>0>i>>>0;j:{if(!r){N[147456]=0;N[147457]=0;f=0;break j}f=N[N[a+20>>2]+(i<<3)>>2]}q=f;f=Q[e+16>>2]<=m>>>0?275552:N[e+20>>2]+(m<<3)|0;j=N[f>>2];k:{if((q|0)==(j|0)){if(!c){if(i>>>0>l>>>0){l:{if(!r){N[147456]=0;N[147457]=0;f=589824;break l}f=N[a+20>>2]+(i<<3)|0}m:{if(l>>>0>=o>>>0){N[147456]=0;N[147457]=0;o=589824;break m}o=N[a+20>>2]+(l<<3)|0}j=o;o=N[f+4>>2];N[j>>2]=N[f>>2];N[j+4>>2]=o}l=l+1|0}m=m+1|0;i=i+1|0;n=n+1|0;break k}n:{if(!r){N[147456]=0;N[147457]=0;j=N[f>>2];f=0;break n}f=N[N[a+20>>2]+(i<<3)>>2]}if(f>>>0>>0){i=i+1|0;n=c+n|0;break k}m=m+1|0;n=d+n|0}if(h>>>0<=i>>>0){break i}if(g>>>0>m>>>0){continue}break}}o=((c?h-i|0:0)+n|0)+(d?g-m|0:0)|0;if(!c){Ij(a,k+68|0,l);h=l}if(!Df(a,o)){break e}q=(g|0)!=0;m=(h|0)!=0;if(!h|!g){break g}i=o;n=h;while(1){l=g-1|0;m=l<<3;r=m+N[e+20>>2]|0;v=N[r>>2];u=N[a+20>>2];f=h-1|0;q=f<<3;s=u+q|0;j=N[s>>2];o:{p:{if((v|0)==(j|0)){h=N[s+4>>2];i=i-1|0;j=i<<3;g=j+u|0;N[g>>2]=N[s>>2];N[g+4>>2]=h;if(f>>>0>=Q[a+16>>2]){break b}if(l>>>0>=Q[e+16>>2]){break a}Qa[b|0](k,N[a+32>>2]+(N[(q+N[a+20>>2]|0)+4>>2]<<6)|0,N[e+32>>2]+(N[(m+N[e+20>>2]|0)+4>>2]<<6)|0);if(Q[a+16>>2]<=i>>>0){break b}h=N[k+4>>2];g=N[a+32>>2]+(N[(j+N[a+20>>2]|0)+4>>2]<<6)|0;N[g>>2]=N[k>>2];N[g+4>>2]=h;h=N[k+60>>2];N[g+56>>2]=N[k+56>>2];N[g+60>>2]=h;h=N[k+52>>2];N[g+48>>2]=N[k+48>>2];N[g+52>>2]=h;h=N[k+44>>2];N[g+40>>2]=N[k+40>>2];N[g+44>>2]=h;h=N[k+36>>2];N[g+32>>2]=N[k+32>>2];N[g+36>>2]=h;h=N[k+28>>2];N[g+24>>2]=N[k+24>>2];N[g+28>>2]=h;h=N[k+20>>2];N[g+16>>2]=N[k+16>>2];N[g+20>>2]=h;h=N[k+12>>2];N[g+8>>2]=N[k+8>>2];N[g+12>>2]=h;h=f;break p}if(j>>>0>v>>>0){if(!c){h=f;break o}h=N[s+4>>2];i=i-1|0;l=(i<<3)+u|0;N[l>>2]=N[s>>2];N[l+4>>2]=h;h=f;break o}if(!d){break p}i=i-1|0;f=(i<<3)+u|0;N[f+4>>2]=n;N[f>>2]=v;if(l>>>0>=Q[e+16>>2]){break a}if(Q[a+16>>2]<=i>>>0){break b}j=N[e+32>>2]+(N[r+4>>2]<<6)|0;f=N[j+4>>2];g=N[a+32>>2]+(n<<6)|0;N[g>>2]=N[j>>2];N[g+4>>2]=f;f=N[j+60>>2];N[g+56>>2]=N[j+56>>2];N[g+60>>2]=f;f=N[j+52>>2];N[g+48>>2]=N[j+48>>2];N[g+52>>2]=f;f=N[j+44>>2];N[g+40>>2]=N[j+40>>2];N[g+44>>2]=f;f=N[j+36>>2];N[g+32>>2]=N[j+32>>2];N[g+36>>2]=f;f=N[j+28>>2];N[g+24>>2]=N[j+24>>2];N[g+28>>2]=f;f=N[j+20>>2];N[g+16>>2]=N[j+16>>2];N[g+20>>2]=f;f=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=f;n=n+1|0}g=l}q=(g|0)!=0;m=(h|0)!=0;if(!h){break f}if(g){continue}break}break f}N[k+68>>2]=-1;p=0;L[a|0]=0;break d}n=h;i=o}q:{if(!m|!c){break q}j=h-1|0;l=h&3;if(l){m=0;while(1){b=N[a+20>>2];i=i-1|0;f=b+(i<<3)|0;h=h-1|0;c=b+(h<<3)|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;m=m+1|0;if((l|0)!=(m|0)){continue}break}}if(j>>>0<3){break q}while(1){j=i<<3;b=N[a+20>>2];f=(j+b|0)-8|0;l=h<<3;c=(l+b|0)-8|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];f=(b+j|0)-16|0;c=(b+l|0)-16|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];f=(b+j|0)-24|0;c=(b+l|0)-24|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];i=i-4|0;f=b+(i<<3)|0;h=h-4|0;c=b+(h<<3)|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;if(h){continue}break}}if((d&q)==1){while(1){g=g-1|0;d=N[e+20>>2]+(g<<3)|0;c=N[d>>2];i=i-1|0;b=N[a+20>>2]+(i<<3)|0;N[b+4>>2]=n;N[b>>2]=c;if(Q[e+16>>2]<=g>>>0){break a}if(Q[a+16>>2]<=i>>>0){break b}d=N[e+32>>2]+(N[d+4>>2]<<6)|0;b=N[d+4>>2];c=N[a+32>>2]+(n<<6)|0;N[c>>2]=N[d>>2];N[c+4>>2]=b;b=N[d+60>>2];N[c+56>>2]=N[d+56>>2];N[c+60>>2]=b;b=N[d+52>>2];N[c+48>>2]=N[d+48>>2];N[c+52>>2]=b;b=N[d+44>>2];N[c+40>>2]=N[d+40>>2];N[c+44>>2]=b;b=N[d+36>>2];N[c+32>>2]=N[d+32>>2];N[c+36>>2]=b;b=N[d+28>>2];N[c+24>>2]=N[d+24>>2];N[c+28>>2]=b;b=N[d+20>>2];N[c+16>>2]=N[d+16>>2];N[c+20>>2]=b;b=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=b;n=n+1|0;if(g){continue}break}}if(i){break c}Df(a,o)}if(!t){break d}N[k+72>>2]=0}_a(p)}La=k+80|0;return}ba(8946,14083,586,18452);B()}ba(13997,14083,950,9755);B()}ba(13997,14083,955,9755);B()}function _p(a,b){var 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;k=(b<<4)+a|0;if(b>>>0>9){while(1){j=N[a+16>>2];g=(b<<3&-16)+a|0;i=N[g>>2];d=N[a+20>>2];c=N[g+4>>2];f=bb(j,i,c>>>0>d>>>0?d:c);c=((f?f:d-c|0)|0)>0;e=(b<<4)-16|0;f=e+a|0;l=f-16|0;m=N[l>>2];n=a+16|0;b=c?n:g;h=N[b+4>>2];d=N[f-12>>2];o=bb(c?j:i,m,d>>>0>h>>>0?h:d);if(((o?o:h-d|0)|0)>0){g=c?g:n;b=N[g+4>>2];c=bb(c?i:j,m,b>>>0>>0?b:d);b=((c?c:b-d|0)|0)>0?g:l}if((b|0)!=(f|0)){d=O[b|0];L[b|0]=O[f|0];L[f|0]=d;d=O[b+1|0];L[b+1|0]=O[f+1|0];L[f+1|0]=d;d=O[b+2|0];L[b+2|0]=O[f+2|0];L[f+2|0]=d;d=O[b+3|0];L[b+3|0]=O[f+3|0];L[f+3|0]=d;d=O[b+4|0];L[b+4|0]=O[f+4|0];L[f+4|0]=d;d=O[b+5|0];L[b+5|0]=O[f+5|0];L[f+5|0]=d;d=O[b+6|0];L[b+6|0]=O[f+6|0];L[f+6|0]=d;d=O[b+7|0];L[b+7|0]=O[f+7|0];L[f+7|0]=d;d=O[b+8|0];L[b+8|0]=O[f+8|0];L[f+8|0]=d;d=O[b+9|0];L[b+9|0]=O[f+9|0];L[f+9|0]=d;d=O[b+10|0];L[b+10|0]=O[f+10|0];L[f+10|0]=d;d=O[b+11|0];L[b+11|0]=O[f+11|0];L[f+11|0]=d;d=O[b+12|0];L[b+12|0]=O[f+12|0];L[f+12|0]=d;d=O[b+13|0];L[b+13|0]=O[f+13|0];L[f+13|0]=d;d=O[b+14|0];L[b+14|0]=O[f+14|0];L[f+14|0]=d;d=O[b+15|0];L[b+15|0]=O[f+15|0];L[f+15|0]=d}a:{if((e|0)<=0){h=0;break a}j=f;g=f;d=a;b=d;while(1){b:{c=N[b+4>>2];e=N[f+4>>2];i=bb(N[b>>2],N[f>>2],c>>>0>>0?c:e);c=i?i:c-e|0;if((c|0)<=0){if(!c){if(b>>>0>d>>>0){c=O[d|0];L[d|0]=O[b|0];L[b|0]=c;c=O[d+1|0];L[d+1|0]=O[b+1|0];L[b+1|0]=c;c=O[d+2|0];L[d+2|0]=O[b+2|0];L[b+2|0]=c;c=O[d+3|0];L[d+3|0]=O[b+3|0];L[b+3|0]=c;c=O[d+4|0];L[d+4|0]=O[b+4|0];L[b+4|0]=c;c=O[d+5|0];L[d+5|0]=O[b+5|0];L[b+5|0]=c;c=O[d+6|0];L[d+6|0]=O[b+6|0];L[b+6|0]=c;c=O[d+7|0];L[d+7|0]=O[b+7|0];L[b+7|0]=c;c=O[d+8|0];L[d+8|0]=O[b+8|0];L[b+8|0]=c;c=O[d+9|0];L[d+9|0]=O[b+9|0];L[b+9|0]=c;c=O[d+10|0];L[d+10|0]=O[b+10|0];L[b+10|0]=c;c=O[d+11|0];L[d+11|0]=O[b+11|0];L[b+11|0]=c;c=O[d+12|0];L[d+12|0]=O[b+12|0];L[b+12|0]=c;c=O[d+13|0];L[d+13|0]=O[b+13|0];L[b+13|0]=c;c=O[d+14|0];L[d+14|0]=O[b+14|0];L[b+14|0]=c;c=O[d+15|0];L[d+15|0]=O[b+15|0];L[b+15|0]=c}d=d+16|0}b=b+16|0;if(g>>>0>b>>>0){continue}break b}c:{if(b>>>0>=g>>>0){break c}while(1){i=g;d:{e:{g=g-16|0;c=i-12|0;e=N[c>>2];h=N[f+4>>2];l=bb(N[g>>2],N[f>>2],e>>>0>>0?e:h);e=l?l:e-h|0;if(!e){e=j-16|0;if(i>>>0>=j>>>0){break e}c=g;h=e;while(1){j=O[c|0];L[c|0]=O[h|0];L[h|0]=j;h=h+1|0;c=c+1|0;if(i>>>0>c>>>0){continue}break}break e}if((e|0)>=0){break d}if(b>>>0>>0){e=O[b|0];L[b|0]=O[g|0];L[g|0]=e;e=O[b+1|0];h=i-15|0;L[b+1|0]=O[h|0];L[h|0]=e;e=O[b+2|0];h=i-14|0;L[b+2|0]=O[h|0];L[h|0]=e;e=O[b+3|0];h=i-13|0;L[b+3|0]=O[h|0];L[h|0]=e;e=O[b+4|0];L[b+4|0]=O[c|0];L[c|0]=e;c=O[b+5|0];e=i-11|0;L[b+5|0]=O[e|0];L[e|0]=c;c=O[b+6|0];e=i-10|0;L[b+6|0]=O[e|0];L[e|0]=c;c=O[b+7|0];e=i-9|0;L[b+7|0]=O[e|0];L[e|0]=c;c=O[b+8|0];e=i-8|0;L[b+8|0]=O[e|0];L[e|0]=c;c=O[b+9|0];e=i-7|0;L[b+9|0]=O[e|0];L[e|0]=c;c=O[b+10|0];e=i-6|0;L[b+10|0]=O[e|0];L[e|0]=c;c=O[b+11|0];e=i-5|0;L[b+11|0]=O[e|0];L[e|0]=c;c=O[b+12|0];e=i-4|0;L[b+12|0]=O[e|0];L[e|0]=c;c=O[b+13|0];e=i-3|0;L[b+13|0]=O[e|0];L[e|0]=c;c=O[b+14|0];e=i-2|0;L[b+14|0]=O[e|0];L[e|0]=c;c=O[b+15|0];e=i-1|0;L[b+15|0]=O[e|0];L[e|0]=c}b=b+16|0;break c}j=e}if(b>>>0>>0){continue}break}}if(b>>>0>>0){continue}}break}e=g-d|0;f:{if((a|0)==(d|0)|(d|0)==(g|0)){break f}b=d-a|0;if(b>>>0>e>>>0){if((e|0)<=0){break f}d=a+e|0;b=a+b|0;c=a;while(1){f=O[c|0];L[c|0]=O[b|0];L[b|0]=f;b=b+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}break f}if((b|0)<=0){break f}d=a+b|0;b=a+e|0;c=a;while(1){f=O[c|0];L[c|0]=O[b|0];L[b|0]=f;b=b+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}}h=j-g|0;if((g|0)==(j|0)|(j|0)==(k|0)){break a}b=k-j|0;if(b>>>0>>0){if((b|0)<=0){break a}d=b+g|0;b=g+h|0;while(1){c=O[g|0];L[g|0]=O[b|0];L[b|0]=c;b=b+1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}break a}if((h|0)<=0){break a}d=g+h|0;b=b+g|0;while(1){c=O[g|0];L[g|0]=O[b|0];L[b|0]=c;b=b+1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}_p(a,e>>>4|0);a=k-h|0;k=a+(h&-16)|0;b=h>>>4|0;if(h>>>0>=160){continue}break}}e=a+16|0;if(k>>>0>e>>>0){while(1){d=e;g:{if(d>>>0<=a>>>0){break g}while(1){g=d-16|0;b=N[d-12>>2];c=N[d+4>>2];f=bb(N[g>>2],N[d>>2],b>>>0>>0?b:c);if(((f?f:b-c|0)|0)<=0){break g}b=g;c=d;while(1){f=O[b|0];L[b|0]=O[c|0];L[c|0]=f;c=c+1|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}d=g;if(d>>>0>a>>>0){continue}break}}e=e+16|0;if(k>>>0>e>>>0){continue}break}}}function hg(a){var 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;c=0;a:{if(!a){break a}n=N[a+12>>2];d=n>>31;l=N[a+8>>2];c=l>>31;m=N[a+4>>2];b=m>>31;g=N[a>>2];a=g>>31;j=(d^n)-d|0;p=(c^l)-c|0;o=(b^m)-b|0;h=(a^g)-a|0;a=(h|0)<(o|0)?o:h;a=(a|0)<(p|0)?p:a;c=(a|0)<(j|0)?j:a;if(c>>>0>=23171){b:{c:{d:{if(c>>>0<=65535){a=((c<<16|11584)>>>0)/23170|0;k=a;break d}a=2147483647;k=2147483647;if(c>>>0>1518469119){break d}b=c<<16|11585;a=c>>>16|0;d=W(a);e=32-d|0;a=b>>>e|a<>>0)/23170|0;f=T(k,-23170)+a|0;a=b<>>31;b=c>>>0>23169;f=(b?-23170:0)+c|0;k=b|k<<1;e=31-d|0;a=a<<1}if((d|0)!=31){while(1){b=f<<1|a>>>31;d=b>>>0>23169;c=a>>>30&1|(d?2147460478:0)+b<<1;b=c>>>0>23169;f=(b?-23170:0)+c|0;k=b|(k<<2|d<<1);a=a<<2;e=e-2|0;if(e){continue}break}}if(!k){break c}a=k>>31;a=(a^k)-a|0}b=g?(h|0)==2147483647?2147483647:h:2147483647;b=m?b>>>0>o>>>0?o:b:b;b=l?b>>>0>p>>>0?p:b:b;d=n?b>>>0>j>>>0?j:b:b;p=a>>>17^65535;e:{if(d>>>0<=p>>>0){i=((d<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}i=2147483647;b=a>>>1|0;c=b+(d<<16)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;if(b>>>0>=a>>>0){break e}d=W(b);f=32-d|0;b=c>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,i)|0;e=c<>>31;c=b>>>0>=a>>>0;i=c|i<<1;f=31-d|0;e=e<<1;j=b-(c?a:0)|0}if((d|0)==31){break e}while(1){b=j<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;j=b-(c?a:0)|0;i=c|(i<<2|d<<1);e=e<<2;f=f-2|0;if(f){continue}break}}c=0;if(!((k|0)<0?0-i|0:i)){break a}b=g>>31;d=(b^g)-b|0;f:{if(d>>>0<=p>>>0){i=((d<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;c=(g|0)>=0;b=c?1:-1;if((k|0)>=0){break f}b=c?-1:1;break f}i=2147483647;b=a>>>1|0;c=b+(d<<16)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;g:{if(b>>>0>=a>>>0){break g}d=W(b);f=32-d|0;b=c>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,i)|0;e=c<>>31;c=b>>>0>=a>>>0;i=c|i<<1;f=31-d|0;e=e<<1;j=b-(c?a:0)|0}if((d|0)==31){break g}while(1){b=j<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;j=b-(c?a:0)|0;i=c|(i<<2|d<<1);e=e<<2;f=f-2|0;if(f){continue}break}}c=(g|0)>=0;b=c?1:-1;if((k|0)>=0){break f}b=c?-1:1}c=m>>31;h=(c^m)-c|0;h:{if(h>>>0<=p>>>0){c=l>>31;e=(c^l)-c|0;d=((h<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;c=(m|0)<0?d:0-d|0;if((k|0)<0){break h}c=(m|0)<0?0-d|0:d;break h}g=2147483647;c=a>>>1|0;d=c+(h<<16)|0;c=(h>>>16|0)+(c>>>0>d>>>0)|0;i:{if(c>>>0>=a>>>0){break i}h=W(c);f=32-h|0;c=d>>>f|c<>>0)/(a>>>0)|0;j=c-T(a,g)|0;e=d<>>31;d=c>>>0>=a>>>0;g=d|g<<1;f=31-h|0;e=e<<1;j=c-(d?a:0)|0}if((h|0)==31){break i}while(1){c=j<<1|e>>>31;h=c>>>0>=a>>>0;c=e>>>30&1|c-(h?a:0)<<1;d=c>>>0>=a>>>0;j=c-(d?a:0)|0;g=d|(g<<2|h<<1);e=e<<2;f=f-2|0;if(f){continue}break}}c=l>>31;e=(c^l)-c|0;c=(m|0)<0?g:0-g|0;if((k|0)<0){break h}c=(m|0)<0?0-g|0:g}m=c;d=(b|0)<0;c=0-i|0;j:{if(e>>>0<=p>>>0){h=((e<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;b=n>>31;e=(b^n)-b|0;b=(l|0)<0?h:0-h|0;if((k|0)<0){break j}b=(l|0)<0?0-h|0:h;break j}g=2147483647;b=a>>>1|0;h=b+(e<<16)|0;b=(e>>>16|0)+(b>>>0>h>>>0)|0;k:{if(b>>>0>=a>>>0){break k}o=W(b);f=32-o|0;b=h>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,g)|0;e=h<>>31;h=b>>>0>=a>>>0;g=h|g<<1;f=31-o|0;e=e<<1;j=b-(h?a:0)|0}if((o|0)==31){break k}while(1){b=j<<1|e>>>31;o=b>>>0>=a>>>0;b=e>>>30&1|b-(o?a:0)<<1;h=b>>>0>=a>>>0;j=b-(h?a:0)|0;g=h|(g<<2|o<<1);e=e<<2;f=f-2|0;if(f){continue}break}}b=n>>31;e=(b^n)-b|0;b=(l|0)<0?g:0-g|0;if((k|0)<0){break j}b=(l|0)<0?0-g|0:g}l=b;g=d?c:i;if(e>>>0<=p>>>0){i=((e<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;a=(n|0)>=0;b=a?1:-1;if((k|0)>=0){break b}b=a?-1:1;break b}i=2147483647;b=a>>>1|0;c=b+(e<<16)|0;b=(e>>>16|0)+(b>>>0>c>>>0)|0;l:{if(b>>>0>=a>>>0){break l}d=W(b);f=32-d|0;b=c>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,i)|0;e=c<>>31;c=b>>>0>=a>>>0;i=c|i<<1;f=31-d|0;e=e<<1;j=b-(c?a:0)|0}if((d|0)==31){break l}while(1){b=j<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;j=b-(c?a:0)|0;i=c|(i<<2|d<<1);e=e<<2;f=f-2|0;if(f){continue}break}}a=(n|0)>=0;b=a?1:-1;if((k|0)>=0){break b}b=a?-1:1;break b}i=2147483647;l=(l|0)<0?-2147483647:2147483647;m=(m|0)<0?-2147483647:2147483647;g=(g|0)<0?-2147483647:2147483647;b=n>>31|1}n=(b|0)<0?0-i|0:i}b=T(g,n);a=T(l,m);c=0;if((b|0)==(a|0)){break a}a=b-a|0;b=a>>31;c=(((T(g,g)+T(m,m)|0)+T(l,l)|0)+T(n,n)>>>0)/((a^b)-b>>>0)>>>0<51}return c}function we(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;k=La+-64|0;La=k;l=N[a>>2];a:{b:{c:{if(O[a+257|0]){s=N[l- -64>>2];t=N[l+56>>2];m=N[l+168>>2];o=N[m+36>>2];y=N[l+144>>2];z=N[m+40>>2];H=N[l+140>>2];I=N[a+252>>2];r=N[a+248>>2];l=N[b+8>>2];m=N[a+240>>2];p=N[b>>2];v=N[a+244>>2];w=N[b+4>>2];a=N[b+12>>2];N[k+12>>2]=a;N[k>>2]=0;N[k+4>>2]=0;n=m;m=c+p|0;c=n-m|0;p=(c|0)<(l|0)?c:l;N[k+8>>2]=p;A=(a|0)>0;q=A&(p|0)>0;n=(q<<4)+k|0;p=d+w|0;d=v-p|0;v=(a|0)>(d|0)?d:a;N[n+12>>2]=v;d=r-m|0;r=(d|0)<(l|0)?d:l;N[n+8>>2]=r;N[n+4>>2]=0;w=n;n=(c|0)>0?c:0;N[w>>2]=n;w=(v|0)>0?q?2:1:q;c=q;q=(n|0)<(r|0);v=q?w:c;c=(v<<4)+k|0;N[c+12>>2]=a;N[c+8>>2]=r;r=I-p|0;r=(r|0)>0?r:0;N[c+4>>2]=r;N[c>>2]=n;q=v+(q&(a|0)>(r|0))|0;c=(q<<4)+k|0;N[c+12>>2]=a;N[c+8>>2]=l;N[c+4>>2]=0;a=(d|0)>0?d:0;N[c>>2]=a;C=+(H|0);u=+(z|0);D=+(t|0);x=C*0/u+D;d:{if(V(x)<2147483648){c=~~x;break d}c=-2147483648}d=(a|0)<(l|0);E=+(y|0);x=+(o|0);F=+(s|0);G=E*0/x+F;e:{if(V(G)<2147483648){a=~~G;break e}a=-2147483648}d=d&A;u=C*u/u+D;f:{if(V(u)<2147483648){l=~~u;break f}l=-2147483648}r=d+q|0;u=E*x/x+F;g:{if(V(u)<2147483648){d=~~u;break g}d=-2147483648}if(!r){break b}q=a-m|0;n=N[k>>2];N[k>>2]=(a|0)>(m+n|0)?q:n;n=c-p|0;s=N[k+4>>2];N[k+4>>2]=(c|0)>(p+s|0)?n:s;s=d-m|0;t=N[k+8>>2];N[k+8>>2]=(d|0)<(m+t|0)?s:t;t=l-p|0;o=N[k+12>>2];N[k+12>>2]=(l|0)<(p+o|0)?t:o;if((r|0)==1){break c}o=N[k+20>>2];N[k+20>>2]=(c|0)>(p+o|0)?n:o;o=N[k+24>>2];N[k+24>>2]=(d|0)<(m+o|0)?s:o;o=N[k+28>>2];N[k+28>>2]=(l|0)<(p+o|0)?t:o;o=N[k+16>>2];N[k+16>>2]=(a|0)>(m+o|0)?q:o;if((r|0)==2){break c}o=N[k+36>>2];N[k+36>>2]=(c|0)>(p+o|0)?n:o;o=N[k+40>>2];N[k+40>>2]=(d|0)<(m+o|0)?s:o;o=N[k+44>>2];N[k+44>>2]=(l|0)<(p+o|0)?t:o;o=N[k+32>>2];N[k+32>>2]=(a|0)>(m+o|0)?q:o;if((r|0)==3){break c}w=n;n=N[k+52>>2];N[k+52>>2]=(c|0)>(p+n|0)?w:n;c=N[k+56>>2];N[k+56>>2]=(d|0)<(c+m|0)?s:c;c=N[k+60>>2];N[k+60>>2]=(l|0)<(c+p|0)?t:c;c=N[k+48>>2];N[k+48>>2]=(a|0)>(c+m|0)?q:c;break c}m=N[a+252>>2];p=(m|0)>0?m:0;m=N[l+136>>2];q=N[b+4>>2]+d|0;d=((m|0)>(p|0)?p:m)-q|0;p=N[b+12>>2];n=(d|0)<(p|0)?d:p;d=N[a+244>>2];d=(d|0)>0?d:0;d=q-((d|0)<(m|0)?d:m)|0;m=d>>31&0-d;if((n|0)<=(m|0)){break b}p=N[b>>2]+c|0;c=N[a+240>>2];c=(c|0)>0?c:0;d=N[l+132>>2];c=p-((c|0)<(d|0)?c:d)|0;c=c>>31&0-c;a=N[a+248>>2];a=(a|0)>0?a:0;a=((a|0)<(d|0)?a:d)-p|0;d=N[b+8>>2];l=(a|0)<(d|0)?a:d;if((c|0)>=(l|0)){break b}d=g-p|0;if((c|0)<(d|0)){s=N[b+20>>2];r=N[b+16>>2];g=c+(s+T(r,m)|0)|0;a=kb(48);if(!a){if(!s|j){break b}_a(N[g-4>>2]);break b}N[a+36>>2]=j;N[a+16>>2]=e;N[a+12>>2]=g;N[a+8>>2]=r;N[a+24>>2]=m+q;N[a+20>>2]=c+p;N[a+4>>2]=n-m;d=(d|0)<(l|0)?d:l;N[a>>2]=d-c;if(j){if(!N[j-8>>2]){break a}e=j-4|0;g=N[e>>2];if(!g){break a}N[e>>2]=g+1;g=0}N[a+44>>2]=0;N[a+40>>2]=g;N[a+32>>2]=i;N[h>>2]=a;h=a+28|0}if((d|0)>=(l|0)){break b}g=N[b+20>>2];e=N[b+16>>2];b=(c|0)<(d|0)?d:c;d=(g+T(e,m)|0)+b|0;a=kb(48);if(!a){if(!g|j){break b}_a(N[d-4>>2]);break b}N[a+36>>2]=j;N[a+16>>2]=f;N[a+12>>2]=d;N[a+8>>2]=e;N[a+24>>2]=m+q;N[a+20>>2]=b+p;N[a+4>>2]=n-m;N[a>>2]=l-b;h:{if(j){if(!N[j-8>>2]){break h}b=j-4|0;c=N[b>>2];if(!c){break h}N[b>>2]=c+1;d=0}N[a+44>>2]=0;N[a+40>>2]=d;N[a+32>>2]=i;N[h>>2]=a;h=a+28|0;break b}break a}c=g-m|0;s=j-4|0;o=j-8|0;a=0;while(1){d=(a<<4)+k|0;t=N[d+8>>2];q=N[d>>2];i:{if((t|0)<=(q|0)){break i}y=N[d+12>>2];n=N[d+4>>2];if((y|0)<=(n|0)){break i}j:{k:{l:{if((c|0)<=(q|0)){g=c;break l}g=N[b+16>>2];l=q+(N[b+20>>2]+T(g,n)|0)|0;d=kb(48);if(!d){if(!j){break k}break b}N[d+36>>2]=j;N[d+16>>2]=e;N[d+12>>2]=l;N[d+8>>2]=g;N[d+24>>2]=p+n;N[d+20>>2]=m+q;N[d+4>>2]=y-n;g=(c|0)<(t|0)?c:t;N[d>>2]=g-q;if(j){if(!N[o>>2]){break a}l=N[s>>2];if(!l){break a}N[s>>2]=l+1;l=0}N[d+44>>2]=0;N[d+40>>2]=l;N[d+32>>2]=i;N[h>>2]=d;h=d+28|0}if((g|0)>=(t|0)){break i}g=(g|0)>(q|0)?g:q;z=N[b+16>>2];l=g+(N[b+20>>2]+T(z,n)|0)|0;d=kb(48);if(d){break j}if(j){break b}}if(!l){break b}_a(N[l-4>>2]);break b}N[d+36>>2]=j;N[d+16>>2]=f;N[d+12>>2]=l;N[d+8>>2]=z;N[d+24>>2]=p+n;N[d+20>>2]=g+m;N[d+4>>2]=y-n;N[d>>2]=t-g;if(j){if(!N[o>>2]){break a}g=N[s>>2];if(!g){break a}N[s>>2]=g+1;l=0}N[d+44>>2]=0;N[d+40>>2]=l;N[d+32>>2]=i;N[h>>2]=d;h=d+28|0}a=a+1|0;if((r|0)!=(a|0)){continue}break}}La=k- -64|0;return h}ba(8916,18290,435,15229);B()}function Of(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1195656518,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{d=N[c>>2];if(d){if((d|0)<=0){break j}N[c>>2]=d+1}L[e+28|0]=0;N[e+36>>2]=c;f=N[c+12>>2];N[e+8>>2]=f;g=N[c+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break i}if(g>>>0>67108863){h=1073741819}else{d=g<<6;d=d>>>0<=16384?16384:d;h=(d>>>0>=1073741823?1073741823:d)-4|0}N[e+24>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;d=c;if(!f){break c}if(g>>>0<4){break g}N[e+16>>2]=h;if((O[f|0]|O[f+1|0]<<8)!=256){break h}if(ch(f,e+4|0)){break h}if(O[e+28|0]|!N[e+32>>2]){break g}if(!zb(c)){break g}while(1){L[e+28|0]=1;d=N[e+36>>2];f=N[d+12>>2];N[e+8>>2]=f;g=N[d+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break i}if(g>>>0>67108863){h=1073741823}else{h=g<<6;h=h>>>0<=16384?16384:h;h=h>>>0>=1073741823?1073741823:h}N[e+24>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;if(!f){break c}if(g>>>0<4){break g}N[e+16>>2]=h-4;if((O[f|0]|O[f+1|0]<<8)!=256){break h}if(ch(f,e+4|0)){break h}if(O[e+28|0]|!N[e+32>>2]){break g}d=zb(c);N[e+8>>2]=d;N[e+12>>2]=d+N[c+16>>2];if(d){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[e+32>>2]){break f}N[e+32>>2]=0;if(Q[e+8>>2]>f>>>0){break g}d=N[e+12>>2];if(d>>>0>>0|d-f>>>0<4){break g}d=N[e+16>>2]-4|0;N[e+16>>2]=d;if((d|0)<=0){break g}if((O[f|0]|O[f+1|0]<<8)!=256){break f}d=ch(f,e+4|0);if(N[e+32>>2]){break g}ab(N[e+36>>2]);if(d){break e}break d}ab(N[e+36>>2]);break d}ab(N[e+36>>2])}if(!N[c+4>>2]){break b}N[c+4>>2]=0;break b}ab(c);c=275552;break b}ab(d)}N[a>>2]=c;c=N[c+16>>2];d=N[Vb(b+144|0)>>2];d=N[(d?d:275552)+16>>2];f=d>>>11|0;b=N[mc(b+148|0)>>2];d=N[(b?b:275552)+16>>2]|d<<21;b=c<<10|f;c=b;k:{l:{if((c|0)<=987147&d>>>0<=2743134887|(c|0)<987147){if((c|0)<=452609&d>>>0<=1732289589|(c|0)<452609){if((c|0)<=196614&d>>>0<=843062357|(c|0)<196614){if((c|0)<=192512&d>>>0<=553651553|(c|0)<192512){if((d|0)==1606425686&(c|0)==184326|(d|0)==520097548&(c|0)==192512){break l}break k}if((d|0)==553651554&(c|0)==192512|(d|0)==734010454&(c|0)==196614){break l}break k}if((c|0)<=440321&d>>>0<=1732288213|(c|0)<440321){if((d|0)==843062358&(c|0)==196614|(d|0)==1732286926&(c|0)==440321){break l}break k}if((d|0)==1732288214&(c|0)==440321|(d|0)==1732286668&(c|0)==452609){break l}break k}if((c|0)<=864259&d>>>0<=2428547489|(c|0)<864259){if((c|0)<=501761&d>>>0<=2092999333|(c|0)<501761){if((d|0)==1732289590&(c|0)==452609|(d|0)==2092999598&(c|0)==489473){break l}break k}if((d|0)==2092999334&(c|0)==501761|(d|0)==-1820280774&(c|0)==851971){break l}break k}if((c|0)<=931846&d>>>0<=583055987|(c|0)<931846){if((d|0)==-1866419806&(c|0)==864259|(d|0)==557888902&(c|0)==919558){break l}break k}if((d|0)==1640033596&(c|0)==962571|((d|0)==583055988&(c|0)==931846|(d|0)==1614866372&(c|0)==950283)){break l}break k}m:{if((c|0)<=1071126&d>>>0<=4139790647|(c|0)<1071126){if((c|0)<=1030155&d>>>0<=4072730923|(c|0)<1030155){if((c|0)<=1017867&d>>>0<=4081118127|(c|0)<1017867){if((d|0)==-1551832408&(c|0)==987147|(d|0)==-1560219632&(c|0)==999435){break l}break k}if((d|0)==-213849168&(c|0)==1017867|(d|0)==-629130764&(c|0)==1028124){break l}break k}b=d-61346|0;if(((d>>>0<61346)+1030156|0)==(c|0)&b>>>0<=6){break m}f=c-((d>>>0<4286641516)+1042443|0)|0;b=d+8325780|0;if(!f&b>>>0>6|f){if((d|0)==-222236372&(c|0)==1030155){break l}break k}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break k;default:break l}}if((c|0)<=1083427&d>>>0<=239092841|(c|0)<1083427){if((c|0)<=1071139&d>>>0<=230704581|(c|0)<1071139){if((d|0)==-155176648&(c|0)==1071126|(d|0)==226509528&(c|0)==1071139){break l}break k}if((d|0)==230704582&(c|0)==1071139|(d|0)==-150983126&(c|0)==1083414){break l}break k}if((c|0)<=1361973&d>>>0<=2852184657|(c|0)<1361973){b=(c|0)==1083427;if(b&(d|0)==239092842|b&(d|0)==243286402){break l}break k}if((d|0)==-1442781604&(c|0)==1361973){break l}if((d|0)!=-1442782638|(c|0)!=1361973){break k}break l}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break k;default:break l}}ab(N[a>>2]);N[a>>2]=275552}La=e+48|0;return a}function Rj(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=O[a|0]|O[a+1|0]<<8;if(e){p=(e<<8|e>>>8)&65535;n=a+2|0;while(1){h=275552;e=O[n|0]|O[n+1|0]<<8;if(e){h=((e<<8|e>>>8)&65535)+a|0}j=O[h+2|0]|O[h+3|0]<<8;d=h+4|0;i=O[h|0]|O[h+1|0]<<8;g=(i<<8|i>>>8)&65535;a:{if(g>>>0<2){break a}l=N[c+4>>2];k=N[b+12>>2];m=N[c>>2];e=d;f=g-1|0;if(f&1){e=O[h+4|0]|O[h+5|0]<<8;Qa[m|0](k,(e<<8|e>>>8)&65535,l);f=g-2|0;e=h+6|0}if((i|0)==512){break a}while(1){h=O[e|0]|O[e+1|0]<<8;Qa[m|0](k,(h<<8|h>>>8)&65535,l);h=O[e+2|0]|O[e+3|0]<<8;Qa[m|0](k,(h<<8|h>>>8)&65535,l);e=e+4|0;f=f-2|0;if(f){continue}break}}if(j){r=(j<<8|j>>>8)&65535;s=d+(i?(g<<1)-2|0:0)|0;o=0;while(1){h=N[b+32>>2];b:{if(!h|!N[b+24>>2]|N[b+20>>2]==275552){break b}e=s+(o<<2)|0;e=O[e+2|0]|O[e+3|0]<<8;m=(e<<8|e>>>8)&65535;l=m>>>9|0;e=N[b+28>>2];g=N[e+32>>2];c:{d:{e:{f=N[e+20>>2];j=N[e+28>>2];if(f>>>0>=j>>>0){break e}f=g+(f<<3)|0;if(N[f>>2]!=(l|0)){break e}d=f+4|0;break d}i=0;if((j|0)<=0){break c}f=j-1|0;i=0;f:{while(1){d=f+i>>>1|0;k=g+(d<<3)|0;q=N[k>>2];g:{if((q|0)>(l|0)){f=d-1|0;break g}if((l|0)==(q|0)){break f}i=d+1|0}if((f|0)>=(i|0)){continue}break}i=0;break c}N[e+20>>2]=d;d=(d>>>0>=j>>>0?275552:k)+4|0}j=N[e+44>>2];i=0;if(!j){break c}f=(j+(N[d>>2]<<6)|0)+(m>>>3&56)|0;i=N[f>>2];j=N[f+4>>2];d=m&63;f=d&31;i=((d&63)>>>0>=32?j>>>f|0:((1<>>f)&1}if((i|0)!=O[e+48|0]){break b}e=N[b+16>>2];N[b+16>>2]=275552;f=N[b+8>>2];d=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=h-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,m);N[b+16>>2]=e;N[b+8>>2]=f;N[b+12>>2]=d;N[b+32>>2]=N[b+32>>2]+1;g=N[b+28>>2];e=O[g+12|0];if(O[g+48|0]){if(!e){break b}d=N[g+20>>2];f=N[g+28>>2];e=N[g+32>>2];if(!(d>>>0>>0&N[e+(d<<3)>>2]==(l|0))){if((f|0)<=0){break b}f=f-1|0;i=0;while(1){h:{d=f+i>>>1|0;j=N[e+(d<<3)>>2];i:{if((j|0)>(l|0)){f=d-1|0;break i}if((j|0)==(l|0)){break h}i=d+1|0}if((f|0)>=(i|0)){continue}break b}break}N[g+20>>2]=d}f=N[g+44>>2];if(!f){break b}e=N[(e+(d<<3)|0)+4>>2];N[g+16>>2]=-1;e=(f+(e<<6)|0)+(m>>>3&56)|0;f=N[e>>2];d=N[e+4>>2];t=e,u=_E(-2,-1,m)&f,N[t>>2]=u;N[e+4>>2]=Pa&d;break b}if(!e){break b}N[g+16>>2]=-1;d=N[g+32>>2];j:{k:{e=N[g+20>>2];f=N[g+28>>2];if(e>>>0>=f>>>0){break k}e=(e<<3)+d|0;if(N[e>>2]!=(l|0)){break k}e=e+4|0;break j}e=N[g+40>>2];l:{m:{if((f|0)<=0){f=0;break m}i=f-1|0;f=0;while(1){j=f+i>>>1|0;h=N[(j<<3)+d>>2];n:{if((h|0)>(l|0)){i=j-1|0;break n}if((h|0)==(l|0)){f=j;break l}f=j+1|0}if((f|0)<=(i|0)){continue}break}}o:{p:{j=g+36|0;h=N[j>>2];q:{if((h|0)<0){break q}r:{s:{d=e;i=d+1|0;k=(i|0)>0?i:0;if(k>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(k>>>0>=h>>>0){continue}break}i=j;if(h>>>0>67108863){break s}d=$a(N[g+44>>2],h<<6);if(!d){break s}N[g+36>>2]=h;N[g+44>>2]=d;d=N[g+40>>2]}if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,k-d<<6)}N[g+40>>2]=k;i=g+24|0;d=N[i>>2];if((d|0)<0){break r}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(k>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break s}h=$a(N[g+32>>2],d<<3);if(!h){break s}N[g+24>>2]=d;N[g+32>>2]=h}d=N[g+28>>2];if(d>>>0>>0){C(N[g+32>>2]+(d<<3)|0,0,k-d<<3)}N[g+28>>2]=k;d=N[g+44>>2]+(e<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=f<<3;j=d+N[g+32>>2]|0;F(j+8|0,j,N[g+28>>2]+(f^-1)<<3);if(Q[g+28>>2]>f>>>0){break p}N[147456]=0;N[147457]=0;d=589824;break o}N[i>>2]=-1}f=N[g+36>>2];if((f|0)<0){break q}e=N[g+28>>2];e=(e|0)>0?e:0;if(e>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(e>>>0>=f>>>0){continue}break}t:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break t}}N[j>>2]=-1;L[g+12|0]=0;break b}N[g+36>>2]=f;N[g+44>>2]=d}f=N[g+40>>2];if(f>>>0>>0){C(N[g+44>>2]+(f<<6)|0,0,e-f<<6)}N[g+40>>2]=e}L[g+12|0]=0;break b}d=d+N[g+32>>2]|0}N[d>>2]=l;N[d+4>>2]=e;d=N[g+32>>2]}N[g+20>>2]=f;e=((f<<3)+d|0)+4|0}f=N[g+44>>2];if(!f){break b}e=(f+(N[e>>2]<<6)|0)+(m>>>3&56)|0;j=N[e+4>>2];d=m&63;f=d&31;if((d&63)>>>0>=32){d=1<>>32-f;i=h}N[e>>2]=i|N[e>>2];N[e+4>>2]=d|j}o=o+1|0;if((r|0)!=(o|0)){continue}break}}n=n+2|0;p=p-1|0;if(p){continue}break}}}function Pl(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;m=La-16|0;La=m;h=8;a:{if(e>>>0>100){break a}b:{h=N[a+32>>2];if(!h){break b}i=N[a+40>>2];j=N[a+36>>2]+N[a+28>>2]|0;g=j;while(1){k=O[g+1|0]|O[g|0]<<8;if(!(k>>>0<=b>>>0&(O[g+3|0]|O[g+2|0]<<8)>>>0>=b>>>0)){g=g+8|0;h=h-1|0;if(h){continue}break b}break}h=8;g=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g>>>0>i-j>>>0){break a}g=g+j|0;h=g+8|0;if(h>>>0>i>>>0){break b}j=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);n=O[g+2|0];o=O[g+3|0];c:{d:{e:{f:{g:{h:{l=O[g|0]|O[g+1|0]<<8;switch(((l<<8|l>>>8)&65535)-1|0){case 1:break g;case 0:break h;case 4:case 18:break d;case 3:break e;case 2:break f;default:break b}}h=h+(b-k<<2)|0;if(i>>>0>>0){break b}b=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);g=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if((b|0)!=(g|0)){break c}break b}if(i>>>0>>0){break b}N[m+12>>2]=g+12;h=O[g+11|0];l=O[g+10|0];p=O[g+9|0];g=O[g+8|0];if(vh(a,m+12|0,i)){break b}i=b-k|0;b=h|(p<<16|g<<24|l<<8);g=T(i,b);b=g+b|0;break c}h=h+(b-k<<1)|0;if(i>>>0>>0){break b}b=O[h+3|0]|O[h+2|0]<<8;g=O[h+1|0]|O[h|0]<<8;if((b|0)!=(g|0)){break c}break b}h=g+12|0;if(i>>>0>>0|i>>>0>>0){break b}g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(k-1>>>0>=(i-h>>2)-1>>>0){break b}g=0;while(1){if((O[h+1|0]|O[h|0]<<8)==(b|0)){b=O[h+7|0]|O[h+6|0]<<8;g=O[h+3|0]|O[h+2|0]<<8;break c}h=h+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}break b}if(i>>>0>>0){break b}N[m+12>>2]=g+12;h=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);if(vh(a,m+12|0,i)){break b}g=N[m+12>>2];k=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);k=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);g=g+4|0;if(k-1>>>0>=i-g>>1>>>0){break b}i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);h=0;while(1){if((O[g+1|0]|O[g|0]<<8)!=(b|0)){g=g+2|0;h=h+1|0;if((k|0)!=(h|0)){continue}break b}break}g=T(h,i);b=i+g|0}if(b>>>0>>0){break b}l=o|n<<8;i=La-16|0;La=i;h=6;b=b-g|0;j=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))+g|0;i:{if(!b|Q[a+24>>2]>>0){break i}g=j+N[a+20>>2]|0;k=N[a+4>>2];j=N[k+20>>2];j:{if(j){h=85;if(!(Qa[j|0](k,g,0,0)|0)){break j}break i}h=85;if(g>>>0>Q[k+4>>2]){break i}}N[k+8>>2]=g;h=fc(k,b,i+8|0);if(h){break i}j=N[i+8>>2];N[i+12>>2]=j;n=b+j|0;h=7;k:{l:{m:{n:{o:{p:{q:{r:{switch(l-1|0){case 0:case 1:case 7:case 16:h=6;if((b|0)<5){break k}b=N[a+12>>2];M[b>>1]=O[j|0];M[b+2>>1]=O[j+1|0];M[b+4>>1]=L[j+2|0];M[b+6>>1]=L[j+3|0];h=O[j+4|0];M[b+14>>1]=0;M[b+10>>1]=0;M[b+12>>1]=0;M[b+8>>1]=h;L[a+16|0]=1;N[i+12>>2]=j+5;break q;case 18:break k;case 4:break p;case 5:case 6:case 8:case 17:break r;default:break l}}h=vh(a,i+12|0,n);if(h){break k}}o=187;h=7;s:{switch(l-1|0){case 16:case 17:break k;case 0:case 5:break m;case 8:break n;case 7:break o;case 4:break p;case 1:case 6:break s;default:break l}}h=N[a+12>>2];b=P[h>>1];g=P[h+2>>1];h=T(b,g+7>>>3|0);if(h>>>0<=T(b,g)+7>>>3>>>0){break p}if((h|0)==(n-N[i+12>>2]|0)){break m}}o=188;break m}h=0;b=N[i+12>>2]+1|0;if(b>>>0>n>>>0){break k}N[i+12>>2]=b}o=189}if(!O[a+17|0]){b=6;t:{if(!O[a+16|0]){break t}g=N[a+12>>2];b=P[g+2>>1];h=N[a+8>>2];l=P[g>>1];N[h>>2]=l;N[h+4>>2]=b;g=3;u:{v:{w:{x:{switch(O[a+18|0]-1|0){case 0:L[h+18|0]=1;b=b+7>>>3|0;g=2;break v;case 1:L[h+18|0]=3;b=b+3>>>2|0;g=4;break v;case 3:L[h+18|0]=4;b=b+1>>>1|0;g=16;break v;case 7:L[h+18|0]=2;break w;case 31:break x;default:break u}}L[h+18|0]=7;b=b<<2}g=256}M[h+16>>1]=g;N[h+8>>2]=b;g=0;if(f){break u}l=T(b,l);if(!l){break u}h=N[N[a>>2]+84>>2];b=N[N[h+4>>2]+100>>2];g=N[h+156>>2];p=N[g+4>>2];y:{if(p&1){g=N[h+88>>2];if(g){Qa[N[b+8>>2]](b,g)}N[h+88>>2]=0;break y}N[g+4>>2]=p|1}z:{if((l|0)<=0){b=6}else{b=Qa[N[b+4>>2]](b,l)|0;if(b){break z}b=64}N[h+88>>2]=0;break t}g=0;C(b,0,l);N[h+88>>2]=b;L[a+17|0]=1}b=g}h=b;if(h){break k}}h=0;if(f){break k}h=Qa[o|0](a,N[i+12>>2],n,c,d,e)|0;break k}h=8}if(!N[k+20>>2]|!j){break i}a=N[k+28>>2];Qa[N[a+8>>2]](a,j)}La=i+16|0;break a}h=e?21:157}La=m+16|0;return h}function Fs(a,b,c){a=a|0;b=b|0;c=c|0;var 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;l=La-16|0;La=l;h=N[a+16>>2];d=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if(!e){break a}i=h+10|0;b:{while(1){d=e+f>>>1|0;g=i+T(d,11)|0;j=O[g+1|0]<<8|O[g|0]<<16|O[g+2|0];c:{if(j>>>0>c>>>0){e=d;break c}if(c>>>0<=j>>>0){break b}f=d+1|0}if(e>>>0>f>>>0){continue}break}f=0;break a}f=0;c=O[g+3|0]|O[g+4|0]<<8|(O[g+5|0]<<16|O[g+6|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[g+7|0]|O[g+8|0]<<8|(O[g+9|0]<<16|O[g+10|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!(c|d)){break a}d:{if(!c){c=d+h|0;d=O[c+3|0];f=O[c+2|0];g=O[c+1|0];i=O[c|0];e=N[a+28>>2];N[l+4>>2]=0;g=d|(g<<16|i<<24|f<<8);i=g+1|0;e:{if(i>>>0<=e>>>0){f=N[a+32>>2];break e}N[a+36>>2]=b;f=lb(b,4,e,i,N[a+32>>2],l+4|0);N[a+32>>2]=f;if(N[l+4>>2]){break d}N[a+28>>2]=i}f:{if(!g){break f}a=d&1;d=c+4|0;e=0;if((g|0)!=1){b=g-a|0;while(1){c=e<<2;N[c+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);N[(c|4)+f>>2]=O[d+7|0]|(O[d+6|0]<<8|O[d+5|0]<<16);d=d+10|0;e=e+2|0;if((b|0)!=(e|0)){continue}break}}if(!a){break f}N[(e<<2)+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16)}N[(g<<2)+f>>2]=0;break a}if(!d){f=Nl(a,c+h|0,b);break a}j=d+h|0;m=O[j+3|0];i=m|(O[j+1|0]<<16|O[j|0]<<24|O[j+2|0]<<8);h=c+h|0;c=O[h+3|0];g:{h:{n=c|(O[h+1|0]<<16|O[h|0]<<24|O[h+2|0]<<8);i:{if(n){k=c&3;f=h+7|0;g=0;j:{if(n>>>0<4){e=0;d=f;break j}o=n-k|0;e=0;c=0;while(1){e=(O[f+12|0]+(O[f+8|0]+(O[f+4|0]+(O[f|0]+e|0)|0)|0)|0)+4|0;d=f+16|0;f=d;c=c+4|0;if((o|0)!=(c|0)){continue}break}}if(k){while(1){e=(O[d|0]+e|0)+1|0;d=d+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if(!i){break i}if(e){break h}break g}if(i){break g}}f=Nl(a,h,b);break a}c=N[a+28>>2];N[l+12>>2]=0;d=(e+i|0)+1|0;k:{if(d>>>0<=c>>>0){f=N[a+32>>2];break k}N[a+36>>2]=b;f=lb(b,4,c,d,N[a+32>>2],l+12|0);N[a+32>>2]=f;if(N[l+12>>2]){break d}N[a+28>>2]=d}m=O[j+6|0]|(O[j+5|0]<<8|O[j+4|0]<<16);g=O[h+6|0]|(O[h+5|0]<<8|O[h+4|0]<<16);c=j+9|0;a=h+8|0;b=O[h+7|0];e=0;j=1;k=1;while(1){l:{if(b+g>>>0>>0){d=b+1|0;p=d&3;h=0;m:{if(b>>>0<3){d=0;break m}q=d&-4;d=0;while(1){o=(e<<2)+f|0;N[o>>2]=d+g;N[o+12>>2]=(d|3)+g;N[o+8>>2]=(d|2)+g;N[o+4>>2]=(d|1)+g;e=e+4|0;d=d+4|0;if((q|0)!=(d|0)){continue}break}}if(p){while(1){N[(e<<2)+f>>2]=d+g;d=d+1|0;e=e+1|0;h=h+1|0;if((p|0)!=(h|0)){continue}break}}j=j+1|0;if(n>>>0>>0){break l}g=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);b=O[a+3|0];a=a+4|0;continue}if(g>>>0>m>>>0){N[(e<<2)+f>>2]=m;e=e+1|0}k=k+1|0;if(i>>>0>>0){break l}m=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);c=c+5|0;continue}break}n:{if(i>>>0>=k>>>0){N[(e<<2)+f>>2]=m;e=e+1|0;if(i>>>0<=k>>>0){break n}while(1){N[(e<<2)+f>>2]=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);e=e+1|0;c=c+5|0;k=k+1|0;if(i>>>0>k>>>0){continue}break}break n}if(j>>>0>n>>>0){break n}d=b+1|0;c=d&3;h=0;o:{if(b>>>0<3){d=0;break o}i=d&-4;d=0;while(1){b=(e<<2)+f|0;N[b>>2]=d+g;N[b+12>>2]=(d|3)+g;N[b+8>>2]=(d|2)+g;N[b+4>>2]=(d|1)+g;e=e+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}if(c){while(1){N[(e<<2)+f>>2]=d+g;d=d+1|0;e=e+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}if(j>>>0>=n>>>0){break n}while(1){b=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);c=O[a+3|0];d=c+1|0;g=d&3;h=0;p:{if(c>>>0<3){d=0;break p}i=d&508;d=0;while(1){c=(e<<2)+f|0;N[c>>2]=b+d;N[c+12>>2]=b+(d|3);N[c+8>>2]=b+(d|2);N[c+4>>2]=b+(d|1);e=e+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}if(g){while(1){N[(e<<2)+f>>2]=b+d;d=d+1|0;e=e+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}a=a+4|0;j=j+1|0;if(n>>>0>j>>>0){continue}break}}N[(e<<2)+f>>2]=0;break a}c=N[a+28>>2];N[l+8>>2]=0;d=i+1|0;q:{if(d>>>0<=c>>>0){f=N[a+32>>2];break q}N[a+36>>2]=b;f=lb(b,4,c,d,N[a+32>>2],l+8|0);N[a+32>>2]=f;if(N[l+8>>2]){break d}N[a+28>>2]=d}a=m&1;d=j+4|0;e=0;if((i|0)!=1){b=i-a|0;while(1){c=e<<2;N[c+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);N[(c|4)+f>>2]=O[d+7|0]|(O[d+6|0]<<8|O[d+5|0]<<16);d=d+10|0;e=e+2|0;if((b|0)!=(e|0)){continue}break}}if(a){N[(e<<2)+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16)}N[(i<<2)+f>>2]=0;break a}f=0}La=l+16|0;return f|0}function tp(a,b){var 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,t=0,u=0,v=0,w=0,x=0;c=T(b,1348)+a|0;k=N[c- -64>>2];p=N[c+56>>2];r=k+T(p,44)|0;a:{if((b|0)==1){if((p|0)<=0){break a}q=N[a+2748>>2];t=O[N[(N[N[q>>2]+8>>2]<<2)+288704>>2]+12|0];i=a+2744|0;c=k;while(1){f=O[c+12|0];b:{if(f&4){break b}c:{d:{e:{f:{g:{e=N[c+20>>2];d=N[c+24>>2];h:{if(!e|!d){break h}o=N[d+20>>2];if(!o){break g}g=O[d+12|0];if(g&8){N[d+20>>2]=0;L[d+12|0]=g&247;e=N[c+20>>2];break h}if(!(f&8)){break g}e=0;N[c+20>>2]=0;L[c+12|0]=f&247}if(!d|e){break f}e=N[d+20>>2];if(!e){break b}e=N[e+8>>2];N[d+8>>2]=e;g=O[d+12|0]|4;L[d+12|0]=g;f=d;d=c;break d}e=N[e+8>>2];g=f|4;L[c+12|0]=g;N[c+8>>2]=e;break e}if(!e){break b}e=N[e+8>>2];N[c+8>>2]=e;g=O[c+12|0]|4;L[c+12|0]=g;if(!d){break c}o=N[d+20>>2]}f=c;if(o){break c}}f=N[f+4>>2];j=N[d+4>>2]-f|0;l=e-f|0;f=O[d+12|0];g=pf(N[i>>2],q,1,j,l,g&255,f);L[d+12|0]=f|4;N[d+8>>2]=e+g}h=h?h:c}c=c+44|0;if(r>>>0>c>>>0){continue}break}}if((p|0)>0){o=a+2748|0;q=a+2744|0;c=k;while(1){e=O[c+12|0];i:{if(e&4){break i}d=N[c+24>>2];if(!d){u=u+1|0;break i}if(N[d+20>>2]){a=N[d+4>>2];f=N[d+8>>2];a=pf(N[q>>2],N[o>>2],b,N[c+4>>2]-a|0,f-a|0,O[d+12|0],e);L[c+12|0]=e|4;N[c+8>>2]=a+f;break i}f=N[c+4>>2];if(!h){l=N[q>>2];m=N[o>>2];g=N[d+4>>2]-f|0;a=pf(l,m,b,g,0,e,O[d+12|0]);j:{if((a|0)<=95){h=f+(g>>1)|0;s=h+32&-64;n=(a|0)<65;i=s+(n?-32:-38)|0;v=h-i|0;j=v>>31;n=s|(n?32:26);s=h-n|0;h=s>>31;h=((a|0)/-2|0)+((j^v)-j>>>0<(h^s)-h>>>0?i:n)|0;N[c+8>>2]=h;N[d+8>>2]=a+h;h=N[c+8>>2];break j}h=f+32&-64;N[c+8>>2]=h}a=e|4;L[c+12|0]=a;w=d,x=pf(l,m,b,g,h-f|0,a,O[d+12|0])+h|0,N[w+8>>2]=x;h=c;break i}i=N[h+4>>2];j=N[h+8>>2];g=N[d+4>>2]-f|0;l=O[d+12|0];a=pf(N[q>>2],N[o>>2],b,g,0,e,l);k:{if(l&4){g=N[d+8>>2]-a|0;a=c;break k}i=j+(f-i|0)|0;f=i+(g>>1)|0;l:{if((a|0)<=95){j=f+32&-64;i=(a|0)<65;l=j+(i?-32:-38)|0;m=f-l|0;g=m>>31;i=j|(i?32:26);j=f-i|0;f=j>>31;f=(g^m)-g>>>0<(f^j)-f>>>0?l:i;a=(a|0)/2|0;N[c+8>>2]=f-a;g=a+f|0;break l}m=a>>>1|0;j=i+32|0;l=j&-64;n=m+(l-f|0)|0;i=n>>31;g=(g+j&-64)-a|0;j=g+(m-f|0)|0;f=j>>31;f=(i^n)-i>>>0<(f^j)-f>>>0?l:g;N[c+8>>2]=f;g=a+f|0}a=d}N[a+8>>2]=g;L[c+12|0]=e|4;L[d+12|0]=O[d+12|0]|4;if(c>>>0<=k>>>0){break i}a=N[c-36>>2];e=N[c+8>>2];m:{if(t){if((a|0)<(e|0)){break m}break i}if((a|0)<=(e|0)){break i}}e=N[d+8>>2]-a|0;d=e>>31;if((d^e)-d>>>0<17){break i}N[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}n:{if(b){break n}c=4;e=2;d=k;o:{switch(p-6|0){case 6:d=k+44|0;c=9;e=5;break;case 0:break o;default:break n}}e=T(e,44)+k|0;a=T(c,44)+k|0;f=(N[e+4>>2]<<1)-(N[d+4>>2]+N[a+4>>2]|0)|0;b=f>>31;if((b^f)-b>>>0>7){break n}b=N[a+8>>2];d=(N[e+8>>2]<<1)-N[d+8>>2]|0;N[a+8>>2]=d;b=b-d|0;a=N[a+24>>2];if(a){N[a+8>>2]=N[a+8>>2]-b}if((p|0)==12){N[k+360>>2]=N[k+360>>2]-b;N[k+492>>2]=N[k+492>>2]-b}b=T(c,44)+k|0;L[b+12|0]=O[b+12|0]|4;if(!a){break n}L[a+12|0]=O[a+12|0]|4}if(!(!h|(u|0)!=0)|(p|0)<=0){break a}c=k;while(1){f=O[c+12|0];p:{if(f&4){break p}q:{r:{a=N[c+28>>2];if(!a){break r}d=N[a+4>>2];e=N[c+4>>2];g=d-e|0;b=g>>31;if((b^g)-b>>>0>79){break r}d=e+(N[a+8>>2]-d|0)|0;break q}d=c;if(!h){d=N[c+4>>2]+32&-64;h=c;break q}while(1){b=d;d=d-44|0;g=k>>>0>d>>>0;if(!(g|O[b-32|0]&4)){continue}break}e=c;s:{while(1){a=e;e=a+44|0;if(r>>>0<=e>>>0){break s}if(!(O[a+56|0]&4)){continue}break}if(c>>>0<=d>>>0|g|c>>>0>=e>>>0){break s}b=b-44|0;d=N[b+8>>2];e=N[a+48>>2];b=N[b+4>>2];if((e|0)==(b|0)){break q}d=jb(N[c+4>>2]-b|0,N[a+52>>2]-d|0,e-b|0)+d|0;break q}d=N[h+8>>2]+((N[c+4>>2]-N[h+4>>2]|0)+16&-32)|0}N[c+8>>2]=d;L[c+12|0]=f|4;t:{if(c>>>0<=k>>>0){break t}a=N[c-36>>2];u:{if(t){if((a|0)<(d|0)){break u}break t}if((a|0)<=(d|0)){break t}}b=N[c+24>>2];if(!b){break t}e=N[b+8>>2]-a|0;b=e>>31;if((b^e)-b>>>0<17){break t}N[c+8>>2]=a;d=a}if(!(O[c+56|0]&4)|c+44>>>0>=r>>>0){break p}a=N[c+52>>2];v:{if(t){if((a|0)>(d|0)){break v}break p}if((a|0)>=(d|0)){break p}}b=N[c+24>>2];if(!b){break p}d=N[b+8>>2]-N[c-36>>2]|0;b=d>>31;if((b^d)-b>>>0<17){break p}N[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}}function kd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=U(0),j=0,k=0,l=0,m=U(0),n=0,o=U(0),p=0,q=0,r=0,s=0,t=0,u=U(0),v=U(0),w=0,x=U(0),y=0,z=0,A=0,B=0,D=0,E=0;a:{b:{e=N[a+8>>2];y=N[b+4>>2]-N[b>>2]|0;t=y+1|0;z=N[b+12>>2]-N[b+8>>2]|0;A=z+1|0;B=T(t,A);f=B<<4;if(e>>>0>>0){break b}c:{if(!(+(e>>>0)>=+(f>>>0)*1.3)){N[a+4>>2]=0;break c}e=N[a+4>>2]+1|0;N[a+4>>2]=e;if(e>>>0>9){break b}}C(N[a>>2],0,f);j=N[a>>2];break a}_a(N[a>>2]);j=db(1,f);N[a>>2]=j;N[a+4>>2]=0;N[a+8>>2]=j?f:0}d:{if(j){q=N[b+12>>2];n=N[b+4>>2];D=N[b+8>>2];E=N[b>>2];while(1){k=N[c+20>>2];e:{if((k|0)<(E|0)){break e}d=N[c+24>>2];if((d|0)<(D|0)){break e}s=N[c>>2];if(!s){break e}w=N[c+4>>2];if(!w|(n|0)<((k+s|0)-1|0)|((d+w|0)-1|0)>(q|0)){break e}h=N[c+16>>2];f=(h^-1)&255;if(!f|(w|0)<=0|(s|0)<=0){break e}e=N[c+8>>2];g=(e|0)>(s|0)?e:s;l=k-E|0;o=U(+(f|0)/255);u=U(+(h>>>24>>>0)/255);m=U(+((h>>>8&255)>>>0)/255);i=U(+((h>>>16&255)>>>0)/255);h=N[c+12>>2];r=T(d-D|0,t);d=0;f=0;while(1){k=l+r|0;e=0;while(1){p=(e+k<<4)+j|0;v=U(U(o*U(O[h+(e+f|0)|0]))/U(255));x=U(U(1)-v);R[p+12>>2]=U(R[p+12>>2]*x)+v;R[p>>2]=U(u*v)+U(R[p>>2]*x);R[p+4>>2]=U(i*v)+U(x*R[p+4>>2]);R[p+8>>2]=U(m*v)+U(x*R[p+8>>2]);e=e+1|0;if((s|0)!=(e|0)){continue}break}r=r+t|0;f=f+g|0;d=d+1|0;if((w|0)!=(d|0)){continue}break}}c=N[c+28>>2];if(c){continue}break}e=a+12|0;g=B<<2;h=g>>>0>Q[a+44>>2];l=O[a+48|0];f=h&!l;c=f?e:0;d=l?0:h?0:e;f:{g:{if(O[a+88|0]){break g}e=a+52|0;k=N[a+84>>2];if(k>>>0>=g>>>0){if(!(h|l)&k>>>0>=Q[d+32>>2]){break g}d=e;break g}if(!f|k>>>0>2]){break f}}e=c}h:{i:{if(O[a+128|0]){break i}f=a+92|0;c=N[a+124>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break i}d=f;break i}if(!e|c>>>0>2]){break h}}f=e}j:{k:{if(O[a+168|0]){break k}e=a+132|0;c=N[a+164>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break k}d=e;break k}if(!f|c>>>0>2]){break j}}e=f}l:{m:{if(O[a+208|0]){break m}f=a+172|0;c=N[a+204>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break m}d=f;break m}if(!e|c>>>0>2]){break l}}f=e}n:{o:{if(O[a+248|0]){break o}e=a+212|0;c=N[a+244>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break o}d=e;break o}if(!f|c>>>0>2]){break n}}e=f}p:{q:{if(O[a+288|0]){break q}f=a+252|0;c=N[a+284>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break q}d=f;break q}if(!e|c>>>0>2]){break p}}f=e}r:{s:{if(O[a+328|0]){break s}e=a+292|0;c=N[a+324>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break s}d=e;break s}if(!f|c>>>0>2]){break r}}e=f}t:{if(O[a+368|0]){break t}c=a+332|0;a=N[a+364>>2];if(a>>>0>=g>>>0){if(a>>>0>=Q[d+32>>2]?d:0){break d}d=c;break d}if(a>>>0>=Q[e+32>>2]?e:0){break t}e=c}if(d){break d}d=e;if(d){break d}rj(24777);return 0}vd(25084,44,1,588952);return 0}u:{v:{a=N[d+32>>2];if(a>>>0>>0){break v}w:{if(!(+(a>>>0)>=+(g>>>0)*1.3)){N[d+28>>2]=0;break w}a=N[d+28>>2]+1|0;N[d+28>>2]=a;if(a>>>0>9){break v}}C(N[d+24>>2],0,g);n=N[d+24>>2];break u}_a(N[d+24>>2]);n=db(1,g);N[d+24>>2]=n;N[d+28>>2]=0;N[d+32>>2]=n?g:0}if(!n){rj(24825);return 0}L[d+36|0]=1;l=0;if((y|z)>=0){r=0;while(1){g=0;while(1){a=g+l|0;e=a<<2;f=e+n|0;o=R[((a<<4)+j|0)+12>>2];if(o>U(.0035294117406010628)){a=o>2]/o);a=m>2]/o);e=uU(.0035294117406010628)?a?q:255:0);m=U(R[(h|8)+j>>2]/o);c=mU(.0035294117406010628)?e?q<<8:65280:0)|a;i=U(m*U(255));A:{if(U(V(i))U(.0035294117406010628)?c?e<<16:16711680:0)}else{a=0}N[f>>2]=a;a=(g|0)==(y|0);g=g+1|0;if(!a){continue}break}l=l+t|0;a=(r|0)==(z|0);r=r+1|0;if(!a){continue}break}}N[d>>2]=N[b>>2];a=N[b+8>>2];N[d+16>>2]=n;N[d+12>>2]=A;N[d+8>>2]=t;N[d+4>>2]=a;return d}function SD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var 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,t=0;o=La-16|0;La=o;a:{b:{c:{d:{m=N[b>>2];i=aq(m+28|0);a=N[i+4>>2];e:{if((a|0)==65536){b=258}else{if((a|0)!=131072){break e}a=N[i+8>>2];a=O[a|0]|O[a+1|0]<<8;if(!a){break e}b=(a<<8|a>>>8)&65535}k=d;if((k|0)<0){k=nb(c)}if(!k){break e}a=N[i+28>>2];f:{if(a){break f}a=kb(b<<1);g:{h:{if(b){if(!a){break e}f=0;if(b>>>0>=8){h=b&65528;while(1){M[(f<<1)+a>>1]=f;j=f|1;M[(j<<1)+a>>1]=j;j=f|2;M[(j<<1)+a>>1]=j;j=f|3;M[(j<<1)+a>>1]=j;j=f|4;M[(j<<1)+a>>1]=j;j=f|5;M[(j<<1)+a>>1]=j;j=f|6;M[(j<<1)+a>>1]=j;j=f|7;M[(j<<1)+a>>1]=j;f=f+8|0;if((h|0)!=(f|0)){continue}break}}h=b&7;if(h){while(1){M[(f<<1)+a>>1]=f;f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}cj(a,b,i);f=N[i+28>>2];if(!f){break h}_a(a);a=f;break f}if(!a){break e}cj(a,0,i);f=N[i+28>>2];if(f){break g}}N[i+28>>2]=a;break f}_a(a);a=f}f=b-1|0;n=N[i+20>>2];q=N[i+16>>2];r=N[i+24>>2];j=N[i+8>>2];h=0;b=N[i+4>>2];s=(b|0)==131072;t=(b|0)!=65536;while(1){p=f+h|0;i=P[(p&-2)+a>>1];i:{if(!s){g=0;b=0;if(i>>>0>257|t){break i}b=i<<2;g=N[b+267632>>2];b=N[b+267636>>2]+(g^-1)|0;g=g+268668|0;break i}g=0;b=0;l=O[j|0]|O[j+1|0]<<8;if(i>>>0>=((l<<8|l>>>8)&65535)>>>0){break i}b=j+(i<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;l=(b<<8|b>>>8)&65535;if(l>>>0<=257){b=l<<2;g=N[b+267632>>2];b=N[b+267636>>2]+(g^-1)|0;g=g+268668|0;break i}b=0;l=l-258|0;if(l>>>0>=q>>>0){break i}b=N[n+(l<<2)>>2]+r|0;g=b+1|0;b=O[b|0]}if((b|0)!=(k|0)){b=k-b|0}else{b=Mb(c,g,k)}g=p>>>1|0;j:{if((b|0)<0){f=g-1|0;break j}if(!b){break d}h=g+1|0}if((f|0)>=(h|0)){continue}break}}b=0;i=Kg(m- -64|0);if(!N[i+44>>2]|N[i+148>>2]!=-1){break a}if((d|0)<0){d=nb(c)}if(!d){break a}h=N[i+220>>2];if(h){break c}while(1){h=db(12,1);if(!h){N[i+220>>2]=0;break a}k=0;N[h+8>>2]=0;N[h>>2]=0;N[h+4>>2]=0;k:{l:{m:{f=N[i+216>>2];if(f){while(1){n:{o:{p:{q:{a=N[i+52>>2];if((a|0)!=275552){f=$p(a,k,f);break q}f=0;r:{switch(N[i+172>>2]){case 1:if(k>>>0>165){break p}f=P[(k<<1)+265824>>1];break q;case 2:if(k>>>0>86){break p}f=P[(k<<1)+266160>>1];break q;case 0:break r;default:break p}}f=k>>>0<229?k:0;break p}if(f>>>0<=390){break p}gd(o+4|0,N[i+64>>2],f-391|0);a=N[o+4>>2];if(!a){break o}j=N[o+8>>2];break n}g=f<<2;a=N[g+270528>>2];j=N[g+270532>>2]+(a^-1)|0;a=a+272096|0;break n}j=0;a=441572}s:{t:{u:{g=N[h>>2];if((g|0)>=0){n=N[h+4>>2];l=n+1|0;if(l>>>0<=g>>>0){m=N[h+8>>2];break t}while(1){g=((g>>>1|0)+g|0)+8|0;if(l>>>0>=g>>>0){continue}break}if(g>>>0<=268435455){m=$a(N[h+8>>2],g<<4);if(m){break u}}N[h>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;break s}N[h>>2]=g;N[h+8>>2]=m;n=N[h+4>>2];l=n+1|0}N[h+4>>2]=l;g=(n<<4)+m|0;M[g+12>>1]=f;N[g+8>>2]=0;N[g+4>>2]=j;N[g>>2]=a}f=N[i+216>>2];k=k+1|0;if(f>>>0>k>>>0){continue}break m}}f=0;if(!N[i+220>>2]){break l}break k}a=N[h+4>>2];if(a){_p(N[h+8>>2],a)}if(!N[i+220>>2]){break l}f=N[h+8>>2];break k}N[i+220>>2]=h;break c}_a(f);_a(h);h=N[i+220>>2];if(!h){continue}break}break c}N[e>>2]=i;break b}a=N[h+4>>2];if((a|0)<=0){break a}k=N[h+8>>2];f=a-1|0;h=0;v:{while(1){a=f+h>>>1|0;g=k+(a<<4)|0;b=N[g+4>>2];g=bb(c,N[g>>2],b>>>0>d>>>0?d:b);b=g?g:d-b|0;w:{if((b|0)<0){f=a-1|0;break w}if(!b){break v}h=a+1|0}if((f|0)>=(h|0)){continue}break}b=0;break a}a=P[(k+(a<<4)|0)+12>>1];b=N[i+52>>2];x:{y:{z:{if((b|0)!=275552){f=vf(b,a,N[i+216>>2]);break z}f=85;g=164;b=0;A:{switch(N[i+172>>2]){case 0:f=a;if(a>>>0<229){break z}break a;case 1:while(1){B:{c=b+g>>>1|0;d=P[(c<<2)+266336>>1];C:{if(d>>>0>a>>>0){g=c-1|0;break C}if((a|0)==(d|0)){break B}b=c+1|0}if((b|0)<=(g|0)){continue}break y}break};f=O[(c<<2)+266338|0];break z;case 2:break A;default:break y}}while(1){D:{c=b+f>>>1|0;d=P[(c<<2)+267008>>1];E:{if(d>>>0>a>>>0){f=c-1|0;break E}if((a|0)==(d|0)){break D}b=c+1|0}if((b|0)<=(f|0)){continue}break y}break}f=O[(c<<2)+267010|0]}if(f){break x}}f=0;b=0;if(a){break a}}N[e>>2]=f}b=1}La=o+16|0;return b|0}function Yq(a,b){a=a|0;b=b|0;var 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;i=275552;c=N[N[N[a+92>>2]+144>>2]>>2];c=c?c:275552;h=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[h|0]|O[h+1|0]<<8)!=256){break a}d=275552;c=O[h+8|0]|O[h+9|0]<<8;if(c){d=h+((c<<8|c>>>8)&65535)|0}c=O[d|0]|O[d+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break a}i=((c<<8|c>>>8)&65535)+d|0}p=N[a+136>>2];N[a+136>>2]=b;b=O[i+2|0]|O[i+3|0]<<8;b=b<<8|b>>>8;d=b&65535;l=N[a+140>>2];if(b&16){b=O[i+4|0]|O[i+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+i|0;b=O[b+6|0]|O[b+7|0]<<8;d=b<<24|b<<8&16711680|d}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;j=O[a+150|0];L[a+21|0]=j;c=N[a+132>>2];N[a+16>>2]=c;N[a+72>>2]=0;N[a+48>>2]=a;b=O[a+151|0];L[a+22|0]=b;h=a- -64|0;N[h>>2]=0;N[h+4>>2]=0;N[a+52>>2]=d;g=N[a+84>>2];h=(g|0)==1;L[a+20|0]=h;d=O[a+149|0];L[a+61|0]=1;L[a+60|0]=h|(d|0)!=0;N[a+56>>2]=-1;L[a+62|0]=b;e=O[i+4|0]|O[i+5|0]<<8;if(e){b=O[i|0]|O[i+1|0]<<8;h=(b<<8|b>>>8)&65535;m=i+4|0;n=(e<<8|e>>>8)&65535;q=n>>>0<=1?1:n;b=0;o=1;while(1){c=O[m|0]|O[m+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+m|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+i|0}else{c=275552}d=h;b:{while(1){c:{g=0;if((d|0)!=7){d:{switch(d-1|0){case 0:e:{f:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break b}}g=gk(c,a);break b}g=fk(c,a);break b;case 1:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];d=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)==-1){break b}e=((d<<1)+c|0)+6|0;f=d;d=O[c+4|0]|O[c+5|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:e;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+c|0}else{d=275552}lk(d,a);g=1;break b;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];d=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)==-1){break b}e=((d<<1)+c|0)+6|0;f=d;d=O[c+4|0]|O[c+5|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:e;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+c|0}else{d=275552}g=kk(d,a);break b;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];e=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((e|0)==-1){break b}d=275552;k=((e<<1)+c|0)+6|0;f=e;e=O[c+4|0]|O[c+5|0]<<8;e=f>>>0>=((e<<8|e>>>8)&65535)>>>0?275552:k;e=O[e|0]|O[e+1|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+c|0}c=O[d|0]|O[d+1|0]<<8;if(!c){break b}k=(c<<8|c>>>8)&65535;j=k>>>0<=1?1:k;c=0;g=1;while(1){e=O[d|0]|O[d+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=c>>>0?275552:((c<<1)+d|0)+2|0;e=O[e|0]|O[e+1|0]<<8;if(e){f=((e<<8|e>>>8)&65535)+d|0}else{f=275552}if(jk(f,a)){break b}c=c+1|0;g=k>>>0>c>>>0;if((c|0)!=(j|0)){continue}break};break b;case 4:g=Kj(c,a);break b;case 7:break c;case 5:break d;default:break b}}g:{h:{i:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break g;case 1:break h;case 0:break i;default:break b}}g=Jj(a,c);break b}g=Kf(c,a,0);break b}g=ah(c,a);break b}if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;d=(d<<8|d>>>8)&65535;e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}continue}break}if((O[c|0]|O[c+1|0]<<8)!=256){break b}g=ik(c,a)}if(!(g&1)){b=b+1|0;o=n>>>0>b>>>0;if((b|0)!=(q|0)){continue}}break}d=O[a+149|0];c=N[a+132>>2];j=O[a+150|0];g=N[a+84>>2];b=O[a+151|0]}N[a+140>>2]=l;N[a+136>>2]=p;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;L[a+21|0]=j;N[a+12>>2]=l;N[a+72>>2]=0;L[a+22|0]=b;N[a+16>>2]=c;N[a+64>>2]=0;N[a+68>>2]=0;L[a+61|0]=1;N[a+52>>2]=l;L[a+62|0]=b;N[a+56>>2]=-1;b=(g|0)==1;L[a+20|0]=b;L[a+60|0]=b|(d&255)!=0;N[a+8>>2]=a;N[a+48>>2]=a;return o|0}function to(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0;j=La+-64|0;La=j;a:{b:{if(!N[b+20>>2]){break b}c:{if(!(d>.001|e>.001)){break c}uo(j+40|0,d);d:{if(d==e){f=N[j+60>>2];N[j+32>>2]=N[j+56>>2];N[j+36>>2]=f;f=N[j+52>>2];N[j+24>>2]=N[j+48>>2];N[j+28>>2]=f;f=N[j+44>>2];N[j+16>>2]=N[j+40>>2];N[j+20>>2]=f;break d}uo(j+16|0,e)}h=N[b+12>>2];q=N[j+20>>2];k=N[j+16>>2];p=((h+((q<<1)+9<>2]-1|0;f=1<>31;i=N[b+8>>2];s=N[j+44>>2];n=N[j+40>>2];v=(i+((s<<1)+9<>>0>m>>>0?g+1|0:g;f=0-f|0;f=UE(p,0,f&m-1,g-!m&f>>31);g=Pa;if(!g&f>>>0>536870911|g){break c}m=f<<2;g=2<>>0>=-5-g>>>0){break c}m=kb((g+m|0)+3|0);if(!m){break c}t=g;u=g-1|0;g=m+4|0;r=u&g;g=(r?t-r|0:0)+g|0;r=g-4|0;N[r>>2]=m;if(!g){break c}Qa[N[a+40>>2]](g,N[b+20>>2],N[b+16>>2],i,h);f=g+(f<<1)|0;N[j+12>>2]=f;N[j+8>>2]=g;e:{if((k|0)<=0){f=g;break e}f:{if((k|0)==1){break f}m=k&1;k=k&-2;while(1){Qa[N[a+52>>2]](f,g,i,h);h=h+5>>>1|0;Qa[N[a+52>>2]](g,f,i,h);h=h+5>>>1|0;l=l+2|0;if((k|0)!=(l|0)){continue}break}l=0;if(m){break f}f=g;break e}Qa[N[a+52>>2]](f,g,i,h);l=1;h=h+5>>>1|0}g:{if((n|0)<=0){break g}h:{if((n|0)==1){g=l^1;break h}m=n&1;w=n&-2;g=j+8|0;u=g+(l<<2)|0;t=g;g=l^1;n=N[t+(g<<2)>>2];k=0;while(1){Qa[N[a+48>>2]](n,f,i,h);f=N[u>>2];i=i+5>>>1|0;Qa[N[a+48>>2]](f,n,i,h);i=i+5>>>1|0;k=k+2|0;if((w|0)!=(k|0)){continue}break}if(!m){break g}}Qa[N[a+48>>2]](N[(j+8|0)+(g<<2)>>2],f,i,h);i=i+5>>>1|0;l=g}f=s-4|0;if(f>>>0>=5){ba(21483,18088,210,11853);B()}g=j+8|0;k=N[g+((l^1)<<2)>>2];g=N[g+(l<<2)>>2];Qa[N[((f<<2)+a|0)- -64>>2]](k,g,i,h,j+48|0);i:{f=q-4|0;if(f>>>0<5){i=(N[j+44>>2]<<1)+i|0;Qa[N[((f<<2)+a|0)+84>>2]](g,k,i,h,j+24|0);h=(N[j+20>>2]<<1)+h|0;if(N[j+40>>2]<=0){f=g;break i}k=0;while(1){l=l^1;f=N[(j+8|0)+(l<<2)>>2];Qa[N[a+56>>2]](f,g,i,h);i=(i<<1)+4|0;g=f;k=k+1|0;if((k|0)>2]){continue}break}break i}ba(21442,18088,214,11853);B()}k=N[j+16>>2];if((k|0)>0){g=0;while(1){l=l^1;k=N[(j+8|0)+(l<<2)>>2];Qa[N[a+60>>2]](k,f,i,h);h=(h<<1)+4|0;f=k;g=g+1|0;k=N[j+16>>2];if((g|0)<(k|0)){continue}break}}if((i|0)!=(o|0)|(h|0)!=(p|0)){break a}f=1<>2];g=0-f|0;h=g>>>0>>0?o:g&(f+v|0)-5;j:{if(h>>>0>((f^2147483647)>>>0)/(((p|0)<=1?1:p)>>>0)>>>0){break j}i=f+T(h,p)|0;if(i>>>0>=-5-f>>>0){break j}g=N[b+20>>2];n=kb((f+i|0)+3|0);if(!n){break j}t=f;u=f-1|0;f=n+4|0;i=u&f;i=(i?t-i|0:0)+f|0;N[i-4>>2]=n;if(!i){break j}N[b+20>>2]=i;N[b+16>>2]=h;N[b+12>>2]=p;N[b+8>>2]=o;if(g){_a(N[g-4>>2]);i=N[b+20>>2];k=N[j+16>>2];h=N[b+16>>2]}N[b>>2]=(N[b>>2]+(-4-N[j+44>>2]<>2])|0)+4;N[b+4>>2]=(N[b+4>>2]+(-4-N[j+20>>2]<>2]](i,h,N[(j+8|0)+(l<<2)>>2],o,p)}_a(N[r>>2])}if(!c){break b}i=N[b+16>>2];g=i<<2;f=1<>2];if(g>>>0>=-5-f>>>0){break b}g=kb((f+g|0)+3|0);if(!g){break b}t=f;l=f-1|0;f=g+4|0;h=l&f;o=(h?t-h|0:0)+f|0;n=o-4|0;N[n>>2]=g;if(!o){break b}g=N[b+20>>2];l=N[b+12>>2];f=N[b+8>>2];h=c-1|0;k:{if(!h){break k}k=0;m=(f|0)>0&(l|0)>0;if(m){q=f&-2;r=f&1;while(1){p=T(i,k);b=0;l:{if((f|0)!=1){while(1){s=g+(b+p|0)|0;L[s|0]=(O[s|0]>>>1|0)+1>>>1;s=g+(p+(b|1)|0)|0;L[s|0]=(O[s|0]>>>1|0)+1>>>1;b=b+2|0;if((q|0)!=(b|0)){continue}break}if(!r){break l}}b=g+(b+p|0)|0;L[b|0]=(O[b|0]>>>1|0)+1>>>1}k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(h&1){Qa[N[a+36>>2]](g,i,f,l,o);h=c-2|0}if((c|0)!=2){while(1){Qa[N[a+36>>2]](g,i,f,l,o);Qa[N[a+36>>2]](g,i,f,l,o);h=h-2|0;if(h){continue}break}}if(!m){break k}p=f&-2;m=f&1;k=0;while(1){c=T(i,k);b=0;h=0;m:{if((f|0)!=1){while(1){q=g+(b+c|0)|0;h=O[q|0];L[q|0]=(h<<2)-(h>>>0>32);q=g+(c+(b|1)|0)|0;h=O[q|0];L[q|0]=(h<<2)-(h>>>0>32);b=b+2|0;if((p|0)!=(b|0)){continue}break}h=b;if(!m){break m}}c=g+(c+h|0)|0;b=O[c|0];L[c|0]=(b<<2)-(b>>>0>32)}k=k+1|0;if((l|0)!=(k|0)){continue}break}}Qa[N[a+36>>2]](g,i,f,l,o);_a(N[n>>2])}La=j- -64|0;return}ba(14404,18088,228,11853);B()}function Lg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a+20>>2]=0;N[a+24>>2]=0;if(N[b+32>>2]==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[b+32>>2]=(c<<8|c>>>8)&65535}c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1986884728,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}if(N[c+16>>2]<0){break b}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+20>>2]=c;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];d:{if(c){g=Qa[c|0](b,1448493394,N[b+16>>2])|0;if(g){break d}}g=275552}c=N[g>>2];if(c){if((c|0)<=0){break c}N[g>>2]=c+1}L[e+28|0]=0;N[e+36>>2]=g;c=N[g+12>>2];N[e+8>>2]=c;d=N[g+16>>2];N[e+12>>2]=d+c;if((d|0)<0){break b}N[e+32>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[e+16>>2]=d;N[e+24>>2]=0;N[e+4>>2]=0;d=g;e:{f:{if(!c){break f}g:{h:{i:{j:{k:{l:{m:{if(!Ie(c,e+4|0)){break m}d=c+20|0;if(d>>>0>2]){break m}f=N[e+12>>2];if(f>>>0>>0|f-d>>>0<4){break m}f=N[e+16>>2]-4|0;N[e+16>>2]=f;if((f|0)<=0){break m}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break i}if(d&128){break m}if(Ed((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0,e+4|0)){break i}d=N[e+32>>2];if(d>>>0>31){break l}N[e+32>>2]=d+1;if(!O[e+28|0]){break k}break j}if(O[e+28|0]|!N[e+32>>2]){break h}break k}if(!O[e+28|0]){break k}break h}if(!zb(g)){break h}while(1){L[e+28|0]=1;d=N[e+36>>2];c=N[d+12>>2];N[e+8>>2]=c;f=N[d+16>>2];N[e+12>>2]=f+c;if((f|0)<0){break b}N[e+32>>2]=0;if(f>>>0>67108863){h=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;h=f>>>0>=1073741823?1073741823:f}N[e+16>>2]=h;N[e+24>>2]=0;N[e+4>>2]=0;if(!c){break f}n:{o:{p:{if(!Ie(c,e+4|0)){break p}d=c+20|0;if(d>>>0>2]){break p}f=N[e+12>>2];if(f>>>0>>0|f-d>>>0<4){break p}f=N[e+16>>2]-4|0;N[e+16>>2]=f;if((f|0)<=0){break p}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break i}if(d&128){break p}if(Ed((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0,e+4|0)){break i}d=N[e+32>>2];if(d>>>0>31){break o}N[e+32>>2]=d+1;if(!O[e+28|0]){break n}break j}if(!N[e+32>>2]){break h}if(!O[e+28|0]){break n}break h}if(O[e+28|0]){break h}}c=zb(g);N[e+8>>2]=c;N[e+12>>2]=c+N[g+16>>2];if(c){continue}break}break h}L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0}q:{if(N[e+32>>2]){f=0;N[e+32>>2]=0;r:{if(!Ie(c,e+4|0)){break r}d=c+20|0;if(d>>>0>2]){break r}h=N[e+12>>2];if(h>>>0>>0|h-d>>>0<4){break r}h=N[e+16>>2]-4|0;N[e+16>>2]=h;if((h|0)<=0){break r}h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!h){f=1;break r}if(h&128){break r}f=1;if(Ed((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+c|0,e+4|0)){break r}c=N[e+32>>2];if(c>>>0>31){break h}N[e+32>>2]=c+1;if(!O[e+28|0]){break h}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}if(N[e+32>>2]){break h}ab(N[e+36>>2]);if(f){break q}break g}ab(N[e+36>>2])}if(!N[g+4>>2]){break e}N[g+4>>2]=0;break e}ab(N[e+36>>2])}ab(g);g=275552;break e}ab(d)}N[a+24>>2]=g;c=N[b+28>>2];if(!c){c=ae(b+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;c=c-16>>>0>=16369?1e3:c;N[b+28>>2]=c}N[a+16>>2]=c;c=N[a+20>>2];d=N[(c?c:275552)+16>>2];c=xc(b+92|0);c=O[c+34|0]|O[c+35|0]<<8;c=(c<<8|c>>>8)&65535;f=c<<2;g=d&-2;if(f>>>0>g>>>0){f=d&-4;c=d>>>2|0}N[a>>2]=c;h=b+56|0;c=sb(h);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[a+4>>2]=c;f=g-f|0;g=N[a>>2];d=g;s:{if(d>>>0<=c>>>0){if(f>>>0>=c-g<<1>>>0){break s}d=g+(f>>>1|0)|0}N[a+4>>2]=d;c=d}if(g){d=c}else{N[a>>2]=0;N[a+4>>2]=0;d=0}c=d+((g+(f>>>1|0)|0)-c&2147483647)|0;N[a+8>>2]=c;g=N[b+32>>2];if((g|0)==-1){d=b;b=sb(h);b=O[b+4|0]|O[b+5|0]<<8;g=(b<<8|b>>>8)&65535;N[d+32>>2]=g;c=N[a+8>>2]}N[a+12>>2]=c>>>0>>0?g:c;La=e+48|0;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function Cc(a,b){var 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;e=N[a+44>>2];a:{if(N[a+24>>2]|!e){break a}N[a+44>>2]=N[e+32>>2];h=N[a+4>>2];N[e+32>>2]=0;N[e+4>>2]=h;b:{c:{d:{g=N[e>>2];if(h>>>0>=g>>>0){m=N[a+16>>2];N[a+16>>2]=0;N[a+4>>2]=m?m:g;if((g|0)==(h|0)){if(N[e+12>>2]){break d}if(!N[e+24>>2]){break a}ba(13913,14296,357,13772);B()}j=h-g|0;if(!b){break b}if(j>>>0<=3){break c}d=4;while(1){c=f+g|0;i=T(i,31)+(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))|0;c=d;f=c;d=c+4|0;if(j>>>0>=d>>>0){continue}break}break c}ba(13248,14296,348,13772);B()}ba(13940,14296,356,13772);B()}e:{if(c>>>0>=j>>>0){break e}k=(h+(c^-1)|0)-g|0;h=j&3;if(h){d=0;f=c;while(1){i=L[f+g|0]+T(i,31)|0;f=f+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}c=c|h}if(k>>>0<3){break e}while(1){d=c+g|0;i=T(T(T(L[d|0]+T(i,31)|0,31)+L[d+1|0]|0,31)+L[d+2|0]|0,31)+L[d+3|0]|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}}h=N[e+16>>2];c=0;l=N[e+12>>2];k=T(l,12);f:{if(!k){f=0;break f}d=4;f=0;while(1){c=c+h|0;f=T(f,31)+(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))|0;c=d;d=c+4|0;if(k>>>0>=d>>>0){continue}break}if(c>>>0>=k>>>0){break f}while(1){f=L[h+(c|3)|0]+T(L[h+(c|2)|0]+T(L[h+(c|1)|0]+T(L[c+h|0]+T(f,31)|0,31)|0,31)|0,31)|0;c=c+4|0;if((k|0)!=(c|0)){continue}break}}i=f^i;c=275552;g:{if(!N[a+88>>2]){break g}f=Af(a+60|0,e,i);if((N[f+4>>2]&-1073741824)!=1073741824){break g}d=N[f>>2];o=N[d+4>>2];n=N[d>>2];if((j|0)!=(o-n|0)|N[d+12>>2]!=(l|0)){break g}if((n|0)!=(o|0)){if(Mb(n,g,j)){break g}}if(k){if(Mb(N[d+16>>2],h,k)){break g}}c=f+8|0}h=N[c>>2];if(!h){break b}h:{if(h>>>0>=Q[a+52>>2]){N[147456]=0;a=589824;break h}a=N[a+56>>2]+(h<<2)|0}d=N[e+24>>2];i:{if(!d){break i}c=N[e+28>>2];j=c+T(d,12)|0;b=N[a>>2];f=N[b+20>>2];if((f|0)<0){b=T(d,12)-12|0;a=((b>>>0)/12|0)+1&3;if(a){d=T(a,12);i=0;while(1){N[147456]=0;N[147457]=0;N[147458]=0;i=i+1|0;if((a|0)!=(i|0)){continue}break}c=c+d|0}if(b>>>0<36){break i}while(1){N[147456]=0;N[147457]=0;N[147458]=0;c=c+48|0;if((j|0)!=(c|0)){continue}break}break i}while(1){j:{k:{l:{if((f|0)>=0){g=N[b+24>>2];d=g+1|0;if(d>>>0<=f>>>0){a=N[b+28>>2];break k}while(1){f=((f>>>1|0)+f|0)+8|0;if(d>>>0>=f>>>0){continue}break}if(f>>>0<=357913941){a=$a(N[b+28>>2],T(f,12));if(a){break l}}N[b+20>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;break j}N[b+20>>2]=f;N[b+28>>2]=a;g=N[b+24>>2];d=g+1|0}N[b+24>>2]=d;d=N[c+4>>2];a=T(g,12)+a|0;N[a>>2]=N[c>>2];N[a+4>>2]=d;N[a+8>>2]=N[c+8>>2]}c=c+12|0;if((j|0)!=(c|0)){f=N[b+20>>2];continue}break}l=N[e+12>>2]}if(l){N[e+12>>2]=0}_a(N[e+16>>2]);N[e+16>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;if(N[e+24>>2]){N[e+24>>2]=0}_a(N[e+28>>2]);N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;return h}c=N[a+8>>2]-j|0;N[a+8>>2]=c;m:{if(m){if((c|0)==(g|0)){break m}ba(16968,14296,377,13772);B()}F(c,g,j);g=N[a+8>>2]}N[e>>2]=g;N[e+4>>2]=g+j;n:{o:{p:{q:{r:{c=N[a+48>>2];if((c|0)>=0){d=N[a+52>>2];f=d+1|0;if(f>>>0<=c>>>0){break q}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){g=$a(N[a+56>>2],c<<2);if(g){break r}}N[a+48>>2]=-1}N[147456]=0;if(N[a+24>>2]){break o}N[a+24>>2]=1;break o}N[a+48>>2]=c;N[a+56>>2]=g;d=N[a+52>>2];f=d+1|0;break p}g=N[a+56>>2]}N[a+52>>2]=f;N[(d<<2)+g>>2]=e;if(!N[a+24>>2]){break n}}if(N[e+12>>2]){N[e+12>>2]=0}_a(N[e+16>>2]);N[e+16>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;if(N[e+24>>2]){N[e+24>>2]=0}_a(N[e+28>>2]);N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;return 0}c=N[a+52>>2]-1|0;s:{if(!b|!(L[a+72|0]&1)){break s}b=a+60|0;d=N[a+76>>2];if(Q[a+80>>2]<=(d>>>1|0)+d>>>0){if(!Qg(b)){break s}}b=Af(b,e,i);t:{if(!(O[b+7|0]&64)){break t}N[a+76>>2]=N[a+76>>2]-1;if(N[b+4>>2]<0){break t}N[a+72>>2]=N[a+72>>2]-2}N[b+8>>2]=c;N[b>>2]=e;N[b+4>>2]=i&1073741823|1073741824;N[a+76>>2]=N[a+76>>2]+1;N[a+72>>2]=N[a+72>>2]+2}if(N[a+24>>2]|N[a+72>>2]&1){break a}N[a+24>>2]=1}return c}function pB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;i=La-2192|0;La=i;C(i+144|0,0,2048);C(i- -64|0,0,68);a:{b:{c:{if(d){y=T(d,40)+c|0;while(1){d=N[c+32>>2];if(d>>>0>=2048){break c}j=N[c+36>>2];if(j-1>>>0>=2048){break b}if(d>>>0>j>>>0){break a}l=i- -64|0;k=d>>>6|0;p=k+1|0;f=l+(p<<1)|0;s=f;x=P[f>>1];h=N[c+20>>2];f=h<<2&4;g=N[c+24>>2]?f:h&4?f^4:f;h=h&2;m=h?g:f;n=d&63;M[s>>1]=x-T(m,n);o=l+(k<<1)|0;M[o>>1]=P[o>>1]+T(m,n|65472);u=j>>>6|0;l=l+(u<<1)|0;f=h?f:g;q=j&63;M[l+2>>1]=P[l+2>>1]+T(f,q);M[l>>1]=P[l>>1]+T(f,64-q|0);d:{if((d|0)==(j|0)){break d}f=N[c>>2];o=N[c+4>>2];g=N[c+12>>2];s=g>>31;j=N[c+16>>2];d=N[c+8>>2];M[i>>1]=0;m=j>>31;UE(j,m,d,d>>31);l=Pa+262144|0;d=l>>31;h=l>>19;l=d;M[i+2>>1]=h;M[i+62>>1]=T(h,31);M[i+60>>1]=T(h,30);M[i+58>>1]=T(h,29);M[i+56>>1]=T(h,28);M[i+54>>1]=T(h,27);M[i+52>>1]=T(h,26);M[i+50>>1]=T(h,25);M[i+48>>1]=T(h,24);M[i+46>>1]=T(h,23);M[i+44>>1]=T(h,22);M[i+42>>1]=T(h,21);M[i+40>>1]=T(h,20);M[i+38>>1]=T(h,19);M[i+36>>1]=T(h,18);M[i+34>>1]=T(h,17);M[i+32>>1]=h<<4;M[i+30>>1]=T(h,15);M[i+28>>1]=T(h,14);M[i+26>>1]=T(h,13);M[i+24>>1]=T(h,12);M[i+22>>1]=T(h,11);M[i+20>>1]=T(h,10);M[i+18>>1]=T(h,9);M[i+16>>1]=h<<3;M[i+14>>1]=T(h,7);M[i+12>>1]=T(h,6);M[i+10>>1]=T(h,5);M[i+8>>1]=h<<2;M[i+6>>1]=T(h,3);M[i+4>>1]=h<<1;UE(j,m,g,s);g=Pa+262144|0;s=g;t=g>>19;d=t>>31;v=(d^t)-d|0;d=h>>31;r=(d^h)-d|0;d=o<<20|f>>>12;g=d>>31;UE(j,m,d,g);j=Pa+4096>>>13|0;f=(l&1)<<31|h>>>1;d=f+T(k,t)|0;d=j-d|0;j=d;e:{if(!n){p=k;break e}h=(i+144|0)+(k<<6)|0;if((k|0)==(u|0)){d=q-n|0;f=(d<<3)-r|0;f=((f<<16>>31&f)<<5)+16384<<16>>16;l=T(t,n+q|0)<<9>>16;k=T(d,v)<<10>>16;k=(((k|0)<(r|0)?k:r)<<14)+32768>>16;p=d-(T(f,l-k|0)>>>16|0)|0;l=d-(T(f,l+k|0)>>>16|0)|0;d=d<<1;k=j<<16>>16;j=0;while(1){g=j<<1;m=g+h|0;n=m;s=P[m>>1];g=T(f,k-M[i+g>>1]|0)>>16;m=g+l<<16>>16;m=(m|0)>0?m:0;g=g+p<<16>>16;g=(g|0)>0?g:0;M[n>>1]=s+(((d|0)>(m|0)?m:d)+((d|0)>(g|0)?g:d)|0);j=j+1|0;if((j|0)!=32){continue}break}break d}f=64-n|0;l=(f<<3)-r|0;l=((l<<16>>31&l)<<5)+16384<<16>>16;k=T(t,n<<9|32768)>>16;g=T(f,v)>>>6&65535;g=(((g|0)<(r|0)?g:r)<<14)+32768>>>16|0;m=f-(T(l,k-g|0)>>>16|0)|0;k=f-(T(l,g+k|0)>>>16|0)|0;f=f<<1;g=j<<16>>16;j=0;while(1){o=j<<1;n=o+h|0;x=n;z=P[n>>1];o=T(l,g-M[i+o>>1]|0)>>16;n=o+k<<16>>16;n=(n|0)>0?n:0;o=m+o<<16>>16;o=(o|0)>0?o:0;M[x>>1]=z+(((f|0)>(n|0)?n:f)+((f|0)>(o|0)?o:f)|0);j=j+1|0;if((j|0)!=32){continue}break}j=d-t|0}if((p|0)<(u|0)){d=256-(s>>20)|0;f=((r>>>0>>0?r:v)<<14)+32768>>>16|0;l=d-f|0;f=d+f|0;while(1){h=j&65535;d=0;while(1){k=d<<1;g=k+((i+144|0)+(p<<6)|0)|0;m=g;n=P[g>>1];k=h-P[i+k>>1]|0;g=k+f<<16>>16;g=(g|0)>0?g:0;k=l+k<<16>>16;k=(k|0)>0?k:0;M[m>>1]=n+((g>>>0>=512?512:g)+(k>>>0>=512?512:k)>>>2|0);d=d+1|0;if((d|0)!=32){continue}break}j=j-t|0;p=p+1|0;if((u|0)!=(p|0)){continue}break}}if(!q){break d}d=T(q,t)<<9>>16;f=T(q,v)>>>6&65535;l=(((f|0)<(r|0)?f:r)<<14)+32768>>>16|0;f=(q<<3)-r|0;f=((f<<16>>31&f)<<5)+16384<<16>>16;h=q-(T(d-l|0,f)>>>16|0)|0;l=q-(T(f,d+l|0)>>>16|0)|0;d=q<<1;k=(i+144|0)+(u<<6)|0;p=j<<16>>16;j=0;while(1){g=j<<1;m=g+k|0;n=m;s=P[m>>1];g=T(f,p-M[i+g>>1]|0)>>16;m=g+l<<16>>16;m=(m|0)>0?m:0;g=h+g<<16>>16;g=(g|0)>0?g:0;M[n>>1]=s+(((d|0)>(m|0)?m:d)+((d|0)>(g|0)?g:d)|0);j=j+1|0;if((j|0)!=32){continue}break}}c=c+40|0;if((y|0)!=(c|0)){continue}break}}j=e<<8;while(1){j=P[(i- -64|0)+(w<<1)>>1]+j|0;d=0;while(1){e=(i+144|0)+(w<<6)|0;f=P[e+(d<<1)>>1]+j|0;c=f<<16>>31;c=(c^f)-c<<16>>16;L[a+d|0]=(c|0)>=255?255:c;f=d|1;e=P[e+(f<<1)>>1]+j|0;c=e<<16>>31;c=(c^e)-c<<16>>16;L[a+f|0]=(c|0)>=255?255:c;d=d+2|0;if((d|0)!=32){continue}break}a=a+b|0;w=w+1|0;if((w|0)!=32){continue}break}La=i+2192|0;return}ba(19659,14460,146,17908);B()}ba(19608,14460,147,17908);B()}ba(8129,14460,148,17908);B()}function Um(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=La-16|0;La=h;k=N[a+28>>2];g=N[a+20>>2];a:{b:{if(g){e=85;if(Qa[g|0](a,c,0,0)|0){break a}f=N[a+4>>2];break b}e=85;f=N[a+4>>2];if(f>>>0>>0){break a}}N[a+8>>2]=c;if(c+1>>>0>=f>>>0){break a}c:{d:{g=N[a+20>>2];e:{if(g){if((Qa[g|0](a,c,h+12|0,2)|0)!=2){break a}e=h+12|0;g=N[a+8>>2];break e}g=N[a>>2];if(!g){break d}e=c+g|0;g=c}f=O[e|0]|O[e+1|0]<<8;i=g+2|0;N[a+8>>2]=i;e=8;if(((f<<8|f>>>8)&65535)!=1){break a}f:{g:{h:{if(Q[a+4>>2]<=g+5>>>0){break h}g=N[a+20>>2];i:{if(g){if((Qa[g|0](a,i,h+12|0,4)|0)!=4){break h}i=N[a+8>>2];g=h+12|0;break i}g=N[a>>2];if(!g){break g}g=g+i|0}g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);break f}e=85;break a}g=0}f=i+4|0;N[a+8>>2]=f;N[h+8>>2]=0;j:{if(Q[a+4>>2]<=i+5>>>0){break j}i=N[a+20>>2];if(i){if((Qa[i|0](a,f,h+12|0,2)|0)!=2){break j}f=N[a+8>>2];e=h+12|0;break c}i=N[a>>2];if(i){e=f+i|0;break c}N[a+8>>2]=f+2;N[d>>2]=0;break a}N[d>>2]=0;e=85;break a}N[a+8>>2]=c+2;e=8;break a}i=O[e|0]|O[e+1|0]<<8;N[a+8>>2]=f+2;e=8;f=(i<<8|i>>>8)&65535;N[d>>2]=f;if(!f){break a}i=0;m=lb(k,4,0,f,0,h+8|0);k:{l:{e=N[h+8>>2];m:{if(e){break m}if(N[d>>2]){while(1){e=N[a+8>>2];if(Q[a+4>>2]<=e+3>>>0){break l}n:{o:{f=N[a+20>>2];p:{if(f){if((Qa[f|0](a,e,h+12|0,4)|0)!=4){break l}e=N[a+8>>2];f=h+12|0;break p}f=N[a>>2];if(!f){break o}f=e+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break n}f=0}N[a+8>>2]=e+4;N[(i<<2)+m>>2]=f;i=i+1|0;if(i>>>0>2]){continue}break}}f=c+g|0;g=N[a+20>>2];q:{if(g){e=85;if(!(Qa[g|0](a,f,0,0)|0)){break q}break m}e=85;if(f>>>0>Q[a+4>>2]){break m}}N[a+8>>2]=f;N[h+8>>2]=0;o=d,p=xb(a,h+8|0),M[o+8>>1]=p;e=N[h+8>>2];if(e){break m}g=xb(a,h+8|0);N[d+12>>2]=g;e=N[h+8>>2];if(e){break m}e=8;if(N[N[b+12>>2]>>2]!=P[d+8>>1]|g<<16>>16<0){break m}o=d,p=lb(k,4,0,g,0,h+8|0),N[o+16>>2]=p;e=N[h+8>>2];if(e){break m}if(N[d+12>>2]){e=P[d+8>>1];b=0;while(1){n=lb(k,12,0,e&65535,0,h+8|0);N[N[d+16>>2]+(b<<2)>>2]=n;e=N[h+8>>2];if(e){break m}e=0;if(P[d+8>>1]){f=0;while(1){l=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}i=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}g=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}j=n+T(f,12)|0;N[j+8>>2]=g<<16>>16<<2;N[j+4>>2]=i<<16>>16<<2;N[j>>2]=l<<16>>16<<2;f=f+1|0;e=P[d+8>>1];if(f>>>0>>0){continue}break}}b=b+1|0;if(b>>>0>2]){continue}break}}l=0;o=d,p=lb(k,16,0,N[d>>2],0,h+8|0),N[o+4>>2]=p;e=N[h+8>>2];if(e){break m}if(!N[d>>2]){e=0;break m}while(1){g=N[d+4>>2];f=N[(l<<2)+m>>2]+c|0;r:{b=N[a+20>>2];if(b){if(!(Qa[b|0](a,f,0,0)|0)){break r}e=85;break k}if(f>>>0<=Q[a+4>>2]){break r}e=85;break k}N[a+8>>2]=f;N[h+8>>2]=0;j=g+(l<<4)|0;o=j,p=xb(a,h+8|0),N[o>>2]=p;e=N[h+8>>2];if(e){break k}g=xb(a,h+8|0);e=N[h+8>>2];if(e){break k}b=xb(a,h+8|0);N[j+4>>2]=b;e=N[h+8>>2];if(e){break k}e=8;if(b>>>0>>0|b>>>0>Q[d+12>>2]){break k}o=j,p=lb(k,4,0,b,0,h+8|0),N[o+8>>2]=p;e=N[h+8>>2];if(e){break k}f=0;s:{if(!N[j+4>>2]){e=0;break s}while(1){b=xb(a,h+8|0);N[N[j+8>>2]+(f<<2)>>2]=b;e=N[h+8>>2];if(e){break m}if(b>>>0>2]){f=f+1|0;e=N[j+4>>2];if(f>>>0>=e>>>0){break s}continue}break}e=8;break m}o=j,p=lb(k,2,0,T(N[j>>2],e),0,h+8|0),N[o+12>>2]=p;e=N[h+8>>2];if(e){break m}e=N[j+4>>2];if(T(e,N[j>>2])){f=0;while(1){if(g){b=f+g|0;while(1){i=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}M[N[j+12>>2]+(f<<1)>>1]=i;f=f+1|0;if((b|0)!=(f|0)){continue}break}e=N[j+4>>2];f=b}b=g;if(e>>>0>g>>>0){while(1){i=Pd(a,h+8|0);e=N[h+8>>2];if(e){break m}M[N[j+12>>2]+(f<<1)>>1]=i;f=f+1|0;b=b+1|0;e=N[j+4>>2];if(b>>>0>>0){continue}break}}if(T(N[j>>2],e)>>>0>f>>>0){continue}break}}e=0;l=l+1|0;if(l>>>0>2]){continue}break}}if(!m){break a}break k}N[(i<<2)+m>>2]=0;e=85}Qa[N[k+8>>2]](k,m)}La=h+16|0;return e}function Di(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;p=La-32|0;La=p;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!((d|0)<=0|(e|0)<=0)){n=N[h+4>>2];u=N[h>>2];t=n+u|0;z=(g<<2)+b|0;l=N[z+28>>2];if(t>>>0>l>>>0){break i}q=N[a+4>>2];j=-1<>2];y=l-t|0;m=w+T(y,40)|0;x=N[i>>2];j=10;r=10;j:{k:{switch(u|0){case 0:r=(x|0)!=0;break j;case 1:break k;default:break j}}l=N[m+20>>2];l=(((l^-1)&1)==((l&6)!=6|0))+x|0;r=l?(l|0)==1?2:1:6}o=N[i+4>>2];l:{m:{switch(n|0){case 0:j=(o|0)!=0;break l;case 1:break m;default:break l}}j=N[(m+T(u,40)|0)+20>>2];j=(((j^-1)&1)==((j&6)!=6|0))+o|0;j=j?(j|0)==1?2:1:6}s=j|r;if((s&3)!=2){o=1;i=e>>>q|0;n:{if(!i){break n}l=d>>>q|0;if(!l){break n}g=f<>2]]((j<>2]](((j|1)<>2]]((h<>2]=y;break a}l=m+T(u,40)|0;if(!(!((j^r)&2)|s>>>0>7)){h=1<>2];A=s&4?0-g|0:g;g=N[b>>2];u=N[b+4>>2];s=N[b+12>>2];n=N[b+8>>2];if(!((d|0)!=(h|0)|(e|0)!=(h|0))){Qa[N[a+12>>2]](c,f,n,s,g,u,A);break b}w=e>>>q|0;if(!w){break b}t=d>>>q|0;if(!t){break b}b=s>>31;d=(b^s)-b|0;b=n>>31;b=d+((b^n)-b|0)|0;e=q+5|0;h=e&31;if((e&63)>>>0>=32){d=b<>>32-h;l=b<>31;C=s>>31;D=n>>31;e=C+D|0;b=n+s|0;e=b>>>0>>0?e+1|0:e;b=UE(i,h,b,e);j=Pa;H=f<>2]+6;m=i;o=m>>31;i=UE(r,e,n,D);v=I+Pa|0;i=i+x|0;v=i>>>0>>0?v+1|0:v;m=UE(m,o,i,v);i=g-m|0;G=h-(Pa+(g>>>0>>0)|0)|0;h=j-(G+(b>>>0>>0)|0)|0;v=h>>31;o=b-i^v;m=o-v|0;o=(h^v)-((o>>>0>>0)+v|0)|0;p:{if(l>>>0<=m>>>0&(o|0)>=(d|0)|(d|0)<(o|0)){Qa[N[a+8>>2]](F,f,(h^A)&-2147483648);break p}Qa[N[a+12>>2]](F,f,n,s,i,G,A)}h=r+1|0;e=h?e:e+1|0;r=h;if((t|0)!=(h|0)|e){continue}break}c=c+H|0;e=E+1|0;k=e?k:k+1|0;E=e;if((w|0)!=(e|0)|k){continue}break}break b}k=1<>2]](c,f,m,u,x);break b}if(!(r&2)){Qa[N[a+16>>2]](c,f,l,n,o);break b}q:{if(r>>>0>=8){Qa[N[a+16>>2]](c,f,m,u,x);break q}k=T(y,40)+w|0;g=N[k+16>>2];Qa[N[a+12>>2]](c,f,N[k+8>>2],N[k+12>>2],N[m>>2],N[m+4>>2],r&4?0-g|0:g)}k=N[b+48>>2];r:{if(j>>>0>=8){Qa[N[a+16>>2]](k,d,l,N[h+4>>2],N[i+4>>2]);break r}h=m+T(u,40)|0;g=N[h+16>>2];Qa[N[a+12>>2]](k,d,N[h+8>>2],N[h+12>>2],N[l>>2],N[l+4>>2],j&4?0-g|0:g)}Qa[N[a+20>>2]](c,f,N[b+48>>2]);break b}w=g^1;n=(w<<2)+b|0;j=N[n+36>>2];k=t;t=N[n+28>>2];l=k+t|0;s:{if(j>>>0>=l>>>0){k=N[n+20>>2];break s}j=j<<1;k=j>>>0<=64?64:j;while(1){j=k;k=j<<1;if(j>>>0>>0){continue}break}l=(w<<2)+b|0;k=$a(N[l+20>>2],T(j,40));if(!k){o=0;break a}N[l+20>>2]=k;N[n+36>>2]=j;o=N[i+4>>2];x=N[i>>2]}N[p+12>>2]=o;N[p+8>>2]=x;j=T(t,40)+k|0;t:{if((d|0)>(e|0)){k=N[h>>2];l=N[h+4>>2];h=W(d-1|0)^31;Fi(m,k,l,m,p+24|0,j,p+16|0,p+8|0,64<>2],N[h+4>>2],m,p+24|0,k,p+16|0,p+8|0,64<>2]=N[p+28>>2]+(N[p+24>>2]+y|0);N[n+28>>2]=N[p+20>>2]+(t+N[p+16>>2]|0);o=0;if(!Di(a,b,c,j,e,f,g,p+24|0,i)){break a}if(N[z+28>>2]!=(y|0)){break d}if(!Di(a,b,c+h|0,d,k,f,w,p+16|0,p+8|0)){break a}o=1;if((t|0)!=N[n+28>>2]){break c}break a}ba(21974,18126,634,13300);B()}ba(18464,18126,635,13300);B()}ba(24293,18126,636,13300);B()}ba(24249,18126,637,13300);B()}ba(24293,18126,562,15790);B()}ba(24249,18126,563,15790);B()}ba(11093,18126,715,13300);B()}ba(21690,18126,718,13300);B()}N[z+28>>2]=y;o=1}La=p+32|0;return o}function wE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=db(1,160);a:{if(!f){break a}c=260272;N[f>>2]=260272;b:{c:{d:{e:{f:{g:{h:{b=N[a+4>>2];if((b|0)<=1265525856){if((b|0)<=1198877297){if((b|0)==1113943655){break h}e=260296;if((b|0)==1147500129){break c}break b}if((b|0)==1198877298){break g}if((b|0)!=1198879349){break b}e=260344;break c}if((b|0)<=1332902240){if((b|0)==1265525857){break d}if((b|0)!=1298954605){break b}e=260488;break c}if((b|0)==1332902241){break f}if((b|0)==1415671148){break e}if((b|0)!=1415933045){break b}e=260440;break c}e=260320;break c}e=260368;break c}e=260392;break c}e=260416;break c}e=260464}N[f>>2]=e;c=e}d=O[c+4|0]?O[a+24|0]!=50:d;L[f+4|0]=d;c=N[147450];if(!c){Dl();c=N[147450]}b=-1;N[f+8>>2]=-1;L[f+5|0]=c>>>2&1;h=d?h:N[a+4>>2]!=1298954605;L[f+24|0]=h;j=N[a+48>>2];i=N[a+44>>2];i:{if((i|0)<=0){break i}b=i-1|0;d=0;j:{while(1){e=b+d>>>1|0;c=N[T(e,36)+j>>2];k:{if(c>>>0>=1919969383){b=e-1|0;break k}if((c|0)==1919969382){break j}d=e+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break i}b=N[(T(e,36)+j|0)+12>>2]}e=N[a+80>>2];l:{if(e>>>0>>0){c=0;b=0;break l}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+12>>2]=b;L[f+40|0]=h;N[f+20>>2]=0;N[f+16>>2]=c;b=-1;m:{if((i|0)<=0){break m}b=i-1|0;d=0;n:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];o:{if(g>>>0>=1886545255){b=c-1|0;break o}if((g|0)==1886545254){break n}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break m}b=N[(T(c,36)+j|0)+12>>2]}p:{if(b>>>0>e>>>0){c=0;b=0;break p}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+28>>2]=b;L[f+56|0]=h;N[f+36>>2]=0;N[f+32>>2]=c;b=-1;q:{if((i|0)<=0){break q}b=i-1|0;d=0;r:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];s:{if(g>>>0>=1651275623){b=c-1|0;break s}if((g|0)==1651275622){break r}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break q}b=N[(T(c,36)+j|0)+12>>2]}t:{if(b>>>0>e>>>0){c=0;b=0;break t}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+44>>2]=b;L[f+72|0]=h;N[f+52>>2]=0;N[f+48>>2]=c;b=-1;u:{if((i|0)<=0){break u}b=i-1|0;d=0;v:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];w:{if(g>>>0>=1886614631){b=c-1|0;break w}if((g|0)==1886614630){break v}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break u}b=N[(T(c,36)+j|0)+12>>2]}x:{if(b>>>0>e>>>0){c=0;b=0;break x}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+60>>2]=b;L[f+88|0]=h;N[f+68>>2]=0;N[f- -64>>2]=c;b=-1;y:{if((i|0)<=0){break y}b=i-1|0;d=0;z:{while(1){c=b+d>>>1|0;h=N[T(c,36)+j>>2];A:{if(h>>>0>=1986098294){b=c-1|0;break A}if((h|0)==1986098293){break z}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break y}b=N[(T(c,36)+j|0)+12>>2]}h=0;B:{if(b>>>0>e>>>0){c=0;a=0;break B}d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){e=N[a+84>>2]+(b<<3)|0}else{e=a+56|0}b=N[a+56>>2];c=b-d|0;b=b>>>0>=c>>>0?c:0;e=N[e>>2]-d|0;c=b>>>0>>0?b:e;a=N[a+60>>2]+T(d,12)|0}N[f+76>>2]=a;N[f+84>>2]=0;N[f+80>>2]=c;if((i|0)<=0){break a}a=i-1|0;while(1){k=(h<<2)+f|0;d=0;C:{if(!(2548>>>h&1)){break C}e=N[(h<<3)+257072>>2];d=0;b=a;while(1){c=b+d>>>1|0;g=T(c,36)+j|0;i=N[g>>2];D:{if(i>>>0<=e>>>0){d=N[g+28>>2];if(e>>>0<=i>>>0){break C}d=c+1|0;break D}b=c-1|0}if((b|0)>=(d|0)){continue}break}d=0}N[k+92>>2]=d;h=h+1|0;if((h|0)!=17){continue}break}}return f|0}function nj(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=N[a>>2];if(!b){break a}b:{c:{if((b|0)>0){N[a>>2]=b-1;if((b|0)!=1){break a}N[a>>2]=-57005;e=N[a+8>>2];if(e){c=N[e+8>>2];if(c){while(1){c=c-1|0;b=N[e+12>>2]+T(c,12)|0;d=N[b+8>>2];b=N[b+4>>2];N[e+8>>2]=c;if(d){Qa[d|0](b);c=N[e+8>>2]}if(c){continue}break}}_a(N[e+12>>2]);_a(e);N[a+8>>2]=0}c=N[a+208>>2];if(c){break c}break b}ba(23506,14099,270,7918);B()}while(1){b=N[c+4>>2];pj(N[c>>2]);_a(c);c=b;if(b){continue}break}}N[a+40>>2]=0;N[a+44>>2]=0;b=N[a+52>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+52>>2]=0;b=N[a+56>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+56>>2]=0;b=N[a+60>>2];if(!(!b|(b|0)==275552)){ab(N[b+44>>2]);_a(b)}N[a+60>>2]=0;b=N[a- -64>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+64>>2]=0;b=N[a+68>>2];if(!(!b|(b|0)==275552)){ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b)}N[a+68>>2]=0;b=N[a+72>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+72>>2]=0;b=N[a+76>>2];if(!(!b|(b|0)==275552)){_a(N[b+28>>2]);ab(N[b>>2]);N[b>>2]=0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);_a(b)}N[a+76>>2]=0;b=N[a+80>>2];if(!(!b|(b|0)==275552)){ab(N[b+8>>2]);N[b+8>>2]=0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);_a(b)}N[a+80>>2]=0;b=N[a+84>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+84>>2]=0;b=N[a+88>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+88>>2]=0;b=N[a+92>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+92>>2]=0;b=N[a+96>>2];if(!(!b|(b|0)==275552)){ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b)}N[a+96>>2]=0;b=N[a+100>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+100>>2]=0;b=N[a+104>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+104>>2]=0;b=N[a+108>>2];if(!(!b|(b|0)==275552)){ab(N[b+24>>2]);_a(b)}N[a+108>>2]=0;c=N[a+112>>2];if(!(!c|(c|0)==275552)){b=N[c+220>>2];if(b){if(N[b+4>>2]){N[b+4>>2]=0}_a(N[b+8>>2]);_a(b)}mj(c);_a(nq(c))}N[a+112>>2]=0;b=N[a+116>>2];if(!(!b|(b|0)==275552)){_a(lj(b))}N[a+116>>2]=0;b=N[a+120>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+120>>2]=0;b=N[a+124>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+124>>2]=0;b=N[a+128>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+128>>2]=0;b=N[a+132>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+132>>2]=0;b=N[a+136>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+136>>2]=0;b=N[a+140>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+140>>2]=0;d=N[a+144>>2];if(!(!d|(d|0)==275552)){if(N[d+4>>2]){c=0;while(1){b=N[d+8>>2]+T(c,28)|0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);N[b+16>>2]=0;N[b+20>>2]=0;N[b+12>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}_a(N[d+8>>2]);ab(N[d>>2]);_a(d)}N[a+144>>2]=0;d=N[a+148>>2];if(!(!d|(d|0)==275552)){if(N[d+4>>2]){c=0;while(1){b=N[d+8>>2]+T(c,28)|0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);N[b+16>>2]=0;N[b+20>>2]=0;N[b+12>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}_a(N[d+8>>2]);ab(N[d>>2]);_a(d)}N[a+148>>2]=0;b=N[a+152>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+152>>2]=0;b=N[a+156>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+156>>2]=0;b=N[a+160>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+160>>2]=0;b=N[a+164>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+164>>2]=0;b=N[a+168>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+168>>2]=0;b=N[a+172>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+172>>2]=0;b=N[a+176>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+176>>2]=0;b=N[a+180>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+180>>2]=0;b=N[a+184>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+184>>2]=0;b=N[a+188>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+188>>2]=0;b=N[a+192>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);N[b>>2]=0;ab(N[b+4>>2]);_a(b)}N[a+192>>2]=0;b=N[a+196>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+196>>2]=0;b=N[a+200>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+200>>2]=0;b=N[a+204>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+204>>2]=0;b=N[a+20>>2];if(b){Qa[b|0](N[a+16>>2])}_a(a)}}function zj(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{f=L[b+140|0];if((f|0)>=0){L[b+140|0]=f|128;t=N[b+80>>2];m=N[b+68>>2];b:{if(!N[b+132>>2]){break b}g=b+92|0;while(1){f=N[g+(d<<2)>>2];e=N[b+12>>2];f=Rg(f,Qa[N[e+24>>2]](e,f,N[e+56>>2])|0);if((f|0)==7){e=0;d=d+1|0;if(d>>>0>2]){continue}break b}break}e=P[(f<<2)+238226>>1]}if(!m){f=-1;break a}u=t+3|0;f=-1;g=0;while(1){n=T(g,20);d=t+n|0;h=Rg(N[d>>2],P[d+16>>1]&31);c:{if((h|0)==7){L[(n+u|0)+16|0]=7;break c}o=T(e,24)+(h<<2)|0;d=O[o+238224|0];d:{if(!((d|0)==7|(f|0)==-1)){L[(u+T(f,20)|0)+16|0]=d;yj(b,f,g+1|0);break d}if((f|0)==-1){if(!(O[b+16|0]&64)|h>>>0<2){break d}wb(b,2,0,g+1|0,0,1);break d}if(!(O[b+16|0]&64)|h>>>0<=1&e-2>>>0>3){break d}e=N[b+68>>2];d=g+1|0;q=d>>>0>e>>>0?e:d;r=q-f|0;if(r>>>0<2){break d}k=N[b+144>>2]|32;N[b+144>>2]=k;if(f>>>0>=q>>>0){break d}p=N[b+80>>2];d=-1;e=f;l=q+(e^-1)|0;if(l>>>0>=3){i=r&-4;j=0;while(1){s=p+T(e,20)|0;h=N[s+8>>2];h=d>>>0>>0?d:h;d=N[s+28>>2];h=d>>>0>h>>>0?h:d;d=N[s+48>>2];h=d>>>0>h>>>0?h:d;d=N[s+68>>2];d=d>>>0>h>>>0?h:d;e=e+4|0;j=j+4|0;if((i|0)!=(j|0)){continue}break}}j=0;i=r&3;if(i){while(1){h=N[(p+T(e,20)|0)+8>>2];d=d>>>0>>0?d:h;e=e+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}if(r&1){e=p+T(f,20)|0;if(N[e+8>>2]!=(d|0)){N[e+4>>2]=N[e+4>>2]|2}f=f+1|0}if(!l){break d}while(1){e=p+T(f,20)|0;if(N[e+8>>2]!=(d|0)){k=k|32;N[b+144>>2]=k;N[e+4>>2]=N[e+4>>2]|2}e=p+T(f+1|0,20)|0;if(N[e+8>>2]!=(d|0)){k=k|32;N[b+144>>2]=k;N[e+4>>2]=N[e+4>>2]|2}f=f+2|0;if((q|0)!=(f|0)){continue}break}}L[(n+u|0)+16|0]=O[o+238225|0];e=P[o+238226>>1];f=g}g=g+1|0;if((m|0)!=(g|0)){continue}break}break a}ba(22778,14165,169,12138);B()}e:{if(!N[b+136>>2]){break e}d=0;while(1){g=N[((d<<2)+b|0)+112>>2];h=N[b+12>>2];g=Rg(g,Qa[N[h+24>>2]](h,g,N[h+56>>2])|0);if((g|0)==7){d=d+1|0;if(d>>>0>2]){continue}break e}break}d=O[(T(e,24)+(g<<2)|0)+238224|0];if(!((d|0)==7|(f|0)==-1)){L[(t+T(f,20)|0)+19|0]=d;yj(b,f,N[b+68>>2]);break e}if(!(O[b+16|0]&64)|e-2>>>0>3){break e}n=N[b+68>>2];o=n-f|0;if(o>>>0<2){break e}k=N[b+144>>2]|32;N[b+144>>2]=k;if(f>>>0>=n>>>0){break e}m=N[b+80>>2];g=-1;d=f;l=n+(d^-1)|0;if(l>>>0>=3){h=o&-4;i=0;while(1){j=m+T(d,20)|0;e=N[j+8>>2];g=e>>>0>g>>>0?g:e;e=N[j+28>>2];g=e>>>0>g>>>0?g:e;e=N[j+48>>2];g=e>>>0>g>>>0?g:e;e=N[j+68>>2];g=e>>>0>g>>>0?g:e;d=d+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}i=o&3;if(i){e=0;while(1){h=N[(m+T(d,20)|0)+8>>2];g=g>>>0>>0?g:h;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(o&1){d=m+T(f,20)|0;if(N[d+8>>2]!=(g|0)){N[d+4>>2]=N[d+4>>2]|2}f=f+1|0}if(!l){break e}while(1){d=m+T(f,20)|0;if(N[d+8>>2]!=(g|0)){k=k|32;N[b+144>>2]=k;N[d+4>>2]=N[d+4>>2]|2}d=m+T(f+1|0,20)|0;if(N[d+8>>2]!=(g|0)){k=k|32;N[b+144>>2]=k;N[d+4>>2]=N[d+4>>2]|2}f=f+2|0;if((n|0)!=(f|0)){continue}break}}f:{g:{if((c|0)!=1299148391){break g}j=N[b+80>>2];e=N[b+68>>2];c=j;if(e>>>0<2){break f}l=j+3|0;g=1;if((e|0)!=2){c=e-1|0;h=c&1;d=c&-2;e=0;while(1){i=T(g,20);c=N[i+j>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){c=i+l|0;L[c+16|0]=O[c-4|0]}f=T(g+1|0,20);c=N[f+j>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){L[(f+l|0)+16|0]=O[(i+l|0)+16|0]}g=g+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}if(!h){break g}}c=N[j+T(g,20)>>2]-6155|0;if(c>>>0>4|(c|0)==3){break g}c=l+T(g,20)|0;L[c+16|0]=O[c-4|0]}e=N[b+68>>2];c=N[b+80>>2]}h:{if(!e){break h}i=c+3|0;g=0;if((e|0)!=1){h=e&1;d=e&-2;while(1){f=T(g,20);b=f+c|0;N[b+4>>2]=N[b+4>>2]|N[(O[(f+i|0)+16|0]<<2)+a>>2];f=T(g|1,20);b=f+c|0;N[b+4>>2]=N[b+4>>2]|N[(O[(f+i|0)+16|0]<<2)+a>>2];g=g+2|0;if((d|0)!=(g|0)){continue}break}if(!h){break h}}b=c;c=T(g,20);b=b+c|0;N[b+4>>2]=N[b+4>>2]|N[(O[(c+i|0)+16|0]<<2)+a>>2]}}function wb(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,q=0;g=N[a+68>>2];k=d>>>0>g>>>0?g:d;i=k-c|0;a:{b:{c:{if(!(!e|f)&i>>>0<2){break c}h=N[a+144>>2]|32;N[a+144>>2]=h;if(!(O[a+62|0]?f:0)){if(!e){if(c>>>0>=k>>>0){break c}f=(c^-1)+k|0;e=N[a+80>>2];a=i&3;if(a){d=0;while(1){g=e+T(c,20)|0;N[g+4>>2]=N[g+4>>2]|b;c=c+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(f>>>0<3){break c}while(1){a=e+T(c,20)|0;N[a+4>>2]=N[a+4>>2]|b;N[a+24>>2]=N[a+24>>2]|b;N[a+44>>2]=N[a+44>>2]|b;a=a- -64|0;N[a>>2]=N[a>>2]|b;c=c+4|0;if((k|0)!=(c|0)){continue}break}break c}if(c>>>0>=k>>>0){break c}e=N[a+80>>2];d=-1;f=c;l=(c^-1)+k|0;if(l>>>0>=3){n=i&-4;while(1){g=e+T(f,20)|0;j=N[g+8>>2];d=d>>>0>>0?d:j;j=N[g+28>>2];d=d>>>0>>0?d:j;j=N[g+48>>2];d=d>>>0>>0?d:j;g=N[g+68>>2];d=d>>>0>>0?d:g;f=f+4|0;o=o+4|0;if((n|0)!=(o|0)){continue}break}}n=i&3;if(n){g=0;while(1){j=N[(e+T(f,20)|0)+8>>2];d=d>>>0>>0?d:j;f=f+1|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}if(i&1){f=e+T(c,20)|0;if(N[f+8>>2]!=(d|0)){N[f+4>>2]=N[f+4>>2]|b}c=c+1|0}if(!l){break c}while(1){f=e+T(c,20)|0;if(N[f+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[f+4>>2]=N[f+4>>2]|b}f=e+T(c+1|0,20)|0;if(N[f+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[f+4>>2]=N[f+4>>2]|b}c=c+2|0;if((k|0)!=(c|0)){continue}break}break c}l=N[a+72>>2];if(l>>>0>>0){break b}f=N[a+64>>2];if(k>>>0>>0){break a}if(!e){d:{if(c>>>0>=l>>>0){break d}g=l+(c^-1)|0;e=N[a+84>>2];i=l-c&3;if(i){d=0;while(1){h=e+T(c,20)|0;N[h+4>>2]=N[h+4>>2]|b;c=c+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(g>>>0<=2){break d}while(1){d=e+T(c,20)|0;N[d+4>>2]=N[d+4>>2]|b;N[d+24>>2]=N[d+24>>2]|b;N[d+44>>2]=N[d+44>>2]|b;d=d- -64|0;N[d>>2]=N[d>>2]|b;c=c+4|0;if((l|0)!=(c|0)){continue}break}}if(f>>>0>=k>>>0){break c}e=(f^-1)+k|0;d=N[a+80>>2];a=k-f&3;if(a){c=0;while(1){g=d+T(f,20)|0;N[g+4>>2]=N[g+4>>2]|b;f=f+1|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}if(e>>>0<3){break c}while(1){a=d+T(f,20)|0;N[a+4>>2]=N[a+4>>2]|b;N[a+24>>2]=N[a+24>>2]|b;N[a+44>>2]=N[a+44>>2]|b;a=a- -64|0;N[a>>2]=N[a>>2]|b;f=f+4|0;if((k|0)!=(f|0)){continue}break}break c}n=N[a+80>>2];d=-1;p=f>>>0>=k>>>0;e:{if(p){break e}g=k-f|0;j=g&3;e=f;if((e^-1)+k>>>0>=3){o=g&-4;i=0;while(1){g=n+T(e,20)|0;m=N[g+8>>2];d=d>>>0>>0?d:m;m=N[g+28>>2];d=d>>>0>>0?d:m;m=N[g+48>>2];d=d>>>0>>0?d:m;g=N[g+68>>2];d=d>>>0>>0?d:g;e=e+4|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}}if(!j){break e}g=0;while(1){i=N[(n+T(e,20)|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}f:{if(c>>>0>=l>>>0){break f}j=N[a+84>>2];o=l+(c^-1)|0;m=l-c|0;e=m&3;if(e){i=0;g=c;while(1){q=N[(j+T(g,20)|0)+8>>2];d=d>>>0>>0?d:q;g=g+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}e=c+e|0}else{e=c}i=e;if(o>>>0>=3){while(1){e=j+T(i,20)|0;g=N[e+8>>2];d=d>>>0>>0?d:g;g=N[e+28>>2];d=d>>>0>>0?d:g;g=N[e+48>>2];d=d>>>0>>0?d:g;e=N[e+68>>2];d=d>>>0>>0?d:e;i=i+4|0;if((l|0)!=(i|0)){continue}break}}if(m&1){e=j+T(c,20)|0;if(N[e+8>>2]!=(d|0)){N[e+4>>2]=N[e+4>>2]|b}c=c+1|0}if(!o){break f}while(1){e=j+T(c,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}e=j+T(c+1|0,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}c=c+2|0;if((l|0)!=(c|0)){continue}break}}if(p){break c}c=f+1|0;if(k-f&1){e=n+T(f,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}f=c}if((c|0)==(k|0)){break c}while(1){c=n+T(f,20)|0;if(N[c+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[c+4>>2]=N[c+4>>2]|b}c=n+T(f+1|0,20)|0;if(N[c+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[c+4>>2]=N[c+4>>2]|b}f=f+2|0;if((k|0)!=(f|0)){continue}break}}return}ba(12894,14165,449,11039);B()}ba(16690,14165,450,11039);B()}function Tg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-16|0;La=f;N[f+12>>2]=0;N[f+8>>2]=0;N[f+4>>2]=0;N[f>>2]=0;e=N[a+8>>2];d=N[a+4>>2];a:{b:{c:{if(!(Qa[N[a+20>>2]](a,c,f+12|0,f+8|0)|0)){break c}c=N[f+8>>2];if(c){N[f>>2]=0;h=N[e+96>>2];i=N[h+28>>2];j=N[e+100>>2];h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}if(!(Qa[i|0](e,j,c,f,h)|0)){break c}}N[f+4>>2]=0;c=N[e+96>>2];g=N[c+28>>2];h=N[e+100>>2];i=N[f+12>>2];j=f+4|0;c=N[c+12>>2];if(c){c=N[c+8>>2]}else{c=0}c=Qa[g|0](e,h,i,j,c)|0;g=N[f+12>>2];d:{e:{f:{g:{h:{if(!(!c|!b)){N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f+4>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break h}}a=N[d+84>>2];i:{if((a|0)!=N[d+80>>2]){break i}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break i}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break i}F(c,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}j:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break j}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break d}g=Tg(a,b,g);if(g){c=N[f+8>>2];if(!c){break c}N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break g}}a=N[d+84>>2];k:{if((a|0)!=N[d+80>>2]){break k}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break k}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;b=T(b,20);if(!b){break k}F(e,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}l:{if(a>>>0>>0){e=N[d+72>>2];b=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break l}b=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=b+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+b|0;e=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=e;N[b+16>>2]=N[a+16>>2];e=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=e;N[b>>2]=c;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break e}if(!c){g=0;break c}g=N[f+12>>2];N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f+4>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break f}}a=N[d+84>>2];m:{if((a|0)!=N[d+80>>2]){break m}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break m}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break m}F(c,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}n:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break n}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break d}a=N[d+72>>2];break d}a=N[d+72>>2];break e}a=N[d+72>>2];break d}b=a-1|0;Hd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=g+1|0;break c}b=a-1|0;Hd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=N[f+8>>2];if(!g){g=1;break c}N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f>>2];o:{p:{a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break p}}q:{a=N[d+84>>2];r:{if((a|0)!=N[d+80>>2]){break r}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break r}if(!O[d+62|0]){break q}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break r}F(c,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}s:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break s}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break o}break b}a=N[d+72>>2]}b=a-1|0;Hd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=2}La=f+16|0;return g}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function Sb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=N[a>>2];a:{e=N[a+4>>2];b:{if(!e){e=0;break b}if(N[a+40>>2]){break b}d=e<<1;if((d|0)<0){h=6;break a}c:{if(!d){d=0;break c}h=10;if(d>>>0>268435455){break a}e=e<<4;d=Qa[N[g+4>>2]](g,e)|0;if(!d){N[a+40>>2]=0;return 64}C(d,0,e);e=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=d;i=(e<<3)+d|0;N[a+44>>2]=i;h=0;f=N[a+24>>2];if(f){f=f+(M[a+22>>1]<<3)|0}else{f=0}N[a+60>>2]=f;j=a- -64|0;f=N[a+28>>2];if(f){f=f+M[a+22>>1]|0}else{f=0}N[j>>2]=f;f=N[a+32>>2];if(f){f=f+(M[a+20>>1]<<1)|0}else{f=0}N[a+68>>2]=f;f=M[a+22>>1]<<3;N[a+80>>2]=f+i;N[a+76>>2]=d+f}d:{e:{b=M[a+58>>1]+(M[a+22>>1]+b|0)|0;j=b>>>0<=e>>>0;f:{g:{if(j){b=e;break g}d=10;f=b+7|0;b=f&-8;if(b>>>0>32767){break f}d=6;if((e|f)<0){break d}d=N[a+24>>2];h:{i:{j:{if(!b){if(d){Qa[N[g+8>>2]](g,d)}N[a+24>>2]=0;f=a+28|0;d=N[f>>2];if(!d){break j}Qa[N[g+8>>2]](g,d);N[a+28>>2]=0;break h}i=(b|0)<=(e|0);k:{if(!e){f=Qa[N[g+4>>2]](g,b<<3)|0;d=!f<<6;break k}h=Qa[N[g+12>>2]](g,e<<3,b<<3,d)|0;f=h?h:d;d=!h<<6}l:{if(f?i|d:1){N[a+24>>2]=f;if(!d){break l}break d}C((e<<3)+f|0,0,b-e<<3);N[a+24>>2]=f}f=a+28|0;m:{if(!e){h=Qa[N[g+4>>2]](g,b)|0;d=!h<<6;break m}h=N[a+28>>2];d=Qa[N[g+12>>2]](g,e,b,h)|0;h=d?d:h;d=!d<<6}if(d|i|!h){break i}C(e+h|0,0,b-e|0)}N[f>>2]=h;break h}N[a+28>>2]=h;if(d){break d}}if(O[a+16|0]){d=6;h=e<<1;if((h|0)<0){break d}d=N[a+40>>2];n:{o:{p:{if(!b){f=0;if(!d){break p}Qa[N[g+8>>2]](g,d);N[a+40>>2]=0;break n}q:{if(!h){f=Qa[N[g+4>>2]](g,b<<4)|0;d=!f<<6;break q}i=Qa[N[g+12>>2]](g,e<<4,b<<4,d)|0;f=i?i:d;d=!i<<6}i=b<<1;if(d|(i|0)<=(h|0)|!f){break o}C((e<<4)+f|0,0,i-h<<3)}N[a+40>>2]=f;break n}N[a+40>>2]=f;if(d){break d}}d=b<<3;e=e<<3;F(d+f|0,e+f|0,e);N[a+44>>2]=d+N[a+40>>2]}N[a+4>>2]=b}if(!(N[a+40>>2]|!b)){e=b<<1;if((e|0)<0){d=6;break e}r:{if(!e){e=0;break r}d=10;if(e>>>0>268435455){break e}d=N[a>>2];b=b<<4;e=Qa[N[d+4>>2]](d,b)|0;if(!e){N[a+40>>2]=0;return 64}C(e,0,b);b=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=e;d=(b<<3)+e|0;N[a+44>>2]=d;b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;i=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[i>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;b=M[a+22>>1]<<3;N[a+80>>2]=b+d;N[a+76>>2]=b+e}b=M[a+56>>1]+(M[a+20>>1]+c|0)|0;e=N[a+8>>2];s:{if(b>>>0>e>>>0){d=10;c=b+3|0;b=c&-4;if(b>>>0>32767){break f}if((c|e)<0){d=6;break d}d=N[a+32>>2];t:{u:{if(!b){c=0;if(!d){break u}Qa[N[g+8>>2]](g,d);N[a+32>>2]=0;N[a+8>>2]=b;break s}v:{if(!e){c=Qa[N[g+4>>2]](g,b<<1)|0;d=!c<<6;break v}g=Qa[N[g+12>>2]](g,e<<1,b<<1,d)|0;c=g?g:d;d=!g<<6}if(d|(b|0)<=(e|0)|!c){break t}C((e<<1)+c|0,0,b-e<<1)}N[a+32>>2]=c;N[a+8>>2]=b;break s}N[a+32>>2]=c;if(d){break d}N[a+8>>2]=b;break s}d=0;if(j){break f}}b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;c=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[c>>2]=b;d=0;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;if(!O[a+16|0]){break f}b=M[a+22>>1]<<3;N[a+76>>2]=b+N[a+40>>2];N[a+80>>2]=b+N[a+44>>2]}return d}N[a+40>>2]=0;return d}b=N[a>>2];c=N[a+24>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+24>>2]=0;c=N[a+28>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+28>>2]=0;c=N[a+32>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+32>>2]=0;c=N[a+40>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+40>>2]=0;c=N[a+52>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+12>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+20>>2]=0;N[a+44>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];b=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=b;b=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=b;b=N[a+32>>2];N[a+64>>2]=N[a+28>>2];N[a+68>>2]=b;b=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=b;return d}N[a+40>>2]=0;return h}function vp(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=N[(c?16:12)+b>>2];k=N[(c?8:4)+b>>2];l=T(c,9804)+a|0;b=l+9840|0;a:{if((k|0)==N[b>>2]&(o|0)==N[l+9844>>2]){break a}N[b>>2]=k;N[l+9844>>2]=o;m=N[a+10064>>2];b:{if(!m){break b}b=0;while(1){if(!(O[(T(b,36)+a|0)+10100|0]&16)){b=b+1|0;if((m|0)!=(b|0)){continue}break b}break}d=N[(T(b,36)+a|0)+10080>>2];g=d>>31;g=(d^g)-g|0;b=k>>31;b=(b^k)-b|0;c:{if(g+(b>>>8|0)>>>0<=8190){b=T(b,g)+32768>>>16|0;break c}e=g&65535;b=T(e,b>>>16|0)+T(b,g>>>16|0)+(T(e,b&65535)+32768>>>16)|0}g=N[N[a+36>>2]+20>>2];if(g){h=g;g=P[N[N[a+4>>2]+88>>2]+12>>1];g=g>>>0<=5?40:h>>>0>=g>>>0?52:40}else{g=40}if((c|0)!=1){break b}e=0-b|0;h=b;b=d>>31|1;b=(((k|0)<0?0-b|0:b)|0)<0?e:h;g=b+g&-64;if((b|0)==(g|0)){break b}g=jb(k,g,b);d=N[a+40>>2];d:{e:{if((m|0)==1){e=0;break e}j=m&1;e=m&-2;h=a+10068|0;b=0;while(1){f=h+T(b,36)|0;i=N[f+24>>2];d=(d|0)>(i|0)?d:i;f=0-N[f+28>>2]|0;d=(d|0)>(f|0)?d:f;f=h+T(b|1,36)|0;i=N[f+24>>2];d=(d|0)>(i|0)?d:i;f=0-N[f+28>>2]|0;d=(d|0)>(f|0)?d:f;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!j){break d}}b=T(e,36)+a|0;e=N[b+10092>>2];d=(d|0)>(e|0)?d:e;b=0-N[b+10096>>2]|0;d=(b|0)<(d|0)?d:b}j=g-k|0;b=j>>31;e=d>>31;e=(e^d)-e|0;b=(b^j)-b|0;f=e+(b>>>8|0)|0;f:{if(f>>>0<=8190){h=T(b,e)+32768>>>16|0;break f}h=e&65535;h=T(h,b>>>16|0)+T(b,e>>>16|0)+(T(h,b&65535)+32768>>>16)|0}d=d>>31|1;d=(j|0)<0?0-d|0:d;h=(d|0)<0?0-h|0:h;if(f>>>0<=8190){b=T(b,e)+32768>>>16|0}else{j=e&65535;b=T(j,b>>>16|0)+T(b,e>>>16|0)+(T(j,b&65535)+32768>>>16)|0}b=(d|0)<0?0-b|0:b;k=((h|0)<0?0-b|0:b)>>>0<128?g:k}N[l+44>>2]=k;N[(T(c,9804)+a|0)+48>>2]=o;g:{if(!c){N[a+8>>2]=k;b=a+16|0;break g}N[a+12>>2]=k;b=a+20|0}N[b>>2]=o;b=T(c,9804)+a|0;j=N[b+52>>2];h:{if(!j){b=k>>31;d=(b^k)-b|0;g=d>>>8|0;break h}g=k>>31;d=(g^k)-g|0;f=d&65535;i=d>>>16|0;g=d>>>8|0;r=b+56|0;b=0;while(1){l=r+T(b,12)|0;h=N[l>>2];e=h>>31;e=(e^h)-e|0;i:{if(e+g>>>0<=8190){n=T(d,e)+32768>>>16|0;break i}p=e&65535;n=T(p,i)+T(e>>>16|0,d)+(T(f,p)+32768>>>16)|0}e=n;p=0-e|0;e=h>>31|1;e=(((k|0)<0?0-e|0:e)|0)<0?p:n;N[l+8>>2]=e;N[l+4>>2]=e;b=b+1|0;if((j|0)!=(b|0)){continue}break}}b=T(c,9804)+a|0;f=b;e=N[b+252>>2];b=e>>31;b=(b^e)-b|0;j:{if(b+g>>>0<=8190){h=T(b,d)+32768>>>16|0;break j}h=b&65535;h=T(h,d>>>16|0)+T(b>>>16|0,d)+(T(h,d&65535)+32768>>>16)|0}b=h;i=0-b|0;b=e>>31|1;L[f+256|0]=(((((k|0)<0?0-b|0:b)|0)<0?i:h)|0)<40;if(!m|(c|0)!=1){break a}c=d&65535;e=d>>>16|0;l=0;while(1){b=T(l,36)+a|0;h=b+10068|0;j=N[h>>2];f=j>>31;f=(f^j)-f|0;k:{if(f+g>>>0<=8190){i=T(d,f)+32768>>>16|0;break k}i=f&65535;i=T(i,e)+T(f>>>16|0,d)+(T(c,i)+32768>>>16)|0}f=i;n=0-f|0;f=j>>31|1;r=(k|0)<0;p=o+(((r?0-f|0:f)|0)<0?n:i)|0;N[h+8>>2]=p;N[h+4>>2]=p;f=N[b+10080>>2];i=f>>31;i=(f^i)-i|0;l:{if(i+g>>>0<=8190){n=T(d,i)+32768>>>16|0;break l}q=i&65535;n=T(q,e)+T(i>>>16|0,d)+(T(c,q)+32768>>>16)|0}i=n;q=b+10100|0;s=N[q>>2];N[q>>2]=s&-2;t=b+10088|0;u=0-i|0;i=f>>31|1;i=o+(((r?0-i|0:i)|0)<0?u:n)|0;N[t>>2]=i;N[b+10084>>2]=i;j=j-f|0;b=j>>31;b=(b^j)-b|0;m:{if(b+g>>>0<=8190){b=T(b,d)+32768>>>16|0;break m}f=b&65535;b=T(f,e)+T(b>>>16|0,d)+(T(c,f)+32768>>>16)|0}j=j>>31|1;j=((r?0-j|0:j)|0)<0?0-b|0:b;if(j+48>>>0<=96){f=h;h=p+32&-64;N[f+8>>2]=h;f=b;b=b>>31;b=(f^b)-b|0;b=b>>>0>=32?b>>>0<48?32:64:0;N[t>>2]=h+((j|0)<0?b:0-b|0);N[q>>2]=s|1}l=l+1|0;if((m|0)!=(l|0)){continue}break}c=0;while(1){b=T(c,36)+a|0;g=b+10100|0;d=N[g>>2];n:{if((d&5)!=5){break n}o=b+10076|0;e=b+10088|0;b=0;while(1){k=T(b,36)+a|0;if(!((N[k+10100>>2]&5)!=1|N[k+10076>>2]>N[e>>2]|N[k+10088>>2]>2])){N[g>>2]=d&-2;break n}b=b+1|0;if((m|0)!=(b|0)){continue}break}}c=c+1|0;if((m|0)!=(c|0)){continue}break}}}function nz(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;e=La-160|0;La=e;d=N[a>>2];f=N[d- -64>>2];g=N[d+56>>2];j=N[a+16>>2];k=j>>31;i=N[a+12>>2];h=i>>31;n=N[a+24>>2];l=n>>31;o=N[a+20>>2];s=o>>31;t=N[d+60>>2];u=N[d+52>>2];p=+(t-u|0)*.5+64;C=8/p;v=N[a+28>>2];k=(j^k)-k+((h^i)-h)|0;h=(l^n)-l+((o^s)-s)|0;m=.125/+((h>>>0>>0?k:h)|0);r=C*+(v|0)*m;S[e+112>>3]=r;w=+(f-g|0)*.5+64;x=8/w;k=N[a+32>>2];m=m*(x*+(k|0));S[e+120>>3]=m;h=N[a+4>>2];D=+(N[a+8>>2]<<3);H=m*D+x*+(n|0);S[e+96>>3]=H;p=V(m)*w+(V(r)*p+1);p=p>16?16:p;w=+(t+u|0)*.5;E=+(f+g|0)*.5;S[e+128>>3]=p-(r*w+E*m);z=r*D+C*+(o|0);S[e+88>>3]=z;S[e+104>>3]=p*D+0-(z*w+E*H);z=m;m=+(h<<3);x=z*m+x*+(j|0);S[e+72>>3]=x;r=r*m+C*+(i|0);S[e+64>>3]=r;S[e+80>>3]=p*m+0-(r*w+E*x);f=d+4|0;d=e+40|0;a:{if(k|v){q=f;f=e- -64|0;Fo(e+16|0,q,f);Fo(d,N[a>>2]+28|0,f);break a}q=f;f=e- -64|0;Go(e+16|0,q,f);Go(d,N[a>>2]+28|0,f)}k=N[c>>2];b:{c:{s=c+12|0;d:{e:{if(!Lo(s,e+16|0,0)){mb(N[k>>2],2,25239,0);break e}if(!Lo(s,d,1)){mb(N[k>>2],2,25239,0);break e}t=N[c+16>>2];u=N[c+24>>2];if((t|0)>(u|0)){break e}v=N[c+28>>2];F=N[c+20>>2];if((v|0)<(F|0)){break e}f:{y=t-1|0;A=y>>6;g=(u+127>>6)-A|0;l=F-1|0;o=l>>6;f=(v+127>>6)-o|0;g:{if((g|f)<0){break g}i=-1<>2];d=i^-2147483648;if((d|0)<(g|0)){break g}if((d|0)>=(f|0)){break f}}c=N[k>>2];N[e+4>>2]=f;N[e>>2]=g;mb(c,2,8058,e);break e}I=k+872|0;d=1<>2];j=0-d|0;h=i^-1;g=i&h+g;j=g>>>0>j>>>0?g:j&(d+g|0)-1;i=i&f+h;if(j>>>0>((d^2147483647)>>>0)/(((i|0)<=1?1:i)>>>0)>>>0){break e}f=d+T(j,i)|0;if(f>>>0>=-5-d>>>0){break e}f=kb((d+f|0)+3|0);if(!f){break e}q=d;G=d-1|0;d=f+4|0;n=G&d;n=(n?q-n|0:0)+d|0;N[n-4>>2]=f;if(!n){break e}N[b+20>>2]=n;N[b+16>>2]=j;N[b+12>>2]=i;N[b+8>>2]=g;N[b+4>>2]=o;N[b>>2]=A;if((j|0)<=0|(i|0)<=0){break c}if(h&j){break b}f=l&-64;g=y&-64;h=N[c+40>>2];if(h){d=N[c+32>>2];A=d+T(h,40)|0;K=f>>31;L=g>>31;while(1){N[d+24>>2]=N[d+24>>2]-g;N[d+28>>2]=N[d+28>>2]-g;N[d+32>>2]=N[d+32>>2]-f;N[d+36>>2]=N[d+36>>2]-f;y=N[d>>2];G=N[d+4>>2];l=N[d+12>>2];o=UE(l,l>>31,f,K);q=Pa;l=N[d+8>>2];J=UE(l,l>>31,g,L);l=J+o|0;o=Pa+q|0;N[d>>2]=y-l;N[d+4>>2]=G-((l>>>0>y>>>0)+(l>>>0>>0?o+1|0:o)|0);d=d+40|0;if((A|0)!=(d|0)){continue}break}}d=u-g|0;N[c+24>>2]=d;N[c+16>>2]=t-g;N[c+28>>2]=v-f;N[c+20>>2]=F-f;f=N[c+52>>2];g=N[c+44>>2]+h|0;h:{if(f>>>0>>0){d=f<<1;f=d>>>0<=64?64:d;while(1){d=f;f=d<<1;if(d>>>0>>0){continue}break}f=$a(N[c+36>>2],T(d,40));if(!f){break h}N[c+52>>2]=d;N[c+36>>2]=f;h=N[c+40>>2];d=N[c+24>>2]}f=N[c+56>>2];N[e+144>>2]=f;g=h-f|0;N[e+148>>2]=g;N[e+136>>2]=0;N[e+140>>2]=0;q=d;d=j<<6;if((q|0)>=(d|0)){h=N[c+32>>2];Fi(h,f,g,h,e+144|0,N[c+36>>2],e+152|0,e+136|0,d);N[e+136>>2]=0;N[e+140>>2]=0}d=i<<6;if((d|0)<=N[c+28>>2]){f=N[c+32>>2];Ei(f,N[e+144>>2],N[e+148>>2],f,e+144|0,N[c+36>>2],e+152|0,e+136|0,d);N[e+136>>2]=0;N[e+140>>2]=0}if(N[c+16>>2]<=0){d=N[c+32>>2];Fi(d,N[e+144>>2],N[e+148>>2],N[c+36>>2],e+152|0,d,e+144|0,e+136|0,0)}if(N[c+20>>2]<=0){d=N[c+32>>2];Ei(d,N[e+144>>2],N[e+148>>2],N[c+36>>2],e+152|0,d,e+144|0,e+136|0,0)}d=N[e+148>>2];f=N[e+144>>2];N[c+44>>2]=0;N[c+40>>2]=d+f;if(Di(I,s,n,j,i,j,0,e+144|0,e+136|0)){break d}}mb(N[k>>2],2,25211,0);c=N[b+20>>2];if(!c){break e}_a(N[c-4>>2])}N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}_a(N[e+32>>2]);_a(N[e+36>>2]);_a(N[e+56>>2]);_a(N[e+60>>2]);La=e+160|0;a=N[a>>2];return(((N[a+12>>2]+T(N[b+12>>2],N[b+16>>2])|0)+N[a+36>>2]|0)+(N[a+4>>2]+N[a+28>>2]<<3)|0)+140|0}ba(21974,18126,726,13210);B()}ba(24293,18126,727,13210);B()}function XD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=U(0),r=U(0),s=0,t=0;p=La-48|0;La=p;h=N[b>>2];b=N[h+48>>2];a:{if(b){break a}while(1){b=N[h>>2];if(!b){b=275552;break a}i=db(1,28);if(!i){b=275552;N[h+48>>2]=275552;break a}b=Lg(i,b);if(!N[h+48>>2]){N[h+48>>2]=b;break a}ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b);b=N[h+48>>2];if(!b){continue}break}}b:{if(N[b+4>>2]){h=275552;i=N[b+24>>2];i=i?i:275552;i=Q[i+16>>2]<24?275552:N[i+12>>2];l=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);if(l){h=i+(l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24))|0}c:{if(!N[a+84>>2]){break c}i=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(i){h=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))+h|0}else{h=275552}h=O[h+2|0]|O[h+3|0]<<8;i=(h<<8|h>>>8)&65535;o=kb(i<<2);if(!h|!o){break c}i=i>>>0<=1?1:i;l=i&7;h=0;if(i>>>0>=8){j=i&65528;while(1){i=h<<2;N[i+o>>2]=1073741824;N[(i|4)+o>>2]=1073741824;N[(i|8)+o>>2]=1073741824;N[(i|12)+o>>2]=1073741824;N[(i|16)+o>>2]=1073741824;N[(i|20)+o>>2]=1073741824;N[(i|24)+o>>2]=1073741824;N[(i|28)+o>>2]=1073741824;h=h+8|0;if((j|0)!=(h|0)){continue}break}}if(!l){break c}while(1){N[(h<<2)+o>>2]=1073741824;h=h+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(c){while(1){k=N[b+4>>2];m=N[d>>2];d:{if(k>>>0>m>>>0){h=N[b>>2]-1|0;h=h>>>0>>0?h:m;if((h|0)<0){h=275552}else{k=N[b+4>>2];i=N[b+20>>2];h=N[(i?i:275552)+12>>2]+(h<<2)|0}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;break d}h=0;if(N[b+8>>2]){break d}h=N[b+16>>2]}e:{if(k>>>0<=m>>>0){break e}i=N[a+84>>2];if(!i){break e}l=N[b+24>>2];j=l?l:275552;n=N[j+16>>2];if(n){k=275552;l=N[a+88>>2];j=n>>>0<24?275552:N[j+12>>2];n=O[j+8|0]|O[j+9|0]<<8|(O[j+10|0]<<16|O[j+11|0]<<24);if(n){n=j+(n<<24|(n&65280)<<8|(n>>>8&65280|n>>>24))|0}else{n=275552}n=nd(n,m);q=U(h>>>0);m=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);if(m){k=j+(m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))|0}h=O[k+6|0]|O[k+7|0]<<8;j=(h<<8|h>>>8)&65535;h=n>>>16|0;if(j>>>0<=h>>>0){r=U(.5)}else{h=(h<<2)+k|0;h=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);if(h){h=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+k|0}else{h=275552}m=n&65535;j=O[k+2|0]|O[k+3|0]<<8|(O[k+4|0]<<16|O[k+5|0]<<24);if(j){j=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))+k|0}else{j=275552}r=U(Fc(h,m,l,i,j,o)+U(.5))}q=U(U(Z(r))+q);if(q=U(0)){h=~~q>>>0;break e}h=0;break e}i=N[a+24>>2];h=N[i+108>>2];f:{if(h){break f}while(1){h=N[i+48>>2];if(!h){h=275552;break f}l=db(1,28);if(!l){h=275552;N[i+108>>2]=275552;break f}h=Le(l,h);if(!N[i+108>>2]){N[i+108>>2]=h;break f}ab(N[h+24>>2]);_a(h);h=N[i+108>>2];if(!h){continue}break}}h=fq(h,a,m,1)}h=0-h<<16;i=h>>31;i=UE(N[a+64>>2],N[a+68>>2],h>>16,i);h=Pa;i=i+32768|0;N[f>>2]=((i>>>0<32768?h+1|0:h)&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;s=s+1|0;if((s|0)!=(c|0)){continue}break}}_a(o);break b}b=p;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;d=N[a+96>>2];e=N[d+20>>2];h=N[a+100>>2];d=N[d+12>>2];if(d){d=N[d>>2]}else{d=0}g:{if(Qa[e|0](a,h,b,d)|0){b=N[p>>2];a=N[p+4>>2];break g}a=N[a+32>>2];t=+(a|0)*.8;h:{if(V(t)<2147483648){b=~~t;break h}b=-2147483648}a=b-a|0}if(!c){break b}a=a-b|0;if(c>>>0>=8){b=c&-8;h=0;while(1){N[f>>2]=a;d=f+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;f=d+g|0;h=h+8|0;if((b|0)!=(h|0)){continue}break}}b=c&7;if(!b){break b}h=0;while(1){N[f>>2]=a;f=f+g|0;h=h+1|0;if((b|0)!=(h|0)){continue}break}}La=p+48|0}function Ez(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-384|0;La=d;a:{b:{switch(N[a>>2]){case 0:f=b;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);e=0|b;hb(d+208|0,f^e^2025677871,b^c^-1602871964,0,0,e^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+176|0,(g|c)^(N[d+200>>2]^N[d+192>>2])^2025677871,N[d+204>>2]^N[d+196>>2]^b^-1602871964,0,0,(b|g)^-1598805797,c^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805805,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);b=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);b=O[a+40|0]|O[a+41|0]<<8|(O[a+42|0]<<16|O[a+43|0]<<24);a=b;hb(d+16|0,a^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);b=N[d+8>>2]^N[d>>2];c=N[d+12>>2]^N[d+4>>2];break a;case 1:b=so(N[a+8>>2],N[a+12>>2],b,c);c=Pa;break a;case 2:break b;default:break a}}e=b;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+368|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+352|0,N[d+376>>2]^N[d+368>>2],N[d+380>>2]^N[d+372>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+336|0,b^(N[d+360>>2]^N[d+352>>2])^2025677871,N[d+364>>2]^N[d+356>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+320|0,N[d+344>>2]^N[d+336>>2],N[d+348>>2]^N[d+340>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+304|0,b^(N[d+328>>2]^N[d+320>>2])^2025677871,N[d+332>>2]^N[d+324>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+288|0,N[d+312>>2]^N[d+304>>2],N[d+316>>2]^N[d+308>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+272|0,b^(N[d+296>>2]^N[d+288>>2])^2025677871,N[d+300>>2]^N[d+292>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);a=b;hb(d+240|0,a^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=N[d+232>>2]^N[d+224>>2];c=N[d+236>>2]^N[d+228>>2]}La=d+384|0;Pa=c;return b|0}function Gg(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;c=N[a+36>>2];s=N[a+40>>2];m=N[a+28>>2];t=N[a+24>>2];v=m+T(t,40)|0;a:{if(b){w=8;if((t|0)<=0){break a}a=m;while(1){N[a+24>>2]=N[a+20>>2];N[a+28>>2]=N[a+8>>2];a=a+40|0;if(v>>>0>a>>>0){continue}break}break a}w=4;if((t|0)<=0){break a}a=m;while(1){N[a+24>>2]=N[a+16>>2];N[a+28>>2]=N[a+4>>2];a=a+40|0;if(v>>>0>a>>>0){continue}break}}if((c|0)>0){A=(c<<2)+s|0;while(1){l=N[s>>2];a=l;h=N[a+36>>2];b:{if(a>>>0>h>>>0){break b}c:{while(1){d:{if(P[a>>1]&w){c=a;e:while(1){e=c;k=h>>>0<=e>>>0;if(!k){c=e+40|0;if(P[e+40>>1]&w){continue}}i=1;f:{g:{g=e+40|0;c=g;d=h>>>0>>0;if(!d){while(1){if(P[c>>1]&w){break g}i=i+1|0;c=e+T(i,40)|0;if(h>>>0>=c>>>0){continue}break}}if((a|0)!=(e|0)){break f}c=N[a+24>>2];g=N[a+28>>2];if((c|0)==(g|0)){break b}g=c-g|0;if(a>>>0>l>>>0){break d}break c}if(i>>>0<2){continue}i=e+T(i,40)|0;q=i-40|0;k=N[e+28>>2]>N[i+28>>2];i=k?e:c;d=N[i+24>>2];i=N[i+28>>2];r=d-i|0;e=k?c:e;k=N[e+24>>2];e=N[e+28>>2];o=k-e|0;if(!((d|0)!=(k|0)&(e|0)!=(i|0))){while(1){d=N[g+28>>2];N[g+24>>2]=(e|0)<(d|0)?(d|0)<(i|0)?k:d+r|0:d+o|0;g=g+40|0;if(q>>>0>=g>>>0){continue}continue e}}p=fb(d-k|0,i-e|0);d=p>>31;d=(d^p)-d|0;y=d&65535;z=d>>>16|0;x=d>>>8|0;while(1){f=N[g+28>>2];h:{if((f|0)<=(e|0)){j=f+o|0;break h}j=f+r|0;if((f|0)>=(i|0)){break h}n=f-e|0;f=n>>31;f=(f^n)-f|0;i:{if(f+x>>>0<=8190){j=T(d,f)+32768>>>16|0;break i}j=f&65535;j=T(z,j)+T(d,f>>>16|0)+(T(y,j)+32768>>>16)|0}f=j;u=0-f|0;f=n>>31|1;j=k+((((p|0)<0?0-f|0:f)|0)<0?u:j)|0}N[g+24>>2]=j;g=g+40|0;if(q>>>0>=g>>>0){continue}break}continue}break}j:{if(d|k){break j}c=N[e+28>>2]>N[a+28>>2];i=c?e:a;d=N[i+24>>2];i=N[i+28>>2];q=d-i|0;c=c?a:e;k=N[c+24>>2];c=N[c+28>>2];r=k-c|0;if(!((d|0)!=(k|0)&(c|0)!=(i|0))){while(1){d=N[g+28>>2];N[g+24>>2]=(d|0)>(c|0)?(d|0)<(i|0)?k:d+q|0:d+r|0;g=g+40|0;if(h>>>0>=g>>>0){continue}break j}}o=fb(d-k|0,i-c|0);d=o>>31;d=(d^o)-d|0;p=d&65535;y=d>>>16|0;z=d>>>8|0;while(1){f=N[g+28>>2];k:{if((f|0)<=(c|0)){j=f+r|0;break k}j=f+q|0;if((f|0)>=(i|0)){break k}n=f-c|0;f=n>>31;f=(f^n)-f|0;l:{if(f+z>>>0<=8190){j=T(d,f)+32768>>>16|0;break l}x=f&65535;j=T(x,y)+T(d,f>>>16|0)+(T(p,x)+32768>>>16)|0}f=j;u=0-f|0;f=n>>31|1;j=k+((((o|0)<0?0-f|0:f)|0)<0?u:j)|0}N[g+24>>2]=j;g=g+40|0;if(h>>>0>=g>>>0){continue}break}}if(a>>>0<=m>>>0){break b}k=a-40|0;if(k>>>0>>0){break b}g=N[e+28>>2]>N[a+28>>2];c=g?e:a;h=N[c+24>>2];c=N[c+28>>2];d=h-c|0;a=g?a:e;g=N[a+24>>2];a=N[a+28>>2];f=g-a|0;if(!((h|0)!=(g|0)&(a|0)!=(c|0))){while(1){e=N[l+28>>2];N[l+24>>2]=(a|0)<(e|0)?(e|0)<(c|0)?g:e+d|0:e+f|0;l=l+40|0;if(k>>>0>=l>>>0){continue}break b}}n=fb(h-g|0,c-a|0);e=n>>31;e=(e^n)-e|0;q=e&65535;r=e>>>16|0;o=e>>>8|0;while(1){h=N[l+28>>2];m:{if((h|0)<=(a|0)){j=f+h|0;break m}j=d+h|0;if((c|0)<=(h|0)){break m}i=h-a|0;h=i>>31;h=(h^i)-h|0;n:{if(h+o>>>0<=8190){j=T(e,h)+32768>>>16|0;break n}p=h&65535;j=T(p,r)+T(e,h>>>16|0)+(T(q,p)+32768>>>16)|0}h=j;u=0-h|0;h=i>>31|1;j=g+((((n|0)<0?0-h|0:h)|0)<0?u:j)|0}N[l+24>>2]=j;l=l+40|0;if(k>>>0>=l>>>0){continue}break}break b}a=a+40|0;if(h>>>0>=a>>>0){continue}break b}break}while(1){N[l+24>>2]=g+N[l+28>>2];l=l+40|0;if(l>>>0>>0){continue}break}}c=a+40|0;if(h>>>0>>0){break b}while(1){N[a- -64>>2]=g+N[a+68>>2];a=c;c=a+40|0;if(h>>>0>=c>>>0){continue}break}}s=s+4|0;if(A>>>0>s>>>0){continue}break}}o:{if(b){if((t|0)<=0){break o}while(1){N[m+20>>2]=N[m+24>>2];m=m+40|0;if(v>>>0>m>>>0){continue}break}break o}if((t|0)<=0){break o}while(1){N[m+16>>2]=N[m+24>>2];m=m+40|0;if(v>>>0>m>>>0){continue}break}}}function eh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break b}h=N[b+12>>2];c=h-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65536){break b}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break b}h=h-8|0;N[b+12>>2]=h;if((h|0)<=0){break b}d=1;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!c){break b}d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);l=d>>>0<=1?1:d;m=d-1|0;a=a+8|0;while(1){c:{if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<8){break c}i=N[b+12>>2];d=i-8|0;N[b+12>>2]=d;if((d|0)<=0){break c}c=N[b+32>>2];d=N[c+12>>2];N[b+4>>2]=d;c=N[c+16>>2];e=c+d|0;N[b+8>>2]=e;if((c|0)<0){break a}d:{e:{f:{c=j>>>0>>0?a:0;if(c){if(c>>>0>>0&c>>>0>=d>>>0){break f}N[b+4>>2]=0;N[b+8>>2]=0;d=0;e=0;break e}if(a>>>0>=d>>>0){break e}k=0;break d}N[b+4>>2]=c;e=e-c|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=c+(d>>>0>e>>>0?e:d)|0;N[b+8>>2]=e;d=c}k=0;if(a>>>0>e>>>0){break d}h=e-a|0;if(h>>>0<8){break d}f=i-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i>>>0<8|h>>>0>>0){break d}c=f-i|0;N[b+12>>2]=c;if((c|0)<=0){break d}g:{h:{switch(O[a+5|0]){case 0:g=d;d=a+8|0;if(g>>>0>d>>>0|d>>>0>e>>>0|e-d>>>0<8){break d}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break d}d=O[d|0]|O[d+1|0]<<8;if(!d){break g}h=a+16|0;if(h>>>0>e>>>0){break d}d=T((d<<8|d>>>8)&65535,6);if(d>>>0>e-h>>>0){break d}d=c-d|0;N[b+12>>2]=d;if((d|0)>0){break g}break d;case 1:if(a>>>0>>0|h>>>0<18){break d}d=c-18|0;N[b+12>>2]=d;if((d|0)<=0){break d}if(!ph(a+8|0,b)){break d}d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break g;case 2:if(a>>>0>>0|h>>>0<16){break d}f=c-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=a+10|0;if(f>>>0>e>>>0|e-f>>>0<2){break d}f=c-18|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[a+10|0]|O[a+11|0]<<8;f=((f<<8|f>>>8)&65535)+a|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<4){break d}g=c-22|0;N[b+12>>2]=g;if((g|0)<=0){break d}g=f+2|0;if(g>>>0>e>>>0|e-g>>>0<2){break d}c=c-24|0;N[b+12>>2]=c;if((c|0)<=0){break d}g=O[g|0]|O[g+1|0]<<8;if(g){f=f+4|0;if(f>>>0>e>>>0){break d}n=e-f|0;f=((g<<8|g>>>8)&65535)<<1;if(n>>>0>>0){break d}c=c-f|0;N[b+12>>2]=c;if((c|0)<=0){break d}}f=a+12|0;if(f>>>0>e>>>0|e-f>>>0<2){break d}N[b+12>>2]=c-2;if((c|0)<3){break d}g=d;d=O[a+12|0]|O[a+13|0]<<8;f=((d<<8|d>>>8)&65535)+a|0;if(g>>>0>f>>>0|e>>>0>>0|e-f>>>0<4){break d}N[b+12>>2]=c-6;if((c|0)<7){break d}g=f+2|0;if(g>>>0>e>>>0|e-g>>>0<2){break d}d=c-8|0;N[b+12>>2]=d;if((c|0)<9){break d}c=O[g|0]|O[g+1|0]<<8;if(c){f=f+4|0;if(f>>>0>e>>>0){break d}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>e-f>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}c=O[a+14|0]|O[a+15|0]<<8;if(!c){break g}c=(c<<8|c>>>8)&65535;if(c>>>0>h>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break g}break d;case 3:break h;default:break g}}if(a>>>0>>0|h>>>0<14){break d}d=c-14|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[a+8|0]|O[a+9|0]<<8;c=T(O[a+12|0],O[a+11|0])+(O[a+10|0]+((c<<8|c>>>8)&65535)<<1)|0;if(!c){break g}h=a+14|0;if(h>>>0>e>>>0|c>>>0>e-h>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}a=a+i|0;k=1}d=N[b+32>>2];i=N[d+12>>2];N[b+4>>2]=i;d=N[d+16>>2];e=d+i|0;N[b+8>>2]=e;if((d|0)<0){break a}if(!k){break c}d=1;j=j+1|0;if((l|0)!=(j|0)){continue}break b}break}d=0}return d}ba(16656,14279,195,9642);B()}function hu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-176|0;La=h;a:{b:{if(bb(a,19553,13)){break b}c:{switch(O[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}b=N[e+32>>2];d:{e:{if(!b|!N[b+72>>2]){break e}a=N[b+92>>2];N[h+32>>2]=19320;g=N[a+20>>2];f=g+((Qa[N[a+12>>2]](h+32|0)>>>0)%Q[a+4>>2]<<2)|0;c=N[f>>2];f:{if(!c){break f}while(1){if(Qa[N[a+16>>2]](c,h+32|0)|0){break f}f=f-4|0;if(g>>>0>f>>>0){f=(g+(N[a+4>>2]<<2)|0)-4|0}c=N[f>>2];if(c){continue}break}}if(!N[f>>2]){break e}if(N[b+80>>2]){break d}}b=N[e+32>>2];a=M[b+12>>1];N[b+40>>2]=a;N[h+16>>2]=a;a=h+32|0;Sf(a,h+16|0);f=Md(N[e+32>>2],19320,a);if(f){break a}}b=N[e+32>>2];g:{h:{if(!b|!N[b+72>>2]){break h}a=N[b+92>>2];N[h+168>>2]=19275;g=N[a+20>>2];f=g+((Qa[N[a+12>>2]](h+168|0)>>>0)%Q[a+4>>2]<<2)|0;c=N[f>>2];i:{if(!c){break i}while(1){if(Qa[N[a+16>>2]](c,h+168|0)|0){break i}f=f-4|0;if(g>>>0>f>>>0){f=(g+(N[a+4>>2]<<2)|0)-4|0}c=N[f>>2];if(c){continue}break}}if(!N[f>>2]){break h}if(N[b+80>>2]){break g}}b=N[e+32>>2];a=M[b+14>>1];N[b+44>>2]=a;N[h>>2]=a;a=h+32|0;Sf(a,h);f=Md(N[e+32>>2],19275,a);if(f){break a}}N[e>>2]=N[e>>2]&-17;N[d>>2]=173;f=0;break a}j:{if(bb(a,19567,21)){break j}switch(O[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break j}}k:{if(bb(a,19233,7)){break k}f=a+7|0;l:{switch(O[a+7|0]){case 9:case 10:case 13:case 32:L[a+7|0]=0;f=a+8|0;break;case 0:break l;default:break k}}f=Md(N[e+32>>2],a,f);break a}i=N[e+32>>2];c=a;m:{while(1){n:{d=-1;o:{p:{f=O[c|0];switch(f|0){case 0:break m;case 9:break n;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break o;default:break p}}if((f|0)==32){break n}}c=c+1|0;continue}break}L[c|0]=0;d=f}q:{if(!a|!O[a|0]){break q}N[h+32>>2]=a;k=N[i+132>>2];f=k+((Qa[N[i+124>>2]](h+32|0)>>>0)%Q[i+116>>2]<<2)|0;g=N[f>>2];r:{if(!g){break r}while(1){if(Qa[N[i+128>>2]](g,h+32|0)|0){break r}f=f-4|0;if(k>>>0>f>>>0){f=(k+(N[i+116>>2]<<2)|0)-4|0}g=N[f>>2];if(g){continue}break}}f=N[f>>2];if(!f){break q}f=N[f+4>>2];if(f>>>0>=83){l=(N[i+104>>2]+(f<<4)|0)-1328|0;break q}l=(f<<4)+43712|0}if((d|0)!=-1){L[c|0]=d}s:{t:{if(!(N[l+4>>2]!=1?l:0)){g=a+b|0;d=O[c|0];if(!d){break t}L[c|0]=0;c=c+1|0;f=0;break s}f=Kc(e+40|0,22537,a,b);if(f){break a}k=N[N[e+40>>2]>>2];c=0;u:{v:{w:{b=N[e+48>>2];switch(b|0){case 0:break u;case 1:break w;default:break v}}N[e+48>>2]=0;break u}g=b-1|0;i=g&3;a=0;f=1;if(b-2>>>0>=3){l=g&-4;while(1){d=N[e+40>>2];b=c<<2;m=d+b|0;j=d;d=f<<2;N[m>>2]=N[j+d>>2];j=N[e+40>>2];N[j+(b|4)>>2]=N[(d+j|0)+4>>2];j=N[e+40>>2];N[j+(b|8)>>2]=N[(d+j|0)+8>>2];j=b|12;b=N[e+40>>2];N[j+b>>2]=N[(b+d|0)+12>>2];f=f+4|0;c=c+4|0;if((l|0)!=(c|0)){continue}break}}if(i){while(1){b=N[e+40>>2];N[b+(c<<2)>>2]=N[b+(f<<2)>>2];f=f+1|0;c=c+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}N[e+48>>2]=g;if(!g){c=0;break u}b=N[N[e+40>>2]>>2];f=0;a=0;while(1){c=N[N[e+40>>2]+(a<<2)>>2];d=O[c|0];if(d){while(1){L[b+f|0]=d;f=f+1|0;d=O[c+1|0];c=c+1|0;if(d){continue}break}g=N[e+48>>2]}a=a+1|0;if(g>>>0>a>>>0){L[b+f|0]=32;g=N[e+48>>2];f=f+1|0}if(a>>>0>>0){continue}break}c=441572;if((b|0)==441572){break u}L[b+f|0]=0;c=b}f=Md(N[e+32>>2],k,c);break a}f=1}while(1){if(!f){d=O[c|0];f=1;continue}x:{b=d&255;if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;break x}b=((d&255)==34)+c|0;y:{if(b>>>0>=g>>>0){break y}while(1){z:{A:{g=g-1|0;switch(O[g|0]-9|0){case 25:break z;case 0:case 23:break A;default:break y}}L[g|0]=0;if(b>>>0>>0){continue}break y}break}L[g|0]=0}f=Md(N[e+32>>2],a,b);break a}f=0;continue}}La=h+176|0;return f|0}function Tl(a){var 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;j=La-16|0;La=j;d=N[a+104>>2];b=Qa[N[a+516>>2]](a,1886352244,d,j+4|0)|0;a:{if(b){break a}f=N[d+8>>2];e=f+32|0;g=N[a+476>>2];c=N[d+20>>2];b:{if(c){b=85;if(!(Qa[c|0](d,e,0,0)|0)){break b}break a}b=85;if(Q[d+4>>2]>>0){break a}}N[d+8>>2]=e;c:{d:{e:{c=N[j+4>>2];if(!((g|0)!=131072|c>>>0<34)){g=N[d+28>>2];N[j+8>>2]=0;f:{if(Q[d+4>>2]<=f+33>>>0){break f}b=N[d+20>>2];if(b){if((Qa[b|0](d,e,j+12|0,2)|0)!=2){break f}e=N[d+8>>2];b=j+12|0;break e}b=N[d>>2];if(b){b=b+e|0;break e}N[d+8>>2]=e+2;f=0;break d}b=85;break c}b=3;if((g|0)!=151552|c>>>0<34){break c}g:{h:{i:{if(Q[d+4>>2]<=f+33>>>0){break i}h=N[d+28>>2];c=N[d+20>>2];j:{if(c){if((Qa[c|0](d,e,j+14|0,2)|0)!=2){break i}e=N[d+8>>2];c=j+14|0;break j}c=N[d>>2];if(!c){break h}c=c+e|0}c=O[c|0]|O[c+1|0]<<8;c=c<<8|c>>>8;break g}b=85;break c}c=0}N[d+8>>2]=e+2;f=c&65535;if(P[a+264>>1]<=(c-1&65535)>>>0|f>>>0>258){break c}g=Qa[N[h+4>>2]](h,f)|0;if(!g){b=64;break c}e=0;C(g,0,f);k:{b=Zb(d,g,f);if(!b){while(1){if(f>>>0>=L[e+g|0]+e>>>0){e=e+1|0;if((f|0)!=(e|0)){continue}break k}break}b=3}Qa[N[h+8>>2]](h,g);break c}N[a+640>>2]=g;M[a+636>>1]=c;b=0;break c}f=O[b|0]|O[b+1|0]<<8;N[d+8>>2]=e+2;b=3;n=f<<8|f>>>8;f=n&65535;if(f>>>0>P[a+264>>1]){break c}}b=3;m=c-34|0;k=f<<1;if(m>>>0>>0){break c}l=lb(g,2,0,f,0,j+8|0);l:{m:{b=N[j+8>>2];if(b){break m}b=Bb(d,k);N[j+8>>2]=b;if(b){break m}c=n&65535;n:{o:{if(c){b=N[d+32>>2];h=N[d+36>>2];e=0;if((c|0)!=1){o=f&65534;while(1){p:{if(h>>>0<=b+1>>>0){c=0;break p}c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[(e<<1)+l>>1]=c;c=0;if(h>>>0>b+1>>>0){c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[((e|1)<<1)+l>>1]=c;e=e+2|0;i=i+2|0;if((o|0)!=(i|0)){continue}break}}if(f&1){c=0;if(h>>>0>b+1>>>0){c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[(e<<1)+l>>1]=c}if(N[d+20>>2]){b=N[d>>2];if(b){c=N[d+28>>2];Qa[N[c+8>>2]](c,b)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0;h=f&1;q:{if((n&65535)==1){c=0;e=0;break q}c=f&65534;b=0;e=0;while(1){f=b<<1;i=P[(f|2)+l>>1];o=i-257|0;f=P[f+l>>1];p=f-257|0;e=f>>>0>257?(e&65535)<(p|0)?p:e:e;e=i>>>0>257?(o|0)>(e&65535)?o:e:e;b=b+2|0;if((c|0)!=(b|0)){continue}break}}if(h){b=P[(c<<1)+l>>1];c=b-257|0;e=b>>>0>257?(c|0)>(e&65535)?c:e:e}if(!(e&65535)){break o}f=m-k|0;c=f+1|0;r:{if(f>>>0<=2147483646){h=Qa[N[g+4>>2]](g,c)|0;if(h){break r}b=64;break l}b=6;if(c){break l}h=0}b=Zb(d,h,f);N[j+8>>2]=b;s:{if(b){break s}c=0;k=e&65535;d=lb(g,4,0,k,0,j+8|0);t:{b=N[j+8>>2];if(b){break t}u:{if(f){b=0;while(1){i=b+h|0;m=O[i|0];if(m>>>0>63){b=3;break t}L[i|0]=0;N[(c<<2)+d>>2]=i+1;b=(b+m|0)+1|0;c=c+1|0;if(f>>>0>b>>>0&k>>>0>c>>>0){continue}break}L[f+h|0]=0;if(c>>>0>>0){break u}break n}L[h|0]=0;f=1;b=Qa[N[g+12>>2]](g,1,2,h)|0;h=b?b:h;if(!b){b=!b<<6;break t}L[h+1|0]=0}i=c&65535;if(i>>>0>=(e&65535)>>>0){break n}b=f+h|0;f=k+(i^-1)|0;g=k-c&7;if(g){c=0;while(1){N[(i<<2)+d>>2]=b;i=i+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break n}while(1){c=(i<<2)+d|0;N[c>>2]=b;N[c+28>>2]=b;N[c+24>>2]=b;N[c+20>>2]=b;N[c+16>>2]=b;N[c+12>>2]=b;N[c+8>>2]=b;N[c+4>>2]=b;i=i+8|0;if((k|0)!=(i|0)){continue}break}break n}if(!d){break s}Qa[N[g+8>>2]](g,d)}if(!h){break m}Qa[N[g+8>>2]](g,h);break m}if(N[d+20>>2]){b=N[d>>2];if(b){c=N[d+28>>2];Qa[N[c+8>>2]](c,b)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0}e=0;d=0}N[a+644>>2]=d;N[a+640>>2]=l;M[a+638>>1]=e;M[a+636>>1]=n;b=0;break c}if(!l){break c}}Qa[N[g+8>>2]](g,l)}L[a+632|0]=1}La=j+16|0;return b}function sz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=La-384|0;La=d;e=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);hb(d+368|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+352|0,N[d+376>>2]^N[d+368>>2],N[d+380>>2]^N[d+372>>2],0,0,-1598805793,-419201327,0,0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);hb(d+336|0,b^(N[d+360>>2]^N[d+352>>2])^2025677871,N[d+364>>2]^N[d+356>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+320|0,N[d+344>>2]^N[d+336>>2],N[d+348>>2]^N[d+340>>2],0,0,-1598805793,-419201327,0,0);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+304|0,b^(N[d+328>>2]^N[d+320>>2])^2025677871,N[d+332>>2]^N[d+324>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+288|0,N[d+312>>2]^N[d+304>>2],N[d+316>>2]^N[d+308>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+272|0,b^(N[d+296>>2]^N[d+288>>2])^2025677871,N[d+300>>2]^N[d+292>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+240|0,b^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+208|0,b^(N[d+232>>2]^N[d+224>>2])^2025677871,N[d+236>>2]^N[d+228>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=N[d+200>>2]^N[d+192>>2];c=N[d+204>>2]^N[d+196>>2];g=N[a+24>>2];if(g){h=N[a+28>>2];while(1){a=b;e=T(f,24)+h|0;b=e;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);hb(d+176|0,a^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805793,-419201327,0,0);b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=a;hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[e+16|0]|O[e+17|0]<<8|(O[e+18|0]<<16|O[e+19|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);b=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);b=N[d+8>>2]^N[d>>2];c=N[d+12>>2]^N[d+4>>2];f=f+1|0;if((g|0)!=(f|0)){continue}break}}La=d+384|0;Pa=c;return b|0}function Rm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-16|0;La=g;N[b+12>>2]=0;N[b>>2]=c;h=c+d|0;N[b+8>>2]=h;Qa[N[b+28>>2]](b);c=N[b>>2];a:{b:{if(h>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+464|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=O[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(h|0)){break h}if(d>>>0>=h>>>0){break d}switch(O[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(h|0)){break m}if(d>>>0>=h>>>0){break d}switch(O[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(bb(c,16013,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Qa[N[b+32>>2]](b);e=1;l=c;if(!N[b+12>>2]){break c}break b}f=c+6|0;if(!((d|0)!=82|f>>>0>=h>>>0)){if(!e|O[c+1|0]!=68){break d}N[b>>2]=l;e=N[N[a+128>>2]+52>>2];d=N[b+8>>2];Qa[N[b+28>>2]](b);n:{c=N[b>>2];o:{if(c>>>0>=d>>>0|O[c|0]-48>>>0>9){break o}c=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((c|0)<0){break o}f=d;d=N[b>>2];if((c|0)<(f+(d^-1)|0)){break n}}c=3;if(e){break a}break f}N[b>>2]=(c+d|0)+1;e=0;if(!N[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|f>>>0>=h>>>0)){if(!e|O[c+1|0]!=124){break d}N[b>>2]=l;e=N[N[a+128>>2]+52>>2];d=N[b+8>>2];Qa[N[b+28>>2]](b);p:{c=N[b>>2];q:{if(c>>>0>=d>>>0|O[c|0]-48>>>0>9){break q}c=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((c|0)<0){break q}f=d;d=N[b>>2];if((c|0)<(f+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}N[b>>2]=(c+d|0)+1;e=0;if(!N[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=h>>>0){break d}i=c+1|0;N[b>>2]=i;Qa[N[b+32>>2]](b);if(N[b+12>>2]){break b}e=0;c=N[b>>2];if((c|0)==(i|0)){break c}j=c-i|0;if(j>>>0>21|c>>>0>=h>>>0){break c}p=O[i|0];c=28752;f=37600;while(1){d=c;r:{if(O[f|0]!=(p|0)){break r}if((nb(f)|0)!=(j|0)){break r}if(Mb(i,f,j)){break r}c=N[b+376>>2];if(!(N[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(cb(f,11012)){break c}}f=N[a+532>>2];if(f){c=N[f>>2]?f:0}else{c=0}i=N[d+8>>2];s:{if((i|0)==11){Qa[N[d+12>>2]](a,b);c=N[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(N[d+4>>2]-2|0){case 1:N[g+12>>2]=k;if(c){break y}e=g+12|0;break u;case 2:N[g+12>>2]=n;e=g+12|0;if(!c){break u}e=c+212|0;break x;case 3:N[g+12>>2]=o;e=g+12|0;if(!c){break u}e=c+284|0;break x;case 4:N[g+12>>2]=b;e=g+12|0;break u;case 5:N[g+12>>2]=a;e=g+12|0;break u;case 6:N[g+12>>2]=f;e=g+12|0;c=0;break w;case 0:break v;default:break z}}N[g+12>>2]=k;e=g+12|0;break u}e=c+144|0}f=N[e>>2];c=N[c>>2]}if(f){break t}break g}N[g+12>>2]=m;e=g+12|0}c=0}if(i-9>>>0<=1){c=Qa[N[b+68>>2]](b,d,e,c,0)|0;break s}c=Qa[N[b+64>>2]](b,d,e,c,0)|0}N[b+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;f=N[d+36>>2];if(f){continue}break}break c}if(!bb(c,17782,5)){break b}break d}e=0;N[b+12>>2]=0;break c}N[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(h|0)){break A}if(d>>>0>=h>>>0){break d}switch(O[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break A;default:break d}}if(bb(c,7876,13)){break d}d=N[b+376>>2];if(d&1){N[b+376>>2]=d|2}N[b>>2]=c+13;break c}Qa[N[b+32>>2]](b);e=0;if(N[b+12>>2]){break b}}Qa[N[b+28>>2]](b);c=N[b>>2];if(h>>>0>c>>>0){continue}break}}c=N[b+12>>2]}La=g+16|0;return c}function Bk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break b}d=N[b+12>>2];f=d-4|0;N[b+12>>2]=f;if((O[a|0]|O[a+1|0]<<8)!=256|(f|0)<=0){break b}f=a+4|0;if(f>>>0>e>>>0|e-f>>>0<4){break b}g=d-8|0;N[b+12>>2]=g;if((g|0)<=0){break b}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>536870911){break b}i=f<<3;if(i){h=a+8|0;if(h>>>0>e>>>0|i>>>0>e-h>>>0){break b}e=g-i|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!d){return 1}m=f>>>0<=1?1:f;i=0;while(1){f=N[b+4>>2];k=(i<<3)+a|0;e=k+8|0;if(f>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}g=N[b+12>>2];c=g-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);c:{if(!c){break c}if(c&128){break a}d:{e:{h=f;f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(h>>>0>f>>>0|d>>>0>>0|d-f>>>0<2){break e}c=g-6|0;N[b+12>>2]=c;if((c|0)<=0){break e}g=O[f|0]|O[f+1|0]<<8;if(!g){break c}h=f+2|0;if(h>>>0>d>>>0){break e}h=d-h|0;d=(g<<8|g>>>8)&65535;g=d<<2;if(h>>>0>>0){break e}c=c-g|0;N[b+12>>2]=c;if((c|0)<=0){break e}n=d>>>0<=1?1:d;g=0;while(1){l=N[b+4>>2];d=(f+(g<<2)|0)+2|0;if(l>>>0>d>>>0){break e}h=N[b+8>>2];if(h>>>0>>0|h-d>>>0<4){break e}j=N[b+12>>2];c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f:{if(!c){break f}if(c&128){break e}c=f+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g:{if(c>>>0>>0|c>>>0>h>>>0){break g}h=h-c|0;if(h>>>0<2){break g}l=j-6|0;N[b+12>>2]=l;if((l|0)<=0){break g}if((O[c|0]|O[c+1|0]<<8)!=256){break f}if(h>>>0<8){break g}c=j-14|0;N[b+12>>2]=c;if((c|0)>0){break f}}c=N[b+28>>2];if(c>>>0>31){break a}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break d}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}g=g+1|0;if((n|0)!=(g|0)){continue}break}break c}c=N[b+28>>2]}if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}g=N[b+4>>2];e=k+12|0;if(g>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}h=N[b+12>>2];c=h-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h:{if(!c){break h}if(c&128){break a}i:{j:{f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<4){break j}c=h-8|0;N[b+12>>2]=c;if((O[f|0]|O[f+1|0]<<8)!=256|(c|0)<=0){break j}c=f+4|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break j}g=h-10|0;N[b+12>>2]=g;if((g|0)<=0){break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break h}h=f+6|0;if(h>>>0>d>>>0){break j}h=d-h|0;d=(c<<8|c>>>8)&65535;c=T(d,6);if(h>>>0>>0){break j}c=g-c|0;N[b+12>>2]=c;if((c|0)<=0){break j}h=d>>>0<=1?1:d;g=0;while(1){j=f+T(g,6)|0;d=j+6|0;if(d>>>0>2]){break j}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<6){break j}k=N[b+12>>2];d=k-6|0;N[b+12>>2]=d;if((d|0)<=0){break j}d=j+8|0;if(d>>>0>c>>>0|c-d>>>0<4){break j}c=k-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);k:{if(!c){break k}if(c&128){break j}if(Ak(f+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,b,0)){break k}c=N[b+28>>2];if(c>>>0>31){break a}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}g=g+1|0;if((h|0)!=(g|0)){continue}break}break h}c=N[b+28>>2]}if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}c=1;i=i+1|0;if((m|0)!=(i|0)){continue}break}}return c}return 0}function Do(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,o=0,p=0,q=0;h=La-1840|0;La=h;a:{if(!a){j=N[2];p=0;break a}j=N[a+8>>2];p=0;if(!(j&8)){break a}p=P[a+340>>1]}b:{if(!(j&1)){break b}c:{d:{e:{if(p){while(1){f=6;k=h+1024|0;if(!(!a|!k|(!(O[a+8|0]&8)|P[a+340>>1]<=q>>>0))){f=0;g=N[a+356>>2];i=g+T(q,20)|0;e=P[i+8>>1];d=0;f:{if(!e){break f}d=e;if(N[i+16>>2]){break f}n=N[a+104>>2];o=N[a+100>>2];j=Qa[N[o+4>>2]](o,e)|0;g:{if(!j){break g}C(j,0,e);N[i+16>>2]=j;d=N[(g+T(q,20)|0)+12>>2];h:{e=N[n+20>>2];i:{if(e){if(Qa[e|0](n,d,0,0)|0){break h}j=N[i+16>>2];break i}if(d>>>0>Q[n+4>>2]){break h}}N[n+8>>2]=d;if(Zb(n,j,P[i+8>>1])){break h}d=P[i+8>>1];break f}e=N[i+16>>2];if(!e){break g}Qa[N[o+8>>2]](o,e)}N[i+16>>2]=0;M[i+8>>1]=0;d=0}M[k>>1]=P[i>>1];M[k+2>>1]=P[i+2>>1];M[k+4>>1]=P[i+4>>1];M[k+6>>1]=P[i+6>>1];e=N[i+16>>2];N[k+12>>2]=d&65535;N[k+8>>2]=e}j:{if(P[h+1024>>1]!=3|f){break j}k:{switch(P[h+1030>>1]-1|0){case 0:case 3:break k;default:break j}}e=N[h+1036>>2];l:{if((e|0)<=0){e=h;break l}d=N[h+1032>>2];n=e+d|0;k=1024;e=h;while(1){g=e;m:{n:{o:{e=d;j=n-e|0;if(j>>>0>=2){f=O[e|0];i=O[e+1|0]|f<<8;d=e+2|0;if((f&252)!=216){break n}j=j-2|0;if(j>>>0>=2){break o}}d=d+j|0;f=65533;break m}o=O[d|0]<<8;f=65533;if(o-57344>>>0<4294966272){break m}i=((o|O[e+3|0])+(i<<10)|0)-56613888|0;d=e+4|0}f=(i&-1024)==56320?65533:i}if(k>>>0<5){e=g;break l}p:{if(f>>>0<=127){L[g|0]=f;e=g+1|0;break p}if(f>>>0<=2047){L[g+1|0]=f&63|128;L[g|0]=f>>>6|192;e=g+2|0;break p}if(f>>>0<=65535){L[g+2|0]=f&63|128;L[g|0]=f>>>12|224;L[g+1|0]=f>>>6&63|128;e=g+3|0;break p}e=g;if(f>>>0>1114111){break p}L[g+3|0]=f&63|128;L[g|0]=f>>>18|240;L[g+2|0]=f>>>6&63|128;L[g+1|0]=f>>>12&63|128;e=g+4|0}L[e|0]=0;k=(g-e|0)+k|0;if(d>>>0>>0){continue}break}}L[e|0]=0;e=P[h+1030>>1];if(!((e|0)!=4|(m|0)>99)){e=Hb(h);N[(h+1440|0)+(m<<2)>>2]=e;if(!e){break d}m=m+1|0;break j}if((e|0)!=1|(l|0)>99){break j}e=Hb(h);N[(h+1040|0)+(l<<2)>>2]=e;if(!e){break d}l=l+1|0}q=q+1|0;if((p|0)!=(q|0)){continue}break}if(l){break e}}if(!b){b=N[a+20>>2];if(!b){break c}}b=Hb(b);N[h+1040>>2]=b;l=1;if(!b){break c}}g=0-(N[a+12>>2]&1)&110;q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if(!(O[a+8|0]&8)){break A}e=N[a+96>>2];b=N[N[e>>2]+32>>2];if(!b){break A}b=Qa[b|0](e,16067)|0;if(!b){break A}b=Qa[N[b+4>>2]](a,2)|0;if(!b){break A}d=100;b=P[b+4>>1];switch(b|0){case 1:break q;case 9:break s;case 8:break t;case 7:break u;case 6:break v;case 5:break w;case 4:break x;case 3:break y;case 2:break z;case 0:break A;default:break r}}d=O[a+12|0]&2?700:400;break q}d=200;break q}d=300;break q}d=350;break q}d=400;break q}d=600;break q}d=700;break q}d=800;break q}d=900;break q}d=b}N[c+32>>2]=100;N[c+28>>2]=d;N[c+24>>2]=g;j=0;B:{C:{D:{e=N[a+128>>2];d=N[e+28>>2];switch(d+2|0){case 0:break B;case 2:break D;default:break C}}d=N[a+96>>2];b=N[N[d>>2]+32>>2];E:{if(!b){d=0;break E}d=Qa[b|0](d,15866)|0;e=N[a+128>>2]}N[e+28>>2]=d?d:-2}if(!d){break B}b=N[d>>2];if(!b){break B}j=Qa[b|0](a)|0}N[c+8>>2]=j;a=db(4,l);N[c>>2]=a;if(!a){break d}F(a,h+1040|0,l<<2);N[c+16>>2]=l;d=1;if(!m){break b}a=db(4,m);N[c+4>>2]=a;if(!a){break d}F(a,h+1440|0,m<<2);N[c+20>>2]=m;break b}d=0;if((l|0)<=0){break c}while(1){_a(N[(h+1040|0)+(d<<2)>>2]);d=d+1|0;if((l|0)!=(d|0)){continue}break}}d=0;if((m|0)>0){while(1){_a(N[(h+1440|0)+(d<<2)>>2]);d=d+1|0;if((m|0)!=(d|0)){continue}break}}_a(N[c>>2]);_a(N[c+4>>2]);N[c>>2]=0;N[c+4>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;d=0}La=h+1840|0;return d}function fj(a,b,c,d){var e=U(0),f=0,g=0,h=0,i=U(0),j=0,k=0,l=U(0),m=U(0),n=U(0),o=U(0),p=0,q=0,r=U(0),s=U(0),t=U(0);g=La-80|0;La=g;a:{if(Q[a+16>>2]>c>>>0){N[g+76>>2]=0;N[g+68>>2]=0;N[g+72>>2]=0;f=N[a+20>>2];f=N[(f?f:275552)+12>>2];b:{if(O[a+12|0]){h=f+(c<<1)|0;f=O[h|0]|O[h+1|0]<<8;j=((f<<8|f>>>8)&65535)<<1;f=O[h+2|0]|O[h+3|0]<<8;h=((f<<8|f>>>8)&65535)<<1;break b}h=f+(c<<2)|0;f=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);j=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}f=N[d+4>>2];c:{d:{if(h>>>0>=j>>>0){p=N[a+24>>2];p=p?p:275552;if(h>>>0<=Q[p+16>>2]){break d}}N[g+48>>2]=0;N[g+40>>2]=0;N[g+44>>2]=0;N[g+56>>2]=-1;N[g+60>>2]=0;N[g+52>>2]=275552;break c}p=N[p+12>>2]+j|0;h=h-j|0;j=h>>>0<10?275552:p;k=O[j|0]|O[j+1|0]<<8;if(k){k=(k<<8|k>>>8)<<16>>16>0?1:(k|0)==65279?3:2}else{k=0}N[g+60>>2]=k;N[g+56>>2]=c;N[g+52>>2]=j;N[g+48>>2]=0;N[g+44>>2]=h;N[g+40>>2]=p}N[g+32>>2]=0;N[g+16>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;j=ej(g+40|0,b,a,g+68|0,!f,g+8|0,0);e:{if(!j){break e}f:{if(!f){break f}c=N[g+72>>2];if(c>>>0<=3){break a}b=c-4|0;g:{if(!b){l=R[d+28>>2];m=R[d+20>>2];n=R[d+24>>2];o=R[d+16>>2];break g}l=R[d+28>>2];n=R[d+24>>2];m=R[d+20>>2];o=R[d+16>>2];a=0;k=N[g+76>>2];h:{if((c|0)!=5){p=c&1;h=b&-2;while(1){c=k+T(a,12)|0;r=R[c+4>>2];e=l>=r?l:r;b=k+T(a|1,12)|0;s=R[b+4>>2];l=e>=s?e:s;t=R[c>>2];e=n>=t?n:t;i=R[b>>2];n=e>=i?e:i;e=m<=r?m:r;m=e<=s?e:s;e=o<=t?o:t;o=e<=i?e:i;a=a+2|0;q=q+2|0;if((h|0)!=(q|0)){continue}break}if(!p){break h}}a=k+T(a,12)|0;i=R[a+4>>2];l=l>=i?l:i;e=R[a>>2];n=e<=n?n:e;m=m<=i?m:i;o=e>=o?o:e}R[d+28>>2]=l;R[d+24>>2]=n;R[d+20>>2]=m;R[d+16>>2]=o}if(n<=o|l<=m){N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;break f}if(O[d+12|0]){b=N[d>>2];i=R[b+44>>2];e=U(Z(U(U(o*i)+U(.5))));i:{if(U(V(e))>2]=a;e=U(Z(U(U(n*i)+U(.5))));j:{if(U(V(e))>2]=c-a;i=R[b+48>>2];e=U(Z(U(U(l*i)+U(.5))));k:{if(U(V(e))>2]=a;e=U(Z(U(U(m*i)+U(.5))));l:{if(U(V(e))>2]=b-a;break f}e=U(Z(U(o+U(.5))));m:{if(U(V(e))>2]=b;e=U(Z(U(l+U(.5))));n:{if(U(V(e))>2]=a;e=U(Z(U(U(n-U(b|0))+U(.5))));o:{if(U(V(e))>2]=b;e=U(Z(U(U(m-U(a|0))+U(.5))));if(U(V(e))>2]=~~e;break f}N[f+12>>2]=-2147483648}b=N[d+8>>2];if(!b){break e}p:{q:{r:{s:{t:{d=N[g+72>>2];u:{if(d>>>0>=4){c=(N[g+76>>2]+T(d,12)|0)-48|0;a=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=a;M[b+8>>1]=P[c+8>>1];break u}N[147456]=0;N[147457]=0;N[147458]=0;M[b+8>>1]=0;N[b>>2]=0;N[b+4>>2]=0;if(d>>>0<3){break t}}q=N[g+76>>2];c=(q+T(d,12)|0)-36|0;a=N[c+4>>2];N[b+12>>2]=N[c>>2];N[b+16>>2]=a;M[b+20>>1]=P[c+8>>1];break s}N[147456]=0;N[147457]=0;N[147458]=0;M[b+20>>1]=0;N[b+12>>2]=0;N[b+16>>2]=0;if((d|0)!=2){break r}q=N[g+76>>2]}c=(T(d,12)+q|0)-24|0;a=N[c+4>>2];N[b+24>>2]=N[c>>2];N[b+28>>2]=a;M[b+32>>1]=P[c+8>>1];break q}N[b+24>>2]=0;N[b+28>>2]=0;M[b+32>>1]=0;a=589824;if(!d){break p}q=N[g+76>>2]}a=(T(d,12)+q|0)-12|0}c=N[a+4>>2];N[b+36>>2]=N[a>>2];N[b+40>>2]=c;M[b+44>>1]=P[a+8>>1]}_a(N[g+76>>2])}La=g+80|0;return j}ba(19169,14261,202,9940);B()}function um(a,b){a=a|0;b=b|0;var 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;h=La-1312|0;La=h;j=N[a+4>>2];n=N[j+136>>2];o=N[j+100>>2];m=N[N[j+128>>2]+52>>2];a:{b:{c:{d:{if(m){e=Qa[N[N[m>>2]>>2]](N[m+4>>2],b,h+656|0)|0;if(e){break c}e=0;d=N[j+288>>2];g=d&255;e:{if(!g){break e}l=d&3;c=N[h+656>>2];if(g>>>0>=4){c=(d+252&252)+c|0;g=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);c=c+4|0}if(!l){break e}while(1){k=O[c|0]|k<<8;c=c+1|0;f=f+1|0;if((l|0)!=(f&255)){continue}break}}c=N[h+660>>2];f:{if(!c){f=0;c=0;d=1;break f}g:{h:{f=c-d|0;if((f|0)>0){c=Qa[N[o+4>>2]](o,f)|0;if(c){break h}e=64;c=0;d=0;break f}e=6;c=0;if(!f){break g}d=0;break f}d=N[j+288>>2]}F(c,N[h+656>>2]+d|0,f);e=0;d=1}Qa[N[N[m>>2]+4>>2]](N[m+4>>2],h+656|0);if(d){break d}break c}d=N[j+292>>2]+N[j+288>>2]|0;c=(N[j+284>>2]+N[j+308>>2]|0)+T(d,b)|0;i:{g=N[j+328>>2];f=N[g+20>>2];if(f){e=85;if(Qa[f|0](g,c,0,0)|0){break a}break i}if(c>>>0<=Q[g+4>>2]){break i}e=85;break a}N[g+8>>2]=c;e=Bb(g,d<<1);if(e){break a}e=N[g+32>>2];d=e;l=N[j+288>>2];i=l&255;if(i){f=0;c=e;if(i>>>0>=4){c=e+(l+252&252)|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);k=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}d=l&3;if(d){while(1){k=O[c|0]|k<<8;c=c+1|0;f=f+1|0;if((d|0)!=(f&255)){continue}break}}d=e+(l&255)|0}f=0;p=N[j+292>>2];j:{if(!(p&255)){break j}c=d;if((p&255)>>>0>=4){c=e+((p+252&252)+(l&255)|0)|0;i=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);q=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);c=c+4|0}r=p&3;if(r){while(1){q=O[c|0]|q<<8;c=c+1|0;f=f+1|0;if((f&255)!=(r|0)){continue}break}}i=0;c=p&255;k:{if(c>>>0<4){f=0;c=(c+d|0)+l|0;break k}c=e+((c+((p+252&252)+l|0)|0)+(l&255)|0)|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}if(!r){break j}while(1){f=O[c|0]|f<<8;c=c+1|0;i=i+1|0;if((i&255)!=(r|0)){continue}break}}if(N[g+20>>2]){c=N[g>>2];if(c){d=N[g+28>>2];Qa[N[d+8>>2]](d,c)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;i=0;e=9;if(Q[g+4>>2]>>0|Q[j+300>>2]<=k>>>0|f>>>0>>0){break a}f=f-q|0;if(!f){e=0;break a}if((f|0)<=0){e=6;break a}c=Qa[N[o+4>>2]](o,f)|0;if(!c){e=64;break a}e=Xh(g,N[j+308>>2]+q|0,c,f);if(e){break b}}d=N[j+316>>2]+(k<<3)|0;N[a+1364>>2]=N[d>>2];d=N[d+4>>2];N[a+1372>>2]=0;N[a+1376>>2]=0;N[a+1368>>2]=d;d=N[j+304>>2]+T(k,252)|0;e=N[d+220>>2];N[a+1380>>2]=N[d+216>>2];N[a+1384>>2]=e;g=N[d+228>>2];e=a+1388|0;N[e>>2]=N[d+224>>2];N[e+4>>2]=g;e=N[d+236>>2];N[a+1396>>2]=N[d+232>>2];N[a+1400>>2]=e;k=N[d+4>>2];N[a+1360>>2]=k;e=9;g=(k|0)>=0?k:0;if(g>>>0>f>>>0){break c}if((k|0)>=0){Qa[N[n+16>>2]](c,f,4330)}l:{if(O[a+70|0]){e=Qa[N[N[n+12>>2]+8>>2]](a,c+g|0,f-g|0)|0;i=0;break l}e=h+656|0;Qa[N[n+24>>2]](e,a,1);i=d;d=h+4|0;Qa[N[n+28>>2]](j,i,d);N[h+1192>>2]=d;d=c+g|0;f=f-g|0;e=Qa[N[N[n+12>>2]+12>>2]](e,d,f)|0;i=0;if((e&255)!=164){break l}L[N[a+8>>2]+160|0]=0;e=Qa[N[N[n+12>>2]+12>>2]](h+656|0,d,f)|0;i=1}if(e|!m){break c}e=N[N[m>>2]+8>>2];if(!e){e=0;break c}d=N[a+32>>2];N[h+660>>2]=0;N[h+656>>2]=(d+(d>>31)|0)+32768>>16;d=N[a+40>>2];N[h+664>>2]=((d>>31)+d|0)+32768>>16;d=N[a+44>>2];N[h+668>>2]=((d>>31)+d|0)+32768>>16;e=Qa[e|0](N[m+4>>2],b,0,h+656|0)|0;N[a+32>>2]=N[h+656>>2]<<16;N[a+40>>2]=N[h+664>>2]<<16;N[a+44>>2]=N[h+668>>2]<<16}if(!c){break a}}Qa[N[o+8>>2]](o,c)}L[N[a+8>>2]+161|0]=i;La=h+1312|0;return e|0}function Nq(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;a:{b:{if(!(L[b+147|0]&1)){break b}z=N[c+28>>2]>>31|1;w=1;while(1){t=N[b+68>>2];y=t+x|0;c:{if(!t){m=y;break c}o=N[b+80>>2];u=o+3|0;s=N[b+88>>2];m=y;a=t;while(1){j=0;f=0;g=0;d=a;i=T(d-1|0,20);d:{if((O[(i+u|0)+16|0]&254)!=8){if(!D){break d}e=i+o|0;f=N[e+4>>2];m=m-1|0;h=T(m,20);d=h+o|0;N[d>>2]=N[e>>2];N[d+4>>2]=f;N[d+16>>2]=N[e+16>>2];f=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=f;d=h+s|0;e=i+s|0;N[d+16>>2]=N[e+16>>2];i=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=i;i=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=i;break d}while(1){e:{i=d-1|0;e=T(i,20);h=e+u|0;if((O[h+16|0]&254)!=8){e=d;k=0;f:{while(1){i=e-1|0;h=T(i,20);if((O[(h+u|0)+16|0]&254)==8){break f}r=h+o|0;n=P[r+16>>1];if(!((O[r+12|0]&16?0:n&32)|1<>2]+k|0;e=i;if(e){continue}break}e=0}r=d;break e}d=N[c+96>>2];k=N[d+40>>2];r=0;l=N[c+100>>2];e=N[e+o>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}e=Qa[k|0](c,l,e,d)|0;d=O[h+16|0]!=8;j=(d?0:e)+j|0;g=(d?e:0)+g|0;f=d+f|0;k=0;e=0;d=i;if(d){continue}}break}i=T(k-j|0,z);A=0;g=T(g,z);d=0;g:{if((g|0)<=0){break g}d=0;if((g|0)>=(i|0)){break g}d=((i|0)/(g|0)|0)-1|0}h=d+1|0;h:{if((i|0)<=(T(h,g)|0)){h=d;break h}if((f|0)<=0){h=d;break h}d=T(g,d+2|0)-i|0;if((d|0)<=0){break h}A=(d|0)/(T(f,h)|0)|0}i=r+1|0;if(w){x=T(f,h)+x|0;a=i;break d}d=N[b+68>>2];l=a>>>0>d>>>0?d:a;p=l-e|0;i:{if(p>>>0<2){break i}g=N[b+144>>2]|32;N[b+144>>2]=g;if(e>>>0>=l>>>0){break i}n=N[b+80>>2];d=-1;f=e;C=l+(f^-1)|0;if(C>>>0>=3){v=p&-4;k=0;while(1){j=n+T(f,20)|0;q=N[j+8>>2];d=d>>>0>>0?d:q;q=N[j+28>>2];d=d>>>0>>0?d:q;q=N[j+48>>2];d=d>>>0>>0?d:q;j=N[j+68>>2];d=d>>>0>>0?d:j;f=f+4|0;k=k+4|0;if((v|0)!=(k|0)){continue}break}}j=0;k=p&3;if(k){while(1){v=N[(n+T(f,20)|0)+8>>2];d=d>>>0>>0?d:v;f=f+1|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}if(p&1){f=n+T(e,20)|0;if(N[f+8>>2]!=(d|0)){N[f+4>>2]=N[f+4>>2]|3}e=e+1|0}if(!C){break i}while(1){f=n+T(e,20)|0;if(N[f+8>>2]!=(d|0)){g=g|32;N[b+144>>2]=g;N[f+4>>2]=N[f+4>>2]|3}f=n+T(e+1|0,20)|0;if(N[f+8>>2]!=(d|0)){g=g|32;N[b+144>>2]=g;N[f+4>>2]=N[f+4>>2]|3}e=e+2|0;if((l|0)!=(e|0)){continue}break}}if(a>>>0<=r>>>0){a=i;break d}n=h+1|0;e=0;while(1){h=N[c+96>>2];g=N[h+40>>2];j=N[c+100>>2];a=a-1|0;d=T(a,20);f=d+o|0;k=N[f>>2];h=N[h+12>>2];if(h){h=N[h+20>>2]}else{h=0}k=Qa[g|0](c,j,k,h)|0;j=O[(d+u|0)+16|0]!=9?1:n;j:{if(!j){break j}h=d+s|0;e=e-k|0;N[h+8>>2]=e;m=m-1|0;g=T(m,20);d=g+o|0;N[d+16>>2]=N[f+16>>2];l=N[f+12>>2];N[d+8>>2]=N[f+8>>2];N[d+12>>2]=l;l=N[f+4>>2];N[d>>2]=N[f>>2];N[d+4>>2]=l;d=g+s|0;N[d+16>>2]=N[h+16>>2];g=N[h+12>>2];N[d+8>>2]=N[h+8>>2];N[d+12>>2]=g;g=N[h+4>>2];N[d>>2]=N[h>>2];N[d+4>>2]=g;d=1;if((j|0)==1){break j}while(1){e=(e-k|0)+A|0;N[h+8>>2]=e;m=m-1|0;l=T(m,20);g=l+o|0;N[g+16>>2]=N[f+16>>2];p=N[f+12>>2];N[g+8>>2]=N[f+8>>2];N[g+12>>2]=p;p=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=p;g=l+s|0;N[g+16>>2]=N[h+16>>2];l=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=l;l=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=l;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(a>>>0>r>>>0){continue}break}a=i}a=a-1|0;if(a){continue}break}}if(w){w=0;D=1;a=x+t|0;if(!a|a>>>0>2]){continue}if(gb(b,a)){continue}break b}break}if(m){break a}N[b+68>>2]=y}return}ba(22012,17885,624,14367);B()}function mn(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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,O=0,P=0,Q=0,R=0;a:{if(!a|c+1>>>0<3&b+1>>>0<=2){break a}y=dg(a);if((y|0)==2){break a}H=M[a>>1];if((H|0)<=0){break a}F=N[a+4>>2];z=(c|0)/2|0;i=z>>31;A=(i^z)-i|0;P=A>>>16|0;I=A&65535;B=(b|0)/2|0;i=B>>31;C=(i^B)-i|0;Q=C>>>16|0;J=C&65535;R=N[a+12>>2];while(1){w=M[(G<<1)+R>>1];b:{if((w|0)==(D|0)){break b}E=-1;s=D;K=0;e=0;L=0;O=0;q=0;j=0;a=w;if((a|0)==-1){break b}while(1){k=O;g=L;i=K;c:{if((s|0)!=(E|0)){k=(s<<3)+F|0;l=N[k+4>>2];g=(a<<3)+F|0;d=N[g+4>>2];o=l-d|0;i=o>>31;i=(i^o)-i|0;k=N[k>>2];g=N[g>>2];d:{if((k|0)==(g|0)){if((d|0)==(l|0)){break c}g=0;k=(o|0)<0?-65536:65536;break d}h=k-g|0;g=h>>31;f=(g^h)-g|0;if((d|0)==(l|0)){k=0;g=(h|0)<0?-65536:65536;i=f;break d}k=i>>>0>>0?f+(i>>>1|0)|0:(f>>>1|0)+i|0;g=W(k);r=(-1431655766>>>g>>>0>k>>>0?-15:-16)+g|0;d=(r|0)<=0;e:{if(!d){m=f<>>0>n>>>0?m+(n>>>1|0)|0:(m>>>1|0)+n|0;break e}g=0-r|0;k=k>>>g|0;n=i>>>g|0;m=f>>>g|0}g=65536-k|0;while(1){l=(T(g,m)>>16)+m|0;f=(T(g,n)>>16)+n|0;i=T((T(l,l)+T(f,f)|0)/-512|0,g+65536>>8);g=(i>>>16|0)+g|0;if((i|0)>65535){continue}break}k=(o|0)<0?0-f|0:f;g=(h|0)<0?0-l|0:l;i=((T(m,l)+T(f,n)|0)/65536|0)+65536|0;if(!d){i=i+(1<>>r|0;break d}i=i<<0-r}if(!i){break c}}f:{if(!e){break f}if((E|0)<0){L=q;K=e;E=a;O=j}f=0;d=g>>31;p=(d^g)-d|0;d=q>>31;m=(d^q)-d|0;g:{if((p>>>8|0)+m>>>0<=8190){h=T(m,p)+32768>>>16|0;break g}d=m&65535;h=T(d,p>>>16|0)+T(p,m>>>16|0)+(T(d,p&65535)+32768>>>16)|0}d=h;l=0-d|0;d=q>>31|1;l=(((g|0)<0?0-d|0:d)|0)<0?l:h;d=k>>31;n=(d^k)-d|0;d=j>>31;o=(d^j)-d|0;h:{if((n>>>8|0)+o>>>0<=8190){h=T(n,o)+32768>>>16|0;break h}d=o&65535;h=T(d,n>>>16|0)+T(n,o>>>16|0)+(T(d,n&65535)+32768>>>16)|0}d=h;x=0-d|0;d=j>>31|1;r=l+((((k|0)<0?0-d|0:d)|0)<0?x:h)|0;h=0;i:{if((r|0)<-61439){break i}d=j+k|0;t=r+65536|0;if(p+(o>>>8|0)>>>0<=8190){h=T(o,p)+32768>>>16|0}else{f=p&65535;h=T(f,o>>>16|0)+T(o,p>>>16|0)+(T(f,o&65535)+32768>>>16)|0}f=h;l=0-f|0;f=g>>31|1;h=(((j|0)<0?0-f|0:f)|0)<0?l:h;if(n+(m>>>8|0)>>>0<=8190){f=T(m,n)+32768>>>16|0}else{j=n&65535;f=T(j,m>>>16|0)+T(m,n>>>16|0)+(T(j,m&65535)+32768>>>16)|0}j=f;l=0-j|0;j=k>>31|1;j=h+((((q|0)<0?0-j|0:j)|0)<0?f:l)|0;m=y?j:0-j|0;p=(i|0)>(e|0)?e:i;f=0-d|0;e=j>>31;u=(e^j)-e|0;n=u>>>8|0;j:{if(n+C>>>0<=8190){e=T(u,C)+32768>>>16|0;break j}e=T(u>>>16|0,J)+T(u,Q)+(T(u&65535,J)+32768>>>16)|0}o=(m|0)<0;j=o^(b|0)<-1?0-e|0:e;e=p>>31;v=(e^p)-e|0;h=v+(t>>>8|0)>>>0>8190;k:{if(!h){x=T(t,v)+32768>>>16|0;break k}e=v&65535;x=T(e,t>>>16|0)+T(v>>>16|0,t)+(T(e,r&65535)+32768>>>16)|0}l=x;e=y?d:f;f=0-l|0;l=(p|0)<0;l:{if(((l?f:x)|0)>=(j|0)){f=jb(e,B,t);break l}f=jb(e,p,m)}d=g+q|0;q=0-d|0;e=n+A>>>0<=8190?T(u,A)+32768>>>16|0:T(u>>>16|0,I)+T(u,P)+(T(u&65535,I)+32768>>>16)|0;j=o^(c|0)<-1?0-e|0:e;if(h){e=v&65535;h=T(e,t>>>16|0)+T(v>>>16|0,t)+(T(e,r&65535)+32768>>>16)|0}else{h=T(t,v)+32768>>>16|0}e=y?q:d;if((j|0)<=((l?0-h|0:h)|0)){h=jb(e,z,t);break i}h=jb(e,p,m)}if((a|0)==(s|0)){break f}j=h+z|0;e=f+B|0;while(1){q=(a<<3)+F|0;N[q>>2]=e+N[q>>2];N[q+4>>2]=j+N[q+4>>2];a=(a|0)<(w|0)?a+1|0:D;if((s|0)!=(a|0)){continue}break}}j=k;q=g;e=i;a=s}s=(s|0)<(w|0)?s+1|0:D;if((s|0)==(a|0)){break b}if((a|0)!=(E|0)){continue}break}}D=w+1|0;G=G+1|0;if((H|0)!=(G|0)){continue}break}}}function Hk(a,b){var 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;q=La-16|0;La=q;e=N[b+96>>2];d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;f=N[e+64>>2];c=vb(c,N[N[e+80>>2]+T(f,20)>>2]);a:{if((c|0)==-1){break a}N[b+4>>2]=f;N[b+36>>2]=1;d=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[d+68>>2];L[b+23|0]=O[b+22|0]?(f|0)==N[d+64>>2]?O[(N[d+80>>2]+T(f,20)|0)+15|0]:0:0;if(!kc(b+4|0,q+12|0)){d=0;if(!(O[e+16|0]&64)){break a}wb(e,2,N[e+64>>2],N[q+12>>2],1,0);break a}d=O[a+8|0]|O[a+9|0]<<8;d=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+10|0;d=O[d|0]|O[d+1|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=275552}m=N[b+4>>2];n=La-48|0;La=n;d=b;f=N[b+96>>2];b:{c:{b=O[e|0]|O[e+1|0]<<8;if(b){o=e+2|0;i=YE(O[a+4|0]|O[a+5|0]<<8);p=O[a+6|0]|O[a+7|0]<<8;h=(YE(p)+i<<1)+2|0;l=N[N[f+80>>2]+T(m,20)>>2];c=((b<<8|b>>>8)&65535)-1|0;b=0;while(1){k=b+c>>>1|0;g=o+T(k,h)|0;j=O[g|0]|O[g+1|0]<<8;j=(j<<8|j>>>8)&65535;d:{if(j>>>0>l>>>0){c=k-1|0;break d}if((l|0)==(j|0)){break c}b=k+1|0}if((b|0)<=(c|0)){continue}break}}d=0;if(!(O[f+16|0]&64)){break b}wb(f,2,N[f+64>>2],m+1|0,1,0);d=0;break b}if(N[f+156>>2]){b=N[d+88>>2];c=N[f+64>>2];N[n+36>>2]=m;N[n+32>>2]=c;ib(f,b,17042,n+32|0)}b=g+2|0;b=ge(O[a+4|0]|O[a+5|0]<<8,d,e,b,N[f+88>>2]+T(N[f+64>>2],20)|0)|ge(O[a+6|0]|O[a+7|0]<<8,d,e,b+(i<<1)|0,N[f+88>>2]+T(m,20)|0);e:{if((b|0)!=1){break e}a=N[d+96>>2];if(!N[a+156>>2]){break e}e=N[d+88>>2];c=N[a+64>>2];N[n+20>>2]=m;N[n+16>>2]=c;ib(a,e,17100,n+16|0)}a=N[d+96>>2];if(N[a+156>>2]){d=N[d+88>>2];e=N[a+64>>2];N[n+4>>2]=m;N[n>>2]=e;ib(a,d,17070,n)}f:{if(!b){break f}a=N[f+68>>2];b=m+1|0;l=a>>>0>>0?a:b;a=N[f+64>>2];k=l-a|0;if(k>>>0<2){break f}e=N[f+144>>2]|32;N[f+144>>2]=e;if(a>>>0>=l>>>0){break f}i=N[f+80>>2];c=-1;b=a;o=l+(b^-1)|0;if(o>>>0>=3){h=k&-4;d=0;while(1){g=i+T(b,20)|0;j=N[g+8>>2];c=c>>>0>>0?c:j;j=N[g+28>>2];c=c>>>0>>0?c:j;j=N[g+48>>2];c=c>>>0>>0?c:j;g=N[g+68>>2];c=c>>>0>>0?c:g;b=b+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}g=k&3;if(g){d=0;while(1){h=N[(i+T(b,20)|0)+8>>2];c=c>>>0>>0?c:h;b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(k&1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){N[b+4>>2]=N[b+4>>2]|3}a=a+1|0}if(!o){break f}while(1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}b=i+T(a+1|0,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}g:{if(!p){break g}a=m+2|0;m=m+1|0;b=N[f+68>>2];l=a>>>0>b>>>0?b:a;a=N[f+64>>2];k=l-a|0;if(k>>>0<2){break g}e=N[f+144>>2]|32;N[f+144>>2]=e;if(a>>>0>=l>>>0){break g}i=N[f+80>>2];c=-1;b=a;o=l+(b^-1)|0;if(o>>>0>=3){p=k&-4;d=0;while(1){g=i+T(b,20)|0;h=N[g+8>>2];c=c>>>0>>0?c:h;h=N[g+28>>2];c=c>>>0>>0?c:h;h=N[g+48>>2];c=c>>>0>>0?c:h;g=N[g+68>>2];c=c>>>0>>0?c:g;b=b+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}g=k&3;if(g){d=0;while(1){p=N[(i+T(b,20)|0)+8>>2];c=c>>>0

>>0?c:p;b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(k&1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){N[b+4>>2]=N[b+4>>2]|3}a=a+1|0}if(!o){break g}while(1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}b=i+T(a+1|0,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}N[f+64>>2]=m;d=1}La=n+48|0}La=q+16|0;return d}function zu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-16|0;La=h;a:{b:{c:{if(gm(a,b,c)){Uf(b);if(!a){break b}g=b+132|0;k=N[a+28>>2];j=pm(a);d:{if(j){break d}N[g>>2]=0;N[g+4>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;N[b+160>>2]=k;f=Qa[N[k+4>>2]](k,8276)|0;e:{if(!f){j=!f<<6;break e}N[f>>2]=a;N[f+4>>2]=g;d=N[b+160>>2];e=f+8264|0;N[f+8272>>2]=e;N[f+8>>2]=d;N[f+8268>>2]=e;N[f+8264>>2]=0;f:{j=pm(a);g:{if(j){break g}d=N[a+8>>2];N[f+48>>2]=163;N[f+44>>2]=164;N[f+68>>2]=d;d=N[a+28>>2];N[f+16>>2]=0;N[f+52>>2]=d;N[f+12>>2]=f+4168;j=3;if(mm(f+12|0,-15)){break g}if(N[f+12>>2]){break f}}Qa[N[k+8>>2]](k,f);break d}N[b+144>>2]=f;j=0}d=N[a+4>>2];l=d-4|0;m=N[a+8>>2];h:{i:{j:{k:{e=N[a+20>>2];l:{if(e){if(Qa[e|0](a,l,0,0)|0){break k}e=N[a+4>>2];break l}e=d;if(d>>>0<4){break k}}N[a+8>>2]=l;m:{if(d-1>>>0>=e>>>0){break m}n:{o:{d=N[a+20>>2];p:{if(d){if((Qa[d|0](a,l,h+4|0,4)|0)!=4){break m}l=N[a+8>>2];d=h+4|0;break p}d=N[a>>2];if(!d){break o}d=d+l|0}i=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break n}i=0}N[a+8>>2]=l+4}d=N[a+20>>2];q:{r:{if(d){if(!(Qa[d|0](a,m,0,0)|0)){break r}break q}if(Q[a+4>>2]>>0){break q}}N[a+8>>2]=m}if(i-1>>>0<=40958){l=165;e=Qa[N[k+4>>2]](k,i)|0;if(!e){d=0;break i}d=0;if((Bh(f,0,e,i)|0)==(i|0)){break j}Bh(f,0,0,0);Qa[N[k+8>>2]](k,e);break i}if(!i){break k}l=165;d=0;break h}l=165;d=0;i=2147483647;break h}Vf(f+12|0);l=0;N[f+52>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;N[f+16>>2]=0;Qa[N[k+8>>2]](k,f);N[b+144>>2]=0;d=e}j=0}N[b+132>>2]=d;N[b+140>>2]=0;N[b+136>>2]=i;N[b+156>>2]=166;N[b+152>>2]=l}if((j&255)==7){break b}if(j){e=N[a+28>>2];d=N[a+20>>2];if(d){if(Qa[d|0](a,0,0,0)|0){break b}}N[a+8>>2]=0;d=N[a+4>>2];if(!d){break b}i=N[a+20>>2];s:{if(i){d=Qa[i|0](a,0,h+4|0,2)|0;break s}d=d>>>0>=2?2:d;F(h+4|0,N[a>>2],d)}N[a+8>>2]=d;if(O[h+4|0]!=31|d>>>0<2|O[h+5|0]!=157){break b}N[g>>2]=0;N[g+4>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;N[b+160>>2]=e;d=Qa[N[e+4>>2]](e,4292)|0;if(!d){break c}C(d,0,4292);N[d>>2]=a;N[d+4>>2]=g;i=N[b+160>>2];j=d+4280|0;N[d+4288>>2]=j;N[d+8>>2]=i;N[d+4284>>2]=j;N[d+4280>>2]=0;t:{i=N[a+20>>2];u:{if(i){if(Qa[i|0](a,0,0,0)|0){break u}}N[a+8>>2]=0;if(Zb(a,h+4|0,2)|O[h+4|0]!=31){break u}if(O[h+5|0]==157){break t}}Qa[N[e+8>>2]](e,d);break b}C(d+12|0,0,172);N[d+176>>2]=a;e=N[a+28>>2];N[d+108>>2]=64;N[d+100>>2]=d+112;N[d+180>>2]=e;N[d+36>>2]=0;N[d+40>>2]=0;L[d+44|0]=0;N[d- -64>>2]=9;N[b+140>>2]=0;N[b+144>>2]=d;N[b+156>>2]=167;N[b+152>>2]=168;N[b+132>>2]=0;N[b+136>>2]=2147483647}N[b+104>>2]=g;N[b+172>>2]=a;if(gm(g,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){Uf(b);a=6;break a}v:{w:{a=N[b+180>>2];x:{if(!a){break x}c=N[b+176>>2];if(!c|(O[a|0]|32)!=105|((O[a+1|0]|32)!=115|(O[a+2|0]|32)!=111)){break x}a=a+3|0;if(!cb(a,21540)){break w}if(!cb(a,21356)){if(!cb(c,21900)){break w}}if(cb(a,21737)){break x}if(!cb(c,19136)){break w}}N[h+8>>2]=0;N[h+12>>2]=0;break v}N[h+8>>2]=1970170211;N[h+12>>2]=65539}N[h+4>>2]=b;a=Bc(43184,0,h+4|0,0);break a}N[b+132>>2]=0;N[b+136>>2]=2147483647;N[b+140>>2]=0;N[b+156>>2]=167;N[b+152>>2]=168}Uf(b);a=2}La=h+16|0;return a|0}function lx(a,b){a=a|0;b=b|0;var 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;i=La-32|0;La=i;h=N[b+28>>2];e=N[a+496>>2];if(e){d=N[e+36>>2];if(d){Qa[N[h+8>>2]](h,d)}N[e+36>>2]=0;N[e+40>>2]=0;d=N[e+28>>2];if(d){Qa[N[h+8>>2]](h,d)}N[e+28>>2]=0;N[e+32>>2]=0;Qa[N[h+8>>2]](h,e);N[a+496>>2]=0}c=Qa[N[h+4>>2]](h,44)|0;a:{if(!c){e=64;break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;e=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;d=Bb(b,N[b+4>>2]);b:{if(d){e=d;break b}d=N[a+476>>2];N[c+12>>2]=N[a+472>>2];N[c+16>>2]=d;d=N[a+468>>2];N[c+4>>2]=N[a+464>>2];N[c+8>>2]=d;N[c+20>>2]=N[a+476>>2];N[c+24>>2]=N[a+468>>2];d=N[a+492>>2];f=N[d+36>>2];c:{if(f){e=Qa[N[f>>2]](i+12|0,N[b+28>>2],N[b+32>>2],N[b+36>>2])|0;if(!e){N[i+28>>2]=a+132;N[i+24>>2]=148;N[i+20>>2]=c;f=i+12|0;e=Qa[N[N[d+36>>2]+8>>2]](f)|0;Qa[N[N[d+36>>2]+4>>2]](f)}if((e&255)==2){f=N[b+4>>2];if(f>>>0<7){break c}d=N[b+32>>2];if(O[d+1|0]>3|(f|0)!=(O[d+2|0]|O[d+3|0]<<8|(O[d+4|0]<<16|O[d+5|0]<<24))){break c}e=0;l=La-16|0;La=l;N[l+12>>2]=0;m=N[b+28>>2];f=2;d:{e:{j=N[b+36>>2];g=N[b+32>>2];if(j>>>0>>0){break e}d=(g+99|0)+(O[g+99|0]|O[g+100|0]<<8)|0;if(j>>>0>>0|(O[d+18|0]|O[d+19|0]<<8)>>>0<18){break d}d=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);if(!d){break d}k=d+g|0;g=k+2|0;if(j>>>0>>0){break e}d=O[k|0]|O[k+1|0]<<8;N[c+40>>2]=d;if(j>>>0<(d<<2)+g>>>0){break e}if(!d){break d}d=lb(m,16,0,d,0,l+12|0);N[c+36>>2]=d;f=N[l+12>>2];if(f){break e}o=N[c+40>>2];j=N[a+92>>2];f=N[a+36>>2];f:{if((f|0)<=0){break f}p=N[a+40>>2];while(1){n=N[(e<<2)+p>>2];if(P[n+8>>1]!=7){e=e+1|0;if((f|0)!=(e|0)){continue}break f}break}f=pn(a,n);if(f){break e}}e=o<<2;if((e|0)>0){k=(e+k|0)+2|0;while(1){g:{h:{if(a){e=N[a+92>>2];if(e){break h}}N[d>>2]=0;e=0;break g}e=Qa[N[N[e+12>>2]+12>>2]](e,O[g|0])|0;f=N[a+92>>2];N[d>>2]=e>>>0>2]?e:0;e=0;if(!f){break g}e=Qa[N[N[f+12>>2]+12>>2]](f,O[g+1|0])|0;e=e>>>0>2]?e:0}N[d+4>>2]=e;e=(O[g+2|0]|O[g+3|0]<<8)<<16>>16;N[d+12>>2]=0;N[d+8>>2]=e;d=d+16|0;g=g+4|0;if(k>>>0>g>>>0){continue}break}}if(j){f=pn(a,j);if(f){break e}}Zc(N[c+36>>2],N[c+40>>2],16,149);e=0;break d}e=N[c+36>>2];if(e){Qa[N[m+8>>2]](m,e)}N[c+36>>2]=0;N[c+40>>2]=0;e=f}La=l+16|0}if(e){break c}}d=N[c+8>>2];N[a+464>>2]=N[c+4>>2];N[a+468>>2]=d;d=N[c+16>>2];N[a+472>>2]=N[c+12>>2];N[a+476>>2]=d;N[a+52>>2]=M[c+6>>1];N[a+56>>2]=M[c+10>>1];N[a+60>>2]=N[c+12>>2]+65535>>16;N[a- -64>>2]=N[c+16>>2]+65535>>16;M[a+70>>1]=N[c+20>>2]+32768>>>16;M[a+72>>1]=N[c+24>>2]+32768>>>16;if(!N[c+40>>2]){break c}N[a+496>>2]=c;N[a+8>>2]=N[a+8>>2]|64;c=0}if(N[b+20>>2]){a=N[b>>2];if(a){d=N[b+28>>2];Qa[N[d+8>>2]](d,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!c){break a}}a=N[c+36>>2];if(a){Qa[N[h+8>>2]](h,a)}N[c+36>>2]=0;N[c+40>>2]=0;a=N[c+28>>2];if(a){Qa[N[h+8>>2]](h,a)}N[c+28>>2]=0;N[c+32>>2]=0;Qa[N[h+8>>2]](h,c)}La=i+32|0;return e|0}function So(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=N[a+660>>2];if(N[e+8>>2]>(b|0)){while(1){h=O[a+372|0];a:{b:{k=N[e+20>>2]+T(b,56)|0;d=N[k+44>>2];c:{if(!(!d|!O[d|0])){if(!h){break a}L[d|0]=0;f=N[k+48>>2];d=O[f|0];if(d){break c}break a}f=N[k+48>>2];d=O[f|0];if(!d){break a}if(!h){break b}}h=0;while(1){e=h;g=f;d:{e:{switch((d<<24>>24)-123|0){case 2:h=0;if(!e|(g-e|0)<3){break d}d=0;e=e+1|0;i=g-1|0;if(e>>>0>i>>>0){break d}while(1){f=d;f:{if(O[e|0]!=92){break f}d=e;if(!f){break f}l=e-1|0;c=f+1|0;if(l>>>0<=c>>>0){break f}j=(l-c|0)+1|0;g:{h:{i:{j:{m=L[c|0];switch(m-75|0){case 0:case 32:break g;case 27:break h;case 34:break i;case 41:break j;default:break f}}if((m|0)!=116|j>>>0<2){break f}k:{c=O[f+2|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break k}}if((c|0)==9){break g}break f}if(j>>>0<5){break f}if(bb(c,15447,4)){break f}l:{c=O[f+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break l}}if((c|0)==9){break g}break f}if(j>>>0<4){break f}m:{if(bb(c,16930,3)){break m}n:{d=O[f+4|0];switch(d-32|0){case 0:case 8:break g;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break m;default:break n}}if((d|0)==9){break g}}d=e;if(j>>>0<5){break f}if(bb(c,16398,4)){break f}o:{c=O[f+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break o}}if((c|0)!=9){break f}}C(f,32,(l-f|0)+1|0);d=e}e=e+1|0;if(i>>>0>=e>>>0){continue}break};if(!d){break d}if(!Io(d+1|0,i)|d>>>0>i>>>0){break d}C(d,32,(i-d|0)+1|0);break d;case 0:break e;default:break d}}if(e){break d}if((g|0)!=N[k+48>>2]){h=0;if(O[g-1|0]==92){break d}}h=g}f=g+1|0;d=O[g+1|0];if(d){continue}break}break a}h=0;e=f;while(1){c=h;g=e;p:{q:{switch((d<<24>>24)-123|0){case 0:if(c){break p}h=g;if((g|0)==(f|0)){break p}h=0;if(O[g-1|0]==92){break p}h=g;break p;case 2:break q;default:break p}}h=0;if(!c|(g-c|0)<3){break p}d=0;e=c+1|0;k=g-1|0;if(e>>>0>k>>>0){break p}while(1){c=d;r:{if(O[e|0]!=92){break r}d=e;if(!c){break r}j=e-1|0;i=c+1|0;if(j>>>0<=i>>>0){break r}j=(j-i|0)+1|0;s:{t:{u:{l=L[i|0];switch(l-75|0){case 0:case 32:break a;case 27:break s;case 34:break t;case 41:break u;default:break r}}if((l|0)!=116|j>>>0<2){break r}v:{c=O[c+2|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break v}}if((c|0)!=9){break r}break a}if(j>>>0<5){break r}if(bb(i,15447,4)){break r}w:{c=O[c+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break w}}if((c|0)!=9){break r}break a}if(j>>>0<4){break r}x:{if(bb(i,16930,3)){break x}y:{d=O[c+4|0];switch(d-32|0){case 0:case 8:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break x;default:break y}}if((d|0)==9){break a}}d=e;if(j>>>0<5){break r}if(bb(i,16398,4)){break r}z:{c=O[c+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break z}}if((c|0)==9){break a}}e=e+1|0;if(k>>>0>=e>>>0){continue}break}if(!d){break p}if(Io(d+1|0,k)){break a}}e=g+1|0;d=O[g+1|0];if(d){continue}break}}b=b+1|0;e=N[a+660>>2];if((b|0)>2]){continue}break}}N[a+376>>2]=b}function qt(a,b){a=a|0;b=b|0;var 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;f=La-48|0;La=f;i=N[b+28>>2];c=N[b+8>>2];N[f+24>>2]=c;a:{b:{c:{d:{if(Q[b+4>>2]<=c+3>>>0){break d}d=N[b+20>>2];e:{if(d){if((Qa[d|0](b,c,f+28|0,4)|0)!=4){break d}c=N[b+8>>2];d=f+28|0;break e}d=N[b>>2];if(!d){break c}d=c+d|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}c=85;break a}d=0}N[b+8>>2]=c+4;N[f+12>>2]=d;c=rb(b,179200,f+12|0);if(c){break a}f:{l=N[f+12>>2];if((l|0)!=1330926671){g=N[f+24>>2];d=g+12|0;h=N[b+20>>2];g:{if(h){c=85;if(!(Qa[h|0](b,d,0,0)|0)){break g}break a}c=85;if(d>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=d;c=2;k=P[f+16>>1];if(!k){break a}m=g+28|0;g=0;h=0;while(1){h:{if(rb(b,179232,f+28|0)){k=g-1|0;M[f+16>>1]=k;break h}d=N[b+4>>2];j=N[f+36>>2];i:{if(d>>>0>>0){break i}e=N[f+28>>2];n=N[f+40>>2];if(!((e|0)==1986884728|n>>>0<=d-j>>>0)&(e|0)!=1752003704){break i}h=h+1|0;j:{k:{l:{m:{if((e|0)<=1651008867){if((e|0)==1296389185){break m}if((e|0)!=1397313095){break i}o=1;break i}if((e|0)!=1751474532&(e|0)!=1651008868){break i}if(n>>>0<54){c=142;break a}e=j+12|0;n:{o:{n=N[b+20>>2];if(n){if(!(Qa[n|0](b,e,0,0)|0)){break o}c=85;break a}if(d>>>0>=e>>>0){break n}c=85;break a}d=N[b+4>>2]}N[b+8>>2]=e;p:{if(j+15>>>0>>0){d=N[b+20>>2];if(!d){N[b+8>>2]=e+4;d=m+(g<<4)|0;break l}if((Qa[d|0](b,e,f+44|0,4)|0)==4){break p}}c=85;break a}N[b+8>>2]=N[b+8>>2]+4;d=m+(g<<4)|0;e=N[b+20>>2];if(!e){break l}if(Qa[e|0](b,d,0,0)|0){break k}break j}p=1;break i}if(Q[b+4>>2]>=d>>>0){break j}}c=85;break a}N[b+8>>2]=d;q=1}g=g+1|0;if((k|0)!=(g|0)){continue}}break}if(!(h&65535)){break a}if(q){break f}c=142;if(!o|!p){break a}break f}l=1330926671;k=P[f+16>>1];h=k;if(h){break f}c=2;break a}N[a+148>>2]=l;M[a+152>>1]=h;d=h<<4&1048560;c=Qa[N[i+4>>2]](i,d)|0;if(c){C(c,0,d);N[a+156>>2]=c;d=N[f+24>>2]+12|0;g=N[b+20>>2];q:{if(g){c=85;if(!(Qa[g|0](b,d,0,0)|0)){break q}break a}c=85;if(d>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=d;d=k&65535;c=Bb(b,d<<4);if(c){break a}r:{if(!d){e=0;break r}h=0;e=0;while(1){i=N[b+36>>2];c=N[b+32>>2];s:{if(i>>>0<=c+3>>>0){g=0;break s}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;j=0;t:{if(i>>>0<=c+3>>>0){l=0;break t}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);l=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;if(i>>>0>c+3>>>0){d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);j=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;d=0;if(i>>>0>c+3>>>0){d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;c=N[b+4>>2];u:{if(c>>>0>>0){break u}c=c-j|0;if(c>>>0>>0){if((g|0)!=1986884728&(g|0)!=1752003704){break u}d=c&-4}m=N[a+156>>2];i=e&65535;v:{if(!i){i=0;break v}c=0;while(1){if(N[m+(c<<4)>>2]==(g|0)){break u}c=c+1|0;if((i|0)!=(c|0)){continue}break}}c=m+(i<<4)|0;N[c+12>>2]=d;N[c+8>>2]=j;N[c+4>>2]=l;N[c>>2]=g;e=e+1|0}h=h+1|0;if((h&65535)>>>0<(k&65535)>>>0){continue}break}}M[a+152>>1]=e;if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;c=0;break a}N[a+156>>2]=0;c=64}La=f+48|0;return c|0}function jl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{l=N[b+4>>2];if(l>>>0>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}g=c-a|0;if(g>>>0<2){break a}e=N[b+12>>2];j=e-2|0;N[b+12>>2]=j;if((j|0)<=0){break a}d=1;b:{c:{d:{e:{f:{g:{h:{i:{h=O[a|0]|O[a+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break d;case 8:break e;case 6:break f;case 4:break g;case 2:break h;case 0:break i;default:break b}}e=N[b+36>>2];if(e>>>0>1073741823){break a}e=e<<2;if(!e){break c}a=a+2|0;if(a>>>0>c>>>0|e>>>0>c-a>>>0){break a}a=j-e|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<8){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}g=a+2|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<10){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}d=0;j=O[g|0]|O[g+1|0]<<8;k=(j<<8|j>>>8)&65535;if(k>>>0<6){break b}i=O[a+4|0]|O[a+5|0]<<8;e=(i<<8|i>>>8)&65535;f=0;j:{if(!i){break j}i=a+12|0;if(i>>>0>c>>>0){break b}f=c-i|0;c=T(e,k);if(f>>>0>>0){break b}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=i+T(k,e-1|0)|0;f=0;if((O[c|0]|O[c+1|0]<<8)!=65535){break j}f=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=f+e|0;if(!n){break c}k=a+12|0;e=0;while(1){d=O[a+4|0]|O[a+5|0]<<8;h=(d<<8|d>>>8)&65535;c=0;k:{if(!d){break k}d=k+T(h-1|0,(j<<8|(j&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break k}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+h>>>0<=e>>>0){c=275552}else{l=N[b+4>>2];j=O[g|0]|O[g+1|0]<<8;c=k+T((j<<8|j>>>8)&65535,e)|0}d=0;if(c>>>0>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-c>>>0<6){break b}i=N[b+12>>2];f=i-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[c|0]|O[c+1|0]<<8;f=(f<<8|f>>>8)&65535;m=O[c+2|0]|O[c+3|0]<<8;m=(m<<8|m>>>8)&65535;if(f>>>0>>0){break b}c=c+4|0;if(c>>>0>h>>>0|h-c>>>0<2){break b}i=i-8|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=(f-m|0)+1|0;if(f>>>0>1073741823){break b}if(f){c=O[c|0]|O[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>h>>>0){break b}h=h-c|0;c=f<<2;if(h>>>0>>0){break b}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=1;e=e+1|0;if((n|0)!=(e|0)){continue}break}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<6){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<6){break a}e=e-8|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+6|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=((d<<8|d>>>8)&65535)<<2;if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<8){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){break a}g=d;d=O[a+6|0]|O[a+7|0]<<8;d=T(g,(d<<8|d>>>8)&65535);if(!d){break c}a=a+8|0;if(a>>>0>c>>>0|d>>>0>c-a>>>0){break a}a=e-d|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}d=1}return d}return 0}function yc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{l=N[b+4>>2];if(l>>>0>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}g=c-a|0;if(g>>>0<2){break a}e=N[b+12>>2];j=e-2|0;N[b+12>>2]=j;d=1;if((j|0)<=0){break a}b:{c:{d:{e:{f:{g:{h:{i:{h=O[a|0]|O[a+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break d;case 8:break e;case 6:break f;case 4:break g;case 2:break h;case 0:break i;default:break b}}d=0;e=N[b+36>>2];if((e|0)<0){break b}e=e<<1;if(!e){break c}a=a+2|0;if(a>>>0>c>>>0|e>>>0>c-a>>>0){break b}a=j-e|0;N[b+12>>2]=a;if((a|0)>0){break c}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<6){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}g=a+2|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<10){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}d=0;j=O[g|0]|O[g+1|0]<<8;k=(j<<8|j>>>8)&65535;if(k>>>0<6){break b}i=O[a+4|0]|O[a+5|0]<<8;e=(i<<8|i>>>8)&65535;f=0;j:{if(!i){break j}i=a+12|0;if(i>>>0>c>>>0){break b}f=c-i|0;c=T(e,k);if(f>>>0>>0){break b}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=i+T(k,e-1|0)|0;f=0;if((O[c|0]|O[c+1|0]<<8)!=65535){break j}f=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=f+e|0;if(!n){break c}k=a+12|0;e=0;while(1){d=O[a+4|0]|O[a+5|0]<<8;h=(d<<8|d>>>8)&65535;c=0;k:{if(!d){break k}d=k+T(h-1|0,(j<<8|(j&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break k}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+h>>>0<=e>>>0){c=275552}else{l=N[b+4>>2];j=O[g|0]|O[g+1|0]<<8;c=k+T((j<<8|j>>>8)&65535,e)|0}d=0;if(c>>>0>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-c>>>0<6){break b}i=N[b+12>>2];f=i-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[c|0]|O[c+1|0]<<8;f=(f<<8|f>>>8)&65535;m=O[c+2|0]|O[c+3|0]<<8;m=(m<<8|m>>>8)&65535;if(f>>>0>>0){break b}c=c+4|0;if(c>>>0>h>>>0|h-c>>>0<2){break b}i=i-8|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=f-m|0;if((f|0)<-1){break b}f=f+1|0;if(f){c=O[c|0]|O[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>h>>>0){break b}h=h-c|0;c=f<<1;if(h>>>0>>0){break b}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=1;e=e+1|0;if((n|0)!=(e|0)){continue}break}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<4){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<6){break a}e=e-8|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+6|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=((d<<8|d>>>8)&65535)<<1;if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<8){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){break a}g=d;d=O[a+6|0]|O[a+7|0]<<8;d=T(g,(d<<8|d>>>8)&65535);if(!d){break c}a=a+8|0;if(a>>>0>c>>>0|d>>>0>c-a>>>0){break a}a=e-d|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}d=1}return d}return 0}function Tm(a,b){var 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;k=La-16|0;La=k;h=N[a+104>>2];m=N[h+28>>2];o=N[a+736>>2];L[o+(b?44:32)|0]=1;e=Qa[N[a+516>>2]](a,b?1448493394:1213612370,h,k)|0;a:{if(e){break a}b:{c:{d:{d=N[h+8>>2];if(Q[h+4>>2]<=d+1>>>0){break d}c=N[h+20>>2];e:{if(c){if((Qa[c|0](h,d,k+10|0,2)|0)!=2){break d}e=k+10|0;c=N[h+8>>2];break e}c=N[h>>2];if(!c){break c}e=c+d|0;c=d}i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;break b}e=85;break a}c=d;i=0}N[h+8>>2]=c+2;l=c+4|0;f=N[h+20>>2];f:{if(f){e=85;if(!(Qa[f|0](h,l,0,0)|0)){break f}break a}e=85;if(Q[h+4>>2]>>0){break a}}N[h+8>>2]=l;e=8;if((i&65535)!=1){break a}N[k+4>>2]=0;g:{h:{i:{if(Q[h+4>>2]<=c+7>>>0){break i}c=N[h+20>>2];j:{if(c){if((Qa[c|0](h,l,k+12|0,4)|0)!=4){break i}l=N[h+8>>2];c=k+12|0;break j}c=N[h>>2];if(!c){break h}c=c+l|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break g}e=85;break a}i=0}N[h+8>>2]=l+4;f=Nb(h,k+4|0);e=N[k+4>>2];if(e){break a}c=Qa[N[m+4>>2]](m,32)|0;k:{if(!c){e=!c<<6;c=0;break k}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;e=0}l:{if(b){N[o+52>>2]=c;if(!e){break l}break a}N[o+40>>2]=c;if(e){break a}}e=Um(N[a+104>>2],N[a+736>>2],d+i|0,c);N[k+4>>2]=e;if(e){break a}if(f){e=d+f|0;j=La-16|0;La=j;g=N[a+104>>2];m=N[g+28>>2];d=N[g+20>>2];m:{n:{if(d){f=85;if(Qa[d|0](g,e,0,0)|0){break m}n=N[g+4>>2];break n}f=85;n=N[g+4>>2];if(n>>>0>>0){break m}}N[g+8>>2]=e;o:{p:{q:{if(e+1>>>0>=n>>>0){break q}d=N[g+20>>2];r:{if(d){if((Qa[d|0](g,e,j+11|0,2)|0)!=2){break q}e=N[g+8>>2];d=j+11|0;break r}d=N[g>>2];if(!d){break p}d=d+e|0}d=O[d|0]|O[d+1|0]<<8;i=d<<8|d>>>8;break o}break m}i=0}f=e+2|0;N[g+8>>2]=f;s:{t:{u:{if(Q[g+4>>2]<=e+3>>>0){break u}d=N[g+20>>2];v:{if(d){if((Qa[d|0](g,f,j+13|0,2)|0)!=2){break u}f=N[g+8>>2];d=j+13|0;break v}d=N[g>>2];if(!d){break t}d=d+f|0}d=O[d+1|0]|O[d|0]<<8;break s}N[c+20>>2]=0;f=85;break m}d=0}N[g+8>>2]=f+2;N[c+20>>2]=d;f=8;if((i&65535)>>>0>63){break m}f=0;w:{x:{if(d){d=d<<2;f=Qa[N[m+4>>2]](m,d)|0;if(!f){break x}C(f,0,d)}N[j+4>>2]=0;N[c+28>>2]=f;r=c,s=lb(m,4,0,N[c+20>>2],0,j+4|0),N[r+24>>2]=s;f=N[j+4>>2];if(f){break m}if(!N[c+20>>2]){f=0;break m}d=i&15;h=d+1|0;l=(i&65520)>>>4|0;m=(2<>2];while(1){f=0;n=0;while(1){L[j+15|0]=0;d=N[g+20>>2];y:{if(d){if((Qa[d|0](g,e,j+15|0,1)|0)!=1){break w}e=N[g+8>>2];d=j+15|0;break y}if(Q[g+4>>2]<=e>>>0){break w}d=N[g>>2]+e|0}d=O[d|0];e=e+1|0;N[g+8>>2]=e;n=d|n<<8;d=(f|0)!=(l|0);f=f+1|0;if(d){continue}break}f=8;d=n>>>h|0;if(d>>>0>=Q[c>>2]){break m}i=p<<2;N[i+N[c+24>>2]>>2]=d;q=N[N[c+4>>2]+(d<<4)>>2];d=m&n;if(q>>>0<=d>>>0){break m}N[N[c+28>>2]+i>>2]=d;f=0;p=p+1|0;if(p>>>0>2]){continue}break}break m}f=64;N[j+4>>2]=64;N[c+28>>2]=0;break m}f=85}La=j+16|0;e=f;if(e){break a}}L[(b?45:33)+o|0]=1;N[a+740>>2]=N[a+740>>2]|(b?16:2);e=0}La=k+16|0;return e}function ex(a,b){a=a|0;b=b|0;var 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,t=0;l=La-16|0;La=l;j=N[b+8>>2];e=N[b>>2];n=N[a+492>>2];g=N[b+16>>2];a:{b:{c:{c=Qa[N[b+36>>2]](b)|0;if((c|0)>=0){e=j-e>>3;e=(c|0)<(e|0)?c:e;if(N[b+12>>2]|!e){break a}h=b+260|0;k=b+156|0;i=b+208|0;if(!N[b+152>>2]){d=e+6|0;c=Qa[N[N[n>>2]>>2]](i,d,g)|0;if(c){break b}c=Qa[N[N[n>>2]>>2]](k,d,g)|0;if(c){break b}c=Qa[N[N[n>>2]>>2]](h,4,g)|0;if(c){break b}}Qa[N[b+28>>2]](b);c=3;d=N[b>>2];if(j>>>0<=d>>>0){break b}r=e+5|0;e=0;while(1){d:{e:{if(d+3>>>0>=j>>>0){break e}f:{switch(O[d+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break f;default:break e}}g:{switch(O[d|0]-100|0){case 0:if(!e|(O[d+1|0]!=101|O[d+2|0]!=102)){break e}break c;case 1:break g;default:break e}}if(O[d+1|0]!=110){break e}if(O[d+2|0]==100){break d}}Qa[N[b+32>>2]](b);c=3;m=N[b>>2];if(m>>>0>=j>>>0){break b}if(N[b+12>>2]){break a}h:{if(O[d|0]!=47){break h}if(d+2>>>0>=j>>>0){break b}s=N[N[a+128>>2]+52>>2];c=N[b+8>>2];Qa[N[b+28>>2]](b);i:{f=N[b>>2];j:{if(f>>>0>=c>>>0|O[f|0]-48>>>0>9){break j}f=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((f|0)<0){break j}t=c;c=N[b>>2];p=c+1|0;if((f|0)<(t-p|0)){break i}}if(s){break a}N[b+12>>2]=3;break a}N[b>>2]=(c+f|0)+1;if(N[b+12>>2]){break a}if(N[b+152>>2]){break h}d=d+1|0;m=m-d|0;c=Qa[N[b+200>>2]](k,e,d,m+1|0)|0;if(c){break b}c=e<<2;L[m+N[c+N[b+180>>2]>>2]|0]=0;if(O[d|0]==46){c=cb(15265,N[c+N[b+180>>2]>>2]);q=c?q:1;o=c?o:e}d=N[a+172>>2];k:{if(!((d|0)<0|(e|0)>=(r|0))){c=3;if(d>>>0>=f>>>0){break b}d=Qa[N[g+4>>2]](g,f)|0;if(!d){N[b+12>>2]=!d<<6;break a}F(d,p,f);Qa[N[n+16>>2]](d,f,4330);c=N[a+172>>2];c=Qa[N[b+252>>2]](i,e,c+d|0,f-c|0)|0;Qa[N[g+8>>2]](g,d);break k}c=Qa[N[b+252>>2]](i,e,p,f)|0}if(c){break b}e=e+1|0}Qa[N[b+28>>2]](b);d=N[b>>2];if(j>>>0>d>>>0){continue}}break}if(e){break c}}c=3;break b}N[b+152>>2]=e;if(q&255){a=N[N[b+180>>2]>>2];if(!cb(15265,a)){break a}c=Qa[N[b+304>>2]](h,0,a,N[N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,1,N[N[b+232>>2]>>2],N[N[b+236>>2]>>2])|0;if(c){break b}a=o<<2;c=Qa[N[b+304>>2]](h,2,N[a+N[b+180>>2]>>2],N[a+N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,3,N[a+N[b+232>>2]>>2],N[a+N[b+236>>2]>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,o,N[N[b+284>>2]>>2],N[N[b+288>>2]>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,o,N[N[b+284>>2]+4>>2],N[N[b+288>>2]+4>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,0,N[N[b+284>>2]+8>>2],N[N[b+288>>2]+8>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,0,N[N[b+284>>2]+12>>2],N[N[b+288>>2]+12>>2])|0;if(c){break b}break a}L[l+12|0]=O[30448];N[l+8>>2]=O[30444]|O[30445]<<8|(O[30446]<<16|O[30447]<<24);c=Qa[N[b+304>>2]](h,0,N[N[b+180>>2]>>2],N[N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,1,N[N[b+232>>2]>>2],N[N[b+236>>2]>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,0,15265,8)|0;if(c){break b}c=Qa[N[b+252>>2]](i,0,l+8|0,5)|0;if(c){break b}c=Qa[N[b+200>>2]](k,e,N[N[b+284>>2]>>2],N[N[b+288>>2]>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,e,N[N[b+284>>2]+4>>2],N[N[b+288>>2]+4>>2])|0;if(c){break b}N[b+152>>2]=N[b+152>>2]+1;break a}N[b+12>>2]=c}La=l+16|0}function _d(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,o=0,p=0;a:{b:{c:{d:{e:{f:{g:{h:{e=O[a|0]|O[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 13:break c;case 12:break d;case 10:break e;case 6:break f;case 4:break g;case 0:break h;default:break a}}if(b>>>0>255){break a}b=O[(a+b|0)+6|0];if(b){break b}break a}e=O[a+6|0]|O[a+7|0]<<8;d=e<<8|e>>>8;e=d&65535;if(e>>>0<2){break a}f=O[a+2|0]|O[a+3|0]<<8;e=e>>>1|0;i=(((f<<8|f>>>8)&65535)-(e<<3)|0)-16>>>1|0;k=a+14|0;a=d&65534;f=(k+a|0)+2|0;l=a+f|0;m=a+l|0;o=a+m|0;d=e-1|0;a=0;p=e+1<<1;i:{while(1){g=a+d|0;h=g>>>1|0;g=g&-2;j=g+k|0;n=O[j|0]|O[j+1|0]<<8;j:{if(((n<<8|n>>>8)&65535)>>>0>=b>>>0){d=j+p|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break i}d=h-1|0;break j}a=h+1|0}if((a|0)<=(d|0)){continue}break}return 0}a=g>>1;d=g+m|0;d=O[d|0]|O[d+1|0]<<8;if(d){j=0;d=a+(b-e|0)+(((d<<8|d>>>8)&65534)>>>1)|0;b=f+(a<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=d-((b<<8|b>>>8)&65535)|0;if(b>>>0>=i>>>0){break a}b=(b<<1)+o|0;b=O[b|0]|O[b+1|0]<<8;if(!b){break a}b=(b<<8|b>>>8)&65535}a=(a<<1)+l|0;a=O[a|0]|O[a+1|0]<<8;b=(a<<8|a>>>8)+b&65535;if(b){break b}return 0}d=b;b=O[a+6|0]|O[a+7|0]<<8;b=d-((b<<8|b>>>8)&65535)|0;e=O[a+8|0]|O[a+9|0]<<8;if(b>>>0>=((e<<8|e>>>8)&65535)>>>0){a=275552}else{a=((b<<1)+a|0)+10|0}a=O[a|0]|O[a+1|0]<<8;if(!a){break a}b=(a<<8|a>>>8)&65535;break b}d=b;b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);b=d-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;e=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(b>>>0>=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0){a=275552}else{a=((b<<1)+a|0)+20|0}a=O[a|0]|O[a+1|0]<<8;if(!a){break a}b=(a<<8|a>>>8)&65535;break b}e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);k:{if((d|0)<=0){break k}i=a+16|0;d=d-1|0;a=0;while(1){h=a+d>>>1|0;f=i+T(h,12)|0;g=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);l:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){a=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0>>0){a=h+1|0;break l}e=i+T(h,12)|0;break k}d=h-1|0}if((a|0)<=(d|0)){continue}break}}a=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(d>>>0>>0){break a}b=b-a|0;a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=b+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;if(b){break b}break a}e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);m:{if((d|0)<=0){break m}i=a+16|0;d=d-1|0;a=0;while(1){h=a+d>>>1|0;f=i+T(h,12)|0;g=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);n:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){a=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0>>0){a=h+1|0;break n}e=i+T(h,12)|0;break m}d=h-1|0}if((a|0)<=(d|0)){continue}break}}a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);if(!a){break a}b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}N[c>>2]=b;j=1}return j}function $j(a,b){var 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;a:{if(!(O[b+4|0]|O[b+5|0]<<8)&(O[b+2|0]|O[b+3|0]<<8)==65535){break a}d=N[a+172>>2];N[a+172>>2]=d+1;if(d>>>0>2e3){break a}f=b-N[a>>2]|0;g=f>>>9|0;i=N[a+148>>2];b:{c:{d:{d=N[a+136>>2];j=N[a+144>>2];if(d>>>0>=j>>>0){break d}d=i+(d<<3)|0;if((g|0)!=N[d>>2]){break d}c=d+4|0;break c}d=0;if((j|0)<=0){break b}e=j-1|0;e:{while(1){d=c+e>>>1|0;h=N[i+(d<<3)>>2];f:{if((h|0)>(g|0)){e=d-1|0;break f}if((g|0)==(h|0)){break e}c=d+1|0}if((c|0)<=(e|0)){continue}break}d=0;break b}N[a+136>>2]=d;c=(d>>>0>=j>>>0?275552:i+(d<<3)|0)+4|0}e=N[a+160>>2];d=0;if(!e){break b}c=(e+(N[c>>2]<<6)|0)+(f>>>3&56)|0;g=N[c>>2];e=N[c+4>>2];d=f&63;c=d&31;d=((d&63)>>>0>=32?e>>>c|0:((1<>>c)&1}if((d|0)!=O[a+164|0]){break a}g=b+4|0;tc(a+116|0,f);if(!O[a+60|0]){c=O[b+2|0]|O[b+3|0]<<8;g:{if((c|0)==65535){break g}d=N[a+176>>2]+1|0;N[a+176>>2]=d;if(d>>>0>1500){break g}tc(N[a+4>>2],(c<<8|c>>>8)&65535)}e=O[g|0]|O[g+1|0]<<8;d=(e<<8|e>>>8)&65535;c=d+N[a+176>>2]|0;N[a+176>>2]=c;if(c>>>0>1500){break a}c=b+6|0;a=N[a+4>>2];g=a+12|0;if(O[a+48|0]){Ug(g,c,d);return}if(!e|!O[g|0]){break a}N[a+16>>2]=-1;a=O[c|0]|O[c+1|0]<<8;e=(a<<8|a>>>8)&65535;h:while(1){f=wc(g,e);if(!f){break a}i=e&65024;j=i+512|0;while(1){a=f+(e>>>3&56)|0;h=N[a+4>>2];e=e&63;b=e&31;if((e&63)>>>0>=32){e=1<>>32-b}N[a>>2]=k|N[a>>2];N[a+4>>2]=e|h;d=d-1|0;if(!d){break a}a=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(a<<8|a>>>8)&65535;if(i>>>0>e>>>0){continue h}if(e>>>0>>0){continue}break}continue}}i=a+20|0;if(_j(i)){break a}b=O[g|0]|O[g+1|0]<<8;if(!b){break a}b=(b<<8|b>>>8)&65535;n=b>>>0<=1?1:b;j=0;while(1){b=O[g|0]|O[g+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=j>>>0?238136:(g+(j<<1)|0)+2|0;b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;b=e>>>9|0;k=N[a+40>>2];i:{j:{k:{c=N[a+28>>2];h=N[a+36>>2];if(c>>>0>=h>>>0){break k}c=k+(c<<3)|0;if((b|0)!=N[c>>2]){break k}d=c+4|0;break j}c=0;if((h|0)<=0){break i}c=h-1|0;d=0;l:{while(1){f=c+d>>>1|0;l=k+(f<<3)|0;m=N[l>>2];m:{if((b|0)<(m|0)){c=f-1|0;break m}if((b|0)==(m|0)){break l}d=f+1|0}if((c|0)>=(d|0)){continue}break}c=0;break i}N[a+28>>2]=f;d=(f>>>0>=h>>>0?275552:l)+4|0}f=N[a+52>>2];c=0;if(!f){break i}c=(f+(N[d>>2]<<6)|0)+(e>>>3&56)|0;h=N[c>>2];f=N[c+4>>2];d=e&63;c=d&31;c=((d&63)>>>0>=32?f>>>c|0:((1<>>c)&1}n:{if((c|0)==O[a+56|0]){break n}tc(N[a+4>>2],e);if(O[a+56|0]){if(!O[i|0]){break n}N[i+4>>2]=-1;b=wc(i,e);if(!b){break n}b=b+(e>>>3&56)|0;f=N[b+4>>2];d=e&63;c=d&31;if((d&63)>>>0>=32){d=1<>>32-c}N[b>>2]=e|N[b>>2];N[b+4>>2]=d|f;break n}if(!O[i|0]){break n}f=N[a+28>>2];c=N[a+36>>2];h=N[a+40>>2];if(!(f>>>0>>0&(b|0)==N[h+(f<<3)>>2])){if((c|0)<=0){break n}c=c-1|0;d=0;while(1){o:{f=c+d>>>1|0;k=N[h+(f<<3)>>2];p:{if((k|0)>(b|0)){c=f-1|0;break p}if((b|0)==(k|0)){break o}d=f+1|0}if((c|0)>=(d|0)){continue}break n}break}N[a+28>>2]=f}b=N[a+52>>2];if(!b){break n}c=N[(h+(f<<3)|0)+4>>2];N[a+24>>2]=-1;b=(b+(c<<6)|0)+(e>>>3&56)|0;c=N[b>>2];d=N[b+4>>2];o=b,p=_E(-2,-1,e)&c,N[o>>2]=p;N[b+4>>2]=Pa&d}j=j+1|0;if((n|0)!=(j|0)){continue}break}}}function Zl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=La-16|0;La=o;i=d+8|0;f=-31;a:{b:{c:{d:{e:{f:{switch(N[d+628>>2]){case 3:e=N[d+2428>>2];break d;case 2:f=N[d+2424>>2];break e;case 0:f=Xl(d,i,b);if((f|0)!=1){break a}N[b>>2]=N[b>>2]+1;N[d+2420>>2]=0;g=Qa[N[d+24>>2]](N[d+32>>2],a)|0;N[c>>2]=g;if(!g){f=-25;break a}f=1;if(Q[b>>2]<=1){C(g,0,a);break a}N[d+628>>2]=1;break;case 4:break c;case 1:break f;default:break a}}f=N[d+12>>2];g:{if(f-28>>>0>=5){g=N[i>>2];break g}g=N[d+20>>2];if(!g){f=2;break a}e=N[d+8>>2]>>>8|0;N[d+8>>2]=e;h=N[d+16>>2];l=O[h|0];N[d+20>>2]=g-1;N[d+16>>2]=h+1;g=e|l<<24;N[d+8>>2]=g;f=f-8|0}N[d+628>>2]=2;g=g>>>f|0;e=g&1;N[d+12>>2]=(e?5:1)+f;f=(g>>>1&15)+1&0-e;N[d+2424>>2]=f}b=N[b>>2]+f|0;f=Qf(b,b,d+2432|0,0,d);if((f|0)!=1){break a}N[d+628>>2]=3;N[d+2428>>2]=65535;e=65535}j=N[d+2424>>2];h=N[d+2420>>2];l=N[c>>2];N[o+12>>2]=e;if((e|0)==65535&a>>>0<=h>>>0){break c}f=(e|0)!=65535;n=d+2432|0;while(1){h:{i:{j:{if(f&1){break j}k:{l:{g=N[d+12>>2];m:{if(g-18>>>0>=15){e=N[i>>2];break m}f=N[d+20>>2];b=g;while(1){if(!f){break l}e=N[d+8>>2]>>>8|0;N[d+8>>2]=e;k=N[d+16>>2];m=O[k|0];f=f-1|0;N[d+20>>2]=f;g=b-8|0;N[d+12>>2]=g;N[d+16>>2]=k+1;e=e|m<<24;N[d+8>>2]=e;k=b-26|0;b=g;if(k>>>0<15){continue}break}}e=e>>>g|0;f=n+((e&255)<<2)|0;b=O[f|0];if(b>>>0>=9){g=g+8|0;f=(P[f+2>>1]+(N[(b<<2)+169360>>2]&e>>>8&127)<<2)+f|0;b=O[f|0]}N[d+12>>2]=(b&255)+g;e=P[f+2>>1];N[o+12>>2]=e;break k}if(!Jc(n,i,o+12|0)){e=65535;break b}e=N[o+12>>2]}if(!e){e=0;L[h+l|0]=0;break i}if(e>>>0<=j>>>0){break j}L[h+l|0]=e-j;break i}g=N[d+12>>2];n:{if(32-g>>>0>=e>>>0){k=N[i>>2];break n}f=N[d+20>>2];b=g;while(1){if(!f){break b}k=N[d+8>>2]>>>8|0;N[d+8>>2]=k;m=N[d+16>>2];p=O[m|0];f=f-1|0;N[d+20>>2]=f;g=b-8|0;N[d+12>>2]=g;N[d+16>>2]=m+1;k=k|p<<24;N[d+8>>2]=k;m=40-b|0;b=g;if(e>>>0>m>>>0){continue}break}}N[d+12>>2]=e+g;g=(N[(e<<2)+169392>>2]&k>>>g)+(1<>>0>a>>>0){f=-8;break a}C(h+l|0,0,g);break h}b=h+1|0}f=0;h=b;if(b>>>0>>0){continue}break}}b=N[d+12>>2];o:{p:{if((b|0)!=32){h=N[i>>2];break p}b=N[d+20>>2];if(!b){f=2;g=4;break o}g=N[d+8>>2]>>>8|0;N[d+8>>2]=g;e=N[d+16>>2];h=O[e|0];N[d+20>>2]=b-1;N[d+16>>2]=e+1;b=24;h=g|h<<24;N[d+8>>2]=h}f=1;N[d+12>>2]=b+1;g=0;if(!(h>>>b&1)){break o}l=N[c>>2];b=a;e=0;c=50462976;h=d+288|0;N[h>>2]=50462976;i=1;a=N[d+280>>2]+1|0;a=a>>>0<=2?2:a;j=a-1|0;n=j&3;if(a-2>>>0>=3){k=j&-4;a=50462976;while(1){j=h+(i<<2)|0;N[j>>2]=a+67372036;c=a+269488144|0;N[j+12>>2]=c;N[j+8>>2]=a+202116108;N[j+4>>2]=a+134744072;i=i+4|0;a=c;e=e+4|0;if((k|0)!=(e|0)){continue}break}}if(n){a=0;while(1){c=c+67372036|0;N[h+(i<<2)>>2]=c;i=i+1|0;a=a+1|0;if((n|0)!=(a|0)){continue}break}}q:{if(!b){N[d+280>>2]=0;break q}c=d+287|0;e=0;a=0;r:{if((b|0)!=1){n=b&1;k=b&-2;while(1){j=a+l|0;b=O[j|0];i=O[b+h|0];L[j|0]=i;L[c|0]=i;F(h,c,b+1|0);m=l+(a|1)|0;i=O[m|0];j=O[i+h|0];L[m|0]=j;L[c|0]=j;F(h,c,i+1|0);e=i|(b|e);a=a+2|0;if((k|0)!=(a|0)){continue}break}if(!n){break r}}i=a+l|0;a=O[i|0];b=O[a+h|0];L[i|0]=b;L[c|0]=b;F(h,c,a+1|0);e=a|e}N[d+280>>2]=e>>>2}}N[d+628>>2]=g;break a}N[d+2420>>2]=h;N[d+2428>>2]=e;f=2}La=o+16|0;return f}function ud(a,b){var 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;c=N[b>>2];if((c|0)==-1){g=b;d=-1;f=N[a+28>>2];a:{if(!f){break a}i=N[a+32>>2];k=N[a+20>>2];j=N[a+16>>2];b=0;b:{c:{d:{while(1){c=b>>>0>=j>>>0?275552:k+(b<<3)|0;a=N[c+4>>2];a=a>>>0>=f>>>0?275552:i+(a<<6)|0;e=N[a>>2];h=N[a+4>>2];if(e|h){b=N[c>>2]<<9;f=0;break c}e=N[a+8>>2];h=N[a+12>>2];if(e|h){break d}e:{if(N[a+16>>2]|N[a+20>>2]|(N[a+24>>2]|N[a+28>>2])){break e}if(N[a+32>>2]|N[a+36>>2]|(N[a+40>>2]|N[a+44>>2])){break e}if(N[a+48>>2]|N[a+52>>2]|(N[a+56>>2]|N[a+60>>2])){break e}b=b+1|0;if((f|0)==(b|0)){break a}continue}break}b=N[c>>2]<<9;c=N[a+20>>2];h=c;e=N[a+16>>2];f=128;if(c|e){break c}c=N[a+28>>2];h=c;e=N[a+24>>2];f=192;if(c|e){break c}c=N[a+36>>2];h=c;e=N[a+32>>2];f=256;if(c|e){break c}c=N[a+44>>2];h=c;e=N[a+40>>2];f=320;if(c|e){break c}c=N[a+52>>2];h=c;e=N[a+48>>2];f=384;if(c|e){break c}e=N[a+56>>2];a=N[a+60>>2];h=a;f=448;if(a|e){break c}a=-1;break b}b=N[c>>2]<<9;f=64}a=f|TE(e,h)}d=a+b|0}N[g>>2]=d;return(d|0)!=-1}f:{g:{h:{g=N[a+16>>2];i=N[a+8>>2];d=c>>>9|0;m=N[a+20>>2];i:{j:{if(!(g>>>0<=i>>>0|(d|0)!=N[m+(i<<3)>>2])){k=N[a+32>>2];break j}k:{if((g|0)<=0){i=0;break k}k=g-1|0;i=0;while(1){e=i+k>>>1|0;f=N[(e<<3)+m>>2];l:{if((f|0)>(d|0)){k=e-1|0;break l}if((d|0)==(f|0)){i=e;break k}i=e+1|0}if((i|0)<=(k|0)){continue}break}}if(g>>>0<=i>>>0){N[b>>2]=-1;return 0}k=N[a+32>>2];if((d|0)!=N[(i<<3)+m>>2]){break i}}m:{n:{d=c+1|0;e=d&511;if(!e){break n}n=(i<<3)+m|0;l=(N[n+4>>2]<<6)+k|0;j=e>>>6|0;e=l+(j<<3)|0;c=N[e>>2];f=N[e+4>>2];g=d&63;e=g&31;h=c;if((g&63)>>>0>=32){g=-1<>>32-e}e=h&c;g=g&f;h=g;if(e|g){d=d&448;break h}g=j+1|0;if((g|0)==8){break n}d=l+(g<<3)|0;e=N[d>>2];d=N[d+4>>2];h=d;if(d|e){d=g<<6;break h}d=j+2|0;if((d|0)==8){break n}c=l+(d<<3)|0;e=N[c>>2];c=N[c+4>>2];h=c;o:{if(e|c){break o}c=j+3|0;if((c|0)==8){break n}g=l+(c<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=d;d=c;break o}d=j+4|0;if((d|0)==8){break n}g=l+(d<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=c;break o}c=j+5|0;if((c|0)==8){break n}g=l+(c<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=d;d=c;break o}f=j+6|0;if((f|0)==8){break n}d=l+(f<<3)|0;e=N[d>>2];d=N[d+4>>2];h=d;if(d|e){g=c;d=f;break o}d=j+7|0;if((d|0)==8){break n}g=f;c=l+(d<<3)|0;e=N[c>>2];c=N[c+4>>2];h=c;if(!(e|c)){break n}}d=TE(e,h)|d<<6;N[b>>2]=d;if(g>>>0>=7){break m}break g}N[b>>2]=-1}i=i+1|0;g=N[a+16>>2]}if(g>>>0>i>>>0){while(1){p:{d=(N[((i<<3)+m|0)+4>>2]<<6)+k|0;e=N[d>>2];f=N[d+4>>2];h=f;c=0;q:{if(e|f){break q}f=N[d+12>>2];h=f;e=N[d+8>>2];c=64;if(f|e){break q}f=N[d+20>>2];h=f;e=N[d+16>>2];c=128;if(f|e){break q}f=N[d+28>>2];h=f;e=N[d+24>>2];c=192;if(f|e){break q}f=N[d+36>>2];h=f;e=N[d+32>>2];c=256;if(f|e){break q}f=N[d+44>>2];h=f;e=N[d+40>>2];c=320;if(f|e){break q}f=N[d+52>>2];h=f;e=N[d+48>>2];c=384;if(f|e){break q}e=N[d+56>>2];d=N[d+60>>2];h=d;if(!(d|e)){break p}c=448}o=b,p=c|TE(e,h)|N[(i<<3)+m>>2]<<9,N[o>>2]=p;break f}i=i+1|0;if((i|0)!=(g|0)){continue}break}}N[a+8>>2]=0;N[b>>2]=-1;return 0}d=TE(e,h)|d;N[b>>2]=d}N[b>>2]=(N[n>>2]<<9)+d}N[a+8>>2]=i;return 1}function Kp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=0,o=0,p=0,q=0;d=a+8|0;f=O[a+6|0]|O[a+7|0]<<8;j=(f<<8|f>>>8)&65535;f=c>>>0>j>>>0?j:c;if(f){while(1){g=(e<<2)+b|0;p=g,q=Jp(d,N[g>>2],0,1),N[p>>2]=q;g=d;d=O[d|0]|O[d+1|0]<<8;d=(g+(((d<<8|d>>>8)&65535)<<2)|0)+2|0;e=e+1|0;if((e|0)!=(f|0)){continue}break}}e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=2){a:{if(c>>>0>=j>>>0){break a}g=j+(f^-1)|0;i=j-f&3;if(i){e=0;while(1){h=d;d=O[d|0]|O[d+1|0]<<8;d=(h+(((d<<8|d>>>8)&65535)<<2)|0)+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}f=f+i|0}if(g>>>0<3){break a}while(1){e=O[d|0]|O[d+1|0]<<8;d=(((e<<8|e>>>8)&65535)<<2)+d|0;e=O[d+2|0]|O[d+3|0]<<8;d=(d+2|0)+(((e<<8|e>>>8)&65535)<<2)|0;e=O[d+2|0]|O[d+3|0]<<8;d=(d+2|0)+(((e<<8|e>>>8)&65535)<<2)|0;e=O[d+2|0]|O[d+3|0]<<8;d=((((e<<8|e>>>8)&65535)<<2)+d|0)+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}h=275552;n=275552;e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(e){n=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0}e=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(e){h=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0}a=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{a=275552}e=O[a+2|0]|O[a+3|0]<<8;a=(e<<8|e>>>8)&65535;k=kb(a<<2);b:{if(!e|!k){break b}a=a>>>0<=1?1:a;e=a&7;f=0;d=0;if(a>>>0>=8){a=a&65528;while(1){g=d<<2;N[g+k>>2]=1073741824;N[k+(g|4)>>2]=1073741824;N[k+(g|8)>>2]=1073741824;N[k+(g|12)>>2]=1073741824;N[k+(g|16)>>2]=1073741824;N[k+(g|20)>>2]=1073741824;N[k+(g|24)>>2]=1073741824;N[k+(g|28)>>2]=1073741824;d=d+8|0;if((a|0)!=(d|0)){continue}break}}if(!e){break b}while(1){N[k+(d<<2)>>2]=1073741824;d=d+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}e=0;c:{if(!c){break c}f=0;while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=c>>>0){continue}break}d=-1;if(f>>>0<=1073741823){e=kb(f<<2);d=e?f:-1}j=0;while(1){g=N[(m<<2)+b>>2];f=nd(n,m);i=f>>>16|0;a=O[h+6|0]|O[h+7|0]<<8;if(i>>>0>=((a<<8|a>>>8)&65535)>>>0){l=U(0)}else{a=(i<<2)+h|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{a=275552}o=f&65535;i=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(i){f=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))+h|0}else{f=275552}l=Fc(a,o,b,c,f,k)}l=U(U(Z(U(l+U(.5))))+U(g|0));d:{if(U(V(l))>>0<=d>>>0){a=e;break f}while(1){f=((f>>>1|0)+f|0)+8|0;if(g>>>0>=f>>>0){continue}break}d=-1;if(f>>>0>1073741823){break g}a=$a(e,f<<2);if(a){break f}}N[147456]=0;break e}e=(i|0)<=-16384?-16384:i;N[(j<<2)+a>>2]=(e|0)>=16384?16384:e;d=f;j=g;e=a}m=m+1|0;if((m|0)!=(c|0)){continue}break}d=0;if((c|0)!=1){f=c&1;c=c&-2;while(1){g=(d<<2)+b|0;h:{if(d>>>0>=j>>>0){N[147456]=0;a=0;break h}a=N[(d<<2)+e>>2]}N[g>>2]=a;g=d|1;i:{if(g>>>0>=j>>>0){N[147456]=0;a=0;break i}a=N[(g<<2)+e>>2]}N[(g<<2)+b>>2]=a;d=d+2|0;if((c|0)!=(d|0)){continue}break}if(!f){break c}}b=(d<<2)+b|0;j:{if(d>>>0>=j>>>0){N[147456]=0;a=0;break j}a=N[(d<<2)+e>>2]}N[b>>2]=a}_a(k);_a(e)}}function uj(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,o=0,p=0,q=0,r=0,s=0;L[a|0]=0;L[a+1|0]=0;n=ad(b);l=N[c+16>>2];m=N[c+12>>2];i=N[c+4>>2];k=N[c>>2];a:{if(!ee(b,n)){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{if(i){q=(l<<1)+m|0;r=(i<<1)+k|0;h=-2;g=l;f=m;c=i;d=k;while(1){if(!g&(f|0)==(q|0)){break j}s=h+1|0;k:{if(c){e=0;h=d;if(g){break k}}M[294912]=0;e=!g|(c|0)!=0;h=c?d:589824}j=h;j=O[j|0]|O[j+1|0]<<8;h=(j<<8|j>>>8)&65535;o=((s|0)!=(h|0))+o|0;p=p+1|0;j=!e;g=g-j|0;f=(j<<1)+f|0;j=(c|0)!=0;d=(j<<1)+d|0;c=c-j|0;if((r|0)!=(d|0)|c){continue}break}break j}L[n|0]=0;L[n+1|0]=1;break i}c=T(o,3)>>>0

>>0;d=c?512:256;L[n|0]=d;L[n+1|0]=d>>>8;if(c-1|0){break i}break h}g=n+2|0;if(!ee(b,g)){break a}m=i>>>0>>0?i:l;c=m<<8|(m&65280)>>>8;L[g|0]=c;L[g+1|0]=c>>>8;c=N[b+24>>2];if(m>>>0>=65536){f=c|16;break b}if(c){break a}if(g>>>0>2]){break g}c=N[b+4>>2];if(c>>>0>>0){break f}d=(m<<1&131070)+2|0;if(d>>>0>>0){break e}f=4;d=(d+g|0)-c|0;if((d|0)<0|(d|0)>(N[b+8>>2]-c|0)){break b}N[b+4>>2]=c+d;if(!c){break a}if(!m){break c}c=0;while(1){l:{m:{n:{if(i){if(!l){break n}d=g+(c<<1)|0;f=O[k|0]|O[k+1|0]<<8;L[d+2|0]=f;L[d+3|0]=f>>>8;k=k+2|0;d=-1;i=i-1|0;break l}M[294912]=0;d=g+(c<<1)|0;L[d+2|0]=0;L[d+3|0]=0;d=-1;i=0;if(!l){break m}break l}M[294912]=0;d=g+(c<<1)|0;f=O[k|0]|O[k+1|0]<<8;L[d+2|0]=f;L[d+3|0]=f>>>8;k=k+2|0;i=i-1|0}d=0}l=d+l|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}break c}if(!tj(b,n)){break a}e=0;j=-2;g=l;f=m;c=i;d=k;while(1){if(!g&(f|0)==(q|0)){break d}o:{if(c){o=0;h=d;if(g){break o}}M[294912]=0;o=!g|(c|0)!=0;h=c?d:589824}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;e=((h|0)!=(j+1|0))+e|0;j=!o;g=g-j|0;f=(j<<1)+f|0;j=h;p=(c|0)!=0;d=(p<<1)+d|0;c=c-p|0;if((r|0)!=(d|0)|c){continue}break}break d}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}f=n+2|0;if(!ee(b,f)){break a}c=e<<8|(e&65280)>>>8;L[f|0]=c;L[f+1|0]=c>>>8;if(e>>>0>=65536){N[b+24>>2]=N[b+24>>2]|16}if(!sj(b,f,T(e&65535,6)+2|0)){break a}if(!e){break c}g=-2;h=0;c=-1;while(1){if(!l&(m|0)==(q|0)){break c}e=g+1|0;p:{if(i){j=0;d=k;if(l){break p}}M[294912]=0;j=!l|(i|0)!=0;d=i?k:589824}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if((e|0)!=(g|0)){c=c+1|0;e=O[f|0]|O[f+1|0]<<8;q:{if(c>>>0>=((e<<8|e>>>8)&65535)>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break q}e=(f+T(c,6)|0)+2|0}L[e|0]=d;L[e+1|0]=d>>>8;e=O[f|0]|O[f+1|0]<<8;r:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break r}e=(f+T(c,6)|0)+2|0}n=h<<8|(h&65280)>>>8;L[e+4|0]=n;L[e+5|0]=n>>>8}e=O[f|0]|O[f+1|0]<<8;s:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break s}e=(f+T(c,6)|0)+2|0}L[e+2|0]=d;L[e+3|0]=d>>>8;d=(i|0)!=0;k=(d<<1)+k|0;h=h+1|0;i=i-d|0;d=!j;l=l-d|0;m=(d<<1)+m|0;if(i|(k|0)!=(r|0)){continue}break}}de(b,a,Cc(b,1));return 1}N[b+24>>2]=f}$c(b);return 0}function se(a,b){var 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;l=N[a+88>>2];n=l+12|0;a:{b:{c:{d:{if(L[a+8|0]&1){e:{f:{g:{h:{i:{j:{k:{o=N[b>>2];switch(o|0){case 3:break i;case 2:break j;case 0:break k;case 1:break g;case 4:break h;default:break e}}f=P[a+68>>1];g=f;break e}f=N[a+60>>2]-N[a+52>>2]|0;d=N[a- -64>>2]-N[a+56>>2]|0;break f}f=M[a+76>>1];d=M[a+70>>1]-M[a+72>>1]|0;break f}c=N[b+4>>2];N[l+16>>2]=c;b=N[b+8>>2];N[l+20>>2]=b;if(!c){break c}if(b){break b}break d}f=M[a+70>>1]-M[a+72>>1]|0;d=f}c=d;c=c>>31;g=(d^c)-c|0;c=f>>31;f=(c^f)-c|0}d=N[b+4>>2];i=d;c=N[b+12>>2];if(c){i=(T(c,d)+36|0)/72|0}p=N[b+8>>2];m=p;b=N[b+16>>2];if(b){m=(T(b,p)+36|0)/72|0}l:{if(d){c=2147483647;m:{if(!f){break m}b=i>>31;e=(b^i)-b|0;if(e>>>0<=(f>>>17^65535)>>>0){c=((e<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break m}b=e<<16;d=b+(f>>>1|0)|0;b=(e>>>16|0)+(b>>>0>d>>>0)|0;if(b>>>0>=f>>>0){break m}h=W(b);j=32-h|0;b=d>>>j|b<>>0)/(f>>>0)|0;k=b-T(c,f)|0;b=d<>>31;e=d>>>0>=f>>>0;k=d-(e?f:0)|0;c=e|c<<1;j=31-h|0;b=b<<1}if((h|0)==31){break m}while(1){d=k<<1|b>>>31;h=d>>>0>=f>>>0;d=b>>>30&1|d-(h?f:0)<<1;e=d>>>0>=f>>>0;k=d-(e?f:0)|0;c=c<<2|h<<1|e;b=b<<2;j=j-2|0;if(j){continue}break}}c=(i|0)<0?0-c|0:c;N[l+16>>2]=c;if(p){b=2147483647;n:{if(!g){break n}d=m>>31;h=(d^m)-d|0;if(h>>>0<=(g>>>17^65535)>>>0){b=((h<<16)+(g>>>1|0)>>>0)/(g>>>0)|0;break n}d=h<<16;e=d+(g>>>1|0)|0;d=(h>>>16|0)+(d>>>0>e>>>0)|0;if(d>>>0>=g>>>0){break n}h=W(d);j=32-h|0;d=e>>>j|d<>>0)/(g>>>0)|0;k=d-T(b,g)|0;f=e<>>31;e=d>>>0>=g>>>0;k=d-(e?g:0)|0;j=31-h|0;f=f<<1;b=e|b<<1}if((h|0)==31){break n}while(1){d=k<<1|f>>>31;h=d>>>0>=g>>>0;d=f>>>30&1|d-(h?g:0)<<1;e=d>>>0>=g>>>0;k=d-(e?g:0)|0;b=e|(b<<2|h<<1);f=f<<2;j=j-2|0;if(j){continue}break}}b=(m|0)<0?0-b|0:b;N[l+20>>2]=b;if((o|0)!=3){break l}if((b|0)<=(c|0)){break c}break d}N[l+20>>2]=c;m=jb(i,g,f);b=c;break l}i=2147483647;o:{if(!g){break o}b=m>>31;d=(b^m)-b|0;if(d>>>0<=(g>>>17^65535)>>>0){i=((d<<16)+(g>>>1|0)>>>0)/(g>>>0)|0;break o}b=d<<16;c=b+(g>>>1|0)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;if(b>>>0>=g>>>0){break o}e=W(b);k=32-e|0;b=c>>>k|b<>>0)/(g>>>0)|0;j=b-T(g,i)|0;b=c<>>31;d=c>>>0>=g>>>0;j=c-(d?g:0)|0;i=d|i<<1;k=31-e|0;b=b<<1}if((e|0)==31){break o}while(1){c=j<<1|b>>>31;e=c>>>0>=g>>>0;c=b>>>30&1|c-(e?g:0)<<1;d=c>>>0>=g>>>0;j=c-(d?g:0)|0;i=d|(i<<2|e<<1);b=b<<2;k=k-2|0;if(k){continue}break}}b=(m|0)<0?0-i|0:i;N[l+16>>2]=b;N[l+20>>2]=b;i=jb(m,f,g);c=b}if(!o){break a}break b}N[n>>2]=0;N[n+4>>2]=0;N[n+24>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[n+8>>2]=0;N[n+12>>2]=0;N[l+16>>2]=65536;N[l+20>>2]=65536;return}N[l+20>>2]=c;b=c;break b}N[l+16>>2]=b;c=b}d=(c|0)<0;e=P[a+68>>1];f=c;c=c>>31;c=(f^c)-c|0;p:{if(e+(c>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break p}c=T(e,c>>>16|0)+(T(e,c&65535)+32768>>>16|0)|0}i=d?0-c|0:c;c=b>>31;c=(c^b)-c|0;q:{if(e+(c>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break q}c=T(e,c>>>16|0)+(T(e,c&65535)+32768>>>16|0)|0}m=(b|0)<0?0-c|0:c}M[l+14>>1]=m+32>>>6;M[l+12>>1]=i+32>>>6;sn(a,n)}function gA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=La-16|0;C(c,0,652);g=O[b+8|0];L[c+188|0]=g;a:{if(!g){break a}if(g>>>0>=4){i=g&252;e=c+192|0;h=b+12|0;while(1){N[e+(d<<2)>>2]=M[h+(d<<1)>>1];j=d|1;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];j=d|2;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];j=d|3;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];d=d+4|0;if((i|0)!=(d|0)){continue}break}}e=g&3;if(!e){break a}g=0;while(1){N[((d<<2)+c|0)+192>>2]=M[((d<<1)+b|0)+12>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+9|0];L[c+189|0]=e;b:{if(!e){break b}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+248|0;i=b+40|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break b}while(1){N[((d<<2)+c|0)+248>>2]=M[((d<<1)+b|0)+40>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+10|0];L[c+190|0]=e;c:{if(!e){break c}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+288|0;i=b+60|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break c}while(1){N[((d<<2)+c|0)+288>>2]=M[((d<<1)+b|0)+60>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+11|0];L[c+191|0]=e;d:{if(!e){break d}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+344|0;i=b+88|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break d}while(1){N[((d<<2)+c|0)+344>>2]=M[((d<<1)+b|0)+88>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}N[c+384>>2]=N[b+108>>2];N[c+388>>2]=N[b+112>>2];N[c+392>>2]=N[b+116>>2];N[c+396>>2]=P[b+120>>1];N[c+400>>2]=P[b+122>>1];e=O[b+124|0];L[c+404|0]=e;e:{if(!e){break e}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+408|0;i=b+128|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break e}while(1){N[((d<<2)+c|0)+408>>2]=M[((d<<1)+b|0)+128>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+125|0];L[c+405|0]=e;f:{if(!e){break f}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+460|0;i=b+154|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break f}while(1){N[((d<<2)+c|0)+460>>2]=M[((d<<1)+b|0)+154>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}L[c+512|0]=O[b+126|0];N[c+520>>2]=N[b+4>>2];N[c+524>>2]=N[b+184>>2];b=N[b+180>>2];N[c+552>>2]=c;N[c+528>>2]=b;g:{a=N[a+128>>2];d=N[a+60>>2];if((d|0)==-1){break g}N[c+648>>2]=d;if(!d){break g}while(1){b=d<<13^d;b=b>>>17^b;d=b<<5^b;if((d|0)<0){continue}break}N[a+60>>2]=d;return}a=k+4^(k+8^k+12);a=a>>>20^a>>>10^a;N[c+648>>2]=a?a:29572}function Yo(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0;g=La-32|0;La=g;Dd(a,g+20|0);f=N[g+28>>2];a:{if(!f){l=3;break a}j=N[g+20>>2];N[g+16>>2]=j;e=7;k=N[g+24>>2];i=N[b+8>>2];b:{if((i|0)==7){l=N[a+8>>2];i=k-1|0;N[a+8>>2]=i;o=1;m=N[a>>2];j=j+1|0;N[a>>2]=j;Dd(a,g);N[a+8>>2]=l;N[a>>2]=m;l=3;m=0;if(N[g+8>>2]!=3){break b}if(!d){break a}N[g+16>>2]=j;e=8;k=i;m=1;break b}l=3;if((f|0)!=3){e=1}else{if(!d){break a}m=1;N[g+16>>2]=j+1;k=k-1|0;e=d}o=e;e=i}p=d<<4;q=T(d,3);r=d<<1;s=e-1|0;t=f-2|0;n=d<<2;u=(n|0)>536870911;c:{while(1){e=N[(m<<2)+c>>2];i=N[b+16>>2];Tb(g+16|0,k);j=e+i|0;d:{e:{f:{g:{h:{i:{switch(s|0){case 0:f=N[g+16>>2];i=f;j:{if(O[f|0]!=116|f+3>>>0>=k>>>0|(O[f+1|0]!=114|O[f+2|0]!=117)){break j}if(O[i+3|0]!=101){break j}e=1;N[g+16>>2]=f+5;break h}e=0;k:{if(O[f|0]!=102|f+4>>>0>=k>>>0|(O[f+1|0]!=97|O[f+2|0]!=108)){break k}if(O[i+3|0]!=115){break k}f=(O[f+4|0]==101?6:0)+f|0}N[g+16>>2]=f;break h;case 2:e=Qc(g+16|0,k,0);break h;case 3:e=Qc(g+16|0,k,3);break h;case 7:break e;case 6:break f;case 4:case 5:break g;case 1:break i;default:break a}}h=N[g+16>>2];N[g>>2]=h;i=fd(g,k,10);e=0;f=N[g>>2];if((h|0)==(f|0)){break h}if(!(O[f|0]!=35|f>>>0>=k>>>0)){h=f+1|0;N[g>>2]=h;i=fd(g,k,i);f=N[g>>2];if((h|0)==(f|0)){break h}}N[g+16>>2]=f;e=i}l:{switch(O[b+20|0]-1|0){case 0:L[j|0]=e;break d;case 1:M[j>>1]=e;break d;default:break l}}N[j>>2]=e;break d}e=N[g+16>>2];if(e>>>0>=k>>>0){break d}h=k-e|0;f=N[a+16>>2];m:{n:{switch(t|0){case 2:i=e+1|0;N[g+16>>2]=i;e=h-1|0;break m;case 0:break n;default:break a}}i=e+1|0;N[g+16>>2]=i;e=h-2|0}h=N[j>>2];if(h){Qa[N[f+8>>2]](f,h);N[j>>2]=0}h=e+1|0;o:{if(e>>>0<=2147483646){f=Qa[N[f+4>>2]](f,h)|0;if(f){break o}l=64;break a}f=0;if(!h){break o}l=6;break a}F(f,i,e);L[e+f|0]=0;N[j>>2]=f;break d}if((Ee(g+16|0,k,4,g,0)|0)<4){break a}e=N[g>>2];N[j>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+4>>2];N[j+4>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+8>>2];N[j+8>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+12>>2];N[j+12>>2]=((e>>31)+e|0)+32768&-65536;break d}if((n|0)<0){l=6;break a}i=N[a+16>>2];p:{if(!n){e=0;break p}if(u){l=10;break a}e=Qa[N[i+4>>2]](i,p)|0;if(!(!e|(n|0)<=0)){C(e,0,p);break p}if(e){break p}l=!e<<6;break a}f=Ee(g+16|0,k,d,e,0);if((f|0)<0|d>>>0>f>>>0){break c}f=g+16|0;Tb(f,k);f=Ee(f,k,d,e+n|0,0);if((f|0)<0|d>>>0>f>>>0){break c}f=g+16|0;Tb(f,k);f=Ee(f,k,d,(r<<2)+e|0,0);if((f|0)<0|d>>>0>f>>>0){break c}f=g+16|0;Tb(f,k);f=Ee(f,k,d,(q<<2)+e|0,0);if((f|0)<0|d>>>0>f>>>0){break c}Tb(g+16|0,k);f=0;q:{if(d){while(1){h=f<<2;j=N[h+c>>2];h=N[e+h>>2];N[j>>2]=((h>>31)+h|0)+32768&-65536;h=N[(d+f<<2)+e>>2];N[j+4>>2]=((h>>31)+h|0)+32768&-65536;h=N[(f+r<<2)+e>>2];N[j+8>>2]=((h>>31)+h|0)+32768&-65536;h=j;j=N[(f+q<<2)+e>>2];N[h+12>>2]=((j>>31)+j|0)+32768&-65536;f=f+1|0;if((f|0)!=(d|0)){continue}break q}}if(!e){break d}}Qa[N[i+8>>2]](i,e)}m=m+1|0;o=o-1|0;if(o){continue}break}l=0;break a}if(!e){break a}Qa[N[i+8>>2]](i,e)}La=g+32|0;return l|0}function pc(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=La-112|0;La=j;k=i&2147483647;a:{b:{l=e&2147483647;m=!(b|c);if(!(d|l?l-2147418112>>>0<2147549184:m)){o=k-2147418112|0;if(!h&(o|0)==-2147418112?f|g:(o|0)==-2147418112&(h|0)!=0|o>>>0>2147549184){break b}}if(!(!d&(l|0)==2147418112?m:l>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!h&(k|0)==2147418112?!(f|g):k>>>0<2147418112)){i=i|32768;break a}if(!(b|d|(l^2147418112|c))){n=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:n;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|h|(k^2147418112|g))){break a}if(!(b|d|(c|l))){if(f|h|(g|k)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|h|(g|k)){break b}f=b;g=c;h=d;i=e;break a}n=(k|0)==(l|0);r=n&(d|0)==(h|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:n&d>>>0>>0|k>>>0>l>>>0;m=r;l=m?f:b;o=m?g:c;n=m?i:e;s=n;m=m?h:d;q=n&65535;d=r?d:h;e=r?e:i;t=e;n=e>>>16&32767;p=s>>>16&32767;if(!p){e=!(m|q);i=e;k=e?l:m;e=e<<6;i=W(i?o:q);e=e+((i|0)==32?W(k)+32|0:i)|0;hc(j+96|0,l,o,m,q,e-15|0);m=N[j+104>>2];q=N[j+108>>2];o=N[j+100>>2];p=16-e|0;l=N[j+96>>2]}f=r?b:f;g=r?c:g;h=d;i=t&65535;if(!n){b=!(h|i);e=b;k=b?f:h;b=b<<6;e=W(e?g:i);b=b+((e|0)==32?W(k)+32|0:e)|0;hc(j+80|0,f,g,h,i,b-15|0);n=16-b|0;h=N[j+88>>2];i=N[j+92>>2];g=N[j+84>>2];f=N[j+80>>2]}c=i<<3|h>>>29;b=h<<3|g>>>29;c=c|524288;h=m<<3|o>>>29;i=q<<3|m>>>29;r=s^t;e=g<<3|f>>>29;d=f<<3;c:{if((n|0)==(p|0)){break c}f=p-n|0;if(f>>>0>127){b=0;c=0;e=0;d=1;break c}hc(j- -64|0,d,e,b,c,128-f|0);Qd(j+48|0,d,e,b,c,f);b=N[j+56>>2];c=N[j+60>>2];e=N[j+52>>2];d=N[j+48>>2]|(N[j+64>>2]|N[j+72>>2]|(N[j+68>>2]|N[j+76>>2]))!=0}m=d;k=e;n=h;q=i|524288;e=o<<3|l>>>29;o=l<<3;l=e;d:{if((r|0)<0){f=0;g=0;h=0;i=0;if(!(m^o|b^n|(k^l|c^q))){break a}d=o-m|0;e=l-((m>>>0>o>>>0)+k|0)|0;f=n-b|0;g=(k|0)==(l|0)&m>>>0>o>>>0|k>>>0>l>>>0;h=f-g|0;b=(q-((b>>>0>n>>>0)+c|0)|0)-(f>>>0>>0)|0;i=b;if(b>>>0>524287){break d}b=!(h|i);f=b;g=b?d:h;b=b<<6;f=W(f?e:i);b=b+((f|0)==32?W(g)+32|0:f)|0;b=b-12|0;hc(j+32|0,d,e,h,i,b);p=p-b|0;h=N[j+40>>2];i=N[j+44>>2];d=N[j+32>>2];e=N[j+36>>2];break d}e=k+l|0;d=m+o|0;e=d>>>0>>0?e+1|0:e;f=(k|0)==(e|0)&d>>>0>>0|e>>>0>>0;k=c+q|0;b=b+n|0;k=b>>>0>>0?k+1|0:k;h=b+f|0;i=h>>>0>>0?k+1|0:k;if(!(i&1048576)){break d}d=m&1|((e&1)<<31|d>>>1);e=h<<31|e>>>1;p=p+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}c=0;l=s&-2147483648;if((p|0)>=32767){h=c;i=l|2147418112;f=0;g=0;break a}n=0;e:{if((p|0)>0){n=p;break e}hc(j+16|0,d,e,h,i,p+127|0);Qd(j,d,e,h,i,1-p|0);d=N[j>>2]|(N[j+16>>2]|N[j+24>>2]|(N[j+20>>2]|N[j+28>>2]))!=0;e=N[j+4>>2];h=N[j+8>>2];i=N[j+12>>2]}o=d&7;d=(e&7)<<29|d>>>3;f=(o>>>0>4)+d|0;b=h<<29|e>>>3;g=d>>>0>f>>>0?b+1|0:b;d=(b|0)==(g|0)&d>>>0>f>>>0|b>>>0>g>>>0;b=c|((i&7)<<29|h>>>3);h=d+b|0;i=l|(i>>>3&65535|n<<16);i=b>>>0>h>>>0?i+1|0:i;f:{if((o|0)==4){b=0;k=g+b|0;d=f;c=f&1;f=f+c|0;g=d>>>0>f>>>0?k+1|0:k;b=(b|0)==(g|0)&c>>>0>f>>>0|b>>>0>g>>>0;h=b+h|0;i=b>>>0>h>>>0?i+1|0:i;break f}if(!o){break a}}}N[a>>2]=f;N[a+4>>2]=g;N[a+8>>2]=h;N[a+12>>2]=i;La=j+112|0}function Ec(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;N[a>>2]=0;N[a+88>>2]=c;N[a+84>>2]=b;N[a+20>>2]=0;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=-1;N[a+28>>2]=0;N[a+60>>2]=0;N[a+64>>2]=0;N[a+52>>2]=0;N[a+56>>2]=-1;N[a+68>>2]=0;b=N[c+24>>2];N[a+100>>2]=0;N[a+96>>2]=d;N[a+92>>2]=b;e=N[b+140>>2];a:{if(e){break a}while(1){c=N[b+48>>2];if(!c){e=275552;break a}e=db(1,4);if(!e){e=275552;N[b+140>>2]=275552;break a}e=Of(e,c);if(!N[b+140>>2]){N[b+140>>2]=e;break a}ab(N[e>>2]);_a(e);e=N[b+140>>2];if(!e){continue}break}}b=275552;c=N[e>>2];c=c?c:275552;f=Q[c+16>>2]<4?275552:N[c+12>>2];N[a+104>>2]=f;k=O[f|0]|O[f+1|0]<<8;b:{if((k|0)!=256){break b}c=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65539){break b}c=O[f+14|0]|O[f+15|0]<<8|(O[f+16|0]<<16|O[f+17|0]<<24);if(!c){break b}b=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+f|0}N[a+108>>2]=b;c=0;l=N[a+84>>2];c:{if(!N[N[a+88>>2]+84>>2]|(l|0)!=1){break c}c=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(c){b=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+b|0}else{b=275552}b=O[b+2|0]|O[b+3|0]<<8;e=(b<<8|b>>>8)&65535;c=kb(e<<2);if(!b|!c){break c}b=e>>>0<=1?1:e;g=b&7;e=0;if(b>>>0>=8){h=b&65528;while(1){b=e<<2;N[b+c>>2]=1073741824;N[(b|4)+c>>2]=1073741824;N[(b|8)+c>>2]=1073741824;N[(b|12)+c>>2]=1073741824;N[(b|16)+c>>2]=1073741824;N[(b|20)+c>>2]=1073741824;N[(b|24)+c>>2]=1073741824;N[(b|28)+c>>2]=1073741824;e=e+8|0;if((h|0)!=(e|0)){continue}break}}if(!g){break c}while(1){N[(e<<2)+c>>2]=1073741824;e=e+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}N[a+116>>2]=0;N[a+120>>2]=0;N[a+112>>2]=c;N[a+124>>2]=0;h=N[d+68>>2];if(h){g=0;c=N[d+80>>2];b=c;e=0;if(h>>>0>=4){j=h&-4;i=0;while(1){e=1<<(N[b>>2]>>>4)|e|1<<(N[b+20>>2]>>>4)|1<<(N[b+40>>2]>>>4)|1<<(N[b+60>>2]>>>4);b=b+80|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}j=h&3;if(j){while(1){e=1<<(N[b>>2]>>>4)|e;b=b+20|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[a+116>>2]=e;g=0;b=c;e=0;if(h>>>0>=4){m=h&-4;i=0;while(1){e=1<>2]|e|1<>2]|1<>2]|1<>2];b=b+80|0;i=i+4|0;if((m|0)!=(i|0)){continue}break}}if(j){while(1){e=1<>2]|e;b=b+20|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[a+120>>2]=e;e=0;d:{if(h>>>0<4){b=0;break d}h=h&-4;b=0;g=0;while(1){b=1<<(N[c>>2]>>>9)|b|1<<(N[c+20>>2]>>>9)|1<<(N[c+40>>2]>>>9)|1<<(N[c+60>>2]>>>9);c=c+80|0;g=g+4|0;if((h|0)!=(g|0)){continue}break}}if(j){while(1){b=1<<(N[c>>2]>>>9)|b;c=c+20|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}N[a+124>>2]=b}b=N[d+40>>2];N[a+140>>2]=0;N[a+144>>2]=64;N[a+132>>2]=1;N[a+136>>2]=-1;N[a+128>>2]=b;b=O[f+4|0]|O[f+5|0]<<8;N[a+156>>2]=1;N[a+160>>2]=-1;L[a+149|0]=1;L[a+150|0]=1;L[a+151|0]=0;L[a+152|0]=0;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;L[a+20|0]=(l|0)==1;N[a+72>>2]=0;N[a+48>>2]=a;L[a+21|0]=1;L[a+22|0]=0;N[a+12>>2]=0;N[a+16>>2]=1;c=a- -64|0;N[c>>2]=0;N[c+4>>2]=0;M[a+60>>1]=257;N[a+52>>2]=0;N[a+56>>2]=-1;L[a+62|0]=0;L[a+148|0]=(k|0)==256&(b|0)!=0;return a}function Dk(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,o=0,p=0;e=N[b+4>>2];if(e>>>0>a>>>0){return 0}f=N[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}j=N[b+12>>2];g=j-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){return 0}g=O[a|0]|O[a+1|0]<<8;a:{if(!g){break a}b:{l=((g<<8|g>>>8)&65535)+c|0;if(e>>>0>l>>>0|f>>>0>>0|f-l>>>0<2){break b}c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}g=O[l|0]|O[l+1|0]<<8;if(!g){break a}d=l+2|0;if(d>>>0>f>>>0){break b}k=f-d|0;f=(g<<8|g>>>8)&65535;d=T(f,6);if(k>>>0>>0){break b}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break b}o=f>>>0<=1?1:f;while(1){g=N[b+4>>2];e=T(n,6)+l|0;f=e+2|0;if(g>>>0>f>>>0){break b}c=N[b+8>>2];if(c>>>0>>0|c-f>>>0<6){break b}d=N[b+12>>2];f=d-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}j=e+6|0;if(c>>>0>>0|c-j>>>0<2){break b}f=d-8|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[j|0]|O[j+1|0]<<8;c:{if(!f){break c}d:{e:{f=((f<<8|f>>>8)&65535)+l|0;if(f>>>0>>0|c>>>0>>0|c-f>>>0<2){break e}e=d-10|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=O[f|0]|O[f+1|0]<<8;f:{if(!e){break f}e=f+((e<<8|e>>>8)&65535)|0;g:{if(e>>>0>>0|c>>>0>>0|c-e>>>0<6){break g}i=d-16|0;N[b+12>>2]=i;if((i|0)<=0){break g}i=e+4|0;if(i>>>0>c>>>0|c-i>>>0<2){break g}d=d-18|0;N[b+12>>2]=d;if((d|0)<=0){break g}i=O[i|0]|O[i+1|0]<<8;if(!i){break f}e=e+6|0;if(e>>>0>c>>>0){break g}k=c-e|0;c=((i<<8|i>>>8)&65535)<<1;if(k>>>0>>0){break g}c=d-c|0;N[b+12>>2]=c;if((c|0)>0){break f}}c=N[b+28>>2];if(c>>>0>31){break b}d=c+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[f|0]=0;L[f+1|0]=0;g=N[b+4>>2]}i=f+2|0;if(i>>>0>>0){break e}c=N[b+8>>2];if(c>>>0>>0|c-i>>>0<2){break e}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break e}g=O[i|0]|O[i+1|0]<<8;if(!g){break c}e=f+4|0;if(e>>>0>c>>>0){break e}k=c-e|0;c=(g<<8|g>>>8)&65535;g=T(c,6);if(k>>>0>>0){break e}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break e}p=c>>>0<=1?1:c;g=0;while(1){d=N[b+4>>2];h=i+T(g,6)|0;e=h+2|0;if(d>>>0>e>>>0){break e}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<6){break e}m=N[b+12>>2];e=m-6|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=h+6|0;if(e>>>0>>0|c>>>0>>0|c-e>>>0<2){break e}h=m-8|0;N[b+12>>2]=h;if((h|0)<=0){break e}h=O[e|0]|O[e+1|0]<<8;h:{if(!h){break h}k=d;d=f+((h<<8|h>>>8)&65535)|0;i:{if(k>>>0>d>>>0|c>>>0>>0|c-d>>>0<6){break i}h=m-14|0;N[b+12>>2]=h;if((h|0)<=0){break i}h=d+4|0;if(h>>>0>c>>>0|c-h>>>0<2){break i}m=m-16|0;N[b+12>>2]=m;if((m|0)<=0){break i}h=O[h|0]|O[h+1|0]<<8;if(!h){break h}d=d+6|0;if(d>>>0>c>>>0){break i}k=c-d|0;c=((h<<8|h>>>8)&65535)<<1;if(k>>>0>>0){break i}c=m-c|0;N[b+12>>2]=c;if((c|0)>0){break h}}c=N[b+28>>2];if(c>>>0>31){break b}d=c+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[e|0]=0;L[e+1|0]=0}g=g+1|0;if((p|0)!=(g|0)){continue}break}break c}d=N[b+28>>2]}if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[j|0]=0;L[j+1|0]=0}d=1;n=n+1|0;if((o|0)!=(n|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;d=1}return d}function _a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=N[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=N[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=b>>>3|0;b=N[d+12>>2];c=N[d+8>>2];if((b|0)==(c|0)){i=589268,j=N[147317]&ZE(-2,e),N[i>>2]=j;break b}N[c+12>>2]=b;N[b+8>>2]=c;break b}g=N[d+24>>2];b=N[d+12>>2];if((d|0)!=(b|0)){c=N[d+8>>2];N[c+12>>2]=b;N[b+8>>2]=c;break c}e=d+20|0;c=N[e>>2];if(!c){c=N[d+16>>2];if(!c){break d}e=d+16|0}while(1){h=e;b=c;e=b+20|0;c=N[e>>2];if(c){continue}e=b+16|0;c=N[b+16>>2];if(c){continue}break}N[h>>2]=0;break c}b=N[f+4>>2];if((b&3)!=3){break b}N[147319]=a;N[f+4>>2]=b&-2;N[d+4>>2]=a|1;N[f>>2]=a;return}b=0}if(!g){break b}c=N[d+28>>2];e=(c<<2)+589572|0;e:{if(N[e>>2]==(d|0)){N[e>>2]=b;if(b){break e}i=589272,j=N[147318]&ZE(-2,c),N[i>>2]=j;break b}N[g+(N[g+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}N[b+24>>2]=g;c=N[d+16>>2];if(c){N[b+16>>2]=c;N[c+24>>2]=b}c=N[d+20>>2];if(!c){break b}N[b+20>>2]=c;N[c+24>>2]=b}if(d>>>0>=f>>>0){break a}b=N[f+4>>2];if(!(b&1)){break a}f:{g:{h:{i:{if(!(b&2)){if(N[147323]==(f|0)){N[147323]=d;a=N[147320]+a|0;N[147320]=a;N[d+4>>2]=a|1;if(N[147322]!=(d|0)){break a}N[147319]=0;N[147322]=0;return}if(N[147322]==(f|0)){N[147322]=d;a=N[147319]+a|0;N[147319]=a;N[d+4>>2]=a|1;N[a+d>>2]=a;return}a=(b&-8)+a|0;if(b>>>0<=255){e=b>>>3|0;b=N[f+12>>2];c=N[f+8>>2];if((b|0)==(c|0)){i=589268,j=N[147317]&ZE(-2,e),N[i>>2]=j;break g}N[c+12>>2]=b;N[b+8>>2]=c;break g}g=N[f+24>>2];b=N[f+12>>2];if((f|0)!=(b|0)){c=N[f+8>>2];N[c+12>>2]=b;N[b+8>>2]=c;break h}e=f+20|0;c=N[e>>2];if(!c){c=N[f+16>>2];if(!c){break i}e=f+16|0}while(1){h=e;b=c;e=b+20|0;c=N[e>>2];if(c){continue}e=b+16|0;c=N[b+16>>2];if(c){continue}break}N[h>>2]=0;break h}N[f+4>>2]=b&-2;N[d+4>>2]=a|1;N[a+d>>2]=a;break f}b=0}if(!g){break g}c=N[f+28>>2];e=(c<<2)+589572|0;j:{if(N[e>>2]==(f|0)){N[e>>2]=b;if(b){break j}i=589272,j=N[147318]&ZE(-2,c),N[i>>2]=j;break g}N[g+(N[g+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}N[b+24>>2]=g;c=N[f+16>>2];if(c){N[b+16>>2]=c;N[c+24>>2]=b}c=N[f+20>>2];if(!c){break g}N[b+20>>2]=c;N[c+24>>2]=b}N[d+4>>2]=a|1;N[a+d>>2]=a;if(N[147322]!=(d|0)){break f}N[147319]=a;return}if(a>>>0<=255){b=(a&-8)+589308|0;c=N[147317];a=1<<(a>>>3);k:{if(!(c&a)){N[147317]=a|c;a=b;break k}a=N[b+8>>2]}N[b+8>>2]=d;N[a+12>>2]=d;N[d+12>>2]=b;N[d+8>>2]=a;return}c=31;if(a>>>0<=16777215){b=W(a>>>8|0);c=((a>>>38-b&1)-(b<<1)|0)+62|0}N[d+28>>2]=c;N[d+16>>2]=0;N[d+20>>2]=0;b=(c<<2)+589572|0;l:{m:{e=N[147318];h=1<>2]=d;N[d+24>>2]=b;break n}c=a<<((c|0)!=31?25-(c>>>1|0)|0:0);b=N[b>>2];while(1){e=b;if((N[b+4>>2]&-8)==(a|0)){break m}b=c>>>29|0;c=c<<1;h=e+(b&4)|0;b=N[h+16>>2];if(b){continue}break}N[h+16>>2]=d;N[d+24>>2]=e}N[d+12>>2]=d;N[d+8>>2]=d;break l}a=N[e+8>>2];N[a+12>>2]=d;N[e+8>>2]=d;N[d+24>>2]=0;N[d+12>>2]=e;N[d+8>>2]=a}a=N[147325]-1|0;N[147325]=a?a:-1}}function aC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Qa[N[a+4>>2]](a,2496)|0;if(!h){N[c>>2]=0;return 64}C(h,0,2496);N[h>>2]=a;N[h+212>>2]=P[b+120>>1];g=O[b+124|0];a:{if(!g){break a}a=h+224|0;d=b+128|0;e=g&7;if(e){while(1){N[a>>2]=M[d>>1];d=d+2|0;a=a+12|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}e=g&248}else{e=g}f=e;if(g>>>0<8){break a}while(1){N[a>>2]=M[d>>1];N[a+12>>2]=M[d+2>>1];N[a+24>>2]=M[d+4>>1];N[a+36>>2]=M[d+6>>1];N[a+48>>2]=M[d+8>>1];N[a+60>>2]=M[d+10>>1];N[a+72>>2]=M[d+12>>1];N[a+84>>2]=M[d+14>>1];d=d+16|0;a=a+96|0;f=f-8|0;if(f){continue}break}}f=1;N[h+208>>2]=g+1;N[h+8>>2]=P[b+122>>1];g=O[b+125|0];b:{if(!g){break b}a=h+20|0;d=b+154|0;i=g&7;if(i){e=0;while(1){N[a>>2]=M[d>>1];d=d+2|0;a=a+12|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}e=g&248}else{e=g}if(g>>>0<8){break b}while(1){N[a>>2]=M[d>>1];N[a+12>>2]=M[d+2>>1];N[a+24>>2]=M[d+4>>1];N[a+36>>2]=M[d+6>>1];N[a+48>>2]=M[d+8>>1];N[a+60>>2]=M[d+10>>1];N[a+72>>2]=M[d+12>>1];N[a+84>>2]=M[d+14>>1];d=d+16|0;a=a+96|0;e=e-8|0;if(e){continue}break}}N[h+4>>2]=g+1;a=0;d=h+412|0;e=b+12|0;g=b+40|0;jp(d,O[b+8|0],e,O[b+9|0],g,N[b+116>>2],0);i=b+60|0;l=b+88|0;jp(d,O[b+10|0],i,O[b+11|0],l,N[b+116>>2],1);d=O[b+8|0];c:{if(!d){break c}j=(d-1>>>1|0)+1|0;k=j&1;if(d>>>0>=3){m=j&2147483646;n=d-3&-4;j=0;while(1){d=a<<1;o=P[e+(d|6)>>1]-P[e+(d|4)>>1]<<16>>16;d=P[e+(d|2)>>1]-P[d+e>>1]<<16>>16;f=f<<16>>16;f=(d|0)>(f|0)?d:f;f=(f|0)<(o|0)?o:f;a=a+4|0;j=j+2|0;if((m|0)!=(j|0)){continue}break}a=n+4|0}if(!k){break c}a=a<<1;a=P[e+(a|2)>>1]-P[a+e>>1]<<16>>16;f=(a|0)>(f|0)?a:f}a=O[b+9|0];d:{if(!a){break d}e=(a-1>>>1|0)+1|0;j=e&1;if(a>>>0<3){a=0}else{k=e&2147483646;m=a-3&-4;e=0;a=0;while(1){d=e<<1;n=P[g+(d|6)>>1]-P[g+(d|4)>>1]<<16>>16;d=P[g+(d|2)>>1]-P[d+g>>1]<<16>>16;f=f<<16>>16;f=(d|0)>(f|0)?d:f;f=(f|0)<(n|0)?n:f;e=e+4|0;a=a+2|0;if((k|0)!=(a|0)){continue}break}a=m+4|0}if(!j){break d}a=a<<1;a=P[g+(a|2)>>1]-P[a+g>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=O[b+10|0];e:{if(!a){break e}e=(a-1>>>1|0)+1|0;g=e&1;if(a>>>0<3){a=0}else{j=e&2147483646;k=a-3&-4;d=0;e=0;while(1){a=d<<1;m=P[i+(a|6)>>1]-P[i+(a|4)>>1]<<16>>16;a=P[i+(a|2)>>1]-P[a+i>>1]<<16>>16;f=f<<16>>16;a=(a|0)>(f|0)?a:f;f=(a|0)<(m|0)?m:a;d=d+4|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}a=k+4|0}if(!g){break e}a=a<<1;a=P[i+(a|2)>>1]-P[a+i>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=O[b+11|0];f:{if(!a){break f}e=(a-1>>>1|0)+1|0;g=e&1;if(a>>>0<3){a=0}else{i=e&2147483646;j=a-3&-4;d=0;e=0;while(1){a=d<<1;k=P[(a|6)+l>>1]-P[(a|4)+l>>1]<<16>>16;a=P[(a|2)+l>>1]-P[a+l>>1]<<16>>16;f=f<<16>>16;a=(a|0)>(f|0)?a:f;f=(a|0)<(k|0)?k:a;d=d+4|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}a=j+4|0}if(!g){break f}a=a<<1;a=P[(a|2)+l>>1]-P[a+l>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=N[b+108>>2];e=fb(1e3,f&65535);N[h+2476>>2]=(a|0)<(e|0)?a:e;N[h+2480>>2]=N[b+112>>2];a=N[b+116>>2];N[h+404>>2]=0;N[h+408>>2]=0;N[h+200>>2]=0;N[h+204>>2]=0;N[h+2488>>2]=a;N[c>>2]=h;return 0}function Ti(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,o=0,p=0,q=0,r=0,s=0,t=0;a:{g=N[a+204>>2];f=g>>8;e=N[a+168>>2];n=c>>8;b:{if((f|0)>=(e|0)&(e|0)<=(n|0)){break b}k=N[a+164>>2];if((k|0)>(f|0)&(k|0)>(n|0)){break b}r=c&255;e=g&255;d=N[a+200>>2];if((f|0)==(n|0)){zg(a,f,d,e,b,r);break b}l=c-g|0;if((b|0)==(d|0)){g=N[a+176>>2];d=(l|0)>0;i=d<<8;e=i-e|0;N[g+4>>2]=e+N[g+4>>2];o=b<<1&510;N[g+8>>2]=N[g+8>>2]+T(o,e);m=b>>8;s=d?1:-1;j=s+f|0;e=j-k|0;c:{if(!(!((e|0)<0|(e|0)>=N[a+172>>2])&(m|0)>2])){d=N[a+192>>2];break c}g=N[a+188>>2]+(e<<2)|0;e=N[g>>2];h=N[e>>2];d=N[a+156>>2];f=(d|0)>(m|0)?d-1|0:m;if((h|0)<=(f|0)){while(1){d=e;if((f|0)==(h|0)){break c}e=N[d+12>>2];h=N[e>>2];if((f|0)>=(h|0)){continue}break}g=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=f;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[g>>2];N[g>>2]=d}N[a+176>>2]=d;if((j|0)!=(n|0)){g=(i<<1)-256|0;f=T(g,o);while(1){N[d+4>>2]=g+N[d+4>>2];N[d+8>>2]=f+N[d+8>>2];j=j+s|0;e=j-k|0;d:{if(!(!((e|0)<0|(e|0)>=N[a+172>>2])&(m|0)>2])){d=N[a+192>>2];break d}p=N[a+188>>2]+(e<<2)|0;e=N[p>>2];h=N[e>>2];d=N[a+156>>2];r=(d|0)>(m|0)?d-1|0:m;if((h|0)<=(r|0)){while(1){d=e;if((h|0)==(r|0)){break d}e=N[d+12>>2];h=N[e>>2];if((r|0)>=(h|0)){continue}break}p=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=r;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[p>>2];N[p>>2]=d}N[a+176>>2]=d;if((j|0)!=(n|0)){continue}break}}e=i+(c|-256)|0;N[d+4>>2]=e+N[d+4>>2];N[d+8>>2]=N[d+8>>2]+T(e,o);break b}o=b-d|0;p=1;k=d;m=e;k=d;e:{if((l|0)>0){t=256;e=256-e|0;break e}l=0-l|0;p=-1}d=T(e,o);e=(d|0)/(l|0)|0;s=d-T(e,l)|0;g=s>>31;q=(k+e|0)+g|0;zg(a,f,k,m,q,t);f:{g:{j=f+p|0;e=j-N[a+164>>2]|0;if(!((e|0)<0|(e|0)>=N[a+172>>2])){f=q>>8;if((f|0)>2]){break g}}d=N[a+192>>2];break f}i=N[a+188>>2]+(e<<2)|0;e=N[i>>2];h=N[e>>2];d=N[a+156>>2];f=(d|0)>(f|0)?d-1|0:f;if((h|0)<=(f|0)){while(1){d=e;if((f|0)==(h|0)){break f}e=N[d+12>>2];h=N[e>>2];if((f|0)>=(h|0)){continue}break}i=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=f;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[i>>2];N[i>>2]=d}N[a+176>>2]=d;h:{if((j|0)==(n|0)){m=256-t|0;break h}e=s+(g&l)|0;d=o<<8;g=(d|0)/(l|0)|0;f=d-T(g,l)|0;d=f>>31;o=(d&l)+f|0;s=d+g|0;m=256-t|0;while(1){d=q;g=e+o|0;f=(g|0)>=(l|0);q=f+(q+s|0)|0;zg(a,j,d,m,q,t);i:{j:{j=j+p|0;e=j-N[a+164>>2]|0;if(!((e|0)<0|(e|0)>=N[a+172>>2])){i=q>>8;if((i|0)>2]){break j}}d=N[a+192>>2];break i}k=N[a+188>>2]+(e<<2)|0;e=N[k>>2];h=N[e>>2];d=N[a+156>>2];i=(d|0)>(i|0)?d-1|0:i;if((h|0)<=(i|0)){while(1){d=e;if((i|0)==(h|0)){break i}e=N[d+12>>2];h=N[e>>2];if((i|0)>=(h|0)){continue}break}k=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=i;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[k>>2];N[k>>2]=d}e=g-(f?l:0)|0;N[a+176>>2]=d;if((j|0)!=(n|0)){continue}break}}zg(a,n,q,m,b,r)}N[a+204>>2]=c;N[a+200>>2]=b;return}pe(a,1);B()}function up(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;q=La-16|0;La=q;i=Yd(a,d);a:{if(i){break a}qf(a,b,c,d);w=N[a>>2];c=N[a+2748>>2];i=N[N[c>>2]+8>>2];b=T(d,1348)+a|0;n=b;N[b+56>>2]=0;s=b+44|0;f=N[s>>2];j=N[b+52>>2];g=N[(d?12:4)+a>>2];b=O[N[(i<<2)+288704>>2]+12|0];b:{if((d|0)==1){break b}b=0;if(d){break b}k=fb(64,N[a+12>>2]);b=0}x=fb(32,g);e=N[(c+T(d,9804)|0)+248>>2];c=e>>31;i=g>>31;h=(i^g)-i|0;t=h>>>8|0;c=(c^e)-c|0;c:{if(t+c>>>0<=8190){l=T(c,h)+32768>>>16|0;break c}i=c&65535;l=T(i,h>>>16|0)+T(h,c>>>16|0)+(T(i,h&65535)+32768>>>16)|0}c=l;i=0;m=0-c|0;c=e>>31|1;c=(((g|0)<0?0-c|0:c)|0)<0?m:l;l=fb((c|0)>=16?16:c,g);if((f|0)>0){o=T(f,44)+j|0;y=h&65535;z=h>>>16|0;A=T(k,3);r=(T(d,1348)+a|0)- -64|0;B=b&255;c=j;while(1){b=M[c+10>>1];d:{if((b|0)<(k|0)|M[c+4>>1]>(x|0)){break d}m=O[c+1|0];if((m|0)==4|(b<<1<(A|0)?N[c+24>>2]:0)){break d}e:{u=N[n+56>>2];f:{if((u|0)<=0){f=M[c+2>>1];break f}f=M[c+2>>1];C=N[r>>2];b=0;while(1){e=T(b,44)+C|0;v=f-M[e>>1]|0;p=v>>31;if(O[e+13|0]==(m|0)&(l|0)>((p^v)-p|0)){break e}b=b+1|0;if((u|0)!=(b|0)){continue}break}}b=xp(s,f,m<<24>>24,B,w,q+12|0);if(!b){b=N[q+12>>2];N[b>>2]=0;N[b+4>>2]=0;N[b+40>>2]=c;N[b+36>>2]=c;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;L[b+13|0]=O[c+1|0];f=M[c+2>>1];M[b>>1]=f;e=f>>31;e=(e^f)-e|0;g:{if(e+t>>>0<=8190){e=T(e,h)+32768>>>16|0;break g}e=T(e,z)+(T(e,y)+32768>>>16|0)|0}f=f>>31|1;f=(((g|0)<0?0-f|0:f)|0)<0?0-e|0:e;N[b+8>>2]=f;N[b+4>>2]=f;N[c+16>>2]=c;break d}i=b;break a}N[c+16>>2]=N[e+36>>2];N[N[e+40>>2]+16>>2]=c;N[e+40>>2]=c}c=c+44|0;if(o>>>0>c>>>0){continue}break}while(1){h:{if(O[j+1|0]!=4){break h}g=N[n+56>>2];if((g|0)<=0){break h}k=M[j+2>>1];f=N[r>>2];c=0;while(1){b=f+T(c,44)|0;e=k-M[b>>1]|0;h=e>>31;if((l|0)<=((e^h)-h|0)){c=c+1|0;if((g|0)!=(c|0)){continue}break h}break}N[j+16>>2]=N[b+36>>2];N[N[b+40>>2]+16>>2]=j;N[b+40>>2]=j}j=j+44|0;if(o>>>0>j>>>0){continue}break}}d=N[(T(d,1348)+a|0)- -64>>2];if(!d){break a}a=N[n+56>>2];if((a|0)<=0){break a}n=T(a,44)+d|0;b=d;while(1){a=N[b+36>>2];c=a;if(c){while(1){N[c+12>>2]=b;c=N[c+16>>2];if((a|0)!=(c|0)){continue}break}}b=b+44|0;if(n>>>0>b>>>0){continue}break}while(1){j=d+28|0;i=d+24|0;l=N[d+36>>2];c=l;k=0;e=0;while(1){o=L[c|0]&1;r=!o;h=N[c+24>>2];i:{j:{k:{l:{if(h){a=N[h+12>>2];g=(a|0)!=0&(a|0)!=(d|0);b=N[c+20>>2];if(b){break l}if(g){break k}break i}g=0;b=N[c+20>>2];if(!b){break i}}if(!(g|N[b+12>>2])){break i}f=0;a=i;if(!g){break j}}f=1;b=h;a=j}g=N[a>>2];m:{if(g){m=M[c+2>>1]-M[b+2>>1]|0;a=m>>31;p=M[d>>1]-M[g>>1]|0;h=p>>31;if((a^m)-a>>>0>=(h^p)-h>>>0){break m}}g=N[b+12>>2]}if(f){N[j>>2]=g;L[g+12|0]=O[g+12|0]|2;break i}N[i>>2]=g}k=k+o|0;e=e+r|0;c=N[c+16>>2];if((l|0)!=(c|0)){continue}break}L[d+12|0]=(k|0)!=0&e>>>0<=k>>>0;if(!(!N[d+28>>2]|!N[i>>2])){N[j>>2]=0}d=d+44|0;if(n>>>0>d>>>0){continue}break}i=0}La=q+16|0;return i}function Hg(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;a:{c=T(b,1348)+a|0;f=N[c+56>>2];if((f|0)<=0){break a}g=N[a+24>>2];if((g|0)<=0){break a}a=N[a+28>>2];v=a+T(g,40)|0;k=b?8:4;w=k|16;h=N[c- -64>>2];c=h+T(f,44)|0;x=c-40|0;y=c-36|0;z=c-44|0;if((b|0)==1){l=f>>>0<9;m=(f|0)==2;n=(f|0)==3;o=(f|0)==4;p=(f|0)==5;q=(f|0)==6;r=(f|0)==7;s=b?20:16;while(1){j=P[a>>1];if(!(j&w)){b=N[a+8>>2];t=a+s|0;e=M[a+14>>1];d=(b+N[h+8>>2]|0)-N[h+4>>2]|0;b:{if((e|0)<=M[h>>1]){break b}d=(b+N[y>>2]|0)-N[x>>2]|0;if((e|0)>=M[z>>1]){break b}b=0;c=f;c:{d:{if(!l){while(1){g=b+c>>1;d=T(g,44)+h|0;i=M[d>>1];e:{if((i|0)>(e|0)){c=g;break e}d=N[d+8>>2];if((e|0)<=(i|0)){break b}b=g+1|0}if((b|0)<(c|0)){continue}break d}}b=1;f:{if((f|0)==1){break f}c=(e|0)<=M[h+44>>1];b=c?1:f;if(c|m){break f}c=(e|0)<=M[h+88>>1];b=c?2:f;if(c|n){break f}c=(e|0)<=M[h+132>>1];b=c?3:f;if(c|o){break f}c=(e|0)<=M[h+176>>1];b=c?4:f;if(c|p){break f}c=(e|0)<=M[h+220>>1];b=c?5:f;if(c|q){break f}c=(e|0)<=M[h+264>>1];b=c?6:f;if(c|r){break f}b=(e|0)<=M[h+308>>1]?7:f}c=T(b,44)+h|0;if(P[c>>1]==(e&65535)){break c}}c=T(b,44)+h|0;d=c-44|0;g=d;b=N[d+16>>2];g:{if(b){g=N[c-36>>2];c=M[d>>1];break g}i=g;g=N[c-36>>2];u=N[c+8>>2]-g|0;b=M[c>>1];c=M[d>>1];b=fb(u,b-c|0);N[i+16>>2]=b}e=e-c|0;d=e>>31;d=(e^d)-d|0;c=b>>31;c=(c^b)-c|0;h:{if(d+(c>>>8|0)>>>0<=8190){d=T(c,d)+32768>>>16|0;break h}d=d&65535;d=T(d,c>>>16|0)+(T(d,c&65535)+32768>>>16|0)|0}c=d;i=0-c|0;c=e>>31|1;d=((((b|0)<0?0-c|0:c)|0)<0?i:d)+g|0;break b}d=N[c+8>>2]}N[t>>2]=d;M[a>>1]=j|k}a=a+40|0;if(v>>>0>a>>>0){continue}break}break a}l=f>>>0>8;m=(f|0)==2;n=(f|0)==3;o=(f|0)==4;p=(f|0)==5;q=(f|0)==6;r=(f|0)==7;s=b?20:16;while(1){j=P[a>>1];if(!(j&w)){b=N[a+4>>2];t=a+s|0;e=M[a+12>>1];g=(b+N[h+8>>2]|0)-N[h+4>>2]|0;i:{if((e|0)<=M[h>>1]){break i}g=(b+N[y>>2]|0)-N[x>>2]|0;if((e|0)>=M[z>>1]){break i}b=0;c=f;j:{k:{if(!l){b=1;l:{if((f|0)==1){break l}c=(e|0)<=M[h+44>>1];b=c?1:f;if(c|m){break l}c=(e|0)<=M[h+88>>1];b=c?2:f;if(c|n){break l}c=(e|0)<=M[h+132>>1];b=c?3:f;if(c|o){break l}c=(e|0)<=M[h+176>>1];b=c?4:f;if(c|p){break l}c=(e|0)<=M[h+220>>1];b=c?5:f;if(c|q){break l}c=(e|0)<=M[h+264>>1];b=c?6:f;if(c|r){break l}b=(e|0)<=M[h+308>>1]?7:f}c=T(b,44)+h|0;if(P[c>>1]!=(e&65535)){break k}g=N[c+8>>2];break i}while(1){g=b+c>>1;d=T(g,44)+h|0;i=M[d>>1];m:{if((i|0)>(e|0)){c=g;break m}if((e|0)<=(i|0)){break j}b=g+1|0}if((b|0)<(c|0)){continue}break}}c=T(b,44)+h|0;d=c-44|0;g=d;b=N[d+16>>2];n:{if(b){g=N[c-36>>2];c=M[d>>1];break n}i=g;g=N[c-36>>2];u=N[c+8>>2]-g|0;b=M[c>>1];c=M[d>>1];b=fb(u,b-c|0);N[i+16>>2]=b}e=e-c|0;d=e>>31;d=(e^d)-d|0;c=b>>31;c=(c^b)-c|0;o:{if(d+(c>>>8|0)>>>0<=8190){d=T(c,d)+32768>>>16|0;break o}d=d&65535;d=T(d,c>>>16|0)+(T(d,c&65535)+32768>>>16|0)|0}c=d;i=0-c|0;c=e>>31|1;g=((((b|0)<0?0-c|0:c)|0)<0?i:d)+g|0;break i}g=N[d+8>>2]}N[t>>2]=g;M[a>>1]=j|k}a=a+40|0;if(v>>>0>a>>>0){continue}break}}}function pq(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{if(!(!f|!b)){j=db(f,16);if(j){break g}j=0;break e}i=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=i;N[a+16>>2]=N[d+16>>2];i=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=i;N[a+24>>2]=f;N[a+20>>2]=b?0:e;break f}b=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=b;N[a+16>>2]=N[d+16>>2];b=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=b;N[a+24>>2]=f;N[a+20>>2]=j;b=f<<4;h:{if(!b){d=0;b=0;break h}F(j,e,b);d=N[j+12>>2];b=N[j+8>>2]}e=f&3;i:{if(f>>>0<4){break i}f=f-4|0;k=(f>>>2|0)+1|0;i=k&3;if(f>>>0>=12){k=k&2147483644;f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}if(!i){break i}f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(e){f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}N[j+12>>2]=d;N[j+8>>2]=b}N[a+36>>2]=0;N[a+40>>2]=0;Pj(c,1196643650,g,h,a+28|0);Pj(c,1196445523,g,h,a+32|0);d=N[147451];j:{if(d){break j}d=0;e=0;h=La-32|0;La=h;g=th(19154);k:{if(!g|!O[g|0]){break k}f=db(1,40);if(!f){break k}b=N[66421];e=N[66420];L[f+32|0]=e;L[f+33|0]=e>>>8;L[f+34|0]=e>>>16;L[f+35|0]=e>>>24;L[f+36|0]=b;L[f+37|0]=b>>>8;L[f+38|0]=b>>>16;L[f+39|0]=b>>>24;b=N[66419];e=N[66418];L[f+24|0]=e;L[f+25|0]=e>>>8;L[f+26|0]=e>>>16;L[f+27|0]=e>>>24;L[f+28|0]=b;L[f+29|0]=b>>>8;L[f+30|0]=b>>>16;L[f+31|0]=b>>>24;b=N[66417];e=N[66416];L[f+16|0]=e;L[f+17|0]=e>>>8;L[f+18|0]=e>>>16;L[f+19|0]=e>>>24;L[f+20|0]=b;L[f+21|0]=b>>>8;L[f+22|0]=b>>>16;L[f+23|0]=b>>>24;b=N[66415];e=N[66414];L[f+8|0]=e;L[f+9|0]=e>>>8;L[f+10|0]=e>>>16;L[f+11|0]=e>>>24;L[f+12|0]=b;L[f+13|0]=b>>>8;L[f+14|0]=b>>>16;L[f+15|0]=b>>>24;b=N[66413];e=N[66412];L[f|0]=e;L[f+1|0]=e>>>8;L[f+2|0]=e>>>16;L[f+3|0]=e>>>24;L[f+4|0]=b;L[f+5|0]=b>>>8;L[f+6|0]=b>>>16;L[f+7|0]=b>>>24;i=f+20|0;while(1){e=lc(g,44);if(!e){e=nb(g)+g|0}l:{if(d>>>0>1){break l}b=d;b=f+T(b,20)|0;k=e-g|0;l=d;m:{if((nb(b)|0)!=(k|0)){break m}l=d;if(bb(b,g,k)){break m}l=d+1|0}b=l;n:{if(d){break n}if((nb(i)|0)!=(k|0)){break n}if(bb(i,g,k)){break n}N[h+24>>2]=N[i+16>>2];d=N[i+12>>2];N[h+16>>2]=N[i+8>>2];N[h+20>>2]=d;d=N[i+4>>2];N[h+8>>2]=N[i>>2];N[h+12>>2]=d;d=f+T(b,20)|0;F(d+20|0,d,T(1-b|0,20));N[d+16>>2]=N[h+24>>2];g=N[h+20>>2];N[d+8>>2]=N[h+16>>2];N[d+12>>2]=g;g=N[h+12>>2];N[d>>2]=N[h+8>>2];N[d+4>>2]=g;d=b+1|0;break l}d=b}g=e+1|0;if(O[e|0]){continue}break}e=f}La=h+32|0;d=e;if(!d){d=265648}b=N[147451];if(!b){N[147451]=d;break j}if(!(!d|(d|0)==265648)){_a(d)}d=b}b=N[d+16>>2];o:{if((b|0)==290){if(N[c+40>>2]){break a}if(!N[c+36>>2]){break o}break b}if((b|0)!=291){break o}if(N[c+44>>2]){break c}if(N[c+36>>2]){break d}}b=N[d+36>>2];if((b|0)!=290){if((b|0)!=291){break e}if(N[c+44>>2]){break c}if(N[c+36>>2]){break d}break e}if(N[c+40>>2]){break a}if(N[c+36>>2]){break b}}_a(j);return 0}N[c+44>>2]=1}N[a+40>>2]=13816;N[a+36>>2]=291;return 1}N[c+40>>2]=1}N[a+40>>2]=8913;N[a+36>>2]=290;return 1}function Vb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=N[a>>2];if(!b){i=a-96|0;while(1){d=N[i>>2];if(!d){return 275552}g=db(1,12);if(!g){N[a>>2]=275552;return 275552}c=La-48|0;La=c;N[g>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+32>>2]=0;b=N[d+32>>2];if((b|0)==-1){b=sb(d+56|0);b=O[b+4|0]|O[b+5|0]<<8;b=(b<<8|b>>>8)&65535;N[d+32>>2]=b}L[c+44|0]=1;N[c+40>>2]=b;b=N[d+12>>2];a:{if(b){d=Qa[b|0](d,1196643650,N[d+16>>2])|0;if(d){break a}}d=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{b=N[d>>2];if(b){if((b|0)<=0){break j}N[d>>2]=b+1}L[c+28|0]=0;N[c+36>>2]=d;b=N[d+12>>2];N[c+8>>2]=b;f=N[d+16>>2];N[c+12>>2]=f+b;if((f|0)<0){break i}if(f>>>0>67108863){h=1073741819}else{e=f<<6;e=e>>>0<=16384?16384:e;h=(e>>>0>=1073741823?1073741823:e)-4|0}N[c+24>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;e=d;if(!b){break c}if(f>>>0<4){break g}N[c+16>>2]=h;if((O[b|0]|O[b+1|0]<<8)!=256){break h}if(Vg(b,c+4|0)){break h}if(O[c+28|0]|!N[c+32>>2]){break g}if(!zb(d)){break g}while(1){L[c+28|0]=1;e=N[c+36>>2];b=N[e+12>>2];N[c+8>>2]=b;f=N[e+16>>2];N[c+12>>2]=f+b;if((f|0)<0){break i}if(f>>>0>67108863){h=1073741823}else{h=f<<6;h=h>>>0<=16384?16384:h;h=h>>>0>=1073741823?1073741823:h}N[c+24>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;if(!b){break c}if(f>>>0<4){break g}N[c+16>>2]=h-4;if((O[b|0]|O[b+1|0]<<8)!=256){break h}if(Vg(b,c+4|0)){break h}if(O[c+28|0]|!N[c+32>>2]){break g}b=zb(d);N[c+8>>2]=b;N[c+12>>2]=b+N[d+16>>2];if(b){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[c+32>>2]){break f}N[c+32>>2]=0;if(Q[c+8>>2]>b>>>0){break g}e=N[c+12>>2];if(e>>>0>>0|e-b>>>0<4){break g}e=N[c+16>>2]-4|0;N[c+16>>2]=e;if((e|0)<=0){break g}if((O[b|0]|O[b+1|0]<<8)!=256){break f}b=Vg(b,c+4|0);if(N[c+32>>2]){break g}ab(N[c+36>>2]);N[c+36>>2]=0;if(b){break e}break d}ab(N[c+36>>2]);break d}ab(N[c+36>>2]);N[c+36>>2]=0}if(!N[d+4>>2]){break b}N[d+4>>2]=0;break b}ab(d);d=275552;break b}ab(e)}N[g>>2]=d;b=0;e=Q[d+16>>2]<4?275552:N[d+12>>2];if((O[e|0]|O[e+1|0]<<8)==256){b=O[e+8|0]|O[e+9|0]<<8;if(b){b=e+((b<<8|b>>>8)&65535)|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535}N[g+4>>2]=b;e=db(b,28);N[g+8>>2]=e;if(!e){N[g+4>>2]=0;ab(d);N[g>>2]=275552;b=N[g+4>>2]}if(b){d=0;while(1){b=275552;j=N[g+8>>2]+T(d,28)|0;e=N[g>>2];e=e?e:275552;f=Q[e+16>>2]<4?275552:N[e+12>>2];k:{if((O[f|0]|O[f+1|0]<<8)!=256){break k}e=275552;h=O[f+8|0]|O[f+9|0]<<8;if(h){e=f+((h<<8|h>>>8)&65535)|0}f=O[e|0]|O[e+1|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=d>>>0){break k}f=(d<<1)+e|0;f=O[f+2|0]|O[f+3|0]<<8;if(!f){break k}b=((f<<8|f>>>8)&65535)+e|0}sk(j,b);d=d+1|0;if(d>>>0>2]){continue}break}}La=c+48|0;if(!N[a>>2]){N[a>>2]=g;return g}if(N[g+4>>2]){b=0;while(1){d=N[g+8>>2]+T(b,28)|0;if(N[d+16>>2]){N[d+16>>2]=0}_a(N[d+20>>2]);N[d+16>>2]=0;N[d+20>>2]=0;N[d+12>>2]=0;b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[g+8>>2]);ab(N[g>>2]);_a(g);b=N[a>>2];if(!b){continue}break}}return b}function Lq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=La-640|0;La=j;h=N[b+80>>2];a:{b:{c:{a=c;if(d>>>0<=a>>>0){break c}while(1){e=P[(T(a,20)+h|0)+16>>1];if(1<>>0>=56320:0){break c}a=a+1|0;if((d|0)!=(a|0)){continue}break}break b}if((a|0)==(d|0)){break b}i=T(a,20)+h|0;e=P[i+16>>1];d:{if(e>>>0>56575&(1<>>0>=d>>>0){e=a;break d}e=a;e:{while(1){f=T(e,20)+h|0;g=P[f+16>>1];if((g&65280)!=56320|!(1<>2];switch(f-2250|0){case 0:case 1:case 3:case 4:case 5:case 9:case 41:break f;case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break e;default:break g}}g=f-1756|0;if(1<>>0<=12:0){break f}f=f-1620|0;if(f>>>0>4|!(1<>>0>=33){break a}if(e-c>>>0>=2){Ib(b,c,e)}f=i;i=T(g,20);F(j,f,i);f=(c-a|0)+e|0;k=T(c,20)+h|0;F(T(f,20)+h|0,k,T(a-c|0,20));F(k,j,i);if(c>>>0>=f>>>0){break d}if(g&1){g=T(c,20)+h|0;i=P[g+16>>1];if(1<>1]=i&255|6400}c=c+1|0}if((a+1|0)!=(e|0)){while(1){a=T(c,20)+h|0;g=P[a+16>>1];if(1<>1]=g&255|6400}g=P[a+36>>1];if(1<>1]=g&255|6400}c=c+2|0;if((f|0)!=(c|0)){continue}break}}c=f}h:{if(d>>>0<=e>>>0){break h}while(1){a=P[(T(e,20)+h|0)+16>>1];if(1<>>0>=58880:0){break h}e=e+1|0;if((e|0)!=(d|0)){continue}break}break b}if((d|0)==(e|0)){break b}g=T(e,20)+h|0;a=P[g+16>>1];if(a>>>0>59135&(1<>>0<=e>>>0){break b}a=e;i:{while(1){f=T(a,20)+h|0;i=P[f+16>>1];if((i&65280)!=58880|!(1<>2];switch(f-2250|0){case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break i;case 0:case 1:case 3:case 4:case 5:case 9:case 41:break j;default:break k}}i=f-1756|0;if(1<>>0<=12:0){break j}f=f-1620|0;if(f>>>0>4|!(1<>>0>32){break a}if(a-c>>>0>=2){Ib(b,c,a)}f=T(d,20);F(j,g,f);b=(c-e|0)+a|0;g=T(c,20)+h|0;F(T(b,20)+h|0,g,T(e-c|0,20));F(g,j,f);if(b>>>0<=c>>>0){break b}if(d&1){d=T(c,20)+h|0;f=P[d+16>>1];if(1<>1]=f&255|6656}c=c+1|0}if((e+1|0)==(a|0)){break b}while(1){a=T(c,20)+h|0;d=P[a+16>>1];if(1<>1]=d&255|6656}d=P[a+36>>1];if(1<>1]=d&255|6656}c=c+2|0;if((b|0)!=(c|0)){continue}break}}La=j+640|0;return}ba(22913,17885,706,17761);B()}function yu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=N[b>>2];if(!g){return 35}f=6;a:{if(Q[g+16>>2]<=c>>>0){break a}h=N[g+104>>2];k=N[g+292>>2];b=k+(c<<4)|0;n=M[b+8>>1];i=M[b+6>>1];l=n+i|0;N[a+76>>2]=l;j=M[b>>1];b=M[b+2>>1];L[a+94|0]=1;M[a+92>>1]=1;e=b-j|0;N[a+80>>2]=e;f=3;b:{c:{switch((1<<(N[g+312>>2]&3))-1|0){case 0:b=e+7>>>3|0;break b;case 1:b=e+15>>>3&536870910;break b;case 3:b=e+31>>>3&536870908;break b;case 7:break c;default:break a}}b=e+63>>>3&536870904}N[a+104>>2]=i;N[a+100>>2]=j;N[a+72>>2]=1651078259;N[a+84>>2]=b;o=M[((c<<4)+k|0)+4>>1];m=i<<6;N[a+36>>2]=m;p=j<<6;N[a+32>>2]=p;j=l<<6;N[a+28>>2]=j;N[a+24>>2]=e<<6;N[a+40>>2]=o<<6;f=0;i=(i|0)<0?(j|0)>(m|0)?j:m:n<<6;e=N[g+208>>2]+N[g+204>>2]|0;d:{if(e){e=e<<6;break d}e=(T(i,12)|0)/10|0}N[a+52>>2]=e;N[a+48>>2]=(e-i|0)/2;N[a+44>>2]=p-(o<<5);if(d&4194304){break a}d=T(b,l);f=N[N[a+4>>2]+100>>2];b=N[a+156>>2];e=N[b+4>>2];e:{if(e&1){b=N[a+88>>2];if(b){Qa[N[f+8>>2]](f,b)}N[a+88>>2]=0;break e}N[b+4>>2]=e|1}b=0;f:{g:{h:{if((d|0)<=0){f=6;if(d){break h}break f}b=Qa[N[f+4>>2]](f,d)|0;if(b){break g}f=64}N[a+88>>2]=0;return f|0}C(b,0,d)}N[a+88>>2]=b;c=N[((c<<4)+k|0)+12>>2];e=N[h+20>>2];i:{if(e){f=85;if(Qa[e|0](h,c,0,0)|0){break a}b=N[a+88>>2];break i}f=85;if(c>>>0>Q[h+4>>2]){break a}}N[h+8>>2]=c;f=Zb(h,b,d);if(f){break a}c=N[g+312>>2];if(!(!d|c&8)){h=d-1|0;c=N[a+88>>2];b=d&3;if(b){f=0;while(1){e=O[c|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;L[c|0]=e>>>1&85|(e&85)<<1;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=d&-4}else{f=d}if(h>>>0>=3){while(1){b=O[c|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c|0]=b>>>1&85|(b&85)<<1;b=O[c+1|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+1|0]=b>>>1&85|(b&85)<<1;b=O[c+2|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+2|0]=b>>>1&85|(b&85)<<1;b=O[c+3|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+3|0]=b>>>1&85|(b&85)<<1;c=c+4|0;f=f-4|0;if(f){continue}break}}c=N[g+312>>2]}f=0;if(!((c>>>2^c>>>3)&1)){break a}j:{switch((1<<(c>>>4&3))-2|0){case 0:if(d>>>0<2){break a}a=N[a+88>>2];g=d-2|0;c=(g>>>1|0)+1&3;if(c){h=c<<1;b=0;while(1){e=O[a+1|0];L[a+1|0]=O[a|0];L[a|0]=e;a=a+2|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}d=d-h|0}if(g>>>0<6){break a}while(1){b=O[a+1|0];L[a+1|0]=O[a|0];L[a|0]=b;b=O[a+2|0];L[a+2|0]=O[a+3|0];L[a+3|0]=b;b=O[a+4|0];L[a+4|0]=O[a+5|0];L[a+5|0]=b;b=O[a+6|0];L[a+6|0]=O[a+7|0];L[a+7|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>1){continue}break};break a;case 2:break j;default:break a}}if(d>>>0<4){break a}a=N[a+88>>2];b=d-4|0;if(!(b&4)){c=O[a+3|0];L[a+3|0]=O[a|0];L[a|0]=c;c=O[a+1|0];L[a+1|0]=O[a+2|0];L[a+2|0]=c;d=b;a=a+4|0}if(b>>>0<4){break a}while(1){b=O[a+3|0];L[a+3|0]=O[a|0];L[a|0]=b;b=O[a+1|0];L[a+1|0]=O[a+2|0];L[a+2|0]=b;b=O[a+4|0];L[a+4|0]=O[a+7|0];L[a+7|0]=b;b=O[a+5|0];L[a+5|0]=O[a+6|0];L[a+6|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>3){continue}break}}return f|0}function PE(a,b,c){a=a|0;b=+b;c=c|0;var 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,t=0;f=La-144|0;La=f;N[a+672>>2]=0;N[a+676>>2]=0;g=a+668|0;j=N[a+384>>2];i=N[a+660>>2];b=b*1e3;a:{if(V(b)<2147483648){e=~~b;break a}e=-2147483648}j=No(j,i,e,e>>31,g);b:{if(!j|!(N[g>>2]|c)){break b}if(O[a+388|0]){b=+ma();c:{if(V(b)<2147483648){c=~~b;break c}c=-2147483648}N[a+676>>2]=c}L[a+368|0]=0;L[a+328|0]=0;L[a+288|0]=0;L[a+248|0]=0;L[a+208|0]=0;L[a+168|0]=0;L[a+128|0]=0;L[a+88|0]=0;L[a+48|0]=0;c=N[a+392>>2];d=N[a+396>>2];C(f,255,144);n=(d|0)/3|0;o=(c|0)/3|0;l=(d<<1)/3|0;m=(c<<1)/3|0;d=j;while(1){i=N[d>>2];d:{if(!i){break d}k=N[d+4>>2];if(!k){break d}e=N[d+24>>2];c=e+(k>>1)|0;g=N[d+20>>2];c=(((c|0)>(l|0)?6:(c|0)>(n|0)?3:0)+((m|0)<(g+(i>>1)|0)?2:(c|0)>(o|0))<<4)+f|0;h=N[c>>2];N[c>>2]=(h|0)<0?g:(g|0)>(h|0)?h:g;h=N[c+8>>2];N[c+8>>2]=(h|0)<0?e:(e|0)>(h|0)?h:e;h=g+i|0;g=h-1|0;i=g;g=N[c+4>>2];N[c+4>>2]=(g|0)<0?i:(g|0)<(h|0)?i:g;i=c;e=e+k|0;g=e-1|0;c=N[c+12>>2];N[i+12>>2]=(c|0)<0?g:(c|0)<(e|0)?g:c}d=N[d+28>>2];if(d){continue}break}g=0;e=0;while(1){h=(g<<4)+f|0;e:{if(N[h>>2]==-1){c=e;break e}k=h|8;n=h|12;o=h|4;d=g;c=e;while(1){d=d+1|0;e=(d<<4)+f|0;i=N[e>>2];f:{if((i|0)==-1){break f}l=N[o>>2];if((l|0)<(i|0)){break f}m=N[h>>2];p=N[e+4>>2];if((m|0)>(p|0)){break f}q=N[e+8>>2];r=N[n>>2];if((q|0)>(r|0)){break f}s=N[e+12>>2];t=N[k>>2];if((s|0)<(t|0)){break f}N[h>>2]=(i|0)>(m|0)?m:i;N[k>>2]=(q|0)>(t|0)?t:q;N[o>>2]=(l|0)>(p|0)?l:p;N[n>>2]=(r|0)>(s|0)?r:s;N[e+8>>2]=-1;N[e+12>>2]=-1;N[e>>2]=-1;N[e+4>>2]=-1;c=1}if((d|0)!=8){continue}break}}e=g+1|0;d=(e|0)!=8;g=d?e:0;e=c&d;if(c&1|d){continue}break}g:{if(N[f>>2]==-1){d=0;break g}d=kd(a,f,j);if(!d){d=0;break b}N[a+672>>2]=N[a+672>>2]+1}if(N[f+16>>2]!=-1){c=kd(a,f+16|0,j);if(!c){break b}h:{if(!d){d=c;break h}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+32>>2]!=-1){c=kd(a,f+32|0,j);if(!c){break b}i:{if(!d){d=c;break i}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+48>>2]!=-1){c=kd(a,f+48|0,j);if(!c){break b}j:{if(!d){d=c;break j}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+64>>2]!=-1){c=kd(a,f- -64|0,j);if(!c){break b}k:{if(!d){d=c;break k}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+80>>2]!=-1){c=kd(a,f+80|0,j);if(!c){break b}l:{if(!d){d=c;break l}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+96>>2]!=-1){c=kd(a,f+96|0,j);if(!c){break b}m:{if(!d){d=c;break m}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+112>>2]!=-1){c=kd(a,f+112|0,j);if(!c){break b}n:{if(!d){d=c;break n}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+128>>2]==-1){break b}c=kd(a,f+128|0,j);if(!c){break b}o:{if(!d){d=c;break o}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}La=f+144|0;return d|0}function Ei(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;N[e>>2]=0;N[e+4>>2]=0;N[g>>2]=0;N[g+4>>2]=0;s=T(b,40)+a|0;t=s+T(c,40)|0;if((t|0)!=(a|0)){q=i>>31;while(1){c=N[a+20>>2];j=0;a:{if(N[a+24>>2]){break a}j=0;if(!(c&4)){break a}j=N[a+12>>2]>=0?-1:1}r=a>>>0>=s>>>0;b:{c:{d:{e:{if(c&32){if(N[a+36>>2]<=(i|0)){break e}break d}o=N[a>>2];p=N[a+4>>2];b=N[(c&2?28:24)+a>>2];k=b;l=b>>31;b=N[a+8>>2];k=UE(k,l,b,b>>31);l=Pa;b=N[a+12>>2];n=b>>31;m=UE(b,n,i,q);k=m+k|0;l=Pa+l|0;l=k>>>0>>0?l+1|0:l;m=o-k|0;k=p-((k>>>0>o>>>0)+l|0)|0;if(((!!b&(n|0)>=0|(n|0)>0?0-(k+((m|0)!=0)|0)|0:k)|0)<0){break d}}b=r<<2;c=b+h|0;N[c>>2]=j+N[c>>2];if(N[a+32>>2]>=(i|0)){break b}c=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=c;c=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=c;c=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=c;c=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=c;c=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=c;c=N[d+36>>2];N[d+36>>2]=(c|0)<(i|0)?c:i;b=b+e|0;N[b>>2]=N[b>>2]+1;break c}f:{g:{if(c&16){if(N[a+32>>2]>=(i|0)){break g}c=c&2;break f}l=N[a>>2];o=N[a+4>>2];c=c&2;b=N[a+(c?24:28)>>2];k=b;m=b>>31;b=N[a+8>>2];k=UE(k,m,b,b>>31);n=Pa;b=N[a+12>>2];p=b>>31;m=UE(b,p,i,q);b=m+k|0;k=Pa+n|0;n=l-b|0;b=o-((b>>>0>l>>>0)+(b>>>0>>0?k+1|0:k)|0)|0;if((((p|0)<0?0-(b+((n|0)!=0)|0)|0:b)|0)<0){break f}}b=N[a+36>>2];c=N[a+32>>2];j=f+32|0;N[j>>2]=c;N[j+4>>2]=b;b=N[a+12>>2];N[f+8>>2]=N[a+8>>2];N[f+12>>2]=b;j=N[a+4>>2];k=j;b=N[a>>2];N[f>>2]=b;N[f+4>>2]=j;j=N[a+28>>2];N[f+24>>2]=N[a+24>>2];N[f+28>>2]=j;j=N[a+20>>2];N[f+16>>2]=N[a+16>>2];N[f+20>>2]=j;N[f+36>>2]=N[f+36>>2]-i;j=c-i|0;c=(j|0)>0;N[f+32>>2]=c?j:0;j=N[f+12>>2];j=UE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=k-(Pa+(b>>>0>>0)|0);h:{if(c){break h}b=N[f+20>>2];if((b&18)!=18){break h}N[f+20>>2]=b&-5}b=(r<<2)+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0;break b}if(c){b=(r<<2)+h|0;N[b>>2]=j+N[b>>2]}b=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=b;c=a+32|0;b=N[c>>2];c=N[c+4>>2];N[d+32>>2]=b;N[d+36>>2]=c;c=a+24|0;j=N[c+4>>2];N[d+24>>2]=N[c>>2];N[d+28>>2]=j;c=a+16|0;j=N[c+4>>2];N[d+16>>2]=N[c>>2];N[d+20>>2]=j;c=a+8|0;j=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=j;if(!((b|0)<(i|0)&N[d+36>>2]>(i|0))){ba(8156,18126,378,8809);B()}j=N[a+8>>2];k=N[a+12>>2];l=N[a+16>>2];o=N[a+20>>2];n=N[a+24>>2];p=N[a+28>>2];b=N[a>>2];c=N[a+4>>2];u=N[a+36>>2];m=f+32|0;N[m>>2]=N[a+32>>2];N[m+4>>2]=u;N[f+24>>2]=n;N[f+28>>2]=p;N[f+16>>2]=l;N[f+20>>2]=o;N[f+8>>2]=j;N[f+12>>2]=k;N[f>>2]=b;N[f+4>>2]=c;j=N[d+12>>2];N[f+32>>2]=0;N[f+36>>2]=N[f+36>>2]-i;j=UE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=c-(Pa+(b>>>0>>0)|0);N[d+36>>2]=i;N[d+20>>2]=N[d+20>>2]&-5;c=N[f+20>>2]&-9;N[f+20>>2]=c;b=N[d+20>>2];if(b&2){N[d+20>>2]=c;N[f+20>>2]=b;b=N[d+20>>2]}N[d+20>>2]=b|32;N[f+20>>2]=N[f+20>>2]|16;b=r<<2;c=b+e|0;N[c>>2]=N[c>>2]+1;b=b+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((t|0)!=(a|0)){continue}break}}}function Cn(a,b,c,d){var 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;i=La-16|0;La=i;a:{b:{c:{d:{e:{k=N[b+8>>2];if(Q[b+4>>2]<=k+3>>>0){break e}n=N[a>>2];e=N[b+20>>2];if(e){if((Qa[e|0](b,k,i+12|0,4)|0)!=4){break e}g=N[b+8>>2];e=i+12|0;break d}e=N[b>>2];if(e){e=e+k|0;g=k;break d}N[b+8>>2]=k+4;e=2;break c}e=85;break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);j=g+4|0;N[b+8>>2]=j;e=2;if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))!=1954115633){break c}f=N[b+4>>2];if(f>>>0<=g+5>>>0){break b}f:{g:{h:{e=N[b+20>>2];i:{if(e){if((Qa[e|0](b,j,i+12|0,2)|0)!=2){break b}g=N[b+20>>2];j=N[b+8>>2];e=i+12|0;break i}e=N[b>>2];if(!e){break h}g=0;e=e+j|0}f=O[e+1|0];e=O[e|0];N[b+8>>2]=j+2;h=j+8|0;o=f|e<<8;if(!g){f=N[b+4>>2];break g}e=85;if(!(Qa[g|0](b,h,0,0)|0)){break f}break a}N[b+8>>2]=g+6;h=g+12|0}e=85;if(f>>>0>>0){break a}}N[b+8>>2]=h;e=142;if(!o){break a}l=(c|0)>0?c&65535:c;m=-1;j:{k:{l:{while(1){g=N[b+4>>2];if(g>>>0<=h+3>>>0){break l}m:{n:{o:{p:{c=N[b+20>>2];q:{if(c){if((Qa[c|0](b,h,i+12|0,4)|0)!=4){break l}g=N[b+20>>2];h=N[b+8>>2];c=i+12|0;break q}c=N[b>>2];if(!c){break p}g=0;c=c+h|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[b+8>>2]=h+4;j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=h+8|0;if(!g){g=N[b+4>>2];break o}if(!(Qa[g|0](b,c,0,0)|0)){break n}e=85;break a}N[b+8>>2]=h+4;c=h+8|0;j=0}if(c>>>0<=g>>>0){break m}e=85;break a}g=N[b+4>>2]}N[b+8>>2]=c;r:{s:{t:{if(h+11>>>0>=g>>>0){break t}f=N[b+20>>2];u:{if(f){if((Qa[f|0](b,c,i+12|0,4)|0)!=4){break t}g=N[b+4>>2];c=N[b+8>>2];f=i+12|0;break u}f=N[b>>2];if(!f){break s}f=c+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break r}e=85;break a}f=0}h=c+4|0;N[b+8>>2]=h;v:{w:{x:{if(c+7>>>0>=g>>>0){break x}c=N[b+20>>2];y:{if(c){if((Qa[c|0](b,h,i+12|0,4)|0)!=4){break x}h=N[b+8>>2];c=i+12|0;break y}c=N[b>>2];if(!c){break w}c=c+h|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break v}e=85;break a}c=0}h=h+4|0;N[b+8>>2]=h;z:{A:{if((j|0)!=1415139377){if((j|0)!=1128875040){break A}c=c-22|0;f=f+22|0;p=1;if((l|0)<0){break z}m=m+1|0;break A}c=c-24|0;f=f+24|0;p=0;if((l|0)<0){break z}m=m+1|0}if((l|0)==(m|0)&(l|0)>=0){break z}q=q+1|0;if((q|0)==(o|0)){break a}continue}break}e=8;h=N[b+4>>2];if(h>>>0>>0|h-f>>>0>>0){break a}g=f+k|0;f=N[b+20>>2];B:{if(f){e=85;if(!(Qa[f|0](b,g,0,0)|0)){break B}break a}e=85;if(g>>>0>h>>>0){break a}}N[b+8>>2]=g;if((c|0)>0){g=Qa[N[n+4>>2]](n,c)|0;if(!g){e=64;break a}e=Zb(b,g,c);if(e){break k}e=_h(a,g,c,l>>31&l,p?16760:21728,d);break j}e=6;if(c){break a}e=Zb(b,0,0);if(e){break j}e=6;break j}e=85;break a}Qa[N[n+8>>2]](n,g)}if((e&255)!=2){break a}}a=e;c=N[b+20>>2];C:{if(c){e=85;if(!(Qa[c|0](b,k,0,0)|0)){break C}break a}e=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=k;e=a;break a}e=85}La=i+16|0;return e}function Fi(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;N[e>>2]=0;N[e+4>>2]=0;N[g>>2]=0;N[g+4>>2]=0;s=T(b,40)+a|0;t=s+T(c,40)|0;if((t|0)!=(a|0)){q=i>>31;while(1){c=N[a+20>>2];j=0;a:{if(N[a+32>>2]){break a}j=0;if(!(c&16)){break a}j=N[a+8>>2]>=0?-1:1}r=a>>>0>=s>>>0;b:{c:{d:{e:{if(c&8){if(N[a+28>>2]<=(i|0)){break e}break d}o=N[a>>2];p=N[a+4>>2];b=N[(c&2?36:32)+a>>2];k=b;l=b>>31;b=N[a+12>>2];k=UE(k,l,b,b>>31);l=Pa;b=N[a+8>>2];n=b>>31;m=UE(b,n,i,q);k=m+k|0;l=Pa+l|0;l=k>>>0>>0?l+1|0:l;m=o-k|0;k=p-((k>>>0>o>>>0)+l|0)|0;if(((!!b&(n|0)>=0|(n|0)>0?0-(k+((m|0)!=0)|0)|0:k)|0)<0){break d}}b=r<<2;c=b+h|0;N[c>>2]=j+N[c>>2];if(N[a+24>>2]>=(i|0)){break b}c=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=c;c=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=c;c=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=c;c=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=c;c=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=c;c=N[d+28>>2];N[d+28>>2]=(c|0)<(i|0)?c:i;b=b+e|0;N[b>>2]=N[b>>2]+1;break c}f:{g:{if(c&4){if(N[a+24>>2]>=(i|0)){break g}c=c&2;break f}l=N[a>>2];o=N[a+4>>2];c=c&2;b=N[a+(c?32:36)>>2];k=b;m=b>>31;b=N[a+12>>2];k=UE(k,m,b,b>>31);n=Pa;b=N[a+8>>2];p=b>>31;m=UE(b,p,i,q);b=m+k|0;k=Pa+n|0;n=l-b|0;b=o-((b>>>0>l>>>0)+(b>>>0>>0?k+1|0:k)|0)|0;if((((p|0)<0?0-(b+((n|0)!=0)|0)|0:b)|0)<0){break f}}c=N[a+28>>2];j=f+24|0;l=N[a+24>>2];N[j>>2]=l;N[j+4>>2]=c;j=N[a+4>>2];c=N[a>>2];N[f>>2]=c;N[f+4>>2]=j;b=N[a+36>>2];N[f+32>>2]=N[a+32>>2];N[f+36>>2]=b;b=N[a+20>>2];N[f+16>>2]=N[a+16>>2];N[f+20>>2]=b;k=N[a+12>>2];b=N[a+8>>2];N[f+8>>2]=b;N[f+12>>2]=k;N[f+28>>2]=N[f+28>>2]-i;b=UE(b,b>>31,i,q);N[f>>2]=c-b;N[f+4>>2]=j-(Pa+(b>>>0>c>>>0)|0);c=l-i|0;b=(c|0)>0;N[f+24>>2]=b?c:0;h:{if(b){break h}b=N[f+20>>2];if((b&6)!=6){break h}N[f+20>>2]=b&-17}b=(r<<2)+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0;break b}if(c){b=(r<<2)+h|0;N[b>>2]=j+N[b>>2]}b=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=b;b=a+32|0;c=N[b+4>>2];N[d+32>>2]=N[b>>2];N[d+36>>2]=c;c=a+24|0;b=N[c>>2];c=N[c+4>>2];N[d+24>>2]=b;N[d+28>>2]=c;c=a+16|0;j=N[c+4>>2];N[d+16>>2]=N[c>>2];N[d+20>>2]=j;c=a+8|0;j=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=j;if(!((b|0)<(i|0)&N[d+28>>2]>(i|0))){ba(8191,18126,357,7823);B()}j=N[a+8>>2];k=N[a+12>>2];l=N[a+16>>2];o=N[a+20>>2];n=N[a+24>>2];p=N[a+28>>2];b=N[a>>2];c=N[a+4>>2];m=N[a+36>>2];N[f+32>>2]=N[a+32>>2];N[f+36>>2]=m;m=f+24|0;N[m>>2]=n;N[m+4>>2]=p;N[f+16>>2]=l;N[f+20>>2]=o;N[f+8>>2]=j;N[f+12>>2]=k;N[f>>2]=b;N[f+4>>2]=c;j=N[d+8>>2];N[f+24>>2]=0;N[f+28>>2]=N[f+28>>2]-i;j=UE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=c-(Pa+(b>>>0>>0)|0);N[d+28>>2]=i;N[d+20>>2]=N[d+20>>2]&-17;c=N[f+20>>2]&-33;N[f+20>>2]=c;b=N[d+20>>2];if(b&2){N[d+20>>2]=c;N[f+20>>2]=b;b=N[d+20>>2]}N[d+20>>2]=b|8;N[f+20>>2]=N[f+20>>2]|4;b=r<<2;c=b+e|0;N[c>>2]=N[c>>2]+1;b=b+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((t|0)!=(a|0)){continue}break}}}function Hn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;c=N[a+4>>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}c=N[a>>2];b=c+b|0;c:{d:{e:{a=a-c|0;if((a|0)!=N[147322]){if(c>>>0<=255){d=N[a+8>>2];e=N[a+12>>2];if((d|0)!=(e|0)){break e}i=589268,j=N[147317]&ZE(-2,c>>>3|0),N[i>>2]=j;break b}g=N[a+24>>2];c=N[a+12>>2];if((c|0)!=(a|0)){d=N[a+8>>2];N[d+12>>2]=c;N[c+8>>2]=d;break c}e=a+20|0;d=N[e>>2];if(!d){d=N[a+16>>2];if(!d){break d}e=a+16|0}while(1){h=e;c=d;e=c+20|0;d=N[e>>2];if(d){continue}e=c+16|0;d=N[c+16>>2];if(d){continue}break}N[h>>2]=0;break c}c=N[f+4>>2];if((c&3)!=3){break b}N[147319]=b;N[f+4>>2]=c&-2;N[a+4>>2]=b|1;N[f>>2]=b;return}N[d+12>>2]=e;N[e+8>>2]=d;break b}c=0}if(!g){break b}d=N[a+28>>2];e=(d<<2)+589572|0;f:{if(N[e>>2]==(a|0)){N[e>>2]=c;if(c){break f}i=589272,j=N[147318]&ZE(-2,d),N[i>>2]=j;break b}N[g+(N[g+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}N[c+24>>2]=g;d=N[a+16>>2];if(d){N[c+16>>2]=d;N[d+24>>2]=c}d=N[a+20>>2];if(!d){break b}N[c+20>>2]=d;N[d+24>>2]=c}g:{h:{i:{j:{c=N[f+4>>2];if(!(c&2)){if(N[147323]==(f|0)){N[147323]=a;b=N[147320]+b|0;N[147320]=b;N[a+4>>2]=b|1;if(N[147322]!=(a|0)){break a}N[147319]=0;N[147322]=0;return}if(N[147322]==(f|0)){N[147322]=a;b=N[147319]+b|0;N[147319]=b;N[a+4>>2]=b|1;N[a+b>>2]=b;return}b=(c&-8)+b|0;if(c>>>0<=255){e=c>>>3|0;c=N[f+12>>2];d=N[f+8>>2];if((c|0)==(d|0)){i=589268,j=N[147317]&ZE(-2,e),N[i>>2]=j;break h}N[d+12>>2]=c;N[c+8>>2]=d;break h}g=N[f+24>>2];c=N[f+12>>2];if((f|0)!=(c|0)){d=N[f+8>>2];N[d+12>>2]=c;N[c+8>>2]=d;break i}e=f+20|0;d=N[e>>2];if(!d){d=N[f+16>>2];if(!d){break j}e=f+16|0}while(1){h=e;c=d;e=c+20|0;d=N[e>>2];if(d){continue}e=c+16|0;d=N[c+16>>2];if(d){continue}break}N[h>>2]=0;break i}N[f+4>>2]=c&-2;N[a+4>>2]=b|1;N[a+b>>2]=b;break g}c=0}if(!g){break h}d=N[f+28>>2];e=(d<<2)+589572|0;k:{if(N[e>>2]==(f|0)){N[e>>2]=c;if(c){break k}i=589272,j=N[147318]&ZE(-2,d),N[i>>2]=j;break h}N[g+(N[g+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}N[c+24>>2]=g;d=N[f+16>>2];if(d){N[c+16>>2]=d;N[d+24>>2]=c}d=N[f+20>>2];if(!d){break h}N[c+20>>2]=d;N[d+24>>2]=c}N[a+4>>2]=b|1;N[a+b>>2]=b;if(N[147322]!=(a|0)){break g}N[147319]=b;return}if(b>>>0<=255){c=(b&-8)+589308|0;d=N[147317];b=1<<(b>>>3);l:{if(!(d&b)){N[147317]=b|d;b=c;break l}b=N[c+8>>2]}N[c+8>>2]=a;N[b+12>>2]=a;N[a+12>>2]=c;N[a+8>>2]=b;return}d=31;if(b>>>0<=16777215){c=W(b>>>8|0);d=((b>>>38-c&1)-(c<<1)|0)+62|0}N[a+28>>2]=d;N[a+16>>2]=0;N[a+20>>2]=0;c=(d<<2)+589572|0;m:{e=N[147318];h=1<>2]=a;N[a+24>>2]=c;break n}d=b<<((d|0)!=31?25-(d>>>1|0)|0:0);c=N[c>>2];while(1){e=c;if((N[c+4>>2]&-8)==(b|0)){break m}c=d>>>29|0;d=d<<1;h=e+(c&4)|0;c=N[h+16>>2];if(c){continue}break}N[h+16>>2]=a;N[a+24>>2]=e}N[a+12>>2]=a;N[a+8>>2]=a;return}b=N[e+8>>2];N[b+12>>2]=a;N[e+8>>2]=a;N[a+24>>2]=0;N[a+12>>2]=e;N[a+8>>2]=b}}function rd(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,o=0;i=La-16|0;La=i;a:{if(!O[a|0]|(b|0)==-1|b>>>0>c>>>0){break a}N[a+4>>2]=-1;g=b>>>9|0;d=(b&-512)!=(b|0);l=g+d|0;k=c>>>9|0;o=c|511;m=k-((o|0)!=(c|0))|0;b:{if(!d&(m|0)>=(l|0)){break b}f=N[a+8>>2];d=N[a+16>>2];h=N[a+20>>2];if(!(f>>>0>>0&(g|0)==N[h+(f<<3)>>2])){if((d|0)<=0){break b}d=d-1|0;while(1){c:{f=d+e>>>1|0;j=N[(f<<3)+h>>2];d:{if((g|0)<(j|0)){d=f-1|0;break d}if((g|0)==(j|0)){break c}e=f+1|0}if((d|0)>=(e|0)){continue}break b}break}N[a+8>>2]=f}e=N[a+32>>2];if(!e){break b}h=e+(N[((f<<3)+h|0)+4>>2]<<6)|0;j=b>>>6&7;e=h+(j<<3)|0;e:{if((g|0)==(k|0)){f=c>>>6&7;if((f|0)==(j|0)){f=c&63;d=f&31;if((f&63)>>>0>=32){f=2<>>32-d;d=2<>>0>=32){b=1<>>32-d;d=f}f=n+d|0;b=b+h|0;b=d>>>0>f>>>0?b+1|0:b;d=e;break e}j=N[e+4>>2];b=b&63;d=b&31;n=N[e>>2];if((b&63)>>>0>=32){b=-1<>>32-d;d=-1<>2]=n&(d^-1);N[e+4>>2]=(b^-1)&j;d=h+(f<<3)|0;b=e+8|0;if((d|0)!=(b|0)){C(b,0,d-b|0)}b=c&63;e=b&31;if((b&63)>>>0>=32){b=-2<>>32-e|-1<>>0>=32){b=-1<>>32-d;d=-1<>2];N[e>>2]=f&N[e>>2];N[e+4>>2]=b;f=0;b=0;d=h+56|0;e=e+8|0;if((d|0)==(e|0)){break e}C(e,0,d-e|0)}b=b&N[d+4>>2];N[d>>2]=f&N[d>>2];N[d+4>>2]=b}f:{if((g|0)==(k|0)|(c|0)==(o|0)){break f}f=N[a+8>>2];e=N[a+16>>2];b=N[a+20>>2];if(!(f>>>0>>0&(k|0)==N[b+(f<<3)>>2])){if((e|0)<=0){break f}d=e-1|0;e=0;while(1){g:{f=d+e>>>1|0;g=N[b+(f<<3)>>2];h:{if((g|0)>(k|0)){d=f-1|0;break h}if((g|0)==(k|0)){break g}e=f+1|0}if((d|0)>=(e|0)){continue}break f}break}N[a+8>>2]=f}e=N[a+32>>2];if(!e){break f}e=e+(N[(b+(f<<3)|0)+4>>2]<<6)|0;d=c>>>6&7;i:{if(!d){break i}b=e;N[b>>2]=0;N[b+4>>2]=0;e=b+(d<<3)|0;b=b+8|0;if((e|0)==(b|0)){break i}C(b,0,(d<<3)-8|0)}d=N[e+4>>2];c=c&63;b=c&31;if((c&63)>>>0>=32){c=-2<>>32-b|-1<>2]=b&N[e>>2];N[e+4>>2]=c&d}if((l|0)>(m|0)){break a}b=0;N[i+12>>2]=0;N[i+4>>2]=0;e=N[a+28>>2];c=(e|0)>0;e=c?e:0;j:{k:{if(c){while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0>1073741823){break k}c=kb(b<<2);if(!c){break k}N[i+4>>2]=b;N[i+12>>2]=c;C(c,0,e<<2);b=c}N[i+8>>2]=e;e=N[a+16>>2];l:{if(!e){f=0;break l}d=0;f=0;while(1){m:{n:{if(d>>>0>>0){c=N[a+20>>2]+(d<<3)|0;g=N[c>>2];if((g|0)<(l|0)|(g|0)>(m|0)){break n}break m}N[147456]=0;N[147457]=0;c=589824;if(!l){break m}}o:{if(e>>>0<=f>>>0){N[147456]=0;N[147457]=0;e=589824;break o}e=N[a+20>>2]+(f<<3)|0}f=f+1|0;g=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=g;e=N[a+16>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}Ij(a,i+4|0,f);Df(a,f);break j}b=0;L[a|0]=0}_a(b)}La=i+16|0}function jh(a,b,c){var d=U(0),e=0,f=0,g=0;f=N[a+24>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{if((b|0)<=1986098018){if((b|0)==1751216995){break i}if((b|0)==1751413603){break h}if((b|0)!=1751934832){break a}e=f+72|0;b=Tc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break g}b=Tc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break g}}if(!c){break c}b=Tc(e);b=O[b+72|0]|O[b+73|0]<<8;d=Gc(Hc(f+132|0),1751934832,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}if((b|0)==1986098019){break f}if((b|0)==1986294627){break e}if((b|0)!=1986815856){break a}e=f+92|0;b=xc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=xc(e);b=O[b+8|0]|O[b+9|0]<<8;d=Gc(Hc(f+132|0),1986815856,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+44>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}j:{e=f+72|0;b=Tc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break j}b=Tc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break j}}if(!c){break c}b=Tc(e);b=O[b+68|0]|O[b+69|0]<<8;d=Gc(Hc(f+132|0),1751216995,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}b=f- -64|0;e=Kd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Kd(b);b=O[b+4|0]|O[b+5|0]<<8;d=Gc(Hc(f+132|0),1751216995,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}k:{e=f+72|0;b=Tc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break k}b=Tc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break k}}if(!c){break c}b=Tc(e);b=O[b+70|0]|O[b+71|0]<<8;d=Gc(Hc(f+132|0),1751413603,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))));break d}b=f- -64|0;e=Kd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Kd(b);b=O[b+6|0]|O[b+7|0]<<8;d=Gc(Hc(f+132|0),1751413603,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))));break d}b=f- -64|0;e=Kd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Kd(b);b=O[b+8|0]|O[b+9|0]<<8;d=Gc(Hc(f+132|0),1751934832,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}e=f+92|0;b=xc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=xc(e);b=O[b+4|0]|O[b+5|0]<<8;d=Gc(Hc(f+132|0),1986098019,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+44>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}e=f+92|0;b=xc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=xc(e);b=O[b+6|0]|O[b+7|0]<<8;d=Gc(Hc(f+132|0),1986294627,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+44>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))))}d=U(Z(d));l:{if(U(V(d))>2]=a}b=1}return b}ba(22017,17838,100,12708);B()}function _g(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=U(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=U(0);h=La-48|0;La=h;m=275552;j=((c<<2)+a|0)+2|0;i=c;c=O[a|0]|O[a+1|0]<<8;c=i>>>0>=((c<<8|c>>>8)&65535)>>>0?275552:j;i=O[c|0]|O[c+1|0]<<8;j=(i<<8|i>>>8)&65535;c=O[c+2|0]|O[c+3|0]<<8;if(c){m=((c<<8|c>>>8)&65535)+a|0}i=0;a:{if(f>>>0<=j>>>0){break a}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=d>>>0){break a}a=j+T(d,f)|0;if((a|0)<0){break a}c=N[b+96>>2];a=(a<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;b:{if(a){if(!a){break a}j=((a<<8|a>>>8)&65535)+e|0;break b}j=275552;if(!a){break a}}a=N[c+68>>2];q=N[c+64>>2];d=q+1|0;n=a>>>0>>0?a:d;o=n-g|0;c:{if(o>>>0<=1){e=N[c+80>>2];break c}d=N[c+144>>2]|32;N[c+144>>2]=d;e=N[c+80>>2];if(g>>>0>=n>>>0){break c}i=-1;a=g;r=(a^-1)+n|0;if(r>>>0>=3){p=o&-4;while(1){f=T(a,20)+e|0;k=N[f+8>>2];i=i>>>0>>0?i:k;k=N[f+28>>2];i=i>>>0>>0?i:k;k=N[f+48>>2];i=i>>>0>>0?i:k;f=N[f+68>>2];i=f>>>0>i>>>0?i:f;a=a+4|0;s=s+4|0;if((p|0)!=(s|0)){continue}break}}p=o&3;if(p){f=0;while(1){k=N[(T(a,20)+e|0)+8>>2];i=i>>>0>>0?i:k;a=a+1|0;f=f+1|0;if((p|0)!=(f|0)){continue}break}}a=g;if(o&1){a=T(g,20)+e|0;if(N[a+8>>2]!=(i|0)){N[a+4>>2]=N[a+4>>2]|3}a=g+1|0}if(!r){break c}while(1){f=T(a,20)+e|0;if(N[f+8>>2]!=(i|0)){d=d|32;N[c+144>>2]=d;N[f+4>>2]=N[f+4>>2]|3}f=T(a+1|0,20)+e|0;if(N[f+8>>2]!=(i|0)){d=d|32;N[c+144>>2]=d;N[f+4>>2]=N[f+4>>2]|3}a=a+2|0;if((n|0)!=(a|0)){continue}break}}a=N[T(q,20)+e>>2];N[h+44>>2]=0;N[h+40>>2]=0;d:{e:{f:{g:{d=O[m|0]|O[m+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break e;case 1:break f;case 0:break g;default:break d}}a=N[b+88>>2];d=O[m+2|0]|O[m+3|0]<<8;R[h+44>>2]=R[a+44>>2]*U((d<<8|d>>>8)<<16>>16);l=R[a+48>>2];a=O[m+4|0]|O[m+5|0]<<8;R[h+40>>2]=l*U((a<<8|a>>>8)<<16>>16);break d}Jf(m,N[b+88>>2],a,h+44|0,h+40|0);break d}If(m,b,h+44|0,h+40|0)}a=N[N[c+80>>2]+T(g,20)>>2];N[h+36>>2]=0;N[h+32>>2]=0;h:{i:{j:{k:{d=O[j|0]|O[j+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break h}}a=N[b+88>>2];d=O[j+2|0]|O[j+3|0]<<8;R[h+36>>2]=R[a+44>>2]*U((d<<8|d>>>8)<<16>>16);l=R[a+48>>2];a=O[j+4|0]|O[j+5|0]<<8;R[h+32>>2]=l*U((a<<8|a>>>8)<<16>>16);break h}Jf(j,N[b+88>>2],a,h+36|0,h+32|0);break h}If(j,b,h+36|0,h+32|0)}a=N[b+96>>2];if(N[a+156>>2]){d=N[b+88>>2];e=N[a+64>>2];N[h+20>>2]=g;N[h+16>>2]=e;ib(a,d,17206,h+16|0)}a=N[c+88>>2]+T(N[c+64>>2],20)|0;l=U(Z(U(U(R[h+36>>2]-R[h+44>>2])+U(.5))));l:{if(U(V(l))>2]=d;l=R[h+40>>2];t=R[h+32>>2];L[a+18|0]=1;l=U(Z(U(U(t-l)+U(.5))));m:{if(U(V(l))>2]=d;M[a+16>>1]=g-N[c+64>>2];N[c+144>>2]=N[c+144>>2]|8;a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];d=N[a+64>>2];N[h+4>>2]=g;N[h>>2]=d;ib(a,b,17248,h)}i=1;N[c+64>>2]=N[c+64>>2]+1}La=h+48|0;return i}function eA(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=La-96|0;La=h;N[h+80>>2]=0;N[h+84>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;j=h- -64|0;N[j>>2]=0;N[j+4>>2]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;m=c+10|0;a:{if((m|0)<0){j=6;break a}b:{c:{if(m){j=10;if((m|0)>268435455){break a}j=m<<3;g=Qa[N[a+4>>2]](a,j)|0;if(!g|(m|0)<=0){break c}C(g,0,j)}N[b+20>>2]=g;break b}N[b+20>>2]=g;if(g){break b}j=!g<<6;break a}d:{if(!c){break d}j=0;while(1){k=Qa[d|0](f,j)|0;e:{if(!k|!O[k|0]){break e}i=0;f:{g:{if(!cb(356640,k)){break g}i=1;if(!cb(356646,k)){break g}i=2;if(!cb(356652,k)){break g}i=3;if(!cb(356661,k)){break g}i=4;if(!cb(356668,k)){break g}i=5;if(!cb(356675,k)){break g}i=6;if(!cb(356678,k)){break g}i=7;if(!cb(356693,k)){break g}i=8;if(!cb(356699,k)){break g}if(cb(356712,k)){break f}i=9}l=i<<2;i=l+(h+48|0)|0;if(N[i>>2]){break f}N[i>>2]=1;N[h+l>>2]=j}i=Mo(k);if(i&2147483647){n=h+48|0;h:{i:{j:{k:{l:{m:{n:{o:{p:{if((i|0)<=915){q:{switch(i-160|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break h;case 0:break l;case 13:break p;default:break q}}switch(i-538|0){case 1:break j;case 0:break k;default:break o}}r:{s:{switch(i-937|0){default:t:{switch(i-8725|0){case 1:case 2:case 3:break h;case 4:break m;case 0:break r;default:break t}}l=0;if((i|0)==916){break i}break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break h;case 19:break n;case 0:break s}}l=1;break i}l=2;break i}l=3;break i}if((i|0)!=713){break h}l=4;break i}l=5;break i}l=6;break i}l=7;break i}l=8;break i}l=9}N[n+(l<<2)>>2]=2}N[g+4>>2]=j;N[g>>2]=i;g=g+8|0}if(!e){break e}Qa[e|0](f,k)}j=j+1|0;if((j|0)!=(c|0)){continue}break}if(N[h+48>>2]!=1){break d}N[g>>2]=916;N[g+4>>2]=N[h>>2];g=g+8|0}if(N[h+52>>2]==1){N[g>>2]=937;N[g+4>>2]=N[h+4>>2];g=g+8|0}if(N[h+56>>2]==1){N[g>>2]=8725;N[g+4>>2]=N[h+8>>2];g=g+8|0}if(N[h+60>>2]==1){N[g>>2]=173;N[g+4>>2]=N[h+12>>2];g=g+8|0}if(N[h+64>>2]==1){N[g>>2]=713;N[g+4>>2]=N[h+16>>2];g=g+8|0}if(N[h+68>>2]==1){N[g>>2]=956;N[g+4>>2]=N[h+20>>2];g=g+8|0}if(N[h+72>>2]==1){N[g>>2]=8729;N[g+4>>2]=N[h+24>>2];g=g+8|0}if(N[h+76>>2]==1){N[g>>2]=160;N[g+4>>2]=N[h+28>>2];g=g+8|0}if(N[h+80>>2]==1){N[g>>2]=538;N[g+4>>2]=N[h+32>>2];g=g+8|0}if(N[h+84>>2]==1){N[g>>2]=539;N[g+4>>2]=N[h+36>>2];g=g+8|0}j=N[b+20>>2];e=g-j|0;d=e>>3;u:{if((g|0)==(j|0)){if(g){Qa[N[a+8>>2]](a,g)}N[b+20>>2]=0;j=163;break u}if(d>>>0>>1>>>0){v:{if((d|m)<0){break v}w:{if(!m){j=Qa[N[a+4>>2]](a,e)|0;a=!j<<6;break w}a=Qa[N[a+12>>2]](a,m<<3,e,j)|0;j=a?a:j;a=!a<<6}if(a|(d|0)<=(m|0)|!j){break v}C((m<<3)+j|0,0,d-m<<3)}N[b+20>>2]=j}Zc(j,d,8,361);j=0}N[b+16>>2]=d}La=h+96|0;return j|0}function vq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=T(b,c)+a|0;if(b>>>0>=10){m=0-c|0;while(1){i=T(b-1|0,c);k=i+a|0;d=k+m|0;h=a+c|0;e=N[h>>2];j=T(b>>>1|0,c)+a|0;b=N[j>>2];a:{if((e|0)!=(b|0)){g=b>>>0>e>>>0?-1:1;break a}e=N[h+4>>2];b=N[j+4>>2];g=-1;if(e>>>0>>0){break a}g=b>>>0>>0}g=(g|0)>0;b=g?h:j;e=N[b>>2];f=N[d>>2];b:{c:{if((e|0)!=(f|0)){if(e>>>0>=f>>>0){break c}break b}if(Q[b+4>>2]<=Q[d+4>>2]){break b}}e=g?j:h;g=N[e>>2];d:{if((g|0)!=(f|0)){b=d;if(f>>>0<=g>>>0){break d}break b}f=N[e+4>>2];g=N[d+4>>2];if(f>>>0>>0){b=d;break b}b=d;if(f>>>0<=g>>>0){break b}}b=e}if((b|0)!=(k|0)){g=b+c|0;d=k;while(1){e=O[b|0];L[b|0]=O[d|0];L[d|0]=e;d=d+1|0;b=b+1|0;if(g>>>0>b>>>0){continue}break}}e:{if((i|0)<=0){d=0;break e}h=k;f=h;g=a;e=g;while(1){f:{g:{d=N[e>>2];b=N[k>>2];h:{if((d|0)!=(b|0)){if(b>>>0>d>>>0){break h}break g}d=N[e+4>>2];b=N[k+4>>2];if(d>>>0>>0){break h}if(b>>>0>>0){break g}if(e>>>0>g>>>0){i=c+g|0;b=g;d=e;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}g=c+g|0}e=c+e|0;if(e>>>0>>0){continue}break f}i:{if(e>>>0>=f>>>0){break i}while(1){j:{i=f;f=f+m|0;d=N[f>>2];b=N[k>>2];k:{if((d|0)!=(b|0)){if(b>>>0<=d>>>0){break k}break j}d=N[f+4>>2];b=N[k+4>>2];if(d>>>0>>0){break j}if(b>>>0>>0){break k}j=h+m|0;if(h>>>0>i>>>0){b=f;d=j;while(1){h=O[b|0];L[b|0]=O[d|0];L[d|0]=h;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}h=j}if(e>>>0>>0){continue}break i}break}if(e>>>0>>0){i=c+e|0;b=e;d=f;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}e=c+e|0}if(e>>>0>>0){continue}}break}i=f-g|0;l:{if((a|0)==(g|0)|(f|0)==(g|0)){break l}b=g-a|0;if(b>>>0>i>>>0){if((i|0)<=0){break l}g=a+i|0;b=a+b|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break l}if((b|0)<=0){break l}g=a+b|0;b=a+i|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}d=h-f|0;if((f|0)==(h|0)|(h|0)==(l|0)){break e}b=l-h|0;if(b>>>0>>0){if((b|0)<=0){break e}g=b+f|0;b=d+f|0;while(1){e=O[f|0];L[f|0]=O[b|0];L[b|0]=e;b=b+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break e}if((d|0)<=0){break e}g=d+f|0;b=b+f|0;while(1){e=O[f|0];L[f|0]=O[b|0];L[b|0]=e;b=b+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}vq(a,(i>>>0)/(c>>>0)|0,c);a=l-d|0;b=(d>>>0)/(c>>>0)|0;l=a+T(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(l>>>0>g>>>0){h=0-c|0;while(1){e=g;m:{if(e>>>0<=a>>>0){break m}while(1){f=e+h|0;d=N[f>>2];b=N[e>>2];n:{if((d|0)!=(b|0)){if(b>>>0>d>>>0){break m}break n}if(Q[f+4>>2]<=Q[e+4>>2]){break m}}b=f;d=e;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}e=f;if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(l>>>0>g>>>0){continue}break}}}function zg(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,q=0,r=0,s=0,t=0,u=0;n=e>>8;a:{if((d|0)==(f|0)){b=b-N[a+164>>2]|0;if(!(!((b|0)<0|(b|0)>=N[a+172>>2])&N[a+160>>2]>(n|0))){N[a+176>>2]=N[a+192>>2];return}d=N[a+188>>2]+(b<<2)|0;g=N[d>>2];b=N[g>>2];c=N[a+156>>2];e=(c|0)>(n|0)?c-1|0:n;b:{if((b|0)<=(e|0)){while(1){c=g;if((b|0)==(e|0)){break b}g=N[c+12>>2];b=N[g>>2];if((e|0)>=(b|0)){continue}break}d=c+12|0}c=N[a+180>>2];N[a+180>>2]=c+16;if(Q[a+184>>2]<=c>>>0){break a}N[c>>2]=e;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=N[d>>2];N[d>>2]=c}N[a+176>>2]=c;return}g=c&255;h=c>>8;c:{if((h|0)==(n|0)){c=N[a+176>>2];break c}p=1;j=N[a+176>>2];k=e-c|0;d:{if((k|0)>0){s=256;c=256-g|0;break d}k=0-k|0;p=-1;c=g}m=f-d|0;c=T(c,m);l=(c|0)/(k|0)|0;q=c-T(k,l)|0;r=q>>31;i=l+r|0;N[j+4>>2]=i+N[j+4>>2];N[j+8>>2]=N[j+8>>2]+T(i,g|s);j=h+p|0;c=b-N[a+164>>2]|0;e:{if(!(!((c|0)<0|(c|0)>=N[a+172>>2])&N[a+160>>2]>(j|0))){g=N[a+192>>2];break e}h=N[a+188>>2]+(c<<2)|0;b=N[h>>2];o=N[b>>2];g=N[a+156>>2];l=(g|0)>(j|0)?g-1|0:j;if((o|0)<=(l|0)){while(1){g=b;if((l|0)==(o|0)){break e}b=N[g+12>>2];o=N[b>>2];if((l|0)>=(o|0)){continue}break}h=g+12|0}g=N[a+180>>2];N[a+180>>2]=g+16;if(Q[a+184>>2]<=g>>>0){break a}N[g>>2]=l;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=N[h>>2];N[h>>2]=g}d=d+i|0;N[a+176>>2]=g;f:{if((j|0)==(n|0)){c=g;break f}b=q+(k&r)|0;l=m<<8;h=(l|0)/(k|0)|0;l=l-T(h,k)|0;m=l>>31;l=(m&k)+l|0;m=h+m|0;g:{if((c|0)<0){c=N[a+192>>2];h=b+l|0;i=(h|0)>=(k|0);b=i+m|0;N[g+4>>2]=b+N[g+4>>2];N[g+8>>2]=N[g+8>>2]+(b<<8);d=b+d|0;g=j+p|0;if((n|0)==(g|0)){break g}h=h-(i?k:0)|0;b=N[c+8>>2];j=N[c+4>>2];while(1){h=h+l|0;i=(h|0)>=(k|0);h=h-(i?k:0)|0;i=i+m|0;d=i+d|0;j=j+i|0;b=(i<<8)+b|0;g=g+p|0;if((n|0)!=(g|0)){continue}break}N[c+8>>2]=b;N[c+4>>2]=j;break g}if((c|0)>2]){q=N[a+160>>2];r=c<<2;c=g;while(1){t=b+l|0;u=(t|0)>=(k|0);o=m+u|0;N[c+4>>2]=o+N[c+4>>2];N[c+8>>2]=N[c+8>>2]+(o<<8);j=j+p|0;h:{if((q|0)>(j|0)){h=r+N[a+188>>2]|0;g=N[h>>2];b=N[g>>2];c=N[a+156>>2];i=(c|0)>(j|0)?c-1|0:j;if((b|0)<=(i|0)){while(1){c=g;if((b|0)==(i|0)){break h}g=N[c+12>>2];b=N[g>>2];if((i|0)>=(b|0)){continue}break}h=c+12|0}c=N[a+180>>2];N[a+180>>2]=c+16;if(Q[a+184>>2]<=c>>>0){break a}N[c>>2]=i;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=N[h>>2];N[h>>2]=c;break h}c=N[a+192>>2]}b=t-(u?k:0)|0;d=d+o|0;N[a+176>>2]=c;if((j|0)!=(n|0)){continue}break}break f}c=N[a+192>>2];h=b+l|0;i=(h|0)>=(k|0);b=i+m|0;N[g+4>>2]=b+N[g+4>>2];N[g+8>>2]=N[g+8>>2]+(b<<8);d=b+d|0;g=j+p|0;if((n|0)==(g|0)){break g}h=h-(i?k:0)|0;b=N[c+8>>2];j=N[c+4>>2];while(1){h=h+l|0;i=(h|0)>=(k|0);h=h-(i?k:0)|0;i=i+m|0;d=i+d|0;j=j+i|0;b=(i<<8)+b|0;g=g+p|0;if((n|0)!=(g|0)){continue}break}N[c+8>>2]=b;N[c+4>>2]=j}N[a+176>>2]=c}g=256-s|0}a=f-d|0;N[c+4>>2]=a+N[c+4>>2];N[c+8>>2]=N[c+8>>2]+T(a,(e&255)+g|0);return}pe(a,1);B()}function Hp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=La-22048|0;La=c;d=N[b+100>>2];C(c+15424|4,0,2748);N[c+15424>>2]=d;N[a+7728>>2]=0;N[a+52>>2]=0;e=N[N[(N[N[a>>2]+8>>2]<<2)+288704>>2]+16>>2];a:{d=db(1,172);b:{if(!d){d=588184;break b}N[d+148>>2]=1073741823;N[d+152>>2]=536870911;N[d>>2]=1;N[d+4>>2]=1;f=Ic();c:{if(!f){break c}g=N[f>>2];if(!g){break c}if((g|0)<=0){break a}N[f>>2]=g+1}L[d+60|0]=1;N[d+24>>2]=65533;N[d+12>>2]=f}d:{e:{f=O[e|0];if(f){while(1){if((f|0)==32){while(1){f=O[e+1|0];e=e+1|0;if((f|0)==32){continue}break}}e=Fe(e,a,d,c+16|0);f:{if(Q[c+16>>2]>1){break f}f=N[d+80>>2];g=N[d+68>>2];g:{if(O[d+63|0]|N[d+168>>2]){break g}N[d+84>>2]=f;N[d+72>>2]=0;M[d+62>>1]=256;h=T(g,20);if(!h){break g}C(N[d+88>>2],0,h)}if(!g){break f}f=N[f>>2];if(f){break e}}f=O[e|0];if(f){continue}break}}dc(d);break d}dc(d);if(vc(b,f,1)){break d}d=N[b+84>>2];if(M[d+110>>1]<=0){break d}e=c+16|0;C(e,0,15396);f=N[a+40>>2];N[c+24>>2]=65536;N[c+28>>2]=65536;N[c+56>>2]=f;N[c+20>>2]=b;N[c+18164>>2]=0;N[c+18172>>2]=e;if(rf(c+15424|0,d+108|0)){break d}if(Yd(c+15424|0,0)){break d}d=0;qf(c+15424|0,0,0,0);b=N[c+15468>>2];if((b|0)>0){e=N[c+15476>>2];f=e+T(b,44)|0;while(1){b=N[e+20>>2];if(!(!b|b>>>0<=e>>>0|(N[b+20>>2]!=(e|0)|d>>>0>15))){g=M[e+2>>1]-M[b+2>>1]|0;b=g>>31;N[(T(d,12)+a|0)+56>>2]=(b^g)-b;d=d+1|0}e=e+44|0;if(f>>>0>e>>>0){continue}break}}N[c+12>>2]=d;Eg(c+12|0,a+56|0,Q[c+56>>2]/100|0);N[a+52>>2]=N[c+12>>2];if(Yd(c+15424|0,1)){break d}d=0;qf(c+15424|0,0,0,1);b=N[c+16816>>2];if((b|0)>0){e=N[c+16824>>2];f=e+T(b,44)|0;while(1){b=N[e+20>>2];if(!(!b|b>>>0<=e>>>0|(N[b+20>>2]!=(e|0)|d>>>0>15))){g=M[e+2>>1]-M[b+2>>1]|0;b=g>>31;N[(T(d,12)+a|0)+7732>>2]=(b^g)-b;d=d+1|0}e=e+44|0;if(f>>>0>e>>>0){continue}break}}N[c+12>>2]=d;Eg(c+12|0,a+7732|0,Q[c+56>>2]/100|0);N[a+7728>>2]=N[c+12>>2]}if(N[a+52>>2]){b=N[a+56>>2]}else{b=(T(N[a+40>>2],50)|0)/2048|0}L[a+256|0]=0;N[a+252>>2]=b;N[a+248>>2]=(b|0)/5;if(N[a+7728>>2]){b=N[a+7732>>2]}else{b=(T(N[a+40>>2],50)|0)/2048|0}L[a+7932|0]=0;N[a+7928>>2]=b;N[a+7924>>2]=(b|0)/5;a=N[c+15424>>2];h:{if(!a){break h}N[c+15468>>2]=0;N[c+15472>>2]=0;b=N[c+15476>>2];if((b|0)!=(c+15496|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15476>>2]=0}b=c+15480|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+15488>>2];if((b|0)!=(c+16288|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15488>>2]=0}b=c+16816|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+16824>>2];if((b|0)!=(c+16844|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+16824>>2]=0}b=c+16828|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+16836>>2];if((b|0)!=(c+17636|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+16836>>2]=0}b=N[c+15464>>2];if((b|0)!=(c+18176|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15464>>2]=0}N[c+15456>>2]=0;N[c+15460>>2]=0;b=N[c+15452>>2];if((b|0)==(c+18208|0)|!b){break h}Qa[N[a+8>>2]](a,b)}La=c+22048|0;return}ba(23506,14099,260,16403);B()}function aj(a,b){var 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;a:{f=N[b+4>>2];b:{if(f>>>0>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break b}d=N[b+12>>2];c=d-8|0;N[b+12>>2]=c;if(((O[a|0]|O[a+1|0]<<8)&65279)!=512|(c|0)<=0){break b}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break b}c=d-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}h=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);d=UE(i,0,48,0);if(Pa){break b}if(d){k=a+8|0;if(k>>>0>e>>>0|d>>>0>e-k>>>0){break b}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break b}}if(!h){return 1}p=i>>>0<=1?1:i;k=0;while(1){h=T(k,48)+a|0;d=h+8|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<48){break a}i=c-48|0;N[b+12>>2]=i;if((i|0)<=0){break a}j=c-52|0;N[b+12>>2]=j;if((j|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(d&128){break a}c=O[h+16|0]|O[h+17|0]<<8|(O[h+18|0]<<16|O[h+19|0]<<24);m=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(m>>>0>536870911){break a}i=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+a|0;c:{d=m<<3;if(!d){break c}if(e>>>0>>0|f>>>0>i>>>0|d>>>0>e-i>>>0){break a}d=j-d|0;N[b+12>>2]=d;if((d|0)>0){break c}break a}n=0;j=0;if(c){while(1){g=N[b+4>>2];e=i+(j<<3)|0;if(g>>>0>e>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<8){break b}f=N[b+12>>2];c=f-8|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8;l=(c<<8|c>>>8)&65535;c=O[e+2|0]|O[e+3|0]<<8;o=(c<<8|c>>>8)&65535;if(l>>>0>o>>>0){break b}e=e+4|0;if(e>>>0>d>>>0|d-e>>>0<4){break b}c=f-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d:{if(!c){break d}if(c&128){break b}c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;e:{if(c>>>0>>0|d>>>0>>0|d-c>>>0<8){break e}g=f-20|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=o-l|0;f:{g:{l=O[c|0]|O[c+1|0]<<8;switch(((l<<8|l>>>8)&65535)-1|0){case 2:break f;case 0:break g;default:break d}}f=f-28|0;N[b+12>>2]=f;if((f|0)<=0){break e}g=g+2|0;if(g>>>0>1073741823){break e}if(!g){break d}c=c+8|0;if(c>>>0>d>>>0){break e}c=d-c|0;d=g<<2;if(c>>>0>>0){break e}d=f-d|0;N[b+12>>2]=d;if((d|0)>0){break d}break e}f=f-28|0;N[b+12>>2]=f;if((g|0)<-2|(f|0)<=0){break e}g=g+2|0;if(!g){break d}c=c+8|0;if(c>>>0>d>>>0){break e}c=d-c|0;d=g<<1;if(c>>>0>>0){break e}d=f-d|0;N[b+12>>2]=d;if((d|0)>0){break d}}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}j=j+1|0;if((m|0)!=(j|0)){continue}break}f=N[b+4>>2]}d=h+24|0;if(d>>>0>>0){break b}e=N[b+8>>2];if(d>>>0>e>>>0|e-d>>>0<12){break b}d=N[b+12>>2];c=d-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=h+36|0;if(c>>>0>e>>>0|e-c>>>0<12){break b}c=d-24|0;N[b+12>>2]=c;n=(c|0)>0;if((c|0)<=0){break b}k=k+1|0;if((p|0)!=(k|0)){continue}break}}return n}return 0}function Xq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=275552;c=N[N[N[a+92>>2]+148>>2]>>2];c=c?c:275552;f=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[f|0]|O[f+1|0]<<8)!=256){break a}d=275552;c=O[f+8|0]|O[f+9|0]<<8;if(c){d=f+((c<<8|c>>>8)&65535)|0}c=O[d|0]|O[d+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break a}g=((c<<8|c>>>8)&65535)+d|0}m=N[a+136>>2];N[a+136>>2]=b;b=O[g+2|0]|O[g+3|0]<<8;b=b<<8|b>>>8;d=b&65535;j=N[a+140>>2];if(b&16){b=O[g+4|0]|O[g+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+g|0;b=O[b+6|0]|O[b+7|0]<<8;d=b<<24|b<<8&16711680|d}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;h=O[a+150|0];L[a+21|0]=h;c=N[a+132>>2];N[a+16>>2]=c;N[a+72>>2]=0;N[a+48>>2]=a;b=O[a+151|0];L[a+22|0]=b;f=a- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[a+52>>2]=d;e=N[a+84>>2];f=(e|0)==1;L[a+20|0]=f;d=O[a+149|0];L[a+61|0]=1;L[a+60|0]=f|(d|0)!=0;N[a+56>>2]=-1;L[a+62|0]=b;i=O[g+4|0]|O[g+5|0]<<8;if(i){b=O[g|0]|O[g+1|0]<<8;f=(b<<8|b>>>8)&65535;k=g+4|0;h=(i<<8|i>>>8)&65535;i=h>>>0<=1?1:h;b=0;l=1;while(1){c=O[k|0]|O[k+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+k|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+g|0}else{c=275552}d=f;b:{while(1){c:{e=0;if((d|0)!=9){d:{switch(d-1|0){case 0:e:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break c;case 1:break e;default:break b}}e=Ek(c,a);break b;case 1:f:{g:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break b}}e=Hk(c,a);break b}e=Gk(c,a);break b;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Uk(c,a);break b;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Tk(c,a);break b;case 4:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Sk(c,a);break b;case 5:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Rk(c,a);break b;case 6:e=Kj(c,a);break b;case 7:break d;default:break b}}h:{i:{j:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}e=Jj(a,c);break b}e=Kf(c,a,0);break b}e=ah(c,a);break b}if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=O[c+2|0]|O[c+3|0]<<8;d=(e<<8|e>>>8)&65535;e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}continue}break}e=Fk(c,a)}if(!e){b=b+1|0;l=h>>>0>b>>>0;if((b|0)!=(i|0)){continue}}break}d=O[a+149|0];c=N[a+132>>2];h=O[a+150|0];e=N[a+84>>2];b=O[a+151|0]}N[a+140>>2]=j;N[a+136>>2]=m;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;L[a+21|0]=h;N[a+12>>2]=j;N[a+72>>2]=0;L[a+22|0]=b;N[a+16>>2]=c;N[a+64>>2]=0;N[a+68>>2]=0;L[a+61|0]=1;N[a+52>>2]=j;L[a+62|0]=b;N[a+56>>2]=-1;b=(e|0)==1;L[a+20|0]=b;L[a+60|0]=b|(d&255)!=0;N[a+8>>2]=a;N[a+48>>2]=a;return l|0}function mo(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,o=0,p=0,q=0,r=0;a:{if(c>>>0>268435455){break a}d=c<<4;m=kb(d>>>0<=1?1:d);if(!m){break a}b:{if((c|0)<=0){Zc(m,0,16,375);break b}while(1){j=(n<<5)+b|0;c:{if(!N[j+20>>2]|!N[j+8>>2]|!N[j+16>>2]){break c}d=N[j+28>>2];f=N[d+52>>2];if(!f){f=db(1,20);N[d+52>>2]=f;if(!f){break c}}if(N[a+112>>2]!=N[f+16>>2]){N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;f=N[d+52>>2];N[f+16>>2]=N[a+112>>2]}g=N[f+4>>2];if((g|0)<=0){break c}e=N[f+12>>2];o=e;p=N[f+8>>2];h=p;l=N[f>>2];i=l;d=g;if((d|0)!=N[j+8>>2]){o=0;mb(N[a>>2],2,16884,0);N[f+8>>2]=0;N[f+12>>2]=0;N[f>>2]=0;N[f+4>>2]=0;h=0;i=0;d=0}if((k|0)>0){q=e+p|0;r=g+l|0;e=0;while(1){g=(e<<4)+m|0;if(!((l|0)>=N[g+12>>2]|(r|0)<=N[g+4>>2]|((q|0)<=N[g>>2]|(p|0)>=N[g+8>>2]))){N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;o=0;h=0;i=0;d=0}e=e+1|0;if((k|0)!=(e|0)){continue}break}}if((d|0)<=0){break c}g=(k<<4)+m|0;N[g+12>>2]=d+i;N[g+4>>2]=i;N[g+8>>2]=h+o;N[g>>2]=h;e=N[j>>2];if(e){h=i-N[j+4>>2]|0;f=N[a+136>>2];while(1){g=h+N[e+24>>2]|0;N[e+24>>2]=g;d=N[e+4>>2];if((g|0)<0){N[e+24>>2]=0;d=d+g|0;N[e+4>>2]=d;N[e+12>>2]=N[e+12>>2]-T(g,N[e+8>>2]);g=0}g=d+g|0;if((g|0)>=(f|0)){d=(f-g|0)+d|0;N[e+4>>2]=d}if((d|0)<=0){N[e+24>>2]=0;N[e+4>>2]=0}e=N[e+28>>2];if(e){continue}break}}k=k+1|0;N[j+4>>2]=i}n=n+1|0;if((n|0)!=(c|0)){continue}break}Zc(m,k,16,375);n=0;while(1){f=(n<<5)+b|0;d:{if(!N[f+20>>2]|!N[f+8>>2]|!N[f+16>>2]){break d}d=N[f+28>>2];h=N[d+52>>2];if(!h){h=db(1,20);N[d+52>>2]=h;if(!h){break d}}if(N[a+112>>2]!=N[h+16>>2]){N[h>>2]=0;N[h+4>>2]=0;N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;h=N[d+52>>2];N[h+16>>2]=N[a+112>>2]}if(N[h+4>>2]){break d}o=N[f+12>>2];p=o+N[f+16>>2]|0;e=N[f+4>>2];j=e+N[f+8>>2]|0;e:{if(N[f+24>>2]==1){i=0;d=0;if((k|0)<=0){break e}while(1){g=(d<<4)+m|0;f:{if(N[g+4>>2]>=(i+j|0)){break f}l=N[g+12>>2];if((l|0)<=(e+i|0)|(p|0)<=N[g>>2]){break f}i=(o|0)>2]?l-e|0:i}d=d+1|0;if((k|0)!=(d|0)){continue}break}break e}i=0;d=k;if((d|0)<=0){break e}while(1){g=d;d=d-1|0;l=(d<<4)+m|0;q=N[l+4>>2];if(!((q|0)>=(i+j|0)|N[l+12>>2]<=(e+i|0)|(p|0)<=N[l>>2])){i=(o|0)>2]?q-j|0:i}if(g>>>0>1){continue}break}}d=(k<<4)+m|0;N[d+12>>2]=i+j;N[d+4>>2]=e+i;N[d+8>>2]=p;N[d>>2]=o;k=k+1|0;Zc(m,k,16,375);g:{if(!i){e=N[f+4>>2];break g}e=N[f>>2];if(e){j=N[a+136>>2];while(1){g=N[e+24>>2]+i|0;N[e+24>>2]=g;d=N[e+4>>2];if((g|0)<0){N[e+24>>2]=0;d=d+g|0;N[e+4>>2]=d;N[e+12>>2]=N[e+12>>2]-T(g,N[e+8>>2]);g=0}g=d+g|0;if((g|0)>=(j|0)){d=(j-g|0)+d|0;N[e+4>>2]=d}if((d|0)<=0){N[e+24>>2]=0;N[e+4>>2]=0}e=N[e+28>>2];if(e){continue}break}}e=N[f+4>>2]+i|0;N[f+4>>2]=e}N[h>>2]=e;N[h+4>>2]=N[f+8>>2];N[h+8>>2]=N[f+12>>2];N[h+12>>2]=N[f+16>>2]}n=n+1|0;if((n|0)!=(c|0)){continue}break}}_a(m)}}function eE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[c>>2];a:{b:{c:{d:{if(!b){if(!d){return 0}a=N[d>>2];if(!a){break a}if((a|0)<=0){break d}N[d>>2]=a+1;return d|0}f=P[c+4>>1];e:{f:{g:{a=Q[d+16>>2]<4?275552:N[d+12>>2];d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((d|0)<=1953658212){if((d|0)==256){break g}if((d|0)==65536){d=a;break e}if((d|0)!=1330926671){break f}d=a;break e}if((d|0)==1953658213){d=a;break e}if((d|0)==1954115633){d=a;break e}if((d|0)!=1953784678){break f}d=275552;e=O[a+4|0]|O[a+5|0]<<8;if(((e<<8|e>>>8)&65535)-1>>>0>1){break e}e=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);e=f>>>0>=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0?275552:(a+(f<<2)|0)+12|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!e){break e}d=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;break e}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);g=a+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;d=O[g+24|0]|O[g+25|0]<<8;d=((d<<8|d>>>8)&65535)+g|0;d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;j=a+256|0;d=0;while(1){h:{e=O[g+24|0]|O[g+25|0]<<8;e=g+((e<<8|e>>>8)&65535)|0;h=O[e|0]|O[e+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0>>0){e=275552}else{e=(e+(d<<3)|0)+2|0}if((O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24))!=1953392243){break h}h=O[e+4|0]|O[e+5|0]<<8;if(f>>>0>((h<<8|h>>>8)&65535)>>>0){break h}d=O[g+24|0]|O[g+25|0]<<8;k=g+((d<<8|d>>>8)&65535)|0;d=O[e+6|0]|O[e+7|0]<<8;d=(k+((d<<8|d>>>8)&65535)|0)+T(f,12)|0;d=(j+(O[d+6|0]<<8|O[d+5|0]<<16|O[d+7|0])|0)+4|0;l=d-a|0;break e}e=(d|0)!=(i|0);d=d+1|0;if(e){continue}break}d=275552;l=275552-a|0;break e}d=275552}i=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=d+12|0;e=O[d+4|0]|O[d+5|0]<<8;j=(e<<8|e>>>8)&65535;if(j>>>0<=15){a=275552;if(!e){break b}e=0;f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>=b>>>0&(f|0)==(i|0)){break c}while(1){e=e+1|0;if((j|0)==(e|0)){break b}f=g+(e<<4)|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>>0|(f|0)!=(i|0)){continue}break}break c}a=275552;if(!e){break b}h=j-1|0;while(1){e=h+m>>>1|0;f=g+(e<<4)|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);k=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>>0;i:{if(!(k|(f|0)==(i|0))){h=e-1|0;break i}if(!k&(f|0)==(i|0)){break c}m=e+1|0}if((h|0)>=(m|0)){continue}break}break b}ba(23506,14099,260,16403);B()}if(e>>>0>=j>>>0){break b}a=((e<<4)+d|0)+12|0}b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=Cl(N[c>>2],(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+l|0,a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}return d|0}function Dm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;C(b,0,196);f=O[a+188|0];L[b+8|0]=f;a:{if(!f){break a}if(f>>>0>=4){h=f&252;d=b+12|0;g=a+192|0;while(1){M[d+(c<<1)>>1]=N[g+(c<<2)>>2];i=c|1;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];i=c|2;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];i=c|3;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];c=c+4|0;if((h|0)!=(c|0)){continue}break}}d=f&3;if(!d){break a}f=0;while(1){M[((c<<1)+b|0)+12>>1]=N[((c<<2)+a|0)+192>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+189|0];L[b+9|0]=d;b:{if(!d){break b}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+40|0;h=a+248|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break b}while(1){M[((c<<1)+b|0)+40>>1]=N[((c<<2)+a|0)+248>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+190|0];L[b+10|0]=d;c:{if(!d){break c}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+60|0;h=a+288|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break c}while(1){M[((c<<1)+b|0)+60>>1]=N[((c<<2)+a|0)+288>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+191|0];L[b+11|0]=d;d:{if(!d){break d}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+88|0;h=a+344|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break d}while(1){M[((c<<1)+b|0)+88>>1]=N[((c<<2)+a|0)+344>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}N[b+108>>2]=N[a+384>>2];N[b+112>>2]=N[a+388>>2];N[b+116>>2]=N[a+392>>2];M[b+120>>1]=N[a+396>>2];M[b+122>>1]=N[a+400>>2];d=O[a+404|0];L[b+124|0]=d;e:{if(!d){break e}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+128|0;h=a+408|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break e}while(1){M[((c<<1)+b|0)+128>>1]=N[((c<<2)+a|0)+408>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+405|0];L[b+125|0]=d;f:{if(!d){break f}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+154|0;h=a+460|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break f}while(1){M[((c<<1)+b|0)+154>>1]=N[((c<<2)+a|0)+460>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}L[b+126|0]=O[a+512|0];N[b+184>>2]=N[a+524>>2];N[b+4>>2]=N[a+520>>2]}function Je(a,b){var 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;l=La-32|0;La=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{switch(a-29|0){case 0:a=N[b+8>>2];f=N[b+4>>2];l:{if(a>>>0>=f>>>0){a=f+1|0;N[b+8>>2]=a;d=275552;break l}d=N[b>>2]+a|0}j=O[d|0];d=a+1|0;m:{if(d>>>0>=f>>>0){a=f+1|0;N[b+8>>2]=a;d=275552;break m}d=d+N[b>>2]|0}g=O[d|0];d=a+2|0;n:{if(d>>>0>=f>>>0){a=f+1|0;N[b+8>>2]=a;d=275552;break n}d=d+N[b>>2]|0}e=a+3|0;o:{if(e>>>0>=f>>>0){a=f+1|0;f=275552;break o}f=e+N[b>>2]|0}m=b+16|0;e=O[d|0];d=O[f|0];f=N[b+20>>2];p:{if(f>>>0<=512){N[b+20>>2]=f+1;f=(m+(f<<3)|0)+8|0;break p}L[m|0]=1;N[147456]=0;N[147457]=0;f=589824}S[f>>3]=d|(g<<16|j<<24|e<<8);N[b+8>>2]=a+4;break a;case 1:a=N[b+8>>2];n=N[b+4>>2];if(a>>>0>n>>>0){break c}j=n+2|0;e=N[b>>2];while(1){q:{r:{s:{if(!(k&1)){d=a+1|0;if(d>>>0>n>>>0){break d}f=a+e|0;a=a>>>0>>0;f=O[(a?f:275552)|0];a=a?d:j;N[b+8>>2]=a;d=f>>>4|0;break s}d=f&15}switch(d-13|0){case 2:break r;case 0:break d;default:break q}}d=g+l|0;a=l;t:{if((g|0)<=0){break t}while(1){e=O[a|0];if(e-9>>>0>=5&(e|0)!=32){break t}a=a+1|0;if((d|0)!=(a|0)){continue}break}break f}if((a|0)==(d|0)){break f}g=1;u:{while(1){f=O[g+179647|0]+179456|0;e=L[g+179656|0];k=L[a|0];j=g<<1;g=O[j+179424|0];if((k|0)>=(g|0)){e=(k|0)>O[j+179425|0]?e:k-g|0}j=L[e+f|0];v:{if(587>>>j&1){break v}w:{switch(L[j+179675|0]-1|0){case 0:p=1;break v;case 3:m=1;break v;case 1:h=h*10+ +(k-48|0);break v;case 2:if(!(c<=450359962737049)){break v}c=c*10+ +(k-48|0);o=o+1;break v;case 4:break w;default:break v}}e=(k+T(i,10)|0)-48|0;g=e>>>0>2047;i=g?i:e;q=g|q}if((j|0)==1){break u}g=L[j+179665|0];a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}x:{if(o!=0){r=c;if(o<4294967296&o>=0){e=~~o>>>0}else{e=0}c=e&256?1e256:1;c=e&128?c*1e128:c;c=e&64?c*1e64:c;c=e&32?c*1e32:c;c=e&16?c*1e16:c;c=e&8?c*1e8:c;c=e&4?c*1e4:c;c=e&2?c*100:c;h=h+r/(e&1?c*10:c);if(p){break x}break j}if(!p){break j}}h=-h;if(!(q&1)){break i}break h}L[g+l|0]=O[d+20474|0];y:{if((d|0)!=12){d=g;break y}d=g+1|0;if((d|0)==32){break d}L[d+l|0]=45}g=d+1|0;k=k+1|0;if(d>>>0<31){continue}break};break d;default:break k}}uf(a,b);break a}if(q&1){break h}}if(!i){break e}c=i&256?1e256:1;c=i&128?c*1e128:c;c=i&64?c*1e64:c;c=i&32?c*1e32:c;c=i&16?c*1e16:c;c=i&8?c*1e8:c;c=i&4?c*1e4:c;c=i&2?c*100:c;c=i&1?c*10:c;if(!m){break g}h=h/c;break e}if(h==0){break e}if(m){h=p?-22250738585072014e-324:22250738585072014e-324;break e}h=p?-17976931348623157e292:17976931348623157e292;break e}h=c*h;break e}a=d}if((a|0)==(l|0)){break d}if((a|0)==(d|0)){break b}}N[b+8>>2]=n+1}h=0}d=b+16|0;a=N[b+20>>2];if(a>>>0<=512){N[b+20>>2]=a+1;S[(d+(a<<3)|0)+8>>3]=h;break a}L[d|0]=1;N[147456]=0;N[147457]=0;S[73728]=h}La=l+32|0}function dh(a,b){var 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;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break b}d=N[b+12>>2];f=d-2|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=a+2|0;if(f>>>0>h>>>0|h-f>>>0<2){break b}d=d-4|0;N[b+12>>2]=d;if((d|0)<=0){break b}c=1;f=O[f|0]|O[f+1|0]<<8;if(!f){break b}c=(f<<8|f>>>8)&65535;o=c>>>0<=1?1:c;n=c-1|0;a=a+4|0;c:{while(1){if(a>>>0>>0|a>>>0>h>>>0|h-a>>>0<6){break c}c=d-6|0;N[b+12>>2]=c;if((c|0)<=0){break c}c=N[b+32>>2];i=N[c+12>>2];N[b+4>>2]=i;c=N[c+16>>2];h=c+i|0;N[b+8>>2]=h;if((c|0)<0){break a}d:{e:{if(j>>>0>>0){f=j>>>0>>0?a:0;if(!(i>>>0<=f>>>0&f>>>0>>0)){N[b+4>>2]=0;N[b+8>>2]=0;f=0;c=0;break e}N[b+4>>2]=f;c=h-f|0;e=O[f+2|0]|O[f+3|0]<<8;e=(e<<8|e>>>8)&65535;c=(c>>>0>>0?c:e)+f|0;N[b+8>>2]=c;break e}c=h;f=i;if(f>>>0>a>>>0){break d}}if(a>>>0>c>>>0){break d}k=c-a|0;if(k>>>0<6){break d}d=d-12|0;N[b+12>>2]=d;if((d|0)<=0){break d}e=O[a+2|0]|O[a+3|0]<<8;l=(e<<8|e>>>8)&65535;if(l>>>0<6|k>>>0>>0){break d}d=d-l|0;N[b+12>>2]=d;if((d|0)<=0){break d}f:{g:{switch(O[a+4|0]){case 0:e=a+6|0;if(e>>>0>c>>>0|c-e>>>0<8){break d}f=d-8|0;N[b+12>>2]=f;if((d|0)<9){break d}d=O[e|0]|O[e+1|0]<<8;if(!d){d=f;break f}e=a+14|0;if(e>>>0>c>>>0){break d}g=c-e|0;c=T((d<<8|d>>>8)&65535,6);if(g>>>0>>0){break d}d=f-c|0;N[b+12>>2]=d;if((d|0)>0){break f}break d;case 2:break g;default:break f}}if(k>>>0<14){break d}e=d-14|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=a+8|0;if(e>>>0>c>>>0|c-e>>>0<2){break d}e=d-16|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[a+8|0]|O[a+9|0]<<8;g=((e<<8|e>>>8)&65535)+a|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<4){break d}e=d-20|0;N[b+12>>2]=e;if((e|0)<=0){break d}m=g+2|0;if(m>>>0>c>>>0|c-m>>>0<2){break d}e=d-22|0;N[b+12>>2]=e;if((e|0)<=0){break d}d=O[m|0]|O[m+1|0]<<8;if(d){g=g+4|0;if(g>>>0>c>>>0){break d}d=((d<<8|d>>>8)&65535)<<1;if(d>>>0>c-g>>>0){break d}e=e-d|0;N[b+12>>2]=e;if((e|0)<=0){break d}}d=a+10|0;if(d>>>0>c>>>0|c-d>>>0<2){break d}N[b+12>>2]=e-2;if((e|0)<3){break d}g=f;d=O[a+10|0]|O[a+11|0]<<8;f=((d<<8|d>>>8)&65535)+a|0;if(g>>>0>f>>>0|c>>>0>>0|c-f>>>0<4){break d}N[b+12>>2]=e-6;if((e|0)<7){break d}g=f+2|0;if(g>>>0>c>>>0|c-g>>>0<2){break d}d=e-8|0;N[b+12>>2]=d;if((e|0)<9){break d}e=O[g|0]|O[g+1|0]<<8;if(e){f=f+4|0;if(f>>>0>c>>>0){break d}f=c-f|0;c=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}c=O[a+12|0]|O[a+13|0]<<8;if(!c){break f}c=(c<<8|c>>>8)&65535;if(c>>>0>k>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}N[b+8>>2]=h;N[b+4>>2]=i;a=a+l|0;c=1;j=j+1|0;if((o|0)==(j|0)){break b}continue}break}N[b+8>>2]=h;N[b+4>>2]=i}c=0}return c}ba(16656,14279,195,9642);B()}function Uh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;N[a+4>>2]=c;N[a>>2]=b;N[a+416>>2]=N[c+124>>2];N[a+420>>2]=N[c+128>>2];N[a+428>>2]=N[c+136>>2];N[a+432>>2]=N[c+140>>2];N[a+424>>2]=N[c+132>>2];N[a+436>>2]=N[c+144>>2];N[a+216>>2]=N[c+120>>2];d=N[c+80>>2];N[a+248>>2]=N[c+76>>2];N[a+252>>2]=d;d=N[c+88>>2];N[a+256>>2]=N[c+84>>2];N[a+260>>2]=d;d=N[c+96>>2];N[a+264>>2]=N[c+92>>2];N[a+268>>2]=d;d=N[c+104>>2];N[a+272>>2]=N[c+100>>2];N[a+276>>2]=d;d=N[c+112>>2];N[a+280>>2]=N[c+108>>2];N[a+284>>2]=d;d=N[c+44>>2];f=N[d+4>>2];N[a+220>>2]=N[d>>2];N[a+224>>2]=f;f=N[d+12>>2];N[a+228>>2]=N[d+8>>2];N[a+232>>2]=f;f=N[d+20>>2];N[a+236>>2]=N[d+16>>2];N[a+240>>2]=f;N[a+244>>2]=N[d+24>>2];N[a+440>>2]=N[c+148>>2];N[a+444>>2]=N[c+152>>2];d=N[c+160>>2];N[a+464>>2]=N[c+156>>2];N[a+468>>2]=d;d=N[c+168>>2];N[a+472>>2]=N[c+164>>2];N[a+476>>2]=d;d=N[c+176>>2];N[a+480>>2]=N[c+172>>2];N[a+484>>2]=d;F(a+288|0,c+180|0,68);N[a+388>>2]=N[c+248>>2];N[a+392>>2]=N[c+252>>2];M[a+488>>1]=P[c+256>>1];N[a+492>>2]=N[c+260>>2];d=N[c+268>>2];N[a+180>>2]=N[c+264>>2];N[a+184>>2]=d;d=N[c+276>>2];N[a+188>>2]=N[c+272>>2];N[a+192>>2]=d;d=N[c+284>>2];N[a+196>>2]=N[c+280>>2];N[a+200>>2]=d;d=N[c+292>>2];N[a+204>>2]=N[c+288>>2];N[a+208>>2]=d;N[a+212>>2]=N[c+296>>2];C(a+36|0,0,108);e=N[a+8>>2];a:{b:{d=P[b+284>>1]+32|0;c=N[a+20>>2];c:{if(d>>>0<=c>>>0){d=c;break c}g=d<<2;h=c<<2;d:{if(!c){e=Qa[N[e+4>>2]](e,g)|0;f=!e<<6;break d}i=N[a+24>>2];f=Qa[N[e+12>>2]](e,h,g,i)|0;e=f?f:i;f=!f<<6}e:{if(!(f|!e)){C(e+h|0,0,g-h|0);N[a+24>>2]=e;break e}N[a+24>>2]=e;if(f){break b}}e=N[a+8>>2]}N[a+20>>2]=d;b=P[b+286>>1];c=N[a+408>>2];if(b>>>0<=c>>>0){b=c;break a}d=N[a+412>>2];if((c|0)<0){N[a+412>>2]=d;N[a+408>>2]=c;return 6}f:{if(!c){e=Qa[N[e+4>>2]](e,b)|0;d=!e<<6;break f}f=Qa[N[e+12>>2]](e,c,b,d)|0;e=f?f:d;d=!f<<6}if(!(d|(b|0)<=(c|0)|!e)){C(c+e|0,0,b-c|0);N[a+412>>2]=e;break a}N[a+412>>2]=e;if(!d){break a}N[a+408>>2]=c;return d}N[a+20>>2]=c;return f}N[a+408>>2]=b;N[a+152>>2]=0;N[a+104>>2]=N[a+176>>2];b=N[a+172>>2];N[a+96>>2]=N[a+168>>2];N[a+100>>2]=b;b=N[a+164>>2];N[a+88>>2]=N[a+160>>2];N[a+92>>2]=b;b=N[a+148>>2];N[a+72>>2]=N[a+144>>2];N[a+76>>2]=b;b=N[a+156>>2];N[a+80>>2]=N[a+152>>2];N[a+84>>2]=b;N[a+140>>2]=N[a+176>>2];b=N[a+172>>2];N[a+132>>2]=N[a+168>>2];N[a+136>>2]=b;b=N[a+164>>2];N[a+124>>2]=N[a+160>>2];N[a+128>>2]=b;b=N[a+156>>2];N[a+116>>2]=N[a+152>>2];N[a+120>>2]=b;b=N[a+148>>2];N[a+108>>2]=N[a+144>>2];N[a+112>>2]=b;N[a+68>>2]=N[a+176>>2];b=N[a+172>>2];N[a+60>>2]=N[a+168>>2];N[a+64>>2]=b;b=N[a+164>>2];N[a+52>>2]=N[a+160>>2];N[a+56>>2]=b;b=N[a+156>>2];N[a+44>>2]=N[a+152>>2];N[a+48>>2]=b;b=N[a+148>>2];N[a+36>>2]=N[a+144>>2];N[a+40>>2]=b;L[a+520|0]=0;return 0}function qp(a,b,c,d){var 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,t=0,u=0,v=0;if(!(O[a+16|0]&8)){e=T(c,204)+b|0;i=N[e+204>>2];o=N[e+200>>2];e=o>>31;m=N[a>>2];g=m>>31;j=(e^o)-e|0;r=j>>>8|0;e=(g^m)-g|0;a:{if(r+e>>>0<=8190){g=T(e,j)+32768>>>16|0;break a}g=e&65535;g=T(g,j>>>16|0)+T(e>>>16|0,j)+(T(g,j&65535)+32768>>>16)|0}e=g;f=0-e|0;e=m>>31|1;g=i+((((o|0)<0?0-e|0:e)|0)<0?f:g)|0;n=N[a+4>>2];e=n>>31;e=(e^n)-e|0;b:{if(e+r>>>0<=8190){i=T(e,j)+32768>>>16|0;break b}f=e&65535;i=T(f,j>>>16|0)+T(e>>>16|0,j)+(T(f,j&65535)+32768>>>16)|0}e=i;f=0-e|0;e=n>>31|1;f=(((o|0)<0?0-e|0:e)|0)<0?f:i;c:{d:{e:{f:{g:{switch(c|0){case 1:if(O[d+121|0]){break f}break d;case 0:if(!O[d+120|0]){break d}k=O[d+122|0]!=0;break;default:break g}}N[a+12>>2]=f;break e}s=O[d+123|0];N[a+12>>2]=f;u=O[b+2492|0];i=2;e=N[b+412>>2];h:{i:{if(!e){break i}k=m+n|0;h=b+416|0;l=N[b+2488>>2];p=0-l|0;while(1){q=k-N[h+12>>2]|0;if((q|0)<(p|0)){break i}if((k|0)<=(l+N[h+8>>2]|0)){if(!u){e=0;if((q|0)>N[b+2484>>2]){break h}}t=N[h+16>>2];i=3;e=1;break h}h=h+32|0;e=e-1|0;if(e){continue}break}}e=0}k=N[b+928>>2];j:{if(!k){l=0;break j}l=0;p=N[b+2488>>2];q=0-p|0;h=((k<<5)+b|0)+932|0;while(1){v=N[h-24>>2]-m|0;if((q|0)>(v|0)){break j}if((N[h-20>>2]-p|0)>(m|0)){h=h-32|0;k=k-1|0;if(k){continue}break j}break}if(!u&N[b+2484>>2]<=(v|0)){break j}l=N[h-16>>2];e=i}k=(s|0)!=0;k:{switch(e-1|0){case 1:N[a+8>>2]=l;if(!s){break c}N[a+12>>2]=(f|0)<64?64:f+32&-64;break c;case 2:N[a+8>>2]=l;N[a+12>>2]=t-l;break c;case 0:break k;default:break e}}N[a+8>>2]=t-f;if(!s){break c}b=(f|0)<64?64:f+32&-64;N[a+12>>2]=b;N[a+8>>2]=t-b;break c}e=N[a+20>>2];if(e){if(!(O[e+16|0]&8)){qp(e,b,c,d);n=N[a+4>>2];m=N[a>>2]}l=(N[e+8>>2]-(f>>1)|0)+(N[e+12>>2]>>1)|0;g=(m-(N[e>>2]+(N[e+4>>2]>>1)|0)|0)+(n>>1)|0;e=g>>31;e=(e^g)-e|0;l:{if(e+r>>>0<=8190){i=T(e,j)+32768>>>16|0;break l}h=e&65535;i=T(h,j>>>16|0)+T(e>>>16|0,j)+(T(h,j&65535)+32768>>>16)|0}e=i;h=0-e|0;e=g>>31|1;g=l+((((o|0)<0?0-e|0:e)|0)<0?h:i)|0}m:{if(!O[d+124|0]){break m}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;f=64;break m}b=g+32&-64;if((f|0)<=0){g=b;break m}e=b-g|0;c=e>>31;d=f+g|0;g=d+32&-64;i=g-d|0;d=i>>31;g=(c^e)-c>>>0>(d^i)-d>>>0?g:b;break m}b=N[(T(c,204)+b|0)+12>>2];d=f-b|0;c=d>>31;f=(c^d)-c>>>0<40?(b|0)<=48?48:b:f;if(f>>>0<=191){b=f&63;if(b>>>0<10){break m}c=f&-64;if(b>>>0<=31){f=c|10;break m}f=b>>>0<54?c|54:f;break m}f=f+32&-64}N[a+12>>2]=f;b=(g+32&-64)-g|0;c=b>>31;d=f+g|0;d=(d+32&-64)-d|0;e=d>>31;c=((b^c)-c>>>0>(d^e)-e>>>0?d:b)+g|0;N[a+8>>2]=c;if(!k){break c}d=(f|0)<64?64:f+32&-64;b=d>>1;N[a+12>>2]=d;N[a+8>>2]=(d&64?b+c&-64|32:(b+c|0)+32&-64)-b;break c}N[a+12>>2]=f;N[a+8>>2]=g}N[a+16>>2]=N[a+16>>2]|8}}function ye(a,b,c,d){var 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,t=0;e=La-288|0;La=e;a:{if(O[a+52|0]){L[a+52|0]=0;N[a+56>>2]=0;N[a+60>>2]=0;d=N[c+12>>2];N[a+88>>2]=N[c+8>>2];N[a+92>>2]=d;d=N[c+4>>2];N[a+80>>2]=N[c>>2];N[a+84>>2]=d;d=N[c+4>>2];N[a+64>>2]=N[c>>2];N[a+68>>2]=d;d=N[c+12>>2];N[a+72>>2]=N[c+8>>2];N[a+76>>2]=d;c=N[b+4>>2];N[a+96>>2]=N[b>>2];N[a+100>>2]=c;f=1;break a}k=S[a+80>>3];o=S[c>>3];l=S[a+88>>3];p=S[c+8>>3];m=k*o+l*p;if(m>S[a+112>>3]){m=1/(m+1);S[a+88>>3]=m*(l+p);S[a+80>>3]=(k+o)*m;f=1;break a}g=N[c+4>>2];N[a+80>>2]=N[c>>2];N[a+84>>2]=g;g=N[c+12>>2];N[a+88>>2]=N[c+8>>2];N[a+92>>2]=g;h=k*p-o*l;n=h<0?1:2;b:{if(!(n&d)){break b}q=n&(N[a+60>>2]^-1);r=N[b+4>>2];j=l*S[a+24>>3];c:{if(V(j)<2147483648){g=~~j;break c}g=-2147483648}f=q&1;j=k*S[a+16>>3];d:{if(V(j)<2147483648){i=~~j;break d}i=-2147483648}s=N[b>>2];if(f){N[e+164>>2]=g+r;N[e+160>>2]=i+s;t=N[a>>2];f=N[e+164>>2];N[e+112>>2]=N[e+160>>2];N[e+116>>2]=f;f=0;if(!Fb(t,e+112|0,1)){break a}}if(q>>>0>=2){N[e+164>>2]=r-g;N[e+160>>2]=s-i;g=N[a+4>>2];i=N[e+164>>2];N[e+104>>2]=N[e+160>>2];N[e+108>>2]=i;f=0;if(!Fb(g,e+104|0,1)){break a}}j=S[a+24>>3]*0;e:{if(V(j)<2147483648){g=~~j;break e}g=-2147483648}f=n&1;j=S[a+16>>3]*0;f:{if(V(j)<2147483648){i=~~j;break f}i=-2147483648}if(f){N[e+164>>2]=g+r;N[e+160>>2]=i+s;q=N[a>>2];f=N[e+164>>2];N[e+96>>2]=N[e+160>>2];N[e+100>>2]=f;f=0;if(!Fb(q,e+96|0,1)){break a}}if(h<0){break b}N[e+164>>2]=r-g;N[e+160>>2]=s-i;g=N[a+4>>2];i=N[e+164>>2];N[e+88>>2]=N[e+160>>2];N[e+92>>2]=i;f=0;if(!Fb(g,e+88|0,1)){break a}}N[a+60>>2]=n;d=(n^-1)&d;f=1;if(!d){break a}S[e+136>>3]=l;S[e+128>>3]=k;g=N[b+4>>2];N[e+120>>2]=N[b>>2];N[e+124>>2]=g;h=m;if(h<0){h=(d&2?-.7071067811865476:.7071067811865476)/aa(1-m);S[e+152>>3]=h*(k-o);S[e+144>>3]=h*(p-l);h=m*.5+.5;h=aa(h<0?0:h)}k=S[a+120>>3];g:{if(!(k>h)){b=15;break g}b=15;while(1){h=h+1;l=.7071067811865476/aa(h);S[(e+160|0)+(b<<3)>>3]=l;b=b-1|0;h=h*l;if(!(k>h)){break g}if(b){continue}break}}g=(e+160|0)+(b<<3)|0;S[g>>3]=1/(h+1);i=15-b|0;b=e+128|0;if(m<0){b=N[e+140>>2];N[e+72>>2]=N[e+136>>2];N[e+76>>2]=b;b=N[e+156>>2];N[e+56>>2]=N[e+152>>2];N[e+60>>2]=b;b=N[e+124>>2];N[e+80>>2]=N[e+120>>2];N[e+84>>2]=b;b=N[e+132>>2];N[e+64>>2]=N[e+128>>2];N[e+68>>2]=b;b=N[e+148>>2];N[e+48>>2]=N[e+144>>2];N[e+52>>2]=b;b=e+144|0;f=0;if(!Bd(a,e+80|0,e- -64|0,e+48|0,g,i,d)){break a}}f=N[e+124>>2];N[e+40>>2]=N[e+120>>2];N[e+44>>2]=f;f=N[b+12>>2];N[e+32>>2]=N[b+8>>2];N[e+36>>2]=f;f=N[b+4>>2];N[e+24>>2]=N[b>>2];N[e+28>>2]=f;b=N[c+12>>2];N[e+16>>2]=N[c+8>>2];N[e+20>>2]=b;b=N[c+4>>2];N[e+8>>2]=N[c>>2];N[e+12>>2]=b;f=Bd(a,e+40|0,e+24|0,e+8|0,g,i,d)}La=e+288|0;return f}function ub(a,b){var 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;c=O[b|0];if(!c){return a}a=lc(a,c<<24>>24);a:{if(!a){break a}f=O[b+1|0];if(!f){return a}if(!O[a+1|0]){break a}if(!O[b+2|0]){b=O[a+1|0];e=(b|0)!=0;b:{if(!b){break b}d=b|O[a|0]<<8;f=c<<8|f;if((d|0)==(f|0)){break b}b=a+1|0;while(1){a=b;c=O[b+1|0];e=(c|0)!=0;if(!c){break b}b=a+1|0;d=c|d<<8&65280;if((f|0)!=(d|0)){continue}break}}return e?a:0}if(!O[a+2|0]){break a}if(!O[b+3|0]){c=a;a=a+2|0;d=O[c+2|0];e=(d|0)!=0;c:{d:{if(!d){break d}c=O[c+1|0]<<16|O[c|0]<<24|d<<8;f=O[b+1|0]<<16|O[b|0]<<24|O[b+2|0]<<8;if((c|0)==(f|0)){break d}while(1){b=a+1|0;d=O[a+1|0];e=(d|0)!=0;if(!d){break c}a=b;c=(c|d)<<8;if((f|0)!=(c|0)){continue}break}break c}b=a}return e?b-2|0:0}if(!O[a+3|0]){break a}if(!O[b+4|0]){c=a;a=a+3|0;d=O[c+3|0];e=(d|0)!=0;e:{f:{if(!d){break f}d=d|(O[c+1|0]<<16|O[c|0]<<24|O[c+2|0]<<8);b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((d|0)==(f|0)){break f}while(1){b=a+1|0;c=O[a+1|0];e=(c|0)!=0;if(!c){break e}a=b;d=c|d<<8;if((f|0)!=(d|0)){continue}break}break e}b=a}return e?b-3|0:0}d=a;c=0;i=La-1056|0;La=i;a=i+1048|0;N[a>>2]=0;N[a+4>>2]=0;a=i+1040|0;N[a>>2]=0;N[a+4>>2]=0;N[i+1032>>2]=0;N[i+1036>>2]=0;N[i+1024>>2]=0;N[i+1028>>2]=0;k=b;g:{h:{i:{j:{b=O[b|0];k:{if(!b){j=-1;a=1;break k}while(1){if(!O[d+g|0]){break h}g=g+1|0;N[((b&255)<<2)+i>>2]=g;a=(i+1024|0)+(b>>>3&28)|0;N[a>>2]=N[a>>2]|1<>>0>1){break j}}e=-1;h=1;break i}f=1;b=1;while(1){e=O[k+(b+j|0)|0];h=O[a+k|0];l:{if((e|0)==(h|0)){if((b|0)==(f|0)){c=c+f|0;b=1;break l}b=b+1|0;break l}if(e>>>0>h>>>0){f=a-j|0;c=a;b=1;break l}j=c;c=c+1|0;f=1;b=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}e=-1;c=0;a=1;h=1;b=1;while(1){m=O[k+(b+e|0)|0];l=O[a+k|0];m:{if((m|0)==(l|0)){if((b|0)==(h|0)){c=c+h|0;b=1;break m}b=b+1|0;break m}if(l>>>0>m>>>0){h=a-e|0;c=a;b=1;break m}e=c;c=c+1|0;h=1;b=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}a=f}b=a;a=e+1>>>0>j+1>>>0;h=a?h:b;l=a?e:j;m=l+1|0;n:{if(Mb(k,k+h|0,m)){a=(l^-1)+g|0;h=(a>>>0>>0?l:a)+1|0;f=0;break n}f=g-h|0}o=g-1|0;n=g|63;e=0;a=d;while(1){o:{if(d-a>>>0>=g>>>0){break o}b=qe(d,0,n);if(b){d=b;if(b-a>>>0>>0){break h}break o}d=d+n|0}c=O[a+o|0];b=g;p:{q:{if(!(N[(i+1024|0)+(c>>>3&28)>>2]>>>c&1)){break q}b=N[(c<<2)+i>>2];if((b|0)!=(g|0)){b=g-b|0;b=b>>>0>e>>>0?b:e;break q}r:{b=m;c=b>>>0>e>>>0?b:e;j=O[k+c|0];if(j){while(1){if(O[a+c|0]!=(j&255)){break r}c=c+1|0;j=O[k+c|0];if(j){continue}break}}while(1){if(b>>>0<=e>>>0){break g}b=b-1|0;if(O[k+b|0]==O[a+b|0]){continue}break}b=h;e=f;break p}b=c-l|0}e=0}a=a+b|0;continue}}a=0}La=i+1056|0;e=a}return e}function oE(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0;e=La-48|0;La=e;if(ib(c,b,11986,0)){r=wf(b,c,1,11,-1,-1);p=N[c+68>>2];if(p){j=p-1|0;l=N[c+80>>2];g=l+3|0;h=O[l+15|0];k=h;while(1){a:{if((d|0)==(j|0)){d=p;break a}d=d+1|0;if((k|0)==O[(g+T(d,20)|0)+12|0]){continue}}break}k=0;s=a;a=p;while(1){j=d;b:{if(h&14){break b}g=k+1|0;if(j>>>0<=g>>>0){break b}m=N[s+112>>2];h=N[m+8>>2]|N[m+4>>2]|N[m+12>>2];a=0;d=g;i=j+(k^-1)&3;if(i){while(1){n=T(d,20)+l|0;N[n+4>>2]=h|N[n+4>>2];d=d+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if((j-k|0)-2>>>0>2){while(1){a=T(d,20)+l|0;N[a+4>>2]=h|N[a+4>>2];N[a+24>>2]=h|N[a+24>>2];N[a+44>>2]=h|N[a+44>>2];a=a- -64|0;N[a>>2]=h|N[a>>2];d=d+4|0;if((j|0)!=(d|0)){continue}break}}t=j-3|0;u=j+2|0;q=l+2|0;n=T(g,20)+l|0;i=T(k,20)+l|0;v=i+40|0;d=0;while(1){h=g;g=T(h,20);a=g+l|0;f=O[(g+q|0)+16|0];c:{if(!((f|0)!=4|d>>>0>2)){g=h+1|0;if(j>>>0<=g>>>0){break c}f=T(g,20);if(O[(f+q|0)+16|0]!=15){d=d+1|0;break c}N[a+4>>2]=N[a+4>>2]|N[m>>2];f=f+l|0;N[f+4>>2]=N[f+4>>2]|N[m>>2];d=h+2|0;if(d-k>>>0>=2){Ib(c,k,d)}N[e+40>>2]=N[a+16>>2];o=N[a+12>>2];N[e+32>>2]=N[a+8>>2];N[e+36>>2]=o;o=N[a+4>>2];N[e+24>>2]=N[a>>2];N[e+28>>2]=o;N[e+16>>2]=N[f+16>>2];a=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=a;a=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=a;F(v,i,T(h-k|0,20));N[i+16>>2]=N[e+40>>2];a=N[e+36>>2];N[i+8>>2]=N[e+32>>2];N[i+12>>2]=a;a=N[e+28>>2];N[i>>2]=N[e+24>>2];N[i+4>>2]=a;N[n+16>>2]=N[e+16>>2];a=N[e+12>>2];N[n+8>>2]=N[e+8>>2];N[n+12>>2]=a;a=N[e+4>>2];N[n>>2]=N[e>>2];N[n+4>>2]=a;d:{if(!N[m+16>>2]|d>>>0>=j>>>0){break d}a=0;f=u-h&3;if(f){while(1){o=T(d,20)+l|0;N[o+4>>2]=N[o+4>>2]|N[m+16>>2];d=d+1|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}}if(t-h>>>0<3){break d}while(1){a=T(d,20)+l|0;N[a+4>>2]=N[a+4>>2]|N[m+16>>2];N[a+24>>2]=N[a+24>>2]|N[m+16>>2];N[a+44>>2]=N[a+44>>2]|N[m+16>>2];a=a- -64|0;N[a>>2]=N[a>>2]|N[m+16>>2];d=d+4|0;if((j|0)!=(d|0)){continue}break}}d=2;break c}g=h+1|0;if((f|0)!=22){break c}if(g-k>>>0>=2){Ib(c,k,g)}N[e+40>>2]=N[a+16>>2];f=N[a+12>>2];N[e+32>>2]=N[a+8>>2];N[e+36>>2]=f;f=N[a+4>>2];N[e+24>>2]=N[a>>2];N[e+28>>2]=f;F(n,i,T(h-k|0,20));N[i+16>>2]=N[e+40>>2];a=N[e+36>>2];N[i+8>>2]=N[e+32>>2];N[i+12>>2]=a;a=N[e+28>>2];N[i>>2]=N[e+24>>2];N[i+4>>2]=a}if((j|0)!=(g|0)){continue}break}l=N[c+80>>2];a=N[c+68>>2]}d=j+1|0;g=a>>>0>d>>>0?a:d;k=g-1|0;i=l+3|0;h=O[(T(j,20)+l|0)+15|0];d=j;while(1){e:{if((d|0)==(k|0)){d=g;break e}d=d+1|0;if(O[(i+T(d,20)|0)+12|0]==(h|0)){continue}}break}k=j;if(j>>>0

>>0){continue}break}}ib(c,b,12009,0)}a=O[c+140|0];if(a&64){L[c+140|0]=a&191;La=e+48|0;return r|0}ba(22742,14165,187,12136);B()}function ff(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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,N=0,O=0,Q=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;h=La-48|0;l=f<<1;o=l+c|0;a:{if(!o){break a}if(!d){while(1){g=g+8|0;if(o>>>0>g>>>0){continue}break a}}p=T(c+7&-8,d);g=l+7|0;c=g>>>3|0;Z=1-c|0;q=d<<3;r=0-c|0;_=T(q,r);$=g&8;aa=0-f|0;i=h+32|0;l=i+(r<<4)|0;I=i-(f<<1)|0;s=7-f|0;J=(s<<1)+i|0;t=6-f|0;K=(t<<1)+i|0;u=5-f|0;L=(u<<1)+i|0;v=4-f|0;N=(v<<1)+i|0;w=3-f|0;O=(w<<1)+i|0;x=2-f|0;Q=(x<<1)+i|0;y=1-f|0;R=(y<<1)+i|0;while(1){z=0;while(1){g=r;if(!$){c=n+_|0;h=c>>>0>=p>>>0?440592:(c<<1)+b|0;g=P[h+4>>1]|P[h+6>>1]<<16;c=P[h>>1]|P[h+2>>1]<<16;M[l>>1]=c;M[l+2>>1]=c>>>16;M[l+4>>1]=g;M[l+6>>1]=g>>>16;g=P[h+12>>1]|P[h+14>>1]<<16;c=P[h+8>>1]|P[h+10>>1]<<16;M[l+8>>1]=c;M[l+10>>1]=c>>>16;M[l+12>>1]=g;M[l+14>>1]=g>>>16;g=Z}while(1){h=T(g,q)+n|0;j=h>>>0>=p>>>0?440592:(h<<1)+b|0;k=P[j+4>>1]|P[j+6>>1]<<16;c=(g<<4)+i|0;h=P[j>>1]|P[j+2>>1]<<16;M[c>>1]=h;M[c+2>>1]=h>>>16;M[c+4>>1]=k;M[c+6>>1]=k>>>16;k=P[j+12>>1]|P[j+14>>1]<<16;h=P[j+8>>1]|P[j+10>>1]<<16;M[c+8>>1]=h;M[c+10>>1]=h>>>16;M[c+12>>1]=k;M[c+14>>1]=k>>>16;k=g+1|0;m=(k<<4)+i|0;c=T(k,q)+n|0;j=c>>>0>=p>>>0?440592:(c<<1)+b|0;h=P[j+12>>1]|P[j+14>>1]<<16;c=P[j+8>>1]|P[j+10>>1]<<16;M[m+8>>1]=c;M[m+10>>1]=c>>>16;M[m+12>>1]=h;M[m+14>>1]=h>>>16;h=P[j+4>>1]|P[j+6>>1]<<16;c=P[j>>1]|P[j+2>>1]<<16;M[m>>1]=c;M[m+2>>1]=c>>>16;M[m+4>>1]=h;M[m+6>>1]=h>>>16;g=g+2|0;if(k){continue}break}S=P[J>>1];U=P[K>>1];V=P[L>>1];W=P[N>>1];X=P[O>>1];m=P[Q>>1];j=P[R>>1];k=P[I>>1];A=32768;B=32768;C=32768;D=32768;E=32768;F=32768;G=32768;H=32768;g=f;while(1){c=g-1|0;h=M[(c<<1)+e>>1];A=T(h,(P[(g+s<<1)+i>>1]-S<<16>>16)+(P[(s-g<<1)+i>>1]-S<<16>>16)|0)+A|0;B=T(h,(P[(g+t<<1)+i>>1]-U<<16>>16)+(P[(t-g<<1)+i>>1]-U<<16>>16)|0)+B|0;C=T(h,(P[(g+u<<1)+i>>1]-V<<16>>16)+(P[(u-g<<1)+i>>1]-V<<16>>16)|0)+C|0;D=T(h,(P[(g+v<<1)+i>>1]-W<<16>>16)+(P[(v-g<<1)+i>>1]-W<<16>>16)|0)+D|0;E=T(h,(P[(g+w<<1)+i>>1]-X<<16>>16)+(P[(w-g<<1)+i>>1]-X<<16>>16)|0)+E|0;F=T(h,(P[(g+x<<1)+i>>1]-m<<16>>16)+(P[(x-g<<1)+i>>1]-m<<16>>16)|0)+F|0;G=T(h,(P[(g+y<<1)+i>>1]-j<<16>>16)+(P[(y-g<<1)+i>>1]-j<<16>>16)|0)+G|0;H=T(h,(P[(g-f<<1)+i>>1]-k<<16>>16)+(P[(aa-g<<1)+i>>1]-k<<16>>16)|0)+H|0;h=(g|0)>1;g=c;if(h){continue}break}M[a>>1]=P[I>>1]+(H>>>16|0);M[a+2>>1]=P[R>>1]+(G>>>16|0);M[a+4>>1]=P[Q>>1]+(F>>>16|0);M[a+6>>1]=P[O>>1]+(E>>>16|0);M[a+8>>1]=P[N>>1]+(D>>>16|0);M[a+10>>1]=P[L>>1]+(C>>>16|0);M[a+12>>1]=P[K>>1]+(B>>>16|0);M[a+14>>1]=P[J>>1]+(A>>>16|0);n=n+8|0;a=a+16|0;z=z+1|0;if((z|0)!=(d|0)){continue}break}Y=Y+8|0;if(Y>>>0>>0){continue}break}}}function Kv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0,w=0;e=La-1536|0;La=e;g=6;j=N[a+4>>2];a:{if(Q[j+16>>2]<=c>>>0){break a}h=N[j+136>>2];N[a+164>>2]=N[b+16>>2];N[a+168>>2]=N[b+20>>2];p=d&1024?d|3:d;n=p&1;L[a+161|0]=!n;d=!(p&3);L[a+160|0]=d;N[a+108>>2]=0;N[a+72>>2]=1869968492;g=Qa[N[N[h+12>>2]>>2]](e+20|0,j,b,a,0,0,d,p>>>16&15,155)|0;if(g){break a}f=p&1024;L[e+89|0]=f>>>10;g=um(e+20|0,c);if(!g){k=O[a+161|0];g=O[a+160|0];d=e+1408|0;c=N[d+4>>2];N[e+8>>2]=N[d>>2];N[e+12>>2]=c;c=N[e+1404>>2];N[e>>2]=N[e+1400>>2];N[e+4>>2]=c;o=N[e+1420>>2];l=N[e+1416>>2];Qa[N[N[h+12>>2]+4>>2]](e+20|0);h=N[a+124>>2]&1;N[a+124>>2]=h|4;if(f){b=N[e+52>>2];N[a+32>>2]=((b>>31)+b|0)+32768>>16;b=N[e+60>>2];N[a+40>>2]=((b>>31)+b|0)+32768>>16;h=N[e+8>>2];d=N[e+12>>2];c=N[e>>2];b=N[e+4>>2];a=N[a+156>>2];N[a+28>>2]=l;N[a+32>>2]=o;L[a+8|0]=1;N[a+20>>2]=h;N[a+24>>2]=d;N[a+12>>2]=c;N[a+16>>2]=b;g=0;break a}c=N[e+60>>2];f=((c>>31)+c|0)+32768>>16;N[a+56>>2]=f;N[a+40>>2]=f;L[N[a+156>>2]+8|0]=0;d=N[j+200>>2];c=N[j+208>>2];N[a+72>>2]=1869968492;m=c-d>>16;N[a+60>>2]=m;N[a+52>>2]=m;if(P[b+14>>1]<=23){N[a+124>>2]=h|260}b=a+108|0;b:{if(!(N[e+4>>2]|(N[e>>2]!=65536|N[e+12>>2]!=65536))){if(!N[e+8>>2]){break b}}kg(b,e);f=ob(N[a+40>>2],N[e>>2]);N[a+40>>2]=f;m=ob(N[a+52>>2],N[e+12>>2]);N[a+52>>2]=m}if(l|o){te(b,l,o);f=l+N[a+40>>2]|0;N[a+40>>2]=f;m=o+N[a+52>>2]|0;N[a+52>>2]=m}if(!(k?0:n)){s=N[a+168>>2];t=N[a+164>>2];c:{if(N[e+92>>2]?g:0){break c}g=N[e+36>>2];b=M[g+2>>1];if((b|0)<=0){break c}b=b&65535;c=s>>31;q=(c^s)-c|0;o=q&65535;l=q>>>16|0;n=q>>>8|0;c=t>>31;r=(c^t)-c|0;k=r&65535;h=r>>>16|0;d=r>>>8|0;g=N[g+4>>2];while(1){j=N[g>>2];c=j>>31;i=(c^j)-c|0;d:{if(i+d>>>0<=8190){i=T(i,r)+32768>>>16|0;break d}c=i&65535;i=T(c,h)+T(r,i>>>16|0)+(T(c,k)+32768>>>16)|0}c=i;u=0-c|0;c=j>>31|1;N[g>>2]=(((t|0)<0?0-c|0:c)|0)<0?u:i;j=N[g+4>>2];c=j>>31;i=(c^j)-c|0;e:{if(i+n>>>0<=8190){i=T(i,q)+32768>>>16|0;break e}c=i&65535;i=T(c,l)+T(q,i>>>16|0)+(T(c,o)+32768>>>16)|0}c=i;u=0-c|0;c=j>>31|1;N[g+4>>2]=(((s|0)<0?0-c|0:c)|0)<0?u:i;g=g+8|0;c=b>>>0>1;b=b-1|0;if(c){continue}break}}v=a,w=ob(f,t),N[v+40>>2]=w;m=ob(m,s);N[a+52>>2]=m}g=0;d=0;h=0;b=0;c=0;k=M[a+110>>1];f:{if(!k){break f}f=N[a+112>>2];b=N[f+4>>2];c=N[f>>2];if((k|0)<2){d=b;h=c;break f}n=(k<<3)+f|0;k=f+8|0;h=c;d=b;while(1){l=N[f+12>>2];d=(d|0)<(l|0)?l:d;b=(b|0)>(l|0)?l:b;f=N[f+8>>2];h=(f|0)>(h|0)?f:h;c=(c|0)>(f|0)?f:c;f=k;k=f+8|0;if(n>>>0>k>>>0){continue}break}}N[a+36>>2]=d;N[a+32>>2]=c;N[a+28>>2]=d-b;N[a+24>>2]=h-c;if(!(p&16)){break a}tn(a+24|0,m);break a}Qa[N[N[h+12>>2]+4>>2]](e+20|0)}La=e+1536|0;return g|0}function Wu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[a+492>>2];h=N[b+8>>2];Qa[N[b+28>>2]](b);d=N[b>>2];if(h>>>0<=d>>>0){N[b+12>>2]=3;return}a:{b:{c:{j=O[d|0];if(!((j|0)!=91&j-48>>>0>9)){e=N[b+16>>2];if((j|0)==91){N[b>>2]=d+1;f=256;break c}f=Qa[N[b+36>>2]](b)|0;if((f|0)<257){break c}N[b+12>>2]=3;return}d:{if(d+17>>>0>=h>>>0){break d}if(bb(d,14716,16)){break d}N[a+368>>2]=2;return}e:{if(d+15>>>0>=h>>>0){break e}if(bb(d,14701,14)){break e}N[a+368>>2]=4;return}f:{if(d+18>>>0>=h>>>0){break f}if(bb(d,14733,17)){break f}N[a+368>>2]=3;return}N[b+12>>2]=162;break b}Qa[N[b+28>>2]](b);if(Q[b>>2]>=h>>>0){break b}i=b+92|0;g=a;a=a+384|0;c=N[a>>2];g:{if(!c){break g}Qa[N[e+8>>2]](e,c);N[g+384>>2]=0;c=N[g+388>>2];if(c){Qa[N[e+8>>2]](e,c)}N[g+388>>2]=0;c=N[b+140>>2];if(!c){break g}Qa[c|0](i)}N[g+372>>2]=f;N[b+88>>2]=f;if((f|0)<0){N[g+384>>2]=0;N[b+12>>2]=6;return}h:{i:{j:{k:{l:{m:{n:{if(f){if((f|0)>1073741823){break l}c=f<<1;a=Qa[N[e+4>>2]](e,c)|0;if(a?(f|0)>0:0){break n}N[g+384>>2]=a;if(a){break m}N[b+12>>2]=!a<<6;return}c=0;N[g+384>>2]=0;break j}C(a,0,c);N[g+384>>2]=a}if((f|0)<536870912){break k}a=g+388|0}N[a>>2]=0;N[b+12>>2]=10;return}a=f<<2;c=Qa[N[e+4>>2]](e,a)|0;if(!c|(f|0)<=0){break i}C(c,0,a)}N[g+388>>2]=c;break h}N[g+388>>2]=c;if(c){break h}a=!c<<6;break a}a=Qa[N[N[k>>2]>>2]](i,f,e)|0;if(a){break a}o:{if((f|0)<=0){break o}e=0;a=0;if(f>>>0>=4){c=f&-4;while(1){Qa[N[b+136>>2]](i,a,15265,8)|0;Qa[N[b+136>>2]](i,a|1,15265,8)|0;Qa[N[b+136>>2]](i,a|2,15265,8)|0;Qa[N[b+136>>2]](i,a|3,15265,8)|0;a=a+4|0;if((c|0)!=(a|0)){continue}break}}c=f&3;if(!c){break o}while(1){Qa[N[b+136>>2]](i,a,15265,8)|0;a=a+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}Qa[N[b+28>>2]](b);a=N[b>>2];p:{if(h>>>0<=a>>>0){break p}k=(j|0)==91;c=0;while(1){q:{r:{s:{e=O[a|0];switch(e-93|0){case 0:break r;case 7:break s;default:break q}}d=a+3|0;if(O[a+1|0]!=101|h>>>0<=d>>>0|O[a+2|0]!=102){break q}switch(O[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break p;default:break q}}d=a+1|0;break p}t:{u:{if(!(!k&e-48>>>0>9)){if(k){d=a;e=c;break u}e=Qa[N[b+36>>2]](b)|0;Qa[N[b+28>>2]](b);d=N[b>>2];if((d|0)!=(a|0)){break u}N[b+12>>2]=2;return}Qa[N[b+32>>2]](b);d=a;if(N[b+12>>2]){break b}break t}if(!(O[d|0]!=47|d+2>>>0>=h>>>0|(c|0)>=(f|0))){d=d+1|0;N[b>>2]=d;Qa[N[b+32>>2]](b);a=N[b>>2];if(N[b+12>>2]|a>>>0>=h>>>0){break b}a=a-d|0;l=Qa[N[b+136>>2]](i,e,d,a+1|0)|0;N[b+12>>2]=l;if(l){break b}L[a+N[N[b+116>>2]+(e<<2)>>2]|0]=0;c=c+1|0;break t}if((j|0)!=91){break t}N[b+12>>2]=2;return}Qa[N[b+28>>2]](b);a=N[b>>2];if(h>>>0>a>>>0){continue}break}}N[g+368>>2]=1;N[b>>2]=d;return}return}N[b+12>>2]=a}function ot(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-16|0;La=g;N[a+788>>2]=0;N[a+792>>2]=0;j=a+796|0;c=j;N[c>>2]=0;N[c+4>>2]=0;k=a+788|0;a:{b:{c:{d:{if(!(Qa[N[a+516>>2]](a,1128418371,b,g+12|0)|0)){d=2;break d}d=1;if(!(Qa[N[a+516>>2]](a,1161972803,b,g+12|0)|0)){break d}if(!(Qa[N[a+516>>2]](a,1651273571,b,g+12|0)|0)){break d}d=Qa[N[a+516>>2]](a,1935829368,b,g+12|0)|0;if(d){break c}d=3}N[j>>2]=d;c=N[g+12>>2];if(c>>>0<8){d=3;break c}l=a+800|0;i=N[b+8>>2];e:{f:{g:{h:{switch(d-1|0){case 0:case 1:d=fc(b,c,k);if(d){break c}f=N[g+12>>2];N[a+792>>2]=f;c=N[a+788>>2];e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);i:{if((O[c+1|0]<<16|O[c|0]<<24|65536)==196608){break i}c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8|256)&65535)==768){break i}d=2;break c}d=3;c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(c>>>0>65535){break c}if(f>>>0>=(T(c,48)|8)>>>0){break g}c=(f-8>>>0)/48|0;break g;case 2:break h;default:break f}}c=N[b+4>>2];j:{if(N[b+20>>2]){d=85;if(c>>>0<8){break c}c=N[b+28>>2];d=Qa[N[c+4>>2]](c,8)|0;if(!d){break e}N[b>>2]=d;h=Qa[N[b+20>>2]](b,N[b+8>>2],d,8)|0;e=N[b>>2];if(h>>>0>7){d=0}else{if(e){Qa[N[c+8>>2]](c,e)}e=0;N[b>>2]=0;d=85}N[b+32>>2]=e;f=e?e+8|0:0;N[b+36>>2]=f;N[b+8>>2]=h+N[b+8>>2];c=e;if(h>>>0>=8){break j}break c}d=85;if(c-i>>>0<8|c>>>0<=i>>>0){break c}N[b+8>>2]=i+8;e=N[b>>2];c=i+e|0;N[b+32>>2]=c;f=c+8|0;N[b+36>>2]=f}k:{if(c+1>>>0>=f>>>0){d=0;break k}d=O[c|0]|O[c+1|0]<<8;d=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;if(c+1>>>0>>0){m=O[c+1|0]&253|O[c|0]<<8;c=c+2|0}N[b+32>>2]=c;h=0;if(c+3>>>0>>0){f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=c+4|0}N[b+32>>2]=c;if(N[b+20>>2]){if(e){c=N[b+28>>2];Qa[N[c+8>>2]](c,e)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!(d&65535)){d=2;break c}d=3;if((m|0)!=1|h>>>0>65535){break c}c=N[b+8>>2]-8|0;e=N[g+12>>2];f=N[b+20>>2];l:{if(f){d=85;if(!(Qa[f|0](b,c,0,0)|0)){break l}break c}d=85;if(c>>>0>Q[b+4>>2]){break c}}N[b+8>>2]=c;c=e>>>0<(h<<2)+8>>>0?e-8>>>2|0:h;d=(c<<2)+8|0;N[a+792>>2]=d;d=fc(b,d,k);if(d){break c}}N[a+800>>2]=c;d=N[j>>2]}N[a+860>>2]=0;N[a+864>>2]=0;m:{n:{o:{switch(d|0){case 3:N[a+860>>2]=i;b=N[g+12>>2];break n;case 0:break b;default:break o}}p:{if(!(Qa[N[a+516>>2]](a,1128416340,b,g+8|0)|0)){break p}if(!(Qa[N[a+516>>2]](a,1161970772,b,g+8|0)|0)){break p}if(!(Qa[N[a+516>>2]](a,1650745716,b,g+8|0)|0)){break p}b=N[a+864>>2];break m}N[a+860>>2]=N[b+8>>2];b=N[g+8>>2]}N[a+864>>2]=b}d=0;if(!b){break b}break a}N[b>>2]=0;d=64}c=N[k>>2];if(c){if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,c)}N[k>>2]=0}N[a+792>>2]=0;l=j}N[l>>2]=0}La=g+16|0;return d|0}function gx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+492>>2];h=N[b+8>>2];Qa[N[b+28>>2]](b);d=N[b>>2];if(h>>>0<=d>>>0){N[b+12>>2]=3;return}a:{b:{c:{l=O[d|0];if(!((l|0)!=91&l-48>>>0>9)){f=N[b+16>>2];d:{if((l|0)==91){N[b>>2]=d+1;c=256;break d}c=Qa[N[b+36>>2]](b)|0}k=c;Qa[N[b+28>>2]](b);if(Q[b>>2]>=h>>>0){break b}j=b+100|0;i=(k|0)>=256?256:k;c=N[a+384>>2];e:{if(!c){break e}Qa[N[f+8>>2]](f,c);N[a+384>>2]=0;c=N[a+388>>2];if(c){Qa[N[f+8>>2]](f,c)}N[a+388>>2]=0;c=N[b+148>>2];if(!c){break e}Qa[c|0](j)}N[a+372>>2]=i;N[b+96>>2]=i;if((i|0)<0){N[a+384>>2]=0;N[b+12>>2]=6;return}f:{g:{h:{i:{if(i){c=i<<1;e=Qa[N[f+4>>2]](f,c)|0;if(e?(k|0)>0:0){break i}N[a+384>>2]=e;if(e){break h}N[b+12>>2]=!e<<6;return}N[a+384>>2]=0;break g}C(e,0,c);N[a+384>>2]=e}c=i<<2;e=Qa[N[f+4>>2]](f,c)|0;if(!e|(k|0)<=0){break f}C(e,0,c)}N[a+388>>2]=e;break c}N[a+388>>2]=e;if(e){break c}c=!e<<6;break a}j:{if(d+17>>>0>=h>>>0){break j}if(bb(d,14716,16)){break j}N[a+368>>2]=2;return}k:{if(d+15>>>0>=h>>>0){break k}if(bb(d,14701,14)){break k}N[a+368>>2]=4;return}l:{if(d+18>>>0>=h>>>0){break l}if(bb(d,14733,17)){break l}N[a+368>>2]=3;return}N[b+12>>2]=162;break b}c=Qa[N[N[g>>2]>>2]](j,i,f)|0;if(c){break a}m:{if((k|0)<=0){break m}g=(i|0)<=1?1:i;f=g&3;e=0;c=0;if(g>>>0>=4){g=g&2147483644;while(1){Qa[N[b+144>>2]](j,c,15265,8)|0;Qa[N[b+144>>2]](j,c|1,15265,8)|0;Qa[N[b+144>>2]](j,c|2,15265,8)|0;Qa[N[b+144>>2]](j,c|3,15265,8)|0;c=c+4|0;if((g|0)!=(c|0)){continue}break}}if(!f){break m}while(1){Qa[N[b+144>>2]](j,c,15265,8)|0;c=c+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}Qa[N[b+28>>2]](b);c=N[b>>2];n:{if(h>>>0<=c>>>0){break n}m=(l|0)==91;g=0;while(1){o:{p:{q:{e=O[c|0];switch(e-93|0){case 0:break p;case 7:break q;default:break o}}d=c+3|0;if(O[c+1|0]!=101|h>>>0<=d>>>0|O[c+2|0]!=102){break o}switch(O[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break n;default:break o}}d=c+1|0;break n}r:{s:{if(!(!m&e-48>>>0>9)){if(m){d=c;e=g;break s}e=Qa[N[b+36>>2]](b)|0;Qa[N[b+28>>2]](b);d=N[b>>2];if((d|0)!=(c|0)){break s}N[b+12>>2]=2;return}Qa[N[b+32>>2]](b);d=c;if(N[b+12>>2]){break b}break r}if(!(O[d|0]!=47|d+2>>>0>=h>>>0|(g|0)>=(k|0))){d=d+1|0;N[b>>2]=d;Qa[N[b+32>>2]](b);c=N[b>>2];if(N[b+12>>2]|c>>>0>=h>>>0){break b}if((g|0)<(i|0)){f=c-d|0;c=Qa[N[b+144>>2]](j,e,d,f+1|0)|0;N[b+12>>2]=c;if(c){break b}L[f+N[N[b+124>>2]+(e<<2)>>2]|0]=0}g=g+1|0;break r}if((l|0)!=91){break r}N[b+12>>2]=2;return}Qa[N[b+28>>2]](b);c=N[b>>2];if(h>>>0>c>>>0){continue}break}}N[a+368>>2]=1;N[b>>2]=d;return}return}N[b+12>>2]=c}function jt(a,b){a=a|0;b=b|0;var 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;g=La-16|0;La=g;m=N[a+100>>2];N[g+8>>2]=0;k=Qa[N[a+516>>2]](a,1129333068,b,g+4|0)|0;a:{b:{if(k){break b}k=8;c=N[g+4>>2];if(c>>>0<12){break b}k=fc(b,c,g+8|0);if(k){break b}h=N[g+8>>2];d=Qa[N[m+4>>2]](m,20)|0;if(d){L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;k=8;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;N[g+12>>2]=0;c=O[h|0]|O[h+1|0]<<8;l=c<<8|c>>>8;M[d>>1]=l;if((l&65535)>>>0>1){break b}c=O[h+2|0]|O[h+3|0]<<8;j=c<<8|c>>>8;M[a+660>>1]=j;c=O[h+4|0]|O[h+5|0]<<8;c=c<<8|c>>>8;M[a+648>>1]=c;f=O[h+6|0]|O[h+7|0]<<8;i=f<<8|f>>>8;M[d+2>>1]=i;f=N[g+4>>2];n=c&65535;e=n<<1;if(f>>>0>>0){break b}c=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>=f>>>0){break b}i=i&65535;if(f-c>>>0>>0|i>>>0<(j&65535)>>>0){break b}j=h+12|0;N[d+8>>2]=j;N[d+4>>2]=c+h;c:{if((l&65535)!=1){break c}if(f>>>0>>0){break b}c=e+j|0;l=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);j=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i){if(f>>>0<=i>>>0|e>>>0>f-i>>>0){break b}f=lb(m,2,0,n,0,g+12|0);c=N[g+12>>2];if(c){k=c;break b}c=P[a+648>>1];if(c){n=f+(c<<1)|0;e=h+i|0;c=f;while(1){i=O[e|0]|O[e+1|0]<<8;M[c>>1]=i<<8|i>>>8;e=e+2|0;c=c+2|0;if(n>>>0>c>>>0){continue}break}}N[a+656>>2]=f}e=j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24);if(e){c=N[g+4>>2];if(c>>>0<=e>>>0){break b}f=c-e|0;c=P[a+648>>1];if(f>>>0>>0){break b}f=lb(m,2,0,c,0,g+12|0);c=N[g+12>>2];if(c){k=c;break b}c=P[a+648>>1];if(c){j=f+(c<<1)|0;e=e+h|0;c=f;while(1){i=O[e|0]|O[e+1|0]<<8;M[c>>1]=i<<8|i>>>8;e=e+2|0;c=c+2|0;if(j>>>0>c>>>0){continue}break}}N[a+652>>2]=f}e=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);if(!e){break c}c=N[g+4>>2];if(c>>>0<=e>>>0){break b}f=c-e|0;c=P[a+660>>1];if(f>>>0>>0){break b}f=lb(m,2,0,c,0,g+12|0);c=N[g+12>>2];if(c){k=c;break b}c=P[a+660>>1];if(c){l=f+(c<<1)|0;e=e+h|0;c=f;while(1){j=O[e|0]|O[e+1|0]<<8;M[c>>1]=j<<8|j>>>8;e=e+2|0;c=c+2|0;if(l>>>0>c>>>0){continue}break}}N[a+664>>2]=f}N[d+12>>2]=h;N[d+16>>2]=N[g+4>>2];N[a+868>>2]=d;c=0;o=a,p=lb(m,4,0,P[a+660>>1],0,g+12|0),N[o+672>>2]=p;f=N[g+12>>2];if(f){k=f;break b}if(!Ol(a,0)){break a}break b}k=64;N[g+12>>2]=64;d=0}d:{if(!b|!N[b+20>>2]){break d}c=N[g+8>>2];if(!c){break d}b=N[b+28>>2];Qa[N[b+8>>2]](b,c)}if(d){Qa[N[m+8>>2]](m,d)}N[a+868>>2]=0;c=k}La=g+16|0;return c|0}function Uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+492>>2];i=N[b+16>>2];e=N[b+8>>2];Qa[N[b+28>>2]](b);c=3;a=N[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=O[a|0];c:{if(a-48>>>0<=9){a=Qa[N[b+36>>2]](b)|0;N[b+144>>2]=a;if(N[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=N[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}N[b+144>>2]=d;break c}if((a|0)!=60){break b}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}Qa[N[b+28>>2]](b);d=N[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=O[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}N[b>>2]=d;N[b+144>>2]=h;a=d;break c}h=h+1|0}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0>a>>>0){continue}break}}if(N[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=Qa[N[N[g>>2]>>2]](k,N[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=Qa[N[N[g>>2]>>2]](l,N[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Qa[N[N[g>>2]>>2]](h,4,i)|0;if(c){break b}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0<=a>>>0){N[b+144>>2]=0;c=3;break b}i=0;g=0;d=0;while(1){e:{f:{c=O[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(O[a+1|0]!=110|a+3>>>0>=e>>>0|O[a+2|0]!=100){break f}switch(O[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}Qa[N[b+32>>2]](b);f=N[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(N[b+12>>2]){break a}g:{h:{j=O[a|0];switch(j-40|0){case 0:case 7:break h;default:break g}}c=3;m=(j|0)==40;if((m?3:2)+a>>>0>=e>>>0){break b}a=a+1|0;f=(f-a|0)-m|0;c=Qa[N[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;L[c+N[f+N[b+172>>2]>>2]|0]=0;if(O[a|0]==46){a=cb(15265,N[f+N[b+172>>2]>>2]);i=a?i:1;g=a?g:d}Qa[N[b+28>>2]](b);if((j|0)==40){Qa[N[b+32>>2]](b)}a=N[b>>2];Qa[N[b+36>>2]](b)|0;c=3;j=N[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=Qa[N[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}L[a+N[f+N[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=N[b+144>>2]){break e}}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0>a>>>0){continue}}break}N[b+144>>2]=d;if(!(i&255)){c=3;break b}a=N[N[b+172>>2]>>2];if(!cb(15265,a)){break a}c=Qa[N[b+296>>2]](h,0,a,N[N[b+176>>2]>>2])|0;if(c){break b}c=Qa[N[b+296>>2]](h,1,N[N[b+224>>2]>>2],N[N[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=Qa[N[b+296>>2]](h,2,N[a+N[b+172>>2]>>2],N[a+N[b+176>>2]>>2])|0;if(c){break b}c=Qa[N[b+296>>2]](h,3,N[a+N[b+224>>2]>>2],N[a+N[b+228>>2]>>2])|0;if(c){break b}c=Qa[N[b+192>>2]](l,g,N[N[b+276>>2]>>2],N[N[b+280>>2]>>2])|0;if(c){break b}c=Qa[N[b+244>>2]](k,g,N[N[b+276>>2]+4>>2],N[N[b+280>>2]+4>>2])|0;if(c){break b}c=Qa[N[b+192>>2]](l,0,N[N[b+276>>2]+8>>2],N[N[b+280>>2]+8>>2])|0;if(c){break b}c=Qa[N[b+244>>2]](k,0,N[N[b+276>>2]+12>>2],N[N[b+280>>2]+12>>2])|0;if(!c){break a}}N[b+12>>2]=c}}function fp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{switch(N[a+92>>2]){case 0:i=N[a+64>>2];if((i|0)<(c|0)){g=N[a+36>>2];if(!N[a+84>>2]){N[a+84>>2]=g;N[a+80>>2]=g;g=g+32|0;N[a+36>>2]=g}if(Q[a+32>>2]>g>>>0){f=N[a+4>>2];d=N[a+8>>2];e=N[a+80>>2];N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=g;N[e+28>>2]=0;N[e+4>>2]=0;M[e+12>>1]=O[a+48|0]|((d|0)>(((f+i|0)-1&0-f)-i|0)?8:40);if(!N[a+88>>2]){N[a+88>>2]=e}L[a+78|0]=1;N[a+92>>2]=1;d=a+79|0;break f}break a}if((c|0)>=(i|0)){break d}g=N[a+36>>2];if(!N[a+84>>2]){N[a+84>>2]=g;N[a+80>>2]=g;g=g+32|0;N[a+36>>2]=g}if(Q[a+32>>2]>g>>>0){e=N[a+4>>2];f=N[a+8>>2];h=N[a+80>>2];N[h+16>>2]=0;N[h+20>>2]=0;N[h+8>>2]=g;N[h+28>>2]=0;N[h+4>>2]=0;d=O[a+48|0];M[h+12>>1]=(f|0)>(e-1&i)?d:d|16;if(!N[a+88>>2]){N[a+88>>2]=h}L[a+78|0]=1;N[a+92>>2]=2;d=a+79|0;break j}break a;case 1:break k;case 2:break i;default:break d}}i=N[a+64>>2];if((i|0)<=(c|0)){break e}e=N[a+36>>2];f=N[a+80>>2];h=N[f+8>>2];d=e-h|0;if((d|0)<0){N[a+40>>2]=99;return 1}j=N[a+4>>2]-1&i;g=N[a+8>>2];l:{if((e|0)==(h|0)){d=e;break l}N[f+16>>2]=d>>2;if((g|0)<=(j|0)){d=P[f+12>>1];M[f+12>>1]=(d&8?16:32)|d}N[a+80>>2]=e;d=e+32|0;N[a+36>>2]=d;N[e+8>>2]=d;N[e+16>>2]=0;N[f+28>>2]=e;M[a+76>>1]=P[a+76>>1]+1;f=e}h=N[a+32>>2];if(h>>>0<=d>>>0){break a}L[a+79|0]=0;m:{if(N[a+84>>2]){e=d;break m}N[a+84>>2]=d;N[a+80>>2]=d;e=d+32|0;N[a+36>>2]=e;f=d}if(e>>>0>=h>>>0){break a}N[f+16>>2]=0;N[f+20>>2]=0;N[f+8>>2]=e;N[f+28>>2]=0;N[f+4>>2]=0;d=O[a+48|0];M[f+12>>1]=(g|0)>(j|0)?d:d|16;if(!N[a+88>>2]){N[a+88>>2]=f}L[a+78|0]=1;N[a+92>>2]=2;d=a+79|0}L[d|0]=0;d=0;break h}i=N[a+64>>2];if((i|0)<(c|0)){break g}d=!O[a+78|0]}f=dp(a,N[a+60>>2],0-i|0,b,0-c|0,0-N[a+72>>2]|0,0-N[a+68>>2]|0);if(!(O[a+78|0]|d)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}g=1;if(!f){break d}break c}e=N[a+36>>2];f=N[a+80>>2];g=N[f+8>>2];h=e-g|0;if((h|0)<0){N[a+40>>2]=99;return 1}d=N[a+4>>2];k=((d+i|0)-1&0-d)-i|0;j=N[a+8>>2];n:{if((e|0)==(g|0)){d=e;break n}N[f+16>>2]=h>>2;if((j|0)<=(k|0)){d=P[f+12>>1];M[f+12>>1]=(d&8?16:32)|d}N[a+80>>2]=e;d=e+32|0;N[a+36>>2]=d;N[e+8>>2]=d;N[e+16>>2]=0;N[f+28>>2]=e;M[a+76>>1]=P[a+76>>1]+1;f=e}h=N[a+32>>2];if(h>>>0<=d>>>0){break a}L[a+79|0]=0;o:{if(N[a+84>>2]){e=d;break o}N[a+84>>2]=d;N[a+80>>2]=d;e=d+32|0;N[a+36>>2]=e;f=d}if(e>>>0>=h>>>0){break b}N[f+16>>2]=0;N[f+20>>2]=0;N[f+8>>2]=e;N[f+28>>2]=0;N[f+4>>2]=0;M[f+12>>1]=O[a+48|0]|((j|0)>(k|0)?8:40);if(!N[a+88>>2]){N[a+88>>2]=f}L[a+78|0]=1;N[a+92>>2]=1;d=a+79|0}L[d|0]=0}g=1;if(dp(a,N[a+60>>2],i,b,c,N[a+68>>2],N[a+72>>2])){break c}}N[a+64>>2]=c;N[a+60>>2]=b;g=0}return g}N[a+40>>2]=98;return 1}N[a+40>>2]=98;return 1}function $c(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{d=N[a+44>>2];d:{if(!d){break d}c=N[a+24>>2];b=ZE(c,31);if(b>>>0>8|!(1<>2]=N[d+32>>2];b=N[a+16>>2];if(!b){b=N[d>>2]}e:{if(c){break e}if(Q[a+4>>2]>>0){break b}c=N[d+4>>2];if(c>>>0>2]){break c}N[a+8>>2]=c;N[a+4>>2]=b;b=N[a+52>>2];if(b>>>0<2){break e}m=a+60|0;while(1){f:{g:{h:{l=(N[a+56>>2]+(b<<2)|0)-4|0;g=N[l>>2];e=N[g>>2];b=N[a+8>>2];if(e>>>0>>0){c=4;i=0;b=0;h=N[g+4>>2];f=h-e|0;if(f>>>0>3){break h}break f}if((b|0)!=(e|0)){break g}break e}while(1){b=b+e|0;i=T(i,31)+(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24))|0;b=c;c=b+4|0;if(f>>>0>=c>>>0){continue}break}break f}ba(13271,14296,437,10341);B()}i:{if(b>>>0>=f>>>0){break i}k=(h+(b^-1)|0)-e|0;h=0;c=b;j=f&3;if(j){while(1){i=L[c+e|0]+T(i,31)|0;c=c+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}b=b|j}if(k>>>0<3){break i}while(1){c=b+e|0;i=T(T(T(L[c|0]+T(i,31)|0,31)+L[c+1|0]|0,31)+L[c+2|0]|0,31)+L[c+3|0]|0;b=b+4|0;if((f|0)!=(b|0)){continue}break}}h=0;j=T(N[g+12>>2],12);j:{if(!j){c=0;break j}f=N[g+16>>2];e=4;c=0;while(1){b=f+h|0;c=T(c,31)+(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24))|0;b=e;h=b;e=b+4|0;if(j>>>0>=e>>>0){continue}break}if(b>>>0>=j>>>0){break j}while(1){c=L[f+(b|3)|0]+T(L[f+(b|2)|0]+T(L[f+(b|1)|0]+T(L[b+f|0]+T(c,31)|0,31)|0,31)|0,31)|0;b=b+4|0;if((j|0)!=(b|0)){continue}break}}k:{if(!(L[a+72|0]&1)){break k}b=N[a+76>>2];if(Q[a+80>>2]<=(b>>>1|0)+b>>>0){if(!Qg(m)){break k}g=N[l>>2]}h=c^i;b=Af(m,g,h);c=N[b>>2];e=N[c+4>>2];i=N[c>>2];j=e-i|0;f=N[g>>2];if((j|0)!=(N[g+4>>2]-f|0)){break k}k=N[c+12>>2];if((k|0)!=N[g+12>>2]){break k}if((e|0)!=(i|0)){if(Mb(i,f,j)){break k}}e=T(k,12);if(e){if(Mb(N[c+16>>2],N[g+16>>2],e)){break k}}l:{if(!(O[b+7|0]&64)){break l}N[a+76>>2]=N[a+76>>2]-1;if(N[b+4>>2]<0){break l}N[a+72>>2]=N[a+72>>2]-2;g=N[l>>2]}N[b+8>>2]=0;N[b>>2]=g;N[b+4>>2]=h|-1073741824;N[a+76>>2]=N[a+76>>2]+1}b=N[a+52>>2];m:{if(!b){b=0;N[147456]=0;if(!N[8]){break m}break a}b=N[(N[a+56>>2]+(b<<2)|0)-4>>2];if(N[b+32>>2]){break a}}if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;b=N[a+52>>2];if(!b){break e}b=b-1|0;N[a+52>>2]=b;if(b>>>0>1){continue}break}}N[a+16>>2]=0;if(N[d+12>>2]){N[d+12>>2]=0}_a(N[d+16>>2]);N[d+16>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if(N[d+24>>2]){N[d+24>>2]=0}_a(N[d+28>>2]);N[d+28>>2]=0;N[d+20>>2]=0;N[d+24>>2]=0;N[d>>2]=N[a+28>>2];N[a+28>>2]=d}return}ba(13230,14296,419,8802);B()}ba(16986,14296,418,8802);B()}ba(8473,14296,432,10341);B()}function Xm(a,b){var c=0;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:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{if((b|0)<=1935833198){if((b|0)<=1751346272){J:{switch(b-1735618608|0){case 9:break z;case 8:break A;case 7:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break J}}if((b|0)==1668311156){break y}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){switch(b-1751346273|0){case 1:case 2:break a;case 3:break w;case 0:break x;default:break v}}K:{switch(b-1751347822|0){case 1:case 2:case 3:case 4:break a;case 5:break t;case 0:break u;default:break K}}if((b|0)==1751413603){break s}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){L:{switch(b-1935833199|0){case 1:case 2:case 3:break a;case 4:break q;case 0:break r;default:break L}}switch(b-1935833455|0){case 4:break o;case 0:break p;default:break a}}M:{switch(b-1936750703|0){case 1:case 2:case 3:break a;case 4:break m;case 0:break n;default:break M}}N:{switch(b-1936750959|0){case 1:case 2:case 3:break a;case 4:break k;case 0:break l;default:break N}}switch(b-1937011311|0){case 0:break j;case 4:break i;default:break a}}if((b|0)<=1986228845){O:{switch(b-1970168943|0){case 1:case 2:case 3:break a;case 4:break g;case 0:break h;default:break O}}if((b|0)==1986098019){break f}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){switch(b-1986228846|0){case 1:case 2:case 3:case 4:break a;case 5:break d;case 0:break e;default:break c}}if((b|0)==1986815856){break b}if((b|0)!=2020108148){break a}return a+460|0}if(P[a+562>>1]<2){break a}return N[a+564>>2]}if(P[a+562>>1]<3){break a}return N[a+564>>2]+4|0}if(P[a+562>>1]<4){break a}return N[a+564>>2]+8|0}if(P[a+562>>1]<5){break a}return N[a+564>>2]+12|0}if(P[a+562>>1]<6){break a}return N[a+564>>2]+16|0}if(P[a+562>>1]<7){break a}return N[a+564>>2]+20|0}if(P[a+562>>1]<8){break a}return N[a+564>>2]+24|0}if(P[a+562>>1]<9){break a}return N[a+564>>2]+28|0}if(P[a+562>>1]<10){break a}return N[a+564>>2]+32|0}if(P[a+562>>1]<11){break a}return N[a+564>>2]+36|0}return a+462|0}return a+448|0}return a+450|0}if((b|0)!=1751347046){break a}return a+238|0}return a+236|0}return a+234|0}return a+444|0}return a+386|0}return a+382|0}return a+388|0}return a+384|0}return a+394|0}return a+390|0}return a+396|0}return a+392|0}return a+400|0}return a+398|0}return a+484|0}return a+486|0}return a+300|0}return a+316|0}return a+314|0}if((b|0)!=1986294627){break a}return a+302|0}c=a+304|0}return c}function Cd(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=La+-64|0;La=j;o=a+11720|0;Ki(a,N[a+11716>>2],N[o>>2],b,c,j+20|0,j+16|0);Ki(a,d,e,f,g,j+12|0,j+8|0);h=N[a+4>>2];N[h+16>>2]=N[h+16>>2]+(T(e-c>>16,b>>16)-T(d-b>>16,c>>16)|0);h=N[j+20>>2];r=h+N[a+11716>>2]|0;N[j>>2]=r;k=N[j+16>>2];o=k+N[o>>2]|0;N[j+4>>2]=o;t=N[j+8>>2];u=N[j+12>>2];c=c+k|0;s=b+h|0;if(O[a+11663|0]){N[j+56>>2]=1;b=N[a+11728>>2];N[j+24>>2]=N[a+11724>>2];N[j+28>>2]=b;if(!O[a+20|0]){Ce(a,N[a+11732>>2],N[a+11736>>2])}p=a+8|0;k=N[a+11640>>2];h=k>>31;h=(h^k)-h|0;b=r>>31;b=(b^r)-b|0;a:{if(h+(b>>>8|0)>>>0<=8190){h=T(b,h)+32768>>>16|0;break a}l=h&65535;h=T(l,b>>>16|0)+T(b,h>>>16|0)+(T(l,b&65535)+32768>>>16)|0}b=h;i=0-b|0;b=k>>31|1;i=(((r|0)<0?0-b|0:b)|0)<0?i:h;l=N[a+11644>>2];h=l>>31;h=(h^l)-h|0;b=o>>31;b=(b^o)-b|0;b:{if(h+(b>>>8|0)>>>0<=8190){h=T(b,h)+32768>>>16|0;break b}k=h&65535;h=T(k,b>>>16|0)+T(b,h>>>16|0)+(T(k,b&65535)+32768>>>16)|0}b=h;k=_c(p,o);w=N[a+11652>>2];m=0-b|0;b=l>>31|1;l=i+((((o|0)<0?0-b|0:b)|0)<0?m:h)|0;b=l>>31;p=N[a>>2];i=N[p+64>>2];h=i>>31;b=(b^l)-b|0;q=b>>>8|0;h=(h^i)-h|0;c:{if(q+h>>>0<=8190){m=T(b,h)+32768>>>16|0;break c}n=h&65535;m=T(n,b>>>16|0)+T(b,h>>>16|0)+(T(n,b&65535)+32768>>>16)|0}h=m;n=0-h|0;h=i>>31|1;x=(((l|0)<0?0-h|0:h)|0)<0?n:m;n=N[p+72>>2];i=n>>31;h=k>>31;h=(h^k)-h|0;v=h>>>8|0;i=(i^n)-i|0;d:{if(v+i>>>0<=8190){m=T(h,i)+32768>>>16|0;break d}m=i&65535;m=T(m,h>>>16|0)+T(h,i>>>16|0)+(T(h&65535,m)+32768>>>16)|0}i=m;y=0-i|0;i=n>>31|1;N[j+32>>2]=w+(x+((((k|0)<0?0-i|0:i)|0)<0?y:m)|0);m=N[a+11656>>2];n=N[p+68>>2];i=n>>31;i=(i^n)-i|0;e:{if(i+q>>>0<=8190){i=T(b,i)+32768>>>16|0;break e}q=i&65535;i=T(q,b>>>16|0)+T(b,i>>>16|0)+(T(q,b&65535)+32768>>>16)|0}b=i;q=0-b|0;b=n>>31|1;i=(((l|0)<0?0-b|0:b)|0)<0?q:i;l=N[p+76>>2];b=l>>31;b=(b^l)-b|0;f:{if(b+v>>>0<=8190){h=T(b,h)+32768>>>16|0;break f}p=b&65535;h=T(p,h>>>16|0)+T(h,b>>>16|0)+(T(p,h&65535)+32768>>>16)|0}b=h;n=0-b|0;b=l>>31|1;N[j+36>>2]=m+(i+((((k|0)<0?0-b|0:b)|0)<0?n:h)|0);b=N[a+4>>2];Qa[N[b>>2]](b,j+24|0);h=N[j+32>>2];k=N[j+36>>2];b=0;N[a+11700>>2]=b|r;N[a+11704>>2]=o;N[a+11724>>2]=h;N[a+11728>>2]=k;N[a+11708>>2]=b|s;N[a+11712>>2]=c;L[a+11660|0]=1;L[a+11663|0]=0}if(O[a+11740|0]){lf(a,a+8|0,j,s,c,0)}N[a+11744>>2]=4;L[a+11740|0]=1;b=N[j>>2];o=N[j+4>>2];N[a+11776>>2]=g+t;N[a+11772>>2]=f+u;N[a+11768>>2]=e+t;N[a+11764>>2]=d+u;N[a+11748>>2]=b;N[a+11752>>2]=o;N[a+11756>>2]=s;N[a+11760>>2]=c;b=N[a+11672>>2];if(O[b+5|0]){kf(a+8|0,N[a+11664>>2],N[a+11668>>2],b,N[a+11676>>2],0)}N[a+11720>>2]=g;N[a+11716>>2]=f;La=j- -64|0}function yp(a,b){var 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;c=T(b,1348)+a|0;g=N[c- -64>>2];k=N[c+56>>2];l=g+T(k,44)|0;if((k|0)>0){j=a+2748|0;m=a+2744|0;c=g;while(1){d=O[c+12|0];a:{if(d&4){break a}f=N[c+24>>2];e=N[c+20>>2];b:{c:{if(!e){if(!f){break a}d=N[f+20>>2];if(!d){break a}e=N[d+8>>2];N[f+8>>2]=e;L[f+12|0]=O[f+12|0]|4;d=f;f=c;break c}e=N[e+8>>2];L[c+12|0]=d|4;N[c+8>>2]=e;if(!f){break b}d=c;if(N[f+20>>2]){break b}}d=Fg(N[m>>2],N[j>>2],b,N[f+4>>2]-N[d+4>>2]|0);L[f+12|0]=O[f+12|0]|4;N[f+8>>2]=d+e}h=h?h:c}c=c+44|0;if(l>>>0>c>>>0){continue}break}m=a+2748|0;p=a+2744|0;c=g;j=0;d=0;f=0;while(1){o=O[c+12|0];d:{if(o&4){break d}e=N[c+24>>2];if(!e){f=f+1|0;break d}e:{if(!(d&255)){break e}n=j- -64|0;if((n|0)<=N[c+8>>2]&(n|0)<=N[e+8>>2]){break e}d=1;f=f+1|0;break d}if(N[e+20>>2]){n=Fg(N[p>>2],N[m>>2],b,N[c+4>>2]-N[e+4>>2]|0);e=N[e+8>>2];L[c+12|0]=o|4;N[c+8>>2]=e+n;break d}if(c>>>0>e>>>0){d=Fg(N[p>>2],N[m>>2],b,N[c+4>>2]-N[e+4>>2]|0);e=N[e+8>>2];L[c+12|0]=o|4;j=d+e|0;N[c+8>>2]=j;d=1;break d}f:{if(!(h|(b|0)==1)){i=wp(a,c,e,0,0);break f}wp(a,c,e,i,b)}L[c+12|0]=O[c+12|0]|4;L[e+12|0]=O[e+12|0]|4;j=N[e+8>>2];d=1;h=c}c=c+44|0;if(l>>>0>c>>>0){continue}break}}g:{if(b){break g}h=4;d=2;c=g;h:{switch(k-6|0){case 6:c=g+44|0;h=9;d=5;break;case 0:break h;default:break g}}if(N[c+24>>2]!=(c+44|0)){break g}b=T(d,44)+g|0;if(N[b+24>>2]!=(b+44|0)){break g}e=T(h,44)+g|0;a=N[e+24>>2];if((a|0)!=(e+44|0)){break g}e=(N[b+4>>2]<<1)-(N[c+4>>2]+N[e+4>>2]|0)|0;b=e>>31;if((b^e)-b>>>0>7){break g}b=T(h,44)+g|0;e=N[b+8>>2];i=b;b=(N[(T(d,44)+g|0)+8>>2]<<1)-N[c+8>>2]|0;N[i+8>>2]=b;b=e-b|0;if(a){N[a+8>>2]=N[a+8>>2]-b}if((k|0)==12){N[g+360>>2]=N[g+360>>2]-b;N[g+492>>2]=N[g+492>>2]-b}b=T(h,44)+g|0;L[b+12|0]=O[b+12|0]|4;if(!a){break g}L[a+12|0]=O[a+12|0]|4}i:{if(!f|(k|0)<=0){break i}c=g;while(1){b=O[c+12|0];j:{if(b&4){break j}a=N[c+28>>2];if(!a){break j}d=N[a+8>>2];a=N[a+4>>2];L[c+12|0]=b|4;N[c+8>>2]=N[c+4>>2]+(d-a|0);f=f-1|0}c=c+44|0;if(l>>>0>c>>>0){continue}break}if(!f){break i}d=g;while(1){c=d;k:{if(O[c+12|0]&4){break k}while(1){a=c;c=c-44|0;h=g>>>0>c>>>0;if(!(h|O[a-32|0]&4)){continue}break}f=d;d=f;l:{m:{n:{while(1){b=f;f=b+44|0;if(l>>>0<=f>>>0){break n}if(!(O[b+56|0]&4)){continue}break}if(c>>>0>=g>>>0){break m}i=N[d+4>>2]+(N[b+52>>2]-N[b+48>>2]|0)|0;break l}if(h){break k}a=a-44|0;i=N[d+4>>2]+(N[a+8>>2]-N[a+4>>2]|0)|0;break l}f=P[f>>1];c=P[c>>1];i=N[a-36>>2];if((f|0)==(c|0)){break l}c=c<<16>>16;a=N[a-36>>2];i=jb(M[d>>1]-c|0,N[b+52>>2]-a|0,(f<<16>>16)-c|0)+a|0}N[d+8>>2]=i}d=d+44|0;if(l>>>0>d>>>0){continue}break}}}function qq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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;a=La-32|0;La=a;N[a>>2]=0;d=N[b+96>>2];e=N[d+28>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}o=Qa[e|0](b,f,32,a,d)|0;N[c+72>>2]=0;M[c+62>>1]=256;l=N[c+80>>2];N[c+84>>2]=l;k=N[c+68>>2];d=T(k,20);if(d){C(N[c+88>>2],0,d);l=N[c+80>>2];k=N[c+68>>2]}m=N[c+40>>2];if(k){n=N[c+88>>2];d=0;p=(m&-2)!=4;while(1){i=T(d,20);g=i+l|0;e=N[g>>2];a:{b:{if(!o){break b}if(!Cj(e)){break b}N[g>>2]=N[a>>2];e=i+n|0;N[e>>2]=0;N[e+4>>2]=0;break a}N[g>>2]=0;f=N[b+96>>2];h=N[f+28>>2];j=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}Qa[h|0](b,j,e,g,f)|0;f=N[g>>2];e=i+n|0;N[e>>2]=0;N[e+4>>2]=0;j=N[b+96>>2];h=N[j+12>>2];i=N[b+100>>2];c:{d:{e:{f:{g:{if(!p){j=N[j+40>>2];if(h){break g}h=0;break f}j=N[j+44>>2];if(h){break e}h=0;break d}h=N[h+20>>2]}q=e,r=Qa[j|0](b,i,f,h)|0,N[q>>2]=r;Jd(b,N[g>>2],a+8|0,a+4|0);break c}h=N[h+24>>2]}q=e,r=Qa[j|0](b,i,f,h)|0,N[q+4>>2]=r;rq(b,N[g>>2],a+8|0,a+4|0)}N[e+8>>2]=N[e+8>>2]-N[a+8>>2];N[e+12>>2]=N[e+12>>2]-N[a+4>>2]}d=d+1|0;if((k|0)!=(d|0)){continue}break}}h:{i:{if((m&-3)!=5){break i}g=N[c+68>>2];if(g>>>0>=2){i=N[c+80>>2];e=g-1|0;d=0;while(1){b=i+T(e,20)|0;N[a+24>>2]=N[b+16>>2];f=N[b+12>>2];N[a+16>>2]=N[b+8>>2];N[a+20>>2]=f;f=N[b+4>>2];N[a+8>>2]=N[b>>2];N[a+12>>2]=f;f=i+T(d,20)|0;N[b+16>>2]=N[f+16>>2];h=N[f+12>>2];N[b+8>>2]=N[f+8>>2];N[b+12>>2]=h;h=N[f+4>>2];N[b>>2]=N[f>>2];N[b+4>>2]=h;N[f+16>>2]=N[a+24>>2];b=N[a+20>>2];N[f+8>>2]=N[a+16>>2];N[f+12>>2]=b;b=N[a+12>>2];N[f>>2]=N[a+8>>2];N[f+4>>2]=b;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}if(!O[c+63|0]){break i}d=N[c+68>>2];b=d>>>0>>0?d:g;if(b>>>0<2){break h}g=N[c+88>>2];e=b-1|0;d=0;while(1){b=g+T(e,20)|0;N[a+24>>2]=N[b+16>>2];f=N[b+12>>2];N[a+16>>2]=N[b+8>>2];N[a+20>>2]=f;f=N[b+4>>2];N[a+8>>2]=N[b>>2];N[a+12>>2]=f;f=g+T(d,20)|0;N[b+16>>2]=N[f+16>>2];i=N[f+12>>2];N[b+8>>2]=N[f+8>>2];N[b+12>>2]=i;i=N[f+4>>2];N[b>>2]=N[f>>2];N[b+4>>2]=i;N[f+16>>2]=N[a+24>>2];b=N[a+20>>2];N[f+8>>2]=N[a+16>>2];N[f+12>>2]=b;b=N[a+12>>2];N[f>>2]=N[a+8>>2];N[f+4>>2]=b;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}d=N[c+68>>2]}j:{if(!d){break j}c=N[c+80>>2];e=0;b=0;if(d>>>0>=4){f=d&-4;while(1){g=c+T(b,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|1,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|2,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|3,20)|0;N[g+4>>2]=N[g+4>>2]&-8;b=b+4|0;if((f|0)!=(b|0)){continue}break}}d=d&3;if(!d){break j}while(1){f=c+T(b,20)|0;N[f+4>>2]=N[f+4>>2]&-8;b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}La=a+32|0;return 1}function Gh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=N[N[a>>2]+28>>2];N[b>>2]=0;a:{b:{c:{d:{if(N[a+28>>2]){break d}h=N[a+12>>2];if(!h){break d}e=h+1|0;if((e|0)<0){f=6;break a}g=N[a>>2];i=N[g+28>>2];l=O[a+16|0];e:{f:{g:{if(e){f=10;if((e|0)>536870911){break a}k=e<<2;f=Qa[N[i+4>>2]](i,k)|0;if(!f|h>>>0>2147483646){break g}C(f,0,k)}N[a+28>>2]=f;break f}N[a+28>>2]=f;if(!f){break e}}h=N[a+8>>2]+N[a+4>>2]|0;k=N[g+20>>2];h:{if(k){f=85;if(!(Qa[k|0](g,h,0,0)|0)){break h}break b}f=85;if(h>>>0>Q[g+4>>2]){break b}}N[g+8>>2]=h;h=T(e,l);f=Bb(g,h);if(f){break b}e=N[g+32>>2];f=h+e|0;i=N[a+28>>2];i:{j:{switch(l-1|0){case 2:if((h|0)<=0){break i}while(1){N[i>>2]=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);i=i+4|0;e=e+3|0;if(f>>>0>e>>>0){continue}break};break i;case 1:if((h|0)<=0){break i}while(1){N[i>>2]=O[e+1|0]|O[e|0]<<8;i=i+4|0;e=e+2|0;if(f>>>0>e>>>0){continue}break};break i;case 0:if((h|0)<=0){break i}while(1){N[i>>2]=O[e|0];i=i+4|0;e=e+1|0;if(f>>>0>e>>>0){continue}break};break i;default:break j}}if((h|0)<=0){break i}while(1){h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[i>>2]=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);i=i+4|0;e=e+4|0;if(f>>>0>e>>>0){continue}break}}if(N[g+20>>2]){f=N[g>>2];if(f){e=N[g+28>>2];Qa[N[e+8>>2]](e,f)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;break d}N[a+28>>2]=0;e=!f<<6;if(e){break c}}e=0;f=N[a+12>>2];if(!f){break c}i=0;g=f+1|0;if((g|0)<0){return 6}h=N[a+24>>2];k:{if(!g){break k}e=10;if((g|0)>536870911){break c}g=g<<2;i=Qa[N[j+4>>2]](j,g)|0;if(!(!i|f>>>0>2147483646)){C(i,0,g);break k}if(i){break k}return!i<<6}l=f+h|0;l:{m:{n:{o:{p:{q:{r:{if(c){h=0;if((l|0)<=0){e=6;if(!l){break q}break l}h=Qa[N[j+4>>2]](j,l)|0;if(h){break r}e=64;break l}h=N[a+32>>2];N[i>>2]=h;j=N[a+12>>2];if(j){e=1;f=0;while(1){k=e<<2;g=N[k+N[a+28>>2]>>2]-1|0;if(g>>>0>=f>>>0){f=N[a+24>>2];f=f>>>0>g>>>0?g:f}N[i+k>>2]=f+h;e=e+1|0;if(j>>>0>=e>>>0){continue}break}h=0;break p}N[b>>2]=i;break m}C(h,0,l)}o=N[a+32>>2];N[i>>2]=h;m=N[a+12>>2];if(!m){break o}e=1;j=0;f=0;while(1){g=e<<2;n=N[g+N[a+28>>2]>>2]-1|0;s:{if(n>>>0>>0){N[i+g>>2]=(f+h|0)+j;break s}k=i+g|0;g=N[a+24>>2];g=g>>>0>n>>>0?n:g;n=(g+h|0)+j|0;N[k>>2]=n;if((f|0)==(g|0)){break s}m=N[k-4>>2];F(m,f+o|0,n-m|0);L[N[k>>2]]=0;N[k>>2]=N[k>>2]+1;j=j+1|0;m=N[a+12>>2];f=g}e=e+1|0;if(m>>>0>=e>>>0){continue}break}}N[b>>2]=i;if(!c){break m}break n}N[b>>2]=i}N[c>>2]=h}e=0;if(!d){break c}N[d>>2]=l;break c}if(!e|!i){break c}Qa[N[j+8>>2]](j,i);return e}return e}b=N[a+28>>2];if(b){Qa[N[i+8>>2]](i,b)}N[a+28>>2]=0;return f}N[a+28>>2]=0;return f}function ww(a){a=a|0;var 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;d=La+-64|0;La=d;l=N[a+16>>2];b=161;a:{if(Q[a+20>>2]>>0){break a}e=N[a+32>>2];m=e+48|0;L[e+64|0]=1;i=-2147483648;g=2147483647;while(1){b=k<<2;j=b+d|0;n=b+(d+32|0)|0;c=N[l>>2];h=O[c|0];b:{if((h|0)==30){b=Wf(a,c,0,j);break b}f=c+1|0;c:{d:{e:{switch(h-28|0){case 0:b=0;if(Q[a+8>>2]<=c+2>>>0){break c}b=O[c+2|0]|O[f|0]<<8;break c;case 1:b=0;if(Q[a+8>>2]<=c+4>>>0){break c}b=O[c+1|0]|O[c+2|0]<<8|(O[c+3|0]<<16|O[c+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break d;default:break e}}if(h>>>0<=246){b=h-139|0;break c}c=N[a+8>>2];if(h>>>0<=250){b=0;if(c>>>0<=f>>>0){break c}b=(O[f|0]|h<<8)-63124|0;break c}b=0;if(c>>>0<=f>>>0){break c}b=64148-(O[f|0]|h<<8)|0}if((b|0)<32768){break c}c=5;f:{if(b>>>0<1e5){break f}c=6;if(b>>>0<1e6){break f}c=7;if(b>>>0<1e7){break f}c=8;if(b>>>0<1e8){break f}c=b>>>0<1e9?9:10}h=c-5|0;f=N[(h<<2)+33472>>2];if(((b|0)/(f|0)|0)>=32768){c=c-4|0;N[j>>2]=c;b=fb(b,N[(c<<2)+33472>>2]);break b}N[j>>2]=h;b=fb(b,f);break b}N[j>>2]=0;b=b<<16}N[n>>2]=b;if(b){b=N[j>>2];g=(b|0)<(g|0)?b:g;i=(b|0)>(i|0)?b:i}l=l+4|0;k=k+1|0;if((k|0)!=6){continue}break}if(!(i-1>>>0<4294967286|i-g>>>0>9)){k=0;h=0;a=N[d+32>>2];if(a){c=N[(i-N[d>>2]<<2)+33472>>2];b=c>>1;h=(((a|0)<0?a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0:a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0)|0)/(c|0)|0}a=N[d+36>>2];if(a){c=N[(i-N[d+4>>2]<<2)+33472>>2];b=c>>1;k=(((a|0)>=0?a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0:a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0)|0)/(c|0)|0}b=0;j=0;a=N[d+40>>2];if(a){g=N[(i-N[d+8>>2]<<2)+33472>>2];c=g>>1;j=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(g|0)|0}a=N[d+44>>2];if(a){c=N[(i-N[d+12>>2]<<2)+33472>>2];b=c>>1;b=(((a|0)>=0?a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0:a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0)|0)/(c|0)|0}g=0;f=0;a=N[d+48>>2];if(a){f=N[(i-N[d+16>>2]<<2)+33472>>2];c=f>>1;f=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(f|0)|0}a=N[d+52>>2];if(a){g=N[(i-N[d+20>>2]<<2)+33472>>2];c=g>>1;g=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(g|0)|0}N[e+48>>2]=h;N[e+72>>2]=f;N[e+56>>2]=k;N[e+76>>2]=g;N[e+60>>2]=b;N[e+52>>2]=j;N[e+68>>2]=N[33472-(i<<2)>>2];b=0;if(hg(m)){break a}}N[e+48>>2]=65536;N[e+52>>2]=0;N[e+68>>2]=1;N[e+72>>2]=0;N[e+76>>2]=0;N[e+56>>2]=0;N[e+60>>2]=65536;b=0}La=d- -64|0;return b|0}function CC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0,w=0;p=d<<3;q=T(c+7&-8,d);a:{b:{t=c<<1;r=t+4|0;if(r>>>0>=9){o=8;if(d){break b}c=p<<1;while(1){a=a+c|0;o=o+16|0;if(r>>>0>o>>>0){continue}break}}c=0;break a}c=0;while(1){s=0;while(1){e=c>>>0>=q>>>0?440592:(c<<1)+b|0;h=P[e+8>>1];i=P[e+12>>1];u=P[e+14>>1];j=P[e+10>>1];f=c-p|0;f=f>>>0>=q>>>0?440592:(f<<1)+b|0;v=P[f+12>>1];l=P[f+14>>1];f=P[e>>1];k=P[e+4>>1];m=P[e+6>>1];g=P[e+2>>1];e=(k+((m+g&65534)>>>1|0)&65534)>>>1|0;n=k+1|0;M[a+14>>1]=(n+((e+m&65534)>>>1|0)&65534)>>>1;M[a+12>>1]=(n+((e+g&65534)>>>1|0)&65534)>>>1;n=g+1|0;e=(g+((f+k&65534)>>>1|0)&65534)>>>1|0;M[a+10>>1]=(n+((e+k&65534)>>>1|0)&65534)>>>1;M[a+8>>1]=(n+((e+f&65534)>>>1|0)&65534)>>>1;e=(f+((g+l&65534)>>>1|0)&65534)>>>1|0;n=(e+g&65534)>>>1|0;g=f+1|0;M[a+6>>1]=(n+g&65534)>>>1;M[a+4>>1]=(g+((e+l&65534)>>>1|0)&65534)>>>1;e=(l+((f+v&65534)>>>1|0)&65534)>>>1|0;g=(e+f&65534)>>>1|0;f=l+1|0;M[a+2>>1]=(g+f&65534)>>>1;M[a>>1]=(f+((e+v&65534)>>>1|0)&65534)>>>1;f=p<<1;e=f+a|0;l=i+1|0;g=(i+((j+u&65534)>>>1|0)&65534)>>>1|0;M[e+14>>1]=(l+((g+u&65534)>>>1|0)&65534)>>>1;M[e+12>>1]=(l+((g+j&65534)>>>1|0)&65534)>>>1;g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;l=(g+i&65534)>>>1|0;i=j+1|0;M[e+10>>1]=(l+i&65534)>>>1;M[e+8>>1]=(i+((h+g&65534)>>>1|0)&65534)>>>1;g=h+1|0;i=j;j=(h+((j+m&65534)>>>1|0)&65534)>>>1|0;M[e+6>>1]=(g+((i+j&65534)>>>1|0)&65534)>>>1;M[e+4>>1]=(g+((j+m&65534)>>>1|0)&65534)>>>1;j=m+1|0;i=h;h=(m+((h+k&65534)>>>1|0)&65534)>>>1|0;M[e+2>>1]=(j+((i+h&65534)>>>1|0)&65534)>>>1;M[e>>1]=(j+((h+k&65534)>>>1|0)&65534)>>>1;c=c+8|0;a=a+16|0;s=s+1|0;if((s|0)!=(d|0)){continue}break}a=a+f|0;o=o+16|0;if(r>>>0>o>>>0){continue}break}}if(!(!d|t+3&8)){while(1){e=c-p|0;e=e>>>0>=q>>>0?440592:(e<<1)+b|0;m=P[e+12>>1];j=P[e+14>>1];f=c>>>0>=q>>>0?440592:(c<<1)+b|0;e=P[f>>1];k=P[f+6>>1];h=P[f+2>>1];f=P[f+4>>1];g=(((k+h&65534)>>>1|0)+f&65534)>>>1|0;i=(g+k&65534)>>>1|0;k=f+1|0;M[a+14>>1]=(i+k&65534)>>>1;M[a+12>>1]=(k+((h+g&65534)>>>1|0)&65534)>>>1;g=h+1|0;i=f;f=(h+((e+f&65534)>>>1|0)&65534)>>>1|0;M[a+10>>1]=(g+((i+f&65534)>>>1|0)&65534)>>>1;M[a+8>>1]=(g+((e+f&65534)>>>1|0)&65534)>>>1;f=e+1|0;i=h;h=(e+((h+j&65534)>>>1|0)&65534)>>>1|0;M[a+6>>1]=(f+((i+h&65534)>>>1|0)&65534)>>>1;M[a+4>>1]=(f+((h+j&65534)>>>1|0)&65534)>>>1;h=j+1|0;f=e;e=(j+((e+m&65534)>>>1|0)&65534)>>>1|0;M[a+2>>1]=(h+((f+e&65534)>>>1|0)&65534)>>>1;M[a>>1]=(h+((e+m&65534)>>>1|0)&65534)>>>1;c=c+8|0;a=a+16|0;w=w+1|0;if((w|0)!=(d|0)){continue}break}}}function wz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-288|0;La=d;e=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);hb(d+272|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);hb(d+240|0,b^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+208|0,b^(N[d+232>>2]^N[d+224>>2])^2025677871,N[d+236>>2]^N[d+228>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+176|0,b^(N[d+200>>2]^N[d+192>>2])^2025677871,N[d+204>>2]^N[d+196>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);b=a;hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+288|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function zE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;j=La-16|0;La=j;if(ib(c,b,13459,0)){e=N[a+112>>2];g=N[e+8>>2];if((g|0)==-1){i=N[N[e>>2]+8>>2];if(i){N[j+4>>2]=0;g=N[b+96>>2];h=N[g+28>>2];d=N[b+100>>2];f=j+4|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}i=Qa[h|0](b,d,i,f,g)|0;g=i?N[j+4>>2]:0}else{g=0}N[e+8>>2]=g}a:{if(!g){break a}m=N[c+68>>2];if(!m){break a}n=N[c+80>>2];p=n+3|0;i=N[b+24>>2];k=j+8|0;while(1){h=T(l,20);o=h+p|0;if(O[o+16|0]==4){h=N[h+n>>2];N[j+12>>2]=g;N[j+8>>2]=h;N[j+4>>2]=g;h=N[e+48>>2];b:{c:{if(!h){break c}d=N[e+44>>2];f=d+T(h,12)|0;while(1){h=8;if(Dc(i,P[d>>1],j+4|0,2,O[e+56|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+48>>2];if(!f){break c}d=N[e+44>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+56|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=N[e+80>>2];d:{if(!h){break d}d=N[e+76>>2];f=d+T(h,12)|0;while(1){h=8;if(Dc(i,P[d>>1],j+4|0,2,O[e+88|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+80>>2];if(!f){break d}d=N[e+76>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+88|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=N[e+64>>2];e:{if(!h){break e}d=N[e+60>>2];f=d+T(h,12)|0;while(1){h=11;if(Dc(i,P[d>>1],j+4|0,2,O[e+72|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+64>>2];if(!f){break e}d=N[e+60>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+72|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=4;f=N[e+32>>2];if(!f){break b}d=N[e+28>>2];f=d+T(f,12)|0;f:{while(1){if(Dc(i,P[d>>1],j+4|0,2,O[e+40|0])){break f}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+32>>2];if(!f){break b}d=N[e+28>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+40|0])){break f}d=d+12|0;if((f|0)!=(d|0)){continue}break}break b}h=11}L[o+16|0]=h}l=l+1|0;if((m|0)!=(l|0)){continue}break}}l=wf(b,c,4,11,14,14);h=N[c+68>>2];if(h){i=h-1|0;k=N[c+80>>2];g=k+3|0;e=0;d=O[k+15|0];while(1){g:{if((e|0)==(i|0)){e=h;break g}e=e+1|0;if(O[(g+T(e,20)|0)+12|0]==(d|0)){continue}}break}g=0;while(1){i=e;e=N[b+24>>2];h:{i:{switch(d&15){case 0:case 1:xq(N[a+112>>2],e,c,g,i);break h;case 2:case 4:break i;default:break h}}d=N[a+112>>2];if(O[(T(i,20)+k|0)-2|0]==11?O[d+5|0]:0){break h}xq(d,e,c,g,i)}e=N[c+68>>2];g=i+1|0;g=e>>>0>g>>>0?e:g;m=g-1|0;k=N[c+80>>2];d=O[(k+T(i,20)|0)+15|0];n=k+3|0;e=i;while(1){j:{if((e|0)==(m|0)){e=g;break j}e=e+1|0;if(O[(n+T(e,20)|0)+12|0]==(d&255)){continue}}break}g=i;if(i>>>0>>0){continue}break}}ib(c,b,13490,0)}La=j+16|0;return l|0}function Sx(a){a=a|0;var 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;o=La-16|0;La=o;h=N[a+12>>2];k=N[a+200>>2];e=N[a+196>>2];m=M[a+32>>1];a:{if(m){if(Q[h+8>>2]>1]+(M[h+20>>1]+m|0)>>>0){c=Sb(h,0,m);if(c){break a}}c=20;if((m|0)>4094){break a}}c=20;f=m<<1;if((f+e|0)+2>>>0>k>>>0){break a}d=N[h+68>>2];b=O[e|0]<<8;g=b|O[e+1|0];if((m|0)>0){M[d>>1]=g}if(b<<16>>16<0){break a}i=d+f|0;while(1){b=d+2|0;if(b>>>0>>0){d=O[e+2|0]|O[e+3|0]<<8;j=d<<8|d>>>8;M[b>>1]=j;f=g<<16>>16;d=b;b=j<<16>>16;g=b;e=e+2|0;if((b|0)>(f|0)){continue}break a}break}f=N[h+4>>2];g=M[h+58>>1];if((m|0)<=0){j=0}else{b=M[d>>1];if((b|0)<-1){break a}j=b+1|0}b=j+4|0;if(f>>>0>1]|0)>>>0){c=Sb(h,b,0);if(c){break a}}b=N[a+8>>2];N[b+136>>2]=0;N[b+140>>2]=0;g=e+4|0;if(g>>>0>k>>>0){c=20;break a}b=O[e+2|0]|O[e+3|0]<<8;f=b<<8|b>>>8;b:{c:{if(O[a+16|0]&2){d=f&65535;break c}d=f&65535;if((d|0)>(k-g|0)){break b}i=N[a+156>>2];N[o+12>>2]=N[i+408>>2];e=N[i+8>>2];c=0;l=N[o+12>>2];d:{if(l>>>0>=d>>>0){break d}c=6;if((d|l)<0){break d}e:{if(!l){b=Qa[N[e+4>>2]](e,d)|0;c=!b<<6;break e}b=N[i+412>>2];c=Qa[N[e+12>>2]](e,l,d,b)|0;b=c?c:b;c=!c<<6}f:{if(!(c|(d|0)<=(l|0)|!b)){C(b+l|0,0,d-l|0);N[i+412>>2]=b;break f}N[i+412>>2]=b;if(c){break d}}N[o+12>>2]=d;c=0}e=N[a+156>>2];N[e+408>>2]=N[o+12>>2];if(c){break a}b=N[a+8>>2];N[b+140>>2]=d;c=b;b=N[e+412>>2];N[c+136>>2]=b;if(!(f&65535)){break c}F(b,g,d)}b=d+g|0;e=N[h- -64>>2];if((j|0)>0){g=e+j|0;while(1){d=b+1|0;if(d>>>0>k>>>0){c=20;break a}f=O[b|0];L[e|0]=f;c=e+1|0;g:{if(!(f&8)){b=d;break g}b=b+2|0;if(k>>>0>>0){c=20;break a}d=O[d|0];if(g>>>0>>0){c=20;break a}if(!d){break g}C(c,f,d);c=((d-1&255)+e|0)+2|0}e=c;if(g>>>0>e>>>0){continue}break}e=N[h+64>>2]}if(!(!j|!(O[e|0]&64))){N[h+36>>2]=N[h+36>>2]|64}if(b>>>0>k>>>0){c=20;break a}if((j|0)>0){c=N[h+60>>2];l=c+(j<<3)|0;g=c;d=e;while(1){i=O[d|0];h:{if(i&2){f=b+1|0;if(f>>>0>k>>>0){c=20;break a}b=O[b|0];n=i&16?b:0-b|0;b=f;break h}n=0;if(i&16){break h}f=b+2|0;if(f>>>0>k>>>0){c=20;break a}b=O[b|0]|O[b+1|0]<<8;n=(b<<8|b>>>8)<<16>>16;b=f}p=n+p|0;N[g>>2]=p;d=d+1|0;g=g+8|0;if(l>>>0>g>>>0){continue}break}n=0;while(1){f=O[e|0];i:{if(f&4){d=b+1|0;if(d>>>0>k>>>0){c=20;break a}b=O[b|0];g=f&32?b:0-b|0;b=d;break i}g=0;if(f&32){break i}d=b+2|0;if(d>>>0>k>>>0){c=20;break a}b=O[b|0]|O[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16;b=d}n=g+n|0;N[c+4>>2]=n;L[e|0]=f&1;e=e+1|0;c=c+8|0;if(l>>>0>c>>>0){continue}break}}M[h+56>>1]=m;M[h+58>>1]=j;N[a+196>>2]=b;c=0;break a}c=22}La=o+16|0;return c|0}function hq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a+20>>2]=0;N[a+24>>2]=0;if(N[b+32>>2]==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[b+32>>2]=(c<<8|c>>>8)&65535}c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1752003704,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}if(N[c+16>>2]<0){break b}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+20>>2]=c;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];d:{if(c){c=Qa[c|0](b,1213612370,N[b+16>>2])|0;if(c){break d}}c=275552}d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}L[e+28|0]=0;N[e+36>>2]=c;f=N[c+12>>2];N[e+8>>2]=f;d=N[c+16>>2];N[e+12>>2]=d+f;if((d|0)<0){break b}N[e+32>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[e+16>>2]=d;N[e+24>>2]=0;N[e+4>>2]=0;d=c;e:{f:{if(!f){break f}g:{h:{i:{j:{if(Ie(f,e+4|0)){break j}k:{if(O[e+28|0]|!N[e+32>>2]){break k}if(!zb(c)){break k}while(1){L[e+28|0]=1;d=N[e+36>>2];f=N[d+12>>2];N[e+8>>2]=f;g=N[d+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break b}N[e+32>>2]=0;if(g>>>0>67108863){h=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;h=g>>>0>=1073741823?1073741823:g}N[e+16>>2]=h;N[e+24>>2]=0;N[e+4>>2]=0;if(!f){break f}if(Ie(f,e+4|0)){break j}if(O[e+28|0]|!N[e+32>>2]){break k}d=zb(c);N[e+8>>2]=d;N[e+12>>2]=d+N[c+16>>2];if(d){continue}break}}ab(N[e+36>>2]);break i}if(!N[e+32>>2]){break h}N[e+32>>2]=0;d=Ie(f,e+4|0);f=N[e+32>>2];ab(N[e+36>>2]);if(f){break i}if(d){break g}}ab(c);c=275552;break e}ab(N[e+36>>2])}if(!N[c+4>>2]){break e}N[c+4>>2]=0;break e}ab(d)}N[a+24>>2]=c;c=N[b+28>>2];if(!c){c=ae(b+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;c=c-16>>>0>=16369?1e3:c;N[b+28>>2]=c}N[a+16>>2]=c>>>1;c=N[a+20>>2];d=N[(c?c:275552)+16>>2];c=Kd(b- -64|0);c=O[c+34|0]|O[c+35|0]<<8;c=(c<<8|c>>>8)&65535;f=c<<2;g=d&-2;if(f>>>0>g>>>0){f=d&-4;c=d>>>2|0}N[a>>2]=c;h=b+56|0;c=sb(h);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[a+4>>2]=c;g=g-f|0;f=N[a>>2];d=f;l:{if(d>>>0<=c>>>0){if(g>>>0>=c-f<<1>>>0){break l}d=f+(g>>>1|0)|0}N[a+4>>2]=d;c=d}if(f){d=c}else{N[a>>2]=0;N[a+4>>2]=0;d=0}c=d+((f+(g>>>1|0)|0)-c&2147483647)|0;N[a+8>>2]=c;f=N[b+32>>2];if((f|0)==-1){d=b;b=sb(h);b=O[b+4|0]|O[b+5|0]<<8;f=(b<<8|b>>>8)&65535;N[d+32>>2]=f;c=N[a+8>>2]}N[a+12>>2]=c>>>0>>0?f:c;La=e+48|0;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function xn(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=La-16|0;La=l;i=N[b+20>>2];a:{b:{if(i){j=85;if(Qa[i|0](b,c,0,0)|0){break a}k=N[b+4>>2];break b}j=85;k=N[b+4>>2];if(k>>>0>>0){break a}}N[b+8>>2]=c;c:{if(c+1>>>0>=k>>>0){break c}d:{e:{i=N[b+20>>2];f:{if(i){if((Qa[i|0](b,c,l+6|0,2)|0)!=2){break c}k=l+6|0;i=N[b+8>>2];break f}i=N[b>>2];if(!i){break e}k=c+i|0;i=c}m=O[k|0]|O[k+1|0]<<8;k=i+2|0;N[b+8>>2]=k;j=8;q=(m<<8|m>>>8)<<16>>16;if((q|0)>4078){break a}if((q|0)>=0){break d}j=1;break a}k=c+2|0;N[b+8>>2]=k}while(1){g:{h:{i:{p=N[b+4>>2];if(p>>>0<=k+3>>>0){break i}j:{k:{i=N[b+20>>2];l:{if(i){if((Qa[i|0](b,k,l+8|0,4)|0)!=4){break i}p=N[b+4>>2];k=N[b+8>>2];i=l+8|0;break l}i=N[b>>2];if(!i){break k}i=i+k|0}i=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);m=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);break j}m=0}j=k+4|0;N[b+8>>2]=j;if(k+5>>>0>=p>>>0){break i}m:{n:{i=N[b+20>>2];o:{if(i){if((Qa[i|0](b,j,l+12|0,2)|0)!=2){break i}p=N[b+4>>2];j=N[b+8>>2];i=l+12|0;break o}i=N[b>>2];if(!i){break n}i=i+j|0}i=O[i|0]|O[i+1|0]<<8;o=i<<8|i>>>8;break m}o=0}k=j+2|0;N[b+8>>2]=k;if(j+3>>>0>=p>>>0){break i}i=N[b+20>>2];p:{if(i){if((Qa[i|0](b,k,l+14|0,2)|0)!=2){break i}k=N[b+8>>2];i=l+14|0;break p}i=N[b>>2];if(!i){break h}i=i+k|0}i=O[i|0]|O[i+1|0]<<8;i=i<<8|i>>>8;break g}j=85;break a}i=0}k=k+2|0;N[b+8>>2]=k;if((e|0)!=(m|0)){j=1;i=(n|0)==(q|0);n=n+1|0;if(!i){continue}break a}break}N[h>>2]=(o<<16>>16)+1;j=8;if((o&65535)>>>0>2726){break a}e=(i<<16>>16)+c|0;c=N[b+20>>2];q:{if(c){j=85;if(!(Qa[c|0](b,e,0,0)|0)){break q}break a}j=85;if(e>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=e;c=0;N[l>>2]=0;n=lb(a,8,0,N[h>>2],0,l);j=N[l>>2];if(j){break a}j=N[h>>2];r:{if((j|0)>0){while(1){i=n+(c<<3)|0;r=i,s=xb(b,l),M[r>>1]=s;j=N[l>>2];if(j){break r}m=N[b+8>>2]+2|0;s:{e=N[b+20>>2];if(e){if(!(Qa[e|0](b,m,0,0)|0)){break s}j=85;break r}if(m>>>0<=Q[b+4>>2]){break s}j=85;break r}N[b+8>>2]=m;N[l>>2]=0;m=Nb(b,l);j=N[l>>2];if(j){break r}o=N[b+8>>2]+4|0;t:{e=N[b+20>>2];if(e){if(!(Qa[e|0](b,o,0,0)|0)){break t}j=85;break r}if(o>>>0<=Q[b+4>>2]){break t}j=85;break r}N[b+8>>2]=o;N[l>>2]=0;if((m|0)<0){j=8;break r}N[i+4>>2]=m&16777215;c=c+1|0;j=N[h>>2];if((c|0)<(j|0)){continue}break}}b=0;if(f){Zc(n,j,8,114);j=N[h>>2]}c=lb(a,4,0,j,0,l);j=N[l>>2];if(!j){if(N[h>>2]>0){while(1){N[c+(b<<2)>>2]=N[(n+(b<<3)|0)+4>>2]+d;b=b+1|0;if((b|0)>2]){continue}break}}N[g>>2]=c;j=0}if(!n){break a}}Qa[N[a+8>>2]](a,n);break a}}La=l+16|0;return j}function Nf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}h=a-132|0;while(1){c=N[h>>2];if(!c){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;d=N[c+32>>2];if((d|0)==-1){d=sb(c+56|0);d=O[d+4|0]|O[d+5|0]<<8;d=(d<<8|d>>>8)&65535;N[c+32>>2]=d}L[b+40|0]=1;N[b+36>>2]=d;d=N[c+12>>2];b:{if(d){d=Qa[d|0](c,1717920116,N[c+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!d){break l}c=N[d>>2];if(!c){break l}if((c|0)<=0){break k}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;e=N[d+12>>2];N[b+4>>2]=e;f=N[d+16>>2];N[b+8>>2]=f+e;if((f|0)<0){break j}N[b+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;g=d;if(!e){break d}if(f>>>0<12){break h}N[b+12>>2]=c-12;if((O[e|0]|O[e+1|0]<<8)!=256){break h}c=O[e+4|0]|O[e+5|0]<<8;if(kh(e+12|0,b,(c<<8|c>>>8)&65535,e)){break i}if(O[b+24|0]|!N[b+28>>2]){break h}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break h}while(1){L[b+24|0]=1;g=N[b+32>>2];e=N[g+12>>2];N[b+4>>2]=e;f=N[g+16>>2];N[b+8>>2]=f+e;if((f|0)<0){break j}N[b+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;if(!e){break d}if(f>>>0<12){break h}N[b+12>>2]=c-12;if((O[e|0]|O[e+1|0]<<8)!=256){break h}c=O[e+4|0]|O[e+5|0]<<8;if(kh(e+12|0,b,(c<<8|c>>>8)&65535,e)){break i}if(O[b+24|0]|!N[b+28>>2]){break h}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}break h}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break g}N[b+28>>2]=0;if(Q[b+4>>2]>e>>>0){break h}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<12){break h}c=N[b+12>>2]-12|0;N[b+12>>2]=c;if((O[e|0]|O[e+1|0]<<8)!=256|(c|0)<=0){break h}c=O[e+4|0]|O[e+5|0]<<8;c=kh(e+12|0,b,(c<<8|c>>>8)&65535,e);if(N[b+28>>2]){break h}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(c){break f}break e}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break e}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(d);d=275552;break c}ab(g);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=c;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<12?275552:N[d+12>>2]}function Xd(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=La+-64|0;La=g;r=!(O[N[a+11672>>2]+5|0]?O[a+11661|0]:1);k=N[a+11716>>2];m=N[a+11720>>2];if((k|0)!=(b|0)|(m|0)!=(c|0)|r){Ki(a,k,m,b,c,g+20|0,g+16|0);d=N[g+20>>2];p=d+N[a+11716>>2]|0;N[g+8>>2]=p;m=N[g+16>>2];k=m+N[a+11720>>2]|0;N[g+12>>2]=k;m=c+m|0;q=b+d|0;if(O[a+11663|0]){N[g+56>>2]=1;d=N[a+11728>>2];N[g+24>>2]=N[a+11724>>2];N[g+28>>2]=d;if(!O[a+20|0]){Ce(a,N[a+11732>>2],N[a+11736>>2])}n=a+8|0;l=N[a+11640>>2];e=l>>31;e=(e^l)-e|0;d=p>>31;d=(d^p)-d|0;a:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break a}h=e&65535;e=T(h,d>>>16|0)+T(d,e>>>16|0)+(T(h,d&65535)+32768>>>16)|0}d=e;f=0-d|0;d=l>>31|1;f=(((p|0)<0?0-d|0:d)|0)<0?f:e;h=N[a+11644>>2];e=h>>31;e=(e^h)-e|0;d=k>>31;d=(d^k)-d|0;b:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break b}l=e&65535;e=T(l,d>>>16|0)+T(d,e>>>16|0)+(T(l,d&65535)+32768>>>16)|0}d=e;l=_c(n,k);t=N[a+11652>>2];i=0-d|0;d=h>>31|1;h=f+((((k|0)<0?0-d|0:d)|0)<0?i:e)|0;d=h>>31;n=N[a>>2];f=N[n+64>>2];e=f>>31;d=(d^h)-d|0;o=d>>>8|0;e=(e^f)-e|0;c:{if(o+e>>>0<=8190){i=T(d,e)+32768>>>16|0;break c}j=e&65535;i=T(j,d>>>16|0)+T(d,e>>>16|0)+(T(j,d&65535)+32768>>>16)|0}e=i;j=0-e|0;e=f>>31|1;u=(((h|0)<0?0-e|0:e)|0)<0?j:i;j=N[n+72>>2];f=j>>31;e=l>>31;e=(e^l)-e|0;s=e>>>8|0;f=(f^j)-f|0;d:{if(s+f>>>0<=8190){i=T(e,f)+32768>>>16|0;break d}i=f&65535;i=T(i,e>>>16|0)+T(e,f>>>16|0)+(T(e&65535,i)+32768>>>16)|0}f=i;v=0-f|0;f=j>>31|1;N[g+32>>2]=t+(u+((((l|0)<0?0-f|0:f)|0)<0?v:i)|0);i=N[a+11656>>2];j=N[n+68>>2];f=j>>31;f=(f^j)-f|0;e:{if(f+o>>>0<=8190){f=T(d,f)+32768>>>16|0;break e}o=f&65535;f=T(o,d>>>16|0)+T(d,f>>>16|0)+(T(o,d&65535)+32768>>>16)|0}d=f;o=0-d|0;d=j>>31|1;f=(((h|0)<0?0-d|0:d)|0)<0?o:f;h=N[n+76>>2];d=h>>31;d=(d^h)-d|0;f:{if(d+s>>>0<=8190){e=T(d,e)+32768>>>16|0;break f}n=d&65535;e=T(n,e>>>16|0)+T(e,d>>>16|0)+(T(n,e&65535)+32768>>>16)|0}d=e;j=0-d|0;d=h>>31|1;N[g+36>>2]=i+(f+((((l|0)<0?0-d|0:d)|0)<0?j:e)|0);d=N[a+4>>2];Qa[N[d>>2]](d,g+24|0);d=N[g+32>>2];e=N[g+36>>2];f=0;N[a+11700>>2]=f|p;N[a+11704>>2]=k;N[a+11724>>2]=d;N[a+11728>>2]=e;N[a+11708>>2]=f|q;N[a+11712>>2]=m;L[a+11660|0]=1;L[a+11663|0]=0}if(O[a+11740|0]){lf(a,a+8|0,g+8|0,q,m,0)}N[a+11744>>2]=2;L[a+11740|0]=1;k=N[g+12>>2];N[a+11748>>2]=N[g+8>>2];N[a+11752>>2]=k;N[a+11756>>2]=q;N[a+11760>>2]=m;if(r){kf(a+8|0,N[a+11664>>2],N[a+11668>>2],N[a+11672>>2],N[a+11676>>2],0)}N[a+11720>>2]=c;N[a+11716>>2]=b}La=g- -64|0}function MA(a,b,c){a=a|0;b=b|0;c=c|0;var 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;j=La-16|0;La=j;N[a+64>>2]=0;N[a+1140>>2]=b;k=a+1140|0;N[a+1344>>2]=k;l=a+112|0;N[a+1136>>2]=l;d=b+c|0;N[a+1148>>2]=d;N[a+1144>>2]=b;m=160;a:{if((c|0)<=0){break a}c=l;f=k;while(1){g=b+1|0;e=22;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{h=O[b|0];switch(h-1|0){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 13:case 14:case 20:case 21:case 29:case 30:break a;case 11:break j;case 12:break k;case 9:break f;case 10:break g;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break h;default:break i}}e=2;break f}if(d>>>0<=g>>>0){break a}g=b+2|0;h=20;e=4;switch(O[b+1|0]-7|0){case 5:break e;case 0:break f;default:break a}}if((h|0)==255){break d}}if(h>>>0<32){break a}if(h>>>0<=246){b=h-139|0}else{b=b+2|0;if(b>>>0>d>>>0){break a}e=h<<8;n=O[g|0];g=b;b=h>>>0<=250?(e+n|0)-63124|0:64148-(e|n)|0}b=i?b:b<<16;e=(i|0)!=0;break c}e=24}h=e;if(i){break a}}b=N[(h<<2)+294928>>2];if((b|0)>c-l>>2){m=161;break a}c=c-(b<<2)|0;l:{m:{n:{o:{switch(h-2>>>1|0){case 1:N[a+64>>2]=1;N[a+32>>2]=N[c>>2]+N[a+32>>2];N[a+36>>2]=N[c+4>>2]+N[a+36>>2];N[a+40>>2]=N[c+8>>2];b=N[c+12>>2];break l;case 9:o=c,p=fb(N[c>>2],N[c+4>>2]),N[o>>2]=p;c=c+4|0;i=0;b=g;break b;case 10:b=M[c+2>>1];d=N[a+1376>>2];if(d){N[j+8>>2]=b;e=N[d+20>>2];b=e+((Qa[N[d+12>>2]](j+8|0)>>>0)%Q[d+4>>2]<<2)|0;while(1){p:{h=N[b>>2];if(!h){break p}if(Qa[N[d+16>>2]](h,j+8|0)|0){break p}b=b-4|0;if(e>>>0<=b>>>0){continue}b=(e+(N[d+4>>2]<<2)|0)-4|0;continue}break}b=N[b>>2];if(!b){break a}b=N[b+4>>2]}if((b|0)<0|N[a+1364>>2]<=(b|0)|(f-k|0)>180){break a}N[f>>2]=g;g=b<<2;d=g+N[a+1368>>2]|0;b=N[d>>2];N[f+16>>2]=b;e=N[a+1372>>2];q:{if(e){d=N[e+g>>2]+b|0;break q}g=b;b=N[a+1360>>2];b=g+((b|0)>0?b:0)|0;N[f+16>>2]=b;d=N[d+4>>2]}N[f+12>>2]=b;N[f+20>>2]=d;if(!b){break a}f=f+12|0;break n;case 0:break m;case 11:break o;default:break a}}if(f>>>0<=k>>>0){break a}f=f-12|0;b=N[f>>2];d=N[f+8>>2]}N[a+1344>>2]=f;break b}N[a+64>>2]=1;N[a+32>>2]=N[c>>2]+N[a+32>>2];N[a+40>>2]=N[c+4>>2];b=0}N[a+44>>2]=b;m=0;break a}g=b+5|0;if(d>>>0>>0){break a}b=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b-32001>>>0<=4294903294){e=1;if(!i){break c}break a}b=i?b:b<<16;e=(i|0)!=0}i=e;if((c-l|0)>1020){break a}N[c>>2]=b;c=c+4|0;b=g}N[a+1136>>2]=c;if(b>>>0>>0){continue}break}}La=j+16|0;return m|0}function so(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=La-96|0;La=e;c=c^2025677871;d=d^-1602871964;a:{if(b>>>0<=16){if(b>>>0>=4){g=(a+b|0)-4|0;f=g;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);h=b>>>1&2147483644;g=g-h|0;g=0|(O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24));i=f;f=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a+h|0;h=j|(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24));break a}f=0;if(!b){break a}h=O[(b>>>1|0)+a|0];f=h>>>24|0;h=h<<8;j=f;k=O[(a+b|0)-1|0];a=O[a|0];f=a>>>16|0;h=k|(a<<16|h);f=f|j;break a}b:{c:{if(b>>>0<49){f=b;break c}f=b;i=d;g=c;h=g;j=d;while(1){hb(e+80|0,c^(O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24)),d^(O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24)),0,0,(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))^-1598805797,(O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))^-419201327,0,0);hb(e- -64|0,g^(O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24)),i^(O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24)),0,0,(O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24))^-1668757789,(O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24))^-1900254480,0,0);hb(e+48|0,h^(O[a+40|0]|O[a+41|0]<<8|(O[a+42|0]<<16|O[a+43|0]<<24)),j^(O[a+44|0]|O[a+45|0]<<8|(O[a+46|0]<<16|O[a+47|0]<<24)),0,0,(O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24))^1966558403,(O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24))^1486448076,0,0);a=a+48|0;h=N[e+56>>2]^N[e+48>>2];j=N[e+60>>2]^N[e+52>>2];g=N[e+72>>2]^N[e+64>>2];i=N[e+76>>2]^N[e+68>>2];c=N[e+88>>2]^N[e+80>>2];d=N[e+92>>2]^N[e+84>>2];f=f-48|0;if(f>>>0>48){continue}break}c=h^(c^g);d=j^(d^i);if(f>>>0<17){break b}}while(1){hb(e+32|0,c^(O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24)),d^(O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24)),0,0,(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))^-1598805797,(O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))^-419201327,0,0);a=a+16|0;c=N[e+40>>2]^N[e+32>>2];d=N[e+44>>2]^N[e+36>>2];f=f-16|0;if(f>>>0>16){continue}break}}f=a+f|0;a=f-8|0;g=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);a=f-16|0;h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);f=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24)}hb(e+16|0,c^g,d^i,0,0,h^-1598805797,f^-419201327,0,0);hb(e,N[e+24>>2]^N[e+16>>2],N[e+28>>2]^N[e+20>>2],0,0,b^-1598805797,-419201327,0,0);La=e+96|0;Pa=N[e+4>>2]^N[e+12>>2];return N[e>>2]^N[e+8>>2]}function rp(a,b,c,d){var 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;a:{b:{c:{h=N[b>>2];g=h<<1;if((g|0)<0){e=6;break c}d:{e:{if(g){e=10;if((g|0)>536870911){break c}f=h<<3;e=Qa[N[d+4>>2]](d,f)|0;if(!e|(g|0)<=0){break e}C(e,0,f)}N[a+12>>2]=e;break d}N[a+12>>2]=e;if(e){break d}return!e<<6}e=0;f:{if((h|0)<0){e=6;break f}g:{h:{i:{if(h){e=10;if((h|0)>76695844){break f}f=T(h,28);e=Qa[N[d+4>>2]](d,f)|0;if(!e|(h|0)<=0){break i}C(e,0,f)}N[a+8>>2]=e;m=a+8|0;break h}N[a+8>>2]=e;if(!e){break g}m=a+8|0}g=g|1;if((g|0)>=134217728){e=10;a=a+24|0;break b}e=g<<4;d=Qa[N[d+4>>2]](d,e)|0;if(d){g=0;C(d,0,e);N[a>>2]=h;N[a+24>>2]=d;N[a+28>>2]=0;N[a+20>>2]=0;N[a+4>>2]=0;N[a+16>>2]=N[a+12>>2]+(h<<2);j:{if(!h){break j}e=N[m>>2];f=N[b+8>>2];i=h&3;k:{if(!i){d=h;break k}d=h&-4;b=0;while(1){N[e>>2]=N[f>>2];N[e+4>>2]=N[f+4>>2];N[e+16>>2]=N[f+8>>2];f=f+12|0;e=e+28|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(h>>>0<4){break j}while(1){N[e>>2]=N[f>>2];N[e+4>>2]=N[f+4>>2];N[e+16>>2]=N[f+8>>2];N[e+28>>2]=N[f+12>>2];N[e+32>>2]=N[f+16>>2];N[e+44>>2]=N[f+20>>2];N[e+56>>2]=N[f+24>>2];N[e+60>>2]=N[f+28>>2];N[e+72>>2]=N[f+32>>2];N[e+84>>2]=N[f+36>>2];N[e+88>>2]=N[f+40>>2];N[e+100>>2]=N[f+44>>2];f=f+48|0;e=e+112|0;d=d-4|0;if(d){continue}break}}l:{if(!c){break l}j=N[c>>2];k=N[c+8>>2];N[a+32>>2]=c;if(!j){break l}while(1){p=N[k>>2];if(p){n=N[k+8>>2];f=0;l=0;d=0;while(1){if(!f){d=O[n|0];n=n+1|0;f=128}m:{if(!(d&f)|h>>>0<=l>>>0){break m}i=N[m>>2]+T(l,28)|0;b=N[i+16>>2];if(b&4){break m}N[i+16>>2]=b|4;c=N[a+16>>2];N[i+20>>2]=0;n:{if(!g){break n}q=N[i>>2];s=q+N[i+4>>2]|0;b=g;e=c;while(1){o=N[e>>2];r=N[o>>2];if(!((r|0)>(s|0)|(q|0)>(r+N[o+4>>2]|0))){N[i+20>>2]=o;break n}e=e+4|0;b=b-1|0;if(b){continue}break}}if(g>>>0>=h>>>0){break m}b=g+1|0;N[a+4>>2]=b;N[c+(g<<2)>>2]=i;g=b}f=f>>>1|0;l=l+1|0;if((p|0)!=(l|0)){continue}break}}k=k+16|0;j=j-1|0;if(j){continue}break}}d=0;if((g|0)==(h|0)){return 0}if(!h){return 0}while(1){i=N[m>>2]+T(d,28)|0;b=N[i+16>>2];o:{if(b&4){break o}N[i+16>>2]=b|4;b=N[a+16>>2];N[i+20>>2]=0;p:{if(!g){break p}k=N[i>>2];l=k+N[i+4>>2]|0;f=g;e=b;while(1){c=N[e>>2];j=N[c>>2];if(!((j|0)>(l|0)|(k|0)>(j+N[c+4>>2]|0))){N[i+20>>2]=c;break p}e=e+4|0;f=f-1|0;if(f){continue}break}}if(g>>>0>=h>>>0){break o}c=g+1|0;N[a+4>>2]=c;N[b+(g<<2)>>2]=i;g=c}e=0;d=d+1|0;if((d|0)!=(h|0)){continue}break}break a}e=64;a=a+24|0;break b}return!e<<6}a=a+8|0;break b}a=a+12|0}N[a>>2]=0}return e}function Hl(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;w=N[a+16>>2];m=O[w+6|0]<<8|O[w+7|0]&254;if(!m){return 0}x=N[a>>2];z=N[x+508>>2]+N[x+512>>2]|0;d=N[b>>2];r=d+1|0;n=c?r:d;u=m+2|0;t=w+14|0;v=m>>>1|0;d=v;a:{b:{c:{while(1){d:{i=d+f|0;g=(i&-2)+t|0;j=O[g|0]<<8|O[g+1|0];e=i>>>1|0;h=e;g=g+u|0;o=O[g|0]<<8|O[g+1|0];if(o>>>0<=n>>>0){if(j>>>0>=n>>>0){break d}h=d;f=e+1|0}d=h;if(f>>>0>>0){continue}break c}break}f=0;A=v-1|0;d=g+m|0;h=d+m|0;g=O[h|0]<<8|O[h+1|0];k=(o|0)==65535&A>>>0<=e>>>0&(j|0)==65535&(g|0)!=0&(g+h|0)+2>>>0>z>>>0;p=k?0:g;d=O[d|0]|O[d+1|0]<<8;l=k?1:(d<<8|d>>>8)<<16>>16;e:{f:{g:{h:{i:{if(O[a+20|0]&2){s=e+1|0;d=(p|0)==65535?s:e;if(i>>>0<2){break i}f=e-1|0;q=f<<1;i=q+t|0;k=O[i|0]<<8|O[i+1|0];if(k>>>0>>0){break i}l=t+u|0;j:{while(1){k:{g=k;i=f;o=l+q|0;y=o+m|0;h=y+m|0;p=O[h|0]<<8|O[h+1|0];d=(p|0)==65535?d:f;if(!f){break k}f=i-1|0;q=f<<1;k=q+t|0;k=O[k|0]<<8|O[k+1|0];if(k>>>0>=n>>>0){continue}break j}break}i=0;o=l}f=O[y|0]|O[y+1|0]<<8;l=(f<<8|f>>>8)<<16>>16;o=O[o+1|0]|O[o|0]<<8;break h}if((p|0)==65535){break f}break g}i=e;g=j}if((d|0)==(s|0)){j=(e|0)==(i|0)?g:j;f=0;if(s>>>0>=v>>>0){break f}q=(s<<1)+t|0;d=q+u|0;k=O[d|0]<<8|O[d+1|0];if(k>>>0>n>>>0){break f}g=(m+w|0)+12|0;d=e;l:{while(1){m:{o=k;i=s;j=q;l=(u+j|0)+m|0;h=l+m|0;p=O[h|0]<<8|O[h+1|0];d=(p|0)==65535?d:i;s=i+1|0;if((v|0)==(s|0)){break m}q=(s<<1)+t|0;h=q+u|0;k=O[h|0]<<8|O[h+1|0];if(k>>>0<=n>>>0){continue}break l}break}j=g;i=A}g=O[j+1|0]|O[j|0]<<8;if((d|0)==(e|0)){e=i;j=g;if(c){break b}break a}e=O[l|0]|O[l+1|0]<<8;l=(e<<8|e>>>8)<<16>>16}if((d|0)==(i|0)){e=d;j=g;break g}e=(d<<1)+t|0;j=O[e|0]<<8|O[e+1|0];e=e+u|0;o=O[e|0]<<8|O[e+1|0];e=e+m|0;h=e+m|0;p=O[h|0]<<8|O[h+1|0];e=O[e|0]|O[e+1|0]<<8;l=(e<<8|e>>>8)<<16>>16;e=d}if(!p){break e}d=((n-o<<1)+p|0)+h|0;n:{if(!c){break n}f=0;if(d>>>0<=z>>>0){break n}r=n;break b}d=O[d+1|0]|O[d|0]<<8;if(!d){break c}d=d+l&65535;f=d>>>0>2]?d:0}if(c){break b}break a}d=l+n|0;f=d&65535;if(!c){break a}if(Q[x+16>>2]>f>>>0){break b}c=l+j|0;o:{if((d|0)>=0){break o}f=0;if((c|0)<0){break o}r=0-l|0;break b}r=(d|0)<65536?(c|0)>65535?65536-l|0:n:n;f=0;break b}f=0;if(!c){break a}}c=f;if(j>>>0>>0){f=0;e=e+1|0;if((v|0)==(e|0)){break a}}p:{if(Fl(a,e)){f=c;if(f){break p}return 0}N[a+24>>2]=r;if(c){N[a+28>>2]=c;f=c;break p}Gl(a);f=N[a+28>>2];if(!f){return 0}r=N[a+24>>2]}N[b>>2]=r}return f}function ti(a,b){var 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,t=0;c=N[a>>2];f=N[c+96>>2];h=N[a+532>>2];g=a+304|0;b=b?b:N[N[c+168>>2]+16>>2]+T(N[N[a+64>>2]+24>>2],144)|0;F(g,b,144);p=!h|!(f&2);N[a+528>>2]=p;f=h?0:f;e=f&1?f|124:f;if(e&512){F(g,c+976|0,144)}l=N[c+168>>2];f=N[l+40>>2];j=+(f|0);d=j/288;if(e&4){S[a+312>>3]=d*S[c+984>>3];S[a+368>>3]=d*S[c+1040>>3];S[a+352>>3]=S[c+1024>>3];S[a+360>>3]=S[c+1032>>3]}if(e&8){N[a+308>>2]=N[c+980>>2];N[a+428>>2]=N[c+1100>>2]}if(e&16){N[a+320>>2]=N[c+992>>2];N[a+324>>2]=N[c+996>>2];N[a+328>>2]=N[c+1e3>>2];N[a+332>>2]=N[c+1004>>2]}if(e&32){N[a+336>>2]=N[c+1008>>2];N[a+340>>2]=N[c+1012>>2];N[a+344>>2]=N[c+1016>>2];N[a+348>>2]=N[c+1020>>2]}if(e&64){N[a+384>>2]=N[c+1056>>2];S[a+392>>3]=d*S[c+1064>>3];S[a+400>>3]=d*S[c+1072>>3]}if(e&128){N[a+408>>2]=N[c+1080>>2]}if(e&1024){N[a+440>>2]=N[c+1112>>2]}if(e&256){N[a+412>>2]=N[c+1084>>2];N[a+416>>2]=N[c+1088>>2];N[a+420>>2]=N[c+1092>>2]}m=N[a+308>>2];if(!m){m=N[b+4>>2];N[a+308>>2]=m}N[a+524>>2]=e;N[a+68>>2]=g;g=N[c+140>>2];i=+(g|0);n=N[c+144>>2];k=+(n|0);if(!(!N[c+72>>2]|h)){k=S[c+160>>3];i=S[c+152>>3]}h=N[l+36>>2];j=i/j;S[a+544>>3]=j;o=k/+(h|0);S[a+536>>3]=o;e=N[l+92>>2];a:{if((e|0)>0){b=N[l+96>>2];if((b|0)>0){break a}}e=N[c+24>>2];if((e|0)>0){b=N[c+28>>2];if((b|0)>0){break a}}d=S[c+80>>3];b:{if(!(d<=0|d==1|(!n|!g))){if(d>1){b=qc(+((T(f,n)|0)/(g|0)|0)/d);e=(b|0)<=1?1:b;b=f;break a}b=qc(d*+((T(h,g)|0)/(n|0)|0));b=(b|0)<=1?1:b;break b}b=f}e=h}d=i/+(b|0);S[a+576>>3]=d;i=k/+(e|0);S[a+568>>3]=i;b=N[l+60>>2];k=b?j:d;S[a+560>>3]=k;q=b?o:i;S[a+552>>3]=q;if(p){r=d;d=S[c+32>>3];S[a+576>>3]=r*d;S[a+568>>3]=i*d;S[a+560>>3]=k*d;S[a+552>>3]=q*d;S[a+544>>3]=j*d;S[a+536>>3]=o*d}N[a+496>>2]=m;b=N[a+324>>2];N[a+224>>2]=N[a+320>>2];N[a+228>>2]=b;b=N[a+332>>2];N[a+232>>2]=N[a+328>>2];N[a+236>>2]=b;S[a+80>>3]=S[a+312>>3];N[a+92>>2]=(N[a+348>>2]!=0)<<1|N[a+344>>2]!=0;s=a,t=nb(m),N[s+500>>2]=t;N[a+512>>2]=N[a+428>>2];b=N[a+340>>2];N[a+504>>2]=N[a+336>>2];N[a+508>>2]=b;sg(a);L[a+259|0]=0;N[a+104>>2]=0;N[a+108>>2]=0;N[a+112>>2]=0;N[a+116>>2]=0;N[a+220>>2]=N[a+384>>2];d=S[a+392>>3];S[a+208>>3]=d;S[a+200>>3]=d;S[a+176>>3]=S[a+352>>3];S[a+184>>3]=S[a+360>>3];S[a+192>>3]=S[a+368>>3];S[a+264>>3]=S[a+432>>3];d=S[a+400>>3];S[a+280>>3]=d;S[a+272>>3]=d;N[a+128>>2]=0;N[a+132>>2]=0;N[a+136>>2]=0;N[a+140>>2]=0;S[a+120>>3]=S[a+376>>3];N[a+520>>2]=N[a+424>>2]}function Ld(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{if(!(O[a+62|0]|O[b+62|0])){if(!(N[b+68>>2]?!N[a+68>>2]|O[a+63|0]==O[b+63|0]:1)){break b}if(!(N[b+68>>2]?!N[a+68>>2]|N[a+36>>2]==N[b+36>>2]:1)){break a}e=N[b+68>>2];d=d>>>0>e>>>0?e:d;c:{if(d>>>0<=c>>>0){break c}e=N[a+68>>2];g=c>>>0>d>>>0?d:c;i=d-g|0;f=e+i|0;if(e>>>0>f>>>0){L[a+60|0]=0;return}d:{if(!N[a+4>>2]){break d}c=e;e:{if(!f){break e}c=e;if(f>>>0>2]){break e}if(!gb(a,f)){break d}c=N[a+68>>2]}f:{if(c>>>0>>0){h=T(f-c|0,20);if(h){C(N[a+80>>2]+T(c,20)|0,0,h)}g:{if(!O[a+63|0]){break g}c=N[a+68>>2];h=T(f-c|0,20);if(!h){break g}C(N[a+88>>2]+T(c,20)|0,0,h)}N[a+68>>2]=f;break f}N[a+68>>2]=f;if(f){break f}N[a+132>>2]=0;N[a+36>>2]=0}N[a+136>>2]=0}if(!O[a+60|0]){break c}if(!e){N[a+36>>2]=N[b+36>>2]}h:{if(O[a+63|0]|!O[b+63|0]){break h}N[a+72>>2]=0;M[a+62>>1]=256;N[a+84>>2]=N[a+80>>2];c=T(N[a+68>>2],20);if(!c){break h}C(N[a+88>>2],0,c)}c=N[a+40>>2];if(!c){c=N[b+40>>2];N[a+40>>2]=c}i:{if(N[b+40>>2]!=(c|0)){break i}c=N[a+44>>2];if(!c){c=N[b+44>>2];N[a+44>>2]=c}if(N[a+48>>2]|N[b+44>>2]!=(c|0)){break i}N[a+48>>2]=N[b+48>>2]}c=T(i,20);j:{if(!c){break j}F(N[a+80>>2]+T(e,20)|0,N[b+80>>2]+T(g,20)|0,c);if(!O[a+63|0]){break j}F(N[a+88>>2]+T(e,20)|0,N[b+88>>2]+T(g,20)|0,c)}if(N[b+36>>2]!=1){break c}k:{if((g|0)==(0-N[b+132>>2]|0)|e){break k}N[a+132>>2]=0;l:{if(!g){break l}c=N[b+80>>2];e=g-1|0;N[a+92>>2]=N[c+T(e,20)>>2];N[a+132>>2]=1;e=e>>>0>=4?4:e;if(!e){break l}N[a+96>>2]=N[(c+T(g,20)|0)-40>>2];N[a+132>>2]=2;e=e+1|0;if((e|0)==2){break l}f=c+T(g,20)|0;N[a+100>>2]=N[f-60>>2];N[a+132>>2]=3;if((e|0)==3){break l}N[a+104>>2]=N[f-80>>2];N[a+132>>2]=4;if((e|0)==4){break l}N[a+108>>2]=N[(c+T(g,20)|0)-100>>2];N[a+132>>2]=5}if(!N[b+132>>2]){break k}f=a+92|0;g=b+92|0;c=0;while(1){e=N[a+132>>2];if(e>>>0>4){break k}i=N[g+(c<<2)>>2];N[a+132>>2]=e+1;N[f+(e<<2)>>2]=i;c=c+1|0;if(c>>>0>2]){continue}break}}c=0;N[a+136>>2]=0;m:{if(Q[b+68>>2]<=d>>>0){break m}f=N[b+80>>2];e=0;while(1){g=N[f+T(d,20)>>2];N[a+136>>2]=e+1;N[((e<<2)+a|0)+112>>2]=g;d=d+1|0;if(d>>>0>=Q[b+68>>2]){break m}e=N[a+136>>2];if(e>>>0<=4){continue}break}}if(!N[b+136>>2]){break c}while(1){d=N[a+136>>2];if(d>>>0>4){break c}e=N[((c<<2)+b|0)+112>>2];N[a+136>>2]=d+1;N[((d<<2)+a|0)+112>>2]=e;c=c+1|0;if(c>>>0>2]){continue}break}}return}ba(8661,17855,1878,16605);B()}ba(12911,17855,1880,16605);B()}ba(12992,17855,1882,16605);B()}function Ph(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=N[a+100>>2];a:{b:{j=N[a+736>>2];if(!j){d=re(a,0);if(d){break b}j=N[a+736>>2]}m=N[j+12>>2];f=N[m>>2];c:{d=N[j+4>>2];if(d){break c}d=0;if((f|0)<0){d=6;break a}d:{if(f){d=10;if((f|0)>536870911){break a}g=f<<2;d=Qa[N[l+4>>2]](l,g)|0;if(!d|(f|0)<=0){break d}C(d,0,g)}N[j+4>>2]=d;break c}N[j+4>>2]=d;if(d){break c}return!d<<6}f=b>>>0>f>>>0?f:b;e:{if(!f){g=0;break e}h=f&3;b=0;f:{if(f>>>0<4){g=0;break f}e=f&-4;g=0;while(1){i=N[c>>2];if((i|0)!=N[d>>2]){N[d>>2]=i;g=1}i=N[c+4>>2];if((i|0)!=N[d+4>>2]){N[d+4>>2]=i;g=1}i=N[c+8>>2];if((i|0)!=N[d+8>>2]){N[d+8>>2]=i;g=1}i=N[c+12>>2];if((i|0)!=N[d+12>>2]){N[d+12>>2]=i;g=1}d=d+16|0;c=c+16|0;k=k+4|0;if((e|0)!=(k|0)){continue}break}}if(!h){break e}while(1){e=N[c>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}d=d+4|0;c=c+4|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}h=N[m>>2];b=N[a+4>>2];g:{if(b&2147418112){if(f>>>0>=h>>>0){break g}c=N[(N[m+16>>2]+T(b>>>16|0,12)|0)-12>>2]+(f<<2)|0;i=h+(f^-1)|0;e=h-f&3;if(e){b=0;while(1){k=N[c>>2];if((k|0)!=N[d>>2]){N[d>>2]=k;g=1}d=d+4|0;c=c+4|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}b=f+e|0}else{b=f}if(i>>>0<3){break g}while(1){e=N[c>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}e=N[c+4>>2];if((e|0)!=N[d+4>>2]){N[d+4>>2]=e;g=1}e=N[c+8>>2];if((e|0)!=N[d+8>>2]){N[d+8>>2]=e;g=1}e=N[c+12>>2];if((e|0)!=N[d+12>>2]){N[d+12>>2]=e;g=1}d=d+16|0;c=c+16|0;b=b+4|0;if((h|0)!=(b|0)){continue}break}break g}if(f>>>0>=h>>>0){break g}i=h+(f^-1)|0;c=N[m+12>>2]+T(f,24)|0;e=h-f&3;if(e){b=0;while(1){k=N[c+8>>2];if((k|0)!=N[d>>2]){N[d>>2]=k;g=1}d=d+4|0;c=c+24|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}b=f+e|0}else{b=f}if(i>>>0<3){break g}while(1){e=N[c+8>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}e=N[c+32>>2];if((e|0)!=N[d+4>>2]){N[d+4>>2]=e;g=1}e=N[c+56>>2];if((e|0)!=N[d+8>>2]){N[d+8>>2]=e;g=1}e=N[c+80>>2];if((e|0)!=N[d+12>>2]){N[d+12>>2]=e;g=1}d=d+16|0;c=c+96|0;b=b+4|0;if((h|0)!=(b|0)){continue}break}}if(N[j+8>>2]){d=-1;if(!g){break b}}c=0;if((h|0)<0){return 6}h:{if(!h){break h}d=10;if((h|0)>536870911){break b}b=h<<2;c=Qa[N[l+4>>2]](l,b)|0;if(!(!c|(h|0)<=0)){C(c,0,b);break h}if(c){break h}d=!c<<6;break b}b=N[a+736>>2];if(!O[b+24|0]){Wm(a);b=N[a+736>>2]}Vm(b,f,N[j+4>>2],c);d=$f(a,N[m>>2],c,0);if(!d){N[a+8>>2]=N[a+8>>2]&-32769|((f|0)!=0)<<15;d=0}if(!c){break b}Qa[N[l+8>>2]](l,c);return d|0}return d|0}N[j+4>>2]=0;return d|0}function Lj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=N[b+24>>2];if((c|0)==-1){c=0}else{c=c>>>0>=Q[b+16>>2]?275552:N[b+20>>2]+T(c,28)|0;c=Qa[N[c+12>>2]](N[c>>2],a,1)|0}i=c;a:{f=N[a+96>>2];d=N[f+64>>2];b:{if(d>>>0>=Q[f+68>>2]){break b}while(1){if(!O[f+60|0]){break b}c=N[f+80>>2]+T(d,20)|0;h=N[c>>2];c:{d:{if(!(N[b>>2]>>>(h>>>4)&1)|!(N[b+4>>2]>>>h&1)|(!(N[b+8>>2]>>>(h>>>9)&1)|!(N[a+132>>2]&N[c+4>>2]))){break d}d=N[a+140>>2];e=P[c+12>>1];if(d&e&14){break d}e:{if(!(e&8)){break e}if(d&16){e=275552;g=N[a+104>>2];f:{if((O[g|0]|O[g+1|0]<<8)!=256){break f}c=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){break f}c=O[g+12|0]|O[g+13|0]<<8;if(!c){break f}e=g+((c<<8|c>>>8)&65535)|0}if((O[e|0]|O[e+1|0]<<8)!=256){break d}c=O[e+2|0]|O[e+3|0]<<8;g=(c<<8|c>>>8)&65535;c=d>>>16|0;if(g>>>0>c>>>0){c=((c<<2)+e|0)+4|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0}else{c=275552}if((vb(c,h)|0)!=-1){break e}break d}c=d&65280;if(!c){break e}if((c|0)!=(e&65280)){break d}}e=N[b+16>>2];if(i){if(!e){break d}d=N[b+20>>2];while(1){c=N[a+96>>2];c=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];if(!(!(N[d+16>>2]>>>(c>>>4)&1)|!(N[d+20>>2]>>>c&1)|!(N[d+24>>2]>>>(c>>>9)&1))){if(Qa[N[d+8>>2]](N[d>>2],a)|0){break c}}d=d+28|0;e=e-1|0;if(e){continue}break}break d}if(!e){break d}d=N[b+20>>2];while(1){c=N[a+96>>2];c=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];if(!(!(N[d+16>>2]>>>(c>>>4)&1)|!(N[d+20>>2]>>>c&1)|!(N[d+24>>2]>>>(c>>>9)&1))){if(Qa[N[d+4>>2]](N[d>>2],a)|0){break c}}d=d+28|0;e=e-1|0;if(e){continue}break}}if(O[f+62|0]){e=N[f+84>>2];c=N[f+80>>2];d=N[f+72>>2];if(!((e|0)==(c|0)&(d|0)==N[f+64>>2])){d=d+1|0;if(!(!d|d>>>0>2])){if(!gb(f,d)){break c}e=N[f+84>>2];c=N[f+80>>2]}g:{if((c|0)!=(e|0)){break g}d=N[f+72>>2];if(d+1>>>0<=N[f+64>>2]+1>>>0){e=c;break g}if(!O[f+62|0]){break a}e=N[f+88>>2];N[f+84>>2]=e;d=T(d,20);if(!d){break g}F(e,c,d);e=N[f+84>>2];c=N[f+80>>2]}d=T(N[f+72>>2],20)+e|0;e=T(N[f+64>>2],20)+c|0;c=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=c;N[d+16>>2]=N[e+16>>2];c=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=c;d=N[f+72>>2]}N[f+72>>2]=d+1}N[f+64>>2]=N[f+64>>2]+1}d=N[f+64>>2];if(d>>>0>2]){continue}break}}if(i){c=N[b+24>>2];b=c>>>0>=Q[b+16>>2]?275552:N[b+20>>2]+T(c,28)|0;Qa[N[b+12>>2]](N[b>>2],a,0)|0}return}ba(8694,17855,209,11932);B()}function Fe(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=N[N[b>>2]+16>>2];i=N[(h<<2)+293584>>2];e=N[b+36>>2];g=N[e+12>>2];a:{if(!N[g+4>>2]){break a}e=P[N[e>>2]+68>>1];if((e|0)==N[g+28>>2]&(e|0)==N[g+32>>2]){break a}N[g+32>>2]=e;N[g+28>>2]=e;N[g+12>>2]=N[g+12>>2]+1;He(g)}while(1){e=a;a=e+1|0;f=O[e|0];if((f|0)==32){continue}break}a=e;while(1){if((f|32)!=32){a=a+1|0;a=f<<24>>24<0?(f>>>0<224?1:f>>>0<240?2:3)+a|0:a;f=O[a|0];continue}break}if(N[c+4>>2]){N[c+36>>2]=0;N[c+40>>2]=0;L[c+61|0]=0;L[c+62|0]=0;L[c+63|0]=0;L[c+64|0]=0;L[c+65|0]=0;L[c+66|0]=0;L[c+67|0]=0;L[c+68|0]=0;L[c+60|0]=1;N[c+144>>2]=0;N[c+92>>2]=0;N[c+96>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;L[c+68|0]=0;L[c+69|0]=0;L[c+70|0]=0;L[c+71|0]=0;L[c+72|0]=0;L[c+73|0]=0;L[c+74|0]=0;L[c+75|0]=0;N[c+84>>2]=N[c+80>>2];N[c+100>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+112>>2]=0;N[c+116>>2]=0;N[c+120>>2]=0;N[c+124>>2]=0;N[c+128>>2]=0;N[c+132>>2]=0;N[c+136>>2]=0;M[c+140>>1]=0}f=a-e|0;yl(c,e,f,f);zl(c);h=(h|0)!=10;Ge(g,c,i,h);if(!h){N[d>>2]=N[c+68>>2];return a}b=N[N[b+36>>2]+16>>2];if(N[b+4>>2]){N[b+36>>2]=0;N[b+40>>2]=0;L[b+61|0]=0;L[b+62|0]=0;L[b+63|0]=0;L[b+64|0]=0;L[b+65|0]=0;L[b+66|0]=0;L[b+67|0]=0;L[b+68|0]=0;L[b+60|0]=1;N[b+144>>2]=0;N[b+92>>2]=0;N[b+96>>2]=0;N[b+52>>2]=0;N[b+56>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;L[b+68|0]=0;L[b+69|0]=0;L[b+70|0]=0;L[b+71|0]=0;L[b+72|0]=0;L[b+73|0]=0;L[b+74|0]=0;L[b+75|0]=0;N[b+84>>2]=N[b+80>>2];N[b+100>>2]=0;N[b+104>>2]=0;N[b+108>>2]=0;N[b+112>>2]=0;N[b+116>>2]=0;N[b+120>>2]=0;N[b+124>>2]=0;N[b+128>>2]=0;N[b+132>>2]=0;N[b+136>>2]=0;M[b+140>>1]=0}yl(b,e,f,f);zl(b);f=0;Ge(g,b,0,0);e=N[c+68>>2];b:{if((e|0)!=N[b+68>>2]){break b}g=N[c+80>>2];c:{d:{if(!e){break d}b=N[b+80>>2];while(1){h=T(f,20);if(N[h+g>>2]!=N[b+h>>2]){break d}f=f+1|0;if((f|0)!=(e|0)){continue}break}break c}if((e|0)!=(f|0)){break b}}if(!N[c+4>>2]){break b}N[c+36>>2]=0;N[c+40>>2]=0;L[c+61|0]=0;L[c+62|0]=0;L[c+63|0]=0;L[c+64|0]=0;L[c+65|0]=0;L[c+66|0]=0;L[c+67|0]=0;L[c+68|0]=0;L[c+60|0]=1;e=0;N[c+144>>2]=0;N[c+84>>2]=g;N[c+92>>2]=0;N[c+96>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;L[c+68|0]=0;L[c+69|0]=0;L[c+70|0]=0;L[c+71|0]=0;L[c+72|0]=0;L[c+73|0]=0;L[c+74|0]=0;L[c+75|0]=0;N[c+100>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+112>>2]=0;N[c+116>>2]=0;N[c+120>>2]=0;N[c+124>>2]=0;N[c+128>>2]=0;N[c+132>>2]=0;N[c+136>>2]=0;M[c+140>>1]=0}N[d>>2]=e;return a}function Kk(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,q=0,r=0;p=La-32|0;La=p;k=N[a+96>>2];g=N[k+64>>2];i=O[k+62|0]?N[k+72>>2]:g;m=f-g|0;a:{if(!b){break a}f=i-g|0;if(b>>>0>=4){o=b&-4;while(1){g=h<<2;n=g+c|0;N[n>>2]=f+N[n>>2];n=(g|4)+c|0;N[n>>2]=f+N[n>>2];n=(g|8)+c|0;N[n>>2]=f+N[n>>2];g=(g|12)+c|0;N[g>>2]=f+N[g>>2];h=h+4|0;if((o|0)!=(h|0)){continue}break}}g=b&3;if(!g){break a}while(1){o=(h<<2)+c|0;N[o>>2]=f+N[o>>2];h=h+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}o=i+m|0;b:{if(!d){break b}n=0;while(1){if(!O[k+60|0]){break b}f=(n<<2)+e|0;g=O[f|0]|O[f+1|0]<<8;l=(g<<8|g>>>8)&65535;c:{if(l>>>0>=b>>>0){break c}r=(l<<2)+c|0;i=N[r>>2];g=N[k+64>>2];g=(N[k+68>>2]-g|0)+(O[k+62|0]?N[k+72>>2]:g)|0;if(i>>>0>=g>>>0){break c}if(!ec(k,i)|N[k+152>>2]<=0){break b}h=N[a+96>>2];if(N[h+156>>2]){if(O[k+62|0]){zc(h);h=N[a+96>>2]}i=O[f+2|0]|O[f+3|0]<<8;m=N[a+88>>2];N[p+20>>2]=N[k+64>>2];N[p+16>>2]=(i<<8|i>>>8)&65535;ib(h,m,17153,p+16|0);h=N[a+96>>2]}d:{m=N[a+144>>2];e:{if(!m){break e}j=N[a+100>>2];if(!j){break e}i=O[f+2|0]|O[f+3|0]<<8;q=N[h+152>>2];N[h+152>>2]=q-1;if((q|0)>0){break d}}L[h+61|0]=1;break c}N[a+144>>2]=m-1;i=Qa[j|0](a,(i<<8|i>>>8)&65535)|0;N[a+144>>2]=N[a+144>>2]+1;if(!i){break c}h=N[a+96>>2];if(N[h+156>>2]){if(O[k+62|0]){zc(h);h=N[a+96>>2]}i=N[a+88>>2];f=O[f+2|0]|O[f+3|0]<<8;N[p>>2]=(f<<8|f>>>8)&65535;ib(h,i,8337,p)}f=N[k+64>>2];i=(N[k+68>>2]-f|0)+(O[k+62|0]?N[k+72>>2]:f)|0;if((i|0)==(g|0)){break c}f=N[r>>2];h=i-g|0;i=h+o|0;m=(f|0)>(i|0);o=m?f:i;g=l+1|0;j=h+(m?f-i|0:0)|0;f:{if((j|0)>0){i=b+j|0;f=g;if(i>>>0<=64){break f}break b}f=g-b|0;j=(f|0)<(j|0)?j:f;i=j+b|0;f=g-j|0}m=f;f=(f<<2)+c|0;F(f+(j<<2)|0,f,b-m<<2);h=j+m|0;g:{if(g>>>0>=h>>>0){break g}l=(j+m|0)-l|0;q=l-2|0;f=N[r>>2];b=0;l=l-1&3;if(l){while(1){f=f+1|0;N[(g<<2)+c>>2]=f;g=g+1|0;b=b+1|0;if((l|0)!=(b|0)){continue}break}}if(q>>>0<=2){break g}while(1){l=(g<<2)+c|0;N[l>>2]=f+1;b=f+4|0;N[l+12>>2]=b;N[l+8>>2]=f+3;N[l+4>>2]=f+2;f=b;g=g+4|0;if((g|0)!=(h|0)){continue}break}}h:{if(h>>>0>=i>>>0){break h}f=0;b=i-h&3;if(b){while(1){g=(h<<2)+c|0;N[g>>2]=N[g>>2]+j;h=h+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}if(((j^-1)+i|0)-m>>>0<3){break h}while(1){b=(h<<2)+c|0;N[b>>2]=N[b>>2]+j;N[b+4>>2]=N[b+4>>2]+j;N[b+8>>2]=N[b+8>>2]+j;N[b+12>>2]=N[b+12>>2]+j;h=h+4|0;if((i|0)!=(h|0)){continue}break}}b=i}n=n+1|0;if((n|0)!=(d|0)){continue}break}}ec(k,o);La=p+32|0}function $s(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(!N[c+88>>2]){N[c+100>>2]=N[d+100>>2];N[c+104>>2]=N[d+104>>2];f=N[d+80>>2];N[c+80>>2]=f;e=N[d+76>>2];L[c+94|0]=7;N[c+76>>2]=e;M[c+92>>1]=256;f=f<<2;N[c+84>>2]=f;h=T(e,f);g=N[N[c+4>>2]+100>>2];e=N[c+156>>2];f=N[e+4>>2];c:{if(f&1){N[c+88>>2]=0;break c}N[e+4>>2]=f|1}e=0;d:{e:{f:{if((h|0)<=0){f=6;if(h){break f}break d}e=Qa[N[g+4>>2]](g,h)|0;if(e){break e}f=64}N[c+88>>2]=0;return f|0}C(e,0,h)}N[c+88>>2]=e;C(e,0,h);break b}k=N[d+104>>2];l=k-N[d+76>>2]|0;m=N[c+104>>2];n=m-N[c+76>>2]|0;h=N[d+100>>2];g=h+N[d+80>>2]|0;e=N[c+100>>2];f=e+N[c+80>>2]|0;if(!((f|0)<(g|0)|(e|0)>(h|0)|(k|0)>(m|0))){if((l|0)>=(n|0)){break b}}k=(k|0)<(m|0)?m:k;n=k-((l|0)>(n|0)?n:l)|0;m=(e|0)<(h|0)?e:h;h=((f|0)>(g|0)?f:g)-m|0;l=h<<2;e=T(n,l);g:{if((e|0)<=0){f=6;if(!e){break g}break a}f=N[a+100>>2];i=Qa[N[f+4>>2]](f,e)|0;if(!i){return 64}C(i,0,e)}if(N[c+76>>2]){f=(T(l,k-N[c+104>>2]|0)+i|0)+(N[c+100>>2]-m<<2)|0;e=N[c+88>>2];while(1){F(f,e,N[c+80>>2]<<2);f=f+l|0;e=N[c+84>>2]+e|0;j=j+1|0;if(j>>>0>2]){continue}break}}e=N[c+156>>2];f=N[e+4>>2];if(f&1){g=N[c+88>>2];if(g){f=N[N[c+4>>2]+100>>2];Qa[N[f+8>>2]](f,g);e=N[c+156>>2];f=N[e+4>>2]}f=f&-2;N[e+4>>2]=f}N[c+104>>2]=k;N[c+88>>2]=i;N[c+100>>2]=m;N[c+80>>2]=h;N[c+76>>2]=n;N[c+84>>2]=l;N[e+4>>2]=f|1;N[c+72>>2]=1651078259}h:{if((b|0)==65535){if(O[a+676|0]){e=O[a+680|0];j=O[a+679|0];i=O[a+677|0];g=O[a+678|0];break h}b=N[a+656>>2];if(b){e=255;j=255;i=255;g=255;if(O[b+(P[a+668>>1]<<1)|0]&2){break h}}j=0;e=255;i=0;g=0;break h}a=N[a+672>>2]+(b<<2)|0;e=O[a+3|0];j=O[a+2|0];i=O[a|0];g=O[a+1|0]}f=0;l=N[d+76>>2];if(!l|!N[d+80>>2]){break a}m=j&255;n=g&255;h=i&255;g=e&255;a=N[c+84>>2];b=(N[c+88>>2]+T(a,N[c+104>>2]-N[d+104>>2]|0)|0)+(N[d+100>>2]-N[c+100>>2]<<2)|0;i=N[d+88>>2];k=0;e=1;while(1){j=0;f=0;if(e){while(1){e=(j<<2)+b|0;f=(T(g,O[i+j|0])>>>0)/255|0;a=255-f|0;L[e+1|0]=(((T(a,O[e+1|0])&65535)>>>0)/255|0)+(((T(f,n)&65535)>>>0)/255|0);L[e|0]=(((T(a,O[e|0])&65535)>>>0)/255|0)+(((T(f,h)&65535)>>>0)/255|0);L[e+2|0]=(((T(a,O[e+2|0])&65535)>>>0)/255|0)+(((T(f,m)&65535)>>>0)/255|0);L[e+3|0]=f+(((T(a,O[e+3|0])&65535)>>>0)/255|0);f=N[d+80>>2];j=j+1|0;if(f>>>0>j>>>0){continue}break}l=N[d+76>>2];a=N[c+84>>2]}b=a+b|0;i=N[d+84>>2]+i|0;e=f;k=k+1|0;if(k>>>0>>0){continue}break}f=0}return f|0}function it(a,b){a=a|0;b=b|0;var 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;j=La-16|0;La=j;k=N[a+100>>2];N[j+12>>2]=0;a:{if(!N[a+868>>2]){i=3;break a}b:{i=Qa[N[a+516>>2]](a,1129270354,b,j+8|0)|0;if(i){break b}i=8;c=N[j+8>>2];if(c>>>0<14){break b}i=fc(b,c,j+12|0);if(i){break b}e=N[j+12>>2];c=Qa[N[k+4>>2]](k,44)|0;if(!c){i=64;break b}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;i=8;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;f=O[e|0]|O[e+1|0]<<8;d=f<<8|f>>>8;M[c>>1]=d;if((d&65535)>>>0>1){f=c;break b}f=O[e+2|0]|O[e+3|0]<<8;h=f<<8|f>>>8;M[c+2>>1]=h;f=N[j+8>>2];g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);l=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(f>>>0<=l>>>0){f=c;break b}if(f-l>>>0>>0){f=c;break b}g=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);h=O[e+12|0]|O[e+13|0]<<8;h=h<<8|h>>>8;M[c+4>>1]=h;m=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(m>>>0>=f>>>0){f=c;break b}if(f-m>>>0<(h&65535)<<2>>>0){f=c;break b}if((d&65535)==1){g=O[e+14|0]|O[e+15|0]<<8|(O[e+16|0]<<16|O[e+17|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(h>>>0>=f>>>0){f=c;break b}g=e+h|0;d=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);n=T(d,6);if(n>>>0>f-h>>>0){f=c;break b}N[c+20>>2]=g;N[c+16>>2]=d;d=O[e+18|0]|O[e+19|0]<<8|(O[e+20|0]<<16|O[e+21|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>=f>>>0){f=c;break b}c:{if(d){p=f-d|0;d=e+d|0;h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);o=h<<2;if(p>>>0>>0){f=c;break b}N[c+28>>2]=d;N[c+24>>2]=h;b=g+n|0;i=d+o|0;b=b>>>0>>0?b:i;break c}N[c+24>>2]=0;N[c+28>>2]=0;b=g+n|0}N[c+32>>2]=b}N[c+40>>2]=f;N[c+36>>2]=e;N[c+12>>2]=e+m;N[c+8>>2]=e+l;N[a+872>>2]=c;i=0;break a}d:{if(!b|!N[b+20>>2]){break d}a=N[j+12>>2];if(!a){break d}b=N[b+28>>2];Qa[N[b+8>>2]](b,a)}if(!f){break a}Qa[N[k+8>>2]](k,f)}La=j+16|0;return i|0}function xh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=N[a+88>>2];N[c>>2]=0;g=a+828|0;a:{if(!O[a+848|0]){j=N[a+104>>2];N[g+16>>2]=0;N[g+20>>2]=0;i=8;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;f=P[a+152>>1];if(!f){break a}d=N[a+156>>2];e=d+(f<<4)|0;while(1){b:{if(N[d>>2]==1111770656){f=N[d+12>>2];if(f){break b}}d=d+16|0;if(e>>>0>d>>>0){continue}break a}break}e=N[d+8>>2];d=N[j+20>>2];c:{if(d){if(!(Qa[d|0](j,e,0,0)|0)){break c}break a}if(e>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=e;if(f>>>0<8){break a}if(fc(j,f,g)){break a}i=N[a+828>>2];N[a+832>>2]=i+f;d:{e:{f:{if((O[i+1|0]|O[i|0]<<8)!=1){break f}e=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0<8){break f}n=O[i+2|0]<<8;k=O[i+3|0];e=n|k;if(f>>>0>>0|e>>>0>d-8>>>2>>>0){break f}N[a+840>>2]=f-d;o=d+i|0;N[a+836>>2]=o;N[a+844>>2]=e;d=i+8|0;h=d+(e<<2)|0;g:{if(!e){break g}l=k&3;if(l){k=k|n;n=(l<<2)+8|0;f=0;while(1){h=T(O[d+3|0]|O[d+2|0]<<8,10)+h|0;d=d+4|0;f=f+1|0;if((l|0)!=(f|0)){continue}break}d=i+n|0;f=k-l|0}else{f=e}if(e>>>0<4){break g}while(1){h=(((T(O[d+3|0]|O[d+2|0]<<8,10)+h|0)+T(O[d+7|0]|O[d+6|0]<<8,10)|0)+T(O[d+11|0]|O[d+10|0]<<8,10)|0)+T(O[d+15|0]|O[d+14|0]<<8,10)|0;d=d+16|0;f=f-4|0;if(f){continue}break}}if(h>>>0<=o>>>0){break d}if(!j){break e}}if(!N[j+20>>2]){break e}a=N[j+28>>2];Qa[N[a+8>>2]](a,i)}N[g>>2]=0;N[g+4>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;return 8}L[a+848|0]=1}i=6;if(!b|!m){break a}e=N[a+844>>2];j=nb(b);if(!j|!e){break a}d=N[g>>2]+8|0;h=d+(e<<2)|0;g=P[m+14>>1];while(1){f=O[d+3|0]|O[d+2|0]<<8;if((g|0)==(O[d+1|0]|O[d|0]<<8)){if(!f){break a}while(1){h:{l=O[h+5|0];if(!(l&16)){break h}d=N[a+840>>2];e=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);g=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0<=g>>>0){break h}m=d-g|0;if(m>>>0<=j>>>0){break h}e=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);k=g;g=N[a+836>>2];if(bb(b,k+g|0,m)){break h}e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);i:{switch(l&15){case 0:case 1:if(d>>>0<=e>>>0){break h}e=e+g|0;if(!qe(e,0,d)){break h}N[c+4>>2]=e;N[c>>2]=1;return 0;case 2:N[c+4>>2]=e;N[c>>2]=2;return 0;case 3:break i;default:break h}}N[c+4>>2]=e;N[c>>2]=3;return 0}h=h+10|0;f=f-1|0;if(f){continue}break}break a}d=d+4|0;h=T(f,10)+h|0;e=e-1|0;if(e){continue}break}}return i|0}function uC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0;f=rf(b,c);a:{if(f){break a}e=N[b+2740>>2];if(!(e&1)){f=up(b,N[d+52>>2],d+56|0,0);if(f){break a}e=N[b+2740>>2]}b:{if(e&2){break b}f=up(b,N[d+9856>>2],d+9860|0,1);if(f){break a}if(O[(N[N[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=N[b+1404>>2];if((a|0)<=0){break b}i=N[b+1412>>2];w=i+T(a,44)|0;o=N[d+10064>>2];x=o>>>0<=1?1:o;m=N[d+9848>>2];a=m>>31;j=(a^m)-a|0;p=j&65535;q=j>>>16|0;r=j>>>8|0;y=d+10068|0;while(1){c:{if(!o){break c}e=Q[d+40>>2]/40|0;d:{if(e+r>>>0<=8190){e=T(e,j)+32768>>>16|0;break d}a=e&65535;e=T(a,q)+T(j,e>>>16|0)+(T(a,p)+32768>>>16)|0}a=0;e=(m|0)<0?0-e|0:e;f=(e|0)>=32?32:e;k=0;n=0;while(1){l=T(a,36)+y|0;e=N[l+32>>2];e:{if(!(e&1)){break e}s=e>>>3&1;v=(e&6)!=0;if(!(s|v^N[b+1416>>2]==L[i+13|0])){break e}t=M[i>>1];h=N[l>>2];e=t-h|0;g=e>>31;g=(e^g)-g|0;f:{if(g+r>>>0<=8190){e=T(g,j)+32768>>>16|0;break f}e=g&65535;e=T(e,q)+T(j,g>>>16|0)+(T(e,p)+32768>>>16)|0}g=(m|0)<0;e=g?0-e|0:e;u=(e|0)<(f|0);f=u?e:f;k=u?l:k;n=u?s:n;if(!e|s|(!(L[i+12|0]&1)|!(v^(h|0)>(t|0)))){break e}e=t-N[l+12>>2]|0;h=e>>31;h=(e^h)-h|0;g:{if(h+r>>>0<=8190){e=T(h,j)+32768>>>16|0;break g}e=h&65535;e=T(e,q)+T(j,h>>>16|0)+(T(e,p)+32768>>>16)|0}e=g?0-e|0:e;if((e|0)>=(f|0)){break e}k=l+12|0;n=0;f=e}a=a+1|0;if((x|0)!=(a|0)){continue}break}if(!k){break c}N[i+20>>2]=k;if(!(n&255)){break c}L[i+12|0]=O[i+12|0]|8}i=i+44|0;if(w>>>0>i>>>0){continue}break}}a=N[b+2740>>2];if(!(a&1)){tp(b,0);a=N[b+44>>2];if((a|0)>0){f=N[b+52>>2];e=f+T(a,44)|0;while(1){a=N[f+12>>2];if(a){h=f+36|0;d=N[a+8>>2];a=N[f+40>>2];while(1){g=N[h>>2];N[g+16>>2]=d;M[g>>1]=P[g>>1]|4;h=g+32|0;if((a|0)!=(g|0)){continue}break}}f=f+44|0;if(e>>>0>f>>>0){continue}break}}Hg(b,0);Gg(b,0);a=N[b+2740>>2]}if(!(a&2)){tp(b,1);a=N[b+1392>>2];if((a|0)>0){f=N[b+1400>>2];e=f+T(a,44)|0;while(1){a=N[f+12>>2];if(a){h=f+36|0;d=N[a+8>>2];a=N[f+40>>2];while(1){g=N[h>>2];N[g+20>>2]=d;M[g>>1]=P[g>>1]|8;h=g+32|0;if((a|0)!=(g|0)){continue}break}}f=f+44|0;if(e>>>0>f>>>0){continue}break}}Hg(b,1);Gg(b,1)}d=N[b+24>>2];if((d|0)<=0){return 0}a=N[b+28>>2];d=a+T(d,40)|0;h=N[c+4>>2];b=N[c+8>>2];while(1){N[h>>2]=N[a+16>>2];N[h+4>>2]=N[a+20>>2];f=0;c=P[a>>1];L[b|0]=c&1?0:c&2?2:1;b=b+1|0;h=h+8|0;a=a+40|0;if(d>>>0>a>>>0){continue}break}}return f|0}function pw(a){a=a|0;var 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;c=3;f=N[a+32>>2];a:{if(!f){break a}d=N[f+364>>2];if(!d){break a}b=N[d+588>>2];c=N[d+584>>2];f=N[f+360>>2];b:{if(!(!O[d+556|0]|(f|0)!=N[d+564>>2]|(c|0)!=N[d+568>>2])){if(!c){break b}if(!Mb(b,N[d+572>>2],c<<2)){break b}}c=vm(d+556|0,f,c,b);if(c){break a}}c=3;k=Lc(a,N[N[a+20>>2]-4>>2]);if(k>>>0>Q[a+24>>2]){break a}i=(N[a+20>>2]-N[a+16>>2]|0)-4>>2;j=T(N[d+576>>2],k);c=161;c:{if(i>>>0>>0){break c}b=N[d+604>>2];h=N[d+600>>2];e=T(k,5);d:{if(b>>>0>=h+e>>>0){break d}f=N[d+592>>2];g=b+e|0;if((g|b)<0){N[d+592>>2]=f;c=6;break c}c=N[N[d+560>>2]+8>>2];l=N[d+596>>2];e:{if(!g){b=0;if(!f){break e}Qa[N[c+8>>2]](c,f);break e}if(!b){b=Qa[N[c+4>>2]](c,g)|0;if(b){break e}N[d+592>>2]=0;c=64;break c}c=Qa[N[c+12>>2]](c,b,g,f)|0;b=c?c:f;if(c){break e}N[d+592>>2]=b;c=64;break c}N[d+592>>2]=b;h=N[d+600>>2];N[d+596>>2]=h+b;N[d+604>>2]=e+N[d+604>>2];if(!f|(b|0)==(f|0)){break d}c=N[a+16>>2];g=N[a+20>>2];if(c>>>0>=g>>>0){break d}m=b-f|0;while(1){b=N[c>>2];if(!(b>>>0>>0|b>>>0>=l>>>0)){N[c>>2]=b+m;g=N[a+20>>2]}c=c+4|0;if(g>>>0>c>>>0){continue}break}}N[d+600>>2]=h+e;o=i-j|0;f=o+k|0;if(k){c=f;j=0;while(1){l=N[d+580>>2];p=j+o<<2;g=Lc(a,N[p+N[a+16>>2]>>2])<<16;m=N[a+16>>2];n=1;q=N[d+576>>2];if(q>>>0>=2){while(1){f:{g:{b=N[m+(c<<2)>>2];h=O[b|0];if((h|0)!=255){if((h|0)!=30){break g}e=Wf(a,b,0,0)>>16;break f}e=((O[b+3|0]|(O[b+2|0]<<8|O[b+1|0]<<16))<<8)+32768>>16;break f}i=b+1|0;h:{switch(h-28|0){case 0:e=0;if(Q[a+8>>2]<=b+2>>>0){break f}e=(O[b+2|0]|O[i|0]<<8)<<16>>16;break f;case 1:e=0;if(Q[a+8>>2]<=b+4>>>0){break f}b=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);e=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break f;default:break h}}e=h-139|0;if(h>>>0<=246){break f}b=N[a+8>>2];if(h>>>0<=250){e=0;if(b>>>0<=i>>>0){break f}e=(O[i|0]|h<<8)-63124|0;break f}e=0;if(b>>>0<=i>>>0){break f}e=64148-(O[i|0]|h<<8)|0}c=c+1|0;l=l+4|0;g=T(e,N[l>>2])+g|0;n=n+1|0;if(q>>>0>n>>>0){continue}break}}N[m+p>>2]=N[d+596>>2];b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=255;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>24;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>16;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>8;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g;j=j+1|0;if((j|0)!=(k|0)){continue}break}}N[a+20>>2]=N[a+16>>2]+(f<<2);c=0}L[d+557|0]=1}return c|0}function mv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=8;d=a+5|0;a:{if(d>>>0>b>>>0){break a}i=O[a+3|0];j=O[a+4|0];a=N[c+92>>2];f=j+a|0;if(f>>>0>Q[c+96>>2]){f=f+3|0;if((f|a)<0){return 6}e=N[c>>2];k=N[c+100>>2];b:{c:{g=f&-4;d:{if(!g){if(!k){break d}Qa[N[e+8>>2]](e,k);N[c+100>>2]=0;break b}f=10;if((g|0)>59652323){break a}e:{if(!a){h=Qa[N[e+4>>2]](e,T(g,36))|0;f=!h<<6;break e}f=Qa[N[e+12>>2]](e,T(a,36),T(g,36),k)|0;h=f?f:k;f=!f<<6}if(f|(a|0)>=(g|0)|!h){break c}C(T(a,36)+h|0,0,T(g-a|0,36))}N[c+100>>2]=h;break b}N[c+100>>2]=h;if(f){break a}}N[c+96>>2]=g}f=8;a=b;k=i&8;b=i&4;g=i&16;h=i&1;i=i&2;if(a>>>0>>3)+(b>>>2)+(g>>>4)|0)+(i?h+9|0:h|8)|0,j)+d>>>0){break a}l=N[c+92>>2];f:{if(!j){break f}a=N[c+100>>2]+T(l,36)|0;if(!b){e=0;while(1){b=O[d|0];g:{if(h){b=O[d+1|0]|b<<8;d=d+2|0;break g}d=d+1|0}N[a>>2]=b;b=O[d|0];h:{if(i){b=O[d+1|0]|b<<8;d=d+2|0;break h}d=d+1|0}N[a+4>>2]=b;b=d;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+2|0]|O[d+1|0]<<8;d=O[d+4|0];m=O[b+3|0];i:{if(k){f=b+6|0;b=O[b+5|0]|(d<<8|m<<16);break i}f=b+5|0;b=d|m<<8}N[a+24>>2]=b;b=O[f|0];j:{if(g){b=O[f+1|0]|b<<8;d=f+2|0;break j}d=f+1|0}N[a+28>>2]=b;a=a+36|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break f}if(!k){e=0;while(1){f=O[d|0];k:{if(h){f=O[d+1|0]|f<<8;b=d+2|0;break k}b=d+1|0}N[a>>2]=f;d=O[b|0];l:{if(i){d=O[b+1|0]|d<<8;b=b+2|0;break l}b=b+1|0}N[a+4>>2]=d;d=b;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+5|0]|O[d+4|0]<<8;b=O[d+6|0];m:{if(g){b=O[d+7|0]|b<<8;d=d+8|0;break m}d=d+7|0}N[a+28>>2]=b;a=a+36|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break f}b=0;if(!h){while(1){N[a>>2]=O[d|0];e=O[d+1|0];n:{if(i){e=O[d+2|0]|e<<8;d=d+3|0;break n}d=d+2|0}N[a+4>>2]=e;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+6|0]|(O[d+5|0]<<8|O[d+4|0]<<16);e=O[d+7|0];o:{if(g){e=O[d+8|0]|e<<8;d=d+9|0;break o}d=d+8|0}N[a+28>>2]=e;a=a+36|0;b=b+1|0;if((j|0)!=(b|0)){continue}break f}}while(1){N[a>>2]=O[d+1|0]|O[d|0]<<8;e=O[d+2|0];p:{if(i){e=O[d+3|0]|e<<8;d=d+4|0;break p}d=d+3|0}N[a+4>>2]=e;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+6|0]|(O[d+5|0]<<8|O[d+4|0]<<16);e=O[d+7|0];q:{if(g){e=O[d+8|0]|e<<8;d=d+9|0;break q}d=d+8|0}N[a+28>>2]=e;a=a+36|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}N[c+92>>2]=j+l;f=0}return f|0}function Fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){g=N[a+100>>2];c=N[a+540>>2];if(c){Qa[N[c+12>>2]](a)}c=N[a+712>>2];if(c){e=N[c+8>>2];d=N[c+108>>2];if(d){b=N[d+28>>2];f=N[c+140>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+140>>2]=0}d=N[c+136>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+108|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+1240>>2];if(d){b=N[d+28>>2];f=N[c+1272>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+1272>>2]=0}d=N[c+1268>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+1240|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+36>>2];if(d){b=N[d+28>>2];f=N[c+68>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+68>>2]=0}d=N[c- -64>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+36|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+1204>>2];if(d){b=N[d+28>>2];f=N[c+1236>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+1236>>2]=0}d=N[c+1232>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+1204|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}if(N[c+2024>>2]){b=0;while(1){Fm(e,N[(c+(b<<2)|0)+2028>>2]);b=b+1|0;if(b>>>0>2]){continue}break}b=N[c+2028>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+2028>>2]=0}N[c+144>>2]=0;N[c+148>>2]=0;N[c+152>>2]=0;b=N[N[c+4>>2]+28>>2];d=N[c+1192>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c+1192>>2]=0;N[c+1196>>2]=0;d=N[c+1188>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c+1180>>2]=0;N[c+1184>>2]=0;N[c+1188>>2]=0;Em(c+3112|0,e);Fm(e,c+1372|0);d=N[c+3060>>2];if(d){b=N[c+4>>2];if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,d)}N[c+3060>>2]=0}L[c+3052|0]=0;N[c+3056>>2]=0;N[c+3064>>2]=0;b=N[c+3092>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3092>>2]=0;b=N[c+1348>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1348>>2]=0;b=N[c+1352>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1352>>2]=0;b=N[c+1360>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1360>>2]=0;b=N[c+1364>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1364>>2]=0;b=N[c+3108>>2];if(b){Qa[b|0](N[c+3104>>2]);b=N[c+3104>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3104>>2]=0}b=N[c+3132>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3132>>2]=0;c=N[a+712>>2];if(c){Qa[N[g+8>>2]](g,c)}N[a+712>>2]=0}c=N[a+548>>2];if(c){Qa[N[c+44>>2]](a)}N[a+736>>2]=0}}function Ws(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=3;a:{if((d|e)<0){break a}i=N[a+8>>2];f=N[a+12>>2];j=P[f+2>>1];if(Q[i+4>>2]>>0){break a}f=P[f>>1];if(Q[i>>2]>>0){break a}j=T(j,O[a+18|0]);if(T(j+7>>>3|0,f)+b>>>0>c>>>0){break a}a=d>>>3|0;h=N[i+8>>2];i=N[i+12>>2];c=(a+T(h,e)|0)+i|0;g=d&7;if(g){k=0;if(!f){break a}l=8-g|0;if(j>>>0>=8){while(1){d=0;e=j;a=c;while(1){i=a;k=b;d=O[b|0]|d;L[a|0]=O[a|0]|d>>>g;m=e;e=e-8|0;a=a+1|0;b=b+1|0;d=d<<8;if((m|0)>15){continue}break}if((m|0)>8){d=O[k+1|0]&65280>>>e|d;b=k+2|0}L[a|0]=O[a|0]|d>>>g;if((e|0)>(l|0)){L[i+2|0]=O[i+2|0]|d<<8>>>g}c=c+h|0;a=f;f=f-1|0;k=0;if((a|0)>1){continue}break a}}d=65280>>>j|0;if(j>>>0>l>>>0){if((h|0)!=1){if(f&1){a=d&O[b|0];L[c|0]=O[c|0]|a>>>g;L[c+1|0]=O[c+1|0]|a<<8>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){e=d&O[b|0];L[c|0]=O[c|0]|e>>>g;L[c+1|0]=O[c+1|0]|e<<8>>>g;c=c+h|0;e=d&O[b+1|0];L[c|0]=O[c|0]|e>>>g;L[c+1|0]=O[c+1|0]|e<<8>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}e=O[i+(a+e|0)|0];if(f&1){a=d&O[b|0];L[c|0]=a>>>g|e;e=O[c+1|0]|a<<8>>>g;L[c+1|0]=e;c=c+1|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){f=e;e=d&O[b|0];L[c|0]=f|e>>>g;e=O[c+1|0]|e<<8>>>g;L[c+1|0]=e;f=d&O[b+1|0];L[c+1|0]=e|f>>>g;e=O[c+2|0]|f<<8>>>g;L[c+2|0]=e;c=c+2|0;b=b+2|0;f=a-3|0;a=a-2|0;if(f>>>0<4294967294){continue}break}break a}if(!j){break a}if(f&1){L[c|0]=O[c|0]|(d&O[b|0])>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){L[c|0]=O[c|0]|(d&O[b|0])>>>g;c=c+h|0;L[c|0]=O[c|0]|(d&O[b+1|0])>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}k=0;if(!f){break a}if(j>>>0>=8){while(1){a=f;d=j;f=c;while(1){e=b;L[f|0]=O[b|0]|O[f|0];i=d;d=d-8|0;f=f+1|0;b=b+1|0;if((i|0)>15){continue}break}if((i|0)>8){L[f|0]=O[f|0]|O[e+1|0]&65280>>>d;b=e+2|0}c=c+h|0;f=a-1|0;if((a|0)>1){continue}break a}}if(!j){break a}d=65280>>>j|0;e=f&3;if(e){a=0;while(1){L[c|0]=O[c|0]|d&O[b|0];c=c+h|0;b=b+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}a=f&65532}else{a=f}if(f>>>0<4){break a}while(1){L[c|0]=O[c|0]|d&O[b|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+1|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+2|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+3|0];b=b+4|0;c=c+h|0;e=a-5|0;a=a-4|0;if(e>>>0<4294967294){continue}break}}return k|0}function HE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;g=La-32|0;La=g;if(ib(c,b,20121,0)){o=wf(b,c,7,1,18,-1);l=N[c+68>>2];if(l){i=l-1|0;h=N[c+80>>2];e=h+3|0;d=O[h+15|0];a=0;while(1){a:{if((a|0)==(i|0)){a=l;break a}a=a+1|0;if(O[(e+T(a,20)|0)+12|0]==(d|0)){continue}}break}while(1){i=a;b:{if(!(1<<(d&15)&167)){break b}c:{if(i-f>>>0<2){break c}e=T(f,20)+h|0;if(O[e+18|0]!=18){break c}j=f+1|0;if(j>>>0>=i>>>0){break c}p=h+2|0;q=i-1|0;a=j;while(1){d:{n=T(a,20);k=O[(n+p|0)+16|0];if(k>>>0<=63){d=k&31;if((k&63)>>>0>=32){d=1<>>32-d}d=(m&2143289344|d&238)!=0}else{d=0}e:{if(!d){d=0;f:{g:{switch(k-44|0){default:if((k|0)!=12){break f}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break f;case 0:case 9:break g}}d=!(O[(h+n|0)+12|0]&32)}if(!d&(a|0)!=(q|0)){break d}if(!d){break e}}a=a-1|0}d=a+1|0;if(d-f>>>0>=2){Ib(c,f,d)}N[g+24>>2]=N[e+16>>2];d=e;e=N[d+12>>2];N[g+16>>2]=N[d+8>>2];N[g+20>>2]=e;e=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=e;F(d,T(j,20)+h|0,T(a-f|0,20));a=T(a,20)+h|0;N[a+16>>2]=N[g+24>>2];d=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=d;d=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=d;break c}a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(f>>>0>=i>>>0){break b}j=h+2|0;d=f;while(1){e=T(f,20);a=e+h|0;h:{i:{j:{k:{e=O[(e+j|0)+16|0];switch(e-44|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break i;case 0:case 9:break j;default:break k}}if((e|0)!=12){break i}}if(O[a+12|0]&32){break i}d=f+1|0;break h}if(!(1<>>0>31){break h}e=O[a+14|0];if(!(e&16)&(e&15)!=0|d>>>0>=f>>>0){break h}e=f+1|0;if(e-d>>>0>=2){Ib(c,d,e)}N[g+24>>2]=N[a+16>>2];e=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=e;e=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=e;a=T(d,20)+h|0;F(a+20|0,a,T(f-d|0,20));N[a+16>>2]=N[g+24>>2];e=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=e;e=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=e}f=f+1|0;if((i|0)!=(f|0)){continue}break}}a=N[c+68>>2];f=i+1|0;f=a>>>0>f>>>0?a:f;e=f-1|0;h=N[c+80>>2];j=h+3|0;d=O[(T(i,20)+h|0)+15|0];a=i;while(1){l:{if((a|0)==(e|0)){a=f;break l}a=a+1|0;if(O[(j+T(a,20)|0)+12|0]==(d|0)){continue}}break}f=i;if(l>>>0>f>>>0){continue}break}}ib(c,b,20142,0)}a=O[c+140|0];if(!(a&64)){ba(22742,14165,187,12136);B()}L[c+140|0]=a&191;La=g+32|0;return o|0}function Bo(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;a:{m=N[a+24>>2];if(!m|(c|0)<=0|(m|0)<=0){break a}A=-1;while(1){b:{if(N[a+24>>2]<=0){break b}x=N[(t<<2)+b>>2];s=0;y=0;c:{d:{while(1){e:{f:{g:{h:{u=T(y,56);w=N[a+32>>2];C=u+w|0;r=N[C+12>>2];i:{if((r|0)>0){v=N[(u+w|0)+4>>2];o=0;while(1){n=N[v+(o<<2)>>2];m=x;while(1){j:{q=O[O[m|0]+25936|0];z=O[n|0];p=O[z+25936|0];if(!z){break j}m=m+1|0;n=n+1|0;if((p|0)==(q|0)){continue}}break}if((p|0)==(q|0)){break i}o=o+1|0;if((r|0)!=(o|0)){continue}break}}if(!d){break h}n=x;m=N[(u+w|0)+44>>2];if(!m){break h}while(1){k:{o=O[O[n|0]+25936|0];p=O[m|0];q=O[p+25936|0];if(!p){break k}n=n+1|0;m=m+1|0;if((o|0)==(q|0)){continue}}break}if((o|0)!=(q|0)){break h}}m=u+w|0;q=N[m+20>>2]-f|0;n=q>>31;p=N[m+24>>2]-e|0;o=p>>31;r=N[m+28>>2]-100|0;m=r>>31;n=(n^q)-n+((o^p)-o)+((m^r)-m)|0;break g}l:{m:{n:{q=u+w|0;v=N[q+16>>2];if((v|0)<=0){break n}z=N[q+8>>2];o=0;while(1){n=N[z+(o<<2)>>2];m=x;while(1){o:{p=O[O[m|0]+25936|0];D=O[n|0];r=O[D+25936|0];if(!D){break o}m=m+1|0;n=n+1|0;if((p|0)==(r|0)){continue}}break}if((p|0)!=(r|0)){o=o+1|0;if((v|0)==(o|0)){break n}continue}break}o=1;n=x;m=N[q+40>>2];if(m){break m}n=0;break l}n=x;m=N[q+40>>2];if(!m){break f}while(1){p:{o=O[O[n|0]+25936|0];r=O[m|0];p=O[r+25936|0];if(!r){break p}n=n+1|0;m=m+1|0;if((o|0)==(p|0)){continue}}break}if((o|0)!=(p|0)){break f}n=1;o=0;break l}while(1){q:{p=O[O[n|0]+25936|0];v=O[m|0];r=O[v+25936|0];if(!v){break q}n=n+1|0;m=m+1|0;if((p|0)==(r|0)){continue}}break}n=0;if((p|0)==(r|0)){break g}}m=N[q+48>>2];if(!m){break d}m=N[m+8>>2];if(!m){break d}m=Qa[m|0](N[q+52>>2])|0?n:o;n=0;if((m|0)!=1){break f}}L[l|0]=1;r:{if(n>>>0>=A>>>0){m=A;C=s;break r}o=u+w|0;m=N[o+48>>2];if(!m){break c}u=N[m+12>>2];if(!u){break c}m=n;if(!(Qa[u|0](N[o+52>>2],k)|0)){break f}}A=m;s=C;if(!n){break e}}y=y+1|0;if((y|0)>2]){continue}}break}if(!s){break b}a=N[s+48>>2];N[h>>2]=N[s+40>>2];N[i>>2]=N[s>>2];b=N[a+36>>2];s:{if(b){b=Qa[b|0](N[s+52>>2])|0;break s}b=N[s+36>>2]}N[g>>2]=b;t=N[s+32>>2];if(t){break a}N[j>>2]=N[a+4>>2];N[j+4>>2]=N[s+52>>2];t=N[s+40>>2];if(t){break a}t=N[N[s+4>>2]>>2];break a}ba(8834,17972,611,8862);B()}ba(14043,17972,711,14071);B()}t=t+1|0;if((t|0)!=(c|0)){continue}break}return 0}return t}function ek(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;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}i=O[h|0]|O[h+1|0]<<8;c:{d:{e:{if(c){n=(i|0)!=256;while(1){b=275552;f:{if(n){break f}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break f}b=h+((a<<8|a>>>8)&65535)|0}a=O[b|0]|O[b+1|0]<<8;if(a){l=(k<<2)+d|0;m=N[l>>2];o=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){j=a+b>>>1|0;g=T(j,6)+o|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g:{if(g>>>0>m>>>0){a=j-1|0;break g}if((g|0)==(m|0)){break e}b=j+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}k=k+1|0;if((k|0)!=(c|0)){continue}break}}b=275552;h:{if((i|0)!=256){break h}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break h}b=h+((a<<8|a>>>8)&65535)|0}i:{j:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){g=a+b>>>1|0;d=c+T(g,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);k:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1145457749){a=g-1|0;break k}if((d|0)==1414284868){break j}b=g+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}b=275552;l:{if((i|0)!=256){break l}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break l}b=h+((a<<8|a>>>8)&65535)|0}m:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){g=a+b>>>1|0;d=c+T(g,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);n:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1684434037){a=g-1|0;break n}if((d|0)==1953261156){break m}b=g+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}b=275552;o:{if((i|0)!=256){break o}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break o}b=h+((a<<8|a>>>8)&65535)|0}p:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){h=a+b>>>1|0;d=c+T(h,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);q:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1818326127){a=h-1|0;break q}if((d|0)==1853120876){break p}b=h+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}a=65535;break i}if(e){N[e>>2]=h}a=1818326126;break i}if(e){N[e>>2]=g}a=1684434036;break i}if(e){N[e>>2]=g}a=1145457748}b=0;if(!f){break c}break d}if(e){N[e>>2]=j}if(!f){return 1}a=N[l>>2];b=1}N[f>>2]=a}return b}function eq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La+-64|0;La=j;a:{if(Q[a+16>>2]<=c>>>0){break a}if(N[b+84>>2]){N[j+40>>2]=0;N[j+48>>2]=2139095039;e=j;N[e+52>>2]=2139095039;N[e+56>>2]=-8388609;N[e+60>>2]=-8388609;L[e+44|0]=1;g=N[e+44>>2];N[e+8>>2]=N[e+40>>2];N[e+12>>2]=g;g=N[e+52>>2];N[e+16>>2]=N[e+48>>2];N[e+20>>2]=g;g=N[e+60>>2];N[e+24>>2]=N[e+56>>2];N[e+28>>2]=g;N[e+36>>2]=d;N[e+32>>2]=b;d=N[e+36>>2];N[e>>2]=N[e+32>>2];N[e+4>>2]=d;k=fj(a,b,c,e);break a}e=N[a+20>>2];e=N[(e?e:275552)+12>>2];k=1;b:{if(O[a+12|0]){e=e+(c<<1)|0;g=O[e|0]|O[e+1|0]<<8;f=((g<<8|g>>>8)&65535)<<1;e=O[e+2|0]|O[e+3|0]<<8;e=((e<<8|e>>>8)&65535)<<1;break b}e=e+(c<<2)|0;g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}if(e>>>0>>0){break a}g=N[a+24>>2];g=g?g:275552;if(e>>>0>Q[g+16>>2]){break a}i=e-f>>>0<10?275552:N[g+12>>2]+f|0;if(!(O[i|0]|O[i+1|0]<<8)){break a}a=N[a+4>>2];f=N[a>>2];c:{d:{if(f>>>0>c>>>0){if((c|0)<0){a=275552}else{a=N[a+20>>2];a=N[(a?a:275552)+12>>2]+(c<<2)|0}a=a+2|0;break d}if(Q[a+4>>2]<=c>>>0){a=O[i+6|0]|O[i+7|0]<<8;c=O[i+2|0]|O[i+3|0]<<8;a=(c<<8|c>>>8)<<16>>16>(a<<8|a>>>8)<<16>>16?a:c;a=a<<8|a>>>8;break c}e:{if((f|0)<0){h=275552;break e}h=N[a+20>>2];h=N[(h?h:275552)+12>>2]+(f<<2)|0;f=N[a>>2]}a=(c-f<<1)+h|0}a=O[a|0]|O[a+1|0]<<8;a=a<<8|a>>>8}h=a<<16;a=h>>31;e=N[b+56>>2];g=N[b+60>>2];a=UE(e,g,h>>16,a);f=Pa;a=a+32768|0;N[d>>2]=((a>>>0<32768?f+1|0:f)&65535)<<16|a>>>16;a=N[b+64>>2];b=N[b+68>>2];c=b;b=O[i+4|0]|O[i+5|0]<<8;l=(b<<8|b>>>8)<<16>>16;f=O[i+8|0]|O[i+9|0]<<8;m=(f<<8|f>>>8)<<16>>16;b=(l|0)<(m|0)?f:b;b=b<<8|b>>>8;h=b<<16;f=h>>31;f=UE(a,c,h>>16,f);h=Pa;f=f+32768|0;N[d+4>>2]=((f>>>0<32768?h+1|0:h)&65535)<<16|f>>>16;f=O[i+2|0]|O[i+3|0]<<8;n=(f<<8|f>>>8)<<16>>16;h=O[i+6|0]|O[i+7|0]<<8;o=(h<<8|h>>>8)<<16>>16;p=e;e=(n|0)<(o|0)?h:f;f=(n|0)>(o|0)?h:f;f=(e<<8|e>>>8)-(f<<8|f>>>8)<<16;h=f>>31;g=UE(p,g,f>>16,h);e=Pa;g=g+32768|0;N[d+8>>2]=((g>>>0<32768?e+1|0:e)&65535)<<16|g>>>16;e=(l|0)>(m|0)?i+8|0:i+4|0;e=O[e|0]|O[e+1|0]<<8;h=(e<<8|e>>>8)-b<<16;e=h>>31;b=UE(a,c,h>>16,e);a=Pa;b=b+32768|0;N[d+12>>2]=((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16}La=j- -64|0;return k}function Bd(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=La-128|0;La=h;q=S[c>>3];j=S[(f<<3)+e>>3];r=(q+S[d>>3])*j;S[h+104>>3]=r;o=j;j=S[c+8>>3];o=o*(j+S[d+8>>3]);S[h+112>>3]=o;a:{b:{if(f){i=N[b+4>>2];N[h+96>>2]=N[b>>2];N[h+100>>2]=i;i=N[c+12>>2];N[h+88>>2]=N[c+8>>2];N[h+92>>2]=i;l=N[c>>2];i=N[c+4>>2];c=N[h+116>>2];N[h+72>>2]=N[h+112>>2];N[h+76>>2]=c;N[h+80>>2]=l;N[h+84>>2]=i;c=N[h+108>>2];N[h+64>>2]=N[h+104>>2];N[h+68>>2]=c;c=0;i=f-1|0;if(!Bd(a,h+96|0,h+80|0,h- -64|0,e,i,g)){break b}f=N[b>>2];c=N[b+4>>2];b=N[h+116>>2];N[h+48>>2]=N[h+112>>2];N[h+52>>2]=b;b=N[h+108>>2];N[h+40>>2]=N[h+104>>2];N[h+44>>2]=b;N[h+56>>2]=f;N[h+60>>2]=c;b=N[d+12>>2];N[h+32>>2]=N[d+8>>2];N[h+36>>2]=b;b=N[d+4>>2];N[h+24>>2]=N[d>>2];N[h+28>>2]=b;c=Bd(a,h+56|0,h+40|0,h+24|0,e,i,g);break b}n=N[b+4>>2];j=j*S[a+24>>3];c:{if(V(j)<2147483648){e=~~j;break c}e=-2147483648}m=g&1;j=q*S[a+16>>3];d:{if(V(j)<2147483648){d=~~j;break d}d=-2147483648}l=N[b>>2];if(m){N[h+124>>2]=e+n;N[h+120>>2]=d+l;f=N[a>>2];c=N[h+124>>2];N[h+16>>2]=N[h+120>>2];N[h+20>>2]=c;c=0;if(!Fb(f,h+16|0,2)){break b}}i=g&2;if(i){N[h+124>>2]=n-e;N[h+120>>2]=l-d;d=N[a+4>>2];c=N[h+124>>2];N[h+8>>2]=N[h+120>>2];N[h+12>>2]=c;c=0;if(!Fb(d,h+8|0,2)){break b}}s=N[b+4>>2];j=o*S[a+24>>3];e:{if(V(j)<2147483648){f=~~j;break e}f=-2147483648}j=r*S[a+16>>3];f:{if(V(j)<2147483648){d=~~j;break f}d=-2147483648}n=N[b>>2];if(m){k=N[a>>2];p=N[k+4>>2];if(!p){break a}c=0;m=d+n|0;b=m>>31;if((b^m)-b>>>0>268435455){break b}b=f+s|0;e=b>>31;if((b^e)-e>>>0>268435455){break b}c=N[k>>2];g:{if(p>>>0>c>>>0){e=N[k+16>>2];break g}c=0;N[147316]=0;l=N[k+16>>2];h:{g=p<<1;if(g>>>0<=536870911){e=p<<4;e=$a(l,e>>>0<=1?1:e);if(e){break h}}N[147316]=48;N[k+16>>2]=l;break b}N[147316]=0;N[k+4>>2]=g;N[k+16>>2]=e;c=N[k>>2]}c=(c<<3)+e|0;N[c>>2]=m;N[c+4>>2]=b;N[k>>2]=N[k>>2]+1}c=1;if(!i){break b}i=N[a+4>>2];g=N[i+4>>2];if(!g){break a}c=0;e=n-d|0;a=e>>31;if((a^e)-a>>>0>268435455){break b}a=s-f|0;b=a>>31;if((a^b)-b>>>0>268435455){break b}c=N[i>>2];i:{if(g>>>0>c>>>0){b=N[i+16>>2];break i}c=0;N[147316]=0;d=g<<1;b=jd(N[i+16>>2],d,8);N[i+16>>2]=b;if(N[147316]){break b}N[i+4>>2]=d;c=N[i>>2]}b=(c<<3)+b|0;N[b>>2]=e;N[b+4>>2]=a;c=1;N[i>>2]=N[i>>2]+1}La=h+128|0;return c}ba(9920,18249,281,9160);B()}function _m(a,b){var c=0,d=0,e=0,f=0;f=N[N[a>>2]+96>>2];e=N[N[a+8>>2]+140>>2];if((e|0)>0){F(N[a+132>>2],N[a+136>>2],P[a+128>>1]<<3)}F(N[a+156>>2]+288|0,N[a+4>>2]+180|0,68);a:{if(b){c=N[a+156>>2];N[c+224>>2]=65536;N[c+228>>2]=65536;F(N[a+140>>2],N[a+136>>2],P[a+128>>1]<<3);break a}c=N[a+156>>2];d=N[N[a+4>>2]+44>>2];N[c+224>>2]=N[d+4>>2];N[c+228>>2]=N[d+8>>2]}c=N[a+136>>2]+(P[a+128>>1]<<3)|0;d=c-32|0;N[d>>2]=N[d>>2]+32&-64;d=c-24|0;N[d>>2]=N[d>>2]+32&-64;d=c-12|0;N[d>>2]=N[d>>2]+32&-64;c=c-4|0;N[c>>2]=N[c>>2]+32&-64;b:{if((e|0)>0){d=N[N[a+12>>2]- -64>>2];c=N[a+156>>2];L[c+592|0]=b;N[c+484>>2]=e;N[c+480>>2]=N[c+412>>2];b=N[a+124>>2];N[c+144>>2]=N[a+120>>2];N[c+148>>2]=b;b=N[a+132>>2];N[c+152>>2]=N[a+128>>2];N[c+156>>2]=b;b=N[a+140>>2];N[c+160>>2]=N[a+136>>2];N[c+164>>2]=b;b=N[a+148>>2];N[c+168>>2]=N[a+144>>2];N[c+172>>2]=b;N[c+176>>2]=N[a+152>>2];b=N[a+156>>2];N[b+368>>2]=0;N[b+360>>2]=3;c=N[b+148>>2];N[b+36>>2]=N[b+144>>2];N[b+40>>2]=c;N[b+372>>2]=N[b+484>>2];c=N[b+156>>2];N[b+44>>2]=N[b+152>>2];N[b+48>>2]=c;c=N[b+164>>2];N[b+52>>2]=N[b+160>>2];N[b+56>>2]=c;c=N[b+172>>2];N[b+60>>2]=N[b+168>>2];N[b+64>>2]=c;N[b+68>>2]=N[b+176>>2];N[b+364>>2]=N[b+480>>2];c=N[b+148>>2];N[b+72>>2]=N[b+144>>2];N[b+76>>2]=c;c=N[b+156>>2];N[b+80>>2]=N[b+152>>2];N[b+84>>2]=c;c=N[b+164>>2];N[b+88>>2]=N[b+160>>2];N[b+92>>2]=c;c=N[b+172>>2];N[b+96>>2]=N[b+168>>2];N[b+100>>2]=c;N[b+104>>2]=N[b+176>>2];N[b+140>>2]=N[b+176>>2];c=N[b+172>>2];N[b+132>>2]=N[b+168>>2];N[b+136>>2]=c;c=N[b+164>>2];N[b+124>>2]=N[b+160>>2];N[b+128>>2]=c;c=N[b+156>>2];N[b+116>>2]=N[b+152>>2];N[b+120>>2]=c;c=N[b+148>>2];N[b+108>>2]=N[b+144>>2];N[b+112>>2]=c;M[b+352>>1]=1;N[b+348>>2]=65537;M[b+298>>1]=16384;M[b+300>>1]=0;M[b+302>>1]=16384;M[b+304>>1]=0;N[b+316>>2]=1;M[b+294>>1]=16384;M[b+296>>1]=0;N[b+308>>2]=1;N[b+448>>2]=0;N[b+16>>2]=0;b=Qa[N[N[b>>2]+708>>2]](b)|0;c=N[a+156>>2];if(O[c+593|0]?b:0){break b}L[d|0]=O[d|0]|O[c+344|0]<<5|4}if(N[f+64>>2]==40){b=0;if(O[N[a+156>>2]+643|0]){break b}}b=N[a+136>>2]+(P[a+128>>1]<<3)|0;c=b-32|0;e=N[c+4>>2];N[a+68>>2]=N[c>>2];N[a+72>>2]=e;c=b-24|0;e=N[c+4>>2];N[a+76>>2]=N[c>>2];N[a+80>>2]=e;c=b-16|0;e=N[c+4>>2];N[a+180>>2]=N[c>>2];N[a+184>>2]=e;b=b-8|0;c=N[b+4>>2];N[a+188>>2]=N[b>>2];N[a+192>>2]=c;b=0}return b}function ik(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{if(N[b+144>>2]!=64){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];l=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((l|0)==-1){break a}c=O[a+4|0]|O[a+5|0]<<8;g=(c<<8|c>>>8)&65535;d=((g<<1)+a|0)+6|0;c=O[d|0]|O[d+1|0]<<8;j=((((c<<8|c>>>8)&65535)<<1)+d|0)+2|0;c=O[j|0]|O[j+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=l>>>0){break a}N[e+28>>2]=0;N[e+24>>2]=0;k=a+6|0;h=La-16|0;La=h;c=N[b+96>>2];c=N[(O[c+62|0]?72:64)+c>>2];N[b+76>>2]=g;N[b+44>>2]=c;f=N[N[b+48>>2]+96>>2];N[b+80>>2]=N[f+68>>2];m=N[f+64>>2]==(c|0)?O[(N[f+80>>2]+T(c,20)|0)+15|0]:m;N[b+72>>2]=k;N[b+68>>2]=a;N[b- -64>>2]=247;L[b+63|0]=O[b+62|0]?m:0;b:{c:{if(!g){i=1;break c}f=b+44|0;c=0;while(1){if(!he(f,h+12|0)){N[e+28>>2]=N[h+12>>2];break b}c=c+1|0;i=g>>>0<=c>>>0;if((c|0)!=(g|0)){continue}break}c=N[f>>2]}N[e+28>>2]=c}La=h+16|0;d:{if(!i){break d}m=d+2|0;c=N[N[b+96>>2]+64>>2]+1|0;g=0;f=0;h=La-16|0;La=h;d=O[d|0]|O[d+1|0]<<8;d=(d<<8|d>>>8)&65535;N[b+76>>2]=d;i=c-1|0;N[b+44>>2]=i;k=N[N[b+48>>2]+96>>2];N[b+80>>2]=N[k+68>>2];f=(i|0)==N[k+64>>2]?O[(N[k+80>>2]+T(i,20)|0)+15|0]:f;N[b+72>>2]=m;N[b+68>>2]=a;N[b- -64>>2]=247;L[b+63|0]=O[b+62|0]?f:0;e:{f:{if(!d){g=1;break f}c=b+44|0;a=0;while(1){if(!kc(c,h+12|0)){N[e+24>>2]=N[h+12>>2];break e}a=a+1|0;g=d>>>0<=a>>>0;if((a|0)!=(d|0)){continue}break}c=N[c>>2]+1|0}N[e+24>>2]=c}La=h+16|0;if(!g){break d}wb(N[b+96>>2],3,N[e+28>>2],N[e+24>>2],1,1);a=N[b+96>>2];if(N[a+156>>2]){c=N[b+88>>2];N[e+16>>2]=N[a+64>>2];ib(a,c,22942,e+16|0)}a=O[j|0]|O[j+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=l>>>0?275552:((l<<1)+j|0)+2|0;a=O[a|0]|O[a+1|0]<<8;d=(a<<8|a>>>8)&65535;N[b+116>>2]=N[b+116>>2]|1<<(d>>>4);N[b+120>>2]=N[b+120>>2]|1<>2]=N[b+124>>2]|1<<(d>>>9);a=N[b+160>>2];if((a|0)!=-1){c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=a}a=N[b+96>>2];c=N[a+80>>2]+T(N[a+64>>2],20)|0;a=P[c+12>>1]|16;if(O[b+148|0]){a=Uc(N[b+104>>2],d)|a&112}M[c+12>>1]=a;a=N[b+96>>2];N[N[a+80>>2]+T(N[a+64>>2],20)>>2]=d;n=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e>>2]=N[a+64>>2];ib(a,b,22996,e);break a}a=N[b+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,N[e+28>>2],N[e+24>>2],0,1)}La=e+32|0;return n}function uq(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;l=T(b,c)+a|0;if(b>>>0>=10){m=0-c|0;while(1){g=a+c|0;d=P[g>>1];h=T(b>>>1|0,c)+a|0;e=P[h>>1];f=d>>>0>e>>>0;i=T(b-1|0,c);k=i+a|0;b=k+m|0;j=P[b>>1];n=f?g:h;a:{if(j>>>0>=(f?d:e)>>>0){break a}n=j>>>0<(d>>>0>>0?d:e)>>>0?f?h:g:b}b=n;if((b|0)!=(k|0)){e=b+c|0;d=k;while(1){f=O[b|0];L[b|0]=O[d|0];L[d|0]=f;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}h=k;f=h;g=a;e=g;b:{if((i|0)<=0){e=0;break b}while(1){c:{b=P[e>>1];d=P[k>>1];if(b>>>0<=d>>>0){if((b|0)==(d|0)){if(e>>>0>g>>>0){i=c+g|0;b=g;d=e;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}g=c+g|0}e=c+e|0;if(f>>>0>e>>>0){continue}break c}d:{if(e>>>0>=f>>>0){break d}while(1){j=f;e:{f:{f=f+m|0;b=P[f>>1];d=P[k>>1];if((b|0)==(d|0)){i=h+m|0;if(h>>>0<=j>>>0){break f}b=f;d=i;while(1){h=O[b|0];L[b|0]=O[d|0];L[d|0]=h;d=d+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}break f}if(b>>>0>=d>>>0){break e}if(e>>>0>>0){i=c+e|0;b=e;d=f;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}e=c+e|0;break d}h=i}if(e>>>0>>0){continue}break}}if(e>>>0>>0){continue}}break}i=f-g|0;g:{if((a|0)==(g|0)|(f|0)==(g|0)){break g}b=g-a|0;if(b>>>0>i>>>0){if((i|0)<=0){break g}e=a+i|0;b=a+b|0;d=a;while(1){g=O[d|0];L[d|0]=O[b|0];L[b|0]=g;b=b+1|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}break g}if((b|0)<=0){break g}e=a+b|0;b=a+i|0;d=a;while(1){g=O[d|0];L[d|0]=O[b|0];L[b|0]=g;b=b+1|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}e=h-f|0;if((f|0)==(h|0)|(h|0)==(l|0)){break b}b=l-h|0;if(b>>>0>>0){if((b|0)<=0){break b}d=b+f|0;b=e+f|0;while(1){g=O[f|0];L[f|0]=O[b|0];L[b|0]=g;b=b+1|0;f=f+1|0;if(d>>>0>f>>>0){continue}break}break b}if((e|0)<=0){break b}d=e+f|0;b=b+f|0;while(1){g=O[f|0];L[f|0]=O[b|0];L[b|0]=g;b=b+1|0;f=f+1|0;if(d>>>0>f>>>0){continue}break}}uq(a,(i>>>0)/(c>>>0)|0,c);a=l-e|0;b=(e>>>0)/(c>>>0)|0;l=a+T(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(l>>>0>g>>>0){h=0-c|0;while(1){e=g;h:{if(e>>>0<=a>>>0){break h}while(1){f=e+h|0;if(P[f>>1]<=P[e>>1]){break h}b=f;d=e;while(1){k=O[b|0];L[b|0]=O[d|0];L[d|0]=k;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}e=f;if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(l>>>0>g>>>0){continue}break}}}function ip(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,o=0,p=0,q=0;m=La-16|0;La=m;k=N[a+12>>2];if(k){N[(N[a+20>>2]+(k<<4)|0)-4>>2]=b}b=0;i=N[a+24>>2];a:{if((i|0)<2){break a}k=i;while(1){q=k;l=N[a+32>>2];k=k-1|0;b=l+(k<<4)|0;n=N[b>>2];d=N[b+8>>2];f=q-2|0;while(1){b:{e=l+(f<<4)|0;b=N[e+8>>2];c:{e=N[e>>2];g=e>>>0>n>>>0?n:e;d:{e:{if(g>>>0<8){h=d;break e}e=(g-8>>>3|0)+1|0;j=e+b|0;h=d+e|0;e=d;while(1){if(O[b|0]&O[e|0]){break d}b=b+1|0;e=e+1|0;g=g-8|0;if(g>>>0>7){continue}break}b=j}if(!g|!(O[b|0]&O[h|0]&-256>>g)){break c}}o=f>>>0>k>>>0?f:k;b=f>>>0>>0?f:k;if(o>>>0<=b>>>0|i>>>0<=o>>>0){break b}j=l+(o<<4)|0;g=N[j>>2];f:{if(!g){break f}h=l+(b<<4)|0;e=N[h>>2];g:{if(e>>>0>=g>>>0){i=g+7|0;f=i>>>3|0;break g}i=g+7|0;f=i>>>3|0;d=N[h+4>>2]+7|0;n=d>>>3|0;if(f>>>0>n>>>0){b=N[h+8>>2];h:{i:{l=f+7&1073741816;j:{if(!l){d=0;if(!b){break j}Qa[N[c+8>>2]](c,b);N[h+8>>2]=0;break h}k:{if(d>>>0<=7){d=Qa[N[c+4>>2]](c,l)|0;b=!d<<6;break k}p=Qa[N[c+12>>2]](c,n,l,b)|0;d=p?p:b;b=!p<<6}if(b|l>>>0<=n>>>0|!d){break i}C(d+n|0,0,l-n|0)}N[h+8>>2]=d;break h}N[h+8>>2]=d;if(b){break a}}N[h+4>>2]=l<<3}d=e+1|0;b=e;l:{if(!(g-b&1)){break l}b=d;if(e>>>0>=Q[h>>2]){break l}b=N[h+8>>2]+(e>>>3|0)|0;L[b|0]=O[b|0]&-129>>(e&7);b=d}if((d|0)==(g|0)){break g}while(1){d=N[h>>2];if(d>>>0>b>>>0){d=N[h+8>>2]+(b>>>3|0)|0;L[d|0]=O[d|0]&-129>>(b&7);d=N[h>>2]}e=d;d=b+1|0;if(e>>>0>d>>>0){e=N[h+8>>2]+(d>>>3|0)|0;L[e|0]=O[e|0]&-129>>(d&7)}b=b+2|0;if((g|0)!=(b|0)){continue}break}}if(i>>>0<8){break f}d=f-1|0;e=N[j+8>>2];b=N[h+8>>2];i=f&3;if(i){f=f&536870908;g=0;while(1){L[b|0]=O[e|0]|O[b|0];e=e+1|0;b=b+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(d>>>0<3){break f}while(1){L[b|0]=O[e|0]|O[b|0];L[b+1|0]=O[e+1|0]|O[b+1|0];L[b+2|0]=O[e+2|0]|O[b+2|0];L[b+3|0]=O[e+3|0]|O[b+3|0];e=e+4|0;b=b+4|0;f=f-4|0;if(f){continue}break}}N[j>>2]=0;N[j+12>>2]=0;b=N[a+24>>2];d=b+(o^-1)|0;if((d|0)>0){b=N[j+12>>2];N[m+8>>2]=N[j+8>>2];N[m+12>>2]=b;b=N[j+4>>2];N[m>>2]=N[j>>2];N[m+4>>2]=b;b=d<<4;F(j,j+16|0,b);d=N[m+12>>2];b=b+j|0;N[b+8>>2]=N[m+8>>2];N[b+12>>2]=d;d=N[m+4>>2];N[b>>2]=N[m>>2];N[b+4>>2]=d;b=N[a+24>>2]}i=b-1|0;N[a+24>>2]=i;break b}b=(f|0)>0;f=f-1|0;if(b){continue}}break}if((q|0)>2){continue}break}b=0}La=m+16|0;return b}function Wb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}b=N[a>>2];a=N[a+4>>2];if(!b){b=a;a=a>>31;return(b^a)-a|0}c=b>>31;c=(c^b)-c|0;if(a){d=c;c=a>>31;h=d|(c^a)-c;f=W(h);i=f-2|0;a:{if(h>>>0<=1073741823){a=a<>c;b=b>>c}e=0-a|0;c=0-b|0;b:{if((a|0)>(b|0)){b=(a|0)>(c|0);d=b?c:e;a=b?a:c;break b}d=a;a=(a|0)<(c|0);d=a?b:d;a=a?e:b}b=d+1>>1;c=(d|0)>0;b=a+(c?b:0-b|0)|0;a=a+1>>1;a=(c?0-a|0:a)+d|0;c=a+2>>2;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+2>>2;a=a+(d?0-b|0:b)|0;b=a+4>>3;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+4>>3;a=a+(d?0-c|0:c)|0;c=a+8>>4;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+8>>4;a=a+(d?0-b|0:b)|0;b=a+16>>5;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+16>>5;a=a+(d?0-c|0:c)|0;c=a+32>>6;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+32>>6;a=a+(d?0-b|0:b)|0;b=a- -64>>7;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c- -64>>7;a=a+(d?0-c|0:c)|0;c=a+128>>8;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+128>>8;a=a+(d?0-b|0:b)|0;b=a+256>>9;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+256>>9;a=a+(d?0-c|0:c)|0;c=a+512>>10;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+512>>10;a=a+(d?0-b|0:b)|0;b=a+1024>>11;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+1024>>11;a=a+(d?0-c|0:c)|0;c=a+2048>>12;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+2048>>12;a=a+(d?0-b|0:b)|0;b=a+4096>>13;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+4096>>13;a=a+(d?0-c|0:c)|0;c=a- -8192>>14;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b- -8192>>14;a=a+(d?0-b|0:b)|0;b=a+16384>>15;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+16384>>15;a=a+(d?0-c|0:c)|0;c=a+32768>>16;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+32768>>16;a=a+(d?0-b|0:b)|0;b=a+65536>>17;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+65536>>17;a=a+(d?0-c|0:c)|0;c=a+131072>>18;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+131072>>18;a=a+(d?0-b|0:b)|0;b=a+262144>>19;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+262144>>19;a=a+(d?0-c|0:c)|0;c=a+524288>>20;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+524288>>20;a=a+(d?0-b|0:b)|0;b=a- -1048576>>21;d=c- -1048576>>21;g=0-d|0;e=d;d=(a|0)>0;e=a+(d?g:e)|0;a=e+2097152>>22;a=(c+(d?b:0-b|0)|0)+((e|0)>0?a:0-a|0)|0;b=a>>31;c=(a^b)-b|0;d=c&65535;b=T(d,56281);e=c>>>16|0;c=b+T(e,23318)|0;g=c<<16;d=g+T(d,23318)|0;b=(((T(e,56281)+(c>>>16|0)|0)+((b>>>0>c>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;a=(a|0)<0?0-b|0:b;if(h>>>0<=536870911){return a+(1<>i}c=a<<2-f}return c}function At(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=La-16|0;La=f;i=N[b+28>>2];N[a+368>>2]=b;c=Qa[N[a+516>>2]](a,1851878757,b,f+8|0)|0;a:{if(c){break a}k=N[b+8>>2];c=rb(b,179040,a+344|0);if(c){break a}c=145;l=k+6|0;e=N[a+348>>2];g=l+T(e,12)|0;j=N[f+8>>2]+k|0;if(g>>>0>j>>>0){break a}if(P[a+344>>1]==1){d=N[b+20>>2];b:{if(d){c=85;if(!(Qa[d|0](b,g,0,0)|0)){break b}break a}c=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=g;N[f+12>>2]=0;d=xb(b,f+12|0);N[a+360>>2]=d;c=N[f+12>>2];if(c){break a}m=a,n=lb(i,12,0,d,0,f+12|0),N[m+364>>2]=n;c=N[f+12>>2];if(c){break a}c=Bb(b,N[a+360>>2]<<2);if(c){break a}g=((d<<2)+g|0)+2|0;c=N[a+364>>2];c:{if(!c){break c}d=N[a+360>>2];if((d|0)<=0){break c}h=T(d,12)+c|0;while(1){d=rb(b,179100,c);e=N[c+4>>2]+(N[a+352>>2]+k|0)|0;N[c+4>>2]=e;if(!(e+P[c>>1]>>>0<=j>>>0&e>>>0>=g>>>0)){M[c>>1]=0}c=c+12|0;if(h>>>0>c>>>0){continue}break}N[f+12>>2]=d}d:{e:{f:{c=N[b+20>>2];if(!c){N[b+32>>2]=0;N[b+36>>2]=0;break f}h=N[b>>2];g:{if(!h){N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;break g}d=N[b+28>>2];Qa[N[d+8>>2]](d,h);N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;c=N[b+20>>2];if(!c){break f}}if(Qa[c|0](b,l,0,0)|0){break d}break e}if(Q[b+4>>2]>>0){break d}}N[b+8>>2]=l}e=N[a+348>>2]}c=0;h:{if((e|0)<0){c=6;break h}i:{j:{if(e){c=10;if((e|0)>107374182){break h}d=T(e,20);c=Qa[N[i+4>>2]](i,d)|0;if(!c|(e|0)<=0){break j}C(c,0,d)}N[a+356>>2]=c;break i}N[a+356>>2]=c;if(c){break i}c=!c<<6;break a}c=Bb(b,T(N[a+348>>2],12));N[f+12>>2]=c;if(c){break a}d=N[a+356>>2];e=N[a+348>>2];k:{if(!e){c=d;j=0;break k}c=d;while(1){d=rb(b,179072,c);N[f+12>>2]=d;l:{if(d){break l}d=P[c+8>>1];if(!d){break l}h=N[c+12>>2]+(N[a+352>>2]+k|0)|0;N[c+12>>2]=h;if(g>>>0>h>>>0|d+h>>>0>j>>>0){break l}m:{if(P[a+344>>1]!=1){break m}d=M[c+4>>1];if((d|0)>=0){break m}d=(d&65535)-32768|0;if(d>>>0>=Q[a+360>>2]|!P[N[a+364>>2]+T(d,12)>>1]){break l}}c=c+20|0}e=e-1|0;if(e){continue}break}d=N[a+356>>2];j=N[a+348>>2]}c=(c-d|0)/20|0;d=lb(i,20,j,c,d,f+12|0);N[a+348>>2]=c;N[a+356>>2]=d;if(N[b+20>>2]){i=N[b>>2];if(i){d=N[b+28>>2];Qa[N[d+8>>2]](d,i);c=N[a+348>>2]}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;M[a+340>>1]=c;c=N[f+12>>2];break a}N[a+356>>2]=0}La=f+16|0;return c|0}function pb(a,b){var 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;c=a;while(1){n=L[c|0];if(!(!(n-9>>>0<4|(n|0)==32)&(n|0)!=13)){c=c+1|0;continue}break}g=((n|0)==45|(n|0)==43)+c|0;c=0;d=-1;f=-1;while(1){a:{i=L[g|0];b:{if(i-58>>>0<=4294967285){if((i|0)!=46|(d|0)!=-1){break a}d=c;break b}f=(i|0)!=48?(f|0)==-1?c:f:f}c=c+1|0;g=g+1|0;continue}break}j=(f|0)==-1?c:f;l=j-(d>>>0>>0)|0;m=(d|0)!=-1;e=c-m|0;e=e-l>>>0>18?l+18|0:e;p=0;c:{if(!e){break c}o=i&255;a=m?d:c;m=a>>>0>>0;f=m?e-a|0:a-e|0;c=(j-c|0)+g|0;i=e-l|0;d:{e:{if((i|0)>=10){if((i|0)!=10){a=i-9|0;j=a&1;e=a&-2;a=0;while(1){d=O[c|0];if((d|0)!=46){c=c+1|0}else{d=O[c+1|0];c=c+2|0}l=((d<<24>>24)+T(k,10)|0)-48|0;d=O[c|0];if((d|0)!=46){c=c+1|0}else{d=O[c+1|0];c=c+2|0}k=((d<<24>>24)+T(l,10)|0)-48|0;a=a+2|0;if((e|0)!=(a|0)){continue}break}e=9;if(!j){break e}}e=O[c|0];if((e|0)!=46){c=c+1|0}else{e=O[c+1|0];c=c+2|0}k=((e<<24>>24)+T(k,10)|0)-48|0;e=9;break e}a=0;e=i;if((e|0)<=0){break d}}a=0;while(1){d=O[c|0];if((d|0)!=46){c=c+1|0}else{d=O[c+1|0];c=c+2|0}a=((d<<24>>24)+T(a,10)|0)-48|0;d=(e|0)>1;e=e-1|0;if(d){continue}break}}q=+(k|0)*1e9+ +(a|0);f:{g:{h:{if((o|32)!=101){e=m;a=g;break h}c=g+1|0;e=0;i:{j:{switch(O[g+1|0]-43|0){case 2:c=g+2|0;e=1;break i;case 0:break j;default:break i}}c=g+2|0}r=(e|0)!=(m|0);k:{if(!r){a=0;if(f>>>0>511){break k}a=((511-f&65535)>>>0)/10|0;break k}a=(f>>>0)/10|0;a=((((T(a,65526)+f|0)+511&65535)>>>0)/10|0)+a|0}l=a;k=0;g=L[c|0];o=g-48|0;l:{if(o>>>0>9){a=c;d=0;break l}d=0;while(1){j=d;if(!(!(k&1)&d>>>0<=l>>>0)){while(1){d=L[c+1|0];a=c+1|0;c=a;if(d-58>>>0>=4294967286){continue}break g}}d=T(j,10)+o|0;s=(47-g>>>0)/10|0;k=j>>>0>s>>>0;g=L[c+1|0];a=c+1|0;c=a;o=g-48|0;if(o>>>0<10){continue}break}k=j>>>0>s>>>0}if(r){if(!(!k&d>>>0>>0)){f=d-f|0;break h}c=f-d|0}else{c=d+f|0}f=c;e=m}if(f>>>0<512){break f}}f=511;if(q==0){break f}N[147316]=68}c=26192;if(!(!e|f>>>0<309)){h=1;if(i){g=26192;c=i;while(1){h=c&1?h*S[g>>3]:h;g=g+8|0;e=c>>>0>1;c=c>>>1|0;if(e){continue}break}}f=f-i|0;q=q/h;e=0;c=26272}h=1;if(f){while(1){h=f&1?h*S[c>>3]:h;c=c+8|0;d=f>>>0>1;f=f>>>1|0;if(d){continue}break}}p=q/h;if(e){break c}p=q*h}h=p;if(b){N[b>>2]=a}return(n|0)==45?-h:h}function Mj(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{f=N[a+96>>2];b:{if(!N[f+68>>2]){break b}e=N[a+132>>2];if(!e){break b}d=O[b+2|0]|O[b+3|0]<<8;h=d<<8|d>>>8;d=h&65535;if(h&16){g=d;d=O[b+4|0]|O[b+5|0]<<8;d=(((d<<8|d>>>8)&65535)<<1)+b|0;d=O[d+6|0]|O[d+7|0]<<8;d=g|(d<<24|d<<8&16711680)}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;L[a+21|0]=O[a+150|0];N[a+16>>2]=e;N[a+72>>2]=0;N[a+48>>2]=a;e=O[a+151|0];L[a+22|0]=e;h=a- -64|0;N[h>>2]=0;N[h+4>>2]=0;N[a+52>>2]=d;L[a+61|0]=1;d=N[a+84>>2]==1;L[a+20|0]=d;L[a+60|0]=d|O[a+149|0]!=0;L[a+62|0]=e;N[a+56>>2]=-1;d=O[b|0]|O[b+1|0]<<8;c:{if((d|0)!=1792){if((d|0)!=2048){break c}break a}d=275552;e=O[b+4|0]|O[b+5|0]<<8?b+6|0:275552;e=O[e|0]|O[e+1|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+b|0}if((O[d|0]|O[d+1|0]<<8)!=256){break c}if((O[d+2|0]|O[d+3|0]<<8)==2048){break a}}N[f+72>>2]=0;M[f+62>>1]=1;N[f+64>>2]=0;N[f+84>>2]=N[f+80>>2];Lj(a,c);Ac(f)}return}if(!O[f+62|0]){N[f+64>>2]=N[f+68>>2]-1;f=N[a+96>>2];b=N[f+64>>2];while(1){b=N[f+80>>2]+T(b,20)|0;e=N[b>>2];d:{if(!(N[c>>2]>>>(e>>>4)&1)|!(N[c+4>>2]>>>e&1)|(!(N[c+8>>2]>>>(e>>>9)&1)|!(N[a+132>>2]&N[b+4>>2]))){break d}h=N[a+140>>2];b=P[b+12>>1];if(h&b&14){break d}e:{if(!(b&8)){break e}if(h&16){d=275552;b=N[a+104>>2];f:{if((O[b|0]|O[b+1|0]<<8)!=256){break f}g=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<65538){break f}g=O[b+12|0]|O[b+13|0]<<8;if(!g){break f}d=b+((g<<8|g>>>8)&65535)|0}if((O[d|0]|O[d+1|0]<<8)!=256){break d}b=O[d+2|0]|O[d+3|0]<<8;g=(b<<8|b>>>8)&65535;b=h>>>16|0;if(g>>>0>b>>>0){b=((b<<2)+d|0)+4|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+d|0}else{b=275552}if((vb(b,e)|0)!=-1){break e}break d}d=h&65280;if(!d){break e}if((d|0)!=(b&65280)){break d}}d=N[c+16>>2];if(!d){break d}b=N[c+20>>2];while(1){e=N[a+96>>2];e=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];if(!(!(N[b+16>>2]>>>(e>>>4)&1)|!(N[b+20>>2]>>>e&1)|!(N[b+24>>2]>>>(e>>>9)&1))){if(Qa[N[b+4>>2]](N[b>>2],a)|0){break d}}b=b+28|0;d=d-1|0;if(d){continue}break}}b=N[f+64>>2]-1|0;N[f+64>>2]=b;if((b|0)>=0){continue}break}return}ba(8640,17822,1889,14549);B()}function Ib(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(N[a+20>>2]==2){e=N[a+68>>2];f=c>>>0>e>>>0?e:c;j=f-b|0;if(j>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=f>>>0){break a}h=N[a+80>>2];d=-1;e=b;l=(b^-1)+f|0;if(l>>>0>=3){k=j&-4;while(1){c=T(e,20)+h|0;i=N[c+8>>2];d=d>>>0>>0?d:i;i=N[c+28>>2];d=d>>>0>>0?d:i;i=N[c+48>>2];d=d>>>0>>0?d:i;c=N[c+68>>2];d=c>>>0>d>>>0?d:c;e=e+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}k=j&3;if(k){c=0;while(1){i=N[(T(e,20)+h|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(j&1){c=T(b,20)+h|0;if(N[c+8>>2]!=(d|0)){N[c+4>>2]=N[c+4>>2]|3}b=b+1|0}if(!l){break a}while(1){c=T(b,20)+h|0;if(N[c+8>>2]!=(d|0)){g=g|32;N[a+144>>2]=g;N[c+4>>2]=N[c+4>>2]|3}c=T(b+1|0,20)+h|0;if(N[c+8>>2]!=(d|0)){g=g|32;N[a+144>>2]=g;N[c+4>>2]=N[c+4>>2]|3}b=b+2|0;if((f|0)!=(b|0)){continue}break}break a}h=N[a+80>>2];j=N[(h+T(b,20)|0)+8>>2];d=j;e=b+1|0;b:{if(e>>>0>=c>>>0){break b}l=(c-b|0)-2|0;f=(b^-1)+c&3;if(f){k=b+f|0;while(1){i=N[(h+T(e,20)|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}e=k+1|0}if(l>>>0<=2){break b}while(1){g=h+T(e,20)|0;f=N[g+8>>2];d=d>>>0>>0?d:f;f=N[g+28>>2];d=d>>>0>>0?d:f;f=N[g+48>>2];d=d>>>0>>0?d:f;g=N[g+68>>2];d=d>>>0>>0?d:g;e=e+4|0;if((e|0)!=(c|0)){continue}break}}e=N[a+68>>2];c:{if(e>>>0<=c>>>0){break c}while(1){g=h+T(c,20)|0;if(N[g-12>>2]!=N[g+8>>2]){break c}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e}f=N[a+64>>2];g=b>>>0>f>>>0?f:b;while(1){d:{e=b;if(b>>>0<=f>>>0){e=g;break d}b=e-1|0;if((j|0)==N[(h+T(b,20)|0)+8>>2]){continue}}break}e:{if((e|0)!=(f|0)){break e}b=N[a+72>>2];if(!b){break e}g=h+T(f,20)|0;f=N[a+84>>2];while(1){b=b-1|0;a=f+T(b,20)|0;j=N[a+8>>2];if((j|0)!=N[g+8>>2]){break e}if((d|0)!=(j|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;if(b){continue}break}}if(c>>>0<=e>>>0){break a}a=e+1|0;if(c-e&1){b=h+T(e,20)|0;if(N[b+8>>2]!=(d|0)){N[b+4>>2]=N[b+4>>2]&-8}N[b+8>>2]=d;e=a}if((a|0)==(c|0)){break a}while(1){a=h+T(e,20)|0;if(N[a+8>>2]!=(d|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;a=h+T(e+1|0,20)|0;if(N[a+8>>2]!=(d|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;e=e+2|0;if((e|0)!=(c|0)){continue}break}}}function Vi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=La-32|0;La=e;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;if(!(!c|(!a|!b))){n=N[N[a+12>>2]+24>>2];g=N[b+16>>2];f=N[b+8>>2];N[e+12>>2]=3;Bl(N[(f<<2)+293344>>2],0,e+12|0,e,0,0);f=N[e+12>>2];h=f?N[e>>2]:0;N[e+16>>2]=h;i=f>>>0>1?N[e+4>>2]:0;N[e+20>>2]=i;N[e+24>>2]=f>>>0>2?N[e+8>>2]:0;f=N[(g<<2)+293296>>2];a:{b:{if(d){if(!h){N[e+16>>2]=1145457748;break b}if((i|0)==1145457748){break b}if(!i){N[e+20>>2]=1145457748;break b}N[e+24>>2]=1145457748;break b}i=0;g=0;if((h|0)==1145457748){break a}}j=db(1,52);c:{if(!j){j=275552;break c}N[j>>2]=1;N[j+4>>2]=1;L[j+12|0]=1}Zj(n,1196643650,e+16|0,f,j);if(_j(j+12|0)){i=0;g=0;break a}g=db(1,52);d:{if(!g){g=275552;break d}N[g>>2]=1;N[g+4>>2]=1;L[g+12|0]=1}N[e>>2]=-1;while(1){if(Se(j,e)){Yj(n,1196643650,N[e>>2],0,g);continue}break}i=275552;o=275552;d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;o=d}Zj(n,1196445523,e+16|0,f,o);d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;i=d}N[e>>2]=-1;while(1){if(Se(o,e)){Yj(n,1196445523,N[e>>2],i,0);continue}break}e:{if(N[b+16>>2]==10){break e}p=(N[b+12>>2]<<3)+283472|0;d=N[p>>2];if((d|0)==5531){break a}f=0;while(1){h=d+277936|0;d=O[h|0];if(d){while(1){l=d&255;h=h+1|0;if(d<<24>>24<0){d=l>>>0<240;k=l>>>0<224;m=k?1:d?2:3;l=(k?31:d?15:7)&l;k=0;d=h;while(1){l=O[d|0]&63|l<<6;d=d+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}h=h+m|0}N[e>>2]=-1;while(1){f:{if(!Se(j,e)){d=f;break f}d=0;m=N[a>>2];g:{if(!m){break g}k=N[m+92>>2];if(!k){break g}d=Qa[N[N[k+12>>2]+12>>2]](k,l)|0;d=d>>>0>2]?d:0}N[e+12>>2]=d;d=1;if(!Dc(n,N[e>>2],e+12|0,1,1)){continue}}break}f=d;d=O[h|0];if(d){continue}break}}d=N[p+8>>2];p=p+8|0;if((d|0)!=5531){continue}break}if(!(f&255)){break a}if(N[b+16>>2]==10){break e}f=i+12|0;d=g+12|0;h=O[g+48|0];h:{if((h|0)==O[i+48|0]){if(h){Mf(d,200,0,1,f);break h}Mf(d,201,1,0,f);break h}if(h){Mf(d,202,1,1,f);break h}Mf(d,203,0,0,f)}if(O[d|0]){L[g+48|0]=!O[i+48|0]&O[g+48|0]!=0}}N[e>>2]=-1;while(1){if(!Se(g,e)){break a}d=N[e>>2];if(d>>>0>=Q[a+4>>2]){continue}d=(d<<1)+c|0;if(P[d>>1]!=16383){continue}M[d>>1]=N[b>>2];continue}}Te(j);Te(g);Te(o);Te(i)}La=e+32|0}function Kc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=La-48|0;La=j;N[a+8>>2]=0;g=N[a+4>>2];if(g){N[N[a>>2]>>2]=441572;N[N[a>>2]+4>>2]=441572;N[N[a>>2]+8>>2]=441572;N[N[a>>2]+12>>2]=441572;N[N[a>>2]+16>>2]=441572}a:{if(!d){break a}e=O[c|0];if(!e){break a}h=6;if(!b){break a}f=O[b|0];if(!f){break a}N[j+24>>2]=0;N[j+28>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+8>>2]=0;N[j+12>>2]=0;N[j>>2]=0;N[j+4>>2]=0;while(1){b:{c:{d:{i=f&255;if((i|0)!=43){if(!i){break d}i=O[b+1|0];break c}i=O[b+1|0];if(i){break c}k=1;i=0;break b}e:{if((d|0)<=0){h=0;f=0;break e}l=c+d|0;while(1){f=c;while(1){f:{if(O[((e&248)>>>3|0)+j|0]>>>(e&7)&1){i=f;break f}e=O[f+1|0];i=f+1|0;f=i;if(e){continue}}break}e=N[a+8>>2];g=N[a+4>>2];g:{if((e|0)!=(g|0)){break g}if((e|0)==-1){g=e;break g}if((e|0)==536870911){h=64;break a}b=((e>>>1|0)+e|0)+5|0;g=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;if((g|e)<0){h=6;break a}f=N[a>>2];d=N[a+12>>2];h:{i:{j:{if(!g){b=0;if(!f){break j}Qa[N[d+8>>2]](d,f);N[a>>2]=0;break h}if((g|0)>536870911){h=10;break a}k:{if(!e){b=Qa[N[d+4>>2]](d,g<<2)|0;h=!b<<6;break k}d=Qa[N[d+12>>2]](d,e<<2,g<<2,f)|0;b=d?d:f;h=!d<<6}if(h|(e|0)>=(g|0)|!b){break i}C((e<<2)+b|0,0,g-e<<2)}N[a>>2]=b;break h}N[a>>2]=b;if(h){break a}}N[a+4>>2]=g;e=N[a+8>>2]}h=e+1|0;N[a+8>>2]=h;N[N[a>>2]+(e<<2)>>2]=c>>>0>=i>>>0?441572:c;f=O[i|0];l:{m:{if(k){b=i;if(!(f&255)){f=0;break e}while(1){n:{if(!(O[((f&248)>>>3|0)+j|0]>>>(f&7)&1)){e=f;c=b;break n}e=0;L[b|0]=0;f=O[b+1|0];c=b+1|0;b=c;if(f){continue}}break}f=0;if(c>>>0<=i>>>0){break l}break m}if(!(f&255)){f=0;break e}L[i|0]=0;c=i+1|0;e=O[i+1|0]}f=!(e&255)}if(e&255?c>>>0>>0:0){continue}break}g=N[a+4>>2];h=N[a+8>>2]}b=f+h|0;o:{if(b>>>0>>0){break o}N[j+44>>2]=0;if(b+1>>>0<=g>>>0){break o}h=64;if((g|0)==536870911){break a}b=((g>>>1|0)+g|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;m=a,n=lb(N[a+12>>2],4,g,b,N[a>>2],j+44|0),N[m>>2]=n;h=N[j+44>>2];if(h){break a}N[a+4>>2]=b}p:{if(!f){e=N[a+8>>2];break p}b=N[a+8>>2];e=b+1|0;N[a+8>>2]=e;N[N[a>>2]+(b<<2)>>2]=441572}h=0;N[N[a>>2]+(e<<2)>>2]=0;break a}h=((f&248)>>>3|0)+j|0;L[h|0]=O[h|0]|1<<(f&7)}b=b+1|0;f=i;continue}}La=j+48|0;return h}function Qc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-16|0;La=h;e=N[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{d=O[e|0];switch(d-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){break a}m=(d|0)==45;d=O[e|0];switch(d-43|0){case 0:case 2:break a;default:break b}}d:{if((d|0)==46){d=e;break d}N[h+8>>2]=e;f=fd(h+8|0,b,10);e:{d=N[h+8>>2];if((e|0)!=(d|0)){if(O[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;N[h+8>>2]=i;f=fd(h+8|0,b,f);d=N[h+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((d|0)==(e|0)){f=0;break a}l=(f|0)>32767;i=l?f:f<<16}f:{if(!(O[d|0]!=46|b>>>0<=d>>>0)){g=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;g:{if(!i){while(1){h:{f=O[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break h}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}i:{if((g|0)>214748363|(e|0)>214748363){break i}e=L[f+294800|0]+T(e,10)|0;if((c|0)<=0){g=T(g,10);break i}c=c-1|0}d=d+1|0;if((d|0)!=(b|0)){continue}break g}}while(1){j:{f=O[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break j}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}k=L[f+294800|0]+T(e,10)|0;f=(g|0)<214748364&(e|0)<214748364;e=f?k:e;g=f?T(g,10):g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b;break f}e=0;g=1}k:{l:{m:{n:{k=d+1|0;if(!((O[d|0]|32)!=101|k>>>0>=b>>>0)){N[h+12>>2]=k;j=fd(h+12|0,b,10);o:{d=N[h+12>>2];if((k|0)!=(d|0)){if(O[d|0]!=35|b>>>0<=d>>>0){break o}f=d+1|0;N[h+12>>2]=f;j=fd(h+12|0,b,j);d=N[h+12>>2];if((f|0)!=(d|0)){break o}}f=0;break a}f=0;if((d|0)==(k|0)){break a}if((j|0)>1e3){break n}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}N[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(l){break k}if(j){break a}if((c|0)<=0){break m}while(1){if((i|0)>214748363){break k}p:{if((e|0)>=214748364){if((g|0)==1){break k}g=(g|0)/10|0;break p}e=T(e,10)}i=T(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break l}N[a>>2]=d;b=2147483647;if(e|i){break k}break a}if((c|0)>=0){break l}while(1){a=i;i=(i|0)/10|0;q:{if((g|0)<=214748363){g=T(g,10);break q}e=(e|0)/10|0}if(!(!e&a-10>>>0>=4294967277)){c=c+1|0;if(!c){break l}continue}break}break a}if(!e){b=i;break k}b=fb(e,g)+i|0}f=m?0-b|0:b}La=h+16|0;return f}function jp(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=(g?1032:0)+a|0;N[p>>2]=0;q=(g?1548:516)+a|0;N[q>>2]=0;m=g?a+1548|0:a+516|0;n=g?a+1032|0:a;if(b>>>0>=2){while(1){a=c+2|0;k=h&1;o=M[(k?c:a)>>1];j=M[(k?a:c)>>1]-o|0;h=(k?n:m)+4|0;g=k?l:i;a:{b:{if(!g){break b}a=(g<<5)+h|0;c:{while(1){r=N[h>>2];if((r|0)>(o|0)){break c}if((o|0)==(r|0)){a=N[h+4>>2];if((j|0)<0){if((a|0)<=(j|0)){break a}N[h+4>>2]=j;break a}if((a|0)>=(j|0)){break a}N[h+4>>2]=j;break a}h=h+32|0;g=g-1|0;if(g){continue}break}h=a;break b}F(h+32|0,h,g<<5)}N[h+4>>2]=j;N[h>>2]=o;if(k){l=l+1|0;break a}i=i+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}N[p>>2]=l;N[q>>2]=i;if(d>>>0>=2){a=m+4|0;while(1){j=M[e+2>>1];c=M[e>>1]-j|0;h=a;d:{e:{if(!i){break e}b=a+(i<<5)|0;g=i;f:{while(1){k=N[h>>2];if((k|0)>(j|0)){break f}if((j|0)==(k|0)){b=N[h+4>>2];if((c|0)<0){if((b|0)<=(c|0)){break d}N[h+4>>2]=c;break d}if((b|0)>=(c|0)){break d}N[h+4>>2]=c;break d}h=h+32|0;g=g-1|0;if(g){continue}break}h=b;break e}F(h+32|0,h,g<<5)}N[h+4>>2]=c;N[h>>2]=j;i=i+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}N[p>>2]=l;N[q>>2]=i;g:{if(!l){break g}h=n+4|0;a=l;while(1){h:{i:{switch(a|0){case 1:b=N[h+4>>2];g=N[h>>2];break h;case 0:break g;default:break i}}g=N[h>>2];b=N[h+32>>2]-g|0;c=N[h+4>>2];if((b|0)>=(c|0)){b=c;break h}N[h+4>>2]=b}N[h+12>>2]=g;N[h+8>>2]=b+g;h=h+32|0;a=a-1|0;continue}}j:{if(!i){break j}h=m+4|0;a=i;while(1){k:{l:{switch(a|0){case 1:b=N[h+4>>2];g=N[h>>2];break k;case 0:break j;default:break l}}g=N[h>>2];b=g-N[h+32>>2]|0;c=N[h+4>>2];if((b|0)<=(c|0)){b=c;break k}N[h+4>>2]=b}N[h+8>>2]=g;N[h+12>>2]=b+g;h=h+32|0;a=a-1|0;continue}}if(l){N[n+16>>2]=N[n+16>>2]-f;h=n+4|0;a=N[n+12>>2];g=l-1|0;m:{if(!g){b=h;break m}while(1){b=N[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);N[h+8>>2]=a?d:e;N[h+44>>2]=a?d:b-f|0;a=N[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}N[b+8>>2]=a+f}if(i){N[m+16>>2]=N[m+16>>2]-f;h=m+4|0;a=N[m+12>>2];g=i-1|0;n:{if(!g){b=h;break n}while(1){b=N[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);N[h+8>>2]=a?d:e;N[h+44>>2]=a?d:b-f|0;a=N[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}N[b+8>>2]=a+f}}function fx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=N[a+492>>2];g=N[b+16>>2];Qa[N[b+28>>2]](b);a:{b:{c:{f=N[b>>2];d:{if(!(f>>>0>=Q[b+8>>2]|O[f|0]!=91)){Qa[N[b+32>>2]](b);Qa[N[b+28>>2]](b);a=N[b>>2];if(a>>>0>2]&O[a|0]==93){break d}break a}c=Qa[N[b+36>>2]](b)|0;if((c|0)<0){break a}d=N[b+8>>2];f=N[b>>2];e:{if(d>>>0>>0){break e}d=d-f>>3;if((d|0)>=(c|0)){break e}if(!N[b+368>>2]){f=b+368|0;f:{c=Qa[N[g+4>>2]](g,24)|0;if(c){L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[b+368>>2]=c;N[c+16>>2]=150;N[c+12>>2]=151;N[c+8>>2]=0;N[c>>2]=80;N[c+4>>2]=241;f=Qa[N[g+4>>2]](g,964)|0;if(f){break f}f=c+20|0}N[f>>2]=0;break b}C(f,0,964);N[c+20>>2]=f}c=d}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break d}j=b+316|0;Qa[N[b+28>>2]](b);if(!N[b+312>>2]){d=Qa[N[N[k>>2]>>2]](j,c,g)|0;if(d){break c}}d=N[b>>2];g:{if(Q[b+8>>2]<=d+4>>>0){break g}f=0;while(1){if(bb(d,12289,3)){break g}Qa[N[b+32>>2]](b);d=Qa[N[b+36>>2]](b)|0;l=N[N[a+128>>2]+52>>2];i=N[b+8>>2];Qa[N[b+28>>2]](b);h:{e=N[b>>2];i:{if(e>>>0>=i>>>0|O[e|0]-48>>>0>9){break i}h=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((h|0)<0){break i}m=i;e=N[b>>2];i=e+1|0;if((h|0)<(m-i|0)){break h}}if(l){break d}break a}N[b>>2]=(e+h|0)+1;if(N[b+12>>2]){break d}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break d}Qa[N[b+28>>2]](b);e=N[b>>2];j:{if(Q[b+8>>2]<=e+4>>>0){break j}if(bb(e,8702,3)){break j}Qa[N[b+32>>2]](b);Qa[N[b+28>>2]](b)}e=N[b+368>>2];if(e){gg(d,f,e,g);d=f}if(!N[b+312>>2]){e=N[a+172>>2];k:{if((e|0)>=0){if(e>>>0>h>>>0){d=3;break c}l:{if((h|0)<=0){e=0;break l}e=Qa[N[g+4>>2]](g,h)|0;if(!e){break b}}F(e,i,h);Qa[N[k+16>>2]](e,h,4330);i=d;d=N[a+172>>2];d=Qa[N[b+360>>2]](j,i,d+e|0,h-d|0)|0;if(!e){break k}Qa[N[g+8>>2]](g,e);break k}d=Qa[N[b+360>>2]](j,d,i,h)|0}if(d){break c}}f=f+1|0;d=N[b>>2];if(Q[b+8>>2]>d+4>>>0){continue}break}}if(N[b+312>>2]){break d}N[b+312>>2]=c}return}N[b+12>>2]=d;return}N[b+12>>2]=64;return}N[b+12>>2]=3}function aq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=N[a>>2];if(!d){i=a-28|0;while(1){c=N[i>>2];if(!c){return 275552}d=db(1,32);if(!d){N[a>>2]=275552;return 275552}N[d+8>>2]=0;N[d+12>>2]=0;N[d>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;if(N[c+32>>2]==-1){b=sb(c+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}b=N[c+12>>2];a:{if(b){b=Qa[b|0](c,1886352244,N[c+16>>2])|0;if(b){break a}}b=275552}b:{c:{d:{c=N[b>>2];if(c){if((c|0)<=0){break d}N[b>>2]=c+1}f=N[b+16>>2];if((f|0)<0){break c}e=N[b+12>>2];if(f>>>0>67108863){c=1073741789}else{c=f<<6;c=c>>>0<=16384?16384:c;c=(c>>>0>=1073741823?1073741823:c)-34|0}e:{if(!e){ab(b);break e}f:{if(f>>>0>=32){g:{h:{g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if((h|0)==65536){break h}i:{if((f&-2)==32|(h|0)!=131072){break i}e=O[e+32|0]|O[e+33|0]<<8;if(!e){break h}if((f|0)<34){break i}e=((e<<8|e>>>8)&65535)<<1;if(e>>>0>f-34>>>0){break i}if((c|0)>(e|0)){break h}}ab(b);if((g|0)==768){break g}break f}ab(b)}if(!N[b+4>>2]){break e}N[b+4>>2]=0;break e}ab(b)}ab(b);b=275552}N[d>>2]=b;f=N[b+16>>2];c=f>>>0<32?275552:N[b+12>>2];b=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[d+4>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);j:{if((b|0)!=512){break j}b=c+32|0;N[d+8>>2]=b;e=O[c+32|0]|O[c+33|0]<<8;b=(b+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;N[d+24>>2]=b;e=N[d+16>>2];if(e>>>0>65534){break j}h=c+f|0;if(h>>>0<=b>>>0){break j}while(1){if(h>>>0<=O[b|0]+b>>>0){break j}k:{l:{m:{c=N[d+12>>2];if((c|0)>=0){f=e+1|0;j=N[d+24>>2];if(c>>>0>e>>>0){g=N[d+20>>2];break l}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){g=$a(N[d+20>>2],c<<2);if(g){break m}}N[d+12>>2]=-1}N[147456]=0;break k}N[d+12>>2]=c;N[d+20>>2]=g;e=N[d+16>>2];f=e+1|0}N[d+16>>2]=f;N[(e<<2)+g>>2]=b-j}e=N[d+16>>2];if(e>>>0>65534){break j}b=(O[b|0]+b|0)+1|0;if(h>>>0>b>>>0){continue}break}}break b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a>>2]){N[a>>2]=d;return d}_a(N[d+28>>2]);ab(N[d>>2]);N[d>>2]=0;if(N[d+16>>2]){N[d+16>>2]=0}_a(N[d+20>>2]);_a(d);d=N[a>>2];if(!d){continue}break}}return d}function il(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=O[a|0]|O[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}if(b>>>0>=c>>>0){break a}if((b|0)<0){return 275552}return((b<<2)+a|0)+2|0}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;g:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break g}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=0;if((O[a|0]|O[a+1|0]<<8)!=65535){break g}c=(O[a+2|0]|O[a+3|0]<<8)==65535?-1:0}a=0;c=c+e|0;h:{if((c|0)<=0){break h}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a+2|0]|O[a+3|0]<<8;i:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=b>>>0){break h}e=h+1|0;break i}c=h-1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+4|0:0}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;d=O[a+4|0]|O[a+5|0]<<8;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=((b<<2)+a|0)+6|0;break a}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;j:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break j}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=(O[a|0]|O[a+1|0]<<8)==65535?-1:0}a=0;c=c+e|0;k:{if((c|0)<=0){break k}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;l:{if(g>>>0>b>>>0){c=h-1|0;break l}if((b|0)==(g|0)){break k}e=h+1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+2|0:0}c=O[a+4|0]|O[a+5|0]<<8;f=(c<<8|c>>>8)&65535;h=a+12|0;m:{if(!c){c=O[a+2|0]|O[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break m}d=O[a+2|0]|O[a+3|0]<<8;g=(d<<8|d>>>8)&65535;d=h+T(g,f-1|0)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break m}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}c=c+f|0;if((c|0)<=0){break a}c=c-1|0;while(1){f=c+e>>>1|0;d=h+T(f,g)|0;i=O[d+2|0]|O[d+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){e=O[d|0]|O[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break n}b=b-i|0;if((b|0)<0){return 275552}c=a;a=O[d+4|0]|O[d+5|0]<<8;return(c+((a<<8|a>>>8)&65535)|0)+(b<<2)|0}c=f-1|0}if((c|0)>=(e|0)){continue}break}return 0}return e}function cc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=O[a|0]|O[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}if(b>>>0>=c>>>0){break a}if((b|0)<0){return 275552}return((b<<1)+a|0)+2|0}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;g:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break g}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=0;if((O[a|0]|O[a+1|0]<<8)!=65535){break g}c=(O[a+2|0]|O[a+3|0]<<8)==65535?-1:0}a=0;c=c+e|0;h:{if((c|0)<=0){break h}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a+2|0]|O[a+3|0]<<8;i:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=b>>>0){break h}e=h+1|0;break i}c=h-1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+4|0:0}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;d=O[a+4|0]|O[a+5|0]<<8;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=((b<<1)+a|0)+6|0;break a}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;j:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break j}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=(O[a|0]|O[a+1|0]<<8)==65535?-1:0}a=0;c=c+e|0;k:{if((c|0)<=0){break k}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;l:{if(g>>>0>b>>>0){c=h-1|0;break l}if((b|0)==(g|0)){break k}e=h+1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+2|0:0}c=O[a+4|0]|O[a+5|0]<<8;f=(c<<8|c>>>8)&65535;h=a+12|0;m:{if(!c){c=O[a+2|0]|O[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break m}d=O[a+2|0]|O[a+3|0]<<8;g=(d<<8|d>>>8)&65535;d=h+T(g,f-1|0)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break m}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}c=c+f|0;if((c|0)<=0){break a}c=c-1|0;while(1){f=c+e>>>1|0;d=h+T(f,g)|0;i=O[d+2|0]|O[d+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){e=O[d|0]|O[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break n}b=b-i|0;if((b|0)<0){return 275552}c=a;a=O[d+4|0]|O[d+5|0]<<8;return(c+((a<<8|a>>>8)&65535)|0)+(b<<1)|0}c=f-1|0}if((c|0)>=(e|0)){continue}break}return 0}return e}function mC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=La-48|0;La=e;a:{b:{c:{if(!cb(b,8894)){f=6;if(d){break a}d=N[c>>2];b=0;c=286856;while(1){if(!((d|0)!=N[c+8>>2]|N[c+16>>2]!=10)){c=b;break c}c=b+1|0;g=N[(c<<2)+288960>>2];if((d|0)==N[g+8>>2]&N[g+16>>2]==10){break c}c=b+2|0;g=N[(c<<2)+288960>>2];if((d|0)==N[g+8>>2]&N[g+16>>2]==10){break c}b=b+3|0;c=N[(b<<2)+288960>>2];if((b|0)!=87){continue}break}break a}if(!cb(b,8879)){f=6;if(d){break a}N[a+16>>2]=N[c>>2];break b}if(!cb(b,9447)){f=6;if(d){break a}b=N[c>>2];if(!b){f=35;break a}d=N[b+116>>2];N[e+16>>2]=d;if(!d){f=Dg(b,e+16|0,a);if(f){break a}d=N[e+16>>2];N[b+116>>2]=d;N[b+120>>2]=311}N[d+20>>2]=N[c+4>>2];break b}d:{if(!cb(b,10437)){e:{if(!d){b=N[c>>2];break e}b=Kb(c,e+12|0);d=N[e+12>>2];if(O[d|0]!=44|(c|0)==(d|0)){break d}d=d+1|0;l=e,m=Kb(d,e+12|0),N[l+20>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+24>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+28>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+32>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+36>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+40>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}c=c+1|0;l=e,m=Kb(c,e+12|0),N[l+44>>2]=m;d=N[e+12>>2];if((O[d|0]|32)!=32|(c|0)==(d|0)){break d}c=e+16|0}f=6;if((b|0)<0){break a}d=N[c+8>>2];if((d|0)<0){break a}g=N[c+16>>2];if((g|0)<0){break a}h=N[c+24>>2];if((h|0)<0){break a}i=N[c+4>>2];if((i|0)<0){break a}j=N[c+12>>2];if((j|0)<0){break a}k=N[c+20>>2];if((k|0)<0){break a}c=N[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}N[a+24>>2]=b;N[a+52>>2]=c;N[a+48>>2]=h;N[a+44>>2]=k;N[a+40>>2]=g;N[a+36>>2]=j;N[a+32>>2]=d;N[a+28>>2]=i;break b}f=12;if(cb(b,14683)){break a}if(d){f=0;if(!Kb(c,0)){L[a+20|0]=0;break a}L[a+20|0]=1;break a}L[a+20|0]=O[c|0];break b}f=6;break a}N[a+12>>2]=c}f=0}La=e+48|0;return f|0}function Tu(a,b){a=a|0;b=b|0;var 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;n=La-16|0;La=n;h=N[b+16>>2];l=N[b+8>>2];Qa[N[b+28>>2]](b);i=3;c=N[b>>2];a:{b:{c:{if(c>>>0>=l>>>0){break c}N[b>>2]=c+1;if(O[c|0]!=91){break c}Qa[N[b+28>>2]](b);c=N[b>>2];if(l>>>0<=c>>>0){break c}while(1){d:{e:{f:{g:{h:{d=O[c|0];if((d|0)!=60){if((d|0)!=93){break h}N[b>>2]=c+1;break b}if(!(j|!g)){j=0;break c}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break b}f=N[b>>2];d=(f+(c^-1)|0)/2|0;if(f-c>>>0<3){break c}if((d|o)<0){i=6;break c}if(!o){g=Qa[N[h+4>>2]](h,d)|0;if(g){break g}g=0;i=64;break c}f=Qa[N[h+12>>2]](h,o,d,g)|0;g=f?f:g;if(f){break g}i=64;break c}if(d-48>>>0>9){d=o;break f}if(j){j=1;break c}j=0;f=Qa[N[b+36>>2]](b)|0;if((f|0)<0){break c}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}c=N[b>>2];g=c+1|0;if(l-c>>>0<=f>>>0){break c}N[b>>2]=(c+f|0)+1;break e}N[b>>2]=c;j=1;Qa[N[b+44>>2]](b,g,d,n+12|0,1)|0;f=N[n+12>>2]}if(!g){break d}o=d}i:{j:{if(!(f&1)){c=f;break j}c=f-1|0;if(O[g+c|0]){break i}}f=c;if(c){break i}break c}r=l-N[b>>2]|0;p=0;while(1){k:{l:{m:{n:{o:{switch(e|0){case 2:break m;case 1:break n;case 0:break o;default:break k}}e=0;if((m|0)<12){break l}c=N[a+496>>2];q=(O[c+4|0]<<4)+O[c+5|0]|0;d=q<<4|12;N[a+500>>2]=d;if((d|0)>(r|0)){break c}d=Qa[N[h+12>>2]](h,12,d,c)|0;N[a+496>>2]=d?d:c;if(d){break n}i=!d<<6;break c}e=1;c=N[a+500>>2];if((m|0)<(c|0)){break l}k=N[a+496>>2];if(q){s=k+12|0;d=0;while(1){e=(d<<4)+s|0;e=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>r>>>0|(r-e|0)<(c|0)){break c}c=(e+3&-4)+c|0;N[a+500>>2]=c;d=d+1|0;if((q|0)!=(d|0)){continue}break}}if((c|0)<-1){i=6;N[a+496>>2]=k;break c}p:{c=c+1|0;if(!c){e=0;if(!k){break p}Qa[N[h+8>>2]](h,k);break p}c=Qa[N[h+12>>2]](h,q<<4|12,c,k)|0;e=c?c:k;if(c){break p}i=64;N[a+496>>2]=e;break c}N[a+496>>2]=e}e=2;if(N[a+500>>2]>(m|0)){break l}break c}L[N[a+496>>2]+m|0]=O[g+p|0];m=m+1|0}p=p+1|0;if((p|0)!=(f|0)){continue}break}Qa[N[b+28>>2]](b);c=N[b>>2];if(l>>>0>c>>>0){continue}break c}break}g=0}N[b+12>>2]=i}if(!j|!g){break a}Qa[N[h+8>>2]](h,g)}La=n+16|0}function _D(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=N[b>>2];k=N[j+20>>2];a:{if(k){break a}while(1){i=N[j>>2];if(!i){k=275552;break a}h=db(1,28);if(!h){k=275552;N[j+20>>2]=275552;break a}k=hq(h,i);if(!N[j+20>>2]){N[j+20>>2]=k;break a}ab(N[k+20>>2]);N[k+20>>2]=0;ab(N[k+24>>2]);_a(k);k=N[j+20>>2];if(!k){continue}break}}i=275552;h=N[k+24>>2];h=h?h:275552;j=Q[h+16>>2]<20?275552:N[h+12>>2];h=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);if(h){i=j+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0}h=0;j=N[a+84>>2];b:{if(T(j,c)>>>0<128){break b}h=O[i+2|0]|O[i+3|0]<<8|(O[i+4|0]<<16|O[i+5|0]<<24);if(h){h=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+i|0}else{h=275552}o=O[h+2|0]|O[h+3|0]<<8;i=(o<<8|o>>>8)&65535;h=kb(i<<2);if(!o|!h){break b}i=i>>>0<=1?1:i;o=i&7;if(i>>>0>=8){i=i&65528;while(1){l=m<<2;N[l+h>>2]=1073741824;N[(l|4)+h>>2]=1073741824;N[(l|8)+h>>2]=1073741824;N[(l|12)+h>>2]=1073741824;N[(l|16)+h>>2]=1073741824;N[(l|20)+h>>2]=1073741824;N[(l|24)+h>>2]=1073741824;N[(l|28)+h>>2]=1073741824;m=m+8|0;if((i|0)!=(m|0)){continue}break}}if(!o){break b}while(1){N[(m<<2)+h>>2]=1073741824;m=m+1|0;n=n+1|0;if((o|0)!=(n|0)){continue}break}}c:{d:{e:{if(!j){break e}m=N[b+8>>2];if(m){i=N[b+4>>2];break d}m=kb(1024);if(!m){break e}C(m,255,1024);N[b+8>>2]=m;i=N[a+16>>2];N[b+4>>2]=i;break d}if(!c){break c}i=0;while(1){l=gq(k,N[d>>2],a,h)<<16;b=l>>31;b=UE(l>>16,b,N[a+56>>2],N[a+60>>2]);j=Pa;b=b+32768|0;N[f>>2]=((b>>>0<32768?j+1|0:j)&65535)<<16|b>>>16;f=f+g|0;d=d+e|0;i=i+1|0;if((i|0)!=(c|0)){continue}break}break c}n=i;i=N[a+16>>2];if((n|0)!=(i|0)){C(m,255,1024);N[b+4>>2]=i}if(!c){break c}n=0;while(1){j=N[d>>2];i=N[N[b+8>>2]+((j&255)<<2)>>2];f:{if(!((i|0)==-1|(i>>>16|0)!=(j>>>8|0))){i=i&65535;break f}i=gq(k,j,a,h);if(i>>>0>65535){break f}j=N[d>>2];if(j>>>0>16777215){break f}N[N[b+8>>2]+((j&255)<<2)>>2]=j<<8&-65536|i}l=i<<16;j=l>>31;i=UE(N[a+56>>2],N[a+60>>2],l>>16,j);j=Pa;i=i+32768|0;N[f>>2]=((i>>>0<32768?j+1|0:j)&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;n=n+1|0;if((n|0)!=(c|0)){continue}break}}_a(h)}function hp(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=La-128|0;La=j;a:{b:{c:{if(!Sd(f,g,h,i,0,0,0,0)){break c}l=i&65535;n=i>>>16&32767;d:{e:{if((n|0)!=32767){k=4;if(n){break e}k=f|h|(g|l)?3:2;break d}k=!(f|h|(g|l))}}s=e>>>16|0;o=s&32767;if((o|0)==32767){break c}if(k){break b}}Gb(j+16|0,b,c,d,e,f,g,h,i);b=N[j+16>>2];d=N[j+20>>2];e=N[j+24>>2];c=N[j+28>>2];rn(j,b,d,e,c,b,d,e,c);d=N[j+8>>2];e=N[j+12>>2];h=N[j>>2];i=N[j+4>>2];break a}k=d;p=e&2147483647;n=h;m=i&2147483647;if((Sd(b,c,k,p,f,g,h,m)|0)<=0){if(Sd(b,c,k,p,f,g,n,m)){h=b;i=c;break a}Gb(j+112|0,b,c,d,e,0,0,0,0);d=N[j+120>>2];e=N[j+124>>2];h=N[j+112>>2];i=N[j+116>>2];break a}q=i>>>16&32767;if(o){i=c;h=b}else{Gb(j+96|0,b,c,k,p,0,0,0,1081540608);k=N[j+104>>2];h=N[j+108>>2];p=h;o=(h>>>16|0)-120|0;i=N[j+100>>2];h=N[j+96>>2]}if(!q){Gb(j+80|0,f,g,n,m,0,0,0,1081540608);n=N[j+88>>2];f=N[j+92>>2];m=f;q=(f>>>16|0)-120|0;g=N[j+84>>2];f=N[j+80>>2]}r=n;t=m&65535|65536;p=p&65535|65536;if((o|0)>(q|0)){while(1){m=k-r|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-l|0;l=(p-((k>>>0>>0)+t|0)|0)-(l>>>0>m>>>0)|0;f:{if((l|0)>0|(l|0)>=0){k=h;h=h-f|0;i=i-((f>>>0>k>>>0)+g|0)|0;if(!(h|n|(i|l))){Gb(j+32|0,b,c,d,e,0,0,0,0);d=N[j+40>>2];e=N[j+44>>2];h=N[j+32>>2];i=N[j+36>>2];break a}l=l<<1|n>>>31;k=n<<1|i>>>31;break f}l=p<<1|k>>>31;k=k<<1|i>>>31}p=l;l=i<<1|h>>>31;h=h<<1;i=l;o=o-1|0;if((o|0)>(q|0)){continue}break}o=q}m=k-r|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-l|0;l=(p-((k>>>0>>0)+t|0)|0)-(l>>>0>m>>>0)|0;m=l;g:{if((l|0)<0){n=k;m=p;break g}k=h;h=h-f|0;i=i-((f>>>0>k>>>0)+g|0)|0;if(h|n|(i|m)){break g}Gb(j+48|0,b,c,d,e,0,0,0,0);d=N[j+56>>2];e=N[j+60>>2];h=N[j+48>>2];i=N[j+52>>2];break a}if((m|0)==65535|m>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;p=i<<1|h>>>31;h=h<<1;i=p;c=b;b=m<<1|n>>>31;n=c|n<<1;m=b;if(b>>>0<65536){continue}break}}b=s&32768;if((o|0)<=0){Gb(j- -64|0,h,i,n,m&65535|(b|o+120)<<16,0,0,0,1065811968);d=N[j+72>>2];e=N[j+76>>2];h=N[j+64>>2];i=N[j+68>>2];break a}d=n;e=m&65535|(b|o)<<16}N[a>>2]=h;N[a+4>>2]=i;N[a+8>>2]=d;N[a+12>>2]=e;La=j+128|0}function Vl(a){var 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;h=La-16|0;La=h;a:{b:{m=N[a+204>>2];c:{if(m>>>0<2){break c}k=N[a+172>>2];i=N[a+168>>2];o=N[a+20>>2];p=N[a+16>>2];j=a+8|0;q=N[j>>2];e=q;d:{e:{n=N[a+12>>2];f=n;if(f-18>>>0<=14){c=p;b=n;d=o;while(1){if(!d){break e}e=e>>>8|0;N[a+8>>2]=e;g=O[c|0];d=d-1|0;N[a+20>>2]=d;f=b-8|0;N[a+12>>2]=f;c=c+1|0;N[a+16>>2]=c;e=e|g<<24;N[a+8>>2]=e;g=b-26|0;b=f;if(g>>>0<15){continue}break}}c=e>>>f|0;d=i+((c&255)<<2)|0;b=O[d|0];if(b>>>0>=9){f=f+8|0;d=(P[d+2>>1]+(N[(b<<2)+169360>>2]&c>>>8&127)<<2)+d|0;b=O[d|0]}N[a+12>>2]=(b&255)+f;N[h+8>>2]=P[d+2>>1];break d}if(!Jc(i,j,h+8|0)){break c}}f:{g:{if(!N[a+556>>2]){h:{b=N[a+12>>2];i:{if(b-18>>>0>=15){e=N[j>>2];break i}d=N[a+20>>2];c=b;while(1){if(!d){break h}e=N[a+8>>2]>>>8|0;N[a+8>>2]=e;g=N[a+16>>2];f=O[g|0];d=d-1|0;N[a+20>>2]=d;b=c-8|0;N[a+12>>2]=b;N[a+16>>2]=g+1;e=e|f<<24;N[a+8>>2]=e;f=c-26|0;c=b;if(f>>>0<15){continue}break}}f=e>>>b|0;d=k+((f&255)<<2)|0;c=O[d|0];if(c>>>0>=9){d=(P[d+2>>1]+(N[(c<<2)+169360>>2]&f>>>8&127)<<2)+d|0;c=O[d|0];b=b+8|0}N[a+12>>2]=b+(c&255);f=P[d+2>>1];break g}if(!Jc(k,j,h+12|0)){break f}f=N[h+12>>2];break g}f=N[a+188>>2]}c=f<<2;k=P[c+169280>>1];l=O[c+169282|0];b=N[a+12>>2];if(l>>>0<=32-b>>>0){e=N[j>>2];break b}d=N[a+20>>2];c=b;while(1){if(d){i=N[a+8>>2]>>>8|0;N[a+8>>2]=i;e=N[a+16>>2];g=O[e|0];d=d-1|0;N[a+20>>2]=d;b=c-8|0;N[a+12>>2]=b;N[a+16>>2]=e+1;e=i|g<<24;N[a+8>>2]=e;g=40-c|0;c=b;if(g>>>0>>0){continue}break b}break}N[a+188>>2]=f}N[a+20>>2]=o;N[a+16>>2]=p;N[a+8>>2]=q;N[a+556>>2]=0;N[a+12>>2]=n}a=0;break a}N[a+556>>2]=0;N[a+12>>2]=b+l;N[a+192>>2]=k+(N[(l<<2)+169392>>2]&e>>>b);j:{k:{l:{m:{b=N[h+8>>2];switch(b|0){case 1:break k;case 0:break m;default:break l}}b=N[a+216>>2];break j}b=b-2|0;break j}b=N[a+220>>2]+1|0}N[a+216>>2]=N[a+220>>2];c=b-(b>>>0>=m>>>0?m:0)|0;N[a+220>>2]=c;b=N[a+576>>2]+(c<<6)|0;N[a+112>>2]=b;N[a+176>>2]=N[((c>>>3&536870908)+a|0)+592>>2]>>>c&1;N[a+256>>2]=N[N[a+120>>2]+(O[b|0]<<2)>>2];N[a+108>>2]=((O[c+N[a+580>>2]|0]&3)<<9)+169536;a=1}La=h+16|0;return a}function ph(a,b){var 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,t=0;n=N[b+4>>2];a:{if(n>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break a}g=N[b+12>>2];c=g-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8;l=(c<<8|c>>>8)&65535;if(l>>>0<4){break a}c=a+2|0;if(c>>>0>f>>>0|f-c>>>0<2){break a}c=g-10|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break a}e=g-14|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=c+2|0;if(e>>>0>f>>>0|f-e>>>0<2){break a}d=g-16|0;N[b+12>>2]=d;if((d|0)<=0){break a}g=O[e|0]|O[e+1|0]<<8;if(g){c=c+4|0;if(c>>>0>f>>>0){break a}e=f-c|0;c=(g<<8|g>>>8)&65535;if(e>>>0>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break a}}c=O[a+6|0]|O[a+7|0]<<8;o=((c<<8|c>>>8)&65535)+a|0;s=f-o|0;c=a;a=O[a+4|0]|O[a+5|0]<<8;q=(a<<8|a>>>8)&65535;j=c+q|0;t=f-j|0;a=0;g=0;while(1){b:{if(!(a&1)){c=g;break b}h=0;UE(k,0,l,0);if(Pa){break a}e=T(k,l);p=e+j|0;if(e){if(f>>>0

>>0|n>>>0>p>>>0|f-p>>>0<0-e>>>0){break a}d=d+e|0;N[b+12>>2]=d;if((d|0)<=0){break a}}d=(k-r|0)+d|0;N[b+12>>2]=d;if((d|0)<=0|(e|0)>0){break a}a=j;c=g;if((e|0)<0){while(1){a=a-1|0;e=O[a|0]+1|0;c=c>>>0>e>>>0?c:e;if(a>>>0>p>>>0){continue}break}}r=k}c:{d:{e:{if((i|0)<=(m|0)){h=0;if(j>>>0>>0|f>>>0>>0){break a}e=m+1|0;a=T(e,l);if(a>>>0>t>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=d+((m^-1)+i|0)|0;N[b+12>>2]=d;if((a|0)<0|(d|0)<=0){break a}i=T(i,l);if((i|0)<(a|0)){break e}i=e}if(c){break d}c=0;break c}h=a+j|0;a=i+j|0;while(1){i=O[a|0]+1|0;c=c>>>0>i>>>0?c:i;a=a+1|0;if(h>>>0>a>>>0){continue}break}i=e}h=0;if(f>>>0>>0|n>>>0>o>>>0){break a}a=c<<2;if(a>>>0>s>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}}d=(g-c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}if((c|0)>(g|0)){e=(c<<2)+o|0;h=(g<<2)+o|0;while(1){a=O[h|0]|O[h+1|0]<<8;a=(((a<<8|a>>>8)&65535)-q|0)/(l|0)|0;m=(a|0)<(m|0)?m:a;k=(a|0)>(k|0)?k:a;h=h+4|0;if(e>>>0>h>>>0){continue}break}}g=c;a=(k|0)<(r|0);if(a){continue}h=1;if((i|0)<=(m|0)){continue}break}}return h}function xp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=N[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){e=N[a+20>>2];if(e){break d}N[a+16>>2]=12;e=a+820|0;N[a+20>>2]=e;break d}j=N[a+16>>2];if((j|0)>(g|0)){e=N[a+20>>2];h=e+T(g,44)|0;break c}g=64;if((j|0)>48806445){break a}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if((j|0)<-16){break p}i=((j>>2)+j|0)+4|0;if((i|0)>48806446){break p}l=a+20|0;k=N[a+20>>2];if((k|0)==(a+820|0)){break o}if((i|j)>=0){break n}g=k;break l}l=a+20|0;g=N[a+20>>2];k=a+820|0;if((g|0)!=(k|0)){break m}i=48806446;break i}if((i|0)<0){N[a+20>>2]=0;N[f>>2]=0;return 6}if(i){break i}i=0;break h}if(i){g=k;break j}if(!k){break k}Qa[N[e+8>>2]](e,k);break k}i=48806446;if((j|0)>=0){break j}}N[l>>2]=g;N[f>>2]=0;return 6}i=0;N[a+20>>2]=0;break e}q:{if(!j){e=Qa[N[e+4>>2]](e,T(i,44))|0;g=!e<<6;break q}k=Qa[N[e+12>>2]](e,T(j,44),T(i,44),g)|0;e=k?k:g;g=!k<<6}if(!(g|(i|0)<=(j|0)|!e)){C(T(j,44)+e|0,0,T(i-j|0,44));N[l>>2]=e;break e}N[l>>2]=e;if(g){break a}break e}g=T(i,44);h=Qa[N[e+4>>2]](e,g)|0;if(!h|(i|0)<=0){break g}C(h,0,g)}N[l>>2]=h;break f}N[l>>2]=h;if(h){break f}N[f>>2]=0;return!h<<6}F(h,k,528)}N[a+16>>2]=i;e=N[a+20>>2];g=N[a+12>>2]}h=T(g,44)+e|0;if((g|0)<=0){break b}}if(!d){g=h;while(1){h=g-44|0;d=M[h>>1];if((d|0)<(b|0)){h=g;break b}if(!((b|0)!=(d|0)|N[a+24>>2]!=(c|0))){h=g;break b}d=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=d;N[g+40>>2]=N[h+40>>2];d=N[h+36>>2];N[g+32>>2]=N[h+32>>2];N[g+36>>2]=d;d=N[h+28>>2];N[g+24>>2]=N[h+24>>2];N[g+28>>2]=d;d=N[h+20>>2];N[g+16>>2]=N[h+16>>2];N[g+20>>2]=d;d=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}break b}g=h;while(1){h=g-44|0;d=M[h>>1];if((d|0)>(b|0)){h=g;break b}if(!((b|0)!=(d|0)|N[a+24>>2]!=(c|0))){h=g;break b}d=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=d;N[g+40>>2]=N[h+40>>2];d=N[h+36>>2];N[g+32>>2]=N[h+32>>2];N[g+36>>2]=d;d=N[h+28>>2];N[g+24>>2]=N[h+24>>2];N[g+28>>2]=d;d=N[h+20>>2];N[g+16>>2]=N[h+16>>2];N[g+20>>2]=d;d=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}}N[a+12>>2]=N[a+12>>2]+1;g=0}N[f>>2]=h;return g}function Yh(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=La-48|0;La=d;a:{b:{if(!a){break b}if(!b){e=6;break a}if(M[a>>1]<=0){break a}i=N[b+20>>2];j=N[b+16>>2];while(1){n=M[N[a+12>>2]+(q<<1)>>1];if((n|0)<0){break b}h=N[a+4>>2];f=h+(g<<3)|0;k=N[f>>2];e=N[f+4>>2];N[d+32>>2]=(k<>2]=m;l=h+(n<<3)|0;k=N[l>>2];o=N[l+4>>2];p=N[d+36>>2];e=N[d+32>>2];N[d+40>>2]=e;N[d+44>>2]=p;c:{d:{p=N[a+8>>2];h=p+g|0;switch(O[h|0]&3){case 2:break b;case 0:break d;default:break c}}g=(o<>2]=g;N[d+32>>2]=k;h=h-1|0;f=f-8|0}e=Qa[N[b>>2]](d+32|0,c)|0;if(e){break a}f:{if(f>>>0>>0){while(1){k=h+1|0;g=f+8|0;g:{h:{i:{switch(O[h+1|0]&3){case 1:N[d+24>>2]=(N[f+8>>2]<>2]=(N[f+12>>2]<>2]](d+24|0,c)|0;if(e){break a}break g;case 0:h=(N[f+8>>2]<>2]=h;f=(N[f+12>>2]<>2]=f;if(g>>>0>>0){while(1){e=O[k+1|0];m=(N[g+8>>2]<>2]=m;o=(N[g+12>>2]<>2]=o;k=k+1|0;g=g+8|0;j:{e=e&3;k:{if(e){if((e|0)!=1){g=7;e=0;break h}e=Qa[N[b+8>>2]](d+40|0,d+24|0,c)|0;if(e){break k}f=g;h=k;break g}N[d+20>>2]=(f+o|0)/2;N[d+16>>2]=(h+m|0)/2;e=Qa[N[b+8>>2]](d+40|0,d+16|0,c)|0;if(!e){break j}}g=10;break h}f=N[d+28>>2];h=N[d+24>>2];N[d+40>>2]=h;N[d+44>>2]=f;if(g>>>0>>0){continue}break}}e=Qa[N[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;e=0;if((O[h+2|0]&3)!=2|f+16>>>0>l>>>0){break h}N[d+24>>2]=(N[f+8>>2]<>2]=(N[f+12>>2]<>2]=(N[f+16>>2]<>2]=(N[f+20>>2]<>>0<=l>>>0){N[d+8>>2]=(N[f+24>>2]<>2]=(N[f+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(e){g=10;break h}h=h+3|0;f=g;break g}e=Qa[N[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(f>>>0>>0){continue}break}}e=Qa[N[b+4>>2]](d+32|0,c)|0}if(e){break a}g=n+1|0;e=0;q=q+1|0;if((q|0)>1]){continue}break}break a}e=20}La=d+48|0;return e|0}function gC(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0;f=La-16|0;La=f;a:{if(N[a+4>>2]){break a}d=6;b:{if(N[a+12>>2]!=1){break b}m=(b|0)!=0;b=(T(m,36)+a|0)+16|0;e=N[c>>2];d=((e>>31)+e|0)+32768>>16;e=N[c+4>>2];j=N[a>>2];d=of(b,d,((e>>31)+e|0)+32768>>16,j,f);if(d){break b}e=N[c+8>>2];d=((e>>31)+e|0)+32768>>16;e=N[c+12>>2];d=of(b,d,((e>>31)+e|0)+32768>>16,j,f+4|0);if(d){break b}e=b;b=N[c+16>>2];d=((b>>31)+b|0)+32768>>16;b=N[c+20>>2];d=of(e,d,((b>>31)+b|0)+32768>>16,j,f+8|0);if(d){break b}g=N[f+8>>2];h=N[f+4>>2];i=N[f>>2];k=T(m,36)+a|0;e=N[k+40>>2];c:{if(e){l=g>>3;n=h>>3;o=i>>3;p=128>>>(g&7)|0;q=128>>>(h&7)|0;r=128>>>(i&7)|0;c=N[k+48>>2];b=e;while(1){d=N[c>>2];if((O[N[c+8>>2]+o|0]&r?i>>>0>>0:0)|(O[N[c+8>>2]+n|0]&q?d>>>0>h>>>0:0)|(O[l+N[c+8>>2]|0]&p?d>>>0>g>>>0:0)){break c}c=c+16|0;b=b-1|0;if(b){continue}break}}l=e+1|0;b=N[k+44>>2];d:{if(l>>>0<=b>>>0){b=N[(T(m,36)+a|0)+48>>2];break d}N[f+12>>2]=0;c=(e&-8)+8|0;d=T(m,36)+a|0;b=lb(j,16,b,c,N[d+48>>2],f+12|0);N[d+48>>2]=b;d=N[f+12>>2];if(d){break b}N[k+44>>2]=c}d=0;c=((l<<4)+b|0)-16|0;N[c>>2]=0;N[((e<<4)+b|0)+12>>2]=0;N[k+40>>2]=l}if((i|0)>=0){if(d>>>0<=i>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=i+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=i+1}b=N[c+8>>2]+(i>>>3|0)|0;L[b|0]=O[b|0]|128>>>(i&7)}e:{if((h|0)>=0){if(Q[c>>2]<=h>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=h+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=h+1}b=N[c+8>>2]+(h>>>3|0)|0;L[b|0]=O[b|0]|128>>>(h&7);if((g|0)>=0){break e}break a}if((g|0)<0){break a}}if(Q[c>>2]<=g>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=g+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=g+1}a=N[c+8>>2]+(g>>>3|0)|0;L[a|0]=O[a|0]|128>>>(g&7);break a}N[a+4>>2]=d}La=f+16|0}function _f(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=La-16|0;La=h;f=N[a+100>>2];N[h+12>>2]=0;a:{b:{c:{d:{e=N[a+532>>2];if(!e){e=Qa[N[f+4>>2]](f,420)|0;if(!e){break d}C(e,0,420);N[h+12>>2]=0;N[e+416>>2]=0;N[a+532>>2]=e}e:{f:{if(!b){break f}d=N[e>>2];if(!d){if((b|0)<0){d=6;break b}d=10;if((b|0)>67108863){break b}i=b<<5;d=Qa[N[f+4>>2]](f,i)|0;g:{if(!(!d|(b|0)<=0)){C(d,0,i);i=e+148|0;N[i>>2]=d;break g}j=!d;N[h+12>>2]=j<<6;i=e+148|0;N[i>>2]=d;if(j){break a}}if((b|0)>=10956550){N[h+12>>2]=10;N[e+216>>2]=0;break a}j=T(b,196);d=Qa[N[f+4>>2]](f,j)|0;h:{if(!(!d|(b|0)<=0)){C(d,0,j);j=e+216|0;N[j>>2]=d;break h}g=!d;N[h+12>>2]=g<<6;j=e+216|0;N[j>>2]=d;if(g){break a}}g=b<<4;d=Qa[N[f+4>>2]](f,g)|0;i:{if(!(!d|(b|0)<=0)){C(d,0,g);N[h+12>>2]=0;g=e+288|0;N[g>>2]=d;break i}k=!d;N[h+12>>2]=k<<6;g=e+288|0;N[g>>2]=d;if(k){break a}}d=lb(f,4,0,b<<1,0,h+12|0);N[e+136>>2]=d;if(N[h+12>>2]){break a}N[e+284>>2]=a+464;N[e+212>>2]=a+168;N[e+144>>2]=a+132;N[e+140>>2]=d+(b<<2);if(b>>>0>=2){g=N[g>>2];j=N[j>>2];i=N[i>>2];a=2;while(1){d=(a<<2)+e|0;g=g+16|0;N[d+284>>2]=g;j=j+196|0;N[d+212>>2]=j;i=i+32|0;N[d+144>>2]=i;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}N[e>>2]=b;break f}if((b|0)!=(d|0)){break e}}a=N[e+4>>2];j:{if(!c){c=a;break j}if((a|0)!=(c|0)?a:0){break e}N[e+4>>2]=c}d=N[e>>2];if(N[e+24>>2]|(!d|!c)){break a}b=0;a=T(c,d);if((a|0)<0){b=6;break c}k:{if(!a){f=0;break k}b=10;if((a|0)>536870911){break c}i=a<<2;b=Qa[N[f+4>>2]](f,i)|0;f=!b<<6;if(!b|(a|0)<=0){break k}f=0;C(b,0,i)}N[h+12>>2]=f;N[e+24>>2]=b;if(d>>>0<2|f){break a}f=d-1|0;i=f&3;a=1;if(d-2>>>0>=3){j=f&-4;d=0;f=e+24|0;while(1){N[f+(a<<2)>>2]=(T(a,c)<<2)+b;g=a+1|0;N[f+(g<<2)>>2]=(T(c,g)<<2)+b;g=a+2|0;N[f+(g<<2)>>2]=(T(c,g)<<2)+b;g=a+3|0;N[f+(g<<2)>>2]=(T(c,g)<<2)+b;a=a+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}if(!i){break a}f=0;while(1){N[((a<<2)+e|0)+24>>2]=(T(a,c)<<2)+b;a=a+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}break a}N[h+12>>2]=3;break a}N[h+12>>2]=64;break a}N[h+12>>2]=b;N[e+24>>2]=0;break a}N[h+12>>2]=d;N[e+148>>2]=0}La=h+16|0;return N[h+12>>2]}function vm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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;m=N[a+4>>2];j=N[m+8>>2];e=3;a:{b:{if(d?0:c){break b}L[a|0]=0;if(Q[m+3112>>2]<=b>>>0|(P[m+3120>>1]!=(c|0)?c:0)){break b}i=N[a+20>>2];g=N[m+3116>>2];o=N[g+(b<<3)>>2];f=o+1|0;if((i|f)<0){return 6}h=N[a+24>>2];c:{d:{if(!f){if(h){Qa[N[j+8>>2]](j,h)}N[a+20>>2]=f;N[a+24>>2]=0;break d}e=10;if((f|0)>536870911){break b}e:{if(!i){h=Qa[N[j+4>>2]](j,f<<2)|0;e=!h<<6;break e}e=Qa[N[j+12>>2]](j,i<<2,f<<2,h)|0;h=e?e:h;e=!e<<6}f:{if(h?e|(f|0)<=(i|0):1){N[a+24>>2]=h;if(e){break b}N[a+20>>2]=f;break f}C((i<<2)+h|0,0,f-i<<2);N[a+20>>2]=f;N[a+24>>2]=h}r=g+(b<<3)|0;if(c){i=0;while(1){g:{if(!i){N[h>>2]=65536;break g}q=i<<2;e=N[(q+N[r+4>>2]|0)-4>>2];if(e>>>0>=Q[m+3124>>2]){return 3}f=N[m+3128>>2];N[h+q>>2]=65536;s=N[f+(e<<2)>>2];n=0;while(1){e=65536;g=T(n,12)+s|0;f=N[g+4>>2];k=N[g>>2];h:{if((f|0)<(k|0)){break h}l=N[g+8>>2];if(!f|(l|0)<(f|0)|(k|0)<0&(l|0)>0){break h}e=0;g=N[(n<<2)+d>>2];if((g|0)<(k|0)|(g|0)>(l|0)){break h}e=65536;if((f|0)==(g|0)){break h}if((f|0)>(g|0)){e=fb(g-k|0,f-k|0);break h}e=fb(l-g|0,l-f|0)}l=h+q|0;k=N[l>>2];g=k>>31;g=(g^k)-g|0;f=e>>31;f=(f^e)-f|0;i:{if(g+(f>>>8|0)>>>0<=8190){g=T(f,g)+32768>>>16|0;break i}p=g&65535;g=T(p,f>>>16|0)+T(f,g>>>16|0)+(T(f&65535,p)+32768>>>16)|0}f=g;p=0-f|0;f=k>>31|1;N[l>>2]=(((e|0)<0?0-f|0:f)|0)<0?p:g;n=n+1|0;if((n|0)!=(c|0)){continue}break}}e=(i|0)!=(o|0);i=i+1|0;if(e){continue}break}break d}N[h>>2]=65536;if(!o){N[a+8>>2]=b;break c}f=N[r+4>>2];e=1;while(1){i=e<<2;if(Q[(i+f|0)-4>>2]>=Q[m+3124>>2]){return 3}N[h+i>>2]=0;i=(e|0)==(o|0);e=e+1|0;if(!i){continue}break}}N[a+8>>2]=b;if(!c){break c}e=N[a+16>>2];h=N[a+12>>2];if((h|c)<0){b=6;break a}b=10;if((c|0)>536870911){break a}j:{if(!h){b=Qa[N[j+4>>2]](j,c<<2)|0;e=!b<<6;break j}j=Qa[N[j+12>>2]](j,h<<2,c<<2,e)|0;b=j?j:e;e=!j<<6}k:{if(!(e|(c|0)<=(h|0)|!b)){C((h<<2)+b|0,0,c-h<<2);N[a+16>>2]=b;break k}N[a+16>>2]=b;if(e){break b}}F(b,d,c<<2)}L[a|0]=1;N[a+12>>2]=c;e=0}return e|0}N[a+16>>2]=e;return b|0}function Ob(a,b){var 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;a:{b:{c:{d:{e:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;h=(c<<8|c>>>8)&65535;a=a+4|0;c=!c|!O[b+12|0];if(!O[b+48|0]){break c}if(c){return 1}N[b+16>>2]=-1;o=N[b+28>>2];m=o-1|0;p=N[b+44>>2];f=N[b+20>>2];l=N[b+32>>2];q=(o|0)<=0;c=O[a|0]|O[a+1|0]<<8;c=(c<<8|c>>>8)&65535;d=c;while(1){f:{i=d>>>9|0;g:{if(!((i|0)!=N[(f<<3)+l>>2]|f>>>0>=o>>>0)){e=f;break g}j=0;g=m;h:{if(!q){while(1){e=g+j>>>1|0;n=N[(e<<3)+l>>2];i:{if((n|0)>(i|0)){g=e-1|0;break i}if((i|0)==(n|0)){break h}j=e+1|0}if((g|0)>=(j|0)){continue}break}}j=(d&-512)+512|0;break f}N[b+20>>2]=e}j=(d&-512)+512|0;if(!p){f=e;break f}n=(N[((e<<3)+l|0)+4>>2]<<6)+p|0;while(1){f=d;d=c>>>0<=d>>>0;if(c>>>0>f>>>0){break a}c=n+(f>>>3&56)|0;r=N[c+4>>2];i=f&63;g=i&31;if((i&63)>>>0>=32){i=1<>>32-g}N[c>>2]=k|N[c>>2];N[c+4>>2]=i|r;h=h-1|0;if(!h){break a}d=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;c=f;d=(d<<8|d>>>8)&65535;if(j>>>0>d>>>0){continue}break}f=e;continue}while(1){e=d;d=e>>>0>=c>>>0;if(c>>>0>e>>>0){break a}h=h-1|0;if(!h){break a}d=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;c=e;d=(d<<8|d>>>8)&65535;if(j>>>0>d>>>0){continue}break}continue}}d=1;c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}a=a+4|0;g=a+T((c<<8|c>>>8)&65535,6)|0;c=b+12|0;while(1){e=O[a+2|0]|O[a+3|0]<<8;e=(e<<8|e>>>8)&65535;f=O[a|0]|O[a+1|0]<<8;f=(f<<8|f>>>8)&65535;j:{if(O[b+48|0]){rd(c,f,e);break j}if(!Me(c,f,e)){break b}}a=a+6|0;if((g|0)!=(a|0)){continue}break}break a}if(c){return 1}g=b+12|0;N[b+16>>2]=-1;b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;d=c;while(1){m=wc(g,d);if(!m){break b}j=(d&65024)+512|0;b=c;while(1){c=d;d=c>>>0>=b>>>0;if(b>>>0>c>>>0){break a}b=m+(c>>>3&56)|0;l=N[b+4>>2];f=c&63;e=f&31;if((f&63)>>>0>=32){f=1<>>32-e}N[b>>2]=k|N[b>>2];N[b+4>>2]=f|l;h=h-1|0;if(!h){break a}e=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;b=c;d=(e<<8|e>>>8)&65535;if(j>>>0>d>>>0){continue}break}continue}}d=0}return d}function lk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=La-1136|0;La=e;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;h=(c<<8|c>>>8)&65535;switch(h|0){case 0:break c;case 1:break d;default:break b}}c=N[b+96>>2];if(N[c+156>>2]){zc(c);c=N[b+88>>2];d=N[b+96>>2];N[e+64>>2]=N[d+64>>2];ib(d,c,23278,e- -64|0)}a=O[a+2|0]|O[a+3|0]<<8;Oe(b,(a<<8|a>>>8)&65535);a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e+48>>2]=N[a+64>>2]-1;ib(a,b,23455,e+48|0);break a}a=N[b+96>>2];if(N[a+156>>2]){zc(a);a=N[b+88>>2];c=N[b+96>>2];N[e+96>>2]=N[c+64>>2];ib(c,a,23233,e+96|0);a=N[b+96>>2]}g=N[a+80>>2];d=N[a+64>>2];h=N[(g+T(d,20)|0)+8>>2];f=d+1|0;e:{f:{g:{if(f>>>0>2]){if((h|0)==N[(g+T(f,20)|0)+8>>2]){break f}c=N[a+72>>2];if(c){break g}Ib(a,d,d+2|0);N[a+64>>2]=N[a+64>>2]+1;break e}c=N[a+72>>2];if(!c){break f}}i=N[a+84>>2];j=N[(i+T(c,20)|0)-12>>2];if(h>>>0>=j>>>0){break f}g=N[(g+T(d,20)|0)+4>>2]&7;while(1){c=c-1|0;d=T(c,20)+i|0;if(N[d+8>>2]!=(j|0)){break f}N[d+4>>2]=g|N[d+4>>2]&-8;N[d+8>>2]=h;if(c){continue}break}}N[a+64>>2]=f}a=N[b+96>>2];if(!N[a+156>>2]){break a}zc(a);a=N[b+88>>2];b=N[b+96>>2];N[e+80>>2]=N[b+64>>2];ib(b,a,23324,e+80|0);break a}d=N[b+96>>2];if(N[d+156>>2]){zc(d);d=N[b+88>>2];g=N[b+96>>2];N[e+32>>2]=N[g+64>>2];ib(g,d,17378,e+32|0);d=N[b+96>>2]}h:{if(!c){break h}f=N[d+80>>2]+T(N[d+64>>2],20)|0;d=P[f+12>>1]>>>1&2;g=h>>>0<=1?1:h;c=0;if(O[f+14|0]<=31){while(1){f=N[b+96>>2];L[(N[f+80>>2]+T(N[f+64>>2],20)|0)+14|0]=c&15;f=(c<<1)+a|0;f=O[f+2|0]|O[f+3|0]<<8;hk(b,(f<<8|f>>>8)&65535,d);c=c+1|0;if((g|0)!=(c|0)){continue}break h}}while(1){f=(c<<1)+a|0;f=O[f+2|0]|O[f+3|0]<<8;hk(b,(f<<8|f>>>8)&65535,d);c=c+1|0;if((g|0)!=(c|0)){continue}break}}a=N[b+96>>2];N[a+64>>2]=N[a+64>>2]+1;if(!N[a+156>>2]){break a}zc(a);C(e+112|0,0,1024);d=N[b+96>>2];c=N[d+64>>2];a=c-h|0;if(a>>>0>>0){h=e+1136|0;c=e+112|0;while(1){if(e+112>>>0>>0){L[c|0]=44;c=c+1|0}N[e+16>>2]=a;Ne(c,h-c|0,8356,e+16|0);c=nb(c)+c|0;a=a+1|0;d=N[b+96>>2];if(a>>>0>2]){continue}break}}a=N[b+88>>2];N[e>>2]=e+112;ib(d,a,11480,e)}La=e+1136|0}function kt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=N[a+804>>2];a:{b:{if(e){f=6;if(Q[a+28>>2]<=b>>>0){break a}b=N[e+(b<<2)>>2];break b}f=6;if(Q[a+800>>2]<=b>>>0){break a}}f=2;c:{d:{switch(N[a+796>>2]-1|0){case 0:case 1:g=N[a+788>>2]+T(b,48)|0;d=O[g+52|0];M[c>>1]=d;e=O[g+53|0];M[c+2>>1]=e;j=L[g+24|0];b=j<<6;N[c+12>>2]=b;i=L[g+25|0];f=i<<6;N[c+16>>2]=f;h=L[g+33|0];e:{f:{if((i|0)>0){if((h|0)>=0){break e}f=0-f|0;break f}if(i|j){break e}b=L[g+32|0];if(b|h){b=b<<6;N[c+12>>2]=b;f=h<<6;break f}b=e<<6;N[c+12>>2]=b;f=0}N[c+16>>2]=f}N[c+20>>2]=b-f;if((b|0)==(f|0)){b=e<<6;N[c+20>>2]=b;N[c+16>>2]=f-b}N[c+24>>2]=L[g+31|0]+(O[g+26|0]+L[g+30|0]|0)<<6;b=P[a+178>>1];break c;case 2:break d;default:break a}}f=3;b=N[a+788>>2]+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(Q[a+864>>2]>>0){break a}b=b+N[a+860>>2]|0;g:{h:{i:{j:{d=N[a+104>>2];e=N[d+20>>2];k:{if(e){f=85;if(Qa[e|0](d,b,0,0)|0){break a}N[d+8>>2]=b;e=N[d+4>>2];if(!N[d+20>>2]){break k}if(e>>>0<4){break a}b=N[d+28>>2];e=Qa[N[b+4>>2]](b,4)|0;if(!e){break j}N[d>>2]=e;g=Qa[N[d+20>>2]](d,N[d+8>>2],e,4)|0;e=N[d>>2];if(g>>>0<=3){break i}f=0;break h}f=85;e=N[d+4>>2];if(b>>>0>e>>>0){break a}N[d+8>>2]=b}if(e-b>>>0<4|b>>>0>=e>>>0){break a}N[d+8>>2]=b+4;e=N[d>>2];b=b+e|0;N[d+32>>2]=b;h=b+4|0;N[d+36>>2]=h;break g}N[d>>2]=0;return 64}if(e){Qa[N[b+8>>2]](b,e)}e=0;N[d>>2]=0;f=85}N[d+32>>2]=e;h=e?e+4|0:0;N[d+36>>2]=h;N[d+8>>2]=g+N[d+8>>2];b=e;if(g>>>0<4){break a}}f=0;if(b+1>>>0>>0){f=O[b|0]|O[b+1|0]<<8;f=f<<8|f>>>8;b=b+2|0}N[d+32>>2]=((b+1>>>0>>0)<<1)+b;if(N[d+20>>2]){if(e){b=N[d+28>>2];Qa[N[b+8>>2]](b,e)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0;b=P[a+178>>1];M[c+2>>1]=f;M[c>>1]=f;d=M[a+220>>1];e=f&65535;f=e<<6;k=c,l=jb(d,f,b),N[k+12>>2]=l;g=M[a+222>>1];k=c,l=jb(g,f,b),N[k+16>>2]=l;k=c,l=jb(M[a+224>>1]+(d-g|0)|0,f,b),N[k+20>>2]=l;k=c,l=jb(P[a+226>>1],f,b),N[k+24>>2]=l;d=e}k=c,l=jb(d,4194304,b),N[k+4>>2]=l;k=c,l=jb(e,4194304,b),N[k+8>>2]=l;f=0}return f|0}function Mo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{h=L[a|0];if((h|0)!=117){break b}c:{d=O[a+1|0];if((d|0)!=110|O[a+2|0]!=105){break c}b=O[a+3|0];c=b-48|0;e=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(e>>>0>15){break c}b=O[a+4|0];c=b-48|0;g=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(g>>>0>15){break c}b=O[a+5|0];c=b-48|0;i=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(i>>>0>15){break c}b=O[a+6|0];c=b-48|0;b=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(b>>>0>15){break c}b=b+(i+((e<<8)+(g<<4)|0)<<4)|0;c=O[a+7|0];if(!c){break a}if((c|0)!=46){break c}return b|-2147483648}b=d-71>>>0<4294967290?16:d-55|0;d=d-48|0;c=d>>>0>9?b:d;if(c>>>0>15){break b}d=O[a+2|0];b=d-48|0;e=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(e>>>0>15){break b}d=O[a+3|0];b=d-48|0;g=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(g>>>0>15){break b}d=O[a+4|0];b=d-48|0;d=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(d>>>0>15){break b}b=d+(g+((c<<8)+(e<<4)|0)<<4)|0;d=O[a+5|0];c=d-48|0;c=c>>>0>9?d-71>>>0<4294967290?16:d-55|0:c;d:{if(c>>>0>15){break d}b=c+(b<<4)|0;d=O[a+6|0];c=d-48|0;c=c>>>0>9?d-71>>>0<4294967290?16:d-55|0:c;if(c>>>0>15){break d}b=c+(b<<4)|0;d=O[a+7|0]}d=d&255;if(!d){break a}if((d|0)!=46){break b}return b|-2147483648}d=h;while(1){b=d&255;if(!(!b|(b|0)==46)){f=f+1|0;d=O[f+a|0];continue}break}if(!f){return 0}i=a+f|0;g=a+1|0;b=0;a=52;e:{f:{while(1){j=a+b|0;c=j&-2;c=(O[c+300610|0]<<8|O[c+300611|0])+300608|0;e=O[c|0];k=e&127;if((h|0)==(k|0)){break f}c=j>>1;e=(h|0)>(k|0);b=e?c+1|0:b;a=e?a:c;if((b|0)<(a|0)){continue}break}a=0;break e}if(f>>>0>1){while(1){a=O[c+1|0];b=a&127;f=e<<24>>24;h=O[g|0];e=a<<24>>24;g:{h:{if((f|0)<0){if((b|0)!=(h|0)){break h}c=c+1|0;break g}a=0;if(!b){break e}f=(((e|0)>=0?1:3)+c|0)+1|0;while(1){c=(O[f+1|0]|O[f|0]<<8)+300608|0;e=O[c|0];if((h|0)==(e&127)){break g}f=f+2|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}break e}a=0;break e}g=g+1|0;if((i|0)!=(g|0)){continue}break}}a=0;if(e<<24>>24<0|L[c+1|0]>=0){break e}a=O[c+3|0]|O[c+2|0]<<8}b=(d&255)==46?a|-2147483648:a}return b|0}function zm(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[a+12>>2]=b;N[a+8>>2]=c;N[a+4>>2]=b;N[a+20>>2]=N[a+16>>2];a:{while(1){if(b>>>0>=c>>>0){break a}k=N[a+20>>2];i=N[a+16>>2];l=k-i>>2;e=N[a+24>>2];g=O[b|0];b:{c:{if(!((g|0)==31|(g-27&255)>>>0>227)){d=4;if(e>>>0<=l>>>0){break b}N[a+20>>2]=k+4;N[k>>2]=b;d:{switch(g-28|0){case 2:while(1){b=b+1|0;if(c>>>0<=b>>>0){b=c;d=7;break b}e=O[b|0];if((e&240)==240){break c}if((e&15)!=15){continue}break};break c;case 0:b=b+2|0;break c;case 1:b=b+4|0;break c;default:break d}}b=(g>>>0>246)+b|0;break c}d=4;if(e>>>0<=l>>>0){break b}N[k>>2]=b;if((g|0)==12){b=b+1|0;d=8;if(c>>>0<=b>>>0){break b}g=O[b|0]|256}e=31312;h=4;f=N[a+28>>2]|g;e:{f:{if((f|0)==4096){break f}g:{while(1){h:{i:{j:{d=e;if((f|0)!=N[d+32>>2]){if((f|0)==N[d+60>>2]){break i}if((f|0)==N[d+88>>2]){break g}h=N[d+112>>2];if(!h){break e}e=d+112|0;if((f|0)==N[d+116>>2]){break f}if((f|0)!=N[d+144>>2]){break j}}e=e+28|0;h=N[e>>2];break f}if((f|0)!=N[d+172>>2]){break h}d=e}e=d+56|0;h=N[e>>2];break f}if((f|0)==N[d+200>>2]){break g}e=d+224|0;if((f|0)!=N[d+228>>2]){continue}break}h=N[d+224>>2];break f}e=e+84|0;h=N[e>>2]}f=N[e+8>>2];j=N[a+32>>2];if((i|0)==(k|0)){d=12;if((h|0)!=6){break b}}d=f+j|0;k:{l:{m:{n:{o:{p:{switch(h-1|0){case 0:case 3:case 4:f=Lc(a,N[N[a+16>>2]>>2]);break o;case 1:f=ne(a,N[N[a+16>>2]>>2],0);break o;case 5:break n;case 2:break p;default:break m}}f=ne(a,N[N[a+16>>2]>>2],3)}q:{switch(O[e+12|0]-1|0){case 1:M[d>>1]=f;break e;case 0:break k;default:break q}}N[d>>2]=f;break e}g=N[a+16>>2];f=N[e+20>>2];i=f>>>0>l>>>0?l:f;L[j+N[e+24>>2]|0]=i;if(!i){break e}j=0;while(1){j=Lc(a,N[g>>2])+j|0;r:{s:{t:{u:{f=O[e+12|0];switch(f-1|0){case 1:break t;case 0:break u;default:break s}}L[d|0]=j;break r}M[d>>1]=j;break r}N[d>>2]=j}g=g+4|0;d=d+f|0;i=i-1|0;if(i){continue}break}break l}m=Qa[N[e+16>>2]](a)|0;d=7;if(m){break b}m=0}if((h|0)!=8){break e}break c}L[d|0]=f}N[a+20>>2]=N[a+16>>2]}b=b+1|0;d=0}e=d;if(!e){continue}break}if(ZE(e,30)-1>>>0>2){break a}m=6}return m}function lp(a,b){var 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,t=0,u=0,v=0,w=0;m=N[a+4>>2];if(m){e=N[a+24>>2]+T(b,204)|0;j=N[e+200>>2];b=j>>31;g=(b^j)-b|0;n=g&65535;o=g>>>16|0;p=g>>>8|0;s=N[e+204>>2];q=N[a+12>>2];while(1){a=N[q+4>>2];a:{if((a|0)<=0){break a}b=N[q>>2];i=b+T(a,40)|0;e=0;a=b;h=0;while(1){f=N[a+16>>2]&32;h=f?h?h:a:h;e=(f>>>5|0)+e|0;a=a+40|0;if(i>>>0>a>>>0){continue}break}a=h;if(e>>>0<=1){if((e|0)==1){d=N[h+36>>2];e=N[h+28>>2];a=e>>31;a=(a^e)-a|0;b:{if(a+p>>>0<=8190){c=T(a,g)+32768>>>16|0;break b}c=a&65535;c=T(c,o)+T(a>>>16|0,g)+(T(c,n)+32768>>>16)|0}a=c;f=0-a|0;a=e>>31|1;s=d+((((j|0)<0?0-a|0:a)|0)<0?c:f)|0}while(1){if((b|0)!=(h|0)){e=N[b+28>>2];a=e>>31;a=(a^e)-a|0;c:{if(a+p>>>0<=8190){c=T(a,g)+32768>>>16|0;break c}f=a&65535;c=T(f,o)+T(a>>>16|0,g)+(T(f,n)+32768>>>16)|0}a=c;d=0-a|0;a=e>>31|1;N[b+36>>2]=((((j|0)<0?0-a|0:a)|0)<0?d:c)+s}b=b+40|0;if(i>>>0>b>>>0){continue}break}break a}while(1){b=a;a=N[a+4>>2];if((h|0)==(a|0)){break a}e=a;if(O[a+16|0]&32){continue}while(1){e=N[e+4>>2];if(!(O[e+16|0]&32)){continue}break}f=N[b+28>>2];c=N[e+28>>2];d:{if((f|0)<=(c|0)){k=c-f|0;i=e;break d}k=f-c|0;i=b;b=e;f=c}i=N[i+36>>2];r=N[b+36>>2];if((k|0)<=0){b=65536}else{b=fb(i-r|0,k)}c=b>>31;l=(b^c)-c|0;u=l&65535;v=l>>>16|0;w=l>>>8|0;while(1){c=N[a+28>>2]-f|0;e:{if((c|0)<=0){d=c>>31;d=(d^c)-d|0;f:{if(d+p>>>0<=8190){d=T(d,g)+32768>>>16|0;break f}t=d&65535;d=T(t,o)+T(d>>>16|0,g)+(T(n,t)+32768>>>16)|0}c=c>>31|1;c=((((j|0)<0?0-c|0:c)|0)<0?0-d|0:d)+r|0;break e}if((c|0)>=(k|0)){c=c-k|0;g:{if(c+p>>>0<=8190){d=T(c,g)+32768>>>16|0;break g}d=c&65535;d=T(d,o)+T(c>>>16|0,g)+(T(d,n)+32768>>>16)|0}c=c>>31|1;c=((((j|0)<0?0-c|0:c)|0)<0?0-d|0:d)+i|0;break e}d=c;c=c>>31;c=(d^c)-c|0;h:{if(c+w>>>0<=8190){c=T(c,l)+32768>>>16|0;break h}d=c&65535;c=T(d,v)+T(c>>>16|0,l)+(T(d,u)+32768>>>16)|0}c=((b|0)<0?0-c|0:c)+r|0}N[a+36>>2]=c;a=N[a+4>>2];if((e|0)!=(a|0)){continue}break}a=e;if((h|0)!=(a|0)){continue}break}}q=q+8|0;m=m-1|0;if(m){continue}break}}}function ep(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=La-784|0;La=i;N[i+24>>2]=N[a+60>>2];j=N[a+64>>2];N[i+20>>2]=c;N[i+28>>2]=j;N[i+16>>2]=b;N[i+12>>2]=e;N[i+8>>2]=d;N[i+4>>2]=g;N[i>>2]=f;c=i;a:{while(1){n=N[c>>2];b:{c:{j=N[c+20>>2];l=N[c+12>>2];f=N[c+28>>2];g=N[c+4>>2];if((((j|0)<(l|0)?j:l)|0)>=(((f|0)<(g|0)?f:g)|0)){k=(f|0)>(g|0);if((((j|0)>(l|0)?j:l)|0)<=((k?f:g)|0)){break c}}b=N[c+24>>2];N[c+48>>2]=b;N[c+52>>2]=f;d=f+j|0;N[c+44>>2]=d>>1;e=g+l|0;N[c+12>>2]=e>>1;f=N[c+8>>2];k=f+n|0;N[c+8>>2]=k>>1;m=b;b=N[c+16>>2];h=m+b|0;N[c+40>>2]=h>>1;m=d;d=j+l|0;j=m+d|0;N[c+36>>2]=j>>2;d=d+e|0;N[c+20>>2]=d>>2;b=b+f|0;e=b+k|0;N[c+16>>2]=e>>2;b=b+h|0;N[c+32>>2]=b>>2;N[c+28>>2]=d+j>>3;N[c+24>>2]=b+e>>3;c=c+24|0;break b}d:{if((f|0)==(g|0)){break d}o=k?2:1;h=N[a+92>>2];if((o|0)!=(h|0)){b=N[a+4>>2];e=k?f&b-1:((b+f|0)-1&0-b)-f|0;d=N[a+36>>2];m=N[a+8>>2];e:{if(!h){b=d;break e}h=N[a+80>>2];b=N[h+8>>2];p=d-b|0;if((p|0)<0){N[a+40>>2]=99;a=1;break a}f:{if((b|0)==(d|0)){b=d;break f}N[h+16>>2]=p>>2;if((e|0)>=(m|0)){b=P[h+12>>1];M[h+12>>1]=(b&8?16:32)|b}N[a+80>>2]=d;b=d+32|0;N[a+36>>2]=b;N[d+8>>2]=b;N[d+16>>2]=0;N[h+28>>2]=d;M[a+76>>1]=P[a+76>>1]+1}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}L[a+79|0]=0}if(!N[a+84>>2]){N[a+84>>2]=b;N[a+80>>2]=b;b=b+32|0;N[a+36>>2]=b}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}d=N[a+80>>2];N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=b;N[d+28>>2]=0;N[d+4>>2]=0;b=O[a+48|0];M[d+12>>1]=b;g:{h:{if(!k){M[d+12>>1]=b|8;h=40;if((e|0)>=(m|0)){break h}break g}h=16;if((e|0)<(m|0)){break g}}M[d+12>>1]=b|h}if(!N[a+88>>2]){N[a+88>>2]=d}M[a+78>>1]=1;N[a+92>>2]=o}b=N[a+72>>2];d=N[a+68>>2];if(!k){if(!yg(a,3,c,354,d,b)){break d}a=1;break a}N[c+28>>2]=0-f;N[c+20>>2]=0-j;N[c+12>>2]=0-l;N[c+4>>2]=0-g;e=O[a+78|0];b=yg(a,3,c,354,0-b|0,0-d|0);if(!(O[a+78|0]|!e)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}N[c+4>>2]=0-N[c+4>>2];if(!b){break d}a=1;break a}c=c-24|0}if(i>>>0<=c>>>0){continue}break}N[a+64>>2]=g;N[a+60>>2]=n;a=0}La=i+784|0;return a}function fB(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-128|0;l=g;k=g>>31;UE(g,k,c,c>>31);g=Pa+262144|0;c=g>>31;m=g>>19;p=c;c=m;g=c>>31;h=(c^g)-g|0;UE(l,k,d,d>>31);i=Pa+262144|0;g=i>>31;d=i>>19;n=d;i=d>>31;i=(i^d)-i|0;i=((i>>>0>h>>>0?h:i)<<14)+32768>>>16|0;M[j>>1]=i;M[j+64>>1]=0-i;M[j+66>>1]=c-i;M[j+2>>1]=c+i;h=c<<1;M[j+68>>1]=h-i;M[j+4>>1]=i+h;h=T(c,3);M[j+70>>1]=h-i;M[j+6>>1]=i+h;h=c<<2;M[j+72>>1]=h-i;M[j+8>>1]=i+h;h=T(c,5);M[j+74>>1]=h-i;M[j+10>>1]=i+h;h=T(c,6);M[j+76>>1]=h-i;M[j+12>>1]=i+h;h=T(c,7);M[j+78>>1]=h-i;M[j+14>>1]=i+h;h=c<<3;M[j+80>>1]=h-i;M[j+16>>1]=i+h;h=T(c,9);M[j+18>>1]=h+i;M[j+82>>1]=h-i;h=T(c,10);M[j+84>>1]=h-i;M[j+20>>1]=i+h;h=T(c,11);M[j+86>>1]=h-i;M[j+22>>1]=i+h;h=T(c,12);M[j+88>>1]=h-i;M[j+24>>1]=i+h;h=T(c,13);M[j+90>>1]=h-i;M[j+26>>1]=i+h;h=T(c,14);M[j+92>>1]=h-i;M[j+28>>1]=i+h;h=T(c,15);M[j+94>>1]=h-i;M[j+30>>1]=i+h;h=c<<4;M[j+96>>1]=h-i;M[j+32>>1]=i+h;h=T(c,17);M[j+98>>1]=h-i;o=T(c,18);M[j+100>>1]=o-i;M[j+34>>1]=i+h;M[j+36>>1]=i+o;h=T(c,19);M[j+102>>1]=h-i;M[j+38>>1]=i+h;h=T(c,20);M[j+104>>1]=h-i;M[j+40>>1]=i+h;h=T(c,21);M[j+106>>1]=h-i;M[j+42>>1]=i+h;h=T(c,22);M[j+108>>1]=h-i;M[j+44>>1]=i+h;h=T(c,23);M[j+110>>1]=h-i;M[j+46>>1]=i+h;h=T(c,24);M[j+112>>1]=h-i;M[j+48>>1]=i+h;h=T(c,25);M[j+114>>1]=h-i;M[j+50>>1]=i+h;h=T(c,26);M[j+52>>1]=h+i;M[j+116>>1]=h-i;h=T(c,27);M[j+118>>1]=h-i;M[j+54>>1]=i+h;h=T(c,28);M[j+120>>1]=h-i;M[j+56>>1]=i+h;h=T(c,29);M[j+122>>1]=h-i;M[j+58>>1]=i+h;h=T(c,30);M[j+124>>1]=h-i;M[j+60>>1]=i+h;c=T(c,31);M[j+126>>1]=c-i;M[j+62>>1]=c+i;c=f<<20|e>>>12;i=c>>31;UE(c,i,l,k);c=g+p|0;d=d+m|0;c=n>>>0>d>>>0?c+1|0:c;g=((Pa+4096>>>13|0)-((c&1)<<31|d>>>1)|0)+256|0;c=0;while(1){d=0;while(1){e=d<<1;f=g-P[e+j>>1]<<16>>16;f=(f|0)>0?f:0;e=g-P[e+(j- -64|0)>>1]<<16>>16;e=(e|0)>0?e:0;e=(f>>>0>=512?512:f)+(e>>>0>=512?512:e)>>>2|0;L[a+d|0]=e>>>0>=255?255:e;d=d+1|0;if((d|0)!=32){continue}break}g=g-n|0;a=a+b|0;c=c+1|0;if((c|0)!=32){continue}break}}function oc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;c=N[a+8>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;d=N[c+12>>2]+T(b,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[c+8>>2]=b;if(e){Qa[e|0](d);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+8>>2]=0}b=N[a+16>>2];c:{if(!b){b=0;break c}c=N[b>>2];if(c){b=N[a+12>>2];if(b){b=N[b>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+4>>2];if(c){b=N[a+12>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+8>>2];if(c){b=N[a+12>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+12>>2];if(c){b=N[a+12>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+16>>2];if(c){b=N[a+12>>2];if(b){b=N[b+16>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+20>>2];if(c){b=N[a+12>>2];if(b){b=N[b+20>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+24>>2];if(c){b=N[a+12>>2];if(b){b=N[b+24>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+28>>2];if(c){b=N[a+12>>2];if(b){b=N[b+28>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+32>>2];if(c){b=N[a+12>>2];if(b){b=N[b+32>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+36>>2];if(c){b=N[a+12>>2];if(b){b=N[b+36>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+40>>2];if(c){b=N[a+12>>2];if(b){b=N[b+40>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+44>>2];if(c){b=N[a+12>>2];if(b){b=N[b+44>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+48>>2];if(c){b=N[a+12>>2];if(b){b=N[b+48>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+52>>2];if(c){b=N[a+12>>2];if(b){b=N[b+52>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+56>>2];if(c){b=N[a+12>>2];if(b){b=N[b+56>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+60>>2];if(c){b=N[a+12>>2];if(b){b=N[b+60>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+64>>2];if(c){b=N[a+12>>2];if(b){b=N[b+64>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+68>>2];if(!c){break c}b=N[a+12>>2];if(b){b=N[b+68>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}_a(b);_a(N[a+12>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function hl(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;c=N[a>>2];a:{if(c){break a}g=a-124|0;while(1){d=N[g>>2];if(!d){c=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;c=N[d+32>>2];if((c|0)==-1){c=sb(d+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[d+32>>2]=c}L[b+40|0]=1;N[b+36>>2]=c;c=N[d+12>>2];b:{if(c){c=Qa[c|0](d,1953653099,N[d+16>>2])|0;if(c){break b}}c=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!c){break k}d=N[c>>2];if(!d){break k}if((d|0)<=0){break j}N[c>>2]=d+1}L[b+24|0]=0;N[b+32>>2]=c;f=N[c+12>>2];N[b+4>>2]=f;d=N[c+16>>2];N[b+8>>2]=d+f;if((d|0)<0){break i}N[b+28>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[b+12>>2]=d;N[b+20>>2]=0;N[b>>2]=0;d=c;if(!f){break d}if(lh(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}d=zb(c);N[b+4>>2]=d;N[b+8>>2]=d+N[c+16>>2];if(!d){break l}while(1){L[b+24|0]=1;d=N[b+32>>2];f=N[d+12>>2];N[b+4>>2]=f;e=N[d+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(lh(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}d=zb(c);N[b+4>>2]=d;N[b+8>>2]=d+N[c+16>>2];if(d){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;d=lh(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(d){break e}}ab(c);c=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[c+4>>2]){N[c+4>>2]=0}break c}ab(d);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}d=c;c=N[a>>2];m:{if(d){if(c){break m}c=d;N[a>>2]=c;break a}if(c){break a}c=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);c=N[a>>2];if(!c){continue}break}}La=b+48|0;return Q[c+16>>2]<12?275552:N[c+12>>2]}function yf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f:{if(!N[a+24>>2]){if(N[a+44>>2]){break f}c=N[a+52>>2];if(c>>>0<=1){break e}b=c<<2;c=N[a+56>>2];i=b+c|0;g=c+4|0;while(1){f=N[g>>2];c=N[f+12>>2];if(c){e=N[f+16>>2];j=e+T(c,12)|0;while(1){c=N[e+8>>2];if(c>>>0>=Q[a+52>>2]){N[147456]=0;break b}b=N[N[a+56>>2]+(c<<2)>>2];if(!b){break b}c=0;g:{h:{i:{j:{d=N[e>>2];switch(d>>>4&3){case 2:break h;case 1:break i;case 0:break j;default:break g}}c=N[b>>2]-N[f>>2]|0;break g}c=N[b>>2]-N[f+4>>2]|0;break g}c=N[a+4>>2]+N[b>>2]-(N[a>>2]+N[a+8>>2])|0}h=d>>>6|0;if(h>>>0>c>>>0){break d}b=d&7;c=c-h|0;k:{if(d&8){l:{switch(b-2|0){default:ba(21611,14296,537,10829);B();case 2:b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)){break a}d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);L[b|0]=d;L[b+1|0]=d>>>8;L[b+2|0]=d>>>16;L[b+3|0]=d>>>24;if(!(c>>31)){break k}N[a+24>>2]=N[a+24>>2]|2;break k;case 0:break l}}b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8){break a}d=c<<8|(c&65280)>>>8;L[b|0]=d;L[b+1|0]=d>>>8;b=c<<16;d=b>>31;b=b>>16;if(!d&(b|0)==(c|0)){break k}N[a+24>>2]=N[a+24>>2]|2;break k}if(b-2>>>0>=3){break c}m:{switch(b-3|0){case 1:b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)){break a}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);L[b|0]=c;L[b+1|0]=c>>>8;L[b+2|0]=c>>>16;L[b+3|0]=c>>>24;break k;case 0:b=N[f>>2]+N[e+4>>2]|0;if(O[b+1|0]<<8|O[b|0]<<16|O[b+2|0]){break a}L[b+2|0]=c;L[b+1|0]=c>>>8;L[b|0]=c>>>16;if(c>>>0<16777216){break k}N[a+24>>2]=N[a+24>>2]|2;break k;default:break m}}b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8){break a}d=c<<8|(c&65280)>>>8;L[b|0]=d;L[b+1|0]=d>>>8;if(c>>>0<65536){break k}N[a+24>>2]=N[a+24>>2]|2}e=e+12|0;if((j|0)!=(e|0)){continue}break}}g=g+4|0;if((i|0)!=(g|0)){continue}break}}return}ba(9270,14296,518,10829);B()}ba(21778,14296,519,10829);B()}ba(11438,14296,533,10829);B()}ba(21557,14296,545,10829);B()}N[a+24>>2]=N[a+24>>2]|1;return}ba(15190,14296,730,9500);B()}function mp(a,b){var 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;j=La+-64|0;La=j;f=N[a>>2];a:{if((f|0)<=0){break a}d=N[a+24>>2];c=T(b,204);k=N[a+16>>2];e=N[a+8>>2];m=e+T(f,40)|0;b=0;a=e;while(1){b=(N[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(m>>>0>a>>>0){continue}break}if(!b){break a}l=N[(c+d|0)+200>>2];d=j;if(b>>>0>=17){if(b>>>0>536870911){break a}a=b<<2;d=Qa[N[k+4>>2]](k,a)|0;if(!d){break a}C(d,0,a)}f=0;c=e;while(1){if(O[c+16|0]&16){a=(f<<2)+d|0;b:{if((f|0)<=0){b=a;break b}i=N[c+28>>2];while(1){b=a-4|0;h=N[b>>2];if((i|0)>=N[h+28>>2]){b=a;break b}N[a>>2]=h;a=b;if(d>>>0>>0){continue}break}}N[b>>2]=c;f=f+1|0}c=c+40|0;if(m>>>0>c>>>0){continue}break}a=l>>31;i=(a^l)-a|0;o=i&65535;p=i>>>16|0;q=i>>>8|0;r=((f<<2)+d|0)-4|0;while(1){n=N[e+16>>2];c:{if(n&16){break c}a=N[e+12>>2];if(a&2){b=O[e+20|0];if(!(a&4|n&64)|((b|0)==4|(b|0)!=O[e+21|0])){break c}N[e+12>>2]=a&-3}c=N[e+28>>2];a=0;d:{e:{if(f){f:{while(1){if((c|0)>2]+28>>2]){break f}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break e}}a=N[d>>2];h=N[a+36>>2];b=c-N[a+28>>2]|0;a=b>>31;a=(a^b)-a|0;g:{if(a+q>>>0<=8190){c=T(a,i)+32768>>>16|0;break g}c=a&65535;c=T(c,p)+T(i,a>>>16|0)+(T(c,o)+32768>>>16)|0}a=c;g=0-a|0;a=b>>31|1;g=h+((((l|0)<0?0-a|0:a)|0)<0?g:c)|0;break d}h=N[((a<<2)+d|0)-4>>2];b=f;while(1){h:{a=b;if(!a){a=0;break h}b=a-1|0;if((c|0)<=N[N[(b<<2)+d>>2]+28>>2]){continue}}break}if((a|0)==(f|0)){a=N[r>>2];h=N[a+36>>2];b=c-N[a+28>>2]|0;a=b>>31;a=(a^b)-a|0;i:{if(a+q>>>0<=8190){c=T(a,i)+32768>>>16|0;break i}c=a&65535;c=T(c,p)+T(i,a>>>16|0)+(T(c,o)+32768>>>16)|0}a=c;g=0-a|0;a=b>>31|1;g=h+((((l|0)<0?0-a|0:a)|0)<0?g:c)|0;break d}b=N[h+28>>2];g=N[h+36>>2];if((b|0)==(c|0)){break d}a=N[(a<<2)+d>>2];g=N[a+28>>2];if((c|0)==(g|0)){g=N[a+36>>2];break d}s=N[a+36>>2];a=N[h+36>>2];g=jb(c-b|0,s-a|0,g-b|0)+a|0}N[e+36>>2]=g;N[e+16>>2]=n|32}e=e+40|0;if(m>>>0>e>>>0){continue}break}if(!d|(d|0)==(j|0)){break a}Qa[N[k+8>>2]](k,d)}La=j- -64|0}function zd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-16|0;La=h;l=N[b+28>>2];N[a+28>>2]=0;N[a+32>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a>>2]=b;e=N[b+8>>2];N[a+4>>2]=e;a:{b:{c:{d:{if(d){if(Q[b+4>>2]<=e+3>>>0){break c}e:{f:{d=N[b+20>>2];g:{if(d){if((Qa[d|0](b,e,h+9|0,4)|0)!=4){break c}e=N[b+8>>2];d=h+9|0;break g}d=N[b>>2];if(!d){break f}d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break e}d=0}e=e+4|0;N[b+8>>2]=e;f=5;break d}if(Q[b+4>>2]<=e+1>>>0){break c}h:{i:{d=N[b+20>>2];j:{if(d){if((Qa[d|0](b,e,h+13|0,2)|0)!=2){break c}e=N[b+8>>2];d=h+13|0;break j}d=N[b>>2];if(!d){break i}d=d+e|0}d=O[d+1|0]|O[d|0]<<8;break h}d=0}e=e+2|0;N[b+8>>2]=e;f=3}N[a+8>>2]=f;if(!d){e=0;break a}L[h+15|0]=0;f=N[b+20>>2];k:{if(f){if((Qa[f|0](b,e,h+15|0,1)|0)!=1){break c}e=N[b+8>>2];f=h+15|0;break k}if(Q[b+4>>2]<=e>>>0){break c}f=N[b>>2]+e|0}f=O[f|0];g=e+1|0;N[b+8>>2]=g;e=8;if((f-5&255)>>>0<252){break b}L[a+16|0]=f;N[a+12>>2]=d;N[a+20>>2]=N[a+8>>2]+(N[a+4>>2]+T(f,d+1|0)|0);e=85;d=T(d,f);if((d|0)<0){break b}d=d+g|0;f=N[b+20>>2];l:{if(f){if(!(Qa[f|0](b,d,0,0)|0)){break l}break b}if(d>>>0>Q[b+4>>2]){break b}}N[b+8>>2]=d;N[h+4>>2]=0;d=0;f=La-16|0;La=f;k=85;e=N[a>>2];i=N[e+4>>2];g=N[e+8>>2];m:{if(i>>>0<=g>>>0){break m}j=O[a+16|0];m=N[e+20>>2];n:{if(m){i=Qa[m|0](e,g,f+12|0,j)|0;break n}i=i-g|0;i=i>>>0>>0?i:j;F(f+12|0,g+N[e>>2]|0,i)}N[e+8>>2]=g+i;if(i>>>0>>0){break m}g=O[a+16|0];if(!g){k=0;break m}k=0;e=0;if(g>>>0>=4){e=g&252;d=f+e|0;d=(O[d+8|0]<<16|O[d+9|0]<<8|O[d+10|0])<<8|O[d+11|0]}j=g&3;if(!j){break m}g=0;while(1){d=O[(f+12|0)+e|0]|d<<8;e=e+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[h+4>>2]=k;La=f+16|0;e=N[h+4>>2];if(e){break b}e=8;if(!d){break b}d=d-1|0;N[a+24>>2]=d;o:{if(c){e=fc(b,d,a+32|0);break o}e=Xc(b,d)}if(e){break b}e=0;break a}e=85}b=N[a+28>>2];if(b){Qa[N[l+8>>2]](l,b)}N[a+28>>2]=0}La=h+16|0;return e}function el(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!b){break i}c=N[b>>2];if(!c){break i}if((c|0)<=0){break h}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;f=b;if(!d){break a}j:{if(e>>>0<4){break j}N[a+12>>2]=c-4;k:{l:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 0:break k;case 1:break l;default:break f}}if(!eh(d,a)){break j}break f}if(dh(d,a)){break f}}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break e}while(1){L[a+24|0]=1;f=N[a+32>>2];d=N[f+12>>2];N[a+4>>2]=d;e=N[f+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){break a}m:{if(e>>>0<4){break m}N[a+12>>2]=c-4;n:{o:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break n;case 0:break o;default:break f}}if(!dh(d,a)){break m}break f}if(eh(d,a)){break f}}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}break e}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a+28>>2]){break d}f=0;N[a+28>>2]=0;if(Q[a+4>>2]>d>>>0){break e}c=N[a+8>>2];p:{if(c>>>0>>0|c-d>>>0<4){break p}c=N[a+12>>2]-4|0;N[a+12>>2]=c;if((c|0)<=0){break p}f=1;q:{r:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break q;case 0:break r;default:break p}}f=dh(d,a);break p}f=eh(d,a)}c=N[a+28>>2];ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(c){break b}if(f){break c}break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(b);return 275552}ab(f);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function Rd(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;a:{b:{c:{d:{f=N[a+8>>2];if(Q[a+4>>2]<=f+3>>>0){break d}d=N[a+20>>2];e:{if(d){if((Qa[d|0](a,f,g+12|0,4)|0)!=4){break d}f=N[a+8>>2];d=g+12|0;break e}d=N[a>>2];if(!d){break c}d=d+f|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}e=85;break a}h=0}d=f+4|0;N[a+8>>2]=d;e=2;if((b|0)!=(h|0)){break a}f:{g:{h:{i:{b=N[a+4>>2];if(b>>>0>f+7>>>0){e=N[a+20>>2];if(!e){N[a+8>>2]=f+8;f=f+24|0;break h}if((Qa[e|0](a,d,g+12|0,4)|0)==4){break i}}e=85;break a}d=N[a+8>>2];N[a+8>>2]=d+4;f=d+20|0;b=N[a+20>>2];if(b){break g}b=N[a+4>>2]}e=85;if(b>>>0>=f>>>0){break f}break a}e=85;if(Qa[b|0](a,f,0,0)|0){break a}b=N[a+4>>2]}N[a+8>>2]=f;if(d+21>>>0>=b>>>0){break a}j:{b=N[a+20>>2];if(b){if((Qa[b|0](a,f,g+12|0,2)|0)!=2){break a}f=N[a+8>>2];b=g+12|0;break j}b=N[a>>2];if(b){b=b+f|0;break j}N[a+8>>2]=d+22;e=2;break a}e=2;b=O[b|0]|O[b+1|0]<<8;N[a+8>>2]=f+2;h=(b<<8|b>>>8)&65535;if(!h){break a}b=0;while(1){k:{f=N[a+4>>2];e=N[a+8>>2];if(f>>>0<=e+3>>>0){break k}l:{m:{n:{o:{d=N[a+20>>2];p:{if(d){if((Qa[d|0](a,e,g+12|0,4)|0)!=4){break k}e=N[a+8>>2];d=g+12|0;break p}d=N[a>>2];if(!d){break o}d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=e+4|0;N[a+8>>2]=f;if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==2){N[g+8>>2]=0;q:{r:{s:{if(Q[a+4>>2]<=e+7>>>0){break s}d=N[a+20>>2];t:{if(d){if((Qa[d|0](a,f,g+12|0,4)|0)!=4){break s}f=N[a+8>>2];d=g+12|0;break t}d=N[a>>2];if(!d){break r}d=d+f|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break q}N[g+8>>2]=85;break l}d=0}N[a+8>>2]=f+4;Nb(a,g+8|0);if(N[g+8>>2]){break l}N[c>>2]=d;e=0;break a}e=e+12|0;d=N[a+20>>2];if(!d){f=N[a+4>>2];break n}if(!(Qa[d|0](a,e,0,0)|0)){break m}e=85;break a}N[a+8>>2]=e+4;e=e+12|0}if(e>>>0<=f>>>0){break m}e=85;break a}N[a+8>>2]=e;N[g+8>>2]=0}e=2;b=b+1|0;if((h|0)!=(b|0)){continue}break a}break}e=85}La=g+16|0;return e}function Wm(a){var 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;j=La-16|0;La=j;d=N[a+104>>2];f=N[d+28>>2];i=N[a+736>>2];L[i+24|0]=1;a:{if(Qa[N[a+516>>2]](a,1635148146,d,j+12|0)|0){break a}if(Bb(d,N[j+12>>2])){break a}c=N[d+36>>2];a=N[d+32>>2];if(c>>>0>a+3>>>0){b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=a+4|0}N[d+32>>2]=a;if(c>>>0>a+3>>>0){b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=a+4|0}N[d+32>>2]=a;b:{if((e|0)!=65536|N[N[i+12>>2]>>2]!=(g|0)){break b}c:{d:{e:{if(g-268435456>>>0>=4026531841){b=g<<3;c=Qa[N[f+4>>2]](f,b)|0;a=!c<<6;if(!(!c|(g|0)<=0)){C(c,0,b);a=0}N[i+28>>2]=c;if((g|0)<=0|a){break b}l=i+28|0;e=0;while(1){a=N[d+32>>2];f:{if(Q[d+36>>2]<=a+1>>>0){b=0;break f}b=O[a|0]|O[a+1|0]<<8;b=b<<8|b>>>8;a=a+2|0}N[d+32>>2]=a;M[c>>1]=b;a=b&65535;if(Q[j+12>>2]>>0){break d}g:{if(!a){k=0;break g}a=a<<3;k=Qa[N[f+4>>2]](f,a)|0;if(!k){break e}C(k,0,a)}N[c+4>>2]=k;m=P[c>>1];if(m){a=N[d+32>>2];n=N[d+36>>2];b=0;while(1){h:{if(a+1>>>0>=n>>>0){h=0;break h}h=O[a|0]|O[a+1|0]<<8;h=h<<8|h>>>8;a=a+2|0}N[d+32>>2]=a;o=(b<<3)+k|0;N[o>>2]=h<<16>>16<<2;h=0;if(a+1>>>0>>0){h=O[a|0]|O[a+1|0]<<8;h=h<<8|h>>>8;a=a+2|0}N[d+32>>2]=a;N[o+4>>2]=h<<16>>16<<2;b=b+1|0;if((m|0)!=(b|0)){continue}break}}c=c+8|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break b}l=i+28|0;break c}N[c+4>>2]=0}a=N[i+28>>2];i:{if(e){j:{if(!(e&1)){b=e;break j}b=e-1|0;c=b<<3;g=N[(c+a|0)+4>>2];if(g){Qa[N[f+8>>2]](f,g);a=N[i+28>>2]}N[(a+c|0)+4>>2]=0}if((e|0)==1){break i}while(1){e=b-1<<3;c=N[(e+a|0)+4>>2];if(c){Qa[N[f+8>>2]](f,c);a=N[i+28>>2]}N[(a+e|0)+4>>2]=0;e=b-2|0;c=e<<3;g=N[(c+a|0)+4>>2];if(g){Qa[N[f+8>>2]](f,g);a=N[i+28>>2]}N[(a+c|0)+4>>2]=0;c=(b|0)>2;b=e;if(c){continue}break}break i}if(!a){break c}}Qa[N[f+8>>2]](f,a)}N[l>>2]=0}if(N[d+20>>2]){a=N[d>>2];if(a){b=N[d+28>>2];Qa[N[b+8>>2]](b,a)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0}La=j+16|0}function Am(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=La-48|0;La=j;N[j+4>>2]=0;m=N[h+556>>2];k=N[g>>2];i=N[k>>2];N[j+28>>2]=0;N[j+32>>2]=0;N[j+20>>2]=0;N[j+24>>2]=0;N[j+12>>2]=0;N[j+16>>2]=0;N[j+40>>2]=a;N[j+36>>2]=f;N[j+44>>2]=0;N[j+8>>2]=k;k=(f|0)==12288|(f|0)==16384;l=k?513:96;n=l<<2;i=Qa[N[i+4>>2]](i,n)|0;a:{if(i){C(i,0,n);N[j+32>>2]=l;N[j+24>>2]=i;N[j+28>>2]=i;C(a+24|0,0,160);N[a+156>>2]=8720;N[a+60>>2]=65536;N[a+44>>2]=2;N[a+48>>2]=65536;N[a+32>>2]=-6553600;N[a+36>>2]=3276800;N[a+184>>2]=k?513:48;N[a+172>>2]=65535;N[a+136>>2]=65535;N[a+128>>2]=65535;N[a+132>>2]=65535;N[a+16>>2]=65535;N[a+20>>2]=65535;N[a+8>>2]=65535;N[a+12>>2]=65535;N[a>>2]=65535;N[a+4>>2]=65535;b:{c:{d:{if(!N[b+12>>2]){c=N[b+20>>2];l=N[d+20>>2];e:{if(l){i=85;if(!(Qa[l|0](d,c,0,0)|0)){break e}break b}i=85;if(c>>>0>Q[d+4>>2]){break b}}N[d+8>>2]=c;i=fc(d,N[b+24>>2],j+4|0);if(i){break b}c=b+24|0;break d}i=Xf(b,c,j+4|0,j);if(i){break c}c=j}i=N[j+4>>2];i=zm(j+8|0,i,i?i+N[c>>2]|0:0)}c=d;f:{if(N[b+12>>2]){if(N[b+32>>2]){break f}c=N[b>>2]}g:{if(!c|!N[c+20>>2]){break g}b=N[j+4>>2];if(!b){break g}c=N[c+28>>2];Qa[N[c+8>>2]](c,b)}N[j+4>>2]=0}if(i){break b}i=0;if(N[a+132>>2]!=65535){break b}i=xm(g,a,0,0);if(i){break b}h:{if((f|0)==12288|(f|0)==16384){break h}f=N[N[h+128>>2]+60>>2];i:{if((f|0)==-1){b=N[h+96>>2];f=N[b+68>>2];N[a+648>>2]=f;if(!f){break i}while(1){f=Qa[N[m+20>>2]](f)|0;N[b+68>>2]=f;if((f|0)<0){continue}break}break i}N[a+648>>2]=f;if(!f){break i}while(1){f=Qa[N[m+20>>2]](f)|0;N[N[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(N[a+648>>2]){break h}N[a+648>>2]=N[a+532>>2]}b=N[a+536>>2];if(!b){i=0;break b}b=N[a+116>>2]+(b+e|0)|0;c=N[d+20>>2];j:{if(c){i=85;if(!(Qa[c|0](d,b,0,0)|0)){break j}break b}i=85;if(b>>>0>Q[d+4>>2]){break b}}N[d+8>>2]=b;b=a+608|0;i=zd(b,d,1,k);if(i){break b}i=Gh(b,a+644|0,0,0)}a=N[j+24>>2];if(!a){break a}b=N[N[j+8>>2]>>2];Qa[N[b+8>>2]](b,a);break a}N[j+24>>2]=0;i=64}La=j+48|0;return i}function bk(a,b,c,d,e,f,g){var h=0,i=0;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}a=h;c:{d:{if((d|0)==-1){break d}h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<65537){break d}b=275552;e:{if((h&65535)!=256){break e}h=O[a+10|0]|O[a+11|0]<<8|(O[a+12|0]<<16|O[a+13|0]<<24);b=275552;if(!h){break e}b=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+a|0}h=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0>d>>>0){d=(b+(d<<3)|0)+8|0}else{d=275552}d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(d){d=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{d=275552}b=O[d+4|0]|O[d+5|0]<<8;if(!b){break d}b=(b<<8|b>>>8)&65535;h=b>>>0<=1?1:b;b=0;while(1){i=d+T(b,6)|0;i=O[i+6|0]|O[i+7|0]<<8;if(((i<<8|i>>>8)&65535)==(c|0)){b=d+T(b,6)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);a=275552;if(!b){break c}a=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;break c}b=b+1|0;if((h|0)!=(b|0)){continue}break}}b=275552;f:{if((O[a|0]|O[a+1|0]<<8)!=256){break f}d=O[a+6|0]|O[a+7|0]<<8;b=275552;if(!d){break f}b=((d<<8|d>>>8)&65535)+a|0}a=O[b|0]|O[b+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0>c>>>0){c=(b+T(c,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!c){break c}a=b+((c<<8|c>>>8)&65535)|0}b=a;g:{if(!f){break g}a=O[b+2|0]|O[b+3|0]<<8;a=(a<<8|a>>>8)&65535;c=a-e|0;a=a>>>0>=c>>>0?c:0;c=N[f>>2];a=a>>>0>>0?a:c;N[f>>2]=a;if(!a){break g}d=(b+(e<<1)|0)+4|0;if(a&1){b=O[d|0]|O[d+1|0]<<8;N[g>>2]=(b<<8|b>>>8)&65535;d=d+2|0;g=g+4|0;b=a-1|0}else{b=a}if((a|0)==1){break g}a=b;while(1){c=O[d|0]|O[d+1|0]<<8;N[(b?g:589824)>>2]=(c<<8|c>>>8)&65535;c=(b|0)!=0;f=(c<<2)+g|0;e=(b|0)!=(c|0);g=O[d+2|0]|O[d+3|0]<<8;N[(e?f:589824)>>2]=(g<<8|g>>>8)&65535;g=f+(e<<2)|0;b=b-(c+e|0)|0;d=d+4|0;a=a-2|0;if(a){continue}break}}}function dm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){d=N[a+100>>2];b=N[a>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a>>2]=0;e=N[a+92>>2];if(e){b=N[e+4>>2];a:{if(!b){break a}c=N[e+20>>2];if((b|0)!=1){g=b&1;f=b&-2;b=0;while(1){h=N[c>>2];if(h){Qa[N[d+8>>2]](d,h)}N[c>>2]=0;h=N[c+4>>2];if(h){Qa[N[d+8>>2]](d,h)}N[c+4>>2]=0;c=c+8|0;b=b+2|0;if((f|0)!=(b|0)){continue}break}if(!g){break a}}b=N[c>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c>>2]=0}b=N[e+20>>2];if(b){Qa[N[d+8>>2]](d,b)}N[e+20>>2]=0;b=N[a+92>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+92>>2]=0}b=N[a+84>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+84>>2]=0;e=N[a+72>>2];if(e){c=0;while(1){b=N[a+80>>2];g=c<<4;f=b+g|0;if(N[f+4>>2]==1){e=N[f+12>>2];if(e){Qa[N[d+8>>2]](d,e);b=N[a+80>>2]}N[(b+g|0)+12>>2]=0;e=N[a+72>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}b=N[a+80>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+80>>2]=0;if(N[a+52>>2]){c=N[a+56>>2];b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;e=N[c+24>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+24>>2]=0;c=c+36|0;b=b+1|0;if(b>>>0>2]){continue}break}}if(N[a+64>>2]){c=N[a+68>>2];b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;e=N[c+24>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+24>>2]=0;c=c+36|0;b=b+1|0;if(b>>>0>2]){continue}break}}b=N[a+56>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+56>>2]=0;b=N[a+68>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+68>>2]=0;b=N[a+116>>2];b:{if(!b){break b}c=N[a+132>>2];if((b|0)!=1){e=b&1;g=b&-2;b=0;while(1){f=N[c>>2];if(f){Qa[N[d+8>>2]](d,f)}N[c>>2]=0;f=N[c+4>>2];if(f){Qa[N[d+8>>2]](d,f)}N[c+4>>2]=0;c=c+8|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}if(!e){break b}}b=N[c>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c>>2]=0}b=N[a+132>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+132>>2]=0;c=N[a+104>>2];if(N[a+108>>2]){b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;if(N[c+4>>2]==1){e=N[c+12>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+12>>2]=0}c=c+16|0;b=b+1|0;if(b>>>0>2]){continue}break}c=N[a+104>>2]}if(c){Qa[N[d+8>>2]](d,c)}N[a+104>>2]=0}}function $l(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=N[d+8>>2];h=N[d+16>>2]+T(e,3)|0;m=P[f+(O[h+2|0]<<1)>>1];i=O[h+1|0];l=N[d+4>>2];f=l+P[f+(O[h|0]<<1)>>1]|0;g=O[f|0];a:{if(!g){g=0;break a}j=g&3;h=0;b:{if(g>>>0<4){g=0;break b}k=g&252;g=0;while(1){L[a+g|0]=O[f+1|0];L[(g|1)+a|0]=O[f+2|0];L[(g|2)+a|0]=O[f+3|0];L[(g|3)+a|0]=O[f+4|0];f=f+4|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}if(!j){break a}while(1){L[a+g|0]=O[f+1|0];g=g+1|0;f=f+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}c:{if(i>>>0<=9){c=c-i|0;break c}if((i-12&255)>>>0>8){break c}h=i-11|0;c=c-h|0;b=b+h|0}d:{if((c|0)<=0){break d}j=c&3;k=0;e:{if(c>>>0<4){f=0;break e}n=c&-4;f=0;while(1){h=a+g|0;L[h|0]=O[b+f|0];L[h+1|0]=O[(f|1)+b|0];L[h+2|0]=O[(f|2)+b|0];L[h+3|0]=O[(f|3)+b|0];g=g+4|0;f=f+4|0;if((n|0)!=(f|0)){continue}break}}if(!j){break d}while(1){L[a+g|0]=O[b+f|0];g=g+1|0;f=f+1|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}}f=m+l|0;f:{g:{switch(i-10|0){case 0:b=(g-c|0)+a|0;c=O[b|0];if(c>>>0<=191){if((c-97&255)>>>0>25){break f}L[b|0]=c^32;break f}if(c>>>0<=223){L[b+1|0]=O[b+1|0]^32;break f}L[b+2|0]=O[b+2|0]^5;break f;case 1:if((c|0)<=0){break f}b=(g-c|0)+a|0;while(1){d=O[b|0];h:{if(d>>>0<=191){h=1;if((d-97&255)>>>0>25){break h}L[b|0]=d^32;break h}if(d>>>0<=223){L[b+1|0]=O[b+1|0]^32;h=2;break h}L[b+2|0]=O[b+2|0]^5;h=3}b=b+h|0;c=c-h|0;if((c|0)>0){continue}break};break f;case 11:b=N[d+20>>2]+(e<<1)|0;_l((g-c|0)+a|0,c,O[b|0]|O[b+1|0]<<8);break f;case 12:break g;default:break f}}if((c|0)<=0){break f}b=(g-c|0)+a|0;d=N[d+20>>2]+(e<<1)|0;d=O[d|0]|O[d+1|0]<<8;while(1){e=_l(b,c,d);b=e+b|0;c=c-e|0;if((c|0)>0){continue}break}}c=O[f|0];i:{if(!c){break i}d=c&3;if(d){b=0;while(1){L[a+g|0]=O[f+1|0];g=g+1|0;f=f+1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}b=c&252}else{b=c}h=b;if(c>>>0<4){break i}while(1){b=a+g|0;L[b|0]=O[f+1|0];L[b+1|0]=O[f+2|0];L[b+2|0]=O[f+3|0];L[b+3|0]=O[f+4|0];g=g+4|0;f=f+4|0;h=h-4|0;if(h){continue}break}}return g}function jf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=1;a:{b:{if(!N[b>>2]){b=c;break b}if(!N[c>>2]){break b}m=0;if(N[c+8>>2]>2]){break a}}d=N[a+20>>2];c:{if(!d){break c}f=N[b+8>>2];d:{while(1){h=N[(T(g,20)+a|0)+36>>2];if((h|0)>=(f|0)){break d}g=g+1|0;if((d|0)!=(g|0)){continue}break}g=d;break c}if(O[(T(g,20)+a|0)+28|0]&8|(!m&(h|0)<=N[c+8>>2]|(f|0)==(h|0))){break a}}d=N[a+4>>2];if(!(!O[d+12|0]|O[b|0]&16)){e:{if(!m){j=_c(d,(N[b+8>>2]+N[c+8>>2]|0)/2|0);e=N[c+8>>2]-N[b+8>>2]|0;i=(e|0)/2|0;f=i>>31;h=N[a+16>>2];d=h>>31;f=(f^i)-f|0;d=(d^h)-d|0;f:{if(f+(d>>>8|0)>>>0<=8190){d=T(d,f)+32768>>>16|0;break f}i=f&65535;d=T(i,d>>>16|0)+T(d,f>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=(e|0)<-1^(h|0)<0?0-d|0:d;N[b+12>>2]=j-d;f=d+j|0;d=c;break e}f=_c(d,N[b+8>>2]);d=b}N[d+12>>2]=f}if(N[b+12>>2]>2]?g:0){break a}d=N[a+20>>2];g:{if(d>>>0<=g>>>0){break g}f=N[(T(g,20)+a|0)+40>>2];if(!m){if((f|0)>=N[c+12>>2]){break g}break a}if((f|0)>2]){break a}}h=d+!m|0;if(h>>>0>191){break a}j=d-g|0;h:{if(!j){break h}k=g+1|0;i:{if(!(j&1)){f=d;break i}e=a+28|0;i=e+T(h,20)|0;f=d-1|0;e=e+T(f,20)|0;l=N[e+4>>2];N[i>>2]=N[e>>2];N[i+4>>2]=l;N[i+16>>2]=N[e+16>>2];l=N[e+12>>2];N[i+8>>2]=N[e+8>>2];N[i+12>>2]=l;h=h-1|0;j=j-1|0}if((d|0)==(k|0)){break h}i=a+28|0;while(1){k=i+T(f,20)|0;e=k-20|0;l=N[e+4>>2];d=i+T(h,20)|0;N[d>>2]=N[e>>2];N[d+4>>2]=l;N[d+16>>2]=N[e+16>>2];l=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=l;e=k-40|0;k=N[e+4>>2];d=d-20|0;N[d>>2]=N[e>>2];N[d+4>>2]=k;k=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=k;N[d+16>>2]=N[e+16>>2];h=h-2|0;f=f-2|0;j=j-2|0;if(j){continue}break}}d=T(g,20)+a|0;N[d+44>>2]=N[b+16>>2];g=N[b+12>>2];N[d+36>>2]=N[b+8>>2];N[d+40>>2]=g;g=N[b+4>>2];N[d+28>>2]=N[b>>2];N[d+32>>2]=g;N[a+20>>2]=N[a+20>>2]+1;if(m){break a}N[d- -64>>2]=N[c+16>>2];b=N[c+12>>2];N[d+56>>2]=N[c+8>>2];N[d+60>>2]=b;b=N[c+4>>2];N[d+48>>2]=N[c>>2];N[d+52>>2]=b;N[a+20>>2]=N[a+20>>2]+1}}function ro(a){var b=0,c=0,d=0,e=0,f=0;f=La-16|0;La=f;a:{while(1){b:{c:{d:{b=O[a|0];switch(b|0){case 0:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 9:break c;default:break d}}if((b|0)!=32){break b}}a=a+1|0;continue}break}c=nb(a);b=c+a|0;e:{if((c|0)<=0){break e}while(1){c=b-1|0;d=O[c|0];if((d|0)!=32&(d|0)!=9){break e}b=c;if(b>>>0>a>>>0){continue}break}b=a}c=a;a=b-a|0;a=a>>>0>=15?15:a;F(f,c,a);L[a|f]=0;a=f;b=15619;while(1){f:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break f}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=2;if((c|0)==(d|0)){break a}a=f;b=21753;while(1){g:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break g}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=3;if((c|0)==(d|0)){break a}a=f;b=21760;while(1){h:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break h}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=4;if((c|0)==(d|0)){break a}a=f;b=21367;while(1){i:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break i}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=5;if((c|0)==(d|0)){break a}a=f;b=21374;while(1){j:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break j}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=6;if((c|0)==(d|0)){break a}a=f;b=13166;while(1){k:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break k}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=7;if((c|0)==(d|0)){break a}a=f;b=13174;while(1){l:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break l}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=8;if((c|0)==(d|0)){break a}a=f;b=17788;while(1){m:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break m}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=9;if((c|0)==(d|0)){break a}a=f;b=17795;while(1){n:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break n}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=(c|0)==(d|0)?10:1}La=f+16|0;return b}function $a(a,b){var 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;if(!a){return kb(b)}a:{if(b>>>0>4294967231){break a}f=b>>>0<11?16:b+11&-8;e=a-8|0;i=N[e+4>>2];d=i&-8;b:{if(!(i&3)){if(f>>>0<256){break b}if(d>>>0>=f+4>>>0){c=e;if(d-f>>>0<=N[147437]<<1>>>0){break b}}c=0;break b}g=d+e|0;c:{if(d>>>0>=f>>>0){c=d-f|0;if(c>>>0<16){break c}N[e+4>>2]=i&1|f|2;d=e+f|0;N[d+4>>2]=c|3;N[g+4>>2]=N[g+4>>2]|1;Hn(d,c);break c}if(N[147323]==(g|0)){d=d+N[147320]|0;if(d>>>0<=f>>>0){break b}N[e+4>>2]=i&1|f|2;c=e+f|0;d=d-f|0;N[c+4>>2]=d|1;N[147320]=d;N[147323]=c;break c}if(N[147322]==(g|0)){d=d+N[147319]|0;if(d>>>0>>0){break b}c=d-f|0;d:{if(c>>>0>=16){N[e+4>>2]=i&1|f|2;h=e+f|0;N[h+4>>2]=c|1;d=d+e|0;N[d>>2]=c;N[d+4>>2]=N[d+4>>2]&-2;break d}N[e+4>>2]=d|i&1|2;c=d+e|0;N[c+4>>2]=N[c+4>>2]|1;c=0}N[147322]=h;N[147319]=c;break c}h=N[g+4>>2];if(h&2){break b}j=d+(h&-8)|0;if(j>>>0>>0){break b}l=j-f|0;e:{if(h>>>0<=255){c=N[g+12>>2];d=N[g+8>>2];if((c|0)==(d|0)){o=589268,p=N[147317]&ZE(-2,h>>>3|0),N[o>>2]=p;break e}N[d+12>>2]=c;N[c+8>>2]=d;break e}k=N[g+24>>2];d=N[g+12>>2];f:{if((g|0)!=(d|0)){c=N[g+8>>2];N[c+12>>2]=d;N[d+8>>2]=c;break f}g:{c=g+20|0;h=N[c>>2];if(!h){h=N[g+16>>2];if(!h){break g}c=g+16|0}while(1){m=c;d=h;c=d+20|0;h=N[c>>2];if(h){continue}c=d+16|0;h=N[d+16>>2];if(h){continue}break}N[m>>2]=0;break f}d=0}if(!k){break e}c=N[g+28>>2];h=(c<<2)+589572|0;h:{if(N[h>>2]==(g|0)){N[h>>2]=d;if(d){break h}o=589272,p=N[147318]&ZE(-2,c),N[o>>2]=p;break e}N[(N[k+16>>2]==(g|0)?16:20)+k>>2]=d;if(!d){break e}}N[d+24>>2]=k;c=N[g+16>>2];if(c){N[d+16>>2]=c;N[c+24>>2]=d}c=N[g+20>>2];if(!c){break e}N[d+20>>2]=c;N[c+24>>2]=d}if(l>>>0<=15){N[e+4>>2]=i&1|j|2;c=e+j|0;N[c+4>>2]=N[c+4>>2]|1;break c}N[e+4>>2]=i&1|f|2;c=e+f|0;N[c+4>>2]=l|3;d=e+j|0;N[d+4>>2]=N[d+4>>2]|1;Hn(c,l)}c=e}if(c){return c+8|0}c=kb(b);if(!c){break a}e=N[a-4>>2];e=(e&3?-4:-8)+(e&-8)|0;Pc(c,a,b>>>0>e>>>0?e:b);_a(a);n=c}return n}function tl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{if(!b){break d}d=N[b>>2];if(!d){break d}if((d|0)<=0){break c}N[b>>2]=d+1}N[a+32>>2]=b;e:{f:{while(1){L[a+24|0]=c;e=N[a+32>>2];d=N[e+12>>2];N[a+4>>2]=d;f=N[e+16>>2];g=f+d|0;N[a+8>>2]=g;if((f|0)<0){break b}N[a+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(e);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}g:{if(f>>>0<2){break g}N[a+12>>2]=c-2;if(!(O[d|0]|O[d+1|0]<<8)){break g}e=d+4|0;if((f&-4)==4|e>>>0>g>>>0){break g}N[a+12>>2]=c-6;c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=c>>>0<=1?1:c;g=0;f=d+8|0;c=f;h:{while(1){if(!ol(c,a)){break h}i=c;c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}if(!N[a+28>>2]){break f}N[a+28>>2]=0;if(d>>>0>2]){break g}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}g=N[a+12>>2];h=g-2|0;N[a+12>>2]=h;if(!(O[d|0]|O[d+1|0]<<8)|(h|0)<=0|(c>>>0>>0|c-e>>>0<4)){break g}c=g-6|0;N[a+12>>2]=c;if((c|0)<=0){break g}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0<=1?1:c;c=0;while(1){g=ol(f,a);if(g){d=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+f|0;c=c+1|0;if((e|0)!=(c|0)){continue}}break}if(N[a+28>>2]){break g}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(g){break e}break a}if(O[a+24|0]|!N[a+28>>2]){break g}d=zb(b);N[a+4>>2]=d;N[a+8>>2]=d+N[b+16>>2];c=1;if(d){continue}}break}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break a}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}ab(b);return 275552}function rl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{if(!b){break d}d=N[b>>2];if(!d){break d}if((d|0)<=0){break c}N[b>>2]=d+1}N[a+32>>2]=b;e:{f:{while(1){L[a+24|0]=c;e=N[a+32>>2];d=N[e+12>>2];N[a+4>>2]=d;f=N[e+16>>2];g=f+d|0;N[a+8>>2]=g;if((f|0)<0){break b}N[a+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(e);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}g:{if(f>>>0<2){break g}N[a+12>>2]=c-2;if(!(O[d|0]|O[d+1|0]<<8)){break g}e=d+4|0;if((f&-4)==4|e>>>0>g>>>0){break g}N[a+12>>2]=c-6;c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=c>>>0<=1?1:c;g=0;f=d+8|0;c=f;h:{while(1){if(!pl(c,a)){break h}i=c;c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}if(!N[a+28>>2]){break f}N[a+28>>2]=0;if(d>>>0>2]){break g}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}g=N[a+12>>2];h=g-2|0;N[a+12>>2]=h;if(!(O[d|0]|O[d+1|0]<<8)|(h|0)<=0|(c>>>0>>0|c-e>>>0<4)){break g}c=g-6|0;N[a+12>>2]=c;if((c|0)<=0){break g}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0<=1?1:c;c=0;while(1){g=pl(f,a);if(g){d=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+f|0;c=c+1|0;if((e|0)!=(c|0)){continue}}break}if(N[a+28>>2]){break g}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(g){break e}break a}if(O[a+24|0]|!N[a+28>>2]){break g}d=zb(b);N[a+4>>2]=d;N[a+8>>2]=d+N[b+16>>2];c=1;if(d){continue}}break}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break a}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}ab(b);return 275552}function nE(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1668049255;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[147450];if(!c){Dl();c=N[147450]}if(c&4){c=N[a+88>>2];d:{e:{f:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1801810542;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}c=N[a+88>>2];g:{h:{i:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break h}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Xf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=La-16|0;La=k;f=6;a:{if(!a){break a}h=N[a+12>>2];if(h>>>0<=b>>>0){break a}j=N[a>>2];b:{c:{d:{e:{f:{g=N[a+28>>2];if(!g){g=O[a+16|0];h=(N[a+8>>2]+N[a+4>>2]|0)+T(g,b)|0;e=N[j+20>>2];g:{if(e){f=85;if(Qa[e|0](j,h,0,0)|0){break a}g=O[a+16|0];e=N[a>>2];i=N[e+4>>2];break g}f=85;e=j;i=N[e+4>>2];if(h>>>0>i>>>0){break a}}N[j+8>>2]=h;h:{h=N[e+8>>2];if(h>>>0>>0){f=N[e+20>>2];i:{if(f){f=Qa[f|0](e,h,k+8|0,g)|0;break i}f=i-h|0;f=f>>>0>>0?f:g;F(k+8|0,h+N[e>>2]|0,f)}N[e+8>>2]=f+h;if(f>>>0>=g>>>0){break h}}f=85;break a}j:{g=O[a+16|0];if(g){f=0;e=0;i=0;if(g>>>0>=4){e=g&252;i=(k+e|0)+4|0;i=(O[i|0]<<16|O[i+1|0]<<8|O[i+2|0])<<8|O[i+3|0]}g=g&3;if(g){while(1){i=O[(k+8|0)+e|0]|i<<8;e=e+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(i){break j}}i=0;f=0;break e}while(1){f=85;e=N[a>>2];l=N[e+4>>2];g=N[e+8>>2];k:{if(l>>>0<=g>>>0){break k}h=O[a+16|0];m=N[e+20>>2];l:{if(m){l=Qa[m|0](e,g,k+12|0,h)|0;break l}l=l-g|0;l=h>>>0>l>>>0?l:h;F(k+12|0,g+N[e>>2]|0,l)}N[e+8>>2]=g+l;if(h>>>0>l>>>0){break k}h=O[a+16|0];if(!h){f=0;break k}g=0;f=0;e=0;if(h>>>0>=4){f=h&252;e=(k+f|0)+8|0;e=(O[e|0]<<16|O[e+1|0]<<8|O[e+2|0])<<8|O[e+3|0]}h=h&3;if(h){while(1){e=O[(k+12|0)+f|0]|e<<8;f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}f=0;if(e){break f}}b=b+1|0;if(b>>>0>2]){continue}break}break e}f=0;i=N[g+(b<<2)>>2];if(!i){i=0;break e}while(1){b=b+1|0;e=N[g+(b<<2)>>2];if(e){break f}if((b|0)!=(h|0)){continue}break}break e}b=N[j+4>>2]+1|0;if(e>>>0<=b>>>0){break d}g=N[a+20>>2];break c}b=N[j+4>>2]+1|0;e=0}g=N[a+20>>2];if(g>>>0<=b-e>>>0){break b}}e=b-g|0}if(!(!i|e>>>0<=i>>>0)){b=e-i|0;N[d>>2]=b;d=N[a+32>>2];if(d){N[c>>2]=(d+i|0)-1;break a}a=(N[a+20>>2]+i|0)-1|0;d=N[j+20>>2];m:{if(d){f=85;if(!(Qa[d|0](j,a,0,0)|0)){break m}break a}f=85;if(a>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=a;f=fc(j,b,c);break a}N[c>>2]=0;N[d>>2]=0}La=k+16|0;return f}function vg(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;h=La+-64|0;La=h;N[h>>2]=N[b>>2];N[h+4>>2]=N[c>>2];l=O[e+9|0];n=l?10:9;while(1){g=(i<<2)+h|0;o=g;m=N[g>>2];N[g+8>>2]=m;if(O[e+i|0]){g=N[a+8>>2];a:{if(N[a+12>>2]-g>>3>>>0<=j>>>0){g=0;k=N[a+4>>2];if(!k|N[k>>2]){break a}N[k>>2]=130;break a}b:{c:{d:{g=g+(j<<3)|0;switch(N[g+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}g=N[g>>2]<<16;break a}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break a}g=N[g>>2]}N[o+8>>2]=g+m;j=j+1|0}i=i+1|0;if((n|0)!=(i|0)){continue}break}if(!l){N[h+44>>2]=N[c>>2]}e:{if(f){f=N[h+44>>2];i=f-N[c>>2]|0;e=i>>31;i=(e^i)-e|0;g=N[h+40>>2];k=g-N[b>>2]|0;e=k>>31;k=(e^k)-e|0;e=N[a+8>>2];f:{if(N[a+12>>2]-e>>3>>>0<=j>>>0){j=0;e=N[a+4>>2];if(!e|N[e>>2]){break f}N[e>>2]=130;break f}g:{h:{i:{e=e+(j<<3)|0;switch(N[e+4>>2]-1|0){case 0:break h;case 1:break i;default:break g}}j=N[e>>2]<<16;break f}e=N[e>>2];j=((e>>31)+e|0)- -8192>>14;break f}j=N[e>>2]}if((i|0)<(k|0)){i=g+j|0;e=N[c>>2];break e}i=N[b>>2];e=f+j|0;break e}j:{if(O[e+10|0]){g=N[h+40>>2];f=N[a+8>>2];k:{if(N[a+12>>2]-f>>3>>>0<=j>>>0){f=0;i=N[a+4>>2];if(!i|N[i>>2]){break k}N[i>>2]=130;break k}l:{m:{n:{f=f+(j<<3)|0;switch(N[f+4>>2]-1|0){case 0:break m;case 1:break n;default:break l}}f=N[f>>2]<<16;break k}f=N[f>>2];f=((f>>31)+f|0)- -8192>>14;break k}f=N[f>>2]}j=j+1|0;i=f+g|0;break j}i=N[b>>2]}if(O[e+11|0]){f=N[h+44>>2];e=N[a+8>>2];o:{if(N[a+12>>2]-e>>3>>>0<=j>>>0){e=N[a+4>>2];g=0;if(!e|N[e>>2]){break o}N[e>>2]=130;e=f;break e}p:{q:{r:{e=e+(j<<3)|0;switch(N[e+4>>2]-1|0){case 0:break q;case 1:break r;default:break p}}e=(N[e>>2]<<16)+f|0;break e}e=N[e>>2];e=(((e>>31)+e|0)- -8192>>14)+f|0;break e}g=N[e>>2]}e=f+g|0;break e}f=N[h+44>>2];e=N[c>>2]}Cd(d,N[h+8>>2],N[h+12>>2],N[h+16>>2],N[h+20>>2],N[h+24>>2],N[h+28>>2]);Cd(d,N[h+32>>2],N[h+36>>2],N[h+40>>2],f,i,e);N[a+12>>2]=N[a+8>>2];N[b>>2]=i;N[c>>2]=e;La=h- -64|0}function Om(a,b,c){a=a|0;b=b|0;c=c|0;var 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;l=La+-64|0;La=l;f=N[a+532>>2];d=6;a:{if(!f){break a}e=N[f+4>>2];o=b>>>0>e>>>0?e:b;b:{c:{if(e){p=f+88|0;while(1){b=p+T(h,12)|0;j=N[b+8>>2];k=N[b+4>>2];d:{if(h>>>0>>0){i=O[b|0];d=N[(h<<2)+c>>2];break d}i=O[b|0];d=(N[((i<<2)+k|0)-4>>2]-N[k>>2]|0)/2|0}q=(h<<2)+l|0;e:{f:{if(!i){break f}b=0;g=-1;g:{h:{while(1){m=b<<2;n=N[m+k>>2];if((n|0)==(d|0)){break g}if((d|0)<(n|0)){break h}g=b;b=b+1|0;if((i|0)!=(b|0)){continue}break}if(!i){break f}b=N[((i<<2)+j|0)-4>>2];break e}if((g|0)<0){break f}i=d;b=g<<2;d=N[b+k>>2];b=jb(i-d|0,N[j+m>>2]-N[b+j>>2]|0,n-d|0);break e}b=N[j+m>>2];break e}b=N[j>>2]}N[q>>2]=b;h=h+1|0;if(e>>>0>h>>>0){continue}break}j=N[f>>2];d=-1;if(!j){break a}f=N[f+136>>2];c=f;if(!e){break c}h=0;c=e;i=0;while(1){d=65536;b=0;i:{if(!c){break i}while(1){j:{if(b>>>0>=e>>>0){d=d>>1;break j}g=N[(b<<2)+l>>2];g=i>>>b&1?g:65536-g|0;if((g|0)<=0){d=0;b=c;break i}if(g>>>0>65535){break j}c=d>>31;c=(c^d)-c|0;k:{if(c+(g>>>8|0)>>>0<=8190){c=T(c,g)+32768>>>16|0;break k}k=c&65535;c=T(k,g>>>16|0)+T(g,c>>>16|0)+(T(k,g&65535)+32768>>>16)|0}d=(d|0)<0?0-c|0:c}b=b+1|0;c=e;if(b>>>0>>0){continue}break}b=e}c=f+(i<<2)|0;if(N[c>>2]!=(d|0)){N[c>>2]=d;h=1}c=b;i=i+1|0;if((i|0)!=(j|0)){continue}break}break b}j=N[f>>2];d=-1;if(!j){break a}c=N[f+136>>2]}g=j&3;d=0;l:{if(j>>>0<4){h=0;b=0;break l}i=j&-4;h=0;b=0;while(1){e=b<<2;f=e+c|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}f=c+(e|4)|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}f=c+(e|8)|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}e=c+(e|12)|0;if(N[e>>2]!=65536){N[e>>2]=65536;h=1}b=b+4|0;if((i|0)!=(b|0)){continue}break}}if(!g){break b}while(1){e=c+(b<<2)|0;if(N[e>>2]!=65536){N[e>>2]=65536;h=1}b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=-1;if(!(h&255)){break a}N[a+8>>2]=N[a+8>>2]&-32769|((o|0)!=0)<<15;d=0}La=l- -64|0;return d|0}function jg(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,o=0,p=0;if(N[a+72>>2]==1869968492){if(c){m=N[c>>2];j=N[c+4>>2]}c=0;f=M[a+110>>1];a:{if(!f){break a}h=N[a+112>>2];c=N[h+4>>2];e=N[h>>2];if((f|0)<2){g=c;d=e;break a}i=(f<<3)+h|0;f=h+8|0;d=e;g=c;while(1){k=N[h+12>>2];g=(g|0)<(k|0)?k:g;c=(c|0)>(k|0)?k:c;h=N[h+8>>2];d=(d|0)<(h|0)?h:d;e=(e|0)>(h|0)?h:e;h=f;f=f+8|0;if(i>>>0>f>>>0){continue}break}}h=j&63;n=h+(g&63)|0;f=m&63;l=f+(d&63)|0;o=h+(c&63)|0;p=f+(e&63)|0;h=6;f=g>>6;g=j>>6;f=f+g|0;i=d>>6;d=m>>6;i=i+d|0;k=g+(c>>6)|0;m=d+(e>>6)|0;b:{c:{d:{switch(b-2|0){default:g=i+(l+63>>>6|0)|0;c=m+(p>>>6|0)|0;e=g-c|0;h=2;f=f+(n+63>>>6|0)|0;d=k+(o>>>6|0)|0;j=f-d|0;break c;case 0:d=l+32|0;g=i+(d>>>6|0)|0;b=p+31|0;c=(b>>>6|0)+m|0;e:{if((g|0)==(c|0)){if((((d&63)+(b&63)|0)-31|0)<=31){g=c;c=c-1|0;break e}g=c+1|0}}e=n+32|0;f=f+(e>>>6|0)|0;b=o+31|0;d=(b>>>6|0)+k|0;f:{if((f|0)==(d|0)){if((((e&63)+(b&63)|0)-31|0)<=31){f=d;d=d-1|0;break f}f=d+1|0}}j=f-d|0;h=1;e=g-c|0;b=e+15>>3&-2;break b;case 1:g=N[a>>2];e=N[g+184>>2];d=N[g+192>>2];b=(d|0)>(e|0)?e:d;c=N[g+200>>2];f=((n-((b|0)<(c|0)?b:c)|0)+63>>6)+f|0;b=(d|0)<(e|0)?e:d;d=(o-((b|0)>(c|0)?b:c)>>6)+k|0;j=f-d|0;h=5;k=i;i=N[g+180>>2];e=N[g+188>>2];b=(e|0)>(i|0)?i:e;c=N[g+196>>2];g=k+((l-((b|0)<(c|0)?b:c)|0)+63>>6)|0;b=(e|0)<(i|0)?i:e;c=(p-((b|0)>(c|0)?b:c)>>6)+m|0;e=T(g-c|0,3);b=e+3&-4;break b;case 2:break d}}g=l;l=N[a>>2];e=N[l+184>>2];d=N[l+192>>2];b=(d|0)>(e|0)?e:d;c=N[l+200>>2];g=((g-((b|0)<(c|0)?b:c)|0)+63>>6)+i|0;b=(d|0)<(e|0)?e:d;c=(p-((b|0)>(c|0)?b:c)>>6)+m|0;e=g-c|0;i=N[l+180>>2];j=N[l+188>>2];b=(i|0)>(j|0)?i:j;d=N[l+196>>2];f=((n+((b|0)>(d|0)?b:d)|0)+63>>6)+f|0;b=(i|0)<(j|0)?i:j;d=(((b|0)<(d|0)?b:d)+o>>6)+k|0;j=T(f-d|0,3)}b=e}N[a+104>>2]=f;N[a+100>>2]=c;N[a+76>>2]=j;L[a+94|0]=h;M[a+92>>1]=256;N[a+80>>2]=e;N[a+84>>2]=b;a=(c|0)<-32768|(g|0)>32767|(d|0)<-32768|(f|0)>32767}else{a=1}return a}function sf(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-72|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1719034226,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(Xi(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(Xi(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=Xi(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<16?275552:N[d+12>>2]}function Hc(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-84|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1297498450,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(ih(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(ih(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=ih(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<12?275552:N[d+12>>2]}function Ig(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-76|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1635148146,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(Wi(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(Wi(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=Wi(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<8?275552:N[d+12>>2]}function Qe(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=La-272|0;La=n;N[n+268>>2]=0;s=Lk(a,b,c,f,g,n+268|0,n);i=N[a+96>>2];c=N[i+64>>2];a:{if(s){f=N[i+68>>2];r=N[n+268>>2];m=f>>>0>>0?f:r;j=m-c|0;b:{if(j>>>0<2){break b}h=N[i+144>>2]|32;N[i+144>>2]=h;if(c>>>0>=m>>>0){break b}o=N[i+80>>2];g=-1;f=c;t=m+(c^-1)|0;if(t>>>0>=3){q=j&-4;while(1){l=o+T(f,20)|0;p=N[l+8>>2];g=g>>>0

>>0?g:p;p=N[l+28>>2];g=g>>>0

>>0?g:p;p=N[l+48>>2];g=g>>>0

>>0?g:p;l=N[l+68>>2];g=g>>>0>>0?g:l;f=f+4|0;k=k+4|0;if((q|0)!=(k|0)){continue}break}}l=j&3;if(l){k=0;while(1){q=N[(o+T(f,20)|0)+8>>2];g=g>>>0>>0?g:q;f=f+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(j&1){f=o+T(c,20)|0;if(N[f+8>>2]!=(g|0)){N[f+4>>2]=N[f+4>>2]|3}c=c+1|0}if(!t){break b}while(1){f=o+T(c,20)|0;if(N[f+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[f+4>>2]=N[f+4>>2]|3}f=o+T(c+1|0,20)|0;if(N[f+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[f+4>>2]=N[f+4>>2]|3}c=c+2|0;if((m|0)!=(c|0)){continue}break}}Kk(a,b,n,d,e,r);break a}if(!(O[i+16|0]&64)){break a}a=N[i+68>>2];b=N[n+268>>2];b=a>>>0>>0?a:b;d=b-c|0;if(d>>>0<2){break a}h=N[i+144>>2]|32;N[i+144>>2]=h;if(b>>>0<=c>>>0){break a}a=N[i+80>>2];g=-1;f=c;o=b+(c^-1)|0;if(o>>>0>=3){m=d&-4;while(1){e=a+T(f,20)|0;j=N[e+8>>2];g=g>>>0>>0?g:j;j=N[e+28>>2];g=g>>>0>>0?g:j;j=N[e+48>>2];g=g>>>0>>0?g:j;e=N[e+68>>2];g=e>>>0>g>>>0?g:e;f=f+4|0;k=k+4|0;if((m|0)!=(k|0)){continue}break}}e=d&3;if(e){k=0;while(1){m=N[(a+T(f,20)|0)+8>>2];g=g>>>0>>0?g:m;f=f+1|0;k=k+1|0;if((e|0)!=(k|0)){continue}break}}if(d&1){d=a+T(c,20)|0;if(N[d+8>>2]!=(g|0)){N[d+4>>2]=N[d+4>>2]|2}c=c+1|0}if(!o){break a}while(1){d=a+T(c,20)|0;if(N[d+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[d+4>>2]=N[d+4>>2]|2}d=a+T(c+1|0,20)|0;if(N[d+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[d+4>>2]=N[d+4>>2]|2}c=c+2|0;if((b|0)!=(c|0)){continue}break}}La=n+272|0;return s}function Iq(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1818914159;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];d:{e:{f:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1986686319;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break h}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1953131887;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function DC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!c){break a}p=(d<<1)+4|0;if(!p){while(1){m=m+8|0;if(m>>>0>>0){continue}break a}}n=d<<3;while(1){o=0;l=0;while(1){i=l-8|0;i=i>>>0>=n>>>0?440592:(i<<1)+b|0;g=P[i>>1];d=l>>>0>=n>>>0?440592:(l<<1)+b|0;e=P[d>>1];j=l-16|0;j=j>>>0>=n>>>0?440592:(j<<1)+b|0;h=P[j>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+16>>1]=(k+e&65534)>>>1;M[a>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+2>>1];e=P[d+2>>1];h=P[j+2>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+18>>1]=(k+e&65534)>>>1;M[a+2>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+4>>1];e=P[d+4>>1];h=P[j+4>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+20>>1]=(k+e&65534)>>>1;M[a+4>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+6>>1];e=P[d+6>>1];h=P[j+6>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+22>>1]=(k+e&65534)>>>1;M[a+6>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+8>>1];e=P[d+8>>1];h=P[j+8>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+24>>1]=(k+e&65534)>>>1;M[a+8>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+10>>1];e=P[d+10>>1];h=P[j+10>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+26>>1]=(k+e&65534)>>>1;M[a+10>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+12>>1];e=P[d+12>>1];h=P[j+12>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+28>>1]=(k+e&65534)>>>1;M[a+12>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;i=P[i+14>>1];f=P[d+14>>1];j=P[j+14>>1];d=(i+((f+j&65534)>>>1|0)&65534)>>>1|0;i=i+1|0;M[a+30>>1]=(i+((d+f&65534)>>>1|0)&65534)>>>1;M[a+14>>1]=(i+((d+j&65534)>>>1|0)&65534)>>>1;l=l+8|0;a=a+32|0;o=o+2|0;if(p>>>0>o>>>0){continue}break}b=(n<<1)+b|0;m=m+8|0;if(m>>>0>>0){continue}break}}}function Wl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+204>>2];if(h>>>0>=2){d=N[a+168>>2];c=N[a+8>>2];b=N[a+12>>2];if(b>>>0>=16){b=b^16;N[a+12>>2]=b;e=c>>>16|0;N[a+8>>2]=e;c=N[a+16>>2];f=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=e|f<<16;N[a+8>>2]=c}f=c>>>b|0;d=d+((f&255)<<2)|0;e=O[d|0];if(e>>>0>=9){d=(P[d+2>>1]+(N[(e<<2)+169360>>2]&f>>>8)<<2)+d|0;e=O[d|0];b=b+8|0}f=N[a+172>>2];j=P[d+2>>1];b=(e&255)+b|0;if(b>>>0>=16){b=b^16;N[a+12>>2]=b;d=c>>>16|0;N[a+8>>2]=d;c=N[a+16>>2];e=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=d|e<<16;N[a+8>>2]=c}g=c>>>b|0;d=f+((g&255)<<2)|0;e=O[d|0];if(e>>>0>=9){d=(P[d+2>>1]+(N[(e<<2)+169360>>2]&g>>>8)<<2)+d|0;e=O[d|0];b=b+8|0}b=b+(e&255)|0;d=P[d+2>>1];e=d<<2;g=P[e+169280>>1];f=O[e+169282|0];l=g;a:{if((d|0)!=25){if(b>>>0>=16){b=b^16;N[a+12>>2]=b;d=c>>>16|0;N[a+8>>2]=d;c=N[a+16>>2];e=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=d|e<<16;N[a+8>>2]=c}N[a+12>>2]=b+f;b=N[(f<<2)+169392>>2]&c>>>b;break a}b:{c:{if(b>>>0<=15){d=c>>>16|0;e=b+16|0;k=c>>>b&65535;i=N[a+20>>2];b=N[a+16>>2];break c}g=b^16;N[a+12>>2]=g;c=c>>>16|0;N[a+8>>2]=c;b=N[a+16>>2];d=O[b|0]|O[b+1|0]<<8;i=N[a+20>>2]-2|0;N[a+20>>2]=i;b=b+2|0;N[a+16>>2]=b;c=c|d<<16;N[a+8>>2]=c;k=c>>>g&65535;e=g+16|0;if(g>>>0>4294967279){break b}}N[a+8>>2]=d;e=e^16;N[a+12>>2]=e;c=O[b|0]|O[b+1|0]<<8;N[a+20>>2]=i-2;N[a+16>>2]=b+2;c=c<<16|d;N[a+8>>2]=c}b=f-16|0;N[a+12>>2]=b+e;b=(N[(b<<2)+169392>>2]&c>>>e)<<16|k}N[a+192>>2]=l+b;d:{e:{switch(j|0){case 1:b=N[a+220>>2]+1|0;break d;case 0:b=N[a+216>>2];break d;default:break e}}b=j-2|0}N[a+216>>2]=N[a+220>>2];b=b-(b>>>0>=h>>>0?h:0)|0;N[a+220>>2]=b;c=N[a+576>>2]+(b<<6)|0;N[a+112>>2]=c;N[a+176>>2]=N[((b>>>3&536870908)+a|0)+592>>2]>>>b&1;N[a+256>>2]=N[N[a+120>>2]+(O[c|0]<<2)>>2];N[a+108>>2]=((O[b+N[a+580>>2]|0]&3)<<9)+169536}}function tk(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;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}i=N[b+12>>2]-2|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=O[a|0]|O[a+1|0]<<8;if(!f){return 1}g=a+2|0;if(g>>>0>e>>>0){break b}g=e-g|0;e=(f<<8|f>>>8)&65535;f=e<<1;if(g>>>0>>0){break b}i=i-f|0;N[b+12>>2]=i;if((i|0)<=0){break b}n=e>>>0<=1?1:e;l=N[c>>2];while(1){j=N[b+4>>2];i=((k<<1)+a|0)+2|0;if(j>>>0>i>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-i>>>0<2){break a}g=N[b+12>>2];d=g-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[i|0]|O[i+1|0]<<8;c:{if(!d){break c}f=((d<<8|d>>>8)&65535)+l|0;d:{if(f>>>0>>0|e>>>0>>0|e-f>>>0<2){break d}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}h=O[f|0]|O[f+1|0]<<8;g=((h<<8|h>>>8)&65535)<<1;if(h){h=f+2|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break d}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break d}}f=(f+g|0)+2|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<2){break d}g=d-2|0;N[b+12>>2]=g;if((d|0)<3){break d}d=O[f|0]|O[f+1|0]<<8;e:{if(!d){d=2;break e}d=((d<<8|d>>>8)&65535)<<1;h=d-2|0;if(!h){d=2;break e}m=f+2|0;if(e>>>0>>0|h>>>0>e-m>>>0){break d}g=g-h|0;N[b+12>>2]=g;if((g|0)<=0){break d}}d=d+f|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break d}f=g-2|0;N[b+12>>2]=f;if((g|0)<3){break d}h=O[d|0]|O[d+1|0]<<8;g=((h<<8|h>>>8)&65535)<<1;if(h){h=d+2|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break d}f=f-g|0;N[b+12>>2]=f;if((f|0)<=0){break d}}d=(d+g|0)+2|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break d}g=f-2|0;N[b+12>>2]=g;if((f|0)<3){break d}f=O[d|0]|O[d+1|0]<<8;if(!f){break c}d=d+2|0;if(d>>>0>e>>>0){break d}d=e-d|0;e=((f<<8|f>>>8)&65535)<<2;if(d>>>0>>0){break d}e=g-e|0;N[b+12>>2]=e;if((e|0)>0){break c}}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[i|0]=0;L[i+1|0]=0;l=N[c>>2]}d=1;k=k+1|0;if((n|0)!=(k|0)){continue}break}}return d}return 0}function sh(a){var b=0;b=5;a:{b:{c:{d:{if((a|0)<=1315009121){if((a|0)<=1215655526){if((a|0)<=1130918514){if((a|0)<=1098018152){if((a|0)==1097100397){break b}if((a|0)!=1098015074){break c}break b}if((a|0)==1098018153){break b}if((a|0)!=1098281844){break c}break b}if((a|0)<=1164736876){if((a|0)==1130918515){break b}if((a|0)!=1131442804){break c}break b}if((a|0)==1164736877|(a|0)==1214346354){break b}if((a|0)!=1214603890){break c}break b}if((a|0)<=1298230883){if((a|0)<=1265131889){if((a|0)==1215655527){break a}if((a|0)!=1232363884){break c}break a}if((a|0)==1265131890){break b}if((a|0)!=1283023977){break c}break b}e:{switch(a-1298230884|0){case 0:case 5:break b;case 1:case 2:case 3:case 4:break c;default:break e}}switch(a-1298494051|0){case 0:case 12:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;default:break d}}if((a|0)<=1349678184){if((a|0)<=1348562028){if((a|0)<=1315663726){if((a|0)==1315009122){break b}if((a|0)!=1315070324){break c}break b}if((a|0)==1315663727|(a|0)==1332898664){break b}if((a|0)!=1333094258){break c}break b}f:{switch(a-1349020777|0){case 0:case 7:break b;case 1:case 2:case 3:case 4:case 5:case 6:break c;default:break f}}if((a|0)==1348562029){break b}if((a|0)!=1349021304){break c}break b}if((a|0)<=1399809891){if((a|0)<=1383427697){if((a|0)==1349678185){break b}if((a|0)!=1383032935){break c}break b}if((a|0)==1383427698){break a}if((a|0)==1398893938){break b}if((a|0)!=1398895202){break c}break b}if((a|0)<=1416126816){g:{switch(a-1399809892|0){case 0:case 11:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break g}}if((a|0)!=1400468067){break c}break b}if((a|0)==1416126817){break b}if((a|0)!=1499822697){break c}break b}if((a|0)==1298493028){break b}}b=4}return b}return 0}function _s(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=La-16|0;La=i;k=N[a+552>>2];a:{b:{c:{j=P[(b?a+296|0:a+216|0)+34>>1];if(!j){break c}f=N[(b?856:852)+a>>2];l=f+N[(b?756:752)+a>>2]|0;h=N[a+104>>2];if(c>>>0>>0){f=f+(c<<2)|0;if(f+4>>>0>l>>>0){break c}g=N[h+20>>2];d:{if(g){if(Qa[g|0](h,f,0,0)|0){break c}g=N[h+4>>2];break d}g=N[h+4>>2];if(g>>>0>>0){break c}}N[h+8>>2]=f;if(f+1>>>0>=g>>>0){break c}e:{f:{g=N[h+20>>2];g:{if(g){if((Qa[g|0](h,f,i+12|0,2)|0)!=2){break c}f=N[h+8>>2];g=i+12|0;break g}g=N[h>>2];if(!g){break f}g=f+g|0}g=O[g|0]|O[g+1|0]<<8;j=g<<8|g>>>8;break e}j=0}g=f+2|0;N[h+8>>2]=g;M[e>>1]=j;if(Q[h+4>>2]<=f+3>>>0){break c}h:{i:{f=N[h+20>>2];j:{if(f){if((Qa[f|0](h,g,i+12|0,2)|0)!=2){break c}g=N[h+8>>2];f=i+12|0;break j}f=N[h>>2];if(!f){break i}f=f+g|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break h}f=0}N[h+8>>2]=g+2;M[d>>1]=f;break a}f=f+(j<<2)|0;m=f-2|0;if(m>>>0>l>>>0){break c}g=f-4|0;f=N[h+20>>2];k:{if(f){if(Qa[f|0](h,g,0,0)|0){break c}f=N[h+4>>2];break k}f=N[h+4>>2];if(g>>>0>f>>>0){break c}}N[h+8>>2]=g;if(g+1>>>0>=f>>>0){break c}l:{m:{f=N[h+20>>2];n:{if(f){if((Qa[f|0](h,g,i+12|0,2)|0)!=2){break c}m=N[h+8>>2]+2|0;f=i+12|0;break n}f=N[h>>2];if(!f){break m}f=f+g|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break l}f=0}N[h+8>>2]=m;M[e>>1]=f;f=g+(c-j<<1)|0;if(f+6>>>0>l>>>0){M[d>>1]=0;break a}f=f+4|0;g=N[h+20>>2];o:{if(g){if(Qa[g|0](h,f,0,0)|0){break o}break b}if(f>>>0<=Q[h+4>>2]){break b}}M[d>>1]=0;break a}M[d>>1]=0;M[e>>1]=0;break a}N[h+8>>2]=f;n=d,o=xb(h,i+12|0),M[n>>1]=o}if(k){N[i+8>>2]=P[e>>1];f=M[d>>1];N[i+4>>2]=f;p:{q:{if(b){b=N[k+12>>2];if(b){Qa[b|0](a,c,i+8|0)|0}b=N[k+16>>2];if(b){break q}break p}b=N[k>>2];if(b){Qa[b|0](a,c,i+8|0)|0}b=N[k+4>>2];if(!b){break p}}Qa[b|0](a,c,i+4|0)|0;f=N[i+4>>2]}M[e>>1]=N[i+8>>2];M[d>>1]=f}La=i+16|0}function wl(a,b,c,d,e){var f=0,g=0,h=0,i=0;i=N[a+24>>2];f=N[a+36>>2];if(!(f|N[a+68>>2]?(f|0)!=1:0)){a:{if(!N[a+4>>2]){break a}b:{if((c|0)!=-1){break b}c=0;if(!N[b>>2]){break b}f=b;while(1){c=c+1|0;h=N[f+4>>2];f=f+4|0;if(h){continue}break}}h=(e|0)==-1?c-d|0:e;if(h>>>0>268435455){break a}f=N[a+68>>2];e=h+f|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break a}f=N[a+68>>2]}c:{if(f|!d){break c}N[a+132>>2]=0;if((d|0)<=0){break c}e=(d<<2)+b|0;g=e-4|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+92>>2]=f;N[a+132>>2]=1;if(b>>>0>=g>>>0){break c}g=e-8|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=2;N[a+96>>2]=f;if(b>>>0>=g>>>0){break c}g=e-12|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=3;N[a+100>>2]=f;if(b>>>0>=g>>>0){break c}g=e-16|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=4;N[a+104>>2]=f;if(b>>>0>=g>>>0){break c}f=N[e-20>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=5;N[a+108>>2]=f}f=(d<<2)+b|0;if((h|0)>0){g=(h<<2)+f|0;while(1){d=N[f>>2];if(!(d>>>0<55296|d-1114112>>>0>4293910527)){d=i}e=N[a+68>>2];h=e+1|0;d:{if(!(!h|h>>>0>2])){if(!gb(a,h)){break d}e=N[a+68>>2]}e=N[a+80>>2]+T(e,20)|0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;N[e>>2]=d;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;L[e+16|0]=0;L[e+17|0]=0;L[e+18|0]=0;L[e+19|0]=0;N[e+8>>2]=f-b>>2;N[e+4>>2]=0;N[a+68>>2]=N[a+68>>2]+1}f=f+4|0;if(g>>>0>f>>>0){continue}break}}e=0;N[a+136>>2]=0;b=(c<<2)+b|0;e:{if(b>>>0<=f>>>0){break e}while(1){d=N[f>>2];if(!(d>>>0<55296|d-1114112>>>0>4293910527)){d=i}N[a+136>>2]=e+1;N[((e<<2)+a|0)+112>>2]=d;f=f+4|0;if(b>>>0<=f>>>0){break e}e=N[a+136>>2];if(e>>>0<=4){continue}break}}N[a+36>>2]=1}return}ba(24107,14165,530,16333);B()}function Bp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a=rf(b,c);a:{if(a){break a}e=N[b+2740>>2];if(!(e&1)){a=Ap(b,0);if(a){break a}zp(b,d,0);e=N[b+2740>>2]}if(!(e&2)){a=Ap(b,1);if(a){break a}zp(b,d,1);e=N[b+2740>>2]}if(!(e&1)){yp(b,0);a=N[b+56>>2];b:{if((a|0)<=0){break b}e=N[b- -64>>2];j=e+T(a,44)|0;if(!(L[b+2744|0]&1)){while(1){h=N[e+8>>2]-N[e+4>>2]|0;g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+16>>2]=h+N[f+16>>2];M[f>>1]=P[f>>1]|4;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break b}}while(1){h=N[e+8>>2];g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+16>>2]=h;M[f>>1]=P[f>>1]|4;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break}}Hg(b,0);Gg(b,0);e=N[b+2740>>2]}if(!(e&2)){yp(b,1);a=N[b+1404>>2];c:{if((a|0)<=0){break c}e=N[b+1412>>2];j=e+T(a,44)|0;if(!(O[b+2744|0]&2)){while(1){h=N[e+8>>2]-N[e+4>>2]|0;g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+20>>2]=h+N[f+20>>2];M[f>>1]=P[f>>1]|8;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break c}}while(1){h=N[e+8>>2];g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+20>>2]=h;M[f>>1]=P[f>>1]|8;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break}}Hg(b,1);Gg(b,1)}a=N[b+24>>2];if((a|0)<=0){return 0}e=N[b+28>>2];f=e+T(a,40)|0;d=N[c+4>>2];b=N[c+8>>2];while(1){N[d>>2]=N[e+16>>2];N[d+4>>2]=N[e+20>>2];a=0;c=P[e>>1];L[b|0]=c&1?0:c&2?2:1;b=b+1|0;d=d+8|0;e=e+40|0;if(f>>>0>e>>>0){continue}break}}return a|0}function mB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La+-64|0;La=h;i=N[a+8>>2];e=18;a:{b:{c:{if(N[b+72>>2]!=N[a+16>>2]){break c}e=19;if((c|0)!=5){break b}g=N[b+156>>2];f=N[g+4>>2];if(f&1){c=N[b+88>>2];if(c){Qa[N[i+8>>2]](i,c);g=N[b+156>>2];f=N[g+4>>2]}N[b+88>>2]=0;N[g+4>>2]=f&-2}g=0;e=98;f=0;if(jg(b,0,d)){break b}c=0;d:{l=b+76|0;e=N[l>>2];if(!(!e|!N[b+84>>2])){k=N[a+64>>2];L[b+94|0]=2;M[b+92>>1]=255;f=e;e=k<<1;f=f+e|0;N[b+76>>2]=f;j=e+N[b+80>>2]|0;N[b+80>>2]=j;N[b+84>>2]=j;if((f|j)<0){e=6;break d}e=0;e:{f:{if(!(!j|!f)){e=10;if((f|0)>(2147483647/(j>>>0)|0)){break d}g=T(f,j);e=Qa[N[i+4>>2]](i,g)|0;if(!e|(f|0)<=0){break f}C(e,0,g)}N[b+88>>2]=e;break e}N[b+88>>2]=e;if(e){break e}e=!e<<6;g=0;break c}e=N[b+156>>2];N[e+4>>2]=N[e+4>>2]|1;e=N[b+104>>2]+k|0;N[b+104>>2]=e;f=N[b+100>>2]-k|0;N[b+100>>2]=f;g=N[b+76>>2]-e<<6;f=0-(f<<6)|0;if(d){f=N[d>>2]+f|0;g=N[d+4>>2]+g|0}d=b+108|0;if(f|g){te(d,f,g)}N[h+16>>2]=8;N[h+12>>2]=d;N[h+8>>2]=l;N[h+56>>2]=N[a+64>>2];L[h+60|0]=O[a+68|0];L[h+61|0]=O[a+69|0];L[h+62|0]=O[a+70|0];e=Qa[N[a+56>>2]](N[a+52>>2],h+8|0)|0;if(e){break b}}N[b+72>>2]=1651078259;break a}N[b+88>>2]=0}f=0}a=N[b+156>>2];c=N[a+4>>2];if(c&1){d=N[b+88>>2];if(d){Qa[N[i+8>>2]](i,d);a=N[b+156>>2];c=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=c&-2}c=e}g:{if(!(f|g)){break g}d=M[b+110>>1];if((d|0)<=0){break g}b=N[b+112>>2];if(d>>>0>=4){e=d&-4;a=0;while(1){N[b>>2]=N[b>>2]-f;N[b+4>>2]=N[b+4>>2]-g;N[b+8>>2]=N[b+8>>2]-f;N[b+16>>2]=N[b+16>>2]-f;N[b+24>>2]=N[b+24>>2]-f;N[b+12>>2]=N[b+12>>2]-g;N[b+20>>2]=N[b+20>>2]-g;N[b+28>>2]=N[b+28>>2]-g;b=b+32|0;a=a+4|0;if((e|0)!=(a|0)){continue}break}}d=d&3;if(!d){break g}a=0;while(1){N[b>>2]=N[b>>2]-f;N[b+4>>2]=N[b+4>>2]-g;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}La=h- -64|0;return c|0}function mf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=La-528|0;La=h;N[h+16>>2]=N[a+60>>2];N[h+20>>2]=N[a+64>>2];N[h+12>>2]=c;N[h+8>>2]=b;N[h+4>>2]=e;N[h>>2]=d;c=h;a:{while(1){l=N[c>>2];i=N[c+4>>2];f=N[c+20>>2];b=(i|0)>(f|0);j=N[c+12>>2];b:{if(!((j|0)>=((b?f:i)|0)&(j|0)<=(((f|0)>(i|0)?f:i)|0))){b=N[c+16>>2];N[c+32>>2]=b;N[c+36>>2]=f;d=f+j|0;N[c+28>>2]=d>>1;e=i+j|0;N[c+12>>2]=e>>1;f=N[c+8>>2];j=f+l|0;N[c+8>>2]=j>>1;b=b+f|0;N[c+24>>2]=b>>1;N[c+20>>2]=d+e>>2;N[c+16>>2]=b+j>>2;c=c+16|0;break b}c:{if((f|0)==(i|0)){break c}m=b?1:2;g=N[a+92>>2];if((m|0)!=(g|0)){b=N[a+4>>2];n=(f|0)>=(i|0);e=n?f&b-1:((b+f|0)-1&0-b)-f|0;d=N[a+36>>2];k=N[a+8>>2];d:{if(!g){b=d;break d}g=N[a+80>>2];b=N[g+8>>2];o=d-b|0;if((o|0)<0){N[a+40>>2]=99;a=1;break a}e:{if((b|0)==(d|0)){b=d;break e}N[g+16>>2]=o>>2;if((e|0)>=(k|0)){b=P[g+12>>1];M[g+12>>1]=(b&8?16:32)|b}N[a+80>>2]=d;b=d+32|0;N[a+36>>2]=b;N[d+8>>2]=b;N[d+16>>2]=0;N[g+28>>2]=d;M[a+76>>1]=P[a+76>>1]+1}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}L[a+79|0]=0}if(!N[a+84>>2]){N[a+84>>2]=b;N[a+80>>2]=b;b=b+32|0;N[a+36>>2]=b}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}d=N[a+80>>2];N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=b;N[d+28>>2]=0;N[d+4>>2]=0;b=O[a+48|0];M[d+12>>1]=b;f:{g:{if(!n){M[d+12>>1]=b|8;g=40;if((e|0)>=(k|0)){break g}break f}g=16;if((e|0)<(k|0)){break f}}M[d+12>>1]=b|g}if(!N[a+88>>2]){N[a+88>>2]=d}M[a+78>>1]=1;N[a+92>>2]=m}b=N[a+72>>2];d=N[a+68>>2];if((f|0)<(i|0)){if(!yg(a,2,c,353,d,b)){break c}a=1;break a}N[c+20>>2]=0-f;N[c+12>>2]=0-j;N[c+4>>2]=0-i;e=O[a+78|0];b=yg(a,2,c,353,0-b|0,0-d|0);if(!(O[a+78|0]|!e)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}N[c+4>>2]=0-N[c+4>>2];if(!b){break c}a=1;break a}c=c-16|0}if(h>>>0<=c>>>0){continue}break}N[a+64>>2]=i;N[a+60>>2]=l;a=0}La=h+528|0;return a}function Hi(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=La+-64|0;La=g;v=N[b+20>>2];w=N[b+16>>2];x=N[b+12>>2];p=N[b+4>>2];i=x-p|0;u=i>>31;y=N[b+28>>2];h=y-p|0;n=h>>31;c=UE(i,u,h,n);j=Pa;z=N[b+8>>2];q=N[b>>2];m=z-q|0;A=N[b+24>>2];e=A-q|0;k=e;r=m>>31;o=e>>31;f=UE(m,r,e,o);d=f+c|0;c=Pa+j|0;c=d>>>0>>0?c+1|0:c;a:{b:{j=N[a>>2];e=e>>31;e=(k^e)-e|0;f=h>>31;f=(f^h)-f|0;e=UE(j,j>>31,e>>>0>f>>>0?e:f,0);C=0-e|0;j=Pa;B=0-(j+((e|0)!=0)|0)|0;f=B;if(C>>>0>d>>>0&(f|0)>=(c|0)|(c|0)<(f|0)){break b}l=d;d=c;c=UE(h,n,h,n);s=Pa;t=UE(k,o,k,o);f=t+c|0;c=Pa+s|0;c=(f>>>0>>0?c+1|0:c)+j|0;s=f;f=e+f|0;c=s>>>0>f>>>0?c+1|0:c;s=f;l=f>>>0>>0;f=c;if(l&(c|0)<=(d|0)|(c|0)<(d|0)){break b}c=UE(i,u,k,o);d=Pa;i=UE(h,n,m,r);m=c-i|0;c=d-(Pa+(c>>>0>>0)|0)|0;l=c;c=c>>31;i=c^m;d=e>>>0>>0;c=(c^l)-((c>>>0>i>>>0)+c|0)|0;if(d&(j|0)<=(c|0)|(c|0)>(j|0)){break b}c=v-p|0;i=c;l=c>>31;d=UE(c,l,h,n);u=Pa;c=w-q|0;m=c;r=c>>31;t=UE(c,r,k,o);d=t+d|0;c=Pa+u|0;c=d>>>0>>0?c+1|0:c;if(d>>>0>>0&(B|0)>=(c|0)|(c|0)<(B|0)|(d>>>0>s>>>0&(c|0)>=(f|0)|(c|0)>(f|0))){break b}c=UE(i,l,k,o);d=Pa;h=UE(h,n,m,r);k=c-h|0;c=d-(Pa+(c>>>0>>0)|0)|0;i=c;c=c>>31;h=c^k;d=e>>>0>>0;c=(c^i)-((c>>>0>h>>>0)+c|0)|0;if(d&(j|0)<=(c|0)|(c|0)>(j|0)){break b}b=Gi(a,q,p,A,y);break a}c=v+y|0;N[g+44>>2]=c>>1;d=c;c=(v+x|0)+2|0;e=d+c|0;N[g+36>>2]=e>>2;d=c;c=p+x|0;d=d+c|0;N[g+20>>2]=d>>2;N[g+28>>2]=(d+e|0)-1>>3;e=w+A|0;N[g+40>>2]=e>>1;N[g+12>>2]=c>>1;c=q+z|0;N[g+8>>2]=c>>1;d=e;e=(w+z|0)+2|0;d=d+e|0;N[g+32>>2]=d>>2;c=c+e|0;N[g+16>>2]=c>>2;N[g+24>>2]=(c+d|0)-1>>3;c=N[b+4>>2];N[g>>2]=N[b>>2];N[g+4>>2]=c;c=N[b+28>>2];N[g+48>>2]=N[b+24>>2];N[g+52>>2]=c;b=0;if(!Hi(a,g)){break a}b=Hi(a,g+24|0)}La=g- -64|0;return b}function Ic(){var a=0,b=0,c=0;a:{b=N[147449];b:{if(b){break b}while(1){a=588072;b=db(1,112);if(b){N[b>>2]=1;N[b+4>>2]=1;if(N[147019]){N[147019]=0}a=N[147018];if(a){if((a|0)<=0){break a}N[147018]=a+1}N[b+12>>2]=588072;a=N[147023];N[b+16>>2]=N[147022];N[b+20>>2]=a;a=N[147025];N[b+24>>2]=N[147024];N[b+28>>2]=a;a=N[147027];N[b+32>>2]=N[147026];N[b+36>>2]=a;a=N[147029];N[b+40>>2]=N[147028];N[b+44>>2]=a;a=N[147031];N[b+48>>2]=N[147030];N[b+52>>2]=a;a=N[147033];N[b+56>>2]=N[147032];N[b+60>>2]=a;a=N[147035];c=b- -64|0;N[c>>2]=N[147034];N[c+4>>2]=a;a=N[147037];N[b+72>>2]=N[147036];N[b+76>>2]=a;a=b}c:{if(!N[a+4>>2]){break c}b=N[a+80>>2];d:{if(!b){N[a+80>>2]=0;N[a+48>>2]=0;N[a+16>>2]=193;break d}Qa[b|0](N[a+48>>2]);N[a+80>>2]=0;N[a+48>>2]=0;N[a+16>>2]=193;if(!N[a+4>>2]){break c}}b=N[a+88>>2];e:{if(!b){N[a+88>>2]=0;N[a+56>>2]=0;N[a+24>>2]=194;break e}Qa[b|0](N[a+56>>2]);N[a+88>>2]=0;N[a+56>>2]=0;N[a+24>>2]=194;if(!N[a+4>>2]){break c}}b=N[a+92>>2];f:{if(!b){N[a+92>>2]=0;N[a+60>>2]=0;N[a+28>>2]=195;break f}Qa[b|0](N[a+60>>2]);N[a+92>>2]=0;N[a+60>>2]=0;N[a+28>>2]=195;if(!N[a+4>>2]){break c}}c=N[a+96>>2];g:{if(!c){N[a+96>>2]=0;N[a- -64>>2]=0;N[a+32>>2]=196;break g}b=a- -64|0;Qa[c|0](N[b>>2]);N[a+96>>2]=0;N[b>>2]=0;N[a+32>>2]=196;if(!N[a+4>>2]){break c}}b=N[a+100>>2];h:{if(!b){N[a+100>>2]=0;N[a+68>>2]=0;N[a+36>>2]=197;break h}Qa[b|0](N[a+68>>2]);N[a+100>>2]=0;N[a+68>>2]=0;N[a+36>>2]=197;if(!N[a+4>>2]){break c}}b=N[a+104>>2];i:{if(!b){N[a+104>>2]=0;N[a+72>>2]=0;N[a+40>>2]=198;break i}Qa[b|0](N[a+72>>2]);N[a+104>>2]=0;N[a+72>>2]=0;N[a+40>>2]=198;if(!N[a+4>>2]){break c}}N[a+4>>2]=0}b=N[147449];if(!b){N[147449]=a;return a}if((a|0)==588072){break b}Xe(a);b=N[147449];if(!b){continue}break}}return b}ba(23506,14099,260,16403);B()}function ql(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!b){break i}c=N[b>>2];if(!c){break i}if((c|0)<=0){break h}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;f=b;if(!d){break a}if(e>>>0<12){break e}N[a+12>>2]=c-12;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))){break e}if(qh(d+8|0,a,d)){break f}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break e}while(1){L[a+24|0]=1;f=N[a+32>>2];d=N[f+12>>2];N[a+4>>2]=d;e=N[f+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){break a}if(e>>>0<12){break e}N[a+12>>2]=c-12;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))){break e}if(qh(d+8|0,a,d)){break f}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}break e}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a+28>>2]){break d}N[a+28>>2]=0;if(Q[a+4>>2]>d>>>0){break e}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<12){break e}c=N[a+12>>2]-12|0;N[a+12>>2]=c;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))|(c|0)<=0){break e}c=qh(d+8|0,a,d);if(N[a+28>>2]){break e}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(c){break c}break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(b);return 275552}ab(f);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function ze(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=La-48|0;La=c;a:{if(!a){f=b;break a}if(P[a+8>>1]!=3){f=b;break a}b:{a=N[a+4>>2];if((a|0)<=1936353650){if((a|0)==1651074869|(a|0)==1734484e3|(a|0)==1785686113){break b}f=b;break a}if((a|0)==1936353651|(a|0)==2002873971){break b}if((a|0)!=1937337698){f=b;break a}f=b|61440;break a}c:{d:{if((a|0)<=1785686112){if((a|0)==1651074869){break d}if((a|0)!=1734484e3){break a}N[c+40>>2]=N[110089];a=N[110088];N[c+32>>2]=N[110087];N[c+36>>2]=a;a=N[110086];N[c+24>>2]=N[110085];N[c+28>>2]=a;e=c+24|0;a=21546;break c}if((a|0)!=1785686113){if((a|0)!=2002873971){if((a|0)!=1936353651){break a}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=19507;e=c+24|0;a=21661;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=19597;e=c+24|0;a=21361;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=20468;e=c+24|0;a=21746;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=21552;e=c+24|0;a=21943}while(1){e:{f:{a=ki(a);g:{if((a|0)==-1){break g}d=ki(20334);if((d|0)==-1){break g}if(O[a+441616|0]<216){break f}}N[147316]=28;a=-1;break e}g=a<<1|d<<16|1;a=O[d+441616|0]-202|0;if(!(a>>>0>8|!(1<>2]=0;N[d>>2]=g;a=d;break e}a=g}if((a|0)==-1){a=N[e+4>>2];e=e+4|0;if(a){continue}break a}break}L[c+20|0]=b;L[c+21|0]=b>>>8;L[c+22|0]=b>>>16;L[c+23|0]=b>>>24;N[c+12>>2]=4;N[c+8>>2]=2;N[c+4>>2]=c+20;N[c>>2]=c+18;h:{if(xo(a,c+4|0,c+12|0,c,c+8|0)){break h}d=N[c+8>>2];if((d|0)==2){break h}b=0;e=0;if(d+1>>>0>=3){g=c+18|0;e=-2-d|0;h=e&-4;f=g+h|0;f=(O[f|0]<<16|O[f+1|0]<<8|O[f+2|0])<<8|O[(e|3)+g|0];e=h+4|0}d=2-d&3;if(!d){break h}while(1){f=O[(c+18|0)+e|0]|f<<8;e=e+1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(!(a&1)){_a(a)}}La=c+48|0;return f}function Ix(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;f=N[a+4>>2]&2147418112;a:{b:{if(d&16){if(f|O[a+9|0]&128){f=7;if(!(O[a+740|0]&16)){break a}}if(!c){break b}c:{if(O[a+292|0]){d=0;f=1;break c}h=c&7;if(P[a+372>>1]==65535){b=M[a+220>>1]-M[a+222>>1]|0;a=b>>31;a=(a^b)-a&65535;f=0;b=0;if(c>>>0>=8){d=c&-8;while(1){c=b<<2;N[c+e>>2]=a;N[(c|4)+e>>2]=a;N[(c|8)+e>>2]=a;N[(c|12)+e>>2]=a;N[(c|16)+e>>2]=a;N[(c|20)+e>>2]=a;N[(c|24)+e>>2]=a;N[(c|28)+e>>2]=a;b=b+8|0;if((d|0)!=(b|0)){continue}break}}if(!h){break a}d=0;while(1){N[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break a}b=M[a+442>>1]-M[a+444>>1]|0;a=b>>31;a=(a^b)-a&65535;f=0;b=0;if(c>>>0>=8){d=c&-8;while(1){c=b<<2;N[c+e>>2]=a;N[(c|4)+e>>2]=a;N[(c|8)+e>>2]=a;N[(c|12)+e>>2]=a;N[(c|16)+e>>2]=a;N[(c|20)+e>>2]=a;N[(c|24)+e>>2]=a;N[(c|28)+e>>2]=a;b=b+8|0;if((d|0)!=(b|0)){continue}break}}if(!h){break a}d=0;while(1){N[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break a}while(1){h=(d<<2)+e|0;d:{if(f){Qa[N[N[a+540>>2]+156>>2]](a,1,b+d|0,g+14|0,g+12|0);f=P[g+12>>1];break d}if(P[a+372>>1]!=65535){i=M[a+442>>1]-M[a+444>>1]|0;f=i>>31;f=(f^i)-f|0;break d}i=M[a+220>>1]-M[a+222>>1]|0;f=i>>31;f=(f^i)-f|0}N[h>>2]=f&65535;d=d+1|0;if((d|0)==(c|0)){break b}f=O[a+292|0];continue}}if(f|O[a+9|0]&128){f=7;if(!(O[a+740|0]&2)){break a}}if(!c){break b}d=0;if((c|0)!=1){h=c&1;c=c&-2;while(1){f=g+10|0;i=g+8|0;Qa[N[N[a+540>>2]+156>>2]](a,0,b+d|0,f,i);N[(d<<2)+e>>2]=P[g+8>>1];j=d|1;Qa[N[N[a+540>>2]+156>>2]](a,0,j+b|0,f,i);N[(j<<2)+e>>2]=P[g+8>>1];d=d+2|0;if((c|0)!=(d|0)){continue}break}f=0;if(!h){break a}}Qa[N[N[a+540>>2]+156>>2]](a,0,b+d|0,g+10|0,g+8|0);N[(d<<2)+e>>2]=P[g+8>>1]}f=0}La=g+16|0;return f|0}function Gk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-48|0;La=f;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=275552}g=N[d+64>>2];c=0;a:{if((vb(e,N[N[d+80>>2]+T(g,20)>>2])|0)==-1){break a}N[b+4>>2]=g;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];L[b+23|0]=O[b+22|0]?(g|0)==N[c+64>>2]?O[(N[c+80>>2]+T(g,20)|0)+15|0]:0:0;g=b+4|0;if(!kc(g,f+44|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[d+64>>2],N[f+44>>2],1,0);c=0;break a}c=275552;j=O[a+8|0]|O[a+9|0]<<8;if(j){c=((j<<8|j>>>8)&65535)+a|0}i=O[a+4|0]|O[a+5|0]<<8;j=O[a+6|0]|O[a+7|0]<<8;c=Re(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);e=O[a+10|0]|O[a+11|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}e=Re(e,N[N[d+80>>2]+T(N[g>>2],20)>>2]);b:{h=O[a+12|0]|O[a+13|0]<<8;if(c>>>0<((h<<8|h>>>8)&65535)>>>0){h=O[a+14|0]|O[a+15|0]<<8;h=(h<<8|h>>>8)&65535;if(h>>>0>e>>>0){break b}}c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[d+64>>2],N[g>>2]+1|0,1,0);c=0;break a}i=YE(i);c=T(e+T(c,h)|0,YE(j)+i|0);if((c|0)<0){c=275552}else{c=((c<<1)+a|0)+16|0}e=N[b+96>>2];if(N[e+156>>2]){h=N[b+88>>2];k=N[e+64>>2];N[f+36>>2]=N[b+4>>2];N[f+32>>2]=k;ib(e,h,17042,f+32|0)}c=ge(O[a+4|0]|O[a+5|0]<<8,b,a,c,N[d+88>>2]+T(N[d+64>>2],20)|0)|ge(O[a+6|0]|O[a+7|0]<<8,b,a,c+(i<<1)|0,N[d+88>>2]+T(N[b+4>>2],20)|0);c:{if((c|0)!=1){break c}a=N[b+96>>2];if(!N[a+156>>2]){break c}e=N[b+88>>2];i=N[a+64>>2];N[f+20>>2]=N[b+4>>2];N[f+16>>2]=i;ib(a,e,17100,f+16|0)}a=N[b+96>>2];if(N[a+156>>2]){e=N[b+88>>2];i=N[a+64>>2];N[f+4>>2]=N[b+4>>2];N[f>>2]=i;ib(a,e,17070,f)}d:{if(c){Sc(d,N[d+64>>2],N[g>>2]+1|0);break d}if(!(O[d+16|0]&64)){break d}wb(d,2,N[d+64>>2],N[g>>2]+1|0,1,0)}if(j){a=N[g>>2];N[g>>2]=a+1;Sc(d,N[d+64>>2],a+2|0)}N[d+64>>2]=N[g>>2];c=1}La=f+48|0;return c}function Wf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(d){N[d>>2]=0}g=4;a:{while(1){f=i;i=j;b:{while(1){c:{if(!g){break c}b=b+1|0;if(b>>>0>2]){break c}e=0;break a}e=4-g|0;l=O[b|0];h=l>>>g&15;if((h|0)==14){o=1;g=e;j=i;continue}if(h>>>0>9){break b}if((f|0)>=214748364){i=i+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}m=m+1|0;i=T(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){k=(f|0)<214748364&(n|0)<9;while(1){if(e){b=b+1|0;if(b>>>0>=Q[a+8>>2]){e=0;break a}l=O[b|0]}j=4-e|0;h=l>>>e&15;if(h>>>0>9){e=j;break d}if(!(f|h)){i=i-1|0;f=0;e=j;continue e}e=j;if(!k){continue}break}n=n+1|0;f=T(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){j=0;while(1){if(e){b=b+1|0;if(b>>>0>=Q[a+8>>2]){e=0;break a}l=O[b|0]}k=l>>>e&15;if(k>>>0<=9){p=k+T(g,10)|0;k=(g|0)>1e3;g=k?g:p;j=k?1:j;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(j){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+i|0)+e|0;if(d){a=a+m|0;b=m+n|0;if((b|0)<=5){if((f|0)>=32768){e=fb(f,10);N[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<=0){break j}c=(a|0)>=5?5:a;e=c-b|0;if((e|0)<=0){break j}a=a-c|0;f=T(N[(e<<2)+33472>>2],f);if((f|0)<32768){break i}f=(f>>>0)/10|0;a=a+1|0;break i}a=a-b|0}N[d>>2]=a;e=f<<16;break a}b=b<<2;c=N[b+33452>>2];if(((f|0)/(c|0)|0)>=32768){e=fb(f,N[b+33456>>2]);N[d>>2]=a-4;break a}e=fb(f,c);N[d>>2]=a-5;break a}e=2147483647;b=a+m|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>=0){a=n-a|0}else{f=(f|0)/N[33472-(b<<2)>>2]|0;a=m+n|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>0){e=0;a=N[(a<<2)+33472>>2];if(((b|0)/(a|0)|0)>32767){break a}e=fb(b,a);break a}a=T(b,N[33472-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function aE(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a=N[b>>2];f=N[a+12>>2];a:{if(f){break a}while(1){b=N[a>>2];if(!b){f=275552;break a}f=db(1,48);if(!f){f=275552;N[a+12>>2]=275552;break a}f=gj(f,b);if(!N[a+12>>2]){N[a+12>>2]=f;break a}ab(N[f+44>>2]);_a(f);f=N[a+12>>2];if(!f){continue}break}}g=275552;b=N[f+4>>2];h=b?b:275552;b=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=275552;b:{if((b|0)<=0){break b}k=h+10|0;a=b-1|0;b=0;c:{while(1){j=a+b>>>1|0;i=k+T(j,11)|0;i=O[i+1|0]<<8|O[i|0]<<16|O[i+2|0];d:{if(i>>>0>d>>>0){a=j-1|0;break d}if((d|0)==(i|0)){break c}b=j+1|0}if((a|0)>=(b|0)){continue}break}a=275552;break b}a=k+T(j,11)|0}d=a;a=O[d+3|0]|O[d+4|0]<<8|(O[d+5|0]<<16|O[d+6|0]<<24);if(a){g=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}e:{a=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((a|0)>0){k=g+4|0;a=a-1|0;b=0;while(1){j=a+b>>>1|0;g=k+(j<<2)|0;i=O[g+1|0]<<8|O[g|0]<<16|O[g+2|0];f:{if(i>>>0>c>>>0){a=j-1|0;break f}if(i+O[g+3|0]>>>0>=c>>>0){break e}b=j+1|0}if((a|0)>=(b|0)){continue}break}}f=275552;a=275552;b=O[d+7|0]|O[d+8|0]<<8|(O[d+9|0]<<16|O[d+10|0]<<24);if(b){a=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+h|0}b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g:{if((b|0)<=0){break g}g=a+4|0;a=b-1|0;b=0;while(1){h:{d=a+b>>>1|0;h=g+T(d,5)|0;h=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];i:{if(h>>>0>c>>>0){a=d-1|0;break i}if((c|0)==(h|0)){break h}b=d+1|0}if((a|0)>=(b|0)){continue}break g}break}f=g+T(d,5)|0}a=O[f+3|0]|O[f+4|0]<<8;if(!a){return 0}N[e>>2]=(a<<8|a>>>8)&65535;return 1}a=N[f+8>>2];if(!a){return 0}return Qa[a|0](N[f+12>>2],c,e)|0}function rb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!b){return 6}if(!a){return 40}d=N[a+32>>2];while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{g=O[b|0];switch(g-4|0){case 18:case 19:break h;case 16:case 17:break i;case 14:case 15:break j;case 12:case 13:break k;case 10:case 11:break l;case 8:case 9:break m;case 20:case 21:break n;case 0:break o;case 4:case 5:break f;default:break g}}e=N[a+4>>2];g=P[b+2>>1];h=N[a+20>>2];if(h){if(e>>>0>>0){f=85;break c}e=N[a+28>>2];f=0;d=0;if(g){d=Qa[N[e+4>>2]](e,g)|0;if(!d){break d}h=N[a+20>>2]}N[a>>2]=d;h=Qa[h|0](a,N[a+8>>2],d,g)|0;d=N[a>>2];if(g>>>0>h>>>0){if(d){Qa[N[e+8>>2]](e,d)}N[a>>2]=0;f=85;d=0}N[a+32>>2]=d;N[a+36>>2]=d?d+g|0:0;N[a+8>>2]=h+N[a+8>>2];e=1;if(g>>>0<=h>>>0){break a}break c}f=85;d=N[a+8>>2];if(d>>>0>=e>>>0|g>>>0>e-d>>>0){break c}N[a+8>>2]=d+g;d=d+N[a>>2]|0;N[a+32>>2]=d;N[a+36>>2]=d+g;e=1;break a}f=O[b+1|0];e=f+d|0;if(e>>>0>Q[a+36>>2]){f=85;break c}if((g|0)!=24){break b}F(P[b+2>>1]+c|0,d,f);break b}e=d+2|0;f=16;d=O[d+1|0]|O[d|0]<<8;break e}e=d+2|0;f=16;d=O[d|0]|O[d+1|0]<<8;break e}e=d+4|0;f=0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break e}e=d+4|0;f=0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break e}f=8;e=d+3|0;d=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e}f=8;e=d+3|0;d=O[d|0]|(O[d+1|0]<<8|O[d+2|0]<<16);break e}N[a+32>>2]=d;f=0;break c}e=d+1|0;f=24;d=O[d|0]}d=g&1?d<>f:d;f=P[b+2>>1]+c|0;p:{q:{switch(O[b+1|0]-1|0){case 0:L[f|0]=d;break p;case 1:M[f>>1]=d;break p;default:break q}}N[f>>2]=d}d=e;e=i;break a}N[a>>2]=0;f=64}if(i&255){if(N[a+20>>2]){b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}return f}d=e;e=i}b=b+4|0;i=e;continue}}function AE(a,b,c){a=a|0;b=+b;c=c|0;var 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,t=0;N[a+672>>2]=0;N[a+676>>2]=0;e=a+668|0;a:{k=N[a+384>>2];g=N[a+660>>2];b=b*1e3;b:{if(V(b)<2147483648){f=~~b;break b}f=-2147483648}g=No(k,g,f,f>>31,e);if(!(!g|!(N[e>>2]|c))){if(O[a+388|0]){b=+ma();c:{if(V(b)<2147483648){c=~~b;break c}c=-2147483648}N[a+676>>2]=c}e=g;while(1){c=N[e>>2];d:{if(!c){break d}f=N[e+4>>2];if(!f){break d}d=((T(c,f)<<2)+d|0)+24|0}e=N[e+28>>2];if(e){continue}break}e:{f:{c=N[a+8>>2];if(c>>>0>>0){break f}g:{if(!(+(c>>>0)>=+(d>>>0)*1.3)){N[a+4>>2]=0;break g}c=N[a+4>>2]+1|0;N[a+4>>2]=c;if(c>>>0>9){break f}}C(N[a>>2],0,d);i=N[a>>2];break e}_a(N[a>>2]);i=db(1,d);N[a>>2]=i;N[a+4>>2]=0;N[a+8>>2]=i?d:0}if(!i){break a}m=N[a+672>>2];while(1){j=N[g>>2];h:{if(!j){break h}l=N[g+4>>2];if(!l){break h}c=N[g+16>>2];b=+(((c^-1)&255)>>>0)/255;if(b==0){break h}n=c<<8&16711680|c>>>8&65280|c>>>24;r=j&-2;s=j&1;c=N[g+12>>2];t=N[g+8>>2];o=0;f=0;while(1){e=0;d=0;i:{if((j|0)!=1){while(1){d=O[c+e|0];if(d){k=(f<<2)+i|0;h=b*+(d>>>0);j:{if(h<4294967296&h>=0){d=~~h>>>0;break j}d=0}N[k>>2]=d<<24|n}d=O[(e|1)+c|0];if(d){k=(f<<2)+i|0;h=b*+(d>>>0);k:{if(h<4294967296&h>=0){d=~~h>>>0;break k}d=0}N[k+4>>2]=d<<24|n}f=f+2|0;e=e+2|0;if((r|0)!=(e|0)){continue}break}d=e;if(!s){break i}}e=O[c+d|0];if(e){d=(f<<2)+i|0;h=b*+(e>>>0);l:{if(h<4294967296&h>=0){e=~~h>>>0;break l}e=0}N[d>>2]=e<<24|n}f=f+1|0}c=c+t|0;o=o+1|0;if((o|0)!=(l|0)){continue}break}c=(T(j,l)<<2)+i|0;N[c+12>>2]=l;N[c+8>>2]=j;N[c>>2]=N[g+20>>2];f=N[g+24>>2];N[c+20>>2]=0;N[c+16>>2]=i;N[c+4>>2]=f;f=c;if(p){N[p+20>>2]=c;f=q}m=m+1|0;N[a+672>>2]=m;i=c+24|0;p=c;q=f}g=N[g+28>>2];if(g){continue}break}}return q|0}vd(25038,45,1,588952);return 0}function ni(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;r=S[a>>3];h=N[e>>2];p=N[h+60>>2];l=N[h+52>>2];j=+(p+l|0)*.5;m=N[h- -64>>2];n=N[h+56>>2];q=+(m+n|0)*.5;s=S[a+8>>3];t=S[a+16>>3]+(r*j+q*s);S[a+16>>3]=t;u=S[a+24>>3];f=S[a+32>>3];i=S[a+40>>3]+(u*j+q*f);S[a+40>>3]=i;h=a- -64|0;k=S[a+48>>3];v=S[a+56>>3];w=S[h>>3]+(k*j+q*v);S[h>>3]=w;a:{if(w<=0){break a}j=f;f=1/w;o=f*i;j=j-v*o;S[a+32>>3]=j;q=u-k*o;S[a+24>>3]=q;f=f*t;s=s-v*f;S[a+8>>3]=s;t=r-k*f;S[a>>3]=t;i=f*.125;if(d){f=0}else{g=S[c+8>>3];f=S[c>>3]}z=i-f;if(!(V(z)<1e6)){break a}f=XE(z);b:{if(V(f)<2147483648){x=~~f;break b}x=-2147483648}o=o*.125-g;if(!(V(o)<1e6)){break a}f=XE(o);c:{if(V(f)<2147483648){y=~~f;break c}y=-2147483648}u=+(p-l|0)*.5+64;i=+(m-n|0)*.5+64;g=w-u*V(k)-V(v)*i;f=w*.0625;r=.125/(f>31;a=m>>31;h=(h^l)-h+((a^m)-a)|0;g=XE(g);g:{if(V(g)<2147483648){n=~~g;break g}n=-2147483648}a=n>>31;A=(n^a)-a|0;a=p>>31;a=A+((a^p)-a|0)|0;k=+((a>>>0>>0?h:a)|0)*8;f=j*(f*k);if(!(V(f)<1e6)){break a}f=XE(f);h:{if(V(f)<2147483648){h=~~f;break h}h=-2147483648}f=v*(i*k);if(!(V(f)<1e6)){break a}f=XE(f);i:{if(V(f)<2147483648){a=~~f;break i}a=-2147483648}if(!(!c|!d)){S[c+8>>3]=o-+(y|0);S[c>>3]=z-+(x|0)}N[b+4>>2]=y>>3;N[b>>2]=x>>3;N[e+32>>2]=a;N[e+28>>2]=h;N[e+24>>2]=n;N[e+20>>2]=p;N[e+16>>2]=l;N[e+12>>2]=m;N[e+8>>2]=y&7;N[e+4>>2]=x&7;B=1}return B}function xB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;while(1){d=O[a|0];e=O[c|0];L[a|0]=d>>>0>e>>>0?d:e;d=O[a+1|0];e=O[c+1|0];L[a+1|0]=d>>>0>e>>>0?d:e;d=O[a+2|0];e=O[c+2|0];L[a+2|0]=d>>>0>e>>>0?d:e;d=O[a+3|0];e=O[c+3|0];L[a+3|0]=d>>>0>e>>>0?d:e;d=O[a+4|0];e=O[c+4|0];L[a+4|0]=d>>>0>e>>>0?d:e;d=O[a+5|0];e=O[c+5|0];L[a+5|0]=d>>>0>e>>>0?d:e;d=O[a+6|0];e=O[c+6|0];L[a+6|0]=d>>>0>e>>>0?d:e;d=O[a+7|0];e=O[c+7|0];L[a+7|0]=d>>>0>e>>>0?d:e;d=O[a+8|0];e=O[c+8|0];L[a+8|0]=d>>>0>e>>>0?d:e;d=O[a+9|0];e=O[c+9|0];L[a+9|0]=d>>>0>e>>>0?d:e;d=O[a+10|0];e=O[c+10|0];L[a+10|0]=d>>>0>e>>>0?d:e;d=O[a+11|0];e=O[c+11|0];L[a+11|0]=d>>>0>e>>>0?d:e;d=O[a+12|0];e=O[c+12|0];L[a+12|0]=d>>>0>e>>>0?d:e;d=O[a+13|0];e=O[c+13|0];L[a+13|0]=d>>>0>e>>>0?d:e;d=O[a+14|0];e=O[c+14|0];L[a+14|0]=d>>>0>e>>>0?d:e;d=O[a+15|0];e=O[c+15|0];L[a+15|0]=d>>>0>e>>>0?d:e;d=O[a+16|0];e=O[c+16|0];L[a+16|0]=d>>>0>e>>>0?d:e;d=O[a+17|0];e=O[c+17|0];L[a+17|0]=d>>>0>e>>>0?d:e;d=O[a+18|0];e=O[c+18|0];L[a+18|0]=d>>>0>e>>>0?d:e;d=O[a+19|0];e=O[c+19|0];L[a+19|0]=d>>>0>e>>>0?d:e;d=O[a+20|0];e=O[c+20|0];L[a+20|0]=d>>>0>e>>>0?d:e;d=O[a+21|0];e=O[c+21|0];L[a+21|0]=d>>>0>e>>>0?d:e;d=O[a+22|0];e=O[c+22|0];L[a+22|0]=d>>>0>e>>>0?d:e;d=O[a+23|0];e=O[c+23|0];L[a+23|0]=d>>>0>e>>>0?d:e;d=O[a+24|0];e=O[c+24|0];L[a+24|0]=d>>>0>e>>>0?d:e;d=O[a+25|0];e=O[c+25|0];L[a+25|0]=d>>>0>e>>>0?d:e;d=O[a+26|0];e=O[c+26|0];L[a+26|0]=d>>>0>e>>>0?d:e;d=O[a+27|0];e=O[c+27|0];L[a+27|0]=d>>>0>e>>>0?d:e;d=O[a+28|0];e=O[c+28|0];L[a+28|0]=d>>>0>e>>>0?d:e;d=O[a+29|0];e=O[c+29|0];L[a+29|0]=d>>>0>e>>>0?d:e;d=O[a+30|0];e=O[c+30|0];L[a+30|0]=d>>>0>e>>>0?d:e;d=O[a+31|0];e=O[c+31|0];L[a+31|0]=d>>>0>e>>>0?d:e;c=c+32|0;a=a+b|0;f=f+1|0;if((f|0)!=32){continue}break}}function Uc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=275552;a:{if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}d=((c<<8|c>>>8)&65535)+a|0}b:{c:{d:{e:{f:{g:{h:{c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break g;case 0:break h;default:break b}}e=O[d+4|0]|O[d+5|0]<<8;i=(e<<8|e>>>8)&65535;e=O[d+2|0]|O[d+3|0]<<8;e=b-((e<<8|e>>>8)&65535)|0;c=275552;if(i>>>0<=e>>>0){break f}c=((e<<1)+d|0)+6|0;break f}g=241305;c=O[d+2|0]|O[d+3|0]<<8;i:{if(!c){break i}h=d+4|0;d=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){e=d+c>>>1|0;f=h+T(e,6)|0;i=O[f|0]|O[f+1|0]<<8;j:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=e+1|0;break j}g=h+T(e,6)|0;break i}d=e-1|0}if((d|0)>=(c|0)){continue}break}}c=g+4|0}d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}return 2}return 4}d=275552;k:{if((O[a|0]|O[a+1|0]<<8)!=256){break k}c=O[a+10|0]|O[a+11|0]<<8;if(!c){break k}d=((c<<8|c>>>8)&65535)+a|0}j=8;l:{m:{n:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break m;case 0:break n;default:break b}}a=b;b=O[d+2|0]|O[d+3|0]<<8;b=a-((b<<8|b>>>8)&65535)|0;c=O[d+4|0]|O[d+5|0]<<8;a=275552;if(b>>>0>=((c<<8|c>>>8)&65535)>>>0){break l}a=((b<<1)+d|0)+6|0;break l}a=241305;c=O[d+2|0]|O[d+3|0]<<8;o:{if(!c){break o}g=d+4|0;d=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){e=d+c>>>1|0;f=g+T(e,6)|0;h=O[f|0]|O[f+1|0]<<8;p:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=e+1|0;break p}a=g+T(e,6)|0;break o}d=e-1|0}if((d|0)>=(c|0)){continue}break}}a=a+4|0}a=O[a|0]|O[a+1|0]<<8;j=((a<<8|a>>>8)&65535)<<8|8}return j}function be(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<=c>>>0){break a}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(g>>>0>=c>>>0){b:{h=b+5|0;e=O[b+4|0];b=h+T(e,c)|0;c:{d:{switch(e-1|0){case 0:f=O[b|0];break c;case 1:d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;break c;case 2:f=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break c;case 3:break d;default:break c}}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}c=c+1|0;if(c>>>0>g>>>0){break b}d=T(c,e)+h|0;c=0;e:{f:{switch(e-1|0){case 0:c=O[d|0];break e;case 1:c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535;break e;case 2:c=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e;case 3:break f;default:break e}}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(c>>>0>>0){break a}d=T(e,g)+h|0;g:{h:{switch(e-1|0){case 0:i=O[d|0];break g;case 1:d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;break g;case 2:i=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break g;case 3:break h;default:break g}}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((c|0)==(f|0)|c>>>0>i>>>0){break a}d=c-f|0;f=T(e,g+1|0)+h|0;c=0;i:{j:{switch(e-1|0){case 0:c=O[b|0];break i;case 1:b=O[b|0]|O[b+1|0]<<8;c=(b<<8|b>>>8)&65535;break i;case 2:c=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break i;case 3:break j;default:break i}}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}N[a+8>>2]=0;N[a+4>>2]=d;N[a>>2]=(c+f|0)-1;return}}ba(8966,14180,149,9745);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function zy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=La-48|0;La=e;a:{b:{if(!cb(b,10437)){c:{if(!d){b=N[c>>2];break c}b=Kb(c,e+12|0);d=N[e+12>>2];if(O[d|0]!=44|(c|0)==(d|0)){break b}d=d+1|0;l=e,m=Kb(d,e+12|0),N[l+20>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+24>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+28>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+32>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+36>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+40>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}c=c+1|0;l=e,m=Kb(c,e+12|0),N[l+44>>2]=m;d=N[e+12>>2];if((O[d|0]|32)!=32|(c|0)==(d|0)){break b}c=e+16|0}f=6;if((b|0)<0){break a}d=N[c+8>>2];if((d|0)<0){break a}g=N[c+16>>2];if((g|0)<0){break a}h=N[c+24>>2];if((h|0)<0){break a}i=N[c+4>>2];if((i|0)<0){break a}j=N[c+12>>2];if((j|0)<0){break a}k=N[c+20>>2];if((k|0)<0){break a}c=N[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}N[a+36>>2]=b;N[a- -64>>2]=c;N[a+60>>2]=h;N[a+56>>2]=k;N[a+52>>2]=g;N[a+48>>2]=j;N[a+44>>2]=d;N[a+40>>2]=i;f=0;break a}if(!cb(b,15759)){if(d){f=6;if(cb(c,16505)){break a}N[a+28>>2]=1;f=0;break a}f=7;if(N[c>>2]!=1){break a}N[a+28>>2]=1;f=0;break a}if(!cb(b,14683)){if(d){if(!Kb(c,0)){L[a+32|0]=0;break a}L[a+32|0]=1;break a}L[a+32|0]=O[c|0];break a}f=12;if(cb(b,16909)){break a}f=0;d:{if(d){b=Kb(c,0);break d}b=N[c>>2]}N[a+68>>2]=(b|0)>0?b:0;break a}f=6}La=e+48|0;return f|0}function ge(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=a&65535;if(!f){return 0}h=N[b+128>>2];j=N[b+88>>2];m=(a<<8|f>>>8)&65535;if(m&1){k=N[e+8>>2];i=O[d|0]|O[d+1|0]<<8;f=(i<<8|i>>>8)<<16;g=f>>31;f=UE(N[j+56>>2],N[j+60>>2],f>>16,g);g=Pa;f=f+32768|0;N[e+8>>2]=(((f>>>0<32768?g+1|0:g)&65535)<<16|f>>>16)+k;i=(i|0)!=0;d=d+2|0}if(m&2){l=N[e+12>>2];k=O[d|0]|O[d+1|0]<<8;f=(k<<8|k>>>8)<<16;g=f>>31;f=UE(N[j+64>>2],N[j+68>>2],f>>16,g);g=Pa;f=f+32768|0;N[e+12>>2]=(((f>>>0<32768?g+1|0:g)&65535)<<16|f>>>16)+l;i=(k|0)!=0|i;d=d+2|0}k=h&-2;if(m&4){if((k|0)==4){l=N[e>>2];h=O[d|0]|O[d+1|0]<<8;f=(h<<8|h>>>8)<<16;g=f>>31;f=UE(N[j+56>>2],N[j+60>>2],f>>16,g);g=Pa;f=f+32768|0;N[e>>2]=(((f>>>0<32768?g+1|0:g)&65535)<<16|f>>>16)+l;i=(h|0)!=0|i}d=d+2|0}if(m&8){if((k|0)!=4){l=N[e+4>>2];h=O[d|0]|O[d+1|0]<<8;f=(h<<8|h>>>8)<<16;g=f>>31;f=UE(N[j+64>>2],N[j+68>>2],f>>16,g);g=Pa;f=f+32768|0;N[e+4>>2]=l-(((f>>>0<32768?g+1|0:g)&65535)<<16|f>>>16);i=(h|0)!=0|i}d=d+2|0}a:{if((a&65535)>>>0<4096){break a}g=1;a=1;a=N[j+72>>2]?a:N[j+84>>2]!=0;if(!N[j+76>>2]){g=N[j+84>>2]!=0;if((g|a)!=1){break a}}f=N[b+112>>2];b=N[b+108>>2];if(m&16){if(a){h=O[d|0]|O[d+1|0]<<8;l=(h|0)!=0;n=e,o=Zg(h?((h<<8|h>>>8)&65535)+c|0:275552,j,b,f)+N[e+8>>2]|0,N[n+8>>2]=o;i=i|l}d=d+2|0}if(m&32){if(g){h=O[d|0]|O[d+1|0]<<8;l=(h|0)!=0;n=e,o=Yg(h?((h<<8|h>>>8)&65535)+c|0:275552,j,b,f)+N[e+12>>2]|0,N[n+12>>2]=o;i=i|l}d=d+2|0}if(m&64){if((k|0)==4&a){a=O[d|0]|O[d+1|0]<<8;h=(a|0)!=0;n=e,o=Zg(a?((a<<8|a>>>8)&65535)+c|0:275552,j,b,f)+N[e>>2]|0,N[n>>2]=o;i=i|h}d=d+2|0}if(!g|(!(m&128)|(k|0)==4)){break a}a=O[d|0]|O[d+1|0]<<8;i=(a|0)!=0|i;a=Yg(a?((a<<8|a>>>8)&65535)+c|0:275552,j,b,f);N[e+4>>2]=N[e+4>>2]-a}return i}function bs(a,b){a=a|0;b=b|0;var 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;a:{b:{if(Q[b+160>>2]>=a+4>>>0){e=O[a+3|0]|O[a+2|0]<<8;if(Q[b+160>>2]>>0){if(N[b+164>>2]){break a}e=N[b+160>>2]-a|0}if(N[b+160>>2]-a>>>0>e>>>0){if(Q[b+164>>2]>=2){break a}e=N[b+160>>2]-a|0}if(e>>>0<=15){break a}c=O[a+7|0];if(c&1&Q[b+164>>2]>=2){break a}h=c|O[a+6|0]<<8;d=h&65534;if((d<<2)+16>>>0>e>>>0){break a}c=h>>>1|0;if(Q[b+164>>2]>=2){g=O[a+13|0];f=O[a+9|0];if((g|f)&1){break a}i=f|O[a+8|0]<<8;f=i>>>1|0;if(f>>>0>c>>>0|c>>>0>(i&65534)>>>0|((c|0)!=(f+((g|O[a+12|0]<<8)>>>1|0)|0)|(f|0)!=1<<(O[a+11|0]|O[a+10|0]<<8))){break a}}f=a+14|0;if(Q[b+164>>2]>=2){g=(d+f|0)-2|0;if((O[g|0]<<8|O[g+1|0])!=65535){break a}}g=0;if(h>>>0>=2){j=(a+d|0)+16|0;k=d+j|0;h=d+k|0;n=d+h|0;p=c>>>0<=1?1:c;q=a+e|0;o=c-1|0;d=0;c=0;i=0;while(1){e=c;a=d;c=O[j+1|0]|O[j|0]<<8;d=O[f+1|0]|O[f|0]<<8;if(c>>>0>d>>>0){break a}m=O[h|0];l=O[h+1|0];r=O[k|0];s=O[k+1|0];c:{if(!i|a>>>0>>0){break c}if(N[b+164>>2]){break a}if(!(a>>>0<=d>>>0&c>>>0>=e>>>0)){g=g|1;break c}g=g|2}a=l|m<<8;d:{if(!a){break d}if((a|0)!=65535){a=a+h|0;e:{if(N[b+164>>2]){if(a>>>0>>0){break a}if(((d-c<<1)+a|0)+2>>>0<=q>>>0){break e}break a}if(!((i|0)!=(o|0)|(c|0)!=65535)&(d|0)==65535){break e}if(a>>>0>>0|Q[b+160>>2]<((d-c<<1)+a|0)+2>>>0){break a}}if(!N[b+164>>2]|c>>>0>=d>>>0){break d}m=r<<8|s;e=c;while(1){l=O[a+1|0]|O[a|0]<<8;if(Q[b+172>>2]<=(m+l&65535)>>>0?l:0){break b}a=a+2|0;e=e+1|0;if(e>>>0>>0){continue}break}break d}if((i|0)!=(o|0)|Q[b+164>>2]>1|((c|0)!=65535|(d|0)!=65535)){break a}}h=h+2|0;k=k+2|0;f=f+2|0;j=j+2|0;i=i+1|0;if((p|0)!=(i|0)){continue}break}}return g|0}break a}Pb(b,16);B()}Pb(b,8);B()}function Lo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=La-32|0;La=g;if(c){e=N[a+44>>2]}else{N[a+4>>2]=2147483647;N[a+44>>2]=0;N[a+16>>2]=-2147483648;N[a+8>>2]=2147483647;N[a+12>>2]=-2147483648;e=0}N[a+28>>2]=e;e=N[b+16>>2];a:{b:{c:{d:{e:{f:{d=N[b>>2];if(d){while(1){j=(h<<3)+e|0;i=N[j>>2];f=i>>31;if((f^i)-f>>>0>268435455){break f}j=N[j+4>>2];f=j>>31;if((f^j)-f>>>0>=268435456){break f}h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(!N[b+8>>2]){break e}h=e;while(1){f=O[N[b+20>>2]+k|0];d=f&3;e=(d<<3)+e|0;j=f&4;f=j?h:e;g:{h:{i:{switch(d-1|0){case 1:d=e-16|0;i=N[d+4>>2];N[g>>2]=N[d>>2];N[g+4>>2]=i;d=e-8|0;i=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=i;d=N[f+4>>2];N[g+16>>2]=N[f>>2];N[g+20>>2]=d;if(Ii(a,g)){break g}break h;case 2:d=e-24|0;i=N[d+4>>2];N[g>>2]=N[d>>2];N[g+4>>2]=i;d=e-16|0;i=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=i;d=e-8|0;i=N[d+4>>2];N[g+16>>2]=N[d>>2];N[g+20>>2]=i;d=N[f+4>>2];N[g+24>>2]=N[f>>2];N[g+28>>2]=d;if(!Hi(a,g)){break h}break g;case 0:break i;default:break h}}d=e-8|0;if(Gi(a,N[d>>2],N[d+4>>2],N[f>>2],N[f+4>>2])){break g}}e=0;break b}h=j?e:h;k=k+1|0;if(k>>>0>2]){continue}break}if((e|0)==(h|0)){break d}break a}ba(18838,18126,276,15670);B()}if(!e){break c}}if((N[b+16>>2]+(N[b>>2]<<3)|0)!=(e|0)){break a}}h=N[a+44>>2];j=N[a+28>>2];if(h>>>0>>0){k=N[a+16>>2];e=N[a+12>>2];b=N[a+8>>2];f=N[a+4>>2];i=N[a+20>>2];while(1){d=i+T(h,40)|0;l=N[d+36>>2];k=(k|0)>(l|0)?k:l;l=N[d+28>>2];e=(e|0)>(l|0)?e:l;l=N[d+32>>2];b=(b|0)<(l|0)?b:l;d=N[d+24>>2];f=(d|0)>(f|0)?f:d;h=h+1|0;if((j|0)!=(h|0)){continue}break}N[a+16>>2]=k;N[a+12>>2]=e;N[a+8>>2]=b;N[a+4>>2]=f}e=1;if(c){break b}N[a+44>>2]=j}La=g+32|0;return e}ba(22626,18126,317,15670);B()}function dk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}a=h;b=275552;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}h=O[a+4|0]|O[a+5|0]<<8;b=275552;if(!h){break c}b=a+((h<<8|h>>>8)&65535)|0}a=O[b|0]|O[b+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0>c>>>0){a=(b+T(c,6)|0)+2|0}else{a=275552}a=O[a+4|0]|O[a+5|0]<<8;if(a){i=b+((a<<8|a>>>8)&65535)|0}else{i=275552}d:{e:{f:{g:{if(!d){j=O[i+2|0]|O[i+3|0]<<8;break g}h=65535;j=O[i+2|0]|O[i+3|0]<<8;if(!j){if(f){break e}break d}b=((j<<8|j>>>8)&65535)-1|0;m=i+4|0;if(!f){while(1){l=N[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=T(h,6)+m|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);h:{if(g>>>0<=l>>>0){if((g|0)==(l|0)){break f}a=h+1|0;break h}c=h-1|0}if((a|0)<=(c|0)){continue}break}k=k+1|0;if((k|0)!=(d|0)){continue}break g}}while(1){l=N[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=T(h,6)+m|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i:{if(g>>>0>l>>>0){c=h-1|0;break i}if((g|0)==(l|0)){break f}a=h+1|0}if((a|0)<=(c|0)){continue}break}N[f>>2]=65535;k=k+1|0;if((k|0)!=(d|0)){continue}break}}h=65535;j:{if(!j){break j}e=i+4|0;c=((j<<8|(j&65280)>>>8)&65535)-1|0;a=0;while(1){k:{b=a+c>>>1|0;d=e+T(b,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);l:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1684434037){c=b-1|0;break l}if((d|0)==1953261156){break k}a=b+1|0}if((a|0)<=(c|0)){continue}break j}break}h=b}if(!f){break d}break e}if(!f){break d}}N[f>>2]=h}}function WB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=1;k=(b<<1)+e|0;f=O[a|0];a:{b:{c:{d:{if(c>>>0>=2){e:{if((c|0)==2){h=f}else{h=c-1|0;m=h&1;n=h&-2;h=0;while(1){i=g-1|0;j=i<<1;o=f;f=a+g|0;l=O[f|0]+O[a+i|0]|0;i=o+l|0;M[j+k>>1]=i;M[e+j>>1]=i;p=g<<1;i=g+1|0;j=i+a|0;f=O[j|0]+O[f|0]|0;l=l+f|0;M[p+k>>1]=l;M[e+p>>1]=l;g=g+2|0;h=h+2|0;if((n|0)!=(h|0)){continue}break}if(!m){g=i;h=f;break e}h=O[j|0]}i=(g<<1)-2|0;j=a+g|0;h=h+O[j|0]|0;f=h+f|0;M[i+k>>1]=f;M[e+i>>1]=f}m=1;f=g<<1;h=O[j|0]+h|0;M[f+k>>1]=h;M[e+f>>1]=h;if(d>>>0>1){break d}h=a;break a}g=f<<1;M[k>>1]=g;M[e>>1]=g;if(d>>>0<2){h=a;break a}if((d|0)==2){break b}d=d-1|0;h=d&1;g=d&-2;f=0;while(1){i=P[e>>1];d=a+b|0;j=O[d|0]<<1;M[e>>1]=j;m=P[k>>1];i=i+j|0;M[k>>1]=i;L[a|0]=i+m>>>4;i=P[e>>1];a=b+d|0;j=O[a|0]<<1;M[e>>1]=j;m=P[k>>1];i=i+j|0;M[k>>1]=i;L[d|0]=i+m>>>4;f=f+2|0;if((g|0)!=(f|0)){continue}break}if(h){break c}h=a;break a}while(1){h=a+b|0;g=O[h|0];f=1;while(1){n=f-1|0;l=n<<1;i=l+e|0;p=P[i>>1];j=g;o=i;i=f;q=f+h|0;g=O[q|0]+O[h+n|0]|0;j=j+g|0;M[o>>1]=j;l=k+l|0;o=P[l>>1];j=j+p|0;M[l>>1]=j;L[a+n|0]=j+o>>>4;f=f+1|0;if((f|0)!=(c|0)){continue}break}f=i<<1;j=f+e|0;n=P[j>>1];g=O[q|0]+g|0;M[j>>1]=g;f=f+k|0;j=P[f>>1];o=f;f=g+n|0;M[o>>1]=f;L[a+i|0]=f+j>>>4;a=h;m=m+1|0;if((m|0)!=(d|0)){continue}break}break a}g=P[e>>1]}h=a+b|0;b=O[h|0]<<1;M[e>>1]=b;d=P[k>>1];b=b+g|0;M[k>>1]=b;L[a|0]=b+d>>>4}f:{if(!c){break f}g=0;if((c|0)!=1){b=c&1;c=c&-2;while(1){a=g<<1;L[g+h|0]=P[a+e>>1]+P[a+k>>1]>>>4;d=g|1;a=d<<1;L[d+h|0]=P[a+e>>1]+P[a+k>>1]>>>4;g=g+2|0;if((c|0)!=(g|0)){continue}break}if(!b){break f}}a=g<<1;L[g+h|0]=P[a+e>>1]+P[a+k>>1]>>>4}}function tx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){c=N[a+100>>2];b=N[a+548>>2];if(b){Qa[N[c+8>>2]](c,b);N[a+544>>2]=0;N[a+548>>2]=0}$e(a);N[a+532>>2]=0;b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+148>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+148>>2]=0;b=N[a+432>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+432>>2]=0;b=N[a+428>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+428>>2]=0;b=N[a+424>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+424>>2]=0;b=N[a+408>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+408>>2]=0;b=N[a+412>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+412>>2]=0;d=N[a+416>>2];a:{if(!d){break a}e=N[d+4>>2];b:{if(!e){break b}b=N[d+20>>2];if((e|0)!=1){g=e&1;h=e&-2;e=0;while(1){f=N[b>>2];if(f){Qa[N[c+8>>2]](c,f)}N[b>>2]=0;f=N[b+4>>2];if(f){Qa[N[c+8>>2]](c,f)}N[b+4>>2]=0;b=b+8|0;e=e+2|0;if((h|0)!=(e|0)){continue}break}if(!g){break b}}e=N[b>>2];if(e){Qa[N[c+8>>2]](c,e)}N[b>>2]=0}b=N[d+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+20>>2]=0;b=N[a+416>>2];if(!b){break a}Qa[N[c+8>>2]](c,b)}N[a+416>>2]=0;b=N[a+392>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+392>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+396>>2]=0;b=N[a+400>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+400>>2]=0;b=N[a+384>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+384>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+364>>2]=0;b=N[a+496>>2];if(b){d=N[b+36>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+36>>2]=0;N[b+40>>2]=0;d=N[b+28>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+28>>2]=0;N[b+32>>2]=0;Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0}}function Ij(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=N[b+4>>2];if((d|0)==N[a+28>>2]){g=N[b+8>>2];if(d){C(g,255,d<<2)}if(!c){break a}e=N[a+20>>2];while(1){b:{if(Q[a+16>>2]<=f>>>0){N[147456]=0;N[147457]=0;d=0;break b}d=N[(e+(f<<3)|0)+4>>2]}c:{if(d>>>0>=Q[b+4>>2]){N[147456]=0;d=589824;break c}d=g+(d<<2)|0}N[d>>2]=f;f=f+1|0;if((f|0)!=(c|0)){continue}break}break a}ba(13964,14083,441,9662);B()}d=N[a+28>>2];if(d){f=0;g=0;while(1){h=f<<2;c=N[b+8>>2];e=N[b+4>>2];if(N[(e>>>0<=f>>>0?275552:h+c|0)>>2]!=-1){if(f>>>0>g>>>0){d:{if(d>>>0<=f>>>0){N[147470]=0;N[147471]=0;N[147468]=0;N[147469]=0;N[147466]=0;N[147467]=0;N[147464]=0;N[147465]=0;N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=N[a+28>>2];c=589824;break d}c=N[a+32>>2]+(f<<6)|0}e:{if(d>>>0<=g>>>0){N[147470]=0;N[147471]=0;N[147468]=0;N[147469]=0;N[147466]=0;N[147467]=0;N[147464]=0;N[147465]=0;N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=589824;break e}d=N[a+32>>2]+(g<<6)|0}e=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=e;e=N[c+60>>2];N[d+56>>2]=N[c+56>>2];N[d+60>>2]=e;e=N[c+52>>2];N[d+48>>2]=N[c+48>>2];N[d+52>>2]=e;e=N[c+44>>2];N[d+40>>2]=N[c+40>>2];N[d+44>>2]=e;e=N[c+36>>2];N[d+32>>2]=N[c+32>>2];N[d+36>>2]=e;e=N[c+28>>2];N[d+24>>2]=N[c+24>>2];N[d+28>>2]=e;e=N[c+20>>2];N[d+16>>2]=N[c+16>>2];N[d+20>>2]=e;e=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=e;e=N[b+4>>2];c=N[b+8>>2]}c=N[(e>>>0<=f>>>0?275552:c+h|0)>>2];f:{if(c>>>0>=Q[a+16>>2]){N[147456]=0;N[147457]=0;c=589824;break f}c=N[a+20>>2]+(c<<3)|0}N[c+4>>2]=g;g=g+1|0;d=N[a+28>>2]}f=f+1|0;if(f>>>0>>0){continue}break}}}function Zp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;e=N[a>>2];g=N[e+4>>2];c=N[e+8>>2];while(1){a:{d=c+1|0;j=d>>>0>g>>>0;if(j){break a}f=N[e>>2];h=O[f+c|0];N[e+8>>2]=d;b:{c:{d:{e:{if((h|0)!=12){c=d;break e}c=c+2|0;if(g>>>0>>0){h=65535;break d}d=O[d+f|0];N[e+8>>2]=c;h=d|256}f:{g:{h:{i:{j:{if(h>>>0>21){break j}d=1<>2];if(!d){L[g|0]=1;N[147456]=0;N[147457]=0;N[b+16>>2]=0;break g}i=S[g+(d<<3)>>3];k:{if(V(i)<2147483648){d=~~i;break k}d=-2147483648}if((d|0)<0){L[g|0]=1;d=0}N[b+16>>2]=d;break g}d=h-265|0;if(d>>>0>10){break d}d=1<>2];if(g){i=S[d+(g<<3)>>3];break f}L[d|0]=1;N[147456]=0;N[147457]=0}i=0}N[f>>2]=0;break c}Je(h,e);if(N[e+20>>2]){break b}c=N[e+8>>2];i=0}if(O[e+16|0]|Q[e+4>>2]>>0){break b}l:{m:{n:{c=N[b+4>>2];if((c|0)>=0){g=N[b+8>>2];f=g+1|0;if(f>>>0<=c>>>0){d=N[b+12>>2];break m}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=178956970){d=$a(N[b+12>>2],T(c,24));if(d){break n}}N[b+4>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=589824;break l}N[b+4>>2]=c;N[b+12>>2]=d;g=N[b+8>>2];f=g+1|0}N[b+8>>2]=f;c=T(g,24)+d|0;S[c+16>>3]=i;L[c+8|0]=0;N[c>>2]=0}N[c+4>>2]=h;d=N[e+8>>2];h=N[e+4>>2];f=N[e>>2];e=N[b>>2];N[c>>2]=f+e;f=c;c=h-e|0;c=c>>>0<=h>>>0?c:0;e=d-e|0;L[f+8|0]=c>>>0>>0?c:e;N[b>>2]=d}e=N[a>>2];c=N[e+8>>2];g=N[e+4>>2];if(c>>>0>g>>>0){break a}if(!O[e+16|0]){continue}}break}return j}function It(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=N[a+100>>2];c=N[a+540>>2];a:{if(!c){break a}b=N[c+80>>2];if(b){Qa[b|0](a)}b=N[c+100>>2];if(b){Qa[b|0](a)}b=N[c+120>>2];if(!b){break a}Qa[b|0](a);Qa[N[c+124>>2]](a)}if(O[a+848|0]){e=N[a+828>>2];if(e){b=N[a+104>>2];if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,e)}N[a+828>>2]=0}N[a+840>>2]=0;N[a+832>>2]=0;N[a+836>>2]=0}b=a+808|0;e=N[a+104>>2];b:{if(!e|!N[e+20>>2]){break b}f=N[b>>2];if(!f){break b}e=N[e+28>>2];Qa[N[e+8>>2]](e,f)}N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+144>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+140>>2]=0;N[a+144>>2]=0;b=N[a+156>>2];if(b){Qa[N[d+8>>2]](d,b)}M[a+152>>1]=0;N[a+156>>2]=0;b=N[a+104>>2];c:{if(!b|!N[b+20>>2]){break c}e=N[a+508>>2];if(!e){break c}b=N[b+28>>2];Qa[N[b+8>>2]](b,e)}N[a+752>>2]=0;N[a+756>>2]=0;N[a+508>>2]=0;N[a+512>>2]=0;if(O[a+292|0]){b=N[a+332>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+332>>2]=0;b=N[a+336>>2];if(b){Qa[N[d+8>>2]](d,b)}L[a+292|0]=0;N[a+336>>2]=0}b=N[a+564>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+564>>2]=0;M[a+562>>1]=0;if(c){Qa[N[c+52>>2]](a)}c=N[a+20>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+20>>2]=0;c=N[a+24>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+24>>2]=0;c=N[a+32>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+32>>2]=0;c=N[a+804>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+28>>2]=0;N[a+804>>2]=0;c=N[a+720>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+720>>2]=0;c=N[a+744>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+744>>2]=0;c=N[a+652>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+652>>2]=0;c=N[a+656>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+656>>2]=0;c=N[a+664>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+664>>2]=0;c=N[a+672>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+540>>2]=0;N[a+672>>2]=0}}function vo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-80|0;La=h;N[e>>2]=0;a:{if(c>>>0<=31){N[d>>2]=0;break a}f=N[b+112>>2];if(f){b:{if((f|0)>0){while(1){c:{i=N[((g<<2)+b|0)+68>>2];f=i;j=ze(N[f+92>>2],c);if(!j){break c}f=N[f+92>>2];if(!f){break c}f=Qa[N[N[f+12>>2]+12>>2]](f,j)|0;if(f>>>0>=Q[i+16>>2]|!f){break c}N[d>>2]=g;break b}g=g+1|0;if((g|0)>2]){continue}break}}f=N[b+20>>2];g=N[b+4>>2];i=N[b>>2];j=N[b+8>>2];N[h- -64>>2]=N[b+12>>2];N[h+60>>2]=j;N[h+56>>2]=i;N[h+52>>2]=g;N[h+48>>2]=c;mb(f,4,23624,h+48|0);a=wo(a,b,c);N[d>>2]=a;f=0;if((a|0)<0){break b}a=N[((a<<2)+b|0)+68>>2];g=ze(N[a+92>>2],c);d:{if(!g){break d}f=N[a+92>>2];if(!f){break d}f=Qa[N[N[f+12>>2]+12>>2]](f,g)|0;if(f>>>0>=Q[a+16>>2]){break d}if(f){break b}}e:{if(N[a+36>>2]<=0){break e}f=N[b+20>>2];N[h+32>>2]=c;mb(f,2,10502,h+32|0);f=N[a+36>>2];if((f|0)<=0){break e}i=0;while(1){g=N[a+40>>2];j=N[g+(i<<2)>>2];f:{if(!j|!g|(f|0)<=0){break f}f=(f<<2)+g|0;while(1){g:{if((j|0)!=N[g>>2]){break g}k=N[j>>2];h:{if(!k){break h}k=N[k+96>>2];l=N[N[k>>2]+32>>2];if(!l){break h}k=Qa[l|0](k,10557)|0;if(!k){break h}if(Qa[N[k>>2]](j,h+72|0)|0){break h}if(N[h+76>>2]==14){break g}}N[a+92>>2]=N[g>>2];break f}g=g+4|0;if(f>>>0>g>>>0){continue}break}}g=ze(N[a+92>>2],c);i:{if(!g){break i}f=N[a+92>>2];if(!f){break i}f=Qa[N[N[f+12>>2]+12>>2]](f,g)|0;if(f>>>0>=Q[a+16>>2]){break i}if(f){break b}}f=N[a+36>>2];i=i+1|0;if((f|0)>(i|0)){continue}break}}a=N[b+20>>2];f=N[b+4>>2];g=N[b>>2];i=N[b+8>>2];N[h+16>>2]=N[b+12>>2];N[h+12>>2]=i;N[h+8>>2]=g;N[h+4>>2]=f;N[h>>2]=c;mb(a,1,23576,h);f=0}a=N[d>>2];N[d>>2]=(a|0)>0?a:0;N[e>>2]=f;break a}N[d>>2]=0}La=h+80|0}function yj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[a+68>>2];l=c>>>0>d>>>0?d:c;k=l-b|0;a:{if(!(O[a+16|0]&128)){if(k>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=l>>>0){break a}i=N[a+80>>2];c=-1;d=b;m=(d^-1)+l|0;if(m>>>0>=3){j=k&-4;while(1){e=i+T(d,20)|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}e=k&3;if(e){h=0;while(1){j=N[(i+T(d,20)|0)+8>>2];c=c>>>0>>0?c:j;d=d+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}b=b+1|0}if(!m){break a}while(1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=i+T(b+1|0,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}b=b+2|0;if((l|0)!=(b|0)){continue}break}break a}if(k>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=l>>>0){break a}i=N[a+80>>2];c=-1;d=b;m=(d^-1)+l|0;if(m>>>0>=3){j=k&-4;while(1){e=i+T(d,20)|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}e=k&3;if(e){h=0;while(1){j=N[(i+T(d,20)|0)+8>>2];c=c>>>0>>0?c:j;d=d+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|4}b=b+1|0}if(!m){break a}while(1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|4}d=i+T(b+1|0,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|4}b=b+2|0;if((l|0)!=(b|0)){continue}break}}}function Es(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{e=a+10|0;if(e>>>0<=Q[b+160>>2]){c=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i>>>0<10|N[b+160>>2]-a>>>0>>0){break a}c=O[a+6|0]|O[a+7|0]<<8|(O[a+8|0]<<16|O[a+9|0]<<24);j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(j>>>0>(i-10>>>0)/11>>>0){break a}if(j){d=1;while(1){c=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(f>>>0>=i>>>0){break a}c=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(g>>>0>=i>>>0){break a}k=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);if(k>>>0>>0){break a}c:{if(!f){break c}d=a+f|0;c=d+4|0;if(c>>>0>Q[b+160>>2]){break a}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>N[b+160>>2]-c>>>2>>>0){break a}d=0;h=0;if(!f){break c}while(1){l=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);m=l+O[c+3|0]|0;if(m>>>0>=1114112|h>>>0>l>>>0){break a}c=c+4|0;h=m+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}d:{if(!g){break d}d=a+g|0;c=d+4|0;if(c>>>0>Q[b+160>>2]){break a}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>(N[b+160>>2]-c>>>0)/5>>>0){break a}d=0;g=0;if(!f){break d}while(1){h=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);if(h>>>0>=1114112|d>>>0>h>>>0){break a}if(Q[b+172>>2]<=(O[c+4|0]|O[c+3|0]<<8)>>>0?N[b+164>>2]:0){break b}c=c+5|0;d=h+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}e=e+11|0;d=k+1|0;n=n+1|0;if((j|0)!=(n|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,8);B()}function fl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=U(0),k=0,l=U(0);d=O[a|0]|O[a+1|0]<<8;if(!d){return 0}d=(d<<8|d>>>8)&65535;e=d>>>0<=1?1:d;h=a+8|0;a:{while(1){d=(g<<3)+h|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16))==U(0)){break a}g=g+1|0;if((e|0)!=(g|0)){continue}break}return 0}b:{c:{d:{d=O[a+2|0]|O[a+3|0]<<8;e=(d<<8|d>>>8)&65535;switch(e|0){case 0:break b;case 1:break d;default:break c}}a=(g<<3)+h|0;a=O[a+6|0]|O[a+7|0]<<8;a=((a<<8|a>>>8)&65535)+b|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);i=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+b|0;a=0;d=e-1|0;e:{if(!d){break e}while(1){f=a>>>0>=e>>>0?275552:(a<<2)+i|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(U(U(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))*U(152587890625e-16))>=c){break e}a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}d=a-1|0;a=a>>>0>=d>>>0?d:0;f=a>>>0>>0;d=e;e=a+1|0;k=d>>>0>e>>>0;d=f?(a<<2)+i|0:275552;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));d=k?(e<<2)+i|0:275552;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);l=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));if(j==l){c=U(0)}else{c=U(U(c-j)/U(l-j))}d=b;b=(g<<3)+h|0;b=O[b+6|0]|O[b+7|0]<<8;b=d+((b<<8|b>>>8)&65535)|0;d=k?b+(e<<1)|0:275552;d=O[d|0]|O[d+1|0]<<8;a=f?b+(a<<1)|0:275552;a=O[a|0]|O[a+1|0]<<8;c=U(Z(U(U(U(c*U((d<<8|d>>>8)<<16>>16))+U(U(U(1)-c)*U((a<<8|a>>>8)<<16>>16)))+U(.5))));if(U(V(c))>2]+((d|0)!=0)|0;if(f>>>0>65535){break a}o=N[a+508>>2]+N[a+512>>2]|0;e=j>>>1|0;q=e>>>0<=1?1:e;r=e-1|0;n=b+14|0;k=(b+j|0)+16|0;b:{c:{while(1){b=O[n|0];e=O[n+1|0];i=O[k+1|0]|O[k|0]<<8;if(!(i>>>0<=f>>>0|d)){return 0}f=f>>>0>i>>>0?f:i;l=k+j|0;h=l+j|0;d:{m=e|b<<8;if((i|0)==65535&p>>>0>=r>>>0&(m|0)==65535){s=h+2|0;while(1){if(f>>>0>m>>>0){break d}b=O[l|0]|O[l+1|0]<<8;e=O[h+1|0]|O[h|0]<<8;g=(e|0)!=0&e+s>>>0>o>>>0;b=g?1:(b<<8|b>>>8)<<16>>16;e:{f:{g:{e=g?0:e;if(e){if((e|0)==65535){break d}e=(e+(f-i<<1)|0)+h|0;if(e>>>0>o>>>0?d:0){break d}e=O[e+1|0]|O[e|0]<<8;if(e){break g}e=0;break f}g=b+f|0;e=g&65535;if(!d){break a}if(Q[a+16>>2]>e>>>0){break f}e=b+m|0;if(!((g|0)<0&(e|0)>=0)){if((e|0)<65536|(g|0)>65535){break d}e=0;b=65536-b|0;break e}e=0;b=0-b|0;break e}b=b+e&65535;e=b>>>0>2]?b:0}b=f}if(e|!d){break c}f=b+1|0;if(b>>>0<=65534){continue}break}e=0;break b}while(1){if(f>>>0>m>>>0){break d}b=O[l|0]|O[l+1|0]<<8;b=(b<<8|b>>>8)<<16>>16;e=O[h+1|0]|O[h|0]<<8;h:{if(e){if((e|0)==65535){break d}e=(e+(f-i<<1)|0)+h|0;if(e>>>0>o>>>0?d:0){break d}e=O[e+1|0]|O[e|0]<<8;if(!e){e=0;break h}b=b+e&65535;e=b>>>0>2]?b:0;break h}g=b+f|0;e=g&65535;if(!d){break a}if(Q[a+16>>2]>e>>>0){break h}e=b+m|0;if(!((e|0)<0|(g|0)>=0)){e=0;f=0-b|0;break h}if((e|0)<65536|(g|0)>65535){break d}e=0;f=65536-b|0}b=f;if(e|!d){break c}f=b+1|0;if(b>>>0<=65534){continue}break}e=0;break b}k=k+2|0;n=n+2|0;p=p+1|0;if((q|0)!=(p|0)){continue}break}e=0;b=f}if(!d){break a}}N[c>>2]=b}return e}function Ki(a,b,c,d,e,f,g){var h=0,i=0,j=0;i=O[N[a>>2]+236|0];N[g>>2]=0;N[f>>2]=0;if(O[a+11662|0]){h=e-c|0;e=i?0-h|0:h;j=N[a+4>>2];h=T(h>>16,b>>16);b=d-b|0;N[j+16>>2]=N[j+16>>2]+(h-T(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=N[a+11684>>2];if((e|0)>b<<1){N[f>>2]=c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45875)+(T(b&65535,45875)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?0-b|0:b;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,19661)+(T(b&65535,19661)+32768>>>16|0)|0;a=(a|0)<0?0-b|0:b;break a}if((b|0)>(0-(e<<1)|0)){break b}c=N[a+11684>>2];if((0-e|0)>b<<1){N[f>>2]=0-c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45874)+(T(b&65535,45874)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?b:0-b|0;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,19661)+(T(b&65535,19661)+32768>>>16|0)|0;a=(a|0)<0?0-b|0:b;break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){N[f>>2]=0;a=N[a+11688>>2]<<1;break a}c=N[a+11684>>2];if((e|0)>(0-(b<<1)|0)){N[f>>2]=c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45875)+(T(b&65535,45875)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?0-b|0:b;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,45875)+b+(T(b&65535,45875)+32768>>>16)|0;a=(a|0)<0?0-b|0:b;break a}if((c|0)>(0-(e<<1)|0)){N[f>>2]=0;a=N[a+11688>>2]<<1;break a}c=N[a+11684>>2];if((0-(b<<1)|0)<(0-e|0)){N[f>>2]=0-c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45874)+(T(b&65535,45874)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?b:0-b|0;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,45875)+b+(T(b&65535,45875)+32768>>>16)|0;a=(a|0)<0?0-b|0:b;break a}N[f>>2]=0;a=0}N[g>>2]=a}}function yC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!c){break a}g=d+5|0;if(g>>>0<2){a=0;while(1){a=a+8|0;if(c>>>0>a>>>0){continue}break}break a}m=d<<3;d=g>>>1|0;p=d>>>0<=1?1:d;while(1){d=0;n=0;while(1){i=d-8|0;i=i>>>0>=m>>>0?440592:(i<<1)+b|0;j=d-16|0;j=j>>>0>=m>>>0?440592:(j<<1)+b|0;e=M[i>>1]+M[j>>1]|0;g=d|8;g=g>>>0>=m>>>0?440592:(g<<1)+b|0;l=d>>>0>=m>>>0?440592:(d<<1)+b|0;k=d-24|0;k=k>>>0>=m>>>0?440592:(k<<1)+b|0;f=M[l>>1]+M[k>>1]|0;h=d-32|0;h=h>>>0>=m>>>0?440592:(h<<1)+b|0;M[a>>1]=(((e+(M[g>>1]+(f+M[h>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+2>>1]+M[j+2>>1]|0;f=M[l+2>>1]+M[k+2>>1]|0;M[a+2>>1]=(((e+(M[g+2>>1]+(f+M[h+2>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+4>>1]+M[j+4>>1]|0;f=M[l+4>>1]+M[k+4>>1]|0;M[a+4>>1]=(((e+(M[g+4>>1]+(f+M[h+4>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+6>>1]+M[j+6>>1]|0;f=M[l+6>>1]+M[k+6>>1]|0;M[a+6>>1]=(((e+(M[g+6>>1]+(f+M[h+6>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+8>>1]+M[j+8>>1]|0;f=M[l+8>>1]+M[k+8>>1]|0;M[a+8>>1]=(((e+(M[g+8>>1]+(f+M[h+8>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+10>>1]+M[j+10>>1]|0;f=M[l+10>>1]+M[k+10>>1]|0;M[a+10>>1]=(((e+(M[g+10>>1]+(f+M[h+10>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+12>>1]+M[j+12>>1]|0;f=M[l+12>>1]+M[k+12>>1]|0;M[a+12>>1]=(((e+(M[g+12>>1]+(f+M[h+12>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[g+14>>1];g=M[l+14>>1]+M[k+14>>1]|0;e=e+(g+M[h+14>>1]|0)>>1;h=M[i+14>>1]+M[j+14>>1]|0;M[a+14>>1]=(((e+h>>>1|0)+g>>>1|0)+h|0)+2>>>2;d=d+16|0;a=a+16|0;n=n+1|0;if((p|0)!=(n|0)){continue}break}b=(m<<1)+b|0;o=o+8|0;if(o>>>0>>0){continue}break}}}function en(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!(L[a+741|0]&1)){break a}c=N[N[a+736>>2]+56>>2];f=P[c>>1];if(f){b=N[c+24>>2];j=b+T(f,12)|0;i=c+4|0;while(1){f=N[b>>2];h=Xm(a,f);c=Oh(a,i,P[b+4>>1],P[b+6>>1]);b:{if(!h){break b}M[h>>1]=c+P[b+8>>1];if((f|0)==1751216995){d=c;break b}if((f|0)!=1751934832){if((f|0)!=1751413603){break b}e=c;break b}g=c}b=b+12|0;if(j>>>0>b>>>0){continue}break}}c=P[a+72>>1];e=c+e|0;M[a+72>>1]=e;b=d;d=P[a+70>>1];b=b+d|0;M[a+70>>1]=b;f=M[a+486>>1];M[a+82>>1]=f;M[a+80>>1]=P[a+484>>1]+((f|0)/-2|0);M[a+74>>1]=(b+(c+((P[a+74>>1]+g|0)-d|0)|0)|0)-e;a=N[a+108>>2];while(1){if(!a){break a}c=N[a+8>>2];a=N[a+4>>2];g=N[c>>2];if(O[g+732|0]){continue}L[c+112|0]=0;e=N[c+16>>2];d=N[c+12>>2];N[c+48>>2]=d;N[c+52>>2]=e;e=N[c+24>>2];N[c+56>>2]=N[c+20>>2];N[c+60>>2]=e;b=N[c+32>>2];e=c- -64|0;N[e>>2]=N[c+28>>2];N[e+4>>2]=b;N[c+72>>2]=N[c+36>>2];if(!(d&65535)|!P[c+50>>1]){continue}if(O[g+176|0]&8){f=N[c+56>>2];d=f>>31;h=M[g+70>>1];b=h>>31;d=(d^f)-d|0;j=d>>>8|0;b=(b^h)-b|0;c:{if(j+b>>>0<=8190){i=T(b,d)+32768>>>16|0;break c}i=T(b,d>>>16|0)+(T(b,d&65535)+32768>>>16|0)|0}b=i;k=0-b|0;b=h>>31|1;f=(f|0)<0;N[c+60>>2]=(((f?0-b|0:b)|0)<0?k:i)+32&-64;i=e;h=M[g+72>>1];b=h>>31;b=(b^h)-b|0;d:{if(b+j>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}b=T(b,d>>>16|0)+(T(b,d&65535)+32768>>>16|0)|0}e=h>>31|1;N[i>>2]=(((f?0-e|0:e)|0)<0?0-b|0:b)+32&-64;g=M[g+74>>1];e=g>>31;e=(e^g)-e|0;e:{if(e+j>>>0<=8190){b=T(d,e)+32768>>>16|0;break e}b=T(e,d>>>16|0)+(T(e,d&65535)+32768>>>16|0)|0}d=b;e=0-d|0;d=g>>31|1;N[c+68>>2]=(((f?0-d|0:d)|0)<0?e:b)+32&-64}L[c+112|0]=1;continue}}}function qm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;N[d>>2]=0;N[d+4>>2]=0;g=b-1|0;g=b>>>0>=g>>>0?g:0;b=N[a+408>>2];a:{if(g>>>0>b>>>0){break a}e=b;b=c-1|0;c=b>>>0<=c>>>0?b:0;if(e>>>0>>0){break a}b=N[a+424>>2];if(!b){break a}e=c<<4;c=N[a+416>>2];c=P[e+c>>1]|N[c+(g<<4)>>2]<<16;g=N[a+104>>2];while(1){if(!(c>>>0<=Q[b+20>>2]&c>>>0>=Q[b+16>>2])){b=N[b>>2];if(b){continue}break a}break}a=N[b+12>>2];i=N[g+20>>2];b:{if(i){f=85;if(!(Qa[i|0](g,a,0,0)|0)){break b}break a}f=85;if(a>>>0>Q[g+4>>2]){break a}}N[g+8>>2]=a;f=Bb(g,T(N[b+8>>2],O[b+4|0]));if(f){break a}a=O[b+5|0];j=a&1;k=a>>>1&1;i=N[b+8>>2];f=N[g+32>>2];a=O[b+4|0];h=-2147483648>>>W(a)|0;c:{d:{e:{if((a|0)==(h|0)){break e}a=T(i,a-h|0)+f|0;e=O[a+1|0];l=O[a|0];f:{if(j){e=O[a+3|0]|(e<<16|l<<24|O[a+2|0]<<8);a=a+4|0;break f}e=e|l<<16;a=a+2|0}if((c|0)==(e|0)){break d}if(c>>>0<=e>>>0){break e}f=(k?2:1)+a|0}g:{a=T(i,h);h:{if(i>>>0>=a>>>0){break h}if(!j){while(1){a=a>>>1|0;h=f+a|0;e=O[h|0]<<16|O[h+1|0];if((e|0)!=(c|0)){f=c>>>0>e>>>0?h:f;if(a>>>0>i>>>0){continue}break h}break}a=h+2|0;break d}while(1){a=a>>>1|0;h=f+a|0;e=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((e|0)==(c|0)){break g}f=c>>>0>e>>>0?h:f;if(a>>>0>i>>>0){continue}break}}a=O[f+1|0];i=O[f|0];i:{if(j){i=O[f+3|0]|(a<<16|i<<24|O[f+2|0]<<8);a=f+4|0;break i}i=a|i<<16;a=f+2|0}if((c|0)==(i|0)){break d}break c}a=h+4|0}c=O[a|0];if(k){c=(O[a+1|0]|c<<8)<<16>>16}N[d>>2]=M[b+6>>1]+c}if(N[g+20>>2]){a=N[g>>2];if(a){b=N[g+28>>2];Qa[N[b+8>>2]](b,a)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;f=0}return f|0}function Th(a){var 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;d=N[a>>2];a:{if(O[d+732|0]){break a}L[a+112|0]=0;f=N[a+16>>2];i=N[a+12>>2];N[a+48>>2]=i;N[a+52>>2]=f;f=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=f;c=N[a+32>>2];f=a- -64|0;N[f>>2]=N[a+28>>2];N[f+4>>2]=c;N[a+72>>2]=N[a+36>>2];c=151;j=i&65535;if(!j){break a}f=P[a+50>>1];if(!f){break a}b:{c:{d:{if(O[d+176|0]&8){e=N[a+56>>2];c=e>>31;h=M[d+70>>1];b=h>>31;c=(c^e)-c|0;k=c>>>8|0;b=(b^h)-b|0;e:{if(k+b>>>0<=8190){g=T(c,b)+32768>>>16|0;break e}g=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}b=g;l=0-b|0;b=h>>31|1;N[a+60>>2]=((((e|0)<0?0-b|0:b)|0)<0?l:g)+32&-64;l=a- -64|0;h=M[d+72>>1];b=h>>31;b=(b^h)-b|0;f:{if(b+k>>>0<=8190){g=T(c,b)+32768>>>16|0;break f}g=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}b=g;m=0-b|0;b=h>>31|1;N[l>>2]=((((e|0)<0?0-b|0:b)|0)<0?m:g)+32&-64;h=M[d+74>>1];b=h>>31;b=(b^h)-b|0;if(b+k>>>0>8190){break d}b=T(c,b)+32768>>>16|0;break c}L[a+112|0]=1;break b}b=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}c=b;L[a+112|0]=1;g=0-c|0;c=h>>31|1;N[a+68>>2]=((((e|0)<0?0-c|0:c)|0)<0?g:b)+32&-64;e=P[d+68>>1];c=fb(j<<6,e);N[a+52>>2]=c;n=a,o=fb(f<<6,e),N[n+56>>2]=o;b=M[d+76>>1];e=b>>31;e=(b^e)-e|0;d=c>>31;d=(d^c)-d|0;g:{if(e+(d>>>8|0)>>>0<=8190){g=T(d,e)+32768>>>16|0;break g}g=T(e,d>>>16|0)+(T(e,d&65535)+32768>>>16|0)|0}d=g;e=0-d|0;d=b>>31|1;N[a+72>>2]=((((c|0)<0?0-d|0:d)|0)<0?e:g)+32&-64}e=a+48|0;h:{if(f>>>0<=(i&65535)>>>0){c=a+52|0;d=fb(f,j);f=65536;break h}c=a+56|0;d=65536;i=f;f=fb(j,f)}c=N[c>>2];M[a+84>>1]=i;N[a+92>>2]=c;N[a+80>>2]=d;N[a+76>>2]=f;N[a+308>>2]=-1;N[a+44>>2]=e;c=0}return c}function $e(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=N[a+532>>2];if(c){d=N[a+100>>2];e=N[c>>2];h=N[c+4>>2];b=N[c+24>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+24>>2]=0;if(e>>>0>=2){C(c+28|0,0,(e<<2)-4|0)}b=N[c+216>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+216>>2]=0;b=N[c+148>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+148>>2]=0;b=N[c+288>>2];if(b){Qa[N[d+8>>2]](d,b)}b=0;N[c+288>>2]=0;a:{if(!e){break a}if(e>>>0>=4){l=e&-4;i=c+212|0;g=c+144|0;j=c+284|0;while(1){f=b<<2;N[f+i>>2]=0;N[f+g>>2]=0;N[f+j>>2]=0;k=f|4;N[k+i>>2]=0;N[g+k>>2]=0;N[j+k>>2]=0;k=f|8;N[k+i>>2]=0;N[g+k>>2]=0;N[j+k>>2]=0;f=f|12;N[f+i>>2]=0;N[f+g>>2]=0;N[f+j>>2]=0;b=b+4|0;if((l|0)!=(b|0)){continue}break}}i=e&3;if(!i){break a}e=0;while(1){f=c+(b<<2)|0;N[f+284>>2]=0;N[f+144>>2]=0;N[f+212>>2]=0;b=b+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}b=N[c+136>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+136>>2]=0;N[c+140>>2]=0;b:{if(!h){break b}b=0;c:{if((h|0)!=1){f=h&1;i=h&-2;e=0;while(1){g=b<<2;j=g+c|0;k=N[j+8>>2];if(k){Qa[N[d+8>>2]](d,k)}N[j+8>>2]=0;g=c+(g|4)|0;j=N[g+8>>2];if(j){Qa[N[d+8>>2]](d,j)}N[g+8>>2]=0;b=b+2|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}if(!f){break c}}b=c+(b<<2)|0;e=N[b+8>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+8>>2]=0}c=c+88|0;b=0;if((h|0)!=1){f=h&1;i=h&-2;e=0;while(1){h=c+T(b,12)|0;g=N[h+4>>2];if(g){Qa[N[d+8>>2]](d,g)}N[h+4>>2]=0;L[h|0]=0;h=c+T(b|1,12)|0;g=N[h+4>>2];if(g){Qa[N[d+8>>2]](d,g)}N[h+4>>2]=0;L[h|0]=0;b=b+2|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}if(!f){break b}}c=c+T(b,12)|0;b=N[c+4>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+4>>2]=0;L[c|0]=0}c=N[a+532>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+532>>2]=0}}function gd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=O[b|0]|O[b+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=c>>>0){break a}d=O[b|0]|O[b+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0>=c>>>0){b:{h=b+3|0;e=O[b+2|0];b=h+T(e,c)|0;c:{d:{switch(e-1|0){case 0:f=O[b|0];break c;case 1:d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;break c;case 2:f=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break c;case 3:break d;default:break c}}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if(c>>>0>=g>>>0){break b}d=T(e,c+1|0)+h|0;c=0;e:{f:{switch(e-1|0){case 0:c=O[d|0];break e;case 1:c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535;break e;case 2:c=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e;case 3:break f;default:break e}}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(c>>>0>>0){break a}d=T(e,g)+h|0;g:{h:{switch(e-1|0){case 0:i=O[d|0];break g;case 1:d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;break g;case 2:i=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break g;case 3:break h;default:break g}}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((c|0)==(f|0)|c>>>0>i>>>0){break a}d=c-f|0;f=T(e,g+1|0)+h|0;c=0;i:{j:{switch(e-1|0){case 0:c=O[b|0];break i;case 1:b=O[b|0]|O[b+1|0]<<8;c=(b<<8|b>>>8)&65535;break i;case 2:c=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break i;case 3:break j;default:break i}}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}N[a+8>>2]=0;N[a+4>>2]=d;N[a>>2]=(c+f|0)-1;return}}ba(8966,14180,149,9745);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function Me(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=1;a:{if(!O[a|0]){break a}j=0;if((c|0)==-1|(b|0)==-1|b>>>0>c>>>0){break a}N[a+4>>2]=-1;h=wc(a,b);k=c>>>9|0;l=b>>>9|0;b:{if((k|0)==(l|0)){if(!h){break a}g=-1;f=-1;a=b&63;d=a&31;if((a&63)>>>0>=32){a=-1<>>32-d}b=b>>>6&7;d=(b<<3)+h|0;i=b;b=c>>>6&7;c:{if((i|0)==(b|0)){g=e;f=a;b=d;break c}a=a|N[d+4>>2];N[d>>2]=e|N[d>>2];N[d+4>>2]=a;b=(b<<3)+h|0;a=d+8|0;if((b|0)==(a|0)){b=a;break c}C(a,255,b-a|0)}a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<>>32-c;c=2<>>0>=32){d=-1<>>32-e;e=-1<>>6&7;e=(b<<3)+h|0;d:{if((b|0)==7){g=i;f=d;b=e;break d}d=d|N[e+4>>2];N[e>>2]=i|N[e>>2];N[e+4>>2]=d;b=h+56|0;d=e+8|0;if((b|0)==(d|0)){break d}C(d,255,b-d|0)}f=f|N[b+4>>2];N[b>>2]=g|N[b>>2];N[b+4>>2]=f;f=l+1|0;if(k>>>0>f>>>0){while(1){b=wc(a,f<<9);if(!b){break a}N[b>>2]=-1;N[b+4>>2]=-1;N[b+56>>2]=-1;N[b+60>>2]=-1;N[b+48>>2]=-1;N[b+52>>2]=-1;N[b+40>>2]=-1;N[b+44>>2]=-1;N[b+32>>2]=-1;N[b+36>>2]=-1;N[b+24>>2]=-1;N[b+28>>2]=-1;N[b+16>>2]=-1;N[b+20>>2]=-1;N[b+8>>2]=-1;N[b+12>>2]=-1;f=f+1|0;if((k|0)!=(f|0)){continue}break}}b=wc(a,c);if(!b){break a}f=c>>>6&7;e:{if(!f){break e}a=b;N[b>>2]=-1;N[b+4>>2]=-1;b=b+(f<<3)|0;a=a+8|0;if((b|0)==(a|0)){break e}C(a,255,(f<<3)-8|0)}a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<>>32-c;g=2<>2];e=N[b+4>>2];a=a+f|0;c=c+g|0;a=c>>>0>>0?a+1|0:a;N[b>>2]=c|d;N[b+4>>2]=a|e;j=1}return j}function Fj(a,b,c,d){var 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,t=0,u=0,v=0;m=La-176|0;La=m;if(ib(c,b,12581,0)){if(O[c+16|0]&64){wb(c,2,0,-1,1,0)}e=Ec(m+12|0,1,b,c);N[e+132>>2]=d;N[e+140>>2]=8;N[e+32>>2]=0;N[e+8>>2]=e;N[e+24>>2]=0;N[e+28>>2]=0;L[e+21|0]=O[e+150|0];N[e+12>>2]=8;N[e+72>>2]=0;N[e+48>>2]=e;i=O[e+151|0];L[e+22|0]=i;N[e+16>>2]=d;f=e- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[e+52>>2]=8;L[e+61|0]=1;f=N[e+84>>2]==1;L[e+20|0]=f;L[e+60|0]=f|O[e+149|0]!=0;L[e+62|0]=i;N[e+56>>2]=-1;r=N[c+68>>2];if(r){p=e+4|0;k=N[c+88>>2];s=N[c+80>>2];v=(N[c+40>>2]&-2)!=4;i=0;while(1){a:{b:{n=T(i,20);h=n+s|0;if(!(N[h+4>>2]&d)){break b}N[e+36>>2]=1;N[e+4>>2]=i;f=N[N[e+8>>2]+96>>2];N[e+40>>2]=N[f+68>>2];L[e+23|0]=O[e+22|0]?N[f+64>>2]==(i|0)?O[(n+N[f+80>>2]|0)+15|0]:0:0;if(!kc(p,m+8|0)){break b}t=N[p>>2];l=T(t,20);g=N[l+s>>2];h=N[h>>2];u=N[a>>2];f=N[u>>2];q=N[f+100>>2];j=N[f+96>>2];o=N[j+12>>2];c:{if((N[u+4>>2]&-2)==4){j=N[j- -64>>2];if(!o){f=Qa[j|0](f,q,h,g,0)|0;break c}f=Qa[j|0](f,q,h,g,N[o+44>>2])|0;break c}j=N[j+68>>2];f=Qa[j|0](f,q,h,g,o?N[o+48>>2]:0)|0}if(f){g=O[a+4|0];d:{if(!v){if(g){N[(k+l|0)+12>>2]=f;N[c+144>>2]=N[c+144>>2]|8;break d}g=k+n|0;h=f>>1;N[g>>2]=h+N[g>>2];g=k+l|0;f=f-h|0;N[g>>2]=f+N[g>>2];N[g+8>>2]=f+N[g+8>>2];break d}if(g){N[(k+l|0)+8>>2]=f;N[c+144>>2]=N[c+144>>2]|8;break d}g=k+n|0;h=f>>1;N[g+4>>2]=h+N[g+4>>2];g=k+l|0;f=f-h|0;N[g+4>>2]=f+N[g+4>>2];N[g+12>>2]=f+N[g+12>>2]}Sc(c,i,t+1|0)}i=N[p>>2];break a}i=i+1|0}if(r>>>0>i>>>0){continue}break}}ib(c,b,12662,0);_a(N[e+112>>2])}La=m+176|0}function xt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=N[b+28>>2];a:{d=Qa[N[a+516>>2]](a,1734439792,b,0)|0;b:{if(d){break b}c=N[b+4>>2];c:{if(N[b+20>>2]){d=85;if(c>>>0<4){break b}d:{e:{c=N[b+28>>2];d=Qa[N[c+4>>2]](c,4)|0;if(d){N[b>>2]=d;e=Qa[N[b+20>>2]](b,N[b+8>>2],d,4)|0;f=N[b>>2];if(e>>>0<=3){break e}d=0;break d}N[b>>2]=0;return 64}if(f){Qa[N[c+8>>2]](c,f)}f=0;N[b>>2]=0;d=85}N[b+32>>2]=f;g=f?f+4|0:0;N[b+36>>2]=g;N[b+8>>2]=e+N[b+8>>2];c=f;if(e>>>0>=4){break c}break b}d=85;e=N[b+8>>2];if(e>>>0>=c>>>0|c-e>>>0<4){break b}N[b+8>>2]=e+4;f=N[b>>2];c=e+f|0;N[b+32>>2]=c;g=c+4|0;N[b+36>>2]=g}e=0;f:{if(c+1>>>0>=g>>>0){d=0;break f}d=O[c|0]|O[c+1|0]<<8;d=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;M[a+560>>1]=d;if(c+1>>>0>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;M[a+562>>1]=e;if(N[b+20>>2]){if(f){c=N[b+28>>2];Qa[N[c+8>>2]](c,f);d=P[a+560>>1]}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if((d&65535)>>>0>=2){M[a+562>>1]=0;return 8}f=P[a+562>>1];g:{if(!f){d=f<<2;c=0;break g}d=f<<2;c=Qa[N[h+4>>2]](h,d)|0;if(!c){break a}C(c,0,d)}N[a+564>>2]=c;d=Bb(b,d);if(d){break b}if(f){g=N[a+564>>2];a=N[b+32>>2];e=N[b+36>>2];d=0;while(1){h:{if(e>>>0<=a+1>>>0){c=0;break h}c=O[a|0]|O[a+1|0]<<8;c=c<<8|c>>>8;a=a+2|0}N[b+32>>2]=a;h=g+(d<<2)|0;M[h>>1]=c;c=0;if(e>>>0>a+1>>>0){c=O[a|0]|O[a+1|0]<<8;c=c<<8|c>>>8;a=a+2|0}N[b+32>>2]=a;M[h+2>>1]=c;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;d=0}return d|0}N[a+564>>2]=0;return 64}function of(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(e){N[e>>2]=-1}l=(c|0)==-21;m=l?b-21|0:b;n=(c|0)>0?c:0;g=N[a+8>>2];a:{h=N[a>>2];b:{c:{if(h){b=g;while(1){if(!(N[b>>2]!=(m|0)|N[b+4>>2]!=(n|0))){h=f;break c}b=b+12|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}j=N[a+4>>2];k=h+1|0;d:{if(j>>>0>=k>>>0){b=g;break d}i=(h&-8)+8|0;if((i|j)<0){return 6}e:{f:{g:{if(!i){b=0;if(!g){break g}Qa[N[d+8>>2]](d,g);N[a+8>>2]=0;break e}f=10;if((i|0)>178956970){break b}h:{if(!j){b=Qa[N[d+4>>2]](d,T(i,12))|0;f=!b<<6;break h}f=Qa[N[d+12>>2]](d,T(j,12),T(i,12),g)|0;b=f?f:g;f=!f<<6}if(f|(i|0)<=(j|0)|!b){break f}C(T(j,12)+b|0,0,T(i-j|0,12))}N[a+8>>2]=b;break e}N[a+8>>2]=b;if(f){break b}}N[a+4>>2]=i}N[a>>2]=k;N[(T(k,12)+b|0)-12>>2]=m;b=T(h,12)+b|0;N[b+8>>2]=c>>31&(l?3:1);N[b+4>>2]=n}b=N[a+12>>2];i:{j:{if(!b){k:{if(N[a+16>>2]){b=N[a+20>>2];break k}b=Qa[N[d+4>>2]](d,128)|0;if(!b){break a}C(b,0,128);N[a+16>>2]=8;N[a+20>>2]=b}N[b>>2]=0;N[b+12>>2]=0;N[a+12>>2]=1;break j}b=(N[a+20>>2]+(b<<4)|0)-16|0;if(Q[b>>2]>h>>>0){break i}}a=h+8>>>3|0;i=N[b+4>>2]+7|0;g=i>>>3|0;if(a>>>0>g>>>0){f=N[b+8>>2];l:{m:{c=a+7&1073741816;n:{if(!c){a=0;if(!f){break n}Qa[N[d+8>>2]](d,f);N[b+8>>2]=0;break l}o:{if(i>>>0<=7){a=Qa[N[d+4>>2]](d,c)|0;f=!a<<6;break o}d=Qa[N[d+12>>2]](d,g,c,f)|0;a=d?d:f;f=!d<<6}if(f|c>>>0<=g>>>0|!a){break m}C(a+g|0,0,c-g|0)}N[b+8>>2]=a;break l}N[b+8>>2]=a;if(f){break b}}N[b+4>>2]=c<<3}N[b>>2]=h+1}a=N[b+8>>2]+(h>>>3|0)|0;L[a|0]=O[a|0]|128>>>(h&7);f=0;if(!e){break b}N[e>>2]=h}return f}N[a+20>>2]=0;return 64}function dw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=N[a+712>>2];if(!c){return 0}e=N[c+3092>>2];a:{if(!e){a=N[a+100>>2];e=Qa[N[a+4>>2]](a,32)|0;h=!e<<6;if(!e){break a}d=N[c+1372>>2];f=0;b:{if((d|0)==65535){break b}if(d>>>0>=391){d=d-391|0;f=0;if(d>>>0>=Q[c+1356>>2]){break b}f=N[N[c+1360>>2]+(d<<2)>>2];break b}a=N[c+3084>>2];f=0;if(!a){break b}f=Qa[N[a+20>>2]](d)|0}N[e>>2]=f;a=N[c+1376>>2];c:{if((a|0)==65535){break c}if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[c+1356>>2]){break c}g=N[N[c+1360>>2]+(a<<2)>>2];break c}d=N[c+3084>>2];if(!d){break c}g=Qa[N[d+20>>2]](a)|0}N[e+4>>2]=g;g=0;d=N[c+1384>>2];f=0;d:{if((d|0)==65535){break d}if(d>>>0>=391){d=d-391|0;f=0;if(d>>>0>=Q[c+1356>>2]){break d}f=N[N[c+1360>>2]+(d<<2)>>2];break d}a=N[c+3084>>2];f=0;if(!a){break d}f=Qa[N[a+20>>2]](d)|0}N[e+8>>2]=f;a=N[c+1388>>2];e:{if((a|0)==65535){break e}if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[c+1356>>2]){break e}g=N[N[c+1360>>2]+(a<<2)>>2];break e}d=N[c+3084>>2];if(!d){break e}g=Qa[N[d+20>>2]](a)|0}N[e+12>>2]=g;a=0;g=N[c+1392>>2];f:{if((g|0)==65535){break f}if(g>>>0>=391){g=g-391|0;if(g>>>0>=Q[c+1356>>2]){break f}a=N[N[c+1360>>2]+(g<<2)>>2];break f}d=N[c+3084>>2];if(!d){break f}a=Qa[N[d+20>>2]](g)|0}N[e+16>>2]=a;N[e+20>>2]=N[c+1400>>2];L[e+24|0]=O[c+1396|0];M[e+26>>1]=N[c+1404>>2];M[e+28>>1]=N[c+1408>>2];N[c+3092>>2]=e}a=N[e+4>>2];N[b>>2]=N[e>>2];N[b+4>>2]=a;a=N[e+28>>2];N[b+24>>2]=N[e+24>>2];N[b+28>>2]=a;a=N[e+20>>2];N[b+16>>2]=N[e+16>>2];N[b+20>>2]=a;a=N[e+12>>2];N[b+8>>2]=N[e+8>>2];N[b+12>>2]=a}return h|0}function kk(a,b){var 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;k=La-32|0;La=k;e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}e=(e<<8|e>>>8)&65535;c=N[b+132>>2];h=N[b+96>>2];i=N[h+80>>2];c=(c&N[(i+T(N[h+64>>2],20)|0)+4>>2])>>>SE(c)|0;b:{if((c|0)!=255){break b}c=255;if(!O[b+152|0]){break b}l=N[h+68>>2];c:{if(l>>>0<2){break c}j=N[h+144>>2]|32;N[h+144>>2]=j;m=l&3;d:{if(l>>>0<4){c=-1;break d}f=l&-4;c=-1;while(1){g=N[(T(d,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|1,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|2,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|3,20)+i|0)+8>>2];c=c>>>0>>0?c:g;d=d+4|0;if((f|0)!=(d|0)){continue}break}}if(m){while(1){d=N[(T(f,20)+i|0)+8>>2];c=c>>>0>>0?c:d;f=f+1|0;n=n+1|0;if((m|0)!=(n|0)){continue}break}}m=l&-2;d=0;while(1){f=T(d,20)+i|0;if(N[f+8>>2]!=(c|0)){j=j|32;N[h+144>>2]=j;N[f+4>>2]=N[f+4>>2]|3}f=T(d|1,20)+i|0;if(N[f+8>>2]!=(c|0)){j=j|32;N[h+144>>2]=j;N[f+4>>2]=N[f+4>>2]|3}d=d+2|0;if((m|0)!=(d|0)){continue}break}if(!(l&1)){break c}n=c;c=T(d,20)+i|0;if((n|0)==N[c+8>>2]){break c}N[h+144>>2]=j|32;N[c+4>>2]=N[c+4>>2]|3}c=(T(N[b+156>>2],48271)>>>0)%2147483647|0;N[b+156>>2]=c;c=((c>>>0)%(e>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=e>>>0){break a}if(N[h+156>>2]){zc(h);e=N[b+88>>2];d=N[b+96>>2];N[k+16>>2]=N[d+64>>2];ib(d,e,23049,k+16|0);e=O[a|0]|O[a+1|0]<<8;e=(e<<8|e>>>8)&65535}a=c>>>0>=e>>>0?275552:((c<<1)+a|0)+2|0;a=O[a|0]|O[a+1|0]<<8;Oe(b,(a<<8|a>>>8)&65535);o=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[k>>2]=N[a+64>>2]-1;ib(a,b,23096,k)}La=k+32|0;return o}function gh(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,o=0,p=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;e=1;if((f|0)<=0){break a}g=O[a|0]|O[a+1|0]<<8;b:{if(!g){break b}e=a+2|0;if(e>>>0>d>>>0){break a}h=d-e|0;d=(g<<8|g>>>8)&65535;e=d<<2;if(h>>>0>>0){break a}f=f-e|0;N[b+12>>2]=f;e=0;if((f|0)<=0){break b}p=d>>>0<=1?1:d;n=N[c>>2];while(1){j=N[b+4>>2];e=((k<<2)+a|0)+2|0;if(j>>>0>e>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<4){break a}g=N[b+12>>2];d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);c:{if(!d){break c}if(d&128){break a}d=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+n|0;d:{if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<6){break d}h=g-10|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=d+4|0;if(h>>>0>f>>>0|f-h>>>0<2){break d}g=g-12|0;N[b+12>>2]=g;if((g|0)<=0){break d}i=O[h|0]|O[h+1|0]<<8;l=(i<<8|i>>>8)&65535;m=l<<1;if(i){i=d+6|0;if(i>>>0>f>>>0|f-i>>>0>>0){break d}g=g-m|0;N[b+12>>2]=g;if((g|0)<=0){break d}}i=O[d+2|0]|O[d+3|0]<<8;o=(i&65407)<<8|i>>>8;if((o&32767)>>>0>l>>>0){break d}d=O[d|0]|O[d+1|0]<<8;d=UE((d<<8|d>>>8)&65535,0,(o&65535)+l<<(i>>>7&1),0);if(Pa){break d}if(!d){break c}h=(h+m|0)+2|0;if(h>>>0>>0|f>>>0>>0|d>>>0>f-h>>>0){break d}d=g-d|0;N[b+12>>2]=d;if((d|0)>0){break c}}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;n=N[c>>2]}e=1;k=k+1|0;if((p|0)!=(k|0)){continue}break}}return e}return 0}function pf(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!(O[(T(c,9804)+b|0)+256|0]|!(a&4))){h=d>>31;h=(h^d)-h|0;a:{b:{c:{if((c|0)==1){if(a&2){break c}if(!(g&2)|h>>>0>=192){break b}f=h;break a}if(!(a&1)){break b}}d:{e:{f:{g:{h:{i:{e=T(c,9804)+b|0;b=N[e+52>>2];if(b){e=e+56|0;if((b|0)!=1){break i}f=98;g=h;break h}b=h+32&2147483584;g=h;break f}p=b&1;i=b&-2;f=98;b=0;g=h;while(1){n=N[(e+T(b|1,12)|0)+4>>2];j=h-n|0;k=j>>31;o=N[(e+T(b,12)|0)+4>>2];l=h-o|0;m=l>>31;l=(m^l)-m|0;m=(l|0)<(f|0);j=(k^j)-k|0;f=m?l:f;k=(j|0)<(f|0);f=k?j:f;g=k?n:m?o:g;b=b+2|0;if((i|0)!=(b|0)){continue}break}if(!p){break g}}e=N[(e+T(i,12)|0)+4>>2];i=h-e|0;b=i>>31;g=((b^i)-b|0)<(f|0)?e:g}b=g+32&-64;if((g|0)>(h|0)){break e}}b=(h|0)<(b|48)?g:h;break d}b=(h|0)>(b-48|0)?g:h}if((c|0)==1){f=64;if((b|0)<64){break a}f=b+16&-64;break a}if(a&8){f=64;if((b|0)<64){break a}f=b+32&-64;break a}if((b|0)<=47){f=b- -64>>1;break a}if(b>>>0<=127){f=b+22&-64;b=f-h|0;a=b>>31;if((a^b)-a>>>0<16){break a}if(h>>>0>47){f=h;break a}f=h- -64>>>1|0;break a}f=b+32&-64;break a}f=f&1?h>>>0<80?64:h:(h|0)<=56?56:h;a=T(c,9804)+b|0;if(!N[a+52>>2]){break a}a=N[a+60>>2];g=f-a|0;c=g>>31;if((c^g)-c>>>0<=39){f=(a|0)<=48?48:a;break a}if(f>>>0<=191){a=f&63;if(a>>>0<10){break a}b=f&2147483584;if(a>>>0<=31){f=b|10;break a}f=a>>>0<54?b|54:f;break a}a=0;j:{if(!((d|0)>0&(e|0)>0)&(d&e)>=0){break j}b=P[N[N[b+4>>2]+88>>2]+12>>1];if(b>>>0>=10){if(b>>>0>29){break j}e=(T(30-b|0,e)|0)/20|0}a=e>>31;a=a-(a^e)|0}f=(a+f|0)+32&-64}d=(d|0)<0?0-f|0:f}return d}function Vp(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;d=N[a>>2];e=d+1|0;a:{if(e>>>0>c>>>0){break a}N[a>>2]=e;e=L[d|0];j=e&255;if((e|0)<0){e=d+2|0;if(e>>>0>c>>>0){break a}N[a>>2]=e;j=O[d+1|0]|j<<8&32512}d=N[b>>2];if((d|0)<0){break a}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(j>>>0>=d>>>0){continue}break}b:{if(d>>>0<=1073741823){e=$a(N[b+8>>2],d<<2);if(e){break b}}N[b>>2]=-1;return 0}N[b>>2]=d;N[b+8>>2]=e}N[b+4>>2]=j;if(j){e=N[a>>2];while(1){f=k;d=e+1|0;if(d>>>0>c>>>0){break a}N[a>>2]=d;g=O[e|0];m=g&127;l=m+1|0;k=l+f|0;if(k>>>0>j>>>0){break a}c:{if(g<<24>>24<0){if((l<<1)+d>>>0>c>>>0){break a}d:{if(!(l&1)){e=d;break d}d=O[e+1|0]|O[e+2|0]<<8;h=((d<<8|d>>>8)&65535)+h|0;N[N[b+8>>2]+(f<<2)>>2]=h;e=e+3|0;N[a>>2]=e;f=f+1|0}if(!m){break c}while(1){i=f<<2;d=O[e|0]|O[e+1|0]<<8;g=((d<<8|d>>>8)&65535)+h|0;N[i+N[b+8>>2]>>2]=g;N[a>>2]=e+2;d=O[e+2|0]|O[e+3|0]<<8;h=g+((d<<8|d>>>8)&65535)|0;N[(i+N[b+8>>2]|0)+4>>2]=h;e=e+4|0;N[a>>2]=e;f=f+2|0;if((k|0)!=(f|0)){continue}break}break c}if(d+l>>>0>c>>>0){break a}i=0;g=l&3;if(g){while(1){e=d+1|0;N[a>>2]=e;h=O[d|0]+h|0;N[N[b+8>>2]+(f<<2)>>2]=h;f=f+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(m>>>0<3){break c}while(1){N[a>>2]=d+1;i=f<<2;e=O[d|0]+h|0;N[i+N[b+8>>2]>>2]=e;N[a>>2]=d+2;e=e+O[d+1|0]|0;N[(i+N[b+8>>2]|0)+4>>2]=e;N[a>>2]=d+3;g=e+O[d+2|0]|0;N[(i+N[b+8>>2]|0)+8>>2]=g;e=d+4|0;N[a>>2]=e;h=g+O[d+3|0]|0;N[(i+N[b+8>>2]|0)+12>>2]=h;d=e;f=f+4|0;if((k|0)!=(f|0)){continue}break}}if(j>>>0>k>>>0){continue}break}}n=1}return n}function Hf(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}d=N[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}f=N[b+12>>2];e=f-2|0;N[b+12>>2]=e;g=1;if((e|0)<=0){return 0}e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}e=((e<<8|e>>>8)&65535)+c|0;b:{if(e>>>0>>0|d>>>0>>0){break b}c=d-e|0;if(c>>>0<2){break b}d=f-4|0;N[b+12>>2]=d;if((d|0)<=0){break b}c:{d:{e:{d=O[e|0]|O[e+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 2:break d;case 0:break e;default:break a}}if(c>>>0<6){break b}c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break b}break a}f:{g:{if(e>>>0>2]){break g}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<10){break g}f=N[b+12>>2];c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=e+6|0;if(c>>>0>d>>>0|d-c>>>0<2){break g}d=f-12|0;N[b+12>>2]=d;if((d|0)<=0){break g}d=O[c|0]|O[c+1|0]<<8;h:{if(!d){break h}if(Id(e+((d<<8|d>>>8)&65535)|0,b)){break h}d=N[b+28>>2];if(d>>>0>31){break g}N[b+28>>2]=d+1;if(!O[b+24|0]){break g}L[c|0]=0;L[c+1|0]=0}d=e+8|0;if(d>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break g}f=O[d|0]|O[d+1|0]<<8;i:{if(!f){break i}if(Id(e+((f<<8|f>>>8)&65535)|0,b)){break i}c=N[b+28>>2];if(c>>>0>31){break g}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;c=1}break f}c=0}if(!c){break b}break a}if(c>>>0<8){break b}c=f-12|0;N[b+12>>2]=c;if((c|0)>0){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;g=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;g=1}return g}function vB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=La-48|0;La=i;h=N[a+8>>2];e=6;a:{b:{c:{d:{if(N[b+72>>2]!=N[a+16>>2]){break d}e=19;if((c|0)!=2){break a}c=N[b+156>>2];e=N[c+4>>2];if(e&1){g=N[b+88>>2];if(g){Qa[N[h+8>>2]](h,g);c=N[b+156>>2];e=N[c+4>>2]}N[b+88>>2]=0;N[c+4>>2]=e&-2}e=98;c=0;if(jg(b,2,d)){break c}e:{g=N[b+84>>2];c=N[b+76>>2];if((g|c)<0){e=6;break e}e=0;f:{g:{if(!(!g|!c)){e=10;if((c|0)>(2147483647/(g>>>0)|0)){break e}f=T(c,g);e=Qa[N[h+4>>2]](h,f)|0;if(!e|(c|0)<=0){break g}C(e,0,f)}N[b+88>>2]=e;break f}N[b+88>>2]=e;if(e){break f}e=!e<<6;f=0;break d}c=N[b+156>>2];N[c+4>>2]=N[c+4>>2]|1;f=N[b+76>>2]-N[b+104>>2]<<6;c=0-(N[b+100>>2]<<6)|0;if(d){f=N[d+4>>2]+f|0;c=N[d>>2]+c|0}d=b+108|0;if(c|f){te(d,c,f)}e=0;N[i+8>>2]=0;N[i+4>>2]=d;N[i>>2]=b+76;a=Qa[N[a+56>>2]](N[a+52>>2],i)|0;if(a){e=a;break c}N[b+72>>2]=1651078259;break b}N[b+88>>2]=0}c=0}a=N[b+156>>2];d=N[a+4>>2];if(!(d&1)){break b}g=N[b+88>>2];if(g){Qa[N[h+8>>2]](h,g);a=N[b+156>>2];d=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=d&-2}if(!(c|f)){break a}d=M[b+110>>1];if((d|0)<=0){break a}b=N[b+112>>2];if(d>>>0>=4){h=d&-4;a=0;while(1){N[b>>2]=N[b>>2]-c;N[b+4>>2]=N[b+4>>2]-f;N[b+8>>2]=N[b+8>>2]-c;N[b+16>>2]=N[b+16>>2]-c;N[b+24>>2]=N[b+24>>2]-c;N[b+12>>2]=N[b+12>>2]-f;N[b+20>>2]=N[b+20>>2]-f;N[b+28>>2]=N[b+28>>2]-f;b=b+32|0;a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=d&3;if(!d){break a}a=0;while(1){N[b>>2]=N[b>>2]-c;N[b+4>>2]=N[b+4>>2]-f;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}La=i+48|0;return e|0}function jq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=U(0);if(!O[a+4442|0]){c=N[a+4416>>2];b=O[c+8|0]|O[c+9|0]<<8;i=(b<<8|b>>>8)&65535;b=N[a+4424>>2];if(i>>>0>b>>>0){b=(c+(b<<2)|0)+10|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=(c+2|0)+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}d=O[b+4|0]|O[b+5|0]<<8;b=(d<<8|d>>>8)&65535;N[a+4420>>2]=b;a:{if(!O[a+4440|0]){break a}b:{c:{e=N[a+4428>>2];if((e|0)>=0){if(b>>>0<=e>>>0){break b}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=1073741823){c=$a(N[a+4436>>2],e<<2);if(c){break c}}N[a+4428>>2]=-1}N[a+8>>2]=N[a+4>>2]+1;break a}N[a+4428>>2]=e;N[a+4436>>2]=c}c=N[a+4432>>2];if(c>>>0>>0){C(N[a+4436>>2]+(c<<2)|0,0,b-c<<2)}N[a+4432>>2]=b;c=N[a+4416>>2];f=N[a+4424>>2];d:{if(!d){N[147456]=0;b=589824;break d}b=N[a+4436>>2]}e=275552;g=c+2|0;d=O[c+8|0]|O[c+9|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:(c+(f<<2)|0)+10|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(d){e=g+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}d=N[a+4420>>2];c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){c=g+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0}else{c=275552}f=O[e+4|0]|O[e+5|0]<<8;j=(f<<8|f>>>8)&65535;g=d>>>0>j>>>0?j:d;if(g){k=N[a+4412>>2];i=N[a+4408>>2];f=0;while(1){h=(f<<1)+e|0;h=O[h+6|0]|O[h+7|0]<<8;l=b+(f<<2)|0,m=Mg(c,(h<<8|h>>>8)&65535,i,k,0),R[l>>2]=m;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(d>>>0<=j>>>0){break a}C(b+(g<<2)|0,0,d-g<<2)}L[a+4442|0]=1}}function Gs(a,b,c){a=a|0;b=b|0;c=c|0;var 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;k=N[a+16>>2];l=N[a+24>>2];f=l+1|0;g=N[a+28>>2];a:{b:{if(f>>>0<=g>>>0){i=N[a+32>>2];break b}N[a+36>>2]=b;if((f|g)<0|(f|0)>536870911){break a}c:{if(!g){i=Qa[N[b+4>>2]](b,f<<2)|0;b=!i<<6;break c}d=N[a+32>>2];b=Qa[N[b+12>>2]](b,g<<2,f<<2,d)|0;i=b?b:d;b=!b<<6}d:{if(!(b|(f|0)<=(g|0)|!i)){C((g<<2)+i|0,0,f-g<<2);N[a+32>>2]=i;break d}N[a+32>>2]=i;if(b){break a}}N[a+28>>2]=f}g=i;if(l){e=k+10|0;while(1){m=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);n=O[e|0];o=O[e+1|0];p=O[e+2|0];e:{f:{g:{b=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break g}d=b+N[a+16>>2]|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);f=d+4|0;j=0;while(1){if(b>>>0<=j>>>0){break g}d=b;b=b+j>>>1|0;h=f+(b<<2)|0;k=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];if(k>>>0>c>>>0){continue}j=b+1|0;b=d;if(O[h+3|0]+k>>>0>>0){continue}break}break f}b=m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24);if(!b){break e}d=b+N[a+16>>2]|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break e}f=d+4|0;j=0;while(1){h:{d=b+j>>>1|0;h=f+T(d,5)|0;k=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];i:{if(k>>>0>c>>>0){b=d;break i}if(c>>>0<=k>>>0){break h}j=d+1|0}if(b>>>0>j>>>0){continue}break e}break}if(!(O[h+4|0]|O[h+3|0]<<8)){break e}}N[g>>2]=o<<8|n<<16|p;g=g+4|0}e=e+11|0;l=l-1|0;if(l){continue}break}}N[g>>2]=0;j=i}return j|0}function Ou(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=N[b>>2];if(!b){return 35}h=6;e=N[b+132>>2];a:{if(!e|Q[b+16>>2]<=c>>>0){break a}h=3;b=c?c-1|0:O[e+106|0];g=P[e+4>>1];c=(g|0)==768;f=T(b,c?6:4)+(c?148:118)|0;b=N[e+8>>2];if(f>>>0>=(b+(c?-4:-2)|0)-2>>>0){break a}k=N[e+160>>2];c=f+k|0;i=O[c|0]|O[c+1|0]<<8;N[a+80>>2]=i;if((g|0)==768){c=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24)}else{c=O[c+2|0]|O[c+3|0]<<8}if(b>>>0<=c>>>0){break a}g=P[e+96>>1];h=0;N[a+100>>2]=0;L[a+94|0]=1;N[a+76>>2]=g;e=P[e+80>>1];N[a+72>>2]=1651078259;N[a+104>>2]=e;j=i<<6;N[a+40>>2]=j;f=g<<6;N[a+28>>2]=f;N[a+24>>2]=j;N[a+32>>2]=0;e=e<<6;N[a+36>>2]=e;e=f-e|0;f=g?f:(T(e,12)|0)/10|0;N[a+52>>2]=f;N[a+48>>2]=(f-e|0)/2;N[a+44>>2]=0-(i<<5);if(d&4194304){break a}h=3;d=N[N[a+4>>2]+100>>2];j=i+7|0;f=j>>>3|0;N[a+84>>2]=f;if(!i){break a}e=b;b=T(f,g);if(e>>>0>>0){break a}b:{if(!g){e=0;break b}e=Qa[N[d+4>>2]](d,b)|0;if(e){break b}N[a+88>>2]=0;return 64}b=c+k|0;N[a+88>>2]=e;if(j&8){c=N[a+76>>2];if((c|0)>0){d=b+c|0;c=e;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}}e=e+1|0;d=f-1|0}else{d=f}if((f|0)!=1){while(1){c=N[a+76>>2];c:{if((c|0)<=0){break c}f=b+c|0;c=e;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}c=N[a+76>>2];if((c|0)<=0){break c}f=b+c|0;c=e+1|0;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}e=e+2|0;d=d-2|0;if(d){continue}break}}N[N[a+156>>2]+4>>2]=1;h=0}return h|0}function fe(a,b,c,d){var e=0,f=0,g=0;f=a<<8|(a&65280)>>>8;a=(((((f&1)<<1)+d|0)+(f&2)|0)+(a>>>9&2)|0)+(a>>>10&2)|0;a:{b:{if(!(f&16)){d=a;break b}if(a>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=O[a|0]|O[a+1|0]<<8;if(!e){break b}if(Id(((e<<8|e>>>8)&65535)+c|0,b)){break b}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}f=f&65535;c:{if(!(f&32)){a=d;break c}if(Q[b+4>>2]>d>>>0){break a}a=N[b+8>>2];if(a>>>0>>0|a-d>>>0<2){break a}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){break a}a=d+2|0;e=O[d|0]|O[d+1|0]<<8;if(!e){break c}if(Id(((e<<8|e>>>8)&65535)+c|0,b)){break c}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d:{if(!(f&64)){d=a;break d}if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=O[a|0]|O[a+1|0]<<8;if(!e){break d}if(Id(((e<<8|e>>>8)&65535)+c|0,b)){break d}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}g=1;if(!(f&128)){break a}if(Q[b+4>>2]>d>>>0){return 0}a=N[b+8>>2];if(a>>>0>>0){return 0}if(a-d>>>0<2){return 0}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){return 0}a=O[d|0]|O[d+1|0]<<8;if(!a){break a}if(Id(((a<<8|a>>>8)&65535)+c|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){return 0}N[b+28>>2]=a+1;g=0;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;g=1}return g}function Bf(a,b,c,d){var e=0,f=0,g=0,h=0;if(N[b+24>>2]){return 0}a:{b:{c:{if(Q[b>>2]<=a>>>0){d:{f=N[b+4>>2];if(f>>>0>>0){break c}if(f-a>>>0>=7){break b}e=a+6|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[b+8>>2]-f|0))){break a}if((e|0)!=(f|0)){C(f,0,g);f=N[b+4>>2]}N[b+4>>2]=f+g;g=0;e:{if(!f){break e}d=d<<8|(d&65280)>>>8;L[a+2|0]=d;L[a+3|0]=d>>>8;c=c<<8|(c&65280)>>>8;L[a|0]=c;L[a+1|0]=c>>>8;if(N[b+24>>2]){break e}c=a+4|0;if(c>>>0>2]){break d}d=N[b+4>>2];if(d>>>0>>0){break c}if(d-c>>>0>=3){break b}f=e-d|0;if(!((f|0)>=0&(f|0)<=(N[b+8>>2]-d|0))){break a}if((d|0)!=(e|0)){C(d,0,f);e=N[b+4>>2]}N[b+4>>2]=e+f;if(!e){break e}L[c|0]=0;L[c+1|0]=1;if(N[b+24>>2]){break e}if(c>>>0>2]){break d}e=N[b+4>>2];if(c>>>0>e>>>0){break c}if(e-c>>>0>=5){break b}f=a+8|0;d=f-e|0;if(!((d|0)>=0&(d|0)<=(N[b+8>>2]-e|0))){break a}if((e|0)!=(f|0)){C(e,0,d);e=N[b+4>>2]}d=d+e|0;N[b+4>>2]=d;if(!e){break e}g=1;e=O[a+2|0]|O[a+3|0]<<8;if(!(e&4096)){break e}g=0;if(N[b+24>>2]){break e}if(Q[b>>2]>a>>>0){break d}if(a>>>0>d>>>0){break c}h=d-a|0;f=O[a+4|0]|O[a+5|0]<<8;e=((c+(((f<<8|f>>>8)&65535)<<1)|0)+(e>>>11&2)|0)+2|0;a=e-a|0;if(h>>>0>a>>>0){break b}if((a|0)<0){break e}a=e-d|0;if(!((a|0)>=0&(a|0)<=(N[b+8>>2]-d|0))){break a}if((d|0)!=(e|0)){C(d,0,a);d=N[b+4>>2]}N[b+4>>2]=a+d;if(!d){return 0}g=1;a=O[c|0]|O[c+1|0]<<8;a=c+(((a<<8|a>>>8)&65535)<<1)|0;L[a+2|0]=0;L[a+3|0]=0}return g}}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}N[b+24>>2]=4;return 0}function Xw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=La-80|0;La=l;d=6;i=N[a+532>>2];a:{if(!i){break a}j=N[i+4>>2];if(j){f=i+88|0;g=l+32|0;while(1){h=T(c,12);e=h+g|0;N[e>>2]=N[((c<<2)+i|0)+8>>2];h=f+h|0;m=N[h+4>>2];N[e+4>>2]=N[m>>2];N[e+8>>2]=N[(m+(O[h|0]<<2)|0)-4>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}}g=N[i>>2];e=0;h=j<<1;f=h+3&-4;c=(f+T(j,24)|0)+20|0;b:{if((c|0)<=0){if(!c){break b}break a}a=N[a+100>>2];e=Qa[N[a+4>>2]](a,c)|0;if(!e){d=64;break a}C(e,0,c)}a=0;N[e+8>>2]=0;N[e+4>>2]=g;N[e>>2]=j;c=e+20|0;c:{if(!j){N[e+16>>2]=0;N[e+12>>2]=c+f;break c}C(c,0,h);N[e+16>>2]=0;f=c+f|0;N[e+12>>2]=f;while(1){c=T(a,24)+f|0;g=(l+24|0)+T(a,12)|0;d=N[g+8>>2];N[c>>2]=d;N[c+4>>2]=N[g+12>>2]<<16;g=N[g+16>>2];N[c+16>>2]=-1;N[c+20>>2]=-1;N[c+12>>2]=g<<16;d:{if(!d){break d}k=2003265652;e:{if(!cb(d,9465)){break e}k=2003072104;if(!cb(d,14033)){break e}if(cb(d,15435)){break d}k=1869640570}N[c+16>>2]=k}a=a+1|0;if((j|0)!=(a|0)){continue}break}Jh(N[i+140>>2],l,N[i+4>>2]);a=0;while(1){h=N[(a<<2)+l>>2];d=T(a,12)+i|0;g=N[d+96>>2];f:{if((h|0)>N[g>>2]){c=1;m=O[d+88|0];if(m>>>0>1){while(1){n=c<<2;k=N[g+n>>2];if((h|0)<=(k|0)){c=n-4|0;f=N[c+g>>2];f=fb(h-f|0,k-f|0);d=N[d+92>>2];c=N[d+c>>2];c=T(N[d+n>>2]-c|0,f)+(c<<16)|0;f=N[e+12>>2];break f}c=c+1|0;if((m|0)!=(c|0)){continue}break}}c=N[(N[d+92>>2]+(m<<2)|0)-4>>2]<<16;break f}c=N[N[d+92>>2]>>2]<<16}N[(T(a,24)+f|0)+8>>2]=c;a=a+1|0;if((j|0)!=(a|0)){continue}break}}N[b>>2]=e;d=0}La=l+80|0;return d|0}function Vc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=N[a+356>>2];k=P[a+340>>1];a:{b:{if(!k){g=-1;h=-1;i=-1;break b}g=-1;h=-1;e=-1;i=-1;d=j;while(1){c:{if(!P[d+8>>1]|P[d+6>>1]!=(b|0)){break c}d:{switch(P[d>>1]){case 0:case 2:g=f;break c;case 1:if(!P[d+4>>1]){e=f;break c}i=P[d+2>>1]?i:f;break c;case 3:break d;default:break c}}if((h|0)!=-1&(P[d+4>>1]&1023)!=9){break c}l=P[d+2>>1];if(l>>>0>10|!(1<>1]&1023)==9;h=f}d=d+20|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}if((e|0)>=0){break a}}e=i}i=N[a+100>>2];e:{f:{g:{h:{i:{j:{k:{if((h|0)>=0){if((e|0)>=0){b=184;if(!m){break k}}d=j+T(h,20)|0;f=P[d+2>>1];if(f>>>0<=10){break j}break e}b=184;if((e|0)>=0){break k}b=185;e=g;if((e|0)>=0){break k}break e}if(j){d=j+T(e,20)|0;break i}break e}b=185;e=0;if(!(1<>2]){break l}e=N[a+368>>2];f=P[d+8>>1];m:{if(!f){a=0;break m}a=Qa[N[i+4>>2]](i,f)|0;if(!a){break g}C(a,0,f)}N[d+16>>2]=a;f=N[d+12>>2];g=N[e+20>>2];n:{o:{if(g){if(Qa[g|0](e,f,0,0)|0){break n}g=N[e+4>>2];a=N[d+16>>2];break o}g=N[e+4>>2];if(f>>>0>g>>>0){break n}}N[e+8>>2]=f;if(f>>>0>=g>>>0){break n}h=P[d+8>>1];j=N[e+20>>2];p:{if(j){g=Qa[j|0](e,f,a,h)|0;break p}j=a;a=g-f|0;g=a>>>0>>0?a:h;F(j,f+N[e>>2]|0,g)}N[e+8>>2]=f+g;if(g>>>0>=h>>>0){break l}}b=85;a=N[d+16>>2];if(!a){break f}Qa[N[i+8>>2]](i,a);break f}e=Qa[b|0](d,i)|0}N[c>>2]=e;return 0}N[d+16>>2]=0;b=64}M[d+8>>1]=0;N[d+16>>2]=0;N[c>>2]=0;return b|0}N[c>>2]=0;return 0}function ef(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;a:{if(!c){break a}x=(f<<1)+d|0;if(!x){while(1){l=l+8|0;if(l>>>0>>0){continue}break a}}n=d<<3;G=f<<3;while(1){o=0;m=0;while(1){d=m-G|0;g=d>>>0>=n>>>0?440592:(d<<1)+b|0;y=P[g+14>>1];z=P[g>>1];A=P[g+12>>1];B=P[g+10>>1];C=P[g+8>>1];D=P[g+6>>1];E=P[g+4>>1];F=P[g+2>>1];p=32768;q=32768;r=32768;s=32768;t=32768;u=32768;v=32768;w=32768;d=f;while(1){i=(d-f<<3)+m|0;h=i>>>0>=n>>>0?440592:(i<<1)+b|0;i=m-(d+f<<3)|0;j=i>>>0>=n>>>0?440592:(i<<1)+b|0;i=d-1|0;k=M[(i<<1)+e>>1];p=T((P[h+14>>1]-y<<16>>16)+(P[j+14>>1]-y<<16>>16)|0,k)+p|0;q=T(k,(P[h+12>>1]-A<<16>>16)+(P[j+12>>1]-A<<16>>16)|0)+q|0;r=T(k,(P[h+10>>1]-B<<16>>16)+(P[j+10>>1]-B<<16>>16)|0)+r|0;s=T(k,(P[h+8>>1]-C<<16>>16)+(P[j+8>>1]-C<<16>>16)|0)+s|0;t=T(k,(P[h+6>>1]-D<<16>>16)+(P[j+6>>1]-D<<16>>16)|0)+t|0;u=T(k,(P[h+4>>1]-E<<16>>16)+(P[j+4>>1]-E<<16>>16)|0)+u|0;v=T(k,(P[h+2>>1]-F<<16>>16)+(P[j+2>>1]-F<<16>>16)|0)+v|0;w=T(k,(P[h>>1]-z<<16>>16)+(P[j>>1]-z<<16>>16)|0)+w|0;h=(d|0)>1;d=i;if(h){continue}break}M[a>>1]=P[g>>1]+(w>>>16|0);M[a+2>>1]=P[g+2>>1]+(v>>>16|0);M[a+4>>1]=P[g+4>>1]+(u>>>16|0);M[a+6>>1]=P[g+6>>1]+(t>>>16|0);M[a+8>>1]=P[g+8>>1]+(s>>>16|0);M[a+10>>1]=P[g+10>>1]+(r>>>16|0);M[a+12>>1]=P[g+12>>1]+(q>>>16|0);M[a+14>>1]=P[g+14>>1]+(p>>>16|0);m=m+8|0;a=a+16|0;o=o+1|0;if((x|0)!=(o|0)){continue}break}b=(n<<1)+b|0;l=l+8|0;if(l>>>0>>0){continue}break}}}function xm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-48|0;La=e;g=N[a+4>>2];L[b+557|0]=0;N[b+560>>2]=a;a:{if(!N[b+116>>2]|!N[b+120>>2]){break a}h=b+188|0;C(h,0,364);N[b+528>>2]=3932;N[b+520>>2]=-1;N[b+392>>2]=1;N[b+588>>2]=d;N[b+584>>2]=c;N[b+552>>2]=b;N[b+384>>2]=2596864;N[b+388>>2]=7;b:{if(!O[a+32|0]){f=97;c=8192;break b}f=N[a+1556>>2]+1|0;c=20480}i=N[a>>2];d=N[i>>2];j=N[b+176>>2];N[e+20>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+40>>2]=h;N[e+36>>2]=c;N[e+8>>2]=i;N[e+44>>2]=j;c:{d:{e:{f:{g:{if((f|0)<0){break g}if(!f){d=0;N[e+24>>2]=0;break e}if((f|0)>536870911){break g}c=f<<2;d=Qa[N[d+4>>2]](d,c)|0;if(!d|(f|0)<=0){break f}C(d,0,c);N[e+24>>2]=d;break e}f=0;break c}N[e+24>>2]=d;if(!d){break d}}N[e+28>>2]=d;N[e+32>>2]=f;a=N[b+116>>2]+N[a+12>>2]|0;c=N[g+20>>2];h:{if(c){f=85;if(!(Qa[c|0](g,a,0,0)|0)){break h}break c}f=85;if(a>>>0>Q[g+4>>2]){break c}}N[g+8>>2]=a;f=Bb(g,N[b+120>>2]);if(f){break c}f=zm(e+8|0,N[g+32>>2],N[g+36>>2]);if(N[g+20>>2]){a=N[g>>2];if(a){c=N[g+28>>2];Qa[N[c+8>>2]](c,a)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;if(f){break c}L[b+188|0]=O[b+188|0]&254;a=N[b+532>>2];i:{j:{if((a|0)<0){a=0-a|0;break j}if(a){break i}a=987654321}N[b+532>>2]=a}if(Q[b+388>>2]>=1001){N[b+388>>2]=7}f=0;if(Q[b+392>>2]<1001){break c}N[b+392>>2]=1;break c}f=0;N[e+24>>2]=0}N[b+600>>2]=0;N[b+596>>2]=N[b+592>>2];a=N[e+24>>2];if(!a){break a}b=N[N[e+8>>2]>>2];Qa[N[b+8>>2]](b,a)}La=e+48|0;return f|0}function Ff(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;g=Q[a+16>>2]<4?275552:N[a+12>>2]}a=g;b=275552;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}g=O[a+4|0]|O[a+5|0]<<8;b=275552;if(!g){break c}b=((g<<8|g>>>8)&65535)+a|0}g=O[b|0]|O[b+1|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>c>>>0){c=(b+T(c,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(c){b=b+((c<<8|c>>>8)&65535)|0}else{b=275552}d:{e:{f:{g:{if((d|0)==65535){d=O[b|0]|O[b+1|0]<<8;c=238128;if(!d){break g}c=b+((d<<8|d>>>8)&65535)|0;break g}c=O[b+2|0]|O[b+3|0]<<8;d=((c<<8|c>>>8)&65535)>>>0<=d>>>0?275552:(b+T(d,6)|0)+4|0;d=O[d+4|0]|O[d+5|0]<<8;c=238128;if(!d){break g}c=b+((d<<8|d>>>8)&65535)|0}b=O[c+4|0]|O[c+5|0]<<8;if(!b){break f}g=c+4|0;b=(b<<8|b>>>8)&65535;j=b>>>0<=1?1:b;b=0;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?238136:(g+(b<<1)|0)+2|0;d=O[c|0]|O[c+1|0]<<8;i=d<<8|d>>>8;c=i&65535;if((d|0)==65535){d=0}else{d=275552;h:{if((O[a|0]|O[a+1|0]<<8)!=256){break h}h=O[a+6|0]|O[a+7|0]<<8;d=275552;if(!h){break h}d=((h<<8|h>>>8)&65535)+a|0}h=O[d|0]|O[d+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0>(i&65535)>>>0){d=(d+T(c,6)|0)+2|0}else{d=275552}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((d|0)!=(e|0)){b=b+1|0;if((j|0)==(b|0)){break f}continue}break}b=1;if(f){break e}break d}c=65535;b=0;if(!f){break d}}N[f>>2]=c}return b}function gl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break b}e=N[b+12>>2];d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=a+4|0;if(d>>>0>f>>>0|f-d>>>0<4){break b}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break b}g=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(g&128){break b}d=O[a+2|0]|O[a+3|0]<<8;if(d){g=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+c|0;if(g>>>0>>0|f>>>0>>0){break b}h=f-g|0;g=((d<<8|d>>>8)&65535)<<2;if(h>>>0>>0){break b}e=e-g|0;N[b+12>>2]=e;if((e|0)<=0){break b}}h=O[a|0]|O[a+1|0]<<8;if(!h){return 1}g=a+8|0;if(g>>>0>>0|f>>>0>>0){break b}h=(h<<8|h>>>8)&65535;j=h<<3;if(j>>>0>f-g>>>0){break b}a=e-j|0;N[b+12>>2]=a;if((a|0)<=0){break b}if(d){j=((d<<8|d>>>8)&65535)<<1;e=0;while(1){k=0;d=g+(e<<3)|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<8){break b}N[b+12>>2]=a-8;if((a|0)<9){break b}d=d+6|0;if(d>>>0>f>>>0|f-d>>>0<2){break b}l=a-10|0;N[b+12>>2]=l;if((a|0)<11){break b}a=O[d|0]|O[d+1|0]<<8;a=((a<<8|a>>>8)&65535)+c|0;if(a>>>0>>0|a>>>0>f>>>0|j>>>0>f-a>>>0){break b}a=l-j|0;N[b+12>>2]=a;if((a|0)<=0){break b}k=1;e=e+1|0;if((h|0)!=(e|0)){continue}break}break b}d=((j^-1)+e>>>0)/10|0;e=0;while(1){c=g+(e<<3)|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<8){break a}N[b+12>>2]=a-8;if((a|0)<9){break a}c=c+6|0;if(c>>>0>f>>>0|f-c>>>0<2){break a}a=a-10|0;N[b+12>>2]=a;if((d|0)==(e|0)){break a}k=1;e=e+1|0;if((h|0)!=(e|0)){continue}break}}return k}return 0}function Dn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;k=N[a+8>>2];a:{b:{l=N[a+12>>2];h=N[l+36>>2];c:{if((h|0)<=0){if(!h){break c}d=6;break b}j=Qa[N[k+4>>2]](k,h)|0;if(!j){d=64;break b}C(j,0,h);i=j}N[i+100>>2]=k;N[i+96>>2]=a;N[i+104>>2]=N[b>>2];if(c){N[i+8>>2]=N[i+8>>2]|1024}d:{j=Qa[N[k+4>>2]](k,68)|0;if(!j){d=64;break d}h=0;C(j,0,68);N[i+128>>2]=j;e:{if((e|0)<=0){break e}a=0;while(1){if(h){break e}h=0;c=(a<<3)+f|0;if(N[c>>2]==1768842098){h=N[c+4>>2];N[j+52>>2]=h}a=a+1|0;if((e|0)!=(a|0)){continue}break}}N[j+60>>2]=-1;a=N[l+48>>2];f:{if(!a){N[b>>2]=N[i+104>>2];break f}d=Qa[a|0](N[b>>2],i,d,e,f)|0;N[b>>2]=N[i+104>>2];if(d){break d}}b=N[i+40>>2];g:{if(!b){break g}a=b+(N[i+36>>2]<<2)|0;c=a-4|0;h:{if(b>>>0<=c>>>0){while(1){h=N[c>>2];i:{if(N[h+4>>2]!=1970170211){break i}j:{switch(P[h+8>>1]){case 3:if(P[h+10>>1]!=10){break i}break h;case 0:break j;default:break i}}if(P[h+10>>1]==4){break h}}c=c-4|0;if(b>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break g}h=N[a>>2];if(N[h+4>>2]!=1970170211){continue}break}}N[i+92>>2]=h}N[g>>2]=i;return 0}if(N[i+36>>2]>0){h=0;while(1){b=h<<2;e=N[b+N[i+40>>2]>>2];c=N[N[e>>2]+100>>2];a=N[N[e+12>>2]+8>>2];if(a){Qa[a|0](e)}Qa[N[c+8>>2]](c,e);N[b+N[i+40>>2]>>2]=0;h=h+1|0;if((h|0)>2]){continue}break}}a=N[i+40>>2];if(a){Qa[N[k+8>>2]](k,a)}N[i+36>>2]=0;N[i+40>>2]=0;a=0;break a}j=0;a=1}b=N[l+52>>2];if(b){Qa[b|0](i)}if(j){Qa[N[k+8>>2]](k,j)}if(!a){Qa[N[k+8>>2]](k,i)}N[g>>2]=0;return d}function bp(a){var b=0,c=0,d=0,e=0,f=0;c=a>>>0>1073741823;b=c<<31;d=b;e=b|1073741824;f=b|536870912;b=(c<<30)+a<<1;c=f>>>0>b>>>0;a=c?d:e;b=b+(c?0:1610612736)<<1;c=a|268435456;d=b>>>0>>0;a=d?a:a|536870912;b=b-(d?0:c)<<1;c=a|134217728;d=b>>>0>>0;a=d?a:a|268435456;b=b-(d?0:c)<<1;c=a+67108864|0;d=b>>>0>>0;a=d?a:a- -134217728|0;b=b-(d?0:c)<<1;c=a+33554432|0;d=b>>>0>>0;a=d?a:a+67108864|0;b=b-(d?0:c)<<1;c=a+16777216|0;d=b>>>0>>0;a=d?a:a+33554432|0;b=b-(d?0:c)<<1;c=a+8388608|0;d=b>>>0>>0;a=d?a:a+16777216|0;b=b-(d?0:c)<<1;c=a+4194304|0;d=b>>>0>>0;a=d?a:a+8388608|0;b=b-(d?0:c)<<1;c=a+2097152|0;d=b>>>0>>0;a=d?a:a+4194304|0;b=b-(d?0:c)<<1;c=a- -1048576|0;d=b>>>0>>0;a=d?a:a+2097152|0;b=b-(d?0:c)<<1;c=a+524288|0;d=b>>>0>>0;a=d?a:a- -1048576|0;b=b-(d?0:c)<<1;c=a+262144|0;d=b>>>0>>0;a=d?a:a+524288|0;b=b-(d?0:c)<<1;c=a+131072|0;d=b>>>0>>0;a=d?a:a+262144|0;b=b-(d?0:c)<<1;c=a+65536|0;d=b>>>0>>0;a=d?a:a+131072|0;b=b-(d?0:c)<<1;c=a+32768|0;d=b>>>0>>0;a=d?a:a+65536|0;b=b-(d?0:c)<<1;c=a+16384|0;d=b>>>0>>0;a=d?a:a+32768|0;b=b-(d?0:c)<<1;c=a- -8192|0;d=b>>>0>>0;a=d?a:a+16384|0;b=b-(d?0:c)<<1;c=a+4096|0;d=b>>>0>>0;a=d?a:a- -8192|0;b=b-(d?0:c)<<1;c=a+2048|0;d=b>>>0>>0;a=d?a:a+4096|0;b=b-(d?0:c)<<1;c=a+1024|0;d=b>>>0>>0;a=d?a:a+2048|0;b=b-(d?0:c)<<1;c=a+512|0;d=b>>>0>>0;a=d?a:a+1024|0;b=b-(d?0:c)<<1;c=a+256|0;d=b>>>0>>0;a=d?a:a+512|0;return(a+128>>>0>b-(d?0:c)<<1>>>0?a:a+256|0)>>>8|0}function zo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;a:{b:{h=N[b+36>>2];if((h|0)<=0){break b}e=N[b+40>>2];c=-1;while(1){c:{f=N[(d<<2)+e>>2];i=P[f+8>>1];if((i|0)!=3){break c}d:{switch(P[f+10>>1]-1|0){case 0:case 9:break d;default:break c}}if(!e|(!b|!f)){break a}a=(h<<2)+e|0;while(1){e:{if((f|0)!=N[e>>2]){break e}d=N[f>>2];f:{if(!d){break f}d=N[d+96>>2];c=N[N[d>>2]+32>>2];if(!c){break f}d=Qa[c|0](d,10557)|0;if(!d){break f}if(Qa[N[d>>2]](f,g+8|0)|0){break f}if(N[g+12>>2]==14){break e}}N[b+92>>2]=N[e>>2];break a}e=e+4|0;if(a>>>0>e>>>0){continue}break}break a}c=(i|0)==3?(c|0)<0?d:c:c;d=d+1|0;if((h|0)!=(d|0)){continue}break}if((c|0)<0){break b}a=N[(c<<2)+e>>2];if(!a|!e){break a}d=(h<<2)+e|0;while(1){g:{if((a|0)!=N[e>>2]){break g}c=N[a>>2];h:{if(!c){break h}c=N[c+96>>2];f=N[N[c>>2]+32>>2];if(!f){break h}c=Qa[f|0](c,10557)|0;if(!c){break h}if(Qa[N[c>>2]](a,g+8|0)|0){break h}if(N[g+12>>2]==14){break g}}N[b+92>>2]=N[e>>2];break a}e=e+4|0;if(d>>>0>e>>>0){continue}break}break a}if(N[b+92>>2]){break a}if(!h){mb(a,2,10475,0);break a}mb(a,2,15624,0);d=N[b+40>>2];a=N[d>>2];if(!a){break a}e=N[b+36>>2];if((e|0)<=0){break a}e=(e<<2)+d|0;while(1){i:{if((a|0)!=N[d>>2]){break i}c=N[a>>2];j:{if(!c){break j}c=N[c+96>>2];f=N[N[c>>2]+32>>2];if(!f){break j}c=Qa[f|0](c,10557)|0;if(!c){break j}if(Qa[N[c>>2]](a,g+8|0)|0){break j}if(N[g+12>>2]==14){break i}}N[b+92>>2]=N[d>>2];break a}d=d+4|0;if(e>>>0>d>>>0){continue}break}}La=g+16|0}function qf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=T(d,1348)+a|0;h=N[g+44>>2];c=b?N[(T(b,12)+c|0)-12>>2]:0;f=N[N[a+2748>>2]+40>>2];e=(f|0)/256|0;if((h|0)>0){k=(T(f,6e3)|0)/2048|0;b=N[g+52>>2];i=b+T(h,44)|0;l=f+255>>>0<511?1:e;j=N[(T(d,1348)+a|0)+68>>2];a:{if(!c){d=b;while(1){if((j|0)==L[d+1|0]){f=M[d+2>>1];a=b;while(1){b:{if((j|0)!=(0-L[a+1|0]|0)){break b}g=M[a+2>>1];if((g|0)<=(f|0)){break b}e=M[d+8>>1];c=M[a+8>>1];h=(c|0)>(e|0)?e:c;e=M[d+6>>1];c=M[a+6>>1];c=h-((c|0)<(e|0)?e:c)|0;if((c|0)<(l|0)){break b}c=(g-f|0)+((k|0)/(c|0)|0)|0;if((c|0)>2]){N[d+20>>2]=a;N[d+28>>2]=c}if((c|0)>=N[a+28>>2]){break b}N[a+20>>2]=d;N[a+28>>2]=c}a=a+44|0;if(i>>>0>a>>>0){continue}break}}d=d+44|0;if(i>>>0>d>>>0){continue}break}break a}d=b;while(1){if((j|0)==L[d+1|0]){h=M[d+2>>1];a=b;while(1){c:{if((j|0)!=(0-L[a+1|0]|0)){break c}f=M[a+2>>1];if((f|0)<=(h|0)){break c}g=M[d+8>>1];e=M[a+8>>1];m=(e|0)>(g|0)?g:e;g=M[d+6>>1];e=M[a+6>>1];g=m-((e|0)<(g|0)?g:e)|0;if((g|0)<(l|0)){break c}e=(f-h<<10)/(c|0)|0;f=32e3;d:{if((e|0)>11024){break d}f=0;if((e|0)<1025){break d}e=e-1024|0;f=(T(e,e)>>>0)/3e3|0}e=f+((k|0)/(g|0)|0)|0;if((e|0)>2]){N[d+20>>2]=a;N[d+28>>2]=e}if((e|0)>=N[a+28>>2]){break c}N[a+20>>2]=d;N[a+28>>2]=e}a=a+44|0;if(i>>>0>a>>>0){continue}break}}d=d+44|0;if(i>>>0>d>>>0){continue}break}}while(1){a=N[b+20>>2];if(!(!a|N[a+20>>2]==(b|0))){N[b+20>>2]=0;N[b+24>>2]=N[a+20>>2]}b=b+44|0;if(i>>>0>b>>>0){continue}break}}}function Ie(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((O[a|0]|O[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!Gf(a+4|0,b,a)){break a}d=a+8|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b:{if(!c){break b}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}d=a+12|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c:{if(!c){break c}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}d=a+16|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d:{if(!c){break d}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break d}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;e=0;if(!O[b+24|0]){break d}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;e=1}return e}return 0}function wd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{f=c-b|0;if(N[a+20>>2]==2|f>>>0<2){break a}i=N[a+84>>2];k=N[(i+T(b,20)|0)+8>>2];g=k;l=b+1|0;b:{if(l>>>0>=c>>>0){break b}m=f-2|0;j=(b^-1)+c&3;if(j){h=b+j|0;f=0;e=l;while(1){d=N[(T(e,20)+i|0)+8>>2];g=d>>>0>g>>>0?g:d;e=e+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}f=h+1|0}else{f=l}if(m>>>0<=2){break b}while(1){h=T(f,20)+i|0;d=N[h+8>>2];e=d>>>0>g>>>0?g:d;d=N[h+28>>2];e=e>>>0>>0?e:d;d=N[h+48>>2];e=e>>>0>>0?e:d;d=N[h+68>>2];g=e>>>0>>0?e:d;f=f+4|0;if((f|0)!=(c|0)){continue}break}}h=0;d=b;while(1){c:{f=h;e=d;if(!d){f=b;e=0;break c}h=f+1|0;d=e-1|0;if((k|0)==N[(T(d,20)+i|0)+8>>2]){continue}}break}d:{e:{f:{d=N[a+72>>2];if(d>>>0<=c>>>0){break f}while(1){h=T(c,20)+i|0;if(N[h-12>>2]!=N[h+8>>2]){break f}c=c+1|0;if((d|0)!=(c|0)){continue}break}break e}if((c|0)!=(d|0)){break d}}c=N[a+64>>2];k=N[a+68>>2];g:{if(c>>>0>=k>>>0){break g}m=(T(d,20)+i|0)-12|0;h=N[a+80>>2];while(1){j=h+T(c,20)|0;a=N[j+8>>2];if((a|0)!=N[m>>2]){break g}if((a|0)!=(g|0)){N[j+4>>2]=N[j+4>>2]&-8}N[j+8>>2]=g;c=c+1|0;if((k|0)!=(c|0)){continue}break}}c=d}if(c>>>0<=e>>>0){break a}if((f-b|0)+c&1){a=T(e,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;e=e+1|0}if((l-f|0)==(c|0)){break a}while(1){a=T(e,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;a=T(e+1|0,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;e=e+2|0;if(e>>>0>>0){continue}break}}}function uk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}e=N[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}i=N[b+12>>2];g=i-2|0;N[b+12>>2]=g;f=1;if((g|0)<=0){return 0}g=O[a|0]|O[a+1|0]<<8;a:{if(!g){break a}b:{g=((g<<8|g>>>8)&65535)+c|0;if(g>>>0>>0|e>>>0>>0|e-g>>>0<2){break b}c=i-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}h=O[g|0]|O[g+1|0]<<8;if(!h){break a}f=g+2|0;if(f>>>0>e>>>0){break b}d=e-f|0;e=(h<<8|h>>>8)&65535;f=e<<1;if(d>>>0>>0){break b}c=c-f|0;N[b+12>>2]=c;if((c|0)<=0){break b}j=e>>>0<=1?1:e;h=0;while(1){d=N[b+4>>2];f=(g+(h<<1)|0)+2|0;if(d>>>0>f>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-f>>>0<2){break b}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[f|0]|O[f+1|0]<<8;c:{if(!c){break c}c=g+((c<<8|c>>>8)&65535)|0;d:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break d}d=i-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>e>>>0|e-d>>>0<2){break d}i=i-6|0;N[b+12>>2]=i;if((i|0)<=0){break d}d=O[c+2|0]|O[c+3|0]<<8;k=((d<<8|d>>>8)&65535)<<2;d=O[c|0]|O[c+1|0]<<8;d=k+(d?(((d<<8|d>>>8)&65535)<<1)-2|0:0)|0;if(!d){break c}c=c+4|0;if(c>>>0>e>>>0|d>>>0>e-c>>>0){break d}c=i-d|0;N[b+12>>2]=c;if((c|0)>0){break c}}c=N[b+28>>2];if(c>>>0>31){break b}N[b+28>>2]=c+1;if(!O[b+24|0]){break b}L[f|0]=0;L[f+1|0]=0}f=1;h=h+1|0;if((j|0)!=(h|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;f=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;f=1}return f}function OA(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0;C(a,0,1516);m=7;j=N[b+96>>2];a:{if(!j){break a}b:{k=N[N[j>>2]+32>>2];if(k){l=Qa[k|0](j,10566)|0;if(l){break b}}k=N[j+4>>2];l=N[k+16>>2];if((l|0)<=0){break a}k=k+20|0;o=k+(l<<2)|0;while(1){l=N[k>>2];c:{if((l|0)==(j|0)){break c}n=N[N[l>>2]+32>>2];if(!n){break c}l=Qa[n|0](l,10566)|0;if(l){break b}}k=k+4|0;if(o>>>0>k>>>0){continue}break}break a}L[a+68|0]=1;m=0;N[a+64>>2]=0;N[a+1348>>2]=l;N[a+8>>2]=d;N[a+4>>2]=b;N[a>>2]=N[b+100>>2];d:{if(!d){break d}j=N[N[d+156>>2]>>2];N[a+12>>2]=j;N[a+20>>2]=j+56;N[a+16>>2]=j+20;N[j+20>>2]=0;N[j+36>>2]=0;N[j+48>>2]=0;l=N[j+32>>2];k=j- -64|0;N[k>>2]=N[j+28>>2];N[k+4>>2]=l;N[j+88>>2]=N[j+52>>2];k=N[j+24>>2];N[j+56>>2]=N[j+20>>2];N[j+60>>2]=k;k=N[j+40>>2];N[j+72>>2]=N[j+36>>2];N[j+76>>2]=k;k=N[j+48>>2];N[j+80>>2]=N[j+44>>2];N[j+84>>2]=k;c=N[N[c+40>>2]>>2];N[a+72>>2]=0;N[a+76>>2]=c;if(!g){break d}N[a+72>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;c=N[73541];N[a+80>>2]=N[73540];N[a+84>>2]=c;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;c=N[73543];N[a+88>>2]=N[73542];N[a+92>>2]=c;c=N[73545];N[a+96>>2]=N[73544];N[a+100>>2]=c;c=N[73547];N[a+104>>2]=N[73546];N[a+108>>2]=c;N[a+1352>>2]=N[b+16>>2];N[a+1472>>2]=h;N[a+1356>>2]=e;N[a+1476>>2]=i;N[a+1468>>2]=f;b=N[73549];N[a+1480>>2]=N[73548];N[a+1484>>2]=b;b=N[73551];a=a+1488|0;N[a>>2]=N[73550];N[a+4>>2]=b}return m|0}function dn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=N[a+736>>2];if(d){c=N[a+100>>2];e=N[N[d+12>>2]>>2];b=N[d+4>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+4>>2]=0;b=N[d+8>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+8>>2]=0;b=N[d+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+20>>2]=0;b=N[d+12>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+12>>2]=0;b=N[d+28>>2];if(b){a:{if(!e){break a}if((e|0)!=1){i=e&1;j=e&-2;e=0;while(1){g=f<<3;h=N[(g+b|0)+4>>2];if(h){Qa[N[c+8>>2]](c,h);b=N[d+28>>2]}N[(b+g|0)+4>>2]=0;g=(f|1)<<3;h=N[(g+b|0)+4>>2];if(h){Qa[N[c+8>>2]](c,h);b=N[d+28>>2]}N[(b+g|0)+4>>2]=0;f=f+2|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}if(!i){break a}}e=f<<3;f=N[(e+b|0)+4>>2];if(f){Qa[N[c+8>>2]](c,f);b=N[d+28>>2]}N[(b+e|0)+4>>2]=0}Qa[N[c+8>>2]](c,b);N[d+28>>2]=0}b=N[d+40>>2];if(b){Qh(N[a+100>>2],b);b=N[d+40>>2];e=N[b+28>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+40>>2]}N[b+28>>2]=0;e=N[b+24>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+40>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+40>>2]=0}b=N[d+52>>2];if(b){Qh(N[a+100>>2],b);b=N[d+52>>2];e=N[b+28>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+52>>2]}N[b+28>>2]=0;e=N[b+24>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+52>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+52>>2]=0}b=N[d+56>>2];if(b){Qh(N[a+100>>2],b+4|0);b=N[d+56>>2];a=N[b+24>>2];if(a){Qa[N[c+8>>2]](c,a);b=N[d+56>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+56>>2]=0}a=N[d+64>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d+64>>2]=0;a=N[d+72>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d+72>>2]=0;Qa[N[c+8>>2]](c,d)}}function gq(a,b,c,d){var e=0,f=0,g=0,h=U(0),i=U(0);g=N[a+4>>2];a:{if(g>>>0>b>>>0){e=N[a>>2]-1|0;e=b>>>0>e>>>0?e:b;b:{if((e|0)<0){e=275552;break b}g=N[a+20>>2];e=N[(g?g:275552)+12>>2]+(e<<2)|0;g=N[a+4>>2]}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)&65535;break a}e=0;if(N[a+8>>2]){break a}e=N[a+16>>2]}c:{if(b>>>0>=g>>>0){break c}g=N[c+84>>2];if(!g){break c}a=N[a+24>>2];a=a?a:275552;f=N[a+16>>2];if(f){c=N[c+88>>2];a=f>>>0<20?275552:N[a+12>>2];f=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(f){f=a+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0}else{f=275552}f=nd(f,b);h=U(e>>>0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if(b){a=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{a=275552}b=O[a+6|0]|O[a+7|0]<<8;e=(b<<8|b>>>8)&65535;b=f>>>16|0;if(e>>>0<=b>>>0){i=U(.5)}else{b=a+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}f=f&65535;e=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(e){a=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{a=275552}i=U(Fc(b,f,c,g,a,d)+U(.5))}h=U(U(Z(i))+h);if(h=U(0)){return~~h>>>0}return 0}d=N[c+24>>2];a=N[d+108>>2];d:{if(a){break d}while(1){a=N[d+48>>2];if(!a){a=275552;break d}e=db(1,28);if(!e){a=275552;N[d+108>>2]=275552;break d}a=Le(e,a);if(!N[d+108>>2]){N[d+108>>2]=a;break d}ab(N[a+24>>2]);_a(a);a=N[d+108>>2];if(!a){continue}break}}e=fq(a,c,b,0)}return e}function Ux(a){a=a|0;var 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;i=N[a+12>>2];j=N[a+200>>2];c=N[a+196>>2];n=N[N[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=Fn(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=N[i+88>>2]+(b<<5)|0;N[d+8>>2]=0;N[d+12>>2]=0;l=O[c+1|0];e=l|O[c|0]<<8;M[d+4>>1]=e;b=O[c+3|0]|O[c+2|0]<<8;N[d>>2]=b;if((b|0)>=(n|0)){break a}f=l&1?4:2;m=e&8;b=f+2|0;b:{if(m){break b}b=f+4|0;if(e&64){break b}b=f|e>>>4&8}if(b+h>>>0>j>>>0){break a}b=e&1;c:{if(e&2){if(b){b=O[c+4|0]|O[c+5|0]<<8;N[d+8>>2]=(b<<8|b>>>8)<<16>>16;b=O[c+6|0]|O[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16;b=c+8|0;break c}N[d+8>>2]=L[c+4|0];f=L[c+5|0];b=c+6|0;break c}if(b){N[d+8>>2]=O[c+5|0]|O[c+4|0]<<8;f=O[c+7|0]|O[c+6|0]<<8;b=c+8|0;break c}N[d+8>>2]=O[c+4|0];f=O[c+5|0];b=c+6|0}N[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=O[b|0]|O[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){c=O[b+2|0]|O[b+3|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=O[b|0]|O[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;c=b;f=65536;h=0;break d}c=O[b+6|0]|O[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=O[b+4|0]|O[b+5|0]<<8;e=(c<<8|c>>>8)<<16>>16<<2;c=O[b+2|0]|O[b+3|0]<<8;h=(c<<8|c>>>8)<<16>>16<<2;c=O[b|0]|O[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+8|0}N[d+16>>2]=g;N[d+28>>2]=f;N[d+24>>2]=h;N[d+20>>2]=e;if(l&32){continue}break}N[i+84>>2]=k;b=N[N[a+24>>2]+8>>2];N[a+196>>2]=c;N[a+164>>2]=(c+b|0)-j;g=0}return g|0}function bc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;L[a+48|0]=O[b+48|0];c=N[a>>2];d=N[a+20>>2];if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[b>>2];if(!N[b+20>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}a:{if(c>>>0>>0){f=e-c|0;if(!f){break a}N[a>>2]=N[a>>2]+T(N[a+4>>2],f);if(!d){break a}g=N[a+16>>2];e=N[a+24>>2];j=N[a+12>>2];k=N[a+40>>2];l=N[a+36>>2];c=N[a+8>>2];while(1){f=f-1|0;b=d;while(1){c=c+j|0;N[a+8>>2]=c;h=(b|0)!=0;e=h+e|0;N[a+24>>2]=e;d=b-h|0;N[a+20>>2]=d;g=T(h,20)+g|0;N[a+16>>2]=g;if((b|0)!=(h|0)){b=d;if(O[g+18|0]==6){continue}}if(!d){break a}b:{if(O[g+18|0]!=14){break b}h=N[N[l>>2]+68>>2];b=c;while(1){b=b+1|0;if(h>>>0<=b>>>0){break b}i=N[k>>2]+T(b,20)|0;if(O[i+18|0]==6){continue}break}b=d;if(1<>1]&7168){continue}}break}if(f){continue}break}break a}if(c>>>0<=e>>>0){break a}f=c-e|0;if(!f){break a}N[a>>2]=N[a>>2]-T(N[a+4>>2],f);if(!d){break a}c=N[a+16>>2];g=N[a+24>>2];h=N[a+12>>2];j=N[a+40>>2];k=N[a+36>>2];e=N[a+8>>2];while(1){f=f-1|0;while(1){e=e-h|0;N[a+8>>2]=e;b=(g|0)!=0;g=g-b|0;N[a+24>>2]=g;d=b+d|0;N[a+20>>2]=d;c=T(b,-20)+c|0;N[a+16>>2]=c;if(!d){break a}c:{d:{switch(O[c+18|0]-6|0){case 0:continue;case 8:break d;default:break c}}l=N[N[k>>2]+68>>2];b=e;while(1){b=b+1|0;if(l>>>0<=b>>>0){break c}i=N[j>>2]+T(b,20)|0;if(O[i+18|0]==6){continue}break}if(1<>1]&7168){continue}}break}if(f){continue}break}}}function Wj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=N[59537];N[f+8>>2]=N[59536];N[f+12>>2]=c;c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}e=(c<<8|c>>>8)&65535;c=a+6|0;while(1){d=O[c|0]|O[c+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}Rj(d,b,f+8|0);c=c+2|0;e=e-1|0;if(e){continue}break}break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}N[f+12>>2]=c;N[f+8>>2]=269;c=O[a+6|0]|O[a+7|0]<<8;if(!c){break a}e=(c<<8|c>>>8)&65535;c=a+8|0;while(1){d=O[c|0]|O[c+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}Rj(d,b,f+8|0);c=c+2|0;e=e-1|0;if(e){continue}break}break a}c=O[a+6|0]|O[a+7|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);d=O[a+4|0]|O[a+5|0]<<8;c=O[a+2|0]|O[a+3|0]<<8;g=(c<<8|c>>>8)&65535;if(g>>>0>=2){i=N[b+12>>2];e=g-1|0;c=a+8|0;while(1){h=O[c|0]|O[c+1|0]<<8;Ob(h?((h<<8|h>>>8)&65535)+a|0:275552,i);c=c+2|0;e=e-1|0;if(e){continue}break}}if(!d){break a}c=(d<<8|d>>>8)&65535;e=(a+6|0)+(g<<1)|0;a=0;while(1){d=e+(a<<2)|0;d=O[d+2|0]|O[d+3|0]<<8;Qj(b,(d<<8|d>>>8)&65535);a=a+1|0;if((c|0)!=(a|0)){continue}break}}La=f+16|0}function oo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=La+-64|0;La=h;m=N[b+4>>2];j=N[b+12>>2];o=N[b>>2];i=N[b+8>>2];N[h+32>>2]=c;N[h+36>>2]=d;s=c;i=(c|0)<(i|0)?i:c;N[b+8>>2]=i;l=(c|0)>(o|0)?o:c;N[b>>2]=l;o=d;j=(d|0)<(j|0)?j:d;N[b+12>>2]=j;k=(d|0)>(m|0)?m:d;N[b+4>>2]=k;d=N[e+8>>2];c=N[e+4>>2];N[h+40>>2]=c;N[h+44>>2]=d;m=c;i=(c|0)<(i|0)?i:c;N[b+8>>2]=i;l=(c|0)>(l|0)?l:c;N[b>>2]=l;n=(d|0)<(j|0)?j:d;N[b+12>>2]=n;k=(d|0)>(k|0)?k:d;N[b+4>>2]=k;r=N[e+12>>2];e=r;c=N[e+4>>2];e=N[e+8>>2];N[h+48>>2]=c;N[h+52>>2]=e;j=c;p=(c|0)<(i|0)?i:c;N[b+8>>2]=p;q=(c|0)>(l|0)?l:c;N[b>>2]=q;n=(e|0)<(n|0)?n:e;N[b+12>>2]=n;k=(e|0)>(k|0)?k:e;N[b+4>>2]=k;i=N[r+12>>2];c=N[i+4>>2];i=N[i+8>>2];N[h+56>>2]=c;N[h+60>>2]=i;l=c;N[b+8>>2]=(c|0)<(p|0)?p:c;N[b>>2]=(c|0)>(q|0)?q:c;c=i;N[b+12>>2]=(c|0)<(n|0)?n:c;N[b+4>>2]=(c|0)>(k|0)?k:c;if(f){b=(e-d|0)/3|0;N[h+52>>2]=e-b;N[h+60>>2]=e+(((c-e|0)/3|0)-b>>1);c=(j-m|0)/3|0;N[h+48>>2]=j-c;N[h+44>>2]=b+d;N[h+40>>2]=c+m;N[h+56>>2]=(((l-j|0)/3|0)-c>>1)+j;N[h+36>>2]=(b+((d-o|0)/-3|0)>>1)+d;N[h+32>>2]=(c+((m-s|0)/-3|0)>>1)+m}a:{if(!g){b=N[h+36>>2];N[h+24>>2]=N[h+32>>2];N[h+28>>2]=b;b=0;if(!Fb(a,h+24|0,0)){break a}}b=h+32|8;c=N[b+4>>2];N[h+16>>2]=N[b>>2];N[h+20>>2]=c;b=0;if(!Fb(a,h+16|0,0)){break a}b=N[h+52>>2];N[h+8>>2]=N[h+48>>2];N[h+12>>2]=b;b=0;if(!Fb(a,h+8|0,0)){break a}b=N[h+60>>2];N[h>>2]=N[h+56>>2];N[h+4>>2]=b;b=Fb(a,h,3)}La=h- -64|0;return b}function Xb(a){var b=0,c=0,d=0;a:{b:{c:{d:{b=N[a+72>>2]+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break d}}e:{b=N[a+84>>2];f:{if((b|0)!=N[a+80>>2]){break f}d=N[a+72>>2];if(Q[a+64>>2]>=d+1>>>0){break f}if(!O[a+62|0]){break e}c=N[a+88>>2];N[a+84>>2]=c;d=T(d,20);if(!d){break f}F(c,b,d)}b=N[a+64>>2];d=N[a+68>>2];if(b>>>0>d>>>0){break c}g:{if(b>>>0>>0){c=N[a+80>>2]+T(b,20)|0;b=N[a+72>>2];d=N[a+84>>2];break g}d=N[a+84>>2];b=N[a+72>>2];c=b-1|0;c=d+T(b>>>0>=c>>>0?c:0,20)|0}b=T(b,20)+d|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;N[b>>2]=9676;c=N[a+72>>2]+1|0;N[a+72>>2]=c;break b}break a}c=N[a+72>>2];break b}ba(13080,14165,312,10949);B()}b=c-1|0;b=N[a+84>>2]+T(b>>>0<=c>>>0?b:0,20)|0;M[b+16>>1]=P[b+16>>1]&65407;h:{i:{if(O[a+62|0]){b=N[a+84>>2];d=N[a+80>>2];c=N[a+72>>2];if(!((b|0)==(d|0)&(c|0)==N[a+64>>2])){c=c+1|0;if(!(!c|c>>>0>2])){if(!gb(a,c)){break i}d=N[a+80>>2];b=N[a+84>>2]}j:{if((b|0)!=(d|0)){break j}c=N[a+72>>2];if(c+1>>>0<=N[a+64>>2]+1>>>0){b=d;break j}if(!O[a+62|0]){break h}b=N[a+88>>2];N[a+84>>2]=b;c=T(c,20);if(!c){break j}F(b,d,c);b=N[a+84>>2];d=N[a+80>>2]}d=T(N[a+64>>2],20)+d|0;c=N[d+4>>2];b=T(N[a+72>>2],20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;c=N[a+72>>2]}N[a+72>>2]=c+1}N[a+64>>2]=N[a+64>>2]+1}return}}ba(8694,17855,209,11932);B()}function NB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=La-400|0;La=i;e=N[c+4>>2];g=N[b+4>>2];c=N[c>>2];b=N[b>>2];f=N[a>>2];a=N[a+4>>2];N[i+20>>2]=a<<2;N[i+16>>2]=f<<2;N[i+12>>2]=g<<2;j=b<<2;N[i+8>>2]=j;h=e<<2;N[i+4>>2]=h;f=c<<2;N[i>>2]=f;b=N[d+200>>2];N[i+24>>2]=b;c=N[d+204>>2];N[i+28>>2]=c;k=a>>6;a:{b:{l=e>>6;a=N[d+168>>2];g=g>>6;c:{d:{if(!((l|0)>=(a|0)&(g|0)>=(a|0))){e=c>>8;break d}e=c>>8;if((a|0)>(k|0)){break d}if((a|0)<=(e|0)){break c}}c=i;a=N[d+164>>2];if((a|0)<=(l|0)|(a|0)<=(g|0)|((a|0)<=(k|0)|(a|0)<=(e|0))){break b}}N[d+204>>2]=h;N[d+200>>2]=f;break a}while(1){e=(T(j,-3)+b|0)+(f<<1)|0;a=e>>31;e:{f:{if((a^e)-a>>>0>=129){k=N[c+12>>2];e=N[c+28>>2];g=N[c+4>>2];break f}e=N[c+28>>2];k=N[c+12>>2];g=N[c+4>>2];h=e+(T(k,-3)+(g<<1)|0)|0;a=h>>31;if((a^h)-a>>>0>128){break f}h=((b<<1)+f|0)+T(N[c+16>>2],-3)|0;a=h>>31;if((a^h)-a>>>0>128){break f}h=((e<<1)+g|0)+T(N[c+20>>2],-3)|0;a=h>>31;if((a^h)-a>>>0>128){break f}Ti(d,f,g);if((c|0)==(i|0)){break a}a=c-24|0;f=N[a>>2];break e}a=c+24|0;N[c+48>>2]=b;N[c+52>>2]=e;f=f+j|0;N[c+8>>2]=f>>1;g=g+k|0;N[c+12>>2]=g>>1;l=b;b=N[c+16>>2];h=l+b|0;N[c+40>>2]=h>>1;b=b+j|0;f=b+f|0;N[c+16>>2]=f>>2;b=b+h|0;N[c+32>>2]=b>>2;l=e;e=N[c+20>>2];j=l+e|0;N[c+44>>2]=j>>1;f=b+f>>3;N[c+24>>2]=f;b=e+k|0;e=b+g|0;N[c+20>>2]=e>>2;b=b+j|0;N[c+36>>2]=b>>2;N[c+28>>2]=b+e>>3}b=N[a+24>>2];j=N[a+8>>2];c=a;continue}}La=i+400|0;return 0}function gc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a|!b|N[b+16>>2]>131083){break a}c=N[a+16>>2];if(c){e=N[b+8>>2];b:{while(1){f=N[((d<<2)+a|0)+20>>2];g=N[f>>2];if(cb(N[g+8>>2],e)){d=d+1|0;if((c|0)!=(d|0)){continue}break b}break}if(N[b+12>>2]<=N[g+12>>2]){break a}nn(a,f);c=N[a+16>>2]}if(c>>>0>31){break a}}d=0;f=N[a>>2];c=N[b+4>>2];c:{if((c|0)<=0){if(!c){break c}break a}d=Qa[N[f+4>>2]](f,c)|0;if(!d){break a}C(d,0,c)}N[d+8>>2]=f;N[d+4>>2]=a;N[d>>2]=b;d:{e:{c=b;e=N[c>>2];if(e&2){e=N[a>>2];c=Qa[N[e+4>>2]](e,12)|0;if(!c){break d}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;g=N[d>>2];N[d+12>>2]=g;N[d+16>>2]=N[g+36>>2];h=N[N[g+56>>2]+4>>2];if(h){if(Qa[h|0](e,d+52|0)|0){break e}N[d+56>>2]=N[N[g+56>>2]+16>>2];N[d+60>>2]=N[g+40>>2]}N[c+8>>2]=d;e=N[a+152>>2];N[c>>2]=e;N[c+4>>2]=0;N[(e?e+4|0:a+148|0)>>2]=c;N[a+152>>2]=c;e=N[a+148>>2];f:{if(e){while(1){c=N[e+8>>2];if(N[c+16>>2]==1869968492){break f}e=N[e+4>>2];if(e){continue}break}}c=0}N[a+156>>2]=c;c=N[d>>2];e=N[c>>2]}if(e&4){N[a+160>>2]=d}if(e&1){N[d+12>>2]=c}b=N[b+24>>2];if(b){if(Qa[b|0](d)|0){break d}}b=N[a+16>>2];N[a+16>>2]=b+1;N[((b<<2)+a|0)+20>>2]=d;return}Qa[N[e+8>>2]](e,c)}g:{if(!(O[N[d>>2]]&2)){break g}a=N[d+12>>2];if(!a|N[a+36>>2]!=1869968492){break g}b=N[d+52>>2];if(!b){break g}Qa[N[N[a+56>>2]+20>>2]](b)}Qa[N[f+8>>2]](f,d)}}function Pj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=275552;a:{b:{if((b|0)!=1196445523){f=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;f=Q[a+16>>2]<4?275552:N[a+12>>2]}a=f;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<65537){break c}b=O[a+10|0]|O[a+11|0]<<8|(O[a+12|0]<<16|O[a+13|0]<<24);if(!b){break c}h=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);if(a){a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);m=a>>>0<=1?1:a;while(1){a=(i<<3)+h|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){j=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{j=275552}a=O[j|0]|O[j+1|0]<<8;if(!a){N[e>>2]=i;return}k=(a<<8|a>>>8)&65535;n=k>>>0<=1?1:k;l=0;b=0;while(1){d:{a=(b<<2)+j|0;a=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(a){f=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+j|0}else{f=275552}if((O[f|0]|O[f+1|0]<<8)!=256){break d}a=0;g=O[f+2|0]|O[f+3|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0>>0){a=N[(g<<2)+c>>2]}g=O[f+4|0]|O[f+5|0]<<8;if((g<<8|g>>>8)<<16>>16>(a|0)){break d}g=a;a=O[f+6|0]|O[f+7|0]<<8;if((g|0)>(a<<8|a>>>8)<<16>>16){break d}b=b+1|0;l=k>>>0<=b>>>0;if((b|0)!=(n|0)){continue}}break}if(l){N[e>>2]=i;return}i=i+1|0;if((m|0)!=(i|0)){continue}break}}N[e>>2]=-1}function Cg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;j=N[a+12>>2];if(j){N[(N[a+20>>2]+(j<<4)|0)-4>>2]=e}a:{k=j+1|0;e=N[a+16>>2];b:{c:{if(k>>>0<=e>>>0){g=N[a+20>>2];h=e;break c}h=(j&-8)+8|0;if((e|h)<0){return 6}l=N[a+20>>2];d:{e:{f:{if(!h){if(!l){break f}Qa[N[f+8>>2]](f,l);N[a+20>>2]=0;break d}i=10;if((h|0)>134217727){break b}g:{if(!e){g=Qa[N[f+4>>2]](f,h<<4)|0;i=!g<<6;break g}i=Qa[N[f+12>>2]](f,e<<4,h<<4,l)|0;g=i?i:l;i=!i<<6}if(i|(e|0)>=(h|0)|!g){break e}C((e<<4)+g|0,0,h-e<<4)}N[a+20>>2]=g;break d}N[a+20>>2]=g;if(i){break b}}N[a+16>>2]=h}e=((k<<4)+g|0)-16|0;N[e>>2]=0;N[((j<<4)+g|0)+12>>2]=0;N[a+12>>2]=k;if(!k){if(!h){g=Qa[N[f+4>>2]](f,128)|0;if(!g){break a}C(g,0,128);N[a+16>>2]=8;N[a+20>>2]=g}N[g>>2]=0;N[g+12>>2]=0;N[a+12>>2]=1;e=g}a=d+7>>>3|0;h=N[e+4>>2]+7|0;g=h>>>3|0;h:{if(a>>>0<=g>>>0){h=N[e+8>>2];break h}i=N[e+8>>2];i:{j:{a=a+7&1073741816;k:{if(!a){h=0;if(!i){break k}Qa[N[f+8>>2]](f,i);N[e+8>>2]=0;break i}l:{if(h>>>0<=7){h=Qa[N[f+4>>2]](f,a)|0;i=!h<<6;break l}f=Qa[N[f+12>>2]](f,g,a,i)|0;h=f?f:i;i=!f<<6}if(i|a>>>0<=g>>>0|!h){break j}C(g+h|0,0,a-g|0)}N[e+8>>2]=h;break i}N[e+8>>2]=h;if(i){break b}}N[e+4>>2]=a<<3}N[e>>2]=d;i=0;if(!d){break b}g=(c>>>3|0)+b|0;e=128>>>(c&7)|0;a=128;while(1){b=O[h|0];L[h|0]=O[g|0]&e?b|a:b&(a^-1);b=a>>>0<2;a=b?128:a>>1;c=e>>>0<2;e=c?128:e>>>1|0;h=b+h|0;g=c+g|0;d=d-1|0;if(d){continue}break}}return i}N[a+20>>2]=0;return 64}function Nj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=T(c,20)+a|0;k=P[f+16>>1];c:{if(!k){break c}g=O[f+18|0];M[f+16>>1]=0;if(!e){break c}h=k<<16>>16;f=h+c|0;if(f>>>0>=b>>>0){break c}Nj(a,b,f,d,e-1|0);b=g&2;if((g&1)==(b>>>1|0)){break b}if(b){if((d&-2)==4){b=T(c,20)+a|0;N[b+12>>2]=N[b+12>>2]+N[(T(f,20)+a|0)+12>>2];return}b=T(c,20)+a|0;N[b+8>>2]=N[b+8>>2]+N[(T(f,20)+a|0)+8>>2];return}g=T(c,20)+a|0;b=T(f,20)+a|0;e=N[g+8>>2]+N[b+8>>2]|0;N[g+8>>2]=e;b=N[g+12>>2]+N[b+12>>2]|0;N[g+12>>2]=b;if(c>>>0<=f>>>0){break a}d:{if((d&-3)==4){d=0-h&3;if(d){h=c+h|0;while(1){i=T(f,20)+a|0;b=b-N[i+4>>2]|0;e=e-N[i>>2]|0;f=f+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}f=d+h|0}if(k>>>0>65532){break d}while(1){d=T(f,20)+a|0;b=b-(((N[d+4>>2]+N[d+24>>2]|0)+N[d+44>>2]|0)+N[d- -64>>2]|0)|0;e=e-(N[d+60>>2]+(N[d+40>>2]+(N[d>>2]+N[d+20>>2]|0)|0)|0)|0;f=f+4|0;if((f|0)!=(c|0)){continue}break}break d}d=f+1|0;if(d>>>0>=c+1>>>0){break c}f=0-h&3;if(f){h=f+(c+h|0)|0;while(1){i=T(d,20)+a|0;b=N[i+4>>2]+b|0;e=N[i>>2]+e|0;d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}d=h+1|0}if(k>>>0>65532){break d}while(1){f=T(d,20)+a|0;b=(((N[f+4>>2]+b|0)+N[f+24>>2]|0)+N[f+44>>2]|0)+N[f- -64>>2]|0;e=N[f+60>>2]+(N[f+40>>2]+(N[f+20>>2]+(N[f>>2]+e|0)|0)|0)|0;f=d+3|0;d=d+4|0;if((c|0)!=(f|0)){continue}break}}N[g+8>>2]=e;N[g+12>>2]=b}return}ba(23893,14342,99,10300);B()}ba(13900,14342,113,10300);B()}function dq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(a){b=N[a+204>>2];N[a+204>>2]=b-1;j=N[a>>2];if((b|0)<=1){b=N[a+16>>2];a:{if(!b){break a}while(1){i=N[((h<<2)+a|0)+20>>2];c=N[i>>2];b:{if(cb(N[c+8>>2],21646)|!(L[c|0]&1)){break b}c=N[i+16>>2];if(!c){break b}while(1){f=N[c+8>>2];c:{if(!f){break c}d=N[f+96>>2];if(!d){break c}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break c}b=N[d+16>>2];if(!b){break c}g=d+16|0;e=N[d+8>>2];while(1){if((f|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break c}break}c=N[b>>2];k=c?c+4|0:g;g=N[b+4>>2];N[k>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,b);ic(e,f,d);c=N[i+16>>2]}if(c){continue}break}b=N[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}h=0;while(1){i=N[((h<<2)+a|0)+20>>2];d:{if(!(L[N[i>>2]]&1)){break d}c=N[i+16>>2];if(!c){break d}while(1){f=N[c+8>>2];e:{if(!f){break e}d=N[f+96>>2];if(!d){break e}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break e}b=N[d+16>>2];if(!b){break e}g=d+16|0;e=N[d+8>>2];while(1){if((f|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break e}break}c=N[b>>2];k=c?c+4|0:g;g=N[b+4>>2];N[k>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,b);ic(e,f,d);c=N[i+16>>2]}if(c){continue}break}b=N[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}while(1){nn(a,N[((b<<2)+a|0)+16>>2]);b=N[a+16>>2];if(b){continue}break}}Qa[N[j+8>>2]](j,a)}Qa[N[j+8>>2]](j,j)}}function Eg(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,o=0,p=0,q=0,r=0,s=0;f=La-16|0;e=1;a:{b:{c:{switch(N[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){d=T(i,12)+b|0;g=d-12|0;if(N[d>>2]>2]){N[f+8>>2]=N[d+8>>2];h=N[d+4>>2];N[f>>2]=N[d>>2];N[f+4>>2]=h;N[d+8>>2]=N[g+8>>2];h=N[g+4>>2];N[d>>2]=N[g>>2];N[d+4>>2]=h;N[g+8>>2]=N[f+8>>2];d=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=d;i=i-1|0;if(i){continue}}break}e=e+1|0;j=N[a>>2];if(e>>>0>>0){continue}break}e=1;if(j>>>0<2){break b}l=j-1|0;m=N[b>>2];g=0;d=1;while(1){f=(d|0)==(l|0);h=N[T(d,12)+b>>2]-m|0;d:{if(!f&(h|0)<=(c|0)){break d}i=0;d=(f&(c|0)>=(h|0))+d|0;e=g;e:{if(g>>>0>=d>>>0){break e}e=d-g|0;n=e&3;k=0;f=g;if((f^-1)+d>>>0>=3){o=e&-4;e=0;while(1){h=T(f,12)+b|0;p=N[h>>2];N[h>>2]=0;q=N[h+12>>2];N[h+12>>2]=0;r=N[h+24>>2];N[h+24>>2]=0;s=N[h+36>>2];N[h+36>>2]=0;i=s+(((i+p|0)+q|0)+r|0)|0;f=f+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=d;if(!n){break e}while(1){e=T(f,12)+b|0;h=N[e>>2];N[e>>2]=0;f=f+1|0;i=h+i|0;k=k+1|0;if((k|0)!=(n|0)){continue}break}e=d}N[T(g,12)+b>>2]=(i|0)/(e|0);if(d>>>0>=l>>>0){break d}g=d+1|0;m=N[T(g,12)+b>>2]}e=1;d=d+1|0;if(j>>>0>d>>>0){continue}break}f=1;while(1){c=T(f,12)+b|0;if(N[c>>2]){g=N[c+4>>2];d=T(e,12)+b|0;N[d>>2]=N[c>>2];N[d+4>>2]=g;N[d+8>>2]=N[c+8>>2];j=N[a>>2];e=e+1|0}f=f+1|0;if(j>>>0>f>>>0){continue}break}}N[a>>2]=e}}function Yp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=N[b+12>>2];e=f-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=f-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=O[a|0]|O[a+1|0]<<8;if(!g){break a}f=a+2|0;if(f>>>0>d>>>0){break a}h=d-f|0;d=(g<<8|g>>>8)&65535;g=T(d,3);if(h>>>0>>0){break a}e=e-g|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=d>>>0<=1?1:d;i=N[b+36>>2];d=0;while(1){e=T(d,3)+a|0;h=O[e+2|0]|O[e+3|0]<<8;if(i>>>0<=((h<<8|h>>>8)&65535)>>>0|O[e+4|0]>=c>>>0){break a}d=d+1|0;if((g|0)!=(d|0)){continue}break}if(!(O[a|0]|O[a+1|0]<<8)|(O[f|0]|O[f+1|0]<<8)){break a}d=O[a|0]|O[a+1|0]<<8;c=(d<<8|d>>>8)&65535;if(c>>>0>=2){f=1;while(1){e=275552;g=c;c=f-1|0;if(g>>>0>c>>>0){e=(T(c,3)+a|0)+2|0;d=O[a|0]|O[a+1|0]<<8}c=O[e|0]|O[e+1|0]<<8;g=(c<<8|c>>>8)&65535;c=((d<<8|(d&65280)>>>8)&65535)>>>0<=f>>>0?275552:(T(f,3)+a|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(g>>>0>=((c<<8|c>>>8)&65535)>>>0){break a}d=O[a|0]|O[a+1|0]<<8;c=(d<<8|d>>>8)&65535;f=f+1|0;if(c>>>0>f>>>0){continue}break}}c=(d?(T((d<<8|d>>>8)&65535,3)+a|0)-1|0:275552)+3|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=N[b+36>>2];b=O[a|0]|O[a+1|0]<<8;if(b){a=(T((b<<8|b>>>8)&65535,3)+a|0)-1|0}else{a=275552}a=O[a+3|0]|O[a+4|0]<<8;j=(c|0)==((a<<8|a>>>8)&65535)}return j}function hA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;C(a,0,656);N[a>>2]=N[b>>2];if(c){N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=N[b+16>>2];d=N[b+20>>2];N[a+40>>2]=b+48;N[a+36>>2]=b+40;N[a+32>>2]=b+32;N[a+28>>2]=b+28;N[a+24>>2]=b+24;N[a+20>>2]=d;d=O[b+68|0]|O[b+69|0]<<8;e=O[b+70|0];N[a+540>>2]=b+1508;f=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=f;L[a+48|0]=c;L[a+47|0]=e;L[a+45|0]=d;L[a+46|0]=d>>>8;L[a+44|0]=0;N[a+604>>2]=N[b+1348>>2];N[a+584>>2]=N[b+1352>>2];N[a+580>>2]=N[b+1356>>2];N[a+588>>2]=N[b+1472>>2];N[a+644>>2]=N[b+1468>>2];N[a+556>>2]=N[b+1364>>2];N[a+572>>2]=N[b+1368>>2];N[a+612>>2]=N[b+1372>>2];N[a+616>>2]=N[b+1376>>2];N[a+648>>2]=N[b+1496>>2];N[a+652>>2]=N[b+1500>>2];N[a+608>>2]=N[b+1360>>2];return}N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=N[b+16>>2];c=N[b+20>>2];N[a+40>>2]=b+48;N[a+36>>2]=b+40;N[a+32>>2]=b+32;N[a+28>>2]=b+28;N[a+24>>2]=b+24;N[a+20>>2]=c;c=N[b+64>>2];d=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=d;L[a+48|0]=0;N[a+44>>2]=c;c=N[b+108>>2];N[a+532>>2]=c;N[a+540>>2]=c+3104;N[a+536>>2]=N[b+768>>2];N[a+560>>2]=N[b+732>>2];N[a+576>>2]=N[b+748>>2];N[a+568>>2]=N[b+740>>2];N[a+556>>2]=N[b+728>>2];N[a+572>>2]=N[b+744>>2];c=N[b+736>>2];N[a+544>>2]=b+584;N[a+564>>2]=c;L[a+548|0]=O[b+593|0];N[a+588>>2]=N[b+760>>2];N[a+596>>2]=N[b+772>>2];N[a+600>>2]=N[b+776>>2]}function df(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=La-128|0;La=g;f=Qn(b,0);a:{if((f|0)<0){i=1;break a}N[g>>2]=1;d=La-16|0;La=d;N[d+12>>2]=g+4;N[d>>2]=N[g>>2];N[d+4>>2]=0;c=ka(f|0,2,d|0)|0;if(c>>>0>=4294963201){N[147316]=0-c}La=d+16|0;c=g+16|0;b:{c:{if((f|0)>=0){if(O[441572]){break c}c=Ha(f|0,c|0)|0;break b}if((f|0)!=-100){break c}break c}c=Ga(f|0,441572,c|0,4096)|0}if(c>>>0>=4294963201){N[147316]=0-c;c=-1}d:{if((c|0)<0){break d}c=N[g+56>>2];d=N[g+60>>2];if(c>>>0>2147483647&(d|0)>=0|(d|0)>0|!(c|d)){break d}N[a+8>>2]=0;N[a+4>>2]=c;e:{if(c>>>0>=2147483647){N[147316]=48;c=-1;break e}f:{g:{e=kb(40);d=Ca(c|0,1,2,f|0,0,e+8|0,e|0)|0;if((d|0)>=0){N[e+12>>2]=f;break g}_a(e);break f}N[e+32>>2]=1;N[e+16>>2]=2;N[e+4>>2]=c;N[e+24>>2]=0;N[e+28>>2]=0;N[e+36>>2]=N[147574];N[147574]=e;d=N[e>>2]}c=d;c=(c|0)==-63?-63:c;if(c>>>0>=4294963201){N[147316]=0-c;c=-1}}N[a>>2]=c;if(c+1>>>0>1){d=111}else{d=N[a+4>>2];c=kb(d);N[a>>2]=c;if(!c){break d}while(1){e=N[a>>2]+h|0;c=La-16|0;La=c;N[c+12>>2]=d-h;N[c+8>>2]=e;d=oa(f|0,c+8|0,1,c+4|0)|0;if(d){N[147316]=d;d=-1}else{d=0}La=c+16|0;c=d?-1:N[c+4>>2];h:{if((c|0)<=0){if((c|0)==-1&N[147316]==27){break h}_a(N[a>>2]);break d}h=c+h|0}d=N[a+4>>2];if((h|0)!=(d|0)){continue}break}d=112}N[a+24>>2]=d;fi(f);N[a+20>>2]=0;N[a+16>>2]=b;N[a+12>>2]=N[a>>2];break a}fi(f);N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0;i=81}La=g+128|0;return i}function Tc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}i=a-24|0;while(1){b=N[i>>2];if(!b){b=275552;break a}d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1330851634,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{g:{if(!b){break g}d=N[b>>2];if(!d){break g}if((d|0)<=0){break f}N[b>>2]=d+1}L[c+28|0]=0;N[c+36>>2]=b;g=N[b+12>>2];N[c+8>>2]=g;f=N[b+16>>2];h=f+g|0;N[c+12>>2]=h;if((f|0)<0){break e}N[c+32>>2]=0;d=c;if(f>>>0>67108863){e=1073741823}else{e=f<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[d+16>>2]=e;N[c+24>>2]=0;N[c+4>>2]=0;if(!g){ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break c}if(f>>>0<78){break d}N[c+16>>2]=e-78;d=O[g|0]|O[g+1|0]<<8;h:{if(!d){break h}if(f-78>>>0<8){break d}N[c+16>>2]=e-86;d=d<<8|d>>>8;if((d&65535)>>>0<2){break h}if(f-86>>>0<10|g+86>>>0>h>>>0){break d}N[c+16>>2]=e-96;if((d&65535)>>>0<5){break h}if((f&-4)==96|g+96>>>0>h>>>0){break d}N[c+16>>2]=e-100}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if(N[b+4>>2]){N[b+4>>2]=0}break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;ab(b);b=275552}d=b;b=N[a>>2];i:{if(d){if(b){break i}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<78?275552:N[b+12>>2]}function Yc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+88>>2];b=N[a+32>>2]+(b<<4)|0;g=N[b+8>>2];M[h+12>>1]=g+32>>>6;j=N[b+12>>2];M[h+14>>1]=j+32>>>6;if(L[a+8|0]&1){l=h+12|0;b=P[a+68>>1];a:{if(!b){e=2147483647;N[h+16>>2]=(g|0)<0?-2147483647:2147483647;break a}e=g>>31;d=(e^g)-e|0;b:{if(d>>>0<=65535){e=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break b}e=2147483647;c=d>>>16|0;if(c>>>0>=b>>>0){break b}d=d<<16|b>>>1;i=W(c);f=32-i|0;c=d>>>f|c<>>0)/(b>>>0)|0;c=c-T(b,e)|0;d=d<>>31;f=c>>>0>=b>>>0;c=c-(f?b:0)|0;e=f|e<<1;f=31-i|0;d=d<<1}if((i|0)==31){break b}while(1){c=c<<1|d>>>31;i=c>>>0>=b>>>0;c=d>>>30&1|c-(i?b:0)<<1;k=c>>>0>=b>>>0;c=c-(k?b:0)|0;e=e<<2|i<<1|k;d=d<<2;f=f-2|0;if(f){continue}break}}N[h+16>>2]=(g|0)<0?0-e|0:e;e=j>>31;d=(e^j)-e|0;if(d>>>0<=65535){e=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break a}e=2147483647;c=d>>>16|0;if(c>>>0>=b>>>0){break a}d=d<<16|b>>>1;g=W(c);f=32-g|0;c=d>>>f|c<>>0)/(b>>>0)|0;c=c-T(b,e)|0;d=d<>>31;f=c>>>0>=b>>>0;c=c-(f?b:0)|0;e=f|e<<1;f=31-g|0;d=d<<1}if((g|0)==31){break a}while(1){c=c<<1|d>>>31;g=c>>>0>=b>>>0;c=d>>>30&1|c-(g?b:0)<<1;i=c>>>0>=b>>>0;c=c-(i?b:0)|0;e=i|(e<<2|g<<1);d=d<<2;f=f-2|0;if(f){continue}break}}N[h+20>>2]=(j|0)<0?0-e|0:e;sn(a,l);return}N[h+28>>2]=0;N[h+24>>2]=j;N[h+16>>2]=65536;N[h+20>>2]=65536;a=M[b>>1];N[h+36>>2]=g;N[h+32>>2]=a<<6}function Sk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=La-16|0;La=j;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}else{f=275552}h=N[d+64>>2];k=vb(f,N[N[d+80>>2]+T(h,20)>>2]);c=0;a:{if((k|0)==-1){break a}N[b+4>>2]=h;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];f=0;f=(h|0)==N[c+64>>2]?O[(N[c+80>>2]+T(h,20)|0)+15|0]:f;N[b+12>>2]=8;L[b+23|0]=O[b+22|0]?f:0;g=b+4|0;if(!he(g,j+12|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[j+12>>2],N[d+64>>2]+1|0,0,1);c=0;break a}h=N[g>>2];c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}e=vb(c,N[N[d+80>>2]+T(h,20)>>2]);if((e|0)==-1){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,h,N[d+64>>2]+1|0,0,1);c=0;break a}f=275552;c=275552;i=O[a+10|0]|O[a+11|0]<<8;if(i){c=((i<<8|i>>>8)&65535)+a|0}i=O[c|0]|O[c+1|0]<<8;b:{if(e>>>0>=((i<<8|i>>>8)&65535)>>>0){break b}e=(e<<1)+c|0;e=O[e+2|0]|O[e+3|0]<<8;if(!e){break b}f=((e<<8|e>>>8)&65535)+c|0}c=O[f|0]|O[f+1|0]<<8;if(!c){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[g>>2],N[d+64>>2]+1|0,0,1);c=0;break a}c=(c<<8|c>>>8)&65535;g=N[d+80>>2];e=O[(g+T(h,20)|0)+14|0];if(e>>>0>=32){d=O[(g+T(N[d+64>>2],20)|0)+14|0];g=d&16?0:d&15;c=(d^e)>>>0<32?g?c>>>0>>0?c:g:c:c}d=c-1|0;c=O[a+8|0]|O[a+9|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}a=O[a+6|0]|O[a+7|0]<<8;c=_g(c,b,k,d,f,(a<<8|a>>>8)&65535,h)}La=j+16|0;return c}function fm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;i=La-16|0;La=i;f=3;e=N[b+188>>2];a:{if(!e){break a}h=b+196|0;g=N[b+192>>2];b:{while(1){c:{if(N[g+(d<<4)>>2]==(c|0)){f=83;d=N[(g+(d<<4)|0)+12>>2];c=N[a+8>>2];if(d>>>0>>0|(d-c|0)<0){break a}c=N[a+20>>2];if(!c){break c}if(Qa[c|0](a,d,0,0)|0){break a}c=N[a+4>>2];break b}d=d+1|0;if((e|0)!=(d|0)){continue}break a}break}c=N[a+4>>2];if(d>>>0>c>>>0){break a}}N[a+8>>2]=d;d:{if(d+3>>>0>=c>>>0){break d}e:{f:{g:{h:{c=N[a+20>>2];i:{if(c){if((Qa[c|0](a,d,i+12|0,4)|0)!=4){break d}d=N[a+8>>2];c=i+12|0;break i}c=N[a>>2];if(!c){break h}c=c+d|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[a+8>>2]=d+4;d=c&-256;if((d|256)!=256){break e}e=c&4;c=!e;if(!e){break g}f=rb(a,43344,h);if(!f){break f}break a}N[a+8>>2]=d+4;d=0;c=1}f=rb(a,43408,h);if(f){break a}}g=N[b+204>>2];e=g>>31;if((e^g)-e>>>0>=32768){N[b+204>>2]=(g|0)<0?-32767:32767}g=N[b+208>>2];e=g>>31;if((e^g)-e>>>0>=32768){N[b+208>>2]=(g|0)<0?-32767:32767}g=c?43504:43472;e=b+216|0;f=rb(a,g,e);if(f){break a}c=b+232|0;f=rb(a,g,c);if(f){break a}h=b+248|0;if((d|0)==256){f=rb(a,g,h);if(f){break a}f=rb(a,g,b+264|0);break a}a=N[e+4>>2];N[h>>2]=N[e>>2];N[h+4>>2]=a;a=N[e+12>>2];N[h+8>>2]=N[e+8>>2];N[h+12>>2]=a;a=N[c+12>>2];N[b+272>>2]=N[c+8>>2];N[b+276>>2]=a;a=N[c+4>>2];N[b+264>>2]=N[c>>2];N[b+268>>2]=a}f=0;break a}f=85}La=i+16|0;return f}function Ep(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,o=0,p=0,q=0,r=0;k=N[(c?16:12)+b>>2];g=N[(c?8:4)+b>>2];b=T(c,7676)+a|0;h=b+7712|0;a:{if((g|0)==N[h>>2]&N[b+7716>>2]==(k|0)){break a}N[h>>2]=g;N[b+7716>>2]=k;N[b+44>>2]=g;N[b+48>>2]=k;q=N[b+260>>2];if(!q){break a}b=g>>31;b=(b^g)-b|0;h=b&65535;m=b>>>16|0;n=b>>>8|0;r=T(c,7676)+a|0;while(1){a=T(o,28)+r|0;e=N[a+264>>2];c=e>>31;c=(c^e)-c|0;b:{if(c+n>>>0<=8190){f=T(b,c)+32768>>>16|0;break b}i=c&65535;f=T(i,m)+T(b,c>>>16|0)+(T(h,i)+32768>>>16)|0}c=f;d=0-c|0;c=e>>31|1;i=(g|0)<0;j=(((i?0-c|0:c)|0)<0?d:f)+k|0;N[a+272>>2]=j;N[a+268>>2]=j;c=N[a+276>>2];d=c>>31;d=(c^d)-d|0;c:{if(d+n>>>0<=8190){f=T(b,d)+32768>>>16|0;break c}l=d&65535;f=T(l,m)+T(b,d>>>16|0)+(T(h,l)+32768>>>16)|0}d=f;l=N[a+288>>2];N[a+288>>2]=l&-2;p=0-d|0;d=c>>31|1;d=(((i?0-d|0:d)|0)<0?p:f)+k|0;N[a+284>>2]=d;N[a+280>>2]=d;d=e-c|0;e=d>>31;e=(d^e)-e|0;d:{if(e+n>>>0<=8190){f=T(b,e)+32768>>>16|0;break d}f=e&65535;f=T(f,m)+T(b,e>>>16|0)+(T(h,f)+32768>>>16)|0}e=f;p=0-e|0;e=d>>31|1;if((((i?0-e|0:e)|0)<0?p:f)+48>>>0<=96){e=j+32&-64;N[a+272>>2]=e;d=fb(e,g)-c|0;c=d>>31;c=(c^d)-c|0;e:{if(c+n>>>0<=8190){c=T(b,c)+32768>>>16|0;break e}j=c&65535;c=T(j,m)+T(b,c>>>16|0)+(T(h,j)+32768>>>16)|0}c=i?0-c|0:c;c=(c|0)>=32?c+32&-64:0;N[a+284>>2]=e+((d|0)<0?c:0-c|0);N[a+288>>2]=l|1}o=o+1|0;if((q|0)!=(o|0)){continue}break}}}function sb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}h=a-8|0;while(1){b=N[h>>2];if(!b){b=275552;break a}d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1835104368,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{if(!b){break f}d=N[b>>2];if(!d){break f}if((d|0)<=0){break e}N[b>>2]=d+1}L[c+28|0]=0;N[c+36>>2]=b;f=N[b+12>>2];N[c+8>>2]=f;g=N[b+16>>2];N[c+12>>2]=g+f;if((g|0)<0){break d}N[c+32>>2]=0;if(g>>>0>67108863){d=1073741823}else{e=g<<6;e=e>>>0<=16384?16384:e;d=e>>>0>=1073741823?1073741823:e}N[c+16>>2]=d;N[c+24>>2]=0;N[c+4>>2]=0;if(!f){ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break c}g:{h:{i:{if(g>>>0<6){break i}N[c+16>>2]=d-6;j:{k:{l:{e=O[f|0]|O[f+1|0]<<8;switch((e<<8|e>>>8)&65535){case 0:break k;case 1:break l;default:break i}}if(g>>>0<32){break i}N[c+16>>2]=d-32;ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break j}d=O[f+2|0]|O[f+3|0]<<8;ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if((d|0)!=80){break h}}if(!N[b+4>>2]){break g}N[b+4>>2]=0;break c}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}ab(b);b=275552}break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}d=b;b=N[a>>2];m:{if(d){if(b){break m}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<6?275552:N[b+12>>2]}function op(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(d){g=(f|0)==2;m=g?256:128;n=g?128:256;l=0-f|0;while(1){i=N[c+16>>2];a:{if(i&16){break a}k=N[c+28>>2];b:{g=L[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=L[c+21|0];if((g|0)==(f|0)){break c}if((g|0)!=(l|0)){break b}}if(!g){break b}if((f|0)==(g|0)){g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-N[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}N[c+24>>2]=h;N[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-(N[h>>2]+N[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}N[c+24>>2]=h;N[c+16>>2]=i|1040;break a}if(!(i&64)){break a}d:{e:{if(i&n){g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-N[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=528;break e}if(!(i&m)){break d}g=0;if(!a){break d}while(1){h=N[(g<<2)+b>>2];j=k-(N[h>>2]+N[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=1040}N[c+24>>2]=h;N[c+16>>2]=g|i}if(N[c+24>>2]){break a}g=0;if(!a){break a}while(1){i=N[(g<<2)+b>>2];h=N[i>>2];if(!((h|0)>(k|0)|(h+N[i+4>>2]|0)<(k|0))){N[c+24>>2]=i;break a}g=g+1|0;if((g|0)!=(a|0)){continue}break}}c=c+40|0;d=d-1|0;if(d){continue}break}}}function Zm(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,q=0,r=0,s=0,t=0,u=0,v=0;a:{if((a|0)>(b|0)){break a}h=N[(c<<3)+e>>2]>N[(d<<3)+e>>2];n=h?c:d;g=n<<3;i=N[g+f>>2];o=h?d:c;c=o<<3;k=N[c+f>>2];g=N[e+g>>2];h=N[c+e>>2];if(!((g|0)==(h|0)&(i|0)!=(k|0))){r=i-g|0;s=k-h|0;if((h|0)!=(g|0)){j=fb(i-k|0,g-h|0)}c=j>>31;i=(c^j)-c|0;q=i&65535;p=i>>>16|0;u=i>>>8|0;c=a;while(1){d=c;t=c<<3;c=N[t+e>>2];b:{if((c|0)<=(h|0)){l=c+s|0;break b}l=c+r|0;if((c|0)>=(g|0)){break b}l=c-h|0;c=l>>31;c=(c^l)-c|0;c:{if(c+u>>>0<=8190){m=T(c,i)+32768>>>16|0;break c}m=c&65535;m=T(p,m)+T(i,c>>>16|0)+(T(q,m)+32768>>>16)|0}c=m;v=0-c|0;c=l>>31|1;l=k+((((j|0)<0?0-c|0:c)|0)<0?v:m)|0}N[f+t>>2]=l;c=d+1|0;if((b|0)!=(d|0)){continue}break}}i=f+4|0;e=e+4|0;d=N[e+(o<<3)>>2]>N[e+(n<<3)>>2];j=(d?o:n)<<3;c=N[i+j>>2];d=(d?n:o)<<3;f=N[d+i>>2];h=N[e+j>>2];d=N[d+e>>2];if((h|0)==(d|0)&(c|0)!=(f|0)){break a}j=0;n=c-h|0;o=f-d|0;if((d|0)!=(h|0)){j=fb(c-f|0,h-d|0)}c=j>>31;k=(c^j)-c|0;l=k&65535;r=k>>>16|0;s=k>>>8|0;while(1){c=a;q=c<<3;a=N[q+e>>2];d:{if((a|0)<=(d|0)){g=a+o|0;break d}g=a+n|0;if((a|0)>=(h|0)){break d}g=a-d|0;a=g>>31;a=(a^g)-a|0;e:{if(a+s>>>0<=8190){m=T(a,k)+32768>>>16|0;break e}p=a&65535;m=T(p,r)+T(k,a>>>16|0)+(T(l,p)+32768>>>16)|0}a=m;p=0-a|0;a=g>>31|1;g=f+((((j|0)<0?0-a|0:a)|0)<0?p:m)|0}N[i+q>>2]=g;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function Ko(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=1;g=N[b+4>>2];a:{if(N[g+16>>2]==128){break a}while(1){d=h;b:{c:{f=N[g+12>>2];if(!f){break c}h=N[g+8>>2];if((d|0)>(h|0)){break c}while(1){d=a;a=N[d+4>>2];if(N[a+16>>2]!=128&N[a+8>>2]<=(h|0)){continue}break}i=f+h|0;e=d;while(1){a=e;e=N[a+4>>2];if(N[e+16>>2]!=128&(i|0)>N[e+8>>2]){continue}break}if(c){N[a+12>>2]=f+N[a+12>>2]}j=N[d+8>>2];f=j+N[d+12>>2]|0;d:{e:{if((a|0)==(d|0)){if((f|0)>(i|0)){e=kb(36);if(!e){k=0;break a}M[e+20>>1]=0;N[e+28>>2]=0;N[e+32>>2]=0;N[e>>2]=0;N[e+4>>2]=0;a=e+8|0;N[a>>2]=0;N[a+4>>2]=0;a=N[d+4>>2];N[a>>2]=e;N[e+4>>2]=a;L[e+20|0]=O[d+20|0];L[e+21|0]=O[d+21|0];N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];f=N[d+8>>2];N[e+8>>2]=i;N[e+12>>2]=a+(f-i|0);j=N[d+8>>2];f=j+N[d+12>>2]|0}if((f|0)<(h|0)){break e}if((h|0)>(j|0)){N[d+12>>2]=h-j;break e}a=N[d>>2];_a(d);break d}f:{if((f|0)<(h|0)){break f}if((h|0)>(j|0)){N[d+12>>2]=h-j;break f}d=N[d>>2]}f=N[a+12>>2]+N[a+8>>2]|0;if((f|0)>(i|0)){N[a+8>>2]=i;N[a+12>>2]=f-i;e=a}a=N[d+4>>2];if((e|0)==(a|0)){break e}while(1){f=N[a+4>>2];_a(a);a=f;if((e|0)!=(a|0)){continue}break}}a=d}d=N[g>>2];N[d+4>>2]=N[g+4>>2];N[N[g+4>>2]>>2]=d;N[a+4>>2]=g;N[g+4>>2]=e;N[g>>2]=a;N[e>>2]=g;break b}h=d;d=g}g=N[d+4>>2];if(N[g+16>>2]!=128){continue}break}}N[N[b>>2]+4>>2]=0;while(1){a=N[b+4>>2];_a(b);b=a;if(a){continue}break}return k}function vs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{if(Q[b+160>>2]>=a+16>>>0){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>N[b+160>>2]-a>>>0){break a}d=(c-16>>>0)/12|0;c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(d>>>0>>0){break a}d:{if(!g){break d}c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(c>>>0>>0){break a}d=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);if(N[b+164>>2]){f=N[b+172>>2];e=c-e|0;if(f>>>0>>0|f-e>>>0<=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break c}}f=1;if((g|0)==1){break d}a=a+28|0;while(1){d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0>>0|c>>>0>=e>>>0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(N[b+164>>2]){h=N[b+172>>2];e=d-e|0;if(h>>>0>>0|h-e>>>0<=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}}a=a+12|0;c=d;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,16);B()}Pb(b,8);B()}function Aw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;i=N[a+84>>2];a:{b:{c:{f=N[a+8>>2];if(!(f&8)){break c}f=N[a+4>>2]&2147418112|f&32768;if(d&16){if(f){f=7;if(!(O[a+740|0]&16)){break a}}if(!O[a+292|0]){break c}if(!c){break b}if((c|0)!=1){d=c&1;c=c&-2;while(1){f=h+14|0;i=h+12|0;Qa[N[N[a+540>>2]+156>>2]](a,1,b+g|0,f,i);N[(g<<2)+e>>2]=P[h+12>>1];j=g|1;Qa[N[N[a+540>>2]+156>>2]](a,1,j+b|0,f,i);N[(j<<2)+e>>2]=P[h+12>>1];g=g+2|0;if((c|0)!=(g|0)){continue}break}f=0;if(!d){break a}}Qa[N[N[a+540>>2]+156>>2]](a,1,b+g|0,h+14|0,h+12|0);N[(g<<2)+e>>2]=P[h+12>>1];break b}if(f){f=7;if(!(O[a+740|0]&2)){break a}}if(!P[a+250>>1]){break c}if(!c){break b}if((c|0)!=1){d=c&1;c=c&-2;while(1){f=h+14|0;i=h+10|0;Qa[N[N[a+540>>2]+156>>2]](a,0,b+g|0,f,i);N[(g<<2)+e>>2]=P[h+10>>1];j=g|1;Qa[N[N[a+540>>2]+156>>2]](a,0,j+b|0,f,i);N[(j<<2)+e>>2]=P[h+10>>1];g=g+2|0;if((c|0)!=(g|0)){continue}break}f=0;if(!d){break a}}Qa[N[N[a+540>>2]+156>>2]](a,0,b+g|0,h+14|0,h+10|0);N[(g<<2)+e>>2]=P[h+10>>1];break b}if(!c){break b}if(!i){f=37;break a}l=i+(d&16?60:56)|0;while(1){f=N[a+88>>2];j=(f?256:259)|d;k=b+g|0;d:{if(!(j&1?0:f)){f=Yf(i,0,k,j);break d}if(N[f>>2]!=N[i+4>>2]){f=35;break a}f=Yf(i,f,k,j)}if(f){break a}N[(g<<2)+e>>2]=N[l>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}f=0}La=h+16|0;return f|0}function kl(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{f:{g:{h:{if(!b){break h}c=N[b>>2];if(!c){break h}if((c|0)<=0){break g}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;e=N[b+12>>2];N[a+4>>2]=e;c=N[b+16>>2];N[a+8>>2]=c+e;if((c|0)<0){break f}N[a+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;c=b;if(!e){break a}if(oh(e,a)){break e}i:{if(O[a+24|0]|!N[a+28>>2]){break i}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break i}while(1){L[a+24|0]=1;c=N[a+32>>2];e=N[c+12>>2];N[a+4>>2]=e;d=N[c+16>>2];N[a+8>>2]=d+e;if((d|0)<0){break f}N[a+28>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[a+12>>2]=d;N[a+20>>2]=0;N[a>>2]=0;if(!e){break a}if(oh(e,a)){break e}if(O[a+24|0]|!N[a+28>>2]){break i}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break d}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a+28>>2]){break c}N[a+28>>2]=0;c=oh(e,a);e=N[a+28>>2];ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(e){break d}if(c){break b}}ab(b);return 275552}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(c);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function zk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=N[b+4>>2];if(g>>>0>a>>>0){return 0}e=N[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}f=N[b+12>>2];h=f-2|0;N[b+12>>2]=h;i=1;if((h|0)<=0){return 0}h=O[a|0]|O[a+1|0]<<8;a:{if(!h){break a}c=((h<<8|h>>>8)&65535)+c|0;d=N[d>>2];b:{if((d|0)==1936292453){if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<10){break b}d=f-12|0;N[b+12>>2]=d;if((d|0)<=0){break b}g=O[c|0]|O[c+1|0]<<8;if(!g){break b}d=O[c+8|0]|O[c+9|0]<<8;e=O[c+6|0]|O[c+7|0]<<8;f=O[c+4|0]|O[c+5|0]<<8;if(!(e|(f|(O[c+2|0]|O[c+3|0]<<8)))){if(!d){break a}}c=(g<<8|g>>>8)&65535;if(c>>>0<((e<<8|(e&65280)>>>8)&65535)>>>0|c>>>0>((d<<8|(d&65280)>>>8)&65535)>>>0|(f<<8|(f&65280)>>>8)<<16>>16<=255){break b}break a}d=d&-65536;if((d|0)!=1668677632){if((d|0)!=1936916480){break a}if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<4){break b}c=f-6|0;N[b+12>>2]=c;if((c|0)<=0){break b}break a}if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<14){break b}d=f-16|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=c+12|0;if(d>>>0>e>>>0|e-d>>>0<2){break b}f=f-18|0;N[b+12>>2]=f;if((f|0)<=0){break b}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=c+14|0;if(c>>>0>e>>>0){break b}e=e-c|0;c=T((d<<8|d>>>8)&65535,3);if(e>>>0>>0){break b}c=f-c|0;N[b+12>>2]=c;if((c|0)>0){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;i=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;i=1}return i}function HB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=La-16544|0;La=d;a:{if(!a){a=96;break a}a=20;c=N[b+4>>2];if(!c){break a}e=M[c+2>>1];if(!e){a=0;break a}f=M[c>>1];if((f|0)<=0){a=0;break a}g=N[c+12>>2];if(!g|!N[c+4>>2]|(e|0)!=(M[((f<<1)+g|0)-2>>1]+1|0)){break a}a=19;if(O[b+8|0]&3){break a}a=6;b=N[b>>2];if(!b){break a}if(!N[b+4>>2]){a=0;break a}a=0;if(!N[b>>2]){break a}a=6;if(!N[b+12>>2]){break a}N[d+16520>>2]=N[c+16>>2];e=N[c+12>>2];a=d+16512|0;N[a>>2]=N[c+8>>2];N[a+4>>2]=e;a=N[c+4>>2];N[d+16504>>2]=N[c>>2];N[d+16508>>2]=a;c=N[b+12>>2];a=d+16488|0;N[a>>2]=N[b+8>>2];N[a+4>>2]=c;c=N[b+20>>2];a=d+16496|0;N[a>>2]=N[b+16>>2];N[a+4>>2]=c;a=N[b+4>>2];N[d+16480>>2]=N[b>>2];N[d+16484>>2]=a;a=d+16384|0;N[d+16412>>2]=a;N[d+16408>>2]=d;b=N[a+136>>2];c=b&256;N[a+20>>2]=c?30:2;N[a+16>>2]=c?256:32;c=c?12:6;N[a>>2]=c;c=1<>2]=c;N[a+12>>2]=c>>>6;N[a+8>>2]=c>>>1;b:{if(b&8){L[a+48|0]=2;break b}c=b>>>2&4;L[a+48|0]=c;if(b&32){break b}L[a+48|0]=c|1}N[a+152>>2]=345;N[a+148>>2]=346;N[a+144>>2]=347;N[a+140>>2]=348;M[a+50>>1]=N[a+100>>2];c=N[a+108>>2];N[a+52>>2]=c;b=N[a+96>>2]-1|0;e=N[a+104>>2];if((e|0)>0){N[a+52>>2]=c+T(b,e)}b=gp(a,0,b);c:{if(b){break c}if(!(O[a+137|0]&2)){N[a+152>>2]=349;N[a+148>>2]=350;N[a+144>>2]=351;N[a+140>>2]=352;b=gp(a,1,N[a+100>>2]-1|0);if(b){break c}}b=0}a=b}La=d+16544|0;return a|0}function fq(a,b,c,d){var e=0,f=U(0),g=0;e=La-112|0;La=e;a:{b:{if(Q[a+16>>2]<=c>>>0){break b}M[e+84>>1]=0;M[e+96>>1]=0;M[e+108>>1]=0;M[e+72>>1]=0;N[e+64>>2]=0;N[e+68>>2]=0;N[e+76>>2]=0;N[e+80>>2]=0;N[e+88>>2]=0;N[e+92>>2]=0;N[e+100>>2]=0;N[e+104>>2]=0;c:{if(N[b+84>>2]){N[e+48>>2]=2139095039;N[e+52>>2]=2139095039;N[e+56>>2]=-8388609;N[e+60>>2]=-8388609;L[e+44|0]=0;N[e+40>>2]=e- -64;g=N[e+44>>2];N[e+8>>2]=N[e+40>>2];N[e+12>>2]=g;g=N[e+52>>2];N[e+16>>2]=N[e+48>>2];N[e+20>>2]=g;g=N[e+60>>2];N[e+24>>2]=N[e+56>>2];N[e+28>>2]=g;N[e+36>>2]=0;N[e+32>>2]=b;g=N[e+36>>2];N[e>>2]=N[e+32>>2];N[e+4>>2]=g;if(fj(a,b,c,e)){break c}}if(d){b=N[a+8>>2];if(Q[b+4>>2]>c>>>0){a=N[b>>2]-1|0;a=a>>>0>>0?a:c;if((a|0)<0){a=275552}else{b=N[b+20>>2];a=N[(b?b:275552)+12>>2]+(a<<2)|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break a}a=0;if(N[b+8>>2]){break a}a=N[b+16>>2];break a}b=N[a+4>>2];if(Q[b+4>>2]>c>>>0){a=N[b>>2]-1|0;a=a>>>0>>0?a:c;if((a|0)<0){a=275552}else{b=N[b+20>>2];a=N[(b?b:275552)+12>>2]+(a<<2)|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break a}a=0;if(N[b+8>>2]){break a}a=N[b+16>>2];break a}if(d){f=U(R[e+92>>2]-R[e+104>>2])}else{f=U(R[e+76>>2]-R[e+64>>2])}f=U(Z(U(f+U(.5))));f=f>=U(0)?f:U(0);f=f<=U(2147483648)?f:U(2147483648);if(!(f=U(0))){break b}a=~~f>>>0;break a}a=0}La=e+112|0;return a}function Ni(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=La-16|0;La=c;N[c+12>>2]=N[a>>2];d=N[a+8>>2];Tb(c+12|0,d);b=N[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=O[b|0];switch(e-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}N[c+12>>2]=b+1;break b}if((e|0)!=123){break c}e=ap(c+12|0,d);break a}e=Mi(c+12|0,d);break a}if(!(O[b+1|0]!=60|b+1>>>0>=d>>>0)){N[c+12>>2]=b+2;break b}e=$o(c+12|0,d);break a}f=b+1|0;N[c+12>>2]=f;e=3;if(O[f|0]!=62|d>>>0<=f>>>0){break a}N[c+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=d>>>0){break j}while(1){k:{switch(O[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break j;default:break k}}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}N[c+12>>2]=b}e=0}b=N[c+12>>2];if(b>>>0>>0){e=(b|0)==N[a>>2]?3:e}N[a+12>>2]=e;N[a>>2]=b>>>0>d>>>0?d:b;La=c+16|0}function Rk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;d=N[b+96>>2];g=O[a+2|0]|O[a+3|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}else{c=275552}f=N[d+64>>2];g=vb(c,N[N[d+80>>2]+T(f,20)>>2]);c=0;a:{if((g|0)==-1){break a}N[b+4>>2]=f;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];e=(f|0)==N[c+64>>2]?O[(N[c+80>>2]+T(f,20)|0)+15|0]:e;N[b+12>>2]=N[b+140>>2]&-15;L[b+23|0]=O[b+22|0]?e:0;c=b+4|0;if(!he(c,h+12|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[h+12>>2],N[d+64>>2]+1|0,0,1);c=0;break a}f=N[c>>2];c=N[d+80>>2];i=T(f,20)+c|0;if(!(O[i+12|0]&8)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,N[d+64>>2]+1|0,0,1);c=0;break a}e=O[i+14|0];k=e&16?0:e&15;j=N[d+64>>2];c=O[(c+T(j,20)|0)+14|0];l=c&16?0:c&15;b:{c:{if((c^e)>>>0<=31){if(c>>>0<32){break b}if((k|0)!=(l|0)){break c}break b}if(!l&c>>>0>=32){break b}if(e>>>0<32){break c}if(!k){break b}}c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,j+1|0,0,1);c=0;break a}c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[i>>2]);if((c|0)==-1){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,j+1|0,0,1);c=0;break a}d=O[a+8|0]|O[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}e=O[a+10|0]|O[a+11|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}a=O[a+6|0]|O[a+7|0]<<8;c=_g(d,b,g,c,e,(a<<8|a>>>8)&65535,f)}La=h+16|0;return c}function rC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;e=c+5|0;if(!(!d|e>>>0<2)){o=d<<3;C=e>>>1|0;p=T(c+7&-8,d);c=0;while(1){q=0;while(1){e=c-o|0;e=e>>>0>=p>>>0?440592:(e<<1)+b|0;D=M[e+8>>1];E=M[e+10>>1];z=M[e+12>>1];A=M[e+14>>1];e=c+o|0;e=e>>>0>=p>>>0?440592:(e<<1)+b|0;g=M[e>>1];r=M[e+2>>1];m=M[e+14>>1];h=M[e+4>>1];n=M[e+12>>1];i=M[e+6>>1];j=M[e+10>>1];k=M[e+8>>1];e=c>>>0>=p>>>0?440592:(c<<1)+b|0;s=M[e>>1];t=M[e+2>>1];u=M[e+14>>1];v=M[e+12>>1];w=M[e+6>>1];l=v+w|0;x=M[e+4>>1];y=M[e+10>>1];e=M[e+8>>1];f=y+e|0;M[a+6>>1]=((((u+(l+x|0)>>1)+f>>>1|0)+l>>>1|0)+f|0)+2>>>2;f=w+x|0;l=e+t|0;M[a+4>>1]=(((f+((l+s|0)+y>>1)>>>1|0)+l>>>1|0)+f|0)+2>>>2;n=i+n|0;f=m+(n+h|0)>>1;m=j+k|0;M[a+14>>1]=(((f+m>>>1|0)+n>>>1|0)+m|0)+2>>>2;k=k+r|0;f=j+(k+g|0)>>1;j=h+i|0;M[a+12>>1]=(((f+j>>>1|0)+k>>>1|0)+j|0)+2>>>2;h=h+u|0;f=(h+v|0)+i>>1;i=g+r|0;M[a+10>>1]=(((f+i>>>1|0)+h>>>1|0)+i|0)+2>>>2;f=e;e=g+y|0;g=u+v|0;M[a+8>>1]=(((((f+e|0)+r>>1)+g>>>1|0)+e>>>1|0)+g|0)+2>>>2;g=s+t|0;e=A+x|0;M[a+2>>1]=(((g+((e+z|0)+w>>1)>>>1|0)+e>>>1|0)+g|0)+2>>>2;g=z+A|0;e=s+E|0;M[a>>1]=(((g+((e+D|0)+t>>1)>>>1|0)+e>>>1|0)+g|0)+2>>>2;c=c+8|0;a=a+16|0;q=q+1|0;if((q|0)!=(d|0)){continue}break}c=c+o|0;B=B+8|0;if(C>>>0>B>>>0){continue}break}}}function no(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{A(+a);b=v(1)|0;v(0)|0;d:{e:{e=b&2147483647;if(e>>>0>=1078159482){A(+a);e=v(1)|0;e=e&2147483647;if((e|0)==2146435072&(v(0)|0)!=0|e>>>0>2146435072){break a}if((b|0)<0){return-1}if(!(a>709.782712893384)){break e}return a*898846567431158e293}if(e>>>0<1071001155){break c}if(e>>>0>1072734897){break e}if((b|0)>0|(b|0)>=0){b=1;c=1.9082149292705877e-10;g=a+-.6931471803691238;break d}b=-1;c=-1.9082149292705877e-10;g=a+.6931471803691238;break d}A(.5);b=v(1)|0;h=v(0)|0;A(+a);e=v(1)|0;v(0)|0;x(0,h|0);x(1,b&2147483647|e&-2147483648);c=a*1.4426950408889634+ +z();f:{if(V(c)<2147483648){b=~~c;break f}b=-2147483648}d=+(b|0);c=d*1.9082149292705877e-10;g=a+d*-.6931471803691238}a=g;a=a-c;c=g-a-c;break b}if(e>>>0<1016070144){break a}b=0}f=a*.5;d=a*f;g=d*(d*(d*(d*(d*-2.0109921818362437e-7+4008217827329362e-21)+-793650757867488e-19)+.0015873015872548146)+-.03333333333333313)+1;f=3-g*f;f=d*((g-f)/(6-a*f));if(!b){return a-(a*f-d)}c=a*(f-c)-c-d;g:{switch(b+1|0){case 0:return(a-c)*.5+-.5;case 2:if(a<-.25){return(c-(a+.5))*-2}a=a-c;return a+a+1;default:break g}}x(0,0);x(1,b+1023<<20);d=+z();if(b>>>0>=57){a=a-c+1;return((b|0)==1024?(a+a)*898846567431158e293:a*d)+-1}x(0,0);x(1,1023-b<<20);f=+z();a=(b>>>0<=19?1-f+(a-c):a-(c+f)+1)*d}return a}function LC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;f=La-128|0;La=f;b=N[b+12>>2];a:{b:{c:{d:{e:{f:{if((d|0)<0){if(!(N[b+8>>2]&512)|(!b|!c)){break e}g:{h:{g=N[b+128>>2];a=N[g+40>>2];switch(a+2|0){case 0:break e;case 2:break h;default:break g}}a=N[b+96>>2];h=N[N[a>>2]+32>>2];i:{if(!h){a=0;break i}a=Qa[h|0](a,9592)|0;g=N[b+128>>2]}N[g+40>>2]=a?a:-2}if(!a){break e}a=N[a+4>>2];if(!a){break e}a=Qa[a|0](b,c)|0;break f}a=0;d=d>>>0>=127?127:d;h=fg(f,c,d);L[d+h|0]=0;if(!b|!(O[b+9|0]&2)){break f}j:{k:{i=N[b+128>>2];g=N[i+40>>2];switch(g+2|0){case 2:break k;case 0:break f;default:break j}}g=N[b+96>>2];j=N[N[g>>2]+32>>2];l:{if(!j){g=0;break l}g=Qa[j|0](g,9592)|0;i=N[b+128>>2]}N[i+40>>2]=g?g:-2}if(!g){break f}g=N[g+4>>2];if(!g){break f}a=Qa[g|0](b,h)|0}N[e>>2]=a;if(a){break c}break d}N[e>>2]=0}m:{n:{if(!b){break n}L[f|0]=0;if(!(O[b+9|0]&2)|N[b+16>>2]<=0){break n}o:{p:{g=N[b+128>>2];a=N[g+40>>2];switch(a+2|0){case 0:break n;case 2:break p;default:break o}}a=N[b+96>>2];h=N[N[a>>2]+32>>2];q:{if(!h){a=0;break q}a=Qa[h|0](a,9592)|0;g=N[b+128>>2]}N[g+40>>2]=a?a:-2}if(!a){break n}a=N[a>>2];if(!a){break n}if(Qa[a|0](b,0,f,128)|(d|0)>=0){break n}if(cb(f,c)){break m}break b}if(!bb(f,c,d)){break b}}a=N[e>>2]}a=(a|0)!=0;break a}a=1}La=f+128|0;return a|0}function Zi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break a}e=N[b+12>>2];c=e-8|0;N[b+12>>2]=c;if(!(O[a|0]|O[a+1|0]<<8)|(c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<4){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(c>>>0>1073741823){break a}g=c<<2;if(g){i=a+8|0;if(i>>>0>d>>>0|g>>>0>d-i>>>0){break a}d=h-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}}if(!e){return 1}i=c>>>0<=1?1:c;h=0;while(1){b:{g=N[b+4>>2];d=((h<<2)+a|0)+8|0;if(g>>>0>d>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<4){break b}f=N[b+12>>2];c=f-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c:{if(!c){break c}if(c&128){break b}c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;d:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<4){break d}g=f-8|0;N[b+12>>2]=g;if((g|0)<=0){break d}f=N[b+36>>2]+1|0;if(f>>>0>1073741823){break d}f=f<<2;if(!f){break c}c=c+4|0;if(c>>>0>e>>>0|f>>>0>e-c>>>0){break d}e=g-f|0;N[b+12>>2]=e;if((e|0)>0){break c}}e=N[b+28>>2];if(e>>>0>31){break b}N[b+28>>2]=e+1;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}f=1;h=h+1|0;if((i|0)!=(h|0)){continue}break a}break}f=0}return f}function iB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-80|0;La=e;f=e- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[e+72>>2]=0;N[e+76>>2]=0;N[e+56>>2]=0;N[e+60>>2]=0;f=18;a:{if(N[b+72>>2]!=N[a+16>>2]){break a}f=19;if((c|0)!=5){break a}f=7;if(d){break a}i=N[a+8>>2];d=0;b:{h=b+76|0;f=N[h>>2];if(!(!f|!N[b+84>>2])){c=0;N[e+76>>2]=0;N[e+68>>2]=0;N[e+72>>2]=0;g=f;d=N[a+64>>2];f=d<<1;j=g+f|0;N[e+56>>2]=j;g=N[b+80>>2];L[e+74|0]=2;M[e+72>>1]=255;g=f+g|0;N[e+60>>2]=g;N[e+64>>2]=g;if((g|j)<0){f=6;break a}c:{d:{if(!(!g|!j)){f=10;if((2147483647/(g>>>0)|0)<(j|0)){break a}f=T(g,j);c=Qa[N[i+4>>2]](i,f)|0;if(!c|(j|0)<=0){break d}C(c,0,f)}N[e+68>>2]=c;break c}N[e+68>>2]=c;if(c){break c}f=!c<<6;break a}N[e+8>>2]=8;N[e+4>>2]=h;N[e>>2]=e+56;N[e+48>>2]=N[a+64>>2];L[e+52|0]=O[a+68|0];L[e+53|0]=O[a+69|0];f=Qa[N[a+56>>2]](N[a+52>>2],e)|0;if(f){break b}}f=N[b+156>>2];a=N[f+4>>2];if(a&1){c=N[b+88>>2];if(c){Qa[N[i+8>>2]](i,c);f=N[b+156>>2];a=N[f+4>>2]}N[f+4>>2]=a&-2}a=N[e+60>>2];N[h>>2]=N[e+56>>2];N[h+4>>2]=a;a=N[e+76>>2];N[h+16>>2]=N[e+72>>2];N[h+20>>2]=a;a=e- -64|0;c=N[a+4>>2];N[h+8>>2]=N[a>>2];N[h+12>>2]=c;N[b+104>>2]=N[b+104>>2]+d;N[b+100>>2]=N[b+100>>2]-d;N[f+4>>2]=N[f+4>>2]|1;f=0;break a}a=N[e+68>>2];if(!a){break a}Qa[N[i+8>>2]](i,a)}La=e+80|0;return f|0}function Js(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=-1;f=N[a+16>>2];a=O[f+6|0]|O[f+7|0]<<8|(O[f+8|0]<<16|O[f+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=f+10|0;while(1){b:{e=a+g>>>1|0;d=j+T(e,11)|0;h=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}g=e+1|0}if(a>>>0>g>>>0){continue}break a}break}e=O[d+7|0]|O[d+8|0]<<8|(O[d+9|0]<<16|O[d+10|0]<<24);d:{a=O[d+3|0]|O[d+4|0]<<8|(O[d+5|0]<<16|O[d+6|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break d}c=a+f|0;a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);j=c+4|0;g=0;while(1){if(a>>>0<=g>>>0){break d}c=a;a=a+g>>>1|0;d=j+(a<<2)|0;h=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];if(h>>>0>b>>>0){continue}i=1;g=a+1|0;a=c;if(h+O[d+3|0]>>>0>>0){continue}break}break a}a=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+f|0;a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break e}d=c+4|0;g=0;while(1){f:{c=a+g>>>1|0;e=d+T(c,5)|0;f=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];g:{if(f>>>0>b>>>0){a=c;break g}if(b>>>0<=f>>>0){break f}g=c+1|0}if(a>>>0>g>>>0){continue}break e}break}i=0;if(O[e+4|0]|O[e+3|0]<<8){break a}}i=-1}return i|0}function Ks(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{h=N[a+16>>2];a=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=h+10|0;while(1){c:{g=a+f>>>1|0;e=j+T(g,11)|0;i=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];d:{if(i>>>0>d>>>0){a=g;break d}if(d>>>0<=i>>>0){break c}f=g+1|0}if(a>>>0>f>>>0){continue}break b}break}g=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);e:{a=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break e}d=a+h|0;a=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);j=d+4|0;f=0;while(1){if(a>>>0<=f>>>0){break e}d=a;a=a+f>>>1|0;e=j+(a<<2)|0;i=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];if(i>>>0>c>>>0){continue}f=a+1|0;a=d;if(i+O[e+3|0]>>>0>>0){continue}break}return Qa[N[N[b+12>>2]+12>>2]](b,c)|0}a=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(!a){break b}b=a+h|0;a=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break b}g=b+4|0;f=0;while(1){b=a+f>>>1|0;d=g+T(b,5)|0;e=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];f:{if(e>>>0>c>>>0){a=b;break f}if(c>>>0<=e>>>0){break a}f=b+1|0}if(a>>>0>f>>>0){continue}break}}return 0}return O[d+4|0]|O[d+3|0]<<8}function zs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{if(Q[b+160>>2]>=a+16>>>0){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>N[b+160>>2]-a>>>0){break a}d=(c-16>>>0)/12|0;c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(d>>>0>>0){break a}d:{if(!e){break d}c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(c>>>0<(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break a}d=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);if(Q[b+172>>2]<=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0?N[b+164>>2]:0){break c}f=1;if((e|0)==1){break d}a=a+28|0;while(1){d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(g>>>0>d>>>0|c>>>0>=g>>>0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(Q[b+172>>2]<=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0?N[b+164>>2]:0){break b}a=a+12|0;c=d;f=f+1|0;if((e|0)!=(f|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,16);B()}Pb(b,8);B()}function hC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(!N[a+4>>2]){c=6;if(N[a+12>>2]!=1){break a}g=N[a>>2];h=N[a+28>>2];if(h){N[(N[a+36>>2]+(h<<4)|0)-4>>2]=b}j=h+1|0;f=N[a+32>>2];c:{if(j>>>0<=f>>>0){d=N[a+36>>2];break c}e=(h&-8)+8|0;if((e|f)<0){break a}i=N[a+36>>2];d:{e:{f:{if(!e){if(!i){break f}Qa[N[g+8>>2]](g,i);N[a+36>>2]=0;break d}c=10;if((e|0)>134217727){break a}g:{if(!f){d=Qa[N[g+4>>2]](g,e<<4)|0;c=!d<<6;break g}c=Qa[N[g+12>>2]](g,f<<4,e<<4,i)|0;d=c?c:i;c=!c<<6}if(c|(e|0)<=(f|0)|!d){break e}C((f<<4)+d|0,0,e-f<<4)}N[a+36>>2]=d;break d}N[a+36>>2]=d;if(c){break a}}N[a+32>>2]=e}N[((j<<4)+d|0)-16>>2]=0;N[((h<<4)+d|0)+12>>2]=0;N[a+28>>2]=j;h=N[a- -64>>2];if(h){N[(N[a+72>>2]+(h<<4)|0)-4>>2]=b}i=h+1|0;e=N[a+68>>2];h:{if(i>>>0<=e>>>0){b=N[a+72>>2];break h}f=N[a+72>>2];d=(h&-8)+8|0;if((d|e)<0){c=6;break b}i:{j:{k:{if(!d){b=0;if(!f){break k}Qa[N[g+8>>2]](g,f);N[a+72>>2]=0;break i}c=10;if((d|0)>134217727){break b}l:{if(!e){b=Qa[N[g+4>>2]](g,d<<4)|0;c=!b<<6;break l}c=Qa[N[g+12>>2]](g,e<<4,d<<4,f)|0;b=c?c:f;c=!c<<6}if(c|(d|0)<=(e|0)|!b){break j}C((e<<4)+b|0,0,d-e<<4)}N[a+72>>2]=b;break i}N[a+72>>2]=b;if(c){break a}}N[a+68>>2]=d}N[((i<<4)+b|0)-16>>2]=0;N[((h<<4)+b|0)+12>>2]=0;N[a+64>>2]=i}return}N[a+72>>2]=f}N[a+4>>2]=c}function dv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){c=N[a+100>>2];f=N[a+504>>2];a:{if(!f){break a}d=N[f+96>>2];if(!d){break a}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break a}b=N[d+16>>2];if(!b){break a}g=d+16|0;e=N[d+8>>2];while(1){if(N[b+8>>2]!=(f|0)){b=N[b+4>>2];if(b){continue}break a}break}h=N[b>>2];i=h?h+4|0:g;g=N[b+4>>2];N[i>>2]=g;N[(g?g:d+20|0)>>2]=h;Qa[N[e+8>>2]](e,b);ic(e,f,d)}b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+148>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+148>>2]=0;b=N[a+432>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+432>>2]=0;b=N[a+428>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+428>>2]=0;b=N[a+424>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+424>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+396>>2]=0;b=N[a+400>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+400>>2]=0;b=N[a+384>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+384>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+364>>2]=0;b=N[a+496>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+496>>2]=0;b=N[a+560>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0;N[a+556>>2]=0;N[a+560>>2]=0}}function ic(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=N[c+12>>2];d=N[b+120>>2];if(d){Qa[d|0](N[b+116>>2])}e=N[b+84>>2];if(e){while(1){h=N[e+4>>2];d=N[h+84>>2];a:{if(!d){break a}i=N[N[h+96>>2]+8>>2];b:{if((d|0)==(e|0)){g=0;break b}while(1){f=N[d+8>>2];if(!f){break a}g=d;d=f;if((e|0)!=(d|0)){continue}break}}N[(g?g+8|0:h+84|0)>>2]=N[e+8>>2];d=N[e+20>>2];if(d){Qa[d|0](e)}ig(e);Qa[N[i+8>>2]](i,e);e=N[b+84>>2]}if(e){continue}break}}if(a){d=N[b+108>>2];if(d){while(1){g=N[d+4>>2];f=N[d+8>>2];e=N[f+8>>2];if(e){Qa[e|0](f)}e=N[N[c+12>>2]+60>>2];if(e){Qa[e|0](f)}e=N[f+40>>2];if(e){Qa[N[a+8>>2]](a,e)}N[f+40>>2]=0;Qa[N[a+8>>2]](a,f);Qa[N[a+8>>2]](a,d);d=g;if(d){continue}break}}N[b+108>>2]=0;N[b+112>>2]=0}N[b+88>>2]=0;c=N[b+48>>2];if(c){Qa[c|0](b)}if(N[b+36>>2]>0){d=0;while(1){f=d<<2;c=N[f+N[b+40>>2]>>2];g=N[N[c>>2]+100>>2];e=N[N[c+12>>2]+8>>2];if(e){Qa[e|0](c)}Qa[N[g+8>>2]](g,c);N[f+N[b+40>>2]>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}c=N[b+40>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+36>>2]=0;N[b+40>>2]=0;c=N[j+52>>2];if(c){Qa[c|0](b)}c=N[b+104>>2];c:{if(!c){break c}g=N[b+8>>2];d=N[c+28>>2];f=N[c+24>>2];if(f){Qa[f|0](c)}if(g&1024){break c}Qa[N[d+8>>2]](d,c)}N[b+104>>2]=0;c=N[b+128>>2];if(c){Qa[N[a+8>>2]](a,c);N[b+128>>2]=0}Qa[N[a+8>>2]](a,b)}function ec(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{f:{if(!O[a+62|0]){if(Q[a+68>>2]>>0){break d}N[a+64>>2]=b;break f}if(!O[a+60|0]){break e}f=N[a+68>>2];e=N[a+72>>2];d=N[a+64>>2];if((f+e|0)-d>>>0>>0){break c}if(b>>>0>e>>>0){if(Q[a+76>>2]<=b>>>0){if(!gb(a,b)){break e}}e=b-e|0;b=N[a+80>>2];c=N[a+84>>2];g:{if((b|0)!=(c|0)){break g}b=N[a+72>>2];if(b+e>>>0<=e+N[a+64>>2]>>>0){b=c;break g}if(!O[a+62|0]){break b}d=N[a+88>>2];N[a+84>>2]=d;b=T(b,20);if(!b){b=c;c=d;break g}F(d,c,b);b=N[a+80>>2];c=N[a+84>>2]}F(T(N[a+72>>2],20)+c|0,T(N[a+64>>2],20)+b|0,T(e,20));N[a+64>>2]=e+N[a+64>>2];N[a+72>>2]=e+N[a+72>>2];break f}if(b>>>0>=e>>>0){break f}b=e-b|0;if(b>>>0>d>>>0){e=b-d|0;g=e+f|0;if(!(!g|Q[a+76>>2]>g>>>0)){if(!gb(a,g)){break e}f=N[a+68>>2];d=N[a+64>>2]}c=N[a+80>>2]+T(d,20)|0;F(c+T(e,20)|0,c,T(f-d|0,20));c=N[a+68>>2];d=e+N[a+64>>2]|0;h:{if(c>>>0>=d>>>0){break h}f=T(d-c|0,20);if(!f){break h}C(N[a+80>>2]+T(c,20)|0,0,f);d=e+N[a+64>>2]|0;c=N[a+68>>2]}N[a+64>>2]=d;N[a+68>>2]=c+e}if(b>>>0>d>>>0){break a}c=d-b|0;N[a+64>>2]=c;d=N[a+72>>2]-b|0;N[a+72>>2]=d;F(N[a+80>>2]+T(c,20)|0,N[a+84>>2]+T(d,20)|0,T(b,20))}c=1}return c}ba(13100,17855,448,12346);B()}ba(22599,17855,455,12346);B()}ba(8694,17855,209,11932);B()}ba(8953,17855,480,12346);B()}function pm(a){var b=0,c=0,d=0,e=0;d=La-16|0;La=d;b=N[a+20>>2];a:{if(b){c=85;if(Qa[b|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;c=85;b=N[a+4>>2];if(!b){break a}e=N[a+20>>2];b:{if(e){b=Qa[e|0](a,0,d+4|0,4)|0;break b}b=b>>>0>=4?4:b;F(d+4|0,N[a>>2],b)}N[a+8>>2]=b;if(b>>>0<4){break a}c=3;if(O[d+4|0]!=31|O[d+5|0]!=139|(O[d+6|0]!=8|O[d+7|0]>31)){break a}b=b+6|0;e=N[a+20>>2];c:{d:{if(e){c=85;if(!(Qa[e|0](a,b,0,0)|0)){break d}break c}c=85;if(b>>>0>Q[a+4>>2]){break c}}N[a+8>>2]=b;c=0}N[d+8>>2]=c;b=O[d+7|0];if(b&4){b=ln(a,d+8|0);c=N[d+8>>2];if(c){break a}c=Xc(a,b);if(c){break a}b=O[d+7|0];c=0}e:{if(b&8){while(1){L[d+14|0]=0;c=N[a+8>>2];b=N[a+20>>2];f:{if(b){if((Qa[b|0](a,c,d+14|0,1)|0)!=1){break e}c=N[a+8>>2];b=d+14|0;break f}if(Q[a+4>>2]<=c>>>0){break e}b=N[a>>2]+c|0}b=O[b|0];N[a+8>>2]=c+1;if(b){continue}break}b=O[d+7|0];c=0}if(b&16){while(1){L[d+15|0]=0;c=N[a+8>>2];b=N[a+20>>2];g:{if(b){if((Qa[b|0](a,c,d+15|0,1)|0)!=1){break e}c=N[a+8>>2];b=d+15|0;break g}if(Q[a+4>>2]<=c>>>0){break e}b=N[a>>2]+c|0}b=O[b|0];N[a+8>>2]=c+1;if(b){continue}break}b=O[d+7|0];c=0}if(!(b&2)){break a}b=N[a+8>>2]+2|0;e=N[a+20>>2];h:{if(e){c=85;if(!(Qa[e|0](a,b,0,0)|0)){break h}break a}c=85;if(b>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=b;c=0;break a}c=85}La=d+16|0;return c}function Lf(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=La-272|0;La=k;l=N[N[a+96>>2]+64>>2];N[k+264>>2]=0;a:{b:{if(!Lk(a,d,e,N[j+4>>2],N[j+16>>2],k+264|0,k)){break b}o=N[k+264>>2];if(!o){l=0;break b}q=N[j+20>>2];r=N[j+8>>2];N[a+76>>2]=f;e=o-1|0;N[a+44>>2]=e;m=N[N[a+48>>2]+96>>2];N[a+80>>2]=N[m+68>>2];l=0;l=(e|0)==N[m+64>>2]?O[(N[m+80>>2]+T(e,20)|0)+15|0]:l;m=a+44|0;N[a+72>>2]=g;N[a+68>>2]=q;N[a- -64>>2]=r;L[a+63|0]=O[a+62|0]?l:0;g=o;c:{if(!f){break c}e=0;while(1){if(!kc(m,k+268|0)){l=N[k+268>>2];g=l;if(n&1){break c}break b}e=e+1|0;n=f>>>0<=e>>>0;if((e|0)!=(f|0)){continue}break}g=N[m>>2]+1|0}e=N[a+96>>2];e=N[(O[e+62|0]?72:64)+e>>2];p=N[j+12>>2];l=N[j>>2];N[a+76>>2]=b;N[a+44>>2]=e;j=N[N[a+48>>2]+96>>2];N[a+80>>2]=N[j+68>>2];f=0;n=0;n=N[j+64>>2]==(e|0)?O[(N[j+80>>2]+T(e,20)|0)+15|0]:n;N[a+72>>2]=c;N[a+68>>2]=p;N[a+64>>2]=l;L[a+63|0]=O[a+62|0]?n:0;c=1;d:{if(!b){break d}e=0;while(1){if(!he(m,k+268|0)){e=N[k+268>>2];c=1;if(f&1){break d}p=0;a=N[a+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,e,g,0,1);break a}e=e+1|0;f=e>>>0>=b>>>0;if((b|0)!=(e|0)){continue}break}e=N[m>>2];c=f}p=c;wb(N[a+96>>2],3,e,g,1,1);Kk(a,d,k,h,i,o);break a}a=N[a+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,N[a+64>>2],l,1,0)}La=k+272|0;return p}function TD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=La-16|0;La=g;f=N[b>>2];a=aq(f+28|0);b=N[a+4>>2];a:{b:{c:{d:{e:{if((b|0)!=131072){if((b|0)!=65536|c>>>0>257){break d}a=c<<2;b=N[a+267632>>2];a=N[a+267636>>2]+(b^-1)|0;b=b+268668|0;break e}b=N[a+8>>2];h=O[b|0]|O[b+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0<=c>>>0){break d}b=b+(c<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0<=257){a=b<<2;b=N[a+267632>>2];a=N[a+267636>>2]+(b^-1)|0;b=b+268668|0;break e}b=b-258|0;if(b>>>0>=Q[a+16>>2]){break d}a=N[a+24>>2]+N[N[a+20>>2]+(b<<2)>>2]|0;b=a+1|0;a=O[a|0]}if(!(!e|!a)){f=b;b=e-1|0;c=a>>>0>b>>>0?b:a;fg(d,f,c);break c}b=1;if(a){break a}}b=0;f=Kg(f- -64|0);if(!N[f+44>>2]|N[f+148>>2]!=-1){break a}if(!e){break b}f:{g:{a=N[f+52>>2];h:{i:{if((a|0)!=275552){a=$p(a,c,N[f+216>>2]);break i}a=0;j:{switch(N[f+172>>2]){case 0:a=c>>>0<229?c:0;break h;case 1:if(c>>>0>165){break h}a=P[(c<<1)+265824>>1];break i;case 2:break j;default:break h}}if(c>>>0>86){break h}a=P[(c<<1)+266160>>1]}if(a>>>0>390){break g}}c=a<<2;a=N[c+270528>>2];c=N[c+270532>>2]+(a^-1)|0;a=a+272096|0;break f}gd(g+4|0,N[f+64>>2],a-391|0);c=N[g+8>>2];a=N[g+4>>2]}if(!c){break a}b=a;a=e-1|0;c=a>>>0>>0?a:c;fg(d,b,c)}L[c+d|0]=0}b=1}La=g+16|0;return b|0}function Lk(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=La-16|0;La=l;h=0;a:{if(b>>>0>64){break a}h=N[a+96>>2];j=N[h+64>>2];N[a+36>>2]=b-1;N[a+4>>2]=j;i=N[N[a+8>>2]+96>>2];N[a+40>>2]=N[i+68>>2];k=(j|0)==N[i+64>>2]?O[(N[i+80>>2]+T(j,20)|0)+15|0]:k;i=a+4|0;N[a+32>>2]=c;N[a+28>>2]=e;N[a+24>>2]=d;L[a+23|0]=O[a+22|0]?k:0;a=O[(N[h+80>>2]+T(j,20)|0)+14|0];N[g>>2]=j;b:{c:{d:{if(b>>>0<2){break d}e=a>>>5|0;k=0;d=1;e:{m=a&16?0:a&15;if((m|0)!=0&a>>>0>31){c=1;while(1){if(!kc(i,l+12|0)){break c}N[(c<<2)+g>>2]=N[i>>2];a=O[(N[h+80>>2]+T(N[i>>2],20)|0)+14|0];if((e|0)==(a>>>5|0)){a=((a&16?0:a&15)|0)==(m|0)}else{a=0}f:{if(a){break f}g:{switch(k|0){case 0:break g;case 1:break b;default:break f}}n=N[h+84>>2];k=n+14|0;a=N[h+72>>2];while(1){if(!a){break e}a=a-1|0;o=T(a,20);j=O[k+o|0];if((e|0)!=(j>>>5|0)){break e}if(!(j&15?j&16:1)){continue}break}k=2;if((Jk(i,n+o|0)|0)!=1){break e}}c=c+1|0;d=c>>>0>>0;if((b|0)!=(c|0)){continue}break}break d}while(1){if(!kc(i,l+12|0)){break c}N[(d<<2)+g>>2]=N[i>>2];a=O[(N[h+80>>2]+T(N[i>>2],20)|0)+14|0];if(!((e|0)==(a>>>5|0)|a>>>0<32|a&16)){if(a&15){break b}}d=d+1|0;if((d|0)!=(b|0)){continue}break}break d}h=0;if(d&1){break a}}N[f>>2]=N[i>>2]+1;h=1;break a}N[f>>2]=N[l+12>>2]}h=0}La=l+16|0;return h}function wf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-32|0;La=g;if(!(!(O[b+144|0]&64)|O[b+16|0]&16)){N[g+28>>2]=0;h=N[a+96>>2];j=N[h+28>>2];k=N[a+100>>2];l=g+28|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}l=Qa[j|0](a,k,9676,l,h)|0;if(l){h=N[g+28>>2];N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;N[b+84>>2]=N[b+80>>2];j=N[b+68>>2];a:{if(!j){break a}m=(f|0)!=-1?f:0;if((e|0)==-1){a=0;while(1){if(!O[b+60|0]){break a}f=N[b+80>>2]+T(i,20)|0;e=O[f+15|0];b:{if(!((e|0)!=(a|0)&(e&15)==(c|0))){Og(b);break b}M[g+24>>1]=0;N[g+20>>2]=0;N[g+8>>2]=h;L[g+27|0]=m;L[g+26|0]=d;N[g+16>>2]=N[f+8>>2];a=N[f+4>>2];L[g+23|0]=e;N[g+12>>2]=a;Aq(b,g+8|0);a=e}i=N[b+64>>2];if(i>>>0>2]){continue}break}break a}f=0;while(1){if(!O[b+60|0]){break a}k=N[b+80>>2]+T(i,20)|0;a=O[k+15|0];c:{if(!((a|0)==(f|0)|(a&15)!=(c|0))){M[g+24>>1]=0;N[g+20>>2]=0;N[g+8>>2]=h;L[g+27|0]=m;L[g+26|0]=d;N[g+16>>2]=N[k+8>>2];f=N[k+4>>2];L[g+23|0]=a;N[g+12>>2]=f;d:{if(i>>>0>=j>>>0){break d}while(1){if(!O[b+60|0]){break d}f=N[b+80>>2]+T(i,20)|0;if((a|0)!=O[f+15|0]|O[f+18|0]!=(e|0)){break d}Og(b);i=N[b+64>>2];if(i>>>0>2]){continue}break}}Aq(b,g+8|0);f=a;break c}Og(b)}i=N[b+64>>2];j=N[b+68>>2];if(i>>>0>>0){continue}break}}Ac(b)}i=(l|0)!=0}La=g+32|0;return i}function _u(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=N[N[N[a+4>>2]+96>>2]+28>>2];i=Kb(N[N[N[b>>2]+428>>2]+(c<<2)>>2],0);c=N[a+160>>2];e=N[c+156>>2];a:{if(!e){break a}f=N[e+4>>2];if(!(f&1)){break a}g=N[c+88>>2];if(g){e=N[N[c+4>>2]+100>>2];Qa[N[e+8>>2]](e,g);e=N[c+156>>2];f=N[e+4>>2]}N[e+4>>2]=f&-2}N[c+24>>2]=0;N[c+28>>2]=0;N[c+152>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;C(c+72|0,0,72);c=Qa[N[h+72>>2]](N[a+160>>2],N[b+44>>2],i,d|8)|0;if(!c){b=N[a+160>>2];d=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=d;d=N[b+36>>2];N[a+32>>2]=N[b+32>>2];N[a+36>>2]=d;d=N[b+44>>2];N[a+40>>2]=N[b+40>>2];N[a+44>>2]=d;d=N[b+52>>2];N[a+48>>2]=N[b+48>>2];N[a+52>>2]=d;N[a+56>>2]=N[b+56>>2];N[a+60>>2]=N[b+60>>2];N[a+72>>2]=N[b+72>>2];N[a+124>>2]=N[b+124>>2];d=N[b+120>>2];N[a+116>>2]=N[b+116>>2];N[a+120>>2]=d;d=N[b+112>>2];N[a+108>>2]=N[b+108>>2];N[a+112>>2]=d;d=N[b+96>>2];N[a+92>>2]=N[b+92>>2];N[a+96>>2]=d;d=N[b+88>>2];N[a+84>>2]=N[b+84>>2];N[a+88>>2]=d;d=N[b+80>>2];N[a+76>>2]=N[b+76>>2];N[a+80>>2]=d;N[a+100>>2]=N[b+100>>2];N[a+104>>2]=N[b+104>>2];N[a+128>>2]=N[b+128>>2];N[a+132>>2]=N[b+132>>2];N[a+136>>2]=N[b+136>>2];N[a+140>>2]=N[b+140>>2]}return c|0}function mE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=db(1,36);if(f){i=f;h=N[a+44>>2];a:{b:{if((h|0)>0){g=N[a+48>>2];c=h-1|0;a=c;c:{d:{while(1){b=a+d>>>1|0;e=N[T(b,36)+g>>2];e:{if(e>>>0>=1886545255){a=b-1|0;break e}if((e|0)==1886545254){break d}d=b+1|0}if((a|0)>=(d|0)){continue}break}a=0;break c}a=N[(T(b,36)+g|0)+28>>2]}N[f>>2]=a;d=0;a=c;f:{while(1){b=a+d>>>1|0;e=N[T(b,36)+g>>2];g:{if(e>>>0<=1651275622){d=N[(T(b,36)+g|0)+28>>2];if((e|0)==1651275622){break f}d=b+1|0;break g}a=b-1|0}if((a|0)>=(d|0)){continue}break}d=0}N[f+4>>2]=d;a=0;h:{while(1){b=a+c>>>1|0;e=N[T(b,36)+g>>2];i:{if(e>>>0<=1633842790){a=N[(T(b,36)+g|0)+28>>2];if((e|0)==1633842790){break h}a=b+1|0;break i}c=b-1|0}if((a|0)<=(c|0)){continue}break}a=0}N[f+8>>2]=a;c=0;if((h|0)<=0){break b}a=h-1|0;d=a;j:{while(1){b=c+d>>>1|0;e=N[T(b,36)+g>>2];k:{if(e>>>0<=1886614630){c=N[(T(b,36)+g|0)+28>>2];if((e|0)==1886614630){break j}c=b+1|0;break k}d=b-1|0}if((c|0)<=(d|0)){continue}break}c=0}N[f+12>>2]=c;c=0;while(1){b=a+c>>>1|0;e=N[T(b,36)+g>>2];l:{if(e>>>0<=1667654002){c=N[(T(b,36)+g|0)+28>>2];if((e|0)==1667654002){break a}c=b+1|0;break l}a=b-1|0}if((a|0)>=(c|0)){continue}break}c=0;break a}N[f+4>>2]=0;N[f+8>>2]=0}N[f+12>>2]=0;c=0}N[i+16>>2]=c}return f|0}function Gu(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0;if(!b){return 1}e=a&65535;a=a>>>16|0;if(c){while(1){i=c>>>0>=5552?5552:c;c=c-i|0;a:{if(i>>>0>=16){while(1){o=O[b|0]+e|0;p=o+O[b+1|0]|0;q=p+O[b+2|0]|0;r=q+O[b+3|0]|0;s=r+O[b+4|0]|0;t=s+O[b+5|0]|0;k=t+O[b+6|0]|0;l=k+O[b+7|0]|0;m=l+O[b+8|0]|0;n=m+O[b+9|0]|0;f=n+O[b+10|0]|0;g=f+O[b+11|0]|0;j=g+O[b+12|0]|0;h=j+O[b+13|0]|0;d=h+O[b+14|0]|0;e=d+O[b+15|0]|0;a=e+(d+(h+(j+(g+(f+(n+(m+(l+(k+(t+(s+(r+(q+(p+(a+o|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;i=i-16|0;if(i>>>0>15){continue}break}if(!i){break a}}j=i-1|0;f=i&3;b:{if(!f){h=i;d=b;break b}h=i&-4;g=0;d=b;while(1){e=O[d|0]+e|0;a=e+a|0;d=d+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}d=b+f|0}c:{if(j>>>0<3){break c}j=h-4|0;if(!(j&4)){f=O[d|0]+e|0;g=f+O[d+1|0]|0;h=g+O[d+2|0]|0;e=h+O[d+3|0]|0;a=e+(h+(g+(a+f|0)|0)|0)|0;h=j;d=d+4|0}if(j>>>0<4){break c}while(1){k=O[d|0]+e|0;l=k+O[d+1|0]|0;m=l+O[d+2|0]|0;n=m+O[d+3|0]|0;f=n+O[d+4|0]|0;g=f+O[d+5|0]|0;j=g+O[d+6|0]|0;e=j+O[d+7|0]|0;a=e+(((((m+(l+(a+k|0)|0)|0)+n|0)+f|0)+g|0)+j|0)|0;d=d+8|0;h=h-8|0;if(h){continue}break}}b=b+i|0}a=(a>>>0)%65521|0;e=(e>>>0)%65521|0;if(c){continue}break}}return a<<16|e}function ae(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}g=a-4|0;while(1){b=N[g>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1751474532,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{if(!b){break f}c=N[b>>2];if(!c){break f}if((c|0)<=0){break e}N[b>>2]=c+1}L[d+28|0]=0;N[d+36>>2]=b;e=N[b+12>>2];N[d+8>>2]=e;f=N[b+16>>2];N[d+12>>2]=e+f;if((f|0)<0){break d}N[d+32>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[d+16>>2]=c;N[d+24>>2]=0;N[d+4>>2]=0;if(!e){ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;break c}g:{h:{i:{if(f>>>0<54){break i}N[d+16>>2]=c-54;if((O[e|0]|O[e+1|0]<<8)!=256){break i}c=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if((c|0)!=-180613281){break h}if(!N[b+4>>2]){break g}N[b+4>>2]=0;break c}ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0}ab(b);b=275552}break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}c=b;b=N[a>>2];j:{if(c){if(b){break j}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<54?275552:N[b+12>>2]}function VA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;e=La-464|0;La=e;f=b+8|0;g=N[f+4>>2];N[e+16>>2]=N[f>>2];N[e+20>>2]=g;N[e+40>>2]=N[b+32>>2];f=N[b+28>>2];N[e+32>>2]=N[b+24>>2];N[e+36>>2]=f;f=N[b+20>>2];N[e+24>>2]=N[b+16>>2];N[e+28>>2]=f;f=N[b+4>>2];g=N[b>>2];N[e+16>>2]=2;N[e+8>>2]=g;N[e+12>>2]=f;a:{switch(N[b+8>>2]-7|0){case 0:case 3:N[e+16>>2]=3;break;default:break a}}Dd(a,e+452|0);b:{if(N[e+460>>2]!=3){h=162;break b}i=N[a>>2];f=N[e+452>>2]+1|0;N[a>>2]=f;j=N[a+8>>2];h=N[e+456>>2]-1|0;N[a+8>>2]=h;g=e+48|0;c:{if(f>>>0>=h>>>0){break c}f=0;while(1){Dd(a,e+440|0);g=(e+48|0)+T(f,12)|0;if(!N[e+448>>2]){break c}if(f>>>0<=31){h=N[e+444>>2];N[g>>2]=N[e+440>>2];N[g+4>>2]=h;N[g+8>>2]=N[e+448>>2]}f=f+1|0;if(Q[a>>2]>2]){continue}break}g=(e+48|0)+T(f,12)|0}N[a+8>>2]=j;N[a>>2]=i;f=g-(e+48|0)|0;if((f|0)<0){h=162;break b}f=(f>>>0)/12|0;g=N[b+24>>2];g=f>>>0>>0?f:g;d:{if(N[b+8>>2]==7){break d}b=N[b+28>>2];if(!b){break d}L[b+N[c>>2]|0]=g}e:{if(g){f=e+48|0;b=N[e+24>>2];k=O[e+28|0];while(1){N[a>>2]=N[f>>2];N[a+8>>2]=N[f+4>>2];h=Yo(a,e+8|0,c,d,e);if(h){break e}b=b+k|0;N[e+24>>2]=b;f=f+12|0;h=(g|0)>1;g=g-1|0;if(h){continue}break}}h=0}N[a+8>>2]=j;N[a>>2]=i}La=e+464|0;return h|0}function TC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=U(0),h=0,i=0,j=U(0),k=0,l=0;d=N[b+12>>2];a:{if(O[b+6|0]){if(d){a=N[d+128>>2];j=U(N[a+12>>2]);g=U(N[a+8>>2])}else{g=U(0)}g=U(U(aa(U(U(g*g)+U(j*j))))*U(152587890625e-16));break a}g=U(N[a+32>>2]>>31|1)}b:{if(P[d+68>>1]){b=N[N[d+88>>2]+20>>2];a=b>>31;e=M[d+70>>1];f=e>>31;a=(a^b)-a|0;k=a>>>8|0;f=(e^f)-f|0;c:{if(k+f>>>0<=8190){h=T(a,f)+32768>>>16|0;break c}h=T(f,a>>>16|0)+(T(f,a&65535)+32768>>>16|0)|0}f=h;i=0-f|0;f=e>>31|1;f=(((b|0)<0?0-f|0:f)|0)<0?i:h;i=M[d+72>>1];e=i>>31;e=(e^i)-e|0;d:{if(e+k>>>0<=8190){h=T(a,e)+32768>>>16|0;break d}h=T(e,a>>>16|0)+(T(e,a&65535)+32768>>>16|0)|0}e=h;l=0-e|0;e=i>>31|1;e=(((b|0)<0?0-e|0:e)|0)<0?l:h;i=M[d+74>>1];d=i>>31;d=(d^i)-d|0;e:{if(d+k>>>0<=8190){d=T(a,d)+32768>>>16|0;break e}d=T(d,a>>>16|0)+(T(d,a&65535)+32768>>>16|0)|0}a=d;h=0-a|0;a=i>>31|1;a=e+(((((b|0)<0?0-a|0:a)|0)<0?h:d)-f|0)|0;break b}a=N[d+88>>2];e=N[a+28>>2];f=N[a+24>>2];a=(e-f|0)+N[a+32>>2]|0}j=U(g*U(a|0));f:{if(U(V(j))>2]=a;j=U(g*U(e|0));g:{if(U(V(j))>2]=a;g=U(g*U(f|0));h:{if(U(V(g))>2]=a;return 1}function ag(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=N[a+28>>2];N[c>>2]=0;e=-1;d=N[a+32>>2];j=N[a+36>>2];a:{if(d>>>0>=j>>>0){break a}i=d+1|0;N[a+32>>2]=i;g=O[d|0];if(!g){break a}e=0;if(g<<24>>24<0){if(i>>>0>>0){N[a+32>>2]=d+2;d=O[d+1|0]}else{d=0}g=d|g<<8&32512}if(b>>>0>>0){break a}b=(g<<1)+2|0;i=Qa[N[f+4>>2]](f,b)|0;if(!i){break a}C(i,0,b);N[c>>2]=g;if(g){d=N[a+32>>2];k=N[a+36>>2];while(1){b:{c:{if(d>>>0>=k>>>0){c=i+(e<<1)|0;l=0;e=e+1|0;b=0;break c}f=d+1|0;N[a+32>>2]=f;j=e+1|0;c=i+(e<<1)|0;l=O[d|0];b=l<<24>>24;if((b|0)>=0){d=f;e=j;break c}b=0;e=0;if(d+2>>>0>>0){f=d+3|0;d=O[d+1|0]|O[d+2|0]<<8;e=d<<8|d>>>8}N[a+32>>2]=f;h=e+h|0;M[c>>1]=h;d=f;e=j;f=l&127;if(!f){break b}while(1){c=0;if(d+1>>>0>>0){c=O[d|0]|O[d+1|0]<<8;c=c<<8|c>>>8;d=d+2|0}N[a+32>>2]=d;h=c+h|0;M[i+(e<<1)>>1]=h;e=e+1|0;if(g>>>0<=e>>>0){break b}b=b+1|0;if(f>>>0>b>>>0){continue}break}break b}m=0;d:{if(d>>>0>=k>>>0){f=0;break d}j=d+1|0;N[a+32>>2]=j;f=O[d|0];d=j}h=(f&255)+h|0;M[c>>1]=h;c=d;if(!b){break b}while(1){b=0;if(c>>>0>>0){d=c+1|0;N[a+32>>2]=d;b=O[c|0];c=d}h=(b&255)+h|0;M[i+(e<<1)>>1]=h;e=e+1|0;if(g>>>0<=e>>>0){break b}m=m+1|0;if(m>>>0>>0){continue}break}}if(e>>>0>>0){continue}break}}e=i}return e}function Fg(a,b,c,d){var 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;if(a&4){f=d>>31;e=(f^d)-f|0;a:{b:{c:{if((c|0)==1){if(!(a&2)){break c}break b}if(a&1){break b}}d:{a=T(c,7676)+b|0;if(!N[a+52>>2]){break d}c=N[a+60>>2];a=e-c|0;b=a>>31;if((a^b)-b>>>0>39){break d}e=(c|0)<=48?48:c;break a}if(e>>>0<=53){e=(54-e>>>1&127)+e|0;break a}if(e>>>0>191){break a}b=e&63;if(b>>>0<10){break a}a=e&2147483584;if(b>>>0<=21){e=a|10;break a}e=b-42>>>0<12?a|54:e;break a}e:{f:{g:{h:{i:{j:{b=T(c,7676)+b|0;f=N[b+52>>2];if(f){k=b+56|0;if((f|0)!=1){break j}i=98;f=e;break i}b=e+32&2147483584;f=e;break g}q=f&1;l=f&-2;i=98;b=0;f=e;while(1){m=N[(T(b|1,12)+k|0)+4>>2];h=e-m|0;n=h>>31;o=N[(T(b,12)+k|0)+4>>2];g=e-o|0;j=g>>31;g=(g^j)-j|0;p=(g|0)<(i|0);h=(h^n)-n|0;g=p?g:i;j=(h|0)<(g|0);i=j?h:g;f=j?m:p?o:f;b=b+2|0;if((l|0)!=(b|0)){continue}break}if(!q){break h}}g=N[(T(l,12)+k|0)+4>>2];b=e-g|0;h=b>>31;f=((b^h)-h|0)<(i|0)?g:f}b=f+32&-64;if((e|0)<(f|0)){break f}}b=(b|48)>(e|0)?f:e;break e}b=(b-48|0)<(e|0)?f:e}if((c|0)==1){e=64;if((b|0)<64){break a}e=b+16&-64;break a}if(a&8){e=64;if((b|0)<64){break a}e=b+32&-64;break a}if((b|0)<=47){e=b- -64>>1;break a}if(b>>>0<=127){e=b+22&-64;break a}e=b+32&-64}d=(d|0)<0?0-e|0:e}return d}function lq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if((a|0)==275552){break a}b:{switch(O[a|0]){case 0:return O[(a+b|0)+1|0];case 3:c:{if(!(O[a+1|0]|O[a+2|0]<<8)){i=275552;e=0;break c}i=a+3|0;e=O[a+1|0]|O[a+2|0]<<8}g=(e<<8|(e&65280)>>>8)&65535;d:{if(g>>>0>=2){d=g-2|0;while(1){h=d+f>>>1|0;c=T(h,3)+i|0;j=O[c|0]|O[c+1|0]<<8;e:{if(((j<<8|j>>>8)&65535)>>>0<=b>>>0){f=O[c+3|0]|O[c+4|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>b>>>0){break d}f=h+1|0;break e}d=h-1|0}if((d|0)>=(f|0)){continue}break}}if(!(e&65535)){return O[275554]}c=T(g,3)+a|0}return O[c+2|0];case 4:break b;default:break a}}f:{if(!(O[a+1|0]|O[a+2|0]<<8|(O[a+3|0]<<16|O[a+4|0]<<24))){i=275552;e=0;break f}i=a+5|0;e=O[a+1|0]|O[a+2|0]<<8|(O[a+3|0]<<16|O[a+4|0]<<24)}c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);j=c-1|0;g:{if((j|0)>0){f=c-2|0;while(1){h=d+f>>>1|0;c=T(h,6)+i|0;g=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){d=O[c+6|0]|O[c+7|0]<<8|(O[c+8|0]<<16|O[c+9|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>b>>>0){break g}d=h+1|0;break h}f=h-1|0}if((d|0)<=(f|0)){continue}break}}if(!e){c=275552;break g}c=(T(j,6)+a|0)+5|0}a=O[c+4|0]|O[c+5|0]<<8;d=(a<<8|a>>>8)&65535}return d}function RE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{e=b;if(e){if(!c){break j}if(!d){break i}e=W(d)-W(e)|0;if(e>>>0<=31){break h}break b}if((d|0)==1|d>>>0>1){break b}b=(a>>>0)/(c>>>0)|0;Na=a-T(b,c)|0;Oa=0;Pa=0;return b}if(!a){break g}if(!d){break f}f=d-1|0;if(f&d){break f}Na=a;Oa=e&f;a=e>>>SE(d)|0;Pa=0;return a}f=c-1|0;if(!(f&c)){break e}j=(W(c)+33|0)-W(e)|0;h=0-j|0;break c}j=e+1|0;h=63-e|0;break c}Na=0;a=(e>>>0)/(d>>>0)|0;Oa=e-T(a,d)|0;Pa=0;return a}e=W(d)-W(e)|0;if(e>>>0<31){break d}break b}Na=a&f;Oa=0;if((c|0)==1){break a}c=SE(c);d=c&31;if((c&63)>>>0>=32){e=0;a=b>>>d|0}else{e=b>>>d|0;a=((1<>>d}Pa=e;return a}j=e+1|0;h=63-e|0}f=a;e=j&63;g=e&31;if((e&63)>>>0>=32){e=0;f=b>>>g|0}else{e=b>>>g|0;f=((1<>>g}h=h&63;g=h&31;if((h&63)>>>0>=32){i=a<>>32-g|b<>>31;f=f<<1|b>>>31;k=e;l=h-(e+(f>>>0>g>>>0)|0)|0;m=l>>31;i=m;e=f;l=c&i;f=e-l|0;e=k-((d&i)+(e>>>0>>0)|0)|0;i=b<<1|a>>>31;a=n|a<<1;b=i|o;k=m&1;n=k;j=j-1|0;if(j){continue}break}}Na=f;Oa=e;i=b<<1|a>>>31;a=k|a<<1;Pa=i|o;return a}Na=a;Oa=b;a=0;b=0}Pa=b;return a}function Az(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-128|0;La=d;f=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=0|b;hb(d+112|0,f^e^2025677871,b^c^-1602871964,0,0,e^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+80|0,(g|c)^(N[d+104>>2]^N[d+96>>2])^2025677871,b^(N[d+108>>2]^N[d+100>>2])^-1602871964,0,0,b^-1598805797,c^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805805,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+16|0,a^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+128|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function Tk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=La-16|0;La=i;e=N[b+96>>2];h=O[a+2|0]|O[a+3|0]<<8;if(h){c=((h<<8|h>>>8)&65535)+a|0}else{c=275552}g=N[e+64>>2];h=vb(c,N[N[e+80>>2]+T(g,20)>>2]);c=0;a:{if((h|0)==-1){break a}N[b+4>>2]=g;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];d=(g|0)==N[c+64>>2]?O[(N[c+80>>2]+T(g,20)|0)+15|0]:d;f=b+4|0;N[b+12>>2]=8;L[b+23|0]=O[b+22|0]?d:0;while(1){if(!he(f,i+12|0)){if(O[e+16|0]&64){wb(e,2,N[i+12>>2],N[e+64>>2]+1|0,0,1)}c=0;break a}b:{g=N[f>>2];c=N[e+80>>2]+T(g,20)|0;if(!(O[c+12|0]&64)|!g){break b}d=O[c+14|0];k=d&16?0:d&15;if(!k){break b}l=c-20|0;if((P[l+12>>1]&72)!=64){break b}j=d;d=O[l+14|0];if((j^d)>>>0>31|((d&16?1:(d&15)+1|0)|0)!=(k|0)){break b}N[b+36>>2]=N[b+36>>2]+1;c=N[b+32>>2];if(!c){continue}N[b+32>>2]=c-2;continue}break}f=O[a+4|0]|O[a+5|0]<<8;if(f){d=((f<<8|f>>>8)&65535)+a|0}else{d=275552}c=vb(d,N[c>>2]);if((c|0)==-1){c=0;if(!(O[e+16|0]&64)){break a}wb(e,2,g,N[e+64>>2]+1|0,0,1);c=0;break a}e=O[a+8|0]|O[a+9|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}f=O[a+10|0]|O[a+11|0]<<8;if(f){j=((f<<8|f>>>8)&65535)+a|0}else{j=275552}a=O[a+6|0]|O[a+7|0]<<8;c=_g(d,b,h,c,j,(a<<8|a>>>8)&65535,g)}La=i+16|0;return c}function ei(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}d=N[a+96>>2];if(!d){return 6}h=N[d+8>>2];a:{b:{i=N[d+12>>2];c=N[i+44>>2];c:{if((c|0)<=0){g=6;f=h;if(!c){break c}break b}e=Qa[N[h+4>>2]](h,c)|0;if(!e){g=64;break b}C(e,0,c);d=N[a+96>>2];f=N[d+8>>2];i=N[d+12>>2]}N[e+4>>2]=a;N[e>>2]=N[d+4>>2];g=64;d:{c=Qa[N[f+4>>2]](f,44)|0;e:{if(!c){break e}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[e+156>>2]=c;if(!(O[N[d>>2]+1|0]&2)){d=Qa[N[f+4>>2]](f,96)|0;if(!d){break e}C(d+4|0,0,92);N[d>>2]=f;N[c>>2]=d}f=N[i+64>>2];if(!f){break d}g=Qa[f|0](e)|0;if(!g){break d}}ig(e);Qa[N[h+8>>2]](h,e);return g}N[e+8>>2]=N[a+84>>2];N[a+84>>2]=e;g=0;if(!b){break a}N[b>>2]=e;break a}if(!b){break a}N[b>>2]=0;return g}return g}function Bn(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 35}c=6;a:{if(!b){break a}if(!N[a+96>>2]){return 34}N[b>>2]=0;e=N[a+100>>2];g=N[N[a+96>>2]+12>>2];d=N[g+40>>2];b:{if((d|0)<=0){if(!d){break b}break a}f=Qa[N[e+4>>2]](e,d)|0;if(!f){return 64}C(f,0,d)}c:{d:{d=Qa[N[e+4>>2]](e,12)|0;if(d){L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;N[f>>2]=a;c=Qa[N[e+4>>2]](e,36)|0;if(!c){c=64;break d}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[f+40>>2]=c;c=N[g+56>>2];if(c){c=Qa[c|0](f)|0;if(c){break d}}N[b>>2]=f;N[d+8>>2]=f;b=N[a+112>>2];N[d>>2]=b;N[d+4>>2]=0;N[(b?b+4|0:a+108|0)>>2]=d;N[a+112>>2]=d;return 0}c=64;if(!f){break a}break c}Qa[N[e+8>>2]](e,d)}a=N[f+40>>2];if(a){Qa[N[e+8>>2]](e,a)}N[f+40>>2]=0;Qa[N[e+8>>2]](e,f)}return c}function Kf(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;h=La-32|0;La=h;e=O[a+2|0]|O[a+3|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}e=N[b+96>>2];i=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];if((vb(d,i)|0)!=-1){f=275552;e=275552;d=O[a+4|0]|O[a+5|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}d=O[a+6|0]|O[a+7|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+a|0}d=275552;g=O[a+8|0]|O[a+9|0]<<8;if(g){d=((g<<8|g>>>8)&65535)+a|0}N[h+28>>2]=d;N[h+24>>2]=f;c=c?248:249;N[h+16>>2]=c;N[h+12>>2]=(d|0)!=(f|0)?249:c;N[h+20>>2]=e;N[h+8>>2]=(e|0)!=(f|0)?249:c;c=Re(f,i);f=O[a+10|0]|O[a+11|0]<<8;c=c>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((c<<1)+a|0)+12|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}f=O[c|0]|O[c+1|0]<<8;e=0;a:{if(!f){break a}n=h+8|0;f=(f<<8|f>>>8)&65535;a=c+2|0;while(1){e=O[a|0]|O[a+1|0]<<8;if(e){e=c+((e<<8|e>>>8)&65535)|0}else{e=275552}d=O[e|0]|O[e+1|0]<<8;j=(d<<8|d>>>8)&65535;k=(j<<1)+e|0;d=k+2|0;g=O[d|0]|O[d+1|0]<<8;l=(g<<8|g>>>8)&65535;d=(g?l<<1:2)+d|0;g=O[d|0]|O[d+1|0]<<8;m=(g<<8|g>>>8)&65535;g=(m<<1)+d|0;i=O[g+2|0]|O[g+3|0]<<8;e=Lf(b,j,e+2|0,l,k+4|0,m,d+2|0,(i<<8|i>>>8)&65535,g+4|0,n);if(!e){a=a+2|0;f=f-1|0;if(f){continue}}break}}f=e}La=h+32|0;return f}function cn(a){var b=0,c=0,d=0,e=0;e=N[N[a>>2]+100>>2];b=N[a+300>>2];if(b){N[b+460>>2]=0;c=N[b+8>>2];d=N[b+24>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+20>>2]=0;N[b+24>>2]=0;d=N[b+400>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+396>>2]=0;N[b+400>>2]=0;d=N[b+500>>2];if(d){Qa[N[c+8>>2]](c,d)}M[b+496>>1]=0;N[b+500>>2]=0;d=N[b+456>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+456>>2]=0;N[b+448>>2]=0;N[b+452>>2]=0;d=N[b+412>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+408>>2]=0;N[b+412>>2]=0;N[b>>2]=0;N[b+4>>2]=0;Qa[N[c+8>>2]](c,b);N[a+300>>2]=0}b=N[a+252>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+248>>2]=0;N[a+252>>2]=0;b=N[a+260>>2];if(b){Qa[N[e+8>>2]](e,b)}M[a+256>>1]=0;N[a+260>>2]=0;b=N[a+264>>2];if(b){c=N[a+292>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+292>>2]=0;c=N[a+288>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+288>>2]=0;c=N[a+280>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+280>>2]=0;c=N[a+276>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+276>>2]=0;c=N[a+284>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+284>>2]=0;b=a+264|0;N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}b=N[a+132>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+132>>2]=0;b=N[a+144>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+136>>2]=0;N[a+140>>2]=0;N[a+124>>2]=0;N[a+128>>2]=0;N[a+304>>2]=-1;N[a+308>>2]=-1;N[a+144>>2]=0;N[a+148>>2]=0;N[a+152>>2]=0}function Ty(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=La+-64|0;La=e;a:{if($b(b,584856,0)){N[c>>2]=0;f=1;break a}b:{if(O[a+8|0]&24){d=$b(a,b,1);break b}c:{if(!b){break c}g=Oc(b,584588);if(!g){break c}d=$b(a,b,(N[g+8>>2]&24)!=0)}}if(d){f=1;a=N[c>>2];if(!a){break a}N[c>>2]=N[a>>2];break a}if(!b){break a}b=Oc(b,584636);if(!b){break a}d=N[c>>2];if(d){h=N[d>>2];N[c>>2]=h}d=N[b+8>>2];g=N[a+8>>2];if(d&(g^-1)&7|g&(d^-1)&96){break a}f=1;d=N[a+12>>2];a=N[b+12>>2];if($b(d,a,0)){break a}if($b(d,584844,0)){if(!a){break a}f=!Oc(a,584688);break a}f=0;if(!d){break a}b=Oc(d,584636);if(b){if(!(g&1)){break a}d:{e:{while(1){if(!a){break e}a=Oc(a,584636);if(!a){break e}g=N[b+8>>2];if(N[a+8>>2]&(g^-1)){break e}d=N[b+12>>2];a=N[a+12>>2];b=1;if($b(d,a,0)){break d}if(!(g&1)|!d){break e}b=Oc(d,584636);if(b){continue}break}b=Oc(d,584748);if(!b){break e}f=Nn(b,a)}b=f}f=b;break a}b=Oc(d,584748);if(b){if(!(g&1)){break a}f=Nn(b,a);break a}b=Oc(d,584540);if(!b|!a){break a}a=Oc(a,584540);if(!a){break a}C(e+12|0,0,52);N[e+56>>2]=1;N[e+20>>2]=-1;N[e+16>>2]=b;N[e+8>>2]=a;Qa[N[N[a>>2]+28>>2]](a,e+8|0,h,1);a=N[e+32>>2];if(!(!N[c>>2]|(a|0)!=1)){N[c>>2]=N[e+24>>2]}f=(a|0)==1}La=e- -64|0;return f|0}function bn(a,b){var 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;g=N[a>>2];if(N[a+248>>2]){i=N[a+92>>2];d=i>>6;c=d>>31;c=(c^d)-c|0;k=c&65535;l=c>>>16|0;m=c>>>8|0;n=N[a+252>>2];o=N[g+704>>2];while(1){j=e<<2;h=N[j+o>>2];d=h>>31;d=(d^h)-d|0;a:{if(d+m>>>0<=8190){f=T(c,d)+32768>>>16|0;break a}f=d&65535;f=T(f,l)+T(c,d>>>16|0)+(T(k,f)+32768>>>16)|0}d=f;p=0-d|0;d=h>>31|1;N[n+j>>2]=(((i|0)<0?0-d|0:d)|0)<0?p:f;e=e+1|0;if(e>>>0>2]){continue}break}}c=N[a+300>>2];e=Uh(c,g,a);if(!e){L[c+593|0]=b;L[c+520|0]=0;N[c+16>>2]=0;N[c+448>>2]=0;d=N[g+696>>2];b=N[g+692>>2];N[c+480>>2]=0;N[c+484>>2]=0;N[c+476>>2]=b;N[c+472>>2]=d;e=0;if(b){N[c+372>>2]=b;N[c+364>>2]=d;N[c+368>>2]=0;N[c+360>>2]=2;e=Qa[N[g+708>>2]](c)|0}N[a+308>>2]=e;M[c+304>>1]=0;M[c+296>>1]=0;M[c+298>>1]=16384;M[c+300>>1]=0;M[c+302>>1]=16384;N[c+288>>2]=0;N[c+292>>2]=1073741824;M[c+352>>1]=1;N[c+348>>2]=65537;N[c+308>>2]=1;F(a+180|0,c+288|0,68);N[a+124>>2]=N[c+416>>2];N[a+136>>2]=N[c+428>>2];N[a+148>>2]=N[c+440>>2];N[a+152>>2]=N[c+444>>2];b=N[c+468>>2];N[a+156>>2]=N[c+464>>2];N[a+160>>2]=b;b=N[c+476>>2];N[a+164>>2]=N[c+472>>2];N[a+168>>2]=b;b=N[c+484>>2];N[a+172>>2]=N[c+480>>2];N[a+176>>2]=b}return e}function ed(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,o=0;g=La-16|0;La=g;j=N[a+4>>2];a:{while(1){b:{c:{d:{i=(k<<3)+b|0;if(!N[i>>2]){ld(j);if(N[j+12>>2]>1){break a}e=N[j>>2];f=e-1|0;l=N[j+8>>2];while(1){if(e>>>0>=l>>>0){d=e;break d}d=e+1|0;N[j>>2]=d;m=O[e|0];h=2;e=d;switch(m-10|0){case 0:case 3:break c;case 16:break d;default:continue}}}f=hf(j);N[g+8>>2]=f;if(!f){break a}d=N[j>>2];break b}h=3}N[j+12>>2]=h;N[g+8>>2]=f}h=d-f|0;e=h-1|0;e:{f:{g:{switch(N[i>>2]){case 0:case 1:h:{if((h|0)>0){d=N[a>>2];d=Qa[N[d+4>>2]](d,h)|0;if(d){break h}break f}if((d|0)!=(f|0)){break f}d=0}N[i+4>>2]=d;F(d,f,e);L[e+N[i+4>>2]|0]=0;break e;case 2:n=i,o=Qc(g+8|0,e+f|0,0),N[n+4>>2]=o;break e;case 3:N[g+12>>2]=f;l=e+f|0;h=fd(g+12|0,l,10);d=0;e=N[g+12>>2];i:{if((f|0)==(e|0)){break i}if(!(O[e|0]!=35|e>>>0>=l>>>0)){f=e+1|0;N[g+12>>2]=f;h=fd(g+12|0,l,h);e=N[g+12>>2];if((f|0)==(e|0)){break i}}N[g+8>>2]=e;d=h}N[i+4>>2]=d;break e;case 4:if((e|0)==4){d=bb(f,15452,4)}else{d=1}L[i+4|0]=!d;break e;case 5:break g;default:break e}}d=N[a+12>>2];if(!d){break f}n=i,o=Qa[d|0](f,e,N[a+16>>2])|0,N[n+4>>2]=o;break e}N[i+4>>2]=0}k=k+1|0;if((k|0)!=(c|0)){continue}break}k=c}La=g+16|0;return k}function Nm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=N[a+532>>2];if(!d){return 6}m=-1;k=N[d>>2];a:{if(!k){break a}i=N[d+136>>2];h=N[d+4>>2];b:{if(h){o=b>>>0>h>>>0?h:b;d=h;while(1){g=65536;e=0;c:{if(!d){break c}while(1){d:{if(e>>>0>=o>>>0){g=g>>1;break d}f=N[(e<<2)+c>>2];f=l>>>e&1?f:65536-f|0;if((f|0)<=0){g=0;e=d;break c}if(f>>>0>65535){break d}d=g>>31;d=(d^g)-d|0;e:{if(d+(f>>>8|0)>>>0<=8190){d=T(d,f)+32768>>>16|0;break e}n=d&65535;d=T(n,f>>>16|0)+T(f,d>>>16|0)+(T(f&65535,n)+32768>>>16)|0}g=(g|0)<0?0-d|0:d}d=h;e=e+1|0;if(d>>>0>e>>>0){continue}break}e=h}d=e;e=(l<<2)+i|0;if(N[e>>2]!=(g|0)){N[e>>2]=g;j=1}l=l+1|0;if((l|0)!=(k|0)){continue}break}break b}d=k&3;h=0;if(k>>>0>=4){g=k&-4;while(1){c=e<<2;f=c+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}f=(c|4)+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}f=(c|8)+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}c=(c|12)+i|0;if(N[c>>2]!=65536){N[c>>2]=65536;j=1}e=e+4|0;if((g|0)!=(e|0)){continue}break}}if(!d){break b}while(1){c=(e<<2)+i|0;if(N[c>>2]!=65536){N[c>>2]=65536;j=1}e=e+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(!j){break a}m=0;N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return m|0}function Ii(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0;f=La-48|0;La=f;q=N[b+12>>2];m=N[b+4>>2];k=q-m|0;v=k>>31;r=N[b+20>>2];g=r-m|0;n=g>>31;c=UE(k,v,g,n);d=Pa;s=N[b+8>>2];o=N[b>>2];t=s-o|0;u=N[b+16>>2];e=u-o|0;j=e;w=t>>31;p=e>>31;h=UE(t,w,e,p);c=h+c|0;d=Pa+d|0;d=c>>>0>>0?d+1|0:d;a:{b:{h=N[a>>2];e=e>>31;e=(j^e)-e|0;i=g>>31;i=(i^g)-i|0;e=UE(h,h>>31,e>>>0>i>>>0?e:i,0);i=Pa;h=0-(i+((e|0)!=0)|0)|0;if(0-e>>>0>c>>>0&(h|0)>=(d|0)|(d|0)<(h|0)){break b}h=c;c=d;d=UE(g,n,g,n);y=Pa;x=UE(j,p,j,p);l=x+d|0;d=Pa+y|0;d=i+(l>>>0>>0?d+1|0:d)|0;l=e+l|0;d=l>>>0>>0?d+1|0:d;if(h>>>0>l>>>0&(c|0)>=(d|0)|(c|0)>(d|0)){break b}c=UE(j,p,k,v);d=Pa;g=UE(g,n,t,w);j=c-g|0;c=d-(Pa+(c>>>0>>0)|0)|0;k=c;d=c>>31;c=d;g=c^j;d=e>>>0>>0;c=(c^k)-((c>>>0>g>>>0)+c|0)|0;if(d&(i|0)<=(c|0)|(c|0)>(i|0)){break b}b=Gi(a,o,m,u,r);break a}c=q+r|0;N[f+28>>2]=c>>1;d=c;c=m+q|0;N[f+20>>2]=(d+c|0)+2>>2;d=s+u|0;N[f+24>>2]=d>>1;N[f+12>>2]=c>>1;c=o+s|0;N[f+8>>2]=c>>1;N[f+16>>2]=(c+d|0)+2>>2;c=N[b+4>>2];N[f>>2]=N[b>>2];N[f+4>>2]=c;c=N[b+20>>2];N[f+32>>2]=N[b+16>>2];N[f+36>>2]=c;b=0;if(!Ii(a,f)){break a}b=Ii(a,f+16|0)}La=f+48|0;return b}function wg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=La-32|0;La=i;g=N[b+12>>2];h=N[b+8>>2];l=g-h|0;m=l>>3;j=m&1;if(!(O[e|0]|(O[a+8|0]|!j))){a:{if((g|0)==(h|0)){g=0;k=N[b+4>>2];if(!k|N[k>>2]){break a}N[k>>2]=130;break a}b:{switch(N[h+4>>2]-1|0){case 1:g=N[h>>2]<<16;break a;case 0:g=N[h>>2];g=((g>>31)+g|0)- -8192>>14;break a;default:break b}}g=N[h>>2]}N[d>>2]=(N[N[N[a+176>>2]+536>>2]+544>>2]<<16)+g}if(!O[N[a+176>>2]+548|0]){if(l>>>0>=9){while(1){d=N[b+8>>2];g=N[b+12>>2]-d>>3;c:{if(g>>>0<=j>>>0){a=0;h=N[b+4>>2];if(!h|N[h>>2]){break c}N[h>>2]=130;break c}d:{e:{f:{a=d+(j<<3)|0;switch(N[a+4>>2]-1|0){case 0:break e;case 1:break f;default:break d}}a=N[a>>2]<<16;break c}a=N[a>>2];a=((a>>31)+a|0)- -8192>>14;break c}a=N[a>>2]}f=a+f|0;N[i+16>>2]=f;a=j+1|0;g:{if(a>>>0>=g>>>0){a=0;d=N[b+4>>2];if(!d|N[d>>2]){break g}N[d>>2]=130;break g}h:{i:{j:{a=d+(a<<3)|0;switch(N[a+4>>2]-1|0){case 0:break i;case 1:break j;default:break h}}a=N[a>>2]<<16;break g}a=N[a>>2];a=((a>>31)+a|0)- -8192>>14;break g}a=N[a>>2]}N[i+24>>2]=0;N[i+28>>2]=0;L[i+12|0]=0;f=a+f|0;N[i+20>>2]=f;Oo(c,i+12|0);j=j+2|0;if(m>>>0>j>>>0){continue}break}h=N[b+8>>2]}N[b+12>>2]=h}L[e|0]=1;La=i+32|0}function _c(a,b){var c=0,d=0,e=0,f=0;c=N[a+20>>2];if(!(O[a+13|0]?c:0)){d=N[a+16>>2];a=d>>31;c=b>>31;c=(c^b)-c|0;a=(a^d)-a|0;a:{if(c+(a>>>8|0)>>>0<=8190){c=T(a,c)+32768>>>16|0;break a}e=c&65535;c=T(e,a>>>16|0)+T(a,c>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=c;e=0-a|0;a=b>>31|1;return(((d|0)<0?0-a|0:a)|0)<0?e:c}d=N[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){b:{c=d;if((e|0)==(c|0)){c=e;break b}d=c+1|0;if(N[(T(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}c:{d:{if(c){while(1){d=N[(T(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break d}c=c-1|0;if(c){continue}break}}c=0;N[a+24>>2]=0;d=N[a+36>>2];if((d|0)<=(b|0)){break c}f=N[a+40>>2];c=b-d|0;b=c>>31;d=N[a+16>>2];a=d>>31;b=(b^c)-b|0;a=(a^d)-a|0;e:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break e}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=c>>31|1;return f+((((d|0)<0?0-a|0:a)|0)<0?e:b)|0}N[a+24>>2]=c}a=T(c,20)+a|0;f=N[a+40>>2];d=b-d|0;b=d>>31;c=N[a+44>>2];a=c>>31;b=(b^d)-b|0;a=(a^c)-a|0;f:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break f}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=d>>31|1;return f+((((c|0)<0?0-a|0:a)|0)<0?e:b)|0}function dg(a){var 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;a:{if(!a){break a}b=P[a+2>>1];c=b<<16>>16;if((c|0)<=0){break a}g=2;if((c|0)==1){break a}j=N[a+4>>2];k=j+(b<<3)|0;b=j+8|0;h=N[j>>2];d=h;e=j;f=N[e+4>>2];c=f;while(1){i=N[e+12>>2];c=(c|0)<(i|0)?i:c;f=(f|0)>(i|0)?i:f;e=N[e+8>>2];d=(e|0)>(d|0)?e:d;h=(e|0)<(h|0)?e:h;e=b;b=b+8|0;if(k>>>0>b>>>0){continue}break}if((d|0)==(h|0)|(c|0)==(f|0)|((c|0)>16777216|(d|0)>16777216)){break a}if((h|0)<-16777216|(f|0)<-16777216){break a}n=M[a>>1];if((n|0)>0){e=0;b=d>>31;d=(b^d)-b|0;b=h>>31;b=17-W(d|(b^h)-b)|0;i=(b|0)>0?b:0;b=17-W(c-f|0)|0;k=(b|0)>0?b:0;q=N[a+12>>2];b=0;while(1){g=M[(m<<1)+q>>1];b:{if((g|0)<(b|0)){b=g+1|0;break b}a=(g<<3)+j|0;c=N[a>>2]>>i;a=N[a+4>>2]>>k;h=g+1|0;c:{if(!(h-b&1)){f=a;a=b;break c}d=c;c=(b<<3)+j|0;f=N[c+4>>2]>>k;c=N[c>>2]>>i;e=T(f-a|0,d+c|0)+e|0;a=b+1|0}if((b|0)!=(g|0)){while(1){o=a+1|0;d=(o<<3)+j|0;b=N[d+4>>2]>>k;l=(a<<3)+j|0;p=N[l+4>>2]>>k;d=N[d>>2]>>i;l=N[l>>2]>>i;e=T(b-p|0,d+l|0)+(T(c+l|0,p-f|0)+e|0)|0;a=a+2|0;c=d;f=b;if((g|0)!=(o|0)){continue}break}}b=h}m=m+1|0;if((n|0)!=(m|0)){continue}break}g=1;if((e|0)>0){break a}g=0;if(e){break a}}g=2}return g}function Bh(a,b,c,d){var e=0,f=0,g=0,h=0;e=N[a+8264>>2];a:{if(e>>>0>b>>>0){f=N[a+68>>2];h=N[a>>2];g=N[h+20>>2];b:{if(g){e=0;if(!(Qa[g|0](h,f,0,0)|0)){break b}break a}e=0;if(f>>>0>Q[h+4>>2]){break a}}g=a+8264|0;N[h+8>>2]=f;e=N[a+40>>2];c:{if(!e){break c}N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[e>>2]=N[e+12>>2]?7:0;f=N[e+20>>2];e=N[f>>2];if((e&-2)==4){Qa[N[a+48>>2]](N[a+52>>2],N[f+12>>2]);e=N[f>>2]}if((e|0)==6){Qa[N[a+48>>2]](N[a+52>>2],N[f+4>>2])}N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;e=N[f+40>>2];N[f+52>>2]=e;N[f+48>>2]=e;e=N[f+56>>2];if(!e){break c}e=Qa[e|0](0,0,0)|0;N[f+60>>2]=e;N[a+60>>2]=e}N[a+8272>>2]=g;N[a+8268>>2]=g;N[a+8264>>2]=0;N[a+28>>2]=0;N[a+12>>2]=a+72;N[a+16>>2]=0;N[a+24>>2]=a+4168;e=0}d:{if(b>>>0>e>>>0){b=b-e|0;e:{while(1){f=N[a+8268>>2];e=N[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;N[a+8268>>2]=e+f;N[a+8264>>2]=e+N[a+8264>>2];b=b-e|0;if(!b){break e}if(!lm(a)){continue}break}return 0}if(d){break d}return 0}if(d){break d}return 0}e=0;while(1){f=N[a+8268>>2];b=N[a+8272>>2]-f|0;b=b>>>0>>0?b:d;F(c,f,b);N[a+8268>>2]=b+N[a+8268>>2];N[a+8264>>2]=b+N[a+8264>>2];e=b+e|0;d=d-b|0;if(!d){break a}c=b+c|0;if(!lm(a)){continue}break}}return e}function ih(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}c=c-a|0;if(c>>>0<4){break a}d=N[b+12>>2];e=d-4|0;N[b+12>>2]=e;if((O[a|0]|O[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<12){break a}c=d-16|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a+6|0]|O[a+7|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<8){break a}d=0;f=La-16|0;La=f;h=N[b+4>>2];e=a+10|0;b:{if(h>>>0>e>>>0){break b}g=N[b+8>>2];if(e>>>0>g>>>0|g-e>>>0<2){break b}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;d=1;if((c|0)<=0){d=0;break b}c=O[e|0]|O[e+1|0]<<8;if(!c){break b}c=((c<<8|c>>>8)&65535)+a|0;c:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break c}d=i-10|0;N[b+12>>2]=d;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<=0){break c}if(!hh(c+2|0,b,c)){break c}N[f+12>>2]=c;d=1;if(gh(c+6|0,b,f+12|0)){break b}}c=N[b+28>>2];if(c>>>0>31){d=0;break b}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;d=1}La=f+16|0;if(!d){break a}c=O[a+6|0]|O[a+7|0]<<8;d=(c<<8|c>>>8)&65535;c=O[a+8|0]|O[a+9|0]<<8;c=T(d,(c<<8|c>>>8)&65535);if(!c){return 1}a=a+12|0;if(a>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|c>>>0>d-a>>>0){break a}a=N[b+12>>2]-c|0;N[b+12>>2]=a;j=(a|0)>0}return j}function Nl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=O[b+3|0];h=d|(O[b+1|0]<<16|O[b|0]<<24|O[b+2|0]<<8);if(h){g=d&3;e=b+7|0;a:{if(h>>>0<4){d=e;break a}i=h-g|0;while(1){f=(O[e+12|0]+(O[e+8|0]+(O[e+4|0]+(O[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;j=j+4|0;if((i|0)!=(j|0)){continue}break}}if(g){while(1){f=(O[d|0]+f|0)+1|0;d=d+4|0;k=k+1|0;if((g|0)!=(k|0)){continue}break}}d=f+1|0}else{d=1}g=N[a+28>>2];b:{c:{if(d>>>0<=g>>>0){c=N[a+32>>2];break c}N[a+36>>2]=c;f=0;if((d|g)<0|(d|0)>536870911){break b}d:{if(!g){c=Qa[N[c+4>>2]](c,d<<2)|0;e=!c<<6;break d}i=N[a+32>>2];e=Qa[N[c+12>>2]](c,g<<2,d<<2,i)|0;c=e?e:i;e=!e<<6}e:{if(!(e|(d|0)<=(g|0)|!c)){C((g<<2)+c|0,0,d-g<<2);N[a+32>>2]=c;break e}N[a+32>>2]=c;if(e){break b}}N[a+28>>2]=d}d=c;if(h){while(1){e=O[b+6|0]|(O[b+5|0]<<8|O[b+4|0]<<16);a=O[b+7|0];f=a+1|0;g=f&7;if(g){i=a+1|0;f=0;while(1){N[d>>2]=e;d=d+4|0;e=e+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}f=i-g|0}if(a>>>0>=7){while(1){N[d>>2]=e;N[d+28>>2]=e+7;N[d+24>>2]=e+6;N[d+20>>2]=e+5;N[d+16>>2]=e+4;N[d+12>>2]=e+3;N[d+8>>2]=e+2;N[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}b=b+4|0;h=h-1|0;if(h){continue}break}}N[d>>2]=0;f=c}return f}function ck(a,b,c,d,e,f){var g=0;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;g=Q[a+16>>2]<4?275552:N[a+12>>2]}a=275552;c:{if((O[g|0]|O[g+1|0]<<8)!=256){break c}b=O[g+4|0]|O[g+5|0]<<8;a=275552;if(!b){break c}a=((b<<8|b>>>8)&65535)+g|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){b=(a+T(c,6)|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}d:{if((d|0)==65535){b=O[a|0]|O[a+1|0]<<8;c=238128;if(!b){break d}c=a+((b<<8|b>>>8)&65535)|0;break d}b=O[a+2|0]|O[a+3|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=d>>>0?275552:(a+T(d,6)|0)+4|0;b=O[b+4|0]|O[b+5|0]<<8;c=238128;if(!b){break d}c=a+((b<<8|b>>>8)&65535)|0}a=O[c+2|0]|O[c+3|0]<<8;c=a<<8|a>>>8;d=c&65535;if(e){N[e>>2]=d}if(f){if((a|0)==65535){a=0}else{a=275552;e:{if((O[g|0]|O[g+1|0]<<8)!=256){break e}b=O[g+6|0]|O[g+7|0]<<8;a=275552;if(!b){break e}a=((b<<8|b>>>8)&65535)+g|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>(c&65535)>>>0){a=(a+T(d,6)|0)+2|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}N[f>>2]=a}}function ls(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{d=a+8208|0;if(d>>>0<=Q[b+160>>2]){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>N[b+160>>2]-a>>>0|c>>>0<=8207){break a}c=O[a+8204|0]|O[a+8205|0]<<8|(O[a+8206|0]<<16|O[a+8207|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(f>>>0>(N[b+160>>2]-d>>>0)/12>>>0){break a}if(f){g=a+12|0;c=0;while(1){e=c;j=O[d+1|0]<<16|O[d|0]<<24;a=j|(O[d+3|0]|O[d+2|0]<<8);k=O[d+5|0]<<16|O[d+4|0]<<24;c=k|(O[d+7|0]|O[d+6|0]<<8);if(a>>>0>c>>>0|(a>>>0<=e>>>0?h:0)){break a}e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);c:{if(!N[b+164>>2]){break c}l=N[b+172>>2];i=c-a|0;if(l>>>0>>0|l-i>>>0<=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0){break b}e=i+1|0;if(j){if(!e){break c}while(1){if(!(O[(a>>>19|0)+g|0]<<(a>>>16&7)&128)|!(O[(a>>>3&8191)+g|0]<<(a&7)&128)){break a}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(k){break a}if(!e){break c}while(1){if(O[(a>>>3&8191)+g|0]<<(a&7)&128){break a}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,8);B()}function Jp(a,b,c,d){var e=0,f=0,g=0,h=0,i=U(0),j=0;e=O[a|0]|O[a+1|0]<<8;g=(e<<8|e>>>8)&65535;a:{if(g>>>0<=1){if(!e){break a}e=b;b=a+2|0;a=b+(c<<1)|0;a=O[a|0]|O[a+1|0]<<8;c=e-((a<<8|a>>>8)<<16>>16)|0;a=b+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return c+((a<<8|a>>>8)<<16>>16)|0}f=a+2|0;e=f+(c<<1)|0;e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16;if((e|0)>=(b|0)){a=f+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)<<16>>16)+(b-e|0)|0}f=1;h=c<<1;e=g-1|0;b:{if(e>>>0<2){break b}j=a+h|0;while(1){g=j+(f<<2)|0;g=O[g+2|0]|O[g+3|0]<<8;if((g<<8|g>>>8)<<16>>16>=(b|0)){break b}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e}e=(f<<2)+a|0;g=e+2|0;a=g+h|0;a=O[a|0]|O[a+1|0]<<8;f=(a<<8|a>>>8)<<16>>16;if((f|0)<=(b|0)){a=g+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)<<16>>16)+(b-f|0)|0}h=a;e=e-2|0;a=e+(c<<1)|0;a=O[a|0]|O[a+1|0]<<8;if((h|0)==(a|0)){a=e+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}c=(a<<8|a>>>8)<<16>>16;i=U(b-c|0);b=d<<1;a=b+g|0;a=O[a|0]|O[a+1|0]<<8;d=(a<<8|a>>>8)<<16>>16;a=b+e|0;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;i=U(Z(U(U(U(U(i*U(d-a|0))/U(f-c|0))+U(a|0))+U(.5))));if(U(V(i))>2];b=N[N[c+96>>2]+4>>2];c:{if(!b){break c}d=N[b+16>>2];if((d|0)<=0){break c}c=N[N[c+712>>2]+3080>>2];e=b+20|0;b=e+(d<<2)|0;while(1){d=N[e>>2];if(cb(N[N[d>>2]+8>>2],11971)){e=e+4|0;if(b>>>0>e>>>0){continue}break c}break}if(!c){break c}b=N[c>>2];if(b){break b}}e=0;break a}g=Qa[b|0](d)|0;if(!g){e=0;break a}b=N[a>>2];f=N[b+712>>2];c=N[b+100>>2];d=Qa[N[c+4>>2]](c,1028)|0;if(!d){e=64;break a}C(d,0,1028);b=h+12|0;Dm(f+1372|0,b);d:{e=Qa[N[g>>2]](N[N[a>>2]+100>>2],b,d)|0;if(!e){b=N[f+2024>>2];while(1){if(!b){break d}b=b-1|0;e=b<<2;i=h+12|0;Dm(N[(e+f|0)+2028>>2],i);e=Qa[N[g>>2]](N[N[a>>2]+100>>2],i,(d+e|0)+4|0)|0;if(!e){continue}break}}a=N[f+2024>>2];e:{if(!a){break e}b=a;if(b&1){b=a-1|0;f=d+(b<<2)|0;g=N[f+4>>2];if(g){Qa[N[c+8>>2]](c,g)}N[f+4>>2]=0}if((a|0)==1){break e}while(1){a=d+(b<<2)|0;f=N[a>>2];if(f){Qa[N[c+8>>2]](c,f)}N[a>>2]=0;b=b-2|0;a=d+(b<<2)|0;f=N[a+4>>2];if(f){Qa[N[c+8>>2]](c,f)}N[a+4>>2]=0;if(b){continue}break}}a=N[d>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d>>2]=0;Qa[N[c+8>>2]](c,d);break a}N[N[a+40>>2]>>2]=d;N[a+44>>2]=-1;e=0}La=h+208|0;return e|0}function YA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;Tb(a,N[a+8>>2]);g=N[a+8>>2];d=N[a>>2];N[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}b:{c:{d:{e:{f:{e=O[d|0];if((e|0)==91){i=93}else{if((e|0)!=123){break f}i=125}d=d+1|0;N[f+12>>2]=d;if(c){break e}if(d>>>0>=g>>>0){break a}while(1){Tb(f+12|0,g);e=N[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(O[e|0]==(i|0)){break b}Qc(f+12|0,g,0);d=N[f+12>>2];if((d|0)==(e|0)){break d}h=h+1|0;if(d>>>0>>0){continue}break}break a}Tb(f+12|0,g);e=N[f+12>>2];if(!c){break c}if(e>>>0>=g>>>0){d=e;break a}if(!O[e|0]){break b}if((b|0)<=0){d=e;break a}j=c,k=Qc(f+12|0,g,0)>>>16|0,M[j>>1]=k;d=N[f+12>>2];h=(d|0)==(e|0)?-1:1;break a}if(d>>>0>=g>>>0){break a}b=(b|0)>0?b:0;while(1){Tb(f+12|0,g);e=N[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(O[e|0]==(i|0)){break b}if((b|0)==(h|0)){d=e;h=b;break a}j=(h<<1)+c|0,k=Qc(f+12|0,g,0)>>>16|0,M[j>>1]=k;d=N[f+12>>2];if((d|0)==(e|0)){break d}h=h+1|0;if(d>>>0>>0){continue}break}break a}h=-1;d=e;break a}if(e>>>0>=g>>>0){d=e;break a}if(!O[e|0]){break b}Qc(f+12|0,g,0);d=N[f+12>>2];h=(d|0)==(e|0)?-1:1;break a}d=e+1|0}N[a>>2]=d;La=f+16|0;return h|0}function Wi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{g=N[b+4>>2];if(g>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}e=N[b+12>>2];d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[a|0]|O[a+1|0]<<8;j=d<<8|d>>>8;if((j&65535)-3>>>0<4294967294|c>>>0<8){break a}c=e-12|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=a+8|0;e=O[a+6|0]|O[a+7|0]<<8;b:{if(e){e=(e<<8|e>>>8)&65535;l=e>>>0<=1?1:e;while(1){if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<2){break b}e=c-2|0;N[b+12>>2]=e;if((c|0)<3){break b}c=O[d|0]|O[d+1|0]<<8;h=((c<<8|c>>>8)&65535)<<2;c:{if(!c){c=e;break c}c=d+2|0;if(c>>>0>f>>>0|f-c>>>0>>0){break b}c=e-h|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=(h|2)+d|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}i=1;if((j&65535)>>>0<2){break b}if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<4){break a}N[b+12>>2]=c-4;if((c|0)<5){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d:{if(!c){break d}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break d}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;i=0;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}i=Gf(d+4|0,b,a)}return i}return 0}function gg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-16|0;La=h;N[h>>2]=a;g=N[c+20>>2];e=g+((Qa[N[c+12>>2]](h)>>>0)%Q[c+4>>2]<<2)|0;f=N[e>>2];a:{if(!f){break a}while(1){if(Qa[N[c+16>>2]](f,h)|0){break a}e=e-4|0;if(g>>>0>e>>>0){e=(g+(N[c+4>>2]<<2)|0)-4|0}f=N[e>>2];if(f){continue}break}}b:{c:{d:{g=N[e>>2];e:{if(!g){f=64;g=Qa[N[d+4>>2]](d,8)|0;if(!g){break b}N[e>>2]=g;N[g+4>>2]=b;N[g>>2]=a;f:{if(Q[c+8>>2]>2]){break f}i=N[c+4>>2];a=i<<1;N[c+4>>2]=a;N[c>>2]=(a>>>0)/3;f=0;if((a|0)<0){f=6;break c}g=N[c+20>>2];if(a){f=10;if(a>>>0>536870911){break c}a=i<<3;f=Qa[N[d+4>>2]](d,a)|0;if(!f){break d}C(f,0,a)}N[c+20>>2]=f;if(i){b=0;a=g;while(1){e=N[a>>2];if(e){N[h+8>>2]=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=N[c+20>>2];e=f+((Qa[N[c+12>>2]](h+8|0)>>>0)%Q[c+4>>2]<<2)|0;while(1){g:{j=N[e>>2];if(!j){break g}if(Qa[N[c+16>>2]](j,h+8|0)|0){break g}e=e-4|0;if(f>>>0<=e>>>0){continue}e=(f+(N[c+4>>2]<<2)|0)-4|0;continue}break}N[e>>2]=N[a>>2]}a=a+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(!g){break f}Qa[N[d+8>>2]](d,g)}N[c+8>>2]=N[c+8>>2]+1;break e}N[g+4>>2]=b}f=0;break b}N[c+20>>2]=0;f=64;break b}N[c+20>>2]=0}La=h+16|0;return f}function Zg(a,b,c,d){var e=0,f=0,g=U(0),h=0,i=0;a:{b:{c:{e=O[a+4|0]|O[a+5|0]<<8;e=e<<8|e>>>8;f=e&65535;if(f-1>>>0>=3){if((f|0)!=32768){break a}e=O[c+6|0]|O[c+7|0]<<8;f=(e<<8|e>>>8)&65535;e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0>a>>>0){break c}g=U(0);break b}c=N[b+72>>2];if(!c){break a}d=O[a|0]|O[a+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>c>>>0){break a}f=O[a+2|0]|O[a+3|0]<<8;if(c>>>0>((f<<8|f>>>8)&65535)>>>0){break a}f=a;d=c-d|0;a=e&65535;e=4-a|0;f=f+(d>>>e<<1)|0;f=O[f+6|0]|O[f+7|0]<<8;f=((f<<8|f>>>8)&65535)>>>((d^-1|-1<>>(-1<>>0>=d>>>1>>>0?d:0;if((a|0)==(d|0)){break a}b=N[b+28>>2];a=a-d|0;return VE(UE(b,b>>31,a,a>>31),Pa,c,0)}a=(a<<2)+c|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}f=e>>>8&65280|e>>>24;h=N[b+88>>2];i=N[b+84>>2];e=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}g=Fc(a,f,h,i,c,d)}g=U(Z(U(U(g*R[b+44>>2])+U(.5))));if(U(V(g))>>8;f=e&65535;if(f-1>>>0>=3){if((f|0)!=32768){break a}e=O[c+6|0]|O[c+7|0]<<8;f=(e<<8|e>>>8)&65535;e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0>a>>>0){break c}g=U(0);break b}c=N[b+76>>2];if(!c){break a}d=O[a|0]|O[a+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>c>>>0){break a}f=O[a+2|0]|O[a+3|0]<<8;if(c>>>0>((f<<8|f>>>8)&65535)>>>0){break a}f=a;d=c-d|0;a=e&65535;e=4-a|0;f=f+(d>>>e<<1)|0;f=O[f+6|0]|O[f+7|0]<<8;f=((f<<8|f>>>8)&65535)>>>((d^-1|-1<>>(-1<>>0>=d>>>1>>>0?d:0;if((a|0)==(d|0)){break a}b=N[b+32>>2];a=a-d|0;return VE(UE(b,b>>31,a,a>>31),Pa,c,0)}a=(a<<2)+c|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}f=e>>>8&65280|e>>>24;h=N[b+88>>2];i=N[b+84>>2];e=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}g=Fc(a,f,h,i,c,d)}g=U(Z(U(U(g*R[b+48>>2])+U(.5))));if(U(V(g))>2]=0;d=N[a+32>>2];if(!d){N[a+40>>2]=0;N[a+32>>2]=160;d=160}if(!N[a+36>>2]){N[a+36>>2]=161}c=Qa[d|0](N[a+40>>2],1,24)|0;N[a+28>>2]=c;d=-4;if(!c){break a}N[c+20>>2]=0;N[c+12>>2]=b>>>31;d=b>>31;e=(d^b)-d|0;if(e>>>0<=7){Vf(a);return-2}N[c+16>>2]=e;b:{c=Qa[N[a+32>>2]](N[a+40>>2],1,64)|0;if(c){f=Qa[N[a+32>>2]](N[a+40>>2],8,1440)|0;N[c+36>>2]=f;d=N[a+40>>2];if(f){e=1<>2]](d,1,e)|0;N[c+40>>2]=d;if(d){break b}Qa[N[a+36>>2]](N[a+40>>2],N[c+36>>2]);d=N[a+40>>2]}Qa[N[a+36>>2]](d,c)}N[N[a+28>>2]+20>>2]=0;Vf(a);return-4}b=(b|0)>=0;f=b?162:0;N[c+56>>2]=f;N[c+52>>2]=d;N[c+28>>2]=0;N[c+32>>2]=0;N[c>>2]=0;N[c+48>>2]=d;N[c+44>>2]=d+e;d=0;if(b){b=Qa[f|0](0,0,0)|0;N[c+60>>2]=b;N[a+48>>2]=b;d=N[c>>2]}b=N[a+28>>2];N[b+20>>2]=c;N[a+8>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[b>>2]=N[b+12>>2]?7:0;if((d&-2)==4){Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);d=N[c>>2]}if((d|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[c+4>>2])}N[c+28>>2]=0;N[c+32>>2]=0;N[c>>2]=0;b=N[c+40>>2];N[c+52>>2]=b;N[c+48>>2]=b;b=N[c+56>>2];d=0;if(!b){break a}b=Qa[b|0](0,0,0)|0;N[c+60>>2]=b;N[a+48>>2]=b;d=0}return d}function uf(a,b){var c=0,d=0,e=0;a:{b:{c:{switch(a-247|0){default:if((a|0)!=28){break b}a=N[b+8>>2];c=N[b+4>>2];d:{if(a>>>0>=c>>>0){a=c+1|0;N[b+8>>2]=a;e=275552;break d}e=N[b>>2]+a|0}e=O[e|0]<<8;d=a+1|0;e:{if(d>>>0>=c>>>0){a=c+1|0;c=275552;break e}c=d+N[b>>2]|0}d=b+16|0;e=e|O[c|0];c=N[b+20>>2];f:{if(c>>>0<=512){N[b+20>>2]=c+1;c=(d+(c<<3)|0)+8|0;break f}L[d|0]=1;N[147456]=0;N[147457]=0;c=589824}S[c>>3]=e<<16>>16;N[b+8>>2]=a+2;return;case 0:case 1:case 2:case 3:c=b+16|0;e=a<<8;a=N[b+8>>2];d=N[b+4>>2];g:{if(a>>>0>=d>>>0){a=d+1|0;d=275552;break g}d=N[b>>2]+a|0}d=(e+O[d|0]|0)+2412&65535;break a;case 4:case 5:case 6:case 7:break c}}c=b+16|0;e=(a<<16)-16449536>>>8|0;a=N[b+8>>2];d=N[b+4>>2];h:{if(a>>>0>=d>>>0){a=d+1|0;d=275552;break h}d=N[b>>2]+a|0}d=-108-(e|O[d|0])|0;break a}if(a-32>>>0<=214){d=a-139|0;a=b+16|0;c=N[b+20>>2];i:{if(c>>>0<=512){N[b+20>>2]=c+1;a=(a+(c<<3)|0)+8|0;break i}L[a|0]=1;N[147456]=0;N[147457]=0;a=589824}S[a>>3]=d|0;return}N[b+20>>2]=0;N[b+8>>2]=N[b+4>>2]+1;return}e=N[b+20>>2];j:{if(e>>>0<=512){N[b+20>>2]=e+1;c=((e<<3)+c|0)+8|0;break j}L[c|0]=1;N[147456]=0;N[147457]=0;c=589824}S[c>>3]=d|0;N[b+8>>2]=a+1}function jC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:{if(!d){break a}if(!e){while(1){a=a+8|0;i=i+8|0;if(i>>>0>>0){continue}break a}}while(1){j=0;g=a;while(1){h=j<<5&32;f=M[c>>1];L[g|0]=P[h+440528>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+2>>1];L[g+1|0]=P[h+440530>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+4>>1];L[g+2|0]=P[h+440532>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+6>>1];L[g+3|0]=P[h+440534>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+8>>1];L[g+4|0]=P[h+440536>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+10>>1];L[g+5|0]=P[h+440538>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+12>>1];L[g+6|0]=P[h+440540>>1]+(f-(f>>>8|0)|0)>>>6;f=P[h+440542>>1];h=M[c+14>>1];L[g+7|0]=f+(h-(h>>>8|0)|0)>>>6;c=c+16|0;g=b+g|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}a=a+8|0;i=i+8|0;if(i>>>0>>0){continue}break}}b:{if(!e){break b}c=d+7&-8;if((c|0)==(b|0)){break b}c=b-c|0;d=c>>>0<=1?1:c;if(e-1>>>0>=7){g=e&-8;c=0;while(1){C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;c=c+8|0;if((g|0)!=(c|0)){continue}break}}e=e&7;if(!e){break b}c=0;while(1){C(a,0,d);a=a+b|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}}function Fz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a=N[b+108>>2];if(a){if(N[a>>2]){_a(N[a+80>>2]);Rc(N[a>>2]);oc(N[a+40>>2])}if(N[a+4>>2]){_a(N[a+84>>2]);Rc(N[a+4>>2]);oc(N[a+44>>2])}if(N[a+8>>2]){_a(N[a+88>>2]);Rc(N[a+8>>2]);oc(N[a+48>>2])}if(N[a+12>>2]){_a(N[a+92>>2]);Rc(N[a+12>>2]);oc(N[a+52>>2])}if(N[a+16>>2]){_a(N[a+96>>2]);Rc(N[a+16>>2]);oc(N[a+56>>2])}if(N[a+20>>2]){_a(N[a+100>>2]);Rc(N[a+20>>2]);oc(N[a+60>>2])}if(N[a+24>>2]){_a(N[a+104>>2]);Rc(N[a+24>>2]);oc(N[a- -64>>2])}if(N[a+28>>2]){_a(N[a+108>>2]);Rc(N[a+28>>2]);oc(N[a+68>>2])}if(N[a+32>>2]){_a(N[a+112>>2]);Rc(N[a+32>>2]);oc(N[a+72>>2])}if(N[a+36>>2]){_a(N[a+116>>2]);Rc(N[a+36>>2]);oc(N[a+76>>2])}_a(a)}c=N[b+112>>2];if((c|0)>0){while(1){f=N[((h<<2)+b|0)+68>>2];a:{if(!f){break a}d=N[f+96>>2];if(!d){break a}e=N[f+128>>2];a=N[e+64>>2];N[e+64>>2]=a-1;if((a|0)>1){break a}a=N[d+16>>2];if(!a){break a}g=d+16|0;e=N[d+8>>2];while(1){if(N[a+8>>2]!=(f|0)){a=N[a+4>>2];if(a){continue}break a}break}c=N[a>>2];i=c?c+4|0:g;g=N[a+4>>2];N[i>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,a);ic(e,f,d);c=N[b+112>>2]}h=h+1|0;if((h|0)<(c|0)){continue}break}}_a(N[b>>2])}function Oi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=La+-64|0;La=e;a:{if(!d){b=6;break a}g=N[b+4>>2];m=N[b>>2];N[e>>2]=m;N[e+4>>2]=g;h=N[b+8>>2];f=N[b+12>>2];i=N[b+16>>2];j=N[b+20>>2];k=N[b+24>>2];l=N[b+28>>2];N[e+52>>2]=l;b=j;l=b+l|0;N[e+44>>2]=(l|0)/2;b=f;f=j+b|0;j=f+l|0;N[e+36>>2]=(j|0)/4;b=b+g|0;f=b+f|0;N[e+20>>2]=(f|0)/4;N[e+28>>2]=(f+j|0)/8;f=h+m|0;N[e+8>>2]=(f|0)/2;N[e+48>>2]=k;k=i+k|0;N[e+40>>2]=(k|0)/2;h=h+i|0;i=h+f|0;N[e+16>>2]=(i|0)/4;N[e+12>>2]=(b|0)/2;b=h+k|0;N[e+32>>2]=(b|0)/4;N[e+24>>2]=(b+i|0)/8;if((c|0)>=3){c=c>>>1|0;b=Oi(a,e,c,d);if(b){break a}b=Oi(a,e+24|0,c,d);break a}b=64;c=Qa[N[a+4>>2]](a,40)|0;if(!c){break a}N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;a=Qa[N[a+4>>2]](a,40)|0;if(!a){break a}N[a+16>>2]=0;N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[c>>2]=m;N[c+4>>2]=g;b=N[e+24>>2];g=N[e+28>>2];N[c+32>>2]=1;N[c+8>>2]=b;N[c+12>>2]=g;N[a>>2]=b;N[a+4>>2]=g;b=N[e+48>>2];g=N[e+52>>2];N[a+32>>2]=1;N[a+8>>2]=b;N[a+12>>2]=g;N[c+36>>2]=a;N[a+36>>2]=N[d>>2];N[d>>2]=c;b=0}La=e- -64|0;return b}function Xn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=La-16|0;La=m;g=O[a|0];a:{if(!g){f=a;break a}f=a;b:{while(1){j=g<<24>>24;if(!((j|0)==32|j-9>>>0<5)){break b}g=O[f+1|0];f=f+1|0;if(g){continue}break}break a}c:{g=g&255;switch(g-43|0){case 0:case 2:break c;default:break a}}k=(g|0)==45?-1:0;f=f+1|0}d:{if(!((c|16)!=16|O[f|0]!=48)){n=1;if((O[f+1|0]&223)==88){f=f+2|0;j=16;break d}f=f+1|0;j=c?c:8;break d}j=c?c:10}c=0;while(1){e:{g=-48;i=L[f|0];f:{if((i-48&255)>>>0<10){break f}g=-87;if((i-97&255)>>>0<26){break f}g=-55;if((i-65&255)>>>0>25){break e}}i=g+i|0;if((i|0)>=(j|0)){break e}hb(m,j,0,0,0,l,h,0,0);g=1;g:{if(N[m+8>>2]|N[m+12>>2]){break g}o=UE(l,h,j,0);p=Pa;if((p|0)==-1&(i^-1)>>>0>>0){break g}h=p;l=i+o|0;h=l>>>0>>0?h+1|0:h;n=1;g=c}f=f+1|0;c=g;continue}break}if(b){N[b>>2]=n?f:a}h:{i:{j:{if(c){N[147316]=68;a=d&1;k=a?0:k;l=d;h=e;break j}if((e|0)==(h|0)&d>>>0>l>>>0|e>>>0>h>>>0){break i}a=d&1}if(!(a|k)){N[147316]=68;a=d;d=a-1|0;e=e-!a|0;break h}if((e|0)==(h|0)&d>>>0>=l>>>0|e>>>0>h>>>0){break i}N[147316]=68;break h}a=k^l;d=a-k|0;b=k>>31;e=(b^h)-((a>>>0>>0)+b|0)|0}La=m+16|0;Pa=e;return d}function He(a){var b=0,c=0,d=U(0),e=0,f=0,g=U(0),h=0,i=U(0),j=U(0),k=0;c=N[a+24>>2];b=N[c+28>>2];if(!b){e=c;c=ae(c+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;b=c-16>>>0>=16369?1e3:c;N[e+28>>2]=b}e=N[a+28>>2];i=U(e|0);g=U(b>>>0);R[a+44>>2]=i/g;c=N[a+32>>2];j=U(c|0);R[a+48>>2]=j/g;b=0-c|0;f=b>>31<<16|b>>>16;b=b<<16;h=(c|0)<0;d=U(U(+((h?0-b|0:c<<16)>>>0)+ +((h?0-(((b|0)!=0)+f|0)|0:c>>>16|0)|0)*4294967296)/g);a:{if(U(V(d))=U(1)?~~(d>U(0)?U(X(U(Z(U(d*U(2.3283064365386963e-10)))),U(4294967296))):U(_(U(U(d-U(~~d>>>0>>>0))*U(2.3283064365386963e-10)))))>>>0:0;b=~~d>>>0;break a}f=-2147483648;b=0}N[a+64>>2]=b;N[a+68>>2]=f;b=0-e|0;f=b>>31<<16|b>>>16;b=b<<16;h=0-b|0;b=0-(((b|0)!=0)+f|0)|0;f=e>>>16|0;k=e<<16;e=(e|0)<0;d=U(U(+((e?h:k)>>>0)+ +((e?b:f)|0)*4294967296)/g);b:{if(U(V(d))=U(1)?~~(d>U(0)?U(X(U(Z(U(d*U(2.3283064365386963e-10)))),U(4294967296))):U(_(U(U(d-U(~~d>>>0>>>0))*U(2.3283064365386963e-10)))))>>>0:0;e=~~d>>>0;break b}b=-2147483648;e=0}N[a+56>>2]=e;N[a+60>>2]=b;R[a+40>>2]=c?U(U(R[a+36>>2]*i)/j):U(0);N[a+112>>2]=0;N[a+116>>2]=0}function Wd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La+-64|0;La=c;d=N[b+4>>2]-N[a+108>>2]|0;g=N[b>>2]-N[a+104>>2]|0;h=N[a+48>>2];e=0-h|0;a:{if(!((g|0)<=(e|0)|(g|0)>=(h|0)|(d|0)<=(e|0))){e=1;if((d|0)<(h|0)){break a}}f=S[a+40>>3]*+(d|0);i=S[a+32>>3]*+(0-g|0);j=1/aa(f*f+i*i);S[c+48>>3]=i*j;S[c+40>>3]=f*j;d=N[a+104>>2];g=N[a+108>>2];h=N[c+52>>2];N[c+24>>2]=N[c+48>>2];N[c+28>>2]=h;N[c+32>>2]=d;N[c+36>>2]=g;d=N[c+44>>2];N[c+16>>2]=N[c+40>>2];N[c+20>>2]=d;e=0;if(!ye(a,c+32|0,c+16|0,3)){break a}N[a+60>>2]=N[a+60>>2]&-4;k=N[a+108>>2];f=S[a+88>>3]*S[a+24>>3];b:{if(V(f)<2147483648){d=~~f;break b}d=-2147483648}f=S[a+80>>3];g=N[a+104>>2];i=S[a+16>>3];h=d;N[c+60>>2]=d+k;f=f*i;c:{if(V(f)<2147483648){d=~~f;break c}d=-2147483648}N[c+56>>2]=d+g;l=N[a>>2];e=N[c+60>>2];N[c+8>>2]=N[c+56>>2];N[c+12>>2]=e;e=0;if(!Fb(l,c+8|0,1)){break a}N[c+60>>2]=k-h;N[c+56>>2]=g-d;d=N[a+4>>2];g=N[c+60>>2];N[c>>2]=N[c+56>>2];N[c+4>>2]=g;e=0;if(!Fb(d,c,1)){break a}d=N[c+44>>2];N[a+80>>2]=N[c+40>>2];N[a+84>>2]=d;d=N[c+52>>2];N[a+88>>2]=N[c+48>>2];N[a+92>>2]=d;d=N[b+4>>2];N[a+104>>2]=N[b>>2];N[a+108>>2]=d;e=1}La=c- -64|0;return e}function lA(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;j=N[b+712>>2];C(a,0,780);N[a+8>>2]=d;N[a+4>>2]=b;L[a+65|0]=1;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;l=N[b+32>>2];i=b- -64|0;N[i>>2]=N[b+28>>2];N[i+4>>2]=l;N[b+88>>2]=N[b+52>>2];i=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=i;i=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=i;i=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=i;N[a+68>>2]=0;N[a+72>>2]=0;if(!c|!e){break a}b=N[N[c+40>>2]>>2];if(!b){break a}N[a+72>>2]=N[b>>2];N[a+68>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+108>>2]=j;b=N[73600];N[a+76>>2]=N[73599];N[a+80>>2]=b;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73602];N[a+84>>2]=N[73601];N[a+88>>2]=b;b=N[73604];N[a+92>>2]=N[73603];N[a+96>>2]=b;b=N[73606];N[a+100>>2]=N[73605];N[a+104>>2]=b;b=N[j+120>>2];N[a+732>>2]=b;N[a+748>>2]=N[j+1352>>2];b:{if(N[j+1416>>2]==1){break b}k=107;if(b>>>0<1240){break b}k=b>>>0<33900?1131:32768}N[a+776>>2]=h;N[a+772>>2]=g;N[a+760>>2]=f;N[a+740>>2]=k}function Vo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;N[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){i=N[g+24>>2];j=N[g>>2];k=N[g+4>>2];f=c+e|0;e=f>>31;e=(e^f)-e|0;c=a>>31;c=(c^a)-c|0;a:{if(e+(c>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break a}d=e&65535;c=T(d,c>>>16|0)+T(c,e>>>16|0)+(T(d,c&65535)+32768>>>16)|0}d=(f|0)<0?0-c|0:c;if(W(d)+W(b)>>>0<=16){c=i<<16}else{e=c;c=c>>31;c=(e^c)-c|0;e=b>>31;e=(e^b)-e|0;b:{if(c+(e>>>8|0)>>>0<=8190){e=T(c,e)+32768>>>16|0;break b}f=c&65535;e=T(f,e>>>16|0)+T(e,c>>>16|0)+(T(f,e&65535)+32768>>>16)|0}c=e;f=0-c|0;c=d>>31|1;c=(((b|0)<0?0-c|0:c)|0)<0?f:e}e=j<<16;c:{if((c|0)<(e|0)){b=fb(k<<16,b);break c}n=N[g+28>>2];l=N[g+20>>2];f=N[g+16>>2];m=N[g+12>>2];d:{e:{f:{h=N[g+8>>2];g=h<<16;g:{if((c|0)<(g|0)){c=fb(e,b);if((h|0)==(j|0)){break g}b=jb(d-c|0,m-k|0,h-j|0)+fb(k<<16,b)|0;break c}e=f<<16;if((e|0)<=(c|0)){break f}}c=fb(g,b);if((f|0)==(h|0)){break e}b=jb(d-c|0,l-m|0,f-h|0)+fb(m<<16,b)|0;break c}g=e;if((c|0)>=i<<16){break d}}c=fb(g,b);if((f|0)==(i|0)){break d}b=jb(d-c|0,n-l|0,i-f|0)+fb(l<<16,b)|0;break c}b=fb(n<<16,b)}a=fb(b,a<<1)}else{a=0}N[o>>2]=p+a}}function Yn(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{c:{b=N[a+4>>2];d:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break d}b=Db(a)}switch(b-43|0){case 0:case 2:break c;default:break b}}f=(b|0)==45;b=N[a+4>>2];e:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break e}b=Db(a)}e=b-58|0;break a}e=b-58|0}if(e>>>0>=4294967286){e=b-48|0;if(e>>>0<10){while(1){d=(T(d,10)+b|0)-48|0;c=(d|0)<214748364;b=N[a+4>>2];f:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break f}b=Db(a)}e=b-48|0;if(c&e>>>0<=9){continue}break}c=d>>31}g:{if(e>>>0>=10){break g}while(1){d=UE(d,c,10,0);b=d+b|0;c=Pa;c=b>>>0>>0?c+1|0:c;d=b-48|0;c=c-(b>>>0<48)|0;b=N[a+4>>2];h:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break h}b=Db(a)}e=b-48|0;if(e>>>0>9){break g}if(d>>>0<2061584302&(c|0)<=21474836|(c|0)<21474836){continue}break}}if(e>>>0<10){while(1){b=N[a+4>>2];i:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break i}b=Db(a)}if(b-48>>>0<10){continue}break}}b=N[a+116>>2];if((b|0)>0|(b|0)>=0){N[a+4>>2]=N[a+4>>2]-1}Pa=f?0-(((d|0)!=0)+c|0)|0:c;return f?0-d|0:d}b=N[a+116>>2];if((b|0)>0|(b|0)>=0){N[a+4>>2]=N[a+4>>2]-1}Pa=-2147483648;return 0}function xE(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d:{e:{f:{b=N[a+96>>2];if((b|0)>=0){c=N[a+100>>2];d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=536870911){c=$a(N[a+104>>2],b<<3);if(c){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=b;N[a+104>>2]=c;c=N[a+100>>2]}if(c>>>0>>0){C(N[a+104>>2]+(c<<3)|0,0,d-c<<3)}N[a+100>>2]=d;c=(N[a+104>>2]+(d<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1}function ak(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!(O[b|0]|O[b+1|0]<<8|(O[b+2|0]|O[b+3|0]<<8))){break a}c=N[a+168>>2];N[a+168>>2]=c+1;if(c>>>0>500){break a}e=b-N[a>>2]|0;f=e>>>9|0;g=N[a+96>>2];b:{c:{d:{h=N[a+92>>2];c=N[a+84>>2];if(h>>>0<=c>>>0){break d}c=(c<<3)+g|0;if(N[c>>2]!=(f|0)){break d}d=c+4|0;break c}c=0;if((h|0)<=0){break b}c=h-1|0;e:{while(1){d=c+i>>>1|0;j=N[(d<<3)+g>>2];f:{if((j|0)>(f|0)){c=d-1|0;break f}if((f|0)==(j|0)){break e}i=d+1|0}if((c|0)>=(i|0)){continue}break}c=0;break b}N[a+84>>2]=d;d=(d>>>0>=h>>>0?275552:(d<<3)+g|0)+4|0}f=N[a+108>>2];c=0;if(!f){break b}c=(f+(N[d>>2]<<6)|0)+(e>>>3&56)|0;g=N[c>>2];f=N[c+4>>2];d=e&63;c=d&31;c=(d>>>0>=32?f>>>c|0:((1<>>c)&1}if((c|0)!=O[a+112|0]){break a}tc(a- -64|0,e);c=O[b|0]|O[b+1|0]<<8;if(c){$j(a,((c<<8|c>>>8)&65535)+b|0)}d=b+2|0;c=O[d|0]|O[d+1|0]<<8;if(!c){break a}c=(c<<8|c>>>8)&65535;f=c>>>0<=1?1:c;c=0;while(1){e=O[d|0]|O[d+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=c>>>0?275552:(d+T(c,6)|0)+2|0;e=O[e+4|0]|O[e+5|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+b|0}else{e=238128}$j(a,e);c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function qi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(O[N[a+88>>2]+32|0]&32){break a}b:{while(1){f=b;while(1){d=O[f|0];if(!((d|0)!=32&(d|0)!=9)){f=f+1|0;continue}break}while(1){h=O[c|0];if(!((h|0)!=32&(h|0)!=9)){c=c+1|0;continue}break}if(!(!d|!h)){g=f;while(1){b=d&255;if(!(!b|(b|0)==44)){d=O[g+1|0];g=g+1|0;continue}break}b=((b|0)==44)+g|0;i=c;while(1){if(!(!h|(h|0)==44)){h=O[i+1|0];i=i+1|0;continue}break}c:{if(f>>>0>=g>>>0){break c}while(1){d=g-1|0;e=O[d|0];if((e|0)!=32&(e|0)!=9){break c}g=d;if(d>>>0>f>>>0){continue}break}g=f}d=i;d:{if(d>>>0<=c>>>0){break d}while(1){e=d-1|0;j=O[e|0];if((j|0)!=32&(j|0)!=9){break d}d=e;if(d>>>0>c>>>0){continue}break}d=c}if((g-f|0)==5){e=bb(f,11926,5);g=e?g:15918;f=e?f:15914}e=d-c|0;e:{if((e|0)!=5){d=c;break e}e=d;d=bb(c,11926,5);e=d?e:15918;d=d?c:15914;e=e-d|0}if((g-f|0)!=(e|0)){break b}c=((h|0)==44)+i|0;i=f+e|0;while(1){f:{j=O[O[d|0]+25936|0];g=O[f|0];e=O[g+25936|0];f=f+1|0;if(!g|i>>>0<=f>>>0){break f}d=d+1|0;if((e|0)==(j|0)){continue}}break}if((e|0)==(j|0)){continue}break b}break}if((d|0)==(h|0)){break a}}mb(N[a+84>>2],4,22405,0);N[a+60>>2]=1}}function Kj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];d=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((d|0)==-1){break a}c=275552;f=O[a+4|0]|O[a+5|0]<<8;d=d>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((d<<1)+a|0)+6|0;d=O[d|0]|O[d+1|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}a=O[c|0]|O[c+1|0]<<8;if(!a){break a}f=(a<<8|a>>>8)&65535;d=c+2|0;while(1){a=O[d|0]|O[d+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}e=O[a|0]|O[a+1|0]<<8;g=(e<<8|e>>>8)&65535;h=a+4|0;a=O[a+2|0]|O[a+3|0]<<8;e=Qe(b,g,h,(a<<8|a>>>8)&65535,(e?(g<<1)-2|0:0)+h|0,246,0);if(e){break a}d=d+2|0;f=f-1|0;if(f){continue}break}break a}return $g(a,b,0)}c=O[a+6|0]|O[a+7|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];if((vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2])|0)==-1){break a}d=b;b=O[a+2|0]|O[a+3|0]<<8;b=(b<<8|b>>>8)&65535;c=O[a+4|0]|O[a+5|0]<<8;e=Qe(d,b,a+8|0,(c<<8|c>>>8)&65535,(a+6|0)+(b<<1)|0,247,a)}return e}function sc(a,b,c){var d=0,e=0,f=0,g=0;e=N[a+16>>2];d=N[e+24>>2];g=Qa[N[e>>2]](b,198405332,-1276876204)|0;f=(d+7&-8)+32|0;a:{b:{d=N[a+4>>2];RE(g,Pa,N[a>>2],0);Pa=Oa;g=Na;d=N[d+(g<<2)>>2];if(d){while(1){if(Qa[N[e+4>>2]](b,d+f|0)|0){if(!N[d+24>>2]){break b}f=N[d+20>>2];c:{d:{if(f){c=N[d+16>>2];if(!c){break c}N[c+20>>2]=f;N[N[d+20>>2]>>2]=c;break d}N[d+28>>2]=N[d+28>>2]+1}N[N[a+12>>2]>>2]=d;N[d+20>>2]=N[a+12>>2];N[a+12>>2]=d+16;N[d+16>>2]=0}N[a+24>>2]=N[a+24>>2]+1;Qa[N[e+8>>2]](0,b)|0;N[d+28>>2]=N[d+28>>2]+1;return d+32|0}d=N[d+8>>2];if(d){continue}break}}N[a+28>>2]=N[a+28>>2]+1;d=kb(f+N[e+20>>2]|0);if(!d){Qa[N[e+8>>2]](0,b)|0;return 0}N[d+4>>2]=e;N[d>>2]=a;f=d+f|0;if(!(Qa[N[e+8>>2]](f,b)|0)){_a(d);return 0}b=f;f=d+32|0;b=Qa[N[e+12>>2]](b,f,c)|0;N[d+24>>2]=b;if(!b){break a}c=N[a+4>>2]+(g<<2)|0;e=N[c>>2];if(e){N[e+12>>2]=d+8}N[d+12>>2]=c;N[d+8>>2]=N[c>>2];N[c>>2]=d;N[N[a+12>>2]>>2]=d;N[d+20>>2]=N[a+12>>2];N[a+12>>2]=d+16;N[d+28>>2]=2;N[d+16>>2]=0;N[a+20>>2]=N[a+20>>2]+(b+(((b|0)!=1)<<5)|0);N[a+32>>2]=N[a+32>>2]+1;return f}ba(15298,18290,361,9541);B()}ba(15298,18290,396,9541);B()}function kv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=N[c>>2];d=Qa[N[f+4>>2]](f,24)|0;if(!d){return 64}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;a:{h=a+4|0;if(h>>>0>b>>>0){break a}g=O[a|0];L[d+4|0]=g;e=O[a+1|0]|O[a+2|0]<<8;M[d+6>>1]=e<<8|e>>>8;e=O[a+3|0];L[d+5|0]=e;j=N[c+148>>2];k=N[c+4>>2];i=e&1;e=(e>>>1&1)+(i?5:3)|0;N[d+8>>2]=e;N[d+12>>2]=(h+k|0)-j;if(T(e,g)+h>>>0>b>>>0){break a}if(g){b:{if(i){a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[d+16>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=T(e,g-1|0)+h|0;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b}N[d+16>>2]=O[a+5|0]|O[a+4|0]<<16;a=T(e,g-1|0)+h|0;a=O[a|0]<<16|O[a+1|0]}N[d>>2]=0;N[d+20>>2]=a;N[N[c+140>>2]>>2]=d;N[c+140>>2]=d;N[c+132>>2]=N[c+132>>2]+g;return 0}Qa[N[f+8>>2]](f,d);return 0}Qa[N[f+8>>2]](f,d);return 8}function nn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}e=N[a+16>>2];if((e|0)<=0){break a}c=a+20|0;d=c+(e<<2)|0;while(1){if(N[c>>2]==(b|0)){N[a+16>>2]=e-1;a=d-4|0;if(a>>>0>c>>>0){while(1){N[c>>2]=N[c+4>>2];c=c+4|0;if(a>>>0>c>>>0){continue}break}}N[a>>2]=0;h=N[b+8>>2];e=N[b>>2];a=e;d=N[b+4>>2];b:{if(!d){break b}if(N[d+160>>2]==(b|0)){N[d+160>>2]=0}if(!(O[e|0]&2)){break b}c=N[d+148>>2];if(!c){break b}g=d+148|0;a=N[d>>2];c:{while(1){if(N[c+8>>2]==(b|0)){break c}c=N[c+4>>2];if(c){continue}break}a=e;break b}f=N[b+52>>2];if(f){Qa[N[N[N[b+12>>2]+56>>2]+20>>2]](f)}f=N[c>>2];i=f?f+4|0:g;g=N[c+4>>2];N[i>>2]=g;N[(g?g:d+152|0)>>2]=f;Qa[N[a+8>>2]](a,c);c=N[d+148>>2];d:{if(c){while(1){a=N[c+8>>2];if(N[a+16>>2]==1869968492){break d}c=N[c+4>>2];if(c){continue}break}}a=0}N[d+156>>2]=a;a=N[b>>2]}e:{if(!(L[a|0]&1)){break e}d=N[b+8>>2];if(!d){break e}c=N[b+16>>2];if(c){while(1){a=N[c+4>>2];ic(d,N[c+8>>2],b);Qa[N[d+8>>2]](d,c);c=a;if(c){continue}break}}N[b+16>>2]=0;N[b+20>>2]=0}a=N[e+28>>2];if(a){Qa[a|0](b)}Qa[N[h+8>>2]](h,b);break a}c=c+4|0;if(d>>>0>c>>>0){continue}break}}}function FD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=N[a+20>>2];L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;d=N[b+96>>2];e=N[d+24>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d+4>>2]}else{d=0}g=Qa[e|0](b,f,c,d)|0;if(g){a:{b:{b=N[a+20>>2];if(b){b=N[b+28>>2];d=N[a+28>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=N[c+8>>2];break a}a=c+8|0;b=N[c+8>>2];break a}e=d>>31;a=N[c>>2];f=b>>31;h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h>>2]=i;a=N[c+4>>2];h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h+4>>2]=i;a=c+8|0;c=N[c+8>>2];b=VE(UE(d,e,c,c>>31),Pa,b,f)}N[a>>2]=b}return g|0}function Ee(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;f=N[a>>2];N[h+12>>2]=f;a:{if(b>>>0<=f>>>0){break a}b:{c:{d:{e:{f:{g=O[f|0];if((g|0)==91){j=93}else{if((g|0)!=123){break f}j=125}f=f+1|0;N[h+12>>2]=f;if(d){break e}if(b>>>0<=f>>>0){break a}while(1){Tb(h+12|0,b);g=N[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(O[g|0]==(j|0)){break b}Qc(h+12|0,b,e);f=N[h+12>>2];if((f|0)==(g|0)){break d}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}Tb(h+12|0,b);g=N[h+12>>2];if(!d){break c}if(b>>>0<=g>>>0){f=g;break a}if(!O[g|0]){break b}if((c|0)<=0){f=g;break a}k=d,l=Qc(h+12|0,b,e),N[k>>2]=l;f=N[h+12>>2];i=(f|0)==(g|0)?-1:1;break a}if(b>>>0<=f>>>0){break a}c=(c|0)>0?c:0;while(1){Tb(h+12|0,b);g=N[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(O[g|0]==(j|0)){break b}if((c|0)==(i|0)){f=g;i=c;break a}k=(i<<2)+d|0,l=Qc(h+12|0,b,e),N[k>>2]=l;f=N[h+12>>2];if((f|0)==(g|0)){break d}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}i=-1;f=g;break a}if(b>>>0<=g>>>0){f=g;break a}if(!O[g|0]){break b}Qc(h+12|0,b,e);f=N[h+12>>2];i=(f|0)==(g|0)?-1:1;break a}f=g+1|0}N[a>>2]=f;La=h+16|0;return i}function yk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=a+2|0;a:{if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(Lb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;c:{if(!c){break c}if(td(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+6|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;if(!d){return 1}f=a+8|0;if(c>>>0>>0){break a}d=(d<<8|d>>>8)&65535;g=d<<1;if(g>>>0>c-f>>>0){break a}c=e-g|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=d>>>0<=1?1:d;d=0;while(1){h=uk(((d<<1)+a|0)+8|0,b,a);if(!h){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function GD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=N[a+20>>2];L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;d=N[b+96>>2];e=N[d+20>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d>>2]}else{d=0}g=Qa[e|0](b,f,c,d)|0;if(g){a:{b:{b=N[a+20>>2];if(b){b=N[b+32>>2];d=N[a+32>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=N[c+8>>2];break a}a=c+8|0;b=N[c+8>>2];break a}e=d>>31;a=N[c>>2];f=b>>31;h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h>>2]=i;a=N[c+4>>2];h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h+4>>2]=i;a=c+8|0;c=N[c+8>>2];b=VE(UE(d,e,c,c>>31),Pa,b,f)}N[a>>2]=b}return g|0}function _e(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=La-1312|0;La=g;f=N[a+4>>2];i=N[f+492>>2];j=N[i+12>>2];h=N[N[f+128>>2]+52>>2];k=N[f+452>>2];e=a+1388|0;N[e>>2]=N[f+448>>2];N[e+4>>2]=k;e=N[f+444>>2];N[a+1380>>2]=N[f+440>>2];N[a+1384>>2]=e;e=N[f+460>>2];N[a+1396>>2]=N[f+456>>2];N[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;N[c>>2]=N[e+N[f+428>>2]>>2];N[c+4>>2]=N[e+N[f+432>>2]>>2];break b}e=Qa[N[N[h>>2]>>2]](N[h+4>>2],b,c)|0;if(e){break a}}c:{if(O[a+70|0]){e=Qa[N[j+8>>2]](a,N[c>>2],N[c+4>>2])|0;break c}e=g+656|0;Qa[N[i+24>>2]](e,a,1);k=f;l=f+168|0;f=g+4|0;Qa[N[i+28>>2]](k,l,f);N[g+1192>>2]=f;e=Qa[N[j+12>>2]](e,N[c>>2],N[c+4>>2])|0;if((e&255)!=164){break c}L[N[a+8>>2]+160|0]=0;L[d|0]=1;e=Qa[N[j+12>>2]](g+656|0,N[c>>2],N[c+4>>2])|0}if(e|!h){break a}d=N[N[h>>2]+8>>2];if(!d){e=0;break a}c=N[a+32>>2];N[g+8>>2]=0;N[g+4>>2]=(c+(c>>31)|0)+32768>>16;c=N[a+40>>2];N[g+12>>2]=((c>>31)+c|0)+32768>>16;c=N[a+44>>2];N[g+16>>2]=((c>>31)+c|0)+32768>>16;e=Qa[d|0](N[h+4>>2],b,0,g+4|0)|0;N[a+32>>2]=N[g+4>>2]<<16;N[a+40>>2]=N[g+12>>2]<<16;N[a+44>>2]=N[g+16>>2]<<16}La=g+1312|0;return e}function Zc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=a;e=La-208|0;La=e;N[e+8>>2]=1;N[e+12>>2]=0;i=T(b,c);a:{if(!i){break a}N[e+16>>2]=c;N[e+20>>2]=c;b=c;g=b;f=2;while(1){a=b;b=(c+g|0)+b|0;N[(e+16|0)+(f<<2)>>2]=b;f=f+1|0;g=a;if(b>>>0>>0){continue}break}g=(h+i|0)-c|0;b:{if(g>>>0<=h>>>0){g=0;f=1;i=0;b=1;a=0;break b}f=1;b=1;while(1){c:{if((f&3)==3){hi(h,c,d,b,e+16|0);ng(e+8|0,2);b=b+2|0;break c}a=b-1|0;d:{if(Q[(e+16|0)+(a<<2)>>2]>=g-h>>>0){mg(h,c,d,f,N[e+12>>2],b,0,e+16|0);break d}hi(h,c,d,b,e+16|0)}if((b|0)==1){lg(e+8|0,1);b=0;break c}lg(e+8|0,a);b=1}a=N[e+8>>2];f=a|1;N[e+8>>2]=f;h=c+h|0;if(g>>>0>h>>>0){continue}break}i=a>>>0>1;g=N[e+12>>2];a=(g|0)!=0}j=0-c|0;mg(h,c,d,f,g,b,0,e+16|0);if(!(i|(b|0)!=1|a)){break a}while(1){e:{if((b|0)<=1){a=bo(f,g);ng(e+8|0,a);g=N[e+12>>2];f=N[e+8>>2];a=a+b|0;break e}f=e+8|0;lg(f,2);N[e+8>>2]=N[e+8>>2]^7;ng(f,1);g=h+j|0;i=e+16|0;a=b-2|0;mg(g-N[i+(a<<2)>>2]|0,c,d,N[e+8>>2],N[e+12>>2],b-1|0,1,i);lg(f,1);f=N[e+8>>2]|1;N[e+8>>2]=f;b=g;g=N[e+12>>2];mg(b,c,d,f,g,a,1,i)}b=a;h=h+j|0;if(g|((b|0)!=1|(f|0)!=1)){continue}break}}La=e+208|0}function Fo(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{b:{c:{if(b){e=N[b>>2];if(e){break c}}break b}g=N[b+8>>2];if(g){if(e>>>0>=536870912){break b}i=kb(e<<3);N[a+16>>2]=i;j=kb(g);N[a+20>>2]=j;if(!(j?i:0)){break a}N[a+12>>2]=g;N[a+4>>2]=e;e=0;N[a+8>>2]=0;N[a>>2]=0;g=N[b>>2];if(g){m=N[b+16>>2];n=S[c- -64>>3];o=S[c+56>>3];p=S[c+40>>3];q=S[c+32>>3];r=S[c+48>>3];s=S[c+24>>3];t=S[c+16>>3];u=S[c+8>>3];v=S[c>>3];while(1){c=e<<3;f=c+m|0;d=+N[f>>2];k=+N[f+4>>2];h=n+(r*d+o*k);h=h>.1?1/h:10;d:{l=(t+(v*d+u*k))*h;if(V(l)<268435455){d=h*(p+(s*d+q*k));if(V(d)<268435455){break d}}break a}c=c+i|0;d=XE(d);e:{if(V(d)<2147483648){f=~~d;break e}f=-2147483648}N[c+4>>2]=f;d=XE(l);f:{if(V(d)<2147483648){f=~~d;break f}f=-2147483648}N[c>>2]=f;e=e+1|0;if((g|0)!=(e|0)){continue}break}}c=N[b+20>>2];b=N[b+8>>2];F(j,c,b);N[a+8>>2]=b;N[a>>2]=g;return}ba(10189,18249,45,17699);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;return}_a(i);_a(j);N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function OB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-272|0;La=h;f=N[b+4>>2];b=N[b>>2];d=N[a>>2];e=N[a+4>>2];N[h+12>>2]=e<<2;N[h+8>>2]=d<<2;j=f<<2;N[h+4>>2]=j;g=b<<2;N[h>>2]=g;l=N[c+200>>2];N[h+16>>2]=l;a=N[c+204>>2];N[h+20>>2]=a;b=e>>6;a:{b:{k=f>>6;i=N[c+168>>2];c:{d:{if((k|0)<(i|0)){f=a>>8;break d}f=a>>8;if((b|0)<(i|0)){break d}if((f|0)>=(i|0)){break c}}i=N[c+164>>2];if((i|0)<=(k|0)|(b|0)>=(i|0)|(f|0)>=(i|0)){break b}}N[c+204>>2]=j;N[c+200>>2]=g;break a}b=h;f=1;g=(g-(d<<3)|0)+l|0;d=g>>31;e=a+(j-(e<<3)|0)|0;a=e>>31;d=(d^g)-d|0;a=(a^e)-a|0;a=a>>>0>>0?d:a;if(a>>>0>=65){while(1){f=f<<1;d=a>>>0>259;a=a>>>2|0;if(d){continue}break}}while(1){d=N[b>>2];a=0-f&f;if(a>>>0>=2){while(1){e=N[b+16>>2];N[b+32>>2]=e;j=N[b+20>>2];N[b+36>>2]=j;k=d;d=N[b+8>>2];g=k+d|0;N[b+8>>2]=g>>1;d=d+e|0;N[b+24>>2]=d>>1;d=d+g>>2;N[b+16>>2]=d;e=N[b+12>>2];g=e+N[b+4>>2]|0;N[b+12>>2]=g>>1;e=e+j|0;N[b+28>>2]=e>>1;N[b+20>>2]=e+g>>2;b=b+16|0;e=a>>>0>3;a=a>>1;if(e){continue}break}}Ti(c,d,N[b+4>>2]);b=b-16|0;f=f-1|0;if(f){continue}break}}La=h+272|0;return 0}function Zo(a){var b=0,c=0,d=0;if(a){b=N[a+116>>2];a:{if(!b){break a}c=N[b+44>>2]-1|0;N[b+44>>2]=c;if(c){break a}while(1){c=N[b+28>>2];tb(N[b+36>>2]);d=N[b+40>>2];if(d){_a(N[d-4>>2])}_a(b);b=c;if(b){continue}break}}b=N[a+120>>2];b:{if(!b){break b}c=N[b+44>>2]-1|0;N[b+44>>2]=c;if(c){break b}while(1){c=N[b+28>>2];tb(N[b+36>>2]);d=N[b+40>>2];if(d){_a(N[d-4>>2])}_a(b);b=c;if(b){continue}break}}b=N[a+852>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+848>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+844>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+856>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+200>>2];_a(N[b+40>>2]);_a(N[b+16>>2]);_a(N[b+52>>2]);_a(N[b+20>>2]);_a(N[b+24>>2]);_a(N[b+28>>2]);_a(b);b=N[a+840>>2];dd(b);_a(N[b+4>>2]);_a(b);_a(N[a+224>>2]);_a(N[a+228>>2]);b=N[a+252>>2];if(b){_a(N[b-4>>2])}b=N[a+8>>2];if(b){c=N[b+36>>2];if(c){xe(c)}c=N[b+40>>2];if(c){xe(c)}_a(N[b+32>>2]);_a(N[b+16>>2]);_a(N[b+12>>2]);_a(b)}b=N[a+4>>2];if(b){dq(b)}_a(N[a+124>>2]);_a(N[a+776>>2]);_a(N[a+780>>2]);_a(N[a+784>>2]);_a(N[a+792>>2]);_a(N[a+800>>2]);_a(N[a+100>>2]);_a(N[a+104>>2]);_a(N[a+980>>2]);_a(a)}}function zp(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=T(c,1348)+a|0;i=N[g+56>>2];j=N[(T(c,7676)+b|0)+44>>2];e=j>>31;h=(e^j)-e|0;l=h>>>8|0;e=Q[b+40>>2]/40|0;a:{if(l+e>>>0<=8190){e=T(e,h)+32768>>>16|0;break a}d=e&65535;e=T(d,h>>>16|0)+T(e>>>16|0,h)+(T(d,h&65535)+32768>>>16)|0}b:{if((i|0)<=0){break b}d=T(c,7676)+b|0;b=N[d+260>>2];if(!b){break b}g=N[g- -64>>2];s=g+T(i,44)|0;e=(j|0)<0?0-e|0:e;e=(e|0)>=32?32:e;t=T(c,1348)+a|0;u=d+264|0;v=h&65535;w=h>>>16|0;c=1;while(1){a=0;c:{if(!c){break c}c=0;a=e;i=0;while(1){d=T(c,28)+u|0;f=N[d+24>>2];if(!(!(f&1)|(f&2)>>>1^N[t+68>>2]!=L[g+13|0])){f=M[g>>1];m=N[d>>2];n=f-m|0;o=n>>31;p=N[d+12>>2];q=f-p|0;r=q>>31;x=d+12|0;k=d;d=(o^n)-o>>>0>(r^q)-r>>>0;k=d?x:k;f=f-(d?p:m)|0;d=f>>31;d=(d^f)-d|0;d:{if(d+l>>>0<=8190){d=T(d,h)+32768>>>16|0;break d}f=d&65535;d=T(f,w)+T(d>>>16|0,h)+(T(f,v)+32768>>>16)|0}f=(j|0)<0?0-d|0:d;d=(f|0)<(a|0);i=d?k:i;a=d?f:a}c=c+1|0;if(b>>>0>c>>>0){continue}break}a=b;if(!i){break c}N[g+20>>2]=i;a=b}c=a;g=g+44|0;if(s>>>0>g>>>0){continue}break}}}function Vs(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=3;a:{if((d|e)<0){break a}h=N[a+8>>2];i=N[a+12>>2];m=P[i+2>>1];if(Q[h+4>>2]>>0){break a}l=P[i>>1];if(Q[h>>2]>>0){break a}j=T(m,O[a+18|0]);if((T(l,j)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!j|!l){break a}n=d&7;a=8-n|0;k=a>>>0>j>>>0?j:a;p=(255<>2];h=N[h+12>>2]+(T(o,e)+(d>>>3|0)|0)|0;m=j-k|0;e=0;d=l;while(1){i=d;b:{if(!n){a=b;f=j;d=h;break b}c:{if((i|0)==(l|0)){e=O[b|0];g=n;a=b+1|0;break c}if((g|0)<(k|0)){g=(g-k|0)+8|0;if(b>>>0>=c>>>0){a=b}else{e=O[b|0]|e;a=b+1|0}break c}g=g-k|0;e=(e&65280)>>>8|0;a=b}L[h|0]=O[h|0]|(e&65535)>>>g&p;e=e<<8;f=m;d=h+1|0}if((f|0)>=8){while(1){b=O[a|0]|e;L[d|0]=O[d|0]|(b&65535)>>>g;d=d+1|0;a=a+1|0;e=b<<8;b=f>>>0>15;f=f-8|0;if(b){continue}break}}d:{if((f|0)>0){if((f|0)>(g|0)){if(a>>>0>>0){e=O[a|0]|e;a=a+1|0}L[d|0]=O[d|0]|(e&65535)>>>g&65280>>>f;e=e<<8;g=(g-f|0)+8|0;break d}L[d|0]=O[d|0]|65280>>>f&(e&65535)>>>g;g=g-f|0}}b=a;h=h+o|0;d=i-1|0;if((i|0)>1){continue}break}f=0}return f|0}function Yr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{c:{if(Q[b+160>>2]>=a+4>>>0){c=O[a+3|0]|O[a+2|0]<<8;if(c>>>0<518){break a}j=a+c|0;if(j>>>0>Q[b+160>>2]){break a}c=a+6|0;while(1){d=O[c+1|0];if(d&7?Q[b+164>>2]>=2:0){break a}f=O[c+3|0];if(f&7?Q[b+164>>2]>=2:0){break a}f=(f|O[c+2|0]<<8)>>>3|0;d=(d|O[c|0]<<8)>>>3|0;g=d>>>0>g>>>0?d:g;g=g>>>0>>0?f:g;c=c+4|0;h=h+2|0;if((h|0)!=256){continue}break}c=a+518|0;f=(c+(g<<3)|0)+8|0;if(f>>>0>Q[b+160>>2]){break a}a=0;while(1){h=a;a=c+8|0;d=O[c+3|0]|O[c+2|0]<<8;d:{if(!d){c=a;break d}e=O[c+6|0];k=O[c+7|0];l=O[c+4|0];m=O[c+5|0];i=O[c|0];n=O[c+1|0];if(Q[b+164>>2]>=2){i=i<<8|n;if(i>>>0>255|d>>>0>256-i>>>0){break a}}e=k|e<<8;if(!e){c=a;break d}e=e+(c+6|0)|0;if(e>>>0>>0){break c}d=d<<1;if(d+e>>>0>j>>>0){break c}if(!N[b+164>>2]){c=a;break d}e=l<<8|m;d=(c+d|0)+8|0;c=a;while(1){a=O[c+1|0]|O[c|0]<<8;if(Q[b+172>>2]<=(a+e&65535)>>>0?a:0){break b}c=c+2|0;if(d>>>0>c>>>0){continue}break}}a=h+1|0;if((g|0)!=(h|0)){continue}break}return 0}break a}Pb(b,9);B()}Pb(b,16);B()}Pb(b,8);B()}function Ue(a,b,c,d,e){N[a+8>>2]=c;N[a+4>>2]=b;N[a>>2]=0;c=N[c+24>>2];N[a+48>>2]=0;N[a+52>>2]=0;N[a+16>>2]=d;N[a+12>>2]=c;N[a+20>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;L[a+44|0]=0;N[a+64>>2]=275552;L[a+60|0]=0;N[a+56>>2]=65536;b=N[c+140>>2];a:{if(b){break a}while(1){b=N[c+48>>2];if(!b){b=275552;break a}d=db(1,4);if(!d){b=275552;N[c+140>>2]=275552;break a}b=Of(d,b);if(!N[c+140>>2]){N[c+140>>2]=b;break a}ab(N[b>>2]);_a(b);b=N[c+140>>2];if(!b){continue}break}}b=N[b>>2];b=b?b:275552;c=N[b+12>>2];b=N[b+16>>2];N[a+72>>2]=0;N[a+68>>2]=b>>>0<4?275552:c;b:{c:{d:{if(!e){break d}b=N[e>>2];if(!b){break d}if((b|0)<=0){break c}N[e>>2]=b+1}N[a+52>>2]=e;L[a+44|0]=0;b=N[a+12>>2];c=N[b+32>>2];if((c|0)==-1){d=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;c=(b<<8|b>>>8)&65535;N[d+32>>2]=c;e=N[a+52>>2]}L[a+60|0]=1;N[a+56>>2]=c;b=N[e+12>>2];N[a+24>>2]=b;c=b;b=N[e+16>>2];N[a+28>>2]=c+b;if((b|0)<0){break b}N[a+20>>2]=0;N[a+48>>2]=0;N[a+40>>2]=0;N[a+32>>2]=1073741823;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function Xl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=-31;a:{b:{c:{d:{e:{f:{switch(N[a+552>>2]){case 2:g=N[c>>2];break d;case 0:e=N[b+4>>2];g:{if((e|0)!=32){f=N[b>>2];break g}e=N[b+12>>2];if(!e){return 2}f=N[b>>2]>>>8|0;N[b>>2]=f;d=N[b+8>>2];g=O[d|0];N[b+12>>2]=e-1;N[b+8>>2]=d+1;e=24;f=f|g<<24;N[b>>2]=f}d=e+1|0;N[b+4>>2]=d;if(f>>>e&1){break e}N[c>>2]=0;return 1;case 1:break f;default:break c}}d=N[b+4>>2]}h:{if(d-30>>>0>=3){e=N[b>>2];break h}e=N[b+12>>2];if(!e){break b}f=N[b>>2]>>>8|0;N[b>>2]=f;g=N[b+8>>2];h=O[g|0];N[b+12>>2]=e-1;N[b+8>>2]=g+1;e=f|h<<24;N[b>>2]=e;d=d-8|0}N[b+4>>2]=d+3;g=e>>>d&7;if(!g){N[c>>2]=1;N[a+552>>2]=0;return 1}N[c>>2]=g}f=N[b+4>>2];i:{if(32-f>>>0>=g>>>0){h=N[b>>2];break i}d=N[b+12>>2];e=f;while(1){if(!d){break a}h=N[b>>2]>>>8|0;N[b>>2]=h;i=N[b+8>>2];j=O[i|0];d=d-1|0;N[b+12>>2]=d;f=e-8|0;N[b+4>>2]=f;N[b+8>>2]=i+1;h=h|j<<24;N[b>>2]=h;i=40-e|0;e=f;if(g>>>0>i>>>0){continue}break}}N[b+4>>2]=f+g;d=1;N[c>>2]=(N[(g<<2)+169392>>2]&h>>>f)+(1<>2]);N[a+552>>2]=0}return d}N[a+552>>2]=1;return 2}N[a+552>>2]=2;return 2}function Cu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a=N[a+12>>2];h=a+4280|0;a:{b:{c:{f=N[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=N[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){N[a+4280>>2]=b;N[a+4284>>2]=e-f;break c}e=N[a>>2];g=N[e+20>>2];if(g){f=0;if(Qa[g|0](e,0,0,0)|0){break a}}N[e+8>>2]=0;N[a+104>>2]=0;N[a+48>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;L[a+44|0]=0;N[a- -64>>2]=9;N[a+4288>>2]=h;N[a+4284>>2]=h;N[a+4280>>2]=0;f=0}if(b>>>0<=f>>>0){break c}g=N[a+4284>>2];i=N[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>i>>>0?i:e;N[a+4284>>2]=b+g;N[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0>=4096?4096:b;if(jm(g,0,e)>>>0>>0){break a}N[h>>2]=e+N[h>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}e=a+184|0;i=a+12|0;h=N[a+4284>>2];b=N[a+4288>>2];f=0;while(1){b=b-h|0;b=b>>>0>>0?b:d;F(c+f|0,h,b);N[a+4284>>2]=b+N[a+4284>>2];N[a+4280>>2]=b+N[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}N[a+4284>>2]=e;g=jm(i,e,4096);h=N[a+4284>>2];b=g+h|0;N[a+4288>>2]=b;if(g){continue}break}}return f|0}function Ve(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=La-32|0;f=N[a+68>>2];if(f>>>0>=2){i=N[a+80>>2];e=f-1|0;while(1){b=T(e,20)+i|0;N[c+24>>2]=N[b+16>>2];d=N[b+12>>2];N[c+16>>2]=N[b+8>>2];N[c+20>>2]=d;d=N[b+4>>2];N[c+8>>2]=N[b>>2];N[c+12>>2]=d;d=T(g,20)+i|0;N[b+16>>2]=N[d+16>>2];h=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=h;h=N[d+4>>2];N[b>>2]=N[d>>2];N[b+4>>2]=h;N[d+16>>2]=N[c+24>>2];b=N[c+20>>2];N[d+8>>2]=N[c+16>>2];N[d+12>>2]=b;b=N[c+12>>2];N[d>>2]=N[c+8>>2];N[d+4>>2]=b;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}a:{if(!O[a+63|0]){break a}b=N[a+68>>2];b=b>>>0>>0?b:f;if(b>>>0<2){break a}d=N[a+88>>2];e=b-1|0;g=0;while(1){a=d+T(e,20)|0;N[c+24>>2]=N[a+16>>2];b=N[a+12>>2];N[c+16>>2]=N[a+8>>2];N[c+20>>2]=b;b=N[a+4>>2];N[c+8>>2]=N[a>>2];N[c+12>>2]=b;b=d+T(g,20)|0;N[a+16>>2]=N[b+16>>2];f=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=f;f=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=f;N[b+16>>2]=N[c+24>>2];a=N[c+20>>2];N[b+8>>2]=N[c+16>>2];N[b+12>>2]=a;a=N[c+12>>2];N[b>>2]=N[c+8>>2];N[b+4>>2]=a;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}}function Pc(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){F(a,b,c);return a}f=a+c|0;a:{if(!((a^b)&3)){e=a&3;d=a;b:{if(!e){break b}d=a;if(!c){break b}c=a+1|0;c=(a^-1)+(c>>>0>>0?f:c)|0;d=e^3;c=(c>>>0>>0?c:d)+1|0;F(a,b,c);b=b+c|0;d=a+c|0}c=d;d=f&-4;c:{if(d>>>0<64){break c}e=d+-64|0;if(e>>>0>>0){break c}while(1){N[c>>2]=N[b>>2];N[c+4>>2]=N[b+4>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=N[b+12>>2];N[c+16>>2]=N[b+16>>2];N[c+20>>2]=N[b+20>>2];N[c+24>>2]=N[b+24>>2];N[c+28>>2]=N[b+28>>2];N[c+32>>2]=N[b+32>>2];N[c+36>>2]=N[b+36>>2];N[c+40>>2]=N[b+40>>2];N[c+44>>2]=N[b+44>>2];N[c+48>>2]=N[b+48>>2];N[c+52>>2]=N[b+52>>2];N[c+56>>2]=N[b+56>>2];N[c+60>>2]=N[b+60>>2];b=b- -64|0;c=c- -64|0;if(e>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}e=c+4|0;d=((c^-1)+(d>>>0>e>>>0?d:e)&-4)+4|0;F(c,b,d);b=b+d|0;c=c+d|0;break a}if(f>>>0<4){c=a;break a}d=f-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){L[c|0]=O[b|0];L[c+1|0]=O[b+1|0];L[c+2|0]=O[b+2|0];L[c+3|0]=O[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){F(c,b,f-c|0)}return a}function io(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-16|0;La=g;b=N[a+84>>2];N[g>>2]=N[N[a+88>>2]+16>>2];mb(b,6,18351,g);a:{i=N[a+88>>2];b=N[i+16>>2];e=b&3;b:{if((e|0)==1){mb(N[a+84>>2],1,15329,0);break b}d=b>>>2|0;j=(T(d,3)+(e>>>0<=1?1:e)|0)-1|0;f=kb(j);if(!f){f=0;break b}c=N[i+8>>2];c:{if(b>>>0<4){b=f;break c}l=d>>>0<=1?1:d;d=0;b=f;while(1){m=O[c|0];h=O[c+1|0];k=(O[c+2|0]+31&63)<<6;L[b+2|0]=k|O[c+3|0]+31&63;h=(h+31&63)<<12;L[b+1|0]=(h|k)>>>8;L[b|0]=(h|m<<18)+8126464>>>16;c=c+4|0;b=b+3|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}d:{e:{f:{switch(e-2|0){case 1:e=O[c+2|0];d=O[c|0]<<18;c=(O[c+1|0]+31&63)<<12;L[b|0]=(d|c)+8126464>>>16;c=(c|(e+31&60)<<6)>>>8|0;d=2;e=b+1|0;break e;case 0:break f;default:break d}}c=((O[c+1|0]+31&48)<<12|(O[c|0]+31&255)<<18)>>>16|0;d=1;e=b}L[e|0]=c;b=b+d|0}if((b-f|0)!=(j|0)){break a}b=N[a+84>>2];if(!N[b+4>>2]){break b}Ji(b,N[i+4>>2],f,j)}_a(f);a=N[a+88>>2];_a(N[a+4>>2]);_a(N[a+8>>2]);N[a+12>>2]=0;N[a+16>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;La=g+16|0;return}ba(21855,18016,1077,9028);B()}function hk(a,b,c){var d=0,e=0;N[a+116>>2]=N[a+116>>2]|1<<(b>>>4);N[a+120>>2]=N[a+120>>2]|1<>2]=N[a+124>>2]|1<<(b>>>9);d=N[a+160>>2];if((d|0)!=-1){e=N[a+96>>2];L[(N[e+80>>2]+T(N[e+64>>2],20)|0)+15|0]=d}d=N[a+96>>2];e=N[d+80>>2]+T(N[d+64>>2],20)|0;d=P[e+12>>1]|80;a:{if(O[a+148|0]){d=Uc(N[a+104>>2],b)|d&112;break a}if(!c){break a}d=d&112|c}M[e+12>>1]=d;b:{c:{a=N[a+96>>2];c=N[a+72>>2]+1|0;d:{if(!(!c|c>>>0>2])){if(!gb(a,c)){break d}}c=N[a+84>>2];e:{if((c|0)!=N[a+80>>2]){break e}d=N[a+72>>2];if(Q[a+64>>2]>=d+1>>>0){break e}if(!O[a+62|0]){break c}e=N[a+88>>2];N[a+84>>2]=e;d=T(d,20);if(!d){break e}F(e,c,d)}c=N[a+64>>2];d=N[a+68>>2];if(c>>>0>d>>>0){break b}f:{if(c>>>0>>0){d=N[a+80>>2]+T(c,20)|0;e=N[a+72>>2];c=N[a+84>>2];break f}c=N[a+84>>2];e=N[a+72>>2];d=e-1|0;d=c+T(d>>>0<=e>>>0?d:0,20)|0}c=T(e,20)+c|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;N[c+16>>2]=N[d+16>>2];e=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=e;N[c>>2]=b;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function Bs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{if(!O[a+24|0]){g=N[b>>2];break e}g=N[b>>2];if((g|0)!=N[a+28>>2]){break e}Ll(a);if(!O[a+24|0]){return 0}d=a+28|0;break d}c=N[a+16>>2];d=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);h=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!h|(g|0)==-1){break a}l=c+16|0;i=g+1|0;c=h;f:{g:{while(1){d=c+j>>>1|0;e=T(d,12)+l|0;f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<=i>>>0){if(g>>>0>>0){break g}j=d+1|0}else{c=d}if(c>>>0>j>>>0){continue}break}c=0;break f}c=e;c=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}f=N[a>>2];if(g>>>0>=k>>>0){e=0;d=d+1|0;if((h|0)==(d|0)){break a}}N[a+36>>2]=d;N[a+28>>2]=i;L[a+24|0]=1;d=a+28|0;if(c>>>0>2]?c:0){break c}Ll(a);if(O[a+24|0]){break d}c=0;break b}c=N[a+32>>2];break b}N[a+32>>2]=c}e=c;N[b>>2]=N[d>>2]}return e|0}function kp(a,b){var c=0,d=0,e=0;c=N[a+32>>2];d=N[a+28>>2];if(d){if(d&1){e=N[c+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=c+16|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){d=N[c+8>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[c+24>>2];if(d){Qa[N[b+8>>2]](b,d)}d=c+16|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;c=c+32|0;e=e-2|0;if(e){continue}break}}c=N[a+32>>2]}if(c){Qa[N[b+8>>2]](b,c)}N[a+24>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;c=N[a+20>>2];d=N[a+16>>2];if(d){if(d&1){e=N[c+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=c+16|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){d=N[c+8>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[c+24>>2];if(d){Qa[N[b+8>>2]](b,d)}d=c+16|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;c=c+32|0;e=e-2|0;if(e){continue}break}}c=N[a+20>>2]}if(c){Qa[N[b+8>>2]](b,c)}N[a+12>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;e=N[a+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function Oe(a,b){var c=0,d=0,e=0;N[a+116>>2]=N[a+116>>2]|1<<(b>>>4);N[a+120>>2]=N[a+120>>2]|1<>2]=N[a+124>>2]|1<<(b>>>9);c=N[a+160>>2];if((c|0)!=-1){d=N[a+96>>2];L[(N[d+80>>2]+T(N[d+64>>2],20)|0)+15|0]=c}c=N[a+96>>2];d=N[c+80>>2]+T(N[c+64>>2],20)|0;c=P[d+12>>1]|16;if(O[a+148|0]){c=Uc(N[a+104>>2],b)|c&112}M[d+12>>1]=c;a:{b:{c=N[a+96>>2];a=N[c+72>>2]+1|0;c:{if(!(!a|a>>>0>2])){if(!gb(c,a)){break c}}a=N[c+84>>2];d:{if((a|0)!=N[c+80>>2]){break d}d=N[c+72>>2];if(d+1>>>0<=N[c+64>>2]+1>>>0){break d}if(!O[c+62|0]){break b}e=N[c+88>>2];N[c+84>>2]=e;d=T(d,20);if(!d){break d}F(e,a,d)}d=N[c+68>>2];a=N[c+64>>2];if(d>>>0>>0){break a}e:{if(a>>>0>>0){d=N[c+72>>2];e=N[c+84>>2];a=N[c+80>>2]+T(a,20)|0;break e}e=N[c+84>>2];d=N[c+72>>2];a=d-1|0;a=e+T(a>>>0<=d>>>0?a:0,20)|0}d=T(d,20)+e|0;e=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=e;N[d+16>>2]=N[a+16>>2];e=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=e;N[d>>2]=b;N[c+64>>2]=N[c+64>>2]+1;N[c+72>>2]=N[c+72>>2]+1}return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function Gl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{b=N[a+24>>2];if(b>>>0>65534){break b}i=N[a>>2];l=N[i+508>>2]+N[i+512>>2]|0;c=b+1|0;b=N[a+40>>2];c=b>>>0>>0?c:b;while(1){g=N[a+44>>2];c:{if(g>>>0>>0){break c}f=N[a+48>>2];d:{e=N[a+52>>2];if(!e){j=N[i+16>>2];b=f+g|0;if((b|0)<0){while(1){d=c+f&65535;if(j>>>0<=d>>>0){break c}if(d){break a}c=c+1|0;if(g>>>0>=c>>>0){continue}break c}}e=0-f|0;if((b|0)<=65535){break d}h=65536-f|0;while(1){k=c+f|0;d=k&65535;e:{if(j>>>0<=d>>>0){b=e;if((k|0)<0){break e}b=h;if(k>>>0<65536){break e}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}break c}b=e+(c-b<<1)|0;if(l>>>0>>0){break c}while(1){e=O[b+1|0]|O[b|0]<<8;if(e){d=f+e&65535;if(d){break a}}b=b+2|0;c=c+1|0;if(g>>>0>=c>>>0){continue}break}break c}while(1){h=c+f|0;d=h&65535;f:{if(j>>>0<=d>>>0){b=e;if((h|0)<0){break f}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}}d=0;if((Fl(a,N[a+36>>2]+1|0)|0)<0){break b}b=N[a+40>>2];c=b>>>0>>0?c:b;continue}}c=-1}N[a+28>>2]=d;N[a+24>>2]=c}function Ck(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=La-16|0;La=g;a:{if(Q[b+4>>2]>a>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;d=1;if((f|0)<=0){d=0;break a}h=O[a|0]|O[a+1|0]<<8;if(!h){break a}d=a+2|0;if(d>>>0>e>>>0){d=0;break a}i=e-d|0;e=(h<<8|h>>>8)&65535;d=T(e,6);if(i>>>0>>0){d=0;break a}f=f-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break a}h=e>>>0<=1?1:e;f=0;while(1){b:{i=T(f,6)+a|0;d=i+2|0;e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=N[c>>2];N[g+12>>2]=j;N[g+8>>2]=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0>2]){break b}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<6){break b}k=N[b+12>>2];d=k-6|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=i+6|0;if(d>>>0>e>>>0|e-d>>>0<2){break b}e=k-8|0;N[b+12>>2]=e;if((e|0)<=0){break b}e=O[d|0]|O[d+1|0]<<8;c:{if(!e){break c}if(Ak(((e<<8|e>>>8)&65535)+j|0,b,g+8|0)){break c}e=N[b+28>>2];if(e>>>0>31){break b}N[b+28>>2]=e+1;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0}d=1;f=f+1|0;if((h|0)!=(f|0)){continue}break a}break}d=0}La=g+16|0;return d}function bj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=b&65535;a:{b:{c:{d:{d=N[c+4>>2];if((d|0)!=131072){if((d|0)!=65536){break a}d=0;if((b&65535)>>>0<=257){c=e<<2;b=N[c+267632>>2];g=b+268668|0;d=N[c+267636>>2]+(b^-1)|0}if((a&65535)>>>0<=257){break d}b=0;break b}b=N[c+8>>2];f=O[b|0]|O[b+1|0]<<8;f=f<<8|f>>>8;d=0;e:{if(e>>>0>=(f&65535)>>>0){break e}d=b+(e<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;e=(d<<8|d>>>8)&65535;if(e>>>0<=257){d=e<<2;e=N[d+267632>>2];g=e+268668|0;d=N[d+267636>>2]+(e^-1)|0;break e}e=e-258|0;d=0;if(e>>>0>=Q[c+16>>2]){break e}d=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;g=d+1|0;d=O[d|0]}a=a&65535;if(a>>>0<(f&65535)>>>0){break c}b=0;break b}b=a<<2&262140;a=N[b+267632>>2];h=a+268668|0;b=N[b+267636>>2]+(a^-1)|0;break b}a=b+(a<<1)|0;a=O[a+2|0]|O[a+3|0]<<8;a=(a<<8|a>>>8)&65535;if(a>>>0<=257){b=a<<2;a=N[b+267632>>2];h=a+268668|0;b=N[b+267636>>2]+(a^-1)|0;break b}a=a-258|0;b=0;if(a>>>0>=Q[c+16>>2]){break b}a=N[c+24>>2]+N[N[c+20>>2]+(a<<2)>>2]|0;h=a+1|0;b=O[a|0]}c=b;if((c|0)!=(d|0)){return c-d|0}if(!d){break a}i=Mb(h,g,d)}return i}function yb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{b=O[a|0];c:{if((b|0)==38){if((O[a+1|0]&223)==72){break c}b=O[a|0]}if((b&255)!=48|(O[a+1|0]&223)!=88){break b}}a=a+2|0;g=1;d:{e:{while(1){f:{g:{c=O[a|0];switch(c-9|0){case 0:case 23:break g;case 34:break e;case 36:break f;default:break d}}a=a+1|0;continue}break}g=-1}c=O[a+1|0];a=a+1|0}b=c&255;h:{if((b|0)!=48){b=(b|0)==48;break h}b=(O[a+1|0]&223)==88}e=(b?2:0)+a|0;c=L[e|0];b=0;if((c|0)<48){break a}b=e;while(1){i:{a=b;f=-48;j:{h=c&255;if(h>>>0<58){break j}f=-87;if((c-97&255)>>>0<6){break j}f=-55;if((c-65&255)>>>0<=5){break j}break i}b=a+1|0;d=((d<<4)+h|0)+f|0;c=L[a+1|0];if((c|0)>47){continue}}break}return T((b|0)==(e|0)?1:g,d)}k:{l:{while(1){m:{f=1;d=1;n:{c=O[a|0];switch(c-9|0){case 34:break l;case 36:break m;case 0:case 23:break n;default:break k}}a=a+1|0;continue}break}d=-1}c=O[a+1|0];a=a+1|0;f=d}d=0;b=0;if(c<<24>>24<48){break a}b=a;while(1){e=c&255;if(e>>>0<=57){d=(e+T(d,10)|0)-48|0;c=L[b+1|0];b=b+1|0;if((c|0)>47){continue}}break}b=T((a|0)==(b|0)?1:f,d)}return b}function yl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;i=N[a+24>>2];e=N[a+36>>2];if(!(e|N[a+68>>2]?(e|0)!=1:0)){a:{if(!N[a+4>>2]){break a}if((c|0)==-1){c=nb(b)}d=(d|0)==-1?c:d;if(d>>>0>268435455){break a}e=N[a+68>>2]+(d>>>2|0)|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break a}}e=b;if((d|0)>0){j=b+d|0;g=b;while(1){e=xl(g,j,f+12|0,i);k=N[f+12>>2];d=N[a+68>>2];h=d+1|0;b:{if(!(!h|Q[a+76>>2]>h>>>0)){if(!gb(a,h)){break b}d=N[a+68>>2]}d=N[a+80>>2]+T(d,20)|0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;N[d>>2]=k;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;N[d+8>>2]=g-b;N[d+4>>2]=0;N[a+68>>2]=N[a+68>>2]+1}g=e;if(j>>>0>e>>>0){continue}break}}N[a+136>>2]=0;b=b+c|0;c:{if(b>>>0<=e>>>0){break c}while(1){e=xl(e,b,f+8|0,i);c=N[f+8>>2];d=N[a+136>>2];N[a+136>>2]=d+1;N[((d<<2)+a|0)+112>>2]=c;if(b>>>0<=e>>>0){break c}if(Q[a+136>>2]<=4){continue}break}}N[a+36>>2]=1}La=f+16|0;return}ba(24107,14165,530,16333);B()}function Ov(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){c=N[a+100>>2];d=N[a+316>>2];if(d){e=N[a+300>>2];a:{if((e|0)>0){d=0;while(1){f=N[a+316>>2]+(d<<3)|0;b=N[f+4>>2];if(b){e=N[b>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[f+4>>2]}N[b>>2]=0;b=N[f+4>>2];if(b){Qa[N[c+8>>2]](c,b)}N[f+4>>2]=0;e=N[a+300>>2]}d=d+1|0;if((e|0)>(d|0)){continue}break}d=N[a+316>>2];if(!d){break a}}Qa[N[c+8>>2]](c,d)}N[a+316>>2]=0}b=N[a+164>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+164>>2]=0;b=N[a+168>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+168>>2]=0;b=N[a+172>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+172>>2]=0;b=N[a+176>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+176>>2]=0;b=N[a+180>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+180>>2]=0;b=N[a+304>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+300>>2]=0;N[a+304>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+152>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+152>>2]=0;b=N[a+156>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0;N[a+156>>2]=0;b=N[a+324>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+324>>2]=0;b=N[a+328>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+328>>2]=0}}function Sj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=O[a+2|0]|O[a+3|0]<<8;d=((((c<<8|c>>>8)&65535)<<1)+a|0)+4|0;if(O[d|0]|O[d+1|0]<<8){c=d+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[d|0]|O[d+1|0]<<8;h=(c<<8|c>>>8)&65535;l=d+(h<<1)|0;c=l+2|0;i=O[c|0]|O[c+1|0]<<8;g=(i<<8|i>>>8)&65535;j=(g<<1)+c|0;k=O[j+2|0]|O[j+3|0]<<8;c=O[a+2|0]|O[a+3|0]<<8;if(c){m=N[b+8>>2];e=(c<<8|c>>>8)&65535;c=a+4|0;while(1){f=O[c|0]|O[c+1|0]<<8;Ob(f?((f<<8|f>>>8)&65535)+a|0:275552,m);c=c+2|0;e=e-1|0;if(e){continue}break}}if(h>>>0>=2){c=d+4|0;f=N[b+12>>2];e=h-1|0;while(1){d=O[c|0]|O[c+1|0]<<8;Ob(d?((d<<8|d>>>8)&65535)+a|0:275552,f);c=c+2|0;e=e-1|0;if(e){continue}break}}if(i){c=l+4|0;e=N[b+16>>2];while(1){d=O[c|0]|O[c+1|0]<<8;Ob(d?((d<<8|d>>>8)&65535)+a|0:275552,e);c=c+2|0;g=g-1|0;if(g){continue}break}}if(k){a=(k<<8|k>>>8)&65535;d=j+4|0;c=0;while(1){e=d+(c<<2)|0;e=O[e+2|0]|O[e+3|0]<<8;Qj(b,(e<<8|e>>>8)&65535);c=c+1|0;if((a|0)!=(c|0)){continue}break}}}function Jg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{h=N[b+4>>2];if(h>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}d=N[b+12>>2];c=d-4|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b:{if(!c){break b}if((c|0)==-1|a+4>>>0>=f>>>0){break a}d=d-5|0;N[b+12>>2]=d;if(!d){break a}e=O[a+4|0];if((e-1&255)>>>0>3){break a}i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);j=i+1|0;c=UE(e,0,j,0);if(Pa){break a}g=a+5|0;c:{if(!c){break c}if(c>>>0>f-g>>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break c}break a}c=-1;a=g+T(e,i)|0;d:{e:{f:{switch(e-1|0){case 0:a=O[a|0];break e;case 1:a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break e;case 2:a=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);break e;case 3:break f;default:break d}}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}c=a-1|0;if(c){break d}return 1}a=g+T(e,j)|0;if(a>>>0>>0|a>>>0>f>>>0){break a}e=0;if(f-a>>>0>>0){break b}a=d-c|0;N[b+12>>2]=a;e=(a|0)>0}return e}return 0}function Dq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];N[d>>2]=0;a:{if(!(!b|!c)){f=1;if(Qa[N[e+36>>2]](e,b,c,d,N[e+68>>2])|0){break a}}if(O[N[a>>2]+140|0]&16){return 0}f=0;b:{c:{switch(c-1460|0){case 0:if((b|0)!=1497){break a}N[d>>2]=64285;break b;case 3:if((b|0)!=1488){if((b|0)!=1522){break a}N[d>>2]=64287;break b}N[d>>2]=64302;break b;case 4:if((b|0)!=1488){break a}N[d>>2]=64303;break b;case 5:if((b|0)!=1493){break a}N[d>>2]=64331;break b;case 8:a=b-1488|0;if(a>>>0<=26){N[d>>2]=N[(a<<2)+242848>>2];return 131817343>>>a&1}d:{switch(b-64298|0){case 0:N[d>>2]=64300;break b;case 1:break d;default:break a}}N[d>>2]=64301;break b;case 11:e:{switch(b-1489|0){case 0:N[d>>2]=64332;break b;case 10:N[d>>2]=64333;break b;case 19:break e;default:break a}}N[d>>2]=64334;break b;case 13:if((b|0)!=64329){if((b|0)!=1513){break a}N[d>>2]=64298;break b}N[d>>2]=64300;break b;case 14:break c;default:break a}}if((b|0)!=64329){if((b|0)!=1513){break a}N[d>>2]=64299;break b}N[d>>2]=64301}f=1}return f|0}function yt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=La-16|0;La=f;e=Qa[N[a+516>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=N[f+12>>2];if(c>>>0<4){break a}e=fc(b,c,a+808|0);if(e){break a}c=N[f+12>>2];N[a+812>>2]=c;e=0;d=N[a+808>>2];b=O[d+2|0]<<8|O[d+3|0];j=b>>>0>=32?32:b;b:{if(!j){break b}k=c+d|0;h=d+4|0;while(1){b=h;if(b+6>>>0>k>>>0){break b}c=O[b+3|0]|O[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;h=c>>>0>k>>>0?k:c;c:{if(O[b+4|0]|(O[b+5|0]&3)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}N[a+824>>2]=n;N[a+820>>2]=m;N[a+816>>2]=g}La=f+16|0;return e|0}function ig(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=N[N[a+4>>2]+96>>2];f=N[b+8>>2];c=N[N[b+12>>2]+68>>2];if(c){Qa[c|0](a)}c=N[a+156>>2];a:{if(!c){e=a+88|0;break a}e=N[c+4>>2];b:{if(e&1){d=N[a+88>>2];if(d){c=N[N[a+4>>2]+100>>2];Qa[N[c+8>>2]](c,d);c=N[a+156>>2];e=N[c+4>>2]}N[a+88>>2]=0;N[c+4>>2]=e&-2;break b}N[a+88>>2]=0}e=a+156|0;if(!(O[N[b>>2]+1|0]&2)){b=N[c>>2];if(b){c=N[b>>2];d=N[b+24>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+24>>2]=0;d=N[b+28>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+28>>2]=0;d=N[b+32>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+32>>2]=0;d=N[b+40>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+40>>2]=0;d=N[b+52>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+20>>2]=0;N[b+36>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+88>>2]=0;d=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=d;g=N[b+32>>2];d=b- -64|0;N[d>>2]=N[b+28>>2];N[d+4>>2]=g;d=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=d;d=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=d;Qa[N[c+8>>2]](c,b);c=N[a+156>>2]}N[c>>2]=0}Qa[N[f+8>>2]](f,c)}N[e>>2]=0}function Df(a,b){var c=0,d=0,e=0,f=0;if(!O[a|0]){return 0}e=a+24|0;c=N[a+24>>2];a:{if((c|0)<0){break a}b:{d=(b|0)>0?b:0;if(d>>>0>c>>>0){while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}b=e;if(c>>>0>67108863){break b}f=$a(N[a+32>>2],c<<6);if(!f){break b}N[a+24>>2]=c;N[a+32>>2]=f}b=N[a+28>>2];if(b>>>0>>0){C(N[a+32>>2]+(b<<6)|0,0,d-b<<6)}N[a+28>>2]=d;c=N[a+12>>2];if((c|0)<0){break a}if(c>>>0>>0){b=a+12|0;while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0>536870911){break b}f=$a(N[a+20>>2],c<<3);if(!f){break b}N[a+12>>2]=c;N[a+20>>2]=f}b=N[a+16>>2];if(b>>>0>>0){C(N[a+20>>2]+(b<<3)|0,0,d-b<<3)}N[a+16>>2]=d;return 1}N[b>>2]=-1}c=N[a+16>>2];b=N[e>>2];if((b|0)>=0){c:{c=(c|0)>0?c:0;if(c>>>0>b>>>0){while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}d:{if(b>>>0<=67108863){d=$a(N[e+8>>2],b<<6);if(d){break d}}N[e>>2]=-1;break c}N[e>>2]=b;N[e+8>>2]=d}b=N[e+4>>2];if(b>>>0>>0){C(N[e+8>>2]+(b<<6)|0,0,c-b<<6)}N[e+4>>2]=c}}L[a|0]=0;return 0}function fw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=N[a+96>>2];e=N[a+712>>2];a:{b:{if(O[e+24|0]==2){c=N[d+4>>2];if(!c){break b}d=N[c+16>>2];if((d|0)<=0){break a}c=c+20|0;d=c+(d<<2)|0;while(1){e=N[c>>2];f=N[e>>2];if(cb(N[f+8>>2],9195)){c=c+4|0;if(d>>>0>c>>>0){continue}break a}break}c=N[f+32>>2];if(!c){break a}c=Qa[c|0](e,9592)|0;if(!c){break a}c=N[c+4>>2];if(!c){break a}return Qa[c|0](a,b)|0}if(!d){break a}c:{a=N[N[d>>2]+32>>2];if(a){a=Qa[a|0](d,10566)|0;if(a){break c}}a=N[d+4>>2];f=N[a+16>>2];if((f|0)<=0){break a}c=a+20|0;f=c+(f<<2)|0;while(1){a=N[c>>2];d:{if((a|0)==(d|0)){break d}h=N[N[a>>2]+32>>2];if(!h){break d}a=Qa[h|0](a,10566)|0;if(a){break c}}c=c+4|0;if(f>>>0>c>>>0){continue}break}break a}if(!N[e+20>>2]){break a}while(1){c=P[N[e+1188>>2]+(g<<1)>>1];e:{f:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=Q[e+1356>>2]){break e}c=N[N[e+1360>>2]+(c<<2)>>2];break f}c=Qa[N[a+20>>2]](c)|0}if(!c){break e}if(!cb(b,c)){break a}}g=g+1|0;if(g>>>0>2]){continue}break}}g=0}return g|0}function xk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break a}e=N[b+12>>2]-6|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}f=a+6|0;if(f>>>0>d>>>0){break a}g=d-f|0;d=(c<<8|c>>>8)&65535;c=d<<1;if(g>>>0>>0){break a}e=e-c|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=d>>>0<=1?1:d;e=0;while(1){d=f+(e<<1)|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(Lb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}e=e+1|0;if((g|0)!=(e|0)){continue}break}d=O[a+4|0]|O[a+5|0]<<8;if(!d){return 1}a=O[a+2|0]|O[a+3|0]<<8;a=f+(((a<<8|a>>>8)&65535)<<1)|0;if(a>>>0>2]){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;a=((d<<8|d>>>8)&65535)<<2;if(c>>>0>>0){break a}a=N[b+12>>2]-a|0;N[b+12>>2]=a;h=(a|0)>0}return h}function Bj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=db(1,40);if(e){f=N[a+44>>2];k=f-1|0;j=N[a+48>>2];b=N[a+4>>2]==1098015074;b:{c:{if((f|0)<=0){break c}a=k;while(1){d:{d=a+c>>>1|0;g=N[T(d,36)+j>>2];e:{if(g>>>0>=1937007465){a=d-1|0;break e}if((g|0)==1937007464){break d}c=d+1|0}if((a|0)>=(c|0)){continue}break c}break}a=2;if(N[(T(d,36)+j|0)+28>>2]){break b}}a=0}L[e+36|0]=b|a;d=0;if((f|0)<=0){break a}while(1){b=d<<2;f=N[b+238192>>2];c=0;a=k;g=e+b|0;f:{g:{while(1){b=a+c>>>1|0;h=T(b,36)+j|0;i=N[h>>2];h:{if(i>>>0>f>>>0){a=b-1|0;break h}if(f>>>0<=i>>>0){break g}c=b+1|0}if((a|0)>=(c|0)){continue}break}a=0;break f}a=N[h+28>>2]}N[g>>2]=a;g=O[e+36|0];b=0;i:{if(!(g&1)){break i}c=0;a=k;b=1;if(44>>>d&1){break i}j:{while(1){b=a+c>>>1|0;h=T(b,36)+j|0;i=N[h>>2];k:{if(i>>>0>f>>>0){a=b-1|0;break k}if(f>>>0<=i>>>0){break j}c=b+1|0}if((a|0)>=(c|0)){continue}break}b=0;break i}b=L[h+32|0]&1}L[e+36|0]=b|g&254;d=d+1|0;if((d|0)!=7){continue}break}}return e|0}L[e+36|0]=a;return e|0}function rt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=N[a+816>>2];a:{if(!h){break a}f=N[a+812>>2];if((f|0)<10){break a}d=f;f=N[a+808>>2];j=d+f|0;d=f+4|0;g=f+10|0;k=b<<16|c;n=N[a+820>>2];i=1;while(1){b=(O[d+3|0]|O[d+2|0]<<8)+d|0;f=b>>>0>j>>>0?j:b;b:{if(O[d+4|0]|!(i&n)){break b}o=O[d+5|0];b=d+14|0;e=f-b|0;c=O[d+7|0]|O[g|0]<<8;d=(e|0)<(T(c,6)|0)?(e|0)/6|0:c;c:{if(N[a+824>>2]&i){g=0;if(!d){break b}while(1){l=d+g>>>1|0;c=T(l,6)+b|0;e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((e|0)==(k|0)){break c}c=e>>>0>>0;g=c?l+1|0:g;d=c?d:l;if(g>>>0>>0){continue}break}break b}if(!d){break b}while(1){c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))==(k|0)){c=b;break c}b=b+6|0;d=d-1|0;if(d){continue}break}break b}b=O[c+4|0]|O[c+5|0]<<8;m=((b<<8|b>>>8)<<16>>16)+(o&8?0:m)|0}h=h-1|0;if(!h){break a}i=i<<1;d=f;g=d+6|0;if(j>>>0>=g>>>0){continue}break}}return m|0}function sp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=fb(65536e3,b<<16);if((h|0)>=655){b=c<<16;e=(b|0)<=262144?262144:b;if((d|0)<=0){b=4915200}else{b=d<<16;c=b>>31;d=h>>31;d=(d^h)-d|0;c=(b^c)-c|0;c=c+(d>>>8|0)>>>0<8191?T(d,c)>>>16|0:T(d,c>>>16|0);b=(b|0)<0?0-c|0:c}i=N[a+48>>2];j=N[a+28>>2];d=N[a+24>>2];m=d<<16;if(((W(e)^31)-W(b)|0)>=15){c=i<<16}else{c=b>>31;c=(c^b)-c|0;a:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)>>>16|0;break a}c=T(c&65535,e>>>16|0)+T(c>>>16|0,e)|0}c=(b|0)<0?0-c|0:c}b:{if((m|0)>(c|0)){a=fb(j<<16,e);break b}n=N[a+52>>2];k=N[a+44>>2];f=N[a+40>>2];l=N[a+36>>2];c:{d:{e:{g=N[a+32>>2];a=g<<16;f:{if((c|0)<(a|0)){c=fb(m,e);if((d|0)==(g|0)){break f}a=jb(b-c|0,l-j|0,g-d|0)+fb(j<<16,e)|0;break b}d=f<<16;if((d|0)<=(c|0)){break e}}c=fb(a,e);if((f|0)==(g|0)){break d}a=jb(b-c|0,k-l|0,f-g|0)+fb(l<<16,e)|0;break b}a=d;if((c|0)>=i<<16){break c}}a=fb(a,e);if((f|0)==(i|0)){break c}a=jb(b-a|0,n-k|0,i-f|0)+fb(k<<16,e)|0;break b}a=fb(n<<16,e)}a=fb(a,h)}else{a=0}return a}function ku(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=6;d=N[b>>2];if(Q[d+16>>2]>c>>>0){b=N[d+140>>2];f=P[b+96>>1];e=N[b+56>>2];if(c){b=c-1|0}else{b=N[d+148>>2]}b=e+T(b,36)|0;j=N[b+24>>2];h=M[b+20>>1];e=M[b+16>>1];i=P[b+10>>1];c=P[b+14>>1];g=P[b+12>>1];N[a+84>>2]=N[b+28>>2];N[a+80>>2]=g;N[a+76>>2]=c;c=N[a+156>>2];a:{if(!c){break a}b=N[c+4>>2];if(!(b&1)){break a}g=N[a+88>>2];if(g){b=N[N[a+4>>2]+100>>2];Qa[N[b+8>>2]](b,g);c=N[a+156>>2];b=N[c+4>>2]}N[c+4>>2]=b&-2}N[a+88>>2]=j;b:{c:{switch(f-1|0){case 0:L[a+94|0]=1;break b;case 1:L[a+94|0]=3;break b;case 3:L[a+94|0]=4;break b;case 7:break c;default:break b}}M[a+92>>1]=256;L[a+94|0]=2}N[a+104>>2]=h;N[a+100>>2]=e;N[a+72>>2]=1651078259;N[a+40>>2]=i<<6;b=h<<6;N[a+36>>2]=b;f=e<<6;N[a+32>>2]=f;N[a+24>>2]=N[a+80>>2]<<6;c=N[a+76>>2]<<6;N[a+28>>2]=c;e=0;c=(h|0)<0?(b|0)<(c|0)?c:b:c-b|0;b=P[N[d+140>>2]+6>>1];d:{if(b){b=b<<6;break d}b=(T(c,12)|0)/10|0}N[a+52>>2]=b;N[a+48>>2]=(b-c|0)/2;N[a+44>>2]=f-(i<<5)}return e|0}function Ug(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,o=0,p=0,q=0,r=0;a:{if(!c|!O[a|0]){break a}N[a+4>>2]=-1;d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;k=N[a+16>>2];n=k-1|0;m=N[a+32>>2];l=N[a+20>>2];e=N[a+8>>2];o=(k|0)<=0;b:while(1){c:{i=f>>>9|0;d:{e:{if(!((i|0)!=N[(e<<3)+l>>2]|e>>>0>=k>>>0)){d=e;break e}h=0;g=n;f:{if(!o){while(1){d=h+g>>>1|0;j=N[(d<<3)+l>>2];g:{if((i|0)<(j|0)){g=d-1|0;break g}if((i|0)==(j|0)){break f}h=d+1|0}if((h|0)<=(g|0)){continue}break}}g=f&65024;h=g+512|0;break d}N[a+8>>2]=d}g=f&65024;h=g+512|0;if(m){break c}e=d}while(1){c=c-1|0;if(!c){break a}d=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;f=(d<<8|d>>>8)&65535;if(g>>>0>f>>>0){continue b}if(f>>>0>>0){continue}break}continue}i=(N[((d<<3)+l|0)+4>>2]<<6)+m|0;while(1){e=i+(f>>>3&56)|0;j=N[e>>2];p=N[e+4>>2];q=e,r=_E(-2,-1,f)&j,N[q>>2]=r;N[e+4>>2]=Pa&p;c=c-1|0;if(!c){break a}e=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;f=(e<<8|e>>>8)&65535;if(g>>>0>f>>>0){e=d;continue b}if(f>>>0>>0){continue}break}e=d;continue}}}function Ef(a,b,c,d){var 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;a:{if(!c|!O[a|0]){break a}N[a+4>>2]=-1;e=O[b|0]|O[b+1|0]<<8;g=(e<<8|e>>>8)&65535;l=N[a+16>>2];o=l-1|0;n=N[a+32>>2];m=N[a+20>>2];f=N[a+8>>2];p=(l|0)<=0;b:while(1){c:{j=g>>>9|0;d:{e:{if(!((j|0)!=N[(f<<3)+m>>2]|f>>>0>=l>>>0)){e=f;break e}i=0;h=o;f:{if(!p){while(1){e=i+h>>>1|0;k=N[(e<<3)+m>>2];g:{if((j|0)<(k|0)){h=e-1|0;break g}if((j|0)==(k|0)){break f}i=e+1|0}if((i|0)<=(h|0)){continue}break}}h=g&65024;i=h+512|0;break d}N[a+8>>2]=e}h=g&65024;i=h+512|0;if(n){break c}f=e}while(1){c=c-1|0;if(!c){break a}b=b+d|0;e=O[b|0]|O[b+1|0]<<8;g=(e<<8|e>>>8)&65535;if(h>>>0>g>>>0){continue b}if(g>>>0>>0){continue}break}continue}j=(N[((e<<3)+m|0)+4>>2]<<6)+n|0;while(1){f=j+(g>>>3&56)|0;k=N[f>>2];q=N[f+4>>2];r=f,s=_E(-2,-1,g)&k,N[r>>2]=s;N[f+4>>2]=Pa&q;c=c-1|0;if(!c){break a}b=b+d|0;f=O[b|0]|O[b+1|0]<<8;g=(f<<8|f>>>8)&65535;if(h>>>0>g>>>0){f=e;continue b}if(g>>>0>>0){continue}break}f=e;continue}}}function ym(a,b,c,d){var e=0,f=0,g=0,h=0;g=La-32|0;La=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;a:{if((f|0)==(e|0)&0|e>>>0>f>>>0){e=c<<4|b>>>28;c=d<<4|c>>>28;b=b&268435455;if((b|0)==134217728&(a|0)!=0|b>>>0>134217728){f=c+1073741824|0;e=e+1|0;f=e?f:f+1|0;break a}f=c+1073741824|0;if(a|(b|0)!=134217728){break a}a=e&1;e=a+e|0;f=a>>>0>e>>>0?f+1|0:f;break a}if(!(!c&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){a=d<<4|c>>>28;e=c<<4|b>>>28;f=a&524287|2146959360;break a}e=0;f=2146435072;if(h>>>0>1140785151){break a}f=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;hc(g+16|0,a,b,c,e,h-15233|0);Qd(g,a,b,c,e,15361-h|0);b=N[g+8>>2];e=b<<4;b=N[g+12>>2]<<4|b>>>28;c=N[g>>2];f=N[g+4>>2];h=f;e=f>>>28|e;f=b;a=h&268435455;b=c|(N[g+16>>2]|N[g+24>>2]|(N[g+20>>2]|N[g+28>>2]))!=0;if((a|0)==134217728&(b|0)!=0|a>>>0>134217728){e=e+1|0;f=e?f:f+1|0;break a}if(b|(a|0)!=134217728){break a}a=e;e=e+(e&1)|0;f=a>>>0>e>>>0?f+1|0:f}La=g+32|0;x(0,e|0);x(1,d&-2147483648|f);return+z()}function Go(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,o=0,p=0,q=0,r=0;a:{b:{c:{if(b){e=N[b>>2];if(e){break c}}break b}g=N[b+8>>2];if(g){if(e>>>0>=536870912){break b}h=kb(e<<3);N[a+16>>2]=h;i=kb(g);N[a+20>>2]=i;if(!(i?h:0)){break a}N[a+12>>2]=g;N[a+4>>2]=e;e=0;N[a+8>>2]=0;N[a>>2]=0;g=N[b>>2];if(g){l=N[b+16>>2];m=S[c+40>>3];n=S[c+32>>3];o=S[c+24>>3];p=S[c+16>>3];q=S[c+8>>3];r=S[c>>3];while(1){d:{c=e<<3;f=c+l|0;d=+N[f>>2];j=+N[f+4>>2];k=p+(r*d+q*j);if(V(k)<268435455){d=m+(o*d+n*j);if(V(d)<268435455){break d}}break a}c=c+h|0;d=XE(d);e:{if(V(d)<2147483648){f=~~d;break e}f=-2147483648}N[c+4>>2]=f;d=XE(k);f:{if(V(d)<2147483648){f=~~d;break f}f=-2147483648}N[c>>2]=f;e=e+1|0;if((g|0)!=(e|0)){continue}break}}c=N[b+20>>2];b=N[b+8>>2];F(i,c,b);N[a+8>>2]=b;N[a>>2]=g;return}ba(10189,18249,45,17699);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;return}_a(h);_a(i);N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Fc(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=U(0);h=O[a|0]|O[a+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){return U(0)}h=O[a+4|0]|O[a+5|0]<<8;m=(h<<8|h>>>8)&65535;i=O[a+2|0]|O[a+3|0]<<8;g=(i<<8|(i&65280)>>>8)&32767;k=i&128;h=k>>>7|0?m:g;b=(((m<<1)+a|0)+T(g+m<<(i>>>7&1),b)|0)+6|0;if(!(!k|!(i&-129))){j=g>>>0<=1?1:g;i=0;while(1){g=(i<<1)+a|0;g=O[g+6|0]|O[g+7|0]<<8;n=Mg(e,(g<<8|g>>>8)&65535,c,d,f);g=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);l=U(U(n*U(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24)))+l);b=b+4|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}a:{if(h>>>0<=j>>>0){h=j;break a}g=h-j|0;i=b;while(1){k=(j<<1)+a|0;k=O[k+6|0]|O[k+7|0]<<8;n=Mg(e,(k<<8|k>>>8)&65535,c,d,f);k=O[i|0]|O[i+1|0]<<8;l=U(U(n*U((k<<8|k>>>8)<<16>>16))+l);i=i+2|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}b=(g<<1)+b|0}if(h>>>0>>0){while(1){j=(h<<1)+a|0;j=O[j+6|0]|O[j+7|0]<<8;l=U(U(Mg(e,(j<<8|j>>>8)&65535,c,d,f)*U(L[b|0]))+l);b=b+1|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}return l}function pp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=N[a>>2];a:{if(!h){break a}d=N[a+8>>2];f=h&3;b:{if(!f){g=h;break b}g=h&-4;while(1){N[d+24>>2]=-1;N[d+16>>2]=N[d+16>>2]&-5;d=d+28|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(h>>>0<4){break a}while(1){N[d+24>>2]=-1;N[d+52>>2]=-1;N[d+80>>2]=-1;N[d+108>>2]=-1;N[d+16>>2]=N[d+16>>2]&-5;N[d+44>>2]=N[d+44>>2]&-5;N[d+72>>2]=N[d+72>>2]&-5;N[d+100>>2]=N[d+100>>2]&-5;d=d+112|0;g=g-4|0;if(g){continue}break}}if(!b){N[a+4>>2]=0;return}d=0;g=0;e=0;f=0;while(1){if(!d){g=O[c|0];d=128;c=c+1|0}c:{if(!(d&g)){break c}i=N[a+8>>2]+T(e,28)|0;j=N[i+16>>2];if(j&4){break c}N[i+16>>2]=j|4;if(f>>>0>=h>>>0){break c}N[N[a+12>>2]+(f<<2)>>2]=i;f=f+1|0}d=d>>>1|0;e=e+1|0;if((e|0)!=(b|0)){continue}break}N[a+4>>2]=f;if((f|0)>=2){c=N[a+12>>2];a=1;while(1){g=N[c+(a<<2)>>2];h=N[g>>2];d=a;while(1){b=d-1|0;e=c+(b<<2)|0;i=N[e>>2];if((h|0)<=N[i>>2]){N[c+(d<<2)>>2]=i;N[e>>2]=g;e=(d|0)>1;d=b;if(e){continue}}break}a=a+1|0;if((f|0)!=(a|0)){continue}break}}}function Iv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[b+72>>2];d=N[a+100>>2];b=Qa[N[b+36>>2]](b)|0;a:{if((b|0)<0|N[a+304>>2]){break a}c=Q[c+4>>2]/100|0;c=b>>>0>>0?b:c;if(!c){N[a+300>>2]=0;N[a+304>>2]=0;return}if(c>>>0>=8521761){N[a+304>>2]=0;return}b=T(c,252);d=Qa[N[d+4>>2]](d,b)|0;if(!d){N[a+304>>2]=0;return}C(d,0,b);N[a+300>>2]=c;N[a+304>>2]=d;b=0;if(c>>>0>=4){f=c&67108860;while(1){a=d+T(b,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|1,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|2,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|3,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;b=b+4|0;if((f|0)!=(b|0)){continue}break}}c=c&3;if(!c){break a}while(1){a=d+T(b,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;b=b+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}}function je(a,b){var c=0,d=0,e=0,f=0;e=La-16|0;La=e;L[e+11|0]=0;f=N[a+8>>2];a:{b:{c=N[a+20>>2];c:{if(c){if((Qa[c|0](a,f,e+11|0,1)|0)!=1){break b}f=N[a+8>>2];c=e+11|0;break c}if(Q[a+4>>2]<=f>>>0){break b}c=N[a>>2]+f|0}c=O[c|0];d=f+1|0;N[a+8>>2]=d;d:{e:{switch(c-253|0){case 0:f:{g:{h:{if(Q[a+4>>2]<=f+2>>>0){break h}c=N[a+20>>2];i:{if(c){if((Qa[c|0](a,d,e+12|0,2)|0)!=2){break h}d=N[a+8>>2];c=e+12|0;break i}c=N[a>>2];if(!c){break g}c=c+d|0}c=O[c|0]|O[c+1|0]<<8;c=c<<8|c>>>8;break f}a=85;break a}c=0}N[a+8>>2]=d+2;break d;case 2:L[e+14|0]=0;c=N[a+20>>2];j:{if(c){if((Qa[c|0](a,d,e+14|0,1)|0)!=1){break b}d=N[a+8>>2];c=e+14|0;break j}if(Q[a+4>>2]<=d>>>0){break b}c=N[a>>2]+d|0}c=O[c|0];N[a+8>>2]=d+1;c=c+253|0;break d;case 1:break e;default:break d}}L[e+15|0]=0;c=N[a+20>>2];k:{if(c){if((Qa[c|0](a,d,e+15|0,1)|0)!=1){break b}d=N[a+8>>2];c=e+15|0;break k}if(Q[a+4>>2]<=d>>>0){break b}c=N[a>>2]+d|0}c=O[c|0];N[a+8>>2]=d+1;c=c+506|0}M[b>>1]=c;a=0;break a}a=85}La=e+16|0;return a}function av(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;b=N[a+4>>2];d=N[b+504>>2];g=N[b+100>>2];a:{if(N[b+84>>2]){f=ei(d,e+12|0);if(f){b=N[a+160>>2];break a}b=N[e+12>>2]}else{b=N[d+84>>2]}N[a+160>>2]=b;f=0}d=N[b+156>>2];b=N[d>>2];b:{if(b){d=N[b>>2];c=N[b+24>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+24>>2]=0;c=N[b+28>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+28>>2]=0;c=N[b+32>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+32>>2]=0;c=N[b+40>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+40>>2]=0;c=N[b+52>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+20>>2]=0;N[b+36>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+88>>2]=0;c=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=c;h=N[b+32>>2];c=b- -64|0;N[c>>2]=N[b+28>>2];N[c+4>>2]=h;c=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=c;c=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=c;Qa[N[d+8>>2]](d,b);b=N[a+160>>2];d=N[b+156>>2];if(!d){break b}}Qa[N[g+8>>2]](g,d);b=N[a+160>>2]}N[b+156>>2]=0;N[b+156>>2]=N[a+156>>2];La=e+16|0;return f|0}function kc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c=N[a+32>>2];if(c){d=N[a>>2];h=N[a+36>>2]+(O[N[N[a+4>>2]+96>>2]+16|0]&64?-1:0-c|0)|0;if((d|0)<(h|0)){while(1){c=d+1|0;N[a>>2]=c;f=N[a+4>>2];g=N[N[f+96>>2]+80>>2]+T(c,20)|0;d=P[g+12>>1];c=N[a+8>>2];c:{if(d&c&14){break c}if(d&8){if(!dl(N[f+104>>2],N[g>>2],d,c)){break c}d=P[g+12>>1]}f=0;e=P[g+16>>1];c=0;d:{if((e&96)!=32){break d}c=0;if(d&16){break d}if((e&543)==513){c=0;if(!O[a+16|0]){break d}}c=(e&287)!=257?2:O[a+17|0]<<1}d=N[a+28>>2];if(d){f=O[d|0]|O[d+1|0]<<8;f=(f<<8|f>>>8)&65535}e:{if(!(N[a+12>>2]&N[g+4>>2])){break e}e=O[a+19|0];if((e|0)!=O[g+15|0]?e:0){break e}e=N[a+20>>2];f:{if(e){if(!(Qa[e|0](g,f,N[a+24>>2])|0)){break e}d=N[a+28>>2];break f}if(c){break c}}N[a+32>>2]=N[a+32>>2]-1;i=1;if(!d){break a}N[a+28>>2]=d+2;return 1}if(!c){break b}}d=N[a>>2];if((h|0)>(d|0)){continue}break}}if(!b){break a}N[b>>2]=N[a+36>>2];break a}ba(21998,14114,537,8490);B()}if(!b){break a}N[b>>2]=N[a>>2]+1;return 0}return i}function Pi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=La-48|0;La=e;a:{if(!d){b=6;break a}f=N[b+4>>2];i=N[b>>2];N[e>>2]=i;N[e+4>>2]=f;h=N[b+8>>2];g=N[b+12>>2];j=N[b+16>>2];b=N[b+20>>2];N[e+36>>2]=b;k=b;b=g;g=k+b|0;N[e+28>>2]=(g|0)/2;b=b+f|0;N[e+20>>2]=(b+g|0)/4;g=h+i|0;N[e+8>>2]=(g|0)/2;N[e+32>>2]=j;h=h+j|0;N[e+24>>2]=(h|0)/2;N[e+12>>2]=(b|0)/2;N[e+16>>2]=(g+h|0)/4;if((c|0)>=3){c=c>>>1|0;b=Pi(a,e,c,d);if(b){break a}b=Pi(a,e+16|0,c,d);break a}b=64;c=Qa[N[a+4>>2]](a,40)|0;if(!c){break a}N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;a=Qa[N[a+4>>2]](a,40)|0;if(!a){break a}N[a+16>>2]=0;N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[c>>2]=i;N[c+4>>2]=f;b=N[e+16>>2];f=N[e+20>>2];N[c+32>>2]=1;N[c+8>>2]=b;N[c+12>>2]=f;N[a>>2]=b;N[a+4>>2]=f;b=N[e+32>>2];f=N[e+36>>2];N[a+32>>2]=1;N[a+8>>2]=b;N[a+12>>2]=f;N[c+36>>2]=a;N[a+36>>2]=N[d>>2];N[d>>2]=c;b=0}La=e+48|0;return b}function $g(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;d=O[a+2|0]|O[a+3|0]<<8;if(d){h=((d<<8|d>>>8)&65535)+a|0}else{h=275552}d=N[b+96>>2];i=N[d+80>>2]+T(N[d+64>>2],20)|0;f=N[i>>2];if((vb(h,f)|0)!=-1){e=O[a+4|0]|O[a+5|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}N[g+12>>2]=d;N[g+8>>2]=c?248:249;a:{if(!c){e=Re(d,f);break a}e=O[i+15|0];if((e|0)!=255){break a}e=Re(d,f);if(!c|e>>>0>254){break a}c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=e}c=O[a+6|0]|O[a+7|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+a|0)+8|0;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}a=O[d|0]|O[d+1|0]<<8;if(a){e=(a<<8|a>>>8)&65535;a=d+2|0;while(1){c=O[a|0]|O[a+1|0]<<8;if(c){c=d+((c<<8|c>>>8)&65535)|0}else{c=275552}f=O[c|0]|O[c+1|0]<<8;i=(f<<8|f>>>8)&65535;h=c+4|0;c=O[c+2|0]|O[c+3|0]<<8;c=Qe(b,i,h,(c<<8|c>>>8)&65535,(f?(i<<1)-2|0:0)+h|0,N[g+8>>2],N[g+12>>2]);if(!c){a=a+2|0;e=e-1|0;if(e){continue}}break}}else{c=0}e=c}La=g+16|0;return e}function mq(a){var b=0,c=0,d=0,e=0;b=N[a+52>>2];c=(b|0)!=0;if((b|0)!=(c|0)){d=b<<2;b=N[a+56>>2];d=d+b|0;c=b+(c<<2)|0;while(1){b=N[c>>2];if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;c=c+4|0;if((d|0)!=(c|0)){continue}break}b=N[a+52>>2]}if(b){N[a+52>>2]=0}_a(N[a+56>>2]);N[a+56>>2]=0;N[a+60>>2]=-57005;N[a+48>>2]=0;N[a+52>>2]=0;c=N[a+68>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;e=N[c+12>>2]+T(b,12)|0;d=N[e+8>>2];e=N[e+4>>2];N[c+8>>2]=b;if(d){Qa[d|0](e);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+68>>2]=0}b=N[a+88>>2];if(b){_a(b);N[a+88>>2]=0}N[a+76>>2]=0;N[a+72>>2]=N[a+72>>2]&1;b=N[a+44>>2];if(b){while(1){N[a+44>>2]=N[b+32>>2];if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;b=N[a+44>>2];if(b){continue}break}}}function pj(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}_a(N[a+36>>2]);N[a+36>>2]=0;b=N[N[a+80>>2]+12>>2];if(b){Qa[b|0](N[a+172>>2])}tq(a+84|0);if(N[a+164>>2]){N[a+164>>2]=0}_a(N[a+168>>2]);N[a+168>>2]=0;N[a+160>>2]=0;N[a+164>>2]=0;if(N[a+152>>2]){N[a+152>>2]=0}_a(N[a+156>>2]);N[a+156>>2]=0;N[a+148>>2]=0;N[a+152>>2]=0;if(N[a+140>>2]){N[a+140>>2]=0}_a(N[a+144>>2]);N[a+144>>2]=0;N[a+136>>2]=0;N[a+140>>2]=0;if(N[a+128>>2]){N[a+128>>2]=0}_a(N[a+132>>2]);N[a+132>>2]=0;N[a+124>>2]=0;N[a+128>>2]=0;if(N[a+116>>2]){N[a+116>>2]=0}_a(N[a+120>>2]);N[a+120>>2]=0;N[a+112>>2]=0;N[a+116>>2]=0;if(N[a+104>>2]){N[a+104>>2]=0}_a(N[a+108>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function he(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c=N[a+32>>2];if(c){d=N[a>>2];h=O[N[N[a+4>>2]+96>>2]+16|0]&64?0:c-1|0;if(d>>>0>h>>>0){while(1){c=d-1|0;N[a>>2]=c;f=N[a+4>>2];g=N[N[f+96>>2]+84>>2]+T(c,20)|0;d=P[g+12>>1];c=N[a+8>>2];c:{if(d&c&14){break c}if(d&8){if(!dl(N[f+104>>2],N[g>>2],d,c)){break c}d=P[g+12>>1]}f=0;e=P[g+16>>1];c=0;d:{if((e&96)!=32){break d}c=0;if(d&16){break d}if((e&543)==513){c=0;if(!O[a+16|0]){break d}}c=(e&287)!=257?2:O[a+17|0]<<1}d=N[a+28>>2];if(d){f=O[d|0]|O[d+1|0]<<8;f=(f<<8|f>>>8)&65535}e:{if(!(N[a+12>>2]&N[g+4>>2])){break e}e=O[a+19|0];if((e|0)!=O[g+15|0]?e:0){break e}e=N[a+20>>2];f:{if(e){if(!(Qa[e|0](g,f,N[a+24>>2])|0)){break e}d=N[a+28>>2];break f}if(c){break c}}N[a+32>>2]=N[a+32>>2]-1;i=1;if(!d){break a}N[a+28>>2]=d+2;return 1}if(!c){break b}}d=N[a>>2];if(h>>>0>>0){continue}break}}if(!b){break a}N[b>>2]=0;break a}ba(21998,14114,575,8316);B()}if(!b){break a}a=N[a>>2];N[b>>2]=(a>>>0<=1?1:a)-1;return 0}return i}function hn(a,b,c,d,e){var 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,t=0;a:{if(b>>>0>c>>>0){break a}g=N[a+12>>2];if(g>>>0<=d>>>0|e>>>0>=g>>>0){break a}k=N[a+8>>2];f=N[k+(d<<3)>>2];h=N[(e<<3)+k>>2];b:{if((f|0)<=(h|0)){g=h;h=f;f=e;e=d;break b}g=f;f=d}i=N[a+4>>2];f=f<<3;d=N[i+f>>2];l=f;f=N[a>>2];m=N[l+f>>2];q=d-m|0;e=e<<3;a=N[e+i>>2];n=N[e+f>>2];r=a-n|0;if(!((g|0)==(h|0)|(a|0)==(d|0))){s=g-h|0;t=d-a|0;g=0;while(1){o=b<<3;d=N[f+o>>2];c:{if((d|0)<=(n|0)){e=d+r|0;break c}e=d+q|0;if((d|0)>=(m|0)){break c}if(!j){g=fb(t,s)}p=N[k+o>>2]-h|0;e=p>>31;e=(e^p)-e|0;d=g>>31;d=(d^g)-d|0;d:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break d}j=e&65535;e=T(j,d>>>16|0)+T(d,e>>>16|0)+(T(j,d&65535)+32768>>>16)|0}d=e;j=1;l=0-d|0;d=p>>31|1;e=a+((((g|0)<0?0-d|0:d)|0)<0?l:e)|0}N[i+o>>2]=e;b=b+1|0;if(c>>>0>=b>>>0){continue}break}break a}while(1){e=b<<3;d=N[e+f>>2];N[e+i>>2]=(d|0)>(n|0)?(d|0)<(m|0)?a:d+q|0:d+r|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function id(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!b)){c=N[a>>2];e=c>>31;f=N[b>>2];d=f>>31;e=(c^e)-e|0;d=(d^f)-d|0;a:{if(e+(d>>>8|0)>>>0<=8190){d=T(d,e)+32768>>>16|0;break a}g=e&65535;d=T(g,d>>>16|0)+T(d,e>>>16|0)+(T(g,d&65535)+32768>>>16)|0}g=c>>31|1;k=0-g|0;i=(((f|0)<0?k:g)|0)<0?0-d|0:d;f=N[a+4>>2];d=f>>31;h=N[b+4>>2];c=h>>31;d=(d^f)-d|0;c=(c^h)-c|0;b:{if(d+(c>>>8|0)>>>0<=8190){c=T(c,d)+32768>>>16|0;break b}j=d&65535;c=T(j,c>>>16|0)+T(c,d>>>16|0)+(T(j,c&65535)+32768>>>16)|0}f=f>>31|1;l=0-f|0;j=i+((((h|0)<0?l:f)|0)<0?0-c|0:c)|0;h=N[b+8>>2];c=h>>31;c=(c^h)-c|0;c:{if(e+(c>>>8|0)>>>0<=8190){e=T(c,e)+32768>>>16|0;break c}i=e&65535;e=T(i,c>>>16|0)+T(c,e>>>16|0)+(T(i,c&65535)+32768>>>16)|0}c=(((h|0)<0?k:g)|0)<0?0-e|0:e;e=N[b+12>>2];b=e>>31;b=(b^e)-b|0;d:{if(d+(b>>>8|0)>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}g=d&65535;b=T(g,b>>>16|0)+T(b,d>>>16|0)+(T(g,b&65535)+32768>>>16)|0}N[a>>2]=j;N[a+4>>2]=c+((((e|0)<0?l:f)|0)<0?0-b|0:b)}}function Kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=N[a+16>>2];f=O[d+12|0]|O[d+13|0]<<8|(O[d+14|0]<<16|O[d+15|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);a:{if(!i){break a}h=N[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}l=d+16|0;d=i;b:{c:{while(1){f=d+j>>>1|0;e=T(f,12)+l|0;g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g>>>0<=h>>>0){if(h>>>0<=k>>>0){break c}j=f+1|0}else{d=f}if(d>>>0>j>>>0){continue}break}d=0;break b}d=e;d=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=h-g|0;d=d>>>0<=(e^-1)>>>0?d+e|0:0}if(!c){return d}c=N[a>>2];if(h>>>0>k>>>0){e=0;f=f+1|0;if((i|0)==(f|0)){break a}}N[a+36>>2]=f;N[a+28>>2]=h;L[a+24|0]=1;d:{if(!(d>>>0>2]?d:0)){Jl(a);d=0;if(!O[a+24|0]){break d}d=N[a+32>>2];break d}N[a+32>>2]=d}e=d;N[b>>2]=N[a+28>>2]}return e}function wi(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0;k=La-48|0;La=k;N[k+44>>2]=b;m=N[a+36>>2];N[k+40>>2]=0;N[k+32>>2]=0;N[k+36>>2]=0;N[k+24>>2]=0;N[k+28>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+12>>2]=0;L[k+7|0]=0;a:{b:{c:{if(!m){break c}n=N[m+28>>2];if(!n){break c}Qa[n|0](N[m+40>>2],b,k+8|0);b=N[k+28>>2];if(b){break b}l=N[k+12>>2]}_a(l);N[k+24>>2]=0;N[k+28>>2]=1;N[k+40>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+32>>2]=0;N[k+36>>2]=0;l=k+44|0;N[k+12>>2]=l;b=1;break a}l=N[k+12>>2]}b=Bo(a,l,b,c,d,e,f,g,h,i,j,k+7|0);d:{if(b){break d}b=0;if(!N[m+24>>2]|(O[k+7|0]|!m)){break d}l=N[k+28>>2];if((l|0)>0){while(1){Qa[N[m+24>>2]](N[m+40>>2],N[a>>2],m,N[N[k+12>>2]+(b<<2)>>2]);b=b+1|0;l=N[k+28>>2];if((b|0)<(l|0)){continue}break}}b=Bo(a,N[k+12>>2],l,c,d,e,f,g,h,i,j,k+7|0)}a=N[k+12>>2];if((a|0)!=(k+44|0)){c=0;if(N[k+28>>2]>0){while(1){_a(N[N[k+12>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}a=N[k+12>>2]}_a(a)}La=k+48|0;return b}function YD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=U(0),f=0;a:{b:{d=N[a+24>>2];f=d+92|0;b=xc(f);b=O[b|0]|O[b+1|0]<<8;if(!(!c|!b)){b=xc(f);b=O[b+4|0]|O[b+5|0]<<8;e=Gc(Hc(d+132|0),1986098019,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(R[a+44>>2]*U(V(U(e+U((b<<8|b>>>8)<<16>>16)))))+U(.5))));if(!(U(V(e))>2]=~~e;break a}if(b){break a}return 0}N[c>>2]=-2147483648}d=N[a+24>>2];b=d+92|0;f=xc(b);if(!(O[f|0]|O[f+1|0]<<8)){return 0}b=xc(b);b=O[b+6|0]|O[b+7|0]<<8;e=Gc(Hc(d+132|0),1986294627,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(.5)-U(R[a+44>>2]*U(V(U(e+U((b<<8|b>>>8)<<16>>16))))))));c:{if(U(V(e))>2]=b;d=N[a+24>>2];b=d+92|0;f=xc(b);f=O[f|0]|O[f+1|0]<<8;if(f){b=xc(b);b=O[b+8|0]|O[b+9|0]<<8;e=Gc(Hc(d+132|0),1986815856,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(R[a+44>>2]*U(e+U((b<<8|b>>>8)<<16>>16)))+U(.5))));d:{if(U(V(e))>2]=a}return(f|0)!=0|0}function Gc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=U(0);e=O[a+8|0]|O[a+9|0]<<8;a:{if(!e){break a}g=O[a+6|0]|O[a+7|0]<<8;j=(g<<8|g>>>8)&65535;k=a+12|0;g=((e<<8|e>>>8)&65535)-1|0;while(1){b:{h=g+i>>>1|0;e=T(j,h)+k|0;f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h-1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((g|0)>=(i|0)){continue}break a}break}b=O[a+10|0]|O[a+11|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=275552}b=O[a+6|0]|O[a+7|0]<<8;f=(b<<8|b>>>8)&65535;b=e;e=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);b=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0<=b>>>0){break a}b=a+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}f=e>>>8&65280|e>>>24;e=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(e){a=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{a=275552}l=Fc(b,f,c,d,a,0)}return l}function bx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La-320|0;La=c;i=N[a+100>>2];Qa[N[b+60>>2]](b,c+272|0,4,c+268|0);d=N[c+268>>2];a:{if((d|0)<0){g=162;break a}g=3;if(d-5>>>0<4294967292){break a}j=N[b+8>>2];k=N[b>>2];g=_f(a,0,d);if(g){break a}b:{if(N[c+268>>2]>0){l=N[a+532>>2]+88|0;g=3;while(1){a=T(h,12);d=a+(c+272|0)|0;N[b>>2]=N[d>>2];N[b+8>>2]=N[d+4>>2];Qa[N[b+60>>2]](b,c+16|0,20,c+12|0);e=N[c+12>>2];if(e-21>>>0<4294967276){break a}d=a+l|0;if(N[d+4>>2]){break a}f=e<<3;e=Qa[N[i+4>>2]](i,f)|0;if(!e){break b}a=0;C(e,0,f);N[d+4>>2]=e;f=N[c+12>>2];N[d+8>>2]=e+(f<<2);L[d|0]=f;if((f|0)>0){while(1){e=(c+16|0)+T(a,12)|0;N[b>>2]=N[e>>2]+1;N[b+8>>2]=N[e+4>>2]-1;e=Qa[N[b+36>>2]](b)|0;f=a<<2;N[f+N[d+4>>2]>>2]=e;e=Qa[N[b+40>>2]](b,0)|0;N[f+N[d+8>>2]>>2]=e;a=a+1|0;if((a|0)>2]){continue}break}}h=h+1|0;if((h|0)>2]){continue}break}}N[b+8>>2]=j;N[b>>2]=k;g=0;break a}N[d+4>>2]=0;g=64}N[b+12>>2]=g;La=c+320|0}function Wh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-16|0;La=g;a:{if(L[a+376|0]&1){i=N[a+52>>2];j=N[a+48>>2];l=P[a+46>>1];k=P[a+44>>1];h=N[a+36>>2];m=N[a+40>>2];f=a- -64|0;n=N[f+4>>2];N[g+8>>2]=N[f>>2];N[g+12>>2]=n;f=N[a+60>>2];N[g>>2]=N[a+56>>2];N[g+4>>2]=f;f=a+290|0;break a}i=N[a+88>>2];j=N[a+84>>2];l=P[a+82>>1];k=P[a+80>>1];h=N[a+72>>2];m=N[a+76>>2];f=N[a+104>>2];N[g+8>>2]=N[a+100>>2];N[g+12>>2]=f;f=N[a+96>>2];N[g>>2]=N[a+92>>2];N[g+4>>2]=f;f=a+292|0}f=P[f>>1];b:{if(f>>>0>=k>>>0){if(O[a+593|0]){N[a+12>>2]=134}M[e>>1]=0;a=1;break b}N[d+16>>2]=i;N[d+12>>2]=j;M[d+10>>1]=l;M[d+8>>1]=k;N[d>>2]=h;N[d+4>>2]=m;h=N[g+4>>2];N[d+20>>2]=N[g>>2];N[d+24>>2]=h;h=N[g+12>>2];N[d+28>>2]=N[g+8>>2];N[d+32>>2]=h;M[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Qa[N[a+604>>2]](a,N[d>>2]-N[b>>2]|0,N[d+4>>2]-N[b+4>>2]|0)|0;o=e,p=jb(b,M[a+302>>1],N[a+596>>2]),N[o>>2]=p;o=c,p=jb(b,M[a+304>>1],N[a+596>>2]),N[o>>2]=p;a=0}La=g+16|0;return a}function tC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;h=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{b:{c:{d=N[b+40>>2];if(!d){break c}e=(N[b+36>>2]<<2)+d|0;f=e-4|0;if(f>>>0>=d>>>0){while(1){c=N[f>>2];d:{if(N[c+4>>2]!=1970170211){break d}e:{switch(P[c+8>>1]){case 0:if(P[c+10>>1]==4){break b}break d;case 3:break e;default:break d}}if(P[c+10>>1]==10){break b}}f=f-4|0;if(f>>>0>=d>>>0){continue}break}}while(1){e=e-4|0;if(e>>>0>>0){break c}c=N[e>>2];if(N[c+4>>2]!=1970170211){continue}break}break b}N[b+92>>2]=0;break a}N[b+92>>2]=c;Hp(a,b);Gp(a);d=N[b+40>>2]}f:{if(!h|!d){break f}a=N[b+36>>2];if((a|0)<=0){break f}a=(a<<2)+d|0;while(1){g:{if(N[d>>2]!=(h|0)){break g}c=N[h>>2];h:{if(!c){break h}c=N[c+96>>2];e=N[N[c>>2]+32>>2];if(!e){break h}c=Qa[e|0](c,10557)|0;if(!c){break h}if(Qa[N[c>>2]](h,g+8|0)|0){break h}if(N[g+12>>2]==14){break g}}N[b+92>>2]=N[d>>2];break f}d=d+4|0;if(a>>>0>d>>>0){continue}break}}La=g+16|0;return 0}function Tw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=6;g=N[a+532>>2];a:{if(!g){break a}if(!(b|c)){e=N[g>>2];if(!e){return 0}a=N[g+136>>2];b=N[g+140>>2];h=0;if(e>>>0>=4){g=e&-4;while(1){c=f<<2;N[c+a>>2]=N[b+c>>2];d=c|4;N[d+a>>2]=N[b+d>>2];d=c|8;N[d+a>>2]=N[b+d>>2];c=c|12;N[c+a>>2]=N[b+c>>2];f=f+4|0;if((g|0)!=(f|0)){continue}break}}g=e&3;if(!g){break a}c=0;while(1){e=f<<2;N[e+a>>2]=N[b+e>>2];f=f+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}break a}if(!c){break a}j=N[g>>2];h=b>>>0>j>>>0?j:b;b:{if(!h){break b}e=N[g+136>>2];if(h>>>0>=4){k=h&-4;while(1){d=f<<2;N[d+e>>2]=N[c+d>>2];i=d|4;N[i+e>>2]=N[c+i>>2];i=d|8;N[i+e>>2]=N[c+i>>2];d=d|12;N[d+e>>2]=N[c+d>>2];f=f+4|0;if((k|0)!=(f|0)){continue}break}}d=h&3;if(!d){break b}while(1){k=f<<2;N[k+e>>2]=N[c+k>>2];f=f+1|0;l=l+1|0;if((d|0)!=(l|0)){continue}break}}if(b>>>0>>0){C(N[g+136>>2]+(h<<2)|0,0,j-h<<2)}h=0;N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return h|0}function yg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+36>>2];a:{h=N[c+4>>2];b:{if((h|0)<(e|0)){break b}k=(b<<3)+c|0;j=N[k+4>>2];if((j|0)>(f|0)){break b}i=h;l=N[a+4>>2];h=0-l|0;i=i&h;m=(i|0)<(f|0);c:{if((e|0)>(j|0)){h=e;break c}e=l-1|0;h=h&e+j;if(e&j&65535){e=h;break c}if(O[a+79|0]){L[a+79|0]=0;g=g-4|0}N[g>>2]=N[k>>2];e=h+l|0;g=g+4|0}if(O[a+78|0]){N[N[a+80>>2]+20>>2]=h>>N[a>>2];L[a+78|0]=0}h=m?i:f;if((h|0)<(e|0)){break b}if(Q[a+32>>2]<=((h-e>>N[a>>2]<<2)+g|0)+4>>>0){break a}j=0-b|0;l=b<<3;f=c;while(1){L[a+79|0]=0;b=N[f+4>>2];d:{if((b|0)>(e|0)){i=b;b=f+l|0;k=N[b+4>>2];i=i-k|0;if((i|0)>=N[a+16>>2]){Qa[d|0](f);break d}b=N[b>>2];N[g>>2]=((T(N[f>>2]-b|0,e-k|0)|0)/(i|0)|0)+b;g=g+4|0;e=N[a+4>>2]+e|0;b=(j<<3)+f|0;break d}if((b|0)==(e|0)){L[a+79|0]=1;N[g>>2]=N[f>>2];g=g+4|0;e=N[a+4>>2]+e|0}b=(j<<3)+f|0}f=b;if(f>>>0>>0){break b}if((e|0)<=(h|0)){continue}break}}N[a+36>>2]=g;return 0}N[a+40>>2]=98;N[a+36>>2]=g;return 1}function zD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;b=0;a:{if(N[N[a+96>>2]+40>>2]!=N[147122]){if(!c){break a}h=0;while(1){b=N[a+96>>2];i=N[b+40>>2];j=N[a+100>>2];k=N[d>>2];b=N[b+12>>2];if(b){b=N[b+20>>2]}else{b=0}l=f,m=Qa[i|0](a,j,k,b)|0,N[l>>2]=m;f=f+g|0;d=d+e|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}break a}h=N[a+20>>2];i=N[h+96>>2];j=N[i+48>>2];k=N[h+100>>2];i=N[i+12>>2];if(i){i=N[i+28>>2]}else{i=0}Qa[j|0](h,k,c,d,e,f,g,i);if(!c){break a}e=N[a+20>>2];if(!e){break a}if((c|0)!=1){i=c&1;j=c&-2;while(1){c=N[f>>2];d=N[e+28>>2];h=N[a+28>>2];if((d|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,d,d>>31)}N[f>>2]=c;d=f+g|0;c=N[d>>2];f=N[e+28>>2];h=N[a+28>>2];if((f|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,f,f>>31)}N[d>>2]=c;f=d+g|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}if(!i){break a}}b=N[f>>2];c=N[e+28>>2];a=N[a+28>>2];if((c|0)!=(a|0)){b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}N[f>>2]=b}}function yD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;b=0;a:{if(N[N[a+96>>2]+44>>2]!=N[147123]){if(!c){break a}h=0;while(1){b=N[a+96>>2];i=N[b+44>>2];j=N[a+100>>2];k=N[d>>2];b=N[b+12>>2];if(b){b=N[b+24>>2]}else{b=0}l=f,m=Qa[i|0](a,j,k,b)|0,N[l>>2]=m;f=f+g|0;d=d+e|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}break a}h=N[a+20>>2];i=N[h+96>>2];j=N[i+52>>2];k=N[h+100>>2];i=N[i+12>>2];if(i){i=N[i+32>>2]}else{i=0}Qa[j|0](h,k,c,d,e,f,g,i);if(!c){break a}e=N[a+20>>2];if(!e){break a}if((c|0)!=1){i=c&1;j=c&-2;while(1){c=N[f>>2];d=N[e+32>>2];h=N[a+32>>2];if((d|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,d,d>>31)}N[f>>2]=c;d=f+g|0;c=N[d>>2];f=N[e+32>>2];h=N[a+32>>2];if((f|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,f,f>>31)}N[d>>2]=c;f=d+g|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}if(!i){break a}}b=N[f>>2];c=N[e+32>>2];a=N[a+32>>2];if((c|0)!=(a|0)){b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}N[f>>2]=b}}function Bc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=6;a:{if(!a|!c){break a}g=N[c>>2];if(!g){break a}i=N[g+100>>2];h=N[a>>2];b:{c:{if((h|0)<=0){if(!h){break c}break b}e=Qa[N[i+4>>2]](i,h)|0;if(!e){f=64;e=0;break b}C(e,0,h)}f=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=f;N[e+8>>2]=N[c+8>>2];N[e+12>>2]=a;d:{a=N[a+4>>2];if(a){f=Qa[a|0](e,b)|0;if(f){break d}}a=N[g+36>>2];b=a+1|0;if((a|b)<0){f=6;break d}h=N[g+40>>2];e:{f:{g:{if(!b){c=0;if(!h){break g}Qa[N[i+8>>2]](i,h);N[g+40>>2]=0;break e}f=10;if((a|0)>536870910){break d}h:{if(!a){c=Qa[N[i+4>>2]](i,b<<2)|0;f=!c<<6;break h}b=Qa[N[i+12>>2]](i,a<<2,b<<2,h)|0;c=b?b:h;f=!b<<6}if(f|!c){break f}a=(a<<2)+c|0;L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0}N[g+40>>2]=c;break e}N[g+40>>2]=c;if(f){break d}}a=N[g+36>>2];N[g+36>>2]=a+1;N[(a<<2)+c>>2]=e;f=0;break b}a=N[N[e>>2]+100>>2];b=N[N[e+12>>2]+8>>2];if(b){Qa[b|0](e)}Qa[N[a+8>>2]](a,e);e=0}if(!d){break a}N[d>>2]=e}return f|0}function Rh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if((c|0)<0|b>>>0>>0){break a}i=N[a+28>>2];b:{if(!c){break b}if((c|0)>536870911){break a}b=c<<2;f=Qa[N[i+4>>2]](i,b)|0;if(!(!f|(c|0)<=0)){C(f,0,b);break b}if(!f<<6){break a}}while(1){if(c>>>0<=e>>>0){return f}g=0;c:{d:{j=N[a+36>>2];d=N[a+32>>2];e:{if(j>>>0<=d>>>0){b=d;h=0;d=0;break e}b=d+1|0;N[a+32>>2]=b;d=L[d|0];h=d&63;if((d|0)<0){break d}d=d&255}if(d&64){while(1){d=0;if(b+1>>>0>>0){d=O[b|0]|O[b+1|0]<<8;d=d<<8|d>>>8;b=b+2|0}N[a+32>>2]=b;N[(e<<2)+f>>2]=d<<16;d=g+1|0;e=e+1|0;if(g>>>0>=h>>>0){break c}g=d;if(c>>>0>e>>>0){continue}break c}}while(1){d=0;if(b>>>0>>0){k=b+1|0;N[a+32>>2]=k;d=O[b|0];b=k}N[(e<<2)+f>>2]=d<<24>>24<<16;d=g+1|0;e=e+1|0;if(g>>>0>=h>>>0){break c}g=d;if(c>>>0>e>>>0){continue}break}break c}b=(e^-1)+c|0;b=b>>>0>>0?b:h;C((e<<2)+f|0,0,(b<<2)+4|0);d=b+1|0;e=e+d|0}if(d>>>0>h>>>0){continue}break}if(!f){break a}Qa[N[i+8>>2]](i,f)}return 0}function vb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=-1;a:{b:{c:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}e=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c|0;f=d>>>1|0;d=e+(d&-2)|0;d=O[d|0]|O[d+1|0]<<8;d=(d<<8|d>>>8)&65535;d:{if(d>>>0>b>>>0){a=f-1|0;break d}if((b|0)==(d|0)){break a}c=f+1|0}if((a|0)>=(c|0)){continue}break}return-1}e=241305;c=O[a+2|0]|O[a+3|0]<<8;e:{if(!c){break e}h=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;g=T(d,6)+h|0;i=O[g|0]|O[g+1|0]<<8;f:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){c=O[g+2|0]|O[g+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}e=T(d,6)+h|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}a=O[e+2|0]|O[e+3|0]<<8;c=(a<<8|a>>>8)&65535;a=O[e|0]|O[e+1|0]<<8;a=(a<<8|a>>>8)&65535;if(c>>>0>>0){break a}b=b-a|0;a=O[e+4|0]|O[e+5|0]<<8;f=b+((a<<8|a>>>8)&65535)|0}return f}function sn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=N[b+8>>2];d=g>>31;f=M[a+70>>1];c=f>>31;d=(d^g)-d|0;h=d>>>8|0;c=(c^f)-c|0;a:{if(h+c>>>0<=8190){e=T(c,d)+32768>>>16|0;break a}e=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;N[b+12>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)+63&-64;f=M[a+72>>1];c=f>>31;c=(c^f)-c|0;b:{if(c+h>>>0<=8190){e=T(c,d)+32768>>>16|0;break b}e=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;N[b+16>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)&-64;f=M[a+74>>1];c=f>>31;c=(c^f)-c|0;c:{if(c+h>>>0<=8190){c=T(c,d)+32768>>>16|0;break c}c=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}d=c;e=0-d|0;d=f>>31|1;N[b+20>>2]=((((g|0)<0?0-d|0:d)|0)<0?e:c)+32&-64;g=M[a+76>>1];d=g>>31;c=N[b+4>>2];a=c>>31;d=(d^g)-d|0;a=(a^c)-a|0;d:{if(d+(a>>>8|0)>>>0<=8190){e=T(a,d)+32768>>>16|0;break d}e=T(d,a>>>16|0)+(T(d,a&65535)+32768>>>16|0)|0}a=e;d=0-a|0;a=g>>31|1;N[b+24>>2]=((((c|0)<0?0-a|0:a)|0)<0?d:e)+32&-64}function zh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=N[a+52>>2];d=O[a+32|0];a:{b:{c:{if(d){break c}b=N[a+24>>2];if(b>>>0>=Q[a+28>>2]){break c}if(Q[a+56>>2]>2]){break b}}if(Q[a+56>>2]>=Q[a+60>>2]){c=c+1|0;N[a+52>>2]=c;f=-1;if(c>>>0>16){break a}N[a+60>>2]=Q[a+40>>2]>c>>>0?(1<>2]+1|0}if(d){N[a+60>>2]=256;N[a+52>>2]=9;L[a+32|0]=0;c=9}f=-1;if(N[a+4>>2]){break a}b=c;g=N[a+164>>2];h=N[g+4>>2];i=N[g+8>>2];if(h>>>0>i>>>0){d=a+8|0;b=N[g+20>>2];d:{if(b){e=Qa[b|0](g,i,d,c)|0;break d}b=h-i|0;e=b>>>0>>0?b:c;F(d,N[g>>2]+i|0,e)}N[g+8>>2]=N[g+8>>2]+e;b=N[a+52>>2]}N[a+24>>2]=0;d=e<<3;N[a+28>>2]=d;N[a+4>>2]=b>>>0>e>>>0;N[a+36>>2]=N[a+36>>2]+e;if(b>>>0>=d>>>0){break a}N[a+28>>2]=(d|1)-b;b=0;if(!e){break a}}N[a+24>>2]=b+c;d=(b>>>3|0)+a|0;h=d+8|0;b=b&7;f=O[h|0]>>>b|0;e=8-b|0;a=c-e|0;if(a>>>0<8){b=d+9|0}else{a=a-8|0;f=O[h+1|0]<>2];d=N[a+104>>2];e=N[a+100>>2];c=N[a+716>>2];if(c){Qa[c|0](N[a+712>>2])}if(b){Qa[N[b+12>>2]](a)}b=N[a+104>>2];a:{if(b){b:{if(!N[b+20>>2]){break b}c=N[a+764>>2];if(!c){break b}b=N[b+28>>2];Qa[N[b+8>>2]](b,c);b=N[a+104>>2]}N[a+760>>2]=0;N[a+764>>2]=0;c=N[a+784>>2];c:{if(c){f=N[b+28>>2];Qa[N[f+8>>2]](f,c);N[a+784>>2]=0;break c}N[a+784>>2]=0;if(!b){break a}}if(!N[b+20>>2]){break a}c=N[a+768>>2];if(!c){break a}b=N[b+28>>2];Qa[N[b+8>>2]](b,c);break a}N[a+784>>2]=0;N[a+760>>2]=0;N[a+764>>2]=0}N[a+768>>2]=0;b=N[a+704>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+700>>2]=0;N[a+704>>2]=0;d:{if(d){e:{if(!N[d+20>>2]){break e}b=N[a+688>>2];if(!b){break e}e=N[d+28>>2];Qa[N[e+8>>2]](e,b)}N[a+688>>2]=0;if(!N[d+20>>2]){break d}b=N[a+696>>2];if(!b){break d}d=N[d+28>>2];Qa[N[d+8>>2]](d,b);break d}N[a+688>>2]=0}N[a+684>>2]=0;N[a+692>>2]=0;N[a+696>>2]=0;dn(a);N[a+736>>2]=0}}function td(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0){break a}g=d-a|0;if(g>>>0<2){break a}e=N[b+12>>2];f=e-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=O[a|0]|O[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}if(g>>>0<6){break a}c=e-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+6|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=T((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function Uf(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=N[a+100>>2];b=N[a+292>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+292>>2]=0;b=N[a+308>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+308>>2]=0;b=N[a+284>>2];if(b){b:{if(N[a+280>>2]>0){b=0;while(1){d=N[a+284>>2];c:{if(!d){break c}d=d+T(b,12)|0;e=N[d>>2];if(e){Qa[N[c+8>>2]](c,e)}N[d>>2]=0;if(!O[d+4|0]){break c}e=N[d+8>>2];if(e){Qa[N[c+8>>2]](c,e)}N[d+8>>2]=0}b=b+1|0;if((b|0)>2]){continue}break}b=N[a+284>>2];if(!b){break b}}Qa[N[c+8>>2]](c,b)}N[a+284>>2]=0}b=N[a+192>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+192>>2]=0;b=N[a+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+32>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+32>>2]=0;b=N[a+176>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+176>>2]=0;b=N[a+180>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+180>>2]=0;c=N[a+104>>2];if((c|0)!=(a+132|0)){break a}b=N[c+24>>2];if(b){Qa[b|0](c)}N[a+104>>2]=N[a+172>>2]}}function HA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a+28>>2];if(O[d+44|0]){break b}c=To(d,N[b>>2],N[b+4>>2]);if(!c){break b}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=c;return}c:{c=N[d+12>>2];if((M[c+22>>1]+M[c+58>>1]|0)+3>>>0<=Q[c+4>>2]){break c}c=Sb(c,3,0);if(!c){break c}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=c;return}a=N[d+20>>2];d:{e:{f:{if(!O[d+45|0]){b=P[a+2>>1]+1|0;M[a+2>>1]=b;break f}c=N[a+8>>2];e=N[b+8>>2];f=M[a+2>>1];g=N[a+4>>2]+(f<<3)|0;N[g+4>>2]=N[b+12>>2]>>10;N[g>>2]=e>>10;L[c+f|0]=2;e=O[d+45|0];c=N[d+20>>2];M[a+2>>1]=P[a+2>>1]+1;if(e){break e}b=P[c+2>>1];a=c}M[a+2>>1]=b+1;break d}a=N[c+8>>2];e=N[b+16>>2];f=M[c+2>>1];g=N[c+4>>2]+(f<<3)|0;N[g+4>>2]=N[b+20>>2]>>10;N[g>>2]=e>>10;L[a+f|0]=2;e=O[d+45|0];a=N[d+20>>2];M[c+2>>1]=P[c+2>>1]+1;if(!e){break d}c=N[a+8>>2];d=N[b+24>>2];e=M[a+2>>1];f=N[a+4>>2]+(e<<3)|0;N[f+4>>2]=N[b+28>>2]>>10;N[f>>2]=d>>10;L[c+e|0]=1}M[a+2>>1]=P[a+2>>1]+1}}function Qj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{i=N[a+32>>2];if(!i){break a}j=N[a+24>>2];if(!j|N[a+20>>2]==275552){break a}d=b>>>9|0;f=N[a+28>>2];e=N[f+32>>2];b:{c:{d:{g=N[f+28>>2];c=N[f+20>>2];if(g>>>0<=c>>>0){break d}c=(c<<3)+e|0;if(N[c>>2]!=(d|0)){break d}d=c+4|0;break c}c=0;if((g|0)<=0){break b}h=g-1|0;e:{while(1){c=h+k>>>1|0;l=N[(c<<3)+e>>2];f:{if((l|0)>(d|0)){h=c-1|0;break f}if((d|0)==(l|0)){break e}k=c+1|0}if((h|0)>=(k|0)){continue}break}c=0;break b}N[f+20>>2]=c;d=(c>>>0>=g>>>0?275552:(c<<3)+e|0)+4|0}e=N[f+44>>2];c=0;if(!e){break b}c=(e+(N[d>>2]<<6)|0)+(b>>>3&56)|0;g=N[c>>2];e=N[c+4>>2];d=b&63;c=d&31;c=(d>>>0>=32?e>>>c|0:((1<>>c)&1}if((c|0)!=O[f+48|0]){break a}f=N[a+16>>2];N[a+16>>2]=275552;c=N[a+12>>2];d=N[a+8>>2];N[a+12>>2]=275552;N[a+32>>2]=i-1;N[a+8>>2]=275552;Qa[j|0](a,b);N[a+16>>2]=f;N[a+8>>2]=d;N[a+12>>2]=c;N[a+32>>2]=N[a+32>>2]+1;tc(N[a+28>>2],b)}}function Dd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;Tb(a,N[a+8>>2]);c=N[a>>2];N[d+12>>2]=c;f=N[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=O[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}N[b>>2]=c;N[b+8>>2]=2;if(Mi(d+12|0,f)){break e}break d}N[b>>2]=c;N[b+8>>2]=3;if(!ap(d+12|0,f)){break d}break e}N[b>>2]=c;N[b+8>>2]=3;N[a>>2]=c+1;Tb(a,f);c=N[a>>2];h:{if(f>>>0<=c>>>0){break h}e=1;while(1){if(N[a+12>>2]){break h}i:{j:{switch(O[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;N[d+12>>2]=c;N[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}Ni(a);Tb(a,N[a+8>>2]);c=N[a>>2];if(f>>>0>c>>>0){continue}break}}N[d+12>>2]=c;break e}N[b>>2]=c;N[b+8>>2]=O[c|0]==47?4:1;Ni(a);c=N[a>>2];N[d+12>>2]=c;if(!N[a+12>>2]){break c}}c=N[b+4>>2];break b}c=N[d+12>>2]}N[b+4>>2]=c}if(c){break a}N[b+8>>2]=0;N[b>>2]=0}N[a>>2]=N[d+12>>2]}La=d+16|0}function JD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if((d|0)<=0){break a}i=a+16|0;a=d-1|0;while(1){g=a+f>>>1|0;d=T(g,12)+i|0;h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b:{if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<=b>>>0){d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>>0){f=g+1|0;break b}e=T(g,12)+i|0;break a}a=g-1|0}if((a|0)>=(f|0)){continue}break}}a=0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);c:{if(f>>>0>(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break c}d=b-f|0;b=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;if(!b){break c}N[c>>2]=b;a=1}return a|0}function Iz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=La-96|0;La=d;e=so(N[a>>2],N[a+4>>2],b,c);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);c=0|b;hb(d+80|0,e^c^2025677871,b^Pa^-1602871964,0,0,c^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);b=a|f;hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,b^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+96|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function Fd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{i=N[b+4>>2];if(i>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}d=N[b+12>>2];c=d-2|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8;b:{if(!c){break b}if(a+2>>>0>=f>>>0){break a}d=d-3|0;N[b+12>>2]=d;if(!d){break a}e=O[a+2|0];if((e-1&255)>>>0>3){break a}j=(c<<8|c>>>8)&65535;g=T(e,j+1|0);h=a+3|0;if(g>>>0>f-h>>>0){break a}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=-1;a=T(e,j)+h|0;c:{d:{e:{switch(e-1|0){case 0:a=O[a|0];break d;case 1:a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break d;case 2:a=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);break d;case 3:break e;default:break c}}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}c=a-1|0;if(c){break c}return 1}a=g+h|0;if(a>>>0>>0|a>>>0>f>>>0){break a}e=0;if(f-a>>>0>>0){break b}a=d-c|0;N[b+12>>2]=a;e=(a|0)>0}return e}return 0}function _h(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=La-32|0;La=h;a:{if(!b){b=6;break a}i=N[a>>2];g=Qa[N[i+4>>2]](i,40)|0;if(!g){Qa[N[i+8>>2]](i,b);b=64;break a}L[g+20|0]=0;L[g+21|0]=0;L[g+22|0]=0;L[g+23|0]=0;L[g+24|0]=0;L[g+25|0]=0;L[g+26|0]=0;L[g+27|0]=0;L[g+12|0]=0;L[g+13|0]=0;L[g+14|0]=0;L[g+15|0]=0;L[g+16|0]=0;L[g+17|0]=0;L[g+18|0]=0;L[g+19|0]=0;N[g+8>>2]=0;N[g+4>>2]=c;N[g>>2]=b;L[g+36|0]=0;L[g+37|0]=0;L[g+38|0]=0;L[g+39|0]=0;L[g+28|0]=0;L[g+29|0]=0;L[g+30|0]=0;L[g+31|0]=0;L[g+32|0]=0;L[g+33|0]=0;L[g+34|0]=0;L[g+35|0]=0;N[g+24>>2]=113;N[h+16>>2]=g;N[h>>2]=2;if(e){N[h>>2]=10;c=N[a+16>>2];b:{if((c|0)<=0){c=0;break b}b=a+20|0;j=b+(c<<2)|0;while(1){c=N[b>>2];if(!cb(N[N[c>>2]+8>>2],e)){break b}b=b+4|0;if(j>>>0>b>>>0){continue}break}c=0}N[h+20>>2]=c}b=Td(a,h,d,f,0);if(!b){a=N[f>>2];N[a+8>>2]=N[a+8>>2]&-1025;b=0;break a}a=N[g+24>>2];if(a){Qa[a|0](g)}Qa[N[i+8>>2]](i,g)}La=h+32|0;return b}function jo(){sa(584844,16753);ra(584864,13202,1,1,0);ga(584872,12216,1,-128,127);ga(584888,12209,1,-128,127);ga(584880,12207,1,0,255);ga(584896,8776,2,-32768,32767);ga(584904,8767,2,0,65535);ga(584912,9191,4,-2147483648,2147483647);ga(584920,9182,4,0,-1);ga(584928,14531,4,-2147483648,2147483647);ga(584936,14522,4,0,-1);Ln(584944,9764,-2147483648,2147483647);Ln(584952,9763,0,-1);pa(584960,9670,4);pa(584968,16035,8);qa(440720,14562);qa(440792,20995);la(440864,4,14536);la(440940,2,14574);la(441016,4,14589);Ka(441044,13355);ea(441084,0,20926);ea(441124,0,21028);ea(441164,1,20956);ea(441204,2,20491);ea(441244,3,20522);ea(441284,4,20562);ea(441324,5,20591);ea(441364,4,21065);ea(441404,5,21095);ea(441124,0,20693);ea(441164,1,20660);ea(441204,2,20759);ea(441244,3,20725);ea(441284,4,20893);ea(441324,5,20859);ea(441444,8,20826);ea(441484,9,20792);ea(441524,6,20629);ea(441564,7,21134)}function $i(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=N[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<20){break a}e=N[b+12>>2];c=e-20|0;N[b+12>>2]=c;if((O[a|0]|O[a+1|0]<<8)!=256|(c|0)<=0){break a}c=a+8|0;if(c>>>0>f>>>0|f-c>>>0<4){break a}d=O[a+4|0]|O[a+5|0]<<8;g=O[a+6|0]|O[a+7|0]<<8;e=e-24|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break a}d=T((g<<8|g>>>8)&65535,(d<<8|d>>>8)&65535);if((d|0)<0){break a}d=d<<1;if(d){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>f>>>0|d>>>0>f-c>>>0){break a}e=e-d|0;N[b+12>>2]=e;if((e|0)<=0){break a}}c=O[a+12|0]|O[a+13|0]<<8;c=(c<<8|c>>>8)&65535;d=a+20|0;g=f-d|0;b:{if(L[a+15|0]&1){if(d>>>0>f>>>0){break a}a=(c<<2)+4|0;if(g>>>0>=a>>>0){break b}break a}if(d>>>0>f>>>0){break a}a=(c<<1)+2|0;if(g>>>0>>0){break a}}a=e-a|0;N[b+12>>2]=a;i=(a|0)>0}return i}function Db(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=N[a+112>>2];d=N[a+116>>2];g=(b|d)!=0;f=b;c=N[a+4>>2];h=N[a+44>>2];b=c-h|0;i=b;e=b+N[a+120>>2]|0;b=N[a+124>>2]+(b>>31)|0;a:{b=e>>>0>>0?b+1|0:b;if(!(((b|0)>=(d|0)&e>>>0>=f>>>0|(b|0)>(d|0))&g)){d=La-16|0;La=d;c=-1;b:{if(mi(a)){break b}if((Qa[N[a+32>>2]](a,d+15|0,1)|0)!=1){break b}c=O[d+15|0]}La=d+16|0;d=c;if((c|0)>=0){break a}h=N[a+44>>2];c=N[a+4>>2]}N[a+112>>2]=-1;N[a+116>>2]=-1;N[a+104>>2]=c;d=h-c|0;c=d+e|0;b=(d>>31)+b|0;N[a+120>>2]=c;N[a+124>>2]=c>>>0>>0?b+1|0:b;return-1}c=e+1|0;b=c?b:b+1|0;g=N[a+4>>2];h=N[a+8>>2];f=N[a+116>>2];i=f;e=N[a+112>>2];c:{if(!(f|e)){break c}f=e-c|0;e=i-(b+(c>>>0>e>>>0)|0)|0;j=h-g|0;i=j>>31;if((e|0)>=(i|0)&f>>>0>=j>>>0|(e|0)>(i|0)){break c}h=f+g|0}N[a+104>>2]=h;e=N[a+44>>2];f=e-g|0;c=f+c|0;b=(f>>31)+b|0;N[a+120>>2]=c;N[a+124>>2]=c>>>0>>0?b+1|0:b;if(e>>>0>=g>>>0){L[g-1|0]=d}return d}function Gq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=db(1,16);a:{if(!f){break a}d=N[a+44>>2];if((d|0)<=0){break a}e=N[a+48>>2];d=d-1|0;a=d;b:{while(1){b=a>>>1|0;if(!N[T(b,36)+e>>2]){a=N[(T(b,36)+e|0)+28>>2];break b}c=a>>>0>1;a=b-1|0;if(c){continue}break}a=0}N[f>>2]=a;b=0;a=d;c:{while(1){c=a+b>>>1|0;g=N[T(c,36)+e>>2];d:{if(g>>>0<=1818914159){b=N[(T(c,36)+e|0)+28>>2];if((g|0)==1818914159){break c}b=c+1|0;break d}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}N[f+4>>2]=b;b=0;a=d;e:{while(1){c=a+b>>>1|0;g=N[T(c,36)+e>>2];f:{if(g>>>0<=1986686319){b=N[(T(c,36)+e|0)+28>>2];if((g|0)==1986686319){break e}b=c+1|0;break f}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}N[f+8>>2]=b;a=0;g:{while(1){b=a+d>>>1|0;c=N[T(b,36)+e>>2];h:{if(c>>>0<=1953131887){a=N[(T(b,36)+e|0)+28>>2];if((c|0)==1953131887){break g}a=b+1|0;break h}d=b-1|0}if((a|0)<=(d|0)){continue}break}a=0}N[f+12>>2]=a}return f|0}function Rb(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(O[b|0]){g=S[b+8>>3];break a}L[b|0]=1;g=S[b+8>>3];f=S[a+4392>>3];if(g>f){S[b+8>>3]=f;g=f;f=S[a+4392>>3]}if(f>S[b+24>>3]){S[b+24>>3]=f}f=S[a+4400>>3];if(f>3]){S[b+16>>3]=f;f=S[a+4400>>3]}if(!(S[b+32>>3]>3]=f}f=S[c>>3];if(g>f){S[b+8>>3]=f;g=f;f=S[c>>3]}h=S[b+24>>3];if(f>h){S[b+24>>3]=f;h=f}i=S[b+16>>3];f=S[c+8>>3];if(i>f){S[b+16>>3]=f;i=f;f=S[c+8>>3]}j=S[b+32>>3];if(f>j){S[b+32>>3]=f;j=f}f=S[d>>3];if(f>3]=f;f=S[d>>3]}if(f>h){S[b+24>>3]=f}g=S[d+8>>3];if(i>g){S[b+16>>3]=g;g=S[d+8>>3]}if(g>j){S[b+32>>3]=g}c=N[e+4>>2];N[a+4392>>2]=N[e>>2];N[a+4396>>2]=c;d=N[e+12>>2];c=a+4400|0;N[c>>2]=N[e+8>>2];N[c+4>>2]=d;g=S[a+4392>>3];if(g>3]){S[b+8>>3]=g;g=S[a+4392>>3]}if(S[b+24>>3]>3]=g}g=S[a+4400>>3];if(g>3]){S[b+16>>3]=g;g=S[a+4400>>3]}if(S[b+32>>3]>3]=g}}function Oh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=N[b+4>>2]+(c<<4)|0;m=N[l+4>>2];if(!m){return 0}p=N[l+12>>2]+(T(d,m)<<1)|0;n=P[b+8>>1];while(1){a:{if(!n){d=65536;break a}c=N[N[b+16>>2]+(N[N[l+8>>2]+(k<<2)>>2]<<2)>>2];e=0;d=65536;while(1){g=d;i=N[c>>2];f=N[c+4>>2];b:{if((i|0)>(f|0)){break b}j=N[c+8>>2];if(!f|(f|0)>(j|0)){break b}if((i|0)<0&(j|0)>0){break b}h=N[N[N[a+736>>2]+8>>2]+(e<<2)>>2];if((f|0)==(h|0)){break b}d=0;if((h|0)<=(i|0)|(h|0)>=(j|0)){break a}if((f|0)>(h|0)){g=jb(g,h-i|0,f-i|0);break b}g=jb(g,j-h|0,j-f|0)}d=g;c=c+12|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}g=M[(k<<1)+p>>1];c=g<<16;e=c>>31;e=(c^e)-e|0;c=d>>31;c=(c^d)-c|0;c:{if((e>>>8|0)+c>>>0<=8190){e=T(c,e)>>>16|0;break c}e=T(c&65535,e>>>16|0)+T(e,c>>>16|0)|0}c=e;f=0-c|0;c=d>>31|1;o=((((g|0)<0?0-c|0:c)|0)<0?f:e)+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}return o+32768>>16}function qh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[b+4>>2];a:{if(k>>>0>a>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(h>>>0>1073741823){break a}j=h<<2;if(j){i=a+4|0;if(i>>>0>g>>>0|j>>>0>g-i>>>0){break a}d=d-j|0;N[b+12>>2]=d;if((d|0)<=0){break a}}if(!e){return 1}h=h>>>0<=1?1:h;j=a+4>>>0>>0;while(1){b:{c:{if(j){break c}f=(l<<2)+a|0;e=f+4|0;if(e>>>0>g>>>0|g-e>>>0<4){break c}i=d-4|0;N[b+12>>2]=i;if((d|0)<5){break c}f=O[f+6|0]|O[f+7|0]<<8;if(!f){d=i;break b}d=O[e|0]|O[e+1|0]<<8;d=((d<<8|d>>>8)&65535)+c|0;if(d>>>0>>0|d>>>0>g>>>0){break c}e=g-d|0;d=(f<<8|f>>>8)&65535;if(e>>>0>>0){break c}d=i-d|0;N[b+12>>2]=d;if((d|0)>0){break b}}f=0;break a}f=1;l=l+1|0;if((h|0)!=(l|0)){continue}break}}return f}function Gi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!((b|0)==(d|0)&(c|0)==(e|0))){g=N[a+28>>2];h=g+1|0;f=N[a+36>>2];a:{if(h>>>0<=f>>>0){f=N[a+20>>2];break a}f=f<<1;f=f>>>0<=64?64:f;while(1){g=f;f=f<<1;if(g>>>0>>0){continue}break}f=$a(N[a+20>>2],T(g,40));if(!f){return 0}N[a+36>>2]=g;N[a+20>>2]=f;g=N[a+28>>2];h=g+1|0}N[a+28>>2]=h;a=T(g,40)+f|0;N[a+36>>2]=(c|0)>(e|0)?c:e;N[a+32>>2]=(c|0)<(e|0)?c:e;N[a+28>>2]=(b|0)>(d|0)?b:d;N[a+24>>2]=(b|0)<(d|0)?b:d;d=d-b|0;f=(d|0)<0?62:60;e=e-c|0;N[a+20>>2]=(e|0)<0?f:f^3;i=d>>31;f=i;f=(f^d)-f|0;j=e>>31;g=j;g=(g^e)-g|0;g=(f|0)>(g|0)?f:g;h=W(g)^31;f=30-h|0;N[a+12>>2]=0-d<>2]=e<>31);e=Pa;f=1<>31);k=a,l=UE(f,f>>31,b-c|0,e-(Pa+(b>>>0>>0)|0)|0),N[k>>2]=l;N[a+4>>2]=Pa;b=a;a=g<<31-h;UE(a,0,a,0);UE(Pa,0,1395864371,0);c=Pa;UE(a,0,-1144608785,0);N[b+16>>2]=(c-Pa|0)-2012192179}return 1}function Ak(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;a:{if(Q[b+4>>2]>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}e=N[b+12>>2];d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(d>>>0>f>>>0|f-d>>>0<2){break a}h=e-6|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[d|0]|O[d+1|0]<<8;if(e){d=a+4|0;if(f>>>0>>0){break a}f=f-d|0;d=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break a}d=h-d|0;N[b+12>>2]=d;if((d|0)<=0){break a}}e=O[a|0]|O[a+1|0]<<8;b:{if(!e){break b}N[g+12>>2]=c?N[c>>2]:0;if(!zk(a,b,a,g+12|0)){break a}if(!c|(O[a|0]|O[a+1|0]<<8)|N[c>>2]!=1936292453){break b}d=N[c+4>>2];if(!d|a>>>0<=d>>>0){break b}e=(d-a|0)+((e<<8|e>>>8)&65535)|0;if(e>>>0>65535){break b}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}d=e<<8|(e&65280)>>>8;L[a|0]=d;L[a+1|0]=d>>>8;N[g+8>>2]=N[c>>2];if(!zk(a,b,a,g+8|0)){break a}}i=1}La=g+16|0;return i}function ll(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=N[a+68>>2];if(!i){N[a+68>>2]=0;return}while(1){a:{b:{d=N[a+80>>2];g=T(e,20);b=d+g|0;if(N[b>>2]==65535){g=N[b+8>>2];c:{d:{e:{c=e+1|0;if(c>>>0>>0){if(N[(T(c,20)+d|0)+8>>2]!=(g|0)){break e}break a}if(f){break d}break b}if(!f){break c}}h=N[(T(f,20)+d|0)-12>>2];if(h>>>0<=g>>>0){break a}j=N[b+4>>2]&7;e=f;while(1){e=e-1|0;b=T(e,20)+d|0;if((h|0)!=N[b+8>>2]){break a}N[b+4>>2]=j|N[b+4>>2]&-8;N[b+8>>2]=g;if(e){continue}break}break a}Ib(a,e,e+2|0);break b}if((e|0)!=(f|0)){h=N[b+4>>2];c=d;d=T(f,20);c=c+d|0;N[c>>2]=N[b>>2];N[c+4>>2]=h;N[c+16>>2]=N[b+16>>2];h=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=h;b=N[a+88>>2];c=b+d|0;b=b+g|0;d=N[b+4>>2];N[c>>2]=N[b>>2];N[c+4>>2]=d;d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;N[c+16>>2]=N[b+16>>2]}f=f+1|0;c=e+1|0;break a}f=0}e=c;if((i|0)!=(c|0)){continue}break}N[a+68>>2]=f}function $q(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{c:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=O[c+4|0]|O[c+5|0]<<8;if(!d){break a}d=(d<<8|d>>>8)&65535;f=d>>>0<=1?1:d;d=0;while(1){e=O[c+4|0]|O[c+5|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=d>>>0?275552:((d<<1)+c|0)+6|0;e=O[e|0]|O[e+1|0]<<8;if(((e<<8|e>>>8)&65535)==(b|0)){e=O[c+2|0]|O[c+3|0]<<8;tc(a,((e<<8|e>>>8)&65535)+d|0)}d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}e=O[c+2|0]|O[c+3|0]<<8;if(!e){break a}d=c+4|0;c=d+T((e<<8|e>>>8)&65535,6)|0;e=a+12|0;while(1){d:{f=O[d+4|0]|O[d+5|0]<<8;if(((f<<8|f>>>8)&65535)==(b|0)){f=O[d+2|0]|O[d+3|0]<<8;f=(f<<8|f>>>8)&65535;g=O[d|0]|O[d+1|0]<<8;g=(g<<8|g>>>8)&65535;if(!O[a+48|0]){break d}rd(e,g,f)}d=d+6|0;if((c|0)!=(d|0)){continue}break a}if(!Me(e,g,f)){break a}d=d+6|0;if((c|0)!=(d|0)){continue}break}}}function wc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=b>>>9|0;d=N[a+20>>2];a:{b:{c:{b=N[a+8>>2];c=N[a+16>>2];if(b>>>0>=c>>>0){break c}b=(b<<3)+d|0;if(N[b>>2]!=(e|0)){break c}b=b+4|0;break b}f=N[a+28>>2];b=0;d:{if((c|0)>0){g=c-1|0;while(1){c=b+g>>>1|0;h=N[(c<<3)+d>>2];e:{if((h|0)>(e|0)){g=c-1|0;break e}if((e|0)==(h|0)){b=c;break d}b=c+1|0}if((b|0)<=(g|0)){continue}break}}if(!Df(a,f+1|0)){break a}c=N[a+32>>2]+(f<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=b<<3;d=c+N[a+20>>2]|0;F(d+8|0,d,N[a+16>>2]+(b^-1)<<3);f:{if(Q[a+16>>2]<=b>>>0){N[147456]=0;N[147457]=0;c=589824;break f}c=c+N[a+20>>2]|0}N[c>>2]=e;N[c+4>>2]=f;d=N[a+20>>2]}N[a+8>>2]=b;b=((b<<3)+d|0)+4|0}i=N[a+32>>2]+(N[b>>2]<<6)|0}return i}function qn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(!a){return 35}if(!e){return 6}f=N[a+96>>2];N[e>>2]=0;N[e+4>>2]=0;f=N[N[f+12>>2]+76>>2];if(!f){return 0}c=Qa[f|0](a,b,c,e)|0;a:{if(c){break a}f=N[e>>2];c=f>>31;b=N[a+88>>2];h=N[b+16>>2];a=h>>31;c=(c^f)-c|0;a=(a^h)-a|0;b:{if(c+(a>>>8|0)>>>0<=8190){c=T(a,c)+32768>>>16|0;break b}i=c&65535;c=T(i,a>>>16|0)+T(a,c>>>16|0)+(T(i,a&65535)+32768>>>16)|0}a=c;g=0-a|0;a=f>>31|1;f=(((h|0)<0?0-a|0:a)|0)<0?g:c;N[e>>2]=f;h=N[e+4>>2];c=h>>31;i=N[b+20>>2];a=i>>31;c=(c^h)-c|0;a=(a^i)-a|0;c:{if(c+(a>>>8|0)>>>0<=8190){g=T(a,c)+32768>>>16|0;break c}g=c&65535;g=T(g,a>>>16|0)+T(a,c>>>16|0)+(T(g,a&65535)+32768>>>16)|0}a=g;c=0;j=0-a|0;a=h>>31|1;a=(((i|0)<0?0-a|0:a)|0)<0?j:g;N[e+4>>2]=a;if((d|0)==1){break a}d=P[b+12>>1];if(d>>>0<=24){f=jb(f,d,25)}b=P[b+14>>1];if(b>>>0<=24){a=jb(a,b,25)}N[e+4>>2]=a+32&-64;N[e>>2]=f+32&-64}return c}function Mg(a,b,c,d,e){var f=0,g=0,h=U(0),i=0,j=0,k=U(0),l=0,m=0,n=0,o=0;f=O[a+2|0]|O[a+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){return U(0)}a:{if(e){l=(b<<2)+e|0;h=R[l>>2];if(h!=U(2)){break a}}f=O[a|0]|O[a+1|0]<<8;b:{c:{if(!f){h=U(1);break c}g=a;a=(f<<8|f>>>8)&65535;m=(g+T(T(a,b),6)|0)+4|0;n=a>>>0<=1?1:a;h=U(1);a=0;while(1){b=0;b=a>>>0>>0?N[(a<<2)+c>>2]:b;k=U(1);d:{f=T(a,6)+m|0;i=O[f+2|0]|O[f+3|0]<<8;j=(i<<8|i>>>8)<<16>>16;g=O[f|0]|O[f+1|0]<<8;g=(g<<8|g>>>8)<<16>>16;if((j|0)<(g|0)){break d}f=O[f+4|0]|O[f+5|0]<<8;f=(f<<8|f>>>8)<<16>>16;if((f|0)<(j|0)|!(i?(f|0)<=0|(g|0)>=0:1)){break d}if(!i|(b|0)==(j|0)){break d}if(!((b|0)<=(g|0)|(b|0)>=(f|0))){i=b-g|0;o=f-b|0;b=(b|0)<(j|0);k=U(U((b?i:o)|0)/U((b?j-g|0:f-j|0)|0));if(k!=U(0)){break d}}h=U(0);if(e){break b}break a}h=U(h*k);a=a+1|0;if((n|0)!=(a|0)){continue}break}}if(!e){break a}}R[l>>2]=h}return h}function wp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=N[a+2744>>2];l=i&4;f=64;a:{if(l){break a}f=(e|0)==1?55:49;if(!(!(L[b+12|0]&1)|!(L[c+12|0]&1))){break a}f=(e|0)==1?61:59}m=N[c+4>>2];n=N[b+4>>2];j=Fg(i,N[a+2748>>2],e,m-n|0);b:{c:{d:{e:{i=(((m+n|0)/2|0)+d|0)+((j|0)/-2|0)|0;a=i&63;f:{if(!a){break f}g=j+i&63;if(!g){break f}d=64-a|0;if((f|0)>=(j|0)){if((g|0)>=(j|0)){break f}if(d>>>0<=g>>>0){break c}h=0-g|0;break f}if(!l){if(a>>>0>=f>>>0|d>>>0>=f>>>0|(f>>>0<=g>>>0|f>>>0<=64-g>>>0)){break f}}k=j&63;if(k>>>0>31){break e}if(d>>>0<=k>>>0){break f}if(g>>>0>k>>>0){break d}}a=(h|0)<=-14?-14:h;break b}k=64-f|0}e=d-k|0;a=f-d|0;h=(a|0)>(e|0)?e:0-a|0;e=h>>31;d=f-g|0;a=g-k|0;d=(a|0)>(d|0)?d:0-a|0;a=d>>31;d=(e^h)-e>>>0>(a^d)-a>>>0?d:h}h=d;a=(d|0)<=-14?-14:d;a=(a|0)>=14?14:a}d=l?h:a;f=d+i|0;e=f+j|0;a=(m|0)>(n|0);N[b+8>>2]=a?f:e;N[c+8>>2]=a?e:f;return d}function zw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;c=N[a>>2];a:{if(O[c+8|0]&2){if(!(Qa[N[N[c+540>>2]+104>>2]](c,b,g+12|0)|0)){Bm(a,N[g+12>>2]);break a}N[a+44>>2]=-1;c=N[a>>2]}se(c,b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}e=N[N[c+712>>2]+3080>>2];c=b+20|0;b=c+(d<<2)|0;while(1){d=N[c>>2];if(cb(N[N[d>>2]+8>>2],11971)){c=c+4|0;if(b>>>0>c>>>0){continue}break a}break}if(!e){break a}b=N[e>>2];if(!b){break a}d=Qa[b|0](d)|0;if(!d){break a}h=N[N[a>>2]+712>>2];e=N[h+1440>>2];i=N[N[a+40>>2]>>2];Qa[N[d+4>>2]](N[i>>2],N[a+16>>2],N[a+20>>2],0,0);c=N[h+2024>>2];if(!c){break a}while(1){b=N[a+16>>2];c=c-1|0;j=c<<2;f=N[N[(j+h|0)+2028>>2]+68>>2];b:{if((f|0)!=(e|0)){b=jb(b,e,f);f=jb(N[a+20>>2],e,f);break b}f=N[a+20>>2]}Qa[N[d+4>>2]](N[(i+j|0)+4>>2],b,f,0,0);if(c){continue}break}}La=g+16|0;return 0}function sD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;e=N[b+96>>2];f=N[e+72>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+52>>2]}else{e=0}g=Qa[f|0](b,g,c,d,e)|0;if(g){f=N[a+20>>2];a:{if(f){b=N[d>>2];c=N[f+28>>2];e=N[a+28>>2];if((c|0)!=(e|0)){b=VE(UE(e,e>>31,b,b>>31),Pa,c,c>>31)}N[d>>2]=b;b=N[d+4>>2];c=N[f+32>>2];e=N[a+32>>2];if((c|0)!=(e|0)){b=VE(UE(e,e>>31,b,b>>31),Pa,c,c>>31)}N[d+4>>2]=b;e=N[d+8>>2];b=N[f+28>>2];c=N[a+28>>2];if((b|0)!=(c|0)){e=VE(UE(c,c>>31,e,e>>31),Pa,b,b>>31)}b=d+12|0;N[d+8>>2]=e;c=N[d+12>>2];d=N[f+32>>2];a=N[a+32>>2];if((d|0)==(a|0)){break a}c=VE(UE(a,a>>31,c,c>>31),Pa,d,d>>31);break a}b=d+12|0;c=N[d+12>>2]}N[b>>2]=c}return g|0}function np(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=N[a>>2];if(f){g=N[(N[a+24>>2]+T(b,204)|0)+200>>2];b=g>>31;e=(b^g)-b|0;j=e&65535;k=e>>>16|0;l=e>>>8|0;a=N[a+8>>2];while(1){b=N[a+24>>2];if(b){i=N[a+16>>2];c=N[b+8>>2];a:{if(i&512){break a}c=N[b+12>>2]+N[b+8>>2]|0;if(i&1024){break a}c=N[a+28>>2]-N[b>>2]|0;if((c|0)<=0){h=N[b+8>>2];b=c>>31;b=(b^c)-b|0;b:{if(b+l>>>0<=8190){d=T(b,e)+32768>>>16|0;break b}d=b&65535;d=T(d,k)+T(b>>>16|0,e)+(T(d,j)+32768>>>16)|0}b=d;m=0-b|0;b=c>>31|1;c=h+((((g|0)<0?0-b|0:b)|0)<0?m:d)|0;break a}h=N[b+12>>2];d=N[b+8>>2];b=N[b+4>>2];if((b|0)<=(c|0)){d=d+h|0;b=c-b|0;c:{if(b+l>>>0<=8190){c=T(b,e)+32768>>>16|0;break c}c=b&65535;c=T(c,k)+T(b>>>16|0,e)+(T(c,j)+32768>>>16)|0}b=b>>31|1;c=d+((((g|0)<0?0-b|0:b)|0)<0?0-c|0:c)|0;break a}c=jb(c,h,b)+d|0}N[a+36>>2]=c;N[a+16>>2]=i|32}a=a+40|0;f=f-1|0;if(f){continue}break}}}function Lr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{d:{a=b-44032|0;if(!(a>>>0>11171|c-4520>>>0>26)){if(((a&65535)>>>0)%28|0){break d}b=(b+c|0)-4519|0;break a}if(!(b-4352>>>0>18|c-4449>>>0>20)){b=(T(b,588)+T(c,28)|0)-2639516|0;break a}if((c&-128)!=768|b>>>0>2047){break d}a=c<<14&2080768|b<<21;b=637;c=0;while(1){e:{e=b+c>>>1|0;h=N[(e<<2)+228848>>2];g=h&-16384;f:{if(a>>>0>>0){b=e-1|0;break f}if(a>>>0<=g>>>0){break e}c=e+1|0}if((b|0)>=(c|0)){continue}break b}break}b=h&16383;break c}a=c>>>11|0;h=c<<21;e=b<<10|a;b=387;c=0;while(1){g:{g=b+c>>>1|0;f=(g<<3)+231408|0;a=N[f>>2];f=N[f+4>>2]&2147483647;i=a&-2097152;h:{if((f|0)==(e|0)&i>>>0>h>>>0|e>>>0>>0){b=g-1|0;break h}if((e|0)==(f|0)&h>>>0<=i>>>0|e>>>0>>0){break g}c=g+1|0}if((b|0)>=(c|0)){continue}break b}break}b=a&2097151}if(b){break a}}return 0}N[d>>2]=b;return 1}function JC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=0,i=U(0);f=La-96|0;La=f;h=N[b+12>>2];a:{if(vc(h,c,N[b>>2]|8)){break a}b=N[h+84>>2];if(N[b+72>>2]!=1869968492){break a}c=N[69481];N[f+88>>2]=N[69480];N[f+92>>2]=c;c=N[69479];N[f+80>>2]=N[69478];N[f+84>>2]=c;c=N[69477];N[f+72>>2]=N[69476];N[f+76>>2]=c;g=R[a+40>>2];N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+60>>2]=0;a=f- -64|0;N[a>>2]=0;N[a+4>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+20>>2]=e;N[f+16>>2]=d;R[f+8>>2]=g;L[f+12|0]=g==U(0);Yh(b+108|0,f+72|0,f+8|0);if(!N[f+24>>2]){break a}b=f+24|0;c=N[f+20>>2];a=N[f+16>>2];i=R[f+28>>2];g=R[f+32>>2];if(!(i==R[f+36>>2]&g==R[f+40>>2])){e=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](a,c,b,i,g,d)}e=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](a,c,b,d)}La=f+96|0}function Gp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=La-48|0;La=d;N[d+32>>2]=N[73412];c=N[73411];N[d+24>>2]=N[73410];N[d+28>>2]=c;c=N[73409];N[d+16>>2]=N[73408];N[d+20>>2]=c;a:{b=db(1,172);b:{if(!b){b=588184;break b}N[b+148>>2]=1073741823;N[b+152>>2]=536870911;N[b>>2]=1;N[b+4>>2]=1;c=Ic();c:{if(!c){break c}e=N[c>>2];if(!e){break c}if((e|0)<=0){break a}N[c>>2]=e+1}L[b+60|0]=1;N[b+24>>2]=65533;N[b+12>>2]=c}i=d+16|0;c=0;e=0;d:{while(1){i=Fe(i,a,b,d+12|0);e:{if(Q[d+12>>2]>1){break e}g=N[b+80>>2];h=N[b+68>>2];f:{g:{if(O[b+63|0]){break g}f=0;if(N[b+168>>2]){break f}N[b+84>>2]=g;N[b+72>>2]=0;M[b+62>>1]=256;f=T(h,20);if(!f){break g}C(N[b+88>>2],0,f)}f=N[b+88>>2]}if(!h|!N[g>>2]){break e}g=N[f>>2];h=c;c=1;if(!h){e=g;break e}if((e|0)==(g|0)){break e}c=0;break d}if(O[i|0]){continue}break}c=1}dc(b);L[a+32|0]=c;La=d+48|0;return}ba(23506,14099,260,16403);B()}function af(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(a){d=M[a+56>>1];M[a+20>>1]=d+P[a+20>>1];b=P[a+22>>1];M[a+22>>1]=b+P[a+58>>1];h=N[a+48>>2]+N[a+84>>2]|0;N[a+48>>2]=h;a:{if((d|0)<=0){break a}g=N[a+68>>2];if(d>>>0>=4){j=d&-4;while(1){c=f<<1;e=c+g|0;M[e>>1]=b+P[e>>1];e=g+(c|2)|0;M[e>>1]=b+P[e>>1];e=g+(c|4)|0;M[e>>1]=b+P[e>>1];c=g+(c|6)|0;M[c>>1]=b+P[c>>1];f=f+4|0;if((j|0)!=(f|0)){continue}break}}d=d&3;if(!d){break a}while(1){c=g+(f<<1)|0;M[c>>1]=b+P[c>>1];f=f+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}N[a+84>>2]=0;N[a+56>>2]=0;b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;c=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[c>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;if(O[a+16|0]){b=M[a+22>>1]<<3;N[a+76>>2]=b+N[a+40>>2];N[a+80>>2]=b+N[a+44>>2]}b=a;a=N[a+52>>2];N[b+88>>2]=a?a+(h<<5)|0:0}}function BB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=N[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){e=N[a>>2];c=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=P[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k;break c}if(!(N[e+28>>2]!=(f|0)|N[e+16>>2]>0)&(!(l&16)|N[a+8>>2]>(d-c|0))|!(N[f+28>>2]!=(e|0)|N[e+20>>2]!=(b|0))&(!(l&32)|N[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k}e=N[a>>2];c=g;c=(j|0)>=0?Q[a+96>>2]>j>>>e>>>0?j:i:c;d=((g|0)==(c|0)?i:g)>>e;if((d|0)<0|d>>>0>=Q[a+96>>2]){break b}if(O[(N[a+52>>2]+(b>>3)|0)-T(d,N[a+104>>2])|0]&128>>>(b&7)){break a}}c=c>>e;if((c|0)<0|c>>>0>=Q[a+96>>2]){break a}a=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[a|0]=O[a|0]|128>>>(b&7)}}function qA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;N[a+8>>2]=d;N[a+4>>2]=b;M[a+64>>1]=256;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;g=N[b+32>>2];f=b- -64|0;N[f>>2]=N[b+28>>2];N[f+4>>2]=g;N[b+88>>2]=N[b+52>>2];f=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=f;f=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=f;f=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=f;N[a+68>>2]=0;N[a+72>>2]=0;if(!c|!e){break a}b=N[N[c+40>>2]>>2];if(!b){break a}N[a+72>>2]=N[b>>2];N[a+68>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73600];N[a+76>>2]=N[73599];N[a+80>>2]=b;b=N[73602];N[a+84>>2]=N[73601];N[a+88>>2]=b;b=N[73604];N[a+92>>2]=N[73603];N[a+96>>2]=b;b=N[73606];N[a+100>>2]=N[73605];N[a+104>>2]=b}function Io(a,b){var c=0,d=0;a:{b:{if(a>>>0>=b>>>0){break b}c=1;b=(b-a|0)+1|0;c:{d:{e:{f:{g:{h:{i:{d=L[a|0];switch(d-75|0){case 0:case 32:break c;case 27:break g;case 34:break h;case 41:break i;default:break b}}if(b>>>0<2){break b}if((d|0)==116){break f}break b}if(b>>>0<5){break b}if(!bb(a,15447,4)){break e}break b}if(b>>>0<4){break b}j:{if(bb(a,16930,3)){break j}k:{d=O[a+3|0];switch(d-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break j;case 0:case 8:break c;default:break k}}if((d|0)==9){break c}}if(b>>>0<5){break b}if(!bb(a,16398,4)){break d}break b}c=0;a=O[a+1|0];if(a>>>0>=41){break c}break a}c=0;a=O[a+4|0];if(a>>>0>=41){break c}break a}c=0;b=O[a+4|0];if(b>>>0>=41){break c}a=b&31;c=((b&63)>>>0>=32?257>>>a|0:((1<>>a)&1}return c}return 0}b=a&31;return((a&63)>>>0>=32?257>>>b|0:((1<>>b)&1}function GE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=db(1,8);a:{if(d){c=N[a+44>>2];b=0;b:{if((c|0)<=0){break b}e=N[a+48>>2];b=c-1|0;c:{while(1){c=b+f>>>1|0;g=N[T(c,36)+e>>2];d:{if(g>>>0>=1919969383){b=c-1|0;break d}if((g|0)==1919969382){break c}f=c+1|0}if((b|0)>=(f|0)){continue}break}b=0;break b}b=N[(T(c,36)+e|0)+28>>2]}N[d>>2]=b;b=N[a+4>>2];e:{if((b|0)<=1333094257){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074|(b|0)==1130918515){break e}break a}f:{switch(b-1298230884|0){case 1:case 2:case 3:case 4:break a;case 0:case 5:break e;default:break f}}if((b|0)==1299148391|(b|0)==1315663727){break e}break a}if((b|0)<=1383032934){if((b|0)==1333094258|(b|0)==1349017959|(b|0)==1349020784){break e}break a}if((b|0)==1383032935|(b|0)==1400468067){break e}if((b|0)!=1399809892){break a}}a=Bj(a);N[d+4>>2]=a;if(a){break a}_a(d)}d=0}return d|0}function Jk(a,b){var c=0,d=0,e=0,f=0,g=0;g=1;d=P[b+12>>1];f=N[a+8>>2];a:{if(d&f&14){break a}b:{if(!(d&8)){break b}if(f&16){d=275552;c=N[N[a+4>>2]+104>>2];c:{if((O[c|0]|O[c+1|0]<<8)!=256){break c}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<65538){break c}e=O[c+12|0]|O[c+13|0]<<8;if(!e){break c}d=c+((e<<8|e>>>8)&65535)|0}if((O[d|0]|O[d+1|0]<<8)!=256){break a}c=275552;f=f>>>16|0;e=O[d+2|0]|O[d+3|0]<<8;if(f>>>0<((e<<8|e>>>8)&65535)>>>0){c=((f<<2)+d|0)+4|0}f=N[b>>2];c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0}else{c=275552}if((vb(c,f)|0)==-1){break a}d=P[b+12>>1];break b}c=f&65280;if(!c){break b}if((c|0)!=(d&65280)){break a}}g=0;b=P[b+16>>1];if(d&16|(b&96)!=32|!O[a+16|0]&(b&543)==513){break a}g=(b&287)!=257?2:O[a+17|0]<<1}return g}function Zr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=N[a+16>>2];i=a+518|0;j=a+6|0;while(1){b:{e=d>>>0>255;c:{d:{e:{if(!e){c=(d<<1&510)+j|0;a=i;if(!(O[c|0]<<8|O[c+1|0])){break e}break d}a=(d>>>7&33554430)+j|0;a=O[a|0]<<8|O[a+1|0]&248;if(!a){break d}a=a+i|0}c=a;a=O[c+1|0]|O[c|0]<<8;g=O[c+3|0]|O[c+2|0]<<8;f=d&255;h=O[c+6|0];k=O[c+7|0];l=O[c+4|0];m=O[c+5|0];if(!e){e=256;if(f>>>0>=a+g>>>0){break c}}h=h<<8|k;if(!h){if((d|0)!=256){break d}break b}e=(d&-256)+(a>>>0>>0?f:a)|0;a=f-a|0;a=a>>>0<=f>>>0?a:0;if(g>>>0>a>>>0){f=l<<8|m;d=c+6+(h+(a<<1))|0;while(1){c=O[d+1|0]|O[d|0]<<8;if(c){c=c+f&65535;if(c){break a}}d=d+2|0;e=e+1|0;a=a+1|0;if(g>>>0>a>>>0){continue}break}}d=e-((g|0)!=0)|0}e=d>>>0<256?d+1|0:(d&-256)+256|0}d=e;if(d>>>0<65536){continue}}break}e=0;c=0}N[b>>2]=e;return c|0}function Sc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{d=N[a+68>>2];i=c>>>0>d>>>0?d:c;j=i-b|0;if(j>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=i>>>0){break a}h=N[a+80>>2];c=-1;d=b;l=(d^-1)+i|0;if(l>>>0>=3){k=j&-4;while(1){e=T(d,20)+h|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}k=j&3;if(k){e=0;while(1){f=N[(T(d,20)+h|0)+8>>2];c=c>>>0>>0?c:f;d=d+1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(j&1){d=T(b,20)+h|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}b=b+1|0}if(!l){break a}while(1){d=T(b,20)+h|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=T(b+1|0,20)+h|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}b=b+2|0;if((i|0)!=(b|0)){continue}break}}}function rq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-48|0;La=h;N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+60>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+40>>2]}else{e=0}a:{if(Qa[f|0](a,g,b,c,d,e)|0){break a}N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+56>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+36>>2]}else{e=0}if(!(Qa[f|0](a,g,b,c,d,e)|0)){break a}e=N[a+96>>2];f=N[e+40>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}f=Qa[f|0](a,g,b,e)|0;b=h;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;e=N[a+96>>2];g=N[e+20>>2];f=(f|0)/2|0;j=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e>>2]}else{e=0}b:{if(Qa[g|0](a,j,b,e)|0){a=N[h>>2];break b}i=+N[a+32>>2]*.8;if(V(i)<2147483648){a=~~i;break b}a=-2147483648}N[c>>2]=f+N[c>>2];N[d>>2]=a+N[d>>2]}La=h+48|0}function Jd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-48|0;La=h;N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+56>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+36>>2]}else{e=0}a:{if(Qa[f|0](a,g,b,c,d,e)|0){break a}N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+60>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+40>>2]}else{e=0}if(!(Qa[f|0](a,g,b,c,d,e)|0)){break a}e=N[a+96>>2];f=N[e+40>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}f=Qa[f|0](a,g,b,e)|0;b=h;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;e=N[a+96>>2];g=N[e+20>>2];f=(f|0)/-2|0;j=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e>>2]}else{e=0}b:{if(Qa[g|0](a,j,b,e)|0){a=N[h>>2];break b}i=+N[a+32>>2]*.8;if(V(i)<2147483648){a=~~i;break b}a=-2147483648}N[c>>2]=f+N[c>>2];N[d>>2]=N[d>>2]-a}La=h+48|0}function Ql(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;L[e+14|0]=0;c=N[a+8>>2];a:{b:{d=N[a+20>>2];c:{if(d){if((Qa[d|0](a,c,e+14|0,1)|0)!=1){break b}c=N[a+8>>2];d=e+14|0;break c}if(Q[a+4>>2]<=c>>>0){break b}d=N[a>>2]+c|0}f=L[d|0];c=c+1|0;N[a+8>>2]=c;if((f|0)==-128){c=8;break a}g=b;b=f&127;d:{if((f|0)>=0){break d}N[e+8>>2]=0;L[e+15|0]=0;d=N[a+20>>2];e:{if(d){if((Qa[d|0](a,c,e+15|0,1)|0)!=1){break b}c=N[a+8>>2];d=e+15|0;break e}if(Q[a+4>>2]<=c>>>0){break b}d=N[a>>2]+c|0}f=L[d|0];N[a+8>>2]=c+1;d=f&127|b<<7;b=d;if((f|0)>=0){break d}f=Pd(a,e+8|0);c=N[e+8>>2];if(c){break a}d=f&127|d<<7;b=d;if((f|0)>=0){break d}f=Pd(a,e+8|0);c=N[e+8>>2];if(c){break a}d=f&127|d<<7;b=d;if((f|0)>=0){break d}a=Pd(a,e+8|0);c=N[e+8>>2];if(c){break a}if(d>>>0>33554431){c=8;break a}c=8;if((a|0)<0){break a}b=a&127|d<<7}N[g>>2]=b;c=0;break a}c=85}La=e+16|0;return c}function Qg(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=N[a+12>>2];if(!(b&1)){return 0}c=b&-2;b=c+8|0;b=b?32-W(b)|0:0;e=12<>2]=c;return 0}if(b>>>0<=29){c=e-12|0;C(d,0,(c-((c>>>0)%12|0)|0)+12|0)}N[a+12>>2]=1;N[a+16>>2]=0;e=N[a+28>>2];N[a+28>>2]=d;d=N[a+20>>2];N[a+20>>2]=-1<>2]=N[(b>>>0>31?265820:(b<<2)+265696|0)>>2];b=d+1|0;if(b>>>0>=2){g=b>>>0<=1?1:b;d=0;while(1){c=e+T(d,12)|0;b=N[c+4>>2];a:{if(!(L[a+12|0]&1)|(b&-1073741824)!=1073741824){break a}f=N[a+16>>2];if(Q[a+20>>2]<=(f>>>1|0)+f>>>0){if(!Qg(a)){break a}}f=b&1073741823;b=Af(a,N[c>>2],f);b:{if(!(O[b+7|0]&64)){break b}N[a+16>>2]=N[a+16>>2]-1;if(N[b+4>>2]<0){break b}N[a+12>>2]=N[a+12>>2]-2}N[b>>2]=N[c>>2];c=N[c+8>>2];N[b+4>>2]=f|1073741824;N[b+8>>2]=c;N[a+16>>2]=N[a+16>>2]+1;N[a+12>>2]=N[a+12>>2]+2}d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(e);return 1}function Jh(a,b,c){a:{switch(c-1|0){case 0:N[b>>2]=N[a+4>>2];return;case 1:N[b>>2]=N[a+4>>2]+N[a+12>>2];N[b+4>>2]=N[a+8>>2]+N[a+12>>2];return;case 2:N[b>>2]=N[a+4>>2]+(N[a+12>>2]+(N[a+20>>2]+N[a+28>>2]|0)|0);N[b+4>>2]=N[a+8>>2]+(N[a+12>>2]+(N[a+24>>2]+N[a+28>>2]|0)|0);N[b+8>>2]=N[a+16>>2]+(N[a+20>>2]+(N[a+24>>2]+N[a+28>>2]|0)|0);return;default:break a}}N[b>>2]=N[a+4>>2]+(N[a+12>>2]+(N[a+20>>2]+(N[a+28>>2]+(N[a+36>>2]+(N[a+44>>2]+(N[a+52>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+4>>2]=N[a+8>>2]+(N[a+12>>2]+(N[a+24>>2]+(N[a+28>>2]+(N[a+40>>2]+(N[a+44>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+8>>2]=N[a+16>>2]+(N[a+20>>2]+(N[a+24>>2]+(N[a+28>>2]+(N[a+48>>2]+(N[a+52>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+12>>2]=N[a+32>>2]+(N[a+36>>2]+(N[a+40>>2]+(N[a+44>>2]+(N[a+48>>2]+(N[a+52>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0)}function Oj(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;g=La-32|0;La=g;d=O[a|0]|O[a+1|0]<<8;a:{if(d){j=(d<<8|d>>>8)&65535;i=a+2|0;while(1){l=N[c+16>>2];m=N[c+4>>2];d=O[i|0]|O[i+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}f=O[d|0]|O[d+1|0]<<8;e=(((f<<8|f>>>8)&65535)<<1)+d|0;d=O[e+2|0]|O[e+3|0]<<8;h=(d<<8|d>>>8)&65535;d=(e+2|0)+(d?h<<1:2)|0;b:{if(N[b+12>>2]!=(h|0)|(O[b+16|0]?f|(O[d|0]|O[d+1|0]<<8):0)){break b}if(h>>>0<2){f=1;break a}N[g+12>>2]=N[N[b+8>>2]+4>>2];f=1;d=1;k=e+4|0;e=O[k|0]|O[k+1|0]<<8;if(!(Qa[m|0](g+12|0,(e<<8|e>>>8)&65535,l)|0)){break b}while(1){e=d+1|0;if((e|0)==(h|0)){break a}N[g+12>>2]=N[N[b+8>>2]+(e<<2)>>2];n=d<<1;d=e;e=k+n|0;e=O[e|0]|O[e+1|0]<<8;if(Qa[m|0](g+12|0,(e<<8|e>>>8)&65535,l)|0){continue}break}if(d>>>0>=h>>>0){break a}}i=i+2|0;j=j-1|0;if(j){continue}break}}f=0}La=g+32|0;return f}function Nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=O[a+2|0]|O[a+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+a|0}else{c=275552}f=N[b+96>>2];c=vb(c,N[N[f+80>>2]+T(N[f+64>>2],20)>>2]);a:{if((c|0)==-1){break a}f=275552;d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}a=O[f|0]|O[f+1|0]<<8;if(!a){break a}g=(a<<8|a>>>8)&65535;c=f+2|0;while(1){a=O[c|0]|O[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+f|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;h=(d<<8|d>>>8)&65535;i=(h<<1)+a|0;d=i+2|0;e=O[d|0]|O[d+1|0]<<8;j=(e<<8|e>>>8)&65535;d=(e?j<<1:2)+d|0;e=O[d|0]|O[d+1|0]<<8;k=(e<<8|e>>>8)&65535;e=(k<<1)+d|0;l=O[e+2|0]|O[e+3|0]<<8;e=Lf(b,h,a+2|0,j,i+4|0,k,d+2|0,(l<<8|l>>>8)&65535,e+4|0,238152);if(e){break a}c=c+2|0;g=g-1|0;if(g){continue}break}}return e|0}function qj(a){var b=0,c=0;c=3584;a:{b:{c:{switch(a>>>12|0){case 0:if((a|0)==160){c=1034;break a}b=a-40|0;if(b>>>0<24){break b}if(a-176>>>0<=39){b=a-152|0;break b}if(a-2304>>>0>1151){break a}b=a-2240|0;break b;case 1:if(a-4096>>>0<=159){b=a-2880|0;break b}if(a-6016>>>0<=111){b=a-4640|0;break b}if(a-7376>>>0>47){break a}b=a-5888|0;break b;case 2:if((a|0)==9676){c=1035;break a}if(a-8200>>>0<=31){b=a-6664|0;break b}if(a-8304>>>0<=23){b=a-6736|0;break b}if((a&-8)!=9720){break a}b=a-8128|0;break b;case 10:b=a&-32;if((b|0)!=43616){if((b|0)!=43488){if((b|0)!=43232){break a}b=a-41632|0;break b}b=a-41856|0;break b}b=a-41952|0;break b;case 15:if((a&-16)!=65024){break a}b=a-63328|0;break b;case 17:break c;default:break a}}b=a&-8;if((b|0)!=70456){if((b|0)!=70400){break a}b=a-68688|0;break b}b=a-68736|0}c=P[(b<<1)+253616>>1]}return c}function mh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if((c|0)<0){break b}e=c<<1;if(e){if(Q[b+4>>2]>a>>>0){break b}g=N[b+8>>2];if(g>>>0>>0|e>>>0>g-a>>>0){break b}e=N[b+12>>2]-e|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!c){return 1}j=N[b+4>>2];while(1){e=(i<<1)+a|0;if(e>>>0>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-e>>>0<2){break a}f=N[b+12>>2];h=f-2|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[e|0]|O[e+1|0]<<8;e=((e<<8|e>>>8)&65535)+d|0;if(e>>>0>>0|e>>>0>g>>>0|g-e>>>0<4){break a}h=f-6|0;N[b+12>>2]=h;if((h|0)<=0){break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>1073741823){break a}c:{f=f<<2;if(!f){break c}e=e+4|0;if(e>>>0>g>>>0|f>>>0>g-e>>>0){break a}e=h-f|0;N[b+12>>2]=e;if((e|0)>0){break c}break a}f=1;i=i+1|0;if((i|0)!=(c|0)){continue}break}}return f}return 0}function bi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=hd(g,c,18461);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=df(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Rd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function ai(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=hd(g,c,24775);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=df(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Rd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function Xi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=N[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}d=N[b+12>>2];e=d-4|0;N[b+12>>2]=e;if((O[a|0]|O[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<16){break a}d=d-20|0;N[b+12>>2]=d;if((O[a+10|0]|O[a+11|0]<<8)!=5120|(d|0)<=0){break a}c=O[a+14|0]|O[a+15|0]<<8;j=(c<<8|c>>>8)&65535;h=O[a+8|0]|O[a+9|0]<<8;g=(h<<8|h>>>8)&65535;if(j>>>0<(g<<2)+4>>>0){break a}e=O[a+4|0]|O[a+5|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=275552}g=T(g,20);if(h){if(c>>>0>>0|c>>>0>f>>>0|g>>>0>f-c>>>0){break a}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}}c=O[a+12|0]|O[a+13|0]<<8;h=(c<<8|c>>>8)&65535;a=c?g+(e?((e<<8|e>>>8)&65535)+a|0:275552)|0:0;c=T(h,j);if(!c){return 1}if(a>>>0>>0|a>>>0>f>>>0|c>>>0>f-a>>>0){break a}a=d-c|0;N[b+12>>2]=a;k=(a|0)>0}return k}function $h(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=hd(g,c,22033);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=df(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Rd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function Lb(a,b){var c=0,d=0,e=0,f=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=N[b+12>>2];f=e-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=O[a|0]|O[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=T((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function TA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;L[a+68|0]=1;N[a+64>>2]=0;N[a+8>>2]=d;N[a+4>>2]=b;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;g=N[b+32>>2];f=b- -64|0;N[f>>2]=N[b+28>>2];N[f+4>>2]=g;N[b+88>>2]=N[b+52>>2];f=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=f;f=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=f;f=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=f;b=N[N[c+40>>2]>>2];N[a+72>>2]=0;N[a+76>>2]=b;if(!e){break a}N[a+72>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73541];N[a+80>>2]=N[73540];N[a+84>>2]=b;b=N[73543];N[a+88>>2]=N[73542];N[a+92>>2]=b;b=N[73545];N[a+96>>2]=N[73544];N[a+100>>2]=b;b=N[73547];N[a+104>>2]=N[73546];N[a+108>>2]=b}function lC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=La-16|0;La=e;d=N[a+16>>2];f=N[a+12>>2];a:{b:{if(!cb(b,12311)){b=N[c>>2];if(!b){d=35;break a}d=N[b+116>>2];N[e+8>>2]=d;if(!d){d=Dg(b,e+8|0,a);if(d){break a}d=N[e+8>>2];N[b+116>>2]=d;N[b+120>>2]=311}N[c+4>>2]=N[d+8>>2];break b}if(!cb(b,8894)){N[c>>2]=N[N[(f<<2)+288960>>2]+8>>2];break b}if(!cb(b,8879)){N[c>>2]=d;break b}if(!cb(b,9447)){b=N[c>>2];if(!b){d=35;break a}d=N[b+116>>2];N[e+12>>2]=d;if(!d){d=Dg(b,e+12|0,a);if(d){break a}d=N[e+12>>2];N[b+116>>2]=d;N[b+120>>2]=311}N[c+4>>2]=N[d+20>>2];break b}if(!cb(b,10437)){N[c>>2]=N[a+24>>2];N[c+4>>2]=N[a+28>>2];N[c+8>>2]=N[a+32>>2];N[c+12>>2]=N[a+36>>2];N[c+16>>2]=N[a+40>>2];N[c+20>>2]=N[a+44>>2];N[c+24>>2]=N[a+48>>2];N[c+28>>2]=N[a+52>>2];break b}d=12;if(cb(b,14683)){break a}L[c|0]=O[a+20|0]}d=0}La=e+16|0;return d|0}function GC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=U(0),g=0,h=U(0),i=U(0),j=U(0),k=U(0),l=U(0),m=U(0),n=U(0);e=c+16|0;g=N[c+12>>2];d=N[c+8>>2];h=U(N[b+4>>2]);f=U(N[b>>2]);j=U(N[a+4>>2]);k=U(N[a>>2]);a:{if(O[c+4|0]){if(!N[e>>2]){b=N[d+12>>2];l=R[c+28>>2];i=R[c+32>>2];a=N[d+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[b|0](d,g,e,l,i,a);N[c+16>>2]=1;a=N[c+32>>2];N[c+20>>2]=N[c+28>>2];N[c+24>>2]=a}b=N[d+20>>2];a=N[d+32>>2];if(!a){Qa[b|0](d,g,e,k,j,f,h,0);break a}Qa[b|0](d,g,e,k,j,f,h,N[a+8>>2]);break a}m=R[c>>2];n=U(h*m);if(!N[c+16>>2]){b=N[d+12>>2];l=R[c+28>>2];i=R[c+32>>2];a=N[d+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[b|0](d,g,e,l,i,a);N[c+16>>2]=1;a=N[c+32>>2];N[c+20>>2]=N[c+28>>2];N[c+24>>2]=a}b=N[d+20>>2];i=U(U(j*m)+k);f=U(n+f);a=N[d+32>>2];if(a){a=N[a+8>>2]}else{a=0}Qa[b|0](d,g,e,i,j,f,h,a)}R[c+32>>2]=h;R[c+28>>2]=f;return 0}function ms(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=N[b>>2];if((d|0)==-1){return 0}e=N[a+16>>2];c=O[e+8204|0]|O[e+8205|0]<<8|(O[e+8206|0]<<16|O[e+8207|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{b:{if(!f){break b}k=N[a>>2];a=d+1|0;d=e+8208|0;while(1){e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);a=a>>>0>h>>>0?a:h;c=O[d+5|0]<<16|O[d+4|0]<<24|O[d+6|0]<<8;g=O[d+7|0];i=c|g;c:{if(a>>>0>i>>>0){break c}e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);j=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=g+(c|1)|0;d:{while(1){c=a-h|0;if((c^-1)>>>0>>0){break c}c=c+j|0;if(c){break d}c=a+1|0;if(!c){break b}g=a>>>0>>0;a=c;if(g){continue}break}a=e;break c}if(Q[k+16>>2]>c>>>0){break a}}d=d+12|0;f=f-1|0;if(f){continue}break}}c=0;a=0}N[b>>2]=a;return c|0}function Jj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=O[b+2|0]|O[b+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+b|0}else{c=275552}f=N[a+96>>2];c=vb(c,N[N[f+80>>2]+T(N[f+64>>2],20)>>2]);a:{if((c|0)==-1){break a}f=275552;d=O[b+4|0]|O[b+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+b|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+b|0}b=O[f|0]|O[f+1|0]<<8;if(!b){break a}g=(b<<8|b>>>8)&65535;c=f+2|0;while(1){b=O[c|0]|O[c+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+f|0}else{b=275552}d=O[b|0]|O[b+1|0]<<8;h=(d<<8|d>>>8)&65535;i=(h<<1)+b|0;d=i+2|0;e=O[d|0]|O[d+1|0]<<8;j=(e<<8|e>>>8)&65535;d=(e?j<<1:2)+d|0;e=O[d|0]|O[d+1|0]<<8;k=(e<<8|e>>>8)&65535;e=(k<<1)+d|0;l=O[e+2|0]|O[e+3|0]<<8;e=Lf(a,h,b+2|0,j,i+4|0,k,d+2|0,(l<<8|l>>>8)&65535,e+4|0,238152);if(e){break a}c=c+2|0;g=g-1|0;if(g){continue}break}}return e}function FB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=N[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){d=N[a>>2];c=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=P[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k;break c}if(!(N[e+28>>2]!=(f|0)|N[e+16>>2]>0)&(!(l&16)|N[a+8>>2]>(d-c|0))|!(N[f+28>>2]!=(e|0)|N[e+20>>2]!=(b|0))&(!(l&32)|N[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k}d=N[a>>2];c=g;c=(j|0)>=0?P[a+50>>1]>j>>>d>>>0?j:i:c;b=((g|0)==(c|0)?i:g)>>d;if((b|0)<0|b>>>0>=P[a+50>>1]){break b}if(O[N[a+56>>2]+(b>>>3|0)|0]<<(b&7)&128){break a}}b=c>>d;if((b|0)<0|b>>>0>=P[a+50>>1]){break a}a=N[a+56>>2]+(b>>>3&65535)|0;L[a|0]=O[a|0]|128>>>(b&7)}}function ap(a,b){var c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];N[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){e=0;c:{d:{e:{f:{g:{h:{g=O[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break e;case 23:break f;case 3:break g;default:break h}}i:{switch(g-123|0){case 0:f=f+1|0;break d;case 2:break i;default:break c}}f=f-1|0;if(f){break c}c=c+1|0;break b}e=Mi(d+12|0,b);break c}e=$o(d+12|0,b);break c}e=37;j:{while(1){k:{switch((e&255)-10|0){case 0:case 3:break j;default:break k}}c=c+1|0;if((c|0)!=(b|0)){e=O[c|0];continue}break}c=b}N[d+12>>2]=c}e=0}c=N[d+12>>2]+1|0;N[d+12>>2]=c;if(!e&b>>>0>c>>>0){continue}break}b=3;if(f){break a}}b=e}N[a>>2]=c;La=d+16|0;return b}function kr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=O[a+15|0];a:{if((d|0)!=255){break a}f=N[a>>2];d=0;b:{c:{d:{e:{e=O[c|0]|O[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}d=f;f=O[c+2|0]|O[c+3|0]<<8;f=d-((f<<8|f>>>8)&65535)|0;e=O[c+4|0]|O[c+5|0]<<8;d=275552;if(f>>>0>=((e<<8|e>>>8)&65535)>>>0){break c}d=((f<<1)+c|0)+6|0;break c}h=241305;d=O[c+2|0]|O[c+3|0]<<8;f:{if(!d){break f}i=c+4|0;d=((d<<8|d>>>8)&65535)-1|0;c=0;while(1){e=c+d>>>1|0;g=T(e,6)+i|0;j=O[g|0]|O[g+1|0]<<8;g:{if(f>>>0>=((j<<8|j>>>8)&65535)>>>0){c=O[g+2|0]|O[g+3|0]<<8;if(f>>>0>((c<<8|c>>>8)&65535)>>>0){c=e+1|0;break g}h=T(e,6)+i|0;break f}d=e-1|0}if((c|0)<=(d|0)){continue}break}}d=h+4|0}c=O[d|0]|O[d+1|0]<<8;d=(c<<8|c>>>8)&65535;if(d>>>0>254){break a}}L[a+15|0]=d}return(b|0)==(d|0)|0}function xe(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=N[a>>2];c=N[f+24>>2];a:{if((c|0)<=0){break a}while(1){b=N[f+32>>2]+T(e,56)|0;if(N[b+48>>2]==(a|0)){Co(b);d=N[N[b+48>>2]+16>>2];if(d){Qa[d|0](N[b+52>>2])}N[b+48>>2]=0;c=N[f+24>>2]}e=e+1|0;if((e|0)<(c|0)){continue}break}e=0;if((c|0)<=0){break a}while(1){b=N[f+32>>2];d=b+T(e,56)|0;if(N[d+48>>2]){if((e|0)!=(g|0)){c=T(g,56)+b|0;b=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=b;b=N[d+52>>2];N[c+48>>2]=N[d+48>>2];N[c+52>>2]=b;b=N[d+44>>2];N[c+40>>2]=N[d+40>>2];N[c+44>>2]=b;b=N[d+36>>2];N[c+32>>2]=N[d+32>>2];N[c+36>>2]=b;b=N[d+28>>2];N[c+24>>2]=N[d+24>>2];N[c+28>>2]=b;b=N[d+20>>2];N[c+16>>2]=N[d+16>>2];N[c+20>>2]=b;b=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=b;c=N[f+24>>2]}g=g+1|0}e=e+1|0;if((e|0)<(c|0)){continue}break}}N[f+24>>2]=g;d=N[a+20>>2];if(d){Qa[d|0](N[a+40>>2])}_a(a)}function UA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;N[a>>2]=0;N[a+4>>2]=0;N[a+56>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=N[b>>2];a:{if(c){N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];d=b+68|0;f=b+48|0;g=b+40|0;h=b+32|0;i=b+28|0;j=b+24|0;k=b+70|0;e=b+69|0;break a}N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];d=b+65|0;f=b+48|0;g=b+40|0;h=b+32|0;i=b+28|0;j=b+24|0;l=O[b+64|0];k=b+67|0;e=b+66|0}m=N[b+16>>2];n=N[b+12>>2];b=N[b+20>>2];N[a+40>>2]=f;N[a+36>>2]=g;N[a+32>>2]=h;N[a+28>>2]=i;N[a+24>>2]=j;N[a+20>>2]=b;N[a+12>>2]=n;N[a+16>>2]=m;b=O[d|0];d=O[k|0];L[a+46|0]=O[e|0];L[a+47|0]=d;e=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=e;L[a+48|0]=c;L[a+44|0]=l;L[a+45|0]=b}function vi(a,b){var 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;a:{l=N[a+20>>2];if(!l){break a}c=N[b+20>>2];if(!c){break a}d=N[b+4>>2];f=d+N[b+12>>2]|0;h=N[a+4>>2];g=h+N[a+12>>2]|0;j=(d|0)>(h|0)?d:h;n=((f|0)<(g|0)?f:g)-j|0;if((n|0)<=0){break a}k=N[b+16>>2];f=N[b>>2];e=k+f|0;o=N[a+16>>2];g=N[a>>2];i=o+g|0;m=(e|0)<(i|0)?e:i;e=(f|0)>(g|0)?f:g;i=m-e|0;if((i|0)<=0){break a}h=l+T(j-h|0,o)+(e-g)|0;f=c+T(j-d|0,k)+(e-f)|0;j=i&-2;i=i&1;l=(e+1|0)==(m|0);g=0;while(1){d=0;if(!l){while(1){c=d+f|0;e=O[c|0];m=c;c=O[d+h|0];L[m|0]=e>>>0>c>>>0?e-(c>>>1|0)|0:0;c=d|1;k=c+f|0;e=O[k|0];c=O[c+h|0];L[k|0]=e>>>0>c>>>0?e-(c>>>1|0)|0:0;d=d+2|0;if((j|0)!=(d|0)){continue}break}}if(i){c=d+f|0;e=O[c|0];d=O[d+h|0];L[c|0]=e>>>0>d>>>0?e-(d>>>1|0)|0:0}f=N[b+16>>2]+f|0;h=N[a+16>>2]+h|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}}function XC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[b+12>>2];a:{b:{c:{if(!f){break c}e=N[f+92>>2];if(!e){break c}e=Qa[N[N[e+12>>2]+12>>2]](e,c)|0;if(e>>>0>=Q[f+16>>2]){break c}if(e){break b}}f=0;if(!O[b+4|0]){break a}a=Tc(N[a+24>>2]+72|0);a=(O[a|0]|O[a+1|0]<<8?0:(O[a+62|0]|O[a+63|0]<<8)<<8)&65280;d:{if((a|0)!=45824){if((a|0)!=45568){if(c>>>0>255|a){break a}a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c+61440|0)|0;if(e>>>0>2]){break d}break a}c=Pp(c);a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c)|0;if(e>>>0>2]){break d}break a}c=Op(c);a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c)|0;if(e>>>0>=Q[a+16>>2]){break a}}if(!e){break a}}N[d>>2]=e;f=1}return f|0}function eB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=6;if(!((b|0)<0|N[a+16>>2]<=(b|0))){a:{b:{f=N[a+4>>2]+d|0;h=N[a+8>>2];c:{if(f>>>0<=h>>>0){break c}i=N[a>>2];k=c-i|0;e=h;while(1){e=((e>>>2|0)+e|0)+1024&-1024;if(f>>>0>e>>>0){continue}break}j=N[a+32>>2];d:{if((e|0)<=0){f=6;if(!e){break d}break a}g=Qa[N[j+4>>2]](j,e)|0;if(!g){break b}C(g,0,e)}N[a>>2]=g;if(i){F(g,i,N[a+8>>2]);g=N[a+16>>2];if((g|0)>0){m=N[a>>2]-i|0;f=N[a+24>>2];g=f+(g<<2)|0;while(1){l=N[f>>2];if(l){N[f>>2]=m+l}f=f+4|0;if(g>>>0>f>>>0){continue}break}}Qa[N[j+8>>2]](j,i)}N[a+8>>2]=e;e=h>>>0>k>>>0&(k|0)>=0;if(!e){break c}c=N[a>>2]+(e?k:-1)|0}b=b<<2;e=N[a>>2];h=N[a+4>>2];N[b+N[a+24>>2]>>2]=e?e+h|0:0;N[b+N[a+28>>2]>>2]=d;F(h+N[a>>2]|0,c,d);N[a+4>>2]=N[a+4>>2]+d;return 0}N[a>>2]=0;f=64}N[a>>2]=i}return f|0}function Fb(a,b,c){var d=0,e=0,f=0,g=0;a:{d=N[a+4>>2];if(d){g=N[b>>2];f=g>>31;b:{if((f^g)-f>>>0>268435455){break b}g=N[b+4>>2];f=g>>31;if((f^g)-f>>>0>268435455){break b}e=N[a>>2];c:{if(d>>>0>e>>>0){d=N[a+16>>2];break c}N[147316]=0;e=N[a+16>>2];d:{f=d<<1;if(f>>>0<=536870911){d=d<<4;d=$a(e,d>>>0<=1?1:d);if(d){break d}}N[147316]=48;N[a+16>>2]=e;return 0}N[147316]=0;N[a+4>>2]=f;N[a+16>>2]=d;e=N[a>>2]}e=(e<<3)+d|0;d=N[b+4>>2];N[e>>2]=N[b>>2];N[e+4>>2]=d;e=1;N[a>>2]=N[a>>2]+1;if(!c){break b}b=N[a+12>>2];if(!b){break a}e=N[a+8>>2];e:{if(b>>>0>e>>>0){d=N[a+20>>2];break e}e=0;N[147316]=0;d=N[a+20>>2];f=b<<1;b=$a(d,f>>>0<=1?1:f);N[147316]=b?0:48;d=b?b:d;N[a+20>>2]=d;if(!b){break b}N[a+12>>2]=f;e=N[a+8>>2]}L[d+e|0]=c;e=1;N[a+8>>2]=N[a+8>>2]+1}return e}ba(9920,18249,281,9160);B()}ba(10167,18249,303,9289);B()}function Cj(a){var b=0,c=0;a:{if(a>>>0<=65535){b:{c:{d:{e:{f:{g:{h:{i:{j:{b=a>>>8|0;switch(b|0){case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break a;case 0:break i;case 32:break d;case 24:break e;case 23:break f;case 6:break g;case 3:break h;default:break j}}switch(b-254|0){case 1:break b;case 0:break c;default:break a}}return(a|0)==173}return(a|0)==847}return(a|0)==1564}return(a&-2)==6068}return a-6155>>>0<4}c=1;if(a-8203>>>0<5){break a}return(a&-16)==8288|a-8234>>>0<5}return(a|0)==65279|(a&-16)==65024}return a-65520>>>0<9}k:{b=(a>>>16|0)-1|0;if(b){if((b|0)==13){break k}else{break a}}return a-119155>>>0<8}c=(a&-4096)==917504}return c}function qd(a,b,c){var d=0,e=0,f=0,g=0,h=U(0),i=U(0),j=0,k=U(0),l=U(0),m=U(0);f=N[a+8>>2];if(f){c=S[f+8>>3]+c;b=S[f>>3]+b}e=N[a+4>>2];f=e+16|0;a=N[a>>2];i=U(R[a+48>>2]*U(c));h=U(R[a+44>>2]*U(b));j=N[e+12>>2];a=N[e+8>>2];a:{if(O[e+4|0]){if(!N[f>>2]){g=N[a+12>>2];k=R[e+28>>2];l=R[e+32>>2];d=N[a+32>>2];if(d){d=N[d>>2]}else{d=0}Qa[g|0](a,j,f,k,l,d);N[e+16>>2]=1;d=N[e+32>>2];N[e+20>>2]=N[e+28>>2];N[e+24>>2]=d}d=N[a+16>>2];g=N[a+32>>2];if(!g){Qa[d|0](a,j,f,h,i,0);break a}Qa[d|0](a,j,f,h,i,N[g+4>>2]);break a}k=U(i*R[e>>2]);if(!N[e+16>>2]){g=N[a+12>>2];l=R[e+28>>2];m=R[e+32>>2];d=N[a+32>>2];if(d){d=N[d>>2]}else{d=0}Qa[g|0](a,j,f,l,m,d);N[e+16>>2]=1;d=N[e+32>>2];N[e+20>>2]=N[e+28>>2];N[e+24>>2]=d}g=N[a+16>>2];h=U(k+h);d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,j,f,h,i,d)}R[e+32>>2]=i;R[e+28>>2]=h}function ft(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=N[a+872>>2];if(!i){return 0}f=N[e+8>>2];a:{b:{if(f){g=N[e>>2];b=N[e+4>>2];break b}f=0;N[e+4>>2]=0;g=P[i+2>>1];if(!g){break a}l=N[i+8>>2];c:{while(1){j=(g-f>>>1|0)+f|0;h=T(j,6)+l|0;k=O[h|0]<<8|O[h+1|0];d:{if(k>>>0>>0){f=j+1|0;break d}g=j;if(b>>>0>=k>>>0){break c}}if(f>>>0>>0){continue}break}return 0}f=0;b=O[h+4|0]|O[h+5|0]<<8;g=(b<<8|b>>>8)&65535;if(!g){break a}b=O[h+3|0];j=O[h+2|0];N[e>>2]=g;b=b|j<<8;if(Q[i+40>>2]>>0){break a}f=N[i+12>>2]+(b<<2)|0;N[e+8>>2]=f;b=0}if(b>>>0>=g>>>0){return 0}N[e+8>>2]=f+2;N[c>>2]=O[f+1|0]|O[f|0]<<8;N[e+8>>2]=f+4;b=O[f+3|0]|O[f+2|0]<<8;N[d>>2]=b;if(Q[c>>2]>=Q[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=P[a+660>>1]){break a}}f=1;N[e+4>>2]=N[e+4>>2]+1}return f|0}function lv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(N[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=O[a|0];f=a&15;g=a>>>4|0;a=f+g|0;if((a<<1)+d>>>0>b>>>0){break a}if(!a){N[c+76>>2]=0;N[c- -64>>2]=f<<2;return 0}b=N[c>>2];h=a<<2;b=Qa[N[b+4>>2]](b,h)|0;if(!b){return 64}e=0;C(b,0,h);N[c+76>>2]=b;N[c- -64>>2]=(f<<2)+b;c=a&3;if(c){f=f+g|0;while(1){g=O[d|0]|O[d+1|0]<<8;N[b>>2]=(g<<8|g>>>8)<<16>>16;b=b+4|0;d=d+2|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}c=f-c|0}else{c=a}e=0;if(a>>>0<4){break a}while(1){a=O[d|0]|O[d+1|0]<<8;N[b>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+2|0]|O[d+3|0]<<8;N[b+4>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+4|0]|O[d+5|0]<<8;N[b+8>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+6|0]|O[d+7|0]<<8;N[b+12>>2]=(a<<8|a>>>8)<<16>>16;b=b+16|0;d=d+8|0;c=c-4|0;if(c){continue}break}}return e|0}function cx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=La-272|0;La=d;Qa[N[b+60>>2]](b,d+80|0,16,d+76|0);f=N[d+76>>2];a:{if((f|0)<0){c=162;break a}c=3;if(f-17>>>0<4294967280){break a}i=N[a+532>>2];j=N[b+8>>2];k=N[b>>2];f=0;while(1){c=(d+80|0)+T(g,12)|0;N[b>>2]=N[c>>2];N[b+8>>2]=N[c+4>>2];Qa[N[b+60>>2]](b,d+16|0,4,d+12|0);e=N[d+12>>2];b:{c:{if(!g){if(e-5>>>0<4294967292){break c}c=_f(a,N[d+76>>2],e);if(c){break a}i=N[a+532>>2];c=N[d+12>>2];f=e;break b}c=f;if((e|0)==(c|0)){break b}}c=3;break a}if((c|0)>0){e=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+T(c,12)|0;N[b>>2]=N[h>>2];N[b+8>>2]=N[h+4>>2];h=Qa[N[b+40>>2]](b,0)|0;N[N[e+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}N[b+8>>2]=j;N[b>>2]=k;c=0}N[b+12>>2]=c;La=d+272|0}function jb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=2147483647;a:{if(!c){break a}b:{e=b>>31;f=(e^b)-e|0;e=a>>31;g=(e^a)-e|0;e=c>>31;e=(e^c)-e|0;if(f+g>>>0<=129894-(e>>>17|0)>>>0){f=T(f,g)+(e>>>1|0)|0;break b}h=f>>>16|0;d=g>>>16|0;j=T(h,g&65535)+T(d,f&65535)|0;d=(j>>>16|0)+T(d,h)|0;h=e>>>1|0;g=T(f,g);f=h+g|0;d=(d+(f>>>0>>0)|0)+(g>>>0>>0)|0;if(!d){break b}if(e>>>0<=d>>>0){break a}g=W(d);h=32-g|0;d=f>>>h|d<>>0)/(e>>>0)|0;d=d-T(e,i)|0;f=f<>>31;h=d>>>0>=e>>>0;d=d-(h?e:0)|0;i=h|i<<1;h=g^31;f=f<<1}if((g|0)==31){break a}while(1){d=d<<1|f>>>31;g=d>>>0>=e>>>0;d=f>>>30&1|d-(g?e:0)<<1;j=d>>>0>=e>>>0;d=d-(j?e:0)|0;i=j|(i<<2|g<<1);f=f<<2;h=h-2|0;if(h){continue}break}break a}i=(f>>>0)/(e>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-i|0:i}function Wg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}f=N[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}i=N[b+12>>2];e=i-2|0;N[b+12>>2]=e;g=1;if((e|0)<=0){return 0}e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}b:{c:{c=((e<<8|e>>>8)&65535)+c|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break c}d=N[d>>2];g=i-4|0;N[b+12>>2]=g;if((g|0)<=0){break c}e=O[c|0]|O[c+1|0]<<8;e=(e<<8|e>>>8)&65535;UE(e,0,d,0);if(Pa){break c}d=T(d,e);if((d|0)<0){break c}e=c+2|0;h=d<<1;if(h){if(e>>>0>f>>>0|h>>>0>f-e>>>0){break c}f=g-h|0;N[b+12>>2]=f;if((f|0)<=0){break c}}if(!d){break b}f=0;while(1){if(!Hf(e+(f<<1)|0,b,c)){break c}g=1;f=f+1|0;if((d|0)!=(f|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;g=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}g=1}return g}function lh(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=N[b+12>>2];d=e-12|0;N[b+12>>2]=d;if((O[a|0]|O[a+1|0]<<8)!=256|(d|0)<=0){break a}d=a+6|0;if(d>>>0>c>>>0|c-d>>>0<2){break a}c=e-14|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(gl(((c<<8|c>>>8)&65535)+a|0,b,a)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[d|0]|O[d+1|0]<<8;c:{if(!e){break c}if(gl(((e<<8|e>>>8)&65535)+a|0,b,a)){break c}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break c}L[d|0]=0;L[d+1|0]=0;c=1}return c}return 0}function dp(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((e|0)<(f|0)|(j|0)<=0|(c|0)>(g|0)){break a}i=d-b|0;b:{if((c|0)<(f|0)){b=jb(i,f-c|0,j)+b|0;h=N[a>>2];f=f>>h;c=0;break b}h=N[a>>2];f=c>>h;c=N[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=N[a+4>>2]-1&e}e=g>>h;c:{if((c|0)>0){if((e|0)==(f|0)){break a}f=f+1|0;b=jb(i,N[a+4>>2]-c|0,j)+b|0;break c}if(!O[a+79|0]){break c}N[a+36>>2]=N[a+36>>2]-4}L[a+79|0]=!d;if(O[a+78|0]){N[N[a+80>>2]+20>>2]=f;L[a+78|0]=0}c=N[a+36>>2];g=e-f|0;e=g+1|0;if(Q[a+32>>2]<=c+(e<<2)>>>0){N[a+40>>2]=98;return 1}d=1;h=N[a+4>>2];d:{if((i|0)>0){f=di(h,i,j);break d}d=-1;i=0-i|0;f=0-di(h,i,j)|0}i=(T(h,i)|0)%(j|0)|0;if((g|0)>=0){g=0-j|0;while(1){N[c>>2]=b;g=g+i|0;h=(g|0)>=0;g=g-(h?j:0)|0;b=(b+f|0)+(h?d:0)|0;c=c+4|0;h=e>>>0>1;e=e-1|0;if(h){continue}break}}N[a+36>>2]=c}return 0}function Ed(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0<=a>>>0){break a}c=N[b+12>>2];e=c-1|0;N[b+12>>2]=e;f=1;if((e|0)<=0){break a}g=b;b:{c:{d:{switch(O[a|0]){case 0:if(d-a>>>0<4){break a}e=b;b=c-5|0;N[e+12>>2]=b;if((b|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}e=a+4|0;if(e>>>0>d>>>0){break a}f=0;a=T((O[a+1|0]>>>4&3)+1|0,(c<<8|c>>>8)&65535);if(a>>>0>d-e>>>0){break b}a=b-a|0;break c;case 1:break d;default:break b}}if(d-a>>>0<6){break a}c=c-7|0;N[b+12>>2]=c;if((c|0)<=0){break a}b=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);b=UE(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),0,(O[a+1|0]>>>4&3)+1|0,0);if(Pa){break a}if(!b){return 1}a=a+6|0;if(a>>>0>d>>>0){break a}f=0;if(b>>>0>d-a>>>0){break b}a=c-b|0}N[g+12>>2]=a;f=(a|0)>0}return f}return 0}function ij(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=U(0),j=U(0),k=U(0),l=U(0);f=N[a+8>>2];if(f){c=S[f+8>>3]+c;b=S[f>>3]+b}e=N[a+4>>2];f=e+16|0;a=N[a>>2];l=U(R[a+48>>2]*U(c));k=U(R[a+44>>2]*U(b));h=N[e+12>>2];a=N[e+8>>2];a:{b:{if(O[e+4|0]){if(!N[f>>2]){break a}i=R[e+20>>2];j=R[e+24>>2];if(!(i==R[e+28>>2]&j==R[e+32>>2])){g=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,h,f,i,j,d)}d=N[a+28>>2];g=N[a+32>>2];if(!g){Qa[d|0](a,h,f,0);break b}Qa[d|0](a,h,f,N[g+16>>2]);break b}k=U(U(l*R[e>>2])+k);if(!N[e+16>>2]){break a}i=R[e+20>>2];j=R[e+24>>2];if(!(i==R[e+28>>2]&j==R[e+32>>2])){g=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,h,f,i,j,d)}g=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[g|0](a,h,f,d)}N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0}R[e+32>>2]=l;R[e+28>>2]=k}function Sm(a,b,c){var d=0,e=0,f=0,g=0;f=La-16|0;La=f;e=N[a+20>>2];a:{if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;b:{if(Q[a+4>>2]<2){break b}c:{d:{e:{d=N[a+20>>2];if(d){if((Qa[d|0](a,0,f+10|0,2)|0)!=2){break b}e=N[a+8>>2];d=f+10|0;break e}e=0;d=N[a>>2];if(d){break e}N[a+8>>2]=2;break d}g=O[d|0]|O[d+1|0]<<8;d=e+2|0;N[a+8>>2]=d;g=g<<8|g>>>8;if((g+32767&65535)>>>0>1){break d}if(Q[a+4>>2]<=e+5>>>0){break b}e=N[a+20>>2];if(e){if((Qa[e|0](a,d,f+12|0,4)|0)!=4){break b}d=N[a+8>>2]}N[a+8>>2]=d+4;if((g&65535)==32769){break c}}e=N[a+20>>2];if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}}N[a+8>>2]=0}d=Bb(a,c);if(d){break a}b=(Mb(N[a+32>>2],b,c)|0)!=0;if(N[a+20>>2]){c=N[a>>2];if(c){d=N[a+28>>2];Qa[N[d+8>>2]](d,c)}N[a>>2]=0}d=b<<1;N[a+32>>2]=0;N[a+36>>2]=0;break a}d=85}La=f+16|0;return d}function In(a,b,c,d){var e=0,f=0;if(!a){return 35}if(!d){return 6}f=N[a+16>>2];if(f>>>0<=b>>>0){return 16}e=N[N[N[a+96>>2]+12>>2]+84>>2];a:{b:{if(!(!e|!(c&3)&(c&983040)!=65536)){e=Qa[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=N[a+88>>2];if(!a){return 36}a=jb(N[d>>2],N[a+(c&16?20:16)>>2],64);break b}if((e&255)!=7){break a}f=N[a+16>>2]}if(b+1>>>0>f>>>0){return 16}e=16;if(b>>>0>=f>>>0){break a}e=N[N[N[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Qa[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=N[a+88>>2];if(!a){return 36}a=jb(N[d>>2],N[a+(c&16?20:16)>>2],64);break b}if((e&255)!=7){break a}}e=7;if(c&536870912){break a}f=c&1?0:10;e=vc(a,b,c|256);if(!(c&16)){if(e){break a}a=N[N[a+84>>2]+64>>2]<>2]+68>>2]<>2]=a;e=0}return e}function fd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(c-37>>>0<4294967261){break a}d=N[a>>2];if(d>>>0>=b>>>0){break a}b:{c:{g=O[d|0];switch(g-43|0){case 0:case 2:break c;default:break b}}d=d+1|0;if((d|0)==(b|0)){break a}k=(g|0)==45;switch(O[d|0]-43|0){case 0:case 2:break a;default:break b}}i=2147483647/(c>>>0)|0;d:{e:{if(b>>>0<=d>>>0){N[a>>2]=d;break e}l=T(c,i)^2147483647;f:{while(1){g=e;g:{e=O[d|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}if(e<<24>>24<0){break f}j=L[e+294800|0];if((j|0)<0|(c|0)<=(j|0)){break f}e=1;h=f;h:{if((f|0)>(i|0)){break h}if((f|0)==(i|0)){h=i;if((j|0)>(l|0)){break h}}e=g;h=j+T(c,f)|0}f=h;d=d+1|0;if((d|0)!=(b|0)){continue}break}g=e;d=b}N[a>>2]=d;a=2147483647;if(g&255){break d}}a=f}f=k?0-a|0:a}return f}function zr(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=N[b+56>>2];e=N[b+60>>2];f=N[b+48>>2];g=N[b+52>>2];h=N[b+40>>2];i=N[b+44>>2];j=N[b+32>>2];k=N[b+36>>2];l=N[b+24>>2];m=N[b+28>>2];n=N[b+16>>2];o=N[b+20>>2];p=N[b+8>>2];q=N[b+12>>2];r=N[b>>2];b=N[c+4>>2]&(N[b+4>>2]^-1);N[a>>2]=N[c>>2]&(r^-1);N[a+4>>2]=b;b=N[c+12>>2]&(q^-1);N[a+8>>2]=N[c+8>>2]&(p^-1);N[a+12>>2]=b;b=N[c+20>>2]&(o^-1);N[a+16>>2]=N[c+16>>2]&(n^-1);N[a+20>>2]=b;b=N[c+28>>2]&(m^-1);N[a+24>>2]=N[c+24>>2]&(l^-1);N[a+28>>2]=b;b=N[c+36>>2]&(k^-1);N[a+32>>2]=N[c+32>>2]&(j^-1);N[a+36>>2]=b;b=N[c+44>>2]&(i^-1);N[a+40>>2]=N[c+40>>2]&(h^-1);N[a+44>>2]=b;b=N[c+52>>2]&(g^-1);N[a+48>>2]=N[c+48>>2]&(f^-1);N[a+52>>2]=b;b=N[c+60>>2]&(e^-1);N[a+56>>2]=N[c+56>>2]&(d^-1);N[a+60>>2]=b}function yr(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=N[c+56>>2];e=N[c+60>>2];f=N[c+48>>2];g=N[c+52>>2];h=N[c+40>>2];i=N[c+44>>2];j=N[c+32>>2];k=N[c+36>>2];l=N[c+24>>2];m=N[c+28>>2];n=N[c+16>>2];o=N[c+20>>2];p=N[c+8>>2];q=N[c+12>>2];r=N[c>>2];c=N[b+4>>2]&(N[c+4>>2]^-1);N[a>>2]=N[b>>2]&(r^-1);N[a+4>>2]=c;c=N[b+12>>2]&(q^-1);N[a+8>>2]=N[b+8>>2]&(p^-1);N[a+12>>2]=c;c=N[b+20>>2]&(o^-1);N[a+16>>2]=N[b+16>>2]&(n^-1);N[a+20>>2]=c;c=N[b+28>>2]&(m^-1);N[a+24>>2]=N[b+24>>2]&(l^-1);N[a+28>>2]=c;c=N[b+36>>2]&(k^-1);N[a+32>>2]=N[b+32>>2]&(j^-1);N[a+36>>2]=c;c=N[b+44>>2]&(i^-1);N[a+40>>2]=N[b+40>>2]&(h^-1);N[a+44>>2]=c;c=N[b+52>>2]&(g^-1);N[a+48>>2]=N[b+48>>2]&(f^-1);N[a+52>>2]=c;c=N[b+60>>2]&(e^-1);N[a+56>>2]=N[b+56>>2]&(d^-1);N[a+60>>2]=c}function ad(a){var b=0,c=0,d=0;d=La-16|0;La=d;a:{if(N[a+24>>2]){break a}b:{b=N[a+28>>2];if(!b){c=a+32|0;if(!xj(c,N[a+36>>2]+1|0)){break b}b=db(1,576);N[d+12>>2]=b;if(!b){break b}wj(c,d+12|0);b=vj(b)}N[a+28>>2]=N[b>>2];c=b+32|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[b+24|0]=0;L[b+25|0]=0;L[b+26|0]=0;L[b+27|0]=0;L[b+28|0]=0;L[b+29|0]=0;L[b+30|0]=0;L[b+31|0]=0;L[b+16|0]=0;L[b+17|0]=0;L[b+18|0]=0;L[b+19|0]=0;L[b+20|0]=0;L[b+21|0]=0;L[b+22|0]=0;L[b+23|0]=0;L[b+8|0]=0;L[b+9|0]=0;L[b+10|0]=0;L[b+11|0]=0;L[b+12|0]=0;L[b+13|0]=0;L[b+14|0]=0;L[b+15|0]=0;L[b|0]=0;L[b+1|0]=0;L[b+2|0]=0;L[b+3|0]=0;L[b+4|0]=0;L[b+5|0]=0;L[b+6|0]=0;L[b+7|0]=0;N[b>>2]=N[a+4>>2];N[b+4>>2]=N[a+8>>2];N[b+32>>2]=N[a+44>>2];N[a+44>>2]=b;break a}if(N[a+24>>2]){break a}N[a+24>>2]=1}La=d+16|0;return N[a+4>>2]}function Jl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=N[a+28>>2];a:{if((d|0)==-1){break a}e=N[a+36>>2];h=N[a+40>>2];if(e>>>0>=h>>>0){break a}k=N[a>>2];d=d+1|0;l=N[a+16>>2]+16|0;while(1){b:{b=T(e,12)+l|0;c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=d>>>0>g>>>0?d:g;c=O[b+5|0]<<16|O[b+4|0]<<24|O[b+6|0]<<8;f=O[b+7|0];i=c|f;if(d>>>0>i>>>0){break b}b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);j=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=f+(c|1)|0;c:{while(1){c=d-g|0;if((c^-1)>>>0>>0){break b}c=c+j|0;if(c){break c}c=d+1|0;if(!c){break a}f=d>>>0>>0;d=c;if(f){continue}break}d=b;break b}if(c>>>0>=Q[k+16>>2]){break b}N[a+36>>2]=e;N[a+32>>2]=c;N[a+28>>2]=d;return}e=e+1|0;if((h|0)!=(e|0)){continue}break}}L[a+24|0]=0}function jn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Qa[N[a+624>>2]](a)|0;f=N[b>>2];a:{if(!f){break a}g=a+36|0;e=1;while(1){b=N[a+28>>2];if((b|0)<=1){if(O[a+593|0]){N[a+12>>2]=129}N[a+28>>2]=0;break a}d=b-2|0;N[a+28>>2]=d;c=b<<2;b=N[a+24>>2];c=P[(c+b|0)-4>>1];b:{if(c>>>0>1]){d=N[b+(d<<2)>>2];b=d>>>4&15;c:{d:{switch(O[a+376|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((P[a+336>>1]+b|0)!=(h|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-P[a+338>>1];if(!(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40)){if(!((P[a+304>>1]?O[a+592|0]:0)|O[c+N[a+60>>2]|0]&16)|(O[a+645|0]?O[a+644|0]:0)){break b}Qa[N[a+616>>2]](a,g,c,b);break b}Qa[N[a+616>>2]](a,g,c,b);break b}if(!O[a+593|0]){break b}N[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}N[a+32>>2]=N[a+28>>2]}function Vm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=N[a+12>>2];j=N[e>>2];i=b>>>0>j>>>0?j:b;if(i){e=N[e+12>>2];while(1){h=N[e+12>>2];g=h;m=k<<2;f=N[m+c>>2];if((g|0)>=(f|0)){g=N[e+4>>2];g=(f|0)>(g|0)?f:g}f=N[e+8>>2];a:{if((f|0)>(g|0)){l=0-fb(g-f|0,N[e+4>>2]-f|0)|0;break a}l=0;if((f|0)>=(g|0)){break a}l=fb(g-f|0,h-f|0)}h=l;N[d+m>>2]=h;e=e+24|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}if(b>>>0>>0){C((i<<2)+d|0,0,j-i<<2)}a=N[a+28>>2];if(!(!a|!j)){b=0;while(1){f=P[a>>1];b:{if(f>>>0<2){break b}i=(b<<2)+d|0;c=N[i>>2];h=N[a+4>>2];e=1;while(1){g=h+(e<<3)|0;k=N[g>>2];if((k|0)>(c|0)){f=g-8|0;e=N[f+4>>2];h=c;c=N[f>>2];n=i,o=jb(h-c|0,N[g+4>>2]-e|0,k-c|0)+e|0,N[n>>2]=o;break b}e=e+1|0;if((f|0)!=(e|0)){continue}break}}a=a+8|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}}function gn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=La-16|0;La=f;c=N[b+28>>2];a:{if(Qa[N[a+516>>2]](a,1668707360,b,f+12|0)|0){N[a+700>>2]=0;N[a+704>>2]=0;c=0;break a}d=N[f+12>>2];g=d>>>1|0;N[a+700>>2]=g;b:{if(d>>>0>=2){if(d>>>0>=1073741824){N[a+704>>2]=0;c=10;break a}d=g<<2;e=Qa[N[c+4>>2]](c,d)|0;if(!e){break b}C(e,0,d)}N[a+704>>2]=e;c=Bb(b,N[a+700>>2]<<1);if(c){break a}c=N[a+700>>2];if((c|0)>0){d=N[a+704>>2];g=d+(c<<2)|0;c=N[b+32>>2];h=N[b+36>>2];while(1){e=0;if(c+1>>>0>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[d>>2]=e<<16>>16<<6;d=d+4|0;if(g>>>0>d>>>0){continue}break}}if(N[b+20>>2]){c=N[b>>2];if(c){e=N[b+28>>2];Qa[N[e+8>>2]](e,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!O[a+733|0]){c=0;break a}c=Ym(a,b);break a}N[a+704>>2]=0;c=64}La=f+16|0;return c}function Dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=N[N[a+40>>2]>>2];if(e){a=N[a>>2];g=N[a+100>>2];b=N[N[a+96>>2]+4>>2];a:{if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}f=N[a+712>>2];d=N[f+3080>>2];a=b+20|0;b=a+(c<<2)|0;while(1){c=N[a>>2];if(cb(N[N[c>>2]+8>>2],11971)){a=a+4|0;if(b>>>0>a>>>0){continue}break a}break}if(!d){break a}a=N[d>>2];if(!a){break a}d=Qa[a|0](c)|0;if(!d){break a}Qa[N[d+8>>2]](N[e>>2]);b=N[f+2024>>2];if(!b){break a}f=b&3;b:{if(!f){a=b;break b}c=0;a=b;while(1){a=a-1|0;Qa[N[d+8>>2]](N[((a<<2)+e|0)+4>>2]);c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(b>>>0<4){break a}b=e+4|0;while(1){c=b+(a<<2)|0;Qa[N[d+8>>2]](N[c-4>>2]);Qa[N[d+8>>2]](N[c-8>>2]);Qa[N[d+8>>2]](N[c-12>>2]);a=a-4|0;Qa[N[d+8>>2]](N[b+(a<<2)>>2]);if(a){continue}break}}Qa[N[g+8>>2]](g,e)}}function vk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=a+2|0;a:{if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){return 1}f=a+6|0;if(d>>>0>>0){break a}c=(c<<8|c>>>8)&65535;g=c<<1;if(g>>>0>d-f>>>0){break a}d=e-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=c>>>0<=1?1:c;c=0;while(1){h=uk(((c<<1)+a|0)+6|0,b,a);if(!h){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return h}function hh(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{e=N[b+4>>2];if(e>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=N[b+12>>2];d=g-4|0;N[b+12>>2]=d;h=1;if((d|0)<=0){break a}d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b:{if(!d){break b}if(d&128){break a}d=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0;c:{if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<4){break c}e=g-8|0;N[b+12>>2]=e;if((e|0)<=0){break c}c=O[d+2|0]|O[d+3|0]<<8;g=(c<<8|c>>>8)&65535;c=O[d|0]|O[d+1|0]<<8;c=UE(T(g,(c<<8|c>>>8)&65535),0,6,0);if(Pa){break c}if(!c){break b}d=d+4|0;if(d>>>0>f>>>0|c>>>0>f-d>>>0){break c}c=e-c|0;N[b+12>>2]=c;if((c|0)>0){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;h=0;if(!O[b+24|0]){break b}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;h=1}return h}return 0}function tv(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=N[N[a+96>>2]+8>>2];N[a+20>>2]=0;N[a+24>>2]=0;c=N[a+100>>2];b=N[a+368>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+368>>2]=0;b=N[a+372>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+372>>2]=0;b=N[a+376>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+376>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+360>>2]=0;N[a+364>>2]=0;N[a+348>>2]=0;N[a+352>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;N[a+380>>2]=0;N[a+384>>2]=0;b=N[a+416>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+416>>2]=0;N[a+408>>2]=0;N[a+412>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+392>>2]=0;N[a+396>>2]=0;b=N[a+424>>2];if(b){while(1){e=N[b>>2];Qa[N[c+8>>2]](c,b);b=e;if(b){continue}break}}N[a+428>>2]=0;N[a+420>>2]=0;N[a+424>>2]=0;b=N[a+32>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+32>>2]=0}}function OC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=U(0),g=U(0),h=U(0),i=U(0);e=N[b+12>>2];a:{if(O[b+6|0]){if(e){a=N[e+128>>2];h=U(N[a+12>>2]);g=U(N[a+4>>2]);i=U(N[a>>2]);f=U(N[a+8>>2])}else{f=U(0)}h=U(U(aa(U(U(f*f)+U(h*h))))*U(152587890625e-16));f=U(U(aa(U(U(i*i)+U(g*g))))*U(152587890625e-16));break a}h=U(N[a+32>>2]>>31|1);f=U(N[a+28>>2]>>31|1)}if(vc(e,c,N[b>>2])){return 0}a=N[e+84>>2];g=U(f*U(N[a+32>>2]));b:{if(U(V(g))>2]=b;g=U(h*U(N[a+36>>2]));c:{if(U(V(g))>2]=b;f=U(f*U(N[a+24>>2]));d:{if(U(V(f))>2]=b;f=U(h*U(0-N[a+28>>2]|0));e:{if(U(V(f))>2]=a;return 1}function gw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=N[a+712>>2];a:{if(O[e+24|0]==2){i=11;e=N[N[a+96>>2]+4>>2];if(!e){break a}f=N[e+16>>2];if((f|0)<=0){break a}e=e+20|0;f=e+(f<<2)|0;while(1){g=N[e>>2];h=N[g>>2];if(cb(N[h+8>>2],9195)){e=e+4|0;if(f>>>0>e>>>0){continue}break a}break}e=N[h+32>>2];if(!e){break a}e=Qa[e|0](g,9592)|0;if(!e){break a}e=N[e>>2];if(!e){break a}return Qa[e|0](a,b,c,d)|0}f=N[e+3084>>2];if(!f){return 11}a=P[N[e+1188>>2]+(b<<1)>>1];if((a|0)==65535){break a}b:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[e+1356>>2]){break a}e=N[N[e+1360>>2]+(a<<2)>>2];break b}e=Qa[N[f+20>>2]](a)|0}if(!e){break a}c:{if(d>>>0<2){break c}while(1){a=O[e|0];if(!a){break c}L[c|0]=a;c=c+1|0;e=e+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0}return i|0}function Sl(a,b,c,d){var e=0,f=0,g=0,h=0;g=Qa[N[a+4>>2]](a,(P[c+8>>1]>>>1|0)+1|0)|0;if(!g){return 0}e=N[c+12>>2];f=N[b+20>>2];a:{b:{c:{if(f){if(!(Qa[f|0](b,e,0,0)|0)){break c}break b}if(e>>>0>Q[b+4>>2]){break b}}N[b+8>>2]=e;if(Bb(b,P[c+8>>1])){break b}e=g;d:{f=P[c+8>>1];if(f>>>0>=2){h=f>>>1|0;f=N[b+32>>2];while(1){if(O[f|0]){break d}if(!(Qa[d|0](L[f+1|0])|0)){break d}L[e|0]=O[f+1|0];f=f+2|0;e=e+1|0;h=h-1|0;if(h){continue}break}}L[e|0]=0;if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;b=b+36|0;break a}if(N[b+20>>2]){d=N[b>>2];if(d){e=N[b+28>>2];Qa[N[e+8>>2]](e,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}Qa[N[a+8>>2]](a,g);g=0;N[c+12>>2]=0;M[c+8>>1]=0;b=c+16|0;c=N[c+16>>2];if(!c){break a}Qa[N[a+8>>2]](a,c)}N[b>>2]=0;return g}function ID(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+20>>2];if((h|0)<=0){return 0}k=N[a>>2];d=h-1|0;l=h+1<<1;a:{while(1){e=d+f|0;g=e>>>1|0;e=e&-2;i=e+k|0;j=O[i|0]|O[i+1|0]<<8;b:{if(((j<<8|j>>>8)&65535)>>>0>=b>>>0){d=i+l|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}d=g-1|0;break b}f=g+1|0}if((d|0)>=(f|0)){continue}break}return 0}f=e>>1;d=e+N[a+12>>2]|0;g=O[d|0]|O[d+1|0]<<8;c:{if(g){d=0;e=f+(b-h|0)+(((g<<8|g>>>8)&65534)>>>1)|0;b=N[a+4>>2]+(f<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=Q[a+24>>2]){break c}b=N[a+16>>2]+(b<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!b){break c}b=(b<<8|b>>>8)&65535}a=N[a+8>>2]+(f<<1)|0;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){return 0}N[c>>2]=a;d=1}return d|0}function Pe(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=N[b+12>>2]-2|0;N[b+12>>2]=f;if((f|0)<=0){break b}d=O[a|0]|O[a+1|0]<<8;if(!d){return 1}g=a+2|0;if(g>>>0>e>>>0){break b}d=(d<<8|d>>>8)&65535;h=d<<1;if(h>>>0>e-g>>>0){break b}e=f-h|0;N[b+12>>2]=e;if((e|0)<=0){break b}g=d>>>0<=1?1:d;f=0;while(1){e=((f<<1)+a|0)+2|0;if(e>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break a}h=N[c>>2];d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[e|0]|O[e+1|0]<<8;c:{if(!d){break c}if(Lb(h+((d<<8|d>>>8)&65535)|0,b)){break c}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0}i=1;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return i}return 0}function vf(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{switch(O[a|0]){case 0:if(!b|c>>>0<2){break b}e=1;a=a+1|0;while(1){d=(a+(e<<1)|0)-2|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)==(b|0)){return e}e=e+1|0;if((e|0)!=(c|0)){continue}break};break b;case 1:if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+T(e,3)|0;f=O[a+2|0];a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break};break b;case 2:break c;default:break b}}if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+(e<<2)|0;f=O[a+2|0]|O[a+3|0]<<8;f=(f<<8|f>>>8)&65535;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break}}return 0}return(b+d|0)-a|0}function Sg(a,b,c){var d=0,e=0,f=0;a:{b:{d=N[a+72>>2]+1|0;c:{if(!(!d|d>>>0>2])){if(!gb(a,d)){break c}}d=N[a+84>>2];d:{if((d|0)!=N[a+80>>2]){break d}e=N[a+72>>2];if(e+1>>>0<=N[a+64>>2]+b>>>0){break d}if(!O[a+62|0]){break b}f=N[a+88>>2];N[a+84>>2]=f;e=T(e,20);if(!e){break d}F(f,d,e)}d=N[a+64>>2];e=d+b|0;if(e>>>0>Q[a+68>>2]){break a}Ib(a,d,e);d=N[a+64>>2];e:{if(d>>>0>2]){e=N[a+72>>2];f=N[a+84>>2];d=N[a+80>>2]+T(d,20)|0;break e}f=N[a+84>>2];e=N[a+72>>2];d=e-1|0;d=f+T(d>>>0<=e>>>0?d:0,20)|0}e=T(e,20)+f|0;f=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=f;N[e+16>>2]=N[d+16>>2];f=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=f;N[e>>2]=N[c>>2];N[a+64>>2]=N[a+64>>2]+b;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function wy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){b=b<<2;d=N[b+N[a+392>>2]>>2];e=cg(a);j=b+N[a+392>>2]|0,k=fb(c,e)+d|0,N[j>>2]=k}}function Cq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=La-32|0;La=f;c=c+2|0;a:{if(d>>>0<=c>>>0){break a}h=N[b+80>>2];while(1){b:{a=T(c,20)+h|0;e=P[a-24>>1];if((e&65024)!=5120|!(1<>1];if((g&65024)!=5632|!(1<>1];g=1<>>8|0:0;if((g|0)!=220&(g|0)!=25){break b}Ib(b,c-1|0,c+1|0);N[f+24>>2]=N[e+16>>2];b=N[e+12>>2];N[f+16>>2]=N[e+8>>2];N[f+20>>2]=b;b=N[e+4>>2];N[f+8>>2]=N[e>>2];N[f+12>>2]=b;N[e+16>>2]=N[a+16>>2];b=N[a+12>>2];N[e+8>>2]=N[a+8>>2];N[e+12>>2]=b;b=N[a+4>>2];N[e>>2]=N[a>>2];N[e+4>>2]=b;N[a+16>>2]=N[f+24>>2];b=N[f+20>>2];N[a+8>>2]=N[f+16>>2];N[a+12>>2]=b;b=N[f+12>>2];N[a>>2]=N[f+8>>2];N[a+4>>2]=b;break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}La=f+32|0}function tc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=O[a+12|0];a:{if(O[a+48|0]){if(!c){break a}c=N[a+20>>2];d=N[a+28>>2];e=b>>>9|0;f=N[a+32>>2];if(!(c>>>0>>0&(e|0)==N[f+(c<<3)>>2])){if((d|0)<=0){break a}d=d-1|0;while(1){b:{c=d+g>>>1|0;h=N[(c<<3)+f>>2];c:{if((e|0)<(h|0)){d=c-1|0;break c}if((e|0)==(h|0)){break b}g=c+1|0}if((d|0)>=(g|0)){continue}break a}break}N[a+20>>2]=c}e=N[a+44>>2];if(!e){break a}c=N[((c<<3)+f|0)+4>>2];N[a+16>>2]=-1;a=(e+(c<<6)|0)+(b>>>3&56)|0;c=N[a>>2];e=N[a+4>>2];i=a,j=_E(-2,-1,b)&c,N[i>>2]=j;N[a+4>>2]=Pa&e;return}if(!c|(b|0)==-1){break a}N[a+16>>2]=-1;a=wc(a+12|0,b);if(!a){break a}a=a+(b>>>3&56)|0;e=N[a+4>>2];c=b&63;b=c&31;if((c&63)>>>0>=32){c=1<>>32-b}N[a>>2]=d|N[a>>2];N[a+4>>2]=c|e}}function Hs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=N[a+16>>2];f=N[a+24>>2];c=f+1|0;d=N[a+28>>2];a:{b:{if(c>>>0<=d>>>0){b=N[a+32>>2];break b}N[a+36>>2]=b;if((c|d)<0|(c|0)>536870911){break a}c:{if(!d){b=Qa[N[b+4>>2]](b,c<<2)|0;e=!b<<6;break c}h=N[a+32>>2];e=Qa[N[b+12>>2]](b,d<<2,c<<2,h)|0;b=e?e:h;e=!e<<6}d:{if(!(e|(c|0)<=(d|0)|!b)){C((d<<2)+b|0,0,c-d<<2);N[a+32>>2]=b;break d}N[a+32>>2]=b;if(e){break a}}N[a+28>>2]=c}g=b;e:{if(!f){break e}a=i+10|0;b=0;if((f|0)!=1){e=f&1;c=f&-2;while(1){d=b<<2;N[d+g>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);N[(d|4)+g>>2]=O[a+13|0]|(O[a+12|0]<<8|O[a+11|0]<<16);a=a+22|0;b=b+2|0;if((c|0)!=(b|0)){continue}break}if(!e){break e}}N[(b<<2)+g>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16)}N[(f<<2)+g>>2]=0}return g|0}function Si(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=6;a:{if(N[b+72>>2]!=N[a+16>>2]){break a}b:{if(!c){break b}a=N[b+112>>2];if(!a){break b}e=M[b+110>>1];if((e|0)<=0){break b}e=(e<<3)+a|0;while(1){id(a,c);a=a+8|0;if(e>>>0>a>>>0){continue}break}}e=0;if(!d){break a}f=M[b+110>>1];if((f|0)<=0){break a}c=N[d+4>>2];d=N[d>>2];a=N[b+112>>2];if(f>>>0>=4){e=f&-4;b=0;while(1){N[a>>2]=d+N[a>>2];N[a+4>>2]=c+N[a+4>>2];N[a+8>>2]=d+N[a+8>>2];N[a+16>>2]=d+N[a+16>>2];N[a+24>>2]=d+N[a+24>>2];N[a+12>>2]=c+N[a+12>>2];N[a+20>>2]=c+N[a+20>>2];N[a+28>>2]=c+N[a+28>>2];a=a+32|0;b=b+4|0;if((e|0)!=(b|0)){continue}break}}e=0;f=f&3;if(!f){break a}b=0;while(1){N[a>>2]=d+N[a>>2];N[a+4>>2]=c+N[a+4>>2];a=a+8|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}return e|0}function HC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=U(0),g=0,h=U(0),i=U(0),j=U(0),k=U(0);e=b+16|0;g=N[b+12>>2];c=N[b+8>>2];h=U(N[a+4>>2]);f=U(N[a>>2]);a:{if(O[b+4|0]){if(!N[e>>2]){d=N[c+12>>2];i=R[b+28>>2];j=R[b+32>>2];a=N[c+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[d|0](c,g,e,i,j,a);N[b+16>>2]=1;a=N[b+32>>2];N[b+20>>2]=N[b+28>>2];N[b+24>>2]=a}d=N[c+16>>2];a=N[c+32>>2];if(!a){Qa[d|0](c,g,e,f,h,0);break a}Qa[d|0](c,g,e,f,h,N[a+4>>2]);break a}i=U(h*R[b>>2]);if(!N[b+16>>2]){d=N[c+12>>2];j=R[b+28>>2];k=R[b+32>>2];a=N[c+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[d|0](c,g,e,j,k,a);N[b+16>>2]=1;a=N[b+32>>2];N[b+20>>2]=N[b+28>>2];N[b+24>>2]=a}d=N[c+16>>2];f=U(i+f);a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[d|0](c,g,e,f,h,a)}R[b+32>>2]=h;R[b+28>>2]=f;return 0}function jr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=N[a>>2];a=0;a:{b:{c:{d:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}a=e;e=O[c+2|0]|O[c+3|0]<<8;e=a-((e<<8|e>>>8)&65535)|0;d=O[c+4|0]|O[c+5|0]<<8;a=275552;if(e>>>0>=((d<<8|d>>>8)&65535)>>>0){break b}a=((e<<1)+c|0)+6|0;break b}g=241305;a=O[c+2|0]|O[c+3|0]<<8;e:{if(!a){break e}h=c+4|0;c=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){d=a+c>>>1|0;f=T(d,6)+h|0;i=O[f|0]|O[f+1|0]<<8;f:{if(e>>>0>=((i<<8|i>>>8)&65535)>>>0){a=O[f+2|0]|O[f+3|0]<<8;if(e>>>0>((a<<8|a>>>8)&65535)>>>0){a=d+1|0;break f}g=T(d,6)+h|0;break e}c=d-1|0}if((a|0)<=(c|0)){continue}break}}a=g+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}return(a|0)==(b|0)|0}function Ng(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=U(0),q=U(0),r=0;l=S[g+8>>3];m=S[g>>3];k=N[b+8>>2];if(k){n=S[k+8>>3];l=l+n;o=S[k>>3];m=m+o;f=n+f;e=o+e;d=n+d;c=o+c}k=N[b>>2];p=R[k+44>>2];q=R[k+48>>2];Cb(N[b+4>>2],U(p*U(c)),U(q*U(d)),U(p*U(e)),U(q*U(f)),U(p*U(m)),U(q*U(l)));r=N[g+12>>2];k=a+4400|0;N[k>>2]=N[g+8>>2];N[k+4>>2]=r;k=N[g+4>>2];N[a+4392>>2]=N[g>>2];N[a+4396>>2]=k;f=S[j+8>>3];e=S[j>>3];d=S[i+8>>3];c=S[i>>3];l=S[h+8>>3];m=S[h>>3];g=N[b+8>>2];if(g){n=S[g+8>>3];f=f+n;o=S[g>>3];e=e+o;d=d+n;l=l+n;m=m+o;c=c+o}g=N[b+4>>2];b=N[b>>2];p=R[b+44>>2];q=R[b+48>>2];Cb(g,U(p*U(m)),U(q*U(l)),U(p*U(c)),U(q*U(d)),U(p*U(e)),U(q*U(f)));b=N[j+12>>2];a=a+4392|0;N[a+8>>2]=N[j+8>>2];N[a+12>>2]=b;b=N[j+4>>2];N[a>>2]=N[j>>2];N[a+4>>2]=b}function ve(a,b,c){var d=0,e=0;if(c>>>0>=512){C(a,b<<24>>24,c);return}a:{if(!c){break a}L[a|0]=b;d=a+c|0;L[d-1|0]=b;if(c>>>0<3){break a}L[a+2|0]=b;L[a+1|0]=b;L[d-3|0]=b;L[d-2|0]=b;if(c>>>0<7){break a}L[a+3|0]=b;L[d-4|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;a=T(b&255,16843009);N[e>>2]=a;c=c-d&-4;b=c+e|0;N[b-4>>2]=a;if(c>>>0<9){break a}N[e+8>>2]=a;N[e+4>>2]=a;N[b-8>>2]=a;N[b-12>>2]=a;if(c>>>0<25){break a}N[e+24>>2]=a;N[e+20>>2]=a;N[e+16>>2]=a;N[e+12>>2]=a;N[b-16>>2]=a;N[b-20>>2]=a;N[b-24>>2]=a;N[b-28>>2]=a;b=c;c=e&4|24;b=b-c|0;if(b>>>0<32){break a}a=UE(a,0,1,1);d=Pa;c=c+e|0;while(1){N[c+24>>2]=a;N[c+28>>2]=d;N[c+16>>2]=a;N[c+20>>2]=d;N[c+8>>2]=a;N[c+12>>2]=d;N[c>>2]=a;N[c+4>>2]=d;c=c+32|0;b=b-32|0;if(b>>>0>31){continue}break}}}function ko(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;A(+a);b=v(1)|0;v(0)|0;a:{b:{c:{d:{if(!(((b|0)>0|(b|0)>=0)&b>>>0>1071284857)){if(b>>>0>=3220176896){d=-Infinity;if(a==-1){break b}return(a-a)/0}if(b<<1>>>0<2034237440){break a}if(b>>>0>=3218259653){break d}d=0;break c}if(b>>>0>2146435071){break a}}c=a+1;A(+c);b=v(1)|0;b=b+614242|0;g=b>>>0<=1129316351?(b>>>0>1074790399?a-c+1:a-(c+-1))/c:g;x(0,v(0)|0);x(1,(b&1048575)+1072079006|0);a=+z()+-1;d=+((b>>>20|0)-1023|0)}e=a/(a+2);f=e*e;c=f*f;h=a;a=a*(a*.5);d=d*.6931471803691238+(h+(e*(a+(c*(c*(c*.15313837699209373+.22222198432149784)+.3999999999940942)+f*(c*(c*(c*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))+(d*1.9082149292705877e-10+g)-a))}return d}return a}function _l(a,b,c){var d=0,e=0,f=0;d=L[a|0];if((d|0)>=0){L[a|0]=c+d&127;return 1}e=1;a:{if(d>>>0<4294967232){break a}c=((c&32767)-(c&32768)|0)+16777216|0;f=d&255;if(d>>>0<=4294967263){if((b|0)<2){break a}b=O[a+1|0];c=c+(f<<6&1984|b&63)|0;L[a+1|0]=c&63|b&192;L[a|0]=c>>>6&31|192;return 2}if(d>>>0<=4294967279){e=b;if((b|0)<3){break a}b=O[a+2|0];c=(c+(f<<12&61440)|0)+(b&63)|0;L[a+2|0]=c&63|b&192;b=O[a+1|0];c=c+((b&63)<<6)|0;L[a+1|0]=c>>>6&63|b&192;L[a|0]=c>>>12&15|224;return 3}if(d>>>0>4294967287){break a}e=b;if((b|0)<4){break a}b=O[a+3|0];c=(c+(f<<18&1835008)|0)+(b&63)|0;L[a+3|0]=c&63|b&192;b=O[a+2|0];c=c+((b&63)<<6)|0;L[a+2|0]=c>>>6&63|b&192;b=O[a+1|0];c=c+((b&63)<<12)|0;L[a+1|0]=c>>>12&63|b&192;L[a|0]=c>>>18&7|240;e=4}return e}function Tn(a,b,c,d){a:{switch(b-9|0){case 0:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=N[b>>2];return;case 6:b=N[c>>2];N[c>>2]=b+4;b=M[b>>1];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 7:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=P[b>>1];N[a+4>>2]=0;return;case 8:b=N[c>>2];N[c>>2]=b+4;b=L[b|0];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 9:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=O[b|0];N[a+4>>2]=0;return;case 16:b=N[c>>2]+7&-8;N[c>>2]=b+8;S[a>>3]=S[b>>3];return;case 17:Qa[d|0](a,c);default:return;case 1:case 4:case 14:b=N[c>>2];N[c>>2]=b+4;b=N[b>>2];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=N[b>>2];N[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=N[c>>2]+7&-8;N[c>>2]=b+8;c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c}function de(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{if(!(N[a+24>>2]|!c)){d=N[a+44>>2];if(!d){break b}if(Q[d>>2]>b>>>0){break a}c:{d:{e:{e=N[d+8>>2];if((e|0)>=0){g=N[d+12>>2];f=g+1|0;f=(f|0)>0?f:0;if(f>>>0<=e>>>0){break d}while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}if(e>>>0<=357913941){g=$a(N[d+16>>2],T(e,12));if(g){break e}}N[d+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;d=589824;break c}N[d+8>>2]=e;N[d+16>>2]=g;g=N[d+12>>2]}if(f>>>0>g>>>0){C(N[d+16>>2]+T(g,12)|0,0,T(f-g|0,12))}N[d+12>>2]=f;d=(N[d+16>>2]+T(f,12)|0)-12|0}if(N[N[a+44>>2]+8>>2]<0){N[a+24>>2]=N[a+24>>2]|1}N[d+8>>2]=c;N[d>>2]=N[d>>2]&-64|2;a=N[N[a+44>>2]>>2];N[d>>2]=2;N[d+4>>2]=b-a}return}ba(9271,14296,479,13575);B()}ba(11056,14296,480,13575);B()}function KE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=N[N[a+112>>2]>>2];a:{if(!j){break a}e=N[c+68>>2];if(!e){break a}f=e-1|0;g=N[c+80>>2];d=g+3|0;a=0;b=O[g+15|0];while(1){b:{if((a|0)==(f|0)){a=e;break b}a=a+1|0;if((b|0)==O[(d+T(a,20)|0)+12|0]){continue}}break}k=g+2|0;d=0;i=g;f=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){h=T(d,20);a=h+g|0;if(!(N[a+4>>2]&j)){break c}if(O[a+12|0]&16){L[(h+k|0)+16|0]=18;i=N[c+80>>2];f=N[c+68>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;l=d-1|0;m=i+3|0;h=O[(T(b,20)+i|0)+15|0];a=b;while(1){d:{if((a|0)==(l|0)){a=d;break d}a=a+1|0;if((h|0)==O[(T(a,20)+m|0)+12|0]){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}return 0}function Cb(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=U(0),l=0,m=0,n=U(0);i=a+16|0;l=N[a+12>>2];j=N[a+8>>2];if(O[a+4|0]){if(!N[i>>2]){m=N[j+12>>2];n=R[a+28>>2];k=R[a+32>>2];h=N[j+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[m|0](j,l,i,n,k,h);N[a+16>>2]=1;h=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=h}m=N[j+24>>2];h=N[j+32>>2];if(h){h=N[h+12>>2]}else{h=0}Qa[m|0](j,l,i,b,c,d,e,f,g,h);R[a+32>>2]=g;R[a+28>>2]=f;return}k=R[a>>2];n=U(U(c*k)+b);d=U(U(e*k)+d);b=U(U(g*k)+f);if(!N[i>>2]){h=N[j+12>>2];f=R[i+12>>2];k=R[i+16>>2];a=N[j+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[h|0](j,l,i,f,k,a);N[i>>2]=1;a=N[i+16>>2];N[i+4>>2]=N[i+12>>2];N[i+8>>2]=a}h=N[j+24>>2];a=N[j+32>>2];if(a){a=N[a+12>>2]}else{a=0}Qa[h|0](j,l,i,n,c,d,e,b,g,a);R[i+16>>2]=g;R[i+12>>2]=b}function Bm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;N[a+44>>2]=b;Yc(N[a>>2],b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[N[c+712>>2]+3080>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}e=Qa[b|0](e)|0;if(!e){break a}g=N[N[a>>2]+712>>2];c=N[g+1440>>2];h=N[N[a+40>>2]>>2];Qa[N[e+4>>2]](N[h>>2],N[a+16>>2],N[a+20>>2],0,0);b=N[g+2024>>2];if(!b){break a}while(1){d=N[a+16>>2];b=b-1|0;i=b<<2;f=N[N[(i+g|0)+2028>>2]+68>>2];b:{if((f|0)!=(c|0)){d=jb(d,c,f);f=jb(N[a+20>>2],c,f);break b}f=N[a+20>>2]}Qa[N[e+4>>2]](N[(h+i|0)+4>>2],d,f,0,0);if(b){continue}break}}return 0}function kh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{e=T(c,12);b:{if(e){if(Q[b+4>>2]>a>>>0){break b}g=N[b+8>>2];if(g>>>0>>0|e>>>0>g-a>>>0){break b}e=N[b+12>>2]-e|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!c){return 1}j=N[b+4>>2];g=0;while(1){e=T(g,12)+a|0;if(e>>>0>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<12){break a}h=N[b+12>>2]-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}c:{i=O[e+2|0]|O[e+3|0]<<8;if(!i){break c}e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0;if(e>>>0>>0|e>>>0>f>>>0){break a}f=f-e|0;e=((i<<8|i>>>8)&65535)<<2;if(f>>>0>>0){break a}e=h-e|0;N[b+12>>2]=e;if((e|0)>0){break c}break a}f=1;g=g+1|0;if((g|0)!=(c|0)){continue}break}}return f}return 0}function IC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=U(0),h=U(0),i=U(0),j=U(0);d=b+16|0;f=N[b+12>>2];c=N[b+8>>2];j=U(N[a+4>>2]);i=U(N[a>>2]);a:{b:{if(O[b+4|0]){if(!N[d>>2]){break a}g=R[b+20>>2];h=R[b+24>>2];if(!(g==R[b+28>>2]&h==R[b+32>>2])){e=N[c+16>>2];a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[e|0](c,f,d,g,h,a)}a=N[c+28>>2];e=N[c+32>>2];if(!e){Qa[a|0](c,f,d,0);break b}Qa[a|0](c,f,d,N[e+16>>2]);break b}i=U(U(j*R[b>>2])+i);if(!N[b+16>>2]){break a}g=R[b+20>>2];h=R[b+24>>2];if(!(g==R[b+28>>2]&h==R[b+32>>2])){e=N[c+16>>2];a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[e|0](c,f,d,g,h,a)}e=N[c+28>>2];a=N[c+32>>2];if(a){a=N[a+16>>2]}else{a=0}Qa[e|0](c,f,d,a)}N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0}R[b+32>>2]=j;R[b+28>>2]=i;return 0}function vy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){d=cg(a);j=N[a+392>>2]+(b<<2)|0,k=fb(c,d),N[j>>2]=k}}function Zn(a,b,c,d,e,f){var g=0;g=La-80|0;La=g;a:{if((f|0)>=16384){Gb(g+32|0,b,c,d,e,0,0,0,2147352576);d=N[g+40>>2];e=N[g+44>>2];b=N[g+32>>2];c=N[g+36>>2];if(f>>>0<32767){f=f-16383|0;break a}Gb(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)>=49149?49149:f)-32766|0;d=N[g+24>>2];e=N[g+28>>2];b=N[g+16>>2];c=N[g+20>>2];break a}if((f|0)>-16383){break a}Gb(g- -64|0,b,c,d,e,0,0,0,7471104);d=N[g+72>>2];e=N[g+76>>2];b=N[g+64>>2];c=N[g+68>>2];if(f>>>0>4294934644){f=f+16269|0;break a}Gb(g+48|0,b,c,d,e,0,0,0,7471104);f=((f|0)<=-48920?-48920:f)+32538|0;d=N[g+56>>2];e=N[g+60>>2];b=N[g+48>>2];c=N[g+52>>2]}Gb(g,b,c,d,e,0,0,0,f+16383<<16);b=N[g+12>>2];N[a+8>>2]=N[g+8>>2];N[a+12>>2]=b;b=N[g+4>>2];N[a>>2]=N[g>>2];N[a+4>>2]=b;La=g+80|0}function Ey(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=nb(c);b=f+18|0;a:{b:{if((f|0)>=-17){a=N[a>>2];b=Qa[N[a+4>>2]](a,b)|0;if(b){break b}return 64}a=6;if(b){break a}b=0}F(b,c,f);c=b+f|0;a=O[17697]|O[17698]<<8;L[c+16|0]=a;L[c+17|0]=a>>>8;a=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);f=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[c+8|0]=f;L[c+9|0]=f>>>8;L[c+10|0]=f>>>16;L[c+11|0]=f>>>24;L[c+12|0]=a;L[c+13|0]=a>>>8;L[c+14|0]=a>>>16;L[c+15|0]=a>>>24;a=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);f=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[c|0]=f;L[c+1|0]=f>>>8;L[c+2|0]=f>>>16;L[c+3|0]=f>>>24;L[c+4|0]=a;L[c+5|0]=a>>>8;L[c+6|0]=a>>>16;L[c+7|0]=a>>>24;N[d>>2]=b;N[e>>2]=0;a=0}return a|0}function Xe(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}b=N[a+80>>2];if(b){Qa[b|0](N[a+48>>2])}b=N[a+84>>2];if(b){Qa[b|0](N[a+52>>2])}b=N[a+88>>2];if(b){Qa[b|0](N[a+56>>2])}b=N[a+92>>2];if(b){Qa[b|0](N[a+60>>2])}b=N[a+96>>2];if(b){Qa[b|0](N[a- -64>>2])}b=N[a+100>>2];if(b){Qa[b|0](N[a+68>>2])}b=N[a+104>>2];if(b){Qa[b|0](N[a+72>>2])}b=N[a+108>>2];if(b){Qa[b|0](N[a+76>>2])}Xe(N[a+12>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function nd(a,b){var c=0,d=0,e=0;a:{b:{switch(O[a|0]){case 0:c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}c=(c<<8|c>>>8)&65535;b=b>>>0>>0?b:c-1|0;d=O[a+1|0];e=d>>>4&3;c=e+1|0;b=T(b,c)+a|0;a=O[b+4|0];c:{if(!e){break c}a=O[b+5|0]|a<<8;if((c|0)==2){break c}a=O[b+6|0]|a<<8;if((c|0)==3){break c}a=O[b+7|0]|a<<8}b=(d&15)+1|0;return a>>>b<<16|(-1<>>8&65280|c>>>24);b=b>>>0>>0?b:c-1|0;d=O[a+1|0];e=d>>>4&3;c=e+1|0;b=T(b,c)+a|0;a=O[b+6|0];d:{if(!e){break d}a=O[b+7|0]|a<<8;if((c|0)==2){break d}a=O[b+8|0]|a<<8;if((c|0)==3){break d}a=O[b+9|0]|a<<8}b=(d&15)+1|0;b=a>>>b<<16|(-1<>2];if(e){d=N[e+3132>>2];if(!d){a=N[a+100>>2];d=Qa[N[a+4>>2]](a,2)|0;if(!d){return 64}M[d>>1]=0;a=N[e+1500>>2];a:{if((a|0)==65535){break a}b:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[e+1356>>2]){break a}a=N[N[e+1360>>2]+(a<<2)>>2];break b}f=N[e+3084>>2];if(!f){break a}a=Qa[N[f+20>>2]](a)|0}if(!a){break a}a=ub(a,15611);if(!a){break a}a=a+7|0;f=ub(a,15269);if(!f|(a|0)==(f|0)){break a}while(1){c:{c=O[a|0];d:{if((c-48&255)>>>0<=9){c=P[d>>1];if(c>>>0>6551){break c}c=T(c,10);M[d>>1]=c;M[d>>1]=(c+L[a|0]|0)-48;break d}c=c-10|0;if(c>>>0>22|!(1<>1]=0}N[e+3132>>2]=d}M[b>>1]=P[d>>1]}return 0}function Up(a,b){var c=0,d=0,e=0;a:{b:{c:{if(!b){break c}c=N[b>>2];if(!c){break c}if((c|0)<=0){break b}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break a}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}d:{e:{if(e>>>0>=36){N[a+12>>2]=c-36;c=O[d|0]|O[d+1|0]<<8;ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if((c|0)!=256){break e}if(!N[b+4>>2]){break d}N[b+4>>2]=0;return b}ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}ab(b);b=275552}return b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function od(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=U(0),k=0,l=U(0),m=U(0);i=a+16|0;j=U(U(e)*c);c=U(U(d)*b);k=N[a+12>>2];g=N[a+8>>2];a:{if(O[a+4|0]){if(!N[i>>2]){h=N[g+12>>2];b=R[a+28>>2];l=R[a+32>>2];f=N[g+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[h|0](g,k,i,b,l,f);N[a+16>>2]=1;f=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=f}f=N[g+16>>2];h=N[g+32>>2];if(!h){Qa[f|0](g,k,i,c,j,0);break a}Qa[f|0](g,k,i,c,j,N[h+4>>2]);break a}b=U(j*R[a>>2]);if(!N[a+16>>2]){h=N[g+12>>2];l=R[a+28>>2];m=R[a+32>>2];f=N[g+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[h|0](g,k,i,l,m,f);N[a+16>>2]=1;f=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=f}h=N[g+16>>2];c=U(b+c);f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[h|0](g,k,i,c,j,f)}R[a+32>>2]=j;R[a+28>>2]=c}function di(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c>>31;i=(d^c)-d|0;a:{b:{d=b>>31;d=(d^b)-d|0;f=a>>31;f=(f^a)-f|0;if(d+f>>>0<=131071){d=T(d,f);break b}h=d>>>16|0;g=f>>>16|0;e=T(h,f&65535)+T(g,d&65535)|0;d=T(d,f);e=((e>>>16|0)+T(h,g)|0)+(d>>>0>>0)|0;if(!e){break b}f=2147483647;if(e>>>0>=i>>>0){break a}h=W(e);g=32-h|0;e=d>>>g|e<>>0)/(i>>>0)|0;e=e-T(f,i)|0;d=d<>>31;g=e>>>0>=i>>>0;e=e-(g?i:0)|0;f=g|f<<1;g=h^31;d=d<<1}if((h|0)==31){break a}while(1){e=e<<1|d>>>31;h=e>>>0>=i>>>0;e=d>>>30&1|e-(h?i:0)<<1;j=e>>>0>=i>>>0;e=e-(j?i:0)|0;f=f<<2|h<<1|j;d=d<<2;g=g-2|0;if(g){continue}break}break a}f=(d>>>0)/(i>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-f|0:f}function ar(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=275552;c=N[N[N[a+4>>2]+144>>2]>>2];c=c?c:275552;d=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[d|0]|O[d+1|0]<<8)!=256){break a}c=275552;f=O[d+8|0]|O[d+9|0]<<8;if(f){c=d+((f<<8|f>>>8)&65535)|0}d=O[c|0]|O[c+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}b=(b<<1)+c|0;b=O[b+2|0]|O[b+3|0]<<8;if(!b){break a}e=((b<<8|b>>>8)&65535)+c|0}c=O[e+4|0]|O[e+5|0]<<8;if(c){b=O[e|0]|O[e+1|0]<<8;f=(b<<8|b>>>8)&65535;b=e+4|0;c=(c<<8|c>>>8)&65535;g=c>>>0<=1?1:c;c=0;while(1){d=O[b|0]|O[b+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=c>>>0?275552:(b+(c<<1)|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+e|0}else{d=275552}Xj(d,a,f);c=c+1|0;if((g|0)!=(c|0)){continue}break}}}function Hv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La-32|0;La=c;e=N[b+96>>2];a:{if((e|0)<0|N[a+300>>2]<=(e|0)){break a}g=N[a+304>>2];if((Qa[N[b+52>>2]](b,6,c,3)|0)<6){break a}f=N[c+12>>2];if(!f){break a}h=T(e,252)+g|0;i=h+216|0;d=f>>31;d=(d^f)-d|0;b:{if((d|0)==65536){a=N[c>>2];break b}k=a,l=fb(1e3,d),M[k+68>>1]=l;a=fb(N[c>>2],d);k=c,l=fb(N[c+4>>2],d),N[k+4>>2]=l;k=c,l=fb(N[c+8>>2],d),N[k+8>>2]=l;k=c,l=fb(N[c+16>>2],d),N[k+16>>2]=l;j=N[c+20>>2];N[c+12>>2]=(f|0)<0?-65536:65536;k=c,l=fb(j,d),N[k+20>>2]=l}N[i>>2]=a;a=T(e,252)+g|0;N[a+224>>2]=N[c+4>>2];N[a+220>>2]=N[c+8>>2];N[a+228>>2]=N[c+12>>2];if(!hg(i)){N[b+12>>2]=3;break a}N[h+232>>2]=M[c+18>>1];N[a+236>>2]=M[c+22>>1]}La=c+32|0}function gz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=La-32|0;La=e;d=N[a+28>>2];N[e+16>>2]=d;f=N[a+20>>2];N[e+28>>2]=c;N[e+24>>2]=b;b=f-d|0;N[e+20>>2]=b;f=b+c|0;i=2;b=e+16|0;a:{while(1){b:{c:{d=Ia(N[a+60>>2],b|0,i|0,e+12|0)|0;if(d){N[147316]=d;d=-1}else{d=0}d:{if(!d){g=N[e+12>>2];if((g|0)==(f|0)){break d}if((g|0)>=0){break c}break b}if((f|0)!=-1){break b}}b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;N[a+16>>2]=b+N[a+48>>2];a=c;break a}h=N[b+4>>2];j=h>>>0>>0;d=(j<<3)+b|0;h=g-(j?h:0)|0;N[d>>2]=h+N[d>>2];b=(j?12:4)+b|0;N[b>>2]=N[b>>2]-h;f=f-g|0;i=i-j|0;b=d;continue}break}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a>>2]=N[a>>2]|32;a=0;if((i|0)==2){break a}a=c-N[b+4>>2]|0}La=e+32|0;return a|0}function $p(a,b,c){var d=0,e=0;a:{b:{switch(O[a|0]){case 0:if(!b|b>>>0>=c>>>0){break a}a=((b<<1)+a|0)-1|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)&65535;case 1:if(!b|b>>>0>=c>>>0){break a}c=a+1|0;a=O[a+3|0];b=b-1|0;if(a>>>0>>0){while(1){b=(a^-1)+b|0;d=d+1|0;a=O[(c+T(d,3)|0)+2|0];if(b>>>0>a>>>0){continue}break}}a=c+T(d,3)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)&65535)+b|0;case 2:break b;default:break a}}if(!b|b>>>0>=c>>>0){break a}c=a+1|0;a=O[a+3|0]|O[a+4|0]<<8;a=(a<<8|a>>>8)&65535;b=b-1|0;if(a>>>0>>0){while(1){e=a^-1;d=d+1|0;a=c+(d<<2)|0;a=O[a+2|0]|O[a+3|0]<<8;a=(a<<8|a>>>8)&65535;b=b+e|0;if(a>>>0>>0){continue}break}}a=c+(d<<2)|0;a=O[a|0]|O[a+1|0]<<8;d=((a<<8|a>>>8)&65535)+b|0}return d}function sy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){a=N[a+392>>2]+(b<<2)|0;N[a>>2]=N[a>>2]+c}}function SC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=U(0),j=U(0),k=0,l=0,m=0,n=0,o=0;h=La-16|0;La=h;k=N[b+12>>2];a:{if(O[b+6|0]){if(k){a=N[k+128>>2];j=U(N[a+4>>2]);i=U(N[a>>2])}else{i=U(0)}i=U(U(aa(U(U(i*i)+U(j*j))))*U(152587890625e-16));break a}i=U(N[a+28>>2]>>31|1)}if(c){n=N[b>>2];o=b+20|0;while(1){N[h+12>>2]=0;b=N[d>>2];l=((b&255)<<2)+o|0;a=N[l>>2];b:{if(!((a|0)==-1|(a>>>24|0)!=(b>>>8|0))){a=a&16777215;break b}In(k,b,n,h+12|0);a=N[h+12>>2];if(b>>>0>65535|a>>>0>16777215){break b}N[l>>2]=b<<16&-16777216|a}j=U(U(U(a|0)*i)+U(512));c:{if(U(V(j))>2]=a>>10;f=f+g|0;d=d+e|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}La=h+16|0}function vl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=N[a+68>>2];h=N[a+36>>2];if((h|0)!=N[b+36>>2]){a=N[b+68>>2];if(f){return a?1:2}return((a|0)!=0)<<1}c=2;a:{b:{if((f|0)!=N[b+68>>2]){break b}if(!f){return 0}d=N[a+80>>2];e=N[b+80>>2];c=0;while(1){c=N[d>>2]==N[e>>2]?c:c|16;c=N[d+8>>2]==N[e+8>>2]?c:c|32;c=(N[e+4>>2]^N[d+4>>2])&7?c|64:c;e=e+20|0;d=d+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((h|0)!=2){break b}if(!O[a+63|0]){break a}f=f>>>0<=1?1:f;d=N[a+88>>2];e=N[b+88>>2];g=0;while(1){c:{if(!(N[d>>2]!=N[e>>2]|N[d+4>>2]!=N[e+4>>2]|N[d+8>>2]!=N[e+8>>2])){if(N[d+12>>2]==N[e+12>>2]){break c}}return c|128}e=e+20|0;d=d+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}return c}ba(10592,17855,2111,15199);B()}function Id(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=N[b+4>>2];c=a+4|0;if(d>>>0>c>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-c>>>0<2){break a}e=N[b+12>>2];h=e-2|0;N[b+12>>2]=h;g=1;if((h|0)<=0){break a}b:{c:{d:{c=O[c|0]|O[c+1|0]<<8;h=c<<8|c>>>8;c=h&65535;if(c-1>>>0>=3){if((c|0)!=32768){break b}if(a>>>0>=d>>>0){break d}break a}if(a>>>0>>0){break a}f=f-a|0;if(f>>>0<6){break a}c=e-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;e=c-6|0;if(d>>>0>>0){break c}a=(d-a>>>4-(h&65535)<<1)+8|0;if(!a){break b}g=0;if(a>>>0>f>>>0){break b}e=c-a|0;break c}g=0;if(f-a>>>0<6){break b}e=e-8|0}g=e;N[b+12>>2]=g;g=(g|0)>0}return g}return 0}function hB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;N[a+32>>2]=c;a:{b:{if((b|0)<0){d=6;break b}c:{d:{e:{f:{if(b){d=10;if((b|0)>536870911){break b}f=b<<2;d=Qa[N[c+4>>2]](c,f)|0;if(d?(b|0)>0:0){break f}N[a+24>>2]=d;e=a+24|0;if(d){break e}d=!d<<6;break a}N[a+24>>2]=0;N[a+28>>2]=0;break d}C(d,0,f);N[a+24>>2]=d;e=a+24|0}d=Qa[N[c+4>>2]](c,f)|0;if(!(!d|(b|0)<=0)){C(d,0,f);N[a+28>>2]=d;break d}N[a+28>>2]=d;if(!d){break c}}N[a+20>>2]=0;N[a+16>>2]=b;N[a+8>>2]=0;N[a+12>>2]=-559038737;N[a>>2]=0;N[a+4>>2]=0;b=N[73522];N[a+36>>2]=N[73521];N[a+40>>2]=b;b=N[73524];N[a+44>>2]=N[73523];N[a+48>>2]=b;return 0}d=!d<<6;a=N[e>>2];if(!a){break a}Qa[N[c+8>>2]](c,a);break a}N[a+24>>2]=0;e=a+24|0}N[e>>2]=0;return d|0}function jx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=La-1536|0;La=f;a:{b:{if(d&16){if(!c){break b}d=0;C(e,0,c<<2);break a}d=Qa[N[N[N[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,N[a+424>>2],N[a+532>>2],0,0,147)|0;if(d){break a}L[f+76|0]=0;L[f+78|0]=1;N[f+1372>>2]=N[a+404>>2];N[f+1376>>2]=N[a+408>>2];N[f+1380>>2]=N[a+412>>2];N[f+1384>>2]=N[a+416>>2];N[f+1504>>2]=N[a+548>>2];N[f+1508>>2]=N[a+544>>2];d=0;if(!c){break a}a=0;while(1){g=(a<<2)+e|0;c:{if(!_e(f+8|0,a+b|0,f+1528|0,f+1527|0)){d=N[N[N[f+12>>2]+128>>2]+52>>2];if(d){Qa[N[N[d>>2]+4>>2]](N[d+4>>2],f+1528|0)}d=N[f+48>>2];d=((d>>31)+d|0)+32768>>16;break c}d=0}N[g>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}La=f+1536|0;return d|0}function hj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=U(0),l=U(0);h=a+16|0;l=U(U(e)*c);c=U(U(d)*b);j=N[a+12>>2];g=N[a+8>>2];a:{b:{if(O[a+4|0]){if(!N[h>>2]){break a}k=R[a+20>>2];b=R[a+24>>2];if(!(k==R[a+28>>2]&b==R[a+32>>2])){i=N[g+16>>2];f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[i|0](g,j,h,k,b,f)}f=N[g+28>>2];i=N[g+32>>2];if(!i){Qa[f|0](g,j,h,0);break b}Qa[f|0](g,j,h,N[i+16>>2]);break b}c=U(U(l*R[a>>2])+c);if(!N[a+16>>2]){break a}k=R[a+20>>2];b=R[a+24>>2];if(!(k==R[a+28>>2]&b==R[a+32>>2])){i=N[g+16>>2];f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[i|0](g,j,h,k,b,f)}i=N[g+28>>2];f=N[g+32>>2];if(f){f=N[f+16>>2]}else{f=0}Qa[i|0](g,j,h,f)}N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0}R[a+32>>2]=l;R[a+28>>2]=c}function ne(a,b,c){var d=0,e=0,f=0;d=O[b|0];if((d|0)==30){return Wf(a,b,c,0)}f=b+1|0;a:{b:{switch(d-28|0){case 0:e=0;if(Q[a+8>>2]<=b+2>>>0){break a}e=(O[b+2|0]|O[f|0]<<8)<<16>>16;break a;case 1:e=0;if(Q[a+8>>2]<=b+4>>>0){break a}a=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);e=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break a;default:break b}}e=d-139|0;if(d>>>0<=246){break a}a=N[a+8>>2];if(d>>>0<=250){e=0;if(a>>>0<=f>>>0){break a}e=(O[f|0]|d<<8)-63124|0;break a}e=0;if(a>>>0<=f>>>0){break a}e=64148-(O[f|0]|d<<8)|0}d=e;if(c){a=c<<2;b=d>>31;if(N[a+33520>>2]<((b^d)-b|0)){return(d|0)>0?2147483647:-2147483647}d=T(N[a+33472>>2],d)}return(d|0)>32767?2147483647:(d|0)<-32767?-2147483647:d<<16}function Re(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=b;b=O[a+2|0]|O[a+3|0]<<8;b=c-((b<<8|b>>>8)&65535)|0;d=O[a+4|0]|O[a+5|0]<<8;c=275552;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break b}c=((b<<1)+a|0)+6|0;break b}f=241305;c=O[a+2|0]|O[a+3|0]<<8;e:{if(!c){break e}g=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;e=T(d,6)+g|0;h=O[e|0]|O[e+1|0]<<8;f:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){c=O[e+2|0]|O[e+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}f=T(d,6)+g|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}c=f+4|0}a=O[c|0]|O[c+1|0]<<8;c=(a<<8|a>>>8)&65535}return c}function ry(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){N[N[a+392>>2]+(b<<2)>>2]=c}}function gb(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{if(!O[a+60|0]){break c}if(Q[a+148>>2]>>0){L[a+60|0]=0;return 0}e=N[a+80>>2];f=N[a+84>>2];if(b>>>0>214748364){break b}d=N[a+76>>2];if(d>>>0<=b>>>0){while(1){d=((d>>>1|0)+d|0)+32|0;if(d>>>0<=b>>>0){continue}break}}c=UE(d,0,20,0);if(Pa){break b}b=$a(N[a+88>>2],c);c=$a(N[a+80>>2],c);if(!(c?b:0)){L[a+60|0]=0;d:{if(b){N[a+88>>2]=b;if(!c){break d}break a}b=N[a+88>>2];if(c){break a}}N[a+84>>2]=(e|0)==(f|0)?N[a+80>>2]:b;return 0}N[a+88>>2]=b;N[a+80>>2]=c;N[a+84>>2]=(e|0)==(f|0)?c:b;if(!O[a+60|0]){break c}N[a+76>>2]=d;g=1}return g}L[a+60|0]=0;N[a+84>>2]=(e|0)==(f|0)?e:N[a+88>>2];return 0}N[a+80>>2]=c;N[a+84>>2]=(e|0)==(f|0)?c:b;return 0}function Qk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];c=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);a:{if((c|0)==-1){break a}d=275552;e=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((e<<8|e>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}a=O[d|0]|O[d+1|0]<<8;if(!a){break a}e=(a<<8|a>>>8)&65535;c=d+2|0;while(1){a=O[c|0]|O[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}f=O[a|0]|O[a+1|0]<<8;g=(f<<8|f>>>8)&65535;h=a+4|0;a=O[a+2|0]|O[a+3|0]<<8;f=Qe(b,g,h,(a<<8|a>>>8)&65535,(f?(g<<1)-2|0:0)+h|0,246,0);if(f){break a}c=c+2|0;e=e-1|0;if(e){continue}break}}return f|0}function mj(a){var b=0;ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(N[a+96>>2]){N[a+96>>2]=0}_a(N[a+100>>2]);N[a+100>>2]=0;N[a+92>>2]=0;N[a+96>>2]=0;b=N[a+196>>2];if(b){while(1){b=(N[a+200>>2]+(b<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+196>>2]-1|0;N[a+196>>2]=b;if(b){continue}break}}_a(N[a+200>>2]);N[a+200>>2]=0;N[a+192>>2]=0;N[a+196>>2]=0;b=N[a+208>>2];if(b){while(1){b=(N[a+212>>2]+T(b,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+208>>2]-1|0;N[a+208>>2]=b;if(b){continue}break}}_a(N[a+212>>2]);N[a+212>>2]=0;N[a+204>>2]=0;N[a+208>>2]=0;ab(N[a+44>>2]);N[a+44>>2]=0}function Oc(a,b){var c=0,d=0,e=0,f=0;c=La+-64|0;La=c;d=N[a>>2];e=N[d-4>>2];f=N[d-8>>2];N[c+28>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;d=0;L[c+59|0]=0;L[c+60|0]=0;L[c+61|0]=0;L[c+62|0]=0;N[c+20>>2]=0;N[c+24>>2]=0;N[c+16>>2]=584492;N[c+12>>2]=a;N[c+8>>2]=b;a=a+f|0;a:{if($b(e,b,0)){N[c+56>>2]=1;Qa[N[N[e>>2]+20>>2]](e,c+8|0,a,a,1,0);d=N[c+32>>2]==1?a:0;break a}Qa[N[N[e>>2]+24>>2]](e,c+8|0,a,1,0);b:{switch(N[c+44>>2]){case 0:d=N[c+48>>2]==1?N[c+36>>2]==1?N[c+40>>2]==1?N[c+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(N[c+32>>2]!=1){if(N[c+48>>2]|N[c+36>>2]!=1|N[c+40>>2]!=1){break a}}d=N[c+24>>2]}La=c- -64|0;return d}function Wp(a){var b=0;ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;b=N[a+108>>2];if(b){while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b){continue}break}}_a(N[a+112>>2]);N[a+112>>2]=0;N[a+104>>2]=0;N[a+108>>2]=0;b=N[a+120>>2];if(b){while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b){continue}break}}_a(N[a+124>>2]);N[a+124>>2]=0;N[a+116>>2]=0;N[a+120>>2]=0;ab(N[a+44>>2]);N[a+44>>2]=0}function Vw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=La-16|0;La=f;g=N[a+532>>2];d=6;a:{if(!g){break a}h=N[g+4>>2];Jh(N[g+136>>2],f,h);i=b>>>0>h>>>0?h:b;if(i){while(1){n=j<<2;k=N[n+f>>2];d=T(j,12)+g|0;e=N[d+96>>2];b:{if((k|0)>N[e>>2]){a=1;l=O[d+88|0];if(l>>>0>1){while(1){m=a<<2;o=N[m+e>>2];if((k|0)<=(o|0)){a=m-4|0;e=N[a+e>>2];e=fb(k-e|0,o-e|0);d=N[d+92>>2];a=N[d+a>>2];a=T(N[d+m>>2]-a|0,e)+(a<<16)|0;break b}a=a+1|0;if((l|0)!=(a|0)){continue}break}}a=N[(N[d+92>>2]+(l<<2)|0)-4>>2]<<16;break b}a=N[N[d+92>>2]>>2]<<16}N[c+n>>2]=a;j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=0;if(b>>>0<=h>>>0){break a}C((i<<2)+c|0,0,b-i<<2);d=0}La=f+16|0;return d|0}function Gf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;h=N[b+4>>2];a:{if(h>>>0>a>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}i=N[b+12>>2];e=i-4|0;N[b+12>>2]=e;d=1;if((e|0)<=0){d=0;break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(!e){break a}if(e&128){d=0;break a}c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0;b:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break b}d=i-12|0;N[b+12>>2]=d;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<=0){break b}if(!hh(c+2|0,b,c)){break b}N[f+12>>2]=c;d=1;if(gh(c+6|0,b,f+12|0)){break a}}c=N[b+28>>2];if(c>>>0>31){d=0;break a}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;d=1}La=f+16|0;return d}function ul(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-108|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[d+8>>2]=0;N[d+12>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;L[d+24|0]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+28>>2]=0;N[d+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[d+40|0]=1;N[d+36>>2]=c;c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1836020344,N[b+16>>2])|0;if(b){break b}}b=275552}c=tl(d,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<8?275552:N[b+12>>2]}function sl(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-112|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[d+8>>2]=0;N[d+12>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;L[d+24|0]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+28>>2]=0;N[d+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[d+40|0]=1;N[d+36>>2]=c;c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1836020340,N[b+16>>2])|0;if(b){break b}}b=275552}c=rl(d,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<8?275552:N[b+12>>2]}function nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=O[a+2|0]|O[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=275552}e=N[b+96>>2];c=vb(c,N[N[e+80>>2]+T(N[e+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=275552;d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}a=O[e|0]|O[e+1|0]<<8;if(!a){break a}c=(a<<8|a>>>8)&65535;g=c>>>0<=1?1:c;a=0;f=1;while(1){d=O[e|0]|O[e+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=a>>>0?275552:((a<<1)+e|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+e|0}else{d=275552}if(jk(d,b)){break a}a=a+1|0;f=c>>>0>a>>>0;if((a|0)!=(g|0)){continue}break}}return f|0}function Kr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=b-44032|0;a:{b:{if(a>>>0<=11171){f=a&65535;e=(f>>>0)%28|0;if(e){a=e+4519|0;N[c>>2]=b-e;break b}b=(f>>>0)/588|0;a=(((a+T(b,-588)&65535)>>>0)/28|0)+4449|0;N[c>>2]=b|4352;break b}a=0;if(b>>>0>195101){break a}b=P[(O[(b>>>4&31|O[(b>>>9|0)+207950|0]<<5)+208332|0]<<5|(b&15)<<1)+221152>>1];if(!b){break a}if(b>>>0<=935){if(b>>>0<=825){b=P[(b<<1)+234510>>1]}else{b=P[(b<<1)+234524>>1]|131072}N[c>>2]=b;break b}a=b-936|0;if(a>>>0<=637){a=N[(a<<2)+228848>>2];N[c>>2]=a>>>21;a=a>>>14&127|768;break b}b=(b<<3)+218816|0;a=N[b>>2];b=N[b+4>>2];N[c>>2]=b>>>10;a=((b&2097151)<<11|a>>>21)&2097151}N[d>>2]=a;a=1}return a|0}function ax(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=La+-64|0;La=d;Qa[N[b+60>>2]](b,d+16|0,4,d+12|0);c=N[d+12>>2];a:{if((c|0)<0){c=162;break a}if(c-5>>>0<4294967292){c=3;break a}c=_f(a,0,c);if(c){break a}c=0;if(N[d+12>>2]<=0){break a}g=N[a+100>>2];j=N[a+532>>2];a=0;while(1){h=(d+16|0)+T(a,12)|0;c=N[h>>2];if(O[c|0]==47){c=c+1|0;N[h>>2]=c}e=N[h+4>>2];if((e|0)==(c|0)){c=3;break a}i=(a<<2)+j|0;f=N[i+8>>2];if(f){Qa[N[g+8>>2]](g,f)}b:{e=e-c|0;if(e>>>0>2147483646){c=6}else{f=Qa[N[g+4>>2]](g,e+1|0)|0;if(f){break b}c=64}N[i+8>>2]=0;break a}N[i+8>>2]=f;F(f,N[h>>2],e);c=0;L[e+f|0]=0;a=a+1|0;if((a|0)>2]){continue}break}}N[b+12>>2]=c;La=d- -64|0}function Hw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{if(!b){break b}c=30544;c:{if(!cb(9676,b)){break c}c=30552;if(!cb(10423,b)){break c}c=30560;if(!cb(10670,b)){break c}c=30568;if(!cb(12514,b)){break c}c=30576;if(!cb(15866,b)){break c}c=30584;if(!cb(9592,b)){break c}c=30592;if(!cb(10557,b)){break c}c=30600;if(!cb(20421,b)){break c}c=30608;if(!cb(11276,b)){break c}if(cb(16921,b)){break b}c=30616}c=N[c+4>>2];if(c){break a}}c=0;if(!a){break a}a=N[a+4>>2];if(!a){break a}d=N[a+16>>2];if((d|0)<=0){break a}a=a+20|0;d=a+(d<<2)|0;while(1){e=N[a>>2];f=N[e>>2];if(cb(N[f+8>>2],9195)){a=a+4|0;if(d>>>0>a>>>0){continue}break a}break}c=Qa[N[f+32>>2]](e,b)|0}return c|0}function Cz(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{if(!a){if(N[b>>2]){break b}tb(N[b+8>>2]);return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+44>>2];N[a+40>>2]=N[b+40>>2];N[a+44>>2]=c;c=N[b+36>>2];N[a+32>>2]=N[b+32>>2];N[a+36>>2]=c;c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;c:{switch(N[b>>2]-1|0){case 0:d=N[b+8>>2];c=N[b+12>>2];b=kb(c+1|0);if(b){F(b,d,c);L[b+c|0]=0}N[a+8>>2]=b;return(b|0)!=0|0;case 1:break c;default:break b}}a=N[b+8>>2];if(!a){break b}if(!N[a-8>>2]){break a}a=a-4|0;b=N[a>>2];if(!b){break a}N[a>>2]=b+1}return 1}ba(8916,18290,435,15229);B()}function ah(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-32|0;La=f;d=275552;e=O[a+2|0]|O[a+3|0]<<8;e=((((e<<8|e>>>8)&65535)<<1)+a|0)+4|0;if(O[e|0]|O[e+1|0]<<8){c=e+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=0;g=d;d=N[b+96>>2];if((vb(g,N[N[d+80>>2]+T(N[d+64>>2],20)>>2])|0)!=-1){c=O[e|0]|O[e+1|0]<<8;h=(c<<8|c>>>8)&65535;i=e+(h<<1)|0;c=i+2|0;d=O[c|0]|O[c+1|0]<<8;N[f+28>>2]=a;N[f+24>>2]=a;N[f+20>>2]=a;N[f+16>>2]=247;N[f+12>>2]=247;N[f+8>>2]=247;j=(d<<8|d>>>8)&65535;c=(j<<1)+c|0;d=O[c+2|0]|O[c+3|0]<<8;g=b;b=O[a+2|0]|O[a+3|0]<<8;c=Lf(g,(b<<8|b>>>8)&65535,a+4|0,h,e+4|0,j,i+4|0,(d<<8|d>>>8)&65535,c+4|0,f+8|0)}La=f+32|0;return c}function Od(a){var b=0,c=0,d=0,e=0;c=N[a+436>>2];a:{if(!c){break a}b=N[a+428>>2];if((b|0)<=0){break a}b=T(b,24)+c|0;d=O[a+376|0];while(1){if(!(!O[c+16|0]|(d|0)!=O[c+12|0])){b=N[a+448>>2];if((b|0)>=N[a+452>>2]){N[a+12>>2]=130;return}N[a+448>>2]=b+1;b=N[a+456>>2]+(b<<4)|0;N[b>>2]=N[a+360>>2];d=N[a+368>>2];N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=d+1;b=N[c>>2];b:{if(b-4>>>0<=4294967292){N[a+12>>2]=132;break b}d=(b-1<<3)+a|0;e=N[d+464>>2];if(!e){N[a+12>>2]=138;break b}d=N[d+468>>2];c=N[c+4>>2];if((d|0)<(c|0)){N[a+12>>2]=131;break b}N[a+372>>2]=d;N[a+364>>2]=e;N[a+368>>2]=c;N[a+360>>2]=b}L[a+384|0]=0;return}c=c+24|0;if(b>>>0>c>>>0){continue}break}}N[a+12>>2]=128}function xl(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=L[a|0];g=f&255;if((f|0)>=0){N[c>>2]=g;return e}a:{if(g-194>>>0<=29){if(b>>>0<=e>>>0){break a}b=O[a+1|0]-128|0;if(b>>>0>=64){break a}N[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=O[e|0]-128|0;if(b>>>0>63){break a}f=O[a+2|0]-128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}N[c>>2]=b;return a+3|0}if((b-e|0)<3|g-240>>>0>4){break a}b=O[e|0]-128|0;if(b>>>0>63){break a}f=O[a+2|0]-128|0;if(f>>>0>63){break a}h=O[a+3|0]-128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b-65536>>>0>=1048576){break a}e=a+4|0;d=b}N[c>>2]=d;return e}function Oo(a,b){var c=0,d=0,e=0,f=0,g=0;a:{d=N[a+16>>2];if((d|0)!=N[a+12>>2]){c=N[a+24>>2];break a}b:{f=(d<<1)+16|0;c=N[a+8>>2];if(f>>>0<=2147483647/(c>>>0)>>>0){d=N[a+24>>2];g=T(c,f);c=N[a+20>>2];c:{if((g|c)<0){c=d;break c}e=N[a>>2];if(!g){c=0;if(!d){break b}Qa[N[e+8>>2]](e,d);break b}if(!c){c=Qa[N[e+4>>2]](e,g)|0;if(c){break b}c=0;break c}e=Qa[N[e+12>>2]](e,c,g,d)|0;c=e?e:d;if(e){break b}}N[a+24>>2]=c}a=N[a+4>>2];if(!(!a|N[a>>2])){N[a>>2]=64}return}N[a+20>>2]=g;N[a+12>>2]=f;N[a+24>>2]=c;d=N[a+16>>2];if(f>>>0>=d>>>0){break a}b=N[a+4>>2];if(!(!b|N[b>>2])){N[b>>2]=130}N[a+16>>2]=f;return}e=d;d=N[a+8>>2];F(T(e,d)+c|0,b,d);N[a+16>>2]=N[a+16>>2]+1}function YC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=La-16|0;La=f;a=0;N[f+12>>2]=0;a:{if(!c|!(O[c+8|0]&8)){break a}d=N[c+96>>2];e=N[N[d>>2]+32>>2];if(!e){break a}d=Qa[e|0](d,16067)|0;if(!d){break a}if(Qa[N[d>>2]](c,b,0,0,f+12|0)|0){break a}d=kb(N[f+12>>2]);if(!d){break a}b:{c:{if(!(O[c+8|0]&8)){break c}e=N[c+96>>2];g=N[N[e>>2]+32>>2];if(!g){break c}e=Qa[g|0](e,16067)|0;if(!e){break c}if(!(Qa[N[e>>2]](c,b,0,d,f+12|0)|0)){break b}}_a(d);break a}d:{b=N[f+12>>2];if(!b|(b|0)<0){break d}a=db(1,32);if(!a){break d}N[a+28>>2]=192;N[a+24>>2]=d;N[a+20>>2]=2;N[a+16>>2]=b;N[a+12>>2]=d;N[a>>2]=1;N[a+4>>2]=1;break a}_a(d);a=275552}La=f+16|0;return a|0}function lw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+712>>2];a:{b:{if(!e){break b}f=N[e+1504>>2];a=6;if((f|0)==65535){break a}if(b){a=N[e+3096>>2];if(!a){c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=Q[e+1356>>2]){break c}g=N[N[e+1360>>2]+(f<<2)>>2];break c}a=N[e+3084>>2];g=0;if(!a){break c}g=Qa[N[a+20>>2]](f)|0}a=g;N[e+3096>>2]=a}N[b>>2]=a}if(c){a=N[e+3100>>2];if(!a){a=0;b=N[e+1508>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[e+1356>>2]){break d}a=N[N[e+1360>>2]+(b<<2)>>2];break d}f=N[e+3084>>2];if(!f){break d}a=Qa[N[f+20>>2]](b)|0}N[e+3100>>2]=a}N[c>>2]=a}if(!d){break b}N[d>>2]=N[e+1512>>2]}a=0}return a|0}function Ll(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=N[a+28>>2];a:{if((b|0)==-1){break a}d=N[a+36>>2];f=N[a+40>>2];if(d>>>0>=f>>>0){break a}g=N[a>>2];e=b+1|0;h=N[a+16>>2]+16|0;while(1){b:{b=T(d,12)+h|0;c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0>>0?e:c;c=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(e>>>0>(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b|b>>>0>=Q[g+16>>2]){break b}N[a+36>>2]=d;N[a+32>>2]=b;N[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}L[a+24|0]=0}function JE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=N[c+68>>2];if(e){f=e-1|0;g=N[c+80>>2];d=g+3|0;a=0;b=O[g+15|0];while(1){a:{if((a|0)==(f|0)){a=e;break a}a=a+1|0;if((b|0)==O[(d+T(a,20)|0)+12|0]){continue}}break}i=g+2|0;d=0;h=g;f=e;while(1){b=a;b:{if(a>>>0<=d>>>0){break b}while(1){a=T(d,20);if(O[(a+g|0)+12|0]&16){L[(a+i|0)+16|0]=22;h=N[c+80>>2];f=N[c+68>>2];break b}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;j=d-1|0;k=h+3|0;l=O[(T(b,20)+h|0)+15|0];a=b;while(1){c:{if((a|0)==(j|0)){a=d;break c}a=a+1|0;if(O[(T(a,20)+k|0)+12|0]==(l|0)){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}return 0}function _t(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=La-16|0;La=d;h=6;f=N[a+140>>2];a:{if(!f|!b|(!N[f+72>>2]|!O[b|0])){break a}e=N[f+92>>2];N[d+8>>2]=b;g=N[e+20>>2];b=g+((Qa[N[e+12>>2]](d+8|0)>>>0)%Q[e+4>>2]<<2)|0;a=N[b>>2];b:{if(!a){break b}while(1){if(Qa[N[e+16>>2]](a,d+8|0)|0){break b}b=b-4|0;if(g>>>0>b>>>0){b=((N[e+4>>2]<<2)+g|0)-4|0}a=N[b>>2];if(a){continue}break}}a=N[b>>2];if(!a){break a}b=N[f+80>>2];if(!b){break a}c:{d:{e:{f:{a=b+(N[a+4>>2]<<4)|0;switch(N[a+4>>2]-1|0){case 2:break d;case 1:break e;case 0:break f;default:break a}}N[c>>2]=1;break c}N[c>>2]=2;break c}N[c>>2]=3}N[c+4>>2]=N[a+12>>2];h=0}La=d+16|0;return h|0}function Zz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=La-16|0;La=f;a=0;N[f+12>>2]=0;a:{if(!c|!(O[c+8|0]&8)){break a}d=N[c+96>>2];e=N[N[d>>2]+32>>2];if(!e){break a}d=Qa[e|0](d,16067)|0;if(!d){break a}if(Qa[N[d>>2]](c,b,0,0,f+12|0)|0){break a}d=kb(N[f+12>>2]);if(!d){break a}b:{c:{if(!(O[c+8|0]&8)){break c}e=N[c+96>>2];g=N[N[e>>2]+32>>2];if(!g){break c}e=Qa[g|0](e,16067)|0;if(!e){break c}if(Qa[N[e>>2]](c,b,0,d,f+12|0)|0){break c}b=N[f+12>>2];if(!b|(b|0)<0){break b}a=db(1,32);if(!a){break b}N[a+28>>2]=192;N[a+24>>2]=d;N[a+20>>2]=2;N[a+16>>2]=b;N[a+12>>2]=d;N[a>>2]=1;N[a+4>>2]=1;break a}_a(d);break a}_a(d);a=275552}La=f+16|0;return a|0}function QC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=U(0),i=U(0),j=U(0);f=N[b+12>>2];a:{if(O[b+6|0]){if(f){a=N[f+128>>2];h=U(N[a+12>>2]);i=U(N[a+4>>2]);j=U(N[a>>2]);g=U(N[a+8>>2])}else{g=U(0)}h=U(U(aa(U(U(g*g)+U(h*h))))*U(152587890625e-16));g=U(U(aa(U(U(j*j)+U(i*i))))*U(152587890625e-16));break a}h=U(N[a+32>>2]>>31|1);g=U(N[a+28>>2]>>31|1)}if(vc(f,c,N[b>>2])){return 0}a=N[f+84>>2];N[d>>2]=N[a+32>>2]-N[a+44>>2];N[e>>2]=N[a+48>>2]+N[a+36>>2];g=U(g*U(N[d>>2]));b:{if(U(V(g))>2]=a;g=U(h*U(N[e>>2]));c:{if(U(V(g))>2]=a;return 1}function Og(a){var b=0,c=0,d=0;a:{b:{if(O[a+62|0]){c=N[a+84>>2];d=N[a+80>>2];b=N[a+72>>2];if(!((c|0)==(d|0)&(b|0)==N[a+64>>2])){b=b+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break b}c=N[a+84>>2];d=N[a+80>>2]}c:{if((c|0)!=(d|0)){break c}b=N[a+72>>2];if(b+1>>>0<=N[a+64>>2]+1>>>0){c=d;break c}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break c}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[a+72>>2],20)+c|0;c=T(N[a+64>>2],20)+d|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;b=N[a+72>>2]}N[a+72>>2]=b+1}N[a+64>>2]=N[a+64>>2]+1}return}ba(8694,17855,209,11932);B()}function Cf(a,b,c){var d=0,e=0,f=0;if(b){e=N[a- -64>>2];a:{b:{c:{f=N[a+60>>2];if((f|0)>=0){d=e+1|0;d=(d|0)>0?d:0;if(d>>>0<=f>>>0){break b}while(1){f=((f>>>1|0)+f|0)+8|0;if(d>>>0>=f>>>0){continue}break}if(f>>>0<=153391689){e=$a(N[a+68>>2],T(f,28));if(e){break c}e=N[a+64>>2]}N[a+60>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;d=589824;break a}N[a+60>>2]=f;N[a+68>>2]=e;e=N[a+64>>2]}if(d>>>0>e>>>0){C(N[a+68>>2]+T(e,28)|0,0,T(d-e|0,28))}N[a+64>>2]=d;e=d;d=(N[a+68>>2]+T(d,28)|0)-28|0}N[d+12>>2]=c;N[d+8>>2]=1;N[d+4>>2]=e;N[d>>2]=b;N[d+16>>2]=0-(c&1)&1;N[d+20>>2]=N[a+52>>2];N[d+24>>2]=N[a+56>>2]}}function $m(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[a>>2];if(!k){return 65536}g=65536;a:{if(!(b&16384)){while(1){b=g;e=h<<2;d=N[e+c>>2];b:{if(!d){break b}e=N[e+N[a+8>>2]>>2];if(!e){return 0}if((d|0)==(e|0)){break b}g=0;if((e|0)<(d&d>>31)|(e|0)>(((d|0)>0?d:0)|0)){break a}b=jb(b,e,d)}g=b;h=h+1|0;if(k>>>0>h>>>0){continue}break a}}while(1){b=g;f=h<<2;j=N[f+c>>2];c:{if(!j){break c}g=0;i=N[f+N[a+8>>2]>>2];if(!i){break a}if((i|0)==(j|0)){break c}l=N[d+f>>2];if((l|0)>=(i|0)){break a}f=N[e+f>>2];if((f|0)<=(i|0)){break a}if((i|0)<(j|0)){b=jb(b,i-l|0,j-l|0);break c}b=jb(b,f-i|0,f-j|0)}g=b;h=h+1|0;if((k|0)!=(h|0)){continue}break}}return g}function Hd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=N[b+12>>2];c=N[a>>2];d=Qa[N[f+24>>2]](f,c,N[f+56>>2])|0;if(c>>>0>=128){h=N[b+144>>2];N[b+144>>2]=h|1;e=d;a:{if(!Cj(c)){break a}N[b+144>>2]=h|3;g=c-6155|0;e=d|96;if(!(g>>>0>4|(g|0)==3)){break a}b:{switch(c-8204|0){case 0:e=d|544;break a;case 1:e=d|288;break a;default:break b}}e=d|96;if(c-917536>>>0<=95){break a}e=d|32;if((c|0)!=847){break a}N[b+144>>2]=h|19;e=d|96}g=e;if(d>>>0>31){M[a+16>>1]=g;return}if(!(1<>1]=g;return}b=65024;c:{if((c|0)==6752|(c|0)==4038){break c}b=32512;if((c|0)==3897){break c}b=O[(Qa[N[f+16>>2]](f,c,N[f+48>>2])|0)+265296|0]<<8}d=b|g|128}M[a+16>>1]=d}function Pk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{c:{if(c){a=N[b+96>>2];d=O[a+140|0];c=0;if(d&8){break b}L[a+140|0]=d|8;d=N[a+68>>2];d:{if(!d){break d}c=0;if(d>>>0>=4){f=d&-4;while(1){L[(N[a+80>>2]+T(c,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|1,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|2,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|3,20)|0)+15|0]=255;c=c+4|0;if((f|0)!=(c|0)){continue}break}}d=d&3;if(!d){break d}while(1){L[(N[a+80>>2]+T(c,20)|0)+15|0]=255;c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}N[b+160>>2]=255;break c}N[b+160>>2]=-1;a=N[b+96>>2];b=O[a+140|0];if(!(b&8)){break a}L[a+140|0]=b&247}c=1}return c|0}ba(22742,14165,187,12136);B()}function Hq(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1667329140;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function zx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+736>>2];a:{if(!f){d=re(a,0);if(d){break a}f=N[a+736>>2]}if(!N[f+4>>2]){d=$f(a,0,0,1);if(d){break a}}e=N[f>>2];e=b>>>0>e>>>0?e:b;b:{if(O[a+733|0]){if(!e){e=0;break b}f=N[f+8>>2];a=0;if(e>>>0>=4){h=e&-4;while(1){d=a<<2;N[d+c>>2]=N[d+f>>2];g=d|4;N[g+c>>2]=N[f+g>>2];g=d|8;N[g+c>>2]=N[f+g>>2];d=d|12;N[d+c>>2]=N[d+f>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[f+h>>2];a=a+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break b}if(!e){e=0;break b}C(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}C((e<<2)+c|0,0,b-e<<2)}return d|0}function yx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+736>>2];a:{if(!f){d=re(a,0);if(d){break a}f=N[a+736>>2]}if(!N[f+4>>2]){d=$f(a,0,0,1);if(d){break a}}e=N[f>>2];e=b>>>0>e>>>0?e:b;b:{if(O[a+733|0]){if(!e){e=0;break b}f=N[f+4>>2];a=0;if(e>>>0>=4){h=e&-4;while(1){d=a<<2;N[d+c>>2]=N[d+f>>2];g=d|4;N[g+c>>2]=N[f+g>>2];g=d|8;N[g+c>>2]=N[f+g>>2];d=d|12;N[d+c>>2]=N[d+f>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[f+h>>2];a=a+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break b}if(!e){e=0;break b}C(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}C((e<<2)+c|0,0,b-e<<2)}return d|0}function Rg(a,b){a:{b:{c:{d:{switch(a>>>12|0){case 0:a=a-1536|0;if(a>>>0<739){break c}break b;case 1:if(a-6150>>>0>164){break b}a=a-5411|0;break c;case 2:if(a-8204>>>0>93){break b}a=a-7300|0;break c;case 10:if(a-43072>>>0>51){break b}a=a-42074|0;break c;case 16:if(a-68288>>>0<=47){a=a-67238|0;break c}if(a-68480>>>0<=47){a=a-67382|0;break c}if(a-68864>>>0<=35){a=a-67718|0;break c}if(a-69424>>>0>155){break b}a=a-68242|0;break c;case 17:if(a-69821>>>0>16){break b}a=a-68483|0;break c;case 30:break d;default:break b}}if(a-125184>>>0>75){break b}a=a-123829|0}a=O[a+238400|0];if((a|0)!=8){break a}}a=b>>>0<=31?1<0){k=(T((b|0)!=0,36)+a|0)+16|0;while(1){j=(c|0)>=16?16:c;g=j<<1;b=0;while(1){e=h;h=b<<2;e=e+N[h+d>>2]|0;N[f+h>>2]=(e+(e>>31)|0)+32768>>16;i=h|4;h=e+N[i+d>>2]|0;N[f+i>>2]=((h>>31)+h|0)+32768>>16;b=b+2|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;i=(e|4)+f|0;N[i>>2]=N[i>>2]-N[e+f>>2];b=b+2|0;if(g>>>0>b>>>0){continue}break}a:{if(N[a+4>>2]){break a}b=f;e=j;while(1){g=of(k,N[b>>2],N[b+4>>2],N[a>>2],0);if(g){N[a+4>>2]=g;break a}b=b+8|0;g=(e|0)>1;e=e-1|0;if(g){continue}break}}c=c-j|0;if((c|0)>0){continue}break}}La=f+128|0}function Af(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,o=0;f=N[a+28>>2];i=c&1073741823;c=(i>>>0)%Q[a+24>>2]|0;e=N[(f+T(c,12)|0)+4>>2];a:{b:{if(e&1073741824){o=N[a+20>>2];a=-1;while(1){c:{if((e&1073741823)!=(i|0)){break c}h=T(c,12)+f|0;g=N[h>>2];j=N[g+4>>2];d=N[g>>2];k=j-d|0;l=N[b>>2];if((k|0)!=(N[b+4>>2]-l|0)){break c}m=N[g+12>>2];if((m|0)!=N[b+12>>2]){break c}if((d|0)!=(j|0)){if(Mb(d,l,k)){break c}}d=T(m,12);if(!d){break a}if(!Mb(N[g+16>>2],N[b+16>>2],d)){break a}}a=(a|0)==-1?(e|0)>=0?-1:c:a;n=n+1|0;c=n+c&o;e=N[(T(c,12)+f|0)+4>>2];if(e&1073741824){continue}break}if((a|0)!=-1){break b}}a=c}h=T(a,12)+f|0}return h}function bg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=N[a+760>>2];a:{if(h>>>0>b>>>0){f=N[a+764>>2];b:{if(P[a+210>>1]){e=f+(b<<2)|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=g;if(e+8>>>0>f+(h<<2)>>>0){break b}d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}e=f+(b<<1)|0;d=O[e|0]<<8|O[e+1|0];g=d<<1;if(e+4>>>0<=f+(h<<1)>>>0){d=O[e+3|0]|O[e+2|0]<<8}d=d<<1}f=0;a=N[a+724>>2];if(a>>>0>>0){N[c>>2]=0;return 0}if(a>>>0>>0){d=a;e=0;if((h-2|0)!=(b|0)){break a}}a=d>>>0>>0?a:d}else{a=0}f=a-g|0;e=g}N[c>>2]=f;return e|0}function Jf(a,b,c,d,e){var f=0,g=U(0),h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=La-16|0;La=f;h=N[b+76>>2];i=N[b+72>>2];N[f>>2]=0;l=d;a:{b:{c:{if(!(h|i)){break c}d=O[a+6|0]|O[a+7|0]<<8;N[f+4>>2]=0;j=N[b+96>>2];m=N[j+76>>2];n=N[b+100>>2];o=(d<<8|d>>>8)&65535;p=f+4|0;d=N[j+12>>2];if(d){d=N[d+56>>2]}else{d=0}if(!(Qa[m|0](b,n,c,o,p,f,d)|0)){break c}Jd(b,c,f+12|0,f+8|0);N[f>>2]=N[f>>2]-N[f+8>>2];if(i){break b}k=1}c=O[a+2|0]|O[a+3|0]<<8;g=U(R[b+44>>2]*U((c<<8|c>>>8)<<16>>16));break a}k=1;g=U(N[f+4>>2]-N[f+12>>2]|0)}R[l>>2]=g;if(!k|!h){a=O[a+4|0]|O[a+5|0]<<8;g=U(R[b+48>>2]*U((a<<8|a>>>8)<<16>>16))}else{g=U(N[f>>2])}R[e>>2]=g;La=f+16|0}function _b(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+4>>2];h=N[a>>2];a:{if(!h){if(!f){break a}N[a+4>>2]=(f|0)<0?-65536:65536;return}if(!f){N[a>>2]=(h|0)<0?-65536:65536;return}b=f>>31;c=(b^f)-b|0;b=h>>31;d=(b^h)-b|0;e=c>>>0>>0?(c>>>1|0)+d|0:c+(d>>>1|0)|0;b=W(e);b=(-1431655766>>>b>>>0>e>>>0?-15:-16)+b|0;b:{if((b|0)>0){d=d<>>0>>0?d+(c>>>1|0)|0:(d>>>1|0)+c|0;break b}g=e;e=0-b|0;b=g>>>e|0;c=c>>>e|0;d=d>>>e|0}b=65536-b|0;while(1){e=(T(b,d)>>16)+d|0;g=(T(b,c)>>16)+c|0;i=T((T(e,e)+T(g,g)|0)/-512|0,b+65536>>8);b=(i>>>16|0)+b|0;if((i|0)>65535){continue}break}N[a+4>>2]=(f|0)<0?0-g|0:g;N[a>>2]=(h|0)<0?0-e|0:e}}function fb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=2147483647;a:{if(!b){break a}c=a>>31;c=(c^a)-c|0;d=b>>31;d=(d^b)-d|0;if(c>>>0<=(d>>>17^65535)>>>0){g=((c<<16)+(d>>>1|0)>>>0)/(d>>>0)|0;break a}f=d>>>1|0;i=f+(c<<16)|0;c=(c>>>16|0)+(f>>>0>i>>>0)|0;if(c>>>0>=d>>>0){break a}f=W(c);h=32-f|0;c=i>>>h|c<>>0)/(d>>>0)|0;e=c-T(d,g)|0;c=i<>>31;h=e>>>0>=d>>>0;e=e-(h?d:0)|0;g=h|g<<1;h=31-f|0;c=c<<1}if((f|0)==31){break a}while(1){e=e<<1|c>>>31;f=e>>>0>=d>>>0;e=c>>>30&1|e-(f?d:0)<<1;i=e>>>0>=d>>>0;e=e-(i?d:0)|0;g=g<<2|f<<1|i;c=c<<2;h=h-2|0;if(h){continue}break}}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-g|0:g}function Xg(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=N[b+12>>2]-2|0;N[b+12>>2]=f;d=1;if((f|0)<=0){break b}h=O[a|0]|O[a+1|0]<<8;if(!h){break a}d=a+2|0;if(d>>>0>e>>>0){break b}g=e-d|0;e=(h<<8|h>>>8)&65535;d=e<<2;if(g>>>0>>0){break b}f=f-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break a}f=e>>>0<=1?1:e;e=0;while(1){h=(e<<2)+a|0;d=h+2|0;if(d>>>0>2]){break b}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break b}d=N[c>>2];g=N[b+12>>2]-4|0;N[b+12>>2]=g;if((g|0)<=0){break b}if(!Hf(h+4|0,b,d)){break b}d=1;e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}d=0}return d}function et(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=N[a+872>>2];a:{if(!f){break a}j=N[f+36>>2];if(!j|!P[f>>1]){break a}g=N[f+16>>2];if(!g){break a}i=N[f+20>>2];if(N[d>>2]|!i){break a}l=i+4|0;a=0;while(1){b:{e=(g-a>>>1|0)+a|0;h=T(e,6)+l|0;k=O[h|0]<<8|O[h+1|0];c:{if(k>>>0>>0){a=e+1|0;break c}g=e;if(b>>>0>=k>>>0){break b}}e=0;if(a>>>0>>0){continue}break a}break}e=0;a=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!b){break a}a=N[f+40>>2];if(a>>>0>>0){break a}g=a+j|0;a=b+i|0;if(g>>>0<=a>>>0){break a}N[d>>2]=a;L[d+4|0]=!c;e=1}return e|0}function ui(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a+20>>2];if(d>>>0>b>>>0){g=a+8|0;c:{d:{while(1){c=N[a+8>>2];if(!c){break d}e=N[c+24>>2];if(!e){break b}N[a+8>>2]=N[c+16>>2];f=N[c+28>>2]-1|0;N[c+28>>2]=f;e:{if(f){N[c+20>>2]=0;break e}f=N[c+8>>2];if(f){N[f+12>>2]=N[c+12>>2]}N[N[c+12>>2]>>2]=f;N[a+20>>2]=(((e|0)!=1?-32:0)-e|0)+d;N[a+32>>2]=N[a+32>>2]-1;d=N[a+16>>2];if((d|0)!=N[c+4>>2]){break a}e=c+32|0;Qa[N[d+16>>2]](e+(N[d+24>>2]+7&-8)|0,e);_a(c);d=N[a+20>>2]}if(b>>>0>>0){continue}break}b=N[a+8>>2];if(!b){break d}a=b+20|0;break c}a=a+12|0}N[a>>2]=g}return}ba(15298,18290,469,8706);B()}ba(17656,18290,424,13135);B()}function $w(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=La-208|0;La=d;f=N[a+532>>2];Qa[N[b+60>>2]](b,d+16|0,16,d+12|0);e=N[d+12>>2];a:{if((e|0)<0){c=162;break a}c=3;if(e-17>>>0<4294967280){break a}b:{c:{d:{if(f){g=N[f>>2];if(g){break d}}c=_f(a,e,0);if(c){break a}e=N[b+8>>2];g=N[b>>2];if(N[d+12>>2]<=0){break b}f=N[a+532>>2];break c}if((e|0)!=(g|0)){break a}e=N[b+8>>2];g=N[b>>2]}c=0;while(1){a=(d+16|0)+T(c,12)|0;N[b>>2]=N[a>>2];N[b+8>>2]=N[a+4>>2];a=Qa[N[b+40>>2]](b,0)|0;h=c<<2;N[h+N[f+136>>2]>>2]=a;N[N[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}N[b+8>>2]=e;N[b>>2]=g;c=0}N[b+12>>2]=c;La=d+208|0}function Wn(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=La-208|0;La=f;N[f+204>>2]=c;c=f+160|0;C(c,0,40);N[f+200>>2]=N[f+204>>2];a:{if((Vn(0,b,f+200|0,f+80|0,c,d,e)|0)<0){e=-1;break a}i=N[a+76>>2]>=0;g=N[a>>2];if(N[a+72>>2]<=0){N[a>>2]=g&-33}b:{c:{d:{if(!N[a+48>>2]){N[a+48>>2]=80;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;h=N[a+44>>2];N[a+44>>2]=f;break d}if(N[a+16>>2]){break c}}c=-1;if(Hh(a)){break b}}c=Vn(a,b,f+200|0,f+80|0,f+160|0,d,e)}if(h){Qa[N[a+36>>2]](a,0,0)|0;N[a+48>>2]=0;N[a+44>>2]=h;N[a+28>>2]=0;b=N[a+20>>2];N[a+16>>2]=0;N[a+20>>2]=0;c=b?c:-1}b=a;a=N[a>>2];N[b>>2]=a|g&32;e=a&32?-1:c;if(!i){break a}}La=f+208|0;return e}function Pf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(P[a+264>>1]<=b>>>0){break a}d=N[a+544>>2];if(!d){return 7}e=0;g=c,h=Qa[N[d+16>>2]](0)|0,N[g>>2]=h;f=c;c=N[a+476>>2];b:{if((c|0)!=151552){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Qa[N[d+16>>2]](b)|0;break b}if(!O[a+632|0]){if(Tl(a)){break a}}if(P[a+636>>1]<=b>>>0){break a}b=P[N[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){a=Qa[N[d+16>>2]](b)|0;break b}a=N[(N[a+644>>2]+(b<<2)|0)-1032>>2];break b}if(!O[a+632|0]){if(Tl(a)){break a}}if(P[a+636>>1]<=b>>>0){break a}a=Qa[N[d+16>>2]](L[N[a+640>>2]+b|0]+b|0)|0}N[f>>2]=a}return e|0}function xf(a){var b=0,c=0,d=0,e=0;mq(a);N[a+60>>2]=-57005;c=N[a+68>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;d=N[c+12>>2]+T(b,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[c+8>>2]=b;if(e){Qa[e|0](d);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+68>>2]=0}b=N[a+88>>2];if(b){_a(b);N[a+88>>2]=0}N[a+76>>2]=0;N[a+72>>2]=N[a+72>>2]&1;if(N[a+52>>2]){N[a+52>>2]=0}_a(N[a+56>>2]);N[a+56>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+28>>2]=0;c=N[a+36>>2];a:{if(!c){break a}b=N[a+40>>2];while(1){_a(N[b>>2]);b=b+4|0;c=c-1|0;if(c){continue}break}if(!N[a+36>>2]){break a}N[a+36>>2]=0}_a(N[a+40>>2]);N[a+40>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0}function lj(a){var b=0;Wp(a);b=N[a+120>>2];if(b){while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b){continue}break}}_a(N[a+124>>2]);N[a+124>>2]=0;N[a+116>>2]=0;N[a+120>>2]=0;b=N[a+108>>2];if(b){while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b){continue}break}}_a(N[a+112>>2]);N[a+112>>2]=0;N[a+104>>2]=0;N[a+108>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;return a}function Np(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;return 0}function ns(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=N[a+16>>2];c=O[a+8204|0]|O[a+8205|0]<<8|(O[a+8206|0]<<16|O[a+8207|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b=b-e|0;f=a>>>0<=(b^-1)>>>0?a+b|0:0}return f|0}function nq(a){var b=0;b=N[a+208>>2];if(b){while(1){b=(N[a+212>>2]+T(b,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+208>>2]-1|0;N[a+208>>2]=b;if(b){continue}break}}_a(N[a+212>>2]);N[a+212>>2]=0;N[a+204>>2]=0;N[a+208>>2]=0;b=N[a+196>>2];if(b){while(1){b=(N[a+200>>2]+(b<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+196>>2]-1|0;N[a+196>>2]=b;if(b){continue}break}}_a(N[a+200>>2]);N[a+200>>2]=0;N[a+192>>2]=0;N[a+196>>2]=0;if(N[a+96>>2]){N[a+96>>2]=0}_a(N[a+100>>2]);N[a+100>>2]=0;N[a+92>>2]=0;N[a+96>>2]=0;return a}function Yb(a,b,c){var d=0,e=0,f=0,g=0;g=N[b+12>>2];d=N[b+16>>2];f=N[a+48>>2];e=N[a+52>>2];if(f>>>0>e>>>0){e=N[a+44>>2]}e=e-f|0;e=d>>>0>e>>>0?e:d;N[b+16>>2]=d-e;N[b+20>>2]=e+N[b+20>>2];d=N[a+56>>2];if(d){d=Qa[d|0](N[a+60>>2],f,e)|0;N[a+60>>2]=d;N[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;F(g,f,e);g=e+g|0;d=e+f|0;if((d|0)==N[a+44>>2]){e=N[a+40>>2];f=N[a+52>>2];if((f|0)==(d|0)){N[a+52>>2]=e;f=e}f=f-e|0;d=N[b+16>>2];f=d>>>0>f>>>0?f:d;N[b+16>>2]=d-f;N[b+20>>2]=f+N[b+20>>2];d=N[a+56>>2];if(d){d=Qa[d|0](N[a+60>>2],e,f)|0;N[a+60>>2]=d;N[b+48>>2]=d}F(g,e,f);d=e+f|0;g=f+g|0;c=(c|0)==-5?f?0:c:c}N[b+12>>2]=g;N[a+48>>2]=d;return c}function Mi(a,b){var c=0,d=0,e=0,f=0;d=N[a>>2];if(d>>>0>>0){while(1){c=d+1|0;a:{b:{c:{d:{e:{e=O[d|0];switch(e-40|0){case 1:break c;case 0:break d;default:break e}}if((e|0)!=92){break a}if((b|0)==(c|0)){N[a>>2]=b;return 3}f:{e=O[c|0];switch(e-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}if((e&248)!=48|b>>>0<=c>>>0){break a}c=d+2|0;if(c>>>0>=b>>>0|(O[c|0]&248)!=48){break a}c=d+3|0;if(c>>>0>=b>>>0){break a}c=(O[d+3|0]&248)==48?d+4|0:c;break a}f=f+1|0;break a}f=f-1|0;if(f){break a}N[a>>2]=c;return 0}c=d+2|0}d=c;if(d>>>0>>0){continue}break}}N[a>>2]=d;return 3}function Ek(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=La-32|0;La=f;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}g=N[d+64>>2];c=vb(c,N[N[d+80>>2]+T(g,20)>>2]);a:{if((c|0)==-1){break a}h=O[a+6|0]|O[a+7|0]<<8;if(c>>>0>=((h<<8|h>>>8)&65535)>>>0){break a}if(N[d+156>>2]){e=N[b+88>>2];N[f+16>>2]=g;ib(d,e,17402,f+16|0)}e=O[a+4|0]|O[a+5|0]<<8;c=T(YE(e),c);if((c|0)<0){c=275552}else{e=O[a+4|0]|O[a+5|0]<<8;c=((c<<1)+a|0)+8|0}ge(e,b,a,c,N[d+88>>2]+T(N[d+64>>2],20)|0);a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[f>>2]=N[a+64>>2];ib(a,b,17446,f)}e=1;N[d+64>>2]=N[d+64>>2]+1}La=f+32|0;return e}function Rf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(N[a+184>>2]<0){return-9}h=N[b>>2];g=N[a+52>>2];f=N[a+64>>2];i=N[a+276>>2];j=(((g|0)<(f|0)?g:f)-i|0)+T(f,N[a+272>>2])|0;g=h>>>0>>0?h:j;f=h;a:{if(!c){break a}f=N[a+96>>2]+(i&N[a+68>>2])|0;i=N[c>>2];if(!i){N[c>>2]=f;f=h;break a}F(i,f,g);N[c>>2]=g+N[c>>2];f=N[b>>2]}N[b>>2]=f-g;b=g+N[a+276>>2]|0;N[a+276>>2]=b;if(d){N[d>>2]=b}c=1<>2];b=N[a+64>>2];if(h>>>0>>0){return e?3:(b|0)==(c|0)?3:1}b:{if((b|0)!=(c|0)){break b}c=N[a+52>>2];if((c|0)<(b|0)){break b}N[a+52>>2]=c-b;N[a+272>>2]=N[a+272>>2]+1;M[a+560>>1]=P[a+560>>1]&65527|((b|0)!=(c|0))<<3}return 1}function Fl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=N[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;j=g+2|0;k=N[a+16>>2]+14|0;while(1){c=(b<<1)+k|0;e=O[c|0]<<8|O[c+1|0];N[a+44>>2]=e;c=c+j|0;h=O[c|0]<<8|O[c+1|0];N[a+40>>2]=h;c=c+g|0;d=O[c|0]|O[c+1|0]<<8;N[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=O[d|0]<<8|O[d+1|0];c:{if((h|0)!=65535|b>>>0>>0|(e|0)!=65535){break c}if(!c){break b}e=N[a>>2];if((c+d|0)+2>>>0<=N[e+508>>2]+N[e+512>>2]>>>0){break c}N[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}N[a+36>>2]=b;N[a+52>>2]=c;return 0}function Us(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=c;c=O[b+1|0]|O[b|0]<<8;if(i>>>0<(c<<2)+g>>>0){break a}b=N[a+12>>2];i=O[b+14|0];j=P[b+12>>1];k=P[b+10>>1];l=O[b+8|0];m=P[b+6>>1];n=P[b+4>>1];b:{if(!c){h=0;break b}f=f+1|0;b=0;while(1){h=Pl(a,O[g+1|0]|O[g|0]<<8,L[g+2|0]+d|0,L[g+3|0]+e|0,f,0);if(!h){g=g+4|0;b=b+1|0;if((c|0)!=(b|0)){continue}}break}b=N[a+12>>2]}M[b+14>>1]=i;M[b+8>>1]=l;M[b+12>>1]=j<<24>>24;M[b+10>>1]=k<<24>>24;M[b+6>>1]=m<<24>>24;M[b+4>>1]=n<<24>>24;a=N[a+8>>2];M[b+2>>1]=O[a+4|0];M[b>>1]=O[a|0]}return h|0}function Gn(a,b,c,d){var e=0,f=0,g=0,h=0;a:{e=d>>31;f=(e^d)-e|0;e=a>>31;if((f+((e^a)-e|0)|0)>131071){break a}e=c>>31;f=(e^c)-e|0;e=b>>31;if((f+((e^b)-e|0)|0)>131071){break a}a=T(a,d);b=T(b,c);return(a|0)>(b|0)?1:(a|0)<(b|0)?-1:0}f=d>>>16|0;g=T(f,a&65535);h=a>>>16|0;e=g+T(h,d&65535)|0;a=T(a,d);e=(((e>>>16|0)+T(h,f)|0)+((e>>>0>>0)<<16)|0)+(a>>>0>>0)|0;f=c>>>16|0;g=T(f,b&65535);h=b>>>16|0;d=g+T(h,c&65535)|0;b=T(b,c);c=(((d>>>16|0)+T(h,f)|0)+((d>>>0>>0)<<16)|0)+(b>>>0>>0)|0;d=1;b:{if(e>>>0>c>>>0){break b}d=-1;if(c>>>0>e>>>0){break b}d=1;if(a>>>0>b>>>0){break b}d=a>>>0>>0?-1:0}return d}function dl(a,b,c,d){var e=0;a:{if(d&16){c=275552;b:{if((O[a|0]|O[a+1|0]<<8)!=256){break b}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<65538){break b}e=O[a+12|0]|O[a+13|0]<<8;if(!e){break b}c=((e<<8|e>>>8)&65535)+a|0}a=0;if((O[c|0]|O[c+1|0]<<8)!=256){break a}a=O[c+2|0]|O[c+3|0]<<8;e=(a<<8|a>>>8)&65535;a=d>>>16|0;if(e>>>0>a>>>0){a=((a<<2)+c|0)+4|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}return(vb(a,b)|0)!=-1}a=d&65280;if(!a){return 1}a=(a|0)==(c&65280)}return a}function Te(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}N[a>>2]=-57005;if(N[a+28>>2]){N[a+28>>2]=0}_a(N[a+32>>2]);N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;if(N[a+40>>2]){N[a+40>>2]=0}_a(N[a+44>>2]);N[a+44>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;if(N[a+28>>2]){N[a+28>>2]=0}_a(N[a+32>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function rz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(N[a>>2]!=N[b>>2]|N[a+4>>2]!=N[b+4>>2]|(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2])){break a}if(N[a+16>>2]!=N[b+16>>2]|N[a+20>>2]!=N[b+20>>2]){break a}d=N[a+24>>2];if((d|0)!=N[b+24>>2]){break a}if(!d){g=1;break a}e=N[a+28>>2];f=N[b+28>>2];if(N[e>>2]!=N[f>>2]){break a}while(1){b=T(c,24);a=b+e|0;b=b+f|0;if(N[a+4>>2]!=N[b+4>>2]|N[a+8>>2]!=N[b+8>>2]|(N[a+12>>2]!=N[b+12>>2]|N[a+16>>2]!=N[b+16>>2])){break a}if(N[a+20>>2]!=N[b+20>>2]){break a}c=c+1|0;g=d>>>0<=c>>>0;if((c|0)==(d|0)){break a}a=T(c,24);if(N[a+e>>2]==N[a+f>>2]){continue}break}}return g|0}function Zq(a){a=a|0;var b=0,c=0,d=0;b=N[a+660>>2];c=N[b+8>>2];a=N[b+12>>2];if((c|0)<=(a|0)){a:{b:{if((a|0)!=(c|0)){d=N[b+20>>2];a=c;break b}a=-1;if(c>>>0>1073741822){break a}N[147316]=0;a=N[b+20>>2];c:{c=c<<1|1;if(c>>>0<=76695844){d=T(c,56);d=$a(a,d>>>0<=1?1:d);if(d){break c}}N[147316]=48;N[b+20>>2]=a;return-1}N[147316]=0;N[b+12>>2]=c;N[b+20>>2]=d;a=N[b+8>>2]}N[b+8>>2]=a+1;b=T(a,56)+d|0;N[b>>2]=0;N[b+4>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}return a|0}ba(10030,18016,127,9200);B()}function fk(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-32|0;La=e;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];f=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);a:{if((f|0)==-1){break a}c=O[a+4|0]|O[a+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=f>>>0){break a}if(N[d+156>>2]){zc(d);c=N[b+88>>2];d=N[b+96>>2];N[e+16>>2]=N[d+64>>2];ib(d,c,23368,e+16|0);c=O[a+4|0]|O[a+5|0]<<8;c=(c<<8|c>>>8)&65535}a=c>>>0<=f>>>0?275552:((f<<1)+a|0)+6|0;a=O[a|0]|O[a+1|0]<<8;Oe(b,(a<<8|a>>>8)&65535);g=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e>>2]=N[a+64>>2]-1;ib(a,b,23412,e)}La=e+32|0;return g}function Dz(a,b){a=a|0;b=b|0;var c=0,d=0;a:{c=N[a>>2];if((c|0)!=N[b>>2]){break a}d=1;b:{c:{switch(c|0){case 0:if(N[a+8>>2]!=N[b+8>>2]|S[a+16>>3]!=S[b+16>>3]|(N[a+24>>2]!=N[b+24>>2]|N[a+28>>2]!=N[b+28>>2])){break a}if(N[a+32>>2]!=N[b+32>>2]){break a}d=0;if(N[a+36>>2]!=N[b+36>>2]){break b}return N[a+40>>2]==N[b+40>>2]|0;case 1:d=0;c=N[a+12>>2];if((c|0)!=N[b+12>>2]){break b}return!Mb(N[a+8>>2],N[b+8>>2],c)|0;case 2:break c;default:break b}}if(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2]|N[a+16>>2]!=N[b+16>>2]){break a}d=0;if(N[a+20>>2]!=N[b+20>>2]){break b}d=N[a+24>>2]==N[b+24>>2]}return d|0}return 0}function Lc(a,b){var c=0,d=0,e=0;a:{d=O[b|0];if((d|0)!=255){if((d|0)!=30){break a}return Wf(a,b,0,0)>>16}return((O[b+3|0]|(O[b+2|0]<<8|O[b+1|0]<<16))<<8)+32768>>16}e=b+1|0;b:{c:{switch(d-28|0){case 0:c=0;if(Q[a+8>>2]<=b+2>>>0){break b}return(O[b+2|0]|O[e|0]<<8)<<16>>16;case 1:c=0;if(Q[a+8>>2]<=b+4>>>0){break b}a=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);default:break c}}if(d>>>0<=246){return d-139|0}a=N[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break b}return(O[e|0]|d<<8)-63124|0}c=0;if(a>>>0<=e>>>0){break b}c=64148-(O[e|0]|d<<8)|0}return c}function PA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(N[a+64>>2]!=3){N[a+64>>2]=3;e=N[a+20>>2];if(!e){break a}b:{if(O[a+68|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+68|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=((c>>31)+c|0)+32768>>16;N[f>>2]=((b>>31)+b|0)+32768>>16;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1}d=0}return d|0}function Cs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{c=N[a+16>>2];a=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a){g=c+16|0;while(1){e=a+f>>>1|0;c=T(e,12)+g|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);b:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>b>>>0){a=e;break b}d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=b>>>0){break a}f=e+1|0}if(a>>>0>f>>>0){continue}break}}return 0}a=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}function QB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=N[a>>2];a:{b:{c:{h=N[a+4>>2];a=(h>>6)-N[b+164>>2]|0;if(!((a|0)<0|(a|0)>=N[b+172>>2])){c=g>>6;if((c|0)>2]){break c}}a=N[b+192>>2];break b}d=N[b+188>>2]+(a<<2)|0;e=N[d>>2];f=N[e>>2];a=N[b+156>>2];c=(a|0)>(c|0)?a-1|0:c;if((f|0)<=(c|0)){while(1){a=e;if((c|0)==(f|0)){break b}e=N[a+12>>2];f=N[e>>2];if((c|0)>=(f|0)){continue}break}d=a+12|0}a=N[b+180>>2];N[b+180>>2]=a+16;if(Q[b+184>>2]<=a>>>0){break a}N[a>>2]=c;N[a+4>>2]=0;N[a+8>>2]=0;N[a+12>>2]=N[d>>2];N[d>>2]=a}N[b+176>>2]=a;N[b+204>>2]=h<<2;N[b+200>>2]=g<<2;return 0}pe(b,1);B()}function hx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=La-32|0;La=c;a:{if((Qa[N[b+52>>2]](b,6,c,3)|0)<=5){N[b+12>>2]=3;break a}e=N[c+12>>2];if(!e){N[b+12>>2]=3;break a}i=a+440|0;d=e>>31;d=(d^e)-d|0;b:{if((d|0)==65536){f=N[c+8>>2];g=N[c+4>>2];h=N[c>>2];break b}j=a,k=fb(1e3,d),M[j+68>>1]=k;h=fb(N[c>>2],d);g=fb(N[c+4>>2],d);f=fb(N[c+8>>2],d);j=c,k=fb(N[c+16>>2],d),N[j+16>>2]=k;j=c,k=fb(N[c+20>>2],d),N[j+20>>2]=k;e=(e|0)<0?-65536:65536}N[a+440>>2]=h;N[a+448>>2]=g;N[a+452>>2]=e;N[a+444>>2]=f;if(!hg(i)){N[b+12>>2]=3;break a}N[a+456>>2]=M[c+18>>1];N[a+460>>2]=M[c+22>>1]}La=c+32|0}function ug(a){var b=0,c=0,d=0;b=N[a+88>>2];if(b){_a(N[b+20>>2]);_a(N[N[a+88>>2]+4>>2]);_a(N[N[a+88>>2]+8>>2]);_a(N[a+88>>2])}_a(N[a+24>>2]);_a(N[a+28>>2]);_a(N[a+68>>2]);d=N[a+16>>2];b=0;a:{if(!d){break a}b=d;if(N[a>>2]<=0){break a}b=0;while(1){d=N[a+16>>2]+T(b,144)|0;_a(N[d>>2]);_a(N[d+4>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+16>>2]}_a(b);b=N[a+20>>2];b:{if(!b){break b}c=b;if(N[a+8>>2]<=0){break b}b=0;while(1){c=N[a+20>>2]+T(b,56)|0;_a(N[c+28>>2]);_a(N[c+44>>2]);_a(N[c+48>>2]);_a(N[c+52>>2]);b=b+1|0;if((b|0)>2]){continue}break}c=N[a+20>>2]}_a(c);_a(N[a+80>>2]);_a(a)}function fo(a,b,c,d){var e=0,f=0,g=0,h=0;f=d?d:590292;e=N[f>>2];a:{b:{c:{if(!b){if(e){break c}return 0}d:{if(e){d=c;break d}d=O[b|0];e=d<<24>>24;if((e|0)>=0){if(a){N[a>>2]=d}return(e|0)!=0}if(!N[N[147600]>>2]){b=1;if(!a){break b}N[a>>2]=e&57343;return 1}d=d-194|0;if(d>>>0>50){break c}e=N[(d<<2)+580976>>2];d=c-1|0;if(!d){break a}b=b+1|0}g=O[b|0];h=g>>>3|0;if((h-16|(e>>26)+h)>>>0>7){break c}while(1){d=d-1|0;e=g-128|e<<6;if((e|0)>=0){N[f>>2]=0;if(a){N[a>>2]=e}return c-d|0}if(!d){break a}b=b+1|0;g=O[b|0];if((g&192)==128){continue}break}}N[f>>2]=0;N[147316]=25;b=-1}return b}N[f>>2]=e;return-2}function ki(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=441616;h=O[a|0]?a:441616;while(1){d=b;f=0;a=h;c=O[a|0];a:{b:{if(!c){break b}while(1){g=O[d|0];if(!g){f=c;break b}c:{d:{while(1){if((c|32)-124>>>0>4294967268|c-59>>>0>4294967284){break d}c=O[a+1|0];e=a+1|0;a=e;if(c){continue}break}c=0;break c}e=a}a=1;if((c|32)!=(g|0)){break a}d=d+1|0;a=e+1|0;c=O[e+1|0];if(c){continue}break}}a=O[d|0]!=(f&255)}if(!a){while(1){b=(nb(b)+b|0)+1|0;if(O[b|0]){continue}break}return b-441615|0}b=(nb(b)+b|0)+1|0;a=O[b|0];if(!a){a=O[b+1|0];b=(a>>>0>128?2:T(a,-5)+322|0)+b|0;a=O[b|0]}if(a&255){continue}break}return-1}function Eq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=N[a+112>>2];a:{if(!c){break a}d=N[b+68>>2];if(!d){break a}a=N[b+80>>2];if(d>>>0>=4){g=d&-4;while(1){N[a+4>>2]=N[a+4>>2]|N[(O[a+19|0]<<2)+c>>2];N[a+24>>2]=N[a+24>>2]|N[(O[a+39|0]<<2)+c>>2];N[a+44>>2]=N[a+44>>2]|N[(O[a+59|0]<<2)+c>>2];f=a- -64|0;N[f>>2]=N[f>>2]|N[(O[a+79|0]<<2)+c>>2];a=a+80|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){N[a+4>>2]=N[a+4>>2]|N[(O[a+19|0]<<2)+c>>2];a=a+20|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}a=L[b+140|0];if((a|0)>=0){ba(22742,14165,187,12136);B()}L[b+140|0]=a&127}function Lx(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{a=N[N[a+156>>2]>>2];b=N[a+4>>2];if(!(!b|N[a+40>>2])){d=b<<1;if((d|0)<0){c=6;break a}if(d){c=10;if(d>>>0>268435455){break a}c=N[a>>2];b=b<<4;c=Qa[N[c+4>>2]](c,b)|0;if(!c){break b}C(c,0,b);b=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=c;d=(b<<3)+c|0;N[a+44>>2]=d;b=N[a+24>>2];if(b){b=(M[a+22>>1]<<3)+b|0}else{b=0}N[a+60>>2]=b;e=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[e>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;b=M[a+22>>1]<<3;N[a+80>>2]=b+d;N[a+76>>2]=b+c}return 0}N[a+40>>2]=0;return 64}N[a+40>>2]=0;return c|0}function Jo(a){var b=0,c=0,d=0;a:{if(!a){break a}c=N[a+16>>2];if((c|0)==128){break a}while(1){b=N[a>>2];b:{if(O[b+20|0]!=O[a+20|0]){b=a;break b}if(O[b+21|0]!=O[a+21|0]){b=a;break b}d=N[b+16>>2];if(!((d|0)==(c|0)|c&d&64)){b=a;break b}if(N[a+24>>2]){b=a;break b}if(N[b+24>>2]){b=a;break b}c=N[a+4>>2];N[b+4>>2]=c;N[c>>2]=b;N[b+12>>2]=N[b+12>>2]+N[a+12>>2];c=N[a+32>>2];c:{if(c){N[c+28>>2]=N[a+28>>2];break c}d=N[a+4>>2];if(N[d+28>>2]!=(a|0)){break c}N[d+28>>2]=N[a+28>>2]}d=N[a+28>>2];if(d){N[d+32>>2]=c;c=N[a+32>>2]}N[b+32>>2]=c;_a(a)}a=N[b+4>>2];c=N[a+16>>2];if((c|0)!=128){continue}break}}}function xr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[c+4>>2]|N[b+4>>2];N[a>>2]=N[c>>2]|N[b>>2];N[a+4>>2]=d;d=N[c+12>>2]|N[b+12>>2];N[a+8>>2]=N[c+8>>2]|N[b+8>>2];N[a+12>>2]=d;d=N[c+20>>2]|N[b+20>>2];N[a+16>>2]=N[c+16>>2]|N[b+16>>2];N[a+20>>2]=d;d=N[c+28>>2]|N[b+28>>2];N[a+24>>2]=N[c+24>>2]|N[b+24>>2];N[a+28>>2]=d;d=N[c+36>>2]|N[b+36>>2];N[a+32>>2]=N[c+32>>2]|N[b+32>>2];N[a+36>>2]=d;d=N[c+44>>2]|N[b+44>>2];N[a+40>>2]=N[c+40>>2]|N[b+40>>2];N[a+44>>2]=d;d=N[c+52>>2]|N[b+52>>2];N[a+48>>2]=N[c+48>>2]|N[b+48>>2];N[a+52>>2]=d;d=N[c+60>>2]|N[b+60>>2];N[a+56>>2]=N[c+56>>2]|N[b+56>>2];N[a+60>>2]=d}function wr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[c+4>>2]&N[b+4>>2];N[a>>2]=N[c>>2]&N[b>>2];N[a+4>>2]=d;d=N[c+12>>2]&N[b+12>>2];N[a+8>>2]=N[c+8>>2]&N[b+8>>2];N[a+12>>2]=d;d=N[c+20>>2]&N[b+20>>2];N[a+16>>2]=N[c+16>>2]&N[b+16>>2];N[a+20>>2]=d;d=N[c+28>>2]&N[b+28>>2];N[a+24>>2]=N[c+24>>2]&N[b+24>>2];N[a+28>>2]=d;d=N[c+36>>2]&N[b+36>>2];N[a+32>>2]=N[c+32>>2]&N[b+32>>2];N[a+36>>2]=d;d=N[c+44>>2]&N[b+44>>2];N[a+40>>2]=N[c+40>>2]&N[b+40>>2];N[a+44>>2]=d;d=N[c+52>>2]&N[b+52>>2];N[a+48>>2]=N[c+48>>2]&N[b+48>>2];N[a+52>>2]=d;d=N[c+60>>2]&N[b+60>>2];N[a+56>>2]=N[c+56>>2]&N[b+56>>2];N[a+60>>2]=d}function Sd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;i=1;j=d&2147483647;l=j;k=(j|0)==2147418112;a:{if(k&!c?a|b:k&(c|0)!=0|j>>>0>2147418112){break a}j=h&2147483647;k=(j|0)==2147418112;if(k&!g?e|f:k&(g|0)!=0|j>>>0>2147418112){break a}if(!(a|e|(c|g)|(b|f|(j|l)))){return 0}i=d&h;if((i|0)>0|(i|0)>=0){i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:c>>>0>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g|(b^f|d^h))!=0}i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}i=(a^e|c^g|(b^f|d^h))!=0}return i}function JA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=N[a+28>>2];a=N[f+20>>2];a:{if(!a){break a}b:{c:{b=P[a>>1];d=b<<16>>16;if((d|0)>=2){e=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break c}if(d){break c}b=P[a+2>>1];break b}b=M[a+2>>1];if((e|0)!=(b|0)){break b}M[a>>1]=d-1;break a}d:{if(b<<16>>16<2){break d}c=N[a+4>>2];g=c+(e<<3)|0;h=b&65535;c=c+(h<<3)|0;if(N[g>>2]!=N[c-8>>2]|N[g+4>>2]!=N[c-4>>2]|O[(N[a+8>>2]+h|0)-1|0]!=1){break d}b=b-1|0;M[a+2>>1]=b}if((d|0)<=0){break a}c=e;e=(b<<16>>16)-1|0;if((c|0)==(e|0)){M[a+2>>1]=b-1;M[a>>1]=d-1;break a}M[(N[a+12>>2]+(d<<1)|0)-2>>1]=e}L[f+44|0]=0}function WA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-32|0;La=e;N[d>>2]=-1;Dd(a,e+20|0);if(N[e+28>>2]==3){i=N[a>>2];g=N[e+20>>2]+1|0;N[a>>2]=g;j=N[a+8>>2];h=N[e+24>>2]-1|0;N[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!b){f=0;while(1){Dd(a,e+8|0);if(!N[e+16>>2]){break a}f=f+12|0;if(Q[a>>2]>2]){continue}break}break a}c=T(c,12)+b|0;while(1){Dd(a,e+8|0);if(!N[e+16>>2]){break a}if(c>>>0>f>>>0){g=N[e+12>>2];N[f>>2]=N[e+8>>2];N[f+4>>2]=g;N[f+8>>2]=N[e+16>>2]}f=f+12|0;if(Q[a>>2]>2]){continue}break}}N[d>>2]=(f-b|0)/12;N[a+8>>2]=j;N[a>>2]=i}La=e+32|0}function ie(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{f=N[147447];b:{if(f){d=f;while(1){c=a;e=N[d+4>>2];b=O[e|0];c:{if(b){d:{while(1){g=L[O[c|0]+179696|0];if((g|0)!=(b&255)){break d}c=c+1|0;b=O[e+1|0];e=e+1|0;if(b){continue}break}g=L[O[c|0]+179696|0];b=0}if((b&255)!=(g|0)){break c}break b}if(!O[O[a|0]+179696|0]){break b}}d=N[d>>2];if(d){continue}break}}d=db(1,8);if(!d){return 0}N[d>>2]=f;c=nb(a)+1|0;b=kb(c);N[d+4>>2]=b;if(!b){break a}e:{if(c){F(b,a,c);c=O[b|0];if(!c){break e}}while(1){L[b|0]=O[(c&255)+179696|0];c=O[b+1|0];b=b+1|0;if(c){continue}break}}N[147447]=d}return d}_a(d);return 0}function Ub(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){a=a+4|0;l=a+T((c<<8|c>>>8)&65535,6)|0;c=N[b+8>>2];e=N[b+4>>2];d=N[b>>2];while(1){j=-1;h=-1;f=O[a+2|0]|O[a+3|0]<<8;f=(f<<8|f>>>8)&65535;i=f>>>4|0;g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;k=g>>>4|0;if(i-k>>>0<=30){h=d;d=1<>>0>1<>>0)}if(f-g>>>0<=30){d=e;e=1<>>0>1<>>0)}e=f>>>9|0;d=g>>>9|0;if(e-d>>>0<=30){f=c;c=1<>>0>1<>>0)}else{c=-1}e=j;d=h;a=a+6|0;if((l|0)!=(a|0)){continue}break}N[b+8>>2]=c;N[b+4>>2]=e;N[b>>2]=d}}function Qp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=275552;c=O[a+2|0]|O[a+3|0]<<8;a:{if(!c){break a}i=a+4|0;g=((c<<8|c>>>8)&65535)-1|0;k=(b<<8|(b&65280)>>>8)&65535;while(1){b:{c:{d:{e=g+j>>>1|0;f=(e<<3)+i|0;h=O[f|0]|O[f+1|0]<<8;c=(h<<8|h>>>8)&65535;e:{if(!(c|h)){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>(b&65535)>>>0){break e}if((c|0)==(k|0)){break d}break c}if(!c){break c}}g=e-1|0;break b}d=(e<<3)+i|0;break a}j=e+1|0}if((g|0)>=(j|0)){continue}break}}b=a;a=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);return a?b+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0:0}function zl(a){var b=0,c=0;b=N[a+36>>2];if(!(b|N[a+68>>2]?(b|0)!=1:0)){a:{if(N[a+44>>2]|!N[a+68>>2]){break a}while(1){b=N[a+12>>2];b=Qa[N[b+32>>2]](b,N[N[a+80>>2]+T(c,20)>>2],N[b- -64>>2])|0;if(!((b|0)==1516858984|(b|0)==1517910393|(b|0)==1517976186)){N[a+44>>2]=b;break a}c=c+1|0;if(c>>>0>2]){continue}break}}if(!N[a+40>>2]){b=sh(N[a+44>>2]);N[a+40>>2]=b?b:4}if(!N[a+48>>2]){b=0;c=a;a=N[147446];if(!a){a=N[147878];a=a?a+8|0:20427;b:{if(!O[a|0]){break b}a=ie(a);if(!a){break b}b=N[a+4>>2]}if(!N[147446]){N[147446]=b}a=b}N[c+48>>2]=a}return}ba(24107,14165,530,16333);B()}function on(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;a:{if(!a){break a}d=N[a+92>>2];if(!d|N[d+4>>2]!=1970170211){break a}d=N[a+40>>2];if(!d){break a}f=N[a+36>>2];if((f|0)<=0){break a}i=(f<<2)+d|0;while(1){b:{f=N[d>>2];c:{if(P[f+8>>1]|P[f+10>>1]!=5){break c}e=N[f>>2];if(!e){break c}e=N[e+96>>2];h=N[N[e>>2]+32>>2];if(!h){break c}e=Qa[h|0](e,10557)|0;if(!e){break c}if(Qa[N[e>>2]](f,g+8|0)|0){break c}if(N[g+12>>2]==14){break b}}d=d+4|0;if(i>>>0>d>>>0){continue}break a}break}d=N[d>>2];if(!d){break a}j=Qa[N[N[d+12>>2]+20>>2]](d,N[a+92>>2],b,c)|0}La=g+16|0;return j}function fC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(!(!e|!d)){j=e<<4;while(1){g=0;h=a;while(1){f=O[b+g|0];M[h>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|1)+b|0];M[h+2>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|2)+b|0];M[h+4>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|3)+b|0];M[h+6>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|4)+b|0];M[h+8>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|5)+b|0];M[h+10>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|6)+b|0];M[h+12>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|7)+b|0];M[h+14>>1]=(f>>>1|f<<7)+1>>>1;h=h+j|0;g=g+8|0;if(g>>>0>>0){continue}break}b=b+c|0;a=a+16|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}}function Ci(a){var b=0,c=0,d=0;a:{if(!a){break a}b=N[a+16>>2];if((b|0)==128){break a}while(1){c=b;b=N[a>>2];b:{if((c|0)!=N[b+16>>2]){b=a;break b}if(O[b+20|0]!=O[a+20|0]){b=a;break b}if(O[b+21|0]!=O[a+21|0]){b=a;break b}if(N[a+24>>2]){b=a;break b}if(N[b+24>>2]){b=a;break b}c=N[a+4>>2];N[b+4>>2]=c;N[c>>2]=b;N[b+12>>2]=N[b+12>>2]+N[a+12>>2];c=N[a+32>>2];c:{if(c){N[c+28>>2]=N[a+28>>2];break c}d=N[a+4>>2];if(N[d+28>>2]!=(a|0)){break c}N[d+28>>2]=N[a+28>>2]}d=N[a+28>>2];if(d){N[d+32>>2]=c;c=N[a+32>>2]}N[b+32>>2]=c;_a(a)}a=N[b+4>>2];b=N[a+16>>2];if((b|0)!=128){continue}break}}}function fc(a,b,c){var d=0,e=0,f=0,g=0;d=N[a+4>>2];g=N[a+20>>2];a:{b:{c:{if(g){e=85;if(b>>>0>d>>>0){break a}f=N[a+28>>2];d:{if((b|0)>0){e=Qa[N[f+4>>2]](f,b)|0;d=64;if(!e){break b}g=N[a+20>>2];break d}d=6;if(b){break b}e=0}N[a>>2]=e;g=Qa[g|0](a,N[a+8>>2],e,b)|0;d=N[a>>2];if(b>>>0<=g>>>0){e=0}else{if(d){Qa[N[f+8>>2]](f,d)}d=0;N[a>>2]=0;e=85}N[a+32>>2]=d;N[a+36>>2]=d?b+d|0:0;N[a+8>>2]=g+N[a+8>>2];if(b>>>0<=g>>>0){break c}break a}e=85;f=N[a+8>>2];if(f>>>0>=d>>>0|d-f>>>0>>0){break a}N[a+8>>2]=b+f;d=f+N[a>>2]|0}N[c>>2]=d;N[a+32>>2]=0;a=a+36|0;d=0}e=d;N[a>>2]=0}return e}function dd(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a>>2];if(d){while(1){c=N[a+4>>2];g=e<<2;b=N[c+g>>2];if(b){while(1){if(!N[b+24>>2]){break b}c=N[b+28>>2];if(N[b+20>>2]){c=c-1|0;N[b+28>>2]=c}d=N[b+8>>2];c:{if(c){N[b>>2]=0;break c}f=N[a+16>>2];if((f|0)!=N[b+4>>2]){break a}c=b+32|0;Qa[N[f+16>>2]](c+(N[f+24>>2]+7&-8)|0,c);_a(b)}b=d;if(b){continue}break}c=N[a+4>>2];d=N[a>>2]}N[c+g>>2]=0;e=e+1|0;if(e>>>0>>0){continue}break}}N[a+20>>2]=0;N[a+24>>2]=0;N[a+8>>2]=0;N[a+12>>2]=a+8;N[a+28>>2]=0;N[a+32>>2]=0;return}ba(15298,18290,509,7842);B()}ba(17656,18290,424,13135);B()}function fh(a){var b=0,c=0,d=0,e=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}e=a-88|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[c+8>>2]=0;N[c+12>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;L[c+24|0]=0;N[c>>2]=0;N[c+4>>2]=0;N[c+28>>2]=0;N[c+32>>2]=0;L[c+40|0]=1;N[c+36>>2]=0;d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1801810542,N[b+16>>2])|0;if(b){break b}}b=275552}d=el(c,b);b=N[a>>2];c:{if(d){if(b){break c}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<4?275552:N[b+12>>2]}function cg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=La-16|0;La=d;b=N[a+260>>2];if(!b){j=a;g=M[a+300>>1];b=N[a+248>>2];a:{if(!g){break a}c=M[a+298>>1];b=N[a+252>>2];if(!c){break a}h=N[a+252>>2];i=N[a+248>>2];b=i>>31;e=(b^i)-b|0;b=c>>31;f=(b^c)-b|0;b=T(e>>>16|0,f);a=b<<16|8192;k=b>>>16|0;b=a+T(f,e&65535)|0;b=k+(b>>>0>>0)<<18|b>>>14;N[d+8>>2]=(c^i)<0?0-b|0:b;b=h>>31;e=(b^h)-b|0;b=g>>31;f=(b^g)-b|0;b=T(e>>>16|0,f);a=b<<16|8192;c=b>>>16|0;b=a+T(f,e&65535)|0;b=c+(b>>>0>>0)<<18|b>>>14;N[d+12>>2]=(g^h)<0?0-b|0:b;b=Wb(d+8|0)}N[j+260>>2]=b}La=d+16|0;return b}function Tp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=N[b+12>>2];d=e-12|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-15|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=$d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function Rp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<10){break a}e=N[b+12>>2];d=e-10|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-13|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=$d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function zt(a){a=a|0;var b=0,c=0,d=0,e=0;d=N[N[a+96>>2]+8>>2];b=N[a+356>>2];if(b){c=N[a+348>>2];a:{if((c|0)>0){c=T(c,20)+b|0;while(1){e=N[b+16>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+16>>2]=0;b=b+20|0;if(c>>>0>b>>>0){continue}break}b=N[a+356>>2];if(!b){break a}}Qa[N[d+8>>2]](d,b)}N[a+356>>2]=0}b=N[a+364>>2];if(b){c=N[a+360>>2];b:{if((c|0)>0){c=T(c,12)+b|0;while(1){e=N[b+8>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+8>>2]=0;b=b+12|0;if(c>>>0>b>>>0){continue}break}b=N[a+364>>2];if(!b){break b}}Qa[N[d+8>>2]](d,b)}N[a+364>>2]=0}M[a+344>>1]=0;N[a+360>>2]=0;N[a+348>>2]=0;N[a+352>>2]=0}function Sp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<6){break a}e=N[b+12>>2];d=e-6|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-9|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=$d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function Pt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{if(b){h=142;f=P[a+152>>1];if(!f){break a}g=N[a+156>>2];i=g+(f<<4)|0;while(1){c:{if(N[g>>2]==(b|0)){f=N[g+12>>2];if(f){break c}}g=g+16|0;if(i>>>0>g>>>0){continue}break a}break}c=N[g+8>>2]+c|0;break b}f=N[N[a+104>>2]+4>>2]}d:{if(!e){b=f;break d}b=N[e>>2];if(b){break d}N[e>>2]=f;return 0}h=85;a=N[a+104>>2];e=N[a+4>>2];if(e>>>0<=c>>>0){break a}f=N[a+20>>2];e:{if(f){d=Qa[f|0](a,c,d,b)|0;break e}f=d;d=e-c|0;d=b>>>0>d>>>0?d:b;F(f,N[a>>2]+c|0,d)}N[a+8>>2]=c+d;h=b>>>0>d>>>0?85:0}return h|0}function qB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=6;a:{if(!c|(!a|!b)){break a}f=N[d>>2];if(!f){break a}e=N[d+4>>2];d=Qa[N[f+4>>2]](f,40)|0;if(!d){return!d<<6}N[d+32>>2]=0;N[d+36>>2]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;N[d+32>>2]=3;f=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=f;f=N[a+4>>2];N[d+16>>2]=N[a>>2];N[d+20>>2]=f;a=N[b+4>>2];N[d+24>>2]=N[b>>2];N[d+28>>2]=a;a=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=a;N[d+36>>2]=N[e+8>>2];N[e+8>>2]=d;a=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=a;e=0}return e|0}function ky(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=M[a+302>>1];if(g){a:{b:{c:{switch(N[N[N[a>>2]+96>>2]+64>>2]-35|0){case 5:if(O[a+643|0]){break a}e=N[b+16>>2];f=e+(c<<3)|0;break b;case 0:break c;default:break a}}e=N[b+16>>2];f=e+(c<<3)|0}h=(c<<3)+e|0,i=jb(d,g,N[a+596>>2])+N[f>>2]|0,N[h>>2]=i}e=N[b+24>>2]+c|0;L[e|0]=O[e|0]|8}e=M[a+304>>1];if(e){d:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break d}}f=N[b+16>>2]+(c<<3)|0;h=f,i=jb(d,e,N[a+596>>2])+N[f+4>>2]|0,N[h+4>>2]=i}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|16}}function zf(a){var b=0,c=0,d=0,e=0;N[a+24>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+4>>2]=N[a>>2];N[a+8>>2]=N[a+12>>2];mq(a);a:{b:{c:{d:{b=N[a+48>>2];if((b|0)>=0){c=N[a+52>>2];d=c+1|0;if(d>>>0<=b>>>0){break d}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=1073741823){e=$a(N[a+56>>2],b<<2);if(e){break c}}N[a+48>>2]=-1}N[147456]=0;break a}e=N[a+56>>2];break b}N[a+48>>2]=b;N[a+56>>2]=e;c=N[a+52>>2];d=c+1|0}N[a+52>>2]=d;N[(c<<2)+e>>2]=0}N[a+60>>2]=1;N[a+64>>2]=1;N[a+76>>2]=0;N[a+88>>2]=0;N[a+80>>2]=0;N[a+84>>2]=0;N[a+68>>2]=0;N[a+72>>2]=1}function Xu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=La-32|0;La=c;a:{if((Qa[N[b+52>>2]](b,6,c,0)|0)<=5){N[b+12>>2]=3;break a}e=N[c+12>>2];if(!e){N[b+12>>2]=3;break a}i=a+440|0;f=N[c>>2];d=e>>31;d=(d^e)-d|0;b:{if((d|0)==65536){g=N[c+8>>2];h=N[c+4>>2];break b}f=fb(f,d);h=fb(N[c+4>>2],d);g=fb(N[c+8>>2],d);j=c,k=fb(N[c+16>>2],d),N[j+16>>2]=k;j=c,k=fb(N[c+20>>2],d),N[j+20>>2]=k;e=(e|0)<0?-65536:65536}N[a+440>>2]=f;N[a+448>>2]=h;N[a+452>>2]=e;N[a+444>>2]=g;if(!hg(i)){N[b+12>>2]=3;break a}N[a+456>>2]=M[c+18>>1];N[a+460>>2]=M[c+22>>1]}La=c+32|0}function vn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}b=N[a>>2];if(!b){break a}f=N[b+96>>2];if(!f){break a}c=N[b+108>>2];if(!c){break a}e=b+108|0;d=N[f+8>>2];while(1){if(N[c+8>>2]!=(a|0)){c=N[c+4>>2];if(c){continue}break a}break}g=N[c>>2];h=g?g+4|0:e;e=N[c+4>>2];N[h>>2]=e;N[(e?e:b+112|0)>>2]=g;Qa[N[d+8>>2]](d,c);b:{if(N[b+88>>2]!=(a|0)){break b}N[b+88>>2]=0;c=N[b+108>>2];if(!c){break b}N[b+88>>2]=N[c+8>>2]}b=N[a+8>>2];if(b){Qa[b|0](a)}b=N[N[f+12>>2]+60>>2];if(b){Qa[b|0](a)}b=N[a+40>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+40>>2]=0;Qa[N[d+8>>2]](d,a)}}function Wx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{if(!b){break b}c=27008;c:{if(!cb(9676,b)){break c}c=27016;if(!cb(10423,b)){break c}c=27024;if(!cb(10670,b)){break c}c=27032;if(!cb(15774,b)){break c}c=27040;if(!cb(15178,b)){break c}if(cb(11276,b)){break b}c=27048}d=N[c+4>>2];if(d){break a}}d=0;if(!a){break a}c=N[a+4>>2];if(!c){break a}e=N[c+16>>2];if((e|0)<=0){break a}c=c+20|0;e=c+(e<<2)|0;while(1){f=N[N[c>>2]>>2];if(cb(N[f+8>>2],9195)){c=c+4|0;if(e>>>0>c>>>0){continue}break a}break}c=N[f+20>>2];if(!c){break a}d=Qa[N[c+16>>2]](a,b)|0}return d|0}function Al(a,b){var c=0,d=0,e=0;a:{b:{if(O[a+62|0]){d=N[a+84>>2];e=N[a+80>>2];c=N[a+72>>2];if(!((d|0)==(e|0)&(c|0)==N[a+64>>2])){c=b+c|0;if(!(!c|c>>>0>2])){d=0;if(!gb(a,c)){break b}d=N[a+84>>2];e=N[a+80>>2]}c:{if((d|0)!=(e|0)){break c}c=N[a+72>>2];if(c+b>>>0<=N[a+64>>2]+b>>>0){d=e;break c}if(!O[a+62|0]){break a}d=N[a+88>>2];N[a+84>>2]=d;c=T(c,20);if(!c){break c}F(d,e,c);e=N[a+80>>2];d=N[a+84>>2]}F(T(N[a+72>>2],20)+d|0,T(N[a+64>>2],20)+e|0,T(b,20));c=N[a+72>>2]}N[a+72>>2]=c+b}N[a+64>>2]=N[a+64>>2]+b;d=1}return d}ba(8694,17855,209,11932);B()}function Ry(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=N[a+12>>2];e=N[a+4>>2];d=La-16|0;La=d;N[d+12>>2]=0;c=-28;b=N[147574];a:{if(b){g=d+12|0;while(1){if(N[b>>2]==(f|0)){break a}if(g){N[g>>2]=b}b=N[b+36>>2];if(b){continue}break}}b=0}b:{if(!e|!b|N[b+4>>2]!=(e|0)){break b}c=N[d+12>>2];N[(c?c+36|0:590296)>>2]=N[b+36>>2];c=N[b+16>>2];if(!(c&32)){c=Da(f|0,e|0,N[b+32>>2],c|0,N[b+12>>2],N[b+24>>2])|0;if(c){break b}}if(N[b+8>>2]){_a(N[b>>2])}c=0;if(O[b+16|0]&32){break b}_a(b)}La=d+16|0;b=c;if(b>>>0>=4294963201){N[147316]=0-b}N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Wy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if($b(a,N[b+8>>2],e)){if(!(N[b+28>>2]==1|N[b+4>>2]!=(c|0))){N[b+28>>2]=d}return}a:{if($b(a,N[b>>2],e)){if(!(N[b+16>>2]!=(c|0)&N[b+20>>2]!=(c|0))){if((d|0)!=1){break a}N[b+32>>2]=1;return}N[b+32>>2]=d;b:{if(N[b+44>>2]==4){break b}M[b+52>>1]=0;a=N[a+8>>2];Qa[N[N[a>>2]+20>>2]](a,b,c,c,1,e);if(O[b+53|0]){N[b+44>>2]=3;if(!O[b+52|0]){break b}break a}N[b+44>>2]=4}N[b+20>>2]=c;N[b+40>>2]=N[b+40>>2]+1;if(N[b+36>>2]!=1|N[b+24>>2]!=2){break a}L[b+54|0]=1;return}a=N[a+8>>2];Qa[N[N[a>>2]+24>>2]](a,b,c,d,e)}}function Wo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{a=N[a+20>>2];b:{if(!a){break b}c:{d:{b=P[a>>1];e=b<<16>>16;if((e|0)>=2){d=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break d}if(e){break d}b=P[a+2>>1];break c}b=M[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if(b<<16>>16<2){break e}c=N[a+4>>2];f=c+(d<<3)|0;g=b&65535;c=c+(g<<3)|0;if(N[f>>2]!=N[c-8>>2]|N[f+4>>2]!=N[c-4>>2]|O[(N[a+8>>2]+g|0)-1|0]!=1){break e}b=b-1|0;M[a+2>>1]=b}if((e|0)<=0){break b}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){M[a+2>>1]=b-1;break a}M[(N[a+12>>2]+(e<<1)|0)-2>>1]=d}return}M[a>>1]=e-1}function Bb(a,b){var c=0,d=0,e=0;c=N[a+4>>2];a:{e=N[a+20>>2];b:{if(e){d=85;if(b>>>0>c>>>0){break b}d=N[a+28>>2];c:{d:{if((b|0)>0){c=Qa[N[d+4>>2]](d,b)|0;if(c){break d}c=64;break a}c=6;if(b){break a}c=0;break c}e=N[a+20>>2]}N[a>>2]=c;e=Qa[e|0](a,N[a+8>>2],c,b)|0;c=N[a>>2];if(b>>>0<=e>>>0){d=0}else{if(c){Qa[N[d+8>>2]](d,c)}c=0;N[a>>2]=0;d=85}N[a+32>>2]=c;N[a+36>>2]=c?b+c|0:0;N[a+8>>2]=e+N[a+8>>2];return d}e=N[a+8>>2];d=85;if(e>>>0>=c>>>0|c-e>>>0>>0){break b}N[a+8>>2]=b+e;c=e+N[a>>2]|0;N[a+32>>2]=c;N[a+36>>2]=b+c;d=0}return d}N[a>>2]=0;return c}function cm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}b:{c:{b=N[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}g=b-1|0;h=g&3;d=1;if(b-2>>>0>=3){j=g&-4;while(1){c=N[a>>2];b=e<<2;f=d<<2;N[c+b>>2]=N[c+f>>2];c=N[a>>2];N[c+(b|4)>>2]=N[(c+f|0)+4>>2];c=N[a>>2];N[c+(b|8)>>2]=N[(c+f|0)+8>>2];c=b|12;b=N[a>>2];N[c+b>>2]=N[(b+f|0)+12>>2];d=d+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}if(!h){break b}while(1){b=N[a>>2];N[b+(e<<2)>>2]=N[b+(d<<2)>>2];d=d+1|0;e=e+1|0;i=i+1|0;if((i|0)!=(h|0)){continue}break}}N[a+8>>2]=g}}function Ro(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;N[c+8>>2]=0;N[c+12>>2]=0;N[c>>2]=0;N[c+4>>2]=0;d=N[a+4>>2];a:{if(!N[N[d+128>>2]+52>>2]){d=18;if(b>>>0>255){break a}f=N[a+532>>2];if(!N[f+1188>>2]){break a}h=Qa[N[N[f+3088>>2]>>2]](b)|0;g=N[f+20>>2];if(!g){break a}f=N[f+1188>>2];b=0;while(1){if(P[f+(b<<1)>>1]!=(h|0)){b=b+1|0;if((g|0)!=(b|0)){continue}break a}break}if((b|0)<0){break a}d=N[a+4>>2]}d=Qa[N[a+596>>2]](d,b,e+12|0,e+8|0)|0;if(d){break a}a=N[e+12>>2];N[c+4>>2]=a;b=N[e+8>>2];N[c+12>>2]=a;d=0;N[c+8>>2]=a?a+b|0:0}La=e+16|0;return d}function mA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(O[a+64|0]){break a}L[a+64|0]=1;e=N[a+20>>2];b:{if(O[a+65|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+65|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Vf(a){var b=0,c=0,d=0;a:{if(!a){break a}c=N[a+28>>2];if(!c){break a}d=N[a+36>>2];if(!d){break a}b=N[c+20>>2];if(b){c=N[b>>2];if((c&-2)==4){Qa[d|0](N[a+40>>2],N[b+12>>2]);c=N[b>>2]}if((c|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[b+4>>2])}N[b+28>>2]=0;N[b+32>>2]=0;N[b>>2]=0;d=N[b+40>>2];N[b+52>>2]=d;N[b+48>>2]=d;c=N[b+56>>2];if(c){c=Qa[c|0](0,0,0)|0;N[b+60>>2]=c;N[a+48>>2]=c;d=N[b+40>>2]}Qa[N[a+36>>2]](N[a+40>>2],d);Qa[N[a+36>>2]](N[a+40>>2],N[b+36>>2]);Qa[N[a+36>>2]](N[a+40>>2],b);d=N[a+36>>2];c=N[a+28>>2]}Qa[d|0](N[a+40>>2],c);N[a+28>>2]=0}}function tg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!N[c+20>>2]){N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;return}a=1<>2];d=0-a|0;f=N[c+8>>2];g=d>>>0>>0?f:d&(a+f|0)-1;d=N[c+12>>2];a:{if(g>>>0>((a^2147483647)>>>0)/(((d|0)<=1?1:d)>>>0)>>>0){break a}e=a+T(d,g)|0;if(e>>>0>=-5-a>>>0){break a}e=kb((a+e|0)+3|0);if(!e){break a}h=e+4|0;i=h&a-1;a=(i?a-i|0:0)+h|0;N[a-4>>2]=e;if(!a){break a}N[b+20>>2]=a;N[b+16>>2]=g;N[b+12>>2]=d;N[b+8>>2]=f;N[b>>2]=N[c>>2];N[b+4>>2]=N[c+4>>2];F(a,N[c+20>>2],T(N[c+12>>2],N[c+16>>2]))}}function Yw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=La-16|0;La=f;a=N[a+532>>2];a:{if(!a){e=6;break a}d=N[a+4>>2];Jh(N[a+136>>2],f,d);a=b>>>0>d>>>0?d:b;if(a){F(c,f,a<<2)}if(b>>>0<=d>>>0){break a}d=(a^-1)+b|0;g=b-a&7;if(g){while(1){N[(a<<2)+c>>2]=32768;a=a+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=0;if(d>>>0<7){break a}while(1){d=(a<<2)+c|0;N[d>>2]=32768;N[d+4>>2]=32768;N[d+24>>2]=32768;N[d+28>>2]=32768;N[d+16>>2]=32768;N[d+20>>2]=32768;N[d+8>>2]=32768;N[d+12>>2]=32768;a=a+8|0;if((b|0)!=(a|0)){continue}break}}La=f+16|0;return e|0}function To(a,b,c){var d=0,e=0,f=0;a:{if(O[a+44|0]){break a}L[a+44|0]=1;e=N[a+20>>2];if(!e){return 3}b:{if(O[a+45|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+45|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d}function Sw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=N[a+532>>2];if(!e){return 6}f=N[e>>2];i=N[b>>2];a=6;a:{if(f>>>0>i>>>0){break a}b:{if(!f){break b}e=N[e+136>>2];a=0;if(f>>>0>=4){h=f&-4;while(1){d=a<<2;N[d+c>>2]=N[e+d>>2];g=d|4;N[g+c>>2]=N[e+g>>2];g=d|8;N[g+c>>2]=N[e+g>>2];d=d|12;N[d+c>>2]=N[e+d>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=f&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[e+h>>2];a=a+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}a=0;if(f>>>0>=i>>>0){break a}C((f<<2)+c|0,0,i-f<<2);a=0}N[b>>2]=f;return a|0}function Fn(a,b){var c=0,d=0,e=0,f=0,g=0;b=N[a+84>>2]+(N[a+48>>2]+b|0)|0;d=N[a+12>>2];a:{if(b>>>0<=d>>>0){break a}b=b+1|0;if((b|d)<0){return 6}f=N[a>>2];g=N[a+52>>2];b:{c:{e=b&-2;d:{if(!e){b=0;if(!g){break d}Qa[N[f+8>>2]](f,g);N[a+52>>2]=0;break b}c=10;if((e|0)>67108863){break a}e:{if(!d){b=Qa[N[f+4>>2]](f,e<<5)|0;c=!b<<6;break e}c=Qa[N[f+12>>2]](f,d<<5,e<<5,g)|0;b=c?c:g;c=!c<<6}if(c|(d|0)>=(e|0)|!b){break c}C((d<<5)+b|0,0,e-d<<5)}N[a+52>>2]=b;break b}N[a+52>>2]=b;if(c){break a}}N[a+12>>2]=e;c=0;N[a+88>>2]=b?(N[a+48>>2]<<5)+b|0:0}return c}function mg(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=La-240|0;La=i;N[i+236>>2]=e;N[i+232>>2]=d;N[i>>2]=a;m=1;a:{b:{c:{if(!(e|(d|0)!=1)){j=a;break c}n=0-b|0;k=a;while(1){l=(f<<2)+h|0;j=k-N[l>>2]|0;if((Qa[c|0](j,a)|0)<=0){j=k;break c}d:{if(!((f|0)<2|g)){g=N[l-8>>2];l=k+n|0;if((Qa[c|0](l,j)|0)>=0){break d}if((Qa[c|0](l-g|0,j)|0)>=0){break d}}N[(m<<2)+i>>2]=j;d=bo(d,e);ng(i+232|0,d);m=m+1|0;f=d+f|0;g=0;k=j;e=N[i+236>>2];d=N[i+232>>2];if(e|(d|0)!=1){continue}break b}break}j=k;break b}if(g){break a}}ao(b,i,m);hi(j,b,c,f,h)}La=i+240|0}function kA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[N[a+4>>2]+712>>2];a:{b:{if(!N[d+2024>>2]){d=d+1372|0;break b}e=Qa[N[N[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(e>>>0>=Q[d+2024>>2]){break a}d=N[(d+(e<<2)|0)+2028>>2];if(!b|!N[a+68>>2]){break b}N[a+72>>2]=N[(N[N[b+40>>2]>>2]+(e<<2)|0)+4>>2]}e=N[d+620>>2];N[a+728>>2]=e;N[a+744>>2]=N[d+644>>2];c=0;b=0;c:{if(N[N[a+108>>2]+1416>>2]==1){break c}b=107;if(e>>>0<1240){break c}b=e>>>0<33900?1131:32768}N[a+736>>2]=b;N[a+584>>2]=N[d+540>>2];b=N[d+544>>2];N[a+768>>2]=d;N[a+588>>2]=b}return c|0}function Ch(a,b){var c=0,d=0,e=0,f=0;c=N[a>>2];e=N[b+20>>2];a:{b:{if(e){d=85;if(!(Qa[e|0](b,c,0,0)|0)){break b}break a}d=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;d=rb(b,37936,a+4|0);if(d){break a}d=2;c=P[a+4>>1];if((c|256)!=768){break a}e=N[a+8>>2];if(e>>>0<((c|0)==768?148:118)>>>0){break a}if((c|0)==512){N[a+140>>2]=0;N[a+132>>2]=0;N[a+136>>2]=0}if(L[a+72|0]&1){break a}c=N[a>>2];f=N[b+20>>2];c:{if(f){d=85;if(Qa[f|0](b,c,0,0)|0){break a}e=N[a+8>>2];break c}d=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;d=fc(b,e,a+160|0)}return d}function IB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(b){h=N[d>>2]-T(N[d+4>>2],a)|0;while(1){e=P[c+2>>1];a:{if(!e){break a}d=T(M[c>>1],3)+h|0;g=e&7;b:{if(!g){f=e;break b}f=e&65528;a=0;while(1){L[d|0]=O[c+4|0];d=d+3|0;a=a+1|0;if((a&65535)!=(g|0)){continue}break}}if(e>>>0<8){break a}while(1){L[d|0]=O[c+4|0];L[d+3|0]=O[c+4|0];L[d+6|0]=O[c+4|0];L[d+9|0]=O[c+4|0];L[d+12|0]=O[c+4|0];L[d+15|0]=O[c+4|0];L[d+18|0]=O[c+4|0];L[d+21|0]=O[c+4|0];d=d+24|0;f=f-8|0;if(f&65535){continue}break}}c=c+6|0;b=b-1|0;if(b){continue}break}}}function Rc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}N[a+112>>2]=0;N[a+116>>2]=0;b=N[a+104>>2];if(b){Qa[b|0](N[a+100>>2])}Rc(N[a+20>>2]);nj(N[a+24>>2]);oc(N[a+96>>2]);_a(N[a+88>>2]);_a(N[a+92>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function Hx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;c=N[a>>2];a:{b:{if(O[c+8|0]&2){d=Qa[N[N[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=N[e+12>>2];N[a+116>>2]=c;b=N[a>>2];if(L[b+8|0]&1){Yc(b,c);Th(a);break b}d=Qa[N[N[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}N[a+116>>2]=-1;break a}N[a+116>>2]=-1;c=N[a>>2]}se(c,b);if(!(L[N[a>>2]+8|0]&1)){break a}d=Th(a);if(d){break a}c=a;d=P[a+84>>1];a=N[a+44>>2];a=N[(P[a>>1]>P[a+2>>1]?12:16)+b>>2];f=c,g=jb(d,4608,N[b>>2]==4?72:a?a:72),N[f+120>>2]=g}d=0}La=e+16|0;return d|0}function Yu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[a>>2];c=N[a+44>>2];a:{if(!c){break a}d=N[c>>2];if(!d|!N[d+96>>2]){break a}N[d+88>>2]=c}d=35;c=N[e+504>>2];b:{if(!c|!(O[c+8|0]&2)){break b}d=6;if((b|0)<0|N[c+28>>2]<=(b|0)){break b}d=N[N[N[c+96>>2]+12>>2]+92>>2];c:{if(!d){Yc(c,b);break c}d=Qa[d|0](N[c+88>>2],b)|0;if(d){break b}}b=N[N[e+504>>2]+88>>2];c=N[b+16>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=c;N[a+36>>2]=N[b+36>>2];c=N[b+32>>2];N[a+28>>2]=N[b+28>>2];N[a+32>>2]=c;c=N[b+24>>2];N[a+20>>2]=N[b+20>>2];N[a+24>>2]=c;d=0}return d|0}function DD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;b=0;if(N[N[a+96>>2]+28>>2]!=N[147119]){a:{if(!c){break a}while(1){h=N[d>>2];N[f>>2]=0;i=N[a+96>>2];j=N[i+28>>2];k=N[a+100>>2];i=N[i+12>>2];if(i){i=N[i+8>>2]}else{i=0}if(!(Qa[j|0](a,k,h,f,i)|0)){break a}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return(b>>>0>>0?b:c)|0}a=N[a+20>>2];i=N[a+96>>2];b=N[i+32>>2];h=N[a+100>>2];i=N[i+12>>2];if(!i){return Qa[b|0](a,h,c,d,e,f,g,0)|0}return Qa[b|0](a,h,c,d,e,f,g,N[i+12>>2])|0}function dt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=N[b+4>>2];a:{if((g|0)==N[b>>2]){break a}d=N[a+872>>2];if(!d){break a}a=N[b+8>>2];f=N[d+28>>2];if(a>>>0>>0){break a}h=N[d+36>>2]+N[d+40>>2]|0;if(h>>>0<=a>>>0){break a}e=(a-(g<<2)|0)-4|0;if(e>>>0>>0|e>>>0>=((N[d+24>>2]<<2)+f|0)+4>>>0){break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);L[c+4|0]=0;i=N[d+32>>2];d=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+f|0;if(i>>>0>d>>>0|d>>>0>=h>>>0){break a}N[c>>2]=d;j=1;N[b+4>>2]=g+1;N[b+8>>2]=a+4}return j|0}function We(a){var b=0,c=0,d=0;a:{b=db(1,172);b:{if(!b){c=N[147049];b=588184;break b}N[b+148>>2]=1073741823;N[b+152>>2]=536870911;N[b>>2]=1;N[b+4>>2]=1;c=Ic();c:{if(!c){break c}d=N[c>>2];if(!d){break c}if((d|0)<=0){break a}N[c>>2]=d+1}L[b+60|0]=1;N[b+24>>2]=65533;N[b+12>>2]=c}Xe(c);c=N[a+12>>2];d:{if(!c){break d}d=N[c>>2];if(!d){break d}if((d|0)<=0){break a}N[c>>2]=d+1}N[b+12>>2]=c;N[b+16>>2]=N[a+16>>2];N[b+20>>2]=N[a+20>>2];c=N[a+28>>2];N[b+28>>2]=c;N[b+24>>2]=c;N[b+32>>2]=N[a+32>>2];return b}ba(23506,14099,260,16403);B()}function lm(a){var b=0,c=0,d=0,e=0,f=0;N[a+28>>2]=4096;b=a+4168|0;N[a+24>>2]=b;N[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!N[a+16>>2]){b=N[a>>2];c=N[b+20>>2];b:{if(c){c=Qa[c|0](b,N[b+8>>2],d,4096)|0;if(c){break b}break a}e=N[b+8>>2];c=N[b+4>>2]-e|0;c=c>>>0>=4096?4096:c;if(!c){break a}F(d,N[b>>2]+e|0,c)}N[b+8>>2]=N[b+8>>2]+c;N[a+16>>2]=c;N[a+12>>2]=d}b=km(f,0);if(b){if((b|0)==1){b=N[a+24>>2];N[a+8272>>2]=b;return(b|0)==N[a+8268>>2]?85:0}break a}if(N[a+28>>2]){continue}break}return 0}N[a+8272>>2]=N[a+8268>>2];return 85}function fg(a,b,c){var d=0,e=0;e=a;a:{b:{c:{d:{if((e^b)&3){break d}d=(c|0)!=0;e:{if(!(b&3)|!c){break e}while(1){d=O[b|0];L[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break e}if(c){continue}break}}if(!d){break b}if(!O[b|0]){break a}if(c>>>0<4){break d}while(1){d=N[b>>2];if((d^-1)&d-16843009&-2139062144){break c}N[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}}while(1){d=O[b|0];L[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}ve(e,0,c);return a}function bd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;A(+b);g=v(1)|0;d=v(0)|0;c=g&2147483647;e=c+-1048576|0;a:{if((e|0)==2145386495|e>>>0<2145386495){h=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){h=d<<28;c=(g&15)<<28|d>>>4;d=g>>>4|2147418112;break a}if(!(c|d)){c=0;d=0;break a}e=c;c=c?W(c):W(d)+32|0;hc(f,d,e,0,0,c+49|0);i=N[f>>2];h=N[f+4>>2];e=15372-c<<16;c=N[f+8>>2];d=e|N[f+12>>2]^65536}N[a>>2]=i;N[a+4>>2]=h;N[a+8>>2]=c;N[a+12>>2]=g&-2147483648|d;La=f+16|0}function pg(a){var b=0,c=0,d=0;a:{if(!a){if(N[147312]){b=pg(N[147312])}if(N[147274]){b=pg(N[147274])|b}a=N[147575];if(!a){break a}while(1){if(N[a+20>>2]!=N[a+28>>2]){b=pg(a)|b}a=N[a+56>>2];if(a){continue}break}break a}c=N[a+76>>2]>=0;b:{c:{if(N[a+20>>2]==N[a+28>>2]){break c}Qa[N[a+36>>2]](a,0,0)|0;if(N[a+20>>2]){break c}b=-1;if(c){break b}break a}b=N[a+8>>2];d=N[a+4>>2];if((b|0)!=(d|0)){b=d-b|0;Qa[N[a+40>>2]](a,b,b>>31,1)|0}b=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(!c){break a}}}return b}function sB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=6;a:{if(!a){break a}e=N[b>>2];c=N[b+4>>2];if(N[c>>2]==N[a>>2]){d=0;if(N[c+4>>2]==N[a+4>>2]){break a}}d=6;if(!e){break a}b=Qa[N[e+4>>2]](e,40)|0;if(!b){return!b<<6}N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b+32>>2]=1;e=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=e;e=N[a+4>>2];N[b+8>>2]=N[a>>2];N[b+12>>2]=e;N[b+36>>2]=N[c+8>>2];N[c+8>>2]=b;b=N[a+4>>2];N[c>>2]=N[a>>2];N[c+4>>2]=b;d=0}return d|0}function ps(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{d=a+20|0;if(d>>>0<=Q[b+160>>2]){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<20|c>>>0>N[b+160>>2]-a>>>0){break b}a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0>c-20>>>1>>>0){break b}if(!(!N[b+164>>2]|!a)){c=N[b+172>>2];while(1){if(c>>>0<=(O[d+1|0]|O[d|0]<<8)>>>0){break a}d=d+2|0;a=a-1|0;if(a){continue}break}}return 0}Pb(b,8);B()}Pb(b,8);B()}Pb(b,16);B()}function qs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=N[b>>2];if((d|0)==-1){return 0}d=d+1|0;a=N[a+16>>2];c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0>>0?d:c;c=e-c|0;d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if(c>>>0>=d>>>0){break a}a=((c<<1)+a|0)+20|0;while(1){f=O[a+1|0]|O[a|0]<<8;if(f){break a}if((e|0)==-1){return 0}a=a+2|0;e=e+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}f=0}N[b>>2]=e;return f|0}function EB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;b=N[a+4>>2];g=b+c|0;b=0-b|0;f=g-1&b;b=b&d;if((P[e+12>>1]&7)!=2){b=N[a+20>>2]<(d-g|0)?b:(c|0)==(f|0)?b:(b|0)==(d|0)?b:f}c=N[a>>2];b=b>>c;a:{if((b|0)<0){break a}d=f>>c;c=P[a+50>>1];if((d|0)>=(c|0)){break a}f=b>>>0>>0?b:c-1|0;c=-128>>(f&7);e=N[a+56>>2];d=(d|0)>0?d:0;a=d>>>3|0;b=e+a|0;d=255>>>(d&7)|0;f=f<<13>>16;g=f-a|0;b:{if((g|0)>0){L[b|0]=d|O[b|0];if((g|0)!=1){C((a+e|0)+1|0,255,f+(a^-1)|0);a=f-1|0}b=(a+e|0)+1|0;break b}c=c&d}L[b|0]=O[b|0]|c}}function Fm(a,b){var c=0,d=0,e=0;if(b){d=N[b+608>>2];if(d){c=N[d+28>>2];e=N[b+640>>2];if(e){if(N[d+20>>2]){Qa[N[c+8>>2]](c,e)}N[b+640>>2]=0}d=N[b+636>>2];if(d){Qa[N[c+8>>2]](c,d)}c=b+608|0;N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=N[b+644>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+644>>2]=0;c=N[b+572>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+572>>2]=0;c=N[b+580>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+580>>2]=0;c=N[b+592>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+592>>2]=0}}function BD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;b=La-16|0;La=b;N[b+12>>2]=c;d=N[a+96>>2];e=N[d+48>>2];a:{if((e|0)!=N[147124]){f=N[a+100>>2];g=b+12|0;h=b+8|0;c=N[d+12>>2];if(c){c=N[c+28>>2]}else{c=0}Qa[e|0](a,f,1,g,0,h,0,c);c=N[b+8>>2];break a}d=N[a+20>>2];e=N[d+96>>2];f=N[e+40>>2];g=N[d+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}c=Qa[f|0](d,g,c,e)|0;d=N[a+20>>2];if(!d){break a}d=N[d+28>>2];a=N[a+28>>2];if((d|0)==(a|0)){break a}c=VE(UE(a,a>>31,c,c>>31),Pa,d,d>>31)}La=b+16|0;return c|0}function AD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;b=La-16|0;La=b;N[b+12>>2]=c;d=N[a+96>>2];e=N[d+52>>2];a:{if((e|0)!=N[147125]){f=N[a+100>>2];g=b+12|0;h=b+8|0;c=N[d+12>>2];if(c){c=N[c+32>>2]}else{c=0}Qa[e|0](a,f,1,g,0,h,0,c);c=N[b+8>>2];break a}d=N[a+20>>2];e=N[d+96>>2];f=N[e+44>>2];g=N[d+100>>2];e=N[e+12>>2];if(e){e=N[e+24>>2]}else{e=0}c=Qa[f|0](d,g,c,e)|0;d=N[a+20>>2];if(!d){break a}d=N[d+32>>2];a=N[a+32>>2];if((d|0)==(a|0)){break a}c=VE(UE(a,a>>31,c,c>>31),Pa,d,d>>31)}La=b+16|0;return c|0}function un(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=35;a:{if(!(O[a+8|0]&2)){break a}d=7;if(N[b>>2]){break a}e=N[b+4>>2];f=e;d=N[b+12>>2];if(d){f=(T(d,e)+36|0)/72|0}g=N[b+8>>2];h=g;d=23;b=N[b+16>>2];if(b){h=(T(b,g)+36|0)/72|0}b=g?h:f;f=(e?f:b)+32&-64;if(!f){break a}e=(e?b:h)+32&-64;if(!e){break a}h=N[a+28>>2];if((h|0)<=0){break a}a=N[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((e|0)!=(N[g+12>>2]+32&-64)|(f|0)!=(N[g+8>>2]+32&-64))){d=0;if(!c){break a}N[c>>2]=b;return 0}b=b+1|0;if((h|0)!=(b|0)){continue}break}}return d}function Qh(a,b){var c=0,d=0,e=0,f=0,g=0;c=N[b+4>>2];if(c){if(N[b>>2]){while(1){f=e<<4;d=N[(f+c|0)+8>>2];if(d){Qa[N[a+8>>2]](a,d);c=N[b+4>>2]}d=c+f|0;N[d+8>>2]=0;d=N[d+12>>2];if(d){Qa[N[a+8>>2]](a,d);c=N[b+4>>2]}N[(c+f|0)+12>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}Qa[N[a+8>>2]](a,c);N[b+4>>2]=0}e=N[b+16>>2];if(e){f=N[b+12>>2];if(f){c=0;while(1){d=c<<2;g=N[d+e>>2];if(g){Qa[N[a+8>>2]](a,g);f=N[b+12>>2];e=N[b+16>>2]}N[e+d>>2]=0;c=c+1|0;if(f>>>0>c>>>0){continue}break}}Qa[N[a+8>>2]](a,e);N[b+16>>2]=0}}function rB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=6;a:{if(!a|!b){break a}e=N[c>>2];if(!e){break a}d=N[c+4>>2];c=Qa[N[e+4>>2]](e,40)|0;if(!c){return!c<<6}N[c+32>>2]=0;N[c+36>>2]=0;N[c>>2]=0;N[c+4>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;N[c+32>>2]=2;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;e=N[a+4>>2];N[c+16>>2]=N[a>>2];N[c+20>>2]=e;a=N[b+4>>2];N[c+8>>2]=N[b>>2];N[c+12>>2]=a;N[c+36>>2]=N[d+8>>2];N[d+8>>2]=c;a=N[b+4>>2];N[d>>2]=N[b>>2];N[d+4>>2]=a;d=0}return d|0}function CB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:{f=T(b,f);if((f|0)<=0){break a}i=a+f|0;if(e){j=e&-2;k=e&1;while(1){f=0;b:{if((e|0)!=1){while(1){h=a+f|0;g=O[c+f|0]+O[h|0]|0;L[h|0]=g>>>0>=255?255:g;g=f|1;h=g+a|0;g=O[c+g|0]+O[h|0]|0;L[h|0]=g>>>0>=255?255:g;f=f+2|0;if((j|0)!=(f|0)){continue}break}if(!k){break b}}g=a+f|0;f=O[c+f|0]+O[g|0]|0;L[g|0]=f>>>0>=255?255:f}c=c+d|0;a=a+b|0;if(i>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(i>>>0>a>>>0){continue}break}}}function xg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;N[a+112>>2]=N[a+112>>2]+1;dd(N[a+852>>2]);dd(N[a+848>>2]);dd(N[a+844>>2]);b=N[a+16>>2];N[a+132>>2]=b;c=N[a+20>>2];N[a+136>>2]=c;d=b-(N[a- -64>>2]+N[a+68>>2]|0)|0;N[a+144>>2]=d;e=c-(N[a+56>>2]+N[a+60>>2]|0)|0;N[a+140>>2]=e;h=UE(d,d>>31,c,c>>31);f=Pa;i=UE(e,e>>31,b,b>>31);g=Pa;S[a+160>>3]=(g|0)<=(f|0)&h>>>0>=i>>>0|(f|0)>(g|0)?+(b|0):+(c|0)*+(d|0)/+(e|0);if((f|0)<=(g|0)&h>>>0<=i>>>0|(f|0)<(g|0)){S[a+152>>3]=c|0;return}S[a+152>>3]=+(b|0)*+(e|0)/+(d|0)}function Qd(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){c=f+-64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}i=d;h=64-f|0;g=h&31;if((h&63)>>>0>=32){h=i<>>32-g|e<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=j|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e}function eg(a,b){var c=0,d=0,e=0;d=La-16|0;La=d;a:{if(!a){c=35;break a}c=6;if(!b|N[b+4>>2]<0|(N[b+8>>2]<0|Q[b>>2]>4)){break a}c=N[a+88>>2];N[N[c+40>>2]+12>>2]=0;e=N[N[N[a+96>>2]+12>>2]+88>>2];if(e){c=Qa[e|0](c,b)|0;break a}if((N[a+8>>2]&3)==2){c=un(a,b,d+12|0);if(c){break a}b=N[d+12>>2];c=35;b:{c:{if(!a|!(O[a+8|0]&2)){break c}c=6;if((b|0)<0|(b|0)>=N[a+28>>2]){break c}c=N[N[N[a+96>>2]+12>>2]+92>>2];if(c){a=Qa[c|0](N[a+88>>2],b)|0;break b}Yc(a,b);c=0}a=c}c=a;break a}se(a,b);c=0}La=d+16|0;return c}function bE(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;b=N[b>>2];a=N[b+12>>2];a:{if(a){break a}while(1){a=N[b>>2];if(!a){a=275552;break a}h=db(1,48);if(!h){a=275552;N[b+12>>2]=275552;break a}a=gj(h,a);if(!N[b+12>>2]){N[b+12>>2]=a;break a}ab(N[a+44>>2]);_a(a);a=N[b+12>>2];if(!a){continue}break}}h=N[a+8>>2];if(!h){return 0}b=0;b:{if(!c){break b}a=N[a+12>>2];while(1){if(!(Qa[h|0](a,N[d>>2],f)|0)){break b}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function hr(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+660>>2];if(b){ug(b);N[a+660>>2]=0}Zo(N[a+384>>2]);c=N[a+380>>2];if(c){_a(N[c>>2]);N[c>>2]=0;b=N[c+8>>2];e=0;a:{if(!b){break a}d=N[b>>2];e=b;if(!d){break a}while(1){_a(d);d=N[b+4>>2];b=b+4|0;if(d){continue}break}e=N[c+8>>2]}_a(e);N[c+8>>2]=0;if(N[c+16>>2]){b=0;while(1){d=T(b,12);_a(N[d+N[c+12>>2]>>2]);_a(N[(d+N[c+12>>2]|0)+4>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[c+12>>2]);_a(c)}_a(N[a>>2]);N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Nv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}e=N[b+16>>2];if((e|0)<=0){break a}c=N[c+320>>2];b=b+20|0;e=b+(e<<2)|0;while(1){f=N[b>>2];if(cb(N[N[f>>2]+8>>2],11971)){b=b+4|0;if(e>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}c=Qa[b|0](f)|0;if(!c){break a}b=N[a>>2];g=Qa[N[c>>2]](N[b+100>>2],N[b+304>>2]+T(N[b+4>>2],252)|0,d+12|0)|0;if(g){break a}N[N[a+40>>2]>>2]=N[d+12>>2]}La=d+16|0;return g|0}function st(a){a=a|0;var b=0,c=0,d=0;a:{if(!O[a+632|0]){break a}c=N[a+100>>2];b=N[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=N[a+640>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+636>>1]=0;N[a+640>>2]=0;if(!P[a+638>>1]){break a}b=N[a+644>>2];N[b>>2]=N[b>>2]-1;b=N[a+644>>2];d=N[b>>2];if(d){Qa[N[c+8>>2]](c,d);b=N[a+644>>2]}N[b>>2]=0;b=N[a+644>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+638>>1]=0;N[a+644>>2]=0;break a}b=N[a+640>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+636>>1]=0;N[a+640>>2]=0}L[a+632|0]=0}function KB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:{f=T(b,f);if((f|0)<=0){break a}h=a+f|0;if(e){j=e&-2;k=e&1;while(1){f=0;b:{if((e|0)!=1){while(1){g=a+f|0;L[g|0]=T(O[g|0],O[c+f|0]^255)+255>>>8;g=f|1;i=g+a|0;L[i|0]=T(O[i|0],O[c+g|0]^255)+255>>>8;f=f+2|0;if((j|0)!=(f|0)){continue}break}if(!k){break b}}g=a+f|0;L[g|0]=T(O[g|0],O[c+f|0]^255)+255>>>8}c=c+d|0;a=a+b|0;if(h>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(h>>>0>a>>>0){continue}break}}}function rD(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;b=N[a+20>>2];N[f>>2]=0;N[e>>2]=0;g=N[b+96>>2];h=N[g+76>>2];i=N[b+100>>2];g=N[g+12>>2];if(g){g=N[g+56>>2]}else{g=0}h=Qa[h|0](b,i,c,d,e,f,g)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[e>>2];d=N[c+28>>2];g=N[a+28>>2];if((d|0)!=(g|0)){b=VE(UE(g,g>>31,b,b>>31),Pa,d,d>>31)}N[e>>2]=b;b=N[f>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[f>>2]}N[f>>2]=b}return h|0}function fn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;d=N[a+736>>2];a:{if(!d){c=re(a,0);if(c){break a}d=N[a+736>>2]}c=6;if(P[a+14>>1]>>0){break a}b:{if(b){f=N[a+100>>2];g=N[d+12>>2];d=N[g+16>>2]+T(b,12)|0;c=Qa[N[N[a+540>>2]+160>>2]](a,P[d-8>>1],e+12|0)|0;if(c){break a}c=N[a+24>>2];if(c){Qa[N[f+8>>2]](f,c)}N[a+24>>2]=N[e+12>>2];c=Ph(a,N[g>>2],N[d-12>>2]);if(c){c=(c|0)!=-1?c:0;break a}c=0;break b}c=Ph(a,0,0)}M[a+6>>1]=b;N[a+8>>2]=N[a+8>>2]&-32769}La=e+16|0;return c|0}function Aq(a,b){var c=0,d=0,e=0;a:{c=N[a+72>>2]+1|0;b:{if(!(!c|c>>>0>2])){if(!gb(a,c)){break b}}d=N[a+84>>2];c:{if((d|0)!=N[a+80>>2]){break c}e=N[a+72>>2];if(Q[a+64>>2]>=e+1>>>0){break c}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;e=T(e,20);if(!e){d=c;break c}F(c,d,e);d=N[a+84>>2]}c=N[b+4>>2];d=T(N[a+72>>2],20)+d|0;N[d>>2]=N[b>>2];N[d+4>>2]=c;N[d+16>>2]=N[b+16>>2];c=N[b+12>>2];N[d+8>>2]=N[b+8>>2];N[d+12>>2]=c;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);B()}function tu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{d=N[b>>2];e=N[a+16>>2];g=P[e+2>>1];h=g+(P[e+6>>1]<<8)|0;if(d>>>0>=h>>>0){break a}a=P[e>>1];k=(g-a|0)+1|0;i=P[e+4>>1];j=a+(i<<8)|0;e=N[e+12>>2];while(1){c=d+1|0;c=c>>>0>j>>>0?c:j;d=c>>>8|0;c=c&255;b:{if(c>>>0>>0){c=a;break b}f=c>>>0>g>>>0;c=f?a:c;d=d+f|0}f=d&65535;d=(f<<8)+c|0;c=P[e+((c-a|0)+T(f-i|0,k)<<1)>>1];if((c|0)!=65535){break a}if(d>>>0>>0){continue}break}N[b>>2]=d;return 65535}N[b>>2]=d;return c|0}function Xs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;N[c>>2]=-1;N[d>>2]=-1;f=P[a+340>>1];if(f){h=N[a+356>>2];a=0;while(1){e=T(a,20)+h|0;a:{if(P[e+6>>1]!=(b|0)|!P[e+8>>1]){break a}b:{c:{switch(P[e>>1]-1|0){case 2:if(P[e+2>>1]>1){break a}g=c;if(P[e+4>>1]==1033|N[c>>2]==-1){break b}break a;case 0:break c;default:break a}}if(P[e+2>>1]){break a}g=d;if(!P[e+4>>1]){break b}if(N[d>>2]!=-1){break a}}N[g>>2]=a}a=a+1|0;if((f|0)!=(a|0)){continue}break}}return(N[d>>2]&N[c>>2])>=0|0}function pn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;a:{if(!a){f=35;break a}f=38;if(!b){break a}d=N[a+40>>2];if(!d){break a}f=6;g=N[a+36>>2];if((g|0)<=0){break a}g=(g<<2)+d|0;while(1){b:{if(N[d>>2]!=(b|0)){break b}c=N[b>>2];c:{if(!c){break c}c=N[c+96>>2];h=N[N[c>>2]+32>>2];if(!h){break c}c=Qa[h|0](c,10557)|0;if(!c){break c}if(Qa[N[c>>2]](b,e+8|0)|0){break c}if(N[e+12>>2]==14){break b}}N[a+92>>2]=N[d>>2];f=0;break a}d=d+4|0;if(g>>>0>d>>>0){continue}break}}La=e+16|0;return f}function If(a,b,c,d){var e=0,f=0;f=N[b+88>>2];e=O[a+2|0]|O[a+3|0]<<8;R[c>>2]=R[f+44>>2]*U((e<<8|e>>>8)<<16>>16);e=O[a+4|0]|O[a+5|0]<<8;R[d>>2]=R[f+48>>2]*U((e<<8|e>>>8)<<16>>16);if(N[f+72>>2]|N[f+84>>2]){e=O[a+6|0]|O[a+7|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}e=Zg(e,f,N[b+108>>2],N[b+112>>2]);R[c>>2]=R[c>>2]+U(e|0)}if(N[f+76>>2]|N[f+84>>2]){c=O[a+8|0]|O[a+9|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}a=Yg(a,f,N[b+108>>2],N[b+112>>2]);R[d>>2]=R[d>>2]+U(a|0)}}function xi(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=La-32|0;La=g;e=S[a+24>>3]*e;a:{if(V(e)<2147483648){i=~~e;break a}i=-2147483648}h=f&1;d=S[a+16>>3]*d;b:{if(V(d)<2147483648){j=~~d;break b}j=-2147483648}c:{if(h){N[g+28>>2]=c+i;N[g+24>>2]=b+j;k=N[a>>2];h=N[g+28>>2];N[g+16>>2]=N[g+24>>2];N[g+20>>2]=h;h=0;if(!Fb(k,g+16|0,1)){break c}}if(f&2){N[g+28>>2]=c-i;N[g+24>>2]=b-j;a=N[a+4>>2];b=N[g+28>>2];N[g+8>>2]=N[g+24>>2];N[g+12>>2]=b;h=0;if(!Fb(a,g+8|0,1)){break c}}h=1}La=g+32|0;return h}function SB(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{h=T(b,h);if((h|0)<=0){break a}j=a+h|0;if(g){k=g&-2;l=g&1;while(1){h=0;b:{if((g|0)!=1){while(1){L[a+h|0]=T(O[e+h|0],O[c+h|0])+255>>>8;i=h|1;L[i+a|0]=T(O[e+i|0],O[c+i|0])+255>>>8;h=h+2|0;if((k|0)!=(h|0)){continue}break}if(!l){break b}}L[a+h|0]=T(O[e+h|0],O[c+h|0])+255>>>8}e=e+f|0;c=c+d|0;a=a+b|0;if(j>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(j>>>0>a>>>0){continue}break}}}function te(a,b,c){var d=0,e=0,f=0;a:{if(!a){break a}d=M[a+2>>1];if((d|0)<=0){break a}a=N[a+4>>2];if(d>>>0>=4){f=d&-4;while(1){N[a>>2]=N[a>>2]+b;N[a+4>>2]=N[a+4>>2]+c;N[a+8>>2]=N[a+8>>2]+b;N[a+16>>2]=N[a+16>>2]+b;N[a+24>>2]=N[a+24>>2]+b;N[a+12>>2]=N[a+12>>2]+c;N[a+20>>2]=N[a+20>>2]+c;N[a+28>>2]=N[a+28>>2]+c;a=a+32|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){N[a>>2]=N[a>>2]+b;N[a+4>>2]=N[a+4>>2]+c;a=a+8|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}}function hc(a,b,c,d,e,f){var g=0,h=0,i=0;a:{if(f&64){d=b;e=f+-64|0;b=e&31;if((e&63)>>>0>=32){e=d<>>32-b|c<>>0>=32){h=g<>>32-d|e<>>0>=32){e=0;b=c>>>d|0}else{e=c>>>d|0;b=((1<>>d}d=i|b;e=e|h;b=f&31;if((f&63)>>>0>=32){h=g<>>32-b|c<>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e}function fz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=La-32|0;La=e;N[e+16>>2]=b;d=N[a+48>>2];N[e+20>>2]=c-((d|0)!=0);f=N[a+44>>2];N[e+28>>2]=d;N[e+24>>2]=f;a:{b:{d=oa(N[a+60>>2],e+16|0,2,e+12|0)|0;if(d){N[147316]=d;d=-1}else{d=0}if(d){b=32}else{d=N[e+12>>2];if((d|0)>0){break b}b=d?32:16}N[a>>2]=b|N[a>>2];break a}g=d;f=N[e+20>>2];if(f>>>0>=d>>>0){break a}d=N[a+44>>2];N[a+4>>2]=d;N[a+8>>2]=d+(g-f|0);if(N[a+48>>2]){N[a+4>>2]=d+1;L[(b+c|0)-1|0]=O[d|0]}g=c}La=e+32|0;return g|0}function tf(a,b,c){var d=0,e=0,f=0;if(Q[b+4>>2]>a>>>0){return 0}d=N[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<3){return 0}e=N[b+12>>2]-3|0;N[b+12>>2]=e;d=1;if((e|0)<=0){return 0}e=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);a:{if(!e){break a}f=N[b+20>>2];b:{if((f|0)>15){break b}f=f+1|0;N[b+20>>2]=f;if(!f){break b}c=$d(c+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(c){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a+2|0]=0;L[a|0]=0;L[a+1|0]=0;d=1}return d}function IA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c=N[a+28>>2];if(O[c+44|0]){break b}d=To(c,N[b>>2],N[b+4>>2]);if(!d){break b}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=d;return}d=N[b+12>>2];f=N[b+8>>2];c:{b=N[c+12>>2];if((M[b+22>>1]+M[b+58>>1]|0)+1>>>0>Q[b+4>>2]){b=Sb(b,1,0);if(b){break c}}a=N[c+20>>2];if(O[c+45|0]){b=N[a+8>>2];c=M[a+2>>1];e=N[a+4>>2]+(c<<3)|0;N[e+4>>2]=d>>10;N[e>>2]=f>>10;L[b+c|0]=1}M[a+2>>1]=P[a+2>>1]+1;return}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=b}}function Dt(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qa[N[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=rb(b,178672,d);if(c){break a}M[a+290>>1]=0;M[a+282>>1]=0;M[a+284>>1]=0;M[a+286>>1]=0;M[a+288>>1]=0;M[a+274>>1]=0;M[a+276>>1]=0;M[a+278>>1]=0;M[a+280>>1]=0;M[a+266>>1]=0;M[a+268>>1]=0;M[a+270>>1]=0;M[a+272>>1]=0;b:{if(N[a+260>>2]<65536){break b}c=rb(b,178688,d);if(c){break a}if(P[a+280>>1]<=63){M[a+280>>1]=64}if(P[a+276>>1]<65532){break b}M[a+276>>1]=65531}c=0}return c|0}function sg(a){var b=0,c=0,d=0,e=0;d=La-32|0;La=d;b=N[a+500>>2];e=b;c=N[a+496>>2];N[d+8>>2]=c;N[d+12>>2]=b;b=c;if(b){c=e;a:{if(!(!c|O[b|0]!=64)){N[d+12>>2]=c-1;N[d+24>>2]=1;N[d+8>>2]=b+1;break a}N[d+24>>2]=0}c=700;b:{c:{b=N[a+504>>2];switch(b+1|0){case 0:case 2:break b;default:break c}}c=b?b:400}N[d+16>>2]=c;c=N[a+508>>2];N[d+20>>2]=(c|0)==1?100:c;tb(N[a+72>>2]);c=0;b=N[a>>2];b=sc(N[b+840>>2],d+8|0,b);d:{if(!b){break d}if(N[b+20>>2]){c=b;break d}tb(b)}N[a+72>>2]=c}La=d+32|0}function DE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=N[N[a+112>>2]+4>>2];if(c){zj(c,b,N[a+4>>2])}a=O[b+140|0];if(!(a&64)){L[b+140|0]=a|64;d=N[b+68>>2];if(d){e=N[b+80>>2];g=e+2|0;a=0;while(1){c=0;f=T(a,20);b=N[f+e>>2];if(b>>>0<=921599){c=O[(b&1|O[(b>>>1&7|P[(b>>>3&14|O[(b>>>7&31|O[(b>>>13|0)+248896|0]>>>(b>>>10&4)<<5&480)+249009|0]<<4)+252048>>1]<<3)+249489|0]<<1)+251673|0]}L[(g+f|0)+16|0]=c;a=a+1|0;if((d|0)!=(a|0)){continue}break}}return}ba(22778,14165,169,12138);B()}function xD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=N[a+20>>2];N[e>>2]=0;N[d>>2]=0;f=N[b+96>>2];g=N[f+56>>2];h=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+36>>2]}else{f=0}h=Qa[g|0](b,h,c,d,e,f)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[d>>2];f=N[c+28>>2];g=N[a+28>>2];if((f|0)!=(g|0)){b=VE(UE(g,g>>31,b,b>>31),Pa,f,f>>31)}N[d>>2]=b;b=N[e>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[e>>2]}N[e>>2]=b}return h|0}function vD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=N[a+20>>2];N[e>>2]=0;N[d>>2]=0;f=N[b+96>>2];g=N[f+60>>2];h=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+40>>2]}else{f=0}h=Qa[g|0](b,h,c,d,e,f)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[d>>2];f=N[c+28>>2];g=N[a+28>>2];if((f|0)!=(g|0)){b=VE(UE(g,g>>31,b,b>>31),Pa,f,f>>31)}N[d>>2]=b;b=N[e>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[e>>2]}N[e>>2]=b}return h|0}function $o(a,b){var c=0,d=0,e=0;d=La-16|0;La=d;c=N[a>>2]+1|0;N[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Tb(d+12|0,b);c=N[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=O[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;N[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(O[c|0]!=62){break c}}c=c+1|0;b=0}N[a>>2]=c;La=d+16|0;return b}function LE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=N[c+68>>2];a:{if(!b){break a}a=N[c+80>>2];c=0;if(b>>>0>=4){e=b&-4;while(1){d=T(c,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|1,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|2,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|3,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;c=c+4|0;if((e|0)!=(c|0)){continue}break}}b=b&3;if(!b){break a}while(1){e=T(c,20)+a|0;M[e+12>>1]=P[e+12>>1]&65519;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}return 0}function dc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}Xe(N[a+12>>2]);_a(N[a+80>>2]);_a(N[a+88>>2]);b=N[a+164>>2];if(b){Qa[b|0](N[a+160>>2])}_a(a)}return}ba(23506,14099,270,7918);B()}function Ri(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if(N[b+72>>2]==N[a+16>>2]){e=M[b+110>>1];a:{if(!e){e=0;a=0;b=0;break a}d=N[b+112>>2];a=N[d+4>>2];b=N[d>>2];if((e|0)<2){e=a;f=b;break a}i=(e<<3)+d|0;h=d+8|0;f=b;e=a;while(1){g=N[d+12>>2];e=(e|0)<(g|0)?g:e;a=(a|0)>(g|0)?g:a;d=N[d+8>>2];f=(d|0)>(f|0)?d:f;b=(b|0)>(d|0)?d:b;d=h;h=d+8|0;if(i>>>0>h>>>0){continue}break}}N[c+8>>2]=f;N[c>>2]=b;N[c+12>>2]=e;N[c+4>>2]=a}}function oD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=U(0),i=0;b=La-32|0;La=b;N[b+16>>2]=e;N[b+12>>2]=d;d=N[a+20>>2];e=N[d+28>>2];if(e){g=U(U(N[a+28>>2])/U(e|0))}else{g=U(0)}R[b+20>>2]=g;e=N[d+32>>2];if(e){g=U(e|0);h=U(U(N[a+32>>2])/g);g=U(U(U(R[a+36>>2]-R[d+36>>2])*U(N[a+28>>2]))/g)}else{g=U(0)}R[b+28>>2]=g;R[b+24>>2]=h;a=N[d+96>>2];e=N[a+88>>2];f=N[d+100>>2];i=b+12|0;a=N[a+12>>2];if(a){a=N[a+68>>2]}else{a=0}Qa[e|0](d,f,c,588872,i,a);La=b+32|0}function zc(a){var b=0,c=0,d=0,e=0;a:{b:{if(O[a+62|0]){b=N[a+68>>2];d=N[a+64>>2];if(b>>>0>>0){break b}c:{d:{if(O[a+60|0]){c=N[a+72>>2];if(Al(a,b-d|0)){break d}b=N[a+68>>2]}N[a+84>>2]=N[a+80>>2];c=d;break c}e=N[a+84>>2];b=N[a+80>>2];if((e|0)!=(b|0)){N[a+80>>2]=e;N[a+88>>2]=b}b=N[a+72>>2];N[a+68>>2]=b}N[a+72>>2]=c;L[a+62|0]=1;N[a+64>>2]=c;if(b>>>0>>0){break a}return c-d|0}ba(8694,17855,395,17735);B()}ba(13069,17855,397,17735);B()}ba(13069,17855,438,12229);B()}function _o(a,b,c,d){var e=0,f=0,g=0,h=0;h=N[a>>2];if(h>>>0>>0){f=1;d=d<<1;b=b-h|0;d=b>>>0>d>>>0?d:b;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=O[b+h|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=O[e+294800|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}L[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}L[c+g|0]=f<<4;g=g+1|0}N[a>>2]=b+h}return g}function sx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}e=N[b+16>>2];if((e|0)<=0){break a}c=N[c+552>>2];b=b+20|0;e=b+(e<<2)|0;while(1){f=N[b>>2];if(cb(N[N[f>>2]+8>>2],11971)){b=b+4|0;if(e>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](f)|0;if(!b){break a}c=N[a>>2];g=Qa[N[b>>2]](N[c+100>>2],c+168|0,d+12|0)|0;if(g){break a}N[N[a+40>>2]>>2]=N[d+12>>2]}La=d+16|0;return g|0}function gk(a,b){var c=0,d=0,e=0,f=0;d=La-32|0;La=d;e=N[b+96>>2];f=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,f);a:{if((c|0)==-1){break a}a=O[a+4|0]|O[a+5|0]<<8;a=f+(a<<8|a>>>8)&65535;if(N[e+156>>2]){zc(e);e=N[b+88>>2];f=N[b+96>>2];N[d+16>>2]=N[f+64>>2];ib(f,e,23368,d+16|0)}Oe(b,a);a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[d>>2]=N[a+64>>2]-1;ib(a,b,23412,d)}La=d+32|0;return(c|0)!=-1}function qe(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==O[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}if(!(O[a|0]==(b&255)|c>>>0<4)){d=T(b&255,16843009);while(1){e=d^N[a>>2];if((e^-1)&e-16843009&-2139062144){break b}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}b=b&255;while(1){if((b|0)==O[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function bA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=N[a+16>>2];a:{if(j){c=N[b>>2]+1|0;k=N[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=N[e>>2];if((f|0)==(c|0)){a=N[((i<<3)+k|0)+4>>2];N[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?N[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=j>>>0){break a}a=N[a+20>>2]+(d<<3)|0;c=N[a>>2]&2147483647;g=N[a+4>>2]}N[b>>2]=c;return g|0}function Xp(a,b){var c=0,d=0,e=0,f=0,g=0;d=kb(T(b,28));if(d){if(N[a+4>>2]){while(1){f=T(e,28);c=f+d|0;b=N[a+8>>2]+f|0;N[c>>2]=N[b>>2];N[c+4>>2]=N[b+4>>2];N[b+4>>2]=0;N[c+8>>2]=N[b+8>>2];N[b+8>>2]=0;N[c+12>>2]=N[b+12>>2];N[b+12>>2]=0;N[c+24>>2]=N[b+24>>2];g=N[b+20>>2];N[c+16>>2]=N[b+16>>2];N[c+20>>2]=g;b=N[a+8>>2]+f|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}_a(N[a+8>>2])}return d}function _r(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(b>>>0>65535){break a}c=N[a+16>>2];a=c+518|0;c=c+6|0;b:{if(b>>>0<=255){c=c+(b<<1&510)|0;if(!(O[c|0]<<8|O[c+1|0])){break b}break a}c=c+(b>>>7&33554430)|0;c=O[c|0]<<8|O[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(O[a+1|0]|O[a|0]<<8)|0;if(b>>>0>=(O[a+3|0]|O[a+2|0]<<8)>>>0){break a}c=O[a+7|0]|O[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=O[b|0]<<8|O[b+1|0];if(!b){break a}d=b+(O[a+5|0]|O[a+4|0]<<8)&65535}return d|0}function MC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;f=0;a=N[b+12>>2];a:{if(!e|(!a|!d)){break a}L[d|0]=0;if(!(O[a+9|0]&2)|N[a+16>>2]<=(c|0)){break a}b:{c:{g=N[a+128>>2];b=N[g+40>>2];switch(b+2|0){case 0:break a;case 2:break c;default:break b}}b=N[a+96>>2];h=N[N[b>>2]+32>>2];d:{if(!h){b=0;break d}b=Qa[h|0](b,9592)|0;g=N[a+128>>2]}N[g+40>>2]=b?b:-2}if(!b){break a}b=N[b>>2];if(!b){break a}if(Qa[b|0](a,c,d,e)|0){break a}f=O[d|0]!=0}return f|0}function sv(a){a=a|0;var b=0,c=0;b=N[N[a+156>>2]>>2];N[a+184>>2]=0;N[a+188>>2]=0;N[a+176>>2]=0;N[a+180>>2]=0;N[a+192>>2]=0;N[a+168>>2]=0;N[a+172>>2]=0;N[a+160>>2]=0;N[a+164>>2]=0;N[a+188>>2]=b;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;c=N[b+32>>2];a=b- -64|0;N[a>>2]=N[b+28>>2];N[a+4>>2]=c;N[b+88>>2]=N[b+52>>2];a=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=a;a=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=a;a=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=a;return 0}function og(a,b){if(!a){return 0}a:{b:{if(b>>>0<=127){break b}c:{if(!N[N[147600]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){L[a+1|0]=b&63|128;L[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344&b>>>0>=55296)){L[a+2|0]=b&63|128;L[a|0]=b>>>12|224;L[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){L[a+3|0]=b&63|128;L[a|0]=b>>>18|240;L[a+2|0]=b>>>6&63|128;L[a+1|0]=b>>>12&63|128;a=4;break a}}N[147316]=25;a=-1;break a}L[a|0]=b;a=1}return a}function yo(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=La-48|0;La=g;i=db(1,8);a:{if(!i){break a}N[i>>2]=d;N[i+4>>2]=e;h=db(1,40);if(!h){_a(i);break a}d=Qa[d|0](e,0,0,0)|0;N[h+24>>2]=373;N[h+20>>2]=374;N[h+4>>2]=d;N[h+12>>2]=i;N[g+28>>2]=0;N[g+32>>2]=0;N[g+44>>2]=0;N[g+36>>2]=0;N[g+40>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=2;N[g+32>>2]=h;if(Td(b,g+16|0,f,g+12|0,1)){if(c){N[g>>2]=c;mb(a,2,24556,g);break a}mb(a,2,9040,0);break a}j=N[g+12>>2]}La=g+48|0;return j}function Fk(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-32|0;La=e;c=N[b+96>>2];d=O[a+2|0]|O[a+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+a|0}else{f=275552}d=N[c+64>>2];f=vb(f,N[N[c+80>>2]+T(d,20)>>2]);if((f|0)!=-1){if(N[c+156>>2]){g=N[b+88>>2];N[e+16>>2]=d;ib(c,g,17402,e+16|0);d=N[c+64>>2]}ge(O[a+4|0]|O[a+5|0]<<8,b,a,a+6|0,N[c+88>>2]+T(d,20)|0);a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[e>>2]=N[a+64>>2];ib(a,b,17446,e)}N[c+64>>2]=N[c+64>>2]+1}La=e+32|0;return(f|0)!=-1}function po(a,b,c){var d=0,e=0,f=0,g=0;e=La-16|0;La=e;d=1;f=c-1|0;if(f>>>0<=1){if((c|0)==2){d=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);N[e+8>>2]=c;N[e+12>>2]=d;c=Eb(c,e+8|0,10);d=Pa;g=(d|0)<0&c>>>0<=2147483648|(d|0)<-1;c=g?-2147483648:c;d=g?-1:d;d=(d|0)>=0&c>>>0>=2147483647|(d|0)>0?2147483647:c}b=(f<<3)+b|0;c=N[b+4>>2];b=N[b>>2];N[a+452>>2]=d;N[a+296>>2]=b;N[a+300>>2]=c-b}La=e+16|0;return f>>>0<2}function Em(a,b){var c=0,d=0,e=0,f=0,g=0;c=N[a+16>>2];if(c){e=N[a+12>>2];if(e){while(1){f=d<<2;g=N[f+c>>2];if(g){Qa[N[b+8>>2]](b,g);e=N[a+12>>2];c=N[a+16>>2]}N[c+f>>2]=0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}Qa[N[b+8>>2]](b,c)}N[a+16>>2]=0;c=N[a+4>>2];if(c){e=N[a>>2];if(e){d=0;while(1){f=d<<3;g=N[(f+c|0)+4>>2];if(g){Qa[N[b+8>>2]](b,g);e=N[a>>2];c=N[a+4>>2]}N[(c+f|0)+4>>2]=0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}Qa[N[b+8>>2]](b,c)}N[a+4>>2]=0}function xc(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-44|0;while(1){b=N[e>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1986553185,N[b+16>>2])|0;if(b){break b}}b=275552}c=Up(d+4|0,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<36?275552:N[b+12>>2]}function nw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[a+8>>2];a:{if(!c){break a}b:{switch(O[a|0]){case 0:e=O[b+c|0];break a;case 3:break b;default:break a}}if(Q[a+20>>2]>b-N[a+16>>2]>>>0){e=O[a+24|0];break a}d=c+2|0;g=c+N[a+12>>2]|0;c=O[c+1|0]|O[c|0]<<8;while(1){if(b>>>0>>0){break a}f=O[d+2|0]|O[d+1|0]<<8;if(f>>>0>b>>>0){e=O[d|0];L[a+24|0]=e;N[a+20>>2]=f-c;N[a+16>>2]=c;break a}c=f;d=d+3|0;if(g>>>0>d>>>0){continue}break}}return e|0}function go(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=O[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=N[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=T(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=N[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=O[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return nb(a)+a|0}return a}function Kd(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-16|0;while(1){b=N[e>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1751672161,N[b+16>>2])|0;if(b){break b}}b=275552}c=Up(d+4|0,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<36?275552:N[b+12>>2]}function Ji(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if(!(!d|(!b|!c))){g=N[a+16>>2];b:{if(g&g-32){e=N[a+12>>2];break b}N[147316]=0;f=N[a+12>>2];e=g<<1;e=e>>>0<=32?32:e;if(e>>>0>357913941){break a}e=T(e,12);e=$a(f,e>>>0<=1?1:e);if(!e){break a}N[147316]=0;N[a+12>>2]=e}f=T(g,12)+e|0;b=Hb(b);N[f>>2]=b;h=kb(d);N[f+4>>2]=h;if(!(!b|!h)){F(h,c,d);N[(T(g,12)+e|0)+8>>2]=d;N[a+16>>2]=N[a+16>>2]+1;return}_a(b);_a(N[f+4>>2])}return}N[147316]=48;N[a+12>>2]=f}function Cl(a,b,c){var d=0,e=0,f=0;d=275552;a:{b:{if(!a|!c){break b}e=N[a+16>>2];if(e>>>0<=b>>>0){break b}if(N[a+4>>2]){N[a+4>>2]=0}f=N[a+12>>2];d=N[a>>2];if(d){if((d|0)<=0){break a}N[a>>2]=d+1}d=e-b|0;c=c>>>0>d>>>0?d:c;if(!c){ab(a);return 275552}c:{if((c|0)>=0){d=db(1,32);if(d){break c}}ab(a);return 275552}N[d+28>>2]=191;N[d+24>>2]=a;N[d+20>>2]=1;N[d+16>>2]=c;N[d+12>>2]=b+f;N[d>>2]=1;N[d+4>>2]=1}return d}ba(23506,14099,260,16403);B()}function wh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=b&-4;if(c){while(1){e=(O[(d|3)+a|0]|(O[(d|1)+a|0]<<16|O[a+d|0]<<24|O[(d|2)+a|0]<<8))+e|0;d=d+4|0;if(c>>>0>d>>>0){continue}break}}if((b|0)!=(c|0)){d=0;a:{if(b>>>0<=c>>>0){break a}f=b&1;if((0-b|0)!=(c^-1)){h=(b&3)-f|0;b=0;while(1){g=c<<3&16;d=O[(c|1)+a|0]<<(g^16)|(O[a+c|0]<<(g^24)|d);c=c+2|0;b=b+2|0;if((h|0)!=(b|0)){continue}break}}if(!f){break a}d=O[a+c|0]<<((c^-1)<<3)|d}e=d+e|0}return e}function Wq(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+660>>2];c=N[b>>2];a=N[b+4>>2];if((c|0)<=(a|0)){a:{b:{if((a|0)!=(c|0)){d=N[b+16>>2];a=c;break b}a=-1;if(c>>>0>2147483626){break a}N[147316]=0;e=N[b+16>>2];c:{if(c>>>0<=29826141){c=c+20|0;a=T(c,144);d=$a(e,a>>>0<=1?1:a);if(d){break c}}N[147316]=48;N[b+16>>2]=e;return-1}N[147316]=0;N[b+4>>2]=c;N[b+16>>2]=d;a=N[b>>2]}N[b>>2]=a+1;C(T(a,144)+d|0,0,144)}return a|0}ba(11239,18016,104,15919);B()}function yn(a,b,c,d,e){var f=0,g=0,h=0;h=-1;g=d&2147483647;f=(g|0)==2147418112;a:{if(f&!c?a|b:f&(c|0)!=0|g>>>0>2147418112){break a}f=e&2147483647;if(((f|0)==2147418112&0|f>>>0>2147418112)&(f|0)!=2147418112){break a}if(!(a|c|(f|g|b))){return 0}f=d&e;if((f|0)>0|(f|0)>=0){if(((c|0)!=0|(d|0)!=(e|0))&(d|0)<(e|0)){break a}return(a|c|(d^e|b))!=0}if(!c&(d|0)==(e|0)?a|b:(c|0)!=0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}h=(a|c|(d^e|b))!=0}return h}function yh(a){a=a|0;var b=0,c=0;if(a){c=N[a+100>>2];dm(N[a+140>>2]);b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+32>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+32>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0}}function tq(a){if(N[a+20>>2]){N[a+20>>2]=0}_a(N[a+24>>2]);N[a+24>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;if(N[a+32>>2]){N[a+32>>2]=0}_a(N[a+36>>2]);N[a+36>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;if(N[a+44>>2]){N[a+44>>2]=0}_a(N[a+48>>2]);N[a+48>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;if(N[a+68>>2]){N[a+68>>2]=0}_a(N[a+72>>2]);N[a+72>>2]=0;a=a- -64|0;N[a>>2]=0;N[a+4>>2]=0}function iw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=150;c=N[a+12>>2];a:{if((c|0)==30452|(c|0)==30492){break a}c=N[N[N[a>>2]+96>>2]+4>>2];if(!c){return 0}e=0;d=N[c+16>>2];if((d|0)<=0){break a}c=c+20|0;d=c+(d<<2)|0;while(1){f=N[c>>2];g=N[f>>2];if(cb(N[g+8>>2],9195)){c=c+4|0;if(d>>>0>c>>>0){continue}break a}break}c=N[g+32>>2];if(!c){break a}c=Qa[c|0](f,10557)|0;if(!c){break a}c=N[c>>2];if(!c){break a}e=Qa[c|0](a,b)|0}return e|0}function Jc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=c;c=N[b+4>>2];a:{b:{if((c|0)==32){if(O[a|0]){break a}a=a+2|0;break b}f=32-c|0;g=N[b>>2]>>>c|0;e=g&255;h=(e<<2)+a|0;d=O[h|0];if(d>>>0<=8){if(d>>>0>f>>>0){break a}N[b+4>>2]=c+d;a=((e<<2)+a|0)+2|0;break b}if(f>>>0<9){break a}a=(P[((e<<2)+a|0)+2>>1]+((N[(d<<2)+169392>>2]&g)>>>8|0)<<2)+h|0;d=O[a|0];if(d>>>0>24-c>>>0){break a}N[b+4>>2]=(c+d|0)+8;a=a+2|0}N[i>>2]=P[a>>1];j=1}return j}function ix(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{e=N[a>>2];c=N[N[e+96>>2]+4>>2];b:{if(!c){break b}d=N[c+16>>2];if((d|0)<=0){break b}f=N[e+552>>2];c=c+20|0;d=c+(d<<2)|0;while(1){g=N[c>>2];if(cb(N[N[g>>2]+8>>2],11971)){c=c+4|0;if(d>>>0>c>>>0){continue}break b}break}if(!f){break b}c=N[f>>2];if(c){break a}}se(e,b);return 0}c=Qa[c|0](g)|0;se(N[a>>2],b);if(c){Qa[N[c+4>>2]](N[N[a+40>>2]>>2],N[a+16>>2],N[a+20>>2],0,0)}return 0}function hb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;i=UE(b,c,h,i);h=Pa;e=UE(d,e,f,g);i=e+i|0;d=Pa+h|0;h=e>>>0>i>>>0?d+1|0:d;j=g;e=0;k=c;d=0;c=UE(g,e,c,d);g=c+i|0;i=Pa+h|0;l=g;c=c>>>0>g>>>0?i+1|0:i;g=UE(f,0,b,0);h=Pa;i=0;d=UE(f,i,k,d);h=h+d|0;f=Pa+i|0;f=d>>>0>h>>>0?f+1|0:f;i=f+l|0;d=c;f=f>>>0>i>>>0?d+1|0:d;c=UE(b,m,j,e)+h|0;e=Pa;e=c>>>0>>0?e+1|0:e;h=e+i|0;i=f;N[a+8>>2]=h;N[a+12>>2]=e>>>0>h>>>0?i+1|0:i;N[a>>2]=g;N[a+4>>2]=c}function fr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=La-16|0;La=f;g=N[a+4>>2];i=(g>>1)+b|0;b=N[a>>2];b=g&1?N[N[i>>2]+b>>2]:b;a=N[c>>2];if(a>>>0<2147483632){a:{b:{if(a>>>0>=11){h=(a|15)+1|0;g=eb(h);N[f+12>>2]=h|-2147483648;N[f+4>>2]=g;N[f+8>>2]=a;h=a+g|0;break b}L[f+15|0]=a;g=f+4|0;h=a+g|0;if(!a){break a}}F(g,c+4|0,a)}L[h|0]=0;Qa[b|0](i,f+4|0,d,e);if(L[f+15|0]<0){_a(N[f+4>>2])}La=f+16|0;return}fa();B()}function ab(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}b=N[a+28>>2];if(b){Qa[b|0](N[a+24>>2])}_a(a)}return}ba(23506,14099,270,7918);B()}function Er(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=La-32|0;La=f;N[f+28>>2]=b;N[f+24>>2]=c;b=N[d>>2];if(b>>>0<2147483632){a:{b:{if(b>>>0>=11){g=(b|15)+1|0;c=eb(g);N[f+20>>2]=g|-2147483648;N[f+12>>2]=c;N[f+16>>2]=b;g=b+c|0;break b}L[f+23|0]=b;c=f+12|0;g=b+c|0;if(!b){break a}}F(c,d+4|0,b)}L[g|0]=0;L[f+11|0]=e;a=Qa[a|0](f+28|0,f+24|0,f+12|0,f+11|0)|0;if(L[f+23|0]<0){_a(N[f+12>>2])}La=f+32|0;return a|0}fa();B()}function jD(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=U(f);g=U(g);h=U(h);i=U(i);j=j|0;var k=U(0),l=U(0),m=U(0),n=U(0),o=0;k=R[b+8>>2];l=R[b+16>>2];m=R[b+12>>2];n=R[c+16>>2];R[c+16>>2]=m*n;R[c+12>>2]=U(k*R[c+12>>2])+U(l*n);a=N[b>>2];j=N[a+24>>2];o=N[b+4>>2];d=U(U(k*d)+U(l*e));e=U(m*e);f=U(U(k*f)+U(l*g));g=U(m*g);h=U(U(k*h)+U(l*i));i=U(m*i);b=N[a+32>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[j|0](a,o,c,d,e,f,g,h,i,b)}function ju(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[b+8>>2];f=N[a>>2];d=N[f+140>>2];g=N[f+32>>2];e=N[b+16>>2];if(e){c=(T(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((e|0)==N[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(N[d+44>>2]+N[d+40>>2]|0)){break a}}c=0;Yc(f,0);N[a+24>>2]=N[d+40>>2]<<6;N[a+28>>2]=0-(N[d+44>>2]<<6);N[a+36>>2]=P[d+4>>1]<<6}return c|0}function ew(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=N[a+712>>2];a:{if(!(O[a+8|0]&8)|!N[a+540>>2]){break a}b=N[N[a+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){d=N[b>>2];e=N[d>>2];if(cb(N[e+8>>2],9195)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=N[e+32>>2];if(!b){break a}b=Qa[b|0](d,15866)|0;if(!b){break a}b=N[b>>2];if(!b){break a}return Qa[b|0](a)|0}return N[f+1348>>2]}function wv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=N[a+16>>2];if(!g){N[b>>2]=0;return 0}h=N[a+20>>2];d=N[b>>2];a:while(1){d=d+1|0;a=0;c=g;while(1){e=(c-a>>>1|0)+a|0;f=N[(e<<4)+h>>2];if((f|0)==(d|0)){if(!e){continue a}N[b>>2]=d;return e+1|0}f=d>>>0>f>>>0;c=f?c:e;a=f?e+1|0:a;if(c>>>0>a>>>0){continue}break}break}c=0;if(a>>>0>=g>>>0){N[b>>2]=0;return 0}if(a){c=a+1|0;a=N[(a<<4)+h>>2]}else{a=0}N[b>>2]=a;return c|0}function pd(a,b){var c=0,d=0;d=a;a:{b:{if((d^b)&3){c=O[b|0];break b}if(b&3){while(1){c=O[b|0];L[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=N[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){N[d>>2]=c;c=N[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}L[d|0]=c;if(!(c&255)){break a}while(1){c=O[b+1|0];L[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a}function ZA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;Tb(a,N[a+8>>2]);g=N[a>>2];N[f+12>>2]=g;h=N[a+8>>2];a:{if(h>>>0<=g>>>0){break a}b:{if(e){i=3;if(O[g|0]!=60){break a}N[f+12>>2]=g+1;j=d,k=_o(f+12|0,h,b,c),N[j>>2]=k;b=N[f+12>>2];N[a>>2]=b;if(O[b|0]!=62&b>>>0>2]){break a}b=b+1|0;break b}j=d,k=_o(f+12|0,h,b,c),N[j>>2]=k;b=N[f+12>>2]}N[a>>2]=b;i=0}La=f+16|0;return i|0}function Nd(a,b){var c=0,d=0,e=0,f=0,g=0;c=La-16|0;La=c;a:{if(!a|!b|(!N[a+72>>2]|!O[b|0])){break a}d=N[a+92>>2];N[c+8>>2]=b;f=N[d+20>>2];b=f+((Qa[N[d+12>>2]](c+8|0)>>>0)%Q[d+4>>2]<<2)|0;e=N[b>>2];b:{if(!e){break b}while(1){if(Qa[N[d+16>>2]](e,c+8|0)|0){break b}b=b-4|0;if(f>>>0>b>>>0){b=((N[d+4>>2]<<2)+f|0)-4|0}e=N[b>>2];if(e){continue}break}}b=N[b>>2];if(!b){break a}g=N[a+80>>2]+(N[b+4>>2]<<4)|0}La=c+16|0;return g}function yB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=N[a+24>>2];N[a+48>>2]=b;d=N[a+28>>2];N[a+52>>2]=d;e=N[a+8>>2];f=e+N[a>>2]|0;N[a+8>>2]=f>>1;c=b;b=N[a+16>>2];c=c+b|0;N[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;N[a+16>>2]=e>>2;b=b+c|0;N[a+32>>2]=b>>2;c=d;d=N[a+20>>2];f=c+d|0;N[a+44>>2]=f>>1;c=N[a+12>>2];g=c+N[a+4>>2]|0;N[a+12>>2]=g>>1;N[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;N[a+36>>2]=d>>2;b=b+g|0;N[a+20>>2]=b>>2;N[a+28>>2]=b+d>>3}function Gm(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;d=N[a+36>>2];a:{if(!d){break a}d=N[d+28>>2];if(Xf(a+36|0,b,c+12|0,c+8|0)){break a}b=N[c+8>>2];f=b+1|0;b:{c:{if(b>>>0<=2147483646){e=Qa[N[d+4>>2]](d,f)|0;if(e){break c}e=0;break b}if(f){break b}}F(e,N[c+12>>2],b);L[b+e|0]=0}if(N[a+68>>2]){break a}a=N[a+36>>2];if(!a|!N[a+20>>2]){break a}b=N[c+12>>2];if(!b){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,b)}La=c+16|0;return e}function RC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=U(0),f=U(0),g=0;d=La-16|0;La=d;a:{if(O[b+6|0]){a=N[b+12>>2];if(a){g=N[a+128>>2];e=U(N[g+12>>2]);f=U(N[g+8>>2])}else{f=U(0)}e=U(U(aa(U(U(f*f)+U(e*e))))*U(152587890625e-16));break a}e=U(N[a+32>>2]>>31|1);a=N[b+12>>2]}if(In(a,c,N[b>>2]|16,d+12|0)){a=0}else{e=U(e*U(N[d+12>>2]));b:{if(U(V(e))>10}La=d+16|0;return a|0}function Ip(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+5|0]){break a}e=N[a+12>>2];if(!e){break a}c=N[e+96>>2];if(!c){break a}d=N[e+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}f=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(e|0)){b=N[b+4>>2];if(b){continue}break a}break}g=N[b>>2];h=g?g+4|0:f;f=N[b+4>>2];N[h>>2]=f;N[(f?f:c+20|0)>>2]=g;Qa[N[d+8>>2]](d,b);ic(d,e,c)}_a(a)}function Cx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+733|0]){break a}d=N[a+736>>2];if(!d){break a}if(!O[d+32|0]){e=Tm(a,0);d=N[a+736>>2];N[d+36>>2]=e}if(!O[d+33|0]){return N[d+36>>2]}d=N[d+40>>2];e=N[d+28>>2];b:{if(e){f=e;e=N[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=N[f+e>>2];f=N[e+N[d+24>>2]>>2];break b}e=6;if(Q[N[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=N[c>>2]+Oh(a,d,f,b)|0,N[g>>2]=h;e=0}return e|0}function Bx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+733|0]){break a}d=N[a+736>>2];if(!d){break a}if(!O[d+44|0]){e=Tm(a,1);d=N[a+736>>2];N[d+48>>2]=e}if(!O[d+45|0]){return N[d+48>>2]}d=N[d+52>>2];e=N[d+28>>2];b:{if(e){f=e;e=N[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=N[f+e>>2];f=N[e+N[d+24>>2]>>2];break b}e=6;if(Q[N[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=N[c>>2]+Oh(a,d,f,b)|0,N[g>>2]=h;e=0}return e|0}function gB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{d=N[a>>2];if(!d){break a}e=N[a+32>>2];b=N[a+4>>2];b:{if((b|0)>0){b=Qa[N[e+4>>2]](e,b)|0;if(b){N[a>>2]=b;c=N[a+4>>2];break b}N[a>>2]=0;return}N[a>>2]=0;if(b){break a}b=0}F(b,d,c);c=N[a+16>>2];if((c|0)>0){g=N[a>>2]-d|0;b=N[a+24>>2];c=b+(c<<2)|0;while(1){f=N[b>>2];if(f){N[b>>2]=g+f}b=b+4|0;if(c>>>0>b>>>0){continue}break}}N[a+8>>2]=N[a+4>>2];Qa[N[e+8>>2]](e,d)}}function Jv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;se(N[a>>2],b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[c+320>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](e)|0;if(!b){break a}Qa[N[b+4>>2]](N[N[a+40>>2]>>2],N[a+16>>2],N[a+20>>2],0,0)}return 0}function El(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;j=10;k=N[c>>2];h=k+e|0;a:{if(h>>>0>31457280){break a}g=N[a>>2];i=N[b>>2];if(i>>>0>>0){if((h|i)<0){return 6}b:{if(!i){g=Qa[N[f+4>>2]](f,h)|0;j=!g<<6;break b}f=Qa[N[f+12>>2]](f,i,h,g)|0;g=f?f:g;j=!f<<6}c:{if(!(j|(h|0)<=(i|0)|!g)){C(g+i|0,0,h-i|0);break c}if(j){break a}}N[b>>2]=N[c>>2]+e;b=N[c>>2]}else{b=k}F(b+g|0,d,e);N[c>>2]=N[c>>2]+e;N[a>>2]=g;j=0}return j}function mx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;N[d>>2]=0;N[d+4>>2]=0;e=N[a+496>>2];if(e){a=N[e+36>>2];e=(a+(N[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0>e>>>0){break a}c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=N[b>>2]<<16|N[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;N[d>>2]=N[a+8>>2];h=N[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}N[d+4>>2]=h}return 0}function Nu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[b+8>>2];f=N[a>>2];g=N[f+32>>2];e=N[f+132>>2];d=N[b+16>>2];if(d){c=(T(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((d|0)==N[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=P[e+96>>1]){break a}}c=0;Yc(f,0);b=P[e+80>>1];N[a+24>>2]=b<<6;N[a+28>>2]=b-P[e+96>>1]<<6;N[a+36>>2]=P[e+102>>1]<<6}return c|0}function xu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[b+8>>2];d=N[a>>2];f=N[d+32>>2];e=N[b+16>>2];if(e){c=(T(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((e|0)==N[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(N[d+208>>2]+N[d+204>>2]|0)){break a}}c=0;Yc(d,0);N[a+24>>2]=N[d+204>>2]<<6;N[a+28>>2]=0-(N[d+208>>2]<<6);N[a+36>>2]=M[d+236>>1]<<6}return c|0}function cu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=N[a+20>>2];h=N[a+16>>2];a:{b:{if(h){e=N[b>>2]+1|0;a=h>>>1|0;g=h;while(1){d=c+g>>>1|0;d=a>>>0>=g>>>0?d:a>>>0>>0?d:a;f=N[(d<<3)+i>>2];if((f|0)==(e|0)){c=d;break b}a=(e+d|0)-f|0;f=e>>>0>>0;c=f?c:d+1|0;g=f?d:g;if(c>>>0>>0){continue}break}}e=0;if(c>>>0>=h>>>0){break a}e=N[(c<<3)+i>>2]}j=P[((c<<3)+i|0)+4>>1]+1&65535}N[b>>2]=e;return j|0}function Bq(){var a=0,b=0,c=0;a=La-16|0;La=a;a:{if(Fa(a+12|0,a+8|0)|0){break a}b=kb((N[a+12>>2]<<2)+4|0);N[147572]=b;if(!b){break a}b=kb(N[a+8>>2]);if(b){c=N[147572];N[c+(N[a+12>>2]<<2)>>2]=0;if(!(Ea(c|0,b|0)|0)){break a}}N[147572]=0}La=a+16|0;N[147444]=1;N[147445]=0;wm();N[147445]=N[147569];N[147569]=589776;N[147570]=376;N[147571]=0;jo();N[147571]=N[147569];N[147569]=590280;N[147582]=42;N[147600]=591512}function ur(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-16|0;La=d;e=N[a+4>>2];g=(e>>1)+b|0;b=N[a>>2];b=e&1?N[N[g>>2]+b>>2]:b;a=N[c>>2];if(a>>>0<2147483632){a:{b:{if(a>>>0>=11){f=(a|15)+1|0;e=eb(f);N[d+12>>2]=f|-2147483648;N[d+4>>2]=e;N[d+8>>2]=a;f=a+e|0;break b}L[d+15|0]=a;e=d+4|0;f=a+e|0;if(!a){break a}}F(e,c+4|0,a)}L[f|0]=0;Qa[b|0](g,d+4|0);if(L[d+15|0]<0){_a(N[d+4>>2])}La=d+16|0;return}fa();B()}function ct(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=N[a+872>>2];a:{if(!d){break a}f=N[d+36>>2];if(!f){break a}e=N[c+4>>2];a=N[c>>2];if(e>>>0>=a>>>0){break a}g=T(a-e|0,6);a=N[c+8>>2];if(g+a>>>0>N[d+40>>2]+f>>>0){break a}d=O[a|0]|O[a+1|0]<<8;M[b>>1]=d<<8|d>>>8;d=O[a+2|0]|O[a+3|0]<<8;M[b+2>>1]=d<<8|d>>>8;d=b;b=O[a+4|0]|O[a+5|0]<<8;M[d+4>>1]=b<<8|b>>>8;h=1;N[c+4>>2]=e+1;N[c+8>>2]=a+6}return h|0}function sj(a,b,c){var d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}d=N[a+4>>2];if(d>>>0>>0){break b}if(d-b>>>0>c>>>0){break a}e=b+c|0;c=e-d|0;if(!((c|0)>=0&(c|0)<=(N[a+8>>2]-d|0))){N[a+24>>2]=4;break e}if((d|0)!=(e|0)){C(d,0,c);d=N[a+4>>2]}N[a+4>>2]=c+d;if(d){break d}}b=0}return b}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}function pi(a){var b=0,c=0,d=0;b=La-16|0;La=b;A(+a);d=v(1)|0;v(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=bf(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(Mn(a,b)&3){case 0:c=bf(S[b>>3],S[b+8>>3]);break a;case 1:c=-cf(S[b>>3],S[b+8>>3],1);break a;case 2:c=-bf(S[b>>3],S[b+8>>3]);break a;default:break b}}c=cf(S[b>>3],S[b+8>>3],1)}a=c;La=b+16|0;return a}function tj(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}c=N[a+4>>2];if(c>>>0>>0){break b}if(c-b>>>0>=5){break a}e=b+4|0;d=e-c|0;if(!((d|0)>=0&(N[a+8>>2]-c|0)>=(d|0))){N[a+24>>2]=4;break e}if((c|0)!=(e|0)){C(c,0,d);c=N[a+4>>2]}N[a+4>>2]=c+d;if(c){break d}}b=0}return b}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}function ee(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}c=N[a+4>>2];if(c>>>0>>0){break b}if(c-b>>>0>=3){break a}e=b+2|0;d=e-c|0;if(!((d|0)>=0&(N[a+8>>2]-c|0)>=(d|0))){N[a+24>>2]=4;break e}if((c|0)!=(e|0)){C(c,0,d);c=N[a+4>>2]}N[a+4>>2]=c+d;if(c){break d}}b=0}return b}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}function AB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=N[a+4>>2];e=0-f|0;a:{if((e&(c+f|0)-1)!=(c|0)){break a}c=c>>N[a>>2];if((c|0)<0|c>>>0>=Q[a+96>>2]){break a}c=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[c|0]=O[c|0]|128>>>(b&7);e=0-N[a+4>>2]|0}b:{if((d&e)!=(d|0)){break b}c=d>>N[a>>2];if((c|0)<0|c>>>0>=Q[a+96>>2]){break b}a=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[a|0]=O[a|0]|128>>>(b&7)}}function tb(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}e=N[a-8>>2];if(!e){break a}b=a-4|0;c=N[b>>2];if(!c){break a}d=b;b=c-1|0;N[d>>2]=b;if(b){break b}d=a-32|0;b=N[d>>2];if(b){c=N[a-24>>2];if(c){N[c+12>>2]=N[a-20>>2]}N[N[a-20>>2]>>2]=c;N[b+32>>2]=N[b+32>>2]-1;N[b+20>>2]=N[b+20>>2]+(((e|0)!=1?-32:0)-e|0)}b=N[a-28>>2];Qa[N[b+16>>2]]((N[b+24>>2]+7&-8)+a|0,a);_a(d)}return}ba(8916,18290,444,15247);B()}function rx(a){a=a|0;var b=0,c=0,d=0,e=0;if(N[N[a+40>>2]>>2]){c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[c+552>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](e)|0;if(!b){break a}Qa[N[b+8>>2]](N[N[a+40>>2]>>2])}N[N[a+40>>2]>>2]=0}}function Mv(a){a=a|0;var b=0,c=0,d=0,e=0;if(N[N[a+40>>2]>>2]){c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[c+320>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](e)|0;if(!b){break a}Qa[N[b+8>>2]](N[N[a+40>>2]>>2])}N[N[a+40>>2]>>2]=0}}function Se(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;e=a+12|0;a:{if(!O[a+48|0]){a=ud(e,b);break a}d=N[b>>2];if((d|0)==-2){N[b>>2]=-1;a=0;break a}N[c+8>>2]=d;ud(e,c+8|0);a=1;f=d+1|0;if(f>>>0>=Q[c+8>>2]){N[c+12>>2]=d;a=-1;b:{if(!ud(e,c+12|0)){break b}d=N[c+12>>2];while(1){a=d;if(!ud(e,c+12|0)){break b}d=N[c+12>>2];if((d|0)==(a+1|0)){continue}break}}f=a+1|0;a=(f|0)!=-1}N[b>>2]=f}La=c+16|0;return a}function Nb(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+3>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+12|0,4)|0)!=4){break d}c=N[a+8>>2];b=d+12|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+4}La=d+16|0;return f}function qz(a,b){a=a|0;b=b|0;var c=0;if(!a){if(N[b+24>>2]){a=0;while(1){c=T(a,24);tb(N[c+N[b+28>>2]>>2]);tb(N[(N[b+28>>2]+c|0)+4>>2]);a=a+1|0;if(a>>>0>2]){continue}break}}_a(N[b+28>>2]);return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;return 1}function Rw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a=N[a+496>>2];if(!a){return 6}h=N[a+32>>2];if(h){j=N[a+28>>2];a=0;while(1){e=T(a,20)+j|0;if(N[e>>2]==(c|0)){g=N[e+4>>2];f=N[e+8>>2];a:{if((g|0)>(b|0)){break a}i=N[e+12>>2];f=N[e+16>>2];if((i|0)<(b|0)){break a}f=N[e+16>>2];e=N[e+8>>2];f=jb(b-g|0,f-e|0,i-g|0)+e|0}N[d>>2]=f}a=a+1|0;if(h>>>0>a>>>0){continue}break}}return 0}function oi(a){var b=0,c=0;b=La-16|0;La=b;A(+a);c=v(1)|0;v(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=cf(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(Mn(a,b)&3){case 0:a=cf(S[b>>3],S[b+8>>3],1);break a;case 1:a=bf(S[b>>3],S[b+8>>3]);break a;case 2:a=-cf(S[b>>3],S[b+8>>3],1);break a;default:break b}}a=-bf(S[b>>3],S[b+8>>3])}La=b+16|0;return a}function Ol(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=N[a+868>>2];a:{if(!d|P[a+648>>1]<=b>>>0){break a}e=8;b=N[d+8>>2]+(b<<1)|0;b=O[b|0]<<8|O[b+1|0];c=P[a+660>>1];if(P[d+2>>1]>>0){break a}e=0;if(!c){break a}a=N[a+672>>2];c=a+(c<<2)|0;b=N[d+4>>2]+(b<<2)|0;while(1){L[a|0]=O[b|0];L[a+1|0]=O[b+1|0];L[a+2|0]=O[b+2|0];L[a+3|0]=O[b+3|0];b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}return e|0}function Mz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=N[a+4>>2];a:{if(!e){break a}c=N[e+96>>2];if(!c){break a}d=N[e+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}f=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(e|0)){b=N[b+4>>2];if(b){continue}break a}break}g=N[b>>2];h=g?g+4|0:f;f=N[b+4>>2];N[h>>2]=f;N[(f?f:c+20|0)>>2]=g;Qa[N[d+8>>2]](d,b);ic(d,e,c)}_a(a)}function _E(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;e=f&31;if(f>>>0>=32){f=-1>>>e|0}else{d=-1>>>e|0;f=d|(1<>>0>=32){d=f<>>32-e|d<>>0>=32){d=-1<>>32-d}a=c&a;b=b&d;d=e&31;if(e>>>0>=32){c=0;a=b>>>d|0}else{c=b>>>d|0;a=((1<>>d}a=a|g;Pa=c|f;return a}function Zd(a,b,c,d){var e=0,f=0;e=La-128|0;La=e;N[e+12>>2]=d;a:{b:{if(N[a+156>>2]){d=N[e+12>>2];if(N[a+84>>2]!=N[a+80>>2]|N[a+72>>2]!=N[a+64>>2]?O[a+62|0]:0){break a}N[a+168>>2]=N[a+168>>2]+1;f=e+16|0;rh(f,100,c,d);Qa[N[a+156>>2]](a,b,f,N[a+160>>2])|0;N[a+168>>2]=N[a+168>>2]-1;break b}vd(24963,9,1,588952);zi(588952,c,N[e+12>>2]);Ul(588952)}La=e+128|0;return}ba(22546,17855,2177,13189);B()}function Lt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=142;f=P[a+152>>1];a:{if(!f){break a}a=N[a+156>>2];f=a+(f<<4)|0;while(1){b:{if(N[a>>2]==(b|0)){g=N[a+12>>2];if(g){break b}}a=a+16|0;if(f>>>0>a>>>0){continue}break a}break}if(d){N[d>>2]=g}a=N[a+8>>2];b=N[c+20>>2];c:{if(b){e=85;if(!(Qa[b|0](c,a,0,0)|0)){break c}break a}e=85;if(a>>>0>Q[c+4>>2]){break a}}N[c+8>>2]=a;e=0}return e|0}function ED(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;e=La-16|0;La=e;N[e+12>>2]=c;b=N[a+96>>2];f=N[b+32>>2];a:{if((f|0)!=N[147120]){c=N[a+100>>2];g=e+12|0;b=N[b+12>>2];if(b){b=N[b+12>>2]}else{b=0}a=Qa[f|0](a,c,1,g,0,d,0,b)|0;break a}a=N[a+20>>2];N[d>>2]=0;b=N[a+96>>2];f=N[b+28>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+8>>2]}else{b=0}a=Qa[f|0](a,g,c,d,b)|0}La=e+16|0;return a|0}function Ct(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qa[N[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=rb(b,178752,d);if(c){break a}N[a+468>>2]=0;N[a+460>>2]=0;N[a+464>>2]=0;N[a+452>>2]=0;N[a+456>>2]=0;M[a+472>>1]=65535;if(!P[a+372>>1]){return 0}c=rb(b,178928,d);if(c){break a}if(P[d>>1]<2){return 0}c=rb(b,178944,d);if(c){break a}c=0;if(P[d>>1]<5){break a}c=rb(b,178976,d)}return c|0}function uh(a,b,c){var d=0,e=0,f=0;d=N[c+16>>2];a:{if(!d){if(Hh(c)){break a}d=N[c+16>>2]}f=N[c+20>>2];if(d-f>>>0>>0){return Qa[N[c+36>>2]](c,a,b)|0}b:{if(N[c+80>>2]<0){d=0;break b}e=b;while(1){d=e;if(!d){d=0;break b}e=d-1|0;if(O[e+a|0]!=10){continue}break}e=Qa[N[c+36>>2]](c,a,d)|0;if(e>>>0>>0){break a}a=a+d|0;b=b-d|0;f=N[c+20>>2]}Pc(f,a,b);N[c+20>>2]=N[c+20>>2]+b;e=b+d|0}return e}function cB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[a+8>>2]=c;N[a+4>>2]=b;N[a+12>>2]=0;N[a+16>>2]=d;N[a>>2]=b;b=N[73526];N[a+20>>2]=N[73525];N[a+24>>2]=b;b=N[73528];N[a+28>>2]=N[73527];N[a+32>>2]=b;b=N[73530];N[a+36>>2]=N[73529];N[a+40>>2]=b;b=N[73532];N[a+44>>2]=N[73531];N[a+48>>2]=b;b=N[73534];N[a+52>>2]=N[73533];N[a+56>>2]=b;b=N[73536];N[a+60>>2]=N[73535];N[a+64>>2]=b;N[a+68>>2]=N[73537]}function En(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!(!a|!b)){d=M[a+2>>1];a:{if(!d){d=0;a=0;break a}c=N[a+4>>2];e=N[c+4>>2];f=N[c>>2];if((d|0)<2){d=e;a=f;break a}i=(d<<3)+c|0;h=c+8|0;a=f;d=e;while(1){g=N[c+12>>2];d=(d|0)<(g|0)?g:d;e=(e|0)>(g|0)?g:e;c=N[c+8>>2];a=(a|0)<(c|0)?c:a;f=(c|0)<(f|0)?c:f;c=h;h=c+8|0;if(i>>>0>h>>>0){continue}break}}N[b+8>>2]=a;N[b>>2]=f;N[b+12>>2]=d;N[b+4>>2]=e}}function jA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{d=a?a+b|0:0;if(d>>>0<=a>>>0){break a}d=d-a|0;d=b>>>0>d>>>0?d:b;if(!d){break a}b=0;if((d|0)!=1){g=d&1;h=d&-2;while(1){e=a+b|0;d=O[e|0];L[e|0]=d^c>>>8;f=(b|1)+a|0;e=O[f|0];c=T(c+d|0,52845)+22719|0;L[f|0]=e^c>>>8;c=T(c+e|0,52845)+22719&65535;b=b+2|0;if((h|0)!=(b|0)){continue}break}if(!g){break a}}a=a+b|0;L[a|0]=O[a|0]^c>>>8}}function Dy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;b=nb(c);g=b+6|0;a:{b:{if((b|0)>=-5){a=N[a>>2];a=Qa[N[a+4>>2]](a,g)|0;if(a){break b}return 64}if(g){break a}a=0}F(a,c,b);f=0;b=a+b|0;c=O[17697]|O[17698]<<8;L[b+4|0]=c;L[b+5|0]=c>>>8;c=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[b|0]=c;L[b+1|0]=c>>>8;L[b+2|0]=c>>>16;L[b+3|0]=c>>>24;N[d>>2]=a;N[e>>2]=0}return f|0}function Ce(a,b,c){if(O[a+11660|0]){L[a+11661|0]=1;Xd(a,N[a+11732>>2],N[a+11736>>2]);if(O[a+11740|0]){lf(a,a+8|0,a+11700|0,N[a+11708>>2],N[a+11712>>2],1)}L[a+11740|0]=0;M[a+11660>>1]=0}N[a+11716>>2]=b;N[a+11732>>2]=b;L[a+11663|0]=1;N[a+11736>>2]=c;N[a+11720>>2]=c;b=a+8|0;c=N[a+11672>>2];if(!(O[c+5|0]?0:O[a+20|0])){kf(b,N[a+11664>>2],N[a+11668>>2],c,N[a+11676>>2],0)}F(a+3876|0,b,3868)}function is(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=N[b>>2]+1|0;if(c>>>0<=65535){h=b;d=N[a+16>>2];a=O[d+6|0]<<8|O[d+7|0];c=a>>>0>>0?c:a;b=c-a|0;g=O[d+9|0]|O[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=O[a+1|0]|O[a|0]<<8;e=c;if(f){break a}if(c>>>0>65534){return 0}a=a+2|0;c=c+1|0;b=b+1|0;if(g>>>0>b>>>0){continue}break}f=0;e=0}N[h>>2]=e}return f|0}function Rx(a){a=a|0;var b=0,c=0,d=0;b=N[a+196>>2];d=b+10|0;if(d>>>0<=Q[a+200>>2]){c=O[b|0]|O[b+1|0]<<8;M[a+32>>1]=c<<8|c>>>8;c=O[b+2|0]|O[b+3|0]<<8;N[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=O[b+4|0]|O[b+5|0]<<8;N[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=O[b+6|0]|O[b+7|0]<<8;N[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=O[b+8|0]|O[b+9|0]<<8;N[a+196>>2]=d;N[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function lb(a,b,c,d,e,f){var g=0;if((b|c|d)<0){N[f>>2]=6;return e}a:{if(!(d?b:0)){if(!e){break a}Qa[N[a+8>>2]](a,e);break a}g=10;b:{if((2147483647/(b>>>0)|0)<(d|0)){break b}c:{if(!c){e=Qa[N[a+4>>2]](a,T(b,d))|0;g=!e<<6;break c}a=Qa[N[a+12>>2]](a,T(b,c),T(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|(c|0)>=(d|0)|!e){break b}g=0;C(T(b,c)+e|0,0,T(d-c|0,b))}N[f>>2]=g;return e}N[f>>2]=0;return 0}function Ww(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=La-16|0;La=e;b=b>>>0>=4?4:b;a:{if(!b){b=0;break a}d=N[c>>2];N[e>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==1){break a}d=N[c+4>>2];N[e+4>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==2){break a}d=N[c+8>>2];N[e+8>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==3){break a}c=N[c+12>>2];N[e+12>>2]=((c>>31)+c|0)+32768>>16}a=Om(a,b,e);La=e+16|0;return a|0}function Ul(a){var b=0,c=0;a:{b=N[a+76>>2];if(!((b|0)>=0&(!b|N[147582]!=(b&-1073741825)))){b:{if(N[a+80>>2]==10){break b}b=N[a+20>>2];if((b|0)==N[a+16>>2]){break b}N[a+20>>2]=b+1;L[b|0]=10;break a}Dh(a);break a}b=a+76|0;c=N[b>>2];N[b>>2]=c?c:1073741823;c:{d:{if(N[a+80>>2]==10){break d}c=N[a+20>>2];if((c|0)==N[a+16>>2]){break d}N[a+20>>2]=c+1;L[c|0]=10;break c}Dh(a)}N[b>>2]=0}}function bm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;N[b>>2]=0;a:{if(!a){break a}d=N[a+8>>2];if(!d){break a}e=N[N[a>>2]>>2];while(1){g=N[N[a>>2]+(f<<2)>>2];h=O[g|0];if(h){while(1){L[c+e|0]=h;c=c+1|0;h=O[g+1|0];g=g+1|0;if(h){continue}break}d=N[a+8>>2]}f=f+1|0;if(f>>>0>>0){L[c+e|0]=32;d=N[a+8>>2];c=c+1|0}if(d>>>0>f>>>0){continue}break}if((e|0)!=441572){L[c+e|0]=0}N[b>>2]=c}return e}function sm(a,b,c,d){var e=0;e=N[d>>2];if(e){Qa[N[c+8>>2]](c,e);N[d>>2]=0}a:{if(!b){break a}e=b-1|0;if(!O[e+a|0]){b=e;if(!b){break a}}e=0;b:{while(1){if(L[a+e|0]>=32){e=e+1|0;if((e|0)!=(b|0)){continue}break b}break}N[d>>2]=0;return 0}if((b|0)<0){N[d>>2]=0;return 6}c=Qa[N[c+4>>2]](c,b+1|0)|0;if(!c){N[d>>2]=0;return 64}F(c,a,b);L[b+c|0]=0;N[d>>2]=c;return 0}N[d>>2]=0;return 0}function Yz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;a=ze(N[b+92>>2],c);N[d>>2]=a;a:{if(!a){break a}b:{f=N[b+92>>2];if(f){a=Qa[N[N[f+12>>2]+12>>2]](f,a)|0;if(a>>>0>2]){break b}}N[d>>2]=0;return 0}N[d>>2]=a;if(!a){break a}N[e+28>>2]=a;d=0;a=sc(N[e>>2],e+8|0,c>>>0>752?N[e+32>>2]?e:0:0);c:{if(!a){break c}if(N[a>>2]>=0){d=a;break c}tb(a)}tb(d);g=1}return g|0}function GA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qa[N[b+4>>2]](b,16)|0;if(!e){return 64}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;N[e+4>>2]=c;N[e>>2]=c;N[e+12>>2]=2;N[e+8>>2]=d;N[a+8>>2]=0;N[a+12>>2]=0;N[a+4>>2]=e;N[a>>2]=b;return 0}function lE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{switch(b-6078|0){case 0:N[c>>2]=6081;N[d>>2]=6078;return 1;case 1:N[c>>2]=6081;N[d>>2]=6079;return 1;case 2:N[c>>2]=6081;N[d>>2]=6080;return 1;case 6:N[c>>2]=6081;N[d>>2]=6084;return 1;case 7:N[c>>2]=6081;N[d>>2]=6085;return 1;default:break a}}a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;return(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0|0}function kD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=U(f);g=U(g);h=h|0;var i=U(0),j=U(0),k=U(0),l=U(0),m=0;i=R[b+8>>2];j=R[b+16>>2];k=R[b+12>>2];l=R[c+16>>2];R[c+16>>2]=k*l;R[c+12>>2]=U(i*R[c+12>>2])+U(j*l);a=N[b>>2];h=N[a+20>>2];m=N[b+4>>2];d=U(U(i*d)+U(j*e));e=U(k*e);f=U(U(i*f)+U(j*g));g=U(k*g);b=N[a+32>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[h|0](a,m,c,d,e,f,g,b)}function Co(a){var b=0;b=N[a+8>>2];if(b){if(N[a+16>>2]>0){b=0;while(1){_a(N[N[a+8>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+8>>2]}_a(b)}b=N[a+4>>2];if(b){if(N[a+12>>2]>0){b=0;while(1){_a(N[N[a+4>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+4>>2]}_a(b)}b=N[a+32>>2];if(b){_a(b)}b=N[a+40>>2];if(b){_a(b)}a=N[a+44>>2];if(a){_a(a)}}function ny(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=M[a+298>>1];e=T(d,b>>16);b=T(d,b&65535);d=e<<16;f=b+d|0;a=M[a+300>>1];g=T(a,c&65535);c=T(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function my(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=M[a+294>>1];e=T(d,b>>16);b=T(d,b&65535);d=e<<16;f=b+d|0;a=M[a+296>>1];g=T(a,c&65535);c=T(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function _z(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[(N[a>>2]+(N[a+16>>2]<<2)|0)+68>>2];if(vc(d,N[a+20>>2],2560)){N[b>>2]=-1;return 1}a=N[d+84>>2];d=N[a+28>>2];N[b>>2]=N[a+24>>2];N[b+4>>2]=d;d=N[a+52>>2];N[b+24>>2]=N[a+48>>2];N[b+28>>2]=d;d=N[a+44>>2];N[b+16>>2]=N[a+40>>2];N[b+20>>2]=d;d=N[a+36>>2];N[b+8>>2]=N[a+32>>2];N[b+12>>2]=d;if(c){N[b+16>>2]=N[b+28>>2]}return 1}function zn(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=N[a+96>>2];if(!c){break a}d=N[a+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}e=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(a|0)){b=N[b+4>>2];if(b){continue}break a}break}f=N[b>>2];g=f?f+4|0:e;e=N[b+4>>2];N[g>>2]=e;N[(e?e:c+20|0)>>2]=f;Qa[N[d+8>>2]](d,b);ic(d,a,c)}}function pu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=6;f=N[a+280>>2];a:{if((f|0)<=0){break a}d=N[a+284>>2];a=0;while(1){b:{g=a;h=cb(N[T(a,12)+d>>2],b);a=a+1|0;if((f|0)<=(a|0)){break b}if(h){continue}}break}if(h){break a}c:{if(O[(T(g,12)+d|0)+4|0]){N[c>>2]=1;N[c+4>>2]=N[(T(g,12)+d|0)+8>>2];break c}N[c>>2]=2;N[c+4>>2]=N[(T(a,12)+d|0)-4>>2]}e=0}return e|0}function li(a,b){var c=0,d=0,e=0;a:{if((b|0)!=1){break a}c=N[a+8>>2];if(!c){break a}c=c-N[a+4>>2]|0;d=0-c|0;e=0-((c>>31)+((c|0)!=0)|0)|0}b:{if(N[a+20>>2]!=N[a+28>>2]){Qa[N[a+36>>2]](a,0,0)|0;if(!N[a+20>>2]){break b}}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;Qa[N[a+40>>2]](a,d,e,b)|0;if((Pa|0)<0){break b}N[a+4>>2]=0;N[a+8>>2]=0;N[a>>2]=N[a>>2]&-17;return 0}return-1}function WC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;a=0;a:{if(!c){break a}while(1){b:{h=N[b+12>>2];c:{if(!h){break c}i=N[h+92>>2];if(!i){break c}i=Qa[N[N[i+12>>2]+12>>2]](i,N[d>>2])|0;if(i>>>0>2]){break b}}N[f>>2]=0;return a|0}N[f>>2]=i;if(!i){break a}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}return a|0}function hs(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{c=a+10|0;if(c>>>0<=Q[b+160>>2]){d=O[a+3|0]|O[a+2|0]<<8;if(Q[b+160>>2]>>0){break b}a=O[a+9|0]|O[a+8|0]<<8;if((a<<1)+10>>>0>d>>>0){break b}if(!(!N[b+164>>2]|!a)){d=N[b+172>>2];while(1){if(d>>>0<=(O[c+1|0]|O[c|0]<<8)>>>0){break a}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}Pb(b,8);B()}Pb(b,8);B()}Pb(b,16);B()}function Zu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=N[a>>2];d=N[a+44>>2];a:{if(!d){break a}e=N[d>>2];if(!e|!N[e+96>>2]){break a}N[e+88>>2]=d}d=eg(N[c+504>>2],b);if(!d){b=N[N[c+504>>2]+88>>2];c=N[b+16>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=c;N[a+36>>2]=N[b+36>>2];c=N[b+32>>2];N[a+28>>2]=N[b+28>>2];N[a+32>>2]=c;c=N[b+24>>2];N[a+20>>2]=N[b+20>>2];N[a+24>>2]=c}return d|0}function Bz(a,b){a=a|0;b=b|0;_a(N[b+20>>2]);_a(N[b+24>>2]);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;_a(N[b+44>>2]);_a(N[b+48>>2]);N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;a:{switch(N[a>>2]){case 0:tb(N[a+8>>2]);return;case 1:_a(N[a+8>>2]);return;case 2:tb(N[a+8>>2]);break;default:break a}}}function wj(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{c=N[a>>2];if((c|0)>=0){d=N[a+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break c}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){f=$a(N[a+8>>2],c<<2);if(f){break b}}N[a>>2]=-1}N[147456]=0;return}f=N[a+8>>2];break a}N[a>>2]=c;N[a+8>>2]=f;d=N[a+4>>2];e=d+1|0}N[a+4>>2]=e;N[(d<<2)+f>>2]=N[b>>2]}function Ac(a){var b=0,c=0;a:{if(O[a+62|0]){b=N[a+68>>2];c=N[a+64>>2];if(b>>>0>>0){break a}b:{if(!O[a+60|0]){break b}if(!Al(a,b-c|0)){break b}b=N[a+84>>2];c=N[a+80>>2];if((b|0)!=(c|0)){N[a+80>>2]=b;N[a+88>>2]=c}N[a+68>>2]=N[a+72>>2]}N[a+72>>2]=0;L[a+62|0]=0;N[a+64>>2]=0;N[a+84>>2]=N[a+80>>2];return}ba(8694,17855,395,17735);B()}ba(13069,17855,397,17735);B()}function AA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=N[b>>2];while(1){d=d+1|0;if(d>>>0>255){N[b>>2]=0;return 0}f=Qa[N[a+20>>2]](P[N[a+16>>2]+(d<<1)>>1])|0;g=N[a+24>>2];a:{if(g){h=N[a+28>>2];c=0;while(1){e=N[(c<<2)+h>>2];if(!(!e|O[e|0]!=O[f|0])){if(!cb(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}N[b>>2]=d;return c|0}function Sy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if($b(a,N[b+8>>2],e)){if(!(N[b+28>>2]==1|N[b+4>>2]!=(c|0))){N[b+28>>2]=d}return}a:{if(!$b(a,N[b>>2],e)){break a}if(!(N[b+16>>2]!=(c|0)&N[b+20>>2]!=(c|0))){if((d|0)!=1){break a}N[b+32>>2]=1;return}N[b+20>>2]=c;N[b+32>>2]=d;N[b+40>>2]=N[b+40>>2]+1;if(!(N[b+36>>2]!=1|N[b+24>>2]!=2)){L[b+54|0]=1}N[b+44>>2]=4}}function ok(a,b){a=a|0;b=b|0;var c=0,d=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];c=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((c|0)!=-1){d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}a=kk(a,b)}else{a=0}return a|0}function ss(a,b){a=a|0;b=b|0;var c=0,d=0;a=N[a+16>>2];c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{if(c>>>0>b>>>0){break a}b=b-c|0;c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(b>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break a}a=(a+20|0)+(b<<1)|0;d=O[a|0]<<8|O[a+1|0]}return d|0}function em(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-16|0;La=d;e=N[c>>2];if(e>>>0<2147483632){g=N[a>>2];a:{b:{if(e>>>0>=11){f=(e|15)+1|0;a=eb(f);N[d+12>>2]=f|-2147483648;N[d+4>>2]=a;N[d+8>>2]=e;f=a+e|0;break b}L[d+15|0]=e;a=d+4|0;f=e+a|0;if(!e){break a}}F(a,c+4|0,e)}L[f|0]=0;Qa[g|0](b,d+4|0);if(L[d+15|0]<0){_a(N[d+4>>2])}La=d+16|0;return}fa();B()}function Tb(a,b){var c=0,d=0;c=N[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{switch(O[c|0]){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}d=37;while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)!=(b|0)){d=O[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}N[a>>2]=c}function Yl(a){var b=0,c=0;c=N[a+568>>2];if((c|0)!=N[a+64>>2]){b=N[a+96>>2];c=Qa[N[a+24>>2]](N[a+32>>2],c+42|0)|0;N[a+96>>2]=c;if(!c){N[a+96>>2]=b;return 0}L[(c+N[a+568>>2]|0)-2|0]=0;L[(N[a+568>>2]+N[a+96>>2]|0)-1|0]=0;if(b){F(N[a+96>>2],b,N[a+52>>2]);Qa[N[a+28>>2]](N[a+32>>2],b)}b=N[a+568>>2];N[a+64>>2]=b;N[a+68>>2]=b-1;N[a+100>>2]=b+N[a+96>>2]}return 1}function pk(a,b){a=a|0;b=b|0;var c=0,d=0;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];d=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)!=-1){c=O[a+4|0]|O[a+5|0]<<8;c=d>>>0>=((c<<8|c>>>8)&65535)>>>0?275552:((d<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}lk(a,b)}return(d|0)!=-1|0}function iC(a){a=a|0;var b=0;b=N[a+8>>2];C(a+16|0,0,84);N[a+136>>2]=329;N[a+132>>2]=330;N[a+128>>2]=331;N[a+124>>2]=332;N[a+120>>2]=333;N[a+116>>2]=334;N[a+108>>2]=335;N[a+104>>2]=336;N[a+100>>2]=337;N[a+12>>2]=b;N[a+164>>2]=329;N[a+160>>2]=338;N[a+156>>2]=339;N[a+152>>2]=340;N[a+148>>2]=333;N[a+144>>2]=341;b=a+12|0;N[a+112>>2]=b;N[a+140>>2]=b;return 0}function Wc(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+3>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+12|0,4)|0)!=4){break d}c=N[a+8>>2];b=d+12|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}f=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+4}La=d+16|0;return f}function yy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!cb(b,10437)){N[c>>2]=N[a+36>>2];N[c+4>>2]=N[a+40>>2];N[c+8>>2]=N[a+44>>2];N[c+12>>2]=N[a+48>>2];N[c+16>>2]=N[a+52>>2];N[c+20>>2]=N[a+56>>2];N[c+24>>2]=N[a+60>>2];N[c+28>>2]=N[a- -64>>2];break b}if(!cb(b,15759)){N[c>>2]=N[a+28>>2];break b}d=12;if(cb(b,14683)){break a}L[c|0]=O[a+32|0]}d=0}return d|0}function cE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=N[b>>2];b=N[a+12>>2];a:{if(b){break a}while(1){b=N[a>>2];if(!b){b=275552;break a}e=db(1,48);if(!e){b=275552;N[a+12>>2]=275552;break a}b=gj(e,b);if(!N[a+12>>2]){N[a+12>>2]=b;break a}ab(N[b+44>>2]);_a(b);b=N[a+12>>2];if(!b){continue}break}}a=N[b+8>>2];if(!a){return 0}return Qa[a|0](N[b+12>>2],c,d)|0}function Ur(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{if(Q[b+160>>2]>=a+4>>>0){c=O[a+3|0]|O[a+2|0]<<8;if(c>>>0<262|Q[b+160>>2]>>0){break b}if(N[b+164>>2]){a=a+6|0;c=N[b+172>>2];while(1){if(c>>>0<=O[a|0]|c>>>0<=O[a+1|0]|(c>>>0<=O[a+2|0]|c>>>0<=O[a+3|0])){break a}a=a+4|0;d=d+4|0;if((d|0)!=256){continue}break}}return 0}Pb(b,8);B()}Pb(b,8);B()}Pb(b,16);B()}function az(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=N[a+84>>2];f=N[e>>2];d=N[e+4>>2];h=N[a+28>>2];g=N[a+20>>2]-h|0;g=d>>>0>>0?d:g;if(g){Pc(f,h,g);f=g+N[e>>2]|0;N[e>>2]=f;d=N[e+4>>2]-g|0;N[e+4>>2]=d}d=c>>>0>d>>>0?d:c;if(d){Pc(f,b,d);f=d+N[e>>2]|0;N[e>>2]=f;N[e+4>>2]=N[e+4>>2]-d}L[f|0]=0;b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;return c|0}function zb(a){var b=0,c=0,d=0;a:{if(!N[a+4>>2]){break a}b=N[a+16>>2];b:{if(!b){N[a+20>>2]=2;break b}c:{switch(N[a+20>>2]-2|0){case 1:N[a+20>>2]=2;break b;case 0:break b;default:break c}}c=kb(b);if(!c){break a}if(b){F(c,N[a+12>>2],b)}b=N[a+28>>2];if(b){Qa[b|0](N[a+24>>2])}N[a+28>>2]=192;N[a+24>>2]=c;N[a+12>>2]=c;N[a+20>>2]=2}d=N[a+12>>2]}return d}function Bu(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+12>>2];if(b){e=N[a+28>>2];N[b+104>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;L[b+44|0]=0;N[b- -64>>2]=9;N[b+12>>2]=0;N[b+16>>2]=0;d=N[b+180>>2];c=N[b+100>>2];if((c|0)!=(b+112|0)){if(c){Qa[N[d+8>>2]](d,c)}N[b+100>>2]=0}c=N[b+88>>2];if(c){Qa[N[d+8>>2]](d,c)}C(b,0,184);Qa[N[e+8>>2]](e,b);N[a+12>>2]=0}}function xb(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+1>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+14|0,2)|0)!=2){break d}c=N[a+8>>2];b=d+14|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}b=O[b|0]|O[b+1|0]<<8;f=b<<8|b>>>8;break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+2}La=d+16|0;return f&65535}function Pn(a,b,c,d){L[a+53|0]=1;a:{if(N[a+4>>2]!=(c|0)){break a}L[a+52|0]=1;c=N[a+16>>2];b:{if(!c){N[a+36>>2]=1;N[a+24>>2]=d;N[a+16>>2]=b;if((d|0)!=1){break a}if(N[a+48>>2]==1){break b}break a}if((b|0)==(c|0)){c=N[a+24>>2];if((c|0)==2){N[a+24>>2]=d;c=d}if(N[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}N[a+36>>2]=N[a+36>>2]+1}L[a+54|0]=1}}function vw(a){a=a|0;var b=0,c=0,d=0;c=N[a+16>>2];if(Q[a+20>>2]>=c+16>>>0){d=N[a+32>>2];b=ne(a,N[c>>2],0);N[d+84>>2]=((b>>31)+b|0)+32768&-65536;b=ne(a,N[c+4>>2],0);N[d+88>>2]=((b>>31)+b|0)+32768&-65536;b=ne(a,N[c+8>>2],0);N[d+92>>2]=((b>>31)+b|0)+32768&-65536;a=ne(a,N[c+12>>2],0);N[d+96>>2]=((a>>31)+a|0)+32768&-65536;a=0}else{a=161}return a|0}function vC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=N[b+4>>2];N[a+2748>>2]=b;c=N[b+28>>2];N[a+4>>2]=N[b+44>>2];N[a+8>>2]=N[b+48>>2];N[a+12>>2]=N[b+9848>>2];N[a+16>>2]=N[b+9852>>2];b=N[b+24>>2];e=b&-3;N[a+2740>>2]=!(L[d+12|0]&1)&(e|0)!=1?c:c|1;d=a;a=(b&-2)==2;c=a|2;f=(b|0)==4?c:a;a=(b|0)==2;b=a?c:f;b=(e|0)==1?b:b|4;N[d+2744>>2]=a?b|8:b;return 0}function hi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-240|0;La=h;N[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-N[(j<<2)+e>>2]|0;if((Qa[c|0](a,g)|0)>=0){if((Qa[c|0](a,f)|0)>=0){break a}}l=g;g=(Qa[c|0](g,f)|0)>=0;f=g?l:f;N[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}ao(b,h,i);La=h+240|0}function Zw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a=N[a+532>>2];if(!a){return 6}d=N[a+4>>2];N[b>>2]=d;N[b+4>>2]=N[a>>2];if(!d){return 0}g=a+88|0;h=b+8|0;b=0;while(1){c=T(b,12);e=c+h|0;N[e>>2]=N[(a+(b<<2)|0)+8>>2];c=c+g|0;f=N[c+4>>2];N[e+4>>2]=N[f>>2];N[e+8>>2]=N[((O[c|0]<<2)+f|0)-4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}return 0}function _j(a){var b=0,c=0,d=0;b=La-16|0;La=b;N[b+4>>2]=-1;a:{if(!O[a+36|0]){ud(a,b+4|0);c=N[b+4>>2];break a}N[b+8>>2]=-1;ud(a,b+8|0);c=0;if(N[b+8>>2]){break a}c=-1;N[b+12>>2]=-1;b:{if(!ud(a,b+12|0)){break b}d=N[b+12>>2];while(1){c=d;if(!ud(a,b+12|0)){break b}d=N[b+12>>2];if((d|0)==(c+1|0)){continue}break}}c=c+1|0}La=b+16|0;return(c|0)==-1}function Ik(a,b,c,d){var e=0,f=0,g=0;a:{e=T(b,20)+a|0;f=P[e+16>>1];if(!f){break a}g=O[e+18|0];if(!(g&2)){break a}M[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}Ik(a,e,c,d);b:{if((c&-2)==4){N[(T(e,20)+a|0)+12>>2]=0-N[(T(b,20)+a|0)+12>>2];break b}N[(T(e,20)+a|0)+8>>2]=0-N[(T(b,20)+a|0)+8>>2]}a=T(e,20)+a|0;M[a+16>>1]=0-f;L[a+18|0]=g}}function ld(a){var b=0,c=0,d=0,e=0;a:{if(N[a+12>>2]>0){break a}c=3;b=N[a>>2];d=N[a+8>>2];b:{if(b>>>0>=d>>>0){break b}c:{while(1){d:{e=b+1|0;N[a>>2]=e;e:{switch(O[b|0]-9|0){case 17:break b;case 50:break c;case 1:case 4:break d;case 0:case 23:break e;default:break a}}b=e;if((d|0)!=(b|0)){continue}break b}break}c=2;break b}c=1}N[a+12>>2]=c}}function Ys(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=N[a+16>>2];d=P[a+8>>1];c=d>>>1|0;a=c+1|0;e=Qa[N[b+4>>2]](b,a)|0;if(!e){return 0}C(e,0,a);a=0;a:{if(d>>>0<2){break a}b=c>>>0<=1?1:c;while(1){c=O[f+1|0];d=c|O[f|0]<<8;if(!d){break a}L[a+e|0]=d-128>>>0<4294967200?63:c;f=f+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}L[a+e|0]=0;return e|0}function Gd(a,b){a:{if((b|0)>=1024){a=a*898846567431158e293;if(b>>>0<2047){b=b-1023|0;break a}a=a*898846567431158e293;b=((b|0)>=3069?3069:b)-2046|0;break a}if((b|0)>-1023){break a}a=a*2004168360008973e-307;if(b>>>0>4294965304){b=b+969|0;break a}a=a*2004168360008973e-307;b=((b|0)<=-2960?-2960:b)+1938|0}x(0,0);x(1,b+1023<<20);return a*+z()}function cA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=N[a+20>>2];a=(c+(N[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=N[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return N[f+4>>2]}function tE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];a:{if(Qa[N[e+24>>2]](e,b,N[e+56>>2])>>>0<=31){e=N[a+12>>2];f=0;if(1<>2]](e,b,N[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){N[d>>2]=2527;return 1}a=N[a+12>>2];N[d>>2]=0;f=0;if(!b|!c){break a}f=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return f|0}function ib(a,b,c,d){var e=0,f=0;f=La-16|0;La=f;e=1;if(N[a+156>>2]){N[f+12>>2]=d;e=La-112|0;La=e;if(!(!O[a+62|0]|N[a+84>>2]==N[a+80>>2]&N[a+72>>2]==N[a+64>>2])){ba(22546,17855,2177,13189);B()}N[a+168>>2]=N[a+168>>2]+1;rh(e,100,c,d);b=Qa[N[a+156>>2]](a,b,e,N[a+160>>2])|0;N[a+168>>2]=N[a+168>>2]-1;La=e+112|0;e=(b|0)!=0}La=f+16|0;return e}function xw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=N[N[a+128>>2]+52>>2];a:{if(e){a=N[b>>2];N[d+12>>2]=c;N[d+8>>2]=a;Qa[N[N[e>>2]+4>>2]](N[e+4>>2],d+8|0);break a}a=N[a+712>>2];if(N[a+1236>>2]){break a}a=N[a+1204>>2];b:{if(!a|!N[a+20>>2]){break b}c=N[b>>2];if(!c){break b}a=N[a+28>>2];Qa[N[a+8>>2]](a,c)}N[b>>2]=0}La=d+16|0}function Yy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La+-64|0;La=d;e=1;a:{if($b(a,b,0)){break a}e=0;if(!b){break a}b=Oc(b,584540);e=0;if(!b){break a}C(d+12|0,0,52);N[d+56>>2]=1;N[d+20>>2]=-1;N[d+16>>2]=a;N[d+8>>2]=b;Qa[N[N[b>>2]+28>>2]](b,d+8|0,N[c>>2],1);a=N[d+32>>2];if((a|0)==1){N[c>>2]=N[d+24>>2]}e=(a|0)==1}a=e;La=d- -64|0;return a|0}function Cw(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[N[b+712>>2]+3080>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+8>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function pC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=N[N[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=N[f+24>>2];if(c){b=N[N[(N[N[b+288960>>2]+4>>2]<<2)+288672>>2]+16>>2];a:{if(b){Qa[b|0](c);c=N[f+24>>2];if(!c){break a}}Qa[N[d+8>>2]](d,c)}N[f+24>>2]=0}e=e+1|0;if((e|0)!=87){continue}break}Rc(N[a+12>>2]);dc(N[a+16>>2]);Qa[N[d+8>>2]](d,a)}}function Pu(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=N[a+100>>2];b=N[a+132>>2];if(b){e=N[b+160>>2];if(e){c=N[a+104>>2];if(!(!c|!N[c+20>>2])){c=N[c+28>>2];Qa[N[c+8>>2]](c,e)}N[b+160>>2]=0}c=N[b+168>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+168>>2]=0;Qa[N[d+8>>2]](d,b);N[a+132>>2]=0}b=N[a+32>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+28>>2]=0;N[a+32>>2]=0}}function Ze(a){var b=0,c=0,d=0;a:{if(!a){break a}b=O[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=L[b|0];b:{if(!(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1)){break b}while(1){if(c<<16>>16>3274){c=32767;break b}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c<<16>>16}function xd(a){var b=0,c=0,d=0,e=0;a:{b=N[a+72>>2]+1|0;b:{if(!(!b|b>>>0>2])){if(!gb(a,b)){break b}}d=1;b=N[a+84>>2];if((b|0)!=N[a+80>>2]){break b}c=N[a+72>>2];if(c+1>>>0<=N[a+64>>2]+1>>>0){break b}if(!O[a+62|0]){break a}e=a;a=N[a+88>>2];N[e+84>>2]=a;c=T(c,20);if(!c){break b}F(a,b,c)}return d}ba(8694,17855,209,11932);B()}function hf(a){var b=0,c=0,d=0,e=0,f=0;ld(a);a:{if(N[a+12>>2]>0){break a}b=N[a>>2];d=b-1|0;e=N[a+8>>2];b:{c:{while(1){if(b>>>0>=e>>>0){break c}f=b;b=b+1|0;N[a>>2]=b;c=2;d:{switch(O[f|0]-9|0){case 0:case 23:break a;case 1:case 4:break b;case 17:break c;case 50:break d;default:continue}}break}c=1;break b}c=3}N[a+12>>2]=c}return d}function am(a){var b=0,c=0,d=0;a:{if(!a){break a}b=O[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=L[b|0];b:{if(!(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1)){break b}while(1){if((c|0)>214748362){c=2147483647;break b}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c}function RA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=N[a+12>>2];a:{if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+68|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=((c>>31)+c|0)+32768>>16;N[f>>2]=((b>>31)+b|0)+32768>>16;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Mb(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(N[a>>2]!=N[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}d=0;break a}d=1}while(1){c:{if(!d){if(c){break c}return 0}d:{e=O[b|0];d=O[a|0];if((e|0)==(d|0)){b=b+1|0;a=a+1|0;c=c-1|0;break d}return d-e|0}d=0;continue}d=1;continue}}function ln(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+1>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+14|0,2)|0)!=2){break d}c=N[a+8>>2];b=d+14|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}f=O[b|0]|O[b+1|0]<<8;break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+2}La=d+16|0;return f}function qx(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[b+552>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+4>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function Lv(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[b+320>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+4>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function dj(a,b,c,d,e){var f=0,g=0,h=U(0),i=U(0);if(N[c>>2]){h=R[c+4>>2];i=R[c+8>>2];if(!(h==R[c+12>>2]&i==R[c+16>>2])){g=N[a+16>>2];f=N[a+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[g|0](a,b,c,h,i,f)}g=N[a+28>>2];f=N[a+32>>2];if(f){f=N[f+16>>2]}else{f=0}Qa[g|0](a,b,c,f);N[c+8>>2]=0;N[c>>2]=0;N[c+4>>2]=0}R[c+16>>2]=e;R[c+12>>2]=d}function Ok(a,b){a=a|0;b=b|0;var c=0,d=0;c=O[a+6|0]|O[a+7|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];if((vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2])|0)!=-1){d=b;b=O[a+2|0]|O[a+3|0]<<8;b=(b<<8|b>>>8)&65535;c=O[a+4|0]|O[a+5|0]<<8;a=Qe(d,b,a+8|0,(c<<8|c>>>8)&65535,(a+6|0)+(b<<1)|0,247,a)}else{a=0}return a|0}function Qq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!(O[N[a+112>>2]+36|0]&2)){break a}b=N[c+68>>2];if(!b){break a}e=N[c+80>>2];g=e+3|0;a=0;while(1){d=T(a,20);f=d+e|0;if(O[f+12|0]&64){h=d+g|0;d=O[f+14|0];L[h+16|0]=d&16?8:d&1|8;N[c+144>>2]=N[c+144>>2]|16777216}a=a+1|0;if((b|0)!=(a|0)){continue}break}}return 0}function Ke(a,b,c,d,e,f,g){var h=0,i=0,j=U(0),k=U(0);if(!N[c>>2]){i=N[a+12>>2];j=R[c+12>>2];k=R[c+16>>2];h=N[a+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](a,b,c,j,k,h);N[c>>2]=1;h=N[c+16>>2];N[c+4>>2]=N[c+12>>2];N[c+8>>2]=h}i=N[a+20>>2];h=N[a+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](a,b,c,d,e,f,g,h);R[c+16>>2]=g;R[c+12>>2]=f}function yz(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!a){break b}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;a=N[b>>2];if(!a){break b}if(!N[a-8>>2]){break a}a=a-4|0;b=N[a>>2];if(!b){break a}N[a>>2]=b+1}return 1}ba(8916,18290,435,15229);B()}function mD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=f|0;var g=U(0),h=U(0),i=U(0),j=U(0),k=0;g=R[b+8>>2];h=R[b+16>>2];i=R[b+12>>2];j=R[c+16>>2];R[c+16>>2]=i*j;R[c+12>>2]=U(g*R[c+12>>2])+U(h*j);a=N[b>>2];f=N[a+16>>2];k=N[b+4>>2];d=U(U(g*d)+U(h*e));e=U(i*e);b=N[a+32>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[f|0](a,k,c,d,e,b)}function $u(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=N[a+160>>2];N[b+156>>2]=0;c=N[b+4>>2];a=N[c+84>>2];a:{if(!a){break a}d=N[N[c+96>>2]+8>>2];if((a|0)!=(b|0)){while(1){e=N[a+8>>2];if(!e){break a}f=a;a=e;if((b|0)!=(a|0)){continue}break}}N[(f?f+8|0:c+84|0)>>2]=N[b+8>>2];a=N[b+20>>2];if(a){Qa[a|0](b)}ig(b);Qa[N[d+8>>2]](d,b)}}function Ho(a){var b=0,c=0,d=0,e=0;b=N[a+12>>2];if(b){c=N[a+8>>2];a:{b:{if(b>>>0>c>>>0){d=N[a+20>>2];break b}N[147316]=0;d=N[a+20>>2];c=b<<1;b=$a(d,c>>>0<=1?1:c);N[147316]=b?0:48;d=b?b:d;N[a+20>>2]=d;e=0;if(!b){break a}N[a+12>>2]=c;c=N[a+8>>2]}L[c+d|0]=1;N[a+8>>2]=N[a+8>>2]+1;e=1}return e}ba(10167,18249,303,9289);B()}function vh(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=N[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=N[a+12>>2];M[e>>1]=O[d|0];M[e+2>>1]=O[d+1|0];M[e+4>>1]=L[d+2|0];M[e+6>>1]=L[d+3|0];M[e+8>>1]=O[d+4|0];g=c;c=d+8|0;if(g>>>0>>0){break a}M[e+10>>1]=L[d+5|0];M[e+12>>1]=L[d+6|0];M[e+14>>1]=O[d+7|0];L[a+16|0]=1;N[b>>2]=c;f=0}return f}function aB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=La-16|0;La=b;Tb(a,N[a+8>>2]);e=N[a+8>>2];d=N[a>>2];N[b+12>>2]=d;f=fd(b+12|0,e,10);c=N[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(O[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;N[b+12>>2]=d;f=fd(b+12|0,e,f);c=N[b+12>>2];if((d|0)==(c|0)){break a}}N[a>>2]=c;g=f}La=b+16|0;return g|0}function Ad(a,b){var c=0,d=0,e=0;c=La-16|0;La=c;N[c+8>>2]=a;e=N[b+20>>2];a=e+((Qa[N[b+12>>2]](c+8|0)>>>0)%Q[b+4>>2]<<2)|0;d=N[a>>2];a:{if(!d){break a}while(1){if(Qa[N[b+16>>2]](d,c+8|0)|0){break a}a=a-4|0;if(e>>>0>a>>>0){a=((N[b+4>>2]<<2)+e|0)-4|0}d=N[a>>2];if(d){continue}break}}La=c+16|0;a=N[a>>2];return a?a+4|0:0}function AC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=rf(b,c);a:{if(d){break a}a=N[b+24>>2];if((a|0)<=0){break a}b=N[b+28>>2];f=b+T(a,40)|0;a=N[c+4>>2];c=N[c+8>>2];while(1){N[a>>2]=N[b+16>>2];N[a+4>>2]=N[b+20>>2];e=P[b>>1];L[c|0]=e&1?0:e&2?2:1;c=c+1|0;a=a+8|0;b=b+40|0;if(f>>>0>b>>>0){continue}break}}return d|0}function cq(a,b,c,d,e){var f=0,g=0,h=U(0),i=U(0);if(!N[c>>2]){g=N[a+12>>2];h=R[c+12>>2];i=R[c+16>>2];f=N[a+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[g|0](a,b,c,h,i,f);N[c>>2]=1;f=N[c+16>>2];N[c+4>>2]=N[c+12>>2];N[c+8>>2]=f}g=N[a+16>>2];f=N[a+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[g|0](a,b,c,d,e,f);R[c+16>>2]=e;R[c+12>>2]=d}function sE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){a:{a=a<<24>>24;L[b+140|0]=a|64;if((a|0)<0){break a}L[b+140|0]=a|192;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),M[e+18>>1]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}ba(22778,14165,169,12138);B()}function uD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];e=N[b+96>>2];f=N[e- -64>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+44>>2]}else{e=0}b=Qa[f|0](b,g,c,d,e)|0;c=N[a+20>>2];a:{if(!c){break a}c=N[c+28>>2];a=N[a+28>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}return b|0}function gE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){a:{a=a<<24>>24;L[b+140|0]=a|64;if((a|0)<0){break a}L[b+140|0]=a|192;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),L[e+18|0]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}ba(22778,14165,169,12138);B()}function Mh(a){a=a|0;var b=0;N[a+36>>2]=500;N[a+40>>2]=400;L[a+32|0]=1;N[a+28>>2]=1;N[a+60>>2]=2333;N[a+64>>2]=0;N[a+52>>2]=1667;N[a+56>>2]=275;N[a+44>>2]=1e3;N[a+48>>2]=275;b=La-16|0;b=N[a+8>>2]^(b+8^b+12);b=b>>>20^b>>>10^b;N[a+68>>2]=b;a:{if((b|0)<0){b=0-b|0}else{if(b){break a}b=123456789}N[a+68>>2]=b}return 0}function wx(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=28592;b:{if(!cb(15866,b)){break b}c=28600;if(!cb(9592,b)){break b}c=28608;if(!cb(9676,b)){break b}c=28616;if(!cb(12514,b)){break b}c=28624;if(!cb(11276,b)){break b}c=28632;if(!cb(14667,b)){break b}if(cb(10423,b)){break a}c=28640}a=N[c+4>>2]}return a|0}function tD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];e=N[b+96>>2];f=N[e+68>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+48>>2]}else{e=0}b=Qa[f|0](b,g,c,d,e)|0;c=N[a+20>>2];a:{if(!c){break a}c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}return b|0}function qc(a){var b=0,c=0,d=0;A(+a);b=v(1)|0;v(0)|0;d=b>>>20&2047;if(d>>>0<=1074){if(d>>>0<=1021){a=a*0}else{a=(b|0)>0|(b|0)>=0?a:-a;c=a+4503599627370496+-4503599627370496-a;a:{if(c>.5){a=a+c+-1;break a}a=a+c;if(!(c<=-.5)){break a}a=a+1}a=(b|0)>0|(b|0)>=0?a:-a}}if(V(a)<2147483648){return~~a}return-2147483648}function du(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=N[a+16>>2];if(d){g=N[a+20>>2];a=d>>>1|0;while(1){c=d+f>>>1|0;c=a>>>0>=d>>>0?c:a>>>0>>0?c:a;e=N[(c<<3)+g>>2];if((e|0)==(b|0)){return P[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=b>>>0>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0>>0){continue}break}}return 0}function Aj(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+32>>2];if(!(!b|!N[b>>2])){while(1){e=(d<<2)+b|0;a:{if(!N[e+36>>2]){break a}c=T(d,28)+b|0;if(N[c+80>>2]){N[c+80>>2]=0}_a(N[c+84>>2]);N[c+80>>2]=0;N[c+84>>2]=0;N[c+76>>2]=0;if(!O[b+4|0]){break a}_a(N[e+36>>2])}d=d+1|0;if(d>>>0>2]){continue}break}_a(b)}_a(a)}function uy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[N[a+392>>2]+(b<<2)>>2];b=d>>31;e=cg(a);a=e>>31;b=(b^d)-b|0;a=(a^e)-a|0;a:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break a}c=b&65535;b=T(c,a>>>16|0)+T(a,b>>>16|0)+(T(a&65535,c)+32768>>>16)|0}a=b;c=0-a|0;a=d>>31|1;return((((e|0)<0?0-a|0:a)|0)<0?c:b)|0}function Bi(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-16|0;La=b;d=N[a>>2];a:{if(!d){break a}c=N[d+8>>2];if(!c){break a}e=d;while(1){c=N[c+8>>2];if(c){e=N[e+8>>2];c=N[c+8>>2];if(c){continue}}break}N[b+12>>2]=d;N[b+8>>2]=N[e+8>>2];N[e+8>>2]=0;Bi(b+12|0);Bi(b+8|0);f=a,g=Ai(N[b+12>>2],N[b+8>>2]),N[f>>2]=g}La=b+16|0}function ii(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=28711;if((a|0)!=28711){c=6879;e=3439;d=3439;while(1){if((c|0)==1){return 0}b=a>>>0>>0;g=b?g:e;c=b?d:c-d|0;d=c>>>1|0;e=g+d|0;f=P[(e<<1)+567216>>1];b=P[(T(f>>>8|0,188)+((f&255)<<1)|0)+504752>>1];if((b|0)!=(a|0)){continue}break}a=f+8481|0}else{a=17005}return a}function Jz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;N[b+20>>2]=N[c>>2];d=N[c+4>>2];N[b+108>>2]=0;N[b+112>>2]=0;N[b+24>>2]=d;d=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=d;N[b+8>>2]=N[a+8>>2];N[b+12>>2]=N[a+12>>2];a=N[a+16>>2];N[b+120>>2]=0;N[b+124>>2]=0;N[b+16>>2]=a;if((wo(N[c+8>>2],b,0)|0)==-1){N[b+20>>2]=0}return 1}function md(a,b){var c=0;c=N[a+8>>2];a:{if(N[a+12>>2]-c>>3>>>0<=b>>>0){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=130;return 0}b:{c:{d:{a=(b<<3)+c|0;switch(N[a+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}return N[a>>2]<<16}a=N[a>>2];return((a>>31)+a|0)- -8192>>14}b=N[a>>2]}return b}function Qo(a,b){var c=0,d=0,e=0;a:{if(b>>>0>255){break a}c=N[a+604>>2];c=Qa[N[c+20>>2]](P[N[c+24>>2]+(b<<1)>>1])|0;d=N[a+584>>2];if(!d){break a}e=N[a+580>>2];b=0;while(1){b:{a=N[(b<<2)+e>>2];if(!a|O[a|0]!=O[c|0]){break b}if(cb(a,c)){break b}return b}b=b+1|0;if((d|0)!=(b|0)){continue}break}}return-1}function vj(a){N[a+540>>2]=0;N[a+504>>2]=a+540;N[a+468>>2]=a+504;N[a+432>>2]=a+468;N[a+396>>2]=a+432;N[a+360>>2]=a+396;N[a+324>>2]=a+360;N[a+288>>2]=a+324;N[a+252>>2]=a+288;N[a+216>>2]=a+252;N[a+180>>2]=a+216;N[a+144>>2]=a+180;N[a+108>>2]=a+144;N[a+72>>2]=a+108;N[a+36>>2]=a+72;N[a>>2]=a+36;return a}function ao(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=La-256|0;La=f;if((c|0)>=2){h=(c<<2)+b|0;N[h>>2]=f;while(1){e=a>>>0>=256?256:a;Pc(N[h>>2],N[b>>2],e);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Pc(N[g>>2],N[(d<<2)+b>>2],e);N[g>>2]=N[g>>2]+e;if((c|0)!=(d|0)){continue}break}a=a-e|0;if(a){continue}break}}La=f+256|0}function NA(a){a=a|0;var b=0,c=0,d=0,e=0;e=N[a>>2];b=N[a+8>>2];if(b){c=N[a+16>>2];d=N[c+4>>2];N[b+108>>2]=N[c>>2];N[b+112>>2]=d;N[b+124>>2]=N[c+16>>2];d=N[c+12>>2];N[b+116>>2]=N[c+8>>2];N[b+120>>2]=d}b=N[a+1512>>2];if(b){Qa[b|0](N[a+1508>>2]);b=N[a+1508>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+1508>>2]=0}}function JB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(b){f=N[d>>2]+T(N[d+4>>2],(a|0)/-4|0)|0;while(1){if(P[c+2>>1]){g=O[c+4|0]+8>>>4|0;d=0;while(1){e=f+((M[c>>1]+d|0)/4|0)|0;a=O[e|0]+g|0;L[e|0]=a-(a>>>8|0);d=d+1|0;if(d>>>0>1]){continue}break}}c=c+6|0;b=b-1|0;if(b){continue}break}}}function Po(a,b,c){var d=0,e=0;e=La-16|0;La=e;d=N[N[a+128>>2]+52>>2];a:{b:{if(!d){d=b<<2;b=d+N[a+432>>2]|0;a=d+N[a+428>>2]|0;break b}a=Qa[N[N[d>>2]>>2]](N[d+4>>2],b,e+8|0)|0;if(a){break a}b=e+12|0;a=e+8|0}d=N[b>>2];b=N[a>>2];N[c+12>>2]=b;a=0;N[c>>2]=0;N[c+4>>2]=b;N[c+8>>2]=b+d}La=e+16|0;return a}function Cp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;N[a+2748>>2]=b;c=N[b+28>>2];N[a+4>>2]=N[b+44>>2];N[a+8>>2]=N[b+48>>2];N[a+12>>2]=N[b+7720>>2];N[a+16>>2]=N[b+7724>>2];b=N[b+24>>2];N[a+2740>>2]=c|4;d=a;a=(b&-2)==2;c=a|2;e=(b|0)==4?c:a;a=(b|0)==2;c=a?c:e;b=(b&-3)==1?c:c|4;N[d+2744>>2]=a?b|8:b;return 0}function kx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=N[c+288>>2];if((e|0)<=0){break a}f=N[c+292>>2];while(1){c=N[(d<<2)+f>>2];b:{if(!c|O[c|0]!=O[a|0]){break b}if((nb(c)|0)!=(b|0)){break b}if(!bb(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function Pd(a,b){var c=0,d=0,e=0;c=La-16|0;La=c;L[c+15|0]=0;N[b>>2]=0;d=N[a+8>>2];a:{b:{e=N[a+20>>2];c:{if(e){if((Qa[e|0](a,d,c+15|0,1)|0)!=1){break b}d=N[a+8>>2];b=c+15|0;break c}if(Q[a+4>>2]<=d>>>0){break b}b=N[a>>2]+d|0}b=O[b|0];N[a+8>>2]=d+1;break a}N[b>>2]=85;b=0}La=c+16|0;return b<<24>>24}function nb(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!O[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(O[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=N[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}while(1){b=c;c=b+1|0;if(O[b|0]){continue}break}}return b-a|0}function Eu(a){a=a|0;var b=0,c=0;c=N[a+28>>2];b=N[a+12>>2];if(b){Vf(b+12|0);N[b+52>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;Qa[N[c+8>>2]](c,b);N[a+12>>2]=0}if(!N[a+20>>2]){b=N[a>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0}}function uc(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;a:{if(!b){b=0;break a}c=b>>31;e=(c^b)-c|0;c=W(e);hc(d,e,0,0,0,c+81|0);e=0+N[d+8>>2]|0;c=(N[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=N[d+4>>2];b=N[d>>2]}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=e;N[a+12>>2]=f;La=d+16|0}function uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=N[a+16>>2];d=P[a+2>>1];a:{if(d+(P[a+6>>1]<<8)>>>0>>0){break a}c=P[a>>1];f=P[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0>d>>>0|c>>>0>e>>>0){break a}g=P[N[a+12>>2]+((e-c|0)+T((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function Tf(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=L[a|0];e=b&255;if(!e|!(O[(e>>>3|0)+45040|0]>>>(b&7)&1)){break a}while(1){c=65535;if((d&65535)>>>0>6551){break a}c=b+45072|0;b=L[a+1|0];a=a+1|0;d=O[c|0]+T(d,10)|0;c=d;if(O[((b&248)>>>3|0)+45040|0]>>>(b&7)&1){continue}break}}return c&65535}function oA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=N[a+12>>2];a:{if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+65|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Sf(a,b){var c=0,d=0,e=0;e=La-16|0;La=e;N[e+12>>2]=b;c=La-144|0;La=c;F(c,584048,144);N[c+44>>2]=a;N[c+20>>2]=a;d=-2-a|0;d=d>>>0>=2147483647?2147483647:d;N[c+48>>2]=d;a=a+d|0;N[c+28>>2]=a;N[c+16>>2]=a;Sn(c,16764,b);if(d){a=N[c+20>>2];L[a-((a|0)==N[c+16>>2])|0]=0}La=c+144|0;La=e+16|0}function QA(a){a=a|0;var b=0,c=0;b=N[a+20>>2];if(!b){return 3}a:{b:{if(O[a+68|0]){a=N[a+12>>2];if((M[a+20>>1]+M[a+56>>1]|0)+1>>>0>Q[a+8>>2]){a=Sb(a,0,1);if(a){break a}}c=P[b>>1];a=c<<16>>16;if((a|0)<=0){break b}M[(N[b+12>>2]+(c<<1)|0)-2>>1]=P[b+2>>1]-1}a=P[b>>1]}M[b>>1]=a+1;a=0}return a|0}function lB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{if(!cb(b,16934)){b=N[c>>2];d=6;if(b-33>>>0<4294967265){break a}N[a+64>>2]=b;break b}if(!cb(b,12859)){L[a+68|0]=N[c>>2]!=0;return 0}if(!cb(b,7976)){L[a+69|0]=N[c>>2]!=0;return 0}d=12;if(cb(b,10583)){break a}L[a+70|0]=O[c|0]}d=0}return d|0}function Xz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=ze(N[b+92>>2],c);N[e>>2]=a;a:{if(!a){break a}a=on(b,a,d);N[e>>2]=a;if(!a){break a}N[f+28>>2]=a;b=0;a=sc(N[f>>2],f+8|0,c>>>0>752?N[f+32>>2]?f:0:0);b:{if(!a){break b}if(N[a>>2]>=0){b=a;break b}tb(a)}tb(b);g=1}return g|0}function Sq(a){a=a|0;var b=0,c=0;a=N[a+660>>2];if(N[a+20>>2]){if(N[a+8>>2]>0){while(1){b=N[a+20>>2]+T(c,56)|0;_a(N[b+28>>2]);_a(N[b+44>>2]);_a(N[b+48>>2]);_a(N[b+52>>2]);c=c+1|0;if((c|0)>2]){continue}break}}N[a+8>>2]=0}_a(N[N[a+88>>2]+20>>2]);a=N[a+88>>2];N[a+20>>2]=0;N[a+24>>2]=0}function Ot(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(O[a+292|0]?a+296|0:0)|0;case 2:return(P[a+372>>1]!=65535?a+372|0:0)|0;case 5:return a+476|0;case 1:return a+260|0;case 6:c=N[a+568>>2]?a+568|0:0;break;default:break a}}return c|0}function rh(a,b,c,d){var e=0,f=0,g=0;e=La-160|0;La=e;f=b?a:e+158|0;N[e+148>>2]=f;a=-1;g=b-1|0;N[e+152>>2]=b>>>0>=g>>>0?g:0;C(e,0,144);N[e+76>>2]=-1;N[e+36>>2]=199;N[e+80>>2]=-1;N[e+44>>2]=e+159;N[e+84>>2]=e+148;a:{if((b|0)<0){N[147316]=61;break a}L[f|0]=0;a=zi(e,c,d)}La=e+160|0;return a}function yq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];a:{if(Qa[N[e+24>>2]](e,b,N[e+56>>2])>>>0<=31){e=N[a+12>>2];f=0;if(1<>2]](e,b,N[e+56>>2])&7168){break a}}a=N[a+12>>2];N[d>>2]=0;f=0;if(!b|!c){break a}f=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return f|0}function pz(a,b){a=a|0;b=b|0;var c=0;c=N[b+20>>2];if(c){_a(N[c-4>>2])}c=N[b+44>>2];if(c){_a(N[c-4>>2])}b=N[b+68>>2];if(b){_a(N[b-4>>2])}if(N[a+24>>2]){b=0;while(1){c=T(b,24);tb(N[c+N[a+28>>2]>>2]);tb(N[(c+N[a+28>>2]|0)+4>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[a+28>>2])}function Kq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;N[d+4>>2]=c;N[d>>2]=b;e=La-16|0;La=e;N[e+12>>2]=d;Sn(589104,25129,d);La=e+16|0;a=N[a+384>>2];N[a+860>>2]=b?b:1e4;a:{if(!c){b=67108864;c=134217728;break a}c=c<<20;b=(c>>>0)/3|0;c=c-b|0}N[a+868>>2]=b;N[a+864>>2]=c;La=d+16|0}function Bt(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1886352244,b,0)|0;a:{if(c){break a}c=rb(b,178992,a+476|0);if(c){break a}c=154;a=N[a+476>>2];b:{if((a|0)<=151551){if((a|0)==65536|(a|0)==131072){break b}break a}if((a|0)==196608){break b}if((a|0)!=151552){break a}}c=0}return c|0}function xx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[a+736>>2];a:{b:{if(f){if(b){N[b>>2]=N[f>>2]}if(c){N[c>>2]=N[f+4>>2]}if(d){N[d>>2]=N[N[a+736>>2]+8>>2]}if(!e){break a}a=N[N[a+736>>2]+12>>2];break b}if(b){N[b>>2]=0}if(c){N[c>>2]=0}a=0;if(!e){break a}}N[e>>2]=a}return 0}function qb(a){var b=0,c=0;c=N[a+12>>2];a:{if((c|0)==N[a+8>>2]){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=161;return 0}b=a;a=c-8|0;N[b+12>>2]=a;b:{switch(N[a+4>>2]-1|0){case 1:return N[a>>2]<<16;case 0:a=N[a>>2];return((a>>31)+a|0)- -8192>>14;default:break b}}b=N[a>>2]}return b}function BA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Qa[N[a+20>>2]](P[N[a+16>>2]+(b<<1)>>1])|0;d=N[a+24>>2];if(!d){break a}e=N[a+28>>2];while(1){a=N[(c<<2)+e>>2];if(!(!a|O[a|0]!=O[b|0])){if(!cb(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function th(a){var b=0,c=0,d=0,e=0;b=go(a,61);if((b|0)==(a|0)){return 0}d=b-a|0;a:{if(O[d+a|0]){break a}b=N[147572];if(!b){break a}c=N[b>>2];if(!c){break a}while(1){b:{if(!bb(a,c,d)){c=c+d|0;if(O[c|0]==61){break b}}c=N[b+4>>2];b=b+4|0;if(c){continue}break a}break}e=c+1|0}return e}function vz(a,b){a=a|0;b=b|0;var c=0;a:{if(N[a>>2]!=N[b>>2]|N[a+4>>2]!=N[b+4>>2]|(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2])){break a}if(N[a+16>>2]!=N[b+16>>2]|N[a+20>>2]!=N[b+20>>2]|(N[a+24>>2]!=N[b+24>>2]|N[a+28>>2]!=N[b+28>>2])){break a}c=N[a+32>>2]==N[b+32>>2]}return c|0}function Zs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[a+16>>2];c=P[a+8>>1];a=c+1|0;b=Qa[N[b+4>>2]](b,a)|0;if(!b){return 0}C(b,0,a);a=0;a:{if(!c){break a}while(1){e=L[d|0];if(!e){break a}L[a+b|0]=(e|0)<32?63:e;d=d+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}L[a+b|0]=0;return b|0}function uz(a,b){a=a|0;b=b|0;var c=0;if(a){c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;N[a+32>>2]=N[b+32>>2];c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;return 1}tb(N[b>>2]);return 1}function Fh(a){var b=0,c=0,d=0;b=N[a>>2];if(b){c=N[b+28>>2];d=N[a+32>>2];if(d){if(N[b+20>>2]){Qa[N[c+8>>2]](c,d)}N[a+32>>2]=0}b=N[a+28>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0;N[a+4>>2]=0;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0}}function xj(a,b){var c=0,d=0,e=0;c=N[a>>2];a:{if((c|0)<0){break a}d=1;if(b>>>0<=c>>>0){break a}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=b>>>0){continue}break}b=-1;d=0;b:{if(c>>>0>1073741823){break b}e=$a(N[a+8>>2],c<<2);if(!e){break b}N[a+8>>2]=e;d=1;b=c}N[a>>2]=b}return d}function nA(a){a=a|0;var b=0,c=0;b=N[a+20>>2];a:{b:{if(O[a+65|0]){a=N[a+12>>2];if((M[a+20>>1]+M[a+56>>1]|0)+1>>>0>Q[a+8>>2]){a=Sb(a,0,1);if(a){break a}}c=P[b>>1];a=c<<16>>16;if((a|0)<=0){break b}M[(N[b+12>>2]+(c<<1)|0)-2>>1]=P[b+2>>1]-1}a=P[b>>1]}M[b>>1]=a+1;a=0}return a|0}function rc(a,b,c,d){var e=0,f=0,g=0;a:{e=N[b>>2];if((e|0)>7){break a}b:{if(c>>>0>=d>>>0){break b}while(1){f=d-1|0;g=O[f|0];if((g|0)!=32&(g|0)!=9){break b}d=f;if(d>>>0>c>>>0){continue}break}d=c}if(c>>>0>=d>>>0){break a}a=(e<<3)+a|0;N[a+4>>2]=d;N[a>>2]=c;N[b>>2]=N[b>>2]+1}}function hd(a,b,c){var d=0,e=0,f=0,g=0;e=nb(b)+nb(c)|0;d=e+1|0;a:{b:{if(e>>>0<=2147483646){a=Qa[N[a+4>>2]](a,d)|0;if(a){break b}return 0}a=0;if(d){break a}}d=gi(b,47);c:{if(d){e=b;b=(d-b|0)+1|0;f=fg(a,e,b)+b|0,g=0,L[f|0]=g;b=d+1|0;break c}L[a|0]=0}a=wn(wn(a,c),b)}return a}function Qx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;b=N[a+24>>2];f=N[b+20>>2];a:{b:{if(f){e=85;if(!(Qa[f|0](b,c,0,0)|0)){break b}break a}e=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=c;e=Bb(b,d);if(e){break a}N[a+196>>2]=N[b+32>>2];N[a+200>>2]=N[b+36>>2];e=0}return e|0}function ho(a){var b=0,c=0,d=0;b=N[a+40>>2];c=Qa[b|0](a,0,0,O[a|0]&128?N[a+20>>2]==N[a+28>>2]?1:2:1)|0;b=Pa;a:{if((b|0)<0){break a}d=N[a+8>>2];if(d){a=a+4|0}else{d=N[a+28>>2];if(!d){break a}a=a+20|0}a=N[a>>2]-d|0;c=a+c|0;b=(a>>31)+b|0;b=a>>>0>c>>>0?b+1|0:b}Pa=b;return c}function ue(a,b,c){var d=0,e=0,f=0;a:{if(!b){d=a;break a}while(1){d=WE(a,b,10,0);e=Pa;a=UE(d,e,246,0)+a|0;c=c-1|0;L[c|0]=a|48;f=b>>>0>9;a=d;b=e;if(f){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;L[c|0]=T(a,246)+d|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function Lh(a,b,c,d){var e=0,f=0,g=0;f=N[147443]+1|0;N[147443]=f;N[a>>2]=f;if(d){while(1){g=(e<<3)+c|0;if(!N[g>>2]){N[g>>2]=f;a=(e<<3)+c|0;N[a+4>>2]=b;N[a+8>>2]=0;Ma=d;return c}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=Lh(e,b,$a(c,d<<4|8),a);Ma=a;return b}function cf(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+-2.5050760253406863e-8)+(d*(d*27557313707070068e-22+-.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+-.16666666666666632)+a}return a-(d*(b*.5-f*e)-b+e*.16666666666666632)}function Su(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=N[a+420>>2];if((d|0)>0){f=N[a+424>>2];g=O[b|0];while(1){a:{e=N[(c<<2)+f>>2];if(O[e|0]!=(g|0)){break a}if(cb(b,e)){break a}return Kb(N[N[a+428>>2]+(c<<2)>>2],0)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function tB(a,b){a=a|0;b=b|0;var c=0,d=0;c=6;a:{if(!a){break a}d=N[b>>2];if(!d){break a}c=Qa[N[d+4>>2]](d,16)|0;if(!c){return!c<<6}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[a+4>>2];N[c>>2]=N[a>>2];N[c+4>>2]=d;N[c+12>>2]=N[b+4>>2];N[b+4>>2]=c;c=0}return c|0}function nv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(!N[c+80>>2]){e=b-a|0;b=e+1|0;b:{if(e>>>0<=2147483646){d=N[c>>2];b=Qa[N[d+4>>2]](d,b)|0;if(b){break b}d=64;break a}d=6;if(b){break a}b=0}N[c+80>>2]=b;F(b,a,e);L[N[c+80>>2]+e|0]=0}return 0}N[c+80>>2]=0;return d|0}function tw(a){a=a|0;var b=0,c=0,d=0;c=N[a+16>>2];b=161;a:{if(Q[a+20>>2]>>0){break a}d=N[a+32>>2];c=Lc(a,N[c>>2]);b=3;if(c-17>>>0<4294967281){break a}M[d+176>>1]=c;b=d;d=(N[a+20>>2]-N[a+16>>2]>>>2|0)-4|0;M[b+178>>1]=d;M[a+38>>1]=d;M[a+36>>1]=c;b=0}return b|0}function rs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+44>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function Is(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+28>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function $r(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+48>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function zB(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+16>>2];N[a+32>>2]=b;d=N[a+20>>2];N[a+36>>2]=d;c=N[a+8>>2];e=c+N[a>>2]|0;N[a+8>>2]=e>>1;b=b+c|0;N[a+24>>2]=b>>1;N[a+16>>2]=b+e>>2;b=N[a+12>>2];c=b+N[a+4>>2]|0;N[a+12>>2]=c>>1;b=b+d|0;N[a+28>>2]=b>>1;N[a+20>>2]=b+c>>2}function mu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+4>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function Ye(a){var b=0,c=0,d=0;a:{if(!a){break a}b=L[a|0];d=b&255;if(!d|!(O[(d>>>3|0)+45040|0]>>>(b&7)&1)){break a}while(1){if(c>>>0>429496727){return-1}c=O[b+45072|0]+T(c,10)|0;b=L[a+1|0];a=a+1|0;if(O[((b&248)>>>3|0)+45040|0]>>>(b&7)&1){continue}break}}return c}function si(a){var b=0,c=0,d=0,e=0;while(1){b=a;a=a+1|0;c=L[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{switch(c-43|0){case 2:e=1;case 0:b=a;break;default:break a}}while(1){a=L[b|0];if(a-48>>>0<10){b=b+1|0;d=(T(d,10)-a|0)+48|0;continue}break}return e?d:0-d|0}function kE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){L[b+140|0]=a|64;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),L[e+18|0]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}ba(22778,14165,169,12138);B()}function Lu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function $x(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[((c<<2)+a|0)+268>>2];e=N[a+508>>2];c=N[a+512>>2];a=N[a+516>>2];if((b|0)>=0){a=((a+d|0)-c|0)+b|0;a=c+(a-((a|0)%(e|0)|0)|0)|0;return((a|0)<0?c:a)|0}a=a+d-(b+c)|0;a=(a|0)%(e|0)-(a+c)|0;return((a|0)>0?0-c|0:a)|0}function oe(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;a:{if(!b){b=0;break a}d=b;b=W(b);hc(c,d,0,0,0,b+81|0);d=0+N[c+8>>2]|0;b=(N[c+12>>2]^65536)+(16414-b<<16)|0;f=e>>>0>d>>>0?b+1|0:b;e=N[c+4>>2];b=N[c>>2]}N[a>>2]=b;N[a+4>>2]=e;N[a+8>>2]=d;N[a+12>>2]=f;La=c+16|0}function NC(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;a=0;g=N[b+12>>2];a:{if(vc(g,c,N[b>>2])){break a}b=N[g+84>>2];if(N[b+72>>2]!=1869968492|M[b+110>>1]>>>0<=d>>>0){break a}a=N[b+112>>2]+(d<<3)|0;N[e>>2]=N[a>>2];N[f>>2]=N[a+4>>2];a=1}return a|0}function Kw(a,b){a=a|0;b=b|0;var c=0;a=N[a+712>>2];b=P[N[a+1188>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[a+1356>>2]){break a}return N[N[a+1360>>2]+(b<<2)>>2]}a=N[a+3084>>2];if(!a){break a}c=Qa[N[a+20>>2]](b)|0}return c|0}function yv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=N[a>>2];c=N[b+408>>2];N[a+16>>2]=c;d=N[b+416>>2];N[a+20>>2]=d;a:{if(c>>>0<2){break a}b=N[d>>2];a=1;while(1){e=b;b=N[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function jv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[a+88>>2];if(b){N[b>>2]=N[a+300>>2]}if(c){N[c>>2]=N[a+304>>2]}a:{if(!f){c=65536;a=65536;break a}a=N[a+304>>2];c=fb(P[f+12>>1]<<6,a);a=fb(P[f+14>>1]<<6,a)}if(d){N[d>>2]=c}if(e){N[e>>2]=a}return 0}function hv(a){a=a|0;var b=0,c=0,d=0,e=0;d=11;b=N[a+4>>2];a:{if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[N[b>>2]>>2];if(cb(N[e+8>>2],15504)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}N[a+28>>2]=e;d=0}return d|0}function Vt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=La-16|0;La=e;a=Pf(a,b,e+12|0);if(!a){a:{if(d>>>0<2){break a}b=N[e+12>>2];while(1){f=O[b|0];if(!f){break a}L[c|0]=f;c=c+1|0;b=b+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0}La=e+16|0;return a|0}function Dh(a){var b=0,c=0,d=0;c=La-16|0;La=c;L[c+15|0]=10;b=N[a+16>>2];a:{if(!b){if(Hh(a)){break a}b=N[a+16>>2]}d=b;b=N[a+20>>2];if(!((d|0)==(b|0)|N[a+80>>2]==10)){N[a+20>>2]=b+1;L[b|0]=10;break a}if((Qa[N[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}La=c+16|0}function mi(a){var b=0,c=0;b=N[a+72>>2];N[a+72>>2]=b-1|b;if(N[a+20>>2]!=N[a+28>>2]){Qa[N[a+36>>2]](a,0,0)|0}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;b=N[a>>2];if(b&4){N[a>>2]=b|32;return-1}c=N[a+44>>2]+N[a+48>>2]|0;N[a+8>>2]=c;N[a+4>>2]=c;return b<<27>>31}function Yt(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=179264;b:{if(!cb(16067,b)){break b}c=179272;if(!cb(15866,b)){break b}c=179280;if(!cb(9592,b)){break b}c=179288;if(!cb(15278,b)){break b}if(cb(10557,b)){break a}c=179296}a=N[c+4>>2]}return a|0}function Ft(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{if(c){c=Qa[N[a+516>>2]](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Qa[N[a+516>>2]](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=rb(b,178592,a);if(c){break a}N[a+36>>2]=0;N[a+40>>2]=0;c=0}return c|0}function Gz(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;N[a+16>>2]=N[b+16>>2];c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;d=N[b>>2];c=N[b+4>>2];b=kb(c+1|0);if(b){F(b,d,c);L[b+c|0]=0}N[a>>2]=b;return(b|0)!=0|0}function cd(a,b,c){var d=0,e=0,f=0,g=0;N[a+112>>2]=b;N[a+116>>2]=c;e=N[a+4>>2];d=N[a+44>>2]-e|0;N[a+120>>2]=d;N[a+124>>2]=d>>31;d=N[a+8>>2];a:{if(!(b|c)){break a}f=d-e|0;g=f>>31;if((c|0)>=(g|0)&b>>>0>=f>>>0|(c|0)>(g|0)){break a}d=b+e|0}N[a+104>>2]=d}function vA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=N[b>>2]+1|0;d=N[a+16>>2];c=c>>>0>d>>>0?c:d;d=d+N[a+20>>2]|0;a:{if(c>>>0>>0){e=N[a+24>>2];while(1){a=P[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}N[b>>2]=c;return a|0}function Dl(){var a=0,b=0,c=0,d=0,e=0;b=th(19476);a=2;a:{if(!b){break a}a=2;if(!O[b|0]){break a}while(1){c=lc(b,58);if(!c){c=nb(b)+b|0}e=a|4;d=a;a=c-b|0;a=bb(b,16042,a)?d:(a|0)==24?e:d;b=(O[c|0]!=0)+c|0;if(O[b|0]){continue}break}a=a&255}N[147450]=a}function ob(a,b){var c=0,d=0,e=0;c=a>>31;d=(c^a)-c|0;c=b>>31;c=(c^b)-c|0;a:{if(d+(c>>>8|0)>>>0<=8190){c=T(c,d)+32768>>>16|0;break a}e=d&65535;c=T(e,c>>>16|0)+T(c,d>>>16|0)+(T(c&65535,e)+32768>>>16)|0}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-c|0:c}function Qv(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=34576;b:{if(!cb(9676,b)){break b}c=34584;if(!cb(15866,b)){break b}c=34592;if(!cb(12514,b)){break b}c=34600;if(!cb(20421,b)){break b}if(cb(11276,b)){break a}c=34608}a=N[c+4>>2]}return a|0}function Vd(a,b){var c=0,d=0,e=0;A(+a);d=v(1)|0;e=v(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=Vd(a*0x10000000000000000,b);c=N[b>>2]+-64|0}N[b>>2]=c;return a}N[b>>2]=c-1022;x(0,e|0);x(1,d&-2146435073|1071644672);a=+z()}return a}function ly(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=M[a+302>>1];if(e){f=N[b+12>>2]+(c<<3)|0;g=f,h=jb(d,e,N[a+596>>2])+N[f>>2]|0,N[g>>2]=h}e=M[a+304>>1];if(e){b=N[b+12>>2]+(c<<3)|0;g=b,h=jb(d,e,N[a+596>>2])+N[b+4>>2]|0,N[g+4>>2]=h}}function nc(a){var b=0,c=0;c=N[a+12>>2];a:{if((c|0)==N[a+8>>2]){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=161;return 0}if(N[c-4>>2]!=2){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=160;return 0}b=a;a=c-8|0;N[b+12>>2]=a;b=N[a>>2]}return b}function Qm(a,b){var c=0,d=0,e=0,f=0;c=b>>>20&2047;e=0;a:{if(c>>>0<1023){break a}e=2;if(c>>>0>1075){break a}c=1075-c|0;d=c&31;if((c&63)>>>0>=32){c=1<>>32-d;d=f}f=d-1|0;e=0;if(a&f|b&c-!d){break a}e=a&d|b&c?1:2}return e}function yw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=La-16|0;La=e;f=N[N[a+128>>2]+52>>2];a:{if(f){a=Qa[N[N[f>>2]>>2]](N[f+4>>2],b,e+8|0)|0;N[c>>2]=N[e+8>>2];N[d>>2]=N[e+12>>2];break a}a=Xf(N[a+712>>2]+1204|0,b,c,d)}La=e+16|0;return a|0}function rv(a){a=a|0;var b=0,c=0;c=N[N[a+188>>2]>>2];b=N[a+168>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+172>>2]=0;N[a+164>>2]=0;N[a+168>>2]=0;b=N[a+184>>2];if(b){Qa[N[c+8>>2]](c,b)}L[a+192|0]=0;N[a+184>>2]=0;N[a+188>>2]=0;N[a+176>>2]=0;N[a+180>>2]=0}function bf(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+d*d*(c*(c*-11359647557788195e-27+2.087572321298175e-9)+-2.7557314351390663e-7))-a*b))}function bD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;return 0}function ev(a,b){a=a|0;b=b|0;var c=0;c=La-32|0;La=c;Qa[N[a>>2]](c+8|0,b);a=eb(24);b=N[c+28>>2];N[a+16>>2]=N[c+24>>2];N[a+20>>2]=b;b=N[c+20>>2];N[a+8>>2]=N[c+16>>2];N[a+12>>2]=b;b=N[c+12>>2];N[a>>2]=N[c+8>>2];N[a+4>>2]=b;La=c+32|0;return a|0}function Mm(a,b){a=a|0;b=b|0;var c=0;c=N[a+136>>2];N[b>>2]=N[a+132>>2];N[b+4>>2]=c;c=N[a+160>>2];N[b+24>>2]=N[a+156>>2];N[b+28>>2]=c;c=N[a+152>>2];N[b+16>>2]=N[a+148>>2];N[b+20>>2]=c;c=N[a+144>>2];N[b+8>>2]=N[a+140>>2];N[b+12>>2]=c;return 0}function Bv(a,b){a=a|0;b=b|0;var c=0;c=N[a+192>>2];N[b+24>>2]=N[a+188>>2];N[b+28>>2]=c;c=N[a+184>>2];N[b+16>>2]=N[a+180>>2];N[b+20>>2]=c;c=N[a+176>>2];N[b+8>>2]=N[a+172>>2];N[b+12>>2]=c;c=N[a+168>>2];N[b>>2]=N[a+164>>2];N[b+4>>2]=c;return 0}function cs(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[b>>2];a:{if(c>>>0>65534){break a}if(L[a+20|0]&1){return Il(N[a>>2],N[a+16>>2],b,1)|0}if((c|0)==N[a+24>>2]){Gl(a);c=N[a+28>>2];if(!c){break a}N[b>>2]=N[a+24>>2];return c|0}d=Hl(a,b,1)}return d|0}function _x(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[((c<<2)+a|0)+268>>2];c=N[a+512>>2];e=N[a+516>>2];if((b|0)>=0){a=c+(((b+d|0)+e|0)-c&0-N[a+508>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d+e-(b+c)&0-N[a+508>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function lz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=N[a+28>>2];d=N[a+20>>2];b=N[b+28>>2];e=N[b+20>>2];c=-1;a:{if((d|0)<(e|0)){break a}c=1;if((d|0)>(e|0)){break a}a=N[a+16>>2];b=N[b+16>>2];c=-1;if((a|0)<(b|0)){break a}c=(a|0)>(b|0)}return c|0}function _B(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(N[a+4>>2]){break a}e=c;g=a+52|0;f=N[g>>2];c=N[a+16>>2];if((e|0)!=(f+c|0)){break a}e=N[a>>2];c=Cg(a+16|0,d,f,c,b,e);if(!c){c=Cg(g,d,0,f,b,e);if(!c){break a}}N[a+4>>2]=c}}function SA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+20>>2];if(O[a+68|0]){a=N[e+8>>2];f=M[e+2>>1];g=N[e+4>>2]+(f<<3)|0;N[g+4>>2]=((c>>31)+c|0)+32768>>16;N[g>>2]=((b>>31)+b|0)+32768>>16;L[a+f|0]=d?1:2}M[e+2>>1]=P[e+2>>1]+1}function Nt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;a:{if(!d|!e){break a}g=P[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=N[a+156>>2]+(b<<4)|0;N[c>>2]=N[a>>2];N[d>>2]=N[a+8>>2];g=N[a+12>>2]}N[e>>2]=g;f=0}return f|0}function Oz(a){a=a|0;var b=0,c=0,d=0,e=0;c=La-32|0;La=c;a=N[a+4>>2];a:{if(!a){break a}b=N[a+96>>2];d=N[N[b>>2]+32>>2];if(!d){break a}b=Qa[d|0](b,12514)|0;if(!b){break a}b=N[b>>2];if(!b){break a}e=!(Qa[b|0](a,c)|0)}La=c+32|0;return e|0}function xv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[a+16>>2];if(c){f=N[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=N[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function dB(a){a=a|0;var b=0,c=0;if(N[a+12>>2]==-559038737){c=N[a+32>>2];b=N[a>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+28>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+12>>2]=0;N[a+28>>2]=0}}function im(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=La-16|0;La=c;e=c+4|0;Qa[N[a>>2]](e,b);b=O[c+15|0];f=b<<24>>24;a=(f|0)<0;b=a?N[c+8>>2]:b;d=kb(b+4|0);N[d>>2]=b;g=N[c+4>>2];F(d+4|0,a?g:e,b);if((f|0)<0){_a(g)}La=c+16|0;return d|0}function bb(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=O[a|0];a:{if(!d){break a}while(1){b:{e=O[b|0];if((e|0)!=(d|0)|!e){break b}c=c-1|0;if(!c){break b}b=b+1|0;d=O[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-O[b|0]|0}function Wt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=xh(a,18649,d);a:{if(e){break a}e=xh(a,19963,d+8|0);if(e){break a}e=6;if(N[d>>2]!=1|N[d+8>>2]!=1){break a}N[b>>2]=N[d+12>>2];N[c>>2]=N[d+4>>2];e=0}La=d+16|0;return e|0}function rg(a,b,c){var d=0;c=(1-c)*+O[a|0]+ +(b>>>0)*c;A(+c);b=v(1)|0;d=v(0)|0;b=b&2147483647;d=(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072;if(V(c)<2147483648){b=~~c}else{b=-2147483648}L[a|0]=c>=2147483648?0:c<=-2147483648?0:d?0:b}function pv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;qm(a,b,c,d);b=N[a+300>>2];a=N[a+304>>2];a:{if((b|0)==(a|0)){break a}c=N[d>>2];if(c){e=d,f=jb(c,b,a),N[e>>2]=f}c=N[d+4>>2];if(!c){break a}e=d,f=jb(c,b,a),N[e+4>>2]=f}return 0}function iy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{switch(N[N[N[a>>2]+96>>2]+64>>2]-35|0){case 5:if(O[a+643|0]){break a}break;case 0:break b;default:break a}}a=N[b+16>>2]+(c<<3)|0;N[a>>2]=N[a>>2]+d}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|8}function uw(a){a=a|0;var b=0,c=0,d=0,e=0;b=161;c=N[a+16>>2];a:{if(Q[a+20>>2]>>0){break a}d=N[a+32>>2];b=3;e=Lc(a,N[c>>2]);if((e|0)<0){break a}N[d+120>>2]=e;a=Lc(a,N[c+4>>2]);if((a|0)<0){break a}N[d+116>>2]=a;b=0}return b|0}function kB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!cb(b,16934)){a=N[a+64>>2];break b}if(!cb(b,12859)){a=O[a+68|0];break b}if(!cb(b,7976)){a=O[a+69|0];break b}d=12;if(cb(b,10583)){break a}a=O[a+70|0]}N[c>>2]=a;d=0}return d|0}function dA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=N[a>>2];d=a&2147483647;b=N[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function $B(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(N[a+4>>2]){break a}d=N[a+16>>2];e=a+52|0;f=N[e>>2];if((d+f|0)!=(b|0)){break a}g=N[a>>2];b=Cg(a+16|0,c,0,d,0,g);if(!b){b=Cg(e,c,d,f,0,g);if(!b){break a}}N[a+4>>2]=b}}function Zb(a,b,c){var d=0,e=0,f=0;d=N[a+8>>2];f=N[a+4>>2];if(d>>>0>>0){e=N[a+20>>2];a:{if(e){b=Qa[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>>0?b:c;F(e,N[a>>2]+d|0,b)}N[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function qD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];if(e){L[d|0]=0}g=N[a+96>>2];b=N[g+80>>2];f=N[a+100>>2];g=N[g+12>>2];if(!g){return Qa[b|0](a,f,c,d,e,0)|0}return Qa[b|0](a,f,c,d,e,N[g+60>>2])|0}function pD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];N[e>>2]=0;if((d|0)==-1){d=nb(c)}b=N[a+96>>2];f=N[b+84>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+64>>2]}else{b=0}return Qa[f|0](a,g,c,d,e,b)|0}function sw(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+16>>2];if(Q[a+20>>2]>=b+12>>>0){c=N[a+32>>2];d=c,e=Lc(a,N[b>>2]),N[d+132>>2]=e;d=c,e=Lc(a,N[b+4>>2]),N[d+136>>2]=e;d=c,e=Lc(a,N[b+8>>2]),N[d+140>>2]=e;a=0}else{a=161}return a|0}function VE(a,b,c,d){var e=0,f=0,g=0,h=0;f=b^d;g=f>>31;e=b>>31;a=a^e;h=a-e|0;e=(b^e)-((a>>>0>>0)+e|0)|0;a=d>>31;b=c^a;f=f>>31;a=WE(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;Pa=(g^Pa)-((a>>>0>>0)+g|0)|0;return b}function dr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{a=N[a+384>>2];if(!(N[a- -64>>2]!=(d|0)|N[a+68>>2]!=(e|0)|N[a+56>>2]!=(b|0))){if(N[a+60>>2]==(c|0)){break a}}N[a+64>>2]=d;N[a+68>>2]=e;N[a+60>>2]=c;N[a+56>>2]=b;xg(a)}}function eC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(N[a+4>>2]){break a}d=(T((b|0)!=0,36)+a|0)+16|0;b=N[c>>2];e=((b>>31)+b|0)+32768>>16;b=N[c+4>>2];b=of(d,e,((b>>31)+b|0)+32768>>16,N[a>>2],0);if(!b){break a}N[a+4>>2]=b}}function Qz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;a=0;a:{if(vc(b,c,2560)){break a}b=N[b+84>>2];if(M[b+110>>1]>>>0<=d>>>0){break a}a=N[b+112>>2]+(d<<3)|0;N[e>>2]=N[a>>2];N[f>>2]=N[a+4>>2];a=1}return a|0}function Rz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[e+28>>2]=c;c=0;a=sc(N[e>>2],e+8|0,0);if(a){b=N[a>>2];if((b|0)>=0){N[d>>2]=N[a+8>>2];c=N[a+12>>2];N[d+8>>2]=b;N[d+4>>2]=c;N[d+12>>2]=0-N[a+4>>2];c=1}tb(a)}return c|0}function Pz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[N[a>>2]+12>>2];f=N[a+8>>2];a=N[(e+T(f,12)|0)+8>>2];if(!b){return a|0}if(a>>>0>c>>>0){a=a-c|0;g=a>>>0>>0?a:d;F(b,N[(T(f,12)+e|0)+4>>2]+c|0,g)}return g|0}function nD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=f|0;var g=0;a=N[b>>2];f=N[a+12>>2];g=N[b+4>>2];d=U(U(R[b+8>>2]*d)+U(R[b+16>>2]*e));e=U(R[b+12>>2]*e);b=N[a+32>>2];if(b){b=N[b>>2]}else{b=0}Qa[f|0](a,g,c,d,e,b)}function UE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=T(e,f);g=c&65535;h=a&65535;i=T(g,h);f=(i>>>16|0)+T(f,g)|0;e=(f&65535)+T(e,h)|0;Pa=(T(b,c)+j|0)+T(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function Fp(a,b){a=a|0;b=b|0;var c=0;c=N[b+4>>2];N[a+4>>2]=N[b>>2];N[a+8>>2]=c;N[a+28>>2]=N[b+24>>2];c=N[b+20>>2];N[a+20>>2]=N[b+16>>2];N[a+24>>2]=c;c=N[b+12>>2];N[a+12>>2]=N[b+8>>2];N[a+16>>2]=c;Ep(a,b,0);Ep(a,b,1)}function gv(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=36800;b:{if(!cb(9592,b)){break b}c=36808;if(!cb(15866,b)){break b}c=36816;if(!cb(12514,b)){break b}if(cb(9676,b)){break a}c=36824}a=N[c+4>>2]}return a|0}function Tt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=La-16|0;La=d;e=N[a+16>>2];a:{if((e|0)>0){while(1){if(!Pf(a,c,d+12|0)){if(!cb(b,N[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}La=d+16|0;return c|0}function gy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break a}}a=N[b+16>>2]+(c<<3)|0;N[a+4>>2]=N[a+4>>2]+d}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|16}function Xh(a,b,c,d){var e=0,f=0;f=N[a+4>>2];if(f>>>0>b>>>0){e=N[a+20>>2];a:{if(e){c=Qa[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>>0?c:d;F(e,N[a>>2]+b|0,c)}N[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Ex(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(cb(b,12798)){break a}e=7;b:{c:{if(d){b=Kb(c,0);break c}b=N[c>>2]}switch(b-35|0){case 0:case 5:break b;default:break a}}N[a+64>>2]=b;e=0}return e|0}function pt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=Qa[N[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){N[(c?756:752)+a>>2]=N[d+12>>2];N[(c?856:852)+a>>2]=N[b+8>>2]}La=d+16|0;return e|0}function On(a,b,c){var d=0;d=N[a+16>>2];if(!d){N[a+36>>2]=1;N[a+24>>2]=c;N[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(N[a+24>>2]!=2){break a}N[a+24>>2]=c;return}L[a+54|0]=1;N[a+24>>2]=2;N[a+36>>2]=N[a+36>>2]+1}}function ht(a){a=a|0;var b=0,c=0,d=0;b=N[a+868>>2];if(b){c=N[a+100>>2];a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}d=N[b+12>>2];if(!d){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,d)}N[b+12>>2]=0;Qa[N[c+8>>2]](c,b)}}function gt(a){a=a|0;var b=0,c=0,d=0;b=N[a+872>>2];if(b){c=N[a+100>>2];a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}d=N[b+36>>2];if(!d){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,d)}N[b+36>>2]=0;Qa[N[c+8>>2]](c,b)}}function Jm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d>>>0<2){break a}b=N[N[a+424>>2]+(b<<2)>>2];while(1){a=O[b|0];if(!a){break a}L[c|0]=a;c=c+1|0;b=b+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0;return 0}function Ab(a,b,c,d){var e=0,f=0;a:{if(b-a>>>0>>0){break a}while(1){a=ub(a,c);e=(a|0)!=0&a>>>0>>0;if(!e){break a}a=a+d|0;f=O[a|0];if((f-48&255)>>>0<10|((f&-33)-65&255)>>>0<26){continue}break}}return e}function ty(a){a=a|0;var b=0,c=0;b=P[a+256>>1];c=cg(a);a=c>>31;a=(a^c)-a|0;a:{if((a>>>8|0)+b>>>0<=8190){a=T(a,b)+32768>>>16|0;break a}a=T(a>>>16|0,b)+(T(a&65535,b)+32768>>>16|0)|0}return((c|0)<0?0-a|0:a)|0}function rj(a){var b=0;a:{b=a;a=nb(a);if((((vd(b,1,a,589104)|0)!=(a|0)?-1:0)|0)<0){break a}b:{if(N[147296]==10){break b}a=N[147281];if((a|0)==N[147280]){break b}N[147281]=a+1;L[a|0]=10;break a}Dh(589104)}}function cv(a){a=a|0;var b=0,c=0,d=0;b=La-16|0;La=b;d=Bn(N[N[a>>2]+504>>2],b+12|0);c=N[b+12>>2];if(!d){N[a+44>>2]=c}a:{if(!c){break a}a=N[c>>2];if(!a|!N[a+96>>2]){break a}N[a+88>>2]=c}La=b+16|0;return d|0}function Nc(a,b,c){var d=0,e=0,f=0;if(!b){N[c>>2]=0;return 0}e=c;c=nb(b);d=c+1|0;f=!d;a:{if(c>>>0<=2147483646){c=Qa[N[a+4>>2]](a,d)|0;a=!c<<6;break a}c=0;a=d?6:0}if(!(f|a)){F(c,b,d);a=0}N[e>>2]=a;return c}function jc(a,b,c,d,e){var f=0;f=La-256|0;La=f;if(!(e&73728|(c|0)<=(d|0))){d=c-d|0;c=d>>>0<256;ve(f,b&255,c?d:256);if(!c){while(1){ac(a,f,256);d=d-256|0;if(d>>>0>255){continue}break}}ac(a,f,d)}La=f+256|0}function Zf(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[a+1356>>2]){break a}return N[N[a+1360>>2]+(b<<2)>>2]}a=N[a+3084>>2];if(!a){break a}c=Qa[N[a+20>>2]](b)|0}return c}function CD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];N[e>>2]=0;b=N[a+96>>2];f=N[b+36>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+16>>2]}else{b=0}return Qa[f|0](a,g,c,d,e,b)|0}function Tz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[f+28>>2]=c;c=0;a=sc(N[f>>2],f+8|0,0);if(a){if(N[a>>2]>=0){N[d>>2]=N[a+8>>2]-N[a+20>>2];N[e>>2]=N[a+24>>2]+N[a+12>>2];c=1}tb(a)}return c|0}function pA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+20>>2];if(O[a+65|0]){a=N[e+8>>2];f=M[e+2>>1];g=N[e+4>>2]+(f<<3)|0;N[g+4>>2]=c>>10;N[g>>2]=b>>10;L[a+f|0]=d?1:2}M[e+2>>1]=P[e+2>>1]+1}function ds(a,b){a=a|0;b=b|0;var c=0,d=0;c=La-16|0;La=c;N[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(L[a+20|0]&1){d=Il(N[a>>2],N[a+16>>2],c+12|0,0);break a}d=Hl(a,c+12|0,0)}a=d;La=c+16|0;return a|0}function Un(a){var b=0,c=0,d=0;d=N[a>>2];while(1){c=L[d|0];if(c-48>>>0<10){d=d+1|0;N[a>>2]=d;if(b>>>0<=214748364){c=c-48|0;b=T(b,10);b=(c|0)>(b^2147483647)?-1:c+b|0}else{b=-1}continue}break}return b}function Hz(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+4>>2];a:{if((c|0)!=N[b+4>>2]){break a}if(Mb(N[a>>2],N[b>>2],c)|N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2]){break a}d=N[a+16>>2]==N[b+16>>2]}return d|0}function jw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=N[a+712>>2];a:{b:{if(!a){break b}d=6;if(N[a+1504>>2]==65535|Q[a+20>>2]<=b>>>0){break a}if(!c){break b}N[c>>2]=P[N[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function Eo(a,b){var c=0,d=0;c=a-1|0;if(!(c&a)){a:{if(-5-a>>>0<=b>>>0){break a}b=kb((a+b|0)+3|0);if(!b){break a}d=a;a=b+4|0;c=a&c;d=(c?d-c|0:0)+a|0;N[d-4>>2]=b}return d}ba(24218,18049,61,17717);B()}function rr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=(b|c)>=0;e=d?c:0;f=d?b:0;d=N[a+384>>2];if(!((f|0)==N[d+16>>2]&N[d+20>>2]==(e|0))){N[d+16>>2]=f;N[d+20>>2]=e;xg(d)}N[a+392>>2]=b;N[a+396>>2]=c}function qg(a){var b=0,c=0;pg(a);Qa[N[a+12>>2]](a)|0;if(!(L[a|0]&1)){b=N[a+52>>2];if(b){N[b+56>>2]=N[a+56>>2]}c=N[a+56>>2];if(c){N[c+52>>2]=b}if(N[147575]==(a|0)){N[147575]=c}_a(N[a+96>>2]);_a(a)}}function ji(a,b){var c=0,d=0;c=O[a-1|0]<<2;a:{if(c>>>0>b>>>0){break a}d=a;a=b-c|0;b=d+(T(a,5)>>>2|0)|0;a=a<<1&6;b=O[b+1|0]<<8-a&1020|O[b|0]>>>a;if(b>>>0<256){break a}b=P[(b<<1)+565472>>1]}return b}function qw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=3;c=N[a+32>>2];a:{if(!c){break a}d=N[c+364>>2];if(!d){break a}b=160;if(O[d+557|0]){break a}e=c,f=Lc(a,N[N[a+16>>2]>>2]),N[e+360>>2]=f;b=0}return b|0}function ux(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;b=_e(a,b,c+8|0,c+7|0);a:{if(b){break a}a=N[N[N[a+4>>2]+128>>2]+52>>2];if(!a){break a}Qa[N[N[a>>2]+4>>2]](N[a+4>>2],c+8|0)}La=c+16|0;return b|0}function yd(a,b,c){var d=0,e=0;a:{if((a|0)<=0){break a}while(1){b:{e=cb(N[T(d,12)+b>>2],c);d=d+1|0;if((d|0)>=(a|0)){break b}if(e){continue}}break}if(e){break a}return(T(d,12)+b|0)-12|0}return 0}function Mw(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[b>>2];N[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=P[N[a+16>>2]+(c<<1)>>1];if(!d){continue}break}N[b>>2]=c;return d|0}function hz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=La-16|0;La=e;a=ta(N[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){N[147316]=a;a=-1}else{a=0}La=e+16|0;Pa=a?-1:N[e+12>>2];return(a?-1:N[e+8>>2])|0}function Qn(a,b){var c=0,d=0;c=La-16|0;La=c;if(b&64){N[c+12>>2]=4;d=N[0]}else{d=0}N[c>>2]=d;N[c+4>>2]=0;a=na(-100,a|0,b|32768,c|0)|0;if(a>>>0>=4294963201){N[147316]=0-a;a=-1}La=c+16|0;return a}function nt(a){a=a|0;var b=0,c=0;b=a+788|0;a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}c=N[b>>2];if(!c){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,c)}N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}function Xc(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=N[a+8>>2]+b|0;d=N[a+20>>2];b:{if(d){if(!(Qa[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=b;c=0}return c}function oC(a){a=a|0;N[a+24>>2]=500;N[a+28>>2]=400;L[a+20|0]=1;N[a+12>>2]=86;N[a+16>>2]=30;N[a+48>>2]=2333;N[a+52>>2]=0;N[a+40>>2]=1667;N[a+44>>2]=275;N[a+32>>2]=1e3;N[a+36>>2]=275;return 0}function Rn(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:L[a|0]=c;return;case 1:M[a>>1]=c;return;case 2:case 3:N[a>>2]=c;return;case 5:break b;default:break a}}N[a>>2]=c;N[a+4>>2]=d}}function Hh(a){var b=0;b=N[a+72>>2];N[a+72>>2]=b-1|b;b=N[a>>2];if(b&8){N[a>>2]=b|32;return-1}N[a+4>>2]=0;N[a+8>>2]=0;b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;N[a+16>>2]=b+N[a+48>>2];return 0}function Pw(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+420>>2];a:{if((c|0)>0){d=N[a+424>>2];a=0;while(1){if(!cb(b,N[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function Nh(a,b,c,d,e,f,g,h,i){var j=0;j=La-16|0;La=j;pc(j,b,c,d,e,f,g,h,i^-2147483648);d=N[j>>2];c=N[j+4>>2];b=N[j+12>>2];N[a+8>>2]=N[j+8>>2];N[a+12>>2]=b;N[a>>2]=d;N[a+4>>2]=c;La=j+16|0}function Ir(a){a=a|0;if(a){_a(N[a+356>>2]);_a(N[a+316>>2]);_a(N[a+276>>2]);_a(N[a+236>>2]);_a(N[a+196>>2]);_a(N[a+156>>2]);_a(N[a+116>>2]);_a(N[a+76>>2]);_a(N[a+36>>2]);_a(N[a>>2]);_a(a)}}function Nz(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b){return 1}a=N[a+4>>2];a:{if(!a){break a}c=N[a+92>>2];if(!c){break a}b=Qa[N[N[c+12>>2]+12>>2]](c,b)|0;d=(b|0)!=0&b>>>0>2]}return d|0}function Jb(a,b){var c=0;a:{c=N[a+12>>2];if((c|0)==(N[a+8>>2]+(N[a+16>>2]<<3)|0)){a=N[a+4>>2];if(!a|N[a>>2]){break a}N[a>>2]=130;return}N[c>>2]=b;b=N[a+12>>2];N[b+4>>2]=0;N[a+12>>2]=b+8}}function Be(a,b){var c=0;a:{c=N[a+12>>2];if((c|0)==(N[a+8>>2]+(N[a+16>>2]<<3)|0)){a=N[a+4>>2];if(!a|N[a>>2]){break a}N[a>>2]=130;return}N[c>>2]=b;b=N[a+12>>2];N[b+4>>2]=2;N[a+12>>2]=b+8}}function cb(a,b){var c=0,d=0;c=O[a|0];d=O[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=O[b+1|0];c=O[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function $y(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=N[a+84>>2];d=c+256|0;f=qe(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;Pc(b,e,c);b=e+d|0;N[a+84>>2]=b;N[a+8>>2]=b;N[a+4>>2]=c+e;return c|0}function uE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!((b|0)==2353|b-2524>>>0<2|(b|0)==2964)){a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;e=(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0}return e|0}function bv(a){a=a|0;var b=0,c=0;a:{b=N[N[N[a>>2]+504>>2]+108>>2];if(!b){break a}c=N[a+44>>2];while(1){if(N[b+8>>2]!=(c|0)){b=N[b+4>>2];if(b){continue}break a}break}vn(c);N[a+44>>2]=0}}function Or(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0>1114109?2:O[(b&1|O[(b>>>1&7|P[(b>>>3&14|O[(b>>>7&15|O[(b>>>11|0)+191264|0]<<4)+191808|0]<<4)+209136>>1]<<3)+192576|0]<<1)+198064|0])|0}function MB(a){a=a|0;var b=0;b=N[a+4>>2];N[b+180>>2]=-21;N[b+184>>2]=0;N[b+196>>2]=21;N[b+200>>2]=0;N[b+188>>2]=0;N[b+192>>2]=0;Qa[N[N[N[a+12>>2]+56>>2]+8>>2]](N[a+52>>2],0,0);return 0}function Kh(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=N[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return N[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function ov(a,b){a=a|0;b=b|0;var c=0;b=N[b+20>>2];c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c}function Lw(a,b){a=a|0;b=b|0;var c=0,d=0;b=N[a>>2];c=N[b+712>>2];if(!N[c+1188>>2]){return 163}d=N[N[c+3084>>2]+4>>2];if(!d){return 7}return Qa[d|0](N[b+100>>2],a,N[c+20>>2],152,0,b)|0}function Li(a){a=a|0;var b=0,c=0;b=N[a+8>>2];if(b){a=N[a+16>>2];c=N[a+4>>2];N[b+108>>2]=N[a>>2];N[b+112>>2]=c;N[b+124>>2]=N[a+16>>2];c=N[a+12>>2];N[b+116>>2]=N[a+8>>2];N[b+120>>2]=c}}function Gx(a,b){a=a|0;b=b|0;var c=0;N[a+116>>2]=b;c=N[a>>2];if(L[c+8|0]&1){Yc(c,b);Th(a);return 0}b=Qa[N[N[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}N[a+116>>2]=-1;return b|0}function tn(a,b){var c=0,d=0;d=N[a+4>>2];c=N[a+12>>2];c=(c|0)<0?(c|0)<(d|0)?d:c:d-c|0;b=b?b:(T(c,12)|0)/10|0;N[a+28>>2]=b;N[a+24>>2]=(b-c|0)/2;N[a+20>>2]=N[a+8>>2]+(N[a+16>>2]/-2|0)}function Au(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=43136;b:{if(!cb(15278,b)){break b}c=43144;if(!cb(9676,b)){break b}if(cb(11276,b)){break a}c=43152}a=N[c+4>>2]}return a|0}function Pr(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?O[(b&3|O[(b>>>2&3|O[(b>>>4&3|O[(b>>>6&7|O[(b>>>9|0)+198442|0]<<3)+198688|0]<<2)+199040|0]<<2)+199500|0]<<2)+200056|0]:0)|0}function Ae(a){var b=0,c=0;b=N[147016];c=a+7&-8;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Ra()<<16>>>0){if(!(za(a|0)|0)){break a}}N[147016]=a;return b}N[147316]=48;return-1}function Os(a,b){a=a|0;b=b|0;N[a+16>>2]=b;b=O[b+6|0]|O[b+7|0]<<8|(O[b+8|0]<<16|O[b+9|0]<<24);N[a+28>>2]=0;N[a+32>>2]=0;N[a+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function Op(a){return a>>>0<=65276?P[(O[(O[((O[(a>>>11|0)+277576|0]>>>(a>>>8&4)<<4&240|a>>>6&14)>>>1|0)+277608|0]>>>(a>>>4&4)<<4&240|a>>>2&15)+277648|0]<<3|(a&3)<<1)+276640>>1]:0}function Nr(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=65379?M[(O[(b>>>2&7|O[(b>>>5&7|O[(b>>>9|0)+200556|0]>>>(b>>>6&4)<<3&120)+200684|0]<<3)+200804|0]<<3|(b&3)<<1)+227776>>1]:0)+b|0}function Ai(a,b){var c=0,d=0;a:{if(a){if(!b){break a}if(N[N[a>>2]+8>>2]>2]+8>>2]){c=a,d=Ai(N[a+8>>2],b),N[c+8>>2]=d;return a}c=b,d=Ai(a,N[b+8>>2]),N[c+8>>2]=d}a=b}return a}function Pp(a){return a>>>0<=65276?P[(O[(a>>>3&15|O[((O[(a>>>13|0)+277440|0]>>>(a>>>10&6)<<4&48|a>>>7&14)>>>1|0)+277448|0]>>>(a>>>5&4)<<4&240)+277480|0]<<4|(a&7)<<1)+276e3>>1]:0}function Nn(a,b){var c=0;a:{if(!b){break a}b=Oc(b,584748);if(!b|N[b+8>>2]&(N[a+8>>2]^-1)){break a}if(!$b(N[a+12>>2],N[b+12>>2],0)){break a}c=$b(N[a+16>>2],N[b+16>>2],0)}return c}function kg(a,b){var c=0;a:{if(!a|!b){break a}c=N[a+4>>2];if(!c){break a}a=M[a+2>>1];if((a|0)<=0){break a}a=(a<<3)+c|0;while(1){id(c,b);c=c+8|0;if(a>>>0>c>>>0){continue}break}}}function Mr(a,b,c){a=a|0;b=b|0;c=c|0;return N[((b>>>0>917999?2:O[(b&7|P[(b>>>2&30|O[(b>>>7&15|O[(b>>>11|0)+201140|0]<<4)+201590|0]<<5)+213216>>1]<<3)+202326|0])<<2)+228176>>2]}function iv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;N[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=Q[a+408>>2]){break a}N[c>>2]=N[(N[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function Vr(a,b){a=a|0;b=b|0;var c=0,d=0;d=N[a+16>>2]+6|0;a=N[b>>2];while(1){a=a+1|0;if(a>>>0>255){N[b>>2]=0;return 0}c=O[a+d|0];if(!c){continue}break}N[b>>2]=a;return c|0}function mw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!O[a|0]|N[a+8>>2]!=(b|0)|N[a+12>>2]!=(c|0)){break a}if(c){if(Mb(d,N[a+16>>2],c<<2)){break a}}e=0}return e|0}function Ml(a,b){a=a|0;b=b|0;N[a+16>>2]=b;b=O[b+12|0]|O[b+13|0]<<8|(O[b+14|0]<<16|O[b+15|0]<<24);L[a+24|0]=0;N[a+40>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function ri(a,b,c){var d=0;if(N[a+72>>2]?b:1){return+N[a+140>>2]*c/+N[N[a+168>>2]+40>>2]+ +N[a+56>>2]}d=S[a+152>>3];return(+N[a+136>>2]-d)*.5+d*c/+N[N[a+168>>2]+40>>2]}function ws(a,b){a=a|0;b=b|0;var c=0;if(!(!O[a+24|0]|N[a+28>>2]!=N[b>>2])){Jl(a);if(!O[a+24|0]){return 0}c=N[a+32>>2];N[b>>2]=N[a+28>>2];return c|0}return Kl(a,b,1)|0}function us(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=12;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function js(a,b){a=a|0;b=b|0;a=N[a+16>>2];b=b-(O[a+6|0]<<8|O[a+7|0])|0;if(b>>>0<(O[a+9|0]|O[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=O[a+10|0]<<8|O[a+11|0]}else{a=0}return a|0}function Bw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){return 37}d=b?d:d|3;if(!(d&1?0:b)){return Yf(a,0,c,d)|0}if(N[b>>2]==N[a+4>>2]){a=Yf(a,b,c,d)}else{a=35}return a|0}function ys(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=13;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function os(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=10;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function ks(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=8;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function Iu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=N[b>>2]+1|0;b=N[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}N[e>>2]=b;return d|0}function TE(a,b){var c=0,d=0;if(a|b){c=b-1|0;d=a-1|0;c=(d|0)!=-1?c+1|0:c;d=W(a^d)+32|0;a=W(b^c);a=(a|0)==32?d:a;b=63-a|0;Pa=0-(a>>>0>63)|0;return b}Pa=0;return 64}function Gv(a,b){a=a|0;b=b|0;var c=0;c=N[b+96>>2];if(!((c|0)<0|N[a+300>>2]<=(c|0))){a=N[a+304>>2]+T(c,252)|0;b=Qa[N[b+40>>2]](b,0)|0;N[a+180>>2]=b;N[a+208>>2]=b}}function BC(a,b){a=a|0;b=b|0;N[a+2748>>2]=b;N[a+2740>>2]=N[b+28>>2];N[a+4>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+8>>2]=N[b+16>>2];N[a+16>>2]=N[b+20>>2];return 0}function zA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+488>>2];N[a+24>>2]=N[b+420>>2];N[a+28>>2]=N[b+424>>2];N[a+20>>2]=N[c+20>>2];N[a+16>>2]=N[c+28>>2];return 0}function iu(a,b){a=a|0;b=b|0;var c=0,d=0;d=N[a>>2];c=N[d+140>>2];Yc(d,b);N[a+24>>2]=N[c+40>>2]<<6;N[a+28>>2]=0-(N[c+44>>2]<<6);N[a+36>>2]=P[c+4>>1]<<6;return 0}function Mu(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];b=N[c+132>>2];Yc(c,0);c=P[b+80>>1];N[a+24>>2]=c<<6;N[a+28>>2]=c-P[b+96>>1]<<6;N[a+36>>2]=P[b+102>>1]<<6;return 0}function DA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+488>>2];N[a+24>>2]=N[b+420>>2];N[a+28>>2]=N[b+424>>2];N[a+20>>2]=N[c+20>>2];N[a+16>>2]=N[c+24>>2];return 0}function iD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=N[b>>2];d=N[a+28>>2];b=N[b+4>>2];e=N[a+32>>2];if(!e){Qa[d|0](a,b,c,0);return}Qa[d|0](a,b,c,N[e+16>>2])}function Et(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=fc(b,N[a+512>>2],a+508|0);if(!c){return 0}N[a+512>>2]=0}return c|0}function KA(a){a=a|0;var b=0,c=0;if(a){c=N[a>>2];b=N[a+108>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+108>>2]=0;b=N[a+116>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+116>>2]=0}}function $D(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!jh(a,1751216995,c)){break a}if(!jh(a,1751413603,c+4|0)){break a}b=jh(a,1751934832,c+8|0)}return b|0}function db(a,b){var c=0,d=0;a:{if(!a){break a}c=UE(a,0,b,0);d=Pa;if((a|b)>>>0<65536){break a}c=d?-1:c}a=kb(c);if(!(!a|!(O[a-4|0]&3))){ve(a,0,c)}return a}function ey(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+32&-64)|0;return a>>31&a}function by(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+63&-64)|0;return a>>31&a}function an(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+540>>2];N[d>>2]=0;N[d+4>>2]=0;if(e){f=d,g=Qa[N[e+84>>2]](a,b,c)|0,N[f>>2]=g}return 0}function Zx(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((a-b|0)+16&-32)|0;return a>>31&a}function dy(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)<0?32:a|32)|0}a=a-b&-64;return((a|0)<-32?-32:a^-32)|0}function cr(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){g=N[g+N[b>>2]>>2]}Qa[g|0](b,c,d,e,f)}function bC(a){a=a|0;var b=0;if(a){N[a+412>>2]=0;N[a+4>>2]=0;N[a+1960>>2]=0;N[a+1444>>2]=0;N[a+928>>2]=0;N[a+208>>2]=0;b=N[a>>2];Qa[N[b+8>>2]](b,a)}}function Xy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if($b(a,N[b+8>>2],f)){Pn(b,c,d,e);return}a=N[a+8>>2];Qa[N[N[a>>2]+20>>2]](a,b,c,d,e,f)}function wu(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];Yc(c,b);N[a+24>>2]=N[c+204>>2]<<6;N[a+28>>2]=0-(N[c+208>>2]<<6);N[a+36>>2]=M[c+236>>1]<<6;return 0}function Xo(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=N[a+12>>2];if((M[a+22>>1]+b|0)+M[a+58>>1]>>>0<=Q[a+4>>2]){break a}c=Sb(a,b,0)}return c|0}function Px(a){a=a|0;var b=0,c=0;a=N[a+24>>2];if(N[a+20>>2]){b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}function vd(a,b,c,d){var e=0;e=T(b,c);a:{if(N[d+76>>2]<0){a=uh(a,e,d);break a}a=uh(a,e,d)}if((e|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function Uq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=N[a+12>>2];N[d>>2]=0;if(!(!b|!c)){e=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return e|0}function Ky(a){a=a|0;var b=0,c=0;a=N[a>>2];b=O[a|0];if(b){while(1){c=(b<<24>>24)+T(c,31)|0;b=O[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function zz(a,b){a=a|0;b=b|0;var c=0;if(!(N[a>>2]!=N[b>>2]|S[a+8>>3]!=S[b+8>>3]|N[a+16>>2]!=N[b+16>>2])){c=N[a+20>>2]==N[b+20>>2]}return c|0}function PC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=La-16|0;La=e;a=qn(N[b+12>>2],c,d,!N[a+72>>2],e+8|0);La=e+16|0;return(a?0:N[e+8>>2])|0}function om(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=T(b,c);a:{if((b|0)<=0){break a}a=Qa[N[a+4>>2]](a,b)|0;if(!a){break a}C(a,0,b);d=a}return d|0}function gi(a,b){var c=0,d=0;c=nb(a)+1|0;d=b&255;while(1){a:{b=0;if(!c){break a}c=c-1|0;b=c+a|0;if((d|0)!=O[b|0]){continue}}break}return b}function dC(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+4>>2];a:{if(c){break a}d=N[a>>2];c=ip(a+16|0,b,d);if(c){break a}c=ip(a+52|0,b,d)}return c|0}function cy(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)>0?a:0)|0}a=0-(a-b&-64)|0;return a>>31&a}function Ns(a){a=a|0;var b=0,c=0;N[a+28>>2]=0;b=N[a+36>>2];a:{if(!b){break a}c=N[a+32>>2];if(!c){break a}Qa[N[b+8>>2]](b,c);N[a+32>>2]=0}}function uA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[N[b+488>>2]+4>>2];if(!c){return 7}return Qa[c|0](N[b+100>>2],a,N[b+420>>2],360,0,b)|0}function lo(a,b,c){if(N[a+72>>2]?b:1){return+N[a+140>>2]*c/+N[N[a+168>>2]+40>>2]+ +N[a+56>>2]}return S[a+152>>3]*c/+N[N[a+168>>2]+40>>2]}function IE(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0;e=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){e=N[e+N[b>>2]>>2]}return Qa[e|0](b,c,d)|0}function bz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=N[b>>2]+7&-8;N[c>>2]=b+16;d=a,e=ym(N[b>>2],N[b+4>>2],N[b+8>>2],N[b+12>>2]),S[d>>3]=e}function Ss(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[N[b+544>>2]+4>>2];if(!c){return 7}return Qa[c|0](N[b+100>>2],a,N[b+16>>2],190,0,b)|0}function vv(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(11349,b)){if(cb(9676,b)){break a}a=36632}else{a=36624}a=N[a+4>>2]}return a|0}function ou(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(15278,b)){if(cb(9676,b)){break a}a=43640}else{a=43632}a=N[a+4>>2]}return a|0}function gs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+44>>2]=f}function Sr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+48>>2]=f}function As(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+28>>2]=f}function gu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+4>>2]=f}function Wz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[d+28>>2]=c;c=0;a=sc(N[d>>2],d+8|0,0);if(a){c=N[a>>2]>=0?N[a+16>>2]:c;tb(a)}return c|0}function Vz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[d+28>>2]=c;c=0;a=sc(N[d>>2],d+8|0,0);if(a){c=N[a>>2]>=0?N[a+28>>2]:c;tb(a)}return c|0}function Ru(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(9676,b)){if(cb(9772,b)){break a}a=37624}else{a=37616}a=N[a+4>>2]}return a|0}function lg(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=N[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=N[c>>2];N[a>>2]=d<>2]=c<>>32-b}function es(a,b){a=a|0;b=b|0;var c=0;N[a+16>>2]=b;c=O[b+7|0];b=O[b+6|0];N[a+24>>2]=-1;N[a+28>>2]=0;N[a+32>>2]=(b<<8|c)>>>1;return 0}function FC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Cb(d,U(N[a>>2]),U(N[a+4>>2]),U(N[b>>2]),U(N[b+4>>2]),U(N[c>>2]),U(N[c+4>>2]));return 0}function Ev(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){N[b>>2]=N[a+152>>2]}if(c){N[c>>2]=N[a+156>>2]}if(d){N[d>>2]=N[a+160>>2]}return 0}function yA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+376>>2];N[a+16>>2]=c;N[a+20>>2]=N[b+380>>2]-c;N[a+24>>2]=N[b+384>>2];return 0}function ng(a,b){var c=0,d=0;c=N[a+4>>2];a:{if(b>>>0<=31){d=N[a>>2];break a}b=b-32|0;d=c;c=0}N[a+4>>2]=c>>>b;N[a>>2]=c<<32-b|d>>>b}function Fu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e>>2]=f}function mr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){e=N[e+N[b>>2]>>2]}Qa[e|0](b,c,d)}function ND(a,b,c){a=a|0;b=b|0;c=c|0;if(_d(a,b,c)){a=1}else{if(b>>>0<=255){a=_d(a,b+61440|0,c)}else{a=1}a=a&b>>>0<256}return a|0}function wq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){d=N[d+N[b>>2]>>2]}return Qa[d|0](b,c)|0}function ay(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b|0;return((a|0)>0?a:0)|0}a=b-a|0;return a>>31&a}function Vq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;return(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0|0}function wA(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+16>>2];return(c>>>0>b>>>0|N[a+20>>2]+c>>>0<=b>>>0?d:P[N[a+24>>2]+(b<<1)>>1])|0}function cC(a){a=a|0;N[a+12>>2]=1;N[a+16>>2]=0;N[a+4>>2]=0;N[a+76>>2]=0;N[a- -64>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+28>>2]=0}function YB(a){a=a|0;N[a+12>>2]=2;N[a+16>>2]=0;N[a+4>>2]=0;N[a+76>>2]=0;N[a- -64>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+28>>2]=0}function Vy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if($b(a,N[b+8>>2],0)){On(b,c,d);return}a=N[a+8>>2];Qa[N[N[a>>2]+28>>2]](a,b,c,d)}function XB(a){a=a|0;var b=0;N[a+140>>2]=0;N[a+112>>2]=0;b=N[a+12>>2];kp(a+28|0,b);kp(a- -64|0,b);N[a+12>>2]=0;N[a+16>>2]=0}function ZD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(N[147017]>=(a|0)){a=(a|0)<2?588952:589104;vd(24996,8,1,a);zi(a,b,c);Ul(a)}}function bo(a,b){var c=0,d=0,e=0;a=a-1|0;a=(c=SE(a),d=0,e=a,e?c:d);if(!a){a=(c=SE(b),d=0,e=b,e?c:d);a=a?a+32|0:0}return a}function Sz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=La-16|0;La=a;b=qn(b,c,d,0,a+8|0);La=a+16|0;return(b?0:N[a+8>>2])|0}function Ku(a,b){a=a|0;b=b|0;var c=0;b=N[N[a>>2]+132>>2];c=O[b+104|0];N[a+16>>2]=c;N[a+20>>2]=(O[b+105|0]-c|0)+1;return 0}function Dj(a,b){a=a|0;b=b|0;a=N[N[a+660>>2]+20>>2]+T(b,56)|0;_a(N[a+28>>2]);_a(N[a+44>>2]);_a(N[a+48>>2]);_a(N[a+52>>2])}function jd(a,b,c){UE(c,0,b,0);a:{if(!Pa){b=T(b,c);b=$a(a,b>>>0<=1?1:b);c=0;if(b){break a}}b=a;c=48}N[147316]=c;return b}function Cy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=hd(N[a>>2],c,22019);if(!a){return 64}N[d>>2]=a;N[e>>2]=0;return 0}function By(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=hd(N[a>>2],c,22047);if(!a){return 64}N[d>>2]=a;N[e>>2]=0;return 0}function Pq(a,b,c){a=a|0;b=b|0;c=c|0;a=L[c+140|0];if((a|0)>=0){ba(22742,14165,187,12136);B()}L[c+140|0]=a&127;return 0}function Br(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){d=N[d+N[b>>2]>>2]}Qa[d|0](b,c)}function Uj(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){c=N[c+N[b>>2]>>2]}return Qa[c|0](b)|0}function Pm(a,b){a=a|0;b=b|0;a=N[a+4>>2]|N[a>>2]<<16;b=N[b+4>>2]|N[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function MD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(_d(a,b,c)){a=1}else{d=Pp(b);if(d){b=_d(a,d,c)}a=(d|0)!=0&b}return a|0}function LD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(_d(a,b,c)){a=1}else{d=Op(b);if(d){b=_d(a,d,c)}a=(d|0)!=0&b}return a|0}function UC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=on(N[b+12>>2],c,d);if(!a){return 0}N[e>>2]=a;return 1}function OE(a,b,c){a=a|0;b=b|0;c=c|0;a=O[c+140|0];if(!(a&8)){ba(22742,14165,187,12136);B()}L[c+140|0]=a&247;return 0}function Jy(a,b){a=a|0;b=b|0;a:{a=N[a>>2];b=N[b>>2];if(O[a|0]!=O[b|0]){break a}if(cb(a,b)){break a}return 1}return 0}function Ih(a){a=a|0;var b=0,c=0;b=N[a+20>>2];if(b){c=N[N[a>>2]+100>>2];Qa[N[c+8>>2]](c,b)}N[a+16>>2]=0;N[a+20>>2]=0}function wt(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=rb(b,179120,a+568|0)}return c|0}function ut(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=rb(b,178496,a+160|0)}return c|0}function _n(a,b,c,d,e,f,g,h,i){N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function Zh(a){a=a|0;var b=0,c=0;b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0;N[a+4>>2]=0;N[a+24>>2]=0}function Ht(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=rb(b,178496,a+160|0)}return c|0}function Bg(a,b){a=a|0;b=b|0;var c=0;N[b>>2]=0;c=Qa[N[a+4>>2]](a,4)|0;if(!c){return 64}N[c>>2]=a;N[b>>2]=c;return 0}function XE(a){var b=0,c=0;b=Z(a);c=a-b;if(!(c<.5)){a=_(a);if(c>.5){return a}c=a;a=b*.5;b=a-Z(a)==0?b:c}return b}function xC(a,b){a=a|0;b=b|0;N[a+24>>2]=N[b+20>>2];N[a+4>>2]=N[b>>2];N[a+28>>2]=N[b+24>>2];vp(a,b,0);vp(a,b,1)}function Ax(a,b,c){a=a|0;b=b|0;c=c|0;c=$f(a,b,c,1);if(!c){N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function $b(a,b,c){if(!c){return N[a+4>>2]==N[b+4>>2]}if((a|0)==(b|0)){return 1}return!cb(N[a+4>>2],N[b+4>>2])}function sr(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){c=N[c+N[b>>2]>>2]}Qa[c|0](b)}function Rs(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;N[c+12>>2]=0;Pf(a,b,c+12|0);La=c+16|0;return N[c+12>>2]}function rw(a){a=a|0;var b=0;b=N[a+32>>2];if(!b){return 3}Lc(a,N[N[a+16>>2]>>2]);N[b+184>>2]=513;return 0}function Rl(a,b){a=a|0;b=b|0;a=N[N[a>>2]+4>>2];b=N[N[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function Iy(a){a=a|0;a=N[a>>2];return T(T(T(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function Gy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;if(!b){return 81}return Rd(b,333319,e)|0}function Fy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;if(!b){return 81}return Rd(b,333312,e)|0}function xs(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;N[c+12>>2]=b;a=Kl(a,c+12|0,0);La=c+16|0;return a|0}function eu(a,b){a=a|0;b=b|0;b=N[a>>2];N[a+16>>2]=N[N[b+140>>2]+52>>2];N[a+20>>2]=N[b+144>>2];return 0}function mb(a,b,c,d){var e=0;e=La-16|0;La=e;N[e+12>>2]=d;Qa[N[a+20>>2]](b,c,d,N[a+24>>2]);La=e+16|0}function kw(a,b){a=a|0;b=b|0;a=N[a+712>>2];L[b|0]=0;if(!(!a|N[a+1504>>2]==65535)){L[b|0]=1}return 0}function Py(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Qa[a|0](b,c,d,e,f,g,h)}function Kz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[a+12>>2];Qa[N[a>>2]](N[a+4>>2],c,b,d)|0;return d|0}function Xt(a,b){a=a|0;b=b|0;var c=0;c=N[N[a+12>>2]+48>>2];if(!c){return 150}return Qa[c|0](a,b)|0}function iz(){var a=0;a=N[147569];if(a){while(1){Qa[N[a>>2]]();a=N[a+4>>2];if(a){continue}break}}}function aD(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;N[f>>2]=0;N[e>>2]=0;return 0}function Sv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Qa[N[N[a+548>>2]+40>>2]](a,b,c,d,e)|0}function Dx(a,b,c){a=a|0;b=b|0;c=c|0;if(cb(b,12798)){a=12}else{N[c>>2]=N[a+64>>2];a=0}return a|0}function Qy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if($b(a,N[b+8>>2],f)){Pn(b,c,d,e)}}function Qi(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[N[a+12>>2]+56>>2]+12>>2]](N[a+52>>2],b,c)|0}function wC(a,b,c){a=a|0;b=b|0;c=c|0;if(b){N[b>>2]=N[a+10056>>2]}if(c){N[c>>2]=N[a+252>>2]}}function fs(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=6;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function as(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=4;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function Xr(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=2;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function XA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Tb(a,N[a+8>>2]);return Ee(a,N[a+8>>2],b,c,d)|0}function Tr(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=0;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function FA(a){a=a|0;var b=0,c=0;b=N[a+4>>2];if(b){c=N[a>>2];Qa[N[c+8>>2]](c,b)}N[a+4>>2]=0}function Oy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Qa[a|0](b,c,d,e)|0;Ma=Pa;return a|0}function Dp(a,b,c){a=a|0;b=b|0;c=c|0;if(b){N[b>>2]=N[a+7928>>2]}if(c){N[c>>2]=N[a+252>>2]}}function lr(a,b,c){a=a|0;b=b|0;c=c|0;b=b&65535;return(vb(b?b+c|0:275552,N[a>>2])|0)!=-1|0}function eD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;N[d>>2]=0;return 1}function cD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;N[d>>2]=0;return 0}function au(a,b){a=a|0;b=b|0;a=N[a+4>>2];b=N[b+4>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function Ne(a,b,c,d){var e=0;e=La-16|0;La=e;N[e+12>>2]=d;a=rh(a,b,c,d);La=e+16|0;return a}function hy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[b+12>>2]+(c<<3)|0;N[a+4>>2]=N[a+4>>2]+d}function eo(a,b){b=b&3;return O[(b^1)+a|0]<<16|O[a+b|0]<<24|O[(b^2)+a|0]<<8|O[(b^3)+a|0]}function ZE(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function Nx(a){a=a|0;N[a+116>>2]=-1;N[a+304>>2]=-1;N[a+308>>2]=-1;L[a+112|0]=0;return 0}function gr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ji(N[a+380>>2],L[b+11|0]<0?N[b>>2]:b,c,d)}function _w(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Qa[N[b+52>>2]](b,0,0,0)|0,N[c+544>>2]=d}function qu(a,b,c){a=a|0;b=b|0;c=c|0;N[b>>2]=N[a+176>>2];N[c>>2]=N[a+180>>2];return 0}function $t(a,b,c){a=a|0;b=b|0;c=c|0;N[b>>2]=N[a+132>>2];N[c>>2]=N[a+136>>2];return 0}function jy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[b+12>>2]+(c<<3)|0;N[a>>2]=N[a>>2]+d}function Iw(a,b){a=a|0;b=b|0;return Qa[N[N[N[N[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function $C(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(e){L[d|0]=0}return 0}function Jw(a,b){a=a|0;b=b|0;return Qa[N[N[N[N[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function Ny(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Qa[a|0](b,c,d)|0;Ma=Pa;return a|0}function Ju(a,b){a=a|0;b=b|0;b=b-N[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function Mp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;return 0}function Hb(a){var b=0,c=0;b=nb(a)+1|0;c=kb(b);if(!c){return 0}return Pc(c,a,b)}function wB(a){a=a|0;Qa[N[N[N[a+12>>2]+56>>2]+8>>2]](N[a+52>>2],0,0);return 0}function Zv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+12>>2]](a,b,c)|0}function YE(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function Xv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+20>>2]](a,b,c)|0}function Wv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+24>>2]](a,b,c)|0}function Uy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if($b(a,N[b+8>>2],0)){On(b,c,d)}}function Uv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+32>>2]](a,b,c)|0}function Tv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+36>>2]](a,b,c)|0}function _v(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+8>>2]](a,b,c)|0}function nC(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(11276,b)?0:293668)|0}function nB(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(11276,b)?0:294052)|0}function fA(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(10566,b)?0:356608)|0}function Wr(a,b){a=a|0;b=b|0;return(b>>>0<=255?O[(N[a+16>>2]+b|0)+6|0]:0)|0}function Nw(a,b){a=a|0;b=b|0;return(b>>>0<=255?P[N[a+16>>2]+(b<<1)>>1]:0)|0}function DB(a,b,c){a=a|0;b=b|0;c=c|0;N[a+56>>2]=N[a+52>>2]-T(N[a+104>>2],b)}function zv(a){a=a|0;a=N[a+140>>2];if(!a){return 0}return a+(O[a|0]==47)|0}function aw(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+552>>2]>>2]](a,b,c)|0}function Qt(a){a=a|0;return(a>>>0<=127?O[(a>>>3|0)+179360|0]&1<<(a&7):0)|0}function Du(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Bh(N[a+12>>2],b,c,d)|0}function tz(a,b){a=a|0;b=b|0;b=N[b+20>>2];if(b){_a(N[b-4>>2])}tb(N[a>>2])}function rA(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+488>>2]+12>>2]](a,b)|0}function Ps(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+544>>2]+12>>2]](a,b)|0}function Ar(a,b){a=a|0;b=b|0;L[a+372|0]=(b|0)!=0;if(b){So(a,N[a+376>>2])}}function sA(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+488>>2]+8>>2]](a,b)|0}function Qs(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+544>>2]+8>>2]](a,b)|0}function CA(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0}function $z(a){a=a|0;return(a>>>0<=390?M[(a<<1)+299312>>1]+295088|0:0)|0}function hD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;return 0}function aA(a){a=a|0;return M[((a>>>0<=257?a:0)<<1)+298784>>1]+295088|0}function _A(a,b){a=a|0;b=b|0;Tb(a,N[a+8>>2]);return Qc(a,N[a+8>>2],b)|0}function Ow(a,b){a=a|0;b=b|0;N[a+16>>2]=N[N[a>>2]+712>>2]+668;return 0}function My(a){a=a|0;_a(N[a+12>>2]);N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function tr(a){a=a|0;var b=0;b=N[a+660>>2];if(b){ug(b);N[a+660>>2]=0}}function Uz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return 1}function wD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,4)}function nx(a,b){a=a|0;b=b|0;if(!N[147441]){N[147441]=a;N[147442]=b}}function lD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,8)}function dD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,7)}function ZC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,6)}function VC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,5)}function QD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,8)}function PD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,7)}function OD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,6)}function KC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,4)}function HD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ef(a,b,c,d,e,5)}function vE(a,b,c){a=a|0;b=b|0;c=c|0;if(!O[N[a+112>>2]+5|0]){zq(b)}}function oB(a){a=a|0;L[a+70|0]=0;M[a+68>>1]=0;N[a+64>>2]=8;return 0}function fE(a,b){a=a|0;b=b|0;return N[N[a+660>>2]+16>>2]+T(b,144)|0}function Yv(a,b){a=a|0;b=b|0;return Qa[N[N[a+548>>2]+16>>2]](a,b)|0}function Vv(a,b){a=a|0;b=b|0;return Qa[N[N[a+548>>2]+28>>2]](a,b)|0}function Ud(a,b){return b?a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24):a}function Rv(a){a=a|0;var b=0;b=N[a+548>>2];if(b){Qa[N[b+44>>2]](a)}}function PB(a,b){a=a|0;b=b|0;Ti(b,N[a>>2]<<2,N[a+4>>2]<<2);return 0}function qE(a,b){a=a|0;b=b|0;return N[N[a+660>>2]+20>>2]+T(b,56)|0}function sC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Bp(d,b,c,d)|0}function Mq(a,b,c){a=a|0;b=b|0;c=c|0;zj(N[a+112>>2],b,N[a+4>>2])}function Ag(a){a=a|0;var b=0;if(a){b=N[a>>2];Qa[N[b+8>>2]](b,a)}}function ow(a){a=a|0;return(a>>>0<=255?P[(a<<1)+30800>>1]:0)|0}function gD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return N[a+28>>2]}function fD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return N[a+32>>2]}function Hu(a,b){a=a|0;b=b|0;F(b,N[a+132>>2]+4|0,156);return 0}function ke(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function fi(a){a=ia(a|0)|0;a=(a|0)!=27?a:0;if(a){N[147316]=a}}function Ly(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return $a(d,c)|0}function Ds(a,b){a=a|0;b=b|0;N[b>>2]=-1;N[b+4>>2]=14;return 0}function Cv(a,b,c){a=a|0;b=b|0;c=c|0;if(c){N[c>>2]=b}return 0}function vu(a,b){a=a|0;b=b|0;N[a+16>>2]=N[a>>2]+296;return 0}function tA(a,b){a=a|0;b=b|0;return N[N[a+424>>2]+(b<<2)>>2]}function qy(a,b){a=a|0;b=b|0;return N[N[a+392>>2]+(b<<2)>>2]}function pe(a,b){if(!N[147441]){N[147441]=a;N[147442]=b}ya()}function ir(a,b,c){a=a|0;b=b|0;c=c|0;return N[a>>2]==(b|0)|0}function _C(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0}function xA(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0}function eb(a){a=kb(a>>>0<=1?1:a);if(!a){fa();B()}return a}function dz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Pa=0;return 0}function RD(a){a=a|0;var b=0;b=N[a+8>>2];if(b){_a(b)}_a(a)}function FE(a){a=a|0;var b=0;b=N[a+4>>2];if(b){Aj(b)}_a(a)}function kz(a,b){a=a|0;b=b|0;return N[a+4>>2]-N[b+4>>2]|0}function Ts(a,b){a=a|0;b=b|0;N[a+8>>2]=b;N[a+12>>2]=b>>31}function Rt(a){a=a|0;return a-48>>>0<10|(a&-33)-65>>>0<26}function Lm(a,b){a=a|0;b=b|0;M[b>>1]=P[a+164>>1];return 0}function Av(a,b){a=a|0;b=b|0;M[b>>1]=P[a+312>>1];return 0}function mt(a,b,c){a=a|0;b=b|0;c=c|0;return un(a,b,c)|0}function iA(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function Zy(a,b,c){a=a|0;b=b|0;c=c|0;return $b(a,b,0)|0}function KD(a,b,c){a=a|0;b=b|0;c=c|0;return _d(a,b,c)|0}function su(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function nm(a,b){a=a|0;b=b|0;if(b){Qa[N[a+8>>2]](a,b)}}function le(a,b,c){a=a|0;b=b|0;c=c|0;N[N[a>>2]+b>>2]=c}function dx(a,b){a=a|0;b=b|0;N[b+376>>2]=N[b+376>>2]|1}function Km(a,b){a=a|0;b=b|0;F(b,a+168|0,196);return 0}function Hy(a,b){a=a|0;b=b|0;return N[a>>2]==N[b>>2]|0}function Gt(a,b){a=a|0;b=b|0;N[a>>2]=b;N[a+4>>2]=b>>31}function Gr(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function GB(a){a=a|0;N[a+56>>2]=N[a+56>>2]-N[a+104>>2]}function Cm(a){a=a|0;a=N[a+156>>2];if(a){N[a+36>>2]=0}}function lt(a,b,c){a=a|0;b=b|0;c=c|0;Qa[N[a>>2]](b,c)}function lc(a,b){a=go(a,b);return O[a|0]==(b&255)?a:0}function Zt(a,b,c){a=a|0;b=b|0;c=+c;S[N[a>>2]+b>>3]=c}function Fr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Eb(a,b,c){a=Xn(a,b,c,0,-2147483648);return a}function Ay(a,b){a=a|0;b=b|0;return M[a>>1]-M[b>>1]|0}function $n(a,b){var c=0;c=qe(a,0,b);return c?c-a|0:b}function vt(a,b){a=a|0;b=b|0;return Qa[N[a>>2]](b)|0}function Dv(a,b){a=a|0;b=b|0;if(b){L[b|0]=1}return 0}function me(a,b){a=a|0;b=b|0;return N[N[a>>2]+b>>2]}function bu(a,b){a=a|0;b=b|0;return+S[N[a>>2]+b>>3]}function SE(a){if(a){return 31-W(a-1^a)|0}return 32}function ts(a,b){a=a|0;b=b|0;N[a+16>>2]=b;return 0}function Kb(a,b){return Xn(a,b,10,-2147483648,0)}function $v(a){a=a|0;Qa[N[N[a+552>>2]+28>>2]](a)}function qr(a,b){a=a|0;b=b|0;return $g(a,b,1)|0}function pr(a,b){a=a|0;b=b|0;return $g(a,b,0)|0}function oy(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function or(a,b){a=a|0;b=b|0;return Kf(a,b,1)|0}function nr(a,b){a=a|0;b=b|0;return Kf(a,b,0)|0}function kn(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function br(a){a=a|0;return N[N[a+660>>2]+8>>2]}function Uw(a,b){a=a|0;b=b|0;return Nm(a,0,0)|0}function Tx(a){a=a|0;a=La-a&-16;La=a;return a|0}function Ls(a,b){a=a|0;b=b|0;N[b>>2]=0;return 0}function Ln(a,b,c,d){ua(a|0,b|0,8,0,c|0,-1,d|0)}function tm(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0}function ru(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function ac(a,b,c){if(!(O[a|0]&32)){uh(b,c,a)}}function rk(a,b){a=a|0;b=b|0;return gk(a,b)|0}function qk(a,b){a=a|0;b=b|0;return fk(a,b)|0}function mk(a,b){a=a|0;b=b|0;return ik(a,b)|0}function cl(a,b){a=a|0;b=b|0;return Fk(a,b)|0}function bl(a,b){a=a|0;b=b|0;return Ek(a,b)|0}function al(a,b){a=a|0;b=b|0;return Hk(a,b)|0}function _k(a,b){a=a|0;b=b|0;return Uk(a,b)|0}function Zk(a,b){a=a|0;b=b|0;return Tk(a,b)|0}function Yk(a,b){a=a|0;b=b|0;return Sk(a,b)|0}function Xk(a,b){a=a|0;b=b|0;return Rk(a,b)|0}function Tq(a){a=a|0;return N[N[a+660>>2]>>2]}function Qb(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Mk(a,b){a=a|0;b=b|0;return ah(a,b)|0}function Jr(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function Hr(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function $k(a,b){a=a|0;b=b|0;return Gk(a,b)|0}function ez(a){a=a|0;return ia(N[a+60>>2])|0}function er(a){a=a|0;Uo(N[a+384>>2],a+404|0)}function _q(a,b,c){a=a|0;b=b|0;c=c|0;tc(a,b)}function zi(a,b,c){return Wn(a,b,c,109,110)}function px(a){a=a|0;N[N[a+156>>2]+36>>2]=0}function jz(a){a=a|0;return Hb(N[a+4>>2])|0}function bw(a){a=a|0;return N[a+8>>2]>>>9&1}function Xx(a){a=a|0;N[a+64>>2]=40;return 0}function WE(a,b,c,d){a=RE(a,b,c,d);return a}function Kn(a,b){a=a|0;b=b|0;return kb(b)|0}function Pb(a,b){N[a+168>>2]=b;pe(a,1);B()}function EE(a,b,c){a=a|0;b=b|0;c=c|0;zq(b)}function wn(a,b){pd(nb(a)+a|0,b);return a}function Lz(a){a=a|0;_a(N[a+12>>2]);_a(a)}function xz(a,b){a=a|0;b=b|0;tb(N[a>>2])}function Cr(a,b){a=a|0;b=b|0;N[147017]=b}function py(a){a=a|0;return P[a+256>>1]}function Mx(a){a=a|0;cn(a);L[a+112|0]=0}function Im(a){a=a|0;return N[a+364>>2]}function dE(a){a=a|0;ab(N[a>>2]);_a(a)}function bt(a){a=a|0;return N[a+8>>2]}function Ms(a,b){a=a|0;b=b|0;return 0}function nf(a,b,c){a=a|0;b=b|0;c=c|0}function bB(a){a=a|0;Tb(a,N[a+8>>2])}function VB(a){a=a|0;return a+100|0}function UB(a){a=a|0;return a+112|0}function TB(a){a=a|0;return a+140|0}function Mt(a){a=a|0;return N[a>>2]}function Jn(a,b){a=a|0;b=b|0;_a(b)}function hw(a){a=a|0;return 25360}function Vu(a){a=a|0;return 25464}function Ut(a){a=a|0;return 25552}function Qr(a){a=a|0;return 25628}function Hm(a){a=a|0;N[a+16>>2]=0}function Eh(a){a=a|0;if(a){_a(a)}}function Sn(a,b,c){Wn(a,b,c,0,0)}function sd(a,b){return Gd(a,b)}function _y(a){a=a|0;return a|0}function QE(){C(589264,0,2272)}function hm(a){a=a|0;return 0}function An(a){a=a|0;return 1}function Fv(a,b){a=a|0;b=b|0}function ce(a){a=a|0;_a(a)}function Rr(a){a=a|0;ab(a)}function fy(){return La|0}function Yx(a){a=a|0;La=a}function Kx(a){a=a|0;Ma=a}function Fx(){return Ma|0}function Mc(a){a=a|0}e=O;p(q);var Qa=c([null,wm,hw,Eh,me,le,ov,ev,me,le,Vu,Eh,Lu,Fu,im,em,mu,gu,bu,Zt,me,le,me,le,Ut,Eh,Mt,Gt,vt,lt,bt,Ts,Is,As,im,em,rs,gs,$r,Sr,me,le,Qr,Ir,Er,Dr,Cr,Br,Ar,vr,ur,tr,sr,rr,mr,hr,gr,fr,er,dr,cr,br,Uj,Zq,Uj,Wq,Dj,Tq,Dj,Sq,Kq,PE,IE,AE,qE,wq,fE,wq,me,le,ZD,QD,PD,OD,HD,wD,lD,dD,ZC,VC,KC,DC,CC,yC,rC,jC,fC,WB,SB,KB,CB,xB,pB,fB,$A,Ly,Kn,Jn,lz,cz,bz,Ry,My,Zh,Ay,wy,vy,uy,ty,sy,ry,qy,py,kn,oy,ny,my,ly,ky,jy,iy,hy,gy,ey,dy,cy,by,ay,$x,_x,Zx,Ux,Sx,Rx,Qx,Px,xy,ux,kx,Pm,Hy,Iy,Kw,yw,xw,um,nv,mv,lv,kv,om,nm,Gu,nm,om,Du,Eu,Bu,Cu,lu,Jy,Ky,hu,fu,au,ke,Jn,Kn,Rt,Qt,Rl,Zh,Rl,Zh,Zs,Ys,Bc,Ws,Vs,Us,Rs,Rr,_a,Pr,Or,Nr,Mr,Lr,Kr,az,zr,yr,xr,wr,Qb,cl,cl,Qb,bl,bl,Qb,al,al,Qb,$k,$k,Qb,_k,_k,Qb,Zk,Zk,Qb,Yk,Yk,Qb,Xk,Xk,Qb,Nk,Nk,Pk,or,nr,Qb,Mk,Mk,Qb,Qk,Qk,Pk,qr,pr,Qb,Ok,Ok,ir,lr,kr,jr,Qb,rk,rk,Qb,qk,qk,Qb,pk,pk,Qb,ok,ok,Qb,nk,nk,Qb,mk,mk,ar,$q,Qq,Pq,Oq,ME,LE,KE,JE,HE,OE,BE,zE,yE,pE,oE,iE,hE,Xq,Vq,Uq,Yq,sq,qq,cE,bE,aE,$D,_D,YD,XD,WD,VD,UD,TD,SD,ND,MD,LD,KD,JD,ID,RD,pC,YC,dE,eE,XC,WC,UC,TC,SC,RC,QC,PC,OC,NC,MC,LC,JC,Ip,kC,hC,gC,eC,dC,cC,bC,Ui,aC,$B,_B,ZB,YB,Yh,JB,IB,GB,FB,EB,DB,Mc,BB,AB,nf,zB,yB,KA,JA,IA,HA,Pm,tA,dA,Zz,Yz,Xz,Wz,Vz,Uz,Tz,Sz,ke,Rz,Qz,Lz,Kz,kz,jo,hz,gz,fz,ez,$y,Gy,Fy,bi,Ey,Dy,Cy,By,ai,$h,Ax,zx,re,Ph,yx,fn,xx,dn,Cx,Bx,en,bg,Ex,Dx,Im,Jm,Pw,Mm,Lm,An,Km,Qw,zy,yy,Rw,Zw,Om,Nm,Yw,Xw,Ww,Vw,Uw,Tw,Sw,$e,hx,gx,fx,ex,dx,cx,bx,ax,$w,_w,Ow,Hm,Nw,Mw,Lw,Ih,Jw,Iw,_v,Zv,Yv,Xv,Wv,Vv,Uv,Tv,Sv,Rv,aw,$v,dw,cw,bw,ew,gw,fw,iw,lw,kw,jw,ow,xm,nw,mw,vm,ww,vw,uw,tw,sw,rw,qw,pw,zv,Bv,Av,Ev,Dv,Cv,Iv,Hv,Gv,Fv,yv,tm,xv,wv,jv,qm,iv,Jm,Su,Im,Mm,Lm,An,Km,Xu,Wu,Uu,Tu,Hu,Ku,Ju,Iu,qu,pu,su,ru,vu,Hm,uu,tu,$t,_t,eu,tm,du,cu,Lt,Kt,Jt,It,Yt,Pt,Ht,Ft,Et,Dt,Ct,Bt,At,zt,yt,xt,wt,ut,tt,Pf,st,rt,qt,pt,ot,nt,mt,kt,jt,it,ht,gt,Ol,ft,et,dt,ct,at,$s,_s,Vc,Xs,ts,Wr,Vr,Ur,Tr,_r,Zr,Yr,Xr,es,ds,cs,bs,as,js,is,hs,fs,ns,ms,ls,ks,ss,qs,ps,os,Ml,xs,ws,vs,us,Ml,Cs,Bs,zs,ys,Os,Ns,Ms,Ls,Ks,Js,Hs,Gs,Fs,Es,Ds,Ss,Ih,Qs,Ps,Ot,Nt,St,Vt,Tt,Wt,xh,Xt,Qb,Jr,Hr,kn,Gr,ke,ke,Fr,_q,Rq,Bj,Aj,Nq,Mq,Lq,Jq,Iq,Hq,Gq,ce,Fq,Eq,Dq,Cq,NE,GE,FE,EE,yq,DE,CE,xE,wE,ce,vE,uE,tE,sE,rE,nE,mE,ce,lE,yq,kE,jE,gE,Np,Np,hD,DD,Mp,gD,fD,zD,yD,eD,cD,ke,ke,bD,aD,$C,Mp,_C,GD,FD,ED,CD,BD,AD,xD,vD,uD,tD,sD,rD,qD,pD,oD,nD,mD,kD,jD,iD,IC,HC,GC,FC,EC,Fp,Dp,Cp,Bp,BC,AC,zC,xC,wC,vC,uC,tC,Fp,Dp,Cp,sC,qC,mC,lC,VB,UB,TB,Bg,nf,Qb,RB,Ag,QB,PB,OB,NB,Bg,nf,Qb,HB,Ag,Bg,nf,Qb,uB,Ag,Bg,nf,Qb,jB,Ag,lB,kB,tB,sB,rB,qB,hB,gB,eB,dB,cB,Mc,bB,Ni,aB,_A,ZA,YA,XA,Dd,WA,Yo,VA,UA,Li,TA,Li,Xo,SA,RA,QA,PA,Wo,OA,NA,MA,LA,GA,FA,EA,DA,CA,BA,AA,zA,yA,xA,wA,vA,uA,Ih,sA,rA,qA,Li,Xo,pA,oA,nA,mA,Wo,lA,kA,jA,iA,hA,gA,Mo,eA,cA,bA,aA,$z,Xx,Mc,Wx,Vx,Ox,Nx,Mx,Lx,Jx,an,Ix,Hx,Gx,Mh,Mc,wx,vx,tx,sx,rx,qx,px,ox,mx,lx,jx,ix,Mh,Mc,Hw,Gw,Fw,Ew,Dw,Cw,Cm,Bw,an,Aw,zw,Bm,Mh,Mc,Qv,Pv,Ov,Nv,Mv,Lv,Cm,Kv,Jv,vv,uv,tv,sv,rv,qv,pv,hv,Mc,gv,fv,dv,cv,bv,av,$u,_u,Zu,Yu,Ru,Qu,Pu,Ou,Nu,Mu,hm,Mc,Au,zu,Uf,yu,xu,wu,ou,nu,yh,ku,ju,iu,oC,Mc,nC,iC,XB,MB,LB,Si,Ri,Qi,wB,vB,Si,Ri,Qi,oB,Mc,nB,mB,Si,Ri,Qi,iB,fA,Pz,Oz,Nz,Mz,Iz,Hz,Gz,Jz,Fz,wz,vz,uz,nz,tz,sz,rz,qz,mz,pz,Ez,Dz,Cz,oz,Bz,Az,zz,yz,_z,xz,hm,dz,_y,ce,Mc,Mc,Zy,ce,Ty,ce,Yy,Qy,Sy,Uy,ce,Xy,Wy,Vy]);QE();function Ra(){return K.byteLength/65536|0}function Wa(Xa){Xa=Xa|0;var Sa=Ra()|0;var Ta=Sa+Xa|0;if(Sa=0;--a){f[48+a]=52+a;f[65+a]=a;f[97+a]=26+a}f[43]=62;f[47]=63;function l(m,n,o){var g,h,a=0,i=n,j=o.length,k=n+(j*3>>2)-(o[j-2]=="=")-(o[j-1]=="=");for(;a>4;if(i>2;if(i>>0;E=E>>>0;if(D+E>e.length)throw"trap: invalid memory.fill";e.fill(y,D,D+E)}function F(D,G,E){e.copyWithin(D,G,G+E)}function H(y){t[2]=y}function Ya(q){var I=q.a;var J=I.a;var K=J.buffer;J.grow=Wa;var L=new Int8Array(K);var M=new Int16Array(K);var N=new Int32Array(K);var O=new Uint8Array(K);var P=new Uint16Array(K);var Q=new Uint32Array(K);var R=new Float32Array(K);var S=new Float64Array(K);var T=Math.imul;var U=Math.fround;var V=Math.abs;var W=Math.clz32;var X=Math.min;var Y=Math.max;var Z=Math.floor;var _=Math.ceil;var $=Math.trunc;var aa=Math.sqrt;var ba=I.b;var ca=I.c;var da=I.d;var ea=I.e;var fa=I.f;var ga=I.g;var ha=I.h;var ia=I.i;var ja=I.j;var ka=I.k;var la=I.l;var ma=I.m;var na=I.n;var oa=I.o;var pa=I.p;var qa=I.q;var ra=I.r;var sa=I.s;var ta=I.t;var ua=I.u;var va=I.v;var wa=I.w;var xa=I.x;var ya=I.y;var za=I.z;var Aa=I.A;var Ba=I.B;var Ca=I.C;var Da=I.D;var Ea=I.E;var Fa=I.F;var Ga=I.G;var Ha=I.I;var Ia=I.J;var Ja=I.K;var Ka=I.L;var La=657072;var Ma=0;var Na=0;var Oa=0;var Pa=0;function sq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,S=0,W=U(0),X=0,Y=0,_=0,$=U(0),aa=0,ca=0,da=0,ea=0,fa=0,ga=0;p=La-288|0;La=p;a:{b:{c:{d:{e:{f:{g:{f=O[c+140|0];if(!(f&48)){aa=N[c+40>>2];L[c+140|0]=f|48;m=N[c+68>>2];if(m){j=N[a+96>>2];h=N[c+80>>2];f=0;if(m>>>0>=8){i=m&-8;while(1){N[(h+T(f,20)|0)+4>>2]=j;N[(h+T(f|1,20)|0)+4>>2]=j;N[(h+T(f|2,20)|0)+4>>2]=j;N[(h+T(f|3,20)|0)+4>>2]=j;N[(h+T(f|4,20)|0)+4>>2]=j;N[(h+T(f|5,20)|0)+4>>2]=j;N[(h+T(f|6,20)|0)+4>>2]=j;N[(h+T(f|7,20)|0)+4>>2]=j;f=f+8|0;if((i|0)!=(f|0)){continue}break}}i=m&7;if(i){while(1){N[(h+T(f,20)|0)+4>>2]=j;f=f+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}while(1){f=h+T(n,20)|0;Hd(f,c);j=P[f+16>>1];h:{i:{if(!((j&31)!=24|N[f>>2]-127995>>>0>4)){f=(h+T(n,20)|0)+16|0;break i}if(!(!n|N[f>>2]-127462>>>0>25)){f=(h+T(n,20)|0)-20|0;if(N[f>>2]-127462>>>0>25|O[f+16|0]&128){break h}f=(h+T(n,20)|0)+16|0;break i}if((j&287)==257){M[(h+T(n,20)|0)+16>>1]=j|128;g=n+1|0;if(g>>>0>=m>>>0){break h}j=h+T(g,20)|0;f=N[j>>2];if(f>>>0<=131069){f=O[((f&24|O[(f>>>5&3|O[(O[(f>>>11|0)+236400|0]>>>(f>>>8&4)<<3&120|f>>>7&7)+236464|0]<<2)+236544|0]<<5)>>>3|0)+236664|0]>>>(f&7)&1}else{f=0}if(!f){break h}Hd(j,c);j=h+T(g,20)|0;f=j+16|0;j=P[j+16>>1];n=g;break i}f=N[f>>2];if((f&-2)!=65438&f-917536>>>0>95){break h}f=(h+T(n,20)|0)+16|0}M[f>>1]=j|128}n=n+1|0;if(m>>>0>n>>>0){continue}break}}j:{k:{if(!(1<>2]+16>>1]&7168)|(N[c+132>>2]|(N[c+16>>2]&17)!=1)){break k}N[p+120>>2]=0;f=N[b+96>>2];g=N[f+28>>2];h=N[b+100>>2];j=p+120|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[g|0](b,h,9676,j,f)|0)){break k}N[p+132>>2]=0;N[p+136>>2]=0;N[p+124>>2]=0;N[p+128>>2]=0;N[p+120>>2]=9676;Hd(p+120|0,c);N[c+72>>2]=0;M[c+62>>1]=1;N[c+64>>2]=0;f=N[c+80>>2];N[c+84>>2]=f;j=N[f+4>>2];m=N[f+8>>2];g=N[p+132>>2];n=N[p+136>>2];i=N[p+120>>2];l:{m:{if(Q[c+76>>2]<=1){if(!gb(c,1)){break l}f=N[c+80>>2];h=N[c+84>>2];if((f|0)!=(h|0)){break m}}k=N[c+72>>2];if(Q[c+64>>2]>=k+1>>>0){h=f;break m}if(!O[c+62|0]){break j}h=N[c+88>>2];N[c+84>>2]=h;k=T(k,20);if(!k){break m}F(h,f,k);h=N[c+84>>2]}f=T(N[c+72>>2],20)+h|0;N[f+12>>2]=g;N[f+16>>2]=n;N[f+8>>2]=m;N[f+4>>2]=j;N[f>>2]=i;N[c+72>>2]=N[c+72>>2]+1}Ac(c)}m=N[c+144>>2];n:{if(!(m&1)){break n}i=N[c+68>>2];if(!N[c+20>>2]){if(!i){break n}f=i-1|0;h=0;j=0;o:{while(1){if((f|0)==(j|0)){n=i;j=i;break o}j=j+1|0;if(O[(N[c+80>>2]+T(j,20)|0)+16|0]&128){continue}break}n=i}while(1){if(j-h>>>0>=2){Ib(c,h,j);n=N[c+68>>2]}f=j+1|0;g=f>>>0>>0?n:f;h=g-1|0;f=j;while(1){p:{if((f|0)==(h|0)){f=g;break p}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}g=i>>>0>j>>>0;h=j;j=f;if(g){continue}break}break n}if(!i){break n}g=i-1|0;j=0;f=0;while(1){q:{if((f|0)==(g|0)){f=i;break q}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}while(1){n=f;w=N[c+68>>2];t=f>>>0>w>>>0?w:f;o=t-j|0;r:{if(o>>>0<2){break r}m=m|32;N[c+144>>2]=m;if(j>>>0>=t>>>0){break r}k=N[c+80>>2];f=-1;h=j;q=t+(h^-1)|0;if(q>>>0>=3){s=o&-4;l=0;while(1){g=k+T(h,20)|0;v=N[g+8>>2];f=f>>>0>>0?f:v;v=N[g+28>>2];f=f>>>0>>0?f:v;v=N[g+48>>2];f=f>>>0>>0?f:v;g=N[g+68>>2];f=f>>>0>>0?f:g;h=h+4|0;l=l+4|0;if((s|0)!=(l|0)){continue}break}}l=o&3;if(l){g=0;while(1){s=N[(k+T(h,20)|0)+8>>2];f=f>>>0>>0?f:s;h=h+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if(o&1){g=k+T(j,20)|0;if(N[g+8>>2]!=(f|0)){N[g+4>>2]=N[g+4>>2]|3}j=j+1|0}if(!q){break r}while(1){g=k+T(j,20)|0;if(N[g+8>>2]!=(f|0)){m=m|32;N[c+144>>2]=m;N[g+4>>2]=N[g+4>>2]|3}g=k+T(j+1|0,20)|0;if(N[g+8>>2]!=(f|0)){m=m|32;N[c+144>>2]=m;N[g+4>>2]=N[g+4>>2]|3}j=j+2|0;if((t|0)!=(j|0)){continue}break}}f=n+1|0;g=f>>>0>>0?w:f;j=g-1|0;f=n;while(1){s:{if((f|0)==(j|0)){f=g;break s}f=f+1|0;if(O[(N[c+80>>2]+T(f,20)|0)+16|0]&128){continue}}break}j=n;if(j>>>0>>0){continue}break}}f=N[c+40>>2];t:{u:{v:{h=sh(N[c+44>>2]);w:{if(!((h|0)!=5|(f|0)!=4)){g=N[c+68>>2];if(!g){h=5;break w}j=N[c+80>>2];h=0;m=1;k=0;l=0;while(1){x:{n=j+T(h,20)|0;i=P[n+16>>1]&31;y:{if((i|0)==13){k=1;break y}if(1<>2]-127462>>>0<26|l}h=h+1|0;m=g>>>0>h>>>0;if((g|0)!=(h|0)){continue}}break}h=(k|l)&1?m&1?5:4:5}g=f&-2;if((g|0)!=4){break v}}if((f|0)==(h|0)){break t}if(h){break u}break t}if((f|0)==6|(g|0)!=6){break t}}k=N[c+20>>2];g=0;f=N[c+68>>2];m=f;z:{A:{switch(f|0){default:m=1;while(1){h=g;g=N[c+80>>2];B:{if(O[(g+T(m,20)|0)+16|0]&128){g=h;break B}if(!((k|0)!=1|m-h>>>0<2)){Ib(c,h,m);g=N[c+80>>2];f=N[c+68>>2]}j=f>>>0>>0?f:h;f=f>>>0>>0?f:m;C:{if(j+2>>>0>f>>>0){break C}n=f-1|0;if(n>>>0<=j>>>0){break C}while(1){f=T(n,20)+g|0;N[p+136>>2]=N[f+16>>2];i=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=i;i=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=i;i=T(j,20)+g|0;N[f+16>>2]=N[i+16>>2];w=N[i+12>>2];N[f+8>>2]=N[i+8>>2];N[f+12>>2]=w;w=N[i+4>>2];N[f>>2]=N[i>>2];N[f+4>>2]=w;N[i+16>>2]=N[p+136>>2];f=N[p+132>>2];N[i+8>>2]=N[p+128>>2];N[i+12>>2]=f;f=N[p+124>>2];N[i>>2]=N[p+120>>2];N[i+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}}g=m;if(!O[c+63|0]){break B}f=N[c+68>>2];n=f>>>0>>0?f:m;j=f>>>0>>0?f:h;if(n>>>0>>0){break B}n=n-1|0;if(n>>>0<=j>>>0){break B}h=N[c+88>>2];while(1){f=h+T(n,20)|0;N[p+136>>2]=N[f+16>>2];g=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=g;g=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=g;g=h+T(j,20)|0;N[f+16>>2]=N[g+16>>2];i=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=i;i=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=i;N[g+16>>2]=N[p+136>>2];f=N[p+132>>2];N[g+8>>2]=N[p+128>>2];N[g+12>>2]=f;f=N[p+124>>2];N[g>>2]=N[p+120>>2];N[g+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}g=m}f=N[c+68>>2];m=m+1|0;if(f>>>0>m>>>0){continue}break};break;case 0:break z;case 1:break A}}if(!((k|0)!=1|m-g>>>0<2)){Ib(c,g,m);f=N[c+68>>2]}j=f>>>0>>0?f:g;f=f>>>0>>0?f:m;D:{if(j+2>>>0>f>>>0){break D}n=f-1|0;if(n>>>0<=j>>>0){break D}i=N[c+80>>2];while(1){f=i+T(n,20)|0;N[p+136>>2]=N[f+16>>2];h=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=h;h=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=h;h=i+T(j,20)|0;N[f+16>>2]=N[h+16>>2];k=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=k;k=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=k;N[h+16>>2]=N[p+136>>2];f=N[p+132>>2];N[h+8>>2]=N[p+128>>2];N[h+12>>2]=f;f=N[p+124>>2];N[h>>2]=N[p+120>>2];N[h+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}}E:{if(!O[c+63|0]){break E}f=N[c+68>>2];h=f>>>0>>0?f:m;j=f>>>0>>0?f:g;if(h>>>0>>0){break E}n=h-1|0;if(n>>>0<=j>>>0){break E}h=N[c+88>>2];while(1){f=h+T(n,20)|0;N[p+136>>2]=N[f+16>>2];g=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=g;g=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=g;g=h+T(j,20)|0;N[f+16>>2]=N[g+16>>2];m=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=m;m=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=m;N[g+16>>2]=N[p+136>>2];f=N[p+132>>2];N[g+8>>2]=N[p+128>>2];N[g+12>>2]=f;f=N[p+124>>2];N[g>>2]=N[p+120>>2];N[g+4>>2]=f;j=j+1|0;n=n-1|0;if(j>>>0>>0){continue}break}}h=N[c+68>>2];if(h>>>0>=2){m=N[c+80>>2];j=h-1|0;n=0;while(1){f=m+T(j,20)|0;N[p+136>>2]=N[f+16>>2];g=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=g;g=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=g;g=m+T(n,20)|0;N[f+16>>2]=N[g+16>>2];i=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=i;i=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=i;N[g+16>>2]=N[p+136>>2];f=N[p+132>>2];N[g+8>>2]=N[p+128>>2];N[g+12>>2]=f;f=N[p+124>>2];N[g>>2]=N[p+120>>2];N[g+4>>2]=f;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}if(!O[c+63|0]){break z}f=N[c+68>>2];f=f>>>0>>0?f:h;if(f>>>0<2){break z}h=N[c+88>>2];j=f-1|0;n=0;while(1){f=h+T(j,20)|0;N[p+136>>2]=N[f+16>>2];g=N[f+12>>2];N[p+128>>2]=N[f+8>>2];N[p+132>>2]=g;g=N[f+4>>2];N[p+120>>2]=N[f>>2];N[p+124>>2]=g;g=h+T(n,20)|0;N[f+16>>2]=N[g+16>>2];m=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=m;m=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=m;N[g+16>>2]=N[p+136>>2];f=N[p+132>>2];N[g+8>>2]=N[p+128>>2];N[g+12>>2]=f;f=N[p+124>>2];N[g>>2]=N[p+120>>2];N[g+4>>2]=f;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}N[c+40>>2]=N[c+40>>2]^1}I=a+60|0;F:{if(!N[N[a+80>>2]+16>>2]){break F}if(!ib(c,b,8372,0)){break F}Qa[N[N[a+80>>2]+16>>2]](I,c,b);ib(c,b,8394,0)}n=N[c+80>>2];h=N[c+68>>2];if(!(!h|(aa&-3)!=5)){k=N[a+188>>2];m=N[c+12>>2];j=0;while(1){g=n+T(j,20)|0;f=Qa[N[m+28>>2]](m,N[g>>2],N[m+60>>2])|0;G:{H:{if((f|0)==N[g>>2]){break H}N[p+120>>2]=0;i=N[b+96>>2];w=N[i+28>>2];l=N[b+100>>2];q=p+120|0;i=N[i+12>>2];if(i){i=N[i+8>>2]}else{i=0}if(!(Qa[w|0](b,l,f,q,i)|0)){break H}N[g>>2]=f;break G}N[g+4>>2]=k|N[g+4>>2]}j=j+1|0;if((h|0)!=(j|0)){continue}break}}if(!(!h|(O[a+200|0]&8|(aa&-2)!=6))){f=0;while(1){I:{J:{K:{L:{M:{N:{O:{m=n+T(f,20)|0;g=N[m>>2];j=g>>>8|0;switch(j-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:break I;case 16:break K;case 0:break N;default:break O}}switch(j-254|0){case 1:break L;case 0:break M;default:break I}}j=65074;P:{switch(g-8211|0){case 1:j=65073;break J;case 18:j=65072;break J;case 19:break P;case 0:break J;default:break I}}j=65049;break J}j=65076;if((g|0)==65103){break J}break I}j=65045;Q:{switch(g-65281|0){case 7:j=65077;break J;case 8:j=65078;break J;case 11:j=65040;break J;case 25:j=65043;break J;case 26:j=65044;break J;case 30:j=65046;break J;case 58:j=65095;break J;case 60:j=65096;break J;case 62:j=65075;break J;case 90:j=65079;break J;case 92:break Q;case 0:break J;default:break I}}j=65080;break J}j=g-12289|0;if(j>>>0>=23|!(7995267>>>j&1)){break I}j=N[(j<<2)+265552>>2]}if((g|0)==(j|0)){break I}N[p+120>>2]=0;g=N[b+96>>2];i=N[g+28>>2];w=N[b+100>>2];k=p+120|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}if(!(Qa[i|0](b,w,j,k,g)|0)){break I}N[m>>2]=j}f=f+1|0;if((h|0)!=(f|0)){continue}break}}f=O[c+140|0];if(!(f&15)){L[c+140|0]=f|15;R:{S:{t=N[c+68>>2];T:{if(!t){break T}if((f&48)!=48){break R}f=N[a+80>>2];g=N[f+44>>2];N[p+128>>2]=b;N[p+124>>2]=c;N[p+120>>2]=I;N[p+132>>2]=N[c+12>>2];N[p+136>>2]=N[c+32>>2];j=N[f+24>>2];N[p+140>>2]=j?j:287;f=N[f+28>>2];N[p+144>>2]=f?f:288;N[c+72>>2]=0;M[c+62>>1]=1;N[c+64>>2]=0;N[c+84>>2]=N[c+80>>2];o=(g|0)==4?2:g;q=o&-3;f=0;l=1;U:{V:{while(1){g=f+1|0;j=g>>>0>>0?t:g;h=f;while(1){W:{g=h;h=g+1|0;if(t>>>0<=h>>>0){g=j;break W}if(!(1<>2]+T(h,20)|0)+16>>1]&7168)){continue}}break}X:{Y:{if((q|0)!=1){j=N[b+96>>2];h=N[j+32>>2];k=N[b+100>>2];m=g-f|0;f=N[c+80>>2]+T(f,20)|0;n=f;i=f+12|0;f=N[j+12>>2];if(f){f=N[f+12>>2]}else{f=0}f=Qa[h|0](b,k,m,n,20,i,20,f)|0;if(O[c+62|0]){m=N[c+84>>2];k=N[c+80>>2];h=N[c+72>>2];if(!((m|0)==(k|0)&(h|0)==N[c+64>>2])){j=f+h|0;if(!(!j|j>>>0>2])){if(!gb(c,j)){break Y}k=N[c+80>>2];m=N[c+84>>2]}Z:{if((k|0)!=(m|0)){break Z}j=N[c+72>>2];if(j+f>>>0<=f+N[c+64>>2]>>>0){m=k;break Z}if(!O[c+62|0]){break a}m=N[c+88>>2];N[c+84>>2]=m;j=T(j,20);if(!j){break Z}F(m,k,j);k=N[c+80>>2];m=N[c+84>>2]}F(T(N[c+72>>2],20)+m|0,T(N[c+64>>2],20)+k|0,T(f,20));h=N[c+72>>2]}N[c+72>>2]=h+f}f=f+N[c+64>>2]|0;N[c+64>>2]=f}_:{if(!O[c+60|0]|f>>>0>=g>>>0){break _}while(1){Ej(p+120|0,(q|0)!=1);f=N[c+64>>2];if(g>>>0<=f>>>0){break _}if(O[c+60|0]){continue}break}}if(!O[c+60|0]|(f|0)==(t|0)){break Y}g=f+1|0;j=g>>>0>>0?t:g;h=j-1|0;while(1){$:{g=f;f=f+1|0;if(t>>>0<=f>>>0){g=h;f=j;break $}if(1<>2]+T(f,20)|0)+16>>1]&7168){continue}}break}k=N[p+124>>2];m=N[k+64>>2];if(m>>>0>=f>>>0){break X}aa:{ba:{w=O[k+60|0];if(w){j=N[k+80>>2];h=m;while(1){n=N[j+T(h,20)>>2];if(!((n&-16)==65024|n-918e3>>>0>=4294967056)){n=(g|0)==(h|0);h=h+1|0;if(!n){continue}break ba}break}j=N[p+128>>2];ca:{if(g>>>0<=m>>>0){break ca}while(1){if(!O[k+60|0]){break ca}i=N[k+80>>2]+T(m,20)|0;N[i+12>>2]=0;h=i+12|0;m=N[i>>2];n=N[j+100>>2];l=N[j+96>>2];w=N[l+12>>2];i=N[i+20>>2];da:{if(!((i&-16)!=65024&i-918e3>>>0<4294967056)){l=N[l+36>>2];ea:{if(Qa[l|0](j,n,m,i,h,w?N[w+16>>2]:0)|0){N[p+96>>2]=N[N[k+80>>2]+T(N[k+64>>2],20)>>2];Sg(k,2,p+96|0);break ea}h=N[k+80>>2]+T(N[k+64>>2],20)|0;N[h+12>>2]=0;m=N[j+96>>2];n=N[m+28>>2];l=N[j+100>>2];w=N[h>>2];i=h+12|0;h=N[m+12>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[n|0](j,l,w,i,h)|0;fa:{if(O[k+62|0]){ga:{if(N[k+84>>2]==N[k+80>>2]){h=N[k+72>>2];if((h|0)==N[k+64>>2]){break ga}}if(!xd(k)){h=N[k+64>>2];break fa}h=N[k+80>>2]+T(N[k+64>>2],20)|0;n=N[h+4>>2];m=N[k+84>>2]+T(N[k+72>>2],20)|0;N[m>>2]=N[h>>2];N[m+4>>2]=n;N[m+16>>2]=N[h+16>>2];n=N[h+12>>2];N[m+8>>2]=N[h+8>>2];N[m+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}h=N[k+64>>2]+1|0;N[k+64>>2]=h}h=N[k+80>>2]+T(h,20)|0;N[h+12>>2]=0;m=N[j+96>>2];n=N[m+28>>2];l=N[j+100>>2];w=N[h>>2];i=h+12|0;h=N[m+12>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[n|0](j,l,w,i,h)|0;if(O[k+62|0]){ha:{if(N[k+84>>2]==N[k+80>>2]){h=N[k+72>>2];if((h|0)==N[k+64>>2]){break ha}}if(!xd(k)){break ea}h=N[k+80>>2]+T(N[k+64>>2],20)|0;n=N[h+4>>2];m=N[k+84>>2]+T(N[k+72>>2],20)|0;N[m>>2]=N[h>>2];N[m+4>>2]=n;N[m+16>>2]=N[h+16>>2];n=N[h+12>>2];N[m+8>>2]=N[h+8>>2];N[m+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}N[k+64>>2]=N[k+64>>2]+1}m=N[k+64>>2];if(m>>>0>=f>>>0){break da}while(1){if(!O[k+60|0]){break da}n=N[k+80>>2]+T(m,20)|0;h=N[n>>2];if((h&-16)!=65024&h-918e3>>>0<4294967056){break da}N[n+12>>2]=0;m=N[j+96>>2];i=N[m+28>>2];w=N[j+100>>2];n=n+12|0;m=N[m+12>>2];if(m){m=N[m+8>>2]}else{m=0}Qa[i|0](j,w,h,n,m)|0;ia:{if(O[k+62|0]){ja:{if(N[k+84>>2]==N[k+80>>2]){h=N[k+72>>2];if((h|0)==N[k+64>>2]){break ja}}if(!xd(k)){m=N[k+64>>2];break ia}h=N[k+80>>2]+T(N[k+64>>2],20)|0;n=N[h+4>>2];m=N[k+84>>2]+T(N[k+72>>2],20)|0;N[m>>2]=N[h>>2];N[m+4>>2]=n;N[m+16>>2]=N[h+16>>2];n=N[h+12>>2];N[m+8>>2]=N[h+8>>2];N[m+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}m=N[k+64>>2]+1|0;N[k+64>>2]=m}if(f>>>0>m>>>0){continue}break}break da}l=N[l+28>>2];Qa[l|0](j,n,m,h,w?N[w+8>>2]:0)|0;ka:{if(O[k+62|0]){l=N[k+84>>2];w=N[k+80>>2];h=N[k+72>>2];if(!((l|0)==(w|0)&(h|0)==N[k+64>>2])){h=h+1|0;if(!(!h|h>>>0>2])){if(!gb(k,h)){break ka}l=N[k+84>>2];w=N[k+80>>2]}la:{if((l|0)!=(w|0)){break la}h=N[k+72>>2];if(h+1>>>0<=N[k+64>>2]+1>>>0){l=w;break la}if(!O[k+62|0]){break a}l=N[k+88>>2];N[k+84>>2]=l;h=T(h,20);if(!h){break la}F(l,w,h);l=N[k+84>>2];w=N[k+80>>2]}h=T(N[k+64>>2],20)+w|0;n=N[h+4>>2];m=T(N[k+72>>2],20)+l|0;N[m>>2]=N[h>>2];N[m+4>>2]=n;N[m+16>>2]=N[h+16>>2];n=N[h+12>>2];N[m+8>>2]=N[h+8>>2];N[m+12>>2]=n;h=N[k+72>>2]}N[k+72>>2]=h+1}m=N[k+64>>2]+1|0;N[k+64>>2]=m;break da}m=N[k+64>>2]}if(g>>>0>m>>>0){continue}break}}if(f>>>0<=m>>>0){break X}f=N[k+80>>2]+T(m,20)|0;N[f+12>>2]=0;g=N[j+96>>2];h=N[g+28>>2];m=N[j+100>>2];i=N[f>>2];n=f+12|0;f=N[g+12>>2];if(f){f=N[f+8>>2]}else{f=0}Qa[h|0](j,m,i,n,f)|0;if(O[k+62|0]){ma:{if(N[k+84>>2]==N[k+80>>2]){f=N[k+72>>2];if((f|0)==N[k+64>>2]){break ma}}if(!xd(k)){break X}f=N[k+80>>2]+T(N[k+64>>2],20)|0;j=N[f+4>>2];g=N[k+84>>2]+T(N[k+72>>2],20)|0;N[g>>2]=N[f>>2];N[g+4>>2]=j;N[g+16>>2]=N[f+16>>2];j=N[f+12>>2];N[g+8>>2]=N[f+8>>2];N[g+12>>2]=j;f=N[k+72>>2]}N[k+72>>2]=f+1}N[k+64>>2]=N[k+64>>2]+1;break X}h=1;break aa}h=0}while(1){if(!h){w=O[k+60|0];h=1;continue}if(!(w&255)){break X}Ej(p+120|0,!o);if(Q[k+64>>2]>=f>>>0){break X}h=0;continue}}Ac(c);j=1;if(l&1){break U}break V}f=N[c+64>>2];if(t>>>0>f>>>0){l=0;if(O[c+60|0]){continue}}break}Ac(c)}j=0;if(!ib(c,b,12030,0)){break U}k=N[c+68>>2];if(k){m=0;while(1){g=N[c+80>>2];f=P[(g+T(m,20)|0)+16>>1];na:{if(f>>>0<256){i=m;break na}if(!(1<>>0>>0?k:h;i=m;while(1){oa:{i=i+1|0;if(k>>>0<=i>>>0){i=f;break oa}j=P[(g+T(i,20)|0)+16>>1];if(j>>>0<256){break oa}if(1<>>0>32){break na}if(O[c+63|0]){break S}g=m;if(h>>>0>>0){while(1){j=g;g=h;n=g>>>0>m>>>0?m:g;while(1){pa:{f=h;if(m>>>0>=f>>>0){f=n;break pa}w=N[c+80>>2];h=f-1|0;l=P[(w+T(h,20)|0)+16>>1];if(!(1<>1];if(l>>>8>>>0>(1<>>8|0:0)>>>0){continue}}break}if((f|0)!=(g|0)){j=j+2|0;if(j-f>>>0>=2){Ib(c,f,j)}h=N[c+80>>2];j=h+T(g,20)|0;N[p+112>>2]=N[j+16>>2];n=N[j+12>>2];N[p+104>>2]=N[j+8>>2];N[p+108>>2]=n;n=N[j+4>>2];N[p+96>>2]=N[j>>2];N[p+100>>2]=n;j=T(f,20);h=j+h|0;F(h+20|0,h,T(g-f|0,20));f=j+N[c+80>>2]|0;j=N[p+100>>2];N[f>>2]=N[p+96>>2];N[f+4>>2]=j;N[f+16>>2]=N[p+112>>2];j=N[p+108>>2];N[f+8>>2]=N[p+104>>2];N[f+12>>2]=j}h=g+1|0;if((i|0)!=(h|0)){continue}break}}f=N[N[a+80>>2]+36>>2];if(!f){break na}Qa[f|0](I,c,m,i)}m=i+1|0;if(k>>>0>m>>>0){continue}break}}ib(c,b,12044,0);j=0}qa:{if(!(O[c+144|0]&16)){break qa}g=N[c+68>>2];if(g>>>0<3){break qa}f=1;h=2;while(1){m=f;f=h;h=T(m,20);m=N[c+80>>2];h=h+m|0;ra:{if(N[h>>2]!=847){break ra}m=P[(m+T(f,20)|0)+16>>1];sa:{if(m>>>0<256|!(1<>1];if(n>>>8>>>0<=m>>>8>>>0){break sa}if(1<>1]=P[h+16>>1]&65471;g=N[c+68>>2]}h=f+1|0;if(g>>>0>h>>>0){continue}break}}if(!O[c+60|0]|j|(o&-2)!=2){break T}h=1;N[c+64>>2]=1;M[c+62>>1]=1;N[c+72>>2]=1;N[c+84>>2]=N[c+80>>2];i=N[c+68>>2];ta:{if(i>>>0<2){break ta}j=0;while(1){ua:{va:{h=N[c+80>>2]+T(h,20)|0;m=P[h+16>>1];if(!(1<>2];n=N[c+72>>2];g=n-1|0;if((g|0)!=(j|0)){g=P[(f+T(g>>>0<=n>>>0?g:0,20)|0)+16>>1];if(m>>>8>>>0<=(1<>>8|0:0)>>>0){break va}}g=T(j,20);if(!(Qa[N[p+144>>2]](p+120|0,N[g+f>>2],N[h>>2],p+96|0)|0)){break va}N[p+92>>2]=0;f=N[b+96>>2];h=N[f+28>>2];k=N[b+100>>2];m=N[p+96>>2];n=p+92|0;f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}if(!(Qa[h|0](b,k,m,n,f)|0)){break va}wa:{if(!O[c+62|0]){f=N[c+72>>2];break wa}h=N[c+84>>2];m=N[c+80>>2];f=N[c+72>>2];if(!((h|0)==(m|0)&(f|0)==N[c+64>>2])){f=f+1|0;if(!(!f|f>>>0>2])){if(!gb(c,f)){break ta}m=N[c+80>>2];h=N[c+84>>2]}xa:{if((h|0)!=(m|0)){break xa}f=N[c+72>>2];if(f+1>>>0<=N[c+64>>2]+1>>>0){h=m;break xa}if(!O[c+62|0]){break a}h=N[c+88>>2];N[c+84>>2]=h;f=T(f,20);if(!f){break xa}F(h,m,f);m=N[c+80>>2];h=N[c+84>>2]}f=T(N[c+64>>2],20)+m|0;m=N[f+4>>2];h=T(N[c+72>>2],20)+h|0;N[h>>2]=N[f>>2];N[h+4>>2]=m;N[h+16>>2]=N[f+16>>2];m=N[f+12>>2];N[h+8>>2]=N[f+8>>2];N[h+12>>2]=m;f=N[c+72>>2]}f=f+1|0;N[c+72>>2]=f}N[c+64>>2]=N[c+64>>2]+1;wd(c,j,f);N[c+72>>2]=N[c+72>>2]-1;f=g+N[c+84>>2]|0;N[f>>2]=N[p+96>>2];N[f+12>>2]=N[p+92>>2];Hd(g+N[c+84>>2]|0,c);h=N[c+64>>2];break ua}ya:{if(!O[c+62|0]){n=N[c+72>>2];break ya}h=N[c+84>>2];n=N[c+80>>2];f=N[c+72>>2];if(!((h|0)==(n|0)&(f|0)==N[c+64>>2])){f=f+1|0;if(!(!f|f>>>0>2])){if(!gb(c,f)){break ta}n=N[c+80>>2];h=N[c+84>>2]}za:{if((h|0)!=(n|0)){break za}f=N[c+72>>2];if(f+1>>>0<=N[c+64>>2]+1>>>0){h=n;break za}if(!O[c+62|0]){break a}h=N[c+88>>2];N[c+84>>2]=h;f=T(f,20);if(!f){break za}F(h,n,f);n=N[c+80>>2];h=N[c+84>>2]}g=T(N[c+72>>2],20)+h|0;f=T(N[c+64>>2],20)+n|0;h=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=h;N[g+16>>2]=N[f+16>>2];h=N[f+12>>2];N[g+8>>2]=N[f+8>>2];N[g+12>>2]=h;f=N[c+72>>2]}n=f+1|0;N[c+72>>2]=n}h=N[c+64>>2]+1|0;N[c+64>>2]=h;f=n-1|0;g=P[(N[c+84>>2]+T(f>>>0<=n>>>0?f:0,20)|0)+16>>1];j=1<>>0<256?f:j:f}if(h>>>0>>0){continue}break}}Ac(c)}q=N[c+144>>2];Aa:{if(!(q&1)|!(O[a+200|0]&4)){break Aa}Ba:{if((N[c+40>>2]&-3)==4){n=N[a+176>>2];g=n|N[a+180>>2];f=a+184|0;break Ba}n=N[a+176>>2];g=n|N[a+184>>2];f=a+180|0}h=N[c+68>>2];if(!h){break Aa}t=N[c+80>>2];s=N[f>>2];m=0;while(1){x=t+T(m,20)|0;if(N[x>>2]==8260){j=m+1|0;l=0;i=m;while(1){Ca:{k=l;f=i;if(!f){k=m;f=0;break Ca}l=k+1|0;i=f-1|0;if((P[(t+T(i,20)|0)+16>>1]&31)==13){continue}}break}i=j;Da:{if(h>>>0<=i>>>0){break Da}while(1){if((P[(t+T(i,20)|0)+16>>1]&31)!=13){break Da}i=i+1|0;if((h|0)!=(i|0)){continue}break}i=h}w=N[c+68>>2];v=i>>>0>w>>>0?w:i;r=v-f|0;Ea:{if(r>>>0<2){break Ea}q=q|32;N[c+144>>2]=q;if(f>>>0>=v>>>0){break Ea}l=-1;w=f;D=v+((m^-1)+k|0)|0;if(D>>>0>=3){z=r&-4;o=0;while(1){u=t+T(w,20)|0;G=N[u+8>>2];l=l>>>0>>0?l:G;G=N[u+28>>2];l=l>>>0>>0?l:G;G=N[u+48>>2];l=l>>>0>>0?l:G;u=N[u+68>>2];l=l>>>0>>0?l:u;w=w+4|0;o=o+4|0;if((z|0)!=(o|0)){continue}break}}o=0;u=r&3;if(u){while(1){z=N[(t+T(w,20)|0)+8>>2];l=l>>>0>>0?l:z;w=w+1|0;o=o+1|0;if((u|0)!=(o|0)){continue}break}}w=f;if(r&1){w=t+T(f,20)|0;if(N[w+8>>2]!=(l|0)){N[w+4>>2]=N[w+4>>2]|3}w=f+1|0}if(!D){break Ea}while(1){o=t+T(w,20)|0;if(N[o+8>>2]!=(l|0)){q=q|32;N[c+144>>2]=q;N[o+4>>2]=N[o+4>>2]|3}o=t+T(w+1|0,20)|0;if(N[o+8>>2]!=(l|0)){q=q|32;N[c+144>>2]=q;N[o+4>>2]=N[o+4>>2]|3}w=w+2|0;if((v|0)!=(w|0)){continue}break}}Fa:{if(f>>>0>=m>>>0){break Fa}l=0;w=k&3;if(w){while(1){o=t+T(f,20)|0;N[o+4>>2]=N[o+4>>2]|g;f=f+1|0;l=l+1|0;if((w|0)!=(l|0)){continue}break}}if(k-1>>>0<=2){break Fa}while(1){k=t+T(f,20)|0;N[k+4>>2]=N[k+4>>2]|g;N[k+24>>2]=N[k+24>>2]|g;N[k+44>>2]=N[k+44>>2]|g;k=k- -64|0;N[k>>2]=N[k>>2]|g;f=f+4|0;if((m|0)!=(f|0)){continue}break}}N[x+4>>2]=N[x+4>>2]|n;Ga:{if(i>>>0<=j>>>0){break Ga}f=0;k=(m^-1)+i&3;if(k){while(1){w=t+T(j,20)|0;N[w+4>>2]=s|N[w+4>>2]|n;j=j+1|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}}if((i-m|0)-2>>>0<3){break Ga}while(1){f=t+T(j,20)|0;N[f+4>>2]=s|N[f+4>>2]|n;N[f+24>>2]=s|N[f+24>>2]|n;N[f+44>>2]=s|N[f+44>>2]|n;f=f- -64|0;N[f>>2]=s|N[f>>2]|n;j=j+4|0;if((i|0)!=(j|0)){continue}break}}m=i-1|0}m=m+1|0;if(h>>>0>m>>>0){continue}break}}f=N[N[a+80>>2]+32>>2];if(f){Qa[f|0](I,c,b)}if(e){w=0;while(1){g=(w<<4)+d|0;j=N[g+8>>2];Ha:{if(!j&N[g+12>>2]==-1){break Ha}Ia:{Ja:{f=N[a+104>>2];if((f|0)<=0){break Ja}k=N[a+108>>2];m=N[g>>2];f=f-1|0;h=0;while(1){Ka:{n=f+h>>>1|0;i=k+T(n,36)|0;l=N[i>>2];La:{if(l>>>0>m>>>0){f=n-1|0;break La}if(l>>>0>=m>>>0){break Ka}h=n+1|0}if((f|0)>=(h|0)){continue}break Ja}break}h=N[i+20>>2];f=N[i+24>>2];break Ia}h=0;f=0}if(!f){break Ha}m=N[c+68>>2];if(!m){break Ha}n=f^-1;h=f&N[g+4>>2]<>2];i=N[c+80>>2];f=0;if((m|0)!=1){k=m&1;l=m&-2;while(1){m=i+T(f,20)|0;t=N[m+8>>2];if(!(t>>>0>>0|g>>>0<=t>>>0)){N[m+4>>2]=h|n&N[m+4>>2]}m=i+T(f|1,20)|0;t=N[m+8>>2];if(!(t>>>0>>0|g>>>0<=t>>>0)){N[m+4>>2]=h|n&N[m+4>>2]}f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!k){break Ha}}m=j;f=i+T(f,20)|0;j=N[f+8>>2];if(m>>>0>j>>>0|g>>>0<=j>>>0){break Ha}N[f+4>>2]=h|n&N[f+4>>2]}w=w+1|0;if((w|0)!=(e|0)){continue}break}}Ma:{if(O[a+200|0]&128){h=N[c+68>>2];if(!h){break Ma}m=N[c+80>>2];f=0;while(1){g=m+T(f,20)|0;e=P[g+16>>1];if((e&31)==12){d=e>>>8|0;Na:{if(e>>>0>51199){n=d;break Na}Oa:{Pa:{j=N[g>>2];if((j&-256)==3584){if(e>>>0<=255){i=0;Qa:{switch(j-3633|0){case 128:case 131:case 132:case 133:case 134:case 138:case 155:case 156:i=230;break Oa;case 0:case 3:case 4:case 5:case 6:case 22:case 27:case 28:case 29:break Pa;case 139:break Qa;default:break Oa}}i=220;break Oa}i=222;if((j|0)==3642){break Oa}}n=220;Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{i=d;switch(d-3|0){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 27:case 30:case 115:case 126:case 128:break Na;case 119:case 129:break Ra;case 104:break Sa;case 0:break Ta;case 23:case 24:case 25:case 26:case 28:case 29:case 31:case 32:case 33:break Ua;case 8:case 11:break Va;case 7:break Wa;case 10:break Xa;default:break Oa}}n=214;break Na}n=232;break Na}n=228;break Na}n=230;break Na}n=222;break Na}n=232;break Na}n=230;break Na}i=232}n=i}M[g+16>>1]=e&255|n<<8}f=f+1|0;if((h|0)!=(f|0)){continue}break}}e=N[c+68>>2];if(!e){break Ma}d=N[c+80>>2];j=0;f=0;if(e>>>0>=4){g=e&-4;while(1){h=d+T(f,20)|0;N[h>>2]=N[h+12>>2];h=d+T(f|1,20)|0;N[h>>2]=N[h+12>>2];h=d+T(f|2,20)|0;N[h>>2]=N[h+12>>2];h=d+T(f|3,20)|0;N[h>>2]=N[h+12>>2];f=f+4|0;if((g|0)!=(f|0)){continue}break}}e=e&3;if(!e){break Ma}while(1){g=d+T(f,20)|0;N[g>>2]=N[g+12>>2];f=f+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}N[c+36>>2]=2;d=O[c+140|0];if((d&15)==15){L[c+140|0]=d&240|7;d=N[b+24>>2];f=N[d+140>>2];Ya:{if(f){break Ya}while(1){e=N[d+48>>2];if(!e){f=275552;break Ya}f=db(1,4);if(!f){f=275552;N[d+140>>2]=275552;break Ya}f=Pf(f,e);if(!N[d+140>>2]){N[d+140>>2]=f;break Ya}ab(N[f>>2]);_a(f);f=N[d+140>>2];if(!f){continue}break}}d=N[c+68>>2];if(d){e=N[f>>2];e=e?e:275552;e=Q[e+16>>2]<4?275552:N[e+12>>2];f=0;while(1){g=T(f,20);j=g+N[c+80>>2]|0;fa=j,ga=Uc(e,N[j>>2]),M[fa+12>>1]=ga;L[(g+N[c+80>>2]|0)+14|0]=0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}f=P[a+200>>1];Za:{if(!(f&64)){break Za}e=N[c+68>>2];if(!e){break Za}g=N[c+80>>2];f=0;while(1){d=g+T(f,20)|0;h=P[d+16>>1];_a:{if((h&31)==12){j=8;if(!(h&32)|P[d+12>>1]&16){break _a}}j=2}M[d+12>>1]=j;f=f+1|0;if((e|0)!=(f|0)){continue}break}f=P[a+200>>1]}$a:{if(f&8192){w=0;h=La-160|0;La=h;f=N[b+24>>2];d=N[f+156>>2];ab:{if(d){break ab}g=h- -64|0;while(1){d=N[f+48>>2];if(!d){d=275552;break ab}N[g>>2]=0;N[g+4>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;L[h+80|0]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+84>>2]=0;N[h+88>>2]=0;e=N[d+32>>2];if((e|0)==-1){e=sb(d+56|0);e=O[e+4|0]|O[e+5|0]<<8;e=(e<<8|e>>>8)&65535;N[d+32>>2]=e}L[h+96|0]=1;N[h+92>>2]=e;e=N[d+12>>2];bb:{if(e){d=Qa[e|0](d,1836020344,N[d+16>>2])|0;if(d){break bb}}d=275552}e=tl(h+56|0,d);d=N[f+156>>2];cb:{if(e){if(d){break cb}d=e;N[f+156>>2]=e;break ab}if(d){break ab}d=275552;N[f+156>>2]=275552;break ab}if((e|0)==275552){break ab}ab(e);d=N[f+156>>2];if(!d){continue}break}}db:{e=Q[d+16>>2]<8?275552:N[d+12>>2];eb:{if(O[e|0]|O[e+1|0]<<8){f=Ve(h+56|0,I,b,c,d);if(ib(c,b,7994,0)){d=N[f+16>>2];fb:{if(!O[d+60|0]){break fb}N[f+72>>2]=0;g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!g){break fb}g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);t=g>>>0<=1?1:g;l=e+8|0;while(1){e=O[l+12|0]|O[l+13|0]<<8|(O[l+14|0]<<16|O[l+15|0]<<24);gb:{if(!e){break gb}d=N[f+4>>2];o=N[(Q[d+104>>2]<=w>>>0?275552:N[d+108>>2]+(w<<2)|0)>>2];d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);q=d>>>0<=1?1:d;d=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);e=(T(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),12)+l|0)+16|0;k=0;while(1){d=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);hb:{if(!(o&(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)))){break hb}g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!(g&32)&((g&128)>>>7|0)==((N[N[f+16>>2]+40>>2]&-2)!=6|0)){break hb}ib:{if(g&16){d=N[f+16>>2];g=(g&64)>>>6|0;break ib}d=N[f+16>>2];g=(g&64)>>>6^(N[d+40>>2]&-3)==5}j=N[f+8>>2];N[h+48>>2]=N[f+72>>2];if(!ib(d,j,17537,h+48|0)){break hb}jb:{if(g){m=N[f+16>>2];n=N[m+68>>2];if(n>>>0>=2){i=N[m+80>>2];u=n-1|0;d=0;while(1){g=i+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];s=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=s;s=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=s;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}kb:{if(!O[m+63|0]){break kb}d=N[m+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break kb}m=N[m+88>>2];u=d-1|0;d=0;while(1){g=m+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=m+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}u=0;d=0;lb:{if(e>>>0>>0){break lb}d=0;if(e>>>0>=j>>>0){break lb}g=j-e|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);u=(d>>>0>g>>>0?g:d)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=u;nl(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}m=N[f+16>>2];n=N[m+68>>2];if(n>>>0>=2){i=N[m+80>>2];u=n-1|0;d=0;while(1){g=i+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];s=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=s;s=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=s;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}if(!O[m+63|0]){break jb}d=N[m+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break jb}m=N[m+88>>2];u=d-1|0;d=0;while(1){g=m+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=m+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}break jb}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}u=0;d=0;mb:{if(e>>>0>>0){break mb}d=0;if(e>>>0>=j>>>0){break mb}g=j-e|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);u=(d>>>0>g>>>0?g:d)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=u;nl(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}}d=N[f+8>>2];g=N[f+16>>2];N[h+32>>2]=N[f+72>>2];ib(g,d,17560,h+32|0);d=N[f+16>>2];if(!O[d+60|0]){break gb}}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[f+72>>2]=N[f+72>>2]+1;e=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+e|0;k=k+1|0;if((q|0)!=(k|0)){continue}break}d=N[f+16>>2]}if(!O[d+60|0]){break fb}e=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);l=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+l|0;w=w+1|0;if((t|0)!=(w|0)){continue}break}}ib(c,b,8011,0)}ab(N[f+52>>2]);break eb}f=N[b+24>>2];d=N[f+160>>2];nb:{if(d){break nb}g=h- -64|0;while(1){d=N[f+48>>2];if(!d){d=275552;break nb}N[g>>2]=0;N[g+4>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;L[h+80|0]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+84>>2]=0;N[h+88>>2]=0;e=N[d+32>>2];if((e|0)==-1){e=sb(d+56|0);e=O[e+4|0]|O[e+5|0]<<8;e=(e<<8|e>>>8)&65535;N[d+32>>2]=e}L[h+96|0]=1;N[h+92>>2]=e;e=N[d+12>>2];ob:{if(e){d=Qa[e|0](d,1836020340,N[d+16>>2])|0;if(d){break ob}}d=275552}e=rl(h+56|0,d);d=N[f+160>>2];pb:{if(e){if(d){break pb}d=e;N[f+160>>2]=e;break nb}if(d){break nb}d=275552;N[f+160>>2]=275552;break nb}if((e|0)==275552){break nb}ab(e);d=N[f+160>>2];if(!d){continue}break}}e=Q[d+16>>2]<8?275552:N[d+12>>2];if(!(O[e|0]|O[e+1|0]<<8)){break eb}f=Ve(h+56|0,I,b,c,d);if(ib(c,b,8735,0)){d=N[f+16>>2];qb:{if(!O[d+60|0]){break qb}N[f+72>>2]=0;g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!g){break qb}g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);t=g>>>0<=1?1:g;l=e+8|0;while(1){e=O[l+10|0]|O[l+11|0]<<8;rb:{if(!e){break rb}d=N[f+4>>2];o=N[(Q[d+104>>2]<=w>>>0?275552:N[d+108>>2]+(w<<2)|0)>>2];d=(e<<8|e>>>8)&65535;q=d>>>0<=1?1:d;d=O[l+8|0]|O[l+9|0]<<8;e=(T((d<<8|d>>>8)&65535,12)+l|0)+12|0;k=0;while(1){d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);sb:{if(!(o&(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)))){break sb}g=O[e+2|0];if(!(g&32)&((N[N[f+16>>2]+40>>2]&-2)!=6|0)==(g>>>0>127|0)){break sb}tb:{if(g&16){d=N[f+16>>2];g=(g&64)>>>6|0;break tb}d=N[f+16>>2];g=(g&64)>>>6^(N[d+40>>2]&-3)==5}j=N[f+8>>2];N[h+16>>2]=N[f+72>>2];if(!ib(d,j,17537,h+16|0)){break sb}ub:{if(g){m=N[f+16>>2];n=N[m+68>>2];if(n>>>0>=2){i=N[m+80>>2];u=n-1|0;d=0;while(1){g=i+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];s=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=s;s=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=s;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}vb:{if(!O[m+63|0]){break vb}d=N[m+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break vb}m=N[m+88>>2];u=d-1|0;d=0;while(1){g=m+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=m+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}u=0;d=0;wb:{if(e>>>0>>0){break wb}d=0;if(e>>>0>=j>>>0){break wb}d=j-e|0;g=O[e|0]|O[e+1|0]<<8;g=(g<<8|g>>>8)&65535;u=(d>>>0>>0?d:g)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=u;ml(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}m=N[f+16>>2];n=N[m+68>>2];if(n>>>0>=2){i=N[m+80>>2];u=n-1|0;d=0;while(1){g=i+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=i+T(d,20)|0;N[g+16>>2]=N[j+16>>2];s=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=s;s=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=s;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}}if(!O[m+63|0]){break ub}d=N[m+68>>2];d=d>>>0>>0?d:n;if(d>>>0<2){break ub}m=N[m+88>>2];u=d-1|0;d=0;while(1){g=m+T(u,20)|0;N[h+152>>2]=N[g+16>>2];j=N[g+12>>2];N[h+144>>2]=N[g+8>>2];N[h+148>>2]=j;j=N[g+4>>2];N[h+136>>2]=N[g>>2];N[h+140>>2]=j;j=m+T(d,20)|0;N[g+16>>2]=N[j+16>>2];n=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=n;n=N[j+4>>2];N[g>>2]=N[j>>2];N[g+4>>2]=n;N[j+16>>2]=N[h+152>>2];g=N[h+148>>2];N[j+8>>2]=N[h+144>>2];N[j+12>>2]=g;g=N[h+140>>2];N[j>>2]=N[h+136>>2];N[j+4>>2]=g;d=d+1|0;u=u-1|0;if(d>>>0>>0){continue}break}break ub}d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];j=d+g|0;N[f+28>>2]=j;if((d|0)<0){break db}u=0;d=0;xb:{if(e>>>0>>0){break xb}d=0;if(e>>>0>=j>>>0){break xb}d=j-e|0;g=O[e|0]|O[e+1|0]<<8;g=(g<<8|g>>>8)&65535;u=(d>>>0>>0?d:g)+e|0;d=e}N[f+24>>2]=d;N[f+28>>2]=u;ml(e,f);d=N[f+52>>2];g=N[d+12>>2];N[f+24>>2]=g;d=N[d+16>>2];N[f+28>>2]=d+g;if((d|0)<0){break db}}d=N[f+8>>2];g=N[f+16>>2];N[h>>2]=N[f+72>>2];ib(g,d,17560,h);d=N[f+16>>2];if(!O[d+60|0]){break rb}}d=O[e|0]|O[e+1|0]<<8;N[f+72>>2]=N[f+72>>2]+1;e=((d<<8|d>>>8)&65535)+e|0;k=k+1|0;if((q|0)!=(k|0)){continue}break}d=N[f+16>>2]}if(!O[d+60|0]){break qb}e=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);l=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+l|0;w=w+1|0;if((t|0)!=(w|0)){continue}break}}ib(c,b,8752,0)}ab(N[f+52>>2])}La=h+160|0;break $a}break b}d=N[b+24>>2]+144|0;e=N[Vb(d)>>2];e=e?e:275552;f=N[e+16>>2];e=N[e+12>>2];q=N[Vb(d)+8>>2];if(!ib(c,b,20436,0)){break $a}d=Ec(p+120|0,0,b,c);N[d+100>>2]=289;j=N[a+140>>2];if(j){w=f>>>0<4?275552:e;h=0;o=0;while(1){l=j>>>0<=o>>>0?275552:N[a+144>>2]+(o<<3)|0;if(Q[l>>2]>h>>>0){while(1){e=Q[a+116>>2]<=h>>>0?275552:N[a+120>>2]+T(h,12)|0;f=P[e>>1];g=N[e+8>>2];N[p+80>>2]=g&255;N[p+64>>2]=f;N[p+68>>2]=g>>>24;N[p+76>>2]=g>>>8&255;N[p+72>>2]=g>>>16&255;if(ib(c,b,24707,p- -64|0)){k=q+T(f,28)|0;yb:{if(!(!(N[d+116>>2]&N[k>>2])|!(N[d+120>>2]&N[k+4>>2])|!(N[d+124>>2]&N[k+8>>2]))){N[d+136>>2]=f;j=N[e+4>>2];N[d+32>>2]=0;N[d+132>>2]=j;N[d+24>>2]=0;N[d+28>>2]=0;g=N[d+140>>2];N[d+12>>2]=g;m=N[d+84>>2]==1;L[d+20|0]=m;L[d+21|0]=O[d+150|0];N[d+16>>2]=j;N[d+72>>2]=0;n=O[d+151|0];L[d+22|0]=n;N[d+64>>2]=0;N[d+68>>2]=0;N[d+52>>2]=g;N[d+8>>2]=d;N[d+48>>2]=d;L[d+61|0]=1;N[d+56>>2]=-1;L[d+62|0]=n;i=m|O[d+149|0]!=0;L[d+60|0]=i;t=O[e+2|0];N[d+28>>2]=0;N[d+32>>2]=0;N[d+12>>2]=g;N[d+68>>2]=0;N[d+72>>2]=0;N[d+16>>2]=j;N[d+52>>2]=g;N[d+56>>2]=-1;L[d+20|0]=m;L[d+22|0]=n;L[d+60|0]=i;L[d+62|0]=n;i=t>>>1&1;L[d+21|0]=i;L[d+150|0]=i;t=O[e+2|0];L[d+21|0]=i;L[d+20|0]=m;L[d+22|0]=n;L[d+62|0]=n;L[d+61|0]=1;N[d+24>>2]=0;N[d+12>>2]=g;N[d+64>>2]=0;N[d+16>>2]=j;N[d+52>>2]=g;L[d+149|0]=t&1;n=(m|t)&1;L[d+60|0]=n;N[d+8>>2]=d;N[d+48>>2]=d;L[d+152|0]=O[e+2|0]>>>2&1;t=O[e+2|0];N[d+28>>2]=0;N[d+32>>2]=0;L[d+21|0]=i;L[d+20|0]=m;N[d+12>>2]=g;N[d+16>>2]=j;N[d+68>>2]=0;N[d+72>>2]=0;L[d+60|0]=n;N[d+52>>2]=g;N[d+56>>2]=-1;g=t>>>3&1;L[d+151|0]=g;L[d+22|0]=g;L[d+62|0]=g;j=275552;zb:{if((O[w|0]|O[w+1|0]<<8)!=256){break zb}i=275552;g=O[w+8|0]|O[w+9|0]<<8;if(g){i=w+((g<<8|g>>>8)&65535)|0}g=O[i|0]|O[i+1|0]<<8;if(f>>>0>=((g<<8|g>>>8)&65535)>>>0){break zb}g=(f<<1)+i|0;g=O[g+2|0]|O[g+3|0]<<8;if(!g){break zb}j=((g<<8|g>>>8)&65535)+i|0}Mj(d,j,k);break yb}g=N[e+8>>2];N[p+48>>2]=g&255;N[p+32>>2]=f;N[p+36>>2]=g>>>24;N[p+44>>2]=g>>>8&255;N[p+40>>2]=g>>>16&255;ib(c,b,11287,p+32|0)}e=N[e+8>>2];N[p+16>>2]=e&255;N[p>>2]=f;N[p+4>>2]=e>>>24;N[p+12>>2]=e>>>8&255;N[p+8>>2]=e>>>16&255;ib(c,b,24742,p)}h=h+1|0;if(h>>>0>2]){continue}break}}e=N[l+4>>2];Ab:{if(!e){break Ab}if(!(Qa[e|0](I,b,c)|0)){break Ab}e=N[c+68>>2];Bb:{if(!e){n=0;g=0;m=0;break Bb}g=0;j=N[c+80>>2];n=j;m=0;l=e>>>0<4;if(!l){f=e&-4;i=0;while(1){m=1<<(N[n>>2]>>>4)|m|1<<(N[n+20>>2]>>>4)|1<<(N[n+40>>2]>>>4)|1<<(N[n+60>>2]>>>4);n=n+80|0;i=i+4|0;if((f|0)!=(i|0)){continue}break}}f=e&3;if(f){while(1){m=1<<(N[n>>2]>>>4)|m;n=n+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}i=0;n=j;g=0;if(!l){t=e&-4;k=0;while(1){g=1<>2]|g|1<>2]|1<>2]|1<>2];n=n+80|0;k=k+4|0;if((t|0)!=(k|0)){continue}break}}if(f){while(1){g=1<>2]|g;n=n+20|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}i=0;Cb:{if(l){n=0;break Cb}e=e&-4;n=0;k=0;while(1){n=1<<(N[j>>2]>>>9)|n|1<<(N[j+20>>2]>>>9)|1<<(N[j+40>>2]>>>9)|1<<(N[j+60>>2]>>>9);j=j+80|0;k=k+4|0;if((e|0)!=(k|0)){continue}break}}if(!f){break Bb}while(1){n=1<<(N[j>>2]>>>9)|n;j=j+20|0;i=i+1|0;if((f|0)!=(i|0)){continue}break}}N[d+124>>2]=n;N[d+120>>2]=g;N[d+116>>2]=m}j=N[a+140>>2];o=o+1|0;if(j>>>0>o>>>0){continue}break}}_a(N[d+112>>2]);ib(c,b,20453,0)}if((P[a+200>>1]&8704)==8704){ll(c)}N[c+72>>2]=0;M[c+62>>1]=256;n=N[c+80>>2];N[c+84>>2]=n;j=N[c+68>>2];d=T(j,20);if(d){C(N[c+88>>2],0,d);n=N[c+80>>2];j=N[c+68>>2]}d=N[c+88>>2];Db:{if((N[c+40>>2]&-2)==4){e=N[b+96>>2];f=N[e+48>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+28>>2]}else{e=0}Qa[f|0](b,g,j,n,20,d,20,e);e=N[147126];f=b;while(1){if((e|0)==N[N[f+96>>2]+56>>2]){f=N[f+20>>2];if(!f){break Db}if((f|0)!=588752){continue}break Db}break}if(!j){break Db}h=0;while(1){e=T(h,20);Jd(b,N[e+n>>2],p+120|0,p+96|0);e=d+e|0;N[e+8>>2]=N[e+8>>2]-N[p+120>>2];N[e+12>>2]=N[e+12>>2]-N[p+96>>2];h=h+1|0;if((j|0)!=(h|0)){continue}break}break Db}e=N[b+96>>2];f=N[e+52>>2];h=0;i=N[b+100>>2];g=d+4|0;e=N[e+12>>2];if(e){e=N[e+32>>2]}else{e=0}Qa[f|0](b,i,j,n,20,g,20,e);if(!j){break Db}while(1){e=T(h,20);rq(b,N[e+n>>2],p+120|0,p+96|0);e=d+e|0;N[e+8>>2]=N[e+8>>2]-N[p+120>>2];N[e+12>>2]=N[e+12>>2]-N[p+96>>2];h=h+1|0;if((j|0)!=(h|0)){continue}break}}Eb:{if(O[c+144|0]&4){n=N[c+68>>2];if(!n){break Eb}k=N[c+80>>2];g=N[c+88>>2];h=(N[c+40>>2]&-2)!=4;f=0;while(1){j=T(f,20);d=j+k|0;Fb:{if((P[d+16>>1]&31)!=29|O[d+12|0]&32){break Fb}e=N[c+28>>2];Gb:{if(!e|(e|0)!=N[d>>2]){break Gb}if(!h){N[g+j>>2]=N[b+28>>2]/4;break Gb}N[(g+j|0)+4>>2]=N[b+32>>2]/-4}Hb:{Ib:{Jb:{Kb:{Lb:{Mb:{Nb:{d=P[d+16>>1];d=(d&31)==29?d>>>8|0:0;switch(d-1|0){case 20:break Jb;case 19:break Kb;case 18:break Lb;case 16:break Mb;case 0:case 1:case 2:case 3:case 4:case 5:case 15:break Nb;default:break Fb}}e=d>>>1|0;if(!h){N[g+j>>2]=(e+N[b+28>>2]|0)/(d|0);break Fb}N[(g+j|0)+4>>2]=0-((e+N[b+32>>2]|0)/(d|0)|0);break Fb}if(!h){d=N[b+28>>2];o=d>>31<<2|d>>>30;fa=g+j|0,ga=VE(d<<2,o,18,0),N[fa>>2]=ga;break Fb}d=0-N[b+32>>2]|0;s=d>>31<<2|d>>>30;fa=g+j|0,ga=VE(d<<2,s,18,0),N[fa+4>>2]=ga;break Fb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,m,48,i,d)|0)){break Ib}break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,m,46,i,d)|0)){N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,m,44,i,d)|0)){break Fb}}d=N[b+100>>2];i=N[b+96>>2];m=N[i+12>>2];e=N[p+120>>2];if(!h){i=N[i+40>>2];fa=g+j|0,ga=Qa[i|0](b,d,e,m?N[m+20>>2]:0)|0,N[fa>>2]=ga;break Fb}i=N[i+44>>2];fa=g+j|0,ga=Qa[i|0](b,d,e,m?N[m+24>>2]:0)|0,N[fa+4>>2]=ga;break Fb}if(!h){d=g+j|0;N[d>>2]=N[d>>2]/2;break Fb}d=g+j|0;N[d+4>>2]=N[d+4>>2]/2;break Fb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,49,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,50,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,51,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,52,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,53,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,54,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,55,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,m,56,i,d)|0){break Hb}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];m=N[b+100>>2];i=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[e|0](b,m,57,i,d)|0)){break Fb}}d=N[b+100>>2];i=N[b+96>>2];m=N[i+12>>2];e=N[p+120>>2];if(!h){i=N[i+40>>2];fa=g+j|0,ga=Qa[i|0](b,d,e,m?N[m+20>>2]:0)|0,N[fa>>2]=ga;break Fb}i=N[i+44>>2];fa=g+j|0,ga=Qa[i|0](b,d,e,m?N[m+24>>2]:0)|0,N[fa+4>>2]=ga}f=f+1|0;if((n|0)!=(f|0)){continue}break}}n=N[c+68>>2]}w=0;w=L[a+201|0]&1?(N[c+40>>2]&-3)==4:w;da=N[c+80>>2];ea=N[c+88>>2];d=N[147126];f=b;Ob:{Pb:{Qb:{while(1){if((d|0)!=N[N[f+96>>2]+56>>2]){break Qb}f=N[f+20>>2];if((f|0)!=588752?f:0){continue}break}g=n;j=(g|0)!=0;break Pb}j=0;if(!n){break Ob}while(1){d=T(j,20);Jd(b,N[d+da>>2],p+120|0,p+96|0);d=d+ea|0;N[d+8>>2]=N[d+8>>2]+N[p+120>>2];N[d+12>>2]=N[d+12>>2]+N[p+96>>2];j=j+1|0;if((n|0)!=(j|0)){continue}break}g=N[c+68>>2];j=1}if(!g){break Ob}h=0;f=0;if(g>>>0>=4){d=g&-4;while(1){e=T(f,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|1,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|2,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;e=T(f|3,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;f=f+4|0;if((d|0)!=(f|0)){continue}break}}d=g&3;if(!d){break Ob}while(1){e=T(f,20);L[(e+N[c+88>>2]|0)+18|0]=0;M[(e+N[c+88>>2]|0)+16>>1]=0;f=f+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}Rb:{if(!(O[a+200|0]&32)|N[N[a+80>>2]+48>>2]!=1){break Rb}e=N[c+68>>2];if(!e){break Rb}g=N[c+80>>2];if(w){h=0;while(1){d=T(h,20);if(O[(d+g|0)+12|0]&8){d=d+N[c+88>>2]|0;f=N[d+4>>2];N[d+4>>2]=0;m=N[d>>2];N[d>>2]=0;N[d+8>>2]=N[d+8>>2]-m;N[d+12>>2]=N[d+12>>2]-f}h=h+1|0;if((e|0)!=(h|0)){continue}break}break Rb}f=0;if((e|0)!=1){d=e&1;e=e&-2;while(1){h=T(f,20);if(O[(h+g|0)+12|0]&8){h=h+N[c+88>>2]|0;N[h>>2]=0;N[h+4>>2]=0}h=T(f|1,20);if(O[(h+g|0)+12|0]&8){h=h+N[c+88>>2]|0;N[h>>2]=0;N[h+4>>2]=0}f=f+2|0;if((e|0)!=(f|0)){continue}break}if(!d){break Rb}}d=T(f,20);if(!(O[(d+g|0)+12|0]&8)){break Rb}d=d+N[c+88>>2]|0;N[d>>2]=0;N[d+4>>2]=0}t=c;k=0;m=0;i=La-448|0;La=i;Sb:{c=P[I+140>>1];if(c&512){c=N[b+24>>2]+148|0;d=N[mc(c)>>2];d=d?d:275552;f=N[d+16>>2];d=N[d+12>>2];v=N[mc(c)+8>>2];if(!ib(t,b,19444,0)){break Sb}h=Ec(i+272|0,1,b,t);N[h+100>>2]=286;e=N[I+92>>2];if(e){m=f>>>0<4?275552:d;while(1){q=e>>>0<=A>>>0?275552:N[I+96>>2]+(A<<3)|0;if(Q[q>>2]>k>>>0){while(1){d=Q[I+68>>2]<=k>>>0?275552:N[I+72>>2]+T(k,12)|0;f=P[d>>1];c=N[d+8>>2];N[i+176>>2]=c&255;N[i+160>>2]=f;N[i+164>>2]=c>>>24;N[i+172>>2]=c>>>8&255;N[i+168>>2]=c>>>16&255;if(ib(t,b,24707,i+160|0)){y=v+T(f,28)|0;Tb:{if(!(!(N[h+116>>2]&N[y>>2])|!(N[h+120>>2]&N[y+4>>2])|!(N[h+124>>2]&N[y+8>>2]))){N[h+136>>2]=f;e=N[d+4>>2];N[h+32>>2]=0;N[h+132>>2]=e;N[h+24>>2]=0;N[h+28>>2]=0;c=N[h+140>>2];N[h+12>>2]=c;g=N[h+84>>2]==1;L[h+20|0]=g;L[h+21|0]=O[h+150|0];N[h+16>>2]=e;N[h+72>>2]=0;l=O[h+151|0];L[h+22|0]=l;N[h+64>>2]=0;N[h+68>>2]=0;N[h+52>>2]=c;N[h+8>>2]=h;N[h+48>>2]=h;L[h+61|0]=1;N[h+56>>2]=-1;L[h+62|0]=l;o=g|O[h+149|0]!=0;L[h+60|0]=o;s=O[d+2|0];N[h+28>>2]=0;N[h+32>>2]=0;N[h+12>>2]=c;N[h+68>>2]=0;N[h+72>>2]=0;N[h+16>>2]=e;N[h+52>>2]=c;N[h+56>>2]=-1;L[h+20|0]=g;L[h+22|0]=l;L[h+60|0]=o;L[h+62|0]=l;o=s>>>1&1;L[h+21|0]=o;L[h+150|0]=o;s=O[d+2|0];L[h+21|0]=o;L[h+20|0]=g;L[h+22|0]=l;L[h+62|0]=l;L[h+61|0]=1;N[h+24>>2]=0;N[h+12>>2]=c;N[h+64>>2]=0;N[h+16>>2]=e;N[h+52>>2]=c;L[h+149|0]=s&1;l=(g|s)&1;L[h+60|0]=l;N[h+8>>2]=h;N[h+48>>2]=h;L[h+152|0]=O[d+2|0]>>>2&1;s=O[d+2|0];N[h+28>>2]=0;N[h+32>>2]=0;L[h+21|0]=o;L[h+20|0]=g;N[h+12>>2]=c;N[h+16>>2]=e;N[h+68>>2]=0;N[h+72>>2]=0;L[h+60|0]=l;N[h+52>>2]=c;N[h+56>>2]=-1;c=s>>>3&1;L[h+151|0]=c;L[h+22|0]=c;L[h+62|0]=c;c=275552;Ub:{if((O[m|0]|O[m+1|0]<<8)!=256){break Ub}e=275552;g=O[m+8|0]|O[m+9|0]<<8;if(g){e=m+((g<<8|g>>>8)&65535)|0}g=O[e|0]|O[e+1|0]<<8;if(f>>>0>=((g<<8|g>>>8)&65535)>>>0){break Ub}g=(f<<1)+e|0;g=O[g+2|0]|O[g+3|0]<<8;if(!g){break Ub}c=((g<<8|g>>>8)&65535)+e|0}g=N[h+96>>2];if(!N[g+68>>2]){break Tb}l=N[h+132>>2];if(!l){break Tb}e=O[c+2|0]|O[c+3|0]<<8;o=e<<8|e>>>8;e=o&65535;if(o&16){E=c;c=O[c+4|0]|O[c+5|0]<<8;c=E+(((c<<8|c>>>8)&65535)<<1)|0;c=O[c+6|0]|O[c+7|0]<<8;e=c<<24|c<<8&16711680|e}N[h+32>>2]=0;N[h+140>>2]=e;N[h+24>>2]=0;N[h+28>>2]=0;N[h+12>>2]=e;N[h+16>>2]=l;N[h+72>>2]=0;N[h+64>>2]=0;N[h+68>>2]=0;N[h+52>>2]=e;L[h+61|0]=1;L[h+21|0]=O[h+150|0];c=O[h+151|0];L[h+22|0]=c;e=N[h+84>>2]==1;L[h+20|0]=e;L[h+60|0]=e|O[h+149|0]!=0;N[h+8>>2]=h;N[h+48>>2]=h;L[h+62|0]=c;N[h+56>>2]=-1;N[g+64>>2]=0;Lj(h,y);break Tb}c=N[d+8>>2];N[i+144>>2]=c&255;N[i+128>>2]=f;N[i+132>>2]=c>>>24;N[i+140>>2]=c>>>8&255;N[i+136>>2]=c>>>16&255;ib(t,b,11287,i+128|0)}c=N[d+8>>2];N[i+112>>2]=c&255;N[i+96>>2]=f;N[i+100>>2]=c>>>24;N[i+108>>2]=c>>>8&255;N[i+104>>2]=c>>>16&255;ib(t,b,24742,i+96|0)}k=k+1|0;if(k>>>0>2]){continue}break}}c=N[q+4>>2];Vb:{if(!c){break Vb}if(!(Qa[c|0](I,b,t)|0)){break Vb}l=N[t+68>>2];Wb:{if(!l){d=0;g=0;f=0;break Wb}g=0;e=N[t+80>>2];d=e;f=0;o=l>>>0<4;if(!o){y=l&-4;c=0;while(1){f=1<<(N[d>>2]>>>4)|f|1<<(N[d+20>>2]>>>4)|1<<(N[d+40>>2]>>>4)|1<<(N[d+60>>2]>>>4);d=d+80|0;c=c+4|0;if((y|0)!=(c|0)){continue}break}}y=l&3;if(y){while(1){f=1<<(N[d>>2]>>>4)|f;d=d+20|0;g=g+1|0;if((y|0)!=(g|0)){continue}break}}c=0;d=e;g=0;if(!o){q=l&-4;x=0;while(1){g=1<>2]|g|1<>2]|1<>2]|1<>2];d=d+80|0;x=x+4|0;if((q|0)!=(x|0)){continue}break}}if(y){while(1){g=1<>2]|g;d=d+20|0;c=c+1|0;if((y|0)!=(c|0)){continue}break}}c=0;Xb:{if(o){d=0;break Xb}l=l&-4;d=0;x=0;while(1){d=1<<(N[e>>2]>>>9)|d|1<<(N[e+20>>2]>>>9)|1<<(N[e+40>>2]>>>9)|1<<(N[e+60>>2]>>>9);e=e+80|0;x=x+4|0;if((l|0)!=(x|0)){continue}break}}if(!y){break Wb}while(1){d=1<<(N[e>>2]>>>9)|d;e=e+20|0;c=c+1|0;if((y|0)!=(c|0)){continue}break}}N[h+124>>2]=d;N[h+120>>2]=g;N[h+116>>2]=f}e=N[I+92>>2];A=A+1|0;if(e>>>0>A>>>0){continue}break}}_a(N[h+112>>2]);ib(t,b,19461,0);break Sb}if(!(c&4096)){break Sb}f=N[b+24>>2];c=N[f+164>>2];Yb:{if(c){break Yb}while(1){c=N[f+48>>2];if(!c){c=275552;break Yb}N[i+280>>2]=0;N[i+284>>2]=0;N[i+288>>2]=0;N[i+292>>2]=0;L[i+296|0]=0;N[i+272>>2]=0;N[i+276>>2]=0;N[i+300>>2]=0;N[i+304>>2]=0;e=N[c+32>>2];if((e|0)==-1){d=sb(c+56|0);d=O[d+4|0]|O[d+5|0]<<8;e=(d<<8|d>>>8)&65535;N[c+32>>2]=e}L[i+312|0]=1;N[i+308>>2]=e;d=N[c+12>>2];Zb:{if(d){c=Qa[d|0](c,1801810552,N[c+16>>2])|0;if(c){break Zb}}c=275552}d=kl(i+272|0,c);c=N[f+164>>2];_b:{if(d){if(c){break _b}c=d;N[f+164>>2]=c;break Yb}if(c){break Yb}c=275552;N[f+164>>2]=275552;break Yb}if((d|0)==275552){break Yb}ab(d);c=N[f+164>>2];if(!c){continue}break}}g=N[c+16>>2];l=N[c+12>>2];r=Ve(i+196|0,I,b,t,c);$b:{if(ib(t,b,8026,0)){d=N[b+24>>2];k=N[d+168>>2];ac:{if(k){break ac}while(1){c=N[d+48>>2];if(!c){k=275552;break ac}N[i+288>>2]=0;N[i+300>>2]=0;f=N[c+32>>2];if((f|0)==-1){e=sb(c+56|0);e=O[e+4|0]|O[e+5|0]<<8;f=(e<<8|e>>>8)&65535;N[c+32>>2]=f}L[i+312|0]=1;N[i+308>>2]=f;e=N[c+12>>2];bc:{if(e){h=Qa[e|0](c,1634626418,N[c+16>>2])|0;if(h){break bc}}h=275552}cc:{dc:{ec:{fc:{gc:{hc:{ic:{c=N[h>>2];if(c){if((c|0)<=0){break ic}N[h>>2]=c+1}L[i+296|0]=0;N[i+304>>2]=h;k=N[h+12>>2];N[i+276>>2]=k;c=N[h+16>>2];N[i+280>>2]=c+k;if((c|0)<0){break b}N[i+292>>2]=0;N[i+272>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[i+284>>2]=c;c=h;if(!k){break dc}if(nh(k,i+272|0)){break hc}jc:{if(O[i+296|0]|!N[i+300>>2]){break jc}if(!zb(h)){break jc}while(1){L[i+296|0]=1;c=N[i+304>>2];k=N[c+12>>2];N[i+276>>2]=k;e=N[c+16>>2];N[i+280>>2]=e+k;if((e|0)<0){break b}N[i+300>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[i+284>>2]=e;N[i+292>>2]=0;N[i+272>>2]=0;if(!k){break dc}if(nh(k,i+272|0)){break hc}if(O[i+296|0]|!N[i+300>>2]){break jc}c=zb(h);N[i+276>>2]=c;N[i+280>>2]=c+N[h+16>>2];if(c){continue}break}}ab(N[i+304>>2]);break gc}ba(23506,14099,260,16403);B()}if(!N[i+300>>2]){break fc}N[i+300>>2]=0;c=nh(k,i+272|0);e=N[i+300>>2];ab(N[i+304>>2]);if(e){break gc}if(c){break ec}}ab(h);k=N[d+168>>2];if(k){break ac}k=275552;N[d+168>>2]=275552;break ac}ab(N[i+304>>2])}if(!N[h+4>>2]){break cc}N[h+4>>2]=0;break cc}ab(c)}k=N[d+168>>2];if(!k){k=h;N[d+168>>2]=h;break ac}if((h|0)==275552){break ac}ab(h);k=N[d+168>>2];if(!k){continue}break}}c=N[k+12>>2];d=N[k+16>>2];N[r+72>>2]=0;N[r+64>>2]=d>>>0<12?275552:c;c=g>>>0<8?275552:l;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(d){d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);K=d>>>0<=1?1:d;Y=d-1|0;d=c+8|0;J=i+276|0;e=0;while(1){c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);f=N[r+16>>2];g=N[f+40>>2];kc:{if((!(c&128)|0)==((g&-2)!=4|0)){break kc}h=N[r+8>>2];N[i+80>>2]=e;if(!ib(f,h,17581,i+80|0)){break kc}X=(c&16)>>>4^(g&-3)!=5;c=1;lc:{if(y){break lc}c=0;if(!(O[d+4|0]&64)){break lc}f=N[r+16>>2];e=N[f+68>>2];c=1;if(!e){break lc}f=N[f+88>>2];k=0;if((e|0)!=1){g=e&1;c=e&-2;while(1){e=f+T(k,20)|0;L[e+18|0]=2;M[e+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;e=f+T(k|1,20)|0;L[e+18|0]=2;M[e+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;k=k+2|0;if((c|0)!=(k|0)){continue}break}c=1;if(!g){break lc}}c=f+T(k,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;c=1}y=c;mc:{if(X){break mc}h=N[r+16>>2];k=N[h+68>>2];if(k>>>0>=2){l=N[h+80>>2];g=k-1|0;f=0;while(1){c=l+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=l+T(f,20)|0;N[c+16>>2]=N[e+16>>2];o=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=o;o=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=o;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[h+63|0]){break mc}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break mc}h=N[h+88>>2];g=c-1|0;f=0;while(1){c=h+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(f,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}e=N[r+52>>2];c=N[e+12>>2];N[r+24>>2]=c;f=N[e+16>>2];e=f+c|0;N[r+28>>2]=e;nc:{oc:{pc:{qc:{rc:{if((f|0)>=0){sc:{if(m>>>0>=Y>>>0){break sc}f=c;c=m>>>0>>0?d:0;if(!(f>>>0<=c>>>0&c>>>0>>0)){N[r+24>>2]=0;N[r+28>>2]=0;break sc}N[r+24>>2]=c;f=e-c|0;e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);N[r+28>>2]=c+(e>>>0>f>>>0?f:e)}tc:{c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);e=c>>>24|0;switch(e|0){case 1:break oc;case 2:break pc;case 4:break qc;case 6:break rc;case 0:break tc;default:break nc}}f=N[r+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}u=N[f+132>>2];o=N[r+16>>2];q=N[r+8>>2];if(!ib(o,q,12581,0)){break nc}if(O[o+16|0]&64){wb(o,2,0,-1,1,0)}c=Ec(i+272|0,1,q,o);N[i+404>>2]=u;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=u;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;f=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(f|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;g=N[o+68>>2];if(g){H=N[o+40>>2]&-2;v=N[o+88>>2];D=N[o+80>>2];z=e&1073741824;S=d+28|0;c=0;while(1){uc:{vc:{x=T(c,20);h=x+D|0;if(!(u&N[h+4>>2])){break vc}N[i+308>>2]=1;N[i+276>>2]=c;e=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[e+68>>2];L[i+295|0]=O[i+294|0]?N[e+64>>2]==(c|0)?O[(x+N[e+80>>2]|0)+15|0]:0:0;if(!kc(J,i+440|0)){break vc}f=N[i+276>>2];A=T(f,20);e=O[d+12|0]|O[d+13|0]<<8|(O[d+14|0]<<16|O[d+15|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);wc:{if((e|0)>0){l=N[A+D>>2];s=N[h>>2];k=e-1|0;e=0;while(1){xc:{yc:{G=e+k>>>1|0;h=S+T(G,6)|0;E=O[h|0]|O[h+1|0]<<8;E=(E<<8|E>>>8)&65535;zc:{if((E|0)==(s|0)){E=O[h+2|0]|O[h+3|0]<<8;E=(E<<8|E>>>8)&65535;if(E>>>0>l>>>0){break zc}if((l|0)==(E|0)){break wc}break yc}if(s>>>0>=E>>>0){break yc}}k=G-1|0;break xc}e=G+1|0}if((e|0)<=(k|0)){continue}break}}h=275552}e=O[h+4|0]|O[h+5|0]<<8;k=(e<<8|e>>>8)<<16>>16;h=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(h){l=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if((l|0)<0){break uc}h=d+k|0;Ac:{k=l<<1;if(!k){break Ac}if(h>>>0>2]){break uc}l=N[r+28>>2];if(l>>>0>>0){break uc}if(k>>>0>l-h>>>0){break uc}e=N[r+32>>2]-k|0;N[r+32>>2]=e;if((e|0)>0){break Ac}break uc}e=O[h|0]|O[h+1|0]<<8;k=(e<<8|e>>>8)<<16>>16}if(!k){break uc}e=k>>31;Bc:{if((H|0)==4){e=UE(N[q+56>>2],N[q+60>>2],k,e);s=Pa;e=e+32768|0;e=((e>>>0<32768?s+1|0:s)&65535)<<16|e>>>16;if(z){N[(v+A|0)+12>>2]=e;N[o+144>>2]=N[o+144>>2]|8;break Bc}h=v+x|0;k=e>>1;N[h>>2]=k+N[h>>2];h=v+A|0;e=e-k|0;N[h>>2]=e+N[h>>2];N[h+8>>2]=e+N[h+8>>2];break Bc}e=UE(N[q+64>>2],N[q+68>>2],k,e);l=Pa;e=e+32768|0;e=((e>>>0<32768?l+1|0:l)&65535)<<16|e>>>16;if(z){N[(v+A|0)+8>>2]=e;N[o+144>>2]=N[o+144>>2]|8;break Bc}h=v+x|0;k=e>>1;N[h+4>>2]=k+N[h+4>>2];h=v+A|0;e=e-k|0;N[h+4>>2]=e+N[h+4>>2];N[h+12>>2]=e+N[h+12>>2]}Sc(o,c,f+1|0);f=N[i+276>>2];break uc}f=c+1|0}c=f;if(g>>>0>c>>>0){continue}break}}ib(o,q,12662,0);_a(N[i+384>>2]);break nc}break b}f=N[r+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}G=N[f+132>>2];h=N[r+16>>2];u=N[r+8>>2];if(!ib(h,u,12581,0)){break nc}if(O[h+16|0]&64){wb(h,2,0,-1,1,0)}c=Ec(i+272|0,1,u,h);N[i+404>>2]=G;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=G;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;f=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(f|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;f=N[h+68>>2];if(f){ca=N[h+40>>2]&-2;D=N[h+88>>2];S=N[h+80>>2];E=e&1073741824;k=0;while(1){Cc:{Dc:{H=T(k,20);q=H+S|0;if(!(G&N[q+4>>2])){break Dc}N[i+308>>2]=1;N[i+276>>2]=k;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];L[i+295|0]=O[i+294|0]?N[c+64>>2]==(k|0)?O[(H+N[c+80>>2]|0)+15|0]:0:0;if(!kc(J,i+440|0)){break Dc}c=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;g=O[e|0]|O[e+1|0]<<8;_=N[i+276>>2];z=T(_,20);l=N[z+S>>2];o=N[r+56>>2];c=N[q>>2];Ec:{Fc:{Gc:{if(L[d+15|0]&1){Hc:{Ic:{Jc:{if((g|0)==2560){g=0;q=O[e+4|0]|O[e+5|0]<<8;q=(q<<8|q>>>8)&65535;if(q>>>0>c>>>0){break Hc}q=c-q|0;s=O[e+6|0]|O[e+7|0]<<8;if(q>>>0>=((s<<8|s>>>8)&65535)>>>0){break Hc}c=O[e+2|0]|O[e+3|0]<<8;A=(c<<8|c>>>8)&65535;q=T(q,A);if((q|0)<0){e=275552}else{c=O[e+2|0]|O[e+3|0]<<8;A=(c<<8|c>>>8)&65535;e=(e+q|0)+8|0}if(!c){break Hc}g=A>>>0<=1?1:A;q=g&3;c=0;if(g>>>0>=4){break Jc}g=0;break Ic}c=il(e,c,o);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break Hc}e=(g&65532)+e|0;g=e-4|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24)}if(!q){break Hc}while(1){g=O[e|0]|g<<8;e=e+1|0;c=c+1|0;if((q|0)!=(c|0)){continue}break}}Kc:{Lc:{Mc:{c=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;if((O[c|0]|O[c+1|0]<<8)==2560){e=0;o=O[c+4|0]|O[c+5|0]<<8;o=(o<<8|o>>>8)&65535;if(o>>>0>l>>>0){break Kc}l=l-o|0;q=O[c+6|0]|O[c+7|0]<<8;if(l>>>0>=((q<<8|q>>>8)&65535)>>>0){break Kc}v=O[c+2|0]|O[c+3|0]<<8;x=(v<<8|v>>>8)&65535;l=T(l,x);if((l|0)<0){c=275552}else{v=O[c+2|0]|O[c+3|0]<<8;x=(v<<8|v>>>8)&65535;c=(c+l|0)+8|0}if(!v){break Kc}e=x>>>0<=1?1:x;l=e&3;v=0;if(e>>>0>=4){break Mc}e=0;break Lc}c=il(c,l,o);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break Kc}c=(e&65532)+c|0;e=c-4|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}if(!l){break Kc}while(1){e=O[c|0]|e<<8;c=c+1|0;v=v+1|0;if((l|0)!=(v|0)){continue}break}}c=e;e=e+g|0;if(c>>>0>e>>>0|e>>>0>1073741823){break Ec}o=N[r+24>>2];c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);c=((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)+(e<<2)|0;if(o>>>0>c>>>0){break Ec}g=N[r+28>>2];if(g>>>0>>0|g-c>>>0<4){break Ec}l=N[r+32>>2]-4|0;N[r+32>>2]=l;if((l|0)<=0){break Ec}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);q=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);c=q;if(!e){break Fc}s=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((s|0)<0){break Ec}c=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);e=q+((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)|0;c=s<<1;if(!c){break Gc}if(e>>>0>>0|e>>>0>g>>>0|c>>>0>g-e>>>0){break Ec}c=l-c|0;N[r+32>>2]=c;if((c|0)>0){break Gc}break Ec}Nc:{if((g|0)==2560){g=0;q=O[e+4|0]|O[e+5|0]<<8;q=(q<<8|q>>>8)&65535;if(q>>>0>c>>>0){break Nc}q=c-q|0;s=O[e+6|0]|O[e+7|0]<<8;if(q>>>0>=((s<<8|s>>>8)&65535)>>>0){break Nc}c=O[e+2|0]|O[e+3|0]<<8;A=(c<<8|c>>>8)&65535;q=T(q,A);if((q|0)<0){e=275552}else{c=O[e+2|0]|O[e+3|0]<<8;A=(c<<8|c>>>8)&65535;e=(e+q|0)+8|0}if(!c){break Nc}g=A>>>0<=1?1:A;q=g&3;c=0;if(g>>>0<4){g=0}else{e=(g&65532)+e|0;g=e-4|0;g=O[g+2|0]<<8|O[g+3|0]}if(!q){break Nc}while(1){g=O[e|0]|g<<8;e=e+1|0;c=c+1|0;if((q|0)!=(c|0)){continue}break}break Nc}c=cc(e,c,o);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8;g=c<<8|c>>>8}q=g&65535;c=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);g=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;Oc:{if((O[g|0]|O[g+1|0]<<8)==2560){e=0;c=O[g+4|0]|O[g+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>l>>>0){break Oc}l=l-c|0;o=O[g+6|0]|O[g+7|0]<<8;if(l>>>0>=((o<<8|o>>>8)&65535)>>>0){break Oc}c=O[g+2|0]|O[g+3|0]<<8;v=(c<<8|c>>>8)&65535;l=T(l,v);if((l|0)<0){g=275552}else{c=O[g+2|0]|O[g+3|0]<<8;v=(c<<8|c>>>8)&65535;g=(g+l|0)+8|0}if(!c){break Oc}e=v>>>0<=1?1:v;l=e&3;c=0;if(e>>>0<4){e=0}else{g=(e&65532)+g|0;e=g-4|0;e=O[e+2|0]<<8|O[e+3|0]}if(!l){break Oc}while(1){e=O[g|0]|e<<8;g=g+1|0;c=c+1|0;if((l|0)!=(c|0)){continue}break}break Oc}c=cc(g,l,o);c=c?c:275552;c=O[c|0]|O[c+1|0]<<8;e=c<<8|c>>>8}o=N[r+24>>2];c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);c=((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)+(q+(e&65535)<<1)|0;if(o>>>0>c>>>0){break Ec}g=N[r+28>>2];if(g>>>0>>0|g-c>>>0<2){break Ec}l=N[r+32>>2]-2|0;N[r+32>>2]=l;if((l|0)<=0){break Ec}c=O[c|0]|O[c+1|0]<<8;q=(c<<8|c>>>8)<<16>>16;e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);c=q;if(!e){break Fc}s=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((s|0)<0){break Ec}c=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);e=q+((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0)|0;c=s<<1;if(!c){break Gc}if(e>>>0>>0|e>>>0>g>>>0|c>>>0>g-e>>>0){break Ec}c=l-c|0;N[r+32>>2]=c;if((c|0)<=0){break Ec}}c=O[e|0]|O[e+1|0]<<8;c=(c<<8|c>>>8)<<16>>16}if(!c){break Ec}q=c<<16;l=q>>31;c=q>>16;Pc:{if((ca|0)==4){c=UE(N[u+56>>2],N[u+60>>2],c,l);s=Pa;c=c+32768|0;c=((c>>>0<32768?s+1|0:s)&65535)<<16|c>>>16;if(E){N[(z+D|0)+12>>2]=c;N[h+144>>2]=N[h+144>>2]|8;break Pc}e=D+H|0;g=c>>1;N[e>>2]=g+N[e>>2];e=z+D|0;c=c-g|0;N[e>>2]=c+N[e>>2];N[e+8>>2]=c+N[e+8>>2];break Pc}c=UE(N[u+64>>2],N[u+68>>2],c,l);o=Pa;c=c+32768|0;c=((c>>>0<32768?o+1|0:o)&65535)<<16|c>>>16;if(E){N[(z+D|0)+8>>2]=c;N[h+144>>2]=N[h+144>>2]|8;break Pc}e=D+H|0;g=c>>1;N[e+4>>2]=g+N[e+4>>2];e=z+D|0;c=c-g|0;N[e+4>>2]=c+N[e+4>>2];N[e+12>>2]=c+N[e+12>>2]}Sc(h,k,_+1|0)}k=N[i+276>>2];break Cc}k=k+1|0}if(f>>>0>k>>>0){continue}break}}ib(h,u,12662,0);_a(N[i+384>>2]);break nc}c=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);h=N[r+16>>2];e=N[N[r+8>>2]+24>>2];u=N[e+32>>2];if((u|0)==-1){f=e;e=sb(e+56|0);e=O[e+4|0]|O[e+5|0]<<8;u=(e<<8|e>>>8)&65535;N[f+32>>2]=u}N[h+64>>2]=0;if(!O[h+60|0]){break nc}z=d+12|0;H=z+(c>>>8&65280|c>>>24|(c&65280)<<8)|0;ca=c<<24>>>30|0;v=0;A=0;x=0;while(1){e=N[h+64>>2];c=0;Qc:{if(e>>>0>=Q[h+68>>2]){break Qc}f=N[N[h+80>>2]+T(e,20)>>2];c=2;if((f|0)==65535){break Qc}e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);e=cc(z+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0,f,u);c=1;if(!e){break Qc}c=O[e|0]|O[e+1|0]<<8;c=(c<<8|c>>>8)&65535}e=O[z|0]|O[z+1|0]<<8|(O[z+2|0]<<16|O[z+3|0]<<24);f=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);g=f>>>0>c>>>0;l=T(f,x);f=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);k=z+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=((g?c:1)+l<<1)+k|0;f=O[f|0]|O[f+1|0]<<8;q=T((f<<8|f>>>8)&65535,6);f=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);f=z+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;D=q+f|0;G=O[D|0]|O[D+1|0]<<8;Rc:{Sc:{if((O[D+4|0]|O[D+5|0]<<8)!=65535){break Sc}Tc:{if(!x){break Tc}o=O[D+2|0]|O[D+3|0]<<8;if(!(o&64?G:1)){break Tc}c=k+((g?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(G|0)!=(O[c|0]|O[c+1|0]<<8)|(o^(O[c+2|0]|O[c+3|0]<<8))&64){break Sc}}c=k+(l+!e<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)==65535){break Rc}}c=N[h+64>>2];e=O[h+62|0]?N[h+72>>2]:c;if(!e|c>>>0>=Q[h+68>>2]){break Rc}wb(h,3,e-1|0,c+1|0,1,1)}Uc:{Vc:{if(!(v&255)){break Vc}c=O[D+4|0]|O[D+5|0]<<8;if((c|0)==65535){break Vc}f=N[h+64>>2];if(f>>>0>=Q[h+68>>2]){break Vc}e=(c<<8|c>>>8)&65535;c=N[h+88>>2]+T(f,20)|0;Wc:{Xc:{switch(ca|0){case 0:e=H+(e<<2)|0;if(e>>>0>2]){break Uc}f=N[r+28>>2];if(f>>>0>>0|f-e>>>0<4){break Uc}f=N[r+32>>2]-4|0;N[r+32>>2]=f;if((f|0)<=0){break Uc}g=O[e|0]|O[e+1|0]<<8;k=O[e+2|0]|O[e+3|0]<<8;N[i+184>>2]=0;N[i+180>>2]=0;f=N[N[N[r+16>>2]+80>>2]+T(A,20)>>2];e=N[r+8>>2];N[i+192>>2]=0;N[i+188>>2]=0;l=N[e+96>>2];o=N[l+76>>2];S=N[e+100>>2];_=(g<<8|g>>>8)&65535;E=i+192|0;q=i+188|0;g=N[l+12>>2];if(g){g=N[g+56>>2]}else{g=0}if(!(Qa[o|0](e,S,f,_,E,q,g)|0)){break Uc}Jd(e,f,i+272|0,i+440|0);N[i+192>>2]=N[i+192>>2]-N[i+272>>2];N[i+188>>2]=N[i+188>>2]-N[i+440>>2];e=N[r+16>>2];f=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];e=N[r+8>>2];N[i+184>>2]=0;N[i+180>>2]=0;g=N[e+96>>2];l=N[g+76>>2];_=N[e+100>>2];E=(k<<8|k>>>8)&65535;q=i+184|0;k=i+180|0;g=N[g+12>>2];if(g){g=N[g+56>>2]}else{g=0}if(!(Qa[l|0](e,_,f,E,q,k,g)|0)){break Uc}Jd(e,f,i+272|0,i+440|0);N[i+180>>2]=N[i+180>>2]-N[i+440>>2];N[c+8>>2]=N[i+192>>2]+(N[i+272>>2]-N[i+184>>2]|0);N[c+12>>2]=N[i+188>>2]-N[i+180>>2];break Wc;case 1:e=H+(e<<2)|0;if(e>>>0>2]){break Uc}f=N[r+28>>2];if(f>>>0>>0|f-e>>>0<4){break Uc}f=N[r+32>>2]-4|0;N[r+32>>2]=f;if((f|0)<=0){break Uc}l=N[N[N[r+16>>2]+80>>2]+T(A,20)>>2];k=O[e+2|0]|O[e+3|0]<<8;g=O[e|0]|O[e+1|0]<<8;x=275552;e=N[r+64>>2];f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(f){f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0}else{f=238136}l=cc(f,l,N[r+56>>2]);Yc:{if(!l){break Yc}f=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;e=O[l|0]|O[l+1|0]<<8;e=f+((e<<8|e>>>8)&65535)|0;f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);q=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=(g<<8|g>>>8)&65535;if(q>>>0<=f>>>0){break Yc}x=(e+(f<<2)|0)+4|0}e=N[r+16>>2];l=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];o=N[r+56>>2];g=275552;e=N[r+64>>2];f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(f){f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0}else{f=238136}l=cc(f,l,o);Zc:{if(!l){break Zc}f=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);f=e+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;e=O[l|0]|O[l+1|0]<<8;e=f+((e<<8|e>>>8)&65535)|0;f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);q=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=(k<<8|k>>>8)&65535;if(q>>>0<=f>>>0){break Zc}g=(e+(f<<2)|0)+4|0}k=O[x|0]|O[x+1|0]<<8;s=(k<<8|k>>>8)<<16;o=s>>31;S=N[r+8>>2];e=N[S+56>>2];f=N[S+60>>2];k=UE(e,f,s>>16,o);l=Pa;k=k+32768|0;s=((k>>>0<32768?l+1|0:l)&65535)<<16|k>>>16;k=O[g|0]|O[g+1|0]<<8;o=(k<<8|k>>>8)<<16;l=o>>31;e=UE(e,f,o>>16,l);q=Pa;e=e+32768|0;N[c+8>>2]=s-(((e>>>0<32768?q+1|0:q)&65535)<<16|e>>>16);k=O[x+2|0]|O[x+3|0]<<8;o=(k<<8|k>>>8)<<16;q=o>>31;e=N[S+64>>2];f=N[S+68>>2];k=UE(e,f,o>>16,q);s=Pa;k=k+32768|0;k=((k>>>0<32768?s+1|0:s)&65535)<<16|k>>>16;g=O[g+2|0]|O[g+3|0]<<8;q=(g<<8|g>>>8)<<16;s=q>>31;e=UE(e,f,q>>16,s);s=Pa;e=e+32768|0;N[c+12>>2]=k-(((e>>>0<32768?s+1|0:s)&65535)<<16|e>>>16);break Wc;case 2:break Xc;default:break Wc}}k=H+(e<<3)|0;if(k>>>0>2]){break Uc}e=N[r+28>>2];if(e>>>0>>0|e-k>>>0<8){break Uc}e=N[r+32>>2]-8|0;N[r+32>>2]=e;if((e|0)<=0){break Uc}x=O[k+2|0]|O[k+3|0]<<8;S=O[k+6|0]|O[k+7|0]<<8;g=O[k|0]|O[k+1|0]<<8;q=(g<<8|g>>>8)<<16;s=q>>31;E=N[r+8>>2];f=E;e=N[f+56>>2];f=N[f+60>>2];g=UE(e,f,q>>16,s);l=Pa;g=g+32768|0;q=((g>>>0<32768?l+1|0:l)&65535)<<16|g>>>16;g=O[k+4|0]|O[k+5|0]<<8;s=(g<<8|g>>>8)<<16;l=s>>31;e=UE(e,f,s>>16,l);o=Pa;e=e+32768|0;N[c+8>>2]=q-(((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16);s=(x<<8|x>>>8)<<16;o=s>>31;e=N[E+64>>2];f=N[E+68>>2];g=UE(e,f,s>>16,o);s=Pa;g=g+32768|0;k=((g>>>0<32768?s+1|0:s)&65535)<<16|g>>>16;o=(S<<8|S>>>8)<<16;s=o>>31;e=UE(e,f,o>>16,s);q=Pa;e=e+32768|0;N[c+12>>2]=k-(((e>>>0<32768?q+1|0:q)&65535)<<16|e>>>16)}L[c+18|0]=1;M[c+16>>1]=A-N[h+64>>2];N[h+144>>2]=N[h+144>>2]|8}if(!(O[D+2|0]&128)){break Uc}A=N[h+64>>2];v=1}g=N[h+64>>2];if(!O[h+60|0]|(g|0)==N[h+68>>2]){break nc}_c:{$c:{if(O[D+2|0]&64){c=N[h+152>>2];N[h+152>>2]=c-1;if((c|0)>0){break $c}}if(O[h+62|0]){k=N[h+72>>2];e=N[h+84>>2];f=N[h+80>>2];ad:{if((e|0)==(f|0)){c=g;if((c|0)==(k|0)){break ad}}c=k+1|0;if(!(!c|c>>>0>2])){if(!gb(h,c)){break $c}f=N[h+80>>2];e=N[h+84>>2]}bd:{if((e|0)!=(f|0)){break bd}c=N[h+72>>2];if(c+1>>>0<=N[h+64>>2]+1>>>0){e=f;break bd}if(!O[h+62|0]){break _c}e=N[h+88>>2];N[h+84>>2]=e;c=T(c,20);if(!c){break bd}F(e,f,c);e=N[h+84>>2];f=N[h+80>>2]}c=T(N[h+72>>2],20)+e|0;e=T(N[h+64>>2],20)+f|0;f=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;g=N[h+64>>2];c=N[h+72>>2]}N[h+72>>2]=c+1}N[h+64>>2]=g+1}x=(G<<8|G>>>8)&65535;if(O[h+60|0]){continue}break nc}break}break a}f=N[r+4>>2];if(!(L[f+140|0]&1)){break nc}e=c<<24|(c&65280)<<8|(e|c>>>8&65280);if(e&268435456){break nc}A=N[f+132>>2];f=N[r+16>>2];h=N[r+8>>2];if(!ib(f,h,12581,0)){break nc}if(O[f+16|0]&64){wb(f,2,0,-1,1,0)}c=Ec(i+272|0,1,h,f);N[i+404>>2]=A;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=A;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;g=O[i+421|0];k=N[i+356>>2]==1;L[i+292|0]=k;L[i+332|0]=k|(g|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;c=N[f+68>>2];if(c){z=N[f+40>>2]&-2;o=N[f+88>>2];x=N[f+80>>2];D=e&1073741824;k=0;while(1){cd:{dd:{u=T(k,20);l=u+x|0;if(!(A&N[l+4>>2])){break dd}N[i+308>>2]=1;N[i+276>>2]=k;e=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[e+68>>2];g=0;L[i+295|0]=O[i+294|0]?N[e+64>>2]==(k|0)?O[(u+N[e+80>>2]|0)+15|0]:0:0;if(!kc(J,i+440|0)){break dd}G=N[i+276>>2];q=T(G,20);s=N[q+x>>2];v=0;e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);E=N[l>>2];l=N[r+56>>2];e=cc((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0,E,l);if(e){e=O[e|0]|O[e+1|0]<<8;v=(e<<8|e>>>8)&65535}e=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);e=cc((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0,s,l);if(e){e=O[e|0]|O[e+1|0]<<8;g=(e<<8|e>>>8)&65535}H=N[r+24>>2];e=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);e=((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0)+(g+v<<1)|0;ed:{if(H>>>0>e>>>0){break ed}l=N[r+28>>2];if(l>>>0>>0|l-e>>>0<2){break ed}s=N[r+32>>2]-2|0;N[r+32>>2]=s;if((s|0)<=0){break ed}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16;g=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(g){g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if((g|0)<0){break ed}e=d+e|0;g=g<<1;if(g){if(e>>>0>>0|e>>>0>l>>>0|g>>>0>l-e>>>0){break ed}g=s-g|0;N[r+32>>2]=g;if((g|0)<=0){break ed}}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16}if(!e){break ed}g=e>>31;fd:{if((z|0)==4){e=UE(N[h+56>>2],N[h+60>>2],e,g);l=Pa;e=e+32768|0;e=((e>>>0<32768?l+1|0:l)&65535)<<16|e>>>16;if(D){N[(o+q|0)+12>>2]=e;N[f+144>>2]=N[f+144>>2]|8;break fd}g=o+u|0;l=e>>1;N[g>>2]=l+N[g>>2];g=o+q|0;e=e-l|0;N[g>>2]=e+N[g>>2];N[g+8>>2]=e+N[g+8>>2];break fd}e=UE(N[h+64>>2],N[h+68>>2],e,g);s=Pa;e=e+32768|0;e=((e>>>0<32768?s+1|0:s)&65535)<<16|e>>>16;if(D){N[(o+q|0)+8>>2]=e;N[f+144>>2]=N[f+144>>2]|8;break fd}g=o+u|0;l=e>>1;N[g+4>>2]=l+N[g+4>>2];g=o+q|0;e=e-l|0;N[g+4>>2]=e+N[g+4>>2];N[g+12>>2]=e+N[g+12>>2]}Sc(f,k,G+1|0)}k=N[i+276>>2];break cd}k=k+1|0}if(c>>>0>k>>>0){continue}break}}ib(f,h,12662,0);_a(N[i+384>>2]);break nc}if(!(c&64|M[N[r+4>>2]+140>>1]&1)){break nc}N[i+272>>2]=r;N[i+276>>2]=d;e=O[d+28|0]|O[d+29|0]<<8|(O[d+30|0]<<16|O[d+31|0]<<24);L[i+320|0]=c>>>6&1;N[i+316>>2]=0;u=d+12|0;N[i+280>>2]=u+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24));h=N[r+16>>2];c=N[N[r+8>>2]+24>>2];A=N[c+32>>2];if((A|0)==-1){e=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;A=(c<<8|c>>>8)&65535;N[e+32>>2]=A}N[h+64>>2]=0;if(!O[h+60|0]){break nc}x=0;while(1){e=N[h+64>>2];c=0;gd:{if(e>>>0>=Q[h+68>>2]){break gd}f=N[N[h+80>>2]+T(e,20)>>2];c=2;if((f|0)==65535){break gd}e=O[d+16|0]|O[d+17|0]<<8|(O[d+18|0]<<16|O[d+19|0]<<24);e=cc(u+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0,f,A);c=1;if(!e){break gd}c=O[e|0]|O[e+1|0]<<8;c=(c<<8|c>>>8)&65535}e=O[u|0]|O[u+1|0]<<8|(O[u+2|0]<<16|O[u+3|0]<<24);f=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);k=f>>>0>c>>>0;o=T(f,x);f=O[d+20|0]|O[d+21|0]<<8|(O[d+22|0]<<16|O[d+23|0]<<24);l=u+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;f=((k?c:1)+o<<1)+l|0;f=O[f|0]|O[f+1|0]<<8;g=T((f<<8|f>>>8)&65535,6);f=O[d+24|0]|O[d+25|0]<<8|(O[d+26|0]<<16|O[d+27|0]<<24);f=u+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;g=g+f|0;D=O[g|0]|O[g+1|0]<<8;hd:{id:{if((O[g+4|0]|O[g+5|0]<<8)!=65535){break id}jd:{if(!x){break jd}q=O[g+2|0]|O[g+3|0]<<8;if(!(q&64?D:1)){break jd}c=l+((k?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(D|0)!=(O[c|0]|O[c+1|0]<<8)|(q^(O[c+2|0]|O[c+3|0]<<8))&64){break id}}c=l+(o+!e<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=f+T((c<<8|c>>>8)&65535,6)|0;if((O[c+4|0]|O[c+5|0]<<8)==65535){break hd}}c=N[h+64>>2];e=O[h+62|0]?N[h+72>>2]:c;if(!e|c>>>0>=Q[h+68>>2]){break hd}wb(h,3,e-1|0,c+1|0,1,1)}c=O[g+2|0]|O[g+3|0]<<8;c=c<<8|c>>>8;e=c<<16>>16;if(c&8192){N[i+316>>2]=0}kd:{if((e|0)>=0){break kd}c=N[i+316>>2];if(c>>>0<=7){e=N[h+64>>2];N[i+316>>2]=c+1;N[((c<<2)+i|0)+284>>2]=e;break kd}N[i+316>>2]=0}f=O[g+4|0]|O[g+5|0]<<8;ld:{if(!N[i+316>>2]|(f|0)==65535){break ld}e=N[i+316>>2];c=N[i+276>>2];c=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);x=c>>>0<=1?1:c;c=UE(e,0,x,0);md:{nd:{if(Pa|(c|0)<0){break nd}f=N[i+280>>2]+((f<<8|f>>>8)&65534)|0;v=N[i+272>>2];c=c<<1;if(!c){break md}if(Q[v+24>>2]>f>>>0){break nd}k=N[v+28>>2];if(k>>>0>>0|c>>>0>k-f>>>0){break nd}c=N[v+32>>2]-c|0;N[v+32>>2]=c;if((c|0)>0){break md}}N[i+316>>2]=0;break ld}if(!e){break ld}z=N[N[v+4>>2]+132>>2];G=O[i+320|0];while(1){e=e-1|0;N[i+316>>2]=e;c=N[((e<<2)+i|0)+284>>2];if(c>>>0>2]){k=O[f|0]|O[f+1|0]<<8;H=(k<<8|k>>>8)<<16>>16;k=H&-2;l=T(c,20);c=l+N[h+88>>2]|0;od:{if((N[h+40>>2]&-2)==4){if(G){if((k|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+12>>2]=0;break od}if(!O[c+18|0]){break od}l=N[c+12>>2];o=N[v+8>>2];k=UE(N[o+64>>2],N[o+68>>2],k,k>>31);o=Pa;k=k+32768|0;N[c+12>>2]=(((k>>>0<32768?o+1|0:o)&65535)<<16|k>>>16)+l;N[h+144>>2]=N[h+144>>2]|8;break od}if(!(z&N[(l+N[h+80>>2]|0)+4>>2])){break od}l=N[v+8>>2];k=UE(N[l+56>>2],N[l+60>>2],k,k>>31);q=Pa;k=k+32768|0;k=((k>>>0<32768?q+1|0:q)&65535)<<16|k>>>16;N[c>>2]=k+N[c>>2];N[c+8>>2]=k+N[c+8>>2];break od}if(G){if((k|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+8>>2]=0;break od}if(!O[c+18|0]){break od}l=N[c+8>>2];o=N[v+8>>2];k=UE(N[o+56>>2],N[o+60>>2],k,k>>31);s=Pa;k=k+32768|0;N[c+8>>2]=(((k>>>0<32768?s+1|0:s)&65535)<<16|k>>>16)+l;N[h+144>>2]=N[h+144>>2]|8;break od}if(!(z&N[(l+N[h+80>>2]|0)+4>>2])){break od}l=N[v+8>>2];k=UE(N[l+64>>2],N[l+68>>2],k,k>>31);l=Pa;k=k+32768|0;k=((k>>>0<32768?l+1|0:l)&65535)<<16|k>>>16;N[c+4>>2]=k+N[c+4>>2];N[c+12>>2]=k+N[c+12>>2]}if(H&1){break ld}}f=(x<<1)+f|0;if(e){continue}break}}e=N[h+64>>2];if(!O[h+60|0]|(e|0)==N[h+68>>2]){break nc}pd:{if(O[g+2|0]&64){c=N[h+152>>2];N[h+152>>2]=c-1;if((c|0)>0){break pd}}if(O[h+62|0]){k=N[h+72>>2];f=N[h+80>>2];g=N[h+84>>2];qd:{if((f|0)==(g|0)){c=e;if((c|0)==(k|0)){break qd}}c=k+1|0;if(!(!c|c>>>0>2])){if(!gb(h,c)){break pd}g=N[h+84>>2];f=N[h+80>>2]}rd:{if((f|0)!=(g|0)){break rd}c=N[h+72>>2];if(c+1>>>0<=N[h+64>>2]+1>>>0){g=f;break rd}if(!O[h+62|0]){break a}g=N[h+88>>2];N[h+84>>2]=g;c=T(c,20);if(!c){break rd}F(g,f,c);g=N[h+84>>2];f=N[h+80>>2]}e=T(N[h+64>>2],20)+f|0;f=N[e+4>>2];c=T(N[h+72>>2],20)+g|0;N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;e=N[h+64>>2];c=N[h+72>>2]}N[h+72>>2]=c+1}N[h+64>>2]=e+1}x=(D<<8|D>>>8)&65535;if(O[h+60|0]){continue}break}}c=N[r+52>>2];e=N[c+12>>2];N[r+24>>2]=e;c=N[c+16>>2];N[r+28>>2]=c+e;if((c|0)<0){break $b}sd:{if(X){break sd}h=N[r+16>>2];k=N[h+68>>2];if(k>>>0>=2){l=N[h+80>>2];g=k-1|0;f=0;while(1){c=l+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=l+T(f,20)|0;N[c+16>>2]=N[e+16>>2];o=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=o;o=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=o;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[h+63|0]){break sd}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break sd}h=N[h+88>>2];g=c-1|0;f=0;while(1){c=h+T(g,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(f,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}c=N[r+8>>2];e=N[r+16>>2];N[i+64>>2]=N[r+72>>2];ib(e,c,17599,i- -64|0)}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);e=N[r+72>>2]+1|0;N[r+72>>2]=e;d=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0;m=m+1|0;if((K|0)!=(m|0)){continue}break}}ib(t,b,8043,0)}ab(N[r+52>>2]);break Sb}break b}td:{ud:{vd:{wd:{xd:{c=P[I+140>>1];if(c&1024){e=N[b+24>>2];c=N[e+136>>2];yd:{if(c){break yd}while(1){c=N[e+48>>2];if(!c){c=275552;break yd}N[i+280>>2]=0;N[i+284>>2]=0;N[i+288>>2]=0;N[i+292>>2]=0;L[i+296|0]=0;N[i+272>>2]=0;N[i+276>>2]=0;N[i+300>>2]=0;N[i+304>>2]=0;L[i+312|0]=1;N[i+308>>2]=0;d=N[c+12>>2];zd:{if(d){c=Qa[d|0](c,1801810542,N[c+16>>2])|0;if(c){break zd}}c=275552}d=el(i+272|0,c);c=N[e+136>>2];Ad:{if(d){if(c){break Ad}c=d;N[e+136>>2]=c;break yd}if(c){break yd}c=275552;N[e+136>>2]=275552;break yd}if((d|0)==275552){break yd}ab(d);c=N[e+136>>2];if(!c){continue}break}}d=N[c+16>>2];e=N[c+12>>2];r=Ve(i+196|0,I,b,t,c);if(!ib(t,b,12630,0)){break vd}Bd:{c=d>>>0<4?275552:e;d=O[c|0]|O[c+1|0]<<8;switch((d<<8|d>>>8)&65535){case 1:break xd;case 0:break Bd;default:break wd}}N[r+72>>2]=0;d=O[c+2|0]|O[c+3|0]<<8;if(!d){break wd}d=(d<<8|d>>>8)&65535;S=d>>>0<=1?1:d;Y=d-1|0;f=c+4|0;G=i+276|0;e=0;y=0;m=0;while(1){Cd:{c=N[r+16>>2];d=N[c+40>>2];Dd:{if((L[f+5|0]&1)==((d&-2)!=4|0)){break Dd}g=N[r+8>>2];N[i+16>>2]=e;if(!ib(c,g,17581,i+16|0)){break Dd}g=d&-3;c=1;Ed:{if(y){break Ed}c=0;if(!(O[f+5|0]&4)){break Ed}e=N[r+16>>2];d=N[e+68>>2];c=1;if(!d){break Ed}e=N[e+88>>2];k=0;if((d|0)!=1){h=d&1;c=d&-2;while(1){d=e+T(k,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;d=e+T(k|1,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;k=k+2|0;if((c|0)!=(k|0)){continue}break}c=1;if(!h){break Ed}}c=e+T(k,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;c=1}y=c;X=(g|0)!=5;Fd:{if(X){break Fd}h=N[r+16>>2];k=N[h+68>>2];if(k>>>0>=2){l=N[h+80>>2];d=k-1|0;g=0;while(1){c=l+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=l+T(g,20)|0;N[c+16>>2]=N[e+16>>2];o=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=o;o=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=o;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}if(!O[h+63|0]){break Fd}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break Fd}h=N[h+88>>2];d=c-1|0;g=0;while(1){c=h+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(g,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}c=N[r+52>>2];d=N[c+12>>2];N[r+24>>2]=d;c=N[c+16>>2];e=c+d|0;N[r+28>>2]=e;Gd:{Hd:{if((c|0)>=0){c=m>>>0>>0?f:0;Id:{if(!c){break Id}if(!(c>>>0>>0&c>>>0>=d>>>0)){N[r+24>>2]=0;N[r+28>>2]=0;break Id}N[r+24>>2]=c;d=e-c|0;e=O[c+2|0]|O[c+3|0]<<8;e=(e<<8|e>>>8)&65535;N[r+28>>2]=c+(d>>>0>>0?d:e)}Jd:{switch(O[f+4|0]){case 2:break Hd;case 0:break Jd;default:break Gd}}c=N[r+4>>2];if(!(L[c+140|0]&1)){break Gd}D=N[c+132>>2];d=O[f+5|0];v=N[r+16>>2];A=N[r+8>>2];if(!ib(v,A,12581,0)){break Gd}if(O[v+16|0]&64){wb(v,2,0,-1,1,0)}c=Ec(i+272|0,1,A,v);N[i+404>>2]=D;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=D;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;e=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(e|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;g=N[v+68>>2];if(g){E=N[v+40>>2]&-2;u=N[v+88>>2];J=N[v+80>>2];H=d&4;K=f+14|0;c=0;while(1){Kd:{Ld:{z=T(c,20);h=z+J|0;if(!(D&N[h+4>>2])){break Ld}N[i+308>>2]=1;N[i+276>>2]=c;d=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[d+68>>2];L[i+295|0]=O[i+294|0]?N[d+64>>2]==(c|0)?O[(z+N[d+80>>2]|0)+15|0]:0:0;if(!kc(G,i+440|0)){break Ld}d=N[i+276>>2];x=T(d,20);e=O[f+6|0]|O[f+7|0]<<8;Md:{if(e){l=N[x+J>>2];o=N[h>>2];k=((e<<8|e>>>8)&65535)-1|0;e=0;while(1){Nd:{Od:{q=e+k>>>1|0;h=K+T(q,6)|0;s=O[h|0]|O[h+1|0]<<8;s=(s<<8|s>>>8)&65535;Pd:{if((s|0)==(o|0)){s=O[h+2|0]|O[h+3|0]<<8;s=(s<<8|s>>>8)&65535;if(s>>>0>l>>>0){break Pd}if((l|0)==(s|0)){break Md}break Od}if(o>>>0>=s>>>0){break Od}}k=q-1|0;break Nd}e=q+1|0}if((e|0)<=(k|0)){continue}break}}h=275552}e=O[h+4|0]|O[h+5|0]<<8;if(!e){break Kd}s=(e<<8|e>>>8)<<16;l=s>>31;e=s>>16;Qd:{if((E|0)==4){e=UE(N[A+56>>2],N[A+60>>2],e,l);o=Pa;e=e+32768|0;e=((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16;if(H){N[(u+x|0)+12>>2]=e;N[v+144>>2]=N[v+144>>2]|8;break Qd}h=u+z|0;k=e>>1;N[h>>2]=k+N[h>>2];h=u+x|0;e=e-k|0;N[h>>2]=e+N[h>>2];N[h+8>>2]=e+N[h+8>>2];break Qd}e=UE(N[A+64>>2],N[A+68>>2],e,l);q=Pa;e=e+32768|0;e=((e>>>0<32768?q+1|0:q)&65535)<<16|e>>>16;if(H){N[(u+x|0)+8>>2]=e;N[v+144>>2]=N[v+144>>2]|8;break Qd}h=u+z|0;k=e>>1;N[h+4>>2]=k+N[h+4>>2];h=u+x|0;e=e-k|0;N[h+4>>2]=e+N[h+4>>2];N[h+12>>2]=e+N[h+12>>2]}Sc(v,c,d+1|0);d=N[i+276>>2];break Kd}d=c+1|0}c=d;if(g>>>0>c>>>0){continue}break}}ib(v,A,12662,0);_a(N[i+384>>2]);break Gd}break b}c=N[r+4>>2];if(!(L[c+140|0]&1)){break Gd}A=N[c+132>>2];d=O[f+5|0];e=N[r+16>>2];g=N[r+8>>2];if(!ib(e,g,12581,0)){break Gd}if(O[e+16|0]&64){wb(e,2,0,-1,1,0)}c=Ec(i+272|0,1,g,e);N[i+404>>2]=A;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=A;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;h=O[i+421|0];k=N[i+356>>2]==1;L[i+292|0]=k;L[i+332|0]=k|(h|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;c=N[e+68>>2];if(c){z=N[e+40>>2]&-2;h=N[e+88>>2];x=N[e+80>>2];D=d&4;k=0;while(1){Rd:{Sd:{u=T(k,20);q=u+x|0;if(!(A&N[q+4>>2])){break Sd}N[i+308>>2]=1;N[i+276>>2]=k;l=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[l+68>>2];d=0;L[i+295|0]=O[i+294|0]?N[l+64>>2]==(k|0)?O[(u+N[l+80>>2]|0)+15|0]:0:0;if(!kc(G,i+440|0)){break Sd}J=N[i+276>>2];o=T(J,20);s=N[o+x>>2];v=0;E=N[q>>2];l=O[f+8|0]|O[f+9|0]<<8;l=((l<<8|l>>>8)&65535)+f|0;q=O[l|0]|O[l+1|0]<<8;q=E-((q<<8|q>>>8)&65535)|0;H=O[l+2|0]|O[l+3|0]<<8;if(q>>>0<((H<<8|H>>>8)&65535)>>>0){l=l+(q<<1)|0;l=O[l+4|0]|O[l+5|0]<<8;v=(l<<8|l>>>8)&65535}l=O[f+10|0]|O[f+11|0]<<8;l=((l<<8|l>>>8)&65535)+f|0;q=O[l|0]|O[l+1|0]<<8;q=s-((q<<8|q>>>8)&65535)|0;s=O[l+2|0]|O[l+3|0]<<8;if(q>>>0<((s<<8|s>>>8)&65535)>>>0){d=l+(q<<1)|0;d=O[d+4|0]|O[d+5|0]<<8;d=(d<<8|d>>>8)&65535}l=O[f+12|0]|O[f+13|0]<<8;l=(l<<8|l>>>8)&65535;d=d+v|0;d=(l+f|0)+((d>>>0>>0?1073741823:d-l>>>1|0)<<1)|0;Td:{if(d>>>0>2]){break Td}l=N[r+28>>2];if(l>>>0>>0|l-d>>>0<2){break Td}l=N[r+32>>2]-2|0;N[r+32>>2]=l;if((l|0)<=0){break Td}d=O[d|0]|O[d+1|0]<<8;if(!d){break Td}s=(d<<8|d>>>8)<<16;q=s>>31;d=s>>16;Ud:{if((z|0)==4){d=UE(N[g+56>>2],N[g+60>>2],d,q);l=Pa;d=d+32768|0;d=((d>>>0<32768?l+1|0:l)&65535)<<16|d>>>16;if(D){N[(h+o|0)+12>>2]=d;N[e+144>>2]=N[e+144>>2]|8;break Ud}l=h+u|0;q=d>>1;N[l>>2]=q+N[l>>2];l=h+o|0;d=d-q|0;N[l>>2]=d+N[l>>2];N[l+8>>2]=d+N[l+8>>2];break Ud}d=UE(N[g+64>>2],N[g+68>>2],d,q);s=Pa;d=d+32768|0;d=((d>>>0<32768?s+1|0:s)&65535)<<16|d>>>16;if(D){N[(h+o|0)+8>>2]=d;N[e+144>>2]=N[e+144>>2]|8;break Ud}l=h+u|0;q=d>>1;N[l+4>>2]=q+N[l+4>>2];l=h+o|0;d=d-q|0;N[l+4>>2]=d+N[l+4>>2];N[l+12>>2]=d+N[l+12>>2]}Sc(e,k,J+1|0)}k=N[i+276>>2];break Rd}k=k+1|0}if(c>>>0>k>>>0){continue}break}}ib(e,g,12662,0);_a(N[i+384>>2])}c=N[r+52>>2];d=N[c+12>>2];N[r+24>>2]=d;c=N[c+16>>2];N[r+28>>2]=c+d;if((c|0)<0){break Cd}Vd:{if(X){break Vd}h=N[r+16>>2];k=N[h+68>>2];if(k>>>0>=2){l=N[h+80>>2];d=k-1|0;g=0;while(1){c=l+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=l+T(g,20)|0;N[c+16>>2]=N[e+16>>2];o=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=o;o=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=o;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}if(!O[h+63|0]){break Vd}c=N[h+68>>2];c=c>>>0>>0?c:k;if(c>>>0<2){break Vd}h=N[h+88>>2];d=c-1|0;g=0;while(1){c=h+T(d,20)|0;N[i+288>>2]=N[c+16>>2];e=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=e;e=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=e;e=h+T(g,20)|0;N[c+16>>2]=N[e+16>>2];k=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=k;k=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=k;N[e+16>>2]=N[i+288>>2];c=N[i+284>>2];N[e+8>>2]=N[i+280>>2];N[e+12>>2]=c;c=N[i+276>>2];N[e>>2]=N[i+272>>2];N[e+4>>2]=c;d=d-1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}c=N[r+8>>2];d=N[r+16>>2];N[i>>2]=N[r+72>>2];ib(d,c,17599,i)}c=O[f+2|0]|O[f+3|0]<<8;e=N[r+72>>2]+1|0;N[r+72>>2]=e;f=((c<<8|c>>>8)&65535)+f|0;m=m+1|0;if((S|0)!=(m|0)){continue}break wd}break}break b}if(!(c&2048)){break ud}Wd:{if((N[t+40>>2]&-2)==4){d=N[147128];c=b;while(1){if((d|0)!=N[N[c+96>>2]- -64>>2]){break Wd}c=N[c+20>>2];if(!c){break ud}if((c|0)!=588752){continue}break}break ud}d=N[147129];c=b;while(1){if((d|0)!=N[N[c+96>>2]+68>>2]){break Wd}c=N[c+20>>2];if(!c){break ud}if((c|0)!=588752){continue}break}break ud}if(!ib(t,b,12592,0)){break ud}c=N[t+40>>2];Xd:{if((c&-3)==5){g=N[t+68>>2];if(g>>>0>=2){h=N[t+80>>2];e=g-1|0;d=0;while(1){c=h+T(e,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=h+T(d,20)|0;N[c+16>>2]=N[f+16>>2];m=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=m;m=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=m;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}Yd:{if(!O[t+63|0]){break Yd}c=N[t+68>>2];c=c>>>0>>0?c:g;if(c>>>0<2){break Yd}g=N[t+88>>2];e=c-1|0;d=0;while(1){c=g+T(e,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=g+T(d,20)|0;N[c+16>>2]=N[f+16>>2];h=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=h;h=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=h;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}N[i+196>>2]=b;N[i+200>>2]=N[t+40>>2];e=0;L[i+444|0]=0;N[i+440>>2]=i+196;Fj(i+440|0,b,t,N[I+132>>2]);g=N[t+68>>2];if(g>>>0>=2){h=N[t+80>>2];d=g-1|0;while(1){c=h+T(d,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=h+T(e,20)|0;N[c+16>>2]=N[f+16>>2];m=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=m;m=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=m;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d-1|0;e=e+1|0;if(d>>>0>e>>>0){continue}break}}if(!O[t+63|0]){break Xd}c=N[t+68>>2];c=c>>>0>>0?c:g;if(c>>>0<2){break Xd}g=N[t+88>>2];e=c-1|0;d=0;while(1){c=g+T(e,20)|0;N[i+288>>2]=N[c+16>>2];f=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=f;f=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=f;f=g+T(d,20)|0;N[c+16>>2]=N[f+16>>2];h=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=h;h=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=h;N[f+16>>2]=N[i+288>>2];c=N[i+284>>2];N[f+8>>2]=N[i+280>>2];N[f+12>>2]=c;c=N[i+276>>2];N[f>>2]=N[i+272>>2];N[f+4>>2]=c;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}break Xd}N[i+200>>2]=c;N[i+196>>2]=b;L[i+444|0]=0;N[i+440>>2]=i+196;Fj(i+440|0,b,t,N[I+132>>2])}ib(t,b,12612,0);break ud}N[r+72>>2]=0;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(!d){break wd}d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);S=d>>>0<=1?1:d;G=d-1|0;k=c+8|0;D=i+276|0;d=0;A=0;h=0;while(1){c=O[k+4|0];Zd:{if(c&32){break Zd}e=N[r+16>>2];f=N[e+40>>2];if(((f&-2)!=4|0)==(c<<24>>24>=0|0)){break Zd}c=N[r+8>>2];N[i+48>>2]=d;if(!ib(e,c,17581,i+48|0)){break Zd}g=f&-3;c=1;_d:{if(A&1){break _d}c=0;if(!(O[k+4|0]&64)){break _d}e=N[r+16>>2];d=N[e+68>>2];c=1;if(!d){break _d}f=N[e+88>>2];e=0;if((d|0)!=1){m=d&1;c=d&-2;while(1){d=f+T(e,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;d=f+T(e|1,20)|0;L[d+18|0]=2;M[d+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;e=e+2|0;if((c|0)!=(e|0)){continue}break}c=1;if(!m){break _d}}c=f+T(e,20)|0;L[c+18|0]=2;M[c+16>>1]=(N[N[r+16>>2]+40>>2]&-3)==4?-1:1;c=1}A=c;Y=(g|0)!=5;$d:{if(Y){break $d}e=N[r+16>>2];m=N[e+68>>2];if(m>>>0>=2){l=N[e+80>>2];g=m-1|0;f=0;while(1){c=l+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=l+T(f,20)|0;N[c+16>>2]=N[d+16>>2];y=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=y;y=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=y;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[e+63|0]){break $d}c=N[e+68>>2];c=c>>>0>>0?c:m;if(c>>>0<2){break $d}e=N[e+88>>2];g=c-1|0;f=0;while(1){c=e+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=e+T(f,20)|0;N[c+16>>2]=N[d+16>>2];m=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=m;m=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=m;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}d=N[r+52>>2];c=N[d+12>>2];N[r+24>>2]=c;e=N[d+16>>2];d=e+c|0;N[r+28>>2]=d;ae:{be:{ce:{de:{if((e|0)>=0){ee:{if(h>>>0>=G>>>0){break ee}e=c;c=h>>>0>>0?k:0;if(!(e>>>0<=c>>>0&c>>>0>>0)){N[r+24>>2]=0;N[r+28>>2]=0;break ee}N[r+24>>2]=c;e=d-c|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);N[r+28>>2]=c+(d>>>0>e>>>0?e:d)}fe:{switch(O[k+5|0]){case 1:break be;case 2:break ce;case 3:break de;case 0:break fe;default:break ae}}c=N[r+4>>2];if(!(L[c+140|0]&1)){break ae}x=N[c+132>>2];d=O[k+4|0];m=N[r+16>>2];l=N[r+8>>2];if(!ib(m,l,12581,0)){break ae}if(O[m+16|0]&64){wb(m,2,0,-1,1,0)}c=Ec(i+272|0,1,l,m);N[i+404>>2]=x;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=x;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;e=O[i+421|0];f=N[i+356>>2]==1;L[i+292|0]=f;L[i+332|0]=f|(e|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;g=N[m+68>>2];if(g){X=N[m+40>>2]&-2;y=N[m+88>>2];J=N[m+80>>2];H=d&64;E=k+16|0;v=0;while(1){ge:{he:{z=T(v,20);e=z+J|0;if(!(x&N[e+4>>2])){break he}N[i+308>>2]=1;N[i+276>>2]=v;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];d=0;L[i+295|0]=O[i+294|0]?N[c+64>>2]==(v|0)?O[(z+N[c+80>>2]|0)+15|0]:0:0;if(!kc(D,i+440|0)){break he}f=N[i+276>>2];u=T(f,20);c=O[k+8|0]|O[k+9|0]<<8;ie:{if(c){o=N[u+J>>2];q=N[e>>2];e=((c<<8|c>>>8)&65535)-1|0;while(1){je:{ke:{s=d+e>>>1|0;c=E+T(s,6)|0;K=O[c|0]|O[c+1|0]<<8;K=(K<<8|K>>>8)&65535;le:{if((K|0)==(q|0)){K=O[c+2|0]|O[c+3|0]<<8;K=(K<<8|K>>>8)&65535;if(K>>>0>o>>>0){break le}if((o|0)==(K|0)){break ie}break ke}if(q>>>0>=K>>>0){break ke}}e=s-1|0;break je}d=s+1|0}if((d|0)<=(e|0)){continue}break}}c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(!c){break ge}o=(c<<8|c>>>8)<<16;s=o>>31;c=o>>16;me:{if((X|0)==4){c=UE(N[l+56>>2],N[l+60>>2],c,s);q=Pa;c=c+32768|0;c=((c>>>0<32768?q+1|0:q)&65535)<<16|c>>>16;if(H){N[(u+y|0)+12>>2]=c;N[m+144>>2]=N[m+144>>2]|8;break me}d=y+z|0;e=c>>1;N[d>>2]=e+N[d>>2];d=u+y|0;c=c-e|0;N[d>>2]=c+N[d>>2];N[d+8>>2]=c+N[d+8>>2];break me}c=UE(N[l+64>>2],N[l+68>>2],c,s);s=Pa;c=c+32768|0;c=((c>>>0<32768?s+1|0:s)&65535)<<16|c>>>16;if(H){N[(u+y|0)+8>>2]=c;N[m+144>>2]=N[m+144>>2]|8;break me}d=y+z|0;e=c>>1;N[d+4>>2]=e+N[d+4>>2];d=u+y|0;c=c-e|0;N[d+4>>2]=c+N[d+4>>2];N[d+12>>2]=c+N[d+12>>2]}Sc(m,v,f+1|0);f=N[i+276>>2];break ge}f=v+1|0}v=f;if(g>>>0>v>>>0){continue}break}}ib(m,l,12662,0);_a(N[i+384>>2]);break ae}break b}c=N[r+4>>2];if(!(L[c+140|0]&1)){break ae}v=N[c+132>>2];e=O[k+4|0];g=N[r+16>>2];m=N[r+8>>2];if(!ib(g,m,12581,0)){break ae}if(O[g+16|0]&64){wb(g,2,0,-1,1,0)}c=Ec(i+272|0,1,m,g);N[i+404>>2]=v;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=v;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;d=O[i+421|0];f=N[i+356>>2]==1;L[i+292|0]=f;L[i+332|0]=f|(d|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;d=N[g+68>>2];if(d){H=N[g+40>>2]&-2;y=N[g+88>>2];x=N[g+80>>2];z=e&64;J=k+14|0;e=0;while(1){ne:{oe:{u=T(e,20);f=u+x|0;if(!(v&N[f+4>>2])){break oe}N[i+308>>2]=1;N[i+276>>2]=e;c=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[c+68>>2];L[i+295|0]=O[i+294|0]?N[c+64>>2]==(e|0)?O[(u+N[c+80>>2]|0)+15|0]:0:0;if(!kc(D,i+440|0)){break oe}c=N[i+276>>2];o=O[k+10|0];l=J+(o<<1)|0;f=N[f>>2];E=l+f|0;q=f;f=O[k+8|0]|O[k+9|0]<<8;f=(f<<8|f>>>8)&65535;s=O[(q>>>0>=f>>>0?275552:E)|0];X=O[k+11|0];if(s>>>0>=X>>>0){break ne}E=f+l|0;q=T(c,20);l=N[q+x>>2];K=O[(f>>>0<=l>>>0?275552:E+l|0)|0];l=O[k+12|0];if(K>>>0>=l>>>0){break ne}E=f+E|0;f=K+T(l,s)|0;f=O[(f>>>0>=T(l,X)>>>0?275552:E+f|0)|0];f=f>>>0>=o>>>0?275552:J+(f<<1)|0;f=O[f|0]|O[f+1|0]<<8;if(!f){break ne}l=(f<<8|f>>>8)<<16;s=l>>31;f=l>>16;pe:{if((H|0)==4){f=UE(N[m+56>>2],N[m+60>>2],f,s);s=Pa;f=f+32768|0;f=((f>>>0<32768?s+1|0:s)&65535)<<16|f>>>16;if(z){N[(q+y|0)+12>>2]=f;N[g+144>>2]=N[g+144>>2]|8;break pe}l=u+y|0;o=f>>1;N[l>>2]=o+N[l>>2];l=q+y|0;f=f-o|0;N[l>>2]=f+N[l>>2];N[l+8>>2]=f+N[l+8>>2];break pe}f=UE(N[m+64>>2],N[m+68>>2],f,s);o=Pa;f=f+32768|0;f=((f>>>0<32768?o+1|0:o)&65535)<<16|f>>>16;if(z){N[(q+y|0)+8>>2]=f;N[g+144>>2]=N[g+144>>2]|8;break pe}l=u+y|0;o=f>>1;N[l+4>>2]=o+N[l+4>>2];l=q+y|0;f=f-o|0;N[l+4>>2]=f+N[l+4>>2];N[l+12>>2]=f+N[l+12>>2]}Sc(g,e,c+1|0);c=N[i+276>>2];break ne}c=e+1|0}e=c;if(d>>>0>c>>>0){continue}break}}ib(g,m,12662,0);_a(N[i+384>>2]);break ae}c=N[r+4>>2];if(!(L[c+140|0]&1)){break ae}u=N[c+132>>2];d=O[k+4|0];f=N[r+16>>2];m=N[r+8>>2];if(!ib(f,m,12581,0)){break ae}if(O[f+16|0]&64){wb(f,2,0,-1,1,0)}c=Ec(i+272|0,1,m,f);N[i+404>>2]=u;N[i+412>>2]=8;N[i+304>>2]=0;N[i+280>>2]=c;N[i+296>>2]=0;N[i+300>>2]=0;N[i+284>>2]=8;N[i+344>>2]=0;N[i+320>>2]=c;N[i+288>>2]=u;N[i+336>>2]=0;N[i+340>>2]=0;N[i+324>>2]=8;L[i+333|0]=1;L[i+293|0]=O[i+422|0];c=O[i+423|0];L[i+294|0]=c;e=O[i+421|0];g=N[i+356>>2]==1;L[i+292|0]=g;L[i+332|0]=g|(e|0)!=0;L[i+334|0]=c;N[i+328>>2]=-1;c=N[f+68>>2];if(c){X=N[f+40>>2]&-2;y=N[f+88>>2];J=N[f+80>>2];H=d&64;e=0;while(1){qe:{re:{z=T(e,20);l=z+J|0;if(!(u&N[l+4>>2])){break re}N[i+308>>2]=1;N[i+276>>2]=e;d=N[N[i+280>>2]+96>>2];N[i+312>>2]=N[d+68>>2];g=0;L[i+295|0]=O[i+294|0]?N[d+64>>2]==(e|0)?O[(z+N[d+80>>2]|0)+15|0]:0:0;if(!kc(D,i+440|0)){break re}E=N[i+276>>2];v=T(E,20);o=N[v+J>>2];x=0;q=N[l>>2];d=O[k+10|0]|O[k+11|0]<<8;d=((d<<8|d>>>8)&65535)+k|0;l=O[d|0]|O[d+1|0]<<8;l=q-((l<<8|l>>>8)&65535)|0;q=O[d+2|0]|O[d+3|0]<<8;if(l>>>0<((q<<8|q>>>8)&65535)>>>0){d=d+(l<<1)|0;d=O[d+4|0]|O[d+5|0]<<8;x=(d<<8|d>>>8)&65535}d=O[k+12|0]|O[k+13|0]<<8;d=((d<<8|d>>>8)&65535)+k|0;l=O[d|0]|O[d+1|0]<<8;l=o-((l<<8|l>>>8)&65535)|0;o=O[d+2|0]|O[d+3|0]<<8;if(l>>>0<((o<<8|o>>>8)&65535)>>>0){d=d+(l<<1)|0;d=O[d+4|0]|O[d+5|0]<<8;g=(d<<8|d>>>8)&65535}d=O[k+14|0]|O[k+15|0]<<8;d=(d<<8|d>>>8)&65535;g=g+x|0;d=(d+k|0)+((d>>>0>g>>>0?1073741823:g-d>>>1|0)<<1)|0;se:{if(d>>>0>2]){break se}g=N[r+28>>2];if(g>>>0>>0|g-d>>>0<2){break se}g=N[r+32>>2]-2|0;N[r+32>>2]=g;if((g|0)<=0){break se}d=O[d|0]|O[d+1|0]<<8;if(!d){break se}q=(d<<8|d>>>8)<<16;o=q>>31;d=q>>16;te:{if((X|0)==4){d=UE(N[m+56>>2],N[m+60>>2],d,o);s=Pa;d=d+32768|0;d=((d>>>0<32768?s+1|0:s)&65535)<<16|d>>>16;if(H){N[(v+y|0)+12>>2]=d;N[f+144>>2]=N[f+144>>2]|8;break te}g=y+z|0;l=d>>1;N[g>>2]=l+N[g>>2];g=v+y|0;d=d-l|0;N[g>>2]=d+N[g>>2];N[g+8>>2]=d+N[g+8>>2];break te}d=UE(N[m+64>>2],N[m+68>>2],d,o);l=Pa;d=d+32768|0;d=((d>>>0<32768?l+1|0:l)&65535)<<16|d>>>16;if(H){N[(v+y|0)+8>>2]=d;N[f+144>>2]=N[f+144>>2]|8;break te}g=y+z|0;l=d>>1;N[g+4>>2]=l+N[g+4>>2];g=v+y|0;d=d-l|0;N[g+4>>2]=d+N[g+4>>2];N[g+12>>2]=d+N[g+12>>2]}Sc(f,e,E+1|0)}e=N[i+276>>2];break qe}e=e+1|0}if(c>>>0>e>>>0){continue}break}}ib(f,m,12662,0);_a(N[i+384>>2]);break ae}d=O[k+4|0];if(!(L[N[r+4>>2]+140|0]&1|d&64)){break ae}N[i+272>>2]=r;N[i+276>>2]=k;c=O[k+16|0]|O[k+17|0]<<8;L[i+320|0]=d>>>6&1;N[i+316>>2]=0;u=k+8|0;N[i+280>>2]=u+((c<<8|c>>>8)&65535);e=N[r+16>>2];c=N[N[r+8>>2]+24>>2];if(N[c+32>>2]==-1){d=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[d+32>>2]=(c<<8|c>>>8)&65535}N[e+64>>2]=0;if(!O[e+60|0]){break ae}m=0;while(1){f=N[e+64>>2];z=f>>>0>=Q[e+68>>2];c=0;ue:{if(z){break ue}d=N[N[e+80>>2]+T(f,20)>>2];c=2;if((d|0)==65535){break ue}g=d;c=O[k+10|0]|O[k+11|0]<<8;d=u+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;g=g-((c<<8|c>>>8)&65535)|0;l=O[d+2|0]|O[d+3|0]<<8;c=1;if(g>>>0>=((l<<8|l>>>8)&65535)>>>0){break ue}c=O[(d+g|0)+4|0]}y=O[u|0]|O[u+1|0]<<8;l=(y<<8|y>>>8)&65535;o=l>>>0>c>>>0;d=m;J=T(d,l);g=O[k+12|0]|O[k+13|0]<<8;q=(g<<8|g>>>8)&65535;s=q+u|0;g=O[k+14|0]|O[k+15|0]<<8;x=u+((g<<8|g>>>8)&65535)|0;v=(O[((o?c:1)+J|0)+s|0]<<2)+x|0;g=O[v|0]|O[v+1|0]<<8;m=(((g<<8|g>>>8)&65535)-q|0)/(l|0)|0;g=O[v+2|0]|O[v+3|0]<<8;ve:{we:{if(g&65343){break we}if(!(!d|!(g&64?m:1))){c=x+(O[s+(o?c:1)|0]<<2)|0;d=O[c+2|0]|O[c+3|0]<<8;if(d&65343){break we}c=O[c|0]|O[c+1|0]<<8;if((d^g)&64|((((c<<8|c>>>8)&65535)-q|0)/(l|0)|0)!=(m|0)){break we}}c=x+(O[s+(J+!y|0)|0]<<2)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65343)){break ve}}if(z){break ve}c=O[e+62|0]?N[e+72>>2]:f;if(!c){break ve}wb(e,3,c-1|0,f+1|0,1,1);g=O[v+2|0]|O[v+3|0]<<8}xe:{if(!(g&128)){break xe}c=N[i+316>>2];if(c>>>0<=7){d=N[e+64>>2];N[i+316>>2]=c+1;N[((c<<2)+i|0)+284>>2]=d;break xe}N[i+316>>2]=0}c=g&65343;ye:{if(!c|!N[i+316>>2]){break ye}ze:{d=N[i+316>>2];Ae:{if((d|0)<0){break Ae}g=N[i+280>>2];f=(g-N[i+276>>2]|0)-8|0;c=(c<<8|c>>>8)&65535;g=((c>>>0>>0?1073741823:c-f>>>1|0)<<1)+g|0;y=N[i+272>>2];c=d<<1;if(!c){break ze}if(Q[y+24>>2]>g>>>0){break Ae}f=N[y+28>>2];if(f>>>0>>0|c>>>0>f-g>>>0){break Ae}c=N[y+32>>2]-c|0;N[y+32>>2]=c;if((c|0)>0){break ze}}N[i+316>>2]=0;break ye}if(!d){break ye}x=N[N[y+4>>2]+132>>2];z=O[i+320|0];while(1){d=d-1|0;N[i+316>>2]=d;c=N[((d<<2)+i|0)+284>>2];if(c>>>0>2]){f=O[g|0]|O[g+1|0]<<8;J=(f<<8|f>>>8)<<16>>16;f=J&-2;l=T(c,20);c=l+N[e+88>>2]|0;Be:{if((N[e+40>>2]&-2)==4){if(z){if((f|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+12>>2]=0;break Be}if(!O[c+18|0]){break Be}l=N[c+12>>2];o=N[y+8>>2];f=UE(N[o+64>>2],N[o+68>>2],f,f>>31);o=Pa;f=f+32768|0;N[c+12>>2]=(((f>>>0<32768?o+1|0:o)&65535)<<16|f>>>16)+l;N[e+144>>2]=N[e+144>>2]|8;break Be}if(!(x&N[(l+N[e+80>>2]|0)+4>>2])){break Be}l=N[y+8>>2];f=UE(N[l+56>>2],N[l+60>>2],f,f>>31);q=Pa;f=f+32768|0;f=((f>>>0<32768?q+1|0:q)&65535)<<16|f>>>16;N[c>>2]=f+N[c>>2];N[c+8>>2]=f+N[c+8>>2];break Be}if(z){if((f|0)==-32768){M[c+16>>1]=0;L[c+18|0]=0;N[c+8>>2]=0;break Be}if(!O[c+18|0]){break Be}l=N[c+8>>2];o=N[y+8>>2];f=UE(N[o+56>>2],N[o+60>>2],f,f>>31);s=Pa;f=f+32768|0;N[c+8>>2]=(((f>>>0<32768?s+1|0:s)&65535)<<16|f>>>16)+l;N[e+144>>2]=N[e+144>>2]|8;break Be}if(!(x&N[(l+N[e+80>>2]|0)+4>>2])){break Be}l=N[y+8>>2];f=UE(N[l+64>>2],N[l+68>>2],f,f>>31);l=Pa;f=f+32768|0;f=((f>>>0<32768?l+1|0:l)&65535)<<16|f>>>16;N[c+4>>2]=f+N[c+4>>2];N[c+12>>2]=f+N[c+12>>2]}if(J&1){break ye}}g=g+2|0;if(d){continue}break}}d=N[e+64>>2];if(!O[e+60|0]|(d|0)==N[e+68>>2]){break ae}Ce:{if(O[v+2|0]&64){c=N[e+152>>2];N[e+152>>2]=c-1;if((c|0)>0){break Ce}}if(O[e+62|0]){l=N[e+72>>2];f=N[e+80>>2];g=N[e+84>>2];De:{if((f|0)==(g|0)){c=d;if((c|0)==(l|0)){break De}}c=l+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break Ce}g=N[e+84>>2];f=N[e+80>>2]}Ee:{if((f|0)!=(g|0)){break Ee}c=N[e+72>>2];if(c+1>>>0<=N[e+64>>2]+1>>>0){g=f;break Ee}if(!O[e+62|0]){break a}g=N[e+88>>2];N[e+84>>2]=g;c=T(c,20);if(!c){break Ee}F(g,f,c);g=N[e+84>>2];f=N[e+80>>2]}d=T(N[e+64>>2],20)+f|0;f=N[d+4>>2];c=T(N[e+72>>2],20)+g|0;N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;d=N[e+64>>2];c=N[e+72>>2]}N[e+72>>2]=c+1}N[e+64>>2]=d+1}if(O[e+60|0]){continue}break}}c=N[r+52>>2];d=N[c+12>>2];N[r+24>>2]=d;c=N[c+16>>2];N[r+28>>2]=c+d;if((c|0)<0){break b}Fe:{if(Y){break Fe}e=N[r+16>>2];m=N[e+68>>2];if(m>>>0>=2){l=N[e+80>>2];g=m-1|0;f=0;while(1){c=l+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=l+T(f,20)|0;N[c+16>>2]=N[d+16>>2];y=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=y;y=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=y;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}if(!O[e+63|0]){break Fe}c=N[e+68>>2];c=c>>>0>>0?c:m;if(c>>>0<2){break Fe}e=N[e+88>>2];g=c-1|0;f=0;while(1){c=e+T(g,20)|0;N[i+288>>2]=N[c+16>>2];d=N[c+12>>2];N[i+280>>2]=N[c+8>>2];N[i+284>>2]=d;d=N[c+4>>2];N[i+272>>2]=N[c>>2];N[i+276>>2]=d;d=e+T(f,20)|0;N[c+16>>2]=N[d+16>>2];m=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=m;m=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=m;N[d+16>>2]=N[i+288>>2];c=N[i+284>>2];N[d+8>>2]=N[i+280>>2];N[d+12>>2]=c;c=N[i+276>>2];N[d>>2]=N[i+272>>2];N[d+4>>2]=c;f=f+1|0;g=g-1|0;if(f>>>0>>0){continue}break}}c=N[r+8>>2];d=N[r+16>>2];N[i+32>>2]=N[r+72>>2];ib(d,c,17599,i+32|0)}c=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);d=N[r+72>>2]+1|0;N[r+72>>2]=d;k=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+k|0;h=h+1|0;if((S|0)!=(h|0)){continue}break}}ib(t,b,12647,0)}ab(N[r+52>>2])}if(O[I+141|0]&64){c=hl(N[b+24>>2]+172|0);l=Ve(i+272|0,I,b,t,275552);W=R[N[l+8>>2]+80>>2];Ge:{if(W<=U(0)){break Ge}y=N[N[l+4>>2]+136>>2];m=N[l+16>>2];if((N[m+40>>2]&-2)==4){d=O[c+6|0]|O[c+7|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=275552}d=fl(d,c,W);W=R[N[l+8>>2]+44>>2];$=U(Z(U(U(W*U(d|0))+U(.5))));He:{if(U(V($))>2];if(!f){break Ge}g=c;h=d;c=f-1|0;d=0;while(1){Je:{if((c|0)==(d|0)){k=N[m+80>>2];d=f;break Je}k=N[m+80>>2];d=d+1|0;if(O[(k+T(d,20)|0)+16|0]&128){continue}}break}e=0;while(1){c=T(e,20);if(y&N[(c+k|0)+4>>2]){c=c+N[m+88>>2]|0;N[c>>2]=g+N[c>>2];N[c+8>>2]=h+N[c+8>>2]}c=d+1|0;e=c>>>0>>0?f:c;o=e-1|0;c=d;while(1){Ke:{if((c|0)==(o|0)){c=e;break Ke}c=c+1|0;if(O[(T(c,20)+k|0)+16|0]&128){continue}}break}o=d>>>0>>0;e=d;d=c;if(o){continue}break}break Ge}d=O[c+8|0]|O[c+9|0]<<8;if(d){d=c+((d<<8|d>>>8)&65535)|0}else{d=275552}d=fl(d,c,W);W=R[N[l+8>>2]+48>>2];$=U(Z(U(U(W*U(d|0))+U(.5))));Le:{if(U(V($))>2];if(!d){break Ge}f=c;g=e;e=d-1|0;c=0;while(1){Ne:{if((c|0)==(e|0)){k=N[m+80>>2];c=d;break Ne}k=N[m+80>>2];c=c+1|0;if(O[(k+T(c,20)|0)+16|0]&128){continue}}break}e=0;while(1){e=T(e,20);if(y&N[(e+k|0)+4>>2]){e=e+N[m+88>>2]|0;N[e+4>>2]=f+N[e+4>>2];N[e+12>>2]=g+N[e+12>>2]}e=c;h=c+1|0;h=d>>>0>h>>>0?d:h;o=h-1|0;while(1){Oe:{if((c|0)==(o|0)){c=h;break Oe}c=c+1|0;if(O[(T(c,20)+k|0)+16|0]&128){continue}}break}if(d>>>0>e>>>0){continue}break}}ab(N[l+52>>2])}La=i+448|0;break td}Pe:{if(!(O[a+200|0]&32)|N[N[a+80>>2]+48>>2]!=2){break Pe}d=N[t+68>>2];if(!d){break Pe}e=N[t+80>>2];if(w){h=0;while(1){c=T(h,20);if(O[(c+e|0)+12|0]&8){c=c+N[t+88>>2]|0;f=N[c+4>>2];N[c+4>>2]=0;g=N[c>>2];N[c>>2]=0;N[c+8>>2]=N[c+8>>2]-g;N[c+12>>2]=N[c+12>>2]-f}h=h+1|0;if((d|0)!=(h|0)){continue}break}break Pe}f=0;if((d|0)!=1){c=d&1;d=d&-2;while(1){g=T(f,20);if(O[(g+e|0)+12|0]&8){g=g+N[t+88>>2]|0;N[g>>2]=0;N[g+4>>2]=0}g=T(f|1,20);if(O[(g+e|0)+12|0]&8){g=g+N[t+88>>2]|0;N[g>>2]=0;N[g+4>>2]=0}f=f+2|0;if((d|0)!=(f|0)){continue}break}if(!c){break Pe}}c=T(f,20);if(!(O[(c+e|0)+12|0]&8)){break Pe}c=c+N[t+88>>2]|0;N[c>>2]=0;N[c+4>>2]=0}Qe:{if(!(O[t+144|0]&2)|O[t+16|0]&12){break Qe}c=N[t+68>>2];if(!c){break Qe}d=N[t+80>>2];e=N[t+88>>2];f=0;if((c|0)!=1){g=c&1;h=c&-2;while(1){c=T(f,20);m=c+d|0;if(!(!(O[m+16|0]&32)|O[m+12|0]&16)){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=T(f|1,20);m=c+d|0;if(!(!(O[m+16|0]&32)|O[m+12|0]&16)){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}f=f+2|0;if((h|0)!=(f|0)){continue}break}if(!g){break Qe}}c=d+T(f,20)|0;if(!(O[c+16|0]&32)|O[c+12|0]&16){break Qe}c=e+T(f,20)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}Re:{if(!(O[a+201|0]&32)){break Re}c=N[t+68>>2];if(!c){break Re}d=N[t+80>>2];e=N[t+88>>2];f=0;if((c|0)!=1){g=c&1;h=c&-2;while(1){c=T(f,20);if(N[c+d>>2]==65535){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=T(f|1,20);if(N[c+d>>2]==65535){c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}f=f+2|0;if((h|0)!=(f|0)){continue}break}if(!g){break Re}}c=T(f,20);if(N[c+d>>2]!=65535){break Re}c=c+e|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=O[t+140|0];if((c&3)==3){if(c&4){e=N[t+68>>2];Se:{Te:{if(O[t+63|0]){break Te}c=0;if(N[t+168>>2]){break Se}N[t+72>>2]=0;M[t+62>>1]=256;N[t+84>>2]=N[t+80>>2];c=T(e,20);if(!c){break Te}C(N[t+88>>2],0,c)}c=N[t+88>>2]}if(!(!(O[t+144|0]&8)|!e)){d=N[t+40>>2];f=0;while(1){Nj(c,e,f,d,64);f=f+1|0;if((e|0)!=(f|0)){continue}break}}if(!(!e|R[b+36>>2]==U(0))){f=0;while(1){d=c+T(f,20)|0;g=N[d+12>>2];if(g){W=U(U(Z(U(U(R[b+40>>2]*U(g|0))+U(.5))))+U(N[d+8>>2]));Ue:{if(U(V(W))>2]=g}f=f+1|0;if(e>>>0>f>>>0){continue}break}}c=N[147126];f=b;Ve:{while(1){if((c|0)==N[N[f+96>>2]+56>>2]){f=N[f+20>>2];if(!f){break Ve}if((f|0)!=588752){continue}break Ve}break}if(!j){break Ve}h=0;while(1){c=T(h,20);Jd(b,N[c+da>>2],p+120|0,p+96|0);c=c+ea|0;N[c+8>>2]=N[c+8>>2]-N[p+120>>2];N[c+12>>2]=N[c+12>>2]-N[p+96>>2];h=h+1|0;if((n|0)!=(h|0)){continue}break}}We:{Xe:{if(!(O[a+200|0]&128)){break Xe}if(!ib(t,b,13525,0)){break Xe}c=O[t+140|0];if((c&3)!=3){break We}if(!(c&4)){break d}f=1;h=0;c=N[t+68>>2];if(c>>>0>1){d=N[t+80>>2];while(1){if(!(1<>1]&7168)){Gj(I,b,t,h,f,w);h=f}f=f+1|0;if((c|0)!=(f|0)){continue}break}}Gj(I,b,t,h,c,w);ib(t,b,13545,0)}Ye:{if((N[t+40>>2]&-3)!=5){break Ye}e=N[t+68>>2];if(e>>>0>=2){f=N[t+80>>2];j=e-1|0;n=0;while(1){c=f+T(j,20)|0;N[p+136>>2]=N[c+16>>2];d=N[c+12>>2];N[p+128>>2]=N[c+8>>2];N[p+132>>2]=d;d=N[c+4>>2];N[p+120>>2]=N[c>>2];N[p+124>>2]=d;d=f+T(n,20)|0;N[c+16>>2]=N[d+16>>2];g=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=g;g=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=g;N[d+16>>2]=N[p+136>>2];c=N[p+132>>2];N[d+8>>2]=N[p+128>>2];N[d+12>>2]=c;c=N[p+124>>2];N[d>>2]=N[p+120>>2];N[d+4>>2]=c;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}if(!O[t+63|0]){break Ye}c=N[t+68>>2];c=c>>>0>>0?c:e;if(c>>>0<2){break Ye}e=N[t+88>>2];j=c-1|0;n=0;while(1){c=e+T(j,20)|0;N[p+136>>2]=N[c+16>>2];d=N[c+12>>2];N[p+128>>2]=N[c+8>>2];N[p+132>>2]=d;d=N[c+4>>2];N[p+120>>2]=N[c>>2];N[p+124>>2]=d;d=e+T(n,20)|0;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[d+16>>2]=N[p+136>>2];c=N[p+132>>2];N[d+8>>2]=N[p+128>>2];N[d+12>>2]=c;c=N[p+124>>2];N[d>>2]=N[p+120>>2];N[d+4>>2]=c;j=j-1|0;n=n+1|0;if(j>>>0>n>>>0){continue}break}}c=O[t+140|0];if(c&4){L[t+140|0]=c&251;if((c&3)==3){L[t+140|0]=c&248;if((P[a+200>>1]&8704)==8192){ll(t)}if(!(O[t+144|0]&2)){break f}d=N[t+16>>2];if(d&4){break f}c=N[t+80>>2];g=N[t+68>>2];e=N[t+28>>2];N[p+120>>2]=e;if(!(d&8)){if(e){break g}N[p+120>>2]=0;d=N[b+96>>2];e=N[d+28>>2];j=N[b+100>>2];f=p+120|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[e|0](b,j,32,f,d)|0){break g}g=N[t+68>>2]}h=0;if(g){f=0;while(1){e=N[t+80>>2];j=T(f,20);d=e+j|0;Ze:{if(!(O[d+12|0]&16?0:O[d+16|0]&32)){if((f|0)!=(h|0)){m=N[d+4>>2];c=e;e=T(h,20);c=c+e|0;N[c>>2]=N[d>>2];N[c+4>>2]=m;N[c+16>>2]=N[d+16>>2];m=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=m;d=N[t+88>>2];c=d+e|0;d=d+j|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;e=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=e;N[c+16>>2]=N[d+16>>2]}h=h+1|0;c=f+1|0;break Ze}m=N[d+8>>2];_e:{$e:{af:{bf:{c=f+1|0;if(c>>>0>>0){if((m|0)!=N[(e+T(c,20)|0)+8>>2]){break bf}break Ze}if(h){break af}break _e}if(!h){break $e}}n=N[(e+T(h,20)|0)-12>>2];if(n>>>0<=m>>>0){break Ze}i=N[d+4>>2]&7;j=h;while(1){j=j-1|0;d=e+T(j,20)|0;if((n|0)!=N[d+8>>2]){break Ze}N[d+4>>2]=i|N[d+4>>2]&-8;N[d+8>>2]=m;if(j){continue}break}break Ze}Ib(t,f,f+2|0)}h=0}f=c;if((g|0)!=(f|0)){continue}break}}N[t+68>>2]=h;break f}break e}break e}break d}break d}break d}break e}ba(10615,17855,2019,8730);B()}break d}break c}break a}break c}if(!g){break f}f=0;if((g|0)!=1){e=g&1;g=g&-2;while(1){d=c+T(f,20)|0;if(!(!(O[d+16|0]&32)|O[d+12|0]&16)){N[d>>2]=N[p+120>>2]}d=c+T(f|1,20)|0;if(!(!(O[d+16|0]&32)|O[d+12|0]&16)){N[d>>2]=N[p+120>>2]}f=f+2|0;if((g|0)!=(f|0)){continue}break}if(!e){break f}}c=c+T(f,20)|0;if(!(O[c+16|0]&32)|O[c+12|0]&16){break f}N[c>>2]=N[p+120>>2]}cf:{if(!N[N[a+80>>2]+20>>2]){break cf}if(!ib(t,b,10964,0)){break cf}Qa[N[N[a+80>>2]+20>>2]](I,t,b);ib(t,b,10989,0)}df:{if(!(O[t+144|0]&32)){break df}b=N[t+68>>2];if(!b){break df}a=N[t+16>>2];g=a&64;a=a&128;d=N[t+80>>2];c=b-1|0;f=0;while(1){ef:{if((c|0)==(f|0)){f=b;break ef}e=T(f,20);f=f+1|0;e=d+e|0;if(N[e+8>>2]==N[e+28>>2]){continue}}break}if(!a){n=0;while(1){a=f;ff:{if(f>>>0<=n>>>0){break ff}e=a-n|0;h=e&3;m=0;j=0;f=n;i=a+(f^-1)|0;if(i>>>0>=3){k=e&-4;l=0;while(1){c=d+T(f,20)|0;j=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|j;f=f+4|0;l=l+4|0;if((k|0)!=(l|0)){continue}break}}if(h){while(1){j=N[(d+T(f,20)|0)+4>>2]&7|j;f=f+1|0;m=m+1|0;if((h|0)!=(m|0)){continue}break}}c=g?j:j&-3;j=0;e=e&7;if(e){while(1){N[(d+T(n,20)|0)+4>>2]=c;n=n+1|0;j=j+1|0;if((e|0)!=(j|0)){continue}break}}if(i>>>0<7){break ff}while(1){e=d+T(n,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;n=n+8|0;if((a|0)!=(n|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){gf:{if((e|0)==(f|0)){f=c;break gf}j=T(f,20);f=f+1|0;j=d+j|0;if(N[j+8>>2]==N[j+28>>2]){continue}}break}n=a;if(b>>>0>n>>>0){continue}break}break df}j=0;if(!g){while(1){n=0;a=f;g=f>>>0<=j>>>0;hf:{if(g){break hf}c=a-j|0;e=c&3;m=0;f=j;if(a+(f^-1)>>>0>=3){h=c&-4;l=0;while(1){c=d+T(f,20)|0;n=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|n;f=f+4|0;l=l+4|0;if((h|0)!=(l|0)){continue}break}}if(!e){break hf}while(1){n=N[(d+T(f,20)|0)+4>>2]&7|n;f=f+1|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}}jf:{if(g){break jf}c=n&1?n&-5:n;c=c>>>2&1|c&-3;e=a+(j^-1)|0;n=0;f=a-j&7;if(f){while(1){N[(d+T(j,20)|0)+4>>2]=c;j=j+1|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if(e>>>0<7){break jf}while(1){e=d+T(j,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;j=j+8|0;if((a|0)!=(j|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){kf:{if((e|0)==(f|0)){f=c;break kf}g=T(f,20);f=f+1|0;g=d+g|0;if(N[g+8>>2]==N[g+28>>2]){continue}}break}j=a;if(b>>>0>j>>>0){continue}break df}}while(1){n=0;a=f;g=f>>>0<=j>>>0;lf:{if(g){break lf}c=a-j|0;e=c&3;m=0;f=j;if(a+(f^-1)>>>0>=3){h=c&-4;l=0;while(1){c=d+T(f,20)|0;n=(N[c+4>>2]|N[c+24>>2]|N[c+44>>2]|N[c- -64>>2])&7|n;f=f+4|0;l=l+4|0;if((h|0)!=(l|0)){continue}break}}if(!e){break lf}while(1){n=N[(d+T(f,20)|0)+4>>2]&7|n;f=f+1|0;m=m+1|0;if((e|0)!=(m|0)){continue}break}}mf:{if(g){break mf}c=n&1?n&-5:n;c=c&4?c|3:c;e=a+(j^-1)|0;n=0;f=a-j&7;if(f){while(1){N[(d+T(j,20)|0)+4>>2]=c;j=j+1|0;n=n+1|0;if((f|0)!=(n|0)){continue}break}}if(e>>>0<7){break mf}while(1){e=d+T(j,20)|0;N[e+4>>2]=c;N[e+24>>2]=c;N[e+44>>2]=c;N[e- -64>>2]=c;N[e+84>>2]=c;N[e+104>>2]=c;N[e+124>>2]=c;N[e+144>>2]=c;j=j+8|0;if((a|0)!=(j|0)){continue}break}}c=a+1|0;c=b>>>0>c>>>0?b:c;e=c-1|0;f=a;while(1){nf:{if((e|0)==(f|0)){f=c;break nf}g=T(f,20);f=f+1|0;g=d+g|0;if(N[g+8>>2]==N[g+28>>2]){continue}}break}j=a;if(b>>>0>j>>>0){continue}break}}if((O[t+140|0]&48)==48){N[t+148>>2]=1073741823;N[t+152>>2]=536870911;N[t+40>>2]=aa;M[t+140>>1]=0;La=p+288|0;return 1}}ba(22742,14165,187,12136);B()}ba(22742,14165,195,12125);B()}ba(22778,14165,169,12138);B()}ba(16656,14279,195,9642);B()}ba(8694,17855,209,11932);B()}function Kt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0;q=La-128|0;La=q;i=N[b+96>>2];g=N[i+4>>2];a:{b:{c:{ga=N[b+540>>2];if(ga){break c}f=11;if(!g){break a}d=N[g+16>>2];if((d|0)<=0){break a}e=g+20|0;h=e+(d<<2)|0;while(1){d=N[N[e>>2]>>2];if(cb(N[d+8>>2],9195)){e=e+4|0;if(h>>>0>e>>>0){continue}break a}break}ga=N[d+20>>2];if(!ga){break a}N[b+540>>2]=ga;N[b+516>>2]=N[ga>>2];if(i){break c}break b}e=g;d=N[N[i>>2]+32>>2];if(d){k=Qa[d|0](i,10566)|0;if(k){break b}e=N[i+4>>2]}k=0;d=N[e+16>>2];if((d|0)<=0){break b}e=e+20|0;f=e+(d<<2)|0;while(1){d:{h=N[e>>2];if((h|0)==(i|0)){break d}d=N[N[h>>2]+32>>2];if(!d){break d}d=Qa[d|0](h,10566)|0;if(!d){break d}k=d;break b}e=e+4|0;if(f>>>0>e>>>0){continue}break}}N[b+544>>2]=k;if(!N[b+548>>2]){e:{if(!g){h=0;break e}h=0;d=N[g+16>>2];if((d|0)<=0){break e}e=g+20|0;i=e+(d<<2)|0;while(1){f=N[e>>2];d=N[f>>2];if(cb(N[d+8>>2],15504)){e=e+4|0;if(i>>>0>e>>>0){continue}break e}break}d=N[d+32>>2];if(!d){break e}h=Qa[d|0](f,10423)|0}N[b+548>>2]=h}if(!N[b+552>>2]){f:{if(!g){h=0;break f}h=0;d=N[g+16>>2];if((d|0)<=0){break f}e=g+20|0;g=e+(d<<2)|0;while(1){f=N[e>>2];d=N[f>>2];if(cb(N[d+8>>2],15504)){e=e+4|0;if(g>>>0>e>>>0){continue}break f}break}d=N[d+32>>2];if(!d){break f}h=Qa[d|0](f,10670)|0}N[b+552>>2]=h}oa=N[a+28>>2];N[b+140>>2]=0;N[b+132>>2]=0;N[b+136>>2]=0;qa=b+132|0;sa=q+108|0;while(1){g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{e=N[a+8>>2];if(Q[a+4>>2]<=e+3>>>0){break t}u:{d=N[a+20>>2];v:{if(d){if((Qa[d|0](a,e,q+52|0,4)|0)!=4){break t}u=N[a+8>>2];d=q+52|0;break v}d=N[a>>2];if(!d){break u}u=e;d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);N[a+8>>2]=u+4;f=2;w:{d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);x:{if((d|0)<=1954115632){if((d|0)<=131071){if((d|0)==-1519689116|(d|0)==-1519619212|(d|0)==65536){break x}break a}if((d|0)<=1953658212){if((d|0)==131072|(d|0)==1330926671){break x}break a}if((d|0)==1953658213|(d|0)==1953784678){break x}break a}if((d|0)==2001684018){break p}if((d|0)==2001684038){break w}if((d|0)!=1954115633){break a}}N[qa>>2]=1953784678;if((d|0)!=1953784678){break s}f=rb(a,177904,qa);N[q+12>>2]=f;if(f){break a}d=N[b+140>>2];if(d){break r}f=8;break a}y:{d=N[a+20>>2];if(d){if(!(Qa[d|0](a,e,0,0)|0)){break y}f=85;break a}if(e>>>0<=Q[a+4>>2]){break y}f=85;break a}N[a+8>>2]=e;N[q+12>>2]=0;A=N[a+28>>2];f=rb(a,177920,q+52|0);if(f){break a}f=8;u=N[q+56>>2];if((u|0)==1953784678|(u|0)==2001684038){break a}d=N[q+60>>2];if((d|0)!=N[a+4>>2]){break a}h=P[q+64>>1];if(!h){break a}l=T(h,20);if(d>>>0<=l+44>>>0){break a}k=h<<4;e=k|12;d=N[q+68>>2];if(e>>>0>=d>>>0|d&3){break a}r=N[q+80>>2];s=N[q+76>>2];z:{if(!s){if(!(r|N[q+84>>2])){break z}break a}if(!r){break z}if(!N[q+84>>2]){break a}}m=N[q+88>>2];if(!(N[q+92>>2]?m:1)){break a}w=Qa[N[A+4>>2]](A,e)|0;if(!w){f=!w<<6;n=0;w=0;break j}f=64;n=Qa[N[A+4>>2]](A,40)|0;if(!n){n=0;break i}L[n|0]=0;L[n+1|0]=0;L[n+2|0]=0;L[n+3|0]=0;L[n+4|0]=0;L[n+5|0]=0;L[n+6|0]=0;L[n+7|0]=0;L[n+32|0]=0;L[n+33|0]=0;L[n+34|0]=0;L[n+35|0]=0;L[n+36|0]=0;L[n+37|0]=0;L[n+38|0]=0;L[n+39|0]=0;L[n+24|0]=0;L[n+25|0]=0;L[n+26|0]=0;L[n+27|0]=0;L[n+28|0]=0;L[n+29|0]=0;L[n+30|0]=0;L[n+31|0]=0;L[n+16|0]=0;L[n+17|0]=0;L[n+18|0]=0;L[n+19|0]=0;L[n+20|0]=0;L[n+21|0]=0;L[n+22|0]=0;L[n+23|0]=0;L[n+8|0]=0;L[n+9|0]=0;L[n+10|0]=0;L[n+11|0]=0;L[n+12|0]=0;L[n+13|0]=0;L[n+14|0]=0;L[n+15|0]=0;d=0;N[q+24>>2]=0;e=h;while(1){g=d;d=g+1|0;i=e>>>0>1;e=e>>>1|0;if(i){continue}break}L[w+9|0]=g;L[w+5|0]=h;L[w+3|0]=u;L[w+8|0]=g>>>8;e=16<>>8;L[w+2|0]=u>>>8;L[w+1|0]=u>>>16;L[w|0]=u>>>24;d=k-e|0;L[w+11|0]=d;L[w+6|0]=e>>>8;L[w+10|0]=d>>>8;d=T(h,24);v=Qa[N[A+4>>2]](A,d)|0;if(!v){break i}C(v,0,d);d=h<<2;H=Qa[N[A+4>>2]](A,d)|0;if(!H){Qa[N[A+8>>2]](A,v);break i}C(H,0,d);f=Bb(a,l);N[q+24>>2]=f;if(f){break l}d=h>>>0<=1?1:h;g=0;h=0;while(1){l=v+T(h,24)|0;k=N[a+36>>2];e=N[a+32>>2];A:{if(k>>>0<=e+3>>>0){f=0;break A}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=e+4|0}N[a+32>>2]=e;N[l>>2]=f;u=0;B:{if(k>>>0<=e+3>>>0){I=0;break B}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);I=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+4>>2]=I;if(k>>>0>e+3>>>0){i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);u=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+8>>2]=u;u=0;C:{if(k>>>0<=e+3>>>0){I=0;break C}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);I=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+12>>2]=I;if(k>>>0>e+3>>>0){i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);u=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);e=e+4|0}N[a+32>>2]=e;N[l+16>>2]=u;if(f>>>0<=g>>>0){if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break m}N[H+(h<<2)>>2]=l;g=f;h=h+1|0;if((d|0)!=(h|0)){continue}break}if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;p=P[q+64>>1];Zc(H,p,4,180);f=p<<4|12;e=T(p,20)+44|0;D:{if(!p){d=f;break D}u=0;h=N[q+68>>2];g=N[q+60>>2];d=f;while(1){l=N[H+(u<<2)>>2];if(N[l+4>>2]!=(e|0)){break m}k=N[l+8>>2];if(k>>>0>g>>>0|g-k>>>0>>0){break m}i=N[l+12>>2];if(i>>>0>>0|h>>>0>>0|h-i>>>0>>0){break m}N[l+20>>2]=d;d=(i+3&-4)+d|0;e=(k+3&-4)+e|0;u=u+1|0;if((p|0)!=(u|0)){continue}break}}if(s){if((e|0)!=(s|0)){break o}e=r+s|0;if(e>>>0>Q[q+60>>2]){break o}}E:{if(!m){u=N[q+60>>2];break E}if((m|0)!=(e+3&-4)){break o}e=m+N[q+92>>2]|0;u=N[q+60>>2];if(e>>>0>u>>>0){break o}}if(N[q+68>>2]!=(d|0)|(e|0)!=(u|0)){break o}w=lb(A,1,f,d,w,q+24|0);f=N[q+24>>2];if(f){break n}if(p){u=w+12|0;h=0;while(1){l=v+T(h,24)|0;L[u|0]=O[l+3|0];L[u+1|0]=P[l+2>>1];L[u+2|0]=N[l>>2]>>>8;L[u+3|0]=N[l>>2];L[u+4|0]=O[l+19|0];L[u+5|0]=P[l+18>>1];L[u+6|0]=N[l+16>>2]>>>8;L[u+7|0]=N[l+16>>2];L[u+8|0]=O[l+23|0];L[u+9|0]=P[l+22>>1];L[u+10|0]=N[l+20>>2]>>>8;L[u+11|0]=N[l+20>>2];L[u+12|0]=O[l+15|0];L[u+13|0]=P[l+14>>1];L[u+14|0]=N[l+12>>2]>>>8;L[u+15|0]=N[l+12>>2];f=N[l+4>>2];F:{G:{H:{I:{e=N[a+20>>2];J:{if(e){if(Qa[e|0](a,f,0,0)|0){break J}break I}if(f>>>0<=Q[a+4>>2]){break I}}f=85;break H}N[a+8>>2]=f;f=Bb(a,N[l+8>>2]);if(f){break H}f=N[l+8>>2];e=N[l+12>>2];if((f|0)!=(e|0)){break G}F(N[l+20>>2]+w|0,N[a+32>>2],f);break F}N[q+24>>2]=f;break n}N[q+124>>2]=e;k=q+124|0;g=N[a+32>>2];f=N[l+8>>2];m=La+-64|0;La=m;i=6;e=N[l+20>>2]+w|0;K:{if(!k|(!e|!A)){break K}N[m+20>>2]=e;N[m+12>>2]=f;N[m+8>>2]=g;e=N[k>>2];N[m+48>>2]=A;N[m+44>>2]=163;N[m+40>>2]=164;N[m+24>>2]=e;if(mm(m+8|0,15)){break K}f=km(m+8|0,4);if((f|0)!=1){i=N[m+36>>2];L:{if(!i){break L}I=N[m+44>>2];if(!I){break L}g=N[i+20>>2];if(g){e=N[g>>2];if((e&-2)==4){Qa[I|0](N[m+48>>2],N[g+12>>2]);e=N[g>>2]}if((e|0)==6){Qa[N[m+44>>2]](N[m+48>>2],N[g+4>>2])}N[g+28>>2]=0;N[g+32>>2]=0;N[g>>2]=0;i=N[g+40>>2];N[g+52>>2]=i;N[g+48>>2]=i;e=N[g+56>>2];if(e){e=Qa[e|0](0,0,0)|0;N[g+60>>2]=e;N[m+56>>2]=e;i=N[g+40>>2]}Qa[N[m+44>>2]](N[m+48>>2],i);Qa[N[m+44>>2]](N[m+48>>2],N[g+36>>2]);Qa[N[m+44>>2]](N[m+48>>2],g);I=N[m+44>>2];i=N[m+36>>2]}Qa[I|0](N[m+48>>2],i)}i=0;e=f+5|0;if(e>>>0>=6){break K}i=N[(e<<2)+43112>>2];break K}N[k>>2]=N[m+28>>2];i=0;y=N[m+36>>2];if(!y){break K}I=N[m+44>>2];if(!I){break K}f=N[y+20>>2];if(f){e=N[f>>2];if((e&-2)==4){Qa[I|0](N[m+48>>2],N[f+12>>2]);e=N[f>>2]}if((e|0)==6){Qa[N[m+44>>2]](N[m+48>>2],N[f+4>>2])}N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;y=N[f+40>>2];N[f+52>>2]=y;N[f+48>>2]=y;e=N[f+56>>2];if(e){e=Qa[e|0](0,0,0)|0;N[f+60>>2]=e;N[m+56>>2]=e;y=N[f+40>>2]}Qa[N[m+44>>2]](N[m+48>>2],y);Qa[N[m+44>>2]](N[m+48>>2],N[f+36>>2]);Qa[N[m+44>>2]](N[m+48>>2],f);I=N[m+44>>2];y=N[m+36>>2]}Qa[I|0](N[m+48>>2],y)}La=m- -64|0;f=i;if(!f){if(N[q+124>>2]==N[l+12>>2]){break F}f=8}N[q+24>>2]=f;if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break n}if(N[a+20>>2]){f=N[a>>2];if(f){e=N[a+28>>2];Qa[N[e+8>>2]](e,f)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;g=N[l+12>>2];f=N[l+20>>2];e=g+f|0;if(e&3){C(e+w|0,0,((g^-1)-f&3)+1|0)}u=u+16|0;h=h+1|0;if((p|0)!=(h|0)){continue}break}N[q+24>>2]=0}N[n+32>>2]=0;N[n+8>>2]=0;N[n+4>>2]=d;N[n>>2]=w;N[n+20>>2]=0;a=N[a+28>>2];N[n+24>>2]=181;N[n+28>>2]=a;f=N[b+104>>2];M:{if(!f){break M}d=N[b+8>>2];e=N[f+28>>2];a=N[f+24>>2];if(a){Qa[a|0](f)}if(d&1024){break M}Qa[N[e+8>>2]](e,f)}N[b+104>>2]=n;N[b+8>>2]=N[b+8>>2]&-1025;f=0;break n}N[a+8>>2]=e+4;f=2;break a}f=85;break a}N[b+136>>2]=65536;N[b+140>>2]=1;a=Qa[N[oa+4>>2]](oa,4)|0;N[b+144>>2]=a;if(!a){f=!a<<6;break a}N[a>>2]=e;break q}f=10;if(d>>>0>N[a+4>>2]>>>5>>>0){break a}ta=b,ua=lb(oa,4,0,d,0,q+12|0),N[ta+144>>2]=ua;f=N[q+12>>2];if(f){break a}f=Bb(a,N[b+140>>2]<<2);N[q+12>>2]=f;if(f){break a}if(N[b+140>>2]>0){e=N[a+32>>2];g=N[b+144>>2];f=N[a+36>>2];d=0;while(1){N:{if(f>>>0<=e+3>>>0){u=0;break N}h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);u=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);e=e+4|0}N[a+32>>2]=e;N[g+(d<<2)>>2]=u;d=d+1|0;if((d|0)>2]){continue}break}}if(N[a+20>>2]){e=N[a>>2];if(e){d=N[a+28>>2];Qa[N[d+8>>2]](d,e)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}u=N[b+104>>2];d=N[b+144>>2];a=c>>31;n=(a^c)-a|0;a=(n&65535)+a|0;if((a|0)>=N[b+140>>2]){f=6;if((c|0)>=0){break a}a=0}d=N[d+(a<<2)>>2];a=N[u+20>>2];O:{if(a){f=85;if(!(Qa[a|0](u,d,0,0)|0)){break O}break a}f=85;if(d>>>0>Q[u+4>>2]){break a}}N[u+8>>2]=d;f=Qa[N[ga+88>>2]](b,u)|0;N[q+52>>2]=f;if(f){break a}m=N[b+100>>2];a=0;f=0;P:{Q:{if(Qa[N[b+516>>2]](b,1719034226,u,q+24|0)|Q[q+24>>2]<20){break Q}e=Nb(u,q+52|0);f=N[q+52>>2];if(f){break Q}k=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}g=N[u+8>>2]+2|0;d=N[u+20>>2];R:{if(d){f=85;if(!(Qa[d|0](u,g,0,0)|0)){break R}break Q}f=85;if(g>>>0>Q[u+4>>2]){break Q}}N[u+8>>2]=g;N[q+52>>2]=0;h=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}ga=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}d=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}i=xb(u,q+52|0);f=N[q+52>>2];if(f){break Q}f=0;a=e;break P}k=0;h=0;ga=0;d=0;i=0}e=0;S:{if((a|0)!=65536|(ga|0)!=20|(!h|h>>>0>16382)){break S}a=h<<2;T:{if((a+4|0)!=(i|0)){if((a+6|0)!=(i|0)){break S}if(d>>>0<=32511){break T}break S}if(d>>>0>32511){break S}}if(Q[q+24>>2]<(T(h,20)+k|0)+T(d,i)>>>0){break S}N[b+740>>2]=N[b+740>>2]|1;e=d}U:{if(!(L[b+740|0]&1)){break U}l=h<<2;V:{W:{X:{Y:{if(h){g=Qa[N[m+4>>2]](m,l)|0;if(!g){f=64;break U}w=Qa[N[m+4>>2]](m,l)|0;if(w){break Y}w=0;f=64;break W}y=(N[u+8>>2]+k|0)-16|0;f=0;w=0;g=0;break X}d=N[u+8>>2]+k|0;a=d-8|0;y=d-16|0;k=0;d=g;while(1){f=Xh(u,a,d,4);d=d+4|0;a=a+ga|0;k=k+1|0;if((k|0)!=(h|0)){continue}break}}Z:{if(!e){d=0;break Z}a=(T(h,ga)+y|0)+4|0;d=0;while(1){f=Xh(u,a,w,l);if(!Mb(g,w,l)){break Z}a=a+i|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}d=e}e=((d|0)==(e|0))+e|0;if(!g){break V}}Qa[N[m+8>>2]](m,g)}if(!w){break U}Qa[N[m+8>>2]](m,w)}a=n>>>16|0;_:{if(!(Qa[N[b+516>>2]](b,1735162214,u,0)|0)){break _}if(!(Qa[N[b+516>>2]](b,1128678962,u,0)|0)){break _}e=Qa[N[b+516>>2]](b,1128678944,u,0)|0?e:0}$:{if(a>>>0>(e&65535)>>>0){if((c|0)>=0){break $}e=0}N[b+12>>2]=e<<16;N[b+4>>2]=c;N[b>>2]=N[b+140>>2];if(!ra){break a}N[b>>2]=ra;break a}f=6;break a}aa:{d=N[a+20>>2];if(d){if(!(Qa[d|0](a,e,0,0)|0)){break aa}f=85;break a}if(e>>>0<=Q[a+4>>2]){break aa}f=85;break a}N[a+8>>2]=e;N[q+12>>2]=0;t=N[a+28>>2];N[q+40>>2]=0;N[q+44>>2]=0;N[q+32>>2]=0;N[q+36>>2]=0;N[q+24>>2]=0;N[q+28>>2]=0;N[q+20>>2]=0;f=rb(a,177984,q+52|0);if(f){break a}f=8;i=N[q+56>>2];if((i|0)==2001684018){break a}n=N[q+60>>2];if((n|0)!=N[a+4>>2]){break a}g=P[q+64>>1];if(!g|n>>>0<=T(g,20)+48>>>0){break a}h=N[q+80>>2];e=N[q+76>>2];ba:{if(!e){d=N[q+84>>2]|h;h=0;if(!d){break ba}break a}if(!h){break ba}if(!N[q+84>>2]){break a}}if(n-e>>>0>>0|e>>>0>=n>>>0){break a}e=N[q+88>>2];if(e>>>0>=n>>>0){break a}d=N[q+92>>2];if(!(!d|(e|0)!=0)|d>>>0>n-e>>>0){break a}w=0;N[q+116>>2]=0;d=g<<5;ma=Qa[N[t+4>>2]](t,d)|0;ca:{if(!ma){f=64;break ca}C(ma,0,d);da:{ea:{fa:{ga:{ha:{ia:{ja:{ka:{la:{ma:{m=g<<2;I=Qa[N[t+4>>2]](t,m)|0;if(I){d=c>>31;l=(d^c)-d&65535;h=0;C(I,0,m);N[q+120>>2]=0;g=g>>>0<=1?1:g;k=0;na:{oa:{pa:{qa:{ra:{while(1){L[q+124|0]=0;s=(h<<5)+ma|0;f=N[a+8>>2];sa:{ta:{e=N[a+20>>2];ua:{if(e){if((Qa[e|0](a,f,q+124|0,1)|0)!=1){break ta}f=N[a+8>>2];e=q+124|0;break ua}if(Q[a+4>>2]<=f>>>0){break ta}e=N[a>>2]+f|0}u=O[e|0];w=f+1|0;N[a+8>>2]=w;L[s|0]=u;e=u&63;va:{if((e|0)==63){wa:{xa:{ya:{if(Q[a+4>>2]<=f+4>>>0){break ya}e=N[a+20>>2];za:{if(e){if((Qa[e|0](a,w,q+124|0,4)|0)!=4){break ya}w=N[a+8>>2];e=q+124|0;break za}e=N[a>>2];if(!e){break xa}e=e+w|0}e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);break wa}f=85;N[q+120>>2]=85;u=0;N[s+4>>2]=0;break fa}f=0}N[a+8>>2]=w+4;N[s+4>>2]=f;u=O[s|0];break va}f=N[(e<<2)+178048>>2];N[s+4>>2]=f}e=u&255;n=(f|0)!=1819239265&(f|0)!=1735162214?e>>>0<64:e>>>0>63;f=Ql(a,s+8|0);if(f){break qa}f=N[s+8>>2];N[s+12>>2]=f;Aa:{if(!n){f=Ql(a,s+12|0);if(f){break qa}e=N[s+12>>2];if(N[s+4>>2]==1819239265){break Aa}f=e}if((k^-1)>>>0>>0){break ra}break sa}f=0;if(!e){break sa}break ra}f=85;N[q+120>>2]=85;u=0;L[s|0]=0;break fa}N[s+24>>2]=f;N[s+20>>2]=k;N[s+16>>2]=(u&192)>>>6|(n?0:256);N[(h<<2)+I>>2]=s;k=f+k|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}N[q+120>>2]=0;e=N[(m+I|0)-4>>2];f=N[e+24>>2];e=f+N[e+20>>2]|0;N[q+96>>2]=e;if(e>>>0>>0){break ra}N[q+104>>2]=0;M[q+108>>1]=1;if((i|0)!=1953784678){break oa}e=Nb(a,q+120|0);N[q+104>>2]=e;u=0;f=N[q+120>>2];if(f){break fa}if((e|0)==65536|(e|0)==131072){break pa}break ga}f=8}N[q+120>>2]=f;break ha}f=je(a,sa);N[q+120>>2]=f;if(f){break fa}h=P[q+108>>1];if(!h){break ga}k=lb(t,12,0,h,0,q+120|0);N[q+116>>2]=k;f=N[q+120>>2];if(f){break fa}w=0;i=P[q+64>>1];n=0;while(1){m=T(n,12)+k|0;f=je(a,m+4|0);N[q+120>>2]=f;if(f){break ja}ta=m,ua=Nb(a,q+120|0),N[ta>>2]=ua;f=N[q+120>>2];if(f){break ja}u=0;ta=m,ua=lb(t,2,0,P[m+4>>1],0,q+120|0),N[ta+8>>2]=ua;f=N[q+120>>2];if(f){d=c;break ia}Ba:{if(!P[m+4>>1]){g=0;y=0;break Ba}y=0;g=0;while(1){f=je(a,q+124|0);if(f){break ka}f=P[q+124>>1];if(f>>>0>=i>>>0){break la}M[N[m+8>>2]+(u<<1)>>1]=f;e=N[N[(f<<2)+I>>2]+4>>2];g=(e|0)==1735162214?f:g;y=(e|0)==1819239265?f:y;u=u+1|0;if(u>>>0>1]){continue}break}N[q+120>>2]=0}if((y-g|0)!=1|g>>>0>y>>>0?g|y:0){break la}n=n+1|0;if((n|0)!=(h|0)){continue}break}break na}k=0;N[q+116>>2]=0;h=1}e=N[a+8>>2];N[q+100>>2]=e;g=N[q+72>>2];i=(g+e|0)+3|0;e=i&-4;m=N[q+60>>2];if(e>>>0>m>>>0){break la}f=N[q+76>>2];if(f){if((e|0)!=(f|0)){break la}e=N[q+80>>2]+(i|3)&-4}f=N[q+88>>2];if(f){if((e|0)!=(f|0)){break la}e=N[q+92>>2]+(e|3)&-4}if((m+3&-4)!=(e|0)){break la}ra=h;Ca:{e=d+l|0;if((h|0)>(e|0)){break Ca}e=0;if((c|0)<0){break Ca}f=6;break ka}Da:{if(!N[q+104>>2]){n=P[q+64>>1];break Da}w=0;l=T(e,12)+k|0;u=lb(t,4,0,P[l+4>>1],0,q+120|0);f=N[q+120>>2];if(f){break ja}i=P[l+4>>1];Ea:{if(!i){break Ea}e=0;if((i|0)!=1){h=i&65534;while(1){N[u+(e<<2)>>2]=N[(P[N[l+8>>2]+(e<<1)>>1]<<2)+I>>2];f=e|1;N[u+(f<<2)>>2]=N[(P[N[l+8>>2]+(f<<1)>>1]<<2)+I>>2];e=e+2|0;if((h|0)!=(e|0)){continue}break}}if(!(i&1)){break Ea}N[u+(e<<2)>>2]=N[(P[N[l+8>>2]+(e<<1)>>1]<<2)+I>>2]}I=lb(t,4,P[q+64>>1],i,I,q+120|0);f=N[q+120>>2];if(f){break ja}Fa:{Ga:{Ha:{n=P[l+4>>1];if(!n){break Ha}k=0;e=0;if(n>>>0>=4){h=n&65532;while(1){i=e<<2;N[i+I>>2]=N[i+u>>2];f=i|4;N[f+I>>2]=N[f+u>>2];f=i|8;N[f+I>>2]=N[f+u>>2];f=i|12;N[f+I>>2]=N[f+u>>2];e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=n&3;if(!h){break Ha}while(1){f=e<<2;N[f+I>>2]=N[f+u>>2];e=e+1|0;k=k+1|0;if((h|0)!=(k|0)){continue}break}break Ga}if(!u){break Fa}}Qa[N[t+8>>2]](t,u);n=P[l+4>>1]}e=N[l>>2];M[q+64>>1]=n;N[q+56>>2]=e}f=n&65535;l=f<<4;y=l|12;N[q+16>>2]=y;Ia:{e=N[q+68>>2];if(e>>>0<=y>>>0){break Ia}e=m>>>0>>6>>>0?m<<6:e;y=e>>>0>=67108864?67108864:e;N[q+16>>2]=y;if(y){break Ia}k=0;break ma}k=Qa[N[t+4>>2]](t,y)|0;if(k){break ma}w=0;N[q+20>>2]=0;f=64;N[q+120>>2]=64;break ja}f=64;N[q+120>>2]=64;I=0;break ha}N[q+20>>2]=k;Ja:{w=Qa[N[t+4>>2]](t,40)|0;if(w){L[w|0]=0;L[w+1|0]=0;L[w+2|0]=0;L[w+3|0]=0;L[w+4|0]=0;L[w+5|0]=0;L[w+6|0]=0;L[w+7|0]=0;L[w+32|0]=0;L[w+33|0]=0;L[w+34|0]=0;L[w+35|0]=0;L[w+36|0]=0;L[w+37|0]=0;L[w+38|0]=0;L[w+39|0]=0;L[w+24|0]=0;L[w+25|0]=0;L[w+26|0]=0;L[w+27|0]=0;L[w+28|0]=0;L[w+29|0]=0;L[w+30|0]=0;L[w+31|0]=0;L[w+16|0]=0;L[w+17|0]=0;L[w+18|0]=0;L[w+19|0]=0;L[w+20|0]=0;L[w+21|0]=0;L[w+22|0]=0;L[w+23|0]=0;L[w+8|0]=0;L[w+9|0]=0;L[w+10|0]=0;L[w+11|0]=0;L[w+12|0]=0;L[w+13|0]=0;L[w+14|0]=0;L[w+15|0]=0;u=0;N[q+120>>2]=0;e=N[q+56>>2];e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);L[k|0]=e;L[k+1|0]=e>>>8;L[k+2|0]=e>>>16;L[k+3|0]=e>>>24;if(n&65535){e=f;while(1){h=u;u=h+1|0;i=e>>>0>1;e=e>>>1|0;if(i){continue}break}L[k+9|0]=h;L[k+5|0]=n;L[k+8|0]=h>>>8;h=16<>>8;e=l-h|0;L[k+11|0]=e;L[k+6|0]=h>>>8;L[k+10|0]=e>>>8;u=n;break Ja}f=0;break Ja}f=64;break ka}ta=q,ua=wh(k,12),N[ta+24>>2]=ua;Zc(I,f,4,182);Ka:{La:{h=u&65535;if(h>>>0>=2){u=N[N[I>>2]+4>>2];e=1;while(1){f=u;u=N[N[(e<<2)+I>>2]+4>>2];if((f|0)==(u|0)){break La}e=e+1|0;if((h|0)!=(e|0)){continue}break}}z=N[q+96>>2];if(!z|y>>>0>>0){break La}f=6;if((z|0)<=0){break Ka}u=Qa[N[t+4>>2]](t,z)|0;f=64;if(!u){break Ka}f=Bb(a,g);if(f){d=c;break ia}S=N[a+32>>2];N[q+124>>2]=z;y=g;ha=0;j=La-5040|0;La=j;f=N[q+124>>2];s=j+136|0;e=s;N[e>>2]=0;N[e+4>>2]=0;N[j+8>>2]=f;N[j+48>>2]=0;N[j+44>>2]=176;N[j+40>>2]=177;N[j+24>>2]=0;N[j+28>>2]=32;N[j+288>>2]=0;N[j+292>>2]=0;N[j+64>>2]=0;N[j+68>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+108>>2]=0;N[j+112>>2]=0;N[j+584>>2]=0;N[j+592>>2]=0;N[j+596>>2]=0;N[j+80>>2]=0;N[j+84>>2]=0;N[j+268>>2]=0;N[j+152>>2]=0;N[j+156>>2]=0;N[j+168>>2]=0;N[j+172>>2]=0;N[j+128>>2]=0;N[j+132>>2]=0;N[j+4>>2]=u;N[j+568>>2]=0;N[j+572>>2]=0;N[j+100>>2]=11;N[j+104>>2]=4;N[j+560>>2]=0;N[j+564>>2]=0;N[j+580>>2]=0;M[j+576>>1]=16;N[j+76>>2]=0;N[j+92>>2]=16;N[j+96>>2]=15;N[j+88>>2]=0;N[j+296>>2]=63;N[j+600>>2]=45248;N[j+604>>2]=168208;N[j+184>>2]=0;N[j+188>>2]=0;N[j+12>>2]=0;Ma:{Na:{if(!f){break Na}ha=j+4|0;if(u){break Na}f=-20;break Ma}H=j+168|0;p=j+152|0;la=j+268|0;na=j+592|0;r=j+24|0;N[j+32>>2]=S;N[j+36>>2]=y;ia=j+840|0;_=j+1184|0;ba=j+640|0;da=j+264|0;pa=j+588|0;ca=j+56|0;Oa:while(1){h=1;Pa:{Qa:while(1){Ra:{switch(h-1|0){case 1:if(N[j+112>>2]){f=Sf(j+16|0,j+8|0,ha,j+12|0,1);if((f|0)<0){break Ma}}e=N[j+64>>2];if(e){if(!N[j+36>>2]){N[j+36>>2]=y;N[j+64>>2]=0;N[j+32>>2]=S;continue Oa}if(!y){f=2;break Ma}L[e+ca|0]=O[S|0];h=1;e=N[j+64>>2]+1|0;N[j+36>>2]=e;N[j+64>>2]=e;y=y-1|0;S=S+1|0;continue}f=2;e=N[j+36>>2];if(!e){break Ma}h=N[j+32>>2];k=e&3;g=0;Sa:{if(e>>>0<4){e=0;break Sa}n=e&-4;e=0;i=0;while(1){L[e+ca|0]=O[h|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;L[e+ca|0]=O[h+1|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;L[e+ca|0]=O[h+2|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;L[e+ca|0]=O[h+3|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;h=h+4|0;i=i+4|0;if((n|0)!=(i|0)){continue}break}}if(!k){break Ma}while(1){L[e+ca|0]=O[h|0];e=N[j+64>>2]+1|0;N[j+64>>2]=e;h=h+1|0;g=g+1|0;if((k|0)!=(g|0)){continue}break};break Ma;default:if(N[j+64>>2]){N[j+64>>2]=0;f=h;break Ma}g=N[j+28>>2];f=32-g|0;e=f>>>3|0;N[j+36>>2]=e+N[j+36>>2];N[j+32>>2]=N[j+32>>2]-e;e=f&-8;N[j+28>>2]=e+g;N[j+24>>2]=(e|0)!=32?N[j+24>>2]<>2]){case 19:e=N[j+20>>2];h=N[(j+(e<<2)|0)+220>>2];break Wa;case 2:e=N[j+580>>2];break bb;case 22:h=N[j+220>>2];break ob;case 6:e=N[j+20>>2];break pb;case 12:e=N[j+200>>2];if((e|0)<=0){break _a}g=N[j+32>>2];k=N[j+24>>2];i=N[j+36>>2];h=N[j+28>>2];while(1){if(h-25>>>0<=7){if(!i){h=2;continue Qa}n=k>>>8|0;N[j+24>>2]=n;f=O[g|0];i=i-1|0;N[j+36>>2]=i;g=g+1|0;N[j+32>>2]=g;k=n|f<<24;N[j+24>>2]=k;h=h-8|0}f=e-1|0;N[j+200>>2]=f;h=h+8|0;N[j+28>>2]=h;n=(e|0)>1;e=f;if(n){continue}break};break _a;case 0:break Ta;case 21:break Ua;case 20:break Va;case 17:break Ya;case 4:break $a;case 3:break ab;case 1:break cb;case 18:break db;case 11:break eb;case 26:break gb;case 14:break hb;case 13:case 15:case 16:break ib;case 7:case 8:case 9:case 10:break jb;case 25:break kb;case 24:break mb;case 23:break nb;case 5:break qb;default:continue}}e=N[j+28>>2];rb:{if(e-27>>>0>=6){h=N[j+24>>2];break rb}h=2;i=N[j+36>>2];if(!i){continue}h=N[j+24>>2]>>>8|0;N[j+24>>2]=h;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=i-1;N[j+32>>2]=g+1;h=h|f<<24;N[j+24>>2]=h;e=e-8|0}N[j+28>>2]=e+6;f=h>>>e|0;e=f&3;N[j+256>>2]=e;N[j+260>>2]=(f>>>2&15)<>2]](N[j+48>>2],N[j+220>>2])|0;N[j+596>>2]=e;h=-21;if(!e){continue}N[j+16>>2]=6;N[j+20>>2]=0;e=0}h=N[j+220>>2];if((e|0)<(h|0)){while(1){h=N[j+28>>2];sb:{if(h-31>>>0>=2){f=N[j+24>>2];break sb}n=N[j+36>>2];if(!n){break fb}i=N[j+24>>2]>>>8|0;N[j+24>>2]=i;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=n-1;N[j+32>>2]=g+1;f=i|f<<24;N[j+24>>2]=f;h=h-8|0}N[j+28>>2]=h+2;L[N[j+596>>2]+e|0]=f>>>h&3;e=e+1|0;h=N[j+220>>2];if((e|0)<(h|0)){continue}break}}N[j+16>>2]=22}h=Zl(h<<6,pa,na,j+16|0);if((h|0)!=1){continue}N[j+608>>2]=0;N[j+612>>2]=0;N[j+632>>2]=0;N[j+636>>2]=0;N[j+624>>2]=0;N[j+628>>2]=0;N[j+616>>2]=0;N[j+620>>2]=0;l=N[j+220>>2];if(l){e=0;A=N[j+592>>2];while(1){v=e<<6;k=v|3;n=v|2;i=v|1;m=O[v+A|0];h=0;g=0;while(1){g=m^O[A+(h+i|0)|0]|m^O[A+(h+v|0)|0]|m^O[A+(h+n|0)|0]|m^O[A+(h+k|0)|0]|g;f=h>>>0<60;h=h+4|0;if(f){continue}break}if(!g){f=j+(e>>>3&536870908)|0;N[f+608>>2]=N[f+608>>2]|1<>2]=23}m=N[j+260>>2];i=m+16|0;l=N[j+256>>2];k=l+1|0;tb:{if(!(O[j+576|0]&32)){i=i+(24<>>0>2147483643){break ub}e=0;n=(2147483644-m>>>l|0)+4|0;h=n;while(1){g=e;e=e+1|0;f=h>>>0>3;h=h>>>1|0;if(f){continue}break}e=(n>>>g&1|e<<1)-4|0;f=i;if(!e){break ub}f=(m+(-1<>2]<<2,da,la,j+16|0);if((h|0)!=1){continue}e=N[j+588>>2];k=Qa[N[j+40>>2]](N[j+48>>2],T(e,2532))|0;M[j+148>>1]=e;N[j+144>>2]=16777472;N[j+136>>2]=k;N[j+140>>2]=k+(e<<2);e=N[j+224>>2];n=Qa[N[j+40>>2]](N[j+48>>2],T(e,4324))|0;M[j+164>>1]=e;N[j+160>>2]=46138048;N[j+152>>2]=n;N[j+156>>2]=n+(e<<2);g=N[j+264>>2];e=g<<2;h=Qa[N[j+40>>2]](N[j+48>>2],T(e,f+377|0))|0;M[j+180>>1]=g;M[j+178>>1]=f;M[j+176>>1]=i;N[j+168>>2]=h;N[j+172>>2]=e+h;f=-22;if(!h|(!k|!n)){break Ma}N[j+16>>2]=24;N[j+20>>2]=0;g=0;e=s;break lb}f=-31;e=s;vb:{wb:{g=N[j+20>>2];switch(g|0){case 0:break lb;case 2:break vb;case 1:break wb;default:break Ma}}e=p;break lb}e=H}if(N[j+640>>2]==1){f=N[j+2428>>2]}else{f=N[e+4>>2];N[j+2428>>2]=0;N[j+2432>>2]=f;N[j+640>>2]=1;f=0}if((f|0)>1]){h=N[j+2432>>2];while(1){h=Rf(P[e+8>>1],P[e+10>>1],h,j+5036|0,j+16|0);if((h|0)!=1){continue Qa}f=N[j+2428>>2];N[N[e>>2]+(f<<2)>>2]=N[j+2432>>2];h=N[j+2432>>2]+(N[j+5036>>2]<<2)|0;N[j+2432>>2]=h;f=f+1|0;N[j+2428>>2]=f;if((f|0)>1]){continue}break}g=N[j+20>>2]}N[j+640>>2]=0;h=1;N[j+20>>2]=g+1;if((g|0)<2){continue}N[j+16>>2]=25}f=N[j+236>>2];e=N[j+592>>2]+(f<<6)|0;N[j+128>>2]=e;N[j+192>>2]=N[(j+(f>>>3&536870908)|0)+608>>2]>>>f&1;N[j+272>>2]=N[N[j+136>>2]+(O[e|0]<<2)>>2];e=O[f+N[j+596>>2]|0];N[j+132>>2]=N[j+268>>2];N[j+124>>2]=((e&3)<<9)+169536;N[j+120>>2]=N[N[j+152>>2]>>2];h=-27;if(!Yl(j+16|0)){continue}k=P[j+178>>1];n=N[j+256>>2];l=N[j+260>>2];xb:{if(!l){h=16;break xb}h=16;f=0;e=0;if(l>>>0>=4){i=l&-4;while(1){L[h+ba|0]=0;N[_+(h<<2)>>2]=e|1;g=h|1;L[g+ba|0]=0;N[_+(g<<2)>>2]=e|2;g=h|2;L[g+ba|0]=0;N[_+(g<<2)>>2]=e|3;g=h|3;L[g+ba|0]=0;e=e+4|0;N[_+(g<<2)>>2]=e;h=h+4|0;if((e|0)!=(i|0)){continue}break}}g=l&3;if(!g){break xb}while(1){L[h+ba|0]=0;e=e+1|0;N[_+(h<<2)>>2]=e;h=h+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}f=1;g=0;if(h>>>0>>0){while(1){i=l+((g+2<>2]=i+e;h=h+1|0;if(!(e>>>n|0)){continue}break}f=f+g|0;g=g^1;if(h>>>0>>0){continue}break}}N[j+16>>2]=7}k=j+16|0;f=N[k+4>>2];g=N[k+52>>2];i=2;yb:{zb:{Ab:{e=N[k+20>>2];if(e>>>0<28){break Ab}h=N[k+12>>2];Bb:{if((h|0)!=32){i=N[k+16>>2];h=h-8|0;break Bb}n=N[k+8>>2]>>>8|0;N[k+8>>2]=n;i=N[k+16>>2];h=O[i|0];e=e-1|0;N[k+20>>2]=e;N[k+12>>2]=24;i=i+1|0;N[k+16>>2]=i;N[k+8>>2]=n|h<<24;h=16}if(!(!(i&1)|!e)){l=N[k+8>>2]>>>8|0;N[k+8>>2]=l;n=O[i|0];N[k+20>>2]=e-1;N[k+12>>2]=h;N[k+16>>2]=i+1;N[k+8>>2]=l|n<<24}i=-31;Cb:{Db:{switch(N[k>>2]-7|0){case 0:e=0;break Cb;case 1:e=1;break Cb;case 2:e=2;break Cb;case 3:break Db;default:break zb}}e=3}while(1){Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{switch(e|0){case 0:Kb:{Lb:{n=N[k+20>>2];if(n>>>0<28){break Lb}h=N[k+196>>2];if(h){break Kb}while(1){A=N[k+208>>2];if(A>>>0>=2){n=N[k+168>>2]+2528|0;h=N[k+8>>2];e=N[k+12>>2];if(e>>>0>=16){e=e^16;N[k+12>>2]=e;i=h>>>16|0;N[k+8>>2]=i;l=N[k+16>>2];h=O[l|0]|O[l+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=l+2;h=i|h<<16;N[k+8>>2]=h}m=N[k+172>>2];l=h>>>e|0;i=n+((l&255)<<2)|0;n=O[i|0];if(n>>>0>=9){i=(P[i+2>>1]+(N[(n<<2)+169360>>2]&l>>>8)<<2)+i|0;n=O[i|0];e=e+8|0}v=P[i+2>>1];e=(n&255)+e|0;if(e>>>0>=16){e=e^16;N[k+12>>2]=e;i=h>>>16|0;N[k+8>>2]=i;n=N[k+16>>2];h=O[n|0]|O[n+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=n+2;h=i|h<<16;N[k+8>>2]=h}l=h>>>e|0;i=(m+1584|0)+((l&255)<<2)|0;n=O[i|0];if(n>>>0>=9){i=(P[i+2>>1]+(N[(n<<2)+169360>>2]&l>>>8)<<2)+i|0;n=O[i|0];e=e+8|0}e=e+(n&255)|0;n=P[i+2>>1];i=n<<2;l=P[i+169280>>1];R=O[i+169282|0];Mb:{if((n|0)!=25){if(e>>>0>=16){e=e^16;N[k+12>>2]=e;i=h>>>16|0;N[k+8>>2]=i;n=N[k+16>>2];h=O[n|0]|O[n+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=n+2;h=i|h<<16;N[k+8>>2]=h}N[k+12>>2]=e+R;e=N[(R<<2)+169392>>2]&h>>>e;break Mb}Nb:{Ob:{if(e>>>0<=15){i=h>>>16|0;n=e+16|0;B=h>>>e&65535;o=N[k+20>>2];e=N[k+16>>2];break Ob}m=e^16;N[k+12>>2]=m;h=h>>>16|0;N[k+8>>2]=h;e=N[k+16>>2];i=O[e|0]|O[e+1|0]<<8;o=N[k+20>>2]-2|0;N[k+20>>2]=o;e=e+2|0;N[k+16>>2]=e;h=h|i<<16;N[k+8>>2]=h;B=h>>>m&65535;n=m+16|0;if(m>>>0>4294967279){break Nb}}N[k+8>>2]=i;n=n^16;N[k+12>>2]=n;h=O[e|0]|O[e+1|0]<<8;N[k+20>>2]=o-2;N[k+16>>2]=e+2;h=h<<16|i;N[k+8>>2]=h}e=R-16|0;N[k+12>>2]=e+n;e=(N[(e<<2)+169392>>2]&h>>>n)<<16|B}N[k+196>>2]=e+l;Pb:{Qb:{switch(v|0){case 1:e=N[k+228>>2]+1|0;break Pb;case 0:e=N[k+224>>2];break Pb;default:break Qb}}e=v-2|0}N[k+224>>2]=N[k+228>>2];e=e-(e>>>0>=A>>>0?A:0)|0;N[k+228>>2]=e;N[k+104>>2]=N[N[k+136>>2]+(e<<2)>>2]}n=N[k+20>>2];if(n>>>0<=27){break Lb}h=N[k+196>>2];if(!h){continue}break}break Kb}N[k>>2]=7;i=2;break Ab}e=N[k+8>>2];m=N[k+104>>2];f=N[k+12>>2];if(f>>>0>=16){f=f^16;N[k+12>>2]=f;i=e>>>16|0;N[k+8>>2]=i;l=N[k+16>>2];e=O[l|0]|O[l+1|0]<<8;n=n-2|0;N[k+20>>2]=n;N[k+16>>2]=l+2;e=i|e<<16;N[k+8>>2]=e}l=e>>>f|0;m=m+((l&255)<<2)|0;i=O[m|0];if(i>>>0>=9){m=(P[m+2>>1]+(N[(i<<2)+169360>>2]&l>>>8)<<2)+m|0;i=O[m|0];f=f+8|0}i=f+(i&255)|0;N[k+12>>2]=i;m=P[m+2>>1]<<3;f=O[m+171587|0];N[k+180>>2]=f;N[k+268>>2]=L[m+171586|0];L[k+260|0]=O[f+N[k+116>>2]|0];v=P[m+171588>>1];l=P[m+171590>>1];x=O[m+171585|0];E=0;R=O[m+171584|0];Rb:{if(!R){break Rb}if(R>>>0<=16){if(i>>>0>=16){i=i^16;N[k+12>>2]=i;f=e>>>16|0;N[k+8>>2]=f;m=N[k+16>>2];e=O[m|0]|O[m+1|0]<<8;n=n-2|0;N[k+20>>2]=n;N[k+16>>2]=m+2;e=f|e<<16;N[k+8>>2]=e}E=N[(R<<2)+169392>>2]&e>>>i;i=i+R|0;break Rb}Sb:{Tb:{if(i>>>0<=15){E=e>>>16|0;m=i+16|0;B=e>>>i&65535;i=N[k+16>>2];break Tb}A=i^16;N[k+12>>2]=A;e=e>>>16|0;N[k+8>>2]=e;f=N[k+16>>2];E=O[f|0]|O[f+1|0]<<8;n=n-2|0;N[k+20>>2]=n;i=f+2|0;N[k+16>>2]=i;e=e|E<<16;N[k+8>>2]=e;B=e>>>A&65535;m=A+16|0;if(A>>>0>4294967279){break Sb}}N[k+8>>2]=E;m=m^16;N[k+12>>2]=m;e=O[i|0]|O[i+1|0]<<8;n=n-2|0;N[k+20>>2]=n;N[k+16>>2]=i+2;e=e<<16|E;N[k+8>>2]=e}f=R-16|0;E=(N[(f<<2)+169392>>2]&e>>>m)<<16|B;i=f+m|0}Ub:{if(x>>>0<=16){if(i>>>0>=16){i=i^16;N[k+12>>2]=i;f=e>>>16|0;N[k+8>>2]=f;m=N[k+16>>2];e=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=n-2;N[k+16>>2]=m+2;e=f|e<<16;N[k+8>>2]=e}N[k+12>>2]=i+x;e=N[(x<<2)+169392>>2]&e>>>i;break Ub}Vb:{Wb:{if(i>>>0<=15){m=e>>>16|0;f=i+16|0;B=e>>>i&65535;i=N[k+16>>2];break Wb}A=i^16;N[k+12>>2]=A;e=e>>>16|0;N[k+8>>2]=e;f=N[k+16>>2];m=O[f|0]|O[f+1|0]<<8;n=n-2|0;N[k+20>>2]=n;i=f+2|0;N[k+16>>2]=i;e=e|m<<16;N[k+8>>2]=e;B=e>>>A&65535;f=A+16|0;if(A>>>0>4294967279){break Vb}}N[k+8>>2]=m;f=f^16;N[k+12>>2]=f;e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=n-2;N[k+16>>2]=i+2;e=e<<16|m;N[k+8>>2]=e}i=x-16|0;N[k+12>>2]=i+f;e=(N[(i<<2)+169392>>2]&e>>>f)<<16|B}N[k+196>>2]=h-1;N[k+264>>2]=e+l;f=v+E|0;if(!f){break Ib}N[k+184>>2]=N[k+184>>2]-f;e=1;continue;case 2:break Gb;case 1:break Jb;default:break Hb}}n=N[k+176>>2];Xb:while(1){Yb:{Zb:{if(n){i=N[k+8>>2];n=N[k+12>>2];if(n>>>0>=16){n=n^16;N[k+12>>2]=n;h=i>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;i=h|e<<16;N[k+8>>2]=i}e=N[k+256>>2]+((i>>>n&255)<<2)|0;h=P[e+2>>1];i=O[e|0];while(1){if(Q[k+20>>2]<=27){N[k>>2]=8;i=2;break Ab}_b:{if(N[k+192>>2]){E=N[k+12>>2];e=N[k+256>>2];break _b}Wl(k);i=N[k+8>>2];E=N[k+12>>2];if(E>>>0>=16){E=E^16;N[k+12>>2]=E;h=i>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;i=h|e<<16;N[k+8>>2]=i}if(!N[k+176>>2]){break Yb}e=N[k+256>>2];i=e+((i>>>E&255)<<2)|0;h=P[i+2>>1];i=O[i|0]}m=i&255;$b:{if(m>>>0>=9){n=N[k+8>>2];if(E>>>0>=16){E=E^16;N[k+12>>2]=E;n=n>>>16|0;N[k+8>>2]=n;l=N[k+16>>2];i=O[l|0]|O[l+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=l+2;n=n|i<<16;N[k+8>>2]=n}i=n>>>E|0;h=((((i&255)<<2)+e|0)+((h&65535)<<2)|0)+((N[(m<<2)+169360>>2]&i>>>8)<<2)|0;i=(O[h|0]+E|0)+8|0;N[k+12>>2]=i;h=O[h+2|0];break $b}i=m+E|0;N[k+12>>2]=i;n=N[k+8>>2]}l=h;if(i>>>0>=16){i=i^16;N[k+12>>2]=i;n=n>>>16|0;N[k+8>>2]=n;m=N[k+16>>2];h=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=m+2;n=n|h<<16;N[k+8>>2]=n}e=((n>>>i&255)<<2)+e|0;h=P[e+2>>1];i=O[e|0];L[N[k+96>>2]+g|0]=l;N[k+192>>2]=N[k+192>>2]-1;g=g+1|0;if((g|0)==N[k+64>>2]){N[k>>2]=13;f=f-1|0;i=1;break Ab}f=f-1|0;if(f){continue}break}break Zb}e=N[k+96>>2];h=N[k+68>>2];i=O[e+(h&g-2)|0];h=O[e+(h&g-1)|0];while(1){if(Q[k+20>>2]<=27){N[k>>2]=8;i=2;break Ab}if(!N[k+192>>2]){Wl(k);n=N[k+176>>2];if(n){continue Xb}}e=N[k+108>>2];l=N[N[k+120>>2]+(O[N[k+112>>2]+(O[(e+(i&255)|0)+256|0]|O[e+(h&255)|0])|0]<<2)>>2];n=N[k+8>>2];i=N[k+12>>2];if(i>>>0>=16){i=i^16;N[k+12>>2]=i;n=n>>>16|0;N[k+8>>2]=n;m=N[k+16>>2];e=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=m+2;n=n|e<<16;N[k+8>>2]=n}e=n>>>i|0;n=l+((e&255)<<2)|0;E=O[n|0];if(E>>>0>=9){n=(P[n+2>>1]+(N[(E<<2)+169360>>2]&e>>>8)<<2)+n|0;E=O[n|0];i=i+8|0}N[k+12>>2]=i+(E&255);e=P[n+2>>1];L[N[k+96>>2]+g|0]=e;N[k+192>>2]=N[k+192>>2]-1;g=g+1|0;if((g|0)==N[k+64>>2]){N[k>>2]=13;f=f-1|0;i=1;break Ab}i=h;h=e;f=f-1|0;if(f){continue}break}}f=0;if(N[k+184>>2]>0){break Ib}N[k>>2]=14;i=1;break Ab}n=0;continue}}e=2;continue}i=N[k+64>>2]-g|0;ac:{bc:{while(1){e=f-1|0;if((f|0)<=0){break bc}f=N[k+96>>2];L[f+g|0]=O[f+(N[k+68>>2]&g-N[k+268>>2])|0];g=g+1|0;f=e;i=i-1|0;if(i){continue}break}N[k>>2]=16;break ac}if(N[k+184>>2]>0){f=e;break Fb}N[k>>2]=14}i=1;f=e;break Ab}e=N[k+268>>2];cc:{if((e|0)>=0){m=!e;N[k+180>>2]=m;e=N[k+72>>2]-1|0;N[k+72>>2]=e;e=N[(k+((e&3)<<2)|0)+76>>2];break cc}if(!N[k+200>>2]){v=N[k+212>>2];if(v>>>0>=2){i=N[k+168>>2]+5056|0;f=N[k+8>>2];e=N[k+12>>2];if(e>>>0>=16){e=e^16;N[k+12>>2]=e;h=f>>>16|0;N[k+8>>2]=h;n=N[k+16>>2];f=O[n|0]|O[n+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=n+2;f=h|f<<16;N[k+8>>2]=f}l=N[k+172>>2];n=f>>>e|0;h=i+((n&255)<<2)|0;i=O[h|0];if(i>>>0>=9){h=(P[h+2>>1]+(N[(i<<2)+169360>>2]&n>>>8)<<2)+h|0;i=O[h|0];e=e+8|0}m=P[h+2>>1];e=(i&255)+e|0;if(e>>>0>=16){e=e^16;N[k+12>>2]=e;h=f>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];f=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;f=h|f<<16;N[k+8>>2]=f}n=f>>>e|0;h=(l+3168|0)+((n&255)<<2)|0;i=O[h|0];if(i>>>0>=9){h=(P[h+2>>1]+(N[(i<<2)+169360>>2]&n>>>8)<<2)+h|0;i=O[h|0];e=e+8|0}e=e+(i&255)|0;i=P[h+2>>1];h=i<<2;n=P[h+169280>>1];A=O[h+169282|0];dc:{if((i|0)!=25){if(e>>>0>=16){e=e^16;N[k+12>>2]=e;h=f>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];f=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;f=h|f<<16;N[k+8>>2]=f}N[k+12>>2]=e+A;e=N[(A<<2)+169392>>2]&f>>>e;break dc}ec:{fc:{if(e>>>0<=15){h=f>>>16|0;i=e+16|0;x=f>>>e&65535;B=N[k+20>>2];e=N[k+16>>2];break fc}l=e^16;N[k+12>>2]=l;f=f>>>16|0;N[k+8>>2]=f;e=N[k+16>>2];h=O[e|0]|O[e+1|0]<<8;B=N[k+20>>2]-2|0;N[k+20>>2]=B;e=e+2|0;N[k+16>>2]=e;f=f|h<<16;N[k+8>>2]=f;x=f>>>l&65535;i=l+16|0;if(l>>>0>4294967279){break ec}}N[k+8>>2]=h;i=i^16;N[k+12>>2]=i;f=O[e|0]|O[e+1|0]<<8;N[k+20>>2]=B-2;N[k+16>>2]=e+2;f=f<<16|h;N[k+8>>2]=f}e=A-16|0;N[k+12>>2]=e+i;e=(N[(e<<2)+169392>>2]&f>>>i)<<16|x}N[k+200>>2]=e+n;gc:{hc:{switch(m|0){case 1:e=N[k+236>>2]+1|0;break gc;case 0:e=N[k+232>>2];break gc;default:break hc}}e=m-2|0}N[k+232>>2]=N[k+236>>2];e=e-(e>>>0>=v>>>0?v:0)|0;N[k+236>>2]=e;e=N[k+252>>2]+(e<<2)|0;N[k+116>>2]=e;L[k+260|0]=O[e+N[k+180>>2]|0]}}l=N[N[k+152>>2]+(O[k+260|0]<<2)>>2];e=N[k+8>>2];f=N[k+12>>2];if(f>>>0>=16){f=f^16;N[k+12>>2]=f;h=e>>>16|0;N[k+8>>2]=h;i=N[k+16>>2];e=O[i|0]|O[i+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=i+2;e=h|e<<16;N[k+8>>2]=e}n=e>>>f|0;h=n&255;i=l+(h<<2)|0;m=O[i|0];if(m>>>0>=9){i=(P[(l+(h<<2)|0)+2>>1]+(N[(m<<2)+169360>>2]&n>>>8)<<2)+i|0;m=O[i|0];f=f+8|0}h=k+624|0;m=(m&255)+f|0;N[k+12>>2]=m;v=P[i+2>>1];N[k+180>>2]=0;N[k+200>>2]=N[k+200>>2]-1;ic:{if(v>>>0<=15){if(v>>>0<=3){m=1>>>v|0;N[k+180>>2]=m;f=N[k+72>>2];e=N[(k+((f+(v^-1)&3)<<2)|0)+76>>2];N[k+72>>2]=f-m;break cc}e=v>>>0<10;e=((6312258>>>(v+(e?-4:-10)<<2)&7)+N[(k+((N[k+72>>2]+(e?3:2)&3)<<2)|0)+76>>2]|0)-3|0;e=(e|0)<=0?2147483647:e;break ic}l=O[h+v|0];jc:{if(l>>>0<=16){if(m>>>0>=16){m=m^16;N[k+12>>2]=m;f=e>>>16|0;N[k+8>>2]=f;h=N[k+16>>2];e=O[h|0]|O[h+1|0]<<8;N[k+20>>2]=N[k+20>>2]-2;N[k+16>>2]=h+2;e=f|e<<16;N[k+8>>2]=e}N[k+12>>2]=l+m;e=N[(l<<2)+169392>>2]&e>>>m;break jc}kc:{lc:{if(m>>>0<=15){h=e>>>16|0;n=m+16|0;E=e>>>m&65535;x=N[k+20>>2];m=N[k+16>>2];break lc}i=m^16;N[k+12>>2]=i;e=e>>>16|0;N[k+8>>2]=e;f=N[k+16>>2];h=O[f|0]|O[f+1|0]<<8;x=N[k+20>>2]-2|0;N[k+20>>2]=x;m=f+2|0;N[k+16>>2]=m;e=e|h<<16;N[k+8>>2]=e;E=e>>>i&65535;n=i+16|0;if(i>>>0>4294967279){break kc}}N[k+8>>2]=h;n=n^16;N[k+12>>2]=n;e=O[m|0]|O[m+1|0]<<8;N[k+20>>2]=x-2;N[k+16>>2]=m+2;e=e<<16|h;N[k+8>>2]=e}f=l-16|0;N[k+12>>2]=f+n;e=(N[(f<<2)+169392>>2]&e>>>n)<<16|E}e=N[(k+(v<<2)|0)+1168>>2]+(e<>2])|0}m=0}N[k+268>>2]=e;i=N[k+60>>2];f=N[k+56>>2];if((i|0)!=(f|0)){i=(f|0)>(g|0)?g:f;N[k+60>>2]=i}f=N[k+264>>2];mc:{if((e|0)>(i|0)){h=-16;if((e|0)>2147483644){break yb}h=-12;if(f-4>>>0>20){break yb}n=N[k+584>>2];l=N[(n+(f<<2)|0)+32>>2];v=O[f+n|0];N[k+72>>2]=N[k+72>>2]+m;n=N[n+164>>2];h=-19;if(!n){break yb}e=(i^-1)+e|0;i=e>>v;m=N[k+588>>2];h=-11;if((i|0)>=N[m+12>>2]){break yb}h=n+(l+T(e&N[(v<<2)+169392>>2],f)|0)|0;e=N[k+96>>2]+g|0;nc:{if((i|0)==M[m+24>>1]){F(e,h,f);e=f;break nc}e=$l(e,h,f,m,i)}N[k+184>>2]=N[k+184>>2]-e;g=e+g|0;if((g|0)>2]){e=g;break mc}N[k>>2]=15;i=1;break Ab}l=N[k+96>>2];i=N[k+68>>2];h=N[k+72>>2];N[(k+((h&3)<<2)|0)+76>>2]=e;N[k+72>>2]=h+1;N[k+184>>2]=N[k+184>>2]-f;n=i&g-e;v=n+l|0;h=O[v|0]|O[v+1|0]<<8|(O[v+2|0]<<16|O[v+3|0]<<24);e=O[v+4|0]|O[v+5|0]<<8|(O[v+6|0]<<16|O[v+7|0]<<24);m=g+l|0;l=O[v+12|0]|O[v+13|0]<<8|(O[v+14|0]<<16|O[v+15|0]<<24);i=O[v+8|0]|O[v+9|0]<<8|(O[v+10|0]<<16|O[v+11|0]<<24);L[m+8|0]=i;L[m+9|0]=i>>>8;L[m+10|0]=i>>>16;L[m+11|0]=i>>>24;L[m+12|0]=l;L[m+13|0]=l>>>8;L[m+14|0]=l>>>16;L[m+15|0]=l>>>24;L[m|0]=h;L[m+1|0]=h>>>8;L[m+2|0]=h>>>16;L[m+3|0]=h>>>24;L[m+4|0]=e;L[m+5|0]=e>>>8;L[m+6|0]=e>>>16;L[m+7|0]=e>>>24;e=f+g|0;i=f+n|0;if((n|0)<(e|0)&(i|0)>(g|0)){break Eb}h=N[k+64>>2];if((h|0)<=(e|0)|(h|0)<=(i|0)){break Eb}if((f|0)<17){break mc}i=v+16|0;l=m+16|0;if(f>>>0>=33){F(l,i,f-16|0);break mc}h=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);g=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);n=O[i+12|0]|O[i+13|0]<<8|(O[i+14|0]<<16|O[i+15|0]<<24);i=O[i+8|0]|O[i+9|0]<<8|(O[i+10|0]<<16|O[i+11|0]<<24);L[l+8|0]=i;L[l+9|0]=i>>>8;L[l+10|0]=i>>>16;L[l+11|0]=i>>>24;L[l+12|0]=n;L[l+13|0]=n>>>8;L[l+14|0]=n>>>16;L[l+15|0]=n>>>24;L[l|0]=h;L[l+1|0]=h>>>8;L[l+2|0]=h>>>16;L[l+3|0]=h>>>24;L[l+4|0]=g;L[l+5|0]=g>>>8;L[l+6|0]=g>>>16;L[l+7|0]=g>>>24}if(N[k+184>>2]>0){g=e;break Fb}N[k>>2]=14;i=1;g=e;break Ab}e=0;continue}e=3;continue}}N[k+4>>2]=f;N[k+52>>2]=g}h=i}if((h|0)!=2){continue}Y=La-16|0;La=Y;l=j+16|0;J=l+8|0;i=N[l+4>>2];k=N[l+52>>2];f=-31;oc:{pc:{qc:{switch(N[l>>2]-7|0){case 0:h=0;break pc;case 1:h=2;break pc;case 2:h=1;break pc;case 3:break qc;default:break oc}}h=3}while(1){rc:{sc:{tc:{uc:{vc:{wc:{xc:{yc:{zc:{Ac:{Bc:{Cc:{Dc:{switch(h|0){case 0:N[l>>2]=7;if(N[l+196>>2]){break wc}while(1){K=La-16|0;La=K;Ec:{Fc:{Z=N[l+208>>2];Gc:{if(Z>>>0<2){break Gc}x=N[l+172>>2];E=N[l+168>>2]+2528|0;v=N[l+20>>2];m=N[l+16>>2];V=l+8|0;W=N[V>>2];B=W;Hc:{Ic:{n=N[l+12>>2];h=n;if(h-18>>>0<=14){f=m;e=n;g=v;while(1){if(!g){break Ic}R=B>>>8|0;N[l+8>>2]=R;A=O[f|0];g=g-1|0;N[l+20>>2]=g;h=e-8|0;N[l+12>>2]=h;f=f+1|0;N[l+16>>2]=f;B=R|A<<24;N[l+8>>2]=B;A=e-26|0;e=h;if(A>>>0<15){continue}break}}f=B>>>h|0;g=E+((f&255)<<2)|0;e=O[g|0];if(e>>>0>=9){h=h+8|0;g=(P[g+2>>1]+(N[(e<<2)+169360>>2]&f>>>8&127)<<2)+g|0;e=O[g|0]}N[l+12>>2]=(e&255)+h;N[K+8>>2]=P[g+2>>1];break Hc}if(!Jc(E,V,K+8|0)){break Gc}}Jc:{Kc:{if(!N[l+556>>2]){x=x+1584|0;Lc:{e=N[l+12>>2];Mc:{if(e-18>>>0>=15){B=N[V>>2];break Mc}g=N[l+20>>2];f=e;while(1){if(!g){break Lc}R=N[l+8>>2]>>>8|0;N[l+8>>2]=R;A=N[l+16>>2];h=O[A|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=A+1;B=R|h<<24;N[l+8>>2]=B;h=f-26|0;f=e;if(h>>>0<15){continue}break}}h=B>>>e|0;g=x+((h&255)<<2)|0;f=O[g|0];if(f>>>0>=9){g=(P[g+2>>1]+(N[(f<<2)+169360>>2]&h>>>8&127)<<2)+g|0;f=O[g|0];e=e+8|0}N[l+12>>2]=e+(f&255);h=P[g+2>>1];break Kc}if(!Jc(x,V,K+12|0)){break Jc}h=N[K+12>>2];break Kc}h=N[l+188>>2]}f=h<<2;E=P[f+169280>>1];$=O[f+169282|0];e=N[l+12>>2];if($>>>0<=32-e>>>0){B=N[V>>2];break Fc}g=N[l+20>>2];f=e;while(1){if(g){x=N[l+8>>2]>>>8|0;N[l+8>>2]=x;R=N[l+16>>2];A=O[R|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=R+1;B=x|A<<24;N[l+8>>2]=B;A=40-f|0;f=e;if(A>>>0<$>>>0){continue}break Fc}break}N[l+188>>2]=h}N[l+20>>2]=v;N[l+16>>2]=m;N[l+8>>2]=W;N[l+556>>2]=0;N[l+12>>2]=n}e=0;break Ec}N[l+556>>2]=0;N[l+12>>2]=e+$;N[l+196>>2]=E+(N[($<<2)+169392>>2]&B>>>e);Nc:{Oc:{Pc:{Qc:{e=N[K+8>>2];switch(e|0){case 1:break Oc;case 0:break Qc;default:break Pc}}e=N[l+224>>2];break Nc}e=e-2|0;break Nc}e=N[l+228>>2]+1|0}N[l+224>>2]=N[l+228>>2];e=e-(e>>>0>=Z>>>0?Z:0)|0;N[l+228>>2]=e;N[l+104>>2]=N[N[l+136>>2]+(e<<2)>>2];e=1}La=K+16|0;if(e){N[l>>2]=7;if(!N[l+196>>2]){continue}break wc}break};f=2;break rc;case 1:N[l>>2]=9;e=N[l+268>>2];if((e|0)<0){break Cc}N[l+180>>2]=!e;e=N[l+72>>2]-1|0;N[l+72>>2]=e;h=N[(l+((e&3)<<2)|0)+76>>2];break Bc;case 2:break Dc;default:break Ac}}h=N[l+176>>2];Rc:while(1){Sc:{N[l>>2]=8;if(h){h=N[l+192>>2];while(1){Tc:{if(h){break Tc}if(!Vl(l)){f=2;break rc}if(N[l+176>>2]){break Tc}h=0;continue Rc}v=N[l+256>>2];Uc:{Vc:{e=N[l+12>>2];Wc:{if(e-18>>>0>=15){m=N[J>>2];break Wc}h=N[l+20>>2];f=e;while(1){if(!h){break Vc}m=N[l+8>>2]>>>8|0;N[l+8>>2]=m;n=N[l+16>>2];g=O[n|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=n+1;m=m|g<<24;N[l+8>>2]=m;g=f-26|0;f=e;if(g>>>0<15){continue}break}}g=m>>>e|0;h=v+((g&255)<<2)|0;f=O[h|0];if(f>>>0>=9){h=(P[h+2>>1]+(N[(f<<2)+169360>>2]&g>>>8&127)<<2)+h|0;f=O[h|0];e=e+8|0}N[l+12>>2]=e+(f&255);e=P[h+2>>1];break Uc}if(!Jc(v,J,Y+12|0)){break zc}e=N[Y+12>>2]}L[N[l+96>>2]+k|0]=e;h=N[l+192>>2]-1|0;N[l+192>>2]=h;k=k+1|0;if((k|0)==N[l+64>>2]){N[l>>2]=13;i=i-1|0;f=1;break rc}i=i-1|0;if(i){continue}break}break Sc}f=N[l+96>>2];g=N[l+68>>2];e=O[f+(g&k-2)|0];g=O[f+(g&k-1)|0];f=N[l+192>>2];while(1){if(!f){if(!Vl(l)){f=2;break rc}h=N[l+176>>2];if(h){continue Rc}}f=e&255;e=N[l+108>>2];A=N[N[l+120>>2]+(O[N[l+112>>2]+(O[(f+e|0)+256|0]|O[e+(g&255)|0])|0]<<2)>>2];Xc:{Yc:{e=N[l+12>>2];Zc:{if(e-18>>>0>=15){m=N[J>>2];break Zc}h=N[l+20>>2];f=e;while(1){if(!h){break Yc}v=N[l+8>>2]>>>8|0;N[l+8>>2]=v;m=N[l+16>>2];n=O[m|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=m+1;m=v|n<<24;N[l+8>>2]=m;n=f-26|0;f=e;if(n>>>0<15){continue}break}}n=m>>>e|0;h=A+((n&255)<<2)|0;f=O[h|0];if(f>>>0>=9){h=(P[h+2>>1]+(N[(f<<2)+169360>>2]&n>>>8&127)<<2)+h|0;f=O[h|0];e=e+8|0}N[l+12>>2]=e+(f&255);h=O[h+2|0];break Xc}if(!Jc(A,J,Y+12|0)){break zc}h=N[Y+12>>2]}L[N[l+96>>2]+k|0]=h;f=N[l+192>>2]-1|0;N[l+192>>2]=f;k=k+1|0;if((k|0)==N[l+64>>2]){N[l>>2]=13;i=i-1|0;f=1;break rc}e=g;g=h;i=i-1|0;if(i){continue}break}}break}if(N[l+184>>2]>0){break vc}N[l>>2]=14;f=1;i=0;break rc}_c:{if(N[l+200>>2]){break _c}K=La-16|0;La=K;$c:{ad:{Z=N[l+212>>2];bd:{if(Z>>>0<2){break bd}x=N[l+172>>2];E=N[l+168>>2]+5056|0;v=N[l+20>>2];m=N[l+16>>2];V=l+8|0;W=N[V>>2];B=W;cd:{dd:{n=N[l+12>>2];h=n;if(h-18>>>0<=14){f=m;e=n;g=v;while(1){if(!g){break dd}R=B>>>8|0;N[l+8>>2]=R;A=O[f|0];g=g-1|0;N[l+20>>2]=g;h=e-8|0;N[l+12>>2]=h;f=f+1|0;N[l+16>>2]=f;B=R|A<<24;N[l+8>>2]=B;A=e-26|0;e=h;if(A>>>0<15){continue}break}}f=B>>>h|0;g=E+((f&255)<<2)|0;e=O[g|0];if(e>>>0>=9){h=h+8|0;g=(P[g+2>>1]+(N[(e<<2)+169360>>2]&f>>>8&127)<<2)+g|0;e=O[g|0]}N[l+12>>2]=(e&255)+h;N[K+8>>2]=P[g+2>>1];break cd}if(!Jc(E,V,K+8|0)){break bd}}ed:{fd:{if(!N[l+556>>2]){x=x+3168|0;gd:{e=N[l+12>>2];hd:{if(e-18>>>0>=15){B=N[V>>2];break hd}g=N[l+20>>2];f=e;while(1){if(!g){break gd}R=N[l+8>>2]>>>8|0;N[l+8>>2]=R;A=N[l+16>>2];h=O[A|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=A+1;B=R|h<<24;N[l+8>>2]=B;h=f-26|0;f=e;if(h>>>0<15){continue}break}}h=B>>>e|0;g=x+((h&255)<<2)|0;f=O[g|0];if(f>>>0>=9){g=(P[g+2>>1]+(N[(f<<2)+169360>>2]&h>>>8&127)<<2)+g|0;f=O[g|0];e=e+8|0}N[l+12>>2]=e+(f&255);h=P[g+2>>1];break fd}if(!Jc(x,V,K+12|0)){break ed}h=N[K+12>>2];break fd}h=N[l+188>>2]}f=h<<2;E=P[f+169280>>1];$=O[f+169282|0];e=N[l+12>>2];if($>>>0<=32-e>>>0){B=N[V>>2];break ad}g=N[l+20>>2];f=e;while(1){if(g){x=N[l+8>>2]>>>8|0;N[l+8>>2]=x;R=N[l+16>>2];A=O[R|0];g=g-1|0;N[l+20>>2]=g;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=R+1;B=x|A<<24;N[l+8>>2]=B;A=40-f|0;f=e;if(A>>>0<$>>>0){continue}break ad}break}N[l+188>>2]=h}N[l+20>>2]=v;N[l+16>>2]=m;N[l+8>>2]=W;N[l+556>>2]=0;N[l+12>>2]=n}e=0;break $c}N[l+556>>2]=0;N[l+12>>2]=e+$;N[l+200>>2]=E+(N[($<<2)+169392>>2]&B>>>e);id:{jd:{kd:{ld:{e=N[K+8>>2];switch(e|0){case 1:break jd;case 0:break ld;default:break kd}}e=N[l+232>>2];break id}e=e-2|0;break id}e=N[l+236>>2]+1|0}N[l+232>>2]=N[l+236>>2];e=e-(e>>>0>=Z>>>0?Z:0)|0;N[l+236>>2]=e;e=N[l+252>>2]+(e<<2)|0;N[l+116>>2]=e;L[l+260|0]=O[e+N[l+180>>2]|0];e=1}La=K+16|0;if(e){break _c}f=2;break rc}E=l+624|0;R=N[l+20>>2];A=N[l+16>>2];x=N[N[l+152>>2]+(O[l+260|0]<<2)>>2];$=N[l+8>>2];f=$;md:{nd:{od:{pd:{qd:{rd:{v=N[l+12>>2];h=v;if(h-18>>>0<=14){m=A;g=v;e=R;while(1){if(!e){break rd}n=f>>>8|0;N[l+8>>2]=n;f=O[m|0];e=e-1|0;N[l+20>>2]=e;h=g-8|0;N[l+12>>2]=h;m=m+1|0;N[l+16>>2]=m;f=n|f<<24;N[l+8>>2]=f;n=g-26|0;g=h;if(n>>>0<15){continue}break}}n=f>>>h|0;g=n&255;f=x+(g<<2)|0;e=O[f|0];if(e>>>0>=9){h=h+8|0;f=(P[(x+(g<<2)|0)+2>>1]+(N[(e<<2)+169360>>2]&n>>>8&127)<<2)+f|0;e=O[f|0]}N[l+12>>2]=(e&255)+h;e=P[f+2>>1];break qd}if(!Jc(x,J,Y+12|0)){break pd}e=N[Y+12>>2]}f=0;N[l+180>>2]=0;m=N[l+200>>2];N[l+200>>2]=m-1;x=e;if(e>>>0<=15){if(x>>>0>3){break md}f=1>>>x|0;N[l+180>>2]=f;e=N[l+72>>2];h=N[(l+((e+(x^-1)&3)<<2)|0)+76>>2];N[l+72>>2]=e-f;break Bc}V=O[x+E|0];if(!V){break nd}sd:{if(V>>>0<=24){n=N[l+12>>2];td:{if(V>>>0<=32-n>>>0){K=N[J>>2];break td}f=N[l+20>>2];e=n;while(1){if(!f){break sd}E=N[l+8>>2]>>>8|0;N[l+8>>2]=E;h=N[l+16>>2];g=O[h|0];f=f-1|0;N[l+20>>2]=f;n=e-8|0;N[l+12>>2]=n;N[l+16>>2]=h+1;K=E|g<<24;N[l+8>>2]=K;g=40-e|0;e=n;if(g>>>0>>0){continue}break}}N[l+12>>2]=n+V;f=N[(V<<2)+169392>>2]&K>>>n;break nd}Z=N[J+8>>2];K=Z;W=N[J+12>>2];X=W;B=N[J>>2];f=B;ud:{vd:{m=N[J+4>>2];n=m;if(m-17>>>0<=15){e=m;while(1){if(!X){break vd}g=f>>>8|0;N[J>>2]=g;f=O[K|0];X=X-1|0;N[J+12>>2]=X;n=e-8|0;N[J+4>>2]=n;K=K+1|0;N[J+8>>2]=K;f=g|f<<24;N[J>>2]=f;g=e-25|0;e=n;if(g>>>0<16){continue}break}}e=n+16|0;N[J+4>>2]=e;V=V-16|0;wd:{if(V>>>0<=16-n>>>0){g=f;h=e;break wd}g=f;while(1){if(!X){break vd}E=g>>>8|0;N[J>>2]=E;g=O[K|0];X=X-1|0;N[J+12>>2]=X;h=e-8|0;N[J+4>>2]=h;K=K+1|0;N[J+8>>2]=K;g=E|g<<24;N[J>>2]=g;E=40-e|0;e=h;if(E>>>0>>0){continue}break}}N[J+4>>2]=h+V;N[Y+8>>2]=f>>>n&65535|(N[(V<<2)+169392>>2]&g>>>h)<<16;e=1;break ud}N[J+12>>2]=W;N[J+8>>2]=Z;N[J>>2]=B;N[J+4>>2]=m;e=0}if(e){break od}m=N[l+200>>2]+1|0}N[l+20>>2]=R;N[l+16>>2]=A;N[l+8>>2]=$;N[l+200>>2]=m;N[l+12>>2]=v}f=2;break rc}f=N[Y+8>>2]}h=N[(l+(x<<2)|0)+1168>>2]+(f<>2])|0;break Bc}e=x>>>0<10;e=((6312258>>>(x+(e?-4:-10)<<2)&7)+N[(l+((N[l+72>>2]+(e?3:10)&3)<<2)|0)+76>>2]|0)-3|0;h=(e|0)<=0?2147483647:e}N[l+268>>2]=h;f=N[l+60>>2];e=N[l+56>>2];if((f|0)!=(e|0)){f=(e|0)>(k|0)?k:e;N[l+60>>2]=f}i=N[l+264>>2];xd:{if((f|0)<(h|0)){if((h|0)>2147483644){f=-16;break oc}if(i-4>>>0>20){f=-12;break oc}e=N[l+584>>2];n=N[(e+(i<<2)|0)+32>>2];v=O[e+i|0];N[l+72>>2]=N[l+72>>2]+N[l+180>>2];g=N[e+164>>2];if(!g){f=-19;break oc}e=(f^-1)+h|0;h=e>>v;m=N[l+588>>2];if((h|0)>=N[m+12>>2]){f=-11;break oc}f=g+(n+T(e&N[(v<<2)+169392>>2],i)|0)|0;e=N[l+96>>2]+k|0;yd:{if((h|0)==M[m+24>>1]){F(e,f,i);e=i;break yd}e=$l(e,f,i,m,h)}N[l+184>>2]=N[l+184>>2]-e;k=e+k|0;if((k|0)>2]){h=k;break xd}N[l>>2]=15;f=1;break rc}n=N[l+96>>2];f=N[l+68>>2];e=N[l+72>>2];N[(l+((e&3)<<2)|0)+76>>2]=h;N[l+72>>2]=e+1;N[l+184>>2]=N[l+184>>2]-i;g=f&k-h;v=g+n|0;f=O[v|0]|O[v+1|0]<<8|(O[v+2|0]<<16|O[v+3|0]<<24);e=O[v+4|0]|O[v+5|0]<<8|(O[v+6|0]<<16|O[v+7|0]<<24);m=k+n|0;n=O[v+12|0]|O[v+13|0]<<8|(O[v+14|0]<<16|O[v+15|0]<<24);h=O[v+8|0]|O[v+9|0]<<8|(O[v+10|0]<<16|O[v+11|0]<<24);L[m+8|0]=h;L[m+9|0]=h>>>8;L[m+10|0]=h>>>16;L[m+11|0]=h>>>24;L[m+12|0]=n;L[m+13|0]=n>>>8;L[m+14|0]=n>>>16;L[m+15|0]=n>>>24;L[m|0]=f;L[m+1|0]=f>>>8;L[m+2|0]=f>>>16;L[m+3|0]=f>>>24;L[m+4|0]=e;L[m+5|0]=e>>>8;L[m+6|0]=e>>>16;L[m+7|0]=e>>>24;h=i+k|0;f=g+i|0;if((g|0)<(h|0)&(f|0)>(k|0)){break xc}e=N[l+64>>2];if((e|0)<=(h|0)|(e|0)<=(f|0)){break xc}if((i|0)<17){break xd}g=v+16|0;k=m+16|0;if(i>>>0>=33){F(k,g,i-16|0);break xd}f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);e=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);n=O[g+12|0]|O[g+13|0]<<8|(O[g+14|0]<<16|O[g+15|0]<<24);g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);L[k+8|0]=g;L[k+9|0]=g>>>8;L[k+10|0]=g>>>16;L[k+11|0]=g>>>24;L[k+12|0]=n;L[k+13|0]=n>>>8;L[k+14|0]=n>>>16;L[k+15|0]=n>>>24;L[k|0]=f;L[k+1|0]=f>>>8;L[k+2|0]=f>>>16;L[k+3|0]=f>>>24;L[k+4|0]=e;L[k+5|0]=e>>>8;L[k+6|0]=e>>>16;L[k+7|0]=e>>>24}if(N[l+184>>2]>0){k=h;break yc}N[l>>2]=14;f=1;k=h;break rc}f=N[l+64>>2]-k|0;zd:{Ad:{while(1){e=i-1|0;if((i|0)<=0){break Ad}g=N[l+96>>2];L[g+k|0]=O[g+(N[l+68>>2]&k-N[l+268>>2])|0];k=k+1|0;i=e;f=f-1|0;if(f){continue}break}N[l>>2]=16;break zd}if(N[l+184>>2]>0){i=e;break yc}N[l>>2]=14}f=1;i=e;break rc}f=2;break rc}h=0;continue}h=3;continue}R=N[l+20>>2];A=N[l+16>>2];B=N[l+104>>2];E=N[l+8>>2];f=E;e=l;l=e;Bd:{Cd:{v=N[e+12>>2];h=v;if(h-18>>>0<=14){m=A;g=v;n=R;while(1){if(!n){break Cd}x=f>>>8|0;N[l+8>>2]=x;f=O[m|0];n=n-1|0;N[l+20>>2]=n;h=g-8|0;N[l+12>>2]=h;m=m+1|0;N[l+16>>2]=m;f=x|f<<24;N[l+8>>2]=f;x=g-26|0;g=h;if(x>>>0<15){continue}break}}i=f>>>h|0;f=B+((i&255)<<2)|0;g=O[f|0];if(g>>>0>=9){h=h+8|0;f=(P[f+2>>1]+(N[(g<<2)+169360>>2]&i>>>8&127)<<2)+f|0;g=O[f|0]}N[l+12>>2]=(g&255)+h;e=P[f+2>>1];break Bd}if(!Jc(B,J,Y+12|0)){break tc}e=N[Y+12>>2]}f=e<<3;e=O[f+171587|0];N[l+180>>2]=e;N[l+268>>2]=L[f+171586|0];L[l+260|0]=O[e+N[l+116>>2]|0];i=P[f+171588>>1];x=P[f+171590>>1];W=O[f+171585|0];K=0;B=O[f+171584|0];if(B){e=N[l+12>>2];Dd:{if(B>>>0<=32-e>>>0){m=N[J>>2];break Dd}h=N[l+20>>2];f=e;while(1){if(!h){break uc}m=N[l+8>>2]>>>8|0;N[l+8>>2]=m;n=N[l+16>>2];g=O[n|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=n+1;m=m|g<<24;N[l+8>>2]=m;g=40-f|0;f=e;if(g>>>0>>0){continue}break}}N[l+12>>2]=e+B;K=N[(B<<2)+169392>>2]&m>>>e}if(W){e=N[l+12>>2];Ed:{if(W>>>0<=32-e>>>0){m=N[J>>2];break Ed}h=N[l+20>>2];f=e;while(1){if(!h){break uc}m=N[l+8>>2]>>>8|0;N[l+8>>2]=m;n=N[l+16>>2];g=O[n|0];h=h-1|0;N[l+20>>2]=h;e=f-8|0;N[l+12>>2]=e;N[l+16>>2]=n+1;m=m|g<<24;N[l+8>>2]=m;g=40-f|0;f=e;if(g>>>0>>0){continue}break}}N[l+12>>2]=e+W;e=N[(W<<2)+169392>>2]&m>>>e}else{e=0}N[l+264>>2]=e+x;N[l+196>>2]=N[l+196>>2]-1;i=i+K|0;if(i){break sc}}i=0;h=1;continue}N[l+16>>2]=A;N[l+8>>2]=E;N[l+20>>2]=R;N[l+12>>2]=v}f=2;break rc}N[l+184>>2]=N[l+184>>2]-i;h=2;continue}break}N[l+4>>2]=i;N[l+52>>2]=k}La=Y+16|0;h=f;continue}h=Sf(j+16|0,j+8|0,ha,j+12|0,0);if((h|0)!=1){continue}if(O[j+576|0]&8){F(N[j+112>>2],N[j+116>>2],N[j+68>>2]);M[j+576>>1]=P[j+576>>1]&65527}if(N[j+80>>2]==1<>2]){N[j+76>>2]=N[j+72>>2]}Fd:{switch(N[j+16>>2]-15|0){case 0:if(!N[j+200>>2]){break _a}N[j+16>>2]=7;continue Oa;case 1:N[j+16>>2]=10;continue Oa;default:break Fd}}if(!N[j+20>>2]){if(!N[j+200>>2]){break _a}N[j+16>>2]=9;continue Oa}N[j+16>>2]=8;continue Oa}h=-10;if(N[j+200>>2]<0){continue}Qa[N[j+44>>2]](N[j+48>>2],N[j+596>>2]);N[j+596>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+592>>2]);N[j+592>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+268>>2]);N[j+268>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+136>>2]);N[j+136>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+152>>2]);N[j+152>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+168>>2]);N[j+168>>2]=0;if(!(L[j+576|0]&1)){N[j+16>>2]=3;continue Oa}e=N[j+28>>2];f=0-e&7;Gd:{if(!f){g=e;break Gd}g=e+f|0;N[j+28>>2]=g;h=-15;if(N[(f<<2)+169392>>2]&N[j+24>>2]>>>e){continue}}if(!N[j+64>>2]){f=32-g|0;e=f>>>3|0;y=e+N[j+36>>2]|0;N[j+36>>2]=y;S=N[j+32>>2]-e|0;N[j+32>>2]=S;e=f&-8;N[j+28>>2]=e+g;N[j+24>>2]=(e|0)!=32?N[j+24>>2]<>2]=26}if(!N[j+112>>2]){f=1;break Ma}f=1;h=Sf(j+16|0,j+8|0,ha,j+12|0,1);if((h|0)!=1){continue}break Ma}N[j+20>>2]=e;h=2;continue}m=j+16|0;if(Yl(m)){k=j+8|0;n=j+12|0;e=N[m+548>>2];Hd:{while(1){Id:{Jd:{switch(e|0){case 0:l=N[m+52>>2];h=l+N[m+96>>2]|0;g=N[m+64>>2];e=N[m+20>>2];i=N[m+12>>2];f=e>>>0>1073741824?1073741824:e+(32-i>>>3|0)|0;e=N[m+184>>2];e=(e|0)>(f|0)?f:e;f=(g|0)<(e+l|0)?g-l|0:e;Kd:{if(!f){e=f;break Kd}e=f;if(i-33>>>0>4294967287){break Kd}while(1){L[h|0]=N[m+8>>2]>>>i;g=N[m+12>>2];i=g+8|0;N[m+12>>2]=i;e=e-1|0;h=h+1|0;if(g-25>>>0>4294967287){break Kd}if(e){continue}break}}F(h,N[m+16>>2],e);N[m+20>>2]=N[m+20>>2]-e;N[m+16>>2]=N[m+16>>2]+e;g=f+N[m+52>>2]|0;N[m+52>>2]=g;e=N[m+184>>2];N[m+184>>2]=e-f;if((g|0)<1<>2]){break Id}N[m+548>>2]=1;break;case 1:break Jd;default:continue}}e=Sf(m,k,ha,n,0);if((e|0)!=1){break Hd}if(N[m+64>>2]==1<>2]){N[m+60>>2]=N[m+56>>2]}e=0;N[m+548>>2]=0;continue}break}e=(e|0)==(f|0)?1:2}}else{e=-26}h=e;if((e|0)!=1){continue}break _a}h=N[j+20>>2];if((h|0)<3){break Xa}N[j+16>>2]=5;continue Oa}e=N[j+28>>2];Ld:{if(e-27>>>0>=6){h=N[j+24>>2];break Ld}h=2;i=N[j+36>>2];if(!i){continue}h=N[j+24>>2]>>>8|0;N[j+24>>2]=h;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=i-1;N[j+32>>2]=g+1;h=h|f<<24;N[j+24>>2]=h;e=e-8|0}N[j+28>>2]=e+6;e=h>>>e&63;N[j+580>>2]=e;h=-13;if(e-31>>>0<4294967275){continue}N[j+16>>2]=2}N[j+72>>2]=(1<>2]](N[j+48>>2],12336)|0;N[j+184>>2]=e;h=-30;if(!e){continue}N[j+188>>2]=e+7584}N[j+592>>2]=0;N[j+596>>2]=0;N[j+248>>2]=1;N[j+252>>2]=0;N[j+240>>2]=1;N[j+244>>2]=0;N[j+232>>2]=1;N[j+236>>2]=0;N[j+224>>2]=1;N[j+228>>2]=1;N[j+216>>2]=16777216;N[j+220>>2]=1;N[j+208>>2]=16777216;N[j+212>>2]=16777216;N[j+200>>2]=0;N[j+152>>2]=0;N[j+156>>2]=0;N[j+168>>2]=0;N[j+172>>2]=0;N[j+132>>2]=0;N[j+136>>2]=0;N[j+140>>2]=0;N[j+124>>2]=0;N[j+128>>2]=0;L[la+8|0]=0;N[la>>2]=0;N[la+4>>2]=0;N[j+16>>2]=4}e=N[j+560>>2];g=-31;Md:{Nd:{Od:{Pd:{Qd:{Rd:{Sd:{Td:{Ud:{Vd:{Wd:{Xd:{Yd:{while(1){Zd:{_d:{switch(e|0){case 2:e=N[r+4>>2];break Zd;case 0:e=N[r+4>>2];$d:{if((e|0)!=32){h=N[r>>2];break $d}i=N[r+12>>2];if(!i){break Nd}h=N[r>>2]>>>8|0;N[r>>2]=h;e=N[r+8>>2];f=O[e|0];N[r+12>>2]=i-1;N[r+8>>2]=e+1;e=24;h=h|f<<24;N[r>>2]=h}N[r+4>>2]=e+1;N[j+200>>2]=0;e=1<>1]=P[j+576>>1]&65528|(e|0)!=0;if(!e){e=2;N[j+560>>2]=2;continue}N[j+560>>2]=1;break;case 7:break Rd;case 6:break Td;case 5:break Ud;case 4:break Wd;case 3:break Yd;case 1:break _d;default:break Md}}h=N[r+4>>2];ae:{if((h|0)!=32){i=N[r>>2];break ae}h=N[r+12>>2];if(!h){break Nd}i=N[r>>2]>>>8|0;N[r>>2]=i;f=N[r+8>>2];e=O[f|0];N[r+12>>2]=h-1;N[r+8>>2]=f+1;h=24;i=i|e<<24;N[r>>2]=i}e=h+1|0;N[r+4>>2]=e;if(i>>>h&1){N[j+560>>2]=0;g=1;break Md}N[j+560>>2]=2}be:{if(e-31>>>0>=2){h=N[r>>2];break be}n=N[r+12>>2];if(!n){break Nd}i=N[r>>2]>>>8|0;N[r>>2]=i;h=N[r+8>>2];f=O[h|0];N[r+12>>2]=n-1;N[r+8>>2]=h+1;h=i|f<<24;N[r>>2]=h;e=e-8|0}N[r+4>>2]=e+2;N[j+20>>2]=0;f=h>>>e&3;e=P[j+576>>1]&-16321|f<<6|256;M[j+576>>1]=e;if((f|0)==3){M[j+576>>1]=e|4;e=5;N[j+560>>2]=5;continue}break}N[j+560>>2]=3;f=0;break Xd}e=P[j+576>>1];f=N[j+20>>2]}if((f|0)<(e>>>6&255)){h=N[r+4>>2];while(1){g=f;ce:{if(h-29>>>0>=4){f=N[r>>2];e=h;break ce}n=N[r+12>>2];if(!n){break Pd}i=N[r>>2]>>>8|0;N[r>>2]=i;f=N[r+8>>2];e=O[f|0];N[r+12>>2]=n-1;N[r+8>>2]=f+1;f=i|e<<24;N[r>>2]=f;e=h-8|0}h=e+4|0;N[r+4>>2]=h;n=f>>>e&15;f=g+1|0;e=P[j+576>>1];i=e>>>6&255;if(!(n|((f|0)!=(i|0)|i>>>0<5))){g=-1;break Md}N[j+200>>2]=N[j+200>>2]|n<<(g<<2);if((f|0)<(i|0)){continue}break}}N[j+560>>2]=4;break Vd}e=P[j+576>>1]}if(!(e&1)){e=N[r+4>>2];de:{if((e|0)!=32){f=N[r>>2];break de}h=N[r+12>>2];if(!h){break Nd}g=N[r>>2]>>>8|0;N[r>>2]=g;e=N[r+8>>2];f=O[e|0];N[r+12>>2]=h-1;N[r+8>>2]=e+1;e=24;f=g|f<<24;N[r>>2]=f}N[r+4>>2]=e+1;M[j+576>>1]=P[j+576>>1]&65533|(f>>>e&1)<<1}N[j+560>>2]=0;N[j+200>>2]=N[j+200>>2]+1;g=1;break Md}f=N[r+4>>2];ee:{if((f|0)!=32){h=N[r>>2];break ee}h=N[r+12>>2];if(!h){break Nd}g=N[r>>2]>>>8|0;N[r>>2]=g;f=N[r+8>>2];e=O[f|0];N[r+12>>2]=h-1;N[r+8>>2]=f+1;f=24;h=g|e<<24;N[r>>2]=h}e=f+1|0;N[r+4>>2]=e;g=-2;if(h>>>f&1){break Md}N[j+560>>2]=6;break Sd}e=N[r+4>>2]}g=2;fe:{if(e-31>>>0>=2){f=N[r>>2];break fe}i=N[r+12>>2];if(!i){break Md}h=N[r>>2]>>>8|0;N[r>>2]=h;g=N[r+8>>2];f=O[g|0];N[r+12>>2]=i-1;N[r+8>>2]=g+1;f=h|f<<24;N[r>>2]=f;e=e-8|0}N[r+4>>2]=e+2;e=f>>>e&3;if(!e){N[j+560>>2]=0;g=1;break Md}N[j+560>>2]=7;f=P[j+576>>1]&-16321|e<<6;M[j+576>>1]=f;break Qd}f=P[j+576>>1]}e=N[j+20>>2];ge:{if((e|0)>=(f>>>6&255)){h=N[j+200>>2];break ge}f=N[r+4>>2];while(1){g=e;he:{if(f-25>>>0>=8){i=N[r>>2];e=f;break he}n=N[r+12>>2];if(!n){break Od}i=N[r>>2]>>>8|0;N[r>>2]=i;h=N[r+8>>2];e=O[h|0];N[r+12>>2]=n-1;N[r+8>>2]=h+1;i=i|e<<24;N[r>>2]=i;e=f-8|0}f=e+8|0;N[r+4>>2]=f;h=i>>>e&255;e=g+1|0;i=P[j+576>>1]>>>6&255;if(!(h|((e|0)!=(i|0)|i>>>0<2))){g=-3;break Md}h=N[j+200>>2]|h<<(g<<3);N[j+200>>2]=h;if((e|0)<(i|0)){continue}break}}N[j+560>>2]=0;N[j+200>>2]=h+1;g=1;break Md}N[j+20>>2]=g;break Nd}N[j+20>>2]=g}g=2}h=g;if((g|0)!=1){continue}ie:{e=P[j+576>>1];if(!(e&6)){break ie}g=N[j+28>>2];f=0-g&7;if(f){N[j+28>>2]=f+g;h=-14;if(N[(f<<2)+169392>>2]&N[j+24>>2]>>>g){continue}}if(!(e&4)){break ie}N[j+16>>2]=12;continue Oa}if(N[j+200>>2]){break Za}}N[j+16>>2]=14;continue Oa}e=1<>2];h=N[j+80>>2];je:{if((e|0)==(h|0)){break je}g=P[j+576>>1];if(g&4){break je}f=N[j+112>>2]?N[j+68>>2]:0;ke:{if(!(g&16)){f=e;break ke}g=h?h:1024;f=f+N[j+200>>2]|0;g=(f|0)<(g|0)?g:f;while(1){f=e;e=e>>1;if((g|0)<=(e|0)){continue}break}}N[j+584>>2]=f}if(!(O[j+576|0]&2)){break Ya}N[j+16>>2]=11;continue Oa}N[j+804>>2]=ia;N[j+16>>2]=18;N[j+20>>2]=0;N[j+648>>2]=0;N[j+652>>2]=0;N[j+640>>2]=0;N[j+644>>2]=0;h=0}h=Xl(j+16|0,r,(j+(h<<2)|0)+220|0);if((h|0)!=1){continue}f=j+220|0;e=f+(N[j+20>>2]<<2)|0;N[e>>2]=N[e>>2]+1;e=N[j+20>>2];h=N[f+(e<<2)>>2];if(h>>>0<=1){h=1;N[j+20>>2]=e+1;continue}N[j+16>>2]=19}f=h+2|0;h=Rf(f,f,N[j+184>>2]+T(e,2528)|0,0,j+16|0);if((h|0)!=1){continue}N[j+16>>2]=20}h=Rf(26,26,N[j+188>>2]+T(N[j+20>>2],1584)|0,0,j+16|0);if((h|0)!=1){continue}N[j+16>>2]=21}m=N[j+20>>2];le:{if(!N[j+572>>2]){k=N[j+188>>2]+T(m,1584)|0;me:{g=N[j+28>>2];ne:{if(g-18>>>0>=15){i=N[j+24>>2];break ne}e=N[j+32>>2];i=N[j+24>>2];h=N[j+36>>2];f=g;while(1){if(!h){break me}n=i>>>8|0;N[j+24>>2]=n;i=O[e|0];h=h-1|0;N[j+36>>2]=h;g=f-8|0;N[j+28>>2]=g;e=e+1|0;N[j+32>>2]=e;i=n|i<<24;N[j+24>>2]=i;n=f-26|0;f=g;if(n>>>0<15){continue}break}}e=j;i=i>>>g|0;h=k+((i&255)<<2)|0;f=O[h|0];if(f>>>0>=9){g=g+8|0;h=(P[h+2>>1]+(N[(f<<2)+169360>>2]&i>>>8&127)<<2)+h|0;f=O[h|0]}N[e+28>>2]=(f&255)+g;n=P[h+2>>1];break le}if(!Jc(k,r,j+5036|0)){h=2;continue}n=N[j+5036>>2];break le}n=N[j+204>>2]}e=n<<2;l=P[e+169280>>1];oe:{v=O[e+169282|0];g=N[j+28>>2];pe:{if(v>>>0<=32-g>>>0){i=N[j+24>>2];break pe}e=N[j+32>>2];i=N[j+24>>2];h=N[j+36>>2];f=g;while(1){if(!h){break oe}k=i>>>8|0;N[j+24>>2]=k;i=O[e|0];h=h-1|0;N[j+36>>2]=h;g=f-8|0;N[j+28>>2]=g;e=e+1|0;N[j+32>>2]=e;i=k|i<<24;N[j+24>>2]=i;k=40-f|0;f=g;if(k>>>0>>0){continue}break}}N[j+28>>2]=g+v;N[(j+(m<<2)|0)+208>>2]=l+(N[(v<<2)+169392>>2]&i>>>g);N[j+572>>2]=0;N[j+16>>2]=18;h=1;N[j+20>>2]=N[j+20>>2]+1;continue}N[j+572>>2]=1;N[j+204>>2]=n;h=2;continue}e=N[j+28>>2];qe:{if((e|0)!=32){h=N[j+32>>2];f=e-8|0;break qe}h=2;e=N[j+36>>2];if(!e){continue}i=N[j+24>>2]>>>8|0;N[j+24>>2]=i;g=N[j+32>>2];f=O[g|0];N[j+36>>2]=e-1;e=24;N[j+28>>2]=24;h=g+1|0;N[j+32>>2]=h;N[j+24>>2]=i|f<<24;f=16}re:{if(!(h&1)){break re}i=N[j+36>>2];if(!i){break re}g=N[j+24>>2]>>>8|0;N[j+24>>2]=g;e=O[h|0];N[j+36>>2]=i-1;N[j+32>>2]=h+1;N[j+24>>2]=g|e<<24;e=f}n=P[j+576>>1];M[j+576>>1]=n&65503;f=e+1|0;N[j+28>>2]=f;k=N[j+24>>2];if(!(k>>>e&1)){h=16;break Pa}i=e+4|0;N[j+28>>2]=i;f=k>>>f&7;if(f){h=f+17|0;break Pa}g=e+7|0;N[j+28>>2]=g;h=17;se:{te:{f=k>>>i&7;switch(f|0){case 0:break Pa;case 1:break te;default:break se}}h=-13;if(!(n&32)){continue}N[j+28>>2]=e+8;if(k>>>g&1){continue}h=1;N[j+16>>2]=1;M[j+576>>1]=n|32;continue}break}h=f|8}N[j+16>>2]=2;N[j+580>>2]=h;continue}}N[j+108>>2]=f;N[q+124>>2]=N[j+12>>2];Qa[N[j+44>>2]](N[j+48>>2],N[j+596>>2]);N[j+596>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+592>>2]);N[j+592>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+268>>2]);N[j+268>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+136>>2]);N[j+136>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+152>>2]);N[j+152>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+168>>2]);N[j+168>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+112>>2]);N[j+112>>2]=0;Qa[N[j+44>>2]](N[j+48>>2],N[j+184>>2]);La=j+5040|0;e=((f-1>>>0<3?f:0)|0)==1&(z|0)==N[q+124>>2];f=e?0:8;N[q+120>>2]=f;if(N[a+20>>2]){h=N[a>>2];if(h){g=N[a+28>>2];Qa[N[g+8>>2]](g,h)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;if(!e){d=c;break ia}A=z;ea=q+16|0;g=0;z=0;l=0;la=0;p=La-48|0;La=p;f=N[q+20>>2];N[p+16>>2]=f;_=P[q+64>>1];k=_<<4|12;N[p+12>>2]=k;N[p+4>>2]=0;U=q+24|0;V=N[U>>2];ue:{ve:{if(_){we:{while(1){i=N[(g<<2)+I>>2];if(N[i+4>>2]==1735162214){break we}g=g+1|0;if((_|0)!=(g|0)){continue}break}i=0}N[U+12>>2]=i;ka=U+12|0;g=0;xe:{while(1){e=N[(g<<2)+I>>2];if(N[e+4>>2]!=1819239265){g=g+1|0;if((_|0)!=(g|0)){continue}break xe}break}N[U+16>>2]=e;E=8;if(!i|(N[e+16>>2]^N[i+16>>2])&256){break ue}v=U+16|0;break ve}N[U+16>>2]=0;E=8;if(i){break ue}v=U+16|0;break ve}N[U+12>>2]=0;N[U+16>>2]=0;ka=U+12|0;v=U+16|0}ye:{ze:{Ae:{Be:{D=Qa[N[t+4>>2]](t,16)|0;if(D){L[D|0]=0;L[D+1|0]=0;L[D+2|0]=0;L[D+3|0]=0;L[D+4|0]=0;L[D+5|0]=0;L[D+6|0]=0;L[D+7|0]=0;L[D+8|0]=0;L[D+9|0]=0;L[D+10|0]=0;L[D+11|0]=0;L[D+12|0]=0;L[D+13|0]=0;L[D+14|0]=0;L[D+15|0]=0;o=Qa[N[t+4>>2]](t,40)|0;if(o){break Be}o=0;E=64;break Ae}N[q+20>>2]=f;E=64;break ue}L[o|0]=0;L[o+1|0]=0;L[o+2|0]=0;L[o+3|0]=0;L[o+4|0]=0;L[o+5|0]=0;L[o+6|0]=0;L[o+7|0]=0;L[o+32|0]=0;L[o+33|0]=0;L[o+34|0]=0;L[o+35|0]=0;L[o+36|0]=0;L[o+37|0]=0;L[o+38|0]=0;L[o+39|0]=0;L[o+8|0]=0;L[o+9|0]=0;L[o+10|0]=0;L[o+11|0]=0;L[o+12|0]=0;L[o+13|0]=0;L[o+14|0]=0;L[o+15|0]=0;L[o+24|0]=0;L[o+25|0]=0;L[o+26|0]=0;L[o+27|0]=0;L[o+28|0]=0;L[o+29|0]=0;L[o+30|0]=0;L[o+31|0]=0;L[o+16|0]=0;L[o+17|0]=0;L[o+18|0]=0;L[o+19|0]=0;L[o+20|0]=0;L[o+21|0]=0;L[o+22|0]=0;L[o+23|0]=0;N[o+4>>2]=A;N[o>>2]=u;N[o+32>>2]=0;N[o+8>>2]=0;N[o+24>>2]=0;N[o+20>>2]=0;Ce:{De:{if(!_){break De}pa=u+8|0;R=12;while(1){g=N[(la<<2)+I>>2];e=N[g+28>>2];s=N[g+24>>2];r=N[g+20>>2];h=N[g+16>>2];ha=N[g+8>>2];Y=N[g+4>>2];Ee:{g=N[o+20>>2];if(g){if(!(Qa[g|0](o,r,0,0)|0)){break Ee}E=85;break Ae}if(r>>>0<=Q[o+4>>2]){break Ee}E=85;break Ae}N[o+8>>2]=r;E=8;if(A>>>0>>0){break Ae}Fe:{Ge:{He:{if((Y|0)==1751672161){g=r+34|0;e=N[o+20>>2];Ie:{if(e){if(Qa[e|0](o,g,0,0)|0){break Ae}y=N[o+4>>2];break Ie}y=N[o+4>>2];if(y>>>0>>0){break Ae}}N[o+8>>2]=g;if(r+35>>>0>=y>>>0){break Ae}Je:{Ke:{e=N[o+20>>2];Le:{if(e){if((Qa[e|0](o,g,p+44|0,2)|0)!=2){break Ae}g=N[o+8>>2];e=p+44|0;break Le}e=N[o>>2];if(!e){break Ke}e=e+g|0}e=O[e|0]|O[e+1|0]<<8;l=e<<8|e>>>8;break Je}l=0}N[o+8>>2]=g+2;M[U+6>>1]=l;if(!(h&256)){break He}break Ae}M[U+6>>1]=l;N[p+8>>2]=0;if(h&256){break Ge}if((Y|0)!=1751474532){break He}if(s>>>0<12){break Ae}e=r+pa|0;L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}m=r+u|0;g=0;h=0;y=s&-4;if(y){while(1){h=(O[m+(g|3)|0]|(O[m+(g|1)|0]<<16|O[g+m|0]<<24|O[m+(g|2)|0]<<8))+h|0;g=g+4|0;if(y>>>0>g>>>0){continue}break}}if((s|0)!=(y|0)){g=0;Me:{if(s>>>0<=y>>>0){break Me}n=s&1;if((s|0)!=(y|1)){i=(s&3)-n|0;j=0;while(1){e=y<<3&16;g=O[m+(y|1)|0]<<(e^16)|(O[m+y|0]<<(e^24)|g);y=y+2|0;j=j+2|0;if((i|0)!=(j|0)){continue}break}}if(!n){break Me}g=O[m+y|0]<<((y^-1)<<3)|g}h=g+h|0}N[p+8>>2]=h;h=k+s|0;if(h>>>0>31457280){break Ce}g=N[ea>>2];if(g>>>0>>0){if((g|h)<0){break Ce}Ne:{if(!g){f=Qa[N[t+4>>2]](t,h)|0;e=!f<<6;break Ne}e=Qa[N[t+12>>2]](t,g,h,f)|0;f=e?e:f;e=!e<<6}Oe:{if(!(e|(g|0)>=(h|0)|!f)){C(f+g|0,0,h-g|0);break Oe}if(e){break Ce}}N[ea>>2]=h}F(f+k|0,m,s);N[p+16>>2]=f;N[p+12>>2]=h;break Fe}Pe:{Qe:{Re:{Se:{Te:{Ue:{Ve:{We:{Xe:{Ye:{Ze:{_e:{$e:{af:{bf:{if((Y|0)!=1819239265){if((Y|0)==1752003704){break bf}if((Y|0)!=1735162214){break Ae}N[p+40>>2]=f;N[p+36>>2]=k;G=Qa[N[t+4>>2]](t,84)|0;if(!G){break af}C(G,0,84);g=N[o+8>>2]+4|0;e=N[o+20>>2];cf:{if(e){if(Qa[e|0](o,g,0,0)|0){break cf}break $e}if(g>>>0<=Q[o+4>>2]){break $e}}N[p+44>>2]=85;break _e}N[p+8>>2]=N[p+4>>2];k=e;break Fe}g=l;if(!z){e=0;s=La-16|0;La=s;df:{while(1){g=N[(e<<2)+I>>2];if(N[g+4>>2]==1835104368){break df}e=e+1|0;if((_|0)!=(e|0)){continue}break}g=0}e=0;ef:{ff:{while(1){i=N[(e<<2)+I>>2];if(N[i+4>>2]==1751474532){break ff}e=e+1|0;if((_|0)!=(e|0)){continue}break}e=8;break ef}e=8;if(!g|!N[U+16>>2]){break ef}n=N[g+20>>2];f=N[o+20>>2];gf:{hf:{if(f){e=85;if(Qa[f|0](o,n,0,0)|0){break ef}N[o+8>>2]=n;j=o+8|0;h=n+8|0;f=N[o+20>>2];if(!f){break hf}if(Qa[f|0](o,h,0,0)|0){break ef}g=N[o+4>>2];break gf}e=85;if(n>>>0>Q[o+4>>2]){break ef}N[o+8>>2]=n;j=o+8|0;h=n+8|0}g=N[o+4>>2];if(h>>>0>g>>>0){break ef}}N[o+8>>2]=h;jf:{if(n+9>>>0>=g>>>0){break jf}kf:{lf:{f=N[o+20>>2];mf:{if(f){if((Qa[f|0](o,h,s+14|0,2)|0)!=2){break jf}h=N[j>>2];f=s+14|0;break mf}f=N[o>>2];if(!f){break lf}f=f+h|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break kf}f=0}N[o+8>>2]=h+2;M[U+4>>1]=f;h=N[i+20>>2];g=N[o+20>>2];nf:{of:{if(g){if(Qa[g|0](o,h,0,0)|0){break ef}N[o+8>>2]=h;n=h+50|0;g=N[o+20>>2];if(!g){break of}if(!(Qa[g|0](o,n,0,0)|0)){break nf}break ef}if(h>>>0>Q[o+4>>2]){break ef}N[j>>2]=h;n=h+50|0}if(n>>>0>Q[o+4>>2]){break ef}}N[o+8>>2]=n;N[s+8>>2]=0;g=xb(o,s+8|0);e=N[s+8>>2];if(e){break ef}m=f&65535;ta=U,ua=lb(t,2,0,m,0,s+8|0),N[ta+8>>2]=ua;e=N[s+8>>2];if(e){break ef}if(!m){e=0;break ef}i=g?4:2;n=N[N[U+16>>2]+20>>2];h=0;if(!g){while(1){e=N[o+20>>2];pf:{if(e){if(!(Qa[e|0](o,n,0,0)|0)){break pf}break jf}if(Q[o+4>>2]>>0){break jf}}N[o+8>>2]=n;N[s+8>>2]=0;f=xb(o,s+8|0);e=N[s+8>>2];if(e){break ef}g=N[N[U+12>>2]+20>>2]+(f<<1)|0;f=N[o+20>>2];qf:{rf:{if(f){e=85;if(Qa[f|0](o,g,0,0)|0){break ef}N[o+8>>2]=g;g=g+2|0;f=N[o+20>>2];if(!f){break rf}if(Qa[f|0](o,g,0,0)|0){break ef}break qf}if(g>>>0>Q[o+4>>2]){break jf}N[j>>2]=g;g=g+2|0}if(g>>>0>Q[o+4>>2]){break jf}}N[o+8>>2]=g;N[s+8>>2]=0;e=xb(o,s+8|0);M[N[U+8>>2]+(h<<1)>>1]=e;e=N[s+8>>2];if(e){break ef}n=i+n|0;e=0;h=h+1|0;if((m|0)!=(h|0)){continue}break ef}}while(1){e=N[o+20>>2];sf:{if(e){if(!(Qa[e|0](o,n,0,0)|0)){break sf}break jf}if(Q[o+4>>2]>>0){break jf}}N[o+8>>2]=n;N[s+8>>2]=0;f=Nb(o,s+8|0);e=N[s+8>>2];if(e){break ef}g=f+N[N[U+12>>2]+20>>2]|0;f=N[o+20>>2];tf:{uf:{if(f){e=85;if(Qa[f|0](o,g,0,0)|0){break ef}N[o+8>>2]=g;g=g+2|0;f=N[o+20>>2];if(!f){break uf}if(Qa[f|0](o,g,0,0)|0){break ef}break tf}if(g>>>0>Q[o+4>>2]){break jf}N[j>>2]=g;g=g+2|0}if(g>>>0>Q[o+4>>2]){break jf}}N[o+8>>2]=g;N[s+8>>2]=0;e=xb(o,s+8|0);M[N[U+8>>2]+(h<<1)>>1]=e;e=N[s+8>>2];if(e){break ef}n=i+n|0;e=0;h=h+1|0;if((m|0)!=(h|0)){continue}break}break ef}e=85}La=s+16|0;if(e){break Ae}g=P[U+6>>1]}r=P[U+4>>1];e=g&65535;y=N[U+8>>2];x=La-16|0;La=x;N[x+4>>2]=N[p+16>>2];N[x>>2]=N[p+12>>2];N[x+8>>2]=0;L[x+14|0]=0;g=N[o+8>>2];vf:{wf:{xf:{yf:{zf:{Af:{Bf:{Cf:{Df:{Ef:{f=N[o+20>>2];Ff:{if(f){if((Qa[f|0](o,g,x+14|0,1)|0)!=1){break Ef}g=N[o+8>>2];f=x+14|0;break Ff}if(Q[o+4>>2]<=g>>>0){break Ef}f=N[o>>2]+g|0}i=O[f|0];N[o+8>>2]=g+1;if(!(i&3)|i>>>0>3|(!e|r>>>0<=(e-1&65535)>>>0)){break wf}f=e<<1;s=Qa[N[t+4>>2]](t,f)|0;if(!s){break Df}h=0;C(s,0,f);f=r<<1;H=Qa[N[t+4>>2]](t,f)|0;Gf:{if(H){C(H,0,f);N[x+8>>2]=0;break Gf}f=!H<<6;N[x+8>>2]=f;if(f){break yf}}n=i&2;i=i&1;g=N[o+8>>2];f=0;while(1){if(Q[o+4>>2]<=g+1>>>0){break Bf}Hf:{If:{h=N[o+20>>2];Jf:{if(h){if((Qa[h|0](o,g,x+14|0,2)|0)!=2){break Bf}g=N[o+8>>2];h=x+14|0;break Jf}h=N[o>>2];if(!h){break If}h=g+h|0}h=O[h|0]|O[h+1|0]<<8;h=h<<8|h>>>8;break Hf}h=0}g=g+2|0;N[o+8>>2]=g;M[s+(f<<1)>>1]=h;f=f+1|0;if((e|0)!=(f|0)){continue}break}break Cf}N[x+8>>2]=85;break wf}N[x+8>>2]=64;break wf}f=0;N[x+8>>2]=0;Kf:{Lf:{if(!i){while(1){if(Q[o+4>>2]<=g+1>>>0){break Kf}Mf:{Nf:{h=N[o+20>>2];Of:{if(h){if((Qa[h|0](o,g,x+14|0,2)|0)!=2){break Kf}g=N[o+8>>2];h=x+14|0;break Of}h=N[o>>2];if(!h){break Nf}h=g+h|0}h=O[h|0]|O[h+1|0]<<8;h=h<<8|h>>>8;break Mf}h=0}g=g+2|0;N[o+8>>2]=g;M[H+(f<<1)>>1]=h;f=f+1|0;if((e|0)!=(f|0)){continue}break}N[x+8>>2]=0;break Lf}h=0;g=0;if(e-1>>>0>=3){i=e&65532;while(1){m=g<<1;M[m+H>>1]=P[m+y>>1];f=m|2;M[f+H>>1]=P[f+y>>1];f=m|4;M[f+H>>1]=P[f+y>>1];f=m|6;M[f+H>>1]=P[f+y>>1];g=g+4|0;if((i|0)!=(g|0)){continue}break}}i=e&3;if(!i){break Lf}while(1){f=g<<1;M[f+H>>1]=P[f+y>>1];g=g+1|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}Pf:{if(e>>>0>=r>>>0){break Pf}if(!n){g=e;while(1){f=xb(o,x+8|0);if(N[x+8>>2]){break Af}M[H+(g<<1)>>1]=f;g=g+1|0;if((r|0)!=(g|0)){continue}break}break Pf}n=r+(e^-1)|0;i=r-e&3;Qf:{if(!i){f=e;break Qf}g=0;f=e;while(1){h=f<<1;M[h+H>>1]=P[h+y>>1];f=f+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(n>>>0<3){break Pf}while(1){h=f<<1;M[h+H>>1]=P[h+y>>1];g=h+2|0;M[g+H>>1]=P[g+y>>1];g=h+4|0;M[g+H>>1]=P[g+y>>1];g=h+6|0;M[g+H>>1]=P[g+y>>1];f=f+4|0;if((r|0)!=(f|0)){continue}break}}n=e+r<<1;h=Qa[N[t+4>>2]](t,n)|0;if(h){g=0;C(h,0,n);N[x+8>>2]=0;f=h;while(1){if(e>>>0>g>>>0){i=s+(g<<1)|0;L[f|0]=O[i+1|0];L[f+1|0]=O[i|0];f=f+2|0}i=H+(g<<1)|0;L[f|0]=O[i+1|0];L[f+1|0]=O[i|0];f=f+2|0;g=g+1|0;if((r|0)!=(g|0)){continue}break}ta=p,ua=wh(h,n),N[ta+8>>2]=ua;if(El(x+4|0,ea,x,h,n,t)){break zf}N[p+16>>2]=N[x+4>>2];N[p+12>>2]=N[x>>2];if(s){Qa[N[t+8>>2]](t,s)}Qa[N[t+8>>2]](t,H);if(h){Qa[N[t+8>>2]](t,h)}e=N[x+8>>2];break vf}N[x+8>>2]=64;break Af}N[x+8>>2]=85;break Af}N[x+8>>2]=85}h=0}if(!s){break xf}}Qa[N[t+8>>2]](t,s)}if(H){Qa[N[t+8>>2]](t,H)}if(!h){break wf}Qa[N[t+8>>2]](t,h)}e=N[x+8>>2];e=e?e:8}La=x+16|0;if(e){break Ae}f=N[p+16>>2];break Fe}N[p+16>>2]=f;break Ae}N[o+8>>2]=g;N[p+44>>2]=0;ba=xb(o,p+44|0);if(N[p+44>>2]){break _e}na=xb(o,p+44|0);if(N[p+44>>2]){break _e}M[U+4>>1]=ba;n=0;h=0;y=0;H=ba+1|0;if(N[N[U+16>>2]+8>>2]!=H<<(na?2:1)|Q[N[ka>>2]+12>>2]<36){break Ve}g=Nb(o,p+44|0);if(N[p+44>>2]){break _e}if(g>>>0>N[N[ka>>2]+12>>2]-36>>>0){break Ve}N[G+8>>2]=g;e=r+36|0;N[G+4>>2]=e;N[G>>2]=e;j=0;m=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+36|0;if(m>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+20>>2]=m;e=g+r|0;N[G+16>>2]=e;N[G+12>>2]=e;i=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+m|0;if(i>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+32>>2]=i;e=g+r|0;N[G+28>>2]=e;N[G+24>>2]=e;m=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+i|0;if(m>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+44>>2]=m;e=g+r|0;N[G+40>>2]=e;N[G+36>>2]=e;i=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}g=g+m|0;if(i>>>0>N[N[ka>>2]+12>>2]-g>>>0){break Ve}N[G+56>>2]=i;e=g+r|0;N[G+52>>2]=e;N[G+48>>2]=e;m=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}i=g+i|0;if(m>>>0>N[N[ka>>2]+12>>2]-i>>>0){break Ve}N[G+68>>2]=m;e=i+r|0;N[G- -64>>2]=e;N[G+60>>2]=e;g=Nb(o,p+44|0);if(N[p+44>>2]){break Xe}e=i+m|0;if(g>>>0>N[N[ka>>2]+12>>2]-e>>>0){break Ve}N[G+80>>2]=g;e=e+r|0;N[G+76>>2]=e;N[G+72>>2]=e;y=lb(t,4,0,H,0,p+44|0);if(N[p+44>>2]){break Xe}$=N[G+64>>2];N[G+64>>2]=$+(ba+31>>>3&16380);g=Qa[N[t+4>>2]](t,5120)|0;if(!g){break Ye}C(g,0,5120);N[p+44>>2]=0;ta=U,ua=lb(t,2,0,ba,0,p+44|0),N[ta+8>>2]=ua;if(!N[p+44>>2]){break Ze}h=g;break Xe}f=N[p+40>>2];N[p+16>>2]=f;n=0;h=0;j=0;y=0;break Se}Rf:{if(!ba){h=g;e=k;break Rf}e=5120;ca=0;h=g;while(1){N[p+32>>2]=0;M[p+30>>1]=0;g=(ca>>>3|0)+$|0;Sf:{f=N[o+20>>2];Tf:{if(f){if(Qa[f|0](o,g,0,0)|0){break Tf}break Sf}if(g>>>0<=Q[o+4>>2]){break Sf}}N[p+44>>2]=85;x=0;break Ue}N[o+8>>2]=g;x=0;N[p+44>>2]=0;g=Pd(o,p+44|0);if(N[p+44>>2]){break Ue}i=N[G+4>>2];f=N[o+20>>2];Uf:{if(f){if(Qa[f|0](o,i,0,0)|0){break We}break Uf}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;N[p+44>>2]=0;J=xb(o,p+44|0);if(N[p+44>>2]){break Ve}ia=g&128>>>(ca&7);N[G+4>>2]=N[G+4>>2]+2;Vf:{Wf:{Xf:{Yf:{if(J){if((J|0)==65535){L[p+22|0]=0;M[p+28>>1]=0;if(!ia){break Ve}m=N[G+52>>2];i=0;z=La-16|0;La=z;g=N[o+20>>2];Zf:{_f:{if(g){f=85;if(!(Qa[g|0](o,m,0,0)|0)){break _f}break Zf}f=85;if(m>>>0>Q[o+4>>2]){break Zf}}N[o+8>>2]=m;f=m;j=32;while(1){if(j&32){$f:{ag:{bg:{if(Q[o+4>>2]<=f+1>>>0){break bg}g=N[o+20>>2];cg:{if(g){if((Qa[g|0](o,f,z+14|0,2)|0)!=2){break bg}f=N[o+8>>2];g=z+14|0;break cg}g=N[o>>2];if(!g){break ag}g=f+g|0}g=O[g|0]|O[g+1|0]<<8;g=g<<8|g>>>8;break $f}f=85;break Zf}g=0}s=f+2|0;N[o+8>>2]=s;j=g;g=j&1?6:4;r=g+2|0;dg:{if(j&8){break dg}r=g+4|0;f=j&65535;if(f&64){break dg}r=g|f>>>4&8}f=r+s|0;eg:{g=N[o+20>>2];if(g){if(!(Qa[g|0](o,f,0,0)|0)){break eg}f=85;break Zf}if(Q[o+4>>2]>=f>>>0){break eg}f=85;break Zf}i=j>>>8&1|i;N[o+8>>2]=f;continue}break}N[p+24>>2]=f-m;L[p+22|0]=i;f=0}La=z+16|0;if(f){break Ve}f=0;if(!O[p+22|0]){break Wf}g=N[G+40>>2];f=N[o+20>>2];if(f){if(Qa[f|0](o,g,0,0)|0){break We}break Xf}if(g>>>0>Q[o+4>>2]){break We}break Xf}j=0;x=lb(t,2,0,J,0,p+44|0);if(N[p+44>>2]){break Te}g=N[G+16>>2];f=N[o+20>>2];fg:{if(f){if(Qa[f|0](o,g,0,0)|0){break fg}break Yf}if(g>>>0<=Q[o+4>>2]){break Yf}}N[p+44>>2]=85;break Te}i=0;if(ia){break Ve}break Vf}N[o+8>>2]=g;f=0;i=0;gg:{hg:{while(1){j=je(o,p+28|0);if(j){break hg}g=P[p+28>>1];M[(f<<1)+x>>1]=g;r=g+i|0;if(r>>>0>=i>>>0){i=r;f=f+1|0;if((J|0)==(f|0)){break gg}continue}break}j=0}N[p+44>>2]=j;break Ue}j=0;N[p+44>>2]=0;N[G+16>>2]=N[o+8>>2];if(Q[G+32>>2]>>0){break Te}s=N[G+44>>2];g=N[G+40>>2];m=g-N[G+36>>2]|0;if(s>>>0>>0){break Te}z=N[o>>2];f=N[G+28>>2];N[p+24>>2]=0;j=lb(t,12,0,i,0,p+44|0);if(N[p+44>>2]){break Te}Z=f+z|0;K=g+z|0;f=0;B=0;aa=0;X=0;g=0;da=8;W=s-m|0;ig:{if(W>>>0>>0){break ig}if(r){while(1){m=O[X+Z|0];fa=m&127;i=1;jg:{if(fa>>>0<84){break jg}i=2;if(fa>>>0<120){break jg}i=fa>>>0<124?3:4}g=i+f|0;if(W>>>0>>0|g>>>0>>0){break ig}ja=m<<24>>24;kg:{if(fa>>>0<=9){z=0;f=O[f+K|0]|fa<<7&1792;S=ja&1?f:0-f|0;break kg}if(fa>>>0<=19){S=0;f=O[f+K|0]|(fa<<7)+768&1792;z=ja&1?f:0-f|0;break kg}if(fa>>>0<=83){m=O[f+K|0];i=fa-20|0;f=m&15|i<<2&48;S=ja&2?f+1|0:f^-1;f=i&48|m>>>4;z=ja&1?f+1|0:f^-1;break kg}if(fa>>>0<=119){s=f+K|0;m=fa-84|0;i=((m&255)>>>0)/12|0;f=O[s|0]|i<<8;z=ja&1?f+1|0:f^-1;f=O[s+1|0]|m+(i<<2)<<6&768;S=ja&2?f+1|0:f^-1;break kg}if(fa>>>0<=123){m=f+K|0;i=O[m+1|0];f=O[m|0]<<4|i>>>4;z=ja&1?f:0-f|0;f=O[m+2|0]|i<<8&3840;S=ja&2?f:0-f|0;break kg}i=f+K|0;f=O[i|0]<<8|O[i+1|0];z=ja&1?f:0-f|0;f=O[i+3|0]|O[i+2|0]<<8;S=ja&2?f:0-f|0}if((aa^2147483647)<(z|0)&(aa|0)>0|(aa|0)<0&(-2147483648-aa|0)>(z|0)|((B^2147483647)<(S|0)&(B|0)>0|(B|0)<0&(-2147483648-B|0)>(S|0))){break ig}f=T(X,12)+j|0;L[f+8|0]=(ja|0)>=0;B=B+S|0;N[f+4>>2]=B;aa=z+aa|0;N[f>>2]=aa;f=g;X=X+1|0;if((r|0)!=(X|0)){continue}break}}N[p+24>>2]=g;da=0}if(da){break Te}N[G+28>>2]=r+N[G+28>>2];g=N[G+40>>2]+N[p+24>>2]|0;N[G+40>>2]=g;lg:{f=N[o+20>>2];mg:{if(f){if(Qa[f|0](o,g,0,0)|0){break mg}break lg}if(g>>>0<=Q[o+4>>2]){break lg}}N[p+44>>2]=85;break Te}N[o+8>>2]=g;f=je(o,p+22|0);N[p+44>>2]=f;if(f){break Te}N[G+40>>2]=N[o+8>>2];if(r>>>0>134217727){break Te}g=(P[p+22>>1]+(T(r,5)+(J<<1)|0)|0)+12|0;ng:{if(g>>>0<=e>>>0){g=e;break ng}h=lb(t,1,e,g,h,p+44|0);if(N[p+44>>2]){break Te}}e=J<<8|J>>>8;L[h|0]=e;L[h+1|0]=e>>>8;og:{pg:{if(ia){f=N[p+32>>2];i=N[G+64>>2];e=N[o+20>>2];qg:{if(e){if(Qa[e|0](o,i,0,0)|0){break qg}break pg}if(i>>>0<=Q[o+4>>2]){break pg}}N[p+44>>2]=85;break Te}i=0;e=0;f=0;m=0;X=0;rg:{if(!r){break rg}z=1;f=N[j+4>>2];e=N[j>>2];if((r|0)==1){m=f;i=e;break rg}sg:{if((r|0)==2){m=f;i=e;break sg}i=r-1|0;S=i&1;s=i&-2;i=e;m=f;while(1){B=T(z,12)+j|0;da=N[B+16>>2];Z=N[B+4>>2];m=(m|0)<(Z|0)?Z:m;m=(m|0)<(da|0)?da:m;W=N[B+12>>2];B=N[B>>2];i=(i|0)<(B|0)?B:i;i=(i|0)<(W|0)?W:i;f=(f|0)>(Z|0)?Z:f;f=(f|0)>(da|0)?da:f;e=(e|0)>(B|0)?B:e;e=(e|0)>(W|0)?W:e;z=z+2|0;X=X+2|0;if((s|0)!=(X|0)){continue}break}if(!S){break rg}z=(r-3&-2)+3|0}s=T(z,12)+j|0;z=N[s+4>>2];m=(m|0)<(z|0)?z:m;s=N[s>>2];i=(i|0)<(s|0)?s:i;f=(f|0)>(z|0)?z:f;e=(e|0)>(s|0)?s:e}L[h+9|0]=m;L[h+7|0]=i;L[h+5|0]=f;L[h+3|0]=e;L[h+8|0]=m>>>8;L[h+6|0]=i>>>8;L[h+4|0]=f>>>8;L[h+2|0]=e>>>8;M[p+30>>1]=e;break og}N[o+8>>2]=i;N[p+44>>2]=0;ta=p,ua=xb(o,p+44|0),M[ta+30>>1]=ua;if(N[p+44>>2]){break Te}i=N[G+64>>2];tg:{e=N[o+20>>2];ug:{if(e){if(Qa[e|0](o,i,0,0)|0){break ug}break tg}if(i>>>0<=Q[o+4>>2]){break tg}}N[p+44>>2]=85;break Te}N[o+8>>2]=i;e=Zb(o,(f+2|0)+h|0,8);N[p+44>>2]=e;if(e){break Te}N[G+64>>2]=N[G+64>>2]+8}N[p+32>>2]=10;e=h+10|0;i=-1;f=0;while(1){m=e;i=P[(f<<1)+x>>1]+i|0;if((i|0)>65535){break Te}e=i<<8|(i&65280)>>>8;L[m|0]=e;L[m+1|0]=e>>>8;N[p+32>>2]=N[p+32>>2]+2;e=m+2|0;f=f+1|0;if((J|0)!=(f|0)){continue}break}z=P[p+22>>1];e=z<<8|z>>>8;L[m+2|0]=e;L[m+3|0]=e>>>8;f=N[p+32>>2];i=N[G+76>>2];vg:{e=N[o+20>>2];wg:{if(e){if(Qa[e|0](o,i,0,0)|0){break wg}break vg}if(i>>>0<=Q[o+4>>2]){break vg}}N[p+44>>2]=85;break Te}N[o+8>>2]=i;f=f+2|0;e=Zb(o,f+h|0,z);N[p+44>>2]=e;if(e){break Te}N[G+76>>2]=z+N[G+76>>2];N[p+32>>2]=f+z;s=g;S=0;aa=0;X=0;e=(z+(J<<1)|0)+12|0;xg:{yg:{zg:{if(r){z=e;B=255;g=0;e=0;Ag:{Bg:while(1){W=r-S|0;da=h+z|0;Z=da-1|0;ia=0;while(1){i=T(S,12)+j|0;m=N[i+4>>2];f=O[i+8|0]!=0;i=N[i>>2];Cg:{if((i|0)==(g|0)){f=f|16;break Cg}g=i-g|0;if(g+255>>>0<=510){aa=aa+1|0;f=((g|0)>0?18:2)|f;break Cg}aa=aa+2|0}Dg:{if((e|0)==(m|0)){f=f|32;break Dg}e=m-e|0;if(e+255>>>0<=510){X=X+1|0;f=((e|0)>0?36:4)|f;break Dg}X=X+2|0}if(!((B&255)==(f|0)&(ia&255)!=255)){if(ia&255){e=8;if(s>>>0<=z>>>0){break xg}L[da|0]=ia;z=z+1|0}e=8;if(s>>>0<=z>>>0){break xg}L[h+z|0]=f;z=z+1|0;B=f;g=i;e=m;S=S+1|0;if((r|0)!=(S|0)){continue Bg}break Ag}L[Z|0]=O[Z|0]|8;ia=ia+1|0;g=i;e=m;S=S+1|0;if((r|0)!=(S|0)){continue}break}break}f=8;if(s>>>0<=z>>>0){break yg}L[da|0]=W;z=z+1|0}f=8;e=X+aa|0;if(e>>>0>>0){break yg}e=e+z|0;if(e>>>0>>0|e>>>0>s>>>0){break yg}e=z+aa|0;S=0;f=0;g=0;while(1){m=f;B=T(g,12)+j|0;f=N[B+4>>2];i=S;S=N[B>>2];Eg:{if((i|0)==(S|0)){break Eg}i=S-i|0;if(i+255>>>0<=510){B=i;i=i>>31;L[h+z|0]=(B^i)-i;z=z+1|0;break Eg}B=h+z|0;i=i<<8|(i&65280)>>>8;L[B|0]=i;L[B+1|0]=i>>>8;z=z+2|0}Fg:{if((f|0)==(m|0)){break Fg}i=f-m|0;if(i+255>>>0<=510){m=i;i=i>>31;L[e+h|0]=(m^i)-i;e=e+1|0;break Fg}m=e+h|0;i=i<<8|(i&65280)>>>8;L[m|0]=i;L[m+1|0]=i>>>8;e=e+2|0}g=g+1|0;if((r|0)!=(g|0)){continue}break}break zg}f=8;if(e>>>0>s>>>0){break yg}}N[p+32>>2]=e;f=0}e=f}if(e){break Te}if(j){Qa[N[t+8>>2]](t,j)}Qa[N[t+8>>2]](t,x);i=N[p+32>>2];e=s;break Vf}N[o+8>>2]=g;f=je(o,p+28|0);N[p+44>>2]=f;if(f){break Ve}N[G+40>>2]=N[o+8>>2];f=P[p+28>>1]}f=(N[p+24>>2]+(f&65535)|0)+12|0;Gg:{if(f>>>0<=e>>>0){f=e;break Gg}h=lb(t,1,e,f,h,p+44|0);if(N[p+44>>2]){break Ve}}L[h|0]=255;L[h+1|0]=255;g=N[p+32>>2];i=N[G+64>>2];e=N[o+20>>2];Hg:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Hg}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;N[p+44>>2]=0;ta=p,ua=xb(o,p+44|0),M[ta+30>>1]=ua;if(N[p+44>>2]){break Ve}i=N[G+64>>2];e=N[o+20>>2];Ig:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Ig}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;e=Zb(o,(g+2|0)+h|0,8);N[p+44>>2]=e;if(e){break Ve}N[G+64>>2]=N[G+64>>2]+8;i=N[G+52>>2];e=N[o+20>>2];Jg:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Jg}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;g=g+10|0;i=N[p+24>>2];e=Zb(o,g+h|0,i);N[p+44>>2]=e;if(e){break Ve}N[G+52>>2]=i+N[G+52>>2];i=g+i|0;N[p+32>>2]=i;if(O[p+22|0]){e=h+i|0;L[e|0]=O[p+29|0];L[e+1|0]=O[p+28|0];g=N[p+32>>2];i=N[G+76>>2];e=N[o+20>>2];Kg:{if(e){if(Qa[e|0](o,i,0,0)|0){break We}break Kg}if(i>>>0>Q[o+4>>2]){break We}}N[o+8>>2]=i;g=g+2|0;i=P[p+28>>1];e=Zb(o,g+h|0,i);N[p+44>>2]=e;if(e){break Ve}N[G+76>>2]=i+N[G+76>>2];i=g+i|0;N[p+32>>2]=i}e=f}N[(ca<<2)+y>>2]=N[p+36>>2]-k;if(El(p+40|0,ea,p+36|0,h,i,t)){break Ve}s=La-16|0;La=s;j=N[p+40>>2];m=N[p+36>>2];L[s+14|0]=0;M[s+12>>1]=0;z=8;Lg:{if(m>>>0>4294967292){break Lg}g=m+3|0;f=g&-4;Mg:{if((m|0)==(f|0)){f=m;break Mg}if(f>>>0>31457280){break Lg}r=N[ea>>2];if(r>>>0>>0){if((g|r)<0){break Lg}Ng:{if(!r){j=Qa[N[t+4>>2]](t,f)|0;g=!j<<6;break Ng}g=Qa[N[t+12>>2]](t,r,f,j)|0;j=g?g:j;g=!g<<6}Og:{if(!(g|(f|0)<=(r|0)|!j)){C(j+r|0,0,f-r|0);break Og}if(g){break Lg}}N[ea>>2]=f}F(j+m|0,s+12|0,f-m|0)}N[p+40>>2]=j;N[p+36>>2]=f;z=0}La=s+16|0;if(z){break Ve}ta=p,ua=N[p+8>>2]+wh(h,i)|0,N[ta+8>>2]=ua;if(J){M[N[U+8>>2]+(ca<<1)>>1]=P[p+30>>1]}ca=ca+1|0;if((ba|0)!=(ca|0)){continue}break}e=N[p+36>>2]}f=N[ka>>2];g=e-N[f+28>>2]|0;N[f+8>>2]=g;N[N[v>>2]+28>>2]=e;N[(ba<<2)+y>>2]=g;f=0;j=0;z=0;r=N[p+36>>2];i=N[p+40>>2];x=H<<(na?2:1);Pg:{if(x){g=64;f=Qa[N[t+4>>2]](t,x)|0;if(!f){break Pg}C(f,0,x)}Qg:{if(na){e=f;if((H|0)!=1){s=H&1;m=H&-2;while(1){g=z<<2;H=N[g+y>>2];H=H<<24|(H&65280)<<8|(H>>>8&65280|H>>>24);L[e|0]=H;L[e+1|0]=H>>>8;L[e+2|0]=H>>>16;L[e+3|0]=H>>>24;g=N[(g|4)+y>>2];g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);L[e+4|0]=g;L[e+5|0]=g>>>8;L[e+6|0]=g>>>16;L[e+7|0]=g>>>24;e=e+8|0;z=z+2|0;if((m|0)!=(z|0)){continue}break}if(!s){break Qg}}g=N[(z<<2)+y>>2];g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);L[e|0]=g;L[e+1|0]=g>>>8;L[e+2|0]=g>>>16;L[e+3|0]=g>>>24;break Qg}e=f;if(H>>>0>=4){m=H&-4;while(1){s=j<<2;g=N[s+y>>2];L[e+1|0]=g>>>1;L[e|0]=g>>>9;g=N[(s|4)+y>>2];L[e+3|0]=g>>>1;L[e+2|0]=g>>>9;g=N[(s|8)+y>>2];L[e+5|0]=g>>>1;L[e+4|0]=g>>>9;g=N[(s|12)+y>>2];L[e+7|0]=g>>>1;L[e+6|0]=g>>>9;e=e+8|0;j=j+4|0;if((m|0)!=(j|0)){continue}break}}m=H&3;if(!m){break Qg}while(1){g=N[(j<<2)+y>>2];L[e+1|0]=g>>>1;L[e|0]=g>>>9;j=j+1|0;e=e+2|0;z=z+1|0;if((m|0)!=(z|0)){continue}break}}e=0;m=x&2147483644;Rg:{if(!m){g=0;break Rg}g=0;while(1){g=(O[(e|3)+f|0]|(O[(e|1)+f|0]<<16|O[e+f|0]<<24|O[(e|2)+f|0]<<8))+g|0;e=e+4|0;if(m>>>0>e>>>0){continue}break}e=m}if((e|0)!=(x|0)){j=0;if(e>>>0>>0){s=x-e|0;z=0;while(1){m=e<<3&16;j=O[(e|1)+f|0]<<(m^16)|(O[e+f|0]<<(m^24)|j);e=e+2|0;z=z+2|0;if((s|0)!=(z|0)){continue}break}}g=g+j|0}N[p+4>>2]=g;g=8;s=r+x|0;Sg:{if(s>>>0>31457280){break Sg}m=N[ea>>2];if(m>>>0>>0){if((m|s)<0){break Sg}Tg:{if(!m){i=Qa[N[t+4>>2]](t,s)|0;e=!i<<6;break Tg}e=Qa[N[t+12>>2]](t,m,s,i)|0;i=e?e:i;e=!e<<6}Ug:{if(!(e|(m|0)>=(s|0)|!i)){C(i+m|0,0,s-m|0);break Ug}if(e){break Sg}}N[ea>>2]=s}F(i+r|0,f,x);N[p+40>>2]=i;N[p+36>>2]=s;g=0}if(f){Qa[N[t+8>>2]](t,f)}}if(g){break Ve}f=N[v>>2];e=N[p+36>>2];N[f+8>>2]=e-N[f+28>>2];N[p+12>>2]=e;f=N[p+40>>2];N[p+16>>2]=f;Qa[N[t+8>>2]](t,G);j=0;n=y;break Qe}N[p+44>>2]=64}N[p+16>>2]=f;break Se}N[p+44>>2]=85}f=N[p+40>>2];N[p+16>>2]=f;e=N[p+44>>2];N[p+44>>2]=e?e:8;j=0;break Se}j=0}f=N[p+40>>2];N[p+16>>2]=f;e=N[p+44>>2];N[p+44>>2]=e?e:8;n=x;if(!G){break Re}}Qa[N[t+8>>2]](t,G)}if(y){Qa[N[t+8>>2]](t,y)}if(!n){break Pe}}Qa[N[t+8>>2]](t,n)}if(h){Qa[N[t+8>>2]](t,h)}if(j){Qa[N[t+8>>2]](t,j)}z=1;if(N[p+44>>2]){break Ce}}y=N[p+8>>2];L[D+15|0]=ha;L[D+11|0]=k;L[D+7|0]=y;L[D+3|0]=Y;L[D+14|0]=ha>>>8;L[D+13|0]=ha>>>16;L[D+12|0]=ha>>>24;L[D+10|0]=k>>>8;L[D+9|0]=k>>>16;L[D+8|0]=k>>>24;L[D+6|0]=y>>>8;L[D+5|0]=y>>>16;L[D+4|0]=y>>>24;L[D+2|0]=Y>>>8;L[D+1|0]=Y>>>16;L[D|0]=Y>>>24;Vg:{Wg:{Xg:{h=R+16|0;Yg:{if(h>>>0>31457280){break Yg}i=N[ea>>2];if(i>>>0>=h>>>0){e=f;break Wg}if((h|i)<0){break Yg}Zg:{if(!i){e=Qa[N[t+4>>2]](t,h)|0;g=!e<<6;break Zg}g=Qa[N[t+12>>2]](t,i,h,f)|0;e=g?g:f;g=!g<<6}if(!(g|(h|0)<=(i|0)|!e)){C(e+i|0,0,h-i|0);break Xg}if(!g){break Xg}}e=f;break Vg}N[ea>>2]=h}g=O[D+4|0]|O[D+5|0]<<8|(O[D+6|0]<<16|O[D+7|0]<<24);i=e+R|0;f=O[D|0]|O[D+1|0]<<8|(O[D+2|0]<<16|O[D+3|0]<<24);L[i|0]=f;L[i+1|0]=f>>>8;L[i+2|0]=f>>>16;L[i+3|0]=f>>>24;L[i+4|0]=g;L[i+5|0]=g>>>8;L[i+6|0]=g>>>16;L[i+7|0]=g>>>24;g=O[D+12|0]|O[D+13|0]<<8|(O[D+14|0]<<16|O[D+15|0]<<24);f=O[D+8|0]|O[D+9|0]<<8|(O[D+10|0]<<16|O[D+11|0]<<24);L[i+8|0]=f;L[i+9|0]=f>>>8;L[i+10|0]=f>>>16;L[i+11|0]=f>>>24;L[i+12|0]=g;L[i+13|0]=g>>>8;L[i+14|0]=g>>>16;L[i+15|0]=g>>>24;N[p+16>>2]=e;R=h}r=O[D+12|0]|O[D+13|0]<<8|(O[D+14|0]<<16|O[D+15|0]<<24);s=O[D+8|0]|O[D+9|0]<<8|(O[D+10|0]<<16|O[D+11|0]<<24);m=O[D+4|0]|O[D+5|0]<<8|(O[D+6|0]<<16|O[D+7|0]<<24);n=O[D|0]|O[D+1|0]<<8|(O[D+2|0]<<16|O[D+3|0]<<24);h=N[p+12>>2];L[p+46|0]=0;M[p+44>>1]=0;if(h>>>0>4294967292){break Ae}f=h+3|0;g=f&-4;_g:{if((h|0)==(g|0)){f=e;g=h;break _g}if(g>>>0>31457280){break Ae}H=N[ea>>2];$g:{if(H>>>0>=g>>>0){f=e;break $g}if((f|H)<0){break Ae}ah:{if(!H){f=Qa[N[t+4>>2]](t,g)|0;e=!f<<6;break ah}i=Qa[N[t+12>>2]](t,H,g,e)|0;f=i?i:e;e=!i<<6}bh:{if(!(e|(g|0)<=(H|0)|!f)){C(f+H|0,0,g-H|0);break bh}if(e){break Ae}}N[ea>>2]=g}F(f+h|0,p+44|0,g-h|0)}N[p+16>>2]=f;N[p+12>>2]=g;if(k+ha>>>0>g>>>0){break Ae}V=y+V+((((m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))+(n<<24|(n&65280)<<8|(n>>>8&65280|n>>>24))|0)+(s<<24|(s&65280)<<8|(s>>>8&65280|s>>>24))|0)+(r<<24|(r&65280)<<8|(r>>>8&65280|r>>>24)))|0;k=g;la=la+1|0;if((_|0)!=(la|0)){continue}break}g=0;while(1){e=N[(g<<2)+I>>2];if(N[e+4>>2]!=1751474532){g=g+1|0;if((_|0)!=(g|0)){continue}break De}break}N[U+20>>2]=e;if(Q[e+8>>2]<12){break Ce}g=N[e+28>>2]+f|0;e=-1313820742-V|0;e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);L[g+8|0]=e;L[g+9|0]=e>>>8;L[g+10|0]=e>>>16;L[g+11|0]=e>>>24;N[q+112>>2]=N[p+12>>2];N[q+20>>2]=f;Qa[N[t+8>>2]](t,D);E=0;if(!o){break ue}e=N[o+24>>2];if(e){Qa[e|0](o)}Qa[N[t+8>>2]](t,o);break ue}N[U+20>>2]=0}N[q+20>>2]=N[p+16>>2];E=8;if(!D){break ye}break ze}N[q+20>>2]=N[p+16>>2]}Qa[N[t+8>>2]](t,D)}if(!o){break ue}e=N[o+24>>2];if(e){Qa[e|0](o)}Qa[N[t+8>>2]](t,o)}La=p+48|0;f=E;N[q+120>>2]=f;if(f){d=c;break ia}e=N[q+20>>2];ch:{g=N[q+112>>2];f=N[q+16>>2];if(g>>>0>=f>>>0){break ch}e=lb(t,1,f,g,e,q+120|0);N[q+20>>2]=e;f=N[q+120>>2];if(!f){break ch}d=c;break ia}N[w+32>>2]=0;N[w+8>>2]=0;N[w+4>>2]=g;N[w>>2]=e;N[w+20>>2]=0;a=N[a+28>>2];N[w+24>>2]=183;N[w+28>>2]=a;f=N[b+104>>2];dh:{if(!f){break dh}c=N[b+8>>2];e=N[f+28>>2];a=N[f+24>>2];if(a){Qa[a|0](f)}if(c&1024){break dh}Qa[N[e+8>>2]](e,f)}N[b+104>>2]=w;N[b+8>>2]=N[b+8>>2]&-1025;f=0;break ia}f=8}N[q+120>>2]=f;u=0;d=c;break ia}f=8}N[q+120>>2]=f;w=0}d=c;u=0}if(!ma){break da}break ea}u=0;break fa}f=8;N[q+120>>2]=8}w=0;d=c}Qa[N[t+8>>2]](t,ma)}if(I){Qa[N[t+8>>2]](t,I)}if(u){Qa[N[t+8>>2]](t,u)}c=d}a=N[q+32>>2];if(a){Qa[N[t+8>>2]](t,a)}g=N[q+116>>2];if(g){d=P[q+108>>1];eh:{if(!d){break eh}e=g;a=d;if((a|0)!=1){i=a&65534;a=0;while(1){h=N[e+8>>2];if(h){Qa[N[t+8>>2]](t,h)}N[e+8>>2]=0;h=N[e+20>>2];if(h){Qa[N[t+8>>2]](t,h)}N[e+20>>2]=0;e=e+24|0;a=a+2|0;if((i|0)!=(a|0)){continue}break}}if(!(d&1)){break eh}a=N[e+8>>2];if(a){Qa[N[t+8>>2]](t,a)}N[e+8>>2]=0}Qa[N[t+8>>2]](t,g)}if(!f){break g}a=N[q+20>>2];if(a){Qa[N[t+8>>2]](t,a)}if(w){a=N[w+24>>2];if(a){Qa[a|0](w)}Qa[N[t+8>>2]](t,w)}N[q+12>>2]=f;break a}f=8;N[q+24>>2]=8}Qa[N[A+8>>2]](A,v);if(!H){break j}break k}f=8;N[q+24>>2]=8}Qa[N[A+8>>2]](A,v)}Qa[N[A+8>>2]](A,H)}if(!f){break g}if(!w){break h}}Qa[N[A+8>>2]](A,w)}if(n){a=N[n+24>>2];if(a){Qa[a|0](n)}Qa[N[A+8>>2]](A,n)}N[q+12>>2]=f;break a}N[q+12>>2]=0;a=N[b+104>>2];continue}}La=q+128|0;return f|0}function No(a,b,c,d,e){var 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,t=0,u=0,w=0,y=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,U=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,Ma=0,Na=0,Oa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,ab=0,cb=0,eb=0,fb=0,hb=0,ib=0,jb=0,lb=0,nb=0,ob=0,pb=0;oa=La+-64|0;La=oa;a:{b:{c:{if(!(N[a+16>>2]|N[a+20>>2])|!N[a+8>>2]){break c}h=N[a>>2];if(!N[b+8>>2]|(h|0)!=N[b+84>>2]){break c}N[a+176>>2]=c;N[a+180>>2]=d;N[a+168>>2]=b;f=N[b+40>>2];d:{e:{f:{g=N[b+36>>2];if((g|0)>0){if((f|0)>0){break d}if((g|0)!=1280){break f}N[b+40>>2]=1024;N[oa+32>>2]=1024;mb(h,2,17469,oa+32|0);break d}if((f|0)>0){break e}mb(h,2,21386,0);N[b+36>>2]=384;N[b+40>>2]=288;break d}f=UE(g,0,3,0);f=g>>>0<=1?1:(Pa&3)<<30|f>>>2;N[b+40>>2]=f;N[oa+48>>2]=f;mb(h,2,17469,oa+48|0);break d}if((f|0)==1024){N[b+36>>2]=1280;N[oa>>2]=1280;mb(h,2,17503,oa);break d}f=WE(f<<2,f>>>30|0,3,0);N[b+36>>2]=f;N[oa+16>>2]=f;mb(h,2,17503,oa+16|0)}g:{U=N[a+12>>2];f=N[N[a>>2]+16>>2];if((U|0)!=(f|0)){if(f>>>0<=U>>>0){break g}g=N[a+8>>2];if(N[g+40>>2]){f=N[N[g>>2]+16>>2];if(f>>>0>U>>>0){while(1){Ao(N[g+40>>2],U);U=U+1|0;if((f|0)!=(U|0)){continue}break}}U=f}N[a+12>>2]=U}f=N[a+200>>2];g=N[a+168>>2];N[N[f+40>>2]+36>>2]=N[g+64>>2]!=0;h=N[g+68>>2];h:{if(!h|!O[h|0]){break h}h=ie(h);if(!h){break h}_=N[h+4>>2]}N[f+44>>2]=_;N[f>>2]=N[a+92>>2];g=N[N[g+88>>2]+36>>2];L[f+56|0]=g>>>1&1;L[f+57|0]=g&4?2:N[f+32>>2]==64;f=N[b+96>>2]>0&N[b+92>>2]>0;s=S[a+80>>3];i:{if(!(f|s==0)){r=s;break i}r=1;g=N[a+144>>2];if(!g){break i}i=N[a+140>>2];if(!i|!f&(!N[a+24>>2]|!N[a+28>>2])){break i}r=+(g|0)/+(i|0);f=N[a+168>>2];U=N[f+92>>2];j:{if((U|0)>0){h=N[f+96>>2];if((h|0)>0){break j}}U=N[a+24>>2];if((U|0)>0){h=N[a+28>>2];if((h|0)>0){break j}}if(!(!(s<=0)&s!=1)){h=N[f+40>>2];U=N[f+36>>2];break j}if(s>1){h=N[f+40>>2];f=qc(+((T(g,h)|0)/(i|0)|0)/s);U=(f|0)<=1?1:f;break j}U=N[f+36>>2];f=qc(s*+((T(i,U)|0)/(g|0)|0));h=(f|0)<=1?1:f}r=r/(+(U|0)/+(h|0))}S[a+184>>3]=r;ya=a+116|0;f=N[ya>>2];U=0;N[ya>>2]=0;N[a+120>>2]=f;ui(N[a+852>>2],N[a+868>>2]);ui(N[a+848>>2],N[a+864>>2]);ui(N[a+844>>2],N[a+860>>2]);h=N[b+8>>2];k:{if((h|0)<=0){break k}n=a+192|0;_=0;while(1){fa=N[b+20>>2]+T(U,56)|0;g=fa;f=N[g>>2];g=N[g+4>>2];l:{if(c>>>0>>0&(d|0)<=(g|0)|(d|0)<(g|0)){break l}k=g+N[fa+12>>2]|0;g=f;f=f+N[fa+8>>2]|0;k=g>>>0>f>>>0?k+1|0:k;if((d|0)>=(k|0)&c>>>0>=f>>>0|(d|0)>(k|0)){break l}f=N[a+128>>2];m:{if((f|0)>(_|0)){h=N[a+124>>2];break m}f=f+100|0;N[a+128>>2]=f;h=$a(N[a+124>>2],f<<5);N[a+124>>2]=h}ea=(_<<5)+h|0;g=0;r=0;p=0;q=0;u=0;ta=0;t=La-272|0;La=t;W=N[n>>2];n:{if(N[fa+24>>2]>=N[N[W+168>>2]>>2]){mb(N[W>>2],2,16547,0);break n}if(!N[fa+48>>2]){mb(N[W>>2],2,9216,0);break n}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(f){N[f+12>>2]=0}N[n+216>>2]=0;N[n+88>>2]=0;N[n+64>>2]=fa;f=N[n>>2];g=N[f+168>>2];h=N[g+56>>2];L[n+256|0]=0;N[n+240>>2]=0;N[n+244>>2]=0;N[n+144>>2]=0;N[n+148>>2]=0;N[n+152>>2]=0;N[n+156>>2]=0;N[n+160>>2]=0;N[n+164>>2]=0;N[n+168>>2]=0;N[n+172>>2]=0;N[n+516>>2]=h;N[n+248>>2]=N[g+36>>2];N[n+252>>2]=N[g+40>>2];L[n+465|0]=0;L[n+466|0]=0;L[n+467|0]=0;L[n+468|0]=0;L[n+469|0]=0;L[n+470|0]=0;L[n+471|0]=0;L[n+472|0]=0;N[n+460>>2]=0;N[n+464>>2]=0;N[n+288>>2]=0;N[n+292>>2]=0;N[n+260>>2]=0;N[n+448>>2]=0;L[n+257|0]=0;L[n+258|0]=1;o:{g=N[fa+44>>2];if(!(!g|!O[g|0])){j=lc(g,59);p:{if(!j){i=1;break p}i=1;h=j+1|0;q=si(h);h=lc(h,59);if(!h){p=1;break p}h=h+1|0;u=si(h);h=lc(h,59);if(!h){break p}r=+(si(h+1|0)|0);i=0}h=N[f+168>>2];k=N[h+92>>2];q:{if((k|0)>0){m=N[h+96>>2];if((m|0)>0){break q}}k=N[f+24>>2];if((k|0)>0){m=N[f+28>>2];if((m|0)>0){break q}}r:{s=S[f+80>>3];s:{if(s<=0|s==1){break s}o=N[f+144>>2];if(!o){break s}l=N[f+140>>2];if(l){break r}}m=N[h+40>>2];k=N[h+36>>2];break q}if(s>1){m=N[h+40>>2];k=qc(+((T(o,m)|0)/(l|0)|0)/s);k=(k|0)<=1?1:k;break q}k=N[h+36>>2];m=qc(s*+((T(l,k)|0)/(o|0)|0));m=(m|0)<=1?1:m}t:{if(!bb(g,21166,7)){if(!j){f=N[f>>2];N[t+32>>2]=g;mb(f,6,24620,t+32|0);break t}N[n+476>>2]=!u|p;g=N[fa>>2];i=N[fa+4>>2];h=N[f+176>>2];j=N[f+180>>2];f=N[N[f+168>>2]+36>>2];N[n+516>>2]=2;L[n+258|0]=0;N[n+216>>2]=2;s=+(k|0)/+(f|0);r=+(q|0)/s;k=r>1;w=+(h-g>>>0)+ +(j-((h>>>0>>0)+i|0)|0)*4294967296;if(V(r)<2147483648){f=~~r}else{f=-2147483648}S[n+480>>3]=w/(s*(k?+(f|0):1));h=1;break o}u:{if(bb(g,21174,10)){if(bb(g,21185,12)){break u}j=2}else{j=3}N[n+476>>2]=j;if(i){f=N[f>>2];N[t+48>>2]=g;mb(f,6,24620,t+48|0);break t}g=N[fa>>2];j=N[fa+4>>2];i=N[f+176>>2];f=N[f+180>>2];h=N[h+40>>2];L[n+258|0]=0;N[n+216>>2]=4;N[n+492>>2]=(q|0)>(u|0)?q:u;N[n+488>>2]=(q|0)<(u|0)?q:u;s=+(m|0)/+(h|0);r=r/s;h=r>1;w=+(i-g>>>0)+ +(f-((g>>>0>i>>>0)+j|0)|0)*4294967296;if(V(r)<2147483648){f=~~r}else{f=-2147483648}S[n+480>>3]=w/(s*(h?+(f|0):1));h=1;break o}f=N[f>>2];N[t+64>>2]=g;mb(f,7,24588,t- -64|0)}h=1;if(N[n+216>>2]){break o}}g=N[fa+48>>2];v:while(1){h=O[g|0];w:while(1){x:{h=h&255;if((h|0)!=123){if(!h){break o}if(!O[g+1|0]|(h|0)!=92){break x}g=g+2|0;continue v}while(1){f=g;g=f+1|0;h=O[f+1|0];if((h|0)!=92){if(!h|(h|0)==125){continue w}continue}h=1;y:{switch(O[f+2|0]-99|0){case 10:if(O[f+3|0]!=111|O[f+4|0]!=118|O[f+5|0]!=101){continue}break o;case 0:if(O[f+3|0]!=108|O[f+4|0]!=105|O[f+5|0]!=112){continue}break o;case 6:if(O[f+3|0]!=99|O[f+4|0]!=108|(O[f+5|0]!=105|O[f+6|0]!=112)){continue}break o;case 13:break o;case 12:break y;default:continue}}if(O[f+3|0]!=114|O[f+4|0]!=103){continue}break}break o}break}g=g+1|0;continue}}N[n+532>>2]=h;ti(n,0);f=N[n+68>>2];N[n+96>>2]=N[f+104>>2];N[n+100>>2]=N[f+136>>2];m=N[n+4>>2];g=N[fa+48>>2];p=N[n>>2];z:{while(1){A:{B:{C:{D:{E:{F:{f=O[g|0];if((f|0)!=123){if(!f){break E}break F}h=lc(g,125);if(!h){break F}f=qo(n,g,h,1,0);if(O[f|0]==125){g=f+1|0;continue}ba(24336,18170,2097,10067);B()}h=f<<24>>24;if(N[n+448>>2]){h=((h|0)==123)+g|0;while(1){f=O[h|0];if(!(!f|(f|0)==123)){h=h+1|0;continue}break}o=65532;f=h-g|0;break B}if((f|0)==9){o=32;h=1;break C}G:{H:{if((f|0)==92){o=10;h=2;I:{switch(O[g+1|0]-78|0){case 26:o=160;break C;case 45:o=123;break C;case 0:break C;case 32:break D;case 47:break I;default:break H}}o=125;break C}i=-1;if((h|0)>=0){break H}h=128;while(1){j=i;i=i+1|0;h=h>>>1|0;if(f&h){continue}break}if(j>>>0>3){break H}q=O[g+1|0];if((q&192)!=128){break H}u=g+1|0;o=f&h-1;while(1){if((i|0)<=0){break H}o=q&63|o<<6;i=i-1|0;q=O[u+1|0];h=u+1|0;u=h;if((q&192)==128){continue}break}if(!i){break G}}h=g+1|0;o=f}g=0;f=0;if(o){break B}}$=N[n+4>>2];k=N[$+12>>2];if(k){break A}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;g=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0;break n}o=N[n+516>>2]==2?10:32}h=h+g|0;g=0;f=0}if(!N[n+72>>2]){break z}i=f;f=N[m+12>>2];j=N[m+52>>2];if((f|0)>=(j|0)){k=f;f=((f|0)/2|0)+1|0;f=(f|0)<(j|0)?j:f;j=(f|0)>=1073741823?1073741823:f;f=j<<1;if((k|0)>=(f|0)){break z}N[147316]=0;k=N[m>>2];J:{if(f>>>0<=11930464){q=T(j,720);q=$a(k,q>>>0<=1?1:q);if(q){break J}}N[147316]=48;N[m>>2]=k;break z}N[147316]=0;N[m>>2]=q;N[147316]=0;k=N[m+4>>2];j=j<<3;j=$a(k,j>>>0<=1?1:j);if(!j){N[147316]=48;N[m+4>>2]=k;break z}N[147316]=0;N[m+4>>2]=j;N[147316]=0;k=N[m+8>>2];j=$a(k,f>>>0<=1?1:f);N[147316]=j?0:48;N[m+8>>2]=j?j:k;if(!j){break z}N[m+52>>2]=f;f=N[m+12>>2]}f=N[m>>2]+T(f,360)|0;C(f,0,360);K:{if(g){N[f+32>>2]=g;N[f+36>>2]=i;N[f+40>>2]=N[n+448>>2];s=S[n+288>>3];L:{if(V(s)<2147483648){i=~~s;break L}i=-2147483648}N[f+44>>2]=i;N[f>>2]=o;N[f+8>>2]=N[n+72>>2];u=f+8|0;break K}N[f>>2]=o;i=N[n+72>>2];N[f+8>>2]=i;u=f+8|0;if(!i){break K}if(!N[i-8>>2]){break a}i=i-4|0;j=N[i>>2];if(!j){break a}N[i>>2]=j+1}i=N[n+224>>2];L[f+140|0]=i;j=N[n+260>>2];if((j|0)>0){q=i&-256;i=i&255;l=i+j|0;i=UE(i,0,j,0);k=Pa;i=i+127|0;k=i>>>0<127?k+1|0:k;i=l-WE(i,k,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|q}N[f+124>>2]=i;i=N[n+228>>2];L[f+141|0]=i;j=N[n+260>>2];if((j|0)>0){k=i&-256;i=i&255;q=i+j|0;j=UE(i,0,j,0);i=Pa;j=j+127|0;i=j>>>0<127?i+1|0:i;i=q-WE(j,i,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|k}N[f+128>>2]=i;i=N[n+232>>2];L[f+142|0]=i;j=N[n+260>>2];if((j|0)>0){k=i&-256;i=i&255;q=i+j|0;j=UE(i,0,j,0);i=Pa;j=j+127|0;i=j>>>0<127?i+1|0:i;i=q-WE(j,i,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|k}N[f+132>>2]=i;i=N[n+236>>2];L[f+143|0]=i;j=N[n+260>>2];if((j|0)>0){q=i&-256;i=i&255;l=i+j|0;i=UE(i,0,j,0);k=Pa;i=i+127|0;k=i>>>0<127?k+1|0:k;i=l-WE(i,k,255,0)|0;A(+(i>>>0));j=v(1)|0;j=j&2147483647;i=(lb=!(v(0)|0)&(j|0)==2146435072|j>>>0<2146435072?i&255:0,nb=0,ob=(i|0)>=0,ob?lb:nb)|q}N[f+136>>2]=i;N[f+160>>2]=N[n+460>>2];N[f+164>>2]=N[n+464>>2];N[f+168>>2]=N[n+468>>2];L[f+172|0]=O[n+472|0];w=S[n+80>>3]*S[n+544>>3];s=V(w);S[f+24>>3]=s;N[f+184>>2]=L[n+259|0];S[f+192>>3]=S[n+264>>3];S[f+200>>3]=S[n+272>>3];S[f+208>>3]=S[n+280>>3];r=S[n+176>>3];S[f+256>>3]=r;J=S[n+184>>3];S[f+264>>3]=J;N[f+280>>2]=N[n+220>>2];S[f+288>>3]=S[n+200>>3];S[f+296>>3]=S[n+208>>3];E=S[n+192>>3];S[f+304>>3]=E;N[f+320>>2]=N[n+504>>2];N[f+316>>2]=N[n+508>>2];i=N[n+92>>2];N[f+324>>2]=i;if(!(!N[N[u>>2]+16>>2]|o>>>0<753)){N[f+324>>2]=i|4}S[f+216>>3]=S[n+104>>3];S[f+224>>3]=S[n+112>>3];S[f+232>>3]=S[n+120>>3];S[f+240>>3]=S[n+128>>3];S[f+248>>3]=S[n+136>>3];i=N[n+260>>2];N[f+312>>2]=0;N[f+328>>2]=i;N[f+272>>2]=0;N[f+276>>2]=1072693248;M:{if(g){break M}E=XE(r*(E*S[n+536>>3]/S[p+184>>3])*64);N:{if(V(E)<2147483648){g=~~E;break N}g=-2147483648}N[f+312>>2]=g;O:{if(!N[p+88>>2]){R=256;break O}R=s*J;if(R==0){break M}}if(w==0){break M}s=s/R;S[f+272>>3]=1/s;S[f+256>>3]=r*s;S[f+264>>3]=J*s;S[f+24>>3]=R}N[m+12>>2]=N[m+12>>2]+1;L[n+465|0]=0;L[n+466|0]=0;L[n+467|0]=0;L[n+468|0]=0;L[n+469|0]=0;L[n+470|0]=0;L[n+471|0]=0;L[n+472|0]=0;N[n+460>>2]=0;N[n+464>>2]=0;g=h;continue}break}i=1;j=N[$>>2];L[j+121|0]=1;if((k|0)>=2){q=N[j+160>>2];while(1){f=j+T(i,360)|0;m=N[f+160>>2];g=1;P:{if(N[f+164>>2]){break P}if(m){g=1;if((m|0)!=(q|0)){break P}}g=1;if(N[f+32>>2]){break P}h=j+T(i-1|0,360)|0;g=1;if(N[h+32>>2]){break P}p=N[h+8>>2];u=N[p+4>>2];o=N[f+8>>2];g=1;if((u|0)!=N[o+4>>2]){break P}g=1;if(Mb(N[p>>2],N[o>>2],u)){break P}g=1;if(N[p+16>>2]!=N[o+16>>2]){break P}g=1;if(S[h+24>>3]!=S[f+24>>3]){break P}g=1;if(N[h+124>>2]!=N[f+124>>2]){break P}g=1;if(N[h+128>>2]!=N[f+128>>2]){break P}g=1;if(N[h+132>>2]!=N[f+132>>2]){break P}g=1;if(N[h+136>>2]!=N[f+136>>2]){break P}g=1;if(N[h+184>>2]!=N[f+184>>2]){break P}g=1;if(S[h+192>>3]!=S[f+192>>3]){break P}g=1;if(S[h+200>>3]!=S[f+200>>3]){break P}g=1;if(S[h+208>>3]!=S[f+208>>3]){break P}g=1;if(S[h+216>>3]!=S[f+216>>3]){break P}g=1;if(S[h+224>>3]!=S[f+224>>3]){break P}g=1;if(S[h+232>>3]!=S[f+232>>3]){break P}g=1;if(S[h+240>>3]!=S[f+240>>3]){break P}g=1;if(S[h+248>>3]!=S[f+248>>3]){break P}g=1;if(S[h+256>>3]!=S[f+256>>3]){break P}g=1;if(S[h+264>>3]!=S[f+264>>3]){break P}g=1;if(N[h+280>>2]!=N[f+280>>2]){break P}g=1;if(S[h+288>>3]!=S[f+288>>3]){break P}g=1;if(S[h+296>>3]!=S[f+296>>3]){break P}g=1;if(S[h+304>>3]!=S[f+304>>3]){break P}g=1;if(N[h+316>>2]!=N[f+316>>2]){break P}g=1;if(N[h+320>>2]!=N[f+320>>2]){break P}g=((N[f+324>>2]^N[h+324>>2])&-5)!=0}L[f+121|0]=g;q=m?m:q;i=i+1|0;if((k|0)!=(i|0)){continue}break}}m=N[n+8>>2];f=N[n+520>>2]==-1;N[m+32>>2]=f?64:272;if(O[m+57|0]!=2){L[m+57|0]=f}f=1517976186;i=0;o=Ic();q=0;while(1){g=f;p=j+T(i,360)|0;f=Qa[N[o+32>>2]](o,N[p>>2],N[o+64>>2])|0;N[p+20>>2]=f;Q:{if(!((f|0)!=1517910393&(f|0)!=1516858984)){f=1517976186;h=1;if((g|0)==1517976186){break Q}N[p+20>>2]=g;f=g}h=q}q=h;i=i+1|0;if((k|0)!=(i|0)){continue}break}i=k-1|0;f=0;R:{if(!q|(i|0)<0){break R}S:{if(!i){g=1517976186;i=0;break S}o=k&1;p=k&-2;q=0;g=1517976186;while(1){h=j+T(i,360)|0;f=N[h+20>>2];T:{if((f|0)!=1517910393&(f|0)!=1516858984){break T}f=1517976186;if((g|0)==1517976186){break T}N[h+20>>2]=g;f=g}h=h-340|0;g=N[h>>2];U:{if((g|0)!=1517910393&(g|0)!=1516858984){break U}g=1517976186;if((f|0)==1517976186){break U}N[h>>2]=f;g=f}i=i-2|0;q=q+2|0;if((p|0)!=(q|0)){continue}break}f=0;if(!o){break R}}f=j+T(i,360)|0;h=N[f+20>>2];if(!((h|0)!=1517910393&(h|0)!=1516858984|(g|0)==1517976186)){N[f+20>>2]=g}f=0}while(1){V:{W:{X:{Y:{Z:{_:{$:{aa:{ba:{ca:{da:{ea:{fa:{ga:{ha:{g=N[j+T(f,360)>>2];h=g>>>8|0;switch(h|0){case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break Z;case 32:break ba;case 24:break ca;case 23:break da;case 6:break ea;case 3:break fa;case 0:break ga;default:break ha}}switch(h-254|0){case 1:break $;case 0:break aa;default:break _}}if((g|0)==173){break W}break V}if((g|0)==847){break W}break V}if((g|0)==1564){break W}break V}if((g&-2)==6068){break W}break V}if(g-6155>>>0<4){break W}break V}switch(g-8203|0){case 0:case 1:case 2:case 3:case 4:case 31:case 32:case 33:case 34:case 35:break W;default:break Y}}if((g|0)==65279|(g&-16)==65024){break W}break V}if(g-65520>>>0<9){break W}break V}if((h|0)==465){break X}}if((g&-4096)==917504){break W}break V}if((g&-16)!=8288){break V}break W}if(g-119155>>>0>=8){break V}}L[(j+T(f,360)|0)+4|0]=1}f=f+1|0;if((k|0)!=(f|0)){continue}break}if(!(N[j+32>>2]|O[j+4|0])){vo(N[W+8>>2],N[j+8>>2],N[j>>2],j+12|0,j+16|0)}i=0;N[j+332>>2]=0;g=1;if((k|0)!=1){while(1){f=j+T(g,360)|0;if(!(N[f+32>>2]|O[f+4|0])){vo(N[W+8>>2],N[f+8>>2],N[f>>2],f+12|0,f+16|0)}ia:{ja:{ka:{if(N[f-352>>2]!=N[f+8>>2]){break ka}h=O[f+4|0];if(!h&N[f-348>>2]!=N[f+12>>2]|N[f-340>>2]!=N[f+20>>2]|(O[f+121|0]|!O[m+57|0]&S[f+304>>3]!=0)){break ka}if(N[f-36>>2]==N[f+324>>2]){break ja}}i=i+1|0;break ia}if(!h){break ia}N[f+12>>2]=N[f-348>>2]}N[f+332>>2]=i;g=g+1|0;if((k|0)!=(g|0)){continue}break}}i=0;o=0;G=0;D=0;aa=0;y=La-9040|0;La=y;Z=N[$>>2];H=N[n+8>>2];g=N[$+4>>2];N[H+12>>2]=g;la:{ma:{h=N[$+12>>2];na:{if(h>>>0>Q[H+4>>2]){N[147316]=0;f=N[H+16>>2];oa:{if(h>>>0<=1073741823){g=h<<2;g=$a(f,g>>>0<=1?1:g);if(g){break oa}}N[147316]=48;N[H+16>>2]=f;break na}N[147316]=0;N[H+16>>2]=g;if(O[H+56|0]){N[147316]=0;f=N[H+52>>2];g=h<<2;g=$a(f,g>>>0<=1?1:g);if(!g){N[147316]=48;N[H+52>>2]=f;break na}N[147316]=0;N[H+52>>2]=g}N[147316]=0;g=N[H+20>>2];f=$a(g,h>>>0<=1?1:h);N[147316]=f?0:48;N[H+20>>2]=f?f:g;if(!f){break na}N[147316]=0;f=N[H+24>>2];g=h<<2;g=$a(f,g>>>0<=1?1:g);if(!g){N[147316]=48;N[H+24>>2]=f;break na}N[147316]=0;N[H+4>>2]=h;N[H+24>>2]=g;h=N[$+12>>2];g=N[H+12>>2]}p=1;if((h|0)>0){f=0;while(1){N[(f<<2)+g>>2]=N[Z+T(f,360)>>2];f=f+1|0;h=N[$+12>>2];if((f|0)<(h|0)){continue}break}}pa:{if(!h){break pa}f=N[H+16>>2];while(1){j=N[g>>2];if(j>>>0<=1114111){j=O[(P[(j>>>7&33554430)+386528>>1]+(j&255)|0)+358112|0]}else{j=0}N[f>>2]=N[(j<<2)+358016>>2];g=g+4|0;f=f+4|0;h=h-1|0;if(h){continue}break}f=N[$+12>>2];if((f|0)<2){break pa}h=f-1|0;j=h&3;g=N[H+16>>2];if(f-2>>>0<3){f=0}else{k=h&-4;m=f-5&-4;h=0;while(1){f=h<<2;p=((((N[f+g>>2]==2107456)+p|0)+(N[g+(f|4)>>2]==2107456)|0)+(N[g+(f|8)>>2]==2107456)|0)+(N[g+(f|12)>>2]==2107456)|0;h=h+4|0;if((k|0)!=(h|0)){continue}break}f=m+4|0}if(!j){break pa}while(1){p=(N[g+(f<<2)>>2]==2107456)+p|0;f=f+1|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}if(!(!O[H+57|0]|Q[H+8>>2]>=p>>>0)){N[147316]=0;f=N[H+28>>2];qa:{if(p>>>0<=1073741823){g=p<<2;g=$a(f,g>>>0<=1?1:g);if(g){break qa}}N[147316]=48;N[H+28>>2]=f;break na}N[147316]=0;N[H+8>>2]=p;N[H+28>>2]=g}ra:{sa:{ta:{if(O[H+56|0]){k=N[$+12>>2];if((k|0)<=0){break ta}i=N[H+12>>2];g=N[H+16>>2];f=N[H+52>>2];while(1){h=0;ua:{if(N[g>>2]!=64){break ua}j=N[i>>2];if(j>>>0>65535){break ua}m=O[(P[(j>>>6&67108862)+395232>>1]+(j&127)|0)+398304|0];if(!m){break ua}h=j+N[(P[(j>>>5&134217726)+396256>>1]+(j&63)<<2)+400096>>2]|0;if(m&2){h=h|-2147483648;break ua}h=h&2147483647}N[f>>2]=h;i=i+4|0;g=g+4|0;f=f+4|0;o=o+1|0;if((o|0)!=(k|0)){continue}break}}k=N[$+12>>2];if((k|0)<=0){break ta}Na=y+1472|0;Oa=y+1408|0;Ra=y+1344|0;Sa=y+1280|0;Ta=y+1216|0;Ua=y+1152|0;Va=y+1088|0;Wa=y+1024|0;Xa=y+960|0;Ya=y+896|0;Za=y+832|0;ab=y+768|0;cb=y+704|0;eb=y+640|0;fb=y+576|0;hb=y+8528|4;Ca=N[H+28>>2];while(1){va:{wa:{if((k-1|0)==(D|0)|N[N[H+16>>2]+(D<<2)>>2]==2107456){break wa}f=D+1|0;if(O[H+57|0]){D=f;break va}if(O[(Z+T(f,360)|0)+121|0]|S[(Z+T(D,360)|0)+304>>3]!=0){break wa}D=f;break va}j=O[H+56|0]?N[H+52>>2]+(aa<<2)|0:0;K=N[H+32>>2];xa:{D=D+1|0;if((aa|0)==(D|0)){break xa}ib=N[H+20>>2];f=N[H+16>>2];g=kb(36);if(!g){G=0;break na}M[g+20>>1]=255;N[g+28>>2]=0;N[g+32>>2]=0;N[g+16>>2]=128;N[g+8>>2]=-1;N[g+12>>2]=-1;N[g+4>>2]=g;ha=D-aa|0;if((ha|0)<=0){h=g;break sa}Da=f+(aa<<2)|0;f=0;h=g;o=0;i=0;ya:{if(!j){while(1){i=N[(o<<2)+Da>>2];if(!((i|0)==N[h+16>>2]&!(N[h+24>>2]|i&32768))){f=kb(36);if(!f){break sa}N[f+8>>2]=0;N[f+12>>2]=0;M[f+20>>1]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=i;N[f+8>>2]=o;N[h+4>>2]=f;N[h+12>>2]=o-N[h+8>>2];N[f+24>>2]=0;N[f>>2]=h;h=f}o=o+1|0;if((ha|0)!=(o|0)){continue}break ya}}while(1){m=i<<2;k=N[m+j>>2];m=N[m+Da>>2];if(k|(m|0)!=N[h+16>>2]|(N[h+24>>2]|m&32768)){f=kb(36);if(!f){break sa}N[f+8>>2]=0;N[f+12>>2]=0;M[f+20>>1]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=m;N[f+8>>2]=i;N[h+4>>2]=f;N[h+12>>2]=i-N[h+8>>2];N[f+24>>2]=k;N[f>>2]=h;h=f}i=i+1|0;if((ha|0)!=(i|0)){continue}break}}N[h+4>>2]=g;N[h+12>>2]=ha-N[h+8>>2];N[g>>2]=h;i=h+4|0;if(!f){break ra}o=0;i=g;za:{if(K&16){f=K;break za}while(1){i=N[i+4>>2];f=N[i+16>>2];if((f|0)==128){f=K;break za}if((f|0)==32864){o=o-((o|0)>0)|0;continue}if(f&32768){o=o+1|0;continue}if(o){continue}o=0;if(!(f&256)){continue}break}K=f&1|272}C(y+8528|0,0,508);Aa:{l=kb(36);if(l){ca=f&1;Ea=ca?273:272;M[l+20>>1]=255;N[l+28>>2]=0;N[l+32>>2]=0;N[l+16>>2]=128;N[l+8>>2]=-1;N[l+12>>2]=-1;N[l+4>>2]=l;N[l>>2]=l;m=N[g+4>>2];h=N[m+16>>2];Ba:{if((h|0)==128){break Ba}I=m+16|0;p=64;q=0;u=l;i=ca;j=0;f=0;o=0;pa=0;G=0;while(1){Ca:{L[m+21|0]=j;Da:{if(h&1052672){Ea:{if(h&16){k=N[m+12>>2];if(!k){break Ea}I=h&1;h=h&16384?I|272:64;Y=!G;while(1){q=((i+I&254)-I|0)+2|0;Fa:{if(!(o|G|q<<24>2113929215)){o=(y+512|0)+(f<<4)|0;N[o+12>>2]=j;L[o+4|0]=i;N[o+8>>2]=0;N[o>>2]=p;f=f+1|0;p=h;i=q;o=0;break Fa}o=o+Y|0}k=k-1|0;if(k){continue}break}break Ea}if((h|0)!=4128){break Ea}k=N[m+12>>2];if(!k){break Ea}while(1){Ga:{if(!f){f=0;break Ga}h=f-1|0;I=(y+512|0)+(h<<4)|0;if(N[I+8>>2]){break Ea}if((o|0)>0){o=o-1|0;break Ga}j=N[I+12>>2];p=N[I>>2];i=O[I+4|0];f=h}k=k-1|0;if(k){continue}break}}L[m+20|0]=255;k=N[m+4>>2];N[y+4>>2]=k;h=N[m>>2];if(h){N[h+4>>2]=k;N[N[m+4>>2]>>2]=h;u=N[l>>2]}N[m>>2]=u;N[N[l>>2]+4>>2]=m;N[m+4>>2]=l;N[l>>2]=m;u=m;m=y;break Da}Ha:{if((h|0)==32864){Y=N[m+12>>2];if(!Y){break Ha}while(1){Ia:{if((G|0)>0){L[m+20|0]=i;G=G-1|0;break Ia}if((pa|0)>0){k=0;Ja:{if(!f){break Ja}Ka:{while(1){k=f-1|0;h=(y+512|0)+(k<<4)|0;if(N[h+8>>2]){break Ka}La:{if((o|0)>0){o=o-1|0;break La}j=N[h+12>>2];p=N[h>>2];i=O[h+4|0];f=k}if(f){continue}break}k=0;break Ja}j=N[h+12>>2];p=N[h>>2];i=O[h+4|0]}L[m+20|0]=i;j=j-((j|0)>0)|0;L[m+21|0]=j;pa=pa-1|0;o=0;f=k;break Ia}N[I>>2]=64;L[m+20|0]=i}Y=Y-1|0;if(Y){continue}break}break Ha}Ma:{Na:{Oa:{Pa:{if(h&32768){Qa:{switch(h-32832|0){case 0:break Oa;case 1:break Pa;default:break Qa}}if((h|0)!=33587264){break Ma}q=0;k=m;while(1){k=N[k+4>>2];h=N[k+16>>2];if((h|0)==128){break Na}if((h|0)==32864){q=q-1|0;if((pa|0)>=0){continue}break Na}if(h&32768){q=q+1|0;continue}if(q){continue}q=0;if(!(h&256)){continue}break}if(!(h&1)){break Na}q=(((i<<24>>24)%2|0)+i|0)+1|0;break Ma}if((h|0)==2107456){break Ca}L[m+20|0]=i;if(p&64){break Ha}N[I>>2]=p;break Ha}q=(((i<<24>>24)%2|0)+i|0)+1|0;break Ma}q=(i-((i<<24>>24)%2|0)|0)+2|0;break Ma}q=(i-((i<<24>>24)%2|0)|0)+2|0}L[m+20|0]=i;if(!(p&64)){N[I>>2]=p}j=((j|0)<124)+j|0;if(q<<24>>24<=125){pa=pa+1|0;if(!(o|G)){h=(y+512|0)+(f<<4)|0;N[h+12>>2]=j;L[h+4|0]=i;N[h+8>>2]=1;N[h>>2]=p;f=f+1|0;p=64;G=0;o=0;i=q;break Ha}o=!G+o|0;i=q;break Ha}G=G+1|0}}m=N[m+4>>2];I=m+16|0;h=N[m+16>>2];if((h|0)!=128){continue}}break}i=0;m=N[g+4>>2];f=m;if(N[f+16>>2]==128){break Ba}while(1){h=L[f+21|0];if((h|0)<(i|0)){C((h<<2)+hb|0,0,i-h<<2)}j=(y+8528|0)+(h<<2)|0;i=N[j>>2];if(i){N[i+32>>2]=f;N[f+28>>2]=i}N[j>>2]=f;i=h;f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}Ci(m);N[y+512>>2]=Ea;q=0;o=N[g+4>>2];G=N[o+16>>2];Ra:{if((G|0)==128){break Ra}Y=o+16|0;while(1){h=588912;f=588912;k=N[o+28>>2];Sa:{if(!k){break Sa}f=k;if(N[f+16>>2]==128){break Sa}i=L[o+21|0];while(1){if((i|0)>=L[f+21|0]){break Sa}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}j=N[o+32>>2];Ta:{if(!j){break Ta}h=j;i=N[h+16>>2];if((i|0)==128){break Ta}m=L[o+21|0];while(1){if((i|0)!=32864&(m|0)>=L[h+21|0]){break Ta}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}p=L[o+21|0];i=O[f+20|0];m=O[o+20|0];u=(i|0)!=(m|0);if(u){i=i<<24>>24;I=m<<24>>24;i=((i|0)>(I|0)?i:I)&1?273:272}else{i=N[f+16>>2]}I=O[h+20|0];if((I|0)==(m|0)){m=N[h+16>>2]}else{I=I<<24>>24;m=m<<24>>24;m=((m|0)<(I|0)?I:m)&1?273:272}if(i&16){N[(y+512|0)+(p<<2)>>2]=i}I=(q|0)>(p|0);Ua:{Va:{if((G|0)!=544){if((G|0)!=524320){break Va}G=N[o>>2];if(O[G+17|0]&128){N[Y>>2]=64}Wa:{Xa:{if(!u){if((f|0)!=(G|0)){break Xa}u=N[o+4>>2];N[f+4>>2]=u;N[u>>2]=f;N[f+12>>2]=N[f+12>>2]+N[o+12>>2];Ya:{if(j){u=j+28|0}else{u=N[o+4>>2];if(N[u+28>>2]!=(o|0)){break Ya}u=u+28|0}N[u>>2]=k}k=N[o+28>>2];if(k){N[k+32>>2]=j;j=N[o+32>>2]}N[f+32>>2]=j;_a(o);break Wa}N[Y>>2]=i}f=o}if((i|0)!=(m|0)){break Ua}i=N[f+4>>2];if((i|0)!=(h|0)|O[f+20|0]!=O[i+20|0]){break Ua}f=N[h>>2];i=N[h+4>>2];N[f+4>>2]=i;N[i>>2]=f;N[f+12>>2]=N[f+12>>2]+N[h+12>>2];i=N[h+32>>2];Za:{if(i){N[i+28>>2]=N[h+28>>2];break Za}j=N[h+4>>2];if(N[j+28>>2]!=(h|0)){break Za}N[j+28>>2]=N[h+28>>2]}j=N[h+28>>2];if(j){N[j+32>>2]=i;i=N[h+32>>2]}N[f+32>>2]=i;_a(h);break Ua}if(N[(y+512|0)+(p<<2)>>2]!=275){break Va}N[Y>>2]=546;if((m|0)!=524320){break Va}N[h+16>>2]=546}f=o}q=I?q:p;o=N[f+4>>2];Y=o+16|0;G=N[o+16>>2];if((G|0)!=128){continue}break}o=N[g+4>>2];k=N[o+16>>2];N[y+512>>2]=Ea;if((k|0)==128){break Ra}G=o+16|0;m=64;Y=1;j=o;while(1){p=L[j+21|0];h=588912;f=588912;i=N[j+28>>2];_a:{if(!i){break _a}f=i;if(N[f+16>>2]==128){break _a}while(1){if((p|0)>=L[f+21|0]){break _a}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}i=N[j+32>>2];$a:{if(!i){break $a}h=i;i=N[h+16>>2];if((i|0)==128){break $a}while(1){if((i|0)!=32864&(p|0)>=L[h+21|0]){break $a}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}u=O[f+20|0];i=O[j+20|0];if((u|0)==(i|0)){f=N[f+16>>2]}else{f=u<<24>>24;u=i<<24>>24;f=((f|0)>(u|0)?f:u)&1?273:272}u=O[h+20|0];if((u|0)==(i|0)){h=N[h+16>>2]}else{h=u<<24>>24;u=i<<24>>24;h=((h|0)>(u|0)?h:u)&1?273:272}if(f&16){N[(y+512|0)+(p<<2)>>2]=f}ab:{if((k|0)==275){N[G>>2]=273;j=N[j+4>>2];Y=1;m=64;break ab}bb:{if(!Y|!(k&327680)|(!(m&512)|N[j+12>>2]!=1)){break bb}if((m|0)!=544&(k|0)!=263200|(h|0)!=(m|0)){break bb}N[G>>2]=f;k=f}cb:{db:{eb:{fb:{if((k|0)==132128){if((m|0)!=544&(h|0)!=544){break fb}N[G>>2]=544;Y=0;break db}if(!(k&1024)){break eb}}N[G>>2]=64;Y=1;break cb}Y=1;if((k|0)!=544){break cb}}if(N[(y+512|0)+(p<<2)>>2]!=272){break cb}N[G>>2]=272;j=N[j+4>>2];m=(i|0)==O[j+20|0]?544:64;break ab}j=N[j+4>>2];f=N[j>>2];h=O[f+20|0];i=O[j+20|0];if((h|0)==(i|0)){m=N[f+16>>2];break ab}f=h<<24>>24;h=i<<24>>24;m=((f|0)>(h|0)?f:h)&1?273:272}G=j+16|0;k=N[j+16>>2];if((k|0)!=128){continue}break}}Jo(o);N[y+8524>>2]=0;k=L[g+20|0];f=(q<<2)+4|0;C(y+8528|0,0,f);C(y,0,f);N[y+8588>>2]=Na;N[y+8584>>2]=Oa;N[y+8580>>2]=Ra;N[y+8576>>2]=Sa;N[y+8572>>2]=Ta;N[y+8568>>2]=Ua;N[y+8564>>2]=Va;N[y+8560>>2]=Wa;N[y+8556>>2]=Xa;N[y+8552>>2]=Ya;N[y+8548>>2]=Za;N[y+8544>>2]=ab;N[y+8540>>2]=cb;N[y+8536>>2]=eb;N[y+8532>>2]=fb;N[y+8528>>2]=y+512;f=16;if((q|0)>15){while(1){lb=(y+8528|0)+(f<<2)|0,nb=kb(252),N[lb>>2]=nb;h=(f|0)==(q|0);f=f+1|0;if(!h){continue}break}}j=0;m=0;o=N[g+4>>2];h=N[o+16>>2];gb:{if((h|0)==128){break gb}while(1){f=j;i=k;k=L[o+20|0];j=L[o+21|0];if(!((i|0)==(k|0)|(f|0)!=(j|0))){N[y+(f<<2)>>2]=0}hb:{if((h|0)!=64){break hb}h=N[o+24>>2];if(!h){break hb}i=j<<2;p=i+y|0;f=N[p>>2];if((h|0)<0){if((f|0)==63){break gb}h=N[i+(y+8528|0)>>2];N[p>>2]=f+1;N[h+(f<<2)>>2]=o;break hb}i=i+(y+8528|0)|0;while(1){if((f|0)<=0){break hb}f=f-1|0;u=N[N[i>>2]+(f<<2)>>2];if((h^N[u+24>>2])&2147483647){continue}break}N[p>>2]=f;f=kb(12);N[f+8>>2]=m;N[f+4>>2]=o;N[f>>2]=u;m=f}o=N[o+4>>2];h=N[o+16>>2];if((h|0)!=128){continue}break}}N[y+8524>>2]=m;Bi(y+8524|0);m=N[y+8524>>2];G=m;if(m){while(1){k=N[G>>2];j=L[k+20|0];ib:{jb:{f=k;o=N[G+4>>2];u=(f|0)==(o|0);if(!u){while(1){h=273;kb:{lb:{mb:{i=N[f+16>>2];switch(i-544|0){case 0:case 2:break kb;case 1:break lb;default:break mb}}if((i|0)==273){break kb}}h=i}if(h&16){i=h;h=L[f+20|0];if((((i^h)&1)+h|0)==(j|0)){break jb}}f=N[f+4>>2];if((o|0)!=(f|0)){continue}break}}p=O[k+21|0];f=k;nb:{while(1){i=273;ob:{pb:{qb:{f=N[f>>2];h=N[f+16>>2];switch(h-544|0){case 0:case 2:break ob;case 1:break pb;default:break qb}}if((h|0)==273){break ob}if((h|0)==128){break nb}}i=h;if(!(h&16)){continue}}if((p|0)!=O[f+21|0]){continue}break}f=O[f+20|0];j=((f^i)&1)+f|0}f=k;if(u){break ib}while(1){rb:{sb:{tb:{ub:{h=N[f+16>>2];switch(h-544|0){case 0:case 2:break sb;case 1:break tb;default:break ub}}if((h|0)==273){break sb}}if(!(h&16)){break rb}}if((p|0)==O[f+21|0]){break jb}}f=N[f+4>>2];if((o|0)!=(f|0)){continue}break}break ib}f=j&1|272;N[o+16>>2]=f;N[k+16>>2]=f}G=N[G+8>>2];if(G){continue}break}while(1){f=N[m+8>>2];_a(m);m=f;if(f){continue}break}}f=16;if((q|0)>=16){while(1){_a(N[(y+8528|0)+(f<<2)>>2]);h=(f|0)!=(q|0);f=f+1|0;if(h){continue}break}}h=N[g+4>>2];f=h;if(N[f+16>>2]!=128){while(1){N[f+24>>2]=0;f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}Jo(h);m=N[g+4>>2];k=N[m+16>>2];if((k|0)!=128){q=m+16|0;o=m;while(1){h=588912;f=588912;i=N[o+28>>2];vb:{if(!i){break vb}if(N[i+16>>2]==128){f=i;break vb}j=L[o+21|0];f=i;while(1){if((j|0)>=L[f+21|0]){break vb}f=N[f+28>>2];f=f?f:588912;if(N[f+16>>2]!=128){continue}break}}j=N[o+32>>2];wb:{if(!j){break wb}i=N[j+16>>2];if((i|0)==128){h=j;break wb}p=L[o+21|0];h=j;while(1){if((i|0)!=32864&(p|0)>=L[h+21|0]){break wb}h=N[h+32>>2];h=h?h:588912;i=N[h+16>>2];if((i|0)!=128){continue}break}}j=O[f+20|0];i=O[o+20|0];xb:{if((j|0)==(i|0)){f=N[f+16>>2];f=f&512?273:f;break xb}f=j<<24>>24;j=i<<24>>24;f=((f|0)>(j|0)?f:j)&1?273:272}j=O[h+20|0];yb:{if((j|0)==(i|0)){h=N[h+16>>2];h=h&512?273:h;break yb}h=j<<24>>24;j=i<<24>>24;h=((h|0)>(j|0)?h:j)&1?273:272}if((k&576)==64){N[q>>2]=(f|0)==(h|0)?f:i&1?273:272}o=N[o+4>>2];q=o+16|0;k=N[o+16>>2];if((k|0)!=128){continue}break}}Ci(m);j=N[g+4>>2];f=j;h=N[f+16>>2];if((h|0)!=128){while(1){i=O[f+20|0];L[f+20|0]=h&512?(i&-2)+2|0:i+((h^i)&1)|0;f=N[f+4>>2];h=N[f+16>>2];if((h|0)!=128){continue}break}}Ci(j);zb:{Ab:{if(N[l+4>>2]==(l|0)){break Ab}if(!Ko(g,l,1)){break zb}f=N[g+4>>2];if(!((g|0)==(f|0)|O[f+20|0]!=255)){L[f+20|0]=ca}l=0;if(N[f+16>>2]==128){break Ab}while(1){if(O[f+20|0]==255){L[f+20|0]=O[N[f>>2]+20|0]}f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}}o=1;p=kb(36);if(!p){break Aa}M[p+20>>1]=255;N[p+28>>2]=0;N[p+32>>2]=0;N[p+16>>2]=128;N[p+8>>2]=-1;N[p+12>>2]=-1;N[p+4>>2]=p;N[p>>2]=p;if((ha|0)>=0){i=1;j=p;k=ha-1|0;h=k;while(1){m=h;f=(h|0)<0?64:N[(h<<2)+Da>>2];Bb:{if(!i){i=!i&(f&8192)>>>13;k=i?m:k;break Bb}i=1;if(f&9482240){break Bb}f=kb(36);if(!f){N[N[p>>2]+4>>2]=0;while(1){f=N[p+4>>2];_a(p);p=f;if(f){continue}break}break Aa}i=0;L[f+21|0]=0;N[f+28>>2]=0;N[f+32>>2]=0;L[f+20|0]=ca;N[f+16>>2]=Ea;N[f>>2]=0;N[f+4>>2]=0;N[f+12>>2]=k-m;N[f+8>>2]=m+1;N[f>>2]=N[j>>2];N[N[j>>2]+4>>2]=f;N[f+4>>2]=j;N[j>>2]=f;j=f}h=m-1|0;if((m|0)>=0){continue}break}}if(!Ko(g,p,0)){break Aa}o=0;f=N[g+4>>2];if(N[f+16>>2]==128){break Aa}i=aa+ib|0;while(1){h=N[f+12>>2];if(h){C(i+o|0,O[f+20|0],h);o=h+o|0}f=N[f+4>>2];if(N[f+16>>2]!=128){continue}break}o=0;break Aa}h=N[g>>2]}G=0;N[h+4>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}break na}N[N[g>>2]+4>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}if(l){N[N[l>>2]+4>>2]=0;while(1){f=N[l+4>>2];_a(l);l=f;if(f){continue}break}if(!o){break xa}G=0;break na}if(!o){break xa}G=0;break na}if(O[H+57|0]){N[Ca>>2]=K;Ca=Ca+4|0}aa=D}k=N[$+12>>2];if((D|0)<(k|0)){continue}break}}if(!N[H>>2]){G=1;o=db(1,k);if(k){g=o;K=N[H+12>>2];f=K;p=k;if(k&1){f=N[K>>2];if(f>>>0<=1048575){f=O[(P[(f>>>7&33554430)+404704>>1]+(f&255)|0)+412896|0]}else{f=0}L[o|0]=f;p=k-1|0;g=o+1|0;f=K+4|0}if((k|0)!=1){while(1){h=N[f>>2];if(h>>>0<=1048575){h=O[(P[(h>>>7&33554430)+404704>>1]+(h&255)|0)+412896|0]}else{h=0}L[g|0]=h;h=N[f+4>>2];if(h>>>0<=1048575){h=O[(P[(h>>>7&33554430)+404704>>1]+(h&255)|0)+412896|0]}else{h=0}L[g+1|0]=h;f=f+8|0;g=g+2|0;p=p-2|0;if(p){continue}break}}aa=N[H+20>>2];Cb:{if((k|0)<=0){break Cb}Y=N[H+16>>2];u=0;q=255;g=0;j=0;h=0;i=0;while(1){ca=g+o|0;f=O[ca|0];I=f&24;Db:{if((I|0)==16){break Db}p=255;p=N[Y+(g<<2)>>2]&1052672?p:O[g+aa|0];D=f&4;l=0;m=0;Eb:{Fb:{Gb:{if(j){j=p&255;if((j|0)==255){break Gb}ha=q&255;if((ha|0)==255){break Gb}m=1;if((j|0)==(ha|0)){break Gb}}if(!D|I){break Fb}L[ca|0]=f&(p&1?-2:-3);break Fb}j=1;if(I){break Eb}l=1;m=1;I=p&1?1:2;if(!(I&f)){break Fb}f=u+1|0;if((g|0)<=(f|0)){break Eb}m=0;l=(u^-1)+g&3;if(l){while(1){ha=f+o|0;L[ha|0]=I|(O[ha|0]|h);f=f+1|0;m=m+1|0;if((l|0)!=(m|0)){continue}break}}if((g-2|0)-u>>>0<3){break Eb}while(1){m=f+o|0;L[m|0]=I|(O[m|0]|h);L[m+1|0]=I|(O[m+1|0]|h);L[m+2|0]=I|(O[m+2|0]|h);L[m+3|0]=I|(O[m+3|0]|h);f=f+4|0;if((g|0)!=(f|0)){continue}break}break Eb}if(!(!m|!i)){f=o+u|0;L[f|0]=O[f|0]&(h^-1)}j=l}f=O[ca|0];if(f&24){break Db}h=p&1?2:1;j=(f&h)!=0;i=D;q=p;u=g}g=g+1|0;if((k|0)!=(g|0)){continue}break}if(!j|!i){break Cb}f=o+u|0;L[f|0]=O[f|0]&(h^-1)}f=0;Hb:{if(!K){break Hb}Ib:{if(!o){break Ib}g=0;if((k|0)<=0){break Hb}while(1){h=O[g+o|0];if(h&4){i=K+(g<<2)|0;j=i;i=N[i>>2];N[j>>2]=N[(i-1748>>>0<4294967117?j:(i<<4|(h&3)<<2)+406576|0)>>2]}g=g+1|0;if((k|0)!=(g|0)){continue}break}if((k|0)<2){break Ib}u=k-2|0;I=0;while(1){i=I;I=i+1|0;g=O[i+aa|0];Jb:{if(!(g&1)|(g|0)!=O[I+aa|0]){break Jb}l=K+(i<<2)|0;j=N[l>>2];if(j-65249>>>0<4294967294){break Jb}D=K+(I<<2)|0;m=N[D>>2];g=7;h=0;while(1){Kb:{Lb:{Mb:{Nb:{p=h+g>>>1|0;q=T(p,12);ca=N[q+431584>>2];Ob:{if((ca|0)!=(j|0)){if(j>>>0>>0){break Ob}break Mb}ca=N[q+431588>>2];if(ca>>>0<=m>>>0){break Nb}}g=p-1|0;break Lb}if(m>>>0<=ca>>>0){break Kb}}h=p+1|0}if((h|0)<=(g|0)){continue}break Jb}break}g=N[q+431592>>2];if(!g){break Jb}N[l>>2]=65279;h=i+o|0;L[h|0]=O[h|0]|32;N[D>>2]=g}if((i|0)!=(u|0)){continue}break}}if((k|0)<=0){break Hb}g=k;while(1){h=g;g=h-1|0;Pb:{if(!(L[aa+g|0]&1)){break Pb}j=K+(g<<2)|0;i=N[j>>2];if(i>>>0>65535){break Pb}m=M[(P[(i>>>5&134217726)+434544>>1]+(i&63)<<1)+436592>>1];if(!m){break Pb}N[j>>2]=i+m}if(h>>>0>1){continue}break}}while(1){g=Z+T(f,360)|0;h=N[(N[g+8>>2]+(N[g+12>>2]<<2)|0)+68>>2];i=N[H+12>>2]+(f<<2)|0;N[g>>2]=N[i>>2];i=ze(N[h+92>>2],N[i>>2]);N[g+16>>2]=i;if(i){j=N[h+92>>2];if(j){i=Qa[N[N[j+12>>2]+12>>2]](j,i)|0;h=i>>>0>2]?i:0}else{h=0}N[g+16>>2]=h}f=f+1|0;if((k|0)!=(f|0)){continue}break}}_a(o);break na}q=db(1,172);Qb:{if(!q){q=588184;break Qb}N[q+148>>2]=1073741823;N[q+152>>2]=536870911;N[q>>2]=1;N[q+4>>2]=1;f=Ic();Rb:{if(!f){break Rb}g=N[f>>2];if(!g){break Rb}if((g|0)<=0){break ma}N[f>>2]=g+1}L[q+60|0]=1;N[q+24>>2]=65533;N[q+12>>2]=f}N[y+8528>>2]=0;N[y+8532>>2]=0;Sb:{if(k){f=0;g=0;if(k>>>0>=8){h=k&-8;while(1){L[(Z+T(g,360)|0)+4|0]=1;L[(Z+T(g|1,360)|0)+4|0]=1;L[(Z+T(g|2,360)|0)+4|0]=1;L[(Z+T(g|3,360)|0)+4|0]=1;L[(Z+T(g|4,360)|0)+4|0]=1;L[(Z+T(g|5,360)|0)+4|0]=1;L[(Z+T(g|6,360)|0)+4|0]=1;L[(Z+T(g|7,360)|0)+4|0]=1;g=g+8|0;if((h|0)!=(g|0)){continue}break}}h=k&7;if(h){while(1){L[(Z+T(g,360)|0)+4|0]=1;g=g+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}u=k-1|0;f=0;while(1){m=Z+T(f,360)|0;Tb:{if(N[m+32>>2]){L[m+4|0]=0;j=f;break Tb}Ub:{o=N[m+8>>2];i=N[o+108>>2];if(i){break Ub}i=db(120,1);N[o+108>>2]=i;if(i){break Ub}G=0;break na}g=N[m+12>>2];h=g<<2;if(!N[h+i>>2]){p=N[(h+o|0)+68>>2];g=db(1,212);Vb:{if(!g){g=588540;break Vb}N[g+32>>2]=-1;N[g+20>>2]=0;N[g+16>>2]=p;N[g+12>>2]=362;N[g>>2]=1;N[g+4>>2]=1;N[g+48>>2]=g;N[g+36>>2]=g}if(N[g+4>>2]){N[g+24>>2]=N[p+4>>2];N[g+28>>2]=P[p+68>>1]}j=Lp(g);N[(N[m+12>>2]<<2)+i>>2]=j;nj(g);G=0;if(!j){break na}Wb:{if(!N[j+4>>2]){break Wb}g=P[p+68>>1];l=N[p+88>>2];h=N[l+20>>2];D=UE(g,0,h,h>>31);h=Pa;D=D+32768|0;h=((D>>>0<32768?h+1|0:h)&65535)<<16|D>>>16;D=g;g=N[l+16>>2];l=UE(D,0,g,g>>31);g=Pa;l=l+32768|0;g=((l>>>0<32768?g+1|0:g)&65535)<<16|l>>>16;if((g|0)==N[j+28>>2]&(h|0)==N[j+32>>2]){break Wb}N[j+32>>2]=h;N[j+28>>2]=g;N[j+12>>2]=N[j+12>>2]+1;Ie(j)}h=db(40,1);l=N[m+12>>2];N[(N[o+108>>2]+(l<<2)|0)+80>>2]=h;if(!h){break na}N[h>>2]=N[H+48>>2];N[h+32>>2]=N[N[m+8>>2]+16>>2];g=db(1,92);Xb:{if(!g){g=588448;break Xb}N[g>>2]=1;N[g+4>>2]=1;F(g+20|0,588468,72);l=N[m+12>>2]}N[(N[o+108>>2]+(l<<2)|0)+40>>2]=g;Yb:{if(!N[g+4>>2]){break Yb}l=N[g+16>>2];Zb:{if(!l){break Zb}D=N[l+8>>2];if(!D){break Zb}l=N[g+12>>2];if(l){l=N[l+8>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];_b:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break _b}}N[g+28>>2]=363;N[l+8>>2]=h;l=N[g+16>>2];if(!l){break _b}N[l+8>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];$b:{if(!l){break $b}D=N[l+16>>2];if(!D){break $b}l=N[g+12>>2];if(l){l=N[l+16>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];ac:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break ac}}N[g+36>>2]=364;N[l+16>>2]=h;l=N[g+16>>2];if(!l){break ac}N[l+16>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];bc:{if(!l){break bc}D=N[l+20>>2];if(!D){break bc}l=N[g+12>>2];if(l){l=N[l+20>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];cc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break cc}}N[g+40>>2]=365;N[l+20>>2]=h;l=N[g+16>>2];if(!l){break cc}N[l+20>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];dc:{if(!l){break dc}D=N[l+24>>2];if(!D){break dc}l=N[g+12>>2];if(l){l=N[l+24>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];ec:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break ec}}N[g+44>>2]=366;N[l+24>>2]=h;l=N[g+16>>2];if(!l){break ec}N[l+24>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];fc:{if(!l){break fc}D=N[l+36>>2];if(!D){break fc}l=N[g+12>>2];if(l){l=N[l+36>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];gc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break gc}}N[g+56>>2]=367;N[l+36>>2]=h;l=N[g+16>>2];if(!l){break gc}N[l+36>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];hc:{if(!l){break hc}D=N[l+40>>2];if(!D){break hc}l=N[g+12>>2];if(l){l=N[l+40>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];ic:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break ic}}N[g+60>>2]=368;N[l+40>>2]=h;l=N[g+16>>2];if(!l){break ic}N[l+40>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];jc:{if(!l){break jc}D=N[l+44>>2];if(!D){break jc}l=N[g+12>>2];if(l){l=N[l+44>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];kc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break kc}}N[g- -64>>2]=369;N[l+44>>2]=h;l=N[g+16>>2];if(!l){break kc}N[l+44>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];lc:{if(!l){break lc}D=N[l+48>>2];if(!D){break lc}l=N[g+12>>2];if(l){l=N[l+48>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];mc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break mc}}N[g+68>>2]=370;N[l+48>>2]=h;l=N[g+16>>2];if(!l){break mc}N[l+48>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];nc:{if(!l){break nc}D=N[l+52>>2];if(!D){break nc}l=N[g+12>>2];if(l){l=N[l+52>>2]}else{l=0}Qa[D|0](l)}l=N[g+12>>2];oc:{if(!l){l=db(1,72);N[g+12>>2]=l;if(!l){break oc}}N[g+72>>2]=371;N[l+52>>2]=h;l=N[g+16>>2];if(!l){break oc}N[l+52>>2]=0}if(!N[g+4>>2]){break Yb}l=N[g+16>>2];pc:{if(!l){break pc}D=N[l+56>>2];if(!D){break pc}l=N[g+12>>2];if(l){l=N[l+56>>2]}else{l=0}Qa[D|0](l)}G=N[g+12>>2];if(!G){G=db(1,72);N[g+12>>2]=G;if(!G){break Yb}}N[g+76>>2]=372;N[G+56>>2]=h;h=N[g+16>>2];if(!h){break Yb}N[h+56>>2]=0}if(N[j+4>>2]){N[j+12>>2]=N[j+12>>2]+1;h=N[j+104>>2];if(h){Qa[h|0](N[j+100>>2])}h=N[g>>2];if(h){if((h|0)<=0){break ma}N[g>>2]=h+1}oc(N[j+96>>2]);N[j+104>>2]=0;N[j+100>>2]=p;N[j+96>>2]=g}g=N[m+12>>2]}j=o+68|0;h=N[(g<<2)+j>>2];s=S[m+24>>3];N[y+512>>2]=1;N[y+516>>2]=0;N[y+524>>2]=0;N[y+528>>2]=0;s=XE(s*64);qc:{if(V(s)<2147483648){g=~~s;break qc}g=-2147483648}N[y+520>>2]=g;fg(h,y+512|0);g=N[m+12>>2]<<2;h=N[g+i>>2];rc:{if(!N[h+4>>2]){break rc}p=N[g+j>>2];j=N[p+88>>2];l=N[j+20>>2];g=P[p+68>>1];l=UE(l,l>>31,g,0);l=(Pa&65535)<<16|l>>>16;D=g;g=N[j+16>>2];g=UE(D,0,g,g>>31);g=(Pa&65535)<<16|g>>>16;sc:{if(!((g|0)!=N[h+28>>2]|(l|0)!=N[h+32>>2])){Y=P[j+14>>1];g=P[j+12>>1];break sc}N[h+32>>2]=l;N[h+28>>2]=g;N[h+12>>2]=N[h+12>>2]+1;Ie(h);if(!N[h+4>>2]){break rc}g=N[p+88>>2];Y=P[g+14>>1];g=P[g+12>>1]}if((g|0)==N[h+72>>2]&N[h+76>>2]==(Y|0)){break rc}N[h+76>>2]=Y;N[h+72>>2]=g;N[h+12>>2]=N[h+12>>2]+1}h=N[m+12>>2];j=h<<2;g=N[(j+N[o+108>>2]|0)+80>>2];N[g+8>>2]=N[m+8>>2];N[g+24>>2]=h;S[g+16>>3]=S[m+24>>3];l=N[i+j>>2];if(!l){G=0;break na}h=f>>>0>u>>>0?f:u;i=N[H+20>>2];o=O[i+f|0];p=N[m+332>>2];g=f;while(1){tc:{j=g;if((h|0)==(g|0)){j=h;break tc}g=j+1|0;if((p|0)!=N[(Z+T(g,360)|0)+332>>2]){break tc}if((o|0)==O[g+i|0]){continue}}break}g=(j-f|0)+1|0;if(!(!g|g>>>0>2])){gb(q,g)}uc:{if(O[H+57|0]){wl(q,N[H+12>>2],k,f,g);i=0;break uc}p=0;i=0;vc:{if((f|0)<=0){break vc}i=0;if(O[m+121|0]){break vc}i=(N[m-360>>2]&-2)==8204}wc:{if(j>>>0>=u>>>0){break wc}h=Z+T(j+1|0,360)|0;if(O[h+121|0]){break wc}p=(N[h>>2]&-2)==8204}wl(q,(N[H+12>>2]+(f<<2)|0)-(i<<2)|0,(g+i|0)+p|0,i,g)}h=N[m+20>>2];p=N[H+44>>2];xc:{if(p){break xc}yc:{zc:{Ac:{Bc:{Cc:{Dc:{Ec:{Fc:{Gc:{Hc:{Ic:{Jc:{Kc:{Lc:{Mc:{Nc:{Oc:{Pc:{Qc:{Rc:{Sc:{Tc:{Uc:{Vc:{Wc:{Xc:{Yc:{Zc:{if((h|0)<=1265134961){if((h|0)<=1165256808){if((h|0)<=1130458738){if((h|0)<=1113943654){g=12238;if((h|0)==1098015074){break zc}if((h|0)!=1098018158){break yc}g=7939;break zc}if((h|0)==1113943655){break Zc}if((h|0)==1114990441){break Ac}if((h|0)!=1114990692){break yc}g=8327;break zc}if((h|0)<=1131376755){if((h|0)==1130458739){break Yc}if((h|0)!=1130915186){break yc}g=11946;break zc}if((h|0)==1131376756){break Xc}if((h|0)==1132032620){break Wc}if((h|0)!=1147500129){break yc}g=13897;break zc}if((h|0)<=1214344806){if((h|0)<=1198679402){if((h|0)==1165256809){break Hc}if((h|0)!=1197830002){break yc}g=18433;break zc}if((h|0)==1198679403){break Vc}if((h|0)==1198877298){break Uc}if((h|0)!=1198879349){break yc}g=18430;break zc}if((h|0)<=1214870112){switch(h-1214344807|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break yc;case 8:break Cc;case 0:break Tc;default:break Sc}}if((h|0)==1214870113){break Rc}if((h|0)!=1264676449){break yc}g=18436;break zc}if((h|0)<=1400468066){if((h|0)<=1299148390){if((h|0)<=1281453934){if((h|0)==1265134962){break Gc}if((h|0)!=1265525857){break yc}g=12840;break zc}if((h|0)==1281453935){break Qc}if((h|0)==1281455214){break Pc}if((h|0)!=1298954605){break yc}g=13207;break zc}if((h|0)<=1332902240){if((h|0)==1299148391){break Oc}if((h|0)==1299803506){break Fc}if((h|0)!=1315663727){break yc}g=12489;break zc}if((h|0)==1332902241){break Nc}if((h|0)==1399418472){break Ec}if((h|0)!=1400466543){break yc}g=13182;break zc}if((h|0)<=1416126816){if((h|0)<=1415671147){if((h|0)==1400468067){break Mc}if((h|0)!=1415669602){break yc}g=8281;break zc}if((h|0)==1415671148){break Lc}if((h|0)==1415933045){break Kc}if((h|0)!=1416064103){break yc}g=13186;break zc}if((h|0)<=1432838513){switch(h-1416126817|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break yc;case 0:break Dc;case 8:break Jc;default:break Ic}}if((h|0)==1432838514){break Bc}if((h|0)!=1483761007){break yc}g=12530;break zc}g=13109;break zc}g=8331;break zc}g=12293;break zc}g=8324;break zc}g=13352;break zc}g=8334;break zc}g=12490;break zc}if((h|0)!=1214603890){break yc}g=16107;break zc}g=18436;break zc}g=12486;break zc}g=13106;break zc}g=12837;break zc}g=11943;break zc}g=11768;break zc}g=18413;break zc}g=15470;break zc}g=14040;break zc}if((h|0)!=1416192628){break yc}g=12534;break zc}g=13163;break zc}g=13132;break zc}g=7936;break zc}g=13894;break zc}g=8321;break zc}g=12833;break zc}g=18439;break zc}g=14511}if(!O[g|0]){break yc}g=ie(g);if(!g){break yc}p=N[g+4>>2];if(p){break xc}}p=N[147446];if(p){break xc}p=0;g=N[147878];g=g?g+8|0:20427;_c:{if(!O[g|0]){break _c}g=ie(g);if(!g){break _c}p=N[g+4>>2]}if(N[147446]){break xc}N[147446]=p}if(N[q+4>>2]){N[q+48>>2]=p;N[q+44>>2]=h;N[q+40>>2]=o&1|4;g=N[y+8532>>2];N[q+52>>2]=N[y+8528>>2];N[q+56>>2]=g}g=N[H+40>>2];h=N[N[m+8>>2]+16>>2]!=0;N[g+4>>2]=h;N[g+20>>2]=h;h=S[m+304>>3]==0;N[g+52>>2]=h;N[g+68>>2]=h;He(l,q,g,N[H+36>>2]);m=O[H+57|0];l=N[q+80>>2];o=N[q+68>>2];$c:{ad:{if(O[q+63|0]){break ad}h=0;if(N[q+168>>2]){break $c}N[q+84>>2]=l;N[q+72>>2]=0;M[q+62>>1]=256;g=T(o,20);if(!g){break ad}C(N[q+88>>2],0,g)}h=N[q+88>>2]}if((o|0)>0){D=m?0:f-i|0;i=0;while(1){p=T(i,20);K=p+l|0;m=Z+T(D+N[K+8>>2]|0,360)|0;g=m;f=g;bd:{if(O[f+4|0]){break bd}while(1){f=g;g=N[f+352>>2];if(g){continue}break}g=kb(360);N[f+352>>2]=g;if(!g){break bd}F(g,f,360);g=N[f+8>>2];if(g){if(!N[g-8>>2]){break a}g=g-4|0;G=N[g>>2];if(!G){break a}N[g>>2]=G+1}f=N[f+352>>2];N[f+352>>2]=0}L[f+4|0]=0;N[f+16>>2]=N[K>>2];s=S[f+256>>3];p=h+p|0;r=XE(s*+N[p+8>>2]);cd:{if(V(r)<2147483648){g=~~r;break cd}g=-2147483648}N[f+112>>2]=g;r=S[f+264>>3];J=XE(r*+(0-N[p+12>>2]|0));dd:{if(V(J)<2147483648){g=~~J;break dd}g=-2147483648}N[f+116>>2]=g;s=XE(s*+N[p>>2]);ed:{if(V(s)<2147483648){g=~~s;break ed}g=-2147483648}N[f+144>>2]=g;s=XE(r*+(0-N[p+4>>2]|0));fd:{if(V(s)<2147483648){p=~~s;break fd}p=-2147483648}N[f+148>>2]=p;N[m+156>>2]=p+N[m+156>>2];N[m+152>>2]=g+N[m+152>>2];i=i+1|0;if((o|0)!=(i|0)){continue}break}}if(!N[q+4>>2]){break Tb}Ye(N[q+12>>2]);f=Ic();gd:{if(!f){break gd}g=N[f>>2];if(!g){break gd}if((g|0)<=0){break Sb}N[f>>2]=g+1}N[q+24>>2]=65533;N[q+16>>2]=0;N[q+20>>2]=0;N[q+12>>2]=f;N[q+52>>2]=0;N[q+56>>2]=0;N[q+44>>2]=0;N[q+48>>2]=0;N[q+36>>2]=0;N[q+40>>2]=0;N[q+28>>2]=0;N[q+32>>2]=0;L[q+60|0]=1;L[q+68|0]=0;L[q+69|0]=0;L[q+70|0]=0;L[q+71|0]=0;L[q+72|0]=0;L[q+73|0]=0;L[q+74|0]=0;L[q+75|0]=0;L[q+61|0]=0;L[q+62|0]=0;L[q+63|0]=0;L[q+64|0]=0;L[q+65|0]=0;L[q+66|0]=0;L[q+67|0]=0;L[q+68|0]=0;N[q+144>>2]=0;N[q+84>>2]=N[q+80>>2];M[q+140>>1]=0;N[q+132>>2]=0;N[q+136>>2]=0;N[q+124>>2]=0;N[q+128>>2]=0;N[q+116>>2]=0;N[q+120>>2]=0;N[q+108>>2]=0;N[q+112>>2]=0;N[q+100>>2]=0;N[q+104>>2]=0;N[q+92>>2]=0;N[q+96>>2]=0}f=j+1|0;if(k>>>0>f>>>0){continue}break}}dc(q);G=1;break na}break ma}N[h+4>>2]=g;N[h+12>>2]=ha-N[h+8>>2];N[g>>2]=h;i=h+4|0}G=0;N[i>>2]=0;while(1){f=N[g+4>>2];_a(g);g=f;if(f){continue}break}}La=y+9040|0;break la}ba(23506,14099,260,16403);B()}if(!G){g=0;mb(N[W>>2],1,8437,0);tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0;break n}l=N[n+4>>2];k=N[l+12>>2];hd:{if((k|0)<=0){p=l+12|0;f=0;break hd}j=N[l>>2];o=0;while(1){m=T(o,360);f=m+j|0;while(1){g=N[n>>2];id:{jd:{if(N[f+32>>2]){N[t+144>>2]=1;h=N[f+36>>2];N[t+152>>2]=N[f+32>>2];N[t+156>>2]=h;h=sc(N[g+844>>2],t+144|0,g);if(!h){break id}if(!O[h|0]){tb(h);break id}w=0;i=N[f+40>>2]-1&31;if((i|0)!=31){w=1/+(1<>3]*S[n+544>>3];k=N[f+44>>2]<<6;i=N[h+72>>2]-k|0;J=r*+(0-i|0);s=w*S[f+256>>3]*S[n+536>>3]/S[g+184>>3];break jd}N[t+144>>2]=0;N[t+152>>2]=N[f+8>>2];S[t+160>>3]=S[f+24>>3];N[t+168>>2]=N[f+12>>2];N[t+172>>2]=N[f+16>>2];N[t+176>>2]=N[f+320>>2];N[t+180>>2]=N[f+316>>2];N[t+184>>2]=N[f+324>>2];h=sc(N[g+844>>2],t+144|0,g);if(!h){break id}if(!O[h|0]){tb(h);break id}k=N[h+76>>2];i=N[h+72>>2];r=S[f+264>>3];J=0;s=S[f+256>>3]}S[f+56>>3]=s;N[f+48>>2]=h;S[f+80>>3]=J;N[f+72>>2]=0;N[f+76>>2]=0;S[f- -64>>3]=r;w=XE(+N[h+52>>2]*s+0);kd:{if(V(w)<2147483648){p=~~w;break kd}p=-2147483648}N[f+88>>2]=p;w=XE(+N[h+56>>2]*r+J);ld:{if(V(w)<2147483648){p=~~w;break ld}p=-2147483648}N[f+92>>2]=p;w=XE(+N[h+60>>2]*s+0);md:{if(V(w)<2147483648){p=~~w;break md}p=-2147483648}N[f+96>>2]=p;J=XE(+N[h- -64>>2]*r+J);nd:{if(V(J)<2147483648){p=~~J;break nd}p=-2147483648}N[f+100>>2]=p;if(N[g+92>>2]?N[f+32>>2]:1){g=N[h+68>>2];N[f+156>>2]=0;N[f+148>>2]=0;s=XE(s*+(g|0));od:{if(V(s)<2147483648){g=~~s;break od}g=-2147483648}N[f+152>>2]=g;N[f+144>>2]=g}s=XE(r*+(k|0));pd:{if(V(s)<2147483648){h=~~s;break pd}h=-2147483648}N[f+180>>2]=h;s=XE(r*+(i|0));qd:{if(V(s)<2147483648){h=~~s;break qd}h=-2147483648}N[f+176>>2]=h}f=N[f+352>>2];if(f){continue}break}rd:{if(!o){break rd}f=o-1|0;if(N[(j+m|0)+316>>2]|!N[(j+T(f,360)|0)+316>>2]){break rd}g=0;sd:{if(!f){break sd}while(1){h=j+T(f,360)|0;if(N[h+96>>2]!=N[h+88>>2]){g=f;break sd}if(!N[h+316>>2]){g=f;break sd}f=f-1|0;if(f){continue}break}}f=j+T(g,360)|0;g=N[f+96>>2];if((g|0)<=N[f+152>>2]){break rd}N[f+152>>2]=g}f=j+m|0;N[f+152>>2]=N[f+152>>2]+N[f+312>>2];l=N[n+4>>2];k=N[l+12>>2];o=o+1|0;if((k|0)>(o|0)){continue}break}p=l+12|0;if((k|0)<=0){f=0;break hd}j=N[l>>2];i=0;o=0;q=0;while(1){m=T(i,360);f=m+j|0;h=o;g=q;while(1){N[f+104>>2]=g;N[f+108>>2]=h;g=N[f+144>>2]+g|0;h=N[f+148>>2]+h|0;f=N[f+352>>2];if(f){continue}break}f=j+m|0;q=N[f+152>>2]+q|0;o=N[f+156>>2]+o|0;f=1;i=i+1|0;if((k|0)!=(i|0)){continue}break}}g=N[fa+32>>2];if(!g){g=N[N[n+68>>2]+108>>2]}h=N[fa+36>>2];if(!h){h=N[N[n+68>>2]+112>>2]}aa=N[fa+40>>2];if(!aa){aa=N[N[n+68>>2]+116>>2]}s=+(N[N[W+168>>2]+36>>2]-h|0);td:{ud:{h=N[n+532>>2];j=N[n>>2];vd:{if(!(h|!N[j+72>>2])){R=S[j+160>>3];r=S[j+184>>3];w=+N[N[j+168>>2]+36>>2];J=R*s/r/w+(+N[j+132>>2]-R);X=+(g|0);break vd}J=s;s=+N[j+144>>2];r=S[j+184>>3];w=+N[N[j+168>>2]+36>>2];E=+N[j- -64>>2];J=J*s/r/w+E;X=+(g|0);if(!N[j+72>>2]|h){break ud}R=S[j+160>>3]}s=X*R/r/w;break td}s=s*X/r/w+E}ca=N[n+96>>2];N[l+20>>2]=1;R=J-s;if(f){o=N[l>>2];h=-1;f=0;while(1){wd:{xd:{yd:{zd:{Ad:{g=N[l>>2]+T(f,360)|0;i=N[g>>2];Bd:{if((i|0)==10){i=N[j>>2];N[t>>2]=f;mb(i,7,17182,t);u=2;i=f;break Bd}i=(i|0)==32;if(i|!(R<=+(N[g+104>>2]+N[g+96>>2]|0)*.015625-+(N[o+104>>2]+N[o+88>>2]|0)*.015625)|N[n+516>>2]==2){break xd}if((h|0)<0){break Ad}i=N[j>>2];N[t+16>>2]=h;mb(i,7,17189,t+16|0);u=1;i=h}h=N[g>>2]==32?f:h;break zd}u=1;i=h;if((h|0)==-1){break yd}}g=i+1|0;i=N[l+20>>2];k=N[l+56>>2];Cd:{if((i|0)<(k|0)){break Cd}Dd:{if((k|0)<=1073741823){N[l+56>>2]=k<<1;N[147316]=0;i=N[l+16>>2];k=N[l+56>>2];if(k>>>0<=178956970){k=T(k,24);k=$a(i,k>>>0<=1?1:k);if(k){break Dd}}N[147316]=48;N[l+16>>2]=i;i=N[l+20>>2]}L[o+120|0]=0;N[l+20>>2]=i-1;break Cd}N[147316]=0;N[l+16>>2]=k}k=N[p>>2];if((g|0)>=(k|0)){break wd}o=N[l>>2]+T(g,360)|0;L[o+120|0]=u;N[l+20>>2]=N[l+20>>2]+1}h=-1;break wd}h=i?f:h}f=f+1|0;if((k|0)>(f|0)){continue}break}l=N[n+4>>2]}Ed:{if(N[n+516>>2]==1){break Ed}h=0;y=N[l+12>>2];if((y|0)<0){break Ed}p=1;m=N[l>>2];i=m;q=0;while(1){Fd:{K=(q|0)==(y|0);f=T(q,360);Gd:{if(!(K|O[(f+m|0)+120|0])){j=i;f=p;break Gd}j=f+m|0;Hd:{Id:{if(!h){break Id}f=i;if(O[f+120|0]!=1){break Id}Jd:{while(1){o=f;f=f-360|0;if(h>>>0>=f>>>0){break Jd}if(N[f>>2]==32){continue}break}while(1){f=f-360|0;if(h>>>0>=f>>>0){break Jd}if(N[f>>2]!=32){continue}break}}k=f;Kd:{if(f>>>0<=h>>>0){break Kd}while(1){if(N[k>>2]!=32){break Kd}k=k-360|0;if(k>>>0>h>>>0){continue}break}}g=j;G=T(N[f>>2]==32,360);u=G+f|0;if((u|0)!=(h|0)){while(1){D=g;g=g-360|0;if(i>>>0>>0&N[g>>2]==32){continue}break}g=D-360|0;g=N[g+104>>2]+N[g+96>>2]|0;f=f+G|0;s=+(g-(N[f+88>>2]+N[f+104>>2]|0)|0)*.015625;h=N[h+104>>2]+N[h+88>>2]|0;r=+(N[k+104>>2]+(N[k+96>>2]-h|0)|0)*.015625;w=r>2]+N[i+104>>2]|0)|0)*.015625;g=o-360|0;r=+((N[g+104>>2]+N[g+96>>2]|0)-h|0)*.015625;if(!(w<(r>2];if((y|0)>0){D=N[l>>2];f=D;Md:{Nd:{Od:{i=N[l+12>>2];g=i-1|0;if(!g){break Od}while(1){f=D+T(g,360)|0;h=N[f>>2];if(!((h|0)!=32&(h|0)!=10|O[f+120|0])){M[f+4>>1]=257;g=g-1|0;if(g){continue}}break}h=0;f=D;if((i|0)>0){break Od}I=N[n>>2];q=0;N[l+48>>2]=0;N[l+32>>2]=0;N[l+36>>2]=0;m=l+48|0;K=l+32|0;break Nd}Pd:{while(1){g=N[f>>2];if(!(O[f+120|0]|(g|0)!=32&(g|0)!=10)){M[f+4>>1]=257;h=h+1|0;f=D+T(h,360)|0;if((h|0)!=(i|0)){continue}break Pd}break}L[f+121|0]=1}j=D+T(i,360)|0;o=0;while(1){k=T(o,360);g=k+D|0;Qd:{if(!O[g+120|0]){break Qd}f=o-1|0;Rd:{if(!f){break Rd}while(1){h=D+T(f,360)|0;m=N[h>>2];if((m|0)!=32&(m|0)!=10|O[h+120|0]){break Rd}M[h+4>>1]=257;f=f-1|0;if(f){continue}break}}f=N[g>>2];Sd:{if((f|0)!=32&(f|0)!=10){break Sd}f=k+D|0;M[f+4>>1]=257;g=f+360|0;h=o+1|0;if((i|0)<=(h|0)){break Sd}while(1){f=N[g>>2];if((f|0)!=32&(f|0)!=10){break Sd}f=D+T(h,360)|0;if(O[f+120|0]){break Sd}M[f+4>>1]=257;g=f+360|0;o=h;h=h+1|0;if((i|0)!=(h|0)){continue}break}g=j}if(g>>>0>=j>>>0){break Qd}L[g+121|0]=1}o=o+1|0;if((o|0)<(i|0)){continue}break}I=N[n>>2];q=0;N[l+48>>2]=0;N[l+32>>2]=0;N[l+36>>2]=0;m=l+48|0;K=l+32|0;if((i|0)>0){break Md}}J=.0078125;s=0;u=0;f=0;h=0;r=0;w=0;o=0;break Ld}J=.0078125;s=0;u=0;o=0;k=0;p=1;w=0;r=0;h=0;f=0;while(1){Td:{Ud:{Vd:{q=T(k,360);g=q+D|0;Wd:{if(O[g+120|0]){j=N[l+16>>2]+T(o,24)|0;E=J*+(h|0);S[j+8>>3]=E;J=J*+(f|0);S[j>>3]=J;s=s+(J+E);S[l+32>>3]=s;r=S[n+560>>3]*r+.5;Xd:{if(V(r)<2147483648){f=~~r;break Xd}f=-2147483648}N[l+44>>2]=f;if(!o){N[l+40>>2]=f}r=S[n+552>>3]*w+.5;Yd:{if(V(r)<2147483648){f=~~r;break Yd}f=-2147483648}u=(f|0)<(u|0)?u:f;N[l+48>>2]=u;o=o+1|0;J=.0078125;h=0;w=0;j=g;r=0;f=0;break Wd}j=q+D|0;if(!(p&1)){break Vd}}if(!O[g+5|0]){f=0;r=0;h=0;w=0;p=0;break Ud}p=1;break Ud}p=0;if(O[(q+D|0)+5|0]){break Td}}g=q+D|0;E=S[g+288>>3];w=w>E?w:E;E=S[g+296>>3];r=r>E?r:E;q=N[g+180>>2];h=(h|0)>(q|0)?h:q;g=N[g+176>>2];f=(f|0)>(g|0)?f:g;J=N[j>>2]==10?J:.015625}q=1;k=k+1|0;if((k|0)!=(i|0)){continue}break}break Ld}ba(21796,18170,1877,16423);B()}if((y-1|0)!=(o|0)){ba(21820,18170,1649,8359);B()}p=N[l+16>>2];g=p+T(o,24)|0;E=J*+(h|0);S[g+8>>3]=E;J=J*+(f|0);S[g>>3]=J;r=S[n+560>>3]*r+.5;Zd:{if(V(r)<2147483648){f=~~r;break Zd}f=-2147483648}N[l+44>>2]=f;if(!o){N[l+40>>2]=f}r=S[n+552>>3]*w+.5;_d:{if(V(r)<2147483648){f=~~r;break _d}f=-2147483648}N[m>>2]=(f|0)<(u|0)?u:f;ia=S[I+40>>3];S[K>>3]=+(o|0)*ia+(s+(J+E));g=1;if(q){f=0;$d:{while(1){if(!O[(D+T(f,360)|0)+4|0]){break $d}f=f+1|0;if((i|0)!=(f|0)){continue}break}f=i}j=D+T(i,360)|0;w=+(0-N[(D+T(f,360)|0)+104>>2]|0)*.015625;r=0;f=0;while(1){k=T(f,360);h=k+D|0;ae:{if(!O[h+120|0]){k=N[(k+D|0)+104>>2];break ae}be:{if((f|0)>=(i|0)){break be}while(1){if(!O[h+4|0]|N[h>>2]==10){break be}f=f+1|0;h=D+T(f,360)|0;if((f|0)!=(i|0)){continue}break}f=i;h=j}k=p+T(g,24)|0;m=k-24|0;N[m+20>>2]=f-N[m+16>>2];N[k+16>>2]=f;r=r+(ia+(S[m+8>>3]+S[k>>3]));g=g+1|0;k=N[h+104>>2];w=+(0-k|0)*.015625}s=XE(w*64);ce:{if(V(s)<2147483648){m=~~s;break ce}m=-2147483648}N[h+104>>2]=m+k;s=XE(r*64);de:{if(V(s)<2147483648){k=~~s;break de}k=-2147483648}N[h+108>>2]=k+N[h+108>>2];f=f+1|0;if((i|0)>(f|0)){continue}break}}f=(p+T(g,24)|0)-24|0;N[f+20>>2]=i-N[f+16>>2];ee:{if((i|0)>=0){f=N[I+176>>2];g=N[n+64>>2];h=N[g>>2];y=f-h|0;G=N[I+180>>2]-(N[g+4>>2]+(f>>>0>>0)|0)|0;p=0;u=0;g=0;f=0;q=0;h=0;while(1){K=h;fe:{ge:{if((h|0)>=(i|0)){break ge}h=D+T(K,360)|0;if(O[h+121|0]){break ge}i=N[h+168>>2];h=O[h+172|0];u=i+(h?0:u)|0;q=(h|0)!=0|q;break fe}o=D+T(K,360)|0;if(!f){f=o;break fe}h=N[f+160>>2];g=h?h:g;if(!g){g=0;f=o;break fe}h=N[f+168>>2]+(O[f+172|0]?0:p)|0;i=N[f+164>>2];k=i;j=h+i|0;m=h>>31;i=m+(i>>31)|0;k=j>>>0>>0?i+1|0:i;H=q&1?0:j;i=-1e8;he:{if(h>>>0>y>>>0&(m|0)>=(G|0)|(m|0)>(G|0)){break he}p=(g|0)==2;j=p?j:h;p=p?k:m;k=p;i=1e8;if((k|0)<=(G|0)&j>>>0<=y>>>0|(k|0)<(G|0)){break he}i=f;k=o-360|0;ie:{if(k>>>0<=f>>>0){break ie}while(1){if(!O[i+4|0]){break ie}i=i+360|0;if(k>>>0>i>>>0){continue}break}}je:{if(i>>>0>=k>>>0){break je}while(1){if(!O[k+4|0]){break je}k=k-360|0;if(k>>>0>i>>>0){continue}break}}r=(+(y-h>>>0)+ +(G-((h>>>0>y>>>0)+m|0)|0)*4294967296)/(+(j-h>>>0)+ +(p-((h>>>0>j>>>0)+m|0)|0)*4294967296);Z=N[k+144>>2];Y=N[k+104>>2];q=N[i+104>>2];s=S[f+232>>3];A(+s);m=v(1)|0;p=v(0)|0;i=m>>>20&2047;ke:{if((i|0)==2047){s=s*360;s=s/s;break ke}j=p<<1;h=m<<1|p>>>31;if(!j&(h|0)==-2131951616|h>>>0<2163015680){s=!j&(h|0)==-2131951616?s*0:s;break ke}le:{if(!i){i=0;j=p<<12;k=m<<12|p>>>20;h=k;if((h|0)>0|(h|0)>=0){while(1){i=i-1|0;k=h<<1|j>>>31;j=j<<1;h=k;if((h|0)>0|(h|0)>=0){continue}break}}j=p;k=1-i|0;h=k&31;if((k&63)>>>0>=32){k=j<>>32-h|m<1031){while(1){me:{k=h-1474560|0;if((k|0)<0){break me}h=k;if(h|j){break me}s=s*0;break ke}k=h<<1|j>>>31;j=j<<1;h=k;i=i-1|0;if((i|0)>1031){continue}break}i=1031}ne:{k=h-1474560|0;if((k|0)<0){break ne}h=k;if(h|j){break ne}s=s*0;break ke}if((h|0)==1048575|h>>>0<1048575){while(1){i=i-1|0;k=h>>>0<524288;h=h<<1|j>>>31;j=j<<1;if(k){continue}break}}p=0;m=m&-2147483648;if((i|0)>0){k=h+-1048576|0;h=i<<20;i=j;k=h|k}else{k=1-i|0;i=k&31;if((k&63)>>>0>=32){k=0;i=h>>>i|0}else{k=h>>>i|0;i=((1<>>i}}x(0,i|p);x(1,k|m);s=+z()}oe:{if(!(s>90)|!(s<270)){break oe}r=1-r;k=f;if(f>>>0>=o>>>0){break oe}while(1){lb=k,nb=_E(N[k+124>>2],N[k+128>>2],32),N[lb+124>>2]=nb;N[k+128>>2]=Pa;k=k+360|0;if(o>>>0>k>>>0){continue}break}}s=XE(r*+(Z+(Y-q|0)|0));pe:{if(V(s)<2147483648){h=~~s;break pe}h=-2147483648}i=h+q|0}p=u+H|0;q=0;if(f>>>0>>0){while(1){N[f+160>>2]=g;N[f+164>>2]=i-N[f+104>>2];f=f+360|0;if(o>>>0>f>>>0){continue}break}}f=o;u=0}h=K+1|0;i=N[l+12>>2];if((K|0)<(i|0)){continue}break}q=N[n+8>>2];if((i|0)<=0){break ee}g=N[q+24>>2];f=0;while(1){N[g+(f<<2)>>2]=f;f=f+1|0;i=N[l+12>>2];if((f|0)<(i|0)){continue}break}break ee}q=N[n+8>>2]}f=O[q+57|0];if(f){u=N[q+28>>2]}else{u=q+32|0}if((i|0)>0){k=0;o=0;while(1){j=o;o=j+1|0;qe:{re:{if((j|0)==(i-1|0)){break re}g=D+T(o,360)|0;if(O[g+120|0]|N[N[q+16>>2]+(j<<2)>>2]==2107456){break re}if(f&255){break qe}if(O[g+121|0]|S[(D+T(j,360)|0)+304>>3]!=0){break re}f=0;break qe}se:{if((k|0)==(o|0)|(j|0)<(k|0)){break se}h=o-k|0;y=N[q+24>>2];p=N[q+20>>2];g=N[q+16>>2];i=N[u>>2]&1;f=j;while(1){if(N[g+(f<<2)>>2]&9441280){L[f+p|0]=i;m=(f|0)>(k|0);f=f-1|0;if(m){continue}}break}g=0;K=0;f=j;if(h>>>0>=4){G=h&-4;i=0;while(1){m=f+p|0;H=L[m-3|0];Z=L[m-2|0];Y=L[m-1|0];m=L[m|0];K=K<<24>>24;m=(m|0)>(K|0)?m:K;m=(m|0)<(Y|0)?Y:m;m=(m|0)<(Z|0)?Z:m;K=(m|0)<(H|0)?H:m;f=f-4|0;i=i+4|0;if((G|0)!=(i|0)){continue}break}}h=h&3;if(h){while(1){i=L[f+p|0];m=K<<24>>24;K=(i|0)>(m|0)?i:m;f=f-1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}i=K<<24>>24;if((i|0)<=0){break se}g=j;if(!y){while(1){te:{if((i|0)>L[g+p|0]){f=g;break te}h=((g|0)<(k|0)?g:k)-1|0;f=g;while(1){if((f|0)<=(k|0)){f=h;break te}f=f-1|0;if((i|0)<=L[p+f|0]){continue}break}}g=f-1|0;if((f|0)>(k|0)){continue}break se}}while(1){g=j;while(1){G=K<<24>>24;ue:{if((G|0)>L[g+p|0]){h=g;break ue}i=(g|0)<(k|0)?g:k;m=i-1|0;h=g;while(1){ve:{f=h;if((k|0)>=(f|0)){f=i;h=m;break ve}h=f-1|0;if((G|0)<=L[p+h|0]){continue}}break}i=g-h|0;if((i|0)<2){break ue}m=(i|0)/2|0;g=y+(f<<2)|0;f=0;if((i&-2)!=2){H=m&-2;while(1){Z=f<<2;Y=Z+g|0;ha=N[Y>>2];pa=Y;Y=g+(i+(f^-1)<<2)|0;N[pa>>2]=N[Y>>2];N[Y>>2]=ha;Z=g+(Z|4)|0;Y=N[Z>>2];pa=Z;Z=(g+(i-f<<2)|0)-8|0;N[pa>>2]=N[Z>>2];N[Z>>2]=Y;f=f+2|0;if((H|0)!=(f|0)){continue}break}}if(!(m&1)){break ue}m=g+(f<<2)|0;H=N[m>>2];f=g+(i+(f^-1)<<2)|0;N[m>>2]=N[f>>2];N[f>>2]=H}g=h-1|0;if((h|0)>(k|0)){continue}break}K=K-1|0;if((G|0)>1){continue}break}}f=O[q+57|0];we:{if(!f){f=0;break we}u=((N[N[q+16>>2]+(j<<2)>>2]==2107456)<<2)+u|0}k=o}i=N[l+12>>2];if((o|0)<(i|0)){continue}break}}o=N[q+24>>2];xe:{if(o){if((i|0)<=0){break xe}m=N[l>>2];k=0;u=1;q=0;j=0;while(1){g=T(N[o+(k<<2)>>2],360);if(O[(m+T(k,360)|0)+120|0]){s=XE(S[I+40>>3]*64);ye:{if(V(s)<2147483648){f=~~s;break ye}f=-2147483648}j=N[l+16>>2]+T(u,24)|0;s=XE(S[j-16>>3]*64);ze:{if(V(s)<2147483648){h=~~s;break ze}h=-2147483648}p=h+q|0;s=XE(S[j>>3]*64);Ae:{if(V(s)<2147483648){h=~~s;break Ae}h=-2147483648}q=f+(p+h|0)|0;u=u+1|0;j=0}h=g+m|0;if(!O[h+4|0]){f=g+m|0;p=N[h+152>>2];D=N[h+156>>2];h=j;g=q;while(1){N[f+104>>2]=N[f+112>>2]+h;N[f+108>>2]=N[f+116>>2]+g;h=N[f+144>>2]+h|0;g=N[f+148>>2]+g|0;f=N[f+352>>2];if(f){continue}break}q=q+D|0;j=j+p|0}k=k+1|0;if((k|0)!=(i|0)){continue}break}break xe}mb(N[I>>2],1,8414,0);h=0;g=N[l+12>>2];if((g|0)>0){while(1){f=N[(N[l>>2]+T(h,360)|0)+352>>2];if(f){while(1){g=N[f+352>>2];_a(f);f=g;if(f){continue}break}g=N[l+12>>2]}h=h+1|0;if((h|0)<(g|0)){continue}break}}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break xe}N[f+12>>2]=0}m=N[n+216>>2];q=m&2;l=N[n+96>>2];u=l&3;f=0;g=N[n+4>>2];j=N[g>>2];k=N[g+12>>2];if((k|0)>=0){p=q?u:N[n+100>>2];h=q?1:u;w=0;r=0;while(1){i=(f|0)==(k|0);if(i|O[(j+T(f,360)|0)+120|0]){w=r=(k|0)){break Be}g=j+T(f,360)|0;if(O[g+4|0]){break Be}Ce:{switch(N[g>>2]){case 0:case 10:break Be;default:break Ce}}r=r+ +N[g+152>>2]*.015625}f=f+1|0;if(!i){continue}break}s=R-w;E=s*.5;ia=w+E;f=0;D=h-1|0;o=-1;while(1){h=f;if(!(!O[(j+T(f,360)|0)+120|0]&(f|0)!=(k|0))){J=0;De:{Ee:{switch(D|0){case 0:Fe:{switch(p-2|0){case 1:J=w-r;break De;case 0:break Fe;default:break De}}J=(w-r)*.5;break De;case 2:J=s;Ge:{switch(p-1|0){case 1:J=s+(w-r)*.5;break De;case 0:break De;default:break Ge}}J=R-r;break De;case 1:break Ee;default:break De}}J=E;He:{switch(p-1|0){case 2:J=ia-r;break De;case 0:break De;default:break He}}J=(R-r)*.5}g=o+1|0;Ie:{if((h|0)<=(g|0)){break Ie}r=XE(J*64);Je:{if(V(r)<2147483648){i=~~r;break Je}i=-2147483648}if(!j){break Ie}if(h+(o^-1)&1){f=j+T(g,360)|0;while(1){N[f+104>>2]=i+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}g=o+2|0}if((h-2|0)==(o|0)){break Ie}while(1){o=T(g,360);f=o+j|0;while(1){N[f+104>>2]=i+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}f=(j+o|0)+360|0;while(1){N[f+104>>2]=i+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}g=g+2|0;if((h|0)!=(g|0)){continue}break}}o=h-1|0;r=0}Ke:{if((h|0)>=(k|0)){break Ke}f=j+T(h,360)|0;if(O[f+4|0]){break Ke}Le:{switch(N[f>>2]){case 0:case 10:break Ke;default:break Le}}r=r+ +N[f+152>>2]*.015625}f=h+1|0;if((h|0)!=(k|0)){continue}break}}h=N[$+12>>2];Me:{if((h|0)<=0){J=0;ia=0;R=0;E=0;break Me}i=N[$>>2];w=S[$+32>>3];s=S[N[$+16>>2]>>3];f=0;ia=-32e3;J=32e3;while(1){g=i+T(f,360)|0;if(!O[g+4|0]){r=+N[g+104>>2]*.015625;E=r+ +N[g+152>>2]*.015625;ia=E>2];if((k|0)>0){o=N[N[N[p+168>>2]+88>>2]+36>>2]&4;D=N[N[n+8>>2]+24>>2];g=0;i=0;while(1){f=T(N[D+(i<<2)>>2],360);h=j+T(i,360)|0;if(!O[h+121|0]|o?O[h+120|0]:1){g=0}Ne:{Oe:{h=f+j|0;s=S[h+256>>3];if(s!=0){r=S[h+264>>3];if(r!=0){break Oe}}L[h+4|0]=1;break Ne}if(O[h+4|0]){break Ne}f=f+j|0;while(1){N[f+108>>2]=N[f+108>>2]+g;f=N[f+352>>2];if(f){continue}break}s=r*(S[h+248>>3]/s)*+N[h+152>>2]+ +(g|0);if(V(s)<2147483648){g=~~s;break Ne}g=-2147483648}i=i+1|0;if((k|0)!=(i|0)){continue}break}}D=ca&12;Pe:{Qe:{Re:{Se:{Te:{Ue:{Ve:{We:{Xe:{f=m&1;if(f){g=l&12;r=0;s=J;w=0;Ye:{Ze:{_e:{switch(u-1|0){case 1:s=(J+ia)*.5;break Ze;case 0:break Ze;case 2:break _e;default:break Ye}}s=ia}w=s}s=E;$e:{af:{bf:{switch(g|0){case 8:s=(E+R)*.5;break af;case 4:break af;case 0:break bf;default:break $e}}s=R}r=s}g=N[W+168>>2];s=S[n+152>>3]*+N[W+140>>2]/+N[g+40>>2]+ +N[W+56>>2]-r;ta=S[n+144>>3]*+N[W+144>>2]/S[W+184>>3]/+N[g+36>>2]+ +N[W- -64>>2]-w;if(!q){break Xe}break We}s=0;if(q){break We}if(N[p+72>>2]?N[n+532>>2]:1){ta=+N[p+144>>2]*X/S[p+184>>3]/+N[N[p+168>>2]+36>>2]+ +N[p- -64>>2]}else{ta=S[p+160>>3]*X/S[p+184>>3]/+N[N[p+168>>2]+36>>2]}if(!(m&4)){break Ve}break Ue}if(!(m&4)){break Qe}break Ue}cf:{df:{switch(N[n+476>>2]){case 1:r=+N[N[W+168>>2]+36>>2];ta=(r-S[n+480>>3])*+N[W+144>>2]/S[W+184>>3]/r+ +N[W- -64>>2];break cf;case 0:break df;default:break cf}}ta=S[n+480>>3]*+N[W+144>>2]/S[W+184>>3]/+N[N[W+168>>2]+36>>2]+ +N[W- -64>>2]-(ia-J)}if(m&4){break Ue}if(f){break Qe}}switch(D-4|0){case 4:break Se;case 0:break Te;default:break Re}}ef:{switch(N[n+476>>2]-2|0){case 0:g=N[n+532>>2];s=ri(p,g,S[n+480>>3]+ +N[n+488>>2])-R;break Pe;case 1:break ef;default:break Qe}}g=N[n+532>>2];s=ri(p,g,+N[n+492>>2]-S[n+480>>3])-E;break Pe}s=lo(p,N[n+532>>2],+(aa|0))+S[N[$+16>>2]>>3];break Qe}g=N[n+532>>2];s=ri(p,g,+N[N[W+168>>2]+40>>2]*.5)-(E+R)*.5;break Pe}r=0;f=N[n+532>>2];r=f?r:S[W+48>>3];if(D){mb(N[W>>2],6,23538,0);p=N[n>>2];f=N[n+532>>2]}s=+(N[N[W+168>>2]+40>>2]-aa|0);w=+N[p+140>>2]*s/+N[N[p+168>>2]+40>>2]+ +N[p+56>>2];ff:{if(N[p+72>>2]?f:1){break ff}w=S[p+152>>3];w=w*s/+N[N[p+168>>2]+40>>2]+(+N[p+136>>2]-w)}s=w;w=lo(p,f,0);X=S[N[$+16>>2]>>3];da=w+X;s=X+(s+r*(w-s)/100-S[$+32>>3]);s=s0?da:s:s}g=N[n+532>>2]}gf:{hf:{if(N[W+72>>2]?g:1){o=N[W+144>>2];r=+(o|0);f=N[W+168>>2];w=+N[f+36>>2];i=N[W- -64>>2];X=+(i|0);k=qc(+N[n+240>>2]*r/w+X);N[n+240>>2]=k;m=qc(r*+N[n+248>>2]/w+X);N[n+248>>2]=m;q=N[W+140>>2];r=+(q|0);w=+N[f+40>>2];j=N[W+56>>2];X=+(j|0);h=qc(+N[n+244>>2]*r/w+X);N[n+244>>2]=h;f=qc(r*+N[n+252>>2]/w+X);N[n+252>>2]=f;if(!g){break gf}h=(h|0)>(j|0)?h:j;N[n+244>>2]=h;N[n+240>>2]=(i|0)<(k|0)?k:i;g=i+o|0;N[n+248>>2]=(g|0)>(m|0)?m:g;g=j+q|0;f=(f|0)<(g|0)?f:g;break hf}N[n+240>>2]=0;N[n+244>>2]=0;N[n+248>>2]=N[W+16>>2];h=0;f=N[W+20>>2]}N[n+252>>2]=f}if(O[n+216|0]&4){r=+N[W+140>>2];w=+N[N[W+168>>2]+40>>2];X=+N[W+56>>2];g=qc(r*+N[n+492>>2]/w+X);N[n+252>>2]=(f|0)<(g|0)?f:g;f=qc(+N[n+488>>2]*r/w+X);N[n+244>>2]=(f|0)<(h|0)?h:f}jf:{if(O[n+256|0]){f=N[p+168>>2];r=S[n+168>>3]*+N[p+140>>2]/+N[f+40>>2]+ +N[p+56>>2];w=S[n+160>>3]*+N[p+144>>2]/S[p+184>>3]/+N[f+36>>2]+ +N[p- -64>>2];break jf}f=N[n+96>>2];g=f&12;r=0;w=0;kf:{lf:{switch((f&3)-1|0){case 0:w=J;break kf;case 1:w=(J+ia)*.5;break kf;case 2:break lf;default:break kf}}w=ia}mf:{nf:{switch(g|0){case 4:r=E;break mf;case 8:r=(E+R)*.5;break mf;case 0:break nf;default:break mf}}r=R}r=s+r;w=ta+w}u=N[n+4>>2];i=N[u+12>>2];j=(i|0)<=0;of:{if(j){break of}k=N[u>>2];if(!k){break of}r=s-r;w=ta-w;E=S[n+560>>3];R=S[p+184>>3];X=S[n+552>>3];h=0;while(1){f=k+T(h,360)|0;while(1){da=XE((S[f+208>>3]*E+r)*64);pf:{if(V(da)<2147483648){g=~~da;break pf}g=-2147483648}N[f+340>>2]=g+N[f+108>>2];da=XE((w+X*S[f+200>>3]/R)*64);qf:{if(V(da)<2147483648){g=~~da;break qf}g=-2147483648}N[f+336>>2]=g+N[f+104>>2];f=N[f+352>>2];if(f){continue}break}h=h+1|0;if((i|0)!=(h|0)){continue}break}}rf:{if(j){o=0;break rf}r=+N[p- -64>>2];jb=(ta-r)*S[p+184>>3]+r;m=N[u+24>>2];K=t+240|0;G=t+236|0;r=XE(s*64);sf:{if(V(r)<2147483648){j=~~r;break sf}j=-2147483648}o=0;i=1;h=0;q=0;while(1){f=N[u>>2]+T(q,360)|0;i=O[f+121|0]!=0|i;tf:{if(O[f+4|0]){while(1){tb(N[f+48>>2]);f=N[f+352>>2];if(f){continue}break tf}}while(1){k=N[f+280>>2];g=(k|0)==3;g=S[f+288>>3]==0&S[f+296>>3]==0?g:g|2;g=S[f+200>>3]==0&S[f+208>>3]==0?g:g|4;if(!(!(g&4)|!((N[f+160>>2]&-2)==2|O[f+140|0]!=255)&(k|0)!=3)){g=g|8}g=g&10?g:g&11;uf:{vf:{if(!(O[f+141|0]|(O[f+140|0]|!(g&2)))){if(!N[f+328>>2]|(k|0)==3){break vf}break uf}if((k|0)!=3){break uf}}g=g|16}wf:{xf:{yf:{zf:{Af:{Bf:{if(i&1){i=N[u+60>>2];Cf:{if(i>>>0>o>>>0){k=m;break Cf}N[147316]=0;l=N[u+24>>2];y=i<<1;if(y>>>0>48806446){break zf}i=T(i,176);k=$a(l,i>>>0<=1?1:i);if(!k){break zf}N[147316]=0;N[u+60>>2]=y;N[u+24>>2]=k}i=N[f+128>>2];h=T(o,88)+k|0;N[h+24>>2]=N[f+124>>2];N[h+28>>2]=i;i=N[f+136>>2];N[h+32>>2]=N[f+132>>2];N[h+36>>2]=i;N[h+40>>2]=N[f+160>>2];i=N[f+164>>2];N[h+48>>2]=268435455;N[h+44>>2]=i;N[h>>2]=g;N[h+4>>2]=N[f+184>>2];r=S[n+576>>3];w=S[f+192>>3];E=S[n+568>>3]*.8493218002880191*w*.03125;m=t+144|0;Vd((E+1)*4,m);l=N[t+144>>2];E=XE(ko(E)*256);Df:{if(V(E)<2147483648){i=~~E;break Df}i=-2147483648}N[h+8>>2]=i;r=w*(r*.8493218002880191)*.03125;Vd((r+1)*4,m);m=N[t+144>>2];r=XE(ko(r)*256);Ef:{if(V(r)<2147483648){i=~~r;break Ef}i=-2147483648}N[h+12>>2]=i;i=0;if(g&4){r=XE(S[f+208>>3]*S[n+560>>3]*64);Ff:{if(V(r)<2147483648){y=~~r;break Ff}y=-2147483648}i=-1<>1^-1)&i;r=XE(S[f+200>>3]*S[n+552>>3]*64);Gf:{if(V(r)<2147483648){y=~~r;break Gf}y=-2147483648}m=-1<>1^-1)&m}else{m=0}N[h+16>>2]=m;N[h+20>>2]=i;N[h+64>>2]=2147483647;N[h+68>>2]=2147483647;N[h+52>>2]=0;N[h+56>>2]=0;i=kb(1536);N[h+80>>2]=0;N[h+84>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;N[h+60>>2]=i;if(i){break Bf}tb(N[f+48>>2]);m=k;i=1;break wf}if(h){break Af}ba(12501,18170,2574,10923);B()}N[h+56>>2]=64;o=o+1|0;m=k}r=S[p+184>>3];I=j+N[f+108>>2]|0;N[f+108>>2]=I;r=XE((r*(+N[f+104>>2]*.015625)+jb)*64);Hf:{if(V(r)<2147483648){i=~~r;break Hf}i=-2147483648}N[f+104>>2]=i;If:{k=N[f+48>>2];Jf:{if(!k){break Jf}Kf:{switch(N[f>>2]){case 0:case 10:break Jf;default:break Kf}}if(!O[f+4|0]){break If}}tb(k);break xf}l=N[n>>2];aa=N[h+52>>2];ga=S[f+256>>3];da=S[f+240>>3];ja=S[f+264>>3];w=S[f+232>>3]*.017453292519943295;r=pi(w);w=oi(w);R=S[f+224>>3]*.017453292519943295;E=oi(R);qa=S[f+216>>3]*.017453292519943295;la=oi(qa);X=pi(R);ma=S[f+72>>3];na=S[f+80>>3];y=N[f+340>>2];ca=N[f+176>>2];H=N[f+336>>2];ra=S[l+184>>3];za=S[n+576>>3];R=S[f+56>>3];Aa=S[f+248>>3];ka=da*ga/ja;wa=w+r*ka;va=r-ka*w;ua=-la;xa=va*ua;da=E*wa+X*xa;sa=S[f- -64>>3];Fa=da*sa;S[t+200>>3]=Fa;ga=ja*Aa/ga;Ba=r+w*ga;la=r*ga-w;Ia=la*ua;ga=E*Ba+X*Ia;Aa=R*ga;S[t+192>>3]=Aa;Ga=+(I-y|0);Ha=pi(qa);ja=za*2e4;qa=da*Ga+Ha*va*ja;Ja=sa*qa;S[t+176>>3]=Ja;la=ga*Ga+ja*(Ha*la);Ka=R*la;S[t+168>>3]=Ka;Ma=+(H|0);za=+(i|0)-ra*Ma;va=wa*X-E*xa;wa=ja*ra;ra=da*za+va*wa;va=sa*ra;S[t+152>>3]=va;sa=ga*za+wa*(Ba*X-E*Ia);xa=R*sa;S[t+144>>3]=xa;R=+(ca|0)*ka+Ma;ka=+(y|0);Ba=r*R+w*ka;r=r*ka-R*w;ka=r*ua;w=ja+(E*Ba+X*ka);R=w+(ga*ma+da*na);S[t+208>>3]=R;ja=w*Ga+ja*(Ha*r);ua=ja+(la*ma+qa*na);S[t+184>>3]=ua;X=w*za+wa*(Ba*X-E*ka);r=X+(sa*ma+ra*na);S[t+160>>3]=r;Lf:{if(N[f+160>>2]!=2){break Lf}y=N[k+4>>2];if(!y){break Lf}I=N[k+20>>2];k=0;while(1){i=I+(k<<3)|0;ma=+N[i>>2];na=+N[i+4>>2];E=R+(Aa*ma+Fa*na);E=(r+(xa*ma+va*na))/(E>.1?E:.1);A(+E);i=v(1)|0;i=i&2147483647;if(!(v(0)|0)&(i|0)==2146435072|i>>>0<2146435072){ca=N[h+48>>2];E=E>-268435455?E:-268435455;E=XE(E>268435455?268435455:E);Mf:{if(V(E)<2147483648){i=~~E;break Mf}i=-2147483648}N[h+48>>2]=(i|0)>(ca|0)?ca:i}k=k+1|0;if((y|0)!=(k|0)){continue}break}}N[t+108>>2]=N[f+48>>2];if(!ni(t+144|0,t+80|0,t+88|0,!aa,t+108|0)){tb(N[f+48>>2]);break xf}i=sc(N[l+848>>2],t+108|0,n);N[f+344>>2]=i;Nf:{if(i){if(N[i+20>>2]){break Nf}tb(i)}N[f+344>>2]=0}k=N[t+84>>2];y=k;i=N[t+80>>2];N[t+72>>2]=i;N[t+76>>2]=k;Of:{if(g&1){if(!(g&6)){break xf}N[t+224>>2]=3;g=N[f+144>>2];k=N[f+312>>2];R=S[l+184>>3];ma=S[n+552>>3];na=S[f+288>>3];ka=S[f+256>>3];ua=S[f+272>>3];r=ua*S[f+264>>3];E=S[f+296>>3]*64*S[n+560>>3]*r;E=E<64?64:E;I=N[f+176>>2];r=(E+E+r*+(I+N[f+180>>2]|0))*.015625;S[t+200>>3]=da*r;S[t+176>>3]=qa*r;S[t+152>>3]=ra*r;r=ma*(na*64)/R;R=ka*ua;r=r*R;r=r<64?64:r;R=(r+r+R*+(g+k|0))*.015625;S[t+192>>3]=ga*R;E=-E-+(I|0);S[t+184>>3]=ja+(qa*E-la*r);S[t+168>>3]=la*R;S[t+160>>3]=X+(ra*E-sa*r);S[t+144>>3]=sa*R;R=w+(da*E-ga*r);break Of}if(!(g&2)){break xf}N[t+224>>2]=2;g=N[f+48>>2];N[t+232>>2]=g;X=S[t+208>>3];da=V(S[t+192>>3]);ma=S[n+552>>3]*64*S[f+288>>3]/S[f+56>>3]/S[l+184>>3];w=ma+64+ +(N[g+60>>2]-N[g+52>>2]|0)*.5;na=V(S[t+200>>3]);qa=S[n+560>>3]*64*S[f+296>>3]/S[f+64>>3];E=qa+64+ +(N[g- -64>>2]-N[g+56>>2]|0)*.5;ga=X-da*w-na*E;X=X*.0625;X=1/(X>3]);ga=V(S[t+152>>3]);ra=da*w+ga*E;ja=V(S[t+168>>3]);sa=ja*w;w=V(S[t+176>>3]);E=sa+E*w;E=(Eja?da:ja)),G);Vd(la*(na*E+(w>2];w=sd(ma,I);aa=N[t+240>>2];E=sd(qa,aa);if(!(w<268435455)|!(E<268435455)){break xf}E=XE(E*.0625);Pf:{if(V(E)<2147483648){g=~~E;break Pf}g=-2147483648}N[t+248>>2]=g;w=XE(w*.0625);Qf:{if(V(w)<2147483648){k=~~w;break Qf}k=-2147483648}N[t+244>>2]=k;if(!(g|k)){break yf}g=0-I|0;lb=t,pb=sd(xa,g),S[lb+144>>3]=pb;S[t+160>>3]=r;k=0-aa|0;lb=t,pb=sd(va,k),S[lb+152>>3]=pb;lb=t,pb=sd(Ka,g),S[lb+168>>3]=pb;S[t+184>>3]=ua;lb=t,pb=sd(Ja,k),S[lb+176>>3]=pb;lb=t,pb=sd(Aa,g),S[lb+192>>3]=pb;lb=t,pb=sd(Fa,k),S[lb+200>>3]=pb}S[t+208>>3]=R;g=sc(N[l+844>>2],t+224|0,l);N[t+108>>2]=g;if(!g){tb(0);break xf}Rf:{if(O[g|0]){if(ni(t+144|0,t+72|0,t+88|0,0,t+108|0)){break Rf}g=N[t+108>>2]}tb(g);break xf}g=sc(N[l+848>>2],t+108|0,n);N[f+348>>2]=g;Sf:{if(g){if(N[g+20>>2]){break Sf}tb(g)}N[f+348>>2]=0;N[t+72>>2]=i;N[t+76>>2]=y;break xf}if(N[f+344>>2]){break xf}g=N[t+76>>2];N[t+80>>2]=N[t+72>>2];N[t+84>>2]=g;break xf}N[147316]=48;N[u+24>>2]=l;tb(N[f+48>>2]);i=1;break wf}g=N[f+344>>2];if(g){if(!N[g-8>>2]){break a}g=g-4|0;i=N[g>>2];if(!i){break a}N[g>>2]=i+1}N[f+348>>2]=N[f+344>>2]}g=N[f+344>>2];Tf:{if(!(g|N[f+348>>2])){tb(0);break Tf}Uf:{k=N[h+52>>2];i=N[h+56>>2];Vf:{if(k>>>0>>0){i=N[h+60>>2];break Vf}N[147316]=0;g=N[h+60>>2];k=i<<1;if(k>>>0>178956970){break Uf}i=T(i,48);i=$a(g,i>>>0<=1?1:i);if(!i){break Uf}N[147316]=0;N[h+56>>2]=k;N[h+60>>2]=i;k=N[h+52>>2];g=N[f+344>>2]}k=T(k,24)+i|0;N[k>>2]=g;N[k+4>>2]=N[f+348>>2];g=N[t+84>>2];i=N[t+80>>2];N[k+8>>2]=i;N[k+12>>2]=g;l=N[t+76>>2];k=N[h+60>>2]+T(N[h+52>>2],24)|0;N[k+16>>2]=N[t+72>>2];N[k+20>>2]=l;N[h+52>>2]=N[h+52>>2]+1;k=N[h+64>>2];N[h+64>>2]=(i|0)>(k|0)?k:i;i=N[h+68>>2];N[h+68>>2]=(g|0)>(i|0)?i:g;break Tf}N[147316]=48;N[h+60>>2]=g;tb(N[f+344>>2]);tb(N[f+348>>2])}i=0}f=N[f+352>>2];if(f){continue}break}}q=q+1|0;if((q|0)>2]){continue}break}if(!o){o=0;break rf}K=0;while(1){f=T(K,88)+m|0;k=N[f+52>>2];Wf:{if(!k){_a(N[f+60>>2]);break Wf}if(N[f+40>>2]==2){lb=f,nb=qc(+N[f+44>>2]*.015625*S[p+184>>3]+ +N[f+48>>2]*.015625),N[lb+44>>2]=nb}i=N[f+68>>2];q=N[f+60>>2];j=N[f+64>>2];h=0;while(1){g=q+T(h,24)|0;N[g+8>>2]=N[g+8>>2]-j;N[g+16>>2]=N[g+16>>2]-j;N[g+12>>2]=N[g+12>>2]-i;N[g+20>>2]=N[g+20>>2]-i;h=h+1|0;if((k|0)!=(h|0)){continue}break}g=N[f+20>>2];N[t+160>>2]=N[f+16>>2];N[t+164>>2]=g;g=N[f+12>>2];N[t+152>>2]=N[f+8>>2];N[t+156>>2]=g;g=N[f+4>>2];N[t+144>>2]=N[f>>2];N[t+148>>2]=g;N[t+168>>2]=N[f+52>>2];N[t+172>>2]=N[f+60>>2];g=sc(N[p+852>>2],t+144|0,p);if(!g){break Wf}if(N[g+20>>2]){N[f+72>>2]=g}if(N[g+44>>2]){N[f+76>>2]=g+24}if(N[g+68>>2]){N[f+80>>2]=g+48}N[f+84>>2]=g}K=K+1|0;if((K|0)!=(o|0)){continue}break}}N[u+28>>2]=o;N[ea+24>>2]=0;N[ea+28>>2]=0;N[ea+16>>2]=0;N[ea+20>>2]=0;N[ea+8>>2]=0;N[ea+12>>2]=0;N[ea>>2]=0;N[ea+4>>2]=0;r=s-S[N[$+16>>2]>>3];s=+N[$+40>>2];r=r-s;Xf:{if(V(r)<2147483648){f=~~r;break Xf}f=-2147483648}N[ea+4>>2]=f;s=S[$+32>>3]+ +N[$+44>>2]+s;Yf:{if(V(s)<2147483648){f=~~s;break Yf}f=-2147483648}N[ea+8>>2]=f;s=S[W+184>>3];g=N[$+48>>2];r=(J+ta)*s-+(g|0)+.5;Zf:{if(V(r)<2147483648){f=~~r;break Zf}f=-2147483648}N[ea+12>>2]=f;s=(ia-J)*s+ +(g<<1)+.5;_f:{if(V(s)<2147483648){f=~~s;break _f}f=-2147483648}N[ea+16>>2]=f;f=L[n+258|0];N[ea+28>>2]=fa;N[ea+24>>2]=D?1:-1;N[ea+20>>2]=f;i=t+80|0;f=N[n+4>>2];g=N[f+28>>2];if(g){h=N[f+24>>2];f=0;while(1){j=h+T(f,88)|0;k=N[j+80>>2];if(!(!k|N[n+220>>2]==4)){i=we(n,k,N[j+64>>2],N[j+68>>2],N[j+36>>2],0,1e6,i,2,N[j+84>>2])}f=f+1|0;if((g|0)!=(f|0)){continue}break}k=0;while(1){f=h+T(k,88)|0;j=N[f+76>>2];if(!(!j|N[f+40>>2]==3&N[f+44>>2]<=0)){i=we(n,j,N[f+64>>2],N[f+68>>2],N[f+32>>2],0,1e6,i,1,N[f+84>>2])}k=k+1|0;if((g|0)!=(k|0)){continue}break}k=0;while(1){f=h+T(k,88)|0;j=N[f+72>>2];$f:{if(!j){break $f}ag:{switch(N[f+40>>2]-1|0){case 0:case 2:m=N[f+84>>2];o=N[f+68>>2];p=N[f+64>>2];if(N[f+44>>2]>0){i=we(n,j,p,o,N[f+24>>2],0,1e6,i,0,m);break $f}i=we(n,j,p,o,N[f+28>>2],0,1e6,i,0,m);break $f;case 1:i=we(n,j,N[f+64>>2],N[f+68>>2],N[f+24>>2],N[f+28>>2],N[f+44>>2],i,0,N[f+84>>2]);break $f;default:break ag}}i=we(n,j,N[f+64>>2],N[f+68>>2],N[f+24>>2],0,1e6,i,0,N[f+84>>2])}k=k+1|0;if((g|0)!=(k|0)){continue}break}f=0;while(1){tb(N[(h+T(f,88)|0)+84>>2]);f=f+1|0;if((g|0)!=(f|0)){continue}break}}N[i>>2]=0;f=N[t+80>>2];if(N[n+296>>2]){h=N[n>>2];N[t+224>>2]=1;g=N[n+300>>2];N[t+232>>2]=N[n+296>>2];N[t+236>>2]=g;N[t+200>>2]=0;N[t+204>>2]=0;N[t+192>>2]=0;N[t+196>>2]=0;N[t+184>>2]=0;N[t+188>>2]=0;N[t+176>>2]=0;N[t+180>>2]=0;N[t+168>>2]=0;N[t+172>>2]=0;N[t+160>>2]=0;N[t+164>>2]=0;N[t+152>>2]=0;N[t+156>>2]=0;N[t+144>>2]=0;N[t+148>>2]=0;r=0;g=N[n+452>>2]-1&31;if((g|0)!=31){r=1/+(1<>3]=r*S[n+536>>3];s=S[n+544>>3];N[t+208>>2]=0;N[t+212>>2]=1072693248;S[t+176>>3]=r*s;S[t+160>>3]=N[h- -64>>2]<<6;S[t+184>>3]=N[h+56>>2]<<6;g=sc(N[h+844>>2],t+224|0,h);N[t+108>>2]=g;bg:{if(!g){tb(0);break bg}cg:{if(O[g|0]){if(ni(t+144|0,t+88|0,0,1,t+108|0)){break cg}g=N[t+108>>2]}tb(g);break bg}g=sc(N[h+848>>2],t+108|0,n);if(!g){break bg}dg:{if(!f){break dg}Y=N[t+92>>2];fa=N[t+88>>2];while(1){j=fa+N[g>>2]|0;i=j+N[g+8>>2]|0;K=N[f+4>>2];k=N[f+24>>2];p=K+k|0;o=Y+N[g+4>>2]|0;ha=N[f>>2];m=N[f+20>>2];u=ha+m|0;G=(p|0)<(o|0)|(j|0)>(u|0)|(i|0)<(m|0);l=o+N[g+12>>2]|0;I=(l|0)>(p|0)?p:l;p=(k|0)>(o|0)?k:o;q=I-p|0;aa=(i|0)>(u|0)?u:i;u=(j|0)<(m|0)?m:j;i=aa-u|0;ca=p-o|0;H=u-j|0;D=p-k|0;y=u-m|0;j=1<>2];o=N[g+16>>2];m=N[f+8>>2];W=N[g+20>>2];Z=N[f+12>>2];eg:{fg:{if(N[n+456>>2]){if((u|0)==(aa|0)|G|((p|0)==(I|0)|(k|0)>(l|0))){break eg}k=Eo(j,j+T(m,K)|0);if(!k){break dg}F(k,Z,ha+T(m,K-1|0)|0);Qa[N[h+900>>2]](y+(T(m,D)+k|0)|0,m,H+(W+T(o,ca)|0)|0,o,i,q);break fg}gg:{if(!((u|0)==(aa|0)|G|(k|0)>(l|0))){if((p|0)!=(I|0)){break gg}}N[f+8>>2]=0;N[f>>2]=0;N[f+4>>2]=0;break eg}k=0-j|0;p=i>>>0>k>>>0?i:k&(i+j|0)-1;k=Eo(j,j+T(p,q)|0);if(!k){break dg}Qa[N[h+904>>2]](k,p,y+(Z+T(m,D)|0)|0,m,H+(W+T(o,ca)|0)|0,o,i,q);N[f+8>>2]=p;N[f+4>>2]=q;N[f>>2]=i;N[f+20>>2]=y+N[f+20>>2];N[f+24>>2]=D+N[f+24>>2]}N[f+40>>2]=k;N[f+12>>2]=k;tb(N[f+36>>2]);N[f+36>>2]=0}f=N[f+28>>2];if(f){continue}break}}tb(g)}f=N[t+80>>2]}N[ea>>2]=f;hg:{if(N[n+220>>2]!=4){break hg}h=N[n>>2];k=0;g=0;s=S[n+272>>3];if(s>0){g=qc(s*S[n+552>>3])}s=S[n+280>>3];if(s>0){k=qc(s*S[n+560>>3])}j=N[ea+12>>2];i=N[ea+16>>2]+(j+g|0)|0;i=(i|0)>0?i:0;g=j-g|0;j=(g|0)>0?g:0;g=N[h+132>>2];j=(g|0)>(j|0)?j:g;i=((g|0)>(i|0)?i:g)-j|0;if((i|0)<=0){break hg}g=N[ea+4>>2];m=N[ea+8>>2]+(g+k|0)|0;m=(m|0)>0?m:0;g=g-k|0;k=(g|0)>0?g:0;g=N[h+136>>2];k=(g|0)>(k|0)?k:g;m=((g|0)>(m|0)?m:g)-k|0;if((m|0)<=0){break hg}g=T(i,m);if(g>>>0>4294967289){break hg}h=kb(g+4|0);if(!h){break hg}N[h>>2]=h;o=h+4|0;C(o,255,g);p=N[n+236>>2];g=kb(48);if(!g){_a(h);break hg}N[g+44>>2]=0;N[g+40>>2]=o;N[g+36>>2]=0;N[g+24>>2]=k;N[g+20>>2]=j;N[g+16>>2]=p;N[g+12>>2]=o;N[g+8>>2]=i;N[g+4>>2]=m;N[g>>2]=i;N[g+28>>2]=f;N[ea>>2]=g}g=1;h=N[$+12>>2];if((h|0)>0){k=0;while(1){f=N[(N[$>>2]+T(k,360)|0)+352>>2];if(f){while(1){h=N[f+352>>2];_a(f);f=h;if(f){continue}break}h=N[$+12>>2]}k=k+1|0;if((k|0)<(h|0)){continue}break}}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0;break n}tb(N[n+72>>2]);N[n+496>>2]=0;N[n+500>>2]=0;g=0;N[n+72>>2]=0;N[n+296>>2]=0;N[n+300>>2]=0;f=N[n+4>>2];if(!f){break n}N[f+12>>2]=0}La=t+272|0;_=g+_|0;h=N[b+8>>2]}U=U+1|0;if((U|0)<(h|0)){continue}break}if((_|0)<=0){break k}Zc(N[a+124>>2],_,32,108);f=N[a+124>>2];ig:{if((_|0)==1){b=f;_=1;break ig}U=1;b=f;while(1){c=U<<5;d=c+f|0;if(N[N[b+28>>2]+20>>2]!=N[N[d+28>>2]+20>>2]){mo(a,b,d-b>>5);f=N[a+124>>2];b=c+f|0}U=U+1|0;if((_|0)!=(U|0)){continue}break}}mo(a,b,((_<<5)+f|0)-b>>5);f=0;U=ya;if((_|0)!=1){c=_&1;d=_&-2;while(1){_=N[a+124>>2];g=f<<5;b=N[_+g>>2];if(b){while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}_=N[a+124>>2]}b=N[_+(g|32)>>2];if(b){while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}}f=f+2|0;if((d|0)!=(f|0)){continue}break}if(!c){break k}}b=N[N[a+124>>2]+(f<<5)>>2];if(!b){break k}while(1){N[U>>2]=b;U=b+28|0;b=N[b+28>>2];if(b){continue}break}}g=N[ya>>2];if(g){N[g+44>>2]=N[g+44>>2]+1}U=N[a+120>>2];if(e){f=0;jg:{if(!U){b=g;break jg}_=U;b=g;while(1){if(!b){b=0;f=2;break jg}h=2;kg:{if(N[_>>2]!=N[b>>2]|N[_+4>>2]!=N[b+4>>2]|(N[_+8>>2]!=N[b+8>>2]|N[_+16>>2]!=N[b+16>>2])){break kg}if(N[_+12>>2]!=N[b+12>>2]){break kg}h=1;if(N[_+20>>2]!=N[b+20>>2]){break kg}h=N[_+24>>2]!=N[b+24>>2]}f=(f|0)<(h|0)?h:f;b=N[b+28>>2];_=N[_+28>>2];if(!_){break jg}if(f>>>0<2){continue}break}}N[e>>2]=b?2:f}lg:{if(!U){break lg}b=N[U+44>>2]-1|0;N[U+44>>2]=b;if(b){break lg}while(1){b=N[U+28>>2];tb(N[U+36>>2]);c=N[U+40>>2];if(c){_a(N[c-4>>2])}_a(U);U=b;if(b){continue}break}g=N[ya>>2]}N[a+120>>2]=0;break b}ba(9781,18170,3106,15850);B()}if(!e){break b}N[e>>2]=2}La=oa- -64|0;return g}ba(8916,18290,435,15229);B()}function oq(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0;a:{if(!N[b>>2]){break a}v=db(1,204);if(!v){break a}N[v>>2]=1;N[v+4>>2]=1;i=a?a:588540;if(N[i+4>>2]){N[i+4>>2]=0}N[v+12>>2]=i;p=v+16|0;if(pq(p,1,i,b,c,d,e,f)){e=0;g=La-336|0;La=g;j=v+60|0;D=j+24|0;C(D,0,88);N[g+8>>2]=i;a=N[p+12>>2];N[g+20>>2]=N[p+8>>2];N[g+24>>2]=a;N[g+28>>2]=N[p+16>>2];a=N[p+4>>2];N[g+12>>2]=N[p>>2];N[g+16>>2]=a;N[g+32>>2]=i;c=g+56|0;C(c,0,72);N[g+52>>2]=N[p+16>>2];b=N[p+12>>2];a=N[p+8>>2];N[g+44>>2]=a;N[g+48>>2]=b;b=N[p+4>>2];N[g+36>>2]=N[p>>2];N[g+40>>2]=b;N[g+196>>2]=3;N[g+184>>2]=3;d=a;b=g+208|0;a=g+172|0;Bl(N[g+40>>2],d,g+196|0,b,g+184|0,a);J=g- -64|0,K=ek(N[g+32>>2],1196643650,N[g+196>>2],b,g+68|0,c),L[J|0]=K;dk(N[g+32>>2],1196643650,N[g+68>>2],N[g+184>>2],a,g+76|0);J=g,K=ek(N[g+32>>2],1196445523,N[g+196>>2],b,g+72|0,g+60|0),L[J+65|0]=K;dk(N[g+32>>2],1196445523,N[g+72>>2],N[g+184>>2],a,g+80|0);N[g+128>>2]=i;a=N[p+4>>2];N[g+132>>2]=N[p>>2];N[g+136>>2]=a;a=N[p+12>>2];N[g+140>>2]=N[p+8>>2];N[g+144>>2]=a;N[g+148>>2]=N[p+16>>2];N[g+160>>2]=0;N[g+152>>2]=0;N[g+156>>2]=0;a=ul(i+156|0);b:{if(!(O[a|0]|O[a+1|0]<<8)){a=sl(i+160|0);if(!(O[a|0]|O[a+1|0]<<8)){break b}}e=1;if((N[p>>2]&-2)==4){break b}a=N[Vb(i+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];e=!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))}b=O[g+164|0]&-8|e;c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{c=N[g+16>>2];if((c|0)<=1298231906){if((c|0)<=1198877297){if((c|0)<=1130918514){if((c|0)<=1114139506){if((c|0)<=1113681e3){if((c|0)==1097100397|(c|0)==1097363309){break e}if((c|0)==1098015074){break l}a=264680;break c}if((c|0)==1113681001|(c|0)==1113683051){break e}if((c|0)==1113943655){break i}a=264680;break c}if((c|0)<=1114990691){if((c|0)==1114139507|(c|0)==1114792296){break e}a=264680;if((c|0)==1114990441){break e}break c}if((c|0)==1114990692|(c|0)==1130457965){break e}a=264680;if((c|0)==1130914157){break e}break c}if((c|0)<=1164409199){if((c|0)<=1147756906){if((c|0)==1130918515|(c|0)==1131441518){break e}if((c|0)==1147500129){break i}a=264680;break c}if((c|0)==1147756907|(c|0)==1148151666){break e}a=264680;if((c|0)==1148547180){break e}break c}if((c|0)<=1198485094){if((c|0)==1164409200){break e}a=264680;if((c|0)==1164736877){break e}break c}a=264680;switch(c-1198485095|0){case 1:case 2:case 3:case 4:case 5:break c;case 0:case 6:break e;default:break f}}if((c|0)<=1265135465){if((c|0)<=1247901280){if((c|0)<=1214603889){a=264680;m:{switch(c-1214344807|0){case 0:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break c;case 8:break e;default:break m}}if((c|0)==1198877298|(c|0)==1198879349){break i}break c}a=264680;switch(c-1215131239|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break c;case 0:case 9:break e;default:break j}}if((c|0)<=1264678760){if((c|0)==1247901281){break e}a=264680;if((c|0)==1264675945){break e}break c}if((c|0)==1264678761|(c|0)==1265131890){break e}a=264680;if((c|0)!=1265134962){break c}a=265128;break c}if((c|0)<=1281716322){if((c|0)<=1265920104){if((c|0)==1265135466|(c|0)==1265202291){break e}if((c|0)==1265525857){break i}a=264680;break c}if((c|0)==1265920105|(c|0)==1281453665){break e}a=264680;if((c|0)!=1281453935){break c}break d}if((c|0)<=1298230112){if((c|0)==1281716323|(c|0)==1281977698){break e}a=264680;if((c|0)==1298229354){break e}break c}a=264680;n:{switch(c-1298230884|0){case 1:case 2:case 3:case 4:break c;case 0:case 5:break e;default:break n}}if((c|0)==1298230113){break e}break c}if((c|0)<=1399809891){if((c|0)<=1333094257){if((c|0)<=1299541107){if((c|0)<=1299145832){if((c|0)==1298231907|(c|0)==1298490470){break e}if((c|0)==1298954605){break i}a=264680;break c}if((c|0)==1299145833|(c|0)==1299148391){break e}a=264680;if((c|0)==1299473769){break e}break c}if((c|0)<=1315008099){if((c|0)==1299541108){break e}if((c|0)==1299803506){break h}a=264680;if((c|0)==1315006317){break e}break c}if((c|0)<=1315663726){if((c|0)==1315008100){break e}a=264680;if((c|0)==1315272545){break e}break c}if((c|0)==1315663727){break e}if((c|0)==1332902241){break i}a=264680;break c}if((c|0)<=1383032934){if((c|0)<=1349284451){if((c|0)==1333094258|(c|0)==1349017959){break e}a=264680;if((c|0)==1349020784){break e}break c}if((c|0)==1349284452){break e}if((c|0)==1365336423){break g}a=264680;if((c|0)==1382706791){break e}break c}if((c|0)<=1399415907){if((c|0)==1383032935|(c|0)==1398895986){break e}a=264680;if((c|0)==1399353956){break e}break c}a=264680;o:{switch(c-1399418468|0){case 1:case 2:case 3:break c;case 0:case 4:break e;default:break o}}if((c|0)==1399415908){break e}break c}if((c|0)<=1415999078){if((c|0)<=1415669601){if((c|0)<=1400204899){a=264680;p:{switch(c-1399809892|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;case 0:case 11:break e;default:break p}}if((c|0)==1399814511){break e}break c}if((c|0)==1400204900|(c|0)==1400466543){break e}if((c|0)==1400468067){break l}a=264680;break c}if((c|0)<=1415671147){if((c|0)==1415669602|(c|0)==1415670642){break e}a=264680;if((c|0)==1415670885){break e}break c}if((c|0)==1415671148){break i}if((c|0)==1415673460){break e}if((c|0)==1415933045){break i}a=264680;break c}if((c|0)<=1416524640){if((c|0)<=1416126824){if((c|0)==1415999079){break e}a=264680;if((c|0)==1416064103){break e}break c}if((c|0)==1416126825){break d}if((c|0)==1416192628){break e}a=264680;if((c|0)==1416196712){break e}break c}if((c|0)<=1466132590){if((c|0)==1416524641|(c|0)==1416590447){break e}a=264680;if((c|0)==1449751656){break e}break c}if((c|0)==1466132591|(c|0)==1499822697){break e}a=264680;if((c|0)==1516334690){break e}break c}if(!(N[g+56>>2]==1145457748&(c|0)!=1098015074)){a=264792;if((N[g+12>>2]&-2)==4){break c}}a=264680;break c}a=264904;break c}if((c|0)!=1214603890){break c}a=264960;break c}c=N[g+56>>2];if((c|0)==1145457748){a=264680;break c}a=264680;if((c|0)==1818326126){break c}a=(c&255)==51?265016:265072;break c}c=N[g+56>>2];if((c|0)==1145457748){a=264680;break c}if((c|0)==1818326126){a=264680;break c}a=264680;if((c|0)==1836674418){break c}a=265184;break c}a=265240;break c}if((c|0)!=1198678382){break c}}a=N[g+56>>2];a=(a|0)==1145457748?264680:(a|0)==1818326126?264680:265016;break c}a=264848}N[g+168>>2]=a;L[g+164|0]=b|(N[a+48>>2]!=0)<<1|O[a+52|0]<<2;if(!(e^1|(a|0)==264680)){N[g+168>>2]=264736}a=N[g+96>>2];s=N[p+24>>2];m=N[p+20>>2];q:{r:{s:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break r}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break s}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break q}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1920365166;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];t:{u:{v:{e=N[g+104>>2];if((e|0)>=0){a=N[g+108>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break u}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+112>>2],e<<3);if(a){break v}}N[g+104>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break t}N[g+104>>2]=e;N[g+112>>2]=a;a=N[g+108>>2]}if(a>>>0>>0){C(N[g+112>>2]+(a<<3)|0,0,b-a<<3)}N[g+108>>2]=b;b=(N[g+112>>2]+(b<<3)|0)-8|0}a=N[g+84>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+84>>2]=N[g+84>>2]+1;w:{x:{y:{switch(N[g+12>>2]-4|0){case 0:a=N[g+96>>2];z:{A:{B:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break A}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break B}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break z}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1819570785;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];C:{D:{E:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break D}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break E}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break C}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1819570797;c=1;break x;case 1:break y;default:break w}}a=N[g+96>>2];F:{G:{H:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break G}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break H}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break F}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1920232545;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];I:{J:{K:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break J}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break K}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break I}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1920232557;c=0}N[b+16>>2]=c;N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=a;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2]}a=N[g+96>>2];L:{M:{N:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break M}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break N}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break L}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1718772067;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];O:{P:{Q:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break P}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Q}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break O}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1853189490;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];R:{S:{T:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break S}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break T}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break R}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=a;N[b>>2]=1684959085;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];U:{V:{W:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break V}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break W}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break U}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=255;N[b+8>>2]=255;N[b+12>>2]=33;N[b+4>>2]=a;N[b>>2]=1918987876;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];X:{Y:{Z:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Y}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Z}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break X}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=3;N[b+4>>2]=a;N[b>>2]=1953653099;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];_:{$:{aa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break $}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break aa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break _}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1214345830;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ba:{ca:{da:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break da}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ba}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1212240454;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[N[g+168>>2]>>2];if(a){Qa[a|0](g+8|0)}a=N[g+96>>2];ea:{fa:{ga:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ga}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ea}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1114995322;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ha:{ia:{ja:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ja}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ha}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1112889946;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ka:{la:{ma:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break la}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ma}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ka}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1633842797;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];na:{oa:{pa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break pa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break na}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1651275629;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];qa:{ra:{sa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break sa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break qa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1667460464;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];ta:{ua:{va:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break ua}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break va}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ta}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1819239276;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];wa:{xa:{ya:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break xa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break ya}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break wa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=a;N[b>>2]=1835102827;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];za:{Aa:{Ba:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Aa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ba}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break za}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=a;N[b>>2]=1835756907;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ca:{Da:{Ea:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Da}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ea}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ca}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1919707495;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];b=a+1|0;c=(b|0)>0?b:0;b=N[g+92>>2];Fa:{if((N[g+12>>2]&-2)==4){Ga:{Ha:{Ia:{if((b|0)>=0){if(b>>>0>=c>>>0){break Ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ia}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ga}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1667329140;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ja:{Ka:{La:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break La}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ja}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1668049255;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ma:{Na:{Oa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Na}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Oa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ma}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1668641395;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Pa:{Qa:{Ra:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ra}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Pa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1684632436;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Sa:{Ta:{Ua:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Ua}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Sa}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=3;N[b+4>>2]=a;N[b>>2]=1801810542;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Va:{Wa:{Xa:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break Xa}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Va}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=a;N[b>>2]=1818847073;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];a=N[g+96>>2];Ya:{Za:{_a:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break Za}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break _a}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ya}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1919118452;c=1;break Fa}$a:{ab:{bb:{if((b|0)>=0){if(b>>>0>=c>>>0){break ab}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break bb}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break $a}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b>>2]=1986359924;c=17}N[b+16>>2]=1;N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=a;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2];cb:{if(!s){break cb}while(1){a=m+(h<<4)|0;f=N[a>>2];d=0;d=N[a+8>>2]?d:N[a+12>>2]==-1;if(f){e=N[a+4>>2];a=N[g+96>>2];db:{eb:{fb:{b=N[g+92>>2];if((b|0)>=0){c=a+1|0;c=(c|0)>0?c:0;if(c>>>0<=b>>>0){break eb}while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){a=$a(N[g+100>>2],T(b,28));if(a){break fb}a=N[g+96>>2]}N[g+92>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break db}N[g+92>>2]=b;N[g+100>>2]=a;a=N[g+96>>2]}if(a>>>0>>0){C(N[g+100>>2]+T(a,28)|0,0,T(c-a|0,28))}N[g+96>>2]=c;a=c;b=(N[g+100>>2]+T(a,28)|0)-28|0}N[b+12>>2]=d;N[b+8>>2]=e;N[b+4>>2]=a;N[b>>2]=f;N[b+16>>2]=d?e:0;N[b+20>>2]=N[g+84>>2];N[b+24>>2]=N[g+88>>2]}h=h+1|0;if((s|0)!=(h|0)){continue}break}if(!(L[g+164|0]&1)){break cb}c=0;while(1){a=m+(c<<4)|0;k=N[a+4>>2];f=N[a>>2];a=Of(N[g+128>>2]+180|0);gb:{if(!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))){break gb}if((f|0)!=1633774708){b=77;a=0;while(1){hb:{e=a+b>>>1|0;h=e<<4;d=N[h+236864>>2];ib:{if(d>>>0>f>>>0){b=e-1|0;break ib}if(d>>>0>=f>>>0){break hb}a=e+1|0}if((a|0)<=(b|0)){continue}break gb}break}b=Of(N[g+128>>2]+180|0);q=N[h+236868>>2];a=O[b+4|0]|O[b+5|0]<<8;jb:{if(a){e=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;i=e+T(f,12)|0;d=O[i|0]|O[i+1|0]<<8;d=(d<<8|d>>>8)&65535;kb:{if((d|0)>(q|0)){b=f-1|0;break kb}if((d|0)==(q|0)){break jb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}i=275552}if(!(O[i+2|0]|O[i+3|0]<<8)){if((q|0)!=37|N[h+236872>>2]!=1){break gb}b=Of(N[g+128>>2]+180|0);a=O[b+4|0]|O[b+5|0]<<8;lb:{if(a){d=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;i=d+T(f,12)|0;e=O[i|0]|O[i+1|0]<<8;mb:{if(((e<<8|e>>>8)&65535)>>>0>=4){b=f-1|0;break mb}if((e|0)==768){break lb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}i=275552}if(!(O[i+2|0]|O[i+3|0]<<8)){break gb}}b=N[g+156>>2];nb:{ob:{pb:{e=N[g+152>>2];if((e|0)>=0){a=b+1|0;a=(a|0)>0?a:0;if(a>>>0<=e>>>0){break ob}while(1){e=((e>>>1|0)+e|0)+8|0;if(a>>>0>=e>>>0){continue}break}if(e>>>0<=268435455){b=$a(N[g+160>>2],e<<4);if(b){break pb}b=N[g+156>>2]}N[g+152>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break nb}N[g+152>>2]=e;N[g+160>>2]=b;b=N[g+156>>2]}if(a>>>0>b>>>0){C(N[g+160>>2]+(b<<4)|0,0,a-b<<4)}N[g+156>>2]=a;b=a;a=(N[g+160>>2]+(b<<4)|0)-16|0}N[a+12>>2]=b;N[a>>2]=q;N[a+4>>2]=N[(h|(k?8:12))+236864>>2];L[a+8|0]=((O[i+8|0]|O[i+9|0]<<8)&128)>>>7;break gb}b=Of(N[g+128>>2]+180|0);a=O[b+4|0]|O[b+5|0]<<8;qb:{if(a){d=b+12|0;b=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){f=a+b>>>1|0;h=d+T(f,12)|0;e=O[h|0]|O[h+1|0]<<8;rb:{if(((e<<8|e>>>8)&65535)>>>0>=18){b=f-1|0;break rb}if((e|0)==4352){break qb}a=f+1|0}if((a|0)<=(b|0)){continue}break}}h=275552}if(!(O[h+2|0]|O[h+3|0]<<8)){break gb}b=N[g+156>>2];sb:{tb:{ub:{e=N[g+152>>2];if((e|0)>=0){a=b+1|0;a=(a|0)>0?a:0;if(a>>>0<=e>>>0){break tb}while(1){e=((e>>>1|0)+e|0)+8|0;if(a>>>0>=e>>>0){continue}break}if(e>>>0<=268435455){b=$a(N[g+160>>2],e<<4);if(b){break ub}b=N[g+156>>2]}N[g+152>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break sb}N[g+152>>2]=e;N[g+160>>2]=b;b=N[g+156>>2]}if(a>>>0>b>>>0){C(N[g+160>>2]+(b<<4)|0,0,a-b<<4)}N[g+156>>2]=a;b=a;a=(N[g+160>>2]+(b<<4)|0)-16|0}N[a+12>>2]=b;N[a+4>>2]=k;N[a>>2]=17;L[a+8|0]=1}c=c+1|0;if((s|0)!=(c|0)){continue}break}}a=N[g+168>>2];b=N[a+4>>2];if(b){Qa[b|0](g+8|0);a=N[g+168>>2]}b=N[g+16>>2];N[j>>2]=N[g+12>>2];N[j+4>>2]=b;N[j+16>>2]=N[g+28>>2];b=N[g+24>>2];N[j+8>>2]=N[g+20>>2];N[j+12>>2]=b;N[j+36>>2]=-2147483648;N[j+20>>2]=a;N[g+184>>2]=0;N[g+188>>2]=0;N[j+24>>2]=N[g+56>>2];L[j+32|0]=O[g+64|0];ck(N[g+32>>2],1196643650,N[g+68>>2],N[g+76>>2],g+172|0,g+196|0);N[j+28>>2]=N[g+60>>2];L[j+33|0]=O[g+65|0];ck(N[g+32>>2],1196445523,N[g+72>>2],N[g+80>>2],g+176|0,g+200|0);a=N[g+96>>2];vb:{if(!a){break vb}vq(N[g+100>>2],a,28);e=1;k=N[g+96>>2];wb:{if(k>>>0<=1){h=0;break wb}d=N[g+100>>2];h=0;while(1){i=d+T(e,28)|0;f=d+T(h,28)|0;xb:{if(N[i>>2]!=N[f>>2]){a=N[i+4>>2];h=h+1|0;b=d+T(h,28)|0;N[b>>2]=N[i>>2];N[b+4>>2]=a;N[b+24>>2]=N[i+24>>2];a=N[i+20>>2];N[b+16>>2]=N[i+16>>2];N[b+20>>2]=a;a=N[i+12>>2];N[b+8>>2]=N[i+8>>2];N[b+12>>2]=a;break xb}c=N[f+12>>2];yb:{if(L[i+12|0]&1){c=c|1;N[f+12>>2]=c;N[f+8>>2]=N[i+8>>2];N[f+16>>2]=N[i+16>>2];break yb}if(c&1){c=c^1;N[f+12>>2]=c}b=N[f+8>>2];a=N[i+8>>2];N[f+8>>2]=a>>>0>>0?b:a}N[f+12>>2]=N[i+12>>2]&2|c;b=N[f+20>>2];a=N[i+20>>2];N[f+20>>2]=a>>>0>b>>>0?b:a;b=N[f+24>>2];a=N[i+24>>2];N[f+24>>2]=a>>>0>b>>>0?b:a}e=e+1|0;if((k|0)!=(e|0)){continue}break}k=N[g+96>>2]}a=h+1|0;a=(a|0)>0?a:0;if(a>>>0>>0){N[g+96>>2]=a;k=a}if(!k){break vb}q=g+212|0;f=0;c=4;e=0;while(1){zb:{if(Q[g+96>>2]<=e>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break zb}l=N[g+100>>2]+T(e,28)|0;b=N[l+8>>2];Ab:{if(L[l+12|0]&1){a=0;if((b|0)==1){break Ab}}if(!b){break zb}a=32-W(b)|0;a=a>>>0>=8?8:a}i=a+c|0;if(i>>>0>30){break zb}a=N[l>>2];f=(a|0)==N[g+196>>2]?N[l+20>>2]:f;b=Gf(N[g+32>>2],1196643650,N[g+68>>2],N[g+76>>2],a,g+208|0);a=N[l>>2];u=(a|0)==N[g+200>>2]?N[l+24>>2]:u;w=0;Bb:{if(Gf(N[g+32>>2],1196445523,N[g+72>>2],N[g+80>>2],a,q)|b){break Bb}a=N[l+12>>2];if(a&16){b=N[l>>2];a=275552;d=N[Vb(N[g+32>>2]+144|0)>>2];d=d?d:275552;o=Q[d+16>>2]<4?275552:N[d+12>>2];Cb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Cb}d=O[o+6|0]|O[o+7|0]<<8;if(!d){break Cb}a=o+((d<<8|d>>>8)&65535)|0}h=65535;a=O[a|0]|O[a+1|0]<<8;Db:{if(!a){r=0;break Db}r=1;t=(a<<8|a>>>8)&65535;s=t>>>0<=1?1:t;a=0;while(1){d=275552;Eb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Eb}m=O[o+6|0]|O[o+7|0]<<8;d=275552;if(!m){break Eb}d=o+((m<<8|m>>>8)&65535)|0}m=O[d|0]|O[d+1|0]<<8;if(((m<<8|m>>>8)&65535)>>>0>a>>>0){d=(d+T(a,6)|0)+2|0}else{d=275552}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==(b|0)){h=a;break Db}a=a+1|0;r=t>>>0>a>>>0;if((a|0)!=(s|0)){continue}break}}N[g+208>>2]=h;d=N[l>>2];a=275552;b=N[mc(N[g+32>>2]+148|0)>>2];b=b?b:275552;o=Q[b+16>>2]<4?275552:N[b+12>>2];Fb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Fb}b=O[o+6|0]|O[o+7|0]<<8;if(!b){break Fb}a=o+((b<<8|b>>>8)&65535)|0}b=65535;a=O[a|0]|O[a+1|0]<<8;Gb:{if(!a){x=0;break Gb}x=1;t=(a<<8|a>>>8)&65535;s=t>>>0<=1?1:t;a=0;while(1){h=275552;Hb:{if((O[o|0]|O[o+1|0]<<8)!=256){break Hb}m=O[o+6|0]|O[o+7|0]<<8;h=275552;if(!m){break Hb}h=o+((m<<8|m>>>8)&65535)|0}m=O[h|0]|O[h+1|0]<<8;if(((m<<8|m>>>8)&65535)>>>0>a>>>0){h=(h+T(a,6)|0)+2|0}else{h=275552}h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))==(d|0)){b=a;break Gb}a=a+1|0;x=t>>>0>a>>>0;if((a|0)!=(s|0)){continue}break}}N[g+212>>2]=b;if((r|x)&1){break Bb}a=N[l+12>>2]}w=1;if(!(a&2)){break zb}}Ib:{Jb:{Kb:{h=N[j+40>>2];if((h|0)>=0){d=N[j+44>>2];a=d+1|0;b=(a|0)>0?a:0;if(b>>>0<=h>>>0){break Jb}while(1){h=((h>>>1|0)+h|0)+8|0;if(b>>>0>=h>>>0){continue}break}if(h>>>0<=119304647){a=$a(N[j+48>>2],T(h,36));if(a){break Kb}}N[j+40>>2]=-1}N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147464]=0;a=589824;b=0;break Ib}N[j+40>>2]=h;N[j+48>>2]=a;d=N[j+44>>2]}if(b>>>0>d>>>0){C(N[j+48>>2]+T(d,36)|0,0,T(b-d|0,36))}N[j+44>>2]=b;a=(N[j+48>>2]+T(b,36)|0)-36|0;b=O[a+32|0]}N[a>>2]=N[l>>2];N[a+4>>2]=N[g+208>>2];N[a+8>>2]=N[g+212>>2];N[a+12>>2]=N[l+20>>2];N[a+16>>2]=N[l+24>>2];b=(O[l+12|0]>>>1&2|b&-3)^2;L[a+32|0]=b;b=(O[l+12|0]>>>1&4|b&-5)^4;L[a+32|0]=b;b=b&-9|O[l+12|0]>>>2&8;L[a+32|0]=b;h=b&-17|O[l+12|0]>>>2&16;L[a+32|0]=h;Lb:{if(!(!(L[l+12|0]&1)|N[l+8>>2]!=1)){b=-2147483648;i=c;c=31;break Lb}b=(1<>2]=N[j+36>>2]|b&N[l+16>>2]<>2]=b;N[a+20>>2]=c;L[a+32|0]=h&254|w;N[a+28>>2]=1<>2]=u;N[g+184>>2]=f}Mb:{Nb:{Ob:{e=N[g+104>>2];if((e|0)>=0){a=N[g+108>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break Nb}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+112>>2],e<<3);if(a){break Ob}}N[g+104>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break Mb}N[g+104>>2]=e;N[g+112>>2]=a;a=N[g+108>>2]}if(a>>>0>>0){C(N[g+112>>2]+(a<<3)|0,0,b-a<<3)}N[g+108>>2]=b;b=(N[g+112>>2]+(b<<3)|0)-8|0}a=N[g+84>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+84>>2]=N[g+84>>2]+1;Pb:{Qb:{Rb:{e=N[g+116>>2];if((e|0)>=0){a=N[g+120>>2];b=a+1|0;b=(b|0)>0?b:0;if(b>>>0<=e>>>0){break Qb}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=536870911){a=$a(N[g+124>>2],e<<3);if(a){break Rb}}N[g+116>>2]=-1}N[147456]=0;N[147457]=0;b=589824;break Pb}N[g+116>>2]=e;N[g+124>>2]=a;a=N[g+120>>2]}if(a>>>0>>0){C(N[g+124>>2]+(a<<3)|0,0,b-a<<3)}N[g+120>>2]=b;b=(N[g+124>>2]+(b<<3)|0)-8|0}I=p+28|0;a=N[g+88>>2];N[b+4>>2]=0;N[b>>2]=a;N[g+88>>2]=N[g+88>>2]+1;h=1;b=0;while(1){y=b<<2;E=y+g|0;if(N[E+84>>2]){a=T(b,12);n=a+j|0;G=y+238176|0;H=y+I|0;A=a+(g+8|0)|0;p=y+(g+184|0)|0;l=y+(g+172|0)|0;r=0;f=0;w=0;while(1){s=N[l>>2];Sb:{if((s|0)==65535|N[p>>2]!=(r|0)){break Sb}m=N[H>>2];b=N[g+32>>2];i=0;c=0;u=N[G>>2];Tb:{Ub:{if((u|0)!=1196445523){a=275552;if((u|0)!=1196643650){break Tb}a=Vb(b+144|0);break Ub}a=mc(b+148|0)}a=N[a>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2]}if((O[a|0]|O[a+1|0]<<8)==256){b=O[a+8|0]|O[a+9|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8;c=(a<<8|a>>>8)&65535}while(1){N[g+204>>2]=32;bk(N[g+32>>2],u,s,m,i,g+204|0,g+208|0);b=0;a=N[g+204>>2];if(!a){break Sb}while(1){e=N[(g+208|0)+(b<<2)>>2];if(e>>>0>>0){Vb:{Wb:{Xb:{k=N[n+52>>2];if((k|0)>=0){d=N[n+56>>2];a=d+1|0;q=(a|0)>0?a:0;if(q>>>0<=k>>>0){break Wb}while(1){k=((k>>>1|0)+k|0)+8|0;if(q>>>0>=k>>>0){continue}break}if(k>>>0<=357913941){a=$a(N[n+60>>2],T(k,12));if(a){break Xb}}N[n+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;a=589824;d=0;break Vb}N[n+60>>2]=a;N[n+52>>2]=k;d=N[n+56>>2]}if(d>>>0>>0){C(N[n+60>>2]+T(d,12)|0,0,T(q-d|0,12))}N[n+56>>2]=q;a=(N[n+60>>2]+T(q,12)|0)-12|0;d=O[a+2|0]}M[a>>1]=e;N[a+4>>2]=-2147483648;N[a+8>>2]=538976288;L[a+2|0]=d&240|3;a=N[g+204>>2]}b=b+1|0;if(b>>>0>>0){continue}break}i=a+i|0;if((a|0)==32){continue}break}}a=N[j+44>>2];if(a){e=N[j+48>>2];o=e+T(a,36)|0;while(1){a=e+y|0;Yb:{if(N[a+12>>2]!=(r|0)){break Yb}t=N[a+4>>2];q=N[e>>2];b=O[e+32|0];u=N[e+24>>2];s=N[H>>2];d=N[g+32>>2];x=0;c=0;B=N[G>>2];Zb:{_b:{if((B|0)!=1196445523){a=275552;if((B|0)!=1196643650){break Zb}a=Vb(d+144|0);break _b}a=mc(d+148|0)}a=N[a>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2]}if((O[a|0]|O[a+1|0]<<8)==256){c=O[a+8|0]|O[a+9|0]<<8;if(c){a=a+((c<<8|c>>>8)&65535)|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8;c=(a<<8|a>>>8)&65535}m=b>>>1&15;while(1){N[g+204>>2]=32;bk(N[g+32>>2],B,t,s,x,g+204|0,g+208|0);b=0;a=N[g+204>>2];if(!a){break Yb}while(1){i=N[(g+208|0)+(b<<2)>>2];if(i>>>0>>0){$b:{ac:{bc:{k=N[n+52>>2];if((k|0)>=0){d=N[n+56>>2];a=d+1|0;z=(a|0)>0?a:0;if(z>>>0<=k>>>0){break ac}while(1){k=((k>>>1|0)+k|0)+8|0;if(z>>>0>=k>>>0){continue}break}if(k>>>0<=357913941){a=$a(N[n+60>>2],T(k,12));if(a){break bc}}N[n+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;a=589824;d=0;break $b}N[n+60>>2]=a;N[n+52>>2]=k;d=N[n+56>>2]}if(d>>>0>>0){C(N[n+60>>2]+T(d,12)|0,0,T(z-d|0,12))}N[n+56>>2]=z;a=(N[n+60>>2]+T(z,12)|0)-12|0;d=O[a+2|0]}N[a+8>>2]=q;M[a>>1]=i;N[a+4>>2]=u;L[a+2|0]=d&240|m;a=N[g+204>>2]}b=b+1|0;if(b>>>0>>0){continue}break}x=a+x|0;if((a|0)==32){continue}break}}e=e+36|0;if((o|0)!=(e|0)){continue}break}}a=N[n+56>>2];cc:{if(f>>>0>=a>>>0){f=a;break cc}c=a-f|0;b=a>>>0>=c>>>0?c:0;b=b>>>0>>0?b:c;if(b){uq(N[n+60>>2]+T(f,12)|0,b,12);a=N[n+56>>2]}b=f+1|0;if(b>>>0>>0){while(1){c=N[n+60>>2];d=T(b,12);i=c+d|0;a=T(f,12);e=a+c|0;dc:{if(P[i>>1]!=P[e>>1]){a=N[i+4>>2];f=f+1|0;c=c+T(f,12)|0;N[c>>2]=N[i>>2];N[c+4>>2]=a;N[c+8>>2]=N[i+8>>2];break dc}N[e+4>>2]=N[e+4>>2]|N[i+4>>2];L[e+2|0]=O[e+2|0]&(O[i+2|0]|254);c=N[n+60>>2];a=c+a|0;L[a+2|0]=O[a+2|0]&(O[(c+d|0)+2|0]|253)}a=N[n+56>>2];b=b+1|0;if(a>>>0>b>>>0){continue}break}b=f+1|0}f=a;a=(b|0)>0?b:0;if(f>>>0<=a>>>0){break cc}N[n+56>>2]=a;f=a}ec:{if(Q[A+100>>2]<=w>>>0){break ec}b=w<<3;if(N[b+N[A+104>>2]>>2]!=(r|0)){break ec}fc:{gc:{hc:{d=N[n+76>>2];if((d|0)>=0){e=N[n+80>>2];a=e+1|0;c=(a|0)>0?a:0;if(c>>>0<=d>>>0){break gc}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){a=$a(N[n+84>>2],d<<3);if(a){break hc}}N[n+76>>2]=-1}N[147456]=0;N[147457]=0;a=589824;break fc}N[n+84>>2]=a;N[n+76>>2]=d;e=N[n+80>>2]}if(c>>>0>e>>>0){C(N[n+84>>2]+(e<<3)|0,0,c-e<<3)}N[n+80>>2]=c;a=(N[n+84>>2]+(c<<3)|0)-8|0}N[a>>2]=f;ic:{if(Q[A+100>>2]<=w>>>0){N[147456]=0;N[147457]=0;b=0;break ic}b=N[(b+N[A+104>>2]|0)+4>>2]}N[a+4>>2]=b;w=w+1|0}r=r+1|0;if(r>>>0>2]){continue}break}}b=1;a=h;h=0;if(a){continue}break}jc:{if(!(L[g+164|0]&1)){break jc}a=N[g+156>>2];kc:{if(!a){break kc}Hj(N[g+160>>2],a);a=N[g+156>>2];lc:{if(a>>>0<=1){e=0;break lc}e=0;while(1){f=a>>>0>b>>>0;mc:{if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=0;break mc}c=N[N[g+160>>2]+(b<<4)>>2]}d=a>>>0>e>>>0;nc:{if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;h=0;break nc}h=N[N[g+160>>2]+(e<<4)>>2]}oc:{if((c|0)==(h|0)){pc:{if(a>>>0>b>>>0){c=N[g+160>>2]+(b<<4)|0;if(O[c+8|0]){break oc}c=N[c+4>>2];break pc}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=0}qc:{if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=0;break qc}d=N[(N[g+160>>2]+(e<<4)|0)+4>>2]}if((c^d)>>>0<2){break oc}}rc:{if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=589824;break rc}c=N[g+160>>2]+(b<<4)|0}e=e+1|0;sc:{if(e>>>0>=a>>>0){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;a=589824;break sc}a=N[g+160>>2]+(e<<4)|0}d=N[c+4>>2];N[a>>2]=N[c>>2];N[a+4>>2]=d;d=N[c+12>>2];N[a+8>>2]=N[c+8>>2];N[a+12>>2]=d;a=N[g+156>>2]}b=b+1|0;if(b>>>0>>0){continue}break}}b=a;a=e+1|0;a=(a|0)>0?a:0;if(b>>>0<=a>>>0){break kc}N[g+156>>2]=a}b=ul(N[g+128>>2]+156|0);if(O[b|0]|O[b+1|0]<<8){a=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(!a){break jc}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);t=a>>>0<=1?1:a;h=b+8|0;f=0;while(1){a=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);r=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);if(a){a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);q=a>>>0<=1?1:a;u=h+16|0;i=0;while(1){l=(i|0)<0?275552:u+T(i,12)|0;e=O[l+2|0]|O[l+3|0]<<8;c=(e<<8|e>>>8)&65535;b=O[l|0]|O[l+1|0]<<8;d=(b<<8|b>>>8)&65535;a=N[g+156>>2];tc:{uc:{vc:{if((a|0)>0){e=a-1|0;s=N[g+160>>2];b=d;a=c;while(1){c=a;d=b;b=0;a=e;while(1){wc:{xc:{o=a+b>>>1|0;m=s+(o<<4)|0;k=N[m>>2];yc:{if((k|0)!=(d|0)){if((d|0)>=(k|0)){break yc}break xc}k=N[m+4>>2];if((k|0)==(c|0)){break uc}if((c|0)<(k|0)){break xc}}b=o+1|0;break wc}a=o-1|0}if((a|0)>=(b|0)){continue}break}if((d|0)!=3){break vc}a=1;b=37;if((c|0)==3){continue}break}break vc}if((b|0)!=768){break vc}if((e|0)==768){break tc}}if(!c|(d|0)!=39){break tc}d=N[g+128>>2];b=N[d+176>>2];zc:{if(b){break zc}while(1){b=N[d+48>>2];if(!b){b=275552;break zc}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;e=N[b+32>>2];if((e|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;e=(a<<8|a>>>8)&65535;N[b+32>>2]=e}L[g+248|0]=1;N[g+244>>2]=e;a=N[b+12>>2];Ac:{if(a){b=Qa[a|0](b,1819566439,N[b+16>>2])|0;if(b){break Ac}}b=275552}a=ql(g+208|0,b);b=N[d+176>>2];Bc:{if(a){if(b){break Bc}b=a;N[d+176>>2]=b;break zc}if(b){break zc}b=275552;N[d+176>>2]=275552;break zc}if((a|0)==275552){break zc}ab(a);b=N[d+176>>2];if(!b){continue}break}}e=275552;k=Q[b+16>>2]<12?275552:N[b+12>>2];a=O[k+8|0]|O[k+9|0]<<8|(O[k+10|0]<<16|O[k+11|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=c-1|0;if(b>>>0>a>>>0){e=(k+(a<<2)|0)+12|0}b=0;Cc:{if(!k){break Cc}d=O[e+2|0]|O[e+3|0]<<8;if(!d){break Cc}a=O[e|0]|O[e+1|0]<<8;a=k+((a<<8|a>>>8)&65535)|0;if(!O[a|0]){break Cc}c=g+208|0;e=a;a=(d<<8|d>>>8)&65535;a=a>>>0>=63?63:a;F(c,e,a);L[a+c|0]=0;a=ie(c);if(!a){break Cc}b=N[a+4>>2]}c=N[g+140>>2];if((c|0)==(b|0)){break uc}if(!b|!c){break tc}a=nb(b);if(nb(c)>>>0>>0){break tc}if(bb(b,c,a)){break tc}a=O[a+c|0];if((a|0)==45){break uc}if(a){break tc}}a=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);b=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))&r;a=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);r=b|(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}i=i+1|0;if((q|0)!=(i|0)){continue}break}}Dc:{Ec:{Fc:{b=N[j+100>>2];if((b|0)>=0){e=N[j+104>>2];a=e+1|0;if(b>>>0>=a>>>0){d=N[j+108>>2];break Ec}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=a>>>0){continue}break}if(b>>>0<=1073741823){d=$a(N[j+108>>2],b<<2);if(d){break Fc}}N[j+100>>2]=-1}N[147456]=0;break Dc}N[j+100>>2]=b;N[j+108>>2]=d;e=N[j+104>>2];a=e+1|0}N[j+104>>2]=a;N[(e<<2)+d>>2]=r}a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0;f=f+1|0;if((t|0)!=(f|0)){continue}break}break jc}b=sl(N[g+128>>2]+160|0);if(!(O[b|0]|O[b+1|0]<<8)){break jc}a=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(!a){break jc}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);t=a>>>0<=1?1:a;h=b+8|0;f=0;while(1){a=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);r=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[h+8|0]|O[h+9|0]<<8;if(a){a=(a<<8|a>>>8)&65535;q=a>>>0<=1?1:a;u=h+12|0;i=0;while(1){l=u+T(i,12)|0;e=O[l+2|0]|O[l+3|0]<<8;c=(e<<8|e>>>8)&65535;b=O[l|0]|O[l+1|0]<<8;d=(b<<8|b>>>8)&65535;a=N[g+156>>2];Gc:{Hc:{Ic:{if((a|0)>0){e=a-1|0;s=N[g+160>>2];b=d;a=c;while(1){c=a;d=b;b=0;a=e;while(1){Jc:{Kc:{o=a+b>>>1|0;m=s+(o<<4)|0;k=N[m>>2];Lc:{if((k|0)!=(d|0)){if((d|0)>=(k|0)){break Lc}break Kc}k=N[m+4>>2];if((k|0)==(c|0)){break Hc}if((c|0)<(k|0)){break Kc}}b=o+1|0;break Jc}a=o-1|0}if((a|0)>=(b|0)){continue}break}if((d|0)!=3){break Ic}a=1;b=37;if((c|0)==3){continue}break}break Ic}if((b|0)!=768){break Ic}if((e|0)==768){break Gc}}if(!c|(d|0)!=39){break Gc}d=N[g+128>>2];b=N[d+176>>2];Mc:{if(b){break Mc}while(1){b=N[d+48>>2];if(!b){b=275552;break Mc}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;e=N[b+32>>2];if((e|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;e=(a<<8|a>>>8)&65535;N[b+32>>2]=e}L[g+248|0]=1;N[g+244>>2]=e;a=N[b+12>>2];Nc:{if(a){b=Qa[a|0](b,1819566439,N[b+16>>2])|0;if(b){break Nc}}b=275552}a=ql(g+208|0,b);b=N[d+176>>2];Oc:{if(a){if(b){break Oc}b=a;N[d+176>>2]=b;break Mc}if(b){break Mc}b=275552;N[d+176>>2]=275552;break Mc}if((a|0)==275552){break Mc}ab(a);b=N[d+176>>2];if(!b){continue}break}}e=275552;k=Q[b+16>>2]<12?275552:N[b+12>>2];a=O[k+8|0]|O[k+9|0]<<8|(O[k+10|0]<<16|O[k+11|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=c-1|0;if(b>>>0>a>>>0){e=(k+(a<<2)|0)+12|0}b=0;Pc:{if(!k){break Pc}d=O[e+2|0]|O[e+3|0]<<8;if(!d){break Pc}a=O[e|0]|O[e+1|0]<<8;a=k+((a<<8|a>>>8)&65535)|0;if(!O[a|0]){break Pc}c=g+208|0;e=a;a=(d<<8|d>>>8)&65535;a=a>>>0>=63?63:a;F(c,e,a);L[a+c|0]=0;a=ie(c);if(!a){break Pc}b=N[a+4>>2]}c=N[g+140>>2];if((c|0)==(b|0)){break Hc}if(!b|!c){break Gc}a=nb(b);if(nb(c)>>>0>>0){break Gc}if(bb(b,c,a)){break Gc}a=O[a+c|0];if((a|0)==45){break Hc}if(a){break Gc}}a=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);b=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))&r;a=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);r=b|(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}i=i+1|0;if((q|0)!=(i|0)){continue}break}}Qc:{Rc:{Sc:{b=N[j+100>>2];if((b|0)>=0){e=N[j+104>>2];a=e+1|0;if(b>>>0>=a>>>0){d=N[j+108>>2];break Rc}while(1){b=((b>>>1|0)+b|0)+8|0;if(b>>>0<=a>>>0){continue}break}if(b>>>0<=1073741823){d=$a(N[j+108>>2],b<<2);if(d){break Sc}}N[j+100>>2]=-1}N[147456]=0;break Qc}N[j+100>>2]=b;N[j+108>>2]=d;e=N[j+104>>2];a=e+1|0}N[j+104>>2]=a;N[(e<<2)+d>>2]=r}a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0;f=f+1|0;if((t|0)!=(f|0)){continue}break}}m=N[j+48>>2];b=j;Tc:{Uc:{Vc:{Wc:{k=N[b+44>>2];if((k|0)>0){d=0;a=k-1|0;e=a;Xc:{Yc:{while(1){f=d+e>>>1|0;c=N[m+T(f,36)>>2];Zc:{if(c>>>0>=1718772068){e=f-1|0;break Zc}if((c|0)==1718772067){break Yc}d=f+1|0}if((d|0)<=(e|0)){continue}break}f=0;break Xc}f=N[(m+T(f,36)|0)+28>>2]}N[j+116>>2]=f;d=0;e=a;while(1){i=d+e>>>1|0;c=N[m+T(i,36)>>2];_c:{if(c>>>0>=1853189491){e=i-1|0;break _c}if((c|0)==1853189490){break Wc}d=i+1|0}if((d|0)<=(e|0)){continue}break}c=0;break Vc}N[j+116>>2]=0;N[j+120>>2]=0;N[j+124>>2]=0;N[j+128>>2]=0;c=P[j+140>>1]&-5;M[j+140>>1]=c;f=j+140|0;break Uc}c=N[(m+T(i,36)|0)+28>>2]}N[b+120>>2]=c;d=0;e=a;$c:{ad:{while(1){i=d+e>>>1|0;b=N[m+T(i,36)>>2];bd:{if(b>>>0>=1684959086){e=i-1|0;break bd}if((b|0)==1684959085){break ad}d=i+1|0}if((d|0)<=(e|0)){continue}break}b=0;break $c}b=N[(m+T(i,36)|0)+28>>2]}N[j+124>>2]=b;cd:{dd:{if(f){f=j+140|0;h=P[j+140>>1];break dd}f=j+140|0;h=P[j+140>>1];d=0;if(!((c|0)!=0&(b|0)!=0)){break cd}}d=4}c=d|h&-5;M[f>>1]=c;d=0;e=a;ed:{fd:{while(1){i=d+e>>>1|0;b=N[m+T(i,36)>>2];gd:{if(b>>>0>=1920232558){e=i-1|0;break gd}if((b|0)==1920232557){break fd}d=i+1|0}if((d|0)<=(e|0)){continue}break}b=0;break ed}b=N[(m+T(i,36)|0)+28>>2]}N[j+128>>2]=b;e=0;while(1){hd:{d=a+e>>>1|0;b=N[m+T(d,36)>>2];id:{if(b>>>0>=1986359925){a=d-1|0;break id}if((b|0)==1986359924){break hd}e=d+1|0}if((a|0)>=(e|0)){continue}break Uc}break}a=8;if(N[(m+T(d,36)|0)+28>>2]){break Tc}}a=0}b=a|c&-9;M[f>>1]=b;i=(N[g+12>>2]&-2)==4?1801810542:1986753134;e=0;jd:{kd:{ld:{md:{if((k|0)<=0){N[j+132>>2]=0;c=b&65534;break md}d=k-1|0;h=d;nd:{od:{while(1){c=e+h>>>1|0;a=N[m+T(c,36)>>2];pd:{if(a>>>0>i>>>0){h=c-1|0;break pd}if(a>>>0>=i>>>0){break od}e=c+1|0}if((e|0)<=(h|0)){continue}break}a=0;break nd}a=N[(m+T(c,36)|0)+24>>2]}N[j+132>>2]=a;e=0;c=b&-2|(a|0)!=0;M[j+140>>1]=c;while(1){b=d+e>>>1|0;a=N[m+T(b,36)>>2];qd:{if(a>>>0>=1953653100){d=b-1|0;break qd}if((a|0)==1953653099){break ld}e=b+1|0}if((d|0)>=(e|0)){continue}break}}N[j+136>>2]=0;break kd}a=N[(m+T(b,36)|0)+24>>2];N[j+136>>2]=a;b=2;if(a){break jd}}b=0}M[f>>1]=b|c&65533;e=1;rd:{if((k|0)<=0){break rd}e=k-1|0;d=0;sd:{while(1){b=d+e>>>1|0;a=N[m+T(b,36)>>2];td:{if(a>>>0>i>>>0){e=b-1|0;break td}if(a>>>0>=i>>>0){break sd}d=b+1|0}if((d|0)<=(e|0)){continue}break}e=1;break rd}e=N[(m+T(b,36)|0)+8>>2]==65535}i=N[j+28>>2];h=N[N[j+20>>2]+40>>2];c=N[g+8>>2];d=N[c+140>>2];ud:{if(d){break ud}while(1){b=N[c+48>>2];if(!b){d=275552;break ud}a=db(1,4);if(!a){d=275552;N[c+140>>2]=275552;break ud}d=Pf(a,b);if(!N[c+140>>2]){N[c+140>>2]=d;break ud}ab(N[d>>2]);_a(d);d=N[c+140>>2];if(!d){continue}break}}a=P[f>>1];b=N[d>>2];b=b?b:275552;b=Q[b+16>>2]<4?275552:N[b+12>>2];if(!(O[b+4|0]|O[b+5|0]<<8?(O[b|0]|O[b+1|0]<<8)==256:0)){a=a|64;M[f>>1]=a}k=1;M[f>>1]=a&57343|(L[g+164|0]&1)<<13;d=N[g+8>>2];b=N[d+164>>2];vd:{if(b){break vd}while(1){b=N[d+48>>2];if(!b){b=275552;break vd}N[g+216>>2]=0;N[g+220>>2]=0;N[g+224>>2]=0;N[g+228>>2]=0;L[g+232|0]=0;N[g+208>>2]=0;N[g+212>>2]=0;N[g+236>>2]=0;N[g+240>>2]=0;c=N[b+32>>2];if((c|0)==-1){a=sb(b+56|0);a=O[a+4|0]|O[a+5|0]<<8;c=(a<<8|a>>>8)&65535;N[b+32>>2]=c}L[g+248|0]=1;N[g+244>>2]=c;a=N[b+12>>2];wd:{if(a){b=Qa[a|0](b,1801810552,N[b+16>>2])|0;if(b){break wd}}b=275552}a=kl(g+208|0,b);b=N[d+164>>2];xd:{if(a){if(b){break xd}b=a;N[d+164>>2]=b;break vd}if(b){break vd}b=275552;N[d+164>>2]=275552;break vd}if((a|0)==275552){break vd}ab(a);b=N[d+164>>2];if(!b){continue}break}}a=Q[b+16>>2]<8?275552:N[b+12>>2];c=O[a|0]|O[a+1|0]<<8;if(!(L[g+164|0]&1)){a=N[Vb(N[g+8>>2]+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];k=!(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))}yd:{zd:{Ad:{Bd:{Cd:{if(!((h|0)!=(i|0)&(h|0)!=0)){a=N[mc(N[g+8>>2]+148|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(!a|k?c:0){break Cd}if(a){break Bd}break zd}if(!c){break zd}}b=P[f>>1]|4096;break Ad}b=P[f>>1]|512}M[f>>1]=b;break yd}b=P[f>>1]}Dd:{if(b&4096|(e^-1)&(b&512)>>>9){break Dd}if(c){b=b|4096;break Dd}b=fh(N[g+8>>2]+136|0);a=P[f>>1];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)?a|1024:a}a=0;k=b&-2049|(b&4608?0:(b^-1)<<1&2048);M[f>>1]=k;Ed:{if(!(O[g+164|0]&2)|b&4096){break Ed}a=32;if(!(b&1024)){break Ed}Fd:{Gd:{Hd:{Id:{Jd:{Kd:{e=fh(N[g+8>>2]+136|0);b=O[e|0]|O[e+1|0]<<8;switch((b<<8|b>>>8)&65535){case 1:break Jd;case 0:break Kd;default:break Fd}}b=O[e+2|0]|O[e+3|0]<<8;if(!b){break Fd}if(O[e+8|0]==1){break Gd}d=(b<<8|b>>>8)&65535;c=d>>>0<=1?1:d;b=e+4|0;e=0;while(1){e=e+1|0;if((c|0)==(e|0)){break Fd}h=b;b=O[b+2|0]|O[b+3|0]<<8;b=h+((b<<8|b>>>8)&65535)|0;if(O[b+4|0]!=1){continue}break}break Id}b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(!b){break Fd}if(O[e+13|0]==1){break Gd}c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=c>>>0<=1?1:c;e=e+8|0;d=0;while(1){d=d+1|0;if((b|0)==(d|0)){break Fd}h=e;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=h+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;if(O[e+5|0]!=1){continue}break}break Hd}if(d>>>0>e>>>0){break Gd}break Fd}if(c>>>0<=d>>>0){break Fd}}a=0}k=P[f>>1]}d=k&-33|a;M[j+140>>1]=d;a=N[j+44>>2];Ld:{Md:{if((a|0)<=0){break Md}e=N[j+48>>2];b=a-1|0;a=0;while(1){Nd:{i=a+b>>>1|0;c=N[e+T(i,36)>>2];Od:{if(c>>>0>=1835102828){b=i-1|0;break Od}if((c|0)==1835102827){break Nd}a=i+1|0}if((a|0)<=(b|0)){continue}break Md}break}a=16;if(N[(e+T(i,36)|0)+28>>2]){break Ld}}a=0}b=a|d&-17;M[f>>1]=b;a=0;e=1;Pd:{if(k&4608){d=0;break Pd}d=256;e=0;if(!(k&1024)){break Pd}Qd:{Rd:{Sd:{Td:{Ud:{Vd:{Wd:{Xd:{h=fh(N[g+8>>2]+136|0);b=O[h|0]|O[h+1|0]<<8;switch((b<<8|b>>>8)&65535){case 1:break Wd;case 0:break Xd;default:break Ud}}b=O[h+2|0]|O[h+3|0]<<8;if(!b){break Ud}if(O[h+9|0]&4){break Td}i=(b<<8|b>>>8)&65535;c=i>>>0<=1?1:i;b=h+4|0;h=0;while(1){h=h+1|0;if((c|0)==(h|0)){break Qd}k=b;b=O[b+2|0]|O[b+3|0]<<8;b=k+((b<<8|b>>>8)&65535)|0;if(!(O[b+5|0]&4)){continue}break}break Vd}b=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);if(!b){break Ud}if(O[h+12|0]&64){break Td}c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=c>>>0<=1?1:c;e=h+8|0;h=0;while(1){h=h+1|0;if((b|0)==(h|0)){break Qd}i=e;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=i+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;if(!(O[e+4|0]&64)){continue}break}break Sd}b=P[f>>1];if(h>>>0>>0){break Rd}break Pd}b=P[f>>1];break Pd}b=P[f>>1];break Rd}b=P[f>>1];e=0;if(c>>>0<=h>>>0){break Pd}}d=0;e=1;break Pd}b=P[f>>1];e=0}c=b&-257|d;M[f>>1]=c;c=c&-129|(e?0:O[g+164|0]<<5&128);b=b&8192?c&-257:c;M[f>>1]=b;if(b&2){a=hl(N[g+8>>2]+172|0);a=((O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))!=0)<<14;b=P[f>>1]}M[j+140>>1]=b&49151|a;b=1;a=N[N[j+20>>2]+8>>2];Yd:{if(!a){break Yd}a=Qa[a|0](j)|0;N[j+112>>2]=a;if(a){break Yd}tq(D);if(N[j+104>>2]){N[j+104>>2]=0}_a(N[j+108>>2]);b=0;N[j+108>>2]=0;N[j+100>>2]=0;N[j+104>>2]=0}if(N[g+156>>2]){N[g+156>>2]=0}_a(N[g+160>>2]);N[g+160>>2]=0;N[g+152>>2]=0;N[g+156>>2]=0;if(N[g+96>>2]){N[g+96>>2]=0}_a(N[g+100>>2]);N[g+100>>2]=0;N[g+92>>2]=0;N[g+96>>2]=0;if(N[g+108>>2]){N[g+108>>2]=0}_a(N[g+112>>2]);N[g+112>>2]=0;N[g+104>>2]=0;N[g+108>>2]=0;if(N[g+120>>2]){N[g+120>>2]=0}_a(N[g+124>>2]);N[g+124>>2]=0;N[g+116>>2]=0;N[g+120>>2]=0;if(N[g+108>>2]){N[g+108>>2]=0}_a(N[g+112>>2]);N[g+112>>2]=0;N[g+104>>2]=0;N[g+108>>2]=0;if(N[g+96>>2]){N[g+96>>2]=0}_a(N[g+100>>2]);La=g+336|0;if(b){return v}_a(N[v+36>>2])}_a(v)}return 275552}function xy(a){a=a|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0;j=La-48|0;La=j;d=N[a>>2];b=0;a:{if(N[N[d+96>>2]+64>>2]!=40){break a}b=0;if(!O[a+641|0]){break a}b=0;if(O[d+9|0]&32){break a}b=(O[a+340|0]^-1)>>>2&1}M[a+644>>1]=0;L[a+643|0]=b;b=N[a+388>>2];c=P[a+152>>1];f=b+c<<1;f=f>>>0<=30?30:f;if(f>>>0>1]){M[a+188>>1]=f}N[a+656>>2]=0;N[a+648>>2]=0;b=c?(c>>>0<5?50:T(c,10))+(b>>>0<500?50:(b>>>0)/10|0)|0:T(b,22)+300|0;N[a+652>>2]=b;c=N[d+16>>2];N[a+260>>2]=0;c=T(c,100);b=b>>>0>>0?b:c;N[a+660>>2]=b;N[a+652>>2]=b;b:{if(P[a+220>>1]!=P[a+222>>1]){c=116;f=117;d=118;b=115;break b}c=120;f=121;d=122;b=119}N[a+636>>2]=b;N[a+632>>2]=c;N[a+628>>2]=f;N[a+624>>2]=d;N[a+404>>2]=N[a+392>>2];N[a+504>>2]=N[a+492>>2];N[a+356>>2]=N[a+360>>2];d=M[a+302>>1];c:{if((d&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;c=b;break c}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;c=P[a+298>>1];break c}c=M[a+298>>1];b=T(b,M[a+300>>1])+T(d,c)>>14;N[a+596>>2]=b}d:{if((c&65535)==16384){N[a+604>>2]=123;break d}if(P[a+300>>1]==16384){N[a+604>>2]=124;break d}N[a+604>>2]=125}e:{if(P[a+294>>1]==16384){N[a+608>>2]=123;break e}if(P[a+296>>1]==16384){N[a+608>>2]=124;break e}N[a+608>>2]=126}N[a+620>>2]=127;N[a+616>>2]=128;f:{if((b|0)!=16384){break f}g:{if((d|0)==16384){f=130;c=129;break g}if(P[a+304>>1]!=16384){break f}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;b=N[a+316>>2];if(!(b&248)){N[a+600>>2]=N[(b<<24>>22)+28520>>2]}x=a+180|0;y=a+144|0;n=a+72|0;o=a+36|0;p=a+108|0;c=N[a+368>>2];h:{i:{while(1){h=N[a+364>>2];i=O[h+c|0];L[a+376|0]=i;f=L[i+26496|0];N[a+380>>2]=f;j:{if((i&254)!=64){d=N[a+372>>2];break j}d=N[a+372>>2];b=c+1|0;if((d|0)<=(b|0)){d=131;break i}f=2-T(O[b+h|0],f)|0;N[a+380>>2]=f}if((c+f|0)>(d|0)){d=131;break i}b=O[i+26752|0];d=b>>>4|0;c=N[a+16>>2]-d|0;N[a+28>>2]=c;if((c|0)<0){if(O[a+593|0]){d=129;break i}if(b>>>0>=16){C(N[a+24>>2],0,(d>>>0<=1?1:d)<<2)}N[a+28>>2]=0;c=0}k:{l:{if((i|0)==145){b=N[N[a>>2]+736>>2];if(!b){g=N[a+32>>2];break k}g=N[b>>2]+c|0;break l}g=(b&15)+c|0}N[a+32>>2]=g}d=130;b=N[a+20>>2];if((b|0)<(g|0)){break i}N[a+12>>2]=0;L[a+384|0]=1;k=N[a+24>>2];e=k+(c<<2)|0;d=135;m:{n:{o:{p:{q:{r:{switch(i|0){case 0:case 1:case 2:case 3:case 4:case 5:c=i<<14&16384;b=c^16384;if(i>>>0<=3){M[a+296>>1]=b;M[a+294>>1]=c;M[a+300>>1]=b;M[a+298>>1]=c}s:{if(i&2){c=P[a+302>>1];break s}M[a+304>>1]=b;M[a+302>>1]=c}t:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break t}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break t}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}f=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;u:{if((b|0)!=16384){break u}v:{if((c&65535)==16384){f=130;c=129;break v}if(P[a+304>>1]!=16384){break u}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 6:case 7:w:{b=P[e+4>>1];if(b>>>0>1]){c=P[e>>1];if(c>>>0>1]){break w}}if(!O[a+593|0]){break q}d=134;break i}c=N[a+88>>2]+(c<<3)|0;d=N[c+4>>2];f=N[a+124>>2]+(b<<3)|0;g=N[f+4>>2];b=d-g|0;e=N[c>>2];f=N[f>>2];c=(e|0)==(f|0)&(d|0)==(g|0);d=c?16384:e-f|0;c=c|!(i&1);f=c?b:d;b=c?d:0-b|0;if(f|b){N[j+16>>2]=f;N[j+12>>2]=b;_b(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}c=P[a+298>>1]|P[a+300>>1]<<16;M[a+294>>1]=c;M[a+296>>1]=c>>>16;d=M[a+302>>1];b=c<<16>>16;x:{if((d&65535)==16384){break x}f=M[a+304>>1];b=c>>16;if((f|0)==16384){break x}b=T(f,c>>16)+T(d,c<<16>>16)>>14}N[a+620>>2]=127;N[a+616>>2]=128;N[a+596>>2]=b;f=(c&-65536)==1073741824;c=(c&65535)==16384;N[a+608>>2]=c?123:f?124:126;N[a+604>>2]=c?123:f?124:125;y:{if((b|0)!=16384){break y}z:{if((d|0)==16384){f=130;c=129;break z}if(P[a+304>>1]!=16384){break y}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 8:case 9:A:{b=P[e+4>>1];if(b>>>0>1]){c=P[e>>1];if(c>>>0>1]){break A}}if(!O[a+593|0]){break q}d=134;break i}c=N[a+88>>2]+(c<<3)|0;d=N[c+4>>2];f=N[a+124>>2]+(b<<3)|0;g=N[f+4>>2];b=d-g|0;e=N[c>>2];f=N[f>>2];c=(e|0)==(f|0)&(d|0)==(g|0);d=c?16384:e-f|0;c=c|!(i&1);f=c?b:d;b=c?d:0-b|0;B:{if(!(f|b)){c=P[a+302>>1];break B}N[j+16>>2]=f;N[j+12>>2]=b;_b(j+12|0);c=N[j+12>>2]/4|0;M[a+302>>1]=c;M[a+304>>1]=N[j+16>>2]/4}C:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break C}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break C}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}f=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;D:{if((b|0)!=16384){break D}E:{if((c&65535)==16384){f=130;c=129;break E}if(P[a+304>>1]!=16384){break D}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 10:b=M[e+4>>1];c=M[e>>1];if(b|c){N[j+16>>2]=b;N[j+12>>2]=c;_b(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}c=P[a+298>>1]|P[a+300>>1]<<16;M[a+294>>1]=c;M[a+296>>1]=c>>>16;d=M[a+302>>1];b=c<<16>>16;F:{if((d&65535)==16384){break F}f=M[a+304>>1];b=c>>16;if((f|0)==16384){break F}b=T(f,c>>16)+T(d,c<<16>>16)>>14}N[a+620>>2]=127;N[a+616>>2]=128;N[a+596>>2]=b;f=(c&-65536)==1073741824;c=(c&65535)==16384;N[a+608>>2]=c?123:f?124:126;N[a+604>>2]=c?123:f?124:125;G:{if((b|0)!=16384){break G}H:{if((d|0)==16384){f=130;c=129;break H}if(P[a+304>>1]!=16384){break G}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 11:b=M[e+4>>1];c=M[e>>1];I:{if(!(b|c)){c=P[a+302>>1];break I}N[j+16>>2]=b;N[j+12>>2]=c;_b(j+12|0);c=N[j+12>>2]/4|0;M[a+302>>1]=c;M[a+304>>1]=N[j+16>>2]/4}J:{if((c&65535)==16384){b=M[a+298>>1];N[a+596>>2]=b;g=b;break J}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;g=P[a+298>>1];break J}g=M[a+298>>1];b=T(b,M[a+300>>1])+T(g,c<<16>>16)>>14;N[a+596>>2]=b}f=123;N[a+604>>2]=(g&65535)==16384?123:P[a+300>>1]==16384?124:125;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;K:{if((b|0)!=16384){break K}L:{if((c&65535)==16384){f=130;c=129;break L}if(P[a+304>>1]!=16384){break K}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 12:b=M[a+298>>1];N[e+4>>2]=M[a+300>>1];N[e>>2]=b;break q;case 13:b=M[a+302>>1];N[e+4>>2]=M[a+304>>1];N[e>>2]=b;break q;case 14:g=P[a+298>>1]|P[a+300>>1]<<16;M[a+302>>1]=g;e=g>>>16|0;M[a+304>>1]=e;c=g<<16>>16;f=123;i=g&65535;M:{if((i|0)==16384){d=123;b=c;break M}d=124;b=16384;if((e|0)==16384){break M}d=125;b=g>>16;b=T(c,c)+T(b,b)>>>14|0}N[a+604>>2]=d;N[a+596>>2]=b;f=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:f;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=f;N:{if((b|0)!=16384){break N}O:{if((i|0)==16384){f=130;c=129;break O}if((e|0)!=16384){break N}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 15:P:{d=P[e+12>>1];b=P[a+44>>1];Q:{if(d>>>0>=b>>>0){break Q}f=P[e+16>>1];if(f>>>0>=b>>>0){break Q}c=P[e+4>>1];b=P[a+80>>1];if(c>>>0>=b>>>0){break Q}g=P[e+8>>1];if(g>>>0>=b>>>0){break Q}b=P[e>>1];if(b>>>0>1]){break P}}if(!O[a+593|0]){break q}d=134;break i}e=g<<3;g=N[a+88>>2];i=e+g|0;s=N[i>>2];h=g+(c<<3)|0;c=N[h>>2];g=s-c|0;e=f<<3;f=N[a+52>>2];k=e+f|0;u=N[k+4>>2];f=f+(d<<3)|0;e=N[f+4>>2];q=u-e|0;t=0-q|0;l=jb(g,t,64);w=N[i+4>>2];d=N[h+4>>2];i=w-d|0;v=N[k>>2];h=N[f>>2];k=v-h|0;f=l+jb(i,k,64)|0;l=f>>31;r=jb(g,k,64)+jb(i,q,64)|0;q=r>>31;R:{if(((r^q)-q|0)<(T((f^l)-l|0,19)|0)){r=N[a+124>>2];e=jb(h-c|0,t,64)+jb(e-d|0,k,64)|0;W=r+(b<<3)|0,X=jb(e,g,f)+c|0,N[W>>2]=X;c=jb(e,i,f)+d|0;break R}r=N[a+124>>2];N[r+(b<<3)>>2]=(v+(h+(c+s|0)|0)|0)/4;c=(u+(e+(d+w|0)|0)|0)/4|0}N[((b<<3)+r|0)+4>>2]=c;b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|24;break q;case 16:M[a+288>>1]=N[e>>2];break q;case 17:M[a+290>>1]=N[e>>2];break q;case 18:M[a+292>>1]=N[e>>2];break q;case 19:b=x;S:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break S}}c=N[b+4>>2];N[o>>2]=N[b>>2];N[o+4>>2]=c;N[o+32>>2]=N[b+32>>2];c=N[b+28>>2];N[o+24>>2]=N[b+24>>2];N[o+28>>2]=c;c=N[b+20>>2];N[o+16>>2]=N[b+16>>2];N[o+20>>2]=c;c=N[b+12>>2];N[o+8>>2]=N[b+8>>2];N[o+12>>2]=c;M[a+348>>1]=N[e>>2];break q;case 20:b=x;T:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break T}}c=N[b+4>>2];N[n>>2]=N[b>>2];N[n+4>>2]=c;N[n+32>>2]=N[b+32>>2];c=N[b+28>>2];N[n+24>>2]=N[b+24>>2];N[n+28>>2]=c;c=N[b+20>>2];N[n+16>>2]=N[b+16>>2];N[n+20>>2]=c;c=N[b+12>>2];N[n+8>>2]=N[b+8>>2];N[n+12>>2]=c;M[a+350>>1]=N[e>>2];break q;case 21:b=x;U:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break U}}c=N[b+4>>2];N[p>>2]=N[b>>2];N[p+4>>2]=c;N[p+32>>2]=N[b+32>>2];c=N[b+28>>2];N[p+24>>2]=N[b+24>>2];N[p+28>>2]=c;c=N[b+20>>2];N[p+16>>2]=N[b+16>>2];N[p+20>>2]=c;c=N[b+12>>2];N[p+8>>2]=N[b+8>>2];N[p+12>>2]=c;M[a+352>>1]=N[e>>2];break q;case 22:b=x;V:{switch(N[e>>2]){default:if(!O[a+593|0]){break q}d=134;break i;case 1:b=y;break;case 0:break V}}c=N[b+4>>2];N[o>>2]=N[b>>2];N[o+4>>2]=c;N[o+32>>2]=N[b+32>>2];c=N[b+28>>2];N[o+24>>2]=N[b+24>>2];N[o+28>>2]=c;c=N[b+20>>2];N[o+16>>2]=N[b+16>>2];N[o+20>>2]=c;c=N[b+12>>2];N[o+8>>2]=N[b+8>>2];N[o+12>>2]=c;N[n+32>>2]=N[b+32>>2];c=N[b+28>>2];N[n+24>>2]=N[b+24>>2];N[n+28>>2]=c;c=N[b+20>>2];N[n+16>>2]=N[b+16>>2];N[n+20>>2]=c;c=N[b+12>>2];N[n+8>>2]=N[b+8>>2];N[n+12>>2]=c;c=N[b+4>>2];N[n>>2]=N[b>>2];N[n+4>>2]=c;N[p+32>>2]=N[b+32>>2];c=N[b+28>>2];N[p+24>>2]=N[b+24>>2];N[p+28>>2]=c;c=N[b+20>>2];N[p+16>>2]=N[b+16>>2];N[p+20>>2]=c;c=N[b+12>>2];N[p+8>>2]=N[b+8>>2];N[p+12>>2]=c;c=N[b+4>>2];N[p>>2]=N[b>>2];N[p+4>>2]=c;b=P[e>>1];M[a+352>>1]=b;M[a+350>>1]=b;M[a+348>>1]=b;break q;case 23:b=N[e>>2];if((b|0)<0){d=132;break i}N[a+308>>2]=b>>>0>=65535?65535:b;break q;case 24:N[a+600>>2]=133;N[a+316>>2]=1;break q;case 25:N[a+600>>2]=134;N[a+316>>2]=0;break q;case 26:N[a+312>>2]=N[e>>2];break q;case 27:b=N[a+368>>2];c=N[a+372>>2];g=1;while(1){b=b+f|0;N[a+368>>2]=b;if((b|0)>=(c|0)){d=131;break i}d=O[b+h|0];L[a+376|0]=d;f=L[d+26496|0];N[a+380>>2]=f;if((d&254)==64){e=b+1|0;if((e|0)>=(c|0)){d=131;break i}f=2-T(O[e+h|0],f)|0;N[a+380>>2]=f}if((c|0)<(b+f|0)){d=131;break i}W:{switch(d-88|0){case 0:g=g+1|0;if(g){continue}break q;case 1:g=g-1|0;break;default:break W}}if(g){continue}break};break q;case 28:b=132;d=c;c=N[e>>2];X:{if(!(d|c)){break X}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break X}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break X}L[a+384|0]=0;if(N[e>>2]>=0){break q}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break q}}N[a+12>>2]=b;break p;case 29:N[a+324>>2]=N[e>>2];break q;case 30:N[a+328>>2]=N[e>>2];break q;case 31:W=a,X=ob(N[e>>2],N[a+264>>2]),N[W+332>>2]=X;break q;case 32:N[e+4>>2]=N[e>>2];break q;case 34:N[a+32>>2]=0;break q;case 35:W=e,X=_E(N[e>>2],N[e+4>>2],32),N[W>>2]=X;N[e+4>>2]=Pa;break q;case 36:N[e>>2]=N[a+16>>2];break q;case 37:b=N[e>>2];Y:{if(!((b|0)>0&(b|0)<=(c|0))){b=0;if(!O[a+593|0]){break Y}N[a+12>>2]=134;N[e>>2]=0;break q}b=N[k+(c-b<<2)>>2]}N[e>>2]=b;break q;case 38:b=N[e>>2];if(!((b|0)>0&(b|0)<=(c|0))){if(!O[a+593|0]){break q}d=134;break i}c=k+(c-b<<2)|0;d=N[c>>2];F(c,c+4|0,(b<<2)-4|0);N[(N[a+24>>2]+(N[a+28>>2]<<2)|0)-4>>2]=d;break q;case 39:Z:{b=P[e>>1];if(b>>>0>1]){c=P[e+4>>1];if(c>>>0>1]){break Z}}if(!O[a+593|0]){break q}d=134;break i}e=b;d=N[a+52>>2]+(c<<3)|0;b=N[a+88>>2]+(b<<3)|0;b=(Qa[N[a+604>>2]](a,N[d>>2]-N[b>>2]|0,N[d+4>>2]-N[b+4>>2]|0)|0)/2|0;Qa[N[a+616>>2]](a,n,e,b);Qa[N[a+616>>2]](a,o,c,0-b|0);break q;case 40:Od(a);break q;case 41:b=P[e>>1];if(b>>>0>=P[a+44>>1]){if(!O[a+593|0]){break q}d=134;break i}b=b+N[a+60>>2]|0;c=b;d=O[b|0];b=P[a+302>>1]?-9:-1;L[c|0]=d&(P[a+304>>1]?b&239:b);break q;case 42:b=134;f=N[e+4>>2];c=N[a+440>>2]+1|0;_:{if(f>>>0>=c>>>0){break _}d=N[a+424>>2];g=N[a+416>>2];$:{if((g|0)==(c|0)){c=d+T(f,24)|0;if((f|0)==N[(d?c:0)+12>>2]){break $}}c=d;d=c?c+T(g,24)|0:0;aa:{if(c>>>0>=d>>>0){break aa}while(1){if((f|0)==N[c+12>>2]){break aa}c=c+24|0;if(d>>>0>c>>>0){continue}break}}if((c|0)==(d|0)){break _}}if(!O[c+16|0]){break _}b=130;d=N[a+448>>2];if((d|0)>=N[a+452>>2]){break _}if(N[e>>2]<=0){break q}b=N[a+456>>2]+(d<<4)|0;N[b>>2]=N[a+360>>2];N[b+4>>2]=N[a+368>>2]+1;f=N[e>>2];N[b+12>>2]=c;N[b+8>>2]=f;N[a+448>>2]=d+1;b=N[c>>2];ba:{if(b-4>>>0<=4294967292){N[a+12>>2]=132;break ba}d=(b-1<<3)+a|0;f=N[d+464>>2];if(!f){N[a+12>>2]=138;break ba}d=N[d+468>>2];c=N[c+4>>2];if((d|0)<(c|0)){N[a+12>>2]=131;break ba}N[a+372>>2]=d;N[a+364>>2]=f;N[a+368>>2]=c;N[a+360>>2]=b}L[a+384|0]=0;c=N[a+648>>2]+N[e>>2]|0;N[a+648>>2]=c;b=139;if(c>>>0<=Q[a+652>>2]){break q}}N[a+12>>2]=b;break p;case 43:d=134;b=N[a+440>>2]+1|0;f=N[e>>2];if(b>>>0<=f>>>0){break i}c=N[a+424>>2];if(!c){break i}g=N[a+416>>2];ca:{if((g|0)==(b|0)){b=c+T(f,24)|0;if((f|0)==N[b+12>>2]){break ca}}e=c+T(g,24)|0;b=c;da:{if((g|0)<=0){break da}while(1){if((f|0)==N[b+12>>2]){break da}b=b+24|0;if(e>>>0>b>>>0){continue}break}}if((b|0)==(e|0)){break i}}if(!O[b+16|0]){break i}d=130;f=N[a+448>>2];if((f|0)>=N[a+452>>2]){break i}c=N[a+456>>2]+(f<<4)|0;N[c>>2]=N[a+360>>2];d=N[a+368>>2];N[c+12>>2]=b;N[c+8>>2]=1;N[c+4>>2]=d+1;N[a+448>>2]=f+1;c=N[b>>2];ea:{if(c-4>>>0<=4294967292){N[a+12>>2]=132;break ea}d=(c-1<<3)+a|0;f=N[d+464>>2];if(!f){N[a+12>>2]=138;break ea}d=N[d+468>>2];b=N[b+4>>2];if((d|0)<(b|0)){N[a+12>>2]=131;break ea}N[a+372>>2]=d;N[a+364>>2]=f;N[a+368>>2]=b;N[a+360>>2]=c}L[a+384|0]=0;break q;case 44:if(N[a+356>>2]==3){d=156;break i}b=N[a+424>>2];fa:{ga:{if(!b){g=N[a+416>>2];d=N[e>>2];c=0;break ga}g=N[a+416>>2];c=T(g,24)+b|0;d=N[e>>2];ha:{if((g|0)<=0){break ha}while(1){if(N[b+12>>2]==(d|0)){break ha}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break fa}}if(Q[a+420>>2]<=g>>>0){d=140;break i}N[a+416>>2]=g+1;b=c}if(d>>>0>65535){d=140;break i}c=N[a+360>>2];N[b+12>>2]=d;N[b>>2]=c;c=N[a+368>>2];N[b+20>>2]=0;M[b+16>>1]=1;N[b+4>>2]=c+1;if(Q[a+440>>2]>>0){N[a+440>>2]=d}e=N[a+372>>2];while(1){c=c+f|0;N[a+368>>2]=c;if((c|0)>=(e|0)){d=131;break i}g=O[c+h|0];L[a+376|0]=g;f=L[g+26496|0];N[a+380>>2]=f;if((g&254)==64){d=c+1|0;if((d|0)>=(e|0)){d=131;break i}f=2-T(O[d+h|0],f)|0;N[a+380>>2]=f}if((e|0)<(c+f|0)){d=131;break i}d=137;ia:{switch(g-44|0){case 1:N[b+8>>2]=c;break q;case 0:break i;default:break ia}}if((g|0)!=137){continue}break};break i;case 33:case 89:case 126:case 127:N[a+16>>2]=g;break o;default:if(i>>>0>=224){c=N[e+4>>2];b=0;ja:{ka:{f=N[e>>2];d=f&65535;la:{if(d>>>0>=P[a+80>>1]){break la}g=c+1|0;if(g>>>0>=N[a+388>>2]+1>>>0){break la}if(P[a+288>>1]>1]){break ka}}if(!O[a+593|0]){break ja}N[a+12>>2]=134;break ja}if(g){b=Qa[N[a+628>>2]](a,c)|0}c=N[a+332>>2];e=b-c|0;g=e>>31;b=N[a+328>>2]>((e^g)-g|0)?(b|0)<0?0-c|0:c:b;if(!P[a+350>>1]){g=M[a+302>>1];c=g>>31;i=(c^g)-c|0;c=b>>31;h=(c^b)-c|0;k=h>>>16|0;l=T(i,k);e=l<<16|8192;q=d<<3;c=q+N[a+84>>2]|0;r=N[a+48>>2]+(P[a+288>>1]<<3)|0;m=e;s=i;i=h&65535;e=e+T(s,i)|0;e=(l>>>16|0)+(m>>>0>e>>>0)<<18|e>>>14;N[c>>2]=N[r>>2]+((b^g)<0?0-e|0:e);g=M[a+304>>1];e=g>>31;h=(e^g)-e|0;k=T(h,k);e=k<<16|8192;l=e;e=e+T(i,h)|0;e=(k>>>16|0)+(l>>>0>e>>>0)<<18|e>>>14;N[c+4>>2]=N[r+4>>2]+((b^g)<0?0-e|0:e);e=N[c+4>>2];g=q+N[a+88>>2]|0;N[g>>2]=N[c>>2];N[g+4>>2]=e}d=d<<3;c=d+N[a+84>>2]|0;g=N[a+48>>2]+(P[a+288>>1]<<3)|0;c=Qa[N[a+608>>2]](a,N[c>>2]-N[g>>2]|0,N[c+4>>2]-N[g+4>>2]|0)|0;d=d+N[a+88>>2]|0;g=N[a+52>>2]+(P[a+288>>1]<<3)|0;e=Qa[N[a+604>>2]](a,N[d>>2]-N[g>>2]|0,N[d+4>>2]-N[g+4>>2]|0)|0;b=O[a+320|0]?(b^c)<0?0-b|0:b:b;d=O[a+376|0];ma:{if(d&4){if(P[a+348>>1]==P[a+350>>1]){i=b-c|0;g=i>>31;b=N[a+324>>2]<((g^i)-g|0)?c:b}b=Qa[N[a+600>>2]](a,b,d&3)|0;d=O[a+376|0];break ma}g=N[(((d&3)<<2)+a|0)+268>>2];if((b|0)>=0){b=b+g|0;b=(b|0)>0?b:0;break ma}b=b-g|0;b=b>>31&b}g=a+72|0;na:{if(!(d&8)){break na}d=N[a+312>>2];if((c|0)>=0){b=(b|0)>(d|0)?b:d;break na}c=0-d|0;b=(b|0)<(c|0)?b:c}Qa[N[a+616>>2]](a,g,f&65535,b-e|0)}M[a+290>>1]=P[a+288>>1];if(O[a+376|0]&16){M[a+288>>1]=f}M[a+292>>1]=f;break q}if(i>>>0>=192){oa:{pa:{f=N[e>>2];d=f&65535;if(d>>>0>1]){c=P[a+288>>1];if(c>>>0>1]){break pa}}if(!O[a+593|0]){break oa}N[a+12>>2]=134;break oa}qa:{if(!(P[a+350>>1]?P[a+348>>1]:0)){b=N[a+84>>2]+(d<<3)|0;c=N[a+48>>2]+(c<<3)|0;b=Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0;break qa}k=N[a+56>>2];b=k+(c<<3)|0;l=N[a+92>>2];g=l+(d<<3)|0;e=N[a+224>>2];i=N[a+228>>2];if((e|0)==(i|0)){g=Qa[N[a+608>>2]](a,N[g>>2]-N[b>>2]|0,N[g+4>>2]-N[b+4>>2]|0)|0;c=g>>31;e=N[a+224>>2];b=e>>31;c=(c^g)-c|0;b=(b^e)-b|0;ra:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break ra}i=c&65535;c=T(i,b>>>16|0)+T(b,c>>>16|0)+(T(i,b&65535)+32768>>>16)|0}b=c;i=0-b|0;b=g>>31|1;b=(((e|0)<0?0-b|0:b)|0)<0?i:c;break qa}h=N[g>>2]-N[b>>2]|0;g=h>>31;g=(g^h)-g|0;b=e>>31;b=(b^e)-b|0;sa:{if(g+(b>>>8|0)>>>0<=8190){g=T(b,g)+32768>>>16|0;break sa}q=g&65535;g=T(q,b>>>16|0)+T(b,g>>>16|0)+(T(q,b&65535)+32768>>>16)|0}b=g;q=0-b|0;b=h>>31|1;e=(((e|0)<0?0-b|0:b)|0)<0?q:g;g=N[(l+(d<<3)|0)+4>>2]-N[(k+(c<<3)|0)+4>>2]|0;c=g>>31;c=(c^g)-c|0;b=i>>31;b=(b^i)-b|0;ta:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break ta}h=c&65535;c=T(h,b>>>16|0)+T(b,c>>>16|0)+(T(h,b&65535)+32768>>>16)|0}b=c;h=0-b|0;b=g>>31|1;b=Qa[N[a+608>>2]](a,e,(((i|0)<0?0-b|0:b)|0)<0?h:c)|0}g=N[a+328>>2];ua:{if((g|0)<=0){break ua}c=N[a+332>>2];if((c+g|0)<=(b|0)|(c-g|0)>=(b|0)){break ua}b=(b|0)<0?0-c|0:c}g=O[a+376|0];va:{if(g&4){c=Qa[N[a+600>>2]](a,b,g&3)|0;g=O[a+376|0];break va}c=N[(((g&3)<<2)+a|0)+268>>2];if((b|0)>=0){c=b+c|0;c=(c|0)>0?c:0;break va}c=b-c|0;c=c>>31&c}e=a+72|0;wa:{if(!(g&8)){break wa}g=N[a+312>>2];if((b|0)>=0){c=(c|0)>(g|0)?c:g;break wa}b=0-g|0;c=(b|0)>(c|0)?c:b}g=c;b=N[a+88>>2]+(d<<3)|0;c=N[a+52>>2]+(P[a+288>>1]<<3)|0;X=a,Y=e,Z=f&65535,_=g-(Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0)|0,W=N[a+616>>2],Qa[W](X|0,Y|0,Z|0,_|0)}M[a+292>>1]=f;M[a+290>>1]=P[a+288>>1];if(O[a+376|0]&16){M[a+288>>1]=f}break q}if(i>>>0>=184){b=O[a+376|0]+65353|0;c=b&65535;if(c>>>0>=(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){N[a+12>>2]=130;break q}N[a+368>>2]=N[a+368>>2]+1;xa:{if(!c){break xa}f=b&1;d=N[a+364>>2];b=0;if((c|0)!=1){c=c-f|0;while(1){g=N[a+368>>2];N[a+368>>2]=g+2;i=b<<2;g=d+g|0;g=O[g|0]|O[g+1|0]<<8;N[i+e>>2]=(g<<8|g>>>8)<<16>>16;g=N[a+368>>2];N[a+368>>2]=g+2;g=d+g|0;g=O[g|0]|O[g+1|0]<<8;N[e+(i|4)>>2]=(g<<8|g>>>8)<<16>>16;b=b+2|0;if((c|0)!=(b|0)){continue}break}}if(!f){break xa}c=N[a+368>>2];N[a+368>>2]=c+2;e=e+(b<<2)|0;b=c+d|0;b=O[b|0]|O[b+1|0]<<8;N[e>>2]=(b<<8|b>>>8)<<16>>16}L[a+384|0]=0;break q}if(i>>>0>=176){d=O[a+376|0]+65361|0;b=d&65535;if(b>>>0<(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){if(b){f=N[a+364>>2];b=1;c=1;while(1){N[(e+(b<<2)|0)-4>>2]=O[f+(N[a+368>>2]+b|0)|0];c=c+1|0;b=c&65535;if(b>>>0<=(d&65535)>>>0){continue}break}}break q}N[a+12>>2]=130;break q}Od(a);break q;case 146:if(N[N[a>>2]+736>>2]){N[e>>2]=17;break q}Od(a);break q;case 145:if(N[N[a>>2]+736>>2]){f=0;c=N[N[a>>2]+736>>2];b=N[c>>2];if(b>>>0>=(N[a+20>>2]-N[a+16>>2]|0)+1>>>0){N[a+12>>2]=130;break q}d=N[c+8>>2];ya:{if(d){if(!b){break ya}c=0;if(b>>>0>=4){i=b&-4;while(1){g=c<<2;N[g+e>>2]=N[d+g>>2]>>2;h=g|4;N[h+e>>2]=N[d+h>>2]>>2;h=g|8;N[h+e>>2]=N[d+h>>2]>>2;g=g|12;N[g+e>>2]=N[d+g>>2]>>2;c=c+4|0;if((i|0)!=(c|0)){continue}break}}b=b&3;if(!b){break ya}while(1){g=c<<2;N[g+e>>2]=N[d+g>>2]>>2;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}break ya}if(!b){break ya}C(e,0,b<<2)}break q}Od(a);break q;case 143:case 144:Od(a);break q;case 142:c=N[e+4>>2];if(c-4>>>0<=4294967292){if(!O[a+593|0]){break q}d=134;break i}b=N[e>>2];d=1<>2]+96>>2]+64>>2]!=40){break q}L[a+643|0]=(b|0)!=4;break q;case 141:b=N[e>>2];if((b|0)<0){break q}N[a+344>>2]=b&65535;break q;case 140:b=N[e+4>>2];if((b|0)>=N[e>>2]){break q}N[e>>2]=b;break q;case 139:b=N[e+4>>2];if((b|0)<=N[e>>2]){break q}N[e>>2]=b;break q;case 138:b=N[e+8>>2];c=N[e+4>>2];N[e+8>>2]=N[e>>2];N[e>>2]=c;N[e+4>>2]=b;break q;case 137:if(N[a+356>>2]==3){d=156;break i}d=N[a+428>>2];b=N[a+436>>2];za:{Aa:{if(!b){c=0;break Aa}c=T(d,24)+b|0;Ba:{if((d|0)<=0){break Ba}g=N[e>>2];while(1){if((g|0)==N[b+12>>2]){break Ba}b=b+24|0;if(c>>>0>b>>>0){continue}break}}if((b|0)!=(c|0)){break za}}if(d>>>0>=Q[a+432>>2]){d=141;break i}N[a+428>>2]=d+1;b=c}c=N[e>>2];if(c>>>0>255){d=141;break i}N[b+12>>2]=c;c=N[a+368>>2];N[b+4>>2]=c+1;d=N[a+360>>2];L[b+16|0]=1;N[b>>2]=d;d=N[e>>2];if(d>>>0>Q[a+444>>2]){N[a+444>>2]=d&255}e=N[a+372>>2];while(1){c=c+f|0;N[a+368>>2]=c;if((c|0)>=(e|0)){d=131;break i}g=O[c+h|0];L[a+376|0]=g;f=L[g+26496|0];N[a+380>>2]=f;if((g&254)==64){d=c+1|0;if((d|0)>=(e|0)){d=131;break i}f=2-T(O[d+h|0],f)|0;N[a+380>>2]=f}if((e|0)<(c+f|0)){d=131;break i}d=137;Ca:{switch(g-44|0){default:if((g|0)!=137){continue}break i;case 0:break i;case 1:break Ca}}break};N[b+8>>2]=c;break q;case 136:b=0;c=N[e>>2];b=c&1?N[N[N[a>>2]+96>>2]+64>>2]:b;b=c&2?O[a+285|0]?b|256:b:b;b=c&4?O[a+286|0]?b|512:b:b;b=c&8?N[N[a>>2]+736>>2]?b|1024:b:b;b=c&32?O[a+640|0]?b|4096:b:b;Da:{if(!O[a+641|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40){break Da}d=c<<7;b=d&8192|b;if(c&256){b=O[a+642|0]?b|32768:b}b=d&393216|b;if(!(c&4096)){break Da}b=O[a+646|0]?b|524288:b}N[e>>2]=b;break q;case 134:case 135:Ea:{b=P[e>>1];if(b>>>0>1]){c=P[e+4>>1];if(c>>>0>1]){break Ea}}if(!O[a+593|0]){break q}d=134;break i}d=b<<3;f=d+N[a+84>>2]|0;g=N[f+4>>2];e=c<<3;c=e+N[a+120>>2]|0;h=N[c+4>>2];b=g-h|0;f=N[f>>2];k=N[c>>2];c=(f|0)==(k|0)&(g|0)==(h|0);f=c?16384:f-k|0;c=c|!(i&1);g=c?b:f;b=c?f:0-b|0;if(g|b){N[j+16>>2]=g;N[j+12>>2]=b;_b(j+12|0);M[a+294>>1]=N[j+12>>2]/4;M[a+296>>1]=N[j+16>>2]/4}d=d+N[a+88>>2]|0;f=N[d+4>>2];g=e+N[a+124>>2]|0;e=N[g+4>>2];b=f-e|0;i=N[d>>2];g=N[g>>2];d=(i|0)==(g|0)&(e|0)==(f|0);f=d?16384:i-g|0;c=c|d;d=c?b:f;b=c?f:0-b|0;if(d|b){N[j+16>>2]=d;N[j+12>>2]=b;_b(j+12|0);M[a+298>>1]=N[j+12>>2]/4;M[a+300>>1]=N[j+16>>2]/4}f=P[a+302>>1];Fa:{if((f|0)==16384){b=M[a+298>>1];N[a+596>>2]=b;d=b;break Fa}b=M[a+304>>1];if((b|0)==16384){b=M[a+300>>1];N[a+596>>2]=b;d=P[a+298>>1];break Fa}d=M[a+298>>1];b=T(b,M[a+300>>1])+T(d,f<<16>>16)>>14;N[a+596>>2]=b}c=123;N[a+604>>2]=(d&65535)==16384?123:P[a+300>>1]==16384?124:125;c=P[a+294>>1]!=16384?P[a+296>>1]==16384?124:126:c;N[a+620>>2]=127;N[a+616>>2]=128;N[a+608>>2]=c;Ga:{if((b|0)!=16384){break Ga}Ha:{if((f|0)==16384){f=130;c=129;break Ha}if(P[a+304>>1]!=16384){break Ga}f=132;c=131}N[a+620>>2]=c;N[a+616>>2]=f}c=b;b=b>>31;if((c^b)-b>>>0<=1023){N[a+596>>2]=16384}N[a+260>>2]=0;break q;case 133:b=N[e>>2];c=b&255;if((c|0)==255){L[a+341|0]=1;break q}if(!c){L[a+341|0]=0;break q}if(!(!(b&256)|c>>>0>1])){L[a+341|0]=1}if(!(!(b&512)|!O[a+285|0])){L[a+341|0]=1}if(!(!(b&1024)|!O[a+286|0])){L[a+341|0]=1}if(!(!(b&2048)|c>>>0>=P[a+256>>1])){L[a+341|0]=0}if(!(!(b&4096)|!O[a+285|0])){L[a+341|0]=0}if(!(b&8192)|!O[a+286|0]){break q}L[a+341|0]=0;break q;case 131:case 132:Od(a);break q;case 130:if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break q}}Ia:{d=P[e+4>>1];c=P[a+152>>1];if(d>>>0>=c>>>0){break Ia}b=P[e>>1];if(c>>>0<=b>>>0){break Ia}if(b>>>0>d>>>0){break q}c=b;while(1){b=N[a+168>>2]+b|0;L[b|0]=O[b|0]&254;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break q}if(!O[a+593|0]){break q}d=134;break i;case 129:if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break q}}Ja:{d=P[e+4>>1];c=P[a+152>>1];if(d>>>0>=c>>>0){break Ja}b=P[e>>1];if(c>>>0<=b>>>0){break Ja}if(b>>>0>d>>>0){break q}c=b;while(1){b=N[a+168>>2]+b|0;L[b|0]=O[b|0]|1;c=c+1|0;b=c&65535;if(d>>>0>=b>>>0){continue}break}break q}if(!O[a+593|0]){break q}d=134;break i;case 128:Ka:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Ka}}f=N[a+308>>2];if((f|0)<=N[a+16>>2]){if((f|0)<=0){break Ka}while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];La:{if(b>>>0>=P[a+152>>1]){b=f;if(!O[a+593|0]){break La}d=134;break i}b=b+N[a+168>>2]|0;L[b|0]=O[b|0]^1;b=N[a+308>>2]}f=b-1|0;N[a+308>>2]=f;if((b|0)>1){continue}break}c=N[a+28>>2];break Ka}if(!O[a+593|0]){break Ka}N[a+12>>2]=129}N[a+32>>2]=c;N[a+308>>2]=1;break q;case 125:N[a+600>>2]=135;N[a+316>>2]=3;break q;case 124:N[a+600>>2]=136;N[a+316>>2]=4;break q;case 123:Od(a);break q;case 122:N[a+600>>2]=137;N[a+316>>2]=5;break q;case 121:if(N[e+4>>2]){break q}b=132;d=c;c=N[e>>2];Ma:{if(!(d|c)){break Ma}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break Ma}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break Ma}L[a+384|0]=0;if(N[e>>2]>=0){break q}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break q}}N[a+12>>2]=b;break p;case 120:if(!N[e+4>>2]){break q}b=132;d=c;c=N[e>>2];Na:{if(!(d|c)){break Na}c=c+N[a+368>>2]|0;N[a+368>>2]=c;if((c|0)<0){break Na}d=N[a+448>>2];if((d|0)>0&(c|0)>N[N[(N[a+456>>2]+(d<<4)|0)-4>>2]+8>>2]){break Na}L[a+384|0]=0;if(N[e>>2]>=0){break q}c=N[a+656>>2]+1|0;N[a+656>>2]=c;b=139;if(c>>>0<=Q[a+660>>2]){break q}}N[a+12>>2]=b;break p;case 119:d=N[e>>2];c=d>>>4|0;b=N[(c&12)+28568>>2];Oa:{Pa:{Qa:{Ra:{c=c&3;switch(c-1|0){case 2:break Pa;case 1:break Qa;case 0:break Ra;default:break Oa}}c=b>>>10|0;break Oa}c=b>>>9|0;break Oa}c=T(b,3)>>>10|0}N[a+512>>2]=c;N[a+600>>2]=138;N[a+316>>2]=7;c=d&15;if(c){c=(T(b,c-4|0)|0)/8|0}else{c=b-1|0}N[a+516>>2]=c>>8;N[a+508>>2]=b>>>8;break q;case 118:d=N[e>>2];c=d>>>4|0;b=N[(c&12)+28552>>2];Sa:{Ta:{Ua:{Va:{c=c&3;switch(c-1|0){case 2:break Ta;case 1:break Ua;case 0:break Va;default:break Sa}}c=b>>>10|0;break Sa}c=b>>>9|0;break Sa}c=T(b,3)>>>10|0}N[a+512>>2]=c;N[a+600>>2]=139;N[a+316>>2]=6;N[a+508>>2]=b>>>8;c=d&15;N[a+516>>2]=(c?T(b,c-4|0)>>3:b-1|0)>>8;break q;case 115:case 116:case 117:d=Qa[N[a+624>>2]](a)|0;c=1;f=N[e>>2];Wa:{if(!f){break Wa}while(1){b=N[a+28>>2];if((b|0)<=1){if(O[a+593|0]){N[a+12>>2]=129}N[a+28>>2]=0;break Wa}g=b-2|0;N[a+28>>2]=g;e=b<<2;b=N[a+24>>2];e=N[(e+b|0)-4>>2];Xa:{if(e>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break Xa}d=134;break i}g=N[b+(g<<2)>>2];b=g>>>4&15;Ya:{Za:{switch(O[a+376|0]-116|0){case 0:b=b|16;break Ya;case 1:break Za;default:break Ya}}b=b|32}if((d|0)!=(P[a+336>>1]+b|0)){break Xa}b=g&15;Qa[N[a+636>>2]](a,e,(b>>>0>7?-7:-8)+b<<6-P[a+338>>1])}c=c+1|0;if(f>>>0>=c>>>0){continue}break}}N[a+32>>2]=N[a+28>>2];break q;case 113:case 114:jn(a,e);break q;case 112:b=N[e>>2];if(b>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break q}d=134;break i}W=N[a+392>>2]+(b<<2)|0,_=ob(N[e+4>>2],N[a+264>>2]),N[W>>2]=_;break q;case 108:case 109:case 110:case 111:b=N[(((i&3)<<2)+a|0)+268>>2];c=N[e>>2];if((c|0)>=0){b=b+c|0;N[e>>2]=(b|0)>0?b:0;break q}b=c-b|0;N[e>>2]=b>>31&b;break q;case 104:case 105:case 106:case 107:W=e,_=Qa[N[a+600>>2]](a,N[e>>2],i&3)|0,N[W>>2]=_;break q;case 103:N[e>>2]=N[e>>2]+63&-64;break q;case 102:N[e>>2]=N[e>>2]&-64;break q;case 101:N[e>>2]=0-N[e>>2];break q;case 100:b=N[e>>2];if((b|0)>=0){break q}N[e>>2]=0-b;break q;case 99:W=e,_=jb(N[e>>2],N[e+4>>2],64),N[W>>2]=_;break q;case 98:b=N[e+4>>2];if(!b){d=133;break i}W=e,_=di(N[e>>2],64,b),N[W>>2]=_;break q;case 97:N[e>>2]=N[e>>2]-N[e+4>>2];break q;case 96:N[e>>2]=N[e+4>>2]+N[e>>2];break q;case 95:b=N[e>>2];if(b>>>0>6){d=132;break i}M[a+338>>1]=b;break q;case 94:M[a+336>>1]=N[e>>2];break q;case 93:jn(a,e);break q;case 92:N[e>>2]=!N[e>>2];break q;case 91:N[e>>2]=N[e>>2]?1:N[e+4>>2]!=0;break q;case 90:if(!N[e>>2]){N[e>>2]=0;break q}N[e>>2]=N[e+4>>2]!=0;break q;case 88:if(N[e>>2]){break q}c=N[a+368>>2];g=N[a+372>>2];d=1;_a:while(1){c=c+f|0;N[a+368>>2]=c;$a:{if((d|0)==1){if((c|0)>=(g|0)){d=131;break i}b=O[c+h|0];L[a+376|0]=b;f=L[b+26496|0];N[a+380>>2]=f;if((b&254)==64){e=c+1|0;if((e|0)>=(g|0)){d=131;break i}f=2-T(O[e+h|0],f)|0;N[a+380>>2]=f}if((g|0)<(c+f|0)){d=131;break i}ab:{switch(b-88|0){case 1:break q;case 0:break $a;default:break ab}}d=1;if((b|0)!=27){continue}break q}if((c|0)>=(g|0)){d=131;break i}bb:{while(1){e=O[c+h|0];L[a+376|0]=e;f=L[e+26496|0];N[a+380>>2]=f;if((e&254)==64){b=c+1|0;if((b|0)>=(g|0)){d=131;break i}f=2-T(O[b+h|0],f)|0;N[a+380>>2]=f}b=c+f|0;if((b|0)>(g|0)){d=131;break i}if((e|0)!=27){switch(e-88|0){case 0:break $a;case 1:break bb;default:continue _a}}N[a+368>>2]=b;c=b;if((b|0)<(g|0)){continue}break}d=131;break i}d=d-1|0;continue}d=d+1|0;continue};case 87:W=e,_=!(Qa[N[a+600>>2]](a,N[e>>2],3)&127),N[W>>2]=_;break q;case 86:W=e,_=(Qa[N[a+600>>2]](a,N[e>>2],3)&127)==64,N[W>>2]=_;break q;case 85:N[e>>2]=N[e>>2]!=N[e+4>>2];break q;case 84:N[e>>2]=N[e>>2]==N[e+4>>2];break q;case 83:N[e>>2]=N[e>>2]>=N[e+4>>2];break q;case 82:N[e>>2]=N[e>>2]>N[e+4>>2];break q;case 81:N[e>>2]=N[e>>2]<=N[e+4>>2];break q;case 80:N[e>>2]=N[e>>2]>2];break q;case 78:L[a+320|0]=0;break q;case 77:L[a+320|0]=1;break q;case 76:if(N[N[N[a>>2]+96>>2]+64>>2]==35){W=e,_=Qa[N[a+624>>2]](a)|0,N[W>>2]=_;break q}N[e>>2]=N[a+216>>2];break q;case 75:W=e,_=Qa[N[a+624>>2]](a)|0,N[W>>2]=_;break q;case 73:case 74:cb:{db:{b=P[e>>1];if(b>>>0>1]){c=P[e+4>>1];if(c>>>0>1]){break db}}b=0;if(!O[a+593|0]){break cb}N[a+12>>2]=134;N[e>>2]=0;break q}if(i&1){b=N[a+52>>2]+(b<<3)|0;c=N[a+88>>2]+(c<<3)|0;W=e,_=Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0,N[W>>2]=_;break q}if(!(P[a+350>>1]?P[a+348>>1]:0)){b=N[a+48>>2]+(b<<3)|0;c=N[a+84>>2]+(c<<3)|0;W=e,_=Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0,N[W>>2]=_;break q}b=N[a+56>>2]+(b<<3)|0;c=N[a+92>>2]+(c<<3)|0;d=N[b+4>>2]-N[c+4>>2]|0;f=N[a+224>>2];g=N[a+228>>2];if((f|0)==(g|0)){W=e,_=ob(Qa[N[a+608>>2]](a,N[b>>2]-N[c>>2]|0,d)|0,N[a+224>>2]),N[W>>2]=_;break q}b=(_=a,Z=ob(N[b>>2]-N[c>>2]|0,f),Y=ob(d,g),W=N[a+608>>2],Qa[W](_|0,Z|0,Y|0)|0)}N[e>>2]=b;break q;case 72:b=P[e>>1];if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break q}d=134;break i}c=b<<3;d=c+N[a+124>>2]|0;d=Qa[N[a+604>>2]](a,N[d>>2],N[d+4>>2])|0;Qa[N[a+616>>2]](a,p,b,N[e+4>>2]-d|0);if(P[a+352>>1]){break q}b=c+N[a+120>>2]|0;c=c+N[a+124>>2]|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;break q;case 70:case 71:b=N[e>>2];eb:{if(b>>>0>=P[a+116>>1]){b=0;if(!O[a+593|0]){break eb}N[a+12>>2]=134;N[e>>2]=0;break q}if(i&1){b=N[a+120>>2]+(b<<3)|0;W=e,Y=Qa[N[a+608>>2]](a,N[b>>2],N[b+4>>2])|0,N[W>>2]=Y;break q}b=N[a+124>>2]+(b<<3)|0;b=Qa[N[a+604>>2]](a,N[b>>2],N[b+4>>2])|0}N[e>>2]=b;break q;case 69:b=N[e>>2];fb:{if(b>>>0>=Q[a+388>>2]){b=0;if(!O[a+593|0]){break fb}d=134;break i}b=Qa[N[a+628>>2]](a,b)|0}N[e>>2]=b;break q;case 68:b=N[e>>2];if(b>>>0>=Q[a+388>>2]){if(!O[a+593|0]){break q}d=134;break i}Qa[N[a+632>>2]](a,b,N[e+4>>2]);break q;case 67:b=N[e>>2];gb:{if(b>>>0>=P[a+488>>1]){b=0;if(!O[a+593|0]){break gb}d=134;break i}b=N[N[a+492>>2]+(b<<2)>>2]}N[e>>2]=b;break q;case 66:f=N[e>>2];c=P[a+488>>1];if(f>>>0>=c>>>0){if(!O[a+593|0]){break q}d=134;break i}hb:{b=N[a+492>>2];if(!(N[a+356>>2]!=3|(b|0)!=N[a+504>>2])){d=P[a+496>>1];ib:{if(c>>>0<=d>>>0){g=d<<2;s=N[a+500>>2];break ib}g=c<<2;s=lb(N[a+8>>2],1,d<<2,g,N[a+500>>2],j+12|0);N[a+500>>2]=s;b=N[j+12>>2];if(b){break hb}b=N[a+492>>2];d=c}M[a+496>>1]=d;N[a+12>>2]=0;F(s,b,g);b=N[a+500>>2];N[a+492>>2]=b}N[(f<<2)+b>>2]=N[e+4>>2];break q}M[a+496>>1]=d;N[a+12>>2]=b;break p;case 65:d=130;f=(b-N[a+16>>2]|0)+1|0;b=N[a+368>>2];c=O[(b+h|0)+1|0];if(f>>>0<=c>>>0){break i}N[a+368>>2]=b+2;if(c){b=0;if((c|0)!=1){d=c&254;while(1){f=N[a+368>>2];N[a+368>>2]=f+2;g=b<<2;f=f+h|0;f=O[f|0]|O[f+1|0]<<8;N[g+e>>2]=(f<<8|f>>>8)<<16>>16;f=N[a+368>>2];N[a+368>>2]=f+2;f=f+h|0;f=O[f|0]|O[f+1|0]<<8;N[e+(g|4)>>2]=(f<<8|f>>>8)<<16>>16;b=b+2|0;if((d|0)!=(b|0)){continue}break}}if(c&1){d=N[a+368>>2];N[a+368>>2]=d+2;e=e+(b<<2)|0;b=d+h|0;b=O[b|0]|O[b+1|0]<<8;N[e>>2]=(b<<8|b>>>8)<<16>>16}g=N[a+32>>2]}L[a+384|0]=0;N[a+32>>2]=c+g;break q;case 64:d=130;f=O[(h+N[a+368>>2]|0)+1|0];if(f>>>0>=(b-N[a+16>>2]|0)+1>>>0){break i}if(f){b=1;if((f|0)!=1){d=f&254;c=0;while(1){g=e+(b<<2)|0;N[g-4>>2]=O[(h+(N[a+368>>2]+b|0)|0)+1|0];b=b+2|0;N[g>>2]=O[h+(b+N[a+368>>2]|0)|0];c=c+2|0;if((d|0)!=(c|0)){continue}break}}if(f&1){N[(e+(b<<2)|0)-4>>2]=O[(h+(N[a+368>>2]+b|0)|0)+1|0]}g=N[a+32>>2]}N[a+32>>2]=f+g;break q;case 62:case 63:jb:{kb:{c=P[e>>1];if(c>>>0>1]){b=N[e+4>>2];if(b>>>0>2]){break kb}}if(!O[a+593|0]){break jb}N[a+12>>2]=134;break jb}b=Qa[N[a+628>>2]](a,b)|0;if(!P[a+348>>1]){f=M[a+302>>1];d=f>>31;e=(d^f)-d|0;d=b>>31;i=(d^b)-d|0;h=i>>>16|0;k=T(e,h);g=k<<16|8192;l=c<<3;d=l+N[a+48>>2]|0;q=g;m=e;e=i&65535;g=g+T(m,e)|0;g=(k>>>16|0)+(q>>>0>g>>>0)<<18|g>>>14;N[d>>2]=(b^f)<0?0-g|0:g;f=M[a+304>>1];g=f>>31;i=(f^g)-g|0;h=T(i,h);g=h<<16|8192;k=g;g=g+T(e,i)|0;g=(h>>>16|0)+(k>>>0>g>>>0)<<18|g>>>14;N[d+4>>2]=(b^f)<0?0-g|0:g;g=N[d+4>>2];f=l+N[a+52>>2]|0;N[f>>2]=N[d>>2];N[f+4>>2]=g}d=N[a+52>>2]+(c<<3)|0;d=Qa[N[a+604>>2]](a,N[d>>2],N[d+4>>2])|0;if(L[a+376|0]&1){g=b-d|0;f=g>>31;b=Qa[N[a+600>>2]](a,N[a+324>>2]<((f^g)-f|0)?d:b,3)|0}Qa[N[a+616>>2]](a,o,c,b-d|0)}M[a+290>>1]=c;M[a+288>>1]=c;break q;case 61:N[a+600>>2]=140;N[a+316>>2]=2;break q;case 60:f=N[a+308>>2];lb:{if(!(P[a+288>>1]>1]&(f|0)<=N[a+16>>2])){if(!O[a+593|0]){break lb}N[a+12>>2]=134;break lb}if((f|0)<=0){break lb}while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];mb:{if(b>>>0>=P[a+80>>1]){b=f;if(!O[a+593|0]){break mb}d=134;break i}d=b;b=N[a+88>>2]+(b<<3)|0;c=N[a+52>>2]+(P[a+288>>1]<<3)|0;Y=a,Z=n,_=d,X=0-(Qa[N[a+604>>2]](a,N[b>>2]-N[c>>2]|0,N[b+4>>2]-N[c+4>>2]|0)|0)|0,W=N[a+616>>2],Qa[W](Y|0,Z|0,_|0,X|0);b=N[a+308>>2]}f=b-1|0;N[a+308>>2]=f;if((b|0)>1){continue}break}c=N[a+28>>2]}N[a+32>>2]=c;N[a+308>>2]=1;break q;case 58:case 59:nb:{b=P[e>>1];if(b>>>0>1]){c=P[a+288>>1];if(c>>>0>1]){break nb}}if(!O[a+593|0]){break q}d=134;break i}if(!P[a+350>>1]){c=N[a+48>>2]+(c<<3)|0;g=N[c+4>>2];d=b<<3;f=d+N[a+84>>2]|0;N[f>>2]=N[c>>2];N[f+4>>2]=g;Qa[N[a+620>>2]](a,n,b,N[e+4>>2]);c=d+N[a+88>>2]|0;d=d+N[a+84>>2]|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;c=P[a+288>>1]}d=N[a+88>>2]+(b<<3)|0;c=N[a+52>>2]+(c<<3)|0;c=Qa[N[a+604>>2]](a,N[d>>2]-N[c>>2]|0,N[d+4>>2]-N[c+4>>2]|0)|0;Qa[N[a+616>>2]](a,n,b,N[e+4>>2]-c|0);M[a+292>>1]=b;M[a+290>>1]=P[a+288>>1];if(!(L[a+376|0]&1)){break q}M[a+288>>1]=b;break q;case 57:ob:{pb:{b=N[a+308>>2];qb:{if((b|0)>N[a+16>>2]){if(O[a+593|0]){break qb}break ob}c=1;c=!P[a+348>>1]|!P[a+350>>1]?c:!P[a+352>>1];g=P[a+290>>1];if(g>>>0>1]){break pb}if(!O[a+593|0]){break ob}}N[a+12>>2]=134;break ob}e=N[(c?48:56)+a>>2];f=g<<3;d=e+f|0;k=N[a+52>>2];i=k+f|0;r=0;f=0;h=P[a+292>>1];if(h>>>0>1]){rb:{if(c){b=N[a+84>>2]+(h<<3)|0;f=Qa[N[a+608>>2]](a,N[b>>2]-N[d>>2]|0,N[b+4>>2]-N[(e+(g<<3)|0)+4>>2]|0)|0;break rb}b=N[(e+(g<<3)|0)+4>>2];f=N[a+224>>2];l=N[a+228>>2];if((f|0)==(l|0)){f=N[a+92>>2]+(h<<3)|0;f=Qa[N[a+608>>2]](a,N[f>>2]-N[d>>2]|0,N[f+4>>2]-b|0)|0;break rb}h=N[a+92>>2]+(h<<3)|0;f=(X=a,_=ob(N[h>>2]-N[d>>2]|0,f),Z=ob(N[h+4>>2]-b|0,l),W=N[a+608>>2],Qa[W](X|0,_|0,Z|0)|0)}b=N[a+88>>2]+(P[a+292>>1]<<3)|0;r=Qa[N[a+604>>2]](a,N[b>>2]-N[i>>2]|0,N[b+4>>2]-N[(k+(g<<3)|0)+4>>2]|0)|0;b=N[a+308>>2]}if((b|0)<=0){break ob}h=g<<3;g=h+k|0;e=e+h|0;if(c){while(1){c=N[a+28>>2]-1|0;N[a+28>>2]=c;c=N[N[a+24>>2]+(c<<2)>>2];sb:{if(c>>>0>=P[a+116>>1]){if(!O[a+593|0]){break sb}d=134;break i}h=c<<3;b=h+N[a+120>>2]|0;b=Qa[N[a+608>>2]](a,N[b>>2]-N[d>>2]|0,N[b+4>>2]-N[e+4>>2]|0)|0;h=h+N[a+124>>2]|0;h=Qa[N[a+604>>2]](a,N[h>>2]-N[i>>2]|0,N[h+4>>2]-N[g+4>>2]|0)|0;k=a;c=c&65535;if(!(!b|!f)){b=jb(b,r,f)}Qa[N[a+616>>2]](k,p,c,b-h|0);b=N[a+308>>2]}c=b;b=c-1|0;N[a+308>>2]=b;if((c|0)>1){continue}break ob}}while(1){c=N[a+28>>2]-1|0;N[a+28>>2]=c;c=N[N[a+24>>2]+(c<<2)>>2];tb:{if(c>>>0>=P[a+116>>1]){if(!O[a+593|0]){break tb}d=134;break i}b=N[e+4>>2];h=N[a+224>>2];k=N[a+228>>2];ub:{if((h|0)==(k|0)){h=N[a+128>>2]+(c<<3)|0;b=Qa[N[a+608>>2]](a,N[h>>2]-N[d>>2]|0,N[h+4>>2]-b|0)|0;break ub}l=N[a+128>>2]+(c<<3)|0;b=(Z=a,_=ob(N[l>>2]-N[d>>2]|0,h),X=ob(N[l+4>>2]-b|0,k),W=N[a+608>>2],Qa[W](Z|0,_|0,X|0)|0)}h=N[a+124>>2]+(c<<3)|0;h=Qa[N[a+604>>2]](a,N[h>>2]-N[i>>2]|0,N[h+4>>2]-N[g+4>>2]|0)|0;k=a;c=c&65535;if(!(!b|!f)){b=jb(b,r,f)}Qa[N[a+616>>2]](k,p,c,b-h|0);b=N[a+308>>2]}c=b;b=c-1|0;N[a+308>>2]=b;if((c|0)>1){continue}break}}N[a+308>>2]=1;N[a+32>>2]=N[a+28>>2];break q;case 56:f=1;f=!P[a+348>>1]|!P[a+350>>1]?f:!P[a+352>>1];b=N[a+308>>2];vb:{if((b|0)>=N[a+16>>2]){if(!O[a+593|0]){break vb}N[a+12>>2]=134;break vb}if((b|0)<=0){break vb}c=M[a+304>>1];d=c>>31;b=N[e>>2];g=b>>31;e=(c^d)-d|0;g=(b^g)-g|0;i=g>>>16|0;h=T(e,i);d=h<<16|8192;k=d;g=g&65535;d=d+T(g,e)|0;d=(h>>>16|0)+(k>>>0>d>>>0)<<18|d>>>14;e=(b^c)<0?0-d|0:d;c=M[a+302>>1];d=c>>31;h=i;i=(c^d)-d|0;h=T(h,i);d=h<<16|8192;k=d;d=d+T(g,i)|0;d=(h>>>16|0)+(k>>>0>d>>>0)<<18|d>>>14;c=(b^c)<0?0-d|0:d;while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];wb:{if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break wb}d=134;break i}xb:{yb:{zb:{Ab:{if(N[N[N[a>>2]+96>>2]+64>>2]==40){if(O[a+643|0]){Bb:{if(f){break Bb}if(O[a+645|0]?O[a+644|0]:0){break wb}if(P[a+304>>1]?O[a+592|0]:0){break Bb}if(!(O[b+N[a+132>>2]|0]&16)){break wb}}if(P[a+302>>1]){d=b+N[a+132>>2]|0;L[d|0]=O[d|0]|8}if(!P[a+304>>1]){break wb}if(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40|(!O[a+644|0]|!O[a+645|0])){break yb}break xb}if(P[a+302>>1]){break Ab}break zb}if(!P[a+302>>1]){break zb}}d=N[a+124>>2]+(b<<3)|0;N[d>>2]=c+N[d>>2];d=b+N[a+132>>2]|0;L[d|0]=O[d|0]|8}if(!P[a+304>>1]){break wb}if(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40)){break yb}if(O[a+645|0]){break xb}}d=N[a+124>>2]+(b<<3)|0;N[d+4>>2]=e+N[d+4>>2]}b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|16}b=N[a+308>>2];N[a+308>>2]=b-1;if((b|0)>1){continue}break}c=N[a+28>>2]}N[a+32>>2]=c;N[a+308>>2]=1;break q;case 54:case 55:if(Q[e>>2]>=2){if(!O[a+593|0]){break q}N[a+12>>2]=134;break q}if(Wh(a,j+4|0,j,j+12|0,j+10|0)){break q}Cb:{Db:{switch(P[a+352>>1]){case 0:c=P[a+116>>1];break Cb;case 1:break Db;default:break q}}b=M[a+118>>1];if((b|0)<=0){break q}c=P[(N[a+136>>2]+((b&65535)<<1)|0)-2>>1]+1|0}if(!(c&65535)){break q}g=N[j>>2];e=N[j+4>>2];f=N[a+124>>2];if((f|0)==N[j+28>>2]){c=c&65535;b=0;d=P[j+10>>1];while(1){Eb:{if((b|0)==(d|0)){break Eb}if(!(!P[a+302>>1]|(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0))){i=f+(b<<3)|0;N[i>>2]=e+N[i>>2]}if(!P[a+304>>1]){break Eb}if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Eb}}i=f+(b<<3)|0;N[i+4>>2]=g+N[i+4>>2]}b=b+1|0;if((c|0)!=(b|0)){continue}break}break q}b=P[a+302>>1];if(!P[a+304>>1]){if(!b){break q}d=N[N[N[a>>2]+96>>2]+64>>2];b=0;g=c&65535;if((g|0)!=1){g=g&65534;while(1){if(!(O[a+643|0]?(d|0)==40:0)){i=b<<3;h=i+f|0;N[h>>2]=e+N[h>>2];i=f+(i|8)|0;N[i>>2]=e+N[i>>2]}b=b+2|0;if((g|0)!=(b|0)){continue}break}}if(!(c&1)|(O[a+643|0]?(d|0)==40:0)){break q}b=f+(b<<3)|0;N[b>>2]=e+N[b>>2];break q}d=N[N[N[a>>2]+96>>2]+64>>2];if(!b){if((d|0)!=40){d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if(!O[a+643|0]){d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if(!O[a+644|0]){d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if(O[a+645|0]){break q}d=0;b=0;e=c&65535;if(e>>>0>=4){i=e&65532;while(1){e=b<<3;h=e+f|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|8)|0;N[h+4>>2]=g+N[h+4>>2];h=f+(e|16)|0;N[h+4>>2]=g+N[h+4>>2];e=f+(e|24)|0;N[e+4>>2]=g+N[e+4>>2];b=b+4|0;if((i|0)!=(b|0)){continue}break}}c=c&3;if(!c){break q}while(1){e=f+(b<<3)|0;N[e+4>>2]=g+N[e+4>>2];b=b+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}break q}if((d|0)==40){c=c&65535;d=O[a+643|0];b=0;while(1){Fb:{Gb:{if(!d){i=f+(b<<3)|0;N[i>>2]=e+N[i>>2];break Gb}if(!O[a+644|0]){break Gb}if(O[a+645|0]){break Fb}}i=f+(b<<3)|0;N[i+4>>2]=g+N[i+4>>2]}b=b+1|0;if((c|0)!=(b|0)){continue}break}break q}d=0;b=c&65535;if((b|0)!=1){i=b&65534;while(1){h=d<<3;b=h+f|0;N[b>>2]=e+N[b>>2];N[b+4>>2]=g+N[b+4>>2];b=f+(h|8)|0;N[b>>2]=e+N[b>>2];N[b+4>>2]=g+N[b+4>>2];d=d+2|0;if((i|0)!=(d|0)){continue}break}}if(!(c&1)){break q}b=f+(d<<3)|0;N[b>>2]=e+N[b>>2];N[b+4>>2]=g+N[b+4>>2];break q;case 52:case 53:b=N[e>>2];c=b<<16>>16;if(c>>>0>=(P[a+352>>1]?M[a+118>>1]:1)>>>0){if(!O[a+593|0]){break q}N[a+12>>2]=134;break q}if(Wh(a,j+4|0,j,j+12|0,j+10|0)){break q}b=(b<<16?(P[(N[a+136>>2]+(c<<1)|0)-2>>1]-P[a+140>>1]|0)+1|0:0)&65535;if(P[a+352>>1]){c=(P[N[a+136>>2]+(c<<1)>>1]-P[a+140>>1]|0)+1|0}else{c=P[a+116>>1]}c=c&65535;if(b>>>0>=c>>>0){break q}d=P[j+10>>1];f=N[j>>2];g=N[j+4>>2];e=N[j+28>>2];while(1){i=N[a+124>>2];Hb:{if((i|0)==(e|0)&(b|0)==(d|0)){break Hb}if(P[a+302>>1]){if(!(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0)){i=i+(b<<3)|0;N[i>>2]=g+N[i>>2]}i=N[a+132>>2]+b|0;L[i|0]=O[i|0]|8}if(!P[a+304>>1]){break Hb}Ib:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Ib}}i=N[a+124>>2]+(b<<3)|0;N[i+4>>2]=f+N[i+4>>2]}i=N[a+132>>2]+b|0;L[i|0]=O[i|0]|16}b=b+1|0;if((c|0)!=(b|0)){continue}break};break q;case 50:case 51:Jb:{if(N[a+16>>2]>2]){if(!O[a+593|0]){break Jb}N[a+12>>2]=134;break Jb}if(Wh(a,j+4|0,j,j+12|0,j+10|0)){break q}if(N[a+308>>2]<=0){break Jb}c=N[j>>2];d=N[j+4>>2];while(1){b=N[a+28>>2]-1|0;N[a+28>>2]=b;b=P[N[a+24>>2]+(b<<2)>>1];Kb:{if(b>>>0>=P[a+116>>1]){if(!O[a+593|0]){break Kb}N[a+12>>2]=134;break q}if(P[a+302>>1]){if(!(O[a+643|0]?N[N[N[a>>2]+96>>2]+64>>2]==40:0)){f=N[a+124>>2]+(b<<3)|0;N[f>>2]=d+N[f>>2]}f=b+N[a+132>>2]|0;L[f|0]=O[f|0]|8}if(!P[a+304>>1]){break Kb}Lb:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break Lb}}f=N[a+124>>2]+(b<<3)|0;N[f+4>>2]=c+N[f+4>>2]}b=b+N[a+132>>2]|0;L[b|0]=O[b|0]|16}b=N[a+308>>2];N[a+308>>2]=b-1;if((b|0)>1){continue}break}}N[a+308>>2]=1;N[a+32>>2]=N[a+28>>2];break q;case 48:case 49:Mb:{if(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40){break Mb}if(O[a+645|0]?O[a+644|0]:0){break q}if(i&1){L[a+644|0]=1;break Mb}L[a+645|0]=1}if(!P[a+154>>1]){break q}s=N[a+156>>2];Nb:{if(i&1){u=N[a+164>>2];w=8;k=N[a+160>>2];break Nb}s=s+4|0;u=N[a+164>>2]+4|0;w=16;k=N[a+160>>2]+4|0}N[j+20>>2]=u;N[j+16>>2]=k;N[j+12>>2]=s;A=P[a+152>>1];N[j+24>>2]=A;v=0;f=0;while(1){l=f;b=P[N[a+172>>2]+(v<<1)>>1]-P[a+176>>1]|0;c=P[a+152>>1];t=b>>>0>>0?b:c-1|0;Ob:{if(t>>>0>>0){break Ob}G=N[a+168>>2];r=0;g=f;Pb:{while(1){Qb:{f=g+1|0;if(O[g+G|0]&w){d=g;c=d;Rb:{Sb:{b=f;H=t>>>0>>0;if(!H){while(1){e=c;q=d;d=b;Tb:{if(!(O[b+G|0]&w)){break Tb}b=e+1|0;c=d;if(q>>>0>>0|A>>>0<=c>>>0|e>>>0>=A>>>0){break Tb}h=N[(d<<3)+u>>2];i=N[(e<<3)+u>>2];Ub:{if((h|0)>=(i|0)){c=h;h=i;i=d;break Ub}c=i;i=e;e=d}m=i<<3;i=N[m+k>>2];B=N[s+m>>2];I=i-B|0;m=e<<3;e=N[m+k>>2];D=N[s+m>>2];J=e-D|0;Vb:{if(!((c|0)==(h|0)|(e|0)==(i|0))){S=c-h|0;U=i-e|0;K=0;i=0;while(1){c=b<<3;V=c+k|0;c=N[c+s>>2];Wb:{if((c|0)<=(D|0)){m=c+J|0;break Wb}m=c+I|0;if((c|0)>=(B|0)){break Wb}if(!K){i=fb(U,S)}K=1;E=N[(b<<3)+u>>2]-h|0;m=E>>31;m=(m^E)-m|0;c=i>>31;c=(c^i)-c|0;Xb:{if(m+(c>>>8|0)>>>0<=8190){m=T(c,m)+32768>>>16|0;break Xb}z=m&65535;m=T(z,c>>>16|0)+T(c,m>>>16|0)+(T(c&65535,z)+32768>>>16)|0}c=m;z=0-c|0;c=E>>31|1;m=e+((((i|0)<0?0-c|0:c)|0)<0?z:m)|0}N[V>>2]=m;b=b+1|0;if(q>>>0>=b>>>0){continue}break}break Vb}while(1){i=b<<3;c=N[i+s>>2];N[i+k>>2]=(c|0)>(D|0)?(c|0)<(B|0)?e:c+I|0:c+J|0;b=b+1|0;if(q>>>0>=b>>>0){continue}break}}c=d}b=d+1|0;if(t>>>0>=b>>>0){continue}break}if((c|0)!=(g|0)){break Sb}}c=g<<3;d=N[c+k>>2];c=N[c+s>>2];if((d|0)==(c|0)){break Pb}e=d-c|0;if(g>>>0<=l>>>0){break Qb}d=0;c=r&3;if(c){while(1){i=k+(l<<3)|0;N[i>>2]=e+N[i>>2];l=l+1|0;d=d+1|0;if((c|0)!=(d|0)){continue}break}}if(r-1>>>0>2){break Rb}break Qb}hn(j+12|0,c+1&65535,t,c,g);if(!g){break Pb}hn(j+12|0,l,g-1|0,c,g);break Pb}while(1){c=k+(l<<3)|0;N[c>>2]=e+N[c>>2];N[c+8>>2]=e+N[c+8>>2];N[c+16>>2]=e+N[c+16>>2];N[c+24>>2]=e+N[c+24>>2];l=l+4|0;if((l|0)!=(g|0)){continue}break}break Qb}r=r+1|0;g=f;if(t>>>0>=f>>>0){continue}break Ob}break}if(H){break Pb}while(1){c=k+(f<<3)|0;N[c>>2]=e+N[c>>2];f=f+1|0;if(t>>>0>=f>>>0){continue}break}}f=b}v=v+1|0;if((v|0)>1]){continue}break};break q;case 46:case 47:b=P[e>>1];if(b>>>0>=P[a+44>>1]){if(!O[a+593|0]){break q}d=134;break i}if(i&1){c=N[a+52>>2]+(b<<3)|0;c=Qa[N[a+604>>2]](a,N[c>>2],N[c+4>>2])|0;c=(Qa[N[a+600>>2]](a,c,3)|0)-c|0}else{c=0}Qa[N[a+616>>2]](a,o,b,c);M[a+290>>1]=b;M[a+288>>1]=b;break q;case 79:break i;case 45:break r}}c=N[a+448>>2];if((c|0)<=0){d=136;break i}b=c-1|0;N[a+448>>2]=b;b=N[a+456>>2]+(b<<4)|0;d=N[b+8>>2];N[b+8>>2]=d-1;L[a+384|0]=0;if((d|0)>=2){N[a+448>>2]=c;N[a+368>>2]=N[N[b+12>>2]+4>>2];break q}c=N[b>>2];if(c-4>>>0<4294967293){d=132;break i}d=(c-1<<3)+a|0;f=N[d+464>>2];if(!f){d=138;break i}d=N[d+468>>2];b=N[b+4>>2];if((d|0)<(b|0)){d=131;break i}N[a+372>>2]=d;N[a+364>>2]=f;N[a+368>>2]=b;N[a+360>>2]=c}b=N[a+12>>2]}if(b){d=128;if((b|0)!=128){break h}b=N[a+436>>2];if(!b){break i}c=N[a+428>>2];if((c|0)<=0){break i}c=T(c,24)+b|0;while(1){Yb:{if(!(!O[b+16|0]|O[a+376|0]!=O[b+12|0])){c=N[a+448>>2];if((c|0)>=N[a+452>>2]){d=134;break i}c=N[a+456>>2]+(c<<4)|0;N[c>>2]=N[a+360>>2];d=N[a+368>>2];N[c+12>>2]=b;N[c+8>>2]=1;N[c+4>>2]=d+1;d=N[b>>2];if(d-4>>>0<4294967293){d=132;break i}f=(d-1<<3)+a|0;g=N[f+464>>2];if(!g){d=138;break i}c=N[b+4>>2];f=N[f+468>>2];if((c|0)<=(f|0)){break Yb}d=131;break i}b=b+24|0;if(c>>>0>b>>>0){continue}break i}break}N[a+372>>2]=f;N[a+364>>2]=g;N[a+368>>2]=c;N[a+360>>2]=d;break m}N[a+16>>2]=N[a+32>>2];if(!O[a+384|0]){break n}f=N[a+380>>2]}N[a+368>>2]=N[a+368>>2]+f}R=R+1|0;if(R>>>0>1e6){d=139;break i}f=N[a+372>>2];c=N[a+368>>2]}if((c|0)>=(f|0)){b=0;d=131;if(N[a+448>>2]>0){break i}break h}if(!O[a+520|0]){continue}break}b=0;break h}N[a+12>>2]=d;b=d}N[a+392>>2]=N[a+404>>2];N[a+492>>2]=N[a+504>>2];La=j+48|0;return b|0}function qo(a,b,c,d,e){var 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,t=0,u=0,w=0,y=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,P=0,Q=0,R=0,U=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0,ea=0;i=La-96|0;La=i;a:{if(b>>>0>=c>>>0){break a}D=N[a>>2];G=a+224|0;H=a+228|0;I=a+232|0;J=a+236|0;while(1){h=b;while(1){b:{b=h;h=h+1|0;f=O[b|0];if((b|0)==(c|0)){break b}if((f|0)!=92){continue}}break}if((f|0)!=92){break a}c:{if((c|0)==(h|0)){h=c;break c}while(1){b=O[h|0];if((b|0)!=32&(b|0)!=9){break c}h=h+1|0;continue}}b=(c+h|0)-h|0;f=h;d:{while(1){e:{f:{g=O[f|0];if(!((g|0)==40|(g|0)==92)){if((c|0)!=(f|0)){break f}f=b}if((f|0)!=(h|0)){break e}b=h;break d}f=f+1|0;continue}break}N[i+20>>2]=441572;N[i+28>>2]=441572;N[i+16>>2]=441572;N[i+36>>2]=441572;N[i+24>>2]=441572;N[i+44>>2]=441572;N[i+32>>2]=441572;N[i+52>>2]=441572;N[i+40>>2]=441572;N[i+60>>2]=441572;N[i+48>>2]=441572;N[i+68>>2]=441572;N[i+56>>2]=441572;N[i+76>>2]=441572;N[i+64>>2]=441572;N[i+72>>2]=441572;l=0;N[i+12>>2]=0;g=f;b=f;r=0;if(O[f|0]==40){g:{h:{while(1){i:{b=g+1|0;if((c|0)==(b|0)){b=c;break i}while(1){g=O[b|0];if((g|0)!=32&(g|0)!=9){break i}b=b+1|0;continue}}m=(b+c|0)-b|0;g=b;j:{k:{while(1){l:{m:{k=O[g|0];switch(k-41|0){case 0:break g;case 3:break k;case 1:case 2:break l;default:break m}}if((k|0)!=92){break l}m=g;break h}if((c|0)!=(g|0)){g=g+1|0;continue}break}if((k|0)!=44){break j}g=m}if(l>>>0>7){continue}k=g;n:{if(b>>>0>=g>>>0){break n}while(1){n=k-1|0;m=O[n|0];if((m|0)!=32&(m|0)!=9){break n}k=n;if(k>>>0>b>>>0){continue}break}k=b}if(b>>>0>=k>>>0){continue}n=(i+16|0)+(l<<3)|0;N[n+4>>2]=k;N[n>>2]=b;l=l+1|0;N[i+12>>2]=l;continue}break}g=m;if((k|0)!=92){break g}}while(1){r=1;g=m;if((g|0)==(c|0)){break g}m=g+1|0;if(O[g|0]!=41){continue}break}}o:{if(l>>>0>7){break o}m=g;p:{if(b>>>0>=g>>>0){break p}while(1){k=m-1|0;n=O[k|0];if((n|0)!=32&(n|0)!=9){break p}m=k;if(k>>>0>b>>>0){continue}break}m=b}if(b>>>0>=m>>>0){break o}k=(i+16|0)+(l<<3)|0;N[k+4>>2]=m;N[k>>2]=b;l=l+1|0;N[i+12>>2]=l}b=((c|0)!=(g|0))+g|0}m=h+5|0;q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{t=O[h|0];switch(t-120|0){case 1:break M;case 0:break N;default:break K}}w=0;g=O[h+1|0]-98|0;if(g){if((g|0)==17){break L}else{break z}}if(O[h+2|0]!=111|O[h+3|0]!=114|O[h+4|0]!=100){break z}O:{if((l|0)<=7){P:{if(f>>>0<=m>>>0){break P}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break P}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break O}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+200>>3]*(1-d)+d*j;S[a+200>>3]=j<0?0:j;break d}S[a+200>>3]=S[N[a+68>>2]+88>>3];break d}w=0;g=O[h+1|0]-98|0;if(g){if((g|0)==17){break J}else{break z}}if(O[h+2|0]!=111|O[h+3|0]!=114|O[h+4|0]!=100){break z}Q:{if((l|0)<=7){R:{if(f>>>0<=m>>>0){break R}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break R}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break Q}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+208>>3]*(1-d)+d*j;S[a+208>>3]=j<0?0:j;break d}S[a+208>>3]=S[N[a+68>>2]+88>>3];break d}if(O[h+2|0]!=104|O[h+3|0]!=97|O[h+4|0]!=100){break z}S:{if((l|0)<=7){T:{if(f>>>0<=m>>>0){break T}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break T}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break S}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);S[a+272>>3]=S[a+272>>3]*(1-d)+d*j;break d}S[a+272>>3]=S[N[a+68>>2]+96>>3];break d}n=h+3|0;switch(t-102|0){case 3:break H;case 0:break I;default:break F}}if(O[h+2|0]!=104|O[h+3|0]!=97|O[h+4|0]!=100){break z}U:{if((l|0)<=7){V:{if(f>>>0<=m>>>0){break V}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break V}f=g;if(m>>>0>>0){continue}break}f=m}if(f>>>0>m>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=m;l=l+1|0;N[i+12>>2]=l}if(!l){break U}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);S[a+280>>3]=S[a+280>>3]*(1-d)+d*j;break d}S[a+280>>3]=S[N[a+68>>2]+96>>3];break d}g=O[h+1|0];if((g|0)!=97){break G}if(O[h+2|0]==120){W:{if((l|0)<=7){X:{if(f>>>0<=n>>>0){break X}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break X}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break W}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+128>>3],S[W+128>>3]=X;break d}N[a+128>>2]=0;N[a+132>>2]=0;break d}if(O[h+2|0]!=121){break A}Y:{if((l|0)<=7){Z:{if(f>>>0<=n>>>0){break Z}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Z}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break Y}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+136>>3],S[W+136>>3]=X;break d}N[a+136>>2]=0;N[a+140>>2]=0;break d}w=1;if(O[h+1|0]!=99|O[h+2|0]!=108|(O[n|0]!=105|O[h+4|0]!=112)){break z}if((l|0)==4){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;h=i+88|0;r=Eb(f,h,10);k=Pa;g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,h,10);n=Pa;m=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=m;g=Eb(g,h,10);m=Pa;p=N[i+44>>2];l=N[i+40>>2];N[i+88>>2]=l;N[i+92>>2]=p;h=Eb(l,h,10);l=Pa;L[a+257|0]=1;j=1-d;p=(k|0)<0&r>>>0<=2147483648|(k|0)<-1;r=p?-2147483648:r;k=p?-1:k;o=+N[a+240>>2]*j+d*+(((k|0)>=0&r>>>0>=2147483647|(k|0)>0?2147483647:r)|0);_:{if(V(o)<2147483648){k=~~o;break _}k=-2147483648}N[a+240>>2]=k;k=m;m=(k|0)<0&g>>>0<=2147483648|(k|0)<-1;g=m?-2147483648:g;k=m?-1:k;o=+N[a+248>>2]*j+d*+(((k|0)>=0&g>>>0>=2147483647|(k|0)>0?2147483647:g)|0);$:{if(V(o)<2147483648){g=~~o;break $}g=-2147483648}N[a+248>>2]=g;g=n;k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;o=+N[a+244>>2]*j+d*+(((g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f)|0);aa:{if(V(o)<2147483648){f=~~o;break aa}f=-2147483648}N[a+244>>2]=f;g=h;f=l;h=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;j=+N[a+252>>2]*j+d*+(((f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g)|0);if(V(j)<2147483648){N[a+252>>2]=~~j;break d}N[a+252>>2]=-2147483648;break d}if(N[a+296>>2]){break d}if(!po(a,i+16|0,l)){break d}N[a+456>>2]=1;break d}k=h+2|0;ba:{switch(g-101|0){case 0:break t;case 9:break D;case 13:break E;case 14:break ba;default:break d}}g=h+4|0;if(!(O[k|0]!=99|O[n|0]!=120)){ca:{if((l|0)<=7){da:{if(f>>>0<=g>>>0){break da}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break da}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ca}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+176>>3]*(1-d)+d*(j/100);S[a+176>>3]=j<0?0:j;break d}S[a+176>>3]=S[N[a+68>>2]+48>>3];break d}if(!(O[h+2|0]!=99|O[n|0]!=121)){ea:{if((l|0)<=7){fa:{if(f>>>0<=g>>>0){break fa}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break fa}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ea}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+184>>3]*(1-d)+d*(j/100);S[a+184>>3]=j<0?0:j;break d}S[a+184>>3]=S[N[a+68>>2]+56>>3];break d}if(O[h+2|0]==99){ga:{if((l|0)>7){break ga}ha:{if(f>>>0<=n>>>0){break ha}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ha}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0<=n>>>0){break ga}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;N[i+12>>2]=l+1}f=N[a+68>>2];S[a+176>>3]=S[f+48>>3];S[a+184>>3]=S[f+56>>3];break d}if(O[h+2|0]==112){ia:{if((l|0)<=7){ja:{if(f>>>0<=n>>>0){break ja}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ja}f=g;if(n>>>0>>0){continue}break}f=n}if(f>>>0>n>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=n;l=l+1|0;N[i+12>>2]=l}if(!l){break ia}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);S[a+192>>3]=S[a+192>>3]*(1-d)+d*j;break d}S[a+192>>3]=S[N[a+68>>2]+64>>3];break d}ka:{la:{if((l|0)<=7){ma:{if(f>>>0<=k>>>0){break ma}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break ma}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0>k>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}if(!l){break la}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);na:{oa:{switch(O[N[i+16>>2]]-43|0){case 0:case 2:j=(d*j/10+1)*S[a+80>>3];break na;default:break oa}}j=S[a+80>>3]*(1-d)+d*j}if(!(j<=0)){break ka}}j=S[N[a+68>>2]+8>>3]}S[a+80>>3]=j;break d}p=h+4|0;C=(t|0)==98;if(C){break s}k=h+1|0;g=h+2|0;w=0;s=0;pa:{switch(t-97|0){case 12:break pa;case 15:break B;case 0:break C;default:break q}}if(O[k|0]!=111|O[g|0]!=118|O[n|0]!=101){break r}if((l&-3)!=4){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;q=pb(f,i+88|0);g=N[i+36>>2];f=N[i+32>>2];N[i+88>>2]=f;N[i+92>>2]=g;u=pb(f,i+88|0);g=N[i+44>>2];f=N[i+40>>2];N[i+88>>2]=f;N[i+92>>2]=g;y=pb(f,i+88|0);f=0;h=0;if((l|0)==6){g=N[i+52>>2];f=N[i+48>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;g=Eb(f,k,10);h=N[i+60>>2];f=N[i+56>>2];N[i+88>>2]=f;N[i+92>>2]=h;h=Pa;n=(h|0)<0&g>>>0<=2147483648|(h|0)<-1;g=n?-2147483648:g;h=n?-1:h;g=(h|0)>=0&g>>>0>=2147483647|(h|0)>0?2147483647:g;f=Eb(f,k,10);h=Pa;k=(h|0)<0&f>>>0<=2147483648|(h|0)<-1;f=k?-2147483648:f;h=k?-1:h;f=(h|0)>=0&f>>>0>=2147483647|(h|0)>0?2147483647:f;h=(f|0)>(g|0)?g:f;f=(f|0)<(g|0)?g:f}g=N[a+64>>2];if(!((h|0)>0|(f|0)>0)){h=0;f=N[g+8>>2]}g=N[D+176>>2]-N[g>>2]|0;j=0;qa:{if((g|0)<=(h|0)){break qa}j=1;if((f|0)<=(g|0)){break qa}j=+(g-h|0)/+(f-h|0)}f=N[a+216>>2];if(f&1){break d}L[a+258|0]=0;N[a+216>>2]=f|1;S[a+152>>3]=j*(y-q)+q;S[a+144>>3]=j*(u-o)+o;break d}if(O[k|0]==120){rc(i+16|0,i+12|0,n,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+104>>3],S[W+104>>3]=X;break d}N[a+104>>2]=0;N[a+108>>2]=0;break d}if(O[k|0]==121){rc(i+16|0,i+12|0,n,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+112>>3],S[W+112>>3]=X;break d}N[a+112>>2]=0;N[a+116>>2]=0;break d}ra:{if((l|0)<=7){g=O[k|0]==122?n:k;sa:{if(g>>>0>=f>>>0){break sa}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break sa}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break ra}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0)*d+(1-d)*S[a+120>>3],S[W+120>>3]=X;break d}S[a+120>>3]=S[N[a+68>>2]+72>>3];break d}rc(i+16|0,i+12|0,k,f);ta:{ua:{if(!N[i+12>>2]){break ua}h=N[i+16>>2];f=N[i+20>>2];if(!bb(h,22017,f-h|0)){break ua}while(1){g=O[h|0];if(!((g|0)!=32&(g|0)!=9)){h=h+1|0;continue}break}N[a+496>>2]=h;f=f-h|0;break ta}f=N[N[a+68>>2]+4>>2];N[a+496>>2]=f;f=nb(f)}N[a+500>>2]=f;tg(a);break d}va:{wa:{switch(O[k|0]-108|0){case 0:if(O[g|0]!=112|O[n|0]!=104|O[p|0]!=97){break va}rc(i+16|0,i+12|0,m,f);if(N[i+12>>2]){f=N[i+16>>2];g=La-16|0;La=g;while(1){h=O[f|0];if(!((h|0)!=72&(h|0)!=38)){f=f+1|0;continue}break}N[g+12>>2]=f;f=Eb(f,g+12|0,16);La=g+16|0;g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;sg(G,f,d);sg(H,f,d);sg(I,f,d);sg(J,f,d);break d}f=N[a+68>>2];g=O[f+16|0];h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+224|0]=Y;g=O[f+20|0];h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+228|0]=Y;g=O[f+24|0];h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;W=a,Y=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0,L[W+232|0]=Y;f=O[f+28|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+236|0]=Y;break d;case 2:break wa;default:break va}}xa:{if((l|0)>7){break xa}ya:{if(f>>>0<=g>>>0){break ya}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ya}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0<=g>>>0){break xa}h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;N[i+12>>2]=l+1}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;k=N[a+88>>2];if(k&2){break d}h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;g=f-1|0;za:{if(g>>>0<=8){h=(((g&255)>>>0)%3|0)+1|0;g=h;if(f>>>0<4){break za}g=h|8;if(f>>>0<=6){break za}g=h|4;break za}g=N[N[a+68>>2]+104>>2]}N[a+96>>2]=g;N[a+88>>2]=k|2;break d}Aa:{if((l|0)>7){break Aa}Ba:{if(f>>>0<=k>>>0){break Ba}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ba}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break Aa}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;N[i+12>>2]=l+1}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=N[a+88>>2];if(h&2){break d}k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;Ca:{if(f-1>>>0<=10){f=f&3?f:5;break Ca}f=N[N[a+68>>2]+104>>2]}N[a+96>>2]=f;N[a+88>>2]=h|2;break d}m=O[k|0];if((m|0)!=111){break v}if(O[g|0]!=115){break u}if((l|0)!=2){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);f=N[a+216>>2];if(f&1){mb(N[D>>2],6,14604,0);break d}L[a+258|0]=0;S[a+152>>3]=o;S[a+144>>3]=j;N[a+216>>2]=f|1;break d}if(O[h+2|0]!=100){break d}switch(l-2|0){case 5:break x;case 0:break y;default:break d}}k=h+1|0;g=h+2|0;p=h+4|0;s=0;break q}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;g=Eb(f,k,10);h=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=h;h=Pa;n=(h|0)<0&g>>>0<=2147483648|(h|0)<-1;g=n?-2147483648:g;h=n?-1:h;r=(h|0)>=0&g>>>0>=2147483647|(h|0)>0?2147483647:g;f=Eb(f,k,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;n=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;k=0;m=255;h=-1;l=255;f=-1;break w}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;n=i+88|0;C=n;l=Eb(f,n,10);g=Pa;h=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=h;t=Eb(f,n,10);h=Pa;k=N[i+36>>2];f=N[i+32>>2];N[i+88>>2]=f;N[i+92>>2]=k;w=Eb(f,n,10);m=Pa;k=N[i+44>>2];f=N[i+40>>2];N[i+88>>2]=f;N[i+92>>2]=k;K=Eb(f,n,10);p=Pa;k=N[i+52>>2];f=N[i+48>>2];N[i+88>>2]=f;N[i+92>>2]=k;n=Eb(f,i+88|0,10);f=Pa;r=N[i+60>>2];k=N[i+56>>2];N[i+88>>2]=k;N[i+92>>2]=r;M=Eb(k,C,10);r=N[i+68>>2];k=N[i+64>>2];s=k;N[i+88>>2]=k;N[i+92>>2]=r;k=n;n=(f|0)<0&n>>>0<=2147483648|(f|0)<-1;k=n?-2147483648:k;f=n?-1:f;r=(f|0)>=0&k>>>0>=2147483647|(f|0)>0?2147483647:k;f=Pa;n=(f|0)<0&M>>>0<=2147483648|(f|0)<-1;k=n?-2147483648:M;f=n?-1:f;n=(f|0)>=0&k>>>0>=2147483647|(f|0)>0?2147483647:k;f=g;k=(f|0)<0&l>>>0<=2147483648|(f|0)<-1;g=k?-2147483648:l;f=k?-1:f;l=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=h;h=(f|0)<0&t>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:t;f=h?-1:f;k=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=m;h=(f|0)<0&w>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:w;f=h?-1:f;m=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=p;h=(f|0)<0&K>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:K;f=h?-1:f;h=(f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g;f=Eb(s,C,10);g=Pa;p=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=p?-2147483648:f;g=p?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f}g=n;if((h&f)==-1){h=0;f=N[N[a+64>>2]+8>>2];g=f-g|0}n=N[a+88>>2];if(n&1){break d}p=N[D+176>>2];C=N[D+180>>2];t=N[a+64>>2];s=N[t>>2];t=N[t+4>>2];N[a+88>>2]=n|1;n=p-s|0;p=C-((p>>>0>>0)+t|0)|0;s=h>>31;if(h>>>0<=n>>>0&(p|0)>=(s|0)|(p|0)>(s|0)){Da:{Ea:{s=r>>31;if(n>>>0>>0&(s|0)>=(p|0)|(p|0)<(s|0)){j=+(n-h|0)/+(r-h|0);j=+(l|0)*(1-j)+j*+(k|0);if(!(V(j)<2147483648)){break Ea}h=~~j;break Da}l=g>>31;h=k;if(g>>>0>n>>>0&(l|0)>=(p|0)|(l|0)>(p|0)){break Da}l=f>>31;h=m;if((l|0)<=(p|0)&f>>>0<=n>>>0|(l|0)<(p|0)){break Da}j=+(n-g|0)/+(f-g|0);j=+(k|0)*(1-j)+j*+(m|0);if(!(V(j)<2147483648)){break Ea}h=~~j;break Da}h=-2147483648}}else{h=l}N[a+260>>2]=h;break d}if((m|0)!=98|O[h+2|0]!=111){break u}rc(i+16|0,i+12|0,n,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;W=a,X=pb(f,i+88|0),S[W+288>>3]=X;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;N[a+448>>2]=(f|0)>0?f:0;break d}rc(i+16|0,i+12|0,k,f);Fa:{if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;break Fa}f=N[N[a+68>>2]+120>>2]}N[a+520>>2]=f;break d}Ga:{Ha:{switch(O[h+1|0]-108|0){case 0:if(O[h+2|0]!=117|O[n|0]!=114){break Ga}Ia:{if((l|0)<=7){Ja:{if(f>>>0<=p>>>0){break Ja}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ja}f=g;if(p>>>0>>0){continue}break}f=p}if(f>>>0>p>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=p;l=l+1|0;N[i+12>>2]=l}if(!l){break Ia}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=S[a+264>>3]*(1-d)+d*j;j=j<0?0:j;S[a+264>>3]=j>100?100:j;break d}N[a+264>>2]=0;N[a+268>>2]=0;break d;case 3:break Ha;default:break Ga}}if(O[h+2|0]!=114|O[n|0]!=100){break Ga}Ka:{La:{if((l|0)<=7){Ma:{if(f>>>0<=p>>>0){break Ma}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Ma}f=g;if(p>>>0>>0){continue}break}f=p}if(f>>>0>p>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=p;l=l+1|0;N[i+12>>2]=l}if(!l){break La}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=d*pb(f,i+88|0);q=1-d;j=S[a+208>>3]*q+o;j=j<0?0:j;o=S[a+200>>3]*q+o;o=o<0?0:o;break Ka}j=S[N[a+68>>2]+88>>3];o=j}S[a+208>>3]=j;S[a+200>>3]=o;break d}g=h+2|0}k=h+1|0;w=0;s=C}Na:{Oa:{Pa:{Qa:{Ra:{Sa:{Ta:{Ua:{Va:{Wa:{Xa:{Ya:{Za:{_a:{switch(t-49|0){case 62:r=O[k|0];if((r|0)!=114){break Ta}r=114;if(O[h+2|0]!=103){break Ta}if((l|0)!=2){break d}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);if(O[a+256|0]){break d}L[a+258|0]=0;L[a+256|0]=1;S[a+168>>3]=o;S[a+160>>3]=j;break d;case 67:o=1;$a:{ab:{bb:{cb:{switch(l-2|0){case 1:g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;A(+j);g=v(1)|0;k=v(0)|0;if(V(j)<2147483648){h=~~j}else{h=-2147483648}g=g&2147483647;g=j<=-2147483648?-2147483648:(g|0)==2146435072&(k|0)!=0|g>>>0>2146435072?-2147483648:h;h=j>=2147483648;q=pb(f,i+88|0);k=q>=2147483648;if(V(q)<2147483648){f=~~q}else{f=-2147483648}h=h?-2147483648:g;if(!(q<=-2147483648|k)){A(+q);g=v(1)|0;g=g&2147483647;j=1;if(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072){break bb}}L[a+258|0]=0;f=-2147483648;break $a;case 0:g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=pb(f,i+88|0);default:h=0;L[a+258|0]=0;break ab;case 2:break cb}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;k=i+88|0;h=Eb(f,k,10);f=Pa;n=N[i+28>>2];g=N[i+24>>2];N[i+88>>2]=g;N[i+92>>2]=n;n=Eb(g,k,10);m=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=m;m=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;h=m?-2147483648:h;f=m?-1:f;h=(f|0)>=0&h>>>0>=2147483647|(f|0)>0?2147483647:h;f=Pa;m=(f|0)<0&n>>>0<=2147483648|(f|0)<-1;n=m?-2147483648:n;f=m?-1:f;f=(f|0)>=0&n>>>0>=2147483647|(f|0)>0?2147483647:n;j=pb(g,k)}o=j;L[a+258|0]=0;if(f){break $a}}f=N[N[a+64>>2]+8>>2]}j=0;g=N[D+176>>2]-N[N[a+64>>2]>>2]|0;db:{if((g|0)<(h|0)){break db}j=1;n=g;if((g|0)>=(f|0)){break db}if((f|0)==(h|0)){break Ra}g=0;s=La-16|0;La=s;A(+o);k=v(1)|0;p=v(0)|0;q=+(n-h|0)/+(f-h|0);A(+q);h=v(1)|0;n=v(0)|0;C=k>>>20|0;t=C&2047;w=t-1086|0;f=h>>>20|0;eb:{fb:{if(w>>>0>4294967167&f-2047>>>0>=4294965250){break fb}m=(k<<1|p>>>31)+2097152|0;if(!(p<<1)&(m|0)==2097152|m>>>0<2097152){if(!n&(h|0)==1072693248){break eb}f=p<<1;m=k<<1|p>>>31;if(!(f|m)){break eb}g=!f&(m|0)==-2097152|m>>>0<4292870144;f=n<<1;m=h<<1|n>>>31;if(!(g&(!f&(m|0)==-2097152|m>>>0<4292870144))){j=q+o;break eb}if(!f&(m|0)==2145386496){break eb}j=((k|0)>0|(k|0)>=0)^m>>>0>2145386495?0:o*o;break eb}m=(h<<1|n>>>31)+2097152|0;if(!(n<<1)&(m|0)==2097152|m>>>0<2097152){j=q*q;if((h|0)<0){j=(Qm(p,k)|0)==1?-j:j}if((k|0)>0|(k|0)>=0){break eb}f=La-16|0;S[f+8>>3]=1/j;j=S[f+8>>3];break eb}if((h|0)<0){g=Qm(p,k);if(!g){j=q-q;j=j/j;break eb}g=((g|0)==1)<<18;h=h&2147483647;f=f&2047}if(w>>>0<=4294967167){if(!n&(h|0)==1072693248){break eb}if(t>>>0<=957){j=((h|0)==1072693248&(n|0)!=0|h>>>0>1072693248?o:-o)+1;break eb}if((!n&(h|0)==1072693248|h>>>0<1072693248)!=(C>>>0<2048|0)){f=La-16|0;S[f+8>>3]=3105036184601418e216;j=S[f+8>>3]*3105036184601418e216;break eb}f=La-16|0;S[f+8>>3]=12882297539194267e-247;j=S[f+8>>3]*12882297539194267e-247;break eb}if(f){break fb}A(+(q*4503599627370496));f=v(1)|0;n=v(0)|0;h=(f&2147483647)-54525952|0}x(0,p&-134217728);x(1,k|0);P=+z();f=h-1072076117|0;y=+(f>>20);m=(f>>>13&127)<<5;U=y*S[399]+S[m+3280>>3];p=0;k=n-p|0;f=h-((f&-1048576)+(n>>>0

>>0)|0)|0;x(0,0);x(1,(k- -2147483648>>>0<2147483648?f+1|0:f)|0);j=+z();u=S[m+3256>>3];q=j*u+-1;x(0,k|0);x(1,f|0);Q=(+z()-j)*u;j=q+Q;E=S[400];u=j*E;R=y*S[398]+S[m+3272>>3];y=j+R;F=q;q=q*E;F=F*q;E=y+F;F=U+(j+(R-y))+Q*(u+q)+(F+(y-E));q=j*u;j=F+j*q*(q*(q*(j*S[406]+S[405])+(j*S[404]+S[403]))+(j*S[402]+S[401]));q=E+j;S[s+8>>3]=j+(E-q);A(+q);f=v(1)|0;x(0,v(0)&-134217728);x(1,f|0);u=+z();j=P*u;o=(o-P)*u+(S[s+8>>3]+(q-u))*o;A(+j);f=v(1)|0;v(0)|0;gb:{hb:{f=f>>>20&2047;if(f-969>>>0<63){break hb}if(f>>>0<969){j=j+1;j=g?-j:j;break gb}h=f>>>0<1033;f=0;if(h){break hb}A(+j);f=v(1)|0;v(0)|0;if((f|0)<0){f=La-16|0;S[f+8>>3]=g?-12882297539194267e-247:12882297539194267e-247;j=S[f+8>>3]*12882297539194267e-247;break gb}f=La-16|0;S[f+8>>3]=g?-3105036184601418e216:3105036184601418e216;j=S[f+8>>3]*3105036184601418e216;break gb}q=S[129];u=S[128]*j+q;q=u-q;j=q*S[131]+(q*S[130]+j)+o;o=j*j;q=o*o*(j*S[135]+S[134]);o=o*(j*S[133]+S[132]);A(+u);v(1)|0;k=v(0)|0;n=k<<4&2032;j=q+(o+(S[n+1136>>3]+j));n=n+1144|0;m=N[n>>2];n=N[n+4>>2];g=g+k|0;p=m;m=g<<13;h=0;g=p+h|0;m=n+m|0;m=g>>>0>>0?m+1|0:m;if(!f){ib:{if(!(k&-2147483648)){x(0,g|0);x(1,m-1058013184|0);o=+z();j=(o*j+o)*5486124068793689e288;break ib}f=m+1071644672|0;h=f;x(0,g|0);x(1,f|0);o=+z();u=o*j;j=u+o;if(V(j)<1){f=La-16|0;S[f+8>>3]=22250738585072014e-324;S[f+8>>3]=S[f+8>>3]*22250738585072014e-324;x(0,0);x(1,h&-2147483648);q=j<0?-1:1;y=j+q;j=y+(u+(o-j)+(j+(q-y)))-q;j=(X=+z(),Z=j,W=j==0,W?X:Z)}j=j*22250738585072014e-324}break gb}x(0,g|0);x(1,m|0);o=+z();j=o*j+o}}La=s+16|0}g=e&1;f=l-1|0;if(r^1|f>>>0>3){d=g?j:d;break d}e=(i+16|0)+(f<<3)|0;f=N[e>>2];e=N[e+4>>2];if(e>>>0>>0){if(g){break Qa}qo(a,f,e,j,1);e=0;break d}g=(b|0)==(c|0);e=1;b=f;d=j;if(g){break d}ba(16681,18210,718,11024);B();case 50:if(O[k|0]!=108|O[h+2|0]!=105){break Oa}g=k;if(O[h+3|0]!=112){break Na}if((l|0)==4){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;h=i+88|0;r=Eb(f,h,10);k=Pa;g=N[i+28>>2];f=N[i+24>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,h,10);n=Pa;m=N[i+36>>2];g=N[i+32>>2];N[i+88>>2]=g;N[i+92>>2]=m;g=Eb(g,h,10);m=Pa;p=N[i+44>>2];l=N[i+40>>2];N[i+88>>2]=l;N[i+92>>2]=p;h=Eb(l,h,10);l=Pa;L[a+257|0]=0;j=1-d;p=(k|0)<0&r>>>0<=2147483648|(k|0)<-1;r=p?-2147483648:r;k=p?-1:k;o=+N[a+240>>2]*j+d*+(((k|0)>=0&r>>>0>=2147483647|(k|0)>0?2147483647:r)|0);jb:{if(V(o)<2147483648){k=~~o;break jb}k=-2147483648}N[a+240>>2]=k;k=m;m=(k|0)<0&g>>>0<=2147483648|(k|0)<-1;g=m?-2147483648:g;k=m?-1:k;o=+N[a+248>>2]*j+d*+(((k|0)>=0&g>>>0>=2147483647|(k|0)>0?2147483647:g)|0);kb:{if(V(o)<2147483648){g=~~o;break kb}g=-2147483648}N[a+248>>2]=g;g=n;k=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=k?-2147483648:f;g=k?-1:g;o=+N[a+244>>2]*j+d*+(((g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f)|0);lb:{if(V(o)<2147483648){f=~~o;break lb}f=-2147483648}N[a+244>>2]=f;g=h;f=l;h=(f|0)<0&h>>>0<=2147483648|(f|0)<-1;g=h?-2147483648:g;f=h?-1:f;j=+N[a+252>>2]*j+d*+(((f|0)>=0&g>>>0>=2147483647|(f|0)>0?2147483647:g)|0);if(V(j)<2147483648){N[a+252>>2]=~~j;break d}N[a+252>>2]=-2147483648;break d}if(N[a+296>>2]){break d}if(!po(a,i+16|0,l)){break d}N[a+456>>2]=0;break d;case 0:r=O[k|0];switch(r-97|0){case 2:break Na;case 0:break Za;default:break Ta};case 1:mb:{r=O[k|0];switch(r-97|0){case 0:break Ya;case 2:break mb;default:break Ta}}nb:{if((l|0)<=7){ob:{if(f>>>0<=g>>>0){break ob}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ob}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break nb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[H>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);pb:{if(V(j)<2147483648){m=~~j;break pb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);qb:{if(V(j)<2147483648){k=~~j;break qb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);rb:{if(V(j)<2147483648){h=~~j;break rb}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[H>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+228|0];f=N[N[a+68>>2]+20>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+228>>2]=Y;break d;case 2:sb:{r=O[k|0];switch(r-97|0){case 0:break Xa;case 2:break sb;default:break Ta}}tb:{if((l|0)<=7){ub:{if(f>>>0<=g>>>0){break ub}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ub}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break tb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[I>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);vb:{if(V(j)<2147483648){m=~~j;break vb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);wb:{if(V(j)<2147483648){k=~~j;break wb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);xb:{if(V(j)<2147483648){h=~~j;break xb}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[I>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+232|0];f=N[N[a+68>>2]+24>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+232>>2]=Y;break d;case 65:break Ua;case 3:break _a;default:break Va}}yb:{r=O[k|0];switch(r-97|0){case 0:break Wa;case 2:break yb;default:break Ta}}zb:{if((l|0)<=7){Ab:{if(f>>>0<=g>>>0){break Ab}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Ab}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break zb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[J>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);Bb:{if(V(j)<2147483648){m=~~j;break Bb}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);Cb:{if(V(j)<2147483648){k=~~j;break Cb}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);Db:{if(V(j)<2147483648){h=~~j;break Db}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[J>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+236|0];f=N[N[a+68>>2]+28>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+236>>2]=Y;break d}Eb:{if((l|0)<=7){Fb:{if(f>>>0<=g>>>0){break Fb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Fb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Eb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[G|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[G|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+16|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+224|0]=Y;break d}Gb:{if((l|0)<=7){Hb:{if(f>>>0<=g>>>0){break Hb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Hb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Gb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[H|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[H|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+20|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+228|0]=Y;break d}Ib:{if((l|0)<=7){Jb:{if(f>>>0<=g>>>0){break Jb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Jb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Ib}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[I|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[I|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+24|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+232|0]=Y;break d}Kb:{if((l|0)<=7){Lb:{if(f>>>0<=g>>>0){break Lb}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break Lb}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break Kb}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;j=(1-d)*+O[J|0]+d*+(f>>>0);A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;L[J|0]=j>=2147483648?0:j<=-2147483648?0:!h&(f|0)==2146435072|f>>>0<2146435072?g:0;break d}f=O[N[a+68>>2]+28|0];g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,L[W+236|0]=Y;break d}if(!s){break Sa}r=O[k|0];break Pa}Mb:{if((l|0)<=7){Nb:{if(f>>>0<=k>>>0){break Nb}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Nb}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0>k>>>0){g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}if(!l){break Mb}}n=N[i+16>>2];g=N[i+20>>2]-n|0;k=N[D+168>>2];h=N[k>>2];Ob:{if((h|0)>0){l=N[k+16>>2];while(1){f=h-1|0;m=l+T(f,144)|0;r=N[m>>2];if(!(bb(r,n,g)|O[g+r|0])){break Ob}m=h>>>0>1;h=f;if(m){continue}break}}f=N[k+84>>2];N[i+8>>2]=n;N[i+4>>2]=g;N[i>>2]=k;mb(f,2,16562,i);m=0}ti(a,m);break d}ti(a,0);break d}if(s){break Pa}}Pb:{Qb:{Rb:{Sb:{Tb:{Ub:{Vb:{if(!w){r=k;switch(t-75|0){case 38:break Pb;case 42:break Qb;case 40:break Rb;case 0:break Ub;case 32:break Vb;default:break d}}Wb:{if((l|0)>7){break Wb}Xb:{if(f>>>0<=k>>>0){break Xb}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break Xb}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break Wb}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;Yb:{if(l){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2){break Yb}}h=N[N[a+68>>2]+36>>2]}N[a+508>>2]=h;tg(a);break d}r=g;Zb:{switch(O[k|0]-102|0){case 9:break Tb;case 0:break Ub;case 14:break Zb;default:break Sb}}rc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)*10}else{j=0}L[a+472|0]=1;N[a+464>>2]=0;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+468>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}rc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)}else{j=100}N[a+460>>2]=2;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}rc(i+16|0,i+12|0,r,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)}else{j=100}N[a+460>>2]=3;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}rc(i+16|0,i+12|0,k,f);if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0)}else{j=100}N[a+460>>2]=1;N[a+468>>2]=N[a+468>>2]+N[a+464>>2];j=j*10;A(+j);f=v(1)|0;h=v(0)|0;if(V(j)<2147483648){g=~~j}else{g=-2147483648}f=f&2147483647;N[a+464>>2]=j>=2147483648?-2147483648:j<=-2147483648?-2147483648:(f|0)==2146435072&(h|0)!=0|f>>>0>2146435072?-2147483648:g;break d}if(!(O[k|0]!=104|O[h+2|0]!=97|O[h+3|0]!=100)){rc(i+16|0,i+12|0,p,f);_b:{if(N[i+12>>2]){g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;o=d*pb(f,i+88|0);q=1-d;j=S[a+280>>3]*q+o;j=j<0?0:j;o=S[a+272>>3]*q+o;o=o<0?0:o;break _b}o=S[N[a+68>>2]+96>>3];j=o}S[a+280>>3]=j;S[a+272>>3]=o;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;$b:{if(N[i+12>>2]){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2){break $b}}h=N[N[a+68>>2]+44>>2]}f=N[a+92>>2];if(h){N[a+92>>2]=f|2;break d}N[a+92>>2]=f&-3;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;ac:{if(N[i+12>>2]){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2){break ac}}h=N[N[a+68>>2]+40>>2]}f=N[a+92>>2];if(h){N[a+92>>2]=f|1;break d}N[a+92>>2]=f&-2;break d}rc(i+16|0,i+12|0,k,f);g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;bc:{cc:{if(!N[i+12>>2]){break cc}h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if((h|0)<0){break cc}if((h|0)<4){break bc}}h=N[N[D+168>>2]+56>>2]}N[a+516>>2]=h;break d}ba(22391,18210,702,11024);B()}ba(16780,18210,715,11024);B()}if((r&255)==101){dc:{if((l|0)<=7){ec:{if(f>>>0<=g>>>0){break ec}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break ec}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break dc}}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;j=pb(f,i+88|0);j=+L[a+259|0]*(1-d)+d*j+.5;fc:{if(V(j)<2147483648){f=~~j;break fc}f=-2147483648}f=(f|0)>0?f:0;g=f>>>0>=127?127:f;A(+j);f=v(1)|0;f=f&2147483647;W=a,Y=(_=0,$=(ca=0,da=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0,ea=j<=-2147483648,ea?ca:da),aa=j>=2147483648,aa?_:$),L[W+259|0]=Y;break d}L[a+259|0]=0;break d}gc:{if((l|0)>7){break gc}hc:{if(f>>>0<=k>>>0){break hc}while(1){g=f-1|0;h=O[g|0];if((h|0)!=32&(h|0)!=9){break hc}f=g;if(k>>>0>>0){continue}break}f=k}if(f>>>0<=k>>>0){break gc}g=(i+16|0)+(l<<3)|0;N[g+4>>2]=f;N[g>>2]=k;l=l+1|0;N[i+12>>2]=l}g=N[i+20>>2];f=N[i+16>>2];N[i+88>>2]=f;N[i+92>>2]=g;f=Eb(f,i+88|0,10);g=Pa;ic:{if(l){h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;h=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;if(h>>>0<2|(h|0)>99){break ic}}h=N[N[a+68>>2]+32>>2]}N[a+504>>2]=h;tg(a);break d}g=k}jc:{if((l|0)<=7){kc:{if(f>>>0<=g>>>0){break kc}while(1){h=f-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break kc}f=h;if(g>>>0>>0){continue}break}f=g}if(f>>>0>g>>>0){h=(i+16|0)+(l<<3)|0;N[h+4>>2]=f;N[h>>2]=g;l=l+1|0;N[i+12>>2]=l}if(!l){break jc}}h=N[i+16>>2];while(1){f=O[h|0];if(!((f|0)!=72&(f|0)!=38)){h=h+1|0;continue}break}N[i+88>>2]=h;f=Eb(h,i+88|0,16);g=Pa;h=(g|0)<0&f>>>0<=2147483648|(g|0)<-1;f=h?-2147483648:f;g=h?-1:g;f=(g|0)>=0&f>>>0>=2147483647|(g|0)>0?2147483647:f;o=1-d;g=N[G>>2];h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);j=o*+((h&65280)>>>0)+d*+((f&65280)>>>0);lc:{if(V(j)<2147483648){m=~~j;break lc}m=-2147483648}A(+j);k=v(1)|0;k=k&2147483647;n=(W=0,Y=($=0,aa=!(v(0)|0)&(k|0)==2146435072|k>>>0<2146435072?m&65280:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y);m=g&255;j=o*+((h&16711680)>>>0)+d*+((f&16711680)>>>0);mc:{if(V(j)<2147483648){k=~~j;break mc}k=-2147483648}A(+j);g=v(1)|0;g=g&2147483647;g=(W=0,Y=($=0,aa=!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?k&16711680:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|n;k=g>>>8&65280;j=o*+((h&255)>>>0)+d*+((f&255)>>>0);nc:{if(V(j)<2147483648){h=~~j;break nc}h=-2147483648}A(+j);f=v(1)|0;f=f&2147483647;f=(W=0,Y=($=0,aa=!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?h&255:0,ca=j<=-2147483648,ca?$:aa),_=j>=2147483648,_?W:Y)|g;N[G>>2]=m|(k|(f<<24|(f&65280)<<8));break d}k=O[a+224|0];f=N[N[a+68>>2]+16>>2];f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);g=f&16711680;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;m=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)>>>8|0;g=f&255;h=g;A(+(g>>>0));g=v(1)|0;g=g&2147483647;h=(!(v(0)|0)&(g|0)==2146435072|g>>>0<2146435072?h:0)<<24;f=f&65280;g=f;A(+(f>>>0));f=v(1)|0;f=f&2147483647;W=a,Y=k|(m|(h|(!(v(0)|0)&(f|0)==2146435072|f>>>0<2146435072?g:0)<<8)),N[W+224>>2]=Y}if(b>>>0>>0){continue}break}}La=i+96|0;return b}function De(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,P=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;j=La-15968|0;La=j;N[j+15960>>2]=g;N[j+15964>>2]=f;q=N[a+176>>2];o=N[N[q+536>>2]+544>>2];J=N[a+52>>2];x=N[a>>2];C(j+15808|0,0,128);N[j+15952>>2]=0;f=j+15792|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15764|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15736|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15700|0;N[f>>2]=0;N[f+4>>2]=0;f=j+15708|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15944>>2]=0;N[j+15948>>2]=0;N[j+15776>>2]=0;N[j+15780>>2]=0;N[j+15784>>2]=0;N[j+15788>>2]=0;N[j+15756>>2]=0;N[j+15760>>2]=0;N[j+15752>>2]=20;H=a+4|0;N[j+15748>>2]=H;N[j+15744>>2]=x;N[j+15728>>2]=0;N[j+15732>>2]=0;N[j+15724>>2]=20;N[j+15720>>2]=H;N[j+15716>>2]=x;N[j+15692>>2]=0;N[j+15696>>2]=0;N[j+15688>>2]=H;V=j+15608|0;C(V,0,80);f=j+15532|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15528>>2]=8;N[j+15524>>2]=H;f=j+15540|0;N[f>>2]=0;N[f+4>>2]=0;N[j+15520>>2]=x;N[j+3912>>2]=c;N[j+3908>>2]=a;C(j+11664|0,0,3856);f=O[a+184|0];N[j+11668>>2]=J;L[j+11665|0]=f;K=j+15520|0;N[j+11660>>2]=K;P=j+11652|0;N[j+11656>>2]=P;N[j+11652>>2]=a;C(j+7796|0,0,3856);N[j+7800>>2]=J;L[j+7797|0]=f;N[j+7792>>2]=K;N[j+7788>>2]=P;N[j+7784>>2]=a;C(j+3928|0,0,3856);N[j+3932>>2]=J;L[j+3929|0]=f;N[j+3924>>2]=K;N[j+3920>>2]=P;N[j+3916>>2]=a;N[j+15548>>2]=N[a+40>>2];G=48;f=N[a+48>>2];N[j+15556>>2]=J;N[j+15552>>2]=f;f=N[d>>2];i=N[d+4>>2];N[j+15588>>2]=a+240;N[j+15584>>2]=g;N[j+15560>>2]=f;N[j+15564>>2]=i;N[j+15580>>2]=j+15688;N[j+15576>>2]=j+15716;N[j+15572>>2]=j+15744;L[j+15570|0]=O[a+185|0];g=N[a+228>>2];N[j+15592>>2]=g;f=N[a+232>>2];N[j+15604>>2]=6554;N[j+15596>>2]=f;M[j+15568>>1]=0;i=1;L[j+15571|0]=1;l=g;g=g>>31;g=(l^g)-g|0;l=f;f=f>>31;f=(l^f)-f|0;N[j+15600>>2]=((f|0)<(g|0)?g:f)<<1;f=O[a+9|0];L[j+15775|0]=(f|0)!=0;N[h>>2]=N[N[q+536>>2]+540>>2]<<16;G=f?N[N[q+532>>2]+1556>>2]:G;l=64;f=Qa[N[x+4>>2]](x,20)|0;a:{b:{c:{if(!f){f=0;break c}N[f+4>>2]=H;N[f>>2]=x;g=0;d:{e:{f:{g:{if((G|0)<0){break g}if(G){if((G|0)>268435455){break g}k=G<<3;g=Qa[N[x+4>>2]](x,k)|0;if(!g|(G|0)<=0){break f}C(g,0,k)}D=f+8|0;N[D>>2]=g;break d}N[f+8>>2]=0;break e}D=f+8|0;N[D>>2]=g;if(g){break d}}Qa[N[x+8>>2]](x,f);f=0;break c}N[f+16>>2]=G;N[f+12>>2]=g;A=Qa[N[x+4>>2]](x,272)|0;g=N[a+4>>2];if(!A){A=0;if(g){i=0;break a}i=0;break b}i=0;if(g){break a}R=o<<16;Z=j+3916|0;B=j+15692|0;g=N[b+4>>2];N[A>>2]=N[b>>2];N[A+4>>2]=g;g=N[b+12>>2];N[A+8>>2]=N[b+8>>2];N[A+12>>2]=g;I=a+92|0;_=j+48|0;S=2e7;t=A;h:while(1){w=0;while(1){o=i;l=t+12|0;b=N[l>>2];m=N[t+8>>2];i:{if(b>>>0>=m>>>0){g=y?11:14;k=b;break i}k=b+1|0;N[l>>2]=k;j:{g=O[b|0];switch(g-11|0){case 0:case 3:break j;default:break i}}g=O[a+9|0]?0:g}n=O[a+8|0];if(n){b=g&254;k:{i=g>>>0>31;if(i|(g|0)==12|((b|0)==10|(g-13&255)>>>0<2)){break k}if(o&255|(g&253)==1){break k}N[f+12>>2]=N[f+8>>2];i=0;continue}r=(g|0)==12;E=r?E:E&255?i?E:0:E;u=i?u:r?u:(u|0)<=0?u:(b|0)==10?u:0}if(N[a+4>>2]){i=0;break a}S=S-1|0;if(!S){i=0;l=18;break b}i=o;l:{m:{n:{o:{p:{q:{r:{s:{switch(g|0){case 15:if(!O[a+9|0]){break p}if(O[a+93|0]){break l}b=N[f+12>>2];if((b|0)==N[f+8>>2]){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break n}N[b>>2]=161;N[a+120>>2]=0;break m}if(N[b-4>>2]!=2){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break n}N[b>>2]=160;break n}b=b-8|0;N[f+12>>2]=b;g=N[b>>2];if((g|0)>=0){break n}break p;case 16:if(!O[a+9|0]){break p}l=18;i=0;if(!N[a+96>>2]){break c}t:{if(!(Qa[N[N[a+548>>2]+12>>2]](I,N[a+120>>2],N[a+124>>2],N[a+128>>2])|0)){break t}b=Qa[N[N[a+548>>2]+16>>2]](I,N[a+120>>2],N[a+124>>2],N[a+128>>2])|0;if(!b){break t}l=b;break c}b=N[f+12>>2];u:{if((b|0)==N[f+8>>2]){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break u}N[b>>2]=161;break u}if(N[b-4>>2]!=2){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break u}N[b>>2]=160;break u}b=b-8|0;N[f+12>>2]=b;g=N[b>>2];if(G>>>0>>0){break c}}p=0;b=N[f+12>>2];i=N[f+8>>2];l=b-i>>3;W=T(N[I+20>>2],g);if(g){X=l-W|0;k=X+g|0;while(1){m=N[I+24>>2];Y=N[f+12>>2];n=Y-i>>3;s=p+X|0;v:{if(n>>>0<=s>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break v}N[b>>2]=130;break v}w:{x:{y:{b=(s<<3)+i|0;switch(N[b+4>>2]-1|0){case 0:break x;case 1:break y;default:break w}}l=N[b>>2]<<16;break v}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break v}l=N[b>>2]}U=1;if(Q[I+20>>2]>=2){while(1){v=N[m+4>>2];z:{if(k>>>0>=n>>>0){b=0;r=N[f+4>>2];if(!r|N[r>>2]){break z}N[r>>2]=130;break z}A:{B:{C:{b=(k<<3)+i|0;switch(N[b+4>>2]-1|0){case 0:break B;case 1:break C;default:break A}}b=N[b>>2]<<16;break z}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break z}b=N[b>>2]}k=k+1|0;m=m+4|0;$=l;z=v>>31;z=(z^v)-z|0;r=b>>31;r=(r^b)-r|0;D:{if(z+(r>>>8|0)>>>0<=8190){r=T(r,z)+32768>>>16|0;break D}l=z&65535;r=T(l,r>>>16|0)+T(r,z>>>16|0)+(T(r&65535,l)+32768>>>16)|0}l=v>>31|1;l=$+((((b|0)<0?0-l|0:l)|0)<0?0-r|0:r)|0;U=U+1|0;if(U>>>0>2]){continue}break}n=Y-i>>3}E:{if(n>>>0>>0){b=N[f+4>>2];if(!b|N[b>>2]){break E}N[b>>2]=130;break E}b=s<<3;N[b+i>>2]=l;i=N[f+8>>2];N[(b+i|0)+4>>2]=0}p=p+1|0;if((p|0)!=(g|0)){continue}break}b=N[f+12>>2];l=b-i>>3}g=W-g|0;F:{if(g>>>0>l>>>0){b=N[f+4>>2];if(!b|N[b>>2]){break F}N[b>>2]=161;break F}N[f+12>>2]=b-(g<<3)}L[a+93|0]=1;i=o;continue;case 1:case 18:g=j+15744|0;l=j+15775|0;G:{if(!n){if(O[j+15692|0]){break p}b=0;break G}b=N[N[q+32>>2]+4>>2]}xg(a,f,g,h,l,b);if(!O[q+548|0]){break m}break o;case 3:case 23:g=j+15716|0;l=j+15775|0;H:{if(!n){if(O[j+15692|0]){break p}b=0;break H}b=N[N[q+32>>2]>>2]}xg(a,f,g,h,l,b);if(O[q+548|0]){break o}break m;case 4:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<16)){I:{J:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break I;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break I;default:break J}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}K:{if((b|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break K}N[b>>2]=161;break K}b=i-8|0;N[f+12>>2]=b;L:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break K;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break K;default:break L}}g=N[b>>2]}b=N[j+15960>>2]+g|0;N[j+15960>>2]=b;if(N[q+468>>2]){break p}Ce(j+3908|0,N[j+15964>>2],b);break p;case 5:l=N[j+15960>>2];i=N[j+15964>>2];g=N[f+8>>2];b=N[f+12>>2];if((g|0)!=(b|0)){m=b-g>>3;g=0;while(1){k=N[f+8>>2];r=N[f+12>>2]-k>>3;M:{if(r>>>0<=g>>>0){n=0;b=N[f+4>>2];if(!b|N[b>>2]){break M}N[b>>2]=130;break M}N:{O:{P:{b=k+(g<<3)|0;switch(N[b+4>>2]-1|0){case 1:break P;case 0:break O;default:break N}}n=N[b>>2]<<16;break M}b=N[b>>2];n=((b>>31)+b|0)- -8192>>14;break M}n=N[b>>2]}i=i+n|0;b=g|1;Q:{if(b>>>0>=r>>>0){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Q}N[k>>2]=130;break Q}R:{S:{T:{b=k+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break S;case 1:break T;default:break R}}b=N[b>>2]<<16;break Q}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break Q}b=N[b>>2]}l=b+l|0;Xd(j+3908|0,i,l);g=g+2|0;if(m>>>0>g>>>0){continue}break}g=N[D>>2]}N[j+15960>>2]=l;N[j+15964>>2]=i;N[f+12>>2]=g;i=o;continue;case 6:case 7:b=N[j+15960>>2];p=N[j+15964>>2];i=N[f+8>>2];l=N[f+12>>2];if((i|0)!=(l|0)){i=l-i>>3;n=i>>>0<=1?1:i;i=(g|0)==6;g=0;while(1){l=N[f+8>>2];U:{if(N[f+12>>2]-l>>3>>>0<=g>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break U}N[k>>2]=130;break U}V:{W:{X:{l=l+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break W;case 1:break X;default:break V}}l=N[l>>2]<<16;break U}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break U}l=N[l>>2]}k=i&255;p=(k?l:0)+p|0;b=(k?0:l)+b|0;Xd(j+3908|0,p,b);i=i^1;g=g+1|0;if((n|0)!=(g|0)){continue}break}i=N[D>>2]}N[j+15960>>2]=b;N[j+15964>>2]=p;N[f+12>>2]=i;i=o;continue;case 8:case 24:n=0;i=N[j+15960>>2];p=N[j+15964>>2];b=N[f+12>>2]-N[f+8>>2]|0;if(b>>>0>=48){z=b>>3;l=6;while(1){b=n;n=l;l=N[f+8>>2];s=N[f+12>>2]-l>>3;Y:{if(s>>>0<=b>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break Y}N[m>>2]=130;break Y}Z:{_:{$:{k=l+(b<<3)|0;switch(N[k+4>>2]-1|0){case 0:break _;case 1:break $;default:break Z}}k=N[k>>2]<<16;break Y}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break Y}k=N[k>>2]}m=b|1;aa:{if(m>>>0>=s>>>0){m=0;r=N[f+4>>2];if(!r|N[r>>2]){break aa}N[r>>2]=130;break aa}ba:{ca:{da:{m=l+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break ca;case 1:break da;default:break ba}}m=N[m>>2]<<16;break aa}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break aa}m=N[m>>2]}r=b+2|0;ea:{if(r>>>0>=s>>>0){r=0;v=N[f+4>>2];if(!v|N[v>>2]){break ea}N[v>>2]=130;break ea}fa:{ga:{ha:{r=l+(r<<3)|0;switch(N[r+4>>2]-1|0){case 0:break ga;case 1:break ha;default:break fa}}r=N[r>>2]<<16;break ea}r=N[r>>2];r=((r>>31)+r|0)- -8192>>14;break ea}r=N[r>>2]}v=k+p|0;k=b+3|0;ia:{if(k>>>0>=s>>>0){p=0;k=N[f+4>>2];if(!k|N[k>>2]){break ia}N[k>>2]=130;break ia}ja:{ka:{la:{k=l+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break ka;case 1:break la;default:break ja}}p=N[k>>2]<<16;break ia}k=N[k>>2];p=((k>>31)+k|0)- -8192>>14;break ia}p=N[k>>2]}k=i+m|0;m=r+v|0;i=b+4|0;ma:{if(i>>>0>=s>>>0){i=0;r=N[f+4>>2];if(!r|N[r>>2]){break ma}N[r>>2]=130;break ma}na:{oa:{pa:{i=l+(i<<3)|0;switch(N[i+4>>2]-1|0){case 0:break oa;case 1:break pa;default:break na}}i=N[i>>2]<<16;break ma}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break ma}i=N[i>>2]}r=k+p|0;p=i+m|0;b=b+5|0;qa:{if(b>>>0>=s>>>0){i=0;b=N[f+4>>2];if(!b|N[b>>2]){break qa}N[b>>2]=130;break qa}ra:{sa:{ta:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break sa;case 1:break ta;default:break ra}}i=N[b>>2]<<16;break qa}b=N[b>>2];i=((b>>31)+b|0)- -8192>>14;break qa}i=N[b>>2]}i=i+r|0;Cd(j+3908|0,v,k,m,r,p,i);l=n+6|0;if(z>>>0>=l>>>0){continue}break}}N[j+15960>>2]=i;N[j+15964>>2]=p;if((g|0)==24){g=N[f+8>>2];k=N[f+12>>2]-g>>3;ua:{if(k>>>0<=n>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break ua}N[b>>2]=130;break ua}va:{wa:{xa:{b=g+(n<<3)|0;switch(N[b+4>>2]-1|0){case 0:break wa;case 1:break xa;default:break va}}l=N[b>>2]<<16;break ua}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break ua}l=N[b>>2]}l=l+p|0;N[j+15964>>2]=l;b=n|1;ya:{if(b>>>0>=k>>>0){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break ya}N[b>>2]=130;break ya}za:{Aa:{Ba:{b=g+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break Aa;case 1:break Ba;default:break za}}g=N[b>>2]<<16;break ya}b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break ya}g=N[b>>2]}b=g+i|0;N[j+15960>>2]=b;Xd(j+3908|0,l,b)}N[f+12>>2]=N[f+8>>2];i=o;continue;case 9:if(!n){break p}if(O[j+15568|0]){L[j+15569|0]=1;Xd(j+3908|0,N[j+15640>>2],N[j+15644>>2]);if(O[j+15648|0]){mf(j+3908|0,Z,V,N[j+15616>>2],N[j+15620>>2],1)}L[j+15648|0]=0;M[j+15568>>1]=0;L[j+15571|0]=1}L[j+15775|0]=1;i=o;break m;case 10:case 29:l=18;i=0;if((y|0)>16){break c}y=y+1|0;b=y;if(b>>>0>=17){N[a+4>>2]=130;b=0}m=b<<4;b=N[f+12>>2];Ca:{if((b|0)==N[f+8>>2]){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Ca}N[k>>2]=161;break Ca}if(N[b-4>>2]!=2){b=0;k=N[f+4>>2];if(!k|N[k>>2]){break Ca}N[k>>2]=160;break Ca}b=b-8|0;N[f+12>>2]=b;b=N[b>>2]}t=m+A|0;Da:{if(!n){break Da}k=N[q+616>>2];if(!k){break Da}b=Ad(b,k);if(!b){b=-1;break Da}b=N[b>>2]}N[t>>2]=0;N[t+4>>2]=0;N[t+8>>2]=0;N[t+12>>2]=0;if((g|0)==29){b=N[q+568>>2]+b|0;if(b>>>0>=Q[q+560>>2]){break c}b=N[q+576>>2]+(b<<2)|0;g=N[b>>2];N[t+4>>2]=g;N[t+12>>2]=g;N[t+8>>2]=N[b+4>>2];i=o;continue}b=N[q+564>>2]+b|0;if(b>>>0>=Q[q+556>>2]){break c}i=b<<2;b=i+N[q+572>>2]|0;g=N[b>>2];N[t+4>>2]=g;Ea:{if(O[q+48|0]){l=N[q+612>>2];if(l){if(!g){g=0;b=0;break Ea}b=N[i+l>>2]+g|0;break Ea}i=g;g=N[q+608>>2];g=i+((g|0)>0?g:0)|0;N[t+4>>2]=g;b=N[b+4>>2];break Ea}b=N[b+4>>2]}N[t+12>>2]=g;N[t+8>>2]=b;i=o;continue;case 11:if((y|0)<=0){break l}y=y-1|0;b=y;if(b>>>0>=17){N[a+4>>2]=130;b=0}t=(b<<4)+A|0;continue;case 12:if(k>>>0>=m>>>0){b=N[t>>2];if(b){g=0;if(N[b>>2]){break q}N[b>>2]=85}g=0;break q}N[l>>2]=k+1;Fa:{Ga:{Ha:{Ia:{g=O[k|0];switch(g-8|0){case 29:break Fa;case 28:break Ga;case 27:break Ha;case 26:break Ia;case 0:case 5:case 11:case 17:case 23:case 24:break m;default:break q}}wg(f,j+15964|0,j+15960|0,j+3908|0,295036,0);continue}wg(f,j+15964|0,j+15960|0,j+3908|0,295048,0);break m}wg(f,j+15964|0,j+15960|0,j+3908|0,295060,0);continue}wg(f,j+15964|0,j+15960|0,j+3908|0,295072,1);continue;case 13:if(!n){break p}g=N[f+12>>2];i=N[f+8>>2];Ja:{if((g|0)==(i|0)){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break Ja}N[b>>2]=161;break Ja}g=g-8|0;N[f+12>>2]=g;Ka:{switch(N[g+4>>2]-1|0){case 1:p=N[g>>2]<<16;break Ja;case 0:b=N[g>>2];p=((b>>31)+b|0)- -8192>>14;break Ja;default:break Ka}}p=N[g>>2]}b=N[q+36>>2];N[b+4>>2]=0;N[b>>2]=p;La:{if((g|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break La}N[b>>2]=161;break La}b=g-8|0;N[f+12>>2]=b;Ma:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break La;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break La;default:break Ma}}g=N[b>>2]}b=N[q+32>>2];N[b>>2]=N[b>>2]+g;L[j+15775|0]=1;if(O[q+47|0]){break o}if(!(o&255)){i=0;break m}N[j+15964>>2]=N[j+15964>>2]+g;i=o;break m;case 14:if(!(!n|o&255)){Ce(j+3908|0,N[j+15964>>2],N[j+15960>>2]);N[j+15760>>2]=0;N[j+15732>>2]=0;N[B+16>>2]=0;N[B+20>>2]=0;N[B+8>>2]=0;N[B+12>>2]=0;N[B>>2]=0;N[B+4>>2]=0;N[j+15688>>2]=H;L[j+15693|0]=1;if((y|0)>0){g=y;Na:{if(!(g&1)){break Na}g=y-1|0;if(y>>>0<18){l=g;break Na}l=0;if(N[a+4>>2]){break Na}N[a+4>>2]=130}if((y|0)!=1){while(1){if(!(N[a+4>>2]|g>>>0<18)){N[a+4>>2]=130}b=g-1|0;g=g-2|0;l=g;Oa:{if(b>>>0<18){break Oa}l=0;if(N[a+4>>2]){break Oa}N[a+4>>2]=130}if(b>>>0>1){continue}break}}y=0;t=(l<<4)+A|0}N[t+12>>2]=N[t+4>>2];i=1;break m}b=N[f+12>>2]-N[f+8>>2]|0;Pa:{Qa:{if((b|0)!=8){if((b|0)!=40){break Pa}if(!O[j+15775|0]){break Qa}break Pa}if(O[j+15775|0]){break Pa}}aa=h,ba=md(f,0)+R|0,N[aa>>2]=ba}i=0;if(O[q+548|0]){l=0;break c}b=j+3908|0;if(O[b+11660|0]){L[b+11661|0]=1;Xd(b,N[b+11732>>2],N[b+11736>>2]);if(O[b+11740|0]){mf(b,b+8|0,b+11700|0,N[b+11708>>2],N[b+11712>>2],1)}L[b+11740|0]=0;M[b+11660>>1]=0;L[b+11663|0]=1}if(O[a+9|0]){l=0;break c}if(O[a+8|0]){l=0;break c}if(N[f+12>>2]-N[f+8>>2]>>>0<9){l=0;break c}l=18;Ra:{if(e){break Ra}b=nc(f);e=nc(f);g=qb(f);h=qb(f);l=Ro(q,b,j+36|0);if(l){break Ra}b=j+36|0;De(a,b,c,d,1,h,g,j+8|0);g=j+40|0;Qa[N[q+600>>2]](N[q+4>>2],g,N[j+44>>2]-N[j+40>>2]|0);l=Ro(q,e,b);if(l){break Ra}l=0;De(a,j+36|0,c,d,1,0,0,j+8|0);Qa[N[q+600>>2]](N[q+4>>2],g,N[j+44>>2]-N[j+40>>2]|0)}break c;case 19:case 20:if(O[j+15692|0]?N[f+12>>2]-N[f+8>>2]>>>0>=16:0){break p}i=0;xg(a,f,j+15716|0,h,j+15775|0,0);if(O[q+548|0]){l=0;break c}if((g|0)==19){b=N[j+15732>>2]+N[j+15760>>2]|0;if(b>>>0>=97){b=N[j+15688>>2];if(!b|N[b>>2]){break p}N[b>>2]=18;i=o;break m}N[j+15696>>2]=b;M[j+15692>>1]=257;N[j+15700>>2]=b+7>>>3;g=0;if(!b){break p}while(1){b=N[l>>2];Sa:{if(b>>>0>2]){N[l>>2]=b+1;i=O[b|0];break Sa}i=0;b=N[t>>2];if(!b|N[b>>2]){break Sa}N[b>>2]=85}L[(g+j|0)+15704|0]=i;g=g+1|0;if(g>>>0>2]){continue}break}break p}C(_,0,3856);b=O[a+184|0];N[j+52>>2]=J;L[j+49|0]=b;N[j+44>>2]=K;N[j+40>>2]=P;N[j+36>>2]=a;N[j+28>>2]=0;N[j+32>>2]=0;N[j+20>>2]=0;N[j+24>>2]=0;N[j+12>>2]=0;N[j+16>>2]=0;N[j+8>>2]=H;b=N[j+15732>>2]+N[j+15760>>2]|0;Ta:{if(b>>>0>=97){if(N[a+4>>2]){break Ta}N[a+4>>2]=18;break Ta}N[j+16>>2]=b;M[j+12>>1]=257;N[j+20>>2]=b+7>>>3;g=0;if(!b){break Ta}while(1){b=N[l>>2];Ua:{if(b>>>0>2]){N[l>>2]=b+1;i=O[b|0];break Ua}i=0;b=N[t>>2];if(!b|N[b>>2]){break Ua}N[b>>2]=85}L[(g+j|0)+24|0]=i;g=g+1|0;if(g>>>0>2]){continue}break}}lf(j+36|0,j+15744|0,j+15716|0,j+8|0,0,0);i=o;break m;case 21:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<24)){Va:{Wa:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break Va;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break Va;default:break Wa}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}l=N[j+15960>>2];Xa:{Ya:{Za:{if((b|0)==(i|0)){g=N[f+4>>2];if(!(!g|N[g>>2])){N[g>>2]=161}N[j+15960>>2]=l;n=N[j+15964>>2];break Za}g=i-8|0;N[f+12>>2]=g;_a:{$a:{switch(N[g+4>>2]-1|0){case 0:k=N[g>>2];n=((k>>31)+k|0)- -8192>>14;break _a;default:n=N[g>>2];break _a;case 1:break $a}}n=N[g>>2]<<16}l=n+l|0;N[j+15960>>2]=l;n=N[j+15964>>2];if((b|0)!=(g|0)){break Ya}g=N[f+4>>2]}i=0;if(N[g>>2]|!g){break Xa}N[g>>2]=161;break Xa}b=i-16|0;N[f+12>>2]=b;ab:{switch(N[b+4>>2]-1|0){case 1:i=N[b>>2]<<16;break Xa;case 0:b=N[b>>2];i=((b>>31)+b|0)- -8192>>14;break Xa;default:break ab}}i=N[b>>2]}b=i+n|0;N[j+15964>>2]=b;if(N[q+468>>2]){break p}Ce(j+3908|0,b,l);i=o;break m;case 22:i=N[f+12>>2];b=N[f+8>>2];if(!(O[j+15775|0]|i-b>>>0<16)){bb:{cb:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break bb;case 0:g=N[b>>2];g=((g>>31)+g|0)- -8192>>14;break bb;default:break cb}}g=N[b>>2]}N[h>>2]=g+R}L[j+15775|0]=1;if(O[q+548|0]){break o}db:{if((b|0)==(i|0)){g=0;b=N[f+4>>2];if(!b|N[b>>2]){break db}N[b>>2]=161;break db}b=i-8|0;N[f+12>>2]=b;eb:{switch(N[b+4>>2]-1|0){case 1:g=N[b>>2]<<16;break db;case 0:b=N[b>>2];g=((b>>31)+b|0)- -8192>>14;break db;default:break eb}}g=N[b>>2]}b=N[j+15964>>2]+g|0;N[j+15964>>2]=b;if(N[q+468>>2]){break p}Ce(j+3908|0,b,N[j+15960>>2]);i=o;break m;case 25:l=N[f+12>>2]-N[f+8>>2]|0;p=l>>3;g=0;b=N[j+15960>>2];i=N[j+15964>>2];if(l>>>0<=48){break r}while(1){l=g;k=N[f+8>>2];m=N[f+12>>2]-k>>3;fb:{if(m>>>0<=g>>>0){g=0;n=N[f+4>>2];if(!n|N[n>>2]){break fb}N[n>>2]=130;break fb}gb:{hb:{ib:{g=k+(l<<3)|0;switch(N[g+4>>2]-1|0){case 0:break hb;case 1:break ib;default:break gb}}g=N[g>>2]<<16;break fb}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break fb}g=N[g>>2]}i=g+i|0;g=l|1;jb:{if(g>>>0>=m>>>0){g=0;k=N[f+4>>2];if(!k|N[k>>2]){break jb}N[k>>2]=130;break jb}kb:{lb:{mb:{g=k+(g<<3)|0;switch(N[g+4>>2]-1|0){case 0:break lb;case 1:break mb;default:break kb}}g=N[g>>2]<<16;break jb}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break jb}g=N[g>>2]}b=b+g|0;Xd(j+3908|0,i,b);g=l+2|0;if(p>>>0>l+8>>>0){continue}break};break r;case 26:m=N[j+15960>>2];l=N[j+15964>>2];i=N[f+8>>2];r=N[f+12>>2]-i>>3;s=r&-3;g=r&2;if(s>>>0>g>>>0){while(1){i=N[f+8>>2];n=N[f+12>>2]-i>>3;if(r-g&1){nb:{if(g>>>0>=n>>>0){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break nb}N[b>>2]=130;break nb}ob:{pb:{qb:{b=i+(g<<3)|0;switch(N[b+4>>2]-1|0){case 0:break pb;case 1:break qb;default:break ob}}p=N[b>>2]<<16;break nb}b=N[b>>2];p=((b>>31)+b|0)- -8192>>14;break nb}p=N[b>>2]}g=g+1|0;l=l+p|0}b=l;rb:{if(g>>>0>=n>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break rb}N[k>>2]=130;break rb}sb:{tb:{ub:{l=i+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break tb;case 1:break ub;default:break sb}}l=N[l>>2]<<16;break rb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break rb}l=N[l>>2]}k=g+1|0;vb:{if(k>>>0>=n>>>0){k=0;p=N[f+4>>2];if(!p|N[p>>2]){break vb}N[p>>2]=130;break vb}wb:{xb:{yb:{k=i+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break xb;case 1:break yb;default:break wb}}k=N[k>>2]<<16;break vb}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break vb}k=N[k>>2]}p=l+m|0;l=g+2|0;zb:{if(l>>>0>=n>>>0){m=0;l=N[f+4>>2];if(!l|N[l>>2]){break zb}N[l>>2]=130;break zb}Ab:{Bb:{Cb:{l=i+(l<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Bb;case 1:break Cb;default:break Ab}}m=N[l>>2]<<16;break zb}l=N[l>>2];m=((l>>31)+l|0)- -8192>>14;break zb}m=N[l>>2]}l=b+k|0;k=m+p|0;m=n;n=g+3|0;Db:{if(m>>>0<=n>>>0){i=0;n=N[f+4>>2];if(!n|N[n>>2]){break Db}N[n>>2]=130;break Db}Eb:{Fb:{Gb:{i=i+(n<<3)|0;switch(N[i+4>>2]-1|0){case 0:break Fb;case 1:break Gb;default:break Eb}}i=N[i>>2]<<16;break Db}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break Db}i=N[i>>2]}m=i+k|0;Cd(j+3908|0,b,p,l,k,l,m);g=g+4|0;if(s>>>0>g>>>0){continue}break}i=N[D>>2]}N[j+15960>>2]=m;N[j+15964>>2]=l;N[f+12>>2]=i;i=o;continue;case 27:m=N[j+15964>>2];l=N[j+15960>>2];i=N[f+8>>2];r=N[f+12>>2]-i>>3;s=r&-3;g=r&2;if(s>>>0>g>>>0){while(1){i=N[f+8>>2];n=N[f+12>>2]-i>>3;if(r-g&1){Hb:{if(g>>>0>=n>>>0){p=0;b=N[f+4>>2];if(!b|N[b>>2]){break Hb}N[b>>2]=130;break Hb}Ib:{Jb:{Kb:{b=i+(g<<3)|0;switch(N[b+4>>2]-1|0){case 0:break Jb;case 1:break Kb;default:break Ib}}p=N[b>>2]<<16;break Hb}b=N[b>>2];p=((b>>31)+b|0)- -8192>>14;break Hb}p=N[b>>2]}g=g+1|0;l=l+p|0}b=l;Lb:{if(g>>>0>=n>>>0){l=0;k=N[f+4>>2];if(!k|N[k>>2]){break Lb}N[k>>2]=130;break Lb}Mb:{Nb:{Ob:{l=i+(g<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Nb;case 1:break Ob;default:break Mb}}l=N[l>>2]<<16;break Lb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break Lb}l=N[l>>2]}k=g+1|0;Pb:{if(k>>>0>=n>>>0){k=0;p=N[f+4>>2];if(!p|N[p>>2]){break Pb}N[p>>2]=130;break Pb}Qb:{Rb:{Sb:{k=i+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Rb;case 1:break Sb;default:break Qb}}k=N[k>>2]<<16;break Pb}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break Pb}k=N[k>>2]}m=l+m|0;l=g+2|0;Tb:{if(l>>>0>=n>>>0){l=0;p=N[f+4>>2];if(!p|N[p>>2]){break Tb}N[p>>2]=130;break Tb}Ub:{Vb:{Wb:{l=i+(l<<3)|0;switch(N[l+4>>2]-1|0){case 0:break Vb;case 1:break Wb;default:break Ub}}l=N[l>>2]<<16;break Tb}l=N[l>>2];l=((l>>31)+l|0)- -8192>>14;break Tb}l=N[l>>2]}k=k+m|0;l=b+l|0;p=n;n=g+3|0;Xb:{if(p>>>0<=n>>>0){i=0;n=N[f+4>>2];if(!n|N[n>>2]){break Xb}N[n>>2]=130;break Xb}Yb:{Zb:{_b:{i=i+(n<<3)|0;switch(N[i+4>>2]-1|0){case 0:break Zb;case 1:break _b;default:break Yb}}i=N[i>>2]<<16;break Xb}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break Xb}i=N[i>>2]}n=m;m=i+k|0;Cd(j+3908|0,n,b,k,l,m,l);g=g+4|0;if(s>>>0>g>>>0){continue}break}i=N[D>>2]}N[j+15964>>2]=m;N[j+15960>>2]=l;N[f+12>>2]=i;i=o;continue;case 30:case 31:k=N[j+15960>>2];n=N[j+15964>>2];l=N[f+8>>2];b=N[f+12>>2]-l>>3;v=b&-3;i=b&2;if(v>>>0>i>>>0){z=(g|0)==31;while(1){b=k;l=n;g=N[f+8>>2];s=N[f+12>>2]-g>>3;$b:{if(z){ac:{if(i>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break ac}N[k>>2]=130;break ac}bc:{cc:{dc:{k=g+(i<<3)|0;switch(N[k+4>>2]-1|0){case 0:break cc;case 1:break dc;default:break bc}}n=N[k>>2]<<16;break ac}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break ac}n=N[k>>2]}r=i+1|0;ec:{if(s>>>0<=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break ec}N[m>>2]=130;break ec}fc:{gc:{hc:{k=g+(r<<3)|0;switch(N[k+4>>2]-1|0){case 0:break gc;case 1:break hc;default:break fc}}k=N[k>>2]<<16;break ec}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break ec}k=N[k>>2]}m=i+2|0;ic:{if(m>>>0>=s>>>0){m=0;p=N[f+4>>2];if(!p|N[p>>2]){break ic}N[p>>2]=130;break ic}jc:{kc:{lc:{m=g+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break kc;case 1:break lc;default:break jc}}m=N[m>>2]<<16;break ic}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break ic}m=N[m>>2]}l=l+n|0;p=b+m|0;n=i+3|0;mc:{if(n>>>0>=s>>>0){n=0;m=N[f+4>>2];if(!m|N[m>>2]){break mc}N[m>>2]=130;break mc}nc:{oc:{pc:{n=g+(n<<3)|0;switch(N[n+4>>2]-1|0){case 0:break oc;case 1:break pc;default:break nc}}n=N[n>>2]<<16;break mc}n=N[n>>2];n=((n>>31)+n|0)- -8192>>14;break mc}n=N[n>>2]}m=k+l|0;k=n+p|0;z=0;if((v-i|0)!=5){r=i;n=m;break $b}i=i+4|0;qc:{if(i>>>0>=s>>>0){i=N[f+4>>2];g=0;if(!i|N[i>>2]){break qc}N[i>>2]=130;n=m;break $b}rc:{sc:{tc:{g=g+(i<<3)|0;switch(N[g+4>>2]-1|0){case 0:break sc;case 1:break tc;default:break rc}}n=(N[g>>2]<<16)+m|0;break $b}g=N[g>>2];n=(((g>>31)+g|0)- -8192>>14)+m|0;break $b}g=N[g>>2]}n=g+m|0;break $b}uc:{if(i>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break uc}N[k>>2]=130;break uc}vc:{wc:{xc:{k=g+(i<<3)|0;switch(N[k+4>>2]-1|0){case 0:break wc;case 1:break xc;default:break vc}}n=N[k>>2]<<16;break uc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break uc}n=N[k>>2]}r=i+1|0;yc:{if(s>>>0<=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break yc}N[m>>2]=130;break yc}zc:{Ac:{Bc:{k=g+(r<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Ac;case 1:break Bc;default:break zc}}k=N[k>>2]<<16;break yc}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break yc}k=N[k>>2]}m=i+2|0;Cc:{if(m>>>0>=s>>>0){p=0;m=N[f+4>>2];if(!m|N[m>>2]){break Cc}N[m>>2]=130;break Cc}Dc:{Ec:{Fc:{m=g+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break Ec;case 1:break Fc;default:break Dc}}p=N[m>>2]<<16;break Cc}m=N[m>>2];p=((m>>31)+m|0)- -8192>>14;break Cc}p=N[m>>2]}b=b+n|0;m=k+l|0;k=i+3|0;Gc:{if(k>>>0>=s>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break Gc}N[k>>2]=130;break Gc}Hc:{Ic:{Jc:{k=g+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Ic;case 1:break Jc;default:break Hc}}n=N[k>>2]<<16;break Gc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break Gc}n=N[k>>2]}p=b+p|0;n=m+n|0;z=1;if((v-i|0)!=5){r=i;k=p;break $b}i=i+4|0;Kc:{if(i>>>0>=s>>>0){g=0;i=N[f+4>>2];if(!i|N[i>>2]){break Kc}N[i>>2]=130;break Kc}Lc:{Mc:{Nc:{g=g+(i<<3)|0;switch(N[g+4>>2]-1|0){case 0:break Mc;case 1:break Nc;default:break Lc}}g=N[g>>2]<<16;break Kc}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break Kc}g=N[g>>2]}k=g+p|0}Cd(j+3908|0,l,b,m,p,n,k);i=r+4|0;if(v>>>0>i>>>0){continue}break}l=N[D>>2]}N[j+15960>>2]=k;N[j+15964>>2]=n;N[f+12>>2]=l;i=o;continue;case 28:Oc:{if(k>>>0>>0){g=k+1|0;N[l>>2]=g;i=O[k|0];break Oc}i=0;b=N[t>>2];if(!(!b|N[b>>2])){N[b>>2]=85}g=k}Pc:{if(g>>>0>>0){N[l>>2]=g+1;l=O[g|0];break Pc}l=0;b=N[t>>2];if(!b|N[b>>2]){break Pc}N[b>>2]=85}b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){i=o;b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=(l<<16|i<<24)>>16;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;i=o;continue;case 0:case 2:case 17:break m;default:break s}}if(g>>>0<=246){b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=g-139;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;continue}if(g>>>0<=250){Qc:{if(k>>>0>>0){N[l>>2]=k+1;l=O[k|0];break Qc}l=0;b=N[t>>2];if(!b|N[b>>2]){break Qc}N[b>>2]=85}b=N[f+12>>2];if((b|0)==(N[f+8>>2]+(N[f+16>>2]<<3)|0)){b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=130;continue}N[b>>2]=((g<<8)+l|0)-63124;b=N[f+12>>2];N[b+4>>2]=2;N[f+12>>2]=b+8;continue}if((g|0)!=255){Rc:{if(k>>>0>>0){N[l>>2]=k+1;i=O[k|0];break Rc}i=0;b=N[t>>2];if(!b|N[b>>2]){break Rc}N[b>>2]=85}Be(f,64148-(g<<8|i)|0);i=o;continue}Sc:{if(k>>>0>>0){g=k+1|0;N[l>>2]=g;b=O[k|0];break Sc}b=0;g=N[t>>2];if(!(!g|N[g>>2])){N[g>>2]=85}g=k}Tc:{if(g>>>0>>0){i=g+1|0;N[l>>2]=i;p=O[g|0];break Tc}p=0;i=N[t>>2];if(!(!i|N[i>>2])){N[i>>2]=85}i=g}Uc:{if(i>>>0>>0){g=i+1|0;N[l>>2]=g;k=O[i|0];break Uc}k=0;g=N[t>>2];if(!(!g|N[g>>2])){N[g>>2]=85}g=i}Vc:{if(g>>>0>>0){N[l>>2]=g+1;g=O[g|0];break Vc}g=0;i=N[t>>2];if(!i|N[i>>2]){break Vc}N[i>>2]=85}b=p<<16|b<<24|k<<8|g;if(n){Be(f,b);E=b+32e3>>>0<64001?E:E&255?E:1;i=o;continue}Jb(f,b);i=o;continue}if(g>>>0

>>0){while(1){l=N[f+8>>2];r=N[f+12>>2]-l>>3;Wc:{if(r>>>0<=g>>>0){n=0;k=N[f+4>>2];if(!k|N[k>>2]){break Wc}N[k>>2]=130;break Wc}Xc:{Yc:{Zc:{k=l+(g<<3)|0;switch(N[k+4>>2]-1|0){case 0:break Yc;case 1:break Zc;default:break Xc}}n=N[k>>2]<<16;break Wc}k=N[k>>2];n=((k>>31)+k|0)- -8192>>14;break Wc}n=N[k>>2]}k=g|1;_c:{if(k>>>0>=r>>>0){k=0;m=N[f+4>>2];if(!m|N[m>>2]){break _c}N[m>>2]=130;break _c}$c:{ad:{bd:{k=l+(k<<3)|0;switch(N[k+4>>2]-1|0){case 0:break ad;case 1:break bd;default:break $c}}k=N[k>>2]<<16;break _c}k=N[k>>2];k=((k>>31)+k|0)- -8192>>14;break _c}k=N[k>>2]}m=g+2|0;cd:{if(m>>>0>=r>>>0){m=0;s=N[f+4>>2];if(!s|N[s>>2]){break cd}N[s>>2]=130;break cd}dd:{ed:{fd:{m=l+(m<<3)|0;switch(N[m+4>>2]-1|0){case 0:break ed;case 1:break fd;default:break dd}}m=N[m>>2]<<16;break cd}m=N[m>>2];m=((m>>31)+m|0)- -8192>>14;break cd}m=N[m>>2]}n=i+n|0;i=g+3|0;gd:{if(i>>>0>=r>>>0){i=0;s=N[f+4>>2];if(!s|N[s>>2]){break gd}N[s>>2]=130;break gd}hd:{id:{jd:{i=l+(i<<3)|0;switch(N[i+4>>2]-1|0){case 0:break id;case 1:break jd;default:break hd}}i=N[i>>2]<<16;break gd}i=N[i>>2];i=((i>>31)+i|0)- -8192>>14;break gd}i=N[i>>2]}k=b+k|0;m=m+n|0;b=g+4|0;kd:{if(b>>>0>=r>>>0){b=0;s=N[f+4>>2];if(!s|N[s>>2]){break kd}N[s>>2]=130;break kd}ld:{md:{nd:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break md;case 1:break nd;default:break ld}}b=N[b>>2]<<16;break kd}b=N[b>>2];b=((b>>31)+b|0)- -8192>>14;break kd}b=N[b>>2]}s=i+k|0;i=b+m|0;b=g+5|0;od:{if(b>>>0>=r>>>0){l=0;b=N[f+4>>2];if(!b|N[b>>2]){break od}N[b>>2]=130;break od}pd:{qd:{rd:{b=l+(b<<3)|0;switch(N[b+4>>2]-1|0){case 0:break qd;case 1:break rd;default:break pd}}l=N[b>>2]<<16;break od}b=N[b>>2];l=((b>>31)+b|0)- -8192>>14;break od}l=N[b>>2]}b=l+s|0;Cd(j+3908|0,n,k,m,s,i,b);g=g+6|0;if(p>>>0>g>>>0){continue}break}}N[j+15960>>2]=b;N[j+15964>>2]=i;N[f+12>>2]=N[f+8>>2];i=o;continue}if(O[a+9|0]|g>>>0>37){break p}if(!(!n|(u|0)<=0|(g|0)==17)){u=0;i=o;break m}i=o;sd:{td:{ud:{vd:{switch(g-1|0){case 0:case 1:if(!n){break p}i=md(f,0);b=md(f,2);l=md(f,4);k=md(f,1);n=N[f+8>>2];wd:{if(N[f+12>>2]-n>>>0<=15){i=N[f+4>>2];if(!i|N[i>>2]){break wd}N[i>>2]=130;break wd}N[n+16>>2]=b-(i+k|0);N[N[D>>2]+20>>2]=0}i=md(f,3);k=N[f+8>>2];xd:{if(N[f+12>>2]-k>>>0<=31){b=N[f+4>>2];if(!b|N[b>>2]){break xd}N[b>>2]=130;break xd}N[k+32>>2]=l-(b+i|0);N[N[D>>2]+36>>2]=0}xg(a,f,(g|0)==1?j+15716|0:j+15744|0,h,j+15775|0,N[N[q+32>>2]+(((g|0)!=1)<<2)>>2]);i=o;if(O[q+548|0]){break o}break m;case 2:b=qb(f);Be(f,(qb(f)|0)!=0&(b|0)!=0);continue;case 3:Be(f,(qb(f)|qb(f))!=0);continue;case 4:Be(f,!qb(f));continue;case 5:if(!n){break m}b=N[q+4>>2];l=18;i=nc(f);g=nc(f);h=qb(f);o=qb(f);k=qb(f);yd:{if(O[q+47|0]|e){break yd}b=N[N[b+128>>2]+52>>2];zd:{if(!N[q+580>>2]){if(!b){break yd}e=N[N[q+32>>2]>>2];break zd}e=N[N[q+32>>2]>>2];if(b){break zd}g=Qo(q,g);i=Qo(q,i)}if((g|i)<0){break yd}e=e+o|0;Ad:{if(O[q+46|0]){c=N[q+8>>2];d=N[N[c+156>>2]>>2];l=Fn(d,2);if(l){break yd}b=N[d+88>>2];N[b+32>>2]=i;N[b+8>>2]=0;N[b+12>>2]=0;M[b+4>>1]=514;N[b>>2]=g;M[b+36>>1]=2;N[b+44>>2]=(h+(h>>31)|0)+32768>>16;g=b;b=e-k|0;N[g+40>>2]=((b>>31)+b|0)+32768>>16;N[c+128>>2]=2;b=N[d+52>>2];N[c+72>>2]=1668246896;N[c+132>>2]=b;N[d+84>>2]=2;break Ad}b=N[q+12>>2];N[b+56>>2]=0;N[b+84>>2]=0;o=N[b+24>>2];if(o){o=o+(M[b+22>>1]<<3)|0}else{o=0}N[b+60>>2]=o;l=b- -64|0;o=N[b+28>>2];if(o){o=o+M[b+22>>1]|0}else{o=0}N[l>>2]=o;o=N[b+32>>2];if(o){o=o+(M[b+20>>1]<<1)|0}else{o=0}N[b+68>>2]=o;if(O[b+16|0]){o=M[b+22>>1]<<3;N[b+76>>2]=o+N[b+40>>2];N[b+80>>2]=o+N[b+44>>2]}o=N[b+52>>2];if(o){o=o+(N[b+48>>2]<<5)|0}else{o=0}N[b+88>>2]=o;l=Po(N[q+4>>2],g,j+36|0);if(l){break yd}b=N[q+36>>2];o=N[b>>2];m=N[b+4>>2];b=N[q+32>>2];n=N[b>>2];r=N[b+4>>2];De(a,j+36|0,c,d,1,0,0,j+3904|0);b=N[N[N[q+4>>2]+128>>2]+52>>2];g=N[j+40>>2];N[j+12>>2]=N[j+44>>2]-g;N[j+8>>2]=g;if(b){Qa[N[N[b>>2]+4>>2]](N[b+4>>2],j+8|0)}b=N[q+32>>2];if(!O[j+15775|0]){r=N[b+4>>2];g=N[q+36>>2];o=N[g>>2];m=N[g+4>>2];n=N[b>>2]}N[b>>2]=0;N[b+4>>2]=0;l=Po(N[q+4>>2],i,j+36|0);if(l){break yd}De(a,j+36|0,c,d,1,e-k|0,h,j+3904|0);b=N[N[N[q+4>>2]+128>>2]+52>>2];c=N[j+40>>2];N[j+12>>2]=N[j+44>>2]-c;N[j+8>>2]=c;if(b){Qa[N[N[b>>2]+4>>2]](N[b+4>>2],j+8|0)}b=N[q+32>>2];N[b>>2]=n;N[b+4>>2]=r;b=N[q+36>>2];N[b>>2]=o;N[b+4>>2]=m}l=0}i=0;break c;case 6:if(!n){break p}b=qb(f);N[N[q+36>>2]+4>>2]=b;b=qb(f);N[N[q+36>>2]>>2]=b;g=qb(f);i=qb(f);b=N[q+32>>2];N[b>>2]=i+N[b>>2];N[b+4>>2]=g+N[b+4>>2];L[j+15775|0]=1;if(O[q+47|0]){break o}if(!(o&255)){i=0;break m}N[j+15964>>2]=i+N[j+15964>>2];N[j+15960>>2]=g+N[j+15960>>2];i=o;break m;case 8:b=qb(f);if((b|0)==-2147483648){Jb(f,2147483647);continue}g=b;b=b>>31;Jb(f,(g^b)-b|0);continue;case 9:Jb(f,qb(f)+qb(f)|0);continue;case 10:b=qb(f);Jb(f,qb(f)-b|0);continue;case 11:Bd:{if(!(!n|!(E&255))){E=0;g=nc(f);b=nc(f);break Bd}g=qb(f);b=qb(f)}Jb(f,fb(b,g));continue;case 13:b=qb(f);if((b|0)==-2147483648){Jb(f,2147483647);continue}Jb(f,0-b|0);continue;case 14:Be(f,(qb(f)|0)==(qb(f)|0));continue;case 15:if(!n){continue}g=nc(f);l=18;i=0;b=nc(f);k=N[f+8>>2];n=N[f+12>>2]-k>>3;if(b>>>0>n>>>0){break c}Cd:{switch(g|0){case 0:if((b|0)!=3|(!N[q+468>>2]|N[q+472>>2]!=7?o&255:0)){break c}Jb(f,N[j+15964>>2]);Jb(f,N[j+15960>>2]);w=2;break td;case 1:if(b){break c}u=0;w=0;if(!(o&255)){continue}Dd:{b=N[q+12>>2];if((M[b+22>>1]+M[b+58>>1]|0)+6>>>0<=Q[b+4>>2]){break Dd}if(!Sb(b,6,0)){break Dd}l=0;break c}N[q+468>>2]=1;N[q+472>>2]=0;break sd;case 2:if(b){break c}u=0;w=0;if(!(o&255)){continue}if(!N[q+468>>2]){break c}b=N[q+472>>2];N[q+472>>2]=b+1;i=o;if(b-1>>>0>5){continue}g=N[q+12>>2];if((M[g+22>>1]+M[g+58>>1]|0)+1>>>0>Q[g+4>>2]){i=0;if(Sb(g,1,0)){break c}}g=b<<1;g=(j+15776|0)+((b>>>0>3?g-6|0:g)<<2)|0;N[g-8>>2]=N[j+15964>>2];N[g-4>>2]=N[j+15960>>2];i=o;Ed:{switch(b-3|0){case 0:case 3:break Ed;default:continue}}Cd(j+3908|0,N[j+15776>>2],N[j+15780>>2],N[j+15784>>2],N[j+15788>>2],N[j+15792>>2],N[j+15796>>2]);continue h;case 3:w=1;if((b|0)!=1){break c}u=0;if(!(o&255)){continue}N[j+15760>>2]=0;N[j+15732>>2]=0;N[B+16>>2]=0;N[B+20>>2]=0;N[B+8>>2]=0;N[B+12>>2]=0;N[B>>2]=0;N[B+4>>2]=0;L[j+15693|0]=1;N[j+15688>>2]=H;i=o;continue;case 12:case 13:N[f+12>>2]=k;break sd;case 14:case 15:case 16:case 17:case 18:k=N[q+644>>2];if(!k){break c}w=(g+((g|0)==18)|0)-13|0;if((b|0)!=(T(w,N[k>>2])|0)){break c}p=n-b|0;i=w+p|0;n=0;while(1){l=md(f,p);g=1;if(Q[k>>2]>=2){while(1){l=ob(md(f,i),N[N[k+136>>2]+(g<<2)>>2])+l|0;i=i+1|0;g=g+1|0;if(g>>>0>2]){continue}break}}g=N[f+8>>2];Fd:{if(N[f+12>>2]-g>>3>>>0

>>0){g=N[f+4>>2];if(!g|N[g>>2]){break Fd}N[g>>2]=130;break Fd}m=g;g=p<<3;N[m+g>>2]=l;N[(g+N[f+8>>2]|0)+4>>2]=0}p=p+1|0;n=n+1|0;if((w|0)!=(n|0)){continue}break};b=b-w|0;g=N[f+12>>2];if(b>>>0>g-N[f+8>>2]>>3>>>0){u=0;i=o;b=N[f+4>>2];if(!b|N[b>>2]){continue}N[b>>2]=161;continue}N[f+12>>2]=g-(b<<3);break td;case 19:if((b|0)!=1){break c}b=N[q+644>>2];if(!b){break c}g=nc(f);if((g|0)<0){break c}k=N[b>>2];if(Q[q+652>>2]>>0){break c}F(N[q+648>>2]+(g<<2)|0,N[b+136>>2],k<<2);break sd;case 20:if((b|0)!=2){break c}Jb(f,qb(f)+qb(f)|0);break ud;case 21:if((b|0)!=2){break c}b=qb(f);Jb(f,qb(f)-b|0);break ud;case 22:if((b|0)!=2){break c}b=qb(f);Jb(f,ob(qb(f),b));break ud;case 23:if((b|0)!=2){break c}b=qb(f);g=qb(f);if(!b){break c}Jb(f,fb(g,b));break ud;case 24:if(!N[q+644>>2]|(b|0)!=2){break c}b=nc(f);if((b|0)<0|b>>>0>=Q[q+652>>2]){break c}g=qb(f);N[N[q+648>>2]+(b<<2)>>2]=g;break sd;case 25:if(!N[q+644>>2]|(b|0)!=1){break c}b=nc(f);if((b|0)<0|b>>>0>=Q[q+652>>2]){break c}Jb(f,N[N[q+648>>2]+(b<<2)>>2]);break ud;case 27:if((b|0)!=4){break c}b=qb(f);g=qb(f);Jb(f,(aa=qb(f),ba=qb(f),ca=(b|0)<(g|0),ca?aa:ba));break ud;case 28:if(b){break c}i=N[q+536>>2];b=N[i+648>>2];g=b<<13^b;g=g>>>17^g;N[i+648>>2]=g^g<<5;w=1;Jb(f,(b&65535)+1|0);break td;default:break Cd}}if((b|0)<0){break c}w=0;if((g|0)<0){break c}u=0;i=o;g=1;b=(b|0)>=3?3:b;if(!b){continue}while(1){aa=(j+15944|0)+(b-g<<2)|0,ba=qb(f),N[aa>>2]=ba;o=(b|0)==(g|0);g=g+1|0;if(!o){continue}break};u=b;continue;case 16:if(!n){continue}if((w|0)>0){w=w-1|0;continue}if(!u){break l}u=u-1|0;Jb(f,N[(j+15944|0)+(u<<2)>>2]);continue;case 17:qb(f);continue;case 19:b=nc(f);g=qb(f);if(b>>>0>31){continue}N[(j+15808|0)+(b<<2)>>2]=g;continue;case 20:b=nc(f);if(b>>>0>31){continue}Jb(f,N[(j+15808|0)+(b<<2)>>2]);continue;case 21:b=qb(f);g=qb(f);Jb(f,(aa=qb(f),ba=qb(f),ca=(b|0)<(g|0),ca?aa:ba));continue;case 22:o=N[q+536>>2];b=N[o+648>>2];g=b<<13^b;g=g>>>17^g;N[o+648>>2]=g^g<<5;Jb(f,(b&65535)+1|0);continue;case 23:b=qb(f);Jb(f,ob(qb(f),b));continue;case 25:b=qb(f);Gd:{if((b|0)<=0){g=0;break Gd}i=b>>>(b>>>0>9)|0;while(1){g=i;i=(g+fb(b,g)|0)+1>>1;if((g|0)!=(i|0)){continue}break}}Jb(f,g);i=o;continue;case 26:b=qb(f);Jb(f,b);Jb(f,b);continue;case 27:b=qb(f);g=qb(f);Jb(f,b);Jb(f,g);continue;case 28:b=nc(f);g=N[f+12>>2];o=N[f+8>>2];if((g|0)==(o|0)){continue}o=g-o>>3;g=o-1|0;Hd:{if((b|0)<0){break Hd}g=0;if(b>>>0>=o>>>0){break Hd}g=o+(b^-1)|0}Jb(f,md(f,g));continue;case 29:b=nc(f);l=0;s=nc(f);Id:{if((s|0)<2){break Id}if(s>>>0>N[f+12>>2]-N[f+8>>2]>>3>>>0){b=N[f+4>>2];if(!b|N[b>>2]){break Id}N[b>>2]=130;break Id}if((b|0)<0){p=0-((0-b>>>0)%(s>>>0)|0)|0}else{p=(b>>>0)%(s>>>0)|0}if(!p){break Id}v=0-s|0;o=0;m=2;b=-1;g=-1;while(1){Jd:{if((b|0)!=(g|0)){k=N[f+8>>2];n=o;r=m;break Jd}k=N[f+8>>2];g=b+1|0;b=k+(g<<3)|0;n=N[b>>2];r=N[b+4>>2];b=g}b=b+p|0;b=((b|0)<(s|0)?s&b>>31:v)+b|0;k=(b<<3)+k|0;o=N[k>>2];m=N[k+4>>2];N[k>>2]=n;N[k+4>>2]=r;l=l+1|0;if((s|0)!=(l|0)){continue}break}}continue;case 32:break vd;default:break m}}if(!n|!(o&255)){break p}aa=j,ba=qb(f),N[aa+15960>>2]=ba;aa=j,ba=qb(f),N[aa+15964>>2]=ba;N[q+468>>2]=0;break m}w=1}u=0;i=o;continue}u=0;i=o;continue h}i=o;break m}i=0;l=0;break c}N[a+120>>2]=g}N[f+12>>2]=N[f+8>>2];continue}break}break}l=18;i=0}if(N[a+4>>2]){break a}}N[a+4>>2]=l}N[j+15540>>2]=0;N[j+15532>>2]=0;N[j+15536>>2]=0;a=N[j+15544>>2];if(a){b=N[j+15520>>2];Qa[N[b+8>>2]](b,a)}N[j+15544>>2]=0;N[j+15736>>2]=0;N[j+15728>>2]=0;N[j+15732>>2]=0;a=N[j+15740>>2];if(a){b=N[j+15716>>2];Qa[N[b+8>>2]](b,a)}N[j+15740>>2]=0;N[j+15764>>2]=0;N[j+15756>>2]=0;N[j+15760>>2]=0;a=N[j+15768>>2];if(a){b=N[j+15744>>2];Qa[N[b+8>>2]](b,a)}N[j+15768>>2]=0;if(A){Qa[N[x+8>>2]](x,A)}if(!i){a=N[f>>2];b=N[f+8>>2];if(b){Qa[N[a+8>>2]](a,b)}N[f+8>>2]=0;Qa[N[a+8>>2]](a,f)}La=j+15968|0}function Tj(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,M=0,P=0,R=0,S=0,U=0,V=0,W=0,X=0;D=275552;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);d=O[a+4|0]|O[a+5|0]<<8;if(d){D=((d<<8|d>>>8)&65535)+a|0}E=275552;G=275552;d=O[a+6|0]|O[a+7|0]<<8;if(d){G=((d<<8|d>>>8)&65535)+a|0}d=O[a+8|0]|O[a+9|0]<<8;if(d){E=((d<<8|d>>>8)&65535)+a|0}d=O[a+10|0]|O[a+11|0]<<8;if(d){S=(d<<8|d>>>8)&65535;H=E+4|0;I=G+4|0;J=D+4|0;M=a+12|0;while(1){K=275552;d=O[M|0]|O[M+1|0]<<8;if(d){K=((d<<8|d>>>8)&65535)+a|0}d=O[K|0]|O[K+1|0]<<8;if(d){U=(d<<8|d>>>8)&65535;P=K+2|0;while(1){d=O[P|0]|O[P+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+K|0}else{d=275552}r=O[d|0]|O[d+1|0]<<8;g=(r<<8|r>>>8)&65535;v=(g<<1)+d|0;e=v;c=O[e+2|0]|O[e+3|0]<<8;t=(c<<8|c>>>8)&65535;z=(e+2|0)+(c?t<<1:2)|0;A=O[z|0]|O[z+1|0]<<8;R=(A<<8|A>>>8)&65535;x=(R<<1)+z|0;V=O[x+2|0]|O[x+3|0]<<8;if(r){y=d+2|0;i=N[b+8>>2];r=i+24|0;p=i+36|0;B=i+12|0;while(1){q=O[y|0]|O[y+1|0]<<8;a:{b:{c:{d=O[D|0]|O[D+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=O[J|0]|O[J+1|0]<<8;if(!d){break a}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[J|0]|O[J+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+D|0)+6|0;d:{if((q|0)!=(O[d|0]|O[d+1|0]<<8)){break d}d=O[D+2|0]|O[D+3|0]<<8;s=((d<<8|d>>>8)&65535)+n|0;d=O[i+12|0];if(O[i+48|0]){if(!d){break d}e=N[i+20>>2];d=N[i+28>>2];k=s>>>9|0;m=N[i+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break d}d=d-1|0;f=0;while(1){e:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];f:{if((c|0)>(k|0)){d=e-1|0;break f}if((c|0)==(k|0)){break e}f=e+1|0}if((d|0)>=(f|0)){continue}break d}break}N[i+20>>2]=e}c=N[i+44>>2];if(!c){break d}d=N[(m+(e<<3)|0)+4>>2];N[i+16>>2]=-1;e=(c+(d<<6)|0)+(s>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,s)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break d}if(!d){break d}N[i+16>>2]=-1;o=s>>>9|0;c=N[i+32>>2];g:{h:{d=N[i+20>>2];e=N[i+28>>2];if(d>>>0>=e>>>0){break h}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break h}c=d+4|0;break g}m=N[i+40>>2];i:{j:{if((e|0)<=0){d=0;break j}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];k:{if((k|0)>(o|0)){f=e-1|0;break k}if((k|0)==(o|0)){d=e;break i}d=e+1|0}if((d|0)<=(f|0)){continue}break}}l:{m:{l=N[p>>2];n:{if((l|0)<0){break n}o:{p:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break p}e=$a(N[i+44>>2],l<<6);if(!e){break p}N[i+36>>2]=l;N[i+44>>2]=e;e=N[i+40>>2]}if(e>>>0>>0){C(N[i+44>>2]+(e<<6)|0,0,k-e<<6)}N[i+40>>2]=k;e=N[i+24>>2];if((e|0)<0){break o}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break p}f=$a(N[i+32>>2],e<<3);if(!f){break p}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,k-c<<3)}N[i+28>>2]=k;c=N[i+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);if(Q[i+28>>2]>d>>>0){break m}N[147456]=0;N[147457]=0;c=589824;break l}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break n}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}q:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break q}}N[p>>2]=-1;L[B|0]=0;break d}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[B|0]=0;break d}c=e+N[i+32>>2]|0}N[c>>2]=o;N[c+4>>2]=m;c=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[i+44>>2];if(!d){break d}d=(d+(N[c>>2]<<6)|0)+(s>>>3&56)|0;c=N[d+4>>2];e=s&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break a}d=O[D+2|0]|O[D+3|0]<<8;if(!d){break a}o=T((d<<8|d>>>8)&65535,6)+J|0;m=J;r:{s:{t:{u:{v:{w:{while(1){x:{y:{if((q|0)!=(O[m+4|0]|O[m+5|0]<<8)){break y}d=O[m+2|0]|O[m+3|0]<<8;h=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;u=(d<<8|d>>>8)&65535;if(O[i+48|0]){rd(B,u,h);break y}if(!O[B|0]){break y}if(h>>>0>>0){break a}N[i+16>>2]=-1;w=h>>>9|0;s=u>>>9|0;c=N[i+32>>2];z:{A:{B:{d=N[i+20>>2];f=N[i+28>>2];if(d>>>0>=f>>>0){break B}d=(d<<3)+c|0;if((s|0)!=N[d>>2]){break B}d=d+4|0;break A}e=N[i+40>>2];C:{D:{if((f|0)<=0){d=0;break D}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];E:{if((j|0)>(s|0)){f=k-1|0;break E}if((j|0)==(s|0)){d=k;break C}d=k+1|0}if((d|0)<=(f|0)){continue}break}}F:{G:{l=N[p>>2];H:{if((l|0)<0){break H}I:{J:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break J}f=$a(N[i+44>>2],l<<6);if(!f){break J}N[i+36>>2]=l;N[i+44>>2]=f;f=N[i+40>>2]}if(f>>>0>>0){C(N[i+44>>2]+(f<<6)|0,0,j-f<<6)}N[i+40>>2]=j;f=N[i+24>>2];if((f|0)<0){break I}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=r;if(f>>>0>536870911){break J}k=$a(N[i+32>>2],f<<3);if(!k){break J}N[i+24>>2]=f;N[i+32>>2]=k}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);if(Q[i+28>>2]>d>>>0){break G}N[147456]=0;N[147457]=0;c=589824;break F}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break H}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}K:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break K}}N[p>>2]=-1;break H}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[B|0]=0;d=0;break z}c=f+N[i+32>>2]|0}N[c>>2]=s;N[c+4>>2]=e;c=N[i+32>>2]}N[i+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[i+44>>2]+(N[d>>2]<<6)|0}L:{if((s|0)==(w|0)){if(!d){break a}c=u&63;f=c&31;if((c&63)>>>0>=32){e=-1<>>32-f}n=c;c=e;f=u>>>6&7;e=d+(f<<3)|0;k=h>>>6&7;M:{if((k|0)==(f|0)){d=e;break M}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break M}C(e,255,d-e|0)}e=h&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){e=-1<>>32-f}n=c;c=e;f=u>>>6&7;e=d+(f<<3)|0;N:{if((f|0)==7){d=e;break N}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break N}C(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=s+1|0;if(w>>>0>n>>>0){while(1){s=n&8388607;c=N[i+32>>2];O:{P:{d=N[i+20>>2];e=N[i+28>>2];if(d>>>0>=e>>>0){break P}d=(d<<3)+c|0;if((s|0)!=N[d>>2]){break P}c=d+4|0;break O}k=N[i+40>>2];Q:{R:{if((e|0)<=0){d=0;break R}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];S:{if((j|0)>(s|0)){f=e-1|0;break S}if((j|0)==(s|0)){d=e;break Q}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[B|0]){break a}l=N[p>>2];if((l|0)<0){break r}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break u}c=$a(N[i+44>>2],l<<6);if(!c){break u}N[i+36>>2]=l;N[i+44>>2]=c;e=N[i+40>>2]}if(e>>>0>>0){C(N[i+44>>2]+(e<<6)|0,0,j-e<<6)}N[i+40>>2]=j;e=N[i+24>>2];if((e|0)<0){break s}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break t}f=$a(N[i+32>>2],e<<3);c=r;if(!f){break t}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);T:{if(Q[i+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break T}c=e+N[i+32>>2]|0}N[c>>2]=s;N[c+4>>2]=k;c=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[i+44>>2];if(!d){break a}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((w|0)!=(n|0)){continue}break}}l=N[i+32>>2];U:{V:{d=N[i+20>>2];c=N[i+28>>2];if(d>>>0>=c>>>0){break V}d=(d<<3)+l|0;if((w|0)!=N[d>>2]){break V}c=d+4|0;break U}k=N[i+40>>2];W:{X:{if((c|0)<=0){d=0;break X}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];Y:{if((e|0)>(w|0)){f=c-1|0;break Y}if((e|0)==(w|0)){d=c;break W}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[B|0]){break a}f=N[p>>2];if((f|0)<0){break r}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break x}c=$a(N[i+44>>2],f<<6);if(!c){break x}N[i+36>>2]=f;N[i+44>>2]=c;e=N[i+40>>2]}if(e>>>0>>0){C(N[i+44>>2]+(e<<6)|0,0,j-e<<6)}N[i+40>>2]=j;e=N[i+24>>2];if((e|0)<0){break v}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break w}f=$a(N[i+32>>2],e<<3);c=r;if(!f){break w}N[i+24>>2]=e;N[i+32>>2]=f}c=N[i+28>>2];if(c>>>0>>0){C(N[i+32>>2]+(c<<3)|0,0,j-c<<3)}N[i+28>>2]=j;c=N[i+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[i+32>>2]|0;F(c+8|0,c,N[i+28>>2]+(d^-1)<<3);Z:{if(Q[i+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break Z}c=e+N[i+32>>2]|0}N[c>>2]=w;N[c+4>>2]=k;l=N[i+32>>2]}N[i+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[i+44>>2];if(!d){break a}c=d+(N[c>>2]<<6)|0;d=h>>>6&7;_:{if(!d){d=c;break _}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break _}C(c,255,e-8|0)}c=h&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];c=c+e|0;e=j+n|0;c=e>>>0>>0?c+1|0:c;N[d>>2]=e|k;N[d+4>>2]=c|f}m=m+6|0;if((o|0)!=(m|0)){continue}break a}break}c=p}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break r}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}$:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break $}}N[p>>2]=-1;L[B|0]=0;break a}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c;L[B|0]=0;break a}c=p}N[c>>2]=-1}f=N[i+36>>2];if((f|0)<0){break r}d=N[i+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}aa:{if(f>>>0<=67108863){d=$a(N[i+44>>2],f<<6);if(d){break aa}}N[p>>2]=-1;L[B|0]=0;break a}N[i+36>>2]=f;N[i+44>>2]=d}d=N[i+40>>2];if(d>>>0>>0){C(N[i+44>>2]+(d<<6)|0,0,c-d<<6)}N[i+40>>2]=c}L[B|0]=0}y=y+2|0;g=g-1|0;if(g){continue}break}}if(t>>>0>=2){y=v+4|0;g=t-1|0;h=N[b+12>>2];r=h+24|0;p=h+36|0;u=h+12|0;while(1){v=O[y|0]|O[y+1|0]<<8;ba:{ca:{da:{d=O[G|0]|O[G+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break ca;case 0:break da;default:break ba}}d=O[I|0]|O[I+1|0]<<8;if(!d){break ba}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[I|0]|O[I+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+G|0)+6|0;ea:{if((v|0)!=(O[d|0]|O[d+1|0]<<8)){break ea}d=O[G+2|0]|O[G+3|0]<<8;q=((d<<8|d>>>8)&65535)+n|0;d=O[h+12|0];if(O[h+48|0]){if(!d){break ea}e=N[h+20>>2];d=N[h+28>>2];k=q>>>9|0;m=N[h+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break ea}d=d-1|0;f=0;while(1){fa:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];ga:{if((c|0)>(k|0)){d=e-1|0;break ga}if((c|0)==(k|0)){break fa}f=e+1|0}if((d|0)>=(f|0)){continue}break ea}break}N[h+20>>2]=e}c=N[h+44>>2];if(!c){break ea}d=N[(m+(e<<3)|0)+4>>2];N[h+16>>2]=-1;e=(c+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break ea}if(!d){break ea}N[h+16>>2]=-1;o=q>>>9|0;c=N[h+32>>2];ha:{ia:{d=N[h+20>>2];e=N[h+28>>2];if(d>>>0>=e>>>0){break ia}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break ia}c=d+4|0;break ha}m=N[h+40>>2];ja:{ka:{if((e|0)<=0){d=0;break ka}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];la:{if((k|0)>(o|0)){f=e-1|0;break la}if((k|0)==(o|0)){d=e;break ja}d=e+1|0}if((d|0)<=(f|0)){continue}break}}ma:{na:{l=N[p>>2];oa:{if((l|0)<0){break oa}pa:{qa:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break qa}e=$a(N[h+44>>2],l<<6);if(!e){break qa}N[h+36>>2]=l;N[h+44>>2]=e;e=N[h+40>>2]}if(e>>>0>>0){C(N[h+44>>2]+(e<<6)|0,0,k-e<<6)}N[h+40>>2]=k;e=N[h+24>>2];if((e|0)<0){break pa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break qa}f=$a(N[h+32>>2],e<<3);if(!f){break qa}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,k-c<<3)}N[h+28>>2]=k;c=N[h+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);if(Q[h+28>>2]>d>>>0){break na}N[147456]=0;N[147457]=0;e=589824;break ma}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break oa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}ra:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break ra}}N[p>>2]=-1;L[u|0]=0;break ea}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[u|0]=0;break ea}e=e+N[h+32>>2]|0}N[e>>2]=o;N[e+4>>2]=m;c=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[h+44>>2];if(!d){break ea}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;c=N[d+4>>2];e=q&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break ba}d=O[G+2|0]|O[G+3|0]<<8;if(!d){break ba}o=T((d<<8|d>>>8)&65535,6)+I|0;m=I;sa:{ta:{ua:{va:{wa:{xa:{while(1){ya:{za:{if((v|0)!=(O[m+4|0]|O[m+5|0]<<8)){break za}d=O[m+2|0]|O[m+3|0]<<8;w=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;s=(d<<8|d>>>8)&65535;if(O[h+48|0]){rd(u,s,w);break za}if(!O[u|0]){break za}if(s>>>0>w>>>0){break ba}N[h+16>>2]=-1;t=w>>>9|0;q=s>>>9|0;c=N[h+32>>2];Aa:{Ba:{Ca:{d=N[h+20>>2];f=N[h+28>>2];if(d>>>0>=f>>>0){break Ca}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Ca}d=d+4|0;break Ba}e=N[h+40>>2];Da:{Ea:{if((f|0)<=0){d=0;break Ea}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];Fa:{if((j|0)>(q|0)){f=k-1|0;break Fa}if((j|0)==(q|0)){d=k;break Da}d=k+1|0}if((d|0)<=(f|0)){continue}break}}Ga:{Ha:{l=N[p>>2];Ia:{if((l|0)<0){break Ia}Ja:{Ka:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break Ka}f=$a(N[h+44>>2],l<<6);if(!f){break Ka}N[h+36>>2]=l;N[h+44>>2]=f;f=N[h+40>>2]}if(f>>>0>>0){C(N[h+44>>2]+(f<<6)|0,0,j-f<<6)}N[h+40>>2]=j;f=N[h+24>>2];if((f|0)<0){break Ja}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=r;if(f>>>0>536870911){break Ka}k=$a(N[h+32>>2],f<<3);if(!k){break Ka}N[h+24>>2]=f;N[h+32>>2]=k}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);if(Q[h+28>>2]>d>>>0){break Ha}N[147456]=0;N[147457]=0;c=589824;break Ga}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break Ia}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}La:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break La}}N[p>>2]=-1;break Ia}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[u|0]=0;d=0;break Aa}c=f+N[h+32>>2]|0}N[c>>2]=q;N[c+4>>2]=e;c=N[h+32>>2]}N[h+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[h+44>>2]+(N[d>>2]<<6)|0}Ma:{if((q|0)==(t|0)){if(!d){break ba}c=s&63;e=c&31;if((c&63)>>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;k=w>>>6&7;Na:{if((k|0)==(f|0)){d=e;break Na}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break Na}C(e,255,d-e|0)}e=w&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){e=-1<>>32-f}n=c;c=e;f=s>>>6&7;e=d+(f<<3)|0;Oa:{if((f|0)==7){d=e;break Oa}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break Oa}C(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=q+1|0;if(t>>>0>n>>>0){while(1){q=n&8388607;c=N[h+32>>2];Pa:{Qa:{d=N[h+20>>2];e=N[h+28>>2];if(d>>>0>=e>>>0){break Qa}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Qa}c=d+4|0;break Pa}k=N[h+40>>2];Ra:{Sa:{if((e|0)<=0){d=0;break Sa}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];Ta:{if((j|0)>(q|0)){f=e-1|0;break Ta}if((j|0)==(q|0)){d=e;break Ra}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[u|0]){break ba}l=N[p>>2];if((l|0)<0){break sa}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break va}c=$a(N[h+44>>2],l<<6);if(!c){break va}N[h+36>>2]=l;N[h+44>>2]=c;e=N[h+40>>2]}if(e>>>0>>0){C(N[h+44>>2]+(e<<6)|0,0,j-e<<6)}N[h+40>>2]=j;e=N[h+24>>2];if((e|0)<0){break ta}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break ua}f=$a(N[h+32>>2],e<<3);c=r;if(!f){break ua}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);Ua:{if(Q[h+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break Ua}e=e+N[h+32>>2]|0}N[e>>2]=q;N[e+4>>2]=k;c=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[h+44>>2];if(!d){break ba}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((t|0)!=(n|0)){continue}break}}l=N[h+32>>2];Va:{Wa:{d=N[h+20>>2];c=N[h+28>>2];if(d>>>0>=c>>>0){break Wa}d=(d<<3)+l|0;if((t|0)!=N[d>>2]){break Wa}c=d+4|0;break Va}k=N[h+40>>2];Xa:{Ya:{if((c|0)<=0){d=0;break Ya}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];Za:{if((e|0)>(t|0)){f=c-1|0;break Za}if((e|0)==(t|0)){d=c;break Xa}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[u|0]){break ba}f=N[p>>2];if((f|0)<0){break sa}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break ya}c=$a(N[h+44>>2],f<<6);if(!c){break ya}N[h+36>>2]=f;N[h+44>>2]=c;e=N[h+40>>2]}if(e>>>0>>0){C(N[h+44>>2]+(e<<6)|0,0,j-e<<6)}N[h+40>>2]=j;e=N[h+24>>2];if((e|0)<0){break wa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break xa}f=$a(N[h+32>>2],e<<3);c=r;if(!f){break xa}N[h+24>>2]=e;N[h+32>>2]=f}c=N[h+28>>2];if(c>>>0>>0){C(N[h+32>>2]+(c<<3)|0,0,j-c<<3)}N[h+28>>2]=j;c=N[h+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[h+32>>2]|0;F(c+8|0,c,N[h+28>>2]+(d^-1)<<3);_a:{if(Q[h+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;c=589824;break _a}c=e+N[h+32>>2]|0}N[c>>2]=t;N[c+4>>2]=k;l=N[h+32>>2]}N[h+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[h+44>>2];if(!d){break ba}c=d+(N[c>>2]<<6)|0;d=w>>>6&7;$a:{if(!d){d=c;break $a}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break $a}C(c,255,e-8|0)}c=w&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];c=c+e|0;e=j+n|0;c=e>>>0>>0?c+1|0:c;N[d>>2]=e|k;N[d+4>>2]=c|f}m=m+6|0;if((o|0)!=(m|0)){continue}break ba}break}c=p}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break sa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}ab:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break ab}}N[p>>2]=-1;L[u|0]=0;break ba}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c;L[u|0]=0;break ba}c=p}N[c>>2]=-1}f=N[h+36>>2];if((f|0)<0){break sa}d=N[h+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}bb:{if(f>>>0<=67108863){d=$a(N[h+44>>2],f<<6);if(d){break bb}}N[p>>2]=-1;L[u|0]=0;break ba}N[h+36>>2]=f;N[h+44>>2]=d}d=N[h+40>>2];if(d>>>0>>0){C(N[h+44>>2]+(d<<6)|0,0,c-d<<6)}N[h+40>>2]=c}L[u|0]=0}y=y+2|0;g=g-1|0;if(g){continue}break}}if(A){y=z+2|0;g=N[b+16>>2];r=g+24|0;p=g+36|0;s=g+12|0;while(1){v=O[y|0]|O[y+1|0]<<8;cb:{db:{eb:{d=O[E|0]|O[E+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break db;case 0:break eb;default:break cb}}d=O[H|0]|O[H+1|0]<<8;if(!d){break cb}d=(d<<8|d>>>8)&65535;j=d>>>0<=1?1:d;n=0;while(1){d=O[H|0]|O[H+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=n>>>0?275552:((n<<1)+E|0)+6|0;fb:{if((v|0)!=(O[d|0]|O[d+1|0]<<8)){break fb}d=O[E+2|0]|O[E+3|0]<<8;q=((d<<8|d>>>8)&65535)+n|0;d=O[g+12|0];if(O[g+48|0]){if(!d){break fb}e=N[g+20>>2];d=N[g+28>>2];k=q>>>9|0;m=N[g+32>>2];if(!(e>>>0>>0&(k|0)==N[m+(e<<3)>>2])){if((d|0)<=0){break fb}d=d-1|0;f=0;while(1){gb:{e=d+f>>>1|0;c=N[m+(e<<3)>>2];hb:{if((c|0)>(k|0)){d=e-1|0;break hb}if((c|0)==(k|0)){break gb}f=e+1|0}if((d|0)>=(f|0)){continue}break fb}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break fb}d=N[(m+(e<<3)|0)+4>>2];N[g+16>>2]=-1;e=(c+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break fb}if(!d){break fb}N[g+16>>2]=-1;o=q>>>9|0;c=N[g+32>>2];ib:{jb:{d=N[g+20>>2];e=N[g+28>>2];if(d>>>0>=e>>>0){break jb}d=(d<<3)+c|0;if((o|0)!=N[d>>2]){break jb}c=d+4|0;break ib}m=N[g+40>>2];kb:{lb:{if((e|0)<=0){d=0;break lb}f=e-1|0;d=0;while(1){e=d+f>>>1|0;k=N[(e<<3)+c>>2];mb:{if((k|0)>(o|0)){f=e-1|0;break mb}if((k|0)==(o|0)){d=e;break kb}d=e+1|0}if((d|0)<=(f|0)){continue}break}}nb:{ob:{l=N[p>>2];pb:{if((l|0)<0){break pb}qb:{rb:{e=m;c=e+1|0;k=(c|0)>0?c:0;if(k>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(k>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break rb}e=$a(N[g+44>>2],l<<6);if(!e){break rb}N[g+36>>2]=l;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,k-e<<6)}N[g+40>>2]=k;e=N[g+24>>2];if((e|0)<0){break qb}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(k>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break rb}f=$a(N[g+32>>2],e<<3);if(!f){break rb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,k-c<<3)}N[g+28>>2]=k;c=N[g+44>>2]+(m<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break ob}N[147456]=0;N[147457]=0;e=589824;break nb}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break pb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}sb:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break sb}}N[p>>2]=-1;L[s|0]=0;break fb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[s|0]=0;break fb}e=e+N[g+32>>2]|0}N[e>>2]=o;N[e+4>>2]=m;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break fb}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;c=N[d+4>>2];e=q&63;m=e&31;if((e&63)>>>0>=32){e=1<>>32-m}N[d>>2]=k|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}break cb}d=O[E+2|0]|O[E+3|0]<<8;if(!d){break cb}o=T((d<<8|d>>>8)&65535,6)+H|0;m=H;tb:{ub:{vb:{wb:{xb:{yb:{while(1){zb:{Ab:{if((v|0)!=(O[m+4|0]|O[m+5|0]<<8)){break Ab}d=O[m+2|0]|O[m+3|0]<<8;t=(d<<8|d>>>8)&65535;d=O[m|0]|O[m+1|0]<<8;z=(d<<8|d>>>8)&65535;if(O[g+48|0]){rd(s,z,t);break Ab}if(!O[s|0]){break Ab}if(t>>>0>>0){break cb}N[g+16>>2]=-1;A=t>>>9|0;q=z>>>9|0;c=N[g+32>>2];Bb:{Cb:{Db:{d=N[g+20>>2];f=N[g+28>>2];if(d>>>0>=f>>>0){break Db}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Db}d=d+4|0;break Cb}e=N[g+40>>2];Eb:{Fb:{if((f|0)<=0){d=0;break Fb}f=f-1|0;d=0;while(1){k=d+f>>>1|0;j=N[(k<<3)+c>>2];Gb:{if((j|0)>(q|0)){f=k-1|0;break Gb}if((j|0)==(q|0)){d=k;break Eb}d=k+1|0}if((d|0)<=(f|0)){continue}break}}Hb:{Ib:{l=N[p>>2];Jb:{if((l|0)<0){break Jb}Kb:{Lb:{f=e;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}c=p;if(l>>>0>67108863){break Lb}f=$a(N[g+44>>2],l<<6);if(!f){break Lb}N[g+36>>2]=l;N[g+44>>2]=f;f=N[g+40>>2]}if(f>>>0>>0){C(N[g+44>>2]+(f<<6)|0,0,j-f<<6)}N[g+40>>2]=j;f=N[g+24>>2];if((f|0)<0){break Kb}if(f>>>0>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}c=r;if(f>>>0>536870911){break Lb}k=$a(N[g+32>>2],f<<3);if(!k){break Lb}N[g+24>>2]=f;N[g+32>>2]=k}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(e<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;f=d<<3;c=f+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break Ib}N[147456]=0;N[147457]=0;f=589824;break Hb}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break Jb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}Mb:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break Mb}}N[p>>2]=-1;break Jb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[s|0]=0;d=0;break Bb}f=f+N[g+32>>2]|0}N[f>>2]=q;N[f+4>>2]=e;c=N[g+32>>2]}N[g+20>>2]=d;d=((d<<3)+c|0)+4|0}d=N[g+44>>2]+(N[d>>2]<<6)|0}Nb:{if((q|0)==(A|0)){if(!d){break cb}c=z&63;e=c&31;if((c&63)>>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;k=t>>>6&7;Ob:{if((k|0)==(f|0)){d=e;break Ob}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+(k<<3)|0;e=e+8|0;if((d|0)==(e|0)){d=e;break Ob}C(e,255,d-e|0)}e=t&63;f=e&31;if((e&63)>>>0>=32){e=2<>>32-f;j=2<>>0>=32){c=-1<>>32-e;e=-1<>>6&7;e=d+(f<<3)|0;Pb:{if((f|0)==7){d=e;break Pb}c=c|N[e+4>>2];N[e>>2]=n|N[e>>2];N[e+4>>2]=c;n=-1;c=-1;d=d+56|0;e=e+8|0;if((d|0)==(e|0)){break Pb}C(e,255,d-e|0)}c=c|N[d+4>>2];N[d>>2]=n|N[d>>2];N[d+4>>2]=c;n=q+1|0;if(A>>>0>n>>>0){while(1){q=n&8388607;c=N[g+32>>2];Qb:{Rb:{d=N[g+20>>2];e=N[g+28>>2];if(d>>>0>=e>>>0){break Rb}d=(d<<3)+c|0;if((q|0)!=N[d>>2]){break Rb}c=d+4|0;break Qb}k=N[g+40>>2];Sb:{Tb:{if((e|0)<=0){d=0;break Tb}f=e-1|0;d=0;while(1){e=d+f>>>1|0;j=N[(e<<3)+c>>2];Ub:{if((j|0)>(q|0)){f=e-1|0;break Ub}if((j|0)==(q|0)){d=e;break Sb}d=e+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[s|0]){break cb}l=N[p>>2];if((l|0)<0){break tb}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}if(l>>>0>67108863){break wb}c=$a(N[g+44>>2],l<<6);if(!c){break wb}N[g+36>>2]=l;N[g+44>>2]=c;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,j-e<<6)}N[g+40>>2]=j;e=N[g+24>>2];if((e|0)<0){break ub}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break vb}f=$a(N[g+32>>2],e<<3);c=r;if(!f){break vb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);Vb:{if(Q[g+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break Vb}e=e+N[g+32>>2]|0}N[e>>2]=q;N[e+4>>2]=k;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break cb}d=d+(N[c>>2]<<6)|0;N[d>>2]=-1;N[d+4>>2]=-1;N[d+56>>2]=-1;N[d+60>>2]=-1;N[d+48>>2]=-1;N[d+52>>2]=-1;N[d+40>>2]=-1;N[d+44>>2]=-1;N[d+32>>2]=-1;N[d+36>>2]=-1;N[d+24>>2]=-1;N[d+28>>2]=-1;N[d+16>>2]=-1;N[d+20>>2]=-1;N[d+8>>2]=-1;N[d+12>>2]=-1;n=n+1|0;if((A|0)!=(n|0)){continue}break}}l=N[g+32>>2];Wb:{Xb:{d=N[g+20>>2];c=N[g+28>>2];if(d>>>0>=c>>>0){break Xb}d=(d<<3)+l|0;if((A|0)!=N[d>>2]){break Xb}c=d+4|0;break Wb}k=N[g+40>>2];Yb:{Zb:{if((c|0)<=0){d=0;break Zb}f=c-1|0;d=0;while(1){c=d+f>>>1|0;e=N[(c<<3)+l>>2];_b:{if((e|0)>(A|0)){f=c-1|0;break _b}if((e|0)==(A|0)){d=c;break Yb}d=c+1|0}if((d|0)<=(f|0)){continue}break}}if(!O[s|0]){break cb}f=N[p>>2];if((f|0)<0){break tb}e=k;c=e+1|0;j=(c|0)>0?c:0;if(j>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(j>>>0>=f>>>0){continue}break}if(f>>>0>67108863){break zb}c=$a(N[g+44>>2],f<<6);if(!c){break zb}N[g+36>>2]=f;N[g+44>>2]=c;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,j-e<<6)}N[g+40>>2]=j;e=N[g+24>>2];if((e|0)<0){break xb}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(j>>>0>=e>>>0){continue}break}c=r;if(e>>>0>536870911){break yb}f=$a(N[g+32>>2],e<<3);c=r;if(!f){break yb}N[g+24>>2]=e;N[g+32>>2]=f}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,j-c<<3)}N[g+28>>2]=j;c=N[g+44>>2]+(k<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=d<<3;c=e+N[g+32>>2]|0;F(c+8|0,c,N[g+28>>2]+(d^-1)<<3);$b:{if(Q[g+28>>2]<=d>>>0){N[147456]=0;N[147457]=0;e=589824;break $b}e=e+N[g+32>>2]|0}N[e>>2]=A;N[e+4>>2]=k;l=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+l|0)+4|0}d=N[g+44>>2];if(!d){break cb}c=d+(N[c>>2]<<6)|0;d=t>>>6&7;ac:{if(!d){d=c;break ac}N[c>>2]=-1;N[c+4>>2]=-1;e=d<<3;d=e+c|0;c=c+8|0;if((d|0)==(c|0)){break ac}C(c,255,e-8|0)}c=t&63;f=c&31;if((c&63)>>>0>=32){e=2<>>32-f;n=2<>2];f=N[d+4>>2];e=c+e|0;c=j+n|0;e=c>>>0>>0?e+1|0:e;N[d>>2]=c|k;N[d+4>>2]=e|f}m=m+6|0;if((o|0)!=(m|0)){continue}break cb}break}c=p}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break tb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}bc:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break bc}}N[p>>2]=-1;L[s|0]=0;break cb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c;L[s|0]=0;break cb}c=p}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break tb}d=N[g+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}cc:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break cc}}N[p>>2]=-1;L[s|0]=0;break cb}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[s|0]=0}y=y+2|0;R=R-1|0;if(R){continue}break}}if(V){j=(V<<8|V>>>8)&65535;k=x+4|0;n=0;while(1){r=N[b+32>>2];dc:{if(!r|!N[b+24>>2]|N[b+20>>2]==275552){break dc}d=k+(n<<2)|0;d=O[d+2|0]|O[d+3|0]<<8;q=(d<<8|d>>>8)&65535;x=q>>>9|0;v=N[b+28>>2];p=N[v+32>>2];ec:{fc:{gc:{d=N[v+20>>2];m=N[v+28>>2];if(d>>>0>=m>>>0){break gc}d=p+(d<<3)|0;if((x|0)!=N[d>>2]){break gc}c=d+4|0;break fc}e=0;if((m|0)<=0){break ec}f=m-1|0;e=0;hc:{while(1){o=e+f>>>1|0;c=p+(o<<3)|0;d=N[c>>2];ic:{if((d|0)>(x|0)){f=o-1|0;break ic}if((d|0)==(x|0)){break hc}e=o+1|0}if((e|0)<=(f|0)){continue}break}e=0;break ec}N[v+20>>2]=o;c=(o>>>0>=m>>>0?275552:c)+4|0}d=N[v+44>>2];e=0;if(!d){break ec}c=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;d=N[c>>2];c=N[c+4>>2];e=q&63;p=e&31;e=((e&63)>>>0>=32?c>>>p|0:((1<>>p)&1}if((e|0)!=O[v+48|0]){break dc}e=N[b+16>>2];N[b+16>>2]=275552;c=N[b+8>>2];d=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=r-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,q);N[b+16>>2]=e;N[b+8>>2]=c;N[b+12>>2]=d;N[b+32>>2]=N[b+32>>2]+1;o=N[b+28>>2];d=O[o+12|0];if(O[o+48|0]){if(!d){break dc}c=N[o+20>>2];d=N[o+28>>2];r=N[o+32>>2];if(!(c>>>0>>0&(x|0)==N[r+(c<<3)>>2])){if((d|0)<=0){break dc}f=d-1|0;e=0;while(1){jc:{c=e+f>>>1|0;d=N[r+(c<<3)>>2];kc:{if((d|0)>(x|0)){f=c-1|0;break kc}if((d|0)==(x|0)){break jc}e=c+1|0}if((e|0)<=(f|0)){continue}break dc}break}N[o+20>>2]=c}e=N[o+44>>2];if(!e){break dc}d=N[(r+(c<<3)|0)+4>>2];N[o+16>>2]=-1;e=(e+(d<<6)|0)+(q>>>3&56)|0;c=N[e>>2];d=N[e+4>>2];W=e,X=_E(-2,-1,q)&c,N[W>>2]=X;N[e+4>>2]=Pa&d;break dc}if(!d){break dc}N[o+16>>2]=-1;c=N[o+32>>2];lc:{mc:{d=N[o+20>>2];e=N[o+28>>2];if(d>>>0>=e>>>0){break mc}d=(d<<3)+c|0;if((x|0)!=N[d>>2]){break mc}c=d+4|0;break lc}d=N[o+40>>2];nc:{oc:{if((e|0)<=0){f=0;break oc}e=e-1|0;f=0;while(1){r=e+f>>>1|0;p=N[(r<<3)+c>>2];pc:{if((p|0)>(x|0)){e=r-1|0;break pc}if((p|0)==(x|0)){f=r;break nc}f=r+1|0}if((e|0)>=(f|0)){continue}break}}qc:{rc:{e=o+36|0;l=N[e>>2];sc:{if((l|0)<0){break sc}tc:{uc:{c=d;r=c+1|0;p=(r|0)>0?r:0;if(p>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(p>>>0>=l>>>0){continue}break}m=e;if(l>>>0>67108863){break uc}c=$a(N[o+44>>2],l<<6);if(!c){break uc}N[o+36>>2]=l;N[o+44>>2]=c;c=N[o+40>>2]}if(c>>>0

>>0){C(N[o+44>>2]+(c<<6)|0,0,p-c<<6)}N[o+40>>2]=p;m=o+24|0;c=N[m>>2];if((c|0)<0){break tc}if(c>>>0

>>0){while(1){c=((c>>>1|0)+c|0)+8|0;if(p>>>0>=c>>>0){continue}break}if(c>>>0>536870911){break uc}r=$a(N[o+32>>2],c<<3);if(!r){break uc}N[o+24>>2]=c;N[o+32>>2]=r}c=N[o+28>>2];if(c>>>0

>>0){C(N[o+32>>2]+(c<<3)|0,0,p-c<<3)}N[o+28>>2]=p;c=N[o+44>>2]+(d<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=f<<3;c=e+N[o+32>>2]|0;F(c+8|0,c,N[o+28>>2]+(f^-1)<<3);if(Q[o+28>>2]>f>>>0){break rc}N[147456]=0;N[147457]=0;e=589824;break qc}N[m>>2]=-1}f=N[o+36>>2];if((f|0)<0){break sc}d=N[o+28>>2];c=(d|0)>0?d:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}vc:{if(f>>>0<=67108863){d=$a(N[o+44>>2],f<<6);if(d){break vc}}N[e>>2]=-1;L[o+12|0]=0;break dc}N[o+36>>2]=f;N[o+44>>2]=d}d=N[o+40>>2];if(d>>>0>>0){C(N[o+44>>2]+(d<<6)|0,0,c-d<<6)}N[o+40>>2]=c}L[o+12|0]=0;break dc}e=e+N[o+32>>2]|0}N[e>>2]=x;N[e+4>>2]=d;c=N[o+32>>2]}N[o+20>>2]=f;c=((f<<3)+c|0)+4|0}d=N[o+44>>2];if(!d){break dc}d=(d+(N[c>>2]<<6)|0)+(q>>>3&56)|0;e=N[d+4>>2];c=q&63;r=c&31;if((c&63)>>>0>=32){c=1<>>32-r}N[d>>2]=f|N[d>>2];N[d+4>>2]=c|e}n=n+1|0;if((j|0)!=(n|0)){continue}break}}P=P+2|0;U=U-1|0;if(U){continue}break}}M=M+2|0;S=S-1|0;if(S){continue}break}}}function kq(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;d=La-96|0;La=d;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:{z:{A:{B:{C:{D:{E:{F:{switch(a-1|0){default:switch(a-255|0){case 37:break j;case 36:break k;case 35:break l;case 0:break E;case 38:break i;default:break h};case 10:a=N[b+4>>2];if(a>>>0>2]){N[b+8>>2]=a+1}c=b+4164|0;a=N[b+4168>>2];G:{if(a){a=a-1|0;N[b+4168>>2]=a;a=(c+T(a,20)|0)+8|0;break G}L[c|0]=1;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;a=589824}c=N[a+4>>2];N[b+4128>>2]=N[a>>2];N[b+4132>>2]=c;N[b+4144>>2]=N[a+16>>2];f=a+8|0;c=N[f+4>>2];g=b+4136|0;N[g>>2]=N[f>>2];N[g+4>>2]=c;f=N[a>>2];c=N[a+4>>2];N[b+8>>2]=N[a+8>>2];N[b>>2]=f;N[b+4>>2]=c;break a;case 30:break m;case 29:break n;case 26:break o;case 25:break p;case 24:break q;case 23:break r;case 7:break s;case 6:break t;case 5:break u;case 4:break v;case 3:break w;case 21:break x;case 20:break y;case 18:case 19:break z;case 2:case 22:break A;case 0:case 17:break B;case 28:break C;case 9:break D;case 13:break F;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break h}}L[b+4148|0]=1;N[b+20>>2]=0;break a}a=N[b+4>>2];c=N[b+8>>2];if(a>>>0>>0){break a}g=b+16|0;H:{if(a>>>0<=c>>>0){c=a+1|0;a=275552;break H}a=N[b>>2]+c|0}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);f=N[b+20>>2];I:{if(f>>>0<=512){N[b+20>>2]=f+1;f=(g+(f<<3)|0)+8|0;break I}L[g|0]=1;N[147456]=0;N[147457]=0;f=589824}S[f>>3]=+(a|0)*152587890625e-16;N[b+8>>2]=c+4;break a}c=b+16|0;J:{a=N[b+20>>2];K:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(c+(a<<3)|0)+8>>3];if(V(e)<2147483648){a=~~e;break K}a=-2147483648;break K}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}l=a+N[b+4380>>2]|0;L:{if((l|0)<0){break L}a=N[b+4384>>2];if(!a){break L}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(l>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break L}a=N[b+4168>>2];if(a>>>0<10){break J}}N[b+8>>2]=N[b+4>>2]+1;break a}g=N[b+4>>2];h=N[b>>2];N[b+4128>>2]=h;N[b+4132>>2]=g;N[b+4168>>2]=a+1;m=b+4136|0;N[m>>2]=N[b+8>>2];c=b+T(a,20)|0;f=b+4144|0;N[c+4188>>2]=N[f>>2];a=c+4172|0;N[a>>2]=h;N[a+4>>2]=g;a=N[m+4>>2];c=c+4180|0;N[c>>2]=N[m>>2];N[c+4>>2]=a;g=b+4128|0;a=0;h=N[b+4384>>2];M:{if(!h){break M}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(l>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break M}be(d+80|0,h,l);a=N[d+80>>2];j=N[d+84>>2]}N[b+4128>>2]=a;N[b+4132>>2]=j;N[f>>2]=l;N[m>>2]=0;N[m+4>>2]=2;N[b+8>>2]=N[g+8>>2];a=N[g+4>>2];N[b>>2]=N[g>>2];N[b+4>>2]=a;break a}c=b+16|0;N:{a=N[b+20>>2];O:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(c+(a<<3)|0)+8>>3];if(V(e)<2147483648){a=~~e;break O}a=-2147483648;break O}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}l=a+N[b+4372>>2]|0;P:{if((l|0)<0){break P}a=N[b+4376>>2];if(!a){break P}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(l>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break P}a=N[b+4168>>2];if(a>>>0<10){break N}}N[b+8>>2]=N[b+4>>2]+1;break a}g=N[b+4>>2];h=N[b>>2];N[b+4128>>2]=h;N[b+4132>>2]=g;N[b+4168>>2]=a+1;m=b+4136|0;N[m>>2]=N[b+8>>2];c=b+T(a,20)|0;f=b+4144|0;N[c+4188>>2]=N[f>>2];a=c+4172|0;N[a>>2]=h;N[a+4>>2]=g;a=N[m+4>>2];c=c+4180|0;N[c>>2]=N[m>>2];N[c+4>>2]=a;g=b+4128|0;a=0;h=N[b+4376>>2];Q:{if(!h){break Q}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(l>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break Q}be(d+80|0,h,l);a=N[d+80>>2];j=N[d+84>>2]}N[b+4128>>2]=a;N[b+4132>>2]=j;N[f>>2]=l;N[m>>2]=0;N[m+4>>2]=1;N[b+8>>2]=N[g+8>>2];a=N[g+4>>2];N[b>>2]=N[g>>2];N[b+4>>2]=a;break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4152>>2]=N[b+4152>>2]+(a>>>1|0);break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4156>>2]=N[b+4156>>2]+(a>>>1|0);break a}R:{if(O[b+4150|0]){c=N[b+4160>>2];break R}L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;c=(a+N[b+4152>>2]|0)+7>>>3|0;N[b+4160>>2]=c}a=N[b+8>>2]+c|0;if(a>>>0>Q[b+4>>2]){break a}N[b+8>>2]=a;N[b+20>>2]=0;break a}h=b+16|0;k=S[b+4400>>3];i=S[b+4392>>3];g=N[b+20>>2];if(!g){l=589824;break c}a=g-1|0;l=(h+(a<<3)|0)+8|0;if(!a){break c}a=g-2|0;f=a>>>1|0;o=S[(h+(a<<3)|0)+8>>3];break b}f=b+16|0;i=S[b+4400>>3];e=S[b+4392>>3];a=N[b+20>>2];S:{if(a){a=a-1|0;l=a>>>1|0;k=S[(f+(a<<3)|0)+8>>3];break S}L[f|0]=1;N[147456]=0;N[147457]=0;k=0}L[c|0]=0;S[b+4400>>3]=i;S[b+4392>>3]=e+k;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+l|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}f=b+16|0;i=S[b+4400>>3];e=S[b+4392>>3];a=N[b+20>>2];T:{if(a){a=a-1|0;l=a>>>1|0;k=S[(f+(a<<3)|0)+8>>3];break T}L[f|0]=1;N[147456]=0;N[147457]=0;k=0}L[c|0]=0;S[b+4400>>3]=i+k;S[b+4392>>3]=e;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+l|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}h=N[b+20>>2];if(h>>>0>=2){m=b+16|0;g=2;a=0;while(1){U:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;f=589824;break U}f=(m+(a<<3)|0)+8|0}k=S[b+4392>>3]+S[f>>3];e=S[b+4400>>3]+S[(m+(a<<3|8)|0)+8>>3];V:{if(O[c|0]){break V}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;g=a+2|0;if(h>>>0>=g>>>0){continue}break}}N[b+20>>2]=0;break a}m=b+16|0;h=N[b+20>>2];if(h>>>0>=2){f=2;a=0;while(1){g=f;W:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;e=0;break W}e=S[(m+(a<<3)|0)+8>>3]}p=S[b+4400>>3];k=S[b+4392>>3]+e;X:{if(O[c|0]){break X}L[c|0]=1;e=S[b+4392>>3];if(e>3]){S[c+8>>3]=e;e=S[b+4392>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=p;S[b+4392>>3]=k;e=k;i=S[c+8>>3];if(e>3]=k;i=k;e=S[b+4392>>3]}q=S[c+24>>3];if(q>3]=e;q=e}r=S[c+16>>3];e=S[b+4400>>3];if(r>e){S[c+16>>3]=e;r=e;e=S[b+4400>>3]}o=S[c+32>>3];if(e>o){S[c+32>>3]=e;o=e}p=p+S[(m+(a<<3|8)|0)+8>>3];Y:{if(O[c|0]){break Y}L[c|0]=1;e=i;i=S[b+4392>>3];if(e>i){S[c+8>>3]=i;i=S[b+4392>>3]}if(i>q){S[c+24>>3]=i}i=S[b+4400>>3];if(r>i){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(i>o)){break Y}S[c+32>>3]=i}S[b+4400>>3]=p;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}}Z:{if(g>>>0>=h>>>0){break Z}k=S[b+4392>>3]+S[(m+(g<<3)|0)+8>>3];e=S[b+4400>>3];_:{if(O[c|0]){break _}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(!(S[c+32>>3]>3]=k}N[b+20>>2]=0;break a}m=b+16|0;h=N[b+20>>2];if(h>>>0>=2){f=2;a=0;while(1){g=f;$:{if(a>>>0>=h>>>0){L[m|0]=1;N[147456]=0;N[147457]=0;e=0;break $}e=S[(m+(a<<3)|0)+8>>3]}k=S[b+4392>>3];p=S[b+4400>>3]+e;aa:{if(O[c|0]){break aa}L[c|0]=1;e=S[b+4392>>3];if(e>3]){S[c+8>>3]=e;e=S[b+4392>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=p;S[b+4392>>3]=k;i=S[c+8>>3];e=k;if(i>e){S[c+8>>3]=k;i=k;e=S[b+4392>>3]}q=S[c+24>>3];if(q>3]=e;q=e}r=S[c+16>>3];e=S[b+4400>>3];if(r>e){S[c+16>>3]=e;r=e;e=S[b+4400>>3]}o=S[c+32>>3];if(e>o){S[c+32>>3]=e;o=e}k=k+S[(m+(a<<3|8)|0)+8>>3];ba:{if(O[c|0]){break ba}L[c|0]=1;e=S[b+4392>>3];if(i>e){S[c+8>>3]=e;e=S[b+4392>>3]}if(e>q){S[c+24>>3]=e}e=S[b+4400>>3];if(r>e){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(e>o)){break ba}S[c+32>>3]=e}S[b+4400>>3]=p;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}}ca:{if(g>>>0>=h>>>0){break ca}e=S[b+4400>>3]+S[(m+(g<<3)|0)+8>>3];k=S[b+4392>>3];da:{if(O[c|0]){break da}L[c|0]=1;i=S[b+4392>>3];if(i>3]){S[c+8>>3]=i;i=S[b+4392>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[b+4392>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(!(S[c+32>>3]>3]=k}N[b+20>>2]=0;break a}g=N[b+20>>2];if(g>>>0>=6){j=b+16|0;m=b+4392|0;f=6;a=0;while(1){h=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=h;h=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=h;ea:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ea}h=(j+(a<<3)|0)+8|0}l=a|1;fa:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break fa}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+2|0;ga:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ga}h=(j+(h<<3)|0)+8|0}l=a+3|0;ha:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ha}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;h=a+4|0;ia:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break ia}h=(j+(h<<3)|0)+8|0}a=a+5|0;ja:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ja}i=S[(j+(a<<3)|0)+8>>3]}e=S[h>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);g=N[b+20>>2];a=f;f=a+6|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}a=N[b+20>>2];ka:{if(a>>>0<8){break ka}n=b+16|0;j=b+4392|0;m=a-2|0;l=6;a=0;while(1){f=l;g=N[j+12>>2];N[d+88>>2]=N[j+8>>2];N[d+92>>2]=g;g=N[j+4>>2];N[d+80>>2]=N[j>>2];N[d+84>>2]=g;l=N[b+20>>2];la:{if(l>>>0<=a>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;g=589824;break la}g=((a<<3)+n|0)+8|0}h=a|1;ma:{if(h>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;i=0;break ma}i=S[((h<<3)+n|0)+8>>3]}e=S[g>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];g=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=g;g=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=g;g=a+2|0;na:{if(g>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;g=589824;break na}g=((g<<3)+n|0)+8|0}h=a+3|0;oa:{if(h>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;i=0;break oa}i=S[((h<<3)+n|0)+8>>3]}e=S[g>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];g=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=g;g=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=g;g=a+4|0;pa:{if(g>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;g=589824;break pa}g=((g<<3)+n|0)+8|0}a=a+5|0;qa:{if(a>>>0>=l>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;i=0;break qa}i=S[((a<<3)+n|0)+8>>3]}e=S[g>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);a=f;l=a+6|0;if(m>>>0>=l>>>0){continue}break}h=b+4400|0;g=N[b+20>>2];ra:{if(g>>>0<=a>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;f=589824;break ra}f=((a<<3)+n|0)+8|0}k=S[b+4392>>3];i=S[h>>3];a=a|1;sa:{if(a>>>0>=g>>>0){L[n|0]=1;N[147456]=0;N[147457]=0;e=0;break sa}e=S[((a<<3)+n|0)+8>>3]}i=i+e;k=k+S[f>>3];ta:{if(O[c|0]){break ta}L[c|0]=1;e=S[j>>3];if(e>3]){S[c+8>>3]=e;e=S[j>>3]}if(S[c+24>>3]>3]=e}e=S[b+4400>>3];if(e>3]){S[c+16>>3]=e;e=S[b+4400>>3]}if(!(S[c+32>>3]>3]=e}S[b+4400>>3]=i;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[j>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(!(S[c+32>>3]>3]=k}N[b+20>>2]=0;break a}l=N[b+20>>2];if(l>>>0>=8){j=b+16|0;m=b+4392|0;h=l-6|0;f=2;a=0;while(1){g=f;ua:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break ua}f=(j+(a<<3)|0)+8|0}a=a|1;va:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break va}e=S[(j+(a<<3)|0)+8>>3]}e=S[b+4400>>3]+e;k=S[b+4392>>3]+S[f>>3];wa:{if(O[c|0]){break wa}L[c|0]=1;i=S[m>>3];if(i>3]){S[c+8>>3]=i;i=S[m>>3]}if(S[c+24>>3]>3]=i}i=S[b+4400>>3];if(i>3]){S[c+16>>3]=i;i=S[b+4400>>3]}if(!(S[c+32>>3]>3]=i}S[b+4400>>3]=e;S[b+4392>>3]=k;if(S[c+8>>3]>k){S[c+8>>3]=k;k=S[m>>3]}if(S[c+24>>3]>3]=k}k=S[b+4400>>3];if(k>3]){S[c+16>>3]=k;k=S[b+4400>>3]}if(S[c+32>>3]>3]=k}a=g;f=a+2|0;if(h>>>0>=f>>>0){continue}break}a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;xa:{if(g>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break xa}a=(j+(g<<3)|0)+8|0}h=g|1;ya:{if(h>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ya}i=S[(j+(h<<3)|0)+8>>3]}e=S[a>>3];S[d+88>>3]=S[d+88>>3]+i;S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;za:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break za}a=(j+(f<<3)|0)+8|0}f=g+3|0;Aa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Aa}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g+4|0;Ba:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ba}a=(j+(a<<3)|0)+8|0}f=g+5|0;Ca:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ca}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+56>>3]=S[d+56>>3]+i;S[d+48>>3]=e+S[d+48>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;a=0;g=N[b+20>>2];if(g&1){S[d+80>>3]=S[d+80>>3]+S[b+24>>3];a=1}f=a|4;if(f>>>0<=g>>>0){j=b+16|0;m=b+4392|0;while(1){Da:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Da}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+1|0;Ea:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break Ea}h=(j+(h<<3)|0)+8|0}l=a+2|0;Fa:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Fa}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;a=a+3|0;Ga:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ga}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;g=N[b+20>>2];a=f;f=a+4|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;a=0;g=N[b+20>>2];if(g&1){S[d+88>>3]=S[d+88>>3]+S[b+24>>3];a=1}f=a|4;if(f>>>0<=g>>>0){j=b+16|0;m=b+4392|0;while(1){Ha:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ha}e=S[(j+(a<<3)|0)+8>>3]}S[d+80>>3]=S[d+80>>3]+e;h=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=h;h=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=h;h=a+1|0;Ia:{if(h>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;h=589824;break Ia}h=(j+(h<<3)|0)+8|0}l=a+2|0;Ja:{if(l>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ja}i=S[(j+(l<<3)|0)+8>>3]}e=S[h>>3];S[d+72>>3]=S[d+72>>3]+i;S[d+64>>3]=e+S[d+64>>3];h=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=h;h=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=h;a=a+3|0;Ka:{if(a>>>0>=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ka}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;g=N[b+20>>2];a=f;f=a+4|0;if(g>>>0>=f>>>0){continue}break}}N[b+20>>2]=0;break a}j=b+16|0;h=4;l=N[b+20>>2];if(l&4){break e}if(l>>>0<8){break d}g=b+4392|0;f=8;a=0;while(1){h=a;a=f;f=N[g+12>>2];N[d+88>>2]=N[g+8>>2];N[d+92>>2]=f;f=N[g+4>>2];N[d+80>>2]=N[g>>2];N[d+84>>2]=f;La:{if(h>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break La}e=S[(j+(h<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=h|1;Ma:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break Ma}f=(j+(f<<3)|0)+8|0}m=h|2;Na:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Na}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=h|3;Oa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Oa}e=S[(j+(f<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=f;f=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=f;l=N[b+20>>2];f=h|4;Pa:{if(l>>>0<=f>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Pa}e=S[(j+(f<<3)|0)+8>>3]}f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;S[d+80>>3]=S[d+80>>3]+e;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=h|5;Qa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break Qa}f=(j+(f<<3)|0)+8|0}m=h|6;Ra:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Ra}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=h|7;Sa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Sa}e=S[(j+(f<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;if(!(!(l&1)|l-h>>>0>15)){Ta:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ta}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e}Rb(b,c,d+80|0,d- -64|0,d+48|0);f=a+8|0;l=N[b+20>>2];if(f>>>0<=l>>>0){continue}break}break d}j=b+16|0;a=4;l=N[b+20>>2];if(l&4){break g}if(l>>>0<8){break f}g=b+4392|0;f=8;while(1){m=h;h=f;a=N[g+12>>2];N[d+88>>2]=N[g+8>>2];N[d+92>>2]=a;a=N[g+4>>2];N[d+80>>2]=N[g>>2];N[d+84>>2]=a;Ua:{if(l>>>0<=m>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ua}e=S[(j+(m<<3)|0)+8>>3]}a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+80>>3]=S[d+80>>3]+e;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=m|1;Va:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Va}a=(j+(a<<3)|0)+8|0}f=m|2;Wa:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break Wa}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=m|3;Xa:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Xa}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=a;a=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=a;l=N[b+20>>2];a=m|4;Ya:{if(l>>>0<=a>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break Ya}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=m|5;Za:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break Za}a=(j+(a<<3)|0)+8|0}f=m|6;_a:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break _a}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=m|7;$a:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break $a}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;if(!(!(l&1)|l-m>>>0>15)){ab:{if(h>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break ab}e=S[(j+(h<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e}Rb(b,c,d+80|0,d- -64|0,d+48|0);f=h+8|0;l=N[b+20>>2];if(f>>>0<=l>>>0){continue}break}break f}bb:{if(N[b+20>>2]==7){a=b+4400|0;g=N[a>>2];f=N[a+4>>2];N[d+88>>2]=g;N[d+92>>2]=f;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;S[d+80>>3]=S[d+80>>3]+S[b+24>>3];N[d+72>>2]=g;N[d+76>>2]=f;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];g=f;a=N[d+72>>2];N[d+56>>2]=a;N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+48>>3]=S[d+48>>3]+S[b+48>>3];N[d+40>>2]=a;N[d+44>>2]=g;f=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=f;S[d+32>>3]=S[d+32>>3]+S[b+56>>3];N[d+24>>2]=a;N[d+28>>2]=g;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;S[d+16>>3]=S[d+16>>3]+S[b- -64>>3];a=N[d+92>>2];f=N[d+88>>2];N[d+24>>2]=f;N[d+28>>2]=a;N[d+8>>2]=f;N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;S[d>>3]=S[d>>3]+S[b+72>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break bb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}cb:{if(N[b+20>>2]==13){f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;e=S[b+24>>3];S[d+88>>3]=S[d+88>>3]+S[b+32>>3];S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+40>>3];S[d+72>>3]=S[d+72>>3]+S[b+48>>3];S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;e=S[b+56>>3];S[d+56>>3]=S[d+56>>3]+S[b- -64>>3];S[d+48>>3]=e+S[d+48>>3];a=N[d+60>>2];N[d+40>>2]=N[d+56>>2];N[d+44>>2]=a;a=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=a;e=S[b+72>>3];S[d+40>>3]=S[d+40>>3]+S[b+80>>3];S[d+32>>3]=e+S[d+32>>3];a=N[d+44>>2];N[d+24>>2]=N[d+40>>2];N[d+28>>2]=a;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;e=S[b+88>>3];S[d+24>>3]=S[d+24>>3]+S[b+96>>3];S[d+16>>3]=e+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;e=S[b+104>>3];S[d+8>>3]=S[d+8>>3]+S[b+112>>3];S[d>>3]=e+S[d>>3];Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break cb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}db:{if(N[b+20>>2]==9){h=b+4400|0;a=N[h+4>>2];N[d+88>>2]=N[h>>2];N[d+92>>2]=a;a=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=a;e=S[b+24>>3];S[d+88>>3]=S[d+88>>3]+S[b+32>>3];S[d+80>>3]=e+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;e=S[b+40>>3];S[d+72>>3]=S[d+72>>3]+S[b+48>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];g=f;a=N[d+72>>2];N[d+56>>2]=a;N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+48>>3]=S[d+48>>3]+S[b+56>>3];N[d+40>>2]=a;N[d+44>>2]=g;f=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=f;S[d+32>>3]=S[d+32>>3]+S[b- -64>>3];N[d+24>>2]=a;N[d+28>>2]=g;a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;e=S[b+72>>3];S[d+24>>3]=S[d+24>>3]+S[b+80>>3];S[d+16>>3]=e+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;S[d>>3]=S[d>>3]+S[b+88>>3];a=N[h+4>>2];N[d+8>>2]=N[h>>2];N[d+12>>2]=a;Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break db}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}eb:{if(N[b+20>>2]==11){s=S[b+88>>3];t=S[b+96>>3];u=S[b+72>>3];p=S[b+80>>3];q=S[b+56>>3];r=S[b- -64>>3];o=S[b+40>>3];k=S[b+48>>3];i=S[b+24>>3];e=S[b+32>>3];g=b+4400|0;a=N[g+4>>2];N[d+88>>2]=N[g>>2];N[d+92>>2]=a;f=N[b+4392>>2];a=N[b+4396>>2];S[d+88>>3]=e+S[d+88>>3];N[d+80>>2]=f;N[d+84>>2]=a;S[d+80>>3]=i+S[d+80>>3];a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+72>>3]=k+S[d+72>>3];a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;S[d+64>>3]=o+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+56>>3]=r+S[d+56>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;S[d+48>>3]=q+S[d+48>>3];a=N[d+60>>2];N[d+40>>2]=N[d+56>>2];N[d+44>>2]=a;S[d+40>>3]=p+S[d+40>>3];a=N[d+52>>2];N[d+32>>2]=N[d+48>>2];N[d+36>>2]=a;S[d+32>>3]=u+S[d+32>>3];a=N[d+44>>2];N[d+24>>2]=N[d+40>>2];N[d+28>>2]=a;S[d+24>>3]=t+S[d+24>>3];a=N[d+36>>2];N[d+16>>2]=N[d+32>>2];N[d+20>>2]=a;S[d+16>>3]=s+S[d+16>>3];a=N[d+28>>2];N[d+8>>2]=N[d+24>>2];N[d+12>>2]=a;a=N[d+20>>2];N[d>>2]=N[d+16>>2];N[d+4>>2]=a;fb:{if(V(s+(u+(q+(o+(i+0)))))>V(t+(p+(r+(k+(e+0)))))){S[d>>3]=S[d>>3]+S[b+104>>3];a=N[g+4>>2];N[d+8>>2]=N[g>>2];N[d+12>>2]=a;break fb}a=N[b+4396>>2];N[d>>2]=N[b+4392>>2];N[d+4>>2]=a;S[d+8>>3]=S[d+8>>3]+S[b+104>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0);Rb(b,c,d+32|0,d+16|0,d);break eb}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}vf(a,b);break a}f=b+4400|0;h=N[f>>2];g=N[f+4>>2];N[d+88>>2]=h;N[d+92>>2]=g;f=N[b+4396>>2];N[d+80>>2]=N[b+4392>>2];N[d+84>>2]=f;S[d+80>>3]=S[d+80>>3]+S[b+24>>3];N[d+72>>2]=h;N[d+76>>2]=g;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;S[d+56>>3]=S[d+56>>3]+S[b+48>>3];f=12;if(l>>>0>=12){h=b+4392|0;g=4;while(1){a=f;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[h+12>>2];N[d+88>>2]=N[h+8>>2];N[d+92>>2]=f;f=N[h+4>>2];N[d+80>>2]=N[h>>2];N[d+84>>2]=f;l=N[b+20>>2];gb:{if(l>>>0<=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break gb}e=S[(j+(g<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=g|1;hb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break hb}f=(j+(f<<3)|0)+8|0}m=g|2;ib:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ib}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=g|3;jb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break jb}e=S[(j+(f<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);f=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=f;f=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=f;l=N[b+20>>2];f=g+4|0;kb:{if(l>>>0<=f>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break kb}e=S[(j+(f<<3)|0)+8>>3]}f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;S[d+80>>3]=S[d+80>>3]+e;f=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=f;f=g+5|0;lb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;f=589824;break lb}f=(j+(f<<3)|0)+8|0}m=g+6|0;mb:{if(m>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break mb}i=S[(j+(m<<3)|0)+8>>3]}e=S[f>>3];S[d+72>>3]=S[d+72>>3]+i;f=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=f;S[d+64>>3]=e+S[d+64>>3];f=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=f;f=g+7|0;nb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break nb}e=S[(j+(f<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;g=a;f=a+8|0;if(f>>>0<=l>>>0){continue}break}}if(a>>>0>>0){S[d+48>>3]=S[d+48>>3]+S[(j+(a<<3)|0)+8>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}f=b+4400|0;a=N[f+4>>2];N[d+88>>2]=N[f>>2];N[d+92>>2]=a;g=N[b+4396>>2];a=N[b+4392>>2];N[d+80>>2]=a;N[d+84>>2]=g;S[d+88>>3]=S[d+88>>3]+S[b+24>>3];f=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=f;N[d+64>>2]=a;N[d+68>>2]=g;e=S[b+32>>3];S[d+72>>3]=S[d+72>>3]+S[b+40>>3];S[d+64>>3]=e+S[d+64>>3];a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;S[d+48>>3]=S[d+48>>3]+S[b+48>>3];f=12;if(l>>>0>=12){m=b+4392|0;g=4;while(1){h=f;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[m+12>>2];N[d+88>>2]=N[m+8>>2];N[d+92>>2]=a;a=N[m+4>>2];N[d+80>>2]=N[m>>2];N[d+84>>2]=a;l=N[b+20>>2];ob:{if(l>>>0<=g>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break ob}e=S[(j+(g<<3)|0)+8>>3]}a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;S[d+80>>3]=S[d+80>>3]+e;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=g|1;pb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break pb}a=(j+(a<<3)|0)+8|0}f=g|2;qb:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break qb}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g|3;rb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break rb}e=S[(j+(a<<3)|0)+8>>3]}S[d+56>>3]=S[d+56>>3]+e;Rb(b,c,d+80|0,d- -64|0,d+48|0);a=N[d+60>>2];N[d+88>>2]=N[d+56>>2];N[d+92>>2]=a;a=N[d+52>>2];N[d+80>>2]=N[d+48>>2];N[d+84>>2]=a;l=N[b+20>>2];a=g+4|0;sb:{if(l>>>0<=a>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break sb}e=S[(j+(a<<3)|0)+8>>3]}S[d+88>>3]=S[d+88>>3]+e;a=N[d+92>>2];N[d+72>>2]=N[d+88>>2];N[d+76>>2]=a;a=N[d+84>>2];N[d+64>>2]=N[d+80>>2];N[d+68>>2]=a;a=g+5|0;tb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;a=589824;break tb}a=(j+(a<<3)|0)+8|0}f=g+6|0;ub:{if(f>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;i=0;break ub}i=S[(j+(f<<3)|0)+8>>3]}e=S[a>>3];S[d+72>>3]=S[d+72>>3]+i;a=N[d+76>>2];N[d+56>>2]=N[d+72>>2];N[d+60>>2]=a;S[d+64>>3]=e+S[d+64>>3];a=N[d+68>>2];N[d+48>>2]=N[d+64>>2];N[d+52>>2]=a;a=g+7|0;vb:{if(a>>>0>=l>>>0){L[j|0]=1;N[147456]=0;N[147457]=0;e=0;break vb}e=S[(j+(a<<3)|0)+8>>3]}S[d+48>>3]=S[d+48>>3]+e;g=h;f=g+8|0;if(f>>>0<=l>>>0){continue}break}}if(h>>>0>>0){S[d+56>>3]=S[d+56>>3]+S[(j+(h<<3)|0)+8>>3]}Rb(b,c,d+80|0,d- -64|0,d+48|0)}N[b+20>>2]=0;break a}L[h|0]=1;N[147456]=0;N[147457]=0;o=0}e=S[l>>3];L[c|0]=0;S[b+4400>>3]=k+e;S[b+4392>>3]=i+o;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+f|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0}La=d+96|0}function vr(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;d=N[a+660>>2];if(d){vg(d);N[a+660>>2]=0}v=N[a+380>>2];h=O[b+11|0];q=h<<24>>24<0;d=q?N[b>>2]:b;b=q?N[b+4>>2]:h;q=0;o=La-352|0;La=o;a:{if(!d){break a}u=kb(b+1|0);if(!u){break a}F(u,d,b);L[b+u|0]=0;b:{i=db(1,104);if(i){N[i+84>>2]=v;d=db(1,40);N[i+88>>2]=d;c:{d:{if(!d){break d}b=kb(2880);N[147316]=b?0:48;N[i+16>>2]=b;if(!b){break d}N[i>>2]=1;N[i+4>>2]=20;C(b,0,144);h=Hb(9439);N[b>>2]=h;e=Hb(13519);N[b+116>>2]=20;N[b+104>>2]=2;N[b+96>>2]=0;N[b+100>>2]=1074266112;N[b+88>>2]=0;N[b+92>>2]=1073741824;N[b+80>>2]=1;N[b+64>>2]=0;N[b+68>>2]=0;N[b+56>>2]=0;N[b+60>>2]=1072693248;N[b+48>>2]=0;N[b+52>>2]=1072693248;N[b+32>>2]=200;N[b+24>>2]=0;N[b+28>>2]=128;N[b+16>>2]=-256;N[b+20>>2]=16776960;N[b+8>>2]=0;N[b+12>>2]=1077018624;N[b+4>>2]=e;N[b+108>>2]=20;N[b+112>>2]=20;if(e?h:0){break c}_a(h);_a(N[b+4>>2])}_a(d);_a(i);_a(u);break a}N[d+28>>2]=1;r=u;e:while(1){b=O[r|0];while(1){c=r;f:{d=b&255;g:{if((d|0)!=239){e=1;switch(d-10|0){case 0:case 3:break g;default:break f}}if(O[c+1|0]!=187|O[c+2|0]!=191){break f}e=3}r=c+e|0;continue e}while(1){b=b&255;if(!(1<>>0<=13:0)){b=O[r+1|0];r=r+1|0;continue}break}if((c|0)!=(r|0)){if(b){L[r|0]=0;r=r+1|0}h:{i:{j:{while(1){b=O[c|0];if((b|0)==32|(b|0)==9){c=c+1|0;continue}else{k:{b=0;g=18558;while(1){l:{d=O[O[g|0]+25936|0];e=O[b+c|0];h=O[e+25936|0];if(!e|b>>>0>11){break l}g=g+1|0;b=b+1|0;if((d|0)==(h|0)){continue}}break}if((d|0)==(h|0)){break k}b=0;g=18533;while(1){m:{d=O[O[g|0]+25936|0];e=O[b+c|0];h=O[e+25936|0];if(!e|b>>>0>9){break m}g=g+1|0;b=b+1|0;if((d|0)==(h|0)){continue}}break}if((d|0)==(h|0)){break j}b=0;g=18545;while(1){n:{d=O[O[g|0]+25936|0];e=O[b+c|0];h=O[e+25936|0];if(!e|b>>>0>10){break n}g=g+1|0;b=b+1|0;if((d|0)==(h|0)){continue}}break}if((d|0)==(h|0)){N[N[i+88>>2]>>2]=2;N[i+32>>2]=1;break h}o:{p:{if(O[c|0]!=91){break p}q:{if((O[c+1|0]&223)!=69|(O[c+2|0]&223)!=86|((O[c+3|0]&223)!=69|(O[c+4|0]&223)!=78)){break q}if((O[c+5|0]&223)!=84|(O[c+6|0]&223)!=83|O[c+7|0]!=93){break q}N[N[i+88>>2]>>2]=3;break h}if(O[c|0]!=91|(O[c+1|0]&223)!=70|((O[c+2|0]&223)!=79|(O[c+3|0]&223)!=78)){break p}if((O[c+4|0]&223)!=84){break p}if((O[c+5|0]&223)==83){break o}}g=N[i+88>>2];break i}g=N[i+88>>2];if(O[c+6|0]!=93){break i}N[g>>2]=4;break h}}break}N[N[i+88>>2]>>2]=1;break h}N[N[i+88>>2]>>2]=2;N[i+32>>2]=2;break h}r:{s:{switch(N[g>>2]-1|0){case 0:if(!bb(c,21334,9)){b=N[g+32>>2];t:{if(b&2){b=N[i+84>>2];N[o+16>>2]=18704;mb(b,2,24874,o+16|0);break t}N[g+32>>2]=b|2}y=i,z=yb(c+9|0),N[y+36>>2]=z;break h}if(!bb(c,21312,9)){b=N[g+32>>2];u:{if(b&4){b=N[i+84>>2];N[o+32>>2]=18572;mb(b,2,24874,o+32|0);break u}N[g+32>>2]=b|4}y=i,z=yb(c+9|0),N[y+40>>2]=z;break h}if(!bb(c,21344,11)){b=N[g+32>>2];v:{if(b&512){b=N[i+84>>2];N[o+48>>2]=18713;mb(b,2,24874,o+48|0);break v}N[g+32>>2]=b|512}y=i,z=yb(c+11|0),N[y+92>>2]=z;break h}if(!bb(c,21322,11)){b=N[g+32>>2];w:{if(b&1024){b=N[i+84>>2];N[o+64>>2]=18581;mb(b,2,24874,o- -64|0);break w}N[g+32>>2]=b|1024}y=i,z=yb(c+11|0),N[y+96>>2]=z;break h}if(!bb(c,21243,6)){b=N[g+32>>2];x:{if(b&8){b=N[i+84>>2];N[o+80>>2]=11980;mb(b,2,24874,o+80|0);break x}N[g+32>>2]=b|8}y=i,A=pb(c+6|0,0),S[y+48>>3]=A;break h}if(!bb(c,21291,10)){b=N[g+32>>2];y:{if(b&16){b=N[i+84>>2];N[o+96>>2]=15956;mb(b,2,24874,o+96|0);break y}N[g+32>>2]=b|16}y=i,z=yb(c+10|0),N[y+56>>2]=z;break h}if(!bb(c,21212,22)){b=N[g+32>>2];z:{if(b&32){b=N[i+84>>2];N[o+112>>2]=8259;mb(b,2,24874,o+112|0);break z}N[g+32>>2]=b|32}c=c+22|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}A:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break A}}b=(Kb(c,0)|0)>0}N[i+60>>2]=b;break h}if(!bb(c,21250,8)){b=N[g+32>>2];B:{if(b&128){b=N[i+84>>2];N[o+128>>2]=14675;mb(b,2,24874,o+128|0);break B}N[g+32>>2]=b|128}c=c+8|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}C:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break C}}b=(Kb(c,0)|0)>0}N[i+64>>2]=b;break h}if(!bb(c,21198,13)){b=N[g+32>>2];D:{if(b&64){b=N[i+84>>2];N[o+144>>2]=8116;mb(b,2,24874,o+144|0);break D}N[g+32>>2]=b|64}y=i,z=ro(c+13|0),N[y+72>>2]=z;break h}if(!bb(c,21302,9)){b=N[g+32>>2];E:{if(b&1){b=N[i+84>>2];N[o+160>>2]=16110;mb(b,2,24874,o+160|0);break E}N[g+32>>2]=b|1}g=c+9|0;b=O[c+9|0];F:{if(!b){break F}while(1){d=g;h=b<<24>>24;if(!(h-9>>>0<4|(h|0)==32|(b&255)==13)){break F}g=d+1|0;b=O[d+1|0];if(b){continue}break}}_a(N[i+68>>2]);d=$n(g,2);b=kb(d+1|0);if(b){Pc(b,g,d);L[b+d|0]=0}N[i+68>>2]=b;break h}if(!bb(c,21269,11)){b=N[g+32>>2];G:{if(b&256){b=N[i+84>>2];N[o+176>>2]=15532;mb(b,2,24874,o+176|0);break G}N[g+32>>2]=b|256}d=c+11|0;h=nb(d);b=h+11|0;H:{I:{if((h|0)<=0){break I}while(1){h=b-1|0;e=O[h+c|0];if((e|0)!=32&(e|0)!=9){break I}e=b>>>0>12;b=h;if(e){continue}break}c=d;break H}c=b+c|0}d=c-d|0;if(d>>>0<4){break h}g=2;b=c-1|0;if(O[b|0]==43){g=1;c=b;if(d-5>>>0>4294967291){break h}}if(bb(c-4|0,21957,4)){break h}N[i+32>>2]=g;break h}if(bb(c,24973,22)){break h}if(bb(c+22|0,17644,11)){break h}N[g+32>>2]=N[g+32>>2]|16384;break h;case 1:if(!bb(c,21235,7)){c=c+7|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}_a(N[i+24>>2]);b=Hb(c);N[i+24>>2]=b;if(!b){break h}d=N[i+84>>2];N[o+192>>2]=b;mb(d,7,11521,o+192|0);if(N[i+32>>2]==1){qi(i,c,14940);break h}qi(i,c,14751);break h}if(bb(c,21295,6)){break h}c=c+6|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break};b=N[i+24>>2];if(!b){J:{if(N[i+32>>2]==2){b=Hb(14751);break J}b=Hb(14940)}N[i+24>>2]=b;if(!b){break h}}m=Hb(b);if(!m){break h}b=N[i+84>>2];N[o+212>>2]=c;N[o+208>>2]=i;mb(b,6,11551,o+208|0);s=N[i>>2];b=N[i+4>>2];if((s|0)<=(b|0)){K:{L:{M:{if((b|0)!=(s|0)){b=N[i+16>>2];break M}if(s>>>0>2147483626){break L}N[147316]=0;d=s+20|0;b=jd(N[i+16>>2],d,144);N[i+16>>2]=b;if(N[147316]){break L}N[i+4>>2]=d;s=N[i>>2]}N[i>>2]=s+1;w=T(s,144);f=w+b|0;C(f,0,144);if((s|0)>=0){break K}}_a(m);break h}N[f+56>>2]=0;N[f+60>>2]=1079574528;N[f+48>>2]=0;N[f+52>>2]=1079574528;l=f- -64|0;j=0;b=m;N:while(1){e=b;O:{P:{Q:{g=O[b|0];switch(g|0){case 9:break O;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break P;case 0:break r;default:break Q}}if((g|0)==32){break O}}while(1){g=g&255;if(!(!g|(g|0)==44)){g=O[e+1|0];e=e+1|0;continue}break}d=e;R:{if(d>>>0<=b>>>0){break R}while(1){h=d-1|0;k=O[h|0];if((k|0)!=32&(k|0)!=9){break R}d=h;if(d>>>0>b>>>0){continue}break}d=b}h=((g|0)==44)+e|0;L[d|0]=0;g=c;while(1){S:{T:{U:{e=g;c=O[e|0];switch(c|0){case 9:break S;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break T;case 0:break r;default:break U}}if((c|0)==32){break S}}while(1){d=c&255;if(!(!d|(d|0)==44)){c=O[e+1|0];e=e+1|0;continue}break}L[e|0]=0;p=(d|0)==44;c=15914;d=b;while(1){V:{k=O[O[c|0]+25936|0];x=O[d|0];n=O[x+25936|0];if(!x){break V}c=c+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}c=e+p|0;e=15901;d=b;if((k|0)==(n|0)){while(1){d=g;g=d+1|0;if(O[d|0]==42){continue}break}b=h;d=Hb(d);if(!d){continue N}_a(N[f>>2]);N[f>>2]=d;continue N}while(1){W:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break W}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11798;d=b;if((k|0)==(n|0)){b=h;d=Hb(g);if(!d){continue N}_a(N[f+4>>2]);N[f+4>>2]=d;continue N}while(1){X:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break X}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11812;d=b;if((k|0)==(n|0)){b=yb(g);N[f+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=h;continue N}while(1){Y:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break Y}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11839;d=b;if((k|0)==(n|0)){b=yb(g);N[f+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=h;continue N}while(1){Z:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break Z}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=11828;d=b;if((k|0)==(n|0)){b=yb(g);N[f+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=h;continue N}while(1){_:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break _}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=13334;d=b;if((k|0)==(n|0)){b=yb(g);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[f+28>>2]=d;b=h;if(N[i+32>>2]!=2){continue N}N[f+24>>2]=d;continue N}while(1){$:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break $}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15426;d=b;if((k|0)==(n|0)){j=yb(g);b=h;continue N}while(1){aa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break aa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=16733;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+8>>3]=A;b=h;continue N}while(1){ba:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ba}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=17754;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+32>>2]=z;b=h;continue N}while(1){ca:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ca}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15749;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+36>>2]=z;b=h;continue N}while(1){da:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break da}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=8720;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+40>>2]=z;b=h;continue N}while(1){ea:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ea}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15170;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+44>>2]=z;b=h;continue N}while(1){fa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break fa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=16029;d=b;if((k|0)==(n|0)){y=l,A=pb(g,0),S[y>>3]=A;b=h;continue N}while(1){ga:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ga}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15944;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+72>>3]=A;b=h;continue N}while(1){ha:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ha}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=9279;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+80>>2]=z;b=h;continue N}while(1){ia:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ia}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=19806;d=b;if((k|0)==(n|0)){d=yb(g);N[f+104>>2]=d;if(N[i+32>>2]==1){b=d>>31;d=(d|0)==-2147483648?2:(b^d)-b|0;b=((d-1|0)%3|0)+1|0;ja:{if(d>>>0<4){break ja}if(d>>>0<=6){b=b|8;break ja}b=b|4}N[f+104>>2]=b;b=h;continue N}b=h;ka:{switch(d-4|0){case 4:N[f+104>>2]=3;continue N;case 0:break ka;default:continue N}}N[f+104>>2]=11;continue N}while(1){la:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break la}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=19589;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+108>>2]=z;b=h;continue N}while(1){ma:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ma}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=19116;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+112>>2]=z;b=h;continue N}while(1){na:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break na}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15161;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+116>>2]=z;b=h;continue N}while(1){oa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break oa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=18724;d=b;if((k|0)==(n|0)){y=f,z=yb(g),N[y+120>>2]=z;b=h;continue N}while(1){pa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break pa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=18592;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+48>>3]=A;b=h;continue N}while(1){qa:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break qa}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=15741;d=b;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+56>>3]=A;b=h;continue N}while(1){ra:{k=O[O[e|0]+25936|0];p=O[d|0];n=O[p+25936|0];if(!p){break ra}e=e+1|0;d=d+1|0;if((k|0)==(n|0)){continue}}break}e=8274;if((k|0)==(n|0)){y=f,A=pb(g,0),S[y+88>>3]=A;b=h;continue N}while(1){sa:{d=O[O[e|0]+25936|0];n=O[b|0];k=O[n+25936|0];if(!n){break sa}e=e+1|0;b=b+1|0;if((d|0)==(k|0)){continue}}break}b=h;if((d|0)!=(k|0)){continue N}y=f,A=pb(g,0),S[y+96>>3]=A;continue N}g=g+1|0;continue}}b=b+1|0;continue}}ba(11239,18016,104,15919);B();case 3:if(!bb(c,21281,9)){c=c+9|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}if(N[g+4>>2]){io(i);g=N[i+88>>2]}b=Hb(c);N[g+4>>2]=b;if(!b){break h}d=N[i+84>>2];N[o+304>>2]=b;mb(d,6,11538,o+304|0);break h}b=N[g+4>>2];if(!b){b=N[i+84>>2];N[o+320>>2]=c;mb(b,6,24686,o+320|0);break h}h=N[g+16>>2];ta:{ua:{d=nb(c);e=d>>>0<=102400?102400:d;if(h>>>0<(e^-1)>>>0){b=N[g+12>>2];if(b>>>0>=d+h>>>0){e=N[g+8>>2];break ta}N[147316]=0;m=N[g+8>>2];h=b+e|0;b=$a(m,h>>>0<=1?1:h);N[147316]=b?0:48;g=N[i+88>>2];e=b?b:m;N[g+8>>2]=e;if(b){break ua}b=N[g+4>>2]}_a(b);_a(N[g+8>>2]);N[g+12>>2]=0;N[g+16>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;break h}N[g+12>>2]=h}if(!e){break h}F(N[g+16>>2]+e|0,c,d);b=N[i+88>>2];N[b+16>>2]=d+N[b+16>>2];break h;case 2:break s;default:break h}}if(!bb(c,21235,7)){c=c+7|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}_a(N[i+28>>2]);b=Hb(c);N[i+28>>2]=b;if(!b){break h}d=N[i+84>>2];N[o+224>>2]=b;mb(d,7,11504,o+224|0);qi(i,c,N[i+32>>2]==1?8495:8567);if(N[N[i+88>>2]+32>>2]!=16646|N[i>>2]!=2){break h}if(bb(N[N[i+16>>2]+144>>2],9439,7)){break h}N[i+60>>2]=1;mb(N[i+84>>2],4,22355,0);break h}va:{if(!bb(c,21259,9)){if(!N[i+28>>2]){N[g>>2]=3;wa:{if(N[i+32>>2]==2){b=Hb(8567);break wa}b=Hb(8495)}N[i+28>>2]=b;mb(N[i+84>>2],6,13787,0);if(!N[i+28>>2]){break h}}c=c+9|0;while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}b=N[i+8>>2];d=N[i+12>>2];if((b|0)<=(d|0)){xa:{if((b|0)!=(d|0)){g=N[i+20>>2];break xa}if(b>>>0>1073741822){break h}N[147316]=0;b=b<<1|1;g=jd(N[i+20>>2],b,56);N[i+20>>2]=g;if(N[147316]){break h}N[i+12>>2]=b;b=N[i+8>>2]}N[i+8>>2]=b+1;l=T(b,56);d=l+g|0;N[d>>2]=0;N[d+4>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if((b|0)<0){break h}b=N[i+20>>2];s=Hb(N[i+28>>2]);if(!s){break va}m=b+l|0;b=s;while(1){e=b;ya:{za:{Aa:{Ba:{g=O[b|0];switch(g|0){case 9:break ya;case 0:break za;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break Aa;default:break Ba}}if((g|0)==32){break ya}}while(1){g=g&255;if(!(!g|(g|0)==44)){g=O[e+1|0];e=e+1|0;continue}break}d=e;Ca:{if(d>>>0<=b>>>0){break Ca}while(1){h=d-1|0;f=O[h|0];if((f|0)!=32&(f|0)!=9){break Ca}d=h;if(d>>>0>b>>>0){continue}break}d=b}h=((g|0)==44)+e|0;L[d|0]=0;g=8635;e=b;while(1){Da:{d=O[O[g|0]+25936|0];j=O[e|0];f=O[j+25936|0];if(!j){break Da}g=g+1|0;e=e+1|0;if((d|0)==(f|0)){continue}}break}Ea:{Fa:{if((d|0)!=(f|0)){g=c;break Fa}b=Hb(c);N[m+48>>2]=b;if(!b){break Ea}Ga:{if(!O[b|0]){break Ga}d=nb(b);if((d|0)<=0){break Ga}c=b+d|0;while(1){c=c-1|0;d=O[c|0]-9|0;if(d>>>0>23|!(1<>>0>>0){continue}break}}d=N[m+8>>2];h=N[m>>2];e=d-h|0;d=N[m+12>>2]-(N[m+4>>2]+(d>>>0>>0)|0)|0;N[m+8>>2]=e;N[m+12>>2]=d;_a(s);if(!b){break va}break h}while(1){Ha:{Ia:{Ja:{Ka:{e=g;c=O[e|0];switch(c|0){case 0:break za;case 9:break Ia;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break Ja;default:break Ka}}if((c|0)==32){break Ia}}while(1){d=c&255;if(!d|(d|0)==44){break Ha}c=O[e+1|0];e=e+1|0;continue}}g=g+1|0;continue}break}L[e|0]=0;k=(d|0)==44;c=16701;f=b;while(1){La:{d=O[O[c|0]+25936|0];n=O[f|0];j=O[n+25936|0];if(!n){break La}c=c+1|0;f=f+1|0;if((d|0)==(j|0)){continue}}break}c=11926;j=(d|0)==(j|0)?12789:b;b=j;while(1){Ma:{d=O[O[c|0]+25936|0];n=O[b|0];f=O[n+25936|0];if(!n){break Ma}c=c+1|0;b=b+1|0;if((d|0)==(f|0)){continue}}break}c=11954;d=(d|0)==(f|0)?15914:j;b=d;while(1){Na:{f=O[O[c|0]+25936|0];n=O[b|0];j=O[n+25936|0];if(!n){break Na}c=c+1|0;b=b+1|0;if((f|0)==(j|0)){continue}}break}c=e+k|0;b=16007;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+20>>2]=z;b=h;continue}while(1){Oa:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Oa}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=15914;e=d;if((f|0)==(j|0)){while(1){d=g;g=d+1|0;b=9439;if(O[d|0]==42){continue}break}g=d;while(1){Pa:{e=O[O[b|0]+25936|0];j=O[g|0];f=O[j+25936|0];if(!j){break Pa}b=b+1|0;g=g+1|0;if((e|0)==(f|0)){continue}}break}d=(e|0)==(f|0)?9439:d;b=N[i>>2];Qa:{while(1){if((b|0)>0){b=b-1|0;if(cb(N[N[i+16>>2]+T(b,144)>>2],d)){continue}break Qa}break}e=N[i+84>>2];b=N[i+76>>2];N[o+248>>2]=N[N[i+16>>2]+T(b,144)>>2];N[o+244>>2]=d;N[o+240>>2]=i;mb(e,2,24480,o+240|0)}N[m+24>>2]=b;b=h;continue}while(1){Ra:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Ra}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=9655;e=d;if((f|0)==(j|0)){b=h;d=Hb(g);if(!d){continue}_a(N[m+28>>2]);N[m+28>>2]=d;continue}while(1){Sa:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Sa}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=19806;e=d;if((f|0)==(j|0)){b=h;d=Hb(g);if(!d){continue}_a(N[m+44>>2]);N[m+44>>2]=d;continue}while(1){Ta:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Ta}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=19589;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+32>>2]=z;b=h;continue}while(1){Ua:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Ua}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=19116;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+36>>2]=z;b=h;continue}while(1){Va:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Va}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=8828;e=d;if((f|0)==(j|0)){y=m,z=yb(g),N[y+40>>2]=z;b=h;continue}while(1){Wa:{f=O[O[b|0]+25936|0];k=O[e|0];j=O[k+25936|0];if(!k){break Wa}b=b+1|0;e=e+1|0;if((f|0)==(j|0)){continue}}break}b=12789;if((f|0)==(j|0)){b=N[i+84>>2];N[o+256>>2]=o+348;N[o+260>>2]=o+344;N[o+264>>2]=o+340;N[o+268>>2]=o+336;if((co(g,o+256|0)|0)<=3){mb(b,2,12297,0);N[m>>2]=0;N[m+4>>2]=0;b=h;continue}b=N[o+340>>2];e=b;g=b>>31;f=N[o+344>>2];b=N[o+348>>2];j=UE(b,b>>31,60,0);d=f+j|0;b=Pa+(f>>31)|0;f=e;e=UE(d,d>>>0>>0?b+1|0:b,60,0);b=f+e|0;d=Pa+g|0;d=UE(b,b>>>0>>0?d+1|0:d,1e3,0);e=Pa;b=N[o+336>>2];g=UE(b,b>>31,10,0);b=g+d|0;d=Pa+e|0;N[m>>2]=b;N[m+4>>2]=b>>>0>>0?d+1|0:d;b=h;continue}while(1){Xa:{e=O[O[b|0]+25936|0];j=O[d|0];f=O[j+25936|0];if(!j){break Xa}b=b+1|0;d=d+1|0;if((e|0)==(f|0)){continue}}break}b=h;if((e|0)!=(f|0)){continue}d=N[i+84>>2];N[o+272>>2]=o+348;N[o+276>>2]=o+344;N[o+280>>2]=o+340;N[o+284>>2]=o+336;if((co(g,o+272|0)|0)<=3){mb(d,2,12297,0);N[m+8>>2]=0;N[m+12>>2]=0;continue}d=N[o+340>>2];e=d;g=d>>31;f=N[o+344>>2];d=N[o+348>>2];j=UE(d,d>>31,60,0);h=f+j|0;d=Pa+(f>>31)|0;f=e;e=UE(h,h>>>0>>0?d+1|0:d,60,0);h=f+e|0;d=Pa+g|0;h=UE(h,e>>>0>h>>>0?d+1|0:d,1e3,0);e=Pa;d=N[o+336>>2];g=UE(d,d>>31,10,0);h=g+h|0;d=Pa+e|0;N[m+8>>2]=h;N[m+12>>2]=g>>>0>h>>>0?d+1|0:d;continue}b=N[m+8>>2];d=N[m>>2];h=b-d|0;b=N[m+12>>2]-(N[m+4>>2]+(b>>>0>>0)|0)|0;N[m+8>>2]=h;N[m+12>>2]=b}_a(s);break va}b=b+1|0;continue}}ba(10030,18016,127,9200);B()}b=N[i+84>>2];N[o+288>>2]=c;mb(b,6,24346,o+288|0);break h}b=l+N[i+20>>2]|0;_a(N[b+28>>2]);_a(N[b+44>>2]);_a(N[b+48>>2]);_a(N[b+52>>2]);N[i+8>>2]=N[i+8>>2]-1;break h}_a(m);if(N[i+32>>2]==2){b=(j|0)>=255?255:j;b=(b|0)>0?b:0;L[f+16|0]=b;L[f+20|0]=b;L[f+24|0]=b;L[f+28|0]=128}t=S[f+48>>3];S[f+48>>3]=t>0?t/100:0;t=S[f+56>>3];S[f+56>>3]=t>0?t/100:0;t=S[l>>3];S[l>>3]=t>0?t:0;t=S[f+88>>3];S[f+88>>3]=t>0?t:0;t=S[f+96>>3];S[f+96>>3]=t>0?t:0;N[f+32>>2]=N[f+32>>2]!=0;N[f+36>>2]=N[f+36>>2]!=0;N[f+40>>2]=N[f+40>>2]!=0;N[f+44>>2]=N[f+44>>2]!=0;c=N[f>>2];if(!c){c=Hb(9439);N[f>>2]=c}b=N[f+4>>2];if(!b){b=Hb(13519);N[f+4>>2]=b}if(!(b?c:0)){b=N[i+16>>2]+w|0;_a(N[b>>2]);_a(N[b+4>>2]);N[i>>2]=N[i>>2]-1;break h}if(cb(c,9439)){break h}N[i+76>>2]=s}b=O[r|0];if(b){continue}}break}break}if(N[N[i+88>>2]+4>>2]){io(i)}r=N[i+8>>2];Ya:{if((r|0)<=0){break Ya}b=N[i+20>>2];g=0;c=0;if(r>>>0>=8){d=r&-8;while(1){N[(b+T(c,56)|0)+16>>2]=c;h=c|1;N[(b+T(h,56)|0)+16>>2]=h;h=c|2;N[(b+T(h,56)|0)+16>>2]=h;h=c|3;N[(b+T(h,56)|0)+16>>2]=h;h=c|4;N[(b+T(h,56)|0)+16>>2]=h;h=c|5;N[(b+T(h,56)|0)+16>>2]=h;h=c|6;N[(b+T(h,56)|0)+16>>2]=h;h=c|7;N[(b+T(h,56)|0)+16>>2]=h;c=c+8|0;if((d|0)!=(c|0)){continue}break}}d=r&7;if(!d){break Ya}while(1){N[(b+T(c,56)|0)+16>>2]=c;c=c+1|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}if(N[i+32>>2]){break b}vg(i)}_a(u);break a}c=N[N[i+84>>2]+8>>2];Za:{if(!c){break Za}b=N[c>>2];if(!b){break Za}while(1){g=c;s=gi(b,61);_a:{if(!s){break _a}L[s|0]=0;c=18704;d=N[g>>2];b=d;while(1){$a:{q=O[O[c|0]+25936|0];h=O[b|0];e=O[h+25936|0];if(!h){break $a}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}h=s+1|0;c=18572;b=d;ab:{if((e|0)==(q|0)){y=i,z=yb(h),N[y+36>>2]=z;break ab}while(1){bb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break bb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=18713;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+40>>2]=z;break ab}while(1){cb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break cb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=18581;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+92>>2]=z;break ab}while(1){db:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break db}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=11980;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+96>>2]=z;break ab}while(1){eb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break eb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=15956;b=d;if((e|0)==(q|0)){y=i,A=pb(h,0),S[y+48>>3]=A;break ab}while(1){fb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break fb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}c=8259;b=d;if((e|0)==(q|0)){y=i,z=yb(h),N[y+56>>2]=z;break ab}while(1){gb:{q=O[O[c|0]+25936|0];m=O[b|0];e=O[m+25936|0];if(!m){break gb}c=c+1|0;b=b+1|0;if((e|0)==(q|0)){continue}}break}b=14675;c=h;f=d;if((e|0)==(q|0)){while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}hb:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break hb}}b=(Kb(c,0)|0)>0}N[i+60>>2]=b;break ab}while(1){ib:{q=O[O[b|0]+25936|0];c=O[f|0];e=O[c+25936|0];if(!c){break ib}b=b+1|0;f=f+1|0;if((e|0)==(q|0)){continue}}break}b=8116;c=h;if((e|0)==(q|0)){while(1){b=O[c|0];if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;continue}break}jb:{if(!((O[c|0]&223)!=89|(O[c+1|0]&223)!=69)){b=1;if((O[c+2|0]&223)==83){break jb}}b=(Kb(c,0)|0)>0}N[i+64>>2]=b;break ab}while(1){kb:{q=O[O[b|0]+25936|0];c=O[d|0];e=O[c+25936|0];if(!c){break kb}b=b+1|0;d=d+1|0;if((e|0)==(q|0)){continue}}break}if((e|0)!=(q|0)){break ab}y=i,z=ro(h),N[y+72>>2]=z}q=N[g>>2];r=gi(q,46);if(r){L[r|0]=0;q=r+1|0;e=N[g>>2]}else{e=0}if(N[i>>2]>0){d=0;while(1){m=N[i+16>>2];lb:{if(e){c=N[m+T(d,144)>>2];b=e;while(1){mb:{f=O[O[b|0]+25936|0];j=O[c|0];l=O[j+25936|0];if(!j){break mb}b=b+1|0;c=c+1|0;if((f|0)==(l|0)){continue}}break}if((f|0)!=(l|0)){break lb}}c=15901;b=q;while(1){nb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break nb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11798;b=q;if((f|0)==(l|0)){b=Hb(h);if(!b){break lb}c=m+T(d,144)|0;_a(N[c+4>>2]);N[c+4>>2]=b;break lb}while(1){ob:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break ob}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11812;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){pb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break pb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11839;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){qb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break qb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11828;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){rb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break rb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=13334;b=q;if((f|0)==(l|0)){b=yb(h);N[(m+T(d,144)|0)+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break lb}while(1){sb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break sb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15426;b=q;if((f|0)==(l|0)){b=m+T(d,144)|0;c=yb(h);c=(c|0)>=255?255:c;c=(c|0)>0?c:0;L[b+20|0]=c;L[b+16|0]=c;L[b+24|0]=c;L[b+28|0]=c;break lb}while(1){tb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break tb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=16733;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+8>>3]=A;break lb}while(1){ub:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break ub}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=17754;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+32>>2]=z;break lb}while(1){vb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break vb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15749;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+36>>2]=z;break lb}while(1){wb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break wb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=8720;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+40>>2]=z;break lb}while(1){xb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break xb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15170;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+44>>2]=z;break lb}while(1){yb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break yb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=16029;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+64>>3]=A;break lb}while(1){zb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break zb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15944;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+72>>3]=A;break lb}while(1){Ab:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Ab}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=9279;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+80>>2]=z;break lb}while(1){Bb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Bb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=7942;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+104>>2]=z;break lb}while(1){Cb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Cb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=19806;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+136>>2]=z;break lb}while(1){Db:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Db}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=19589;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+108>>2]=z;break lb}while(1){Eb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Eb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=19116;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+112>>2]=z;break lb}while(1){Fb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Fb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15161;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+116>>2]=z;break lb}while(1){Gb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Gb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=18724;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,z=yb(h),N[y+120>>2]=z;break lb}while(1){Hb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Hb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=18592;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+48>>3]=A;break lb}while(1){Ib:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Ib}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=15741;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+56>>3]=A;break lb}while(1){Jb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Jb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=8274;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+88>>3]=A;break lb}while(1){Kb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Kb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}c=11871;b=q;if((f|0)==(l|0)){y=m+T(d,144)|0,A=pb(h,0),S[y+96>>3]=A;break lb}while(1){Lb:{f=O[O[c|0]+25936|0];j=O[b|0];l=O[j+25936|0];if(!j){break Lb}c=c+1|0;b=b+1|0;if((f|0)==(l|0)){continue}}break}if((f|0)!=(l|0)){break lb}y=m+T(d,144)|0,A=pb(h,0),S[y+128>>3]=A}d=d+1|0;if((d|0)>2]){continue}break}}L[s|0]=61;if(!r){break _a}L[r|0]=46}c=g+4|0;b=N[g+4>>2];if(b){continue}break}r=N[i+8>>2]}_a(u);b=N[i>>2];N[o+4>>2]=r;N[o>>2]=b;mb(v,4,22689,o);q=i}La=o+352|0;N[a+660>>2]=q;if(!q){vd(25005,32,1,588952);ha(4);B()}So(a,0);N[a+664>>2]=N[N[a+660>>2]+72>>2]}function zq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!(O[a+16|0]&16)){N[a+72>>2]=0;N[a+64>>2]=0;M[a+62>>1]=1;N[a+84>>2]=N[a+80>>2];f=a- -64|0;j=N[a+68>>2];b:{c:{d:{d=N[a+44>>2];if((d|0)<=1299145832){if((d|0)>1198879348){break d}if((d|0)>1147500128){break c}if((d|0)!=1113943655){if((d|0)!=1114792296|j>>>0<2){break b}e=1;e:{while(1){if(!O[a+60|0]){break b}c=69688;f:{g:{h:{i:{j:{k:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-69637|0){case 0:break i;case 10:break j;case 6:break k;default:break h}}c=69694;break i}c=69698}i=N[T(e,20)+d>>2];l:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];m:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break m}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break l}e=N[a+84>>2];d=N[a+80>>2]}n:{if((d|0)!=(e|0)){break n}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break n}if(!O[a+62|0]){break f}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break n}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break g}Xb(a);break g}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];o:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break o}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break g}c=N[a+84>>2];d=N[a+80>>2]}p:{if((d|0)!=(c|0)){break p}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break p}if(!O[a+62|0]){break e}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break p}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}e=1;q:{while(1){if(!O[a+60|0]){break b}c=2494;r:{s:{t:{u:{v:{w:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-2437|0){case 0:break u;case 7:break v;case 6:break w;default:break t}}c=2499;break u}c=2530}i=N[T(e,20)+d>>2];x:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];y:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break y}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break x}e=N[a+84>>2];d=N[a+80>>2]}z:{if((d|0)!=(e|0)){break z}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break z}if(!O[a+62|0]){break r}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break z}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break s}Xb(a);break s}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];A:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break A}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break s}c=N[a+84>>2];d=N[a+80>>2]}B:{if((d|0)!=(c|0)){break B}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break B}if(!O[a+62|0]){break q}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break B}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break b}break}break a}break a}if((d|0)<=1415670641){C:{D:{switch(d-1399418468|0){default:if((d|0)==1299145833){break C}if((d|0)!=1332902241|j>>>0<2){break b}e=1;while(1){if(!O[a+60|0]){break b}c=2878;E:{F:{G:{H:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-2821|0){case 0:break G;case 10:case 14:break H;default:break F}}c=2903}i=N[T(e,20)+d>>2];I:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];J:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break J}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break I}e=N[a+84>>2];d=N[a+80>>2]}K:{if((d|0)!=(e|0)){break K}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break K}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break K}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break E}Xb(a);break E}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];L:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break L}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break E}c=N[a+84>>2];d=N[a+80>>2]}M:{if((d|0)!=(c|0)){break M}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break M}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break M}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break};break b;case 4:if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}N:{O:{P:{Q:{R:{S:{T:{U:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-3461|0){case 0:break R;case 12:break S;case 8:break T;case 6:case 10:case 15:break U;default:break O}}c=N[T(c,20)+d>>2]==3551;break Q}c=N[T(c,20)+d>>2]==3544;break Q}c=N[T(c,20)+d>>2]-3530|0;if(c>>>0>20|!(1<>2]==(d|0)){d=b;if((b|0)==N[a+72>>2]){break V}}if(!xd(a)){break P}b=N[a+80>>2]+T(N[a+64>>2],20)|0;d=N[b+4>>2];c=N[a+84>>2]+T(N[a+72>>2],20)|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[a+64>>2];d=N[a+72>>2]}N[a+72>>2]=d+1}N[f>>2]=b+1;Xb(a);break N}c=N[T(c,20)+d>>2]-3535>>>0<3}W:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];X:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break X}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break W}e=N[a+84>>2];d=N[a+80>>2]}Y:{if((d|0)!=(e|0)){break Y}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Y}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Y}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break N}}Xb(a);break N}if(O[a+62|0]){Z:{if(N[a+84>>2]==(d|0)){d=b;if((b|0)==N[a+72>>2]){break Z}}if(!xd(a)){break N}b=N[a+80>>2]+T(N[a+64>>2],20)|0;d=N[b+4>>2];c=N[a+84>>2]+T(N[a+72>>2],20)|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[a+64>>2];d=N[a+72>>2]}N[a+72>>2]=d+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break};break b;case 1:case 2:case 3:break b;case 0:break D}}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}_:{$:{d=N[a+80>>2];if(N[d+T(b,20)>>2]!=70320){break $}c=N[T(c,20)+d>>2];if(c-70373>>>0>=4&(c|0)!=70368){break $}aa:{if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];ba:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break ba}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break aa}c=N[a+84>>2];d=N[a+80>>2]}ca:{if((d|0)!=(c|0)){break ca}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ca}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ca}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}Xb(a);break _}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];da:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break da}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break _}c=N[a+84>>2];d=N[a+80>>2]}ea:{if((d|0)!=(c|0)){break ea}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ea}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ea}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}d=N[a+80>>2];fa:{if((N[d+T(b,20)>>2]&-2)==71168){g=N[T(c,20)+d>>2];ga:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];ha:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break ha}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ga}e=N[a+84>>2];d=N[a+80>>2]}ia:{if((d|0)!=(e|0)){break ia}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break ia}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break ia}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if(g-71225>>>0>1){break fa}Xb(a);break fa}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];ja:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break ja}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break fa}c=N[a+84>>2];d=N[a+80>>2]}ka:{if((d|0)!=(c|0)){break ka}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ka}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ka}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if((d|0)<=1415933044){if((d|0)!=1415670642){if((d|0)!=1415671148|j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}d=N[a+80>>2];la:{if(N[d+T(b,20)>>2]==2949){g=N[T(c,20)+d>>2];ma:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];na:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break na}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ma}e=N[a+84>>2];d=N[a+80>>2]}oa:{if((d|0)!=(e|0)){break oa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break oa}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break oa}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if((g|0)!=3010){break la}Xb(a);break la}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];pa:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break pa}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break la}c=N[a+84>>2];d=N[a+80>>2]}qa:{if((d|0)!=(c|0)){break qa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break qa}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break qa}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}ra:{sa:{ta:{ua:{va:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-71296|0){case 6:break ua;case 0:break va;default:break sa}}c=N[T(c,20)+d>>2]-71341|0;if(c>>>0>8|!(1<>2];c=N[a+84>>2];wa:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break wa}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ta}c=N[a+84>>2];d=N[a+80>>2]}xa:{if((d|0)!=(c|0)){break xa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break xa}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break xa}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1;Xb(a);break ra}g=N[T(c,20)+d>>2];ya:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];za:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break za}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ya}e=N[a+84>>2];d=N[a+80>>2]}Aa:{if((d|0)!=(e|0)){break Aa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Aa}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Aa}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if((g|0)!=71346){break ra}}Xb(a);break ra}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Ba:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Ba}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ra}c=N[a+84>>2];d=N[a+80>>2]}Ca:{if((d|0)!=(c|0)){break Ca}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Ca}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Ca}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}break b}if((d|0)!=1415933045){if((d|0)!=1416196712|j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}Da:{Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{Ka:{d=N[a+80>>2];e=N[d+T(b,20)>>2];switch(e-70785|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 11:break Ha;case 10:case 12:break Ja;case 0:break Ka;default:break Ia}}c=N[T(c,20)+d>>2]==70832;break Fa}c=N[T(c,20)+d>>2]==70842;break Fa}if((e|0)==70826){break Ga}}La:{if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Ma:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Ma}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Ea}c=N[a+84>>2];d=N[a+80>>2]}Na:{if((d|0)!=(c|0)){break Na}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Na}if(!O[a+62|0]){break La}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Na}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1;break Ea}break a}c=N[T(c,20)+d>>2]-70837>>>0<2}Oa:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];Pa:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break Pa}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Oa}e=N[a+84>>2];d=N[a+80>>2]}Qa:{if((d|0)!=(e|0)){break Qa}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Qa}if(!O[a+62|0]){break Da}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Qa}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break Ea}Xb(a)}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}if(j>>>0<2){break b}c=1;Ra:{while(1){if(!O[a+60|0]){break b}Sa:{Ta:{Ua:{d=N[a+80>>2];g=N[d+T(b,20)>>2];e=g-3135|0;Va:{if(!(e>>>0>11|!(1<>2]==3157;break Va}if((g|0)!=3090){break Ua}c=N[T(c,20)+d>>2];c=(c|0)==3148|(c|0)==3157}Wa:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];Xa:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break Xa}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Wa}e=N[a+84>>2];d=N[a+80>>2]}Ya:{if((d|0)!=(e|0)){break Ya}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Ya}if(!O[a+62|0]){break Sa}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Ya}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break Ta}Xb(a);break Ta}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Za:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Za}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Ta}c=N[a+84>>2];d=N[a+80>>2]}_a:{if((d|0)!=(c|0)){break _a}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break _a}if(!O[a+62|0]){break Ra}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break _a}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if((d|0)<=1265525856){if((d|0)!=1198879349){if((d|0)!=1265135466|j>>>0<2){break b}c=1;$a:{while(1){if(!O[a+60|0]){break b}ab:{bb:{cb:{db:{eb:{fb:{gb:{hb:{ib:{d=N[a+80>>2];e=N[d+T(b,20)>>2];switch(e-70144|0){case 1:case 2:case 3:case 4:case 5:break cb;case 6:break gb;case 0:break hb;default:break ib}}if((e|0)==70188){break fb}if((e|0)!=70208){break cb}c=N[T(c,20)+d>>2]==70190;break eb}c=N[T(c,20)+d>>2]-70188|0;if(c>>>0>7|!(1<>2]==(d|0)){d=b;if((b|0)==N[a+72>>2]){break jb}}if(!xd(a)){break db}b=N[a+80>>2]+T(N[a+64>>2],20)|0;d=N[b+4>>2];c=N[a+84>>2]+T(N[a+72>>2],20)|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[a+64>>2];d=N[a+72>>2]}N[a+72>>2]=d+1}N[f>>2]=b+1;Xb(a);break bb}c=N[T(c,20)+d>>2]==70188;break eb}c=(N[T(c,20)+d>>2]&-2)==70192}kb:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];lb:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break lb}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break kb}e=N[a+84>>2];d=N[a+80>>2]}mb:{if((d|0)!=(e|0)){break mb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break mb}if(!O[a+62|0]){break ab}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break mb}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break bb}}Xb(a);break bb}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];nb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break nb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break bb}c=N[a+84>>2];d=N[a+80>>2]}ob:{if((d|0)!=(c|0)){break ob}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ob}if(!O[a+62|0]){break $a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ob}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}pb:{qb:{rb:{sb:{tb:{ub:{vb:{d=N[a+80>>2];e=N[d+T(b,20)>>2];switch(e-2674|0){case 1:break tb;case 0:break ub;default:break vb}}if((e|0)!=2565){break rb}c=N[T(c,20)+d>>2]-2622|0;if(c>>>0>14|!(1<>2]-2623|0;if(c>>>0>8){break rb}if(1<>2]-2625|0;if(c>>>0>10|!(1<>2];c=N[a+84>>2];yb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break yb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break xb}c=N[a+84>>2];d=N[a+80>>2]}zb:{if((d|0)!=(c|0)){break zb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break zb}if(!O[a+62|0]){break wb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break zb}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}Xb(a);break qb}break a}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Ab:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Ab}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break qb}c=N[a+84>>2];d=N[a+80>>2]}Bb:{if((d|0)!=(c|0)){break Bb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Bb}if(!O[a+62|0]){break pb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Bb}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}if((d|0)!=1265525857){if((d|0)!=1298954605|j>>>0<2){break b}c=1;Cb:{while(1){if(!O[a+60|0]){break b}Db:{Eb:{Fb:{Gb:{Hb:{Ib:{Jb:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-3335|0){case 11:break Hb;case 7:break Ib;case 0:case 2:break Jb;default:break Fb}}c=N[T(c,20)+d>>2]==3415;break Gb}c=N[T(c,20)+d>>2]==3398;break Gb}c=N[T(c,20)+d>>2];c=(c|0)==3390|(c|0)==3415}Kb:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];Lb:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break Lb}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Kb}e=N[a+84>>2];d=N[a+80>>2]}Mb:{if((d|0)!=(e|0)){break Mb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Mb}if(!O[a+62|0]){break Db}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Mb}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(!c){break Eb}Xb(a);break Eb}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Nb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Nb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Eb}c=N[a+84>>2];d=N[a+80>>2]}Ob:{if((d|0)!=(c|0)){break Ob}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Ob}if(!O[a+62|0]){break Cb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Ob}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}e=1;Pb:{while(1){if(!O[a+60|0]){break b}c=3262;Qb:{Rb:{Sb:{Tb:{Ub:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-3209|0){case 0:case 2:break Tb;case 9:break Ub;default:break Sb}}c=3276}i=N[T(e,20)+d>>2];Vb:{if(O[a+62|0]){g=N[a+72>>2];e=N[a+84>>2];Wb:{if((e|0)==(d|0)){h=b;if((b|0)==(g|0)){break Wb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Vb}e=N[a+84>>2];d=N[a+80>>2]}Xb:{if((d|0)!=(e|0)){break Xb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Xb}if(!O[a+62|0]){break Qb}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Xb}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if((c|0)!=(i|0)){break Rb}Xb(a);break Rb}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Yb:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Yb}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break Rb}c=N[a+84>>2];d=N[a+80>>2]}Zb:{if((d|0)!=(c|0)){break Zb}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Zb}if(!O[a+62|0]){break Pb}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Zb}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];e=b+1|0;if(j>>>0>e>>>0){continue}break b}break}break a}break a}if((d|0)!=1147500129){if((d|0)!=1198877298|j>>>0<2){break b}c=1;_b:{while(1){if(!O[a+60|0]){break b}$b:{ac:{bc:{d=N[a+80>>2];e=N[d+T(b,20)>>2];cc:{if((e|0)!=2757){if((e|0)!=2693){break bc}c=N[T(c,20)+d>>2]-2750|0;if(c>>>0>14|!(1<>2];c=N[a+84>>2];dc:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break dc}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break cc}c=N[a+84>>2];d=N[a+80>>2]}ec:{if((d|0)!=(c|0)){break ec}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break ec}if(!O[a+62|0]){break $b}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break ec}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1;Xb(a);break ac}g=N[T(c,20)+d>>2];fc:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];gc:{if((e|0)==(d|0)){c=b;if((b|0)==(i|0)){break gc}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break fc}e=N[a+84>>2];d=N[a+80>>2]}hc:{if((d|0)!=(e|0)){break hc}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break hc}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break hc}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+e|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];c=N[a+72>>2]}N[a+72>>2]=c+1}N[f>>2]=b+1}if((g|0)!=2750){break ac}}Xb(a);break ac}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];ic:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break ic}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break ac}c=N[a+84>>2];d=N[a+80>>2]}jc:{if((d|0)!=(c|0)){break jc}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break jc}if(!O[a+62|0]){break _b}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break jc}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break b}break}break a}break a}if(j>>>0<2){break b}c=1;while(1){if(!O[a+60|0]){break b}kc:{lc:{mc:{nc:{oc:{pc:{qc:{rc:{sc:{tc:{uc:{vc:{wc:{xc:{d=N[a+80>>2];switch(N[d+T(b,20)>>2]-2309|0){case 4:break sc;case 43:break uc;case 10:break vc;case 1:break wc;case 0:break xc;default:break lc}}c=N[T(c,20)+d>>2]-2362|0;if(c>>>0>29|!(1<>2];if(c-2373>>>0<4|(c|0)==2362){break tc}break lc}c=N[T(c,20)+d>>2]-2373>>>0<3;break rc}if(N[T(c,20)+d>>2]!=2381){break lc}c=b+2|0;if(c>>>0>=j>>>0|N[T(c,20)+d>>2]!=2311){break lc}Og(a)}if(!O[a+62|0]){break nc}d=N[a+84>>2];c=N[a+80>>2];b=N[a+72>>2];if((d|0)==(c|0)&(b|0)==N[f>>2]){break oc}b=b+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break mc}c=N[a+80>>2];d=N[a+84>>2]}if((d|0)!=(c|0)){break pc}b=N[a+72>>2];if(b+1>>>0>N[f>>2]+1>>>0){break qc}d=c;break pc}c=N[T(c,20)+d>>2]==2369}yc:{if(O[a+62|0]){i=N[a+72>>2];e=N[a+84>>2];zc:{if((e|0)==(d|0)){h=b;if((b|0)==(i|0)){break zc}}b=i+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break yc}e=N[a+84>>2];d=N[a+80>>2]}Ac:{if((d|0)!=(e|0)){break Ac}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){e=d;break Ac}if(!O[a+62|0]){break a}e=N[a+88>>2];N[a+84>>2]=e;b=T(b,20);if(!b){break Ac}F(e,d,b);e=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];e=T(N[a+72>>2],20)+e|0;N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[f>>2];h=N[a+72>>2]}N[a+72>>2]=h+1}N[f>>2]=b+1}if(c){break mc}break kc}if(!O[a+62|0]){break a}d=N[a+88>>2];N[a+84>>2]=d;b=T(b,20);if(!b){break pc}F(d,c,b);d=N[a+84>>2];c=N[a+80>>2]}e=T(N[a+72>>2],20)+d|0;b=T(N[f>>2],20)+c|0;d=N[b+4>>2];N[e>>2]=N[b>>2];N[e+4>>2]=d;N[e+16>>2]=N[b+16>>2];d=N[b+12>>2];N[e+8>>2]=N[b+8>>2];N[e+12>>2]=d;b=N[a+72>>2]}N[a+72>>2]=b+1}N[f>>2]=N[f>>2]+1}Xb(a);break kc}if(O[a+62|0]){g=N[a+72>>2];c=N[a+84>>2];Bc:{if((c|0)==(d|0)){e=b;if((b|0)==(g|0)){break Bc}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break kc}c=N[a+84>>2];d=N[a+80>>2]}Cc:{if((d|0)!=(c|0)){break Cc}b=N[a+72>>2];if(b+1>>>0<=N[f>>2]+1>>>0){c=d;break Cc}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break Cc}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[f>>2],20)+d|0;d=N[b+4>>2];c=T(N[a+72>>2],20)+c|0;N[c>>2]=N[b>>2];N[c+4>>2]=d;N[c+16>>2]=N[b+16>>2];d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;b=N[f>>2];e=N[a+72>>2]}N[a+72>>2]=e+1}N[f>>2]=b+1}b=N[f>>2];c=b+1|0;if(j>>>0>c>>>0){continue}break}}Ac(a)}return}ba(8694,17855,209,11932);B()}function ME(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=La-240|0;La=d;a:{b:{c:{b=O[c+140|0];if(!(b&8)){L[c+140|0]=b|8;N[d+236>>2]=c;e=N[c+80>>2];N[d+232>>2]=e;h=e;d:{e:{k=N[c+68>>2];if(k){h=e+T(k,20)|0;b=e;f=k;while(1){if(O[b+18|0]!=6){break e}b=b+20|0;n=n+1|0;f=f-1|0;if(f){continue}break}}j=d+236|0;p=d+232|0;f=0;n=k;i=k;break d}j=d+236|0;p=d+232|0;i=n;while(1){h=i;if(O[b+18|0]!=14){h=b;break d}while(1){h=h+1|0;if(k>>>0<=h>>>0){h=b;break d}o=e+T(h,20)|0;if(O[o+18|0]==6){continue}break}g=f;if(!(1<>1]&7168)){h=b;break d}while(1){i=i+1|0;h=(g|0)!=0;n=h+n|0;f=g-h|0;b=T(h,20)+b|0;if((g|0)!=(h|0)){g=f;if(O[b+18|0]==6){continue}}break}if(f){continue}break}h=b;f=0}L[d+224|0]=0;N[d+220>>2]=242957;N[d+212>>2]=j;N[d+216>>2]=p;N[d+208>>2]=242956;N[d+200>>2]=n;N[d+196>>2]=f;N[d+192>>2]=h;N[d+176>>2]=0;N[d+180>>2]=1;N[d+184>>2]=i;N[d+188>>2]=1;if(!f){break c}j=i;g=h;p=f;while(1){b=p;f:{while(1){j=j+1|0;n=(b|0)!=0;p=b-n|0;g=T(n,20)+g|0;if((b|0)!=(n|0)){b=p;if(O[g+18|0]==6){continue}}if(!p){break f}b=j;g:{if(O[g+18|0]!=14){break g}while(1){b=b+1|0;if(k>>>0<=b>>>0){break g}n=e+T(b,20)|0;if(O[n+18|0]==6){continue}break}b=p;if(1<>1]&7168){continue}}break}m=m+1|0;continue}break}j=-1;n=0;h:{i:{switch(m+2|0){default:j=m+1|0;case 0:g=f;p=j;while(1){p=p-1|0;b=g;while(1){i=i+1|0;n=(b|0)!=0;g=b-n|0;h=T(n,20)+h|0;if((b|0)!=(n|0)){b=g;if(O[h+18|0]==6){continue}}if(!g){break h}b=i;j:{if(O[h+18|0]!=14){break j}while(1){b=b+1|0;if(k>>>0<=b>>>0){break j}n=e+T(b,20)|0;if(O[n+18|0]==6){continue}break}b=g;if(1<>1]&7168){continue}}break}if(p){continue}break};n=j;break;case 1:break i}}j=N[d+220>>2];b=N[d+216>>2];N[d+160>>2]=b;N[d+164>>2]=j;k=N[d+212>>2];e=N[d+208>>2];N[d+152>>2]=e;N[d+156>>2]=k;m=N[d+204>>2];g=N[d+200>>2];N[d+144>>2]=g;N[d+148>>2]=m;o=N[d+196>>2];i=N[d+192>>2];N[d+136>>2]=i;N[d+140>>2]=o;l=N[d+188>>2];h=N[d+184>>2];N[d+128>>2]=h;N[d+132>>2]=l;q=N[d+180>>2];p=N[d+176>>2];N[d+120>>2]=p;N[d+124>>2]=q;N[d+104>>2]=b;N[d+108>>2]=j;N[d+96>>2]=e;N[d+100>>2]=k;N[d+88>>2]=g;N[d+92>>2]=m;N[d+80>>2]=i;N[d+84>>2]=o;N[d+72>>2]=h;N[d+76>>2]=l;N[d+64>>2]=p;N[d+68>>2]=q;L[d+112|0]=1;L[d+168|0]=1;break a}b=N[d+220>>2];N[d+160>>2]=N[d+216>>2];N[d+164>>2]=b;b=N[d+212>>2];N[d+152>>2]=N[d+208>>2];N[d+156>>2]=b;b=N[d+204>>2];N[d+144>>2]=N[d+200>>2];N[d+148>>2]=b;b=N[d+196>>2];N[d+136>>2]=N[d+192>>2];N[d+140>>2]=b;b=N[d+188>>2];N[d+128>>2]=N[d+184>>2];N[d+132>>2]=b;b=N[d+180>>2];N[d+120>>2]=N[d+176>>2];N[d+124>>2]=b;break b}ba(22778,14165,169,12138);B()}b=N[d+220>>2];N[d+160>>2]=N[d+216>>2];N[d+164>>2]=b;b=N[d+212>>2];N[d+152>>2]=N[d+208>>2];N[d+156>>2]=b;b=N[d+204>>2];N[d+144>>2]=N[d+200>>2];N[d+148>>2]=b;b=N[d+196>>2];N[d+136>>2]=N[d+192>>2];N[d+140>>2]=b;b=N[d+188>>2];N[d+128>>2]=N[d+184>>2];N[d+132>>2]=b;b=N[d+180>>2];N[d+120>>2]=N[d+176>>2];N[d+124>>2]=b;j=0}n=j;N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;b=N[d+220>>2];N[d+104>>2]=N[d+216>>2];N[d+108>>2]=b;b=N[d+212>>2];N[d+96>>2]=N[d+208>>2];N[d+100>>2]=b;b=N[d+204>>2];N[d+88>>2]=N[d+200>>2];N[d+92>>2]=b;b=N[d+196>>2];N[d+80>>2]=N[d+192>>2];N[d+84>>2]=b;b=N[d+188>>2];N[d+72>>2]=N[d+184>>2];N[d+76>>2]=b;b=N[d+180>>2];N[d+64>>2]=N[d+176>>2];N[d+68>>2]=b;s=1;L[d+168|0]=1;L[d+112|0]=1;N[147460]=0}p=0;j=1;b=!n;while(1){k:{l:{m:{if(!b){if(O[p+248640|0]==2){bc(d+120|0,d+176|0);f=N[d+196>>2]}g=p<<1;i=M[g+247712>>1]+243216|0;e=L[p+247968|0];b=O[g+242960|0];n:{o:{if(!f){h=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;if(!b){break o}break n}h=O[N[d+192>>2]+18|0];if(b>>>0>h>>>0|O[g+242961|0]>>0){break n}}e=h-b|0}b=O[e+i|0];break m}if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if(s){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if(!p){break l}b=M[(p<<1)+248384>>1]-1|0}p=L[b+248096|0];b=L[b+248240|0];if(!b){break k}p:{switch(b-3|0){case 9:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}q:{if(!g){g=0;break q}if(O[h+18|0]!=14){break q}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break q}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 7:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}r:{if(!g){g=0;break r}if(O[h+18|0]!=14){break r}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break r}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|1;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 5:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}s:{if(!g){g=0;break s}if(O[h+18|0]!=14){break s}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break s}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|2;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 13:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}t:{if(!g){g=0;break t}if(O[h+18|0]!=14){break t}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break t}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|3;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 11:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}u:{if(!g){g=0;break u}if(O[h+18|0]!=14){break u}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break u}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 3:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}v:{if(!g){g=0;break v}if(O[h+18|0]!=14){break v}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break v}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|5;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 17:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}w:{if(!g){g=0;break w}if(O[h+18|0]!=14){break w}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break w}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|6;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 1:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}x:{if(!g){g=0;break x}if(O[h+18|0]!=14){break x}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break x}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|7;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=N[d+236>>2];N[b+144>>2]=N[b+144>>2]|64;b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 0:b=N[d+196>>2];N[d+24>>2]=N[d+192>>2];N[d+28>>2]=b;b=N[d+220>>2];N[d+48>>2]=N[d+216>>2];N[d+52>>2]=b;b=N[d+212>>2];N[d+40>>2]=N[d+208>>2];N[d+44>>2]=b;b=N[d+204>>2];N[d+32>>2]=N[d+200>>2];N[d+36>>2]=b;b=N[d+188>>2];N[d+16>>2]=N[d+184>>2];N[d+20>>2]=b;e=N[d+180>>2];b=N[d+176>>2];N[d+8>>2]=b;N[d+12>>2]=e;L[d+56|0]=O[d+224|0];N[d+8>>2]=b+N[d+12>>2];e=N[d+28>>2];if(e){h=N[d+24>>2];i=N[d+32>>2];k=N[d+20>>2];m=N[d+48>>2];o=N[d+44>>2];f=N[d+16>>2];while(1){f=f+k|0;b=(e|0)!=0;i=b+i|0;g=e-b|0;h=T(b,20)+h|0;if((b|0)!=(e|0)){e=g;if(O[h+18|0]==6){continue}}y:{if(!g){g=0;break y}if(O[h+18|0]!=14){break y}e=N[N[o>>2]+68>>2];b=f;while(1){b=b+1|0;if(e>>>0<=b>>>0){break y}l=N[m>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}e=g;if(1<>1]&7168){continue}}break}N[d+32>>2]=i;N[d+28>>2]=g;N[d+16>>2]=f;N[d+24>>2]=h}bc(d- -64|0,d+8|0);b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|8;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 8:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;z:{if(!h){break z}A:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break A;default:break z}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break z}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 6:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;B:{if(!h){break B}C:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break C;default:break B}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break B}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|1;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 4:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;D:{if(!h){break D}E:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break E;default:break D}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break D}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|2;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 12:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;F:{if(!h){break F}G:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break G;default:break F}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break F}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|3;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 10:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;H:{if(!h){break H}I:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break I;default:break H}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break H}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|4;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 2:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;J:{if(!h){break J}K:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break K;default:break J}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break J}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|5;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 16:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;L:{if(!h){break L}M:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break M;default:break L}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break L}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|6;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 14:bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;N:{if(!h){break N}O:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break O;default:break N}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break N}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break};b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|7;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=N[d+236>>2];N[b+144>>2]=N[b+144>>2]|64;b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}};case 15:break p;default:break k}}bc(d- -64|0,d+176|0);N[d+176>>2]=N[d+176>>2]-N[d+180>>2];g=N[d+192>>2];h=N[d+196>>2];f=N[d+200>>2];i=N[d+184>>2];e=N[d+188>>2];k=N[d+216>>2];m=N[d+212>>2];while(1){i=i-e|0;N[d+184>>2]=i;b=(f|0)!=0;f=f-b|0;N[d+200>>2]=f;h=b+h|0;N[d+196>>2]=h;g=T(b,-20)+g|0;N[d+192>>2]=g;P:{if(!h){break P}Q:{switch(O[g+18|0]-6|0){case 0:continue;case 8:break Q;default:break P}}o=N[N[m>>2]+68>>2];b=i;while(1){b=b+1|0;if(o>>>0<=b>>>0){break P}l=N[k>>2]+T(b,20)|0;if(O[l+18|0]==6){continue}break}if(1<>1]&7168){continue}}break}b=N[d+128>>2];if(!N[d+140>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[d+72>>2];e=b>>>0>e>>>0?b:e;g=j<<4|8;f=N[d+84>>2];while(1){if(!f){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((b|0)==(e|0)){b=j+1|0;j=(b|0)==16?1:b;break k}else{L[(N[d+232>>2]+T(b,20)|0)+15|0]=g;b=b+1|0;continue}}}R:{S:{p=N[c+68>>2];if(p){l=p-1|0;n=N[c+80>>2];k=n+3|0;b=0;e=O[n+15|0];while(1){T:{if((b|0)==(l|0)){b=p;break T}b=b+1|0;if((e|0)==O[(T(b,20)+k|0)+12|0]){continue}}break}h=0;while(1){j=b;e=N[c+68>>2];m=b>>>0>e>>>0?e:b;o=m-h|0;U:{if(o>>>0<2){break U}g=N[c+144>>2]|32;N[c+144>>2]=g;if(h>>>0>=m>>>0){break U}b=-1;e=h;q=m+(e^-1)|0;if(q>>>0>=3){s=o&-4;i=0;while(1){f=T(e,20)+n|0;r=N[f+8>>2];b=b>>>0>>0?b:r;r=N[f+28>>2];b=b>>>0>>0?b:r;r=N[f+48>>2];b=b>>>0>>0?b:r;f=N[f+68>>2];b=b>>>0>>0?b:f;e=e+4|0;i=i+4|0;if((s|0)!=(i|0)){continue}break}}f=0;i=o&3;if(i){while(1){s=N[(T(e,20)+n|0)+8>>2];b=b>>>0>>0?b:s;e=e+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(o&1){e=T(h,20)+n|0;if(N[e+8>>2]!=(b|0)){N[e+4>>2]=N[e+4>>2]|3}h=h+1|0}if(!q){break U}while(1){e=T(h,20)+n|0;if(N[e+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[e+4>>2]=N[e+4>>2]|3}e=T(h+1|0,20)+n|0;if(N[e+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[e+4>>2]=N[e+4>>2]|3}h=h+2|0;if((m|0)!=(h|0)){continue}break}}b=j+1|0;e=b>>>0

>>0?p:b;g=e-1|0;f=O[(T(j,20)+k|0)+12|0];b=j;while(1){V:{if((b|0)==(g|0)){b=e;break V}b=b+1|0;if((f|0)==O[(T(b,20)+k|0)+12|0]){continue}}break}h=j;if(p>>>0>h>>>0){continue}break}break S}j=N[a+112>>2];break R}j=N[a+112>>2];f=N[j>>2];if(!f){break R}e=0;b=O[n+15|0];while(1){W:{if((e|0)==(l|0)){e=p;break W}e=e+1|0;if((b|0)==O[(T(e,20)+k|0)+12|0]){continue}}break}h=n+2|0;b=0;while(1){g=e;e=e-b|0;i=O[(h+T(b,20)|0)+16|0]==18?1:e>>>0>=3?3:e;m=i+b|0;X:{if(m>>>0<=b>>>0){break X}e=0;if(i){while(1){o=T(b,20)+n|0;N[o+4>>2]=f|N[o+4>>2];b=b+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(i-1>>>0<=2){break X}while(1){e=T(b,20)+n|0;N[e+4>>2]=f|N[e+4>>2];N[e+24>>2]=f|N[e+24>>2];N[e+44>>2]=f|N[e+44>>2];e=e- -64|0;N[e>>2]=f|N[e>>2];b=b+4|0;if((m|0)!=(b|0)){continue}break}}b=g+1|0;b=b>>>0

>>0?p:b;i=b-1|0;m=O[(T(g,20)+k|0)+12|0];e=g;while(1){Y:{if((e|0)==(i|0)){e=b;break Y}e=e+1|0;if((m|0)==O[(T(e,20)+k|0)+12|0]){continue}}break}b=g;if(p>>>0>b>>>0){continue}break}}Z:{if(N[j+4>>2]){break Z}b=N[a+44>>2];if((b|0)<=0){break Z}g=N[a+36>>2];a=N[a+48>>2];n=0;e=b-1|0;b=e;_:{while(1){f=b+n>>>1|0;i=N[a+T(f,36)>>2];$:{if(i>>>0<=1769172844){j=N[(a+T(f,36)|0)+28>>2];if((i|0)==1769172844){break _}n=f+1|0;break $}b=f-1|0}if((b|0)>=(n|0)){continue}break}j=0}b=j;n=0;i=(b|0)!=(g|0)?b:0;N[d+176>>2]=i;b=e;aa:{while(1){f=b+n>>>1|0;h=N[a+T(f,36)>>2];ba:{if(h>>>0<=1768843636){j=N[(a+T(f,36)|0)+28>>2];if((h|0)==1768843636){break aa}n=f+1|0;break ba}b=f-1|0}if((b|0)>=(n|0)){continue}break}j=0}b=j;n=0;b=(b|0)!=(g|0)?b:0;N[d+180>>2]=b;i=b|i;b=e;ca:{while(1){f=b+n>>>1|0;h=N[a+T(f,36)>>2];da:{if(h>>>0<=1835361385){j=N[(a+T(f,36)|0)+28>>2];if((h|0)==1835361385){break ca}n=f+1|0;break da}b=f-1|0}if((b|0)>=(n|0)){continue}break}j=0}f=j;b=0;f=(f|0)!=(g|0)?f:0;N[d+184>>2]=f;i=f|i;j=d;ea:{while(1){f=b+e>>>1|0;h=N[a+T(f,36)>>2];fa:{if(h>>>0<=1718185569){b=N[(a+T(f,36)|0)+28>>2];if((h|0)==1718185569){break ea}b=f+1|0;break fa}e=f-1|0}if((b|0)<=(e|0)){continue}break}b=0}a=b;a=(a|0)!=(g|0)?a:0;N[j+188>>2]=a;a=a|i;if(!a|!p){break Z}f=a^-1;a=p-1|0;h=N[c+80>>2];k=h+3|0;i=0;j=O[h+15|0];b=j;e=0;while(1){ga:{g=4;if((a|0)==(e|0)){e=p;break ga}e=e+1|0;if((b|0)==O[(k+T(e,20)|0)+12|0]){continue}}break}b=0;while(1){a=i;i=e;c=j&15;ha:{if(c>>>0>8){break ha}if(!(1<>>0<=b>>>0){break ia}c=a+(b^-1)|0;e=N[(d+176|((g|0)==3?8:4))>>2];g=a-b&3;if(g){n=0;while(1){j=h+T(b,20)|0;N[j+4>>2]=e|f&N[j+4>>2];b=b+1|0;n=n+1|0;if((g|0)!=(n|0)){continue}break}}if(c>>>0<3){break ia}while(1){c=h+T(b,20)|0;N[c+4>>2]=e|f&N[c+4>>2];N[c+24>>2]=e|f&N[c+24>>2];N[c+44>>2]=e|f&N[c+44>>2];c=c- -64|0;N[c>>2]=e|f&N[c>>2];b=b+4|0;if((a|0)!=(b|0)){continue}break}}ka:{if(a>>>0>=i>>>0){break ka}c=N[(d+176|m<<2)>>2];e=a;b=i-e&3;if(b){n=0;while(1){g=h+T(e,20)|0;N[g+4>>2]=c|f&N[g+4>>2];e=e+1|0;n=n+1|0;if((b|0)!=(n|0)){continue}break}}if((a^-1)+i>>>0<3){break ka}while(1){b=h+T(e,20)|0;N[b+4>>2]=c|f&N[b+4>>2];N[b+24>>2]=c|f&N[b+24>>2];N[b+44>>2]=c|f&N[b+44>>2];b=b- -64|0;N[b>>2]=c|f&N[b>>2];e=e+4|0;if((i|0)!=(e|0)){continue}break}}g=m}b=i+1|0;b=b>>>0

>>0?p:b;c=b-1|0;j=O[(k+T(i,20)|0)+12|0];e=i;while(1){la:{if((c|0)==(e|0)){e=b;break la}e=e+1|0;if((j|0)==O[(k+T(e,20)|0)+12|0]){continue}}break}b=a;if(i>>>0

>>0){continue}break}}La=d+240|0;return 0}if(O[p+248768|0]==1){L[d+168|0]=1}k=N[d+176>>2]+N[d+180>>2]|0;N[d+176>>2]=k;h=N[d+192>>2];i=N[d+200>>2];e=N[d+196>>2];g=N[d+184>>2];m=N[d+188>>2];o=N[d+216>>2];l=N[d+212>>2];ma:{na:{oa:{pa:{while(1){g=g+m|0;N[d+184>>2]=g;b=(e|0)!=0;i=b+i|0;N[d+200>>2]=i;f=e-b|0;N[d+196>>2]=f;h=T(b,20)+h|0;N[d+192>>2]=h;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}if(!f){break pa}if(O[h+18|0]!=14){break oa}e=N[N[l>>2]+68>>2];b=g;qa:{while(1){b=b+1|0;if(e>>>0<=b>>>0){break qa}q=N[o>>2]+T(b,20)|0;if(O[q+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}if(O[d+224|0]){break ma}break na}f=0;if(O[d+224|0]){break ma}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;break na}if(O[d+224|0]){break ma}}if(s){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((k|0)!=(n|0)){break ma}b=1;continue}b=0;continue}}function jj(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,q=U(0),r=0,s=0,t=0,u=U(0),v=0,w=0,x=U(0),y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;g=La-4528|0;La=g;a:{if(!N[a+44>>2]|Q[a+216>>2]<=c>>>0){break a}A=N[a+80>>2];b:{if((A|0)==275552){break b}c:{d:{switch(O[A|0]){case 0:l=(c+A|0)+1|0;break c;case 3:break d;default:break b}}e:{if(!(O[A+1|0]|O[A+2|0]<<8)){B=275552;v=0;break e}B=A+3|0;v=O[A+1|0]|O[A+2|0]<<8}D=(v<<8|(v&65280)>>>8)&65535;f:{if(D>>>0>=2){i=D-2|0;while(1){n=i+l>>>1|0;y=T(n,3)+B|0;z=O[y|0]|O[y+1|0]<<8;g:{if(((z<<8|z>>>8)&65535)>>>0<=c>>>0){l=O[y+3|0]|O[y+4|0]<<8;if(((l<<8|l>>>8)&65535)>>>0>c>>>0){break f}l=n+1|0;break g}i=n-1|0}if((i|0)>=(l|0)){continue}break}}if(!v){y=275552;break f}y=A+T(D,3)|0}l=y+2|0}i=O[l|0]}gd(g+4448|0,N[a+72>>2],c);z=N[(Q[a+208>>2]<=i>>>0?275552:N[a+212>>2]+T(i,24)|0)+20>>2];v=N[a+68>>2];L[g+32|0]=0;C(g+36|0,0,4108);c=g+4208|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4216>>2]=0;c=g+4228|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4236>>2]=0;c=g+4248|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4256>>2]=0;c=g+4268|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4276>>2]=0;c=g+4288|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4296>>2]=0;c=g+4308|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4316>>2]=0;N[g+4336>>2]=0;c=g+4328|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4356>>2]=0;c=g+4348|0;N[c>>2]=0;N[c+4>>2]=0;L[g+4180|0]=0;N[g+24>>2]=0;l=N[g+4452>>2];i=l;c=N[g+4448>>2];N[g+16>>2]=c;N[g+20>>2]=i;N[g+4376>>2]=0;l=g+4368|0;N[l>>2]=0;N[l+4>>2]=0;l=g+4192|0;N[l>>2]=0;N[l+4>>2]=0;l=g+4184|0;N[l>>2]=0;N[l+4>>2]=0;N[g+4160>>2]=0;l=g+4152|0;N[l>>2]=0;N[l+4>>2]=0;l=g+4416|0;N[l>>2]=0;N[l+4>>2]=0;N[g+4392>>2]=v;N[g+4144>>2]=c;N[g+4148>>2]=i;N[g+4176>>2]=0;N[g+4168>>2]=0;N[g+4172>>2]=0;L[g+4165|0]=1;L[g+4166|0]=0;N[g+4408>>2]=0;N[g+4412>>2]=0;B=107;l=107;h:{if(!v){break h}c=O[v|0]|O[v+1|0]<<8;c=(c<<8|c>>>8)&65535;l=107;if(c>>>0<1240){break h}l=c>>>0<33900?1131:32768}c=i;N[g+4400>>2]=z;N[g+4388>>2]=l;i:{if(!z){break i}l=O[z|0]|O[z+1|0]<<8;l=(l<<8|l>>>8)&65535;if(l>>>0<1240){break i}B=l>>>0<33900?1131:32768}z=g+4180|0;v=g+4144|0;n=g+32|0;N[g+4432>>2]=0;N[g+4436>>2]=0;N[g+4396>>2]=B;L[g+4440|0]=e;N[g+4428>>2]=0;M[g+4424>>1]=0;L[g+4164|0]=0;N[g+12>>2]=a;N[g+4>>2]=d;N[g+8>>2]=f;N[g>>2]=b;y=1e4;a=0;while(1){j:{y=y-1|0;if(!y){N[g+24>>2]=c+1;break j}i=65535;k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{d=a+1|0;if(d>>>0>c>>>0){break t}e=N[g+16>>2];b=O[e+a|0];N[g+24>>2]=d;u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{if((b|0)!=12){a=d;break U}a=a+2|0;if(c>>>0>>0){break t}b=O[d+e|0];N[g+24>>2]=a;b=b|256}i=b;switch(i-1|0){case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break t;case 30:break y;case 29:break z;case 26:break A;case 25:break B;case 24:break C;case 23:break D;case 7:break E;case 6:break F;case 5:break G;case 4:break H;case 3:break I;case 21:break J;case 20:break K;case 18:case 19:break L;case 2:case 22:break M;case 0:case 17:break N;case 28:break O;case 9:break P;case 10:break R;case 13:break S;default:break T}}switch(i-255|0){case 1:break n;case 38:break u;case 37:break v;case 36:break w;case 35:break x;case 0:break Q;default:break t}}b=N[g+36>>2];if(!O[g+4424|0]){if(b&1){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}V:{if(b>>>0<4){break V}f=N[g+4>>2];a=f+16|0;if(N[f+16>>2]){b=N[f+12>>2];c=N[f+8>>2];u=R[f+20>>2];q=R[f+24>>2];if(!(u==R[f+28>>2]&q==R[f+32>>2])){e=N[c+16>>2];d=N[c+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](c,b,a,u,q,d)}e=N[c+28>>2];d=N[c+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](c,b,a,d)}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;d=N[g+36>>2];a=g+4520|0;N[a>>2]=0;N[a+4>>2]=0;N[g+4512>>2]=0;N[g+4516>>2]=0;W:{X:{Y:{Z:{_:{$:{aa:{if(d>>>0>=4){b=(n+(d<<3)|0)-24|0;a=N[b+4>>2];N[g+4512>>2]=N[b>>2];N[g+4516>>2]=a;break aa}N[147456]=0;N[147457]=0;L[g+32|0]=1;if((d|0)!=3){break $}}b=(n+(d<<3)|0)-16|0;a=N[b+4>>2];N[g+4520>>2]=N[b>>2];N[g+4524>>2]=a;l=N[g+12>>2];break _}N[g+4520>>2]=0;N[g+4524>>2]=0;c=0;l=N[g+12>>2];if(d>>>0<2){break Z}}B=0;h=S[(n+(d<<3)|0)-8>>3];ba:{if(V(h)<2147483648){c=~~h;break ba}c=-2147483648}if(c>>>0>255){break Y}}b=O[c+267360|0];a=N[l+52>>2];ca:{if((a|0)!=275552){a=wf(a,b,N[l+216>>2]);break ca}a=c>>>0<229?N[l+172>>2]?0:b:0}B=a;if(d){break Y}i=0;N[147456]=0;N[147457]=0;L[g+32|0]=1;break X}h=S[n+(d<<3)>>3];da:{if(V(h)<2147483648){i=~~h;break da}i=-2147483648}if(i>>>0>255){break W}}b=O[i+267360|0];a=N[l+52>>2];ea:{if((a|0)!=275552){a=wf(a,b,N[l+216>>2]);break ea}a=i>>>0<229?N[l+172>>2]?0:b:0}if(!a|!B|O[g+4440|0]){break W}b=N[g>>2];if(!jj(l,b,B,f,1,0)){break W}if(jj(l,b,a,f,1,g+4512|0)){break V}}N[g+24>>2]=N[g+20>>2]+1}L[g+4164|0]=1;break n}a=N[g+4184>>2];fa:{if(a){a=a-1|0;N[g+4184>>2]=a;a=(z+T(a,20)|0)+8|0;break fa}N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;L[g+4180|0]=1;N[147460]=0;a=589824}c=N[a+4>>2];b=v;N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=a+8|0;b=N[c+4>>2];N[v+8>>2]=N[c>>2];N[v+12>>2]=b;c=N[a>>2];b=N[a+4>>2];N[g+24>>2]=N[a+8>>2];N[g+16>>2]=c;N[g+20>>2]=b;break k}if(a+4>>>0>c>>>0){break k}ga:{if(a>>>0>=c>>>0){a=c+1|0;b=275552;break ga}b=a+e|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);c=N[g+36>>2];ha:{if(c>>>0<=512){N[g+36>>2]=c+1;c=(n+(c<<3)|0)+8|0;break ha}N[147456]=0;N[147457]=0;L[g+32|0]=1;c=589824}S[c>>3]=+(b|0)*152587890625e-16;N[g+24>>2]=a+4;break k}ia:{a=N[g+36>>2];ja:{if(a){a=a-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];if(V(h)<2147483648){a=~~h;break ja}a=-2147483648;break ja}N[147456]=0;N[147457]=0;L[g+32|0]=1;a=0}d=a+N[g+4396>>2]|0;ka:{if((d|0)<0){break ka}a=N[g+4400>>2];if(!a){break ka}a=O[a|0]|O[a+1|0]<<8;if(d>>>0>=((a<<8|a>>>8)&65535)>>>0){break ka}b=N[g+4184>>2];if(b>>>0<10){break ia}}N[g+24>>2]=c+1;break k}a=N[g+20>>2];N[v>>2]=N[g+16>>2];N[v+4>>2]=a;N[v+8>>2]=N[g+24>>2];N[g+4184>>2]=b+1;b=z+T(b,20)|0;N[b+24>>2]=N[v+16>>2];a=N[v+12>>2];N[b+16>>2]=N[v+8>>2];N[b+20>>2]=a;a=N[v+4>>2];N[b+8>>2]=N[v>>2];N[b+12>>2]=a;a=0;e=0;c=N[g+4400>>2];la:{if(!c){break la}b=O[c|0]|O[c+1|0]<<8;if(d>>>0>=((b<<8|b>>>8)&65535)>>>0){break la}gd(g+4512|0,c,d);a=N[g+4512>>2];e=N[g+4516>>2]}N[g+4160>>2]=d;N[g+4152>>2]=0;N[g+4156>>2]=2;N[g+4144>>2]=a;N[g+4148>>2]=e;N[g+24>>2]=N[v+8>>2];a=N[v+4>>2];N[g+16>>2]=N[v>>2];N[g+20>>2]=a;break k}ma:{a=N[g+36>>2];na:{if(a){a=a-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];if(V(h)<2147483648){a=~~h;break na}a=-2147483648;break na}N[147456]=0;N[147457]=0;L[g+32|0]=1;a=0}d=a+N[g+4388>>2]|0;oa:{if((d|0)<0){break oa}a=N[g+4392>>2];if(!a){break oa}a=O[a|0]|O[a+1|0]<<8;if(d>>>0>=((a<<8|a>>>8)&65535)>>>0){break oa}b=N[g+4184>>2];if(b>>>0<10){break ma}}N[g+24>>2]=c+1;break k}a=N[g+20>>2];N[v>>2]=N[g+16>>2];N[v+4>>2]=a;N[v+8>>2]=N[g+24>>2];N[g+4184>>2]=b+1;b=z+T(b,20)|0;N[b+24>>2]=N[v+16>>2];a=N[v+12>>2];N[b+16>>2]=N[v+8>>2];N[b+20>>2]=a;a=N[v+4>>2];N[b+8>>2]=N[v>>2];N[b+12>>2]=a;a=0;e=0;c=N[g+4392>>2];pa:{if(!c){break pa}b=O[c|0]|O[c+1|0]<<8;if(d>>>0>=((b<<8|b>>>8)&65535)>>>0){break pa}gd(g+4512|0,c,d);a=N[g+4512>>2];e=N[g+4516>>2]}N[g+4160>>2]=d;N[g+4152>>2]=0;N[g+4156>>2]=1;N[g+4144>>2]=a;N[g+4148>>2]=e;N[g+24>>2]=N[v+8>>2];a=N[v+4>>2];N[g+16>>2]=N[v>>2];N[g+20>>2]=a;break k}if(O[g+4424|0]|i>>>0>18){break l}if(1<>2];a=i>>>0>1;break m}qa:{if(O[g+4424|0]|i>>>0>23){break qa}ra:{sa:{a=1<>2];a=i>>>0>2;break ra}i=N[g+36>>2];a=i&1;break ra}i=N[g+36>>2];a=i>>>0>1}if(!(!a|!i)){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;L[g+4425|0]=1}L[g+4424|0]=1}N[g+4428>>2]=0;a=N[g+36>>2];N[g+36>>2]=0;N[g+4172>>2]=N[g+4172>>2]+(a>>>1|0);break k}if(!O[g+4424|0]){if(L[g+36|0]&1){b=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=b;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}ta:{if(O[g+4166|0]){i=N[g+4176>>2];break ta}L[g+4166|0]=1;b=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=b;i=(b+N[g+4168>>2]|0)+7>>>3|0;N[g+4176>>2]=i}a=a+i|0;if(a>>>0>c>>>0){break k}N[g+36>>2]=0;N[g+4428>>2]=0;N[g+24>>2]=a;break k}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=3){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}if(!b){l=589824;break p}a=b-1|0;N[g+36>>2]=a;l=(n+(a<<3)|0)+8|0;if(!a){break p}a=b-2|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break o}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=2){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}ua:{if(b){a=b-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break ua}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=h+S[g+4408>>3];h=S[g+4416>>3];ij(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1;break n}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=2){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}va:{if(b){a=b-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break va}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=S[g+4408>>3];h=h+S[g+4416>>3];ij(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1;break n}i=N[g+36>>2];if(i>>>0<2){break n}a=0;l=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){wa:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break wa}b=(n+(a<<3)|0)+8|0}a=a|1;xa:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break xa}h=S[(n+(a<<3)|0)+8>>3]}m=m+S[b>>3];j=h+j;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;i=N[g+36>>2];a=l;l=a+2|0;if(i>>>0>=l>>>0){continue}break}break n}i=0;l=N[g+36>>2];if(l>>>0>=2){a=0;c=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){i=c;ya:{if(a>>>0>=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break ya}h=S[(n+(a<<3)|0)+8>>3]}m=m+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=a|1;za:{if(a>>>0>=Q[g+36>>2]){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break za}h=S[(n+(a<<3)|0)+8>>3]}j=j+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=i;c=a+2|0;l=N[g+36>>2];if(c>>>0<=l>>>0){continue}break}}if(i>>>0>=l>>>0){break n}k=S[g+4408>>3]+S[(n+(i<<3)|0)+8>>3];h=S[g+4416>>3];qd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}i=0;l=N[g+36>>2];if(l>>>0>=2){a=0;c=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){i=c;Aa:{if(a>>>0>=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Aa}h=S[(n+(a<<3)|0)+8>>3]}j=j+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=a|1;Ba:{if(a>>>0>=Q[g+36>>2]){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ba}h=S[(n+(a<<3)|0)+8>>3]}m=m+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=i;c=a+2|0;l=N[g+36>>2];if(c>>>0<=l>>>0){continue}break}}if(i>>>0>=l>>>0){break n}k=S[g+4408>>3];h=S[g+4416>>3]+S[(n+(i<<3)|0)+8>>3];qd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}i=N[g+36>>2];if(i>>>0<6){break n}a=0;l=6;s=S[g+4416>>3];h=S[g+4408>>3];while(1){Ca:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ca}b=(n+(a<<3)|0)+8|0}c=a|1;Da:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Da}j=S[(n+(c<<3)|0)+8>>3]}m=S[b>>3];b=a+2|0;Ea:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ea}b=(n+(b<<3)|0)+8|0}c=a+3|0;Fa:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Fa}k=S[(n+(c<<3)|0)+8>>3]}j=s+j;m=h+m;h=S[b>>3];b=a+4|0;Ga:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ga}b=(n+(b<<3)|0)+8|0}p=m+h;o=j+k;a=a+5|0;Ha:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ha}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;h=p+S[b>>3];a=N[g+8>>2];Ia:{if(!a){k=s;r=h;break Ia}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;p=p+t;j=j+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(j)),U(u*U(p)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;i=N[g+36>>2];a=l;l=a+6|0;if(i>>>0>=l>>>0){continue}break}break n}a=N[g+36>>2];if(a>>>0<8){break n}d=a-2|0;a=0;i=6;s=S[g+4416>>3];h=S[g+4408>>3];while(1){e=N[g+36>>2];Ja:{if(e>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ja}b=(n+(a<<3)|0)+8|0}c=a|1;Ka:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Ka}j=S[(n+(c<<3)|0)+8>>3]}m=S[b>>3];b=a+2|0;La:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break La}b=(n+(b<<3)|0)+8|0}c=a+3|0;Ma:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Ma}k=S[(n+(c<<3)|0)+8>>3]}j=s+j;m=h+m;h=S[b>>3];b=a+4|0;Na:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Na}b=(n+(b<<3)|0)+8|0}p=m+h;o=j+k;a=a+5|0;Oa:{if(a>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Oa}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;h=p+S[b>>3];a=N[g+8>>2];Pa:{if(!a){k=s;r=h;break Pa}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;p=p+t;j=j+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(j)),U(u*U(p)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;a=i;i=a+6|0;if(d>>>0>=i>>>0){continue}break}c=N[g+36>>2];Qa:{if(c>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Qa}b=(n+(a<<3)|0)+8|0}a=a|1;Ra:{if(a>>>0>=c>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Ra}j=S[(n+(a<<3)|0)+8>>3]}k=h+S[b>>3];h=s+j;qd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}a=N[g+36>>2];if(a>>>0<8){break n}d=a-6|0;a=0;l=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){c=N[g+36>>2];Sa:{if(c>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Sa}b=(n+(a<<3)|0)+8|0}a=a|1;Ta:{if(a>>>0>=c>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ta}h=S[(n+(a<<3)|0)+8>>3]}m=m+S[b>>3];j=j+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=l;l=a+2|0;if(d>>>0>=l>>>0){continue}break}d=N[g+36>>2];Ua:{if(d>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ua}b=(n+(a<<3)|0)+8|0}c=a|1;Va:{if(c>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Va}k=S[(n+(c<<3)|0)+8>>3]}r=S[b>>3];Wa:{if(d>>>0<=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Wa}b=(n+(l<<3)|0)+8|0}c=a+3|0;Xa:{if(c>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Xa}h=S[(n+(c<<3)|0)+8>>3]}j=j+k;m=m+r;k=S[b>>3];b=a+4|0;Ya:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ya}b=(n+(b<<3)|0)+8|0}p=m+k;o=j+h;a=a+5|0;Za:{if(a>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Za}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;h=p+S[b>>3];a=N[g+8>>2];_a:{if(!a){k=s;r=h;break _a}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;p=p+t;j=j+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(j)),U(u*U(p)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;break n}i=N[g+36>>2];a=i&1;l=a|4;if(i>>>0>>0){break n}j=S[g+4408>>3]+(a?S[g+40>>3]:-0);p=S[g+4416>>3];while(1){$a:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break $a}h=S[(n+(a<<3)|0)+8>>3]}b=a+1|0;ab:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break ab}b=(n+(b<<3)|0)+8|0}m=p+h;h=m;c=a+2|0;bb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break bb}k=S[(n+(c<<3)|0)+8>>3]}r=j+S[b>>3];o=h+k;a=a+3|0;cb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break cb}h=S[(n+(a<<3)|0)+8>>3]}p=o+h;a=N[g+8>>2];db:{if(!a){h=r;k=p;break db}t=S[a+8>>3];k=p+t;o=o+t;s=S[a>>3];h=r+s;m=m+t;j=j+s}a=N[g>>2];q=R[a+44>>2];x=U(q*U(j));u=R[a+48>>2];q=U(q*U(h));Cb(N[g+4>>2],x,U(u*U(m)),q,U(u*U(o)),q,U(u*U(k)));S[g+4416>>3]=p;S[g+4408>>3]=r;j=r;i=N[g+36>>2];a=l;l=a+4|0;if(i>>>0>=l>>>0){continue}break}break n}i=N[g+36>>2];a=i&1;l=a|4;if(i>>>0>>0){break n}j=S[g+4416>>3]+(a?S[g+40>>3]:-0);p=S[g+4408>>3];while(1){eb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break eb}h=S[(n+(a<<3)|0)+8>>3]}b=a+1|0;fb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break fb}b=(n+(b<<3)|0)+8|0}m=p+h;c=a+2|0;gb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break gb}h=S[(n+(c<<3)|0)+8>>3]}r=j+h;o=m+S[b>>3];a=a+3|0;hb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break hb}h=S[(n+(a<<3)|0)+8>>3]}p=o+h;a=N[g+8>>2];ib:{if(!a){h=r;k=p;break ib}t=S[a>>3];k=p+t;s=S[a+8>>3];h=r+s;o=o+t;j=j+s;m=m+t}a=N[g>>2];x=R[a+44>>2];q=R[a+48>>2];u=U(q*U(h));Cb(N[g+4>>2],U(x*U(m)),U(q*U(j)),U(x*U(o)),u,U(x*U(k)),u);S[g+4416>>3]=r;S[g+4408>>3]=p;j=r;i=N[g+36>>2];a=l;l=a+4|0;if(i>>>0>=l>>>0){continue}break}break n}i=N[g+36>>2];if(i&4){break q}if(i>>>0<8){break n}a=0;l=8;h=S[g+4416>>3];j=S[g+4408>>3];while(1){jb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break jb}k=S[(n+(a<<3)|0)+8>>3]}b=a|1;kb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break kb}b=(n+(b<<3)|0)+8|0}o=h+k;c=a|2;lb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break lb}h=S[(n+(c<<3)|0)+8>>3]}m=o+h;p=j+S[b>>3];b=a|3;mb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break mb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;f=N[g+8>>2];nb:{if(!f){h=m;k=r;break nb}t=S[f>>3];k=r+t;s=S[f+8>>3];h=m+s;p=p+t;o=o+s;j=j+t}e=N[g>>2];x=R[e+44>>2];q=R[e+48>>2];u=U(q*U(h));d=N[g+4>>2];Cb(d,U(x*U(j)),U(q*U(o)),U(x*U(p)),u,U(x*U(k)),u);S[g+4416>>3]=m;S[g+4408>>3]=r;i=N[g+36>>2];b=a|4;ob:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break ob}h=S[(n+(b<<3)|0)+8>>3]}b=a|5;pb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break pb}b=(n+(b<<3)|0)+8|0}c=a|6;qb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break qb}k=S[(n+(c<<3)|0)+8>>3]}p=r+h;j=S[b>>3];b=a|7;rb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break rb}h=S[(n+(b<<3)|0)+8>>3]}s=m+k;o=p+j;j=o;sb:{if(i-a>>>0>15){break sb}j=o;if(!(i&1)){break sb}tb:{if(i>>>0<=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break tb}k=S[(n+(l<<3)|0)+8>>3]}j=o+k}h=s+h;ub:{if(!f){k=h;r=j;break ub}w=S[f+8>>3];k=h+w;t=S[f>>3];r=j+t;s=s+w;o=o+t;m=m+w;p=p+t}u=R[e+44>>2];q=R[e+48>>2];Cb(d,U(u*U(p)),U(q*U(m)),U(u*U(o)),U(q*U(s)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=h;S[g+4408>>3]=j;i=N[g+36>>2];a=l;l=a+8|0;if(i>>>0>=l>>>0){continue}break}break n}i=N[g+36>>2];if(i&4){break r}if(i>>>0<8){break n}a=0;l=8;j=S[g+4416>>3];h=S[g+4408>>3];while(1){vb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break vb}k=S[(n+(a<<3)|0)+8>>3]}b=a|1;wb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break wb}b=(n+(b<<3)|0)+8|0}o=h+k;c=a|2;xb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break xb}h=S[(n+(c<<3)|0)+8>>3]}m=o+S[b>>3];p=j+h;b=a|3;yb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break yb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;f=N[g+8>>2];zb:{if(!f){h=m;k=r;break zb}t=S[f+8>>3];k=r+t;p=p+t;s=S[f>>3];h=m+s;j=j+t;o=o+s}d=N[g+4>>2];e=N[g>>2];q=R[e+44>>2];x=U(q*U(o));u=R[e+48>>2];q=U(q*U(h));Cb(d,x,U(u*U(j)),q,U(u*U(p)),q,U(u*U(k)));S[g+4416>>3]=r;S[g+4408>>3]=m;i=N[g+36>>2];b=a|4;Ab:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ab}h=S[(n+(b<<3)|0)+8>>3]}b=a|5;Bb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Bb}b=(n+(b<<3)|0)+8|0}c=a|6;Cb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Cb}k=S[(n+(c<<3)|0)+8>>3]}p=r+h;j=S[b>>3];b=a|7;Db:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Db}h=S[(n+(b<<3)|0)+8>>3]}s=m+j;o=p+k;j=o;Eb:{if(i-a>>>0>15){break Eb}j=o;if(!(i&1)){break Eb}Fb:{if(i>>>0<=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Fb}k=S[(n+(l<<3)|0)+8>>3]}j=o+k}h=s+h;Gb:{if(!f){k=j;r=h;break Gb}w=S[f+8>>3];k=j+w;t=S[f>>3];r=h+t;o=o+w;s=s+t;p=p+w;m=m+t}u=R[e+44>>2];q=R[e+48>>2];Cb(d,U(u*U(m)),U(q*U(p)),U(u*U(s)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=j;S[g+4408>>3]=h;i=N[g+36>>2];a=l;l=a+8|0;if(i>>>0>=l>>>0){continue}break}break n}if(N[g+36>>2]==7){m=S[g+48>>3];k=S[g+40>>3];h=S[g+4408>>3];a=g+4520|0;r=S[g+4416>>3];j=r+S[g+56>>3];S[a>>3]=j;k=h+k;h=m+k;S[g+4512>>3]=h+S[g+64>>3];d=N[a+4>>2];a=N[a>>2];b=g+4504|0;N[b>>2]=a;N[b+4>>2]=d;b=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=b;S[g+4496>>3]=S[g+4496>>3]+S[g+72>>3];c=g+4488|0;b=c;N[b>>2]=a;N[b+4>>2]=d;S[b>>3]=r;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[g+4480>>3]=S[g+4480>>3]+S[g+80>>3];a=N[b+4>>2];b=g+4472|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[g+4464>>3]=S[g+4464>>3]+S[g+88>>3];Ng(g+16|0,g,k,r,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}if(N[g+36>>2]==13){r=S[g+56>>3];k=S[g+40>>3];h=S[g+4408>>3];c=g+4520|0;m=S[g+4416>>3]+S[g+48>>3];j=m+S[g+64>>3];S[c>>3]=j+S[g+80>>3];k=h+k;h=r+k;S[g+4512>>3]=h+S[g+72>>3];a=N[c+4>>2];d=g+4504|0;b=d;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=a;S[b>>3]=S[b>>3]+S[g+96>>3];S[g+4496>>3]=S[g+4496>>3]+S[g+88>>3];a=N[b+4>>2];c=g+4488|0;b=c;N[b>>2]=N[d>>2];N[b+4>>2]=a;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[b>>3]=S[b>>3]+S[g+112>>3];S[g+4480>>3]=S[g+4480>>3]+S[g+104>>3];a=N[b+4>>2];b=g+4472|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[b>>3]=S[b>>3]+S[g+128>>3];S[g+4464>>3]=S[g+4464>>3]+S[g+120>>3];Ng(g+16|0,g,k,m,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}if(N[g+36>>2]==9){s=S[g+56>>3];k=S[g+40>>3];h=S[g+4408>>3];a=g+4520|0;r=S[g+4416>>3];m=r+S[g+48>>3];j=m+S[g+64>>3];S[a>>3]=j;k=h+k;h=s+k;S[g+4512>>3]=h+S[g+72>>3];c=N[a+4>>2];a=N[a>>2];b=g+4504|0;N[b>>2]=a;N[b+4>>2]=c;b=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=b;S[g+4496>>3]=S[g+4496>>3]+S[g+80>>3];d=g+4488|0;N[d>>2]=a;N[d+4>>2]=c;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[d>>3]=S[d>>3]+S[g+96>>3];S[g+4480>>3]=S[g+4480>>3]+S[g+88>>3];a=N[d+4>>2];b=g+4472|0;N[b>>2]=N[d>>2];N[b+4>>2]=a;S[b>>3]=r;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[g+4464>>3]=S[g+4464>>3]+S[g+104>>3];Ng(g+16|0,g,k,m,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}if(N[g+36>>2]==11){E=S[g+104>>3];F=S[g+112>>3];G=S[g+88>>3];H=S[g+96>>3];I=S[g+72>>3];J=S[g+56>>3];w=S[g+4408>>3];t=S[g+40>>3];b=g+4520|0;h=S[g+4416>>3];p=S[g+48>>3];o=h+p;s=S[g+64>>3];r=o+s;m=S[g+80>>3];S[b>>3]=r+m;j=w+t;k=J+j;S[g+4512>>3]=I+k;a=N[b+4>>2];c=g+4504|0;N[c>>2]=N[b>>2];N[c+4>>2]=a;S[c>>3]=H+S[c>>3];a=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=a;S[g+4496>>3]=G+S[g+4496>>3];a=N[c+4>>2];b=g+4488|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;S[b>>3]=F+S[b>>3];a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[g+4480>>3]=E+S[g+4480>>3];a=N[b+4>>2];c=g+4472|0;N[c>>2]=N[b>>2];N[c+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;K=h;h=S[g+120>>3];a=V(E+(G+(I+(J+(t+0)))))>V(F+(H+(m+(s+(p+0)))));S[c>>3]=a?K:S[c>>3]+h;S[g+4464>>3]=a?h+S[g+4464>>3]:w;Ng(g+16|0,g,j,o,k,r,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}vf(i,g+16|0);break k}i=N[g+36>>2];a=i&1;break m}m=S[g+4416>>3];o=m+S[g+56>>3];s=o+S[g+64>>3];p=S[g+4408>>3]+S[g+40>>3];j=p+S[g+48>>3];l=12;a=4;if(i>>>0>=12){while(1){i=N[g+8>>2];Hb:{if(!i){h=j;k=s;break Hb}t=S[i+8>>3];k=s+t;o=o+t;r=S[i>>3];h=j+r;m=m+t;p=p+r}d=N[g+4>>2];f=N[g>>2];q=R[f+44>>2];x=U(q*U(p));u=R[f+48>>2];q=U(q*U(h));Cb(d,x,U(u*U(m)),q,U(u*U(o)),q,U(u*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=j;e=N[g+36>>2];Ib:{if(e>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ib}h=S[(n+(a<<3)|0)+8>>3]}b=a|1;Jb:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Jb}b=(n+(b<<3)|0)+8|0}o=s+h;c=a|2;Kb:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Kb}h=S[(n+(c<<3)|0)+8>>3]}m=o+h;p=j+S[b>>3];b=a|3;Lb:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Lb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;Mb:{if(!i){h=m;k=r;break Mb}t=S[i>>3];k=r+t;s=S[i+8>>3];h=m+s;p=p+t;o=o+s;j=j+t}q=R[f+48>>2];x=U(q*U(h));u=R[f+44>>2];Cb(d,U(u*U(j)),U(q*U(o)),U(u*U(p)),x,U(u*U(k)),x);S[g+4416>>3]=m;S[g+4408>>3]=r;i=N[g+36>>2];b=a+4|0;Nb:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Nb}h=S[(n+(b<<3)|0)+8>>3]}b=a+5|0;Ob:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ob}b=(n+(b<<3)|0)+8|0}p=r+h;c=a+6|0;Pb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Pb}h=S[(n+(c<<3)|0)+8>>3]}j=p+S[b>>3];o=m+h;a=a+7|0;Qb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Qb}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;a=l;l=a+8|0;if(l>>>0<=i>>>0){continue}break}}h=j;h=a>>>0>>0?h+S[(n+(a<<3)|0)+8>>3]:h;a=N[g+8>>2];Rb:{if(!a){k=s;r=h;break Rb}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;j=j+t;m=m+w;p=p+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(p)),U(q*U(m)),U(u*U(j)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;break n}m=S[g+4408>>3];o=m+S[g+48>>3];s=o+S[g+64>>3];p=S[g+4416>>3]+S[g+40>>3];j=p+S[g+56>>3];l=12;a=4;if(i>>>0>=12){while(1){i=N[g+8>>2];Sb:{if(!i){h=j;k=s;break Sb}t=S[i>>3];k=s+t;r=S[i+8>>3];h=j+r;o=o+t;p=p+r;m=m+t}f=N[g>>2];x=R[f+44>>2];q=R[f+48>>2];u=U(q*U(h));d=N[g+4>>2];Cb(d,U(x*U(m)),U(q*U(p)),U(x*U(o)),u,U(x*U(k)),u);S[g+4416>>3]=j;S[g+4408>>3]=s;e=N[g+36>>2];Tb:{if(e>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Tb}h=S[(n+(a<<3)|0)+8>>3]}b=a|1;Ub:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ub}b=(n+(b<<3)|0)+8|0}o=s+h;c=a|2;Vb:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Vb}h=S[(n+(c<<3)|0)+8>>3]}m=o+S[b>>3];p=j+h;b=a|3;Wb:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Wb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;Xb:{if(!i){h=m;k=r;break Xb}t=S[i+8>>3];k=r+t;p=p+t;s=S[i>>3];h=m+s;j=j+t;o=o+s}q=R[f+44>>2];u=U(q*U(h));x=U(q*U(o));q=R[f+48>>2];Cb(d,x,U(q*U(j)),u,U(q*U(p)),u,U(q*U(k)));S[g+4416>>3]=r;S[g+4408>>3]=m;i=N[g+36>>2];b=a+4|0;Yb:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Yb}h=S[(n+(b<<3)|0)+8>>3]}b=a+5|0;Zb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Zb}b=(n+(b<<3)|0)+8|0}p=r+h;c=a+6|0;_b:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break _b}h=S[(n+(c<<3)|0)+8>>3]}j=p+h;o=m+S[b>>3];a=a+7|0;$b:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break $b}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;a=l;l=a+8|0;if(l>>>0<=i>>>0){continue}break}}h=j;h=a>>>0>>0?h+S[(n+(a<<3)|0)+8>>3]:h;a=N[g+8>>2];ac:{if(!a){k=h;r=s;break ac}w=S[a+8>>3];k=h+w;t=S[a>>3];r=s+t;j=j+w;o=o+t;p=p+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(p)),U(u*U(o)),U(q*U(j)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=h;S[g+4408>>3]=s;break n}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=h+S[g+4408>>3];h=S[g+4416>>3]+S[l>>3];ij(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1}N[g+36>>2]=0;N[g+4428>>2]=0;break k}if(!(!a|!i)){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;L[g+4425|0]=1}L[g+4424|0]=1}N[g+4428>>2]=0;a=N[g+36>>2];N[g+36>>2]=0;N[g+4168>>2]=N[g+4168>>2]+(a>>>1|0)}i=0;if(O[g+4180|0]){break a}a=N[g+24>>2];c=N[g+20>>2];if(O[g+32|0]|a>>>0>c>>>0){break a}if(!O[g+4164|0]){continue}}break}d=N[g+4>>2];a=d+16|0;if(N[d+16>>2]){b=N[d+12>>2];c=N[d+8>>2];u=R[d+20>>2];q=R[d+24>>2];if(!(u==R[d+28>>2]&q==R[d+32>>2])){e=N[c+16>>2];d=N[c+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](c,b,a,u,q,d)}e=N[c+28>>2];d=N[c+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](c,b,a,d)}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;i=1}La=g+4528|0;return i}function kj(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,P=0;e=La-4512|0;La=e;N[c+16>>2]=0;N[c+20>>2]=-1042284544;N[c+8>>2]=-4194304;N[c+12>>2]=1105199103;N[c>>2]=-4194304;N[c+4>>2]=1105199103;N[c+24>>2]=0;N[c+28>>2]=-1042284544;a:{if(!N[a+44>>2]|Q[a+216>>2]<=b>>>0){break a}z=N[a+80>>2];b:{if((z|0)==275552){break b}c:{d:{switch(O[z|0]){case 0:j=(b+z|0)+1|0;break c;case 3:break d;default:break b}}if(O[z+1|0]|O[z+2|0]<<8){I=O[z+1|0]|O[z+2|0]<<8;j=z+3|0}else{j=275552}E=(I<<8|(I&65280)>>>8)&65535;e:{if(E>>>0>=2){v=E-2|0;while(1){u=s+v>>>1|0;l=j+T(u,3)|0;y=O[l|0]|O[l+1|0]<<8;f:{if(((y<<8|y>>>8)&65535)>>>0<=b>>>0){y=O[l+3|0]|O[l+4|0]<<8;if(((y<<8|y>>>8)&65535)>>>0>b>>>0){break e}s=u+1|0;break f}v=u-1|0}if((s|0)<=(v|0)){continue}break}}if(!I){l=275552;break e}l=z+T(E,3)|0}j=l+2|0}v=O[j|0]}gd(e+4432|0,N[a+72>>2],b);u=N[(Q[a+208>>2]<=v>>>0?275552:N[a+212>>2]+T(v,24)|0)+20>>2];s=N[a+68>>2];L[e+16|0]=0;C(e+20|0,0,4108);b=e+4192|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4200>>2]=0;b=e+4212|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4220>>2]=0;b=e+4232|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4240>>2]=0;b=e+4252|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4260>>2]=0;b=e+4272|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4280>>2]=0;b=e+4292|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4300>>2]=0;N[e+4320>>2]=0;b=e+4312|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4340>>2]=0;b=e+4332|0;N[b>>2]=0;N[b+4>>2]=0;L[e+4164|0]=0;N[e+8>>2]=0;l=N[e+4436>>2];b=N[e+4432>>2];N[e>>2]=b;N[e+4>>2]=l;N[e+4360>>2]=0;j=e+4352|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4176|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4168|0;N[j>>2]=0;N[j+4>>2]=0;N[e+4144>>2]=0;j=e+4136|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4400|0;N[j>>2]=0;N[j+4>>2]=0;N[e+4376>>2]=s;N[e+4128>>2]=b;N[e+4132>>2]=l;N[e+4160>>2]=0;N[e+4152>>2]=0;N[e+4156>>2]=0;L[e+4149|0]=1;L[e+4150|0]=0;N[e+4392>>2]=0;N[e+4396>>2]=0;j=107;y=107;g:{if(!s){break g}b=O[s|0]|O[s+1|0]<<8;b=(b<<8|b>>>8)&65535;y=107;if(b>>>0<1240){break g}y=b>>>0<33900?1131:32768}N[e+4384>>2]=u;N[e+4372>>2]=y;h:{if(!u){break h}b=O[u|0]|O[u+1|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0<1240){break h}j=b>>>0<33900?1131:32768}K=e+4164|0;y=e+4128|0;t=e+16|0;N[e+4416>>2]=0;N[e+4420>>2]=0;N[e+4380>>2]=j;L[e+4424|0]=d;N[e+4412>>2]=0;M[e+4408>>1]=0;L[e+4148|0]=0;P=1e4;m=2147483647;h=-2147483648;n=-2147483648;k=2147483647;v=0;s=0;while(1){P=P-1|0;if(P){j=65535;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{d=s+1|0;if(d>>>0>l>>>0){break u}u=N[e>>2];b=O[u+s|0];N[e+8>>2]=d;v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{if((b|0)!=12){s=d;break V}s=s+2|0;if(s>>>0>l>>>0){break u}b=O[d+u|0];N[e+8>>2]=s;b=b|256}j=b;switch(j-1|0){case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break u;case 30:break z;case 29:break A;case 26:break B;case 25:break C;case 24:break D;case 23:break E;case 7:break F;case 6:break G;case 5:break H;case 4:break I;case 3:break J;case 21:break K;case 20:break L;case 18:case 19:break M;case 2:case 22:break N;case 0:case 17:break O;case 28:break P;case 9:break Q;case 10:break S;case 13:break T;default:break U}}switch(j-255|0){case 1:break j;case 38:break v;case 37:break w;case 36:break x;case 35:break y;case 0:break R;default:break u}}d=N[e+20>>2];if(!O[e+4408|0]){if(d&1){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}W:{if(d>>>0<4){break W}j=(d<<3)+t|0;f=S[j-8>>3];X:{if(V(f)<2147483648){b=~~f;break X}b=-2147483648}q=S[j-16>>3];o=S[j-24>>3];d=0;Y:{if(b>>>0>255){break Y}l=O[b+267360|0];d=N[a+52>>2];if((d|0)!=275552){d=wf(d,l,N[a+216>>2]);break Y}d=b>>>0<229?N[a+172>>2]?0:l:0}f=S[j>>3];Z:{if(V(f)<2147483648){b=~~f;break Z}b=-2147483648}l=0;_:{if(b>>>0>255){break _}j=O[b+267360|0];l=N[a+52>>2];if((l|0)!=275552){l=wf(l,j,N[a+216>>2]);break _}l=b>>>0<229?N[a+172>>2]?0:j:0}b=e+4504|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4496|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4488|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4480>>2]=0;N[e+4484>>2]=0;b=e+4472|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4464|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4456|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4448>>2]=0;N[e+4452>>2]=0;$:{b=l;if(O[e+4424|0]|(!b|!d)){break $}if(!kj(a,d,e+4480|0,1)){break $}if(!kj(a,b,e+4448|0,1)){break $}p=S[e+4504>>3];aa:{if(!(km)){n=S[e+4496>>3];m=S[e+4488>>3];k=S[e+4480>>3];break aa}i=S[e+4496>>3];g=S[e+4480>>3];ba:{if(!(i>g)){break ba}f=S[e+4488>>3];if(!(fn?i:n;k=g>3];i=S[e+4464>>3];g=S[e+4456>>3];h=S[e+4472>>3];if(!(!(fn?i:n;k=fp){break W}h=p;L[e+4148|0]=1;break j}N[e+8>>2]=N[e+4>>2]+1}L[e+4148|0]=1;break j}b=N[e+4168>>2];ca:{if(b){b=b-1|0;N[e+4168>>2]=b;b=(T(b,20)+K|0)+8|0;break ca}N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;L[e+4164|0]=1;N[147460]=0;b=589824}l=N[b+4>>2];d=y;N[d>>2]=N[b>>2];N[d+4>>2]=l;N[d+16>>2]=N[b+16>>2];l=b+8|0;d=N[l+4>>2];N[y+8>>2]=N[l>>2];N[y+12>>2]=d;l=N[b>>2];d=N[b+4>>2];N[e+8>>2]=N[b+8>>2];N[e>>2]=l;N[e+4>>2]=d;break i}if(s+4>>>0>l>>>0){break i}da:{if(l>>>0<=s>>>0){s=l+1|0;b=275552;break da}b=s+u|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);d=N[e+20>>2];ea:{if(d>>>0<=512){N[e+20>>2]=d+1;d=((d<<3)+t|0)+8|0;break ea}N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824}S[d>>3]=+(b|0)*152587890625e-16;N[e+8>>2]=s+4;break i}fa:{b=N[e+20>>2];ga:{if(b){b=b-1|0;N[e+20>>2]=b;f=S[((b<<3)+t|0)+8>>3];if(V(f)<2147483648){b=~~f;break ga}b=-2147483648;break ga}N[147456]=0;N[147457]=0;L[e+16|0]=1;b=0}j=b+N[e+4380>>2]|0;ha:{if((j|0)<0){break ha}b=N[e+4384>>2];if(!b){break ha}b=O[b|0]|O[b+1|0]<<8;if(j>>>0>=((b<<8|b>>>8)&65535)>>>0){break ha}d=N[e+4168>>2];if(d>>>0<10){break fa}}N[e+8>>2]=l+1;break i}b=N[e+4>>2];N[y>>2]=N[e>>2];N[y+4>>2]=b;N[y+8>>2]=N[e+8>>2];N[e+4168>>2]=d+1;d=T(d,20)+K|0;N[d+24>>2]=N[y+16>>2];b=N[y+12>>2];N[d+16>>2]=N[y+8>>2];N[d+20>>2]=b;b=N[y+4>>2];N[d+8>>2]=N[y>>2];N[d+12>>2]=b;b=0;s=0;l=N[e+4384>>2];ia:{if(!l){break ia}d=O[l|0]|O[l+1|0]<<8;if(j>>>0>=((d<<8|d>>>8)&65535)>>>0){break ia}gd(e+4480|0,l,j);b=N[e+4480>>2];s=N[e+4484>>2]}N[e+4144>>2]=j;N[e+4136>>2]=0;N[e+4140>>2]=2;N[e+4128>>2]=b;N[e+4132>>2]=s;N[e+8>>2]=N[y+8>>2];b=N[y+4>>2];N[e>>2]=N[y>>2];N[e+4>>2]=b;break i}ja:{b=N[e+20>>2];ka:{if(b){b=b-1|0;N[e+20>>2]=b;f=S[((b<<3)+t|0)+8>>3];if(V(f)<2147483648){b=~~f;break ka}b=-2147483648;break ka}N[147456]=0;N[147457]=0;L[e+16|0]=1;b=0}j=b+N[e+4372>>2]|0;la:{if((j|0)<0){break la}b=N[e+4376>>2];if(!b){break la}b=O[b|0]|O[b+1|0]<<8;if(j>>>0>=((b<<8|b>>>8)&65535)>>>0){break la}d=N[e+4168>>2];if(d>>>0<10){break ja}}N[e+8>>2]=l+1;break i}b=N[e+4>>2];N[y>>2]=N[e>>2];N[y+4>>2]=b;N[y+8>>2]=N[e+8>>2];N[e+4168>>2]=d+1;d=T(d,20)+K|0;N[d+24>>2]=N[y+16>>2];b=N[y+12>>2];N[d+16>>2]=N[y+8>>2];N[d+20>>2]=b;b=N[y+4>>2];N[d+8>>2]=N[y>>2];N[d+12>>2]=b;b=0;s=0;l=N[e+4376>>2];ma:{if(!l){break ma}d=O[l|0]|O[l+1|0]<<8;if(j>>>0>=((d<<8|d>>>8)&65535)>>>0){break ma}gd(e+4480|0,l,j);b=N[e+4480>>2];s=N[e+4484>>2]}N[e+4144>>2]=j;N[e+4136>>2]=0;N[e+4140>>2]=1;N[e+4128>>2]=b;N[e+4132>>2]=s;N[e+8>>2]=N[y+8>>2];b=N[y+4>>2];N[e>>2]=N[y>>2];N[e+4>>2]=b;break i}if(O[e+4408|0]|j>>>0>18){break l}if(1<>2];s=j>>>0>1;break m}na:{if(O[e+4408|0]|j>>>0>23){break na}oa:{pa:{b=1<>2];b=j>>>0>2;break oa}j=N[e+20>>2];b=j&1;break oa}j=N[e+20>>2];b=j>>>0>1}if(!(!b|!j)){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;L[e+4409|0]=1}L[e+4408|0]=1}N[e+4412>>2]=0;b=N[e+20>>2];N[e+20>>2]=0;N[e+4156>>2]=N[e+4156>>2]+(b>>>1|0);break i}if(!O[e+4408|0]){if(L[e+20|0]&1){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}qa:{if(O[e+4150|0]){j=N[e+4160>>2];break qa}L[e+4150|0]=1;b=N[e+4156>>2]+(N[e+20>>2]>>>1|0)|0;N[e+4156>>2]=b;j=(b+N[e+4152>>2]|0)+7>>>3|0;N[e+4160>>2]=j}b=j+s|0;if(b>>>0>l>>>0){break i}N[e+20>>2]=0;N[e+4412>>2]=0;N[e+8>>2]=b;break i}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=3){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}if(!d){s=589824;break q}b=d-1|0;s=((b<<3)+t|0)+8|0;if(!b){break q}b=d-2|0;j=b>>>1|0;i=S[((b<<3)+t|0)+8>>3];break p}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=2){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}ra:{if(d){b=d-1|0;s=b>>>1|0;g=S[((b<<3)+t|0)+8>>3];break ra}s=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0}f=S[e+4392>>3];S[e+4400>>3]=S[e+4400>>3];S[e+4392>>3]=f+g;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+s|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3;break o}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=2){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}sa:{if(d){b=d-1|0;s=b>>>1|0;g=S[((b<<3)+t|0)+8>>3];break sa}s=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0}f=S[e+4400>>3];S[e+4392>>3]=S[e+4392>>3];S[e+4400>>3]=f+g;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+s|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3;break o}s=N[e+20>>2];if(s>>>0<2){break j}j=0;l=2;g=S[e+4400>>3];i=S[e+4392>>3];while(1){b=j;j=l;f=g;o=i;ta:{if(b>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break ta}d=((b<<3)+t|0)+8|0}i=i+S[d>>3];g=f+S[((b<<3|8)+t|0)+8>>3];ua:{if(!(v&255)){m=fo?o:k;v=1;if(f>h){break ua}}f=h}S[e+4400>>3]=g;h=f>3]=i;n=i>n?i:n;k=i>>0>=l>>>0){continue}break}break j}j=0;d=N[e+20>>2];if(d>>>0>=2){l=2;f=S[e+4400>>3];i=S[e+4392>>3];while(1){b=j;j=l;g=f;f=i;va:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;i=0;break va}i=S[((b<<3)+t|0)+8>>3]}i=f+i;wa:{if(v&255){break wa}m=gn?f:n;k=fh)){break wa}h=g}S[e+4392>>3]=i;S[e+4400>>3]=g;f=S[((b<<3|8)+t|0)+8>>3];S[e+4392>>3]=i;f=g+f;S[e+4400>>3]=f;h=g>h?g:h;h=f>h?f:h;g=gn?i:n;k=i>>0>=l>>>0){continue}break}}if(d>>>0<=j>>>0){break j}g=S[e+4392>>3];i=g+S[((j<<3)+t|0)+8>>3];f=S[e+4400>>3];xa:{if(v&255){break xa}m=fn?g:n;k=gh)){break xa}h=f}S[e+4400>>3]=f;m=f>3]=i;n=i>n?i:n;k=ih)){break j}h=f;break j}j=0;d=N[e+20>>2];if(d>>>0>=2){l=2;i=S[e+4400>>3];f=S[e+4392>>3];while(1){b=j;j=l;g=f;p=i;ya:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break ya}f=S[((b<<3)+t|0)+8>>3]}i=i+f;za:{if(!(v&255)){m=m>p?p:m;n=g>n?g:n;k=g>3]=i;S[e+4392>>3]=g;h=S[((b<<3|8)+t|0)+8>>3];S[e+4400>>3]=i;f=g+h;S[e+4392>>3]=f;h=g>n?g:n;n=f>h?f:h;h=gp?i:p;m=i>>0>=l>>>0){continue}break}}if(d>>>0<=j>>>0){break j}f=S[e+4400>>3];g=f+S[((j<<3)+t|0)+8>>3];i=S[e+4392>>3];Aa:{if(!(v&255)){m=fn?i:n;k=ih){break Aa}}f=h}n=i>n?i:n;k=i>3]=g;m=g>2];if(s>>>0<6){break j}b=0;l=6;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;p=i;o=g;Ba:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ba}d=((j<<3)+t|0)+8|0}l=j|1;Ca:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Ca}g=S[((l<<3)+t|0)+8>>3]}i=S[d>>3];d=j+2|0;Da:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Da}d=((d<<3)+t|0)+8|0}l=j+3|0;Ea:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ea}f=S[((l<<3)+t|0)+8>>3]}x=o+g;w=p+i;g=S[d>>3];d=j+4|0;Fa:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Fa}d=((d<<3)+t|0)+8|0}r=w+g;q=x+f;l=j+5|0;Ga:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ga}f=S[((l<<3)+t|0)+8>>3]}g=q+f;i=r+S[d>>3];Ha:{if(!(v&255)){m=m>o?o:m;n=np?p:k;v=1;if(h>3]=g;h=oh?g:h;f=m>x?x:m;f=f>q?q:f;m=f>g?g:f;S[e+4392>>3]=i;f=nw?w:k;f=f>r?r:f;k=f>i?i:f;l=b+6|0;if(s>>>0>=l>>>0){continue}break}break j}u=N[e+20>>2];if(u>>>0<8){break j}s=u-2|0;b=0;l=6;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;p=i;o=g;Ia:{if(j>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ia}d=((j<<3)+t|0)+8|0}l=j|1;Ja:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Ja}g=S[((l<<3)+t|0)+8>>3]}i=S[d>>3];d=j+2|0;Ka:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ka}d=((d<<3)+t|0)+8|0}l=j+3|0;La:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break La}f=S[((l<<3)+t|0)+8>>3]}x=o+g;w=p+i;g=S[d>>3];d=j+4|0;Ma:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ma}d=((d<<3)+t|0)+8|0}r=w+g;q=x+f;l=j+5|0;Na:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Na}f=S[((l<<3)+t|0)+8>>3]}g=q+f;i=r+S[d>>3];Oa:{if(!(v&255)){m=m>o?o:m;n=np?p:k;v=1;if(h>3]=g;h=oh?g:h;f=m>x?x:m;f=f>q?q:f;m=f>g?g:f;S[e+4392>>3]=i;f=nw?w:k;f=f>r?r:f;k=f>i?i:f;l=b+6|0;if(s>>>0>=l>>>0){continue}break}Pa:{if(b>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Pa}d=((b<<3)+t|0)+8|0}b=b|1;Qa:{if(b>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Qa}f=S[((b<<3)+t|0)+8>>3]}o=S[d>>3];f=g+f;S[e+4400>>3]=f;m=f>3]=g;n=g>n?g:n;k=gh)){break j}h=f;break j}u=N[e+20>>2];if(u>>>0<8){break j}s=u-6|0;j=0;l=2;g=S[e+4400>>3];i=S[e+4392>>3];while(1){d=j;j=l;o=i;f=g;Ra:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ra}b=((d<<3)+t|0)+8|0}d=d|1;Sa:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Sa}g=S[((d<<3)+t|0)+8>>3]}g=f+g;i=o+S[b>>3];Ta:{if(!(v&255)){m=fo?o:k;v=1;if(f>h){break Ta}}f=h}S[e+4400>>3]=g;h=f>3]=i;n=i>n?i:n;k=i>>0>=l>>>0){continue}break}Ua:{if(j>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ua}b=((j<<3)+t|0)+8|0}d=j|1;Va:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;o=0;break Va}o=S[((d<<3)+t|0)+8>>3]}p=S[b>>3];Wa:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Wa}b=((l<<3)+t|0)+8|0}d=j+3|0;Xa:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Xa}f=S[((d<<3)+t|0)+8>>3]}r=g+o;q=i+p;g=S[b>>3];b=j+4|0;Ya:{if(b>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ya}b=((b<<3)+t|0)+8|0}p=r+f;o=q+g;d=j+5|0;Za:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Za}f=S[((d<<3)+t|0)+8>>3]}g=S[b>>3];i=p+f;S[e+4400>>3]=i;h=hh?i:h;f=m>r?r:m;f=f>p?p:f;m=f>i?i:f;g=o+g;S[e+4392>>3]=g;f=nq?q:k;f=f>o?o:f;k=f>g?g:f;break j}s=N[e+20>>2];b=s&1;l=b|4;if(l>>>0>s>>>0){break j}g=S[e+4392>>3];f=g+(b?S[e+24>>3]:-0);i=S[e+4400>>3];while(1){j=b;b=l;o=g;r=i;_a:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break _a}g=S[((j<<3)+t|0)+8>>3]}d=j+1|0;$a:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break $a}d=((d<<3)+t|0)+8|0}q=r+g;l=j+2|0;ab:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break ab}g=S[((l<<3)+t|0)+8>>3]}p=q+g;i=p+S[((j<<3)+t|0)+32>>3];g=f+S[d>>3];bb:{if(!(v&255)){m=m>r?r:m;n=no?o:k;v=1;if(h>3]=i;h=q>r?q:r;h=hh?i:h;o=m>q?q:m;o=o>p?p:o;m=i>3]=g;o=f>n?f:n;n=g>o?g:o;f=fg?g:f;f=g;l=b+4|0;if(s>>>0>=l>>>0){continue}break}break j}s=N[e+20>>2];b=s&1;l=b|4;if(l>>>0>s>>>0){break j}g=S[e+4400>>3];f=g+(b?S[e+24>>3]:-0);i=S[e+4392>>3];while(1){j=b;b=l;o=i;q=g;cb:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break cb}g=S[((j<<3)+t|0)+8>>3]}d=j+1|0;db:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break db}d=((d<<3)+t|0)+8|0}r=o+g;l=j+2|0;eb:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break eb}g=S[((l<<3)+t|0)+8>>3]}p=r+S[d>>3];i=p+S[((j<<3)+t|0)+32>>3];g=f+g;fb:{if(!(v&255)){m=m>q?q:m;n=no?o:k;v=1;if(h>3]=i;h=nh?i:h;h=k>r?r:k;h=h>p?p:h;k=i>3]=g;h=f>q?f:q;h=g>h?g:h;f=fg?g:f;f=g;l=b+4|0;if(s>>>0>=l>>>0){continue}break}break j}z=N[e+20>>2];if(z&4){break r}if(z>>>0<8){break j}I=z&1;b=0;l=8;i=S[e+4400>>3];g=S[e+4392>>3];while(1){j=b;b=l;gb:{if(j>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break gb}f=S[((j<<3)+t|0)+8>>3]}d=j|1;hb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break hb}d=((d<<3)+t|0)+8|0}r=i+f;l=j|2;ib:{if(l>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break ib}f=S[((l<<3)+t|0)+8>>3]}f=r+f;q=g+S[d>>3];d=j|3;jb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;o=0;break jb}o=S[((d<<3)+t|0)+8>>3]}w=q+o;kb:{if(!(v&255)){m=in?g:n;k=gh){break kb}}i=h}o=g>n?g:n;E=o>3]=w;g=gq;s=i>3]=f;l=m>r;d=j|4;lb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break lb}h=S[((d<<3)+t|0)+8>>3]}p=E?q:o;o=u?q:g;i=s?r:i;g=l?r:m;d=j|5;mb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break mb}d=((d<<3)+t|0)+8|0}k=w+h;r=pw?w:o;p=f>i?f:i;o=f>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break nb}h=S[((l<<3)+t|0)+8>>3]}m=f+h;i=m+S[((j<<3|56)+t|0)+8>>3];h=k+S[d>>3];g=h;ob:{if(z-j>>>0>15){break ob}g=h;if(!I){break ob}pb:{if(b>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break pb}f=S[((b<<3)+t|0)+8>>3]}g=h+f}S[e+4392>>3]=g;f=k>r?k:r;f=fh?h:f;k=g>3]=i;h=m>p?m:p;h=i>h?i:h;f=mi?i:f;l=b+8|0;if(z>>>0>=l>>>0){continue}break}break j}A=N[e+20>>2];if(A&4){break s}if(A>>>0<8){break j}z=A&1;b=0;l=8;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;qb:{if(j>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break qb}f=S[((j<<3)+t|0)+8>>3]}d=j|1;rb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break rb}d=((d<<3)+t|0)+8|0}q=i+f;l=j|2;sb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break sb}f=S[((l<<3)+t|0)+8>>3]}x=q+S[d>>3];p=g+f;d=j|3;tb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break tb}f=S[((d<<3)+t|0)+8>>3]}w=p+f;ub:{if(v&255){break ub}m=gn?i:n;k=ih)){break ub}h=g}i=g>h?g:h;E=i>3]=w;f=gp;s=n>3]=x;l=k>q;d=j|4;vb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break vb}h=S[((d<<3)+t|0)+8>>3]}o=E?p:i;i=u?p:f;g=s?q:n;f=l?q:k;d=j|5;wb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break wb}d=((d<<3)+t|0)+8|0}I=ow;u=gx;n=w+h;l=j|6;xb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break xb}h=S[((l<<3)+t|0)+8>>3]}r=I?w:o;o=E?w:i;q=u?x:g;p=s?x:f;k=x+S[d>>3];i=k+S[((j<<3|56)+t|0)+8>>3];f=n+h;g=f;yb:{if(A-j>>>0>15){break yb}g=f;if(!z){break yb}zb:{if(b>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break zb}h=S[((b<<3)+t|0)+8>>3]}g=f+h}S[e+4400>>3]=g;h=n>r?n:r;h=f>h?f:h;h=g>h?g:h;o=ng?g:f;S[e+4392>>3]=i;f=k>q?k:q;n=fi?i:f;l=b+8|0;if(A>>>0>=l>>>0){continue}break}break j}if(N[e+20>>2]==7){f=S[e+4400>>3];w=f+S[e+40>>3];g=S[e+4392>>3];r=g+S[e+24>>3];q=r+S[e+32>>3];p=q+S[e+48>>3];o=p+S[e+56>>3];i=o+S[e+64>>3];x=i+S[e+72>>3];Ab:{if(v&255){break Ab}m=fn?g:n;k=gh)){break Ab}h=f}S[e+4392>>3]=x;g=nr?r:k;g=g>q?q:g;g=g>p?p:g;g=g>o?o:g;g=g>i?i:g;k=g>x?x:g;S[e+4400>>3]=f;h=f>h?f:h;h=hh?f:h;g=fw?w:g;m=f>2]=l+1;break j}if(N[e+20>>2]==13){f=S[e+4400>>3];F=f+S[e+32>>3];B=F+S[e+48>>3];D=B+S[e+64>>3];x=D+S[e+80>>3];w=x+S[e+96>>3];G=w+S[e+112>>3];r=S[e+4392>>3];q=r+S[e+24>>3];p=q+S[e+40>>3];o=p+S[e+56>>3];i=o+S[e+72>>3];g=i+S[e+88>>3];H=g+S[e+104>>3];Bb:{if(!(v&255)){m=fr?r:k;v=1;if(f>h){break Bb}}f=h}S[e+4400>>3]=G;h=fF?F:m;f=f>B?B:f;f=f>D?D:f;f=f>x?x:f;f=f>w?w:f;m=f>G?G:f;S[e+4392>>3]=H;f=nq?q:k;f=f>p?p:f;f=f>o?o:f;f=f>i?i:f;f=f>g?g:f;k=f>H?H:f;break j}N[e+8>>2]=l+1;break j}if(N[e+20>>2]==9){f=S[e+4400>>3];D=f+S[e+32>>3];x=D+S[e+48>>3];w=x+S[e+80>>3];g=S[e+4392>>3];r=g+S[e+24>>3];q=r+S[e+40>>3];p=q+S[e+56>>3];o=p+S[e+64>>3];i=o+S[e+72>>3];B=i+S[e+88>>3];Cb:{if(v&255){break Cb}m=fn?g:n;k=gh)){break Cb}h=f}S[e+4392>>3]=B;g=nr?r:k;g=g>q?q:g;g=g>p?p:g;g=g>o?o:g;g=g>i?i:g;k=g>B?B:g;S[e+4400>>3]=f;h=hh?f:h;g=m>D?D:m;g=g>x?x:g;g=g>w?w:g;m=f>2]=l+1;break j}if(N[e+20>>2]==11){J=S[e+4392>>3];p=S[e+24>>3];F=J+p;o=S[e+40>>3];B=F+o;i=S[e+56>>3];D=B+i;g=S[e+72>>3];x=D+g;f=S[e+88>>3];w=x+f;r=S[e+104>>3];f=V(p+0+o+i+g+f);q=S[e+32>>3];p=S[e+48>>3];o=S[e+64>>3];i=S[e+80>>3];g=S[e+96>>3];b=f>V(q+0+p+o+i+g);G=b?w+r:J;f=S[e+4400>>3];q=f+q;p=q+p;o=p+o;i=o+i;H=i+g;g=b?f:H+r;Db:{if(!(v&255)){m=fJ?J:k;v=1;if(f>h){break Db}}f=h}S[e+4400>>3]=g;h=fh?i:h;h=hh?g:h;f=m>q?q:m;f=f>p?p:f;f=f>o?o:f;f=f>i?i:f;f=f>H?H:f;m=f>g?g:f;S[e+4392>>3]=G;f=nF?F:k;f=f>B?B:f;f=f>D?D:f;f=f>x?x:f;f=f>w?w:f;k=f>G?G:f;break j}N[e+8>>2]=l+1;break j}vf(j,e);break i}j=N[e+20>>2];s=j&1;break m}g=S[e+4400>>3];q=g+S[e+40>>3];p=q+S[e+48>>3];i=S[e+4392>>3];r=i+S[e+24>>3];f=r+S[e+32>>3];b=12;j=4;if(A>>>0>=12){while(1){Eb:{if(v&255){break Eb}m=gn?i:n;k=ih)){break Eb}h=g}i=g>h?g:h;u=i>3]=p;g=gq;l=n>3]=f;d=k>r;Fb:{if(j>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Fb}h=S[((j<<3)+t|0)+8>>3]}m=u?q:i;o=s?q:g;i=l?r:n;g=d?r:k;d=j|1;Gb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Gb}d=((d<<3)+t|0)+8|0}k=mp?p:o;q=f>i?f:i;o=f>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Hb}h=S[((l<<3)+t|0)+8>>3]}g=n+h;p=f+S[d>>3];d=j|3;Ib:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Ib}h=S[((d<<3)+t|0)+8>>3]}i=p+h;S[e+4392>>3]=i;E=p>q;u=o>p;s=k>3]=g;l=n>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Jb}h=S[((d<<3)+t|0)+8>>3]}q=E?p:q;p=u?p:o;o=s?n:k;f=l?n:r;d=j+5|0;Kb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Kb}d=((d<<3)+t|0)+8|0}r=i+h;n=i>q?i:q;k=io?g:o;m=f>g?g:f;l=j+6|0;Lb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Lb}f=S[((l<<3)+t|0)+8>>3]}q=g+f;p=q+S[((j<<3)+t|0)- -64>>3];f=r+S[d>>3];j=b;b=b+8|0;if(A>>>0>=b>>>0){continue}break}}o=j>>>0>>0?f+S[((j<<3)+t|0)+8>>3]:f;Mb:{if(v&255){break Mb}m=gn?i:n;k=ih)){break Mb}h=g}S[e+4400>>3]=p;h=g>h?g:h;h=hq?q:g;m=g>p?p:g;S[e+4392>>3]=o;g=ng?f:g;n=gr?r:k;f=fo?o:f;break j}g=S[e+4392>>3];q=g+S[e+32>>3];p=q+S[e+48>>3];i=S[e+4400>>3];r=i+S[e+24>>3];f=r+S[e+40>>3];b=12;j=4;if(z>>>0>=12){while(1){Nb:{if(!(v&255)){m=in?g:n;k=gh){break Nb}}i=h}o=g>n?g:n;u=o>3]=p;g=gq;l=i>3]=f;d=m>r;Ob:{if(j>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Ob}h=S[((j<<3)+t|0)+8>>3]}k=u?q:o;o=s?q:g;i=l?r:i;g=d?r:m;d=j|1;Pb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Pb}d=((d<<3)+t|0)+8|0}m=p+h;n=kp?p:o;p=f>i?f:i;o=f>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Qb}h=S[((l<<3)+t|0)+8>>3]}g=m+S[d>>3];q=f+h;d=j|3;Rb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Rb}h=S[((d<<3)+t|0)+8>>3]}i=q+h;S[e+4400>>3]=i;E=pq;s=m>n;S[e+4392>>3]=g;l=m>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Sb}h=S[((d<<3)+t|0)+8>>3]}k=E?q:p;q=u?q:o;p=s?m:n;o=l?m:r;d=j+5|0;Tb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Tb}d=((d<<3)+t|0)+8|0}I=i>k;E=ip;s=g>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ub}f=S[((l<<3)+t|0)+8>>3]}h=I?i:k;m=E?i:q;n=u?g:p;k=s?g:o;q=g+S[d>>3];p=q+S[((j<<3)+t|0)- -64>>3];f=r+f;j=b;b=b+8|0;if(z>>>0>=b>>>0){continue}break}}o=j>>>0>>0?f+S[((j<<3)+t|0)+8>>3]:f;Vb:{if(!(v&255)){m=in?g:n;k=gh){break Vb}}i=h}S[e+4400>>3]=o;h=ih?f:h;h=hr?r:m;f=fo?o:f;S[e+4392>>3]=p;f=g>n?g:n;f=fq?q:f;k=f>p?p:f;break j}j=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;i=0}g=S[e+4400>>3];f=S[s>>3];S[e+4392>>3]=S[e+4392>>3]+i;S[e+4400>>3]=g+f;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+j|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3}L[e+4149|0]=1}v=0;N[e+20>>2]=0;N[e+4412>>2]=0;break i}if(!(!s|!j)){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;L[e+4409|0]=1}L[e+4408|0]=1}N[e+4412>>2]=0;b=N[e+20>>2];N[e+20>>2]=0;N[e+4152>>2]=N[e+4152>>2]+(b>>>1|0);break i}n=i;m=g;k=f;L[e+4148|0]=1}N[e+20>>2]=0;N[e+4412>>2]=0}j=0;if(O[e+4164|0]){break a}l=N[e+4>>2];s=N[e+8>>2];if(O[e+16|0]|l>>>0>>0){break a}if(!O[e+4148|0]){continue}}break}S[c+24>>3]=h;S[c+16>>3]=n;S[c+8>>3]=m;S[c>>3]=k;j=1}La=e+4512|0;return j}function UD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=U(0),o=0,p=0,q=0,r=0,s=U(0),t=U(0),u=0,v=0,w=0,x=0,y=0;h=La-4512|0;La=h;a:{b:{p=N[b>>2];j=N[p+148>>2];c:{if(j){break c}k=h- -64|0;while(1){l=N[p>>2];if(!l){j=275552;break c}j=db(1,8);if(!j){j=275552;N[p+148>>2]=275552;break c}N[h+56>>2]=0;N[h+60>>2]=0;N[k>>2]=0;N[k+4>>2]=0;L[h+72|0]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[h+76>>2]=0;N[h+80>>2]=0;f=N[l+32>>2];if((f|0)==-1){b=sb(l+56|0);b=O[b+4|0]|O[b+5|0]<<8;f=(b<<8|b>>>8)&65535;N[l+32>>2]=f}L[h+88|0]=1;N[h+84>>2]=f;b=N[l+12>>2];d:{if(b){f=Qa[b|0](l,1935829368,N[l+16>>2])|0;if(f){break d}}f=275552}e=h+48|0;e:{if(!f){break e}b=N[f>>2];if(!b){break e}if((b|0)<=0){break b}N[f>>2]=b+1}L[e+24|0]=0;N[e+32>>2]=f;g=N[f+12>>2];N[e+4>>2]=g;b=N[f+16>>2];N[e+8>>2]=b+g;if((b|0)<0){break a}N[e+28>>2]=0;if(b>>>0>67108863){b=1073741823}else{b=b<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[e+12>>2]=b;N[e+20>>2]=0;N[e>>2]=0;b=f;f:{g:{if(!g){break g}h:{i:{j:{k:{if(Zi(g,e)){break k}l:{if(O[e+24|0]|!N[e+28>>2]){break l}b=zb(f);N[e+4>>2]=b;N[e+8>>2]=b+N[f+16>>2];if(!b){break l}while(1){L[e+24|0]=1;b=N[e+32>>2];g=N[b+12>>2];N[e+4>>2]=g;i=N[b+16>>2];N[e+8>>2]=i+g;if((i|0)<0){break a}N[e+28>>2]=0;if(i>>>0>67108863){i=1073741823}else{i=i<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}N[e+12>>2]=i;N[e+20>>2]=0;N[e>>2]=0;if(!g){break g}if(Zi(g,e)){break k}if(O[e+24|0]|!N[e+28>>2]){break l}b=zb(f);N[e+4>>2]=b;N[e+8>>2]=b+N[f+16>>2];if(b){continue}break}}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;break j}if(!N[e+28>>2]){break i}N[e+28>>2]=0;b=Zi(g,e);g=N[e+28>>2];ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(g){break j}if(b){break h}}ab(f);f=275552;break f}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}if(N[f+4>>2]){N[f+4>>2]=0}break f}ab(b);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}N[j>>2]=f;f=N[l+32>>2];if((f|0)==-1){b=sb(l+56|0);b=O[b+4|0]|O[b+5|0]<<8;f=(b<<8|b>>>8)&65535;N[l+32>>2]=f}N[j+4>>2]=f;if(!N[p+148>>2]){N[p+148>>2]=j;break c}ab(N[j>>2]);_a(j);j=N[p+148>>2];if(!j){continue}break}}f=275552;b=N[j>>2];b=b?b:275552;b=Q[b+16>>2]<8?275552:N[b+12>>2];m:{if(O[b|0]|O[b+1|0]<<8){e=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);n:{if(!e){break n}i=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(e){b=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{b=275552}l=0;if(i>>>0>=2){e=N[a+72>>2];f=N[a+76>>2];e=e>>>0>f>>>0?e:f;k=e?e:1073741824;b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;f=1;while(1){b=N[j>>2];b=b?b:275552;g=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0>f>>>0){b=(g+(f<<2)|0)+8|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=g+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;if(!(!(b>>>0>=k>>>0&b>>>0>>0)&(b>>>0<=e>>>0|e>>>0>=k>>>0))){l=f;e=b}f=f+1|0;if((i|0)!=(f|0)){continue}break}}f=275552;b=N[j>>2];b=b?b:275552;e=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0>l>>>0){b=(e+(l<<2)|0)+8|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(!b){break n}f=e+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}l=0;o:{p:{if(!(O[f|0]|O[f+1|0]<<8)){break p}q:{o=N[j>>2];b=N[o+16>>2];m=f-N[o+12>>2]|0;if(b>>>0>m>>>0){r=N[j+4>>2];w=b-m|0;j=f+4|0;g=8;b=c;while(1){if(b>>>0>=r>>>0){break p}e=b+1|0;if((e|0)<0){break p}e=j+(e<<2)|0;i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);k=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);b=j+(b<<2)|0;i=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(k>>>0<=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))>>>0){break p}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);k=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);i=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(k-(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))>>>0<9){break p}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(w>>>0<(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))>>>0){break p}k=275552;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);i=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);i=(i-b|0)-8|0;b=e?b+f|0:275552;v=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if((v|0)!=1701868900){j=0;r=0;if((v|0)!=543649392){break o}f=O[f|0]|O[f+1|0]<<8;r=(f<<8|f>>>8)&65535;f=O[b+2|0]|O[b+3|0]<<8;j=(f<<8|f>>>8)<<16>>16;b=O[b|0]|O[b+1|0]<<8;l=(b<<8|b>>>8)<<16>>16;k=Cl(o,(m+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0)+8|0,i);break o}if(i>>>0<2){break q}b=O[b+8|0]|O[b+9|0]<<8;b=(b<<8|b>>>8)&65535;e=g;g=e-1|0;if(e){continue}break}break q}ba(12869,14314,106,18332);B()}j=0;r=0;break o}j=0;r=0;k=275552}b=Q[k+16>>2]<29?275552:N[k+12>>2];e=O[b+20|0]|O[b+21|0]<<8|(O[b+22|0]<<16|O[b+23|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);r:{if(e>>>0>65535){break r}b=O[b+16|0]|O[b+17|0]<<8|(O[b+18|0]<<16|O[b+19|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b>>>0>=65536){break r}N[d+8>>2]=b;N[d>>2]=l;g=0-e|0;N[d+12>>2]=g;f=e+j|0;N[d+4>>2]=f;if(r){c=N[a+24>>2];e=N[c+28>>2];if(!e){b=ae(c+52|0);b=O[b+18|0]|O[b+19|0]<<8;b=(b<<8|b>>>8)&65535;e=b-16>>>0>=16369?1e3:b;N[c+28>>2]=e;g=N[d+12>>2];f=N[d+4>>2];l=N[d>>2];b=N[d+8>>2]}t=R[a+44>>2];n=U(U(e>>>0)/U(r>>>0));s=U(Z(U(U(t*U(n*U(l|0)))+U(.5))));s:{if(U(V(s))>2]=c;s=R[a+48>>2];t=U(Z(U(U(t*U(n*U(b|0)))+U(.5))));t:{if(U(V(t))>2]=a;t=U(Z(U(U(s*U(n*U(g|0)))+U(.5))));u:{if(U(V(t))>2]=a;n=U(Z(U(U(s*U(n*U(f|0)))+U(.5))));v:{if(U(V(n))>2]=a;ab(k);b=1;break m}i=N[a+56>>2];j=N[a+60>>2];e=UE(i,j,l,l>>31);o=Pa;e=e+32768|0;N[d>>2]=((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16;e=N[a+64>>2];l=N[a+68>>2];m=b<<16;o=m>>31;b=UE(i,j,m>>16,o);i=Pa;b=b+32768|0;N[d+8>>2]=((b>>>0<32768?i+1|0:i)&65535)<<16|b>>>16;o=g<<16;i=o>>31;b=UE(e,l,o>>16,i);j=Pa;b=b+32768|0;N[d+12>>2]=((b>>>0<32768?j+1|0:j)&65535)<<16|b>>>16;i=f<<16;j=i>>31;b=UE(e,l,i>>16,j);e=Pa;b=b+32768|0;N[d+4>>2]=((b>>>0<32768?e+1|0:e)&65535)<<16|b>>>16}ab(k)}l=N[p+144>>2];w:{if(l){break w}while(1){i=N[p>>2];if(!i){l=275552;break w}e=La-48|0;La=e;x:{l=db(1,12);if(l){N[e+20>>2]=0;N[e+32>>2]=0;b=N[i+32>>2];if((b|0)==-1){b=sb(i+56|0);b=O[b+4|0]|O[b+5|0]<<8;b=(b<<8|b>>>8)&65535;N[i+32>>2]=b}L[e+44|0]=1;N[e+40>>2]=b;b=N[i+12>>2];y:{if(b){b=Qa[b|0](i,1128418371,N[i+16>>2])|0;if(b){break y}}b=275552}f=N[b>>2];if(f){if((f|0)<=0){break b}N[b>>2]=f+1}L[e+28|0]=0;N[e+36>>2]=b;g=N[b+12>>2];N[e+8>>2]=g;f=N[b+16>>2];N[e+12>>2]=f+g;if((f|0)<0){break a}N[e+32>>2]=0;if(f>>>0>67108863){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[e+16>>2]=f;N[e+24>>2]=0;N[e+4>>2]=0;f=b;z:{A:{if(!g){break A}B:{C:{D:{E:{if(aj(g,e+4|0)){break E}F:{if(O[e+28|0]|!N[e+32>>2]){break F}if(!zb(b)){break F}while(1){L[e+28|0]=1;f=N[e+36>>2];g=N[f+12>>2];N[e+8>>2]=g;k=N[f+16>>2];N[e+12>>2]=k+g;if((k|0)<0){break a}N[e+32>>2]=0;if(k>>>0>67108863){o=1073741823}else{k=k<<6;k=k>>>0<=16384?16384:k;o=k>>>0>=1073741823?1073741823:k}N[e+16>>2]=o;N[e+24>>2]=0;N[e+4>>2]=0;if(!g){break A}if(aj(g,e+4|0)){break E}if(O[e+28|0]|!N[e+32>>2]){break F}f=zb(b);N[e+8>>2]=f;N[e+12>>2]=f+N[b+16>>2];if(f){continue}break}}ab(N[e+36>>2]);break D}if(!N[e+32>>2]){break C}N[e+32>>2]=0;f=aj(g,e+4|0);g=N[e+32>>2];ab(N[e+36>>2]);if(g){break D}if(f){break B}}ab(b);b=275552;break z}ab(N[e+36>>2])}if(!N[b+4>>2]){break z}N[b+4>>2]=0;break z}ab(f)}N[l>>2]=b;if(N[i+32>>2]==-1){b=sb(i+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[i+32>>2]=(b<<8|b>>>8)&65535}b=N[i+12>>2];G:{if(b){b=Qa[b|0](i,1128416340,N[i+16>>2])|0;if(b){break G}}b=275552}f=N[b>>2];if(f){if((f|0)<=0){break b}N[b>>2]=f+1}g=N[b+16>>2];if((g|0)<0){break a}f=N[b+12>>2];H:{if(!f){ab(b);break H}I:{if(g>>>0>=4){f=O[f|0]|O[f+1|0]<<8;ab(b);if((f&65279)!=512){break I}if(!N[b+4>>2]){break H}N[b+4>>2]=0;break H}ab(b)}ab(b);b=275552}N[l+4>>2]=b;b=N[i+28>>2];if(!b){b=ae(i+52|0);b=O[b+18|0]|O[b+19|0]<<8;b=(b<<8|b>>>8)&65535;b=b-16>>>0>=16369?1e3:b;N[i+28>>2]=b}N[l+8>>2]=b}La=e+48|0;b=l;break x}b=b?b:275552;l=N[p+144>>2];if(!l){N[p+144>>2]=b;l=b;break w}if(!b|(b|0)==275552){break w}ab(N[b>>2]);N[b>>2]=0;ab(N[b+4>>2]);_a(b);l=N[p+144>>2];if(!l){continue}break}}b=N[l>>2];b=b?b:275552;g=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);e=275552;J:{if(!b){break J}e=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24)?g+8|0:275552;o=0;k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(k>>>0>=2){b=N[a+72>>2];f=N[a+76>>2];b=b>>>0>f>>>0?b:f;i=b?b:1073741824;b=O[g+52|0];e=O[e+45|0];e=b>>>0>e>>>0?b:e;b=1;while(1){r=275552;j=(g+T(b,48)|0)+8|0;f=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>b>>>0){r=(g+T(b,48)|0)+8|0;f=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}m=O[r+44|0];f=O[(b>>>0>=f>>>0?275552:j)+45|0];f=f>>>0>>0?m:f;if(!(!(f>>>0>=i>>>0&e>>>0>f>>>0)&(e>>>0>=i>>>0|e>>>0>=f>>>0))){o=b;e=f}b=b+1|0;if((k|0)!=(b|0)){continue}break}}b=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);e=275552;if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<=o>>>0){break J}e=(g+T(o,48)|0)+8|0}b=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);K:{if(!b){break K}k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=N[l>>2];b=b?b:275552;j=Q[b+16>>2]<8?275552:N[b+12>>2];i=f+j|0;b=0;while(1){f=0;L:{if((b|0)<0){g=275552;break L}g=i+(b<<3)|0;f=O[g|0]|O[g+1|0]<<8;f=f<<8|f>>>8}M:{if((f&65535)>>>0>c>>>0){break M}f=O[g+2|0]|O[g+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>>0){break M}if((b|0)<0){b=275552}else{if(!j){break K}b=i+(b<<3)|0}if(!O[e+44|0]|!O[e+45|0]){break K}N[h+48>>2]=0;N[h+8>>2]=0;N[h+4496>>2]=0;f=O[b|0]|O[b+1|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>c>>>0){break K}g=O[b+2|0]|O[b+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>>0){break K}f=c-f|0;o=h+4496|0;b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(b){b=i+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}g=O[b+2|0]|O[b+3|0]<<8;N[o>>2]=(g<<8|g>>>8)&65535;g=0;N:{O:{P:{Q:{i=O[b|0]|O[b+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 2:break P;case 0:break Q;default:break N}}if((f|0)<-1){break N}o=b+8|0;i=o+(f<<2)|0;k=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);j=(f|0)<0?275552:i;j=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if((j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))>>>0>=(k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24))>>>0){break N}b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=o+(f<<2)|0;f=(f|0)<0;b=f?275552:g;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);N[h+48>>2]=k+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24));b=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);i=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=f?275552:g;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=i-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;break O}if((f|0)<-1){break N}k=b+8|0;i=k+(f<<1)|0;j=O[i+2|0]|O[i+3|0]<<8;o=(j<<8|j>>>8)&65535;j=(f|0)<0?275552:i;j=O[j|0]|O[j+1|0]<<8;if(o>>>0<=((j<<8|j>>>8)&65535)>>>0){break N}g=k+(f<<1)|0;f=(f|0)<0;k=f?275552:g;k=O[k|0]|O[k+1|0]<<8;b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);N[h+48>>2]=((k<<8|k>>>8)&65535)+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24));b=O[i+2|0]|O[i+3|0]<<8;i=(b<<8|b>>>8)&65535;b=f?275552:g;b=O[b|0]|O[b+1|0]<<8;b=i-((b<<8|b>>>8)&65535)|0}N[h+8>>2]=b;g=1}if(!g){break K}b=N[l+4>>2];i=b?b:275552;f=N[i+16>>2];g=N[h+48>>2];if(f>>>0>>0){break K}b=N[h+8>>2];if(b>>>0>f-g>>>0){break K}R:{S:{switch(N[h+4496>>2]-17|0){case 1:if(b>>>0>11){break R}break K;case 0:break S;default:break K}}if(b>>>0<9){break K}}s=U(Q[l+8>>2]);n=U(s/U(O[e+45|0]));b=N[a+64>>2];k=N[a+68>>2];g=g+(f>>>0<4?275552:N[i+12>>2])|0;c=UE(b,k,O[g|0],0);f=32768-c|0;t=U(Z(U(U(n*U((0-(Pa+(c>>>0>32768)|0)&65535)<<16|f>>>16))+U(.5))));T:{if(U(V(t))>31;f=L[g+3|0];j=f>>31;o=O[g+1|0];g=N[a+56>>2];a=N[a+60>>2];e=O[e+44|0];N[d+12>>2]=l;s=U(s/U(e>>>0));e=UE(g,a,o,0);o=Pa;e=e+32768|0;t=U(Z(U(U(s*U(((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16))+U(.5))));U:{if(U(V(t))>2]=e;b=UE(b,k,f,j);j=Pa;b=b+32768|0;n=U(Z(U(U(n*U(((b>>>0<32768?j+1|0:j)&65535)<<16|b>>>16))+U(.5))));V:{if(U(V(n))>2]=b;a=UE(g,a,c,i);i=Pa;a=a+32768|0;n=U(Z(U(U(s*U(((a>>>0<32768?i+1|0:i)&65535)<<16|a>>>16))+U(.5))));W:{if(U(V(n))>2]=a;b=1;break m}b=b+1|0;if((k|0)!=(b|0)){continue}break}}b=N[p+136>>2];X:{if(b){break X}i=h- -64|0;while(1){b=N[p>>2];if(!b){b=275552;break X}N[h+56>>2]=0;N[h+60>>2]=0;N[i>>2]=0;N[i+4>>2]=0;L[h+72|0]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[h+76>>2]=0;N[h+80>>2]=0;L[h+88|0]=1;N[h+84>>2]=0;e=N[b+12>>2];Y:{if(e){b=Qa[e|0](b,1129270354,N[b+16>>2])|0;if(b){break Y}}b=275552}f=h+48|0;Z:{if(!b){break Z}e=N[b>>2];if(!e){break Z}if((e|0)<=0){break b}N[b>>2]=e+1}L[f+24|0]=0;N[f+32>>2]=b;l=N[b+12>>2];N[f+4>>2]=l;e=N[b+16>>2];N[f+8>>2]=e+l;if((e|0)<0){break a}N[f+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[f+12>>2]=e;N[f+20>>2]=0;N[f>>2]=0;e=b;_:{$:{if(!l){break $}aa:{ba:{ca:{da:{if(_i(l,f)){break da}ea:{if(O[f+24|0]|!N[f+28>>2]){break ea}e=zb(b);N[f+4>>2]=e;N[f+8>>2]=e+N[b+16>>2];if(!e){break ea}while(1){L[f+24|0]=1;e=N[f+32>>2];l=N[e+12>>2];N[f+4>>2]=l;g=N[e+16>>2];N[f+8>>2]=g+l;if((g|0)<0){break a}N[f+28>>2]=0;if(g>>>0>67108863){g=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}N[f+12>>2]=g;N[f+20>>2]=0;N[f>>2]=0;if(!l){break $}if(_i(l,f)){break da}if(O[f+24|0]|!N[f+28>>2]){break ea}e=zb(b);N[f+4>>2]=e;N[f+8>>2]=e+N[b+16>>2];if(e){continue}break}}ab(N[f+32>>2]);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;break ca}if(!N[f+28>>2]){break ba}N[f+28>>2]=0;e=_i(l,f);g=N[f+28>>2];ab(N[f+32>>2]);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;if(g){break ca}if(e){break aa}}ab(b);b=275552;break _}ab(N[f+32>>2]);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}break _}ab(e);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0}e=b;b=N[p+136>>2];fa:{if(e){if(b){break fa}b=e;N[p+136>>2]=b;break X}if(b){break X}b=275552;N[p+136>>2]=275552;break X}if((e|0)==275552){break X}ab(e);b=N[p+136>>2];if(!b){continue}break}}m=275552;b=Q[b+16>>2]<14?275552:N[b+12>>2];ga:{if((O[b|0]|O[b+1|0]<<8)!=256){break ga}e=O[b+30|0]|O[b+31|0]<<8|(O[b+32|0]<<16|O[b+33|0]<<24);if(e){m=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}j=275552;o=275552;e=O[b+26|0]|O[b+27|0]<<8|(O[b+28|0]<<16|O[b+29|0]<<24);if(e){o=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}e=O[b+22|0]|O[b+23|0]<<8|(O[b+24|0]<<16|O[b+25|0]<<24);if(e){j=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}b=O[j+1|0]|O[j+2|0]<<8|(O[j+3|0]<<16|O[j+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((b|0)<=0){break ga}l=N[a+84>>2];i=N[a+88>>2];k=j+5|0;b=b-1|0;f=0;while(1){e=b+f>>>1|0;g=k+T(e,7)|0;r=O[g|0]|O[g+1|0]<<8;ha:{if(((r<<8|r>>>8)&65535)>>>0<=c>>>0){f=O[g+2|0]|O[g+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>>0){f=e+1|0;break ha}ia:{ja:{ka:{la:{ma:{b=k+T(e,7)|0;b=O[b+5|0]<<8|O[b+4|0]<<16|O[b+6|0];c=b?b+j|0:275552;switch(O[c|0]-1|0){case 1:break ka;case 0:break la;default:break ma}}k=N[d+8>>2];f=N[d+4>>2];g=N[d>>2];c=N[d+12>>2];break ia}b=O[c+7|0]|O[c+8|0]<<8;f=(b<<8|b>>>8)&65535;b=O[c+5|0]|O[c+6|0]<<8;k=(b<<8|b>>>8)&65535;b=O[c+3|0]|O[c+4|0]<<8;e=(b<<8|b>>>8)&65535;b=O[c+1|0]|O[c+2|0]<<8;g=(b<<8|b>>>8)&65535;break ja}b=O[c+7|0]|O[c+8|0]<<8;j=b<<8|b>>>8;b=O[c+5|0]|O[c+6|0]<<8;p=b<<8|b>>>8;b=O[c+3|0]|O[c+4|0]<<8;w=b<<8|b>>>8;b=O[c+1|0]|O[c+2|0]<<8;g=b<<8|b>>>8;if(!l){f=j&65535;k=p&65535;e=w&65535;g=g&65535;break ja}f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=nd(o,k);b=e>>>16|0;r=O[m+6|0]|O[m+7|0]<<8;r=(r<<8|r>>>8)&65535;na:{if(b>>>0>=r>>>0){n=U(.5);break na}b=(b<<2)+m|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+m|0}else{b=275552}f=e&65535;e=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(e){e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+m|0}else{e=275552}n=U(Fc(b,f,i,l,e,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[m+6|0]|O[m+7|0]<<8;r=(b<<8|b>>>8)&65535}e=nd(o,(f|0)==-1?-1:k+1|0);b=e>>>16|0;v=b>>>0>=r>>>0;n=U(U(Z(n))+U(g<<16>>16));oa:{if(U(V(n))>>8&65280|b>>>24))+m|0}else{b=275552}f=e&65535;e=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(e){e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+m|0}else{e=275552}n=U(Fc(b,f,i,l,e,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[m+6|0]|O[m+7|0]<<8;r=(b<<8|b>>>8)&65535}v=nd(o,(f|0)==-1?-1:k+2|0);b=v>>>16|0;x=b>>>0>=r>>>0;n=U(U(Z(n))+U(w<<16>>16));qa:{if(U(V(n))>>8&65280|b>>>24))+m|0}else{b=275552}k=v&65535;f=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(f){f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+m|0}else{f=275552}n=U(Fc(b,k,i,l,f,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[m+6|0]|O[m+7|0]<<8;r=(b<<8|b>>>8)&65535}c=nd(o,(f|0)==-1?-1:k+3|0);b=c>>>16|0;f=b>>>0>=r>>>0;n=U(U(Z(n))+U(p<<16>>16));sa:{if(U(V(n))>>8&65280|b>>>24))+m|0}else{b=275552}f=c&65535;c=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+m|0}else{c=275552}t=U(Fc(b,f,i,l,c,0)+U(.5))}n=U(U(Z(t))+U(j<<16>>16));if(U(V(n))>2];j=c<<16;i=j>>31;a=N[a+56>>2];c=UE(a,b,j>>16,i);e=Pa;c=c+32768|0;N[d+12>>2]=((c>>>0<32768?e+1|0:e)&65535)<<16|c>>>16;i=k<<16;e=i>>31;c=UE(a,b,i>>16,e);m=Pa;c=c+32768|0;N[d+8>>2]=((c>>>0<32768?m+1|0:m)&65535)<<16|c>>>16;e=f<<16;m=e>>31;c=UE(a,b,e>>16,m);o=Pa;c=c+32768|0;N[d+4>>2]=((c>>>0<32768?o+1|0:o)&65535)<<16|c>>>16;m=g<<16;o=m>>31;a=UE(a,b,m>>16,o);j=Pa;a=a+32768|0;N[d>>2]=((a>>>0<32768?j+1|0:j)&65535)<<16|a>>>16;b=1;break m}b=e-1|0}if((b|0)>=(f|0)){continue}break}}f=N[p+60>>2];ta:{if(f){break ta}while(1){b=N[p>>2];if(!b){f=275552;break ta}e=db(1,28);if(!e){f=275552;N[p+60>>2]=275552;break ta}f=Me(e,b);if(!N[p+60>>2]){N[p+60>>2]=f;break ta}ab(N[f+24>>2]);_a(f);f=N[p+60>>2];if(!f){continue}break}}b=1;if(eq(f,a,c,d)){break m}e=Kg(p- -64|0);N[h+72>>2]=0;N[h+76>>2]=0;f=h- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+48>>2]=0;N[h+52>>2]=0;g=0;if(kj(e,c,h+48|0,0)){f=0;q=S[h+64>>3];u=S[h+48>>3];if(q>u){n=R[a+44>>2];s=U(Z(U(U(n*U(u))+U(.5))));ua:{if(U(V(s))>2]=f;N[d+8>>2]=g;g=0;f=0;q=S[h+72>>3];u=S[h+56>>3];if(q>u){n=R[a+48>>2];s=U(Z(U(U(n*U(q))+U(.5))));wa:{if(U(V(s))>2]=f;N[d+12>>2]=g;break m}f=N[p+68>>2];ya:{if(f){break ya}while(1){b=N[p>>2];if(!b){f=275552;break ya}e=db(1,132);if(!e){f=275552;N[p+68>>2]=275552;break ya}f=bq(e,b);if(!N[p+68>>2]){N[p+68>>2]=f;break ya}_a(lj(f));f=N[p+68>>2];if(!f){continue}break}}b=0;if(!N[f+44>>2]|Q[f+128>>2]<=c>>>0){break m}b=lq(N[f+96>>2],c);be(h+4496|0,N[f+88>>2],c);o=b>>>0>=Q[f+120>>2]?275552:N[f+124>>2]+T(b,28)|0;e=N[o+20>>2];k=N[a+84>>2];j=N[a+88>>2];l=N[f+80>>2];L[h+64|0]=0;C(h+68|0,0,4108);b=h+4240|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4248>>2]=0;b=h+4260|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4268>>2]=0;b=h+4280|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4288>>2]=0;b=h+4300|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4308>>2]=0;b=h+4320|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4328>>2]=0;b=h+4340|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4348>>2]=0;N[h+4368>>2]=0;b=h+4360|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4388>>2]=0;b=h+4380|0;N[b>>2]=0;N[b+4>>2]=0;L[h+4212|0]=0;N[h+56>>2]=0;c=N[h+4500>>2];g=c;b=N[h+4496>>2];N[h+48>>2]=b;N[h+52>>2]=g;N[h+4408>>2]=0;c=h+4400|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4224|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4216|0;N[c>>2]=0;N[c+4>>2]=0;N[h+4192>>2]=0;c=h+4184|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4448|0;N[c>>2]=0;N[c+4>>2]=0;N[h+4424>>2]=l;N[h+4176>>2]=b;N[h+4180>>2]=g;N[h+4208>>2]=0;N[h+4200>>2]=0;N[h+4204>>2]=0;L[h+4197|0]=1;L[h+4198|0]=0;N[h+4440>>2]=0;N[h+4444>>2]=0;c=107;b=107;za:{if(!l){break za}l=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);l=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);b=107;if(l>>>0<1240){break za}b=l>>>0<33900?1131:32768}N[h+4432>>2]=e;N[h+4420>>2]=b;Aa:{if(!e){break Aa}b=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b>>>0<1240){break Aa}c=b>>>0<33900?1131:32768}N[h+4460>>2]=k;N[h+4456>>2]=j;N[h+4428>>2]=c;b=N[f+84>>2];N[h+4484>>2]=0;N[h+4464>>2]=b;L[h+4489|0]=0;L[h+4490|0]=0;N[h+4476>>2]=0;N[h+4480>>2]=0;i=h- -64|0;c=0;Ba:{if(!j){break Ba}c=0;if(!k){break Ba}c=(O[b|0]|O[b+1|0]<<8)!=0}L[h+4488|0]=c;N[h+4472>>2]=N[o+24>>2];L[h+4196|0]=0;N[h+40>>2]=0;N[h+44>>2]=-1042284544;N[h+32>>2]=0;N[h+36>>2]=-1042284544;N[h+24>>2]=-4194304;N[h+28>>2]=1105199103;N[h+16>>2]=-4194304;N[h+20>>2]=1105199103;L[h+8|0]=0;w=h+72|0;l=1e4;f=0;Ca:{while(1){Da:{l=l-1|0;if(!l){N[h+56>>2]=g+1;break Da}Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{c=f+1|0;Ka:{if(c>>>0<=g>>>0){e=N[h+48>>2];b=O[e+f|0];N[h+56>>2]=c;if((b|0)==12){b=f+2|0;if(b>>>0>g>>>0){b=65535;break Ka}c=O[c+e|0];N[h+56>>2]=b;b=c|256}La:{switch(b-10|0){case 0:case 19:kq(b,h+48|0,h+8|0);break Ea;case 6:jq(h+48|0);b=N[h+68>>2];Ma:{if(b){m=b-1|0;N[h+68>>2]=m;q=S[(i+(m<<3)|0)+8>>3];break Ma}m=0;N[147456]=0;N[147457]=0;L[h+64|0]=1;q=0}j=N[h+4468>>2];if(V(q)<2147483648){g=~~q}else{g=-2147483648}if((g|0)<0){break Ja}k=T(j^-1,g)+m|0;if(k>>>0>m>>>0){break Ha}if(!g){g=0;break Fa}if(!O[h+4488|0]){b=0;if((g|0)!=1){c=g&1;e=g&-2;while(1){f=b+k|0;Na:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Na}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;f=k+(b|1)|0;Oa:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Oa}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!c){break Fa}}b=b+k|0;if(b>>>0>>0){break Ia}N[147456]=0;N[147457]=0;L[h+64|0]=1;S[73728]=0;break Fa}f=N[h+4480>>2];if(!f){break Ga}v=g+k|0;o=N[h+4484>>2];c=f&-2;x=f&1;e=0;while(1){b=v+T(e,j)|0;p=513-b|0;p=p>>>0<=513?p:0;p=j>>>0>p>>>0?p:j;r=e+k|0;Pa:{if(r>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;r=589824;q=0;break Pa}r=(i+(r<<3)|0)+8|0;q=S[r>>3]}u=0;Qa:{if((f|0)!=(p|0)){break Qa}p=w+(b<<3)|0;b=0;if((f|0)!=1){while(1){y=b|1;u=+R[o+(y<<2)>>2]*S[p+(y<<3)>>3]+(+R[o+(b<<2)>>2]*S[p+(b<<3)>>3]+u);b=b+2|0;if((c|0)!=(b|0)){continue}break}b=c;if(!x){break Qa}}u=+R[o+(b<<2)>>2]*S[p+(b<<3)>>3]+u}S[r>>3]=q+u;e=e+1|0;if((g|0)!=(e|0)){continue}break};break Fa;case 5:break La;default:break Ka}}b=N[h+68>>2];Ra:{if(!b){b=0;N[147456]=0;N[147457]=0;L[h+64|0]=1;break Ra}q=S[i+(b<<3)>>3];Sa:{if(V(q)<2147483648){b=~~q;break Sa}b=-2147483648}if((b|0)>=0){break Ra}L[h+64|0]=1;b=0}Ta:{if(O[h+4489|0]|O[h+4490|0]){N[h+56>>2]=g+1;break Ta}N[h+4472>>2]=b}N[h+68>>2]=0;L[h+4489|0]=1;break Ea}b=N[h+4216>>2]?11:14}kq(b,h+48|0,h+8|0);break Ea}L[h+64|0]=1;g=0;break Fa}b=i+(b<<3)|0;S[b+8>>3]=S[b+8>>3]+0;break Fa}N[h+56>>2]=N[h+52>>2]+1;break Ea}b=0;if((g|0)!=1){c=g&1;e=g&-2;while(1){f=b+k|0;Ua:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Ua}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;f=k+(b|1)|0;Va:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Va}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!c){break Fa}}b=b+k|0;Wa:{if(b>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;b=589824;q=0;break Wa}b=(i+(b<<3)|0)+8|0;q=S[b>>3]+0}S[b>>3]=q}b=T(g,j);if(b>>>0<=m>>>0){N[h+68>>2]=m-b;break Ea}L[h+64|0]=1}b=0;if(O[h+4212|0]){break Ca}f=N[h+56>>2];g=N[h+52>>2];if(O[h+64|0]|f>>>0>g>>>0){break Ca}if(!O[h+4196|0]){continue}}break}f=0;b=0;q=S[h+32>>3];u=S[h+16>>3];if(q>u){n=R[a+44>>2];s=U(Z(U(U(n*U(u))+U(.5))));Xa:{if(U(V(s))>2]=b;N[d+8>>2]=f;q=S[h+40>>3];u=S[h+24>>3];Za:{if(!(q>u)){N[d+4>>2]=0;N[d+12>>2]=0;break Za}n=R[a+48>>2];s=U(Z(U(U(n*U(q))+U(.5))));_a:{if(U(V(s))>2]=a;n=U(Z(U(U(n*U(u))+U(.5))));$a:{if(U(V(n))>2]=b-a}b=1}if(N[h+4480>>2]){N[h+4480>>2]=0}_a(N[h+4484>>2])}La=h+4512|0;return b|0}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function ej(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=U(0),q=0,r=0,s=0,t=0,u=0,v=U(0),w=0,x=0,y=U(0),z=U(0),A=U(0),D=0,E=0,G=0,H=0,I=U(0),J=0,K=0,S=0,V=0,W=0,X=0,Y=0,Z=0,_=U(0),$=0,aa=0,ca=U(0),da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;o=La+-64|0;La=o;if(g>>>0<=64){if(!N[f+4>>2]){h=N[b+88>>2];i=N[b+84>>2];N[f+8>>2]=0;Aa=f,Ba=_E(i,h,32),N[Aa>>2]=Ba;N[f+4>>2]=Pa}j=N[d+4>>2];h=N[a+20>>2];u=!j&(h|0)==1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(h-1|0){case 0:h=N[a+12>>2];i=O[h|0]|O[h+1|0]<<8;if(!i){break k}D=N[a>>2];s=h+10|0;m=(i<<8|i>>>8)<<16>>16;l=s+(m<<1)|0;if(D>>>0>l>>>0){break h}r=D+N[a+4>>2]|0;if(r>>>0>>0){break h}if(r-l>>>0<2){break a}h=u?N[d>>2]:0;if((h|0)<0){break h}m:{i=(s+(m<<1)|0)-2|0;i=O[i|0]|O[i+1|0]<<8;q=(i<<8|i>>>8)&65535;i=q+5|0;n:{if(i>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(i>>>0>=h>>>0){continue}break}if(h>>>0>357913941){break m}i=$a(u?N[d+8>>2]:0,T(h,12));if(!i){break m}if(!u){G=i;t=h;break n}N[d>>2]=h;N[d+8>>2]=i}t=0}i=q+1|0;o:{if(h>>>0>q>>>0){break o}while(1){h=((h>>>1|0)+h|0)+8|0;if(i>>>0>=h>>>0){continue}break}if(h>>>0>357913941){break m}k=$a(u?N[d+8>>2]:G,T(h,12));if(!k){break m}if(!u){G=k;t=h;break o}N[d>>2]=h;N[d+8>>2]=k}j=N[d+4>>2];h=u?j:0;if(q>>>0>=h>>>0){while(1){k=h+1|0;p:{if(!u){n=k;break p}N[d+4>>2]=k}h=T(h,12)+(u?N[d+8>>2]:G)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;j=N[d+4>>2];h=u?j:n;if(q>>>0>=h>>>0){continue}break}}q:{if(!u){n=i;break q}N[d+4>>2]=i;j=i}if(e){break i}if((m|0)<=0){break j}h=0;while(1){i=s+(h<<1)|0;i=O[i|0]|O[i+1|0]<<8;i=(i<<8|i>>>8)&65535;r:{if(i>>>0>=(u?N[d+4>>2]:n)>>>0){N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break r}i=T(i,12)+(u?N[d+8>>2]:G)|0}L[i+9|0]=1;h=h+1|0;if((m|0)!=(h|0)){continue}break}break j}if(!u){break a}N[d>>2]=-1;break a;case 1:break l;default:break i}}h=N[a+12>>2]+10|0;n=N[a>>2];i=0;s:{if(h>>>0>>0){break s}k=n+N[a+4>>2]|0;i=0;if(k>>>0>>0){break s}r=k-h|0;i=0;if(r>>>0<4){break s}m=O[h|0]|O[h+1|0]<<8;q=m<<8|m>>>8;i=q&1?8:6;l=i+2|0;t:{if(q&8){break t}l=i+4|0;q=q&65535;if(q&64){break t}l=q&128?i+8|0:i}i=0;if(l>>>0>r>>>0){break s}u:{if(!(m&8192)){break u}while(1){h=h+l|0;if(n>>>0>h>>>0|h>>>0>k>>>0){break u}i=k-h|0;if(i>>>0<4){break u}q=O[h|0]|O[h+1|0]<<8;r=q<<8|q>>>8;m=r&1?8:6;l=m+2|0;v:{if(r&8){break v}l=m+4|0;r=r&65535;if(r&64){break v}l=r&128?m+8|0:m}if(i>>>0>>0){break u}w=w+1|0;if(q&8192){continue}break}}i=w+1|0}h=u?N[d>>2]:0;if((h|0)<0){break h}n=0;i=(i|0)>0?i:0;if(i>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(i>>>0>=h>>>0){continue}break}w:{if(h>>>0<=357913941){G=$a(u?N[d+8>>2]:0,T(h,12));if(G){break w}}G=0;if(!u){break a}N[d>>2]=-1;break h}if(u){N[d>>2]=h;N[d+8>>2]=G;G=0;h=0}t=h;j=N[d+4>>2]}h=u?j:0;if(i>>>0>h>>>0){while(1){k=h+1|0;x:{if(!u){n=k;break x}N[d+4>>2]=k}h=T(h,12)+(u?N[d+8>>2]:G)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;j=N[d+4>>2];h=u?j:n;if(i>>>0>h>>>0){continue}break}}if(!u){n=i;break i}N[d+4>>2]=i;j=i;break i}ba(10382,14236,182,9951);B()}h=O[l|0]|O[l+1|0]<<8;i=((s+(m<<1)|0)+((h<<8|h>>>8)&65535)|0)+2|0;if(D>>>0>i>>>0|i>>>0>=r>>>0){break a}j=N[d+4>>2];m=u?j:n;if(!m){break i}l=u?N[d+8>>2]:G;s=0;while(1){h=i+1|0;if(h>>>0>r>>>0){break a}q=O[i|0];L[(T(s,12)+l|0)+8|0]=q;k=s+1|0;y:{if(!(q&8)){i=h;break y}i=i+2|0;if(r>>>0>>0){break a}h=O[h|0]+k|0;h=h>>>0>>0?h:m;if(h>>>0<=k>>>0){break y}j=0;D=h+(s^-1)&7;if(D){while(1){L[(T(k,12)+l|0)+8|0]=q;k=k+1|0;j=j+1|0;if((D|0)!=(j|0)){continue}break}}if((h-s|0)-2>>>0>=7){while(1){j=T(k,12)+l|0;L[j+8|0]=q;L[j+20|0]=q;L[j+32|0]=q;L[j+44|0]=q;L[j+56|0]=q;L[j+68|0]=q;L[j+80|0]=q;L[j+92|0]=q;k=k+8|0;if((h|0)!=(k|0)){continue}break}}k=h}s=k;if(m>>>0>k>>>0){continue}break}h=0;j=0;while(1){z:{A:{B:{if((u?N[d+4>>2]:n)>>>0<=h>>>0){N[147456]=0;N[147457]=0;N[147458]=0;break B}l=O[(T(h,12)+l|0)+8|0];if(l&2){k=i+1|0;if(k>>>0>r>>>0){break z}i=O[i|0];if(l&16){j=i+j|0;i=k;break A}j=j-i|0;i=k;break A}if(l&16){break A}}k=i+2|0;if(k>>>0>r>>>0){break z}i=O[i|0]|O[i+1|0]<<8;j=((i<<8|i>>>8)<<16>>16)+j|0;i=k}l=u?N[d+8>>2]:G;R[l+T(h,12)>>2]=j|0;h=h+1|0;w=m>>>0<=h>>>0;if((h|0)!=(m|0)){continue}}break}if(!(w&1)){break h}j=N[d+4>>2];m=u?j:n;if(!m){break i}w=0;h=0;j=0;while(1){C:{D:{E:{if((u?N[d+4>>2]:n)>>>0<=h>>>0){N[147456]=0;N[147457]=0;N[147458]=0;break E}l=O[(T(h,12)+(u?N[d+8>>2]:G)|0)+8|0];if(l&4){k=i+1|0;if(k>>>0>r>>>0){break C}i=O[i|0];if(l&32){j=i+j|0;i=k;break D}j=j-i|0;i=k;break D}if(l&32){break D}}k=i+2|0;if(k>>>0>r>>>0){break C}i=O[i|0]|O[i+1|0]<<8;j=((i<<8|i>>>8)<<16>>16)+j|0;i=k}R[(T(h,12)+(u?N[d+8>>2]:G)|0)+4>>2]=j|0;h=h+1|0;w=m>>>0<=h>>>0;if((h|0)!=(m|0)){continue}}break}if(!(w&1)){break h}j=N[d+4>>2]}l=u?N[d>>2]:t;if((l|0)<0){break h}h=u?j:n;i=h+4|0;i=(i|0)>0?i:0;if(i>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(i>>>0>=l>>>0){continue}break}F:{if(l>>>0<=357913941){h=$a(u?N[d+8>>2]:G,T(l,12));if(h){break F}}if(!u){break h}N[d>>2]=-1;break h}G:{if(!u){G=h;break G}N[d>>2]=l;N[d+8>>2]=h}h=u?N[d+4>>2]:n}if(h>>>0>>0){while(1){k=h+1|0;H:{if(!u){n=k;break H}N[d+4>>2]=k}h=T(h,12)+(u?N[d+8>>2]:G)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;h=u?N[d+4>>2]:n;if(i>>>0>h>>>0){continue}break}}ha=i;if(u){N[d+4>>2]=i;ha=n}r=i-4|0;j=i-r|0;m=j>>>0>i>>>0;t=N[d+8>>2];h=N[a+16>>2];i=N[c+4>>2];k=N[i>>2];I:{J:{if(h>>>0>>0){if((h|0)<0){i=275552}else{i=N[i+20>>2];i=N[(i?i:275552)+12>>2]+(h<<2)|0}h=i+2|0;break J}if(Q[i+4>>2]<=h>>>0){s=N[a+12>>2];k=0;break I}K:{if((k|0)<0){s=275552;break K}n=N[i+20>>2];s=N[(n?n:275552)+12>>2]+(k<<2)|0;k=N[i>>2]}h=(h-k<<1)+s|0}s=N[a+12>>2];i=O[s+2|0]|O[s+3|0]<<8;h=O[h|0]|O[h+1|0]<<8;k=((i<<8|i>>>8)<<16>>16)-((h<<8|h>>>8)<<16>>16)|0;h=N[a+16>>2]}q=m?0:j;i=O[s+8|0]|O[s+9|0]<<8;m=i>>>8|0;n=i<<8;i=N[c+8>>2];l=N[i>>2];L:{M:{if(l>>>0>h>>>0){if((h|0)<0){i=275552}else{i=N[i+20>>2];i=N[(i?i:275552)+12>>2]+(h<<2)|0}h=i+2|0;break M}if(Q[i+4>>2]<=h>>>0){j=0;break L}N:{if((l|0)<0){j=275552;break N}j=N[i+20>>2];j=N[(j?j:275552)+12>>2]+(l<<2)|0;l=N[i>>2]}h=(h-l<<1)+j|0}h=O[h|0]|O[h+1|0]<<8;j=(h<<8|h>>>8)<<16>>16;h=N[a+16>>2]}l=m|n;s=q>>>0<4;m=N[c+4>>2];O:{if(Q[m+4>>2]>h>>>0){i=N[m>>2]-1|0;i=h>>>0>i>>>0?i:h;P:{if((i|0)<0){n=275552;break P}h=N[m+20>>2];n=N[(h?h:275552)+12>>2]+(i<<2)|0;h=N[a+16>>2]}i=O[n|0]|O[n+1|0]<<8;i=(i<<8|i>>>8)&65535;break O}i=0;if(N[m+8>>2]){break O}i=N[m+16>>2]}n=u?t:G;r=T(r,12);l=l<<16>>16;S=s?q:4;m=N[c+8>>2];Q:{if(Q[m+4>>2]>h>>>0){q=N[m>>2]-1|0;h=h>>>0>q>>>0?q:h;if((h|0)<0){h=275552}else{m=N[m+20>>2];h=N[(m?m:275552)+12>>2]+(h<<2)|0}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;break Q}h=0;if(N[m+8>>2]){break Q}h=N[m+16>>2]}Y=n+r|0;j=j+l|0;R:{S:{T:{U:{V:{if(!S){break V}R[Y>>2]=k|0;if((S|0)==1){break V}R[Y+12>>2]=i+k>>>0;if(S>>>0>2){break U}}p=U(j-h|0);break T}R[Y+28>>2]=j|0;p=U(j-h|0);if((S|0)!=3){break S}}N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break R}i=Y+36|0}R[i+4>>2]=p;pa=N[f+4>>2];W:{if(!pa){break W}j=N[a+16>>2];q=N[c>>2];n=N[q>>2];h=n?n:275552;k=Q[h+16>>2]<20?275552:N[h+12>>2];h=O[k+12|0]|O[k+13|0]<<8;if(j>>>0>=((h<<8|h>>>8)&65535)>>>0){break W}m=k+20|0;H=275552;X:{if(L[k+15|0]&1){h=m+(j<<2)|0;h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);break X}h=m+(j<<1)|0;h=O[h|0]|O[h+1|0]<<8;i=((h<<8|h>>>8)&65535)<<1}l=O[k+12|0]|O[k+13|0]<<8;h=0;Y:{if(j>>>0>=((l<<8|l>>>8)&65535)>>>0){break Y}h=j+1|0;if(L[k+15|0]&1){h=m+(h<<2)|0;h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);break Y}h=m+(h<<1)|0;h=O[h|0]|O[h+1|0]<<8;h=((h<<8|h>>>8)&65535)<<1}Z:{if(i>>>0>h>>>0){j=0;break Z}j=N[n+16>>2];k=O[k+16|0]|O[k+17|0]<<8|(O[k+18|0]<<16|O[k+19|0]<<24);k=i+(k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24))|0;m=j-k|0;j=j>>>0>=m>>>0?m:0;h=h-i|0;j=h>>>0>j>>>0?j:h;if(j>>>0<4){j=0;break Z}fa=k+N[n+12>>2]|0;H=fa}h=O[H|0]|O[H+1|0]<<8;if(!h){break W}m=N[d+4>>2];n=N[d+8>>2];sa=N[f>>2];N[o+32>>2]=0;N[o+24>>2]=0;N[o+28>>2]=0;k=275552;i=N[q>>2];i=i?i:275552;i=Q[i+16>>2]<20?275552:N[i+12>>2];i=O[i+4|0]|O[i+5|0]<<8;_:{if(h&128){h=O[H+2|0]|O[H+3|0]<<8;if(h){k=((h<<8|h>>>8)&65535)+H|0}N[o+52>>2]=k;if(!Vp(o+52|0,o+24|0,j+fa|0)){break _}ka=N[o+52>>2]-k|0;h=O[H|0]|O[H+1|0]<<8}if(!(h&65295)){break _}V=H+4|0;if(fa>>>0>V>>>0){break _}ga=j+fa|0;if(ga>>>0>>0){break _}h=ga-V|0;if(h>>>0<4){break _}la=((i<<8|i>>>8)&65535)<<1;j=O[H+6|0]|O[H+7|0]<<8;i=T(la,j>>>5&2|j>>>7&1)+4|0;k=O[H+4|0]|O[H+5|0]<<8;k=(k<<8|k>>>8)&65535;if(h>>>0<(i>>>0>k>>>0?i:k)>>>0){break _}D=u?m:ha;h=(D|0)>0;$=h?D:0;$:{if(h){while(1){X=((X>>>1|0)+X|0)+8|0;if($>>>0>=X>>>0){continue}break}h=0;if(X>>>0>357913941){break $}X=kb(T(X,12));if(!X){break $}}ia=u?n:G;h=T(D,12);if(h){F(X,ia,h)}h=0;aa:{if((D|0)>0){while(1){h=((h>>>1|0)+h|0)+8|0;if($>>>0>=h>>>0){continue}break}n=0;if(h>>>0>357913941){break aa}h=kb(T(h,12));if(!h){break aa}}n=h;if(D){h=0;j=0;while(1){ba:{if(!O[(T(h,12)+ia|0)+9|0]){break ba}ca:{da:{if((j|0)<0){break da}k=j;i=ja+1|0;if(j>>>0>=i>>>0){l=Z;break ca}while(1){k=((k>>>1|0)+k|0)+8|0;if(i>>>0>=k>>>0){continue}break}j=-1;if(k>>>0>1073741823){break da}l=$a(Z,k<<2);if(l){break ca}}N[147456]=0;break ba}N[(ja<<2)+l>>2]=h;Z=l;ja=i;j=k}h=h+1|0;if((D|0)!=(h|0)){continue}break}j=O[H+6|0]|O[H+7|0]<<8;k=D}else{k=0}ta=o+60|0;ua=o+56|0;va=o+32|0;wa=o+28|0;h=N[q>>2];h=h?h:275552;h=Q[h+16>>2]<20?275552:N[h+12>>2];i=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);m=O[h+6|0]|O[h+7|0]<<8;ma=O[h+4|0]|O[h+5|0]<<8;N[o+60>>2]=0;N[o+52>>2]=0;N[o+56>>2]=0;W=(ma<<8|ma>>>8)&65535;na=T(W,(m<<8|m>>>8)&65535);xa=h+(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))|0;ya=D&-2;za=D&1;qa=T($,12);r=0;i=0;while(1){ea:{fa:{ga:{t=j&128;ha:{if(t){h=T(j>>>5&2|j>>>7&1,W);w=h>>>0>>0?h:W;s=V+4|0;break ha}h=T((j<<8|(j&65280)>>>8)&4095,W);if(h>>>0>=na>>>0){break ga}m=na-h|0;m=m>>>0<=na>>>0?m:0;w=m>>>0>>0?m:W;s=(h<<1)+xa|0}h=0;m=0;l=0;J=0;q=0;if(j&64){j=T(j>>>5&2|j>>>7&1,W);m=t?W:0;t=m+W|0;l=j-t|0;l=j>>>0>=l>>>0?l:0;l=l>>>0>>0?l:W;q=j-m|0;j=j>>>0>=q>>>0?q:0;q=j>>>0>>0?j:W;j=V+4|0;J=j+(m<<1)|0;m=j+(t<<1)|0}p=U(1);if(ma){while(1){ia:{if(h>>>0>=pa>>>0){N[147456]=0;j=0;break ia}j=N[(h<<2)+sa>>2]}x=h<<1;t=h>>>0>=w>>>0?275552:x+s|0;K=O[t|0]|O[t+1|0]<<8;ja:{if(!K){break ja}t=(K<<8|K>>>8)<<16>>16;if((t|0)==(j|0)){break ja}if(O[V+2|0]&64){E=h>>>0>=q>>>0?275552:x+J|0;aa=O[E|0]|O[E+1|0]<<8;E=(aa<<8|aa>>>8)<<16>>16;if((E|0)>(t|0)){break ja}x=h>>>0>=l>>>0?275552:m+x|0;oa=O[x|0]|O[x+1|0]<<8;x=(oa<<8|oa>>>8)<<16>>16;if((x|0)<(t|0)|(E|0)<0&(x|0)>0){break ja}if((j|0)<(E|0)|(j|0)>(x|0)){break ga}if((j|0)<(t|0)){if((K|0)==(aa|0)){break ja}p=U(p*U(U(j-E|0)/U(t-E|0)));break ja}if((K|0)==(oa|0)){break ja}p=U(p*U(U(x-j|0)/U(x-t|0)));break ja}if(!j|(j|0)>(((t|0)>0?t:0)|0)|(j|0)<(t&t>>31)){break ga}p=U(p*U(U(j|0)/U(t|0)))}h=h+1|0;if((W|0)!=(h|0)){continue}break}if(p==U(0)){break ga}}j=o;h=O[H+2|0]|O[H+3|0]<<8;if(h){h=((h<<8|h>>>8)&65535)+H|0}else{h=275552}h=h+ka|0;N[j+48>>2]=h;ka:{if(h>>>0>>0|h>>>0>ga>>>0){break ka}j=O[V|0]|O[V+1|0]<<8;j=(j<<8|j>>>8)&65535;if(j>>>0>ga-h>>>0){break ka}s=h+j|0;h=va;j=wa;if(O[V+2|0]&32){h=ta;j=ua;if(!Vp(o+48|0,o+52|0,s)){break ka}}if((da|0)<0){break ka}K=N[h>>2];J=N[j>>2];w=J?J:k;t=(w|0)>0?w:0;la:{if(t>>>0<=da>>>0){q=r;break la}while(1){da=((da>>>1|0)+da|0)+8|0;if(t>>>0>=da>>>0){continue}break}if(da>>>0>1073741823){break ka}q=$a(r,da<<2);if(!q){break ka}}E=(w|0)<=0;if(!E){j=0;h=N[o+48>>2];k=h+1|0;if(s>>>0>>0){m=i;break ea}ma:{while(1){r=O[h|0];l=r&63;h=l+1|0;m=h+j|0;if(m>>>0>t>>>0){m=i;break ea}na:{if(r<<24>>24<0){C((j<<2)+q|0,0,(l<<2)+4|0);h=k;j=m;break na}if(r&64){if(s>>>0<(h<<1)+k>>>0){m=i;break ea}m=h&3;oa:{if(l>>>0<3){h=k;break oa}r=h&124;l=0;h=k;while(1){k=(j<<2)+q|0;x=O[h|0]|O[h+1|0]<<8;N[k>>2]=(x<<8|x>>>8)<<16>>16;x=O[h+2|0]|O[h+3|0]<<8;N[k+4>>2]=(x<<8|x>>>8)<<16>>16;x=O[h+4|0]|O[h+5|0]<<8;N[k+8>>2]=(x<<8|x>>>8)<<16>>16;aa=k;k=O[h+6|0]|O[h+7|0]<<8;N[aa+12>>2]=(k<<8|k>>>8)<<16>>16;j=j+4|0;h=h+8|0;l=l+4|0;if((r|0)!=(l|0)){continue}break}}k=0;if(!m){break na}while(1){l=O[h|0]|O[h+1|0]<<8;N[(j<<2)+q>>2]=(l<<8|l>>>8)<<16>>16;j=j+1|0;h=h+2|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}break na}if(s>>>0>>0){m=i;break ea}m=h&3;pa:{if(l>>>0<3){h=k;break pa}r=h&124;l=0;h=k;while(1){k=(j<<2)+q|0;N[k>>2]=L[h|0];N[k+4>>2]=L[h+1|0];N[k+8>>2]=L[h+2|0];N[k+12>>2]=L[h+3|0];j=j+4|0;h=h+4|0;l=l+4|0;if((r|0)!=(l|0)){continue}break}}k=0;if(!m){break na}while(1){N[(j<<2)+q>>2]=L[h|0];j=j+1|0;h=h+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}if(j>>>0>=t>>>0){break ma}k=h+1|0;if(s>>>0>=k>>>0){continue}break}m=i;break ea}N[o+48>>2]=h}if((ea|0)<0){m=i;break ea}qa:{if(t>>>0<=ea>>>0){m=i;break qa}while(1){ea=((ea>>>1|0)+ea|0)+8|0;if(t>>>0>=ea>>>0){continue}break}if(ea>>>0>1073741823){m=i;break ea}m=$a(i,ea<<2);if(m){break qa}m=i;break ea}if(!E){j=0;h=N[o+48>>2];k=h+1|0;if(s>>>0>>0){break ea}while(1){r=O[h|0];l=r&63;h=l+1|0;i=h+j|0;if(i>>>0>t>>>0){break ea}ra:{if(r<<24>>24<0){C((j<<2)+m|0,0,(l<<2)+4|0);h=k;j=i;break ra}if(r&64){if(s>>>0<(h<<1)+k>>>0){break ea}r=h&3;sa:{if(l>>>0<3){h=k;break sa}E=h&124;l=0;h=k;while(1){i=(j<<2)+m|0;k=O[h|0]|O[h+1|0]<<8;N[i>>2]=(k<<8|k>>>8)<<16>>16;k=O[h+2|0]|O[h+3|0]<<8;N[i+4>>2]=(k<<8|k>>>8)<<16>>16;k=O[h+4|0]|O[h+5|0]<<8;N[i+8>>2]=(k<<8|k>>>8)<<16>>16;k=i;i=O[h+6|0]|O[h+7|0]<<8;N[k+12>>2]=(i<<8|i>>>8)<<16>>16;j=j+4|0;h=h+8|0;l=l+4|0;if((E|0)!=(l|0)){continue}break}}k=0;if(!r){break ra}while(1){i=O[h|0]|O[h+1|0]<<8;N[(j<<2)+m>>2]=(i<<8|i>>>8)<<16>>16;j=j+1|0;h=h+2|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}break ra}if(s>>>0>>0){break ea}r=h&3;ta:{if(l>>>0<3){h=k;break ta}E=h&124;l=0;h=k;while(1){i=(j<<2)+m|0;N[i>>2]=L[h|0];N[i+4>>2]=L[h+1|0];N[i+8>>2]=L[h+2|0];N[i+12>>2]=L[h+3|0];j=j+4|0;h=h+4|0;l=l+4|0;if((E|0)!=(l|0)){continue}break}}k=0;if(!r){break ra}while(1){N[(j<<2)+m>>2]=L[h|0];j=j+1|0;h=h+1|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if(j>>>0>>0){k=h+1|0;if(s>>>0>>0){break ea}continue}break}N[o+48>>2]=h}if(qa){C(n,0,qa)}ua:{va:{if(p==U(1)){k=0;j=0;if(!w){break ua}while(1){h=j;wa:{if(!J){break wa}if(j>>>0>=J>>>0){N[147456]=0;h=0;break wa}h=N[K+(j<<2)>>2]}if(h>>>0<$>>>0){h=T(h,12)+n|0;i=O[h+8|0];L[h+8|0]=1;l=j<<2;R[h>>2]=R[h>>2]+U(N[l+q>>2]);R[h+4>>2]=R[h+4>>2]+U(N[l+m>>2]);k=!i+k|0}j=j+1|0;if((w|0)!=(j|0)){continue}break}break va}k=0;j=0;if(!w){break ua}while(1){h=j;xa:{if(!J){break xa}if(j>>>0>=J>>>0){N[147456]=0;h=0;break xa}h=N[K+(j<<2)>>2]}if(h>>>0<$>>>0){h=T(h,12)+n|0;i=O[h+8|0];L[h+8|0]=1;l=j<<2;R[h>>2]=U(U(N[l+q>>2])*p)+R[h>>2];R[h+4>>2]=U(U(N[l+m>>2])*p)+R[h+4>>2];k=!i+k|0}j=j+1|0;if((w|0)!=(j|0)){continue}break}}if(!k|k>>>0>=$>>>0){break ua}r=0;i=0;if(!ja){break ua}while(1){J=N[(r<<2)+Z>>2];w=J+1|0;ya:{if(w>>>0<=i>>>0){t=J-i|0;j=0;break ya}k=w-i|0;K=k&3;l=0;j=0;h=i;t=J-h|0;if(t>>>0>=3){E=k&-4;s=0;while(1){k=T(h,12)+n|0;j=(((O[k+8|0]+j|0)+O[k+20|0]|0)+O[k+32|0]|0)+O[k+44|0]|0;h=h+4|0;s=s+4|0;if((E|0)!=(s|0)){continue}break}}if(!K){break ya}while(1){j=O[(T(h,12)+n|0)+8|0]+j|0;h=h+1|0;l=l+1|0;if((K|0)!=(l|0)){continue}break}}h=t-j|0;if(h>>>0>>0){l=h+1|0;h=i;za:while(1){k=h;h=h>>>0>>0?h+1|0:i;E=T(k,12);s=E+n|0;if(!O[s+8|0]){continue}j=1;if(O[(T(h,12)+n|0)+8|0]){continue}h=k;while(1){K=j&255;h=h>>>0>>0?h+1|0:i;x=T(h,12);t=x+n|0;aa=O[t+8|0];j=aa;if(K){continue}j=0;if(!aa){continue}break}K=x+X|0;E=E+X|0;while(1){k=k>>>0>>0?k+1|0:i;if((k|0)==(h|0)){continue za}j=T(k,12);x=j+X|0;j=j+n|0;y=R[s>>2];z=R[t>>2];p=R[E>>2];v=R[K>>2];A=y==z?y:U(0);Aa:{if(p==v){break Aa}I=R[x>>2];A=pv?y:z;if(I>=(p>=v?p:v)){break Aa}A=U(U(U(U(I-p)/U(v-p))*U(z-y))+y)}R[j>>2]=A;y=R[s+4>>2];z=R[t+4>>2];p=R[E+4>>2];v=R[K+4>>2];A=y==z?y:U(0);Ba:{if(p==v){break Ba}I=R[x+4>>2];A=pv?y:z;if(I>=(p>=v?p:v)){break Ba}A=U(U(U(U(I-p)/U(v-p))*U(z-y))+y)}R[j+4>>2]=A;l=l-1|0;if(l){continue}break}break}}i=w;r=r+1|0;if((ja|0)!=(r|0)){continue}break}}Ca:{if(!D){break Ca}h=0;if((D|0)!=1){while(1){k=T(h,12);i=k+ia|0;k=k+n|0;R[i>>2]=R[k>>2]+R[i>>2];R[i+4>>2]=R[k+4>>2]+R[i+4>>2];k=T(h|1,12);i=k+ia|0;k=k+n|0;R[i>>2]=R[k>>2]+R[i>>2];R[i+4>>2]=R[k+4>>2]+R[i+4>>2];h=h+2|0;if((ya|0)!=(h|0)){continue}break}if(!za){break Ca}}i=T(h,12);h=i+ia|0;i=i+n|0;R[h>>2]=R[i>>2]+R[h>>2];R[h+4>>2]=R[i+4>>2]+R[h+4>>2]}k=D;break fa}q=r;m=i;break ea}m=i;q=r}ra=ra+1|0;h=O[H|0]|O[H+1|0]<<8;if(ra>>>0>=((h<<8|h>>>8)&4095)>>>0){break ea}h=O[V+2|0]|O[V+3|0]<<8;h=(T(h>>>5&2|h>>>7&1,la)+V|0)+4|0;if(h>>>0>>0|h>>>0>ga>>>0){break ea}l=ga-h|0;if(l>>>0<4){break ea}i=O[V|0]|O[V+1|0]<<8;ka=((i<<8|i>>>8)&65535)+ka|0;r=q;i=m;j=O[h+2|0]|O[h+3|0]<<8;s=T(j>>>5&2|j>>>7&1,la)+4|0;V=h;h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;if(l>>>0>=(h>>>0>>0?s:h)>>>0){continue}}break}_a(m);_a(q);_a(N[o+60>>2]);_a(Z)}_a(n);h=X}_a(h)}_a(N[o+32>>2])}Da:{switch(N[a+20>>2]-1|0){case 0:if(u){break f}h=N[d>>2];if((h|0)<0){break f}b=N[d+4>>2];a=b+ha|0;a=(a|0)>0?a:0;if(a>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(a>>>0>=h>>>0){continue}break}Ea:{if(h>>>0<=357913941){c=$a(N[d+8>>2],T(h,12));if(c){break Ea}}N[d>>2]=-1;break f}N[d>>2]=h;N[d+8>>2]=c}N[d+4>>2]=a;a=T(ha,12);if(!a){break f}F(N[d+8>>2]+T(b,12)|0,G,a);break f;case 1:break Da;default:break g}}j=0;N[o+60>>2]=0;N[o+52>>2]=0;N[o+56>>2]=0;Fa:{Ga:{Ha:{n=N[a+12>>2]+10|0;D=N[a>>2];Ia:{if(n>>>0>>0){break Ia}t=D+N[a+4>>2]|0;if(t>>>0>>0){break Ia}a=t-n|0;if(a>>>0<4){break Ia}h=O[n|0]|O[n+1|0]<<8;i=h<<8|h>>>8;h=i&1?8:6;s=h+2|0;Ja:{if(i&8){break Ja}s=h+4|0;i=i&65535;if(i&64){break Ja}s=i&128?h+8|0:h}if(a>>>0>=s>>>0){break Ha}}h=N[d+4>>2];break Ga}m=Y+36|0;q=Y+24|0;r=Y+12|0;$=g+1|0;l=0;w=0;while(1){Ka:{if(N[o+52>>2]<0){N[o+52>>2]=l;if((l|0)<0){break Ka}}N[o+56>>2]=0}La:{Ma:{a=O[n+2|0]|O[n+3|0]<<8;k=(a<<8|a>>>8)&65535;if(k>>>0>=Q[c+16>>2]){break Ma}a=N[c+20>>2];a=N[(a?a:275552)+12>>2];Na:{if(O[c+12|0]){a=a+(k<<1)|0;h=O[a|0]|O[a+1|0]<<8;j=((h<<8|h>>>8)&65535)<<1;a=O[a+2|0]|O[a+3|0]<<8;a=((a<<8|a>>>8)&65535)<<1;break Na}a=a+(k<<2)|0;h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);j=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}Oa:{if(a>>>0>=j>>>0){h=N[c+24>>2];h=h?h:275552;if(a>>>0<=Q[h+16>>2]){break Oa}}break Ma}i=N[h+12>>2]+j|0;l=a-j|0;j=l>>>0<10?275552:i;a=O[j|0]|O[j+1|0]<<8;if(a){h=(a<<8|a>>>8)<<16>>16>0?1:(a|0)==65279?3:2}else{h=0}N[o+32>>2]=0;N[o+28>>2]=l;N[o+24>>2]=i;break La}h=0;N[o+32>>2]=0;N[o+24>>2]=0;N[o+28>>2]=0;k=-1;j=275552}N[o+44>>2]=h;N[o+40>>2]=k;N[o+36>>2]=j;N[o+16>>2]=N[f+8>>2];a=N[f+4>>2];N[o+8>>2]=N[f>>2];N[o+12>>2]=a;if(!ej(o+24|0,b,c,o+52|0,e,o+8|0,$)){break Fa}h=O[n|0]|O[n+1|0]<<8;if(h&2){h=N[o+56>>2];Pa:{if(h>>>0<=3){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Pa}a=(N[o+60>>2]+T(h,12)|0)-48|0}j=Y;if(!S){N[147456]=0;N[147457]=0;N[147458]=0;j=589824}i=N[a+4>>2];N[j>>2]=N[a>>2];N[j+4>>2]=i;M[j+8>>1]=P[a+8>>1];Qa:{if(h>>>0<=2){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Qa}a=(N[o+60>>2]+T(h,12)|0)-36|0}j=r;if(S>>>0<=1){N[147456]=0;N[147457]=0;N[147458]=0;j=589824}i=N[a+4>>2];N[j>>2]=N[a>>2];N[j+4>>2]=i;M[j+8>>1]=P[a+8>>1];Ra:{if(h>>>0<=1){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Ra}a=(N[o+60>>2]+T(h,12)|0)-24|0}j=q;if(S>>>0<=2){N[147456]=0;N[147457]=0;N[147458]=0;j=589824}i=N[a+4>>2];N[j>>2]=N[a>>2];N[j+4>>2]=i;M[j+8>>1]=P[a+8>>1];Sa:{if(!h){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Sa}a=(N[o+60>>2]+T(h,12)|0)-12|0}h=m;if(S>>>0<=3){N[147456]=0;N[147457]=0;N[147458]=0;h=589824}i=N[a+4>>2];N[h>>2]=N[a>>2];N[h+4>>2]=i;M[h+8>>1]=P[a+8>>1];h=O[n|0]|O[n+1|0]<<8}a=h<<8|(h&65280)>>>8;j=a&65535;Ta:{if(a&1){a=O[n+6|0]|O[n+7|0]<<8;l=(a<<8|a>>>8)<<16>>16;a=O[n+4|0]|O[n+5|0]<<8;i=(a<<8|a>>>8)<<16>>16;a=n+8|0;break Ta}l=L[n+5|0];i=L[n+4|0];a=n+6|0}k=l;l=h<<22>>31;k=k&l;i=i&l;Ua:{Va:{Wa:{if(j&8){v=U(0);a=O[a|0]|O[a+1|0]<<8;y=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));p=y;break Wa}if(j&64){j=O[a+2|0]|O[a+3|0]<<8;y=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));v=U(0);a=O[a|0]|O[a+1|0]<<8;p=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));break Wa}if(j&128){j=O[a+6|0]|O[a+7|0]<<8;y=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));j=O[a+4|0]|O[a+5|0]<<8;_=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));j=O[a+2|0]|O[a+3|0]<<8;v=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));a=O[a|0]|O[a+1|0]<<8;p=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));break Va}if(!(i|k)){break Ua}v=U(0);y=U(1);p=U(1)}_=U(0)}z=U(k|0);I=U(i|0);if((h&24)==8){Xa:{if(!(i|k)){break Xa}a=N[o+56>>2];if(!a){break Xa}i=N[o+60>>2];h=0;if((a|0)!=1){k=a&1;j=a&-2;while(1){a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;a=i+T(h|1,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break Xa}}a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z}if(!(p!=U(1)|v!=U(0)|_!=U(0))){if(y==U(1)){break Ua}}a=N[o+56>>2];if(!a){break Ua}i=N[o+60>>2];h=0;if((a|0)!=1){k=a&1;j=a&-2;while(1){a=i+T(h,12)|0;z=R[a>>2];I=R[a+4>>2];R[a+4>>2]=U(z*v)+U(y*I);R[a>>2]=U(z*p)+U(_*I);a=i+T(h|1,12)|0;z=R[a>>2];I=R[a+4>>2];R[a+4>>2]=U(z*v)+U(y*I);R[a>>2]=U(z*p)+U(_*I);h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break Ua}}a=i+T(h,12)|0;z=R[a>>2];A=U(z*v);v=R[a+4>>2];R[a+4>>2]=A+U(y*v);R[a>>2]=U(z*p)+U(_*v);break Ua}Ya:{if(!(p!=U(1)|v!=U(0)|_!=U(0))){if(y==U(1)){break Ya}}a=N[o+56>>2];if(!a){break Ya}j=N[o+60>>2];h=0;if((a|0)!=1){l=a&1;Z=a&-2;while(1){a=j+T(h,12)|0;ca=R[a>>2];A=R[a+4>>2];R[a+4>>2]=U(ca*v)+U(y*A);R[a>>2]=U(ca*p)+U(_*A);a=j+T(h|1,12)|0;ca=R[a>>2];A=R[a+4>>2];R[a+4>>2]=U(ca*v)+U(y*A);R[a>>2]=U(ca*p)+U(_*A);h=h+2|0;if((Z|0)!=(h|0)){continue}break}if(!l){break Ya}}a=j+T(h,12)|0;ca=R[a>>2];A=U(ca*v);v=R[a+4>>2];R[a+4>>2]=A+U(y*v);R[a>>2]=U(ca*p)+U(_*v)}if(!(i|k)){break Ua}a=N[o+56>>2];if(!a){break Ua}i=N[o+60>>2];h=0;if((a|0)!=1){k=a&1;j=a&-2;while(1){a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;a=i+T(h|1,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break Ua}}a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z}Za:{if((u?N[d+4>>2]:ha)>>>0<=w>>>0){N[147456]=0;N[147457]=0;N[147458]=0;h=589824;v=U(0);p=U(0);break Za}h=T(w,12)+(u?N[d+8>>2]:G)|0;v=R[h+4>>2];p=R[h>>2]}_a:{if(p==U(0)&v==U(0)){break _a}a=N[o+56>>2];if(!a){break _a}i=N[o+60>>2];j=0;if((a|0)!=1){k=a&1;l=a&-2;while(1){a=i+T(j,12)|0;R[a>>2]=R[h>>2]+R[a>>2];R[a+4>>2]=R[h+4>>2]+R[a+4>>2];a=i+T(j|1,12)|0;R[a>>2]=R[h>>2]+R[a>>2];R[a+4>>2]=R[h+4>>2]+R[a+4>>2];j=j+2|0;if((l|0)!=(j|0)){continue}break}if(!k){break _a}v=R[h+4>>2];p=R[h>>2]}a=i+T(j,12)|0;R[a>>2]=p+R[a>>2];R[a+4>>2]=v+R[a+4>>2]}a=O[n|0]|O[n+1|0]<<8;$a:{if(a&512){l=N[o+56>>2];break $a}l=N[o+56>>2];ab:{if(a&256){a=O[n+6|0]|O[n+7|0]<<8;j=(a<<8|a>>>8)&65535;a=O[n+4|0]|O[n+5|0]<<8;a=(a<<8|a>>>8)&65535;break ab}j=O[n+5|0];a=O[n+4|0]}if(a>>>0>=Q[d+4>>2]|j>>>0>=l>>>0){break $a}h=N[d+8>>2]+T(a,12)|0;a=N[o+60>>2];i=a+T(j,12)|0;p=U(R[h+4>>2]-R[i+4>>2]);v=U(R[h>>2]-R[i>>2]);if(v==U(0)&p==U(0)){break $a}h=0;if((l|0)!=1){k=l&1;j=l&-2;while(1){i=a+T(h,12)|0;R[i>>2]=v+R[i>>2];R[i+4>>2]=p+R[i+4>>2];i=a+T(h|1,12)|0;R[i>>2]=v+R[i>>2];R[i+4>>2]=p+R[i+4>>2];h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break $a}}a=a+T(h,12)|0;R[a>>2]=v+R[a>>2];R[a+4>>2]=p+R[a+4>>2]}a=N[d+4>>2];j=N[o+60>>2];i=N[d>>2];bb:{if((i|0)<0){h=a;break bb}h=l-4|0;k=h>>>0>l>>>0?l:h;h=k+a|0;h=(h|0)>0?h:0;cb:{if(i>>>0>>0){while(1){i=((i>>>1|0)+i|0)+8|0;if(i>>>0<=h>>>0){continue}break}db:{if(i>>>0<=357913941){Z=$a(N[d+8>>2],T(i,12));if(Z){break db}}N[d>>2]=-1;break cb}N[d>>2]=i;N[d+8>>2]=Z}N[d+4>>2]=h;i=T(k,12);if(!i){break bb}F(N[d+8>>2]+T(a,12)|0,j,i)}h=N[d+4>>2]}if(h>>>0>1e4){break Fa}if(!(O[n+1|0]&32)){break Ga}n=n+s|0;if(D>>>0>n>>>0|n>>>0>t>>>0){break Ga}a=t-n|0;if(a>>>0<4){break Ga}w=(h>>>0<10001)+w|0;i=O[n|0]|O[n+1|0]<<8;k=i<<8|i>>>8;i=k&1?8:6;s=i+2|0;eb:{if(k&8){break eb}s=i+4|0;k=k&65535;if(k&64){break eb}s=k&128?i+8|0:i}if(a>>>0>=s>>>0){continue}break}}k=N[d>>2];fb:{if((k|0)<0){break fb}a=h+S|0;a=(a|0)>0?a:0;if(a>>>0>k>>>0){while(1){k=((k>>>1|0)+k|0)+8|0;if(a>>>0>=k>>>0){continue}break}gb:{if(k>>>0<=357913941){b=$a(N[d+8>>2],T(k,12));if(b){break gb}}N[d>>2]=-1;break fb}N[d>>2]=k;N[d+8>>2]=b}N[d+4>>2]=a;if(!S){break fb}F(N[d+8>>2]+T(h,12)|0,Y,T(S,12))}_a(j);break f}_a(N[o+60>>2])}J=0;break a}h=N[d>>2];if((h|0)<0){break f}b=N[d+4>>2];a=b+S|0;a=(a|0)>0?a:0;if(a>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(a>>>0>=h>>>0){continue}break}hb:{if(h>>>0<=357913941){c=$a(N[d+8>>2],T(h,12));if(c){break hb}}N[d>>2]=-1;break f}N[d>>2]=h;N[d+8>>2]=c}N[d+4>>2]=a;if(!S){if(g){break b}break e}F(N[d+8>>2]+T(b,12)|0,Y,T(S,12));if(g){break b}break d}if(g){break b}if(S){break d}}N[147456]=0;N[147457]=0;N[147458]=0;p=U(0);break c}p=R[Y>>2]}if(p==U(0)){break b}a=N[d+4>>2];if(!a){break b}b=N[d+8>>2];h=0;if((a|0)!=1){c=a&1;e=a&-2;while(1){a=b+T(h,12)|0;R[a>>2]=R[a>>2]-p;R[a+4>>2]=R[a+4>>2]+U(0);a=b+T(h|1,12)|0;R[a>>2]=R[a>>2]-p;R[a+4>>2]=R[a+4>>2]+U(0);h=h+2|0;if((e|0)!=(h|0)){continue}break}if(!c){break b}}a=b+T(h,12)|0;R[a>>2]=R[a>>2]-p;R[a+4>>2]=R[a+4>>2]+U(0)}J=N[d>>2]>=0}_a(G)}La=o- -64|0;return J}function co(a,b){var 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,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,I=0,J=0,K=0,P=0,R=0,V=0,X=0,Y=0,Z=0,_=0,$=0;X=La-16|0;La=X;N[X+12>>2]=b;e=La-144|0;La=e;C(e,0,144);N[e+76>>2]=-1;N[e+44>>2]=a;N[e+32>>2]=381;N[e+84>>2]=a;P=b;a=0;q=La-304|0;La=q;a:{b:{c:{d:{if(N[e+4>>2]){break d}mi(e);if(N[e+4>>2]){break d}break c}b=17004;r=37;e:{f:{g:{h:{while(1){i:{d=r&255;j:{if((d|0)==32|d-9>>>0<5){while(1){r=b;b=b+1|0;d=O[r+1|0];if((d|0)==32|d-9>>>0<5){continue}break}cd(e,0,0);while(1){b=N[e+4>>2];k:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break k}b=Db(e)}if((b|0)==32|b-9>>>0<5){continue}break}b=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){b=b-1|0;N[e+4>>2]=b}b=b-N[e+44>>2]|0;d=b;g=G+N[e+124>>2]|0;f=b>>31;b=z+N[e+120>>2]|0;m=f+(b>>>0>>0?g+1|0:g)|0;z=b+d|0;G=z>>>0>>0?m+1|0:m;break j}l:{m:{n:{if(O[b|0]==37){d=O[b+1|0];if((d|0)==42){break n}if((d|0)!=37){break m}}cd(e,0,0);o:{if(O[b|0]==37){while(1){d=N[e+4>>2];p:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;r=O[d|0];break p}r=Db(e)}if((r|0)==32|r-9>>>0<5){continue}break}b=b+1|0;break o}d=N[e+4>>2];if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;r=O[d|0];break o}r=Db(e)}if(O[b|0]!=(r|0)){b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}if((r|0)>=0){break a}n=0;if(R){break a}break c}d=N[e+4>>2]-N[e+44>>2]|0;g=d;m=G+N[e+124>>2]|0;f=d>>31;d=z+N[e+120>>2]|0;o=f+(d>>>0>>0?m+1|0:m)|0;z=d+g|0;G=z>>>0>>0?o+1|0:o;r=b;break j}x=0;b=b+2|0;break l}if(!(O[b+2|0]!=36|d-48>>>0>=10)){g=La-16|0;N[g+12>>2]=P;d=d-48|0;d=(d>>>0>1?(d<<2)-4|0:0)+P|0;N[g+8>>2]=d+4;x=N[d>>2];b=b+3|0;break l}x=N[P>>2];P=P+4|0;b=b+1|0}f=0;while(1){j=O[b|0];if(j-48>>>0<10){b=b+1|0;f=(T(f,10)+j|0)-48|0;continue}break}I=0;if((j|0)==109){F=0;I=(x|0)!=0;j=O[b+1|0];b=b+1|0;a=0}r=b+1|0;c=3;n=I;q:{r:{switch((j&255)-65|0){case 39:d=b+2|0;b=O[b+1|0]==104;r=b?d:r;c=b?-2:-1;break q;case 43:d=b+2|0;b=O[b+1|0]==108;r=b?d:r;c=b?3:1;break q;case 51:case 57:c=1;break q;case 11:c=2;break q;case 41:break q;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 r;default:break e}}c=0;r=b}b=O[r|0];d=(b&47)==3;h=d?1:c;k=d?b|32:b;s:{if((k|0)==91){break s}t:{if((k|0)!=110){if((k|0)!=99){break t}f=(f|0)<=1?1:f;break s}Rn(x,h,z,G);break j}cd(e,0,0);while(1){b=N[e+4>>2];u:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break u}b=Db(e)}if((b|0)==32|b-9>>>0<5){continue}break}b=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){b=b-1|0;N[e+4>>2]=b}b=b-N[e+44>>2]|0;d=b;g=G+N[e+124>>2]|0;j=b>>31;b=z+N[e+120>>2]|0;i=j+(b>>>0>>0?g+1|0:g)|0;z=b+d|0;G=z>>>0>>0?i+1|0:i}o=f;i=f>>31;cd(e,f,i);b=N[e+4>>2];v:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;break v}if((Db(e)|0)<0){break f}}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}b=16;w:{x:{y:{z:{A:{switch(k-88|0){default:b=k-65|0;if(b>>>0>6|!(1<>>0<=2){b=Y<<2;J=N[b+583548>>2];K=N[b+583536>>2];while(1){b=N[e+4>>2];C:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break C}b=Db(e)}if((b|0)==32|b-9>>>0<5){continue}break}f=1;D:{E:{switch(b-43|0){case 0:case 2:break E;default:break D}}f=(b|0)==45?-1:1;b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break D}b=Db(e)}F:{G:{while(1){if(L[k+7858|0]==(b|32)){H:{if(k>>>0>6){break H}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break H}b=Db(e)}k=k+1|0;if((k|0)!=8){continue}break G}break}if((k|0)!=3){if((k|0)==8){break G}break F}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}}m=La-16|0;La=m;l=(H(U(U(f|0)*U(Infinity))),v(2));b=l&2147483647;I:{if(b-8388608>>>0<=2130706431){f=(b>>>7|0)+1065353216|0;g=b<<25;break I}f=l>>>7|2147418112;g=l<<25;if(b>>>0>=2139095040){break I}f=0;g=0;if(!b){break I}f=b;b=W(b);hc(m,f,0,0,0,b+81|0);d=N[m>>2];i=N[m+4>>2];f=N[m+12>>2]^65536|16265-b<<16;g=N[m+8>>2]}N[t>>2]=d;N[t+4>>2]=i;N[t+8>>2]=g;N[t+12>>2]=l&-2147483648|f;La=m+16|0;d=N[t+8>>2];i=N[t+12>>2];g=N[t>>2];m=N[t+4>>2];break B}J:{K:{L:{if(k){break L}k=0;while(1){if(L[k+13118|0]!=(b|32)){break L}M:{if(k>>>0>1){break M}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break M}b=Db(e)}k=k+1|0;if((k|0)!=3){continue}break}break K}N:{switch(k|0){case 0:O:{if((b|0)!=48){break O}k=N[e+4>>2];P:{if((k|0)!=N[e+104>>2]){N[e+4>>2]=k+1;k=O[k|0];break P}k=Db(e)}if((k&-33)==88){k=0;h=La-432|0;La=h;Q:{R:{b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0];break R}n=0;break Q}n=1}while(1){S:{T:{U:{V:{W:{X:{Y:{Z:{if(!n){k=Db(e);break Z}if((k|0)!=48){m=1073676288;n=0;if((k|0)==46){break X}break W}b=N[e+4>>2];if((b|0)==N[e+104>>2]){break Y}A=1;N[e+4>>2]=b+1;k=O[b|0]}n=1;continue}A=1;break T}b=N[e+4>>2];_:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0];break _}k=Db(e)}if((k|0)==48){break V}j=1}break U}while(1){b=o;o=b-1|0;u=u-!b|0;j=1;b=N[e+4>>2];$:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0];break $}k=Db(e)}if((k|0)==48){continue}break}A=1}aa:{while(1){ba:{b=k|32;ca:{da:{V=k-48|0;if(V>>>0<10){break da}if((k|0)!=46&b-97>>>0>5){break aa}if((k|0)!=46){break da}if(j){break ba}j=1;o=d;u=i;break ca}b=(k|0)>57?b-87|0:V;ea:{if((i|0)<=0&d>>>0<=7|(i|0)<0){n=b+(n<<4)|0;break ea}if(!i&d>>>0<=28){uc(h+48|0,b);Gb(h+32|0,D,E,g,m,0,0,0,1073414144);D=N[h+32>>2];E=N[h+36>>2];g=N[h+40>>2];m=N[h+44>>2];Gb(h+16|0,N[h+48>>2],N[h+52>>2],N[h+56>>2],N[h+60>>2],D,E,g,m);pc(h,N[h+16>>2],N[h+20>>2],N[h+24>>2],N[h+28>>2],l,s,y,B);y=N[h+8>>2];B=N[h+12>>2];l=N[h>>2];s=N[h+4>>2];break ea}if(c|!b){break ea}Gb(h+80|0,D,E,g,m,0,0,0,1073610752);pc(h- -64|0,N[h+80>>2],N[h+84>>2],N[h+88>>2],N[h+92>>2],l,s,y,B);y=N[h+72>>2];B=N[h+76>>2];c=1;l=N[h+64>>2];s=N[h+68>>2]}d=d+1|0;i=d?i:i+1|0;A=1}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0]}else{k=Db(e)}continue}break}k=46}if(!A){b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}cd(e,0,0);bd(h+96|0,+(f|0)*0);d=N[h+104>>2];i=N[h+108>>2];l=N[h+96>>2];s=N[h+100>>2];break S}if((i|0)<=0&d>>>0<=7|(i|0)<0){g=d;m=i;while(1){n=n<<4;g=g+1|0;m=g?m:m+1|0;if((g|0)!=8|m){continue}break}}fa:{if((k&-33)==80){g=Yn(e);b=Pa;m=b;if(g|(b|0)!=-2147483648){break fa}l=0;s=0;cd(e,0,0);d=0;i=0;break S}g=0;m=0;if(N[e+116>>2]<0){break fa}N[e+4>>2]=N[e+4>>2]-1}if(!n){bd(h+112|0,+(f|0)*0);d=N[h+120>>2];i=N[h+124>>2];l=N[h+112>>2];s=N[h+116>>2];break S}b=j?o:d;o=(j?u:i)<<2|b>>>30;b=g+(b<<2)|0;j=m+o|0;j=b>>>0>>0?j+1|0:j;d=b-32|0;i=j-(b>>>0<32)|0;b=i;if(d>>>0>0-J>>>0&(b|0)>=0|(b|0)>0){N[147316]=68;uc(h+160|0,f);Gb(h+144|0,N[h+160>>2],N[h+164>>2],N[h+168>>2],N[h+172>>2],-1,-1,-1,2147418111);Gb(h+128|0,N[h+144>>2],N[h+148>>2],N[h+152>>2],N[h+156>>2],-1,-1,-1,2147418111);d=N[h+136>>2];i=N[h+140>>2];l=N[h+128>>2];s=N[h+132>>2];break S}b=J-226|0;g=b>>31;if((i|0)>=(g|0)&b>>>0<=d>>>0|(g|0)<(i|0)){if((n|0)>=0){while(1){pc(h+416|0,l,s,y,B,0,0,0,-1073807360);b=yn(l,s,y,B,1073610752);g=(b|0)>=0;b=g;pc(h+400|0,l,s,y,B,b?N[h+416>>2]:l,b?N[h+420>>2]:s,b?N[h+424>>2]:y,b?N[h+428>>2]:B);b=d;d=b-1|0;i=i-!b|0;y=N[h+408>>2];B=N[h+412>>2];l=N[h+400>>2];s=N[h+404>>2];n=g|n<<1;if((n|0)>=0){continue}break}}j=i-((J>>31)+(d>>>0>>0)|0)|0;b=(d-J|0)+32|0;j=b>>>0<32?j+1|0:j;g=b>>>0>>0&(j|0)<=0|(j|0)<0?(b|0)>0?b:0:K;ga:{if((g|0)>=113){uc(h+384|0,f);o=N[h+392>>2];u=N[h+396>>2];D=N[h+384>>2];E=N[h+388>>2];i=0;b=0;break ga}bd(h+352|0,Gd(1,144-g|0));uc(h+336|0,f);D=N[h+336>>2];E=N[h+340>>2];o=N[h+344>>2];u=N[h+348>>2];_n(h+368|0,N[h+352>>2],N[h+356>>2],N[h+360>>2],N[h+364>>2],D,E,o,u);p=N[h+376>>2];w=N[h+380>>2];i=N[h+372>>2];b=N[h+368>>2]}f=!(n&1)&((Sd(l,s,y,B,0,0,0,0)|0)!=0&(g|0)<32);oe(h+320|0,f+n|0);Gb(h+304|0,D,E,o,u,N[h+320>>2],N[h+324>>2],N[h+328>>2],N[h+332>>2]);g=b;pc(h+272|0,N[h+304>>2],N[h+308>>2],N[h+312>>2],N[h+316>>2],b,i,p,w);b=f;Gb(h+288|0,D,E,o,u,b?0:l,b?0:s,b?0:y,b?0:B);pc(h+256|0,N[h+288>>2],N[h+292>>2],N[h+296>>2],N[h+300>>2],N[h+272>>2],N[h+276>>2],N[h+280>>2],N[h+284>>2]);Nh(h+240|0,N[h+256>>2],N[h+260>>2],N[h+264>>2],N[h+268>>2],g,i,p,w);b=N[h+240>>2];f=N[h+244>>2];g=N[h+248>>2];o=N[h+252>>2];if(!Sd(b,f,g,o,0,0,0,0)){N[147316]=68}Zn(h+224|0,b,f,g,o,d);d=N[h+232>>2];i=N[h+236>>2];l=N[h+224>>2];s=N[h+228>>2];break S}N[147316]=68;uc(h+208|0,f);Gb(h+192|0,N[h+208>>2],N[h+212>>2],N[h+216>>2],N[h+220>>2],0,0,0,65536);Gb(h+176|0,N[h+192>>2],N[h+196>>2],N[h+200>>2],N[h+204>>2],0,0,0,65536);d=N[h+184>>2];i=N[h+188>>2];l=N[h+176>>2];s=N[h+180>>2];break S}n=0;continue}break}N[t+16>>2]=l;N[t+20>>2]=s;N[t+24>>2]=d;N[t+28>>2]=i;La=h+432|0;d=N[t+24>>2];i=N[t+28>>2];g=N[t+16>>2];m=N[t+20>>2];break B}if(N[e+116>>2]<0){break O}N[e+4>>2]=N[e+4>>2]-1}h=f;c=La-8976|0;La=c;k=0-J|0;V=k-K|0;ha:{ia:{while(1){if((b|0)!=48){ja:{if((b|0)!=46){break ha}b=N[e+4>>2];if((b|0)==N[e+104>>2]){break ja}N[e+4>>2]=b+1;b=O[b|0];break ia}}else{b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0]}else{b=Db(e)}j=1;continue}break}b=Db(e)}p=1;if((b|0)!=48){break ha}while(1){b=d;d=b-1|0;i=i-!b|0;b=N[e+4>>2];ka:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break ka}b=Db(e)}if((b|0)==48){continue}break}j=1}N[c+784>>2]=0;la:{ma:{f=(b|0)==46;l=b-48|0;na:{oa:{pa:{if(f|l>>>0<=9){while(1){qa:{if(f&1){if(!p){d=g;i=m;p=1;break qa}f=!j;break pa}g=g+1|0;m=g?m:m+1|0;if((n|0)<=2044){A=(b|0)==48?A:g;f=(c+784|0)+(n<<2)|0;if(w){l=(T(N[f>>2],10)+b|0)-48|0}N[f>>2]=l;j=1;f=w+1|0;b=(f|0)==9;w=b?0:f;n=b+n|0;break qa}if((b|0)==48){break qa}N[c+8960>>2]=N[c+8960>>2]|1;A=18396}b=N[e+4>>2];ra:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break ra}b=Db(e)}f=(b|0)==46;l=b-48|0;if(f|l>>>0<10){continue}break}}d=p?d:g;i=p?i:m;if(!(!j|(b&-33)!=69)){b=Yn(e);f=Pa;if(!b&(f|0)==-2147483648){break na}i=f+i|0;d=b+d|0;i=d>>>0>>0?i+1|0:i;break ma}f=!j;if((b|0)<0){break oa}}if(N[e+116>>2]<0){break oa}N[e+4>>2]=N[e+4>>2]-1}if(!f){break ma}N[147316]=28}g=0;m=0;cd(e,0,0);d=0;b=0;break la}b=N[c+784>>2];if(!b){bd(c,+(h|0)*0);g=N[c>>2];m=N[c+4>>2];d=N[c+12>>2];b=N[c+8>>2];break la}if(!(g>>>0>9&(m|0)>=0|(m|0)>0|((d|0)!=(g|0)|(i|0)!=(m|0))|(b>>>K|0?(K|0)<=30:0))){uc(c+48|0,h);oe(c+32|0,b);Gb(c+16|0,N[c+48>>2],N[c+52>>2],N[c+56>>2],N[c+60>>2],N[c+32>>2],N[c+36>>2],N[c+40>>2],N[c+44>>2]);g=N[c+16>>2];m=N[c+20>>2];d=N[c+28>>2];b=N[c+24>>2];break la}if(d>>>0>k>>>1>>>0&(i|0)>=0|(i|0)>0){N[147316]=68;uc(c+96|0,h);Gb(c+80|0,N[c+96>>2],N[c+100>>2],N[c+104>>2],N[c+108>>2],-1,-1,-1,2147418111);Gb(c- -64|0,N[c+80>>2],N[c+84>>2],N[c+88>>2],N[c+92>>2],-1,-1,-1,2147418111);g=N[c+64>>2];m=N[c+68>>2];d=N[c+76>>2];b=N[c+72>>2];break la}b=J-226|0;f=d>>>0>>0;b=b>>31;if(f&(i|0)<=(b|0)|(b|0)>(i|0)){N[147316]=68;uc(c+144|0,h);Gb(c+128|0,N[c+144>>2],N[c+148>>2],N[c+152>>2],N[c+156>>2],0,0,0,65536);Gb(c+112|0,N[c+128>>2],N[c+132>>2],N[c+136>>2],N[c+140>>2],0,0,0,65536);g=N[c+112>>2];m=N[c+116>>2];d=N[c+124>>2];b=N[c+120>>2];break la}if(w){if((w|0)<=8){b=(c+784|0)+(n<<2)|0;k=N[b>>2];while(1){k=T(k,10);w=w+1|0;if((w|0)!=9){continue}break}N[b>>2]=k}n=n+1|0}sa:{p=d;if((A|0)>8|(A|0)>(d|0)|(d|0)>17){break sa}if((p|0)==9){uc(c+192|0,h);oe(c+176|0,N[c+784>>2]);Gb(c+160|0,N[c+192>>2],N[c+196>>2],N[c+200>>2],N[c+204>>2],N[c+176>>2],N[c+180>>2],N[c+184>>2],N[c+188>>2]);g=N[c+160>>2];m=N[c+164>>2];d=N[c+172>>2];b=N[c+168>>2];break la}if((p|0)<=8){uc(c+272|0,h);oe(c+256|0,N[c+784>>2]);Gb(c+240|0,N[c+272>>2],N[c+276>>2],N[c+280>>2],N[c+284>>2],N[c+256>>2],N[c+260>>2],N[c+264>>2],N[c+268>>2]);uc(c+224|0,N[(0-p<<2)+583536>>2]);rn(c+208|0,N[c+240>>2],N[c+244>>2],N[c+248>>2],N[c+252>>2],N[c+224>>2],N[c+228>>2],N[c+232>>2],N[c+236>>2]);g=N[c+208>>2];m=N[c+212>>2];d=N[c+220>>2];b=N[c+216>>2];break la}b=(T(p,-3)+K|0)+27|0;d=N[c+784>>2];if(d>>>b|0?(b|0)<=30:0){break sa}uc(c+352|0,h);oe(c+336|0,d);Gb(c+320|0,N[c+352>>2],N[c+356>>2],N[c+360>>2],N[c+364>>2],N[c+336>>2],N[c+340>>2],N[c+344>>2],N[c+348>>2]);uc(c+304|0,N[(p<<2)+583464>>2]);Gb(c+288|0,N[c+320>>2],N[c+324>>2],N[c+328>>2],N[c+332>>2],N[c+304>>2],N[c+308>>2],N[c+312>>2],N[c+316>>2]);g=N[c+288>>2];m=N[c+292>>2];d=N[c+300>>2];b=N[c+296>>2];break la}while(1){b=n;n=b-1|0;if(!N[(c+784|0)+(n<<2)>>2]){continue}break}d=(p|0)%9|0;ta:{if(!d){w=0;f=0;break ta}w=0;d=(p|0)<0?d+9|0:d;ua:{if(!b){f=0;b=0;break ua}g=N[(0-d<<2)+583536>>2];j=1e9/(g|0)|0;l=0;k=0;f=0;while(1){i=l;l=(c+784|0)+(k<<2)|0;m=N[l>>2];n=(m>>>0)/(g>>>0)|0;i=i+n|0;N[l>>2]=i;i=!i&(f|0)==(k|0);f=i?f+1&2047:f;p=i?p-9|0:p;l=T(j,m-T(g,n)|0);k=k+1|0;if((k|0)!=(b|0)){continue}break}if(!l){break ua}N[(c+784|0)+(b<<2)>>2]=l;b=b+1|0}p=(p-d|0)+9|0}while(1){s=(c+784|0)+(f<<2)|0;A=(p|0)<36;va:{while(1){wa:{if(A){break wa}if((p|0)!=36){break va}if(Q[s>>2]<=10384592){break wa}p=36;break va}n=b+2047|0;l=0;j=b;while(1){b=j;k=n&2047;n=(c+784|0)+(k<<2)|0;d=N[n>>2];g=d>>>3|0;i=d<<29;d=i+l|0;i=d>>>0>>0?g+1|0:g;if(!i&d>>>0<1000000001){l=0}else{l=WE(d,i,1e9,0);g=UE(l,Pa,-1e9,-1);d=d+g|0}N[n>>2]=d;j=(k|0)!=(b-1&2047)?b:(f|0)==(k|0)?b:d?b:k;n=k-1|0;if((f|0)!=(k|0)){continue}break}w=w-29|0;if(!l){continue}break}f=f-1&2047;if((j|0)==(f|0)){d=c+784|0;b=d+((j+2046&2047)<<2)|0;g=b;k=N[b>>2];b=j-1&2047;N[g>>2]=k|N[d+(b<<2)>>2]}p=p+9|0;N[(c+784|0)+(f<<2)>>2]=l;continue}break}xa:{ya:while(1){d=b+1&2047;i=(c+784|0)+((b-1&2047)<<2)|0;while(1){g=(p|0)>45?9:1;za:{while(1){j=f;k=0;Aa:{while(1){Ba:{f=j+k&2047;if((f|0)==(b|0)){break Ba}f=N[(c+784|0)+(f<<2)>>2];l=N[(k<<2)+583488>>2];if(f>>>0>>0){break Ba}if(f>>>0>l>>>0){break Aa}k=k+1|0;if((k|0)!=4){continue}}break}if((p|0)!=36){break Aa}d=0;i=0;k=0;g=0;m=0;while(1){f=j+k&2047;if((f|0)==(b|0)){b=b+1&2047;N[(c+(b<<2)|0)+780>>2]=0}oe(c+768|0,N[(c+784|0)+(f<<2)>>2]);Gb(c+752|0,d,i,g,m,0,0,1342177280,1075633366);pc(c+736|0,N[c+752>>2],N[c+756>>2],N[c+760>>2],N[c+764>>2],N[c+768>>2],N[c+772>>2],N[c+776>>2],N[c+780>>2]);g=N[c+744>>2];m=N[c+748>>2];d=N[c+736>>2];i=N[c+740>>2];k=k+1|0;if((k|0)!=4){continue}break}uc(c+720|0,h);Gb(c+704|0,d,i,g,m,N[c+720>>2],N[c+724>>2],N[c+728>>2],N[c+732>>2]);g=N[c+712>>2];m=N[c+716>>2];d=0;i=0;l=N[c+704>>2];s=N[c+708>>2];A=w+113|0;n=A-J|0;k=(n|0)<(K|0);f=k?(n|0)>0?n:0:K;if((f|0)<=112){break za}break xa}w=g+w|0;f=b;if((b|0)==(j|0)){continue}break}m=1e9>>>g|0;n=-1<>2];l=l+(s>>>g|0)|0;N[k>>2]=l;l=!l&(f|0)==(j|0);f=l?f+1&2047:f;p=l?p-9|0:p;k=T(m,n&s);j=j+1&2047;if((j|0)!=(b|0)){continue}break}if(!k){continue}if((d|0)!=(f|0)){N[(c+784|0)+(b<<2)>>2]=k;b=d;continue ya}N[i>>2]=N[i>>2]|1;continue}break}break}bd(c+656|0,Gd(1,225-f|0));_n(c+688|0,N[c+656>>2],N[c+660>>2],N[c+664>>2],N[c+668>>2],l,s,g,m);y=N[c+696>>2];B=N[c+700>>2];D=N[c+688>>2];E=N[c+692>>2];bd(c+640|0,Gd(1,113-f|0));hp(c+672|0,l,s,g,m,N[c+640>>2],N[c+644>>2],N[c+648>>2],N[c+652>>2]);d=N[c+672>>2];i=N[c+676>>2];o=N[c+680>>2];u=N[c+684>>2];Nh(c+624|0,l,s,g,m,d,i,o,u);pc(c+608|0,D,E,y,B,N[c+624>>2],N[c+628>>2],N[c+632>>2],N[c+636>>2]);g=N[c+616>>2];m=N[c+620>>2];l=N[c+608>>2];s=N[c+612>>2]}p=j+4&2047;Ca:{if((p|0)==(b|0)){break Ca}p=N[(c+784|0)+(p<<2)>>2];Da:{if(p>>>0<=499999999){if(!p&(j+5&2047)==(b|0)){break Da}bd(c+496|0,+(h|0)*.25);pc(c+480|0,d,i,o,u,N[c+496>>2],N[c+500>>2],N[c+504>>2],N[c+508>>2]);o=N[c+488>>2];u=N[c+492>>2];d=N[c+480>>2];i=N[c+484>>2];break Da}if((p|0)!=5e8){bd(c+592|0,+(h|0)*.75);pc(c+576|0,d,i,o,u,N[c+592>>2],N[c+596>>2],N[c+600>>2],N[c+604>>2]);o=N[c+584>>2];u=N[c+588>>2];d=N[c+576>>2];i=N[c+580>>2];break Da}Z=+(h|0);if((j+5&2047)==(b|0)){bd(c+528|0,Z*.5);pc(c+512|0,d,i,o,u,N[c+528>>2],N[c+532>>2],N[c+536>>2],N[c+540>>2]);o=N[c+520>>2];u=N[c+524>>2];d=N[c+512>>2];i=N[c+516>>2];break Da}bd(c+560|0,Z*.75);pc(c+544|0,d,i,o,u,N[c+560>>2],N[c+564>>2],N[c+568>>2],N[c+572>>2]);o=N[c+552>>2];u=N[c+556>>2];d=N[c+544>>2];i=N[c+548>>2]}if((f|0)>111){break Ca}hp(c+464|0,d,i,o,u,0,0,0,1073676288);if(Sd(N[c+464>>2],N[c+468>>2],N[c+472>>2],N[c+476>>2],0,0,0,0)){break Ca}pc(c+448|0,d,i,o,u,0,0,0,1073676288);o=N[c+456>>2];u=N[c+460>>2];d=N[c+448>>2];i=N[c+452>>2]}pc(c+432|0,l,s,g,m,d,i,o,u);Nh(c+416|0,N[c+432>>2],N[c+436>>2],N[c+440>>2],N[c+444>>2],D,E,y,B);g=N[c+424>>2];m=N[c+428>>2];l=N[c+416>>2];s=N[c+420>>2];Ea:{if((V-2|0)>=(A&2147483647)){break Ea}N[c+408>>2]=g;N[c+412>>2]=m&2147483647;N[c+400>>2]=l;N[c+404>>2]=s;Gb(c+384|0,l,s,g,m,0,0,0,1073610752);j=yn(N[c+400>>2],N[c+404>>2],N[c+408>>2],N[c+412>>2],1081081856);b=(j|0)>=0;g=b?N[c+392>>2]:g;m=b?N[c+396>>2]:m;l=b?N[c+384>>2]:l;s=b?N[c+388>>2]:s;w=b+w|0;if(!(k&((f|0)!=(n|0)|(j|0)<0)&(Sd(d,i,o,u,0,0,0,0)|0)!=0)&(w+110|0)<=(V|0)){break Ea}N[147316]=68}Zn(c+368|0,l,s,g,m,w);g=N[c+368>>2];m=N[c+372>>2];d=N[c+380>>2];b=N[c+376>>2]}N[t+40>>2]=b;N[t+44>>2]=d;N[t+32>>2]=g;N[t+36>>2]=m;La=c+8976|0;d=N[t+40>>2];i=N[t+44>>2];g=N[t+32>>2];m=N[t+36>>2];break B;case 3:break K;default:break N}}break J}Fa:{b=N[e+4>>2];Ga:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break Ga}b=Db(e)}if((b|0)==40){k=1;break Fa}i=2147450880;if(N[e+116>>2]<0){break B}N[e+4>>2]=N[e+4>>2]-1;break B}while(1){Ha:{b=N[e+4>>2];Ia:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break Ia}b=Db(e)}if(!(b-48>>>0<10|b-65>>>0<26|(b|0)==95)){if(b-97>>>0>=26){break Ha}}k=k+1|0;continue}break}i=2147450880;if((b|0)==41){break B}}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}N[147316]=28;cd(e,0,0)}i=0}N[q+8>>2]=g;N[q+12>>2]=m;N[q+16>>2]=d;N[q+20>>2]=i;La=t+48|0;b=N[e+4>>2]-N[e+44>>2]|0;if(N[e+120>>2]!=(0-b|0)|N[e+124>>2]!=(0-((b>>31)+((b|0)!=0)|0)|0)){break y}break g;case 3:case 11:case 27:if((k|16)==115){ve(q+32|0,-1,257);L[q+32|0]=0;if((k|0)!=115){break x}L[q+65|0]=0;L[q+46|0]=0;M[q+42>>1]=0;M[q+44>>1]=0;break x}d=O[r+1|0];g=(d|0)==94;ve(q+32|0,g,257);L[q+32|0]=0;b=g?r+2|0:r+1|0;Ja:{Ka:{La:{g=O[(g?2:1)+r|0];if((g|0)!=45){if((g|0)==93){break La}c=(d|0)!=94;break Ja}c=(d|0)!=94;L[q+78|0]=c;break Ka}c=(d|0)!=94;L[q+126|0]=c}b=b+1|0}r=b;while(1){j=O[r|0];Ma:{if((j|0)!=45){if(!j){break f}if((j|0)==93){break x}break Ma}j=45;d=O[r+1|0];if(!d|(d|0)==93){break Ma}g=r+1|0;b=O[r-1|0];Na:{if(d>>>0<=b>>>0){j=d;break Na}while(1){b=b+1|0;L[b+(q+32|0)|0]=c;j=O[g|0];if(j>>>0>b>>>0){continue}break}}r=g}L[(j+q|0)+33|0]=c;r=r+1|0;continue};case 23:b=8;break z;case 12:case 29:b=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 w;case 0:case 24:case 32:break z;case 17:break A}}b=0}d=0;i=0;j=0;n=0;l=0;y=La-16|0;La=y;Oa:{if((b|0)==1){N[147316]=28;break Oa}while(1){g=N[e+4>>2];Pa:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Pa}f=Db(e)}if((f|0)==32|f-9>>>0<5){continue}break}Qa:{Ra:{switch(f-43|0){case 0:case 2:break Ra;default:break Qa}}l=(f|0)==45?-1:0;g=N[e+4>>2];if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Qa}f=Db(e)}Sa:{Ta:{Ua:{Va:{if(!((b|0)!=0&(b|0)!=16|(f|0)!=48)){g=N[e+4>>2];Wa:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Wa}f=Db(e)}if((f&-33)==88){b=16;g=N[e+4>>2];Xa:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Xa}f=Db(e)}if(O[f+584193|0]<16){break Ua}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}cd(e,0,0);break Oa}if(b){break Va}b=8;break Ua}b=b?b:10;if(b>>>0>O[f+584193|0]){break Va}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}cd(e,0,0);N[147316]=28;break Oa}if((b|0)!=10){break Ua}j=f-48|0;if(j>>>0<=9){b=0;while(1){b=T(b,10)+j|0;g=b>>>0<429496729;d=N[e+4>>2];Ya:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break Ya}f=Db(e)}j=f-48|0;if(g&j>>>0<=9){continue}break}d=b}Za:{if(j>>>0>9){break Za}g=UE(d,0,10,0);m=Pa;o=j;while(1){d=g+o|0;i=d>>>0>>0?m+1|0:m;g=(i|0)==429496729&d>>>0>=2576980378|i>>>0>429496729;b=N[e+4>>2];_a:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;f=O[b|0];break _a}f=Db(e)}j=f-48|0;if(g|j>>>0>9){break Za}g=UE(d,i,10,0);o=j;m=Pa;b=m;if((b|0)==-1&(j^-1)>>>0>=g>>>0|(b|0)!=-1){continue}break}b=10;break Ta}b=10;if(j>>>0<=9){break Ta}break Sa}if(b-1&b){n=O[f+584193|0];if(n>>>0>>0){while(1){j=T(b,j)+n|0;g=j>>>0<119304647;d=N[e+4>>2];$a:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break $a}f=Db(e)}n=O[f+584193|0];if(g&n>>>0>>0){continue}break}d=j}if(b>>>0<=n>>>0){break Ta}while(1){g=UE(d,i,b,0);j=Pa;o=n&255;if((j|0)==-1&(o^-1)>>>0>>0){break Ta}d=g+o|0;i=d>>>0>>0?j+1|0:j;f=N[e+4>>2];ab:{if((f|0)!=N[e+104>>2]){N[e+4>>2]=f+1;f=O[f|0];break ab}f=Db(e)}n=O[f+584193|0];if(b>>>0<=n>>>0){break Ta}hb(y,b,0,0,0,d,i,0,0);if(!(N[y+8>>2]|N[y+12>>2])){continue}break}break Ta}g=L[(T(b,23)>>>5&7)+584449|0];j=O[f+584193|0];if(j>>>0>>0){while(1){n=n<>>0<134217728;d=N[e+4>>2];bb:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break bb}f=Db(e)}j=O[f+584193|0];if(o&j>>>0>>0){continue}break}d=n}if(b>>>0<=j>>>0){break Ta}o=g;m=g&31;if((g&63)>>>0>=32){g=0;m=-1>>>m|0}else{g=-1>>>m|0;m=g|(1<>>0>m>>>0){break Ta}while(1){f=d;d=o&31;n=j&255;if((o&63)>>>0>=32){j=f<>>32-d|i<>2];cb:{if((f|0)!=N[e+104>>2]){N[e+4>>2]=f+1;f=O[f|0];break cb}f=Db(e)}j=O[f+584193|0];if(b>>>0<=j>>>0){break Ta}if((g|0)==(i|0)&d>>>0<=m>>>0|g>>>0>i>>>0){continue}break}}if(O[f+584193|0]>=b>>>0){break Sa}while(1){d=N[e+4>>2];db:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break db}f=Db(e)}if(O[f+584193|0]>>0){continue}break}N[147316]=68;d=-1;i=-1;l=0}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}b=d^l;d=b-l|0;g=l>>31;i=(g^i)-((b>>>0>>0)+g|0)|0}La=y+16|0;b=N[e+4>>2]-N[e+44>>2]|0;if(N[e+120>>2]==(0-b|0)&N[e+124>>2]==(0-((b>>31)+((b|0)!=0)|0)|0)){break g}if(!(!x|(k|0)!=112)){N[x>>2]=d;break w}Rn(x,h,d,i);break w}if(!x){break w}g=N[q+16>>2];d=N[q+20>>2];f=N[q+8>>2];l=N[q+12>>2];eb:{switch(Y|0){case 0:i=La-32|0;La=i;b=d&2147483647;o=b;j=b-1065418752|0;b=b-1082064896|0;fb:{if((j|0)==(b|0)&0|b>>>0>j>>>0){o=(d&33554431)<<7|g>>>25;b=0;j=b;g=g&33554431;if(!(!b&(g|0)==16777216?!(f|l):!b&g>>>0<16777216)){b=o+1073741825|0;break fb}b=o+1073741824|0;if(g^16777216|f|(j|l)){break fb}b=(o&1)+b|0;break fb}if(!(!g&(o|0)==2147418112?!(f|l):o>>>0<2147418112)){b=((d&33554431)<<7|g>>>25)&4194303|2143289344;break fb}b=2139095040;if(o>>>0>1082064895){break fb}b=0;o=o>>>16|0;if(o>>>0<16145){break fb}b=d&65535|65536;hc(i+16|0,f,l,g,b,o-16129|0);Qd(i,f,l,g,b,16257-o|0);b=N[i+8>>2];g=b;b=(N[i+12>>2]&33554431)<<7|b>>>25;o=N[i>>2]|(N[i+16>>2]|N[i+24>>2]|(N[i+20>>2]|N[i+28>>2]))!=0;l=N[i+4>>2];f=0;g=g&33554431;if(!(!f&(g|0)==16777216?!(o|l):!f&g>>>0<16777216)){b=b+1|0;break fb}if(g^16777216|o|(f|l)){break fb}b=(b&1)+b|0}La=i+32|0;N[x>>2]=d&-2147483648|b;break w;case 1:_=x,$=ym(f,l,g,d),S[_>>3]=$;break w;case 2:break eb;default:break w}}N[x>>2]=f;N[x+4>>2]=l;N[x+8>>2]=g;N[x+12>>2]=d;break w}g=(k|0)!=99;f=g?31:f+1|0;gb:{if((h|0)==1){j=x;if(I){j=kb(f<<2);if(!j){break h}}N[q+296>>2]=0;N[q+300>>2]=0;b=0;while(1){a=j;hb:{while(1){d=N[e+4>>2];ib:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;d=O[d|0];break ib}d=Db(e)}if(!O[(d+q|0)+33|0]){break hb}L[q+27|0]=d;d=fo(q+28|0,q+27|0,1,q+296|0);if((d|0)==-2){continue}F=0;if((d|0)==-1){break f}if(a){N[(b<<2)+a>>2]=N[q+28>>2];b=b+1|0}if(!I|(b|0)!=(f|0)){continue}break}n=1;b=f;f=b<<1|1;j=$a(a,f<<2);if(j){continue}break e}break}F=0;f=a;if(q+296|0?N[q+296>>2]:0){break f}break gb}if(I){b=0;j=kb(f);if(!j){break h}while(1){a=j;while(1){d=N[e+4>>2];jb:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;d=O[d|0];break jb}d=Db(e)}if(!O[(d+q|0)+33|0]){f=0;F=a;break gb}L[a+b|0]=d;b=b+1|0;if((f|0)!=(b|0)){continue}break}n=1;b=f;f=b<<1|1;j=$a(a,f);if(j){continue}break}F=a;a=0;break e}b=0;if(x){while(1){a=N[e+4>>2];kb:{if((a|0)!=N[e+104>>2]){N[e+4>>2]=a+1;a=O[a|0];break kb}a=Db(e)}if(O[(a+q|0)+33|0]){L[b+x|0]=a;b=b+1|0;continue}else{f=0;a=x;F=a;break gb}}}while(1){a=N[e+4>>2];lb:{if((a|0)!=N[e+104>>2]){N[e+4>>2]=a+1;a=O[a|0];break lb}a=Db(e)}if(O[(a+q|0)+33|0]){continue}break}a=0;F=0;f=0}j=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){j=j-1|0;N[e+4>>2]=j}l=j-N[e+44>>2]|0;d=l+N[e+120>>2]|0;j=N[e+124>>2]+(l>>31)|0;j=d>>>0>>0?j+1|0:j;if(!(j|d)|!(g|(d|0)==(o|0)&(i|0)==(j|0))){break i}if(I){N[x>>2]=a}mb:{if((k|0)==99){break mb}if(f){N[(b<<2)+f>>2]=0}if(!F){F=0;break mb}L[b+F|0]=0}a=f}b=N[e+4>>2]-N[e+44>>2]|0;d=b;m=G+N[e+124>>2]|0;f=b>>31;b=z+N[e+120>>2]|0;i=f+(b>>>0>>0?m+1|0:m)|0;z=b+d|0;G=z>>>0>>0?i+1|0:i;R=((x|0)!=0)+R|0}b=r+1|0;r=O[r+1|0];if(r){continue}break a}break}a=f;break g}n=1;F=0;a=0;break e}n=I;break b}n=I}if(R){break b}}R=-1}if(!n){break a}_a(F);_a(a)}La=q+304|0;La=e+144|0;La=X+16|0;return R}function cp(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,P=0,Q=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0;i=La+-64|0;La=i;a:{if(!b){e=6;break a}h=N[b>>2];if(!h){e=6;break a}g=N[b+4>>2];if(g){while(1){f=N[g+8>>2];N[i+48>>2]=0;if(f){while(1){e=6;b:{c:{switch(N[f+32>>2]-1|0){case 0:e=Qa[N[h+4>>2]](h,40)|0;if(!e){e=64;break a}N[e>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;N[e+36>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;p=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=p;p=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=p;p=N[f+20>>2];N[e+16>>2]=N[f+16>>2];N[e+20>>2]=p;p=N[f+28>>2];N[e+24>>2]=N[f+24>>2];N[e+28>>2]=p;N[e+32>>2]=N[f+32>>2];N[e+36>>2]=N[i+48>>2];N[i+48>>2]=e;break b;case 1:e=N[f+4>>2];N[i>>2]=N[f>>2];N[i+4>>2]=e;e=N[f+20>>2];N[i+8>>2]=N[f+16>>2];N[i+12>>2]=e;e=N[f+12>>2];N[i+16>>2]=N[f+8>>2];N[i+20>>2]=e;Pi(h,i,32,i+48|0);break b;case 2:break c;default:break a}}e=N[f+4>>2];N[i>>2]=N[f>>2];N[i+4>>2]=e;e=N[f+20>>2];N[i+8>>2]=N[f+16>>2];N[i+12>>2]=e;e=N[f+28>>2];N[i+16>>2]=N[f+24>>2];N[i+20>>2]=e;e=N[f+12>>2];N[i+24>>2]=N[f+8>>2];N[i+28>>2]=e;Oi(h,i,32,i+48|0)}f=N[f+36>>2];if(f){continue}break}}p=Qa[N[h+4>>2]](h,16)|0;if(!p){e=64;break a}N[p+12>>2]=S;N[p>>2]=0;N[p+4>>2]=0;N[p+8>>2]=N[i+48>>2];N[i+48>>2]=0;e=N[g+12>>2];f=N[g+8>>2];d:{if(f){while(1){aa=N[f+36>>2];Qa[N[h+8>>2]](h,f);f=aa;if(f){continue}break}if(!g){break d}}Qa[N[h+8>>2]](h,g)}S=p;g=e;if(e){continue}break}}N[b+4>>2]=p;if(!d){e=6;break a}if(c-33>>>0<4294967265){e=6;break a}na=N[b>>2];if(!na){e=6;break a}Ca=N[a+8>>2];Fa=O[a+5|0];Ga=O[a+4|0];Da=N[a>>2];a=T(T(N[d+4>>2],N[d>>2]),12);e:{if((a|0)<=0){e=6;if(!a){break e}break a}ja=Qa[N[na+4>>2]](na,a)|0;if(!ja){e=64;break a}C(ja,0,a)}e=19;f:{g:{fa=N[d+4>>2];if(!fa){break g}ka=N[d>>2];if(!ka){break g}aa=c<<16;Ea=N[d+12>>2];oa=N[b+4>>2];if(oa){while(1){l=N[oa+8>>2];if(l){while(1){d=O[l+12|0]|O[l+13|0]<<8|(O[l+14|0]<<16|O[l+15|0]<<24);h=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);a=O[l+20|0]|O[l+21|0]<<8|(O[l+22|0]<<16|O[l+23|0]<<24);b=a;p=O[l+16|0]|O[l+17|0]<<8|(O[l+18|0]<<16|O[l+19|0]<<24);S=p;f=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);y=f;e=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);g=e;h:{switch((O[l+32|0]|O[l+33|0]<<8|(O[l+34|0]<<16|O[l+35|0]<<24))-1|0){case 2:g=O[l+28|0]|O[l+29|0]<<8|(O[l+30|0]<<16|O[l+31|0]<<24);b=(a|0)<(g|0)?a:g;y=O[l+24|0]|O[l+25|0]<<8|(O[l+26|0]<<16|O[l+27|0]<<24);S=(p|0)<(y|0)?p:y;a=(a|0)>(g|0)?a:g;p=(p|0)>(y|0)?p:y;case 1:y=(b|0)>(f|0)?f:b;g=(e|0)<(S|0)?e:S;f=(a|0)<(f|0)?f:a;e=(e|0)>(p|0)?e:p;case 0:Ha=(d|0)>(f|0)?d:f;Ia=(d|0)<(y|0)?d:y;Ja=(e|0)<(h|0)?h:e;Ka=(g|0)>(h|0)?h:g;break;default:break h}}a=(Ja+63|0)/64|0;b=(Ka-63|0)/64|0;y=((Ia-63|0)/64|0)-c|0;sa=((Ha+63|0)/64|0)+c|0;i:{if((y|0)>=(sa|0)){break i}ta=a+c|0;S=b-c|0;if((ta|0)<=(S|0)){break i}if(!Fa){while(1){if((y|0)<(ka|0)&(y|0)>=0){ba=y<<6|32;pa=ba<<10;ua=T((y^-1)+ka|0,fa);p=S;while(1){j:{if((p|0)<0|(p|0)>=(fa|0)){break j}e=6;Y=p<<6|32;k:{l:{switch(N[l+32>>2]-1|0){case 2:a=N[l+20>>2];U=N[l+4>>2];f=a-U|0;G=T(f,3);b=G>>31;V=(b^G)-b|0;la=V>>>16|0;ca=V&65535;b=N[l+16>>2];H=N[l>>2];g=b-H|0;W=T(g,3);d=W>>31;u=(d^W)-d|0;ma=u>>>16|0;ga=u&65535;e=N[l+28>>2];Z=e+(U-(a<<1)|0)|0;h=T(Z,3);d=h>>31;v=(d^h)-d|0;da=v>>>16|0;A=v&65535;d=N[l+12>>2]+(T(a-e|0,3)-U|0)|0;e=d>>31;a=e;m=(a^d)-a|0;I=m>>>16|0;q=m&65535;d=N[l+24>>2];_=d+(H-(b<<1)|0)|0;h=T(_,3);a=h>>31;w=(a^h)-a|0;ea=w>>>16|0;t=w&65535;b=N[l+8>>2]+(T(b-d|0,3)-H|0)|0;a=b>>31;o=(a^b)-a|0;J=o>>>16|0;s=o&65535;K=0;B=f>>31|1;ha=0-B|0;ia=g>>31|1;va=0-ia|0;wa=T(Z,6);z=T(_,6);qa=Z>>31|1;xa=0-qa|0;D=e|1;X=0-D|0;ra=_>>31|1;ya=0-ra|0;E=a|1;M=0-E|0;d=2147483647;g=0;a=0;while(1){f=K<<14;P=0;while(1){b=f>>31;h=(b^f)-b|0;x=h>>>8|0;if(h+x>>>0<=8190){k=T(f,f)+32768>>>16|0}else{b=h&65535;k=T(b+h|0,h>>>16|0)+(T(b,b)+32768>>>16|0)|0}e=k;b=f>>31|1;n=(f|0)<0;b=((n?0-b|0:b)|0)<0?0-e|0:e;e=e>>31;j=(k^e)-e|0;m:{if(j+x>>>0<=8190){F=T(h,j)+32768>>>16|0;break m}e=j&65535;F=T(e,h>>>16|0)+T(h,j>>>16|0)+(T(e,h&65535)+32768>>>16)|0}e=F;k=b>>31|1;r=((n?0-k|0:k)|0)<0?0-e|0:e;e=e>>31;e=(F^e)-e|0;Q=e>>>8|0;n:{if(Q+o>>>0<=8190){k=T(e,o)+32768>>>16|0;break n}k=T(s,e>>>16|0)+T(e,J)+(T(s,e&65535)+32768>>>16)|0}R=(r|0)<0;r=((R?M:E)|0)<0?0-k|0:k;$=j>>>8|0;k=$+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,j>>>16|0)+T(j,ea)+(T(t,j&65535)+32768>>>16)|0;za=0-k|0;F=k;k=(b|0)<0;F=(r+H|0)+(((k?ya:ra)|0)<0?za:F)|0;r=x+u>>>0<=8190?T(h,u)+32768>>>16|0:T(ga,h>>>16|0)+T(h,ma)+(T(ga,h&65535)+32768>>>16)|0;r=F+(((n?va:ia)|0)<0?0-r|0:r)|0;e=m+Q>>>0<=8190?T(e,m)+32768>>>16|0:T(q,e>>>16|0)+T(e,I)+(T(q,e&65535)+32768>>>16)|0;Q=((R?X:D)|0)<0?0-e|0:e;e=v+$>>>0<=8190?T(j,v)+32768>>>16|0:T(A,j>>>16|0)+T(j,da)+(T(A,j&65535)+32768>>>16)|0;j=((k?xa:qa)|0)<0?0-e|0:e;e=x+V>>>0<=8190?T(h,V)+32768>>>16|0:T(ca,h>>>16|0)+T(h,la)+(T(ca,h&65535)+32768>>>16)|0;x=r-Y|0;N[i+32>>2]=x<<10;j=(j+(Q+U|0)|0)+(((n?ha:B)|0)<0?0-e|0:e)|0;e=j-ba|0;N[i+36>>2]=e<<10;h=Wb(i+32|0);if((h|0)<(d|0)){Aa=r<<10;Ba=j<<10;g=f;d=h;a=b}j=f<<1;h=T(b,3);b=h>>31;h=(b^h)-b|0;r=h>>>8|0;o:{if(r+o>>>0<=8190){b=T(h,o)+32768>>>16|0;break o}b=T(s,h>>>16|0)+T(h,J)+(T(s,h&65535)+32768>>>16)|0}Q=((k?M:E)|0)<0?0-b|0:b;R=f>>>7|0;b=R+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,f>>>15|0)+T(j,ea)+(T(t,j&65534)+32768>>>16)|0;$=0-b|0;h=m+r>>>0<=8190?T(h,m)+32768>>>16|0:T(q,h>>>16|0)+T(h,I)+(T(q,h&65535)+32768>>>16)|0;r=(_|0)<0;$=r?$:b;Q=Q+W|0;N[i+32>>2]=x;N[i+36>>2]=e;b=v+R>>>0<=8190?T(j,v)+32768>>>16|0:T(A,f>>>15|0)+T(j,da)+(T(A,j&65534)+32768>>>16)|0;j=(Z|0)<0;b=((((k?X:D)|0)<0?0-h|0:h)+G|0)+(j?0-b|0:b)|0;h=Q+$|0;F=((T(b,e)|0)/64|0)+((T(h,x)|0)/64|0)|0;k=(T(b,b)>>>6)+(T(h,h)>>>6)|0;h=T(f,6);b=h>>31;b=(b^h)-b|0;R=b>>>8|0;p:{if(R+o>>>0<=8190){h=T(b,o)+32768>>>16|0;break p}h=T(s,b>>>16|0)+T(b,J)+(T(s,b&65534)+32768>>>16)|0}b=m+R>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65534)+32768>>>16)|0;f=f-fb(F,(k+((T(x,z+(((n?M:E)|0)<0?0-h|0:h)|0)|0)/64|0)|0)+((T(wa+(((n?X:D)|0)<0?0-b|0:b)|0,e)|0)/64|0)|0)|0;if(f>>>0<=65536){b=P&65535;P=P+1|0;if(b>>>0<3){continue}}break}K=K+1|0;if((K|0)!=5){continue}break};f=g<<1;e=T(a,3);b=e>>31;b=(b^e)-b|0;h=b>>>8|0;q:{if(h+o>>>0<=8190){e=T(b,o)+32768>>>16|0;break q}e=T(s,b>>>16|0)+T(b,J)+(T(s,b&65535)+32768>>>16)|0}o=(a|0)<0;s=g>>>7|0;a=s+w>>>0<=8190?T(f,w)+32768>>>16|0:T(t,g>>>15|0)+T(f,ea)+(T(t,f&65534)+32768>>>16)|0;e=(W+(((o?M:E)|0)<0?0-e|0:e)|0)+(r?0-a|0:a)|0;N[i+48>>2]=e;a=h+m>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65535)+32768>>>16)|0;b=G+(((o?X:D)|0)<0?0-a|0:a)|0;a=s+v>>>0<=8190?T(f,v)+32768>>>16|0:T(A,g>>>15|0)+T(f,da)+(T(A,f&65534)+32768>>>16)|0;b=b+(j?0-a|0:a)|0;N[i+52>>2]=b;f=Aa-(Y<<10)|0;h=f>>31;h=(f^h)-h|0;a=b>>31;a=(a^b)-a|0;r:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break r}j=h&65535;k=T(j,a>>>16|0)+T(a,h>>>16|0)+(T(j,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=f>>31|1;z=(((b|0)<0?0-a|0:a)|0)<0?h:k;b=Ba-pa|0;h=b>>31;h=(b^h)-h|0;a=e>>31;a=(a^e)-a|0;s:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break s}m=h&65535;k=T(m,a>>>16|0)+T(a,h>>>16|0)+(T(m,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=b>>31|1;a=(z|0)<(((((e|0)<0?0-a|0:a)|0)<0?h:k)|0);e=65536;if(!(g&-65537)){N[i+4>>2]=b;N[i>>2]=f;_b(i+48|0);_b(i);e=ob(N[i+48>>2],N[i+4>>2])-ob(N[i+52>>2],N[i>>2])|0}a=a?1:-1;break k;case 1:b=N[l+20>>2];I=N[l+4>>2];J=b-I|0;D=J<<1;a=D>>31;s=(a^D)-a|0;da=s>>>16|0;X=s&65534;d=N[l+16>>2];E=N[l>>2];M=d-E|0;x=M<<1;a=x>>31;v=(a^x)-a|0;ea=v>>>16|0;U=v&65534;w=N[l+12>>2]+(I-(b<<1)|0)|0;b=w>>31;h=(b^w)-b|0;K=h>>>16|0;o=h&65535;P=N[l+8>>2]+(E-(d<<1)|0)|0;a=P>>31;j=(a^P)-a|0;A=j>>>16|0;q=j&65535;m=0;k=J>>31|1;r=0-k|0;ca=M>>31|1;ga=0-ca|0;la=w<<1;ma=P<<1;G=b|1;V=0-G|0;H=a|1;W=0-H|0;d=2147483647;a=0;while(1){f=m<<14;b=0;while(1){g=f>>31;e=(g^f)-g|0;t=e>>>8|0;if(e+t>>>0<=8190){z=T(f,f)+32768>>>16|0}else{g=e&65535;z=T(g+e|0,e>>>16|0)+(T(g,g)+32768>>>16|0)|0}g=z;n=f>>31|1;u=(f|0)<0;B=((u?0-n|0:n)|0)<0?0-g|0:g;g=g>>31;g=(z^g)-g|0;ha=g>>>8|0;t:{if(ha+j>>>0<=8190){n=T(g,j)+32768>>>16|0;break t}n=T(q,g>>>16|0)+T(g,A)+(T(q,g&65535)+32768>>>16)|0}B=(B|0)<0;ia=((B?W:H)|0)<0?0-n|0:n;n=t+v>>>0<=8190?T(e,v)+32768>>>16|0:T(U,e>>>16|0)+T(e,ea)+(T(U,e&65535)+32768>>>16)|0;n=(E+ia|0)+(((u?ga:ca)|0)<0?0-n|0:n)|0;g=h+ha>>>0<=8190?T(g,h)+32768>>>16|0:T(o,g>>>16|0)+T(g,K)+(T(o,g&65535)+32768>>>16)|0;B=((B?V:G)|0)<0?0-g|0:g;g=t+s>>>0<=8190?T(e,s)+32768>>>16|0:T(X,e>>>16|0)+T(e,da)+(T(X,e&65535)+32768>>>16)|0;t=n-Y|0;N[i+32>>2]=t<<10;u=(I+B|0)+(((u?r:k)|0)<0?0-g|0:g)|0;g=u-ba|0;N[i+36>>2]=g<<10;e=Wb(i+32|0);if((e|0)<(d|0)){_=n<<10;Z=u<<10;d=e;a=f}e=f<<1;u=f>>>7|0;n=u+j>>>0<=8190?T(e,j)+32768>>>16|0:T(q,f>>>15|0)+T(e,A)+(T(q,e&65534)+32768>>>16)|0;n=x+((P|0)<0?0-n|0:n)|0;N[i+36>>2]=g;N[i+32>>2]=t;z=f;e=h+u>>>0<=8190?T(e,h)+32768>>>16|0:T(o,f>>>15|0)+T(e,K)+(T(o,e&65534)+32768>>>16)|0;f=D+((w|0)<0?0-e|0:e)|0;f=z-fb(((T(f,g)|0)/64|0)+((T(n,t)|0)/64|0)|0,(((T(f,f)>>>6)+(T(n,n)>>>6)|0)+((T(t,ma)|0)/64|0)|0)+((T(g,la)|0)/64|0)|0)|0;if(f>>>0<=65536){g=b&65535;b=b+1|0;if(g>>>0<3){continue}}break}m=m+1|0;if((m|0)!=5){continue}break};b=a>>31;b=(b^a)-b|0;g=b>>>8|0;u:{if(g+j>>>0<=8190){f=T(b,j)+32768>>>16|0;break u}f=T(q,b>>>16|0)+T(b,A)+(T(q,b&65535)+32768>>>16)|0}e=(a|0)<0;f=M+(((e?W:H)|0)<0?0-f|0:f)<<1;N[i+48>>2]=f;b=g+h>>>0<=8190?T(b,h)+32768>>>16|0:T(o,b>>>16|0)+T(b,K)+(T(o,b&65535)+32768>>>16)|0;g=J+(((e?V:G)|0)<0?0-b|0:b)<<1;N[i+52>>2]=g;h=_-(Y<<10)|0;e=h>>31;e=(e^h)-e|0;b=g>>31;b=(b^g)-b|0;v:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break v}j=e&65535;e=T(j,b>>>16|0)+T(b,e>>>16|0)+(T(j,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=h>>31|1;z=(((g|0)<0?0-b|0:b)|0)<0?k:e;g=Z-pa|0;e=g>>31;e=(e^g)-e|0;b=f>>31;b=(b^f)-b|0;w:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break w}m=e&65535;e=T(m,b>>>16|0)+T(b,e>>>16|0)+(T(m,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=g>>31|1;b=(z|0)<(((((f|0)<0?0-b|0:b)|0)<0?k:e)|0);e=65536;if(!(a&-65537)){N[i+4>>2]=g;N[i>>2]=h;_b(i+48|0);_b(i);e=ob(N[i+48>>2],N[i+4>>2])-ob(N[i+52>>2],N[i>>2])|0}a=b?1:-1;break k;case 0:break l;default:break g}}a=N[l+8>>2];f=N[l>>2];e=N[l+4>>2];b=N[l+12>>2]-e|0;N[i+4>>2]=b;d=a-f|0;N[i>>2]=d;j=d<<10;g=j>>31;h=fb(((T(b,ba-e|0)|0)/64|0)+((T(d,Y-f|0)|0)/64|0)|0,(T(b,b)>>>6)+(T(d,d)>>>6)|0);a=(h|0)>=65536?65536:h;a=(a|0)>0?a:0;m=a>>>8|0;g=(g^j)-g|0;x:{if((m|g)>>>0<=8190){g=T(a,g)+32768>>>16|0;break x}j=g&64512;g=T(j,a>>>16|0)+T(a,g>>>16|0)+(T(j,a&65535)+32768>>>16)|0}j=(d|0)<0;o=j?0-g|0:g;e=e-ba<<10;q=b<<10;g=q>>31;g=(g^q)-g|0;y:{if(g+m>>>0<=8190){g=T(a,g)+32768>>>16|0;break y}m=g&64512;g=T(m,a>>>16|0)+T(a,g>>>16|0)+(T(m,a&65535)+32768>>>16)|0}m=(b|0)<0;g=e+(m?0-g|0:g)|0;N[i+52>>2]=g;f=o+(f-Y<<10)|0;N[i+48>>2]=f;e=f>>31;e=(e^f)-e|0;k=b;b=b>>31;b=(k^b)-b|0;z:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break z}o=e&65535;e=T(o,b>>>16|0)+T(b,e>>>16|0)+(T(o,b&65535)+32768>>>16)|0}b=e;k=0-b|0;b=f>>31|1;k=((m?0-b|0:b)|0)<0?k:e;b=d>>31;b=(b^d)-b|0;d=g>>31;d=(d^g)-d|0;A:{if((b>>>8|0)+d>>>0<=8190){d=T(b,d)+32768>>>16|0;break A}e=d&65535;d=T(e,b>>>16|0)+T(b,d>>>16|0)+(T(e,b&65535)+32768>>>16)|0}b=d;f=0-b|0;b=g>>31|1;j=(k|0)<((((j?0-b|0:b)|0)<0?f:d)|0);d=Wb(i+48|0);B:{if((h|0)>0){e=65536;if((a|0)!=65536){break B}}_b(i);_b(i+48|0);f=N[i>>2];b=f>>31;g=N[i+52>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;C:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break C}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+4>>2];b=f>>31;g=N[i+48>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;D:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break D}h=b&65535;b=T(h,a>>>16|0)+T(a,b>>>16|0)+(T(h,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=j?1:-1}if((d|0)>(aa|0)){break j}b=(Da|0)==1?0-a|0:a;a=T(p+ua|0,12)+ja|0;if(O[a+8|0]){f=N[a>>2];if((f|0)<=(d|0)){g=f-d|0;f=g>>31;if((f^g)-f>>>0>31){break j}L[i+8|0]=b;N[i>>2]=d;N[i+4>>2]=e;L[i+11|0]=0;L[i+9|0]=0;L[i+10|0]=0;N[i+56>>2]=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[i+48>>2]=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);N[i+52>>2]=b;d=N[i+52>>2];b=d>>31;d=(b^d)-b|0;b=e>>31;b=d>>>0>(b^e)-b>>>0?i+48|0:i;f=N[b+8>>2];N[i+40>>2]=f;d=N[b+4>>2];b=N[b>>2];N[i+32>>2]=b;N[i+36>>2]=d;N[a+8>>2]=f;N[a>>2]=b;N[a+4>>2]=d;break j}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0;break j}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0}p=p+1|0;if((ta|0)>(p|0)){continue}break}}y=y+1|0;if((sa|0)>(y|0)){continue}break i}}while(1){if((y|0)<(ka|0)&(y|0)>=0){ba=y<<6|32;pa=ba<<10;ua=T(y,fa);p=S;while(1){E:{if((p|0)<0|(p|0)>=(fa|0)){break E}e=6;Y=p<<6|32;F:{G:{switch(N[l+32>>2]-1|0){case 2:a=N[l+20>>2];U=N[l+4>>2];f=a-U|0;G=T(f,3);b=G>>31;V=(b^G)-b|0;la=V>>>16|0;ca=V&65535;b=N[l+16>>2];H=N[l>>2];g=b-H|0;W=T(g,3);d=W>>31;u=(d^W)-d|0;ma=u>>>16|0;ga=u&65535;e=N[l+28>>2];Z=e+(U-(a<<1)|0)|0;h=T(Z,3);d=h>>31;v=(d^h)-d|0;da=v>>>16|0;A=v&65535;d=N[l+12>>2]+(T(a-e|0,3)-U|0)|0;e=d>>31;a=e;m=(a^d)-a|0;I=m>>>16|0;q=m&65535;d=N[l+24>>2];_=d+(H-(b<<1)|0)|0;h=T(_,3);a=h>>31;w=(a^h)-a|0;ea=w>>>16|0;t=w&65535;b=N[l+8>>2]+(T(b-d|0,3)-H|0)|0;a=b>>31;o=(a^b)-a|0;J=o>>>16|0;s=o&65535;K=0;B=f>>31|1;ha=0-B|0;ia=g>>31|1;va=0-ia|0;wa=T(Z,6);z=T(_,6);qa=Z>>31|1;xa=0-qa|0;D=e|1;X=0-D|0;ra=_>>31|1;ya=0-ra|0;E=a|1;M=0-E|0;d=2147483647;g=0;a=0;while(1){f=K<<14;P=0;while(1){b=f>>31;h=(b^f)-b|0;x=h>>>8|0;if(h+x>>>0<=8190){k=T(f,f)+32768>>>16|0}else{b=h&65535;k=T(b+h|0,h>>>16|0)+(T(b,b)+32768>>>16|0)|0}e=k;b=f>>31|1;n=(f|0)<0;b=((n?0-b|0:b)|0)<0?0-e|0:e;e=e>>31;j=(k^e)-e|0;H:{if(j+x>>>0<=8190){F=T(h,j)+32768>>>16|0;break H}e=j&65535;F=T(e,h>>>16|0)+T(h,j>>>16|0)+(T(e,h&65535)+32768>>>16)|0}e=F;k=b>>31|1;r=((n?0-k|0:k)|0)<0?0-e|0:e;e=e>>31;e=(F^e)-e|0;Q=e>>>8|0;I:{if(Q+o>>>0<=8190){k=T(e,o)+32768>>>16|0;break I}k=T(s,e>>>16|0)+T(e,J)+(T(s,e&65535)+32768>>>16)|0}R=(r|0)<0;r=((R?M:E)|0)<0?0-k|0:k;$=j>>>8|0;k=$+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,j>>>16|0)+T(j,ea)+(T(t,j&65535)+32768>>>16)|0;za=0-k|0;F=k;k=(b|0)<0;F=(r+H|0)+(((k?ya:ra)|0)<0?za:F)|0;r=x+u>>>0<=8190?T(h,u)+32768>>>16|0:T(ga,h>>>16|0)+T(h,ma)+(T(ga,h&65535)+32768>>>16)|0;r=F+(((n?va:ia)|0)<0?0-r|0:r)|0;e=m+Q>>>0<=8190?T(e,m)+32768>>>16|0:T(q,e>>>16|0)+T(e,I)+(T(q,e&65535)+32768>>>16)|0;Q=((R?X:D)|0)<0?0-e|0:e;e=v+$>>>0<=8190?T(j,v)+32768>>>16|0:T(A,j>>>16|0)+T(j,da)+(T(A,j&65535)+32768>>>16)|0;j=((k?xa:qa)|0)<0?0-e|0:e;e=x+V>>>0<=8190?T(h,V)+32768>>>16|0:T(ca,h>>>16|0)+T(h,la)+(T(ca,h&65535)+32768>>>16)|0;x=r-Y|0;N[i+32>>2]=x<<10;j=(j+(Q+U|0)|0)+(((n?ha:B)|0)<0?0-e|0:e)|0;e=j-ba|0;N[i+36>>2]=e<<10;h=Wb(i+32|0);if((h|0)<(d|0)){Aa=r<<10;Ba=j<<10;g=f;d=h;a=b}j=f<<1;h=T(b,3);b=h>>31;h=(b^h)-b|0;r=h>>>8|0;J:{if(r+o>>>0<=8190){b=T(h,o)+32768>>>16|0;break J}b=T(s,h>>>16|0)+T(h,J)+(T(s,h&65535)+32768>>>16)|0}Q=((k?M:E)|0)<0?0-b|0:b;R=f>>>7|0;b=R+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,f>>>15|0)+T(j,ea)+(T(t,j&65534)+32768>>>16)|0;$=0-b|0;h=m+r>>>0<=8190?T(h,m)+32768>>>16|0:T(q,h>>>16|0)+T(h,I)+(T(q,h&65535)+32768>>>16)|0;r=(_|0)<0;$=r?$:b;Q=Q+W|0;N[i+32>>2]=x;N[i+36>>2]=e;b=v+R>>>0<=8190?T(j,v)+32768>>>16|0:T(A,f>>>15|0)+T(j,da)+(T(A,j&65534)+32768>>>16)|0;j=(Z|0)<0;b=((((k?X:D)|0)<0?0-h|0:h)+G|0)+(j?0-b|0:b)|0;h=Q+$|0;F=((T(b,e)|0)/64|0)+((T(h,x)|0)/64|0)|0;k=(T(b,b)>>>6)+(T(h,h)>>>6)|0;h=T(f,6);b=h>>31;b=(b^h)-b|0;R=b>>>8|0;K:{if(R+o>>>0<=8190){h=T(b,o)+32768>>>16|0;break K}h=T(s,b>>>16|0)+T(b,J)+(T(s,b&65534)+32768>>>16)|0}b=m+R>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65534)+32768>>>16)|0;f=f-fb(F,(k+((T(x,z+(((n?M:E)|0)<0?0-h|0:h)|0)|0)/64|0)|0)+((T(wa+(((n?X:D)|0)<0?0-b|0:b)|0,e)|0)/64|0)|0)|0;if(f>>>0<=65536){b=P&65535;P=P+1|0;if(b>>>0<3){continue}}break}K=K+1|0;if((K|0)!=5){continue}break};f=g<<1;e=T(a,3);b=e>>31;b=(b^e)-b|0;h=b>>>8|0;L:{if(h+o>>>0<=8190){e=T(b,o)+32768>>>16|0;break L}e=T(s,b>>>16|0)+T(b,J)+(T(s,b&65535)+32768>>>16)|0}o=(a|0)<0;s=g>>>7|0;a=s+w>>>0<=8190?T(f,w)+32768>>>16|0:T(t,g>>>15|0)+T(f,ea)+(T(t,f&65534)+32768>>>16)|0;e=(W+(((o?M:E)|0)<0?0-e|0:e)|0)+(r?0-a|0:a)|0;N[i+48>>2]=e;a=h+m>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65535)+32768>>>16)|0;b=G+(((o?X:D)|0)<0?0-a|0:a)|0;a=s+v>>>0<=8190?T(f,v)+32768>>>16|0:T(A,g>>>15|0)+T(f,da)+(T(A,f&65534)+32768>>>16)|0;b=b+(j?0-a|0:a)|0;N[i+52>>2]=b;f=Aa-(Y<<10)|0;h=f>>31;h=(f^h)-h|0;a=b>>31;a=(a^b)-a|0;M:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break M}j=h&65535;k=T(j,a>>>16|0)+T(a,h>>>16|0)+(T(j,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=f>>31|1;z=(((b|0)<0?0-a|0:a)|0)<0?h:k;b=Ba-pa|0;h=b>>31;h=(b^h)-h|0;a=e>>31;a=(a^e)-a|0;N:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break N}m=h&65535;k=T(m,a>>>16|0)+T(a,h>>>16|0)+(T(m,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=b>>31|1;h=(z|0)<(((((e|0)<0?0-a|0:a)|0)<0?h:k)|0);e=65536;if(!(g&-65537)){N[i+4>>2]=b;N[i>>2]=f;_b(i+48|0);_b(i);f=N[i+48>>2];b=f>>31;g=N[i+4>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;O:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break O}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+52>>2];b=f>>31;g=N[i>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;P:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break P}j=b&65535;b=T(j,a>>>16|0)+T(a,b>>>16|0)+(T(j,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=h?1:-1;break F;case 1:b=N[l+20>>2];I=N[l+4>>2];J=b-I|0;D=J<<1;a=D>>31;s=(a^D)-a|0;da=s>>>16|0;X=s&65534;d=N[l+16>>2];E=N[l>>2];M=d-E|0;x=M<<1;a=x>>31;v=(a^x)-a|0;ea=v>>>16|0;U=v&65534;w=N[l+12>>2]+(I-(b<<1)|0)|0;b=w>>31;h=(b^w)-b|0;K=h>>>16|0;o=h&65535;P=N[l+8>>2]+(E-(d<<1)|0)|0;a=P>>31;j=(a^P)-a|0;A=j>>>16|0;q=j&65535;m=0;k=J>>31|1;r=0-k|0;ca=M>>31|1;ga=0-ca|0;la=w<<1;ma=P<<1;G=b|1;V=0-G|0;H=a|1;W=0-H|0;d=2147483647;a=0;while(1){f=m<<14;b=0;while(1){g=f>>31;e=(g^f)-g|0;t=e>>>8|0;if(e+t>>>0<=8190){z=T(f,f)+32768>>>16|0}else{g=e&65535;z=T(g+e|0,e>>>16|0)+(T(g,g)+32768>>>16|0)|0}g=z;n=f>>31|1;u=(f|0)<0;B=((u?0-n|0:n)|0)<0?0-g|0:g;g=g>>31;g=(z^g)-g|0;ha=g>>>8|0;Q:{if(ha+j>>>0<=8190){n=T(g,j)+32768>>>16|0;break Q}n=T(q,g>>>16|0)+T(g,A)+(T(q,g&65535)+32768>>>16)|0}B=(B|0)<0;ia=((B?W:H)|0)<0?0-n|0:n;n=t+v>>>0<=8190?T(e,v)+32768>>>16|0:T(U,e>>>16|0)+T(e,ea)+(T(U,e&65535)+32768>>>16)|0;n=(E+ia|0)+(((u?ga:ca)|0)<0?0-n|0:n)|0;g=h+ha>>>0<=8190?T(g,h)+32768>>>16|0:T(o,g>>>16|0)+T(g,K)+(T(o,g&65535)+32768>>>16)|0;B=((B?V:G)|0)<0?0-g|0:g;g=t+s>>>0<=8190?T(e,s)+32768>>>16|0:T(X,e>>>16|0)+T(e,da)+(T(X,e&65535)+32768>>>16)|0;t=n-Y|0;N[i+32>>2]=t<<10;u=(I+B|0)+(((u?r:k)|0)<0?0-g|0:g)|0;g=u-ba|0;N[i+36>>2]=g<<10;e=Wb(i+32|0);if((e|0)<(d|0)){_=n<<10;Z=u<<10;d=e;a=f}e=f<<1;u=f>>>7|0;n=u+j>>>0<=8190?T(e,j)+32768>>>16|0:T(q,f>>>15|0)+T(e,A)+(T(q,e&65534)+32768>>>16)|0;n=x+((P|0)<0?0-n|0:n)|0;N[i+36>>2]=g;N[i+32>>2]=t;z=f;e=h+u>>>0<=8190?T(e,h)+32768>>>16|0:T(o,f>>>15|0)+T(e,K)+(T(o,e&65534)+32768>>>16)|0;f=D+((w|0)<0?0-e|0:e)|0;f=z-fb(((T(f,g)|0)/64|0)+((T(n,t)|0)/64|0)|0,(((T(f,f)>>>6)+(T(n,n)>>>6)|0)+((T(t,ma)|0)/64|0)|0)+((T(g,la)|0)/64|0)|0)|0;if(f>>>0<=65536){g=b&65535;b=b+1|0;if(g>>>0<3){continue}}break}m=m+1|0;if((m|0)!=5){continue}break};b=a>>31;b=(b^a)-b|0;g=b>>>8|0;R:{if(g+j>>>0<=8190){f=T(b,j)+32768>>>16|0;break R}f=T(q,b>>>16|0)+T(b,A)+(T(q,b&65535)+32768>>>16)|0}e=(a|0)<0;f=M+(((e?W:H)|0)<0?0-f|0:f)<<1;N[i+48>>2]=f;b=g+h>>>0<=8190?T(b,h)+32768>>>16|0:T(o,b>>>16|0)+T(b,K)+(T(o,b&65535)+32768>>>16)|0;g=J+(((e?V:G)|0)<0?0-b|0:b)<<1;N[i+52>>2]=g;h=_-(Y<<10)|0;e=h>>31;e=(e^h)-e|0;b=g>>31;b=(b^g)-b|0;S:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break S}j=e&65535;e=T(j,b>>>16|0)+T(b,e>>>16|0)+(T(j,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=h>>31|1;z=(((g|0)<0?0-b|0:b)|0)<0?k:e;g=Z-pa|0;e=g>>31;e=(e^g)-e|0;b=f>>31;b=(b^f)-b|0;T:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break T}m=e&65535;e=T(m,b>>>16|0)+T(b,e>>>16|0)+(T(m,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=g>>31|1;j=(z|0)<(((((f|0)<0?0-b|0:b)|0)<0?k:e)|0);e=65536;if(!(a&-65537)){N[i+4>>2]=g;N[i>>2]=h;_b(i+48|0);_b(i);f=N[i+48>>2];b=f>>31;g=N[i+4>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;U:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break U}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+52>>2];b=f>>31;g=N[i>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;V:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break V}h=b&65535;b=T(h,a>>>16|0)+T(a,b>>>16|0)+(T(h,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=j?1:-1;break F;case 0:break G;default:break g}}a=N[l+8>>2];f=N[l>>2];e=N[l+4>>2];b=N[l+12>>2]-e|0;N[i+4>>2]=b;d=a-f|0;N[i>>2]=d;j=d<<10;g=j>>31;h=fb(((T(b,ba-e|0)|0)/64|0)+((T(d,Y-f|0)|0)/64|0)|0,(T(b,b)>>>6)+(T(d,d)>>>6)|0);a=(h|0)>=65536?65536:h;a=(a|0)>0?a:0;m=a>>>8|0;g=(g^j)-g|0;W:{if((m|g)>>>0<=8190){g=T(a,g)+32768>>>16|0;break W}j=g&64512;g=T(j,a>>>16|0)+T(a,g>>>16|0)+(T(j,a&65535)+32768>>>16)|0}j=(d|0)<0;o=j?0-g|0:g;e=e-ba<<10;q=b<<10;g=q>>31;g=(g^q)-g|0;X:{if(g+m>>>0<=8190){g=T(a,g)+32768>>>16|0;break X}m=g&64512;g=T(m,a>>>16|0)+T(a,g>>>16|0)+(T(m,a&65535)+32768>>>16)|0}m=(b|0)<0;g=e+(m?0-g|0:g)|0;N[i+52>>2]=g;f=o+(f-Y<<10)|0;N[i+48>>2]=f;e=f>>31;e=(e^f)-e|0;k=b;b=b>>31;b=(k^b)-b|0;Y:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break Y}o=e&65535;e=T(o,b>>>16|0)+T(b,e>>>16|0)+(T(o,b&65535)+32768>>>16)|0}b=e;k=0-b|0;b=f>>31|1;k=((m?0-b|0:b)|0)<0?k:e;b=d>>31;b=(b^d)-b|0;d=g>>31;d=(d^g)-d|0;Z:{if((b>>>8|0)+d>>>0<=8190){d=T(b,d)+32768>>>16|0;break Z}e=d&65535;d=T(e,b>>>16|0)+T(b,d>>>16|0)+(T(e,b&65535)+32768>>>16)|0}b=d;f=0-b|0;b=g>>31|1;j=(k|0)<((((j?0-b|0:b)|0)<0?f:d)|0);d=Wb(i+48|0);_:{if((h|0)>0){e=65536;if((a|0)!=65536){break _}}_b(i);_b(i+48|0);f=N[i>>2];b=f>>31;g=N[i+52>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;$:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break $}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+4>>2];b=f>>31;g=N[i+48>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;aa:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break aa}h=b&65535;b=T(h,a>>>16|0)+T(a,b>>>16|0)+(T(h,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=j?1:-1}if((d|0)>(aa|0)){break E}b=(Da|0)==1?0-a|0:a;a=T(p+ua|0,12)+ja|0;if(O[a+8|0]){f=N[a>>2];if((f|0)<=(d|0)){g=f-d|0;f=g>>31;if((f^g)-f>>>0>31){break E}L[i+8|0]=b;N[i>>2]=d;N[i+4>>2]=e;L[i+11|0]=0;L[i+9|0]=0;L[i+10|0]=0;N[i+56>>2]=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[i+48>>2]=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);N[i+52>>2]=b;d=N[i+52>>2];b=d>>31;d=(b^d)-b|0;b=e>>31;b=d>>>0>(b^e)-b>>>0?i+48|0:i;f=N[b+8>>2];N[i+40>>2]=f;d=N[b+4>>2];b=N[b>>2];N[i+32>>2]=b;N[i+36>>2]=d;N[a+8>>2]=f;N[a>>2]=b;N[a+4>>2]=d;break E}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0;break E}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0}p=p+1|0;if((ta|0)>(p|0)){continue}break}}y=y+1|0;if((sa|0)>(y|0)){continue}break}}l=N[l+36>>2];if(l){continue}break}}oa=N[oa+12>>2];if(oa){continue}break}}e=0;if((ka|0)<=0|(fa|0)<=0){break g}b=Ca?Ca>>31|1:-1;g=0;if(!Ga){while(1){p=T(g,fa);a=b;e=0;while(1){f=aa;S=e+p|0;d=T(S,12)+ja|0;c=O[d+8|0];if(c){a=N[d>>2];f=(a|0)<(aa|0)?a:aa;a=c}c=T(a<<24>>24,f);N[d>>2]=c;c=fb(c,aa);d=c>>31;d=(c^d)-d|0;f=d>>>9|0;d=(c|0)>0?d>>>0>65535?127:f:f;f=d&255;c=(c|0)<0;d=c?d>>>0>128?128:f:f;L[S+Ea|0]=(c?0-d|0:d)^128;e=e+1|0;if((fa|0)!=(e|0)){continue}break}g=g+1|0;if((ka|0)!=(g|0)){continue}break}e=0;break f}while(1){p=T(g,fa);a=b;e=0;while(1){f=aa;S=e+p|0;d=T(S,12)+ja|0;c=O[d+8|0];if(c){a=N[d>>2];f=(a|0)<(aa|0)?a:aa;a=c}c=0-T(a<<24>>24,f)|0;N[d>>2]=c;c=fb(c,aa);d=c>>31;d=(c^d)-d|0;f=d>>>9|0;d=(c|0)>0?d>>>0>65535?127:f:f;f=d&255;c=(c|0)<0;d=c?d>>>0>128?128:f:f;L[S+Ea|0]=(c?0-d|0:d)^128;e=e+1|0;if((fa|0)!=(e|0)){continue}break}g=g+1|0;if((ka|0)!=(g|0)){continue}break}e=0;break f}if(!ja){break a}}Qa[N[na+8>>2]](na,ja)}La=i- -64|0;return e}function oz(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,G=0,H=0;d=La-752|0;La=d;C(b,0,80);a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(N[a>>2]){case 0:e=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];m=XE(S[a+16>>3]*64);j:{if(V(m)<2147483648){f=~~m;break j}f=-2147483648}N[d+360>>2]=f;N[d+352>>2]=1;N[d+356>>2]=0;N[d+364>>2]=0;N[d+368>>2]=0;fg(e,d+352|0);f=N[a+8>>2];h=N[(f+(N[a+24>>2]<<2)|0)+68>>2];e=N[a+28>>2];c=N[c+88>>2];if(c>>>0<=2){c=N[(c<<2)+440376>>2]}else{c=2568}if(vc(h,e,c)){a=N[f+20>>2];N[d>>2]=e;mb(a,2,17123,d);break d}k:{l:{if(L[h+12|0]&1|Q[f+12>>2]<56){break l}e=N[h+84>>2];c=N[110093];N[d+360>>2]=N[110092];N[d+364>>2]=c;c=N[110091];N[d+352>>2]=N[110090];N[d+356>>2]=c;c=N[e+112>>2];if(!c){break l}e=M[e+110>>1];if((e|0)<=0){break l}e=(e<<3)+c|0;while(1){id(c,d+352|0);c=c+8|0;if(e>>>0>c>>>0){continue}break}e=N[f+8>>2];if(h){break k}break g}e=N[f+8>>2]}if(!(O[h+8|0]&8)){break g}g=N[h+96>>2];c=N[N[g>>2]+32>>2];if(!c){break g}c=Qa[c|0](g,16067)|0;if(!c){break g}g=Qa[N[c+4>>2]](h,2)|0;if(!g){break g}c=100;m:{n:{o:{p:{q:{r:{s:{t:{u:{g=P[g+4>>1];switch(g|0){case 9:break n;case 8:break o;case 7:break p;case 6:break q;case 5:break r;case 4:break s;case 3:break t;case 2:break u;case 1:break f;case 0:break g;default:break m}}c=200;break f}c=300;break f}c=350;break f}c=400;break f}c=600;break f}c=700;break f}c=800;break f}c=900;break f}c=g;break f;case 1:p=N[c>>2];c=N[a+8>>2];e=kb(800);N[b+20>>2]=e;a=kb(100);N[b+24>>2]=a;j=b+4|0;if(!(a?e:0)){_a(e);_a(a);N[j+16>>2]=0;N[j+20>>2]=0;N[j+8>>2]=0;N[j+12>>2]=0;N[j>>2]=0;N[j+4>>2]=0;break d}N[b+4>>2]=0;N[b+8>>2]=100;N[b+12>>2]=0;N[b+16>>2]=100;N[d+364>>2]=-2147483648;N[d+352>>2]=2147483647;N[d+356>>2]=2147483647;N[d+360>>2]=-2147483648;N[d+624>>2]=c;v:{if(!c){break v}h=O[c|0];if(!h){break v}e=-1;while(1){f=e;a=c;w:{if(!(!n|(h&255)!=99)){u=0;c=N[n+12>>2];if(!c|N[c>>2]!=5){break w}c=N[c+12>>2];if(!c|N[c>>2]!=5){break w}e=db(1,20);N[k+12>>2]=e;N[e>>2]=5;N[e+16>>2]=k;c=N[n+8>>2];N[e+4>>2]=N[n+4>>2];N[e+8>>2]=c;c=N[n+12>>2];h=db(1,20);N[e+12>>2]=h;N[h>>2]=5;N[h+16>>2]=e;e=N[c+8>>2];N[h+4>>2]=N[c+4>>2];N[h+8>>2]=e;e=N[c+12>>2];k=db(1,20);N[h+12>>2]=k;N[k>>2]=5;N[k+16>>2]=h;c=N[e+8>>2];N[k+4>>2]=N[e+4>>2];N[k+8>>2]=c;e=f;n=0;break w}x:{y:{z:{switch(u|0){case 0:m=pb(a,d+624|0);c=N[d+624>>2];if((c|0)==(a|0)){break y}a=c-1|0;N[d+624>>2]=a;u=1;m=XE(m*64);A:{if(V(m)<2147483648){i=~~m;break A}i=-2147483648}break w;case 1:break z;default:break y}}m=pb(a,d+624|0);c=N[d+624>>2];if((c|0)!=(a|0)){break x}}u=0;e=0;B:{switch(O[a|0]-98|0){case 12:e=1;break w;case 10:e=2;break w;case 0:e=3;break w;case 15:e=4;break w;case 17:e=5;break w;case 11:break w;default:break B}}e=f;break w}e=-1;a=c-1|0;N[d+624>>2]=a;m=XE(m*64);C:{if(V(m)<2147483648){c=~~m;break C}c=-2147483648}if((f|0)==-1){u=2;break w}u=0;e=0;l=db(1,20);h=l;if(g){N[k+12>>2]=l;N[l+16>>2]=k;h=g;e=k}N[l+4>>2]=i;N[l>>2]=f;N[l+8>>2]=c;c=(f|0)!=5|(n|0)!=0;n=c?n:e;e=c?f:5;g=h;k=l}c=a+1|0;N[d+624>>2]=c;h=O[a+1|0];if(h){continue}break}N[d+624>>2]=0;N[d+628>>2]=0;a=0;if(!g){c=1;break h}c=g;D:{E:{F:{G:{H:{while(1){I:{J:{K:{L:{M:{N:{O:{P:{switch(N[c>>2]){case 0:e=N[c+8>>2];f=N[c+4>>2];N[d+624>>2]=f;N[d+628>>2]=e;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(e|0)>(f|0)?f:e;f=N[d+364>>2];N[d+364>>2]=(e|0)<(f|0)?f:e;if(a&1){if(!Ho(j)){break E}a=N[b+12>>2];if(!a){break c}e=(a+N[b+24>>2]|0)-1|0;a=O[e|0];if(a>>>0>=4){break b}L[e|0]=a|4}a=0;c=N[c+12>>2];if(c){continue}break G;case 2:e=N[c+8>>2];f=N[c+4>>2];N[d+560>>2]=f;N[d+564>>2]=e;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(e|0)>(f|0)?f:e;f=N[d+364>>2];N[d+364>>2]=(e|0)<(f|0)?f:e;if(!(a&1)){a=N[d+628>>2];N[d+40>>2]=N[d+624>>2];N[d+44>>2]=a;if(!Fb(j,d+40|0,0)){break E}}a=N[d+564>>2];N[d+32>>2]=N[d+560>>2];N[d+36>>2]=a;if(!Fb(j,d+32|0,1)){break E}break J;case 5:e=N[c+12>>2];if(!e){break O}if(N[e>>2]!=5){break I}f=N[e+12>>2];if(!f|N[f>>2]!=5){break I}f=N[c+16>>2];if(f){break L}break I;case 1:break N;case 3:break P;default:break M}}e=N[c+12>>2];if(e){break K}}c=0;if(a&1){break H}break F}e=N[c+8>>2];f=N[c+4>>2];N[d+624>>2]=f;N[d+628>>2]=e;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(e|0)>(f|0)?f:e;f=N[d+364>>2];N[d+364>>2]=(e|0)<(f|0)?f:e}e=N[c+12>>2];break I}if(oo(j,d+352|0,N[f+4>>2],N[f+8>>2],N[f+12>>2],1,a&1)){break J}break E}if(N[e>>2]!=3){break I}f=N[e+12>>2];if(!f|N[f>>2]!=3){break I}f=N[c+16>>2];if(!f){break I}if(!oo(j,d+352|0,N[f+4>>2],N[f+8>>2],N[f+12>>2],0,a&1)){break E}a=1;e=N[N[N[c+12>>2]+12>>2]+12>>2];break I}a=1;e=N[c+12>>2]}c=e;if(c){continue}break}c=0;if(!(a&1)){break F}}if(!Ho(j)){break E}a=N[b+12>>2];if(!a){break c}c=(a+N[b+24>>2]|0)-1|0;a=O[c|0];if(a>>>0>=4){break D}L[c|0]=a|4}c=0}a=g;break h}while(1){a=N[g+12>>2];_a(g);g=a;if(a){continue}break}_a(N[b+20>>2]);_a(N[b+24>>2]);N[j+16>>2]=0;N[j+20>>2]=0;N[j+8>>2]=0;N[j+12>>2]=0;N[j>>2]=0;N[j+4>>2]=0;break d}break b}N[d+624>>2]=0;N[d+628>>2]=0;a=0;c=1;break h;case 3:a=kb(32);N[b+20>>2]=a;c=kb(4);N[b+24>>2]=c;if(!(c?a:0)){_a(a);_a(c);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break d}N[b+16>>2]=4;N[b+8>>2]=4;N[a>>2]=0;N[a+20>>2]=64;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=64;N[a+28>>2]=64;N[a+4>>2]=0;N[a+8>>2]=64;L[c|0]=1;L[c+1|0]=1;L[c+2|0]=1;L[c+3|0]=5;N[b+4>>2]=4;N[b+12>>2]=4;break e;case 2:break i;default:break d}}n=N[a+20>>2];if(!(n|N[a+24>>2])){break e}x=N[a+8>>2];z=N[x+4>>2];if(!z){break e}e=N[a+16>>2];h=N[a+12>>2];Q:{if((h|0)>0){l=h>>>0<32?268435455>>>h|0:0;break Q}h=(h|0)<=-32?-32:h;l=268435455}if((e|0)>0){k=e>>>0<32?268435455>>>e|0:0}else{e=(e|0)<=-32?-32:e;k=268435455}if(!l|!k){break d}R:{S:{T:{s=N[x+12>>2];if(s){if(z>>>0>536870911){break d}p=kb(z<<3);v=kb(s);if(!p|!v){break R}i=e+32|0;h=h+32|0;o=N[x+20>>2];e=0;while(1){f=e<<3;g=f+o|0;y=N[g>>2];j=y>>31;if((l|0)<((j^y)-j|0)){break R}j=N[g+4>>2];g=j>>31;if((k|0)<((g^j)-g|0)){break R}g=f+p|0;f=j>>31;r=j;w=i&31;if((i&63)>>>0>=32){j=r<>>32-w|f<>2]=j;f=y>>31;j=y;r=h&31;if((h&63)>>>0>=32){f=j<>>32-r|f<>2]=f;e=e+1|0;if((z|0)!=(e|0)){continue}break}F(v,N[x+24>>2],s);U:{i=z<<1;if(!i){break U}l=s<<1;if(!l){break U}f=b+28|0;g=b+4|0;V:{W:{X:{Y:{if(i>>>0<=536870911){e=N[a+24>>2];h=kb(z<<4);N[b+20>>2]=h;a=kb(l);N[b+24>>2]=a;if(a?h:0){break Y}_a(h);_a(a);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;a=1;break X}N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break W}N[b+4>>2]=0;N[b+16>>2]=l;N[b+8>>2]=i;N[b+12>>2]=0;a=0}k=kb(z<<4);N[b+44>>2]=k;h=kb(l);N[b+48>>2]=h;if(h?k:0){break V}_a(k);_a(h)}N[b+28>>2]=0;N[b+32>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;break T}N[b+28>>2]=0;N[b+40>>2]=l;N[b+32>>2]=i;N[b+36>>2]=0;if(a){break T}h=n<<4;e=e<<4;a=(e|0)<(h|0)?h:e;if(a-16>>>0<268435440){L[d+404|0]=1;N[d+360>>2]=0;N[d+364>>2]=0;N[d+356>>2]=f;N[d+352>>2]=g;S[d+376>>3]=e|0;S[d+368>>3]=h|0;t=16/+(a|0);S[d+480>>3]=t*.25;S[d+464>>3]=1-t;S[d+496>>3]=t*(t*390);q=t+1;S[d+488>>3]=q*(q*8);N[d+400>>2]=16;S[d+392>>3]=1/+(((e|0)<=16?16:e)|0);S[d+384>>3]=1/+(((h|0)<=16?16:h)|0);m=aa(t+t);S[d+504>>3]=m;S[d+472>>3]=q*-4*m+(t*8+1);a=0;Z:{while(1){g=p+(a<<3)|0;e=N[g>>2];f=e>>31;if((e^f)-f>>>0>268435455){break Z}e=N[g+4>>2];g=e>>31;if((e^g)-g>>>0>=268435456){break Z}a=a+1|0;if((z|0)!=(a|0)){continue}break}g=0;e=p;h=e;while(1){if((e|0)==(h|0)){a=N[e+4>>2];N[d+456>>2]=N[e>>2];N[d+460>>2]=a}a=O[g+v|0];f=a&3;e=(f<<3)+e|0;y=a&4;a=y?h:e;_:{$:{switch(f-1|0){case 1:f=a;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);f=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);i=f;k=a;N[d+520>>2]=a;N[d+524>>2]=f;a=e-8|0;f=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);x=f-N[d+460>>2]|0;n=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);o=n-N[d+456>>2]|0;w=N[d+400>>2];l=0-w|0;if(!((o|0)<=(l|0)|(o|0)>=(w|0)|((w|0)<=(x|0)|(l|0)>=(x|0)))){a=N[d+524>>2];N[d+264>>2]=N[d+520>>2];N[d+268>>2]=a;if(Wd(d+352|0,d+264|0)){break _}break T}r=i-f|0;j=k-n|0;if(!((j|0)<=(l|0)|(j|0)>=(w|0)|((l|0)>=(r|0)|(r|0)>=(w|0)))){a=N[d+524>>2];N[d+272>>2]=N[d+520>>2];N[d+276>>2]=a;if(Wd(d+352|0,d+272|0)){break _}break T}a=N[d+456>>2];l=N[d+460>>2];N[d+456>>2]=k;N[d+460>>2]=i;N[d+544>>2]=k;N[d+548>>2]=i;N[d+528>>2]=a;N[d+532>>2]=l;N[d+536>>2]=n;N[d+540>>2]=f;q=S[d+384>>3];A=q*+(0-o|0);S[d+568>>3]=A;m=S[d+392>>3];D=m*+(x|0);S[d+560>>3]=D;t=m*+(r|0);S[d+576>>3]=t;q=q*+(0-j|0);S[d+584>>3]=q;m=aa(D*D+A*A);S[d+640>>3]=m;m=1/m;S[d+632>>3]=A*m;S[d+624>>3]=D*m;m=aa(t*t+q*q);S[d+664>>3]=m;m=1/m;S[d+656>>3]=q*m;S[d+648>>3]=t*m;f=O[d+404|0];N[d+296>>2]=a;N[d+300>>2]=l;a=N[d+636>>2];N[d+288>>2]=N[d+632>>2];N[d+292>>2]=a;a=N[d+628>>2];N[d+280>>2]=N[d+624>>2];N[d+284>>2]=a;if(!ye(d+352|0,d+296|0,d+280|0,3)){break T}if(yi(d+352|0,d+528|0,d+560|0,d+624|0,3,(f|0)!=0)){break _}break T;case 2:f=a;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);f=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);i=f;l=a;N[d+520>>2]=a;N[d+524>>2]=f;a=e-8|0;k=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);w=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);G=9;aa:{a=e-16|0;x=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);r=N[d+456>>2];n=x-r|0;E=N[d+400>>2];H=0-E|0;f=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);a=N[d+460>>2];o=f-a|0;j=(n|0)>(H|0)&(n|0)<(E|0)&(H|0)<(o|0)&(o|0)<(E|0);if(!j){break aa}o=k-a|0;G=8;n=w-r|0;if((H|0)>=(n|0)|(n|0)>=(E|0)|((o|0)<=(H|0)|(o|0)>=(E|0))){break aa}a=N[d+524>>2];N[d+304>>2]=N[d+520>>2];N[d+308>>2]=a;if(Wd(d+352|0,d+304|0)){break _}break T}a=i;u=a-k|0;ba:{r=l-w|0;if((H|0)>=(r|0)|(r|0)>=(E|0)|((u|0)<=(H|0)|(u|0)>=(E|0))){break ba}u=a-f|0;r=l-x|0;if(!((H|0)>=(r|0)|(r|0)>=(E|0)|((u|0)<=(H|0)|(u|0)>=(E|0)))){a=N[d+524>>2];N[d+312>>2]=N[d+520>>2];N[d+316>>2]=a;if(Wd(d+352|0,d+312|0)){break _}break T}G=13;if(!j){break ba}a=N[d+524>>2];N[d+320>>2]=N[d+520>>2];N[d+324>>2]=a;if(Wd(d+352|0,d+320|0)){break _}break T}N[d+552>>2]=l;N[d+556>>2]=i;a=N[d+460>>2];N[d+528>>2]=N[d+456>>2];N[d+532>>2]=a;N[d+544>>2]=w;N[d+548>>2]=k;N[d+536>>2]=x;N[d+540>>2]=f;N[d+456>>2]=l;N[d+460>>2]=i;a=d+528|0;i=a+((G&3)<<3)|0;k=N[i+4>>2];f=a+(G<<1&24)|0;a=N[f+4>>2];q=S[d+384>>3];S[d+648>>3]=q*+(N[i>>2]-N[f>>2]|0);m=S[d+392>>3];S[d+640>>3]=m*+(a-k|0);A=q*+(0-n|0);S[d+632>>3]=A;D=m*+(o|0);S[d+624>>3]=D;t=m*+(u|0);S[d+656>>3]=t;q=q*+(0-r|0);S[d+664>>3]=q;m=aa(D*D+A*A);S[d+576>>3]=m;m=1/m;S[d+568>>3]=A*m;S[d+560>>3]=D*m;m=aa(t*t+q*q);S[d+600>>3]=m;m=1/m;S[d+592>>3]=q*m;S[d+584>>3]=t*m;f=O[d+404|0];a=N[d+532>>2];N[d+344>>2]=N[d+528>>2];N[d+348>>2]=a;a=N[d+572>>2];N[d+336>>2]=N[d+568>>2];N[d+340>>2]=a;a=N[d+564>>2];N[d+328>>2]=N[d+560>>2];N[d+332>>2]=a;if(!ye(d+352|0,d+344|0,d+328|0,3)){break T}if(!hf(d+352|0,d+528|0,d+624|0,d+560|0,3,(f|0)!=0)){break T}break _;case 0:break $;default:break T}}f=N[a+4>>2];N[d+256>>2]=N[a>>2];N[d+260>>2]=f;if(!Wd(d+352|0,d+256|0)){break T}}h=y?e:h;o=(h|0)!=(e|0);if(!o){j=O[d+404|0];ca:{if(j){a=N[d+460>>2];N[d+528>>2]=N[d+456>>2];N[d+532>>2]=a;q=0;m=1;a=15;t=S[d+472>>3];if(t>0){while(1){da:{q=q+1;m=.7071067811865476/aa(q);S[(d+624|0)+(a<<3)>>3]=m;a=a-1|0;q=q*m;if(!(t>q)){break da}if(a){continue}}break}m=q+1}r=(d+624|0)+(a<<3)|0;S[r>>3]=1/m;N[d+240>>2]=0;N[d+244>>2]=0;N[d+608>>2]=0;N[d+612>>2]=0;N[d+600>>2]=0;N[d+604>>2]=0;N[d+576>>2]=0;N[d+580>>2]=0;N[d+616>>2]=0;N[d+620>>2]=-1074790400;N[d+592>>2]=0;N[d+596>>2]=-1074790400;N[d+584>>2]=0;N[d+588>>2]=1072693248;N[d+232>>2]=0;N[d+236>>2]=1072693248;f=N[d+532>>2];N[d+248>>2]=N[d+528>>2];N[d+252>>2]=f;N[d+568>>2]=0;N[d+572>>2]=0;N[d+560>>2]=0;N[d+564>>2]=1072693248;f=N[d+588>>2];N[d+224>>2]=N[d+584>>2];N[d+228>>2]=f;f=N[d+580>>2];N[d+216>>2]=N[d+576>>2];N[d+220>>2]=f;n=15-a|0;if(!Bd(d+352|0,d+248|0,d+232|0,d+216|0,r,n,1)){break T}a=N[d+532>>2];N[d+208>>2]=N[d+528>>2];N[d+212>>2]=a;a=N[d+588>>2];N[d+200>>2]=N[d+584>>2];N[d+204>>2]=a;a=N[d+580>>2];N[d+192>>2]=N[d+576>>2];N[d+196>>2]=a;a=N[d+604>>2];N[d+184>>2]=N[d+600>>2];N[d+188>>2]=a;a=N[d+596>>2];N[d+176>>2]=N[d+592>>2];N[d+180>>2]=a;if(!Bd(d+352|0,d+208|0,d+192|0,d+176|0,r,n,1)){break T}a=N[d+532>>2];N[d+168>>2]=N[d+528>>2];N[d+172>>2]=a;a=N[d+604>>2];N[d+160>>2]=N[d+600>>2];N[d+164>>2]=a;a=N[d+596>>2];N[d+152>>2]=N[d+592>>2];N[d+156>>2]=a;a=N[d+620>>2];N[d+144>>2]=N[d+616>>2];N[d+148>>2]=a;a=N[d+612>>2];N[d+136>>2]=N[d+608>>2];N[d+140>>2]=a;if(!Bd(d+352|0,d+168|0,d+152|0,d+136|0,r,n,1)){break T}a=N[d+532>>2];N[d+128>>2]=N[d+528>>2];N[d+132>>2]=a;l=N[d+616>>2];i=N[d+620>>2];k=N[d+608>>2];f=N[d+612>>2];a=N[d+572>>2];N[d+104>>2]=N[d+568>>2];N[d+108>>2]=a;N[d+120>>2]=l;N[d+124>>2]=i;a=N[d+564>>2];N[d+96>>2]=N[d+560>>2];N[d+100>>2]=a;N[d+112>>2]=k;N[d+116>>2]=f;if(Bd(d+352|0,d+128|0,d+112|0,d+96|0,r,n,1)){break ca}break T}a=N[d+452>>2];N[d+88>>2]=N[d+448>>2];N[d+92>>2]=a;if(!Wd(d+352|0,d+88|0)){break T}a=N[d+452>>2];N[d+80>>2]=N[d+448>>2];N[d+84>>2]=a;a=N[d+428>>2];N[d+72>>2]=N[d+424>>2];N[d+76>>2]=a;a=N[d+420>>2];N[d+64>>2]=N[d+416>>2];N[d+68>>2]=a;if(!ye(d+352|0,d+80|0,d- -64|0,3)){break T}n=N[d+408>>2]&(N[d+412>>2]^-1);m=S[d+424>>3]*S[d+376>>3];ea:{if(V(m)<2147483648){f=~~m;break ea}f=-2147483648}k=n&1;m=S[d+416>>3]*S[d+368>>3];fa:{if(V(m)<2147483648){a=~~m;break fa}a=-2147483648}l=N[d+452>>2];i=N[d+448>>2];if(k){N[d+628>>2]=f+l;N[d+624>>2]=a+i;k=N[d+628>>2];N[d+56>>2]=N[d+624>>2];N[d+60>>2]=k;if(!Fb(N[d+352>>2],d+56|0,1)){break T}}if((n&3)>>>0>=2){N[d+628>>2]=l-f;N[d+624>>2]=i-a;a=N[d+628>>2];N[d+48>>2]=N[d+624>>2];N[d+52>>2]=a;if(!Fb(N[d+356>>2],d+48|0,1)){break T}}q=S[d+432>>3];m=S[d+440>>3];ga:{if(q==S[d+416>>3]&m==S[d+424>>3]){break ga}n=(N[d+412>>2]^-1)&(N[d+408>>2]^-1);m=m*S[d+376>>3];ha:{if(V(m)<2147483648){f=~~m;break ha}f=-2147483648}k=n&1;m=q*S[d+368>>3];ia:{if(V(m)<2147483648){a=~~m;break ia}a=-2147483648}l=N[d+452>>2];i=N[d+448>>2];if(k){k=N[N[d+352>>2]+16>>2]+(N[d+360>>2]<<3)|0;N[k+4>>2]=f+l;N[k>>2]=a+i}if((n&3)>>>0<2){break ga}k=N[N[d+356>>2]+16>>2]+(N[d+364>>2]<<3)|0;N[k+4>>2]=l-f;N[k>>2]=i-a}L[d+404|0]=1}ja:{f=N[d+352>>2];a=N[f+8>>2];if(a){f=(a+N[f+20>>2]|0)-1|0;a=O[f|0];if(a>>>0>=4){break b}L[f|0]=a|4;if(!j){f=N[d+356>>2];a=N[f+8>>2];if(!a){break c}f=(a+N[f+20>>2]|0)-1|0;a=O[f|0];if(a>>>0>=4){break ja}L[f|0]=a|4}N[d+360>>2]=N[N[d+352>>2]>>2];N[d+364>>2]=N[N[d+356>>2]>>2];g=g+1|0;if((s|0)!=(g|0)){continue}if((p+(z<<3)|0)!=(e|0)|o){break S}_a(p);_a(v);break e}break c}break b}g=g+1|0;if((s|0)!=(g|0)){continue}break}break S}ba(18838,18249,1523,16088);B()}ba(18805,18249,1498,16088);B()}break a}break a}mb(N[c>>2],2,15719,0);_a(N[b+20>>2]);_a(N[b+24>>2]);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;_a(N[b+44>>2]);_a(N[b+48>>2]);N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;break R}ba(9970,18249,1563,16088);B()}_a(p);_a(v);break d}if(p){e=N[b+4>>2];N[d+20>>2]=N[b+12>>2];N[d+16>>2]=e;mb(p,6,10236,d+16|0)}if(!c){while(1){c=N[a+12>>2];_a(a);a=c;if(a){continue}break}}N[b+68>>2]=N[d+360>>2]-N[d+352>>2];c=N[d+356>>2];a=N[d+364>>2];N[b+76>>2]=0;N[b+72>>2]=a-c;break e}c=O[h+12|0]&2?700:400}ka:{if(c+150>>>0>=e>>>0){break ka}c=N[h+84>>2];if(N[c+72>>2]!=1869968492){break ka}e=c+108|0;c=N[c+4>>2];f=N[N[c+88>>2]+20>>2];g=f>>31;c=P[c+68>>1];g=(f^g)-g|0;la:{if(c+(g>>>8|0)>>>0<=8190){c=T(c,g)+32768>>>16|0;break la}c=T(c,g>>>16|0)+(T(c,g&65535)+32768>>>16|0)|0}c=(((f|0)<0?0-c|0:c)|0)/64|0;mn(e,c,c)}s=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];c=N[s+84>>2];h=N[N[s+88>>2]+20>>2];o=N[a+40>>2];r=o&4;if(r){p=N[c+60>>2]+512>>10}else{p=N[c+64>>2]}N[b+68>>2]=p;ma:{if(!(O[s+8|0]&8)|(!(o&1)|(p|0)<=0)){break ma}e=N[s+96>>2];c=N[N[e>>2]+32>>2];if(!c){break ma}c=Qa[c|0](e,16067)|0;if(!c){break ma}c=Qa[N[c+4>>2]](s,5)|0;if(!c){break ma}g=M[c+8>>1];e=g>>31;if(!!g&(e|0)>=0|(e|0)>0){break ma}c=M[c+10>>1];if((c|0)<=0){break ma}j=h>>31;c=UE(h,j,c&65535,0);l=Pa;k=c+32768|0;l=k>>>0<32768?l+1|0:l;c=l;e=UE(g,e,h,j);g=Pa;f=c>>17;e=e+32768|0;g=e>>>0<32768?g+1|0:g;l=g>>16;g=(g&65535)<<16|e>>>16;i=((c&131071)<<15|k>>>17)+g|0;e=f+l|0;e=g>>>0>i>>>0?e+1|0:e;g=e;if(i>>>0>268435455&(e|0)>=0|(e|0)>0){break ma}e=c>>16;f=(c&65535)<<16|k>>>16;c=f-i|0;e=e-((f>>>0>>0)+g|0)|0;if(c>>>0>268435455&(e|0)>=0|(e|0)>0){break ma}N[d+356>>2]=c;N[d+352>>2]=0-i;u=1}na:{if(!(O[s+8|0]&8)|(!(o&2)|(p|0)<=0)){break na}e=N[s+96>>2];c=N[N[e>>2]+32>>2];if(!c){break na}c=Qa[c|0](e,16067)|0;if(!c){break na}c=Qa[N[c+4>>2]](s,2)|0;if(!c){break na}j=M[c+28>>1];if((j|0)<0){break na}c=M[c+26>>1];if((c|0)<=0){break na}i=h>>31;c=UE(h,i,c&65535,0);f=Pa;k=c+32768|0;f=k>>>0<32768?f+1|0:f;l=(f&131071)<<15|k>>>17;g=f>>17;e=UE(j&65535,0,h,i);c=Pa;i=e+32768|0;c=i>>>0<32768?c+1|0:c;e=c>>16;i=(c&65535)<<16|i>>>16;c=i+l|0;g=e+g|0;g=c>>>0>>0?g+1|0:g;e=g;i=c;if(c>>>0>268435455&(e|0)>=0|(e|0)>0){break na}g=f>>16;f=(f&65535)<<16|k>>>16;c=f-i|0;e=g-((f>>>0>>0)+e|0)|0;if(c>>>0>268435455&(e|0)>=0|(e|0)>0){break na}e=d+352|u<<3;N[e+4>>2]=c;N[e>>2]=0-i;u=u+1|0}oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{v=N[s+84>>2];if(N[v+72>>2]==1869968492){e=M[v+110>>1];if(!(u|e)){N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break oa}c=u<<2;g=c+(e<<1)|0;if(!g){break a}e=c+e|0;if(!e){break a}if(g>>>0<=536870911){c=kb(g<<3);N[b+20>>2]=c;i=kb(e);N[b+24>>2]=i;Ca:{if(!(i?c:0)){_a(c);break Ca}N[b+4>>2]=0;N[b+16>>2]=e;N[b+8>>2]=g;N[b+12>>2]=0;Da:{w=v+108|0;n=M[w>>1];if((n|0)>0){i=0;while(1){g=M[N[v+120>>2]+(G<<1)>>1];if((i|0)>(g|0)|M[v+110>>1]<=(g|0)){break Da}Ea:{if((g-i|0)<=1){i=g+1|0;break Ea}e=N[v+112>>2];k=i<<3;c=e+k|0;j=N[c>>2];f=j>>31;if((f^j)-f>>>0>268435455){break Da}l=N[c+4>>2];c=l>>31;if((c^l)-c>>>0>268435455){break Da}x=0;o=0;Fa:{Ga:{f=N[v+116>>2];switch(O[f+i|0]&3){case 1:break Fa;case 0:break Ga;default:break Da}}c=e+(g<<3)|0;n=N[c>>2];e=n>>31;if((e^n)-e>>>0>268435455){break Da}e=N[c+4>>2];c=e>>31;if((c^e)-c>>>0>268435455){break Da}e=0-e|0;Ha:{Ia:{Ja:{x=O[f+g|0]&3;switch(x|0){case 0:break Ia;case 1:break Ja;default:break Da}}g=g-1|0;break Ha}e=e-l>>1;n=j+n>>1}c=N[b+4>>2];if(c>>>0>=Q[b+8>>2]){break Ba}o=1;N[b+4>>2]=c+1;c=N[b+20>>2]+(c<<3)|0;N[c+4>>2]=e;N[c>>2]=n}f=N[b+4>>2];if(f>>>0>=Q[b+8>>2]){break Aa}c=k+N[v+112>>2]|0;k=N[c>>2];e=N[c+4>>2];N[b+4>>2]=f+1;c=N[b+20>>2]+(f<<3)|0;e=0-e|0;N[c+4>>2]=e;N[c>>2]=k;n=i+1|0;if((g|0)>(i|0)){c=g+1|0;while(1){y=n<<3;i=y+N[v+112>>2]|0;f=N[i>>2];l=f>>31;if((f^l)-l>>>0>268435455){break Da}f=N[i+4>>2];i=f>>31;if((f^i)-i>>>0>268435455){break Da}Ka:{La:{switch(O[N[v+116>>2]+n|0]&3){case 1:k=1;Ma:{Na:{switch(o|0){case 1:k=2;break Ma;case 0:break Ma;case 3:break Na;default:break Da}}k=3}e=N[b+12>>2];if(e>>>0>=Q[b+16>>2]){break za}N[b+12>>2]=e+1;L[e+N[b+24>>2]|0]=k;i=0;break Ka;case 0:i=1;Oa:{switch(o|0){case 0:break Ka;case 1:break Oa;default:break Da}}f=N[b+12>>2];if(f>>>0>=Q[b+16>>2]){break ya}N[b+12>>2]=f+1;L[f+N[b+24>>2]|0]=2;o=N[b+4>>2];if(o>>>0>=Q[b+8>>2]){break xa}f=y+N[v+112>>2]|0;j=N[f>>2];l=N[f+4>>2];N[b+4>>2]=o+1;f=N[b+20>>2]+(o<<3)|0;N[f+4>>2]=e-l>>1;N[f>>2]=j+k>>1;break Ka;case 2:break La;default:break Da}}i=2;Pa:{switch(o|0){case 0:break Ka;case 2:break Pa;default:break Da}}i=3}f=N[b+4>>2];if(f>>>0>=Q[b+8>>2]){break wa}e=y+N[v+112>>2]|0;k=N[e>>2];e=N[e+4>>2];N[b+4>>2]=f+1;f=N[b+20>>2]+(f<<3)|0;e=0-e|0;N[f+4>>2]=e;N[f>>2]=k;f=(g|0)!=(n|0);n=n+1|0;o=i;if(f){continue}break}n=c}i=5;Qa:{Ra:{switch(o|0){case 1:i=6;break Qa;case 0:break Qa;case 3:break Ra;default:break Da}}i=7}c=N[b+12>>2];if(c>>>0>=Q[b+16>>2]){break va}N[b+12>>2]=c+1;L[c+N[b+24>>2]|0]=i;i=n+x|0;n=P[w>>1]}G=G+1|0;if((G|0)>16){continue}break}}Sa:{if(!r){break Sa}k=0;c=0;Ta:{if(!s|!(O[s+8|0]&8)){break Ta}g=N[s+96>>2];e=N[N[g>>2]+32>>2];if(!e){break Ta}e=Qa[e|0](g,16067)|0;if(!e){break Ta}e=Qa[N[e+4>>2]](s,2)|0;if(!e){break Ta}c=M[e+72>>1];c=UE(c,c>>31,h,h>>31);j=Pa;e=c+32768|0;j=e>>>0<32768?j+1|0:j;k=(j&65535)<<16|e>>>16;c=j>>16;g=c>>31;f=g;e=k^f;g=e-f|0;e=(c^f)-((e>>>0>>0)+f|0)|0;if(!e&g>>>0>536870910|e){break Da}}g=N[N[s+84>>2]+52>>2];f=g;e=f+k|0;g=(f>>31)+c|0;c=e;g=c>>>0>>0?g+1|0:g;e=g>>31;h=c^e;f=h-e|0;e=(e^g)-((h>>>0>>0)+e|0)|0;if(!e&f>>>0>536870910|e){break Da}g=c;c=c>>31;if((g^c)-c>>>0>=1879048193){break ua}if(!N[b+4>>2]){break Sa}c=k;e=0;while(1){i=N[b+20>>2]+(e<<3)|0;k=g+N[i+4>>2]|0;f=k>>31;if((f^k)-f>>>0>268435455){break Da}h=c+N[i>>2]|0;f=h>>31;if((f^h)-f>>>0>268435455){break Da}N[i>>2]=k;N[i+4>>2]=0-h;e=e+1|0;if(e>>>0>2]){continue}break}}if(!u){break oa}h=eg(w);f=N[b+4>>2];g=f+4|0;if(g>>>0>Q[b+8>>2]){break ta}o=N[b+12>>2];e=o+4|0;if(e>>>0>Q[b+16>>2]){break sa}i=(h|0)!=0;j=N[(d+352|i<<2)>>2];c=j>>31;if((c^j)-c>>>0>=268435456){break ra}c=p>>31;k=(c^p)-c|0;if(k>>>0>268435455){break qa}h=!h;l=N[(d+352|h<<2)>>2];c=l>>31;if((c^l)-c>>>0>=268435456){break qa}c=N[b+24>>2];if(O[(c+o|0)-1|0]&4?0:o){break pa}f=N[b+20>>2]+(f<<3)|0;N[f+4>>2]=j;N[f>>2]=0;N[f+16>>2]=p;N[f+8>>2]=p;N[f+12>>2]=j;N[f+24>>2]=0;N[f+28>>2]=l;N[f+20>>2]=l;N[b+4>>2]=g;L[c+o|0]=1;L[(o+N[b+24>>2]|0)+1|0]=1;L[(o+N[b+24>>2]|0)+2|0]=1;L[(o+N[b+24>>2]|0)+3|0]=5;N[b+12>>2]=e;if((u|0)==1){break oa}f=N[b+4>>2];g=f+4|0;if(g>>>0>Q[b+8>>2]){break ta}j=N[b+12>>2];e=j+4|0;if(e>>>0>Q[b+16>>2]){break sa}c=d+352|8;l=N[(c|i<<2)>>2];i=l>>31;if((i^l)-i>>>0>268435455){break ra}if(k>>>0>268435455){break qa}h=N[(c|h<<2)>>2];c=h>>31;if((c^h)-c>>>0>268435455){break qa}c=N[b+24>>2];if(O[(c+j|0)-1|0]&4?0:j){break pa}f=N[b+20>>2]+(f<<3)|0;N[f+4>>2]=l;N[f>>2]=0;N[f+16>>2]=p;N[f+8>>2]=p;N[f+12>>2]=l;N[f+24>>2]=0;N[f+28>>2]=h;N[f+20>>2]=h;N[b+4>>2]=g;L[c+j|0]=1;L[(j+N[b+24>>2]|0)+1|0]=1;L[(j+N[b+24>>2]|0)+2|0]=1;L[(j+N[b+24>>2]|0)+3|0]=5;N[b+12>>2]=e;break oa}_a(N[b+20>>2]);i=N[b+24>>2]}_a(i)}N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break d}ba(20184,17934,742,15697);B()}ba(9900,18249,137,8782);B()}ba(9900,18249,147,8782);B()}ba(10145,18249,171,8782);B()}ba(10145,18249,183,8782);B()}ba(9900,18249,187,8782);B()}ba(9900,18249,216,8782);B()}ba(10145,18249,236,8782);B()}ba(19015,18249,331,21921);B()}ba(9855,18249,251,9621);B()}ba(10096,18249,252,9621);B()}ba(18966,18249,253,9621);B()}ba(18917,18249,254,9621);B()}ba(23976,18249,256,9621);B()}g=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];f=N[N[g+88>>2]+20>>2];c=f>>31;e=M[g+70>>1];a=e>>31;h=(c^f)-c|0;c=h>>>8|0;a=(a^e)-a|0;Ua:{if(c+a>>>0<=8190){i=T(a,h)+32768>>>16|0;break Ua}i=T(a,h>>>16|0)+(T(a,h&65535)+32768>>>16|0)|0}a=i;k=0-a|0;a=e>>31|1;N[b+72>>2]=(((f|0)<0?0-a|0:a)|0)<0?k:i;e=M[g+72>>1];a=e>>31;a=(a^e)-a|0;Va:{if(a+c>>>0<=8190){c=T(a,h)+32768>>>16|0;break Va}c=T(a,h>>>16|0)+(T(a,h&65535)+32768>>>16|0)|0}a=c;g=0-a|0;a=(e|0)<=0?1:-1;N[b+76>>2]=(((f|0)<0?0-a|0:a)|0)<0?g:c}e=2147483647;N[b+52>>2]=2147483647;h=-2147483648;N[b- -64>>2]=-2147483648;N[b+56>>2]=2147483647;N[b+60>>2]=-2147483648;a=-2147483648;c=2147483647;g=N[b+4>>2];if(g){n=N[b+20>>2];Wa:{Xa:{if((g|0)==1){o=0;break Xa}l=g&1;o=g&-2;i=0;while(1){g=i<<3;k=g+n|0;j=N[k+4>>2];f=(h|0)>(j|0)?h:j;g=n+(g|8)|0;p=N[g+4>>2];h=(f|0)>(p|0)?f:p;f=N[k>>2];a=(a|0)>(f|0)?a:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(j|0)?e:j;e=(e|0)<(p|0)?e:p;c=(c|0)<(f|0)?c:f;c=(c|0)<(g|0)?c:g;i=i+2|0;if((i|0)!=(o|0)){continue}break}if(!l){break Wa}}g=n+(o<<3)|0;f=N[g+4>>2];h=(f|0)<(h|0)?h:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(f|0)?e:f;c=(c|0)<(g|0)?c:g}N[b+64>>2]=h;N[b+60>>2]=a;N[b+56>>2]=e;N[b+52>>2]=c}g=N[b+28>>2];if(g){n=N[b+44>>2];o=0;Ya:{if((g|0)!=1){l=g&1;o=g&-2;i=0;while(1){g=i<<3;k=g+n|0;j=N[k+4>>2];f=(h|0)>(j|0)?h:j;g=n+(g|8)|0;p=N[g+4>>2];h=(f|0)>(p|0)?f:p;f=N[k>>2];a=(a|0)>(f|0)?a:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(j|0)?e:j;e=(e|0)<(p|0)?e:p;c=(c|0)<(f|0)?c:f;c=(c|0)<(g|0)?c:g;i=i+2|0;if((i|0)!=(o|0)){continue}break}if(!l){break Ya}}g=n+(o<<3)|0;f=N[g+4>>2];h=(f|0)<(h|0)?h:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(f|0)?e:f;c=(c|0)<(g|0)?c:g}N[b+64>>2]=h;N[b+60>>2]=a;N[b+56>>2]=e;N[b+52>>2]=c}if(!((e|0)<=(h|0)&(a|0)>=(c|0))){N[b+52>>2]=0;N[b+56>>2]=0;N[b+60>>2]=0;N[b+64>>2]=0}L[b|0]=1}La=d+752|0;return 1}ba(10216,18249,320,11772);B()}ba(23825,18249,321,11772);B()}ba(10189,18249,45,17699);B()}function Gw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0;w=La-16|0;La=w;g=11;l=N[b+96>>2];k=N[l+4>>2];a:{if(!k){break a}j=N[k+16>>2];if((j|0)<=0){break a}h=k+20|0;o=h+(j<<2)|0;f=h;while(1){s=N[N[f>>2]>>2];if(cb(N[s+8>>2],9195)){f=f+4|0;if(o>>>0>f>>>0){continue}break a}break}s=N[s+20>>2];if(!s){break a}b:{if(!l){break b}o=k;f=N[N[l>>2]+32>>2];if(f){x=Qa[f|0](l,10566)|0;if(x){break b}o=N[l+4>>2];j=N[o+16>>2]}x=0;if((j|0)<=0){break b}f=o+20|0;j=f+(j<<2)|0;while(1){o=N[f>>2];c:{if((o|0)==(l|0)){break c}v=N[N[o>>2]+32>>2];if(!v){break c}x=Qa[v|0](o,10566)|0;if(x){break b}}f=f+4|0;if(j>>>0>f>>>0){continue}break}x=0}l=N[k+16>>2];if((l|0)<=0){break a}o=(l<<2)+h|0;f=h;d:{e:{while(1){j=N[N[f>>2]>>2];if(!cb(N[j+8>>2],11971)){break e}f=f+4|0;if(o>>>0>f>>>0){continue}break}f=0;break d}f=N[j+20>>2]}if((l|0)<=0){break a}B=f;while(1){f=N[N[h>>2]>>2];if(cb(N[f+8>>2],7988)){h=h+4|0;if(o>>>0>h>>>0){continue}break a}break}f=N[f+20>>2];if(!f){break a}N[b+556>>2]=f;h=N[b+96>>2];f:{g:{if(!h){break g}f=N[N[h>>2]+32>>2];if(f){o=Qa[f|0](h,16921)|0;if(o){break f}}f=N[h+4>>2];g=N[f+16>>2];if((g|0)<=0){break g}f=f+20|0;l=f+(g<<2)|0;while(1){g=N[f>>2];h:{if((g|0)==(h|0)){break h}o=N[N[g>>2]+32>>2];if(!o){break h}o=Qa[o|0](g,16921)|0;if(o){break f}}f=f+4|0;if(l>>>0>f>>>0){continue}break}}o=0}f=N[a+20>>2];if(f){g=85;if(Qa[f|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;E=Qa[N[s+4>>2]](a,b,c,d,e)|0;i:{if(!E){g=2;if(N[b+148>>2]!=1330926671){break a}g=0;if((c|0)<0){break a}f=0;j:{if(!(Qa[N[b+516>>2]](b,1751474532,a,0)|0)){g=Qa[N[s+8>>2]](a,b,c,d,e)|0;if(!g){break j}break a}g=Qa[N[s+32>>2]](b,a)|0;if(g){break a}f=1}g=Qa[N[b+516>>2]](b,1128678962,a,0)|0;if(!g){L[b+732|0]=1;s=1;break i}if((g&255)!=142){break a}g=Qa[N[b+516>>2]](b,1128678944,a,0)|0;s=0;if(!g){break i}break a}d=N[a+20>>2];if(d){g=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;f=1;s=0}y=N[b+100>>2];i=Qa[N[y+4>>2]](y,3136)|0;if(!i){g=64;break a}C(i,0,3136);N[b+712>>2]=i;v=c;l=b;b=f;q=La-80|0;La=q;p=N[a+28>>2];C(i,0,3136);N[q+72>>2]=0;c=q- -64|0;N[c>>2]=0;N[c+4>>2]=0;N[q+56>>2]=0;N[q+60>>2]=0;N[q+48>>2]=0;N[q+52>>2]=0;N[q+40>>2]=0;N[q+44>>2]=0;r=N[a+8>>2];L[i+32|0]=s;N[i+8>>2]=p;N[i+4>>2]=a;N[i>>2]=k;N[i+12>>2]=r;f=rb(a,33568,i);k:{if(f){break k}l:{m:{n:{if(s){f=2;if(O[i+24|0]!=2|O[i+26|0]<5){break k}o:{p:{q:{f=N[a+8>>2];if(Q[a+4>>2]<=f+1>>>0){break q}c=N[a+20>>2];r:{if(c){if((Qa[c|0](a,f,q+4|0,2)|0)!=2){break q}f=N[a+8>>2];c=q+4|0;break r}c=N[a>>2];if(!c){break p}c=c+f|0}c=O[c+1|0]|O[c|0]<<8;break o}N[i+28>>2]=0;f=85;break k}c=0}N[a+8>>2]=f+2;N[i+28>>2]=c;h=O[i+26|0];break n}L[q+4|0]=0;f=N[a+8>>2];c=N[a+20>>2];s:{if(c){if((Qa[c|0](a,f,q+4|0,1)|0)!=1){break m}f=N[a+8>>2];c=q+4|0;break s}if(Q[a+4>>2]<=f>>>0){break m}c=N[a>>2]+f|0}c=O[c|0];N[a+8>>2]=f+1;f=2;if(O[i+24|0]!=1){break k}h=O[i+26|0];if(h>>>0<4|c>>>0>4){break k}}c=r+(h&255)|0;d=N[a+20>>2];t:{if(d){if(Qa[d|0](a,c,0,0)|0){break t}break l}if(c>>>0<=Q[a+4>>2]){break l}}f=b?2:85;break k}f=85;break k}N[a+8>>2]=c;u:{if(s){N[i+1240>>2]=0;N[i+1244>>2]=0;h=0;N[i+1272>>2]=0;c=i+1264|0;N[c>>2]=0;N[c+4>>2]=0;d=i+1256|0;N[d>>2]=0;N[d+4>>2]=0;d=i+1248|0;N[d>>2]=0;N[d+4>>2]=0;N[i+1260>>2]=N[a+8>>2];d=c;c=N[i+28>>2];N[d>>2]=c;f=Xc(a,c);if(f){break k}f=zd(i+108|0,a,1,1);if(!f){break u}break k}c=zd(i+36|0,a,0,0);if(c){f=b?2:c;break k}c=N[i+48>>2];if(!(c>>>0<2|c>>>0<=Q[i+60>>2])){f=b?2:3;break k}f=zd(i+1240|0,a,0,0);if(f){break k}f=zd(q+40|0,a,1,0);if(f){break k}f=zd(i+108|0,a,1,0);if(f){break k}f=Gh(q+40|0,i+1360|0,i+1364|0,i+1368|0);if(f){break k}f=3;if(Q[i+48>>2]>Q[i+1252>>2]){break k}h=N[q+52>>2]}N[i+1356>>2]=h;v:{if(b){D=v&65535;c=N[i+48>>2];if((v|0)>0){f=6;if(c>>>0<=D>>>0){break k}}N[i+16>>2]=c;break v}f=3;if(Q[i+48>>2]>1){break k}}f=0;if((v|0)<0){break k}f=Am(i+1372|0,i+1240|0,D,a,r,s?12288:4096,i,l);if(f){break k}c=r+N[i+1484>>2]|0;d=N[a+20>>2];w:{if(d){f=85;if(!(Qa[d|0](a,c,0,0)|0)){break w}break k}f=85;if(c>>>0>Q[a+4>>2]){break k}}N[a+8>>2]=c;f=zd(i+1204|0,a,0,s);if(f){break k}x:{if(!(!s&N[i+1504>>2]==65535)){g=i+3112|0;f=La-16|0;La=f;c=N[i+1552>>2];y:{if(!c){e=0;break y}m=N[a+28>>2];c=c+r|0;d=N[a+20>>2];z:{A:{B:{if(d){e=85;if(Qa[d|0](a,c,0,0)|0){break z}N[a+8>>2]=c;j=a+8|0;d=c+2|0;h=N[a+20>>2];if(!h){break B}if(Qa[h|0](a,d,0,0)|0){break z}k=N[a+4>>2];break A}e=85;if(c>>>0>Q[a+4>>2]){break z}N[a+8>>2]=c;j=a+8|0;d=c+2|0}k=N[a+4>>2];if(d>>>0>k>>>0){break z}}N[a+8>>2]=d;N[f+8>>2]=0;C:{if(c+3>>>0>=k>>>0){break C}D:{e=N[a+20>>2];E:{if(e){if((Qa[e|0](a,d,f+14|0,2)|0)!=2){break C}h=f+14|0;c=N[j>>2];break E}e=N[a>>2];if(!e){break D}h=d+e|0;c=d}h=O[h|0]|O[h+1|0]<<8;N[j>>2]=c+2;e=3;if(((h<<8|h>>>8)&65535)!=1){break z}c=Nb(a,f+8|0);e=N[f+8>>2];if(e){break z}k=xb(a,f+8|0);N[g>>2]=k;e=N[f+8>>2];if(e){break z}h=0;n=lb(m,4,0,k,0,f+8|0);e=N[f+8>>2];F:{G:{H:{if(e){break H}if(N[g>>2]){while(1){G=n+(h<<2)|0,H=Nb(a,f+8|0),N[G>>2]=H;e=N[f+8>>2];if(e){break G}h=h+1|0;if(h>>>0>2]){continue}break}}c=c+d|0;h=N[a+20>>2];I:{if(h){e=85;if(!(Qa[h|0](a,c,0,0)|0)){break I}break H}e=85;if(c>>>0>Q[a+4>>2]){break H}}N[a+8>>2]=c;N[f+8>>2]=0;G=g,H=xb(a,f+8|0),M[G+8>>1]=H;e=N[f+8>>2];if(e){break H}c=xb(a,f+8|0);N[g+12>>2]=c;e=N[f+8>>2];if(e){break H}G=g,H=lb(m,4,0,c,0,f+8|0),N[G+16>>2]=H;e=N[f+8>>2];if(e){break H}if(N[g+12>>2]){e=P[g+8>>1];k=0;while(1){t=N[g+16>>2]+(k<<2)|0;G=t,H=lb(m,12,0,e&65535,0,f+8|0),N[G>>2]=H;e=N[f+8>>2];if(e){break H}e=0;if(P[g+8>>1]){h=0;while(1){c=N[t>>2];u=xb(a,f+8|0);e=N[f+8>>2];if(e){break H}z=xb(a,f+8|0);e=N[f+8>>2];if(e){break H}A=xb(a,f+8|0);e=N[f+8>>2];if(e){break H}c=c+T(h,12)|0;N[c>>2]=u<<16>>16<<2;N[c+8>>2]=A<<16>>16<<2;N[c+4>>2]=z<<16>>16<<2;e=P[g+8>>1];h=h+1|0;if(e>>>0>h>>>0){continue}break}}k=k+1|0;if(k>>>0>2]){continue}break}}k=0;G=g,H=lb(m,8,0,N[g>>2],0,f+8|0),N[G+4>>2]=H;e=N[f+8>>2];if(e){break H}if(!N[g>>2]){e=0;break H}while(1){t=N[g+4>>2];c=N[n+(k<<2)>>2]+d|0;J:{h=N[a+20>>2];K:{if(h){e=85;if(Qa[h|0](a,c,0,0)|0){break G}N[a+8>>2]=c;h=c+4|0;c=N[a+20>>2];if(!c){break K}if(Qa[c|0](a,h,0,0)|0){break G}break J}if(c>>>0>Q[a+4>>2]){e=85;break G}N[j>>2]=c;h=c+4|0}if(Q[a+4>>2]>=h>>>0){break J}e=85;break G}N[a+8>>2]=h;N[f+8>>2]=0;c=t+(k<<3)|0;h=xb(a,f+8|0);N[c>>2]=h;e=N[f+8>>2];if(e){break G}G=c,H=lb(m,4,0,h,0,f+8|0),N[G+4>>2]=H;e=N[f+8>>2];if(e){break G}if(N[c>>2]){h=0;while(1){e=xb(a,f+8|0);N[N[c+4>>2]+(h<<2)>>2]=e;e=N[f+8>>2];if(e){break H}h=h+1|0;if(h>>>0>2]){continue}break}}e=0;k=k+1|0;if(k>>>0>2]){continue}break}}if(!n){break F}}Qa[N[m+8>>2]](m,n)}if(e){break z}e=0;break y}N[j>>2]=c+4;e=3;break z}e=85}Em(g,m)}La=f+16|0;f=e;if(f){break k}c=r+N[i+1536>>2]|0;d=N[a+20>>2];L:{if(d){f=85;if(!(Qa[d|0](a,c,0,0)|0)){break L}break k}f=85;if(c>>>0>Q[a+4>>2]){break k}}N[a+8>>2]=c;f=zd(q+4|0,a,0,s);N[q+76>>2]=f;if(f){break k}M:{c=N[q+16>>2];if(c>>>0<=256){N[i+2024>>2]=c;h=0;d=lb(p,652,0,c,0,q+76|0);N:{O:{P:{f=N[q+76>>2];if(f){break P}if(!c){break N}f=0;if(c>>>0>=4){g=c&-4;e=i+2028|0;while(1){N[e+(f<<2)>>2]=d+T(f,652);j=f|1;N[e+(j<<2)>>2]=d+T(j,652);j=f|2;N[e+(j<<2)>>2]=d+T(j,652);j=f|3;N[e+(j<<2)>>2]=d+T(j,652);f=f+4|0;if((g|0)!=(f|0)){continue}break}}c=c&3;if(c){while(1){N[(i+(f<<2)|0)+2028>>2]=d+T(f,652);f=f+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}c=s?16384:4096;h=0;while(1){f=Am(N[(i+(h<<2)|0)+2028>>2],q+4|0,h,a,r,c,i,l);if(f){break P}h=h+1|0;d=N[q+16>>2];if(h>>>0>>0){continue}break}break O}Fh(q+4|0);break k}h=d>>>0>1}if(h|!s){break M}}Fh(q+4|0);break x}g=i+3052|0;k=N[i+1216>>2];c=r+N[i+1540>>2]|0;e=La-16|0;La=e;Q:{R:{S:{d=N[a+20>>2];T:{U:{if(d){f=85;if(Qa[d|0](a,c,0,0)|0){break Q}N[a+8>>2]=c;d=N[a+20>>2];L[e+13|0]=0;h=a+8|0;if(!d){break U}if((Qa[d|0](a,c,e+13|0,1)|0)!=1){break S}c=N[a+8>>2];d=e+13|0;break T}f=85;if(Q[a+4>>2]>>0){break Q}N[a+8>>2]=c;L[e+13|0]=0;h=a+8|0}if(Q[a+4>>2]<=c>>>0){break S}d=N[a>>2]+c|0}j=O[d|0];d=c+1|0;N[h>>2]=d;N[g+20>>2]=0;L[g|0]=j;f=3;V:{switch(j|0){case 3:if(Q[a+4>>2]<=c+2>>>0){break S}j=N[a+20>>2];W:{if(j){if((Qa[j|0](a,d,e+14|0,2)|0)!=2){break S}d=N[h>>2];c=e+14|0;break W}j=N[a>>2];if(!j){break R}c=d+j|0}c=O[c|0]|O[c+1|0]<<8;N[h>>2]=d+2;c=(c<<8|c>>>8)&65535;if(!c){break Q}k=T(c,3)+2|0;break;case 0:break V;default:break Q}}N[g+12>>2]=k;f=fc(a,k,g+8|0);break Q}f=85;break Q}N[h>>2]=c+3}La=e+16|0;Fh(q+4|0);if(!f){break x}break k}N[i+2024>>2]=0}if(!N[i+1484>>2]){f=3;break k}N[i+20>>2]=N[i+1216>>2];f=Gh(i+108|0,i+1352|0,0,0);if(f){break k}X:{if(s){break X}d=N[i+20>>2];if(!d){break X}h=i+1180|0;t=(b|0)!=0&N[i+1504>>2]!=65535;k=0;n=La-16|0;La=n;e=3;p=N[a+28>>2];Y:{Z:{_:{c=N[i+1476>>2];$:{if(c>>>0>=3){g=c+r|0;N[h+4>>2]=g;aa:{c=N[a+20>>2];ba:{ca:{if(c){e=85;if(Qa[c|0](a,g,0,0)|0){break Z}N[a+8>>2]=g;f=N[a+20>>2];L[n+10|0]=0;c=a+8|0;if(!f){break ca}if((Qa[f|0](a,g,n+10|0,1)|0)!=1){break aa}g=N[a+8>>2];e=n+10|0;break ba}e=85;if(Q[a+4>>2]>>0){break Z}N[a+8>>2]=g;L[n+10|0]=0;c=a+8|0}if(Q[a+4>>2]<=g>>>0){break aa}e=N[a>>2]+g|0}e=O[e|0];N[c>>2]=g+1;N[h>>2]=e;g=0;if((d|0)<0){e=6;break _}da:{ea:{fa:{if(d){e=10;if((d|0)>1073741823){break _}e=d<<1;g=Qa[N[p+4>>2]](p,e)|0;if(!g|(d|0)<=0){break fa}C(g,0,e)}N[h+8>>2]=g;m=h+8|0;break ea}N[h+8>>2]=g;if(!g){break da}m=h+8|0}M[g>>1]=0;e=3;ga:{switch(N[h>>2]){case 0:e=Bb(a,(d<<1)-2|0);if(e){break Z}ha:{if(d>>>0<2){break ha}g=N[a+32>>2];c=N[m>>2];j=N[a+36>>2];ia:{if((d|0)==2){f=1;break ia}e=d-1|0;m=e&1;u=e&-2;f=1;while(1){ja:{if(j>>>0<=g+1>>>0){e=0;break ja}e=O[g|0]|O[g+1|0]<<8;e=e<<8|e>>>8;g=g+2|0}N[a+32>>2]=g;M[c+(f<<1)>>1]=e;e=0;if(j>>>0>g+1>>>0){e=O[g|0]|O[g+1|0]<<8;e=e<<8|e>>>8;g=g+2|0}N[a+32>>2]=g;M[c+(f+1<<1)>>1]=e;f=f+2|0;k=k+2|0;if((u|0)!=(k|0)){continue}break}if(!m){break ha}}e=0;if(j>>>0>g+1>>>0){e=O[g|0]|O[g+1|0]<<8;e=e<<8|e>>>8;g=g+2|0}N[a+32>>2]=g;M[c+(f<<1)>>1]=e}if(N[a+20>>2]){c=N[a>>2];if(c){e=N[a+28>>2];Qa[N[e+8>>2]](e,c)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break $;case 1:case 2:break ga;default:break Z}}if(d>>>0<2){break $}j=N[a+8>>2];g=1;while(1){ka:{la:{ma:{if(Q[a+4>>2]<=j+1>>>0){break ma}e=N[a+20>>2];na:{if(e){if((Qa[e|0](a,j,n+11|0,2)|0)!=2){break ma}j=N[c>>2];e=n+11|0;break na}e=N[a>>2];if(!e){break la}e=e+j|0}e=O[e|0]|O[e+1|0]<<8;f=e<<8|e>>>8;break ka}e=85;break Z}f=0}e=j+2|0;N[c>>2]=e;oa:{pa:{qa:{if(N[h>>2]==2){ra:{sa:{if(Q[a+4>>2]<=j+3>>>0){break sa}j=N[a+20>>2];ta:{if(j){if((Qa[j|0](a,e,n+13|0,2)|0)!=2){break sa}e=N[c>>2];j=n+13|0;break ta}j=N[a>>2];if(!j){break ra}j=e+j|0}k=O[j+1|0]|O[j|0]<<8;j=e+2|0;break qa}e=85;break Z}k=0;j=e+2|0;break qa}L[n+15|0]=0;j=N[a+20>>2];ua:{if(j){if((Qa[j|0](a,e,n+15|0,1)|0)!=1){break pa}e=N[c>>2];j=n+15|0;break ua}if(Q[a+4>>2]<=e>>>0){break pa}j=N[a>>2]+e|0}k=O[j|0];j=e+1|0}N[c>>2]=j;if(d>>>0<=g>>>0){break oa}e=f&65535;k=e>>>0>(k^65535)>>>0?e^65535:k;u=N[m>>2];e=0;while(1){M[u+(g<<1)>>1]=f;g=g+1|0;if(d>>>0<=g>>>0){break oa}f=f+1|0;z=e>>>0>>0;e=e+1|0;if(z){continue}break}break oa}e=85;break Z}if(d>>>0>g>>>0){continue}break}break $}e=!g<<6;break Z}N[h>>2]=0;break Z}N[h+4>>2]=c;va:{wa:{xa:{ya:{za:{switch(c|0){case 0:if(d>>>0>229){break Z}if(!d){g=d<<1;f=0;break wa}g=d<<1;f=Qa[N[p+4>>2]](p,g)|0;if(!(!f|(d|0)<=0)){C(f,0,g);break wa}N[h+8>>2]=f;if(f){break va}e=!f<<6;break Z;case 1:if(d>>>0>166){break Z}if(!d){g=d<<1;f=0;break ya}g=d<<1;f=Qa[N[p+4>>2]](p,g)|0;if(!(!f|(d|0)<=0)){C(f,0,g);break ya}N[h+8>>2]=f;if(f){break xa}e=!f<<6;break Z;case 2:break za;default:break Z}}if(d>>>0>87){break Z}Aa:{Ba:{if(!d){g=d<<1;f=0;break Ba}g=d<<1;f=Qa[N[p+4>>2]](p,g)|0;if(!(!f|(d|0)<=0)){C(f,0,g);break Ba}N[h+8>>2]=f;if(f){break Aa}e=!f<<6;break Z}N[h+8>>2]=f}F(f,266160,g);break $}N[h+8>>2]=f}F(f,265824,g);break $}N[h+8>>2]=f}F(f,33600,g)}if(!t){e=0;break Y}e=0;N[n+4>>2]=0;if(N[h+16>>2]){break Y}m=d&3;c=N[h+8>>2];k=0;Ca:{if(d>>>0<4){f=0;g=0;break Ca}g=d&-4;f=0;j=0;while(1){t=j<<1;u=P[c+(t|6)>>1];z=P[c+(t|4)>>1];A=P[c+(t|2)>>1];t=P[c+t>>1];f=f&65535;f=f>>>0>>0?t:f;f=f>>>0>>0?A:f;f=f>>>0>>0?z:f;f=f>>>0>>0?u:f;j=j+4|0;if((j|0)!=(g|0)){continue}break}}if(m){while(1){j=P[c+(g<<1)>>1];f=f&65535;f=f>>>0>>0?j:f;g=g+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}k=f&65535;g=lb(p,2,0,k+1|0,0,n+4|0);N[h+12>>2]=g;c=N[n+4>>2];if(!c){Da:{if((d|0)<=0){break Da}c=N[h+8>>2];f=d;if(m){j=0;while(1){f=f-1|0;M[g+(P[c+(f<<1)>>1]<<1)>>1]=f;j=j+1|0;if((m|0)!=(j|0)){continue}break}}if(d>>>0<4){break Da}while(1){j=f-1|0;M[g+(P[c+(j<<1)>>1]<<1)>>1]=j;j=f-2|0;M[g+(P[c+(j<<1)>>1]<<1)>>1]=j;j=f-3|0;M[g+(P[c+(j<<1)>>1]<<1)>>1]=j;f=f-4|0;M[g+(P[c+(f<<1)>>1]<<1)>>1]=f;if(j>>>0>1){continue}break}}N[h+20>>2]=d;N[h+16>>2]=k;break Y}e=c;break Z}N[h+8>>2]=0}c=N[h+8>>2];if(c){Qa[N[p+8>>2]](p,c)}N[h+8>>2]=0;c=N[h+12>>2];if(c){Qa[N[p+8>>2]](p,c)}N[h>>2]=0;N[h+4>>2]=0;N[h+12>>2]=0}La=n+16|0;f=e;if(f){break k}if(N[i+1504>>2]!=65535){break X}n=i+144|0;f=N[i+20>>2];e=a;c=N[i+1480>>2];t=0;m=La-16|0;La=m;a=3;j=h;Ea:{if(!N[h+8>>2]){break Ea}d=n+12|0;C(d,0,1024);Fa:{Ga:{Ha:{if(c>>>0>=2){g=c+r|0;N[n+4>>2]=g;c=N[e+20>>2];Ia:{Ja:{if(c){a=85;if(Qa[c|0](e,g,0,0)|0){break Ea}N[e+8>>2]=g;a=N[e+20>>2];L[m+12|0]=0;k=e+8|0;if(!a){break Ja}if((Qa[a|0](e,g,m+12|0,1)|0)!=1){break Ha}g=N[e+8>>2];a=m+12|0;break Ia}a=85;if(Q[e+4>>2]>>0){break Ea}N[e+8>>2]=g;L[m+12|0]=0;k=e+8|0}if(Q[e+4>>2]<=g>>>0){break Ha}a=N[e>>2]+g|0}c=O[a|0];a=g+1|0;N[e+8>>2]=a;N[n>>2]=c;N[m+8>>2]=0;L[m+13|0]=0;c=N[e+20>>2];Ka:{if(c){if((Qa[c|0](e,a,m+13|0,1)|0)!=1){break Ga}a=N[k>>2];c=m+13|0;break Ka}if(Q[e+4>>2]<=a>>>0){break Ga}c=N[e>>2]+a|0}p=O[c|0];c=a+1|0;N[k>>2]=c;a=3;La:{Ma:{switch(N[n>>2]&127){case 0:N[n+8>>2]=p+1;a=Bb(e,p);N[m+8>>2]=a;if(a){break Ea}Na:{if(!p){break Na}a=1;g=N[e+32>>2];if((p|0)!=1){h=p&254;d=0;while(1){if(a>>>0>>0){c=n+(O[g|0]<<1)|0;M[c+524>>1]=a;M[c+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}c=a+1|0;if(c>>>0>>0){k=n+(O[g+1|0]<<1)|0;M[k+524>>1]=c;M[k+12>>1]=P[N[j+8>>2]+(c<<1)>>1]}g=g+2|0;a=a+2|0;d=d+2|0;if((h|0)!=(d|0)){continue}break}}if(!(p&1)|a>>>0>=f>>>0){break Na}c=n+(O[g|0]<<1)|0;M[c+524>>1]=a;M[c+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}if(N[e+20>>2]){a=N[e>>2];if(a){c=N[e+28>>2];Qa[N[c+8>>2]](c,a)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;break La;case 1:break Ma;default:break Ea}}N[n+8>>2]=0;if(!p){break La}d=1;while(1){a=d;L[m+14|0]=0;d=N[e+20>>2];Oa:{if(d){if((Qa[d|0](e,c,m+14|0,1)|0)!=1){break Ga}c=N[k>>2];d=m+14|0;break Oa}if(Q[e+4>>2]<=c>>>0){break Ga}d=N[e>>2]+c|0}g=O[d|0];d=c+1|0;N[e+8>>2]=d;L[m+15|0]=0;c=N[e+20>>2];Pa:{if(c){if((Qa[c|0](e,d,m+15|0,1)|0)!=1){break Ga}d=N[k>>2];c=m+15|0;break Pa}if(Q[e+4>>2]<=d>>>0){break Ga}c=N[e>>2]+d|0}r=O[c|0];c=d+1|0;N[k>>2]=c;d=r+1|0;h=N[n+8>>2];if(r>>>0>=h>>>0){N[n+8>>2]=d;h=d}d=a+d|0;Qa:{if(d>>>0<=a>>>0){break Qa}if(!(r&1)){if(a>>>0>>0){u=n+(g<<1)|0;M[u+524>>1]=a;M[u+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}g=g+1|0;a=a+1|0}if(!r){break Qa}while(1){if(!(g>>>0>255|a>>>0>=f>>>0)){r=n+(g<<1)|0;M[r+524>>1]=a;M[r+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}r=a+1|0;Ra:{if(r>>>0>=f>>>0){break Ra}u=g+1|0;if(u>>>0>255){break Ra}u=n+(u<<1)|0;M[u+524>>1]=r;M[u+12>>1]=P[N[j+8>>2]+(r<<1)>>1]}g=g+2|0;a=a+2|0;if((d|0)!=(a|0)){continue}break}}t=t+1|0;if((p|0)!=(t|0)){continue}break}N[m+8>>2]=0;if(h>>>0<257){break La}N[n+8>>2]=256}a=0;if(!(O[n|0]&128)){break Ea}c=Pd(e,m+8|0);a=N[m+8>>2];if(a|!c){break Ea}d=c&255;h=0;while(1){g=Pd(e,m+8|0);a=N[m+8>>2];if(a){break Ea}c=xb(e,m+8|0);a=N[m+8>>2];if(a){break Ea}g=n+((g&255)<<1)|0;M[g+12>>1]=c;Sa:{if(!f){break Sa}k=N[j+8>>2];a=0;while(1){if((c|0)==P[k+(a<<1)>>1]){M[g+524>>1]=a;break Sa}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=0;h=h+1|0;if((d|0)!=(h|0)){continue}break}break Ea}Ta:{Ua:{switch(c|0){case 0:F(d,30800,512);break Ta;case 1:break Ua;default:break Ea}}F(d,34064,512)}N[n+8>>2]=0;h=N[j+16>>2];if(!h){p=N[e+28>>2];if(f){k=f&3;c=N[j+8>>2];d=0;Va:{if(f>>>0<4){a=0;g=0;break Va}g=f&-4;a=0;h=0;while(1){e=h<<1;r=P[c+(e|6)>>1];t=P[c+(e|4)>>1];u=P[c+(e|2)>>1];e=P[c+e>>1];a=a&65535;a=a>>>0>>0?e:a;a=a>>>0>>0?u:a;a=a>>>0>>0?t:a;a=a>>>0>>0?r:a;h=h+4|0;if((h|0)!=(g|0)){continue}break}}if(k){while(1){e=P[c+(g<<1)>>1];a=a&65535;a=a>>>0>>0?e:a;g=g+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}h=a&65535}else{h=0}a=(h<<1)+2|0;c=Qa[N[p+4>>2]](p,a)|0;if(!c){break Fa}d=0;C(c,0,a);N[j+12>>2]=c;Wa:{if((f|0)<=0){break Wa}e=N[j+8>>2];a=f;g=a&3;if(g){while(1){a=a-1|0;M[c+(P[e+(a<<1)>>1]<<1)>>1]=a;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(f>>>0<4){break Wa}while(1){d=a-1|0;M[c+(P[e+(d<<1)>>1]<<1)>>1]=d;d=a-2|0;M[c+(P[e+(d<<1)>>1]<<1)>>1]=d;d=a-3|0;M[c+(P[e+(d<<1)>>1]<<1)>>1]=d;a=a-4|0;M[c+(P[e+(a<<1)>>1]<<1)>>1]=a;if(d>>>0>1){continue}break}}N[j+20>>2]=f;N[j+16>>2]=h}a=0;while(1){Xa:{Ya:{c=n+(a<<1)|0;d=P[c+12>>1];if(!d|d>>>0>h>>>0){break Ya}d=P[N[j+12>>2]+(d<<1)>>1];if(!d){break Ya}M[c+524>>1]=d;a=a+1|0;N[n+8>>2]=a;break Xa}M[c+524>>1]=0;M[c+12>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}a=0;break Ea}N[n>>2]=0}a=85;break Ea}N[j+12>>2]=0;a=64}La=m+16|0;f=a;if(a){break k}}G=i,H=Gm(i,D),N[G+1348>>2]=H;f=0}c=N[q+40>>2];Za:{if(!c){break Za}a=N[c+28>>2];d=N[q+72>>2];if(!(!d|!N[c+20>>2])){Qa[N[a+8>>2]](a,d)}c=N[q+68>>2];if(!c){break Za}Qa[N[a+8>>2]](a,c)}La=q+80|0;g=f;if(f){break a}if((v|0)<0){N[l>>2]=N[i+16>>2];g=0;break a}N[i+3088>>2]=o;N[i+3084>>2]=x;N[i+3080>>2]=B;k=v&65535;N[l+4>>2]=k;N[l+16>>2]=N[i+20>>2];if(N[i+1504>>2]==65535){g=11;if(!x){break a}}_a:{if(!(N[l+8>>2]&256)|v>>>0<65536){break _a}c=N[l+548>>2];if(!c){break _a}a=N[l+552>>2];g=Qa[N[c+28>>2]](l,v>>>16|0)|0;if(g){break a}if(!a){break _a}Qa[N[a+28>>2]](l)}if(!O[i+1436|0]){N[i+1440>>2]=b?1e3:P[l+68>>1]}c=N[i+1432>>2];d=i+1448|0;f=c?c:N[i+1428>>2];a=f>>31;a=(f^a)-a|0;$a:{if((a|0)==65536){o=N[i+1444>>2];a=N[i+1448>>2];break $a}G=i,H=fb(N[i+1440>>2],a),N[G+1440>>2]=H;G=i,H=fb(N[i+1420>>2],a),N[G+1420>>2]=H;e=i+1428|0;G=e,H=fb(N[e>>2],a),N[G>>2]=H;e=i+1424|0;G=e,H=fb(N[e>>2],a),N[G>>2]=H;G=i,H=fb(c,a),N[G+1432>>2]=H;o=fb(N[i+1444>>2],a);a=fb(N[i+1448>>2],a)}N[d>>2]=a>>16;N[i+1444>>2]=o>>16;h=N[i+2024>>2];if(h){c=i+1420|0;while(1){h=h-1|0;a=N[(i+(h<<2)|0)+2028>>2];ab:{if(O[a+64|0]){if(!O[i+1436|0]){break ab}o=1;d=N[i+1440>>2];if(d>>>0>=2){e=N[a+68>>2];o=e>>>0<=1?1:d>>>0>>0?d:e}d=a+48|0;if(!(!c|!d)){f=N[c>>2];g=N[d>>2];e=o<<16;j=jb(f,g,e);v=N[c+4>>2];m=N[d+8>>2];B=jb(v,m,e);p=f;f=N[d+4>>2];q=jb(p,f,e);p=v;v=N[d+12>>2];n=jb(p,v,e);p=N[c+8>>2];r=jb(p,g,e);g=N[c+12>>2];G=d,H=r+jb(g,m,e)|0,N[G+8>>2]=H;N[d+4>>2]=n+q;N[d>>2]=j+B;G=d,H=jb(p,f,e)+jb(g,v,e)|0,N[G+12>>2]=H}if(!(!c|(a|0)==-72)){e=N[c+8>>2];f=N[c+12>>2];g=N[a+72>>2];d=o<<16;v=jb(g,N[c>>2],d);j=N[a+76>>2];G=a,H=v+jb(j,N[c+4>>2],d)|0,N[G+72>>2]=H;G=a,H=jb(g,e,d)+jb(j,f,d)|0,N[G+76>>2]=H}G=a,H=jb(N[a+68>>2],N[i+1440>>2],o),N[G+68>>2]=H;break ab}d=N[c+4>>2];N[a+48>>2]=N[c>>2];N[a+52>>2]=d;d=N[c+12>>2];N[a+56>>2]=N[c+8>>2];N[a+60>>2]=d;d=N[i+1448>>2];N[a+72>>2]=N[i+1444>>2];N[a+76>>2]=d;N[a+68>>2]=N[i+1440>>2]}e=N[a+60>>2];o=e?e:N[a+56>>2];d=o>>31;d=(o^d)-d|0;bb:{if((d|0)==65536){j=N[a+72>>2];d=N[a+76>>2];break bb}G=a,H=fb(N[a+68>>2],d),N[G+68>>2]=H;G=a,H=fb(N[a+48>>2],d),N[G+48>>2]=H;G=a,H=fb(N[a+56>>2],d),N[G+56>>2]=H;G=a,H=fb(N[a+52>>2],d),N[G+52>>2]=H;G=a,H=fb(e,d),N[G+60>>2]=H;j=fb(N[a+72>>2],d);d=fb(N[a+76>>2],d)}N[a+76>>2]=d>>16;N[a+72>>2]=j>>16;if(h){continue}break}}if(b){N[l>>2]=N[i+16>>2];if(N[i+1504>>2]!=65535){a=N[i+1196>>2]+1|0}else{a=N[i+1216>>2]}N[l+16>>2]=a;N[l+52>>2]=M[i+1458>>1];a=M[i+1462>>1];N[l+56>>2]=a;N[l+60>>2]=N[i+1464>>2]+65535>>16;c=N[i+1468>>2]+65535>>16;N[l- -64>>2]=c;d=N[i+1440>>2];M[l+72>>1]=a;M[l+70>>1]=c;M[l+68>>1]=d;a=c-a|0;c=(T(d&65535,12)>>>0)/10|0;M[l+74>>1]=(a|0)>c<<16>>16?a:c;M[l+80>>1]=P[i+1406>>1];M[l+82>>1]=P[i+1410>>1];a=N[i+1388>>2];cb:{if(!a){break cb}a=_f(i,a);if(!a){break cb}G=l,H=Nc(y,a,w+4|0),N[G+20>>2]=H}db:{eb:{fb:{if(!N[l+20>>2]){c=Gm(i,k);N[l+20>>2]=c;if(!c){break fb}a=nb(c);gb:{if((a|0)<6){break gb}d=c+7|0;e=a+1|0;while(1){if(O[c+6|0]!=43|(O[c+5|0]-65&255)>>>0>25|((O[c+4|0]-65&255)>>>0>25|(O[c+3|0]-65&255)>>>0>25)){break gb}if((O[c+2|0]-65&255)>>>0>25|(O[c+1|0]-65&255)>>>0>25|((e|0)<8|(O[c|0]-65&255)>>>0>25)){break gb}a=e-7|0;F(c,d,a);f=(e|0)>13;e=a;if(f){continue}break}}if(!N[l+20>>2]){break fb}}g=_f(i,N[i+1384>>2]);if(!g){break eb}h=N[l+20>>2];if(!h){break eb}f=O[g|0];if(!f){break eb}while(1){hb:{ib:{a=f&255;c=a-32|0;if(!((c|0)!=13?c:0)){if((a|0)==O[h|0]){break ib}break hb}o=h;f=O[h|0];if((a|0)==(f|0)){break ib}while(1){jb:{kb:{c=f&255;switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break eb;case 0:case 13:break kb;default:break jb}}f=O[o+1|0];h=o+1|0;o=h;if((a|0)!=(f|0)){continue}break ib}break}if(c){break eb}f=Nc(y,g,w+4|0);if(!f){break eb}d=N[l+20>>2];e=nb(d);c=nb(f);lb:{if((e|0)<=(c|0)){break lb}a=1;if((c|0)>0){while(1){if(O[d+(e-a|0)|0]!=O[(c-a|0)+f|0]){break lb}h=(a|0)==(c|0);a=a+1|0;if(!h){continue}break}}a=e+(c^-1)|0;if((a|0)<=0){break lb}while(1){c=a+d|0;e=O[c|0];h=e-32|0;if(!((1<>>0<=13:0)|(e|0)==95)){L[c+1|0]=0;break lb}c=(a|0)>1;a=a-1|0;if(c){continue}break}}break db}h=h+1|0}f=O[g+1|0];g=g+1|0;if(f){continue}break}break eb}a=_f(i,N[i+1544>>2]);if(!a){break eb}G=l,H=Nc(y,a,w+4|0),N[G+20>>2]=H}f=Nc(y,12199,w+4|0)}N[l+24>>2]=f;a=E?2065:2073;N[l+8>>2]=N[l+8>>2]|(O[i+1396|0]?a|4:a);f=N[i+1400>>2]!=0;a=_f(i,N[i+1392>>2]);mb:{if(!a){break mb}if(cb(a,16733)){if(cb(a,13781)){break mb}}f=f|2}nb:{if(f&2){break nb}a=N[l+24>>2];if(!a){break nb}if(bb(a,16733,4)){if(bb(a,13781,5)){break nb}}f=f|2}N[l+12>>2]=f}c=N[i+1504>>2];ob:{if(!(s|(c|0)!=65535)){N[l+8>>2]=N[l+8>>2]|512;j=b;break ob}j=b;if(!j|(c|0)==65535){break ob}N[l+8>>2]=N[l+8>>2]|4096;j=1}a=N[l+36>>2];pb:{if(a){b=N[l+40>>2];f=0;while(1){qb:{rb:{d=N[b+(f<<2)>>2];switch(P[d+8>>1]){case 0:break pb;case 3:break rb;default:break qb}}if(P[d+10>>1]==1){break pb}}f=f+1|0;if((a|0)!=(f|0)){continue}break}}g=0;if((c|0)!=65535&j){break a}N[w+4>>2]=l;N[w+8>>2]=1970170211;N[w+12>>2]=65539;g=Bc(30492,0,w+4|0,0);sb:{if(!g){break sb}b=g&255;if((b|0)==163){break sb}if((b|0)!=7){break a}}if(N[l+92>>2]|(a|0)==N[l+36>>2]){break pb}N[l+92>>2]=N[N[l+40>>2]+(a<<2)>>2]}if(!N[i+152>>2]){g=0;break a}M[w+12>>1]=7;N[w+4>>2]=l;f=1094995778;o=0;tb:{ub:{switch(N[i+148>>2]){case 1:f=1094992453;o=1;break tb;case 0:break tb;default:break ub}}f=1094992451;o=2}N[w+8>>2]=f;M[w+14>>1]=o;g=Bc(30452,0,w+4|0,0)}La=w+16|0;return g|0}function Bl(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,q=0,r=0,s=0,t=0,u=0,v=0;p=La-16|0;La=p;a:{b:{if(!b){m=1;if(!N[e>>2]|(!e|!f)){break a}break b}h=b+1|0;m=O[b+1|0];c:{if(O[b|0]==120){o=b;l=0;if((m&255)==45){break c}}o=0;d:{if(!(m&255)){i=h;break d}g=h;i=b;while(1){j=i;i=g;e:{if(O[j|0]!=45|O[j+2|0]!=45){break e}k=k?k:j;if((m&255)!=120){break e}o=i;break d}g=i+1|0;m=O[i+1|0];if(m){continue}break}i=g}l=k?k:i}g=0;i=0;f:{if(!c|!d|(!o|!N[c>>2])){break f}n=ub(o,17675);if(!n){break f}g:{h:{j=O[n+5|0];if((j|0)!=45){if(((j&223)-91&255)>>>0<230&(j-58&255)>>>0<=245){break f}i=(j-65&255)>>>0<26?j+32|0:j;L[p+4|0]=i;m=O[n+6|0];if((m-48&255)>>>0>=10){j=1;if(((m&-33)-65&255)>>>0>25){break h}}k=(m-65&255)>>>0<26?m+32|0:m;L[p+5|0]=k;m=O[n+7|0];if((m-48&255)>>>0>=10){j=2;if(((m&-33)-65&255)>>>0>25){break h}}m=(m-65&255)>>>0<26?m+32|0:m;L[p+6|0]=m;n=O[n+8|0];if((n-48&255)>>>0>=10){j=3;if(((n&-33)-65&255)>>>0>25){break h}}j=(n-65&255)>>>0<26?n+32|0:n;break g}m=O[n+6|0];j=m-48|0;i=(j&255)>>>0<10;i:{j:{if(!(i|(m-97&255)>>>0<6)){i=0;j=m-65|0;if((j&255)>>>0<6){break j}break f}if(i){break i}j=m-65|0}j=((j&255)>>>0<26?m+32|0:m)-87|0}k=O[n+7|0];m=k-48|0;i=(m&255)>>>0<10;k:{l:{if(!(i|(k-97&255)>>>0<6)){i=0;m=k-65|0;if((m&255)>>>0<6){break l}break f}if(i){break k}m=k-65|0}m=((m&255)>>>0<26?k+32|0:k)-87|0}k=O[n+8|0];q=k-48|0;i=(q&255)>>>0<10;m:{n:{if(!(i|(k-97&255)>>>0<6)){i=0;q=k-65|0;if((q&255)>>>0<6){break n}break f}if(i){break m}q=k-65|0}q=((q&255)>>>0<26?k+32|0:k)-87|0}k=O[n+9|0];r=k-48|0;i=(r&255)>>>0<10;o:{p:{if(!(i|(k-97&255)>>>0<6)){i=0;r=k-65|0;if((r&255)>>>0<6){break p}break f}if(i){break o}r=k-65|0}r=((r&255)>>>0<26?k+32|0:k)-87|0}k=O[n+10|0];s=k-48|0;i=(s&255)>>>0<10;q:{r:{if(!(i|(k-97&255)>>>0<6)){i=0;s=k-65|0;if((s&255)>>>0<6){break r}break f}if(i){break q}s=k-65|0}s=((s&255)>>>0<26?k+32|0:k)-87|0}k=O[n+11|0];t=k-48|0;i=(t&255)>>>0<10;s:{t:{if(!(i|(k-97&255)>>>0<6)){i=0;t=k-65|0;if((t&255)>>>0<6){break t}break f}if(i){break s}t=k-65|0}t=((t&255)>>>0<26?k+32|0:k)-87|0}k=O[n+12|0];u=k-48|0;i=(u&255)>>>0<10;u:{v:{if(!(i|(k-97&255)>>>0<6)){i=0;u=k-65|0;if((u&255)>>>0<6){break v}break f}if(i){break u}u=k-65|0}u=((u&255)>>>0<26?k+32|0:k)-87|0}n=O[n+13|0];v=n-48|0;i=(v&255)>>>0<10;w:{x:{if(!(i|(n-97&255)>>>0<6)){i=0;k=n-65|0;if((k&255)>>>0<6){break x}break f}if(i){break w}k=n-65|0}v=((k&255)>>>0<26?n+32|0:n)-87|0}i=(j<<4)+m|0;k=(q<<4)+r|0;m=(s<<4)+t|0;j=(u<<4)+v|0;break g}C((p+4|0)+j|0,32,4-j|0);m=O[p+6|0];k=O[p+5|0];i=O[p+4|0];j=O[p+7|0]}i=j&255|(i<<24|(k&255)<<16|(m&255)<<8);N[d>>2]=(i&-538976289)==1145457748?i^538976288:i;i=1;N[c>>2]=1}y:{if(!f|!e|(!o|!N[e>>2])){break y}n=ub(o,8910);if(!n){break y}z:{A:{j=O[n+5|0];if((j|0)!=45){if(((j&223)-91&255)>>>0<230&(j-58&255)>>>0<=245){break y}g=(j-97&255)>>>0<26?j-32|0:j;L[p+8|0]=g;j=O[n+6|0];if((j-48&255)>>>0>=10){o=1;if(((j&-33)-65&255)>>>0>25){break A}}k=(j-97&255)>>>0<26?j-32|0:j;L[p+9|0]=k;j=O[n+7|0];if((j-48&255)>>>0>=10){o=2;if(((j&-33)-65&255)>>>0>25){break A}}j=(j-97&255)>>>0<26?j-32|0:j;L[p+10|0]=j;m=O[n+8|0];if((m-48&255)>>>0>=10){o=3;if(((m&-33)-65&255)>>>0>25){break A}}o=(m-97&255)>>>0<26?m-32|0:m;break z}j=O[n+6|0];o=j-48|0;g=(o&255)>>>0<10;B:{C:{if(!(g|(j-97&255)>>>0<6)){g=0;o=j-65|0;if((o&255)>>>0<6){break C}break y}if(g){break B}o=j-65|0}o=((o&255)>>>0<26?j+32|0:j)-87|0}m=O[n+7|0];j=m-48|0;g=(j&255)>>>0<10;D:{E:{if(!(g|(m-97&255)>>>0<6)){g=0;j=m-65|0;if((j&255)>>>0<6){break E}break y}if(g){break D}j=m-65|0}j=((j&255)>>>0<26?m+32|0:m)-87|0}k=O[n+8|0];m=k-48|0;g=(m&255)>>>0<10;F:{G:{if(!(g|(k-97&255)>>>0<6)){g=0;m=k-65|0;if((m&255)>>>0<6){break G}break y}if(g){break F}m=k-65|0}m=((m&255)>>>0<26?k+32|0:k)-87|0}k=O[n+9|0];q=k-48|0;g=(q&255)>>>0<10;H:{I:{if(!(g|(k-97&255)>>>0<6)){g=0;q=k-65|0;if((q&255)>>>0<6){break I}break y}if(g){break H}q=k-65|0}q=((q&255)>>>0<26?k+32|0:k)-87|0}k=O[n+10|0];r=k-48|0;g=(r&255)>>>0<10;J:{K:{if(!(g|(k-97&255)>>>0<6)){g=0;r=k-65|0;if((r&255)>>>0<6){break K}break y}if(g){break J}r=k-65|0}r=((r&255)>>>0<26?k+32|0:k)-87|0}k=O[n+11|0];s=k-48|0;g=(s&255)>>>0<10;L:{M:{if(!(g|(k-97&255)>>>0<6)){g=0;s=k-65|0;if((s&255)>>>0<6){break M}break y}if(g){break L}s=k-65|0}s=((s&255)>>>0<26?k+32|0:k)-87|0}k=O[n+12|0];t=k-48|0;g=(t&255)>>>0<10;N:{O:{if(!(g|(k-97&255)>>>0<6)){g=0;t=k-65|0;if((t&255)>>>0<6){break O}break y}if(g){break N}t=k-65|0}t=((t&255)>>>0<26?k+32|0:k)-87|0}n=O[n+13|0];u=n-48|0;g=(u&255)>>>0<10;P:{Q:{if(!(g|(n-97&255)>>>0<6)){g=0;k=n-65|0;if((k&255)>>>0<6){break Q}break y}if(g){break P}k=n-65|0}u=((k&255)>>>0<26?n+32|0:n)-87|0}g=(o<<4)+j|0;k=(m<<4)+q|0;j=(r<<4)+s|0;o=(t<<4)+u|0;break z}C((p+8|0)+o|0,32,4-o|0);j=O[p+10|0];k=O[p+9|0];g=O[p+8|0];o=O[p+11|0]}g=o&255|(g<<24|(k&255)<<16|(j&255)<<8);N[f>>2]=(g&-538976289)==1145457748?g^538976288:g;g=1;N[e>>2]=1}m=i^1;if(!f|!e|(!N[e>>2]|g)){break a}R:{o=l-b|0;if((o|0)<7){break R}i=lc(b,45);if(!i|i>>>0>=l>>>0){break R}k=l-i|0;if((k|0)<5){break R}S:{if(k>>>0<8){break S}j=i;T:{while(1){g=ub(j,18424);if(!g|g>>>0>=l>>>0){break T}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1095782472;h=1;break b}j=i;U:{while(1){g=ub(j,12699);if(!g|g>>>0>=l>>>0){break U}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1346851360;h=1;break b}j=i;V:{while(1){g=ub(j,18443);if(!g|g>>>0>=l>>>0){break V}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1213809952;h=1;break b}j=i;while(1){g=ub(j,17740);if(!g|g>>>0>=l>>>0){break S}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1347571488;h=1;break b}g=i;if(k>>>0>=7){W:{while(1){j=ub(g,18416);if(!j|j>>>0>=l>>>0){break W}g=j+7|0;j=O[j+7|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1230000200;h=1;break b}g=i}X:{while(1){j=ub(g,13563);if(!j|j>>>0>=l>>>0){break X}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1262961952;h=1;break b}g=i;Y:{while(1){j=ub(g,15487);if(!j|j>>>0>=l>>>0){break Y}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1398362693;h=1;break b}g=i;Z:{while(1){j=ub(g,13860);if(!j|j>>>0>=l>>>0){break Z}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1398362698;h=1;break b}if(!Ab(i,l,12549,5)){break R}N[f>>2]=1398362702;h=1;break b}_:{$:{aa:{ba:{switch(L[b|0]-97|0){case 0:if(cb(h,13122)){break aa}N[f>>2]=1245859616;h=1;break b;case 2:ca:{g=l-h|0;da:{if(g>>>0>=10){ea:{if(bb(h,13650,10)){break ea}g=O[b+11|0];if(g?(g|0)!=45:0){break ea}N[f>>2]=1514686496;h=1;break b}fa:{if(bb(h,12420,10)){break fa}g=O[b+11|0];if(g?(g|0)!=45:0){break fa}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}ga:{if(bb(h,13584,10)){break ga}g=O[b+11|0];if(g?(g|0)!=45:0){break ga}N[f>>2]=1514686496;h=1;break b}ha:{if(bb(h,12354,10)){break ha}g=O[b+11|0];if(g?(g|0)!=45:0){break ha}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ia:{if(bb(h,13672,10)){break ia}g=O[b+11|0];if(g?(g|0)!=45:0){break ia}N[f>>2]=1514686496;h=1;break b}ja:{if(bb(h,12442,10)){break ja}g=O[b+11|0];if(g?(g|0)!=45:0){break ja}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ka:{if(bb(h,13628,10)){break ka}g=O[b+11|0];if(g?(g|0)!=45:0){break ka}N[f>>2]=1514686496;h=1;break b}la:{if(bb(h,12398,10)){break la}g=O[b+11|0];if(g?(g|0)!=45:0){break la}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ma:{if(bb(h,13595,10)){break ma}g=O[b+11|0];if(g?(g|0)!=45:0){break ma}N[f>>2]=1514686496;h=1;break b}na:{if(bb(h,12365,10)){break na}g=O[b+11|0];if(g?(g|0)!=45:0){break na}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}oa:{if(bb(h,13617,10)){break oa}g=O[b+11|0];if(g?(g|0)!=45:0){break oa}N[f>>2]=1514686496;h=1;break b}pa:{if(bb(h,12387,10)){break pa}g=O[b+11|0];if(g?(g|0)!=45:0){break pa}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}qa:{if(bb(h,13705,10)){break qa}g=O[b+11|0];if(g?(g|0)!=45:0){break qa}N[f>>2]=1514686496;h=1;break b}ra:{if(bb(h,12475,10)){break ra}g=O[b+11|0];if(g?(g|0)!=45:0){break ra}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}sa:{if(bb(h,13639,10)){break sa}g=O[b+11|0];if(g?(g|0)!=45:0){break sa}N[f>>2]=1514686496;h=1;break b}if(bb(h,12409,10)){break da}g=O[b+11|0];if(g?(g|0)!=45:0){break da}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break ca}}ta:{if(bb(h,10737,7)){break ta}g=O[b+8|0];if(g?(g|0)!=45:0){break ta}N[f>>2]=1514689312;h=1;break b}ua:{if(bb(h,9378,7)){break ua}g=O[b+8|0];if(g?(g|0)!=45:0){break ua}N[f>>2]=1514689568;h=1;break b}va:{if(bb(h,10689,7)){break va}g=O[b+8|0];if(g?(g|0)!=45:0){break va}N[f>>2]=1514689312;h=1;break b}wa:{if(bb(h,9330,7)){break wa}g=O[b+8|0];if(g?(g|0)!=45:0){break wa}N[f>>2]=1514689568;h=1;break b}xa:{if(bb(h,10753,7)){break xa}g=O[b+8|0];if(g?(g|0)!=45:0){break xa}N[f>>2]=1514689312;h=1;break b}ya:{if(bb(h,9394,7)){break ya}g=O[b+8|0];if(g?(g|0)!=45:0){break ya}N[f>>2]=1514689568;h=1;break b}za:{if(bb(h,10721,7)){break za}g=O[b+8|0];if(g?(g|0)!=45:0){break za}N[f>>2]=1514689312;h=1;break b}Aa:{if(bb(h,9362,7)){break Aa}g=O[b+8|0];if(g?(g|0)!=45:0){break Aa}N[f>>2]=1514689568;h=1;break b}Ba:{if(bb(h,10697,7)){break Ba}g=O[b+8|0];if(g?(g|0)!=45:0){break Ba}N[f>>2]=1514689312;h=1;break b}Ca:{if(bb(h,9338,7)){break Ca}g=O[b+8|0];if(g?(g|0)!=45:0){break Ca}N[f>>2]=1514689568;h=1;break b}Da:{if(bb(h,10713,7)){break Da}g=O[b+8|0];if(g?(g|0)!=45:0){break Da}N[f>>2]=1514689312;h=1;break b}Ea:{if(bb(h,9354,7)){break Ea}g=O[b+8|0];if(g?(g|0)!=45:0){break Ea}N[f>>2]=1514689568;h=1;break b}Fa:{if(bb(h,10777,7)){break Fa}g=O[b+8|0];if(g?(g|0)!=45:0){break Fa}N[f>>2]=1514689312;h=1;break b}Ga:{if(bb(h,9418,7)){break Ga}g=O[b+8|0];if(g?(g|0)!=45:0){break Ga}N[f>>2]=1514689568;h=1;break b}Ha:{if(bb(h,10729,7)){break Ha}g=O[b+8|0];if(g?(g|0)!=45:0){break Ha}N[f>>2]=1514689312;h=1;break b}if(bb(h,9370,7)){break ca}g=O[b+8|0];if(g?(g|0)!=45:0){break ca}N[f>>2]=1514689568;h=1;break b}Ia:{if(bb(h,22513,3)){break Ia}Ja:{if(o>>>0<3){break Ja}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break Ja}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ia}N[f>>2]=1514689568;h=1;break b}Ka:{if(bb(h,22485,3)){break Ka}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ka}N[f>>2]=1514689568;h=1;break b}La:{if(bb(h,22521,3)){break La}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break La}N[f>>2]=1514689568;h=1;break b}Ma:{if(bb(h,22505,3)){break Ma}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ma}N[f>>2]=1514689568;h=1;break b}Na:{if(bb(h,22489,3)){break Na}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Na}N[f>>2]=1514689568;h=1;break b}Oa:{if(bb(h,22501,3)){break Oa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Oa}N[f>>2]=1514689568;h=1;break b}Pa:{if(bb(h,22533,3)){break Pa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Pa}N[f>>2]=1514689568;h=1;break b}if(bb(h,22509,3)){break aa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 6:Qa:{Ra:{Sa:{g=l-h|0;Ta:{if(g>>>0>=10){Ua:{if(bb(h,13683,10)){break Ua}g=O[b+11|0];if(g?(g|0)!=45:0){break Ua}N[f>>2]=1514686496;h=1;break b}if(bb(h,12453,10)){break Ta}g=O[b+11|0];if(g?(g|0)!=45:0){break Ta}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break Sa}}Va:{if(bb(h,10761,7)){break Va}g=O[b+8|0];if(g?(g|0)!=45:0){break Va}N[f>>2]=1514689312;h=1;break b}if(bb(h,9402,7)){break Ra}g=O[b+8|0];if(g?(g|0)!=45:0){break Ra}N[f>>2]=1514689568;h=1;break b}if((g|0)!=6){break Qa}}if(bb(h,14515,6)){break Qa}g=O[b+7|0];if(g?(g|0)!=45:0){break Qa}N[f>>2]=1230132256;h=1;break b}if(bb(h,22525,3)){break aa}Wa:{if(o>>>0<3){break Wa}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break Wa}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 7:Xa:{g=l-h|0;Ya:{if(g>>>0>=10){Za:{if(bb(h,13694,10)){break Za}g=O[b+11|0];if(g?(g|0)!=45:0){break Za}N[f>>2]=1514686496;h=1;break b}_a:{if(bb(h,12464,10)){break _a}g=O[b+11|0];if(g?(g|0)!=45:0){break _a}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}$a:{if(bb(h,13661,10)){break $a}g=O[b+11|0];if(g?(g|0)!=45:0){break $a}N[f>>2]=1514686496;h=1;break b}if(bb(h,12431,10)){break Ya}g=O[b+11|0];if(g?(g|0)!=45:0){break Ya}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break Xa}}ab:{if(bb(h,10769,7)){break ab}g=O[b+8|0];if(g?(g|0)!=45:0){break ab}N[f>>2]=1514689312;h=1;break b}bb:{if(bb(h,9410,7)){break bb}g=O[b+8|0];if(g?(g|0)!=45:0){break bb}N[f>>2]=1514689568;h=1;break b}cb:{if(bb(h,10745,7)){break cb}g=O[b+8|0];if(g?(g|0)!=45:0){break cb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9386,7)){break Xa}g=O[b+8|0];if(g?(g|0)!=45:0){break Xa}N[f>>2]=1514689568;h=1;break b}db:{if(bb(h,22529,3)){break db}eb:{if(o>>>0<3){break eb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break eb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break db}N[f>>2]=1514689568;h=1;break b}if(bb(h,22517,3)){break aa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 8:if(!cb(h,12493)){N[f>>2]=1312904736;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1096042528;break b}if(!cb(h,13825)){N[f>>2]=1514689312;h=1;break b}if(cb(h,7983)){break aa}N[f>>2]=1280596512;h=1;break b;case 11:if(l-h>>>0<7){break aa}if(bb(h,10777,7)){break aa}g=O[b+8|0];if(g?(g|0)!=45:0){break aa}N[f>>2]=1514689312;h=1;break b;case 12:fb:{g=l-h|0;gb:{if(g>>>0>=10){hb:{if(bb(h,13628,10)){break hb}g=O[b+11|0];if(g?(g|0)!=45:0){break hb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12398,10)){break gb}g=O[b+11|0];if(g?(g|0)!=45:0){break gb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break fb}}ib:{if(bb(h,10721,7)){break ib}g=O[b+8|0];if(g?(g|0)!=45:0){break ib}N[f>>2]=1514689312;h=1;break b}if(bb(h,9362,7)){break fb}g=O[b+8|0];if(g?(g|0)!=45:0){break fb}N[f>>2]=1514689568;h=1;break b}jb:{if(bb(h,22505,3)){break jb}kb:{if(o>>>0<3){break kb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break kb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break jb}N[f>>2]=1514689568;h=1;break b}if(bb(h,22493,3)){break aa}if(!Ab(b,l,14039,3)){break aa}N[f>>2]=1297043028;h=1;break b;case 13:lb:{g=l-h|0;mb:{if(g>>>0>=10){nb:{if(bb(h,13683,10)){break nb}g=O[b+11|0];if(g?(g|0)!=45:0){break nb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12453,10)){break mb}g=O[b+11|0];if(g?(g|0)!=45:0){break mb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break lb}}ob:{if(bb(h,10761,7)){break ob}g=O[b+8|0];if(g?(g|0)!=45:0){break ob}N[f>>2]=1514689312;h=1;break b}if(bb(h,9402,7)){break lb}g=O[b+8|0];if(g?(g|0)!=45:0){break lb}N[f>>2]=1514689568;h=1;break b}pb:{if(bb(h,22525,3)){break pb}qb:{if(o>>>0<3){break qb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break qb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break pb}N[f>>2]=1514689568;h=1;break b}if(!cb(h,13569)){N[f>>2]=1313821216;h=1;break b}if(cb(h,12537)){break aa}N[f>>2]=1314475552;h=1;break b;case 17:if(bb(h,22514,2)|o>>>0<3){break aa}g=b;while(1){i=ub(g,16705);if(!i|i>>>0>=l>>>0){break aa}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break};N[f>>2]=1297042464;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1380928800;break b;case 22:rb:{g=l-h|0;sb:{if(g>>>0>=10){tb:{if(bb(h,13606,10)){break tb}g=O[b+11|0];if(g?(g|0)!=45:0){break tb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12376,10)){break sb}g=O[b+11|0];if(g?(g|0)!=45:0){break sb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break rb}}ub:{if(bb(h,10705,7)){break ub}g=O[b+8|0];if(g?(g|0)!=45:0){break ub}N[f>>2]=1514689312;h=1;break b}if(bb(h,9346,7)){break rb}g=O[b+8|0];if(g?(g|0)!=45:0){break rb}N[f>>2]=1514689568;h=1;break b}if(bb(h,22497,3)){break aa}vb:{if(o>>>0<3){break vb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break vb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 24:if(l-h>>>0<7){break aa}if(bb(h,10785,7)){break aa}g=O[b+8|0];if(g?(g|0)!=45:0){break aa}N[f>>2]=1514689312;h=1;break b;case 25:break ba;default:break aa}}wb:{g=l-h|0;if(g>>>0<9){break wb}xb:{if(bb(h,13706,9)){break xb}i=O[b+10|0];if(i?(i|0)!=45:0){break xb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12476,9)){break wb}i=O[b+10|0];if(i?(i|0)!=45:0){break wb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!cb(h,13112)){N[f>>2]=1514689312;h=1;break b}yb:{if(g>>>0<6){break yb}zb:{if(bb(h,10778,6)){break zb}g=O[b+7|0];if(g?(g|0)!=45:0){break zb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9419,6)){break yb}g=O[b+7|0];if(g?(g|0)!=45:0){break yb}N[f>>2]=1514689568;h=1;break b}if(!cb(h,12843)){N[f>>2]=1514689312;h=1;break b}if(bb(h,22534,2)){break aa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b}i=lc(b,45);Ab:{if(!i|(o|0)<6){break Ab}g=i+1|0;j=lc(g,45);Bb:{if(j){j=j+(i^-1)|0;break Bb}j=nb(g)}if((j|0)!=3){break Ab}b=((O[g|0]&223)-65&255)>>>0<26?g:b}o=203;g=179952;Cb:{Db:{Eb:{j=lc(b,45);h=j?j:l;l=h-b|0;switch(l-2|0){case 0:break Db;case 1:break Eb;default:break Cb}}o=1209;g=181584}j=0;Fb:{if((b|0)==(h|0)){break Fb}h=O[b|0];j=0;if(!h){break Fb}L[p+12|0]=h;j=O[b+1|0];Gb:{if(!j){h=1;break Gb}L[p+13|0]=j;h=2;if(((l>>>0>=4?4:l)|0)==2){break Gb}j=O[b+2|0];if(!j){break Gb}L[p+14|0]=j;h=3}C((p+12|0)+h|0,32,4-h|0);j=O[p+12|0]|O[p+13|0]<<8|(O[p+14|0]<<16|O[p+15|0]<<24);j=j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24)}h=N[147448];l=j;if(o>>>0>h>>>0&(j|0)==N[(h<<3)+g>>2]){break _}k=o-1|0;j=0;while(1){h=j+k>>>1|0;n=N[(h<<3)+g>>2];Hb:{if(n>>>0>l>>>0){k=h-1|0;break Hb}if(l>>>0<=n>>>0){break _}j=h+1|0}if((j|0)<=(k|0)){continue}break}}h=0;if(!i){i=nb(b)+b|0}if((i-b|0)!=3){break b}g=0;i=La-16|0;Ib:{if(!b){break Ib}j=O[b|0];if(!j){break Ib}L[i+12|0]=j;j=O[b+1|0];g=1;Jb:{if(!j){break Jb}L[i+13|0]=j;b=O[b+2|0];g=2;if(!b){break Jb}L[i+14|0]=b;g=3}C(g+(i+12|0)|0,32,4-g|0);g=O[i+15|0]|(O[i+13|0]<<16|O[i+12|0]<<24|O[i+14|0]<<8)}N[f>>2]=g&-538976257}h=1;break b}N[147448]=h;while(1){Kb:{i=h;if(!h){i=0;break Kb}h=i-1|0;if(N[(i<<3)+g>>2]==N[(h<<3)+g>>2]){continue}}break}if(!N[e>>2]){h=0;break b}b=(i<<3)+g|0;h=0;while(1){j=h+i|0;if(j>>>0>=o>>>0){break b}j=(j<<3)+g|0;l=N[j+4>>2];if(!l|N[j>>2]!=N[b>>2]){break b}N[(h<<2)+f>>2]=l;h=h+1|0;if(h>>>0>2]){continue}break}}N[e>>2]=h}if(!(!d|!c|(!m|!N[c>>2]))){i=0;Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{Sb:{Tb:{if((a|0)<=1298954604){if((a|0)<=1198877297){h=1651402546;if((a|0)==1113943655){break Ob}if((a|0)!=1147500129){break Mb}h=1684370994;break Ob}if((a|0)==1198877298){break Tb}if((a|0)==1198879349){break Sb}if((a|0)!=1265525857){break Mb}h=1802396722;break Ob}if((a|0)<=1332902240){if((a|0)==1298954605){break Rb}h=1836674354;if((a|0)==1299803506){break Nb}break Mb}if((a|0)==1332902241){break Qb}if((a|0)==1415671148){break Pb}if((a|0)!=1415933045){break Mb}h=1952803890;break Ob}h=1735029298;break Ob}h=1735750194;break Ob}h=1835822386;break Ob}h=1869773106;break Ob}h=1953328178}N[d>>2]=h|51;i=1;if(Q[c>>2]<2){break Lb}}N[(i<<2)+d>>2]=h;i=i+1|0;if(i>>>0>=Q[c>>2]){break Lb}}b=(i<<2)+d|0;Ub:{Vb:{Wb:{Xb:{Yb:{if((a|0)<=1315663726){if(!a){break Lb}if((a|0)==1214870113){break Xb}if((a|0)!=1281453935){break Yb}d=1818324768;break Ub}if((a|0)<=1500080488){if((a|0)==1315663727){break Vb}if((a|0)!=1449224553){break Yb}d=1986095392;break Ub}if((a|0)==1500080489){break Wb}d=1835103336;if((a|0)==1517122664){break Ub}}d=a|536870912;break Ub}d=1801547361;break Ub}d=2036932640;break Ub}d=1852534560}N[b>>2]=d;i=i+1|0}N[c>>2]=i}La=p+16|0}function nl(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;i=La-288|0;La=i;a:{b:{c:{d:{switch((O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))>>>24|0){case 0:g=N[b+16>>2];b=N[b+12>>2];n=N[b+32>>2];if((n|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;n=(b<<8|b>>>8)&65535;N[c+32>>2]=n}N[g+64>>2]=0;if(!O[g+60|0]){break c}l=a+12|0;w=i+40|0;while(1){c=N[g+64>>2];b=0;e:{if(c>>>0>=Q[g+68>>2]){break e}d=N[N[g+80>>2]+T(c,20)>>2];b=2;if((d|0)==65535){break e}c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);c=cc(l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,d,n);b=1;if(!c){break e}b=O[c|0]|O[c+1|0]<<8;b=(b<<8|b>>>8)&65535}d=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);m=c>>>0>b>>>0;p=T(c,j);c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);o=l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((m?b:1)+p<<1)+o|0;c=O[c|0]|O[c+1|0]<<8;h=((c<<8|c>>>8)&65535)<<2;c=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);t=l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;h=h+t|0;k=O[h|0]|O[h+1|0]<<8;c=O[h+2|0]|O[h+3|0]<<8;f:{g:{if(e>>>0>>0?c&3840:0){break g}if(!(!j|!(c&64?k:1))){b=o+((m?b:1)<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=t+(((b<<8|b>>>8)&65535)<<2)|0;j=O[b+2|0]|O[b+3|0]<<8;if((e>>>0>>0?j&3840:0)|(k|0)!=(O[b|0]|O[b+1|0]<<8)|(c^j)&64){break g}}b=o+(p+!d<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!(O[(t+(((b<<8|b>>>8)&65535)<<2)|0)+3|0]&15)|e>>>0>=f>>>0){break f}}b=N[g+64>>2];d=O[g+62|0]?N[g+72>>2]:b;if(!d|b>>>0>=Q[g+68>>2]){break f}wb(g,3,d-1|0,b+1|0,1,1);c=O[h+2|0]|O[h+3|0]<<8}c=c<<8|(c&65280)>>>8;b=c&65535;e=c<<16>>16<0?N[g+64>>2]:e;if(b&8192){c=N[g+64>>2]+1|0;f=N[g+68>>2];f=c>>>0>>0?c:f}c=b&15;h:{if(!c|e>>>0>=f>>>0){break h}b=f-e|0;if(b>>>0>64){break h}d=O[c+238112|0];t=d>>>4|0;c=t>>>0>=2?2:t;p=d&15;d=p>>>0>=2?2:p;q=c+d|0;if(q>>>0>b>>>0){break h}j=N[g+64>>2]+1|0;m=N[g+68>>2];j=j>>>0>>0?j:m;if(j-e>>>0>=2){Ib(g,e,j)}if(b>>>0>=2){Ib(g,e,f)}j=T(c,20);m=N[g+80>>2];b=m+T(e,20)|0;if(c){F(i,b,j)}o=T(d,20);if(d){F(w,(m+T(f,20)|0)+T(d,-20)|0,o)}if((c|0)!=(d|0)){F(b+o|0,b+j|0,T(f-(e+q|0)|0,20))}if(d){F(b,w,o)}if(c){F((m+T(f,20)|0)+T(c,-20)|0,i,j)}if((t|0)==3){d=m+T(f,20)|0;c=d-20|0;N[i+16>>2]=N[c+16>>2];j=N[c+4>>2];N[i>>2]=N[c>>2];N[i+4>>2]=j;j=N[c+12>>2];N[i+8>>2]=N[c+8>>2];N[i+12>>2]=j;d=d-40|0;N[c+16>>2]=N[d+16>>2];j=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=j;j=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=j;N[d+16>>2]=N[i+16>>2];c=N[i+12>>2];N[d+8>>2]=N[i+8>>2];N[d+12>>2]=c;c=N[i+4>>2];N[d>>2]=N[i>>2];N[d+4>>2]=c}if((p|0)!=3){break h}N[i+16>>2]=N[b+16>>2];c=N[b+4>>2];N[i>>2]=N[b>>2];N[i+4>>2]=c;c=N[b+12>>2];N[i+8>>2]=N[b+8>>2];N[i+12>>2]=c;N[b+16>>2]=N[b+36>>2];c=N[b+32>>2];N[b+8>>2]=N[b+28>>2];N[b+12>>2]=c;c=N[b+24>>2];N[b>>2]=N[b+20>>2];N[b+4>>2]=c;N[b+36>>2]=N[i+16>>2];c=N[i+12>>2];N[b+28>>2]=N[i+8>>2];N[b+32>>2]=c;c=N[i+4>>2];N[b+20>>2]=N[i>>2];N[b+24>>2]=c}b=N[g+64>>2];if(!O[g+60|0]|(b|0)==N[g+68>>2]){break c}i:{if(O[h+2|0]&64){c=N[g+152>>2];N[g+152>>2]=c-1;if((c|0)>0){break i}}if(O[g+62|0]){j=N[g+72>>2];c=N[g+84>>2];h=N[g+80>>2];j:{if((c|0)==(h|0)){d=b;if((d|0)==(j|0)){break j}}b=j+1|0;if(!(!b|b>>>0>2])){if(!gb(g,b)){break i}h=N[g+80>>2];c=N[g+84>>2]}k:{if((c|0)!=(h|0)){break k}b=N[g+72>>2];if(b+1>>>0<=N[g+64>>2]+1>>>0){c=h;break k}if(!O[g+62|0]){break b}c=N[g+88>>2];N[g+84>>2]=c;b=T(b,20);if(!b){break k}F(c,h,b);c=N[g+84>>2];h=N[g+80>>2]}b=T(N[g+72>>2],20)+c|0;c=T(N[g+64>>2],20)+h|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;b=N[g+64>>2];d=N[g+72>>2]}N[g+72>>2]=d+1}N[g+64>>2]=b+1}j=(k<<8|k>>>8)&65535;if(O[g+60|0]){continue}break};break c;case 1:c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);o=N[b+68>>2];e=O[o|0]|O[o+1|0]<<8;f=O[o+4|0]|O[o+5|0]<<8;d=N[b+16>>2];b=N[b+12>>2];n=N[b+32>>2];if((n|0)==-1){h=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;n=(b<<8|b>>>8)&65535;N[h+32>>2]=n}N[d+64>>2]=0;if(!O[d+60|0]){break c}m=a+12|0;w=m+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;y=!f|(e|0)!=256;while(1){c=N[d+64>>2];b=0;l:{if(c>>>0>=Q[d+68>>2]){break l}e=N[N[d+80>>2]+T(c,20)>>2];b=2;if((e|0)==65535){break l}c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);c=cc(m+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,e,n);b=1;if(!c){break l}b=O[c|0]|O[c+1|0]<<8;b=(b<<8|b>>>8)&65535}c=b;f=c;h=O[m|0]|O[m+1|0]<<8|(O[m+2|0]<<16|O[m+3|0]<<24);b=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);r=c>>>0>>0;if(!r){f=1}s=T(b,j);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);k=m+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;b=(f+s<<1)+k|0;b=O[b|0]|O[b+1|0]<<8;f=((b<<8|b>>>8)&65535)<<3;b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);p=m+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;f=f+p|0;t=O[f|0]|O[f+1|0]<<8;u=l&255;b=N[d+68>>2];e=N[d+64>>2];q=!u&(b|0)==(e|0);m:{n:{if(!q&((O[f+4|0]|O[f+5|0]<<8)!=65535|(O[f+6|0]|O[f+7|0]<<8)!=65535)){break n}o:{if(!j){break o}j=O[f+2|0]|O[f+3|0]<<8;if(!(j&64?t:1)){break o}c=k+((r?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=p+(((c<<8|c>>>8)&65535)<<3)|0;if(!q&((O[c+4|0]|O[c+5|0]<<8)!=65535|(O[c+6|0]|O[c+7|0]<<8)!=65535)|((j^(O[c+2|0]|O[c+3|0]<<8))&64|(t|0)!=(O[c|0]|O[c+1|0]<<8))){break n}}c=!h;if(q){b=e;break m}c=k+(c+s<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=p+(((c<<8|c>>>8)&65535)<<3)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535){break n}if((O[c+6|0]|O[c+7|0]<<8)==65535){break m}}if(b>>>0<=e>>>0){break m}c=O[d+62|0]?N[d+72>>2]:e;if(!c){break m}wb(d,3,c-1|0,e+1|0,1,1);b=N[d+68>>2];e=N[d+64>>2]}if(u|(b|0)!=(e|0)){b=O[f+4|0]|O[f+5|0]<<8;p:{if((b|0)==65535){break p}b=w+(((b<<8|b>>>8)&65535)<<2)|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);r=T(g,20);s=cc(w+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0,N[r+N[d+80>>2]>>2],n);if(!s){break p}b=N[d+64>>2]+1|0;c=N[d+68>>2];p=b>>>0>>0?b:c;q=p-g|0;q:{if(q>>>0<=1){e=N[d+80>>2];break q}j=N[d+144>>2]|32;N[d+144>>2]=j;e=N[d+80>>2];if(g>>>0>=p>>>0){break q}b=-1;c=g;u=p+(c^-1)|0;if(u>>>0>=3){v=q&-4;k=0;while(1){h=T(c,20)+e|0;x=N[h+8>>2];b=b>>>0>>0?b:x;x=N[h+28>>2];b=b>>>0>>0?b:x;x=N[h+48>>2];b=b>>>0>>0?b:x;h=N[h+68>>2];b=b>>>0>>0?b:h;c=c+4|0;k=k+4|0;if((v|0)!=(k|0)){continue}break}}h=0;k=q&3;if(k){while(1){v=N[(T(c,20)+e|0)+8>>2];b=b>>>0>>0?b:v;c=c+1|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}c=g;if(q&1){c=e+r|0;if(N[c+8>>2]!=(b|0)){N[c+4>>2]=N[c+4>>2]|3}c=g+1|0}if(!u){break q}while(1){h=T(c,20)+e|0;if(N[h+8>>2]!=(b|0)){j=j|32;N[d+144>>2]=j;N[h+4>>2]=N[h+4>>2]|3}h=T(c+1|0,20)+e|0;if(N[h+8>>2]!=(b|0)){j=j|32;N[d+144>>2]=j;N[h+4>>2]=N[h+4>>2]|3}c=c+2|0;if((p|0)!=(c|0)){continue}break}}b=e+r|0;c=O[s|0]|O[s+1|0]<<8;c=(c<<8|c>>>8)&65535;N[b>>2]=c;if(y){break p}z=b,A=Uc(o,c),M[z+12>>1]=A}b=O[f+6|0]|O[f+7|0]<<8;r:{if((b|0)==65535){break r}b=w+(((b<<8|b>>>8)&65535)<<2)|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);e=w+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;b=N[d+64>>2];c=N[d+68>>2]-1|0;c=T(b>>>0>>0?b:c,20);b=cc(e,N[c+N[d+80>>2]>>2],n);if(!b){break r}c=c+N[d+80>>2]|0;b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;N[c>>2]=b;if(y){break r}z=c,A=Uc(o,b),M[z+12>>1]=A}b=N[d+64>>2];c=O[f+2|0]&128;g=c?b:g;l=c?1:l}else{l=0}if(!O[d+60|0]|N[d+68>>2]==(b|0)){break c}s:{if(O[f+2|0]&64){c=N[d+152>>2];N[d+152>>2]=c-1;if((c|0)>0){break s}}if(O[d+62|0]){h=N[d+72>>2];c=N[d+84>>2];f=N[d+80>>2];t:{if((c|0)==(f|0)){e=b;if((b|0)==(h|0)){break t}}b=h+1|0;if(!(!b|b>>>0>2])){if(!gb(d,b)){break s}f=N[d+80>>2];c=N[d+84>>2]}u:{if((c|0)!=(f|0)){break u}b=N[d+72>>2];if(b+1>>>0<=N[d+64>>2]+1>>>0){c=f;break u}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break u}F(c,f,b);c=N[d+84>>2];f=N[d+80>>2]}b=T(N[d+72>>2],20)+c|0;c=T(N[d+64>>2],20)+f|0;e=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=e;N[b+16>>2]=N[c+16>>2];e=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=e;b=N[d+64>>2];e=N[d+72>>2]}N[d+72>>2]=e+1}N[d+64>>2]=b+1}j=(t<<8|t>>>8)&65535;if(O[d+60|0]){continue}break};break c;case 2:L[i|0]=0;k=a+12|0;N[i+8>>2]=k;N[i+4>>2]=b;c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);N[i+12>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);N[i+16>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24);N[i+24>>2]=0;N[i+20>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));d=N[b+16>>2];b=N[b+12>>2];n=N[b+32>>2];if((n|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;n=(b<<8|b>>>8)&65535;N[c+32>>2]=n}N[d+72>>2]=0;M[d+62>>1]=1;N[d+64>>2]=0;N[d+84>>2]=N[d+80>>2];v:{if(!O[d+60|0]){break v}while(1){c=N[d+64>>2];b=0;w:{if(c>>>0>=Q[d+68>>2]){break w}e=N[N[d+80>>2]+T(c,20)>>2];b=2;if((e|0)==65535){break w}c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);c=cc(k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,e,n);b=1;if(!c){break w}b=O[c|0]|O[c+1|0]<<8;b=(b<<8|b>>>8)&65535}e=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);l=c>>>0>b>>>0;o=T(c,h);c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);f=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((l?b:1)+o<<1)+f|0;c=O[c|0]|O[c+1|0]<<8;q=T((c<<8|c>>>8)&65535,6);c=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);g=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;j=q+g|0;m=O[j|0]|O[j+1|0]<<8;c=O[j+2|0]|O[j+3|0]<<8;x:{y:{if(c&32){break y}if(!(!h|!(c&64?m:1))){b=f+((l?b:1)<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=g+T((b<<8|b>>>8)&65535,6)|0;h=O[b+2|0]|O[b+3|0]<<8;if(h&32|(m|0)!=(O[b|0]|O[b+1|0]<<8)|(c^h)&64){break y}}b=f+(o+!e<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!(O[(g+T((b<<8|b>>>8)&65535,6)|0)+2|0]&32)){break x}}b=N[d+64>>2];e=O[d+62|0]?N[d+72>>2]:b;if(!e|b>>>0>=Q[d+68>>2]){break x}wb(d,3,e-1|0,b+1|0,1,1);c=O[j+2|0]|O[j+3|0]<<8}if(c&128){b=N[i+24>>2];z:{if(!b){f=N[d+72>>2];b=0;break z}f=N[d+72>>2];b=b-((f|0)==N[(((b-1&63)<<2)+i|0)+28>>2])|0}N[i+24>>2]=b+1;N[(((b&63)<<2)+i|0)+28>>2]=f}A:{if(!(c&32)){break A}h=N[i+24>>2];if(!h|Q[d+64>>2]>=Q[d+68>>2]){break A}w=N[d+72>>2];b=O[j+4|0]|O[j+5|0]<<8;l=N[i+12>>2]+(((b<<8|b>>>8)&65535)<<2)|0;g=0;B:{while(1){if(!h){N[i+24>>2]=0;ec(d,w);break A}h=h-1|0;t=((h&63)<<2)+i|0;if(!ec(d,N[t+28>>2])){break A}b=N[i+4>>2];f=N[b+24>>2];C:{if(l>>>0>>0){break C}c=N[b+28>>2];if(c>>>0>>0|c-l>>>0<4){break C}c=N[b+32>>2]-4|0;N[b+32>>2]=c;if((c|0)<=0){break C}c=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);o=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=N[N[d+80>>2]+T(N[d+64>>2],20)>>2]+(c<<26>>31&-1073741824|o&1073741823)|0;if((c|0)<0){c=275552}else{b=N[i+4>>2];f=N[b+24>>2];c=N[i+16>>2]+(c<<1)|0}if(c>>>0>>0){break C}e=N[b+28>>2];if(e>>>0>>0|e-c>>>0<2){break C}e=N[b+32>>2]-2|0;N[b+32>>2]=e;if((e|0)<=0){break C}c=O[c|0]|O[c+1|0]<<8;g=((c<<8|c>>>8)&65535)+g|0;if(o>>>0>=1073741824){if((g|0)<0){c=275552}else{b=N[i+4>>2];f=N[b+24>>2];c=N[i+20>>2]+(g<<1)|0}if(c>>>0>>0){break C}e=N[b+28>>2];if(e>>>0>>0|e-c>>>0<2){break C}f=b+32|0;b=N[b+32>>2]-2|0;N[f>>2]=b;if((b|0)<=0){break C}b=O[c|0]|O[c+1|0]<<8;c=N[d+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break A}}c=N[d+84>>2];D:{if((c|0)!=N[d+80>>2]){break D}e=N[d+72>>2];if(e+1>>>0<=N[d+64>>2]+1>>>0){break D}if(!O[d+62|0]){break b}f=N[d+88>>2];N[d+84>>2]=f;e=T(e,20);if(!e){break D}F(f,c,e)}e=N[d+68>>2];c=N[d+64>>2];if(e>>>0>>0){break a}p=(b<<8|b>>>8)&65535;E:{if(c>>>0>>0){b=N[d+80>>2]+T(c,20)|0;c=N[d+72>>2];f=N[d+84>>2];break E}f=N[d+84>>2];c=N[d+72>>2];b=c-1|0;b=f+T(b>>>0<=c>>>0?b:0,20)|0}e=N[b+4>>2];c=T(c,20)+f|0;N[c>>2]=N[b>>2];N[c+4>>2]=e;N[c+16>>2]=N[b+16>>2];e=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=e;N[c>>2]=p;N[d+64>>2]=N[d+64>>2]+1;N[d+72>>2]=N[d+72>>2]+1;b=N[i+24>>2]-1|0;p=N[(((b&63)<<2)+i|0)+28>>2];if(b>>>0>h>>>0){while(1){f=b;if(!ec(d,N[(((b&63)<<2)+i|0)+28>>2])){break B}b=N[d+72>>2]+1|0;if(!(!b|b>>>0>2])){if(!gb(d,b)){break B}}b=N[d+84>>2];F:{if((b|0)!=N[d+80>>2]){break F}c=N[d+72>>2];if(c+1>>>0<=N[d+64>>2]+1>>>0){break F}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break F}F(e,b,c)}c=N[d+68>>2];b=N[d+64>>2];if(c>>>0>>0){break a}G:{if(b>>>0>>0){c=N[d+72>>2];e=N[d+84>>2];b=N[d+80>>2]+T(b,20)|0;break G}e=N[d+84>>2];c=N[d+72>>2];b=c-1|0;b=e+T(b>>>0<=c>>>0?b:0,20)|0}c=T(c,20)+e|0;e=N[b+4>>2];N[c>>2]=N[b>>2];N[c+4>>2]=e;N[c+16>>2]=N[b+16>>2];e=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=e;N[c>>2]=65535;N[d+64>>2]=N[d+64>>2]+1;N[d+72>>2]=N[d+72>>2]+1;b=f-1|0;if(h>>>0>>0){continue}break}N[i+24>>2]=f}if(!ec(d,p+1|0)){break A}wd(d,N[t+28>>2],N[d+72>>2])}l=l+4|0;if((o|0)>=0){continue}}break}ec(d,w);break A}N[i+24>>2]=f}b=N[d+64>>2];if(!O[d+60|0]|(b|0)==N[d+68>>2]){break v}H:{if(O[j+2|0]&64){c=N[d+152>>2];N[d+152>>2]=c-1;if((c|0)>0){break H}}if(O[d+62|0]){g=N[d+72>>2];c=N[d+84>>2];f=N[d+80>>2];I:{if((c|0)==(f|0)){e=b;if((b|0)==(g|0)){break I}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(d,b)){break H}f=N[d+80>>2];c=N[d+84>>2]}J:{if((c|0)!=(f|0)){break J}b=N[d+72>>2];if(b+1>>>0<=N[d+64>>2]+1>>>0){c=f;break J}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break J}F(c,f,b);c=N[d+84>>2];f=N[d+80>>2]}b=T(N[d+72>>2],20)+c|0;c=T(N[d+64>>2],20)+f|0;e=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=e;N[b+16>>2]=N[c+16>>2];e=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=e;b=N[d+64>>2];e=N[d+72>>2]}N[d+72>>2]=e+1}N[d+64>>2]=b+1}h=(m<<8|m>>>8)&65535;if(O[d+60|0]){continue}break}}Ac(d);break c;case 4:f=N[b+68>>2];d=O[f+4|0]|O[f+5|0]<<8;h=O[f|0]|O[f+1|0]<<8;g=N[b+12>>2];c=N[g+32>>2];if((c|0)==-1){c=sb(g+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[g+32>>2]=c}g=N[b+16>>2];b=N[g+68>>2];if(!b){break c}a=a+12|0;g=N[g+80>>2];if((h|0)==256&(d|0)!=0){while(1){d=g+T(e,20)|0;h=cc(a,N[d>>2],c);if(h){h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;N[d>>2]=h;z=d,A=Uc(f,h),M[z+12>>1]=A}e=e+1|0;if((b|0)!=(e|0)){continue}break c}}while(1){d=g+T(e,20)|0;f=cc(a,N[d>>2],c);if(f){f=O[f|0]|O[f+1|0]<<8;N[d>>2]=(f<<8|f>>>8)&65535}e=e+1|0;if((b|0)!=(e|0)){continue}break};break c;case 5:break d;default:break c}}c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);d=N[b+16>>2];f=N[b+12>>2];t=N[f+32>>2];if((t|0)==-1){g=f;f=sb(f+56|0);f=O[f+4|0]|O[f+5|0]<<8;t=(f<<8|f>>>8)&65535;N[g+32>>2]=t}N[d+72>>2]=0;M[d+62>>1]=1;N[d+64>>2]=0;N[d+84>>2]=N[d+80>>2];K:{if(!O[d+60|0]){break K}j=a+12|0;p=j+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;while(1){f=N[d+64>>2];c=0;L:{if(f>>>0>=Q[d+68>>2]){break L}g=N[N[d+80>>2]+T(f,20)>>2];c=2;if((g|0)==65535){break L}f=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);f=cc(j+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0,g,t);c=1;if(!f){break L}c=O[f|0]|O[f+1|0]<<8;c=(c<<8|c>>>8)&65535}f=c;g=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);c=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);k=c>>>0>f>>>0;m=T(c,e);c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);h=j+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((k?f:1)+m<<1)+h|0;c=O[c|0]|O[c+1|0]<<8;q=((c<<8|c>>>8)&65535)<<3;c=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);l=j+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;n=q+l|0;o=O[n|0]|O[n+1|0]<<8;c=O[n+2|0]|O[n+3|0]<<8;M:{N:{if((O[n+4|0]|O[n+5|0]<<8)!=65535|(O[n+6|0]|O[n+7|0]<<8)!=65535?c&65283:0){break N}if(!(!e|!(c&64?o:1))){e=h+((k?f:1)<<1)|0;e=O[e|0]|O[e+1|0]<<8;e=l+(((e<<8|e>>>8)&65535)<<3)|0;f=O[e+2|0]|O[e+3|0]<<8;if(((O[e+4|0]|O[e+5|0]<<8)!=65535|(O[e+6|0]|O[e+7|0]<<8)!=65535?f&65283:0)|((c^f)&64|(o|0)!=(O[e|0]|O[e+1|0]<<8))){break N}}e=h+(m+!g<<1)|0;e=O[e|0]|O[e+1|0]<<8;e=l+(((e<<8|e>>>8)&65535)<<3)|0;if(!((O[e+2|0]|O[e+3|0]<<8)&65283)){break M}if((O[e+4|0]|O[e+5|0]<<8)!=65535){break N}if((O[e+6|0]|O[e+7|0]<<8)==65535){break M}}e=N[d+64>>2];f=O[d+62|0]?N[d+72>>2]:e;if(!f|e>>>0>=Q[d+68>>2]){break M}wb(d,3,f-1|0,e+1|0,1,1);c=O[n+2|0]|O[n+3|0]<<8}q=c<<8|(c&65280)>>>8;m=q&65535;y=N[d+72>>2];c=O[n+6|0]|O[n+7|0]<<8;O:{if((c|0)!=65535){g=m&31;e=N[d+152>>2]-g|0;N[d+152>>2]=e;if((e|0)<=0){break O}k=p+(((c<<8|c>>>8)&65535)<<1)|0;P:{Q:{if(!g|k>>>0>2]){break Q}c=N[b+28>>2];if(c>>>0>>0){break Q}f=c-k|0;c=g<<1;if(f>>>0>>0){break Q}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break P}}g=0}r=N[d+72>>2];if(!ec(d,w)){break O}R:{S:{s=m&1024;if(!s){e=N[d+64>>2];if(e>>>0>2]){break S}}e=N[d+72>>2];break R}c=N[d+80>>2];e=c+T(e,20)|0;N[i+16>>2]=N[e+16>>2];f=N[e+12>>2];N[i+8>>2]=N[e+8>>2];N[i+12>>2]=f;f=N[e+4>>2];N[i>>2]=N[e>>2];N[i+4>>2]=f;e=N[d+72>>2]+1|0;if(!(!e|e>>>0>2])){if(!gb(d,e)){break O}c=N[d+80>>2]}e=N[d+84>>2];T:{if((e|0)!=(c|0)){break T}f=N[d+72>>2];if(Q[d+64>>2]>=f+1>>>0){e=c;break T}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;f=T(f,20);if(!f){break T}F(e,c,f);e=N[d+84>>2]}c=T(N[d+72>>2],20)+e|0;e=N[i+4>>2];N[c>>2]=N[i>>2];N[c+4>>2]=e;N[c+16>>2]=N[i+16>>2];e=N[i+12>>2];N[c+8>>2]=N[i+8>>2];N[c+12>>2]=e;e=N[d+72>>2]+1|0;N[d+72>>2]=e}c=e+g|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break O}}c=N[d+84>>2];U:{if((c|0)!=N[d+80>>2]){break U}e=N[d+72>>2];if(Q[d+64>>2]>=e+g>>>0){break U}if(!O[d+62|0]){break b}f=N[d+88>>2];N[d+84>>2]=f;e=T(e,20);if(!e){break U}F(f,c,e)}f=N[d+68>>2];e=N[d+64>>2];if(f>>>0>>0){break a}V:{if(e>>>0>>0){h=N[d+72>>2];l=N[d+84>>2];c=N[d+80>>2]+T(e,20)|0;break V}l=N[d+84>>2];h=N[d+72>>2];c=h-1|0;c=l+T(c>>>0<=h>>>0?c:0,20)|0}W:{if(!g){N[d+72>>2]=h;break W}e=T(h,20)+l|0;f=0;X:{if((g|0)!=1){h=g&1;l=g&30;while(1){u=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=u;N[e+16>>2]=N[c+16>>2];u=c+8|0;v=N[u+4>>2];N[e+8>>2]=N[u>>2];N[e+12>>2]=v;u=f<<1;v=u+k|0;v=O[v|0]|O[v+1|0]<<8;N[e>>2]=(v<<8|v>>>8)&65535;N[e+36>>2]=N[c+16>>2];v=N[c+12>>2];N[e+28>>2]=N[c+8>>2];N[e+32>>2]=v;v=N[c+4>>2];N[e+20>>2]=N[c>>2];N[e+24>>2]=v;u=k+(u|2)|0;u=O[u|0]|O[u+1|0]<<8;N[e+20>>2]=(u<<8|u>>>8)&65535;e=e+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break X}}h=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=h;N[e+16>>2]=N[c+16>>2];h=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=h;c=k+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[e>>2]=(c<<8|c>>>8)&65535}N[d+72>>2]=N[d+72>>2]+g;f=N[d+68>>2];e=N[d+64>>2]}if(!(e>>>0>=f>>>0|s)){N[d+64>>2]=e+1}if(!ec(d,g+r|0)){break O}c=N[d+64>>2]+1|0;e=N[d+68>>2];wb(d,3,w,c>>>0>>0?c:e,1,1)}w=q<<16>>16<0?y:w;c=O[n+4|0]|O[n+5|0]<<8;if((c|0)==65535){break O}k=m>>>5&31;e=N[d+152>>2]-k|0;N[d+152>>2]=e;if((e|0)<=0){break O}g=p+(((c<<8|c>>>8)&65535)<<1)|0;Y:{Z:{if(!k|g>>>0>2]){break Z}c=N[b+28>>2];if(c>>>0>>0){break Z}f=c-g|0;c=k<<1;if(f>>>0>>0){break Z}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break Y}}k=0}q=N[d+72>>2];e=q;y=m&2048;_:{if(y){break _}c=N[d+64>>2];if(c>>>0>=Q[d+68>>2]){break _}f=N[d+80>>2];c=f+T(c,20)|0;N[i+16>>2]=N[c+16>>2];e=N[c+12>>2];N[i+8>>2]=N[c+8>>2];N[i+12>>2]=e;e=N[c+4>>2];N[i>>2]=N[c>>2];N[i+4>>2]=e;c=q+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break O}f=N[d+80>>2]}e=N[d+84>>2];$:{if((e|0)!=(f|0)){break $}c=N[d+72>>2];if(Q[d+64>>2]>=c+1>>>0){e=f;break $}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break $}F(e,f,c);e=N[d+84>>2]}c=T(N[d+72>>2],20)+e|0;e=N[i+4>>2];N[c>>2]=N[i>>2];N[c+4>>2]=e;N[c+16>>2]=N[i+16>>2];e=N[i+12>>2];N[c+8>>2]=N[i+8>>2];N[c+12>>2]=e;e=N[d+72>>2]+1|0;N[d+72>>2]=e}c=e+k|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break O}}c=N[d+84>>2];aa:{if((c|0)!=N[d+80>>2]){break aa}e=N[d+72>>2];if(Q[d+64>>2]>=e+k>>>0){break aa}if(!O[d+62|0]){break b}f=N[d+88>>2];N[d+84>>2]=f;e=T(e,20);if(!e){break aa}F(f,c,e)}f=N[d+68>>2];e=N[d+64>>2];if(f>>>0>>0){break a}ba:{if(e>>>0>>0){h=N[d+72>>2];l=N[d+84>>2];c=N[d+80>>2]+T(e,20)|0;break ba}l=N[d+84>>2];h=N[d+72>>2];c=h-1|0;c=l+T(c>>>0<=h>>>0?c:0,20)|0}ca:{if(!k){N[d+72>>2]=h;break ca}e=T(h,20)+l|0;f=0;da:{if((k|0)!=1){h=k&1;l=k&30;while(1){r=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=r;N[e+16>>2]=N[c+16>>2];r=c+8|0;s=N[r+4>>2];N[e+8>>2]=N[r>>2];N[e+12>>2]=s;r=f<<1;s=r+g|0;s=O[s|0]|O[s+1|0]<<8;N[e>>2]=(s<<8|s>>>8)&65535;N[e+36>>2]=N[c+16>>2];s=N[c+12>>2];N[e+28>>2]=N[c+8>>2];N[e+32>>2]=s;s=N[c+4>>2];N[e+20>>2]=N[c>>2];N[e+24>>2]=s;r=g+(r|2)|0;r=O[r|0]|O[r+1|0]<<8;N[e+20>>2]=(r<<8|r>>>8)&65535;e=e+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break da}}h=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=h;N[e+16>>2]=N[c+16>>2];h=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=h;c=g+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[e>>2]=(c<<8|c>>>8)&65535}N[d+72>>2]=N[d+72>>2]+k;f=N[d+68>>2];e=N[d+64>>2]}if(!(e>>>0>=f>>>0|y)){N[d+64>>2]=e+1}ec(d,q+(m&16384?0:k)|0)}e=N[d+64>>2];if(!O[d+60|0]|(e|0)==N[d+68>>2]){break K}ea:{if(O[n+2|0]&64){c=N[d+152>>2];N[d+152>>2]=c-1;if((c|0)>0){break ea}}if(O[d+62|0]){h=N[d+72>>2];c=N[d+84>>2];f=N[d+80>>2];fa:{if((c|0)==(f|0)){g=e;if((e|0)==(h|0)){break fa}}e=h+1|0;if(!(!e|e>>>0>2])){if(!gb(d,e)){break ea}f=N[d+80>>2];c=N[d+84>>2]}ga:{if((c|0)!=(f|0)){break ga}e=N[d+72>>2];if(e+1>>>0<=N[d+64>>2]+1>>>0){c=f;break ga}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;e=T(e,20);if(!e){break ga}F(c,f,e);c=N[d+84>>2];f=N[d+80>>2]}e=T(N[d+64>>2],20)+f|0;f=N[e+4>>2];c=T(N[d+72>>2],20)+c|0;N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;e=N[d+64>>2];g=N[d+72>>2]}N[d+72>>2]=g+1}N[d+64>>2]=e+1}e=(o<<8|o>>>8)&65535;if(O[d+60|0]){continue}break}}Ac(d)}La=i+288|0;return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function iq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=U(0),l=0,m=0,n=U(0),o=U(0),p=0,q=0,r=U(0),s=0,t=0,u=U(0),v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;w=La-16|0;La=w;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:{z:{A:{B:{C:{D:{E:{F:{switch(a-1|0){default:switch(a-255|0){case 37:break j;case 36:break k;case 35:break l;case 0:break E;case 38:break i;default:break h};case 10:a=N[b+4>>2];if(a>>>0>2]){N[b+8>>2]=a+1}c=b+4164|0;a=N[b+4168>>2];G:{if(a){a=a-1|0;N[b+4168>>2]=a;a=(c+T(a,20)|0)+8|0;break G}L[c|0]=1;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;a=589824}c=N[a+4>>2];N[b+4128>>2]=N[a>>2];N[b+4132>>2]=c;N[b+4144>>2]=N[a+16>>2];i=a+8|0;c=N[i+4>>2];h=b+4136|0;N[h>>2]=N[i>>2];N[h+4>>2]=c;i=N[a>>2];c=N[a+4>>2];N[b+8>>2]=N[a+8>>2];N[b>>2]=i;N[b+4>>2]=c;break a;case 30:break m;case 29:break n;case 26:break o;case 25:break p;case 24:break q;case 23:break r;case 7:break s;case 6:break t;case 5:break u;case 4:break v;case 3:break w;case 21:break x;case 20:break y;case 18:case 19:break z;case 2:case 22:break A;case 0:case 17:break B;case 28:break C;case 9:break D;case 13:break F;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break h}}L[b+4148|0]=1;N[b+20>>2]=0;break a}a=N[b+4>>2];c=N[b+8>>2];if(a>>>0>>0){break a}h=b+16|0;H:{if(a>>>0<=c>>>0){c=a+1|0;a=275552;break H}a=N[b>>2]+c|0}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);i=N[b+20>>2];I:{if(i>>>0<=512){N[b+20>>2]=i+1;i=(h+(i<<3)|0)+8|0;break I}L[h|0]=1;N[147456]=0;N[147457]=0;i=589824}S[i>>3]=+(a|0)*152587890625e-16;N[b+8>>2]=c+4;break a}c=b+16|0;J:{a=N[b+20>>2];K:{if(a){a=a-1|0;N[b+20>>2]=a;d=S[(c+(a<<3)|0)+8>>3];if(V(d)<2147483648){a=~~d;break K}a=-2147483648;break K}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}g=a+N[b+4380>>2]|0;L:{if((g|0)<0){break L}a=N[b+4384>>2];if(!a){break L}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(g>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break L}a=N[b+4168>>2];if(a>>>0<10){break J}}N[b+8>>2]=N[b+4>>2]+1;break a}h=N[b+4>>2];j=N[b>>2];N[b+4128>>2]=j;N[b+4132>>2]=h;N[b+4168>>2]=a+1;l=b+4136|0;N[l>>2]=N[b+8>>2];c=T(a,20)+b|0;i=b+4144|0;N[c+4188>>2]=N[i>>2];a=c+4172|0;N[a>>2]=j;N[a+4>>2]=h;a=N[l+4>>2];c=c+4180|0;N[c>>2]=N[l>>2];N[c+4>>2]=a;h=b+4128|0;a=0;j=N[b+4384>>2];M:{if(!j){break M}c=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if(g>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break M}be(w,j,g);a=N[w>>2];s=N[w+4>>2]}N[b+4128>>2]=a;N[b+4132>>2]=s;N[i>>2]=g;N[l>>2]=0;N[l+4>>2]=2;N[b+8>>2]=N[h+8>>2];a=N[h+4>>2];N[b>>2]=N[h>>2];N[b+4>>2]=a;break a}c=b+16|0;N:{a=N[b+20>>2];O:{if(a){a=a-1|0;N[b+20>>2]=a;d=S[(c+(a<<3)|0)+8>>3];if(V(d)<2147483648){a=~~d;break O}a=-2147483648;break O}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}g=a+N[b+4372>>2]|0;P:{if((g|0)<0){break P}a=N[b+4376>>2];if(!a){break P}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(g>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break P}a=N[b+4168>>2];if(a>>>0<10){break N}}N[b+8>>2]=N[b+4>>2]+1;break a}h=N[b+4>>2];j=N[b>>2];N[b+4128>>2]=j;N[b+4132>>2]=h;N[b+4168>>2]=a+1;l=b+4136|0;N[l>>2]=N[b+8>>2];c=T(a,20)+b|0;i=b+4144|0;N[c+4188>>2]=N[i>>2];a=c+4172|0;N[a>>2]=j;N[a+4>>2]=h;a=N[l+4>>2];c=c+4180|0;N[c>>2]=N[l>>2];N[c+4>>2]=a;h=b+4128|0;a=0;j=N[b+4376>>2];Q:{if(!j){break Q}c=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if(g>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break Q}be(w,j,g);a=N[w>>2];s=N[w+4>>2]}N[b+4128>>2]=a;N[b+4132>>2]=s;N[i>>2]=g;N[l>>2]=0;N[l+4>>2]=1;N[b+8>>2]=N[h+8>>2];a=N[h+4>>2];N[b>>2]=N[h>>2];N[b+4>>2]=a;break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4152>>2]=N[b+4152>>2]+(a>>>1|0);break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4156>>2]=N[b+4156>>2]+(a>>>1|0);break a}R:{if(O[b+4150|0]){c=N[b+4160>>2];break R}L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;c=(a+N[b+4152>>2]|0)+7>>>3|0;N[b+4160>>2]=c}a=N[b+8>>2]+c|0;if(a>>>0>Q[b+4>>2]){break a}N[b+8>>2]=a;N[b+20>>2]=0;break a}j=b+16|0;f=S[b+4400>>3];d=S[b+4392>>3];h=N[b+20>>2];if(!h){i=589824;break c}a=h-1|0;N[b+20>>2]=a;i=(j+(a<<3)|0)+8|0;if(!a){break c}a=h-2|0;N[b+20>>2]=a;e=S[(j+(a<<3)|0)+8>>3];break b}i=b+16|0;f=S[b+4400>>3];d=S[b+4392>>3];a=N[b+20>>2];S:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(i+(a<<3)|0)+8>>3];break S}L[i|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];d=e+d;hj(N[c>>2],R[a+44>>2],R[a+48>>2],d,f);S[b+4400>>3]=f;S[b+4392>>3]=d;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}i=b+16|0;d=S[b+4400>>3];f=S[b+4392>>3];a=N[b+20>>2];T:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(i+(a<<3)|0)+8>>3];break T}L[i|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];d=e+d;hj(N[c>>2],R[a+44>>2],R[a+48>>2],f,d);S[b+4400>>3]=d;S[b+4392>>3]=f;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}h=N[b+20>>2];if(h>>>0>=2){l=b+16|0;e=S[b+4400>>3];d=S[b+4392>>3];j=2;a=0;while(1){U:{if(a>>>0>=h>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;i=589824;break U}i=(l+(a<<3)|0)+8|0}a=a|1;V:{if(a>>>0>=h>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break V}f=S[(l+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+S[i>>3];e=f+e;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;h=N[b+20>>2];a=j;j=a+2|0;if(h>>>0>=j>>>0){continue}break}}N[b+20>>2]=0;break a}l=b+16|0;j=N[b+20>>2];if(j>>>0>=2){e=S[b+4400>>3];d=S[b+4392>>3];i=2;a=0;while(1){h=i;W:{if(a>>>0>=j>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break W}f=S[(l+(a<<3)|0)+8>>3]}i=N[c+4>>2];d=d+f;od(N[c>>2],R[i+44>>2],R[i+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=a|1;X:{if(a>>>0>=Q[b+20>>2]){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break X}f=S[(l+(a<<3)|0)+8>>3]}a=N[c+4>>2];e=e+f;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;j=N[b+20>>2];a=h;i=a+2|0;if(j>>>0>=i>>>0){continue}break}}if(h>>>0>>0){a=N[c+4>>2];k=R[a+44>>2];n=R[a+48>>2];e=S[b+4392>>3]+S[(l+(h<<3)|0)+8>>3];a=b+4400|0;d=S[a>>3];od(N[c>>2],k,n,e,d);S[a>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}l=b+16|0;j=N[b+20>>2];if(j>>>0>=2){e=S[b+4400>>3];d=S[b+4392>>3];i=2;a=0;while(1){h=i;Y:{if(a>>>0>=j>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break Y}f=S[(l+(a<<3)|0)+8>>3]}i=N[c+4>>2];e=e+f;od(N[c>>2],R[i+44>>2],R[i+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=a|1;Z:{if(a>>>0>=Q[b+20>>2]){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break Z}f=S[(l+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+f;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;j=N[b+20>>2];a=h;i=a+2|0;if(j>>>0>=i>>>0){continue}break}}if(h>>>0>>0){a=N[c+4>>2];k=R[a+44>>2];n=R[a+48>>2];e=S[b+4392>>3];a=b+4400|0;d=S[a>>3]+S[(l+(h<<3)|0)+8>>3];od(N[c>>2],k,n,e,d);S[a>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}h=N[b+20>>2];if(h>>>0>=6){g=b+16|0;e=S[b+4400>>3];d=S[b+4392>>3];i=6;a=0;while(1){_:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break _}j=(g+(a<<3)|0)+8|0}l=a|1;$:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break $}m=S[(g+(l<<3)|0)+8>>3]}p=S[j>>3];j=a+2|0;aa:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break aa}j=(g+(j<<3)|0)+8|0}l=a+3|0;ba:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ba}f=S[(g+(l<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[j>>3];j=a+4|0;ca:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break ca}j=(g+(j<<3)|0)+8|0}f=q+f;d=m+d;a=a+5|0;da:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break da}e=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];o=U(n*U(d));d=d+S[j>>3];e=f+e;Cb(N[c>>2],U(n*U(m)),U(k*U(q)),o,U(k*U(f)),U(n*U(d)),U(k*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;h=N[b+20>>2];a=i;i=a+6|0;if(h>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}a=N[b+20>>2];if(a>>>0>=8){s=b+16|0;l=a-2|0;e=S[b+4400>>3];d=S[b+4392>>3];j=6;a=0;while(1){g=N[b+20>>2];ea:{if(g>>>0<=a>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ea}i=(s+(a<<3)|0)+8|0}h=a|1;fa:{if(h>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;m=0;break fa}m=S[(s+(h<<3)|0)+8>>3]}p=S[i>>3];i=a+2|0;ga:{if(i>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ga}i=(s+(i<<3)|0)+8|0}h=a+3|0;ha:{if(h>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;f=0;break ha}f=S[(s+(h<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[i>>3];i=a+4|0;ia:{if(i>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ia}i=(s+(i<<3)|0)+8|0}f=q+f;d=m+d;a=a+5|0;ja:{if(a>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;e=0;break ja}e=S[(s+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];o=U(n*U(d));d=d+S[i>>3];e=f+e;Cb(N[c>>2],U(n*U(m)),U(k*U(q)),o,U(k*U(f)),U(n*U(d)),U(k*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;a=j;j=a+6|0;if(l>>>0>=j>>>0){continue}break}h=N[b+20>>2];ka:{if(h>>>0<=a>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ka}i=(s+(a<<3)|0)+8|0}a=a|1;la:{if(a>>>0>=h>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;m=0;break la}m=S[(s+(a<<3)|0)+8>>3]}a=N[c+4>>2];f=d+S[i>>3];d=e+m;od(N[c>>2],R[a+44>>2],R[a+48>>2],f,d);S[b+4400>>3]=d;S[b+4392>>3]=f}N[b+20>>2]=0;break a}a=N[b+20>>2];if(a>>>0>=8){g=b+16|0;l=a-6|0;e=S[b+4400>>3];d=S[b+4392>>3];i=2;a=0;while(1){j=N[b+20>>2];ma:{if(j>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break ma}h=(g+(a<<3)|0)+8|0}a=a|1;na:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break na}f=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+S[h>>3];e=e+f;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=i;i=a+2|0;if(l>>>0>=i>>>0){continue}break}l=N[b+20>>2];oa:{if(l>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break oa}h=(g+(a<<3)|0)+8|0}j=a|1;pa:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break pa}m=S[(g+(j<<3)|0)+8>>3]}p=S[h>>3];qa:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;i=589824;break qa}i=(g+(i<<3)|0)+8|0}h=a+3|0;ra:{if(h>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ra}f=S[(g+(h<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[i>>3];i=a+4|0;sa:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;i=589824;break sa}i=(g+(i<<3)|0)+8|0}f=q+f;e=m+d;a=a+5|0;ta:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break ta}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];o=U(n*U(e));e=e+S[i>>3];d=f+d;Cb(N[c>>2],U(n*U(m)),U(k*U(q)),o,U(k*U(f)),U(n*U(e)),U(k*U(d)));S[b+4400>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}h=N[b+20>>2];a=h&1;i=a|4;if(h>>>0>=i>>>0){g=b+16|0;d=S[b+4392>>3]+(a?S[b+24>>3]:-0);m=S[b+4400>>3];while(1){ua:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ua}e=S[(g+(a<<3)|0)+8>>3]}j=a+1|0;va:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break va}j=(g+(j<<3)|0)+8|0}f=m+e;l=a+2|0;wa:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break wa}e=S[(g+(l<<3)|0)+8>>3]}p=f+e;e=d+S[j>>3];a=a+3|0;xa:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break xa}m=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];k=R[a+44>>2];o=U(k*U(d));n=R[a+48>>2];k=U(k*U(e));m=p+m;Cb(N[c>>2],o,U(n*U(f)),k,U(n*U(p)),k,U(n*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=e;d=e;h=N[b+20>>2];a=i;i=a+4|0;if(h>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}h=N[b+20>>2];a=h&1;i=a|4;if(h>>>0>=i>>>0){g=b+16|0;d=S[b+4400>>3]+(a?S[b+24>>3]:-0);m=S[b+4392>>3];while(1){ya:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ya}e=S[(g+(a<<3)|0)+8>>3]}j=a+1|0;za:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break za}j=(g+(j<<3)|0)+8|0}p=m+e;l=a+2|0;Aa:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Aa}f=S[(g+(l<<3)|0)+8>>3]}e=d+f;m=p+S[j>>3];a=a+3|0;Ba:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ba}f=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];o=R[a+44>>2];k=R[a+48>>2];n=U(k*U(e));r=U(o*U(m));m=m+f;Cb(N[c>>2],U(o*U(p)),U(k*U(d)),r,n,U(o*U(m)),n);S[b+4400>>3]=e;S[b+4392>>3]=m;d=e;h=N[b+20>>2];a=i;i=a+4|0;if(h>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}g=b+16|0;i=4;j=N[b+20>>2];if(j&4){break e}if(j>>>0<8){break d}d=S[b+4400>>3];e=S[b+4392>>3];a=8;i=0;while(1){h=i;i=a;Ca:{if(h>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ca}f=S[(g+(h<<3)|0)+8>>3]}a=h|1;Da:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Da}a=(g+(a<<3)|0)+8|0}d=d+f;l=h|2;Ea:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ea}f=S[(g+(l<<3)|0)+8>>3]}f=d+f;p=e+S[a>>3];a=h|3;Fa:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break Fa}m=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];r=R[a+44>>2];n=R[a+48>>2];k=U(f);o=U(n*k);u=U(r*U(e));e=p+m;Cb(N[c>>2],u,U(n*U(d)),U(r*U(p)),o,U(r*U(e)),o);S[b+4400>>3]=f;S[b+4392>>3]=e;l=N[b+20>>2];a=h|4;Ga:{if(l>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Ga}d=S[(g+(a<<3)|0)+8>>3]}a=h|5;Ha:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ha}a=(g+(a<<3)|0)+8|0}p=e+d;d=f;j=h|6;Ia:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ia}f=S[(g+(j<<3)|0)+8>>3]}e=S[a>>3];m=d+f;a=h|7;Ja:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ja}f=S[(g+(a<<3)|0)+8>>3]}d=m+f;f=p+e;e=f;Ka:{if(l-h>>>0>15){break Ka}e=f;if(!(l&1)){break Ka}La:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break La}e=S[(g+(i<<3)|0)+8>>3]}e=f+e}a=N[c+4>>2];o=R[a+44>>2];n=R[a+48>>2];Cb(N[c>>2],U(o*U(p)),U(n*k),U(o*U(f)),U(n*U(m)),U(o*U(e)),U(n*U(d)));S[b+4400>>3]=d;S[b+4392>>3]=e;a=i+8|0;j=N[b+20>>2];if(a>>>0<=j>>>0){continue}break}break d}g=b+16|0;i=4;j=N[b+20>>2];if(j&4){break g}if(j>>>0<8){break f}e=S[b+4400>>3];d=S[b+4392>>3];a=8;i=0;while(1){h=i;i=a;Ma:{if(h>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ma}f=S[(g+(h<<3)|0)+8>>3]}a=h|1;Na:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Na}a=(g+(a<<3)|0)+8|0}m=d+f;l=h|2;Oa:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Oa}f=S[(g+(l<<3)|0)+8>>3]}f=e+f;q=m+S[a>>3];a=h|3;Pa:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Pa}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];k=R[a+44>>2];r=U(k*U(m));o=R[a+48>>2];n=U(q);k=U(k*n);u=U(o*U(f));f=f+d;Cb(N[c>>2],r,U(o*U(e)),k,u,k,U(o*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=q;l=N[b+20>>2];a=h|4;Qa:{if(l>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Qa}d=S[(g+(a<<3)|0)+8>>3]}a=h|5;Ra:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ra}a=(g+(a<<3)|0)+8|0}j=h|6;Sa:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break Sa}e=S[(g+(j<<3)|0)+8>>3]}p=f+d;m=q+S[a>>3];a=h|7;Ta:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ta}f=S[(g+(a<<3)|0)+8>>3]}d=m+f;f=p+e;e=f;Ua:{if(l-h>>>0>15){break Ua}e=f;if(!(l&1)){break Ua}Va:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break Va}e=S[(g+(i<<3)|0)+8>>3]}e=f+e}a=N[c+4>>2];o=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(o*n),U(k*U(p)),U(o*U(m)),U(k*U(f)),U(o*U(d)),U(k*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;a=i+8|0;j=N[b+20>>2];if(a>>>0<=j>>>0){continue}break}break f}Wa:{if(N[b+20>>2]==7){q=S[b+72>>3];p=S[b- -64>>3];m=S[b+56>>3];a=N[c+4>>2];u=R[a+44>>2];i=b+4400|0;v=S[i>>3];r=U(v);k=R[a+48>>2];f=v+S[b+40>>3];n=U(f);o=U(k*n);e=S[b+4392>>3]+S[b+24>>3];d=e+S[b+32>>3];t=d+S[b+48>>3];Cb(N[c>>2],U(u*U(e)),U(k*r),U(u*U(d)),o,U(u*U(t)),o);S[i>>3]=f;S[b+4392>>3]=t;a=N[c+4>>2];u=R[a+44>>2];k=R[a+48>>2];o=U(k*r);e=t+m;d=e+p;f=d+q;Cb(N[c>>2],U(u*U(e)),U(k*n),U(u*U(d)),o,U(u*U(f)),o);S[i>>3]=v;S[b+4392>>3]=f;break Wa}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Xa:{if(N[b+20>>2]==13){x=S[b+104>>3];y=S[b+88>>3];t=S[b+72>>3];v=S[b+112>>3];q=S[b+96>>3];p=S[b+80>>3];m=S[b+4392>>3]+S[b+24>>3];f=m+S[b+40>>3];z=f+S[b+56>>3];i=b+4400|0;e=S[i>>3]+S[b+32>>3];d=e+S[b+48>>3];A=d+S[b- -64>>3];a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(m)),U(k*U(e)),U(n*U(f)),U(k*U(d)),U(n*U(z)),U(k*U(A)));S[i>>3]=A;S[b+4392>>3]=z;m=z+t;f=m+y;t=f+x;e=A+p;d=e+q;p=d+v;a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(m)),U(k*U(e)),U(n*U(f)),U(k*U(d)),U(n*U(t)),U(k*U(p)));S[i>>3]=p;S[b+4392>>3]=t;break Xa}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Ya:{if(N[b+20>>2]==9){v=S[b+80>>3];q=S[b+88>>3];p=S[b+72>>3];m=S[b- -64>>3];a=N[c+4>>2];r=R[a+44>>2];n=R[a+48>>2];i=b+4400|0;y=S[i>>3];f=y+S[b+32>>3];t=f+S[b+48>>3];k=U(t);o=U(n*k);e=S[b+4392>>3]+S[b+24>>3];d=e+S[b+40>>3];x=d+S[b+56>>3];Cb(N[c>>2],U(r*U(e)),U(n*U(f)),U(r*U(d)),o,U(r*U(x)),o);S[i>>3]=t;S[b+4392>>3]=x;e=x+m;d=e+p;f=d+q;a=N[c+4>>2];o=R[a+44>>2];n=R[a+48>>2];Cb(N[c>>2],U(o*U(e)),U(n*k),U(o*U(d)),U(n*U(t+v)),U(o*U(f)),U(n*U(y)));S[i>>3]=y;S[b+4392>>3]=f;break Ya}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Za:{if(N[b+20>>2]==11){D=S[b+104>>3];E=S[b+88>>3];F=S[b+72>>3];G=S[b+96>>3];H=S[b+80>>3];z=S[b+4392>>3];A=S[b+24>>3];x=z+A;y=S[b+40>>3];m=x+y;t=S[b+56>>3];B=m+t;i=b+4400|0;v=S[i>>3];q=S[b+32>>3];f=v+q;p=S[b+48>>3];e=f+p;d=S[b- -64>>3];C=e+d;a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(x)),U(k*U(f)),U(n*U(m)),U(k*U(e)),U(n*U(B)),U(k*U(C)));S[i>>3]=C;S[b+4392>>3]=B;m=B+F;f=m+E;a=V(E+(F+(t+(y+(A+0)))))>V(G+(H+(d+(p+(q+0)))));q=a?f+D:z;e=C+H;d=e+G;p=a?v:d+D;a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(m)),U(k*U(e)),U(n*U(f)),U(k*U(d)),U(n*U(q)),U(k*U(p)));S[i>>3]=p;S[b+4392>>3]=q;break Za}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}vf(a,b);break a}e=S[b+4400>>3];p=e+S[b+40>>3];m=p+S[b+48>>3];q=S[b+4392>>3]+S[b+24>>3];d=q+S[b+32>>3];a=12;if(j>>>0>=12){h=4;while(1){i=a;a=N[c+4>>2];k=R[a+44>>2];r=U(k*U(q));o=R[a+48>>2];n=U(d);k=U(k*n);Cb(N[c>>2],r,U(o*U(e)),k,U(o*U(p)),k,U(o*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=d;l=N[b+20>>2];_a:{if(l>>>0<=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break _a}e=S[(g+(h<<3)|0)+8>>3]}a=h|1;$a:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break $a}a=(g+(a<<3)|0)+8|0}f=m+e;j=h|2;ab:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ab}e=S[(g+(j<<3)|0)+8>>3]}e=f+e;m=d+S[a>>3];a=h|3;bb:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break bb}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];r=R[a+44>>2];k=R[a+48>>2];o=U(k*U(e));k=U(k*U(f));f=m+d;Cb(N[c>>2],U(r*n),k,U(r*U(m)),o,U(r*U(f)),o);S[b+4400>>3]=e;S[b+4392>>3]=f;j=N[b+20>>2];a=h+4|0;cb:{if(j>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break cb}d=S[(g+(a<<3)|0)+8>>3]}a=h+5|0;db:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break db}a=(g+(a<<3)|0)+8|0}q=f+d;l=h+6|0;eb:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break eb}f=S[(g+(l<<3)|0)+8>>3]}d=q+S[a>>3];p=e+f;a=h+7|0;fb:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break fb}f=S[(g+(a<<3)|0)+8>>3]}m=p+f;h=i;a=h+8|0;if(j>>>0>=a>>>0){continue}break}}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];f=i>>>0>>0?d+S[(g+(i<<3)|0)+8>>3]:d;Cb(N[c>>2],U(n*U(q)),U(k*U(e)),U(n*U(d)),U(k*U(p)),U(n*U(f)),U(k*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=f}N[b+20>>2]=0;break a}e=S[b+4392>>3];p=e+S[b+32>>3];m=p+S[b+48>>3];q=S[b+4400>>3]+S[b+24>>3];d=q+S[b+40>>3];a=12;if(j>>>0>=12){h=4;while(1){i=a;a=N[c+4>>2];r=R[a+44>>2];k=R[a+48>>2];n=U(d);o=U(k*n);Cb(N[c>>2],U(r*U(e)),U(k*U(q)),U(r*U(p)),o,U(r*U(m)),o);S[b+4400>>3]=d;S[b+4392>>3]=m;l=N[b+20>>2];gb:{if(l>>>0<=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break gb}e=S[(g+(h<<3)|0)+8>>3]}a=h|1;hb:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break hb}a=(g+(a<<3)|0)+8|0}m=m+e;j=h|2;ib:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ib}f=S[(g+(j<<3)|0)+8>>3]}f=d+f;e=m+S[a>>3];a=h|3;jb:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break jb}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];k=R[a+44>>2];r=U(k*U(m));o=R[a+48>>2];k=U(k*U(e));u=U(o*U(f));f=f+d;Cb(N[c>>2],r,U(o*n),k,u,k,U(o*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=e;j=N[b+20>>2];a=h+4|0;kb:{if(j>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break kb}d=S[(g+(a<<3)|0)+8>>3]}a=h+5|0;lb:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break lb}a=(g+(a<<3)|0)+8|0}q=f+d;l=h+6|0;mb:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break mb}f=S[(g+(l<<3)|0)+8>>3]}d=q+f;p=e+S[a>>3];a=h+7|0;nb:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break nb}f=S[(g+(a<<3)|0)+8>>3]}m=p+f;h=i;a=h+8|0;if(j>>>0>=a>>>0){continue}break}}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];f=i>>>0>>0?d+S[(g+(i<<3)|0)+8>>3]:d;Cb(N[c>>2],U(n*U(e)),U(k*U(q)),U(n*U(p)),U(k*U(d)),U(n*U(m)),U(k*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=m}N[b+20>>2]=0;break a}L[j|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];e=e+d;d=f+S[i>>3];hj(N[c>>2],R[a+44>>2],R[a+48>>2],e,d);S[b+4400>>3]=d;S[b+4392>>3]=e;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0}La=w+16|0}function ml(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;j=La-288|0;La=j;a:{b:{c:{d:{switch(O[a+3|0]){case 0:g=N[b+16>>2];b=N[b+12>>2];if(N[b+32>>2]==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}N[g+64>>2]=0;if(!O[g+60|0]){break c}n=a+8|0;r=j+40|0;b=0;while(1){h=N[g+64>>2];p=h>>>0>=Q[g+68>>2];c=0;e:{if(p){break e}e=N[N[g+80>>2]+T(h,20)>>2];c=2;if((e|0)==65535){break e}i=e;c=O[a+10|0]|O[a+11|0]<<8;e=n+((c<<8|c>>>8)&65535)|0;c=O[e|0]|O[e+1|0]<<8;i=i-((c<<8|c>>>8)&65535)|0;l=O[e+2|0]|O[e+3|0]<<8;c=1;if(i>>>0>=((l<<8|l>>>8)&65535)>>>0){break e}c=O[(e+i|0)+4|0]}m=O[n|0]|O[n+1|0]<<8;k=(m<<8|m>>>8)&65535;o=k>>>0>c>>>0;e=b;s=T(e,k);b=O[a+12|0]|O[a+13|0]<<8;q=(b<<8|b>>>8)&65535;u=q+n|0;b=O[a+14|0]|O[a+15|0]<<8;w=n+((b<<8|b>>>8)&65535)|0;l=(O[((o?c:1)+s|0)+u|0]<<2)+w|0;b=O[l|0]|O[l+1|0]<<8;b=(((b<<8|b>>>8)&65535)-q|0)/(k|0)|0;i=O[l+2|0]|O[l+3|0]<<8;f:{g:{if(d>>>0>f>>>0?i&3840:0){break g}if(!(!e|!(i&64?b:1))){c=w+(O[u+(o?c:1)|0]<<2)|0;e=O[c+2|0]|O[c+3|0]<<8;if(d>>>0>f>>>0?e&3840:0){break g}c=O[c|0]|O[c+1|0]<<8;if((e^i)&64|((((c<<8|c>>>8)&65535)-q|0)/(k|0)|0)!=(b|0)){break g}}if(!(O[(w+(O[u+(s+!m|0)|0]<<2)|0)+3|0]&15)|d>>>0<=f>>>0){break f}}if(p){break f}c=O[g+62|0]?N[g+72>>2]:h;if(!c){break f}wb(g,3,c-1|0,h+1|0,1,1);i=O[l+2|0]|O[l+3|0]<<8}e=i<<8|(i&65280)>>>8;c=e&65535;f=e<<16>>16<0?N[g+64>>2]:f;if(c&8192){d=N[g+64>>2]+1|0;e=N[g+68>>2];d=d>>>0>>0?d:e}e=c&15;h:{if(!e|d>>>0<=f>>>0){break h}c=d-f|0;if(c>>>0>64){break h}h=O[e+238112|0];o=h>>>4|0;e=o>>>0>=2?2:o;q=h&15;h=q>>>0>=2?2:q;u=e+h|0;if(u>>>0>c>>>0){break h}i=N[g+64>>2]+1|0;k=N[g+68>>2];i=i>>>0>>0?i:k;if(i-f>>>0>=2){Ib(g,f,i)}if(c>>>0>=2){Ib(g,f,d)}i=T(e,20);k=N[g+80>>2];c=k+T(f,20)|0;if(e){F(j,c,i)}m=T(h,20);if(h){F(r,(k+T(d,20)|0)+T(h,-20)|0,m)}if((e|0)!=(h|0)){F(c+m|0,c+i|0,T(d-(f+u|0)|0,20))}if(h){F(c,r,m)}if(e){F((k+T(d,20)|0)+T(e,-20)|0,j,i)}if((o|0)==3){h=k+T(d,20)|0;e=h-20|0;N[j+16>>2]=N[e+16>>2];i=N[e+4>>2];N[j>>2]=N[e>>2];N[j+4>>2]=i;i=N[e+12>>2];N[j+8>>2]=N[e+8>>2];N[j+12>>2]=i;h=h-40|0;N[e+16>>2]=N[h+16>>2];i=N[h+12>>2];N[e+8>>2]=N[h+8>>2];N[e+12>>2]=i;i=N[h+4>>2];N[e>>2]=N[h>>2];N[e+4>>2]=i;N[h+16>>2]=N[j+16>>2];e=N[j+12>>2];N[h+8>>2]=N[j+8>>2];N[h+12>>2]=e;e=N[j+4>>2];N[h>>2]=N[j>>2];N[h+4>>2]=e}if((q|0)!=3){break h}N[j+16>>2]=N[c+16>>2];e=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=e;e=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=e;N[c+16>>2]=N[c+36>>2];e=N[c+32>>2];N[c+8>>2]=N[c+28>>2];N[c+12>>2]=e;e=N[c+24>>2];N[c>>2]=N[c+20>>2];N[c+4>>2]=e;N[c+36>>2]=N[j+16>>2];e=N[j+12>>2];N[c+28>>2]=N[j+8>>2];N[c+32>>2]=e;e=N[j+4>>2];N[c+20>>2]=N[j>>2];N[c+24>>2]=e}c=N[g+64>>2];if(!O[g+60|0]|(c|0)==N[g+68>>2]){break c}i:{if(O[l+2|0]&64){e=N[g+152>>2];N[g+152>>2]=e-1;if((e|0)>0){break i}}if(O[g+62|0]){l=N[g+72>>2];i=N[g+84>>2];h=N[g+80>>2];j:{if((i|0)==(h|0)){e=c;if((c|0)==(l|0)){break j}}c=l+1|0;if(!(!c|c>>>0>2])){if(!gb(g,c)){break i}i=N[g+84>>2];h=N[g+80>>2]}k:{if((h|0)!=(i|0)){break k}c=N[g+72>>2];if(c+1>>>0<=N[g+64>>2]+1>>>0){i=h;break k}if(!O[g+62|0]){break b}i=N[g+88>>2];N[g+84>>2]=i;c=T(c,20);if(!c){break k}F(i,h,c);i=N[g+84>>2];h=N[g+80>>2]}e=T(N[g+64>>2],20)+h|0;h=N[e+4>>2];c=T(N[g+72>>2],20)+i|0;N[c>>2]=N[e>>2];N[c+4>>2]=h;N[c+16>>2]=N[e+16>>2];h=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=h;c=N[g+64>>2];e=N[g+72>>2]}N[g+72>>2]=e+1}N[g+64>>2]=c+1}if(O[g+60|0]){continue}break};break c;case 1:c=O[a+16|0]|O[a+17|0]<<8;r=N[b+68>>2];f=O[r|0]|O[r+1|0]<<8;g=O[r+4|0]|O[r+5|0]<<8;e=N[b+16>>2];d=N[b+12>>2];if(N[d+32>>2]==-1){h=d;d=sb(d+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[h+32>>2]=(d<<8|d>>>8)&65535}N[e+64>>2]=0;if(!O[e+60|0]){break c}o=a+8|0;q=(c<<8|c>>>8)&65535;p=o+q|0;s=!g|(f|0)!=256;g=0;while(1){c=N[e+68>>2];d=N[e+64>>2];z=c>>>0<=d>>>0;f=0;l:{if(z){break l}h=N[N[e+80>>2]+T(d,20)>>2];f=2;if((h|0)==65535){break l}i=h;f=O[a+10|0]|O[a+11|0]<<8;h=o+((f<<8|f>>>8)&65535)|0;f=O[h|0]|O[h+1|0]<<8;i=i-((f<<8|f>>>8)&65535)|0;k=O[h+2|0]|O[h+3|0]<<8;f=1;if(i>>>0>=((k<<8|k>>>8)&65535)>>>0){break l}f=O[(h+i|0)+4|0]}h=f;m=O[o|0]|O[o+1|0]<<8;k=(m<<8|m>>>8)&65535;y=f>>>0>>0;if(y){t=f}else{t=1}i=n;x=T(k,i);f=O[a+12|0]|O[a+13|0]<<8;u=(f<<8|f>>>8)&65535;w=u+o|0;f=O[a+14|0]|O[a+15|0]<<8;v=o+((f<<8|f>>>8)&65535)|0;f=(O[(t+x|0)+w|0]<<3)+v|0;n=O[f|0]|O[f+1|0]<<8;n=(((n<<8|n>>>8)&65535)-u|0)/(k|0)|0;A=l&255;t=!A&(c|0)==(d|0);m:{n:{if(!t&((O[f+4|0]|O[f+5|0]<<8)!=65535|(O[f+6|0]|O[f+7|0]<<8)!=65535)){break n}o:{if(!i){break o}i=O[f+2|0]|O[f+3|0]<<8;if(!(i&64?n:1)){break o}h=v+(O[w+(y?h:1)|0]<<3)|0;if(!t&((O[h+4|0]|O[h+5|0]<<8)!=65535|(O[h+6|0]|O[h+7|0]<<8)!=65535)){break n}y=O[h|0]|O[h+1|0]<<8;if((i^(O[h+2|0]|O[h+3|0]<<8))&64|((((y<<8|y>>>8)&65535)-u|0)/(k|0)|0)!=(n|0)){break n}}h=!m;if(t){c=d;break m}h=v+(O[w+(h+x|0)|0]<<3)|0;if((O[h+4|0]|O[h+5|0]<<8)!=65535){break n}if((O[h+6|0]|O[h+7|0]<<8)==65535){break m}}if(z){break m}h=O[e+62|0]?N[e+72>>2]:d;if(!h){break m}wb(e,3,h-1|0,d+1|0,1,1);c=N[e+68>>2];d=N[e+64>>2]}if(A|(c|0)!=(d|0)){v=T(g,20);c=O[f+4|0]|O[f+5|0]<<8;c=N[v+N[e+80>>2]>>2]+((c<<8|c>>>8)&65535)<<1;c=p+((c>>>0>>0?1073741823:c-q>>>1|0)<<1)|0;p:{if(c>>>0>2]){break p}d=N[b+28>>2];if(d>>>0>>0|d-c>>>0<2){break p}d=N[b+32>>2]-2|0;N[b+32>>2]=d;if((d|0)<=0){break p}t=O[c|0]|O[c+1|0]<<8;if(!t){break p}c=N[e+64>>2]+1|0;d=N[e+68>>2];u=c>>>0>>0?c:d;w=u-g|0;q:{if(w>>>0<=1){i=N[e+80>>2];break q}k=N[e+144>>2]|32;N[e+144>>2]=k;i=N[e+80>>2];if(g>>>0>=u>>>0){break q}c=-1;d=g;z=u+(d^-1)|0;if(z>>>0>=3){y=w&-4;m=0;while(1){h=T(d,20)+i|0;x=N[h+8>>2];c=c>>>0>>0?c:x;x=N[h+28>>2];c=c>>>0>>0?c:x;x=N[h+48>>2];c=c>>>0>>0?c:x;h=N[h+68>>2];c=c>>>0>>0?c:h;d=d+4|0;m=m+4|0;if((y|0)!=(m|0)){continue}break}}h=0;m=w&3;if(m){while(1){y=N[(T(d,20)+i|0)+8>>2];c=c>>>0>>0?c:y;d=d+1|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}d=g;if(w&1){d=i+v|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}d=g+1|0}if(!z){break q}while(1){h=T(d,20)+i|0;if(N[h+8>>2]!=(c|0)){k=k|32;N[e+144>>2]=k;N[h+4>>2]=N[h+4>>2]|3}h=T(d+1|0,20)+i|0;if(N[h+8>>2]!=(c|0)){k=k|32;N[e+144>>2]=k;N[h+4>>2]=N[h+4>>2]|3}d=d+2|0;if((u|0)!=(d|0)){continue}break}}c=i+v|0;d=(t<<8|t>>>8)&65535;N[c>>2]=d;if(s){break p}C=c,D=Uc(r,d),M[C+12>>1]=D}c=N[e+64>>2];d=N[e+68>>2]-1|0;d=T(c>>>0>>0?c:d,20);c=O[f+6|0]|O[f+7|0]<<8;c=N[d+N[e+80>>2]>>2]+((c<<8|c>>>8)&65535)<<1;c=p+((c>>>0>>0?1073741823:c-q>>>1|0)<<1)|0;r:{if(c>>>0>2]){break r}h=N[b+28>>2];if(h>>>0>>0|h-c>>>0<2){break r}h=N[b+32>>2]-2|0;N[b+32>>2]=h;if((h|0)<=0){break r}c=O[c|0]|O[c+1|0]<<8;if(!c){break r}d=d+N[e+80>>2]|0;c=(c<<8|c>>>8)&65535;N[d>>2]=c;if(s){break r}C=d,D=Uc(r,c),M[C+12>>1]=D}c=N[e+64>>2];d=O[f+2|0]&128;g=d?c:g;l=d?1:l}else{l=0}if(!O[e+60|0]|N[e+68>>2]==(c|0)){break c}s:{if(O[f+2|0]&64){d=N[e+152>>2];N[e+152>>2]=d-1;if((d|0)>0){break s}}if(O[e+62|0]){i=N[e+72>>2];d=N[e+84>>2];f=N[e+80>>2];t:{if((d|0)==(f|0)){h=c;if((c|0)==(i|0)){break t}}c=i+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break s}f=N[e+80>>2];d=N[e+84>>2]}u:{if((d|0)!=(f|0)){break u}c=N[e+72>>2];if(c+1>>>0<=N[e+64>>2]+1>>>0){d=f;break u}if(!O[e+62|0]){break b}d=N[e+88>>2];N[e+84>>2]=d;c=T(c,20);if(!c){break u}F(d,f,c);d=N[e+84>>2];f=N[e+80>>2]}c=T(N[e+72>>2],20)+d|0;d=T(N[e+64>>2],20)+f|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;c=N[e+64>>2];h=N[e+72>>2]}N[e+72>>2]=h+1}N[e+64>>2]=c+1}if(O[e+60|0]){continue}break};break c;case 2:L[j|0]=0;n=a+8|0;N[j+8>>2]=n;N[j+4>>2]=b;c=O[a+16|0]|O[a+17|0]<<8;N[j+12>>2]=n+((c<<8|c>>>8)&65535);c=O[a+18|0]|O[a+19|0]<<8;N[j+16>>2]=n+((c<<8|c>>>8)&65535);c=O[a+20|0]|O[a+21|0]<<8;N[j+24>>2]=0;N[j+20>>2]=n+((c<<8|c>>>8)&65535);g=N[b+16>>2];b=N[b+12>>2];if(N[b+32>>2]==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}N[g+72>>2]=0;M[g+62>>1]=1;N[g+64>>2]=0;N[g+84>>2]=N[g+80>>2];v:{if(!O[g+60|0]){break v}b=0;while(1){h=N[g+64>>2];o=h>>>0>=Q[g+68>>2];c=0;w:{if(o){break w}d=N[N[g+80>>2]+T(h,20)>>2];c=2;if((d|0)==65535){break w}f=d;c=O[a+10|0]|O[a+11|0]<<8;d=n+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;f=f-((c<<8|c>>>8)&65535)|0;e=O[d+2|0]|O[d+3|0]<<8;c=1;if(f>>>0>=((e<<8|e>>>8)&65535)>>>0){break w}c=O[(d+f|0)+4|0]}d=c;l=O[n|0]|O[n+1|0]<<8;i=(l<<8|l>>>8)&65535;q=c>>>0>>0;if(!q){d=1}f=b;u=T(f,i);b=O[a+12|0]|O[a+13|0]<<8;k=(b<<8|b>>>8)&65535;m=k+n|0;b=O[a+14|0]|O[a+15|0]<<8;r=n+((b<<8|b>>>8)&65535)|0;e=(O[(d+u|0)+m|0]<<2)+r|0;b=O[e|0]|O[e+1|0]<<8;b=(((b<<8|b>>>8)&65535)-k|0)/(i|0)|0;d=O[e+2|0]|O[e+3|0]<<8;x:{y:{if(d&65343){break y}if(!(!f|!(d&64?b:1))){c=r+(O[m+(q?c:1)|0]<<2)|0;f=O[c+2|0]|O[c+3|0]<<8;if(f&65343){break y}c=O[c|0]|O[c+1|0]<<8;if((d^f)&64|((((c<<8|c>>>8)&65535)-k|0)/(i|0)|0)!=(b|0)){break y}}c=r+(O[m+(u+!l|0)|0]<<2)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65343)){break x}}if(o){break x}c=O[g+62|0]?N[g+72>>2]:h;if(!c){break x}wb(g,3,c-1|0,h+1|0,1,1);d=O[e+2|0]|O[e+3|0]<<8}if(d&128){c=N[j+24>>2];z:{if(!c){f=N[g+72>>2];c=0;break z}f=N[g+72>>2];c=c-((f|0)==N[(((c-1&63)<<2)+j|0)+28>>2])|0}N[j+24>>2]=c+1;N[(((c&63)<<2)+j|0)+28>>2]=f}c=d&65343;A:{if(!c){break A}l=N[j+24>>2];if(!l|Q[g+64>>2]>=Q[g+68>>2]){break A}r=N[g+72>>2];f=N[j+12>>2];d=f-N[j+8>>2]|0;c=(c<<8|c>>>8)&65535;h=((c>>>0>>0?536870911:c-d>>>2|0)<<2)+f|0;k=0;B:{while(1){if(!l){N[j+24>>2]=0;ec(g,r);break A}l=l-1|0;o=((l&63)<<2)+j|0;if(!ec(g,N[o+28>>2])){break A}c=N[j+4>>2];C:{if(Q[c+24>>2]>h>>>0){break C}d=N[c+28>>2];if(d>>>0>>0|d-h>>>0<4){break C}d=c;c=N[c+32>>2]-4|0;N[d+32>>2]=c;if((c|0)<=0){break C}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);m=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);i=N[j+16>>2];f=i-N[j+8>>2]|0;c=N[N[g+80>>2]+T(N[g+64>>2],20)>>2]+(c<<25&1073741824|m&1073741823)<<1;c=((c>>>0>>0?1073741823:c-f>>>1|0)<<1)+i|0;d=N[j+4>>2];if(c>>>0>2]){break C}f=N[d+28>>2];if(f>>>0>>0|f-c>>>0<2){break C}f=d;d=N[d+32>>2]-2|0;N[f+32>>2]=d;if((d|0)<=0){break C}c=O[c|0]|O[c+1|0]<<8;k=((c<<8|c>>>8)&65535)+k|0;if(m>>>0>=1073741824){c=N[j+20>>2];d=c-N[j+8>>2]|0;k=d>>>0>k>>>0?1073741823:k-d>>>1|0;c=(k<<1)+c|0;d=N[j+4>>2];if(c>>>0>2]){break C}f=N[d+28>>2];if(f>>>0>>0|f-c>>>0<2){break C}f=d;d=N[d+32>>2]-2|0;N[f+32>>2]=d;if((d|0)<=0){break C}c=O[c|0]|O[c+1|0]<<8;d=N[g+72>>2]+1|0;if(!(!d|d>>>0>2])){if(!gb(g,d)){break A}}d=N[g+84>>2];D:{if((d|0)!=N[g+80>>2]){break D}f=N[g+72>>2];if(f+1>>>0<=N[g+64>>2]+1>>>0){break D}if(!O[g+62|0]){break b}i=N[g+88>>2];N[g+84>>2]=i;f=T(f,20);if(!f){break D}F(i,d,f)}d=N[g+68>>2];i=N[g+64>>2];if(d>>>0>>0){break a}q=(c<<8|c>>>8)&65535;E:{if(d>>>0>i>>>0){d=N[g+72>>2];f=N[g+84>>2];c=N[g+80>>2]+T(i,20)|0;break E}f=N[g+84>>2];d=N[g+72>>2];c=d-1|0;c=f+T(c>>>0<=d>>>0?c:0,20)|0}d=T(d,20)+f|0;f=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=f;N[d+16>>2]=N[c+16>>2];f=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=f;N[d>>2]=q;N[g+64>>2]=N[g+64>>2]+1;N[g+72>>2]=N[g+72>>2]+1;c=N[j+24>>2]-1|0;q=N[(((c&63)<<2)+j|0)+28>>2];if(c>>>0>l>>>0){while(1){f=c;if(!ec(g,N[(((c&63)<<2)+j|0)+28>>2])){break B}c=N[g+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(g,c)){break B}}c=N[g+84>>2];F:{if((c|0)!=N[g+80>>2]){break F}d=N[g+72>>2];if(d+1>>>0<=N[g+64>>2]+1>>>0){break F}if(!O[g+62|0]){break b}i=N[g+88>>2];N[g+84>>2]=i;d=T(d,20);if(!d){break F}F(i,c,d)}d=N[g+68>>2];c=N[g+64>>2];if(d>>>0>>0){break a}G:{if(c>>>0>>0){d=N[g+72>>2];i=N[g+84>>2];c=N[g+80>>2]+T(c,20)|0;break G}i=N[g+84>>2];d=N[g+72>>2];c=d-1|0;c=i+T(c>>>0<=d>>>0?c:0,20)|0}d=T(d,20)+i|0;i=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=i;N[d+16>>2]=N[c+16>>2];i=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=i;N[d>>2]=65535;N[g+64>>2]=N[g+64>>2]+1;N[g+72>>2]=N[g+72>>2]+1;c=f-1|0;if(l>>>0>>0){continue}break}N[j+24>>2]=f}if(!ec(g,q+1|0)){break A}wd(g,N[o+28>>2],N[g+72>>2])}h=h+4|0;if((m|0)>=0){continue}}break}ec(g,r);break A}N[j+24>>2]=f}c=N[g+64>>2];if(!O[g+60|0]|(c|0)==N[g+68>>2]){break v}H:{if(O[e+2|0]&64){d=N[g+152>>2];N[g+152>>2]=d-1;if((d|0)>0){break H}}if(O[g+62|0]){h=N[g+72>>2];d=N[g+84>>2];f=N[g+80>>2];I:{if((d|0)==(f|0)){e=c;if((c|0)==(h|0)){break I}}c=h+1|0;if(!(!c|c>>>0>2])){if(!gb(g,c)){break H}f=N[g+80>>2];d=N[g+84>>2]}J:{if((d|0)!=(f|0)){break J}c=N[g+72>>2];if(c+1>>>0<=N[g+64>>2]+1>>>0){d=f;break J}if(!O[g+62|0]){break b}d=N[g+88>>2];N[g+84>>2]=d;c=T(c,20);if(!c){break J}F(d,f,c);d=N[g+84>>2];f=N[g+80>>2]}c=T(N[g+72>>2],20)+d|0;d=T(N[g+64>>2],20)+f|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;c=N[g+64>>2];e=N[g+72>>2]}N[g+72>>2]=e+1}N[g+64>>2]=c+1}if(O[g+60|0]){continue}break}}Ac(g);break c;case 4:f=N[b+68>>2];e=O[f+4|0]|O[f+5|0]<<8;h=O[f|0]|O[f+1|0]<<8;c=N[b+12>>2];d=N[c+32>>2];if((d|0)==-1){g=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;d=(c<<8|c>>>8)&65535;N[g+32>>2]=d}c=N[b+16>>2];b=N[c+68>>2];if(!b){break c}a=a+8|0;g=N[c+80>>2];c=0;if((h|0)==256&(e|0)!=0){while(1){e=g+T(c,20)|0;h=cc(a,N[e>>2],d);if(h){h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;N[e>>2]=h;C=e,D=Uc(f,h),M[C+12>>1]=D}c=c+1|0;if((b|0)!=(c|0)){continue}break c}}while(1){e=g+T(c,20)|0;f=cc(a,N[e>>2],d);if(f){f=O[f|0]|O[f+1|0]<<8;N[e>>2]=(f<<8|f>>>8)&65535}c=c+1|0;if((b|0)!=(c|0)){continue}break};break c;case 5:break d;default:break c}}c=O[a+16|0]|O[a+17|0]<<8;e=N[b+16>>2];d=N[b+12>>2];if(N[d+32>>2]==-1){f=d;d=sb(d+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[f+32>>2]=(d<<8|d>>>8)&65535}N[e+72>>2]=0;M[e+62>>1]=1;N[e+64>>2]=0;N[e+84>>2]=N[e+80>>2];K:{if(!O[e+60|0]){break K}r=a+8|0;u=r+((c<<8|c>>>8)&65535)|0;while(1){h=N[e+64>>2];w=h>>>0>=Q[e+68>>2];c=0;L:{if(w){break L}d=N[N[e+80>>2]+T(h,20)>>2];c=2;if((d|0)==65535){break L}f=d;c=O[a+10|0]|O[a+11|0]<<8;d=r+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;f=f-((c<<8|c>>>8)&65535)|0;i=O[d+2|0]|O[d+3|0]<<8;c=1;if(f>>>0>=((i<<8|i>>>8)&65535)>>>0){break L}c=O[(d+f|0)+4|0]}d=c;n=O[r|0]|O[r+1|0]<<8;l=(n<<8|n>>>8)&65535;p=c>>>0>>0;if(!p){d=1}f=g;s=T(g,l);g=s+d|0;d=O[a+12|0]|O[a+13|0]<<8;k=(d<<8|d>>>8)&65535;m=k+r|0;d=O[a+14|0]|O[a+15|0]<<8;o=r+((d<<8|d>>>8)&65535)|0;i=(O[g+m|0]<<3)+o|0;d=O[i|0]|O[i+1|0]<<8;g=(((d<<8|d>>>8)&65535)-k|0)/(l|0)|0;d=O[i+2|0]|O[i+3|0]<<8;M:{N:{if((O[i+4|0]|O[i+5|0]<<8)!=65535|(O[i+6|0]|O[i+7|0]<<8)!=65535?d&65283:0){break N}if(!(!f|!(d&64?g:1))){c=o+(O[m+(p?c:1)|0]<<3)|0;f=O[c+2|0]|O[c+3|0]<<8;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(O[c+6|0]|O[c+7|0]<<8)!=65535?f&65283:0){break N}c=O[c|0]|O[c+1|0]<<8;if((d^f)&64|((((c<<8|c>>>8)&65535)-k|0)/(l|0)|0)!=(g|0)){break N}}c=o+(O[m+(s+!n|0)|0]<<3)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65283)){break M}if((O[c+4|0]|O[c+5|0]<<8)!=65535){break N}if((O[c+6|0]|O[c+7|0]<<8)==65535){break M}}if(w){break M}c=O[e+62|0]?N[e+72>>2]:h;if(!c){break M}wb(e,3,c-1|0,h+1|0,1,1);d=O[i+2|0]|O[i+3|0]<<8}k=d<<8|(d&65280)>>>8;o=k&65535;w=N[e+72>>2];c=O[i+6|0]|O[i+7|0]<<8;O:{if((c|0)!=65535){m=o&31;d=N[e+152>>2]-m|0;N[e+152>>2]=d;if((d|0)<=0){break O}n=u+(((c<<8|c>>>8)&65535)<<1)|0;P:{Q:{if(!m|n>>>0>2]){break Q}c=N[b+28>>2];if(c>>>0>>0){break Q}d=c-n|0;c=m<<1;if(d>>>0>>0){break Q}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break P}}m=0}p=N[e+72>>2];if(!ec(e,q)){break O}R:{S:{s=o&1024;if(!s){c=N[e+64>>2];if(c>>>0>2]){break S}}c=N[e+72>>2];break R}d=N[e+80>>2];c=d+T(c,20)|0;N[j+16>>2]=N[c+16>>2];f=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=f;f=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=f;c=N[e+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}d=N[e+80>>2]}c=N[e+84>>2];T:{if((d|0)!=(c|0)){break T}f=N[e+72>>2];if(Q[e+64>>2]>=f+1>>>0){c=d;break T}if(!O[e+62|0]){break b}c=N[e+88>>2];N[e+84>>2]=c;f=T(f,20);if(!f){break T}F(c,d,f);c=N[e+84>>2]}d=N[j+4>>2];c=T(N[e+72>>2],20)+c|0;N[c>>2]=N[j>>2];N[c+4>>2]=d;N[c+16>>2]=N[j+16>>2];d=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=d;c=N[e+72>>2]+1|0;N[e+72>>2]=c}c=c+m|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}}c=N[e+84>>2];U:{if((c|0)!=N[e+80>>2]){break U}d=N[e+72>>2];if(Q[e+64>>2]>=d+m>>>0){break U}if(!O[e+62|0]){break b}f=N[e+88>>2];N[e+84>>2]=f;d=T(d,20);if(!d){break U}F(f,c,d)}c=N[e+64>>2];f=N[e+68>>2];if(c>>>0>f>>>0){break a}V:{if(c>>>0>>0){l=N[e+72>>2];h=N[e+84>>2];d=N[e+80>>2]+T(c,20)|0;break V}h=N[e+84>>2];l=N[e+72>>2];d=l-1|0;d=h+T(d>>>0<=l>>>0?d:0,20)|0}W:{if(!m){N[e+72>>2]=l;break W}c=T(l,20)+h|0;f=0;X:{if((m|0)!=1){h=m&1;l=m&30;while(1){v=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=v;N[c+16>>2]=N[d+16>>2];v=d+8|0;t=N[v+4>>2];N[c+8>>2]=N[v>>2];N[c+12>>2]=t;v=f<<1;t=v+n|0;t=O[t|0]|O[t+1|0]<<8;N[c>>2]=(t<<8|t>>>8)&65535;N[c+36>>2]=N[d+16>>2];t=N[d+12>>2];N[c+28>>2]=N[d+8>>2];N[c+32>>2]=t;t=N[d+4>>2];N[c+20>>2]=N[d>>2];N[c+24>>2]=t;v=n+(v|2)|0;v=O[v|0]|O[v+1|0]<<8;N[c+20>>2]=(v<<8|v>>>8)&65535;c=c+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break X}}h=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=h;N[c+16>>2]=N[d+16>>2];h=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=h;d=c;c=n+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[d>>2]=(c<<8|c>>>8)&65535}N[e+72>>2]=N[e+72>>2]+m;f=N[e+68>>2];c=N[e+64>>2]}if(!(c>>>0>=f>>>0|s)){N[e+64>>2]=c+1}if(!ec(e,m+p|0)){break O}c=N[e+64>>2]+1|0;d=N[e+68>>2];wb(e,3,q,c>>>0>>0?c:d,1,1)}q=k<<16>>16<0?w:q;c=O[i+4|0]|O[i+5|0]<<8;if((c|0)==65535){break O}k=o>>>5&31;d=N[e+152>>2]-k|0;N[e+152>>2]=d;if((d|0)<=0){break O}n=u+(((c<<8|c>>>8)&65535)<<1)|0;Y:{Z:{if(!k|n>>>0>2]){break Z}c=N[b+28>>2];if(c>>>0>>0){break Z}d=c-n|0;c=k<<1;if(d>>>0>>0){break Z}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break Y}}k=0}m=N[e+72>>2];c=m;w=o&2048;_:{if(w){break _}d=N[e+64>>2];if(d>>>0>=Q[e+68>>2]){break _}f=N[e+80>>2];c=f+T(d,20)|0;N[j+16>>2]=N[c+16>>2];d=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=d;d=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=d;c=m+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}f=N[e+80>>2]}c=N[e+84>>2];$:{if((f|0)!=(c|0)){break $}d=N[e+72>>2];if(Q[e+64>>2]>=d+1>>>0){c=f;break $}if(!O[e+62|0]){break b}c=N[e+88>>2];N[e+84>>2]=c;d=T(d,20);if(!d){break $}F(c,f,d);c=N[e+84>>2]}d=N[j+4>>2];c=T(N[e+72>>2],20)+c|0;N[c>>2]=N[j>>2];N[c+4>>2]=d;N[c+16>>2]=N[j+16>>2];d=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=d;c=N[e+72>>2]+1|0;N[e+72>>2]=c}c=c+k|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}}c=N[e+84>>2];aa:{if((c|0)!=N[e+80>>2]){break aa}d=N[e+72>>2];if(Q[e+64>>2]>=d+k>>>0){break aa}if(!O[e+62|0]){break b}f=N[e+88>>2];N[e+84>>2]=f;d=T(d,20);if(!d){break aa}F(f,c,d)}c=N[e+64>>2];f=N[e+68>>2];if(c>>>0>f>>>0){break a}ba:{if(c>>>0>>0){l=N[e+72>>2];h=N[e+84>>2];d=N[e+80>>2]+T(c,20)|0;break ba}h=N[e+84>>2];l=N[e+72>>2];d=l-1|0;d=h+T(d>>>0<=l>>>0?d:0,20)|0}ca:{if(!k){N[e+72>>2]=l;break ca}c=T(l,20)+h|0;f=0;da:{if((k|0)!=1){h=k&1;l=k&30;while(1){p=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=p;N[c+16>>2]=N[d+16>>2];p=d+8|0;s=N[p+4>>2];N[c+8>>2]=N[p>>2];N[c+12>>2]=s;p=f<<1;s=p+n|0;s=O[s|0]|O[s+1|0]<<8;N[c>>2]=(s<<8|s>>>8)&65535;N[c+36>>2]=N[d+16>>2];s=N[d+12>>2];N[c+28>>2]=N[d+8>>2];N[c+32>>2]=s;s=N[d+4>>2];N[c+20>>2]=N[d>>2];N[c+24>>2]=s;p=n+(p|2)|0;p=O[p|0]|O[p+1|0]<<8;N[c+20>>2]=(p<<8|p>>>8)&65535;c=c+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break da}}h=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=h;N[c+16>>2]=N[d+16>>2];h=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=h;d=c;c=n+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[d>>2]=(c<<8|c>>>8)&65535}N[e+72>>2]=N[e+72>>2]+k;f=N[e+68>>2];c=N[e+64>>2]}if(!(c>>>0>=f>>>0|w)){N[e+64>>2]=c+1}ec(e,m+(o&16384?0:k)|0)}c=N[e+64>>2];if(!O[e+60|0]|(c|0)==N[e+68>>2]){break K}ea:{if(O[i+2|0]&64){d=N[e+152>>2];N[e+152>>2]=d-1;if((d|0)>0){break ea}}if(O[e+62|0]){i=N[e+72>>2];d=N[e+84>>2];f=N[e+80>>2];fa:{if((d|0)==(f|0)){h=c;if((c|0)==(i|0)){break fa}}c=i+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break ea}f=N[e+80>>2];d=N[e+84>>2]}ga:{if((d|0)!=(f|0)){break ga}c=N[e+72>>2];if(c+1>>>0<=N[e+64>>2]+1>>>0){d=f;break ga}if(!O[e+62|0]){break b}d=N[e+88>>2];N[e+84>>2]=d;c=T(c,20);if(!c){break ga}F(d,f,c);d=N[e+84>>2];f=N[e+80>>2]}c=T(N[e+72>>2],20)+d|0;d=T(N[e+64>>2],20)+f|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;c=N[e+64>>2];h=N[e+72>>2]}N[e+72>>2]=h+1}N[e+64>>2]=c+1}if(O[e+60|0]){continue}break}}Ac(e)}La=j+288|0;return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function mc(a){var 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,t=0,u=0,v=0;b=N[a>>2];if(!b){u=a-100|0;while(1){b=N[u>>2];if(!b){return 275552}o=db(1,12);if(!o){N[a>>2]=275552;return 275552}r=0;j=La-48|0;La=j;N[o>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[j+44|0]=1;N[j+40>>2]=c;c=N[b+12>>2];a:{if(c){i=Qa[c|0](b,1196445523,N[b+16>>2])|0;if(i){break a}}i=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{c=N[i>>2];if(c){if((c|0)<=0){break j}N[i>>2]=c+1}L[j+28|0]=0;N[j+36>>2]=i;c=N[i+12>>2];N[j+8>>2]=c;d=N[i+16>>2];N[j+12>>2]=d+c;if((d|0)<0){break i}if(d>>>0>67108863){e=1073741819}else{b=d<<6;b=b>>>0<=16384?16384:b;e=(b>>>0>=1073741823?1073741823:b)-4|0}N[j+24>>2]=0;N[j+4>>2]=0;N[j+32>>2]=0;b=i;if(!c){break c}if(d>>>0<4){break g}N[j+16>>2]=e;if((O[c|0]|O[c+1|0]<<8)!=256){break h}if(bh(c,j+4|0)){break h}if(O[j+28|0]|!N[j+32>>2]){break g}if(!zb(i)){break g}while(1){L[j+28|0]=1;b=N[j+36>>2];c=N[b+12>>2];N[j+8>>2]=c;d=N[b+16>>2];N[j+12>>2]=d+c;if((d|0)<0){break i}if(d>>>0>67108863){e=1073741823}else{e=d<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[j+24>>2]=0;N[j+4>>2]=0;N[j+32>>2]=0;if(!c){break c}if(d>>>0<4){break g}N[j+16>>2]=e-4;if((O[c|0]|O[c+1|0]<<8)!=256){break h}if(bh(c,j+4|0)){break h}if(O[j+28|0]|!N[j+32>>2]){break g}c=zb(i);N[j+8>>2]=c;N[j+12>>2]=c+N[i+16>>2];if(c){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[j+32>>2]){break f}N[j+32>>2]=0;if(Q[j+8>>2]>c>>>0){break g}b=N[j+12>>2];if(b>>>0>>0|b-c>>>0<4){break g}b=N[j+16>>2]-4|0;N[j+16>>2]=b;if((b|0)<=0){break g}if((O[c|0]|O[c+1|0]<<8)!=256){break f}c=bh(c,j+4|0);if(N[j+32>>2]){break g}ab(N[j+36>>2]);N[j+36>>2]=0;if(c){break e}break d}ab(N[j+36>>2]);break d}ab(N[j+36>>2]);N[j+36>>2]=0}if(!N[i+4>>2]){break b}N[i+4>>2]=0;break b}ab(i);i=275552;break b}ab(b)}N[o>>2]=i;c=0;b=Q[i+16>>2]<4?275552:N[i+12>>2];if((O[b|0]|O[b+1|0]<<8)==256){c=O[b+8|0]|O[b+9|0]<<8;if(c){c=b+((c<<8|c>>>8)&65535)|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;c=(c<<8|c>>>8)&65535}N[o+4>>2]=c;b=db(c,28);N[o+8>>2]=b;if(!b){N[o+4>>2]=0;ab(i);N[o>>2]=275552;c=N[o+4>>2]}if(c){while(1){p=275552;n=N[o+8>>2]+T(r,28)|0;c=N[o>>2];c=c?c:275552;c=Q[c+16>>2]<4?275552:N[c+12>>2];k:{if((O[c|0]|O[c+1|0]<<8)!=256){break k}i=275552;b=O[c+8|0]|O[c+9|0]<<8;if(b){i=c+((b<<8|b>>>8)&65535)|0}c=O[i|0]|O[i+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break k}c=(r<<1)+i|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break k}p=((c<<8|c>>>8)&65535)+i|0}N[n+20>>2]=0;c=n+12|0;N[c>>2]=0;N[c+4>>2]=0;N[j+12>>2]=-1;N[j+16>>2]=0;N[j+8>>2]=c;N[j+4>>2]=0;c=O[p+4|0]|O[p+5|0]<<8;l:{if(!c){N[n>>2]=0;N[n+4>>2]=0;N[n+8>>2]=0;N[n+24>>2]=-1;break l}b=O[p|0]|O[p+1|0]<<8;s=(b<<8|b>>>8)&65535;t=p+4|0;c=(c<<8|c>>>8)&65535;v=c>>>0<=1?1:c;i=0;while(1){c=O[t|0]|O[t+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=i>>>0?275552:((i<<1)+t|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+p|0}else{c=275552}q=j+4|0;b=s;g=0;e=La-32|0;La=e;m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{while(1){D:{if((b|0)!=9){E:{switch(b-1|0){case 0:F:{G:{b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break F;case 0:break G;default:break m}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=204;N[e+12>>2]=205;N[e+8>>2]=206;N[e+4>>2]=c;H:{I:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break H;case 0:break I;default:break n}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break n}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;J:{if((b|0)==256){d=0;b=c;break J}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break o}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break o}Ub(c,e+20|0);break n}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=207;N[e+12>>2]=208;N[e+8>>2]=209;N[e+4>>2]=c;K:{L:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break K;case 0:break L;default:break p}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break p}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;M:{if((b|0)==256){d=0;b=c;break M}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break q}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break q}Ub(c,e+20|0);break p;case 1:N:{O:{b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break N;case 0:break O;default:break m}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=210;N[e+12>>2]=211;N[e+8>>2]=212;N[e+4>>2]=c;P:{Q:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break P;case 0:break Q;default:break r}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break r}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;R:{if((b|0)==256){d=0;b=c;break R}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break s}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break s}Ub(c,e+20|0);break r}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=213;N[e+12>>2]=214;N[e+8>>2]=215;N[e+4>>2]=c;S:{T:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break S;case 0:break T;default:break t}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break t}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;U:{if((b|0)==256){d=0;b=c;break U}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break u}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break u}Ub(c,e+20|0);break t;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=216;N[e+12>>2]=217;N[e+8>>2]=218;N[e+4>>2]=c;V:{W:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break V;case 0:break W;default:break v}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break v}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;X:{if((b|0)==256){d=0;b=c;break X}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break w}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break w}Ub(c,e+20|0);break v;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=219;N[e+12>>2]=220;N[e+8>>2]=221;N[e+4>>2]=c;Y:{Z:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break Y;case 0:break Z;default:break x}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break x}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;_:{if((b|0)==256){d=0;b=c;break _}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break y}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break y}Ub(c,e+20|0);break x;case 4:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=222;N[e+12>>2]=223;N[e+8>>2]=224;N[e+4>>2]=c;$:{aa:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break $;case 0:break aa;default:break z}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break z}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;ba:{if((b|0)==256){d=0;b=c;break ba}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break A}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break A}Ub(c,e+20|0);break z;case 5:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=225;N[e+12>>2]=226;N[e+8>>2]=227;N[e+4>>2]=c;ca:{da:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break ca;case 0:break da;default:break B}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break B}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;ea:{if((b|0)==256){d=0;b=c;break ea}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break C}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break C}Ub(c,e+20|0);break B;case 6:break D;case 7:break E;default:break m}}Wk(c,q);break m}if((O[c|0]|O[c+1|0]<<8)!=256){break m}b=O[c+2|0]|O[c+3|0]<<8;b=(b<<8|b>>>8)&65535;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(d){c=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0}else{c=275552}continue}break}Vk(c,q);break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}fa:{ga:{ha:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ga}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break fa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ia:{ja:{ka:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ja}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ia}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}la:{ma:{na:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ma}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break la}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}oa:{pa:{qa:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break pa}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break oa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ra:{sa:{ta:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break sa}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ra}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ua:{va:{wa:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break va}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ua}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}xa:{ya:{za:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break za}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ya}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break xa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}Aa:{Ba:{Ca:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break Ba}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break Aa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b}La=e+32|0;i=i+1|0;if((v|0)!=(i|0)){continue}break}i=N[n+20>>2];c=N[n+16>>2];N[n+8>>2]=0;N[n>>2]=0;N[n+4>>2]=0;if(!c){N[n+24>>2]=N[j+12>>2];break l}d=T(c,28)-28|0;e=((d>>>0)/28|0)+1|0;s=e&1;b=0;Da:{if(d>>>0<28){e=0;d=0;break Da}g=e&536870910;e=0;d=0;p=0;while(1){b=N[i+16>>2]|b;N[n>>2]=b;e=N[i+20>>2]|e;N[n+4>>2]=e;d=N[i+24>>2]|d;N[n+8>>2]=d;b=b|N[i+44>>2];N[n>>2]=b;e=e|N[i+48>>2];N[n+4>>2]=e;d=d|N[i+52>>2];N[n+8>>2]=d;i=i+56|0;p=p+2|0;if((g|0)!=(p|0)){continue}break}}if(s){N[n>>2]=N[i+16>>2]|b;N[n+4>>2]=N[i+20>>2]|e;N[n+8>>2]=N[i+24>>2]|d}N[n+24>>2]=N[j+12>>2];i=0;while(1){if(N[n+24>>2]!=(i|0)){Ea:{if(c>>>0<=i>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=N[n+16>>2];b=0;break Ea}b=N[(N[n+20>>2]+T(i,28)|0)+4>>2]}Fa:{if(c>>>0<=i>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=N[n+16>>2];d=589824;break Fa}d=N[n+20>>2]+T(i,28)|0}N[d+8>>2]=b}i=i+1|0;if(i>>>0>>0){continue}break}}r=r+1|0;if(r>>>0>2]){continue}break}}La=j+48|0;if(!N[a>>2]){N[a>>2]=o;return o}if(N[o+4>>2]){b=0;while(1){c=N[o+8>>2]+T(b,28)|0;if(N[c+16>>2]){N[c+16>>2]=0}_a(N[c+20>>2]);N[c+16>>2]=0;N[c+20>>2]=0;N[c+12>>2]=0;b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[o+8>>2]);ab(N[o>>2]);_a(o);b=N[a>>2];if(!b){continue}break}}return b}function Kg(a){var 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,t=0,u=0;b=N[a>>2];if(!b){t=a+-64|0;while(1){f=N[t>>2];if(!f){return 275552}c=db(1,224);if(!c){N[a>>2]=275552;return 275552}N[c+36>>2]=65536;g=La-8304|0;La=g;N[c+88>>2]=0;N[c+92>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+96>>2]=0;N[c+100>>2]=0;h=c+112|0;b=h;N[b>>2]=-1;N[b+4>>2]=-1;N[c+120>>2]=-1;N[c+124>>2]=-1;N[c+128>>2]=-1;N[c+132>>2]=-1;N[c+136>>2]=-1;N[c+140>>2]=-1;N[c+144>>2]=-1;N[c+148>>2]=-1;N[c+152>>2]=-1;N[c+168>>2]=0;N[c+172>>2]=0;N[c+160>>2]=0;N[c+164>>2]=8720;N[c+176>>2]=0;N[c+180>>2]=0;N[c+184>>2]=0;N[c+188>>2]=0;n=c+192|0;b=n;N[b>>2]=0;N[b+4>>2]=0;N[c+200>>2]=0;N[c+204>>2]=0;N[c+208>>2]=0;N[c+212>>2]=0;if(!O[c+40|0]){i=N[f+32>>2];if((i|0)==-1){b=sb(f+56|0);b=O[b+4|0]|O[b+5|0]<<8;i=(b<<8|b>>>8)&65535;N[f+32>>2]=i}L[c+40|0]=1;N[c+36>>2]=i}b=N[f+12>>2];a:{if(b){e=Qa[b|0](f,1128678944,N[f+16>>2])|0;if(e){break a}}e=275552}b:{c:{b=N[e>>2];if(b){if((b|0)<=0){break c}N[e>>2]=b+1}L[c+24|0]=0;N[c+32>>2]=e;f=N[e+12>>2];N[c+4>>2]=f;d=N[e+16>>2];N[c+8>>2]=d+f;if((d|0)>=0){d:{N[c+28>>2]=0;if(d>>>0>67108863){b=1073741823}else{b=d<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[c+12>>2]=b;N[c+20>>2]=0;N[c>>2]=0;e:{if(!f){ab(e);N[c+32>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;break e}f:{if(d>>>0>=4){N[c+12>>2]=b-4;b=O[f|0];ab(e);N[c+32>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;if((b|0)!=1){break f}if(!N[e+4>>2]){break e}N[e+4>>2]=0;break e}ab(e);N[c+32>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0}ab(e);e=275552}N[c+44>>2]=e;g:{b=N[e>>2];if(b){if((b|0)<=0){break g}N[e>>2]=b+1}L[c+24|0]=0;N[c+32>>2]=e;b=N[e+12>>2];N[c+4>>2]=b;f=b;b=N[e+16>>2];N[c+8>>2]=f+b;if((b|0)>=0){N[c+28>>2]=0;if(b>>>0>67108863){b=1073741823}else{b=b<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[c+12>>2]=b;N[c+20>>2]=0;N[c>>2]=0;h:{i:{if(Q[e+16>>2]<4){break i}q=N[e+12>>2];if((q|0)==275552){break i}b=O[q+2|0]+q|0;N[c+56>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}j=N[c+56>>2];b=O[j|0]|O[j+1|0]<<8;if(b){d=O[j+2|0];b=(b<<8|b>>>8)&65535;e=T(d,b+1|0);b=j+T(b,d)|0;f=0;j:{k:{switch(d-1|0){case 0:f=O[b+3|0];break j;case 1:b=O[b+3|0]|O[b+4|0]<<8;f=(b<<8|b>>>8)&65535;break j;case 2:f=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break j;case 3:break k;default:break j}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(e+f|0)+2|0}else{b=2}b=b+j|0;N[c+60>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}b=N[c+60>>2];if(!(O[b|0]|O[b+1|0]<<8)){break i}gd(g+16|0,b,0);e=N[g+20>>2];if(e){f=N[g+16>>2];if(f>>>0>2]){break i}b=N[c+8>>2];if(b>>>0>>0|e>>>0>b-f>>>0){break i}b=N[c+12>>2]-e|0;N[c+12>>2]=b;if((b|0)<=0){break i}}j=c+204|0;L[g+4184|0]=0;C(g+4188|0,0,4108);N[g+8296>>2]=0;N[g+8300>>2]=0;N[g+4176>>2]=0;f=N[g+20>>2];b=N[g+16>>2];N[g+4168>>2]=b;N[g+4172>>2]=f;N[c+104>>2]=0;N[c+108>>2]=0;N[c+96>>2]=0;N[c+100>>2]=0;N[c+88>>2]=0;N[c+92>>2]=0;N[h+40>>2]=-1;N[h+32>>2]=-1;N[h+36>>2]=-1;N[h+24>>2]=-1;N[h+28>>2]=-1;N[h+16>>2]=-1;N[h+20>>2]=-1;N[h+8>>2]=-1;N[h+12>>2]=-1;N[h>>2]=-1;N[h+4>>2]=-1;N[c+160>>2]=0;N[c+164>>2]=8720;N[c+184>>2]=0;N[c+188>>2]=0;N[c+176>>2]=0;N[c+180>>2]=0;N[c+168>>2]=0;N[c+172>>2]=0;i=f;p=g+4184|0;e=0;while(1){l:{m:{n:{f=e+1|0;if(f>>>0<=i>>>0){d=N[g+4168>>2];b=O[d+e|0];N[g+4176>>2]=f;o:{if((b|0)!=12){e=f;break o}e=e+2|0;if(i>>>0>>0){e=N[c+88>>2];b=N[g+8300>>2];N[g+8300>>2]=f;m=b+(e^-1)|0;b=65535;break n}b=O[d+f|0];N[g+4176>>2]=e;b=b|256}m=N[g+8300>>2]+(N[c+88>>2]^-1)|0;f=0;p:{q:{switch(b|0){case 0:case 1:case 2:case 3:case 4:case 256:case 277:case 278:case 294:f=N[g+4188>>2];r:{if(!f){d=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break r}l=S[p+(f<<3)>>3];s:{if(V(l)<2147483648){d=~~l;break s}d=-2147483648}f=0;if((d|0)>=0){break r}L[g+4184|0]=1;d=0;f=1}t:{u:{v:{w:{x:{y:{z:{A:{B:{switch(b-1|0){default:k=0;switch(b-256|0){case 22:break u;case 38:break v;case 21:break w;case 0:break A;default:break t};case 3:break x;case 2:break y;case 1:break z;case 0:break B}}k=1;break t}k=2;break t}k=3;break t}k=4;break t}k=5;break t}k=6;break t}k=7;break t}k=8}N[h+(k<<2)>>2]=d;break p;case 290:b=N[g+4188>>2];C:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break C}l=S[p+(b<<3)>>3];D:{if(V(l)<2147483648){b=~~l;break D}b=-2147483648}f=0;if((b|0)>=0){break C}L[g+4184|0]=1;b=0;f=1}N[c+164>>2]=b;b=290;break p;case 286:E:{F:{G:{H:{k=N[g+4188>>2];I:{if(!k){N[c+160>>2]=0;break I}d=k-1|0;l=S[(p+(d<<3)|0)+8>>3];J:{if(V(l)<2147483648){b=~~l;break J}b=-2147483648}if((b|0)<0){L[g+4184|0]=1;f=1;b=0}N[c+160>>2]=b;if(d){break H}}N[147456]=0;N[147457]=0;L[g+4184|0]=1;N[c+152>>2]=0;break G}k=k-2|0;N[g+4188>>2]=k;d=p+(k<<3)|0;l=S[d+8>>3];K:{if(V(l)<2147483648){b=~~l;break K}b=-2147483648}if((b|0)<0){L[g+4184|0]=1;f=1;b=0}N[c+152>>2]=b;if(k){break F}}b=0;N[147456]=0;N[147457]=0;f=1;L[g+4184|0]=1;break E}l=S[d>>3];L:{if(V(l)<2147483648){b=~~l;break L}b=-2147483648}if((b|0)>=0){break E}f=1;L[g+4184|0]=1;b=0}N[c+148>>2]=b;b=286;break p;case 16:M:{b=N[g+4188>>2];N:{if(!b){N[147456]=0;N[147457]=0;break N}l=S[p+(b<<3)>>3];O:{if(V(l)<2147483648){d=~~l;break O}d=-2147483648}if((d|0)>=0){break M}}L[g+4184|0]=1;N[c+168>>2]=0;N[g+4188>>2]=0;break l}N[c+168>>2]=d;N[g+4188>>2]=0;b=16;if(d){break m}break l;case 15:P:{b=N[g+4188>>2];Q:{if(!b){N[147456]=0;N[147457]=0;break Q}l=S[p+(b<<3)>>3];R:{if(V(l)<2147483648){d=~~l;break R}d=-2147483648}if((d|0)>=0){break P}}L[g+4184|0]=1;N[c+172>>2]=0;N[g+4188>>2]=0;break l}N[c+172>>2]=d;N[g+4188>>2]=0;b=15;if(d){break m}break l;case 293:b=N[g+4188>>2];S:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break S}l=S[p+(b<<3)>>3];T:{if(V(l)<2147483648){b=~~l;break T}b=-2147483648}f=0;if((b|0)>=0){break S}L[g+4184|0]=1;b=0;f=1}N[c+176>>2]=b;b=293;break p;case 18:U:{V:{k=N[g+4188>>2];W:{if(!k){N[c+180>>2]=0;break W}d=k-1|0;l=S[(p+(d<<3)|0)+8>>3];X:{if(V(l)<2147483648){b=~~l;break X}b=-2147483648}if((b|0)<0){L[g+4184|0]=1;f=1;b=0}N[c+180>>2]=b;if(d){break V}}b=0;N[147456]=0;N[147457]=0;f=1;L[g+4184|0]=1;break U}l=S[(p+(k<<3)|0)-8>>3];Y:{if(V(l)<2147483648){b=~~l;break Y}b=-2147483648}if((b|0)>=0){break U}f=1;L[g+4184|0]=1;b=0}N[c+184>>2]=b;b=18;break p;case 5:case 13:case 14:case 257:case 258:case 259:case 260:case 261:case 262:case 264:case 276:case 279:case 287:case 288:case 289:case 291:break p;default:break q}}N[g+8300>>2]=e;if((b|0)!=292){if((b|0)==263){break p}if((b|0)!=17){break n}b=N[g+4188>>2];Z:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break Z}l=S[p+(b<<3)>>3];_:{if(V(l)<2147483648){b=~~l;break _}b=-2147483648}f=0;if((b|0)>=0){break Z}L[g+4184|0]=1;b=0;f=1}N[c+104>>2]=b;b=17;break p}b=N[g+4188>>2];$:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break $}l=S[p+(b<<3)>>3];aa:{if(V(l)<2147483648){b=~~l;break aa}b=-2147483648}f=0;if((b|0)>=0){break $}L[g+4184|0]=1;b=0;f=1}N[c+108>>2]=b;b=292}N[g+4188>>2]=0;break m}b=N[c+172>>2];ba:{if(b>>>0<=2){N[c+52>>2]=275552;break ba}d=b+q|0;N[c+52>>2]=d;if((d|0)==275552){break i}k=0;ca:{da:{m=N[c+4>>2];ea:{if(m>>>0>d>>>0){break ea}o=N[c+8>>2];if(o>>>0<=d>>>0){break ea}b=N[c+12>>2];e=b-1|0;N[c+12>>2]=e;if((e|0)<=0){break ea}fa:{switch(O[d|0]){case 0:f=(d+(N[c+36>>2]<<1)|0)-1|0;if(f>>>0>>0|f>>>0>o>>>0|o-f>>>0<2){break ea}b=b-3|0;N[c+12>>2]=b;k=(b|0)>0;break ca;case 1:k=1;f=N[c+36>>2]-1|0;if(!f){break ea}i=d+1|0;b=0;while(1){h=i+T(b,3)|0;if(h>>>0>>0|h>>>0>o>>>0|o-h>>>0<3){break da}d=e-3|0;N[c+12>>2]=d;if((e|0)<4){break da}h=O[h+2|0];if(h>>>0>=f>>>0){break da}b=b+1|0;e=d;f=(h^-1)+f|0;if(f){continue}break};break ea;case 2:break fa;default:break ea}}k=1;f=N[c+36>>2]-1|0;if(!f){break ea}i=d+1|0;b=0;while(1){h=i+(b<<2)|0;if(h>>>0>>0|h>>>0>o>>>0|o-h>>>0<4){break da}d=e-4|0;N[c+12>>2]=d;if((e|0)<5){break da}e=O[h+2|0]|O[h+3|0]<<8;h=(e<<8|e>>>8)&65535;if(h>>>0>=f>>>0){break da}b=b+1|0;e=d;f=(h^-1)+f|0;if(f){continue}break}}break ca}k=0}if(!k){break i}}N[c+84>>2]=1;ga:{ha:{if(N[c+148>>2]!=-1){b=N[c+108>>2];f=b?b+q|0:275552;N[c+76>>2]=f;b=N[c+176>>2];N[c+80>>2]=b?b+q|0:275552;if((f|0)==275552){break i}if(!Fd(f,c)){break i}h=N[c+80>>2];if((h|0)==275552){break i}b=N[c+76>>2];b=O[b|0]|O[b+1|0]<<8;f=(b<<8|b>>>8)&65535;d=0;ia:{if(h>>>0>2]){break ia}b=N[c+8>>2];if(b>>>0<=h>>>0){break ia}e=N[c+12>>2]-1|0;N[c+12>>2]=e;if((e|0)<=0){break ia}ja:{switch(O[h|0]){case 0:f=N[c+36>>2];if(f){if(f>>>0>b+(h^-1)>>>0){break ia}b=e-f|0;N[c+12>>2]=b;if((b|0)<=0){break ia}}d=1;break ia;case 3:break ja;default:break ia}}d=Yp(h+1|0,c,f)}if(!d){break i}b=N[c+76>>2];b=O[b|0]|O[b+1|0]<<8;N[c+48>>2]=275552;N[c+84>>2]=(b<<8|b>>>8)&65535;f=c+48|0;if(N[c+148>>2]==-1){break ha}if(N[c+52>>2]!=275552){break ga}break i}N[c+80>>2]=275552;N[c+76>>2]=275552;N[c+48>>2]=275552;f=c+48|0}b=N[c+168>>2];if(b>>>0<2){break ga}k=b+q|0;N[f>>2]=k;if((k|0)==275552){break i}ka:{la:{if(k>>>0>2]){break la}i=N[c+8>>2];if(i>>>0<=k>>>0){break la}h=N[c+12>>2];b=h-1|0;N[c+12>>2]=b;if((b|0)<=0){break la}d=0;ma:{na:{oa:{pa:{qa:{e=O[k|0];f=e&127;switch(f|0){case 1:break pa;case 0:break qa;default:break ma}}if(i>>>0<=k+1>>>0){break la}d=h-2|0;N[c+12>>2]=d;if(!d){break la}b=O[k+1|0];if(!b){break na}if(b>>>0<=i+(k+1^-1)>>>0){break oa}break la}if(i>>>0<=k+1>>>0){break la}d=h-2|0;N[c+12>>2]=d;if(!d){break la}b=O[k+1|0];if(!b){break na}b=b<<1;if(b>>>0>i+(k+1^-1)>>>0){break la}b=d-b|0;N[c+12>>2]=b;if((b|0)>0){break na}break la}b=d-b|0;N[c+12>>2]=b;d=0;if((b|0)<=0){break ma}}d=1;if(e<<24>>24>=0){break ma}d=275552;ra:{sa:{switch(f|0){case 0:b=O[k+1|0];if(!b){d=275553;break ra}d=(b+k|0)+2|0;break ra;case 1:break sa;default:break ra}}b=O[k+1|0];if(b){b=k+(b<<1)|0}else{b=275552}d=b+2|0}if(Q[c+4>>2]>d>>>0){break la}f=N[c+8>>2];if(f>>>0<=d>>>0){break la}e=N[c+12>>2]-1|0;N[c+12>>2]=e;if((e|0)<=0){break la}b=O[d|0];if(b){b=T(b,3);if(b>>>0>f+(d^-1)>>>0){break la}b=e-b|0;N[c+12>>2]=b;d=0;if((b|0)<=0){break ma}}d=1}break ka}d=0}if(!d){break i}}h=N[c+60>>2];b=O[h|0]|O[h+1|0]<<8;if(b){d=O[h+2|0];b=(b<<8|b>>>8)&65535;e=T(d,b+1|0);b=h+T(b,d)|0;f=0;ta:{ua:{switch(d-1|0){case 0:f=O[b+3|0];break ta;case 1:b=O[b+3|0]|O[b+4|0]<<8;f=(b<<8|b>>>8)&65535;break ta;case 2:f=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break ta;case 3:break ua;default:break ta}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(e+f|0)+2|0}else{b=2}b=b+h|0;N[c+64>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}e=N[c+64>>2];b=O[e|0]|O[e+1|0]<<8;if(b){h=O[e+2|0];b=(b<<8|b>>>8)&65535;f=T(h,b+1|0);b=e+T(b,h)|0;d=0;va:{wa:{switch(h-1|0){case 0:d=O[b+3|0];break va;case 1:b=O[b+3|0]|O[b+4|0]<<8;d=(b<<8|b>>>8)&65535;break va;case 2:d=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break va;case 3:break wa;default:break va}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(d+f|0)+2|0}else{b=2}b=b+e|0;N[c+68>>2]=b;if((b|0)!=275552){if(!Fd(b,c)){break i}}b=N[c+104>>2];b=b?b+q|0:275552;N[c+72>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}b=N[c+72>>2];b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;N[c+216>>2]=b;if((b|0)!=N[c+36>>2]){break i}b=N[c+84>>2];k=0;m=N[j>>2];xa:{if((m|0)>=0){h=(b|0)>0?b:0;if(h>>>0>m>>>0){while(1){m=((m>>>1|0)+m|0)+8|0;if(h>>>0>=m>>>0){continue}break}ya:{if(m>>>0<=178956970){e=kb(T(m,24));if(e){if(N[j+4>>2]){while(1){f=T(k,24);d=f+e|0;i=f+N[j+8>>2]|0;N[d>>2]=N[i>>2];N[d+4>>2]=N[i+4>>2];N[i+4>>2]=0;N[d+8>>2]=N[i+8>>2];N[i+8>>2]=0;N[d+12>>2]=N[i+12>>2];N[i+12>>2]=0;b=N[i+20>>2];N[d+16>>2]=N[i+16>>2];N[d+20>>2]=b;b=f+N[j+8>>2]|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;k=k+1|0;if(k>>>0>2]){continue}break}}_a(N[j+8>>2])}if(e){break ya}}N[j>>2]=-1;b=0;break xa}N[j>>2]=m;N[j+8>>2]=e}d=N[j+4>>2];za:{if(h>>>0>d>>>0){while(1){N[j+4>>2]=d+1;b=N[j+8>>2]+T(d,24)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;d=N[j+4>>2];if(h>>>0>d>>>0){continue}break za}}if(d>>>0<=h>>>0){break za}while(1){b=(N[j+8>>2]+T(d,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;d=N[j+4>>2]-1|0;N[j+4>>2]=d;if(d>>>0>h>>>0){continue}break}}N[j+4>>2]=h;b=1}else{b=0}}if(!b){break i}Aa:{if(N[c+84>>2]){i=0;while(1){Ba:{if(Q[c+208>>2]<=i>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break Ba}b=N[c+212>>2]+T(i,24)|0}N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;i=i+1|0;b=N[c+84>>2];if(i>>>0>>0){continue}break}if(N[c+148>>2]==-1){break Aa}if(!b){break h}u=g+36|0;p=g+4188|0;f=0;while(1){gd(g+4152|0,N[c+76>>2],f);d=N[g+4156>>2];if(d){e=N[g+4152>>2];if(e>>>0>2]){break i}b=N[c+8>>2];if(b>>>0>>0|d>>>0>b-e>>>0){break i}b=N[c+12>>2]-d|0;N[c+12>>2]=b;if((b|0)<=0){break i}}L[g+4184|0]=0;C(p,0,4108);N[g+8296>>2]=0;N[g+8300>>2]=0;N[g+4176>>2]=0;b=N[g+4156>>2];N[g+4168>>2]=N[g+4152>>2];N[g+4172>>2]=b;N[g+4148>>2]=g+4168;k=0;Ca:{Da:{Ea:{m=N[n>>2];if((m|0)>=0){e=N[n+4>>2];b=e+1|0;h=(b|0)>0?b:0;if(h>>>0<=m>>>0){break Da}while(1){m=((m>>>1|0)+m|0)+8|0;if(h>>>0>=m>>>0){continue}break}if(m>>>0<=134217727){d=kb(m<<5);if(d){if(N[n+4>>2]){while(1){e=k<<5;j=e+d|0;i=e+N[n+8>>2]|0;N[j>>2]=N[i>>2];N[j+4>>2]=N[i+4>>2];N[i+4>>2]=0;N[j+8>>2]=N[i+8>>2];N[i+8>>2]=0;N[j+12>>2]=N[i+12>>2];N[i+12>>2]=0;b=N[i+28>>2];N[j+24>>2]=N[i+24>>2];N[j+28>>2]=b;b=N[i+20>>2];N[j+16>>2]=N[i+16>>2];N[j+20>>2]=b;b=e+N[n+8>>2]|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;k=k+1|0;if(k>>>0>2]){continue}break}}_a(N[n+8>>2])}if(d){break Ea}}N[n>>2]=-1}N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;e=589824;break Ca}N[n>>2]=m;N[n+8>>2]=d;e=N[n+4>>2]}Fa:{if(e>>>0>>0){while(1){N[n+4>>2]=e+1;b=N[n+8>>2]+(e<<5)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;e=N[n+4>>2];if(h>>>0>e>>>0){continue}break Fa}}if(e>>>0<=h>>>0){break Fa}while(1){b=(N[n+8>>2]+(e<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;e=N[n+4>>2]-1|0;N[n+4>>2]=e;if(e>>>0>h>>>0){continue}break}}N[n+4>>2]=h;e=(N[n+8>>2]+(h<<5)|0)-32|0}if(N[n>>2]<0){break i}N[e>>2]=0;N[e+4>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;N[e+24>>2]=0;N[e+28>>2]=-1;N[e>>2]=0;N[e+4>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;N[e+24>>2]=0;N[e+28>>2]=-1;o=g+4148|0;b=N[o>>2];i=N[b+4>>2];d=N[b+8>>2];while(1){Ga:{j=d+1|0;m=j>>>0>i>>>0;if(m){break Ga}h=N[b>>2];k=O[h+d|0];N[b+8>>2]=j;Ha:{Ia:{Ja:{Ka:{if((k|0)!=12){d=j;break Ka}d=d+2|0;if(i>>>0>>0){k=65535;break Ja}j=O[h+j|0];N[b+8>>2]=d;k=j|256}La:{Ma:{switch(k-261|0){default:if((k|0)!=18){if((k|0)!=294){break Ja}h=b+16|0;i=b+20|0;j=N[i>>2];if(!j){L[h|0]=1;N[147456]=0;N[147457]=0;N[e+28>>2]=0;break La}l=S[h+(j<<3)>>3];Na:{if(V(l)<2147483648){j=~~l;break Na}j=-2147483648}if((j|0)<0){L[h|0]=1;j=0}N[e+28>>2]=j;break La}r=b+16|0;Oa:{i=b+20|0;s=N[i>>2];Pa:{if(!s){N[e+16>>2]=0;break Pa}h=s-1|0;l=S[(r+(h<<3)|0)+8>>3];Qa:{if(V(l)<2147483648){j=~~l;break Qa}j=-2147483648}if((j|0)<0){L[r|0]=1;j=0}N[e+16>>2]=j;if(h){break Oa}}L[r|0]=1;N[147456]=0;N[147457]=0;N[e+20>>2]=0;break La}l=S[(r+(s<<3)|0)-8>>3];Ra:{if(V(l)<2147483648){j=~~l;break Ra}j=-2147483648}if((j|0)<0){L[r|0]=1;j=0}N[e+20>>2]=j;break La;case 1:break Ja;case 0:case 2:break Ma}}i=b+20|0}N[i>>2]=0;break Ia}Ke(k,b);if(N[b+20>>2]){break Ha}d=N[b+8>>2]}if(O[b+16|0]|Q[b+4>>2]>>0){break Ha}Sa:{Ta:{Ua:{i=N[e+4>>2];if((i|0)>=0){d=N[e+8>>2];j=d+1|0;j=(j|0)>0?j:0;if(j>>>0<=i>>>0){break Ta}while(1){i=((i>>>1|0)+i|0)+8|0;if(j>>>0>=i>>>0){continue}break}if(i>>>0<=357913941){d=$a(N[e+12>>2],T(i,12));if(d){break Ua}}N[e+4>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break Sa}N[e+4>>2]=i;N[e+12>>2]=d;d=N[e+8>>2]}if(d>>>0>>0){while(1){N[e+8>>2]=d+1;d=N[e+12>>2]+T(d,12)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;d=N[e+8>>2];if(j>>>0>d>>>0){continue}break}}N[e+8>>2]=j;i=(N[e+12>>2]+T(j,12)|0)-12|0}N[i+4>>2]=k;h=N[b+8>>2];d=N[b+4>>2];j=N[e>>2];N[i>>2]=j+N[b>>2];b=d-j|0;d=b>>>0<=d>>>0?b:0;b=h-j|0;L[i+8|0]=b>>>0>d>>>0?d:b;N[e>>2]=h}b=N[o>>2];d=N[b+8>>2];i=N[b+4>>2];if(d>>>0>i>>>0){break Ga}if(!O[b+16|0]){continue}}break}if(!m){break i}Va:{if(Q[c+208>>2]<=f>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break Va}b=N[c+212>>2]+T(f,24)|0}j=N[e+16>>2]+q|0;d=N[e+20>>2];if(d){if(j>>>0>2]){break i}e=N[c+8>>2];if(e>>>0>>0|d>>>0>e-j>>>0){break i}e=N[c+12>>2]-d|0;N[c+12>>2]=e;if((e|0)<=0){break i}}L[g+32|0]=0;C(u,0,4108);N[g+24>>2]=0;N[g+20>>2]=d;N[g+16>>2]=j;N[g+12>>2]=g+16;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;if(!Zp(g+12|0,b)){break i}d=b;b=N[b+16>>2];b=b?b+j|0:275552;N[d+20>>2]=b;if((b|0)!=275552){if(!Fd(b,c)){break i}}f=f+1|0;if(f>>>0>2]){continue}break}break h}if(N[c+148>>2]!=-1){break h}}Wa:{if(!N[c+208>>2]){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break Wa}b=N[c+212>>2]}d=N[c+180>>2]+q|0;e=N[c+184>>2];if(e){if(d>>>0>2]){break i}f=N[c+8>>2];if(f>>>0>>0|e>>>0>f-d>>>0){break i}f=N[c+12>>2]-e|0;N[c+12>>2]=f;if((f|0)<=0){break i}}L[g+4184|0]=0;C(g+4188|0,0,4108);N[g+4176>>2]=0;N[g+4172>>2]=e;N[g+4168>>2]=d;N[g+16>>2]=g+4168;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;if(!Zp(g+16|0,b)){break i}f=b;b=N[b+16>>2];b=b?b+d|0:275552;N[f+20>>2]=b;if((b|0)==275552){break h}if(Fd(b,c)){break h}break i}Ke(b,g+4168|0);i=N[g+4172>>2];e=N[g+4176>>2];if(N[g+4188>>2]){break l}f=O[g+4184|0]}if(f&255|e>>>0>i>>>0){break l}Xa:{Ya:{Za:{f=N[c+92>>2];if((f|0)>=0){k=N[c+96>>2];d=k+1|0;if(f>>>0>=d>>>0){o=N[c+100>>2];break Ya}while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=d>>>0){continue}break}if(f>>>0<=268435455){o=$a(N[c+100>>2],f<<4);if(o){break Za}}N[c+92>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;f=589824;break Xa}N[c+92>>2]=f;N[c+100>>2]=o;k=N[c+96>>2];d=k+1|0}N[c+96>>2]=d;f=(k<<4)+o|0;N[f+12>>2]=m;L[f+8|0]=0;N[f>>2]=0;i=N[g+4172>>2];e=N[g+4176>>2]}N[f+4>>2]=b;d=N[c+88>>2];N[f>>2]=d+N[g+4168>>2];k=f;b=i-d|0;f=b>>>0<=i>>>0?b:0;b=e-d|0;L[k+8|0]=b>>>0>f>>>0?f:b;N[c+88>>2]=e}if(e>>>0>i>>>0){break i}if(!O[g+4184|0]){continue}break}}mj(c)}La=g+8304|0;break b}break d}break c}}ba(16656,14279,195,9642);B()}ba(23506,14099,260,16403);B()}N[c+220>>2]=0;if(!N[a>>2]){N[a>>2]=c;return c}mj(c);_a(nq(c));b=N[a>>2];if(!b){continue}break}}return b}function CE(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=279;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];j:{k:{l:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break k}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break l}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break j}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=280;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1853188980;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1634429038;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];v:{w:{x:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break w}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break x}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break v}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break A}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break C}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break B}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break G}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1919644262;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];H:{I:{J:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break I}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break J}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break H}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];N:{O:{P:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break O}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break P}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break N}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break S}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];T:{U:{V:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break U}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break V}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break T}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];Z:{_:{$:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break _}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break $}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Z}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];aa:{ba:{ca:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ba}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ca}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break aa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1751215206;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];da:{ea:{fa:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break ea}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break fa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break da}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ga:{ha:{ia:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ia}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ga}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];ja:{ka:{la:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break ka}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break la}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break ja}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ma:{na:{oa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break oa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ma}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1986098293;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];pa:{qa:{ra:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break qa}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break ra}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break pa}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];sa:{ta:{ua:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ua}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break sa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1667916660;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];va:{wa:{xa:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break wa}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break xa}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break va}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;ya:{za:{Aa:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break za}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break Aa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break ya}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=281;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];Ba:{Ca:{Da:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Da}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ba}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1768843636;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ea:{Fa:{Ga:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ga}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ea}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ha:{Ia:{Ja:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ja}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ha}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ka:{La:{Ma:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break La}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ma}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ka}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Na:{Oa:{Pa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Pa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Na}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Qa:{Ra:{Sa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Sa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Qa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1751215214;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Oq(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,G=0,H=0;w=La-176|0;La=w;a:{v=N[a+112>>2];x=L[v+36|0]&1;if(!x){break a}while(1){b:{e=N[v+32>>2];if(!e){s=0;t=0;d=La-6752|0;La=d;u=275552;c:{d:{e:{f:{g:{h:{q=db(1,260);i:{if(!q){break i}j:{f=N[a+44>>2];if((f|0)<=0){break j}z=d+1132|0;n=d+4988|0;A=d+464|0;D=d+4448|0;E=d+496|0;r=d+4476|0;while(1){k:{l:{if((f|0)>0){k=N[(t<<2)+239840>>2];j=N[a+48>>2];f=f-1|0;g=0;while(1){i=f+g>>>1|0;h=j+T(i,36)|0;e=N[h>>2];m:{if(e>>>0>k>>>0){f=i-1|0;break m}if(e>>>0>=k>>>0){break l}g=i+1|0}if((f|0)>=(g|0)){continue}break}}N[((s<<2)+q|0)+8>>2]=0;break k}y=(s<<2)+q|0;e=N[h+28>>2];N[y+8>>2]=e;if(!e){break k}n:{o:{p:{q:{r:{if(t>>>0<=3){f=1569;j=0;while(1){e=P[((f<<3)+(t<<1)|0)+227320>>1];s:{if(!e){break s}N[d+288>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];l=d+288|0;h=N[h+12>>2];if(h){g=N[h+8>>2]}else{g=0}if(!(Qa[k|0](b,i,f,l,g)|0)){break s}N[d+4448>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];l=d+4448|0;h=N[h+12>>2];if(h){g=N[h+8>>2]}else{g=0}if(!(Qa[k|0](b,i,e,l,g)|0)){break s}g=N[d+288>>2];h=N[d+4448>>2];if((g|0)==(h|0)|(g|h)>>>0>65535){break s}e=j<<1;M[e+(d+5968|0)>>1]=h<<8|(h&65280)>>>8;M[e+(d+4960|0)>>1]=g<<8|(g&65280)>>>8;j=j+1|0}f=f+1|0;if((f|0)!=1748){continue}break}h=1;e=0;t:{switch(j|0){default:while(1){k=h<<1;l=k+(d+4960|0)|0;f=h;while(1){u:{e=f;if(!e){e=0;break u}f=e-1|0;i=P[(d+4960|0)+(f<<1)>>1];g=P[l>>1];if(((i<<8|i>>>8)&65535)>>>0<((g<<8|g>>>8)&65535)>>>0){break u}if((g|0)!=(i|0)){continue}}break}if((e|0)!=(h|0)){i=P[l>>1];m=e<<1;p=m+2|0;f=d+4960|0;l=f+m|0;g=h-e<<1;F(f+p|0,l,g);M[l>>1]=i;e=d+5968|0;f=P[e+k>>1];i=e+p|0;e=e+m|0;F(i,e,g);M[e>>1]=f}h=h+1|0;if((j|0)!=(h|0)){continue}break};break;case 0:break n;case 1:break t}}N[d+4460>>2]=z;N[d+4448>>2]=d+288;N[r+24>>2]=0;N[r+28>>2]=0;N[r+16>>2]=0;N[r+20>>2]=0;N[r+8>>2]=0;N[r+12>>2]=0;N[r>>2]=0;N[r+4>>2]=0;N[d+4524>>2]=0;N[d+4508>>2]=1;N[d+4512>>2]=1;N[d+4536>>2]=0;N[d+4528>>2]=0;N[d+4532>>2]=0;N[d+4516>>2]=0;N[d+4520>>2]=1;Af(d+4448|0);if(N[d+4492>>2]){break h}o=1;e=d+4448|0;p=ad(e);if(!Cf(p,e,1,8)){break o}m=ad(d+4448|0);if(N[d+4472>>2]){break p}if(m>>>0>2]){break g}g=N[d+4452>>2];if(m>>>0>g>>>0){break f}if(g-m>>>0>=3){break e}l=m+2|0;e=l-g|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-g|0)){break q}if((g|0)!=(l|0)){C(g,0,e);g=N[d+4452>>2]}N[d+4452>>2]=e+g;if(!g|!m){break p}v:{w:{if(!j){break w}e=P[d+5968>>1];f=e<<8|e>>>8;e=P[d+4960>>1];i=f-(e<<8|e>>>8)|0;f=j-1|0;if(f){g=d+4960|0;e=d+5968|0;while(1){h=O[e+2|0]|O[e+3|0]<<8;k=h<<8|h>>>8;h=O[g+2|0]|O[g+3|0]<<8;if((i&65535)!=(k-(h<<8|h>>>8)&65535)){break w}e=e+2|0;g=g+2|0;f=f-1|0;if(f){continue}break}}L[m|0]=0;L[m+1|0]=1;N[d+216>>2]=241304;N[d+212>>2]=0;N[d+208>>2]=j;N[d+200>>2]=0;N[d+196>>2]=j;N[d+204>>2]=d+5968;N[d+192>>2]=d+4960;if(N[d+4472>>2]){break p}if(m>>>0>2]){break g}h=N[d+4452>>2];if(h>>>0>>0){break f}if(h-m>>>0>=7){break e}e=m+6|0;f=e-h|0;if((f|0)<0|(f|0)>(N[d+4456>>2]-h|0)){break q}if((e|0)!=(h|0)){C(h,0,f);e=N[d+4452>>2]}N[d+4452>>2]=e+f;if(!e){break p}if(!uj(l,d+4448|0,d+192|0)){break p}e=i<<8|(i&65280)>>>8;L[m+4|0]=e;L[m+5|0]=e>>>8;break v}L[m|0]=0;L[m+1|0]=2;N[d+216>>2]=241304;N[d+212>>2]=0;N[d+208>>2]=j;N[d+200>>2]=0;N[d+196>>2]=j;N[d+204>>2]=d+5968;N[d+192>>2]=d+4960;if(N[d+4472>>2]){break p}if(m>>>0>2]){break g}g=N[d+4452>>2];if(m>>>0>g>>>0){break f}if(g-m>>>0>=7){break e}h=4;e=m+6|0;f=e-g|0;if((f|0)<0|(f|0)>(N[d+4456>>2]-g|0)){break r}if((e|0)!=(g|0)){C(g,0,f);g=N[d+4452>>2]}i=f+g|0;N[d+4452>>2]=i;if(N[d+4472>>2]|!g){break p}g=m+4|0;if(g>>>0>2]){break g}if(g>>>0>i>>>0){break f}if(i-g>>>0>=3){break e}f=e-i|0;if((f|0)<0|(f|0)>(N[d+4456>>2]-i|0)){break r}if((e|0)!=(i|0)){C(i,0,f);e=N[d+4452>>2]}N[d+4452>>2]=e+f;if(!e){break p}e=j<<8|(j&65280)>>>8;L[g|0]=e;L[g+1|0]=e>>>8;e=N[d+4472>>2];if(j>>>0>=65536){h=e|16;break r}if(e){break p}if(g>>>0>2]){break g}f=N[d+4452>>2];if(f>>>0>>0){break f}e=(j<<1&131070)+2|0;if(e>>>0>>0){break e}e=(e+g|0)-f|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-f|0)){break r}N[d+4452>>2]=e+f;if(!f){break p}if(j){f=0;h=d+5968|0;g=j;e=g;while(1){i=g?h:589824;x:{if(!(!g|!e)){k=m+(f<<1)|0;i=O[i|0]|O[i+1|0]<<8;L[k+6|0]=i;L[k+7|0]=i>>>8;e=e-1|0;i=1;break x}M[294912]=0;k=m+(f<<1)|0;i=O[i|0]|O[i+1|0]<<8;L[k+6|0]=i;L[k+7|0]=i>>>8;e=(e?-1:0)+e|0;i=1;if(g){break x}i=0}g=g-i|0;h=(i<<1)+h|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(!uj(l,d+4448|0,d+192|0)){break p}}e=d+4448|0;y:{if(!(O[p+4|0]|O[p+5|0]<<8)){M[294912]=0;f=589824;break y}f=p+6|0}de(e,f,Cc(e,1));o=0;break o}z:{A:{B:{C:{D:{E:{switch(t-4|0){case 0:f=0;N[d+288>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[j|0](b,g,65247,h,e)|0)){e=0;break n}N[d+6720>>2]=0;e=P[d+288>>1];M[d+6704>>1]=e<<8|e>>>8;N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];g=0;h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64904,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[j|0](b,g,65252,h,e)|0){e=P[d+4960>>1];M[d+6640>>1]=e<<8|e>>>8;f=1}N[d+4960>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[j|0](b,g,65188,h,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[d+6480>>2]=3;N[d+6720>>2]=1;e=P[d+288>>1];M[d+6736>>1]=e<<8|e>>>8;g=1}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,61953,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65248,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65258,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[(d+6480|0)+(g<<2)>>2]=3;e=P[d+288>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0;N[d+6720>>2]=g}e=0;N[d+288>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];j=d+288|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}F:{if(!(Qa[k|0](b,i,61969,j,h)|0)){if(g){break F}break n}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65252,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65184,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[(d+6480|0)+(g<<2)>>2]=3;e=P[d+288>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0;N[d+6720>>2]=g}N[d+4972>>2]=A;N[d+4960>>2]=d+288;N[n+24>>2]=0;N[n+28>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[n+8>>2]=0;N[n+12>>2]=0;N[n>>2]=0;N[n+4>>2]=0;N[d+5036>>2]=0;N[d+5020>>2]=1;N[d+5024>>2]=1;N[d+5048>>2]=0;N[d+5040>>2]=0;N[d+5044>>2]=0;N[d+5028>>2]=0;N[d+5032>>2]=1;Af(d+4960|0);if(N[d+5004>>2]){break h}h=1;e=d+4960|0;j=ad(e);if(!Cf(j,e,4,8)){break z}i=ad(d+4960|0);N[d+6564>>2]=1;N[d+6568>>2]=0;N[d+6560>>2]=d+6704;N[d+200>>2]=0;N[d+196>>2]=g;N[d+192>>2]=d+6736;N[d+4456>>2]=0;N[d+4452>>2]=g;N[d+4448>>2]=d+6480;N[d+5976>>2]=0;N[d+5972>>2]=f;N[d+5968>>2]=d+6640;if(N[d+4984>>2]){break A}if(i>>>0>2]){break g}f=N[d+4964>>2];if(i>>>0>f>>>0){break f}if(f-i>>>0>=3){break e}e=i+2|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[d+4968>>2]-f|0))){N[d+4984>>2]=4;break A}if((e|0)!=(f|0)){C(f,0,g);f=N[d+4964>>2]}N[d+4964>>2]=f+g;if(!i|!f){break A}L[i|0]=0;L[i+1|0]=1;N[d+56>>2]=N[d+6568>>2];N[d+40>>2]=N[d+200>>2];N[d+24>>2]=N[d+4456>>2];N[d+8>>2]=N[d+5976>>2];e=N[d+6564>>2];N[d+48>>2]=N[d+6560>>2];N[d+52>>2]=e;e=N[d+196>>2];N[d+32>>2]=N[d+192>>2];N[d+36>>2]=e;e=N[d+4452>>2];N[d+16>>2]=N[d+4448>>2];N[d+20>>2]=e;e=N[d+5972>>2];N[d>>2]=N[d+5968>>2];N[d+4>>2]=e;if(!Pg(i,d+4960|0,d+48|0,d+6720|0,1,d+32|0,d+16|0,d)){break A}e=d+4960|0;G:{if(!(O[j+4|0]|O[j+5|0]<<8)){M[294912]=0;f=589824;break G}f=j+6|0}de(e,f,Cc(e,1));h=0;break z;case 1:o=0;f=0;while(1){N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];g=N[b+100>>2];h=P[T(f,58)+241328>>1];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,g,h,j,e)|0){e=P[d+288>>1];M[(d+6640|0)+(o<<1)>>1]=e<<8|e>>>8;e=o<<2;N[e+(d+6480|0)>>2]=0;N[e+(d+6560|0)>>2]=f;o=o+1|0}f=f+1|0;if((f|0)!=18){continue}break};break B;case 2:f=0;N[d+288>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[j|0](b,g,1617,h,e)|0)){e=0;break n}g=0;N[d+6720>>2]=0;e=P[d+288>>1];M[d+6704>>1]=e<<8|e>>>8;N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64606,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];j=N[e+28>>2];f=N[b+100>>2];h=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[j|0](b,f,1612,h,e)|0){e=P[d+4960>>1];M[d+6736>>1]=e<<8|e>>>8;g=1}N[d+5968>>2]=2;N[d+6720>>2]=1;e=P[d+288>>1];M[d+6640>>1]=e<<8|e>>>8;f=1}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64608,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1614,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64609,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1615,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64610,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1616,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|0)+(f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}e=0;N[d+288>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];j=d+288|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}H:{if(!(Qa[k|0](b,i,62190,j,h)|0)){if(f){break H}break n}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1611,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|0)+(f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}N[d+4972>>2]=E;N[d+4960>>2]=d+288;N[n+24>>2]=0;N[n+28>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[n+8>>2]=0;N[n+12>>2]=0;N[n>>2]=0;N[n+4>>2]=0;N[d+5036>>2]=0;N[d+5020>>2]=1;N[d+5024>>2]=1;N[d+5048>>2]=0;N[d+5040>>2]=0;N[d+5044>>2]=0;N[d+5028>>2]=0;N[d+5032>>2]=1;Af(d+4960|0);if(N[d+5004>>2]){break h}h=1;e=d+4960|0;j=ad(e);if(!Cf(j,e,4,0)){break C}i=ad(d+4960|0);N[d+6484>>2]=1;N[d+6488>>2]=0;N[d+6480>>2]=d+6704;N[d+6568>>2]=0;N[d+6564>>2]=f;N[d+6560>>2]=d+6640;N[d+200>>2]=0;N[d+196>>2]=f;N[d+192>>2]=d+5968;N[d+4456>>2]=0;N[d+4452>>2]=g;N[d+4448>>2]=d+6736;if(N[d+4984>>2]){break D}if(i>>>0>2]){break g}f=N[d+4964>>2];if(i>>>0>f>>>0){break f}if(f-i>>>0>=3){break e}e=i+2|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[d+4968>>2]-f|0))){N[d+4984>>2]=4;break D}if((e|0)!=(f|0)){C(f,0,g);f=N[d+4964>>2]}N[d+4964>>2]=f+g;if(!i|!f){break D}L[i|0]=0;L[i+1|0]=1;N[d+184>>2]=N[d+6488>>2];N[d+168>>2]=N[d+6568>>2];N[d+152>>2]=N[d+200>>2];N[d+136>>2]=N[d+4456>>2];e=N[d+6484>>2];N[d+176>>2]=N[d+6480>>2];N[d+180>>2]=e;e=N[d+6564>>2];N[d+160>>2]=N[d+6560>>2];N[d+164>>2]=e;e=N[d+196>>2];N[d+144>>2]=N[d+192>>2];N[d+148>>2]=e;e=N[d+4452>>2];N[d+128>>2]=N[d+4448>>2];N[d+132>>2]=e;if(!Pg(i,d+4960|0,d+176|0,d+6720|0,1,d+160|0,d+144|0,d+128|0)){break D}e=d+4960|0;I:{if(!(O[j+4|0]|O[j+5|0]<<8)){M[294912]=0;f=589824;break I}f=j+6|0}de(e,f,Cc(e,1));h=0;break C;default:break E}}ba(15473,14202,212,12255);B()}$c(d+4960|0)}J:{K:{f=N[d+4984>>2];if(!f&N[d+5008>>2]<0){break K}if(!f){if(!(L[d+5032|0]&1)){break K}e=0;f=N[d+5004>>2];g=0;L:{if(!f){break L}if(N[f+32>>2]){break d}g=0;if(Q[d+5012>>2]<2){break L}f=d+4960|0;Cc(f,0);zf(f);g=N[d+4984>>2]}if(g|h){break J}j=N[d+4972>>2];l=N[d+4968>>2];g=j-l|0;h=N[d+4964>>2];k=N[d+4960>>2];i=h-k|0;f=g+i|0;if(!f){break J}f=kb(f);if(!f){break J}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break J}e=0;if(!(f&2)|!N[d+5004>>2]){break J}N[d+4984>>2]=f|1;break J}N[d+4984>>2]=1;e=0}yf(d+4960|0);break n}h=1;if(o>>>0>=2){while(1){i=(d+6640|0)+(h<<1)|0;f=h;while(1){M:{e=f;if(!e){e=0;break M}f=e-1|0;j=P[(d+6640|0)+(f<<1)>>1];g=P[i>>1];if(((j<<8|j>>>8)&65535)>>>0<((g<<8|g>>>8)&65535)>>>0){break M}if((g|0)!=(j|0)){continue}}break}if((e|0)!=(h|0)){i=P[i>>1];f=d+6640|0;k=f+(e<<1)|0;j=e+1|0;g=h-e|0;F(f+(j<<1)|0,k,g<<1);M[k>>1]=i;i=d+6560|0;f=N[i+(h<<2)>>2];e=i+(e<<2)|0;F(i+(j<<2)|0,e,g<<2);N[e>>2]=f}h=h+1|0;if((o|0)!=(h|0)){continue}break}}e=0;j=0;h=0;if(!o){break n}while(1){f=h<<2;k=f+(d+6480|0)|0;G=N[f+(d+6560|0)>>2];f=0;while(1){N[d+288>>2]=0;g=N[b+96>>2];m=N[g+28>>2];i=N[b+100>>2];l=T(G,58)+(f<<2)|0;p=P[l+241332>>1];H=d+288|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}if(Qa[m|0](b,i,p,H,g)|0){g=P[l+241330>>1];N:{if(!g){break N}N[d+192>>2]=0;i=N[b+96>>2];p=N[i+28>>2];l=N[b+100>>2];m=d+192|0;i=N[i+12>>2];if(i){i=N[i+8>>2]}else{i=0}if(!(Qa[p|0](b,l,g,m,i)|0)){break N}g=P[d+192>>1];M[(d+4448|0)+(j<<1)>>1]=g<<8|g>>>8;j=j+1|0}N[(d+4960|0)+(e<<2)>>2]=2;g=P[d+288>>1];M[(d+5968|0)+(e<<1)>>1]=g<<8|g>>>8;N[k>>2]=N[k>>2]+1;e=e+1|0}f=f+1|0;if((f|0)!=14){continue}break}h=h+1|0;if((o|0)!=(h|0)){continue}break}if(!e){e=0;break n}N[d+204>>2]=D;N[d+192>>2]=d+288;N[d+244>>2]=0;N[d+248>>2]=0;N[d+236>>2]=0;N[d+240>>2]=0;N[d+228>>2]=0;N[d+232>>2]=0;N[d+220>>2]=0;N[d+224>>2]=0;N[d+268>>2]=0;N[d+252>>2]=1;N[d+256>>2]=1;N[d+280>>2]=0;N[d+272>>2]=0;N[d+276>>2]=0;N[d+260>>2]=0;N[d+264>>2]=1;Af(d+192|0);O:{P:{if(!N[d+236>>2]){h=1;f=d+192|0;i=ad(f);if(!Cf(i,f,4,8)){break O}k=ad(d+192|0);N[d+6696>>2]=0;N[d+6692>>2]=o;N[d+6688>>2]=d+6640;N[d+6712>>2]=0;N[d+6708>>2]=e;N[d+6704>>2]=d+5968;N[d+6728>>2]=0;N[d+6724>>2]=e;N[d+6720>>2]=d+4960;N[d+6744>>2]=0;N[d+6740>>2]=j;N[d+6736>>2]=d+4448;if(N[d+216>>2]){break P}if(k>>>0>2]){break g}f=N[d+196>>2];if(k>>>0>f>>>0){break f}if(f-k>>>0>=3){break e}e=k+2|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[d+200>>2]-f|0))){N[d+216>>2]=4;break P}if((e|0)!=(f|0)){C(f,0,g);f=N[d+196>>2]}N[d+196>>2]=f+g;if(!k|!f){break P}L[k|0]=0;L[k+1|0]=1;N[d+120>>2]=N[d+6696>>2];N[d+104>>2]=N[d+6712>>2];N[d+88>>2]=N[d+6728>>2];N[d+72>>2]=N[d+6744>>2];e=N[d+6692>>2];N[d+112>>2]=N[d+6688>>2];N[d+116>>2]=e;e=N[d+6708>>2];N[d+96>>2]=N[d+6704>>2];N[d+100>>2]=e;e=N[d+6724>>2];N[d+80>>2]=N[d+6720>>2];N[d+84>>2]=e;e=N[d+6740>>2];N[d+64>>2]=N[d+6736>>2];N[d+68>>2]=e;if(!Pg(k,d+192|0,d+112|0,d+6480|0,o,d+96|0,d+80|0,d- -64|0)){break P}e=d+192|0;Q:{if(!(O[i+4|0]|O[i+5|0]<<8)){M[294912]=0;f=589824;break Q}f=i+6|0}de(e,f,Cc(e,1));h=0;break O}break h}$c(d+192|0)}R:{S:{f=N[d+216>>2];if(!f&N[d+240>>2]<0){break S}if(!f){if(!(L[d+264|0]&1)){break S}e=0;f=N[d+236>>2];g=0;T:{if(!f){break T}if(N[f+32>>2]){break d}g=0;if(Q[d+244>>2]<2){break T}f=d+192|0;Cc(f,0);zf(f);g=N[d+216>>2]}if(g|h){break R}j=N[d+204>>2];l=N[d+200>>2];g=j-l|0;h=N[d+196>>2];k=N[d+192>>2];i=h-k|0;f=g+i|0;if(!f){break R}f=kb(f);if(!f){break R}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break R}e=0;if(!(f&2)|!N[d+236>>2]){break R}N[d+216>>2]=f|1;break R}N[d+216>>2]=1;e=0}yf(d+192|0);break n}$c(d+4960|0)}U:{V:{f=N[d+4984>>2];if(!f&N[d+5008>>2]<0){break V}if(!f){if(!(L[d+5032|0]&1)){break V}e=0;f=N[d+5004>>2];g=0;W:{if(!f){break W}if(N[f+32>>2]){break d}g=0;if(Q[d+5012>>2]<2){break W}f=d+4960|0;Cc(f,0);zf(f);g=N[d+4984>>2]}if(g|h){break U}j=N[d+4972>>2];l=N[d+4968>>2];g=j-l|0;h=N[d+4964>>2];k=N[d+4960>>2];i=h-k|0;f=g+i|0;if(!f){break U}f=kb(f);if(!f){break U}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break U}e=0;if(!(f&2)|!N[d+5004>>2]){break U}N[d+4984>>2]=f|1;break U}N[d+4984>>2]=1;e=0}yf(d+4960|0);break n}N[d+4472>>2]=h;break p}N[d+4472>>2]=4}$c(d+4448|0)}X:{Y:{f=N[d+4472>>2];if(!f&N[d+4496>>2]<0){break Y}if(!f){if(!(L[d+4520|0]&1)){break Y}e=0;f=N[d+4492>>2];g=0;Z:{if(!f){break Z}if(N[f+32>>2]){break d}g=0;if(Q[d+4500>>2]<2){break Z}f=d+4448|0;Cc(f,0);zf(f);g=N[d+4472>>2]}if(g|o){break X}j=N[d+4460>>2];l=N[d+4456>>2];g=j-l|0;h=N[d+4452>>2];k=N[d+4448>>2];i=h-k|0;f=g+i|0;if(!f){break X}f=kb(f);if(!f){break X}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break X}e=0;if(!(f&2)|!N[d+4492>>2]){break X}N[d+4472>>2]=f|1;break X}N[d+4472>>2]=1;e=0}yf(d+4448|0)}N[y+36>>2]=e;if(!e){break k}sk((T(s,28)+q|0)- -64|0,e);s=s+1|0}t=t+1|0;if((t|0)!=7){f=N[a+44>>2];continue}break}L[q+4|0]=1;N[q>>2]=s;if(!s){break j}u=q;break i}_a(q)}La=d+6752|0;e=u;break c}ba(9270,14296,271,15396);B()}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}ba(8458,14296,293,15412);B()}if(N[v+32>>2]){break b}N[v+32>>2]=e}a=Ec(w+12|0,0,b,c);b=N[e>>2];if(b){c=0;while(1){f=(c<<2)+e|0;u=N[f+36>>2];if(u){b=N[f+8>>2];N[a+32>>2]=0;N[a+132>>2]=b;N[a+24>>2]=0;N[a+28>>2]=0;n=N[a+140>>2];N[a+12>>2]=n;f=N[a+84>>2]==1;L[a+20|0]=f;L[a+21|0]=O[a+150|0];N[a+16>>2]=b;N[a+72>>2]=0;b=O[a+151|0];L[a+22|0]=b;N[a+64>>2]=0;N[a+68>>2]=0;N[a+52>>2]=n;N[a+8>>2]=a;N[a+48>>2]=a;L[a+61|0]=1;N[a+56>>2]=-1;L[a+62|0]=b;L[a+60|0]=f|O[a+149|0]!=0;Mj(a,u,(T(c,28)+e|0)- -64|0);b=N[e>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}_a(N[a+112>>2]);break a}h=0;if(!(!e|!N[e>>2])){while(1){f=(h<<2)+e|0;_:{if(!N[f+36>>2]){break _}n=T(h,28)+e|0;if(N[n+80>>2]){N[n+80>>2]=0}_a(N[n+84>>2]);N[n+80>>2]=0;N[n+84>>2]=0;N[n+76>>2]=0;if(!O[e+4|0]){break _}_a(N[f+36>>2])}h=h+1|0;if(h>>>0>2]){continue}break}_a(e)}continue}}La=w+176|0;return x|0}function Xj(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;a:{b:{c:{d:{e:{while(1){f:{if((c|0)!=7){g:{switch(c-1|0){case 0:h:{i:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break h;case 0:break i;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}f=O[a+4|0]|O[a+5|0]<<8;c=0;j:{k:{l:{m:{a=d;d=O[d|0]|O[d+1|0]<<8;k=d<<8|d>>>8;d=(k&65535)-1|0;switch(d|0){case 0:break l;case 1:break m;default:break k}}e=241305;h=256;n:{if(!(O[a+2|0]|O[a+3|0]<<8)){d=0;break n}e=a+4|0;d=O[e|0]|O[e+1|0]<<8;d=d<<8|d>>>8;if(O[a+2|0]|O[a+3|0]<<8){j=O[a+4|0]|O[a+5|0]<<8;h=j<<8|j>>>8;if(O[a+2|0]|O[a+3|0]<<8){break n}}e=241305}j=O[e+2|0]|O[e+3|0]<<8;if((h&65535)>>>0<=((j<<8|j>>>8)&65535)>>>0){e=d&65535;break l}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;e=0}a=a+2|0;break j}if(d>>>0>1){break a}a=2}d=f<<8|f>>>8;h=d&65535;j=N[b+20>>2];o:{switch((k&65535)-1|0){case 1:b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}d=0;while(1){tc(j,e+h&65535);b=O[a|0]|O[a+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=c>>>0?241305:(a+T(c,6)|0)+2|0;b=O[b+2|0]|O[b+3|0]<<8;p:{if(((b<<8|b>>>8)&65535)>>>0<=e>>>0){e=0;c=c+1|0;b=O[a|0]|O[a+1|0]<<8;if(c>>>0>=((b<<8|b>>>8)&65535)>>>0){break p}b=(a+T(c,6)|0)+2|0;k=d+1|0;f=O[a|0]|O[a+1|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=c>>>0?241305:b;d=O[f+4|0]|O[f+5|0]<<8;d=(d<<8|d>>>8)&65535;if((k|0)==(d|0)){b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;break p}b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;break p}e=e+1|0;d=d+1|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){continue}break};break a;case 0:break b;default:break o}}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}while(1){tc(j,h);b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){continue}break}break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}else{f=275552}c=0;q:{r:{s:{t:{k=O[f|0]|O[f+1|0]<<8;j=((k<<8|(k&65280)>>>8)&65535)-1|0;switch(j|0){case 1:break s;case 0:break t;default:break q}}d=0;break r}e=241305;h=256;u:{if(!(O[f+2|0]|O[f+3|0]<<8)){break u}e=f+4|0;d=O[e|0]|O[e+1|0]<<8;d=d<<8|d>>>8;if(O[f+2|0]|O[f+3|0]<<8){h=O[f+4|0]|O[f+5|0]<<8;h=h<<8|h>>>8;if(O[f+2|0]|O[f+3|0]<<8){break u}}e=241305}e=O[e+2|0]|O[e+3|0]<<8;d=d&65535;if((h&65535)>>>0<=((e<<8|e>>>8)&65535)>>>0){break r}c=O[f+2|0]|O[f+3|0]<<8;c=(c<<8|c>>>8)&65535;d=0}h=d;e=f}if(j>>>0>1){break a}d=O[a+4|0]|O[a+5|0]<<8;g=(d<<8|(d&65280)>>>8)&65535;i=a+6|0;f=N[b+20>>2];j=0;b=(d|0)!=0;d=e+2|0;a=O[d|0]|O[d+1|0]<<8;a=b&((a<<8|a>>>8)&65535)>>>0>c>>>0;if((k|0)==256){break c}if(!a){break a}while(1){a=O[i|0]|O[i+1|0]<<8;tc(f,(a<<8|a>>>8)&65535);a=O[d|0]|O[d+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=c>>>0?241305:(d+T(c,6)|0)+2|0;a=O[a+2|0]|O[a+3|0]<<8;v:{if(((a<<8|a>>>8)&65535)>>>0<=h>>>0){h=0;c=c+1|0;a=O[d|0]|O[d+1|0]<<8;if(c>>>0>=((a<<8|a>>>8)&65535)>>>0){break v}a=(d+T(c,6)|0)+2|0;k=j+1|0;b=O[d|0]|O[d+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=c>>>0?241305:a;b=O[b+4|0]|O[b+5|0]<<8;j=(b<<8|b>>>8)&65535;if((k|0)==(j|0)){a=O[a|0]|O[a+1|0]<<8;h=(a<<8|a>>>8)&65535;break v}a=O[d|0]|O[d+1|0]<<8;c=(a<<8|a>>>8)&65535;break v}h=h+1|0;j=j+1|0}a=O[d|0]|O[d+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break a}i=i+2|0;g=g-1|0;if(g){continue}break};break a;case 1:if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}w:{x:{y:{z:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;t=d<<8|d>>>8;d=(t&65535)-1|0;switch(d|0){case 0:break y;case 1:break z;default:break x}}e=241305;g=256;A:{if(!(O[c+2|0]|O[c+3|0]<<8)){break A}e=c+4|0;d=O[e|0]|O[e+1|0]<<8;h=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){d=O[c+4|0]|O[c+5|0]<<8;g=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){break A}}e=241305}d=O[e+2|0]|O[e+3|0]<<8;if((g&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){f=h&65535;break y}d=O[c+2|0]|O[c+3|0]<<8;j=(d<<8|d>>>8)&65535}h=c+2|0;break w}if(d>>>0>1){break a}h=2}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}s=(c<<8|(c&65280)>>>8)&65535;g=a+6|0;d=0;while(1){c=O[g|0]|O[g+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}k=O[c|0]|O[c+1|0]<<8;e=(k<<8|k>>>8)&65535;i=c+2|0;c=N[b+20>>2];n=c+12|0;B:{if(O[c+48|0]){Ff(n,i,e,2);break B}if(!k|!O[n|0]){break B}N[c+16>>2]=-1;c=O[i|0]|O[i+1|0]<<8;c=(c<<8|c>>>8)&65535;C:while(1){o=wc(n,c);if(!o){break B}p=c&65024;l=p+512|0;while(1){k=o+(c>>>3&56)|0;r=N[k+4>>2];m=c&63;c=m&31;if((m&63)>>>0>=32){m=1<>>32-c}N[k>>2]=q|N[k>>2];N[k+4>>2]=m|r;e=e-1|0;if(!e){break B}c=O[i+2|0]|O[i+3|0]<<8;i=i+2|0;c=(c<<8|c>>>8)&65535;if(p>>>0>c>>>0){continue C}if(c>>>0>>0){continue}break}continue}}D:{E:{switch((t&65535)-1|0){case 0:j=j+1|0;break D;case 1:break E;default:break D}}c=O[h|0]|O[h+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=j>>>0?241305:(h+T(j,6)|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=f>>>0){f=0;j=j+1|0;c=O[h|0]|O[h+1|0]<<8;if(j>>>0>=((c<<8|c>>>8)&65535)>>>0){break D}c=(h+T(j,6)|0)+2|0;k=d+1|0;e=O[h|0]|O[h+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=j>>>0?241305:c;d=O[e+4|0]|O[e+5|0]<<8;d=(d<<8|d>>>8)&65535;if((k|0)==(d|0)){c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)&65535;break D}c=O[h|0]|O[h+1|0]<<8;j=(c<<8|c>>>8)&65535;break D}f=f+1|0;d=d+1|0}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}g=g+2|0;s=s-1|0;if(s){continue}break};break a;case 4:Wj(a,b);break a;case 2:break d;case 3:break e;case 5:break f;case 7:break g;default:break a}}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=0;f=a+4|0;j=O[a+4|0]|O[a+5|0]<<8;if(j){c=(j<<8|j>>>8)&65535;e=c>>>0<=1?1:c;c=0;while(1){j=O[f|0]|O[f+1|0]<<8;j=((j<<8|j>>>8)&65535)>>>0<=c>>>0?275552:((c<<1)+a|0)+6|0;j=O[j|0]|O[j+1|0]<<8;if(j){k=((j<<8|j>>>8)&65535)+a|0}else{k=275552}if(!Ob(k,N[b+8>>2])){break a}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=O[f|0]|O[f+1|0]<<8}f=(f+(((c<<8|(c&65280)>>>8)&65535)<<1)|0)+2|0;c=O[f|0]|O[f+1|0]<<8;if(c){c=(c<<8|c>>>8)&65535;j=c>>>0<=1?1:c;c=0;while(1){d=O[f|0]|O[f+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=c>>>0?275552:(f+(c<<1)|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}if(!Ob(d,N[b+16>>2])){break a}c=c+1|0;if((j|0)!=(c|0)){continue}break}d=O[f|0]|O[f+1|0]<<8}a=f+(((d<<8|(d&65280)>>>8)&65535)<<1)|0;c=O[a+2|0]|O[a+3|0]<<8;e=(c<<8|c>>>8)&65535;i=a+4|0;a=N[b+20>>2];d=a+12|0;if(O[a+48|0]){Ff(d,i,e,2);return}if(!c|!O[d|0]){break a}N[a+16>>2]=-1;a=O[i|0]|O[i+1|0]<<8;c=(a<<8|a>>>8)&65535;F:while(1){f=wc(d,c);if(!f){break a}j=c&65024;h=j+512|0;while(1){a=f+(c>>>3&56)|0;g=N[a+4>>2];c=c&63;b=c&31;if((c&63)>>>0>=32){k=1<>>32-b}N[a>>2]=c|N[a>>2];N[a+4>>2]=g|k;e=e-1|0;if(!e){break a}a=O[i+2|0]|O[i+3|0]<<8;i=i+2|0;c=(a<<8|a>>>8)&65535;if(j>>>0>c>>>0){continue F}if(c>>>0>>0){continue}break}continue}}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if(c){k=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0}else{k=275552}a=O[a+2|0]|O[a+3|0]<<8;c=(a<<8|a>>>8)&65535;a=k;continue}break}G:{H:{I:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break G;case 1:break H;case 0:break I;default:break a}}Vj(a,b);return}Tj(a,b);return}Sj(a,b);return}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}J:{K:{L:{M:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;B=d<<8|d>>>8;d=(B&65535)-1|0;switch(d|0){case 0:break L;case 1:break M;default:break K}}e=241305;g=256;N:{if(!(O[c+2|0]|O[c+3|0]<<8)){break N}e=c+4|0;d=O[e|0]|O[e+1|0]<<8;h=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){d=O[c+4|0]|O[c+5|0]<<8;g=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){break N}}e=241305}d=O[e+2|0]|O[e+3|0]<<8;if((g&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){u=h&65535;break L}d=O[c+2|0]|O[c+3|0]<<8;r=(d<<8|d>>>8)&65535}n=c+2|0;break J}if(d>>>0>1){break a}n=2}c=O[n|0]|O[n+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}z=(c<<8|(c&65280)>>>8)&65535;y=a+6|0;while(1){c=O[y|0]|O[y+1|0]<<8;if(c){t=((c<<8|c>>>8)&65535)+a|0}else{t=275552}c=O[t|0]|O[t+1|0]<<8;if(c){A=(c<<8|c>>>8)&65535;s=t+2|0;while(1){l=N[b+12>>2];d=O[l+12|0]!=0;c=O[s|0]|O[s+1|0]<<8;if(c){m=((c<<8|c>>>8)&65535)+t|0}else{m=275552}c=O[m+2|0]|O[m+3|0]<<8;i=c?((c<<8|c>>>8)&65535)-1|0:0;d=d&(i|0)!=0;c=m+4|0;O:{if(O[l+48|0]){if(!d){break O}N[l+16>>2]=-1;d=O[c|0]|O[c+1|0]<<8;e=(d<<8|d>>>8)&65535;q=N[l+28>>2];k=q-1|0;v=N[l+44>>2];f=N[l+20>>2];o=N[l+32>>2];P:while(1){Q:{p=e>>>9|0;R:{S:{if(!((p|0)!=N[o+(f<<3)>>2]|f>>>0>=q>>>0)){d=f;break S}h=0;g=k;T:{if((q|0)>0){while(1){d=g+h>>>1|0;w=N[o+(d<<3)>>2];U:{if((p|0)<(w|0)){g=d-1|0;break U}if((p|0)==(w|0)){break T}h=d+1|0}if((g|0)>=(h|0)){continue}break}}g=e&65024;h=g+512|0;break R}N[l+20>>2]=d}g=e&65024;h=g+512|0;if(v){break Q}f=d}while(1){i=i-1|0;if(!i){break O}d=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(d<<8|d>>>8)&65535;if(g>>>0>e>>>0){continue P}if(e>>>0>>0){continue}break}continue}p=v+(N[(o+(d<<3)|0)+4>>2]<<6)|0;while(1){f=p+(e>>>3&56)|0;w=N[f>>2];x=N[f+4>>2];D=f,E=_E(-2,-1,e)&w,N[D>>2]=E;N[f+4>>2]=Pa&x;i=i-1|0;if(!i){break O}f=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(f<<8|f>>>8)&65535;if(g>>>0>e>>>0){f=d;continue P}if(e>>>0>>0){continue}break}f=d;continue}}if(!d){break O}N[l+16>>2]=-1;d=O[c|0]|O[c+1|0]<<8;e=(d<<8|d>>>8)&65535;p=l+24|0;o=l+36|0;f=N[l+32>>2];h=N[l+20>>2];V:{W:{X:{Y:while(1){Z:{q=e>>>9|0;_:{$:{d=N[l+28>>2];if(d>>>0<=h>>>0){break $}k=(h<<3)+f|0;if((q|0)!=N[k>>2]){break $}d=k+4|0;break _}k=N[l+40>>2];aa:{ba:{if((d|0)<=0){h=0;break ba}g=d-1|0;h=0;while(1){d=g+h>>>1|0;v=N[(d<<3)+f>>2];ca:{if((v|0)>(q|0)){g=d-1|0;break ca}if((q|0)==(v|0)){h=d;break aa}h=d+1|0}if((g|0)>=(h|0)){continue}break}}if(!O[l+12|0]){break O}g=N[o>>2];if((g|0)<0){break V}d=k;f=d+1|0;f=(f|0)>0?f:0;if(f>>>0>g>>>0){while(1){g=((g>>>1|0)+g|0)+8|0;if(f>>>0>=g>>>0){continue}break}if(g>>>0>67108863){break Z}d=$a(N[l+44>>2],g<<6);if(!d){break Z}N[l+36>>2]=g;N[l+44>>2]=d;d=N[l+40>>2]}if(d>>>0>>0){C(N[l+44>>2]+(d<<6)|0,0,f-d<<6)}N[l+40>>2]=f;d=N[l+24>>2];if((d|0)<0){break W}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break X}g=$a(N[l+32>>2],d<<3);if(!g){break X}N[l+24>>2]=d;N[l+32>>2]=g}d=N[l+28>>2];if(d>>>0>>0){C(N[l+32>>2]+(d<<3)|0,0,f-d<<3)}N[l+28>>2]=f;d=N[l+44>>2]+(k<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=h<<3;f=d+N[l+32>>2]|0;F(f+8|0,f,N[l+28>>2]+(h^-1)<<3);da:{if(Q[l+28>>2]<=h>>>0){N[147456]=0;N[147457]=0;d=589824;break da}d=d+N[l+32>>2]|0}N[d>>2]=q;N[d+4>>2]=k;f=N[l+32>>2]}N[l+20>>2]=h;d=((h<<3)+f|0)+4|0}k=N[l+44>>2];if(!k){break O}g=k+(N[d>>2]<<6)|0;q=e&65024;v=q+512|0;while(1){d=g+(e>>>3&56)|0;w=N[d+4>>2];k=e&63;e=k&31;if((k&63)>>>0>=32){k=1<>>32-e}N[d>>2]=x|N[d>>2];N[d+4>>2]=k|w;i=i-1|0;if(!i){break O}d=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(d<<8|d>>>8)&65535;if(q>>>0>e>>>0){continue Y}if(e>>>0>>0){continue}break}continue}break}p=o}N[p>>2]=-1}i=N[l+36>>2];if((i|0)<0){break V}c=N[l+28>>2];c=(c|0)>0?c:0;if(c>>>0>i>>>0){while(1){i=((i>>>1|0)+i|0)+8|0;if(c>>>0>=i>>>0){continue}break}ea:{if(i>>>0<=67108863){d=$a(N[l+44>>2],i<<6);if(d){break ea}}N[o>>2]=-1;break V}N[l+36>>2]=i;N[l+44>>2]=d}d=N[l+40>>2];if(d>>>0>>0){C(N[l+44>>2]+(d<<6)|0,0,c-d<<6)}N[l+40>>2]=c}L[l+12|0]=0}c=O[m|0]|O[m+1|0]<<8;o=(c<<8|c>>>8)&65535;g=N[b+20>>2];c=O[g+12|0];fa:{if(O[g+48|0]){if(!c){break fa}e=N[g+20>>2];c=N[g+28>>2];d=o>>>9|0;f=N[g+32>>2];if(!(e>>>0>>0&(d|0)==N[f+(e<<3)>>2])){if((c|0)<=0){break fa}c=c-1|0;i=0;while(1){ga:{e=c+i>>>1|0;h=N[f+(e<<3)>>2];ha:{if((h|0)>(d|0)){c=e-1|0;break ha}if((d|0)==(h|0)){break ga}i=e+1|0}if((c|0)>=(i|0)){continue}break fa}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break fa}d=N[(f+(e<<3)|0)+4>>2];N[g+16>>2]=-1;c=(c+(d<<6)|0)+(o>>>3&56)|0;d=N[c>>2];f=N[c+4>>2];D=c,E=_E(-2,-1,o)&d,N[D>>2]=E;N[c+4>>2]=Pa&f;break fa}if(!c){break fa}N[g+16>>2]=-1;p=o>>>9|0;d=N[g+32>>2];ia:{ja:{f=N[g+20>>2];c=N[g+28>>2];if(f>>>0>=c>>>0){break ja}f=(f<<3)+d|0;if((p|0)!=N[f>>2]){break ja}c=f+4|0;break ia}h=N[g+40>>2];ka:{la:{if((c|0)<=0){c=0;break la}i=c-1|0;c=0;while(1){f=c+i>>>1|0;e=N[(f<<3)+d>>2];ma:{if((e|0)>(p|0)){i=f-1|0;break ma}if((e|0)==(p|0)){c=f;break ka}c=f+1|0}if((c|0)<=(i|0)){continue}break}}na:{oa:{k=g+36|0;d=N[k>>2];pa:{if((d|0)<0){break pa}qa:{ra:{e=h;f=e+1|0;m=(f|0)>0?f:0;if(m>>>0>d>>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(m>>>0>=d>>>0){continue}break}f=k;if(d>>>0>67108863){break ra}e=$a(N[g+44>>2],d<<6);if(!e){break ra}N[g+36>>2]=d;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,m-e<<6)}N[g+40>>2]=m;f=g+24|0;e=N[f>>2];if((e|0)<0){break qa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(m>>>0>=e>>>0){continue}break}if(e>>>0>536870911){break ra}d=$a(N[g+32>>2],e<<3);if(!d){break ra}N[g+24>>2]=e;N[g+32>>2]=d}d=N[g+28>>2];if(d>>>0>>0){C(N[g+32>>2]+(d<<3)|0,0,m-d<<3)}N[g+28>>2]=m;d=N[g+44>>2]+(h<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=c<<3;f=d+N[g+32>>2]|0;F(f+8|0,f,N[g+28>>2]+(c^-1)<<3);if(Q[g+28>>2]>c>>>0){break oa}N[147456]=0;N[147457]=0;d=589824;break na}N[f>>2]=-1}i=N[g+36>>2];if((i|0)<0){break pa}c=N[g+28>>2];c=(c|0)>0?c:0;if(c>>>0>i>>>0){while(1){i=((i>>>1|0)+i|0)+8|0;if(c>>>0>=i>>>0){continue}break}sa:{if(i>>>0<=67108863){d=$a(N[g+44>>2],i<<6);if(d){break sa}}N[k>>2]=-1;L[g+12|0]=0;break fa}N[g+36>>2]=i;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[g+12|0]=0;break fa}d=d+N[g+32>>2]|0}N[d>>2]=p;N[d+4>>2]=h;d=N[g+32>>2]}N[g+20>>2]=c;c=((c<<3)+d|0)+4|0}d=N[g+44>>2];if(!d){break fa}c=(d+(N[c>>2]<<6)|0)+(o>>>3&56)|0;e=N[c+4>>2];f=o&63;d=f&31;if((f&63)>>>0>=32){m=1<>>32-d}N[c>>2]=f|N[c>>2];N[c+4>>2]=e|m}s=s+2|0;A=A-1|0;if(A){continue}break}}ta:{ua:{switch((B&65535)-1|0){case 0:r=r+1|0;break ta;case 1:break ua;default:break ta}}c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=r>>>0?241305:(T(r,6)+n|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=u>>>0){u=0;r=r+1|0;c=O[n|0]|O[n+1|0]<<8;if(r>>>0>=((c<<8|c>>>8)&65535)>>>0){break ta}c=(T(r,6)+n|0)+2|0;f=j+1|0;d=O[n|0]|O[n+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=r>>>0?241305:c;d=O[d+4|0]|O[d+5|0]<<8;j=(d<<8|d>>>8)&65535;if((f|0)==(j|0)){c=O[c|0]|O[c+1|0]<<8;u=(c<<8|c>>>8)&65535;break ta}c=O[n|0]|O[n+1|0]<<8;r=(c<<8|c>>>8)&65535;break ta}u=u+1|0;j=j+1|0}c=O[n|0]|O[n+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break a}y=y+2|0;z=z-1|0;if(z){continue}break}break a}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}va:{wa:{xa:{ya:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;o=d<<8|d>>>8;d=(o&65535)-1|0;switch(d|0){case 0:break xa;case 1:break ya;default:break wa}}e=241305;g=256;za:{if(!(O[c+2|0]|O[c+3|0]<<8)){break za}e=c+4|0;d=O[e|0]|O[e+1|0]<<8;h=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){d=O[c+4|0]|O[c+5|0]<<8;g=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){break za}}e=241305}d=O[e+2|0]|O[e+3|0]<<8;if((g&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){f=h&65535;break xa}d=O[c+2|0]|O[c+3|0]<<8;j=(d<<8|d>>>8)&65535}h=c+2|0;break va}if(d>>>0>1){break a}h=2}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}s=(c<<8|(c&65280)>>>8)&65535;g=a+6|0;d=0;while(1){c=O[g|0]|O[g+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}k=O[c|0]|O[c+1|0]<<8;e=(k<<8|k>>>8)&65535;i=c+2|0;c=N[b+20>>2];m=c+12|0;Aa:{if(O[c+48|0]){Ff(m,i,e,2);break Aa}if(!k|!O[m|0]){break Aa}N[c+16>>2]=-1;c=O[i|0]|O[i+1|0]<<8;c=(c<<8|c>>>8)&65535;Ba:while(1){p=wc(m,c);if(!p){break Aa}l=c&65024;r=l+512|0;while(1){k=p+(c>>>3&56)|0;u=N[k+4>>2];t=c&63;n=t&31;c=k;if((t&63)>>>0>=32){k=1<>>32-n}N[c>>2]=q|N[c>>2];N[c+4>>2]=k|u;e=e-1|0;if(!e){break Aa}c=O[i+2|0]|O[i+3|0]<<8;i=i+2|0;c=(c<<8|c>>>8)&65535;if(l>>>0>c>>>0){continue Ba}if(c>>>0>>0){continue}break}continue}}Ca:{Da:{switch((o&65535)-1|0){case 0:j=j+1|0;break Ca;case 1:break Da;default:break Ca}}c=O[h|0]|O[h+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=j>>>0?241305:(h+T(j,6)|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=f>>>0){f=0;j=j+1|0;c=O[h|0]|O[h+1|0]<<8;if(j>>>0>=((c<<8|c>>>8)&65535)>>>0){break Ca}c=(h+T(j,6)|0)+2|0;k=d+1|0;e=O[h|0]|O[h+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=j>>>0?241305:c;d=O[e+4|0]|O[e+5|0]<<8;d=(d<<8|d>>>8)&65535;if((k|0)==(d|0)){c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)&65535;break Ca}c=O[h|0]|O[h+1|0]<<8;j=(c<<8|c>>>8)&65535;break Ca}f=f+1|0;d=d+1|0}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}g=g+2|0;s=s-1|0;if(s){continue}break}break a}if(!a){break a}while(1){a=O[i|0]|O[i+1|0]<<8;tc(f,(a<<8|a>>>8)&65535);c=c+1|0;a=O[d|0]|O[d+1|0]<<8;if(c>>>0>=((a<<8|a>>>8)&65535)>>>0){break a}i=i+2|0;g=g-1|0;if(g){continue}break}break a}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}while(1){b=a+(c<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;tc(j,d+(b<<8|b>>>8)&65535);c=c+1|0;b=O[a|0]|O[a+1|0]<<8;if(c>>>0<((b<<8|b>>>8)&65535)>>>0){continue}break}}}function km(a,b){var 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,t=0,u=0,v=0;p=La-32|0;La=p;f=-2;a:{if(!a){break a}e=N[a+28>>2];if(!e|!N[a>>2]){break a}i=-5;q=(b|0)==4?-5:0;while(1){b=-3;f=1;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{switch(N[e>>2]){case 0:f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;b=O[b|0];N[e+4>>2]=b;e=N[a+28>>2];if((b&15)!=8){N[e>>2]=13;N[a+24>>2]=16520;break c}if(Q[e+16>>2]<(N[e+4>>2]>>>4|0)+8>>>0){N[e>>2]=13;N[a+24>>2]=15309;break c}N[e>>2]=1;i=q;case 1:f=i;b=N[a+4>>2];if(!b){break a}b=b-1|0;N[a+4>>2]=b;N[a+8>>2]=N[a+8>>2]+1;d=N[a>>2];N[a>>2]=d+1;d=O[d|0];if(((d|N[e+4>>2]<<8)>>>0)%31|0){N[e>>2]=13;N[a+24>>2]=13716;break c}if(!(d&32)){N[e>>2]=7;break b}N[e>>2]=2;i=q;break s;case 12:break a;case 6:break n;case 7:break o;case 5:break p;case 4:break q;case 3:break r;case 2:break t;case 13:break d;case 11:break e;case 10:break f;case 9:break g;case 8:break h;default:break m}}b=N[a+4>>2]}f=i;if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=O[b|0]<<24;e=N[a+28>>2];N[e>>2]=3;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<16);e=N[a+28>>2];N[e>>2]=4;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<8);e=N[a+28>>2];N[e>>2]=5;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+O[b|0];b=a;a=N[a+28>>2];N[b+48>>2]=N[a+8>>2];N[a>>2]=6;f=2;break a}c=N[e+20>>2];l=N[c+52>>2];b=N[c+48>>2];u:{if(l>>>0>>0){b=b+(l^-1)|0;break u}b=N[c+44>>2]-l|0}g=N[a+4>>2];e=N[a>>2];j=N[c+28>>2];f=N[c+32>>2];u=c+20|0;s=c+16|0;d=N[c>>2];v:{w:{while(1){h=i;x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{switch(d|0){case 2:if(!g){break O}U:{if(b){d=l;break U}V:{if(N[c+44>>2]!=(l|0)){d=l;break V}d=N[c+40>>2];b=N[c+48>>2];if((d|0)==(b|0)){d=l;break V}b=b>>>0>d>>>0?b+(d^-1)|0:l-d|0;if(b){break U}}N[c+52>>2]=d;k=Yb(c,a,i);i=N[c+52>>2];h=N[c+48>>2];W:{if(i>>>0>=h>>>0){d=N[c+44>>2];b=d-i|0;break W}d=N[c+44>>2];b=h+(i^-1)|0}X:{if((d|0)!=(i|0)){d=i;break X}d=N[c+40>>2];if((h|0)==(d|0)){d=i;break X}b=d>>>0>>0?h+(d^-1)|0:i-d|0}if(!b){break P}}i=N[c+4>>2];i=g>>>0>i>>>0?i:g;i=b>>>0>i>>>0?i:b;F(d,e,i);h=N[c+4>>2];k=h-i|0;N[c+4>>2]=k;b=b-i|0;l=d+i|0;g=g-i|0;e=e+i|0;if((h|0)!=(i|0)){while(1){h=N[c>>2];if((h|0)!=2){i=0;switch(h|0){case 8:break v;case 7:break w;case 6:break E;case 5:break G;case 3:break L;case 1:break M;case 0:break N;case 9:break R;case 4:break S;default:break Q}}if(!g){i=0;break O}Y:{if(b){d=l;break Y}Z:{if(N[c+44>>2]!=(l|0)){d=l;break Z}d=N[c+40>>2];b=N[c+48>>2];if((d|0)==(b|0)){d=l;break Z}b=b>>>0>d>>>0?b+(d^-1)|0:l-d|0;if(b){break Y}}N[c+52>>2]=d;k=Yb(c,a,0);i=N[c+52>>2];h=N[c+48>>2];_:{if(i>>>0>>0){d=N[c+44>>2];b=h+(i^-1)|0;break _}d=N[c+44>>2];b=d-i|0}$:{if((d|0)!=(i|0)){d=i;break $}d=N[c+40>>2];if((h|0)==(d|0)){d=i;break $}b=d>>>0>>0?h+(d^-1)|0:i-d|0}if(!b){break P}k=N[c+4>>2]}i=g>>>0>k>>>0?k:g;i=b>>>0>i>>>0?i:b;F(d,e,i);h=N[c+4>>2];k=h-i|0;N[c+4>>2]=k;b=b-i|0;l=d+i|0;g=g-i|0;e=e+i|0;if((h|0)!=(i|0)){continue}break}}i=0;d=N[c+24>>2]?7:0;N[c>>2]=d;continue;case 8:break v;case 7:break w;case 6:break E;case 5:break G;case 3:break L;case 1:break M;case 0:break N;case 9:break R;case 4:break T;default:break Q}}k=N[c+4>>2]}b=N[c+8>>2];if(b>>>0<(k>>>10|0)+4>>>0){break I}break H}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break D}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,-2);break i}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=d;b=Yb(c,a,k);break i}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break j}aa:{ba:{if(j>>>0>2){k=e;i=h;d=j;break ba}if(!g){break aa}k=e+1|0;g=g-1|0;f=O[e|0]<>2]=f&1;ca:{da:{switch((f>>>1&3)-1|0){case 0:e=Qa[N[a+32>>2]](N[a+40>>2],1,28)|0;if(!e){N[c+32>>2]=f;N[c+4>>2]=0;N[c+28>>2]=d;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=k;N[a+8>>2]=N[a+8>>2]+(k-b|0);break K}N[e+24>>2]=42352;N[e+20>>2]=38256;M[e+16>>1]=1289;N[e>>2]=0;N[c+4>>2]=e;j=d-3|0;f=f>>>3|0;d=6;break ca;case 1:j=d-3|0;f=f>>>3|0;d=3;break ca;case 2:N[c>>2]=9;N[a+24>>2]=15513;N[c+28>>2]=d-3;N[c+32>>2]=f>>>3;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=k;N[a+8>>2]=N[a+8>>2]+(k-b|0);break D;default:break da}}d=d-3|0;f=f>>>3>>>(d&7)|0;j=d&-8;d=1}e=k;N[c>>2]=d;continue}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,h);break i}ea:{if(j>>>0>31){h=e;break ea}fa:{ga:{if(!g){h=e;d=j;break ga}d=j+8|0;h=e+1|0;k=g-1|0;f=O[e|0]<>>0>=24){j=d;g=k;break ea}if(k){k=j+16|0;h=e+2|0;n=g-2|0;f=O[e+1|0]<>>0>15){j=k;g=n;break ea}if(!n){d=k;break ga}d=j+24|0;h=e+3|0;n=g-3|0;f=O[e+2|0]<>>0>7){j=d;g=n;break ea}if(n){break fa}}}N[c+28>>2]=d;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-b|0);break j}j=j+32|0;h=e+4|0;g=g-4|0;f=O[e+3|0]<>>16|0;if((d|0)!=(f&65535)){N[c>>2]=9;N[a+24>>2]=10861;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-b|0);break D}N[c+4>>2]=d;j=0;e=h;ha:{if(f>>>0<4294901760){f=0;d=2;break ha}f=0;d=N[c+24>>2]?7:0}N[c>>2]=d;continue}ia:{if(j>>>0>13){d=e;break ia}ja:{ka:{if(!g){d=e;b=j;break ka}b=j+8|0;d=e+1|0;h=g-1|0;f=O[e|0]<>>0>=6){j=b;g=h;break ia}if(h){break ja}}N[c+28>>2]=b;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);break j}g=g-2|0;d=e+2|0;j=j+16|0;f=O[e+1|0]<>2]=f&16383;la:{b=f&31;if(b>>>0<=29){e=f>>>5&31;if(e>>>0<30){break la}}N[c>>2]=9;N[a+24>>2]=10793;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);break D}b=Qa[N[a+32>>2]](N[a+40>>2],(b+e|0)+258|0,4)|0;N[c+12>>2]=b;if(b){break J}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0)}N[c+52>>2]=l;b=Yb(c,a,-4);break i}N[c>>2]=4;b=0;N[c+8>>2]=0;j=j-14|0;f=f>>>14|0;e=d}while(1){ma:{if(j>>>0<=2){if(!g){break ma}g=g-1|0;f=O[e|0]<>2]=b+1;N[N[c+12>>2]+(N[(b<<2)+38096>>2]<<2)>>2]=f&7;j=j-3|0;f=f>>>3|0;b=N[c+8>>2];if(b>>>0<(N[c+4>>2]>>>10|0)+4>>>0){continue}break H}break}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break j}if(b>>>0<19){while(1){N[c+8>>2]=b+1;N[N[c+12>>2]+(N[(b<<2)+38096>>2]<<2)>>2]=0;b=N[c+8>>2];if(b>>>0<19){continue}break}}N[c+16>>2]=7;d=N[c+12>>2];h=N[c+36>>2];N[p+28>>2]=0;na:{b=Qa[N[a+32>>2]](N[a+40>>2],19,4)|0;oa:{if(!b){d=-4;break oa}k=16173;pa:{qa:{ra:{sa:{ta:{d=Ah(d,19,19,0,0,u,s,h,p+28|0,b);switch(d+5|0){case 2:break ra;case 0:break sa;default:break ta}}if(N[s>>2]){break qa}}k=16137}N[a+24>>2]=k;Qa[N[a+36>>2]](N[a+40>>2],b);break pa}Qa[N[a+36>>2]](N[a+40>>2],b);if(!d){break na}if((d|0)!=-3){break oa}}Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=9;d=-3}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,d);break i}N[c>>2]=5;N[c+8>>2]=0;b=0;break F}b=N[c+8>>2]}h=N[c+4>>2];d=h&31;h=h>>>5&31;n=(d+h|0)+258|0;if(b>>>0>>0){while(1){o=N[s>>2];ua:{if(o>>>0<=j>>>0){d=j;k=e;h=g;break ua}if(!g){g=0;break k}k=e+1|0;h=g-1|0;f=O[e|0]<>>0<=d>>>0){break ua}while(1){if(!h){break k}h=h-1|0;f=O[k|0]<>>0>d>>>0){continue}break}}e=N[u>>2]+((N[(o<<2)+38176>>2]&f)<<3)|0;m=O[e+1|0];o=N[e+4>>2];va:{if(o>>>0<=15){N[c+8>>2]=b+1;N[N[c+12>>2]+(b<<2)>>2]=o;j=d-m|0;f=f>>>m|0;b=N[c+8>>2];e=k;g=h;break va}v=(o|0)==18;t=v?7:o-14|0;r=m+t|0;wa:{if(r>>>0<=d>>>0){j=d;e=k;g=h;break wa}if(!h){h=0;break l}e=k+1|0;g=h-1|0;f=O[k|0]<>>0<=j>>>0){break wa}while(1){if(!g){break l}g=g-1|0;f=O[e|0]<>>0>j>>>0){continue}break}}j=j-r|0;d=f>>>m|0;f=d>>>t|0;h=d&N[(t<<2)+38176>>2];m=v?11:3;k=h+m|0;if(!((o|0)!=16|b?k+b>>>0<=n>>>0:0)){Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=9;N[a+24>>2]=9688;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break D}d=0;d=(o|0)==16?N[(N[c+12>>2]+(b<<2)|0)-4>>2]:d;o=k-1|0;n=k&3;if(n){k=h+m|0;h=0;while(1){N[N[c+12>>2]+(b<<2)>>2]=d;b=b+1|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}k=k-n|0}if(o>>>0>=3){while(1){h=b<<2;N[h+N[c+12>>2]>>2]=d;N[(h+N[c+12>>2]|0)+4>>2]=d;N[(h+N[c+12>>2]|0)+8>>2]=d;N[(h+N[c+12>>2]|0)+12>>2]=d;b=b+4|0;k=k-4|0;if(k){continue}break}}N[c+8>>2]=b}h=N[c+4>>2];d=h&31;h=h>>>5&31;n=(d+h|0)+258|0;if(n>>>0>b>>>0){continue}break}}N[c+20>>2]=0;N[p+24>>2]=9;N[p+20>>2]=6;k=N[c+36>>2];o=N[c+12>>2];N[p+28>>2]=0;xa:{b=Qa[N[a+32>>2]](N[a+40>>2],288,4)|0;ya:{za:{if(!b){break za}n=16213;Aa:{Ba:{Ca:{Da:{m=d+257|0;r=Ah(o,m,257,42608,42736,p+16|0,p+24|0,k,p+28|0,b);if(r){d=16244;switch(r+4|0){case 1:break Ba;case 0:break Da;default:break Ca}}r=N[p+24>>2];if(!r){break Ca}h=Ah(o+(m<<2)|0,h+1|0,0,42864,42992,p+12|0,p+20|0,k,p+28|0,b);Ea:{if(h){n=16279;d=16304;switch(h+5|0){case 2:break Ba;case 0:break Ca;case 1:break Da;default:break Ea}}h=N[p+20>>2];if(h|!d){break Aa}}d=10890;break Ba}Qa[N[a+36>>2]](N[a+40>>2],b);break za}d=n}N[a+24>>2]=d;Qa[N[a+36>>2]](N[a+40>>2],b);Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=9;b=-3;break ya}Qa[N[a+36>>2]](N[a+40>>2],b);d=N[p+12>>2];k=N[p+16>>2];b=Qa[N[a+32>>2]](N[a+40>>2],1,28)|0;if(b){break xa}}b=-4}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;d=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-d|0);N[c+52>>2]=l;b=Yb(c,a,b);break i}N[b+24>>2]=d;N[b+20>>2]=k;L[b+17|0]=h;L[b+16|0]=r;N[b>>2]=0;N[c+4>>2]=b;Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=6}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;m=N[c+4>>2];b=N[c+48>>2];Fa:{if(b>>>0>l>>>0){d=b+(l^-1)|0;break Fa}d=N[c+44>>2]-l|0}n=N[m>>2];while(1){Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{switch(n|0){case 1:o=N[m+12>>2];break Ra;case 3:o=N[m+12>>2];h=e;k=g;break Pa;case 5:n=N[m+12>>2];h=e;o=g;break Na;case 9:break Ja;case 8:break Ka;case 7:break La;case 6:break Ma;case 4:break Oa;case 2:break Qa;case 0:break Sa;default:break Ha}}N[m>>2]=1;o=O[m+16|0];N[m+12>>2]=o;N[m+8>>2]=N[m+20>>2]}Ta:{if(j>>>0>=o>>>0){h=j;b=e;k=g;break Ta}if(!g){g=0;n=i;break y}b=e+1|0;k=g-1|0;f=O[e|0]<>>0<=h>>>0){break Ta}while(1){if(!k){n=0;break y}k=k-1|0;f=O[b|0]<>>0>h>>>0){continue}break}}e=N[m+8>>2]+((N[(o<<2)+38176>>2]&f)<<3)|0;g=O[e+1|0];j=h-g|0;f=f>>>g|0;Ua:{g=O[e|0];Va:{if(!g){e=N[e+4>>2];N[m>>2]=6;N[m+8>>2]=e;n=6;break Va}if(g&16){N[m+8>>2]=g&15;e=N[e+4>>2];N[m>>2]=2;N[m+4>>2]=e;n=2;break Va}if(!(g&64)){N[m+12>>2]=g;N[m+8>>2]=e+(N[e+4>>2]<<3);n=1;break Va}if(!(g&32)){break Ua}N[m>>2]=7;n=7}e=b;g=k;continue}N[m>>2]=9;N[a+24>>2]=16348;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=k;d=N[a>>2];N[a>>2]=b;N[a+8>>2]=N[a+8>>2]+(b-d|0);break Ia}n=N[m+8>>2];Wa:{if(n>>>0<=j>>>0){b=j;h=e;k=g;break Wa}if(!g){g=0;n=i;break z}h=e+1|0;k=g-1|0;f=O[e|0]<>>0<=b>>>0){break Wa}while(1){if(!k){n=0;break z}k=k-1|0;f=O[h|0]<>>0>b>>>0){continue}break}}N[m>>2]=3;o=O[m+17|0];N[m+12>>2]=o;N[m+8>>2]=N[m+24>>2];N[m+4>>2]=N[m+4>>2]+(N[(n<<2)+38176>>2]&f);j=b-n|0;f=f>>>n|0}Xa:{if(j>>>0>=o>>>0){b=j;e=h;g=k;break Xa}if(!k){k=0;n=i;break A}e=h+1|0;g=k-1|0;f=O[h|0]<>>0<=b>>>0){break Xa}while(1){if(!g){n=0;break A}g=g-1|0;f=O[e|0]<>>0>b>>>0){continue}break}}j=b;k=N[(o<<2)+38176>>2]&f;o=N[m+8>>2];b=(k<<3)+o|0;h=O[b+1|0];j=j-h|0;f=f>>>h|0;h=O[b|0];if(h&16){N[m+8>>2]=h&15;b=N[b+4>>2];n=4;N[m>>2]=4;N[m+12>>2]=b;continue}if(!(h&64)){N[m+12>>2]=h;n=3;N[m+8>>2]=b+(N[(o+(k<<3)|0)+4>>2]<<3);continue}N[m>>2]=9;N[a+24>>2]=16376;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break Ia}k=N[m+8>>2];Ya:{if(k>>>0<=j>>>0){b=j;h=e;o=g;break Ya}if(!g){g=0;n=i;break B}h=e+1|0;o=g-1|0;f=O[e|0]<>>0<=b>>>0){break Ya}while(1){if(!o){n=0;break B}o=o-1|0;f=O[h|0]<>>0>b>>>0){continue}break}}N[m>>2]=5;n=N[m+12>>2]+(N[(k<<2)+38176>>2]&f)|0;N[m+12>>2]=n;j=b-k|0;f=f>>>k|0}b=N[c+40>>2];e=l-n|0;if(b>>>0>e>>>0){g=N[c+44>>2]-b|0;while(1){e=e+g|0;if(e>>>0>>0){continue}break}}if(N[m+4>>2]){Za:{if(d){b=l;break Za}_a:{if(N[c+44>>2]!=(l|0)){b=l;break _a}d=N[c+48>>2];if((d|0)==(b|0)){b=l;break _a}d=b>>>0>>0?d+(b^-1)|0:l-b|0;if(d){break Za}}N[c+52>>2]=b;n=Yb(c,a,i);i=N[c+52>>2];g=N[c+48>>2];$a:{if(i>>>0>=g>>>0){b=N[c+44>>2];d=b-i|0;break $a}b=N[c+44>>2];d=g+(i^-1)|0}ab:{if((b|0)!=(i|0)){b=i;break ab}b=N[c+40>>2];if((g|0)==(b|0)){b=i;break ab}d=b>>>0>>0?g+(b^-1)|0:i-b|0}if(!d){break C}}L[b|0]=O[e|0];e=e+1|0;k=N[c+44>>2];if((e|0)==(k|0)){e=N[c+40>>2]}d=d-1|0;b=b+1|0;g=N[m+4>>2]-1|0;N[m+4>>2]=g;i=0;if(g){while(1){bb:{if(d){break bb}cb:{if((b|0)!=(k|0)){break cb}b=N[c+40>>2];d=N[c+48>>2];if((b|0)==(d|0)){b=k;break cb}d=b>>>0>>0?d+(b^-1)|0:k-b|0;if(d){break bb}}N[c+52>>2]=b;n=Yb(c,a,0);g=N[c+52>>2];l=N[c+48>>2];db:{if(g>>>0>>0){b=N[c+44>>2];d=l+(g^-1)|0;break db}b=N[c+44>>2];d=b-g|0}eb:{if((b|0)!=(g|0)){b=g;break eb}b=N[c+40>>2];if((l|0)==(b|0)){b=g;break eb}d=b>>>0>>0?l+(b^-1)|0:g-b|0}if(!d){break C}}L[b|0]=O[e|0];e=e+1|0;k=N[c+44>>2];if((e|0)==(k|0)){e=N[c+40>>2]}d=d-1|0;b=b+1|0;g=N[m+4>>2]-1|0;N[m+4>>2]=g;if(g){continue}break}}l=b}n=0;N[m>>2]=0;e=h;g=o;continue}if(d){b=l;break Ga}fb:{if(N[c+44>>2]!=(l|0)){b=l;break fb}b=N[c+40>>2];d=N[c+48>>2];if((b|0)==(d|0)){b=l;break fb}d=b>>>0>>0?d+(b^-1)|0:l-b|0;if(d){break Ga}}N[c+52>>2]=b;n=Yb(c,a,i);i=N[c+52>>2];h=N[c+48>>2];gb:{if(i>>>0>>0){b=N[c+44>>2];d=h+(i^-1)|0;break gb}b=N[c+44>>2];d=b-i|0}hb:{if((b|0)!=(i|0)){b=i;break hb}b=N[c+40>>2];if((h|0)==(b|0)){b=i;break hb}d=b>>>0>>0?h+(b^-1)|0:i-b|0}if(d){break Ga}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;d=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-d|0);N[c+52>>2]=b;break x}N[c+52>>2]=l;b=j>>>0>7;j=b?j-8|0:j;g=b+g|0;e=e-b|0;n=Yb(c,a,i);l=N[c+52>>2];if((l|0)!=N[c+48>>2]){N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break x}N[m>>2]=8}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;n=1;break x}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0)}N[c+52>>2]=l;n=-3;break x}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;n=-2;break x}L[b|0]=N[m+8>>2];n=0;N[m>>2]=0;d=d-1|0;l=b+1|0;i=0;continue}}N[c+52>>2]=l;b=Yb(c,a,-3);break i}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=o;d=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-d|0);N[c+52>>2]=b;break x}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l;break x}N[c+32>>2]=f;N[c+28>>2]=(k<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=h+k|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l;break x}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l;break x}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l}b=Yb(c,a,n);if((b|0)!=1){b=Yb(c,a,b);break i}Qa[N[a+36>>2]](N[a+40>>2],N[c+4>>2]);l=N[c+52>>2];b=N[c+48>>2];ib:{if(l>>>0>>0){b=b+(l^-1)|0;break ib}b=N[c+44>>2]-l|0}j=N[c+28>>2];f=N[c+32>>2];g=N[a+4>>2];e=N[a>>2];d=0;if(!N[c+24>>2]){i=0;N[c>>2]=0;continue}break}N[c>>2]=7;i=0}N[c+52>>2]=l;b=Yb(c,a,i);l=N[c+52>>2];if((l|0)!=N[c+48>>2]){N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;d=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-d|0);b=Yb(c,a,b);break i}N[c>>2]=8}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,1);break i}N[e>>2]=13;N[a+24>>2]=7902;N[e+4>>2]=0}f=-2;break a}N[c+32>>2]=f;N[c+28>>2]=(h<<3)+d;N[a+4>>2]=0;b=N[a>>2];d=h+k|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);break j}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0)}N[c+52>>2]=l;b=Yb(c,a,i)}f=q;jb:{switch(b+3|0){case 0:b=N[a+28>>2];N[b>>2]=13;N[b+4>>2]=0;i=-3;e=N[a+28>>2];continue;case 3:break a;case 4:break jb;default:break d}}b=N[a+28>>2];d=N[b+20>>2];N[b+4>>2]=N[d+60>>2];b=N[d>>2];if((b&-2)==4){Qa[N[a+36>>2]](N[a+40>>2],N[d+12>>2]);b=N[d>>2]}if((b|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[d+4>>2])}N[d+28>>2]=0;N[d+32>>2]=0;N[d>>2]=0;b=N[d+40>>2];N[d+52>>2]=b;N[d+48>>2]=b;b=N[d+56>>2];if(b){b=Qa[b|0](0,0,0)|0;N[d+60>>2]=b;N[a+48>>2]=b}e=N[a+28>>2];if(N[e+12>>2]){N[e>>2]=12;break b}N[e>>2]=8;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=O[b|0]<<24;e=N[a+28>>2];N[e>>2]=9;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<16);e=N[a+28>>2];N[e>>2]=10;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<8);e=N[a+28>>2];N[e>>2]=11;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+O[b|0];b=N[a+28>>2];if(N[b+4>>2]!=N[b+8>>2]){N[b>>2]=13;N[a+24>>2]=13739;N[b+4>>2]=5;break b}N[b>>2]=12;f=1;break a}f=b;break a}N[e+4>>2]=5}e=N[a+28>>2];i=q;continue}}La=p+32|0;return f}function NE(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=273;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break l}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1853188980;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1634429038;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=274;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=72;N[b+4>>2]=c;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];v:{w:{x:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break w}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break x}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break v}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=275;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;y:{z:{A:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break z}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break A}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break y}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=274;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];B:{C:{D:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break C}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break D}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break B}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];E:{F:{G:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break F}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break G}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break E}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=276;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];H:{I:{J:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break I}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break J}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break H}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1919644262;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break P}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break S}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1751215206;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];T:{U:{V:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break U}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break V}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break T}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1986098293;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Z:{_:{$:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break _}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break $}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Z}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1667916660;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];aa:{ba:{ca:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break ba}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break ca}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break aa}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=277;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;da:{ea:{fa:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break ea}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break fa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break da}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ga:{ha:{ia:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ia}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ga}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1769172844;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];ja:{ka:{la:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break la}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ja}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1768843636;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];ma:{na:{oa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break oa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ma}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1835361385;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];pa:{qa:{ra:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ra}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break pa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1718185569;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];sa:{ta:{ua:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break ta}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break ua}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break sa}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];va:{wa:{xa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break xa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break va}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];ya:{za:{Aa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break za}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Aa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ya}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ba:{Ca:{Da:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Da}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ba}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1751215214;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ea:{Fa:{Ga:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ga}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ea}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ha:{Ia:{Ja:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ja}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ha}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Vh(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0;g=La-176|0;La=g;N[g+172>>2]=0;x=N[a+12>>2];t=N[a>>2];if(P[t+290>>1]>>0){M[t+290>>1]=c}N[a+20>>2]=b;o=65536;v=65536;if(!(L[a+16|0]&1)){e=N[N[a+4>>2]+44>>2];o=N[e+8>>2];v=N[e+4>>2]}H=N[N[t+128>>2]+52>>2];a:{b:{if(H){e=Qa[N[N[H>>2]>>2]](N[H+4>>2],b,g+124|0)|0;if(e){break a}e=N[g+128>>2];N[a+28>>2]=e;N[g+152>>2]=0;N[g+156>>2]=0;N[g+168>>2]=0;N[g+160>>2]=0;N[g+164>>2]=0;N[g+152>>2]=0;N[g+144>>2]=0;N[g+148>>2]=0;N[g+140>>2]=0;N[g+136>>2]=e;N[g+132>>2]=N[g+124>>2];N[a+24>>2]=g+132;break b}n=cg(t,b,a+28|0);e=N[a+28>>2]}c:{if((e|0)>0){f=N[t+728>>2];if(!(f|N[N[t+128>>2]+52>>2])){e=8;break c}e=Qa[N[t+520>>2]](a,b,f+n|0,e)|0;if(e){break c}e=Qa[N[t+528>>2]](a)|0;N[g+172>>2]=e;Qa[N[t+524>>2]](a);if(e){break c}e=N[a+28>>2]}if(!(P[a+32>>1]?e:0)){N[a+36>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+48>>2]=0}k=N[a>>2];r=N[a+24>>2];M[g+80>>1]=0;M[g>>1]=0;M[g+44>>1]=0;M[g+64>>1]=0;h=N[r+8>>2];Qa[N[N[k+540>>2]+156>>2]](k,0,b,g+80|0,g+44|0);d:{if(O[k+292|0]){Qa[N[N[k+540>>2]+156>>2]](k,1,b,g,g- -64|0);break d}f=N[a+48>>2];if(P[k+372>>1]!=65535){e=M[k+442>>1];M[g>>1]=e-f;e=e-M[k+444>>1]|0;f=e>>31;M[g+64>>1]=(e^f)-f;break d}e=M[k+220>>1];M[g>>1]=e-f;e=e-M[k+222>>1]|0;f=e>>31;M[g+64>>1]=(e^f)-f}e:{e=N[r+20>>2];f:{if(e){if(Qa[e|0](r,h,0,0)|0){break f}break e}if(h>>>0<=Q[r+4>>2]){break e}}e=85;break c}N[r+8>>2]=h;h=M[g+80>>1];N[a+52>>2]=h;r=P[g+44>>1];N[a+56>>2]=r;N[a+172>>2]=M[g>>1];N[a+176>>2]=P[g+64>>1];if(!(N[N[k+128>>2]+52>>2]|O[a+64|0])){N[a+60>>2]=r;L[a+64|0]=1}e=0;N[g+172>>2]=0;if(d){break c}if(!(P[a+32>>1]?N[a+28>>2]:0)){e=N[a>>2];d=N[N[e+128>>2]+52>>2];g:{if(!d){break g}c=N[N[d>>2]+8>>2];if(!c){break g}N[g+92>>2]=0;N[g+88>>2]=r;N[g+84>>2]=0;N[g+80>>2]=h;h:{if(Qa[c|0](N[d+4>>2],b,0,g+80|0)|0){break h}c=M[g+80>>1];d=P[g+88>>1];N[a+172>>2]=0;N[a+176>>2]=0;N[a+56>>2]=d;N[a+52>>2]=c;if(O[a+64|0]){break h}N[a+60>>2]=d;L[a+64|0]=1}e=N[a>>2]}d=0;i:{if(N[N[e+96>>2]+64>>2]!=40){break i}c=N[a+156>>2];d=0;if(!c){break i}d=O[c+641|0]!=0&O[c+646|0]!=0}N[a+72>>2]=0;N[a+80>>2]=0;f=N[a+36>>2]-N[a+52>>2]|0;N[a+68>>2]=f;c=N[a+56>>2];j=c+f|0;N[a+76>>2]=j;c=d&1?(c|0)/2|0:0;N[a+188>>2]=c;d=N[a+172>>2]+N[a+48>>2]|0;N[a+184>>2]=d;N[a+180>>2]=c;n=d-N[a+176>>2]|0;N[a+192>>2]=n;j:{if(!(P[t+6>>1]&32767|O[t+9|0]&128)){b=c;break j}N[g+108>>2]=n;N[g+100>>2]=d;N[g+76>>2]=16843009;N[g+64>>2]=65536;N[g+68>>2]=196610;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+104>>2]=c;N[g+96>>2]=c;N[g+92>>2]=0;N[g+88>>2]=j;N[g+84>>2]=0;N[g+80>>2]=f;N[g+44>>2]=262148;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;N[g+56>>2]=g- -64;N[g+52>>2]=g+76;N[g+48>>2]=g+80;e=Sh(e,b,g+44|0,g,4);if(e){break c}f=N[g+80>>2];N[a+68>>2]=f;N[a+72>>2]=N[g+84>>2];j=N[g+88>>2];N[a+76>>2]=j;N[a+80>>2]=N[g+92>>2];b=N[g+96>>2];N[a+180>>2]=b;d=N[g+100>>2];N[a+184>>2]=d;c=N[g+104>>2];N[a+188>>2]=c;n=N[g+108>>2];N[a+192>>2]=n;e=N[N[a>>2]+740>>2];if(!(e&2)){N[a+60>>2]=(N[g+8>>2]-N[g>>2]|0)+32>>6}if(e&16){break j}N[a+176>>2]=(N[g+24>>2]-N[g+16>>2]|0)+32>>6}e=0;if(L[a+16|0]&1){break c}I=a,J=ob(f,v),N[I+68>>2]=J;I=a,J=ob(j,v),N[I+76>>2]=J;I=a,J=ob(b,v),N[I+180>>2]=J;I=a,J=ob(d,o),N[I+184>>2]=J;I=a,J=ob(c,v),N[I+188>>2]=J;I=a,J=ob(n,o),N[I+192>>2]=J;break c}d=N[a>>2];f=N[N[d+128>>2]+52>>2];k:{if(!f){break k}e=N[N[f>>2]+8>>2];if(!e){break k}N[g+92>>2]=0;N[g+88>>2]=r;N[g+84>>2]=0;N[g+80>>2]=h;l:{if(Qa[e|0](N[f+4>>2],b,0,g+80|0)|0){break l}d=M[g+80>>1];e=P[g+88>>1];N[a+172>>2]=0;N[a+176>>2]=0;N[a+56>>2]=e;N[a+52>>2]=d;if(O[a+64|0]){break l}N[a+60>>2]=e;L[a+64|0]=1}d=N[a>>2]}e=0;m:{if(N[N[d+96>>2]+64>>2]!=40){break m}d=N[a+156>>2];e=0;if(!d){break m}e=O[d+641|0]!=0&O[d+646|0]!=0}N[a+72>>2]=0;N[a+80>>2]=0;d=N[a+36>>2]-N[a+52>>2]|0;N[a+68>>2]=d;f=d;d=N[a+56>>2];N[a+76>>2]=f+d;e=e?(d|0)/2|0:0;N[a+188>>2]=e;d=N[a+172>>2]+N[a+48>>2]|0;N[a+184>>2]=d;N[a+180>>2]=e;N[a+192>>2]=d-N[a+176>>2];e=Qa[N[t+520>>2]](a,b,(N[t+728>>2]+n|0)+10|0,N[a+28>>2]-10|0)|0;if(e){break c}d=M[a+32>>1];n:{if((d|0)>0){e=Qa[N[t+532>>2]](a)|0;if(e){break n}Qa[N[t+524>>2]](a);E=N[N[a>>2]+100>>2];b=N[a+72>>2];s=N[a+12>>2];y=M[s+58>>1];c=N[s+60>>2]+(y<<3)|0;N[c>>2]=N[a+68>>2];N[c+4>>2]=b;b=N[a+80>>2];G=y+1|0;c=N[s+60>>2]+(G<<3)|0;N[c>>2]=N[a+76>>2];N[c+4>>2]=b;b=N[a+184>>2];u=y+2|0;c=N[s+60>>2]+(u<<3)|0;N[c>>2]=N[a+180>>2];N[c+4>>2]=b;b=N[a+192>>2];j=y+3|0;c=N[s+60>>2]+(j<<3)|0;N[c>>2]=N[a+188>>2];N[c+4>>2]=b;b=0;c=s- -64|0;L[y+N[c>>2]|0]=0;L[G+N[c>>2]|0]=0;L[u+N[c>>2]|0]=0;L[j+N[c>>2]|0]=0;h=y+4|0;d=6;c=N[a>>2];o:{p:{if(P[c+6>>1]&32767|O[c+9|0]&128){if((y|0)<-4){break o}q:{if(!h){break q}c=h<<3;b=Qa[N[E+4>>2]](E,c)|0;if(!(!b|(y|0)<-3)){C(b,0,c);break q}if(b){break q}d=!b<<6;break o}d=Sh(N[a>>2],N[a+20>>2],s+56|0,b,h);c=N[N[a>>2]+740>>2];if(!(c&2)){N[a+60>>2]=(N[(G<<3)+b>>2]-N[(y<<3)+b>>2]|0)+32>>6}if(!(c&16)){N[a+176>>2]=(N[(j<<3)+b>>2]-N[(u<<3)+b>>2]|0)+32>>6}if(d){break p}}p=N[a+16>>2];if(!(p&2)){f=P[s+58>>1];M[a+128>>1]=f;M[a+130>>1]=P[s+56>>1];N[a+132>>2]=N[s+76>>2];e=N[s+60>>2];N[a+136>>2]=e;d=N[s+80>>2];N[a+140>>2]=d;N[a+144>>2]=N[s+64>>2];c=N[s+68>>2];M[a+152>>1]=0;N[a+148>>2]=c;F(d,e,(f<<3)+32|0);p=N[a+16>>2]}r:{if(p&1){B=N[a>>2];n=0;f=0;break r}d=N[s+60>>2];w=d+(h<<3)|0;c=N[N[a+4>>2]+44>>2];n=N[c+8>>2];f=N[c+4>>2];B=N[a>>2];if(!(P[B+6>>1]&32767|O[B+9|0]&128)){if((y|0)<-3){break r}c=n>>31;z=(c^n)-c|0;A=z&65535;i=z>>>16|0;k=z>>>8|0;c=f>>31;l=(c^f)-c|0;r=l&65535;h=l>>>16|0;e=l>>>8|0;while(1){q=N[d>>2];c=q>>31;o=(c^q)-c|0;s:{if(o+e>>>0<=8190){m=T(l,o)+32768>>>16|0;break s}c=o&65535;m=T(c,h)+T(l,o>>>16|0)+(T(c,r)+32768>>>16)|0}c=m;o=0-c|0;c=q>>31|1;N[d>>2]=(((f|0)<0?0-c|0:c)|0)<0?o:m;q=N[d+4>>2];c=q>>31;o=(c^q)-c|0;t:{if(o+k>>>0<=8190){m=T(o,z)+32768>>>16|0;break t}c=o&65535;m=T(c,i)+T(z,o>>>16|0)+(T(c,A)+32768>>>16)|0}c=m;o=0-c|0;c=q>>31|1;N[d+4>>2]=(((n|0)<0?0-c|0:c)|0)<0?o:m;d=d+8|0;if(w>>>0>d>>>0){continue}break}break r}if((y|0)<-3){break r}c=n>>31;D=(c^n)-c|0;q=D&65535;A=D>>>16|0;i=D>>>8|0;c=f>>31;z=(c^f)-c|0;k=z&65535;r=z>>>16|0;h=z>>>8|0;c=b;while(1){o=N[c>>2];e=o>>31;l=(e^o)-e|0;u:{if(l+h>>>0<=8190){m=T(l,z)+32768>>>16|0;break u}e=l&65535;m=T(e,r)+T(z,l>>>16|0)+(T(e,k)+32768>>>16)|0}e=m;l=0-e|0;e=o>>31|1;N[d>>2]=((((f|0)<0?0-e|0:e)|0)<0?l:m)+32>>6;o=N[c+4>>2];e=o>>31;l=(e^o)-e|0;v:{if(l+i>>>0<=8190){m=T(l,D)+32768>>>16|0;break v}e=l&65535;m=T(e,A)+T(D,l>>>16|0)+(T(e,q)+32768>>>16)|0}e=m;l=0-e|0;e=o>>31|1;N[d+4>>2]=((((n|0)<0?0-e|0:e)|0)<0?l:m)+32>>6;c=c+8|0;d=d+8|0;if(w>>>0>d>>>0){continue}break}}d=N[B+740>>2];w:{if(!(!(d&2)|p&2)){r=N[a+68>>2];h=r>>31;c=f>>31;k=(c^f)-c|0;e=k>>>8|0;h=(h^r)-h|0;x:{if(e+h>>>0<=8190){m=T(h,k)+32768>>>16|0;break x}c=h&65535;m=T(c,k>>>16|0)+T(k,h>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=m;h=0-c|0;c=r>>31|1;N[a+68>>2]=(((f|0)<0?0-c|0:c)|0)<0?h:m;h=N[a+76>>2];c=h>>31;m=e;e=(c^h)-c|0;y:{if(m+e>>>0<=8190){e=T(e,k)+32768>>>16|0;break y}c=e&65535;e=T(c,k>>>16|0)+T(k,e>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=e;k=0-c|0;c=h>>31|1;N[a+76>>2]=(((f|0)<0?0-c|0:c)|0)<0?k:e;break w}d=N[s+60>>2]+(y<<3)|0;c=N[d+4>>2];N[a+68>>2]=N[d>>2];N[a+72>>2]=c;d=N[s+60>>2]+(G<<3)|0;c=N[d+4>>2];N[a+76>>2]=N[d>>2];N[a+80>>2]=c;d=N[B+740>>2]}e=p&2;z:{if(!(e|!(d&16))){h=N[a+180>>2];d=h>>31;c=f>>31;i=(c^f)-c|0;e=i>>>8|0;d=(d^h)-d|0;A:{if(e+d>>>0<=8190){d=T(d,i)+32768>>>16|0;break A}c=d&65535;d=T(c,i>>>16|0)+T(i,d>>>16|0)+(T(c,i&65535)+32768>>>16)|0}c=d;k=0-c|0;c=h>>31|1;N[a+180>>2]=(((f|0)<0?0-c|0:c)|0)<0?k:d;r=N[a+184>>2];h=r>>31;c=n>>31;k=(c^n)-c|0;d=k>>>8|0;h=(h^r)-h|0;B:{if(d+h>>>0<=8190){m=T(h,k)+32768>>>16|0;break B}c=h&65535;m=T(c,k>>>16|0)+T(k,h>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=m;h=0-c|0;c=r>>31|1;N[a+184>>2]=(((n|0)<0?0-c|0:c)|0)<0?h:m;h=N[a+188>>2];c=h>>31;m=e;e=(c^h)-c|0;C:{if(m+e>>>0<=8190){e=T(e,i)+32768>>>16|0;break C}c=e&65535;e=T(c,i>>>16|0)+T(i,e>>>16|0)+(T(c,i&65535)+32768>>>16)|0}c=e;m=0-c|0;c=h>>31|1;N[a+188>>2]=(((f|0)<0?0-c|0:c)|0)<0?m:e;e=N[a+192>>2];c=e>>31;f=d;d=(c^e)-c|0;D:{if(f+d>>>0<=8190){d=T(d,k)+32768>>>16|0;break D}c=d&65535;d=T(c,k>>>16|0)+T(k,d>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=d;f=0-c|0;c=e>>31|1;N[a+192>>2]=(((n|0)<0?0-c|0:c)|0)<0?f:d;break z}d=N[s+60>>2]+(u<<3)|0;c=N[d+4>>2];N[a+180>>2]=N[d>>2];N[a+184>>2]=c;d=N[s+60>>2]+(j<<3)|0;c=N[d+4>>2];N[a+188>>2]=N[d>>2];N[a+192>>2]=c;d=0;if(e){break p}}M[a+128>>1]=P[a+128>>1]+4;d=_m(a,0)}if(!b){break o}Qa[N[E+8>>2]](E,b)}e=d;if(d){break c}bf(x);e=0;break c}e=0;if((d|0)>=0){break n}u=N[t+100>>2];M[a+32>>1]=65535;h=a+204|0;E:{d=N[a+204>>2];F:{if(d){f=d;e=c;while(1){if(!e){e=f;while(1){N[e+8>>2]=-1;e=N[e+4>>2];if(e){continue}break}e=N[h>>2];if(e){while(1){if(N[e+8>>2]==(b|0)){break E}e=N[e+4>>2];if(e){continue}break}}N[f+8>>2]=b;break F}e=e-1|0;f=N[f+4>>2];if(f){continue}break}while(1){if(N[d+8>>2]==(b|0)){break E}d=N[d+4>>2];if(d){continue}break}}e=Qa[N[u+4>>2]](u,12)|0;if(!e){e=64;break n}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;N[e+8>>2]=b;d=N[a+208>>2];N[e>>2]=d;N[e+4>>2]=0;N[(d?d+4|0:h)>>2]=e;N[a+208>>2]=e}k=M[x+22>>1];r=M[x+20>>1];e=Qa[N[t+536>>2]](a)|0;N[g+172>>2]=e;if(e){break n}E=N[a+164>>2];Qa[N[t+524>>2]](a);if(P[t+6>>1]&32767|O[t+9|0]&128){h=N[x+84>>2];d=h+4|0;M[g+80>>1]=d;M[g+82>>1]=d;j=d<<16>>16;l=lb(u,8,0,j,0,g+172|0);e=N[g+172>>2];if(e){break c}if((j|0)<0){e=6;break c}f=0;G:{H:{if(j){f=Qa[N[u+4>>2]](u,j)|0;if(!f|(j|0)<=0){break H}C(f,0,j)}N[g+172>>2]=0;break G}d=!f;e=d<<6;N[g+172>>2]=e;if(d){break c}}w=lb(u,2,0,j,0,g+172|0);e=N[g+172>>2];if(e){break c}q=lb(u,8,0,j,0,g+172|0);e=N[g+172>>2];I:{if(e){break I}A=h<<16;i=A>>16;J:{if((A|0)<=0){e=0;break J}h=N[x+88>>2];e=0;while(1){d=l+(e<<3)|0;N[d>>2]=N[h+8>>2];N[d+4>>2]=N[h+12>>2];L[e+f|0]=1;M[w+(e<<1)>>1]=p;h=h+32|0;p=p+1|0;e=p<<16>>16;if((i|0)>(e|0)){continue}break}}d=l+(e<<3)|0;N[d>>2]=N[a+68>>2];N[d+4>>2]=N[a+72>>2];L[e+f|0]=1;M[w+(e<<1)>>1]=p;e=p+1|0;h=e<<16>>16;d=l+(h<<3)|0;N[d>>2]=N[a+76>>2];N[d+4>>2]=N[a+80>>2];L[f+h|0]=1;M[w+(h<<1)>>1]=e;e=p+2|0;h=e<<16>>16;d=l+(h<<3)|0;N[d>>2]=N[a+180>>2];N[d+4>>2]=N[a+184>>2];L[f+h|0]=1;M[w+(h<<1)>>1]=e;e=p+3|0;h=e<<16>>16;d=l+(h<<3)|0;N[d>>2]=N[a+188>>2];N[d+4>>2]=N[a+192>>2];L[f+h|0]=1;M[w+(h<<1)>>1]=e;N[g+92>>2]=w;N[g+88>>2]=f;N[g+84>>2]=l;e=Sh(t,b,g+80|0,q,j);K:{L:{if(e){Qa[N[u+8>>2]](u,l);break L}M:{if((A|0)<=0){p=0;break M}b=N[x+88>>2];p=0;h=0;while(1){if(O[b+4|0]&2){d=l+(p<<3)|0;N[b+8>>2]=M[d>>1];N[b+12>>2]=M[d+4>>1]}b=b+32|0;h=h+1|0;p=h<<16>>16;if((i|0)>(p|0)){continue}break}}b=l+(p<<3)|0;N[a+68>>2]=N[b>>2];N[a+72>>2]=N[b+4>>2];N[a+76>>2]=N[b+8>>2];N[a+80>>2]=N[b+12>>2];N[a+180>>2]=N[b+16>>2];N[a+184>>2]=N[b+20>>2];N[a+188>>2]=N[b+24>>2];N[a+192>>2]=N[b+28>>2];d=N[t+740>>2];if(!(d&2)){b=q+(j<<3)|0;N[a+60>>2]=(N[b-24>>2]-N[b-32>>2]|0)+32>>6}if(!(d&16)){b=q+(j<<3)|0;N[a+176>>2]=(N[b-8>>2]-N[b-16>>2]|0)+32>>6}Qa[N[u+8>>2]](u,l);if(!f){break K}}Qa[N[u+8>>2]](u,f)}if(!w){break I}Qa[N[u+8>>2]](u,w)}if(q){Qa[N[u+8>>2]](u,q)}if(e){break c}}b=N[a+16>>2];if(!(b&1)){I=a,J=ob(N[a+68>>2],v),N[I+68>>2]=J;I=a,J=ob(N[a+76>>2],v),N[I+76>>2]=J;I=a,J=ob(N[a+180>>2],v),N[I+180>>2]=J;I=a,J=ob(N[a+184>>2],o),N[I+184>>2]=J;I=a,J=ob(N[a+188>>2],v),N[I+188>>2]=J;I=a,J=ob(N[a+192>>2],o),N[I+192>>2]=J}if(b&1024){bf(x);N[N[a+8>>2]+72>>2]=1668246896;e=0;break c}B=N[x+48>>2];y=N[x+84>>2];D=N[a+28>>2];z=N[a+24>>2];bf(x);N:{if(!y){v=0;b=k;break N}G=c+1|0;b=0;while(1){s=M[x+22>>1];u=N[a+176>>2];j=N[a+60>>2];h=N[a+188>>2];l=N[a+192>>2];f=N[a+180>>2];w=N[a+184>>2];d=N[a+76>>2];o=N[a+80>>2];c=N[a+68>>2];q=N[a+72>>2];i=b<<5;A=B<<5;e=Vh(a,N[i+(A+N[x+52>>2]|0)>>2],G,0);if(e){break c}v=i+(A+N[x+52>>2]|0)|0;if(!(O[v+5|0]&2)){N[a+188>>2]=h;N[a+192>>2]=l;N[a+180>>2]=f;N[a+184>>2]=w;N[a+76>>2]=d;N[a+80>>2]=o;N[a+68>>2]=c;N[a+72>>2]=q;N[a+176>>2]=u;N[a+60>>2]=j}A=P[x+22>>1];if((A|0)!=(s&65535)){d=0;l=La-16|0;La=l;q=N[a+12>>2];e=N[q+24>>2];c=e+(s<<3)|0;w=P[q+22>>1]-s<<16>>16;p=P[v+4>>1];i=p&200;if(!(!i|!e|(w|0)<=0)){h=v+16|0;f=(w<<3)+c|0;e=c;while(1){id(e,h);e=e+8|0;if(f>>>0>e>>>0){continue}break}p=P[v+4>>1]}j=N[v+12>>2];e=N[v+8>>2];O:{P:{if(!(p&2)){d=21;e=e+k|0;if(e>>>0>=s>>>0){break O}f=j+s|0;if(f>>>0>=M[q+22>>1]>>>0){break O}d=N[q+24>>2];e=d+(e<<3)|0;d=d+(f<<3)|0;j=N[e+4>>2]-N[d+4>>2]|0;e=N[e>>2]-N[d>>2]|0;break P}if(!(e|j)){break O}if(!(!i|!(p&2048))){d=N[v+20>>2];N[l+8>>2]=N[v+16>>2];N[l+12>>2]=d;i=Wb(l+8|0);I=l,J=_E(N[v+24>>2],N[v+28>>2],32),N[I+8>>2]=J;N[l+12>>2]=Pa;h=Wb(l+8|0);d=i>>31;q=(d^i)-d|0;d=e>>31;f=(d^e)-d|0;Q:{if((q>>>8|0)+f>>>0<=8190){f=T(f,q)+32768>>>16|0;break Q}d=f&65535;f=T(d,q>>>16|0)+T(q,f>>>16|0)+(T(d,q&65535)+32768>>>16)|0}d=f;m=0-d|0;d=e>>31|1;e=(((i|0)<0?0-d|0:d)|0)<0?m:f;d=h>>31;i=(d^h)-d|0;d=j>>31;f=(d^j)-d|0;R:{if((i>>>8|0)+f>>>0<=8190){f=T(f,i)+32768>>>16|0;break R}d=f&65535;f=T(d,i>>>16|0)+T(i,f>>>16|0)+(T(d,i&65535)+32768>>>16)|0}d=f;m=0-d|0;d=j>>31|1;j=(((h|0)<0?0-d|0:d)|0)<0?m:f}f=N[a+16>>2];if(f&1){break P}d=N[N[a+4>>2]+44>>2];q=N[d+8>>2];h=N[d+4>>2];d=h>>31;o=(d^h)-d|0;d=e>>31;i=(d^e)-d|0;S:{if((o>>>8|0)+i>>>0<=8190){m=T(i,o)+32768>>>16|0;break S}d=i&65535;m=T(d,o>>>16|0)+T(o,i>>>16|0)+(T(d,o&65535)+32768>>>16)|0}d=m;i=0-d|0;d=e>>31|1;e=(((h|0)<0?0-d|0:d)|0)<0?i:m;d=q>>31;i=(d^q)-d|0;d=j>>31;h=(d^j)-d|0;T:{if((i>>>8|0)+h>>>0<=8190){m=T(h,i)+32768>>>16|0;break T}d=h&65535;m=T(d,i>>>16|0)+T(i,h>>>16|0)+(T(d,i&65535)+32768>>>16)|0}d=m;h=0-d|0;d=j>>31|1;j=(((q|0)<0?0-d|0:d)|0)<0?h:m;if(!(p&4)|f&2){break P}e=N[N[N[a>>2]+96>>2]+64>>2]==35?e+32&-64:e;j=j+32&-64}d=0;if(!(e|j)|(w|0)<=0){break O}if(w>>>0>=4){f=w&-4;p=0;while(1){N[c>>2]=N[c>>2]+e;N[c+4>>2]=N[c+4>>2]+j;N[c+8>>2]=N[c+8>>2]+e;N[c+16>>2]=N[c+16>>2]+e;N[c+24>>2]=N[c+24>>2]+e;N[c+12>>2]=N[c+12>>2]+j;N[c+20>>2]=N[c+20>>2]+j;N[c+28>>2]=N[c+28>>2]+j;c=c+32|0;p=p+4|0;if((f|0)!=(p|0)){continue}break}}f=w&3;if(!f){break O}p=0;while(1){N[c>>2]=N[c>>2]+e;N[c+4>>2]=N[c+4>>2]+j;c=c+8|0;p=p+1|0;if((f|0)!=(p|0)){continue}break}}La=l+16|0;e=d;if(d){break c}}b=b+1|0;if((y|0)!=(b|0)){continue}break}b=A<<16>>16}N[a+164>>2]=E;N[a+28>>2]=D;N[a+24>>2]=z;if(!(!v|N[a+16>>2]&2|(!(L[v+5|0]&1)|b>>>0<=k>>>0))){h=La-16|0;La=h;d=N[a+12>>2];f=M[d+22>>1];b=f+4|0;U:{if(!(!b|Q[d+4>>2]>=M[d+58>>1]+(b+f|0)>>>0)){f=Sb(d,b,0);if(f){break U}f=M[d+22>>1]}b=N[a+72>>2];c=N[d+24>>2]+(f<<3)|0;N[c>>2]=N[a+68>>2];N[c+4>>2]=b;b=N[a+80>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+8>>2]=N[a+76>>2];N[c+12>>2]=b;b=N[a+184>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+16>>2]=N[a+180>>2];N[c+20>>2]=b;b=N[a+192>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+24>>2]=N[a+188>>2];N[c+28>>2]=b;L[N[d+28>>2]+M[d+22>>1]|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+1|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+2|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+3|0]=0;b=N[a+164>>2];i=N[a+24>>2];c=N[i+20>>2];V:{if(c){f=85;if(Qa[c|0](i,b,0,0)|0){break U}n=N[i+4>>2];break V}f=85;n=N[i+4>>2];if(n>>>0>>0){break U}}N[i+8>>2]=b;if(b+1>>>0>=n>>>0){break U}W:{c=N[i+20>>2];if(c){if((Qa[c|0](i,b,h+14|0,2)|0)!=2){break U}b=N[i+8>>2];f=h+14|0;break W}c=N[i>>2];if(c){f=b+c|0;break W}N[i+8>>2]=b+2;f=0;break U}c=O[f|0]|O[f+1|0]<<8;n=b+2|0;N[i+8>>2]=n;X:{c=c<<8|c>>>8;b=c&65535;Y:{if(b>>>0>P[N[a>>2]+286>>1]){f=22;if((b|0)>N[a+28>>2]){break U}j=N[a+156>>2];c=N[j+408>>2];if(b>>>0>c>>>0){e=N[j+412>>2];if((c|0)<0){N[j+412>>2]=e;f=6;break X}d=N[j+8>>2];Z:{if(!c){n=Qa[N[d+4>>2]](d,b)|0;f=!n<<6;break Z}d=Qa[N[d+12>>2]](d,c,b,e)|0;n=d?d:e;f=!d<<6}_:{if(!(f|(b|0)<=(c|0)|!n)){C(c+n|0,0,b-c|0);N[j+412>>2]=n;break _}N[j+412>>2]=n;if(f){break X}}n=N[i+8>>2];j=N[a+156>>2];c=b}N[j+408>>2]=c&65535;break Y}if(!(c&65535)){f=0;break U}j=N[a+156>>2]}f=85;d=N[i+4>>2];if(d>>>0<=n>>>0){break U}e=N[j+412>>2];c=N[i+20>>2];$:{if(c){j=Qa[c|0](i,n,e,b)|0;break $}c=d-n|0;j=b>>>0>c>>>0?c:b;F(e,N[i>>2]+n|0,j)}N[i+8>>2]=j+n;if(b>>>0>j>>>0){break U}d=N[N[a+156>>2]+412>>2];c=N[a+8>>2];N[c+140>>2]=b;N[c+136>>2]=d;d=N[a+12>>2];c=P[d+22>>1];M[a+128>>1]=c-k;M[a+130>>1]=P[d+20>>1]-r;b=k<<3;N[a+132>>2]=b+N[d+40>>2];N[a+136>>2]=b+N[d+24>>2];N[a+140>>2]=b+N[d+44>>2];N[a+144>>2]=k+N[d+28>>2];b=N[d+32>>2];M[a+152>>1]=k;N[a+148>>2]=b+(r<<1);if((c|0)!=(k&65535)){b=0;while(1){c=N[a+144>>2]+b|0;L[c|0]=O[c|0]&231;b=b+1|0;c=P[a+128>>1];if(b>>>0>>0){continue}break}b=c+4|0}else{b=4}M[a+128>>1]=b;f=_m(a,1);break U}N[N[a+156>>2]+408>>2]=c&65535}La=h+16|0;e=f;if(e){break c}}e=0;if(!N[x+48>>2]|!(O[N[x+52>>2]+5|0]&4)){break c}N[x+36>>2]=N[x+36>>2]|64;break c}e=21}Qa[N[t+524>>2]](a)}if(!H){break a}a=N[N[t+128>>2]+52>>2];Qa[N[N[a>>2]+4>>2]](N[a+4>>2],g+124|0)}La=g+176|0;return e}function Rf(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0;j=La-112|0;s=e+2378|0;f=-31;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{switch(N[e+632>>2]){case 1:f=N[e+12>>2];break s;case 5:break j;case 4:break o;case 3:break q;case 2:break r;case 0:break t;default:break a}}f=2;g=N[e+12>>2];u:{if(g-31>>>0>=2){h=N[e+8>>2];break u}h=N[e+20>>2];if(!h){break a}f=N[e+8>>2]>>>8|0;N[e+8>>2]=f;i=N[e+16>>2];l=O[i|0];N[e+20>>2]=h-1;N[e+16>>2]=i+1;h=f|l<<24;N[e+8>>2]=h;g=g-8|0}f=g+2|0;N[e+12>>2]=f;h=h>>>g&3;N[e+636>>2]=h;if((h|0)!=1){break p}}v:{if(f-31>>>0>=2){g=N[e+8>>2];break v}h=N[e+20>>2];if(!h){break k}g=N[e+8>>2]>>>8|0;N[e+8>>2]=g;i=N[e+16>>2];j=O[i|0];N[e+20>>2]=h-1;N[e+16>>2]=i+1;g=g|j<<24;N[e+8>>2]=g;f=f-8|0}N[e+636>>2]=0;N[e+12>>2]=f+2;N[e+648>>2]=g>>>f&3}g=0;f=a-1|0;if(f){while(1){g=g+1|0;a=f>>>0>1;f=f>>>1|0;if(a){continue}break}}h=N[e+648>>2];l=N[e+636>>2];if(h>>>0>>0){break g}k=(g<<2)+169392|0;f=N[e+12>>2];while(1){w:{if(32-f>>>0>=g>>>0){m=N[e+8>>2];a=f;break w}j=N[e+20>>2];if(!j){break l}o=N[e+8>>2]>>>8|0;N[e+8>>2]=o;i=N[e+16>>2];n=O[i|0];p=j-1|0;N[e+20>>2]=p;a=f-8|0;N[e+12>>2]=a;N[e+16>>2]=i+1;m=o|n<<24;N[e+8>>2]=m;if(40-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+1|0];p=j-2|0;N[e+20>>2]=p;a=f-16|0;N[e+12>>2]=a;N[e+16>>2]=i+2;m=o|n<<24;N[e+8>>2]=m;if(48-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+2|0];p=j-3|0;N[e+20>>2]=p;a=f-24|0;N[e+12>>2]=a;N[e+16>>2]=i+3;m=o|n<<24;N[e+8>>2]=m;if(56-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+3|0];p=j-4|0;N[e+20>>2]=p;a=f-32|0;N[e+12>>2]=a;N[e+16>>2]=i+4;m=o|n<<24;N[e+8>>2]=m;if(64-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+4|0];p=j-5|0;N[e+20>>2]=p;a=f-40|0;N[e+12>>2]=a;N[e+16>>2]=i+5;m=o|n<<24;N[e+8>>2]=m;if(72-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+5|0];N[e+20>>2]=j-6;a=f-48|0;N[e+12>>2]=a;N[e+16>>2]=i+6;m=o|n<<24;N[e+8>>2]=m}f=a+g|0;N[e+12>>2]=f;a=N[k>>2]&m>>>a;if(a>>>0>>0){M[((l<<1)+e|0)+792>>1]=a;l=l+1|0;if(l>>>0>h>>>0){break g}continue}break}return-4}h=N[e+648>>2];break f}N[e+652>>2]=0;N[e+656>>2]=32;a=e+2360|0;M[a+22>>1]=0;M[a+24>>1]=0;M[a+26>>1]=0;M[a+28>>1]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[e+632>>2]=4;n=32;i=0;break n}n=N[e+656>>2];i=N[e+652>>2];h=N[e+636>>2];if(h>>>0>17){break m}f=N[e+12>>2]}while(1){a=O[h+169216|0];x:{y:{z:{if(f-29>>>0>=4){g=N[e+8>>2];break z}g=N[e+20>>2];if(!g){break y}l=N[e+8>>2]>>>8|0;N[e+8>>2]=l;k=N[e+16>>2];o=O[k|0];N[e+20>>2]=g-1;N[e+16>>2]=k+1;g=l|o<<24;N[e+8>>2]=g;f=f-8|0}g=g>>>f&15;m=O[g+169248|0];break x}g=0;g=(f|0)!=32?N[e+8>>2]>>>f|0:g;m=O[g+169248|0];if(m>>>0<=32-f>>>0){break x}N[e+656>>2]=n;N[e+652>>2]=i;N[e+636>>2]=h;N[e+632>>2]=4;return 2}f=f+m|0;N[e+12>>2]=f;l=(a+e|0)+2360|0;a=O[g+169264|0];L[l|0]=a;if(!(4369>>>g&1)){g=((a<<1)+e|0)+2378|0;M[g>>1]=P[g>>1]+1;i=i+1|0;n=n-(32>>>a|0)|0;if(n-33>>>0<4294967264){break m}}h=h+1|0;if((h|0)!=18){continue}break}}if((i|0)!=1){f=-6;if(n){break a}}a=P[e+2380>>1]-1|0;N[j+4>>2]=a;a=a+P[e+2382>>1]|0;N[j+8>>2]=a;a=a+P[e+2384>>1]|0;N[j+12>>2]=a;a=a+P[e+2386>>1]|0;N[j+16>>2]=a;f=P[e+2388>>1];N[j>>2]=17;N[j+20>>2]=a+f;f=j+(O[e+2377|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=17;f=j+(O[e+2376|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=16;f=j+(O[e+2375|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=15;f=j+(O[e+2374|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=14;f=j+(O[e+2373|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=13;f=j+(O[e+2372|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=12;f=j+(O[e+2371|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=11;f=j+(O[e+2370|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=10;f=j+(O[e+2369|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=9;f=j+(O[e+2368|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=8;f=j+(O[e+2367|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=7;f=j+(O[e+2366|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=6;f=j+(O[e+2365|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=5;f=j+(O[e+2364|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=4;f=j+(O[e+2363|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=3;f=j+(O[e+2362|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=2;f=j+(O[e+2361|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=1;f=j+(O[e+2360|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;h=0;N[(j+32|0)+(a<<2)>>2]=0;if(N[j>>2]){l=e+660|0;a=0;i=P[e+2380>>1];if(i){while(1){f=l+(O[h+168960|0]<<2)|0;g=N[(j+32|0)+(a<<2)>>2]<<16|1;M[f+112>>1]=g;k=g>>>16|0;M[f+114>>1]=k;M[f+120>>1]=g;M[f+122>>1]=k;M[f+104>>1]=g;M[f+106>>1]=k;M[f+96>>1]=g;M[f+98>>1]=k;M[f+88>>1]=g;M[f+90>>1]=k;M[f+80>>1]=g;M[f+82>>1]=k;M[f+72>>1]=g;M[f+74>>1]=k;M[f+64>>1]=g;M[f+66>>1]=k;M[f+56>>1]=g;M[f+58>>1]=k;M[f+48>>1]=g;M[f+50>>1]=k;M[f+40>>1]=g;M[f+42>>1]=k;M[f+32>>1]=g;M[f+34>>1]=k;M[f+24>>1]=g;M[f+26>>1]=k;M[f+16>>1]=g;M[f+18>>1]=k;M[f+8>>1]=g;M[f+10>>1]=k;M[f>>1]=g;M[f+2>>1]=k;h=h+128|0;a=a+1|0;i=i-1|0;if(i){continue}break}}i=P[e+2382>>1];if(i){while(1){f=l+(O[h+168960|0]<<2)|0;g=N[(j+32|0)+(a<<2)>>2]<<16|2;M[f+96>>1]=g;k=g>>>16|0;M[f+98>>1]=k;M[f+112>>1]=g;M[f+114>>1]=k;M[f+80>>1]=g;M[f+82>>1]=k;M[f+64>>1]=g;M[f+66>>1]=k;M[f+48>>1]=g;M[f+50>>1]=k;M[f+32>>1]=g;M[f+34>>1]=k;M[f+16>>1]=g;M[f+18>>1]=k;M[f>>1]=g;M[f+2>>1]=k;h=h- -64|0;a=a+1|0;i=i-1|0;if(i){continue}break}}f=P[e+2384>>1];A:{if(!f){break A}if(f&1){g=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|3;M[g+64>>1]=i;k=i>>>16|0;M[g+66>>1]=k;M[g+96>>1]=i;M[g+98>>1]=k;M[g+32>>1]=i;M[g+34>>1]=k;M[g>>1]=i;M[g+2>>1]=k;h=h+32|0;a=a+1|0;i=f-1|0}else{i=f}if((f|0)==1){break A}while(1){f=l+(O[h+168960|0]<<2)|0;k=(j+32|0)+(a<<2)|0;g=N[k>>2]<<16|3;M[f+64>>1]=g;o=g>>>16|0;M[f+66>>1]=o;M[f+96>>1]=g;M[f+98>>1]=o;M[f+32>>1]=g;M[f+34>>1]=o;M[f>>1]=g;M[f+2>>1]=o;f=l+(O[h+168992|0]<<2)|0;g=N[k+4>>2]<<16|3;M[f+64>>1]=g;M[f+66>>1]=g>>>16;M[f+96>>1]=g;M[f+98>>1]=g>>>16;M[f+32>>1]=g;M[f+34>>1]=g>>>16;M[f>>1]=g;M[f+2>>1]=g>>>16;h=h- -64|0;a=a+2|0;i=i-2|0;if(i){continue}break}}g=P[e+2386>>1];B:{if(!g){break B}if(g&1){f=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|4;M[f>>1]=i;k=i>>>16|0;M[f+2>>1]=k;M[f+64>>1]=i;M[f+66>>1]=k;h=h+16|0;a=a+1|0;f=g-1|0}else{f=g}if((g|0)==1){break B}while(1){g=l+(O[h+168960|0]<<2)|0;k=(j+32|0)+(a<<2)|0;i=N[k>>2]<<16|4;M[g>>1]=i;o=i>>>16|0;M[g+2>>1]=o;M[g+64>>1]=i;M[g+66>>1]=o;g=l+(O[h+168976|0]<<2)|0;i=N[k+4>>2]<<16|4;M[g>>1]=i;M[g+2>>1]=i>>>16;M[g+64>>1]=i;M[g+66>>1]=i>>>16;h=h+32|0;a=a+2|0;f=f-2|0;if(f){continue}break}}g=P[e+2388>>1];if(!g){break i}if(g&1){f=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|5;M[f>>1]=i;M[f+2>>1]=i>>>16;h=h+8|0;a=a+1|0;f=g-1|0}else{f=g}if((g|0)==1){break i}while(1){g=l+(O[h+168960|0]<<2)|0;i=(j+32|0)+(a<<2)|0;k=N[i>>2]<<16|5;M[g>>1]=k;M[g+2>>1]=k>>>16;g=l+(O[h+168968|0]<<2)|0;i=N[i+4>>2]<<16|5;M[g>>1]=i;M[g+2>>1]=i>>>16;h=h+16|0;a=a+2|0;f=f-2|0;if(f){continue}break}break i}a=N[j+32>>2]<<16;M[e+784>>1]=a;f=a>>>16|0;M[e+786>>1]=f;M[e+780>>1]=a;M[e+782>>1]=f;M[e+776>>1]=a;M[e+778>>1]=f;M[e+772>>1]=a;M[e+774>>1]=f;M[e+768>>1]=a;M[e+770>>1]=f;M[e+764>>1]=a;M[e+766>>1]=f;M[e+760>>1]=a;M[e+762>>1]=f;M[e+756>>1]=a;M[e+758>>1]=f;M[e+752>>1]=a;M[e+754>>1]=f;M[e+748>>1]=a;M[e+750>>1]=f;M[e+744>>1]=a;M[e+746>>1]=f;M[e+740>>1]=a;M[e+742>>1]=f;M[e+736>>1]=a;M[e+738>>1]=f;M[e+732>>1]=a;M[e+734>>1]=f;M[e+728>>1]=a;M[e+730>>1]=f;M[e+724>>1]=a;M[e+726>>1]=f;M[e+720>>1]=a;M[e+722>>1]=f;M[e+716>>1]=a;M[e+718>>1]=f;M[e+712>>1]=a;M[e+714>>1]=f;M[e+708>>1]=a;M[e+710>>1]=f;M[e+704>>1]=a;M[e+706>>1]=f;M[e+700>>1]=a;M[e+702>>1]=f;M[e+696>>1]=a;M[e+698>>1]=f;M[e+692>>1]=a;M[e+694>>1]=f;M[e+688>>1]=a;M[e+690>>1]=f;M[e+684>>1]=a;M[e+686>>1]=f;M[e+680>>1]=a;M[e+682>>1]=f;M[e+676>>1]=a;M[e+678>>1]=f;M[e+672>>1]=a;M[e+674>>1]=f;M[e+668>>1]=a;M[e+670>>1]=f;M[e+664>>1]=a;M[e+666>>1]=f;M[e+660>>1]=a;M[e+662>>1]=f;break i}N[e+632>>2]=2;N[e+636>>2]=l;return 2}N[e+632>>2]=1;return 2}m=N[e+788>>2];i=N[e+640>>2];o=N[e+644>>2];n=N[e+656>>2];p=N[e+652>>2];f=N[e+648>>2];break h}a=s;M[a+24>>1]=0;M[a+26>>1]=0;M[a+28>>1]=0;M[a+30>>1]=0;M[a+16>>1]=0;M[a+18>>1]=0;M[a+20>>1]=0;M[a+22>>1]=0;o=8;M[a+8>>1]=0;M[a+10>>1]=0;M[a+12>>1]=0;M[a+14>>1]=0;M[a>>1]=0;M[a+2>>1]=0;M[a+4>>1]=0;M[a+6>>1]=0;N[e+2232>>2]=-16;m=N[e+788>>2];M[m-32>>1]=65535;N[e+2236>>2]=-15;M[m-30>>1]=65535;N[e+2240>>2]=-14;M[m-28>>1]=65535;N[e+2244>>2]=-13;M[m-26>>1]=65535;N[e+2248>>2]=-12;M[m-24>>1]=65535;N[e+2252>>2]=-11;M[m-22>>1]=65535;N[e+2256>>2]=-10;M[m-20>>1]=65535;N[e+2260>>2]=-9;M[m-18>>1]=65535;N[e+2264>>2]=-8;M[m-16>>1]=65535;N[e+2268>>2]=-7;M[m-14>>1]=65535;N[e+2272>>2]=-6;M[m-12>>1]=65535;N[e+2276>>2]=-5;M[m-10>>1]=65535;N[e+2280>>2]=-4;M[m-8>>1]=65535;N[e+2284>>2]=-3;M[m-6>>1]=65535;N[e+2288>>2]=-2;M[m-4>>1]=65535;N[e+2292>>2]=-1;M[m-2>>1]=65535;N[e+648>>2]=0;N[e+652>>2]=0;n=32768;N[e+656>>2]=32768;N[e+640>>2]=0;N[e+644>>2]=8;N[e+632>>2]=5;i=0;f=0}r=e+2232|0;C:{D:{a=N[e+12>>2];E:{if((a|0)!=32){q=N[e+16>>2];a=a-8|0;break E}a=N[e+20>>2];if(!a){j=0;break D}h=N[e+8>>2]>>>8|0;N[e+8>>2]=h;g=N[e+16>>2];j=O[g|0];N[e+20>>2]=a-1;N[e+12>>2]=24;q=g+1|0;N[e+16>>2]=q;N[e+8>>2]=h|j<<24;a=16}F:{if(!(q&1)){break F}h=N[e+20>>2];if(!h){break F}g=N[e+8>>2]>>>8|0;N[e+8>>2]=g;j=O[q|0];N[e+20>>2]=h-1;N[e+12>>2]=a;q=q+1|0;N[e+16>>2]=q;N[e+8>>2]=g|j<<24}G:{if(!n|b>>>0<=f>>>0){break G}v=e+660|0;j=N[e+20>>2];while(1){if(j>>>0<=1){N[e+652>>2]=p;N[e+648>>2]=f;N[e+644>>2]=o;N[e+656>>2]=n;N[e+640>>2]=i;break D}h=N[e+8>>2];g=N[e+12>>2];if(g>>>0>=16){g=g^16;N[e+12>>2]=g;a=h>>>16|0;N[e+8>>2]=a;h=O[q|0]|O[q+1|0]<<8;j=j-2|0;N[e+20>>2]=j;q=q+2|0;N[e+16>>2]=q;h=a|h<<16;N[e+8>>2]=h}a=v+((h>>>g&31)<<2)|0;g=O[a|0]+g|0;N[e+12>>2]=g;a=P[a+2>>1];H:{if(a>>>0<=15){if(a){h=r+(a<<2)|0;M[(N[h>>2]<<1)+m>>1]=f;N[h>>2]=f;h=(a<<1)+s|0;M[h>>1]=P[h>>1]+1;n=n-(32768>>>a|0)|0;o=a}l=f+1|0;p=0;break H}l=(a|0)==16;a=l?2:3;N[e+12>>2]=a+g;h=N[(a<<2)+169392>>2]&h>>>g;I:{J:{k=l?o:0;if((k|0)==(i|0)){if(p){break J}k=i}g=0;a=0;break I}k=i;g=p;a=g-2<>>0>b>>>0){n=1048575;N[e+656>>2]=1048575;break C}if(!k){i=0;break H}t=h-g|0;u=t+2|0;w=r+(k<<2)|0;g=N[w>>2];a=0;t=t+3&7;if(t){while(1){h=f;M[(g<<1)+m>>1]=f;f=f+1|0;g=h;a=a+1|0;if((t|0)!=(a|0)){continue}break}}if(u>>>0>=7){while(1){M[(g<<1)+m>>1]=f;a=f+1|0;M[(f<<1)+m>>1]=a;h=(a<<1)+m|0;a=f+2|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+3|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+4|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+5|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+6|0;M[h>>1]=a;g=f+7|0;M[(a<<1)+m>>1]=g;h=g;f=f+8|0;if((l|0)!=(f|0)){continue}break}}N[w>>2]=h;a=(k<<1)+s|0;M[a>>1]=i+P[a>>1];n=n-(i<<15-k)|0;i=k}if(b>>>0<=l>>>0){break G}f=l;if(n){continue}break}}N[e+656>>2]=n;break C}if(b>>>0<=f>>>0){break C}o=e+660|0;a=0;while(1){if(n){K:{if(!a){g=N[e+12>>2];break K}if(!j){return 2}a=N[e+8>>2]>>>8|0;N[e+8>>2]=a;h=N[e+16>>2];l=O[h|0];g=N[e+12>>2]-8|0;N[e+12>>2]=g;j=j-1|0;N[e+20>>2]=j;N[e+16>>2]=h+1;N[e+8>>2]=a|l<<24}h=0;a=1;h=(g|0)!=32?N[e+8>>2]>>>g|0:h;l=o+((h&31)<<2)|0;k=O[l|0];p=32-g|0;L:{if(k>>>0>p>>>0){break L}l=P[l+2>>1];M:{if(l>>>0<=15){N[e+652>>2]=0;N[e+12>>2]=g+k;if(l){a=r+(l<<2)|0;M[(N[a>>2]<<1)+m>>1]=f;N[a>>2]=f;n=n-(32768>>>l|0)|0;N[e+656>>2]=n;N[e+644>>2]=l;a=(l<<1)+s|0;M[a>>1]=P[a>>1]+1}f=f+1|0;N[e+648>>2]=f;break M}w=p;p=l-14|0;q=p+k|0;if(w>>>0>>0){break L}N[e+12>>2]=g+q;k=N[(p<<2)+169392>>2]&h>>>k;N:{O:{P:{if((l|0)!=16){l=3;a=0;break P}l=2;a=N[e+644>>2]}if((a|0)!=(i|0)){N[e+640>>2]=a;break O}h=N[e+652>>2];if(!h){break O}g=h-2<>2]=i;k=i-h|0;l=k+f|0;if(l>>>0>b>>>0){N[e+656>>2]=1048575;N[e+648>>2]=b;return-7}if(a){i=g-h|0;n=i+2|0;p=r+(a<<2)|0;g=N[p>>2];a=0;i=i+3&7;if(i){while(1){h=f;M[(g<<1)+m>>1]=f;f=f+1|0;g=h;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(n>>>0>=7){while(1){M[(g<<1)+m>>1]=f;a=f+1|0;M[(f<<1)+m>>1]=a;h=(a<<1)+m|0;a=f+2|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+3|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+4|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+5|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+6|0;M[h>>1]=a;g=f+7|0;M[(a<<1)+m>>1]=g;h=g;f=f+8|0;if((l|0)!=(f|0)){continue}break}}N[e+648>>2]=l;N[p>>2]=h;i=N[e+640>>2];n=N[e+656>>2]-(k<<15-i)|0;N[e+656>>2]=n;a=(i<<1)+s|0;M[a>>1]=k+P[a>>1];f=N[e+648>>2];break M}N[e+648>>2]=l;i=0;f=l}a=0}if(b>>>0>f>>>0){continue}}break}n=N[e+656>>2]}f=-7;if(n){break a}f=-1;g=15;while(1){h=g;g=g-1|0;k=f;f=f-1|0;if(P[(k<<1)+m>>1]==65535){continue}break}j=k>>>0>=4294967288?256:1<=8?8:h;o=(a|0)<=1?1:a;q=128;l=0;a=2;n=1;while(1){i=P[(n<<1)+s>>1];if(i){b=n-16|0;while(1){p=(O[l+168960|0]<<2)+c|0;b=P[(b<<1)+m>>1];g=b<<16|n;f=j;while(1){f=f-a|0;r=p+(f<<2)|0;M[r>>1]=g;M[r+2>>1]=g>>>16;if((f|0)>0){continue}break}l=l+q|0;i=i-1|0;if(i){continue}break}}q=q>>>1|0;a=a<<1;b=(n|0)!=(o|0);n=n+1|0;if(b){continue}break}p=256;if((j|0)!=256){while(1){a=j<<2;F(a+c|0,c,a);j=j<<1;if((j|0)!=256){continue}break}}if(k>>>0>=4294967289){t=(h|0)<=9?9:h;o=8;k=128;j=256;g=2;i=256;b=c;while(1){a=o;o=a+1|0;r=(o<<1)+s|0;Q:{if(!P[r>>1]){break Q}q=a-15|0;v=a-7|0;n=1<>>0<=13){while(1){if((i|0)==256){b=(j<<2)+b|0;h=n;f=o;while(1){R:{a=h-P[(f<<1)+s>>1]|0;if((a|0)<=0){a=f;break R}h=a<<1;a=15;f=f+1|0;if((f|0)!=15){continue}}break}f=O[l+168960|0];h=(f<<2)+c|0;f=a&255|(b-c>>>2|0)-f<<16;M[h>>1]=f;M[h+2>>1]=f>>>16;l=l+1|0;j=1<>1];a=v|q<<16;f=j;while(1){f=f-g|0;u=h+(f<<2)|0;M[u>>1]=a;M[u+2>>1]=a>>>16;if((f|0)>0){continue}break}a=P[r>>1]-1|0;M[r>>1]=a;i=i+k|0;if(a&65535){continue}break Q}}while(1){if((i|0)==256){a=O[l+168960|0];f=(a<<2)+c|0;b=(j<<2)+b|0;a=(b-c>>>2|0)-a<<16|o;M[f>>1]=a;M[f+2>>1]=a>>>16;l=l+1|0;p=n+p|0;j=n;i=0}h=(O[i+168960|0]<<2)+b|0;q=P[(q<<1)+m>>1];a=v|q<<16;f=j;while(1){f=f-g|0;u=h+(f<<2)|0;M[u>>1]=a;M[u+2>>1]=a>>>16;if((f|0)>0){continue}break}a=P[r>>1]-1|0;M[r>>1]=a;i=i+k|0;if(a&65535){continue}break}}k=k>>>1|0;g=g<<1;if((o|0)!=(t|0)){continue}break}}if(d){N[d>>2]=p}break b}if(!h){break e}a=0;while(1){b=P[((a<<1)+e|0)+792>>1];a=a+1|0;f=a;S:{while(1){if((b|0)!=P[((f<<1)+e|0)+792>>1]){f=f+1|0;if(h>>>0>=f>>>0){continue}break S}break}return-5}if((a|0)!=(h|0)){continue}break}}if((h|0)==3){f=N[e+12>>2];T:{if((f|0)!=32){g=N[e+8>>2];break T}a=N[e+20>>2];if(!a){N[e+632>>2]=3;return 2}b=N[e+8>>2]>>>8|0;N[e+8>>2]=b;f=N[e+16>>2];h=O[f|0];N[e+20>>2]=a-1;N[e+16>>2]=f+1;f=24;g=b|h<<24;N[e+8>>2]=g}N[e+12>>2]=f+1;h=(g>>>f&1)+3|0;N[e+648>>2]=h}g=e+792|0;f=1;U:{V:{W:{switch(h|0){case 1:a=P[e+794>>1];b=P[e+792>>1];if(a>>>0>b>>>0){a=b<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|1;M[c+4>>1]=a;M[c+6>>1]=a>>>16;f=2;break c}a=a<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+4>>1]=a;M[c+6>>1]=a>>>16;f=2;break c;case 2:a=P[e+792>>1]<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1];b=P[e+794>>1];if(a>>>0>b>>>0){a=b<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+796>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c}a=a<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c;case 3:h=P[e+794>>1];b=P[e+792>>1];X:{if(h>>>0>=b>>>0){a=h;h=b;break X}M[e+792>>1]=h;M[e+794>>1]=b;a=b}g=P[e+796>>1];Y:{if(h>>>0<=g>>>0){f=g;g=h;break Y}M[e+792>>1]=g;M[e+796>>1]=h;f=h}b=P[e+798>>1];if(b>>>0>>0){break V}l=g;g=b;break U;case 4:break W;case 0:break d;default:break c}}a=P[e+798>>1];b=P[e+796>>1];if(a>>>0>>0){M[e+796>>1]=a;M[e+798>>1]=b}a=P[e+792>>1]<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1]<<16|3;M[c+12>>1]=a;M[c+14>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+16>>1]=a;M[c+18>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+20>>1]=a;M[c+22>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+24>>1]=a;M[c+26>>1]=a>>>16;a=P[e+798>>1]<<16|3;M[c+28>>1]=a;M[c+30>>1]=a>>>16;f=8;break c}M[e+792>>1]=b;M[e+798>>1]=g;l=b}Z:{if(a>>>0<=f>>>0){h=f;f=a;break Z}M[e+794>>1]=f;M[e+796>>1]=a;h=a}_:{if(f>>>0<=g>>>0){f=g;break _}M[e+794>>1]=g;M[e+798>>1]=f}if(f>>>0>>0){M[e+796>>1]=f;M[e+798>>1]=h}a=l<<16|2;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1]<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+798>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c}g=e+792|0}a=P[g>>1]<<16;M[c>>1]=a;M[c+2>>1]=a>>>16;f=1}while(1){a=f<<2;F(a+c|0,c,a);f=f<<1;if((f|0)!=256){continue}break}if(d){N[d>>2]=256}}N[e+632>>2]=0;f=1}return f}function bh(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;u=La-16|0;La=u;a:{if(!Dk(a+4|0,b,a)){break a}c=a+6|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}d=((d<<8|d>>>8)&65535)+a|0;N[u+12>>2]=d;if(Ck(d,b,u+12|0)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}p=a+8|0;f=N[b+4>>2];if(p>>>0>>0){break a}c=N[b+8>>2];if(c>>>0

>>0|c-p>>>0<2){break a}h=N[b+12>>2];d=h-2|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}d=O[p|0]|O[p+1|0]<<8;c:{if(!d){break c}d:{o=((d<<8|d>>>8)&65535)+a|0;if(f>>>0>o>>>0|c>>>0>>0|c-o>>>0<2){break d}d=h-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}f=O[o|0]|O[o+1|0]<<8;if(!f){break c}h=o+2|0;if(h>>>0>c>>>0){break d}e=c-h|0;c=(f<<8|f>>>8)&65535;f=c<<1;if(e>>>0>>0){break d}d=d-f|0;N[b+12>>2]=d;if((d|0)<=0){break d}A=c>>>0<=1?1:c;while(1){q=((v<<1)+o|0)+2|0;d=N[b+4>>2];if(q>>>0>>0){break d}f=N[b+8>>2];if(f>>>0>>0|f-q>>>0<2){break d}c=N[b+12>>2];h=c-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[q|0]|O[q+1|0]<<8;e:{if(!h){break e}l=((h<<8|h>>>8)&65535)+o|0;f:{g:{if(d>>>0>l>>>0|f>>>0>>0|f-l>>>0<6){break g}h=c-8|0;N[b+12>>2]=h;if((h|0)<=0){break g}n=l+4|0;if(f>>>0>>0|f-n>>>0<2){break g}h=c-10|0;N[b+12>>2]=h;if((h|0)<=0){break g}s=O[n|0]|O[n+1|0]<<8;t=(s<<8|s>>>8)&65535;e=t<<1;if(s){c=l+6|0;if(c>>>0>f>>>0|e>>>0>f-c>>>0){break g}h=h-e|0;N[b+12>>2]=h;if((h|0)<=0){break g}}c=N[b+16>>2]+t|0;N[b+16>>2]=c;if((c|0)>16383){break g}h:{if(!(O[l+3|0]&16)){c=h;break h}c=(e+n|0)+2|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break g}c=h-2|0;N[b+12>>2]=c;if((h|0)<3){break g}}if(d>>>0>n>>>0){break g}d=O[l|0]|O[l+1|0]<<8;c=c-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}if(s){h=l+6|0;if(h>>>0>f>>>0|e>>>0>f-h>>>0){break g}c=c-e|0;N[b+12>>2]=c;if((c|0)<=0){break g}s=(d<<8|d>>>8)&65535;B=t>>>0<=1?1:t;h=0;while(1){r=((h<<1)+n|0)+2|0;if(r>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-r>>>0<2){break g}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=O[r|0]|O[r+1|0]<<8;i:{if(!c){break i}f=((c<<8|c>>>8)&65535)+l|0;c=s;d=0;m=La-16|0;La=m;j:{while(1){k:{if((c|0)!=9){d=1;l:{switch(c-1|0){case 0:if(Q[b+4>>2]>f>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}g=c-f|0;if(g>>>0<2){d=0;break j}e=N[b+12>>2];i=e-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}m:{n:{i=O[f|0]|O[f+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break m;case 0:break n;default:break j}}if(g>>>0<6){d=0;break j}d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-10|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;o:{if(!c){break o}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break o}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=O[f+4|0]|O[f+5|0]<<8;if(!c){break j}e=f+6|0;if(e>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}g=d-e|0;d=YE(c)<<1;if(g>>>0>>0){d=0;break j}g=N[b+12>>2]-d|0;N[b+12>>2]=g;d=0;if((g|0)<=0){break j}d=1;if(c>>>0<4096){break j}d=fe(c,b,f,e);break j}if(g>>>0<8){d=0;break j}d=e-10|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-12|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;p:{if(!c){break p}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break p}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;g=O[f+4|0]|O[f+5|0]<<8;j=YE(g);e=O[f+6|0]|O[f+7|0]<<8;k=(e<<8|e>>>8)&65535;d=T(j,k)<<1;if(d){if(Q[b+4>>2]>c>>>0){d=0;break j}i=N[b+8>>2];if(i>>>0>>0){d=0;break j}if(d>>>0>i-c>>>0){d=0;break j}i=N[b+12>>2]-d|0;N[b+12>>2]=i;d=0;if((i|0)<=0){break j}}if(!e){d=1;break j}d=1;if(g>>>0<4096){break j}i=0;while(1){d=fe(O[f+4|0]|O[f+5|0]<<8,b,f,c);if(!d){break j}c=(j<<1)+c|0;i=i+1|0;if((k|0)!=(i|0)){continue}break};break j;case 1:if(Q[b+4>>2]>f>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}g=c-f|0;if(g>>>0<2){d=0;break j}e=N[b+12>>2];i=e-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}q:{r:{i=O[f|0]|O[f+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break q;case 0:break r;default:break j}}if(g>>>0<10){d=0;break j}d=e-12|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}i=O[f+6|0]|O[f+7|0]<<8;j=O[f+4|0]|O[f+5|0]<<8;c=e-14|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;s:{if(!c){break s}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break s}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=f+10|0;if(d>>>0>e>>>0){d=0;break j}e=e-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(e>>>0>>0){d=0;break j}e=g-d|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break j}y=YE(j);w=(y+YE(i)|0)+1|0;C=c>>>0<=1?1:c;i=0;while(1){e=N[b+4>>2];j=((i<<1)+f|0)+10|0;if(e>>>0>j>>>0){d=0;break j}c=N[b+8>>2];if(c>>>0>>0){d=0;break j}if(c-j>>>0<2){d=0;break j}k=N[b+12>>2];d=k-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[j|0]|O[j+1|0]<<8;t:{if(!d){break t}u:{g=((d<<8|d>>>8)&65535)+f|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<2){break u}d=k-4|0;N[b+12>>2]=d;if((d|0)<=0){break u}k=O[g|0]|O[g+1|0]<<8;if(!k){break t}e=g+2|0;if(e>>>0>c>>>0){break u}x=(k<<8|k>>>8)&65535;z=T(x,w)<<1;if(z>>>0>c-e>>>0){break u}c=d-z|0;N[b+12>>2]=c;if((c|0)<=0){break u}c=g+4|0;v:{if(!k){break v}e=0;d=c;if((O[f+4|0]|O[f+5|0]<<8)>>>0<4096){break v}while(1){if(!fe(O[f+4|0]|O[f+5|0]<<8,b,g,d)){break u}d=(w<<1)+d|0;e=e+1|0;if((x|0)!=(e|0)){continue}break}}if(!k|(O[f+6|0]|O[f+7|0]<<8)>>>0<4096){break t}d=c+(y<<1)|0;e=0;while(1){if(!fe(O[f+6|0]|O[f+7|0]<<8,b,g,d)){break u}d=(w<<1)+d|0;e=e+1|0;if((x|0)!=(e|0)){continue}break}break t}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[j|0]=0;L[j+1|0]=0}d=1;i=i+1|0;if((C|0)!=(i|0)){continue}break}break j}if(g>>>0<16){d=0;break j}d=e-18|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c-d>>>0<2){d=0;break j}c=e-20|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[d|0]|O[d+1|0]<<8;w:{if(!c){break w}if(Lb(((c<<8|c>>>8)&65535)+f|0,b)){break w}c=N[b+28>>2];if(c>>>0>31){d=0;break j}N[b+28>>2]=c+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}c=f+8|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;x:{if(!d){break x}if(td(((d<<8|d>>>8)&65535)+f|0,b)){break x}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=f+10|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;y:{if(!d){break y}if(td(((d<<8|d>>>8)&65535)+f|0,b)){break y}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=O[f+14|0]|O[f+15|0]<<8;d=(c<<8|c>>>8)&65535;c=O[f+12|0]|O[f+13|0]<<8;g=T(d,(c<<8|c>>>8)&65535);i=YE(O[f+4|0]|O[f+5|0]<<8);j=YE(O[f+6|0]|O[f+7|0]<<8)+i|0;c=UE(g,0,j<<1,0);if(Pa){d=0;break j}e=f+16|0;if(c){if(e>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(c>>>0>d-e>>>0){d=0;break j}c=N[b+12>>2]-c|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}}if(!(!g|(O[f+4|0]|O[f+5|0]<<8)>>>0<4096)){d=0;c=e;while(1){if(!fe(O[f+4|0]|O[f+5|0]<<8,b,f,c)){d=0;break j}c=(j<<1)+c|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=1;if(!g|(O[f+6|0]|O[f+7|0]<<8)>>>0<4096){break j}c=e+(i<<1)|0;e=0;while(1){d=fe(O[f+6|0]|O[f+7|0]<<8,b,f,c);if(!d){break j}c=(j<<1)+c|0;e=e+1|0;if((g|0)!=(e|0)){continue}break};break j;case 2:c=N[b+4>>2];if(c>>>0>f>>>0){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-f>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[f|0]|O[f+1|0]<<8)!=256){break j}d=c;c=f+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>e>>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;z:{if(!d){break z}if(Lb(((d<<8|d>>>8)&65535)+f|0,b)){break z}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=f+6|0;if(d>>>0>e>>>0){d=0;break j}e=e-d|0;c=(c<<8|c>>>8)&65535;d=c<<2;if(e>>>0>>0){d=0;break j}e=g-d|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break j}e=c>>>0<=1?1:c;c=0;while(1){d=(c<<2)+f|0;if(!If(d+6|0,b,f)){d=0;break j}if(If(d+8|0,b,f)){d=1;c=c+1|0;if((e|0)==(c|0)){break j}continue}break};d=0;break j;case 3:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;A:{if(!e){break A}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break A}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;B:{if(!e){break B}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break B}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;C:{if(!e){break C}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Xg(e,b,m+12|0)){break C}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;d=Wg(f+10|0,b,f,m+8|0);break j;case 4:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;D:{if(!e){break D}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break D}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;E:{if(!e){break E}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break E}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;F:{if(!e){break F}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Xg(e,b,m+12|0)){break F}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;i=N[b+4>>2];e=f+10|0;d=0;G:{if(i>>>0>e>>>0){break G}g=N[b+8>>2];d=0;if(g>>>0>>0){break G}d=0;if(g-e>>>0<2){break G}j=N[b+12>>2];k=j-2|0;N[b+12>>2]=k;c=1;d=0;if((k|0)<=0){break G}k=m+8|0;d=O[e|0]|O[e+1|0]<<8;H:{if(!d){break H}I:{f=((d<<8|d>>>8)&65535)+f|0;if(f>>>0>>0|f>>>0>g>>>0|g-f>>>0<2){break I}d=j-4|0;N[b+12>>2]=d;if((d|0)<=0){break I}i=O[f|0]|O[f+1|0]<<8;if(!i){break H}c=f+2|0;if(c>>>0>g>>>0){break I}j=g-c|0;c=(i<<8|i>>>8)&65535;g=c<<1;if(j>>>0>>0){break I}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break I}g=c>>>0<=1?1:c;d=0;while(1){if(!Wg((f+(d<<1)|0)+2|0,b,f,k)){break I}c=1;d=d+1|0;if((g|0)!=(d|0)){continue}break}break H}c=N[b+28>>2];d=0;if(c>>>0>31){break G}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break H}L[e|0]=0;L[e+1|0]=0;c=1}d=c}break j;case 5:d=0;if(Q[b+4>>2]>f>>>0){break j}e=N[b+8>>2];if(e>>>0>>0){break j}c=e-f|0;if(c>>>0<2){break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){break j}d=1;if((O[f|0]|O[f+1|0]<<8)!=256){break j}if(c>>>0<=11){d=0;break j}c=g-14|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}c=f+2|0;if(c>>>0>e>>>0|e-c>>>0<2){break j}e=g-16|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;J:{if(!e){break J}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break J}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+4|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;K:{if(!e){break K}if(Lb(((e<<8|e>>>8)&65535)+f|0,b)){break K}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=f+8|0;if(c>>>0>2]){break j}e=N[b+8>>2];if(e>>>0>>0|e-c>>>0<2){break j}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break j}e=O[c|0]|O[c+1|0]<<8;L:{if(!e){break L}e=((e<<8|e>>>8)&65535)+f|0;N[m+12>>2]=e;if(Xg(e,b,m+12|0)){break L}e=N[b+28>>2];if(e>>>0>31){break j}N[b+28>>2]=e+1;if(!O[b+24|0]){break j}L[c|0]=0;L[c+1|0]=0}c=O[f+6|0]|O[f+7|0]<<8;N[m+8>>2]=(c<<8|c>>>8)&65535;d=Wg(f+10|0,b,f,m+8|0);break j;case 6:d=0;if(Q[b+4>>2]>f>>>0){break j}c=N[b+8>>2];if(c>>>0>>0|c-f>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break j}d=1;M:{N:{c=O[f|0]|O[f+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break M;case 1:break N;case 0:break k;default:break j}}d=yk(f,b);break j}d=xk(f,b);break j;case 7:break l;default:break j}}d=wk(f,b);break j}if(Q[b+4>>2]>f>>>0){break j}c=N[b+8>>2];if(c>>>0>>0){break j}c=c-f|0;if(c>>>0<2){break j}e=N[b+12>>2];g=e-2|0;N[b+12>>2]=g;if((g|0)<=0){break j}if((O[f|0]|O[f+1|0]<<8)!=256){d=1;break j}if(c>>>0<8){break j}c=e-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}e=O[f+2|0]|O[f+3|0]<<8;if((e|0)==2304){break j}c=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if(c){f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+f|0}else{f=275552}c=(e<<8|(e&65280)>>>8)&65535;continue}break}d=vk(f,b)}La=m+16|0;if(d){break i}c=N[b+28>>2];if(c>>>0>31){break d}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break f}L[r|0]=0;L[r+1|0]=0}h=h+1|0;if((B|0)!=(h|0)){continue}break}d=O[l|0]|O[l+1|0]<<8}if(N[b+28>>2]|(d&65535)!=2304){break e}d=275552;e=0;c=O[n|0]|O[n+1|0]<<8?l+6|0:275552;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+l|0}if((O[d|0]|O[d+1|0]<<8)==256){c=O[d+2|0]|O[d+3|0]<<8;e=(c<<8|c>>>8)&65535}d=1;if(t>>>0<2){break e}while(1){h=275552;c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=d>>>0?275552:((d<<1)+n|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){h=((c<<8|c>>>8)&65535)+l|0}c=0;if((O[h|0]|O[h+1|0]<<8)==256){c=O[h+2|0]|O[h+3|0]<<8;c=(c<<8|c>>>8)&65535}if((c|0)==(e|0)){d=d+1|0;if((t|0)!=(d|0)){continue}}break}if((c|0)==(e|0)){break e}}c=N[b+28>>2]}if(c>>>0>31){break d}N[b+28>>2]=c+1;if(!O[b+24|0]){break d}L[q|0]=0;L[q+1|0]=0}v=v+1|0;if((A|0)!=(v|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){h=0;break a}N[b+28>>2]=c+1;if(!O[b+24|0]){h=0;break a}L[p|0]=0;L[p+1|0]=0}h=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65537){break a}c=a+10|0;if(c>>>0>2]){h=0;break a}d=N[b+8>>2];if(d>>>0>>0){h=0;break a}if(d-c>>>0<4){h=0;break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!d){break a}if(d&128){h=0;break a}if(Bk((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+a|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){h=0;break a}N[b+28>>2]=a+1;h=0;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;h=1}La=u+16|0;return h}function bq(a,b){var 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,t=0,u=0,v=0;f=La-8288|0;La=f;N[a>>2]=0;N[a+4>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;L[a+40|0]=0;N[a+36>>2]=65536;N[a+8>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;L[a+24|0]=0;C(a+44|0,0,88);c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[a+40|0]=1;N[a+36>>2]=c;c=N[b+12>>2];a:{if(c){b=Qa[c|0](b,1128678962,N[b+16>>2])|0;if(b){break a}}b=275552}b:{c=N[b>>2];if(c){if((c|0)<=0){break b}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;e=N[b+12>>2];N[a+4>>2]=e;d=N[b+16>>2];N[a+8>>2]=d+e;if((d|0)>=0){c:{N[a+28>>2]=0;if(d>>>0>67108863){c=1073741823}else{c=d<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;d:{if(!e){ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break d}e:{if(d>>>0>=5){N[a+12>>2]=c-5;c=O[e|0];ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if((c|0)!=2){break e}if(!N[b+4>>2]){break d}N[b+4>>2]=0;break d}ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}ab(b);b=275552}N[a+44>>2]=b;f:{c=N[b>>2];if(c){if((c|0)<=0){break f}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;c=N[b+16>>2];h=c+d|0;N[a+8>>2]=h;if((c|0)>=0){N[a+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;g:{h:{if(Q[b+16>>2]<5){break h}n=N[b+12>>2];if((n|0)==275552){break h}g=O[n+3|0]|O[n+4|0]<<8;e=(g<<8|g>>>8)&65535;b=O[n+2|0]+n|0;if(g){if(b>>>0>>0|b>>>0>h>>>0|h-b>>>0>>0){break h}c=c-e|0;N[a+12>>2]=c;if((c|0)<=0){break h}}i=a+116|0;s=a+104|0;L[f+24|0]=0;C(f+28|0,0,4108);N[f+12>>2]=e;N[f+8>>2]=b;N[a+72>>2]=0;N[a+76>>2]=0;N[a+64>>2]=0;N[a+68>>2]=0;N[a+56>>2]=0;N[a+60>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;h=f+24|0;c=0;d=0;while(1){i:{j:{k:{b=d+1|0;if(b>>>0<=e>>>0){g=N[f+8>>2];j=O[g+d|0];N[f+16>>2]=b;l:{if((j|0)!=12){d=b;break l}d=d+2|0;if(e>>>0>>0){j=65535;break k}b=O[b+g|0];N[f+16>>2]=d;j=b|256}m:{n:{o:{p:{q:{switch(j-17|0){default:r:{switch(j-292|0){case 0:break n;case 1:break p;default:break r}}if((j|0)!=263){break k}s:{t:{u:{l=N[a+52>>2];if((l|0)>=0){b=N[a+56>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=l>>>0){break t}while(1){l=((l>>>1|0)+l|0)+8|0;if(c>>>0>=l>>>0){continue}break}if(l>>>0<=357913941){b=$a(N[a+60>>2],T(l,12));if(b){break u}}N[a+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;m=589824;break s}N[a+52>>2]=l;N[a+60>>2]=b;b=N[a+56>>2]}if(b>>>0>>0){while(1){N[a+56>>2]=b+1;b=N[a+60>>2]+T(b,12)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+56>>2];if(c>>>0>b>>>0){continue}break}}N[a+56>>2]=c;m=(N[a+60>>2]+T(c,12)|0)-12|0}c=m;N[c+4>>2]=263;b=g;g=N[a+48>>2];N[c>>2]=b+g;b=0;c=e-g|0;c=c>>>0<=e>>>0?c:0;g=d-g|0;L[m+8|0]=c>>>0>>0?c:g;N[a+48>>2]=d;break m;case 1:case 2:case 3:case 4:case 5:case 6:break k;case 0:break o;case 7:break q}}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+72>>2]=0;break m}b=0;k=S[h+(c<<3)>>3];v:{if(V(k)<2147483648){c=~~k;break v}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+72>>2]=c;break m}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+76>>2]=0;break m}b=0;k=S[h+(c<<3)>>3];w:{if(V(k)<2147483648){c=~~k;break w}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+76>>2]=c;break m}if(!c){N[147456]=0;N[147457]=0;b=1;L[f+24|0]=1;N[a+64>>2]=0;break m}b=0;k=S[h+(c<<3)>>3];x:{if(V(k)<2147483648){c=~~k;break x}c=-2147483648}if((c|0)<0){L[f+24|0]=1;c=0;b=1}N[a+64>>2]=c;break m}y:{if(!c){c=0;N[147456]=0;N[147457]=0;L[f+24|0]=1;b=1;break y}k=S[h+(c<<3)>>3];z:{if(V(k)<2147483648){c=~~k;break z}c=-2147483648}b=0;if((c|0)>=0){break y}L[f+24|0]=1;c=0;b=1}N[a+68>>2]=c}N[f+28>>2]=0;break j}e=O[n+2|0];d=O[n+3|0]|O[n+4|0]<<8;b=N[a+72>>2];b=b?b+n|0:275552;N[a+84>>2]=b;c=N[a+64>>2];c=c?c+n|0:275552;N[a+88>>2]=c;h=N[a+68>>2];N[a+92>>2]=h?h+n|0:275552;h=N[a+76>>2];N[a+96>>2]=h?h+n|0:275552;N[a+80>>2]=(e+((d<<8|d>>>8)&65535)|0)+n;if((b|0)!=275552){if(b>>>0>2]){break h}e=N[a+8>>2];if(e>>>0>>0|e-b>>>0<10){break h}d=N[a+12>>2]-10|0;N[a+12>>2]=d;if((d|0)<=0){break h}c=b+2|0;g=O[b|0]|O[b+1|0]<<8;A:{if(!g){h=e-c|0;break A}if(c>>>0>e>>>0){break h}h=e-c|0;g=(g<<8|g>>>8)&65535;if(h>>>0>>0){break h}d=d-g|0;N[a+12>>2]=d;if((d|0)<=0){break h}}if(h>>>0<=7|c>>>0>e>>>0){break h}N[a+12>>2]=d-8;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<9){break h}if(!hh(b+4|0,a,c)){break h}N[f+8>>2]=c;if(!gh(b+8|0,a,f+8|0)){break h}c=N[a+88>>2]}if((c|0)==275552){break h}if(!Jg(c,a)){break h}b=N[a+80>>2];if((b|0)==275552){break h}if(!Jg(b,a)){break h}b=N[a+92>>2];if((b|0)==275552){break h}if(!Jg(b,a)){break h}b=N[a+96>>2];B:{if((b|0)==275552){break B}if(b>>>0>2]){break h}d=N[a+8>>2];if(d>>>0>>0|d-b>>>0<2){break h}c=N[a+92>>2];c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=N[a+12>>2]-2|0;N[a+12>>2]=e;if((e|0)<=0){break h}l=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);C:{switch(O[b|0]){case 0:c=N[a+36>>2];if(!c){break B}b=b+1|0;if(b>>>0>d>>>0|c>>>0>d-b>>>0){break h}b=e-c|0;N[a+12>>2]=b;if((b|0)>0){break B}break h;case 3:if(!Yp(b+1|0,a,l)){break h}break B;case 4:break C;default:break h}}g=0;d=b+1|0;D:{E:{if(d>>>0>2]){break E}h=N[a+8>>2];if(h>>>0>>0|h-d>>>0<4){break E}b=N[a+12>>2];c=b-4|0;N[a+12>>2]=c;if((c|0)<=0){break E}o=b-8|0;N[a+12>>2]=o;if((o|0)<=0){break E}e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);b=UE(j,0,6,0);if(Pa){break E}c=d+4|0;if(b){if(c>>>0>h>>>0|b>>>0>h-c>>>0){break E}b=o-b|0;N[a+12>>2]=b;if((b|0)<=0){break E}}F:{if(!e){break F}o=j>>>0<=1?1:j;q=N[a+36>>2];e=0;while(1){h=d+T(e,6)|0;j=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);b=0;if(q>>>0<=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))>>>0){break D}b=O[h+8|0]|O[h+9|0]<<8;if(l>>>0>((b<<8|b>>>8)&65535)>>>0){e=e+1|0;if((o|0)==(e|0)){break F}continue}break}b=0;break D}if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))|(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))){break E}e=1;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(c>>>0>1){while(1){h=275552;m=c;c=e-1|0;if(m>>>0>c>>>0){h=(d+T(c,6)|0)+4|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24)}b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<=e>>>0?275552:(d+T(e,6)|0)+4|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);if(c>>>0<=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0){break E}b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);e=e+1|0;if(c>>>0>e>>>0){continue}break}}b=(b?(d+T(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),6)|0)-2|0:275552)+6|0;if(b>>>0>2]){break E}c=N[a+8>>2];if(c>>>0>>0|c-b>>>0<4){break E}b=N[a+12>>2]-4|0;N[a+12>>2]=b;if((b|0)<=0){break E}c=N[a+36>>2];b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(b){b=(d+T(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),6)|0)-2|0}else{b=275552}b=O[b+6|0]|O[b+7|0]<<8|(O[b+8|0]<<16|O[b+9|0]<<24);g=(c|0)==(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))}b=g}if(!b){break h}}b=N[a+88>>2];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[a+128>>2]=b;if((b|0)!=N[a+36>>2]){break h}b=N[a+92>>2];b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[a+100>>2]=b;d=N[a+116>>2];if((d|0)<0){break h}c=(b|0)>0?b:0;if(c>>>0>d>>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}G:{if(d>>>0<=153391689){b=Xp(i,d);if(b){break G}}N[i>>2]=-1;break h}N[a+116>>2]=d;N[a+124>>2]=b}b=N[a+120>>2];H:{if(c>>>0>b>>>0){while(1){N[a+120>>2]=b+1;b=N[a+124>>2]+T(b,28)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+120>>2];if(c>>>0>b>>>0){continue}break H}}if(b>>>0<=c>>>0){break H}while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b>>>0>c>>>0){continue}break}}N[a+120>>2]=c;if(!N[a+100>>2]){break g}u=f+28|0;q=f+24|0;v=f+4164|0;t=f+4160|0;I:while(1){be(f+8272|0,N[a+92>>2],p);b=N[f+8276>>2];if(b){c=N[f+8272>>2];if(c>>>0>2]){break h}d=N[a+8>>2];if(d>>>0>>0|b>>>0>d-c>>>0){break h}b=N[a+12>>2]-b|0;N[a+12>>2]=b;if((b|0)<=0){break h}}L[f+4160|0]=0;C(v,0,4108);c=N[f+8276>>2];N[f+4144>>2]=N[f+8272>>2];N[f+4148>>2]=c;J:{K:{d=N[a+104>>2];if((d|0)>=0){b=N[a+108>>2];e=b+1|0;e=(e|0)>0?e:0;if(e>>>0<=d>>>0){break J}while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){b=Xp(s,d);if(b){break K}}N[s>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break h}N[a+104>>2]=d;N[a+112>>2]=b;b=N[a+108>>2]}L:{if(b>>>0>>0){while(1){N[a+108>>2]=b+1;b=N[a+112>>2]+T(b,28)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+108>>2];if(e>>>0>b>>>0){continue}break L}}if(b>>>0<=e>>>0){break L}while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b>>>0>e>>>0){continue}break}}N[a+108>>2]=e;b=N[a+112>>2];N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;i=b+T(e-1|0,28)|0;if((i|0)==589824){break h}j=c;N[i>>2]=0;N[i+4>>2]=0;g=0;N[i+24>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;c=0;while(1){e=c+1|0;if(j>>>0>=e>>>0){b=N[f+4144>>2];h=O[b+c|0];N[f+4152>>2]=e;M:{N:{O:{P:{if((h|0)==12){c=c+2|0;if(c>>>0<=j>>>0){break P}h=65535;break O}if((h|0)!=18){break O}Q:{R:{S:{if(!g){N[i+16>>2]=0;break S}d=0;b=g-1|0;k=S[((b<<3)+t|0)+8>>3];T:{if(V(k)<2147483648){c=~~k;break T}c=-2147483648}if((c|0)<0){L[f+4160|0]=1;d=1;c=0}N[i+16>>2]=c;if(b){break R}}c=0;N[147456]=0;N[147457]=0;d=1;L[f+4160|0]=1;break Q}k=S[((g<<3)+t|0)-8>>3];U:{if(V(k)<2147483648){c=~~k;break U}c=-2147483648}if((c|0)>=0){break Q}d=1;L[f+4160|0]=1;c=0}N[i+20>>2]=c;N[f+4164>>2]=0;h=18;break N}b=O[b+e|0];N[f+4152>>2]=c;h=b|256}Ke(h,f+4144|0);d=O[f+4160|0];j=N[f+4148>>2];e=N[f+4152>>2];g=N[f+4164>>2];if(g){break M}}g=0;if(d&255|e>>>0>j>>>0){break M}V:{W:{X:{g=N[i+4>>2];if((g|0)>=0){c=N[i+8>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=g>>>0){break W}while(1){g=((g>>>1|0)+g|0)+8|0;if(b>>>0>=g>>>0){continue}break}if(g>>>0<=357913941){c=$a(N[i+12>>2],T(g,12));if(c){break X}}N[i+4>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;g=589824;break V}N[i+4>>2]=g;N[i+12>>2]=c;c=N[i+8>>2]}if(b>>>0>c>>>0){while(1){N[i+8>>2]=c+1;c=N[i+12>>2]+T(c,12)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;c=N[i+8>>2];if(b>>>0>c>>>0){continue}break}}N[i+8>>2]=b;g=(N[i+12>>2]+T(b,12)|0)-12|0}b=g;N[b+4>>2]=h;c=N[i>>2];N[b>>2]=c+N[f+4144>>2];d=0;b=j-c|0;b=b>>>0<=j>>>0?b:0;c=e-c|0;L[g+8|0]=b>>>0>>0?b:c;N[i>>2]=e;g=0}if(e>>>0>j>>>0){break h}c=e;if(!(d&255)){continue}break h}break}b=N[i+16>>2];o=b?b+n|0:275552;i=N[i+20>>2];if(i){if(o>>>0>2]){break h}b=N[a+8>>2];if(b>>>0>>0|i>>>0>b-o>>>0){break h}b=N[a+12>>2]-i|0;N[a+12>>2]=b;if((b|0)<=0){break h}}L[f+24|0]=0;C(u,0,4108);L[f+4140|0]=0;N[f+4136>>2]=0;N[f+12>>2]=i;N[f+8>>2]=o;Y:{if(Q[a+120>>2]<=p>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Y}b=N[a+124>>2]+T(p,28)|0}N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;Z:{if(Q[a+120>>2]<=p>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=589824;break Z}c=N[a+124>>2]+T(p,28)|0}N[c>>2]=0;N[c+4>>2]=0;g=0;N[c+24>>2]=0;N[c+20>>2]=275552;N[c+16>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;e=i;b=0;while(1){_:{$:{aa:{d=b+1|0;if(d>>>0<=e>>>0){h=N[f+8>>2];j=O[h+b|0];N[f+16>>2]=d;ba:{if((j|0)!=12){b=d;break ba}b=b+2|0;if(e>>>0>>0){j=65535;break aa}d=O[d+h|0];N[f+16>>2]=b;j=d|256}k=0;h=0;d=0;ca:{da:{ea:{fa:{ga:{ha:{switch(j-6|0){case 17:break $;case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 14:case 15:break aa;case 0:case 1:case 2:case 3:break ca;case 16:break ea;case 13:break fa;case 4:case 5:break ga;default:break ha}}d=j-265|0;if(d>>>0>9){break aa}d=1<>3];break ca}if(!g){N[147456]=0;N[147457]=0;h=1;L[f+24|0]=1;N[c+16>>2]=0;break ca}r=S[(g<<3)+q>>3];ia:{if(V(r)<2147483648){d=~~r;break ia}d=-2147483648}if((d|0)<0){h=1;L[f+24|0]=1;d=0}N[c+16>>2]=d;break ca}ja:{if(O[f+4140|0]){d=N[f+4136>>2];break ja}ka:{if(!g){N[147456]=0;N[147457]=0;L[f+24|0]=1;h=1;break ka}r=S[(g<<3)+q>>3];la:{if(V(r)<2147483648){d=~~r;break la}d=-2147483648}h=0;if((d|0)>=0){break ka}L[f+24|0]=1;d=0;h=1}N[f+4136>>2]=d}L[f+4140|0]=1;N[c+24>>2]=d;break ca}N[147456]=0;N[147457]=0;h=1;L[f+24|0]=1}N[f+28>>2]=0;d=h;g=0;break $}c=N[a+124>>2]+T(p,28)|0;b=N[c+16>>2];b=b?b+(i?o:275552)|0:275552;N[c+20>>2]=b;if((b|0)!=275552){if(!Jg(b,a)){break h}}p=p+1|0;if(p>>>0>2]){continue I}break g}Ke(j,f+8|0);e=N[f+12>>2];b=N[f+16>>2];g=N[f+28>>2];if(g){break _}k=0;g=0;d=O[f+24|0]}if(d&255|b>>>0>e>>>0){break _}ma:{na:{oa:{d=N[c+4>>2];if((d|0)>=0){m=N[c+8>>2];h=m+1|0;if(h>>>0<=d>>>0){l=N[c+12>>2];break na}while(1){d=((d>>>1|0)+d|0)+8|0;if(h>>>0>=d>>>0){continue}break}if(d>>>0<=178956970){l=$a(N[c+12>>2],T(d,24));if(l){break oa}}N[c+4>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=589824;break ma}N[c+4>>2]=d;N[c+12>>2]=l;m=N[c+8>>2];h=m+1|0}N[c+8>>2]=h;d=T(m,24)+l|0;S[d+16>>3]=k;L[d+8|0]=0;N[d>>2]=0}N[d+4>>2]=j;h=N[c>>2];N[d>>2]=h+N[f+8>>2];m=d;d=e-h|0;d=d>>>0<=e>>>0?d:0;h=b-h|0;L[m+8|0]=d>>>0>>0?d:h;N[c>>2]=b}if(b>>>0>e>>>0){break h}if(!O[f+24|0]){continue}break}break}break h}Ke(j,f+8|0);b=O[f+24|0];e=N[f+12>>2];d=N[f+16>>2];c=N[f+28>>2];if(c){break i}}c=0;if(b&255|d>>>0>e>>>0){break i}pa:{qa:{ra:{g=N[a+52>>2];if((g|0)>=0){b=N[a+56>>2];c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=g>>>0){break qa}while(1){g=((g>>>1|0)+g|0)+8|0;if(c>>>0>=g>>>0){continue}break}if(g>>>0<=357913941){b=$a(N[a+60>>2],T(g,12));if(b){break ra}}N[a+52>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;m=589824;break pa}N[a+52>>2]=g;N[a+60>>2]=b;b=N[a+56>>2]}if(b>>>0>>0){while(1){N[a+56>>2]=b+1;b=N[a+60>>2]+T(b,12)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+56>>2];if(c>>>0>b>>>0){continue}break}}N[a+56>>2]=c;m=(N[a+60>>2]+T(c,12)|0)-12|0}c=m;N[c+4>>2]=j;g=N[a+48>>2];N[c>>2]=g+N[f+8>>2];b=0;c=e-g|0;c=c>>>0<=e>>>0?c:0;g=d-g|0;L[m+8|0]=c>>>0>>0?c:g;N[a+48>>2]=d;c=0}if(d>>>0>e>>>0){break h}if(!(b&255)){continue}break}}Wp(a)}La=f+8288|0;return a}break c}break b}}ba(16656,14279,195,9642);B()}ba(23506,14099,260,16403);B()}function Dg(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,o=U(0),p=0,q=0,r=0,s=0,t=U(0),u=0,v=U(0),w=0,x=0;h=La-48|0;La=h;a:{e=(N[a+16>>2]<<1)+400|0;b:{c:{if((e|0)<=0){d=6;if(!e){break c}break b}d=N[a+100>>2];d=Qa[N[d+4>>2]](d,e)|0;if(!d){d=64;break b}C(d,0,e);i=d}N[i>>2]=a;d=N[a+16>>2];N[i+396>>2]=c;N[i+8>>2]=i+400;N[i+4>>2]=d;N[i+376>>2]=0;N[i+380>>2]=0;M[i+372>>1]=0;N[i+384>>2]=0;N[i+388>>2]=0;N[i+392>>2]=0;d:{e:{f:{g:{h:{i:{j:{k:{l:{c=N[a+104>>2];if(!N[c+20>>2]){d=275552;e=N[c+4>>2];m:{if((e|0)<=0){break m}f=N[c>>2];c=db(1,32);if(!c){break m}N[c+28>>2]=0;N[c+24>>2]=a;N[c+20>>2]=1;N[c+16>>2]=e;N[c+12>>2]=f;N[c>>2]=1;N[c+4>>2]=1;d=c}g=N[a+4>>2];L[h+44|0]=0;N[h+40>>2]=65536;N[h+20>>2]=0;c=N[d>>2];if(c){if((c|0)<=0){break a}N[d>>2]=c+2}L[h+28|0]=0;N[h+36>>2]=d;c=N[d+12>>2];N[h+8>>2]=c;e=N[d+16>>2];N[h+12>>2]=e+c;if((e|0)<0){break l}N[h+32>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[h+16>>2]=e;N[h+24>>2]=0;N[h+4>>2]=0;e=d;if(!c){break g}if(oj(c,h+4|0)){break k}n:{if(O[h+28|0]|!N[h+32>>2]){break n}if(!zb(d)){break n}while(1){L[h+28|0]=1;e=N[h+36>>2];c=N[e+12>>2];N[h+8>>2]=c;f=N[e+16>>2];N[h+12>>2]=f+c;if((f|0)<0){break l}N[h+32>>2]=0;if(f>>>0>67108863){p=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;p=f>>>0>=1073741823?1073741823:f}N[h+16>>2]=p;N[h+24>>2]=0;N[h+4>>2]=0;if(!c){break g}if(oj(c,h+4|0)){break k}if(O[h+28|0]|!N[h+32>>2]){break n}c=zb(d);N[h+8>>2]=c;N[h+12>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[h+36>>2]);N[h+36>>2]=0;break j}c=db(1,212);if(!c){c=588540;break d}N[c+32>>2]=-1;N[c+20>>2]=0;N[c+16>>2]=a;N[c+12>>2]=312;N[c>>2]=1;N[c+4>>2]=1;N[c+48>>2]=c;N[c+36>>2]=c;break d}ba(16656,14279,195,9642);B()}if(!N[h+32>>2]){break i}N[h+32>>2]=0;c=oj(c,h+4|0);e=N[h+32>>2];ab(N[h+36>>2]);N[h+36>>2]=0;if(e){break j}if(c){break h}}ab(d);c=275552;break e}ab(N[h+36>>2])}c=d;if(!N[d+4>>2]){break e}N[d+4>>2]=0;break f}ab(e)}c=d}e=c;f=db(1,8);if(!f){ab(e);c=588540;ab(d);break d}M[f+4>>1]=g;N[f>>2]=e;c=db(1,212);o:{if(!c){ab(e);_a(f);c=588540;break o}N[c+32>>2]=-1;N[c+20>>2]=313;N[c+16>>2]=f;N[c+12>>2]=314;N[c>>2]=1;N[c+4>>2]=1;N[c+48>>2]=c;N[c+36>>2]=c}N[c+24>>2]=g;ab(d)}if(N[c+4>>2]){N[c+24>>2]=N[a+4>>2];N[c+28>>2]=P[a+68>>1]}d=Lp(c);nj(c);c=N[a+92>>2];if(c){c=N[c+4>>2]==1937337698}else{c=0}e=db(1,1044);p:{if(!e){break p}L[e+5|0]=0;L[e+4|0]=c;N[e+12>>2]=a;N[e>>2]=2;C(e+16|0,255,1028);a=N[147568];q:{if(a){break q}while(1){c=588448;a=db(1,92);if(a){N[a>>2]=1;N[a+4>>2]=1;F(a+20|0,588468,72);c=a}r:{if(!N[c+4>>2]){break r}a=N[c+16>>2];s:{if(!a){break s}f=N[a+8>>2];if(!f){break s}a=N[c+12>>2];if(a){a=N[a+8>>2]}else{a=0}Qa[f|0](a)}N[c+28>>2]=315;a=N[c+12>>2];if(a){N[a+8>>2]=0}a=N[c+16>>2];if(a){N[a+8>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];t:{if(!a){break t}f=N[a+12>>2];if(!f){break t}a=N[c+12>>2];if(a){a=N[a+12>>2]}else{a=0}Qa[f|0](a)}N[c+32>>2]=316;a=N[c+12>>2];if(a){N[a+12>>2]=0}a=N[c+16>>2];if(a){N[a+12>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];u:{if(!a){break u}f=N[a+16>>2];if(!f){break u}a=N[c+12>>2];if(a){a=N[a+16>>2]}else{a=0}Qa[f|0](a)}N[c+36>>2]=317;a=N[c+12>>2];if(a){N[a+16>>2]=0}a=N[c+16>>2];if(a){N[a+16>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];v:{if(!a){break v}f=N[a>>2];if(!f){break v}a=N[c+12>>2];if(a){a=N[a>>2]}else{a=0}Qa[f|0](a)}N[c+20>>2]=318;a=N[c+12>>2];if(a){N[a>>2]=0}a=N[c+16>>2];if(a){N[a>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];w:{if(!a){break w}f=N[a+28>>2];if(!f){break w}a=N[c+12>>2];if(a){a=N[a+28>>2]}else{a=0}Qa[f|0](a)}N[c+48>>2]=319;a=N[c+12>>2];if(a){N[a+28>>2]=0}a=N[c+16>>2];if(a){N[a+28>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];x:{if(!a){break x}f=N[a+24>>2];if(!f){break x}a=N[c+12>>2];if(a){a=N[a+24>>2]}else{a=0}Qa[f|0](a)}N[c+44>>2]=320;a=N[c+12>>2];if(a){N[a+24>>2]=0}a=N[c+16>>2];if(a){N[a+24>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];y:{if(!a){break y}f=N[a+40>>2];if(!f){break y}a=N[c+12>>2];if(a){a=N[a+40>>2]}else{a=0}Qa[f|0](a)}N[c+60>>2]=321;a=N[c+12>>2];if(a){N[a+40>>2]=0}a=N[c+16>>2];if(a){N[a+40>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];z:{if(!a){break z}f=N[a+44>>2];if(!f){break z}a=N[c+12>>2];if(a){a=N[a+44>>2]}else{a=0}Qa[f|0](a)}N[c- -64>>2]=322;a=N[c+12>>2];if(a){N[a+44>>2]=0}a=N[c+16>>2];if(a){N[a+44>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];A:{if(!a){break A}f=N[a+52>>2];if(!f){break A}a=N[c+12>>2];if(a){a=N[a+52>>2]}else{a=0}Qa[f|0](a)}N[c+72>>2]=323;a=N[c+12>>2];if(a){N[a+52>>2]=0}a=N[c+16>>2];if(a){N[a+52>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];B:{if(!a){break B}f=N[a+56>>2];if(!f){break B}a=N[c+12>>2];if(a){a=N[a+56>>2]}else{a=0}Qa[f|0](a)}N[c+76>>2]=324;a=N[c+12>>2];if(a){N[a+56>>2]=0}a=N[c+16>>2];if(a){N[a+56>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];C:{if(!a){break C}f=N[a+60>>2];if(!f){break C}a=N[c+12>>2];if(a){a=N[a+60>>2]}else{a=0}Qa[f|0](a)}N[c+80>>2]=325;a=N[c+12>>2];if(a){N[a+60>>2]=0}a=N[c+16>>2];if(a){N[a+60>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];D:{if(!a){break D}f=N[a+64>>2];if(!f){break D}a=N[c+12>>2];if(a){a=N[a+64>>2]}else{a=0}Qa[f|0](a)}N[c+84>>2]=326;a=N[c+12>>2];if(a){N[a+64>>2]=0}a=N[c+16>>2];if(a){N[a+64>>2]=0}if(!N[c+4>>2]){break r}a=N[c+16>>2];E:{if(!a){break E}f=N[a+68>>2];if(!f){break E}a=N[c+12>>2];if(a){a=N[a+68>>2]}else{a=0}Qa[f|0](a)}N[c+88>>2]=327;a=N[c+12>>2];if(a){N[a+68>>2]=0}a=N[c+16>>2];if(a){N[a+68>>2]=0}if(!N[c+4>>2]){break r}N[c+4>>2]=0}a=N[147568];if(!a){N[147568]=c;a=c;break q}if((c|0)==588448){break q}oc(c);a=N[147568];if(!a){continue}break}}if(!N[d+4>>2]){Ip(e);break p}N[d+12>>2]=N[d+12>>2]+1;c=N[d+104>>2];if(c){Qa[c|0](N[d+100>>2])}a=a?a:588448;c=N[a>>2];if(c){if((c|0)<=0){break a}N[a>>2]=c+1}oc(N[d+96>>2]);N[d+104>>2]=328;N[d+100>>2]=e;N[d+96>>2]=a}if(N[d+104>>2]==328){u=N[d+100>>2];f=N[u+12>>2];F:{if(!N[d+4>>2]){break F}a=P[f+68>>1];e=N[f+88>>2];c=N[e+20>>2];g=UE(a,0,c,c>>31);c=Pa;g=g+32768|0;c=((g>>>0<32768?c+1|0:c)&65535)<<16|g>>>16;p=a;a=N[e+16>>2];e=UE(p,0,a,a>>31);a=Pa;e=e+32768|0;a=((e>>>0<32768?a+1|0:a)&65535)<<16|e>>>16;if((a|0)==N[d+28>>2]&(c|0)==N[d+32>>2]){break F}N[d+32>>2]=c;N[d+28>>2]=a;N[d+12>>2]=N[d+12>>2]+1;Ie(d)}N[h+4>>2]=0;G:{if(!(L[f+9|0]&1)){break G}H:{I:{e=N[f+128>>2];c=N[e+32>>2];switch(c+2|0){case 2:break I;case 0:break G;default:break H}}a=N[f+96>>2];c=N[N[a>>2]+32>>2];J:{if(!c){c=0;break J}c=Qa[c|0](a,10423)|0;e=N[f+128>>2]}N[e+32>>2]=c?c:-2}if(!c){break G}a=N[c+16>>2];if(!a){break G}if(Qa[a|0](f,h+4|0)|0){break G}a=N[N[h+4>>2]>>2];j=db(a,4);n=db(a,4);K:{if(!j|!n|!(L[f+9|0]&1)){break K}L:{M:{c=N[f+128>>2];g=N[c+32>>2];switch(g+2|0){case 2:break M;case 0:break K;default:break L}}e=N[f+96>>2];g=N[N[e>>2]+32>>2];N:{if(!g){g=0;break N}g=Qa[g|0](e,10423)|0;c=N[f+128>>2]}N[c+32>>2]=g?g:-2}if(!g){break K}c=N[g+12>>2];if(!c){break K}if(Qa[c|0](f,a,j)|0){break K}O:{P:{e=N[N[h+4>>2]>>2];Q:{if(!e){break Q}c=0;a=0;R:{if((e|0)!=1){q=e&1;m=e&-2;while(1){g=a<<2;r=g+j|0;s=N[r>>2];l=s>>2;N[r>>2]=l;N[g+n>>2]=l;l=g|4;r=l+j|0;p=N[r>>2];g=p>>2;N[r>>2]=g;N[l+n>>2]=g;c=s>>>0>3|c|p>>>0>3;a=a+2|0;k=k+2|0;if((m|0)!=(k|0)){continue}break}if(!q){break R}}g=a<<2;k=g+j|0;l=N[k>>2];a=l>>2;N[k>>2]=a;N[g+n>>2]=a;if(c&1){break P}if(l>>>0<=3){break Q}break P}if(c&1){break P}}if(!N[d+4>>2]){break K}a=N[d+12>>2]+1|0;N[d+16>>2]=a;N[d+12>>2]=a;Ig(N[d+24>>2]+124|0);_a(N[d+88>>2]);_a(N[d+92>>2]);N[d+92>>2]=0;N[d+84>>2]=0;N[d+88>>2]=0;break O}if(!N[d+4>>2]){break K}a=N[d+12>>2]+1|0;N[d+16>>2]=a;N[d+12>>2]=a;l=db(e,4);k=db(e,4);q=db(e,4);if(q?!l|!k:1){_a(l);_a(k);_a(q);break K}a=e<<2;if(a){F(l,n,a);F(k,n,a)}a=Ig(N[d+24>>2]+124|0);c=O[a+6|0]|O[a+7|0]<<8;c=(c<<8|c>>>8)&65535;m=c>>>0>>0?c:e;S:{if(!m){a=0;break S}g=a+8|0;a=0;c=0;while(1){r=k+(c<<2)|0;w=r,x=Jp(g,N[r>>2],1,0),N[w>>2]=x;p=g;g=O[g|0]|O[g+1|0]<<8;g=(p+(((g<<8|g>>>8)&65535)<<2)|0)+2|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}}while(1){c=tf(N[d+24>>2]+120|0);m=a<<2;g=N[k+m>>2];p=m+q|0;m=O[c+4|0]|O[c+5|0]<<8;if(m){s=c+((m<<8|m>>>8)&65535)|0}else{s=275552}c=O[c+8|0]|O[c+9|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=a>>>0?275552:s+T(a,20)|0;m=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);o=U(U(m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))*U(152587890625e-16));T:{if(!g){break T}v=U(g|0);if((g|0)<0){c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);t=U(U(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))*U(152587890625e-16));o=U(o+U(U(U(o-(o<=t?o:t))*v)*U(6103515625e-14)));break T}c=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);t=U(U(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))*U(152587890625e-16));o=U(o+U(U(U((o>=t?o:t)-o)*v)*U(6103515625e-14)))}R[p>>2]=o;a=a+1|0;if((e|0)!=(a|0)){continue}break}a=N[d+88>>2];_a(k);_a(a);_a(N[d+92>>2]);N[d+92>>2]=q;N[d+88>>2]=l;N[d+84>>2]=e}Ie(d)}_a(n);_a(j);a=N[N[f+84>>2]>>2];if(!a){break G}c=N[h+4>>2];if(!c){break G}a=N[a>>2];Qa[N[a+8>>2]](a,c)}C(u+20|0,255,1024);N[u+16>>2]=N[d+12>>2]}N[i+12>>2]=d;c=db(1,172);U:{if(!c){c=588184;break U}N[c+148>>2]=1073741823;N[c+152>>2]=536870911;N[c>>2]=1;N[c+4>>2]=1;a=Ic();V:{if(!a){break V}d=N[a>>2];if(!d){break V}if((d|0)<=0){break a}N[a>>2]=d+1}L[c+60|0]=1;N[c+24>>2]=65533;N[c+12>>2]=a}N[i+16>>2]=c;f=N[i+8>>2];e=N[i>>2];n=N[e+92>>2];g=N[i+4>>2];W:{if(g){c=0;d=0;if(g>>>0>=8){j=g&-8;while(1){a=d<<1;M[a+f>>1]=16383;M[f+(a|2)>>1]=16383;M[f+(a|4)>>1]=16383;M[f+(a|6)>>1]=16383;M[f+(a|8)>>1]=16383;M[f+(a|10)>>1]=16383;M[f+(a|12)>>1]=16383;M[f+(a|14)>>1]=16383;d=d+8|0;if((j|0)!=(d|0)){continue}break}}a=g&7;if(a){while(1){M[f+(d<<1)>>1]=16383;d=d+1|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}if(!e){break W}}g=N[e+40>>2];if(!g){break W}a=g+(N[e+36>>2]<<2)|0;c=a-4|0;X:{if(g>>>0<=c>>>0){while(1){d=N[c>>2];Y:{if(N[d+4>>2]!=1970170211){break Y}Z:{switch(P[d+8>>1]){case 3:if(P[d+10>>1]!=10){break Y}break X;case 0:break Z;default:break Y}}if(P[d+10>>1]==4){break X}}c=c-4|0;if(g>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(g>>>0>a>>>0){break W}d=N[a>>2];if(N[d+4>>2]!=1970170211){continue}break}}N[e+92>>2]=d;k=-1;d=286856;g=0;while(1){c=N[d+8>>2];l=N[(c<<2)+288704>>2];a=N[l+4>>2];_:{if(!a){break _}if(N[d+16>>2]==10){q=(c|0)==N[N[i+396>>2]+16>>2];c=N[a>>2];if(c){while(1){d=a;$:{if(!e){break $}a=N[e+92>>2];if(!a){break $}a=Qa[N[N[a+12>>2]+12>>2]](a,c)|0;if(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2]){break $}a=f+(a<<1)|0;if((P[a>>1]&16383)!=16383){break $}M[a>>1]=g}while(1){aa:{if(!e){break aa}j=N[e+92>>2];if(!j|!N[e+16>>2]){break aa}N[h+4>>2]=c;while(1){a=Qa[N[N[j+12>>2]+16>>2]](j,h+4|0)|0;if(a>>>0>=Q[e+16>>2]){continue}break}if(!a){break aa}c=a?N[h+4>>2]:0;if(c>>>0>Q[d+4>>2]){break aa}if(a>>>0>=Q[i+4>>2]){continue}a=f+(a<<1)|0;if((P[a>>1]&16383)!=16383){continue}M[a>>1]=g;continue}break}a=d+8|0;c=N[d+8>>2];if(c){continue}break}}k=q?g:k;a=N[l+8>>2];c=N[a>>2];if(!c){break _}while(1){d=a;ba:{if(!e){break ba}a=N[e+92>>2];if(!a){break ba}a=Qa[N[N[a+12>>2]+12>>2]](a,c)|0;if(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2]){break ba}a=f+(a<<1)|0;j=P[a>>1];if((j&16383)!=(g&65535)){break ba}M[a>>1]=j|16384}while(1){ca:{if(!e){break ca}j=N[e+92>>2];if(!j|!N[e+16>>2]){break ca}N[h+4>>2]=c;while(1){a=Qa[N[N[j+12>>2]+16>>2]](j,h+4|0)|0;if(a>>>0>=Q[e+16>>2]){continue}break}if(!a){break ca}c=a?N[h+4>>2]:0;if(c>>>0>Q[d+4>>2]){break ca}if(a>>>0>=Q[i+4>>2]){continue}a=f+(a<<1)|0;j=P[a>>1];if((j&16383)!=(g&65535)){continue}M[a>>1]=j|16384;continue}break}a=d+8|0;c=N[d+8>>2];if(c){continue}break}break _}Vi(i,d,f,0)}g=g+1|0;d=N[(g<<2)+288960>>2];if((g|0)!=87){continue}break}a=0;d=286856;while(1){if(N[d+16>>2]==10){Vi(i,d,f,0)}a=a+1|0;d=N[(a<<2)+288960>>2];if((a|0)!=87){continue}break}Vi(i,N[(k<<2)+288960>>2],f,1);if(!e){break W}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,48)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,49)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,50)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,51)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,52)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,53)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,54)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,55)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,56)|0;if(!(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2])){a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}a=N[e+92>>2];if(!a){break W}a=Qa[N[N[a+12>>2]+12>>2]](a,57)|0;if(!a|a>>>0>=Q[e+16>>2]|a>>>0>=Q[i+4>>2]){break W}a=f+(a<<1)|0;M[a>>1]=P[a>>1]|32768}c=N[N[i+396>>2]+12>>2];da:{if((c|0)==16383){break da}d=N[i+4>>2];if((d|0)<=0){break da}a=0;if((d|0)!=1){g=d&1;d=d&-2;while(1){j=a<<1;k=j+f|0;l=P[k>>1];if((l&16383)==16383){M[k>>1]=c|l&49152}j=f+(j|2)|0;k=P[j>>1];if((k&16383)==16383){M[j>>1]=c|k&49152}a=a+2|0;if((d|0)!=(a|0)){continue}break}if(!g){break da}}a=f+(a<<1)|0;d=P[a>>1];if((d&16383)!=16383){break da}M[a>>1]=c|d&49152}ea:{if(!e|!n){break ea}a=N[e+40>>2];if(!a){break ea}c=N[e+36>>2];if((c|0)<=0){break ea}c=(c<<2)+a|0;while(1){fa:{if((n|0)!=N[a>>2]){break fa}d=N[n>>2];ga:{if(!d){break ga}d=N[d+96>>2];f=N[N[d>>2]+32>>2];if(!f){break ga}d=Qa[f|0](d,10557)|0;if(!d){break ga}if(Qa[N[d>>2]](n,h+4|0)|0){break ga}if(N[h+8>>2]==14){break fa}}N[e+92>>2]=N[a>>2];break ea}a=a+4|0;if(c>>>0>a>>>0){continue}break}}d=0;N[i+20>>2]=0}N[b>>2]=i;La=h+48|0;return d}ba(23506,14099,260,16403);B()}function gm(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,o=0,p=0,q=0,r=0,s=0,t=0;h=La-32|0;La=h;o=N[b+100>>2];e=N[a+20>>2];a:{b:{if(e){if(Qa[e|0](a,0,0,0)|0){break b}}N[a+8>>2]=0;if(rb(a,43232,b+184|0)|N[b+184>>2]!=1885562369){break b}d=N[b+188>>2];if(!d){break b}e=N[a+4>>2];if(e>>>0<16){break b}c:{g=e>>>4|0;if(d>>>0<=9&g>>>0>=d>>>0){break c}d=e>>>0>=144?9:g;N[b+188>>2]=d;if(d>>>0<134217728){break c}N[b+192>>2]=0;break b}g=d<<4;e=Qa[N[o+4>>2]](o,g)|0;d:{if(!(!e|(d|0)<=0)){C(e,0,g);N[b+192>>2]=e;break d}N[b+192>>2]=e;if(!e){break b}}e:{f:{g:{h:{if(!N[b+188>>2]){break h}d=0;while(1){i=rb(a,43248,e);if(i){break e}e=e+16|0;d=d+1|0;i=N[b+188>>2];if(d>>>0>>0){continue}break}e=N[b+192>>2];if((i|0)!=1){break h}f=N[a+4>>2];k=e;break g}i:{while(1){d=f+1|0;if((d|0)==(i|0)){g=i-1|0;f=N[a+4>>2];e=N[b+192>>2];break i}p=f^-1;j=N[e+12>>2];k=0;f=0;while(1){g=(f<<4)+e|0;f=f+1|0;m=(f<<4)+e|0;i=N[m+12>>2];if(j>>>0>i>>>0){i=N[g+12>>2];N[h+16>>2]=N[g+8>>2];N[h+20>>2]=i;i=N[g+4>>2];N[h+8>>2]=N[g>>2];N[h+12>>2]=i;i=N[m+12>>2];N[g+8>>2]=N[m+8>>2];N[g+12>>2]=i;i=N[m+4>>2];N[g>>2]=N[m>>2];N[g+4>>2]=i;i=N[h+20>>2];N[m+8>>2]=N[h+16>>2];N[m+12>>2]=i;i=N[h+12>>2];N[m>>2]=N[h+8>>2];N[m+4>>2]=i;k=1;i=N[m+12>>2]}j=N[g+8>>2];if(j>>>0>i>>>0|Q[g+12>>2]>i-j>>>0){break f}j=i;i=N[b+188>>2];if(p+i>>>0>f>>>0){continue}break}g=i-1|0;if(k){f=d;if(d>>>0>>0){continue}}break}f=N[a+4>>2];e=N[b+192>>2];k=e;if(!g){break g}}k=((i<<4)+e|0)-16|0;d=e;while(1){i=8;j=N[d+8>>2];if(j>>>0>f>>>0|Q[d+12>>2]>f-j>>>0){break e}d=d+16|0;l=l+1|0;if((l|0)!=(g|0)){continue}break}}i=8;d=N[k+12>>2];if(d>>>0>f>>>0){break e}d=f-d|0;if(d>>>0>2]){N[k+8>>2]=d}N[b>>2]=1;N[b+4>>2]=0;d=0;if((c|0)<0){break a}c=N[b+188>>2];if(!c){break b}f=N[b+100>>2];j:{k:{l:{m:{n:{o:{while(1){p:{if(N[(d<<4)+e>>2]==1){c=N[((d<<4)+e|0)+12>>2];g=N[a+8>>2];if(c>>>0>>0){break b}if(Xc(a,c-g|0)){break b}g=N[((d<<4)+e|0)+8>>2];N[h+8>>2]=0;c=Wc(a,h+8|0);d=N[h+8>>2];if(d|c>>>0>255){break j}k=c&4;q:{if(k){c=Nb(a,h+8|0);break q}c=Wc(a,h+8|0)}if(N[h+8>>2]|c>>>0>(g>>>0)/9>>>0){break b}i=c>>>0>=256?256:c;N[b+280>>2]=i;l=0;j=lb(f,12,0,i,0,h+8|0);d=N[h+8>>2];if(d){break m}r:{if(!i){break r}e=0;if(!k){while(1){d=rb(a,43312,j+T(e,12)|0);if(d){break n}e=e+1|0;if((i|0)!=(e|0)){continue}break r}}while(1){d=rb(a,43280,j+T(e,12)|0);if(d){break n}e=e+1|0;if((i|0)!=(e|0)){continue}break}}e=Xc(a,T(c-i|0,9));N[h+8>>2]=e;if(e){break o}e=c&3;if(e){e=Xc(a,4-e|0);N[h+8>>2]=e;if(e){break o}}s:{if(k){e=Nb(a,h+8|0);break s}e=Wc(a,h+8|0)}d=N[h+8>>2];if(d){break m}d=8;if(e>>>0>g+T(c,-9)>>>0){break m}c=e>>>0>=16777472?16777472:e;l=Qa[N[f+4>>2]](f,c+1|0)|0;if(!l){d=!l<<6;l=0;break m}d=Zb(a,l,c);N[h+8>>2]=d;if(d){break m}g=0;L[c+l|0]=0;m=lb(f,12,0,i,0,h+8|0);d=N[h+8>>2];if(d){break m}N[b+284>>2]=m;if(i){while(1){k=T(g,12);e=k+j|0;d=N[e>>2];if((d|0)<0|c>>>0>>0){break p}k=k+m|0;s=k,t=Nc(f,d+l|0,h+8|0),N[s>>2]=t;d=N[h+8>>2];if(d){break l}d=O[e+4|0];L[k+4|0]=d;e=N[e+8>>2];t:{if(d){if((e|0)<0|c>>>0>>0){break p}s=k,t=Nc(f,e+l|0,h+8|0),N[s+8>>2]=t;d=N[h+8>>2];if(!d){break t}break l}N[k+8>>2]=e}g=g+1|0;if((i|0)!=(g|0)){continue}break}}d=0;N[h+8>>2]=0;break m}d=d+1|0;if((c|0)!=(d|0)){continue}break b}break}d=9;N[h+8>>2]=9;break l}d=83}N[h+8>>2]=d}if(!j){break k}}Qa[N[f+8>>2]](f,j)}if(!l){break j}Qa[N[f+8>>2]](f,l)}if(d){break b}u:{v:{e=N[b+188>>2];if(!e){break v}c=N[b+192>>2];d=0;while(1){if(N[(d<<4)+c>>2]!=256){d=d+1|0;if((e|0)!=(d|0)){continue}break v}break}d=0;break u}c=fm(a,b,2);N[h+4>>2]=c;if(c){break b}e=N[b+188>>2];c=N[b+192>>2];d=1}if(!e){break b}k=d;f=N[b+100>>2];d=0;w:{x:{while(1){y:{if(N[(d<<4)+c>>2]==4){e=N[((d<<4)+c|0)+12>>2];g=N[a+8>>2];if(e>>>0>>0){break b}if(Xc(a,e-g|0)){break b}e=N[((d<<4)+c|0)+8>>2];N[h+28>>2]=0;d=Wc(a,h+28|0);if(N[h+28>>2]|((d|256)&-256)!=256){break b}i=d&4;z:{if(d>>>0<=255){if(i){c=Nb(a,h+28|0);break z}c=Wc(a,h+28|0);break z}if(i){c=xb(a,h+28|0);break z}c=ln(a,h+28|0)}if(N[h+28>>2]){break b}g=c-1|0;A:{if(d>>>0<=255){if(g>>>0<(e>>>0)/12>>>0){break A}break b}if(g>>>0>=(e>>>0)/5>>>0){break b}}c=(c>>>0>=65534?65534:c)+1|0;N[b+288>>2]=c;e=lb(f,16,0,c,0,h+28|0);N[b+292>>2]=e;if(N[h+28>>2]){break b}B:{if(Q[b+288>>2]<2){break B}g=e+16|0;j=1;if(d>>>0<=255){i=i?43472:43504;while(1){d=g;c=rb(a,i,d);N[e+28>>2]=0;if(c){break x}if(!(M[e+18>>1]>=M[d>>1]&M[e+22>>1]>=(0-M[e+24>>1]|0))){M[e+20>>1]=0;M[d>>1]=0;M[e+22>>1]=0;M[e+24>>1]=0;M[e+18>>1]=0}g=d+16|0;e=d;j=j+1|0;if(j>>>0>2]){continue}break}break B}while(1){c=rb(a,43536,h+8|0);if(c){break y}c=g;g=O[h+8|0];M[c>>1]=g-128;i=O[h+9|0];M[e+18>>1]=i-128;M[e+20>>1]=O[h+10|0]-128;l=O[h+11|0]-128|0;M[e+22>>1]=l;d=O[h+12|0];M[e+26>>1]=0;M[e+24>>1]=d-128;N[e+28>>2]=0;if(!(g>>>0<=i>>>0&(l|0)>=(128-d|0))){M[e+20>>1]=0;M[c>>1]=0;M[e+22>>1]=0;M[e+24>>1]=0;M[e+18>>1]=0}g=c+16|0;e=c;j=j+1|0;if(j>>>0>2]){continue}break}}d=0;N[h+4>>2]=0;e=N[b+188>>2];if(!e){break b}c=N[b+192>>2];break w}d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}N[e+28>>2]=0}a=N[b+292>>2];if(a){Qa[N[f+8>>2]](f,a)}N[b+292>>2]=0;N[h+4>>2]=c;break b}while(1){if(N[c+(d<<4)>>2]!=8){d=d+1|0;if((e|0)!=(d|0)){continue}break b}break}e=N[(c+(d<<4)|0)+12>>2];g=N[a+8>>2];if(e>>>0>>0){break b}if(Xc(a,e-g|0)){break b}e=N[(c+(d<<4)|0)+8>>2];c=Bb(a,8);N[h+8>>2]=c;if(c){break b}f=0;C:{D:{g=N[a+36>>2];d=N[a+32>>2];if(g>>>0<=d+3>>>0){j=0;break D}j=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=d+4|0;N[a+32>>2]=c;if(!(j&4)){d=c;break D}l=0;if(g>>>0<=d+7>>>0){break C}c=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=d+8|0;break C}l=1;if(g>>>0<=d+3>>>0){c=d;break C}c=d+4|0;f=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24)}N[a+32>>2]=c;if(N[a+20>>2]){c=N[a>>2];if(c){d=N[a+28>>2];Qa[N[d+8>>2]](d,c)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;if(j>>>0>255){break b}c=f>>>0>=65534?65534:f;if((c|0)!=(N[b+288>>2]-1|0)){break b}E:{if(!c){break E}g=(N[a+8>>2]+(c<<2)|0)+16|0;d=1;if(l){while(1){f=Wc(a,h+8|0);N[(N[b+292>>2]+(d<<4)|0)+12>>2]=g+(e>>>0>=f>>>0?f:0);f=(c|0)==(d|0);d=d+1|0;if(!f){continue}break E}}while(1){f=Nb(a,h+8|0);N[(N[b+292>>2]+(d<<4)|0)+12>>2]=g+(e>>>0>=f>>>0?f:0);f=(c|0)!=(d|0);d=d+1|0;if(f){continue}break}}if(N[h+8>>2]){break b}F:{if(!l){Nb(a,h+8|0);if(N[h+8>>2]){break b}Nb(a,h+8|0);if(N[h+8>>2]){break b}Nb(a,h+8|0);if(N[h+8>>2]){break b}Nb(a,h+8|0);if(!N[h+8>>2]){break F}break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}Wc(a,h+8|0);if(N[h+8>>2]){break b}}N[b+312>>2]=j;g=0;j=La-16|0;La=j;f=3;d=N[b+188>>2];G:{if(!d){break G}m=b+296|0;c=N[b+192>>2];e=N[b+100>>2];H:{while(1){I:{if(N[c+(g<<4)>>2]==32){f=83;g=N[(c+(g<<4)|0)+12>>2];c=N[a+8>>2];if(g>>>0>>0|(g-c|0)<0){break G}c=N[a+20>>2];if(!c){break I}if(Qa[c|0](a,g,0,0)|0){break G}c=N[a+4>>2];break H}g=g+1|0;if((d|0)!=(g|0)){continue}break G}break}c=N[a+4>>2];if(g>>>0>c>>>0){break G}}N[a+8>>2]=g;J:{if(g+3>>>0>=c>>>0){break J}K:{L:{M:{c=N[a+20>>2];N:{if(c){if((Qa[c|0](a,g,j+12|0,4)|0)!=4){break J}g=N[a+8>>2];c=j+12|0;break N}c=N[a>>2];if(!c){break M}c=c+g|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[a+8>>2]=g+4;f=3;if(c>>>0>=256){break G}if(!(c&4)){break L}f=rb(a,43568,m);N[j+8>>2]=f;if(f){break G}i=0;break K}N[a+8>>2]=g+4}f=rb(a,43600,m);N[j+8>>2]=f;if(f){break G}i=1}f=8;c=P[b+298>>1];g=P[b+296>>1];if(c>>>0>>0|c>>>0>255){break G}d=P[b+302>>1];l=P[b+300>>1];if(d>>>0>>0|d>>>0>255){break G}c=T((d-l|0)+1|0,(c-g|0)+1|0);s=b,t=lb(e,2,0,c,0,j+8|0),N[s+308>>2]=t;f=N[j+8>>2];if(f){break G}f=Bb(a,c<<1);N[j+8>>2]=f;if(!f){e=P[b+304>>1];c=e>>>8|0;g=P[b+300>>1];O:{P:{if(c>>>0>>0|P[b+302>>1]>>0){break P}d=P[m>>1];e=e&255;if(d>>>0>e>>>0){break P}l=P[b+298>>1];if(l>>>0>=e>>>0){break O}}d=P[b+296>>1];M[b+304>>1]=d+(g<<8);l=P[b+298>>1];c=g;e=d}f=1;n=e&65535;e=d&65535;c=N[a+32>>2]+((n-e|0)+T((l-e|0)+1|0,c-g|0)<<1)|0;c=O[c+i|0]<<8|O[c+!i|0];if((c|0)!=65535){c=c+1&65535;f=c>>>0>=Q[b+288>>2]?1:c}c=N[b+292>>2];e=(f<<4)+c|0;d=N[e+4>>2];N[c>>2]=N[e>>2];N[c+4>>2]=d;d=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=d;e=P[b+300>>1];c=P[b+302>>1];Q:{if(e>>>0>c>>>0){break Q}f=P[b+298>>1];if(f>>>0>1]){while(1){e=e+1|0;if(c>>>0>=(e&65535)>>>0){continue}break Q}}c=N[b+308>>2];while(1){d=P[m>>1];R:{if(d>>>0>(f&65535)>>>0){break R}g=N[a+32>>2];l=N[a+36>>2];if(i){while(1){S:{if(l>>>0<=g+1>>>0){N[a+32>>2]=g;f=1;break S}f=O[g|0]|O[g+1|0]<<8;g=g+2|0;N[a+32>>2]=g;f=f+1|0;f=(f|0)!=(f&65535)?-1:f}M[c>>1]=f;c=c+2|0;f=P[b+298>>1];d=d+1|0;if(f>>>0>=(d&65535)>>>0){continue}break R}}while(1){T:{if(l>>>0<=g+1>>>0){N[a+32>>2]=g;f=1;break T}f=O[g|0]|O[g+1|0]<<8;g=g+2|0;N[a+32>>2]=g;f=((f<<8|(f&65280)>>>8)&65535)+1|0;f=(f|0)!=(f&65535)?-1:f}M[c>>1]=f;c=c+2|0;f=P[b+298>>1];d=d+1|0;if(f>>>0>=(d&65535)>>>0){continue}break}}e=e+1|0;if(P[b+302>>1]>=(e&65535)>>>0){continue}break}}if(N[a+20>>2]){c=N[a>>2];if(c){e=N[a+28>>2];Qa[N[e+8>>2]](e,c)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;f=0;break G}c=N[b+308>>2];if(c){Qa[N[e+8>>2]](e,c)}N[b+308>>2]=0;break G}f=85}La=j+16|0;if(f){break b}if(!k){if(fm(a,b,256)){break b}}a=N[b+8>>2];N[b+8>>2]=a|18;if(O[b+199|0]){N[b+8>>2]=a|22}a=0;c=0;j=0;k=0;l=0;p=0;N[b+12>>2]=0;i=1;n=N[b+100>>2];U:{V:{W:{X:{f=N[b+280>>2];if((f|0)<=0){f=8;j=7;e=12199;m=1;g=0;q=1;break X}g=N[b+284>>2];while(1){Y:{e=a;i=cb(N[g+T(a,12)>>2],19332);a=a+1|0;if((f|0)<=(a|0)){break Y}if(i){continue}}break}d=2;Z:{if(i){i=0;break Z}if(!O[(g+T(e,12)|0)+4|0]){i=0;break Z}i=0;_:{a=(g+T(a,12)|0)-4|0;switch(O[N[a>>2]]-73|0){case 0:case 6:case 32:case 38:break _;default:break Z}}N[b+12>>2]=1;i=(O[N[a>>2]]&223)==79?15457:17754;d=3}while(1){$:{e=c;k=cb(N[g+T(c,12)>>2],20260);c=c+1|0;if((f|0)<=(c|0)){break $}if(k){continue}}break}a=0;m=1;l=0;aa:{if(k){break aa}l=0;if(!O[(g+T(e,12)|0)+4|0]){break aa}l=0;if((O[N[(g+T(c,12)|0)-4>>2]]|32)!=98){break aa}N[b+12>>2]=d;m=0;l=16733}while(1){ba:{d=a;k=cb(N[g+T(d,12)>>2],20282);a=d+1|0;if((f|0)<=(a|0)){break ba}if(k){continue}}break}c=0;e=0;ca:{if(k){break ca}e=0;if(!O[(g+T(d,12)|0)+4|0]){break ca}a=N[(g+T(a,12)|0)-4>>2];d=O[a|0];e=0;if(!d){break ca}e=0;if((d|0)==78){break ca}e=0;if((d|0)==110){break ca}e=a}d=e;while(1){da:{a=c;k=cb(N[g+T(a,12)>>2],20296);c=a+1|0;if((f|0)<=(c|0)){break da}if(k){continue}}break}e=0;f=0;ea:{if(k){break ea}fa:{if(!O[(g+T(a,12)|0)+4|0]){break fa}a=N[(g+T(c,12)|0)-4>>2];c=O[a|0];if(!c|(c|0)==78){break fa}f=0;if((c|0)==110){break ea}e=a;j=nb(a);f=j+1|0;break ea}f=0}ga:{if(m){l=0;break ga}p=nb(l);f=(p+f|0)+1|0}g=0;ha:{if(!i){a=0;c=0;break ha}a=nb(i);f=(f+a|0)+1|0;c=i}r=c;ia:{if(!d){k=0;break ia}k=nb(d);f=(k+f|0)+1|0;g=d}q=!i;i=!d;if(!f){f=8;j=7;e=12199;break X}if((f|0)>0){break X}a=6;break W}d=Qa[N[n+4>>2]](n,f)|0;if(d){break V}a=64}N[b+24>>2]=0;break U}N[b+24>>2]=d;if(e){F(d,e,j);ja:{if(!j){break ja}c=0;f=0;if(j>>>0>=4){e=j&-4;while(1){n=d+f|0;if(O[n|0]==32){L[n|0]=45}n=(f|1)+d|0;if(O[n|0]==32){L[n|0]=45}n=(f|2)+d|0;if(O[n|0]==32){L[n|0]=45}n=(f|3)+d|0;if(O[n|0]==32){L[n|0]=45}f=f+4|0;if((e|0)!=(f|0)){continue}break}}e=j&3;if(!e){break ja}while(1){n=d+f|0;if(O[n|0]==32){L[n|0]=45}f=f+1|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}d=d+j|0}if(!m){if(N[b+24>>2]!=(d|0)){L[d|0]=32;d=d+1|0}F(d,l,p);d=d+p|0}if(!q){if(N[b+24>>2]!=(d|0)){L[d|0]=32;d=d+1|0}F(d,r,a);d=a+d|0}if(!i){if(N[b+24>>2]!=(d|0)){L[d|0]=32;d=d+1|0}F(d,g,k);ka:{if(!k){break ka}a=0;f=0;if(k>>>0>=4){c=k&-4;while(1){e=d+f|0;if(O[e|0]==32){L[e|0]=45}e=(f|1)+d|0;if(O[e|0]==32){L[e|0]=45}e=(f|2)+d|0;if(O[e|0]==32){L[e|0]=45}e=(f|3)+d|0;if(O[e|0]==32){L[e|0]=45}f=f+4|0;if((c|0)!=(f|0)){continue}break}}c=k&3;if(!c){break ka}while(1){e=d+f|0;if(O[e|0]==32){L[e|0]=45}f=f+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=d+k|0}L[d|0]=0;a=0}N[h+4>>2]=a;if(a){break b}a=yd(N[b+280>>2],N[b+284>>2],20231);la:{if(!(!a|!O[a+4|0])){s=b,t=Nc(o,N[a+8>>2],h+4|0),N[s+20>>2]=t;if(!N[h+4>>2]){break la}break b}N[b+20>>2]=0}N[b+28>>2]=1;N[b+16>>2]=N[b+288>>2];a=Qa[N[o+4>>2]](o,16)|0;if(a){L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[h+4>>2]=0;N[b+32>>2]=a;i=32767;c=N[b+208>>2]+N[b+204>>2]|0;e=c>>31;c=(c^e)-e>>>0>32767?32767:c&32768?0-c|0:c;M[a>>1]=c;e=N[b+280>>2];g=N[b+284>>2];d=yd(e,g,19895);ma:{if(d){c=N[d+8>>2];d=c>>31;if((c^d)-d>>>0>327665){break ma}c=(c+5|0)/10|0;i=c&32768?0-c|0:c;break ma}i=jb(c<<16>>16,2,3)}M[a+2>>1]=i;c=yd(e,g,20048);if(c){d=N[c+8>>2];c=d>>31;c=(c^d)-c|0;if(c>>>0<=328898){c=jb(c,460800,72270)}else{c=32767}N[a+4>>2]=c}c=yd(e,g,20082);if(c){c=N[c+8>>2];d=c>>31;if((c^d)-d>>>0<=32767){c=c<<16;d=c>>16;c=((c|0)<0?0-d|0:d)<<6}else{c=2097088}N[a+12>>2]=c}d=yd(e,g,18765);c=0;na:{if(!d){break na}d=N[d+8>>2];f=d>>31;c=32767;if((d^f)-f>>>0>32767){break na}c=d<<16;c=((c|0)<0?0-c|0:c)>>16}oa:{pa:{qa:{ra:{d=yd(e,g,18633);if(d){f=32767;d=N[d+8>>2];i=d>>31;if((d^i)-i>>>0>32767){break ra}f=d&32768?0-d|0:d;d=N[a+12>>2];if(d){break pa}d=N[a+4>>2];N[a+12>>2]=d;if(!(f&65535)){break oa}i=a+12|0;break qa}d=N[a+12>>2];if(d){break oa}d=N[a+4>>2];N[a+12>>2]=d;break oa}d=N[a+12>>2];if(d){break pa}d=N[a+4>>2];N[a+12>>2]=d;i=a+12|0}d=jb(d,f<<16>>16,72);N[i>>2]=d}if(!c|!(f&65535)){break oa}d=jb(d,c,f<<16>>16)}N[a+8>>2]=d;d=0;a=yd(e,g,18649);c=yd(e,g,19963);if(!a|!O[a+4|0]|(!c|!O[c+4|0])){break a}s=b,t=Nc(o,N[c+8>>2],h+4|0),N[s+176>>2]=t;if(N[h+4>>2]){break b}s=b,t=Nc(o,N[a+8>>2],h+4|0),N[s+180>>2]=t;if(!N[h+4>>2]){break a}break b}N[h+4>>2]=64;N[b+32>>2]=0;break b}i=9}a=N[b+192>>2];if(a){Qa[N[o+8>>2]](o,a)}N[b+192>>2]=0;N[h+4>>2]=i}d=3}La=h+32|0;return d}function Rq(a){a=a|0;var b=0,c=0,d=0,e=0;c=N[a+88>>2];a:{b:{c:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break b}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1937007464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d:{e:{f:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=270;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];e=a+24|0;j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break l}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];m:{n:{o:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break n}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break o}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break m}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Df(e,1769172844,N[a+8>>2]==1098015074?10:8);p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Df(e,1718185569,N[a+8>>2]==1098015074?10:8);s:{t:{u:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break t}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break u}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break s}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];v:{w:{x:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break w}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break x}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break v}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1718185522;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];y:{z:{A:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break z}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break A}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break y}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];B:{C:{D:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break C}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break D}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break B}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1718185523;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];E:{F:{G:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break F}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break G}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break E}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Df(e,1835361385,N[a+8>>2]==1098015074?10:8);H:{I:{J:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break I}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break J}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break H}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=8;N[b+4>>2]=c;N[b>>2]=1835361330;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];N:{O:{P:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break O}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break P}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break N}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;Df(e,1768843636,N[a+8>>2]==1098015074?10:8);b=N[a+100>>2];Q:{R:{S:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break R}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break S}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Q}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;T:{U:{V:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break U}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break V}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break T}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=271;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=11;N[b+4>>2]=c;N[b>>2]=1919707495;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];if(N[a+8>>2]==1098015074){Z:{_:{$:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break _}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break $}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Z}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=272;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1}c=N[a+88>>2];aa:{ba:{ca:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ba}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ca}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break aa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1667329140;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];da:{if(Gf(N[a+24>>2],1196643650,N[a+60>>2],N[a+68>>2],1919118452,0)){break da}if(Gf(N[a+24>>2],1196445523,N[a- -64>>2],N[a+72>>2],1919118452,0)){break da}ea:{fa:{ga:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break fa}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break ga}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break ea}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ha:{ia:{ja:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ja}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ha}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1919118452;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}c=N[a+88>>2];ka:{la:{ma:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break la}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ma}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ka}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];na:{oa:{pa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break pa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break na}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1668049255;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];qa:{ra:{sa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break sa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break qa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1836279156;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function sk(a,b){var 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;n=La-16|0;La=n;N[a+20>>2]=0;d=a+12|0;N[d>>2]=0;N[d+4>>2]=0;N[n+8>>2]=-1;N[n+12>>2]=0;N[n+4>>2]=d;N[n>>2]=0;d=O[b+4|0]|O[b+5|0]<<8;a:{if(!d){N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+24>>2]=-1;break a}c=O[b|0]|O[b+1|0]<<8;o=(c<<8|c>>>8)&65535;p=b+4|0;d=(d<<8|d>>>8)&65535;q=d>>>0<=1?1:d;while(1){d=O[p|0]|O[p+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=l>>>0?275552:((l<<1)+p|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+b|0}else{d=275552}c=o;h=0;g=La-32|0;La=g;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{while(1){m:{if((c|0)!=7){n:{switch(c-1|0){case 0:o:{p:{c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break o;case 0:break p;default:break b}}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=250;N[g+12>>2]=251;N[g+8>>2]=252;N[g+4>>2]=d;q:{r:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break q;case 0:break r;default:break c}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break c}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;s:{if((c|0)==256){e=0;c=d;break s}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break d}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break d}Ub(d,g+20|0);break c}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=253;N[g+12>>2]=254;N[g+8>>2]=255;N[g+4>>2]=d;t:{u:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break t;case 0:break u;default:break e}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break e}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;v:{if((c|0)==256){e=0;c=d;break v}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break f}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break f}Ub(d,g+20|0);break e;case 1:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=256;N[g+12>>2]=257;N[g+8>>2]=258;N[g+4>>2]=d;w:{x:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break w;case 0:break x;default:break g}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break g}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;y:{if((c|0)==256){e=0;c=d;break y}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break h}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break h}Ub(d,g+20|0);break g;case 2:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=259;N[g+12>>2]=260;N[g+8>>2]=261;N[g+4>>2]=d;z:{A:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break z;case 0:break A;default:break i}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break i}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;B:{if((c|0)==256){e=0;c=d;break B}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break j}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break j}Ub(d,g+20|0);break i;case 3:if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=262;N[g+12>>2]=263;N[g+8>>2]=264;N[g+4>>2]=d;C:{D:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break C;case 0:break D;default:break k}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break k}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;E:{if((c|0)==256){e=0;c=d;break E}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break l}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break l}Ub(d,g+20|0);break k;case 4:Vk(d,n);break b;case 7:break m;case 5:break n;default:break b}}Wk(d,n);break b}if((O[d|0]|O[d+1|0]<<8)!=256){break b}c=O[d+2|0]|O[d+3|0]<<8;c=(c<<8|c>>>8)&65535;e=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(e){d=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0}else{d=275552}continue}break}if((O[d|0]|O[d+1|0]<<8)!=256){break b}N[g+28>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=265;N[g+12>>2]=266;N[g+8>>2]=267;N[g+4>>2]=d;F:{G:{H:{I:{c=O[d+2|0]|O[d+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+d|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break H;case 0:break I;default:break F}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break F}d=d+4|0;m=c<<8|c>>>8;j=m&65535;f=j&1;J:{if((c|0)==256){e=0;c=d;break J}i=j&65534;e=0;c=d;while(1){k=e;e=O[c|0]|O[c+1|0]<<8;k=k|1<<(e>>>12|e<<4);e=O[c+2|0]|O[c+3|0]<<8;e=k|1<<(e>>>12|e<<4);c=c+4|0;h=h+2|0;if((i|0)!=(h|0)){continue}break}}if(f){c=O[c|0]|O[c+1|0]<<8;e=1<<(c>>>12|c<<4)|e}N[g+20>>2]=e;i=j&3;h=0;c=d;e=0;if((m&65535)>>>0>=4){k=j&65532;f=0;while(1){e=1<>2]=e;e=0;if((m&65535)>>>0<4){c=0;break G}f=j&65532;c=0;h=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;h=h+4|0;if((f|0)!=(h|0)){continue}break}break G}Ub(d,g+20|0);break F}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}K:{L:{M:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break M}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break L}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break K}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}N:{O:{P:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break P}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break O}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break N}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}Q:{R:{S:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break S}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break R}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break Q}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}T:{U:{V:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break V}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break U}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break T}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}W:{X:{Y:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break Y}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break X}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break W}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c;break b}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}N[g+28>>2]=c}Z:{_:{$:{f=N[n+4>>2];c=N[f>>2];if((c|0)>=0){d=N[f+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break $}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){h=$a(N[f+8>>2],T(c,28));if(h){break _}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break b}h=N[f+8>>2];break Z}N[f>>2]=c;N[f+8>>2]=h;d=N[f+4>>2];e=d+1|0}N[f+4>>2]=e;c=N[g+8>>2];d=T(d,28)+h|0;N[d>>2]=N[g+4>>2];N[d+4>>2]=c;N[d+24>>2]=N[g+28>>2];c=N[g+24>>2];N[d+16>>2]=N[g+20>>2];N[d+20>>2]=c;c=N[g+16>>2];N[d+8>>2]=N[g+12>>2];N[d+12>>2]=c}La=g+32|0;l=l+1|0;if((q|0)!=(l|0)){continue}break}N[a>>2]=0;N[a+4>>2]=0;e=0;N[a+8>>2]=0;f=N[a+16>>2];if(!f){N[a+24>>2]=N[n+8>>2];break a}l=N[a+20>>2];b=T(f,28)-28|0;d=((b>>>0)/28|0)+1|0;g=d&1;aa:{if(b>>>0<28){d=0;c=0;break aa}o=d&536870910;d=0;c=0;b=0;while(1){e=N[l+16>>2]|e;N[a>>2]=e;d=N[l+20>>2]|d;N[a+4>>2]=d;c=N[l+24>>2]|c;N[a+8>>2]=c;e=e|N[l+44>>2];N[a>>2]=e;d=d|N[l+48>>2];N[a+4>>2]=d;c=c|N[l+52>>2];N[a+8>>2]=c;l=l+56|0;b=b+2|0;if((o|0)!=(b|0)){continue}break}}if(g){N[a>>2]=N[l+16>>2]|e;N[a+4>>2]=N[l+20>>2]|d;N[a+8>>2]=N[l+24>>2]|c}N[a+24>>2]=N[n+8>>2];l=0;while(1){if(N[a+24>>2]!=(l|0)){ba:{if(f>>>0<=l>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;f=N[a+16>>2];b=0;break ba}b=N[(N[a+20>>2]+T(l,28)|0)+4>>2]}ca:{if(f>>>0<=l>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;f=N[a+16>>2];d=589824;break ca}d=N[a+20>>2]+T(l,28)|0}N[d+8>>2]=b}l=l+1|0;if(l>>>0>>0){continue}break}}La=n+16|0}function Vg(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;w=La-16|0;La=w;a:{if(!Dk(a+4|0,b,a)){break a}c=a+6|0;if(c>>>0>2]){break a}e=N[b+8>>2];if(e>>>0>>0){break a}if(e-c>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=O[c|0]|O[c+1|0]<<8;b:{if(!e){break b}e=((e<<8|e>>>8)&65535)+a|0;N[w+12>>2]=e;if(Ck(e,b,w+12|0)){break b}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}r=a+8|0;h=N[b+4>>2];if(r>>>0>>0){h=0;break a}c=N[b+8>>2];if(c>>>0>>0){h=0;break a}if(c-r>>>0<2){h=0;break a}j=N[b+12>>2];e=j-2|0;N[b+12>>2]=e;if((e|0)<=0){h=0;break a}e=O[r|0]|O[r+1|0]<<8;c:{if(!e){break c}d:{q=((e<<8|e>>>8)&65535)+a|0;if(h>>>0>q>>>0|c>>>0>>0|c-q>>>0<2){break d}e=j-4|0;N[b+12>>2]=e;if((e|0)<=0){break d}h=O[q|0]|O[q+1|0]<<8;if(!h){break c}j=q+2|0;if(j>>>0>c>>>0){break d}j=c-j|0;c=(h<<8|h>>>8)&65535;h=c<<1;if(j>>>0>>0){break d}e=e-h|0;N[b+12>>2]=e;if((e|0)<=0){break d}y=c>>>0<=1?1:c;while(1){s=((x<<1)+q|0)+2|0;e=N[b+4>>2];if(s>>>0>>0){break d}j=N[b+8>>2];if(j>>>0>>0|j-s>>>0<2){break d}c=N[b+12>>2];h=c-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[s|0]|O[s+1|0]<<8;e:{if(!h){break e}m=((h<<8|h>>>8)&65535)+q|0;f:{g:{if(e>>>0>m>>>0|j>>>0>>0|j-m>>>0<6){break g}h=c-8|0;N[b+12>>2]=h;if((h|0)<=0){break g}n=m+4|0;if(j>>>0>>0|j-n>>>0<2){break g}h=c-10|0;N[b+12>>2]=h;if((h|0)<=0){break g}o=O[n|0]|O[n+1|0]<<8;u=(o<<8|o>>>8)&65535;d=u<<1;if(o){c=m+6|0;if(c>>>0>j>>>0|d>>>0>j-c>>>0){break g}h=h-d|0;N[b+12>>2]=h;if((h|0)<=0){break g}}c=N[b+16>>2]+u|0;N[b+16>>2]=c;if((c|0)>16383){break g}h:{if(!(O[m+3|0]&16)){c=h;break h}c=(d+n|0)+2|0;if(c>>>0>>0|c>>>0>j>>>0|j-c>>>0<2){break g}c=h-2|0;N[b+12>>2]=c;if((h|0)<3){break g}}if(e>>>0>n>>>0){break g}e=O[m|0]|O[m+1|0]<<8;c=c-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}if(o){h=m+6|0;if(h>>>0>j>>>0|d>>>0>j-h>>>0){break g}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break g}j=(e<<8|e>>>8)&65535;z=u>>>0<=1?1:u;h=0;while(1){o=((h<<1)+n|0)+2|0;if(o>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-o>>>0<2){break g}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=O[o|0]|O[o+1|0]<<8;i:{if(!c){break i}e=((c<<8|c>>>8)&65535)+m|0;c=j;d=0;l=0;v=La-16|0;La=v;j:{k:{while(1){l:{if((c|0)!=7){d=1;m:{switch(c-1|0){case 0:c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}n:{o:{i=O[e|0]|O[e+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 1:break n;case 0:break o;default:break j}}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;p:{if(!d){break p}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break p}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}d=0;if(e-c>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;d=(c|0)>0;break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;q:{if(!d){break q}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break q}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-c>>>0<2){d=0;break j}f=N[b+12>>2]-2|0;N[b+12>>2]=f;if((f|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break k}e=e+6|0;if(e>>>0>d>>>0){d=0;break j}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>d-e>>>0){d=0;break j}c=f-c|0;N[b+12>>2]=c;d=0;if((c|0)>0){break k}break j;case 1:if(Q[b+4>>2]>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;r:{if(!d){break r}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break r}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}p=c>>>0<=1?1:c;c=0;while(1){i=N[b+4>>2];d=((c<<1)+e|0)+6|0;if(i>>>0>d>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-d>>>0<2){d=0;break j}l=N[b+12>>2];g=l-2|0;N[b+12>>2]=g;if((g|0)<=0){d=0;break j}g=O[d|0]|O[d+1|0]<<8;s:{if(!g){break s}g=((g<<8|g>>>8)&65535)+e|0;t:{if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break t}i=l-4|0;N[b+12>>2]=i;if((i|0)<=0){break t}l=O[g|0]|O[g+1|0]<<8;if(!l){break s}g=g+2|0;if(g>>>0>f>>>0){break t}g=f-g|0;f=((l<<8|l>>>8)&65535)<<1;if(g>>>0>>0){break t}f=i-f|0;N[b+12>>2]=f;if((f|0)>0){break s}}f=N[b+28>>2];if(f>>>0>31){d=0;break j}N[b+28>>2]=f+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=c+1|0;if((p|0)!=(c|0)){continue}break};break j;case 2:if(Q[b+4>>2]>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}c=e+2|0;if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;u:{if(!d){break u}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break u}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}p=c>>>0<=1?1:c;c=0;while(1){i=N[b+4>>2];d=((c<<1)+e|0)+6|0;if(i>>>0>d>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-d>>>0<2){d=0;break j}l=N[b+12>>2];g=l-2|0;N[b+12>>2]=g;if((g|0)<=0){d=0;break j}g=O[d|0]|O[d+1|0]<<8;v:{if(!g){break v}g=((g<<8|g>>>8)&65535)+e|0;w:{if(g>>>0>>0|f>>>0>>0|f-g>>>0<2){break w}i=l-4|0;N[b+12>>2]=i;if((i|0)<=0){break w}l=O[g|0]|O[g+1|0]<<8;if(!l){break v}g=g+2|0;if(g>>>0>f>>>0){break w}g=f-g|0;f=((l<<8|l>>>8)&65535)<<1;if(g>>>0>>0){break w}f=i-f|0;N[b+12>>2]=f;if((f|0)>0){break v}}f=N[b+28>>2];if(f>>>0>31){d=0;break j}N[b+28>>2]=f+1;if(!O[b+24|0]){d=0;break j}L[d|0]=0;L[d+1|0]=0}d=1;c=c+1|0;if((p|0)!=(c|0)){continue}break};break j;case 3:c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;x:{if(!d){break x}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break x}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}c=e+4|0;if(c>>>0>2]){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){d=0;break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break j}d=e+6|0;if(d>>>0>f>>>0){d=0;break j}f=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(f>>>0>>0){d=0;break j}f=g-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break j}A=c>>>0<=1?1:c;while(1){g=N[b+4>>2];f=((l<<1)+e|0)+6|0;if(g>>>0>f>>>0){d=0;break j}d=N[b+8>>2];if(d>>>0>>0){d=0;break j}if(d-f>>>0<2){d=0;break j}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;if((c|0)<=0){d=0;break j}c=O[f|0]|O[f+1|0]<<8;y:{if(!c){break y}z:{A:{c=((c<<8|c>>>8)&65535)+e|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break A}g=i-4|0;N[b+12>>2]=g;if((g|0)<=0){break A}i=O[c|0]|O[c+1|0]<<8;if(!i){break y}p=c+2|0;if(p>>>0>d>>>0){break A}k=d-p|0;d=(i<<8|i>>>8)&65535;i=d<<1;if(k>>>0>>0){break A}g=g-i|0;N[b+12>>2]=g;if((g|0)<=0){break A}B=d>>>0<=1?1:d;p=0;while(1){k=N[b+4>>2];g=(c+(p<<1)|0)+2|0;if(k>>>0>g>>>0){break A}d=N[b+8>>2];if(d>>>0>>0|d-g>>>0<2){break A}t=N[b+12>>2];i=t-2|0;N[b+12>>2]=i;if((i|0)<=0){break A}i=O[g|0]|O[g+1|0]<<8;B:{if(!i){break B}i=c+((i<<8|i>>>8)&65535)|0;C:{if(i>>>0>>0|d>>>0>>0|d-i>>>0<2){break C}k=t-4|0;N[b+12>>2]=k;if((k|0)<=0){break C}k=i+2|0;if(k>>>0>d>>>0|d-k>>>0<2){break C}t=t-6|0;N[b+12>>2]=t;if((t|0)<=0){break C}k=O[k|0]|O[k+1|0]<<8;if(!k){break B}k=(((k<<8|k>>>8)&65535)<<1)-2|0;if(!k){break B}i=i+4|0;if(i>>>0>d>>>0|k>>>0>d-i>>>0){break C}d=t-k|0;N[b+12>>2]=d;if((d|0)>0){break B}}d=N[b+28>>2];if(d>>>0>31){d=0;break j}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break z}L[g|0]=0;L[g+1|0]=0}p=p+1|0;if((B|0)!=(p|0)){continue}break}break y}d=N[b+28>>2]}if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[f|0]=0;L[f+1|0]=0}d=1;l=l+1|0;if((A|0)!=(l|0)){continue}break};break j;case 4:d=0;if(Q[b+4>>2]>e>>>0){break j}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<2){break j}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break j}d=1;D:{E:{F:{c=O[e|0]|O[e+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break D;case 1:break E;case 0:break F;default:break j}}d=vk(e,b);break j}d=yk(e,b);break j}d=xk(e,b);break j;case 7:break l;case 5:break m;default:break j}}d=wk(e,b);break j}if(Q[b+4>>2]>e>>>0){break j}c=N[b+8>>2];if(c>>>0>>0){break j}c=c-e|0;if(c>>>0<2){break j}f=N[b+12>>2];g=f-2|0;N[b+12>>2]=g;if((g|0)<=0){break j}if((O[e|0]|O[e+1|0]<<8)!=256){break k}if(c>>>0<8){break j}c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}f=O[e+2|0]|O[e+3|0]<<8;if((f|0)==1792){break j}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0}else{e=275552}c=(f<<8|(f&65280)>>>8)&65535;continue}break}c=N[b+4>>2];if(c>>>0>e>>>0){d=0;break j}f=N[b+8>>2];if(f>>>0>>0){d=0;break j}if(f-e>>>0<2){d=0;break j}g=N[b+12>>2];i=g-2|0;N[b+12>>2]=i;if((i|0)<=0){d=0;break j}if((O[e|0]|O[e+1|0]<<8)!=256){break j}d=c;c=e+2|0;if(d>>>0>c>>>0){d=0;break j}if(c>>>0>f>>>0){d=0;break j}if(f-c>>>0<2){d=0;break j}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}d=O[c|0]|O[c+1|0]<<8;G:{if(!d){break G}if(Lb(((d<<8|d>>>8)&65535)+e|0,b)){break G}d=N[b+28>>2];if(d>>>0>31){d=0;break j}N[b+28>>2]=d+1;if(!O[b+24|0]){d=0;break j}L[c|0]=0;L[c+1|0]=0}N[v+12>>2]=e;d=e+4|0;if(!Qe(d,b,v+12|0)){d=0;break j}c=O[e+4|0]|O[e+5|0]<<8;N[v+8>>2]=e;c=(d+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!Qe(c,b,v+8|0)){d=0;break j}e=O[c|0]|O[c+1|0]<<8;c=(c+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;if(c>>>0>2]){d=0;break j}e=N[b+8>>2];if(e>>>0>>0){d=0;break j}if(e-c>>>0<2){d=0;break j}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){d=0;break j}f=O[c|0]|O[c+1|0]<<8;if(!f){break k}c=c+2|0;if(c>>>0>e>>>0){d=0;break j}e=e-c|0;c=((f<<8|f>>>8)&65535)<<1;if(e>>>0>>0){d=0;break j}c=d-c|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break j}}d=1}La=v+16|0;if(d){break i}c=N[b+28>>2];if(c>>>0>31){break d}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break f}L[o|0]=0;L[o+1|0]=0}h=h+1|0;if((z|0)!=(h|0)){continue}break}e=O[m|0]|O[m+1|0]<<8}if(N[b+28>>2]|(e&65535)!=1792){break e}e=275552;d=0;c=O[n|0]|O[n+1|0]<<8?m+6|0:275552;c=O[c|0]|O[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+m|0}if((O[e|0]|O[e+1|0]<<8)==256){c=O[e+2|0]|O[e+3|0]<<8;d=(c<<8|c>>>8)&65535}e=1;if(u>>>0<2){break e}while(1){h=275552;c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+n|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){h=((c<<8|c>>>8)&65535)+m|0}c=0;if((O[h|0]|O[h+1|0]<<8)==256){c=O[h+2|0]|O[h+3|0]<<8;c=(c<<8|c>>>8)&65535}if((c|0)==(d|0)){e=e+1|0;if((u|0)!=(e|0)){continue}}break}if((c|0)==(d|0)){break e}}c=N[b+28>>2]}if(c>>>0>31){break d}N[b+28>>2]=c+1;if(!O[b+24|0]){break d}L[s|0]=0;L[s+1|0]=0}x=x+1|0;if((y|0)!=(x|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){h=0;break a}N[b+28>>2]=c+1;if(!O[b+24|0]){h=0;break a}L[r|0]=0;L[r+1|0]=0}h=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65537){break a}c=a+10|0;if(c>>>0>2]){h=0;break a}e=N[b+8>>2];if(e>>>0>>0){h=0;break a}if(e-c>>>0<4){h=0;break a}e=N[b+12>>2]-4|0;N[b+12>>2]=e;if((e|0)<=0){h=0;break a}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!e){break a}if(e&128){h=0;break a}if(Bk((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){h=0;break a}N[b+28>>2]=a+1;h=0;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;h=1}La=w+16|0;return h}function $A(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;c=c?-1:0;L[a+24|0]=c;d=c>>>8|0;L[a+25|0]=d;e=c>>>16|0;L[a+26|0]=e;f=c>>>24|0;L[a+27|0]=f;L[a+28|0]=c;g=c>>>8|0;L[a+29|0]=g;h=c>>>16|0;L[a+30|0]=h;i=c>>>24|0;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i;a=a+b|0;L[a+24|0]=c;L[a+25|0]=d;L[a+26|0]=e;L[a+27|0]=f;L[a+28|0]=c;L[a+29|0]=g;L[a+30|0]=h;L[a+31|0]=i;L[a+16|0]=c;L[a+17|0]=d;L[a+18|0]=e;L[a+19|0]=f;L[a+20|0]=c;L[a+21|0]=g;L[a+22|0]=h;L[a+23|0]=i;L[a+8|0]=c;L[a+9|0]=d;L[a+10|0]=e;L[a+11|0]=f;L[a+12|0]=c;L[a+13|0]=g;L[a+14|0]=h;L[a+15|0]=i;L[a|0]=c;L[a+1|0]=d;L[a+2|0]=e;L[a+3|0]=f;L[a+4|0]=c;L[a+5|0]=g;L[a+6|0]=h;L[a+7|0]=i}function Fq(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0;j=La-32|0;La=j;a:{b:{a=L[b+140|0];if((a|0)>=0){N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;L[b+140|0]=a|128;N[b+84>>2]=N[b+80>>2];w=N[b+68>>2];c:{while(1){d:{if(!O[b+60|0]|f>>>0>=w>>>0){break d}d=N[b+80>>2];y=d+T(f,20)|0;a=N[y>>2];if((a&-2)==12334){e:{if(!(N[b+72>>2]!=(i|0)|i>>>0<=n>>>0)){wb(b,3,n,f,1,1);if(O[b+62|0]){d=N[b+84>>2];e=N[b+80>>2];f=N[b+72>>2];if(!((d|0)==(e|0)&(f|0)==N[b+64>>2])){g=f+1|0;if(!(!g|g>>>0>2])){if(!gb(b,g)){break d}e=N[b+80>>2];d=N[b+84>>2]}f:{if((d|0)!=(e|0)){break f}g=N[b+72>>2];if(g+1>>>0<=N[b+64>>2]+1>>>0){d=e;break f}if(!O[b+62|0]){break b}d=N[b+88>>2];N[b+84>>2]=d;g=T(g,20);if(!g){break f}F(d,e,g);d=N[b+84>>2];e=N[b+80>>2]}g=T(N[b+72>>2],20)+d|0;e=T(N[b+64>>2],20)+e|0;d=N[e+4>>2];N[g>>2]=N[e>>2];N[g+4>>2]=d;N[g+16>>2]=N[e+16>>2];d=N[e+12>>2];N[g+8>>2]=N[e+8>>2];N[g+12>>2]=d;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1;N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[h|0](c,f,a,e,d)|0){a=N[c+96>>2];g=N[a+40>>2];d=N[c+100>>2];f=N[j+8>>2];a=N[a+12>>2];if(a){a=N[a+20>>2]}else{a=0}if(!(Qa[g|0](c,d,f,a)|0)){break e}}wd(b,n,i+1|0);d=N[b+84>>2];e=d+T(i,20)|0;N[j+24>>2]=N[e+16>>2];a=N[e+12>>2];N[j+16>>2]=N[e+8>>2];N[j+20>>2]=a;a=N[e+4>>2];N[j+8>>2]=N[e>>2];N[j+12>>2]=a;d=d+T(n,20)|0;F(d+20|0,d,T(i-n|0,20));N[d+16>>2]=N[j+24>>2];a=N[j+20>>2];N[d+8>>2]=N[j+16>>2];N[d+12>>2]=a;a=N[j+12>>2];N[d>>2]=N[j+8>>2];N[d+4>>2]=a;break e}g:{if(O[b+16|0]&16){break g}N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[h|0](c,f,9676,e,d)|0)){break g}N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}h:{if(!(Qa[h|0](c,f,a,e,d)|0)){i=a;a=9676;break h}d=N[c+96>>2];h=N[d+40>>2];f=N[c+100>>2];e=N[j+8>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}d=Qa[h|0](c,f,e,d)|0;i=d?a:9676;a=d?9676:a}d=N[b+72>>2]+2|0;if(!(!d|d>>>0>2])){if(!gb(b,d)){break e}}g=N[b+84>>2];i:{if((g|0)!=N[b+80>>2]){break i}d=N[b+72>>2];if(d+2>>>0<=N[b+64>>2]+1>>>0){break i}if(!O[b+62|0]){break b}e=N[b+88>>2];N[b+84>>2]=e;d=T(d,20);if(!d){break i}F(e,g,d)}d=N[b+68>>2];e=N[b+64>>2];if(d>>>0>>0){break a}j:{if(d>>>0>e>>>0){f=N[b+72>>2];n=N[b+84>>2];d=N[b+80>>2]+T(e,20)|0;break j}n=N[b+84>>2];f=N[b+72>>2];d=f-1|0;d=n+T(d>>>0<=f>>>0?d:0,20)|0}e=N[d+4>>2];h=T(f,20)+n|0;N[h>>2]=N[d>>2];N[h+4>>2]=e;N[h+16>>2]=N[d+16>>2];g=d+8|0;e=N[g+4>>2];N[h+8>>2]=N[g>>2];N[h+12>>2]=e;N[h>>2]=i;e=N[d+4>>2];N[h+20>>2]=N[d>>2];N[h+24>>2]=e;e=N[d+12>>2];N[h+28>>2]=N[d+8>>2];N[h+32>>2]=e;N[h+36>>2]=N[d+16>>2];N[h+20>>2]=a;N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+2;break e}if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break e}d=N[b+80>>2];a=N[b+84>>2]}k:{if((a|0)!=(d|0)){break k}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break k}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break k}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1}i=N[b+72>>2];n=i;f=N[b+64>>2];continue}n=N[b+72>>2];l:{m:{n:{o:{p:{q:{r:{q=a-4352|0;if(!(a-43360>>>0>28&q>>>0>=96)){l=f+1|0;if(l>>>0>=w>>>0){break n}r=N[T(l,20)+d>>2];if(r-4448>>>0>=72&r-55216>>>0>22){break n}p=0;x=0;e=f+2|0;if(e>>>0>>0){g=N[T(e,20)+d>>2];e=g-4520>>>0<88|g-55243>>>0<49;x=e?g:0;p=e?g-4519|0:0}g=N[b+68>>2];o=x?3:2;e=o+f|0;u=e>>>0>g>>>0?g:e;s=u-f|0;s:{if(s>>>0<2){break s}h=N[b+144>>2]|32;N[b+144>>2]=h;if(f>>>0>=u>>>0){break s}i=-1;e=f;t=u+(e^-1)|0;if(t>>>0>=3){v=s&-4;g=0;while(1){k=T(e,20)+d|0;m=N[k+8>>2];m=i>>>0>>0?i:m;i=N[k+28>>2];m=i>>>0>m>>>0?m:i;i=N[k+48>>2];m=i>>>0>m>>>0?m:i;i=N[k+68>>2];i=i>>>0>m>>>0?m:i;e=e+4|0;g=g+4|0;if((v|0)!=(g|0)){continue}break}}k=0;m=s&3;if(m){while(1){g=N[(T(e,20)+d|0)+8>>2];i=g>>>0>i>>>0?i:g;e=e+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}e=f;if(s&1){if(N[y+8>>2]!=(i|0)){N[y+4>>2]=N[y+4>>2]|3}e=l}if(!t){break s}while(1){g=T(e,20)+d|0;if(N[g+8>>2]!=(i|0)){h=h|32;N[b+144>>2]=h;N[g+4>>2]=N[g+4>>2]|3}g=T(e+1|0,20)+d|0;if(N[g+8>>2]!=(i|0)){h=h|32;N[b+144>>2]=h;N[g+4>>2]=N[g+4>>2]|3}e=e+2|0;if((u|0)!=(e|0)){continue}break}}if(!(q>>>0>18|r-4449>>>0>20|(x-4520>>>0>26?x:0))){a=((T(a,588)+T(r,28)|0)+p|0)-2639516|0;N[j+4>>2]=a;N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[h|0](c,f,a,e,d)|0){Sg(b,o,j+4|0);i=n+1|0;f=N[b+64>>2];continue}f=N[b+64>>2];d=N[b+80>>2]}L[(T(f,20)+d|0)+19|0]=1;if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break r}d=N[b+80>>2];a=N[b+84>>2]}t:{if((a|0)!=(d|0)){break t}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break t}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break t}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}f=N[b+64>>2]+1|0;N[b+64>>2]=f;break m}f=a-44032|0;if(f>>>0>11171){break n}N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];e=N[c+100>>2];g=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}u=Qa[h|0](c,e,a,g,d)|0;m=((f&65535)>>>0)/588|0;d=f-T(m,588)|0;t=((d&65535)>>>0)/28|0;v=T(t,-28)+d|0;s=v&65535;if(s){break q}g=N[b+64>>2];d=g+1|0;u:{if(d>>>0>=w>>>0){break u}d=N[N[b+80>>2]+T(d,20)>>2];if(d-4520>>>0>26){break u}a=(a+d|0)-4519|0;N[j+4>>2]=a;N[j+8>>2]=0;d=N[c+96>>2];h=N[d+28>>2];f=N[c+100>>2];e=j+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[h|0](c,f,a,e,d)|0){Sg(b,2,j+4|0);i=n+1|0;f=N[b+64>>2];continue}d=N[b+68>>2];g=N[b+64>>2];a=g+2|0;k=a>>>0>d>>>0?d:a;p=k-g|0;if(p>>>0<2){break u}f=N[b+144>>2]|32;N[b+144>>2]=f;if(g>>>0>=k>>>0){break u}r=N[b+80>>2];a=-1;h=g;l=k+(g^-1)|0;if(l>>>0>=3){e=p&-4;o=0;while(1){q=r+T(h,20)|0;d=N[q+8>>2];d=a>>>0>>0?a:d;a=N[q+28>>2];d=a>>>0>d>>>0?d:a;a=N[q+48>>2];d=a>>>0>d>>>0?d:a;a=N[q+68>>2];a=a>>>0>d>>>0?d:a;h=h+4|0;o=o+4|0;if((e|0)!=(o|0)){continue}break}}o=0;e=p&3;if(e){while(1){d=N[(r+T(h,20)|0)+8>>2];a=a>>>0>>0?a:d;h=h+1|0;o=o+1|0;if((e|0)!=(o|0)){continue}break}}h=g;if(p&1){d=r+T(g,20)|0;if(N[d+8>>2]!=(a|0)){N[d+4>>2]=N[d+4>>2]|3}h=g+1|0}if(!l){break u}while(1){d=r+T(h,20)|0;if(N[d+8>>2]!=(a|0)){f=f|32;N[b+144>>2]=f;N[d+4>>2]=N[d+4>>2]|3}d=r+T(h+1|0,20)|0;if(N[d+8>>2]!=(a|0)){f=f|32;N[b+144>>2]=f;N[d+4>>2]=N[d+4>>2]|3}h=h+2|0;if((k|0)!=(h|0)){continue}break}}if(!u){break p}a=g+1|0;if(a>>>0>=w>>>0){break o}a=N[N[b+80>>2]+T(a,20)>>2];if(a-4520>>>0<88){break p}if(a-55243>>>0>48){break o}break p}f=N[b+64>>2];break m}if(u){break o}}N[j+8>>2]=0;a=N[c+96>>2];h=N[a+28>>2];v:{d=N[c+100>>2];m=m|4352;f=j+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[h|0](c,d,m,f,a)|0)){break v}N[j+8>>2]=0;a=N[c+96>>2];h=N[a+28>>2];d=N[c+100>>2];l=t+4449|0;f=j+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[h|0](c,d,l,f,a)|0)){break v}d=v+4519&65535;w:{x:{y:{if(!s){a=N[b+72>>2]+2|0;if(!(!a|a>>>0>2])){k=2;if(!gb(b,a)){break x}}k=2;g=N[b+84>>2];if((g|0)!=N[b+80>>2]){break y}a=N[b+72>>2];if(a+2>>>0<=N[b+64>>2]+1>>>0){break y}if(!O[b+62|0]){break b}e=N[b+88>>2];N[b+84>>2]=e;a=T(a,20);if(!a){break y}F(e,g,a);break y}N[j+8>>2]=0;e=N[c+96>>2];f=N[e+28>>2];g=N[c+100>>2];h=j+8|0;e=N[e+12>>2];if(e){a=N[e+8>>2]}else{a=0}if(!(Qa[f|0](c,g,d,h,a)|0)){break o}a=N[b+72>>2]+3|0;if(!(!a|a>>>0>2])){k=3;if(!gb(b,a)){break w}}k=3;g=N[b+84>>2];if((g|0)!=N[b+80>>2]){break y}a=N[b+72>>2];if(a+3>>>0<=N[b+64>>2]+1>>>0){break y}if(!O[b+62|0]){break b}e=N[b+88>>2];N[b+84>>2]=e;a=T(a,20);if(!a){break y}F(e,g,a)}a=N[b+68>>2];e=N[b+64>>2];if(a>>>0>>0){break a}z:{if(a>>>0>e>>>0){a=N[b+72>>2];g=N[b+84>>2];i=N[b+80>>2]+T(e,20)|0;break z}g=N[b+84>>2];a=N[b+72>>2];e=a-1|0;i=g+T(a>>>0>=e>>>0?e:0,20)|0}g=T(a,20)+g|0;a=N[i+4>>2];N[g>>2]=N[i>>2];N[g+4>>2]=a;N[g+16>>2]=N[i+16>>2];e=i+8|0;a=N[e+4>>2];N[g+8>>2]=N[e>>2];N[g+12>>2]=a;N[g>>2]=m;a=N[i+4>>2];N[g+20>>2]=N[i>>2];N[g+24>>2]=a;a=N[i+12>>2];N[g+28>>2]=N[i+8>>2];N[g+32>>2]=a;N[g+36>>2]=N[i+16>>2];N[g+20>>2]=l;if(s){a=N[i+4>>2];N[g+40>>2]=N[i>>2];N[g+44>>2]=a;N[g+56>>2]=N[i+16>>2];a=N[i+12>>2];N[g+48>>2]=N[i+8>>2];N[g+52>>2]=a;N[g+40>>2]=d}N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+k}if(!u|s){break w}A:{if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break A}d=N[b+80>>2];a=N[b+84>>2]}B:{if((a|0)!=(d|0)){break B}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break B}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break B}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1}k=k+1|0}if(!O[b+60|0]){break d}d=N[b+84>>2];a=d+T(n,20)|0;L[a+39|0]=2;L[a+19|0]=1;i=k+n|0;a=n+2|0;if(i>>>0>a>>>0){L[(d+T(a,20)|0)+19|0]=3}if(N[b+20>>2]){break l}wd(b,n,i);f=N[b+64>>2];continue}if(s){break o}d=N[b+64>>2];e=d+1|0;if(w>>>0<=e>>>0){break o}p=N[b+80>>2];a=N[p+T(e,20)>>2];if(a-4520>>>0>=88&a-55243>>>0>48){break o}g=N[b+68>>2];a=d+2|0;q=a>>>0>g>>>0?g:a;o=q-d|0;if(o>>>0<2){break o}h=N[b+144>>2]|32;N[b+144>>2]=h;if(d>>>0>=q>>>0){break o}f=-1;a=d;v=q+(d^-1)|0;if(v>>>0>=3){m=o&-4;g=0;while(1){t=p+T(a,20)|0;l=N[t+8>>2];l=f>>>0>>0?f:l;f=N[t+28>>2];l=f>>>0>l>>>0?l:f;f=N[t+48>>2];l=f>>>0>l>>>0?l:f;f=N[t+68>>2];f=f>>>0>l>>>0?l:f;a=a+4|0;g=g+4|0;if((m|0)!=(g|0)){continue}break}}k=0;l=o&3;if(l){while(1){g=N[(p+T(a,20)|0)+8>>2];f=g>>>0>f>>>0?f:g;a=a+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}C:{if(!(o&1)){e=d;break C}a=p+T(d,20)|0;if(N[a+8>>2]==(f|0)){break C}N[a+4>>2]=N[a+4>>2]|3}if(!v){break o}while(1){a=p+T(e,20)|0;if(N[a+8>>2]!=(f|0)){h=h|32;N[b+144>>2]=h;N[a+4>>2]=N[a+4>>2]|3}a=p+T(e+1|0,20)|0;if(N[a+8>>2]!=(f|0)){h=h|32;N[b+144>>2]=h;N[a+4>>2]=N[a+4>>2]|3}e=e+2|0;if((q|0)!=(e|0)){continue}break}}i=u?n+1|0:i}if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break l}d=N[b+80>>2];a=N[b+84>>2]}D:{if((a|0)!=(d|0)){break D}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break D}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break D}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1;break l}L[(N[b+80>>2]+T(f,20)|0)+19|0]=2;E:{if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){if(!gb(b,e)){break E}d=N[b+80>>2];a=N[b+84>>2]}F:{if((a|0)!=(d|0)){break F}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break F}if(!O[b+62|0]){break b}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break F}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1}a=2;G:{if(!x){break G}L[(N[b+80>>2]+T(N[b+64>>2],20)|0)+19|0]=3;if(O[b+62|0]){a=N[b+84>>2];d=N[b+80>>2];f=N[b+72>>2];if(!((a|0)==(d|0)&(f|0)==N[b+64>>2])){e=f+1|0;if(!(!e|e>>>0>2])){a=3;if(!gb(b,e)){break G}d=N[b+80>>2];a=N[b+84>>2]}H:{if((a|0)!=(d|0)){break H}e=N[b+72>>2];if(e+1>>>0<=N[b+64>>2]+1>>>0){a=d;break H}if(!O[b+62|0]){break c}a=N[b+88>>2];N[b+84>>2]=a;e=T(e,20);if(!e){break H}F(a,d,e);a=N[b+84>>2];d=N[b+80>>2]}e=T(N[b+72>>2],20)+a|0;d=T(N[b+64>>2],20)+d|0;a=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=a;N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=a;f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=N[b+64>>2]+1;a=3}if(!O[b+60|0]){break d}i=a+n|0;if(N[b+20>>2]){break l}wd(b,n,i);f=N[b+64>>2];continue}f=N[b+64>>2];continue}break}Ac(b);La=j+32|0;return}break b}ba(22778,14165,169,12138);B()}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function VD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=U(0),k=U(0),l=0,m=U(0),n=0,o=U(0),p=0,q=U(0),r=0,s=U(0),t=U(0),u=U(0),v=0,w=0,x=U(0),y=U(0),z=0,A=0,D=0,E=0,F=U(0),G=0,H=U(0),I=0;g=La-4560|0;La=g;j=R[a+40>>2];N[g+40>>2]=0;N[g+44>>2]=0;N[g+48>>2]=0;N[g+52>>2]=0;N[g+56>>2]=0;N[g+60>>2]=0;b=g- -64|0;N[b>>2]=0;N[b+4>>2]=0;N[g+72>>2]=0;N[g+76>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+28>>2]=e;N[g+24>>2]=d;R[g+16>>2]=j;L[g+20|0]=j==U(0);b=N[a+24>>2];d=N[b+108>>2];a:{if(d){break a}while(1){d=N[b+48>>2];if(!d){d=275552;break a}e=db(1,28);if(!e){d=275552;N[b+108>>2]=275552;break a}d=Me(e,d);if(!N[b+108>>2]){N[b+108>>2]=d;break a}ab(N[d+24>>2]);_a(d);d=N[b+108>>2];if(!d){continue}break}}b=g+32|0;b:{c:{if(Q[d+16>>2]<=c>>>0){break c}N[g+4552>>2]=0;N[g+4544>>2]=0;N[g+4548>>2]=0;e=N[d+20>>2];e=N[(e?e:275552)+12>>2];d:{if(O[d+12|0]){f=e+(c<<1)|0;e=O[f|0]|O[f+1|0]<<8;e=((e<<8|e>>>8)&65535)<<1;f=O[f+2|0]|O[f+3|0]<<8;f=((f<<8|f>>>8)&65535)<<1;break d}f=e+(c<<2)|0;e=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);f=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}e:{f:{if(e>>>0<=f>>>0){h=N[d+24>>2];h=h?h:275552;if(f>>>0<=Q[h+16>>2]){break f}}N[g+104>>2]=0;N[g+96>>2]=0;N[g+100>>2]=0;N[g+112>>2]=-1;N[g+116>>2]=0;N[g+108>>2]=275552;break e}h=N[h+12>>2]+e|0;i=f-e|0;f=i>>>0<10?275552:h;e=O[f|0]|O[f+1|0]<<8;if(e){e=(e<<8|e>>>8)<<16>>16>0?1:(e|0)==65279?3:2}else{e=0}N[g+116>>2]=e;N[g+112>>2]=c;N[g+108>>2]=f;N[g+104>>2]=0;N[g+100>>2]=i;N[g+96>>2]=h}N[g+88>>2]=0;N[g+8>>2]=0;N[g+80>>2]=0;N[g+84>>2]=0;N[g>>2]=0;N[g+4>>2]=0;w=ej(g+96|0,a,d,g+4544|0,0,g,0);if(w){r=N[g+4548>>2];if(r>>>0>3){z=N[g+4552>>2];E=r-4|0;if(!E){_a(z);break b}e=0;d=0;while(1){g:{if(d>>>0>=r>>>0){l=0;N[147456]=0;N[147457]=0;N[147458]=0;f=589824;j=U(0);k=U(0);break g}f=z+T(d,12)|0;j=R[f+4>>2];l=O[f+8|0];k=R[f>>2]}h=l&1;j=U(j*R[a+48>>2]);k=U(k*R[a+44>>2]);h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{if(!n){if(h){i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(N[g+32>>2]){t=R[g+36>>2];s=R[g+40>>2];if(!(t==R[g+44>>2]&s==R[g+48>>2])){l=N[h+16>>2];n=N[h+32>>2];if(n){n=N[n+4>>2]}else{n=0}Qa[l|0](h,i,b,t,s,n)}l=N[h+28>>2];n=N[h+32>>2];if(n){n=N[n+16>>2]}else{n=0}Qa[l|0](h,i,b,n);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=j;R[g+44>>2]=k;n=1;break r}dj(h,i,b,U(U(j*R[g+16>>2])+k),j);n=1;break r}if(!v){break t}s=U(U(U(j-u)*U(.5))+u);t=U(U(U(k-y)*U(.5))+y);h=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(N[g+32>>2]){o=R[g+36>>2];m=R[g+40>>2];if(!(o==R[g+44>>2]&m==R[g+48>>2])){n=N[e+16>>2];i=N[e+32>>2];if(i){i=N[i+4>>2]}else{i=0}Qa[n|0](e,h,b,o,m,i)}n=N[e+28>>2];i=N[e+32>>2];if(i){i=N[i+16>>2]}else{i=0}Qa[n|0](e,h,b,i);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=s;R[g+44>>2]=t;break s}dj(e,h,b,U(U(s*R[g+16>>2])+t),s);break s}u:{v:{w:{if(e&255){if(h){i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[h+12>>2];q=R[g+44>>2];x=R[g+48>>2];e=N[h+32>>2];if(e){e=N[e>>2]}else{e=0}Qa[l|0](h,i,b,q,x,e);N[g+32>>2]=1;e=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=e}A=N[h+20>>2];e=0;l=N[h+32>>2];if(l){l=N[l+8>>2]}else{l=0}Qa[A|0](h,i,b,o,m,k,j,l);R[g+48>>2]=j;R[g+44>>2]=k;o=U(0);m=U(0);break u}q=R[g+16>>2];Le(h,i,b,U(U(m*q)+o),m,U(U(j*q)+k),j);o=U(0);e=0;m=U(0);break u}q=U(U(U(j-m)*U(.5))+m);x=U(U(U(k-o)*U(.5))+o);h=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[e+12>>2];F=R[g+44>>2];H=R[g+48>>2];i=N[e+32>>2];if(i){i=N[i>>2]}else{i=0}Qa[l|0](e,h,b,F,H,i);N[g+32>>2]=1;i=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=i}l=N[e+20>>2];i=N[e+32>>2];if(i){i=N[i+8>>2]}else{i=0}Qa[l|0](e,h,b,o,m,x,q,i);R[g+48>>2]=q;R[g+44>>2]=x;e=1;break w}F=R[g+16>>2];Le(e,h,b,U(U(m*F)+o),m,U(U(q*F)+x),q);e=1;break w}e=1;if(h){break v}}o=k;m=j;break u}i=N[g+28>>2];h=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){l=N[h+12>>2];q=R[g+44>>2];x=R[g+48>>2];e=N[h+32>>2];if(e){e=N[e>>2]}else{e=0}Qa[l|0](h,i,b,q,x,e);N[g+32>>2]=1;e=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=e}A=N[h+16>>2];e=0;l=N[h+32>>2];if(l){l=N[l+4>>2]}else{l=0}Qa[A|0](h,i,b,k,j,l);R[g+48>>2]=j;R[g+44>>2]=k;break u}cq(h,i,b,U(U(j*R[g+16>>2])+k),j);e=0}k=s;j=t;break r}if(!O[f+9|0]){n=0;v=1;y=k;u=j;break h}n=0;if(e&255){u=j;y=k;break q}e=N[g+28>>2];f=N[g+24>>2];if(O[g+20|0]){break m}break l}e=1;o=k;m=j;n=1;k=t;j=s}if(!O[f+9|0]){s=k;t=j;break h}if(!v){break o}t=j;s=k;if(!(e&255)){break p}}j=U(U(U(u-m)*U(.5))+m);k=U(U(U(y-o)*U(.5))+o);f=N[g+28>>2];e=N[g+24>>2];x:{if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];q=R[g+44>>2];x=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,q,x,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}i=N[e+20>>2];h=N[e+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](e,f,b,o,m,k,j,h);R[g+48>>2]=j;R[g+44>>2]=k;break x}q=R[g+16>>2];Le(e,f,b,U(U(m*q)+o),m,U(U(j*q)+k),j)}j=t;k=s}e=N[g+28>>2];f=N[g+24>>2];h=O[g+20|0];if(!n){break n}if(h){if(!N[g+32>>2]){i=N[f+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[f+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](f,e,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}i=N[f+20>>2];h=N[f+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](f,e,b,y,u,k,j,h);break j}m=R[g+16>>2];Le(f,e,b,U(U(u*m)+y),u,U(U(j*m)+k),j);break i}if(e&255){if(!n){break i}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];s=R[g+44>>2];t=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,s,t,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+20>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,o,m,k,j,0);break j}Qa[h|0](e,f,b,o,m,k,j,N[i+8>>2]);break j}u=R[g+16>>2];Le(e,f,b,U(U(m*u)+o),m,U(U(j*u)+k),j);break i}if(!n){break i}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+16>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,k,j,0);break j}Qa[h|0](e,f,b,k,j,N[i+4>>2]);break j}cq(e,f,b,U(U(j*R[g+16>>2])+k),j);break i}j=u;k=y;if(!h){break l}}if(N[g+32>>2]){o=R[g+36>>2];m=R[g+40>>2];if(!(o==R[g+44>>2]&m==R[g+48>>2])){i=N[f+16>>2];h=N[f+32>>2];if(h){h=N[h+4>>2]}else{h=0}Qa[i|0](f,e,b,o,m,h)}i=N[f+28>>2];h=N[f+32>>2];if(h){h=N[h+16>>2]}else{h=0}Qa[i|0](f,e,b,h);N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}R[g+48>>2]=j;R[g+44>>2]=k;break k}dj(f,e,b,U(U(j*R[g+16>>2])+k),j)}f=N[g+28>>2];e=N[g+24>>2];if(O[g+20|0]){if(!N[g+32>>2]){i=N[e+12>>2];m=R[g+44>>2];o=R[g+48>>2];h=N[e+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](e,f,b,m,o,h);N[g+32>>2]=1;h=N[g+48>>2];N[g+36>>2]=N[g+44>>2];N[g+40>>2]=h}h=N[e+20>>2];i=N[e+32>>2];if(!i){Qa[h|0](e,f,b,k,j,k,j,0);break j}Qa[h|0](e,f,b,k,j,k,j,N[i+8>>2]);break j}k=U(U(j*R[g+16>>2])+k);Le(e,f,b,k,j,k,j);break i}R[g+48>>2]=j;R[g+44>>2]=k}if(N[g+32>>2]){f=N[g+28>>2];e=N[g+24>>2];k=R[g+36>>2];j=R[g+40>>2];if(!(k==R[g+44>>2]&j==R[g+48>>2])){i=N[e+16>>2];h=N[e+32>>2];if(h){h=N[h+4>>2]}else{h=0}Qa[i|0](e,f,b,k,j,h)}i=N[e+28>>2];h=N[e+32>>2];if(h){h=N[h+16>>2]}else{h=0}Qa[i|0](e,f,b,h)}N[b>>2]=0;N[b+4>>2]=0;e=0;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;o=U(0);m=U(0);v=0;y=U(0);u=U(0);n=0;s=U(0);t=U(0)}d=d+1|0;if((E|0)!=(d|0)){continue}break}_a(N[g+4552>>2]);if(!w){break c}break b}ba(19169,14261,202,9940);B()}_a(N[g+4552>>2])}if(jj(Kg(N[a+24>>2]+112|0),a,c,g+16|0,0,0)){break b}e=N[a+24>>2];d=N[e+116>>2];y:{if(d){break y}while(1){d=N[e+48>>2];if(!d){d=275552;break y}f=db(1,132);if(!f){d=275552;N[e+116>>2]=275552;break y}d=bq(f,d);if(!N[e+116>>2]){N[e+116>>2]=d;break y}_a(lj(d));d=N[e+116>>2];if(!d){continue}break}}if(!N[d+44>>2]|Q[d+128>>2]<=c>>>0){break b}e=lq(N[d+96>>2],c);be(g+4544|0,N[d+88>>2],c);v=e>>>0>=Q[d+120>>2]?275552:N[d+124>>2]+T(e,28)|0;f=N[v+20>>2];n=N[a+84>>2];l=N[a+88>>2];h=N[d+80>>2];L[g+112|0]=0;C(g+116|0,0,4108);c=g+4288|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4296>>2]=0;c=g+4308|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4316>>2]=0;c=g+4328|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4336>>2]=0;c=g+4348|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4356>>2]=0;c=g+4368|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4376>>2]=0;c=g+4388|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4396>>2]=0;N[g+4416>>2]=0;c=g+4408|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4436>>2]=0;c=g+4428|0;N[c>>2]=0;N[c+4>>2]=0;L[g+4260|0]=0;N[g+104>>2]=0;c=N[g+4548>>2];e=N[g+4544>>2];N[g+96>>2]=e;N[g+100>>2]=c;N[g+4456>>2]=0;i=g+4448|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4272|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4264|0;N[i>>2]=0;N[i+4>>2]=0;N[g+4240>>2]=0;i=g+4232|0;N[i>>2]=0;N[i+4>>2]=0;i=g+4496|0;N[i>>2]=0;N[i+4>>2]=0;N[g+4472>>2]=h;N[g+4224>>2]=e;N[g+4228>>2]=c;N[g+4256>>2]=0;N[g+4248>>2]=0;N[g+4252>>2]=0;L[g+4245|0]=1;L[g+4246|0]=0;N[g+4488>>2]=0;N[g+4492>>2]=0;e=107;i=107;z:{if(!h){break z}h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);i=107;if(h>>>0<1240){break z}i=h>>>0<33900?1131:32768}N[g+4480>>2]=f;N[g+4468>>2]=i;A:{if(!f){break A}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0<1240){break A}e=f>>>0<33900?1131:32768}N[g+4508>>2]=n;N[g+4504>>2]=l;N[g+4476>>2]=e;d=N[d+84>>2];N[g+4532>>2]=0;N[g+4512>>2]=d;L[g+4537|0]=0;L[g+4538|0]=0;N[g+4524>>2]=0;N[g+4528>>2]=0;e=c;h=g+112|0;c=0;B:{if(!l){break B}c=0;if(!n){break B}c=(O[d|0]|O[d+1|0]<<8)!=0}L[g+4536|0]=c;N[g+4520>>2]=N[v+24>>2];L[g+4244|0]=0;N[g+84>>2]=a;N[g+80>>2]=g+16;E=g+120|0;z=1e4;d=0;while(1){C:{z=z-1|0;if(!z){N[g+104>>2]=e+1;break C}D:{E:{F:{G:{H:{I:{a=d+1|0;J:{if(a>>>0<=e>>>0){c=N[g+96>>2];f=O[c+d|0];N[g+104>>2]=a;if((f|0)==12){d=d+2|0;if(d>>>0>e>>>0){f=65535;break J}a=O[a+c|0];N[g+104>>2]=d;f=a|256}K:{switch(f-10|0){case 0:case 19:iq(f,g+96|0,g+80|0);break D;case 6:jq(g+96|0);a=N[g+116>>2];L:{if(a){e=a-1|0;N[g+116>>2]=e;p=S[(h+(e<<3)|0)+8>>3];break L}e=0;N[147456]=0;N[147457]=0;L[g+112|0]=1;p=0}n=N[g+4516>>2];if(V(p)<2147483648){a=~~p}else{a=-2147483648}if((a|0)<0){break I}i=T(n^-1,a)+e|0;if(i>>>0>e>>>0){break G}if(!a){a=0;break E}if(!O[g+4536|0]){d=0;if((a|0)!=1){c=a&1;l=a&-2;while(1){f=d+i|0;M:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break M}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;f=i+(d|1)|0;N:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break N}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;d=d+2|0;if((l|0)!=(d|0)){continue}break}if(!c){break E}}c=d+i|0;if(c>>>0>>0){break H}N[147456]=0;N[147457]=0;L[g+112|0]=1;S[73728]=0;break E}f=N[g+4528>>2];if(!f){break F}A=a+i|0;v=N[g+4532>>2];c=f&-2;I=f&1;l=0;while(1){d=A+T(l,n)|0;r=513-d|0;r=r>>>0<=513?r:0;r=n>>>0>r>>>0?r:n;w=i+l|0;O:{if(w>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;w=589824;p=0;break O}w=(h+(w<<3)|0)+8|0;p=S[w>>3]}D=0;P:{if((f|0)!=(r|0)){break P}r=E+(d<<3)|0;d=0;if((f|0)!=1){while(1){G=d|1;D=+R[v+(G<<2)>>2]*S[r+(G<<3)>>3]+(+R[v+(d<<2)>>2]*S[r+(d<<3)>>3]+D);d=d+2|0;if((c|0)!=(d|0)){continue}break}d=c;if(!I){break P}}D=+R[v+(d<<2)>>2]*S[r+(d<<3)>>3]+D}S[w>>3]=p+D;l=l+1|0;if((l|0)!=(a|0)){continue}break};break E;case 5:break K;default:break J}}a=N[g+116>>2];Q:{if(!a){d=0;N[147456]=0;N[147457]=0;L[g+112|0]=1;break Q}p=S[h+(a<<3)>>3];R:{if(V(p)<2147483648){d=~~p;break R}d=-2147483648}if((d|0)>=0){break Q}L[g+112|0]=1;d=0}S:{if(O[g+4537|0]|O[g+4538|0]){N[g+104>>2]=e+1;break S}N[g+4520>>2]=d}N[g+116>>2]=0;L[g+4537|0]=1;break D}f=N[g+4264>>2]?11:14}iq(f,g+96|0,g+80|0);break D}L[g+112|0]=1;a=0;break E}c=h+(c<<3)|0;S[c+8>>3]=S[c+8>>3]+0;break E}N[g+104>>2]=N[g+100>>2]+1;break D}d=0;if((a|0)!=1){c=a&1;l=a&-2;while(1){f=d+i|0;T:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break T}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;f=i+(d|1)|0;U:{if(f>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;f=589824;p=0;break U}f=(h+(f<<3)|0)+8|0;p=S[f>>3]}S[f>>3]=p+0;d=d+2|0;if((l|0)!=(d|0)){continue}break}if(!c){break E}}c=d+i|0;V:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+112|0]=1;d=589824;p=0;break V}d=(h+(c<<3)|0)+8|0;p=S[d>>3]+0}S[d>>3]=p}a=T(a,n);if(a>>>0<=e>>>0){N[g+116>>2]=e-a;break D}L[g+112|0]=1}if(O[g+4260|0]){break C}d=N[g+104>>2];e=N[g+100>>2];if(O[g+112|0]|d>>>0>e>>>0){break C}if(!O[g+4244|0]){continue}}break}if(N[g+4528>>2]){N[g+4528>>2]=0}_a(N[g+4532>>2])}if(N[g+32>>2]){c=N[g+28>>2];a=N[g+24>>2];k=R[g+36>>2];j=R[g+40>>2];if(!(k==R[g+44>>2]&j==R[g+48>>2])){e=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](a,c,b,k,j,d)}e=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](a,c,b,d)}La=g+4560|0}function Pv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0;g=La-384|0;La=g;N[b>>2]=1;f=N[b+136>>2];a:{if(!f){d=11;e=N[N[b+96>>2]+4>>2];if(!e){break a}f=N[e+16>>2];if((f|0)<=0){break a}e=e+20|0;f=e+(f<<2)|0;while(1){i=N[N[e>>2]>>2];if(cb(N[i+8>>2],7988)){e=e+4|0;if(f>>>0>e>>>0){continue}break a}break}f=N[i+20>>2];if(!f){break a}N[b+136>>2]=f}if(!N[b+320>>2]){e=N[N[b+96>>2]+4>>2];b:{if(!e){d=0;break b}d=0;i=N[e+16>>2];if((i|0)<=0){break b}e=e+20|0;i=e+(i<<2)|0;while(1){l=N[N[e>>2]>>2];if(cb(N[l+8>>2],11971)){e=e+4|0;if(i>>>0>e>>>0){continue}break b}break}d=N[l+20>>2]}N[b+320>>2]=d}e=N[a+20>>2];if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}f=N[b+136>>2]}N[a+8>>2]=0;n=N[b+100>>2];N[g+108>>2]=0;h=N[b+104>>2];a=g+8|0;C(a,0,100);Qa[N[N[f+4>>2]>>2]](a,0,0,n);N[g+80>>2]=h;a=N[h+4>>2];k=N[h+8>>2];c:{d:{if(N[h+20>>2]){d=85;if(a>>>0<31){break c}e:{f:{a=N[h+28>>2];d=Qa[N[a+4>>2]](a,31)|0;if(d){N[h>>2]=d;i=Qa[N[h+20>>2]](h,N[h+8>>2],d,31)|0;e=N[h>>2];if(i>>>0<=30){break f}d=0;break e}N[h>>2]=0;d=64;break c}if(e){Qa[N[a+8>>2]](a,e)}e=0;N[h>>2]=0;d=85}N[h+32>>2]=e;N[h+36>>2]=e?e+31|0:0;N[h+8>>2]=i+N[h+8>>2];f=e;if(i>>>0>=31){break d}break c}d=85;if(a-k>>>0<31|a>>>0<=k>>>0){break c}N[h+8>>2]=k+31;e=N[h>>2];f=k+e|0;N[h+32>>2]=f;N[h+36>>2]=f+31}a=bb(f,9128,31);if(N[h+20>>2]){if(e){d=N[h+28>>2];Qa[N[d+8>>2]](d,e)}N[h>>2]=0}N[h+32>>2]=0;N[h+36>>2]=0;if(a){d=2;break c}f=N[h+8>>2];o=g+84|0;l=g+112|9;g:{while(1){a=g+112|0;e=265;i=f;m=0;while(1){d=85;j=N[h+4>>2];if(j>>>0<=f>>>0){break c}j=j-f|0;j=e>>>0>>0?e:j;e=N[h+20>>2];h:{if(!e){F(a,N[h>>2]+f|0,j);N[h+8>>2]=f+j;break h}e=Qa[e|0](h,f,a,j)|0;N[h+8>>2]=e+f;if(e>>>0>>0){break c}}a=a+j|0;L[a|0]=0;i:{a=a-6|0;if(a>>>0>g+112>>>0){e=g+112|0;d=O[g+112|0];while(1){j:{if((d&255)!=83){break j}if(bb(e,18380,9)){break j}d=10;break i}k:{d=O[e+1|0];if((d|0)!=115){break k}if(bb(e,10023,6)){break k}d=7;break i}e=e+1|0;if((a|0)!=(e|0)){continue}break}}if(j+m>>>0<9){d=3;break c}a=j+(g+m|0)|0;d=O[a+103|0]|O[a+104|0]<<8|(O[a+105|0]<<16|O[a+106|0]<<24);e=O[a+107|0]|O[a+108|0]<<8|(O[a+109|0]<<16|O[a+110|0]<<24);L[g+120|0]=O[a+111|0];N[g+112>>2]=d;N[g+116>>2]=e;e=256;i=i+256|0;f=N[h+8>>2];m=9;a=l;continue}break}l:{a=N[h+20>>2];if(a){if(!(Qa[a|0](h,k,0,0)|0)){break l}d=85;break c}if(k>>>0<=Q[h+4>>2]){break l}d=85;break c}N[h+8>>2]=k;f=((i-(g+112|0)|0)+e|0)+d|0;e=f-k|0;d=fc(h,e,o);if(d){break c}N[g+92>>2]=f;a=N[g+84>>2];N[g+12>>2]=a;N[g+104>>2]=-1;N[g+8>>2]=a;N[g+88>>2]=e;N[g+16>>2]=a+e;d=g+8|0;Qa[N[g+40>>2]](d);Qa[N[g+36>>2]](d);e=N[g+8>>2];Qa[N[g+40>>2]](d);Qa[N[g+36>>2]](d);m:{d=N[g+8>>2];i=N[g+16>>2];j=i-6|0;n:{if(d>>>0<=j>>>0){m=i-9|0;while(1){i=e;e=d;d=N[g+20>>2];if(d){break c}o:{if(O[e|0]!=83|e>>>0>m>>>0){break o}if(bb(e,18380,9)){break o}if(bb(a,22540,5)){break g}a=Kb(i,0);if((a|0)>=0){break m}d=3;break c}p:{if(O[e+1|0]!=115){break p}if(bb(e,10023,6)){break p}d=2;break c}a=g+8|0;Qa[N[g+40>>2]](a);Qa[N[g+36>>2]](a);a=i;d=N[g+8>>2];if(j>>>0>=d>>>0){continue}break}if(!h){break n}}if(!N[h+20>>2]){break n}a=N[g+84>>2];if(!a){break n}d=N[h+28>>2];Qa[N[d+8>>2]](d,a)}N[g+84>>2]=0;q:{a=N[h+20>>2];if(a){if(!(Qa[a|0](h,f,0,0)|0)){break q}d=85;break c}if(Q[h+4>>2]>=f>>>0){break q}d=85;break c}N[h+8>>2]=f;continue}break}N[g+96>>2]=a}N[g+20>>2]=0;e=N[g+84>>2];j=e+N[g+88>>2]|0;N[g+16>>2]=j;i=b+164|0;l=b+312|0;h=b+196|0;k=b+140|0;q=j-1|0;r:while(1){N[g+8>>2]=e;Qa[N[g+36>>2]](g+8|0);a=N[g+8>>2];d=(a>>>0>>0?a:q)-17|0;if(d>>>0>e>>>0){f=N[g+104>>2];while(1){s:{if(O[e|0]!=37){break s}if(bb(e,9603,17)|N[b+300>>2]<=0){break s}f=f+1|0;N[g+104>>2]=f}e=e+1|0;if((d|0)!=(e|0)){continue}break}}t:{if(a>>>0>=j>>>0){break t}Qa[N[g+40>>2]](g+8|0);e=N[g+8>>2];if(N[g+20>>2]|j>>>0<=e>>>0){break t}if(O[a|0]!=47|j>>>0<=a+2>>>0){continue}o=a+1|0;if((o|0)==(e|0)){continue}m=e-o|0;if(m>>>0>21){continue}p=O[o|0];d=34672;a=15898;u:{if(m>>>0>=2){while(1){f=d;v:{if((p|0)!=O[a|0]){break v}d=1;if((nb(a)|0)!=(m|0)){break v}while(1){if(O[d+o|0]!=O[a+d|0]){break v}d=d+1|0;if((m|0)!=(d|0)){continue}break}d=f;break u}d=f+36|0;a=N[f+36>>2];if(a){continue}continue r}}while(1){if((p|0)==O[a|0]){if((nb(a)|0)==(m|0)){break u}}a=N[d+36>>2];d=d+36|0;if(a){continue}break}continue}e=N[d+8>>2];w:{if((e|0)==11){Qa[N[d+12>>2]](b,g+8|0);d=N[g+20>>2];break w}a=k;x:{y:{z:{A:{switch(N[d+4>>2]){case 3:a=i;break z;case 2:a=l;break z;case 5:a=h;break z;case 0:break z;default:break A}}a=N[g+104>>2];if((a|0)<0|(a|0)>=N[b+300>>2]){break y}a=N[b+304>>2]+T(a,252)|0}N[g+112>>2]=a;if(e-9>>>0>1){break x}d=Qa[N[g+76>>2]](g+8|0,d,g+112|0,0,0)|0;break w}d=160;N[g+20>>2]=160;break c}d=Qa[N[g+72>>2]](g+8|0,d,g+112|0,0,0)|0}N[g+20>>2]=d;if(d){break c}e=N[g+8>>2];continue}break}if(!N[b+300>>2]){d=3;break c}d=N[g+20>>2];if(d|(c|0)<0){break c}B:{d=Qa[N[n+4>>2]](n,40)|0;if(d){L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+32|0]=0;L[d+33|0]=0;L[d+34|0]=0;L[d+35|0]=0;L[d+36|0]=0;L[d+37|0]=0;L[d+38|0]=0;L[d+39|0]=0;L[d+24|0]=0;L[d+25|0]=0;L[d+26|0]=0;L[d+27|0]=0;L[d+28|0]=0;L[d+29|0]=0;L[d+30|0]=0;L[d+31|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;N[b+328>>2]=d;a=N[b+104>>2];f=N[g+96>>2];C:{if(f){i=N[g+92>>2];d=N[a+4>>2]-i|0;if(d>>>0>>0){N[g+96>>2]=d;f=d}D:{E:{if((f|0)>0){e=Qa[N[n+4>>2]](n,f)|0;if(e){break E}d=64;break B}d=6;if(f){break B}e=0;d=0;break D}a=N[b+104>>2];i=N[g+92>>2];d=N[g+96>>2]}N[b+324>>2]=e;f=La-256|0;La=f;k=a;h=N[a+20>>2];F:{G:{if(h){l=85;a=e;if(!(Qa[h|0](k,i,0,0)|0)){break G}break F}l=85;a=e;if(Q[k+4>>2]>>0){break F}}N[k+8>>2]=i;if((d|0)<=0){a=e}else{o=d+e|0;j=1;i=e;d=f;n=d;while(1){a=i;H:{I:{J:{while(1){if(d>>>0>=n>>>0){d=N[k+4>>2];i=N[k+8>>2];if((d|0)==(i|0)){l=160;break F}l=85;if(d>>>0<=i>>>0){break F}d=d-i|0;d=d>>>0>=256?256:d;h=N[k+20>>2];K:{if(!h){F(f,i+N[k>>2]|0,d);N[k+8>>2]=d+i;h=d;break K}h=Qa[h|0](k,i,f,d)|0;N[k+8>>2]=i+h;if(d>>>0>h>>>0){break F}}n=f+h|0;d=f}i=O[d|0];h=i-48|0;if(h>>>0<10){break I}if((i-97&255)>>>0>=6){if((i-65&255)>>>0<6){break J}h=0;l=160;m=0;L:{switch(i|0){case 62:break H;case 0:case 9:case 10:case 12:case 13:case 32:break L;default:break F}}d=d+1|0;continue}break}h=i-87|0;break I}h=i-55|0}m=1}M:{if(j&255){h=h<<4;i=a;break M}h=O[a|0]+h|0;i=a+1|0}L[a|0]=h;d=d+1|0;j=1-j|0;if(i>>>0>>0&m){continue}break}a=i}l=0}N[g+112>>2]=a-e;La=f+256|0;d=l;if(d){break c}d=N[b+324>>2];e=N[g+112>>2];a=N[b+328>>2];N[a+32>>2]=0;N[a+8>>2]=0;N[a+4>>2]=e;N[a>>2]=d;N[a+20>>2]=0;N[a+24>>2]=0;a=0;break C}e=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=e;e=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=e;e=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=e;e=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=e;e=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=e;a=N[g+92>>2]}N[b+308>>2]=a;i=N[b+288>>2];if((i|0)<0){d=3;break c}l=N[b+292>>2];if((l|0)<=0){d=3;break c}if(i>>>0>4){d=3;break c}if(l>>>0>4){d=3;break c}e=N[N[b+328>>2]+4>>2]-a|0;k=N[b+300>>2];if((k|0)>0){j=N[b+304>>2];d=0;while(1){a=j+T(d,252)|0;if(Q[a+112>>2]>=1001){N[a+112>>2]=7}if(Q[a+116>>2]>=1001){N[a+116>>2]=1}f=N[a+248>>2];if((f|0)<0){d=3;break c}h=N[a+240>>2];if(!f&(h|0)!=0){d=3;break c}if(f>>>0>4){d=3;break c}a=N[a+244>>2];if(a>>>0>e>>>0){d=3;break c}if((h|0)<0){d=3;break c}if(!(!f|h>>>0<=(e-a>>>0)/(f>>>0)>>>0)){d=3;break c}d=d+1|0;if((k|0)!=(d|0)){continue}break}}a=N[b+284>>2];if(a>>>0>e>>>0){d=3;break c}d=3;if(Q[b+296>>2]>(e-a>>>0)/(i+l>>>0)>>>0){break c}l=0;m=0;N:{O:{d=N[b+300>>2];if((d|0)<0){a=6;break O}t=N[b+136>>2];j=N[b+328>>2];o=N[b+100>>2];P:{Q:{R:{S:{T:{U:{V:{W:{if(d){a=10;if((d|0)>268435455){break O}a=d<<3;l=Qa[N[o+4>>2]](o,a)|0;if(!l|(d|0)<=0){break W}C(l,0,a)}N[b+316>>2]=l;h=b+316|0;break V}N[b+316>>2]=l;if(!l){break U}h=b+316|0}a=0;n=N[b+300>>2];if((n|0)<=0){break N}while(1){d=N[b+304>>2]+T(u,252)|0;p=N[d+240>>2];if(p){w=N[d+4>>2];q=p+1|0;X:{if(q>>>0<=a>>>0){e=a;break X}e=(p&-4)+4|0;if(e>>>0<=a>>>0){f=160;break Q}if((a|e)<0){f=6;break Q}if((e|0)>536870911){f=10;break Q}f=e<<2;Y:{if(!a){m=Qa[N[o+4>>2]](o,f)|0;f=!m<<6;break Y}f=Qa[N[o+12>>2]](o,a<<2,f,m)|0;m=f?f:m;f=!f<<6}if(!(f|(a|0)>=(e|0)|!m)){C((a<<2)+m|0,0,e-a<<2);break X}if(f){break Q}}a=N[d+244>>2]+N[b+308>>2]|0;Z:{f=N[j+20>>2];if(f){if(!(Qa[f|0](j,a,0,0)|0)){break Z}f=85;break Q}if(a>>>0<=Q[j+4>>2]){break Z}f=85;break Q}N[j+8>>2]=a;f=Bb(j,T(q,N[d+248>>2]));if(f){break Q}a=N[d+248>>2];r=a&255;_:{if(!r){d=0;while(1){N[(d<<2)+m>>2]=0;d=d+1|0;if(p>>>0>=d>>>0){continue}break}break _}v=a&3;f=N[j+32>>2];k=f+(a+252&252)|0;i=k+4|0;s=0;while(1){d=f;a=0;if(r>>>0>=4){d=i;a=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}n=0;if(v){while(1){a=O[d|0]|a<<8;d=d+1|0;n=n+1|0;if((n&255)!=(v|0)){continue}break}}N[(s<<2)+m>>2]=a;i=i+r|0;k=k+r|0;f=f+r|0;s=s+1|0;if(p>>>0>=s>>>0){continue}break}}if(N[j+20>>2]){a=N[j>>2];if(a){d=N[j+28>>2];Qa[N[d+8>>2]](d,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;d=1;k=N[m>>2];a=k;while(1){f=3;i=a;a=N[(d<<2)+m>>2];if(i>>>0>a>>>0){break Q}d=d+1|0;if(p>>>0>=d>>>0){continue}break}a=N[(p<<2)+m>>2];if(a>>>0>N[j+4>>2]-N[b+308>>2]>>>0){break Q}if((q|0)<0){f=6;break S}if((q|0)>536870911){f=10;break S}f=q<<2;d=Qa[N[o+4>>2]](o,f)|0;$:{if(!(!d|p>>>0>2147483646)){C(d,0,f);N[l+4>>2]=d;break $}N[l+4>>2]=d;if(!d){break T}}aa:{i=a-k|0;if((i|0)>0){n=Qa[N[o+4>>2]](o,i)|0;d=N[l+4>>2];if(n){break aa}f=64;break R}n=0;if((a|0)==(k|0)){break aa}f=6;break R}N[d>>2]=n;a=N[m>>2]+N[b+308>>2]|0;ba:{ca:{d=N[j+20>>2];if(d){if(!(Qa[d|0](j,a,0,0)|0)){break ca}f=85;break Q}n=N[j+4>>2];if(a>>>0<=n>>>0){break ba}f=85;break Q}n=N[j+4>>2]}N[j+8>>2]=a;f=85;if(a>>>0>=n>>>0){break Q}d=N[N[l+4>>2]>>2];k=N[j+20>>2];da:{if(k){n=Qa[k|0](j,a,d,i)|0;break da}k=d;d=n-a|0;n=d>>>0>>0?d:i;F(k,a+N[j>>2]|0,n)}N[j+8>>2]=a+n;if(i>>>0>n>>>0){break Q}a=N[m>>2];d=1;while(1){f=d<<2;i=f+N[l+4>>2]|0;f=N[f+m>>2];N[i>>2]=N[i-4>>2]+(f-a|0);a=f;d=d+1|0;if(p>>>0>=d>>>0){continue}break}ea:{if((w|0)<0){break ea}a=p>>>0<=1?1:p;i=a&1;d=0;if(p>>>0>=2){k=a&-2;while(1){a=d<<2;n=a|4;f=n+m|0;Qa[N[t+16>>2]](N[a+N[l+4>>2]>>2],N[f>>2]-N[a+m>>2]|0,4330);d=d+2|0;Qa[N[t+16>>2]](N[n+N[l+4>>2]>>2],N[(d<<2)+m>>2]-N[f>>2]|0,4330);if((d|0)!=(k|0)){continue}break}}if(!i){break ea}d=d<<2;a=d+m|0;Qa[N[t+16>>2]](N[d+N[l+4>>2]>>2],N[a+4>>2]-N[a>>2]|0,4330)}N[l>>2]=p;n=N[b+300>>2];a=e}l=l+8|0;u=u+1|0;if((u|0)<(n|0)){continue}break}f=0;break P}a=!l<<6;break N}f=!d<<6;break Q}d=l+4|0}N[d>>2]=0}d=N[h>>2];if(!d){break P}if(N[b+300>>2]>0){a=0;while(1){i=a<<3;e=N[(i+d|0)+4>>2];fa:{if(!e){break fa}d=N[e>>2];if(d){Qa[N[o+8>>2]](o,d);e=N[(i+N[h>>2]|0)+4>>2]}N[e>>2]=0;d=N[h>>2];e=N[(i+d|0)+4>>2];if(!e){break fa}Qa[N[o+8>>2]](o,e);d=N[h>>2]}N[(d+i|0)+4>>2]=0;a=a+1|0;if((a|0)>2]){continue}break}}Qa[N[o+8>>2]](o,d);N[h>>2]=0}if(m){Qa[N[o+8>>2]](o,m)}a=f;break N}N[b+316>>2]=0}d=a;break c}N[b+328>>2]=0;d=64;break c}N[b+324>>2]=0}e=N[g+84>>2];if(e){a=N[g+80>>2];if(!(!a|!N[a+20>>2])){a=N[a+28>>2];Qa[N[a+8>>2]](a,e)}N[g+84>>2]=0}Qa[N[g+32>>2]](g+8|0);if(d|(c|0)<0){break a}d=6;if(c&65535){break a}N[b+36>>2]=0;N[b+4>>2]=0;N[b+16>>2]=N[b+296>>2];a=N[b+8>>2];N[b+8>>2]=a|2065;if(O[b+188|0]){N[b+8>>2]=a|2069}N[b+24>>2]=12199;a=N[b+176>>2];N[b+20>>2]=a;ga:{if(a){e=N[b+172>>2];if(!e){break ga}d=O[e|0];if(!d){break ga}while(1){d=d&255;c=O[a|0];ha:{if((d|0)==(c|0)){e=e+1|0;a=a+1|0;break ha}d=d-32|0;if(!(!d|(d|0)==13)){ia:{switch(c-32|0){case 0:case 13:a=a+1|0;break ha;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break ga;default:break ia}}if(c){break ga}N[b+24>>2]=e;break ga}e=e+1|0}d=O[e|0];if(d){continue}break}break ga}a=N[b+140>>2];if(!a){break ga}N[b+20>>2]=a}c=N[b+184>>2]!=0;N[b+12>>2]=c;a=N[b+180>>2];ja:{if(!a){break ja}if(cb(a,16733)){if(cb(a,13781)){break ja}}N[b+12>>2]=c|2}N[b+28>>2]=0;N[b+32>>2]=0;N[b+52>>2]=M[b+198>>1];a=M[b+202>>1];N[b+56>>2]=a;N[b+60>>2]=N[b+204>>2]+65535>>16;c=N[b+208>>2]+65535>>16;N[b- -64>>2]=c;d=P[b+68>>1];if(!d){M[b+68>>1]=1e3;d=1e3}M[b+72>>1]=a;M[b+70>>1]=c;N[b+80>>2]=P[b+190>>1]|P[b+192>>1]<<16;e=b;a=c-a|0;b=(T(d,12)>>>0)/10|0;M[e+74>>1]=(a|0)>b<<16>>16?a:b;d=0}La=g+384|0;return d|0}function Vj(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[a+4|0]|O[a+5|0]<<8;if(c){v=(c<<8|c>>>8)&65535;r=a+6|0;while(1){q=275552;c=O[r|0]|O[r+1|0]<<8;if(c){q=((c<<8|c>>>8)&65535)+a|0}c=O[q|0]|O[q+1|0]<<8;if(c){w=(c<<8|c>>>8)&65535;s=q+2|0;while(1){c=O[s|0]|O[s+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+q|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;l=(d<<8|d>>>8)&65535;A=(l<<1)+c|0;e=A;i=O[e+2|0]|O[e+3|0]<<8;p=(i<<8|i>>>8)&65535;t=(e+2|0)+(i?p<<1:2)|0;x=O[t|0]|O[t+1|0]<<8;u=(x<<8|x>>>8)&65535;y=(u<<1)+t|0;z=O[y+2|0]|O[y+3|0]<<8;if(d){n=c+2|0;g=N[b+8>>2];j=g+24|0;k=g+36|0;while(1){c=O[n|0]|O[n+1|0]<<8;m=(c<<8|c>>>8)&65535;c=O[g+12|0];a:{if(O[g+48|0]){if(!c){break a}e=N[g+20>>2];d=N[g+28>>2];c=m>>>9|0;i=N[g+32>>2];if(!(e>>>0>>0&(c|0)==N[i+(e<<3)>>2])){if((d|0)<=0){break a}d=d-1|0;f=0;while(1){b:{e=d+f>>>1|0;h=N[i+(e<<3)>>2];c:{if((h|0)>(c|0)){d=e-1|0;break c}if((c|0)==(h|0)){break b}f=e+1|0}if((d|0)>=(f|0)){continue}break a}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break a}d=N[(i+(e<<3)|0)+4>>2];N[g+16>>2]=-1;c=(c+(d<<6)|0)+(m>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,m)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break a}if(!c){break a}N[g+16>>2]=-1;o=m>>>9|0;c=N[g+32>>2];d:{e:{e=N[g+20>>2];d=N[g+28>>2];if(e>>>0>=d>>>0){break e}e=(e<<3)+c|0;if((o|0)!=N[e>>2]){break e}c=e+4|0;break d}i=N[g+40>>2];f:{g:{if((d|0)<=0){d=0;break g}f=d-1|0;d=0;while(1){e=d+f>>>1|0;h=N[(e<<3)+c>>2];h:{if((h|0)>(o|0)){f=e-1|0;break h}if((h|0)==(o|0)){d=e;break f}d=e+1|0}if((d|0)<=(f|0)){continue}break}}i:{j:{h=N[k>>2];k:{if((h|0)<0){break k}l:{m:{e=i;c=e+1|0;f=(c|0)>0?c:0;if(f>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(f>>>0>=h>>>0){continue}break}c=k;if(h>>>0>67108863){break m}e=$a(N[g+44>>2],h<<6);if(!e){break m}N[g+36>>2]=h;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,f-e<<6)}N[g+40>>2]=f;e=N[g+24>>2];if((e|0)<0){break l}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}c=j;if(e>>>0>536870911){break m}h=$a(N[g+32>>2],e<<3);if(!h){break m}N[g+24>>2]=e;N[g+32>>2]=h}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,f-c<<3)}N[g+28>>2]=f;c=N[g+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=d<<3;e=c+N[g+32>>2]|0;F(e+8|0,e,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break j}N[147456]=0;N[147457]=0;c=589824;break i}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break k}c=N[g+28>>2];c=(c|0)>0?c:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}n:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break n}}N[k>>2]=-1;L[g+12|0]=0;break a}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[g+12|0]=0;break a}c=c+N[g+32>>2]|0}N[c>>2]=o;N[c+4>>2]=i;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break a}c=(d+(N[c>>2]<<6)|0)+(m>>>3&56)|0;f=N[c+4>>2];i=m&63;e=i&31;d=c;d=c;h=N[c>>2];if((i&63)>>>0>=32){c=1<>>32-e}N[d>>2]=h|i;N[d+4>>2]=c|f}n=n+2|0;l=l-1|0;if(l){continue}break}}if(p>>>0>=2){n=A+4|0;l=p-1|0;g=N[b+12>>2];j=g+24|0;k=g+36|0;while(1){c=O[n|0]|O[n+1|0]<<8;m=(c<<8|c>>>8)&65535;c=O[g+12|0];o:{if(O[g+48|0]){if(!c){break o}e=N[g+20>>2];d=N[g+28>>2];c=m>>>9|0;i=N[g+32>>2];if(!(e>>>0>>0&(c|0)==N[i+(e<<3)>>2])){if((d|0)<=0){break o}d=d-1|0;f=0;while(1){p:{e=d+f>>>1|0;h=N[i+(e<<3)>>2];q:{if((h|0)>(c|0)){d=e-1|0;break q}if((c|0)==(h|0)){break p}f=e+1|0}if((d|0)>=(f|0)){continue}break o}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break o}d=N[(i+(e<<3)|0)+4>>2];N[g+16>>2]=-1;c=(c+(d<<6)|0)+(m>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,m)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break o}if(!c){break o}N[g+16>>2]=-1;o=m>>>9|0;c=N[g+32>>2];r:{s:{e=N[g+20>>2];d=N[g+28>>2];if(e>>>0>=d>>>0){break s}e=(e<<3)+c|0;if((o|0)!=N[e>>2]){break s}c=e+4|0;break r}i=N[g+40>>2];t:{u:{if((d|0)<=0){d=0;break u}f=d-1|0;d=0;while(1){e=d+f>>>1|0;h=N[(e<<3)+c>>2];v:{if((h|0)>(o|0)){f=e-1|0;break v}if((h|0)==(o|0)){d=e;break t}d=e+1|0}if((d|0)<=(f|0)){continue}break}}w:{x:{h=N[k>>2];y:{if((h|0)<0){break y}z:{A:{e=i;c=e+1|0;f=(c|0)>0?c:0;if(f>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(f>>>0>=h>>>0){continue}break}c=k;if(h>>>0>67108863){break A}e=$a(N[g+44>>2],h<<6);if(!e){break A}N[g+36>>2]=h;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,f-e<<6)}N[g+40>>2]=f;e=N[g+24>>2];if((e|0)<0){break z}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}c=j;if(e>>>0>536870911){break A}h=$a(N[g+32>>2],e<<3);if(!h){break A}N[g+24>>2]=e;N[g+32>>2]=h}c=N[g+28>>2];if(c>>>0>>0){C(N[g+32>>2]+(c<<3)|0,0,f-c<<3)}N[g+28>>2]=f;c=N[g+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=d<<3;e=c+N[g+32>>2]|0;F(e+8|0,e,N[g+28>>2]+(d^-1)<<3);if(Q[g+28>>2]>d>>>0){break x}N[147456]=0;N[147457]=0;e=589824;break w}N[c>>2]=-1}f=N[g+36>>2];if((f|0)<0){break y}c=N[g+28>>2];c=(c|0)>0?c:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}B:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break B}}N[k>>2]=-1;L[g+12|0]=0;break o}N[g+36>>2]=f;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[g+12|0]=0;break o}e=c+N[g+32>>2]|0}N[e>>2]=o;N[e+4>>2]=i;c=N[g+32>>2]}N[g+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[g+44>>2];if(!d){break o}c=(d+(N[c>>2]<<6)|0)+(m>>>3&56)|0;f=N[c+4>>2];e=m&63;d=e&31;if((e&63)>>>0>=32){i=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=f|i}n=n+2|0;l=l-1|0;if(l){continue}break}}if(x){n=t+2|0;j=N[b+16>>2];k=j+24|0;l=j+36|0;while(1){c=O[n|0]|O[n+1|0]<<8;g=(c<<8|c>>>8)&65535;c=O[j+12|0];C:{if(O[j+48|0]){if(!c){break C}e=N[j+20>>2];d=N[j+28>>2];c=g>>>9|0;i=N[j+32>>2];if(!(e>>>0>>0&(c|0)==N[i+(e<<3)>>2])){if((d|0)<=0){break C}d=d-1|0;f=0;while(1){D:{e=d+f>>>1|0;h=N[i+(e<<3)>>2];E:{if((h|0)>(c|0)){d=e-1|0;break E}if((c|0)==(h|0)){break D}f=e+1|0}if((d|0)>=(f|0)){continue}break C}break}N[j+20>>2]=e}c=N[j+44>>2];if(!c){break C}d=N[(i+(e<<3)|0)+4>>2];N[j+16>>2]=-1;c=(c+(d<<6)|0)+(g>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,g)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break C}if(!c){break C}N[j+16>>2]=-1;m=g>>>9|0;c=N[j+32>>2];F:{G:{e=N[j+20>>2];d=N[j+28>>2];if(e>>>0>=d>>>0){break G}e=(e<<3)+c|0;if((m|0)!=N[e>>2]){break G}c=e+4|0;break F}i=N[j+40>>2];H:{I:{if((d|0)<=0){d=0;break I}f=d-1|0;d=0;while(1){e=d+f>>>1|0;h=N[(e<<3)+c>>2];J:{if((h|0)>(m|0)){f=e-1|0;break J}if((h|0)==(m|0)){d=e;break H}d=e+1|0}if((d|0)<=(f|0)){continue}break}}K:{L:{h=N[l>>2];M:{if((h|0)<0){break M}N:{O:{e=i;c=e+1|0;f=(c|0)>0?c:0;if(f>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(f>>>0>=h>>>0){continue}break}c=l;if(h>>>0>67108863){break O}e=$a(N[j+44>>2],h<<6);if(!e){break O}N[j+36>>2]=h;N[j+44>>2]=e;e=N[j+40>>2]}if(e>>>0>>0){C(N[j+44>>2]+(e<<6)|0,0,f-e<<6)}N[j+40>>2]=f;e=N[j+24>>2];if((e|0)<0){break N}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}c=k;if(e>>>0>536870911){break O}h=$a(N[j+32>>2],e<<3);if(!h){break O}N[j+24>>2]=e;N[j+32>>2]=h}c=N[j+28>>2];if(c>>>0>>0){C(N[j+32>>2]+(c<<3)|0,0,f-c<<3)}N[j+28>>2]=f;c=N[j+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=d<<3;e=c+N[j+32>>2]|0;F(e+8|0,e,N[j+28>>2]+(d^-1)<<3);if(Q[j+28>>2]>d>>>0){break L}N[147456]=0;N[147457]=0;c=589824;break K}N[c>>2]=-1}f=N[j+36>>2];if((f|0)<0){break M}c=N[j+28>>2];c=(c|0)>0?c:0;if(c>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(c>>>0>=f>>>0){continue}break}P:{if(f>>>0<=67108863){d=$a(N[j+44>>2],f<<6);if(d){break P}}N[l>>2]=-1;L[j+12|0]=0;break C}N[j+36>>2]=f;N[j+44>>2]=d}d=N[j+40>>2];if(d>>>0>>0){C(N[j+44>>2]+(d<<6)|0,0,c-d<<6)}N[j+40>>2]=c}L[j+12|0]=0;break C}c=c+N[j+32>>2]|0}N[c>>2]=m;N[c+4>>2]=i;c=N[j+32>>2]}N[j+20>>2]=d;c=((d<<3)+c|0)+4|0}d=N[j+44>>2];if(!d){break C}c=(d+(N[c>>2]<<6)|0)+(g>>>3&56)|0;f=N[c+4>>2];e=g&63;d=e&31;if((e&63)>>>0>=32){i=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=f|i}n=n+2|0;u=u-1|0;if(u){continue}break}}if(z){m=(z<<8|z>>>8)&65535;o=y+4|0;n=0;while(1){k=N[b+32>>2];Q:{if(!k|!N[b+24>>2]|N[b+20>>2]==275552){break Q}c=o+(n<<2)|0;c=O[c+2|0]|O[c+3|0]<<8;g=(c<<8|c>>>8)&65535;j=g>>>9|0;c=N[b+28>>2];l=N[c+32>>2];R:{S:{T:{d=N[c+20>>2];i=N[c+28>>2];if(d>>>0>=i>>>0){break T}d=l+(d<<3)|0;if((j|0)!=N[d>>2]){break T}e=d+4|0;break S}d=0;if((i|0)<=0){break R}f=i-1|0;e=0;U:{while(1){d=e+f>>>1|0;h=l+(d<<3)|0;p=N[h>>2];V:{if((p|0)>(j|0)){f=d-1|0;break V}if((j|0)==(p|0)){break U}e=d+1|0}if((e|0)<=(f|0)){continue}break}d=0;break R}N[c+20>>2]=d;e=(d>>>0>=i>>>0?275552:h)+4|0}i=N[c+44>>2];d=0;if(!i){break R}d=(i+(N[e>>2]<<6)|0)+(g>>>3&56)|0;f=N[d>>2];i=N[d+4>>2];e=g&63;d=e&31;d=((e&63)>>>0>=32?i>>>d|0:((1<>>d)&1}if((d|0)!=O[c+48|0]){break Q}c=N[b+16>>2];N[b+16>>2]=275552;d=N[b+8>>2];e=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=k-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,g);N[b+16>>2]=c;N[b+8>>2]=d;N[b+12>>2]=e;N[b+32>>2]=N[b+32>>2]+1;k=N[b+28>>2];c=O[k+12|0];if(O[k+48|0]){if(!c){break Q}d=N[k+20>>2];e=N[k+28>>2];c=N[k+32>>2];if(!(d>>>0>>0&(j|0)==N[c+(d<<3)>>2])){if((e|0)<=0){break Q}f=e-1|0;e=0;while(1){W:{d=e+f>>>1|0;i=N[c+(d<<3)>>2];X:{if((i|0)>(j|0)){f=d-1|0;break X}if((j|0)==(i|0)){break W}e=d+1|0}if((e|0)<=(f|0)){continue}break Q}break}N[k+20>>2]=d}e=N[k+44>>2];if(!e){break Q}c=N[(c+(d<<3)|0)+4>>2];N[k+16>>2]=-1;c=(e+(c<<6)|0)+(g>>>3&56)|0;d=N[c>>2];e=N[c+4>>2];B=c,D=_E(-2,-1,g)&d,N[B>>2]=D;N[c+4>>2]=Pa&e;break Q}if(!c){break Q}N[k+16>>2]=-1;c=N[k+32>>2];Y:{Z:{e=N[k+20>>2];d=N[k+28>>2];if(e>>>0>=d>>>0){break Z}e=(e<<3)+c|0;if((j|0)!=N[e>>2]){break Z}c=e+4|0;break Y}i=N[k+40>>2];_:{$:{if((d|0)<=0){f=0;break $}e=d-1|0;f=0;while(1){d=e+f>>>1|0;l=N[(d<<3)+c>>2];aa:{if((l|0)>(j|0)){e=d-1|0;break aa}if((j|0)==(l|0)){f=d;break _}f=d+1|0}if((e|0)>=(f|0)){continue}break}}ba:{ca:{c=k+36|0;h=N[c>>2];da:{if((h|0)<0){break da}ea:{fa:{d=i;e=d+1|0;e=(e|0)>0?e:0;if(e>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(e>>>0>=h>>>0){continue}break}l=c;if(h>>>0>67108863){break fa}d=$a(N[k+44>>2],h<<6);if(!d){break fa}N[k+36>>2]=h;N[k+44>>2]=d;d=N[k+40>>2]}if(d>>>0>>0){C(N[k+44>>2]+(d<<6)|0,0,e-d<<6)}N[k+40>>2]=e;l=k+24|0;d=N[l>>2];if((d|0)<0){break ea}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(e>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break fa}h=$a(N[k+32>>2],d<<3);if(!h){break fa}N[k+24>>2]=d;N[k+32>>2]=h}c=N[k+28>>2];if(c>>>0>>0){C(N[k+32>>2]+(c<<3)|0,0,e-c<<3)}N[k+28>>2]=e;c=N[k+44>>2]+(i<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=f<<3;d=c+N[k+32>>2]|0;F(d+8|0,d,N[k+28>>2]+(f^-1)<<3);if(Q[k+28>>2]>f>>>0){break ca}N[147456]=0;N[147457]=0;d=589824;break ba}N[l>>2]=-1}f=N[k+36>>2];if((f|0)<0){break da}d=N[k+28>>2];d=(d|0)>0?d:0;if(d>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(d>>>0>=f>>>0){continue}break}ga:{if(f>>>0<=67108863){e=$a(N[k+44>>2],f<<6);if(e){break ga}}N[c>>2]=-1;L[k+12|0]=0;break Q}N[k+36>>2]=f;N[k+44>>2]=e}c=N[k+40>>2];if(c>>>0>>0){C(N[k+44>>2]+(c<<6)|0,0,d-c<<6)}N[k+40>>2]=d}L[k+12|0]=0;break Q}d=c+N[k+32>>2]|0}N[d>>2]=j;N[d+4>>2]=i;c=N[k+32>>2]}N[k+20>>2]=f;c=((f<<3)+c|0)+4|0}d=N[k+44>>2];if(!d){break Q}c=(d+(N[c>>2]<<6)|0)+(g>>>3&56)|0;f=N[c+4>>2];e=g&63;d=e&31;if((e&63)>>>0>=32){i=1<>>32-d}N[c>>2]=e|N[c>>2];N[c+4>>2]=f|i}n=n+1|0;if((m|0)!=(n|0)){continue}break}}s=s+2|0;w=w-1|0;if(w){continue}break}}r=r+2|0;v=v-1|0;if(v){continue}break}}}function zC(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ca=0,da=0;f=La-26336|0;La=f;S=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{d=N[b+40>>2];b:{if(!d){break b}c=d+(N[b+36>>2]<<2)|0;i=c-4|0;c:{d:{e:{if(d>>>0<=i>>>0){while(1){m=N[i>>2];f:{if(N[m+4>>2]!=1970170211){break f}g:{switch(P[m+8>>1]){case 3:if(P[m+10>>1]!=10){break f}break e;case 0:break g;default:break f}}if(P[m+10>>1]==4){break e}}i=i-4|0;if(d>>>0<=i>>>0){continue}break}}while(1){c=c-4|0;if(d>>>0>c>>>0){break d}m=N[c>>2];if(N[m+4>>2]!=1970170211){continue}break}}N[b+92>>2]=m;c=N[b+100>>2];C(f+19664|4,0,2748);N[f+19664>>2]=c;N[a+9856>>2]=0;N[a+52>>2]=0;c=N[N[(N[N[a>>2]+8>>2]<<2)+288704>>2]+16>>2];i=db(1,172);h:{if(!i){i=588184;break h}N[i+148>>2]=1073741823;N[i+152>>2]=536870911;N[i>>2]=1;N[i+4>>2]=1;d=Ic();i:{if(!d){break i}e=N[d>>2];if(!e){break i}if((e|0)<=0){break a}N[d>>2]=e+1}L[i+60|0]=1;N[i+24>>2]=65533;N[i+12>>2]=d}j:{k:{m=O[c|0];if(m){while(1){if((m&255)==32){while(1){d=O[c+1|0];c=c+1|0;if((d|0)==32){continue}break}}c=Ge(c,a,i,f);l:{if(Q[f>>2]>1){break l}d=N[i+80>>2];e=N[i+68>>2];m:{if(O[i+63|0]|N[i+168>>2]){break m}N[i+84>>2]=d;N[i+72>>2]=0;M[i+62>>1]=256;g=T(e,20);if(!g){break m}C(N[i+88>>2],0,g)}if(!e){break l}d=N[d>>2];if(d){break k}}m=O[c|0];if(m){continue}break}}dc(i);break j}dc(i);if(vc(b,d,1)){break j}c=N[b+84>>2];if(M[c+110>>1]<=0){break j}C(f,0,19652);d=N[a+40>>2];N[f+8>>2]=65536;N[f+12>>2]=65536;N[f+40>>2]=d;N[f+4>>2]=b;N[f+22404>>2]=0;N[f+22412>>2]=f;if(sf(f+19664|0,c+108|0)){break j}if(Yd(f+19664|0,0)){break j}i=0;rf(f+19664|0,0,0,0);d=N[f+19708>>2];if((d|0)>0){c=N[f+19716>>2];e=c+T(d,44)|0;while(1){d=N[c+20>>2];if(!(!d|c>>>0>=d>>>0|(N[d+20>>2]!=(c|0)|i>>>0>15))){g=M[c+2>>1]-M[d+2>>1]|0;d=g>>31;N[(T(i,12)+a|0)+56>>2]=(d^g)-d;i=i+1|0}c=c+44|0;if(e>>>0>c>>>0){continue}break}}N[f+26288>>2]=i;Eg(f+26288|0,a+56|0,Q[f+40>>2]/100|0);N[a+52>>2]=N[f+26288>>2];if(Yd(f+19664|0,1)){break j}i=0;rf(f+19664|0,0,0,1);d=N[f+21056>>2];if((d|0)>0){c=N[f+21064>>2];e=c+T(d,44)|0;while(1){d=N[c+20>>2];if(!(!d|c>>>0>=d>>>0|(N[d+20>>2]!=(c|0)|i>>>0>15))){g=M[c+2>>1]-M[d+2>>1]|0;d=g>>31;N[(T(i,12)+a|0)+9860>>2]=(d^g)-d;i=i+1|0}c=c+44|0;if(e>>>0>c>>>0){continue}break}}N[f+26288>>2]=i;Eg(f+26288|0,a+9860|0,Q[f+40>>2]/100|0);N[a+9856>>2]=N[f+26288>>2]}if(N[a+52>>2]){c=N[a+56>>2]}else{c=(T(N[a+40>>2],50)|0)/2048|0}L[a+256|0]=0;N[a+252>>2]=c;N[a+248>>2]=(c|0)/5;if(N[a+9856>>2]){c=N[a+9860>>2]}else{c=(T(N[a+40>>2],50)|0)/2048|0}L[a+10060|0]=0;N[a+10056>>2]=c;N[a+10052>>2]=(c|0)/5;c=N[f+19664>>2];if(c){N[f+19708>>2]=0;N[f+19712>>2]=0;d=N[f+19716>>2];if((d|0)!=(f+19736|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19716>>2]=0}d=f+19720|0;N[d>>2]=0;N[d+4>>2]=0;d=N[f+19728>>2];if((d|0)!=(f+20528|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19728>>2]=0}d=f+21056|0;N[d>>2]=0;N[d+4>>2]=0;d=N[f+21064>>2];if((d|0)!=(f+21084|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+21064>>2]=0}d=f+21068|0;N[d>>2]=0;N[d+4>>2]=0;d=N[f+21076>>2];if((d|0)!=(f+21876|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+21076>>2]=0}d=N[f+19704>>2];if((d|0)!=(f+22416|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19704>>2]=0}N[f+19696>>2]=0;N[f+19700>>2]=0;d=N[f+19692>>2];if((d|0)!=(f+22448|0)){if(d){Qa[N[c+8>>2]](c,d)}N[f+19692>>2]=0}N[f+19684>>2]=0;N[f+19688>>2]=0}$=Q[a+40>>2]/14|0;V=N[a>>2];e=N[V+12>>2];o=db(1,172);n:{if(!o){o=588184;break n}N[o+148>>2]=1073741823;N[o+152>>2]=536870911;N[o>>2]=1;N[o+4>>2]=1;c=Ic();o:{if(!c){break o}d=N[c>>2];if(!d){break o}if((d|0)<=0){break a}N[c>>2]=d+1}L[o+60|0]=1;N[o+24>>2]=65533;N[o+12>>2]=c}c=(e<<3)+283472|0;m=N[c>>2];if((m|0)!=5531){while(1){G=c;E=m+277936|0;c=O[E|0];p:{if(!c){break p}v=0;u=0;m=0;i=0;while(1){if((c&255)==32){while(1){c=O[E+1|0];E=E+1|0;if((c|0)==32){continue}break}}E=Ge(E,a,o,f+26288|0);W=N[f+26288>>2];q:{if(!W){break q}c=P[G+4>>1];X=c&1;z=X?-2147483648:2147483647;Y=c&4;aa=c&16;ca=c&3;J=0;K=0;while(1){d=N[o+80>>2];e=N[o+68>>2];r:{s:{if(O[o+63|0]){break s}c=0;if(N[o+168>>2]){break r}N[o+84>>2]=d;N[o+72>>2]=0;M[o+62>>1]=256;c=T(e,20);if(!c){break s}C(N[o+88>>2],0,c)}c=N[o+88>>2]}t:{if(e>>>0<=J>>>0){break t}e=d;d=T(J,20);e=N[e+d>>2];if(!e){break t}F=N[(c+d|0)+12>>2];if(vc(b,e,1)){break t}c=N[b+84>>2];if(M[c+110>>1]<3){break t}r=0;A=M[c+108>>1];u:{if((A|0)<=0){A=0;break u}H=N[c+120>>2];D=N[c+116>>2];p=N[c+112>>2];g=-1;w=0;h=0;q=0;d=0;while(1){n=M[H+(q<<1)>>1];v:{if((n|0)<=(h|0)){c=g;break v}c=(n-h|0)+1&1;w:{if(ca){x:{if(!c){j=h;e=d;c=g;break x}e=N[((h<<3)+p|0)+4>>2];c=F+e|0;j=h+1|0;y:{if(!((g|0)<0|(d|0)<(e|0))){i=(c|0)>(i|0)?i:c;e=d;c=g;break y}m=(c|0)<(m|0)?m:c;d=e;c=h}}if((h|0)==(n|0)){break w}while(1){d=N[((j<<3)+p|0)+4>>2];k=F+d|0;z:{if(!((d|0)<=(e|0)&(c|0)>=0)){m=(m|0)>(k|0)?m:k;c=j;break z}i=(i|0)<(k|0)?i:k;d=e}k=j+1|0;e=N[((k<<3)+p|0)+4>>2];l=F+e|0;A:{if(!((c|0)<0|(d|0)<(e|0))){i=(i|0)<(l|0)?i:l;e=d;break A}m=(l|0)<(m|0)?m:l;c=k}j=j+2|0;d=e;if((k|0)!=(n|0)){continue}break}break w}B:{if(!c){j=h;e=d;c=g;break B}e=N[((h<<3)+p|0)+4>>2];c=F+e|0;j=h+1|0;C:{if(!((g|0)<0|(d|0)>(e|0))){m=(c|0)<(m|0)?m:c;e=d;c=g;break C}i=(c|0)>(i|0)?i:c;d=e;c=h}}if((h|0)==(n|0)){break w}while(1){d=N[((j<<3)+p|0)+4>>2];k=F+d|0;D:{if(!((c|0)>=0&(d|0)>=(e|0))){i=(i|0)<(k|0)?i:k;c=j;break D}m=(m|0)>(k|0)?m:k;d=e}k=j+1|0;e=N[((k<<3)+p|0)+4>>2];l=F+e|0;E:{if(!((c|0)<0|(d|0)>(e|0))){m=(l|0)<(m|0)?m:l;e=d;break E}i=(i|0)<(l|0)?i:l;c=k}j=j+2|0;d=e;if((k|0)!=(n|0)){continue}break}}e=(c|0)==(g|0);r=e?r:h;w=e?w:n;g=c}h=n+1|0;q=q+1|0;if((A|0)!=(q|0)){continue}break}A=0;if((c|0)<0){r=d;break u}H=N[(c<<3)+p>>2];k=c;e=(O[c+D|0]&3)!=1?-1:c;j=e;F:{while(1){g=(k|0)>(r|0)?k-1|0:w;n=(g<<3)+p|0;l=N[n+4>>2]-d|0;h=l>>31;l=(h^l)-h|0;if(l>>>0>=6){n=N[n>>2]-H|0;h=n>>31;if((h^n)-h>>>0<=T(l,20)>>>0){break F}}h=(O[g+D|0]&3)==1;j=h?(j|0)<0?g:j:j;e=h?g:e;k=g;if((g|0)!=(c|0)){continue}break}k=c}g=c;G:{while(1){h=(g|0)<(w|0)?g+1|0:r;U=(h<<3)+p|0;l=N[U+4>>2]-d|0;n=l>>31;l=(l^n)-n|0;if(l>>>0>=6){q=N[U>>2]-H|0;n=q>>31;if((n^q)-n>>>0<=T(l,20)>>>0){break G}}g=(O[h+D|0]&3)==1;e=g?(e|0)<0?h:e:e;j=g?h:j;g=h;if((g|0)!=(c|0)){continue}break}g=c}H:{I:{if(!aa){break I}n=N[(g<<3)+p>>2]-N[(k<<3)+p>>2]|0;h=n>>31;q=N[a+40>>2];Z=(q>>>0)/25|0;if(Z>>>0<=(h^n)-h>>>0){break I}l=c;if(((g-k|0)+2|0)>(w-r|0)){break I}while(1){l=(l|0)>(r|0)?l-1|0:w;_=N[(l<<3)+p>>2];if((H|0)==(_|0)&(c|0)!=(l|0)){continue}break}if((c|0)==(l|0)){break t}da=q>>>2|0;I=0;n=g;c=g;l=0;h=0;while(1){if(!I){n=c;l=(O[c+D|0]&3)!=1?-1:c;h=l}c=(c|0)<(w|0)?c+1|0:r;I=0;x=(n<<3)+p|0;q=N[x+4>>2];y=d-q|0;t=y>>31;J:{if((t^y)-t>>>0>da>>>0){break J}t=(c<<3)+p|0;s=N[t+4>>2]-q|0;y=s>>31;y=(s^y)-y|0;K:{if(y>>>0<=5){t=N[t>>2];x=N[x>>2];s=t-x|0;I=s>>31;s=(s^I)-I|0;break K}t=N[t>>2];x=N[x>>2];R=t-x|0;s=R>>31;s=(s^R)-s|0;if(s>>>0<=T(y,20)>>>0){break J}}I=1;R=(O[c+D|0]&3)==1;l=R?(l|0)<0?c:l:l;h=R?c:h;if((t|0)>(x|0)^(H|0)>(_|0)|s>>>0>>0){break J}e=T(y,20);while(1){c=(c|0)<(w|0)?c+1|0:r;g=N[((c<<3)+p|0)+4>>2]-q|0;d=g>>31;L:{if((d^g)-d>>>0<6){break L}g=N[U>>2]-x|0;d=g>>31;if(e>>>0<(d^g)-d>>>0){break L}g=(c|0)>(r|0)?c-1|0:w;break H}l=(O[c+D|0]&3)==1?(l|0)<0?c:l:l;h=c;if((c|0)!=(k|0)){continue}break}g=k;h=g;break H}if((c|0)!=(k|0)){continue}break}}q=d;n=k;l=e;h=j}r=q+F|0;if((l|h)>=0){d=N[(h<<3)+p>>2]-N[(l<<3)+p>>2]|0;c=d>>31;if((c^d)-c>>>0>$>>>0){break u}}if((O[n+D|0]&3)==1){c=O[g+D|0]&3;A=(c|0)!=1;if(!Y|(c|0)==1){break u}break t}A=1;if(Y){break t}}if(X){c=(r|0)>(z|0);z=c?r:z;K=c?A:K;break t}c=(r|0)<(z|0);z=c?r:z;K=c?A:K}J=J+1|0;if((W|0)!=(J|0)){continue}break}if(z-2147483647>>>0<2){break q}c=K&255;N[(c?(f+19664|0)+(u<<2)|0:(v<<2)+f|0)>>2]=z;v=!c+v|0;u=((c|0)!=0)+u|0}c=O[E|0];if(c){continue}break}if(!(u|v)){break p}M:{if(u>>>0<2){break M}d=1;if((u|0)!=2){c=u-1|0;h=c&1;j=c&-2;l=0;while(1){g=N[(f+19664|0)+(d<<2)>>2];c=d;while(1){e=c-1|0;k=(f+19664|0)+(e<<2)|0;n=N[k>>2];if((n|0)>(g|0)){N[(f+19664|0)+(c<<2)>>2]=n;N[k>>2]=g;c=e;if(c){continue}}break}c=d+1|0;e=N[(f+19664|0)+(c<<2)>>2];while(1){N:{g=((c<<2)+f|0)+19660|0;k=N[g>>2];if((k|0)<=(e|0)){break N}n=f+19664|0;N[n+(c<<2)>>2]=k;N[g>>2]=e;c=c-2|0;k=n+(c<<2)|0;n=N[k>>2];if((n|0)<=(e|0)){break N}N[g>>2]=n;N[k>>2]=e;if(c){continue}}break}d=d+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}if(!h){break M}}e=N[(f+19664|0)+(d<<2)>>2];while(1){c=d-1|0;g=(f+19664|0)+(c<<2)|0;h=N[g>>2];if((h|0)<=(e|0)){break M}N[(f+19664|0)+(d<<2)>>2]=h;N[g>>2]=e;d=c;if(c){continue}break}}O:{if(v>>>0<2){break O}d=1;if((v|0)!=2){c=v-1|0;h=c&1;j=c&-2;l=0;while(1){g=N[(d<<2)+f>>2];c=d;while(1){e=c-1|0;k=(e<<2)+f|0;n=N[k>>2];if((n|0)>(g|0)){N[(c<<2)+f>>2]=n;N[k>>2]=g;c=e;if(c){continue}}break}c=d+1|0;e=N[(c<<2)+f>>2];while(1){P:{g=(c-1<<2)+f|0;k=N[g>>2];if((k|0)<=(e|0)){break P}N[(c<<2)+f>>2]=k;N[g>>2]=e;c=c-2|0;k=(c<<2)+f|0;n=N[k>>2];if((n|0)<=(e|0)){break P}N[g>>2]=n;N[k>>2]=e;if(c){continue}}break}d=d+2|0;l=l+2|0;if((j|0)!=(l|0)){continue}break}if(!h){break O}}e=N[(d<<2)+f>>2];while(1){c=d-1|0;g=(c<<2)+f|0;h=N[g>>2];if((h|0)<=(e|0)){break O}N[(d<<2)+f>>2]=h;N[g>>2]=e;d=c;if(c){continue}break}}c=N[a+10064>>2];N[a+10064>>2]=c+1;c=T(c,36)+a|0;d=c+10080|0;g=c+10068|0;Q:{R:{if(!v){e=N[(f+19664|0)+(u<<1&-4)>>2];break R}e=N[(v<<1&-4)+f>>2];if(!u){break R}N[g>>2]=e;h=N[(f+19664|0)+(u<<1&-4)>>2];N[d>>2]=h;if((e|0)==(h|0)){j=P[G+4>>1];break Q}j=P[G+4>>1];if(((j&3)!=0|0)==((e|0)<(h|0)|0)){break Q}k=d;d=(e+h|0)/2|0;N[k>>2]=d;N[g>>2]=d;break Q}N[d>>2]=e;N[g>>2]=e;j=P[G+4>>1]}d=c+10100|0;e=j<<1&14;N[d>>2]=e;N[c+10096>>2]=i;N[c+10092>>2]=m;if(!(j&8)){break p}N[d>>2]=e|16}c=G+8|0;m=N[G+8>>2];if((m|0)!=5531){continue}break}}dc(o);S:{T:{g=N[a+10064>>2];if(g){i=0;c=0;if(g>>>0>=4){h=g&-4;d=a+10068|0;while(1){e=f+26288|0;N[e+(c<<2)>>2]=d+T(c,36);j=c|1;N[e+(j<<2)>>2]=d+T(j,36);j=c|2;N[e+(j<<2)>>2]=d+T(j,36);j=c|3;N[e+(j<<2)>>2]=d+T(j,36);c=c+4|0;if((h|0)!=(c|0)){continue}break}}d=g&3;if(d){while(1){N[(f+26288|0)+(c<<2)>>2]=(T(c,36)+a|0)+10068;c=c+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}if(g>>>0>=2){e=1;while(1){h=N[(f+26288|0)+(e<<2)>>2];k=N[(O[h+32|0]&6?0:12)+h>>2];c=e;while(1){d=c-1|0;n=(f+26288|0)+(d<<2)|0;j=N[n>>2];if((k|0)>2]){N[(f+26288|0)+(c<<2)>>2]=j;N[n>>2]=h;c=d;if(c){continue}}break}e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=g-1|0;if(e){c=N[f+26288>>2];i=N[c+32>>2];m=0;while(1){d=i&6?c+12|0:c;m=m+1|0;c=N[(f+26288|0)+(m<<2)>>2];i=N[c+32>>2];g=N[(i&6?12:0)+c>>2];if((g|0)>2]){N[d>>2]=g}if((e|0)!=(m|0)){continue}break}}N[f+16>>2]=N[73412];c=N[73411];N[f+8>>2]=N[73410];N[f+12>>2]=c;c=N[73409];N[f>>2]=N[73408];N[f+4>>2]=c;c=db(1,172);if(c){break T}c=588184;break S}c=N[a+36>>2];a=N[c+4>>2];U:{if((a|0)<=0){break U}d=N[c+8>>2];e=N[V>>2];c=0;if((a|0)!=1){g=a&1;a=a&-2;while(1){h=c<<1;j=h+d|0;if((e|0)==(P[j>>1]&16383)){M[j>>1]=66}h=d+(h|2)|0;if((e|0)==(P[h>>1]&16383)){M[h>>1]=66}c=c+2|0;if((a|0)!=(c|0)){continue}break}if(!g){break U}}a=d+(c<<1)|0;if((e|0)!=(P[a>>1]&16383)){break U}M[a>>1]=66}m=-1;break c}N[c+148>>2]=1073741823;N[c+152>>2]=536870911;N[c>>2]=1;N[c+4>>2]=1;d=Ic();V:{if(!d){break V}e=N[d>>2];if(!e){break V}if((e|0)<=0){break a}N[d>>2]=e+1}L[c+60|0]=1;N[c+24>>2]=65533;N[c+12>>2]=d}m=f;d=0;e=0;W:{while(1){m=Ge(m,a,c,f+19664|0);X:{if(Q[f+19664>>2]>1){break X}g=N[c+80>>2];h=N[c+68>>2];Y:{Z:{if(O[c+63|0]){break Z}j=0;if(N[c+168>>2]){break Y}N[c+84>>2]=g;N[c+72>>2]=0;M[c+62>>1]=256;j=T(h,20);if(!j){break Z}C(N[c+88>>2],0,j)}j=N[c+88>>2]}if(!h|!N[g>>2]){break X}g=N[j>>2];h=d&255;d=1;if(!h){e=g;break X}if((e|0)==(g|0)){break X}d=0;break W}if(O[m|0]){continue}break}d=1}dc(c);L[a+32|0]=d}m=0}if(!b|!S){break b}c=N[b+40>>2];if(!c){break b}a=N[b+36>>2];if((a|0)<=0){break b}a=(a<<2)+c|0;while(1){_:{if(N[c>>2]!=(S|0)){break _}d=N[S>>2];$:{if(!d){break $}d=N[d+96>>2];e=N[N[d>>2]+32>>2];if(!e){break $}d=Qa[e|0](d,10557)|0;if(!d){break $}if(Qa[N[d>>2]](S,f)|0){break $}if(N[f+4>>2]==14){break _}}N[b+92>>2]=N[c>>2];break b}c=c+4|0;if(a>>>0>c>>>0){continue}break}}La=f+26336|0;return m|0}ba(23506,14099,260,16403);B()}function vx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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;f=La-1536|0;La=f;N[b>>2]=1;d=N[b+96>>2];a:{b:{if(!d){break b}a=N[N[d>>2]+32>>2];if(a){l=Qa[a|0](d,10566)|0;if(l){break a}}a=N[d+4>>2];e=N[a+16>>2];if((e|0)<=0){break b}a=a+20|0;g=a+(e<<2)|0;while(1){e=N[a>>2];c:{if((e|0)==(d|0)){break c}h=N[N[e>>2]+32>>2];if(!h){break c}l=Qa[h|0](e,10566)|0;if(l){break a}}a=a+4|0;if(g>>>0>a>>>0){continue}break}}l=0}N[b+488>>2]=l;d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{a=N[N[b+96>>2]+4>>2];if(!a){break m}e=N[a+16>>2];if((e|0)<=0){break m}d=a+20|0;e=d+(e<<2)|0;a=d;while(1){g=N[N[a>>2]>>2];if(cb(N[g+8>>2],7988)){a=a+4|0;if(e>>>0>a>>>0){continue}break m}break}m=N[g+20>>2];N[b+492>>2]=m;if(!m){g=11;break d}n:{o:{while(1){a=N[N[d>>2]>>2];if(!cb(N[a+8>>2],11971)){break o}d=d+4|0;if(e>>>0>d>>>0){continue}break}a=0;break n}a=N[a+20>>2]}N[b+552>>2]=a;d=f+12|0;C(d,0,380);N[b+544>>2]=0;N[b+536>>2]=-1;N[b+540>>2]=-1;N[b+284>>2]=1;N[b+348>>2]=3932;N[b+172>>2]=4;N[b+276>>2]=2596864;N[b+280>>2]=7;a=N[b+104>>2];e=d;d=N[b+100>>2];Qa[N[N[m+4>>2]>>2]](e,0,0,d);N[f+96>>2]=0;N[f+100>>2]=0;L[f+103|0]=0;L[f+104|0]=0;L[f+105|0]=0;L[f+106|0]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+84>>2]=a;g=Sm(a,9095,14);if(g){if((g&255)!=2){break f}g=Sm(a,15555,10);if(g){break f}}e=N[a+20>>2];if(e){g=85;if(Qa[e|0](a,0,0,0)|0){break f}}N[a+8>>2]=0;if(Q[a+4>>2]<2){break h}e=N[a+20>>2];if(e){if((Qa[e|0](a,0,f+1528|0,2)|0)!=2){break h}e=N[a+8>>2];g=f+1528|0;break l}e=0;g=N[a>>2];if(g){break l}N[a+8>>2]=2;break k}N[b+492>>2]=0;g=11;break d}g=O[g|0]|O[g+1|0]<<8;h=e+2|0;N[a+8>>2]=h;g=g<<8|g>>>8;if((g+32767&65535)>>>0>1){break k}if(Q[a+4>>2]<=e+5>>>0){break h}e=N[a+20>>2];p:{if(e){if((Qa[e|0](a,h,f+1528|0,4)|0)!=4){break h}h=N[a+8>>2];e=f+1528|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);break p}e=N[a>>2];if(e){e=e+h|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);break p}e=0}h=h+4|0;N[a+8>>2]=h;if((g&65535)==32769){break j}}e=N[a+20>>2];if(e){g=85;if(Qa[e|0](a,0,0,0)|0){break f}}h=0;N[a+8>>2]=0;e=N[a+4>>2];break i}L[f+104|0]=1}q:{if(!N[a+20>>2]){g=N[a>>2];L[f+105|0]=1;N[f+92>>2]=e;N[f+88>>2]=g+h;g=Xc(a,e);if(g){break f}e=N[f+92>>2];break q}r:{if((e|0)>0){g=Qa[N[d+4>>2]](d,e)|0;if(g){break r}g=64;break g}g=6;if(e){break g}g=0}N[f+88>>2]=g;g=Zb(a,g,e);if(g){break f}N[f+92>>2]=e}a=N[f+88>>2];N[f+16>>2]=a;N[f+12>>2]=a;N[f+20>>2]=a+e;g=Rm(b,f+12|0,a,e);N[f+8>>2]=g;if(g){break e}i=N[f+28>>2];s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{if(O[f+104|0]){e=N[f+84>>2];a=N[e+8>>2];N[f+100>>2]=0;d=a;C:{while(1){if(Q[e+4>>2]<=d+1>>>0){break y}D:{g=N[e+20>>2];E:{if(g){if((Qa[g|0](e,d,f+1528|0,2)|0)!=2){break y}d=N[e+8>>2];g=f+1528|0;break E}g=N[e>>2];if(!g){break D}g=d+g|0}h=O[g|0]|O[g+1|0]<<8;g=d+2|0;N[e+8>>2]=g;h=h<<8|h>>>8;if((h+32767&65535)>>>0>1){break C}F:{G:{H:{if(Q[e+4>>2]<=d+5>>>0){break H}d=N[e+20>>2];if(d){if((Qa[d|0](e,g,f+1528|0,4)|0)!=4){break H}g=N[e+8>>2];d=f+1528|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break F}d=N[e>>2];if(!d){break G}d=d+g|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break F}g=85;N[f+8>>2]=85;break e}d=0}j=g+4|0;N[e+8>>2]=j;if((h&65535)!=32770){break C}N[f+100>>2]=d+N[f+100>>2];g=85;if((d|0)<0){break A}d=d+j|0;h=N[e+20>>2];I:{if(h){if(!(Qa[h|0](e,d,0,0)|0)){break I}break A}if(Q[e+4>>2]>>0){break A}}N[e+8>>2]=d;continue}break}N[e+8>>2]=d+2}d=N[f+100>>2];if(!d){g=3;N[f+8>>2]=3;break e}h=N[e+20>>2];J:{if(h){g=85;if(Qa[h|0](e,a,0,0)|0){break A}d=N[f+100>>2];break J}g=85;if(a>>>0>Q[e+4>>2]){break A}}N[e+8>>2]=a;K:{if((d|0)>0){g=Qa[N[i+4>>2]](i,d)|0;if(g){break K}g=64;break s}g=6;if(d){break s}g=0}N[f+96>>2]=g;g=0;while(1){N[f+100>>2]=g;a=xb(e,f+1528|0);if(N[f+1528>>2]|(a+32767&65535)>>>0>1){break B}d=Wc(e,f+1528|0);if(N[f+1528>>2]|(a|0)!=32770){break B}g=Zb(e,N[f+96>>2]+N[f+100>>2]|0,d);if(g){break A}g=d+N[f+100>>2]|0;continue}}e=N[f+88>>2];h=N[f+92>>2];d=e+h|0;a=e;while(1){L:{M:{if(O[a|0]!=101|a+9>>>0>=d>>>0|(O[a+1|0]!=101|O[a+2|0]!=120)){break M}if(O[a+3|0]!=101){break M}if(O[a+4|0]==99){break L}}a=a+1|0;if(d>>>0>a>>>0){continue}g=3;N[f+8>>2]=3;break e}a=a+10|0;N[f+20>>2]=a;N[f+12>>2]=e;N:{if(a>>>0>e>>>0){while(1){O:{if(O[e|0]!=101|e+5>>>0>=a>>>0|(O[e+1|0]!=101|O[e+2|0]!=120)){break O}if(O[e+3|0]!=101){break O}if(O[e+4|0]==99){break N}}Qa[N[f+44>>2]](f+12|0);if(!N[f+24>>2]){Qa[N[f+40>>2]](f+12|0);e=N[f+12>>2];if(e>>>0>>0){continue}}break}h=N[f+92>>2];e=N[f+88>>2]}g=3;d=e+h|0;if(d>>>0>a>>>0){continue}break A}break}N[f+20>>2]=N[f+88>>2]+N[f+92>>2];Qa[N[f+44>>2]](f+12|0);h=N[f+20>>2];a=N[f+12>>2];e=h-a|0;d=qe(a,10,e);if(d){d=qe(a,13,e)>>>0>>0}else{d=1}g=3;if(a>>>0>=h>>>0){break A}j=a+e|0;while(1){P:{e=O[a|0];if(!((e|0)==9|(e|0)==32|(e|0)==10)){if(!(d&(e|0)==13)){break P}}a=a+1|0;if((j|0)!=(a|0)){continue}break A}break}g=N[f+88>>2];d=N[f+92>>2]+(g-a|0)|0;Q:{if(O[f+105|0]){e=d+1|0;R:{if(d>>>0<=2147483646){g=Qa[N[i+4>>2]](i,e)|0;if(g){break R}g=64;break t}g=6;if(e){break t}g=0}N[f+100>>2]=d;N[f+96>>2]=g;break Q}N[f+100>>2]=d;N[f+96>>2]=g;L[f+106|0]=1;N[f+88>>2]=0;N[f+92>>2]=0}S:{if(h>>>0<=a+3>>>0){break S}T:{e=O[a|0];if(e-48>>>0<10){break T}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break T;default:break S}}U:{e=O[a+1|0];if(e-48>>>0<10){break U}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break U;default:break S}}V:{e=O[a+2|0];if(e-48>>>0<10){break V}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break V;default:break S}}W:{e=O[a+3|0];if(e-48>>>0<10){break W}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break W;default:break S}}N[f+12>>2]=a;Qa[N[N[m+4>>2]+24>>2]](f+12|0,g,d,f+1528|0,0)|0;a=N[f+1528>>2];N[f+100>>2]=a;L[a+N[f+96>>2]|0]=0;break B}F(g,a,d)}Qa[N[m+16>>2]](N[f+96>>2],N[f+100>>2],55665);g=3;if(Q[f+100>>2]>3){break z}}N[f+8>>2]=g;break e}L[N[f+96>>2]]=32;L[N[f+96>>2]+1|0]=32;L[N[f+96>>2]+2|0]=32;L[N[f+96>>2]+3|0]=32;a=N[f+96>>2];N[f+16>>2]=a;N[f+12>>2]=a;d=N[f+100>>2];N[f+20>>2]=d+a;g=Rm(b,f+12|0,a,d);N[f+8>>2]=g;if(g){break e}L[b+176|0]=O[b+176|0]&254;X:{Y:{g=N[b+532>>2];if(!g){break Y}if(N[g>>2]!=1<>2]){af(b);g=N[b+532>>2];if(!g){break Y}}a=N[g+416>>2];if(!(!a|(a|0)==N[g+4>>2])){N[g+416>>2]=0}Z:{_:{if(N[g>>2]){d=N[g+4>>2];if(d){break _}}af(b);g=N[b+532>>2];if(!g){break Y}d=N[g+4>>2];if(!d){break Z}}a=0;while(1){if(O[(T(a,12)+g|0)+88|0]){a=a+1|0;if((d|0)!=(a|0)){continue}break Z}break}af(b);if(!N[b+532>>2]){break Y}}a=N[b+544>>2];if(!a){break X}r=b,s=lb(N[b+100>>2],4,0,a,0,f+8|0),N[r+548>>2]=s;g=N[f+8>>2];if(!g){break X}N[b+544>>2]=0;break e}N[b+544>>2]=0}j=N[f+164>>2];N[b+420>>2]=j;if(N[f+340>>2]){N[b+404>>2]=N[f+324>>2];N[b+392>>2]=N[f+328>>2];N[b+408>>2]=N[f+352>>2];N[b+412>>2]=N[f+356>>2];N[b+416>>2]=N[f+380>>2];N[f+380>>2]=0;N[f+340>>2]=0}g=0;$:{if(N[N[b+128>>2]+52>>2]){break $}g=0;if(N[f+232>>2]){break $}N[f+8>>2]=3;g=3}N[f+232>>2]=0;N[b+396>>2]=N[f+220>>2];N[b+428>>2]=N[f+244>>2];N[b+432>>2]=N[f+248>>2];N[b+400>>2]=N[f+168>>2];N[b+424>>2]=N[f+192>>2];N[f+192>>2]=0;N[f+168>>2]=0;if(N[b+368>>2]!=1){break u}i=N[f+128>>2];if((i|0)<=0){break w}e=0;if((j|0)<=0){break x}h=0;d=0;while(1){k=d<<2;o=N[k+N[f+136>>2]>>2];p=d<<1;M[p+N[b+384>>2]>>1]=0;N[k+N[b+388>>2]>>2]=15265;aa:{if(!o){break aa}q=N[b+424>>2];a=0;while(1){n=N[(a<<2)+q>>2];if(cb(o,n)){a=a+1|0;if((j|0)!=(a|0)){continue}break aa}break}M[N[b+384>>2]+p>>1]=a;N[k+N[b+388>>2]>>2]=n;if(!cb(15265,n)){break aa}e=(d|0)<(e|0)?e:d+1|0;h=(d|0)<(h|0)?d:h}d=d+1|0;if((i|0)!=(d|0)){continue}break}break v}g=85;N[f+8>>2]=85;break e}d=0;a=0;if(i>>>0>=4){e=i&-4;while(1){M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;h=a|1;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|2;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|3;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;a=a+4|0;if((e|0)!=(a|0)){continue}break}}i=i&3;if(!i){break w}while(1){h=0;M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;a=a+1|0;e=0;d=d+1|0;if((i|0)!=(d|0)){continue}break}break v}h=0;e=0}N[b+380>>2]=e;N[b+376>>2]=h;N[b+372>>2]=N[f+108>>2]}if(Q[b+280>>2]>=1001){N[b+280>>2]=7}if(Q[b+284>>2]<1001){break e}N[b+284>>2]=1;break e}N[f+96>>2]=0;N[f+8>>2]=g;break e}N[f+96>>2]=0;N[f+8>>2]=g;break e}g=85;break f}N[f+88>>2]=0}if(O[f+105|0]){N[f+8>>2]=g;break e}a=N[f+88>>2];if(a){Qa[N[d+8>>2]](d,a)}N[f+88>>2]=0}d=N[f+28>>2];a=N[f+160>>2];if(a){Qa[a|0](f+112|0)}a=N[f+268>>2];if(a){Qa[a|0](f+220|0)}a=N[f+216>>2];if(a){Qa[a|0](f+168|0)}a=N[f+320>>2];if(a){Qa[a|0](f+272|0)}a=N[f+376>>2];if(a){Qa[a|0](f+328|0)}h=N[f+380>>2];ba:{if(!h){break ba}e=N[h+4>>2];ca:{if(!e){break ca}a=N[h+20>>2];if((e|0)!=1){i=e&1;j=e&-2;e=0;while(1){k=N[a>>2];if(k){Qa[N[d+8>>2]](d,k)}N[a>>2]=0;k=N[a+4>>2];if(k){Qa[N[d+8>>2]](d,k)}N[a+4>>2]=0;a=a+8|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}if(!i){break ca}}e=N[a>>2];if(e){Qa[N[d+8>>2]](d,e)}N[a>>2]=0}a=N[h+20>>2];if(a){Qa[N[d+8>>2]](d,a)}N[h+20>>2]=0;a=N[f+380>>2];if(!a){break ba}Qa[N[d+8>>2]](d,a)}N[f+380>>2]=0;a=N[f+28>>2];d=N[f+96>>2];if(d){Qa[N[a+8>>2]](a,d)}N[f+96>>2]=0;if(!O[f+105|0]){d=N[f+88>>2];if(d){Qa[N[a+8>>2]](a,d)}N[f+88>>2]=0}Qa[N[f+36>>2]](f+12|0);if(g|(c|0)<0){break d}g=6;if(c&65535){break d}N[b+4>>2]=0;N[b+16>>2]=N[b+420>>2];c=N[b+8>>2];a=c|2577;N[b+8>>2]=a;if(O[b+156|0]){a=c|2581;N[b+8>>2]=a}e=N[b+532>>2];if(e){N[b+8>>2]=a|256}N[b+24>>2]=0;g=N[b+144>>2];N[b+20>>2]=g;da:{ea:{if(g){a=N[b+140>>2];if(!a){break ea}d=O[a|0];if(!d){a=12199;break da}while(1){fa:{ga:{d=d&255;c=O[g|0];if((d|0)==(c|0)){a=a+1|0;break ga}d=d-32|0;if(!((d|0)!=13?d:0)){a=a+1|0;break fa}ha:{switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break ea;case 0:case 13:break ga;default:break ha}}if(c){break ea}break da}g=g+1|0}d=O[a|0];if(d){continue}break}a=12199;break da}a=N[b+364>>2];if(!a){break ea}N[b+20>>2]=a}a=N[b+148>>2];a=a?a:12199}N[b+24>>2]=a;c=N[b+152>>2]!=0;N[b+12>>2]=c;a=N[b+148>>2];ia:{if(!a){break ia}if(cb(a,16733)){if(cb(a,13781)){break ia}}N[b+12>>2]=c|2}N[b+28>>2]=0;N[b+32>>2]=0;N[b+52>>2]=M[b+466>>1];a=M[b+470>>1];N[b+56>>2]=a;g=N[b+472>>2]+65535>>16;N[b+60>>2]=g;c=N[b+476>>2]+65535>>16;N[b- -64>>2]=c;d=P[b+68>>1];if(!d){M[b+68>>1]=1e3;d=1e3}M[b+76>>1]=g;M[b+72>>1]=a;M[b+70>>1]=c;a=c-a|0;c=(T(d,12)>>>0)/10|0;M[b+74>>1]=(a|0)>c<<16>>16?a:c;a=0;d=N[b+492>>2];if(!(Qa[N[N[d+12>>2]>>2]](f+12|0,b,0,0,N[b+424>>2],e,0,0,147)|0)){L[f+80|0]=0;L[f+82|0]=1;N[f+1376>>2]=N[b+404>>2];N[f+1380>>2]=N[b+408>>2];N[f+1384>>2]=N[b+412>>2];N[f+1388>>2]=N[b+416>>2];N[f+1508>>2]=N[b+548>>2];N[f+1512>>2]=N[b+544>>2];ja:{if(N[b+420>>2]<=0){break ja}ka:{if($e(f+12|0,0,f+1528|0,f+8|0)){break ka}a=N[N[N[f+16>>2]+128>>2]+52>>2];if(!a){break ka}Qa[N[N[a>>2]+4>>2]](N[a+4>>2],f+1528|0)}a=N[f+52>>2];if(N[b+420>>2]<2){break ja}g=1;while(1){la:{if($e(f+12|0,g,f+1528|0,f+8|0)){break la}c=N[N[N[f+16>>2]+128>>2]+52>>2];if(!c){break la}Qa[N[N[c>>2]+4>>2]](N[c+4>>2],f+1528|0)}c=N[f+52>>2];a=(a|0)<(c|0)?c:a;g=g+1|0;if((g|0)>2]){continue}break}}Qa[N[N[d+12>>2]+4>>2]](f+12|0);M[b+76>>1]=((a>>31)+a|0)+32768>>>16}M[b+78>>1]=P[b+74>>1];N[b+80>>2]=P[b+158>>1]|P[b+160>>1]<<16;if(!l){g=0;break d}a=N[m+32>>2];N[f+12>>2]=b;N[f+16>>2]=1970170211;N[f+20>>2]=65539;g=Bc(N[a+12>>2],0,f+12|0,0);ma:{if(!g){break ma}c=g&255;if((c|0)==163){break ma}if((c|0)!=7){break d}}M[f+20>>1]=7;g=0;na:{oa:{switch(N[b+368>>2]-1|0){case 1:M[f+22>>1]=0;N[f+16>>2]=1094995778;break na;case 3:M[f+22>>1]=1;N[f+16>>2]=1094992453;a=a+4|0;break na;case 0:M[f+22>>1]=2;N[f+16>>2]=1094992451;a=a+8|0;break na;case 2:break oa;default:break d}}a=a+12|0;M[f+22>>1]=3;N[f+16>>2]=1818326065}a=N[a>>2];if(!a){break d}g=Bc(a,0,f+12|0,0)}La=f+1536|0;return g|0}function mf(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;r=La-48|0;La=r;C=N[a+11744>>2];g=(C|0)==2;h=N[(g?a+11756|0:a+11772|0)+4>>2];j=(g?11756:11772)+a|0;k=N[j>>2];p=N[c>>2];m=N[c+4>>2];a:{if(!((k|0)!=(p|0)|(m|0)!=(h|0))){u=1;break a}v=N[(g?a+11748|0:a+11764|0)+4>>2];t=h-v|0;x=t+16|0;o=x>>5;A=(d-p|0)+16|0;i=A>>5;B=(e-m|0)+16|0;n=B>>5;l=n>>31;s=N[(g?11748:11764)+a>>2];w=k-s|0;y=w+16|0;z=y>>5;u=z>>31;g=(l^n)-l|0;D=g>>>8|0;l=(u^z)-u|0;b:{if(D+l>>>0<=8190){n=T(g,l)+32768>>>16|0;break b}u=l&65535;n=T(u,g>>>16|0)+T(g,l>>>16|0)+(T(u,g&65535)+32768>>>16)|0}l=n;q=0-l|0;l=y>>31|1;y=(((B|0)<0?0-l|0:l)|0)<0?q:n;l=i>>31;i=(l^i)-l|0;z=i>>>8|0;l=o>>31;l=(l^o)-l|0;c:{if(z+l>>>0<=8190){q=T(i,l)+32768>>>16|0;break c}o=l&65535;q=T(o,i>>>16|0)+T(i,l>>>16|0)+(T(o,i&65535)+32768>>>16)|0}n=q;l=0;u=1;o=0;E=0-n|0;n=x>>31|1;n=(((A|0)<0?0-n|0:n)|0)<0?E:q;if((n|0)==(y|0)){break a}u=(m-v|0)+16|0;o=u>>5;n=y-n|0;y=(p-s|0)+16|0;x=y>>5;l=x>>31;l=(l^x)-l|0;d:{if(l+D>>>0<=8190){g=T(g,l)+32768>>>16|0;break d}x=l&65535;g=T(x,g>>>16|0)+T(g,l>>>16|0)+(T(x,g&65535)+32768>>>16)|0}l=g;q=0-l|0;l=y>>31|1;q=(((B|0)<0?0-l|0:l)|0)<0?q:g;l=o>>31;l=(l^o)-l|0;e:{if(l+z>>>0<=8190){g=T(i,l)+32768>>>16|0;break e}o=l&65535;g=T(o,i>>>16|0)+T(i,l>>>16|0)+(T(o,i&65535)+32768>>>16)|0}l=g;i=0-l|0;l=u>>31|1;g=fb(q+((((A|0)<0?0-l|0:l)|0)<0?g:i)|0,n);l=g>>31;l=(g^l)-l|0;o=w>>31;o=(o^w)-o|0;f:{if(l+(o>>>8|0)>>>0<=8190){o=T(l,o)+32768>>>16|0;break f}i=l&65535;o=T(i,o>>>16|0)+T(o,l>>>16|0)+(T(i,o&65535)+32768>>>16)|0}g=g>>31|1;u=0-g|0;i=(((w|0)<0?u:g)|0)<0?0-o|0:o;o=t>>31;o=(o^t)-o|0;g:{if(l+(o>>>8|0)>>>0<=8190){l=T(l,o)+32768>>>16|0;break g}w=l&65535;l=T(w,o>>>16|0)+T(o,l>>>16|0)+(T(w,o&65535)+32768>>>16)|0}o=i+s|0;if((k|0)==(s|0)){s=o-k|0;i=s>>31;o=N[a+11696>>2]>((i^s)-i|0)?k:o}l=v+((((t|0)<0?u:g)|0)<0?0-l|0:l)|0;if((h|0)==(v|0)){i=l-h|0;g=i>>31;l=N[a+11696>>2]>((g^i)-g|0)?h:l}if((d|0)==(p|0)){i=o-d|0;g=i>>31;o=N[a+11696>>2]>((g^i)-g|0)?d:o}if((e|0)==(m|0)){g=l-e|0;d=g>>31;l=N[a+11696>>2]>((d^g)-d|0)?e:l}u=1;e=((k+p|0)/-2|0)+o|0;d=e>>31;d=(d^e)-d|0;e=N[a+11692>>2];if((d|0)>(e|0)){break a}g=((h+m|0)/-2|0)+l|0;d=g>>31;if(((d^g)-d|0)>(e|0)){break a}N[j>>2]=o;N[j+4>>2]=l;u=0}e=N[a+11728>>2];j=e;d=N[a+11724>>2];N[r+8>>2]=d;N[r+12>>2]=e;h:{i:{j:{switch(C-2|0){case 0:N[r+40>>2]=2;k:{if(f){e=N[a+11760>>2];h=N[a+11640>>2];i=h>>31;m=N[a+11756>>2];g=m>>31;i=(i^h)-i|0;g=(g^m)-g|0;l:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break l}k=i&65535;i=T(k,g>>>16|0)+T(g,i>>>16|0)+(T(k,g&65535)+32768>>>16)|0}g=i;k=a+3876|0;n=0-g|0;g=h>>31|1;n=(((m|0)<0?0-g|0:g)|0)<0?n:i;h=N[a+11644>>2];i=h>>31;i=(i^h)-i|0;g=e>>31;g=(g^e)-g|0;m:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break m}p=i&65535;i=T(p,g>>>16|0)+T(g,i>>>16|0)+(T(p,g&65535)+32768>>>16)|0}g=i;q=0-g|0;g=h>>31|1;g=n+((((e|0)<0?0-g|0:g)|0)<0?q:i)|0;e=_c(k,e);break k}e=N[a+11760>>2];h=N[a+11640>>2];i=h>>31;m=N[a+11756>>2];g=m>>31;i=(i^h)-i|0;g=(g^m)-g|0;n:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break n}k=i&65535;i=T(k,g>>>16|0)+T(g,i>>>16|0)+(T(k,g&65535)+32768>>>16)|0}g=i;k=0-g|0;g=h>>31|1;n=(((m|0)<0?0-g|0:g)|0)<0?k:i;h=N[a+11644>>2];i=h>>31;i=(i^h)-i|0;g=e>>31;g=(g^e)-g|0;o:{if(i+(g>>>8|0)>>>0<=8190){i=T(g,i)+32768>>>16|0;break o}k=i&65535;i=T(k,g>>>16|0)+T(g,i>>>16|0)+(T(k,g&65535)+32768>>>16)|0}g=i;k=0-g|0;g=h>>31|1;g=n+((((e|0)<0?0-g|0:g)|0)<0?k:i)|0;e=_c(b,e)}m=N[a>>2];k=N[m+64>>2];h=k>>31;i=g>>31;i=(i^g)-i|0;v=i>>>8|0;h=(h^k)-h|0;p:{if(v+h>>>0<=8190){n=T(i,h)+32768>>>16|0;break p}p=h&65535;n=T(p,i>>>16|0)+T(i,h>>>16|0)+(T(p,i&65535)+32768>>>16)|0}h=n;q=0-h|0;h=k>>31|1;q=(((g|0)<0?0-h|0:h)|0)<0?q:n;p=N[m+72>>2];k=p>>31;h=e>>31;h=(h^e)-h|0;s=h>>>8|0;k=(k^p)-k|0;q:{if(s+k>>>0<=8190){n=T(h,k)+32768>>>16|0;break q}w=k&65535;n=T(w,h>>>16|0)+T(h,k>>>16|0)+(T(w,h&65535)+32768>>>16)|0}k=n;t=0-k|0;k=p>>31|1;t=q+((((e|0)<0?0-k|0:k)|0)<0?t:n)|0;w=N[a+11652>>2];p=N[m+68>>2];k=p>>31;k=(k^p)-k|0;r:{if(k+v>>>0<=8190){n=T(i,k)+32768>>>16|0;break r}v=k&65535;n=T(v,i>>>16|0)+T(i,k>>>16|0)+(T(v,i&65535)+32768>>>16)|0}i=n;k=t+w|0;q=N[a+11656>>2];t=0-i|0;i=p>>31|1;n=(((g|0)<0?0-i|0:i)|0)<0?t:n;i=N[m+76>>2];g=i>>31;g=(g^i)-g|0;s:{if(g+s>>>0<=8190){h=T(g,h)+32768>>>16|0;break s}m=g&65535;h=T(m,h>>>16|0)+T(h,g>>>16|0)+(T(m,h&65535)+32768>>>16)|0}g=h;m=0-g|0;g=i>>31|1;e=q+(n+((((e|0)<0?0-g|0:g)|0)<0?m:h)|0)|0;N[r+20>>2]=e;N[r+16>>2]=k;if((d|0)==(k|0)&(e|0)==(j|0)){break h}g=N[a+4>>2];e=g+4|0;d=r+16|0;break i;case 2:break j;default:break h}}N[r+40>>2]=4;d=N[a+11760>>2];g=N[a+11640>>2];j=g>>31;i=N[a+11756>>2];e=i>>31;j=(g^j)-j|0;e=(e^i)-e|0;t:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break t}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=0-e|0;e=g>>31|1;i=(((i|0)<0?0-e|0:e)|0)<0?j:h;g=N[a+11644>>2];j=g>>31;j=(g^j)-j|0;e=d>>31;e=(e^d)-e|0;u:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break u}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=_c(b,d);n=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=i+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;i=N[a>>2];h=N[i+64>>2];e=h>>31;d=(d^g)-d|0;p=d>>>8|0;e=(e^h)-e|0;v:{if(p+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break v}m=e&65535;k=T(m,d>>>16|0)+T(d,e>>>16|0)+(T(m,d&65535)+32768>>>16)|0}e=k;q=0-e|0;e=h>>31|1;q=(((g|0)<0?0-e|0:e)|0)<0?q:k;m=N[i+72>>2];h=m>>31;e=j>>31;e=(e^j)-e|0;t=e>>>8|0;h=(h^m)-h|0;w:{if(t+h>>>0<=8190){k=T(e,h)+32768>>>16|0;break w}s=h&65535;k=T(s,e>>>16|0)+T(e,h>>>16|0)+(T(s,e&65535)+32768>>>16)|0}h=k;s=0-h|0;h=m>>31|1;N[r+16>>2]=n+(q+((((j|0)<0?0-h|0:h)|0)<0?s:k)|0);k=N[a+11656>>2];m=N[i+68>>2];h=m>>31;h=(h^m)-h|0;x:{if(h+p>>>0<=8190){h=T(d,h)+32768>>>16|0;break x}p=h&65535;h=T(p,d>>>16|0)+T(d,h>>>16|0)+(T(p,d&65535)+32768>>>16)|0}d=h;n=0-d|0;d=m>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?n:h;g=N[i+76>>2];d=g>>31;d=(d^g)-d|0;y:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break y}i=d&65535;e=T(i,e>>>16|0)+T(e,d>>>16|0)+(T(i,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=g>>31|1;N[r+20>>2]=k+(h+((((j|0)<0?0-d|0:d)|0)<0?i:e)|0);d=N[a+11768>>2];g=N[a+11640>>2];j=g>>31;i=N[a+11764>>2];e=i>>31;j=(g^j)-j|0;e=(e^i)-e|0;z:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break z}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=0-e|0;e=g>>31|1;i=(((i|0)<0?0-e|0:e)|0)<0?j:h;g=N[a+11644>>2];j=g>>31;j=(g^j)-j|0;e=d>>31;e=(e^d)-e|0;A:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break A}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=_c(b,d);n=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=i+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;i=N[a>>2];h=N[i+64>>2];e=h>>31;d=(d^g)-d|0;p=d>>>8|0;e=(e^h)-e|0;B:{if(p+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break B}m=e&65535;k=T(m,d>>>16|0)+T(d,e>>>16|0)+(T(m,d&65535)+32768>>>16)|0}e=k;q=0-e|0;e=h>>31|1;q=(((g|0)<0?0-e|0:e)|0)<0?q:k;m=N[i+72>>2];h=m>>31;e=j>>31;e=(e^j)-e|0;t=e>>>8|0;h=(h^m)-h|0;C:{if(t+h>>>0<=8190){k=T(e,h)+32768>>>16|0;break C}s=h&65535;k=T(s,e>>>16|0)+T(e,h>>>16|0)+(T(s,e&65535)+32768>>>16)|0}h=k;s=0-h|0;h=m>>31|1;N[r+24>>2]=n+(q+((((j|0)<0?0-h|0:h)|0)<0?s:k)|0);k=N[a+11656>>2];m=N[i+68>>2];h=m>>31;h=(h^m)-h|0;D:{if(h+p>>>0<=8190){h=T(d,h)+32768>>>16|0;break D}p=h&65535;h=T(p,d>>>16|0)+T(d,h>>>16|0)+(T(p,d&65535)+32768>>>16)|0}d=h;n=0-d|0;d=m>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?n:h;g=N[i+76>>2];d=g>>31;d=(d^g)-d|0;E:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break E}i=d&65535;e=T(i,e>>>16|0)+T(e,d>>>16|0)+(T(i,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=g>>31|1;N[r+28>>2]=k+(h+((((j|0)<0?0-d|0:d)|0)<0?i:e)|0);d=N[a+11776>>2];g=N[a+11640>>2];j=g>>31;i=N[a+11772>>2];e=i>>31;j=(g^j)-j|0;e=(e^i)-e|0;F:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break F}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=0-e|0;e=g>>31|1;i=(((i|0)<0?0-e|0:e)|0)<0?j:h;g=N[a+11644>>2];j=g>>31;j=(g^j)-j|0;e=d>>31;e=(e^d)-e|0;G:{if(j+(e>>>8|0)>>>0<=8190){h=T(e,j)+32768>>>16|0;break G}h=j&65535;h=T(h,e>>>16|0)+T(e,j>>>16|0)+(T(h,e&65535)+32768>>>16)|0}e=h;j=_c(b,d);n=N[a+11652>>2];k=0-e|0;e=g>>31|1;g=i+((((d|0)<0?0-e|0:e)|0)<0?k:h)|0;d=g>>31;i=N[a>>2];h=N[i+64>>2];e=h>>31;d=(d^g)-d|0;p=d>>>8|0;e=(e^h)-e|0;H:{if(p+e>>>0<=8190){k=T(d,e)+32768>>>16|0;break H}m=e&65535;k=T(m,d>>>16|0)+T(d,e>>>16|0)+(T(m,d&65535)+32768>>>16)|0}e=k;q=0-e|0;e=h>>31|1;q=(((g|0)<0?0-e|0:e)|0)<0?q:k;m=N[i+72>>2];h=m>>31;e=j>>31;e=(e^j)-e|0;t=e>>>8|0;h=(h^m)-h|0;I:{if(t+h>>>0<=8190){k=T(e,h)+32768>>>16|0;break I}s=h&65535;k=T(s,e>>>16|0)+T(e,h>>>16|0)+(T(s,e&65535)+32768>>>16)|0}h=k;s=0-h|0;h=m>>31|1;N[r+32>>2]=n+(q+((((j|0)<0?0-h|0:h)|0)<0?s:k)|0);k=N[a+11656>>2];m=N[i+68>>2];h=m>>31;h=(h^m)-h|0;J:{if(h+p>>>0<=8190){h=T(d,h)+32768>>>16|0;break J}p=h&65535;h=T(p,d>>>16|0)+T(d,h>>>16|0)+(T(p,d&65535)+32768>>>16)|0}d=h;n=0-d|0;d=m>>31|1;h=(((g|0)<0?0-d|0:d)|0)<0?n:h;g=N[i+76>>2];d=g>>31;d=(d^g)-d|0;K:{if(d+t>>>0<=8190){e=T(d,e)+32768>>>16|0;break K}i=d&65535;e=T(i,e>>>16|0)+T(e,d>>>16|0)+(T(i,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=g>>31|1;N[r+36>>2]=k+(h+((((j|0)<0?0-d|0:d)|0)<0?i:e)|0);g=N[a+4>>2];e=g+12|0;d=r+32|0}Qa[N[e>>2]](g,r+8|0);e=N[d+4>>2];N[a+11724>>2]=N[d>>2];N[a+11728>>2]=e}L:{if(f|u){M:{if(f){b=N[c+4>>2];g=a+3876|0;f=N[a+11640>>2];e=f>>31;j=N[c>>2];d=j>>31;e=(e^f)-e|0;d=(d^j)-d|0;N:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break N}i=e&65535;e=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=e;h=0-d|0;d=f>>31|1;h=(((j|0)<0?0-d|0:d)|0)<0?h:e;f=N[a+11644>>2];e=f>>31;e=(e^f)-e|0;d=b>>31;d=(d^b)-d|0;O:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break O}i=e&65535;e=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=e;i=0-d|0;d=f>>31|1;f=h+((((b|0)<0?0-d|0:d)|0)<0?i:e)|0;b=_c(g,b);break M}d=N[c+4>>2];j=N[a+11640>>2];f=j>>31;g=N[c>>2];e=g>>31;f=(f^j)-f|0;e=(e^g)-e|0;P:{if(f+(e>>>8|0)>>>0<=8190){f=T(e,f)+32768>>>16|0;break P}i=f&65535;f=T(i,e>>>16|0)+T(e,f>>>16|0)+(T(i,e&65535)+32768>>>16)|0}e=f;h=0-e|0;e=j>>31|1;g=(((g|0)<0?0-e|0:e)|0)<0?h:f;j=N[a+11644>>2];f=j>>31;f=(f^j)-f|0;e=d>>31;e=(e^d)-e|0;Q:{if(f+(e>>>8|0)>>>0<=8190){f=T(e,f)+32768>>>16|0;break Q}i=f&65535;f=T(i,e>>>16|0)+T(e,f>>>16|0)+(T(i,e&65535)+32768>>>16)|0}e=f;h=0-e|0;e=j>>31|1;f=g+((((d|0)<0?0-e|0:e)|0)<0?h:f)|0;b=_c(b,d)}k=N[a+11652>>2];j=N[a>>2];g=N[j+64>>2];e=g>>31;d=f>>31;d=(d^f)-d|0;m=d>>>8|0;e=(e^g)-e|0;R:{if(m+e>>>0<=8190){h=T(d,e)+32768>>>16|0;break R}i=e&65535;h=T(i,d>>>16|0)+T(d,e>>>16|0)+(T(i,d&65535)+32768>>>16)|0}e=h;i=0-e|0;e=g>>31|1;n=(((f|0)<0?0-e|0:e)|0)<0?i:h;i=N[j+72>>2];g=i>>31;e=b>>31;e=(e^b)-e|0;p=e>>>8|0;g=(g^i)-g|0;S:{if(p+g>>>0<=8190){h=T(e,g)+32768>>>16|0;break S}v=g&65535;h=T(v,e>>>16|0)+T(e,g>>>16|0)+(T(v,e&65535)+32768>>>16)|0}g=h;q=0-g|0;g=i>>31|1;h=k+(n+((((b|0)<0?0-g|0:g)|0)<0?q:h)|0)|0;N[r+16>>2]=h;k=N[a+11656>>2];i=N[j+68>>2];g=i>>31;g=(g^i)-g|0;T:{if(g+m>>>0<=8190){g=T(d,g)+32768>>>16|0;break T}m=g&65535;g=T(m,d>>>16|0)+T(d,g>>>16|0)+(T(m,d&65535)+32768>>>16)|0}d=g;n=0-d|0;d=i>>31|1;g=(((f|0)<0?0-d|0:d)|0)<0?n:g;f=N[j+76>>2];d=f>>31;d=(d^f)-d|0;U:{if(d+p>>>0<=8190){e=T(d,e)+32768>>>16|0;break U}j=d&65535;e=T(j,e>>>16|0)+T(e,d>>>16|0)+(T(j,e&65535)+32768>>>16)|0}d=e;i=0-d|0;d=f>>31|1;b=k+(g+((((b|0)<0?0-d|0:d)|0)<0?i:e)|0)|0;N[r+20>>2]=b;if(!((h|0)==N[a+11724>>2]&(b|0)==N[a+11728>>2])){N[r+40>>2]=2;b=N[a+11728>>2];N[r+8>>2]=N[a+11724>>2];N[r+12>>2]=b;b=N[a+4>>2];Qa[N[b+4>>2]](b,r+8|0);b=N[r+20>>2];N[a+11724>>2]=N[r+16>>2];N[a+11728>>2]=b}if(u){break L}}N[c>>2]=o;N[c+4>>2]=l}La=r+48|0}function Pg(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,P=0;F=La-16|0;La=F;a:{b:{c:{d:{e:{f:{if(N[b+24>>2]){break f}g:{h:{i:{j:{k:{l:{m:{n:{o:{if(Q[b>>2]<=a>>>0){k=N[b+4>>2];if(k>>>0>=a>>>0){if(k-a>>>0<7){i=a+6|0;j=i-k|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-k|0))){N[b+24>>2]=4;break f}if((i|0)!=(k|0)){C(k,0,j);k=N[b+4>>2]}j=j+k|0;N[b+4>>2]=j;if(N[b+24>>2]|!k){break f}s=a+4|0;if(s>>>0>=Q[b>>2]){if(j>>>0>=s>>>0){if(j-s>>>0<3){m=i-j|0;if(!((m|0)>=0&(m|0)<=(N[b+8>>2]-j|0))){N[b+24>>2]=4;break f}k=N[c+4>>2];if((i|0)!=(j|0)){C(j,0,m);i=N[b+4>>2]}N[b+4>>2]=i+m;if(!i){break f}j=k<<8|(k&65280)>>>8;L[s|0]=j;L[s+1|0]=j>>>8;j=N[b+24>>2];if(k>>>0>=65536){N[b+24>>2]=j|16;break f}if(j){break f}if(Q[b>>2]<=s>>>0){i=N[b+4>>2];if(s>>>0<=i>>>0){j=(k<<1&131070)+2|0;if(j>>>0>=i-s>>>0){m=j+s|0;j=m-i|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-i|0))){N[b+24>>2]=4;break f}if((i|0)!=(m|0)){C(i,0,j);i=N[b+4>>2]}N[b+4>>2]=i+j;if(!i){break f}p:{q:{if(!k){n=N[c+4>>2];break q}G=b+32|0;while(1){q=N[(e>>>0<=z>>>0?275552:(z<<2)+d|0)>>2];j=O[s|0]|O[s+1|0]<<8;r:{if(((j<<8|j>>>8)&65535)>>>0<=z>>>0){M[294912]=0;u=589824;break r}u=((z<<1)+a|0)+6|0}H=N[g>>2];I=N[f>>2];r=N[f+4>>2];A=N[g+4>>2];L[u|0]=0;L[u+1|0]=0;if(N[b+24>>2]){break g}s:{t:{i=N[b+28>>2];if(!i){if(!xj(G,N[b+36>>2]+1|0)){break t}j=db(1,576);N[F+12>>2]=j;if(!j){break t}wj(G,F+12|0);i=vj(j)}N[b+28>>2]=N[i>>2];j=i+32|0;L[j|0]=0;L[j+1|0]=0;L[j+2|0]=0;L[j+3|0]=0;L[i+24|0]=0;L[i+25|0]=0;L[i+26|0]=0;L[i+27|0]=0;L[i+28|0]=0;L[i+29|0]=0;L[i+30|0]=0;L[i+31|0]=0;L[i+16|0]=0;L[i+17|0]=0;L[i+18|0]=0;L[i+19|0]=0;L[i+20|0]=0;L[i+21|0]=0;L[i+22|0]=0;L[i+23|0]=0;L[i+8|0]=0;L[i+9|0]=0;L[i+10|0]=0;L[i+11|0]=0;L[i+12|0]=0;L[i+13|0]=0;L[i+14|0]=0;L[i+15|0]=0;L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0;L[i+4|0]=0;L[i+5|0]=0;L[i+6|0]=0;L[i+7|0]=0;N[i>>2]=N[b+4>>2];N[i+4>>2]=N[b+8>>2];N[i+32>>2]=N[b+44>>2];N[b+44>>2]=i;if(!N[b+24>>2]){break s}break g}if(N[b+24>>2]){break g}N[b+24>>2]=1;break g}p=N[b+4>>2];if(p>>>0>2]){break p}if((N[b+8>>2]-p|0)<=1){N[b+24>>2]=4;break g}L[p|0]=0;L[p+1|0]=0;l=N[b+4>>2];k=l+2|0;N[b+4>>2]=k;if(N[b+24>>2]|!l){break g}if(Q[b>>2]>p>>>0){break e}if(k>>>0

>>0){break d}if(k-p>>>0>=3){break c}j=p+2|0;i=j-k|0;if(!((i|0)>=0&(i|0)<=(N[b+8>>2]-k|0))){N[b+24>>2]=4;break g}if((l|0)!=(p|0)){C(k,0,i);j=N[b+4>>2]}N[b+4>>2]=i+j;if(!j){break g}x=q>>>0>r>>>0?r:q;j=x<<8|(x&65280)>>>8;L[p|0]=j;L[p+1|0]=j>>>8;j=N[b+24>>2];if(x>>>0>=65536){N[b+24>>2]=j|16;break g}if(j){break g}if(Q[b>>2]>p>>>0){break e}i=N[b+4>>2];if(p>>>0>i>>>0){break d}j=(x<<1&131070)+2|0;if(j>>>0>>0){break c}k=j+p|0;j=k-i|0;if(!((j|0)>=0&(j|0)<=(N[b+8>>2]-i|0))){N[b+24>>2]=4;break g}if((i|0)!=(k|0)){C(i,0,j);i=N[b+4>>2]}N[b+4>>2]=i+j;if(!i){break g}if(x){K=q>>>0>A>>>0?A:q;v=0;while(1){y=N[(v>>>0>=K>>>0?275552:(v<<2)+H|0)>>2];j=O[p|0]|O[p+1|0]<<8;u:{if(((j<<8|j>>>8)&65535)>>>0<=v>>>0){M[294912]=0;n=589824;break u}n=((v<<1)+p|0)+2|0}k=N[h>>2];D=N[h+4>>2];L[n|0]=0;L[n+1|0]=0;if(N[b+24>>2]){break h}i=N[b+28>>2];v:{if(i){j=N[i>>2];break v}l=N[b+32>>2];if((l|0)<0){break i}j=N[b+36>>2]+1|0;if(j>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(j>>>0>=l>>>0){continue}break}w:{if(l>>>0<=1073741823){j=$a(N[b+40>>2],l<<2);if(j){break w}}N[G>>2]=-1;break i}N[b+32>>2]=l;N[b+40>>2]=j}i=db(1,576);if(!i){break i}x:{y:{o=N[b+36>>2];m=o+1|0;z:{if(m>>>0<=l>>>0){w=N[b+40>>2];break z}while(1){l=((l>>>1|0)+l|0)+8|0;if(m>>>0>=l>>>0){continue}break}if(l>>>0>1073741823){break y}w=$a(N[b+40>>2],l<<2);if(!w){break y}N[b+32>>2]=l;N[b+40>>2]=w;o=N[b+36>>2];m=o+1|0}N[b+36>>2]=m;N[(o<<2)+w>>2]=i;break x}N[G>>2]=-1;N[147456]=0}N[i+540>>2]=0;N[i+504>>2]=i+540;N[i+468>>2]=i+504;N[i+432>>2]=i+468;N[i+396>>2]=i+432;N[i+360>>2]=i+396;N[i+324>>2]=i+360;N[i+288>>2]=i+324;N[i+252>>2]=i+288;N[i+216>>2]=i+252;N[i+180>>2]=i+216;N[i+144>>2]=i+180;N[i+108>>2]=i+144;N[i+72>>2]=i+108;N[i+36>>2]=i+72;j=i+36|0}N[b+28>>2]=j;j=i+32|0;L[j|0]=0;L[j+1|0]=0;L[j+2|0]=0;L[j+3|0]=0;L[i+24|0]=0;L[i+25|0]=0;L[i+26|0]=0;L[i+27|0]=0;L[i+28|0]=0;L[i+29|0]=0;L[i+30|0]=0;L[i+31|0]=0;L[i+16|0]=0;L[i+17|0]=0;L[i+18|0]=0;L[i+19|0]=0;L[i+20|0]=0;L[i+21|0]=0;L[i+22|0]=0;L[i+23|0]=0;L[i+8|0]=0;L[i+9|0]=0;L[i+10|0]=0;L[i+11|0]=0;L[i+12|0]=0;L[i+13|0]=0;L[i+14|0]=0;L[i+15|0]=0;L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0;L[i+4|0]=0;L[i+5|0]=0;L[i+6|0]=0;L[i+7|0]=0;N[i>>2]=N[b+4>>2];N[i+4>>2]=N[b+8>>2];N[i+32>>2]=N[b+44>>2];N[b+44>>2]=i;if(N[b+24>>2]){break h}o=N[b+4>>2];if(o>>>0>2]){break e}w=4;if((N[b+8>>2]-o|0)<4){break j}j=v>>>0>=x>>>0?275552:(v<<1)+I|0;j=O[j|0]|O[j+1|0]<<8;L[o|0]=0;L[o+1|0]=0;L[o+2|0]=0;L[o+3|0]=0;i=N[b+4>>2];N[b+4>>2]=i+4;if(!i){break h}L[o|0]=j;L[o+1|0]=j>>>8;if(N[b+24>>2]){break h}j=o+2|0;if(j>>>0>2]){break e}i=N[b+4>>2];if(i>>>0>>0){break d}if(i-j>>>0>=3){break c}m=o+4|0;l=m-i|0;if((l|0)<0|(l|0)>(N[b+8>>2]-i|0)){break j}if((i|0)!=(m|0)){C(i,0,l);m=N[b+4>>2]}N[b+4>>2]=l+m;if(!m){break h}y=((y|0)<=1?1:y)-1|0;i=y>>>0>D>>>0?D:y;m=i+1|0;l=m<<8|(m&65280)>>>8;L[j|0]=l;L[j+1|0]=l>>>8;l=N[b+24>>2];if(i>>>0>=65535){w=l|16;break j}if(l){break h}if(j>>>0>2]){break e}l=N[b+4>>2];if(l>>>0>>0){break d}m=m&65535?m<<1&131070:2;if(m>>>0>>0){break c}j=(j+m|0)-l|0;if((j|0)<0|(j|0)>(N[b+8>>2]-l|0)){break j}N[b+4>>2]=j+l;if(!l){break h}A:{if(!i){break A}m=0;l=k;if((i|0)!=1){w=i&1;P=i&-2;j=k;while(1){l=o+(m<<1)|0;t=i?j:275552;t=O[t|0]|O[t+1|0]<<8;L[l+4|0]=t;L[l+5|0]=t>>>8;t=o+((m|1)<<1)|0;l=(i|0)!=0;j=(l<<1)+j|0;J=(i|0)==(l|0);E=J?275552:j;E=O[E|0]|O[E+1|0]<<8;L[t+4|0]=E;L[t+5|0]=E>>>8;t=!J;j=j+(t<<1)|0;i=i-(l+t|0)|0;m=m+2|0;if((P|0)!=(m|0)){continue}break}if(!w){break A}l=i?j:275552}j=o+(m<<1)|0;i=O[l|0]|O[l+1|0]<<8;L[j+4|0]=i;L[j+5|0]=i>>>8}m=Cc(b,1);if(!(!m|N[b+24>>2])){i=N[b+44>>2];if(!i){break b}if(Q[i>>2]>n>>>0){break a}B:{C:{D:{o=N[i+8>>2];if((o|0)>=0){j=N[i+12>>2];l=j+1|0;l=(l|0)>0?l:0;if(l>>>0<=o>>>0){break C}while(1){o=((o>>>1|0)+o|0)+8|0;if(l>>>0>=o>>>0){continue}break}if(o>>>0<=357913941){j=$a(N[i+16>>2],T(o,12));if(j){break D}}N[i+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;j=589824;break B}N[i+8>>2]=o;N[i+16>>2]=j;j=N[i+12>>2]}if(j>>>0>>0){C(N[i+16>>2]+T(j,12)|0,0,T(l-j|0,12))}N[i+12>>2]=l;j=(N[i+16>>2]+T(l,12)|0)-12|0}if(N[N[b+44>>2]+8>>2]<0){N[b+24>>2]=N[b+24>>2]|1}N[j+8>>2]=m;N[j>>2]=N[j>>2]&-64|2;i=N[N[b+44>>2]>>2];N[j>>2]=2;N[j+4>>2]=n-i}j=y>>>0>D>>>0?D:y;N[h+4>>2]=D-j;N[h+8>>2]=j+N[h+8>>2];N[h>>2]=k+(j<<1);v=v+1|0;if(x>>>0>v>>>0){continue}break}}l=Cc(b,1);if(!(!l|N[b+24>>2])){k=N[b+44>>2];if(!k){break b}if(Q[k>>2]>u>>>0){break a}E:{F:{G:{j=N[k+8>>2];if((j|0)>=0){n=N[k+12>>2];i=n+1|0;i=(i|0)>0?i:0;if(i>>>0<=j>>>0){break F}while(1){j=((j>>>1|0)+j|0)+8|0;if(i>>>0>=j>>>0){continue}break}if(j>>>0<=357913941){m=$a(N[k+16>>2],T(j,12));if(m){break G}}N[k+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;j=589824;break E}N[k+8>>2]=j;N[k+16>>2]=m;n=N[k+12>>2]}if(i>>>0>n>>>0){C(N[k+16>>2]+T(n,12)|0,0,T(i-n|0,12))}N[k+12>>2]=i;j=(N[k+16>>2]+T(i,12)|0)-12|0}if(N[N[b+44>>2]+8>>2]<0){N[b+24>>2]=N[b+24>>2]|1}N[j+8>>2]=l;N[j>>2]=N[j>>2]&-64|2;k=N[N[b+44>>2]>>2];N[j>>2]=2;N[j+4>>2]=u-k}i=q;if(r>>>0>>0){i=r}N[f+4>>2]=r-i;N[f+8>>2]=N[f+8>>2]+i;N[f>>2]=(i<<1)+I;j=q>>>0>A>>>0?A:q;N[g+4>>2]=A-j;N[g+8>>2]=j+N[g+8>>2];N[g>>2]=(j<<2)+H;n=N[c+4>>2];z=z+1|0;if(n>>>0>z>>>0){continue}break}}l=0;L[a+2|0]=0;L[a+3|0]=0;d=ad(b);j=N[c>>2];if(!ee(b,d)){break k}if(!n){L[d|0]=0;L[d+1|0]=1;break n}e=n-1&2147483647;h=e+1|0;f=h&3;c=0;if(e>>>0<3){m=-2;k=j;i=0;break o}q=h&-4;i=0;m=-2;k=j;g=0;while(1){r=i;i=O[k|0]|O[k+1|0]<<8;i=(i<<8|i>>>8)&65535;r=r+((i|0)!=(m+1|0))|0;u=i+1|0;i=O[k+2|0]|O[k+3|0]<<8;i=(i<<8|i>>>8)&65535;r=r+((u|0)!=(i|0))|0;u=i+1|0;i=O[k+4|0]|O[k+5|0]<<8;i=(i<<8|i>>>8)&65535;m=O[k+6|0]|O[k+7|0]<<8;m=(m<<8|m>>>8)&65535;i=(r+((u|0)!=(i|0))|0)+((m|0)!=(i+1|0))|0;k=k+8|0;g=g+4|0;if((q|0)!=(g|0)){continue}break}break o}break e}break c}break d}break e}break c}break d}break e}break c}break d}break e}if(f){while(1){q=m+1|0;g=O[k|0]|O[k+1|0]<<8;m=(g<<8|g>>>8)&65535;i=((q|0)!=(m|0))+i|0;k=k+2|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=T(i,3);g=c>>>0>e>>>0?256:512;L[d|0]=g;L[d+1|0]=g>>>8;if((c>>>0<=e>>>0)-1|0){break n}if(!tj(b,d)){break k}c=0;H:{if(e>>>0<3){i=-2;m=0;k=j;break H}e=h&-4;i=-2;m=0;k=j;g=0;while(1){h=O[k|0]|O[k+1|0]<<8;h=(h<<8|h>>>8)&65535;i=((h|0)!=(i+1|0))+m|0;q=h+1|0;h=O[k+2|0]|O[k+3|0]<<8;h=(h<<8|h>>>8)&65535;q=i+((q|0)!=(h|0))|0;r=h+1|0;h=O[k+4|0]|O[k+5|0]<<8;h=(h<<8|h>>>8)&65535;i=O[k+6|0]|O[k+7|0]<<8;i=(i<<8|i>>>8)&65535;m=(q+((r|0)!=(h|0))|0)+((i|0)!=(h+1|0))|0;k=k+8|0;g=g+4|0;if((e|0)!=(g|0)){continue}break}}if(f){while(1){g=i+1|0;e=O[k|0]|O[k+1|0]<<8;i=(e<<8|e>>>8)&65535;m=((g|0)!=(i|0))+m|0;k=k+2|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}c=d+2|0;if(!ee(b,c)){break k}d=m<<8|(m&65280)>>>8;L[c|0]=d;L[c+1|0]=d>>>8;if(m>>>0>=65536){N[b+24>>2]=N[b+24>>2]|16}if(!sj(b,c,T(m&65535,6)+2|0)){break k}if(!m){break m}f=(n<<1)+j|0;l=-2;m=0;k=-1;while(1){e=l+1|0;d=O[j|0]|O[j+1|0]<<8;l=(d<<8|d>>>8)&65535;if((e|0)!=(l|0)){k=k+1|0;e=O[c|0]|O[c+1|0]<<8;I:{if(k>>>0>=((e<<8|e>>>8)&65535)>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break I}e=(c+T(k,6)|0)+2|0}L[e|0]=d;L[e+1|0]=d>>>8;e=O[c|0]|O[c+1|0]<<8;J:{if(((e<<8|e>>>8)&65535)>>>0<=k>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break J}e=(c+T(k,6)|0)+2|0}g=m<<8|(m&65280)>>>8;L[e+4|0]=g;L[e+5|0]=g>>>8}e=O[c|0]|O[c+1|0]<<8;K:{if(((e<<8|e>>>8)&65535)>>>0<=k>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break K}e=(c+T(k,6)|0)+2|0}L[e+2|0]=d;L[e+3|0]=d>>>8;m=m+1|0;j=j+2|0;if((f|0)!=(j|0)){continue}break}break m}d=d+2|0;if(!ee(b,d)){break k}c=n<<8|(n&65280)>>>8;L[d|0]=c;L[d+1|0]=c>>>8;c=N[b+24>>2];if(n>>>0>=65536){c=c|16;break l}if(c){break k}if(d>>>0>2]){break e}e=N[b+4>>2];if(e>>>0>>0){break d}f=(n<<1&131070)+2|0;if(f>>>0>>0){break c}c=4;f=(d+f|0)-e|0;if((f|0)<0|(f|0)>(N[b+8>>2]-e|0)){break l}N[b+4>>2]=e+f;if(!e){break k}if(!n){break m}i=0;if((n|0)!=1){e=n&1;f=n&-2;while(1){c=d+(i<<1)|0;g=n?j:275552;g=O[g|0]|O[g+1|0]<<8;L[c+2|0]=g;L[c+3|0]=g>>>8;g=d+((i|1)<<1)|0;c=(n|0)!=0;h=(c<<1)+j|0;j=(c|0)==(n|0);k=j?275552:h;k=O[k|0]|O[k+1|0]<<8;L[g+2|0]=k;L[g+3|0]=k>>>8;g=!j;j=h+(g<<1)|0;n=n-(c+g|0)|0;i=i+2|0;if((f|0)!=(i|0)){continue}break}if(!e){break m}j=n?j:275552}c=d+(i<<1)|0;d=O[j|0]|O[j+1|0]<<8;L[c+2|0]=d;L[c+3|0]=d>>>8}l=1;de(b,a+2|0,Cc(b,1));break f}N[b+24>>2]=c;$c(b);break f}$c(b);break f}N[b+24>>2]=w;break h}if(N[b+24>>2]){break h}N[b+24>>2]=1;$c(b);break g}$c(b)}$c(b);l=0}La=F+16|0;return l}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}ba(9271,14296,479,13575);B()}ba(11056,14296,480,13575);B()}function xq(a,b,c,d,e){var 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,t=0,u=0,v=0;k=La-32|0;La=k;n=N[c+80>>2];j=d+3|0;a:{if(N[c+44>>2]!=1265525857|j>>>0>e>>>0){break a}f=T(d,20)+n|0;if(O[f+12|0]&32|O[f+18|0]!=15){break a}g=d+1|0;f=T(g,20)+n|0;if(O[f+12|0]&32|O[f+18|0]!=4){break a}h=T(d,20)+n|0;if(O[h+52|0]&32){break a}h=h+40|0;if(O[h+18|0]!=6){break a}Ib(c,g,j);N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;N[f+16>>2]=N[h+16>>2];g=N[h+12>>2];N[f+8>>2]=N[h+8>>2];N[f+12>>2]=g;g=N[h+4>>2];N[f>>2]=N[h>>2];N[f+4>>2]=g;N[h+16>>2]=N[k+24>>2];f=N[k+20>>2];N[h+8>>2]=N[k+16>>2];N[h+12>>2]=f;f=N[k+12>>2];N[h>>2]=N[k+8>>2];N[h+4>>2]=f}g=N[N[a>>2]+16>>2];b:{c:{d:{e:{if(!(!N[a+100>>2]|e>>>0>>0)){h=e;j=d;f:{g:{switch(g|0){case 0:f=T(d,20)+n|0;if(O[f+52|0]&32){break f}f=O[f+58|0];if(f>>>0>31|!(1<>2]=N[f>>2];N[k+12>>2]=N[f+20>>2];N[k+16>>2]=(g|0)==1?N[f+40>>2]:0;h=N[a+16>>2];if(h){f=N[a+12>>2];h=f+T(h,12)|0;while(1){if(Dc(b,P[f>>1],k+8|0,2,O[a+24|0])){break d}f=f+12|0;if((h|0)!=(f|0)){continue}break}g=N[N[a>>2]+16>>2]}h:{if((g|0)!=1){break h}h=N[a+16>>2];if(!h){break h}f=N[a+12>>2];h=f+T(h,12)|0;while(1){if(Dc(b,P[f>>1],k+8|0,3,O[a+24|0])){break d}f=f+12|0;if((h|0)!=(f|0)){continue}break}}h=e;break b}h=e;j=d;if((g|0)!=2){break b}}if(O[(T(d,20)+n|0)+18|0]!=14){break b}i=1;f=d+1|0;j=e>>>0>f>>>0?e:f;f=d;while(1){f=f+1|0;if(f>>>0>=e>>>0){h=d;break b}h=T(f,20)+n|0;if(O[h+12|0]&32){h=d;j=f;break b}h=O[h+18|0];if(1<>>0<=31:0){continue}break}j=f;break c}i=1;j=d+2|0;if(j>>>0>=e>>>0){h=d;break b}i:{while(1){f=T(j,20)+n|0;if(O[f+12|0]&32){h=d;break b}f=O[f+18|0];if(f>>>0>31|!(1<>>0>31|!(1<>>0>=f>>>0){break k}if(O[(T(g,20)+s|0)-24|0]==4){break j}}if(f>>>0>j>>>0){continue}}break}i=i?(d|0)!=(h|0)|j-h>>>0>2:0;o:{if(d>>>0>=h>>>0){break o}f=d;l=h-f&3;if(l){g=0;while(1){m=T(f,20)+q|0;j=O[m+16|0];L[m+16|0]=j>>>0>=3?3:j;f=f+1|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}if((d^-1)+h>>>0<=2){break o}while(1){j=T(f,20)+q|0;g=O[j+16|0];L[j+16|0]=g>>>0>=3?3:g;g=O[j+36|0];L[j+36|0]=g>>>0>=3?3:g;g=O[j+56|0];L[j+56|0]=g>>>0>=3?3:g;g=j;j=O[j+76|0];L[g+76|0]=j>>>0>=3?3:j;f=f+4|0;if((h|0)!=(f|0)){continue}break}}if(e>>>0>h>>>0){L[(T(h,20)+n|0)+19|0]=4}if(i){L[(T(d,20)+n|0)+19|0]=1}p:{if(!O[a+4|0]){break p}l=N[c+44>>2];f=h;while(1){j=f;f=f+1|0;if(f>>>0>=e>>>0){break p}if(O[(T(f,20)+s|0)+16|0]!=4){continue}break}i=e-1|0;if(i>>>0<=f>>>0){break p}g=T(f,20)+n|0;p=(l|0)!=1265525857;while(1){q:{o=T(i,20);l=o+n|0;r:{if(O[l+12|0]&32){break r}m=O[l+18|0];if(m>>>0>31){break r}if(1<>>0>f>>>0){continue}break p}i=i-1|0;if(i>>>0>f>>>0){continue}break p}break}if((m|0)==4){break p}N[k+24>>2]=N[g+16>>2];m=N[g+12>>2];N[k+16>>2]=N[g+8>>2];N[k+20>>2]=m;m=N[g+4>>2];N[k+8>>2]=N[g>>2];N[k+12>>2]=m;F(g,(T(j,20)+n|0)+40|0,T(i-f|0,20));N[l+16>>2]=N[k+24>>2];f=N[k+20>>2];N[l+8>>2]=N[k+16>>2];N[l+12>>2]=f;f=N[k+12>>2];N[l>>2]=N[k+8>>2];N[l+4>>2]=f}o=d>>>0>>0;if(o){j=0;f=d;while(1){i=T(f,20)+n|0;l=O[i+18|0];s:{if(!(l>>>0>31|!(1<>>0>=g>>>0){break s}g=g-1|0;l=O[(T(g,20)+q|0)+16|0];if((l|0)==2){continue}break}L[i+19|0]=l;break s}g=O[i+19|0];if((g|0)==13){break s}if(!((l|0)!=13|d>>>0>=f>>>0|O[i-2|0]!=8)){L[(i-4|0)+3|0]=g}j=g}f=f+1|0;if((f|0)!=(e|0)){continue}break}}f=h+1|0;if(f>>>0>>0){p=h-1|0;j=0;l=h;while(1){i=l;t:{u:{m=T(f,20);g=m+n|0;if(O[g+12|0]&32){g=O[(m+s|0)+16|0];l=1<>>0>31){break u}g=i+1|0;l=f;if(g>>>0>=f>>>0){break t}m=m+q|0;if((h+j|0)-i&1){g=T(g,20)+q|0;if(O[g+16|0]<=12){L[g+16|0]=O[m+16|0]}g=i+2|0}l=f;if((i|0)==(j+p|0)){break t}while(1){i=T(g,20)+q|0;if(O[i+16|0]<=12){L[i+16|0]=O[m+16|0]}if(O[i+36|0]<=12){L[i+36|0]=O[m+16|0]}g=g+2|0;if(g>>>0>>0){continue}break}l=f;break t}l=g>>>0>31?i:l&8320?f:i}j=j+1|0;f=f+1|0;if((f|0)!=(e|0)){continue}break}}u=e-d|0;i=T(d,20)+n|0;p=O[i+15|0];v=d>>>0>=e>>>0;v:{if(v){break v}f=d;h=u&3;if(h){g=0;while(1){L[(T(f,20)+q|0)+12|0]=f-d;f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}if((d^-1)+e>>>0<3){break v}while(1){h=T(f,20)+q|0;j=f-d|0;L[h+32|0]=j+1;L[h+12|0]=j;L[h+52|0]=j+2;L[h+72|0]=j+3;f=f+4|0;if((f|0)!=(e|0)){continue}break}}if(u>>>0>=2){l=i+19|0;j=1;while(1){h=T(j,20);m=h+l|0;g=j;while(1){w:{f=g;if(!f){f=0;break w}g=f-1|0;if(O[l+T(g,20)|0]>O[m|0]){continue}}break}if((f|0)!=(j|0)){h=h+i|0;N[k+24>>2]=N[h+16>>2];g=N[h+12>>2];N[k+16>>2]=N[h+8>>2];N[k+20>>2]=g;g=N[h+4>>2];N[k+8>>2]=N[h>>2];N[k+12>>2]=g;h=i+T(f,20)|0;F(h+20|0,h,T(j-f|0,20));N[h+16>>2]=N[k+24>>2];f=N[k+20>>2];N[h+8>>2]=N[k+16>>2];N[h+12>>2]=f;f=N[k+12>>2];N[h>>2]=N[k+8>>2];N[h+4>>2]=f}j=j+1|0;if((u|0)!=(j|0)){continue}break}}j=e;x:{if(!o){break x}j=d;m=e;h=e;y:{while(1){z:{switch(O[(T(j,20)+q|0)+16|0]-2|0){case 0:h=(e|0)==(h|0)?j:h;m=j;break;case 2:break y;default:break z}}j=j+1|0;if((j|0)!=(e|0)){continue}break}j=e}if(h>>>0>=m>>>0){break x}f=N[c+68>>2];o=m+1|0;g=f>>>0>>0?f:o;i=f>>>0>>0?f:h;A:{if(g>>>0>>0){break A}l=g-1|0;if(l>>>0<=i>>>0){break A}r=N[c+80>>2];while(1){f=r+T(l,20)|0;N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;g=r+T(i,20)|0;N[f+16>>2]=N[g+16>>2];t=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=t;t=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=t;N[g+16>>2]=N[k+24>>2];f=N[k+20>>2];N[g+8>>2]=N[k+16>>2];N[g+12>>2]=f;f=N[k+12>>2];N[g>>2]=N[k+8>>2];N[g+4>>2]=f;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}}B:{if(!O[c+63|0]){break B}f=N[c+68>>2];g=f>>>0>>0?f:o;i=f>>>0>>0?f:h;if(g>>>0>>0){break B}l=g-1|0;if(l>>>0<=i>>>0){break B}o=N[c+88>>2];while(1){f=o+T(l,20)|0;N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;g=o+T(i,20)|0;N[f+16>>2]=N[g+16>>2];r=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=r;r=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=r;N[g+16>>2]=N[k+24>>2];f=N[k+20>>2];N[g+8>>2]=N[k+16>>2];N[g+12>>2]=f;f=N[k+12>>2];N[g>>2]=N[k+8>>2];N[g+4>>2]=f;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}}f=h;while(1){g=f;f=h;h=f+1|0;f=O[(T(f,20)+s|0)+16|0];C:{if(f>>>0>31){f=g;break C}if(!(1<>2];l=f>>>0>>0?f:h;i=f>>>0>>0?f:g;D:{if(l>>>0>>0){break D}l=l-1|0;if(l>>>0<=i>>>0){break D}r=N[c+80>>2];while(1){o=r+T(l,20)|0;N[k+24>>2]=N[o+16>>2];f=N[o+12>>2];N[k+16>>2]=N[o+8>>2];N[k+20>>2]=f;f=N[o+4>>2];N[k+8>>2]=N[o>>2];N[k+12>>2]=f;f=r+T(i,20)|0;N[o+16>>2]=N[f+16>>2];t=N[f+12>>2];N[o+8>>2]=N[f+8>>2];N[o+12>>2]=t;t=N[f+4>>2];N[o>>2]=N[f>>2];N[o+4>>2]=t;N[f+16>>2]=N[k+24>>2];o=N[k+20>>2];N[f+8>>2]=N[k+16>>2];N[f+12>>2]=o;o=N[k+12>>2];N[f>>2]=N[k+8>>2];N[f+4>>2]=o;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}}f=h;if(!O[c+63|0]){break C}i=N[c+68>>2];l=f>>>0>i>>>0?i:h;i=g>>>0>i>>>0?i:g;if(l>>>0>>0){break C}l=l-1|0;if(l>>>0<=i>>>0){break C}o=N[c+88>>2];while(1){f=o+T(l,20)|0;N[k+24>>2]=N[f+16>>2];g=N[f+12>>2];N[k+16>>2]=N[f+8>>2];N[k+20>>2]=g;g=N[f+4>>2];N[k+8>>2]=N[f>>2];N[k+12>>2]=g;g=o+T(i,20)|0;N[f+16>>2]=N[g+16>>2];r=N[g+12>>2];N[f+8>>2]=N[g+8>>2];N[f+12>>2]=r;r=N[g+4>>2];N[f>>2]=N[g>>2];N[f+4>>2]=r;N[g+16>>2]=N[k+24>>2];f=N[k+20>>2];N[g+8>>2]=N[k+16>>2];N[g+12>>2]=f;f=N[k+12>>2];N[g>>2]=N[k+8>>2];N[g+4>>2]=f;i=i+1|0;l=l-1|0;if(i>>>0>>0){continue}break}f=h}if(h>>>0<=m>>>0){continue}break}}E:{if(!(O[a+4|0]|u>>>0>127)){if(e>>>0<=j>>>0){break E}l=j;while(1){f=O[(T(l,20)+q|0)+12|0];F:{if((f|0)==255){break F}f=d+f|0;i=l;g=i;if((f|0)!=(g|0)){while(1){h=T(f,20)+q|0;m=O[h+12|0];L[h+12|0]=255;i=f>>>0>>0?i:f;g=f>>>0>g>>>0?g:f;f=d+m|0;if((l|0)!=(f|0)){continue}break}}f=i+1|0;h=g>>>0>>0?j:g;if(f-h>>>0<2){break F}Ib(c,h,f)}l=l+1|0;if((l|0)!=(e|0)){continue}break}break E}if(e-j>>>0<2){break E}Ib(c,j,e)}G:{if(v){break G}g=d;h=u&7;if(h){f=0;while(1){L[(T(g,20)+q|0)+12|0]=p;g=g+1|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}f=d;if((f^-1)+e>>>0>=7){while(1){f=T(g,20)+q|0;L[f+32|0]=p;L[f+12|0]=p;L[f+52|0]=p;L[f+72|0]=p;L[f+92|0]=p;L[f+112|0]=p;L[f+132|0]=p;L[f+152|0]=p;g=g+8|0;if((g|0)!=(e|0)){continue}break}f=d}while(1){h=T(f,20);if(O[(h+q|0)+16|0]!=1){break G}h=h+n|0;N[h+4>>2]=N[h+4>>2]|N[a+100>>2];f=f+1|0;if((f|0)!=(e|0)){continue}break}}g=N[a+120>>2];l=O[a+4|0];g=l|N[N[a>>2]+20>>2]?g:N[a+112>>2]|g;H:{if(d>>>0>=j>>>0){break H}f=d;h=j-f&3;if(h){i=0;while(1){m=T(f,20)+n|0;N[m+4>>2]=N[m+4>>2]|g;f=f+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if((d^-1)+j>>>0<=2){break H}while(1){h=T(f,20)+n|0;N[h+4>>2]=N[h+4>>2]|g;N[h+24>>2]=N[h+24>>2]|g;N[h+44>>2]=N[h+44>>2]|g;h=h- -64|0;N[h>>2]=N[h>>2]|g;f=f+4|0;if((j|0)!=(f|0)){continue}break}}f=j+1|0;I:{if(f>>>0>=e>>>0){break I}g=N[a+124>>2]|(N[a+116>>2]|N[a+112>>2]);h=(j^-1)+e&3;if(h){i=0;while(1){m=T(f,20)+n|0;N[m+4>>2]=g|N[m+4>>2];f=f+1|0;i=i+1|0;if((h|0)!=(i|0)){continue}break}}if((e-j|0)-2>>>0<3){break I}while(1){h=T(f,20)+n|0;N[h+4>>2]=g|N[h+4>>2];N[h+24>>2]=g|N[h+24>>2];N[h+44>>2]=g|N[h+44>>2];h=h- -64|0;N[h>>2]=g|N[h>>2];f=f+4|0;if((f|0)!=(e|0)){continue}break}}J:{if(!l|N[c+44>>2]!=1147500129){break J}i=d+1|0;if(i>>>0>=j>>>0){break J}f=d;while(1){c=f;f=i;h=T(c,20);K:{if(O[(h+s|0)+16|0]!=15){break K}g=T(f,20);if(O[(g+s|0)+16|0]!=4){break K}c=c+2|0;if((c|0)!=(j|0)&O[(T(c,20)+s|0)+16|0]==6){break K}c=h+n|0;N[c+4>>2]=N[c+4>>2]|N[a+112>>2];c=g+n|0;N[c+4>>2]=N[c+4>>2]|N[a+112>>2]}i=f+1|0;if((i|0)!=(j|0)){continue}break}}L:{if(!N[a+108>>2]|j+2>>>0>=e>>>0){break L}while(1){c=T(j,20)+n|0;N[k+8>>2]=N[c+20>>2];N[k+12>>2]=N[c+40>>2];c=j+1|0;M:{h=N[a+32>>2];if(!h){break M}g=j+2|0;f=N[a+28>>2];h=f+T(h,12)|0;while(1){if(!Dc(b,P[f>>1],k+8|0,2,O[a+40|0])){f=f+12|0;if((h|0)!=(f|0)){continue}break M}break}b=T(c,20)+n|0;N[b+4>>2]=N[b+4>>2]|N[a+108>>2];b=T(g,20)+n|0;N[b+4>>2]=N[b+4>>2]|N[a+108>>2];break L}f=j+3|0;j=c;if(e>>>0>f>>>0){continue}break}}g=d+1|0;if(g>>>0>>0){i=d;while(1){f=i;i=g;b=T(g,20)+n|0;N:{if(O[b+12|0]&32){break N}b=O[b+18|0];if((b|0)!=5|!(1<>2]=N[b+4>>2]&(N[a+120>>2]^-1);if(d>>>0>=f>>>0){break N}while(1){b=T(f,20)+n|0;O:{if(O[b+12|0]&32){break O}b=O[b+18|0];if(b>>>0>31){break O}if(1<>2]=N[b+4>>2]&(N[a+120>>2]^-1);if(d>>>0>>0){continue}break}}g=i+1|0;if((g|0)!=(e|0)){continue}break}}La=k+32|0}function qC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;f=La-6752|0;La=f;h=N[N[a+4>>2]>>2];c=f- -64|0;C(c|4,0,2748);N[f+16>>2]=0;N[f+20>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+64>>2]=h;N[f+8>>2]=c;o=N[b+4>>2];n=N[o+84>>2];q=N[n+156>>2];w=N[q>>2];i=N[o+88>>2];j=N[i+40>>2];h=N[j+12>>2];a:{b:{if(!h){g=e>>>16&15;break b}c=N[j+4>>2];g=e>>>16&15;if((c|0)==(g|0)){break a}}N[j+4>>2]=g;N[j+32>>2]=N[i+36>>2];b=N[i+32>>2];N[j+24>>2]=N[i+28>>2];N[j+28>>2]=b;b=N[i+24>>2];N[j+16>>2]=N[i+20>>2];N[j+20>>2]=b;b=N[i+16>>2];N[j+8>>2]=N[i+12>>2];N[j+12>>2]=b;h=N[j+12>>2];c=g}N[f+6712>>2]=0;N[f+6704>>2]=h;N[f+6700>>2]=o;b=N[j+16>>2];N[f+6724>>2]=0;N[f+6720>>2]=c;N[f+6716>>2]=0;N[f+6708>>2]=b;N[f>>2]=o;g=N[o+116>>2];N[f+4>>2]=g;c:{if(!g){h=Dg(o,f|4,a);if(h){break c}g=N[f+4>>2];N[o+116>>2]=g;N[o+120>>2]=311}if(Q[g+4>>2]<=d>>>0){h=6;break c}i=d<<1;h=P[i+N[g+8>>2]>>1]&16383;j=((h<<2)+g|0)+24|0;b=N[j>>2];d:{if(b){break d}while(1){m=N[N[g>>2]+100>>2];c=N[(h<<2)+288960>>2];l=N[(N[c+4>>2]<<2)+288672>>2];h=N[l+4>>2];e:{if((h|0)<=0){b=0;if(!h){break e}h=6;break c}b=Qa[N[m+4>>2]](m,h)|0;if(!b){h=64;break c}C(b,0,h)}N[b+36>>2]=g;N[b>>2]=c;f:{c=N[l+8>>2];if(!c){break f}h=Qa[c|0](b,N[g>>2])|0;if(!h){break f}c=N[l+16>>2];if(c){Qa[c|0](b)}Qa[N[m+8>>2]](m,b);if((h|0)!=-1){break c}h=P[i+N[g+8>>2]>>1]&16383;j=((h<<2)+g|0)+24|0;b=N[j>>2];if(!b){continue}break d}break}N[j>>2]=b}c=N[N[b>>2]+4>>2];N[f+12>>2]=b;y=N[(c<<2)+288672>>2];c=N[y+12>>2];g:{if(c){Qa[c|0](b,f+6700|0);break g}c=N[f+6704>>2];N[b+4>>2]=N[f+6700>>2];N[b+8>>2]=c;N[b+28>>2]=N[f+6724>>2];h=f+6716|0;c=N[h+4>>2];N[b+20>>2]=N[h>>2];N[b+24>>2]=c;h=f+6708|0;c=N[h+4>>2];N[b+12>>2]=N[h>>2];N[b+16>>2]=c}c=N[y+24>>2];if(c){h=Qa[c|0](f- -64|0,b)|0;if(h){break c}}h=vc(o,d,e&-10246|10241);if(h){break c}h:{if(N[f+6720>>2]!=1){break h}c=L[N[o+128>>2]+56|0];if(O[a+20|0]|(c|0)>=0?c:0){break h}h=N[o+84>>2];r=N[N[o+88>>2]+40>>2];p=N[f+4>>2];N[f+6748>>2]=0;N[f+6744>>2]=0;s=P[o+68>>1];m=P[p+372>>1];l=P[r+8>>1];N[f+6736>>2]=N[73415];a=N[73414];N[f+6728>>2]=N[73413];N[f+6732>>2]=a;if(!s){break h}a=N[N[(N[N[b>>2]+4>>2]<<2)+288672>>2]+20>>2];if(!a){break h}Qa[a|0](b,f+6744|0,f+6748|0);a=N[f+6748>>2];i:{j:{k:{if(((a|0)==N[p+376>>2]|(a|0)<=0)&(l|0)==(m|0)){break k}j=N[N[f+4>>2]+396>>2];i=P[o+68>>1];g=P[N[o+88>>2]+12>>1];e=sp(j,i,g,a);c=N[r+12>>2];N[p+376>>2]=a;a=P[r+8>>1];z=p,A=ob(e,c)+32768>>16,N[z+384>>2]=A;M[p+372>>1]=a;if((l|0)==(m|0)){break k}e=N[f+6744>>2];break j}e=N[f+6744>>2];if((e|0)<=0|N[p+380>>2]==(e|0)){break i}j=N[N[f+4>>2]+396>>2];i=P[o+68>>1];g=P[N[o+88>>2]+12>>1]}g=sp(j,i,g,e);c=N[r+16>>2];N[p+380>>2]=e;a=P[r+8>>1];z=p,A=ob(g,c)+32768>>16,N[z+388>>2]=A;M[p+372>>1]=a;a=s<<16;z=p,A=fb((a-g|0)-524288|0,a),N[z+392>>2]=A}a=h+108|0;mn(a,N[p+384>>2],N[p+388>>2]);N[f+6740>>2]=N[p+392>>2];lg(a,f+6728|0)}a=O[q+8|0];L[f+16|0]=a;l:{if(!a){break l}j=N[q+24>>2];c=N[q+20>>2];N[f+28>>2]=c;N[f+32>>2]=j;i=N[q+16>>2];a=N[q+12>>2];N[f+20>>2]=a;N[f+24>>2]=i;g=N[q+28>>2];h=N[q+32>>2];e=f+6736|0;N[e>>2]=c;N[e+4>>2]=j;N[f+36>>2]=g;N[f+40>>2]=h;N[f+6728>>2]=a;N[f+6732>>2]=i;o=N[f+6740>>2];c=o>>31;t=(c^o)-c|0;c=a>>31;v=(c^a)-c|0;m:{if((t>>>8|0)+v>>>0<=8190){c=T(t,v)+32768>>>16|0;break m}c=v&65535;c=T(c,t>>>16|0)+T(t,v>>>16|0)+(T(c,t&65535)+32768>>>16)|0}r=a>>31|1;g=0-r|0;c=(((o|0)<0?g:r)|0)<0?0-c|0:c;h=N[f+6732>>2];e=h>>31;p=N[f+6736>>2];a=p>>31;e=(e^h)-e|0;u=(a^p)-a|0;n:{if(e+(u>>>8|0)>>>0<=8190){a=T(e,u)+32768>>>16|0;break n}a=e&65535;a=T(a,u>>>16|0)+T(u,e>>>16|0)+(T(a,u&65535)+32768>>>16)|0}s=h>>31|1;h=0-s|0;a=(((p|0)<0?h:s)|0)<0?0-a|0:a;if((c|0)==(a|0)){break l}x=c-a|0;a=x>>31;k=(a^x)-a|0;q=k>>>17^65535;o:{if(q>>>0>=e>>>0){c=((e<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break o}c=2147483647;a=k>>>1|0;i=a+(e<<16)|0;e=(e>>>16|0)+(a>>>0>i>>>0)|0;if(e>>>0>=k>>>0){break o}l=W(e);a=32-l|0;e=i>>>a|e<>>0)/(k>>>0)|0;j=e-T(c,k)|0;i=i<>>31;e=a>>>0>=k>>>0;j=a-(e?k:0)|0;c=e|c<<1;i=i<<1;a=31-l|0}if((l|0)==31){break o}while(1){e=j<<1|i>>>31;m=e>>>0>=k>>>0;e=i>>>30&1|e-(m?k:0)<<1;l=e>>>0>=k>>>0;j=e-(l?k:0)|0;c=c<<2|m<<1|l;i=i<<2;a=a-2|0;if(a){continue}break}}N[f+6732>>2]=(((x|0)<0?h:s)|0)<0?c:0-c|0;p:{if(q>>>0>=u>>>0){c=((u<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break p}c=2147483647;a=k>>>1|0;h=a+(u<<16)|0;e=(u>>>16|0)+(a>>>0>h>>>0)|0;if(e>>>0>=k>>>0){break p}l=W(e);a=32-l|0;e=h>>>a|e<>>0)/(k>>>0)|0;j=e-T(c,k)|0;i=h<>>31;e=a>>>0>=k>>>0;j=a-(e?k:0)|0;c=e|c<<1;i=i<<1;a=31-l|0}if((l|0)==31){break p}while(1){e=j<<1|i>>>31;l=e>>>0>=k>>>0;e=i>>>30&1|e-(l?k:0)<<1;h=e>>>0>=k>>>0;j=e-(h?k:0)|0;c=h|(c<<2|l<<1);i=i<<2;a=a-2|0;if(a){continue}break}}a=p>>31|1;N[f+6736>>2]=(((x|0)<0?0-a|0:a)|0)<0?c:0-c|0;q:{if(q>>>0>=t>>>0){c=((t<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break q}c=2147483647;a=k>>>1|0;h=a+(t<<16)|0;e=(t>>>16|0)+(a>>>0>h>>>0)|0;if(e>>>0>=k>>>0){break q}j=W(e);a=32-j|0;e=h>>>a|e<>>0)/(k>>>0)|0;e=e-T(c,k)|0;i=h<>>31;h=a>>>0>=k>>>0;e=a-(h?k:0)|0;c=h|c<<1;i=i<<1;a=31-j|0}if((j|0)==31){break q}while(1){e=e<<1|i>>>31;j=e>>>0>=k>>>0;e=i>>>30&1|e-(j?k:0)<<1;h=e>>>0>=k>>>0;e=e-(h?k:0)|0;c=h|(c<<2|j<<1);i=i<<2;a=a-2|0;if(a){continue}break}}h=f+36|0;a=o>>31|1;N[f+6728>>2]=(((x|0)<0?0-a|0:a)|0)<0?0-c|0:c;r:{if(q>>>0>=v>>>0){c=((v<<16)+(k>>>1|0)>>>0)/(k>>>0)|0;break r}c=2147483647;a=k>>>1|0;i=a+(v<<16)|0;e=(v>>>16|0)+(a>>>0>i>>>0)|0;if(e>>>0>=k>>>0){break r}l=W(e);a=32-l|0;e=i>>>a|e<>>0)/(k>>>0)|0;e=e-T(c,k)|0;i=i<>>31;j=a>>>0>=k>>>0;e=a-(j?k:0)|0;c=j|c<<1;i=i<<1;a=31-l|0}if((l|0)==31){break r}while(1){e=e<<1|i>>>31;l=e>>>0>=k>>>0;e=i>>>30&1|e-(l?k:0)<<1;j=e>>>0>=k>>>0;e=e-(j?k:0)|0;c=j|(c<<2|l<<1);i=i<<2;a=a-2|0;if(a){continue}break}}N[f+6740>>2]=(((x|0)<0?g:r)|0)<0?0-c|0:c;id(h,f+6728|0)}j=7;s:{if(N[n+72>>2]!=1869968492){break s}t:{if(!O[f+16|0]){break t}e=M[n+110>>1];if((e|0)<=0){break t}i=N[f+40>>2];h=N[f+36>>2];g=N[n+112>>2];if(e>>>0>=4){a=e&-4;c=0;while(1){N[g>>2]=h+N[g>>2];N[g+4>>2]=i+N[g+4>>2];N[g+8>>2]=h+N[g+8>>2];N[g+16>>2]=h+N[g+16>>2];N[g+24>>2]=h+N[g+24>>2];N[g+12>>2]=i+N[g+12>>2];N[g+20>>2]=i+N[g+20>>2];N[g+28>>2]=i+N[g+28>>2];g=g+32|0;c=c+4|0;if((a|0)!=(c|0)){continue}break}}a=e&3;if(!a){break t}c=0;while(1){N[g>>2]=h+N[g>>2];N[g+4>>2]=i+N[g+4>>2];g=g+8|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}e=N[f+80>>2];N[f+48>>2]=e;c=N[f+72>>2];N[f+44>>2]=c;i=N[n+40>>2];g=i>>31;h=N[f+68>>2];a=h>>31;g=(g^i)-g|0;j=(a^h)-a|0;u:{if(g+(j>>>8|0)>>>0<=8190){g=T(g,j)+32768>>>16|0;break u}a=g&65535;g=T(a,j>>>16|0)+T(j,g>>>16|0)+(T(a,j&65535)+32768>>>16)|0}a=g;N[f+56>>2]=e;j=0;e=0-a|0;a=i>>31|1;N[f+52>>2]=c+((((h|0)<0?0-a|0:a)|0)<0?e:g);if(!P[n+110>>1]){break s}a=N[y+28>>2];if(a){h=Qa[a|0](d,f- -64|0,w+20|0,b)|0;if(h){break c}}v:{if(N[f+6720>>2]!=1){c=N[f+120>>2];if(!(O[f+2804|0]&4|(c|0)<2)){e=N[f+128>>2];c=(e+T(c,44)|0)-44|0;s=N[c+8>>2];g=N[c+4>>2];h=N[e+8>>2];m=N[e+4>>2];c=h-m|0;e=(m|0)<24?c-8|0:c;i=e+32&-64;N[f+44>>2]=i;l=N[f+52>>2]-g|0;c=l+s|0;c=(l|0)<24?c+8|0:c;g=c+32&-64;N[f+52>>2]=g;if(!((m|0)<=0|(h|0)>(i|0))){i=i+-64|0;N[f+44>>2]=i}if(!((l|0)<=0|(g|0)>(s|0))){g=g- -64|0;N[f+52>>2]=g}N[n+144>>2]=i-e;a=g-c|0;break v}g=N[f+52>>2];h=g+32&-64;N[f+52>>2]=h;e=N[f+44>>2];c=e+32&-64;N[f+44>>2]=c;N[n+144>>2]=c-e;a=h-g|0;break v}g=N[f+52>>2];h=g+32&-64;N[f+52>>2]=h;e=N[f+44>>2];c=e+32&-64;N[f+44>>2]=c;N[n+144>>2]=c-e;a=h-g|0}N[n+148>>2]=a}g=N[n+48>>2]-N[n+36>>2]|0;h=N[n+44>>2]-N[n+32>>2]|0;e=h>>31;c=N[b+8>>2];a=c>>31;e=(e^h)-e|0;i=(a^c)-a|0;w:{if(e+(i>>>8|0)>>>0<=8190){e=T(e,i)+32768>>>16|0;break w}a=e&65535;e=T(a,i>>>16|0)+T(i,e>>>16|0)+(T(a,i&65535)+32768>>>16)|0}a=e;i=0-a|0;a=h>>31|1;N[f+6728>>2]=(((c|0)<0?0-a|0:a)|0)<0?i:e;c=N[b+12>>2];a=c>>31;h=(a^c)-a|0;a=g>>31;e=(a^g)-a|0;x:{if((h>>>8|0)+e>>>0<=8190){e=T(e,h)+32768>>>16|0;break x}a=e&65535;e=T(a,h>>>16|0)+T(h,e>>>16|0)+(T(a,h&65535)+32768>>>16)|0}a=e;h=0-a|0;a=g>>31|1;N[f+6732>>2]=(((c|0)<0?0-a|0:a)|0)<0?h:e;if(O[f+16|0]){c=f+20|0;g=N[w+24>>2];y:{if(!g){break y}a=M[w+22>>1];if((a|0)<=0){break y}a=(a<<3)+g|0;while(1){id(g,c);g=g+8|0;if(a>>>0>g>>>0){continue}break}}id(f+6728|0,c)}m=N[f+44>>2];l=M[w+22>>1];z:{if(!m|(l|0)<=0){break z}i=l&3;g=N[w+24>>2];A:{if(l>>>0<4){break A}e=l-4|0;a=(e>>>2|0)+1|0;c=a&1;if(e>>>0>=4){a=a&2147483646;h=0;while(1){N[g>>2]=N[g>>2]-m;N[g+8>>2]=N[g+8>>2]-m;N[g+16>>2]=N[g+16>>2]-m;N[g+24>>2]=N[g+24>>2]-m;N[g+32>>2]=N[g+32>>2]-m;N[g+40>>2]=N[g+40>>2]-m;N[g+48>>2]=N[g+48>>2]-m;N[g+56>>2]=N[g+56>>2]-m;g=g- -64|0;h=h+2|0;if((a|0)!=(h|0)){continue}break}}if(!c){break A}N[g>>2]=N[g>>2]-m;N[g+8>>2]=N[g+8>>2]-m;N[g+16>>2]=N[g+16>>2]-m;N[g+24>>2]=N[g+24>>2]-m;g=g+32|0}if(!i){break z}h=0;while(1){N[g>>2]=N[g>>2]-m;g=g+8|0;h=h+1|0;if((i|0)!=(h|0)){continue}break}}B:{if(!l){g=0;c=0;i=0;h=0;break B}a=N[w+24>>2];i=N[a+4>>2];h=N[a>>2];if((l|0)<2){g=i;c=h;break B}l=(l<<3)+a|0;e=a+8|0;c=h;g=i;while(1){m=N[a+12>>2];g=(g|0)<(m|0)?m:g;i=(i|0)>(m|0)?m:i;a=N[a+8>>2];c=(a|0)>(c|0)?a:c;h=(a|0)<(h|0)?a:h;a=e;e=a+8|0;if(l>>>0>e>>>0){continue}break}}e=h&-64;N[n+32>>2]=e;a=g+63&-64;N[n+36>>2]=a;N[n+28>>2]=a-(i&-64);N[n+24>>2]=(c+63&-64)-e;N[n+44>>2]=e+N[f+6728>>2]&-64;N[n+48>>2]=a+N[f+6732>>2]&-64;C:{D:{if(N[f+6720>>2]==1){break D}if(!(O[N[n+4>>2]+8|0]&4)){a=N[f+4>>2];if(!O[b+32|0]|(Q[a+4>>2]<=d>>>0|M[N[a+8>>2]+(d<<1)>>1]>=0)){break D}}g=ob(N[n+40>>2],N[b+8>>2]);N[n+144>>2]=0;N[n+148>>2]=0;break C}if(!N[n+40>>2]){g=0;break C}g=N[f+52>>2]-N[f+44>>2]|0}d=N[n+52>>2];c=d>>31;b=N[b+12>>2];a=b>>31;c=(c^d)-c|0;e=(a^b)-a|0;E:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break E}a=c&65535;c=T(a,e>>>16|0)+T(e,c>>>16|0)+(T(a,e&65535)+32768>>>16)|0}a=c;N[n+72>>2]=1869968492;N[n+40>>2]=g+32&-64;e=0-a|0;a=d>>31|1;N[n+52>>2]=((((b|0)<0?0-a|0:a)|0)<0?e:c)+32&-64;h=j}N[f+8>>2]=0;N[f>>2]=0;N[f+4>>2]=0;b=N[f+64>>2];F:{if(!b){break F}N[f+108>>2]=0;N[f+112>>2]=0;a=N[f+116>>2];if((a|0)!=(f+136|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+116>>2]=0}N[f+120>>2]=0;N[f+124>>2]=0;a=N[f+128>>2];if((a|0)!=(f+928|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+128>>2]=0}a=f+1456|0;N[a>>2]=0;N[a+4>>2]=0;a=N[f+1464>>2];if((a|0)!=(f+1484|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+1464>>2]=0}a=f+1468|0;N[a>>2]=0;N[a+4>>2]=0;a=N[f+1476>>2];if((a|0)!=(f+2276|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+1476>>2]=0}a=N[f+104>>2];if((a|0)!=(f+2816|0)){if(a){Qa[N[b+8>>2]](b,a)}N[f+104>>2]=0}N[f+96>>2]=0;N[f+100>>2]=0;a=N[f+92>>2];if((a|0)==(f+2848|0)|!a){break F}Qa[N[b+8>>2]](b,a)}La=f+6752|0;return h|0}function ol(a,b){var 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;a:{b:{e=N[b+4>>2];c=a+4|0;c:{if(e>>>0>c>>>0){break c}d=N[b+8>>2];if(c>>>0>d>>>0|d-c>>>0<4){break c}h=N[b+12>>2]-4|0;N[b+12>>2]=h;if(a>>>0>>0|(h|0)<=0){break c}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>d-a>>>0){break c}f=h-c|0;N[b+12>>2]=f;if((f|0)<=0){break c}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=UE(j,0,12,0);if(Pa){break c}h=a+16|0;if(c){if(d>>>0>>0|c>>>0>d-h>>>0){break c}c=f-c|0;N[b+12>>2]=c;if((c|0)<=0){break c}}a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);if(!a){return 1}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);o=a>>>0<=1?1:a;f=h+T(j,12)|0;while(1){if(d>>>0>>0|e>>>0>f>>>0){break a}e=d-f|0;if(e>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}a=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0<13|a>>>0>e>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=N[b+32>>2];e=N[c+12>>2];N[b+4>>2]=e;h=N[c+16>>2];c=h+e|0;N[b+8>>2]=c;d:{e:{f:{g:{h:{if((h|0)>=0){e=c>>>0<=f>>>0|e>>>0>f>>>0;N[b+4>>2]=e?0:f;c=c-f|0;a=e?0:(a>>>0>c>>>0?c:a)+f|0;N[b+8>>2]=a;g=1;i:{switch((O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24))>>>24|0){case 4:break g;case 5:break h;case 0:break i;case 1:break e;case 2:break f;default:break d}}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<16){break d}c=d-16|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-20|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!yc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){j:{k:{l:{m:{n:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,m,0);if(Pa){break d}o:{if(!d){d=N[b+12>>2];break o}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break n}c=h}if(!e){break l}d=e;break m}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=d<<2;if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break k}break j}d=0;if(N[b+12>>2]>0){break j}g=0;break d}h=h+j|0;g=j+(e<<2)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+4|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=1;break d}break b}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<20){break d}c=d-20|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=d-36|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-40|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!yc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){p:{q:{r:{s:{t:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,m,0);if(Pa){break d}u:{if(!d){d=N[b+12>>2];break u}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break t}c=h}if(!e){break r}d=e;break s}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=d<<3;if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break q}break p}d=0;if(N[b+12>>2]>0){break p}g=0;break d}h=h+j|0;g=j+(e<<3)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+8|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=(O[f+28|0]|O[f+29|0]<<8|(O[f+30|0]<<16|O[f+31|0]<<24))!=0;break d}g=yc(f+12|0,b);break d}g=0;e=f+12|0;if(e>>>0>a>>>0|a-e>>>0<28){break d}c=d-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=d-44|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<4){break d}c=f+16|0;if(c>>>0>a>>>0|a-c>>>0<4){break d}a=d-48|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(a&128){break d}if(!yc(e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);l=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((l|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);j=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);k=e+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;m=l<<1;c=0;a=0;e=0;while(1){v:{w:{x:{y:{z:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,m,0);if(Pa){break d}A:{if(!d){d=N[b+12>>2];break A}if(k>>>0>2]){break d}i=N[b+8>>2];if(i>>>0>>0|d>>>0>i-k>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,l,0);if(Pa){break d}d=T(h,l);if((d|0)<0){break d}c=T(c,l);if((c|0)<(d|0)){break z}c=h}if(!e){break x}d=e;break y}i=k+(d<<1)|0;g=k+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(i>>>0>g>>>0){continue}break}c=h}g=0;if(j>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}i=h-j|0;h=T(d,6);if(i>>>0>>0){break d}i=N[b+12>>2]-h|0;N[b+12>>2]=i;if((i|0)<=0){break d}i=i+(e-d|0)|0;N[b+12>>2]=i;if((i|0)<=0){break d}if((d|0)>(e|0)){break w}break v}e=N[b+12>>2]+e|0;N[b+12>>2]=e;d=0;if((e|0)>0){break v}g=0;break d}h=h+j|0;g=j+T(e,6)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+6|0;if(h>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}break}g=0;if(!(O[f+28|0]|O[f+29|0]<<8|(O[f+30|0]<<16|O[f+31|0]<<24))|!(O[f+32|0]|O[f+33|0]<<8|(O[f+34|0]<<16|O[f+35|0]<<24))){break d}g=(O[f+36|0]|O[f+37|0]<<8|(O[f+38|0]<<16|O[f+39|0]<<24))!=0;break d}g=0;j=f+12|0;if(j>>>0>a>>>0|a-j>>>0<16){break d}e=d-16|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<4){break d}e=f+16|0;if(e>>>0>a>>>0|a-e>>>0<4){break d}a=d-20|0;N[b+12>>2]=a;if((a|0)<=0){break d}a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(a&128){break d}if(!yc(j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){break d}a=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);i=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((i|0)<0){break d}a=O[f+24|0]|O[f+25|0]<<8|(O[f+26|0]<<16|O[f+27|0]<<24);k=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[f+20|0]|O[f+21|0]<<8|(O[f+22|0]<<16|O[f+23|0]<<24);l=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;p=i<<1;c=0;a=0;e=0;B:{C:{while(1){D:{E:{F:{G:{if((a|0)>=(c|0)){g=0;h=a+1|0;d=UE(h,0,p,0);if(Pa){break d}H:{if(!d){d=N[b+12>>2];break H}if(l>>>0>2]){break d}m=N[b+8>>2];if(m>>>0>>0|d>>>0>m-l>>>0){break d}d=N[b+12>>2]-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}}d=((a^-1)+c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){break d}UE(h,0,i,0);if(Pa){break d}d=T(h,i);if((d|0)<0){break d}c=T(c,i);if((c|0)<(d|0)){break G}c=h}if(!e){break E}d=e;break F}m=l+(d<<1)|0;g=l+(c<<1)|0;d=e;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)+1|0;d=c>>>0>>0?d:c;g=g+2|0;if(m>>>0>g>>>0){continue}break}c=h}g=0;if(k>>>0>2]){break d}h=N[b+8>>2];if(h>>>0>>0){break d}m=d<<3;if(m>>>0>h-k>>>0){break d}h=N[b+12>>2]-m|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=h+(e-d|0)|0;N[b+12>>2]=h;if((h|0)<=0){break d}if((d|0)>(e|0)){m=k+m|0;g=k+(e<<3)|0;while(1){e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;a=(a|0)>(e|0)?a:e;g=g+8|0;if(m>>>0>g>>>0){continue}break}}e=d;if((a|0)>=(c|0)){continue}e=0;if(!d){break D}a=0;while(1){c=k+(a<<3)|0;g=O[c+4|0]|O[c+5|0]<<8;if((g|0)!=65535){g=((g<<8|g>>>8)&65535)+1|0;e=e>>>0>g>>>0?e:g}c=O[c+6|0]|O[c+7|0]<<8;if((c|0)!=65535){c=((c<<8|c>>>8)&65535)+1|0;e=c>>>0>>0?e:c}a=a+1|0;if((d|0)!=(a|0)){continue}break}break D}h=N[b+12>>2];if((h|0)<=0){break C}e=0;if((a|0)>=(c|0)){continue}}break}c=N[b+4>>2];a=f+28|0;if(c>>>0<=a>>>0){break B}g=0;break d}g=0;break d}d=N[b+8>>2];if(d>>>0>>0){g=0;break d}if(d-a>>>0<4){g=0;break d}h=h-4|0;N[b+12>>2]=h;if((h|0)<=0){g=0;break d}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(a&128){g=0;break d}g=1;if(!e){break d}g=c;c=j+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;if(g>>>0>c>>>0){g=0;break d}if(c>>>0>d>>>0){g=0;break d}g=0;a=e<<2;if(a>>>0>d-c>>>0){break d}a=h-a|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break d}while(1){a=c+(d<<2)|0;if(a>>>0>2]){g=0;break d}h=N[b+8>>2];if(h>>>0>>0){g=0;break d}if(h-a>>>0<4){g=0;break d}h=N[b+12>>2]-4|0;N[b+12>>2]=h;if((h|0)<=0){g=0;break d}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(a&128){g=0;break d}if(yc(c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0,b)){g=1;d=d+1|0;if((e|0)==(d|0)){break d}continue}break}g=0}a=N[b+32>>2];e=N[a+12>>2];N[b+4>>2]=e;a=N[a+16>>2];d=a+e|0;N[b+8>>2]=d;if((a|0)<0){break b}if(!g){break a}a=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+f|0;g=1;n=n+1|0;if((o|0)!=(n|0)){continue}break}}return g}ba(16656,14279,195,9642);B()}return 0}function Td(a,b,c,d,e){var 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,t=0;g=La-240|0;La=g;N[g+8>>2]=0;i=6;a:{if(!b|!((d|0)!=0|(c|0)<0)){break a}l=N[b>>2];m=l&2;n=m?N[b+16>>2]!=0:n;N[g+12>>2]=0;b:{if(!a){i=33;l=0;break b}h=N[a>>2];c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{switch((l&7)-1|0){case 0:f=Qa[N[h+4>>2]](h,40)|0;if(f){break o}break d;case 3:f=Qa[N[h+4>>2]](h,40)|0;if(!f){break d}L[f|0]=0;L[f+1|0]=0;L[f+2|0]=0;L[f+3|0]=0;L[f+4|0]=0;L[f+5|0]=0;L[f+6|0]=0;L[f+7|0]=0;L[f+32|0]=0;L[f+33|0]=0;L[f+34|0]=0;L[f+35|0]=0;L[f+36|0]=0;L[f+37|0]=0;L[f+38|0]=0;L[f+39|0]=0;L[f+24|0]=0;L[f+25|0]=0;L[f+26|0]=0;L[f+27|0]=0;L[f+28|0]=0;L[f+29|0]=0;L[f+30|0]=0;L[f+31|0]=0;L[f+16|0]=0;L[f+17|0]=0;L[f+18|0]=0;L[f+19|0]=0;L[f+20|0]=0;L[f+21|0]=0;L[f+22|0]=0;L[f+23|0]=0;L[f+8|0]=0;L[f+9|0]=0;L[f+10|0]=0;L[f+11|0]=0;L[f+12|0]=0;L[f+13|0]=0;L[f+14|0]=0;L[f+15|0]=0;i=ef(f,N[b+12>>2]);if(!i){break n}Qa[N[h+8>>2]](h,f);l=0;break m;case 1:f=N[b+16>>2];if(f){break n}break;default:break p}}l=0;if(!m){break c}a=N[b+16>>2];if(!a){break c}b=N[a+24>>2];if(!b){break c}Qa[b|0](a);break c}L[f|0]=0;L[f+1|0]=0;L[f+2|0]=0;L[f+3|0]=0;L[f+4|0]=0;L[f+5|0]=0;L[f+6|0]=0;L[f+7|0]=0;L[f+32|0]=0;L[f+33|0]=0;L[f+34|0]=0;L[f+35|0]=0;L[f+36|0]=0;L[f+37|0]=0;L[f+38|0]=0;L[f+39|0]=0;l=f+24|0;L[l|0]=0;L[l+1|0]=0;L[l+2|0]=0;L[l+3|0]=0;L[l+4|0]=0;L[l+5|0]=0;L[l+6|0]=0;L[l+7|0]=0;L[f+16|0]=0;L[f+17|0]=0;L[f+18|0]=0;L[f+19|0]=0;L[f+20|0]=0;L[f+21|0]=0;L[f+22|0]=0;L[f+23|0]=0;L[f+8|0]=0;L[f+9|0]=0;L[f+10|0]=0;L[f+11|0]=0;L[f+12|0]=0;L[f+13|0]=0;L[f+14|0]=0;L[f+15|0]=0;l=N[b+8>>2];i=N[b+4>>2];N[f+24>>2]=0;N[f>>2]=i;N[f+4>>2]=l}N[f+28>>2]=h;N[g+12>>2]=f;o=N[a>>2];q:{h=N[b>>2];if(!(h&8)){break q}l=N[b+20>>2];if(!l){break q}i=32;if(L[N[l>>2]]&1){i=0;f=0;if(h&16){i=N[b+24>>2];f=N[b+28>>2]}i=Dn(l,g+12|0,n,c,i,f,g+8|0);if(!i){break k}f=N[g+12>>2];if(!f){break b}}a=N[f+28>>2];b=N[f+24>>2];if(b){Qa[b|0](f)}if(n){break b}Qa[N[a+8>>2]](a,f);break b}h=N[a+16>>2];if((h|0)<=0){i=11;l=0;break c}f=a+20|0;m=f+(h<<2)|0;i=11;h=0;while(1){l=N[f>>2];if(L[N[l>>2]]&1){i=0;h=0;if(O[b|0]&16){i=N[b+24>>2];h=N[b+28>>2]}i=Dn(l,g+12|0,n,c,i,h,g+8|0);if(!i){break k}r:{if(!e){break r}if(cb(N[N[N[f>>2]>>2]+8>>2],15504)|(i&255)!=142){break r}h=N[g+12>>2];i=N[h+20>>2];if(i){if(Qa[i|0](h,0,0,0)|0){break l}}N[h+8>>2]=0;i=Cn(a,h,c,d);if(i){break r}a=N[h+28>>2];b=N[h+24>>2];if(b){Qa[b|0](h)}i=0;if(n){break a}Qa[N[a+8>>2]](a,h);break a}h=l;if((i&255)!=2){break m}}f=f+4|0;if(m>>>0>f>>>0){continue}break}l=h}s:{t:{h=i&255;switch(h-81|0){case 0:case 4:break s;case 1:case 2:case 3:break c;default:break t}}if((h|0)!=2){break c}}if(!e){break f}h=N[g+12>>2];if(h){break l}h=0;r=1;break j}e=N[h+20>>2];if(e){if(Qa[e|0](h,0,0,0)|0){break j}}N[h+8>>2]=0;e=N[h+4>>2];if(!e){break j}f=N[h+20>>2];u:{if(f){i=Qa[f|0](h,0,g+112|0,128)|0;break u}i=e>>>0>=128?128:e;F(g+112|0,N[h>>2],i)}N[h+8>>2]=i;if(i>>>0<128){break j}v:{w:{if(O[g+194|0]|(O[g+112|0]|O[g+186|0])){break w}e=O[g+113|0];if(!e|e>>>0>33|(O[g+175|0]|O[(e+g|0)+114|0])){break w}e=L[g+195|0];if((e|0)<0){break w}i=ci(a,h,((O[g+198|0]|(O[g+196|0]<<16|(e&255)<<24|O[g+197|0]<<8))+127&2147483520)+128|0,c,d);if((i&255)!=2){break v}}i=ci(a,h,0,c,d)}e=i&255;if((e|0)==85){break i}if((e|0)!=2){break h}break i}a=Qa[N[o+4>>2]](o,12)|0;if(!a){i=64;break b}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;e=N[g+8>>2];N[a+8>>2]=e;b=N[e+96>>2];h=N[b+20>>2];N[a>>2]=h;N[(h?h+4|0:b+16|0)>>2]=a;N[b+20>>2]=a;x:{if((c|0)>=0){i=ei(e,0);if(i){break x}i=Bn(e,g+112|0);if(i){break x}N[e+88>>2]=N[g+112>>2]}a=N[e+8>>2];y:{if(!(a&1)){break y}i=M[e+74>>1];if((i|0)<0){i=0-i|0;M[e+74>>1]=i}if(a&32){break y}M[e+78>>1]=i}z:{if(!(a&2)){break z}b=N[e+28>>2];if((b|0)<=0){break z}c=N[e+32>>2];i=0;while(1){a=c+(i<<4)|0;f=M[a>>1];if((f|0)<0){f=0-f|0;M[a>>1]=f}h=N[a+8>>2];if((h|0)<0){N[a+8>>2]=0-h}h=N[a+12>>2];if((h|0)<0){N[a+12>>2]=0-h}if(f<<16>>16<0){N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0}i=i+1|0;if((b|0)!=(i|0)){continue}break}}a=N[e+128>>2];N[a+64>>2]=1;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=65536;N[a>>2]=65536;N[a+4>>2]=0;L[a+56|0]=255;if(d){N[d>>2]=e;i=0;break a}zn(e);i=0;break a}a=N[e+96>>2];if(!a){break a}c=N[e+128>>2];b=N[c+64>>2];N[c+64>>2]=b-1;if((b|0)>1){break a}b=N[a+16>>2];if(!b){break a}h=a+16|0;c=N[a+8>>2];while(1){if((e|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break a}break}d=N[b>>2];l=d?d+4|0:h;h=N[b+4>>2];N[l>>2]=h;N[(h?h:a+20|0)>>2]=d;Qa[N[c+8>>2]](c,b);ic(c,e,a);break a}i=85}if(!(O[b|0]&4)){break h}m=N[a>>2];i=N[b+12>>2];N[g+112>>2]=0;A:{B:{C:{if(h){f=N[h+20>>2];D:{if(f){e=85;if(Qa[f|0](h,0,0,0)|0){break D}}N[h+8>>2]=0;N[g+112>>2]=0;e=Rd(h,333319,g- -64|0)}N[g+116>>2]=0;N[g+16>>2]=e;e=N[h+20>>2];if(!e){break C}if(!(Qa[e|0](h,0,0,0)|0)){break C}N[g+20>>2]=85;break B}N[g+16>>2]=81;N[g+20>>2]=81;N[g+116>>2]=0;N[g+120>>2]=0;e=bi(a,g,i,g+112|8,g- -64|8);N[g+124>>2]=0;N[g+24>>2]=e;f=nb(i);e=f+18|0;E:{F:{if((f|0)>=-17){j=N[a>>2];e=Qa[N[j+4>>2]](j,e)|0;if(e){break F}j=64;break E}j=6;if(e){break E}e=0}F(e,i,f);f=e+f|0;j=O[17697]|O[17698]<<8;L[f+16|0]=j;L[f+17|0]=j>>>8;j=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);k=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[f+8|0]=k;L[f+9|0]=k>>>8;L[f+10|0]=k>>>16;L[f+11|0]=k>>>24;L[f+12|0]=j;L[f+13|0]=j>>>8;L[f+14|0]=j>>>16;L[f+15|0]=j>>>24;j=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);k=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[f|0]=k;L[f+1|0]=k>>>8;L[f+2|0]=k>>>16;L[f+3|0]=k>>>24;L[f+4|0]=j;L[f+5|0]=j>>>8;L[f+6|0]=j>>>16;L[f+7|0]=j>>>24;N[g+124>>2]=e;N[g+76>>2]=0;j=0}e=0;N[g+128>>2]=0;N[g+28>>2]=j;f=6;j=nb(i);k=j+6|0;G:{H:{if((j|0)>=-5){e=N[a>>2];e=Qa[N[e+4>>2]](e,k)|0;if(e){break H}f=64;break G}if(k){break G}}F(e,i,j);f=0;j=e+j|0;k=O[17697]|O[17698]<<8;L[j+4|0]=k;L[j+5|0]=k>>>8;k=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[j|0]=k;L[j+1|0]=k>>>8;L[j+2|0]=k>>>16;L[j+3|0]=k>>>24;N[g+128>>2]=e;N[g+80>>2]=0}N[g+132>>2]=0;N[g+32>>2]=f;e=64;f=64;j=hd(N[a>>2],i,22019);if(j){N[g+84>>2]=0;N[g+132>>2]=j;f=0}N[g+136>>2]=0;N[g+36>>2]=f;f=hd(N[a>>2],i,22047);if(f){N[g+88>>2]=0;N[g+136>>2]=f;e=0}f=0;N[g+140>>2]=0;N[g+40>>2]=e;e=ai(a,g,i,g+140|0,g+92|0);N[g+144>>2]=0;N[g+44>>2]=e;s=g,t=$h(a,g,i,g+144|0,g+96|0),N[s+48>>2]=t;break A}N[h+8>>2]=0;N[g+116>>2]=0;s=g,t=Rd(h,333312,g- -64|4),N[s+20>>2]=t}N[g+120>>2]=0;I:{J:{e=N[h+20>>2];if(!e){break J}if(!(Qa[e|0](h,0,0,0)|0)){break J}N[g+24>>2]=85;break I}N[h+8>>2]=0;s=g,t=bi(a,g,i,g+112|8,g- -64|8),N[s+24>>2]=t}N[g+124>>2]=0;K:{L:{e=N[h+20>>2];if(!e){break L}if(!(Qa[e|0](h,0,0,0)|0)){break L}N[g+28>>2]=85;break K}N[h+8>>2]=0;f=nb(i);j=f+18|0;M:{N:{if((f|0)>=-17){e=N[a>>2];e=Qa[N[e+4>>2]](e,j)|0;if(e){break N}e=64;break M}e=6;if(j){break M}e=0}F(e,i,f);f=e+f|0;j=O[17697]|O[17698]<<8;L[f+16|0]=j;L[f+17|0]=j>>>8;j=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);k=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[f+8|0]=k;L[f+9|0]=k>>>8;L[f+10|0]=k>>>16;L[f+11|0]=k>>>24;L[f+12|0]=j;L[f+13|0]=j>>>8;L[f+14|0]=j>>>16;L[f+15|0]=j>>>24;j=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);k=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[f|0]=k;L[f+1|0]=k>>>8;L[f+2|0]=k>>>16;L[f+3|0]=k>>>24;L[f+4|0]=j;L[f+5|0]=j>>>8;L[f+6|0]=j>>>16;L[f+7|0]=j>>>24;N[g+124>>2]=e;N[g+76>>2]=0;e=0}N[g+28>>2]=e}N[g+128>>2]=0;O:{P:{e=N[h+20>>2];if(!e){break P}if(!(Qa[e|0](h,0,0,0)|0)){break P}N[g+32>>2]=85;break O}N[h+8>>2]=0;e=6;j=nb(i);f=j+6|0;Q:{R:{if((j|0)>=-5){e=N[a>>2];f=Qa[N[e+4>>2]](e,f)|0;if(f){break R}e=64;break Q}if(f){break Q}f=0}F(f,i,j);e=0;j=f+j|0;k=O[17697]|O[17698]<<8;L[j+4|0]=k;L[j+5|0]=k>>>8;k=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[j|0]=k;L[j+1|0]=k>>>8;L[j+2|0]=k>>>16;L[j+3|0]=k>>>24;N[g+128>>2]=f;N[g+80>>2]=0}N[g+32>>2]=e}N[g+132>>2]=0;S:{T:{e=N[h+20>>2];if(!e){break T}if(!(Qa[e|0](h,0,0,0)|0)){break T}N[g+36>>2]=85;break S}N[h+8>>2]=0;e=hd(N[a>>2],i,22019);if(e){N[g+84>>2]=0;N[g+132>>2]=e;e=0}else{e=64}N[g+36>>2]=e}N[g+136>>2]=0;U:{V:{e=N[h+20>>2];if(!e){break V}if(!(Qa[e|0](h,0,0,0)|0)){break V}N[g+40>>2]=85;break U}N[h+8>>2]=0;e=hd(N[a>>2],i,22047);if(e){N[g+88>>2]=0;N[g+136>>2]=e;e=0}else{e=64}N[g+40>>2]=e}N[g+140>>2]=0;W:{X:{e=N[h+20>>2];if(!e){break X}if(!(Qa[e|0](h,0,0,0)|0)){break X}N[g+44>>2]=85;break W}N[h+8>>2]=0;s=g,t=ai(a,g,i,g+140|0,g+92|0),N[s+44>>2]=t}f=0;N[g+144>>2]=0;Y:{e=N[h+20>>2];if(!e){break Y}if(!(Qa[e|0](h,0,0,0)|0)){break Y}N[g+48>>2]=85;break A}N[h+8>>2]=0;s=g,t=$h(a,g,i,g+144|0,g+96|0),N[s+48>>2]=t}j=2;i=0;while(1){Z:{p=N[(i<<3)+26356>>2]-3|0;_:{if(!(!(f&255)|p>>>0>1)){f=1;break _}e=i<<2;if(N[e+(g+16|0)>>2]){break _}j=N[e+(g+112|0)>>2];if(!j){j=N[b+12>>2]}$:{k=N[a>>2];e=Qa[N[k+4>>2]](k,40)|0;aa:{if(!e){j=64;break aa}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+32|0]=0;L[e+33|0]=0;L[e+34|0]=0;L[e+35|0]=0;L[e+36|0]=0;L[e+37|0]=0;L[e+38|0]=0;L[e+39|0]=0;L[e+24|0]=0;L[e+25|0]=0;L[e+26|0]=0;L[e+27|0]=0;L[e+28|0]=0;L[e+29|0]=0;L[e+30|0]=0;L[e+31|0]=0;L[e+16|0]=0;L[e+17|0]=0;L[e+18|0]=0;L[e+19|0]=0;L[e+20|0]=0;L[e+21|0]=0;L[e+22|0]=0;L[e+23|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;j=ef(e,j);if(!j){break $}Qa[N[k+8>>2]](k,e)}f=p>>>0<2?(j|0)==81?1:f:f;break _}N[e+28>>2]=k;j=ci(a,e,N[(g- -64|0)+(i<<2)>>2],c,d);k=N[e+28>>2];q=N[e+24>>2];if(q){Qa[q|0](e)}Qa[N[k+8>>2]](k,e);if(!j){j=0;break Z}f=p>>>0<2?1:f}i=i+1|0;if((i|0)!=9){continue}}break}a=N[g+112>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+112>>2]=0}a=N[g+116>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+116>>2]=0}a=N[g+120>>2];if(a){Qa[N[m+8>>2]](m,a);N[g+120>>2]=0}a=N[g+124>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+128>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+132>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+136>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+140>>2];if(a){Qa[N[m+8>>2]](m,a)}a=N[g+144>>2];if(a){Qa[N[m+8>>2]](m,a)}if(!j){break g}break e}if(i){break f}}i=0;if(r){break a}a=N[h+28>>2];b=N[h+24>>2];if(b){Qa[b|0](h)}if(n){break a}Qa[N[a+8>>2]](a,h);break a}if((i&255)!=2){break c}}i=2;break c}i=64;l=0}a=N[g+12>>2];if(!a){break b}b=N[a+28>>2];c=N[a+24>>2];if(c){Qa[c|0](a)}if(n){break b}Qa[N[b+8>>2]](b,a)}a=N[g+8>>2];if(!a){break a}ic(o,a,l)}La=g+240|0;return i}function Jx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0;g=La-256|0;La=g;a:{if(!b){e=36;break a}j=N[a+4>>2];if(!j){e=35;break a}if(!(N[N[j+128>>2]+52>>2]|Q[j+16>>2]>c>>>0)){e=6;break a}if(d&2){d=O[j+9|0]&32?d&-3:d;d=d>>>14&2|d}if(d&1025){d=(O[j+9|0]&32?9:11)|d}o=d&2;N[b+44>>2]=(o?12:48)+b;b:{if(d&8){break b}e=N[b+116>>2];if(O[j+9|0]&128|(P[j+6>>1]&32767|(e|0)==-1)){break b}f=N[b+20>>2];h=N[b+16>>2];c:{e=Qa[N[N[j+540>>2]+72>>2]](j,e,c,d,N[j+104>>2],a+76|0,g+12|0)|0;if(e){j=N[a+4>>2];k=N[j+8>>2]&1;if((e&255)!=157){break c}if(k){break b}M[g+12>>1]=0;M[g+240>>1]=0;M[g+224>>1]=0;M[g+10>>1]=0;if(!N[j+752>>2]){break a}Qa[N[N[j+540>>2]+156>>2]](j,0,c,g+12|0,g+224|0);b=g+240|0;d=g+10|0;d:{if(O[j+292|0]){Qa[N[N[j+540>>2]+156>>2]](j,1,c,b,d);break d}if(P[j+372>>1]!=65535){M[b>>1]=P[j+442>>1];c=M[j+442>>1]-M[j+444>>1]|0;b=c>>31;M[d>>1]=(b^c)-b;break d}M[b>>1]=P[j+220>>1];c=M[j+220>>1]-M[j+222>>1]|0;b=c>>31;M[d>>1]=(b^c)-b}N[a+108>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;b=M[g+12>>1];N[a+36>>2]=0;s=a,t=ob(b,h),N[s+32>>2]=t;b=P[g+224>>1];N[a+44>>2]=0;s=a,t=ob(b,h),N[s+40>>2]=t;s=a,t=ob(M[g+240>>1],f),N[s+48>>2]=t;b=P[g+10>>1];N[a+100>>2]=0;N[a+104>>2]=0;L[a+94|0]=1;N[a+72>>2]=1651078259;s=a,t=ob(b,f),N[s+52>>2]=t;e=0;break a}e=0;N[a+108>>2]=0;N[a+24>>2]=P[g+14>>1]<<6;N[a+28>>2]=P[g+12>>1]<<6;j=M[g+16>>1];N[a+32>>2]=j<<6;k=M[g+18>>1];N[a+36>>2]=k<<6;N[a+40>>2]=P[g+20>>1]<<6;i=M[g+22>>1];N[a+44>>2]=i<<6;m=M[g+24>>1];N[a+48>>2]=m<<6;l=P[g+26>>1];q=k;k=d&16;N[a+104>>2]=k?m:q;N[a+100>>2]=k?i:j;N[a+72>>2]=1651078259;N[a+52>>2]=l<<6;j=N[a+4>>2];if(!(L[j+8|0]&1)){break a}e=N[j+104>>2];C(g+24|0,0,192);N[g+216>>2]=0;N[g+220>>2]=0;N[g+36>>2]=e;N[g+20>>2]=a;N[g+16>>2]=b;N[g+12>>2]=j;N[g+28>>2]=d;Vh(g+12|0,c,0,1);d=N[N[g+12>>2]+100>>2];e:{if(!d){break e}b=N[g+216>>2];if(!b){break e}while(1){c=N[b+4>>2];Qa[N[d+8>>2]](d,b);b=c;if(b){continue}break}}b=N[g+72>>2];N[a+56>>2]=b;c=N[g+188>>2];N[a+60>>2]=c;if(!(N[a+40>>2]|!b)){s=a,t=ob(b,h),N[s+40>>2]=t}e=0;if(N[a+52>>2]|!c){break a}s=a,t=ob(c,f),N[s+52>>2]=t;break a}if(!k){break a}}q=d&1;if(!(q|O[b+112|0])){e=36;break a}e=6;if(d&16384){break a}r=N[j+104>>2];p=N[j+96>>2];C(g+12|0,0,212);if(!o){m=(d&128)>>>7|0;e=N[b+304>>2];f:{g:{if((e|0)>=0){f=N[b+308>>2];if((f|0)<0){break g}if(e){break a}e=f;if(!e){break f}break a}k=N[b>>2];h=N[k+100>>2];e=N[b+132>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+132>>2]=0;e=N[b+144>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+144>>2]=0;e=N[b+252>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+252>>2]=0;e=N[b+260>>2];if(e){Qa[N[h+8>>2]](h,e)}N[b+260>>2]=0;e=N[b+300>>2];if(e){N[e+460>>2]=0;f=N[e+8>>2];i=N[e+24>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+20>>2]=0;N[e+24>>2]=0;i=N[e+400>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+396>>2]=0;N[e+400>>2]=0;i=N[e+500>>2];if(i){Qa[N[f+8>>2]](f,i)}M[e+496>>1]=0;N[e+500>>2]=0;i=N[e+456>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+456>>2]=0;N[e+448>>2]=0;N[e+452>>2]=0;i=N[e+412>>2];if(i){Qa[N[f+8>>2]](f,i)}N[e+408>>2]=0;N[e+412>>2]=0;N[e>>2]=0;N[e+4>>2]=0;Qa[N[f+8>>2]](f,e)}e=N[b+264>>2];if(e){f=N[b+292>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+292>>2]=0;f=N[b+288>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+288>>2]=0;f=N[b+280>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+280>>2]=0;f=N[b+276>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+276>>2]=0;f=N[b+284>>2];if(f){Qa[N[e+8>>2]](e,f)}N[b+284>>2]=0;N[b+272>>2]=0;N[b+264>>2]=0;N[b+268>>2]=0}N[b+304>>2]=-1;N[b+308>>2]=-1;i=0;e=N[k+96>>2];f=0;h:{if(!e){break h}l=N[e+8>>2];e=Qa[N[l+4>>2]](l,664)|0;f=0;if(!e){break h}C(e,0,664);N[e+452>>2]=32;N[e+8>>2]=l;f=Qa[N[l+4>>2]](l,512)|0;if(f){C(f,0,512);N[e+460>>2]=0;N[e+456>>2]=f;N[e+408>>2]=0;N[e+412>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e>>2]=0;N[e+4>>2]=0;f=e;break h}N[e+456>>2]=0;N[e+460>>2]=0;f=N[e+8>>2];l=N[e+24>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+20>>2]=0;N[e+24>>2]=0;l=N[e+400>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+396>>2]=0;N[e+400>>2]=0;l=N[e+500>>2];if(l){Qa[N[f+8>>2]](f,l)}M[e+496>>1]=0;N[e+500>>2]=0;l=N[e+456>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+456>>2]=0;N[e+448>>2]=0;N[e+452>>2]=0;l=N[e+412>>2];if(l){Qa[N[f+8>>2]](f,l)}N[e+408>>2]=0;N[e+412>>2]=0;N[e>>2]=0;N[e+4>>2]=0;Qa[N[f+8>>2]](f,e);f=0}N[b+300>>2]=f;e=P[k+280>>1];N[b+128>>2]=e;f=P[k+282>>1];N[b+148>>2]=0;N[b+152>>2]=0;N[b+136>>2]=0;N[b+124>>2]=0;N[b+140>>2]=f;N[b+248>>2]=N[k+700>>2];f=P[k+278>>1];L[b+113|0]=0;L[b+114|0]=0;M[b+256>>1]=f;N[b+96>>2]=0;N[b+100>>2]=0;N[b+104>>2]=0;N[b+108>>2]=0;i:{j:{if(e){e=T(e,24);i=Qa[N[h+4>>2]](h,e)|0;if(!i){break j}C(i,0,e)}N[g+224>>2]=0;N[b+132>>2]=i;s=b,t=lb(h,24,0,N[b+140>>2],0,g+224|0),N[s+144>>2]=t;e=N[g+224>>2];if(e){break i}s=b,t=lb(h,4,0,N[b+248>>2],0,g+224|0),N[s+252>>2]=t;e=N[g+224>>2];if(e){break i}s=b,t=lb(h,4,0,P[b+256>>1],0,g+224|0),N[s+260>>2]=t;e=N[g+224>>2];if(e){break i}e=P[k+276>>1];N[b+292>>2]=0;N[b+296>>2]=0;N[b+284>>2]=0;N[b+288>>2]=0;N[b+276>>2]=0;N[b+280>>2]=0;N[b+268>>2]=0;N[b+272>>2]=0;N[b+264>>2]=h;i=e+4|0;f=i&65535;s=b,t=lb(h,8,0,f,0,g+240|0),N[s+276>>2]=t;e=N[g+240>>2];k:{if(e){break k}s=b,t=lb(h,8,0,f,0,g+240|0),N[s+280>>2]=t;e=N[g+240>>2];if(e){break k}s=b,t=lb(h,8,0,f,0,g+240|0),N[s+284>>2]=t;e=N[g+240>>2];if(e){break k}e=0;l:{if(i&65535){e=Qa[N[h+4>>2]](h,f)|0;if(!e){break l}C(e,0,f)}M[b+268>>1]=i;N[b+292>>2]=0;N[b+288>>2]=e;M[b+270>>1]=0;M[b+272>>1]=i;F(b+180|0,26424,68);e=N[N[N[k+96>>2]+4>>2]+164>>2];N[k+708>>2]=e?e:146;f=N[b+300>>2];h=N[b>>2];e=Uh(f,h,b);m:{if(e){break m}N[f+512>>2]=0;N[f+516>>2]=0;N[f+508>>2]=64;N[f+16>>2]=0;N[f+448>>2]=0;N[f+596>>2]=16384;L[f+593|0]=m;N[f+220>>2]=0;N[f+224>>2]=0;L[f+520|0]=0;M[f+256>>1]=0;N[f+228>>2]=0;N[f+260>>2]=65536;N[f+264>>2]=0;k=N[h+688>>2];e=N[h+684>>2];N[f+472>>2]=0;N[f+476>>2]=0;N[f+468>>2]=e;N[f+464>>2]=k;N[f+480>>2]=0;N[f+484>>2]=0;n:{if(!e){N[b+304>>2]=0;break n}N[f+372>>2]=e;N[f+364>>2]=k;N[f+368>>2]=0;N[f+360>>2]=1;e=Qa[N[h+708>>2]](f)|0;N[b+304>>2]=e;if(e){break m}}N[b+124>>2]=N[f+416>>2];N[b+136>>2]=N[f+428>>2];N[b+148>>2]=N[f+440>>2];N[b+152>>2]=N[f+444>>2];e=N[f+468>>2];N[b+156>>2]=N[f+464>>2];N[b+160>>2]=e;e=N[f+476>>2];N[b+164>>2]=N[f+472>>2];N[b+168>>2]=e;e=N[f+484>>2];N[b+172>>2]=N[f+480>>2];N[b+176>>2]=e;e=0}break g}N[b+288>>2]=0;e=64}f=N[b+264>>2];if(!f){N[g+224>>2]=e;break i}h=N[b+292>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+292>>2]=0;h=N[b+288>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+288>>2]=0;h=N[b+280>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+280>>2]=0;h=N[b+276>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+276>>2]=0;h=N[b+284>>2];if(h){Qa[N[f+8>>2]](f,h)}N[b+284>>2]=0;N[b+272>>2]=0;N[b+264>>2]=0;N[b+268>>2]=0;break i}e=64;N[g+224>>2]=64;N[b+132>>2]=0}cn(b)}if(e){break a}e=N[b+308>>2];if((e|0)<0){f=P[b+272>>1];o:{if(!f){break o}h=N[b+280>>2];k=N[b+276>>2];e=0;if((f|0)!=1){l=f&65534;while(1){i=e<<3;n=i+k|0;N[n>>2]=0;N[n+4>>2]=0;n=h+i|0;N[n>>2]=0;N[n+4>>2]=0;i=i|8;n=i+k|0;N[n>>2]=0;N[n+4>>2]=0;i=h+i|0;N[i>>2]=0;N[i+4>>2]=0;e=e+2|0;if((l|0)!=(e|0)){continue}break}}if(!(f&1)){break o}e=e<<3;f=e+k|0;N[f>>2]=0;N[f+4>>2]=0;e=e+h|0;N[e>>2]=0;N[e+4>>2]=0}e=P[b+256>>1];if(e){C(N[b+260>>2],0,e<<2)}F(b+180|0,26424,68);e=bn(b,m)}if(e){break a}}f=N[b+300>>2];if(!f){e=153;break a}e=d&983040;p:{if(N[p+64>>2]!=40){h=(e|0)!=131072;k=0;i=0;e=0;break p}i=(e|0)!=131072;k=i&!(d&458752);h=0;e=d>>>18&1}L[f+642|0]=e;e=Uh(f,j,b);if(e){break a}q:{r:{s:{t:{if(N[p+64>>2]==40){e=O[f+641|0]==(i|0);if(!e){L[f+641|0]=i}if(O[f+646|0]!=(k|0)){break t}if(O[f+640|0]==(h|0)){break s}L[f+640|0]=h;break r}if(O[f+640|0]==(h|0)){break q}L[f+640|0]=h;break r}L[f+646|0]=k;if(O[f+640|0]==(h|0)){break r}L[f+640|0]=h;break r}if(e){break q}}e=bn(b,m);if(e){break a}}e=O[f+340|0];h=e<<1&2;if(e&2){F(f+288|0,26424,68)}L[f+593|0]=m;N[g+168>>2]=f;N[g+172>>2]=N[f+412>>2];d=d|h}e=N[N[a+156>>2]>>2];N[e+20>>2]=0;N[e+36>>2]=0;N[e+48>>2]=0;f=N[e+24>>2];N[e+56>>2]=N[e+20>>2];N[e+60>>2]=f;h=N[e+32>>2];f=e- -64|0;N[f>>2]=N[e+28>>2];N[f+4>>2]=h;N[e+88>>2]=N[e+52>>2];f=N[e+40>>2];N[e+72>>2]=N[e+36>>2];N[e+76>>2]=f;f=N[e+48>>2];N[e+80>>2]=N[e+44>>2];N[e+84>>2]=f;N[g+216>>2]=0;N[g+220>>2]=0;N[g+36>>2]=r;N[g+20>>2]=a;N[g+16>>2]=b;N[g+12>>2]=j;N[g+24>>2]=e;N[g+28>>2]=d;N[a+72>>2]=1869968492;N[a+124>>2]=0;N[a+128>>2]=0;e=Vh(g+12|0,c,0,0);u:{if(e){break u}d=N[g+24>>2];v:{if(N[a+72>>2]==1668246896){N[a+128>>2]=N[d+48>>2];N[a+132>>2]=N[d+52>>2];break v}f=N[d+24>>2];e=a+108|0;N[e>>2]=N[d+20>>2];N[e+4>>2]=f;N[e+16>>2]=N[d+36>>2];f=N[d+32>>2];N[e+8>>2]=N[d+28>>2];N[e+12>>2]=f;N[a+124>>2]=N[a+124>>2]&-513;d=N[g+80>>2];if(!d){break v}te(e,0-d|0,0)}w:{if(o){break w}d=8;e=N[g+168>>2];x:{if(!O[e+341|0]){break x}d=32;y:{switch(N[e+344>>2]){case 4:d=48;break x;case 5:d=16;break x;case 1:break w;case 0:break x;default:break y}}d=8}N[a+124>>2]=N[a+124>>2]|d}f=N[g+12>>2];j=65536;h=N[g+16>>2];d=N[g+20>>2];k=N[g+28>>2];j=k&1?j:N[N[h+44>>2]+8>>2];e=N[f+96>>2];z:{if(N[d+72>>2]!=1668246896){En(d+108|0,g+240|0);break z}i=N[g+60>>2];N[g+248>>2]=N[g+56>>2];N[g+252>>2]=i;i=N[g+52>>2];N[g+240>>2]=N[g+48>>2];N[g+244>>2]=i}N[d+56>>2]=N[g+72>>2];o=N[g+240>>2];N[d+32>>2]=o;i=N[g+252>>2];N[d+36>>2]=i;N[d+40>>2]=N[g+88>>2]-N[g+80>>2];A:{B:{if(N[e+64>>2]!=40){break B}e=N[g+168>>2];if(!e){break B}if(O[e+643|0]){break A}}if(N[f+488>>2]|k&2097154){break A}p=N[f+776>>2];if(!p){break A}e=0;m=N[f+768>>2];r=m?m+8|0:0;l=N[f+780>>2];n=N[f+784>>2];h=P[N[h+44>>2]>>1];while(1){if((h|0)==O[e+n|0]){h=c+2|0;if(!m|h>>>0>=l>>>0){break A}N[d+40>>2]=O[h+(r+T(e,l)|0)|0]<<6;break A}e=e+1|0;if((p|0)!=(e|0)){continue}break}}N[d+24>>2]=N[g+248>>2]-o;h=i-N[g+244>>2]|0;N[d+28>>2]=h;C:{if(!(!O[f+292|0]|!P[f+330>>1])){m=N[g+196>>2];h=fb(m-i|0,j)<<16>>16;e=0;i=N[g+204>>2];if((i|0)>=(m|0)){break C}e=fb(m-i|0,j)&65535;break C}e=P[f+372>>1]==65535;e=M[f+(e?220:442)>>1]-M[f+(e?222:444)>>1]|0;h=(e-(fb(h,j)<<16>>16)|0)/2|0}f=N[N[f+128>>2]+52>>2];D:{if(!f){break D}i=N[N[f>>2]+8>>2];if(!i){break D}N[g+232>>2]=e;N[g+228>>2]=h;N[g+224>>2]=0;e=Qa[i|0](N[f+4>>2],c,1,g+224|0)|0;if(e){break u}k=N[g+28>>2];e=N[g+232>>2];h=N[g+228>>2]}N[d+60>>2]=e;if(!(k&1)){h=ob(h,j);e=ob(e,j)}N[d+52>>2]=e;N[d+48>>2]=h;N[d+44>>2]=N[d+32>>2]+(N[d+40>>2]/-2|0);e=0}if(!(P[N[b+44>>2]+2>>1]>23|q)){N[a+124>>2]=N[a+124>>2]|256}c=N[N[g+12>>2]+100>>2];if(!c){break a}b=N[g+216>>2];if(!b){break a}while(1){a=N[b+4>>2];Qa[N[c+8>>2]](c,b);b=a;if(b){continue}break}}La=g+256|0;return e|0}function jm(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;n=La-16|0;La=n;e=N[a+72>>2];m=N[a+64>>2];j=N[a+68>>2];a:{b:{c:{d:{e:{f:{g:{switch(N[a>>2]){case 0:l=N[a+164>>2];k=N[l+20>>2];h:{if(k){if(Qa[k|0](l,2,0,0)|0){break f}g=N[a+164>>2];k=N[g+4>>2];break h}g=l;k=N[g+4>>2];if(k>>>0<2){break f}}N[l+8>>2]=2;d=N[g+8>>2];if(k>>>0<=d>>>0){break f}l=N[g+20>>2];i:{if(l){k=Qa[l|0](g,d,n+15|0,1)|0;d=N[g+8>>2];break i}k=(d|0)!=(k|0);F(n+15|0,N[g>>2]+d|0,k)}N[g+8>>2]=d+k;if((k|0)!=1){break f}d=O[n+15|0];N[a+44>>2]=d&128;k=d&31;N[a+40>>2]=k;l=1<>2]=l-256;if(k>>>0>16){break f}N[a+52>>2]=9;N[a+56>>2]=d>>>7;N[a+60>>2]=k>>>0>9?256:l-255|0;e=0;k=zh(a);if(k>>>0>255){break f}if(b){L[b|0]=k}if(c>>>0<2){break e}l=1;N[a>>2]=1;j=k;m=j;break;case 2:break d;case 1:break g;default:break a}}d=0;break c}l=0;break b}d=1;j=k;m=j;break a}d=1}j:{while(1){k:{l:{m:{n:{if(!d){k=zh(a);if((k|0)<0){break b}if((k|0)!=256){i=j;break n}if(!N[a+44>>2]){i=j;k=256;break m}while(1){L[a+32|0]=1;j=0;N[a+56>>2]=0;k=zh(a);if((k|0)<0){m=0;break b}if((k|0)!=256){i=0;m=0;break n}k=256;i=0;m=0;if(N[a+44>>2]){continue}break}break m}o:{if(b){while(1){l=N[a+92>>2];if(!l){break o}l=l-1|0;N[a+92>>2]=l;L[b+f|0]=O[l+N[a+88>>2]|0];f=f+1|0;if((f|0)!=(c|0)){continue}break}d=c;break a}d=N[a+92>>2];while(1){if(!d){break o}d=d-1|0;N[a+92>>2]=d;f=f+1|0;if((f|0)!=(c|0)){continue}break}d=c;break a}l=f;p:{d=N[a+56>>2];if(d>>>0>2]){h=N[a+84>>2];if(h>>>0<=d>>>0){g=h?h+(h>>>2|0)|0:512;if((g|h)<0){break b}i=N[a+76>>2];d=N[a+168>>2];q:{r:{s:{if(!g){k=0;if(!i){break s}Qa[N[d+8>>2]](d,i);break s}if((g|0)>715827882){break b}t:{if(!h){k=Qa[N[d+4>>2]](d,T(g,3))|0;d=!k<<6;break t}d=Qa[N[d+12>>2]](d,T(h,3),T(g,3),i)|0;k=d?d:i;d=!d<<6}if(d|(h|0)>=(g|0)|!k){break r}C(T(h,3)+k|0,0,T(g-h|0,3))}N[a+76>>2]=k;break q}N[a+76>>2]=k;if(d){break b}}d=(g<<1)+k|0;N[a+80>>2]=d;F(d,(h<<1)+k|0,h);N[a+84>>2]=g;d=N[a+56>>2]}M[N[a+76>>2]+(d<<1)>>1]=m;L[N[a+80>>2]+d|0]=j;N[a+56>>2]=N[a+56>>2]+1}N[a>>2]=1;m=e;break p}d=0;continue}j=k;if(j>>>0<256){break l}}u:{j=k;d=j-256|0;e=N[a+56>>2];if(d>>>0>>0){break u}if(d>>>0>e>>>0){break k}d=N[a+96>>2];f=N[a+92>>2];if(d>>>0<=f>>>0){j=((d>>>1|0)+d|0)+4|0;h=N[a+168>>2];v:{w:{x:{f=N[a+88>>2];e=a+100|0;y:{if((f|0)!=(e|0)){z:{A:{if(j>>>0>=65537){j=65536;if((d|0)==65536|(d|0)<0){break k}break A}if((d|0)<0){break k}if(!j){break z}}if(!d){break x}g=Qa[N[h+12>>2]](h,d,j,f)|0;f=g?g:f;h=!g<<6;break w}g=0;if(f){Qa[N[h+8>>2]](h,f)}f=0;break y}g=0;N[a+88>>2]=0;d=0;f=0;j=j>>>0>=65536?65536:j;if(j){break x}}N[a+88>>2]=0;break v}d=0;f=Qa[N[h+4>>2]](h,j)|0;h=!f<<6}g=j;if(!(!f|(h|(g|0)<=(d|0)))){C(d+f|0,0,g-d|0);N[a+88>>2]=f;break v}N[a+88>>2]=f;if(h){break k}}if(!d){d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);j=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);L[f|0]=j;L[f+1|0]=j>>>8;L[f+2|0]=j>>>16;L[f+3|0]=j>>>24;L[f+4|0]=d;L[f+5|0]=d>>>8;L[f+6|0]=d>>>16;L[f+7|0]=d>>>24;d=O[e+60|0]|O[e+61|0]<<8|(O[e+62|0]<<16|O[e+63|0]<<24);j=O[e+56|0]|O[e+57|0]<<8|(O[e+58|0]<<16|O[e+59|0]<<24);L[f+56|0]=j;L[f+57|0]=j>>>8;L[f+58|0]=j>>>16;L[f+59|0]=j>>>24;L[f+60|0]=d;L[f+61|0]=d>>>8;L[f+62|0]=d>>>16;L[f+63|0]=d>>>24;d=O[e+52|0]|O[e+53|0]<<8|(O[e+54|0]<<16|O[e+55|0]<<24);j=O[e+48|0]|O[e+49|0]<<8|(O[e+50|0]<<16|O[e+51|0]<<24);L[f+48|0]=j;L[f+49|0]=j>>>8;L[f+50|0]=j>>>16;L[f+51|0]=j>>>24;L[f+52|0]=d;L[f+53|0]=d>>>8;L[f+54|0]=d>>>16;L[f+55|0]=d>>>24;d=O[e+44|0]|O[e+45|0]<<8|(O[e+46|0]<<16|O[e+47|0]<<24);j=O[e+40|0]|O[e+41|0]<<8|(O[e+42|0]<<16|O[e+43|0]<<24);L[f+40|0]=j;L[f+41|0]=j>>>8;L[f+42|0]=j>>>16;L[f+43|0]=j>>>24;L[f+44|0]=d;L[f+45|0]=d>>>8;L[f+46|0]=d>>>16;L[f+47|0]=d>>>24;d=O[e+36|0]|O[e+37|0]<<8|(O[e+38|0]<<16|O[e+39|0]<<24);j=O[e+32|0]|O[e+33|0]<<8|(O[e+34|0]<<16|O[e+35|0]<<24);L[f+32|0]=j;L[f+33|0]=j>>>8;L[f+34|0]=j>>>16;L[f+35|0]=j>>>24;L[f+36|0]=d;L[f+37|0]=d>>>8;L[f+38|0]=d>>>16;L[f+39|0]=d>>>24;d=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);j=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);L[f+24|0]=j;L[f+25|0]=j>>>8;L[f+26|0]=j>>>16;L[f+27|0]=j>>>24;L[f+28|0]=d;L[f+29|0]=d>>>8;L[f+30|0]=d>>>16;L[f+31|0]=d>>>24;d=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);j=O[e+16|0]|O[e+17|0]<<8|(O[e+18|0]<<16|O[e+19|0]<<24);L[f+16|0]=j;L[f+17|0]=j>>>8;L[f+18|0]=j>>>16;L[f+19|0]=j>>>24;L[f+20|0]=d;L[f+21|0]=d>>>8;L[f+22|0]=d>>>16;L[f+23|0]=d>>>24;d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);j=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);L[f+8|0]=j;L[f+9|0]=j>>>8;L[f+10|0]=j>>>16;L[f+11|0]=j>>>24;L[f+12|0]=d;L[f+13|0]=d>>>8;L[f+14|0]=d>>>16;L[f+15|0]=d>>>24}N[a+96>>2]=g;f=N[a+92>>2]}N[a+92>>2]=f+1;L[N[a+88>>2]+f|0]=i;j=m;if(j>>>0>=256){break u}break l}h=a+100|0;d=N[a+76>>2];while(1){if(!d){break k}d=N[a+96>>2];f=N[a+92>>2];if(d>>>0<=f>>>0){f=((d>>>1|0)+d|0)+4|0;g=N[a+168>>2];B:{C:{D:{E:{F:{e=N[a+88>>2];G:{if((e|0)!=(h|0)){if(f>>>0>=65537){f=65536;if((d|0)==65536|(d|0)<0){break k}break F}if((d|0)<0){break k}if(f){break F}if(!e){break G}Qa[N[g+8>>2]](g,e);break G}d=0;N[a+88>>2]=0;f=f>>>0>=65536?65536:f;if(f){break E}}f=0;e=0;N[a+88>>2]=0;break B}if(d){break D}}d=0;e=Qa[N[g+4>>2]](g,f)|0;g=!e<<6;break C}g=Qa[N[g+12>>2]](g,d,f,e)|0;e=g?g:e;g=!g<<6}if(!(!e|(g|(d|0)>=(f|0)))){C(d+e|0,0,f-d|0);N[a+88>>2]=e;break B}N[a+88>>2]=e;if(g){break k}}if(!d){g=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);d=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);L[e|0]=d;L[e+1|0]=d>>>8;L[e+2|0]=d>>>16;L[e+3|0]=d>>>24;L[e+4|0]=g;L[e+5|0]=g>>>8;L[e+6|0]=g>>>16;L[e+7|0]=g>>>24;g=O[h+60|0]|O[h+61|0]<<8|(O[h+62|0]<<16|O[h+63|0]<<24);d=O[h+56|0]|O[h+57|0]<<8|(O[h+58|0]<<16|O[h+59|0]<<24);L[e+56|0]=d;L[e+57|0]=d>>>8;L[e+58|0]=d>>>16;L[e+59|0]=d>>>24;L[e+60|0]=g;L[e+61|0]=g>>>8;L[e+62|0]=g>>>16;L[e+63|0]=g>>>24;g=O[h+52|0]|O[h+53|0]<<8|(O[h+54|0]<<16|O[h+55|0]<<24);d=O[h+48|0]|O[h+49|0]<<8|(O[h+50|0]<<16|O[h+51|0]<<24);L[e+48|0]=d;L[e+49|0]=d>>>8;L[e+50|0]=d>>>16;L[e+51|0]=d>>>24;L[e+52|0]=g;L[e+53|0]=g>>>8;L[e+54|0]=g>>>16;L[e+55|0]=g>>>24;g=O[h+44|0]|O[h+45|0]<<8|(O[h+46|0]<<16|O[h+47|0]<<24);d=O[h+40|0]|O[h+41|0]<<8|(O[h+42|0]<<16|O[h+43|0]<<24);L[e+40|0]=d;L[e+41|0]=d>>>8;L[e+42|0]=d>>>16;L[e+43|0]=d>>>24;L[e+44|0]=g;L[e+45|0]=g>>>8;L[e+46|0]=g>>>16;L[e+47|0]=g>>>24;g=O[h+36|0]|O[h+37|0]<<8|(O[h+38|0]<<16|O[h+39|0]<<24);d=O[h+32|0]|O[h+33|0]<<8|(O[h+34|0]<<16|O[h+35|0]<<24);L[e+32|0]=d;L[e+33|0]=d>>>8;L[e+34|0]=d>>>16;L[e+35|0]=d>>>24;L[e+36|0]=g;L[e+37|0]=g>>>8;L[e+38|0]=g>>>16;L[e+39|0]=g>>>24;g=O[h+28|0]|O[h+29|0]<<8|(O[h+30|0]<<16|O[h+31|0]<<24);d=O[h+24|0]|O[h+25|0]<<8|(O[h+26|0]<<16|O[h+27|0]<<24);L[e+24|0]=d;L[e+25|0]=d>>>8;L[e+26|0]=d>>>16;L[e+27|0]=d>>>24;L[e+28|0]=g;L[e+29|0]=g>>>8;L[e+30|0]=g>>>16;L[e+31|0]=g>>>24;g=O[h+20|0]|O[h+21|0]<<8|(O[h+22|0]<<16|O[h+23|0]<<24);d=O[h+16|0]|O[h+17|0]<<8|(O[h+18|0]<<16|O[h+19|0]<<24);L[e+16|0]=d;L[e+17|0]=d>>>8;L[e+18|0]=d>>>16;L[e+19|0]=d>>>24;L[e+20|0]=g;L[e+21|0]=g>>>8;L[e+22|0]=g>>>16;L[e+23|0]=g>>>24;g=O[h+12|0]|O[h+13|0]<<8|(O[h+14|0]<<16|O[h+15|0]<<24);d=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);L[e+8|0]=d;L[e+9|0]=d>>>8;L[e+10|0]=d>>>16;L[e+11|0]=d>>>24;L[e+12|0]=g;L[e+13|0]=g>>>8;L[e+14|0]=g>>>16;L[e+15|0]=g>>>24}N[a+96>>2]=f;f=N[a+92>>2]}e=j-256|0;j=O[e+N[a+80>>2]|0];N[a+92>>2]=f+1;L[N[a+88>>2]+f|0]=j;d=N[a+76>>2];j=P[d+(e<<1)>>1];if(j>>>0>255){continue}break}}d=N[a+96>>2];f=N[a+92>>2];if(d>>>0<=f>>>0){e=((d>>>1|0)+d|0)+4|0;g=N[a+168>>2];H:{I:{J:{K:{L:{M:{N:{O:{f=N[a+88>>2];i=a+100|0;if((f|0)!=(i|0)){if(e>>>0>=65537){e=65536;if((d|0)==65536|(d|0)<0){break j}break N}if((d|0)>=0){break O}break j}h=0;N[a+88>>2]=0;d=0;f=0;e=e>>>0>=65536?65536:e;if(e){break M}break J}if(e){break N}h=0;if(!f){f=0;N[a+88>>2]=0;break H}Qa[N[g+8>>2]](g,f);f=0;N[a+88>>2]=0;break H}if(d){break L}}d=0;f=Qa[N[g+4>>2]](g,e)|0;g=!f<<6;break K}g=Qa[N[g+12>>2]](g,d,e,f)|0;f=g?g:f;g=!g<<6}h=e;if(!f|(g|(d|0)>=(e|0))){break I}C(d+f|0,0,h-d|0)}N[a+88>>2]=f;break H}N[a+88>>2]=f;if(g){break j}}if(!d){d=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);e=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);L[f|0]=e;L[f+1|0]=e>>>8;L[f+2|0]=e>>>16;L[f+3|0]=e>>>24;L[f+4|0]=d;L[f+5|0]=d>>>8;L[f+6|0]=d>>>16;L[f+7|0]=d>>>24;d=O[i+60|0]|O[i+61|0]<<8|(O[i+62|0]<<16|O[i+63|0]<<24);e=O[i+56|0]|O[i+57|0]<<8|(O[i+58|0]<<16|O[i+59|0]<<24);L[f+56|0]=e;L[f+57|0]=e>>>8;L[f+58|0]=e>>>16;L[f+59|0]=e>>>24;L[f+60|0]=d;L[f+61|0]=d>>>8;L[f+62|0]=d>>>16;L[f+63|0]=d>>>24;d=O[i+52|0]|O[i+53|0]<<8|(O[i+54|0]<<16|O[i+55|0]<<24);e=O[i+48|0]|O[i+49|0]<<8|(O[i+50|0]<<16|O[i+51|0]<<24);L[f+48|0]=e;L[f+49|0]=e>>>8;L[f+50|0]=e>>>16;L[f+51|0]=e>>>24;L[f+52|0]=d;L[f+53|0]=d>>>8;L[f+54|0]=d>>>16;L[f+55|0]=d>>>24;d=O[i+44|0]|O[i+45|0]<<8|(O[i+46|0]<<16|O[i+47|0]<<24);e=O[i+40|0]|O[i+41|0]<<8|(O[i+42|0]<<16|O[i+43|0]<<24);L[f+40|0]=e;L[f+41|0]=e>>>8;L[f+42|0]=e>>>16;L[f+43|0]=e>>>24;L[f+44|0]=d;L[f+45|0]=d>>>8;L[f+46|0]=d>>>16;L[f+47|0]=d>>>24;d=O[i+36|0]|O[i+37|0]<<8|(O[i+38|0]<<16|O[i+39|0]<<24);e=O[i+32|0]|O[i+33|0]<<8|(O[i+34|0]<<16|O[i+35|0]<<24);L[f+32|0]=e;L[f+33|0]=e>>>8;L[f+34|0]=e>>>16;L[f+35|0]=e>>>24;L[f+36|0]=d;L[f+37|0]=d>>>8;L[f+38|0]=d>>>16;L[f+39|0]=d>>>24;d=O[i+28|0]|O[i+29|0]<<8|(O[i+30|0]<<16|O[i+31|0]<<24);e=O[i+24|0]|O[i+25|0]<<8|(O[i+26|0]<<16|O[i+27|0]<<24);L[f+24|0]=e;L[f+25|0]=e>>>8;L[f+26|0]=e>>>16;L[f+27|0]=e>>>24;L[f+28|0]=d;L[f+29|0]=d>>>8;L[f+30|0]=d>>>16;L[f+31|0]=d>>>24;d=O[i+20|0]|O[i+21|0]<<8|(O[i+22|0]<<16|O[i+23|0]<<24);e=O[i+16|0]|O[i+17|0]<<8|(O[i+18|0]<<16|O[i+19|0]<<24);L[f+16|0]=e;L[f+17|0]=e>>>8;L[f+18|0]=e>>>16;L[f+19|0]=e>>>24;L[f+20|0]=d;L[f+21|0]=d>>>8;L[f+22|0]=d>>>16;L[f+23|0]=d>>>24;d=O[i+12|0]|O[i+13|0]<<8|(O[i+14|0]<<16|O[i+15|0]<<24);e=O[i+8|0]|O[i+9|0]<<8|(O[i+10|0]<<16|O[i+11|0]<<24);L[f+8|0]=e;L[f+9|0]=e>>>8;L[f+10|0]=e>>>16;L[f+11|0]=e>>>24;L[f+12|0]=d;L[f+13|0]=d>>>8;L[f+14|0]=d>>>16;L[f+15|0]=d>>>24}N[a+96>>2]=h;f=N[a+92>>2]}N[a+92>>2]=f+1;L[N[a+88>>2]+f|0]=j;N[a>>2]=2;e=k;f=l;d=1;continue}break}j=i}e=k}d=l;N[a>>2]=3}N[a+72>>2]=e;N[a+68>>2]=j;N[a+64>>2]=m;La=n+16|0;return d}function St(a){a=a|0;var 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;g=La-32|0;La=g;f=N[a+720>>2];a:{if(f){break a}b:{c:{d:{if(!(!N[a+736>>2]|!(P[a+6>>1]&32767|O[a+9|0]&128))){m=N[a+548>>2];d=N[a+100>>2];if(!N[a+744>>2]){N[g+4>>2]=-1;N[g+8>>2]=-1;h=P[a+340>>1];if(!h){f=0;break b}i=N[a+356>>2];while(1){f=i+T(c,20)|0;e:{if(P[f+6>>1]!=25|!P[f+8>>1]){break e}f:{g:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break e}b=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break f}break e;case 0:break g;default:break e}}if(P[f+2>>1]){break e}b=g+4|0;if(!P[f+4>>1]){break f}if(N[g+4>>2]!=-1){break e}}N[b>>2]=c}c=c+1|0;if((h|0)!=(c|0)){continue}break}h:{i:{c=N[g+8>>2];if((c|0)>=0){break i}e=N[g+4>>2];j:{if((e|0)>=0){break j}N[g+4>>2]=-1;N[g+8>>2]=-1;c=0;while(1){f=i+T(c,20)|0;k:{if(P[f+6>>1]!=16|!P[f+8>>1]){break k}l:{m:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break k}b=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break l}break k;case 0:break m;default:break k}}if(P[f+2>>1]){break k}b=g+4|0;if(!P[f+4>>1]){break l}if(N[g+4>>2]!=-1){break k}}N[b>>2]=c}c=c+1|0;if((h|0)!=(c|0)){continue}break}c=N[g+8>>2];if((c|0)>=0){break i}e=N[g+4>>2];if((e|0)>=0){break j}N[g+4>>2]=-1;N[g+8>>2]=-1;c=0;while(1){f=i+T(c,20)|0;n:{if(P[f+6>>1]!=1|!P[f+8>>1]){break n}o:{p:{switch(P[f>>1]-1|0){case 2:if(P[f+2>>1]>1){break n}b=g+8|0;if(P[f+4>>1]==1033|N[g+8>>2]==-1){break o}break n;case 0:break p;default:break n}}if(P[f+2>>1]){break n}b=g+4|0;if(!P[f+4>>1]){break o}if(N[g+4>>2]!=-1){break n}}N[b>>2]=c}c=c+1|0;if((h|0)!=(c|0)){continue}break}c=N[g+8>>2];if((c|0)>=0){break i}f=0;e=N[g+4>>2];if((e|0)<0){break b}}if((c|0)!=-1){break i}c=0;break h}c=Sl(d,N[a+368>>2],i+T(c,20)|0,178);e=N[g+4>>2]}q:{r:{s:{if(!((e|0)==-1|c)){f=N[a+368>>2];i=N[a+100>>2];n=N[a+356>>2];h=n+T(e,20)|0;c=Qa[N[i+4>>2]](i,P[h+8>>1]+1|0)|0;if(!c){f=0;break b}b=N[h+12>>2];j=N[f+20>>2];t:{if(j){if(!(Qa[j|0](f,b,0,0)|0)){break t}break r}if(b>>>0>Q[f+4>>2]){break r}}N[f+8>>2]=b;if(Bb(f,P[h+8>>1])){break r}b=c;k=P[h+8>>1];if(k){j=N[f+32>>2];while(1){l=L[j|0];if(l-58>>>0<=4294967285&(l&-33)-91>>>0<4294967270){break s}L[b|0]=l;j=j+1|0;b=b+1|0;k=k-1|0;if(k){continue}break}}L[b|0]=0;if(N[f+20>>2]){b=N[f>>2];if(b){e=N[f+28>>2];Qa[N[e+8>>2]](e,b)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}if(c){break q}f=0;break b}if(N[f+20>>2]){b=N[f>>2];if(b){d=N[f+28>>2];Qa[N[d+8>>2]](d,b)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}Qa[N[i+8>>2]](i,c);f=0;N[h+12>>2]=0;M[h+8>>1]=0;b=T(e,20)+n|0;d=N[b+16>>2];if(d){Qa[N[i+8>>2]](i,d)}N[b+16>>2]=0;break b}b=nb(c);if(b>>>0>=92){L[c+91|0]=0;b=91}N[a+748>>2]=b;N[a+744>>2]=c}Qa[N[m+40>>2]](a,g+20|0,g+16|0,0,g+12|0)|0;u:{v:{b=N[a+4>>2]&2147418112;if(!b|O[a+9|0]&128){break v}e=(b>>>16|0)-1|0;b=N[N[g+12>>2]+16>>2];f=N[(T(e,12)+b|0)+8>>2];c=N[a+540>>2];N[g+24>>2]=0;if(!((f|0)!=6&f-256>>>0>32511)){Qa[N[c+160>>2]](a,f&65535,g+24|0)|0;f=N[g+24>>2];if(f){break u}b=N[N[g+12>>2]+16>>2]}Qa[N[c+160>>2]](a,P[(T(e,12)+b|0)+4>>1],g)|0;b=N[g>>2];if(!b){break v}b=(N[a+748>>2]+nb(b)|0)+2|0;w:{if((b|0)>0){c=Qa[N[d+4>>2]](d,b)|0;if(c){break w}break c}if(b){break c}c=0}f=pd(c,N[a+744>>2]);b=f+N[a+748>>2]|0;L[b|0]=45;b=b+1|0;e=N[g>>2];c=O[e|0];if(c){while(1){i=c<<24>>24;if(!(!(i-48>>>0<10|i-65>>>0<26)&i-97>>>0>25)){L[b|0]=c;b=b+1|0}c=O[e+1|0];e=e+1|0;if(c){continue}break}}L[b|0]=0;c=N[g>>2];if(c){Qa[N[d+8>>2]](d,c)}c=b+1|0;break d}j=N[N[g+12>>2]+12>>2];b=(N[a+748>>2]+T(N[g+20>>2],17)|0)+1|0;x:{if((b|0)>0){f=Qa[N[d+4>>2]](d,b)|0;if(f){break x}f=0;break b}f=0;if(b){break b}}f=pd(f,N[a+744>>2]);e=f+N[a+748>>2]|0;if(N[g+20>>2]){c=N[g+16>>2];l=0;while(1){y:{if(N[c>>2]==N[j+8>>2]){break y}L[e|0]=95;c=N[N[g+16>>2]>>2];z:{if(!c){L[e+1|0]=48;e=e+2|0;break z}if((c|0)>=0){e=e+1|0}else{L[e+1|0]=45;c=0-c|0;e=e+2|0}k=c&65535;A:{if(c>>>0<65536){break A}d=c>>>16|0;c=g+24|0;b=0;while(1){i=(d>>>0)/10|0;L[c|0]=T(i,246)+d|48;h=b;b=b+1|0;c=c+1|0;m=d>>>0<10;d=i;if(!m){continue}break}if(g+24>>>0>=c>>>0){break A}d=0;b=b&7;if(b){while(1){c=c-1|0;L[e|0]=O[c|0];e=e+1|0;d=d+1|0;if((b|0)!=(d|0)){continue}break}}if(h>>>0<7){break A}while(1){L[e|0]=O[c-1|0];L[e+1|0]=O[c-2|0];L[e+2|0]=O[c-3|0];L[e+3|0]=O[c-4|0];L[e+4|0]=O[c-5|0];L[e+5|0]=O[c-6|0];L[e+6|0]=O[c-7|0];c=c-8|0;L[e+7|0]=O[c|0];e=e+8|0;if(g+24>>>0>>0){continue}break}}if(!k){break z}L[e|0]=46;b=T(k,10)+5|0;L[e+1|0]=(b>>>16|0)+48;b=T(b&65535,10);L[e+2|0]=b>>>16|48;b=T(b&65534,10);d=b>>>16|48;L[e+3|0]=d;B:{C:{D:{E:{F:{G:{H:{b=b&65532;if(!b){c=e+3|0;break H}b=T(b,10);d=b>>>16|48;L[e+4|0]=d;b=b&65528;if(!b){c=e+4|0;break H}b=T(b,10);i=b>>>16|0;d=i|48;L[e+5|0]=d;c=e+5|0;b=b&65520;if(!b){break H}if(b>>>0>=34480){break D}if((d|0)==49){break G}if((b|0)==17232){if(!(i&1)){break D}d=i+47|0;break E}if(b>>>0>17231){break D}break F}if((c-e|0)!=5){break D}if((d|0)!=49){break F}}L[c|0]=48;break C}if((d|0)==48){break C}d=d-1|0}L[c|0]=d}if((d|0)!=48){break B}}while(1){L[c|0]=0;c=c-1|0;if(O[c|0]==48){continue}break}}e=c+1|0}c=N[j+16>>2];b=c>>24;if(!((b|0)==32|!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25)){L[e|0]=c>>>24;e=e+1|0;c=N[j+16>>2]}d=c>>>16|0;b=d<<24;I:{if((b|0)==536870912){break I}b=b>>24;if(!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25){break I}L[e|0]=d;e=e+1|0;c=N[j+16>>2]}d=c>>>8|0;b=d<<24;J:{if((b|0)==536870912){break J}b=b>>24;if(!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25){break J}L[e|0]=d;e=e+1|0;c=N[j+16>>2]}b=c<<24;if((b|0)==536870912){break y}b=b>>24;if(!(b-48>>>0<10|b-65>>>0<26)&b-97>>>0>25){break y}L[e|0]=c;e=e+1|0}c=N[g+16>>2]+4|0;N[g+16>>2]=c;j=j+24|0;l=l+1|0;if(l>>>0>2]){continue}break}}L[e|0]=0;c=e+1|0;break d}c=(nb(f)+f|0)+1|0;break d}N[g+20>>2]=-1;N[g+24>>2]=-1;f=P[a+340>>1];if(!f){f=0;break a}d=N[a+356>>2];while(1){b=d+T(c,20)|0;K:{if(P[b+6>>1]!=6|!P[b+8>>1]){break K}L:{M:{switch(P[b>>1]-1|0){case 2:if(P[b+2>>1]>1){break K}i=g+24|0;if(P[b+4>>1]==1033|N[g+24>>2]==-1){break L}break K;case 0:break M;default:break K}}if(P[b+2>>1]){break K}i=g+20|0;if(!P[b+4>>1]){break L}if(N[g+20>>2]!=-1){break K}}N[i>>2]=c}c=c+1|0;if((f|0)!=(c|0)){continue}break}e=N[g+20>>2];N:{O:{b=N[g+24>>2];if((b|0)>=0){break O}f=0;if((e|0)<0){break a}if((b|0)!=-1){break O}f=0;break N}f=Sl(N[a+100>>2],N[a+368>>2],d+T(b,20)|0,179)}if(f|(e|0)==-1){break b}b=N[a+368>>2];d=N[a+100>>2];l=N[a+356>>2];c=l+T(e,20)|0;f=Qa[N[d+4>>2]](d,P[c+8>>1]+1|0)|0;if(!f){f=0;break b}i=N[c+12>>2];h=N[b+20>>2];P:{Q:{if(h){if(!(Qa[h|0](b,i,0,0)|0)){break Q}break P}if(i>>>0>Q[b+4>>2]){break P}}N[b+8>>2]=i;if(Bb(b,P[c+8>>1])){break P}i=f;R:{k=P[c+8>>1];if(k){j=N[b+32>>2];while(1){h=O[j|0];m=h<<24>>24;if((m|0)<0|!(O[(h>>>3|0)+179360|0]>>>(h&7)&1)){break R}L[i|0]=m;j=j+1|0;i=i+1|0;k=k-1|0;if(k){continue}break}}L[i|0]=0;if(N[b+20>>2]){d=N[b>>2];if(d){c=N[b+28>>2];Qa[N[c+8>>2]](c,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;break b}if(N[b+20>>2]){i=N[b>>2];if(i){h=N[b+28>>2];Qa[N[h+8>>2]](h,i)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}Qa[N[d+8>>2]](d,f);f=0;N[c+12>>2]=0;M[c+8>>1]=0;b=l+T(e,20)|0;c=N[b+16>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+16>>2]=0;break b}k=c-f|0;if((k|0)<128){break b}d=0-(k>>>4|0)|0;h=(k&-16)+f|0;j=123456789;e=123456789;b=123456789;i=123456789;while(1){l=j;c=h+(d<<4)|0;j=N[c>>2];j=ZE(l^T(T(j,597399067)>>>17|T(j,-888307712),-1425107063),19)+e|0;l=e;e=N[c+4>>2];e=T(ZE(l^T(T(e,-1425107063)>>>16|T(e,-1752629248),951274213),17)+b|0,5)+197830471|0;l=b;b=N[c+8>>2];b=T(ZE(l^T(T(b,951274213)>>>15|T(b,-1781923840),-1578923117),15)+i|0,5)-1764942795|0;c=N[c+12>>2];j=T(j,5)+1444728091|0;l=T(ZE(T(T(c,-1578923117)>>>14|T(c,776732672),597399067)^i,13)+j|0,5)+850148119|0;i=l;d=d+1|0;if(d){continue}break}c=0;S:{switch((k&15)-1|0){case 14:c=O[h+14|0]<<16;case 13:c=O[h+13|0]<<8|c;case 12:d=O[h+12|0]^c;l=T(T(d,-1578923117)>>>14|T(d,776732672),597399067)^l;case 11:c=O[h+11|0]<<24;case 10:c=O[h+10|0]<<16|c;case 9:c=O[h+9|0]<<8^c;case 8:i=b;b=O[h+8|0]^c;b=i^T(T(b,951274213)>>>15|T(b,-1781923840),-1578923117);case 7:c=O[h+7|0]<<24;case 6:c=O[h+6|0]<<16|c;case 5:c=O[h+5|0]<<8^c;case 4:d=O[h+4|0]^c;e=T(T(d,-1425107063)>>>16|T(d,-1752629248),951274213)^e;case 3:c=O[h+3|0]<<24;case 2:c=O[h+2|0]<<16|c;case 1:c=O[h+1|0]<<8^c;case 0:d=O[h|0]^c;j=T(T(d,597399067)>>>17|T(d,-888307712),-1425107063)^j;break;default:break S}}d=N[a+748>>2]+f|0;L[d|0]=45;L[d+33|0]=46;L[d+34|0]=46;L[d+35|0]=46;L[d+36|0]=0;e=e^k;c=b^k;i=k^l;b=(e+(c+i|0)|0)+(j^k)|0;h=T(b>>>16^b,-2048144789);h=T(h>>>13^h,-1028477387);j=h>>>16^h;e=b+e|0;e=T(e>>>16^e,-2048144789);e=T(e>>>13^e,-1028477387);h=e>>>16^e;c=c+b|0;c=T(c>>>16^c,-2048144789);c=T(c>>>13^c,-1028477387);e=c>>>16^c;b=b+i|0;b=T(b>>>16^b,-2048144789);b=T(b>>>13^b,-1028477387);c=b>>>16^b;b=((j+h|0)+e|0)+c|0;c=c+b|0;L[d+32|0]=O[(c&15)+584032|0];L[d+25|0]=O[(c>>>28|0)+584032|0];e=b+e|0;L[d+24|0]=O[(e&15)+584032|0];L[d+31|0]=O[(c>>>4&15)+584032|0];L[d+30|0]=O[(c>>>8&15)+584032|0];L[d+29|0]=O[(c>>>12&15)+584032|0];L[d+28|0]=O[(c>>>16&15)+584032|0];L[d+27|0]=O[(c>>>20&15)+584032|0];L[d+26|0]=O[(c>>>24&15)+584032|0];L[d+23|0]=O[(e>>>4&15)+584032|0];L[d+22|0]=O[(e>>>8&15)+584032|0];L[d+21|0]=O[(e>>>12&15)+584032|0];L[d+20|0]=O[(e>>>16&15)+584032|0];L[d+19|0]=O[(e>>>20&15)+584032|0];L[d+18|0]=O[(e>>>24&15)+584032|0];c=b+h|0;L[d+16|0]=O[(c&15)+584032|0];L[d+17|0]=O[(e>>>28|0)+584032|0];L[d+15|0]=O[(c>>>4&15)+584032|0];L[d+14|0]=O[(c>>>8&15)+584032|0];L[d+13|0]=O[(c>>>12&15)+584032|0];L[d+12|0]=O[(c>>>16&15)+584032|0];L[d+11|0]=O[(c>>>20&15)+584032|0];L[d+10|0]=O[(c>>>24&15)+584032|0];L[d+9|0]=O[(c>>>28|0)+584032|0];L[d+8|0]=O[(b&15)+584032|0];L[d+7|0]=O[(b>>>4&15)+584032|0];L[d+6|0]=O[(b>>>8&15)+584032|0];L[d+5|0]=O[(b>>>12&15)+584032|0];L[d+4|0]=O[(b>>>16&15)+584032|0];L[d+3|0]=O[(b>>>20&15)+584032|0];L[d+2|0]=O[(b>>>24&15)+584032|0];L[d+1|0]=O[(b>>>28|0)+584032|0];break b}f=0}N[a+720>>2]=f}La=g+32|0;return f|0}function Sh(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0;o=La-16|0;La=o;t=N[a+736>>2];j=N[a+104>>2];n=N[j+28>>2];N[o+4>>2]=0;p=6;a:{if(!O[a+733|0]|!t){break a}b:{if(!e){break b}f=N[c+4>>2];p=0;if((e|0)!=1){k=e&1;i=e&-2;while(1){g=p<<3;q=g+d|0;G=f+g|0;N[q>>2]=N[G>>2]<<6;N[q+4>>2]=N[G+4>>2]<<6;g=g|8;q=g+d|0;g=f+g|0;N[q>>2]=N[g>>2]<<6;N[q+4>>2]=N[g+4>>2]<<6;p=p+2|0;if((i|0)!=(p|0)){continue}break}if(!k){break b}}g=p<<3;k=g+d|0;f=f+g|0;N[k>>2]=N[f>>2]<<6;N[k+4>>2]=N[f+4>>2]<<6}p=0;if(Q[t+68>>2]<=b>>>0){break a}f=N[t+72>>2];g=b+1|0;if(N[f+(b<<2)>>2]==N[f+(g<<2)>>2]){break a}c:{d:{if((e|0)<0){p=6;break d}e:{f:{g:{if(!e){break g}p=10;if((e|0)>268435455){break d}f=e<<3;r=Qa[N[n+4>>2]](n,f)|0;h:{if(!(r?(e|0)>0:0)){N[o+12>>2]=!r<<6;if(r){break h}break c}C(r,0,f)}s=Qa[N[n+4>>2]](n,f)|0;i:{if(!(s?(e|0)>0:0)){N[o+12>>2]=!s<<6;if(s){break i}p=0;break f}C(s,0,f)}p=Qa[N[n+4>>2]](n,e)|0;if(!(!p|(e|0)<=0)){C(p,0,e);break g}f=!p;N[o+12>>2]=f<<6;if(f){break f}}f=N[t+72>>2];b=N[f+(b<<2)>>2];f=N[f+(g<<2)>>2];j:{k:{g=N[j+20>>2];l:{if(g){if(Qa[g|0](j,b,0,0)|0){break l}break k}if(b>>>0<=Q[j+4>>2]){break k}}N[o+12>>2]=85;break j}N[j+8>>2]=b;g=f-b|0;b=Bb(j,g);N[o+12>>2]=b;if(b){break j}k=N[j>>2];i=N[j+32>>2];H=lb(n,4,0,N[t>>2],0,o+12|0);m:{if(N[o+12>>2]){break m}K=lb(n,4,0,N[t>>2],0,o+12|0);if(N[o+12>>2]){break m}R=lb(n,4,0,N[t>>2],0,o+12|0);if(N[o+12>>2]){break m}f=N[j+36>>2];b=N[j+32>>2];if(f>>>0>b+1>>>0){h=O[b|0]|O[b+1|0]<<8;h=h<<8|h>>>8;b=b+2|0}N[j+32>>2]=b;if(f>>>0>b+1>>>0){D=O[b+1|0]|O[b|0]<<8;b=b+2|0}N[j+32>>2]=b;n:{if(g>>>0>=D>>>0){ba=h&4095;if(g>>>0>=ba<<2>>>0){break n}}N[o+12>>2]=8;break m}I=(i-k|0)+D|0;D=0;o:{if(h<<16>>16>=0){G=0;break o}h=N[j>>2];N[j+32>>2]=f-h>>>0>I>>>0?h+I|0:f;G=bg(j,N[t+76>>2],o+4|0);g=N[j+32>>2];f=N[j>>2];b=b-h|0;h=N[j+36>>2];N[j+32>>2]=b>>>0>>0?f+b|0:h;I=g-f|0}U=lb(n,4,0,e,0,o+12|0);p:{q:{r:{if(N[o+12>>2]){break r}D=lb(n,4,0,e,0,o+12|0);if(N[o+12>>2]){break r}s:{if(!e){break s}b=N[c+4>>2];f=0;if((e|0)!=1){g=e&1;k=e&-2;while(1){h=f<<3;i=h+r|0;q=b+h|0;N[i>>2]=N[q>>2]<<16;N[i+4>>2]=N[q+4>>2]<<16;h=h|8;i=h+r|0;h=b+h|0;N[i>>2]=N[h>>2]<<16;N[i+4>>2]=N[h+4>>2]<<16;f=f+2|0;if((k|0)!=(f|0)){continue}break}if(!g){break s}}f=f<<3;h=f+r|0;b=b+f|0;N[h>>2]=N[b>>2]<<16;N[h+4>>2]=N[b+4>>2]<<16}if(ba){na=e&-4;ea=e&3;fa=e-1|0;ga=e-2|0;ha=e-3|0;Z=e-4|0;ia=N[o+4>>2];i=0;while(1){g=N[j+36>>2];b=N[j+32>>2];t:{if(g>>>0<=b+1>>>0){ja=0;break t}ja=O[b+1|0]|O[b|0]<<8;b=b+2|0}N[j+32>>2]=b;k=0;w=0;u:{v:{w:{x:{y:{z:{A:{if(g>>>0<=b+1>>>0){break A}h=O[b|0]|O[b+1|0]<<8;f=b+2|0;N[j+32>>2]=f;b=h<<8|h>>>8;k=b&65535;w=b<<16>>16;if((w|0)>=0){break A}b=N[t>>2];if(!b){break z}l=0;B:{if((b|0)==1){q=0;break B}m=b&1;y=b&-2;q=0;h=0;while(1){C:{if(g>>>0<=f+1>>>0){b=0;break C}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(q<<2)+H>>2]=b<<16>>16<<2;b=0;if(g>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[((q|1)<<2)+H>>2]=b<<16>>16<<2;q=q+2|0;h=h+2|0;if((y|0)!=(h|0)){continue}break}if(!m){break z}}if(g>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;l=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(q<<2)+H>>2]=l<<16>>16<<2;break z}b=k&4095;if(b>>>0>=Q[t+60>>2]){break y}f=b;b=N[t>>2];F(H,N[t+64>>2]+(T(f,b)<<2)|0,b<<2)}if(!(k&16384)){break u}m=N[t>>2];if(!m){break u}y=m&1;f=N[j+32>>2];l=N[j+36>>2];q=0;E=m-1|0;if(!E){g=0;break w}J=m&-2;g=0;h=0;while(1){D:{if(l>>>0<=f+1>>>0){b=0;break D}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+K>>2]=b<<16>>16<<2;b=0;if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[((g|1)<<2)+K>>2]=b<<16>>16<<2;g=g+2|0;h=h+2|0;if((J|0)!=(h|0)){continue}break}break x}N[o+12>>2]=8;break r}if(!y){break v}}if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;q=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+K>>2]=q<<16>>16<<2}q=0;E:{if(!E){g=0;break E}m=m&-2;g=0;h=0;while(1){F:{if(l>>>0<=f+1>>>0){b=0;break F}b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+R>>2]=b<<16>>16<<2;b=0;if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;b=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[((g|1)<<2)+R>>2]=b<<16>>16<<2;g=g+2|0;h=h+2|0;if((m|0)!=(h|0)){continue}break}if(!y){break u}}if(l>>>0>f+1>>>0){b=O[f|0]|O[f+1|0]<<8;q=b<<8|b>>>8;f=f+2|0}N[j+32>>2]=f;N[(g<<2)+R>>2]=q<<16>>16<<2}h=$m(t,w&65535,H,K,R);if(h){oa=N[j+32>>2];ca=N[j>>2];b=N[j+36>>2];N[j+32>>2]=b-ca>>>0>I>>>0?ca+I|0:b;G:{if(k&8192){q=bg(j,N[t+76>>2],o+8|0);k=q;b=N[o+8>>2];break G}N[o+8>>2]=ia;q=i;k=G;b=ia}f=b?b:e;y=Rh(j,N[t+76>>2],f);E=Rh(j,N[t+76>>2],f);H:{if(!y|(!k|!E)){break H}I:{J:{K:{if((k|0)!=-1){if(!e){break I}g=0;f=0;if(e>>>0>=4){break K}break J}f=0;if(!e){break H}while(1){b=f<<2;g=b+D|0;k=N[g>>2];i=b+U|0;l=N[i>>2];m=ob(N[b+y>>2],h);b=ob(N[b+E>>2],h);L:{if(f>>>0>>0){N[i>>2]=l+m;N[g>>2]=b+k;break L}if(!(O[a+740|0]&4|(f|0)!=(Z|0))){N[i>>2]=l+m;break L}if(!(O[a+740|0]&2|(f|0)!=(ha|0))){N[i>>2]=l+m;break L}if(!(O[a+740|0]&32|(f|0)!=(ga|0))){N[g>>2]=b+k;break L}if(O[a+740|0]&16|(f|0)!=(fa|0)){break L}N[g>>2]=b+k}f=f+1|0;if((f|0)!=(e|0)){continue}break}break H}while(1){L[f+p|0]=0;i=f<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;i=f|1;L[i+p|0]=0;i=i<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;i=f|2;L[i+p|0]=0;i=i<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;i=f|3;L[i+p|0]=0;i=i<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;f=f+4|0;if((na|0)!=(f|0)){continue}break}}if(!ea){break I}while(1){L[f+p|0]=0;i=f<<3;l=i+s|0;i=i+r|0;m=N[i+4>>2];N[l>>2]=N[i>>2];N[l+4>>2]=m;f=f+1|0;g=g+1|0;if((ea|0)!=(g|0)){continue}break}}f=0;if(b){while(1){g=P[(f<<1)+k>>1];if(g>>>0>>0){L[g+p|0]=1;g=(g<<3)+s|0;i=N[g>>2];l=i;i=f<<2;ta=g,ua=l+ob(N[i+y>>2],h)|0,N[ta>>2]=ua;ta=g,ua=N[g+4>>2]+ob(N[i+E>>2],h)|0,N[ta+4>>2]=ua}f=f+1|0;if((b|0)!=(f|0)){continue}break}}i=0;_=0;if(P[c>>1]){da=s+4|0;J=r+4|0;while(1){w=M[N[c+12>>2]+(_<<1)>>1];M:{if((w|0)<(i|0)){break M}f=w+1|0;$=0;k=i;while(1){b=k+1|0;if(O[k+p|0]){f=k;g=f;N:{O:{P:{Q:{ka=(f|0)<(w|0);if(ka){while(1){l=f;f=b;h=g;R:{if(!O[p+f|0]){break R}h=f;if((g|0)>=(l|0)){break R}b=g+1|0;m=N[(g<<3)+r>>2]>N[(f<<3)+r>>2];V=m?g:f;W=V<<3;h=N[W+s>>2];X=m?f:g;Y=X<<3;z=N[Y+s>>2];u=N[r+W>>2];x=N[r+Y>>2];if(!((u|0)==(x|0)&(h|0)!=(z|0))){m=0;aa=h-u|0;S=z-x|0;if((u|0)!=(x|0)){m=fb(h-z|0,u-x|0)}h=m>>31;v=(h^m)-h|0;pa=v&65535;qa=v>>>16|0;ra=v>>>8|0;g=b;while(1){h=g;la=g<<3;g=N[la+r>>2];S:{if((g|0)<=(x|0)){A=g+S|0;break S}A=g+aa|0;if((g|0)>=(u|0)){break S}A=g-x|0;g=A>>31;g=(g^A)-g|0;T:{if(g+ra>>>0<=8190){B=T(g,v)+32768>>>16|0;break T}B=g&65535;B=T(B,qa)+T(v,g>>>16|0)+(T(pa,B)+32768>>>16)|0}g=B;sa=0-g|0;g=A>>31|1;A=z+((((m|0)<0?0-g|0:g)|0)<0?sa:B)|0}N[s+la>>2]=A;g=h+1|0;if((h|0)!=(l|0)){continue}break}}h=N[J+Y>>2]>N[J+W>>2];g=(h?X:V)<<3;u=N[g+da>>2];h=(h?V:X)<<3;x=N[h+da>>2];z=N[g+J>>2];g=N[h+J>>2];if((z|0)==(g|0)){h=f;if((u|0)!=(x|0)){break R}}m=0;A=u-z|0;V=x-g|0;if((g|0)!=(z|0)){m=fb(u-x|0,z-g|0)}h=m>>31;u=(h^m)-h|0;W=u&65535;X=u>>>16|0;Y=u>>>8|0;while(1){h=b;aa=b<<3;b=N[aa+J>>2];U:{if((b|0)<=(g|0)){v=b+V|0;break U}v=b+A|0;if((b|0)>=(z|0)){break U}v=b-g|0;b=v>>31;b=(b^v)-b|0;V:{if(b+Y>>>0<=8190){B=T(b,u)+32768>>>16|0;break V}S=b&65535;B=T(S,X)+T(u,b>>>16|0)+(T(W,S)+32768>>>16)|0}b=B;S=0-b|0;b=v>>31|1;v=x+((((m|0)<0?0-b|0:b)|0)<0?S:B)|0}N[da+aa>>2]=v;b=h+1|0;if((h|0)!=(l|0)){continue}break}h=f}g=h;b=f+1|0;if((f|0)<(w|0)){continue}break}if((g|0)!=(k|0)){break Q}}h=k<<3;g=h+r|0;f=N[g+4>>2];l=h+s|0;h=N[l+4>>2];l=N[l>>2];g=N[g>>2];if((l|0)==(g|0)&(f|0)==(h|0)){break N}h=h-f|0;g=l-g|0;if((i|0)>=(k|0)){break O}if($&1){f=(i<<3)+s|0;N[f>>2]=g+N[f>>2];N[f+4>>2]=h+N[f+4>>2];i=i+1|0}if(($|0)!=1){break P}break O}Zm(g+1|0,w,g,k,r,s);if((k|0)<=0){break N}Zm(i,k-1|0,g,k,r,s);break N}while(1){f=(i<<3)+s|0;N[f>>2]=g+N[f>>2];N[f+4>>2]=h+N[f+4>>2];N[f+12>>2]=h+N[f+12>>2];N[f+8>>2]=g+N[f+8>>2];i=i+2|0;if((i|0)!=(k|0)){continue}break}}if(!ka){break N}while(1){k=k+1|0;f=(k<<3)+s|0;N[f>>2]=g+N[f>>2];N[f+4>>2]=h+N[f+4>>2];if((k|0)!=(w|0)){continue}break}}i=b;break M}$=$+1|0;h=(k|0)==(w|0);k=b;if(!h){continue}break}i=f}_=_+1|0;if((_|0)>1]){continue}break}}f=0;if(!e){break H}while(1){b=f<<3;h=b+s|0;g=b+r|0;b=N[h+4>>2]-N[g+4>>2]|0;h=N[h>>2]-N[g>>2]|0;i=f<<2;g=i+D|0;k=N[g>>2];i=i+U|0;l=N[i>>2];W:{if(f>>>0>>0){N[i>>2]=h+l;N[g>>2]=b+k;break W}if(!(O[a+740|0]&4|(f|0)!=(Z|0))){N[i>>2]=h+l;break W}if(!(O[a+740|0]&2|(f|0)!=(ha|0))){N[i>>2]=h+l;break W}if(!(O[a+740|0]&32|(f|0)!=(ga|0))){N[g>>2]=b+k;break W}if(O[a+740|0]&16|(f|0)!=(fa|0)){break W}N[g>>2]=b+k}f=f+1|0;if((f|0)!=(e|0)){continue}break}}i=-1;X:{switch(q+1|0){default:Qa[N[n+8>>2]](n,q);case 1:i=0;break;case 0:break X}}if(y){Qa[N[n+8>>2]](n,y)}if(E){Qa[N[n+8>>2]](n,E)}b=oa-ca|0;f=N[j>>2];h=N[j+36>>2];N[j+32>>2]=b>>>0>>0?b+f|0:h}I=I+ja|0;ma=ma+1|0;if((ma|0)!=(ba|0)){continue}break}}if(!e){break r}b=N[c+4>>2];f=0;while(1){c=f<<3;a=c+d|0;h=f<<2;g=h+U|0;N[a>>2]=N[a>>2]+(N[g>>2]+512>>10);h=h+D|0;N[a+4>>2]=N[a+4>>2]+(N[h>>2]+512>>10);a=b+c|0;N[a>>2]=N[a>>2]+(N[g>>2]+32768>>16);N[a+4>>2]=N[a+4>>2]+(N[h>>2]+32768>>16);f=f+1|0;if((f|0)!=(e|0)){continue}break}break q}if(!U){break p}}Qa[N[n+8>>2]](n,U)}if(D){Qa[N[n+8>>2]](n,D)}if(G+1>>>0<2){break m}Qa[N[n+8>>2]](n,G)}if(H){Qa[N[n+8>>2]](n,H)}if(K){Qa[N[n+8>>2]](n,K)}if(R){Qa[N[n+8>>2]](n,R)}if(N[j+20>>2]){a=N[j>>2];if(a){b=N[j+28>>2];Qa[N[b+8>>2]](b,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0}if(!r){break e}}Qa[N[n+8>>2]](n,r)}if(s){Qa[N[n+8>>2]](n,s)}if(!p){break c}Qa[N[n+8>>2]](n,p);break c}N[o+12>>2]=p}p=N[o+12>>2]}La=o+16|0;return p}function kb(a){a=a|0;var 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;l=La-16|0;La=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{if(a>>>0<=244){j=N[147317];g=a>>>0<11?16:a+11&-8;c=g>>>3|0;b=j>>>c|0;if(b&3){c=c+((b^-1)&1)|0;a=c<<3;b=a+589308|0;d=N[a+589316>>2];a=N[d+8>>2];n:{if((b|0)==(a|0)){m=589268,n=ZE(-2,c)&j,N[m>>2]=n;break n}N[a+12>>2]=b;N[b+8>>2]=a}a=d+8|0;b=c<<3;N[d+4>>2]=b|3;b=b+d|0;N[b+4>>2]=N[b+4>>2]|1;break a}i=N[147319];if(i>>>0>=g>>>0){break m}if(b){a=2<>2];a=N[f+8>>2];o:{if((b|0)==(a|0)){j=ZE(-2,d)&j;N[147317]=j;break o}N[a+12>>2]=b;N[b+8>>2]=a}N[f+4>>2]=g|3;c=f+g|0;a=d<<3;d=a-g|0;N[c+4>>2]=d|1;N[a+f>>2]=d;if(i){b=(i&-8)+589308|0;e=N[147322];a=1<<(i>>>3);p:{if(!(a&j)){N[147317]=a|j;a=b;break p}a=N[b+8>>2]}N[b+8>>2]=e;N[a+12>>2]=e;N[e+12>>2]=b;N[e+8>>2]=a}a=f+8|0;N[147322]=c;N[147319]=d;break a}k=N[147318];if(!k){break m}c=N[(SE(k&0-k)<<2)+589572>>2];d=(N[c+4>>2]&-8)-g|0;b=c;while(1){q:{a=N[b+16>>2];if(!a){a=N[b+20>>2];if(!a){break q}}b=(N[a+4>>2]&-8)-g|0;e=b>>>0>>0;d=e?b:d;c=e?a:c;b=a;continue}break}h=N[c+24>>2];e=N[c+12>>2];if((e|0)!=(c|0)){a=N[c+8>>2];N[a+12>>2]=e;N[e+8>>2]=a;break b}b=c+20|0;a=N[b>>2];if(!a){a=N[c+16>>2];if(!a){break l}b=c+16|0}while(1){f=b;e=a;b=a+20|0;a=N[b>>2];if(a){continue}b=e+16|0;a=N[e+16>>2];if(a){continue}break}N[f>>2]=0;break b}g=-1;if(a>>>0>4294967231){break m}a=a+11|0;g=a&-8;h=N[147318];if(!h){break m}d=0-g|0;k=0;r:{if(g>>>0<256){break r}k=31;if(g>>>0>16777215){break r}a=W(a>>>8|0);k=((g>>>38-a&1)-(a<<1)|0)+62|0}b=N[(k<<2)+589572>>2];s:{t:{u:{if(!b){a=0;break u}a=0;c=g<<((k|0)!=31?25-(k>>>1|0)|0:0);while(1){v:{f=(N[b+4>>2]&-8)-g|0;if(f>>>0>=d>>>0){break v}e=b;d=f;if(d){break v}d=0;a=b;break t}f=N[b+20>>2];b=N[((c>>>29&4)+b|0)+16>>2];a=f?(f|0)==(b|0)?a:f:a;c=c<<1;if(b){continue}break}}if(!(a|e)){e=0;a=2<>2]}if(!a){break s}}while(1){b=(N[a+4>>2]&-8)-g|0;c=b>>>0>>0;d=c?b:d;e=c?a:e;b=N[a+16>>2];if(b){a=b}else{a=N[a+20>>2]}if(a){continue}break}}if(!e|N[147319]-g>>>0<=d>>>0){break m}k=N[e+24>>2];c=N[e+12>>2];if((e|0)!=(c|0)){a=N[e+8>>2];N[a+12>>2]=c;N[c+8>>2]=a;break c}b=e+20|0;a=N[b>>2];if(!a){a=N[e+16>>2];if(!a){break k}b=e+16|0}while(1){f=b;c=a;b=a+20|0;a=N[b>>2];if(a){continue}b=c+16|0;a=N[c+16>>2];if(a){continue}break}N[f>>2]=0;break c}a=N[147319];if(a>>>0>=g>>>0){d=N[147322];b=a-g|0;w:{if(b>>>0>=16){c=d+g|0;N[c+4>>2]=b|1;N[a+d>>2]=b;N[d+4>>2]=g|3;break w}N[d+4>>2]=a|3;a=a+d|0;N[a+4>>2]=N[a+4>>2]|1;c=0;b=0}N[147319]=b;N[147322]=c;a=d+8|0;break a}i=N[147320];if(i>>>0>g>>>0){b=i-g|0;N[147320]=b;c=N[147323];a=c+g|0;N[147323]=a;N[a+4>>2]=b|1;N[c+4>>2]=g|3;a=c+8|0;break a}a=0;k=g+47|0;if(N[147435]){c=N[147437]}else{N[147438]=-1;N[147439]=-1;N[147436]=4096;N[147437]=4096;N[147435]=l+12&-16^1431655768;N[147440]=0;N[147428]=0;c=4096}f=k+c|0;e=0-c|0;b=f&e;if(b>>>0<=g>>>0){break a}d=N[147427];if(d){c=N[147425];h=c+b|0;if(d>>>0>>0|c>>>0>=h>>>0){break a}}x:{if(!(O[589712]&4)){y:{z:{A:{B:{h=N[147323];if(h){d=589716;while(1){c=N[d>>2];if(c>>>0<=h>>>0&h>>>0>2]>>>0){break B}d=N[d+8>>2];if(d){continue}break}}c=Ae(0);if((c|0)==-1){break y}e=b;f=N[147436];d=f-1|0;if(d&c){e=(b-c|0)+(c+d&0-f)|0}if(e>>>0<=g>>>0){break y}f=N[147427];if(f){d=N[147425];h=d+e|0;if(f>>>0>>0|d>>>0>=h>>>0){break y}}d=Ae(e);if((d|0)!=(c|0)){break A}break x}e=e&f-i;c=Ae(e);if((c|0)==(N[d>>2]+N[d+4>>2]|0)){break z}d=c}if((d|0)==-1){break y}if(g+48>>>0<=e>>>0){c=d;break x}c=N[147437];c=c+(k-e|0)&0-c;if((Ae(c)|0)==-1){break y}e=c+e|0;c=d;break x}if((c|0)!=-1){break x}}N[147428]=N[147428]|4}c=Ae(b);b=Ae(0);if((c|0)==-1|(b|0)==-1|b>>>0<=c>>>0){break a}e=b-c|0;if(e>>>0<=g+40>>>0){break a}}a=N[147425]+e|0;N[147425]=a;if(a>>>0>Q[147426]){N[147426]=a}C:{i=N[147323];if(i){a=589716;while(1){d=N[a>>2];b=N[a+4>>2];if((d+b|0)==(c|0)){break C}a=N[a+8>>2];if(a){continue}break}break j}a=N[147321];if(!(a>>>0<=c>>>0?a:0)){N[147321]=c}a=0;N[147430]=e;N[147429]=c;N[147325]=-1;N[147326]=N[147435];N[147432]=0;while(1){d=a<<3;b=d+589308|0;N[d+589316>>2]=b;N[d+589320>>2]=b;a=a+1|0;if((a|0)!=32){continue}break}d=e-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;N[147320]=b;a=a+c|0;N[147323]=a;N[a+4>>2]=b|1;N[(c+d|0)+4>>2]=40;N[147324]=N[147439];break i}if(N[a+12>>2]&8|(c>>>0<=i>>>0|d>>>0>i>>>0)){break j}N[a+4>>2]=b+e;a=i+8&7?-8-i&7:0;c=a+i|0;N[147323]=c;b=N[147320]+e|0;a=b-a|0;N[147320]=a;N[c+4>>2]=a|1;N[(b+i|0)+4>>2]=40;N[147324]=N[147439];break i}e=0;break b}c=0;break c}if(Q[147321]>c>>>0){N[147321]=c}b=c+e|0;a=589716;D:{E:{F:{while(1){if((b|0)!=N[a>>2]){a=N[a+8>>2];if(a){continue}break F}break}if(!(O[a+12|0]&8)){break E}}a=589716;while(1){b=N[a>>2];if(b>>>0<=i>>>0){f=b+N[a+4>>2]|0;if(f>>>0>i>>>0){break D}}a=N[a+8>>2];continue}}N[a>>2]=c;N[a+4>>2]=N[a+4>>2]+e;k=(c+8&7?-8-c&7:0)+c|0;N[k+4>>2]=g|3;j=b+(b+8&7?-8-b&7:0)|0;h=g+k|0;a=j-h|0;if((i|0)==(j|0)){N[147323]=h;a=N[147320]+a|0;N[147320]=a;N[h+4>>2]=a|1;break d}if(N[147322]==(j|0)){N[147322]=h;a=N[147319]+a|0;N[147319]=a;N[h+4>>2]=a|1;N[a+h>>2]=a;break d}d=N[j+4>>2];if((d&3)!=1){break e}f=d&-8;if(d>>>0<=255){b=d>>>3|0;d=N[j+12>>2];c=N[j+8>>2];if((d|0)==(c|0)){m=589268,n=N[147317]&ZE(-2,b),N[m>>2]=n;break f}N[c+12>>2]=d;N[d+8>>2]=c;break f}g=N[j+24>>2];c=N[j+12>>2];if((j|0)!=(c|0)){b=N[j+8>>2];N[b+12>>2]=c;N[c+8>>2]=b;break g}b=j+20|0;d=N[b>>2];if(!d){d=N[j+16>>2];if(!d){break h}b=j+16|0}while(1){e=b;c=d;b=c+20|0;d=N[b>>2];if(d){continue}b=c+16|0;d=N[c+16>>2];if(d){continue}break}N[e>>2]=0;break g}d=e-40|0;a=c+8&7?-8-c&7:0;b=d-a|0;N[147320]=b;a=a+c|0;N[147323]=a;N[a+4>>2]=b|1;N[(c+d|0)+4>>2]=40;N[147324]=N[147439];a=(f+(f-39&7?39-f&7:0)|0)-47|0;d=a>>>0>>0?i:a;N[d+4>>2]=27;a=N[147432];N[d+16>>2]=N[147431];N[d+20>>2]=a;a=N[147430];N[d+8>>2]=N[147429];N[d+12>>2]=a;N[147431]=d+8;N[147430]=e;N[147429]=c;N[147432]=0;a=d+24|0;while(1){N[a+4>>2]=7;b=a+8|0;a=a+4|0;if(b>>>0>>0){continue}break}if((d|0)==(i|0)){break i}N[d+4>>2]=N[d+4>>2]&-2;f=d-i|0;N[i+4>>2]=f|1;N[d>>2]=f;if(f>>>0<=255){b=(f&-8)+589308|0;c=N[147317];a=1<<(f>>>3);G:{if(!(c&a)){N[147317]=a|c;a=b;break G}a=N[b+8>>2]}N[b+8>>2]=i;N[a+12>>2]=i;N[i+12>>2]=b;N[i+8>>2]=a;break i}a=31;if(f>>>0<=16777215){a=W(f>>>8|0);a=((f>>>38-a&1)-(a<<1)|0)+62|0}N[i+28>>2]=a;N[i+16>>2]=0;N[i+20>>2]=0;d=(a<<2)+589572|0;H:{c=N[147318];b=1<>2]=i;N[i+24>>2]=d;break I}a=f<<((a|0)!=31?25-(a>>>1|0)|0:0);e=N[d>>2];while(1){b=e;if((f|0)==(N[b+4>>2]&-8)){break H}c=a>>>29|0;a=a<<1;c=b+(c&4)|0;e=N[c+16>>2];if(e){continue}break}N[c+16>>2]=i;N[i+24>>2]=b}N[i+12>>2]=i;N[i+8>>2]=i;break i}a=N[b+8>>2];N[a+12>>2]=i;N[b+8>>2]=i;N[i+24>>2]=0;N[i+12>>2]=b;N[i+8>>2]=a}a=0;b=N[147320];if(b>>>0<=g>>>0){break a}b=b-g|0;N[147320]=b;c=N[147323];a=c+g|0;N[147323]=a;N[a+4>>2]=b|1;N[c+4>>2]=g|3;a=c+8|0;break a}c=0}if(!g){break f}d=N[j+28>>2];b=(d<<2)+589572|0;J:{if(N[b>>2]==(j|0)){N[b>>2]=c;if(c){break J}m=589272,n=N[147318]&ZE(-2,d),N[m>>2]=n;break f}N[g+(N[g+16>>2]==(j|0)?16:20)>>2]=c;if(!c){break f}}N[c+24>>2]=g;b=N[j+16>>2];if(b){N[c+16>>2]=b;N[b+24>>2]=c}b=N[j+20>>2];if(!b){break f}N[c+20>>2]=b;N[b+24>>2]=c}a=a+f|0;j=f+j|0;d=N[j+4>>2]}N[j+4>>2]=d&-2;N[h+4>>2]=a|1;N[a+h>>2]=a;if(a>>>0<=255){b=(a&-8)+589308|0;c=N[147317];a=1<<(a>>>3);K:{if(!(c&a)){N[147317]=a|c;a=b;break K}a=N[b+8>>2]}N[b+8>>2]=h;N[a+12>>2]=h;N[h+12>>2]=b;N[h+8>>2]=a;break d}d=31;if(a>>>0<=16777215){b=W(a>>>8|0);d=((a>>>38-b&1)-(b<<1)|0)+62|0}N[h+28>>2]=d;N[h+16>>2]=0;N[h+20>>2]=0;e=(d<<2)+589572|0;L:{c=N[147318];b=1<>2]=h;N[h+24>>2]=e;break M}d=a<<((d|0)!=31?25-(d>>>1|0)|0:0);c=N[e>>2];while(1){b=c;if((N[c+4>>2]&-8)==(a|0)){break L}c=d>>>29|0;d=d<<1;e=b+(c&4)|0;c=N[e+16>>2];if(c){continue}break}N[e+16>>2]=h;N[h+24>>2]=b}N[h+12>>2]=h;N[h+8>>2]=h;break d}a=N[b+8>>2];N[a+12>>2]=h;N[b+8>>2]=h;N[h+24>>2]=0;N[h+12>>2]=b;N[h+8>>2]=a}a=k+8|0;break a}N:{if(!k){break N}b=N[e+28>>2];a=(b<<2)+589572|0;O:{if(N[a>>2]==(e|0)){N[a>>2]=c;if(c){break O}h=ZE(-2,b)&h;N[147318]=h;break N}N[k+(N[k+16>>2]==(e|0)?16:20)>>2]=c;if(!c){break N}}N[c+24>>2]=k;a=N[e+16>>2];if(a){N[c+16>>2]=a;N[a+24>>2]=c}a=N[e+20>>2];if(!a){break N}N[c+20>>2]=a;N[a+24>>2]=c}P:{if(d>>>0<=15){a=d+g|0;N[e+4>>2]=a|3;a=a+e|0;N[a+4>>2]=N[a+4>>2]|1;break P}N[e+4>>2]=g|3;f=e+g|0;N[f+4>>2]=d|1;N[d+f>>2]=d;if(d>>>0<=255){b=(d&-8)+589308|0;c=N[147317];a=1<<(d>>>3);Q:{if(!(c&a)){N[147317]=a|c;a=b;break Q}a=N[b+8>>2]}N[b+8>>2]=f;N[a+12>>2]=f;N[f+12>>2]=b;N[f+8>>2]=a;break P}a=31;if(d>>>0<=16777215){a=W(d>>>8|0);a=((d>>>38-a&1)-(a<<1)|0)+62|0}N[f+28>>2]=a;N[f+16>>2]=0;N[f+20>>2]=0;c=(a<<2)+589572|0;R:{b=1<>2]=f;N[f+24>>2]=c;break S}a=d<<((a|0)!=31?25-(a>>>1|0)|0:0);g=N[c>>2];while(1){b=g;if((N[b+4>>2]&-8)==(d|0)){break R}c=a>>>29|0;a=a<<1;c=b+(c&4)|0;g=N[c+16>>2];if(g){continue}break}N[c+16>>2]=f;N[f+24>>2]=b}N[f+12>>2]=f;N[f+8>>2]=f;break P}a=N[b+8>>2];N[a+12>>2]=f;N[b+8>>2]=f;N[f+24>>2]=0;N[f+12>>2]=b;N[f+8>>2]=a}a=e+8|0;break a}T:{if(!h){break T}b=N[c+28>>2];a=(b<<2)+589572|0;U:{if(N[a>>2]==(c|0)){N[a>>2]=e;if(e){break U}m=589272,n=ZE(-2,b)&k,N[m>>2]=n;break T}N[h+(N[h+16>>2]==(c|0)?16:20)>>2]=e;if(!e){break T}}N[e+24>>2]=h;a=N[c+16>>2];if(a){N[e+16>>2]=a;N[a+24>>2]=e}a=N[c+20>>2];if(!a){break T}N[e+20>>2]=a;N[a+24>>2]=e}V:{if(d>>>0<=15){a=d+g|0;N[c+4>>2]=a|3;a=a+c|0;N[a+4>>2]=N[a+4>>2]|1;break V}N[c+4>>2]=g|3;e=c+g|0;N[e+4>>2]=d|1;N[d+e>>2]=d;if(i){b=(i&-8)+589308|0;f=N[147322];a=1<<(i>>>3);W:{if(!(a&j)){N[147317]=a|j;a=b;break W}a=N[b+8>>2]}N[b+8>>2]=f;N[a+12>>2]=f;N[f+12>>2]=b;N[f+8>>2]=a}N[147322]=e;N[147319]=d}a=c+8|0}La=l+16|0;return a|0}function jB(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;p=La-80|0;La=p;N[p+12>>2]=0;c=6;a:{if(!a|!b){break a}c=97;b:{if(N[b+8>>2]!=8){break b}c=6;f=N[b+4>>2];if(!f){break b}q=N[b>>2];if(!q){break b}u=N[a>>2];if(!u){c=32;break b}c:{if(N[b+48>>2]-33>>>0<4294967265){break c}c=0;d=N[q>>2];j=N[q+4>>2];a=j<<4;if((d|a)<0){c=6;break a}if(!(!a|!d)){c=10;if((2147483647/(a>>>0)|0)<(d|0)){break a}c=Qa[N[u+4>>2]](u,T(a,d))|0;if(!c){c=64;break a}j=N[q+4>>2];d=N[q>>2]}N[p+20>>2]=d;N[p+16>>2]=j;N[p+12>>2]=c;a=N[b+12>>2];N[p+32>>2]=N[b+8>>2];N[p+36>>2]=a;a=N[b+20>>2];N[p+40>>2]=N[b+16>>2];N[p+44>>2]=a;a=N[b+28>>2];N[p+48>>2]=N[b+24>>2];N[p+52>>2]=a;a=N[b+36>>2];N[p+56>>2]=N[b+32>>2];N[p+60>>2]=a;c=N[b+44>>2];a=p- -64|0;N[a>>2]=N[b+40>>2];N[a+4>>2]=c;a=N[b+52>>2];N[p+72>>2]=N[b+48>>2];N[p+76>>2]=a;a=N[b+4>>2];N[p+24>>2]=N[b>>2];N[p+28>>2]=a;a=f;b=6;k=p+12|0;d:{if(!k){break d}f=N[k+4>>2];e=N[a+4>>2];if((f|0)<(e|0)){break d}h=N[k+8>>2];n=N[a>>2];if((h|0)<(n|0)){break d}c=O[a+18|0];if(!c){break d}o=(h-n|0)/2|0;m=(f-e|0)/2|0;l=N[a+12>>2];d=N[k>>2];b=7;e:{switch(c-1|0){case 1:b=0;if((h|0)<=0|(f|0)<=0){break d}r=f&-4;i=f&3;c=0;while(1){a=T(c,f);j=c-o|0;f:{if(!((j|0)>=(n|0)|(j|0)<0)){s=n+(j^-1)|0;while(1){t=d+(a+b<<4)|0;g=t;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;g=b-m|0;if(!((g|0)<0|(e|0)<=(g|0))){L[t+12|0]=O[l+(g+T(e,O[k+65|0]?s:j)|0)|0]}b=b+1|0;if((f|0)!=(b|0)){continue}break}break f}j=0;if(f>>>0>=4){while(1){g=d+(a+b<<4)|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;g=d+(a+(b|1)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;g=d+(a+(b|2)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;g=d+(a+(b|3)<<4)|0;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;b=b+4|0;if((r|0)!=(b|0)){continue}break}}if(!i){break f}while(1){g=d+(a+b<<4)|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;b=b+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}b=0;c=c+1|0;if((h|0)!=(c|0)){continue}break};break d;case 0:break e;default:break d}}b=0;if((h|0)<=0|(f|0)<=0){break d}s=f&-4;r=f&3;while(1){c=T(f,g);j=g-o|0;g:{if(!((j|0)>=(n|0)|(j|0)<0)){t=n+(j^-1)|0;while(1){v=d+(b+c<<4)|0;i=v;N[i>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;i=b-m|0;if(!((i|0)<0|(e|0)<=(i|0))){L[v+12|0]=O[l+(T(N[a+8>>2],O[k+65|0]?t:j)+(i>>>3|0)|0)|0]>>>((i^-1)&7)&1?-1:0}b=b+1|0;if((f|0)!=(b|0)){continue}break}break g}j=0;if(f>>>0>=4){while(1){i=d+(b+c<<4)|0;N[i>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;i=d+(c+(b|1)<<4)|0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;i=d+(c+(b|2)<<4)|0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;i=d+(c+(b|3)<<4)|0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;b=b+4|0;if((s|0)!=(b|0)){continue}break}}if(!r){break g}while(1){i=d+(b+c<<4)|0;N[i>>2]=0;N[i+4>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;b=b+1|0;j=j+1|0;if((r|0)!=(j|0)){continue}break}}b=0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}c=b;if(c){break c}a=La-16|0;La=a;f=6;g=p+12|0;h:{if(!g){break h}k=N[g>>2];if(!k){break h}j=N[g+8>>2];if((j|0)>0){f=0;c=N[g+4>>2];if((c|0)<=0){break h}t=k+28|0;v=k-4|0;b=k;while(1){if((c|0)<=0){f=f+1|0}else{n=f+1|0;x=!f;j=0;while(1){i:{j:{e=T(c,f)+j<<4;h=e+b|0;d=O[h+12|0];if(!d){break j}i=N[g+8>>2];k:{l:{m:{n:{if((d|0)!=255){break n}d=0;o=(f|0)>(i|0);if(!(o|x)){d=1;if(!O[(h-(c<<4)|0)+12|0]){break n}}m=(i|0)<=(n|0);if(!m){if(!O[(h+(c<<4)|0)+12|0]){break n}d=d+1|0}if(!(!j|(f|0)>=(i|0))){if(!O[h-4|0]){break m}d=d+1|0}l=(j+1|0)>=(c|0);if(!(l|(f|0)>=(i|0))){if(!O[h+28|0]){break n}d=d+1|0}if(!(!j|(!f|o))){if(!O[(h-(c<<4)|0)-4|0]){break m}d=d+1|0}if(!(l|(!f|o))){if(!O[(h-(c<<4)|0)+28|0]){break n}d=d+1|0}if(!(m|!j)){if(!O[(h+(c<<4)|0)-4|0]){break m}d=d+1|0}if(!O[(h+(c<<4)|0)+28|0]|(m|l)){break n}if((d|0)==7){break j}}d=e+k|0;b=d+4|0;if(j){break l}h=0;o=0;break k}d=e+k|0;b=d+4|0}h=0;o=0;if(!f){break k}m=c-1|0;if((m|0)<=(j|0)|(i-1|0)<=(f|0)){break k}h=e+k|0;o=O[(h+(m<<4)|0)+12|0];l=O[(h+(1-c<<4)|0)+12|0];i=c<<4;m=h-i|0;r=h+i|0;w=O[r+28|0];s=O[(h+((c^-1)<<4)|0)+12|0]<<8;i=O[e+t|0];c=O[e+v|0];o:{if(c>>>0<=30){c=T(c,23726336)+32768>>>16|0;break o}c=(c<<8)+(T(c,6949120)+32768>>>16|0)|0}e=O[m+12|0];m=o<<8;l=l<<8;s=0-s|0;o=O[r+12|0];r=O[h+12|0];w=w<<8;N[a+8>>2]=w+((l+s-(c+m)|0)+(i>>>0<=30?T(i,23726336)+32768>>>16|0:(i<<8)+(T(i,6949120)+32768>>>16|0)|0)|0);c=e>>>0<=30?T(e,23726336)+32768>>>16|0:(e<<8)+(T(e,6949120)+32768>>>16|0)|0;e=r<<8;N[a+12>>2]=((w+(m+(s-l|0)|0)|0)-c|0)+(o>>>0<=30?T(o,23726336)+32768>>>16|0:(o<<8)+(T(o,6949120)+32768>>>16|0)|0);_b(a+8|0);i=N[a+8>>2];o=N[a+12>>2];c=32768-e|0;p:{if(!(o?i:0)){break p}c=i>>31;m=(c^i)-c|0;c=o>>31;l=(c^o)-c|0;c=m>>>0>>0?m:l;h=m>>>0>l>>>0?m:l;s=(fb(c,h)|0)/2|0;if((s|0)>(e|0)){l=m+l>>>1|0;c=c+r>>>0<=8190?T(c,e)+32768>>>16|0:T(e,c>>>16|0)+(T(e,c&65535)+32768>>>16|0)|0;e=c;c=c>>31;c=(e^c)-c|0;q:{if(h+(c>>>8|0)>>>0<=8190){c=T(c,h)+32768>>>16|0;break q}e=h&65535;c=T(e,c>>>16|0)+T(c,h>>>16|0)+(T(e,c&65535)+32768>>>16)|0}c=l-bp(c<<1)|0;break p}if((e|0)<(65536-s|0)){e=32768-e|0;c=e>>31;c=(c^e)-c|0;r:{if(c+(h>>>8|0)>>>0<=8190){c=T(c,h)+32768>>>16|0;break r}c=c&65280;c=T(c,h>>>16|0)+(T(c,h&65535)+32768>>>16|0)|0}c=r>>>0>128?0-c|0:c;break p}m=m+l>>>1|0;e=65536-e|0;s:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break s}l=c&65535;c=T(l,e>>>16|0)+T(e,c>>>16|0)+(T(l,e&65280)+32768>>>16)|0}e=c>>31;e=(c^e)-e|0;t:{if(h+(e>>>8|0)>>>0<=8190){h=T(e,h)+32768>>>16|0;break t}l=h&65535;h=T(l,e>>>16|0)+T(e,h>>>16|0)+(T(l,e&65535)+32768>>>16)|0}c=bp(((c|0)<0?0-h|0:h)<<1)-m|0}h=c>>31;h=(c^h)-h|0;m=h>>>8|0;e=i>>31;e=(e^i)-e|0;u:{if(m+e>>>0<=8190){l=T(e,h)+32768>>>16|0;break u}l=e&65535;l=T(l,h>>>16|0)+T(h,e>>>16|0)+(T(l,h&65535)+32768>>>16)|0}e=l;r=0-e|0;e=i>>31|1;s=0-e|0;i=e;e=(c|0)<0;N[a+8>>2]=((e?s:i)|0)<0?r:l;c=o>>31;c=(c^o)-c|0;v:{if(c+m>>>0<=8190){h=T(c,h)+32768>>>16|0;break v}i=c&65535;h=T(i,h>>>16|0)+T(h,c>>>16|0)+(T(i,h&65535)+32768>>>16)|0}c=h;i=0-c|0;c=o>>31|1;N[a+12>>2]=((e?0-c|0:c)|0)<0?i:h;h=N[a+8>>2];o=N[a+12>>2]}N[b>>2]=h;N[b+4>>2]=o;y=d,z=Wb(b),N[y>>2]=z;b=N[g>>2];c=N[g+4>>2];break i}d=e+k|0;N[d>>2]=26214400;N[d+4>>2]=13107200;N[d+8>>2]=13107200}j=j+1|0;if((j|0)<(c|0)){continue}break}j=N[g+8>>2];f=n}if((f|0)<(j|0)){continue}break}}f=0}La=a+16|0;c=f;if(c){break c}f=La-16|0;La=f;a=6;k=p+12|0;w:{if(!k){break w}j=N[k>>2];if(!j){break w}a=0;i=N[k+8>>2];if((i|0)<2){break w}h=N[k+4>>2];if((h|0)<2){break w}c=h-2|0;o=0-h|0;n=1;while(1){e=T(h,n);b=1;while(1){d=j+(b+e<<4)|0;a=d+(o<<4)|0;g=N[d>>2];x:{if((N[a-16>>2]-65536|0)>=(g|0)){break x}m=a-12|0;l=N[m>>2];m=N[m+4>>2];N[f+8>>2]=l-65536;N[f+12>>2]=m-65536;t=g;g=Wb(f+8|0);if((t|0)<=(g|0)){break x}N[d>>2]=g;g=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=g}g=N[d>>2];y:{if((g|0)<=(N[a>>2]-65536|0)){break y}l=N[a+8>>2];N[f+8>>2]=N[a+4>>2];N[f+12>>2]=l-65536;t=g;g=Wb(f+8|0);if((t|0)<=(g|0)){break y}N[d>>2]=g;g=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=g}g=N[d>>2];z:{if((g|0)<=(N[a+16>>2]-65536|0)){break z}m=N[a+20>>2];a=N[a+24>>2];N[f+8>>2]=m+65536;N[f+12>>2]=a-65536;a=Wb(f+8|0);if((a|0)>=(g|0)){break z}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}g=N[d>>2];A:{if((g|0)<=(N[d-16>>2]-65536|0)){break A}m=d-12|0;a=N[m>>2];N[f+12>>2]=N[m+4>>2];N[f+8>>2]=a-65536;a=Wb(f+8|0);if((a|0)>=(g|0)){break A}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}b=b+1|0;if((h|0)!=(b|0)){continue}break}a=c;while(1){b=a;d=j+(a+e<<4)|0;g=N[d>>2];B:{if((g|0)<=(N[d+16>>2]-65536|0)){break B}a=N[d+20>>2];N[f+12>>2]=N[d+24>>2];N[f+8>>2]=a+65536;a=Wb(f+8|0);if((a|0)>=(g|0)){break B}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}a=b-1|0;if((b|0)>0){continue}break}n=n+1|0;if((i|0)!=(n|0)){continue}break}a=0;b=N[k+8>>2];if((b|0)<2){break w}h=N[k+4>>2];if((h|0)<2){break w}n=N[k>>2];c=h-2|0;k=b-2|0;while(1){j=T(h,k);b=1;while(1){d=n+(b+j<<4)|0;a=d+(h<<4)|0;e=N[d>>2];C:{if((N[a-16>>2]-65536|0)>=(e|0)){break C}g=a-12|0;i=N[g>>2];g=N[g+4>>2];N[f+8>>2]=i-65536;N[f+12>>2]=g+65536;g=e;e=Wb(f+8|0);if((g|0)<=(e|0)){break C}N[d>>2]=e;e=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=e}e=N[d>>2];D:{if((e|0)<=(N[a>>2]-65536|0)){break D}i=N[a+8>>2];N[f+8>>2]=N[a+4>>2];N[f+12>>2]=i+65536;g=e;e=Wb(f+8|0);if((g|0)<=(e|0)){break D}N[d>>2]=e;e=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=e}e=N[d>>2];E:{if((e|0)<=(N[a+16>>2]-65536|0)){break E}g=N[a+20>>2];a=N[a+24>>2];N[f+8>>2]=g+65536;N[f+12>>2]=a+65536;a=Wb(f+8|0);if((a|0)>=(e|0)){break E}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}e=N[d>>2];F:{if((e|0)<=(N[d-16>>2]-65536|0)){break F}g=d-12|0;a=N[g>>2];N[f+12>>2]=N[g+4>>2];N[f+8>>2]=a-65536;a=Wb(f+8|0);if((a|0)>=(e|0)){break F}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}b=b+1|0;if((h|0)!=(b|0)){continue}break}a=c;while(1){b=a;d=n+(a+j<<4)|0;e=N[d>>2];G:{if((e|0)<=(N[d+16>>2]-65536|0)){break G}a=N[d+20>>2];N[f+12>>2]=N[d+24>>2];N[f+8>>2]=a+65536;a=Wb(f+8|0);if((a|0)>=(e|0)){break G}N[d>>2]=a;a=N[f+12>>2];N[d+4>>2]=N[f+8>>2];N[d+8>>2]=a}a=b-1|0;if((b|0)>0){continue}break}a=0;b=(k|0)>0;k=k-1|0;if(b){continue}break}}La=f+16|0;c=a;if(c){break c}a=6;b=p+12|0;H:{if(!b){break H}f=N[q+4>>2];if((f|0)!=N[b+4>>2]){break H}h=N[q>>2];if((h|0)!=N[b+8>>2]){break H}if((h|0)>0){a=0;if((f|0)<=0){break H}j=N[q+12>>2];c=N[b+60>>2]<<16;while(1){e=T(a,f);d=0;while(1){q=d+e|0;k=N[b>>2]+(q<<4)|0;n=O[k+12|0]<127;k=N[k>>2];k=fb(T(O[b+64|0]?n?1:-1:n?-1:1,(k|0)<0?c:(c|0)<(k|0)?c:k),c);n=k>>31;g=j+q|0;n=(k^n)-n|0;q=n>>>9|0;n=(k|0)>0?n>>>0>65535?127:q:q;q=n&255;k=(k|0)<0;n=k?n>>>0>128?128:q:q;L[g|0]=(k?0-n|0:n)^128;d=d+1|0;if((f|0)!=(d|0)){continue}break}a=a+1|0;if((h|0)!=(a|0)){continue}break}}a=0}c=a}d=u}a=N[p+12>>2];if(!a){break a}Qa[N[d+8>>2]](d,a)}La=p+80|0;return c|0}function Zj(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0;f=La-288|0;La=f;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}h=Vb(a+144|0);break b}h=mc(a+148|0)}g=N[h>>2];g=g?g:275552;g=Q[g+16>>2]<4?275552:N[g+12>>2]}N[f+20>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;L[f+52|0]=0;L[f+16|0]=1;N[f+12>>2]=0;N[f+4>>2]=1;N[f+8>>2]=1;c:{d:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break c}a=Vb(a+144|0);break d}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}N[f+80>>2]=0;N[f+84>>2]=0;L[f+76|0]=1;N[f+72>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;L[f+112|0]=0;N[f+136>>2]=0;N[f+140>>2]=0;L[f+132|0]=1;N[f+128>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;N[f+152>>2]=0;N[f+156>>2]=0;N[f+160>>2]=0;N[f+164>>2]=0;L[f+168|0]=0;N[f+64>>2]=1;N[f+68>>2]=1;N[f+56>>2]=h;N[f+120>>2]=1;N[f+124>>2]=1;N[f+60>>2]=f+4;L[f+184|0]=1;N[f+180>>2]=0;N[f+188>>2]=0;N[f+192>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;N[f+204>>2]=0;N[f+208>>2]=0;N[f+212>>2]=0;N[f+216>>2]=0;L[f+220|0]=0;N[f+172>>2]=1;N[f+176>>2]=1;N[f+232>>2]=0;N[f+224>>2]=0;N[f+228>>2]=0;e:{if(!d){L[f+116|0]=0;break e}L[f+116|0]=1;N[f+252>>2]=0;N[f+256>>2]=0;N[f+260>>2]=0;N[f+264>>2]=0;N[f+268>>2]=0;N[f+272>>2]=0;N[f+276>>2]=0;N[f+280>>2]=0;L[f+284|0]=0;L[f+248|0]=1;N[f+244>>2]=0;N[f+236>>2]=1;N[f+240>>2]=1;b=N[d>>2];if(b){while(1){tc(f+236|0,b);b=N[d+4>>2];d=d+4|0;if(b){continue}break}}m=f- -64|0;a=0;while(1){f:{b=N[f+56>>2];g:{if((O[b|0]|O[b+1|0]<<8)!=256){break g}d=O[b+6|0]|O[b+7|0]<<8;if(!d){break g}b=b+((d<<8|d>>>8)&65535)|0;d=O[b|0]|O[b+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0>a>>>0){break f}}a=N[f+244>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;h=N[a+12>>2]+T(d,12)|0;b=N[h+8>>2];h=N[h+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](h);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a)}_a(N[f+268>>2]);_a(N[f+280>>2]);break e}d=O[b|0]|O[b+1|0]<<8;b=((d<<8|d>>>8)&65535)>>>0<=a>>>0?275552:(b+T(a,6)|0)+2|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);i=k>>>9|0;o=N[f+268>>2];h:{i:{j:{b=N[f+256>>2];j=N[f+264>>2];if(b>>>0>=j>>>0){break j}b=o+(b<<3)|0;if((i|0)!=N[b>>2]){break j}d=b+4|0;break i}b=0;if((j|0)<=0){break h}d=j-1|0;b=0;k:{while(1){h=b+d>>>1|0;l=o+(h<<3)|0;n=N[l>>2];l:{if((n|0)>(i|0)){d=h-1|0;break l}if((i|0)==(n|0)){break k}b=h+1|0}if((b|0)<=(d|0)){continue}break}b=0;break h}N[f+256>>2]=h;d=(h>>>0>=j>>>0?275552:l)+4|0}h=N[f+280>>2];b=0;if(!h){break h}b=(h+(N[d>>2]<<6)|0)+(k>>>3&56)|0;i=N[b>>2];h=N[b+4>>2];d=k&63;b=d&31;b=((d&63)>>>0>=32?h>>>b|0:((1<>>b)&1}if((b|0)!=O[f+284|0]){tc(m,a)}a=a+1|0;continue}}m:{if(c){a=N[c>>2];if(!a){break m}while(1){h=c;d=275552;c=N[f+56>>2];k=(O[c|0]|O[c+1|0]<<8)!=256;n:{if(k){break n}b=O[c+4|0]|O[c+5|0]<<8;if(!b){break n}d=c+((b<<8|b>>>8)&65535)|0}b=O[d|0]|O[d+1|0]<<8;o:{if(!b){break o}o=d+2|0;b=((b<<8|b>>>8)&65535)-1|0;j=0;while(1){p:{d=b+j>>>1|0;m=T(d,6);i=m+o|0;i=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);i=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);q:{if(i>>>0>a>>>0){b=d-1|0;break q}if((a|0)==(i|0)){break p}j=d+1|0}if((b|0)>=(j|0)){continue}break o}break}l=f+56|0;a=275552;r:{if(k){break r}b=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!b){break r}a=c+((b<<8|b>>>8)&65535)|0}b=O[a|0]|O[a+1|0]<<8;if(d>>>0<((b<<8|b>>>8)&65535)>>>0){b=(a+m|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}ak(l,a)}c=h+4|0;a=N[h+4>>2];if(a){continue}break}break m}d=275552;a=N[f+56>>2];s:{if((O[a|0]|O[a+1|0]<<8)!=256){break s}b=O[a+4|0]|O[a+5|0]<<8;if(!b){break s}d=a+((b<<8|b>>>8)&65535)|0}a=O[d|0]|O[d+1|0]<<8;if(!a){break m}a=(a<<8|a>>>8)&65535;h=a>>>0<=1?1:a;b=0;while(1){l=f+56|0;c=N[f+56>>2];a=275552;t:{if((O[c|0]|O[c+1|0]<<8)!=256){break t}d=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!d){break t}a=c+((d<<8|d>>>8)&65535)|0}c=O[a|0]|O[a+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>b>>>0){c=(a+T(b,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(c){a=a+((c<<8|c>>>8)&65535)|0}else{a=275552}ak(l,a);b=b+1|0;if((h|0)!=(b|0)){continue}break}}N[f+172>>2]=-57005;a=N[f+180>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+180>>2]=0}if(N[f+200>>2]){N[f+200>>2]=0}_a(N[f+204>>2]);N[f+204>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;if(N[f+212>>2]){N[f+212>>2]=0}_a(N[f+216>>2]);N[f+216>>2]=0;N[f+208>>2]=0;N[f+212>>2]=0;if(N[f+200>>2]){N[f+200>>2]=0}_a(N[f+204>>2]);N[f+204>>2]=0;N[f+196>>2]=0;N[f+200>>2]=0;N[f+120>>2]=-57005;a=N[f+128>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+128>>2]=0}if(N[f+148>>2]){N[f+148>>2]=0}_a(N[f+152>>2]);N[f+152>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;if(N[f+160>>2]){N[f+160>>2]=0}_a(N[f+164>>2]);N[f+164>>2]=0;N[f+156>>2]=0;N[f+160>>2]=0;if(N[f+148>>2]){N[f+148>>2]=0}_a(N[f+152>>2]);N[f+152>>2]=0;N[f+144>>2]=0;N[f+148>>2]=0;N[f+64>>2]=-57005;a=N[f+72>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+72>>2]=0}if(N[f+92>>2]){N[f+92>>2]=0}_a(N[f+96>>2]);N[f+96>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;if(N[f+104>>2]){N[f+104>>2]=0}_a(N[f+108>>2]);N[f+108>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;if(N[f+92>>2]){N[f+92>>2]=0}_a(N[f+96>>2]);N[f+56>>2]=-1;o=e+12|0;u:while(1){if(!Te(f+4|0,f+56|0)){k=275552;v:{if((O[g|0]|O[g+1|0]<<8)!=256){break v}a=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0<65537){break v}a=O[g+10|0]|O[g+11|0]<<8|(O[g+12|0]<<16|O[g+13|0]<<24);if(!a){break v}k=g+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0}a=O[k+4|0]|O[k+5|0]<<8|(O[k+6|0]<<16|O[k+7|0]<<24);if(a){m=k+8|0;w=m+((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))<<3)|0;while(1){l=275552;a=O[m+4|0]|O[m+5|0]<<8|(O[m+6|0]<<16|O[m+7|0]<<24);if(a){l=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+k|0}a=O[l+4|0]|O[l+5|0]<<8;w:{if(!a){break w}i=l+6|0;a=(a<<8|a>>>8)&65535;n=N[f+32>>2];h=n-1|0;c=N[f+24>>2];v=O[f+52|0];r=N[f+48>>2];p=N[f+36>>2];while(1){b=O[i|0]|O[i+1|0]<<8;s=(b<<8|b>>>8)&65535;q=s>>>9|0;x:{y:{z:{if(c>>>0>=n>>>0){break z}b=p+(c<<3)|0;if((q|0)!=N[b>>2]){break z}b=b+4|0;break y}j=0;b=0;d=h;if((n|0)<=0){break x}while(1){A:{g=b+d>>>1|0;t=p+(g<<3)|0;u=N[t>>2];B:{if((u|0)>(q|0)){d=g-1|0;break B}if((q|0)==(u|0)){break A}b=g+1|0}if((b|0)<=(d|0)){continue}break x}break}N[f+24>>2]=g;c=g;b=(n>>>0<=c>>>0?275552:t)+4|0}if(!r){j=0;break x}b=(r+(N[b>>2]<<6)|0)+(s>>>3&56)|0;j=N[b>>2];g=N[b+4>>2];d=s&63;b=d&31;j=((d&63)>>>0>=32?g>>>b|0:((1<>>b)&1}if((j|0)==(v|0)){i=i+6|0;a=a-1|0;if(a){continue}break w}break}if(!a){break w}while(1){b=O[i+2|0]|O[i+3|0]<<8|(O[i+4|0]<<16|O[i+5|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+l|0}else{b=275552}c=O[b+2|0]|O[b+3|0]<<8;j=(c<<8|c>>>8)&65535;b=b+4|0;C:{if(O[e+48|0]){Ug(o,b,j);break C}if(!c|!O[o|0]){break C}N[e+16>>2]=-1;c=O[b|0]|O[b+1|0]<<8;d=(c<<8|c>>>8)&65535;D:while(1){h=wc(o,d);if(!h){break C}n=d&65024;q=n+512|0;while(1){c=h+(d>>>3&56)|0;r=N[c+4>>2];g=d&63;d=g&31;if((g&63)>>>0>=32){g=1<>>32-d}N[c>>2]=p|N[c>>2];N[c+4>>2]=g|r;j=j-1|0;if(!j){break C}c=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;d=(c<<8|c>>>8)&65535;if(n>>>0>d>>>0){continue D}if(d>>>0>>0){continue}break}continue}}n=N[f+32>>2];h=n-1|0;c=N[f+24>>2];v=O[f+52|0];r=N[f+48>>2];p=N[f+36>>2];while(1){b=a;d=(b|0)!=0;a=b-d|0;i=T(d,6)+i|0;if((b|0)!=(d|0)){b=O[i|0]|O[i+1|0]<<8;s=(b<<8|b>>>8)&65535;q=s>>>9|0;E:{F:{G:{if(c>>>0>=n>>>0){break G}b=p+(c<<3)|0;if((q|0)!=N[b>>2]){break G}b=b+4|0;break F}j=0;b=0;d=h;if((n|0)<=0){break E}while(1){H:{g=b+d>>>1|0;t=p+(g<<3)|0;u=N[t>>2];I:{if((u|0)>(q|0)){d=g-1|0;break I}if((q|0)==(u|0)){break H}b=g+1|0}if((b|0)<=(d|0)){continue}break E}break}N[f+24>>2]=g;c=g;b=(n>>>0<=c>>>0?275552:t)+4|0}if(!r){j=0;break E}b=(r+(N[b>>2]<<6)|0)+(s>>>3&56)|0;j=N[b>>2];g=N[b+4>>2];d=s&63;b=d&31;j=((d&63)>>>0>=32?g>>>b|0:((1<>>b)&1}if((j|0)==(v|0)){continue}}break}if(a){continue}break}}m=m+8|0;if((w|0)!=(m|0)){continue}break}}N[f+4>>2]=-57005;a=N[f+12>>2];if(a){d=N[a+8>>2];if(d){while(1){d=d-1|0;c=N[a+12>>2]+T(d,12)|0;b=N[c+8>>2];c=N[c+4>>2];N[a+8>>2]=d;if(b){Qa[b|0](c);d=N[a+8>>2]}if(d){continue}break}}_a(N[a+12>>2]);_a(a);N[f+12>>2]=0}if(N[f+32>>2]){N[f+32>>2]=0}_a(N[f+36>>2]);N[f+36>>2]=0;N[f+28>>2]=0;N[f+32>>2]=0;if(N[f+44>>2]){N[f+44>>2]=0}_a(N[f+48>>2]);N[f+48>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;if(N[f+32>>2]){N[f+32>>2]=0}_a(N[f+36>>2]);La=f+288|0;return}a=275552;J:{if((O[g|0]|O[g+1|0]<<8)!=256){break J}b=O[g+6|0]|O[g+7|0]<<8;a=275552;if(!b){break J}a=g+((b<<8|b>>>8)&65535)|0}b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;b=N[f+56>>2];if(c>>>0>b>>>0){b=(a+T(b,6)|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}c=O[a+2|0]|O[a+3|0]<<8;j=(c<<8|c>>>8)&65535;b=a+4|0;if(O[e+48|0]){Ug(o,b,j);continue}if(!c|!O[o|0]){continue}N[e+16>>2]=-1;a=O[b|0]|O[b+1|0]<<8;d=(a<<8|a>>>8)&65535;K:while(1){h=wc(o,d);if(!h){continue u}i=d&65024;k=i+512|0;while(1){a=h+(d>>>3&56)|0;m=N[a+4>>2];d=d&63;c=d&31;if((d&63)>>>0>=32){d=1<>>32-c}N[a>>2]=l|N[a>>2];N[a+4>>2]=d|m;j=j-1|0;if(!j){continue u}a=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;d=(a<<8|a>>>8)&65535;if(i>>>0>d>>>0){continue K}if(d>>>0>>0){continue}break}continue}}}function nu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0;i=La-48|0;La=i;p=N[b+100>>2];d=N[a+20>>2];a:{if(d){h=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;N[i+32>>2]=0;N[i+36>>2]=8;N[i+24>>2]=1;N[i+28>>2]=1;h=64;j=Qa[N[p+4>>2]](p,64)|0;if(!j){N[i+40>>2]=64;break a}d=j;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d+32|0]=0;L[d+33|0]=0;L[d+34|0]=0;L[d+35|0]=0;L[d+36|0]=0;L[d+37|0]=0;L[d+38|0]=0;L[d+39|0]=0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+56|0]=0;L[d+57|0]=0;L[d+58|0]=0;L[d+59|0]=0;L[d+60|0]=0;L[d+61|0]=0;L[d+62|0]=0;L[d+63|0]=0;L[d+48|0]=0;L[d+49|0]=0;L[d+50|0]=0;L[d+51|0]=0;L[d+52|0]=0;L[d+53|0]=0;L[d+54|0]=0;L[d+55|0]=0;L[d+40|0]=0;L[d+41|0]=0;L[d+42|0]=0;L[d+43|0]=0;L[d+44|0]=0;L[d+45|0]=0;L[d+46|0]=0;L[d+47|0]=0;L[d+24|0]=0;L[d+25|0]=0;L[d+26|0]=0;L[d+27|0]=0;L[d+28|0]=0;L[d+29|0]=0;L[d+30|0]=0;L[d+31|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;M[d+12>>1]=32767;N[d+36>>2]=i+24;e=N[a+4>>2];N[d+56>>2]=p;N[d+60>>2]=e;N[d+40>>2]=0;N[d+44>>2]=0;N[d+48>>2]=0;N[d+52>>2]=p;e=1024;s=N[a+28>>2];g=Qa[N[s+4>>2]](s,1024)|0;h=!g<<6;b:{if(!g){break b}N[i+12>>2]=169;L[g|0]=0;q=256;r=1;c:{d:while(1){l=e;k=0;e=0;while(1){if(!(k&1)){n=0;k=N[a+4>>2];d=N[a+8>>2];if(k>>>0>d>>>0){f=l-o|0;n=g+o|0;m=N[a+20>>2];e:{if(m){n=Qa[m|0](a,d,n,f)|0;break e}m=n;t=d+N[a>>2]|0;d=k-d|0;n=d>>>0>>0?d:f;F(m,t,n)}N[a+8>>2]=N[a+8>>2]+n}f=n+o|0;o=0}f:{g:{if((e|0)>=(f|0)){d=e}else{d=L[e+g|0]==(q|0);q=d?256:q;d=d+e|0}e=d;if((f|0)>(d|0)){while(1){h:{m=e+g|0;k=O[m|0];switch(k-10|0){case 0:case 3:break g;default:break h}}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(!n){break f}if(!d){if(l>>>0>65535){h=6;break f}e=l<<1;d=Qa[N[s+12>>2]](s,l,e,g)|0;g=d?d:g;h=0;o=l;if(d){continue d}h=64;break f}n=f-d|0;F(g,d+g|0,n);k=0;e=0;o=n;f=d;continue}L[m|0]=0;i:{j:{q=d+g|0;switch(O[q|0]-26|0){case 0:case 9:break i;default:break j}}if((d|0)>=(e|0)){break i}h=0;t=e-d|0;d=Qa[N[i+12>>2]](q,t,r,i+12|0,j)|0;if((d|0)==-1){d=Qa[N[i+12>>2]](q,t,r,i+12|0,j)|0}if(!d){break i}h=d;break c}L[m|0]=k;q=(k|0)==10?13:(k|0)==13?10:256;k=1;e=e+1|0;r=r+1|0;continue}break}break}if(!g){break b}}Qa[N[s+8>>2]](s,g)}N[i+44>>2]=h;e=N[j+32>>2];k:{l:{if(h){break l}m:{n:{o:{p:{q:{if(e){if(N[e+28>>2]!=8){M[e+32>>1]=P[e+4>>1]}r:{if(!N[N[j+36>>2]>>2]|!(N[e+52>>2]|N[e+64>>2])){break r}a=M[j+12>>1];d=M[j+16>>1]-a|0;if((d|0)!=P[e+4>>1]){M[e+4>>1]=d}if(P[e+8>>1]!=(a&65535)){M[e+8>>1]=a}d=P[j+18>>1];if((d|0)!=P[e+12>>1]){M[e+12>>1]=d}a=P[j+20>>1];f=a<<16>>16;if((a|0)!=P[e+14>>1]){M[e+14>>1]=a;M[e+10>>1]=0-a}a=f+(d<<16>>16)|0;if((a|0)==P[e+6>>1]){break r}M[e+6>>1]=a}f=N[j>>2];if(f&1){break q}a=N[e+88>>2];if(a){break p}h=0;break k}f=N[j>>2];if(!(f&1)){break o}}if(f&32){break n}h=185;break m}a=lb(N[e+100>>2],1,a,a+1|0,N[e+84>>2],i+44|0);e=N[j+32>>2];N[e+84>>2]=a;h=N[i+44>>2];if(h){break l}h=0;L[a+N[e+88>>2]|0]=0;e=N[j+32>>2];break k}h=3;N[i+44>>2]=3;e=0;break k}h=186}N[i+44>>2]=h}dm(e);a=N[j+32>>2];if(a){Qa[N[p+8>>2]](p,a)}e=0;N[j+32>>2]=0}a=N[j+52>>2];if(a){d=N[j+40>>2];if(d){Qa[N[a+8>>2]](a,d)}N[j+40>>2]=0;N[j+44>>2]=0;N[j+48>>2]=0;N[j+52>>2]=0}a=N[j+24>>2];if(a){Qa[N[p+8>>2]](p,a)}N[j+24>>2]=0;Qa[N[p+8>>2]](p,j);N[i+40>>2]=h;s:{t:{u:{v:{w:{x:{y:{z:{A:{if((h&255)!=176){if(h){break a}N[b+140>>2]=e;if(!(!(c&65535)|(c|0)<=0)){yh(b);h=6;break a}N[b>>2]=1;N[b+4>>2]=0;N[b+8>>2]=N[b+8>>2]|18;B:{C:{if(!e|!N[e+72>>2]){break C}a=Ad(19980,N[e+92>>2]);D:{if(!a){break D}c=N[e+80>>2];if(!c){break D}a=c+(N[a>>2]<<4)|0;if(N[a+4>>2]!=1){break D}a=N[a+12>>2];if(!a){break D}E:{F:{a=O[a|0];switch(a-67|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break D;case 0:case 10:break E;default:break F}}switch(a-99|0){case 0:case 10:break E;default:break D}}N[b+8>>2]=N[b+8>>2]|4}if(!N[e+72>>2]){break C}a=Ad(20231,N[e+92>>2]);if(!a){break C}c=N[e+80>>2];if(!c){break C}a=N[(c+(N[a>>2]<<4)|0)+12>>2];if(!a){break C}u=b,v=Nc(p,a,i+40|0),N[u+20>>2]=v;h=N[i+40>>2];if(!h){break B}break a}N[b+20>>2]=0}j=0;N[b+12>>2]=0;g=N[b+100>>2];h=1;f=N[b+140>>2];if(!f|!N[f+72>>2]){break v}a=0;o=0;c=Ad(19332,N[f+92>>2]);G:{if(!c){break G}d=N[f+80>>2];if(!d){break G}c=d+(N[c>>2]<<4)|0;if(N[c+4>>2]!=1){break G}d=N[c+12>>2];if(!d){break G}H:{switch(O[d|0]-73|0){case 0:case 6:case 32:case 38:break H;default:break G}}N[b+12>>2]=N[b+12>>2]|1;o=(O[N[c+12>>2]]&223)==79?15457:17754}if(!N[f+72>>2]){d=0;l=0;q=0;n=0;f=0;k=1;break w}q=0;k=1;c=Ad(20260,N[f+92>>2]);l=0;I:{if(!c){break I}d=N[f+80>>2];l=0;if(!d){break I}c=d+(N[c>>2]<<4)|0;l=0;if(N[c+4>>2]!=1){break I}c=N[c+12>>2];l=0;if(!c){break I}l=0;if((O[c|0]|32)!=98){break I}N[b+12>>2]=N[b+12>>2]|2;k=0;l=16733}if(!N[f+72>>2]){break z}d=0;c=Ad(20282,N[f+92>>2]);a=0;J:{if(!c){break J}h=N[f+80>>2];a=0;if(!h){break J}c=h+(N[c>>2]<<4)|0;a=0;if(N[c+4>>2]!=1){break J}c=N[c+12>>2];a=0;if(!c){break J}h=O[c|0];a=0;if(!h){break J}a=0;if((h|0)==78){break J}a=0;if((h|0)==110){break J}a=c}q=a;if(!N[f+72>>2]){break y}a=Ad(20296,N[f+92>>2]);if(!a){break z}c=N[f+80>>2];if(!c){break z}a=c+(N[a>>2]<<4)|0;if(N[a+4>>2]!=1){break y}d=N[a+12>>2];if(!d){break z}a=0;c=O[d|0];if(!c|(c|0)==78|(c|0)==110){break A}a=nb(d);f=a+1|0;break x}yh(b);h=2;break a}d=0;f=0;break x}d=0}a=0;f=0}if(k){l=0;n=0;k=1;break w}n=nb(l);f=(n+f|0)+1|0;k=0}r=0;if(o){j=nb(o);f=(j+f|0)+1|0}c=!o;h=!q;if(q){r=nb(q);f=(r+f|0)+1|0}if(!f){f=8;a=7;d=12199;break u}if((f|0)>0){break u}h=6;break t}f=8;a=7;d=12199;k=1;l=0;o=0;q=0;n=0;c=1;r=0}f=Qa[N[g+4>>2]](g,f)|0;if(f){break s}h=64}N[b+24>>2]=0;break a}N[b+24>>2]=f;if(d){F(f,d,a);K:{if(!a){break K}d=0;g=0;if(a>>>0>=4){s=a&-4;while(1){m=f+g|0;if(O[m|0]==32){L[m|0]=45}m=(g|1)+f|0;if(O[m|0]==32){L[m|0]=45}m=(g|2)+f|0;if(O[m|0]==32){L[m|0]=45}m=(g|3)+f|0;if(O[m|0]==32){L[m|0]=45}g=g+4|0;if((s|0)!=(g|0)){continue}break}}s=a&3;if(!s){break K}while(1){m=f+g|0;if(O[m|0]==32){L[m|0]=45}g=g+1|0;d=d+1|0;if((s|0)!=(d|0)){continue}break}}f=a+f|0}if(!k){if(N[b+24>>2]!=(f|0)){L[f|0]=32;f=f+1|0}F(f,l,n);f=f+n|0}if(!c){if(N[b+24>>2]!=(f|0)){L[f|0]=32;f=f+1|0}F(f,o,j);f=f+j|0}if(!h){if(N[b+24>>2]!=(f|0)){L[f|0]=32;f=f+1|0}F(f,q,r);L:{if(!r){break L}d=0;g=0;if(r>>>0>=4){a=r&-4;while(1){c=f+g|0;if(O[c|0]==32){L[c|0]=45}c=(g|1)+f|0;if(O[c|0]==32){L[c|0]=45}c=(g|2)+f|0;if(O[c|0]==32){L[c|0]=45}c=(g|3)+f|0;if(O[c|0]==32){L[c|0]=45}g=g+4|0;if((a|0)!=(g|0)){continue}break}}a=r&3;if(!a){break L}while(1){c=f+g|0;if(O[c|0]==32){L[c|0]=45}g=g+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}f=f+r|0}L[f|0]=0;a=N[e+48>>2];N[b+28>>2]=1;N[b+16>>2]=a+1;a=Qa[N[p+4>>2]](p,16)|0;if(a){L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[i+40>>2]=0;N[b+32>>2]=a;g=N[e+40>>2];if(g-32768>>>0<4294901761){g=(g|0)<0?-32767:32767;N[e+40>>2]=g}d=N[e+44>>2];if(d-32768>>>0<=4294901760){d=(d|0)<0?-32767:32767;N[e+44>>2]=d}M[a>>1]=d+g;d=Nd(e,19895);M:{if(d){d=N[d+12>>2];c=32767;if(d-327666>>>0<4294311965){break M}d=(d+5|0)/10|0;c=d>>31;c=(c^d)-c|0;break M}c=jb(M[a>>1],2,3)}M[a+2>>1]=c;d=Nd(e,20048);N:{if(d){d=N[d+12>>2];c=32767;if(d-328899>>>0<4294309499){break N}c=d>>31;c=jb((c^d)-c|0,460800,72270);break N}c=N[e+16>>2];if(c){c=c>>>0>32767?32767:c<<6;break N}c=M[a+2>>1]<<6}N[a+4>>2]=c;c=Nd(e,20082);if(c){c=N[c+12>>2];d=c>>31;N[a+12>>2]=c-32768>>>0<4294901761?2097088:(c^d)-d<<6}d=Nd(e,18765);d=N[(d?d+12|0:e+20|0)>>2];c=0;O:{if(!d){break O}c=32767;if(d-32768>>>0<4294901761){break O}c=d>>31;c=(c^d)-c|0}P:{Q:{R:{S:{d=Nd(e,18633);d=N[(d?d+12|0:e+24|0)>>2];if(d){if(d-32768>>>0<4294901761){break S}f=d;d=d>>31;k=(f^d)-d|0;g=N[a+12>>2];if(g){break Q}g=N[a+4>>2];N[a+12>>2]=g;if(!(k&65535)){break P}d=a+12|0;break R}g=N[a+12>>2];if(g){break P}g=N[a+4>>2];N[a+12>>2]=g;break P}k=32767;g=N[a+12>>2];if(g){break Q}g=N[a+4>>2];N[a+12>>2]=g;d=a+12|0}g=jb(g,k&65535,72);N[d>>2]=g}if(!c){break P}d=k&65535;if(!d){break P}g=jb(g,c,d)}N[a+8>>2]=g;a=N[e+56>>2];c=lb(p,8,0,N[e+48>>2],0,i+40|0);N[b+144>>2]=c;h=N[i+40>>2];if(h){break a}N[b+148>>2]=0;d=N[e+48>>2];T:{if(!d){break T}h=N[e+36>>2];f=0;if((d|0)!=1){l=d&1;n=d&-2;while(1){d=N[(a+T(f,36)|0)+4>>2];o=c+(f<<3)|0;M[o+4>>1]=f;N[o>>2]=d;if((d|0)==(h|0)){N[b+148>>2]=f}d=f|1;o=N[(a+T(d,36)|0)+4>>2];j=c+(d<<3)|0;M[j+4>>1]=d;N[j>>2]=o;if((h|0)==(o|0)){N[b+148>>2]=d}f=f+2|0;if((n|0)!=(f|0)){continue}break}if(!l){break T}}a=N[(a+T(f,36)|0)+4>>2];c=c+(f<<3)|0;M[c+4>>1]=f;N[c>>2]=a;if((a|0)!=(h|0)){break T}N[b+148>>2]=f}U:{a=Nd(e,18649);c=Nd(e,19963);if(!a|!c|(N[a+4>>2]!=1|N[c+4>>2]!=1)){break U}if(!N[a+12>>2]){break U}c=N[c+12>>2];if(!c){break U}u=b,v=Nc(p,c,i+40|0),N[u+132>>2]=v;h=N[i+40>>2];if(h){break a}a=Nc(p,N[a+12>>2],i+40|0);N[b+136>>2]=a;h=N[i+40>>2];if(h){break a}V:{W:{X:{Y:{if(!((O[a|0]|32)!=105|(O[a+1|0]|32)!=115|(O[a+2|0]|32)!=111)){a=a+3|0;if(!cb(a,21540)){break Y}if(!cb(a,21356)){if(!cb(N[b+132>>2],21900)){break Y}}if(!cb(a,21737)){break X}}N[i+16>>2]=0;N[i+20>>2]=0;N[i+12>>2]=b;break V}N[i+16>>2]=0;N[i+20>>2]=0;N[i+12>>2]=b;break W}a=cb(N[b+132>>2],19136);N[i+16>>2]=0;N[i+20>>2]=0;N[i+12>>2]=b;if(a){break V}}N[i+16>>2]=1970170211;N[i+20>>2]=65539}h=Bc(43664,0,i+12|0,0);break a}N[i+16>>2]=1094995778;N[i+20>>2]=7;N[i+12>>2]=b;h=Bc(43664,0,i+12|0,0);if(!N[b+36>>2]){break a}N[b+92>>2]=N[N[b+40>>2]>>2];break a}h=64;N[i+40>>2]=64;N[b+32>>2]=0}La=i+48|0;return h|0}function jE(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=284;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];j:{k:{l:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break k}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break l}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break j}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=285;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];v:{w:{x:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break w}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break x}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break v}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break A}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break C}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break B}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break G}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];H:{I:{J:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break I}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break J}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break H}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;K:{L:{M:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break L}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break M}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break K}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break P}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break S}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];T:{U:{V:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break U}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break V}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break T}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Dc(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;o=La-32|0;La=o;f=a+144|0;if(Q[Vb(f)+4>>2]<=b>>>0){c=0}else{N[o+24>>2]=d;N[o+20>>2]=c;N[o+16>>2]=a;c=0;N[o+12>>2]=0;L[o+28|0]=(e|0)!=0;d=275552;a=N[Vb(f)>>2];a=a?a:275552;e=Q[a+16>>2]<4?275552:N[a+12>>2];a:{if((O[e|0]|O[e+1|0]<<8)!=256){break a}a=275552;h=O[e+8|0]|O[e+9|0]<<8;if(h){a=e+((h<<8|h>>>8)&65535)|0}e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<=b>>>0){break a}e=(b<<1)+a|0;e=O[e+2|0]|O[e+3|0]<<8;if(!e){break a}d=((e<<8|e>>>8)&65535)+a|0}a=Vb(f);b:{if(!N[o+24>>2]){break b}a=N[a+8>>2]+T(b,28)|0;b=N[N[o+20>>2]>>2];if(!(N[a>>2]>>>(b>>>4)&1)|!(N[a+4>>2]>>>b&1)|!(N[a+8>>2]>>>(b>>>9)&1)){break b}a=O[d+4|0]|O[d+5|0]<<8;if(!a){break b}b=O[d|0]|O[d+1|0]<<8;x=(b<<8|b>>>8)&65535;t=d+4|0;u=(a<<8|a>>>8)&65535;y=u>>>0<=1?1:u;b=0;c=1;while(1){a=O[t|0]|O[t+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+t|0)+2|0;a=O[a|0]|O[a+1|0]<<8;if(a){e=((a<<8|a>>>8)&65535)+d|0}else{e=275552}j=o+12|0;a=x;p=La-32|0;La=p;c:{d:{while(1){e:{if((a|0)!=7){g=0;f:{switch(a-1|0){case 0:g:{h:{i:{a=O[e|0]|O[e+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break h;case 0:break i;default:break c}}if(N[j+12>>2]!=1){break c}f=O[e+2|0]|O[e+3|0]<<8;a=275552;if(!f){break g}a=((f<<8|f>>>8)&65535)+e|0;break g}if(N[j+12>>2]!=1){break c}f=O[e+2|0]|O[e+3|0]<<8;a=275552;if(!f){break g}a=((f<<8|f>>>8)&65535)+e|0}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 1:if((O[e|0]|O[e+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 2:if((O[e|0]|O[e+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c;case 3:if((O[e|0]|O[e+1|0]<<8)!=256){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);if((a|0)==-1){break c}k=275552;h=((a<<1)+e|0)+6|0;f=a;a=O[e+4|0]|O[e+5|0]<<8;a=f>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:h;a=O[a|0]|O[a+1|0]<<8;if(a){k=((a<<8|a>>>8)&65535)+e|0}a=O[k|0]|O[k+1|0]<<8;if(!a){break c}l=(a<<8|a>>>8)&65535;e=k+2|0;while(1){j:{f=N[j+12>>2];a=O[e|0]|O[e+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+k|0}else{a=275552}h=O[a+2|0]|O[a+3|0]<<8;if((f|0)!=((h<<8|h>>>8)&65535)){break j}i=1;if(f>>>0<2){g=1;break c}while(1){f=O[a+2|0]|O[a+3|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=i>>>0?275552:(a+(i<<1)|0)+2|0;f=O[f|0]|O[f+1|0]<<8;if(N[N[j+8>>2]+(i<<2)>>2]!=((f<<8|f>>>8)&65535)){break j}g=1;i=i+1|0;if(i>>>0>2]){continue}break}break c}e=e+2|0;l=l-1|0;if(l){continue}break};g=0;break c;case 4:k:{l:{a=O[e|0]|O[e+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break d;case 1:break k;case 0:break l;default:break c}}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);f=O[e+4|0]|O[e+5|0]<<8;a=a>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((a<<1)+e|0)+6|0;a=O[a|0]|O[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}e=O[a|0]|O[a+1|0]<<8;if(!e){break c}l=(e<<8|e>>>8)&65535;i=a+2|0;f=N[j+12>>2];while(1){e=O[i|0]|O[i+1|0]<<8;if(e){h=a+((e<<8|e>>>8)&65535)|0}else{h=275552}e=O[h|0]|O[h+1|0]<<8;e=(e<<8|e>>>8)&65535;m:{if((e|0)!=(f|0)){break m}if(e>>>0<2){g=1;break c}g=1;e=1;m=N[j+8>>2];k=h+4|0;h=O[k|0]|O[k+1|0]<<8;if(N[m+4>>2]!=((h<<8|h>>>8)&65535)){break m}while(1){h=e+1|0;if((h|0)==(f|0)){break c}n=e<<1;e=h;h=k+n|0;h=O[h|0]|O[h+1|0]<<8;if(N[m+(e<<2)>>2]==((h<<8|h>>>8)&65535)){continue}break}if(e>>>0>=f>>>0){break c}}i=i+2|0;l=l-1|0;if(l){continue}break}g=0;break c}h=N[N[j+8>>2]>>2];a=0;n:{o:{p:{q:{f=O[e+4|0]|O[e+5|0]<<8;if(f){f=((f<<8|f>>>8)&65535)+e|0}else{f=275552}g=O[f|0]|O[f+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break n}}a=h;h=O[f+2|0]|O[f+3|0]<<8;h=a-((h<<8|h>>>8)&65535)|0;g=O[f+4|0]|O[f+5|0]<<8;a=275552;if(h>>>0>=((g<<8|g>>>8)&65535)>>>0){break o}a=(f+(h<<1)|0)+6|0;break o}k=241305;a=O[f+2|0]|O[f+3|0]<<8;r:{if(!a){break r}m=f+4|0;a=((a<<8|a>>>8)&65535)-1|0;g=0;while(1){i=a+g>>>1|0;l=m+T(i,6)|0;n=O[l|0]|O[l+1|0]<<8;s:{if(h>>>0>=((n<<8|n>>>8)&65535)>>>0){g=O[l+2|0]|O[l+3|0]<<8;if(h>>>0>((g<<8|g>>>8)&65535)>>>0){g=i+1|0;break s}k=m+T(i,6)|0;break r}a=i-1|0}if((a|0)>=(g|0)){continue}break}}a=k+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}i=275552;g=((a<<1)+e|0)+8|0;h=a;a=O[e+6|0]|O[e+7|0]<<8;a=h>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:g;a=O[a|0]|O[a+1|0]<<8;if(a){i=((a<<8|a>>>8)&65535)+e|0}a=O[i|0]|O[i+1|0]<<8;if(!a){g=0;break c}q=(a<<8|a>>>8)&65535;s=f+4|0;l=i+2|0;while(1){a=O[l|0]|O[l+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+i|0}else{a=275552}e=O[a|0]|O[a+1|0]<<8;m=(e<<8|e>>>8)&65535;t:{if((m|0)!=N[j+12>>2]){break t}if(m>>>0<2){g=1;break c}v=a+4|0;a=O[v|0]|O[v+1|0]<<8;n=(a<<8|a>>>8)&65535;h=N[N[j+8>>2]+4>>2];a=0;u:{v:{w:{x:{e=O[f|0]|O[f+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break w;case 0:break x;default:break u}}e=O[f+4|0]|O[f+5|0]<<8;g=(e<<8|e>>>8)&65535;e=O[f+2|0]|O[f+3|0]<<8;e=h-((e<<8|e>>>8)&65535)|0;a=275552;if(g>>>0<=e>>>0){break v}a=(f+(e<<1)|0)+6|0;break v}e=O[f+2|0]|O[f+3|0]<<8;y:{if(e){e=((e<<8|e>>>8)&65535)-1|0;while(1){k=a+e>>>1|0;g=s+T(k,6)|0;r=O[g|0]|O[g+1|0]<<8;z:{if(h>>>0>=((r<<8|r>>>8)&65535)>>>0){a=O[g+2|0]|O[g+3|0]<<8;if(h>>>0<=((a<<8|a>>>8)&65535)>>>0){break y}a=k+1|0;break z}e=k-1|0}if((a|0)<=(e|0)){continue}break}}g=241305}a=g+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}g=1;e=1;if((a|0)!=(n|0)){break t}while(1){h=e+1|0;if((h|0)==(m|0)){break c}a=(e<<1)+v|0;a=O[a|0]|O[a+1|0]<<8;z=(a<<8|a>>>8)&65535;n=N[N[j+8>>2]+(h<<2)>>2];a=0;A:{B:{C:{D:{e=O[f|0]|O[f+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break C;case 0:break D;default:break A}}e=O[f+4|0]|O[f+5|0]<<8;k=(e<<8|e>>>8)&65535;e=O[f+2|0]|O[f+3|0]<<8;e=n-((e<<8|e>>>8)&65535)|0;a=275552;if(k>>>0<=e>>>0){break B}a=(f+(e<<1)|0)+6|0;break B}e=O[f+2|0]|O[f+3|0]<<8;E:{if(e){e=((e<<8|e>>>8)&65535)-1|0;while(1){r=a+e>>>1|0;k=s+T(r,6)|0;w=O[k|0]|O[k+1|0]<<8;F:{if(n>>>0>=((w<<8|w>>>8)&65535)>>>0){a=O[k+2|0]|O[k+3|0]<<8;if(n>>>0<=((a<<8|a>>>8)&65535)>>>0){break E}a=r+1|0;break F}e=r-1|0}if((a|0)<=(e|0)){continue}break}}k=241305}a=k+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}e=h;if((a|0)==(z|0)){continue}break}if(e>>>0>=m>>>0){break c}}l=l+2|0;q=q-1|0;if(q){continue}break};g=0;break c;case 5:break e;case 7:break f;default:break c}}if((O[e|0]|O[e+1|0]<<8)!=256|N[j+12>>2]!=1){break c}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=(vb(a,N[N[j+8>>2]>>2])|0)!=-1;break c}g=0;if((O[e|0]|O[e+1|0]<<8)!=256){break c}a=O[e+2|0]|O[e+3|0]<<8;a=(a<<8|a>>>8)&65535;f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if(f){e=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+e|0}else{e=275552}continue}break}G:{H:{I:{a=O[e|0]|O[e+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break G;case 1:break H;case 0:break I;default:break c}}a=O[e+2|0]|O[e+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}a=vb(a,N[N[j+8>>2]>>2]);f=O[e+4|0]|O[e+5|0]<<8;a=a>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((a<<1)+e|0)+6|0;a=O[a|0]|O[a+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+e|0}else{a=275552}g=Oj(a,j,238152);break c}i=275552;k=275552;a=O[e+4|0]|O[e+5|0]<<8;if(a){k=((a<<8|a>>>8)&65535)+e|0}a=O[e+6|0]|O[e+7|0]<<8;if(a){i=((a<<8|a>>>8)&65535)+e|0}a=O[e+8|0]|O[e+9|0]<<8;if(a){f=((a<<8|a>>>8)&65535)+e|0}else{f=275552}h=N[N[j+8>>2]>>2];a=0;J:{K:{L:{M:{g=O[i|0]|O[i+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 1:break L;case 0:break M;default:break J}}a=h;h=O[i+2|0]|O[i+3|0]<<8;h=a-((h<<8|h>>>8)&65535)|0;g=O[i+4|0]|O[i+5|0]<<8;a=275552;if(h>>>0>=((g<<8|g>>>8)&65535)>>>0){break K}a=((h<<1)+i|0)+6|0;break K}l=241305;a=O[i+2|0]|O[i+3|0]<<8;N:{if(!a){break N}q=i+4|0;a=((a<<8|a>>>8)&65535)-1|0;g=0;while(1){m=a+g>>>1|0;n=q+T(m,6)|0;s=O[n|0]|O[n+1|0]<<8;O:{if(h>>>0>=((s<<8|s>>>8)&65535)>>>0){g=O[n+2|0]|O[n+3|0]<<8;if(h>>>0>((g<<8|g>>>8)&65535)>>>0){g=m+1|0;break O}l=q+T(m,6)|0;break N}a=m-1|0}if((a|0)>=(g|0)){continue}break}}a=l+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}g=275552;l=((a<<1)+e|0)+12|0;h=a;a=O[e+10|0]|O[e+11|0]<<8;a=h>>>0>=((a<<8|a>>>8)&65535)>>>0?275552:l;a=O[a|0]|O[a+1|0]<<8;if(a){g=((a<<8|a>>>8)&65535)+e|0}N[p+28>>2]=f;N[p+24>>2]=i;N[p+20>>2]=k;N[p+16>>2]=249;N[p+12>>2]=249;N[p+8>>2]=249;g=Oj(g,j,p+8|0);break c}a=O[e+2|0]|O[e+3|0]<<8;i=(e+2|0)+(((a<<8|a>>>8)&65535)<<1)|0;f=i+2|0;h=O[f|0]|O[f+1|0]<<8;k=h<<8|h>>>8;h=k&65535;f=(h<<1)+f|0;if(!(!(O[f+2|0]|O[f+3|0]<<8|a)|!O[j+16|0])){break c}if((h|0)!=N[j+12>>2]){break c}g=1;if((k&65535)>>>0<2){break c}g=0;i=i+6|0;a=O[i|0]|O[i+1|0]<<8;j=N[j+8>>2];if((vb(a?((a<<8|a>>>8)&65535)+e|0:275552,N[j+4>>2])|0)==-1){break c}a=1;while(1){f=a+1|0;if((f|0)==(h|0)){g=1;break c}a=i+(a<<1)|0;a=O[a|0]|O[a+1|0]<<8;g=a?((a<<8|a>>>8)&65535)+e|0:275552;a=f;if((vb(g,N[j+(a<<2)>>2])|0)!=-1){continue}break}g=a>>>0>=h>>>0;break c}a=O[e+2|0]|O[e+3|0]<<8;a=a<<8|a>>>8;h=a&65535;if((h|0)!=N[j+12>>2]){break c}g=1;if((a&65535)>>>0<2){break c}g=0;a=O[e+8|0]|O[e+9|0]<<8;j=N[j+8>>2];if((vb(a?((a<<8|a>>>8)&65535)+e|0:275552,N[j+4>>2])|0)==-1){break c}g=e+8|0;a=1;while(1){f=a+1|0;if((f|0)==(h|0)){g=1;break c}a=g+(a<<1)|0;a=O[a|0]|O[a+1|0]<<8;i=a?((a<<8|a>>>8)&65535)+e|0:275552;a=f;if((vb(i,N[j+(a<<2)>>2])|0)!=-1){continue}break}g=a>>>0>=h>>>0}La=p+32|0;if(g){break b}b=b+1|0;c=u>>>0>b>>>0;if((b|0)!=(y|0)){continue}break}}}La=o+32|0;return c}function gp(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;n=La-144|0;La=n;a:{b:{c:{while(1){d:{N[a+84>>2]=0;M[a+78>>1]=0;N[a+40>>2]=0;N[a+44>>2]=0;e=N[a+24>>2];N[a+36>>2]=e;N[a+80>>2]=e;d=N[a+4>>2];N[a+72>>2]=T(d,c);N[a+68>>2]=T(d,s);j=N[a+28>>2]-32|0;N[a+32>>2]=j;N[e+8>>2]=e;M[a+76>>1]=0;e:{f:{g:{h:{i:{if(M[a+120>>1]<=0){break i}d=N[a+8>>2];h=N[a+132>>2];g=0;q=0;j:{while(1){N[a+88>>2]=0;N[a+92>>2]=0;f=N[a+12>>2];j=N[a+124>>2];i=g&65535;e=j+(i<<3)|0;g=T(f,N[e+4>>2])-d|0;k=T(f,N[e>>2])-d|0;u=q<<1;m=P[u+h>>1];l=j+(m<<3)|0;j=T(f,N[l+4>>2])-d|0;f=T(f,N[l>>2])-d|0;k:{if(!b){p=k;k=g;h=f;f=j;break k}p=g;h=j}j=N[a+128>>2];g=j+i|0;d=O[g|0];if(d&4){L[a+48|0]=d>>>5;d=O[g|0]}l:{switch(d&3){case 0:m:{if((O[j+m|0]&3)==1){l=l-8|0;break m}f=(f+k|0)/2|0;h=(h+p|0)/2|0}p=h;k=f;g=g-1|0;e=e-8|0;break;case 2:break d;default:break l}}N[a+64>>2]=k;N[a+60>>2]=p;n:{if(e>>>0>>0){while(1){f=g+1|0;d=e+8|0;o:{p:{q:{r:{switch(O[g+1|0]&3){case 1:j=N[e+8>>2];h=e;g=f;e=d;d=N[a+12>>2];f=T(d,N[h+12>>2]);h=N[a+8>>2];f=f-h|0;d=T(d,j)-h|0;if(fp(a,b?f:d,b?d:f)){break g}break o;case 0:g=N[a+12>>2];j=N[a+8>>2];h=T(g,N[e+8>>2])-j|0;j=T(g,N[e+12>>2])-j|0;if(b){break q}while(1){if(d>>>0>=l>>>0){d=h;h=j;break p}g=f+1|0;e=d+8|0;m=N[a+12>>2];o=N[a+8>>2];i=T(m,N[d+8>>2])-o|0;m=T(m,N[d+12>>2])-o|0;d=O[f+1|0]&3;if(d){if((d|0)!=1){break d}if(!nf(a,h,j,i,m)){break o}break g}o=nf(a,h,j,(h+i|0)/2|0,(j+m|0)/2|0);f=g;d=e;h=i;j=m;if(!o){continue}break};break g;default:break r}}if((O[g+2|0]&3)!=2|e+16>>>0>l>>>0){break d}o=N[a+12>>2];r=N[a+8>>2];h=T(o,N[e+16>>2])-r|0;j=T(o,N[e+8>>2])-r|0;d=T(o,N[e+20>>2])-r|0;f=T(o,N[e+12>>2])-r|0;s:{if(!b){i=j;j=f;m=h;h=d;break s}i=f;m=d}d=e+24|0;if(d>>>0<=l>>>0){f=h;h=T(o,N[e+28>>2])-r|0;e=T(o,N[e+24>>2])-r|0;if(ep(a,i,j,m,f,b?h:e,b?e:h)){break g}g=g+3|0;e=d;break o}if(ep(a,i,j,m,h,p,k)){break g}break n}while(1){if(d>>>0>=l>>>0){d=j;break p}g=f+1|0;e=d+8|0;m=N[a+12>>2];o=N[a+8>>2];i=T(m,N[d+8>>2])-o|0;m=T(m,N[d+12>>2])-o|0;d=O[f+1|0]&3;if(!d){o=nf(a,j,h,(j+m|0)/2|0,(h+i|0)/2|0);f=g;d=e;j=m;h=i;if(o){break g}continue}break}if((d|0)!=1){break d}if(!nf(a,j,h,m,i)){break o}break g}if(!nf(a,d,h,p,k)){break n}break g}if(e>>>0>>0){continue}break}}if(fp(a,p,k)){break g}}h=N[a+132>>2];i=P[u+h>>1];k=N[a+4>>2];m=k-1|0;e=N[a+64>>2];l=m&e;t:{if(l|(e|0)>2]|(e|0)>N[a+72>>2]){break t}d=N[a+88>>2];if(!d|(P[N[a+80>>2]+12>>1]^P[d+12>>1])&8){break t}N[a+36>>2]=N[a+36>>2]-4}u:{v:{w:{g=N[a+36>>2];f=N[a+80>>2];d=N[f+8>>2];p=(g|0)==(d|0);if(O[f+12|0]&8?p:1){j=g-d|0;if((j|0)>=0){break w}break c}j=g-d|0;if((j|0)<0){break c}d=N[a+8>>2];e=(l|0)>=(d|0);break v}d=N[a+8>>2];if(p){e=g;break u}e=((e+m&0-k)-e|0)>=(d|0)}N[f+16>>2]=j>>>2;if(e){e=P[f+12>>1];M[f+12>>1]=(e&8?16:32)|e}N[a+80>>2]=g;e=g+32|0;N[a+36>>2]=e;N[g+8>>2]=e;N[g+16>>2]=0;N[f+28>>2]=g;M[a+76>>1]=P[a+76>>1]+1}j=N[a+32>>2];if(j>>>0<=e>>>0){break j}L[a+79|0]=0;g=N[a+88>>2];if(g){N[f+28>>2]=g}g=i+1|0;q=q+1|0;if((q|0)>1]){continue}break}p=P[a+76>>1];if(p>>>0<2){break i}d=N[a+84>>2];if(!d){break i}m=N[a+44>>2];q=N[a+28>>2];while(1){x:{if((p&65535)>>>0<=1){f=N[d+16>>2];j=0;break x}f=N[d+16>>2];j=N[d+8>>2]+(f<<2)|0}N[d+4>>2]=j;h=N[d+20>>2];y:{if(O[d+12|0]&8){e=h;h=(f+e|0)-1|0;break y}e=(h-f|0)+1|0;N[d+20>>2]=e;N[d+8>>2]=(N[d+8>>2]+(f<<2)|0)-4}g=0;o=0-m|0;k=q-(m<<2)|0;l=(m>>31^-1)&m;d=m;z:{A:{while(1){f=d;i=g;if((g|0)==(l|0)){g=e;break A}g=i+1|0;d=f-1|0;r=N[k+(d<<2)>>2];if((r|0)>(e|0)){continue}break}if((e|0)<=(r|0)){i=m;break z}l=0;i=m-i&3;if(i){while(1){o=k+(d<<2)|0;g=N[o>>2];N[o>>2]=e;d=d-1|0;e=g;l=l+1|0;if((i|0)!=(l|0)){continue}break}}if(f>>>0<4){break A}while(1){g=k+(d<<2)|0;f=g-4|0;i=N[f>>2];f=N[f+4>>2];N[g>>2]=e;e=g-8|0;g=N[e>>2];N[e>>2]=i;N[e+4>>2]=f;f=d-3|0;i=k+(f<<2)|0;e=N[i>>2];N[i>>2]=g;d=d-4|0;g=e;if(f){continue}break}}d=N[a+32>>2]-4|0;N[a+32>>2]=d;if(d>>>0<=Q[a+36>>2]){break j}i=m+1|0;N[a+44>>2]=i;o=m^-1;N[q+(o<<2)>>2]=g}e=h+1|0;m=q+(o<<2)|0;l=(i>>31^-1)&i;g=0;d=i;B:{C:{while(1){f=d;k=g;if((g|0)==(l|0)){g=e;break C}g=k+1|0;d=f-1|0;o=N[m+(d<<2)>>2];if((o|0)>(e|0)){continue}break}if((h|0)<(o|0)){m=i;break B}l=0;h=i-k&3;if(h){while(1){k=m+(d<<2)|0;g=N[k>>2];N[k>>2]=e;d=d-1|0;e=g;l=l+1|0;if((h|0)!=(l|0)){continue}break}}if(f>>>0<4){break C}while(1){h=m+(d<<2)|0;g=h-4|0;f=N[g>>2];g=N[g+4>>2];N[h>>2]=e;e=h-8|0;h=N[e>>2];N[e>>2]=f;N[e+4>>2]=g;f=d-3|0;g=m+(f<<2)|0;e=N[g>>2];N[g>>2]=h;d=d-4|0;g=e;if(f){continue}break}}d=N[a+32>>2]-4|0;N[a+32>>2]=d;if(d>>>0<=Q[a+36>>2]){break j}m=i+1|0;N[a+44>>2]=m;N[q+((i^-1)<<2)>>2]=g}d=j;p=p-1|0;if(p&65535){continue}break}j=N[a+32>>2];e=N[a+36>>2];break h}N[a+40>>2]=98;break f}N[a+84>>2]=0}if(e>>>0>>0){break e}}d=N[a+40>>2];if((d|0)!=98){break a}}if((c|0)==(s|0)){d=98;break a}N[(t<<2)+n>>2]=s;t=t+1|0;s=(c+s>>1)+1|0;continue}f=N[a+84>>2];D:{if(!f){break D}N[n+140>>2]=0;N[n+136>>2]=0;N[n+132>>2]=0;c=N[a>>2];i=N[a+72>>2]>>c;o=N[a+68>>2]>>c;while(1){c=f;N[f>>2]=0;h=o<<16>>16;e=N[f+20>>2];f=(e+N[f+16>>2]|0)-1<<16>>16;j=(h|0)>(f|0);k=e<<16>>16>16;g=n+140|0;E:{F:{d=N[n+140>>2];if(!d){break F}if(N[d>>2]>0){break E}while(1){g=d+4|0;d=N[d+4>>2];if(!d){break F}if(N[d>>2]<=0){continue}break}break E}d=0}o=j?h:f;i=k?e:i;f=N[c+4>>2];N[c+4>>2]=d;N[g>>2]=c;if(f){continue}break}if(!N[a+44>>2]){break d}c=i<<16>>16;Qa[N[a+140>>2]](a,c,o);d=N[n+140>>2];if(d){while(1){N[d+24>>2]=N[d+20>>2]-c;d=N[d+4>>2];if(d){continue}break}}l=N[a+44>>2];G:{if((l|0)<=0){break G}d=0;H:{if((c|0)!=N[N[a+28>>2]-(l<<2)>>2]){j=i;break H}l=l-1|0;N[a+44>>2]=l;j=i;if(!l){break G}}while(1){e=N[n+140>>2];if(e){f=d<<16>>16;while(1){d=N[e+24>>2];N[e+24>>2]=d-f;c=N[e+4>>2];if((d|0)==(f|0)){d=N[n+140>>2];I:{if(!d){break I}if((d|0)==(e|0)){N[n+140>>2]=c;break I}while(1){h=d;d=N[d+4>>2];if(!d){break I}if((d|0)!=(e|0)){continue}break}N[h+4>>2]=c}h=N[e>>2];J:{K:{if(O[e+12|0]&8){g=n+136|0;d=N[n+136>>2];if(!d){break K}if((h|0)>2]){break J}while(1){g=d+4|0;d=N[d+4>>2];if(!d){break K}if((h|0)>=N[d>>2]){continue}break}break J}g=n+132|0;d=N[n+132>>2];if(!d){break K}if((h|0)>2]){break J}while(1){g=d+4|0;d=N[d+4>>2];if(!d){break K}if((h|0)>=N[d>>2]){continue}break}break J}d=0}N[e+4>>2]=d;N[g>>2]=e}e=c;if(e){continue}break}}e=N[n+136>>2];d=e;L:{if(!d){break L}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}d=N[e+4>>2];if(!d){break L}g=e+4|0;f=n+136|0;while(1){if(N[e>>2]<=N[d>>2]){f=g}else{N[f>>2]=d;N[g>>2]=N[d+4>>2];N[d+4>>2]=e;d=N[n+136>>2];f=n+136|0}e=d;g=d+4|0;d=N[d+4>>2];if(d){continue}break}}k=N[n+132>>2];d=k;M:{if(!d){k=0;break M}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}e=N[k+4>>2];if(!e){break M}g=k+4|0;f=n+132|0;d=k;while(1){N:{if(N[d>>2]<=N[e>>2]){f=g;d=e;break N}N[f>>2]=e;N[g>>2]=N[e+4>>2];N[e+4>>2]=d;f=n+132|0;k=N[n+132>>2];d=k}g=d+4|0;e=N[d+4>>2];if(e){continue}break}}N[a+44>>2]=l-1;u=N[N[a+28>>2]-(l<<2)>>2];v=u<<16>>16;O:{if((v|0)>j<<16>>16){q=k;l=k;i=j;while(1){f=N[n+136>>2];P:{if(!f){break P}p=0;d=f;h=l;if(!h){break P}while(1){Q:{R:{e=N[d>>2];g=N[h>>2];c=(e|0)>(g|0)?e:g;e=(e|0)<(g|0)?e:g;g=N[a+4>>2];if((c-e|0)>(g|0)){break R}r=0-g|0;m=r&e;if((m|0)==(e|0)){break R}r=r&(c+g|0)-1;if((r|0)==(c|0)|(r|0)!=(g+m|0)&(m|0)<=(r|0)){break R}if((P[d+12>>1]&7)==2){break Q}N[d>>2]=e;N[h>>2]=c;N[d+24>>2]=1;p=p+1|0;break Q}Qa[N[a+144>>2]](a,i<<16>>16,e,c,d,h)}d=N[d+4>>2];if(d){h=N[h+4>>2];if(h){continue}}break}d=f;if(p<<16>>16<=0){break P}while(1){if(N[d+24>>2]){N[d+24>>2]=0;Qa[N[a+148>>2]](a,i<<16>>16,N[d>>2],N[l>>2],d,l)}d=N[d+4>>2];if(!d){break P}l=N[l+4>>2];if(l){continue}break}}Qa[N[a+152>>2]](a);i=i+1|0;if((v|0)<=i<<16>>16){break O}d=f;S:{if(!d){break S}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}d=N[f+4>>2];if(!d){break S}e=f+4|0;g=n+136|0;while(1){if(!(N[f>>2]<=N[d>>2])){N[g>>2]=d;N[e>>2]=N[d+4>>2];N[d+4>>2]=f;d=N[n+136>>2];e=n+136|0}g=e;f=d;e=d+4|0;d=N[d+4>>2];if(d){continue}break}k=N[n+132>>2];q=k}h=q;q=0;l=0;d=h;if(!d){continue}while(1){c=N[d+8>>2];N[d>>2]=N[c>>2];N[d+16>>2]=N[d+16>>2]-1;N[d+8>>2]=c+(P[d+12>>1]&8?4:-4);d=N[d+4>>2];if(d){continue}break}g=h+4|0;f=n+132|0;q=h;l=h;d=h;e=N[d+4>>2];if(!e){continue}while(1){T:{if(N[d>>2]<=N[e>>2]){f=g;d=e;break T}N[f>>2]=e;N[g>>2]=N[e+4>>2];N[e+4>>2]=d;f=n+132|0;k=N[n+132>>2];h=k;d=h}g=d+4|0;e=N[d+4>>2];if(e){continue}break}q=h;l=h;continue}}f=N[n+136>>2];i=j}if(f){while(1){c=f;f=N[f+4>>2];U:{if(N[c+16>>2]){break U}d=N[n+136>>2];if(!d){break U}if((c|0)==(d|0)){N[n+136>>2]=f;break U}while(1){e=d;d=N[d+4>>2];if(!d){break U}if((c|0)!=(d|0)){continue}break}N[e+4>>2]=f}if(f){continue}break}}V:{if(!k){break V}while(1){c=k;k=N[c+4>>2];W:{if(N[c+16>>2]){break W}d=N[n+132>>2];if(!d){break W}if((c|0)==(d|0)){N[n+132>>2]=k;if(!k){break V}continue}while(1){e=d;d=N[d+4>>2];if(!d){break W}if((c|0)!=(d|0)){continue}break}N[e+4>>2]=k;if(!k){break V}continue}if(k){continue}break}}d=u-j|0;j=i;l=N[a+44>>2];if((l|0)>0){continue}break}}if(i<<16>>16>(o|0)){break D}while(1){Qa[N[a+152>>2]](a);i=i+1<<16>>16;if((o|0)>=(i|0)){continue}break}}if((t|0)<=0){d=0;break a}else{c=s-1|0;t=t-1|0;s=N[(t<<2)+n>>2];continue}}break}d=20;break b}d=99}N[a+40>>2]=d}La=n+144|0;return d}function uv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;i=La-32|0;La=i;d=N[a+20>>2];a:{if(d){f=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;f=rb(a,36672,b+132|0);if(f){break a}N[b+168>>2]=N[b+168>>2]+(N[b+204>>2]<<16);f=2;if(N[b+132>>2]!=1346785840|Q[b+136>>2]>4|(N[b+140>>2]!=3338|Q[b+144>>2]<58)){break a}e=N[b+152>>2];d=N[a+20>>2];b:{if(d){f=85;if(!(Qa[d|0](a,e,0,0)|0)){break b}break a}f=85;if(e>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=e;N[i+12>>2]=0;d=xb(a,i+12|0);f=N[i+12>>2];if(f){break a}f=8;if(d>>>0>13106){break a}j=N[a+4>>2];if(T(d,5)+2>>>0>=j-e>>>0|j>>>0<=T(d,23)+95>>>0){break a}f=0;N[i+24>>2]=0;N[b>>2]=d;if((c|0)<0){break a}f=6;o=c&65535;if(d>>>0<=o>>>0){break a}n=N[b+204>>2];c=N[b+152>>2];d=N[a+20>>2];c:{if(d){f=85;if(!(Qa[d|0](a,c,0,0)|0)){break c}break a}f=85;if(c>>>0>j>>>0){break a}}N[a+8>>2]=c;N[i+12>>2]=0;c=xb(a,i+12|0);f=N[i+12>>2];if(f){break a}f=6;if(c>>>0<=o>>>0){break a}f=Xc(a,T(o,5));N[i+12>>2]=f;if(f){break a}d=xb(a,i+12|0);f=N[i+12>>2];if(f){break a}e=0;f=La-16|0;La=f;N[i+12>>2]=0;j=a;d:{e:{f:{g:{c=N[a+4>>2];a=N[a+8>>2];if(c>>>0<=a+2>>>0){break g}c=N[j+20>>2];h:{if(c){if((Qa[c|0](j,a,f+13|0,3)|0)!=3){break g}a=N[j+8>>2];c=f+13|0;break h}c=N[j>>2];if(!c){break f}c=a+c|0}e=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);break e}N[i+12>>2]=85;break d}e=0}N[j+8>>2]=a+3}La=f+16|0;f=N[i+12>>2];if(f){break a}N[b+240>>2]=d;N[b+244>>2]=e;a=N[j+20>>2];i:{if(a){f=85;if(!(Qa[a|0](j,e,0,0)|0)){break i}break a}f=85;if(e>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=e;f=Bb(j,d);N[i+12>>2]=f;if(f){break a}j:{if(d>>>0<13){f=8;break j}a=N[j+32>>2];k=a+d|0;f=8;N[b+248>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);N[b+252>>2]=O[a+5|0]|(O[a+4|0]<<8|O[a+3|0]<<16);N[b+256>>2]=O[a+8|0]|(O[a+7|0]<<8|O[a+6|0]<<16);N[b+260>>2]=O[a+11|0]|(O[a+10|0]<<8|O[a+9|0]<<16);d=a+13|0;e=O[a+12|0];c=e&4;if(c){g=e&8?2:1;g=e&3?g:g+3|0}m=e&32;if(k>>>0>31&(m?2:1))|0)>>>0){break j}l=e&16;k:{if(!c){break k}g=O[d|0];l:{if(e&8){g=(O[a+14|0]|g<<8)<<16>>16;d=a+15|0;break l}d=a+14|0}N[b+268>>2]=g;if(e&3){break k}N[b+276>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);d=d+3|0}m:{if(!l){c=d;break m}g=O[d|0];n:{if(m){g=(O[d+1|0]|g<<8)<<16>>16;c=d+2|0;break n}c=d+1|0}N[b+272>>2]=g}o:{if(!(e&64)){d=c;break o}d=c+1|0;if(k>>>0>>0){break j}c=O[c|0];if(c){while(1){a=d+2|0;if(a>>>0>k>>>0){break j}d=a+O[d|0]|0;if(k>>>0>>0){break j}c=c-1|0;if(c){continue}break}}N[i+12>>2]=0}if(k>>>0>>0){break j}a=O[d+1|0]|O[d|0]<<8;N[b+280>>2]=a;N[b+284>>2]=O[d+4|0]|(O[d+3|0]<<8|O[d+2|0]<<16);if(n){if(k>>>0>>0){break j}N[b+280>>2]=a|O[d+5|0]<<16}f=0;h=1}if(N[j+20>>2]){a=N[j>>2];if(a){c=N[j+28>>2];Qa[N[c+8>>2]](c,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;N[i+24>>2]=f;if(!h){break a}c=N[b+280>>2];n=N[b+284>>2];m=N[j+28>>2];N[b+428>>2]=b+424;N[b+424>>2]=0;N[b+292>>2]=n;N[b+288>>2]=m;a=N[j+20>>2];p:{if(a){f=85;if(!(Qa[a|0](j,n,0,0)|0)){break p}break a}f=85;if(n>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=n;f=Bb(j,c);N[i+12>>2]=f;if(f){break a}a=N[j+32>>2];N[b+436>>2]=a;f=8;q:{if((c|0)<15){break q}N[b+296>>2]=O[a+1|0]|O[a|0]<<8;N[b+300>>2]=O[a+3|0]|O[a+2|0]<<8;N[b+304>>2]=O[a+5|0]|O[a+4|0]<<8;d=O[a+6|0]|O[a+7|0]<<8;N[b+308>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+8|0]|O[a+9|0]<<8;N[b+312>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+10|0]|O[a+11|0]<<8;N[b+316>>2]=(d<<8|d>>>8)<<16>>16;d=O[a+12|0]|O[a+13|0]<<8;N[b+320>>2]=(d<<8|d>>>8)<<16>>16;h=a+15|0;N[i+28>>2]=h;k=O[a+14|0];N[b+324>>2]=k;p=k&4;if(!p){if(c>>>0<17){break q}h=a+17|0;N[i+28>>2]=h;d=O[a+15|0]|O[a+16|0]<<8;N[b+328>>2]=(d<<8|d>>>8)<<16>>16}g=a+c|0;if(k<<24>>24<0){l=b+288|0;c=N[i+28>>2];a=c+1|0;r:{if(g>>>0>>0){N[i+28>>2]=c;a=8;break r}f=O[c|0];s:{if(f){while(1){d=a+2|0;if(g>>>0>>0){N[i+28>>2]=a;a=8;break r}c=O[a|0]+d|0;if(c>>>0>g>>>0){N[i+28>>2]=d;a=8;break r}e=156;h=157;t:{u:{v:{w:{switch(O[a+1|0]-1|0){case 2:e=158;break v;case 0:break u;case 1:break v;case 3:break w;default:break t}}e=159}h=e}a=Qa[h|0](d,c,l)|0;if(a){break s}}a=c;f=f-1|0;if(f){continue}break}}d=a;a=0}N[i+28>>2]=d}f=a;N[i+12>>2]=a;if(a){break q}h=N[i+28>>2]}f=8;e=h+3|0;if(g>>>0>>0){break q}N[i+28>>2]=e;h=O[h+2|0]|(O[h+1|0]<<8|O[h|0]<<16);if(h){a=e+h|0;if(a>>>0>g>>>0){break q}N[i+28>>2]=a;l=b+372|0;q=b+376|0;while(1){x:{d=e+4|0;if(d>>>0>a>>>0){break x}c=O[e+1|0]|O[e|0]<<8;if(c>>>0<4|c>>>0>h>>>0){break x}y:{z:{A:{B:{C:{f=O[e+2|0]|O[e+3|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 2:break A;case 1:break B;case 0:break C;default:break y}}f=sm(d,c-4|0,m,l);break z}if(c>>>0<36){break y}d=O[e+14|0]|O[e+15|0]<<8;N[b+332>>2]=(d<<8|d>>>8)<<16>>16;d=O[e+16|0]|O[e+17|0]<<8;N[b+336>>2]=(d<<8|d>>>8)<<16>>16;d=O[e+18|0]|O[e+19|0]<<8;N[b+340>>2]=(d<<8|d>>>8)<<16>>16;break y}f=sm(d,c-4|0,m,q)}N[i+12>>2]=f;if(f){break a}}e=c+e|0;h=h-c|0;if(h){continue}}break}e=a}h=e+1|0;if(g>>>0>>0){f=8;break q}N[i+28>>2]=h;a=O[e|0];N[b+392>>2]=a;f=8;if(g>>>0<(a<<1)+h>>>0){break q}c=lb(m,4,0,a,0,i+12|0);N[b+396>>2]=c;f=N[i+12>>2];if(f){break q}D:{if(!a){break D}d=a&1;E:{if((a|0)==1){f=0;break E}a=a&254;f=0;while(1){e=f<<2;l=O[h|0]|O[h+1|0]<<8;N[e+c>>2]=(l<<8|l>>>8)<<16>>16;l=c+(e|4)|0;e=O[h+2|0]|O[h+3|0]<<8;N[l>>2]=(e<<8|e>>>8)<<16>>16;h=h+4|0;f=f+2|0;if((a|0)!=(f|0)){continue}break}}if(!d){break D}a=O[h|0]|O[h+1|0]<<8;N[c+(f<<2)>>2]=(a<<8|a>>>8)<<16>>16;h=h+2|0}f=8;e=h+8|0;if(g>>>0>>0){break q}N[i+28>>2]=h+1;N[b+400>>2]=O[h|0];N[i+28>>2]=h+2;N[b+404>>2]=O[h+1|0];N[i+28>>2]=h+4;N[b+356>>2]=O[h+3|0]|O[h+2|0]<<8;N[b+344>>2]=O[h+5|0]|O[h+4|0]<<8;N[i+28>>2]=e;l=O[h+7|0]|O[h+6|0]<<8;N[b+408>>2]=l;N[b+412>>2]=(e+n|0)-N[j+32>>2];c=g;g=k>>>3&1;n=k&16;a=k&32;k=k&2;if(c>>>0>>1)+(n>>>4|0)+(a>>>5)|0)+(k?5:4)|0)+e>>>0){break q}m=lb(m,16,0,l,0,i+12|0);N[b+416>>2]=m;f=N[i+12>>2];if(f|!l){break q}d=0;if(!a){while(1){f=m+(d<<4)|0;h=O[e|0];F:{if(k){h=O[e+1|0]|h<<8;c=e+2|0;break F}c=e+1|0}N[f>>2]=h;G:{if(p){a=O[c|0]|O[c+1|0]<<8;e=(a<<8|a>>>8)<<16>>16;c=c+2|0;break G}e=N[b+328>>2]}N[f+4>>2]=e;a=c+g|0;e=O[a|0];H:{if(n){e=O[a+1|0]|e<<8;a=a+2|0;break H}a=a+1|0}N[f+8>>2]=e;N[f+12>>2]=O[a+1|0]|O[a|0]<<8;e=a+2|0;f=0;d=d+1|0;if((l|0)!=(d|0)){continue}break q}}while(1){f=m+(d<<4)|0;h=O[e|0];I:{if(k){h=O[e+1|0]|h<<8;c=e+2|0;break I}c=e+1|0}N[f>>2]=h;J:{if(p){a=O[c|0]|O[c+1|0]<<8;e=(a<<8|a>>>8)<<16>>16;c=c+2|0;break J}e=N[b+328>>2]}N[f+4>>2]=e;a=c+g|0;e=O[a|0];K:{if(n){e=O[a+1|0]|e<<8;a=a+2|0;break K}a=a+1|0}N[f+8>>2]=e;N[f+12>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);e=a+3|0;f=0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}if(N[j+20>>2]){a=N[j>>2];if(a){c=N[j+28>>2];Qa[N[c+8>>2]](c,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;c=N[j+8>>2];a=0;N[b+436>>2]=0;N[b+432>>2]=c;N[i+24>>2]=f;if(f){break a}N[b+4>>2]=o;c=N[b+8>>2]|1;N[b+8>>2]=c;d=N[b+408>>2];N[b+16>>2]=d+1;L:{M:{N:{if(!d){break N}e=N[b+416>>2];while(1){if(N[(e+(a<<4)|0)+12>>2]){break N}a=a+1|0;if((d|0)!=(a|0)){continue}break}break M}if((a|0)==(d|0)){break M}e=N[b+380>>2];break L}c=0;e=N[b+380>>2];if(e){break L}f=3;break a}a=N[b+324>>2];c=(a^-1)&4|c|(a&1?32:16);c=e?c|2:c;N[b+8>>2]=c;if(N[b+420>>2]){N[b+8>>2]=c|64}c=N[b+372>>2];N[b+20>>2]=c;if(!c){N[b+20>>2]=N[b+368>>2]}N[b+28>>2]=0;N[b+32>>2]=0;N[b+24>>2]=N[b+376>>2];c=N[b+312>>2];N[b+52>>2]=N[b+308>>2];N[b+56>>2]=c;c=N[b+320>>2];N[b+60>>2]=N[b+316>>2];N[b+64>>2]=c;c=N[b+300>>2];M[b+68>>1]=c;d=N[b+320>>2];M[b+70>>1]=d;f=N[b+312>>2];M[b+72>>1]=f;d=(d<<16>>16)-(f<<16>>16)|0;c=(T(c&65535,12)>>>0)/10|0;M[b+74>>1]=(d|0)>c<<16>>16?d:c;if(e){a=lb(N[N[b+104>>2]+28>>2],16,0,e,0,i+24|0);N[b+32>>2]=a;f=N[i+24>>2];if(f){break a}f=N[b+388>>2];O:{if((e|0)!=1){h=e&1;j=e&-2;c=0;while(1){g=N[f+4>>2];M[a>>1]=g;d=N[f>>2];g=g<<6;N[a+12>>2]=g;N[a+4>>2]=g;M[a+2>>1]=d;N[a+8>>2]=d<<6;g=N[f+40>>2];M[a+16>>1]=g;d=N[f+36>>2];g=g<<6;N[a+28>>2]=g;N[a+20>>2]=g;M[a+18>>1]=d;N[a+24>>2]=d<<6;f=f+72|0;a=a+32|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}if(!h){break O}}d=N[f+4>>2];M[a>>1]=d;c=N[f>>2];d=d<<6;N[a+12>>2]=d;N[a+4>>2]=d;M[a+2>>1]=c;N[a+8>>2]=c<<6}N[b+28>>2]=e;a=N[b+324>>2]}P:{if(!(a&4)){f=N[b+328>>2];break P}c=N[b+408>>2];if(!c){f=0;break P}e=c&3;a=N[b+416>>2];d=0;Q:{if(c>>>0<4){f=0;break Q}c=c-4|0;f=(c>>>2|0)+1|0;h=f&1;R:{if(c>>>0<4){f=0;break R}j=f&2147483646;f=0;c=0;while(1){g=N[a+4>>2];f=(f|0)>(g|0)?f:g;g=N[a+20>>2];f=(f|0)>(g|0)?f:g;g=N[a+36>>2];f=(f|0)>(g|0)?f:g;g=N[a+52>>2];f=(f|0)>(g|0)?f:g;g=N[a+68>>2];f=(f|0)>(g|0)?f:g;g=N[a+84>>2];f=(f|0)>(g|0)?f:g;g=N[a+100>>2];f=(f|0)>(g|0)?f:g;g=N[a+116>>2];f=(f|0)>(g|0)?f:g;a=a+128|0;c=c+2|0;if((j|0)!=(c|0)){continue}break}}if(!h){break Q}c=N[a+4>>2];c=(c|0)<(f|0)?f:c;f=N[a+20>>2];c=(c|0)>(f|0)?c:f;f=N[a+36>>2];c=(c|0)>(f|0)?c:f;f=N[a+52>>2];f=(c|0)>(f|0)?c:f;a=a- -64|0}if(!e){break P}while(1){c=N[a+4>>2];f=(c|0)<(f|0)?f:c;a=a+16|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}M[b+76>>1]=f;M[b+78>>1]=P[b+74>>1];a=P[b+68>>1];M[b+82>>1]=(a>>>0)/30;M[b+80>>1]=0-((a>>>0)/10|0);N[i+12>>2]=b;N[i+16>>2]=1970170211;N[i+20>>2]=65539;f=Bc(36580,0,i+12|0,0);if(!N[b+420>>2]){break a}N[b+8>>2]=N[b+8>>2]|64}La=i+32|0;return f|0}function kC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;h=La-128|0;La=h;f=M[b+2>>1];a:{if(!f|!P[b>>1]){break a}C(h,0,128);v=N[c>>2];N[h+16>>2]=v;b:{if((f|0)<0){n=6;break b}c:{f=T(f,40);e=Qa[N[v+4>>2]](v,f)|0;if(e){C(e,0,f);N[h+8>>2]=e;e=M[b>>1];if((e|0)<0){N[h+12>>2]=0;n=6;break b}d:{if(e){f=e<<3;t=Qa[N[v+4>>2]](v,f)|0;if(!t|(e|0)<=0){break d}C(t,0,f)}N[h+12>>2]=t;break c}N[h+12>>2]=t;if(t){break c}n=!t<<6;break b}N[h+8>>2]=e;n=64;break b}u=M[b+2>>1];N[h>>2]=u;n=P[b>>1];A=n<<16>>16;N[h+4>>2]=A;l=N[h+8>>2];if(n){q=N[b+12>>2];f=t;while(1){s=M[q+(o<<1)>>1];p=T(i,40)+l|0;N[f>>2]=p;m=s+1|0;k=m-i|0;N[f+4>>2]=k;if(k){N[p>>2]=T(s,40)+l;N[p+8>>2]=f;g=p;e:{if((k|0)==1){break e}j=0;e=p;r=s-i&3;if(r){while(1){N[e+48>>2]=f;g=e+40|0;N[e+4>>2]=g;N[e+40>>2]=e;k=k-1|0;e=g;j=j+1|0;if((r|0)!=(j|0)){continue}break}}if(s+(i^-1)>>>0<3){break e}while(1){N[e+48>>2]=f;g=e+40|0;N[e+4>>2]=g;N[e+88>>2]=f;N[e+80>>2]=g;g=e+80|0;N[e+44>>2]=g;N[e+128>>2]=f;N[e+120>>2]=g;g=e+120|0;N[e+84>>2]=g;N[e+168>>2]=f;N[e+160>>2]=g;g=e+160|0;N[e+124>>2]=g;N[e+40>>2]=e;e=g;k=k-4|0;if(k>>>0>1){continue}break}}N[g+4>>2]=p}f=f+8|0;i=m;o=o+1|0;if((A|0)!=(o|0)){continue}break}}f:{if(!u){N[h+24>>2]=c;N[h+20>>2]=b;break f}e=N[b+4>>2];o=N[b+8>>2];k=0;f=l;while(1){j=(N[f+4>>2]-l|0)/40|0;g=(N[f>>2]-l|0)/40|0;if(!(L[k+o|0]&1)){N[f+12>>2]=1}i=(k<<3)+e|0;m=N[i+4>>2];g=(g<<3)+e|0;s=m-N[g+4>>2]|0;r=s>>31;p=N[i>>2];q=p-N[g>>2]|0;g=q>>31;w=(g^q)-g|0;x=(s^r)-r|0;g=(q|0)>=0?2:-2;g:{if(w>>>0>T(x,12)>>>0){break g}g=4;if(x>>>0<=T(w,12)>>>0){break g}g=(s|0)>=0?-1:1}L[f+20|0]=g;i=(j<<3)+e|0;r=N[i+4>>2]-m|0;m=r>>31;j=N[i>>2]-p|0;i=j>>31;y=(i^j)-i|0;z=(m^r)-m|0;i=(j|0)>=0?2:-2;h:{if(y>>>0>T(z,12)>>>0){break h}i=4;if(z>>>0<=T(y,12)>>>0){break h}i=(r|0)>=0?-1:1}L[f+21|0]=i;p=N[f+12>>2];i:{j:{if(p&1){break j}if((g|0)!=(i|0)){break i}if((i|0)!=4){break j}i=j+q|0;j=i>>31;g=s+r|0;m=g>>31;i=(i^j)-j|0;g=(g^m)-m|0;g=(T(g>>>0>i>>>0?i:g,3)>>>3|0)+(g>>>0>>0?i:g)|0;if((((T(z>>>0>y>>>0?y:z,3)>>>3|0)+(z>>>0>>0?y:z)+((T(x>>>0>w>>>0?w:x,3)>>>3|0)+(x>>>0>>0?w:x))|0)-g|0)>=(g>>>4|0)){break i}}N[f+12>>2]=p|2}f=f+40|0;k=k+1|0;if((u|0)!=(k|0)){continue}break}N[h+24>>2]=c;N[h+20>>2]=b;b=u&3;if(b){f=0;while(1){N[l+24>>2]=0;N[l+16>>2]=0;N[l+28>>2]=N[e>>2];N[l+32>>2]=N[e+4>>2];e=e+8|0;l=l+40|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=u&-4}else{f=u}if(u>>>0<4){break f}while(1){N[l+24>>2]=0;N[l+16>>2]=0;N[l+28>>2]=N[e>>2];b=N[e+4>>2];N[l- -64>>2]=0;N[l+56>>2]=0;N[l+32>>2]=b;N[l+68>>2]=N[e+8>>2];b=N[e+12>>2];N[l+104>>2]=0;N[l+96>>2]=0;N[l+72>>2]=b;N[l+108>>2]=N[e+16>>2];b=N[e+20>>2];N[l+144>>2]=0;N[l+136>>2]=0;N[l+112>>2]=b;N[l+148>>2]=N[e+24>>2];N[l+152>>2]=N[e+28>>2];e=e+32|0;l=l+160|0;f=f-4|0;if(f){continue}break}}if(n){s=0;while(1){b=(s<<3)+t|0;k:{if(Q[b+4>>2]<4){break k}j=N[b>>2];e=j;while(1){e=N[e+4>>2];if((j|0)==(e|0)){break k}b=N[j+28>>2];l=N[e+28>>2];f=N[e+32>>2];i=N[j+32>>2];if((b|0)==(l|0)&(f|0)==(i|0)){continue}break}o=f-i|0;u=l-b|0;m=j;while(1){p=m;m=N[m>>2];if((j|0)==(m|0)){break k}g=b;b=N[m+28>>2];g=g-b|0;k=i;i=N[m+32>>2];k=k-i|0;if(!(g|k)){continue}q=Gn(u,o,g,k);if(!q){continue}break}b=p;while(1){r=q;o=k;u=g;n=b;m=0;j=f;i=l;while(1){b=e;e=N[e+4>>2];f=N[e+32>>2];k=f-j|0;l=N[e+28>>2];g=l-i|0;m=(e|0)==(p|0)?1:m;j=f;i=l;if(!(g|k)){continue}q=Gn(u,o,g,k);if(!q){continue}break}if((q^r)<0){while(1){N[n+12>>2]=N[n+12>>2]|4;n=N[n+4>>2];if((n|0)!=(b|0)){continue}break}N[b+12>>2]=N[b+12>>2]|4}if(!m){continue}break}}s=s+1|0;if((A|0)!=(s|0)){continue}break}}n=rp(h+28|0,a+16|0,a+28|0,v);if(n){break b}n=rp(h+68|0,a+52|0,a- -64|0,v);if(n){break b}a=N[h+24>>2];t=N[a+200>>2];p=c+416|0;q=N[a+404>>2];f=ob(N[p>>2],q);b=f+32&-64;r=!b|(b|0)==(f|0);if(!r){Ui(a,(b|0)<(f|0)?t+((t|0)/-50|0)|0:t,jb(q,b,f),0,0)}M[h+120>>1]=257;L[h+124|0]=(d|0)!=1;L[h+123|0]=(d|0)==2|(d|0)==4;L[h+122|0]=(d&-2)==2;u=c+932|0;g=N[h>>2];n=1;l=0;while(1){l:{if(!g){break l}a=g&3;f=N[N[h+20>>2]+4>>2];e=N[h+8>>2];if(!(n&1)){m:{if(!a){i=g;break m}i=g&-4;j=0;while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f+4>>2];N[e+32>>2]=N[f>>2];f=f+8|0;e=e+40|0;j=j+1|0;if((a|0)!=(j|0)){continue}break}}if(g>>>0<4){break l}while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f+4>>2];a=N[f>>2];N[e- -64>>2]=0;N[e+56>>2]=0;N[e+32>>2]=a;N[e+68>>2]=N[f+12>>2];a=N[f+8>>2];N[e+104>>2]=0;N[e+96>>2]=0;N[e+72>>2]=a;N[e+108>>2]=N[f+20>>2];a=N[f+16>>2];N[e+144>>2]=0;N[e+136>>2]=0;N[e+112>>2]=a;N[e+148>>2]=N[f+28>>2];N[e+152>>2]=N[f+24>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}break l}n:{if(!a){i=g;break n}i=g&-4;j=0;while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f>>2];N[e+32>>2]=N[f+4>>2];f=f+8|0;e=e+40|0;j=j+1|0;if((a|0)!=(j|0)){continue}break}}if(g>>>0<4){break l}while(1){N[e+24>>2]=0;N[e+16>>2]=0;N[e+28>>2]=N[f>>2];a=N[f+4>>2];N[e- -64>>2]=0;N[e+56>>2]=0;N[e+32>>2]=a;N[e+68>>2]=N[f+8>>2];a=N[f+12>>2];N[e+104>>2]=0;N[e+96>>2]=0;N[e+72>>2]=a;N[e+108>>2]=N[f+16>>2];a=N[f+20>>2];N[e+144>>2]=0;N[e+136>>2]=0;N[e+112>>2]=a;N[e+148>>2]=N[f+24>>2];N[e+152>>2]=N[f+28>>2];f=f+32|0;e=e+160|0;i=i-4|0;if(i){continue}break}}i=N[h+4>>2];o:{if(!i){m=0;break o}b=0;d=N[h+12>>2];while(1){p:{a=d+(b<<3)|0;if(!N[a+4>>2]){break p}a=N[a>>2];f=a;while(1){f=N[f>>2];if((a|0)==(f|0)){m=b+1|0;break o}if(N[f+28>>2]==N[a+28>>2]){continue}break}a=N[f+4>>2];e=a;while(1){k=e;while(1){e=N[e+4>>2];if((a|0)==(e|0)){break p}m=N[e+28>>2];j=N[k+28>>2];if((m|0)==(j|0)){continue}break}q:{r:{if((j|0)>N[f+28>>2]){if((j|0)>(m|0)){break r}break q}if((j|0)>=(m|0)){break q}}while(1){N[k+16>>2]=N[k+16>>2]|64;k=N[k+4>>2];if((k|0)!=(e|0)){continue}break}}f=N[e>>2];continue}}m=0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}while(1){if(g>>>0>m>>>0){f=N[h+8>>2];b=T(m,40);a=f+b|0;d=N[a+16>>2];s:{if(!(d&64)){break s}b=b+f|0;e=a;while(1){e=N[e>>2];if((a|0)==(e|0)){break s}f=N[e+32>>2];i=N[b+32>>2];if((f|0)==(i|0)){continue}break}e=a;while(1){e=N[e+4>>2];if((a|0)==(e|0)){break s}b=N[e+32>>2];if((b|0)==(i|0)){continue}break}t:{if((f|0)<(i|0)){e=128;if((b|0)>(i|0)){break t}}if((f|0)<=(i|0)){break s}e=256;if((b|0)>=(i|0)){break s}}N[a+16>>2]=d|e}m=m+1|0;continue}break}k=N[h+24>>2];m=T(l,40)+h|0;j=m+28|0;f=N[j>>2];if(f){e=N[j+8>>2];while(1){qp(e,k,l,h);e=e+28|0;f=f-1|0;if(f){continue}break}k=N[h+24>>2]}b=N[m+60>>2];e=N[b+8>>2];a=fb(32,N[(T(l,204)+k|0)+200>>2]);i=(a|0)>=30?30:a;d=n&1?1:2;u:{v:{w:{x:{y:{g=N[b>>2];z:{A:{B:{if(g>>>0>=2){b=N[h>>2];if(!b){o=0;break z}a=N[e+12>>2];f=a>>>0>>0?a:b;while(1){b=N[e+28>>2];a=N[h>>2];a=a>>>0>b>>>0?b:a;if(a>>>0>f>>>0){b=N[h+8>>2];pp(j,N[e+16>>2],N[e+24>>2]);op(N[j+4>>2],N[j+12>>2],b+T(f,40)|0,a-f|0,i,d)}e=e+16|0;f=a;g=g-1|0;if(g>>>0>1){continue}break}e=N[N[m+60>>2]+8>>2];break B}if((g|0)!=1){break A}}b=N[h+8>>2];a=N[h>>2];pp(j,N[e>>2],N[e+8>>2]);op(N[j+4>>2],N[j+12>>2],b,a,i,d)}o=N[h>>2];if(!o){o=0;break z}k=N[h+8>>2];e=k;f=o;if(f&1){C:{if(!N[k+24>>2]){break C}a=N[k+16>>2];if(a&16){break C}N[k+16>>2]=a|16}e=k+40|0;f=o-1|0}if((o|0)==1){break y}while(1){D:{if(!N[e+24>>2]){break D}a=N[e+16>>2];if(a&16){break D}N[e+16>>2]=a|16}E:{if(!N[e- -64>>2]){break E}a=N[e+56>>2];if(a&16){break E}N[e+56>>2]=a|16}e=e+80|0;f=f-2|0;if(f){continue}break}}if(!(l&1)){break x}if(!o){break v}k=N[h+8>>2];break w}o=1;if(l&1){break w}}g=0;np(h,0);mp(h,0);lp(h,0);a=N[h>>2];if(!a){break u}b=N[h+20>>2];d=N[b+8>>2];b=N[b+4>>2];f=0;e=N[h+8>>2];g=a;while(1){N[b+(f<<3)>>2]=N[e+36>>2];if(O[e+16|0]&16){a=d+f|0;L[a|0]=O[a|0]|32;g=N[h>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break u}while(1){a=O[k+20|0];F:{G:{if((a|0)==2|(a|0)==254){break G}a=O[k+21|0];if((a|0)==254){break G}if((a|0)!=2){break F}}j=N[k+16>>2];if(j&16){break F}i=N[k+28>>2];g=N[c+412>>2];H:{if(!g){break H}d=N[c+2488>>2];b=0-d|0;e=p;while(1){a=i-N[e+12>>2]|0;if((a|0)<(b|0)){break H}if(!(!O[c+2492|0]&(a|0)>N[c+2484>>2]|(i|0)>(d+N[e+8>>2]|0))){a=N[e+24>>2];j=j|48;N[k+16>>2]=j;N[k+36>>2]=a}e=e+32|0;g=g-1|0;if(g){continue}break}}g=N[c+928>>2];if(!g){break F}f=N[c+2488>>2];d=0-f|0;l=u+(g<<5)|0;while(1){a=l;l=a-32|0;b=N[l+8>>2]-i|0;if((b|0)<(d|0)){break F}if(!(!O[c+2492|0]&(b|0)>=N[c+2484>>2]|(i|0)<(N[a-20>>2]-f|0))){a=N[a-4>>2];j=j|48;N[k+16>>2]=j;N[k+36>>2]=a}g=g-1|0;if(g){continue}break}}k=k+40|0;o=o-1|0;if(o){continue}break}}np(h,1);mp(h,1);lp(h,1);g=N[h>>2];if(!g){g=0;break u}a=N[h+20>>2];d=N[a+8>>2];b=N[a+4>>2];f=0;e=N[h+8>>2];while(1){N[(b+(f<<3)|0)+4>>2]=N[e+36>>2];if(O[e+16|0]&16){a=d+f|0;L[a|0]=O[a|0]|64;g=N[h>>2]}e=e+40|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}if(!r){Ui(N[h+24>>2],t,q,0,0)}l=1;a=n&1;n=0;if(a){continue}break}}b=N[h+16>>2];a=N[h+92>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+80>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+76>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+52>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+40>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+36>>2];if(a){Qa[N[b+8>>2]](b,a)}a=N[h+8>>2];if(a){Qa[N[b+8>>2]](b,a)}N[h+8>>2]=0;a=N[h+12>>2];if(!a){break a}Qa[N[b+8>>2]](b,a)}La=h+128|0;return n|0}function hf(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,P=0,Q=0,R=0,T=0,U=0,W=0,X=0,Y=0;g=La-320|0;La=g;v=S[d+40>>3];r=S[d>>3];u=S[d+32>>3];n=S[d+24>>3];j=S[d+8>>3];s=r*u-n*j;A=S[c+24>>3];C=S[c+16>>3];L=r*A-C*j;y=v*s+L;D=S[d+16>>3];M=n*A-C*u;w=D*s-M;J=r*C+j*A;K=n*C+u*A;a:{if(!(s<0)){m=33;h=s;k=2;break a}y=-y;w=-w;h=-s;k=1}b:{X=J+K;c:{d:{if(!(X>0)){break d}z=r*n+j*u;e:{if(e&k){u=K+(D*z+v);r=J+(v*z+D);if(!(!(u>2];o=N[b+4>>2];x=La-32|0;La=x;g:{h:{if(f){N[a+56>>2]=k|N[a+56>>2];break h}I=k&(N[a+60>>2]^-1);j=S[a+88>>3]*S[a+24>>3];i:{if(V(j)<2147483648){i=~~j;break i}i=-2147483648}l=I&1;j=S[a+80>>3]*S[a+16>>3];j:{if(V(j)<2147483648){q=~~j;break j}q=-2147483648}if(l){N[x+28>>2]=i+o;N[x+24>>2]=q+E;t=N[a>>2];l=N[x+28>>2];N[x+16>>2]=N[x+24>>2];N[x+20>>2]=l;l=0;if(!Fb(t,x+16|0,1)){break g}}if(!(I&2)){break h}N[x+28>>2]=o-i;N[x+24>>2]=E-q;i=N[a+4>>2];q=N[x+28>>2];N[x+8>>2]=N[x+24>>2];N[x+12>>2]=q;l=0;if(!Fb(i,x+8|0,1)){break g}}N[a+60>>2]=k|N[a+60>>2];l=1}La=x+32|0;if(!l){break c}k:{if(u<0|r<0){if(!xi(a,N[b>>2],N[b+4>>2],0,0,k)){break c}if(xi(a,N[b+24>>2],N[b+28>>2],0,0,k)){break k}break c}h=u/h;if(!xi(a,N[b>>2],N[b+4>>2],h*S[d>>3],h*S[d+8>>3],k)){break c}}q=(k^-1)&e;if(q){break f}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;p=1;break c}k=e^k;break e}q=L<0?m|64:m;m=M<0?q^65:q;i=m&64;q=i>>>6|0;l:{m:{n:{o:{p:{q:{if(z+w<1){r:{if(!i){break r}m=(z<0?642:130)^m;if(!(h0)){m=m^193;break q}m=m^705}if(!(z+y<1)){break o}if(!i){break m}break n}if(z+y<1){m=m^65;break n}m=m^1;break l}if(i){m=m^64;break l}if(!(z>0)){m=m^320;break l}m=m^1344;break l}m=(z<0?1284:260)^m;if(!(h>>0>2?k:0)^e}else{k=e}q=e}s:{if(!k){break s}O=z+1;T=(L+M)/X;P=T*T;Q=O*P;R=s*s;w=O*Q;v=R*3+w*3;j=s*T;r=j*6*O;U=v-r;h=aa(O*.5);H=h*1.5*(h+1);F=j+j;u=F*(z+4);n=R+R+Q*-6;D=u+n;y=U+U+H*D;A=z+-1;j=A+A+P*3;h=j-F;W=r+v;r=n-u;C=W+W+H*r;u=F+j;w=z*((w-R)*3.6);n=(R-Q*z)*7.2;v=w+w+H*n;j=A*4+z*(P*3.6);v=(y*(U-H*h*H)+(C*(W-H*u*H)+(v*(w-H*j*H)+0)))/((y*y+(C*C+(v*v+0)))*H+1e-9);h=v*(v*U+D)+h;P=h*h;h=v*(v*W+r)+u;Q=h*h;h=v*(v*w+n)+j;if(!(S[a+144>>3]>P+(Q+(h*h+0)))){break s}n=v*O+-1;j=T*n;h=s*v;F=j+h;y=j-h;l=m&32;i=l?2:1;t:{if(!(i&k)){A=S[d+40>>3];C=S[d+16>>3];break t}h=n;n=l?-s:s;e=h*(n+n)>3];j=l?-y:y;e=C-j<0?e|2:e;h=l?-F:F;A=S[d+40>>3];e=h+A<0?e|4:e;e=n+(J+C)-h*z<0?e|8:e;if(!(((j*z+(n+(K+A))<0?e|16:e)^m)&m>>>6)){break t}k=(i^-1)&k;if(!k){break s}}v=L+L;D=J+J;w=S[a+152>>3];if(!(V(y*3*C+v)<(C*3+D)*w)){break s}r=M+M;u=K+K;if(!(V(F*3*A+r)<(A*3+u)*w)){break s}n=z*C;j=s*C;s=A*-s;h=z*A;if(!(V(F*n+(y*D+v-j)-s/3)>2];r=S[d+8>>3];u=S[d+32>>3];o=N[b>>2];n=S[d>>3];j=S[d+24>>3];I=k^-1;N[a+60>>2]=I&N[a+60>>2];h=S[a+88>>3]*S[a+24>>3];u:{if(V(h)<2147483648){i=~~h;break u}i=-2147483648}G=k&1;h=S[a+80>>3]*S[a+16>>3];v:{if(V(h)<2147483648){e=~~h;break v}e=-2147483648}if(G){N[g+84>>2]=i+E;N[g+80>>2]=e+o;t=N[a>>2];l=N[g+84>>2];N[g+72>>2]=N[g+80>>2];N[g+76>>2]=l;p=0;if(!Fb(t,g+72|0,3)){break c}}Y=k&2;if(Y){N[g+84>>2]=E-i;N[g+80>>2]=o-e;i=N[a+4>>2];e=N[g+84>>2];N[g+64>>2]=N[g+80>>2];N[g+68>>2]=e;p=0;if(!Fb(i,g- -64|0,3)){break c}}s=r*y+n;x=N[b+12>>2];E=N[b+8>>2];h=(r-n*y)*S[a+24>>3];w:{if(V(h)<2147483648){k=~~h;break w}k=-2147483648}h=s*S[a+16>>3];x:{if(V(h)<2147483648){i=~~h;break x}i=-2147483648}if(G){m=N[a>>2];t=N[m+4>>2];if(!t){break b}p=0;o=i+E|0;e=o>>31;if((e^o)-e>>>0>268435455){break c}e=k+x|0;l=e>>31;if((e^l)-l>>>0>268435455){break c}p=N[m>>2];y:{if(t>>>0>p>>>0){t=N[m+16>>2];break y}p=0;N[147316]=0;l=t<<1;t=jd(N[m+16>>2],l,8);N[m+16>>2]=t;if(N[147316]){break c}N[m+4>>2]=l;p=N[m>>2]}l=(p<<3)+t|0;N[l>>2]=o;N[l+4>>2]=e;N[m>>2]=N[m>>2]+1}if(Y){o=N[a+4>>2];t=N[o+4>>2];if(!t){break b}p=0;l=E-i|0;e=l>>31;if((e^l)-e>>>0>268435455){break c}e=x-k|0;i=e>>31;if((e^i)-i>>>0>268435455){break c}p=N[o>>2];z:{if(t>>>0>p>>>0){k=N[o+16>>2];break z}p=0;N[147316]=0;i=t<<1;k=jd(N[o+16>>2],i,8);N[o+16>>2]=k;if(N[147316]){break c}N[o+4>>2]=i;p=N[o>>2]}i=(p<<3)+k|0;N[i>>2]=l;N[i+4>>2]=e;N[o>>2]=N[o>>2]+1}s=u*F+j;x=N[b+20>>2];E=N[b+16>>2];h=(u-j*F)*S[a+24>>3];A:{if(V(h)<2147483648){k=~~h;break A}k=-2147483648}h=s*S[a+16>>3];B:{if(V(h)<2147483648){i=~~h;break B}i=-2147483648}if(G){G=N[a>>2];o=N[G+4>>2];if(!o){break b}p=0;t=i+E|0;e=t>>31;if((e^t)-e>>>0>268435455){break c}e=k+x|0;l=e>>31;if((e^l)-l>>>0>268435455){break c}p=N[G>>2];C:{if(o>>>0>p>>>0){m=N[G+16>>2];break C}p=0;N[147316]=0;l=o<<1;m=jd(N[G+16>>2],l,8);N[G+16>>2]=m;if(N[147316]){break c}N[G+4>>2]=l;p=N[G>>2]}l=(p<<3)+m|0;N[l>>2]=t;N[l+4>>2]=e;N[G>>2]=N[G>>2]+1}D:{if(Y){o=N[a+4>>2];t=N[o+4>>2];if(!t){break D}p=0;l=E-i|0;e=l>>31;if((e^l)-e>>>0>268435455){break c}e=x-k|0;i=e>>31;if((e^i)-i>>>0>268435455){break c}p=N[o>>2];E:{if(t>>>0>p>>>0){k=N[o+16>>2];break E}p=0;N[147316]=0;i=t<<1;k=jd(N[o+16>>2],i,8);N[o+16>>2]=k;if(N[147316]){break c}N[o+4>>2]=i;p=N[o>>2]}i=(p<<3)+k|0;N[i>>2]=l;N[i+4>>2]=e;N[o>>2]=N[o>>2]+1}e=q&I;if(e){break d}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;p=1;break c}break b}e=q}o=N[b+12>>2];x=N[b+8>>2];I=N[b>>2];t=N[b+24>>2];E=N[b+16>>2];l=N[b+4>>2];i=N[b+20>>2];q=i+N[b+28>>2]|0;N[g+300>>2]=q>>1;k=q;q=(i+o|0)+2|0;k=k+q|0;N[g+292>>2]=k>>2;i=l+o|0;q=i+q|0;N[g+276>>2]=q>>2;o=(k+q|0)-1>>3;N[g+284>>2]=o;q=t+E|0;N[g+296>>2]=q>>1;k=x+I|0;N[g+264>>2]=k>>1;N[g+268>>2]=i>>1;i=q;q=(x+E|0)+2|0;i=i+q|0;N[g+288>>2]=i>>2;q=k+q|0;N[g+272>>2]=q>>2;l=(i+q|0)-1>>3;N[g+280>>2]=l;i=N[b+4>>2];q=N[b>>2];N[g+256>>2]=q;N[g+260>>2]=i;k=N[b+28>>2];N[g+304>>2]=N[b+24>>2];N[g+308>>2]=k;r=S[c>>3]*.5;S[g+176>>3]=r;u=S[c+8>>3]*.5;S[g+184>>3]=u;s=S[c+24>>3];n=S[c+16>>3];j=S[c+32>>3]*.5;S[g+240>>3]=j;h=S[c+40>>3];s=s*.5;D=(u+s)*.5;S[g+200>>3]=D;h=h*.5;S[g+248>>3]=h;u=(s+h)*.5;S[g+232>>3]=u;w=(D+u)*.5;S[g+216>>3]=w;h=n*.5;n=(r+h)*.5;S[g+192>>3]=n;h=(h+j)*.5;S[g+224>>3]=h;r=(n+h)*.5;S[g+208>>3]=r;t=g+208|0;k=g+280|0;j=aa(r*r+w*w);s=S[a+128>>3];if(j>2];N[g+80>>2]=N[d>>2];N[g+84>>2]=b;b=N[d+12>>2];N[g+88>>2]=N[d+8>>2];N[g+92>>2]=b;S[g+96>>3]=S[d+16>>3]*.5;b=N[d+36>>2];N[g+160>>2]=N[d+32>>2];N[g+164>>2]=b;b=N[d+28>>2];N[g+152>>2]=N[d+24>>2];N[g+156>>2]=b;S[g+168>>3]=S[d+40>>3]*.5;v=n+r;S[g+192>>3]=v;r=h+r;S[g+224>>3]=r;n=u+w;S[g+232>>3]=n;j=D+w;S[g+200>>3]=j;N[t>>2]=0;N[t+4>>2]=0;N[t+8>>2]=0;N[t+12>>2]=0;h=aa(v*v+j*j);c=h>2];N[g+120>>2]=N[d+16>>2];N[g+124>>2]=b;b=N[d+12>>2];N[g+112>>2]=N[d+8>>2];N[g+116>>2]=b;b=N[d+4>>2];N[g+104>>2]=N[d>>2];N[g+108>>2]=b;break F}S[g+120>>3]=h;h=1/h;S[g+112>>3]=j*h;S[g+104>>3]=v*h}h=s;s=aa(r*r+n*n);G:{if(h>s){b=N[d+44>>2];N[g+144>>2]=N[d+40>>2];N[g+148>>2]=b;b=N[d+36>>2];N[g+136>>2]=N[d+32>>2];N[g+140>>2]=b;b=N[d+28>>2];N[g+128>>2]=N[d+24>>2];N[g+132>>2]=b;break G}S[g+144>>3]=s;h=1/s;S[g+136>>3]=n*h;S[g+128>>3]=r*h}H:{if(c){N[a+60>>2]=N[a+60>>2]&(e^-1);h=S[a+88>>3]*S[a+24>>3];I:{if(V(h)<2147483648){d=~~h;break I}d=-2147483648}b=i;f=e&1;h=S[a+80>>3]*S[a+16>>3];J:{if(V(h)<2147483648){c=~~h;break J}c=-2147483648}if(f){N[g+316>>2]=b+d;N[g+312>>2]=c+q;i=N[a>>2];f=N[g+316>>2];N[g+56>>2]=N[g+312>>2];N[g+60>>2]=f;p=0;if(!Fb(i,g+56|0,1)){break c}}if(!(e&2)){break H}N[g+316>>2]=b-d;N[g+312>>2]=q-c;c=N[a+4>>2];b=N[g+316>>2];N[g+48>>2]=N[g+312>>2];N[g+52>>2]=b;p=0;if(Fb(c,g+48|0,1)){break H}break c}p=0;if(!hf(a,g+256|0,g+176|0,g+80|0,e,f)){break c}}d=N[g+272>>2];c=N[g+276>>2];b=N[g+140>>2];N[g+32>>2]=N[g+136>>2];N[g+36>>2]=b;N[g+40>>2]=d;N[g+44>>2]=c;b=N[g+132>>2];N[g+24>>2]=N[g+128>>2];N[g+28>>2]=b;p=0;if(!ye(a,g+40|0,g+24|0,e)){break c}K:{if(s>3]){N[a+60>>2]=N[a+60>>2]&(e^-1);h=S[a+88>>3]*S[a+24>>3];L:{if(V(h)<2147483648){c=~~h;break L}c=-2147483648}d=e&1;h=S[a+80>>3]*S[a+16>>3];M:{if(V(h)<2147483648){b=~~h;break M}b=-2147483648}if(d){N[g+316>>2]=c+o;N[g+312>>2]=b+l;f=N[a>>2];d=N[g+316>>2];N[g+16>>2]=N[g+312>>2];N[g+20>>2]=d;if(!Fb(f,g+16|0,1)){break c}}if(!(e&2)){break K}N[g+316>>2]=o-c;N[g+312>>2]=l-b;b=N[a+4>>2];a=N[g+316>>2];N[g+8>>2]=N[g+312>>2];N[g+12>>2]=a;if(Fb(b,g+8|0,1)){break K}break c}if(!hf(a,k,t,g+128|0,e,0)){break c}}p=1;break c}b=N[d+4>>2];N[g+80>>2]=N[d>>2];N[g+84>>2]=b;b=N[d+12>>2];N[g+88>>2]=N[d+8>>2];N[g+92>>2]=b;s=S[d+16>>3];h=1/j;S[g+112>>3]=w*h;S[g+120>>3]=j;S[g+104>>3]=r*h;S[g+96>>3]=s*.5;b=N[d+36>>2];N[g+136>>2]=N[d+32>>2];N[g+140>>2]=b;b=N[d+28>>2];N[g+128>>2]=N[d+24>>2];N[g+132>>2]=b;S[g+144>>3]=S[d+40>>3]*.5;p=0;if(!hf(a,g+256|0,g+176|0,g+80|0,e,f)){break c}p=hf(a,k,t,g+104|0,e,0)}La=g+320|0;return p}ba(9920,18249,281,9160);B()}function EA(a){a=a|0;var 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;f=La-80|0;La=f;j=N[a+8>>2];a:{if(!j){b=6;break a}m=N[a>>2];c=N[a+4>>2];b:{if(N[c+12>>2]>1){break b}ld(c);if(N[c+12>>2]>1){break b}h=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=h>>>0){break b}d=b+1|0;N[c>>2]=d;e=O[b|0];b=d;if(!(1<>>0>26){continue}break}}while(1){c:{N[c+12>>2]=0;d=jf(c);if(d){break c}b=2;if(N[c+12>>2]==2){continue}break a}break}b=2;if((N[c>>2]+(d^-1)|0)!=16){break a}if(bb(d,11361,16)){break a}e=160;d:{e:{f:{g:while(1){c=N[a+4>>2];h:{if(N[c+12>>2]>1){break h}ld(c);if(N[c+12>>2]>1){break h}g=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=g>>>0){break h}d=b+1|0;N[c>>2]=d;h=O[b|0];b=d;if(!(1<>>0>26){continue}break}}while(1){i:{N[c+12>>2]=0;h=jf(c);if(h){break i}if(N[c+12>>2]==2){continue}break d}break}g=N[c>>2]+(h^-1)|0;b=O[h|0];c=0;while(1){j:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break j}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break j}d=c|2;if((d|0)==74){continue g}if((b|0)==O[N[(d<<2)+294496>>2]]){break j}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break j}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){i=N[(d<<2)+294496>>2];if((b|0)!=O[i|0]){continue g}if(bb(i,h,g)){i=(c|0)==(d|0);d=d+1|0;if(i){continue g}continue}break}b=0;k:{l:{switch(d|0){case 40:N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}if(!(N[f+36>>2]&-3)){continue}e=7;break d;case 30:N[f>>2]=4;if((ed(a,f,1)|0)!=1){break d}L[j|0]=O[f+4|0];continue;case 26:N[f+24>>2]=2;N[f+16>>2]=2;N[f+8>>2]=2;N[f>>2]=2;if((ed(a,f,4)|0)!=4){break d}N[j+4>>2]=N[f+4>>2];N[j+8>>2]=N[f+12>>2];N[j+12>>2]=N[f+20>>2];N[j+16>>2]=N[f+28>>2];continue;case 0:N[f>>2]=2;if((ed(a,f,1)|0)!=1){break d}N[j+20>>2]=N[f+4>>2];continue;case 14:N[f>>2]=2;if((ed(a,f,1)|0)!=1){break d}N[j+24>>2]=N[f+4>>2];continue;case 45:N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}c=N[f+36>>2];if((c|0)<=0){break k}m:while(1){g=N[a+4>>2];n:{if(N[g+12>>2]>1){break n}ld(g);if(N[g+12>>2]>1){break n}h=N[g+8>>2];d=N[g>>2];while(1){if(d>>>0>=h>>>0){break n}b=d+1|0;N[g>>2]=b;e=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[g+12>>2]=0;d=N[g>>2];i=N[g+8>>2];if(d>>>0>=i>>>0){break f}h=c-1|0;while(1){b=d+1|0;N[g>>2]=b;o:{switch(O[d|0]-9|0){case 0:case 23:d=b;if((i|0)!=(b|0)){continue}break f;default:p:{q:{r:{while(1){if(b>>>0>=i>>>0){break r}d=b;b=b+1|0;N[g>>2]=b;e=2;s:{switch(O[d|0]-9|0){case 0:case 23:break p;case 1:case 4:break q;case 17:break r;case 50:break s;default:continue}}break}e=1;break q}e=3}N[g+12>>2]=e}b=(c|0)>1;c=h;if(b){continue m}break k;case 50:N[g+12>>2]=1;break e;case 1:case 4:break o;case 17:break f}}N[g+12>>2]=0;d=b;if(i>>>0>b>>>0){continue}break}break};break f;case 20:break a;case 49:break l;default:continue}}i=1;t:while(1){e=N[a+4>>2];u:{if(N[e+12>>2]>1){break u}ld(e);if(N[e+12>>2]>1){break u}h=N[e+8>>2];d=N[e>>2];while(1){if(d>>>0>=h>>>0){break u}b=d+1|0;N[e>>2]=b;c=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[e+12>>2]=0;v:{d=N[e>>2];g=N[e+8>>2];if(d>>>0>=g>>>0){break v}w:{x:{while(1){y:{b=d+1|0;N[e>>2]=b;z:{switch(O[d|0]-9|0){case 0:case 23:d=b;if((g|0)!=(b|0)){continue}break v;default:while(1){c=b;if(g>>>0<=b>>>0){break y}b=c+1|0;N[e>>2]=b;h=2;A:{switch(O[c|0]-9|0){case 0:case 23:break w;case 1:case 4:break x;case 17:break y;case 50:break A;default:continue}}break};h=1;break x;case 50:N[e+12>>2]=1;e=160;break d;case 17:break v;case 1:case 4:break z}}N[e+12>>2]=0;d=b;if(g>>>0>b>>>0){continue}break v}break}h=3}N[e+12>>2]=h}h=(d^-1)+b|0;e=O[d|0];b=0;while(1){B:{if((e|0)==O[N[(b<<2)+294496>>2]]){c=b;break B}c=b|1;if((e|0)==O[N[(c<<2)+294496>>2]]){break B}c=b|2;if((c|0)==74){continue t}if((e|0)==O[N[(c<<2)+294496>>2]]){break B}c=b|3;if((e|0)==O[N[(c<<2)+294496>>2]]){break B}b=b+4|0;continue}break}b=(c|0)<=73?73:c;while(1){g=N[(c<<2)+294496>>2];if((e|0)!=O[g|0]){continue t}if(bb(g,d,h)){g=(b|0)==(c|0);c=c+1|0;if(g){continue t}continue}break}if((c|0)==75){continue}b=0;e=160;C:{switch(c-20|0){case 33:if(!i){break d}d=N[a+4>>2];h=N[a+8>>2];N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}b=N[f+36>>2];if((b|0)<0){break d}N[h+32>>2]=b;if(b>>>0>(N[d+8>>2]-N[d>>2]>>>0)/20>>>0){break d}if(b){n=h,o=lb(N[a>>2],20,0,b,0,f+32|0),N[n+28>>2]=o;e=N[f+32>>2];if(e){break d}}e=-1;D:while(1){c=N[a+4>>2];E:{if(N[c+12>>2]>1){break E}ld(c);if(N[c+12>>2]>1){break E}i=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=i>>>0){break E}d=b+1|0;N[c>>2]=d;g=O[b|0];b=d;if(!(1<>>0>26){continue}break}}F:{while(1){N[c+12>>2]=0;g=jf(c);if(g){break F}if(N[c+12>>2]==2){continue}break}e=160;break d}i=N[c>>2]+(g^-1)|0;b=O[g|0];c=0;while(1){G:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break G}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break G}d=c|2;if((d|0)==74){continue D}if((b|0)==O[N[(d<<2)+294496>>2]]){break G}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break G}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){k=N[(d<<2)+294496>>2];if((b|0)!=O[k|0]){continue D}if(bb(k,g,i)){k=(c|0)==(d|0);d=d+1|0;if(k){continue D}continue}break}H:{I:{switch(d-20|0){case 36:e=e+1|0;if((e|0)>=N[h+32>>2]){break H}b=N[h+28>>2];N[f+64>>2]=2;N[f+56>>2]=2;N[f+48>>2]=2;N[f+40>>2]=2;N[f+32>>2]=3;if((ed(a,f+32|0,5)|0)!=5){break H}b=b+T(e,20)|0;N[b>>2]=N[f+36>>2];N[b+4>>2]=N[f+44>>2];N[b+8>>2]=N[f+52>>2];N[b+12>>2]=N[f+60>>2];N[b+16>>2]=N[f+68>>2];continue;case 0:case 1:case 3:b=e+1|0;if((b|0)!=N[h+32>>2]){N[h+32>>2]=b}i=0;continue t;case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:break H;default:break I}}if((d|0)==75){continue}}break};e=160;break d;case 0:case 1:break a;case 30:case 31:break C;default:break d}}if(l){break d}d=N[a+4>>2];g=N[a+8>>2];N[f+32>>2]=3;if((ed(a,f+32|0,1)|0)!=1){break d}b=N[f+36>>2];if((b|0)<0){break d}N[g+40>>2]=b;if(b>>>0>(N[d+8>>2]-N[d>>2]>>>0)/10>>>0){break d}if(b){n=g,o=lb(N[a>>2],16,0,b,0,f+32|0),N[n+36>>2]=o;e=N[f+32>>2];if(e){break d}}e=-1;J:{K:while(1){c=N[a+4>>2];L:{if(N[c+12>>2]>1){break L}ld(c);if(N[c+12>>2]>1){break L}l=N[c+8>>2];b=N[c>>2];while(1){if(b>>>0>=l>>>0){break L}d=b+1|0;N[c>>2]=d;h=O[b|0];b=d;if(!(1<>>0>26){continue}break}}M:{while(1){N[c+12>>2]=0;h=jf(c);if(h){break M}if(N[c+12>>2]==2){continue}break}e=160;break d}l=N[c>>2]+(h^-1)|0;b=O[h|0];c=0;while(1){N:{if((b|0)==O[N[(c<<2)+294496>>2]]){d=c;break N}d=c|1;if((b|0)==O[N[(d<<2)+294496>>2]]){break N}d=c|2;if((d|0)==74){continue K}if((b|0)==O[N[(d<<2)+294496>>2]]){break N}d=c|3;if((b|0)==O[N[(d<<2)+294496>>2]]){break N}c=c+4|0;continue}break}c=(d|0)<=73?73:d;while(1){k=N[(d<<2)+294496>>2];if((b|0)!=O[k|0]){continue K}if(bb(k,h,l)){k=(c|0)==(d|0);d=d+1|0;if(k){continue K}continue}break}if((d|0)==75){continue}b=d-20|0;if(b>>>0>17){e=160;break d}b=1<=N[g+40>>2]){break O}b=N[g+36>>2];N[f+56>>2]=3;N[f+48>>2]=3;N[f+40>>2]=5;N[f+32>>2]=5;l=ed(a,f+32|0,4);if((l|0)<3){break O}h=b+(e<<4)|0;N[h>>2]=N[f+36>>2];N[h+4>>2]=N[f+44>>2];c=0;b=N[f+52>>2];if((d|0)!=37){c=b;b=(d|0)==34?(l|0)==4?N[f+60>>2]:0:0}N[h+12>>2]=b;N[h+8>>2]=c;continue}break}e=160;break d}b=e+1|0;if((b|0)!=N[g+40>>2]){N[g+40>>2]=b}Zc(N[g+36>>2],b,16,359);l=1;continue}break}N[e+12>>2]=3;e=160;break d}while(1){e=N[a+4>>2];P:{if(N[e+12>>2]>1){break P}ld(e);if(N[e+12>>2]>1){break P}h=N[e+8>>2];d=N[e>>2];while(1){if(d>>>0>=h>>>0){break P}b=d+1|0;N[e>>2]=b;c=O[d|0];d=b;if(!(1<>>0>26){continue}break}}N[e+12>>2]=0;Q:{d=N[e>>2];g=N[e+8>>2];if(d>>>0>=g>>>0){break Q}R:{S:{while(1){T:{b=d+1|0;N[e>>2]=b;U:{switch(O[d|0]-9|0){case 50:N[e+12>>2]=1;break e;case 0:case 23:d=b;if((g|0)!=(b|0)){continue}break Q;default:while(1){c=b;if(g>>>0<=b>>>0){break T}b=c+1|0;N[e>>2]=b;h=2;V:{switch(O[c|0]-9|0){case 0:case 23:break R;case 1:case 4:break S;case 17:break T;case 50:break V;default:continue}}break};h=1;break S;case 17:break Q;case 1:case 4:break U}}N[e+12>>2]=0;d=b;if(g>>>0>b>>>0){continue}break Q}break}h=3}N[e+12>>2]=h}h=(d^-1)+b|0;e=O[d|0];c=0;W:{while(1){X:{if((e|0)==O[N[(c<<2)+294496>>2]]){b=c;break X}b=c|1;if((e|0)==O[N[(b<<2)+294496>>2]]){break X}b=c|2;if((b|0)==74){c=75;break W}if((e|0)==O[N[(b<<2)+294496>>2]]){break X}b=c|3;if((e|0)==O[N[(b<<2)+294496>>2]]){break X}c=c+4|0;continue}break}g=(b|0)<=73?73:b;while(1){c=75;i=N[(b<<2)+294496>>2];if((e|0)!=O[i|0]){break W}if(!bb(i,d,h)){c=b;break W}i=(b|0)==(g|0);b=b+1|0;if(!i){continue}break}}e=0;switch(c-17|0){case 0:case 3:continue g;default:continue}}break}break}N[e+12>>2]=3;break e}N[g+12>>2]=3}b=160;break a}a=N[j+28>>2];if(a){Qa[N[m+8>>2]](m,a)}N[j+28>>2]=0;N[j+32>>2]=0;a=N[j+36>>2];if(a){Qa[N[m+8>>2]](m,a)}L[j|0]=0;N[j+36>>2]=0;N[j+40>>2]=0;b=e}La=f+80|0;return b|0}function oh(a,b){var 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;a:{g=N[b+4>>2];b:{if(g>>>0>a>>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break b}f=N[b+12>>2];d=f-2|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=O[a|0]|O[a+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<2){break b}d=a+4|0;if(d>>>0>h>>>0|h-d>>>0<4){break b}f=f-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}c=1;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break b}c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);o=c>>>0<=1?1:c;p=c-1|0;e=a+8|0;while(1){c:{if(e>>>0>>0|e>>>0>h>>>0|h-e>>>0<12){break c}d=N[b+12>>2];a=d-12|0;N[b+12>>2]=a;if((a|0)<=0){break c}a=N[b+32>>2];c=N[a+12>>2];N[b+4>>2]=c;a=N[a+16>>2];h=a+c|0;N[b+8>>2]=h;d:{e:{f:{g:{h:{if((a|0)>=0){i:{j:{a=m>>>0

>>0?e:0;if(a){if(a>>>0>>0&a>>>0>=c>>>0){break j}N[b+4>>2]=0;N[b+8>>2]=0;c=0;h=0;break i}if(c>>>0<=e>>>0){break i}a=0;break d}N[b+4>>2]=a;f=h-a|0;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=a+(c>>>0>f>>>0?f:c)|0;N[b+8>>2]=h;c=a}a=0;if(e>>>0>h>>>0){break d}f=h-e|0;if(f>>>0<12){break d}g=d-24|0;N[b+12>>2]=g;if((g|0)<=0){break d}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<13|d>>>0>f>>>0){break d}d=g-d|0;N[b+12>>2]=d;if((d|0)<=0){break d}k:{switch((O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24))>>>24|0){case 0:f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<8){break d}d=d-8|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);c=UE(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24),0,6,0);if(Pa){break d}if(!c){break e}f=e+28|0;if(f>>>0>h>>>0|c>>>0>h-f>>>0){break d}c=d-c|0;N[b+12>>2]=c;if((c|0)>0){break e}break d;case 1:break k;case 2:break f;case 4:break g;case 6:break h;default:break e}}if(f>>>0<32|c>>>0>e>>>0){break d}f=d-32|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<16){break d}f=d-48|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<4){break d}f=e+16|0;if(f>>>0>h>>>0|h-f>>>0<4){break d}d=d-52|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(d&128){break d}if(!yc(c+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break d}d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((i|0)<0){break d}a=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);j=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);k=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;n=i<<1;d=0;h=0;a=0;while(1){l:{m:{n:{if((d|0)<=(h|0)){f=h+1|0;c=UE(f,0,n,0);if(Pa){a=0;break d}o:{if(!c){g=N[b+12>>2];break o}if(k>>>0>2]){a=0;break d}g=N[b+8>>2];if(g>>>0>>0){a=0;break d}if(c>>>0>g-k>>>0){a=0;break d}g=N[b+12>>2]-c|0;N[b+12>>2]=g;if((g|0)>0){break o}a=0;break d}c=((h^-1)+d|0)+g|0;N[b+12>>2]=c;if((c|0)<=0){a=0;break d}UE(f,0,i,0);if(Pa){a=0;break d}c=T(f,i);if((c|0)<0){a=0;break d}d=T(d,i);if((d|0)<(c|0)){break n}d=f}if(!a){c=N[b+12>>2]+a|0;N[b+12>>2]=c;a=0;if((c|0)<=0){break d}break l}c=a;break m}l=k+(c<<1)|0;g=k+(d<<1)|0;c=a;while(1){d=O[g|0]|O[g+1|0]<<8;d=((d<<8|d>>>8)&65535)+1|0;c=c>>>0>d>>>0?c:d;g=g+2|0;if(l>>>0>g>>>0){continue}break}d=f}if(j>>>0>2]){a=0;break d}f=N[b+8>>2];if(f>>>0>>0){a=0;break d}l=f-j|0;f=T(c,6);if(l>>>0>>0){a=0;break d}g=N[b+12>>2]-f|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}g=g+(a-c|0)|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}if((a|0)>=(c|0)){a=c;break l}f=f+j|0;g=j+T(a,6)|0;while(1){a=O[g|0]|O[g+1|0]<<8;a=(a<<8|a>>>8)&65535;h=(a|0)<(h|0)?h:a;g=g+6|0;if(f>>>0>g>>>0){continue}break}a=c}if((d|0)<=(h|0)){continue}break}break e}break a}if(f>>>0<36|c>>>0>e>>>0){break d}c=d-36|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=e+20|0;f=c>>>0>h>>>0|h-c>>>0<4;p:{if(L[e+15|0]&1){if(f){break d}d=d-40|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!jl((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+24|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!jl((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);if(!c){break p}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)>0){break p}break d}if(f){break d}d=d-40|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+24|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+28|0]|O[e+29|0]<<8|(O[e+30|0]<<16|O[e+31|0]<<24);if(!c){break p}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}}if(!(O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24))){break e}c=O[e+32|0]|O[e+33|0]<<8|(O[e+34|0]<<16|O[e+35|0]<<24);if(!c){break e}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}break e}if(f>>>0<32|c>>>0>e>>>0){break d}f=d-32|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=c;c=e+12|0;if(f>>>0>c>>>0|c>>>0>h>>>0|h-c>>>0<16){break d}f=d-48|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<4){break d}f=e+16|0;if(f>>>0>h>>>0|h-f>>>0<4){break d}d=d-52|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(d&128){break d}if(!yc(c+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break d}d=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((i|0)<0){break d}a=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);j=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;a=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);k=c+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;n=i<<1;d=0;h=0;a=0;while(1){q:{r:{s:{if((d|0)<=(h|0)){f=h+1|0;c=UE(f,0,n,0);if(Pa){a=0;break d}t:{if(!c){g=N[b+12>>2];break t}if(k>>>0>2]){a=0;break d}g=N[b+8>>2];if(g>>>0>>0){a=0;break d}if(c>>>0>g-k>>>0){a=0;break d}g=N[b+12>>2]-c|0;N[b+12>>2]=g;if((g|0)>0){break t}a=0;break d}c=((h^-1)+d|0)+g|0;N[b+12>>2]=c;if((c|0)<=0){a=0;break d}UE(f,0,i,0);if(Pa){a=0;break d}c=T(f,i);if((c|0)<0){a=0;break d}d=T(d,i);if((d|0)<(c|0)){break s}d=f}if(!a){c=N[b+12>>2]+a|0;N[b+12>>2]=c;a=0;if((c|0)<=0){break d}break q}c=a;break r}l=k+(c<<1)|0;g=k+(d<<1)|0;c=a;while(1){d=O[g|0]|O[g+1|0]<<8;d=((d<<8|d>>>8)&65535)+1|0;c=c>>>0>d>>>0?c:d;g=g+2|0;if(l>>>0>g>>>0){continue}break}d=f}if(j>>>0>2]){a=0;break d}f=N[b+8>>2];if(f>>>0>>0){a=0;break d}l=f-j|0;f=T(c,6);if(l>>>0>>0){a=0;break d}g=N[b+12>>2]-f|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}g=g+(a-c|0)|0;N[b+12>>2]=g;if((g|0)<=0){a=0;break d}if((a|0)>=(c|0)){a=c;break q}f=f+j|0;g=j+T(a,6)|0;while(1){a=O[g|0]|O[g+1|0]<<8;a=(a<<8|a>>>8)&65535;h=(a|0)<(h|0)?h:a;g=g+6|0;if(f>>>0>g>>>0){continue}break}a=c}if((d|0)<=(h|0)){continue}break}break e}if(f>>>0<28|c>>>0>e>>>0){break d}c=d-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=e+16|0;if(c>>>0>h>>>0|h-c>>>0<4){break d}d=d-32|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=e+20|0;if(c>>>0>2]){break d}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break d}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break d}if(!yc((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0,b)){break d}c=O[e+24|0]|O[e+25|0]<<8|(O[e+26|0]<<16|O[e+27|0]<<24);if(!c){break e}if(Q[b+4>>2]>e>>>0){break d}d=N[b+8>>2];if(d>>>0>>0){break d}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>d-e>>>0){break d}c=N[b+12>>2]-c|0;N[b+12>>2]=c;if((c|0)<=0){break d}}a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);e=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+e|0;a=1}c=N[b+32>>2];g=N[c+12>>2];N[b+4>>2]=g;c=N[c+16>>2];h=c+g|0;N[b+8>>2]=h;if((c|0)<0){break a}if(!a){break c}c=1;m=m+1|0;if((o|0)!=(m|0)){continue}break b}break}c=0}return c}ba(16656,14279,195,9642);B()}function qv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0;o=La-32|0;La=o;q=6;p=N[a+4>>2];a:{if(!p){break a}f=c-1|0;u=c>>>0>=f>>>0?f:0;if(u>>>0>=Q[p+408>>2]){break a}b:{if(d&9){break b}g=N[p+380>>2];if(!g){break b}k=N[p+416>>2];e=k+(u<<4)|0;j=N[p+104>>2];c=N[p+388>>2];f=P[b+12>>1];while(1){if(!((f|0)==N[c>>2]&N[c+4>>2]==P[b+14>>1])){c=c+36|0;h=h+1|0;if((g|0)!=(h|0)){continue}break b}break}g=N[c+24>>2]+N[p+432>>2]|0;h=N[c+8>>2];f=N[j+20>>2];c:{if(f){if(!(Qa[f|0](j,g,0,0)|0)){break c}break b}if(g>>>0>Q[j+4>>2]){break b}}N[j+8>>2]=g;f=h&1;if(Bb(j,T(N[c+28>>2],(h>>>2&1)+(h&2?f+5|0:f|4)|0))){break b}g=N[c+8>>2];n=g&1;t=(g&2?n+5|0:n|4)+(g>>>2&1)|0;s=N[e>>2];h=N[c+28>>2];i=N[j+32>>2];if(!(g&64)){f=N[j+36>>2];r=g|128;N[c+8>>2]=r;d:{e:{f:{e=f;f=T(h,t);l=f+i|0;if(e>>>0>=l>>>0){if((f|0)<=0){break d}e=-1;if(n){break f}f=i;while(1){m=e;e=O[f|0];if((m|0)>=(e|0)){break e}f=f+t|0;if(l>>>0>f>>>0){continue}break}break d}r=g&-129;break d}f=i;while(1){m=e;e=O[f+1|0]|O[f|0]<<8;if((m|0)>=(e|0)){break e}f=f+t|0;if(l>>>0>f>>>0){continue}break}break d}r=g&-129}g=r|64;N[c+8>>2]=g}g:{h:{i:{if(!(g&128)){break i}c=0;j:{if(!n){while(1){if(c>>>0>=h>>>0){break i}l=c+h>>>1|0;f=i+T(l,t)|0;m=O[f|0];e=m>>>0>s>>>0;h=e?l:h;c=e?c:m>>>0>>0?l+1|0:c;if((m|0)!=(s|0)){continue}break}c=f+1|0;break j}while(1){if(c>>>0>=h>>>0){break i}l=c+h>>>1|0;m=i+T(l,t)|0;e=O[m|0]<<8|O[m+1|0];f=e>>>0>s>>>0;c=f?c:e>>>0>>0?l+1|0:c;h=f?l:h;if((e|0)!=(s|0)){continue}break}c=m+2|0}i=O[c|0];k:{if(g&2){i=O[c+1|0]|i<<8;c=c+2|0;break k}c=c+1|0}e=O[c+1|0];f=O[c|0];if(!(g&4)){break h}c=O[c+2|0]|(e<<8|f<<16);break g}if(N[j+20>>2]){f=N[j>>2];if(f){c=N[j+28>>2];Qa[N[c+8>>2]](c,f)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;break b}c=e|f<<8}if(N[j+20>>2]){e=N[j>>2];if(e){f=N[j+28>>2];Qa[N[f+8>>2]](f,e)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;if(!i){break b}N[o+28>>2]=0;N[o+24>>2]=0;N[o+16>>2]=0;N[o+12>>2]=0;N[o+8>>2]=0;e=N[((u<<4)+k|0)+4>>2];h=N[p+304>>2];f=N[p+300>>2];if((h|0)!=(f|0)){f=jb(e,f,h)}else{f=e}N[a+56>>2]=f;f=jb(P[b+12>>1]<<8,e,h);N[o+20>>2]=f;e=c+N[p+188>>2]|0;c=N[j+20>>2];l:{if(c){if(!(Qa[c|0](j,e,0,0)|0)){break l}break b}if(e>>>0>Q[j+4>>2]){break b}}N[j+8>>2]=e;if(Bb(j,i)){break b}N[o+4>>2]=N[j+32>>2];m=8;l=N[j+36>>2];g=N[o+4>>2];m:{if(l>>>0>>0){break m}n:{o:{p:{q:{r:{h=O[g|0];switch((h&3)-1|0){case 2:break o;case 1:break p;case 0:break q;default:break r}}c=g+2|0;if(l>>>0>>0){break m}e=L[g+1|0];g=e>>4;k=e<<28>>28;break n}c=g+3|0;if(l>>>0>>0){break m}k=L[g+2|0];g=L[g+1|0];break n}c=g+5|0;if(l>>>0>>0){break m}e=O[g+3|0]|O[g+4|0]<<8;k=(e<<8|e>>>8)<<16>>16;e=O[g+1|0]|O[g+2|0]<<8;g=(e<<8|e>>>8)<<16>>16;break n}c=g+7|0;if(l>>>0>>0){break m}k=O[g+6|0]|(O[g+5|0]<<8|O[g+4|0]<<16);g=O[g+3|0]|(O[g+2|0]<<8|O[g+1|0]<<16)}n=h>>>2&3;r=n;s:{t:{switch(n-1|0){case 0:e=c+1|0;if(e>>>0>l>>>0){break m}c=O[c|0];r=c&15;n=c>>>4|0;c=e;break s;case 1:e=c+2|0;if(e>>>0>l>>>0){break m}r=O[c+1|0];n=O[c|0];c=e;break s;case 2:break t;default:break s}}e=c+4|0;if(e>>>0>l>>>0){break m}r=O[c+3|0]|O[c+2|0]<<8;n=O[c+1|0]|O[c|0]<<8;c=e}u:{v:{w:{x:{h=h>>>4|0;switch((h&3)-1|0){case 2:break v;case 1:break w;case 0:break x;default:break u}}e=c+1|0;if(e>>>0>l>>>0){break m}f=L[c|0]<<8;c=e;break u}e=c+2|0;if(e>>>0>l>>>0){break m}c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=e;break u}e=c+3|0;if(e>>>0>l>>>0){break m}f=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);c=e}N[o+28>>2]=g;N[o+24>>2]=k;N[o+16>>2]=n;N[o+12>>2]=r;N[o+20>>2]=f;N[o+8>>2]=h>>>2;N[o+4>>2]=c;m=0}y:{if(m){break y}z:{A:{B:{C:{m=N[o+8>>2];switch(m|0){case 0:break A;case 2:break B;case 1:break C;default:break y}}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)>>>0<=T(i,15)>>>0){break z}break y}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)>>>0>T(i+1>>>1|0,255)>>>0){break y}break z}c=N[o+12>>2];h=N[o+16>>2];if(T(c,h)+7>>>3>>>0>i>>>0){break y}}if((c|0)<0){break y}i=N[o+24>>2];if((i|0)>(c^2147483647)){break y}N[a+72>>2]=1651078259;N[a+76>>2]=c;N[a+80>>2]=h;L[a+94|0]=1;N[a+28>>2]=c<<6;g=h<<6;N[a+24>>2]=g;e=h+7>>3;N[a+84>>2]=e;h=N[o+28>>2];N[a+36>>2]=i<<6;N[a+32>>2]=h<<6;f=N[o+20>>2];N[a+48>>2]=0;N[a+44>>2]=0-g>>1;N[a+40>>2]=(f>>2)+32&-64;f=N[b+32>>2];N[a+104>>2]=c+i;N[a+100>>2]=h;N[a+52>>2]=f;if(!(d&4194304)){g=T(c,e);h=N[N[a+4>>2]+100>>2];f=N[a+156>>2];c=N[f+4>>2];D:{if(c&1){c=N[a+88>>2];if(c){Qa[N[h+8>>2]](h,c)}N[a+88>>2]=0;break D}N[f+4>>2]=c|1}c=0;e=g?6:0;E:{if((g|0)<=0){break E}f=Qa[N[h+4>>2]](h,g)|0;e=64;if(!f){break E}C(f,0,g);c=f;e=0}N[a+88>>2]=c;if(e){break y}d=N[o+4>>2];k=N[j+36>>2];e=O[p+208|0]>>>1&1;n=0;f=N[a+76>>2];F:{if(!f){break F}b=N[a+80>>2];if(!b){break F}c=N[a+84>>2];l=e?c:0-c|0;q=T(b,f);h=N[a+88>>2]+(e?0:T(c,f-1|0))|0;G:{H:{switch(m|0){case 0:a=k-d<<3;g=a>>>0>>0?a:q;if(!g){break F}i=128;e=0;f=h;a=b;c=g;while(1){if(!((c^g)&7)){e=O[d|0];d=d+1|0}n=e<<24>>31&i|n;a=a-1|0;I:{if(!a){L[f|0]=n;n=0;a=b;h=h+l|0;f=h;m=128;break I}m=i>>>1|0;if(i>>>0>1){break I}L[f|0]=n;f=f+1|0;n=0;m=128}i=m;e=e<<1;c=c-1|0;if(c){continue}break};if((i|0)!=128){break G}break F;case 1:if(!q){break F}r=1;g=128;f=h;c=b;a=0;e=0;i=1;while(1){J:{K:{if(!r){break K}L:{if(!i){i=1;e=a;break L}i=1;m=g;if(d>>>0>=k>>>0){break J}e=O[d|0];a=e&15;d=d+1|0;i=0;e=e>>>4|0}if(e){break K}while(1){M:{if(!i){i=1;e=a;break M}if(d>>>0>=k>>>0){i=1;e=0;m=g;break J}e=O[d|0];a=e&15;d=d+1|0;i=0;e=e>>>4|0}if(!e){continue}break}}m=i?g:0}n=m|n;c=c-1|0;N:{if(!c){L[f|0]=n;n=0;c=b;h=h+l|0;f=h;m=128;break N}m=g>>>1|0;if(g>>>0>1){break N}L[f|0]=n;f=f+1|0;n=0;m=128}g=m;r=(e|0)<2;e=e-1|0;q=q-1|0;if(q){continue}break};if((g|0)!=128){break G}break F;case 2:break H;default:break F}}if(!q){break F}e=1;g=128;f=h;c=b;a=0;i=1;while(1){O:{if(!(e&1)|d>>>0>=k>>>0){break O}P:{while(1){i=i^1;e=d+1|0;a=O[d|0];if(a){break P}d=e;if((e|0)!=(k|0)){continue}break}a=0;d=k;break O}d=e}n=(i?g:0)|n;c=c-1|0;Q:{if(!c){L[f|0]=n;n=0;c=b;h=h+l|0;f=h;e=128;break Q}e=g>>>1|0;if(g>>>0>1){break Q}L[f|0]=n;f=f+1|0;n=0;e=128}g=e;e=(a|0)<2;a=a-1|0;q=q-1|0;if(q){continue}break}if((g|0)==128){break F}}L[f|0]=n}}if(N[j+20>>2]){b=N[j>>2];if(b){a=N[j+28>>2];Qa[N[a+8>>2]](a,b)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0;q=0;break a}if(N[j+20>>2]){f=N[j>>2];if(f){c=N[j+28>>2];Qa[N[c+8>>2]](c,f)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0}if(d&16384){break a}m=N[p+416>>2];N[a+72>>2]=1869968492;N[a+108>>2]=0;c=m+(u<<4)|0;i=N[c+8>>2];g=N[c+12>>2];h=N[p+188>>2];e=N[p+104>>2];k=N[a+188>>2];N[k+20>>2]=0;N[k+36>>2]=0;N[k+48>>2]=0;c=N[k+32>>2];f=k- -64|0;N[f>>2]=N[k+28>>2];N[f+4>>2]=c;N[k+88>>2]=N[k+52>>2];c=N[k+24>>2];N[k+56>>2]=N[k+20>>2];N[k+60>>2]=c;c=N[k+40>>2];N[k+72>>2]=N[k+36>>2];N[k+76>>2]=c;c=N[k+48>>2];N[k+80>>2]=N[k+44>>2];N[k+84>>2]=c;N[a+176>>2]=0;q=rm(a+160|0,e,h,g,i);if(q){break a}f=N[a+188>>2];c=N[f+24>>2];N[a+108>>2]=N[f+20>>2];N[a+112>>2]=c;N[a+124>>2]=N[f+36>>2];c=N[f+32>>2];N[a+116>>2]=N[f+28>>2];N[a+120>>2]=c;c=N[a+124>>2]&-6;N[a+124>>2]=c|4;if(P[b+14>>1]<=23){N[a+124>>2]=c|260}N[a+52>>2]=0;N[a+40>>2]=0;c=N[(m+(u<<4)|0)+4>>2];e=N[p+304>>2];f=N[p+300>>2];if((e|0)!=(f|0)){c=jb(c,f,e)}f=N[p+324>>2]&1;N[(f?52:40)+a>>2]=c;u=0-f&c;N[a+60>>2]=u;n=f?0:c;N[a+56>>2]=n;N[a+44>>2]=0;N[a+48>>2]=0;R:{if(d&1){e=P[a+110>>1];break R}p=N[b+20>>2];s=N[b+16>>2];e=M[a+110>>1];S:{if((e|0)<=0){b=s>>31;b=(b^s)-b|0;r=b>>>8|0;break S}b=p>>31;t=(b^p)-b|0;m=t&65535;i=t>>>16|0;g=t>>>8|0;b=s>>31;b=(b^s)-b|0;h=b&65535;f=b>>>16|0;r=b>>>8|0;c=N[a+112>>2];q=0;while(1){k=N[c>>2];d=k>>31;l=(d^k)-d|0;T:{if(l+r>>>0<=8190){j=T(b,l)+32768>>>16|0;break T}d=l&65535;j=T(d,f)+T(l>>>16|0,b)+(T(d,h)+32768>>>16)|0}d=j;l=0-d|0;d=k>>31|1;N[c>>2]=(((s|0)<0?0-d|0:d)|0)<0?l:j;k=N[c+4>>2];d=k>>31;l=(d^k)-d|0;U:{if(l+g>>>0<=8190){j=T(l,t)+32768>>>16|0;break U}d=l&65535;j=T(d,i)+T(t,l>>>16|0)+(T(d,m)+32768>>>16)|0}d=j;l=0-d|0;d=k>>31|1;N[c+4>>2]=(((p|0)<0?0-d|0:d)|0)<0?l:j;c=c+8|0;q=q+1|0;if((q|0)!=(e|0)){continue}break}}c=n>>31;d=(c^n)-c|0;V:{if(d+r>>>0<=8190){c=T(b,d)+32768>>>16|0;break V}c=d&65535;c=T(c,b>>>16|0)+T(d>>>16|0,b)+(T(c,b&65535)+32768>>>16)|0}b=c;d=0-b|0;b=n>>31|1;N[a+40>>2]=(((s|0)<0?0-b|0:b)|0)<0?d:c;b=p>>31;d=(b^p)-b|0;b=u>>31;c=(b^u)-b|0;W:{if((d>>>8|0)+c>>>0<=8190){c=T(c,d)+32768>>>16|0;break W}b=c&65535;c=T(b,d>>>16|0)+T(d,c>>>16|0)+(T(b,d&65535)+32768>>>16)|0}b=c;d=0-b|0;b=u>>31|1;N[a+52>>2]=(((p|0)<0?0-b|0:b)|0)<0?d:c}q=0;b=0;d=0;h=0;f=0;X:{if(!(e&65535)){break X}i=N[a+112>>2];h=N[i+4>>2];f=N[i>>2];b=e<<16>>16;if((b|0)<2){b=h;d=f;break X}c=(b<<3)+i|0;e=i+8|0;d=f;b=h;while(1){g=N[i+12>>2];b=(b|0)<(g|0)?g:b;h=(g|0)<(h|0)?g:h;g=N[i+8>>2];d=(d|0)<(g|0)?g:d;f=(f|0)>(g|0)?g:f;i=e;e=e+8|0;if(c>>>0>e>>>0){continue}break}}N[a+36>>2]=h;N[a+32>>2]=f;N[a+28>>2]=b-h;N[a+24>>2]=d-f}La=o+32|0;return q|0}function rE(a){a=a|0;var b=0,c=0,d=0;b=N[a+100>>2];a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break c}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=282;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;d:{e:{f:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=283;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break l}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];p:{q:{r:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break q}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break r}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break p}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];v:{w:{x:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break w}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break x}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break v}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break A}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1667654002;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break C}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break B}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break G}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];H:{I:{J:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break I}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break J}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break H}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break P}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=13;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function re(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;j=La-48|0;La=j;r=N[a+100>>2];f=N[a+104>>2];N[j+32>>2]=0;N[j+36>>2]=0;N[j+24>>2]=0;N[j+28>>2]=0;e=N[a+736>>2];a:{b:{if(!e){if(Qa[N[a+516>>2]](a,1735811442,f,j+44|0)|0){c=Qa[N[a+516>>2]](a,1128678962,f,j+44|0)|0;if(c){break a}}c=Qa[N[a+516>>2]](a,1719034226,f,j+44|0)|0;if(c){break a}w=N[f+8>>2];c=rb(f,27216,j+24|0);if(c){break a}i=P[j+30>>1];g=P[j+36>>1];c=Qa[N[r+4>>2]](r,80)|0;if(c){C(c,0,80);N[a+736>>2]=c;N[c>>2]=i;m=(g|0)==((i<<2)+6|0);break b}N[a+736>>2]=0;c=64;break a}i=N[e>>2];c=e;m=0}x=T(i,24);o=N[a+12>>2];s=o>>>16|0;y=T(s,12);z=(i<<1)+3&-4;q=T(i,s);t=q<<2;c:{if(!e){e=((((T(i,5)+x|0)+z|0)+y|0)+t|0)+20|0;N[c+16>>2]=e;d:{if((e|0)<=0){c=6;if(!e){break d}break a}h=Qa[N[r+4>>2]](r,e)|0;if(!h){c=64;break a}C(h,0,e)}N[N[a+736>>2]+12>>2]=h;k=h+20|0;g=z+k|0;n=g+x|0;N[h+16>>2]=n;N[h+12>>2]=g;N[h+8>>2]=s;N[h+4>>2]=-1;N[h>>2]=i;e=n+y|0;e:{if(o>>>0<65536){break e}o=s>>>0<=1?1:s;u=o&3;c=e;if(o>>>0>=4){o=o&65532;while(1){N[n+T(d,12)>>2]=c;p=c;c=i<<2;p=p+c|0;N[n+T(d|1,12)>>2]=p;p=c+p|0;N[n+T(d|2,12)>>2]=p;p=c+p|0;N[n+T(d|3,12)>>2]=p;c=c+p|0;d=d+4|0;if((o|0)!=(d|0)){continue}break}}if(!u){break e}o=i<<2;while(1){N[n+T(d,12)>>2]=c;d=d+1|0;c=c+o|0;l=l+1|0;if((u|0)!=(l|0)){continue}break}}f:{if(!i){break f}l=i&7;d=e+t|0;g:{if(i-1>>>0<7){c=0;break g}e=i&-8;c=0;while(1){N[g+T(c,24)>>2]=d;N[g+T(c|1,24)>>2]=d+5;N[g+T(c|2,24)>>2]=d+10;N[g+T(c|3,24)>>2]=d+15;N[g+T(c|4,24)>>2]=d+20;N[g+T(c|5,24)>>2]=d+25;N[g+T(c|6,24)>>2]=d+30;N[g+T(c|7,24)>>2]=d+35;d=d+40|0;c=c+8|0;if((e|0)!=(c|0)){continue}break}}if(!l){break f}while(1){N[g+T(c,24)>>2]=d;c=c+1|0;d=d+5|0;v=v+1|0;if((l|0)!=(v|0)){continue}break}}d=P[j+28>>1]+w|0;e=N[f+20>>2];h:{if(e){c=85;if(!(Qa[e|0](f,d,0,0)|0)){break h}break a}c=85;if(d>>>0>Q[f+4>>2]){break a}}N[f+8>>2]=d;i:{j:{k:{if(!i){d=0;break k}d=N[h+12>>2];e=0;while(1){c=rb(f,27264,j+4|0);if(c){break a}c=N[j+4>>2];N[d+16>>2]=c;N[d+4>>2]=N[j+8>>2];N[d+8>>2]=N[j+12>>2];N[d+12>>2]=N[j+16>>2];N[d+20>>2]=P[j+22>>1];L[N[d>>2]]=c>>>24;L[N[d>>2]+1|0]=P[d+18>>1];L[N[d>>2]+2|0]=N[d+16>>2]>>>8;L[N[d>>2]+3|0]=N[d+16>>2];L[N[d>>2]+4|0]=0;M[k>>1]=P[j+20>>1];c=N[d+8>>2];if(!((c|0)>=N[d+4>>2]&(c|0)<=N[d+12>>2])){N[d+12>>2]=c;N[d+4>>2]=c}k=k+2|0;d=d+24|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}d=0;if((q|0)<0){c=6;break c}if(!q){break k}c=10;if((q|0)>536870911){break c}d=Qa[N[r+4>>2]](r,t)|0;if(!d|(q|0)<=0){break j}C(d,0,t)}c=N[a+736>>2];N[c+20>>2]=d;break i}c=N[a+736>>2];N[c+20>>2]=d;if(d){break i}c=!d<<6;break a}g=P[j+34>>1];if(g){if(!O[c+24|0]){d=N[f+8>>2];Wm(a);e=N[f+20>>2];l:{if(e){c=85;if(!(Qa[e|0](f,d,0,0)|0)){break l}break a}c=85;if(d>>>0>Q[f+4>>2]){break a}}N[f+8>>2]=d;c=N[a+736>>2]}u=i<<2;w=u+(m?6:4)|0;p=g>>>0<=1?1:g;l=N[h+16>>2];k=N[c+20>>2];o=0;while(1){c=Bb(f,w);if(c){break a}e=0;n=N[f+36>>2];c=N[f+32>>2];if(n>>>0>c+1>>>0){e=O[c+1|0]|O[c|0]<<8;c=c+2|0}N[l+4>>2]=e;d=c+((n>>>0>c+1>>>0)<<1)|0;N[f+32>>2]=d;if(i){c=N[l>>2];e=0;while(1){m:{if(n>>>0<=d+3>>>0){v=0;break m}q=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);v=q<<24|(q&65280)<<8|(q>>>8&65280|q>>>24);d=d+4|0}N[f+32>>2]=d;N[c>>2]=v;c=c+4|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}n:{if(!m){c=65535;break n}c=0;if(d+1>>>0>>0){c=O[d+1|0]|O[d|0]<<8;d=d+2|0}N[f+32>>2]=d}N[l+8>>2]=c;Vm(N[a+736>>2],i,N[l>>2],k);if(N[f+20>>2]){c=N[f>>2];if(c){d=N[f+28>>2];Qa[N[d+8>>2]](d,c)}N[f>>2]=0}k=k+u|0;N[f+32>>2]=0;N[f+36>>2]=0;l=l+12|0;o=o+1|0;if((p|0)!=(o|0)){continue}break}c=g}else{c=0}o:{if((c|0)==(s|0)){break o}c=17;d=N[a+540>>2];if(!(Qa[N[d+164>>2]](a,17,j+4|0,j)|0)){c=2;if(!(Qa[N[d+164>>2]](a,2,j+4|0,j)|0)){break o}}if(!(Qa[N[d+164>>2]](a,6,j+4|0,j)|0)){break o}d=N[h+16>>2]+T(g,12)|0;N[d+8>>2]=6;N[d+4>>2]=c;if(!i){break o}d=N[d>>2];c=N[h+12>>2];if(i-1>>>0>=7){f=i&-8;e=0;while(1){N[d>>2]=N[c+8>>2];N[d+4>>2]=N[c+32>>2];N[d+8>>2]=N[c+56>>2];N[d+12>>2]=N[c+80>>2];N[d+16>>2]=N[c+104>>2];N[d+20>>2]=N[c+128>>2];N[d+24>>2]=N[c+152>>2];N[d+28>>2]=N[c+176>>2];d=d+32|0;c=c+192|0;e=e+8|0;if((f|0)!=(e|0)){continue}break}}f=i&7;if(!f){break o}e=0;while(1){N[d>>2]=N[c+8>>2];d=d+4|0;c=c+24|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}l=0;g=La-16|0;La=g;m=N[a+736>>2];f=N[a+104>>2];k=N[f+28>>2];p:{if(Qa[N[a+516>>2]](a,1297498450,f,g+4|0)|0){break p}d=N[f+8>>2];N[g+8>>2]=0;if(Q[f+4>>2]<=d+1>>>0){break p}q:{r:{c=N[f+20>>2];s:{if(c){if((Qa[c|0](f,d,g+14|0,2)|0)!=2){break p}h=g+14|0;c=N[f+8>>2];break s}c=N[f>>2];if(!c){break r}h=c+d|0;c=d}e=O[h|0]|O[h+1|0]<<8;e=e<<8|e>>>8;break q}c=d;e=0}N[f+8>>2]=c+2;c=c+4|0;h=N[f+20>>2];t:{if(h){if(!(Qa[h|0](f,c,0,0)|0)){break t}break p}if(c>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=c;if((e&65535)!=1){break p}c=Qa[N[k+4>>2]](k,28)|0;if(c){L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[m+56>>2]=c;c=N[f+8>>2]+4|0;e=N[f+20>>2];u:{if(e){if(!(Qa[e|0](f,c,0,0)|0)){break u}break p}if(c>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=c;N[g+8>>2]=0;c=xb(f,g+8|0);M[N[m+56>>2]>>1]=c;if(N[g+8>>2]){break p}e=xb(f,g+8|0);if(N[g+8>>2]){break p}c=N[f+8>>2];d=Um(N[a+104>>2],N[a+736>>2],d+e|0,N[m+56>>2]+4|0);N[g+8>>2]=d;if(d){break p}e=lb(k,12,0,P[N[m+56>>2]>>1],0,g+8|0);d=N[m+56>>2];N[d+24>>2]=e;if(N[g+8>>2]){break p}e=N[f+20>>2];v:{if(e){if(Qa[e|0](f,c,0,0)|0){break p}d=N[m+56>>2];break v}if(c>>>0>Q[f+4>>2]){break p}}N[f+8>>2]=c;c=Bb(f,P[d>>1]<<3);N[g+8>>2]=c;if(c){break p}k=N[m+56>>2];c=P[k>>1];w:{if(!c){l=1;break w}d=N[k+24>>2];s=d+T(c,12)|0;e=N[f+32>>2];q=N[k+4>>2];n=N[f+36>>2];while(1){c=0;x:{if(n>>>0<=e+3>>>0){h=0;break x}h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);e=e+4|0}N[f+32>>2]=e;N[d>>2]=h;if(n>>>0>e+1>>>0){c=O[e|0]|O[e+1|0]<<8;c=c<<8|c>>>8;e=e+2|0}N[f+32>>2]=e;M[d+4>>1]=c;y:{if(n>>>0<=e+1>>>0){h=0;break y}h=O[e|0]|O[e+1|0]<<8;h=h<<8|h>>>8;e=e+2|0}N[f+32>>2]=e;M[d+6>>1]=h;c=c&65535;if(c>>>0>=q>>>0|Q[N[k+8>>2]+(c<<4)>>2]<=(h&65535)>>>0){break w}d=d+12|0;if(s>>>0>d>>>0){continue}break}l=1}if(N[f+20>>2]){c=N[f>>2];if(c){d=N[f+28>>2];Qa[N[d+8>>2]](d,c)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;if(!l){break p}c=N[m+56>>2];d=P[c>>1];if(d){c=N[c+24>>2];d=c+T(d,12)|0;while(1){e=Xm(a,N[c>>2]);if(e){M[c+8>>1]=P[e>>1]}c=c+12|0;if(d>>>0>c>>>0){continue}break}}N[a+740>>2]=N[a+740>>2]|256;break p}N[m+56>>2]=0}La=g+16|0}if(b){k=0;d=N[N[a+736>>2]+16>>2];z:{if((d|0)<=0){c=6;if(!d){break z}break a}k=Qa[N[r+4>>2]](r,d)|0;if(!k){c=64;break a}C(k,0,d)}a=N[a+736>>2];F(k,N[a+12>>2],N[a+16>>2]);c=(k+z|0)+20|0;g=x+c|0;N[k+16>>2]=g;N[k+12>>2]=c;f=g+y|0;m=N[k+8>>2];A:{if(!m){break A}a=0;d=0;e=f;if(m>>>0>=4){h=m&-4;while(1){N[g+T(d,12)>>2]=e;p=e;e=i<<2;l=p+e|0;N[g+T(d|1,12)>>2]=l;l=e+l|0;N[g+T(d|2,12)>>2]=l;l=e+l|0;N[g+T(d|3,12)>>2]=l;e=e+l|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}m=m&3;if(!m){break A}h=i<<2;while(1){N[g+T(d,12)>>2]=e;d=d+1|0;e=e+h|0;a=a+1|0;if((m|0)!=(a|0)){continue}break}}B:{if(!i){break B}d=f+t|0;if((i|0)!=1){f=i&1;g=i&-2;i=0;while(1){N[c>>2]=d;C:{D:{E:{a=N[c+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break E}if((a|0)!=1936486004){break C}e=9324;break D}e=9465;if((a|0)==2003265652){break D}if((a|0)!=2003072104){break C}e=14033;break D}e=15435}N[c>>2]=e}N[c+24>>2]=d+5;F:{G:{H:{I:{a=N[c+40>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break I}if((a|0)!=1936486004){break F}e=9324;break G}if((a|0)==2003072104){break H}e=9465;if((a|0)==2003265652){break G}break F}e=15435;break G}e=14033}N[c+24>>2]=e}c=c+48|0;d=d+10|0;i=i+2|0;if((g|0)!=(i|0)){continue}break}if(!f){break B}}N[c>>2]=d;J:{K:{L:{a=N[c+16>>2];if((a|0)<=2003072103){if((a|0)==1869640570){break L}if((a|0)!=1936486004){break B}e=9324;break J}if((a|0)==2003072104){break K}e=9465;if((a|0)==2003265652){break J}break B}e=15435;break J}e=14033}N[c>>2]=e}N[b>>2]=k}c=0;break a}N[N[a+736>>2]+20>>2]=0}La=j+48|0;return c|0}function BE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;k=N[c+80>>2];m=31;h=1;a=0;b=0;n=N[c+68>>2];if(!n){break b}f=0;break a}ba(22778,14165,169,12138);B()}f=1}while(1){c:{d:{e:{if(!f){a=O[m+259984|0]==10?b:a;d=m<<1;e=M[d+258944>>1]+257504|0;f=L[m+259232|0];m=O[(k+T(b,20)|0)+18|0];i=O[d+257216|0];if(m>>>0>=i>>>0){f=m>>>0>O[d+257217|0]?f:m-i|0}f=O[e+f|0];break e}if((m|0)==31){break d}b=n;f=M[(m<<1)+259696>>1]-1|0}m=O[f+259376|0];f=L[f+259536|0];f:{if(!f){break f}g:{h:{switch(f-1|0){case 1:g=b+1|0;break f;case 10:g=b+1|0;i:{if(g>>>0<=a>>>0){break i}i=k+3|0;e=h<<4|5;d=a;j=g-d&7;if(j){f=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(b-a>>>0<=6){break i}while(1){f=i+T(d,20)|0;L[f+32|0]=e;L[f+12|0]=e;L[f+52|0]=e;L[f+72|0]=e;L[f+92|0]=e;L[f+112|0]=e;L[f+132|0]=e;L[f+152|0]=e;f=d+7|0;d=d+8|0;if((b|0)!=(f|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 12:f=b-1|0;j:{if(a>>>0>=b>>>0){break j}i=k+3|0;e=h<<4;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break j}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 13:f=b-1|0;k:{if(a>>>0>=b>>>0){break k}i=k+3|0;e=h<<4|1;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break k}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 16:f=b-1|0;l:{if(a>>>0>=b>>>0){break l}i=k+3|0;e=h<<4|2;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break l}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 18:f=b-1|0;m:{if(a>>>0>=b>>>0){break m}i=k+3|0;e=h<<4|3;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break m}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 14:f=b-1|0;n:{if(a>>>0>=b>>>0){break n}i=k+3|0;e=h<<4|4;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break n}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 15:f=b-1|0;o:{if(a>>>0>=b>>>0){break o}i=k+3|0;e=h<<4|5;d=a;j=b-d&7;if(j){g=0;while(1){L[(i+T(d,20)|0)+12|0]=e;d=d+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}if((a^-1)+b>>>0<=6){break o}while(1){g=i+T(d,20)|0;L[g+32|0]=e;L[g+12|0]=e;L[g+52|0]=e;L[g+72|0]=e;L[g+92|0]=e;L[g+112|0]=e;L[g+132|0]=e;L[g+152|0]=e;d=d+8|0;if((d|0)!=(b|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;g=b;b=f;break f;case 0:b=g-1|0;p:{if(a>>>0>=g>>>0){break p}i=k+3|0;e=h<<4;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break p}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 2:b=g-1|0;q:{if(a>>>0>=g>>>0){break q}i=k+3|0;e=h<<4|1;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break q}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 6:b=g-1|0;r:{if(a>>>0>=g>>>0){break r}i=k+3|0;e=h<<4|2;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break r}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 7:b=g-1|0;s:{if(a>>>0>=g>>>0){break s}i=k+3|0;e=h<<4|3;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break s}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break f;case 3:b=g-1|0;t:{if(a>>>0>=g>>>0){break t}i=k+3|0;e=h<<4|4;f=a;j=g-f&7;if(j){d=0;while(1){L[(i+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break t}while(1){d=i+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;f=h+1|0;h=(f|0)==16?1:f;break f;case 5:u:{switch(l-1|0){case 0:b=g-1|0;v:{if(a>>>0>=g>>>0){break v}l=k+3|0;e=h<<4;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break v}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}l=1;f=h+1|0;h=(f|0)==16?1:f;break f;case 4:b=g-1|0;w:{if(a>>>0>=g>>>0){break w}l=k+3|0;e=h<<4|4;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break w}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;f=h+1|0;h=(f|0)==16?1:f;l=5;break f;case 5:break u;default:break f}}b=g-1|0;x:{if(a>>>0>=g>>>0){break x}l=k+3|0;e=h<<4|5;f=a;i=g-f&7;if(i){d=0;while(1){L[(l+T(f,20)|0)+12|0]=e;f=f+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+g>>>0<=6){break x}while(1){d=l+T(f,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;f=f+8|0;if((f|0)!=(g|0)){continue}break}}f=h+1|0;h=(f|0)==16?1:f;break g;case 17:l=1;g=b+1|0;break f;case 4:g=b+1|0;l=5;break f;case 11:break h;default:break f}}g=b+1|0}l=6}a=O[m+260128|0]!=9?a:0;b=b+1|0;if((n|0)!=(b|0)){break c}f=1;continue}n=N[c+68>>2];if(n){a=n-1|0;k=N[c+80>>2];e=k+3|0;b=0;f=O[k+15|0];while(1){y:{if((a|0)==(b|0)){b=n;break y}b=b+1|0;if((f|0)==O[(e+T(b,20)|0)+12|0]){continue}}break}a=0;while(1){d=N[c+68>>2];f=b;l=d>>>0>>0?d:f;i=l-a|0;z:{if(i>>>0<2){break z}g=N[c+144>>2]|32;N[c+144>>2]=g;if(a>>>0>=l>>>0){break z}b=-1;m=a;j=l+(a^-1)|0;if(j>>>0>=3){p=i&-4;d=0;while(1){h=k+T(m,20)|0;o=N[h+8>>2];b=b>>>0>>0?b:o;o=N[h+28>>2];b=b>>>0>>0?b:o;o=N[h+48>>2];b=b>>>0>>0?b:o;h=N[h+68>>2];b=b>>>0>>0?b:h;m=m+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}h=0;d=i&3;if(d){while(1){p=N[(k+T(m,20)|0)+8>>2];b=b>>>0

>>0?b:p;m=m+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(i&1){d=k+T(a,20)|0;if(N[d+8>>2]!=(b|0)){N[d+4>>2]=N[d+4>>2]|3}a=a+1|0}if(!j){break z}while(1){d=k+T(a,20)|0;if(N[d+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=k+T(a+1|0,20)|0;if(N[d+8>>2]!=(b|0)){g=g|32;N[c+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}a=f+1|0;a=a>>>0>>0?n:a;d=a-1|0;g=O[(e+T(f,20)|0)+12|0];b=f;while(1){A:{if((b|0)==(d|0)){b=a;break A}b=b+1|0;if((g|0)==O[(e+T(b,20)|0)+12|0]){continue}}break}a=f;if(f>>>0>>0){continue}break}}return 0}f=0;continue}}function rm(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;l=La-48|0;La=l;f=c+d|0;g=N[b+20>>2];a:{b:{if(g){d=85;if(!(Qa[g|0](b,f,0,0)|0)){break b}break a}d=85;if(f>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=f;d=Bb(b,e);if(d){break a}c:{d:{if(!e){break d}g=N[b+32>>2];h=g+e|0;d=L[g|0];j=d&255;if((d|0)<0){p=N[a+16>>2];r=N[a+28>>2];N[l>>2]=0;d=8;if((e|0)<=0){break c}f=g+1|0;k=N[r>>2];e:{if(!(j&64)){e=f;break e}if(e>>>0<2){break c}e=g+2|0;f=O[f|0];if(!f){break e}while(1){i=e+2|0;if(i>>>0>h>>>0){break c}e=i+O[e|0]|0;if(h>>>0>>0){break c}f=f-1|0;if(f){continue}break}}q=j&63;f=q+p|0;g=N[a+20>>2];f:{if(f>>>0<=g>>>0){f=N[a+24>>2];break f}i=f+3&-4;if(i>>>0>64){break c}f=lb(k,24,g,i,N[a+24>>2],l);N[a+24>>2]=f;d=N[l>>2];if(d){break c}N[a+20>>2]=i}if(q){f=T(p,24)+f|0;d=8;while(1){g=e+1|0;if(h>>>0>>0){break c}j=O[e|0];N[f>>2]=65536;if(j&16){g=e+3|0;if(h>>>0>>0){break c}e=O[e+1|0]|O[e+2|0]<<8;N[f>>2]=(e<<8|e>>>8)<<16>>16<<4}N[f+4>>2]=65536;g:{if(!(j&32)){e=g;break g}e=g+2|0;if(h>>>0>>0){break c}i=O[g|0]|O[g+1|0]<<8;N[f+4>>2]=(i<<8|i>>>8)<<16>>16<<4}k=0;g=0;h:{i:{switch((j&3)-1|0){case 0:i=e+2|0;if(i>>>0>h>>>0){break c}e=O[e|0]|O[e+1|0]<<8;g=(e<<8|e>>>8)<<16>>16;e=i;break h;case 1:break i;default:break h}}i=e+1|0;if(i>>>0>h>>>0){break c}g=L[e|0];e=i}j:{k:{switch((j>>>2&3)-1|0){case 0:i=e+2|0;if(i>>>0>h>>>0){break c}e=O[e|0]|O[e+1|0]<<8;k=(e<<8|e>>>8)<<16>>16;e=i;break j;case 1:break k;default:break j}}i=e+1|0;if(i>>>0>h>>>0){break c}k=L[e|0];e=i}N[f+12>>2]=k;N[f+8>>2]=g;l:{if(j&64){g=e+2|0;if(h>>>0>>0){break c}e=O[e+1|0]|O[e|0]<<8;break l}g=e+1|0;if(h>>>0>>0){break c}e=O[e|0]}N[f+20>>2]=e;m:{if(j<<24>>24<0){e=g+3|0;if(h>>>0>>0){break c}k=2;i=O[g+1|0]<<8|O[g|0]<<16;break m}e=g+2|0;if(h>>>0>>0){break c}k=1;i=O[g|0]<<8}N[f+16>>2]=i|O[g+k|0];N[a+16>>2]=N[a+16>>2]+1;f=f+24|0;m=m+1|0;if((q|0)!=(m|0)){continue}break}}if(N[b+20>>2]){d=N[b>>2];if(d){e=N[b+28>>2];Qa[N[e+8>>2]](e,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;d=0;e=N[a+16>>2];if((e|0)==(p|0)){break a}w=e-p|0;i=P[r+22>>1];q=N[a+24>>2];k=0;while(1){f=T(k,24);e=T(p,24);d=f+(e+q|0)|0;d=rm(a,b,c,N[d+16>>2],N[d+20>>2]);if(d){break a}h=i<<16>>16;i=M[r+22>>1];j=i-h|0;q=N[a+24>>2];f=f+(e+q|0)|0;o=N[f>>2];n:{if(!((o|0)==65536&N[f+4>>2]==65536)){if((j|0)<=0){break n}d=o>>31;m=(d^o)-d|0;x=m&65535;y=m>>>16|0;z=m>>>8|0;u=N[f+4>>2];d=u>>31;s=(d^u)-d|0;A=s&65535;B=s>>>16|0;C=s>>>8|0;d=N[r+24>>2]+(h<<3)|0;e=N[f+12>>2];g=N[f+8>>2];f=0;while(1){t=N[d>>2];h=t>>31;h=(h^t)-h|0;o:{if(h+z>>>0<=8190){n=T(h,m)+32768>>>16|0;break o}n=h&65535;n=T(n,y)+T(m,h>>>16|0)+(T(n,x)+32768>>>16)|0}h=n;v=0-h|0;h=t>>31|1;N[d>>2]=((((o|0)<0?0-h|0:h)|0)<0?v:n)+g;t=N[d+4>>2];h=t>>31;h=(h^t)-h|0;p:{if(h+C>>>0<=8190){n=T(h,s)+32768>>>16|0;break p}n=h&65535;n=T(n,B)+T(s,h>>>16|0)+(T(n,A)+32768>>>16)|0}h=n;v=0-h|0;h=t>>31|1;N[d+4>>2]=((((u|0)<0?0-h|0:h)|0)<0?v:n)+e;d=d+8|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}break n}if((j|0)<=0){break n}d=N[r+24>>2]+(h<<3)|0;e=N[f+12>>2];g=N[f+8>>2];if((h^-1)+i>>>0>=3){h=j&-4;f=0;while(1){N[d>>2]=g+N[d>>2];N[d+4>>2]=e+N[d+4>>2];N[d+8>>2]=g+N[d+8>>2];N[d+16>>2]=g+N[d+16>>2];N[d+24>>2]=g+N[d+24>>2];N[d+12>>2]=e+N[d+12>>2];N[d+20>>2]=e+N[d+20>>2];N[d+28>>2]=e+N[d+28>>2];d=d+32|0;f=f+4|0;if((h|0)!=(f|0)){continue}break}}f=0;j=j&3;if(!j){break n}while(1){N[d>>2]=g+N[d>>2];N[d+4>>2]=e+N[d+4>>2];d=d+8|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}d=0;k=k+1|0;if((w|0)!=(k|0)){continue}break}break a}N[l+44>>2]=0;d=8;if((e|0)<=0){break c}k=N[N[a+28>>2]>>2];q:{if(j&4){if(e>>>0<2){break c}f=g+2|0;c=O[g+1|0];r=c>>>4|0;p=c&15;break q}if(j&2){if(e>>>0<2){break c}p=O[g+1|0];c=g+2|0}else{c=g+1|0}if(!(j&1)){f=c;break q}f=c+1|0;if(h>>>0>>0){break c}r=O[c|0]}g=p+r|0;c=N[a+4>>2];r:{s:{if(g>>>0>c>>>0){d=c;c=g+7&1016;m=lb(k,4,d,c,N[a+8>>2],l+44|0);N[a+8>>2]=m;d=N[l+44>>2];if(d){break c}N[a+4>>2]=c;N[a+12>>2]=(p<<2)+m;q=a+12|0;break s}m=N[a+8>>2];N[a+12>>2]=m+(p<<2);q=a+12|0;if(!g){break r}}c=0;d=0;while(1){t:{if(d&7){e=f;break t}e=f+1|0;if(h>>>0>>0){break d}c=O[f|0]}n=(d<<2)+m|0;u:{if(c&1){f=e+2|0;if(h>>>0>>0){break d}e=O[e|0]|O[e+1|0]<<8;i=(e<<8|e>>>8)<<16>>16;break u}f=e+1|0;if(h>>>0>>0){break d}i=O[e|0]+i|0}N[n>>2]=i;c=c>>>1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=8;v:{if(!(j&8)){e=f;break v}e=f+1|0;if(h>>>0>>0){break c}c=O[f|0];if(c){while(1){f=e+2|0;if(f>>>0>h>>>0){break c}e=f+O[e|0]|0;if(h>>>0>>0){break c}c=c-1|0;if(c){continue}break}}N[l+44>>2]=0}L[a+32|0]=0;N[l+24>>2]=0;N[l+28>>2]=0;N[l>>2]=0;N[l+4>>2]=0;m=l+16|0;s=l|8;i=0;f=0;while(1){c=e+1|0;if(h>>>0>>0){break d}j=O[e|0];e=j&15;d=l;k=1;g=0;w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{o=j>>>4|0;switch(o|0){case 0:break y;case 1:case 4:case 5:break z;case 7:break B;case 6:break C;case 3:break E;case 2:break F;default:break A}}if(e>>>0>=p>>>0){break d}N[l>>2]=N[N[a+8>>2]+(e<<2)>>2];break D}if(e>>>0>=r>>>0){break d}N[l>>2]=f;i=N[N[q>>2]+(e<<2)>>2]}N[l+4>>2]=i;i=N[l+4>>2];f=N[l>>2];N[l+24>>2]=f;N[l+28>>2]=i;break w}e=2958;k=3;break z}e=3627;k=3;break z}k=4}while(1){G:{H:{switch(e&3){case 0:j=c+1|0;if(j>>>0>h>>>0){break d}c=O[c|0];if(c>>>0>=p>>>0){break d}f=N[N[a+8>>2]+(c<<2)>>2];c=j;break G;case 1:j=c+2|0;if(j>>>0>h>>>0){break d}c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)<<16>>16;c=j;break G;case 2:break H;default:break G}}j=c+1|0;if(j>>>0>h>>>0){break d}f=L[c|0]+f|0;c=j}N[d>>2]=f;I:{J:{switch(e>>>2&3){case 0:f=c+1|0;if(f>>>0>h>>>0){break d}c=O[c|0];if(c>>>0>=r>>>0){break d}i=N[N[q>>2]+(c<<2)>>2];c=f;break I;case 1:f=c+2|0;if(f>>>0>h>>>0){break d}c=O[c|0]|O[c+1|0]<<8;i=(c<<8|c>>>8)<<16>>16;c=f;break I;case 2:break J;default:break I}}f=c+1|0;if(f>>>0>h>>>0){break d}i=L[c|0]+i|0;c=f}N[d+4>>2]=i;K:{if(!((k|0)!=4|g)){f=c+1|0;if(f>>>0>h>>>0){break d}e=O[c|0];k=3;c=f;break K}e=e>>>4|0}i=N[d+4>>2];f=N[d>>2];N[l+24>>2]=f;N[l+28>>2]=i;d=d+8|0;g=g+1|0;if(k>>>0>g>>>0){continue}break}L:{switch(o|0){case 4:case 5:e=N[a+28>>2];M:{if(!O[a+32|0]){break M}j=M[e+58>>1];d=j-1|0;g=P[e+56>>1];k=g<<16>>16;if((k|0)<=0){g=0}else{g=M[(N[e+68>>2]+(g<<1)|0)-2>>1]}N:{if((d|0)<=(g|0)){break N}o=N[e+60>>2];u=o+(g<<3)|0;o=o+(d<<3)|0;if(N[u>>2]!=N[o>>2]|N[u+4>>2]!=N[o+4>>2]){break N}M[e+58>>1]=j-1;d=j-2|0}if((d|0)<(g|0)){break M}M[e+56>>1]=k+1;M[N[e+68>>2]+(k<<1)>>1]=d}L[a+32|0]=1;d=M[e+58>>1];g=(d+M[e+22>>1]|0)+1|0;k=N[e+4>>2];if(!(g>>>0<=k>>>0&Q[e+8>>2]>=(M[e+20>>1]+M[e+56>>1]|0)+1>>>0)){d=Sb(e,1,1);if(d){break x}if(!O[a+32|0]){d=8;break x}e=N[a+28>>2];d=M[e+58>>1];g=(d+M[e+22>>1]|0)+1|0;k=N[e+4>>2]}if(g>>>0>k>>>0){d=Sb(e,1,0);if(d){break x}d=M[e+58>>1]}j=N[l+4>>2];g=N[e+60>>2]+(d<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=j;L[N[e- -64>>2]+d|0]=1;M[e+58>>1]=P[e+58>>1]+1;d=0;break x;case 1:case 2:case 3:break w;case 0:break y;default:break L}}if(O[a+32|0]){d=N[a+28>>2];e=M[d+58>>1];O:{if(Q[d+4>>2]<(M[d+22>>1]+e|0)+3>>>0){e=Sb(d,3,0);if(e){break O}e=M[d+58>>1]}j=N[d- -64>>2];k=N[l+4>>2];g=N[d+60>>2]+(e<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=k;k=N[s+4>>2];N[g+8>>2]=N[s>>2];N[g+12>>2]=k;k=N[m+4>>2];N[g+16>>2]=N[m>>2];N[g+20>>2]=k;e=e+j|0;L[e+2|0]=1;L[e|0]=2;L[e+1|0]=2;M[d+58>>1]=P[d+58>>1]+3;e=0}d=e}else{d=8}break x}e=N[a+28>>2];if(O[a+32|0]){f=M[e+58>>1];d=f-1|0;c=P[e+56>>1];i=c<<16>>16;if((i|0)<=0){c=0}else{c=M[(N[e+68>>2]+(c<<1)|0)-2>>1]}P:{if((d|0)<=(c|0)){break P}g=N[e+60>>2];j=g+(c<<3)|0;g=g+(d<<3)|0;if(N[j>>2]!=N[g>>2]|N[j+4>>2]!=N[g+4>>2]){break P}M[e+58>>1]=f-1;d=f-2|0}if((c|0)<=(d|0)){M[e+56>>1]=i+1;M[N[e+68>>2]+(i<<1)>>1]=d}L[a+32|0]=0}bf(e);d=0;break c}N[l+44>>2]=d;e=c;if(!d){continue}break c}e=c;Q:{if(!O[a+32|0]){d=8;break Q}c=N[a+28>>2];d=M[c+58>>1];if((d+M[c+22>>1]|0)+1>>>0>Q[c+4>>2]){d=Sb(c,1,0);if(d){break Q}d=M[c+58>>1]}j=N[l+4>>2];g=N[c+60>>2]+(d<<3)|0;N[g>>2]=N[l>>2];N[g+4>>2]=j;L[N[c- -64>>2]+d|0]=1;M[c+58>>1]=P[c+58>>1]+1;d=0}N[l+44>>2]=d;if(!d){continue}break}break c}d=8}if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}La=l+48|0;return d}function xo(a,b,c,d,e){var 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,t=0,u=0;k=La-48|0;La=k;if(!(a&1)){o=a;a=N[a>>2]}q=a>>>1&32767;f=a>>>16|0;N[k+40>>2]=0;N[k+44>>2]=0;a:{if(!b){break a}a=N[b>>2];if(!a){break a}l=N[c>>2];if(!l){break a}r=q+441617|0;s=f+441617|0;m=O[q+441616|0];n=O[f+441616|0];t=N[147600];N[147600]=581216;b:{c:{while(1){d:{f=O[a|0];i=f<<24>>24;e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{j=n&255;switch(j-192|0){case 40:break m;case 32:break o;case 24:case 25:break q;case 26:break r;case 18:break s;case 16:break t;case 17:break u;case 11:break v;case 10:case 12:break w;case 1:case 2:case 4:case 5:break x;case 0:case 3:break z;case 6:break A;case 7:break B;case 8:break C;default:break l}}g=1;if((i|0)>=0){break g}h=25;g=fo(k+36|0,a,l,k+40|0);switch(g+2|0){case 0:break j;case 1:break c;default:break k}}g=1;if((i|0)>=0){break g}break d}if(l>>>0<4){break j}f=N[a>>2];break y}if(l>>>0<4){break j}f=eo(a,j)}h=25;if(f>>>0>1114111){break c}g=4;if((f&-2048)!=55296){break g}break c}if(l>>>0<2){break j}h=25;f=j&1;f=O[f+a|0]<<8|O[!f+a|0];i=f&64512;if((i|0)!=55296){g=2;if((i|0)!=56320){break g}break c}if((j&254)==196){break c}if(l>>>0<4){break j}g=j&1;a=a+2|0;a=(O[g+a|0]<<8|O[a+!g|0])-56320|0;if(a>>>0>1023){break c}f=(a+(f<<10)|0)-56557568|0;g=4;break g}g=0;n=N[o+4>>2];if(n){break e}if(l>>>0<2){break j}f=O[a+1|0]|O[a|0]<<8;a=(f|0)==65534;n=(j|0)==204?a?197:196:a?193:194;N[o+4>>2]=n;g=a?2:((f|0)==65279)<<1;break e}g=0;n=N[o+4>>2];if(n){break e}if(l>>>0<4){break j}a=eo(a,0);f=(a|0)==-131072;n=f?195:192;N[o+4>>2]=n;g=f?4:((a|0)==65279)<<2;break e}g=1;if((i|0)>=0){break g}if(f-161>>>0<=62){f=f+65216|0;break g}if(l>>>0<2){break j}g=O[a+1|0];a=f-129|0;if(a>>>0>=31){if((f&240)!=224){break d}a=f-193|0}i=a<<1;a=g+-64|0;D:{if(a>>>0<=94){if((g|0)==127){break d}a=a+(g<<24>>31)|0;break D}a=g-159|0;f=a>>>0<94;i=f|i;a=f?a:g}f=P[(T(i,188)+(a<<1)|0)+504752>>1];break h}g=1;if((i|0)>=0){break g}if(l>>>0<2){break j}a=O[a+1|0];if((i|0)==-114){if(a-224>>>0<4294967233){break d}f=a+65216|0;g=2;break g}h=25;f=f-161|0;if(f>>>0>83){break c}a=a-161|0;if(a>>>0>93){break c}f=P[(T(f,188)+(a<<1)|0)+504752>>1];break n}h=25;if((i|0)<0){break c}if((i|0)==27){if(l>>>0<3){break j}E:{f=O[a+1|0];switch(f-36|0){case 0:case 4:break E;default:break c}}F:{G:{H:{I:{J:{a=O[a+2|0]+(((f|0)==36)<<7)|0;switch(a-73|0){case 0:break H;case 1:break I;default:break J}}K:{switch(a-192|0){case 1:break c;case 2:break F;case 0:break G;default:break K}}if((a|0)!=66){break c}N[o+4>>2]=0;break i}N[o+4>>2]=1;break i}N[o+4>>2]=4;break i}N[o+4>>2]=2;break i}g=3;N[o+4>>2]=3;n=210;break e}g=1;L:{switch(N[o+4>>2]-1|0){case 0:a=(i|0)==92?165:f;f=(a|0)==126?8254:a;break g;case 1:case 2:if(l>>>0<2){break j}f=f-33|0;if(f>>>0>83){break c}a=O[a+1|0]-33|0;if(a>>>0>93){break c}f=P[(T(f,188)+(a<<1)|0)+504752>>1];break n;case 3:break L;default:break g}}if(f-96>>>0<31){break c}f=f-33>>>0<94?f+65344|0:f;break g}g=1;if((i|0)>=0){break g}if(i>>>0<4294967201){break d}break p}g=1;if((i|0)>=0){break g}}h=25;g=f-129|0;if(g>>>0>125){break c}if(l>>>0<2){break j}f=O[a+1|0];if((j|0)==218&f>>>0<=160){break c}M:{if((f|0)!=127){i=f+-64|0;if(i>>>0<191){break M}}if((j|0)!=216|f-58>>>0<4294967286){break c}if(l>>>0<4){break j}i=O[a+2|0]-129|0;if(i>>>0>126){break c}a=O[a+3|0]-48|0;if(a>>>0>9){break c}f=(a+(T(f+T(g,10)|0,1260)+T(i,10)|0)|0)-60352|0;h=0;while(1){g=f-h|0;j=0;i=0;while(1){a=0;while(1){i=(g>>>0>=P[(T(j,380)+(a<<1)|0)+446512>>1]-h>>>0)+i|0;a=a+1|0;if((a|0)!=190){continue}break}j=j+1|0;if((j|0)!=126){continue}break}g=4;h=f+1|0;f=f+i|0;if(h>>>0<=f>>>0){continue}break}break g}f=P[(T(g,380)+((i>>>0>63?f-65|0:i)<<1)|0)+446512>>1];g=2;break g}g=1;if((i|0)>=0){break g}if(l>>>0<2){break j}h=25;a=O[a+1|0];g=a+-64|0;if(g>>>0>190|a-127>>>0<34){break c}a=g>>>0>62?a-98|0:g;g=f-161|0;if(g>>>0>=89){g=f-135|0;if(g>>>0>119){break c}a=a+T(i>>>0<4294967201?g:f-224|0,157)|0;g=P[(a<<1)+494400>>1];f=g|P[(a>>>3&536870910)+504134>>1]>>>(a&15)<<17&131072;if((f&196352)!=56320){break n}a=k+28|0;N[k+24>>2]=a;f=ki(21381);N[k+16>>2]=4;N[k+20>>2]=(g&255)+7721;N[k+12>>2]=8;f=xo(q<<1|f<<16|1,k+20|0,k+16|0,k+24|0,k+12|0);g=N[e>>2];a=N[k+24>>2]-a|0;if(g>>>0>>0){break f}h=N[d>>2];Pc(h,k+28|0,a);N[d>>2]=a+h;N[e>>2]=g-a;p=((f|0)!=0)+p|0;n=224;g=2;break e}f=P[(T(g,314)+(a<<1)|0)+520544>>1];N:{O:{if((g|0)!=39){break O}i=131072;P:{switch(a-58|0){case 0:case 2:break N;case 1:break O;default:break P}}if((a|0)==66){break N}}i=0}f=f|i}g=2;if(f){break g}break c}g=1;if((i|0)>=0){break g}if(l>>>0<2){break j}a=O[a+1|0];Q:{j=f-161|0;if(j>>>0<=92){g=a-161|0;if(g>>>0<94){break Q}}h=25;f=f-129|0;if(f>>>0>92|a>>>0>82&f>>>0>=69){break c}i=a-65|0;R:{if(i>>>0<26){break R}if(a-97>>>0<=25){i=a-71|0;break R}if(a-129>>>0>125){break c}i=a-77|0}h=44032;g=2;f=((f>>>0<32?T(f,178):T(j,84)+5696|0)+i|0)+44032|0;if(f>>>0<44032){break g}while(1){u=f-h|0;j=0;i=0;while(1){a=0;while(1){i=(P[(T(j,188)+(a<<1)|0)+548496>>1]-h>>>0<=u>>>0)+i|0;a=a+1|0;if((a|0)!=94){continue}break}j=j+1|0;if((j|0)!=93){continue}break}h=f+1|0;f=f+i|0;if(h>>>0<=f>>>0){continue}break}break g}f=P[(T(j,188)+(g<<1)|0)+548496>>1];break h}g=1;if(!i){f=0;break g}f=ji(s,f);if(!f){break d}break g}f=N[k+36>>2];break g}h=28;break c}n=210;g=3;break e}g=2;if(!f){break d}}S:{T:{U:{V:{W:{switch(m-192|0){case 6:a=N[e>>2];if(a>>>0<4){break f}h=N[d>>2];N[h>>2]=f;N[d>>2]=h+4;N[e>>2]=a-4;m=198;break e;case 8:h=N[e>>2];X:{if(h>>>0<=3){a=pg(k+28|0,f);if(h>>>0>>0){break f}j=N[d>>2];Pc(j,k+28|0,a);break X}j=N[d>>2];a=pg(j,f)}N[d>>2]=a+j;N[e>>2]=h-a;m=200;break e;case 7:if(f>>>0<128){break V}break U;case 17:if(f>>>0<128){break S}Y:{if((f|0)!=8254){if((f|0)!=165){break Y}p=p+1|0;f=92;break S}p=p+1|0;f=126;break S}if(f-65377>>>0<=62){f=f-65216|0;break S}a=ii(f);if(!a){break U}h=N[e>>2];if(h>>>0<2){break f}f=N[d>>2];L[f|0]=((a>>>8|0)+1>>>1|0)+(a>>>0<24320?112:176);N[d>>2]=f+2;i=f;f=a&255;L[i+1|0]=a&256?(((f>>>0)/96|0)+f|0)+31|0:f+126|0;N[e>>2]=h-2;m=209;break e;case 16:if(f>>>0<128){break S}Z:{if(f-65377>>>0<=62){a=f-61760|0;break Z}a=ii(f);if(!a){break U}}h=N[e>>2];if(h>>>0<2){break f}f=N[d>>2];L[f|0]=a>>>8^128;N[d>>2]=f+2;L[f+1|0]=a^128;N[e>>2]=h-2;m=208;break e;case 18:if(f>>>0<128){break S}if(!(!((f|0)==8254|f-65377>>>0<63)&(f|0)!=165)){h=N[e>>2];if(h>>>0<7){break f}a=N[d>>2];L[a|0]=27;L[a+1|0]=40;_:{$:{if((f|0)!=8254){if((f|0)!=165){break $}L[a+2|0]=74;L[a+3|0]=92;break _}L[a+2|0]=74;L[a+3|0]=126;break _}L[a+2|0]=73;L[a+3|0]=f+-64}L[a+4|0]=27;L[a+5|0]=40;N[d>>2]=a+7;L[a+6|0]=66;N[e>>2]=h-7;m=210;break e}h=ii(f);if(!h){break U}f=N[e>>2];if(f>>>0<8){break f}a=N[d>>2];L[a+5|0]=27;L[a+6|0]=40;L[a+4|0]=h;L[a+3|0]=h>>>8;L[a+2|0]=66;L[a|0]=27;L[a+1|0]=36;N[d>>2]=a+8;L[a+7|0]=66;N[e>>2]=f-8;m=210;break e;case 12:m=196;case 1:case 2:case 4:case 5:case 10:if(!((m&254)!=196&f>>>0>=65536)){h=N[e>>2];if(h>>>0<2){break f}i=m&1;a=N[d>>2];f=f>>>0>65535?65533:f;L[i+a|0]=f>>>8;L[a+!i|0]=f;N[d>>2]=a+2;N[e>>2]=h-2;break e}i=N[e>>2];if(i>>>0<4){break f}a=m&1;h=N[d>>2];j=f-65536>>>10|55296;L[a+h|0]=j>>>8;L[h+!a|0]=j;j=h+2|0;f=f&1023|56320;L[j+a|0]=f>>>8;L[j+!a|0]=f;N[d>>2]=h+4;N[e>>2]=i-4;break e;case 11:m=192;break;case 0:case 3:break W;default:break V}}i=N[e>>2];if(i>>>0<4){break f}h=m&3;a=N[d>>2];L[h+a|0]=f>>>24;L[a+(h^1)|0]=f>>>16;L[a+(h^2)|0]=f>>>8;L[a+(h^3)|0]=f;N[d>>2]=a+4;N[e>>2]=i-4;break e}a=1;break T}a=0}while(1){if(!a){p=p+1|0;f=42;a=1;continue}if(!N[e>>2]){break f}if(f>>>0<=255){if((ji(r,f)|0)==(f|0)){break S}}if(m>>>0<=63){a=m<<2;h=a>>>0<=255?255:a;while(1){if((ji(r,a)|0)==(f|0)){f=a;break S}i=(a|0)==(h|0);a=a+1|0;if(!i){continue}break}}a=0;continue}}a=N[e>>2];if(!a){break f}h=N[d>>2];N[d>>2]=h+1;L[h|0]=f;N[e>>2]=a-1;break e}h=1;break c}a=N[b>>2]+g|0;N[b>>2]=a;l=l-g|0;N[c>>2]=l;if(l){continue}break b}break}h=25}N[147316]=h;p=-1}N[147600]=t}La=k+48|0;return p}function He(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0;g=La-1104|0;La=g;a:{b:{c:{d:{e:{f:{g:{k=N[b+68>>2];h:{if(!k){e=1;break h}N[b+144>>2]=0;L[b+61|0]=0;M[b+140>>1]=0;i:{if(k>>>0>67108863){break i}e=k<<6;N[b+148>>2]=e>>>0<=16384?16384:e;if(k>>>0>4194303){break i}e=k<<10;N[b+152>>2]=e>>>0<=16384?16384:e}if(O[b+16|0]&32){m=db(1,172);j:{if(!m){m=588184;break j}N[m+148>>2]=1073741823;N[m+152>>2]=536870911;N[m>>2]=1;N[m+4>>2]=1;k=Ic();k:{if(!k){break k}e=N[k>>2];if(!e){break k}if((e|0)<=0){break b}N[k>>2]=e+1}L[m+60|0]=1;N[m+24>>2]=65533;N[m+12>>2]=k}Ld(m,b,0,-1)}s=b+40|0;D=N[a+84>>2];o=N[a+88>>2];x=N[a+24>>2];l:{if(N[x>>2]>0){u=g+108|0;while(1){k=N[x+208>>2];if(!pq(g+80|0,0,x,s,c,d,o,D)){f=275552;break l}if(k){t=N[g+116>>2];z=N[g+100>>2];A=N[g+104>>2];w=N[g+96>>2];y=N[g+92>>2];v=N[g+88>>2];q=N[g+84>>2];p=N[g+80>>2];e=k;while(1){m:{f=N[e>>2];if(N[f+16>>2]!=(p|0)|N[f+20>>2]!=(q|0)|(N[f+24>>2]!=(v|0)|N[f+28>>2]!=(y|0))){break m}if((w|0)!=N[f+32>>2]|(A|0)!=N[f+40>>2]){break m}if(A){n=N[f+36>>2];if(N[n>>2]!=N[z>>2]){break m}r=0;i=0;if(N[n+4>>2]!=N[z+4>>2]){break m}while(1){n:{o:{p:{l=i<<4;h=l+n|0;if(!N[h+8>>2]){j=N[h+12>>2];h=l+z|0;if(!N[h+8>>2]){break p}if((j|0)!=-1){break o}break n}h=l+z|0;if(N[h+8>>2]|N[h+12>>2]!=-1){break o}break n}if((j|0)==-1^N[h+12>>2]==-1){break n}}i=i+1|0;r=A>>>0<=i>>>0;if((i|0)==(A|0)){break n}h=i<<4;j=h+n|0;h=h+z|0;if(N[j>>2]!=N[h>>2]){break n}if(N[j+4>>2]==N[h+4>>2]){continue}}break}if(!r){break m}}if(Mb(f+44|0,u,8)|(t|0)!=N[f+52>>2]){break m}e=N[f>>2];if(!e){break l}if((e|0)>0){N[f>>2]=e+1;break l}break b}e=N[e+4>>2];if(e){continue}break}}f=oq(x,s,c,d,o,D);e=db(1,8);if(!e){break l}N[e+4>>2]=k;N[e>>2]=f;if((k|0)==N[x+208>>2]){N[x+208>>2]=e;if(!f){f=0;break l}e=N[f>>2];if(!e){break l}if((e|0)<=0){break b}N[f>>2]=e+1;break l}pj(f);_a(e);if(N[x>>2]>0){continue}break}}f=oq(x,s,c,d,o,D)}q:{r:{if(!N[b+68>>2]){break r}if(!N[b+4>>2]){break g}i=1;if(N[b+36>>2]!=1){break a}k=0;if(N[f>>2]<=0){break q}if(N[f+12>>2]!=N[a+24>>2]){break f}if(N[f+16>>2]!=N[s>>2]|N[f+20>>2]!=N[b+44>>2]|(N[f+24>>2]!=N[b+48>>2]|N[f+28>>2]!=N[b+52>>2])){break e}if(N[f+32>>2]!=N[b+56>>2]){break e}e=N[f+52>>2];if((e|0)==290){if(!N[a+112>>2]){if(!N[a+108>>2]){break q}N[a+112>>2]=1}sq(f,a,b,c,d);break r}if((e|0)!=291){break q}if(!N[a+116>>2]){if(!N[a+108>>2]){break q}N[a+116>>2]=1}qq(e,a,b,e,e)}k=1;i=0;if(N[b+36>>2]!=1){break q}N[b+36>>2]=2}if(N[b+152>>2]<=0){L[b+61|0]=1}pj(f);s:{if(!m){e=k;break s}e=0;t:{if(i){break t}if(!O[b+60|0]){e=k;break t}if(O[b+61|0]){e=k;break t}if(!O[m+60|0]){e=k;break t}p=1;e=1;i=N[b+20>>2];u:{if(i>>>0>1){break u}v=N[b+68>>2];if(v>>>0>=2){q=N[b+80>>2];f=N[q+8>>2];j=(N[b+40>>2]&-3)==4;v:{while(1){h=f;f=N[(q+T(e,20)|0)+8>>2];if(!((h|0)!=(f|0)&!(j^f>>>0<=h>>>0))){e=e+1|0;if((v|0)!=(e|0)){continue}break v}break}p=0;Zd(b,a,22206,0);i=N[b+20>>2]}e=1;if(i>>>0>1){break u}}f=Xe(b);if(N[f+4>>2]){N[f+16>>2]=N[f+16>>2]&-33}l=Xe(b);if(N[l+4>>2]){N[l+16>>2]=N[l+16>>2]&-33}w=N[b+68>>2];w:{if(w-1>>>0<=4294967293){y=N[m+80>>2];t=N[b+80>>2];u=(N[b+40>>2]&-3)!=4;v=u?-1:0;r=1;j=N[m+68>>2];e=u?j:0;i=e;while(1){x:{if(r>>>0>>0){h=t+T(r,20)|0;if(L[(t+T(r+v|0,20)|0)+4|0]&1|N[h+8>>2]==N[h-12>>2]){break x}}y:{if((r|0)==(w|0)){e=u?0:e;i=u?i:j;break y}if(!u){if(i>>>0>=j>>>0){break y}h=N[(t+T(r,20)|0)+8>>2];while(1){if(h>>>0<=Q[(y+T(i,20)|0)+8>>2]){break y}i=i+1|0;if((j|0)!=(i|0)){continue}break}i=j;break y}q=N[(t+T(r,20)|0)-12>>2];while(1){h=e;if(!e){e=0;break y}e=h-1|0;if(q>>>0<=Q[(y+T(e,20)|0)+8>>2]){continue}break}e=h}if(e>>>0>=i>>>0){break d}if(N[f+4>>2]){N[f+36>>2]=0;N[f+40>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;L[f+60|0]=1;L[f+68|0]=0;L[f+69|0]=0;L[f+70|0]=0;L[f+71|0]=0;L[f+72|0]=0;L[f+73|0]=0;L[f+74|0]=0;L[f+75|0]=0;L[f+61|0]=0;L[f+62|0]=0;L[f+63|0]=0;L[f+64|0]=0;L[f+65|0]=0;L[f+66|0]=0;L[f+67|0]=0;L[f+68|0]=0;N[f+144>>2]=0;N[f+84>>2]=N[f+80>>2];M[f+140>>1]=0;N[f+132>>2]=0;N[f+136>>2]=0;N[f+124>>2]=0;N[f+128>>2]=0;N[f+116>>2]=0;N[f+120>>2]=0;N[f+108>>2]=0;N[f+112>>2]=0;N[f+100>>2]=0;N[f+104>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;h=N[f+16>>2];h=e?h&-2:h;N[f+16>>2]=i>>>0>>0?h&-3:h}Ld(f,m,e,i);if(!He(a,f,c,d)){Zd(b,a,22058,0);e=0;break w}if(!(O[f+61|0]?0:O[f+60|0])){dc(l);dc(f);e=1;break u}Ld(l,f,0,-1);i=u?e:i;e=i}r=r+1|0;if(r>>>0>>0){continue}break}}e=vl(l,b)&-65;if(e){Zd(b,a,22305,0);if(N[b+4>>2]){N[b+132>>2]=0;N[b+136>>2]=0;N[b+36>>2]=0;N[b+68>>2]=0}Ld(b,l,0,-1)}e=!e}dc(l);dc(f)}w=e&p;z:{if(O[b+16|0]&64){r=1;if(Q[b+20>>2]<=1){o=Xe(b);N[g+72>>2]=o;n=Xe(b);N[g+76>>2]=n;if(N[o+4>>2]){N[o+16>>2]=N[o+16>>2]&-33}if(N[n+4>>2]){N[n+16>>2]=N[n+16>>2]&-33}l=Xe(b);if(N[l+4>>2]){N[l+16>>2]=N[l+16>>2]&-33}N[g+96>>2]=N[s+16>>2];e=N[s+12>>2];N[g+88>>2]=N[s+8>>2];N[g+92>>2]=e;e=N[s+4>>2];N[g+80>>2]=N[s>>2];N[g+84>>2]=e;if(N[o+4>>2]){f=N[s+8>>2];j=N[s+12>>2];h=N[s>>2];e=N[s+4>>2];N[o+56>>2]=N[s+16>>2];N[o+48>>2]=f;N[o+52>>2]=j;N[o+40>>2]=h;N[o+44>>2]=e}if(N[n+4>>2]){e=N[g+84>>2];N[n+40>>2]=N[g+80>>2];N[n+44>>2]=e;N[n+56>>2]=N[g+96>>2];e=N[g+92>>2];N[n+48>>2]=N[g+88>>2];N[n+52>>2]=e}if(N[l+4>>2]){e=N[g+84>>2];N[l+40>>2]=N[g+80>>2];N[l+44>>2]=e;N[l+56>>2]=N[g+96>>2];e=N[g+92>>2];N[l+48>>2]=N[g+88>>2];N[l+52>>2]=e}q=N[m+80>>2];j=N[m+68>>2];v=N[b+80>>2];u=N[b+68>>2];y=N[b+40>>2]&-3;if((y|0)!=4){We(b)}if(u-1>>>0<4294967294){f=1;t=0;e=0;p=0;while(1){A:{if(f>>>0>>0){h=v+T(f,20)|0;if(N[h+8>>2]==N[h-12>>2]|O[h+4|0]&2){break A}}h=j;B:{if((f|0)==(u|0)){break B}h=e;if(e>>>0>=j>>>0){break B}i=N[(v+T(f,20)|0)+8>>2];while(1){h=e;if(i>>>0<=Q[(q+T(e,20)|0)+8>>2]){break B}e=e+1|0;if((j|0)!=(e|0)){continue}break}h=j}if(h>>>0<=p>>>0){break c}Ld(N[(g+72|0)+(t<<2)>>2],m,p,h);t=1-t|0;p=h;e=h}f=f+1|0;if(f>>>0>>0){continue}break}}C:{if(!He(a,o,c,d)){r=0;Zd(b,a,22058,0);break C}if(O[o+61|0]|!O[o+60|0]){break C}if(!He(a,n,c,d)){r=0;Zd(b,a,22058,0);break C}if(O[n+61|0]|!O[n+60|0]){break C}if((y|0)!=4){We(o);We(n)}N[g+64>>2]=0;N[g+68>>2]=0;v=N[o+68>>2];N[g+56>>2]=v;N[g+48>>2]=N[o+80>>2];q=N[n+68>>2];N[g+60>>2]=q;N[g+52>>2]=N[n+80>>2];if(q|v){d=0;while(1){t=d<<2;p=t+(g- -64|0)|0;i=N[p>>2];e=i+1|0;c=N[t+(g+56|0)>>2];D:{if(e>>>0>=c>>>0){break D}j=N[t+(g+48|0)>>2];f=N[(j+T(i,20)|0)+8>>2];while(1){s=f;h=j+T(e,20)|0;f=N[h+8>>2];if((s|0)!=(f|0)&!(O[h+4|0]&2)){break D}e=e+1|0;if((c|0)!=(e|0)){continue}break}e=c}Ld(l,N[t+(g+72|0)>>2],i,e);N[p>>2]=e;d=1-d|0;if(v>>>0>Q[g+64>>2]|q>>>0>Q[g+68>>2]){continue}break}}if((y|0)!=4){We(b);We(l)}if(!(vl(l,b)&-65)){break C}r=0;Zd(b,a,22254,0);if(N[b+4>>2]){N[b+132>>2]=0;N[b+136>>2]=0;N[b+36>>2]=0;N[b+68>>2]=0}Ld(b,l,0,-1)}dc(l);dc(o);dc(n)}e=k;if(!(r&w)){break z}break t}e=k;if(w){break t}}d=0;c=N[m+68>>2];e=T(c,10)+16|0;k=(e|0)>0;p=k?e:0;E:{if(k){while(1){d=((d>>>1|0)+d|0)+8|0;if(p>>>0>=d>>>0){continue}break}d=kb(d);if(!d){d=0;break E}C(d,0,p);e=N[m+68>>2];L[d|0]=0;c=c>>>0>e>>>0?e:c}e=N[m+36>>2];if(e|N[m+68>>2]?(e|0)!=1:0){break a}F:{if(!c){break F}h=N[m+80>>2];L[g+80|0]=60;N[g+32>>2]=N[h>>2];q=g+80|1;e=Oe(q,1023,19054,g+32|0);e=((e|0)>0?e:0)+q|0;k=c-1|0;if(!k){L[e|0]=62;e=e+1|0}j=e-(g+80|0)|0;if(j>>>0>=p>>>0){break F}if((g+80|0)!=(e|0)){F(d,g+80|0,j)}i=d+j|0;L[i|0]=0;f=1;if((c|0)==1){break F}p=p-j|0;while(1){L[g+80|0]=124;N[g+16>>2]=N[h+T(f,20)>>2];e=Oe(q,1023,19054,g+16|0);e=q+((e|0)>0?e:0)|0;if((f|0)==(k|0)){L[e|0]=62;e=e+1|0}j=e-(g+80|0)|0;if(j>>>0>=p>>>0){break F}if((g+80|0)!=(e|0)){F(i,g+80|0,j)}i=i+j|0;L[i|0]=0;p=p-j|0;f=f+1|0;if((f|0)!=(c|0)){continue}break}}N[g>>2]=d;Zd(b,a,22118,g)}_a(d);e=0}dc(m)}M[b+140>>1]=0;N[b+148>>2]=1073741823;N[b+152>>2]=536870911}La=g+1104|0;return e}ba(22880,17868,402,13371);B()}ba(16467,17868,409,13371);B()}ba(22811,17868,410,13371);B()}ba(16634,17802,150,13830);B()}ba(16634,17802,292,9714);B()}ba(23506,14099,260,16403);B()}ba(24107,14165,530,16333);B()}function LA(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0;h=La+-64|0;La=h;i=O[a+48|0];a:{if(!(N[a+536>>2]|!i)){e=8;break a}b:{c:{d:{e:{f:{g:{e=N[a+540>>2];d=N[e>>2];if(!d){g=N[a>>2];N[e+4>>2]=355;d=Qa[N[g+4>>2]](g,552)|0;if(!d){break g}C(d,0,552);N[N[a+540>>2]>>2]=d;N[d>>2]=g;if(!i){N[d+548>>2]=N[N[a+532>>2]+3088>>2]}e=d+168|0;N[e>>2]=0;N[e+4>>2]=0;N[d+160>>2]=0;N[d+164>>2]=0;N[d+152>>2]=0;N[d+156>>2]=0;N[d+144>>2]=356;N[d+148>>2]=357;N[d+168>>2]=d+4;N[d+164>>2]=g;N[d+156>>2]=358}N[d+176>>2]=a;N[d+172>>2]=a;e=N[a+4>>2];k=L[N[e+128>>2]+56|0];g=N[e+96>>2];p=O[g+32|0];N[h+16>>2]=0;N[h+20>>2]=0;N[h+24>>2]=0;N[h+40>>2]=b;N[h+28>>2]=0;N[h+36>>2]=b?b+c|0:0;N[h+32>>2]=b;N[h+8>>2]=0;N[h+12>>2]=0;b=N[a+8>>2];j=O[b+161|0];o=O[b+160|0];h:{if(!o){c=1024;b=1024;break h}c=(N[b+168>>2]+32|0)/64|0;b=(N[b+164>>2]+32|0)/64|0}N[h+16>>2]=c;N[h+4>>2]=b;f=i?f:O[e+732|0];L[d+8|0]=i;L[d+9|0]=f;e=(o|0)!=0;N[d+12>>2]=e;if(!(!j|(p|(k|0)>=0?k:0))){N[d+12>>2]=e|2}N[d+188>>2]=N[g+36>>2];N[d+192>>2]=N[g+40>>2];N[d+196>>2]=N[g+44>>2];N[d+200>>2]=N[g+48>>2];N[d+204>>2]=N[g+52>>2];N[d+208>>2]=N[g+56>>2];N[d+212>>2]=N[g+60>>2];N[d+216>>2]=N[g- -64>>2];f=N[a+4>>2];g=P[f+68>>1];N[d+132>>2]=g;if(j){e=36;if((b|0)<=0|(c|0)<=0){break a}e=164;if(g<<16>>16<0){break a}l=b;b=fb(131072e3,g<<16);if((l|0)>(b|0)|(b|0)<(c|0)){break a}}N[h+48>>2]=0;N[h+52>>2]=0;e=0;N[h+44>>2]=0;j=N[d+140>>2];g=N[d+136>>2];N[h+60>>2]=0;N[h+56>>2]=0;N[d+4>>2]=0;b=N[a+536>>2];if((b|0)!=N[d+180>>2]){N[d+180>>2]=b;e=1}if(!(!N[N[a+532>>2]+3112>>2]|i)){c=N[d+548>>2];f=Qa[N[N[f+548>>2]+40>>2]](f,h+60|0,0,h+56|0,0)|0;N[d+4>>2]=f;if(f){break c}if(Qa[N[c+12>>2]](b+556|0,N[b+548>>2],N[h+60>>2],N[h+56>>2])|0){Qa[N[c+4>>2]](N[a+532>>2],b,N[h+60>>2],N[h+56>>2])|0;e=1}c=N[b+560>>2];L[d+93|0]=0;N[d+96>>2]=c;N[d+120>>2]=N[b+548>>2];N[d+124>>2]=N[h+60>>2];N[d+128>>2]=N[h+56>>2];f=N[a+4>>2]}f=P[N[f+88>>2]+14>>1]<<16;if((f|0)!=N[d+88>>2]){N[d+88>>2]=f;e=1}b=N[d+12>>2];L[d+184|0]=b&1;i:{j:{k:{if(!Mb(h+4|0,d+16|0,16)){p=d+186|0;b=b&2;i=O[d+186|0];if((b|0)!=(i|0)){break k}if(e){break j}break i}c=N[h+8>>2];N[d+16>>2]=N[h+4>>2];N[d+20>>2]=c;c=N[h+16>>2];N[d+24>>2]=N[h+12>>2];N[d+28>>2]=c;N[d+32>>2]=0;N[d+36>>2]=0;c=N[h+8>>2];N[d+40>>2]=N[h+4>>2];N[d+44>>2]=c;c=N[h+16>>2];N[d+48>>2]=N[h+12>>2];N[d+52>>2]=c;c=N[h+24>>2];N[d+56>>2]=N[h+20>>2];N[d+60>>2]=c;N[d+72>>2]=0;N[d+76>>2]=65536;N[d+64>>2]=65536;N[d+68>>2]=0;p=d+186|0;b=b&2;i=O[d+186|0];if((b|0)==(i|0)){break j}}i=b>>>1|0;L[p|0]=i}b=N[d+132>>2];o=b?b:1e3;c=65536e3/(o|0)|0;k=d+188|0;e=(f|0)<=262144?262144:f;f=N[a+536>>2];b=N[f+400>>2]<<16;if((b|0)<=0){b=fb(4915200,c)}N[d+220>>2]=b;l:{if((g|0)>0){a=fb(o<<16,e);N[d+228>>2]=0;if((c|0)<655){break l}a=(a|0)<(g|0)?g:a;if(!a){break l}N[d+228>>2]=(a|0)/2;break l}Vo(c,e,b,d+228|0,0,i,k);f=N[a+536>>2]}b=N[f+396>>2];m:{if(b<<16>0){a=4915200;if(N[d+220>>2]>b<<17){break m}}a=7208960}a=fb(a,c);N[d+224>>2]=a;Vo(c,e,a,d+232|0,j,O[d+186|0],k);a=1;a=N[d+228>>2]?a:N[d+232>>2]!=0;i=0;L[d+236|0]=0;L[d+185|0]=a;a=N[d+176>>2];C(d+244|0,0,304);k=N[d+52>>2];N[d+240>>2]=k;f=N[a+536>>2];g=fb(N[f+384>>2],65536e3);N[d+252>>2]=g;N[d+256>>2]=N[f+388>>2]<<16;N[d+260>>2]=N[f+392>>2]<<16;j=f+192|0;s=O[f+191|0];o=O[f+190|0];r=O[f+189|0];c=O[f+188|0];n:{o:{if(N[f+524>>2]==1){p:{switch(c|0){case 4:if(N[j>>2]<<16>-7864321|N[f+196>>2]<<16>-7864321|(N[f+200>>2]<<16<57671681|N[f+204>>2]<<16<57671681)){break o}break;case 0:break p;default:break o}}N[d+304>>2]=k;N[d+296>>2]=-7864321;N[d+288>>2]=49;g=N[d+232>>2];b=(g<<1)+57671681|0;N[d+276>>2]=b;a=k>>31;a=(a^k)-a|0;c=a>>>16|0;e=c+T(a,120)+((a&32768)+32768>>>16)|0;N[d+300>>2]=(((k|0)<0?e:0-e|0)+32768&-65536)-32768;N[d+268>>2]=50;N[d+284>>2]=k;L[d+249|0]=1;e=b;b=b>>31;b=(e^b)-b|0;q:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break q}e=c;c=b&65535;b=T(e,c)+T(a,b>>>16|0)+(T(c,a&65535)+32768>>>16)|0}a=b;c=0-a|0;a=(g|0)>-28835841?1:-1;N[d+280>>2]=((((k|0)<0?0-a|0:a)|0)<0?c:b)+32768&-65536|32768;break i}b=0;if(!c){break n}}a=N[f+192>>2]<<16;N[d+308>>2]=a;e=N[f+196>>2]<<16;N[d+312>>2]=e;b=0;a=e-a|0;if((a|0)>=0){i=1;N[d+244>>2]=1;N[d+316>>2]=e;L[d+324|0]=1;b=a}e=2;if(c>>>0<=2){break n}while(1){a=T(i,20)+d|0;l=e<<2;m=N[l+j>>2]<<16;N[a+308>>2]=m;l=N[j+(l|4)>>2]<<16;N[a+312>>2]=l;n=l-m|0;if((n|0)>=0){q=l;l=N[d+232>>2]<<1;N[a+312>>2]=q+l;m=m+l|0;N[a+308>>2]=m;N[a+316>>2]=m;L[a+324|0]=0;i=i+1|0;N[d+244>>2]=i;b=(b|0)<(n|0)?n:b}e=e+2|0;if(c>>>0>e>>>0){continue}break}}if(r){c=f+248|0;e=0;while(1){a=T(i,20)+d|0;j=e<<2;m=N[j+c>>2]<<16;N[a+308>>2]=m;j=N[c+(j|4)>>2]<<16;N[a+312>>2]=j;m=j-m|0;if((m|0)>=0){N[a+316>>2]=j;L[a+324|0]=1;i=i+1|0;N[d+244>>2]=i;b=(b|0)<(m|0)?m:b}e=e+2|0;if(r>>>0>e>>>0){continue}break}}r=fb(65536,k);if(i){u=f+344|0;v=f+288|0;m=0;w=o>>>0<3;while(1){a=T(m,20)+d|0;l=a;j=N[a+316>>2];r:{if(O[a+324|0]){a=0;c=2147483647;s:{if(!s){break s}while(1){n=N[(a<<2|4)+u>>2]<<16;q=j-n|0;e=q>>31;t:{e=(e^q)-e|0;if((e|0)>=(c|0)|(e|0)>=(r|0)){break t}N[l+316>>2]=n;c=e;if((j|0)!=(n|0)){break t}c=0;break s}a=a+2|0;if(s>>>0>a>>>0){continue}break}}if(o>>>0<2){break r}e=N[f+292>>2]<<16;j=j-e|0;a=j>>31;a=(a^j)-a|0;if((a|0)>=(c|0)|(a|0)>=(r|0)){break r}N[l+316>>2]=e;break r}if(w){break r}q=N[d+232>>2]<<1;a=2;c=2147483647;while(1){n=(N[(a<<2)+v>>2]<<16)+q|0;t=j-n|0;e=t>>31;e=(e^t)-e|0;if(!((e|0)>=(c|0)|(e|0)>=(r|0))){N[l+316>>2]=n;c=e;if((j|0)==(n|0)){break r}}a=a+2|0;if(o>>>0>a>>>0){continue}break}}m=m+1|0;if((m|0)!=(i|0)){continue}break}}u:{if((b|0)<=0){break u}a=fb(65536,b);if((a|0)>=(g|0)){break u}N[d+252>>2]=a;g=a}if((g|0)>(k|0)){L[d+248|0]=1;a=jb(39322,k,g);N[d+264>>2]=(a|0)<6555?32767:39322-a|0}if(O[p|0]){N[d+264>>2]=0}if(!i){break i}f=d+240|0;a=0;while(1){b=T(a,20);c=b+f|0;k=O[c+84|0];l=b+d|0;g=N[c+76>>2];c=g>>31;e=N[d+240>>2];b=e>>31;c=(c^g)-c|0;b=(b^e)-b|0;v:{if(c+(b>>>8|0)>>>0<=8190){c=T(b,c)+32768>>>16|0;break v}p=c&65535;c=T(p,b>>>16|0)+T(b,c>>>16|0)+(T(p,b&65535)+32768>>>16)|0}b=c;q=0-b|0;b=g>>31|1;c=(((e|0)<0?0-b|0:b)|0)<0?q:c;b=N[d+264>>2];N[l+320>>2]=(c+(k?0-b|0:b)|0)+32768&-65536;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(N[d+4>>2]){break c}L[d+236|0]=0;N[d+160>>2]=0;b=O[d+185|0];a=N[N[d+172>>2]+12>>2];N[a+20>>2]=0;N[a+48>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];g=N[a+32>>2];c=a- -64|0;N[c>>2]=N[a+28>>2];N[c+4>>2]=g;c=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=c;c=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=c;c=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=c;c=d+144|0;De(d,h+28|0,c,h+48|0,0,0,0,h+44|0);if(N[d+4>>2]){break c}if(!(!b|N[d+160>>2]>=0)){L[d+236|0]=1;N[d+160>>2]=0;a=N[N[d+172>>2]+12>>2];N[a+20>>2]=0;N[a+48>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];g=N[a+32>>2];b=a- -64|0;N[b>>2]=N[a+28>>2];N[b+4>>2]=g;b=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=b;b=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=b;b=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=b;De(d,h+28|0,c,h+48|0,0,0,0,h+44|0);if(N[d+4>>2]){break c}}e=N[d+172>>2];a=N[e+20>>2];if(!a){break d}b=P[a>>1];g=b<<16>>16;if((g|0)>=2){b=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break f}b=0;if(g){break f}c=P[a+2>>1];break e}N[N[a+540>>2]>>2]=0;e=64;break a}c=M[a+2>>1];if((c|0)!=(b|0)){break e}M[a>>1]=g-1;break d}w:{if(c<<16>>16<2){break w}f=N[a+4>>2];i=f+(b<<3)|0;k=c&65535;f=f+(k<<3)|0;if(N[i>>2]!=N[f-8>>2]|N[i+4>>2]!=N[f-4>>2]|O[(k+N[a+8>>2]|0)-1|0]!=1){break w}c=c-1|0;M[a+2>>1]=c}if((g|0)<=0){break d}l=b;b=(c<<16>>16)-1|0;if((l|0)==(b|0)){M[a+2>>1]=c-1;M[a>>1]=g-1;break d}M[(N[a+12>>2]+(g<<1)|0)-2>>1]=b}bf(N[e+12>>2]);if(!N[d+4>>2]){break b}}e=3;break a}a=N[h+44>>2];e=0;N[d+4>>2]=0;b=N[d+172>>2];if(O[b+48|0]){break a}N[N[b+544>>2]>>2]=a+32768>>16}La=h- -64|0;return e|0}function Jt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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;f=La-32|0;La=f;o=1;j=N[b+540>>2];a:{if((d|0)<=0){d=0;break a}p=d&3;if(d>>>0<4){c=0}else{g=d&-4;d=0;while(1){i=1;n=h<<3;m=N[n+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}c=d}else{c=1}d=N[(n|8)+e>>2]-1768386662|0;if(d){if((d|0)==13){k=1}i=c}d=1;m=N[(n|16)+e>>2]-1768386662|0;if(m){if((m|0)==13){k=1}c=i}else{c=1}i=N[(n|24)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}d=c}h=h+4|0;if((h|0)!=(g|0)){continue}break}c=d}if(!p){break a}while(1){i=N[(g<<3)+e>>2]-1768386662|0;if(i){if((i|0)==13){k=1}}else{c=1}d=c;g=g+1|0;c=d;l=l+1|0;if((p|0)!=(l|0)){continue}break}}b:{if(N[N[b+128>>2]+52>>2]){break b}e=P[b+152>>1];if(e){c=N[b+156>>2];g=c+(e<<4)|0;e=c;while(1){if(N[e+12>>2]?N[e>>2]==1735162214:0){break b}e=e+16|0;if(g>>>0>e>>>0){continue}break}e=c;while(1){if(N[e+12>>2]?N[e>>2]==1128678944:0){break b}e=e+16|0;if(g>>>0>e>>>0){continue}break}while(1){if(N[c+12>>2]?N[c>>2]==1128678962:0){break b}c=c+16|0;if(g>>>0>c>>>0){continue}break}}o=0}e=1;g=Qa[N[b+516>>2]](b,1935829368,a,0)|0;i=(g|0)!=0&o;c:{d:{e:{if(i){break e}h=N[j+68>>2];if(!h){break e}c=0;h=Qa[h|0](b,a)|0;e=(h|0)!=0;if(!g){break e}if(!h){break d}}g=Qa[N[j+24>>2]](b,a)|0;N[f+28>>2]=g;c=e;if(g){break c}}e=Qa[N[b+516>>2]](b,1128418371,a,0)|0;g=Qa[N[b+516>>2]](b,1128416340,a,0)|0;if((P[b+178>>1]-16385&65535)>>>0<=49166){N[f+28>>2]=8;break c}e=i&((e|0)!=0&(g|0)!=0);Qa[N[j+36>>2]](b,a)|0;Qa[N[j+32>>2]](b,a)|0;Qa[N[j+48>>2]](b,a)|0;i=Qa[N[j+44>>2]](b,a)|0;f:{if(!c){g=e;break f}c=Qa[N[j+28>>2]](b,a,0)|0;N[f+28>>2]=c;g:{h:{i:{if(!c){c=Qa[N[j+92>>2]](b,a,0)|0;N[f+28>>2]=c;if((c&255)!=142){break h}N[f+28>>2]=147;c=N[N[b+128>>2]+52>>2];if(!c){break c}if(N[N[c>>2]+8>>2]){break i}break c}if((c&255)!=142){break c}g=0;if(N[b+148>>2]==1953658213){break g}N[f+28>>2]=143;c=N[N[b+128>>2]+52>>2];if(!c|!N[N[c>>2]+8>>2]){break c}}M[b+250>>1]=0;g=e;break g}g=e;if(c){break c}}e=Qa[N[j+28>>2]](b,a,1)|0;N[f+28>>2]=e;j:{k:{if(e){break k}e=Qa[N[j+92>>2]](b,a,1)|0;N[f+28>>2]=e;if(e){break k}L[b+292|0]=1;break j}if((e&255)!=142){break c}}if(!(Qa[N[j+40>>2]](b,a)|0)){break f}M[b+372>>1]=65535}c=N[j+96>>2];if(c){Qa[c|0](b,a)|0}c=N[j+112>>2];if(c){Qa[c|0](b,a)|0;Qa[N[j+116>>2]](b,a)|0}Qa[N[j+64>>2]](b,a)|0;Qa[N[j+60>>2]](b,a)|0;Qa[N[j+56>>2]](b,a)|0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+16>>2]=P[b+264>>1];a=b+24|0;c=b+20|0;l:{if(!(!(L[b+437|0]&1)|P[b+372>>1]==65535)){m:{if(!(d&255)){d=Vc(b,16,c);N[f+28>>2]=d;if(d){break c}if(N[c>>2]){break m}}c=Vc(b,1,c);N[f+28>>2]=c;if(c){break c}}if(!(k&255)){c=Vc(b,17,a);N[f+28>>2]=c;if(c){break c}}if(N[a>>2]){break l}a=Vc(b,2,a);N[f+28>>2]=a;if(!a){break l}break c}e=Vc(b,21,c);N[f+28>>2]=e;if(e){break c}l=N[c>>2];if(!(l|d&255)){d=Vc(b,16,c);N[f+28>>2]=d;if(d){break c}l=N[c>>2]}if(!l){c=Vc(b,1,c);N[f+28>>2]=c;if(c){break c}}c=Vc(b,22,a);N[f+28>>2]=c;if(c){break c}d=N[a>>2];if(!(d|k&255)){c=Vc(b,17,a);N[f+28>>2]=c;if(c){break c}d=N[a>>2]}if(d){break l}a=Vc(b,2,a);N[f+28>>2]=a;if(a){break c}}d=N[b+8>>2];a=g|(!N[b+872>>2]&(N[b+796>>2]&-2)!=2?d:d|16384);d=a|24;d=i?d:N[b+476>>2]==196608?d:a|536;a=N[b+488>>2]?d|4:d;a=O[b+292|0]?a|32:a;h=N[b+820>>2]?a|64:a;n:{if(!(L[b+740|0]&1)){break n}a=P[b+152>>1];if(!a){break n}d=N[b+156>>2];a=d+(a<<4)|0;e=d;o:{while(1){p:{if(!(!N[e+12>>2]|N[e>>2]!=1735162214)){e=d;while(1){if(N[e+12>>2]?N[e>>2]==1735811442:0){break p}e=e+16|0;if(a>>>0>e>>>0){continue}break}break o}e=e+16|0;if(a>>>0>e>>>0){continue}break o}break}h=h|256}while(1){if(!(N[d+12>>2]?N[d>>2]==1128678962:0)){d=d+16|0;if(a>>>0>d>>>0){continue}break n}break}h=h|256}N[b+8>>2]=h;q:{if(!(!g|P[b+372>>1]==65535)){a=P[b+436>>1];a=a>>>4&2|(a&513)!=0;break q}a=P[b+204>>1];a=(a<<1|(a&2)>>>1)&3}N[b+12>>2]=a|N[b+12>>2];a=La-224|0;La=a;d=kb(40);N[d>>2]=0;h=N[b+508>>2];N[a+216>>2]=h;r:{if(!N[a+216>>2]){break r}c=N[b+512>>2];if(c>>>0<4){break r}N[a+216>>2]=N[a+216>>2]+2;N[a+216>>2]=N[a+216>>2]+2;N[a+220>>2]=O[N[a+216>>2]-1|0]|O[N[a+216>>2]-2|0]<<8;if(!N[a+220>>2]){break r}g=4;k=c+h|0;while(1){if(k>>>0>2]+8>>>0){break r}N[a+216>>2]=N[a+216>>2]+2;c=O[N[a+216>>2]-2|0];e=O[N[a+216>>2]-1|0];N[a+216>>2]=N[a+216>>2]+2;M[a+212>>1]=e|c<<8;c=O[N[a+216>>2]-2|0];e=O[N[a+216>>2]-1|0];N[a+216>>2]=N[a+216>>2]+4;N[a+204>>2]=b;N[a+208>>2]=0;M[a+214>>1]=e|c<<8;c=O[N[a+216>>2]-1|0]|(O[N[a+216>>2]-3|0]<<16|O[N[a+216>>2]-4|0]<<24|O[N[a+216>>2]-2|0]<<8);if(!(!c|c>>>0>N[b+512>>2]-2>>>0)){N[a+200>>2]=c+h;c=N[a+200>>2];N[a+196>>2]=O[c+1|0]|O[c|0]<<8;N[a+192>>2]=178304;s:{if(!N[N[a+192>>2]>>2]){break s}while(1){t:{N[a+188>>2]=N[N[a+192>>2]>>2];if(N[N[a+188>>2]+40>>2]==N[a+196>>2]){c=0;N[a+8>>2]=0;N[a+168>>2]=N[a+200>>2];N[a+172>>2]=k;N[a+176>>2]=0;N[a+180>>2]=0;N[a+184>>2]=P[b+264>>1];d=Lh(a+12|0,1,d,g);g=Ma;while(1){u:{v:{w:{if(!c){c=N[N[a+188>>2]+44>>2];N[147441]=0;l=xa(c|0,N[a+200>>2],a+12|0)|0;c=N[147441];N[147441]=0;e=-1;x:{if(!c){break x}i=N[147442];if(!i){break x}e=Kh(N[c>>2],d,g);if(!e){break w}Ma=i}c=Ma;if((e|0)==1){continue}N[a+8>>2]=l}if(N[a+180>>2]){break s}N[147441]=0;l=wa(186,N[a+188>>2],N[a+200>>2],a+204|0,a+4|0)|0;c=N[147441];N[147441]=0;e=-1;if(!c){break u}i=N[147442];if(!i){break u}e=Kh(N[c>>2],d,g);if(e){break v}}_a(d);pe(c,i);B()}Ma=i}c=Ma;if((e|0)==1){continue}break}break t}N[a+192>>2]=N[a+192>>2]+4;if(N[N[a+192>>2]>>2]){continue}break s}break}if(l){break s}N[N[a+4>>2]+20>>2]=N[a+8>>2]}}N[a+220>>2]=N[a+220>>2]-1;if(N[a+220>>2]){continue}break}}_a(d);La=a+224|0;e=N[b+36>>2];y:{if((e|0)>0){i=N[b+40>>2];k=1;d=0;while(1){c=N[i+(d<<2)>>2];a=P[c+10>>1];g=178352;z:{A:{B:{C:{switch(P[c+8>>1]){case 0:g=178364;break B;case 1:if(a){break A}g=178376;break B;case 2:break B;case 3:break C;default:break A}}if(!(1151>>>a&1)|a>>>0>=11){break A}g=N[(a<<2)+179376>>2]}a=N[g+8>>2];N[c+4>>2]=a;if((a|0)!=1937337698&(a|0)!=1970170211){break z}k=0;d=d+1|0;if((e|0)!=(d|0)){continue}break y}N[c+4>>2]=0}d=d+1|0;if((e|0)!=(d|0)){continue}break}if(!(k&1)){break y}}if(!(O[b+9|0]&2)){break y}N[f>>2]=b;N[f+4>>2]=1970170211;N[f+8>>2]=65539;a=Bc(177852,0,f,0);N[f+28>>2]=a;D:{if(!a){break D}a=a&255;if((a|0)==163){break D}if((a|0)!=7){break c}}N[f+28>>2]=0}a=N[b+800>>2];E:{if(!a){break E}e=N[N[b+104>>2]+28>>2];k=P[b+178>>1];if(!k|P[b+372>>1]==65535){k=1;c=1}else{c=P[b+374>>1]}q=b,r=lb(e,16,0,a,0,f+28|0),N[q+32>>2]=r;if(N[f+28>>2]){break c}g=lb(e,4,0,a,0,f+28|0);if(N[f+28>>2]){break c}l=k>>>1|0;n=c<<16>>16;h=0;d=0;while(1){c=N[b+32>>2];o=Qa[N[j+108>>2]](b,d,f)|0;F:{if(o){break F}c=c+(h<<4)|0;M[c>>1]=N[f+20>>2]>>>6;i=P[f>>1];N[c+8>>2]=i<<6;M[c+2>>1]=(l+T(i,n)|0)/(k|0);p=P[f+2>>1];m=p<<6;N[c+4>>2]=m;N[c+12>>2]=m;if(!i|!p){break F}N[g+(h<<2)>>2]=d;h=h+1|0}d=d+1|0;if((a|0)!=(d|0)){continue}break}N[f+28>>2]=o;a=lb(e,4,a,h,g,f+28|0);if(!h){break E}N[b+804>>2]=a;N[b+28>>2]=h;N[b+8>>2]=N[b+8>>2]|2}d=N[b+8>>2];if(!(d&3)){d=d|1;N[b+8>>2]=d}if(!(d&1)){break c}M[b+68>>1]=P[b+178>>1];N[b+52>>2]=M[b+196>>1];N[b+56>>2]=M[b+198>>1];N[b+60>>2]=M[b+200>>1];N[b- -64>>2]=M[b+202>>1];d=P[b+372>>1]==65535;G:{if(!(d|!(O[b+436|0]&128))){a=P[b+442>>1];M[b+70>>1]=a;c=P[b+444>>1];M[b+72>>1]=c;M[b+74>>1]=P[b+446>>1]+(a-c|0);break G}a=P[b+220>>1];M[b+70>>1]=a;c=P[b+222>>1];M[b+72>>1]=c;M[b+74>>1]=P[b+224>>1]+(a-c|0);if(c|(a|d)){break G}a=P[b+442>>1];c=P[b+444>>1];if(a|c){M[b+72>>1]=c;M[b+70>>1]=a;M[b+74>>1]=P[b+446>>1]+(a-c|0);break G}a=P[b+448>>1];M[b+70>>1]=a;c=a;a=P[b+450>>1];M[b+74>>1]=c+a;M[b+72>>1]=0-a}M[b+76>>1]=P[b+226>>1];M[b+78>>1]=P[(O[b+292|0]?306:74)+b>>1];a=M[b+486>>1];M[b+82>>1]=a;M[b+80>>1]=P[b+484>>1]+((a|0)/-2|0)}La=f+32|0;return N[f+28>>2]}function lf(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;h=La-80|0;La=h;p=N[a>>2];a:{if(f){break a}j=N[a+4>>2];if(O[j+12|0]){break a}g=N[d>>2];N[h+68>>2]=0;N[h+72>>2]=0;N[h+60>>2]=0;N[h+64>>2]=0;N[h+52>>2]=0;N[h+56>>2]=0;N[h+48>>2]=g;lf(j,b,c,h+48|0,e,1)}b:{c:{d:{if(O[d+4|0]){break d}j=N[c+16>>2]+N[b+16>>2]|0;e:{if(j>>>0>=97){b=N[d>>2];if(!b|N[b>>2]){break e}N[b>>2]=18;break e}N[d+8>>2]=j;M[d+4>>1]=257;N[d+12>>2]=j+7>>>3;if(!j){break d}c=0;j=-1<<(0-j&7);while(1){L[(c+d|0)+16|0]=255;c=c+1|0;g=N[d+12>>2];if(c>>>0>>0){continue}break}c=d+g|0;L[c+15|0]=j&O[c+15|0];if(O[d+4|0]){break d}}if(!O[p+8|0]){break b}N[N[d>>2]>>2]=0;a=a+13|0;break c}N[a+20>>2]=0;N[a+24>>2]=0;N[h+72>>2]=N[d+24>>2];j=N[d+20>>2];u=h- -64|0;c=u;N[c>>2]=N[d+16>>2];N[c+4>>2]=j;c=N[d+12>>2];N[h+56>>2]=N[d+8>>2];N[h+60>>2]=c;c=N[d+4>>2];N[h+48>>2]=N[d>>2];N[h+52>>2]=c;v=N[b+16>>2];if(v>>>0>Q[d+8>>2]){break b}if(O[p+249|0]){N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;c=h+24|0;kf(a,p+288|0,c);kf(a,c,p+268|0)}f:{g:{if(v){o=u;r=128;j=0;while(1){h:{if(!(O[o|0]&r)){break h}c=N[a+16>>2];N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;g=j;m=g>>>0>2];i:{if(m){break i}g=0;i=N[b+4>>2];if(!i|N[i>>2]){break i}N[i>>2]=130}j:{k:{s=N[b+24>>2];n=N[b+8>>2];g=s+T(n,g)|0;i=N[g+8>>2];l=N[g+4>>2];k=i-l|0;if((k|0)==-1376256){l=1}else{if((k|0)==-1310720){N[h+40>>2]=c;N[h+32>>2]=e;N[h+28>>2]=j;l=0;i=e;break k}i=(k|0)<0?i:l;l=4}N[h+40>>2]=c;N[h+24>>2]=l;N[h+28>>2]=j;i=e+i|0;N[h+32>>2]=i;if(!O[g|0]){break k}q=N[g+12>>2];l=l|16;N[h+24>>2]=l;break j}k=i>>31;k=(k^i)-k|0;g=c>>31;g=(g^c)-g|0;l:{if(k+(g>>>8|0)>>>0<=8190){k=T(g,k)+32768>>>16|0;break l}q=k&65535;k=T(q,g>>>16|0)+T(g,k>>>16|0)+(T(q,g&65535)+32768>>>16)|0}g=k;q=0-g|0;g=i>>31|1;q=(((c|0)<0?0-g|0:g)|0)<0?q:k}N[h+36>>2]=q;c=N[a+16>>2];N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h>>2]=0;N[h+4>>2]=0;g=j;m:{if(m){break m}g=0;k=N[b+4>>2];if(!k|N[k>>2]){break m}N[k>>2]=130}n:{o:{m=s+T(g,n)|0;n=N[m+8>>2];g=N[m+4>>2];k=n-g|0;if((k|0)==-1310720){k=2}else{if((k|0)==-1376256){N[h+16>>2]=c;N[h+8>>2]=e;N[h+4>>2]=j;k=0;g=e;break o}g=(k|0)<0?g:n;k=8}N[h>>2]=k;n=N[p+232>>2];N[h+16>>2]=c;N[h+4>>2]=j;g=(e+g|0)+(n<<1)|0;N[h+8>>2]=g;if(!O[m|0]){break o}n=N[m+16>>2];k=k|16;N[h>>2]=k;break n}n=g>>31;n=(n^g)-n|0;m=c>>31;m=(m^c)-m|0;p:{if(n+(m>>>8|0)>>>0<=8190){n=T(m,n)+32768>>>16|0;break p}s=n&65535;n=T(s,m>>>16|0)+T(m,n>>>16|0)+(T(s,m&65535)+32768>>>16)|0}m=n;s=0-m|0;m=g>>31|1;n=(((c|0)<0?0-m|0:m)|0)<0?s:n}N[h+12>>2]=n;q:{if((k|l)&16){break q}s=N[p+244>>2];if(!s){break h}m=N[p+260>>2];t=k&10;r:{s:{t:{if(!(l&5)){c=0;if(!t){break h}while(1){i=p+T(c,20)|0;u:{if(O[i+324|0]){break u}w=N[i+308>>2];if((w-m|0)>(g|0)){break u}if((m+N[i+312>>2]|0)>=(g|0)){break t}}c=c+1|0;if((s|0)!=(c|0)){continue}break}break h}c=0;if(!t){while(1){g=p+T(c,20)|0;if(!(!O[g+324|0]|(N[g+308>>2]-m|0)>(i|0))){t=N[g+312>>2];if((m+t|0)>=(i|0)){break s}}c=c+1|0;if((s|0)!=(c|0)){continue}break h}}while(1){t=p+T(c,20)|0;w=N[t+308>>2];x=w-m|0;v:{if(O[t+324|0]){if((i|0)<(x|0)){break v}t=N[t+312>>2];if((m+t|0)<(i|0)){break v}break s}if((g|0)<(x|0)){break v}if((m+N[t+312>>2]|0)>=(g|0)){break t}}c=c+1|0;if((s|0)!=(c|0)){continue}break}break h}i=N[(p+T(c,20)|0)+320>>2];w:{if(O[p+248|0]){break w}i=n+32768&-65536;if(N[p+256>>2]>(g-w|0)){break w}c=N[(p+T(c,20)|0)+320>>2]+65536|0;i=(c|0)<(i|0)?i:c}c=i-n|0;if(!l){break r}N[h+24>>2]=l|16;N[h+36>>2]=c+q;break r}g=N[(p+T(c,20)|0)+320>>2];x:{if(O[p+248|0]){break x}g=q+32768&-65536;if(N[p+256>>2]>(t-i|0)){break x}c=N[(p+T(c,20)|0)+320>>2]-65536|0;g=(c|0)>(g|0)?g:c}N[h+24>>2]=l|16;N[h+36>>2]=g;if(!k){break q}c=g-q|0}N[h>>2]=k|16;N[h+12>>2]=c+n}kf(a,h+24|0,h);L[o|0]=O[o|0]&(r^-1)}c=(j&7)==7;r=c?128:r>>>1&127;o=c+o|0;j=j+1|0;if((v|0)!=(j|0)){continue}break}if(f){break g}j=128;c=0;while(1){if(O[u|0]&j){k=N[a+16>>2];N[h+40>>2]=0;N[h+32>>2]=0;N[h+36>>2]=0;N[h+24>>2]=0;N[h+28>>2]=0;i=c;o=c>>>0>2];y:{if(o){break y}i=0;g=N[b+4>>2];if(!g|N[g>>2]){break y}N[g>>2]=130}z:{A:{m=N[b+24>>2];r=N[b+8>>2];l=m+T(r,i)|0;g=N[l+8>>2];q=N[l+4>>2];i=g-q|0;if((i|0)==-1376256){i=1}else{if((i|0)==-1310720){N[h+40>>2]=k;N[h+32>>2]=e;N[h+28>>2]=c;g=e;break A}g=(i|0)<0?g:q;i=4}N[h+40>>2]=k;N[h+24>>2]=i;N[h+28>>2]=c;g=e+g|0;N[h+32>>2]=g;if(!O[l|0]){break A}g=N[l+12>>2];N[h+24>>2]=i|16;N[h+36>>2]=g;break z}l=g>>31;l=(l^g)-l|0;i=k>>31;i=(i^k)-i|0;B:{if(l+(i>>>8|0)>>>0<=8190){i=T(i,l)+32768>>>16|0;break B}q=l&65535;i=T(q,i>>>16|0)+T(i,l>>>16|0)+(T(q,i&65535)+32768>>>16)|0}g=g>>31|1;N[h+36>>2]=(((k|0)<0?0-g|0:g)|0)<0?0-i|0:i}k=N[a+16>>2];N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h>>2]=0;N[h+4>>2]=0;i=c;C:{if(o){break C}i=0;g=N[b+4>>2];if(!g|N[g>>2]){break C}N[g>>2]=130}D:{E:{l=m+T(i,r)|0;o=N[l+8>>2];g=N[l+4>>2];i=o-g|0;if((i|0)==-1310720){i=2}else{if((i|0)==-1376256){N[h+16>>2]=k;N[h+8>>2]=e;N[h+4>>2]=c;g=e;break E}g=(i|0)<0?g:o;i=8}N[h>>2]=i;o=N[p+232>>2];N[h+16>>2]=k;N[h+4>>2]=c;g=(e+g|0)+(o<<1)|0;N[h+8>>2]=g;if(!O[l|0]){break E}g=N[l+16>>2];N[h>>2]=i|16;N[h+12>>2]=g;break D}l=g>>31;l=(l^g)-l|0;i=k>>31;i=(i^k)-i|0;F:{if(l+(i>>>8|0)>>>0<=8190){i=T(i,l)+32768>>>16|0;break F}o=l&65535;i=T(o,i>>>16|0)+T(i,l>>>16|0)+(T(o,i&65535)+32768>>>16)|0}g=g>>31|1;N[h+12>>2]=(((k|0)<0?0-g|0:g)|0)<0?0-i|0:i}kf(a,h+24|0,h)}g=(c&7)==7;j=g?128:j>>>1&127;u=g+u|0;c=c+1|0;if((v|0)!=(c|0)){continue}break}break f}if(!f){break f}}c=N[a+20>>2];if(!(!c|N[a+36>>2]>0)&N[(T(c,20)+a|0)+16>>2]>=0){break f}N[h+36>>2]=0;N[h+28>>2]=0;N[h+32>>2]=0;N[h+24>>2]=49;c=N[a+16>>2];N[h+8>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h>>2]=0;N[h+4>>2]=0;N[h+40>>2]=c;kf(a,h+24|0,h)}r=N[a+8>>2];N[r+16>>2]=0;k=N[a+20>>2];if(k){r=a+28|0;c=0;while(1){u=T(c,20);e=u+r|0;m=e;i=c+1|0;j=N[e>>2];q=j&12;l=q?i:c;s=T(l,20);g=s+r|0;n=g;G:{if(j&16){break G}p=N[e+12>>2];e=p&65535;o=e?65536-e|0:0;v=N[g+12>>2];j=v&65535;g=j?65536-j|0:0;g=g>>>0>o>>>0?o:g;o=(e|0)<(j|0)?e:j;j=0-o|0;H:{I:{if(l>>>0>>0){k=T(l+1|0,20)+a|0;if(N[k+40>>2]<((g+v|0)+32768|0)){break I}}if(!(!c|N[(a+u|0)+20>>2]<=((p-o|0)-32768|0))){j=g;break H}j=g>>>0>o>>>0?j:g;break H}J:{if(c){e=0;if(N[(a+u|0)+20>>2]>((p-o|0)-32768|0)){break J}}e=j;if(g>>>0>=o>>>0){break H}}if(!(O[k+28|0]&16)){N[h+24>>2]=l;N[h+28>>2]=g-e;Oo(N[a+8>>2],h+24|0)}j=e}N[m+12>>2]=j+p;if(!q){break G}N[n+12>>2]=j+v}K:{if(!c){break K}e=a+u|0;j=N[e+36>>2];e=N[e+16>>2];if((j|0)==(e|0)){break K}g=T(c-1|0,20)+a|0;y=g,z=fb(N[m+12>>2]-N[g+40>>2]|0,j-e|0),N[y+44>>2]=z}if(q){c=a+s|0;e=N[c+36>>2];c=N[c+16>>2];if((e|0)!=(c|0)){j=T(l-1|0,20)+a|0;y=j,z=fb(N[n+12>>2]-N[j+40>>2]|0,e-c|0),N[y+44>>2]=z}c=i}c=c+1|0;k=N[a+20>>2];if(c>>>0>>0){continue}break}r=N[a+8>>2]}e=N[r+16>>2];if(e){i=N[r+8>>2];k=N[r+24>>2];c=e;while(1){c=c-1|0;j=c;L:{if(c>>>0>>0){break L}j=0;g=N[r+4>>2];if(!g|N[g>>2]){break L}N[g>>2]=130}g=k+T(i,j)|0;j=T(N[g>>2],20)+a|0;g=N[g+4>>2];l=g+N[j+40>>2]|0;M:{if(N[j+60>>2]<(l+32768|0)){break M}N[j+40>>2]=l;if(!(O[j+28|0]&12)){break M}N[j+20>>2]=g+N[j+20>>2]}if(c){continue}break}}N:{if(f){break N}g=N[a+20>>2];if(!g){break N}c=0;while(1){e=T(c,20)+a|0;f=N[e+28>>2];if(!(f&32)){g=N[e+32>>2];O:{if(g>>>0>2]){break O}g=0;j=N[b+4>>2];if(!j|N[j>>2]){break O}N[j>>2]=130;f=N[e+28>>2]}i=f&10?16:12;f=N[b+24>>2]+T(N[b+8>>2],g)|0;N[i+f>>2]=N[e+40>>2];L[f|0]=1;g=N[a+20>>2]}c=c+1|0;if(g>>>0>c>>>0){continue}break}}L[a+12|0]=1;a=d+5|0}L[a|0]=0}La=h+80|0}function yE(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0;m=La-32|0;La=m;a:{if(N[c+68>>2]){if(ib(c,b,13403,0)){t=N[c+68>>2];if(t){j=t-1|0;i=N[c+80>>2];f=i+3|0;e=O[i+15|0];while(1){b:{if((d|0)==(j|0)){d=t;break b}d=d+1|0;if((e|0)==O[(f+T(d,20)|0)+12|0]){continue}}break}j=0;while(1){q=N[a+112>>2];g=N[q+8>>2];h=d;if(!(!g|j>>>0>=d>>>0)){l=i+2|0;d=j;while(1){f=T(d,20);k=f+i|0;c:{if((g|0)!=N[k>>2]){break c}e=P[k+12>>1];if((e&96)!=96){break c}L[(f+l|0)+16|0]=4;M[k+12>>1]=e&65439}d=d+1|0;if((h|0)!=(d|0)){continue}break}}g=N[q+108>>2];p=(g|0)!=0;d:{e:{f:{g:{if(h>>>0>j>>>0){o=i+3|0;f=j;h:{while(1){d=f+1|0;if(O[(o+T(f,20)|0)+16|0]>=4){i:{if(!g){break i}e=d;if(d>>>0>=h>>>0){break i}while(1){l=T(e,20)+i|0;if(g&N[l+4>>2]){p=1;if((P[l+12>>1]&112)==48){break i}j:{while(1){d=T(e,20)+i|0;if(O[d+12|0]&32|O[d+18|0]!=4){break j}e=e+1|0;if(h>>>0>e>>>0){continue}break}e=h}f=e;L[(T(e,20)+i|0)+19|0]=4;d=e+1|0;p=0;break i}p=1;e=e+1|0;if(h>>>0>e>>>0){continue}break}}k:{if(N[c+44>>2]!=1298954605|d>>>0>=h>>>0){break k}while(1){e=d+1|0;e=e>>>0>>0?h:e;l:{while(1){l=T(d,20)+i|0;if(O[l+12|0]&32){break l}l=O[l+18|0];if(l>>>0>31|!(1<>>0>d>>>0){continue}break}d=e}if((d|0)==(h|0)){break k}e=T(d,20)+i|0;if(O[e+12|0]&32|O[e+18|0]!=4){break k}e=d+1|0;l=(e>>>0>>0?h:e)-1|0;m:{while(1){e=d;d=d+1|0;if(h>>>0<=d>>>0){e=l;break m}k=T(d,20);g=k+i|0;if(O[g+12|0]&32){break m}g=O[g+18|0];n=1<>>0>31;if(!(n&96?g:1)){continue}break}if(!(n&363526)|g){break m}l=k+o|0;if(O[l+16|0]!=8){break m}L[l+16|0]=4;f=d}d=e+2|0;if(h>>>0>d>>>0){continue}break}}if(f>>>0<=j>>>0){break h}f=f-(O[(T(f,20)+i|0)+19|0]>4)|0;break h}f=d;if((d|0)!=(h|0)){continue}break}f=h}n:{if(!((f|0)!=(h|0)|f>>>0<=j>>>0)){f=h;e=f-1|0;d=T(e,20)+i|0;if(O[d+12|0]&32){break n}f=O[d+18|0]==6?e:h}if(f>>>0<=j>>>0|f>>>0>=h>>>0){break n}while(1){d=T(f,20)+i|0;if(O[d+12|0]&32){break n}d=O[d+18|0];if(d>>>0>31|!(1<>>0>>0){continue}break}l=j+1|0;f=j;break e}l=j+1|0;r=l>>>0>=h>>>0;if(r|f>>>0<=j>>>0){break f}d=((f|0)==(h|0)?-2:-1)+f|0;o:{e=N[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break o}n=i+2|0;while(1){e=1;p:{if(d>>>0<=j>>>0){break p}while(1){q:{g=T(d,20)+i|0;if(O[g+12|0]&32){break q}g=O[g+18|0];if(g>>>0>31|!(1<>>0>>0){continue}break}d=j}k=T(d,20);g=k+i|0;if(O[g+12|0]&32|O[g+18|0]!=4|O[(k+o|0)+16|0]==2){break g}g=d+1|0;if(g>>>0>=h>>>0|(O[(n+T(g,20)|0)+16|0]!=6|e)){break o}d=d-1|0;continue}}if(O[(T(d,20)+i|0)+19|0]==2|d>>>0<=j>>>0){break g}e=d;while(1){g=d-1|0;k=T(g,20);if(O[(k+o|0)+16|0]==2){n=i+k|0;N[m+24>>2]=N[n+16>>2];k=N[n+12>>2];N[m+16>>2]=N[n+8>>2];N[m+20>>2]=k;k=N[n+4>>2];N[m+8>>2]=N[n>>2];N[m+12>>2]=k;F(n,T(d,20)+i|0,T(e-g|0,20));k=T(e,20)+i|0;N[k+16>>2]=N[m+24>>2];d=N[m+20>>2];N[k+8>>2]=N[m+16>>2];N[k+12>>2]=d;d=N[m+12>>2];N[k>>2]=N[m+8>>2];N[k+4>>2]=d;f=f-(f>>>0>g>>>0&e>>>0>=f>>>0)|0;d=f+1|0;d=d>>>0>>0?d:h;if(d-e>>>0>=2){Ib(c,e,d)}e=e-1|0}d=g;if(j>>>0>>0){continue}break}break f}l=j+1|0;f=j;break d}e=j;while(1){if(O[(o+T(e,20)|0)+16|0]==2){d=f+1|0;d=d>>>0>>0?d:h;if(d-e>>>0<2){break f}Ib(c,e,d);break e}e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(r){break d}}n=T(j,20)+i|0;if(O[n+19|0]!=1|(O[n+18|0]==14|0)==((P[n+12>>1]&96)==32|0)){break d}k=N[N[q>>2]+12>>2];r:{s:{if((k|0)==12){break s}t:{u:{v:{d=l;if(f>>>0>d>>>0){while(1){e=d+1|0;g=T(d,20)+i|0;if(!(O[g+12|0]&32)&O[g+18|0]==4){break v}d=e;if((f|0)!=(d|0)){continue}break}}switch(k-5|0){case 4:break t;case 0:break u;default:break s}}if(e>>>0>=f>>>0){break r}g=T(e,20)+i|0;if(O[g+12|0]&32){break r}k=d;d=O[g+18|0];d=d>>>0<32&(1<>>0>>0?h:d)-1|0;e=f;while(1){w:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break w}if(O[(o+T(e,20)|0)+16|0]<6){continue}}break}if(d>>>0>=h>>>0){break s}break r}d=f+1|0;g=(d>>>0>>0?h:d)-1|0;e=f;while(1){x:{d=e;e=d+1|0;if(h>>>0<=e>>>0){d=g;break x}k=O[(o+T(e,20)|0)+16|0];if(k>>>0>31|!(1<>>0>>0){break r}}y:{d=l;if(f>>>0<=d>>>0){break y}while(1){z:{e=d+1|0;g=T(d,20)+i|0;if(!(O[g+12|0]&32)&O[g+18|0]==4){break z}d=e;if((f|0)!=(d|0)){continue}break y}break}if(e>>>0>=f>>>0){break r}g=T(e,20)+i|0;if(O[g+12|0]&32){break r}k=d;d=O[g+18|0];d=d>>>0<32&(1<>>0>j>>>0?j:d;d=h;while(1){A:{d=d-1|0;if(j>>>0>=d>>>0){d=e;break A}if(O[(o+T(d,20)|0)+16|0]==13){continue}}break}if(O[q+5|0]){break r}e=T(d,20)+i|0;if(O[e+12|0]&32|O[e+18|0]!=4){break r}e=f+1|0;if(e>>>0>=d>>>0){break r}g=i+2|0;while(1){k=d;d=O[(T(e,20)+g|0)+16|0];d=k-(d>>>0<32&(1<>>0>e>>>0){continue}break}}e=d+1|0;if(e-j>>>0>=2){Ib(c,j,e)}N[m+24>>2]=N[n+16>>2];e=N[n+12>>2];N[m+16>>2]=N[n+8>>2];N[m+20>>2]=e;e=N[n+4>>2];N[m+8>>2]=N[n>>2];N[m+12>>2]=e;F(n,T(l,20)+i|0,T(d-j|0,20));g=T(d,20)+i|0;N[g+16>>2]=N[m+24>>2];e=N[m+20>>2];N[g+8>>2]=N[m+16>>2];N[g+12>>2]=e;e=N[m+12>>2];N[g>>2]=N[m+8>>2];N[g+4>>2]=e;f=f-(f>>>0>j>>>0&d>>>0>=f>>>0)|0}B:{if(!p){break B}d=f+1|0;if(h>>>0<=d>>>0){break B}e=N[q+108>>2];C:{D:{while(1){E:{k=T(d,20)+i|0;if(e&N[k+4>>2]){if((P[k+12>>1]&96)!=32){break B}e=N[c+44>>2];if((e|0)==1298954605|(e|0)==1415671148){break E}e=f;if(j>>>0>=e>>>0){break D}while(1){e=f;f=e-1|0;g=T(f,20)+i|0;F:{if(O[g+12|0]&32){break F}g=O[g+18|0];if(g>>>0>31){break F}if(1<>>0>j>>>0){continue}break}e=j;break C}d=d+1|0;if((h|0)!=(d|0)){continue}break B}break}e=f}if(e>>>0<=j>>>0|e>>>0>=h>>>0){break C}g=T(e,20)+i|0;f=g-20|0;if(P[f+12>>1]&32|O[f+18|0]!=4|O[g+12|0]&32){break C}f=e;e=O[g+18|0];e=f+(e>>>0<32&(1<>>0>=2){Ib(c,e,f)}N[m+24>>2]=N[k+16>>2];f=N[k+12>>2];N[m+16>>2]=N[k+8>>2];N[m+20>>2]=f;f=N[k+4>>2];N[m+8>>2]=N[k>>2];N[m+12>>2]=f;f=T(e,20)+i|0;F(f+20|0,f,T(d-e|0,20));N[f+16>>2]=N[m+24>>2];d=N[m+20>>2];N[f+8>>2]=N[m+16>>2];N[f+12>>2]=d;d=N[m+12>>2];N[f>>2]=N[m+8>>2];N[f+4>>2]=d}d=T(j,20)+i|0;G:{if(O[d+19|0]!=2){break G}H:{if(j){f=j-1|0;k=T(f,20);if(1<>1]&8190){break H}}N[d+4>>2]=N[d+4>>2]|N[q+136>>2];break G}d=N[c+68>>2];o=d>>>0>>0?d:l;r=o-f|0;if(r>>>0<2){break G}p=N[c+144>>2]|32;N[c+144>>2]=p;if(f>>>0>=o>>>0){break G}s=N[c+80>>2];d=-1;i=f;if(o-j>>>0>=3){g=r&-4;e=0;while(1){n=s+T(i,20)|0;l=N[n+8>>2];l=d>>>0>>0?d:l;d=N[n+28>>2];l=d>>>0>l>>>0?l:d;d=N[n+48>>2];l=d>>>0>l>>>0?l:d;d=N[n+68>>2];d=d>>>0>l>>>0?l:d;i=i+4|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}e=0;g=r&3;if(g){while(1){l=N[(s+T(i,20)|0)+8>>2];d=d>>>0>>0?d:l;i=i+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}I:{if(!(r&1)){break I}f=j;e=k+s|0;if(N[e+8>>2]==(d|0)){break I}N[e+4>>2]=N[e+4>>2]|3}if((j|0)==(o|0)){break G}while(1){e=s+T(f,20)|0;if(N[e+8>>2]!=(d|0)){p=p|32;N[c+144>>2]=p;N[e+4>>2]=N[e+4>>2]|3}e=s+T(f+1|0,20)|0;if(N[e+8>>2]!=(d|0)){p=p|32;N[c+144>>2]=p;N[e+4>>2]=N[e+4>>2]|3}f=f+2|0;if((o|0)!=(f|0)){continue}break}}if(!(!O[q+5|0]|h-j>>>0<2|N[a+4>>2]==1415671148)){Ib(c,j,h)}e=N[c+68>>2];d=h+1|0;e=d>>>0>>0?e:d;l=e-1|0;i=N[c+80>>2];j=O[(i+T(h,20)|0)+15|0];f=i+3|0;d=h;while(1){J:{if((d|0)==(l|0)){d=e;break J}d=d+1|0;if((j|0)==O[(f+T(d,20)|0)+12|0]){continue}}break}j=h;if(h>>>0>>0){continue}break}}ib(c,b,13432,0)}a=O[c+140|0];if(!(a&64)){break a}a=a<<24>>24;L[c+140|0]=a&191;if((a|0)>=0){break a}L[c+140|0]=a&63}La=m+32|0;return 0}ba(22742,14165,187,12136);B()}function fv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0;g=La-320|0;La=g;N[b>>2]=1;N[b+504>>2]=0;a=N[b+96>>2];a:{b:{if(!a){break b}f=N[N[a>>2]+32>>2];if(f){m=Qa[f|0](a,10566)|0;if(m){break a}}f=N[a+4>>2];i=N[f+16>>2];if((i|0)<=0){break b}f=f+20|0;h=f+(i<<2)|0;while(1){i=N[f>>2];c:{if((i|0)==(a|0)){break c}j=N[N[i>>2]+32>>2];if(!j){break c}m=Qa[j|0](i,10566)|0;if(m){break a}}f=f+4|0;if(h>>>0>f>>>0){continue}break}}m=0}N[b+488>>2]=m;d:{e:{f:{g:{h:{i:{j:{k:{a=N[N[b+96>>2]+4>>2];if(!a){break k}i=N[a+16>>2];if((i|0)<=0){break k}s=b+504|0;f=a+20|0;a=f+(i<<2)|0;while(1){i=N[N[f>>2]>>2];if(cb(N[i+8>>2],7988)){f=f+4|0;if(a>>>0>f>>>0){continue}break k}break}p=N[i+20>>2];N[b+492>>2]=p;if(!p){f=11;break d}k=N[b+100>>2];C(g+4|0,0,304);a=Qa[N[k+4>>2]](k,12)|0;N[b+496>>2]=a;if(!a){f=!a<<6;break e}N[b+500>>2]=12;a=N[b+104>>2];Qa[N[N[p+4>>2]>>2]](g+4|0,0,0,k);L[g+88|0]=0;N[g+80>>2]=0;N[g+84>>2]=0;N[g+76>>2]=a;i=N[a+20>>2];if(!i){N[a+8>>2]=0;i=a+4|0;l=a+8|0;h=N[a+4>>2];break j}f=85;if(Qa[i|0](a,0,0,0)|0){break g}N[a+8>>2]=0;i=a+4|0;l=a+8|0;h=N[a+4>>2];if(!N[a+20>>2]){break j}if(h>>>0<17){break g}f=N[a+28>>2];h=Qa[N[f+4>>2]](f,17)|0;if(!h){f=64;i=a;break h}N[a>>2]=h;j=Qa[N[a+20>>2]](a,N[a+8>>2],h,17)|0;h=N[a>>2];if(j>>>0>16){f=0}else{if(h){Qa[N[f+8>>2]](f,h)}h=0;N[a>>2]=0;f=85}N[a+32>>2]=h;N[a+36>>2]=h?h+17|0:0;N[a+8>>2]=j+N[a+8>>2];if(j>>>0<17){break g}break i}N[b+492>>2]=0;f=11;break d}f=85;if(h>>>0<17){break g}N[a+8>>2]=17;h=N[a>>2];N[a+32>>2]=h;N[a+36>>2]=h+17}j=N[a+20>>2];if(Mb(h,9077,17)){if(j){if(h){f=N[a+28>>2];Qa[N[f+8>>2]](f,h)}N[a>>2]=0}N[a+32>>2]=0;i=a+36|0;f=2;break h}l:{m:{n:{if(!j){N[a+32>>2]=0;N[a+36>>2]=0;break n}o:{if(!h){N[a+32>>2]=0;N[a+36>>2]=0;N[a>>2]=0;break o}f=N[a+28>>2];Qa[N[f+8>>2]](f,h);N[a+32>>2]=0;N[a+36>>2]=0;N[a>>2]=0;j=N[a+20>>2];if(!j){break n}}f=85;if(Qa[j|0](a,0,0,0)|0){break g}N[a+8>>2]=0;h=N[a+4>>2];f=h;if(!N[a+20>>2]){break m}i=g+80|0;p:{if((h|0)>0){f=Qa[N[k+4>>2]](k,h)|0;if(f){break p}f=64;break h}f=6;if(h){break h}f=0}N[g+80>>2]=f;f=Zb(a,f,h);if(f){break g}N[g+84>>2]=h;break l}N[l>>2]=0;f=N[i>>2]}i=N[a>>2];L[g+88|0]=1;N[g+84>>2]=f;N[g+80>>2]=i;f=Xc(a,f);if(f){break g}h=N[g+84>>2]}a=N[g+80>>2];N[g+8>>2]=a;break f}N[i>>2]=0}if(O[g+88|0]){break e}a=N[g+80>>2];if(a){Qa[N[k+8>>2]](k,a)}a=0;N[g+80>>2]=0;if(f){break e}h=N[g+84>>2]}N[g+16>>2]=0;N[g+4>>2]=a;i=a+h|0;N[g+12>>2]=i;Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(i>>>0>f>>>0){n=b+132|0;q=b+164|0;o=b+464|0;while(1){q:{r:{a=O[f|0];if(!((a|0)!=70|i>>>0<=f+25>>>0)){if(bb(f,7876,13)){break r}a=g+4|0;Qa[N[g+36>>2]](a);Qa[N[g+32>>2]](a);a=N[g+4>>2];f=a;s:{if(a>>>0>=i>>>0){break s}while(1){t:{if(!(O[f|0]!=107|i>>>0<=f+5>>>0)){if(!bb(f,12543,5)){break t}}Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(i>>>0>f>>>0){continue}break s}break}f=g+4|0;Qa[N[g+36>>2]](f);Qa[N[g+60>>2]](f,g+308|0);a=N[g+316>>2]==3?N[g+4>>2]:a}N[g+4>>2]=a;break q}if((a|0)!=47|i>>>0<=f+2>>>0){break r}a=f+1|0;N[g+4>>2]=a;Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}h=N[g+4>>2];if((h|0)==(a|0)){break q}k=h-a|0;if(k>>>0>21){break q}f=0;if(h>>>0>=i>>>0){break q}while(1){u:{h=T(f,36);l=h+36880|0;j=N[l>>2];if(!j|O[a|0]!=O[j|0]){break u}if((nb(j)|0)!=(k|0)){break u}if(Mb(a,j,k)){break u}v:{if(f-15>>>0<=3){Qa[N[h+36892>>2]](b,g+4|0);f=N[g+16>>2];break v}a=N[h+36888>>2];w:{x:{switch(N[h+36884>>2]-2|0){case 0:N[g+308>>2]=q;break w;case 3:N[g+308>>2]=o;break w;default:break x}}N[g+308>>2]=n}if(a-9>>>0<=1){f=Qa[N[g+72>>2]](g+4|0,l,g+308|0,0,0)|0;break v}f=Qa[N[g+68>>2]](g+4|0,l,g+308|0,0,0)|0}N[g+16>>2]=f;if(!f){break q}break e}f=f+1|0;if((f|0)!=20){continue}break}break q}Qa[N[g+36>>2]](g+4|0);f=N[g+16>>2];if(f){break e}}Qa[N[g+32>>2]](g+4|0);f=N[g+4>>2];if(i>>>0>f>>>0){continue}break}}f=N[g+16>>2];if(f){break e}f=2;if(O[b+437|0]!=42){break e}l=N[g+148>>2];N[b+420>>2]=l;a=N[g+216>>2];i=0;N[g+216>>2]=0;N[b+396>>2]=N[g+204>>2];N[b+428>>2]=N[g+228>>2];N[b+432>>2]=N[g+232>>2];N[b+400>>2]=N[g+152>>2];N[b+424>>2]=N[g+176>>2];N[g+176>>2]=0;N[g+152>>2]=0;f=a?0:3;if(N[b+368>>2]!=1){break e}h=0;k=N[g+112>>2];y:{if((k|0)<=0){break y}j=0;if((l|0)>0){while(1){n=j<<2;q=N[n+N[g+120>>2]>>2];r=j<<1;M[r+N[b+384>>2]>>1]=0;N[n+N[b+388>>2]>>2]=15265;z:{if(!q){break z}t=N[b+424>>2];a=0;while(1){o=N[(a<<2)+t>>2];if(cb(q,o)){a=a+1|0;if((l|0)!=(a|0)){continue}break z}break}M[N[b+384>>2]+r>>1]=a;N[n+N[b+388>>2]>>2]=o;if(!cb(15265,o)){break z}h=(h|0)>(j|0)?h:j+1|0;i=(i|0)>(j|0)?j:i}j=j+1|0;if((k|0)!=(j|0)){continue}break}break y}a=0;if(k>>>0>=4){i=k&-4;while(1){M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;h=a|1;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|2;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;h=a|3;M[N[b+384>>2]+(h<<1)>>1]=0;N[N[b+388>>2]+(h<<2)>>2]=15265;a=a+4|0;if((i|0)!=(a|0)){continue}break}}k=k&3;if(!k){i=0;h=0;break y}while(1){i=0;M[N[b+384>>2]+(a<<1)>>1]=0;N[N[b+388>>2]+(a<<2)>>2]=15265;a=a+1|0;h=0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}N[b+380>>2]=h;N[b+376>>2]=i;N[b+372>>2]=N[g+92>>2]}a=N[g+144>>2];if(a){Qa[a|0](g+96|0)}a=N[g+252>>2];if(a){Qa[a|0](g+204|0)}a=N[g+200>>2];if(a){Qa[a|0](g+152|0)}a=N[g+304>>2];if(a){Qa[a|0](g+256|0)}if(!O[g+88|0]){a=N[g+80>>2];if(a){i=N[g+20>>2];Qa[N[i+8>>2]](i,a)}N[g+80>>2]=0}a=N[g+28>>2];if(a){Qa[a|0](g+4|0)}if(f|(c|0)<0){break d}f=6;if(c&65535){break d}N[b+36>>2]=0;N[b+4>>2]=0;N[b+24>>2]=12199;N[b+16>>2]=N[b+420>>2];a=N[b+144>>2];N[b+20>>2]=a;N[b+8>>2]=N[b+8>>2]|(O[b+156|0]?533:529)|2048;A:{if(a){f=N[b+140>>2];if(!f){break A}j=O[f|0];if(!j){break A}while(1){i=j&255;c=O[a|0];B:{if((i|0)==(c|0)){f=f+1|0;a=a+1|0;break B}i=i-32|0;if(!(!i|(i|0)==13)){C:{switch(c-32|0){case 0:case 13:a=a+1|0;break B;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break A;default:break C}}if(c){break A}N[b+24>>2]=f;break A}f=f+1|0}j=O[f|0];if(j){continue}break}break A}a=N[b+364>>2];if(!a){break A}N[b+20>>2]=a}N[b+28>>2]=0;N[b+32>>2]=0;N[g+4>>2]=9;c=N[N[b+96>>2]+4>>2];D:{if(!c){a=0;break D}a=N[c+16>>2];if((a|0)<=0){a=0;break D}f=c+20|0;i=f+(a<<2)|0;while(1){a=N[f>>2];if(!cb(N[N[a>>2]+8>>2],15504)){break D}f=f+4|0;if(i>>>0>f>>>0){continue}break}a=0}N[g+24>>2]=a;N[g+8>>2]=N[b+496>>2];N[g+12>>2]=N[b+500>>2];if(d){N[g+32>>2]=e;N[g+28>>2]=d;N[g+4>>2]=25}f=Td(c,g+4|0,0,s,1);if(f){break d}vn(N[N[b+504>>2]+88>>2]);a=N[b+504>>2];c=N[a+56>>2];N[b+52>>2]=N[a+52>>2];N[b+56>>2]=c;c=N[a+64>>2];N[b+60>>2]=N[a+60>>2];N[b+64>>2]=c;M[b+68>>1]=P[a+68>>1];M[b+70>>1]=P[a+70>>1];M[b+72>>1]=P[a+72>>1];M[b+74>>1]=P[a+74>>1];M[b+76>>1]=P[a+76>>1];M[b+78>>1]=P[a+78>>1];M[b+80>>1]=P[b+158>>1];M[b+82>>1]=P[b+160>>1];c=N[b+152>>2]!=0;N[b+12>>2]=c;if(O[a+12|0]&2){N[b+12>>2]=c|2}if(O[a+8|0]&32){N[b+8>>2]=N[b+8>>2]|32}if(!m){f=0;break d}a=N[p+32>>2];N[g+4>>2]=b;N[g+8>>2]=1970170211;N[g+12>>2]=65539;f=Bc(N[a+12>>2],0,g+4|0,0);E:{if(!f){break E}c=f&255;if((c|0)==163){break E}if((c|0)!=7){break d}}M[g+12>>1]=7;f=0;F:{G:{switch(N[b+368>>2]-1|0){case 1:M[g+14>>1]=0;N[g+8>>2]=1094995778;break F;case 3:M[g+14>>1]=1;N[g+8>>2]=1094992453;a=a+4|0;break F;case 0:M[g+14>>1]=2;N[g+8>>2]=1094992451;a=a+8|0;break F;case 2:break G;default:break d}}a=a+12|0;M[g+14>>1]=3;N[g+8>>2]=1818326065}a=N[a>>2];if(!a){break d}f=Bc(a,0,g+4|0,0)}La=g+320|0;return f|0}function tt(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=La-48|0;La=i;h=2;a:{b:{c:{d:{e:{f:{switch(N[a+796>>2]-1|0){case 0:case 1:l=N[a+864>>2];if(!l){h=142;break a}k=N[N[a+804>>2]+(b<<2)>>2];b=N[a+860>>2];j=N[a+104>>2];e=N[j+20>>2];g:{if(e){h=85;if(Qa[e|0](j,b,0,0)|0){break a}l=N[a+864>>2];e=N[a+860>>2];break g}h=85;e=b;if(b>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=b;N[i+4>>2]=j;N[i>>2]=a;b=N[a+84>>2];N[i+24>>2]=l;N[i+20>>2]=e;M[i+16>>1]=0;N[i+12>>2]=g;N[i+8>>2]=b+76;b=N[a+788>>2];N[i+36>>2]=b;e=N[a+792>>2];N[i+40>>2]=e+b;h=3;g=T(k,48);if(e>>>0>>0){break a}b=b+g|0;g=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);l=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);N[i+28>>2]=l;g=O[b+16|0]|O[b+17|0]<<8|(O[b+18|0]<<16|O[b+19|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);N[i+32>>2]=g;L[i+18|0]=O[b+54|0];if(e>>>0>>0|g>>>0>e-l>>>3>>>0){break a}h=Pl(i,c,0,0,0,d>>>22&1);if(h){break a}if(!(d&5242880)){break e}h=0;break a;case 2:break f;default:break a}}b=N[N[a+804>>2]+(b<<2)>>2];M[g>>1]=0;M[g+2>>1]=0;h=6;if(Q[a+16>>2]>>0){break a}b=N[a+788>>2]+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);g=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);k=g+4|0;while(1){b=N[a+864>>2];if(b>>>0<=g>>>0){h=3;break a}c=c<<2;if(c+12>>>0>b-g>>>0){h=3;break a}c=N[a+860>>2]+(c+k|0)|0;b=N[e+20>>2];h:{i:{if(b){h=85;if(Qa[b|0](e,c,0,0)|0){break a}N[e+8>>2]=c;b=N[e+4>>2];if(!N[e+20>>2]){break i}if(b>>>0<8){break a}b=N[e+28>>2];c=Qa[N[b+4>>2]](b,8)|0;if(!c){break d}N[e>>2]=c;j=Qa[N[e+20>>2]](e,N[e+8>>2],c,8)|0;d=N[e>>2];h=0;if(j>>>0<=7){if(d){Qa[N[b+8>>2]](b,d)}N[e>>2]=0;h=85;d=0}N[e+32>>2]=d;f=d?d+8|0:0;N[e+36>>2]=f;N[e+8>>2]=j+N[e+8>>2];c=d;if(j>>>0>=8){break h}break a}b=N[e+4>>2];if(c>>>0>b>>>0){h=85;break a}N[e+8>>2]=c}h=85;if(b-c>>>0<8|b>>>0<=c>>>0){break a}N[e+8>>2]=c+8;d=N[e>>2];c=c+d|0;N[e+32>>2]=c;f=c+8|0;N[e+36>>2]=f}h=0;j:{if(c+3>>>0>=f>>>0){b=0;break j}b=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);c=c+4|0}N[e+32>>2]=c;if(c+3>>>0>>0){f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=c+4|0}N[e+32>>2]=c;if(N[e+20>>2]){if(d){c=N[e+28>>2];Qa[N[c+8>>2]](c,d)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;if((b|0)==(h|0)){h=157;break a}if(b>>>0>h>>>0){h=3;break a}c=h-b|0;if(c>>>0<8){h=3;break a}if(N[a+864>>2]-g>>>0>>0){h=3;break a}b=N[a+860>>2]+(b+g|0)|0;k:{d=N[e+20>>2];if(d){if(!(Qa[d|0](e,b,0,0)|0)){break k}h=85;break a}if(b>>>0<=Q[e+4>>2]){break k}h=85;break a}N[e+8>>2]=b;h=Bb(e,c);if(h){break a}f=N[e+36>>2];b=N[e+32>>2];b=((f>>>0>b+1>>>0)<<1)+b|0;b=((b+1>>>0>>0)<<1)+b|0;N[e+32>>2]=b;if(f>>>0<=b+3>>>0){h=7;break b}c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);d=b+4|0;N[e+32>>2]=d;c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if((c|0)!=1685418085){h=2;if((c|0)==1785751328|(c|0)==1919378028){break b}a=7;if((c|0)==1953064550){break b}break c}if((l|0)==4){a=3;break c}c=0;if(f>>>0>b+5>>>0){d=b+6|0;c=O[b+5|0]|O[b+4|0]<<8}N[e+32>>2]=d;if(N[e+20>>2]){b=N[e>>2];if(b){d=N[e+28>>2];Qa[N[d+8>>2]](d,b)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;l=l+1|0;h=6;if(Q[a+16>>2]>=c>>>0){continue}break}break a}h=0;if(O[f+18|0]!=7){break a}n=N[N[a+84>>2]>>2];N[i+16>>2]=0;N[i+20>>2]=0;N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;g=f;h=33;l:{if(!n){break l}l=6;m:{n:{if(!g|!i){break n}o:{if((O[g+18|0]-1&255)>>>0<=6){c=N[n>>2];L[i+18|0]=2;h=N[i>>2];b=N[g>>2];N[i>>2]=b;N[i+4>>2]=N[g+4>>2];f=N[i+8>>2];e=N[g+4>>2];d=(e|0)>0;UE(e,0,b,0);if(Pa?d:0){break n}d=N[i+12>>2];k=f;f=f>>31;f=T(h,(k^f)-f|0);b=T(b,e);if((f|b)<0){N[i+12>>2]=d;h=6;break l}p:{if(!b){b=0;if(!d){break p}Qa[N[c+8>>2]](c,d);break p}if(!f){b=Qa[N[c+4>>2]](c,b)|0;if(b){break p}h=0;break m}b=Qa[N[c+12>>2]](c,f,b,d)|0;h=b?b:d;if(!b){break m}b=h}N[i+12>>2]=b;l=0;N[i+8>>2]=N[i+8>>2]<0?0-e|0:e;break o}b=N[i+12>>2]}c=N[g+12>>2];f=N[g+8>>2];if((f|0)<0){c=T(1-N[g>>2]|0,f)+c|0}j=N[i+8>>2];if((j|0)<0){b=T(1-N[i>>2]|0,j)+b|0}q:{switch(O[g+18|0]-1|0){case 0:M[i+16>>1]=2;j=N[g>>2];if(!j){break n}while(1){e=N[g+4>>2];r:{if(e>>>0<8){f=c;d=b;break r}h=e>>>3|0;d=b;f=c;while(1){e=O[f|0];L[d+7|0]=e&1;L[d|0]=e>>>7;L[d+6|0]=e>>>1&1;L[d+5|0]=e>>>2&1;L[d+4|0]=e>>>3&1;L[d+3|0]=e>>>4&1;L[d+2|0]=e>>>5&1;L[d+1|0]=e>>>6&1;f=f+1|0;d=d+8|0;h=h-1|0;if(h){continue}break}e=N[g+4>>2]}e=e&7;s:{if(!e){break s}f=O[f|0];L[d|0]=f>>>7;if((e|0)==1){break s}L[d+1|0]=f>>>6&1;if((e|0)==2){break s}L[d+2|0]=f>>>5&1;if((e|0)==3){break s}L[d+3|0]=f>>>4&1;if((e|0)==4){break s}L[d+4|0]=f>>>3&1;if((e|0)==5){break s}L[d+5|0]=f>>>2&1;if((e|0)==6){break s}L[d+6|0]=f>>>1&1}b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;j=j-1|0;if(j){continue}break};break n;case 1:case 4:case 5:f=N[g+4>>2];M[i+16>>1]=256;d=N[g>>2];if(!d){break n}if(d&1){F(b,c,f);b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;e=d-1|0}else{e=d}if((d|0)==1){break n}while(1){F(b,c,f);b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;F(b,c,f);b=b+N[i+8>>2]|0;c=c+N[g+8>>2]|0;e=e-2|0;if(e){continue}break};break n;case 2:M[i+16>>1]=4;j=N[g>>2];if(!j){break n}while(1){f=N[g+4>>2];t:{if(f>>>0<4){e=c;d=b;break t}k=f>>>2|0;h=k;d=b;e=c;if(f&4){d=O[c|0];L[b+3|0]=d&3;L[b|0]=d>>>6;L[b+2|0]=d>>>2&3;L[b+1|0]=d>>>4&3;h=k-1|0;e=c+1|0;d=b+4|0}if((k|0)!=1){while(1){f=O[e|0];L[d+3|0]=f&3;L[d|0]=f>>>6;L[d+2|0]=f>>>2&3;L[d+1|0]=f>>>4&3;f=O[e+1|0];L[d+7|0]=f&3;L[d+4|0]=f>>>6;L[d+6|0]=f>>>2&3;L[d+5|0]=f>>>4&3;d=d+8|0;e=e+2|0;h=h-2|0;if(h){continue}break}}f=N[g+4>>2]}f=f&3;u:{if(!f){break u}e=O[e|0];L[d|0]=e>>>6;if((f|0)==1){break u}L[d+1|0]=e>>>4&3;if((f|0)==2){break u}L[d+2|0]=e>>>2&3}b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;j=j-1|0;if(j){continue}break};break n;case 3:M[i+16>>1]=16;j=N[g>>2];if(!j){break n}while(1){k=N[g+4>>2];v:{if(k>>>0<2){e=c;d=b;break v}h=k>>>1|0;o=h-1|0;f=0;d=b;e=c;m=h&3;if(m){while(1){h=O[e|0];L[d+1|0]=h&15;L[d|0]=h>>>4;d=d+2|0;e=e+1|0;f=f+1|0;if((m|0)!=(f|0)){continue}break}h=k>>>1&2147483644}if(o>>>0>=3){while(1){f=O[e|0];L[d+1|0]=f&15;L[d|0]=f>>>4;f=O[e+1|0];L[d+3|0]=f&15;L[d+2|0]=f>>>4;f=O[e+2|0];L[d+5|0]=f&15;L[d+4|0]=f>>>4;f=O[e+3|0];L[d+7|0]=f&15;L[d+6|0]=f>>>4;d=d+8|0;e=e+4|0;h=h-4|0;if(h){continue}break}}k=N[g+4>>2]}if(k&1){L[d|0]=O[e|0]>>>4}b=N[i+8>>2]+b|0;c=N[g+8>>2]+c|0;j=j-1|0;if(j){continue}break};break n;case 6:break q;default:break n}}M[i+16>>1]=256;k=N[g>>2];if(!k){break n}h=N[g+4>>2];if(!h){break n}while(1){e=b;d=c;if(h){while(1){f=O[d+3|0];if(f){j=O[d+1|0];m=T(T(j,j),46871);j=O[d|0];m=m+T(T(j,j),4732)|0;j=O[d+2|0];f=f-((m+T(T(j,j),13933)>>>16>>>0)/(f>>>0)|0)|0}else{f=0}L[e|0]=f;e=e+1|0;d=d+4|0;h=h-1|0;if(h){continue}break}j=N[i+8>>2];f=N[g+8>>2]}k=k-1|0;if(!k){break n}c=c+f|0;b=b+j|0;h=N[g+4>>2];continue}}h=l;break l}N[i+12>>2]=h;h=64}if(h){if(!n){break a}a=N[i+12>>2];if(!a){break a}b=N[n>>2];Qa[N[b+8>>2]](b,a);break a}L[g+18|0]=O[i+18|0];N[g+8>>2]=N[i+8>>2];M[g+16>>1]=P[i+16>>1];d=N[i+12>>2];c=N[a+84>>2];e=N[c+156>>2];w:{if(!e){break w}b=N[e+4>>2];if(!(b&1)){break w}f=N[c+88>>2];if(f){b=N[N[c+4>>2]+100>>2];Qa[N[b+8>>2]](b,f);e=N[c+156>>2];b=N[e+4>>2]}N[e+4>>2]=b&-2}N[c+88>>2]=d;a=N[N[a+84>>2]+156>>2];N[a+4>>2]=N[a+4>>2]|1;break a}N[e>>2]=0;h=64;break a}h=a}if(N[e+20>>2]){a=N[e>>2];if(a){b=N[e+28>>2];Qa[N[b+8>>2]](b,a)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0}La=i+48|0;return h|0}function LB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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;p=La-48|0;La=p;q=N[a+8>>2];f=6;a:{b:{if(N[b+72>>2]!=N[a+16>>2]){break b}f=19;if((c|0)==2|c>>>0>4){break b}m=N[b+156>>2];f=N[m+4>>2];if(f&1){j=N[b+88>>2];if(j){Qa[N[q+8>>2]](q,j);m=N[b+156>>2];f=N[m+4>>2]}N[b+88>>2]=0;N[m+4>>2]=f&-2}f=98;m=0;if(kg(b,c,d)){break b}f=0;c:{i=b+76|0;j=N[i>>2];d:{if(!j){break d}h=N[b+84>>2];if(!h){break d}if((h|j)<0){f=6;break c}f=10;if((j|0)>(2147483647/(h>>>0)|0)){break c}e:{h=T(h,j);f=Qa[N[q+4>>2]](q,h)|0;if(!(!f|(j|0)<=0)){C(f,0,h);N[b+88>>2]=f;break e}N[b+88>>2]=f;if(f){break e}f=!f<<6;break b}f=N[b+156>>2];N[f+4>>2]=N[f+4>>2]|1;f=N[b+76>>2]<<6;o=(O[b+94|0]==6?(f|0)/3|0:f)-(N[b+104>>2]<<6)|0;m=0-(N[b+100>>2]<<6)|0;j=b+108|0;if(d){o=N[d+4>>2]+o|0;m=N[d>>2]+m|0}if(m|o){te(j,m,o)}f:{if(c>>>0<=1){if(O[b+124|0]&64){e=La+-64|0;La=e;d=N[j+4>>2];if(d){f=(M[j+2>>1]<<3)+d|0}else{f=0}c=98;g=N[i+4>>2];g:{if(g&1073733632){break g}N[e+56>>2]=g<<2;N[e+48>>2]=0;N[e+52>>2]=0;N[e+28>>2]=343;N[e+24>>2]=3;N[e+20>>2]=j;N[e+44>>2]=e+8;j=N[i>>2];N[e+60>>2]=j<<2;g=N[i+12>>2];c=N[i+8>>2];N[e+12>>2]=c;N[e+8>>2]=g+((c|0)>=0?T(c,j-1|0):0);if(d>>>0>>0){c=d;while(1){N[c>>2]=N[c>>2]<<2;N[c+4>>2]=N[c+4>>2]<<2;c=c+8|0;if(f>>>0>c>>>0){continue}break}c=Qa[N[a+56>>2]](N[a+52>>2],e+16|0)|0;while(1){N[d>>2]=N[d>>2]/4;N[d+4>>2]=N[d+4>>2]/4;d=d+8|0;if(f>>>0>d>>>0){continue}break}break g}c=Qa[N[a+56>>2]](N[a+52>>2],e+16|0)|0}La=e- -64|0;f=c;break f}N[p+8>>2]=1;N[p+4>>2]=j;N[p>>2]=i;f=Qa[N[a+56>>2]](N[a+52>>2],p)|0;break f}f=0;h:{switch(c-3|0){case 0:h=La+-64|0;La=h;k=N[a+4>>2];N[h+48>>2]=0;N[h+52>>2]=0;N[h+28>>2]=344;N[h+24>>2]=3;N[h+20>>2]=j;N[h+44>>2]=h+8;N[h+56>>2]=N[i+4>>2];d=N[i>>2];N[h+60>>2]=d;f=N[i+12>>2];c=N[i+8>>2];N[h+12>>2]=c;N[h+8>>2]=f+((c|0)>=0?T(c,d-1|0):0);c=k+184|0;i:{if(!j){break i}i=M[j+2>>1];if((i|0)<=0){break i}d=N[k+184>>2];f=N[k+180>>2];e=N[j+4>>2];if(i>>>0>=4){l=i&-4;while(1){N[e>>2]=N[e>>2]-f;N[e+4>>2]=N[e+4>>2]-d;N[e+8>>2]=N[e+8>>2]-f;N[e+16>>2]=N[e+16>>2]-f;N[e+24>>2]=N[e+24>>2]-f;N[e+12>>2]=N[e+12>>2]-d;N[e+20>>2]=N[e+20>>2]-d;N[e+28>>2]=N[e+28>>2]-d;e=e+32|0;g=g+4|0;if((l|0)!=(g|0)){continue}break}}i=i&3;if(!i){break i}g=0;while(1){N[e>>2]=N[e>>2]-f;N[e+4>>2]=N[e+4>>2]-d;e=e+8|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0;j:{if(f){d=k+180|0;break j}N[h+8>>2]=N[h+8>>2]+1;c=k+192|0;d=k+188|0;k:{if(!j){break k}l=M[j+2>>1];if((l|0)<=0){break k}f=N[k+184>>2]-N[k+192>>2]|0;i=N[k+180>>2]-N[k+188>>2]|0;e=N[j+4>>2];if(l>>>0>=4){n=l&-4;g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];N[e+8>>2]=i+N[e+8>>2];N[e+16>>2]=i+N[e+16>>2];N[e+24>>2]=i+N[e+24>>2];N[e+12>>2]=f+N[e+12>>2];N[e+20>>2]=f+N[e+20>>2];N[e+28>>2]=f+N[e+28>>2];e=e+32|0;g=g+4|0;if((n|0)!=(g|0)){continue}break}}l=l&3;if(!l){break k}g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];e=e+8|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0;if(f){break j}N[h+8>>2]=N[h+8>>2]+1;c=k+200|0;d=k+196|0;l:{if(!j){break l}l=M[j+2>>1];if((l|0)<=0){break l}f=N[k+192>>2]-N[k+200>>2]|0;i=N[k+188>>2]-N[k+196>>2]|0;e=N[j+4>>2];if(l>>>0>=4){k=l&-4;g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];N[e+8>>2]=i+N[e+8>>2];N[e+16>>2]=i+N[e+16>>2];N[e+24>>2]=i+N[e+24>>2];N[e+12>>2]=f+N[e+12>>2];N[e+20>>2]=f+N[e+20>>2];N[e+28>>2]=f+N[e+28>>2];e=e+32|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}k=l&3;if(!k){break l}g=0;while(1){N[e>>2]=i+N[e>>2];N[e+4>>2]=f+N[e+4>>2];e=e+8|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],h+16|0)|0}m:{if(!j){break m}i=M[j+2>>1];if((i|0)<=0){break m}a=N[d>>2];c=N[c>>2];e=N[j+4>>2];if(i>>>0>=4){d=i&-4;g=0;while(1){N[e>>2]=a+N[e>>2];N[e+4>>2]=c+N[e+4>>2];N[e+8>>2]=a+N[e+8>>2];N[e+16>>2]=a+N[e+16>>2];N[e+24>>2]=a+N[e+24>>2];N[e+12>>2]=c+N[e+12>>2];N[e+20>>2]=c+N[e+20>>2];N[e+28>>2]=c+N[e+28>>2];e=e+32|0;g=g+4|0;if((d|0)!=(g|0)){continue}break}}d=i&3;if(!d){break m}g=0;while(1){N[e>>2]=a+N[e>>2];N[e+4>>2]=c+N[e+4>>2];e=e+8|0;g=g+1|0;if((d|0)!=(g|0)){continue}break}}La=h- -64|0;break f;case 1:break h;default:break d}}k=La-48|0;La=k;d=N[a+4>>2];l=N[i+8>>2];N[k+8>>2]=1;N[k+4>>2]=j;N[k>>2]=i;N[i+8>>2]=T(l,3);N[i>>2]=Q[i>>2]/3;n:{if(!j){break n}h=M[j+2>>1];if((h|0)<=0){break n}f=N[d+184>>2];g=N[d+180>>2];c=N[j+4>>2];if(h>>>0>=4){n=h&-4;while(1){N[c>>2]=N[c>>2]-f;N[c+4>>2]=g+N[c+4>>2];N[c+8>>2]=N[c+8>>2]-f;N[c+16>>2]=N[c+16>>2]-f;N[c+24>>2]=N[c+24>>2]-f;N[c+12>>2]=g+N[c+12>>2];N[c+20>>2]=g+N[c+20>>2];N[c+28>>2]=g+N[c+28>>2];c=c+32|0;e=e+4|0;if((n|0)!=(e|0)){continue}break}}h=h&3;if(!h){break n}e=0;while(1){N[c>>2]=N[c>>2]-f;N[c+4>>2]=g+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+180>>2];h=N[d+184>>2];o:{if(f){break o}N[i+12>>2]=l+N[i+12>>2];p:{if(!j){break p}n=M[j+2>>1];if((n|0)<=0){break p}f=N[d+188>>2]-g|0;g=h-N[d+192>>2]|0;c=N[j+4>>2];if(n>>>0>=4){h=n&-4;e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];N[c+8>>2]=g+N[c+8>>2];N[c+16>>2]=g+N[c+16>>2];N[c+24>>2]=g+N[c+24>>2];N[c+12>>2]=f+N[c+12>>2];N[c+20>>2]=f+N[c+20>>2];N[c+28>>2]=f+N[c+28>>2];c=c+32|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=n&3;if(!h){break p}e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+188>>2];h=N[d+192>>2];c=N[i+12>>2]-l|0;N[i+12>>2]=c;if(f){break o}n=l<<1;N[i+12>>2]=n+c;q:{if(!j){break q}l=M[j+2>>1];if((l|0)<=0){break q}f=N[d+196>>2]-g|0;g=h-N[d+200>>2]|0;c=N[j+4>>2];if(l>>>0>=4){h=l&-4;e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];N[c+8>>2]=g+N[c+8>>2];N[c+16>>2]=g+N[c+16>>2];N[c+24>>2]=g+N[c+24>>2];N[c+12>>2]=f+N[c+12>>2];N[c+20>>2]=f+N[c+20>>2];N[c+28>>2]=f+N[c+28>>2];c=c+32|0;e=e+4|0;if((h|0)!=(e|0)){continue}break}}h=l&3;if(!h){break q}e=0;while(1){N[c>>2]=g+N[c>>2];N[c+4>>2]=f+N[c+4>>2];c=c+8|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}f=Qa[N[a+56>>2]](N[a+52>>2],k)|0;g=N[d+196>>2];h=N[d+200>>2];N[i+12>>2]=N[i+12>>2]-n}r:{if(!j){break r}a=M[j+2>>1];if((a|0)<=0){break r}c=N[j+4>>2];if(a>>>0>=4){d=a&-4;e=0;while(1){N[c>>2]=N[c>>2]+h;N[c+4>>2]=N[c+4>>2]-g;N[c+8>>2]=N[c+8>>2]+h;N[c+16>>2]=N[c+16>>2]+h;N[c+24>>2]=N[c+24>>2]+h;N[c+12>>2]=N[c+12>>2]-g;N[c+20>>2]=N[c+20>>2]-g;N[c+28>>2]=N[c+28>>2]-g;c=c+32|0;e=e+4|0;if((d|0)!=(e|0)){continue}break}}a=a&3;if(!a){break r}e=0;while(1){N[c>>2]=N[c>>2]+h;N[c+4>>2]=N[c+4>>2]-g;c=c+8|0;e=e+1|0;if((a|0)!=(e|0)){continue}break}}N[i+8>>2]=N[i+8>>2]/3;N[i>>2]=T(N[i>>2],3);La=k+48|0}if(f){break b}}N[b+72>>2]=1651078259;break a}N[b+88>>2]=0}a=N[b+156>>2];c=N[a+4>>2];if(!(c&1)){break a}d=N[b+88>>2];if(d){Qa[N[q+8>>2]](q,d);a=N[b+156>>2];c=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=c&-2}s:{if(!(m|o)){break s}c=M[b+110>>1];if((c|0)<=0){break s}b=N[b+112>>2];if(c>>>0>=4){d=c&-4;a=0;while(1){N[b>>2]=N[b>>2]-m;N[b+4>>2]=N[b+4>>2]-o;N[b+8>>2]=N[b+8>>2]-m;N[b+16>>2]=N[b+16>>2]-m;N[b+24>>2]=N[b+24>>2]-m;N[b+12>>2]=N[b+12>>2]-o;N[b+20>>2]=N[b+20>>2]-o;N[b+28>>2]=N[b+28>>2]-o;b=b+32|0;a=a+4|0;if((d|0)!=(a|0)){continue}break}}c=c&3;if(!c){break s}a=0;while(1){N[b>>2]=N[b>>2]-m;N[b+4>>2]=N[b+4>>2]-o;b=b+8|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}}La=p+48|0;return f|0}function rn(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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,O=0;k=La-336|0;La=k;n=h;p=i&65535;o=d;m=e&65535;u=(e^i)&-2147483648;s=i>>>16&32767;q=e>>>16&32767;a:{b:{if(s-32767>>>0>4294934529&q-32767>>>0>=4294934530){break b}j=e&2147483647;if(!(!d&(j|0)==2147418112?!(b|c):j>>>0<2147418112)){r=d;u=e|32768;break a}e=i&2147483647;if(!(!h&(e|0)==2147418112?!(f|g):e>>>0<2147418112)){r=h;u=i|32768;b=f;c=g;break a}if(!(b|d|(j^2147418112|c))){if(!(f|h|(e^2147418112|g))){b=0;c=0;u=2147450880;break a}u=u|2147418112;b=0;c=0;break a}if(!(f|h|(e^2147418112|g))){b=0;c=0;break a}if(!(b|d|(c|j))){b=!(f|h|(e|g));r=b?0:r;u=b?2147450880:u;b=0;c=0;break a}if(!(f|h|(e|g))){u=u|2147418112;b=0;c=0;break a}if((j|0)==65535|j>>>0<65535){d=!(m|o);i=d;j=d?b:o;d=d<<6;i=W(i?c:m);d=d+((i|0)==32?W(j)+32|0:i)|0;hc(k+320|0,b,c,o,m,d-15|0);v=16-d|0;o=N[k+328>>2];m=N[k+332>>2];c=N[k+324>>2];b=N[k+320>>2]}if(e>>>0>65535){break b}d=!(n|p);h=d;i=d?f:n;d=d<<6;h=W(h?g:p);d=d+((h|0)==32?W(i)+32|0:h)|0;hc(k+304|0,f,g,n,p,d-15|0);v=(d+v|0)-16|0;n=N[k+312>>2];p=N[k+316>>2];f=N[k+304>>2];g=N[k+308>>2]}e=p|65536;A=e;B=n;d=n;j=e<<15|d>>>17;e=d<<15|g>>>17;d=e;i=0-d|0;h=j;j=1963258675-(j+((d|0)!=0)|0)|0;hb(k+288|0,d,h,0,0,i,j,0,0);d=N[k+296>>2];hb(k+272|0,0-d|0,0-(N[k+300>>2]+((d|0)!=0)|0)|0,0,0,i,j,0,0);d=N[k+280>>2];i=d<<1|N[k+276>>2]>>>31;d=N[k+284>>2]<<1|d>>>31;hb(k+256|0,i,d,0,0,e,h,0,0);j=N[k+264>>2];hb(k+240|0,i,d,0,0,0-j|0,0-(N[k+268>>2]+((j|0)!=0)|0)|0,0,0);i=N[k+248>>2];j=i<<1|N[k+244>>2]>>>31;d=N[k+252>>2]<<1|i>>>31;hb(k+224|0,j,d,0,0,e,h,0,0);i=N[k+232>>2];hb(k+208|0,j,d,0,0,0-i|0,0-(N[k+236>>2]+((i|0)!=0)|0)|0,0,0);d=N[k+216>>2];i=d<<1|N[k+212>>2]>>>31;d=N[k+220>>2]<<1|d>>>31;hb(k+192|0,i,d,0,0,e,h,0,0);j=N[k+200>>2];hb(k+176|0,i,d,0,0,0-j|0,0-(N[k+204>>2]+((j|0)!=0)|0)|0,0,0);i=e;e=N[k+184>>2];d=h;n=e<<1|N[k+180>>2]>>>31;h=n-1|0;e=(N[k+188>>2]<<1|e>>>31)-!n|0;hb(k+160|0,i,d,0,0,h,e,0,0);d=h;hb(k+144|0,f<<15,g<<15|f>>>17,0,0,d,e,0,0);t=k+112|0;y=N[k+168>>2];h=N[k+172>>2];n=N[k+160>>2];i=N[k+152>>2];l=n+i|0;p=N[k+164>>2];j=p+N[k+156>>2]|0;j=i>>>0>l>>>0?j+1|0:j;i=j;j=(p|0)==(j|0)&l>>>0>>0|j>>>0

>>0;p=j+y|0;j=j>>>0>p>>>0?h+1|0:h;n=!i&l>>>0>1|(i|0)!=0;h=n+p|0;j=n>>>0>h>>>0?j+1|0:j;hb(t,d,e,0,0,0-h|0,0-(((h|0)!=0)+j|0)|0,0,0);hb(k+128|0,1-l|0,0-((l>>>0>1)+i|0)|0,0,0,d,e,0,0);H=(q-s|0)+v|0;e=N[k+116>>2];t=e;d=N[k+112>>2];j=e<<1|d>>>31;n=d<<1;q=j;d=j;h=N[k+140>>2];z=h;e=N[k+136>>2];j=h<<1|e>>>31;i=e<<1|N[k+132>>2]>>>31;h=i+n|0;d=d+j|0;d=h>>>0>>0?d+1|0:d;e=d;d=d-(h>>>0<13927)|0;x=d;y=d;l=0;j=m|65536;I=j;J=o;d=o;j=j<<1|d>>>31;L=d<<1;M=j;D=j;d=UE(x,l,j,0);j=Pa;E=d;w=j;v=b<<1;d=c<<1|b>>>31;s=d;j=0;p=j;i=h-13927|0;x=(e|0)==(x|0)&i>>>0>>0|e>>>0>x>>>0;e=(e|0)==(q|0)&h>>>0>>0|e>>>0>>0;d=N[k+120>>2];h=N[k+124>>2]<<1|d>>>31;d=d<<1|t>>>31;j=h;l=z>>>31|0;d=l+d|0;j=d>>>0>>0?j+1|0:j;h=d;d=d+e|0;l=h>>>0>d>>>0?j+1|0:j;e=d;d=d+x|0;l=e>>>0>d>>>0?l+1|0:l;e=d-1|0;x=l-!d|0;q=0;j=UE(s,p,x,q);d=j+E|0;h=Pa+w|0;h=d>>>0>>0?h+1|0:h;t=(w|0)==(h|0)&d>>>0>>0|h>>>0>>0;j=0;z=e;K=c>>>31|0;C=K|o<<1;w=0;e=UE(e,j,C,w);o=e+d|0;j=Pa+h|0;l=0;j=e>>>0>o>>>0?j+1|0:j;n=j;d=(j|0)==(h|0)&d>>>0>o>>>0|h>>>0>j>>>0;e=d;d=d+t|0;l=e>>>0>d>>>0?1:l;e=UE(D,p,x,q);d=e+d|0;j=Pa+l|0;t=d;d=d>>>0>>0?j+1|0:j;e=UE(D,p,z,w);m=Pa;h=e;e=UE(C,w,x,q);l=h+e|0;j=Pa+m|0;j=e>>>0>l>>>0?j+1|0:j;e=j;j=(m|0)==(j|0)&h>>>0>l>>>0|j>>>0>>0;m=t+e|0;d=d+j|0;d=m>>>0>>0?d+1|0:d;t=m;m=d;e=0;d=e+o|0;j=l+n|0;j=d>>>0>>0?j+1|0:j;e=j;h=(j|0)==(n|0)&d>>>0>>0|j>>>0>>0;j=m;l=h;h=h+t|0;j=l>>>0>h>>>0?j+1|0:j;F=h;l=j;t=d;m=d;o=e;E=i;d=UE(i,0,C,w);h=Pa;e=d;i=UE(y,r,s,r);d=d+i|0;j=Pa+h|0;j=d>>>0>>0?j+1|0:j;i=(h|0)==(j|0)&d>>>0>>0|h>>>0>j>>>0;h=j;G=v&-2;e=UE(z,w,G,0);n=e+d|0;j=Pa+j|0;j=e>>>0>n>>>0?j+1|0:j;e=j;d=(j|0)==(h|0)&d>>>0>n>>>0|h>>>0>j>>>0;h=0;i=d+i|0;d=(i>>>0>>0?1:h)+o|0;j=l;m=i+m|0;d=m>>>0>>0?d+1|0:d;i=d;d=(d|0)==(o|0)&m>>>0>>0|d>>>0>>0;h=d;d=d+F|0;j=h>>>0>d>>>0?j+1|0:j;O=d;t=j;d=UE(D,p,E,r);F=Pa;D=d;h=UE(x,q,G,r);d=d+h|0;j=Pa+F|0;o=d;p=UE(y,r,C,w);l=d+p|0;h=d>>>0>>0?j+1|0:j;d=h+Pa|0;d=l>>>0

>>0?d+1|0:d;q=l;j=UE(s,r,z,w);p=l+j|0;l=Pa+d|0;l=j>>>0>p>>>0?l+1|0:l;z=0;C=(d|0)==(l|0)&p>>>0>>0|d>>>0>l>>>0;j=(h|0)==(F|0)&o>>>0>>0|h>>>0>>0;d=(d|0)==(h|0)&o>>>0>q>>>0|d>>>0>>0;d=d+j|0;d=d+C|0;h=l;q=h+m|0;j=(d|z)+i|0;j=h>>>0>q>>>0?j+1|0:j;o=j;d=(i|0)==(j|0)&m>>>0>q>>>0|i>>>0>j>>>0;j=t;h=d;d=d+O|0;j=h>>>0>d>>>0?j+1|0:j;z=d;i=j;d=UE(y,r,G,r);y=Pa;m=d;h=UE(s,r,E,r);d=d+h|0;j=Pa+y|0;j=d>>>0>>0?j+1|0:j;t=0;h=(j|0)==(y|0)&d>>>0>>0|j>>>0>>0;m=j;d=j+n|0;j=(h|t)+e|0;j=d>>>0>>0?j+1|0:j;h=j;m=(e|0)==(j|0)&d>>>0>>0|e>>>0>j>>>0;j=p;p=0;n=p+d|0;l=h+j|0;j=0;l=n>>>0

>>0?l+1|0:l;d=(h|0)==(l|0)&d>>>0>n>>>0|h>>>0>l>>>0;e=d;d=d+m|0;j=(e>>>0>d>>>0?1:j)+o|0;l=i;e=d;d=d+q|0;j=e>>>0>d>>>0?j+1|0:j;e=j;h=(o|0)==(j|0)&d>>>0>>0|j>>>0>>0;i=h;h=h+z|0;l=i>>>0>h>>>0?l+1|0:l;i=l;c:{if((l|0)==131071|l>>>0<131071){J=L|K;I=w|M;hb(k+80|0,d,e,h,i,f,g,B,A);l=N[k+84>>2];p=l;j=b<<17;n=0;m=N[k+88>>2];c=n-m|0;b=N[k+80>>2];l=(l|b)!=0;o=c-l|0;m=(j-(N[k+92>>2]+(m>>>0>n>>>0)|0)|0)-(c>>>0>>0)|0;n=0-b|0;p=0-(((b|0)!=0)+p|0)|0;b=H+16382|0;break c}d=(e&1)<<31|d>>>1;e=h<<31|e>>>1;h=(i&1)<<31|h>>>1;i=i>>>1|0;hb(k+96|0,d,e,h,i,f,g,B,A);o=N[k+100>>2];s=o;v=N[k+104>>2];n=0-v|0;l=N[k+96>>2];m=(o|l)!=0;o=n-m|0;m=((b<<16)-(N[k+108>>2]+(p>>>0>>0)|0)|0)-(m>>>0>n>>>0)|0;n=0-l|0;p=0-(((l|0)!=0)+s|0)|0;v=b;s=c;b=H+16383|0}if((b|0)>=32767){u=u|2147418112;b=0;c=0;break a}d:{if((b|0)>0){l=m<<1|o>>>31;o=o<<1|p>>>31;m=l;v=h;s=i&65535|b<<16;l=p<<1|n>>>31;i=n<<1;break d}if((b|0)<=-113){b=0;c=0;break a}Qd(k- -64|0,d,e,h,i,1-b|0);hc(k+48|0,v,s,J,I,b+112|0);d=N[k+64>>2];e=N[k+68>>2];v=N[k+72>>2];s=N[k+76>>2];hb(k+32|0,f,g,B,A,d,e,v,s);b=N[k+40>>2];c=N[k+56>>2];l=N[k+36>>2];o=b<<1|l>>>31;n=c-o|0;m=N[k+60>>2]-((N[k+44>>2]<<1|b>>>31)+(c>>>0>>0)|0)|0;b=N[k+32>>2];h=l<<1|b>>>31;j=b<<1;i=N[k+52>>2];c=N[k+48>>2];b=(h|0)==(i|0)&j>>>0>c>>>0|h>>>0>i>>>0;o=n-b|0;m=m-(b>>>0>n>>>0)|0;l=i-((c>>>0>>0)+h|0)|0;i=c-j|0}b=i;hb(k+16|0,f,g,B,A,3,0,0,0);hb(k,f,g,B,A,5,0,0,0);c=0;h=l+c|0;j=d&1;b=b+j|0;h=i>>>0>b>>>0?h+1|0:h;i=b;g=(g|0)==(h|0)&b>>>0>f>>>0|g>>>0>>0;l=m;b=(c|0)==(h|0)&b>>>0>>0|c>>>0>h>>>0;f=b+o|0;l=b>>>0>f>>>0?l+1|0:l;j=e;b=(l|0)==(A|0);b=b&(f|0)==(B|0)?g:b&f>>>0>B>>>0|l>>>0>A>>>0;c=b;b=b+d|0;j=c>>>0>b>>>0?j+1|0:j;c=j;d=(e|0)==(j|0)&b>>>0>>0|e>>>0>j>>>0;j=s;e=d;d=d+v|0;j=e>>>0>d>>>0?j+1|0:j;g=d;e=N[k+20>>2];m=(e|0)==(h|0)&Q[k+16>>2]>>0|e>>>0>>0;e=N[k+28>>2];d=N[k+24>>2];e=j>>>0<2147418112&((d|0)==(f|0)&(e|0)==(l|0)?m:(e|0)==(l|0)&d>>>0>>0|e>>>0>>0);d=c;m=e;e=b+e|0;d=m>>>0>e>>>0?d+1|0:d;b=(c|0)==(d|0)&b>>>0>e>>>0|c>>>0>d>>>0;c=b;b=b+g|0;j=c>>>0>b>>>0?j+1|0:j;g=b;c=N[k+4>>2];h=(c|0)==(h|0)&Q[k>>2]>>0|c>>>0>>0;c=N[k+12>>2];b=N[k+8>>2];b=j>>>0<2147418112&((b|0)==(f|0)&(c|0)==(l|0)?h:(c|0)==(l|0)&b>>>0>>0|c>>>0>>0);c=b;b=b+e|0;l=c>>>0>b>>>0?d+1|0:d;c=l;e=(d|0)==(l|0)&b>>>0>>0|d>>>0>l>>>0;d=j;f=e;e=e+g|0;d=f>>>0>e>>>0?d+1|0:d;r=e|r;u=d|u}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=r;N[a+12>>2]=u;La=k+336|0}function Dr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0;k=La-80|0;La=k;e=eb(680);n=N[b>>2];o=N[a>>2];a=O[d|0];N[e+676>>2]=0;N[e+668>>2]=0;N[e+672>>2]=0;N[e+364>>2]=0;N[e+356>>2]=0;N[e+360>>2]=0;N[e+324>>2]=0;N[e+316>>2]=0;N[e+320>>2]=0;N[e+284>>2]=0;N[e+276>>2]=0;N[e+280>>2]=0;N[e+244>>2]=0;N[e+236>>2]=0;N[e+240>>2]=0;N[e+204>>2]=0;N[e+196>>2]=0;N[e+200>>2]=0;N[e+164>>2]=0;N[e+156>>2]=0;N[e+160>>2]=0;N[e+124>>2]=0;N[e+116>>2]=0;N[e+120>>2]=0;N[e+84>>2]=0;N[e+76>>2]=0;N[e+80>>2]=0;N[e+44>>2]=0;N[e+36>>2]=0;N[e+40>>2]=0;N[e+8>>2]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+660>>2]=0;N[e+400>>2]=0;N[e+380>>2]=0;N[e+384>>2]=0;N[e+392>>2]=0;N[e+396>>2]=0;N[e+376>>2]=0;L[e+388|0]=a;L[e+372|0]=0;a:{a=L[c+11|0]<0?N[c>>2]:c;if(nb(a)>>>0<256){t=pd(e+404|0,a);l=db(1,28);if(!l){break a}N[e+380>>2]=l;c=0;N[l+24>>2]=0;N[l+20>>2]=80;N[k+64>>2]=24121344;mb(l,4,19069,k- -64|0);N[k+48>>2]=24067;mb(l,4,11566,k+48|0);a=k+76|0;j=La-432|0;La=j;b:{b=kb(16);if(!b){m=7;break b}N[b+12>>2]=105;N[b+4>>2]=106;N[b>>2]=0;N[b+8>>2]=107;c:{if(!a){_a(b);m=6;break c}d=kb(208);if(!d){_a(b);m=64;break c}C(d+16|0,0,188);N[d+204>>2]=1;N[d+12>>2]=0;N[d+4>>2]=2;N[d+8>>2]=11;N[d>>2]=b;N[a>>2]=d;gc(d,356728);gc(d,356824);gc(d,356920);gc(d,357016);gc(d,357112);gc(d,357208);gc(d,357304);gc(d,357400);gc(d,357496);gc(d,357592);gc(d,357628);gc(d,357664);gc(d,357700);gc(d,357760);gc(d,357820);gc(d,357880);gc(d,357940);gc(d,357976);m=0}p=N[a>>2];g=th(19517);if(!g){break b}q=p+20|0;while(1){d=0;d:{e:{f:{b=g;f=O[b|0];switch(f|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break e;case 0:break b;case 9:break d;default:break f}}if((f|0)==32){break d}}g:{h:{i:{while(1){a=f&255;if(!a|(a|0)==58){break g}L[(j+288|0)+d|0]=f;a=b+1|0;f=d|1;h=O[b+1|0];if(!((h|0)==58|!h)){L[f+(j+288|0)|0]=h;a=b+2|0;f=d|2;h=O[b+2|0];if(!h|(h|0)==58){break h}L[f+(j+288|0)|0]=h;a=b+3|0;f=d|3;h=O[b+3|0];if(!h|(h|0)==58){break i}L[f+(j+288|0)|0]=h;b=b+4|0;d=d+4|0;if((d|0)==128){d=128;break g}f=O[b|0];continue}break}b=a;d=f;break g}b=a;d=f;break g}b=a;d=f}L[(j+288|0)+d|0]=0;if((b|0)==(g|0)|O[b|0]!=58){break b}a=1;d=b+1|0;f=0;j:{while(1){g=O[d|0];if(!g){g=f;break j}if((g|0)==61){g=f;break j}L[(j+144|0)+f|0]=g;g=f|1;h=a+1|0;d=h+b|0;i=O[d|0];if(!i){a=h;break j}if((i|0)==61){a=h;break j}L[(j+144|0)+g|0]=i;g=f|2;h=a+2|0;d=h+b|0;i=O[d|0];if(!i){a=h;break j}if((i|0)==61){a=h;break j}L[(j+144|0)+g|0]=i;g=f|3;h=a+3|0;d=h+b|0;i=O[d|0];if(!i){a=h;break j}if((i|0)==61){a=h;break j}L[(j+144|0)+g|0]=i;a=a+4|0;d=b+a|0;g=128;f=f+4|0;if((f|0)!=128){continue}break}a=129}L[(j+144|0)+g|0]=0;if((a|0)==1|O[d|0]!=61){break b}a=1;g=d+1|0;f=0;k:{while(1){h=a;b=f;l:{m:{i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break l;default:break m}}if((i|0)!=32){break l}break k}L[f+j|0]=i;b=f|1;n:{o:{h=a+1|0;g=h+d|0;i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break n;default:break o}}if((i|0)==32){break k}}L[b+j|0]=i;b=f|2;p:{q:{h=a+2|0;g=h+d|0;i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break p;default:break q}}if((i|0)==32){break k}}L[b+j|0]=i;b=f|3;r:{s:{h=a+3|0;g=h+d|0;i=O[g|0];switch(i|0){case 0:case 9:break k;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break r;default:break s}}if((i|0)==32){break k}}L[b+j|0]=i;a=a+4|0;g=d+a|0;b=128;f=f+4|0;if((f|0)!=128){continue}break}h=129}L[b+j|0]=0;t:{u:{a=O[g|0];switch(a|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 0:case 9:break t;default:break u}}if((a|0)!=32){break b}}if((h|0)==1){break b}v:{if(!p){break v}a=N[p+16>>2];d=(a<<2)+q|0;b=q;w:{if((a|0)<=0){break w}while(1){if(!cb(N[N[N[b>>2]>>2]+8>>2],j+288|0)){break w}b=b+4|0;if(d>>>0>b>>>0){continue}break}}if((b|0)==(d|0)){break v}d=N[b>>2];a=N[N[d>>2]+32>>2];if(!a){break v}a=Qa[a|0](d,11276)|0;if(!a){break v}a=N[a>>2];if(!a){break v}Qa[a|0](N[b>>2],j+144|0,j,1)|0}if(!O[g|0]){break b}}g=g+1|0;continue}}La=j+432|0;x:{y:{if(m){N[k+32>>2]=15594;mb(l,0,16788,k+32|0);break y}a=N[k+76>>2];z:{if(!a){d=0;a=0;break z}d=N[a+12>>2];c=N[a+4>>2];a=N[a+8>>2]}N[k+24>>2]=d;N[k+20>>2]=a;N[k+16>>2]=c;mb(l,6,17016,k+16|0);c=db(1,1120);if(!c){dq(N[k+76>>2]);c=0;break y}N[c>>2]=l;a=N[k+76>>2];N[c+972>>2]=81;N[c+968>>2]=82;N[c+964>>2]=83;N[c+960>>2]=84;N[c+956>>2]=85;N[c+952>>2]=86;N[c+948>>2]=87;N[c+944>>2]=88;N[c+940>>2]=89;N[c+936>>2]=90;N[c+932>>2]=91;N[c+928>>2]=92;N[c+924>>2]=93;N[c+920>>2]=94;N[c+916>>2]=95;N[c+912>>2]=96;N[c+908>>2]=97;N[c+904>>2]=98;N[c+900>>2]=99;N[c+896>>2]=100;N[c+892>>2]=101;N[c+888>>2]=102;N[c+884>>2]=103;N[c+880>>2]=104;N[c+876>>2]=5;N[c+4>>2]=a;N[c+224>>2]=0;N[c+228>>2]=0;N[c+204>>2]=16;N[c+872>>2]=4;N[c+232>>2]=0;N[c+236>>2]=0;N[c+240>>2]=0;N[c+244>>2]=0;N[c+248>>2]=0;d=kb(1043);if(!d){N[c+252>>2]=0;break y}a=d+4|0;b=a&15;a=(b?16-b|0:0)+a|0;N[a-4>>2]=d;N[c+252>>2]=a;if(!a){break y}b=db(1,36);a=0;A:{if(!b){break A}N[b+16>>2]=440388;N[b>>2]=65535;N[b+12>>2]=b+8;d=db(65535,4);N[b+4>>2]=d;a=b;if(d){break A}_a(b);a=0}d=a;N[c+840>>2]=d;a=db(1,36);B:{if(!a){break B}N[a+16>>2]=440416;N[a>>2]=65535;N[a+12>>2]=a+8;b=db(65535,4);N[a+4>>2]=b;if(b){r=a;break B}_a(a)}N[c+848>>2]=r;b=db(1,36);a=0;C:{if(!b){break C}N[b+16>>2]=440444;N[b>>2]=65535;N[b+12>>2]=b+8;f=db(65535,4);N[b+4>>2]=f;a=b;if(f){break C}_a(b);a=0}N[c+852>>2]=a;b=db(1,36);D:{if(!b){break D}N[b+16>>2]=440472;N[b>>2]=65535;N[b+12>>2]=b+8;f=db(65535,4);N[b+4>>2]=f;if(f){s=b;break D}_a(b)}N[c+844>>2]=s;b=0;f=db(1,36);E:{if(!f){break E}N[f+16>>2]=440500;N[f>>2]=65535;N[f+12>>2]=f+8;g=db(65535,4);N[f+4>>2]=g;if(g){b=f;break E}_a(f)}N[c+856>>2]=b;if(!d|!r|(!a|!s)){break y}if(!b){break y}N[c+868>>2]=67108864;N[c+860>>2]=1e4;N[c+864>>2]=134217728;N[c+836>>2]=16;N[c+828>>2]=1024;N[c+832>>2]=64;N[c+804>>2]=0;h=db(16,88);N[c+800>>2]=h;g=db(1024,360);N[c+776>>2]=g;f=db(1024,4);N[c+780>>2]=f;d=kb(1024);N[c+784>>2]=d;a=db(64,24);N[c+792>>2]=a;if(!h|!f|(!d|!g)){break y}if(!a){break y}N[c+976>>2]=15978;N[c+196>>2]=c+776;N[c+96>>2]=2;N[c+32>>2]=0;N[c+36>>2]=1072693248;N[c+192>>2]=c;a=db(60,1);if(a){N[a+32>>2]=64;d=db(16,5);N[a+40>>2]=d;if(d){break x}_a(a)}N[c+200>>2]=0}mb(l,1,16798,0);Zo(c);N[e+384>>2]=0;vd(25307,34,1,588952);ha(3);B()}N[a+36>>2]=5;N[d+76>>2]=-1;N[d+60>>2]=-1;N[d+64>>2]=1668049255;N[d+44>>2]=-1;N[d+48>>2]=1818847073;N[d+28>>2]=-1;N[d+32>>2]=1801810542;N[d+12>>2]=-1;N[d+16>>2]=1986752097;N[d>>2]=1986359924;N[a+48>>2]=b;N[c+200>>2]=a;N[k>>2]=21962;mb(l,4,23768,k);N[c+92>>2]=1;mb(l,6,16768,0);N[e+384>>2]=c;N[N[e+380>>2]+4>>2]=1;a=(n|o)>=0;b=a?n:0;a=a?o:0;c=N[e+384>>2];if(!((a|0)==N[c+16>>2]&(b|0)==N[c+20>>2])){N[c+16>>2]=a;N[c+20>>2]=b;Ee(c);c=N[e+384>>2]}if(!((a|0)==N[c+24>>2]&(b|0)==N[c+28>>2])){N[c+24>>2]=a;N[c+28>>2]=b;Ee(c);c=N[e+384>>2]}N[e+392>>2]=o;N[e+396>>2]=n;Uo(c,t);_a(N[e>>2]);N[e+8>>2]=0;N[e>>2]=0;N[e+4>>2]=0;La=k+80|0;return e|0}rj(24937);ha(4);B()}N[e+380>>2]=0;vd(25273,33,1,588952);ha(2);B()}function Qu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0;h=La-144|0;La=h;j=N[b+100>>2];f=N[b+104>>2];N[b+132>>2]=0;d=c>>31;l=(d^c)-d&65535;e=N[f+20>>2];a:{b:{if(e){d=85;if(Qa[e|0](f,0,0,0)|0){break b}}N[f+8>>2]=0;d=rb(f,37696,h+140|0);if(d){break b}e=2;c:{d:{e:{f:{if(P[h+140>>1]!=23117){break f}g=P[h+142>>1];e=N[f+20>>2];g:{if(e){d=85;if(!(Qa[e|0](f,g,0,0)|0)){break g}break b}d=85;if(g>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=g;d=rb(f,37728,h+134|0);if(d){break b}e=2;h:{i:{switch(P[h+134>>1]-17742|0){case 0:d=g;g=P[h+136>>1];d=d+g|0;i=N[f+20>>2];j:{if(i){e=85;if(!(Qa[i|0](f,d,0,0)|0)){break j}break c}e=85;if(d>>>0>Q[f+4>>2]){break c}}N[f+8>>2]=d;e=Bb(f,P[h+138>>1]-g|0);if(e){break c}k:{e=N[f+36>>2];d=N[f+32>>2];if(e>>>0>d+1>>>0){m=O[d|0]|O[d+1|0]<<8;d=d+2|0;N[f+32>>2]=d;if(m>>>0>16){break k}}while(1){l:{m:{n:{o:{if(e>>>0<=d+1>>>0){N[f+32>>2]=d;break o}k=O[d|0]|O[d+1|0]<<8;g=d+2|0;N[f+32>>2]=g;if(k){break n}}i=0;d=0;break m}i=0;if(e>>>0>d+3>>>0){i=O[d+2|0]|O[d+3|0]<<8;g=d+4|0}N[f+32>>2]=g;if((k|0)!=32776){break l}d=((N[f+8>>2]+g|0)-e|0)+4|0}if(N[f+20>>2]){e=N[f>>2];if(e){g=N[f+28>>2];Qa[N[g+8>>2]](g,e)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;e=3;if(!(i&65535)|!d){break c}g=i&65535;if(Q[f+4>>2]>>0){break c}N[b>>2]=g;e=0;if((c|0)<0){break c}e=6;if(g>>>0<=l>>>0){break c}e=Qa[N[j+4>>2]](j,172)|0;if(e){C(e,0,172);N[b+132>>2]=e;d=d+T(l,12)|0;g=N[f+20>>2];p:{if(g){e=85;if(!(Qa[g|0](f,d,0,0)|0)){break p}break f}e=85;if(d>>>0>Q[f+4>>2]){break f}}N[f+8>>2]=d;e=Bb(f,12);if(e){break f}e=0;k=N[f+36>>2];d=N[f+32>>2];q:{if(k>>>0<=d+1>>>0){i=0;break q}i=O[d|0]|O[d+1|0]<<8;d=d+2|0}N[f+32>>2]=d;g=N[b+132>>2];N[g>>2]=i<>>0>>0){e=O[d|0]|O[d+1|0]<<8;d=d+2|0}N[g+164>>2]=e<>2]=d+8;if(N[f+20>>2]){d=N[f>>2];if(d){e=N[f+28>>2];Qa[N[e+8>>2]](e,d);g=N[b+132>>2]}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;e=Ch(g,f);break h}N[b+132>>2]=0;e=64;break c}d=(T(i&65535,12)+g|0)+4|0;N[f+32>>2]=d;continue}}if(N[f+20>>2]){d=N[f>>2];if(d){e=N[f+28>>2];Qa[N[e+8>>2]](e,d)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;d=3;break b;case 2:break i;default:break h}}e=N[f+20>>2];r:{if(e){d=85;if(!(Qa[e|0](f,g,0,0)|0)){break r}break b}d=85;if(g>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=g;d=rb(f,37760,h+112|0);if(d){break b}if(N[h+112>>2]!=17744){d=3;break b}if(P[h+116>>1]!=332){d=3;break b}if(P[h+120>>1]!=224){d=3;break b}if(P[h+122>>1]!=267){d=3;break b}g=0;N[b>>2]=0;e=P[h+118>>1];if(!e){d=3;break b}i=N[h+124>>2];s:{while(1){d=rb(f,37824,h+92|0);if(d){break b}if((i|0)==N[h+100>>2]){break s}g=g+1|0;if(e>>>0>(g&65535)>>>0){continue}break}d=3;break b}g=N[h+108>>2];e=N[f+20>>2];t:{if(e){d=85;if(!(Qa[e|0](f,g,0,0)|0)){break t}break b}d=85;if(g>>>0>Q[f+4>>2]){break b}}N[f+8>>2]=g;d=rb(f,37856,h+76|0);if(d){break b}e=P[h+90>>1];d=P[h+88>>1];if((e|0)!=(0-d|0)){n=d+e|0;o=g+16|0;d=0;while(1){d=(d<<3)+o|0;u:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break u}d=85;break b}if(d>>>0<=Q[f+4>>2]){break u}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+36|0);if(d){break b}d=N[h+40>>2];if((d|0)>=0){d=3;break b}d=d&2147483647;N[h+40>>2]=d;e=d+g|0;v:{d=N[f+20>>2];if(d){if(!(Qa[d|0](f,e,0,0)|0)){break v}d=85;break b}if(e>>>0<=Q[f+4>>2]){break v}d=85;break b}N[f+8>>2]=e;d=rb(f,37856,h+60|0);if(d){break b}i=P[h+74>>1];d=P[h+72>>1];if((i|0)!=(0-d|0)){p=d+i|0;q=e+16|0;d=0;r=N[h+108>>2];k=0;while(1){d=(d<<3)+q|0;w:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break w}d=85;break b}if(d>>>0<=Q[f+4>>2]){break w}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+28|0);if(d){break b}d=N[h+32>>2];if((d|0)>=0){d=3;break b}d=d&2147483647;N[h+32>>2]=d;e=d+r|0;x:{d=N[f+20>>2];if(d){if(!(Qa[d|0](f,e,0,0)|0)){break x}d=85;break b}if(e>>>0<=Q[f+4>>2]){break x}d=85;break b}N[f+8>>2]=e;d=rb(f,37856,h+44|0);if(d){break b}i=P[h+58>>1];d=P[h+56>>1];if((i|0)!=(0-d|0)){s=d+i|0;t=e+16|0;d=0;u=N[h+100>>2];v=N[h+108>>2];w=N[h+36>>2];i=0;while(1){d=(d<<3)+t|0;y:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break y}d=85;break b}if(d>>>0<=Q[f+4>>2]){break y}d=85;break b}N[f+8>>2]=d;d=rb(f,37888,h+20|0);if(d){break b}if((w|0)==8){d=g+N[h+24>>2]|0;z:{e=N[f+20>>2];if(e){if(!(Qa[e|0](f,d,0,0)|0)){break z}d=85;break b}if(d>>>0<=Q[f+4>>2]){break z}d=85;break b}N[f+8>>2]=d;d=rb(f,37904,h+4|0);if(d){break b}d=N[b>>2];if((d|0)==(l|0)){d=Qa[N[j+4>>2]](j,172)|0;if(!d){break e}C(d,0,172);N[b+132>>2]=d;N[d>>2]=(N[h+4>>2]+v|0)-u;N[d+164>>2]=N[h+8>>2];e=Ch(d,f);if(e){break f}d=N[b>>2]}N[b>>2]=d+1}i=i+1|0;d=i&65535;if(s>>>0>d>>>0){continue}break}}k=k+1|0;d=k&65535;if(p>>>0>d>>>0){continue}break}}m=m+1|0;d=m&65535;if(n>>>0>d>>>0){continue}break}}e=0}g=N[b>>2];if(!g){d=3;break b}d=6;if((g|0)<=(l|0)){break b}if(!e){break c}}d=N[b+132>>2];if(d){break d}d=e;break b}N[b+132>>2]=0;d=64;break b}g=N[b+100>>2];i=N[d+160>>2];if(i){f=N[b+104>>2];if(!(!f|!N[f+20>>2])){f=N[f+28>>2];Qa[N[f+8>>2]](f,i)}N[d+160>>2]=0}f=N[d+168>>2];if(f){Qa[N[g+8>>2]](g,f)}N[d+168>>2]=0;Qa[N[g+8>>2]](g,d);N[b+132>>2]=0;d=e;break b}if((c|0)>=0){d=e;break b}g=0;d=e;if(!d){break a}}A:{B:{C:{D:{E:{F:{G:{if((d|0)==2){d=Qa[N[j+4>>2]](j,172)|0;if(!d){break E}g=0;C(d,0,172);N[b>>2]=1;N[b+132>>2]=d;N[d>>2]=0;N[d+164>>2]=N[a+4>>2];d=Ch(d,a);if(!(d|(c|0)<0)){d=6;if(!l){break G}break C}if(d){break C}break a}if(d){break F}}a=N[b+132>>2];if(!P[a+96>>1]){c=N[b+100>>2];g=3;d=N[b+104>>2];break B}N[b+4>>2]=l;c=N[b+8>>2];N[b+8>>2]=c|18;if(P[a+100>>1]==P[a+102>>1]){N[b+8>>2]=c|22}if(O[a+86|0]){N[b+12>>2]=N[b+12>>2]|1}if(P[a+90>>1]>=800){N[b+12>>2]=N[b+12>>2]|2}c=Qa[N[j+4>>2]](j,16)|0;d=!c<<6;N[h+92>>2]=d;N[b+32>>2]=c;if(!c){break C}N[b+28>>2]=1;M[c+2>>1]=P[a+100>>1];g=P[a+96>>1];M[c>>1]=g+P[a+84>>1];d=P[a+74>>1]<<6;N[c+4>>2]=d;e=P[a+78>>1];f=P[a+76>>1];f=f?f:72;i=jb(d,f,72)+32&-64;N[c+12>>2]=i;g=g<<6;if((g|0)<(i|0)){N[c+12>>2]=g;d=jb(g,72,f);N[c+4>>2]=d}x=c,y=jb(d,e?e:72,72)+32&-64,N[x+8>>2]=y;N[h+112>>2]=b;N[h+116>>2]=0;N[h+120>>2]=0;if(O[a+92|0]==77){M[h+120>>1]=1;N[h+116>>2]=1634889070}d=Bc(37644,0,h+112|0,0);if(d){break C}d=3;c=O[a+105|0];e=O[a+104|0];if(c>>>0>>0){break C}N[b+16>>2]=(c-e|0)+2;c=N[a+116>>2];e=N[a+8>>2];if(c>>>0>=e>>>0){break C}e=e-c|0;g=e+1|0;H:{I:{if(e>>>0<=2147483646){d=Qa[N[j+4>>2]](j,g)|0;if(d){break I}d=64;break D}d=6;if(g){break D}d=0;break H}c=N[a+116>>2]}N[h+92>>2]=0;N[a+168>>2]=d;F(d,N[a+160>>2]+c|0,e);L[e+N[a+168>>2]|0]=0;c=a;a=N[a+168>>2];a=lb(j,1,e,nb(a)+1|0,a,h+92|0);N[c+168>>2]=a;d=N[h+92>>2];if(d){break C}N[b+24>>2]=12199;N[b+20>>2]=a;c=N[b+12>>2];a=c&1;if(c&2){if(a){N[b+24>>2]=17749;g=0;break a}N[b+24>>2]=16733;g=0;break a}g=0;if(!a){break a}N[b+24>>2]=17754;break a}g=d;if(!b){break a}break C}N[b+132>>2]=0;g=64;break a}N[a+168>>2]=0}c=N[b+100>>2];a=N[b+132>>2];if(!a){g=d;break A}g=d;d=N[b+104>>2]}e=N[a+160>>2];if(e){if(!(!d|!N[d+20>>2])){d=N[d+28>>2];Qa[N[d+8>>2]](d,e)}N[a+160>>2]=0}d=N[a+168>>2];if(d){Qa[N[c+8>>2]](c,d)}N[a+168>>2]=0;Qa[N[c+8>>2]](c,a);N[b+132>>2]=0}a=N[b+32>>2];if(a){Qa[N[c+8>>2]](c,a)}N[b+28>>2]=0;N[b+32>>2]=0}La=h+144|0;return g|0}function WD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=U(0),o=0,p=0;f=La-144|0;La=f;i=N[a+96>>2];j=N[i+40>>2];g=N[b>>2];k=N[a+100>>2];b=N[i+12>>2];if(b){b=N[b+20>>2]}else{b=0}o=d,p=(Qa[j|0](a,k,c,b)|0)/2|0,N[o>>2]=p;d=N[g+52>>2];a:{if(d){break a}while(1){b=N[g>>2];if(!b){d=275552;break a}d=N[b+12>>2];b:{if(d){d=Qa[d|0](b,1448038983,N[b+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{if(!d){break f}b=N[d>>2];if(!b){break f}if((b|0)<=0){break e}N[d>>2]=b+1}L[f+104|0]=0;N[f+112>>2]=d;i=N[d+12>>2];N[f+84>>2]=i;j=N[d+16>>2];N[f+88>>2]=j+i;if((j|0)<0){break d}N[f+108>>2]=0;if(j>>>0>67108863){b=1073741823}else{b=j<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[f+92>>2]=b;N[f+100>>2]=0;N[f+80>>2]=0;if(!i){ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;b=d;break c}g:{h:{if(j>>>0<8){break h}N[f+92>>2]=b-8;if((j&-2)==6|(O[i|0]|O[i+1|0]<<8)!=256){break h}h=b-10|0;N[f+92>>2]=h;b=O[i+6|0]|O[i+7|0]<<8;if(!b){break g}b=((b<<8|b>>>8)&65535)<<2;if(b>>>0>j-8>>>0){break h}b=h-b|0;N[f+92>>2]=b;if((b|0)>0){break g}}ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;ab(d);b=275552;break c}ab(d);N[f+112>>2]=0;N[f+84>>2]=0;N[f+88>>2]=0;if(N[d+4>>2]){N[d+4>>2]=0}b=d;break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}d=N[g+52>>2];i:{if(b){if(d){break i}d=b;N[g+52>>2]=b;break a}if(d){break a}d=275552;N[g+52>>2]=275552;break a}if((b|0)==275552){break a}ab(b);d=N[g+52>>2];if(!d){continue}break}}j=Q[d+16>>2]<8?275552:N[d+12>>2];j:{if(O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24)){d=N[g+48>>2];k:{if(d){break k}while(1){b=N[g>>2];if(!b){d=275552;break k}d=db(1,28);if(!d){d=275552;N[g+48>>2]=275552;break k}d=Lg(d,b);if(!N[g+48>>2]){N[g+48>>2]=d;break k}ab(N[d+20>>2]);N[d+20>>2]=0;ab(N[d+24>>2]);_a(d);d=N[g+48>>2];if(!d){continue}break}}g=N[a+84>>2];l:{if(!g){break l}b=N[d+24>>2];b=b?b:275552;b=Q[b+16>>2]<24?275552:N[b+12>>2];d=O[b+20|0]|O[b+21|0]<<8|(O[b+22|0]<<16|O[b+23|0]<<24);if(!d){break l}i=N[a+88>>2];h=nd(b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,c);k=h>>>16|0;d=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(d){b=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{b=275552}d=O[b+6|0]|O[b+7|0]<<8;if(k>>>0>=((d<<8|d>>>8)&65535)>>>0){break l}d=b+(k<<2)|0;d=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);if(d){d=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{d=275552}k=h&65535;h=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(h){b=b+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0}else{b=275552}l=Fc(d,k,i,g,b,0)}n=R[a+48>>2];m:{n:{a=O[j+6|0]|O[j+7|0]<<8;if(a){g=j+8|0;i=j+6|0;h=(a<<8|a>>>8)&65535;b=h-1|0;d=0;while(1){a=b+d>>>1|0;k=g+(a<<2)|0;k=O[k|0]|O[k+1|0]<<8;k=(k<<8|k>>>8)&65535;o:{if(k>>>0>c>>>0){b=a-1|0;break o}if((c|0)==(k|0)){break n}d=a+1|0}if((b|0)>=(d|0)){continue}break}}a=j+4|0;break m}a=(a>>>0>=h>>>0?275552:(i+(a<<2)|0)+2|0)+2|0}a=O[a|0]|O[a+1|0]<<8;l=U(Z(U(U(n*U(l+U((a<<8|a>>>8)<<16>>16)))+U(.5))));if(U(V(l))>2]=~~l;break j}N[e>>2]=-2147483648;break j}N[f+40>>2]=0;N[f+44>>2]=0;N[f+32>>2]=0;N[f+36>>2]=0;d=N[g+60>>2];p:{if(d){break p}while(1){b=N[g>>2];if(!b){d=275552;break p}d=db(1,28);if(!d){d=275552;N[g+60>>2]=275552;break p}d=Me(d,b);if(!N[g+60>>2]){N[g+60>>2]=d;break p}ab(N[d+24>>2]);_a(d);d=N[g+60>>2];if(!d){continue}break}}if(eq(d,a,c,f+32|0)){d=N[g+48>>2];q:{if(d){break q}while(1){b=N[g>>2];if(!b){d=275552;break q}d=db(1,28);if(!d){d=275552;N[g+48>>2]=275552;break q}d=Lg(d,b);if(!N[g+48>>2]){N[g+48>>2]=d;break q}ab(N[d+20>>2]);N[d+20>>2]=0;ab(N[d+24>>2]);_a(d);d=N[g+48>>2];if(!d){continue}break}}r:{i=N[a+84>>2];s:{if(!i){b=N[d>>2];t:{if(c>>>0>>0){if((c|0)<0){b=275552}else{b=N[d+20>>2];b=N[(b?b:275552)+12>>2]+(c<<2)|0}b=b+2|0;break t}if(Q[d+4>>2]<=c>>>0){break r}u:{if((b|0)<0){g=275552;break u}g=N[d+20>>2];g=N[(g?g:275552)+12>>2]+(b<<2)|0;b=N[d>>2]}b=(c-b<<1)+g|0}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;break s}b=275552;v:{w:{g=N[d+24>>2];g=g?g:275552;g=Q[g+16>>2]<24?275552:N[g+12>>2];h=O[g+12|0]|O[g+13|0]<<8|(O[g+14|0]<<16|O[g+15|0]<<24);if(!h){break w}j=N[a+88>>2];k=nd(g+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0,c);h=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);if(h){b=g+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0}g=O[b+6|0]|O[b+7|0]<<8;h=(g<<8|g>>>8)&65535;g=k>>>16|0;if(h>>>0<=g>>>0){l=U(.5)}else{g=(g<<2)+b|0;g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);if(g){g=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+b|0}else{g=275552}k=k&65535;h=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(h){b=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+b|0}else{b=275552}l=U(Fc(g,k,j,i,b,0)+U(.5))}l=U(Z(l));b=N[d>>2];x:{if(c>>>0>>0){if((c|0)<0){b=275552}else{b=N[d+20>>2];b=N[(b?b:275552)+12>>2]+(c<<2)|0}b=b+2|0;break x}if(Q[d+4>>2]<=c>>>0){break w}y:{if((b|0)<0){g=275552;break y}g=N[d+20>>2];g=N[(g?g:275552)+12>>2]+(b<<2)|0;b=N[d>>2]}b=(c-b<<1)+g|0}b=O[b|0]|O[b+1|0]<<8;l=U(l+U((b<<8|b>>>8)<<16>>16));if(!(U(V(l))>2];b=N[d+108>>2];z:{if(b){break z}while(1){b=N[d+48>>2];if(!b){b=275552;break z}g=db(1,28);if(!g){b=275552;N[d+108>>2]=275552;break z}b=Me(g,b);if(!N[d+108>>2]){N[d+108>>2]=b;break z}ab(N[b+24>>2]);_a(b);b=N[d+108>>2];if(!b){continue}break}}if(Q[b+16>>2]<=c>>>0){break r}M[f+100>>1]=0;M[f+112>>1]=0;M[f+124>>1]=0;N[f+72>>2]=-8388609;N[f+76>>2]=-8388609;d=f- -64|0;N[d>>2]=2139095039;N[d+4>>2]=2139095039;N[f+16>>2]=2139095039;N[f+20>>2]=2139095039;N[f+24>>2]=-8388609;N[f+28>>2]=-8388609;L[f+60|0]=0;N[f+56>>2]=f+80;d=N[f+60>>2];N[f+8>>2]=N[f+56>>2];N[f+12>>2]=d;N[f+48>>2]=a;M[f+88>>1]=0;N[f+80>>2]=0;N[f+84>>2]=0;N[f+92>>2]=0;N[f+96>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+116>>2]=0;N[f+120>>2]=0;N[f+52>>2]=f+128;d=N[f+52>>2];N[f>>2]=N[f+48>>2];N[f+4>>2]=d;if(!fj(b,a,c,f)){break r}l=U(U(Z(U(R[f+108>>2]+U(.5))))-U(N[f+132>>2]));if(!(U(V(l))>2];d=N[a+64>>2];i=N[a+68>>2];a=b<<16;b=a>>31;b=UE(d,i,a>>16,b);a=Pa;b=b+32768|0;N[e>>2]=(((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16)+c;break j}N[f+120>>2]=0;N[f+124>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+80>>2]=0;N[f+84>>2]=0;b=N[a+96>>2];c=N[b+20>>2];d=N[a+100>>2];i=f+80|0;b=N[b+12>>2];if(b){b=N[b>>2]}else{b=0}A:{if(Qa[c|0](a,d,i,b)|0){b=N[f+80>>2];a=N[f+84>>2];break A}a=N[a+32>>2];m=+(a|0)*.8;B:{if(V(m)<2147483648){b=~~m;break B}b=-2147483648}a=b-a|0}N[e>>2]=N[f+36>>2]+(N[f+44>>2]+(b-a|0)>>1);break j}N[f+120>>2]=0;N[f+124>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;N[f+80>>2]=0;N[f+84>>2]=0;b=N[a+96>>2];c=N[b+20>>2];d=N[a+100>>2];i=f+80|0;b=N[b+12>>2];if(b){b=N[b>>2]}else{b=0}C:{if(Qa[c|0](a,d,i,b)|0){a=N[f+80>>2];break C}m=+N[a+32>>2]*.8;if(V(m)<2147483648){a=~~m;break C}a=-2147483648}N[e>>2]=a}La=f+144|0;return 1}function Ui(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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;a:{if(N[a+200>>2]==(b|0)&N[a+204>>2]==(d|0)){break a}N[a+200>>2]=b;N[a+204>>2]=d;p=N[a+4>>2];if(!p){break a}k=N[a+8>>2];j=k>>31;d=b>>31;d=(d^b)-d|0;r=d>>>8|0;j=(k^j)-j|0;b:{if(r+j>>>0<=8190){h=T(d,j)+32768>>>16|0;break b}l=j&65535;h=T(l,d>>>16|0)+T(d,j>>>16|0)+(T(l,d&65535)+32768>>>16)|0}j=h;f=0-j|0;j=k>>31|1;l=(b|0)<0;b=((l?0-j|0:j)|0)<0?f:h;N[a+12>>2]=b;N[a+16>>2]=b+32&-64;j=p-1|0;if(!j){break a}m=d&65535;h=d>>>16|0;b=a+20|0;while(1){p=N[b>>2];k=p>>31;k=(k^p)-k|0;c:{if(k+r>>>0<=8190){f=T(d,k)+32768>>>16|0;break c}g=k&65535;f=T(g,h)+T(d,k>>>16|0)+(T(g,m)+32768>>>16)|0}k=f;g=0-k|0;k=p>>31|1;p=((l?0-k|0:k)|0)<0?g:f;g=N[a+12>>2];f=p-g|0;k=f>>31;k=(f^k)-k>>>0<128?g:p;N[b+4>>2]=k;N[b+8>>2]=k+32&-64;b=b+12|0;j=j-1|0;if(j){continue}break}}d:{if(N[a+404>>2]==(c|0)&N[a+408>>2]==(e|0)){break d}N[a+404>>2]=c;N[a+408>>2]=e;k=N[a+208>>2];e:{if(!k){break e}j=N[a+212>>2];b=j>>31;d=c>>31;d=(d^c)-d|0;r=d>>>8|0;b=(b^j)-b|0;f:{if(r+b>>>0<=8190){h=T(b,d)+32768>>>16|0;break f}p=b&65535;h=T(p,d>>>16|0)+T(d,b>>>16|0)+(T(p,d&65535)+32768>>>16)|0}b=h;f=0-b|0;b=j>>31|1;l=(c|0)<0;b=((l?0-b|0:b)|0)<0?f:h;N[a+216>>2]=b;N[a+220>>2]=b+32&-64;j=k-1|0;if(!j){break e}m=d&65535;h=d>>>16|0;b=a+224|0;while(1){p=N[b>>2];k=p>>31;k=(k^p)-k|0;g:{if(k+r>>>0<=8190){f=T(d,k)+32768>>>16|0;break g}g=k&65535;f=T(g,h)+T(d,k>>>16|0)+(T(g,m)+32768>>>16)|0}k=f;g=0-k|0;k=p>>31|1;p=((l?0-k|0:k)|0)<0?g:f;g=N[a+216>>2];f=p-g|0;k=f>>31;k=(f^k)-k>>>0<128?g:p;N[b+4>>2]=k;N[b+8>>2]=k+32&-64;b=b+12|0;j=j-1|0;if(j){continue}break}}L[a+2492|0]=(T(c,125)|0)>2]<<3&(c|0)<=34359737;b=N[a+2480>>2];h:{if((b|0)<=0){break h}d=c>>31;d=(d^c)-d|0;k=d&65535;p=d>>>16|0;r=d>>>8|0;while(1){j=b>>31;j=(j^b)-j|0;i:{if(j+r>>>0<=8190){j=T(d,j)+32768>>>16|0;break i}l=j&65535;j=T(l,p)+T(d,j>>>16|0)+(T(k,l)+32768>>>16)|0}if((((c|0)<0?0-j|0:j)|0)<33){break h}j=(b|0)>1;b=b-1|0;if(j){continue}break}b=0}N[a+2484>>2]=b;p=N[a+412>>2];if(p){b=c>>31;j=(b^c)-b|0;k=j&65535;r=j>>>16|0;l=j>>>8|0;b=a+416|0;d=p;while(1){h=N[b+8>>2];m=h>>31;m=(h^m)-m|0;j:{if(m+l>>>0<=8190){f=T(j,m)+32768>>>16|0;break j}g=m&65535;f=T(g,r)+T(j,m>>>16|0)+(T(g,k)+32768>>>16)|0}m=f;g=0-m|0;m=h>>31|1;i=0-m|0;h=m;m=(c|0)<0;N[b+28>>2]=(((m?i:h)|0)<0?g:f)+e;g=N[b+12>>2];h=g>>31;h=(g^h)-h|0;k:{if(h+l>>>0<=8190){f=T(h,j)+32768>>>16|0;break k}f=h&65535;f=T(f,r)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;N[b+24>>2]=(((m?0-h|0:h)|0)<0?i:f)+e;g=N[b>>2];h=g>>31;h=(g^h)-h|0;l:{if(h+l>>>0<=8190){f=T(h,j)+32768>>>16|0;break l}f=h&65535;f=T(f,r)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;f=(((m?0-h|0:h)|0)<0?i:f)+e|0;g=N[b+4>>2];h=g>>31;h=(g^h)-h|0;m:{if(h+l>>>0<=8190){i=T(h,j)+32768>>>16|0;break m}i=h&65535;i=T(i,r)+T(j,h>>>16|0)+(T(k,i)+32768>>>16)|0}h=i;N[b+16>>2]=f+32&-64;f=0-h|0;h=g>>31|1;N[b+20>>2]=((m?0-h|0:h)|0)<0?f:i;b=b+32|0;d=d-1|0;if(d){continue}break}}r=N[a+928>>2];if(r){b=c>>31;j=(b^c)-b|0;k=j&65535;l=j>>>16|0;m=j>>>8|0;b=a+932|0;d=r;while(1){g=N[b+8>>2];h=g>>31;h=(g^h)-h|0;n:{if(h+m>>>0<=8190){f=T(h,j)+32768>>>16|0;break n}f=h&65535;f=T(f,l)+T(j,h>>>16|0)+(T(f,k)+32768>>>16)|0}h=f;i=0-h|0;h=g>>31|1;n=0-h|0;g=h;h=(c|0)<0;N[b+28>>2]=(((h?n:g)|0)<0?i:f)+e;f=N[b+12>>2];g=f>>31;g=(g^f)-g|0;o:{if(g+m>>>0<=8190){i=T(g,j)+32768>>>16|0;break o}i=g&65535;i=T(i,l)+T(j,g>>>16|0)+(T(k,i)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;N[b+24>>2]=(((h?0-g|0:g)|0)<0?n:i)+e;f=N[b>>2];g=f>>31;g=(g^f)-g|0;p:{if(g+m>>>0<=8190){i=T(g,j)+32768>>>16|0;break p}i=g&65535;i=T(i,l)+T(j,g>>>16|0)+(T(k,i)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;i=(((h?0-g|0:g)|0)<0?n:i)+e|0;f=N[b+4>>2];g=f>>31;g=(g^f)-g|0;q:{if(g+m>>>0<=8190){n=T(g,j)+32768>>>16|0;break q}o=g&65535;n=T(o,l)+T(j,g>>>16|0)+(T(k,o)+32768>>>16)|0}g=n;N[b+16>>2]=i+32&-64;i=0-g|0;g=f>>31|1;N[b+20>>2]=((h?0-g|0:g)|0)<0?i:n;b=b+32|0;d=d-1|0;if(d){continue}break}}j=N[a+1444>>2];if(j){b=c>>31;k=(b^c)-b|0;l=k&65535;m=k>>>16|0;h=k>>>8|0;b=a+1448|0;d=j;while(1){f=N[b+8>>2];g=f>>31;g=(g^f)-g|0;r:{if(g+h>>>0<=8190){i=T(g,k)+32768>>>16|0;break r}i=g&65535;i=T(i,m)+T(k,g>>>16|0)+(T(i,l)+32768>>>16)|0}g=i;n=0-g|0;g=f>>31|1;o=0-g|0;f=g;g=(c|0)<0;N[b+28>>2]=(((g?o:f)|0)<0?n:i)+e;i=N[b+12>>2];f=i>>31;f=(f^i)-f|0;s:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break s}o=f&65535;n=T(o,m)+T(k,f>>>16|0)+(T(l,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;N[b+24>>2]=(((g?0-f|0:f)|0)<0?o:n)+e;i=N[b>>2];f=i>>31;f=(f^i)-f|0;t:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break t}o=f&65535;n=T(o,m)+T(k,f>>>16|0)+(T(l,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;o=(((g?0-f|0:f)|0)<0?o:n)+e|0;i=N[b+4>>2];f=i>>31;f=(f^i)-f|0;u:{if(f+h>>>0<=8190){n=T(f,k)+32768>>>16|0;break u}q=f&65535;n=T(q,m)+T(k,f>>>16|0)+(T(l,q)+32768>>>16)|0}f=n;N[b+16>>2]=o+32&-64;o=0-f|0;f=i>>31|1;N[b+20>>2]=((g?0-f|0:f)|0)<0?o:n;b=b+32|0;d=d-1|0;if(d){continue}break}}k=N[a+1960>>2];if(k){b=c>>31;l=(b^c)-b|0;m=l&65535;h=l>>>16|0;g=l>>>8|0;b=a+1964|0;d=k;while(1){i=N[b+8>>2];f=i>>31;f=(f^i)-f|0;v:{if(f+g>>>0<=8190){n=T(f,l)+32768>>>16|0;break v}o=f&65535;n=T(o,h)+T(f>>>16|0,l)+(T(m,o)+32768>>>16)|0}f=n;o=0-f|0;f=i>>31|1;q=0-f|0;i=f;f=(c|0)<0;N[b+28>>2]=(((f?q:i)|0)<0?o:n)+e;o=N[b+12>>2];i=o>>31;i=(i^o)-i|0;w:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break w}q=i&65535;n=T(q,h)+T(i>>>16|0,l)+(T(m,q)+32768>>>16)|0}i=n;q=0-i|0;i=o>>31|1;N[b+24>>2]=(((f?0-i|0:i)|0)<0?q:n)+e;o=N[b>>2];i=o>>31;i=(i^o)-i|0;x:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break x}q=i&65535;n=T(q,h)+T(i>>>16|0,l)+(T(m,q)+32768>>>16)|0}i=n;q=0-i|0;i=o>>31|1;q=(((f?0-i|0:i)|0)<0?q:n)+e|0;o=N[b+4>>2];i=o>>31;i=(i^o)-i|0;y:{if(i+g>>>0<=8190){n=T(i,l)+32768>>>16|0;break y}n=i&65535;n=T(n,h)+T(i>>>16|0,l)+(T(m,n)+32768>>>16)|0}i=n;N[b+16>>2]=q+32&-64;q=0-i|0;i=o>>31|1;N[b+20>>2]=((f?0-i|0:i)|0)<0?q:n;b=b+32|0;d=d-1|0;if(d){continue}break}}z:{if(!p|!j){break z}b=a+1448|0;d=c>>31;m=(d^c)-d|0;g=m&65535;f=m>>>16|0;i=m>>>8|0;l=a+416|0;while(1){o=N[l>>2];d=j;e=b;while(1){A:{q=o-N[e>>2]|0;h=q>>31;h=(h^q)-h|0;B:{if(h+i>>>0<=8190){h=T(h,m)+32768>>>16|0;break B}q=h&65535;h=T(q,f)+T(m,h>>>16|0)+(T(g,q)+32768>>>16)|0}if((((c|0)<0?0-h|0:h)|0)<=63){N[l+28>>2]=N[e+28>>2];N[l+24>>2]=N[e+24>>2];N[l+16>>2]=N[e+16>>2];N[l+20>>2]=N[e+20>>2];break A}e=e+32|0;d=d-1|0;if(d){continue}}break}p=p-1|0;if(!p){break z}l=l+32|0;continue}}if(!r|!k){break d}b=a+1964|0;d=c>>31;j=(d^c)-d|0;p=j&65535;m=j>>>16|0;h=j>>>8|0;l=a+932|0;while(1){g=N[l>>2];d=k;e=b;C:{while(1){f=g-N[e>>2]|0;a=f>>31;a=(a^f)-a|0;D:{if(a+h>>>0<=8190){a=T(a,j)+32768>>>16|0;break D}f=a&65535;a=T(f,m)+T(j,a>>>16|0)+(T(f,p)+32768>>>16)|0}if((((c|0)<0?0-a|0:a)|0)>=64){e=e+32|0;d=d-1|0;if(d){continue}break C}break}N[l+28>>2]=N[e+28>>2];N[l+24>>2]=N[e+24>>2];N[l+16>>2]=N[e+16>>2];N[l+20>>2]=N[e+20>>2]}r=r-1|0;if(!r){break d}l=l+32|0;continue}}}function Vx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0;g=11;f=N[N[b+96>>2]+4>>2];a:{if(!f){break a}h=N[f+16>>2];if((h|0)<=0){break a}f=f+20|0;h=f+(h<<2)|0;while(1){i=N[N[f>>2]>>2];if(cb(N[i+8>>2],9195)){f=f+4|0;if(h>>>0>f>>>0){continue}break a}break}f=N[i+20>>2];if(!f){break a}h=N[a+20>>2];if(h){g=85;if(Qa[h|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;g=Qa[N[f+4>>2]](a,b,c,d,e)|0;if(g){break a}k=N[b+104>>2];g=2;a=N[b+148>>2];b:{if((a|0)<=65535){if((a|0)==-1519689116|(a|0)==-1519619212){break b}break a}if((a|0)==65536|(a|0)==1953658213){break b}if((a|0)!=131072){break a}}N[b+8>>2]=N[b+8>>2]|2048;g=0;if((c|0)<0){break a}g=Qa[N[f+8>>2]](k,b,c,d,e)|0;if(g){break a}f=La-128|0;La=f;c:{d:{if(!b){break d}a=N[b+20>>2];if(a){i=1;if(ub(a,27296)){break c}if(ub(a,27316)){break c}if(ub(a,27336)){break c}if(ub(a,27356)){break c}if(ub(a,27376)){break c}if(ub(a,27396)){break c}if(ub(a,27416)){break c}if(ub(a,27436)){break c}if(ub(a,27456)){break c}if(ub(a,27476)){break c}if(ub(a,27496)){break c}if(ub(a,27516)){break c}if(ub(a,27536)){break c}if(ub(a,27556)){break c}if(ub(a,27576)){break c}if(ub(a,27596)){break c}if(ub(a,27616)){break c}if(ub(a,27636)){break c}if(ub(a,27656)){break c}if(ub(a,27676)){break c}if(ub(a,27696)){break c}if(ub(a,27716)){break c}if(ub(a,27736)){break c}if(ub(a,27756)){break c}if(ub(a,27776)){break c}if(ub(a,27796)){break c}}i=0;C(f,0,116);e:{f:{h=P[b+152>>1];if(h){a=0;while(1){e=1;g=0;n=o<<4;d=N[n+N[b+156>>2]>>2];g:{if((d|0)!=1668707360){h:{if((d|0)!=1886545264){if((d|0)!=1718642541){break g}g=1;break h}g=2}e=a}i=0;h=0;while(1){a=n+N[b+156>>2]|0;d=T(i,24)+(g<<3)|0;if(N[a+12>>2]==N[d+27828>>2]){r=d+27824|0;i:{if(h){break i}d=N[b+516>>2];if(!d){h=0;break i}h=0;if(Qa[d|0](b,N[a>>2],N[b+104>>2],0)|0){break i}j=N[b+104>>2];d=N[(n+N[b+156>>2]|0)+12>>2];if(Bb(j,d)){break i}if(d>>>0>=4){a=N[j+32>>2];m=N[j+36>>2];while(1){j:{if(m>>>0<=a+3>>>0){l=0;break j}l=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);l=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);a=a+4|0}N[j+32>>2]=a;h=h+l|0;d=d-4|0;if(d>>>0>3){continue}break}}k:{if(!d){break k}a=N[j+32>>2];m=N[j+36>>2];l=3;if((d|0)!=1){s=d&1;t=d&2;p=0;while(1){l:{if(a>>>0>=m>>>0){d=a;a=0;break l}d=a+1|0;N[j+32>>2]=d;a=O[a|0]}q=l<<3;u=(a<>>0>=m>>>0){a=d;break m}a=d+1|0;N[j+32>>2]=a;h=O[d|0]}h=((h&255)<>>0>>0){N[j+32>>2]=a+1;a=O[a|0]}else{a=0}h=(a<<(l<<3))+h|0}if(N[j+20>>2]){a=N[j>>2];if(a){d=N[j+28>>2];Qa[N[d+8>>2]](d,a)}N[j>>2]=0}N[j+32>>2]=0;N[j+36>>2]=0}d=f+(i<<2)|0;a=N[d>>2];if(N[r>>2]==(h|0)){a=a+1|0;N[d>>2]=a}if((a|0)==3){break f}}i=i+1|0;if((i|0)!=29){continue}break}h=P[b+152>>1];a=e}o=o+1|0;if(o>>>0<(h&65535)>>>0){continue}break}if(a&255){break e}i=0}while(1){a=f+(i<<2)|0;h=N[a>>2];if(i-16>>>0<12){h=h+1|0;N[a>>2]=h}if((h|0)==3){break f}a=i|1;if((a|0)==29){break d}a=f+(a<<2)|0;h=N[a>>2];if(i-15>>>0<=11){h=h+1|0;N[a>>2]=h}if((h|0)==3){break f}i=i+2|0;continue}}i=1;break c}i=1;if(!(N[f>>2]!=3&N[f+4>>2]!=3&N[f+8>>2]!=3&N[f+12>>2]!=3&N[f+16>>2]!=3&N[f+20>>2]!=3&N[f+24>>2]!=3&N[f+28>>2]!=3&N[f+32>>2]!=3&N[f+36>>2]!=3&N[f+40>>2]!=3&N[f+44>>2]!=3&N[f+48>>2]!=3&N[f+52>>2]!=3&N[f+56>>2]!=3&N[f+60>>2]!=3&N[f+64>>2]!=3&N[f+68>>2]!=3&N[f+72>>2]!=3&N[f+76>>2]!=3&N[f+80>>2]!=3&N[f+84>>2]!=3&N[f+88>>2]!=3&N[f+92>>2]!=3&N[f+96>>2]!=3&N[f+100>>2]!=3&N[f+104>>2]!=3&N[f+108>>2]!=3&N[f+112>>2]!=3)){break c}}i=0}La=f+128|0;if(i){N[b+8>>2]=N[b+8>>2]|8192}a=0;f=La-16|0;La=f;h=N[k+28>>2];n:{if(Qa[N[b+516>>2]](b,1751412088,k,f+12|0)|0){break n}d=N[f+12>>2];if(d>>>0<8){break n}a=fc(k,d,b+768|0);if(a){break n}a=3;e=N[b+768>>2];d=O[e+2|0]<<8|O[e+3|0];o:{if(d>>>0>255){break o}g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i=g>>>0>4294901759?g&65535:g;if(i-65538>>>0<4294901762?d:0){break o}j=N[f+12>>2];p:{q:{if(!d){e=0;N[b+784>>2]=0;break q}g=Qa[N[h+4>>2]](h,d)|0;if(!g){break p}a=e+8|0;h=e+j|0;e=0;C(g,0,d);N[b+784>>2]=g;while(1){g=a+i|0;if(g>>>0>h>>>0){break q}L[N[b+784>>2]+e|0]=O[a|0];a=g;e=e+1|0;if((d|0)!=(e|0)){continue}break}e=d}N[b+776>>2]=e;a=N[f+12>>2];N[b+780>>2]=i;N[b+772>>2]=a;a=0;break n}N[b+784>>2]=0;a=64}r:{if(!N[k+20>>2]){break r}d=N[b+768>>2];if(!d){break r}e=N[k+28>>2];Qa[N[e+8>>2]](e,d)}N[b+768>>2]=0;N[b+772>>2]=0}La=f+16|0;g=a;if(a){break a}s:{if(!(L[b+8|0]&1)){break s}t:{if(N[N[b+128>>2]+52>>2]){break t}i=0;g=La-16|0;La=g;e=Qa[N[b+516>>2]](b,1735162214,k,b+724|0)|0;u:{v:{if((e&255)==142){N[b+724>>2]=0;a=0;break v}if(e){break u}a=0;if(N[N[b+128>>2]+52>>2]){break v}a=N[k+8>>2]}N[b+728>>2]=a;e=144;if(Qa[N[b+516>>2]](b,1819239265,k,g+12|0)|0){break u}a=N[g+12>>2];w:{if(P[b+210>>1]){e=2;if(a>>>0>=262144){N[g+12>>2]=262143;a=262143}break w}e=1;if(a>>>0>=131072){N[g+12>>2]=131071;a=131071}}d=a;f=a>>>e|0;N[b+760>>2]=f;a=N[b+16>>2];x:{y:{if(a>>>0>>0){break y}j=a+1|0;if((j|0)==(f|0)){break y}a=j<>2];e=P[b+152>>1];z:{if(e){h=N[b+156>>2];o=h+(e<<4)|0;e=2147483647;while(1){m=N[h+8>>2]-l|0;n=(m|0)>0&(e|0)>(m|0);i=n?1:i;e=n?m:e;h=h+16|0;if(o>>>0>h>>>0){continue}break}if(i&255){break z}}e=N[k+4>>2]-l|0}if(a>>>0<=e>>>0){N[b+760>>2]=j;N[g+12>>2]=a;break x}a=f-1|0;N[b+16>>2]=a>>>0<=f>>>0?a:0}a=d}e=fc(k,a,b+764|0)}La=g+16|0;g=e;if(N[b+724>>2]){if(g){break a}if((g&255)!=142){break t}break a}if(g){break a}}g=gn(b,k);if((g&255)!=142?g:0){break a}a=La-16|0;La=a;A:{if(Qa[N[b+516>>2]](b,1718642541,k,a+12|0)|0){N[b+684>>2]=0;N[b+688>>2]=0;g=0;break A}d=N[a+12>>2];N[b+684>>2]=d;g=fc(k,d,b+688|0)}La=a+16|0;if(g){break a}a=La-16|0;La=a;B:{if(Qa[N[b+516>>2]](b,1886545264,k,a+12|0)|0){N[b+692>>2]=0;N[b+696>>2]=0;g=0;break B}d=N[a+12>>2];N[b+692>>2]=d;g=fc(k,d,b+696|0)}La=a+16|0;if(g){break a}if(!N[b+764>>2]|(N[N[b+128>>2]+52>>2]|!N[b+28>>2])){break s}f=0;d=0;e=La-16|0;La=e;g=N[b+760>>2];C:{if(!g){break C}D:{while(1){cg(b,d,e+12|0);a=d+1|0;h=N[e+12>>2];if(h){break D}d=a;if((a|0)!=(g|0)){continue}break}break C}if((a|0)!=(g|0)){while(1){cg(b,a,e+12|0);if(N[e+12>>2]){break C}a=a+1|0;if((g|0)!=(a|0)){continue}break}if(!h){break C}}if(!d){f=1;break C}if(!b){break C}L[e+4|0]=0;if(!(O[b+9|0]&2)|N[b+16>>2]<=(d|0)){break C}E:{F:{g=N[b+128>>2];a=N[g+40>>2];switch(a+2|0){case 0:break C;case 2:break F;default:break E}}a=N[b+96>>2];h=N[N[a>>2]+32>>2];G:{if(!h){a=0;break G}a=Qa[h|0](a,9592)|0;g=N[b+128>>2]}N[g+40>>2]=a?a:-2}if(!a){break C}a=N[a>>2];if(!a){break C}if(Qa[a|0](b,d,e+4|0,8)|O[e+4|0]!=46){break C}f=!Mb(e+4|0,15265,8)}La=e+16|0;if(!f){break s}N[b+8>>2]=N[b+8>>2]&-2}if(!(!(N[b+8>>2]&256)|c>>>0<65536)){g=fn(b,c>>>16|0);if(g){break a}en(b)}N[b+536>>2]=141;N[b+532>>2]=142;N[b+528>>2]=143;N[b+520>>2]=144;N[b+524>>2]=145;g=0}return g|0}function ch(a,b){var 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;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}e=N[b+12>>2];c=e-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}d=e-6|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}f=N[b+4>>2];d=a+6|0;if(f>>>0>d>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<2){break a}g=N[b+12>>2];c=g-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;c:{if(!c){break c}d:{c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break d}e=g-4|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[c|0]|O[c+1|0]<<8;e:{if(!e){break e}if(Lb(c+((e<<8|e>>>8)&65535)|0,b)){break e}e=N[b+28>>2];if(e>>>0>31){break d}N[b+28>>2]=e+1;if(!O[b+24|0]){break d}L[c|0]=0;L[c+1|0]=0}e=c+2|0;if(e>>>0>2]){break d}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<2){break d}g=N[b+12>>2]-2|0;N[b+12>>2]=g;if((g|0)<=0){break d}e=O[e|0]|O[e+1|0]<<8;if(!e){break c}h=c+4|0;if(h>>>0>f>>>0){break d}k=f-h|0;e=(e<<8|e>>>8)&65535;f=e<<1;if(k>>>0>>0){break d}f=g-f|0;N[b+12>>2]=f;if((f|0)<=0){break d}l=e>>>0<=1?1:e;e=0;while(1){j=N[b+4>>2];f=(c+(e<<1)|0)+4|0;if(j>>>0>f>>>0){break d}g=N[b+8>>2];if(g>>>0>>0|g-f>>>0<2){break d}i=N[b+12>>2];h=i-2|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=O[f|0]|O[f+1|0]<<8;f:{if(!h){break f}h=c+((h<<8|h>>>8)&65535)|0;g:{if(h>>>0>>0|g>>>0>>0|g-h>>>0<2){break g}j=i-4|0;N[b+12>>2]=j;if((j|0)<=0){break g}i=O[h|0]|O[h+1|0]<<8;if(!i){break f}h=h+2|0;if(h>>>0>g>>>0){break g}k=g-h|0;g=((i<<8|i>>>8)&65535)<<1;if(k>>>0>>0){break g}g=j-g|0;N[b+12>>2]=g;if((g|0)>0){break f}}g=N[b+28>>2];if(g>>>0>31){break d}N[b+28>>2]=g+1;if(!O[b+24|0]){break d}L[f|0]=0;L[f+1|0]=0}e=e+1|0;if((l|0)!=(e|0)){continue}break}break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}e=N[b+4>>2];h=a+8|0;if(e>>>0>h>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-h>>>0<2){break a}g=N[b+12>>2];d=g-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[h|0]|O[h+1|0]<<8;h:{if(!d){break h}i:{f=((d<<8|d>>>8)&65535)+a|0;if(f>>>0>>0|c>>>0>>0|c-f>>>0<2){break i}c=g-4|0;N[b+12>>2]=c;if((c|0)<=0){break i}c=O[f|0]|O[f+1|0]<<8;j:{if(!c){break j}if(Lb(f+((c<<8|c>>>8)&65535)|0,b)){break j}c=N[b+28>>2];if(c>>>0>31){break i}N[b+28>>2]=c+1;if(!O[b+24|0]){break i}L[f|0]=0;L[f+1|0]=0}c=f+2|0;if(c>>>0>2]){break i}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break i}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break i}c=O[c|0]|O[c+1|0]<<8;if(!c){break h}g=f+4|0;if(g>>>0>d>>>0){break i}k=d-g|0;c=(c<<8|c>>>8)&65535;d=c<<1;if(k>>>0>>0){break i}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break i}p=c>>>0<=1?1:c;while(1){e=N[b+4>>2];j=(f+(n<<1)|0)+4|0;if(e>>>0>j>>>0){break i}c=N[b+8>>2];if(c>>>0>>0|c-j>>>0<2){break i}i=N[b+12>>2];d=i-2|0;N[b+12>>2]=d;if((d|0)<=0){break i}d=O[j|0]|O[j+1|0]<<8;k:{if(!d){break k}l:{m:{g=f+((d<<8|d>>>8)&65535)|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<2){break m}d=i-4|0;N[b+12>>2]=d;if((d|0)<=0){break m}e=O[g|0]|O[g+1|0]<<8;if(!e){break k}i=g+2|0;if(i>>>0>c>>>0){break m}k=c-i|0;c=(e<<8|e>>>8)&65535;e=c<<1;if(k>>>0>>0){break m}d=d-e|0;N[b+12>>2]=d;if((d|0)<=0){break m}q=c>>>0<=1?1:c;m=0;while(1){e=N[b+4>>2];d=(g+(m<<1)|0)+2|0;if(e>>>0>d>>>0){break m}i=N[b+8>>2];if(i>>>0>>0|i-d>>>0<2){break m}l=N[b+12>>2];c=l-2|0;N[b+12>>2]=c;if((c|0)<=0){break m}c=O[d|0]|O[d+1|0]<<8;n:{if(!c){break n}k=e;e=g+((c<<8|c>>>8)&65535)|0;o:{p:{q:{if(k>>>0>e>>>0|e>>>0>i>>>0){break q}c=i-e|0;if(c>>>0<2){break q}k=l-4|0;N[b+12>>2]=k;if((k|0)<=0){break q}r:{s:{t:{k=O[e|0]|O[e+1|0]<<8;switch(((k<<8|k>>>8)&65535)-1|0){case 1:break r;case 2:break s;case 0:break t;default:break n}}if(c>>>0<4){break q}c=l-8|0;N[b+12>>2]=c;if((c|0)<=0){break q}break n}if(c>>>0<6){break q}c=l-10|0;N[b+12>>2]=c;if((c|0)<=0){break q}c=e+4|0;if(i>>>0>>0|i-c>>>0<2){break q}i=l-12|0;N[b+12>>2]=i;if((i|0)<=0){break q}i=O[c|0]|O[c+1|0]<<8;if(!i){break n}if(Id(e+((i<<8|i>>>8)&65535)|0,b)){break n}e=N[b+28>>2];if(e>>>0>31){break i}e=e+1|0;N[b+28>>2]=e;if(!O[b+24|0]){break p}break o}if(c>>>0<4){break q}c=l-8|0;N[b+12>>2]=c;if((c|0)>0){break n}}e=N[b+28>>2]}if(e>>>0>31){break i}e=e+1|0;N[b+28>>2]=e;c=d;if(!O[b+24|0]){break l}}L[c|0]=0;L[c+1|0]=0}m=m+1|0;if((q|0)!=(m|0)){continue}break}break k}e=N[b+28>>2]}if(e>>>0>31){break i}N[b+28>>2]=e+1;if(!O[b+24|0]){break i}L[j|0]=0;L[j+1|0]=0}n=n+1|0;if((p|0)!=(n|0)){continue}break}break h}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[h|0]=0;L[h+1|0]=0}c=a+10|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;u:{if(!d){break u}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break u}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){return 1}h=N[b+4>>2];g=a+12|0;c=0;v:{if(h>>>0>g>>>0){break v}f=N[b+8>>2];c=0;if(f>>>0>>0){break v}c=0;if(f-g>>>0<2){break v}j=N[b+12>>2];e=j-2|0;N[b+12>>2]=e;d=1;c=0;if((e|0)<=0){break v}c=O[g|0]|O[g+1|0]<<8;w:{if(!c){break w}x:{e=((c<<8|c>>>8)&65535)+a|0;if(e>>>0>>0|e>>>0>f>>>0|f-e>>>0<2){break x}c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break x}if((O[e|0]|O[e+1|0]<<8)!=256){break w}c=e+2|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break x}h=j-6|0;N[b+12>>2]=h;if((h|0)<=0){break x}c=O[c|0]|O[c+1|0]<<8;if(!c){break w}d=e+4|0;if(d>>>0>f>>>0){break x}k=f-d|0;c=(c<<8|c>>>8)&65535;d=c<<2;if(k>>>0>>0){break x}d=h-d|0;N[b+12>>2]=d;if((d|0)<=0){break x}h=c>>>0<=1?1:c;f=0;while(1){c=(e+(f<<2)|0)+4|0;if(c>>>0>2]){break x}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break x}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break x}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);y:{if(!d){break y}if(d&128){break x}if(Lb(e+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b)){break y}d=N[b+28>>2];if(d>>>0>31){break x}N[b+28>>2]=d+1;if(!O[b+24|0]){break x}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}d=1;f=f+1|0;if((h|0)!=(f|0)){continue}break}break w}d=N[b+28>>2];c=0;if(d>>>0>31){break v}N[b+28>>2]=d+1;d=0;if(!O[b+24|0]){break w}L[g|0]=0;L[g+1|0]=0;d=1}c=d}if(!c){break a}o=1;c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65539){break a}o=Hf(a+14|0,b,a)}return o}function jk(a,b){var 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,t=0;i=La-1376|0;La=i;a:{b:{c:{d:{q=O[a+2|0]|O[a+3|0]<<8;p=q<<8|q>>>8;n=p&65535;switch(n|0){case 0:break b;case 1:break d;default:break c}}e=N[b+96>>2];if(N[e+156>>2]){zc(e);e=N[b+88>>2];c=N[b+96>>2];N[i+80>>2]=N[c+64>>2];ib(c,e,23142,i+80|0)}a=O[a|0]|O[a+1|0]<<8;Pe(b,(a<<8|a>>>8)&65535);r=1;a=N[b+96>>2];if(!N[a+156>>2]){break b}b=N[b+88>>2];N[i+64>>2]=N[a+64>>2]-1;ib(a,b,23188,i- -64|0);break b}e:{if(n>>>0>64){break e}o=N[b+96>>2];h=N[o+64>>2];N[b+36>>2]=n-1;N[b+4>>2]=h;e=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[e+68>>2];d=N[e+64>>2]==(h|0)?O[(N[e+80>>2]+T(h,20)|0)+15|0]:d;e=b+4|0;N[b+32>>2]=a+4;N[b+28>>2]=0;N[b+24>>2]=246;L[b+23|0]=O[b+22|0]?d:0;f=N[o+80>>2]+T(h,20)|0;c=O[f+14|0];d=c&16;f:{g:{h:{i:{j:{k:{if(O[f+12|0]&4){if(!d){k=(c&224)>>>5|0;break j}f=c&15;k=(c&224)>>>5|0;break k}k=(c&224)>>>5|0;f=1;if(!d){break j}}N[i+1120>>2]=h;break i}N[i+1120>>2]=h;l=1;if(c>>>0>=32){s=c&15;if(s){break h}}f=1}c=1;while(1){if(!kc(e,i+96|0)){break f}g=N[e>>2];N[(i+1120|0)+(c<<2)>>2]=g;m=N[o+80>>2]+T(g,20)|0;d=O[m+14|0];j=d&15;l=d&16;if(!((d>>>5|0)==(k|0)|d>>>0<32|(!j|l))){d=0;break e}f=(l?P[m+12>>1]&4?j:1:1)+f|0;c=c+1|0;if((n|0)!=(c|0)){continue}break}break g}f=1;j=1;while(1){if(!kc(e,i+96|0)){break f}g=N[e>>2];N[(i+1120|0)+(j<<2)>>2]=g;l:{c=N[o+80>>2];d=O[(c+T(g,20)|0)+14|0];if((d>>>5|0)==(k|0)){d=((d&16?0:d&15)|0)==(s|0)}else{d=0}m:{if(d){break m}d=0;n:{switch(m|0){case 0:break n;case 1:break e;default:break m}}g=N[o+84>>2];m=g+14|0;d=N[o+72>>2];while(1){if(!d){break l}d=d-1|0;t=T(d,20);c=O[m+t|0];if((c>>>5|0)!=(k|0)){break l}if(!(c&15?c&16:1)){continue}break}if((Jk(e,g+t|0)|0)!=1){break l}g=N[e>>2];c=N[o+80>>2];m=2}d=1;c=T(g,20)+c|0;o:{if(!(O[c+12|0]&4)){break o}c=O[c+14|0];if(!(c&16)){break o}d=c&15}f=d+f|0;j=j+1|0;l=n>>>0>j>>>0;if((j|0)!=(n|0)){continue}break g}break}d=0;if(l&1){break e}g=N[e>>2]}l=g+1|0;d=N[b+96>>2];p:{if(!N[d+156>>2]){o=0;break p}e=zc(d);d=N[b+96>>2];o=N[d+64>>2];C(i+96|0,0,1024);if(q){h=e+h|0;N[i+48>>2]=h;N[i+1120>>2]=h;Oe(i+96|0,1024,8356,i+48|0);if((p&65535)>>>0>=2){j=n>>>0<=1?1:n;k=i+1120|0;c=i+96|0;d=nb(c)+c|0;c=1;while(1){m=(i+1120|0)+(c<<2)|0;g=e+N[m>>2]|0;N[m>>2]=g;L[d|0]=44;N[i+32>>2]=g;d=d+1|0;Oe(d,k-d|0,8356,i+32|0);d=nb(d)+d|0;c=c+1|0;if((j|0)!=(c|0)){continue}break}}d=N[b+96>>2]}l=e+l|0;e=N[b+88>>2];N[i+16>>2]=i+96;ib(d,e,11458,i+16|0);d=N[b+96>>2]}e=O[a|0]|O[a+1|0]<<8;a=N[d+64>>2];if(l-a>>>0>=2){Ib(d,a,l)}c=1;j=N[d+80>>2];h=P[(j+T(h,20)|0)+12>>1];a=!(h&8);g=!(h&2);q:{if((p&65535)>>>0<=1){break q}while(1){if(O[(j+T(N[(i+1120|0)+(c<<2)>>2],20)|0)+12|0]&8){c=c+1|0;if((n|0)!=(c|0)){continue}break q}break}a=1;g=1}m=0;l=a&g;if((l|0)==1){c=O[d+141|0];while(1){c=c+1&255;c=c>>>0<=1?1:c;if(!(c&7)){continue}break}L[d+141|0]=c;m=c<<5&224}h=(e<<8|e>>>8)&65535;e=j+T(N[d+64>>2],20)|0;g=O[e+14|0];j=O[e+12|0];r:{if(!l){break r}L[e+14|0]=f&15|m|16;e=N[d+80>>2]+T(N[d+64>>2],20)|0;c=P[e+16>>1];if((c&31)!=12){break r}M[e+16>>1]=c&224|7}N[b+116>>2]=N[b+116>>2]|1<<(h>>>4);N[b+120>>2]=N[b+120>>2]|1<>2]=N[b+124>>2]|1<<(h>>>9);e=N[b+160>>2];if((e|0)!=-1){c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=e}e=N[b+96>>2];e=N[e+80>>2]+T(N[e+64>>2],20)|0;s:{if(O[b+148|0]){c=Uc(N[b+104>>2],h)|48;break s}c=l?52:P[e+12>>1]&65423|48}M[e+12>>1]=c;t:{u:{c=N[b+96>>2];e=N[c+72>>2]+1|0;v:{if(!(!e|e>>>0>2])){if(!gb(c,e)){break v}}e=N[c+84>>2];w:{if((e|0)!=N[c+80>>2]){break w}f=N[c+72>>2];if(f+1>>>0<=N[c+64>>2]+1>>>0){break w}if(!O[c+62|0]){break t}k=N[c+88>>2];N[c+84>>2]=k;f=T(f,20);if(!f){break w}F(k,e,f)}f=N[c+68>>2];e=N[c+64>>2];if(f>>>0>>0){break u}x:{if(e>>>0>>0){f=N[c+72>>2];k=N[c+84>>2];e=N[c+80>>2]+T(e,20)|0;break x}k=N[c+84>>2];f=N[c+72>>2];e=f-1|0;e=k+T(e>>>0<=f>>>0?e:0,20)|0}f=T(f,20)+k|0;k=N[e+4>>2];N[f>>2]=N[e>>2];N[f+4>>2]=k;N[f+16>>2]=N[e+16>>2];k=N[e+12>>2];N[f+8>>2]=N[e+8>>2];N[f+12>>2]=k;N[f>>2]=h;N[c+64>>2]=N[c+64>>2]+1;N[c+72>>2]=N[c+72>>2]+1}h=j&4?g&16?g&15:1:1;f=0-h|0;y:{if((p&65535)>>>0<2){e=h;break y}c=N[d+64>>2];k=1;e=h;while(1){z:{p=(i+1120|0)+(k<<2)|0;g=N[p>>2];if(g>>>0<=c>>>0){break z}if(l){q=f+h|0;while(1){if(!O[d+60|0]){break z}f=N[d+80>>2]+T(c,20)|0;c=O[f+14|0];c=c&16?0:c&15;c=c?c:e;L[f+14|0]=q+(c>>>0>>0?c:e)&15|m;A:{B:{if(O[d+62|0]){f=N[d+84>>2];j=N[d+80>>2];c=N[d+72>>2];if(!((f|0)==(j|0)&(c|0)==N[d+64>>2])){c=c+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break B}j=N[d+80>>2];f=N[d+84>>2]}C:{if((f|0)!=(j|0)){break C}c=N[d+72>>2];if(c+1>>>0<=N[d+64>>2]+1>>>0){f=j;break C}if(!O[d+62|0]){break a}f=N[d+88>>2];N[d+84>>2]=f;c=T(c,20);if(!c){break C}F(f,j,c);f=N[d+84>>2];j=N[d+80>>2]}c=T(N[d+72>>2],20)+f|0;f=T(N[d+64>>2],20)+j|0;g=N[f+4>>2];N[c>>2]=N[f>>2];N[c+4>>2]=g;N[c+16>>2]=N[f+16>>2];g=N[f+12>>2];N[c+8>>2]=N[f+8>>2];N[c+12>>2]=g;g=N[p>>2];c=N[d+72>>2]}N[d+72>>2]=c+1}c=N[d+64>>2]+1|0;N[d+64>>2]=c;break A}c=N[d+64>>2]}if(c>>>0>>0){continue}break}break z}if(!O[d+60|0]){break z}e=1;if(!O[d+62|0]){N[d+64>>2]=g;c=g;break z}while(1){D:{E:{if(e&255){e=N[d+84>>2];f=N[d+80>>2];j=N[d+72>>2];if((e|0)!=(f|0)|(j|0)!=(c|0)){c=j+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break E}f=N[d+80>>2];e=N[d+84>>2]}F:{if((e|0)!=(f|0)){break F}c=N[d+72>>2];if(c+1>>>0<=N[d+64>>2]+1>>>0){e=f;break F}if(!O[d+62|0]){break a}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break F}F(e,f,c);e=N[d+84>>2];f=N[d+80>>2]}c=T(N[d+64>>2],20)+f|0;f=N[c+4>>2];e=T(N[d+72>>2],20)+e|0;N[e>>2]=N[c>>2];N[e+4>>2]=f;N[e+16>>2]=N[c+16>>2];f=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=f;g=N[p>>2];c=N[d+64>>2];e=N[d+72>>2]}else{e=c}N[d+72>>2]=e+1}c=c+1|0;N[d+64>>2]=c;break D}c=N[d+64>>2]}if(!O[d+60|0]|c>>>0>=g>>>0){break z}e=O[d+62|0];continue}}e=N[d+80>>2]+T(c,20)|0;f=P[e+12>>1];g=O[e+14|0];c=c+1|0;N[d+64>>2]=c;e=f&4?g&16?g&15:1:1;f=0-e|0;h=e+h|0;k=k+1|0;if((n|0)!=(k|0)){continue}break}}G:{if(!(g>>>0>31&a)){break G}c=N[d+64>>2];if(c>>>0>=Q[d+68>>2]){break G}f=f+h|0;while(1){h=N[d+80>>2]+T(c,20)|0;a=O[h+14|0];if(((a^g)&255)>>>0>31|a&16){break G}a=a&15;if(!a){break G}L[h+14|0]=f+(a>>>0>e>>>0?e:a)&15|m;c=c+1|0;if(c>>>0>2]){continue}break}}r=1;a=N[b+96>>2];if(!N[a+156>>2]){break b}zc(a);a=N[b+88>>2];b=N[b+96>>2];N[i>>2]=o;ib(b,a,17426,i);break b}ba(13080,14165,312,10949);B()}break a}d=N[i+96>>2]}a=N[b+96>>2];if(!(O[a+16|0]&64)){break b}wb(a,2,N[a+64>>2],d,1,0)}La=i+1376|0;return r}ba(8694,17855,209,11932);B()}function yi(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0;g=La-320|0;La=g;r=S[d>>3];j=S[d+24>>3];n=S[d+8>>3];t=S[d+32>>3];l=r*j+n*t;a:{r=r*t-j*n;o=r<0?1:2;b:{c:{if(o&e){j=V(r);n=S[d+16>>3];v=j*n;t=S[d+40>>3];z=j*t;d:{s=n*l+t;if(!(sx)){break d}m=e;e:{n=(s*t+n*x)*.5;if(!(n>2]=o|N[a+56>>2];break f}k=N[b+4>>2];q=N[b>>2];p=o&(N[a+60>>2]^-1);n=S[a+88>>3]*S[a+24>>3];g:{if(V(n)<2147483648){m=~~n;break g}m=-2147483648}h=p&1;n=S[a+80>>3]*S[a+16>>3];h:{if(V(n)<2147483648){i=~~n;break h}i=-2147483648}if(h){N[g+148>>2]=k+m;N[g+144>>2]=i+q;u=N[a>>2];h=N[g+148>>2];N[g+136>>2]=N[g+144>>2];N[g+140>>2]=h;h=0;if(!Fb(u,g+136|0,1)){break b}}if(p>>>0<2){break f}N[g+148>>2]=k-m;N[g+144>>2]=q-i;m=N[a+4>>2];i=N[g+148>>2];N[g+128>>2]=N[g+144>>2];N[g+132>>2]=i;h=0;if(!Fb(m,g+128|0,1)){break b}}N[a+60>>2]=o|N[a+60>>2];i:{if(s<0|x<0){k=N[b+4>>2];j=S[a+24>>3]*0;j:{if(V(j)<2147483648){m=~~j;break j}m=-2147483648}q=o&1;j=S[a+16>>3]*0;k:{if(V(j)<2147483648){i=~~j;break k}i=-2147483648}p=N[b>>2];if(q){N[g+148>>2]=k+m;N[g+144>>2]=i+p;u=N[a>>2];h=N[g+148>>2];N[g+104>>2]=N[g+144>>2];N[g+108>>2]=h;h=0;if(!Fb(u,g+104|0,1)){break b}}if(!(r<0)){N[g+148>>2]=k-m;N[g+144>>2]=p-i;m=N[a+4>>2];i=N[g+148>>2];N[g+96>>2]=N[g+144>>2];N[g+100>>2]=i;h=0;if(!Fb(m,g+96|0,1)){break b}}k=N[b+20>>2];p=N[b+16>>2];j=S[a+24>>3]*0;l:{if(V(j)<2147483648){m=~~j;break l}m=-2147483648}j=S[a+16>>3]*0;m:{if(V(j)<2147483648){i=~~j;break m}i=-2147483648}if(q){N[g+148>>2]=k+m;N[g+144>>2]=i+p;q=N[a>>2];h=N[g+148>>2];N[g+88>>2]=N[g+144>>2];N[g+92>>2]=h;h=0;if(!Fb(q,g+88|0,1)){break b}}if(r<0){break i}N[g+148>>2]=k-m;N[g+144>>2]=p-i;m=N[a+4>>2];i=N[g+148>>2];N[g+80>>2]=N[g+144>>2];N[g+84>>2]=i;h=0;if(Fb(m,g+80|0,1)){break i}break b}j=s/j;n=j*S[d+8>>3]*S[a+24>>3];n:{if(V(n)<2147483648){m=~~n;break n}m=-2147483648}h=o&1;k=N[b+4>>2];j=j*S[d>>3]*S[a+16>>3];o:{if(V(j)<2147483648){i=~~j;break o}i=-2147483648}q=N[b>>2];if(h){N[g+148>>2]=k+m;N[g+144>>2]=i+q;p=N[a>>2];h=N[g+148>>2];N[g+120>>2]=N[g+144>>2];N[g+124>>2]=h;h=0;if(!Fb(p,g+120|0,1)){break b}}if(r<0){break i}N[g+148>>2]=k-m;N[g+144>>2]=q-i;m=N[a+4>>2];i=N[g+148>>2];N[g+112>>2]=N[g+144>>2];N[g+116>>2]=i;h=0;if(!Fb(m,g+112|0,1)){break b}}m=(o^-1)&e;if(m){break e}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;h=1;break b}i=e^o;break c}i=(l+v<1?l+z<1?o:0:0)^e}else{i=e}m=e}p:{if(!i){break p}j=l+3;n=l+1;if(!(j*j>3])){break p}j=S[d+16>>3];s=j+j;n=1/n;t=S[d+40>>3];v=S[a+152>>3];if(!(V(r*(s*n-t))>2];l=S[d+32>>3];r=S[d+8>>3];q=N[b>>2];j=S[d+24>>3];t=S[d>>3];A=i^-1;N[a+60>>2]=A&N[a+60>>2];s=S[a+88>>3]*S[a+24>>3];q:{if(V(s)<2147483648){e=~~s;break q}e=-2147483648}p=i&1;s=S[a+80>>3]*S[a+16>>3];r:{if(V(s)<2147483648){o=~~s;break r}o=-2147483648}if(p){N[g+148>>2]=e+k;N[g+144>>2]=o+q;u=N[a>>2];h=N[g+148>>2];N[g+72>>2]=N[g+144>>2];N[g+76>>2]=h;h=0;if(!Fb(u,g+72|0,2)){break b}}C=i&2;if(C){N[g+148>>2]=k-e;N[g+144>>2]=q-o;e=N[a+4>>2];i=N[g+148>>2];N[g+64>>2]=N[g+144>>2];N[g+68>>2]=i;h=0;if(!Fb(e,g- -64|0,2)){break b}}j=n*(t+j);q=N[b+12>>2];u=N[b+8>>2];l=n*(r+l)*S[a+24>>3];s:{if(V(l)<2147483648){i=~~l;break s}i=-2147483648}l=j*S[a+16>>3];t:{if(V(l)<2147483648){o=~~l;break t}o=-2147483648}if(p){k=N[a>>2];p=N[k+4>>2];if(!p){break a}h=0;y=o+u|0;e=y>>31;if((e^y)-e>>>0>268435455){break b}e=i+q|0;w=e>>31;if((e^w)-w>>>0>268435455){break b}h=N[k>>2];u:{if(p>>>0>h>>>0){p=N[k+16>>2];break u}h=0;N[147316]=0;w=p<<1;p=jd(N[k+16>>2],w,8);N[k+16>>2]=p;if(N[147316]){break b}N[k+4>>2]=w;h=N[k>>2]}h=(h<<3)+p|0;N[h>>2]=y;N[h+4>>2]=e;N[k>>2]=N[k>>2]+1}if(C){k=N[a+4>>2];p=N[k+4>>2];if(!p){break a}h=0;o=u-o|0;e=o>>31;if((e^o)-e>>>0>268435455){break b}e=q-i|0;i=e>>31;if((e^i)-i>>>0>268435455){break b}h=N[k>>2];v:{if(p>>>0>h>>>0){i=N[k+16>>2];break v}h=0;N[147316]=0;q=p<<1;i=jd(N[k+16>>2],q,8);N[k+16>>2]=i;if(N[147316]){break b}N[k+4>>2]=q;h=N[k>>2]}i=(h<<3)+i|0;N[i>>2]=o;N[i+4>>2]=e;N[k>>2]=N[k>>2]+1}m=m&A;if(m){break p}b=N[d+28>>2];N[a+80>>2]=N[d+24>>2];N[a+84>>2]=b;b=N[d+36>>2];N[a+88>>2]=N[d+32>>2];N[a+92>>2]=b;h=1;break b}i=N[b>>2];o=N[b+16>>2];e=N[b+8>>2];h=N[b+4>>2];k=N[b+12>>2];q=k+N[b+20>>2]|0;N[g+300>>2]=q>>1;h=h+k|0;k=(h+q|0)+2>>2;N[g+292>>2]=k;o=e+o|0;N[g+296>>2]=o>>1;e=e+i|0;N[g+280>>2]=e>>1;N[g+284>>2]=h>>1;q=(e+o|0)+2>>2;N[g+288>>2]=q;i=N[b+4>>2];e=N[b>>2];N[g+272>>2]=e;N[g+276>>2]=i;o=N[b+20>>2];N[g+304>>2]=N[b+16>>2];N[g+308>>2]=o;r=S[c>>3]*.5;S[g+224>>3]=r;l=S[c+8>>3]*.5;S[g+232>>3]=l;j=S[c+16>>3]*.5;S[g+256>>3]=j;n=S[c+24>>3]*.5;S[g+264>>3]=n;l=(l+n)*.5;S[g+248>>3]=l;r=(r+j)*.5;S[g+240>>3]=r;o=g+288|0;j=aa(r*r+l*l);if(j>3]){p=m^-1;N[a+60>>2]=p&N[a+60>>2];l=S[a+88>>3]*S[a+24>>3];w:{if(V(l)<2147483648){b=~~l;break w}b=-2147483648}f=i;i=m&1;l=S[a+80>>3]*S[a+16>>3];x:{if(V(l)<2147483648){c=~~l;break x}c=-2147483648}if(i){N[g+148>>2]=b+f;N[g+144>>2]=c+e;u=N[a>>2];h=N[g+148>>2];N[g+56>>2]=N[g+144>>2];N[g+60>>2]=h;h=0;if(!Fb(u,g+56|0,1)){break b}}u=m&2;if(u){N[g+148>>2]=f-b;N[g+144>>2]=e-c;b=N[a+4>>2];c=N[g+148>>2];N[g+48>>2]=N[g+144>>2];N[g+52>>2]=c;h=0;if(!Fb(b,g+48|0,1)){break b}}b=N[o+4>>2];N[g+40>>2]=N[o>>2];N[g+44>>2]=b;b=N[d+36>>2];N[g+32>>2]=N[d+32>>2];N[g+36>>2]=b;b=N[d+28>>2];N[g+24>>2]=N[d+24>>2];N[g+28>>2]=b;h=0;if(!ye(a,g+40|0,g+24|0,m)){break b}N[a+60>>2]=p&N[a+60>>2];l=S[d+32>>3]*S[a+24>>3];y:{if(V(l)<2147483648){b=~~l;break y}b=-2147483648}l=S[d+24>>3]*S[a+16>>3];z:{if(V(l)<2147483648){c=~~l;break z}c=-2147483648}if(i){N[g+148>>2]=b+k;N[g+144>>2]=c+q;d=N[a>>2];e=N[g+148>>2];N[g+16>>2]=N[g+144>>2];N[g+20>>2]=e;if(!Fb(d,g+16|0,1)){break b}}if(u){N[g+148>>2]=k-b;N[g+144>>2]=q-c;a=N[a+4>>2];b=N[g+148>>2];N[g+8>>2]=N[g+144>>2];N[g+12>>2]=b;if(!Fb(a,g+8|0,1)){break b}}h=1;break b}b=N[d+4>>2];N[g+144>>2]=N[d>>2];N[g+148>>2]=b;b=N[d+12>>2];N[g+152>>2]=N[d+8>>2];N[g+156>>2]=b;n=S[d+16>>3];s=l;l=1/j;S[g+176>>3]=s*l;S[g+184>>3]=j;S[g+168>>3]=r*l;S[g+160>>3]=n*.5;b=N[d+36>>2];N[g+200>>2]=N[d+32>>2];N[g+204>>2]=b;b=N[d+28>>2];N[g+192>>2]=N[d+24>>2];N[g+196>>2]=b;S[g+208>>3]=S[d+40>>3]*.5;h=0;if(!yi(a,g+272|0,g+224|0,g+144|0,m,f)){break b}h=yi(a,o,g+240|0,g+168|0,m,0)}La=g+320|0;return h}ba(9920,18249,281,9160);B()}function wm(){var a=0,b=0;ja(25360,25384,25420,0,25436,2,440648,0,440648,0,9426,25439,3);a=eb(4);N[a>>2]=0;b=eb(4);N[b>>2]=0;ca(25360,440650,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=4;b=eb(4);N[b>>2]=4;ca(25360,440652,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=8;b=eb(4);N[b>>2]=8;ca(25360,8314,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=12;b=eb(4);N[b>>2]=12;ca(25360,440634,584912,25442,4,a|0,584912,25446,5,b|0);a=eb(4);N[a>>2]=6;ca(25360,8490,25360,25442,7,a|0,0,0,0,0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25360,16119,584936,25442,8,a|0,584936,25446,9,b|0);ja(25464,25484,25516,0,25436,10,440648,0,440648,0,16003,25439,11);a=eb(4);N[a>>2]=12;b=eb(4);N[b>>2]=13;ca(25464,15914,440720,25442,14,a|0,440720,25446,15,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=17;ca(25464,15901,440720,25442,14,a|0,440720,25446,15,b|0);a=eb(4);N[a>>2]=8;b=eb(4);N[b>>2]=8;ca(25464,15426,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25464,11798,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=20;b=eb(4);N[b>>2]=20;ca(25464,11812,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=24;b=eb(4);N[b>>2]=24;ca(25464,11839,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=28;b=eb(4);N[b>>2]=28;ca(25464,11828,584920,25442,20,a|0,584920,25446,21,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=32;ca(25464,16733,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=36;ca(25464,17754,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=40;b=eb(4);N[b>>2]=40;ca(25464,15749,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=44;b=eb(4);N[b>>2]=44;ca(25464,8720,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=48;b=eb(4);N[b>>2]=48;ca(25464,18724,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=56;b=eb(4);N[b>>2]=56;ca(25464,18592,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=64;b=eb(4);N[b>>2]=64;ca(25464,15170,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=72;b=eb(4);N[b>>2]=72;ca(25464,16029,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=80;b=eb(4);N[b>>2]=80;ca(25464,15944,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=88;b=eb(4);N[b>>2]=88;ca(25464,15741,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=96;b=eb(4);N[b>>2]=96;ca(25464,8274,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=104;b=eb(4);N[b>>2]=104;ca(25464,9279,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=108;b=eb(4);N[b>>2]=108;ca(25464,19806,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=112;b=eb(4);N[b>>2]=112;ca(25464,19589,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=116;b=eb(4);N[b>>2]=116;ca(25464,19116,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=120;b=eb(4);N[b>>2]=120;ca(25464,15161,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=124;b=eb(4);N[b>>2]=124;ca(25464,12555,584912,25442,22,a|0,584912,25446,23,b|0);a=eb(4);N[a>>2]=128;b=eb(4);N[b>>2]=128;ca(25464,11871,584968,25532,18,a|0,584968,25536,19,b|0);a=eb(4);N[a>>2]=136;b=eb(4);N[b>>2]=136;ca(25464,7942,584912,25442,22,a|0,584912,25446,23,b|0);ja(25552,25572,25604,0,25436,24,440648,0,440648,0,9260,25439,25);a=eb(4);N[a>>2]=26;b=eb(4);N[b>>2]=27;ca(25552,8828,584920,25442,28,a|0,584928,25446,29,b|0);a=eb(4);N[a>>2]=30;b=eb(4);N[b>>2]=31;ca(25552,12789,584920,25442,28,a|0,584928,25446,29,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=33;ca(25552,15914,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=37;ca(25552,9655,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=38;b=eb(4);N[b>>2]=39;ca(25552,8635,440720,25442,34,a|0,440720,25446,35,b|0);a=eb(4);N[a>>2]=16;b=eb(4);N[b>>2]=16;ca(25552,12056,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=20;b=eb(4);N[b>>2]=20;ca(25552,11954,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=24;b=eb(4);N[b>>2]=24;ca(25552,16007,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=32;b=eb(4);N[b>>2]=32;ca(25552,19806,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=36;b=eb(4);N[b>>2]=36;ca(25552,19589,584912,25442,40,a|0,584912,25446,41,b|0);a=eb(4);N[a>>2]=40;b=eb(4);N[b>>2]=40;ca(25552,19116,584912,25442,40,a|0,584912,25446,41,b|0);ja(25628,25648,25676,0,25436,42,440648,0,440648,0,20429,25439,43);Aa(25628,5,25696,25716,44,45);a=eb(8);N[a+4>>2]=0;N[a>>2]=46;da(25628,13322,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=48;da(25628,10652,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=49;da(25628,13148,3,25736,25446,50,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=51;da(25628,13760,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=53;da(25628,11425,4,25760,25776,54,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=55;da(25628,7890,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=56;da(25628,9110,5,25792,25812,57,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=58;da(25628,9843,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=59;da(25628,12849,6,25824,25848,60,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=61;da(25628,8981,2,25856,25442,62,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=63;da(25628,9249,2,25864,25442,64,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=65;da(25628,15992,2,25864,25442,64,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=66;da(25628,9237,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=67;da(25628,9005,2,25856,25442,62,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=68;da(25628,15966,3,25724,25446,47,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=69;da(25628,10080,2,25748,25756,52,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=70;da(25628,10284,4,25760,25776,54,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=71;da(25628,16622,4,25872,25888,72,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=73;da(25628,16125,4,25872,25888,72,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=74;da(25628,9228,3,25896,25908,75,a|0,0,0);a=eb(8);N[a+4>>2]=0;N[a>>2]=76;da(25628,15935,3,25916,25908,77,a|0,0,0);a=eb(4);N[a>>2]=664;b=eb(4);N[b>>2]=664;ca(25628,16451,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=668;b=eb(4);N[b>>2]=668;ca(25628,16901,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=672;b=eb(4);N[b>>2]=672;ca(25628,8975,584912,25442,78,a|0,584912,25446,79,b|0);a=eb(4);N[a>>2]=676;b=eb(4);N[b>>2]=676;ca(25628,15816,584912,25442,78,a|0,584912,25446,79,b|0)}function $d(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{if(Q[b+4>>2]>a>>>0){break f}e=N[b+8>>2];if(e>>>0<=a>>>0){break f}c=N[b+12>>2];g=c-1|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break f}g:{h:{switch(O[a|0]-1|0){case 0:d=0;if(e-a>>>0<6){break g}a=c-7|0;N[b+12>>2]=a;break e;case 1:d=0;if(e-a>>>0<5){break g}a=c-6|0;N[b+12>>2]=a;break e;case 2:if(e-a>>>0<9){break f}a=c-10|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break g}a=c-15|0;N[b+12>>2]=a;break e;case 3:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 4:if(e-a>>>0<20){break f}d=c-21|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-37|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 5:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 6:if(e-a>>>0<20){break f}d=c-21|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-37|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 7:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break d;case 8:if(e-a>>>0<16){break f}d=c-17|0;N[b+12>>2]=d;if((d|0)<=0){break f}c=c-29|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break c;case 9:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 10:d=0;if(e-a>>>0<3){break g}a=c-4|0;N[b+12>>2]=a;break e;case 11:if(e-a>>>0<7){break f}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!uf(a+1|0,b,a)){break g}i=N[b+4>>2];e=a+4|0;f=0;i:{if(i>>>0>e>>>0){break i}g=N[b+8>>2];f=0;if(g>>>0>>0){break i}f=0;if(g-e>>>0<3){break i}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break i}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);j:{if(!d){break j}a=a+d|0;k:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<24){break k}a=h-27|0;N[b+12>>2]=a;if((a|0)<=0){break k}a=h-51|0;N[b+12>>2]=a;if((a|0)>0){break j}}a=N[b+28>>2];f=0;if(a>>>0>31){break i}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break j}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f;case 12:if(e-a>>>0<7){break f}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!uf(a+1|0,b,a)){break g}i=N[b+4>>2];e=a+4|0;f=0;l:{if(i>>>0>e>>>0){break l}g=N[b+8>>2];f=0;if(g>>>0>>0){break l}f=0;if(g-e>>>0<3){break l}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break l}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);m:{if(!d){break m}a=a+d|0;n:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<28){break n}a=h-31|0;N[b+12>>2]=a;if((a|0)<=0){break n}a=h-55|0;N[b+12>>2]=a;if((a|0)>0){break m}}a=N[b+28>>2];f=0;if(a>>>0>31){break l}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break m}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f;case 13:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 14:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 15:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 16:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 17:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 18:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Tp(a,b);case 19:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 20:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Sp(a,b);case 21:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 22:if(e-a>>>0<14){break f}c=c-15|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Rp(a,b);case 23:if(e-a>>>0<6){break f}c=c-7|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 24:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Sp(a,b);case 25:if(e-a>>>0<10){break f}c=c-11|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 26:if(e-a>>>0<14){break f}c=c-15|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Rp(a,b);case 27:if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 28:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break a;case 29:if(e-a>>>0<12){break f}c=c-13|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}break b;case 30:if(e-a>>>0<16){break f}c=c-17|0;N[b+12>>2]=c;d=0;if((c|0)<=0){break g}return Tp(a,b);case 31:break h;default:break g}}if(e-a>>>0<8){break f}c=c-9|0;N[b+12>>2]=c;if((c|0)<=0){break f}d=0;if(!uf(a+1|0,b,a)){break g}d=uf(a+5|0,b,a)}return d}return 0}return(a|0)>0}i=N[b+4>>2];e=a+1|0;f=0;o:{if(i>>>0>e>>>0){break o}g=N[b+8>>2];f=0;if(g>>>0>>0){break o}f=0;if(g-e>>>0<3){break o}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break o}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);p:{if(!d){break p}a=a+d|0;q:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<3){break q}c=h-6|0;N[b+12>>2]=c;if((c|0)<=0){break q}d=a+1|0;if(d>>>0>g>>>0|g-d>>>0<2){break q}h=h-8|0;N[b+12>>2]=h;c=1;if((h|0)<=0){break q}d=O[d|0]|O[d+1|0]<<8;if(!d){break p}a=a+3|0;if(a>>>0>g>>>0){break q}f=g-a|0;a=T((d<<8|d>>>8)&65535,6);if(f>>>0>>0){break q}a=h-a|0;N[b+12>>2]=a;if((a|0)>0){break p}}a=N[b+28>>2];f=0;if(a>>>0>31){break o}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break p}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f}i=N[b+4>>2];e=a+1|0;f=0;r:{if(i>>>0>e>>>0){break r}g=N[b+8>>2];f=0;if(g>>>0>>0){break r}f=0;if(g-e>>>0<3){break r}h=N[b+12>>2];d=h-3|0;N[b+12>>2]=d;c=1;f=0;if((d|0)<=0){break r}d=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);s:{if(!d){break s}a=a+d|0;t:{if(a>>>0>>0|a>>>0>g>>>0|g-a>>>0<3){break t}c=h-6|0;N[b+12>>2]=c;if((c|0)<=0){break t}d=a+1|0;if(d>>>0>g>>>0|g-d>>>0<2){break t}h=h-8|0;N[b+12>>2]=h;c=1;if((h|0)<=0){break t}d=O[d|0]|O[d+1|0]<<8;if(!d){break s}a=a+3|0;if(a>>>0>g>>>0){break t}f=g-a|0;a=T((d<<8|d>>>8)&65535,10);if(f>>>0>>0){break t}a=h-a|0;N[b+12>>2]=a;if((a|0)>0){break s}}a=N[b+28>>2];f=0;if(a>>>0>31){break r}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break s}L[e+2|0]=0;L[e|0]=0;L[e+1|0]=0;c=1}f=c}return f}return uf(a+1|0,b,a)}u:{v:{if(Q[b+4>>2]>a>>>0){break v}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<8){break v}d=N[b+12>>2];e=d-8|0;N[b+12>>2]=e;if((e|0)<=0){break v}e=a+1|0;if(e>>>0>c>>>0|c-e>>>0<3){break v}d=d-11|0;N[b+12>>2]=d;c=1;if((d|0)<=0){break v}d=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);w:{if(!d){break w}e=N[b+20>>2];x:{if((e|0)>15){break x}e=e+1|0;N[b+20>>2]=e;if(!e){break x}d=$d(a+d|0,b);N[b+20>>2]=N[b+20>>2]-1;if(d){break w}}c=N[b+28>>2];if(c>>>0>31){break v}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break w}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}break u}c=0}return c}function Wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{b:{c:{d:{e:{f:{g:{h:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break a}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=228;N[e+12>>2]=229;N[e+8>>2]=230;N[e+4>>2]=a;i:{j:{d=O[a+2|0]|O[a+3|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break j;case 1:break i;default:break b}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}d=a+4|0;k=c<<8|c>>>8;i=k&65535;m=i&1;k:{if((c|0)==256){a=0;c=d;break k}h=i&65534;a=0;c=d;while(1){l=a;a=O[c|0]|O[c+1|0]<<8;l=l|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=l|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;c=d;a=0;if((k&65535)>>>0>=4){f=i&65532;while(1){a=1<>2]=a;a=0;if((k&65535)>>>0<4){c=0;break c}f=i&65532;c=0;g=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break c}Ub(a,e+20|0);break b}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=231;N[e+12>>2]=232;N[e+8>>2]=233;N[e+4>>2]=a;l:{m:{d=O[a+2|0]|O[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break d}d=d+4|0;k=c<<8|c>>>8;n=k&65535;m=n&1;n:{if((c|0)==256){c=d;break n}h=n&65534;c=d;while(1){l=f;f=O[c|0]|O[c+1|0]<<8;l=l|1<<(f>>>12|f<<4);f=O[c+2|0]|O[c+3|0]<<8;f=l|1<<(f>>>12|f<<4);c=c+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(m){c=O[c|0]|O[c+1|0]<<8;f=1<<(c>>>12|c<<4)|f}N[e+20>>2]=f;i=n&3;c=d;f=0;if((k&65535)>>>0>=4){h=n&65532;m=0;while(1){f=1<>2]=f;f=0;if((k&65535)>>>0<4){c=0;break e}h=n&65532;c=0;j=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;j=j+4|0;if((h|0)!=(j|0)){continue}break}break e}Ub(d,e+20|0);break d}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=234;N[e+12>>2]=235;N[e+8>>2]=236;N[e+4>>2]=a;d=275552;c=O[a+2|0]|O[a+3|0]<<8;c=((((c<<8|c>>>8)&65535)<<1)+a|0)+4|0;if(O[c|0]|O[c+1|0]<<8){c=c+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}o:{p:{q:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break o}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break o}d=d+4|0;k=c<<8|c>>>8;i=k&65535;m=i&1;a=N[e+20>>2];r:{if((c|0)==256){c=d;break r}h=i&65534;c=d;while(1){l=a;a=O[c|0]|O[c+1|0]<<8;l=l|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=l|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;a=N[e+24>>2];s:{if((k&65535)>>>0<4){c=d;break s}f=i&65532;c=d;while(1){a=1<>2]=a;c=N[e+28>>2];if((k&65535)>>>0>=4){f=i&65532;a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;a=a+4|0;if((f|0)!=(a|0)){continue}break}}if(h){a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c;break o}Ub(d,e+20|0)}t:{u:{v:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break v}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break u}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break t}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a;break a}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}N[e+28>>2]=c}w:{x:{y:{z:{d=N[b+4>>2];c=N[d>>2];if((c|0)>=0){g=N[d+4>>2];f=g+1|0;if(f>>>0<=c>>>0){break z}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){j=$a(N[d+8>>2],T(c,28));if(j){break y}}N[d>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break w}j=N[d+8>>2];break x}N[d>>2]=c;N[d+8>>2]=j;g=N[d+4>>2];f=g+1|0}N[d+4>>2]=f;d=N[e+8>>2];c=T(g,28)+j|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=d;N[c+24>>2]=N[e+28>>2];d=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=d;d=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=d}d=O[a+8|0]|O[a+9|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;A:{B:{C:{f=O[c|0]|O[c+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break B;case 0:break C;default:break A}}d=1;break A}d=O[c+2|0]|O[c+3|0]<<8;d=d?32-W((d<<8|d>>>8)&65535)|0:0}a=O[a+10|0]|O[a+11|0]<<8;a=T((a<<8|a>>>8)&65535,d);d=a>>>0>3?a:0;if(d>>>0<=Q[b+12>>2]){break a}a=N[b+4>>2];if(N[a>>2]<0){break a}a=N[a+4>>2];N[b+12>>2]=d;N[b+8>>2]=a-1;break a}if(h){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c}D:{E:{F:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break F}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break E}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break D}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a}La=e+32|0}function at(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=N[a+872>>2];a:{if(!d|!N[d+20>>2]){break a}f=N[d+36>>2];if(!f){break a}b:{if(O[b+4|0]){N[c>>2]=12;b=N[b>>2];L[c+8|0]=0;N[c+4>>2]=b;b=N[a+88>>2];q=N[b+20>>2];e=q+32>>6;l=N[b+16>>2];f=l+32>>6;g=N[a+128>>2];c:{if(!(L[g+24|0]&1)){b=0;break c}h=N[g>>2];b=h>>31;d=f>>31;d=(d^f)-d|0;j=d>>>8|0;b=(b^h)-b|0;d:{if(j+b>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}f=b&65535;b=T(f,d>>>16|0)+T(d,b>>>16|0)+(T(f,d&65535)+32768>>>16)|0}i=(l|0)<-32;k=h>>31|1;m=0-k|0;h=N[g+4>>2];n=h>>31|1;r=0-n|0;o=e;e=e>>31;f=(o^e)-e|0;p=f>>>8|0;e=h>>31;e=(e^h)-e|0;e:{if(p+e>>>0<=8190){e=T(e,f)+32768>>>16|0;break e}h=e&65535;e=T(h,f>>>16|0)+T(f,e>>>16|0)+(T(h,f&65535)+32768>>>16)|0}k=i?m:k;m=(q|0)<-32?r:n;i=N[g+8>>2];h=i>>31;h=(h^i)-h|0;f:{if(h+j>>>0<=8190){d=T(d,h)+32768>>>16|0;break f}j=h&65535;d=T(j,d>>>16|0)+T(d,h>>>16|0)+(T(j,d&65535)+32768>>>16)|0}h=(k|0)<0;j=0-b|0;k=0-e|0;m=(m|0)<0;i=i>>31|1;l=(((l|0)<-32?0-i|0:i)|0)<0;i=0-d|0;g=N[g+12>>2];n=g>>31|1;r=0-n|0;o=g;g=g>>31;g=(o^g)-g|0;g:{if(g+p>>>0<=8190){g=T(f,g)+32768>>>16|0;break g}p=g&65535;g=T(p,f>>>16|0)+T(f,g>>>16|0)+(T(p,f&65535)+32768>>>16)|0}f=h?j:b;b=m?k:e;h=l?i:d;e=(((q|0)<-32?r:n)|0)<0?0-g|0:g}N[c+28>>2]=e;N[c+24>>2]=h;N[c+16>>2]=b;N[c+12>>2]=f;b=N[a+128>>2];if(O[b+24|0]&2){N[c+20>>2]=N[b+16>>2]<<10;N[c+32>>2]=N[N[a+128>>2]+20>>2]<<10;break b}N[c+32>>2]=0;N[c+20>>2]=0;break b}a=N[b>>2];if(!a){break a}b=N[d+32>>2];if(b>>>0>a>>>0){break a}f=f+N[d+40>>2]|0;if(f>>>0<=a>>>0){break a}g=O[a|0];N[c>>2]=g;if(g>>>0>32){break a}h:{switch(g-1|0){case 0:f=N[d+24>>2];b=O[a+1|0];if(f>>>0>>0){break a}a=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(f>>>0>>0){break a}N[c+4>>2]=b;N[c+8>>2]=0;N[c+12>>2]=(N[d+28>>2]+(a<<2)|0)+4;break b;case 1:b=O[a+1|0]|O[a+2|0]<<8;M[c+4>>1]=b<<8|b>>>8;a=O[a+3|0]|O[a+4|0]<<8;M[c+6>>1]=a<<8|a>>>8;break b;case 10:N[c+4>>2]=O[a+2|0]|O[a+1|0]<<8;break b;default:break h}}h=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);if(!h){break a}o=b;b=a+h|0;if(o>>>0>b>>>0|b>>>0>=f>>>0){break a}i:{switch(g-4|0){case 0:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8;N[c+28>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+10|0]|O[a+11|0]<<8;N[c+32>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+12|0]|O[a+13|0]<<8;N[c+36>>2]=(b<<8|b>>>8)<<16>>16;a=O[a+14|0]|O[a+15|0]<<8;N[c+40>>2]=(a<<8|a>>>8)<<16>>16;break b;case 2:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8;M[c+28>>1]=b<<8|b>>>8;b=O[a+10|0]|O[a+11|0]<<8;N[c+32>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+12|0]|O[a+13|0]<<8;N[c+36>>2]=(b<<8|b>>>8)<<16>>16;a=O[a+14|0]|O[a+15|0]<<8;M[c+40>>1]=a<<8|a>>>8;break b;case 4:d=O[b|0];if(d>>>0>2){break a}N[c+4>>2]=d;e=O[b+2|0];d=O[b+1|0];N[c+16>>2]=b+3;N[c+12>>2]=0;N[c+8>>2]=e|d<<8;b=O[a+4|0]|O[a+5|0]<<8;N[c+20>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+6|0]|O[a+7|0]<<8;N[c+24>>2]=(b<<8|b>>>8)<<16>>16;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+32>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 6:N[c+4>>2]=b;L[c+8|0]=0;N[c+12>>2]=O[a+5|0]|O[a+4|0]<<8;break b;case 8:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);N[c+28>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);N[c+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);N[c+32>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 10:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 12:case 14:case 16:case 18:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);N[c+12>>2]=f;e=a+8|0;j:{switch(g-16|0){case 0:case 2:b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);e=a+12|0;break;default:break j}}N[c+16>>2]=f;k:{l:{switch(g-18|0){case 0:case 4:a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[c+20>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break k;default:break l}}N[c+20>>2]=0;a=0}N[c>>2]=16;N[c+24>>2]=a;break b;case 20:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+20>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 24:N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[c+12>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[c+16>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);N[c+20>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);N[c+24>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b;case 28:break i;default:break a}}N[c+4>>2]=b;L[c+8|0]=0;b=O[a+4|0];if(b>>>0>26){break a}N[c+12>>2]=b;b=O[a+7|0]|(O[a+6|0]<<8|O[a+5|0]<<16);if(!b){break a}a=a+b|0;if(a>>>0>2]|a>>>0>=N[d+36>>2]+N[d+40>>2]>>>0){break a}L[c+20|0]=0;N[c+16>>2]=a}e=1}return e|0}function fu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=La-16|0;La=j;N[j+8>>2]=0;f=N[e+32>>2];h=N[f+100>>2];a:{b:{c:{if(bb(a,19233,7)){break c}d:{i=O[a+7|0];switch(i|0){case 0:case 9:case 10:case 13:case 32:break d;default:break c}}g=N[f+88>>2];k=(i?-8:-7)+b|0;l=k+1|0;b=g+l|0;if((b|g)<0){c=6;break b}c=N[f+84>>2];e:{f:{g:{if(!b){d=0;if(!c){break g}Qa[N[h+8>>2]](h,c);N[f+84>>2]=0;break e}m=(b|0)<=(g|0);h:{if(!g){d=Qa[N[h+4>>2]](h,b)|0;c=!d<<6;break h}b=Qa[N[h+12>>2]](h,g,b,c)|0;d=b?b:c;c=!b<<6}if(m|c|!d){break f}C(d+g|0,0,l)}N[f+84>>2]=d;break e}N[f+84>>2]=d;if(c){break b}}b=N[f+88>>2]+d|0;F(b,i?a+8|0:a+7|0,k);L[b+k|0]=10;N[f+88>>2]=l+N[f+88>>2];c=0;break a}i:{j:{k:{l:{m:{g=N[e>>2];if(!(g&32)){c=180;if(bb(a,19438,5)){break b}n:{switch(O[a+5|0]){case 0:case 9:case 10:case 13:case 32:break n;default:break b}}c=Kc(e+40|0,22537,a,b);if(c){break b}c=N[N[e+40>>2]+4>>2];if(!c){break m}a=L[c|0];b=a&255;if(!b|!(O[(b>>>3|0)+45040|0]>>>(a&7)&1)){break m}b=0;o:{p:{while(1){if(b>>>0>=429496728){c=f+48|0;a=Q[e+60>>2]/20|0;b=e+4|0;break p}b=O[a+45072|0]+T(b,10)|0;a=L[c+1|0];c=c+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}N[f+48>>2]=b;N[e+4>>2]=b;c=f+48|0;a=Q[e+60>>2]/20|0;if(b>>>0<=a>>>0){a=b;break o}b=e+4|0}N[c>>2]=a;N[b>>2]=a}if(!a){break l}c=6;if(a>>>0>1114111){break b}break k}q:{if(bb(a,19213,7)){break q}r:{switch(O[a+7|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}c=186;if(g&4032){break b}Zc(N[f+56>>2],N[f+52>>2],36,174);N[e>>2]=N[e>>2]&-2;N[d>>2]=175;c=0;break a}s:{if(bb(a,19733,7)){break s}t:{switch(O[a+7|0]){case 0:case 9:case 10:case 13:case 32:break t;default:break s}}c=0;N[e+28>>2]=0;N[e>>2]=g&-4033;break a}d=g&64;if(!(N[N[e+36>>2]+4>>2]|(!d|N[e+28>>2]!=-1))){c=0;break a}u:{if(bb(a,19723,9)){break u}v:{switch(O[a+9|0]){case 0:case 9:case 10:case 13:case 32:break v;default:break u}}c=181;if(g&4032){break b}c=N[e+24>>2];if(c){Qa[N[h+8>>2]](h,c)}N[e+24>>2]=0;d=e+40|0;c=Kc(d,22537,a,b);if(c){break b}cm(d);d=bm(d,j+12|0);if(!d){c=3;break b}a=e+24|0;c=N[j+12>>2];b=c+1|0;w:{if(c>>>0<=2147483646){c=Qa[N[h+4>>2]](h,b)|0;if(c){break w}break j}c=6;if(b){break i}c=0}N[e+24>>2]=c;F(c,d,b);N[e>>2]=N[e>>2]|64;c=0;break a}x:{y:{z:{if(bb(a,19971,8)){break z}A:{switch(O[a+8|0]){case 0:case 9:case 10:case 13:case 32:break A;default:break z}}c=181;if(!d){break b}c=Kc(e+40|0,22537,a,b);N[j+8>>2]=c;if(c){break b}c=N[e+40>>2];a=am(N[c+4>>2]);b=(a|0)>=0;a=b?a:-1;N[e+28>>2]=a;if(!(Q[e+48>>2]<3|b)){a=am(N[c+8>>2]);N[e+28>>2]=a}if(a-1114112>>>0<=4293853182){N[e+28>>2]=-1;break y}if((a|0)<0){break y}c=N[f+52>>2];B:{if((c|0)!=N[f+48>>2]){b=N[f+56>>2];break B}b=lb(h,36,c,c- -64|0,N[f+56>>2],j+8|0);N[f+56>>2]=b;c=N[j+8>>2];if(c){break b}N[f+48>>2]=N[f+48>>2]- -64;c=N[f+52>>2];a=N[e+28>>2]}N[f+52>>2]=c+1;d=N[e+24>>2];b=T(c,36)+b|0;N[b+4>>2]=a;N[b>>2]=d;break x}c=182;if(!(g&128)){break b}c=N[e+28>>2]==-1;d=N[f+(c?64:52)>>2]-1|0;i=N[f+(c?68:56)>>2];if(g&2048){b=N[e+8>>2];i=i+T(d,36)|0;if(b>>>0>=P[i+14>>1]){c=0;if((g|0)<0){break a}N[e>>2]=g|-2147483648;break a}c=b;b=N[i+28>>2];f=N[i+24>>2]+T(c,b)|0;c=0;d=b<<1;C:{if(!d){b=0;break C}D:{while(1){b=c;g=O[c+a|0];c=g<<24>>24;if(!(O[(g>>>3|0)+45216|0]>>>(c&7)&1)){break D}L[f|0]=O[c+45072|0]+(O[f|0]<<4);c=b+1|0;if(!(!(b&1)|d>>>0<=c>>>0)){L[f+1|0]=0;f=f+1|0}if((c|0)!=(d|0)){continue}break}b=d;break C}c=N[e>>2];if(c&1073741824){break C}N[e>>2]=c|1073741824}c=P[i+12>>1];if(c){L[f|0]=O[f|0]&O[(T(c,P[N[e+32>>2]+96>>1])&7)+45200|0]}E:{if((b|0)!=(d|0)){break E}a=O[a+d|0];if(!(O[(a>>>3|0)+45216|0]>>>(a&7)&1)){break E}a=N[e>>2];if(a&1073741824){break E}N[e>>2]=a|1073741824}N[e+8>>2]=N[e+8>>2]+1;c=N[j+8>>2];if(c){break b}c=0;break a}F:{if(bb(a,19942,6)){break F}G:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break G;default:break F}}c=Kc(e+40|0,22537,a,b);if(c){break b}n=i+T(d,36)|0,o=Ze(N[N[e+40>>2]+4>>2]),M[n+8>>1]=o;N[e>>2]=N[e>>2]|256;c=0;break a}H:{if(bb(a,19949,6)){break H}I:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break I;default:break H}}c=Kc(e+40|0,22537,a,b);if(c){break b}a=i+T(d,36)|0;b=Ze(N[N[e+40>>2]+4>>2]);M[a+10>>1]=b;c=N[e>>2];if(!(c&256)){n=a,o=jb(b&65535,72e3,T(N[f+20>>2],N[f+16>>2])),M[n+8>>1]=o}N[e>>2]=c|512;c=0;break a}c=3;J:{if(bb(a,18801,3)){break J}K:{switch(O[a+3|0]){case 0:case 9:case 10:case 13:case 32:break K;default:break J}}c=Kc(e+40|0,22537,a,b);if(c){break b}a=i+T(d,36)|0;c=N[e+40>>2];h=Uf(N[c+4>>2]);M[a+12>>1]=h;g=Uf(N[c+8>>2]);M[a+14>>1]=g;b=_e(N[c+12>>2]);M[a+16>>1]=b;c=_e(N[c+16>>2]);M[a+18>>1]=c;k=0-c|0;M[a+22>>1]=k;c=c+g|0;M[a+20>>1]=c;g=b+h|0;M[e+22>>1]=g;c=c<<16>>16;l=M[e+18>>1];M[e+18>>1]=(c|0)>(l|0)?c:l;c=M[e+20>>1];k=k<<16>>16;M[e+20>>1]=(c|0)>(k|0)?c:k;c=g<<16>>16;g=M[e+16>>1];M[e+16>>1]=(c|0)>(g|0)?c:g;c=M[e+12>>1];M[e+12>>1]=(b|0)<(c|0)?b:c;c=M[e+14>>1];M[e+14>>1]=(b|0)>(c|0)?b:c;c=N[e>>2];if(!(c&512)){M[a+10>>1]=h}L:{if(!N[N[e+36>>2]>>2]){break L}a=i+T(d,36)|0;d=P[a+8>>1];b=jb(P[a+10>>1],72e3,T(N[f+20>>2],N[f+16>>2]));if((d|0)==(b&65535)){break L}M[a+8>>1]=b;c=c|4096}N[e>>2]=c|1024;c=0;break a}if(bb(a,19744,6)){break b}M:{switch(O[a+6|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break b}}c=183;if(!(g&1024)){break b}a=i+T(d,36)|0;f=T(P[f+96>>1],P[a+12>>1]);b=f+7>>>3|0;N[a+28>>2]=b;c=184;if(f>>>0>524280){break b}a=T(b,P[a+14>>1]);if(a>>>0>65535){break b}b=i+T(d,36)|0;M[b+32>>1]=a;c=0;f=0;N:{if((a|0)>0){f=Qa[N[h+4>>2]](h,a)|0;if(!f){break N}C(f,0,a)}N[b+24>>2]=f;N[e+8>>2]=0;N[e>>2]=N[e>>2]|2048;break a}a=(i+T(d,36)|0)+24|0;break j}if(N[N[e+36>>2]+4>>2]){a=N[f+64>>2];O:{if((a|0)!=N[f+60>>2]){b=N[f+68>>2];break O}b=lb(h,36,a,a+4|0,N[f+68>>2],j+8|0);N[f+68>>2]=b;c=N[j+8>>2];if(c){break b}N[f+60>>2]=N[f+60>>2]+4;a=N[f+64>>2]}b=T(a,36)+b|0;N[b>>2]=N[e+24>>2];N[f+64>>2]=a+1;N[b+4>>2]=a;break x}a=N[e+24>>2];if(!a){break x}Qa[N[h+8>>2]](h,a)}c=0;N[e+24>>2]=0;N[e>>2]=N[e>>2]&1073741695|128;break a}N[f+48>>2]=0;N[e+4>>2]=0;c=f+48|0}a=64;N[c>>2]=64}b=T(a,36);a=Qa[N[h+4>>2]](h,b)|0;if(a){c=0;C(a,0,b);N[f+56>>2]=a;N[e>>2]=N[e>>2]|32;break a}a=f+56|0}c=64}N[a>>2]=0}if(!(O[e|0]&64)){break a}a=N[e+24>>2];if(a){Qa[N[h+8>>2]](h,a)}N[e+24>>2]=0}La=j+16|0;return c|0}function Vk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{b:{c:{d:{e:{f:{g:{h:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break f;case 1:break g;case 0:break h;default:break a}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=237;N[e+12>>2]=238;N[e+8>>2]=239;N[e+4>>2]=a;i:{j:{d=O[a+2|0]|O[a+3|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break j;case 1:break i;default:break b}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}d=a+4|0;l=c<<8|c>>>8;i=l&65535;m=i&1;k:{if((c|0)==256){a=0;c=d;break k}h=i&65534;a=0;c=d;while(1){k=a;a=O[c|0]|O[c+1|0]<<8;k=k|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=k|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;c=d;a=0;if((l&65535)>>>0>=4){f=i&65532;while(1){a=1<>2]=a;a=0;if((l&65535)>>>0<4){c=0;break c}f=i&65532;c=0;g=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break c}Ub(a,e+20|0);break b}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=240;N[e+12>>2]=241;N[e+8>>2]=242;N[e+4>>2]=a;l:{m:{d=O[a+2|0]|O[a+3|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}c=O[d+2|0]|O[d+3|0]<<8;if(!c){break d}d=d+4|0;l=c<<8|c>>>8;n=l&65535;m=n&1;n:{if((c|0)==256){c=d;break n}h=n&65534;c=d;while(1){k=f;f=O[c|0]|O[c+1|0]<<8;k=k|1<<(f>>>12|f<<4);f=O[c+2|0]|O[c+3|0]<<8;f=k|1<<(f>>>12|f<<4);c=c+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}k=e;if(m){c=O[c|0]|O[c+1|0]<<8;f=1<<(c>>>12|c<<4)|f}N[k+20>>2]=f;i=n&3;c=d;f=0;if((l&65535)>>>0>=4){h=n&65532;m=0;while(1){f=1<>2]=f;f=0;if((l&65535)>>>0<4){c=0;break e}h=n&65532;c=0;j=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;j=j+4|0;if((h|0)!=(j|0)){continue}break}break e}Ub(d,e+20|0);break d}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=243;N[e+12>>2]=244;N[e+8>>2]=245;N[e+4>>2]=a;o:{p:{q:{d=O[a+6|0]|O[a+7|0]<<8;if(d){a=((d<<8|d>>>8)&65535)+a|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break p;case 0:break q;default:break o}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break o}d=a+4|0;l=c<<8|c>>>8;i=l&65535;m=i&1;a=N[e+20>>2];r:{if((c|0)==256){c=d;break r}h=i&65534;c=d;while(1){k=a;a=O[c|0]|O[c+1|0]<<8;k=k|1<<(a>>>12|a<<4);a=O[c+2|0]|O[c+3|0]<<8;a=k|1<<(a>>>12|a<<4);c=c+4|0;f=f+2|0;if((h|0)!=(f|0)){continue}break}}if(m){f=a;a=O[c|0]|O[c+1|0]<<8;a=f|1<<(a>>>12|a<<4)}N[e+20>>2]=a;h=i&3;a=N[e+24>>2];s:{if((l&65535)>>>0<4){c=d;break s}f=i&65532;c=d;while(1){a=1<>2]=a;c=N[e+28>>2];if((l&65535)>>>0>=4){f=i&65532;a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c|1<<((O[d+2|0]|O[d+3|0]<<8)>>>1)|1<<((O[d+4|0]|O[d+5|0]<<8)>>>1)|1<<((O[d+6|0]|O[d+7|0]<<8)>>>1);d=d+8|0;a=a+4|0;if((f|0)!=(a|0)){continue}break}}if(h){a=0;while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c;break o}Ub(a,e+20|0)}t:{u:{v:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break v}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break u}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break t}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a;break a}if(i){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}N[e+28>>2]=c}w:{x:{y:{z:{d=N[b+4>>2];c=N[d>>2];if((c|0)>=0){g=N[d+4>>2];f=g+1|0;if(f>>>0<=c>>>0){break z}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=153391689){j=$a(N[d+8>>2],T(c,28));if(j){break y}}N[d>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break w}j=N[d+8>>2];break x}N[d>>2]=c;N[d+8>>2]=j;g=N[d+4>>2];f=g+1|0}N[d+4>>2]=f;d=N[e+8>>2];c=T(g,28)+j|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=d;N[c+24>>2]=N[e+28>>2];d=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=d;d=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=d}d=O[a+4|0]|O[a+5|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;A:{B:{C:{f=O[c|0]|O[c+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break B;case 0:break C;default:break A}}d=1;break A}d=O[c+2|0]|O[c+3|0]<<8;d=d?32-W((d<<8|d>>>8)&65535)|0:0}a=O[a+6|0]|O[a+7|0]<<8;a=T((a<<8|a>>>8)&65535,d);d=a>>>0>3?a:0;if(d>>>0<=Q[b+12>>2]){break a}a=N[b+4>>2];if(N[a>>2]<0){break a}a=N[a+4>>2];N[b+12>>2]=d;N[b+8>>2]=a-1;break a}if(h){while(1){c=1<<((O[d|0]|O[d+1|0]<<8)>>>1)|c;d=d+2|0;a=a+1|0;if((h|0)!=(a|0)){continue}break}}N[e+28>>2]=c}D:{E:{F:{b=N[b+4>>2];c=N[b>>2];if((c|0)>=0){f=N[b+4>>2];a=f+1|0;if(c>>>0>=a>>>0){break F}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=a>>>0){continue}break}if(c>>>0<=153391689){g=$a(N[b+8>>2],T(c,28));if(g){break E}}N[b>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break a}g=N[b+8>>2];break D}N[b>>2]=c;N[b+8>>2]=g;f=N[b+4>>2];a=f+1|0}N[b+4>>2]=a;a=N[e+8>>2];b=T(f,28)+g|0;N[b>>2]=N[e+4>>2];N[b+4>>2]=a;N[b+24>>2]=N[e+28>>2];a=N[e+24>>2];N[b+16>>2]=N[e+20>>2];N[b+20>>2]=a;a=N[e+16>>2];N[b+8>>2]=N[e+12>>2];N[b+12>>2]=a}La=e+32|0}function uo(a,b){var 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,t=0,u=0,w=0,y=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;h=La-880|0;La=h;a:{b:{c:{d:{e:{if(b<.5){N[a>>2]=0;N[a+4>>2]=4;N[h+24>>2]=0;N[h+28>>2]=0;N[h+16>>2]=0;N[h+20>>2]=0;d=b*.085*b*b;S[h+8>>3]=d;S[h>>3]=b*.5+d*-4;l=4;break e}m=1-Vd(aa(b*.11569+.20591047),a);f=+N[a>>2]*-2;A(+f);c=v(1)|0;v(0)|0;c=c>>>20&2047;f:{if(c-969>>>0>=63){d=f+1;if(c>>>0<969){break f}A(+f);e=v(1)|0;g=v(0)|0;g:{if(c>>>0<1033){break g}d=0;if(!g&(e|0)==-1048576){break f}d=f+1;if(c>>>0>=2047){break f}if((e|0)>0|(e|0)>=0){c=La-16|0;S[c+8>>3]=3105036184601418e216;d=S[c+8>>3]*3105036184601418e216;break f}if(e>>>0<3230714880){break g}c=La-16|0;S[c+8>>3]=12882297539194267e-247;d=S[c+8>>3]*12882297539194267e-247;break f}i=c;c=e<<1|g>>>31;c=!(g<<1)&(c|0)==-2129002496|c>>>0<2165964800?i:0}d=S[136];o=d+f;d=f-(o-d);f=d*d;p=f*f*(d*S[141]+S[140]);f=f*(d*S[139]+S[138]);d=d*S[137];A(+o);v(1)|0;j=v(0)|0;g=j<<4&2032;d=p+(f+(d+S[g+1136>>3]));g=g+1144|0;i=N[g>>2];l=N[g+4>>2];g=0+i|0;e=(j<<13)+l|0;e=g>>>0>>0?e+1|0:e;if(!c){h:{if(!(j&-2147483648)){x(0,g|0);x(1,e+-1048576|0);f=+z();d=f*d+f;d=d+d;break h}x(0,g|0);x(1,e+1071644672|0);f=+z();o=f*d;d=o+f;if(d<1){c=La-16|0;N[c+8>>2]=0;N[c+12>>2]=1048576;S[c+8>>3]=S[c+8>>3]*22250738585072014e-324;p=d+1;d=p+(o+(f-d)+(d+(1-p)))+-1;d=d==0?0:d}d=d*22250738585072014e-324}break f}x(0,g|0);x(1,e|0);f=+z();d=f*d+f}f=m*(d*.8335+10.1525);i:{if(V(f)<2147483648){g=~~f;break i}g=-2147483648}l=(g|0)>=4?4:8-g|0;N[a+4>>2]=l;if((l|0)>=9){break d}C(h+784|0,0,88);s=((d*-.013558201058201057+.022569444444444444)*d+-.010416666666666666)*d+.0014054232804232803;f=s+0;q=((d*.08134920634920635+-.04513888888888889)*d+-.0763888888888889)*d+.04017857142857143;t=((d*.27116402116402116+.09027777777777778)*d+.20833333333333334)*d+.43022486772486773;o=t*0;r=((d*-.20337301587301587+-.022569444444444444)*d+-.017361111111111112)*d+.24330357142857142;p=o+r*0;S[h+784>>3]=f*s+(q*0+p);m=q+0;E=m*s;S[h+776>>3]=E+(f*q+p);p=r+0;u=p*s;S[h+768>>3]=u+(m*q+(o+r*f));f=t+0;S[h+760>>3]=f*s+(p*q+(s*t+r*m));m=f*q;f=s+r;S[h+752>>3]=u+(m+(q*t+r*f));S[h+744>>3]=E+(f*q+(r*t+r*(q+t)));u=(s+s)*s+((q+q)*q+(t*t+r*(r+r)));S[h+736>>3]=u;e=0;f=.5/(d*b);b=-f;A(+b);c=v(1)|0;v(0)|0;j:{k:{l:{c=c>>>20&2047;if(c-969>>>0<63){e=c;break l}d=b+1;if(c>>>0<969){break j}if(c>>>0<1033){break l}A(+b);e=v(1)|0;d=0;if(!(v(0)|0)&(e|0)==-1048576){break k}d=b+1;if(c>>>0>=2047){break j}if((e|0)<0){c=La-16|0;S[c+8>>3]=12882297539194267e-247;d=S[c+8>>3]*12882297539194267e-247;break j}c=La-16|0;S[c+8>>3]=3105036184601418e216;d=S[c+8>>3]*3105036184601418e216;break j}d=S[129];m=S[128]*b+d;d=m-d;b=d*S[131]+(d*S[130]+b);d=b*b;o=d*d*(b*S[135]+S[134]);d=d*(b*S[133]+S[132]);A(+m);v(1)|0;j=v(0)|0;i=j<<4&2032;b=o+(d+(S[i+1136>>3]+b));i=i+1144|0;c=0+N[i>>2]|0;i=N[i+4>>2]+(j<<13)|0;i=c>>>0>>0?i+1|0:i;if(!e){m:{if(!(j&-2147483648)){x(0,c|0);x(1,i-1058013184|0);d=+z();d=(d*b+d)*5486124068793689e288;break m}x(0,c|0);x(1,i+1071644672|0);d=+z();m=d*b;b=m+d;if(b<1){c=La-16|0;N[c+8>>2]=0;N[c+12>>2]=1048576;S[c+8>>3]=S[c+8>>3]*22250738585072014e-324;o=b+1;b=o+(m+(d-b)+(b+(1-o)))+-1;b=b==0?0:b}d=b*22250738585072014e-324}break j}x(0,c|0);x(1,i|0);d=+z();d=d*b+d}}f=aa(f/3.141592653589793);b=d*f;S[h+648>>3]=b;S[h+640>>3]=f;if((l|0)<-1){break a}m=d*d;e=l+3|0;c=2;while(1){d=m*d;b=b*d;S[(h+640|0)+(c<<3)>>3]=b;i=(c|0)!=(e|0);c=c+1|0;if(i){continue}break}c=0;if((l|0)<0){break a}E=S[h+664>>3];d=S[h+648>>3];b=d;p=S[h+656>>3];m=p;while(1){o=b;b=f;f=d;d=p;e=(h+640|0)+(c<<3)|0;p=S[e+24>>3];S[e>>3]=(E+p)*s+((d+m)*q+(b*t+r*(f+o)));e=(c|0)==(l|0);c=c+1|0;E=m;m=o;if(!e){continue}break}e=0;if((l|0)<=0){break a}b=u*3;while(1){i=e;y=(h+128|0)+(e<<6)|0;D=e<<3;e=e+1|0;d=S[(h+736|0)+(e<<3)>>3];S[y+D>>3]=d*-4+(b+S[((i<<4)+h|0)+752>>3]);if((e|0)<(l|0)){d=u-d;G=i+2|0;c=e;while(1){k=h+736|0;j=c+1|0;f=d-S[k+(j<<3)>>3];f=f+f+(S[k+(c+G<<3)>>3]+S[k+(c-i<<3)>>3]);S[D+((h+128|0)+(c<<6)|0)>>3]=f;S[y+(c<<3)>>3]=f;c=j;if((l|0)!=(c|0)){continue}break}}if((e|0)!=(l|0)){continue}break}G=l&-4;y=l&3;H=l&-2;D=l&1;w=((g|0)<=4?4:g)+3|0;J=w-g|0;k=0;while(1){I=k<<3;i=(h+128|0)+(k<<6)|0;c=I+i|0;b=S[c>>3];N[c>>2]=0;N[c+4>>2]=1072693248;b=1/b;e=0;while(1){n:{if((e|0)==(k|0)){break n}j=(h+128|0)+(e<<6)|0;c=j+I|0;d=S[c>>3];N[c>>2]=0;N[c+4>>2]=0;d=b*d;c=0;if((g|0)!=(w|0)){while(1){n=c<<3;F=n+j|0;S[F>>3]=S[F>>3]-S[i+n>>3]*d;n=n|8;F=n+j|0;S[F>>3]=S[F>>3]-S[i+n>>3]*d;c=c+2|0;if((H|0)!=(c|0)){continue}break}}if(!D){break n}c=c<<3;j=c+j|0;S[j>>3]=S[j>>3]-S[c+i>>3]*d}e=e+1|0;if((l|0)!=(e|0)){continue}break}j=0;c=0;if(J>>>0>=3){while(1){e=c<<3;n=e+i|0;S[n>>3]=b*S[n>>3];n=i+(e|8)|0;S[n>>3]=b*S[n>>3];n=i+(e|16)|0;S[n>>3]=b*S[n>>3];e=i+(e|24)|0;S[e>>3]=b*S[e>>3];c=c+4|0;if((G|0)!=(c|0)){continue}break}}if(y){while(1){e=i+(c<<3)|0;S[e>>3]=b*S[e>>3];c=c+1|0;j=j+1|0;if((y|0)!=(j|0)){continue}break}}k=k+1|0;if((k|0)!=(l|0)){continue}break}c=0;b=S[h+640>>3];if((g|0)!=(w|0)){while(1){g=c<<3;e=g|8;k=g;g=h- -64|0;i=h+640|0;S[k+g>>3]=S[i+e>>3]+(u-S[e+(h+736|0)>>3]-b);g=e+g|0;c=c+2|0;e=c<<3;S[g>>3]=S[e+i>>3]+(u-S[e+(h+736|0)>>3]-b);if((c|0)!=(H|0)){continue}break}}if(D){e=c<<3;c=e+8|0;S[e+(h- -64|0)>>3]=S[c+(h+640|0)>>3]+(u-S[c+(h+736|0)>>3]-b)}e=l&-4;j=0;H=J>>>0<3;while(1){g=0;d=0;c=0;b=0;if(!H){while(1){i=(h+128|0)+(j<<6)|0;c=g<<3;k=c|24;b=S[i+k>>3];n=k;I=h- -64|0;k=I;w=c|16;m=S[w+i>>3]*S[k+w>>3];w=c|8;d=b*S[n+k>>3]+(m+(S[w+i>>3]*S[w+k>>3]+(S[c+i>>3]*S[c+k>>3]+d)));g=g+4|0;if((G|0)!=(g|0)){continue}break}c=e;b=d}g=0;if(y){while(1){i=c<<3;c=c+1|0;b=S[i+((h+128|0)+(j<<6)|0)>>3]*S[i+(h- -64|0)>>3]+b;d=b;g=g+1|0;if((y|0)!=(g|0)){continue}break}}S[(j<<3)+h>>3]=d<0?0:d;j=j+1|0;if((j|0)!=(l|0)){continue}break}c=0;if((l|0)==1){break b}}i=l&-2;e=a+8|0;while(1){k=e+(c<<1)|0;b=S[(c<<3)+h>>3]*65536+.5;o:{if(V(b)<2147483648){g=~~b;break o}g=-2147483648}M[k>>1]=g;g=c|1;k=e+(g<<1)|0;b=S[(g<<3)+h>>3]*65536+.5;p:{if(V(b)<2147483648){g=~~b;break p}g=-2147483648}M[k>>1]=g;c=c+2|0;if((i|0)!=(c|0)){continue}break}break c}ba(21524,18088,111,15214);B()}if(!D){break a}}e=(c<<1)+a|0;b=S[(c<<3)+h>>3]*65536+.5;q:{if(V(b)<2147483648){a=~~b;break q}a=-2147483648}M[e+8>>1]=a}La=h+880|0}function Lp(a){var b=0,c=0,d=0,e=0,f=0,g=U(0),h=U(0),i=0,j=0,k=0,l=U(0),m=U(0),n=0,o=0,p=0,q=0;c=a;if(!c){c=588540}a:{e=db(1,120);b:{if(!e){e=588752;break b}N[e>>2]=1;N[e+4>>2]=1;if(N[c+4>>2]){N[c+4>>2]=0}N[e+20>>2]=588752;b=N[c>>2];if(b){if((b|0)<=0){break a}N[c>>2]=b+1}N[e+96>>2]=588448;N[e+24>>2]=c;N[e+108>>2]=e;b=N[c+28>>2];if(!b){f=c;c=ae(c+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;b=c-16>>>0>=16369?1e3:c;N[f+28>>2]=b}N[e+28>>2]=b;N[e+32>>2]=b;N[e+64>>2]=65536;N[e+68>>2]=0;N[e+44>>2]=1065353216;N[e+48>>2]=1065353216;N[e+56>>2]=65536;N[e+60>>2]=0}f=db(1,12);c:{if(!f){break c}N[f>>2]=N[e+24>>2]+48;b=N[147452];d:{if(b){break d}while(1){c=db(1,92);e:{if(!c){c=588448;break e}N[c>>2]=1;N[c+4>>2]=1;F(c+20|0,588468,72)}f:{if(!N[c+4>>2]){break f}b=N[c+16>>2];g:{if(!b){break g}d=N[b+8>>2];if(!d){break g}b=N[c+12>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[d|0](b)}N[c+28>>2]=292;b=N[c+12>>2];if(b){N[b+8>>2]=0}b=N[c+16>>2];if(b){N[b+8>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];h:{if(!b){break h}d=N[b+12>>2];if(!d){break h}b=N[c+12>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[d|0](b)}N[c+32>>2]=293;b=N[c+12>>2];if(b){N[b+12>>2]=0}b=N[c+16>>2];if(b){N[b+12>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];i:{if(!b){break i}d=N[b+16>>2];if(!d){break i}b=N[c+12>>2];if(b){b=N[b+16>>2]}else{b=0}Qa[d|0](b)}N[c+36>>2]=294;b=N[c+12>>2];if(b){N[b+16>>2]=0}b=N[c+16>>2];if(b){N[b+16>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];j:{if(!b){break j}d=N[b>>2];if(!d){break j}b=N[c+12>>2];if(b){b=N[b>>2]}else{b=0}Qa[d|0](b)}N[c+20>>2]=295;b=N[c+12>>2];if(b){N[b>>2]=0}b=N[c+16>>2];if(b){N[b>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];k:{if(!b){break k}d=N[b+28>>2];if(!d){break k}b=N[c+12>>2];if(b){b=N[b+28>>2]}else{b=0}Qa[d|0](b)}N[c+48>>2]=296;b=N[c+12>>2];if(b){N[b+28>>2]=0}b=N[c+16>>2];if(b){N[b+28>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];l:{if(!b){break l}d=N[b+4>>2];if(!d){break l}b=N[c+12>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[d|0](b)}N[c+24>>2]=297;b=N[c+12>>2];if(b){N[b+4>>2]=0}b=N[c+16>>2];if(b){N[b+4>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];m:{if(!b){break m}d=N[b+32>>2];if(!d){break m}b=N[c+12>>2];if(b){b=N[b+32>>2]}else{b=0}Qa[d|0](b)}N[c+52>>2]=298;b=N[c+12>>2];if(b){N[b+32>>2]=0}b=N[c+16>>2];if(b){N[b+32>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];n:{if(!b){break n}d=N[b+40>>2];if(!d){break n}b=N[c+12>>2];if(b){b=N[b+40>>2]}else{b=0}Qa[d|0](b)}N[c+60>>2]=299;b=N[c+12>>2];if(b){N[b+40>>2]=0}b=N[c+16>>2];if(b){N[b+40>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];o:{if(!b){break o}d=N[b+68>>2];if(!d){break o}b=N[c+12>>2];if(b){b=N[b+68>>2]}else{b=0}Qa[d|0](b)}N[c+88>>2]=300;b=N[c+12>>2];if(b){N[b+68>>2]=0}b=N[c+16>>2];if(b){N[b+68>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];p:{if(!b){break p}d=N[b+52>>2];if(!d){break p}b=N[c+12>>2];if(b){b=N[b+52>>2]}else{b=0}Qa[d|0](b)}N[c+72>>2]=301;b=N[c+12>>2];if(b){N[b+52>>2]=0}b=N[c+16>>2];if(b){N[b+52>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];q:{if(!b){break q}d=N[b+60>>2];if(!d){break q}b=N[c+12>>2];if(b){b=N[b+60>>2]}else{b=0}Qa[d|0](b)}N[c+80>>2]=302;b=N[c+12>>2];if(b){N[b+60>>2]=0}b=N[c+16>>2];if(b){N[b+60>>2]=0}if(!N[c+4>>2]){break f}b=N[c+16>>2];r:{if(!b){break r}d=N[b+64>>2];if(!d){break r}b=N[c+12>>2];if(b){b=N[b+64>>2]}else{b=0}Qa[d|0](b)}N[c+84>>2]=303;b=N[c+12>>2];if(b){N[b+64>>2]=0}b=N[c+16>>2];if(b){N[b+64>>2]=0}if(!N[c+4>>2]){break f}N[c+4>>2]=0}b=N[147452];s:{t:{if(c){if(b){break s}break t}if(b){break d}c=588448}b=c;N[147452]=b;break d}if((c|0)==588448){break d}oc(c);b=N[147452];if(!b){continue}break}}if(!N[e+4>>2]){c=N[f+8>>2];if(c){_a(c)}_a(f);break c}N[e+12>>2]=N[e+12>>2]+1;c=N[e+104>>2];if(c){Qa[c|0](N[e+100>>2])}c=b?b:588448;b=N[c>>2];if(b){if((b|0)<=0){break a}N[c>>2]=b+1}oc(N[e+96>>2]);N[e+104>>2]=310;N[e+100>>2]=f;N[e+96>>2]=c}u:{if(!a){break u}c=N[a+24>>2];if(!N[e+4>>2]|c>>>0<65536){break u}a=N[e+12>>2]+1|0;N[e+16>>2]=a;N[e+12>>2]=a;b=0;v:{w:{d=(c>>>16|0)-1|0;a=tf(N[e+24>>2]+120|0);f=O[a+12|0]|O[a+13|0]<<8;if(d>>>0>=((f<<8|f>>>8)&65535)>>>0){break w}a=O[a+8|0]|O[a+9|0]<<8;if(!a){break w}a=(a<<8|a>>>8)&65535;i=db(a,4);if(!i){break u}break v}a=0}f=tf(N[e+24>>2]+120|0);c=O[f+12|0]|O[f+13|0]<<8;x:{if(d>>>0>=((c<<8|c>>>8)&65535)>>>0){break x}c=O[f+4|0]|O[f+5|0]<<8;if(c){j=f+((c<<8|c>>>8)&65535)|0}else{j=275552}if(!a){break x}c=O[f+8|0]|O[f+9|0]<<8;k=(c<<8|c>>>8)&65535;c=a>>>0>k>>>0?k:a;if(!c){break x}a=O[f+14|0]|O[f+15|0]<<8;f=((j+T(k,20)|0)+T(d,(a<<8|a>>>8)&65535)|0)+4|0;a=0;y:{if((c|0)!=1){j=c&1;k=c&65534;while(1){d=a<<2;b=d+f|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);R[d+i>>2]=U(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))*U(152587890625e-16);d=d|4;b=d+f|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);R[d+i>>2]=U(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))*U(152587890625e-16);a=a+2|0;if((k|0)!=(a|0)){continue}break}if(!j){break y}}b=a<<2;a=b+f|0;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);R[b+i>>2]=U(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))*U(152587890625e-16)}b=c}z:{if(!N[e+4>>2]){break z}a=N[e+12>>2]+1|0;N[e+16>>2]=a;N[e+12>>2]=a;A:{B:{if(b){n=db(b,4);o=db(b,4);if(o?n:0){break B}_a(n);_a(o);break z}a=N[e+24>>2];tf(a+120|0);Kp(Ig(a+124|0),0,0);break A}F(o,i,b<<2);j=N[e+24>>2];a=tf(j+120|0);c=O[a+4|0]|O[a+5|0]<<8;k=c?((c<<8|c>>>8)&65535)+a|0:275552;a=O[a+8|0]|O[a+9|0]<<8;q=(a<<8|a>>>8)&65535;c=0;while(1){a=c>>>0>=q>>>0?275552:k+T(c,20)|0;d=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);g=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));p=c<<2;h=R[p+i>>2];d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);l=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));l=g<=l?g:l;m=h>=l?h:l;a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);h=U(U(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))*U(152587890625e-16));h=g>=h?g:h;m=h>=m?m:h;f=0;C:{if(g==m){break C}g=U(Z(U(U(U(U(m-g)/(g>m?U(g-l):U(h-g)))*U(16384))+U(.5))));if(U(V(g))>2]=f;c=c+1|0;if((c|0)!=(b|0)){continue}break}Kp(Ig(j+124|0),n,b)}_a(N[e+88>>2]);_a(N[e+92>>2]);N[e+92>>2]=o;N[e+88>>2]=n;N[e+84>>2]=b;Ie(e)}_a(i)}return e}ba(23506,14099,260,16403);B()}function ag(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0;o=La-32|0;La=o;L[a+733|0]=0;s=N[a+100>>2];k=N[a+736>>2];a:{if(!k){e=re(a,0);if(e){break a}k=N[a+736>>2]}b:{q=N[k+12>>2];h=N[q>>2];b=b>>>0>h>>>0?h:b;if(!b){break b}while(1){if(N[(f<<2)+c>>2]-65537>>>0>=4294836223){f=f+1|0;if((f|0)!=(b|0)){continue}break b}break}e=6;break a}c:{d:{e:{f:{g:{h:{if(O[a+732|0]|N[k+72>>2]){break h}f=N[a+104>>2];i=N[f+28>>2];e=Qa[N[a+516>>2]](a,1735811442,f,o+24|0)|0;if(e){break a}m=N[f+8>>2];e=rb(f,27168,o+4|0);if(e){break a}e=8;if(N[o+4>>2]!=65536){break a}h=P[o+8>>1];if((h|0)!=P[N[k+12>>2]>>1]){break a}t=P[o+10>>1];u=T(t,h);g=N[o+24>>2];if(u>>>0>g>>>1>>>0){break a}p=P[o+16>>1];l=p+1|0;n=M[o+18>>1]&1;j=l<<(n?2:1);if(j>>>0>g>>>0){break a}N[k+76>>2]=g;g=N[o+20>>2];e=Bb(f,j);N[o+28>>2]=e;if(e){break a}j=0;x=k,y=lb(i,4,0,l,0,o+28|0),N[x+72>>2]=y;e=N[o+28>>2];if(e){break g}v=g+m|0;l=m+N[o+24>>2]|0;i:{if(!n){n=0;while(1){e=0;g=N[f+32>>2];if(Q[f+36>>2]>g+1>>>0){e=O[g+1|0]|O[g|0]<<8;g=g+2|0}N[f+32>>2]=g;g=v+(e<<1)|0;j=g>>>0>>0?j:g;N[N[k+72>>2]+(n<<2)>>2]=j>>>0>l>>>0?l:j;g=(n|0)!=(p|0);n=n+1|0;if(g){continue}break}break i}n=0;while(1){e=0;g=N[f+32>>2];if(Q[f+36>>2]>g+3>>>0){e=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);g=g+4|0}N[f+32>>2]=g;g=e+v|0;n=g>>>0>>0?n:g;N[N[k+72>>2]+(j<<2)>>2]=l>>>0>>0?l:n;g=(j|0)==(p|0);j=j+1|0;if(!g){continue}break}}N[k+68>>2]=p;if(N[f+20>>2]){g=N[f>>2];if(g){e=N[f+28>>2];Qa[N[e+8>>2]](e,g)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0;if(!t){break h}g=m+N[o+12>>2]|0;j:{e=N[f+20>>2];k:{if(e){if(Qa[e|0](f,g,0,0)|0){break k}break j}if(g>>>0<=Q[f+4>>2]){break j}}e=85;N[o+28>>2]=85;break f}N[f+8>>2]=g;e=Bb(f,u<<1);N[o+28>>2]=e;if(e){break f}l=0;j=lb(i,4,0,u,0,o+28|0);N[k+64>>2]=j;e=N[o+28>>2];if(e){break g}u=h>>>0<2;v=h>>>0<=1?1:h;w=v&65534;i=h;while(1){r=0;l:{if(!(i&65535)){break l}n=T(h,l);e=N[f+32>>2];p=N[f+36>>2];m=0;if(!u){g=0;while(1){m:{if(p>>>0<=e+1>>>0){i=0;break m}i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;e=e+2|0}N[f+32>>2]=e;N[j+(m+n<<2)>>2]=i<<16>>16<<2;i=0;if(p>>>0>e+1>>>0){i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;e=e+2|0}N[f+32>>2]=e;N[j+(n+(m|1)<<2)>>2]=i<<16>>16<<2;m=m+2|0;g=g+2|0;if((w|0)!=(g|0)){continue}break}}r=h;if(!(v&1)){break l}i=0;if(p>>>0>e+1>>>0){g=O[e|0]|O[e+1|0]<<8;i=g<<8|g>>>8;e=e+2|0}N[f+32>>2]=e;N[j+(m+n<<2)>>2]=i<<16>>16<<2;r=h}i=r;l=l+1|0;if(t>>>0>l>>>0){continue}break}N[k+60>>2]=t;if(N[f+20>>2]){h=N[f>>2];if(h){g=N[f+28>>2];Qa[N[g+8>>2]](g,h)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}t=N[k+4>>2];if(t){break d}e=0;f=N[q>>2];if((f|0)>=0){break e}e=6;break c}if(N[f+20>>2]){a=N[f>>2];if(a){b=N[f+28>>2];Qa[N[b+8>>2]](b,a)}N[f>>2]=0}N[f+32>>2]=0;N[f+36>>2]=0}a=N[k+72>>2];if(a){Qa[N[i+8>>2]](i,a)}N[k+68>>2]=0;N[k+72>>2]=0;break a}n:{if(f){e=10;if((f|0)>536870911){break c}h=f<<2;e=Qa[N[s+4>>2]](s,h)|0;if(!e|(f|0)<=0){break n}C(e,0,h)}N[k+4>>2]=e;break d}N[k+4>>2]=e;if(e){break d}e=!e<<6;break a}o:{p:{q:{r:{s:{t:{i=N[k+8>>2];if(i){f=0;if(b){break t}break s}i=0;f=N[q>>2];if((f|0)<0){e=6;break o}u:{if(f){e=10;if((f|0)>536870911){break o}h=f<<2;i=Qa[N[s+4>>2]](s,h)|0;if(!i|(f|0)<=0){break u}C(i,0,h)}N[k+8>>2]=i;break q}N[k+8>>2]=i;if(i){break q}e=!i<<6;break a}m=1;while(1){h=f<<2;n=2;if(N[h+i>>2]!=N[c+h>>2]){break r}f=f+1|0;if((f|0)!=(b|0)){continue}break}f=b}m=0;n=0}j=N[q>>2];h=N[a+4>>2];v:{if(h&2147418112){if(f>>>0>=j>>>0){break v}r=N[k+20>>2]+(T((h>>>16|0)-1|0,j)<<2)|0;h=f<<2;g=r+h|0;p=(f^-1)+j|0;e=h+i|0;q=j-f&3;w:{if(!q){l=f;break w}l=f+q|0;u=l<<2;h=0;while(1){m=N[e>>2]!=N[g>>2]?1:m;e=e+4|0;g=g+4|0;h=h+1|0;if((q|0)!=(h|0)){continue}break}e=i+u|0}if(p>>>0<3){break v}while(1){m=N[e+12>>2]!=N[g+12>>2]?1:N[e+8>>2]!=N[g+8>>2]?1:N[e+4>>2]!=N[g+4>>2]?1:N[e>>2]!=N[g>>2]?1:m;e=e+16|0;g=g+16|0;l=l+4|0;if((j|0)!=(l|0)){continue}break}break v}if(f>>>0>=j>>>0){break v}q=(f^-1)+j|0;e=(f<<2)+i|0;l=j-f&3;x:{if(!l){h=f;break x}h=f+l|0;p=h<<2;g=0;while(1){m=N[e>>2]?1:m;e=e+4|0;g=g+1|0;if((l|0)!=(g|0)){continue}break}e=i+p|0}if(q>>>0<3){break v}while(1){m=N[e+12>>2]|N[e+8>>2]|(N[e+4>>2]|N[e>>2])?1:m;e=e+16|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}y:{if(m&255){if(f>>>0>=j>>>0){break p}break y}L[a+733|0]=1;e=-1;break a}while(1){if(!N[(f<<2)+i>>2]){f=f+1|0;if((j|0)!=(f|0)){continue}break p}break}n=2;break p}j=N[q>>2];n=1}N[k>>2]=j;if(c){F(i,c,b<<2)}z:{if(!d){break z}d=N[k+4>>2];e=N[a+736>>2];l=N[e>>2];b=t?b:N[k>>2];c=b>>>0>l>>>0?l:b;A:{if(!c){break A}h=N[k+8>>2];g=0;f=0;if(c>>>0>=4){k=c&-4;while(1){i=f<<2;N[i+d>>2]=N[h+i>>2];j=i|4;N[j+d>>2]=N[h+j>>2];j=i|8;N[j+d>>2]=N[h+j>>2];i=i|12;N[i+d>>2]=N[h+i>>2];f=f+4|0;if((k|0)!=(f|0)){continue}break}}i=c&3;if(!i){break A}while(1){k=f<<2;N[k+d>>2]=N[h+k>>2];f=f+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(b>>>0>l>>>0){C(d+(c<<2)|0,0,b-c<<2)}B:{if(!c){break B}j=N[e+28>>2];if(!j){break B}k=0;while(1){g=P[j>>1];C:{if(g>>>0<2){break C}i=d+(k<<2)|0;b=N[i>>2];l=N[j+4>>2];f=1;while(1){h=l+(f<<3)|0;m=N[h+4>>2];if((m|0)>(b|0)){g=h-8|0;f=N[g>>2];r=b;b=N[g+4>>2];x=i,y=jb(r-b|0,N[h>>2]-f|0,m-b|0)+f|0,N[x>>2]=y;break C}f=f+1|0;if((g|0)!=(f|0)){continue}break}}j=j+8|0;k=k+1|0;if((c|0)!=(k|0)){continue}break}}if(!c){break z}b=N[N[e+12>>2]+12>>2];e=0;while(1){k=d+(e<<2)|0;h=N[k>>2];D:{E:{if((h|0)<0){i=0-h|0;f=N[b+8>>2];l=f-N[b+4>>2]|0;g=l>>31;g=(g^l)-g|0;F:{if((g>>>8|0)-h>>>0<=8190){h=T(g,i)+32768>>>16|0;break F}h=i&65535;h=T(h,g>>>16|0)+T(g,i>>>16|0)+(T(h,g&65535)+32768>>>16)|0}h=(l|0)<0?h:0-h|0;break E}f=N[b+8>>2];if(!h){break D}i=N[b+12>>2]-f|0;g=i>>31;r=h;h=h>>31;h=(r^h)-h|0;g=(g^i)-g|0;G:{if(h+(g>>>8|0)>>>0<=8190){h=T(g,h)+32768>>>16|0;break G}l=h&65535;h=T(l,g>>>16|0)+T(g,h>>>16|0)+(T(l,g&65535)+32768>>>16)|0}h=(i|0)<0?0-h|0:h}f=f+h|0}N[k>>2]=f;b=b+24|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}L[a+733|0]=1;e=0;b=N[a+704>>2];H:{if(!b){break H}I:{switch(n-1|0){case 1:Qa[N[s+8>>2]](s,b);N[a+704>>2]=0;e=gn(a,N[a+104>>2]);break H;case 0:break I;default:break H}}e=Ym(a,N[a+104>>2])}b=N[a+720>>2];if(b){Qa[N[s+8>>2]](s,b)}N[a+720>>2]=0;break a}N[k+8>>2]=0;break a}N[k+4>>2]=0}La=o+32|0;return e}function gj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=La-48|0;La=h;N[a+44>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h+28>>2]=0;c=N[b+32>>2];if((c|0)==-1){d=sb(b+56|0);d=O[d+4|0]|O[d+5|0]<<8;c=(d<<8|d>>>8)&65535;N[b+32>>2]=c}L[h+40|0]=1;N[h+36>>2]=c;d=N[b+12>>2];a:{if(d){c=Qa[d|0](b,1668112752,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{d=N[c>>2];if(d){if((d|0)<=0){break j}N[c>>2]=d+1}L[h+24|0]=0;N[h+32>>2]=c;f=N[c+12>>2];N[h+4>>2]=f;e=N[c+16>>2];N[h+8>>2]=e+f;if((e|0)<0){break i}if(e>>>0>67108863){i=1073741823}else{d=e<<6;d=d>>>0<=16384?16384:d;i=d>>>0>=1073741823?1073741823:d}N[h+20>>2]=0;N[h>>2]=0;N[h+28>>2]=0;d=c;if(!f){break c}if(e>>>0<4){break g}N[h+12>>2]=i-4;if(O[f|0]|O[f+1|0]<<8){break g}N[h+44>>2]=f;if(Yi(f+2|0,h,h+44|0)){break h}if(O[h+24|0]|!N[h+28>>2]){break g}if(!zb(c)){break g}while(1){L[h+24|0]=1;d=N[h+32>>2];f=N[d+12>>2];N[h+4>>2]=f;e=N[d+16>>2];N[h+8>>2]=e+f;if((e|0)<0){break i}if(e>>>0>67108863){i=1073741823}else{i=e<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}N[h+20>>2]=0;N[h>>2]=0;N[h+28>>2]=0;if(!f){break c}if(e>>>0<=3){break g}N[h+12>>2]=i-4;if(O[f|0]|O[f+1|0]<<8){break g}N[h+44>>2]=f;if(Yi(f+2|0,h,h+44|0)){break h}if(O[h+24|0]|!N[h+28>>2]){break g}d=zb(c);N[h+4>>2]=d;N[h+8>>2]=d+N[c+16>>2];if(d){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[h+28>>2]){break f}N[h+28>>2]=0;if(Q[h+4>>2]>f>>>0){break g}d=N[h+8>>2];if(d>>>0>>0|d-f>>>0<=3){break g}d=N[h+12>>2]-4|0;N[h+12>>2]=d;if(O[f|0]|O[f+1|0]<<8|(d|0)<=0){break g}N[h+44>>2]=f;d=Yi(f+2|0,h,h+44|0);if(N[h+28>>2]){break g}ab(N[h+32>>2]);if(d){break e}break d}ab(N[h+32>>2]);break d}ab(N[h+32>>2])}if(!N[c+4>>2]){break b}N[c+4>>2]=0;break b}ab(c);c=275552;break b}ab(d)}N[a+44>>2]=c;j=275552;l=Q[c+16>>2]<4?275552:N[c+12>>2];i=l+4|0;k:{l:{k=O[l+2|0]|O[l+3|0]<<8;m:{if(!k){break m}e=0;d=((k<<8|k>>>8)&65535)-1|0;c=d;n:{while(1){o:{p:{f=c+e>>>1|0;g=i+(f<<3)|0;m=O[g|0]|O[g+1|0]<<8;n=(m<<8|m>>>8)&65535;q:{if(!(n>>>0>3|(m|0)!=768)){if(O[g+2|0]|O[g+3|0]<<8){break q}c=i+(f<<3)|0;break n}if(n>>>0<4){break p}}c=f-1|0;break o}e=f+1|0}if((c|0)>=(e|0)){continue}break}c=275552}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){break l}e=0;f=d;r:{while(1){s:{t:{u:{c=e+f>>>1|0;g=i+(c<<3)|0;m=O[g|0]|O[g+1|0]<<8;n=(m<<8|m>>>8)&65535;v:{if(!(n>>>0>3|(m|0)!=768)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>10){break v}if((g|0)==2560){break u}break t}if(n>>>0<4){break t}}f=c-1|0;break s}c=i+(c<<3)|0;break r}e=c+1|0}if((e|0)<=(f|0)){continue}break}c=275552}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=1;break k}f=0;c=d;w:{x:{while(1){y:{z:{e=c+f>>>1|0;g=i+(e<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<7){break z}}c=e-1|0;break y}if((g|0)==1536){break x}f=e+1|0}if((c|0)>=(f|0)){continue}break}c=275552;break w}c=i+(e<<3)|0}c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=1;break k}c=0;A:{B:{while(1){C:{D:{f=c+d>>>1|0;e=i+(f<<3)|0;if(!(O[e|0]|O[e+1|0]<<8)){e=O[e+2|0]|O[e+3|0]<<8;if(((e<<8|e>>>8)&65535)>>>0<5){break D}}d=f-1|0;break C}if((e|0)==1024){break B}c=f+1|0}if((c|0)<=(d|0)){continue}break}d=275552;break A}d=i+(f<<3)|0}d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(d){e=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+l|0;d=1;break k}if(!k){break m}f=((k<<8|k>>>8)&65535)-1|0;e=0;while(1){E:{F:{G:{d=e+f>>>1|0;c=i+(d<<3)|0;g=O[c|0]|O[c+1|0]<<8;m=(g<<8|g>>>8)&65535;H:{if(!(m>>>0>3|(g|0)!=768)){c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>1){break H}if((c|0)==256){break G}break F}if(m>>>0<4){break F}}f=d-1|0;break E}j=i+(d<<3)|0;break m}e=d+1|0}if((e|0)<=(f|0)){continue}break}}d=1;c=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=275552;I:{if(!k){break I}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){J:{K:{L:{j=c+f>>>1|0;g=i+(j<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<4){break L}}c=j-1|0;break K}if((g|0)==768){break J}f=j+1|0}if((c|0)>=(f|0)){continue}break I}break}e=i+(j<<3)|0}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=275552;M:{if(!k){break M}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){N:{O:{P:{j=c+f>>>1|0;g=i+(j<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<3){break P}}c=j-1|0;break O}if((g|0)==512){break N}f=j+1|0}if((c|0)>=(f|0)){continue}break M}break}e=i+(j<<3)|0}c=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=c?(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0:0;if(e){break k}e=Qp(l,1);if(e){break k}c=Qp(l,0);e=c?c:275552;break k}e=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;d=0}j=275552;N[a+4>>2]=275552;N[a>>2]=e;Q:{if(!k){break Q}c=((k<<8|k>>>8)&65535)-1|0;f=0;while(1){R:{S:{T:{k=c+f>>>1|0;g=i+(k<<3)|0;if(!(O[g|0]|O[g+1|0]<<8)){g=O[g+2|0]|O[g+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0<6){break T}}c=k-1|0;break S}if((g|0)==1280){break R}f=k+1|0}if((c|0)>=(f|0)){continue}break Q}break}j=i+(k<<3)|0}c=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);U:{if(!c){break U}c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+l|0;if((O[c|0]|O[c+1|0]<<8)!=3584){break U}N[a+4>>2]=c}c=e?e:275552;N[a+12>>2]=c;V:{if(!d){b=Tc(b+72|0);b=(O[b|0]|O[b+1|0]<<8?0:(O[b+62|0]|O[b+63|0]<<8)<<8)&65280;if(!b){b=304;break V}W:{if((b|0)!=45824){if((b|0)!=45568){break W}b=305;break V}b=306;break V}b=307;break V}b=307;X:{Y:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-4|0){case 0:break X;case 8:break Y;default:break V}}b=308;break V}b=O[c+6|0]|O[c+7|0]<<8;d=c+14|0;N[a+16>>2]=d;b=(b<<8|b>>>8)&65534;f=b>>>1|0;N[a+36>>2]=f;d=(b+d|0)+2|0;N[a+20>>2]=d;d=b+d|0;N[a+24>>2]=d;d=b+d|0;N[a+28>>2]=d;N[a+32>>2]=b+d;b=O[c+2|0]|O[c+3|0]<<8;N[a+12>>2]=a+16;N[a+40>>2]=(((b<<8|b>>>8)&65535)-(f<<3)|0)-16>>>1;b=309}N[a+8>>2]=b;La=h+48|0;return a}function _i(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{g=N[b+4>>2];if(g>>>0>a>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<14){break b}f=N[b+12>>2]-14|0;N[b+12>>2]=f;if((f|0)<=0){break b}e=O[a+2|0]|O[a+3|0]<<8;if(e){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>d>>>0){break b}l=d-c|0;c=T((e<<8|e>>>8)&65535,6);if(l>>>0>>0){break b}f=f-c|0;N[b+12>>2]=f;if((f|0)<=0){break b}}e=O[a+12|0]|O[a+13|0]<<8;if(e){c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>d>>>0){break b}l=d-c|0;c=((e<<8|e>>>8)&65535)<<2;if(l>>>0>>0){break b}f=f-c|0;N[b+12>>2]=f;if((f|0)<=0){break b}}c=1;c:{e=O[a|0]|O[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 0:break a;case 1:break c;default:break b}}e=a+14|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break b}c=f-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d:{if(!c){break d}if(c&128){break b}e:{l=g;g=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(l>>>0>g>>>0|d>>>0>>0|d-g>>>0<4){break e}h=f-8|0;N[b+12>>2]=h;if((h|0)<=0){break e}f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);j=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=UE(j,0,6,0);if(Pa){break e}if(c){i=g+4|0;if(i>>>0>d>>>0|c>>>0>d-i>>>0){break e}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break e}}if(!f){break d}j=j>>>0<=1?1:j;f=0;while(1){h=g+T(f,6)|0;c=h+4|0;if(c>>>0>2]){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<6){break e}i=N[b+12>>2];c=i-6|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=h+6|0;if(c>>>0>d>>>0|d-c>>>0<4){break e}d=i-10|0;N[b+12>>2]=d;if((d|0)<=0){break e}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);f:{if(!d){break f}if(d&128){break e}h=N[b+20>>2];g:{if((h|0)>15){break g}h=h+1|0;N[b+20>>2]=h;if(!h){break g}d=$d(g+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0,b);N[b+20>>2]=N[b+20>>2]-1;if(d){break f}}d=N[b+28>>2];if(d>>>0>31){break e}N[b+28>>2]=d+1;if(!O[b+24|0]){break e}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}f=f+1|0;if((j|0)!=(f|0)){continue}break}break d}c=N[b+28>>2];if(c>>>0>31){break b}N[b+28>>2]=c+1;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}f=N[b+4>>2];c=a+18|0;if(f>>>0>c>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break b}g=N[b+12>>2];e=g-4|0;N[b+12>>2]=e;if((e|0)<=0){break b}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h:{if(!e){break h}if(e&128){break b}i:{e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0;if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break i}j=g-8|0;N[b+12>>2]=j;if((j|0)<=0){break i}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(g>>>0>1073741823){break i}h=g<<2;if(h){i=e+4|0;if(i>>>0>d>>>0|h>>>0>d-i>>>0){break i}d=j-h|0;N[b+12>>2]=d;if((d|0)<=0){break i}}if(!f){break h}j=g>>>0<=1?1:g;f=0;while(1){d=(e+(f<<2)|0)+4|0;if(d>>>0>2]){break i}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break i}g=N[b+12>>2]-4|0;N[b+12>>2]=g;if((g|0)<=0){break i}g=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j:{if(!g){break j}if(g&128){break i}h=N[b+20>>2];k:{if((h|0)>15){break k}h=h+1|0;N[b+20>>2]=h;if(!h){break k}g=$d(e+(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))|0,b);N[b+20>>2]=N[b+20>>2]-1;if(g){break j}}g=N[b+28>>2];if(g>>>0>31){break i}N[b+28>>2]=g+1;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}f=f+1|0;if((j|0)!=(f|0)){continue}break}break h}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0}l:{m:{g=N[b+4>>2];d=a+22|0;if(g>>>0>d>>>0){break m}f=N[b+8>>2];if(f>>>0>>0|f-d>>>0<4){break m}h=N[b+12>>2];e=h-4|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break m}e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);n:{if(!e){break n}if(e&128){break m}o:{p:{e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0;if(e>>>0>>0|e>>>0>f>>>0|f-e>>>0<5){break p}c=h-9|0;N[b+12>>2]=c;if((c|0)<=0){break p}j=e+1|0;if(j>>>0>>0|f>>>0>>0|f-j>>>0<4){break p}i=h-13|0;N[b+12>>2]=i;if((i|0)<=0){break p}g=O[e+1|0]|O[e+2|0]<<8|(O[e+3|0]<<16|O[e+4|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);c=UE(h,0,7,0);if(Pa){break p}if(c){k=e+5|0;if(k>>>0>f>>>0|c>>>0>f-k>>>0){break p}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break p}}if(!g){break o}n=h>>>0<=1?1:h;h=0;while(1){g=N[b+4>>2];k=j+T(h,7)|0;c=k+4|0;if(g>>>0>c>>>0){break p}f=N[b+8>>2];if(f>>>0>>0|f-c>>>0<7){break p}i=N[b+12>>2];c=i-7|0;N[b+12>>2]=c;if((c|0)<=0){break p}c=k+8|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<3){break p}k=i-10|0;N[b+12>>2]=k;if((k|0)<=0){break p}m=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);q:{if(!m){break q}l=g;g=e+m|0;r:{if(l>>>0>g>>>0|f>>>0<=g>>>0){break r}m=i-11|0;N[b+12>>2]=m;if(!m){break r}s:{t:{switch(O[g|0]-1|0){case 0:i=-10;if(f-g>>>0>=9){break s}break r;case 1:break t;default:break q}}if(f-g>>>0<13){break r}f=i-24|0;N[b+12>>2]=f;i=-23;if((f|0)<=0){break r}}f=i+k|0;N[b+12>>2]=f;if((f|0)>0){break q}}f=N[b+28>>2];if(f>>>0>31){break p}N[b+28>>2]=f+1;if(!O[b+24|0]){break p}L[c+2|0]=0;L[c|0]=0;L[c+1|0]=0}c=1;h=h+1|0;if((n|0)!=(h|0)){continue}break}break n}c=N[b+28>>2];if(c>>>0>31){break m}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break n}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}c=1}break l}c=0}if(!c){break b}c=0;u:{v:{e=a+26|0;if(e>>>0>2]){break v}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break v}f=N[b+12>>2]-4|0;N[b+12>>2]=f;d=1;if((f|0)<=0){break v}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);w:{if(!f){break w}if(f&128){break v}if(Ed((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0,b)){break w}d=N[b+28>>2];if(d>>>0>31){break v}N[b+28>>2]=d+1;d=0;if(!O[b+24|0]){break w}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;d=1}break u}d=0}if(!d){break a}return Hf(a+30|0,b,a)}c=0}return c}function Jq(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0;i=La-32|0;La=i;N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;N[b+84>>2]=N[b+80>>2];a:{b:{l=N[b+68>>2];c:{if(!l){break c}while(1){d=N[b+80>>2];h=N[d+T(e,20)>>2];d:{if((h&-129)!=3635){if(O[b+62|0]){h=N[b+72>>2];g=N[b+84>>2];e:{if((g|0)==(d|0)){f=e;if((e|0)==(h|0)){break e}}f=h+1|0;if(!(!f|f>>>0>2])){if(!gb(b,f)){break c}g=N[b+84>>2];d=N[b+80>>2]}f:{if((d|0)!=(g|0)){break f}f=N[b+72>>2];if(f+1>>>0<=N[b+64>>2]+1>>>0){g=d;break f}if(!O[b+62|0]){break b}g=N[b+88>>2];N[b+84>>2]=g;f=T(f,20);if(!f){break f}F(g,d,f);g=N[b+84>>2];d=N[b+80>>2]}f=T(N[b+64>>2],20)+d|0;d=N[f+4>>2];e=T(N[b+72>>2],20)+g|0;N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;e=N[b+64>>2];f=N[b+72>>2]}N[b+72>>2]=f+1}N[b+64>>2]=e+1;break d}g=h+26|0;g:{d=N[b+72>>2]+1|0;if(!(!d|d>>>0>2])){if(!gb(b,d)){break g}}e=N[b+84>>2];h:{if((e|0)!=N[b+80>>2]){break h}d=N[b+72>>2];if(Q[b+64>>2]>=d+1>>>0){break h}if(!O[b+62|0]){break b}f=N[b+88>>2];N[b+84>>2]=f;d=T(d,20);if(!d){break h}F(f,e,d)}f=N[b+64>>2];d=N[b+68>>2];if(f>>>0<=d>>>0){i:{if(d>>>0>f>>>0){d=N[b+72>>2];e=N[b+84>>2];f=N[b+80>>2]+T(f,20)|0;break i}e=N[b+84>>2];d=N[b+72>>2];f=d-1|0;f=e+T(d>>>0>=f>>>0?f:0,20)|0}e=T(d,20)+e|0;d=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;N[e>>2]=g;N[b+72>>2]=N[b+72>>2]+1;break g}break a}f=N[b+72>>2];d=f-1|0;d=N[b+84>>2]+T(d>>>0<=f>>>0?d:0,20)|0;M[d+16>>1]=P[d+16>>1]|128;g=h-1|0;j:{f=N[b+72>>2]+1|0;k:{if(!(!f|f>>>0>2])){d=0;if(!gb(b,f)){break k}}e=N[b+84>>2];l:{if((e|0)!=N[b+80>>2]){break l}d=N[b+72>>2];if(d+1>>>0<=N[b+64>>2]+1>>>0){break l}if(!O[b+62|0]){break b}f=N[b+88>>2];N[b+84>>2]=f;d=T(d,20);if(!d){break l}F(f,e,d)}d=N[b+68>>2];f=N[b+64>>2];if(d>>>0>>0){break a}m:{if(d>>>0>f>>>0){d=N[b+72>>2];e=N[b+84>>2];f=N[b+80>>2]+T(f,20)|0;break m}e=N[b+84>>2];d=N[b+72>>2];f=d-1|0;f=e+T(d>>>0>=f>>>0?f:0,20)|0}e=T(d,20)+e|0;d=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=d;N[e+16>>2]=N[f+16>>2];d=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=d;N[e>>2]=g;N[b+64>>2]=N[b+64>>2]+1;N[b+72>>2]=N[b+72>>2]+1;d=1}break j}if(!d){break c}j=N[b+72>>2];e=j-2|0;f=T(e,20);d=f+N[b+84>>2]|0;M[d+16>>1]=P[d+16>>1]&224|12;if(!e){break d}d=N[b+84>>2];n:{o:{p:{while(1){g=e;q:{e=e-1|0;h=N[d+T(e,20)>>2];if((h&-132)==3636|(h&-129)-3655>>>0<8){break q}r:{switch(h-3633|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:break p;case 0:case 10:break q;default:break r}}switch(h-3761|0){case 0:case 10:break q;default:break p}}if(e){continue}break}g=0;if(j>>>0>2){break o}break d}if(j>>>0<=g+2>>>0){break n}}wd(b,g,j);e=f;f=N[b+84>>2];e=e+f|0;N[i+24>>2]=N[e+16>>2];d=N[e+12>>2];N[i+16>>2]=N[e+8>>2];N[i+20>>2]=d;d=N[e+4>>2];N[i+8>>2]=N[e>>2];N[i+12>>2]=d;e=f;f=T(g,20);d=e+f|0;F(d+20|0,d,T(j-g|0,20)-40|0);d=N[i+12>>2];f=f+N[b+84>>2]|0;N[f>>2]=N[i+8>>2];N[f+4>>2]=d;N[f+16>>2]=N[i+24>>2];d=N[i+20>>2];N[f+8>>2]=N[i+16>>2];N[f+12>>2]=d;break d}if(N[b+20>>2]){break d}wd(b,e,j)}e=N[b+64>>2];if(l>>>0>e>>>0){continue}break}}Ac(b);s:{if(O[a+32|0]|N[a+4>>2]!=1416126825){break s}v=N[b+68>>2];if(!v){break s}w=N[b+80>>2];f=0;t=3;u=2;l=0;while(1){e=0;t:{u:{p=T(l,20)+w|0;g=N[p>>2];if((g|0)==3633|(g&-4)==3636){break u}a=g-3655|0;if(1<>>0<=7:0){break u}e=1;if(g-3640>>>0<3){break u}e=2;if(g-3656>>>0<5){break u}v:{w:{a=g-3597|0;if(a>>>0<=18){a=1<>>0>45)<<2;break v}f=2}a=f<<2;u=N[a+242416>>2];t=N[a+242384>>2];f=l;break t}a=e<<3;h=a+T(u,24)|0;e=h+242548|0;d=a+T(t,24)|0;a=d+242452|0;k=N[d+242448>>2];if(!k){k=N[h+242544>>2]}u=N[e>>2];t=N[a>>2];a=N[b+68>>2];r=a>>>0>>0?a:l;s=r-f|0;x:{if(s>>>0<2){break x}o=N[b+144>>2]|32;N[b+144>>2]=o;if(f>>>0>=r>>>0){break x}q=N[b+80>>2];e=-1;d=f;n=(d^-1)+r|0;if(n>>>0>=3){j=s&-4;a=0;while(1){m=q+T(d,20)|0;h=N[m+8>>2];h=e>>>0>>0?e:h;e=N[m+28>>2];h=e>>>0>h>>>0?h:e;e=N[m+48>>2];h=e>>>0>h>>>0?h:e;e=N[m+68>>2];e=e>>>0>h>>>0?h:e;d=d+4|0;a=a+4|0;if((j|0)!=(a|0)){continue}break}}a=0;j=s&3;if(j){while(1){h=N[(q+T(d,20)|0)+8>>2];e=e>>>0>>0?e:h;d=d+1|0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}d=f;if(s&1){a=q+T(f,20)|0;if(N[a+8>>2]!=(e|0)){N[a+4>>2]=N[a+4>>2]|3}d=f+1|0}if(!n){break x}while(1){a=q+T(d,20)|0;if(N[a+8>>2]!=(e|0)){o=o|32;N[b+144>>2]=o;N[a+4>>2]=N[a+4>>2]|3}a=q+T(d+1|0,20)|0;if(N[a+8>>2]!=(e|0)){o=o|32;N[b+144>>2]=o;N[a+4>>2]=N[a+4>>2]|3}d=d+2|0;if((r|0)!=(d|0)){continue}break}}e=0;y:{z:{A:{switch(k|0){case 4:g=242816;B:{C:{D:{p=T(f,20)+w|0;d=N[p>>2];switch(d-3597|0){case 0:break C;case 3:break D;default:break B}}g=242822}N[i+8>>2]=0;a=N[c+96>>2];n=N[a+28>>2];m=N[c+100>>2];e=P[g+2>>1];k=i+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[n|0](c,m,e,k,a)|0)){N[i+8>>2]=0;a=N[c+96>>2];j=N[a+28>>2];k=N[c+100>>2];e=P[g+4>>1];g=i+8|0;a=N[a+12>>2];if(a){a=N[a+8>>2]}else{a=0}if(!(Qa[j|0](c,k,e,g,a)|0)){break B}}d=e}N[p>>2]=d;break t;case 1:e=242624;break z;case 3:e=242688;break z;case 0:break y;case 2:break A;default:break z}}e=242736}d=P[e>>1];if(!d){break y}while(1){if((d&65535)==(g|0)){a=P[e+2>>1];N[i+8>>2]=0;d=N[c+96>>2];n=N[d+28>>2];m=N[c+100>>2];k=i+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(Qa[n|0](c,m,a,k,d)|0){g=P[e+2>>1];break y}a=P[e+4>>1];N[i+8>>2]=0;d=N[c+96>>2];n=N[d+28>>2];m=N[c+100>>2];k=i+8|0;d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}if(!(Qa[n|0](c,m,a,k,d)|0)){break y}g=P[e+4>>1];break y}d=P[e+6>>1];e=e+6|0;if(d){continue}break}}N[p>>2]=g}l=l+1|0;if((v|0)!=(l|0)){continue}break}}La=i+32|0;return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function pl(a,b){var 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,t=0,u=0,v=0,w=0;a:{b:{c=N[b+4>>2];d=a+4|0;c:{if(c>>>0>d>>>0){break c}e=N[b+8>>2];if(d>>>0>e>>>0|e-d>>>0<4){break c}k=N[b+12>>2]-4|0;N[b+12>>2]=k;if(a>>>0>>0|(k|0)<=0){break c}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0<12|d>>>0>e-a>>>0){break c}i=k-d|0;N[b+12>>2]=i;if((i|0)<=0){break c}l=O[a+8|0]|O[a+9|0]<<8;d=T((l<<8|l>>>8)&65535,12);k=a+12|0;if(l){if(e>>>0>>0|d>>>0>e-k>>>0){break c}i=i-d|0;N[b+12>>2]=i;if((i|0)<=0){break c}}a=O[a+10|0]|O[a+11|0]<<8;if(!a){return 1}a=(a<<8|a>>>8)&65535;w=a>>>0<=1?1:a;g=d+k|0;while(1){if(e>>>0>>0|c>>>0>g>>>0){break a}c=e-g|0;if(c>>>0<2){break a}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){break a}e=O[g|0]|O[g+1|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<9|c>>>0>>0){break a}a=a-e|0;N[b+12>>2]=a;if((a|0)<=0){break a}d=N[b+32>>2];c=N[d+12>>2];N[b+4>>2]=c;j=N[d+16>>2];d=j+c|0;N[b+8>>2]=d;d:{e:{f:{g:{if((j|0)>=0){c=d>>>0<=g>>>0|c>>>0>g>>>0;q=c?0:g;N[b+4>>2]=q;d=d-g|0;h=c?0:(e>>>0>d>>>0?d:e)+g|0;N[b+8>>2]=h;m=1;h:{switch(O[g+3|0]){case 0:m=ph(g+8|0,b);break d;case 5:break g;case 1:break h;case 2:break e;case 4:break f;default:break d}}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<8){break d}c=a-8|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8;o=(c<<8|c>>>8)&65535;if(o>>>0<4){break d}c=g+10|0;if(c>>>0>h>>>0|h-c>>>0<2){break d}d=a-10|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8;c=e+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<4){break d}d=a-14|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>h>>>0|h-d>>>0<2){break d}f=a-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}a=O[d|0]|O[d+1|0]<<8;if(a){c=c+4|0;if(c>>>0>h>>>0){break d}a=(a<<8|a>>>8)&65535;if(a>>>0>h-c>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}a=O[g+14|0]|O[g+15|0]<<8;p=e+((a<<8|a>>>8)&65535)|0;t=h-p|0;a=O[g+12|0]|O[g+13|0]<<8;s=(a<<8|a>>>8)&65535;l=s+e|0;u=h-l|0;a=0;d=0;k=0;j=0;n=0;c=0;while(1){i:{if(!(a&1)){e=c;break i}UE(j,0,o,0);if(Pa){break d}i=T(j,o);r=i+l|0;if(i){if(r>>>0>>0|h>>>0>>0|h-r>>>0<0-i>>>0){break d}f=f+i|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(j-k|0)+f|0;N[b+12>>2]=f;if((f|0)<=0|(i|0)>0){break d}a=l;e=c;if((i|0)<0){while(1){a=a-1|0;k=O[a|0]+1|0;e=e>>>0>k>>>0?e:k;if(a>>>0>r>>>0){continue}break}}k=j}j:{k:{l:{if((d|0)<=(n|0)){if(l>>>0>>0|h>>>0>>0){break d}i=n+1|0;a=T(i,o);if(a>>>0>u>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=f+((n^-1)+d|0)|0;N[b+12>>2]=f;if((a|0)<0|(f|0)<=0){break d}d=T(d,o);if((d|0)<(a|0)){break l}d=i}if(e){break k}e=0;break j}m=a+l|0;a=d+l|0;while(1){d=O[a|0]+1|0;e=e>>>0>d>>>0?e:d;a=a+1|0;if(m>>>0>a>>>0){continue}break}d=i}m=0;if(p>>>0>>0|h>>>0

>>0){break d}a=e<<3;if(a>>>0>t>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(c-e|0)+f|0;N[b+12>>2]=f;if((f|0)<=0){break d}if((c|0)<(e|0)){i=p+(e<<3)|0;c=p+(c<<3)|0;while(1){a=O[c|0]|O[c+1|0]<<8;a=(((a<<8|a>>>8)&65535)-s|0)/(o|0)|0;n=(a|0)<(n|0)?n:a;j=(a|0)>(j|0)?j:a;c=c+8|0;if(i>>>0>c>>>0){continue}break}}c=e;a=(j|0)<(k|0);if(a|(d|0)<=(n|0)){continue}break}a=g+16|0;if(a>>>0>h>>>0|h-a>>>0<2){break d}a=f-2|0;N[b+12>>2]=a;m=(a|0)>0;break d}break b}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<20){break d}c=a-20|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=a-28|0;N[b+12>>2]=c;if((c|0)<=0){break d}c=O[e|0]|O[e+1|0]<<8;o=(c<<8|c>>>8)&65535;if(o>>>0<4){break d}c=g+10|0;if(c>>>0>h>>>0|h-c>>>0<2){break d}d=a-30|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[c|0]|O[c+1|0]<<8;c=e+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>h>>>0|h-c>>>0<4){break d}d=a-34|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>h>>>0|h-d>>>0<2){break d}f=a-36|0;N[b+12>>2]=f;if((f|0)<=0){break d}a=O[d|0]|O[d+1|0]<<8;if(a){c=c+4|0;if(c>>>0>h>>>0){break d}a=(a<<8|a>>>8)&65535;if(a>>>0>h-c>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}a=O[g+14|0]|O[g+15|0]<<8;p=e+((a<<8|a>>>8)&65535)|0;t=h-p|0;a=O[g+12|0]|O[g+13|0]<<8;s=(a<<8|a>>>8)&65535;l=s+e|0;u=h-l|0;a=0;d=0;k=0;j=0;n=0;c=0;while(1){m:{if(!(a&1)){e=c;break m}UE(j,0,o,0);if(Pa){break d}i=T(j,o);r=i+l|0;if(i){if(r>>>0>>0|h>>>0>>0|h-r>>>0<0-i>>>0){break d}f=f+i|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(j-k|0)+f|0;N[b+12>>2]=f;if((f|0)<=0|(i|0)>0){break d}a=l;e=c;if((i|0)<0){while(1){a=a-1|0;k=O[a|0]+1|0;e=e>>>0>k>>>0?e:k;if(a>>>0>r>>>0){continue}break}}k=j}n:{o:{p:{if((d|0)<=(n|0)){if(l>>>0>>0|h>>>0>>0){break d}i=n+1|0;a=T(i,o);if(a>>>0>u>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=f+((n^-1)+d|0)|0;N[b+12>>2]=f;if((a|0)<0|(f|0)<=0){break d}d=T(d,o);if((d|0)<(a|0)){break p}d=i}if(e){break o}e=0;break n}m=a+l|0;a=d+l|0;while(1){d=O[a|0]+1|0;e=e>>>0>d>>>0?e:d;a=a+1|0;if(m>>>0>a>>>0){continue}break}d=i}m=0;if(p>>>0>>0|h>>>0

>>0){break d}a=e<<3;if(a>>>0>t>>>0){break d}f=f-a|0;N[b+12>>2]=f;if((f|0)<=0){break d}}f=(c-e|0)+f|0;N[b+12>>2]=f;if((f|0)<=0){break d}if((c|0)<(e|0)){i=p+(e<<3)|0;c=p+(c<<3)|0;while(1){a=O[c|0]|O[c+1|0]<<8;a=(((a<<8|a>>>8)&65535)-s|0)/(o|0)|0;n=(a|0)<(n|0)?n:a;j=(a|0)>(j|0)?j:a;c=c+8|0;if(i>>>0>c>>>0){continue}break}}c=e;a=(j|0)<(k|0);if(a|(d|0)<=(n|0)){continue}break}m=(O[g+16|0]|O[g+17|0]<<8)!=0;break d}m=yc(g+8|0,b);break d}m=0;e=g+8|0;if(e>>>0>h>>>0|h-e>>>0<28){break d}a=a-28|0;N[b+12>>2]=a;if((a|0)<=0){break d}if(!ph(e,b)|!(O[g+16|0]|O[g+17|0]<<8)|!(O[g+18|0]|O[g+19|0]<<8)){break d}m=(O[g+20|0]|O[g+21|0]<<8)!=0}a=N[b+32>>2];c=N[a+12>>2];N[b+4>>2]=c;a=N[a+16>>2];e=a+c|0;N[b+8>>2]=e;if((a|0)<0){break b}if(!m){break a}a=O[g|0]|O[g+1|0]<<8;g=((a<<8|a>>>8)&65535)+g|0;j=1;v=v+1|0;if((w|0)!=(v|0)){continue}break}}return j}ba(16656,14279,195,9642);B()}return 0}function Md(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=La-16|0;La=k;l=N[a+100>>2];h=N[a+92>>2];N[k+8>>2]=b;e=N[h+20>>2];d=e+((Qa[N[h+12>>2]](k+8|0)>>>0)%Q[h+4>>2]<<2)|0;f=N[d>>2];a:{if(!f){break a}while(1){if(Qa[N[h+16>>2]](f,k+8|0)|0){break a}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[h+4>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}e=N[d>>2];b:{if(e){d=0;c:{d:{e:{b=N[a+80>>2];e=N[e+4>>2];h=b+(e<<4)|0;switch(N[h+4>>2]-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}a=N[h+12>>2];if(a){Qa[N[l+8>>2]](l,a)}N[h+12>>2]=0;if(!c|!O[c|0]){break b}a=nb(c);b=a+1|0;e=!b;f:{if(a>>>0<=2147483646){a=Qa[N[l+4>>2]](l,b)|0;d=!a<<6;break f}a=0;d=b?6:0}if(!(e|d)){F(a,c,b);d=0}N[h+12>>2]=a;break b}e=b+(e<<4)|0;b=0;g:{if(!c){break g}a=O[c|0];b=0;if(!a){break g}b=(a|0)==45;a=b+c|0;f=L[a|0];h:{if(!(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1)){break h}while(1){if((g|0)>214748362){g=2147483647;break h}g=O[f+45072|0]+T(g,10)|0;f=L[a+1|0];a=a+1|0;if(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1){continue}break}}b=b?0-g|0:g}N[e+12>>2]=b;break b}i:{if(!c){break i}f=L[c|0];a=f&255;if(!a|!(O[(a>>>3|0)+45040|0]>>>(f&7)&1)){break i}while(1){if(g>>>0>429496727){g=-1;break i}g=O[f+45072|0]+T(g,10)|0;f=L[c+1|0];c=c+1|0;if(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1){continue}break}}N[(b+(e<<4)|0)+12>>2]=g;break b}N[k+8>>2]=b;e=N[a+132>>2];d=e+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;f=N[d>>2];j:{if(!f){break j}while(1){if(Qa[N[a+128>>2]](f,k+8|0)|0){break j}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[a+116>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}k:{l:{d=N[d>>2];m:{if(d){e=d?d+4|0:0;break m}i=N[a+100>>2];N[k+8>>2]=b;e=N[a+132>>2];d=e+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;f=N[d>>2];n:{if(!f){break n}while(1){if(Qa[N[a+128>>2]](f,k+8|0)|0){break n}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[a+116>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}if(!N[d>>2]){j=N[a+104>>2];h=N[a+108>>2];e=h+1|0;if((e|h)<0){d=6;break k}o:{p:{q:{if(!e){if(!j){break q}Qa[N[i+8>>2]](i,j);N[a+104>>2]=0;break o}d=10;if((e|0)>134217727){break k}r:{if(!h){g=Qa[N[i+4>>2]](i,e<<4)|0;d=!g<<6;break r}d=Qa[N[i+12>>2]](i,h<<4,e<<4,j)|0;g=d?d:j;d=!d<<6}if(d|(h|0)==2147483647|!g){break p}d=(h<<4)+g|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0}N[a+104>>2]=g;break o}N[a+104>>2]=g;if(d){break b}}d=nb(b);j=d+1|0;e=N[a+108>>2];h=(e<<4)+g|0;s:{if(d>>>0<=2147483646){d=Qa[N[i+4>>2]](i,j)|0;if(d){break s}d=64;break l}d=6;if(j){break l}d=0}N[h>>2]=d;F(d,b,j);d=(e<<4)+g|0;N[d+4>>2]=1;N[d+8>>2]=0;d=hg(N[h>>2],N[a+108>>2]+83|0,a+112|0,i);if(d){break b}N[a+108>>2]=N[a+108>>2]+1}N[k+8>>2]=b;e=N[a+132>>2];d=e+((Qa[N[a+124>>2]](k+8|0)>>>0)%Q[a+116>>2]<<2)|0;f=N[d>>2];t:{if(!f){break t}while(1){if(Qa[N[a+128>>2]](f,k+8|0)|0){break t}d=d-4|0;if(e>>>0>d>>>0){d=(e+(N[a+116>>2]<<2)|0)-4|0}f=N[d>>2];if(f){continue}break}}d=N[d>>2];e=d?d+4|0:0}i=N[a+76>>2];if((i|0)==N[a+72>>2]){j=i+1|0;if((j|i)<0){d=6;break b}h=N[a+80>>2];u:{v:{w:{if(!j){g=0;if(!h){break w}Qa[N[l+8>>2]](l,h);N[a+80>>2]=0;break u}d=10;if((j|0)>134217727){break b}x:{if(!i){g=Qa[N[l+4>>2]](l,j<<4)|0;d=!g<<6;break x}d=Qa[N[l+12>>2]](l,i<<4,j<<4,h)|0;g=d?d:h;d=!d<<6}if(d|(i|0)==2147483647|!g){break v}d=(i<<4)+g|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0}N[a+80>>2]=g;break u}N[a+80>>2]=g;if(d){break b}}N[a+72>>2]=N[a+72>>2]+1}h=N[a+80>>2];j=N[a+76>>2];i=h+(j<<4)|0;d=N[e>>2];y:{if(d>>>0>=83){d=(N[a+104>>2]+(d<<4)|0)-1328|0;break y}d=(d<<4)+43712|0}N[i>>2]=N[d>>2];N[i+4>>2]=N[d+4>>2];N[i+8>>2]=N[d+8>>2];z:{A:{B:{switch(N[d+4>>2]-1|0){case 0:N[i+12>>2]=0;if(!c|!O[c|0]){break z}d=nb(c);e=d+1|0;f=!e;C:{if(d>>>0<=2147483646){g=Qa[N[l+4>>2]](l,e)|0;d=!g<<6;break C}g=0;d=e?6:0}if(!(f|d)){F(g,c,e);N[i+12>>2]=g;break z}N[i+12>>2]=g;if(!d){break z}break b;case 1:d=0;if(!c){break A}e=O[c|0];if(!e){break A}f=0;d=c;c=(e|0)==45;g=d+c|0;d=L[g|0];D:{if(!(O[((d&248)>>>3|0)+45040|0]>>>(d&7)&1)){break D}while(1){if((f|0)>214748362){f=2147483647;break D}f=O[d+45072|0]+T(f,10)|0;d=L[g+1|0];g=g+1|0;if(O[((d&248)>>>3|0)+45040|0]>>>(d&7)&1){continue}break}}d=c?0-f|0:f;break A;case 2:break B;default:break z}}d=0;if(!c){break A}f=L[c|0];e=f&255;if(!e|!(O[(e>>>3|0)+45040|0]>>>(f&7)&1)){break A}while(1){if(d>>>0>429496727){d=-1;break A}d=O[f+45072|0]+T(d,10)|0;f=L[c+1|0];c=c+1|0;if(O[((f&248)>>>3|0)+45040|0]>>>(f&7)&1){continue}break}}N[(h+(j<<4)|0)+12>>2]=d}E:{F:{if(bb(b,19233,7)){break F}switch(O[b+7|0]){case 0:case 9:case 10:case 13:case 32:break E;default:break F}}d=hg(N[i>>2],N[a+76>>2],N[a+92>>2],l);if(d){break b}}N[a+76>>2]=N[a+76>>2]+1;G:{if(bb(b,19710,12)){break G}H:{switch(O[b+12|0]){case 0:case 9:case 10:case 13:case 32:break H;default:break G}}N[a+36>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}I:{if(bb(b,19320,11)){break I}J:{switch(O[b+11|0]){case 0:case 9:case 10:case 13:case 32:break J;default:break I}}N[a+40>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}K:{if(bb(b,19275,12)){break K}L:{switch(O[b+12|0]){case 0:case 9:case 10:case 13:case 32:break L;default:break K}}N[a+44>>2]=N[(h+(j<<4)|0)+12>>2];d=0;break b}d=0;if(bb(b,19980,7)){break b}M:{switch(O[b+7|0]){case 0:case 9:case 10:case 13:case 32:break M;default:break b}}b=N[(h+(j<<4)|0)+12>>2];if(!b){d=3;break b}N:{switch(O[b|0]-67|0){case 13:case 45:N[a+28>>2]=8;break b;case 10:case 42:N[a+28>>2]=16;break b;case 0:case 32:break N;default:break b}}N[a+28>>2]=32;break b}N[h>>2]=0;break b}N[a+104>>2]=j}La=k+16|0;return d}function Mn(a,b){var 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,t=0,u=0,w=0,y=0,B=0,C=0,D=0,E=0;m=La-48|0;La=m;A(+a);d=v(1)|0;e=v(0)|0;o=d;a:{b:{g=d&2147483647;c:{if(g>>>0<=1074752122){if((d&1048575)==598523){break c}if(g>>>0<=1073928572){if((o|0)>0|(o|0)>=0){a=a+-1.5707963267341256;f=a+-6077100506506192e-26;S[b>>3]=f;S[b+8>>3]=a-f+-6077100506506192e-26;d=1;break a}a=a+1.5707963267341256;f=a+6077100506506192e-26;S[b>>3]=f;S[b+8>>3]=a-f+6077100506506192e-26;d=-1;break a}if((o|0)>0|(o|0)>=0){a=a+-3.1415926534682512;f=a+-1.2154201013012384e-10;S[b>>3]=f;S[b+8>>3]=a-f+-1.2154201013012384e-10;d=2;break a}a=a+3.1415926534682512;f=a+1.2154201013012384e-10;S[b>>3]=f;S[b+8>>3]=a-f+1.2154201013012384e-10;d=-2;break a}if(g>>>0<=1075594811){if(g>>>0<=1075183036){if((g|0)==1074977148){break c}if((o|0)>0|(o|0)>=0){a=a+-4.712388980202377;f=a+-1.8231301519518578e-10;S[b>>3]=f;S[b+8>>3]=a-f+-1.8231301519518578e-10;d=3;break a}a=a+4.712388980202377;f=a+1.8231301519518578e-10;S[b>>3]=f;S[b+8>>3]=a-f+1.8231301519518578e-10;d=-3;break a}if((g|0)==1075388923){break c}if((o|0)>0|(o|0)>=0){a=a+-6.2831853069365025;f=a+-2.430840202602477e-10;S[b>>3]=f;S[b+8>>3]=a-f+-2.430840202602477e-10;d=4;break a}a=a+6.2831853069365025;f=a+2.430840202602477e-10;S[b>>3]=f;S[b+8>>3]=a-f+2.430840202602477e-10;d=-4;break a}if(g>>>0>1094263290){break b}}j=a*.6366197723675814+6755399441055744+-6755399441055744;f=a+j*-1.5707963267341256;l=j*6077100506506192e-26;u=f-l;e=u<-.7853981633974483;if(V(j)<2147483648){d=~~j}else{d=-2147483648}d:{if(e){d=d-1|0;j=j+-1;l=j*6077100506506192e-26;f=a+j*-1.5707963267341256;break d}if(!(u>.7853981633974483)){break d}d=d+1|0;j=j+1;l=j*6077100506506192e-26;f=a+j*-1.5707963267341256}a=f-l;S[b>>3]=a;A(+a);e=v(1)|0;v(0)|0;c=g>>>20|0;e:{if((c-(e>>>20&2047)|0)<17){break e}l=f;a=j*6077100506303966e-26;f=f-a;l=j*20222662487959506e-37-(l-f-a);a=f-l;S[b>>3]=a;A(+a);e=v(1)|0;v(0)|0;if((c-(e>>>20&2047)|0)<50){break e}l=f;a=j*20222662487111665e-37;f=f-a;l=j*84784276603689e-45-(l-f-a);a=f-l;S[b>>3]=a}S[b+8>>3]=f-a-l;break a}if(g>>>0>=2146435072){a=a-a;S[b>>3]=a;S[b+8>>3]=a;d=0;break a}x(0,e|0);x(1,o&1048575|1096810496);a=+z();d=0;e=1;while(1){c=(m+16|0)+(d<<3)|0;if(V(a)<2147483648){d=~~a}else{d=-2147483648}f=+(d|0);S[c>>3]=f;a=(a-f)*16777216;d=1;c=e;e=0;if(c){continue}break}S[m+32>>3]=a;d=2;while(1){c=d;d=c-1|0;if(S[(m+16|0)+(c<<3)>>3]==0){continue}break}w=m+16|0;h=La-560|0;La=h;d=(g>>>20|0)-1046|0;g=(d-3|0)/24|0;t=(g|0)>0?g:0;g=T(t,-24)+d|0;p=N[146293];r=c+1|0;i=r-1|0;if((p+i|0)>=0){d=p+r|0;c=t-i|0;while(1){S[(h+320|0)+(e<<3)>>3]=(c|0)<0?0:+N[(c<<2)+585184>>2];c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}q=g-24|0;d=0;e=(p|0)>0?p:0;n=(r|0)<=0;while(1){f:{if(n){a=0;break f}k=d+i|0;c=0;a=0;while(1){a=S[(c<<3)+w>>3]*S[(h+320|0)+(k-c<<3)>>3]+a;c=c+1|0;if((r|0)!=(c|0)){continue}break}}S[(d<<3)+h>>3]=a;c=(d|0)==(e|0);d=d+1|0;if(!c){continue}break}D=47-g|0;y=48-g|0;B=(g|0)<25;E=g-25|0;d=p;g:{while(1){a=S[(d<<3)+h>>3];c=0;e=d;k=(d|0)<=0;if(!k){while(1){n=(h+480|0)+(c<<2)|0;f=a*5.960464477539063e-8;h:{if(V(f)<2147483648){i=~~f;break h}i=-2147483648}f=+(i|0);a=f*-16777216+a;i:{if(V(a)<2147483648){i=~~a;break i}i=-2147483648}N[n>>2]=i;e=e-1|0;a=S[(e<<3)+h>>3]+f;c=c+1|0;if((c|0)!=(d|0)){continue}break}}a=Gd(a,q);a=a+Z(a*.125)*-8;j:{if(V(a)<2147483648){n=~~a;break j}n=-2147483648}a=a-+(n|0);k:{l:{m:{n:{if(!B){c=(d<<2)+h|0;i=N[c+476>>2];e=i>>y;s=c;c=i-(e<>2]=c;n=e+n|0;i=c>>D;break n}if(q){break m}i=N[((d<<2)+h|0)+476>>2]>>23}if((i|0)<=0){break k}break l}i=2;if(a>=.5){break l}i=0;break k}c=0;e=0;if(!k){while(1){s=(h+480|0)+(c<<2)|0;C=N[s>>2];k=16777215;o:{p:{if(e){break p}k=16777216;if(C){break p}e=0;break o}N[s>>2]=k-C;e=1}c=c+1|0;if((c|0)!=(d|0)){continue}break}}q:{if(B){break q}c=8388607;r:{switch(E|0){case 1:c=4194303;break;case 0:break r;default:break q}}k=(d<<2)+h|0;N[k+476>>2]=N[k+476>>2]&c}n=n+1|0;if((i|0)!=2){break k}a=1-a;i=2;if(!e){break k}a=a-Gd(1,q)}if(a==0){c=1;k=0;e=d;s:{if((d|0)<=(p|0)){break s}while(1){e=e-1|0;k=N[(h+480|0)+(e<<2)>>2]|k;if((e|0)>(p|0)){continue}break}if(!k){break s}g=q;while(1){g=g-24|0;d=d-1|0;if(!N[(h+480|0)+(d<<2)>>2]){continue}break}break g}while(1){e=c;c=c+1|0;if(!N[(h+480|0)+(p-e<<2)>>2]){continue}break}e=d+e|0;while(1){i=d+r|0;d=d+1|0;S[(h+320|0)+(i<<3)>>3]=N[(t+d<<2)+585184>>2];c=0;a=0;if((r|0)>0){while(1){a=S[(c<<3)+w>>3]*S[(h+320|0)+(i-c<<3)>>3]+a;c=c+1|0;if((r|0)!=(c|0)){continue}break}}S[(d<<3)+h>>3]=a;if((d|0)<(e|0)){continue}break}d=e;continue}break}a=Gd(a,24-g|0);t:{if(a>=16777216){q=(h+480|0)+(d<<2)|0;f=a*5.960464477539063e-8;u:{if(V(f)<2147483648){c=~~f;break u}c=-2147483648}a=+(c|0)*-16777216+a;v:{if(V(a)<2147483648){e=~~a;break v}e=-2147483648}N[q>>2]=e;d=d+1|0;break t}if(V(a)<2147483648){c=~~a}else{c=-2147483648}g=q}N[(h+480|0)+(d<<2)>>2]=c}a=Gd(1,g);if((d|0)>=0){e=d;while(1){c=e;S[(c<<3)+h>>3]=a*+N[(h+480|0)+(c<<2)>>2];e=c-1|0;a=a*5.960464477539063e-8;if(c){continue}break}e=d;while(1){a=0;c=0;g=d-e|0;q=(g|0)>(p|0)?p:g;if((q|0)>=0){while(1){a=S[(c<<3)+587952>>3]*S[(c+e<<3)+h>>3]+a;r=(c|0)!=(q|0);c=c+1|0;if(r){continue}break}}S[(h+160|0)+(g<<3)>>3]=a;c=(e|0)>0;e=e-1|0;if(c){continue}break}}a=0;if((d|0)>=0){e=d;while(1){c=e;e=c-1|0;a=a+S[(h+160|0)+(c<<3)>>3];if(c){continue}break}}S[m>>3]=i?-a:a;a=S[h+160>>3]-a;c=1;if((d|0)>0){while(1){a=a+S[(h+160|0)+(c<<3)>>3];e=(d|0)!=(c|0);c=c+1|0;if(e){continue}break}}S[m+8>>3]=i?-a:a;La=h+560|0;d=n&7;a=S[m>>3];if((o|0)<0){S[b>>3]=-a;S[b+8>>3]=-S[m+8>>3];d=0-d|0;break a}S[b>>3]=a;S[b+8>>3]=S[m+8>>3]}La=m+48|0;return d}function cz(a,b,c,d,e,f){a=a|0;b=+b;c=c|0;d=d|0;e=e|0;f=f|0;var 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,t=0,u=0,w=0,x=0,y=0,z=0;m=La-560|0;La=m;N[m+44>>2]=0;A(+b);g=v(1)|0;v(0)|0;a:{if((g|0)<0){s=1;y=8236;b=-b;A(+b);g=v(1)|0;v(0)|0;break a}if(e&2048){s=1;y=8239;break a}s=e&1;y=s?8242:8237;z=!s}b:{if((g&2146435072)==2146435072){g=s+3|0;jc(a,32,c,g,e&-65537);ac(a,y,s);d=f&32;ac(a,b!=b?d?13118:19802:d?15186:19988,3);jc(a,32,c,g,e^8192);n=(c|0)<(g|0)?g:c;break b}u=m+16|0;c:{d:{e:{b=Vd(b,m+44|0);b=b+b;if(b!=0){g=N[m+44>>2];N[m+44>>2]=g-1;w=f|32;if((w|0)!=97){break e}break c}w=f|32;if((w|0)==97){break c}k=N[m+44>>2];l=(d|0)<0?6:d;break d}k=g-29|0;N[m+44>>2]=k;b=b*268435456;l=(d|0)<0?6:d}q=(m+48|0)+((k|0)>=0?288:0)|0;h=q;while(1){if(b<4294967296&b>=0){d=~~b>>>0}else{d=0}N[h>>2]=d;h=h+4|0;b=(b-+(d>>>0))*1e9;if(b!=0){continue}break}f:{if((k|0)<=0){d=k;g=h;i=q;break f}i=q;d=k;while(1){o=(d|0)>=29?29:d;g=h-4|0;g:{if(i>>>0>g>>>0){break g}d=0;while(1){j=N[g>>2];x=d;d=o&31;if((o&63)>>>0>=32){n=j<>>32-d;d=j<>>0>x>>>0?j+1|0:j,1e9,0);j=UE(d,Pa,-1e9,0)+x|0;N[g>>2]=j;g=g-4|0;if(i>>>0<=g>>>0){continue}break}if(!d){break g}i=i-4|0;N[i>>2]=d}while(1){g=h;if(i>>>0>>0){h=g-4|0;if(!N[h>>2]){continue}}break}d=N[m+44>>2]-o|0;N[m+44>>2]=d;h=g;if((d|0)>0){continue}break}}if((d|0)<0){t=((l+25>>>0)/9|0)+1|0;p=(w|0)==102;while(1){d=0-d|0;n=(d|0)>=9?9:d;h:{if(g>>>0<=i>>>0){h=N[i>>2];break h}o=1e9>>>n|0;j=-1<>2];N[h>>2]=x+(d>>>n|0);d=T(o,d&j);h=h+4|0;if(h>>>0>>0){continue}break}h=N[i>>2];if(!d){break h}N[g>>2]=d;g=g+4|0}d=n+N[m+44>>2]|0;N[m+44>>2]=d;i=(!h<<2)+i|0;h=p?q:i;g=g-h>>2>(t|0)?h+(t<<2)|0:g;if((d|0)<0){continue}break}}d=0;i:{if(g>>>0<=i>>>0){break i}d=T(q-i>>2,9);h=10;j=N[i>>2];if(j>>>0<10){break i}while(1){d=d+1|0;h=T(h,10);if(j>>>0>=h>>>0){continue}break}}h=(l-((w|0)!=102?d:0)|0)-((w|0)==103&(l|0)!=0)|0;if((h|0)<(T(g-q>>2,9)-9|0)){o=h+9216|0;j=(o|0)/9|0;k=((((k|0)<0?4:292)+m|0)+(j<<2)|0)-4048|0;h=10;n=o+T(j,-9)|0;if((n|0)<=7){while(1){h=T(h,10);n=n+1|0;if((n|0)!=8){continue}break}}o=N[k>>2];t=(o>>>0)/(h>>>0)|0;p=T(t,h);j=k+4|0;j:{if((o|0)==(p|0)&(j|0)==(g|0)){break j}o=o-p|0;k:{if(!(t&1)){b=9007199254740992;if(!(L[k-4|0]&1)|((h|0)!=1e9|i>>>0>=k>>>0)){break k}}b=9007199254740994}r=(g|0)==(j|0)?1:1.5;j=h>>>1|0;r=j>>>0>o>>>0?.5:(j|0)==(o|0)?r:1.5;if(!(O[y|0]!=45|z)){r=-r;b=-b}N[k>>2]=p;if(b+r==b){break j}d=h+p|0;N[k>>2]=d;if(d>>>0>=1e9){while(1){N[k>>2]=0;k=k-4|0;if(k>>>0>>0){i=i-4|0;N[i>>2]=0}d=N[k>>2]+1|0;N[k>>2]=d;if(d>>>0>999999999){continue}break}}d=T(q-i>>2,9);h=10;j=N[i>>2];if(j>>>0<10){break j}while(1){d=d+1|0;h=T(h,10);if(j>>>0>=h>>>0){continue}break}}h=k+4|0;g=g>>>0>h>>>0?h:g}while(1){j=g;o=g>>>0<=i>>>0;if(!o){g=j-4|0;if(!N[g>>2]){continue}}break}l:{if((w|0)!=103){k=e&8;break l}h=l?l:1;g=(h|0)>(d|0)&(d|0)>-5;l=(g?d^-1:-1)+h|0;f=(g?-1:-2)+f|0;k=e&8;if(k){break l}g=-9;m:{if(o){break m}k=N[j-4>>2];if(!k){break m}n=10;g=0;if((k>>>0)%10|0){break m}while(1){h=g;g=g+1|0;n=T(n,10);if(!((k>>>0)%(n>>>0)|0)){continue}break}g=h^-1}h=T(j-q>>2,9);if((f&-33)==70){k=0;g=(g+h|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g;break l}k=0;g=((d+h|0)+g|0)-9|0;g=(g|0)>0?g:0;l=(g|0)>(l|0)?l:g}n=-1;o=k|l;if(((o?2147483645:2147483646)|0)<(l|0)){break b}p=(((o|0)!=0)+l|0)+1|0;h=f&-33;n:{if((h|0)==70){if((p^2147483647)<(d|0)){break b}g=(d|0)>0?d:0;break n}g=d>>31;g=ue((g^d)-g|0,0,u);if((u-g|0)<=1){while(1){g=g-1|0;L[g|0]=48;if((u-g|0)<2){continue}break}}t=g-2|0;L[t|0]=f;L[g-1|0]=(d|0)<0?45:43;g=u-t|0;if((g|0)>(p^2147483647)){break b}}d=g+p|0;if((d|0)>(s^2147483647)){break b}p=d+s|0;jc(a,32,c,p,e);ac(a,y,s);jc(a,48,c,p,e^65536);o:{p:{q:{if((h|0)==70){f=m+16|0;d=f|8;k=f|9;h=i>>>0>q>>>0?q:i;i=h;while(1){g=ue(N[i>>2],0,k);r:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break r}while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}break r}if((g|0)!=(k|0)){break r}L[m+24|0]=48;g=d}ac(a,g,k-g|0);i=i+4|0;if(q>>>0>=i>>>0){continue}break}if(o){ac(a,22483,1)}if((l|0)<=0|i>>>0>=j>>>0){break q}while(1){g=ue(N[i>>2],0,k);if(g>>>0>m+16>>>0){while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}}ac(a,g,(l|0)>=9?9:l);g=l-9|0;i=i+4|0;if(j>>>0<=i>>>0){break p}d=(l|0)>9;l=g;if(d){continue}break}break p}s:{if((l|0)<0){break s}q=i>>>0>>0?j:i+4|0;f=m+16|0;d=f|8;j=f|9;h=i;while(1){g=ue(N[h>>2],0,j);if((j|0)==(g|0)){L[m+24|0]=48;g=d}t:{if((h|0)!=(i|0)){if(m+16>>>0>=g>>>0){break t}while(1){g=g-1|0;L[g|0]=48;if(m+16>>>0>>0){continue}break}break t}ac(a,g,1);g=g+1|0;if(!(k|l)){break t}ac(a,22483,1)}f=j-g|0;ac(a,g,(f|0)>(l|0)?l:f);l=l-f|0;h=h+4|0;if(q>>>0<=h>>>0){break s}if((l|0)>=0){continue}break}}jc(a,48,l+18|0,18,0);ac(a,t,u-t|0);break o}g=l}jc(a,48,g+9|0,9,0)}jc(a,32,c,p,e^8192);n=(c|0)<(p|0)?p:c;break b}k=(f<<26>>31&9)+y|0;u:{if(d>>>0>11){break u}g=12-d|0;r=16;while(1){r=r*16;g=g-1|0;if(g){continue}break}if(O[k|0]==45){b=-(r+(-b-r));break u}b=b+r-r}q=s|2;i=f&32;h=N[m+44>>2];g=h>>31;g=ue((g^h)-g|0,0,u);if((u|0)==(g|0)){L[m+15|0]=48;g=m+15|0}l=g-2|0;L[l|0]=f+15;L[g-1|0]=(h|0)<0?45:43;g=e&8;h=m+16|0;while(1){f=h;if(V(b)<2147483648){j=~~b}else{j=-2147483648}L[h|0]=i|O[j+584032|0];b=(b-+(j|0))*16;h=f+1|0;if(!(!((d|0)>0|g)&b==0|(h-(m+16|0)|0)!=1)){L[f+1|0]=46;h=f+2|0}if(b!=0){continue}break}n=-1;g=u-l|0;f=g+q|0;if((2147483645-f|0)<(d|0)){break b}j=f;f=m+16|0;i=h-f|0;d=d?(i-2|0)<(d|0)?d+2|0:i:i;h=j+d|0;jc(a,32,c,h,e);ac(a,k,q);jc(a,48,c,h,e^65536);ac(a,f,i);jc(a,48,d-i|0,0,0);ac(a,l,g);jc(a,32,c,h,e^8192);n=(c|0)<(h|0)?h:c}La=m+560|0;return n|0}function EC(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0;j=La-432|0;La=j;t=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{c=N[b+40>>2];b:{if(!c){break b}d=c+(N[b+36>>2]<<2)|0;g=d-4|0;c:{d:{if(c>>>0<=g>>>0){while(1){e=N[g>>2];e:{if(N[e+4>>2]!=1970170211){break e}f:{switch(P[e+8>>1]){case 3:if(P[e+10>>1]!=10){break e}break d;case 0:break f;default:break e}}if(P[e+10>>1]==4){break d}}g=g-4|0;if(c>>>0<=g>>>0){continue}break}}while(1){d=d-4|0;if(c>>>0>d>>>0){break c}e=N[d>>2];if(N[e+4>>2]!=1970170211){continue}break}}N[b+92>>2]=e;Hp(a,b);g=N[N[a>>2]+12>>2];n=db(1,172);g:{if(!n){n=588184;break g}N[n+148>>2]=1073741823;N[n+152>>2]=536870911;N[n>>2]=1;N[n+4>>2]=1;c=Ic();h:{if(!c){break h}d=N[c>>2];if(!d){break h}if((d|0)<=0){break a}N[c>>2]=d+1}L[n+60|0]=1;N[n+24>>2]=65533;N[n+12>>2]=c}d=(g<<3)+283472|0;e=N[d>>2];if((e|0)!=5531){D=a+7720|0;E=a+44|0;while(1){w=d;d=e+277936|0;e=O[d|0];i:{if(!e){break i}u=P[w+4>>1];z=u&2;x=z?E:D;y=1;A=u&1;r=0;s=0;while(1){c=e&255;if((c|0)!=32){j:{k:{if((c|0)==124){d=d+1|0;break k}d=Ge(d,a,n,j+12|0);if(Q[j+12>>2]>1){break j}c=N[n+80>>2];g=N[n+68>>2];l:{if(O[n+63|0]|N[n+168>>2]){break l}N[n+84>>2]=c;N[n+72>>2]=0;M[n+62>>1]=256;f=T(g,20);if(!f){break l}C(N[n+88>>2],0,f)}if(!g){break j}c=N[c>>2];if(!c){break j}if(vc(b,c,1)){break j}c=N[b+84>>2];if(M[c+110>>1]<3){break j}l=M[c+108>>1];m:{if((l|0)<=0){e=0;break m}v=N[c+120>>2];k=N[c+112>>2];if(!z){i=-1;g=0;e=0;m=0;if(!A){while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;n:{if((f|0)>=(o|0)){break n}if(g-f&1){c=N[(k+(f<<3)|0)+4>>2];h=(i|0)<0|(c|0)<(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break n}while(1){f=i;h=(i|0)<0;i=N[(k+(c<<3)|0)+4>>2];h=h|(i|0)<(e|0);p=h?c:f;f=c+1|0;q=N[(k+(f<<3)|0)+4>>2];h=h?i:e;e=(p|0)<0|(q|0)<(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break m}}while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;o:{if((f|0)>=(o|0)){break o}if(g-f&1){c=N[(k+(f<<3)|0)+4>>2];h=(i|0)<0|(c|0)>(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break o}while(1){f=i;h=(i|0)<0;i=N[(k+(c<<3)|0)+4>>2];h=h|(i|0)>(e|0);p=h?c:f;f=c+1|0;q=N[(k+(f<<3)|0)+4>>2];h=h?i:e;e=(p|0)<0|(q|0)>(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break}break m}i=-1;g=0;e=0;m=0;if(!A){while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;p:{if((f|0)>=(o|0)){break p}if(g-f&1){c=N[k+(f<<3)>>2];h=(i|0)<0|(c|0)<(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break p}while(1){f=i;h=(i|0)<0;i=N[k+(c<<3)>>2];h=h|(i|0)<(e|0);p=h?c:f;f=c+1|0;q=N[k+(f<<3)>>2];h=h?i:e;e=(p|0)<0|(q|0)<(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break m}}while(1){f=g;o=M[(m<<1)+v>>1];g=o+1|0;q:{if((f|0)>=(o|0)){break q}if(g-f&1){c=N[k+(f<<3)>>2];h=(i|0)<0|(c|0)>(e|0);i=h?f:i;e=h?c:e;c=f+1|0}else{c=f}if((f|0)==(o|0)){break q}while(1){f=i;h=(i|0)<0;i=N[k+(c<<3)>>2];h=h|(i|0)>(e|0);p=h?c:f;f=c+1|0;q=N[k+(f<<3)>>2];h=h?i:e;e=(p|0)<0|(q|0)>(h|0);i=e?f:p;e=e?q:h;c=c+2|0;if((f|0)!=(o|0)){continue}break}}m=m+1|0;if((l|0)!=(m|0)){continue}break}}if(y){N[(j+224|0)+(r<<2)>>2]=e;y=1;r=r+1|0;break j}N[(j+16|0)+(s<<2)>>2]=e;s=s+1|0}y=0}e=O[d|0];if(e){continue}if(!(r|s)){break i}r:{if(r>>>0<2){break r}c=1;if((r|0)!=2){d=r-1|0;i=d&1;m=d&-2;f=0;while(1){e=N[(j+224|0)+(c<<2)>>2];d=c;while(1){g=d-1|0;k=(j+224|0)+(g<<2)|0;l=N[k>>2];if((l|0)>(e|0)){N[(j+224|0)+(d<<2)>>2]=l;N[k>>2]=e;d=g;if(d){continue}}break}d=c+1|0;g=N[(j+224|0)+(d<<2)>>2];while(1){s:{e=(d<<2)+j|0;k=N[e+220>>2];if((k|0)<=(g|0)){break s}l=j+224|0;N[l+(d<<2)>>2]=k;N[e+220>>2]=g;d=d-2|0;k=l+(d<<2)|0;l=N[k>>2];if((l|0)<=(g|0)){break s}N[e+220>>2]=l;N[k>>2]=g;if(d){continue}}break}c=c+2|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}if(!i){break r}}g=N[(j+224|0)+(c<<2)>>2];while(1){d=c-1|0;f=(j+224|0)+(d<<2)|0;e=N[f>>2];if((e|0)<=(g|0)){break r}N[(j+224|0)+(c<<2)>>2]=e;N[f>>2]=g;c=d;if(c){continue}break}}t:{if(s>>>0<2){break t}c=1;if((s|0)!=2){d=s-1|0;i=d&1;m=d&-2;f=0;while(1){e=N[(j+16|0)+(c<<2)>>2];d=c;while(1){g=d-1|0;k=(j+16|0)+(g<<2)|0;l=N[k>>2];if((l|0)>(e|0)){N[(j+16|0)+(d<<2)>>2]=l;N[k>>2]=e;d=g;if(d){continue}}break}d=c+1|0;g=N[(j+16|0)+(d<<2)>>2];while(1){u:{e=(d<<2)+j|0;k=N[e+12>>2];if((k|0)<=(g|0)){break u}l=j+16|0;N[l+(d<<2)>>2]=k;N[e+12>>2]=g;d=d-2|0;k=l+(d<<2)|0;l=N[k>>2];if((l|0)<=(g|0)){break u}N[e+12>>2]=l;N[k>>2]=g;if(d){continue}}break}c=c+2|0;f=f+2|0;if((m|0)!=(f|0)){continue}break}if(!i){break t}}g=N[(j+16|0)+(c<<2)>>2];while(1){d=c-1|0;f=(j+16|0)+(d<<2)|0;e=N[f>>2];if((e|0)<=(g|0)){break t}N[(j+16|0)+(c<<2)>>2]=e;N[f>>2]=g;c=d;if(c){continue}break}}c=N[x+216>>2];N[x+216>>2]=c+1;c=T(c,28)+x|0;d=N[(j+224|0)+(r<<1&-4)>>2];v:{w:{if(!s){break w}d=N[(j+16|0)+(s<<1&-4)>>2];if(!r){break w}d=N[(j+224|0)+(r<<1&-4)>>2];N[c+220>>2]=d;g=N[(j+16|0)+(s<<1&-4)>>2];N[c+232>>2]=g;if(((d|0)<=(g|0)^u)&1|(d|0)==(g|0)){break v}d=(d+g|0)/2|0}N[c+232>>2]=d;N[c+220>>2]=d}N[c+244>>2]=u<<1&2}else{e=O[d+1|0];d=d+1|0;continue}break}}d=w+8|0;e=N[w+8>>2];if((e|0)!=5531){continue}break}}dc(n);Gp(a)}if(!b|!t){break b}d=N[b+40>>2];if(!d){break b}a=N[b+36>>2];if((a|0)<=0){break b}a=(a<<2)+d|0;while(1){x:{if(N[d>>2]!=(t|0)){break x}c=N[t>>2];y:{if(!c){break y}c=N[c+96>>2];g=N[N[c>>2]+32>>2];if(!g){break y}c=Qa[g|0](c,10557)|0;if(!c){break y}if(Qa[N[c>>2]](t,j+224|0)|0){break y}if(N[j+228>>2]==14){break x}}N[b+92>>2]=N[d>>2];break b}d=d+4|0;if(a>>>0>d>>>0){continue}break}}La=j+432|0;return 0}ba(23506,14099,260,16403);B()}function hE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;g=La-32|0;La=g;a:{b:{if(ib(c,b,12151,0)){p=xf(b,c,1,11,-1,-1);o=N[c+68>>2];if(o){d=o-1|0;l=N[c+80>>2];k=l+3|0;a=0;e=O[l+15|0];while(1){c:{if((a|0)==(d|0)){a=o;break c}a=a+1|0;if(O[(k+T(a,20)|0)+12|0]==(e|0)){continue}}break}d=0;while(1){k=a;d:{if(e&14){break d}e:{f:{a=d+3|0;if(k>>>0>>0){break f}e=T(d,20)+l|0;if(O[e+18|0]!=15|O[e+38|0]!=32|O[e+58|0]!=4){break f}i=0;j=3;break e}i=1;a=d;j=0}m=l+3|0;f=d;g:{if(a>>>0>=k>>>0){break g}while(1){h:{e=T(a,20)+l|0;if(O[e+12|0]&32){break h}e=O[e+18|0];if(e>>>0>31|!(1<>>0>>0){a=0;e=d;if(!i){while(1){L[(m+T(e,20)|0)+16|0]=5;e=e+1|0;a=a+1|0;if((j|0)!=(a|0)){continue}break}}if(j-1>>>0>6){while(1){a=m+T(e,20)|0;L[a+36|0]=5;L[a+16|0]=5;L[a+56|0]=5;L[a+76|0]=5;L[a+96|0]=5;L[a+116|0]=5;L[a+136|0]=5;L[a+156|0]=5;e=e+8|0;if((h|0)!=(e|0)){continue}break}}a=h}if(a>>>0>>0){j=f+(a^-1)|0;e=0;h=f-a&7;if(h){while(1){L[(m+T(a,20)|0)+16|0]=3;a=a+1|0;e=e+1|0;if((h|0)!=(e|0)){continue}break}}if(j>>>0>=7){while(1){e=m+T(a,20)|0;L[e+36|0]=3;L[e+16|0]=3;L[e+56|0]=3;L[e+76|0]=3;L[e+96|0]=3;L[e+116|0]=3;L[e+136|0]=3;L[e+156|0]=3;a=a+8|0;if((f|0)!=(a|0)){continue}break}}a=f}if(a>>>0>>0){L[(T(a,20)+l|0)+19|0]=4;a=a+1|0}e=5;if(a>>>0>>0){while(1){i:{j:{k:{l:{m:{h=T(a,20);f=h+l|0;j=O[f+18|0];switch(j-22|0){case 18:break k;case 0:break l;case 14:break m;default:break j}}L[f+19|0]=3;break i}L[f+19|0]=2;break i}L[f+19|0]=O[(h+m|0)-4|0];break i}n:{o:{if((e|0)==5&(j|0)==21){break o}if((e|0)!=8){break n}if((j|0)==9){L[f+19|0]=7;e=8;break i}if((j|0)==21){break o}e=9;break n}e=8}L[f+19|0]=e}a=a+1|0;if((k|0)!=(a|0)){continue}break}}if(O[c+63|0]){break b}f=d;h=d+1|0;a=h;if(k>>>0>a>>>0){while(1){j=f;f=a;i=a>>>0>d>>>0?d:a;e=a;while(1){p:{a=e;if(d>>>0>=a>>>0){a=i;break p}n=N[c+80>>2];e=a-1|0;if(O[(n+T(e,20)|0)+19|0]>O[(T(f,20)+n|0)+19|0]){continue}}break}if((a|0)!=(f|0)){e=j+2|0;if(e-a>>>0>=2){Ib(c,a,e)}j=N[c+80>>2];e=j+T(f,20)|0;N[g+24>>2]=N[e+16>>2];i=N[e+12>>2];N[g+16>>2]=N[e+8>>2];N[g+20>>2]=i;i=N[e+4>>2];N[g+8>>2]=N[e>>2];N[g+12>>2]=i;e=T(a,20);j=e+j|0;F(j+20|0,j,T(f-a|0,20));a=e+N[c+80>>2]|0;e=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=e;N[a+16>>2]=N[g+24>>2];e=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=e}a=f+1|0;if((k|0)!=(a|0)){continue}break}}if(d>>>0>=k>>>0){break d}q:{if(!(k-d&1)){j=k;break q}j=O[(m+T(d,20)|0)+16|0]==2?d:k;d=h}e=j;if((h|0)==(k|0)){break d}while(1){a=d+1|0;f=m+T(d,20)|0;h=O[f+16|0]==2;f=O[f+36|0]==2;j=f?a:h?d:j;i=a;a=h?(e|0)==(k|0)?d:e:e;e=f?(a|0)==(k|0)?i:a:a;d=d+2|0;if((k|0)!=(d|0)){continue}break}if(e>>>0>=j>>>0){break d}a=N[c+68>>2];i=j+1|0;d=a>>>0>>0?a:i;h=a>>>0>>0?a:e;r:{if(d>>>0>>0){break r}f=d-1|0;if(h>>>0>=f>>>0){break r}m=N[c+80>>2];while(1){a=m+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=m+T(h,20)|0;N[a+16>>2]=N[d+16>>2];n=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=n;n=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=n;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}s:{if(!O[c+63|0]){break s}a=N[c+68>>2];d=a>>>0>>0?a:i;h=a>>>0>>0?a:e;if(d>>>0>>0){break s}f=d-1|0;if(h>>>0>=f>>>0){break s}i=N[c+88>>2];while(1){a=i+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=i+T(h,20)|0;N[a+16>>2]=N[d+16>>2];m=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=m;m=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=m;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}m=l+2|0;a=e;while(1){d=a;a=e;e=a+1|0;t:{if(O[(m+T(a,20)|0)+16|0]!=22){a=d;break t}a=N[c+68>>2];f=a>>>0>>0?a:e;h=a>>>0>>0?a:d;u:{if(f>>>0>>0){break u}f=f-1|0;if(h>>>0>=f>>>0){break u}l=N[c+80>>2];while(1){i=l+T(f,20)|0;N[g+24>>2]=N[i+16>>2];a=N[i+12>>2];N[g+16>>2]=N[i+8>>2];N[g+20>>2]=a;a=N[i+4>>2];N[g+8>>2]=N[i>>2];N[g+12>>2]=a;a=l+T(h,20)|0;N[i+16>>2]=N[a+16>>2];n=N[a+12>>2];N[i+8>>2]=N[a+8>>2];N[i+12>>2]=n;n=N[a+4>>2];N[i>>2]=N[a>>2];N[i+4>>2]=n;N[a+16>>2]=N[g+24>>2];i=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=i;i=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=i;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}}a=e;if(!O[c+63|0]){break t}f=N[c+68>>2];i=a>>>0>f>>>0?f:e;h=d>>>0>f>>>0?f:d;if(i>>>0>>0){break t}f=i-1|0;if(h>>>0>=f>>>0){break t}i=N[c+88>>2];while(1){a=i+T(f,20)|0;N[g+24>>2]=N[a+16>>2];d=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=d;d=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=d;d=i+T(h,20)|0;N[a+16>>2]=N[d+16>>2];l=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=l;l=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=l;N[d+16>>2]=N[g+24>>2];a=N[g+20>>2];N[d+8>>2]=N[g+16>>2];N[d+12>>2]=a;a=N[g+12>>2];N[d>>2]=N[g+8>>2];N[d+4>>2]=a;f=f-1|0;h=h+1|0;if(f>>>0>h>>>0){continue}break}a=e}if(e>>>0<=j>>>0){continue}break}}a=N[c+68>>2];e=k+1|0;d=a>>>0>e>>>0?a:e;f=d-1|0;l=N[c+80>>2];e=O[(l+T(k,20)|0)+15|0];j=l+3|0;a=k;while(1){v:{if((a|0)==(f|0)){a=d;break v}a=a+1|0;if(O[(j+T(a,20)|0)+12|0]==(e&255)){continue}}break}d=k;if(o>>>0>d>>>0){continue}break}}ib(c,b,12176,0)}a=O[c+140|0];if(!(a&64)){break a}a=a<<24>>24;L[c+140|0]=a&191;if((a|0)>=0){break a}L[c+140|0]=a&63;La=g+32|0;return p|0}ba(10615,17855,2019,8730);B()}ba(22742,14165,187,12136);B()}function Zf(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0;e=La-1488|0;La=e;i=N[a+4>>2];p=N[i+556>>2];k=N[p+40>>2];a:{b:{c:{j=N[i+712>>2];if(N[j+1504>>2]==65535){break c}f=N[j+1192>>2];if(!f){break c}if(!c){c=0;break b}g=6;if(Q[j+1196>>2]>>0){break a}c=P[f+(c<<1)>>1];if(c){break b}break a}g=6;if(Q[j+20>>2]<=c>>>0){break a}}N[a+164>>2]=65536;N[a+168>>2]=65536;o=d&1024?d|3:d;d:{e:{if(!b){break e}N[a+164>>2]=N[b+16>>2];N[a+168>>2]=N[b+20>>2];d=N[b+44>>2];if(o&8|(d|0)==-1){break e}f=N[b>>2];g=N[f+540>>2];if(!N[g+96>>2]){break e}if(Qa[N[g+72>>2]](i,d,c,o,N[f+104>>2],a+76|0,e+708|0)|0){break e}N[a+108>>2]=0;N[a+24>>2]=P[e+710>>1]<<6;N[a+28>>2]=P[e+708>>1]<<6;b=M[e+712>>1];N[a+32>>2]=b<<6;d=M[e+714>>1];N[a+36>>2]=d<<6;N[a+40>>2]=P[e+716>>1]<<6;f=M[e+718>>1];N[a+44>>2]=f<<6;g=M[e+720>>1];N[a+48>>2]=g<<6;j=P[e+722>>1];h=d;d=o&16;N[a+104>>2]=d?g:h;N[a+100>>2]=d?f:b;N[a+72>>2]=1651078259;N[a+52>>2]=j<<6;Qa[N[N[i+540>>2]+156>>2]](i,0,c,e+32|0,e+52|0);N[a+56>>2]=P[e+52>>1];if(!(!O[i+292|0]|!P[i+330>>1])){Qa[N[N[i+540>>2]+156>>2]](i,1,c,e+32|0,e+52|0);N[a+60>>2]=P[e+52>>1];break d}if(P[i+372>>1]!=65535){N[a+60>>2]=M[i+442>>1]-M[i+444>>1];break d}N[a+60>>2]=M[i+220>>1]-M[i+222>>1];break d}g=6;if(o&16384){break a}l=N[j+2024>>2];f:{if(l){g=0;f=N[j+3060>>2];g:{if(!f){break g}h:{switch(O[j+3052|0]){case 0:g=O[c+f|0];break g;case 3:break h;default:break g}}if(Q[j+3072>>2]>c-N[j+3068>>2]>>>0){g=O[j+3076|0];break g}g=f+2|0;d=O[f+1|0]|O[f|0]<<8;h=f+N[j+3064>>2]|0;while(1){if(c>>>0>=d>>>0){f=O[g+2|0]|O[g+1|0]<<8;if(f>>>0>c>>>0){g=O[g|0];L[j+3076|0]=g;N[j+3072>>2]=f-d;N[j+3068>>2]=d;break g}d=f;g=g+3|0;if(h>>>0>g>>>0){continue}}break}g=0}l=(j+(((l>>>0>(g&255)>>>0?g:l-1|0)&255)<<2)|0)+2028|0;d=N[l>>2];f=N[d+68>>2];g=N[j+1440>>2];h=N[d+60>>2];N[e+40>>2]=N[d+56>>2];N[e+44>>2]=h;h=N[d+52>>2];N[e+32>>2]=N[d+48>>2];N[e+36>>2]=h;d=N[l>>2];l=N[d+72>>2];h=N[d+76>>2];if((g|0)==(f|0)){break f}w=a,x=jb(N[a+164>>2],g,f),N[w+164>>2]=x;w=a,x=jb(N[a+168>>2],g,f),N[w+168>>2]=x;q=1;break f}d=j+1428|0;f=N[d+4>>2];N[e+40>>2]=N[d>>2];N[e+44>>2]=f;d=j+1420|0;f=N[d+4>>2];N[e+32>>2]=N[d>>2];N[e+36>>2]=f;h=N[j+1448>>2];l=N[j+1444>>2]}N[a+108>>2]=0;N[a+72>>2]=1869968492;r=o&1;L[a+161|0]=!r;n=!(o&2);L[a+160|0]=n;Qa[N[k>>2]](e+708|0,i,b,a,n,o>>>16&15,153,154);if(o&256){L[e+1301|0]=1}s=o&1024;L[e+774|0]=s>>>10;d=N[N[i+128>>2]+52>>2];i:{if(d){g=Qa[N[N[d>>2]>>2]](N[d+4>>2],c,e+52|0)|0;N[e+28>>2]=N[e+52>>2];N[e+24>>2]=N[e+56>>2];break i}g=Yf(N[i+712>>2]+1204|0,c,e+28|0,e+24|0)}if(g){break a}g=Qa[N[k+4>>2]](e+708|0,b,c)|0;if(g){break a}d=e+52|0;Qa[N[p+24>>2]](d,e+708|0,0);m=d;f=N[e+28>>2];d=N[e+24>>2];g=Qa[N[k+8>>2]](m,f,d)|0;if((g&255)==164){L[a+160|0]=0;q=1;n=0;g=Qa[N[k+8>>2]](e+52|0,f,d)|0}k=N[N[i+128>>2]+52>>2];j:{if(k){N[e+12>>2]=d;N[e+8>>2]=f;Qa[N[N[k>>2]+4>>2]](N[k+4>>2],e+8|0);break j}k=N[i+712>>2];if(N[k+1236>>2]){break j}k=N[k+1204>>2];if(!f|(!k|!N[k+20>>2])){break j}k=N[k+28>>2];Qa[N[k+8>>2]](k,f)}if(g){break a}g=0;k:{if(N[N[i+128>>2]+52>>2]){d=0}else{f=N[j+1232>>2];if(!f){break k}g=(N[j+1236>>2]+N[f+(c<<2)>>2]|0)-1|0}N[a+140>>2]=d;N[a+136>>2]=g}Qa[N[e+788>>2]](e+708|0);d=N[N[i+128>>2]+52>>2];l:{if(!d){break l}f=N[N[d>>2]+8>>2];if(!f){break l}N[e+12>>2]=0;N[e+8>>2]=N[e+740>>2];g=N[e+752>>2];N[e+16>>2]=N[e+748>>2];N[e+20>>2]=g;g=Qa[f|0](N[d+4>>2],c,0,e+8|0)|0;N[e+740>>2]=N[e+8>>2];d=N[e+20>>2];N[e+748>>2]=N[e+16>>2];N[e+752>>2]=d;if(g){break a}}if(s){N[a+32>>2]=N[e+740>>2];N[a+40>>2]=N[e+1292>>2];b=N[e+40>>2];c=N[e+44>>2];d=N[e+32>>2];f=N[e+36>>2];a=N[a+156>>2];N[a+28>>2]=l;N[a+32>>2]=h;L[a+8|0]=1;N[a+20>>2]=b;N[a+24>>2]=c;N[a+12>>2]=d;N[a+16>>2]=f;break d}m:{if(P[i+250>>1]){M[e+8>>1]=0;M[e+28>>1]=0;Qa[N[N[i+540>>2]+156>>2]](i,0,c,e+8|0,e+28|0);d=P[e+28>>1];N[a+32>>2]=M[e+8>>1];break m}d=N[e+1292>>2]}N[a+56>>2]=d;N[a+40>>2]=d;L[N[a+156>>2]+8|0]=0;n:{if(!(!O[i+292|0]|!P[i+330>>1])){M[e+8>>1]=0;M[e+28>>1]=0;Qa[N[N[i+540>>2]+156>>2]](i,1,c,e+8|0,e+28|0);N[a+48>>2]=M[e+8>>1];f=P[e+28>>1];N[a+52>>2]=f;i=1;break n}if(P[i+372>>1]!=65535){f=M[i+442>>1]-M[i+444>>1]|0}else{f=M[i+220>>1]-M[i+222>>1]|0}N[a+52>>2]=f;i=0}N[a+72>>2]=1869968492;N[a+60>>2]=f;k=a+108|0;N[a+124>>2]=b?P[b+14>>1]<24?260:4:4;o:{if(!(N[e+36>>2]|(N[e+32>>2]!=65536|N[e+44>>2]!=65536))){if(!N[e+40>>2]){break o}}lg(k,e+32|0);w=a,x=ob(N[a+40>>2],N[e+32>>2]),N[w+40>>2]=x;f=ob(N[a+52>>2],N[e+44>>2]);N[a+52>>2]=f}if(h|l){te(k,l,h);N[a+40>>2]=N[a+40>>2]+l;f=N[a+52>>2]+h|0;N[a+52>>2]=f}if(!(q?0:r)){b=N[a+168>>2];g=N[a+164>>2];p:{if(N[e+776>>2]?n:0){break p}c=M[a+110>>1];if((c|0)<=0){break p}c=c&65535;d=b>>31;j=(d^b)-d|0;q=j&65535;p=j>>>16|0;r=j>>>8|0;d=g>>31;l=(d^g)-d|0;s=l&65535;u=l>>>16|0;v=l>>>8|0;d=N[a+112>>2];while(1){n=N[d>>2];h=n>>31;h=(h^n)-h|0;q:{if(h+v>>>0<=8190){m=T(h,l)+32768>>>16|0;break q}m=h&65535;m=T(m,u)+T(l,h>>>16|0)+(T(s,m)+32768>>>16)|0}h=m;t=0-h|0;h=n>>31|1;N[d>>2]=(((g|0)<0?0-h|0:h)|0)<0?t:m;n=N[d+4>>2];h=n>>31;h=(h^n)-h|0;r:{if(h+r>>>0<=8190){m=T(h,j)+32768>>>16|0;break r}m=h&65535;m=T(m,p)+T(j,h>>>16|0)+(T(q,m)+32768>>>16)|0}h=m;t=0-h|0;h=n>>31|1;N[d+4>>2]=(((b|0)<0?0-h|0:h)|0)<0?t:m;d=d+8|0;h=c>>>0>1;c=c-1|0;if(h){continue}break}}w=a,x=ob(N[a+40>>2],g),N[w+40>>2]=x;f=ob(f,b);N[a+52>>2]=f}En(k,e+8|0);b=N[e+8>>2];N[a+24>>2]=N[e+16>>2]-b;c=N[e+12>>2];d=N[e+20>>2];N[a+36>>2]=d;N[a+32>>2]=b;N[a+28>>2]=d-c;if(i){N[a+44>>2]=b+(N[a+40>>2]/-2|0);w=a,x=ob(N[a+48>>2],N[a+168>>2]),N[w+48>>2]=x;break d}if(!(o&16)){break d}tn(a+24|0,f)}g=0}La=e+1488|0;return g}function ci(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0,x=0;g=La-48|0;La=g;o=N[a>>2];h=N[b+20>>2];a:{b:{if(h){f=85;if(Qa[h|0](b,c,0,0)|0){break a}k=N[b+4>>2];break b}f=85;k=N[b+4>>2];if(k>>>0>>0){break a}}N[b+8>>2]=c;if(c>>>0>=k>>>0){break a}h=N[b+20>>2];c:{if(h){k=Qa[h|0](b,c,g+16|0,16)|0;break c}h=k-c|0;k=h>>>0>=16?16:h;F(g+16|0,N[b>>2]+c|0,k)}N[b+8>>2]=c+k;if(k>>>0<16){break a}j=L[g+16|0];if((j|0)<0){f=2;break a}h=L[g+20|0];if((h|0)<0){f=2;break a}n=L[g+24|0];if((n|0)<0){f=2;break a}l=L[g+28|0];if((l|0)<0){f=2;break a}h=O[g+23|0]|(O[g+21|0]<<16|(h&255)<<24|O[g+22|0]<<8);if(!h){f=2;break a}i=O[g+31|0];l=i|(O[g+29|0]<<16|(l&255)<<24|O[g+30|0]<<8);n=O[g+27|0]|(O[g+25|0]<<16|(n&255)<<24|O[g+26|0]<<8);d:{j=O[g+19|0]|(O[g+17|0]<<16|(j&255)<<24|O[g+18|0]<<8);if(j>>>0>>0){if((j|0)<=(h-n|0)){break d}f=2;break a}if((h|0)<=(j-l|0)){break d}f=2;break a}if(j>>>0>(n^2147483647)>>>0){f=2;break a}if(h>>>0>(l^2147483647)>>>0){f=2;break a}if((j+n^2147483647)<(c|0)){f=2;break a}if((h+l^2147483647)<(c|0)){f=2;break a}j=c+j|0;k=j+n|0;n=N[b+4>>2];if(k>>>0>n>>>0){f=2;break a}c=c+h|0;if(n>>>0>>0){f=2;break a}h=N[b+20>>2];e:{if(h){if(Qa[h|0](b,c,0,0)|0){break a}i=O[g+31|0];break e}if(c>>>0>n>>>0){break a}}N[b+8>>2]=c;L[g+15|0]=i+1;f=Zb(b,g,16);if(f){break a}u=O[g|0];v=O[g+1|0];w=O[g+2|0];x=O[g+3|0];t=O[g+4|0];q=O[g+5|0];r=O[g+6|0];s=O[g+7|0];p=O[g+8|0];k=O[g+9|0];m=O[g+10|0];n=O[g+11|0];f=O[g+12|0];h=O[g+13|0];i=O[g+15|0];l=O[g+14|0];if(!(!(u|(v|(w|(x|(t|(q|(r|(s|(p|(k|(m|(n|(f|(h|(i|l)))))))))))))))|O[g+31|0]==(i|0)&O[g+30|0]==(l|0)&O[g+29|0]==(h|0)&O[g+28|0]==(f|0)&(n|0)==O[g+27|0]&(m|0)==O[g+26|0]&(k|0)==O[g+25|0]&(p|0)==O[g+24|0]&(s|0)==O[g+23|0]&(r|0)==O[g+22|0]&(q|0)==O[g+21|0]&(t|0)==O[g+20|0]&(x|0)==O[g+19|0]&(w|0)==O[g+18|0]&(v|0)==O[g+17|0]&(u|0)==O[g+16|0])){f=2;break a}h=N[b+8>>2]+8|0;i=N[b+20>>2];f:{g:{if(i){f=85;if(!(Qa[i|0](b,h,0,0)|0)){break g}break f}f=85;if(h>>>0>Q[b+4>>2]){break f}}N[b+8>>2]=h;f=0}N[g+44>>2]=f;h=xb(b,g+44|0);f=N[g+44>>2];if(f){break a}f=2;h=h<<16>>16;if((h|0)<0){break a}c=c+h|0;h=N[b+20>>2];h:{if(h){f=85;if(!(Qa[h|0](b,c,0,0)|0)){break h}break a}f=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;f=1;i:{j:{k:{if(!xn(N[a>>2],b,c,j,1347375956,1,g,g+44|0)){s=N[g>>2];l:{m:{n:{if(d+1>>>0>1){break n}t=N[g+44>>2];if((t|0)<=0){f=10;break n}r=N[a>>2];d=0;k=0;while(1){c=N[s+(k<<2)>>2];o:{p:{f=N[b+20>>2];if(f){if(!(Qa[f|0](b,c,0,0)|0)){break p}f=85;break m}f=N[b+4>>2];if(f>>>0>=c>>>0){break o}f=85;break m}f=N[b+4>>2]}N[b+8>>2]=c;q:{r:{s:{t:{if(c+3>>>0>=f>>>0){break t}f=N[b+20>>2];if(f){if((Qa[f|0](b,c,g+16|0,4)|0)!=4){break t}c=N[b+8>>2];f=g+16|0;break r}f=N[b>>2];if(!f){break s}f=c+f|0;break r}f=85;break m}N[b+8>>2]=c+4;c=0;break q}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);N[b+8>>2]=c+4;c=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(c>>>0<=16777215){break q}f=9;break m}d=d+6|0;if(d>>>0>(c^16777215)>>>0){f=9;break m}d=c+d|0;k=k+1|0;if((t|0)!=(k|0)){continue}break}q=d+2|0;m=Qa[N[r+4>>2]](r,q)|0;if(!m){f=64;break m}L[m+2|0]=0;L[m+3|0]=0;L[m+4|0]=0;L[m+5|0]=0;L[m|0]=128;L[m+1|0]=1;p=2;j=6;h=0;n=1;k=0;u:{while(1){c=N[s+(k<<2)>>2];f=N[b+20>>2];v:{if(f){if(Qa[f|0](b,c,0,0)|0){break u}f=N[b+4>>2];break v}f=N[b+4>>2];if(f>>>0>>0){break u}}N[b+8>>2]=c;if(c+3>>>0>=f>>>0){break u}w:{x:{f=N[b+20>>2];y:{if(f){if((Qa[f|0](b,c,g+16|0,4)|0)!=4){break u}c=N[b+8>>2];f=g+16|0;break y}f=N[b>>2];if(!f){break x}f=c+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break w}f=0}N[b+8>>2]=c+4;if((f|0)<0){break u}c=N[b+8>>2];if(Q[b+4>>2]<=c+1>>>0){break u}z:{A:{B:{i=N[b+20>>2];if(i){if((Qa[i|0](b,c,g+16|0,2)|0)!=2){break u}c=N[b+8>>2];i=g+16|0;break B}i=N[b>>2];if(i){i=c+i|0;break B}N[b+8>>2]=c+2;break A}l=O[i+1|0];i=O[i|0];N[b+8>>2]=c+2;if((l|i<<8)>>>0<256){break A}c=f-2|0;l=c>>>0<=f>>>0?c:0;C:{if((i|0)==(n|0)){f=j;h=h+l|0;break C}f=p+3|0;if(f>>>0>q>>>0){break u}c=m+p|0;L[c|0]=h;L[c+2|0]=h>>>16;L[c+1|0]=h>>>8;L[f+m|0]=h>>>24;if((i|0)==5){break z}f=j+6|0;if(q>>>0>>0){break u}h=j+m|0;L[h|0]=128;p=j+2|0;c=m+p|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[h+1|0]=i;n=i;h=l}if(d>>>0>>0){break u}j=f+l|0;if(j>>>0>d>>>0){break u}if(Zb(b,f+m|0,l)){break u}}k=k+1|0;if((t|0)!=(k|0)){continue}}break}c=j+2|0;if(c>>>0>q>>>0){break u}b=j+m|0;L[b|0]=128;L[b+1|0]=3;d=p+3|0;if(d>>>0>q>>>0){break u}b=m+p|0;L[b|0]=h;L[b+2|0]=h>>>16;L[b+1|0]=h>>>8;L[d+m|0]=h>>>24;f=_h(a,m,c,0,21728,e);break n}Qa[N[r+8>>2]](r,m);f=1}if(!s){break l}}Qa[N[o+8>>2]](o,s)}if(f){break a}c=1;break k}f=xn(N[a>>2],b,c,j,1936092788,0,g,g+44|0);if(f){break a}j=N[g>>2];c=N[g+44>>2];d=(d|0)%(c|0)|0;l=d>>31^d;if((c|0)<=(l|0)){break j}i=N[a>>2];h=N[j+(l<<2)>>2];d=N[b+20>>2];D:{if(d){f=85;if(!(Qa[d|0](b,h,0,0)|0)){break D}break i}f=85;if(h>>>0>Q[b+4>>2]){break i}}N[b+8>>2]=h;N[g+16>>2]=0;d=Nb(b,g+16|0);f=N[g+16>>2];if(f){break i}f=1;if((d|0)<=0){break i}f=9;if(d>>>0>16777215){break i}if(!Cn(a,b,l,e)){Qa[N[o+8>>2]](o,j);break k}h=h+4|0;l=N[b+20>>2];E:{if(l){f=85;if(Qa[l|0](b,h,0,0)|0){break i}break E}f=85;if(h>>>0>Q[b+4>>2]){break i}}N[b+8>>2]=h;h=Qa[N[i+4>>2]](i,d)|0;if(!h){f=64;break i}f=Zb(b,h,d);if(f){Qa[N[i+8>>2]](i,h);break i}if(d>>>0>=5){b=Mb(h,19751,4)?15504:15225}else{b=15504}f=_h(a,h,d,0,b,e);Qa[N[o+8>>2]](o,j);if(f){break a}}N[N[e>>2]>>2]=c;f=0;break a}f=1;if(!j){break a}Qa[N[o+8>>2]](o,j);break a}Qa[N[o+8>>2]](o,j)}La=g+48|0;return f}function Yd(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0,K=0,Q=0,R=0,S=0;i=La-48|0;La=i;v=N[a>>2];y=N[a+40>>2];k=N[a+36>>2];c=N[N[a+2748>>2]+40>>2];L[i+39|0]=0;L[i+40|0]=0;L[i+41|0]=0;L[i+42|0]=0;N[i+32>>2]=0;N[i+36>>2]=0;N[i+24>>2]=0;N[i+28>>2]=0;N[i+8>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;N[i>>2]=0;N[i+4>>2]=0;d=T(b,1348)+a|0;w=d;N[d+44>>2]=0;f=N[d+68>>2];H=(c>>>0)/14|0;e=N[a+28>>2];d=N[a+24>>2];c=e+T(d,40)|0;a:{if(!b){if((d|0)<=0){break a}while(1){N[e+24>>2]=M[e+12>>1];N[e+28>>2]=M[e+14>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}break a}if((d|0)<=0){break a}while(1){N[e+24>>2]=M[e+14>>1];N[e+28>>2]=M[e+12>>1];e=e+40|0;if(c>>>0>e>>>0){continue}break}}b:{c:{d:{e:{if((k|0)<=0){break e}S=(k<<2)+y|0;p=T(b,1348)+a|0;D=p+72|0;c=f>>31;z=(c^f)-c|0;J=z;c=0;f:while(1){x=N[y>>2];d=L[N[x+36>>2]+3|0];f=d>>31;g:{if(((d^f)-f|0)!=(z|0)){break g}e=x;d=L[e+3|0];f=d>>31;if(((d^f)-f|0)!=(z|0)){break g}while(1){e=N[e+36>>2];d=L[e+3|0];f=d>>31;if(((d^f)-f|0)!=(z|0)){x=N[e+32>>2];break g}if((e|0)!=(x|0)){continue}break}}m=0;n=-32e3;o=32e3;e=x;g=32e3;k=-32e3;f=0;d=0;q=32e3;l=-32e3;K=0;j=0;t=32e3;u=-32e3;A=32e3;B=-32e3;I=0;r=0;E=32e3;G=-32e3;while(1){Q=1;h:{if(!m){break h}s=N[e+28>>2];m=P[e>>1];h=m&3;l=h?l:(l|0)<(s|0)?s:l;q=h?q:(q|0)>(s|0)?s:q;h=(k|0)<(s|0);d=h?m:d;k=h?s:k;h=(g|0)>(s|0);f=h?m:f;g=h?s:g;h=N[e+24>>2];n=(n|0)<(h|0)?h:n;o=(h|0)<(o|0)?h:o;if(!((e|0)==(x|0)|L[e+3|0]!=(J|0))){Q=0;break h}i:{if(j){h=N[c+36>>2];if((h|0)==N[j+40>>2]){break i}}N[c+40>>2]=e;M[c+4>>1]=n-o>>>1;M[c+2>>1]=n+o>>>1;if(!(!((d|f)&3)|(l-q|0)>=(H|0))){L[c|0]=O[c|0]|1}M[c+8>>1]=k;M[c+6>>1]=g;M[c+10>>1]=k-g;j=c;t=o;u=n;A=g;B=k;I=f;r=d;E=q;G=l;c=0;break h}j:{if(O[h+2|0]==O[e+2|0]){N[j+40>>2]=e;h=(k|0)<(B|0);k=h?B:k;M[j+8>>1]=k;c=(g|0)>(A|0);g=c?A:g;M[j+6>>1]=g;M[j+10>>1]=k-g;n=(n|0)<(u|0)?u:n;o=(o|0)>(t|0)?t:o;M[j+4>>1]=n-o>>>1;M[j+2>>1]=n+o>>>1;d=h?r:d;f=c?I:f;l=(l|0)<(G|0)?G:l;q=(q|0)>(E|0)?E:q;L[j|0]=O[j|0]&254|((d|f)&3)!=0&(l-q|0)<(H|0);break j}h=B-A|0;R=h>>31;s=k-g|0;m=s>>31;if((h^R)-R>>>0>(m^s)-m>>>0){N[j+40>>2]=e;u=(n|0)>(u|0)?n:u;t=(o|0)<(t|0)?o:t;M[j+4>>1]=u-t>>>1;M[j+2>>1]=t+u>>>1;break j}N[c+40>>2]=e;n=(n|0)<(u|0)?u:n;o=(o|0)>(t|0)?t:o;M[c+4>>1]=n-o>>>1;M[c+2>>1]=n+o>>>1;if(!(!((d|f)&3)|(l-q|0)>=(H|0))){L[c|0]=O[c|0]|1}M[c+6>>1]=g;M[c+10>>1]=s;M[c+8>>1]=k;N[j+40>>2]=N[c+40>>2];r=N[c+36>>2];N[j+32>>2]=N[c+32>>2];N[j+36>>2]=r;r=N[c+28>>2];N[j+24>>2]=N[c+24>>2];N[j+28>>2]=r;r=N[c+20>>2];N[j+16>>2]=N[c+16>>2];N[j+20>>2]=r;r=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=r;r=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=r;t=o;u=n;A=g;B=k;I=f;r=d;E=q;G=l}N[w+44>>2]=N[w+44>>2]-1;c=0}k:{l:{m:{n:{o:{if((e|0)==(x|0)){h=K;K=1;if(h){break o}}m=1;if(!Q){e=N[e+32>>2];continue}h=L[e+3|0];m=h>>31;p:{if(((m^h)-m|0)==(z|0)){break p}m=0;if(N[e+36>>2]==(e|0)){break p}e=N[e+32>>2];continue}c=N[w+44>>2];if((c|0)>=1001){l=0;N[w+44>>2]=0;break b}if((c|0)<=17){if(N[p+52>>2]){break k}N[p+52>>2]=D;N[p+48>>2]=18;break k}f=N[p+48>>2];if((f|0)>(c|0)){break k}q:{r:{s:{t:{u:{if((f|0)>=-16){c=(f+(f>>2)|0)+4|0;g=N[p+52>>2];if((D|0)!=(g|0)){break q}if((c|0)>=0){break u}l=6;break c}c=48806446;g=N[p+52>>2];if((D|0)==(g|0)){break t}break d}if(!c){c=0;m=0;break s}if((c|0)<=48806446){break t}l=10;break c}d=T(c,44);m=Qa[N[v+4>>2]](v,d)|0;if(!m|(c|0)<=0){break r}C(m,0,d)}N[p+52>>2]=m;break m}N[p+52>>2]=m;if(m){break m}l=!m<<6;break b}if((c|f)<0){break d}if(!c){if(!g){break n}Qa[N[v+8>>2]](v,g);break n}if((c|0)>48806446){l=10;N[p+52>>2]=g;break b}d=T(c,44);v:{if(!f){g=Qa[N[v+4>>2]](v,d)|0;l=!g<<6;break v}d=Qa[N[v+12>>2]](v,T(f,44),d,g)|0;g=d?d:g;l=!d<<6}if(!(l|(c|0)<=(f|0)|!g)){C(T(f,44)+g|0,0,T(c-f|0,44));N[p+52>>2]=g;break l}N[p+52>>2]=g;if(l){break b}break l}y=y+4|0;if(S>>>0>y>>>0){continue f}break e}c=0;N[p+52>>2]=0;break l}F(m,D,792)}N[p+48>>2]=c;c=N[w+44>>2]}m=1;n=N[p+52>>2];N[w+44>>2]=c+1;k=T(c,44);c=k+n|0;L[c|0]=0;f=N[i+20>>2];d=N[i+16>>2];L[c+1|0]=d;L[c+2|0]=d>>>8;L[c+3|0]=d>>>16;L[c+4|0]=d>>>24;L[c+5|0]=f;L[c+6|0]=f>>>8;L[c+7|0]=f>>>16;L[c+8|0]=f>>>24;f=N[i+28>>2];d=N[i+24>>2];L[c+9|0]=d;L[c+10|0]=d>>>8;L[c+11|0]=d>>>16;L[c+12|0]=d>>>24;L[c+13|0]=f;L[c+14|0]=f>>>8;L[c+15|0]=f>>>16;L[c+16|0]=f>>>24;f=N[i+36>>2];d=N[i+32>>2];L[c+17|0]=d;L[c+18|0]=d>>>8;L[c+19|0]=d>>>16;L[c+20|0]=d>>>24;L[c+21|0]=f;L[c+22|0]=f>>>8;L[c+23|0]=f>>>16;L[c+24|0]=f>>>24;d=O[i+39|0]|O[i+40|0]<<8|(O[i+41|0]<<16|O[i+42|0]<<24);L[c+24|0]=d;L[c+25|0]=d>>>8;L[c+26|0]=d>>>16;L[c+27|0]=d>>>24;N[c+28>>2]=32e3;N[c+40>>2]=N[i+8>>2];d=N[i+4>>2];N[c+32>>2]=N[i>>2];N[c+36>>2]=d;L[c+1|0]=h;N[c+40>>2]=e;N[c+36>>2]=e;j=j?c-44|0:0;g=N[e+28>>2];f=P[e>>1];d=f&3;l=d?-32e3:g;q=d?32e3:g;o=N[e+24>>2];if(N[e+36>>2]==(e|0)){k=k+n|0;M[k+2>>1]=o;if(d){L[c|0]=1}M[k+10>>1]=0;M[k+8>>1]=g;M[k+6>>1]=g;m=0;c=0}n=o;k=g;d=f;J=h;e=N[e+32>>2];continue}}}l=0;e=N[(T(b,1348)+a|0)+52>>2];if(!e){break b}a=N[w+44>>2];if((a|0)<=0){break b}b=T(a,44)+e|0;while(1){a=N[e+36>>2];f=N[N[a+36>>2]+28>>2];d=N[a+28>>2];a=N[e+40>>2];c=N[a+28>>2];w:{x:{if((d|0)<(c|0)){if((d|0)>(f|0)){M[e+10>>1]=P[e+10>>1]+(d-f>>>1|0)}a=N[N[a+32>>2]+28>>2];if((a|0)<=(c|0)){break w}a=a-c|0;break x}if((d|0)<(f|0)){M[e+10>>1]=P[e+10>>1]+(f-d>>>1|0)}a=N[N[a+32>>2]+28>>2];if((a|0)>=(c|0)){break w}a=c-a|0}M[e+10>>1]=P[e+10>>1]+(a>>>1|0)}e=e+44|0;if(b>>>0>e>>>0){continue}break}break b}l=6;N[p+52>>2]=g;break b}N[p+52>>2]=0}La=i+48|0;return l}function Yi(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,o=0,p=0,q=0;a:{if(Q[b+4>>2]>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}g=N[b+12>>2]-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break a}e=O[a|0]|O[a+1|0]<<8;b:{if(!e){break b}d=a+2|0;if(d>>>0>f>>>0){break a}h=f-d|0;f=(e<<8|e>>>8)&65535;d=f<<3;if(h>>>0>>0){break a}g=g-d|0;N[b+12>>2]=g;d=0;if((g|0)<=0){break b}p=f>>>0<=1?1:f;while(1){e=N[b+4>>2];f=(m<<3)+a|0;d=f+2|0;if(e>>>0>d>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<8){break a}h=N[c>>2];d=N[b+12>>2];i=d-8|0;N[b+12>>2]=i;if((i|0)<=0){break a}i=f+6|0;if(g>>>0>>0|g-i>>>0<4){break a}f=d-12|0;N[b+12>>2]=f;if((f|0)<=0){break a}f=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);c:{if(!f){break c}if(f&128){break a}d:{e:{f=h+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0;if(f>>>0>>0|f>>>0>g>>>0){break e}e=g-f|0;if(e>>>0<2){break e}h=d-14|0;N[b+12>>2]=h;if((h|0)<=0){break e}f:{g:{h:{i:{j:{k:{l:{h=O[f|0]|O[f+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break i;case 6:break j;case 4:break k;case 0:break l;case 14:break f;case 13:break g;case 12:break h;default:break c}}if(e>>>0<262){break e}d=d-276|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<14){break e}g=d-28|0;N[b+12>>2]=g;if((g|0)<=0){break e}d=O[f+2|0]|O[f+3|0]<<8;m:{if(!d){d=0;break m}h=(d<<8|d>>>8)&65535;if(h>>>0<=e>>>0){g=g-h|0;N[b+12>>2]=g;if((g|0)>0){break m}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}d=e>>>0>=65535?65535:e;d=d<<8|(d&65280)>>>8;L[f+2|0]=d;L[f+3|0]=d>>>8}f=O[f+6|0]|O[f+7|0]<<8;if((((f<<8|f>>>8)&65535)<<2)+16>>>0>((d<<8|(d&65280)>>>8)&65535)>>>0){break e}break c}if(e>>>0<10){break e}e=d-24|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+8|0;if(e>>>0>g>>>0|g-e>>>0<2){break e}d=d-26|0;N[b+12>>2]=d;if((d|0)<=0){break e}e=O[e|0]|O[e+1|0]<<8;if(!e){break c}f=f+10|0;if(f>>>0>g>>>0){break e}g=g-f|0;f=((e<<8|e>>>8)&65535)<<1;if(g>>>0>>0){break e}d=d-f|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<20){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+16|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-38|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+16|0]|O[f+17|0]<<8|(O[f+18|0]<<16|O[f+19|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((d|0)<0){break e}d=d<<1;if(!d){break c}f=f+20|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<16){break e}e=d-30|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+12|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);d=UE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,12,0);if(Pa){break e}if(!d){break c}f=f+16|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}break c}if(e>>>0<16){break e}e=d-30|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=f+12|0;if(e>>>0>g>>>0|g-e>>>0<4){break e}e=d-34|0;N[b+12>>2]=e;if((e|0)<=0){break e}d=O[f+12|0]|O[f+13|0]<<8|(O[f+14|0]<<16|O[f+15|0]<<24);d=UE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,12,0);if(Pa){break e}if(!d){break c}f=f+16|0;if(f>>>0>g>>>0|d>>>0>g-f>>>0){break e}d=e-d|0;N[b+12>>2]=d;if((d|0)>0){break c}break e}if(e>>>0<10){break e}e=d-24|0;N[b+12>>2]=e;if((e|0)<=0){break e}n=f+6|0;if(g>>>0>>0|g-n>>>0<4){break e}j=d-28|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[f+6|0]|O[f+7|0]<<8|(O[f+8|0]<<16|O[f+9|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);d=UE(h,0,11,0);if(Pa){break e}if(d){k=f+10|0;if(k>>>0>g>>>0|d>>>0>g-k>>>0){break e}d=j-d|0;N[b+12>>2]=d;if((d|0)<=0){break e}}if(!e){break c}q=h>>>0<=1?1:h;k=0;while(1){j=N[b+4>>2];l=T(k,11)+n|0;g=l+4|0;if(j>>>0>g>>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-g>>>0<11){break e}h=N[b+12>>2];g=h-11|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=l+7|0;if(g>>>0>d>>>0|d-g>>>0<4){break e}e=h-15|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);n:{if(!e){break n}if(e&128){break e}e=f+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;o:{if(e>>>0>>0|d>>>0>>0|d-e>>>0<4){break o}o=h-19|0;N[b+12>>2]=o;if((o|0)<=0){break o}h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if(h>>>0>1073741823){break o}h=h<<2;if(!h){break n}e=e+4|0;if(e>>>0>d>>>0|h>>>0>d-e>>>0){break o}d=o-h|0;N[b+12>>2]=d;if((d|0)>0){break n}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[g|0]=0;L[g+1|0]=0;L[g+2|0]=0;L[g+3|0]=0;j=N[b+4>>2]}g=l+11|0;if(g>>>0>>0){break e}h=N[b+8>>2];if(h>>>0>>0|h-g>>>0<4){break e}l=N[b+12>>2];d=l-4|0;N[b+12>>2]=d;if((d|0)<=0){break e}d=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);p:{if(!d){break p}if(d&128){break e}e=f+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;q:{if(e>>>0>>0|e>>>0>h>>>0|h-e>>>0<4){break q}j=l-8|0;N[b+12>>2]=j;if((j|0)<=0){break q}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d=UE(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24),0,5,0);if(Pa){break q}if(!d){break p}e=e+4|0;if(e>>>0>h>>>0|d>>>0>h-e>>>0){break q}d=j-d|0;N[b+12>>2]=d;if((d|0)>0){break p}}d=N[b+28>>2];if(d>>>0>31){break a}d=d+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[g|0]=0;L[g+1|0]=0;L[g+2|0]=0;L[g+3|0]=0}k=k+1|0;if((q|0)!=(k|0)){continue}break}break c}d=N[b+28>>2]}if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[i|0]=0;L[i+1|0]=0;L[i+2|0]=0;L[i+3|0]=0}d=1;m=m+1|0;if((p|0)!=(m|0)){continue}break}}return d}return 0}function Yj(a,b,c,d,e){var 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,t=0,u=0,v=0;j=La-48|0;La=j;N[j+36>>2]=0;f=275552;N[j+28>>2]=275552;N[j+20>>2]=275552;N[j+16>>2]=a;N[j+12>>2]=0;N[j+32>>2]=e?e:275552;N[j+24>>2]=d?d:275552;d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;f=d}N[j+44>>2]=64;N[j+40>>2]=f;a:{if((b|0)!=1196445523){if((b|0)!=1196643650){break a}b=275552;a=N[Vb(a+144|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];b:{if((O[a|0]|O[a+1|0]<<8)!=256){break b}e=275552;d=O[a+8|0]|O[a+9|0]<<8;if(d){e=a+((d<<8|d>>>8)&65535)|0}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break b}a=(c<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;if(!a){break b}b=((a<<8|a>>>8)&65535)+e|0}N[j+36>>2]=268;c=O[b+4|0]|O[b+5|0]<<8;if(!c){break a}a=O[b|0]|O[b+1|0]<<8;d=(a<<8|a>>>8)&65535;a=b+4|0;c=(c<<8|c>>>8)&65535;f=c>>>0<=1?1:c;e=0;while(1){c=O[a|0]|O[a+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:(a+(e<<1)|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+b|0}else{c=275552}Xj(c,j+12|0,d);e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}b=275552;a=N[mc(a+148|0)>>2];a=a?a:275552;a=Q[a+16>>2]<4?275552:N[a+12>>2];c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}e=275552;d=O[a+8|0]|O[a+9|0]<<8;if(d){e=a+((d<<8|d>>>8)&65535)|0}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break c}a=(c<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;if(!a){break c}b=((a<<8|a>>>8)&65535)+e|0}a=O[b+4|0]|O[b+5|0]<<8;if(!a){break a}c=O[b|0]|O[b+1|0]<<8;c=(c<<8|c>>>8)&65535;o=b+4|0;a=(a<<8|a>>>8)&65535;s=a>>>0<=1?1:a;e=0;while(1){a=O[o|0]|O[o+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+o|0)+2|0;a=O[a|0]|O[a+1|0]<<8;if(a){d=((a<<8|a>>>8)&65535)+b|0}else{d=275552}g=j+12|0;a=c;h=0;k=0;d:{e:{f:{g:{h:{while(1){i:{if((a|0)!=9){j:{switch(a-1|0){case 0:k:{l:{m:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break l;case 0:break m;default:break d}}f=O[d+2|0]|O[d+3|0]<<8;a=275552;if(!f){break k}a=((f<<8|f>>>8)&65535)+d|0;break k}f=O[d+2|0]|O[d+3|0]<<8;a=275552;if(!f){break k}a=((f<<8|f>>>8)&65535)+d|0}Ob(a,N[g+12>>2]);break d;case 3:case 4:case 5:break e;case 2:break g;case 6:break h;case 7:break i;case 1:break j;default:break d}}n:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break f;case 0:break n;default:break d}}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}a=O[d+8|0]|O[d+9|0]<<8;if(!a){break d}a=(a<<8|a>>>8)&65535;t=a>>>0<=1?1:a;while(1){a=275552;f=O[d+8|0]|O[d+9|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=k>>>0?275552:((k<<1)+d|0)+10|0;f=O[f|0]|O[f+1|0]<<8;if(f){a=((f<<8|f>>>8)&65535)+d|0}f=O[a|0]|O[a+1|0]<<8;i=(f<<8|f>>>8)&65535;h=a+2|0;a=N[g+12>>2];l=a+12|0;m=(YE(O[d+4|0]|O[d+5|0]<<8)+YE(O[d+6|0]|O[d+7|0]<<8)<<1)+2|0;o:{if(O[a+48|0]){Ff(l,h,i,m);break o}if(!f|!O[l|0]){break o}N[a+16>>2]=-1;a=O[h|0]|O[h+1|0]<<8;a=(a<<8|a>>>8)&65535;p:while(1){q=wc(l,a);if(!q){break o}r=a&65024;u=r+512|0;while(1){f=q+(a>>>3&56)|0;v=N[f+4>>2];n=a&63;a=n&31;if((n&63)>>>0>=32){n=1<>>32-a}N[f>>2]=p|N[f>>2];N[f+4>>2]=n|v;i=i-1|0;if(!i){break o}h=h+m|0;a=O[h|0]|O[h+1|0]<<8;a=(a<<8|a>>>8)&65535;if(r>>>0>a>>>0){continue p}if(a>>>0>>0){continue}break}continue}}k=k+1|0;if((t|0)!=(k|0)){continue}break}break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;a=(a<<8|a>>>8)&65535;f=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(f){d=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+d|0}else{d=275552}continue}break}q:{r:{s:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 2:break q;case 1:break r;case 0:break s;default:break d}}Vj(d,g);break d}Tj(d,g);break d}Sj(d,g);break d}Wj(d,g);break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}Ob(a,N[g+12>>2]);break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}f=N[g+12>>2];t:{u:{v:{a=O[d+10|0]|O[d+11|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break u;case 0:break v;default:break d}}d=O[a+4|0]|O[a+5|0]<<8;g=(d<<8|d>>>8)&65535;if(d){l=g>>>0<=1?1:g;k=f+12|0;d=0;while(1){i=O[a+4|0]|O[a+5|0]<<8;i=((i<<8|i>>>8)&65535)>>>0<=d>>>0?275552:(a+(d<<1)|0)+6|0;w:{if(O[i|0]|O[i+1|0]<<8){d=d+1|0;break w}x:{if((d|0)==(h|0)){break x}i=O[a+2|0]|O[a+3|0]<<8;m=(i<<8|i>>>8)&65535;i=m+d|0;h=h+m|0;if(O[f+48|0]){rd(k,h,i);break x}if(!Ne(k,h,i)){break d}}d=d+1|0;h=d}if((d|0)!=(l|0)){continue}break}}if((g|0)==(h|0)){break d}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=d+g|0;d=d+h|0;g=f+12|0;if(!O[f+48|0]){break t}rd(g,d,a);break d}g=O[a+2|0]|O[a+3|0]<<8;if(!g){break d}d=a+4|0;a=d+T((g<<8|g>>>8)&65535,6)|0;g=f+12|0;while(1){y:{if(O[d+4|0]|O[d+5|0]<<8){h=O[d+2|0]|O[d+3|0]<<8;h=(h<<8|h>>>8)&65535;k=O[d|0]|O[d+1|0]<<8;k=(k<<8|k>>>8)&65535;if(!O[f+48|0]){break y}rd(g,k,h)}d=d+6|0;if((a|0)!=(d|0)){continue}break d}if(!Ne(g,k,h)){break d}d=d+6|0;if((a|0)!=(d|0)){continue}break}break d}Ne(g,d,a);break d}if((O[d|0]|O[d+1|0]<<8)!=256){break d}a=O[d+2|0]|O[d+3|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}if(!Ob(a,N[g+12>>2])){break d}a=O[d+4|0]|O[d+5|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}Ob(a,N[g+12>>2])}e=e+1|0;if((s|0)!=(e|0)){continue}break}}Ue(N[j+40>>2]);La=j+48|0}function pE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;l=N[c+80>>2];k=21;h=1;a=0;n=N[c+68>>2];if(!n){break b}b=0;break a}ba(22778,14165,169,12138);B()}b=1}while(1){c:{d:{e:{if(!b){a=O[k+261936|0]==7?f:a;d=k<<1;g=M[d+261568>>1]+260608|0;b=L[k+261664|0];k=O[(l+T(f,20)|0)+18|0];i=O[d+260512|0];if(k>>>0>=i>>>0){b=k>>>0>O[d+260513|0]?b:k-i|0}b=L[b+g|0];break e}if((k|0)==21){break d}f=n;b=M[(k<<1)+261840>>1]-1|0}k=L[b+261712|0];d=b&31;f:{if(((b&63)>>>0>=32?63990>>>d|0:((1<>>d)&1){break f}g:{switch(L[b+261776|0]-1|0){case 1:e=f+1|0;break f;case 7:e=f+1|0;h:{if(e>>>0<=a>>>0){break h}i=l+3|0;g=h<<4|2;d=a;j=e-d&7;if(j){b=0;while(1){L[(i+T(d,20)|0)+12|0]=g;d=d+1|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}if(f-a>>>0<=6){break h}while(1){b=i+T(d,20)|0;L[b+32|0]=g;L[b+12|0]=g;L[b+52|0]=g;L[b+72|0]=g;L[b+92|0]=g;L[b+112|0]=g;L[b+132|0]=g;L[b+152|0]=g;b=d+7|0;d=d+8|0;if((b|0)!=(f|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 9:g=f-1|0;i:{if(a>>>0>=f>>>0){break i}i=l+3|0;e=h<<4;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break i}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 10:g=f-1|0;j:{if(a>>>0>=f>>>0){break j}i=l+3|0;e=h<<4|1;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break j}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 11:g=f-1|0;k:{if(a>>>0>=f>>>0){break k}i=l+3|0;e=h<<4|2;b=a;j=f-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=e;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+f>>>0<=6){break k}while(1){d=i+T(b,20)|0;L[d+32|0]=e;L[d+12|0]=e;L[d+52|0]=e;L[d+72|0]=e;L[d+92|0]=e;L[d+112|0]=e;L[d+132|0]=e;L[d+152|0]=e;b=b+8|0;if((f|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;e=f;f=g;break f;case 0:f=e-1|0;l:{if(a>>>0>=e>>>0){break l}i=l+3|0;g=h<<4;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break l}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 2:f=e-1|0;m:{if(a>>>0>=e>>>0){break m}i=l+3|0;g=h<<4|1;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break m}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;break f;case 4:n:{switch(m-2|0){case 0:f=e-1|0;o:{if(a>>>0>=e>>>0){break o}m=l+3|0;g=h<<4|1;b=a;i=e-b&7;if(i){d=0;while(1){L[(m+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break o}while(1){d=m+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;m=2;break f;case 1:break n;default:break f}}m=3;f=e-1|0;p:{if(a>>>0>=e>>>0){break p}i=l+3|0;g=h<<4|2;b=a;j=e-b&7;if(j){d=0;while(1){L[(i+T(b,20)|0)+12|0]=g;b=b+1|0;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if((a^-1)+e>>>0<=6){break p}while(1){d=i+T(b,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;b=b+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;break f;case 3:e=f+1|0;m=2;break f;case 8:break g;default:break f}}e=f+1|0;m=3}a=O[k+261984|0]!=6?a:0;f=f+1|0;if((n|0)!=(f|0)){break c}b=1;continue}g=N[c+68>>2];if(g){a=g-1|0;h=N[c+80>>2];l=h+3|0;f=0;b=O[h+15|0];while(1){q:{if((a|0)==(f|0)){f=g;break q}f=f+1|0;if((b|0)==O[(l+T(f,20)|0)+12|0]){continue}}break}a=0;while(1){n=f;b=N[c+68>>2];m=b>>>0>>0?b:f;i=m-a|0;r:{if(i>>>0<2){break r}b=N[c+144>>2]|32;N[c+144>>2]=b;if(a>>>0>=m>>>0){break r}f=-1;k=a;j=m+(a^-1)|0;if(j>>>0>=3){p=i&-4;e=0;while(1){d=h+T(k,20)|0;o=N[d+8>>2];f=f>>>0>>0?f:o;o=N[d+28>>2];f=f>>>0>>0?f:o;o=N[d+48>>2];f=f>>>0>>0?f:o;d=N[d+68>>2];f=d>>>0>f>>>0?f:d;k=k+4|0;e=e+4|0;if((p|0)!=(e|0)){continue}break}}d=0;e=i&3;if(e){while(1){p=N[(h+T(k,20)|0)+8>>2];f=f>>>0

>>0?f:p;k=k+1|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}if(i&1){e=h+T(a,20)|0;if(N[e+8>>2]!=(f|0)){N[e+4>>2]=N[e+4>>2]|3}a=a+1|0}if(!j){break r}while(1){e=h+T(a,20)|0;if(N[e+8>>2]!=(f|0)){b=b|32;N[c+144>>2]=b;N[e+4>>2]=N[e+4>>2]|3}e=h+T(a+1|0,20)|0;if(N[e+8>>2]!=(f|0)){b=b|32;N[c+144>>2]=b;N[e+4>>2]=N[e+4>>2]|3}a=a+2|0;if((m|0)!=(a|0)){continue}break}}a=n+1|0;a=a>>>0>>0?g:a;b=a-1|0;e=O[(l+T(n,20)|0)+12|0];f=n;while(1){s:{if((b|0)==(f|0)){f=a;break s}f=f+1|0;if((e|0)==O[(l+T(f,20)|0)+12|0]){continue}}break}a=n;if(g>>>0>a>>>0){continue}break}}return 0}b=0;continue}}function vc(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,o=0;e=35;a:{if(!a|!N[a+88>>2]){break a}d=N[a+84>>2];if(!d){break a}b:{c:{e=N[d+156>>2];if(!e){break c}f=N[e+4>>2];if(!(f&1)){break c}g=N[d+88>>2];if(g){e=N[N[d+4>>2]+100>>2];Qa[N[e+8>>2]](e,g);e=N[d+156>>2];f=N[e+4>>2]}N[d+88>>2]=0;N[e+4>>2]=f&-2;break b}N[d+88>>2]=0}N[d+12>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+100>>2]=0;N[d+104>>2]=0;L[d+94|0]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;e=d- -64|0;N[e>>2]=0;N[e+4>>2]=0;N[d+72>>2]=0;N[d+76>>2]=0;N[d+80>>2]=0;N[d+84>>2]=0;N[d+108>>2]=0;N[d+112>>2]=0;N[d+116>>2]=0;N[d+120>>2]=0;N[d+124>>2]=0;N[d+128>>2]=0;N[d+132>>2]=0;N[d+136>>2]=0;N[d+140>>2]=0;N[d+144>>2]=0;N[d+148>>2]=0;N[d+152>>2]=0;d:{e:{c=c&1024?c|2049:c;c=c&1?c&-15|10:c;i=c&4194304?c&-5:c;j=i&2;f=N[a+96>>2];g=N[N[f+4>>2]+160>>2];if(j|!g|i&32768){break e}e=N[a+8>>2];if((e&8193)!=1){break e}f:{if(i&2048){break f}h=N[a+128>>2];c=N[h>>2];if(!N[h+8>>2]){if(c){break f}break e}if(c){break e}}g:{if(i&32){break g}c=N[f>>2];if(!(O[c+1|0]&4)){break g}if(ub(Qa[N[c+32>>2]](f,9676)|0,21771)){c=N[f+28>>2]==1}else{c=0}if(!(c|(O[N[f>>2]+1|0]&8)>>>3|(i&983040)!=65536)){e=N[a+8>>2];break g}e=N[a+8>>2];if(!(e&8)|!N[a+760>>2]|(P[a+286>>1]|N[a+684>>2])){break e}if(N[a+692>>2]){break e}}h:{if(!(e&2)|i&8){break h}if(Qa[N[N[f+12>>2]+72>>2]](d,N[a+88>>2],b,i|16384)|0){break h}c=0;if(N[d+72>>2]==1651078259){break d}}e=N[a+128>>2];f=N[e+24>>2];N[e+24>>2]=0;c=Qa[N[N[N[g>>2]+20>>2]+12>>2]](g,d,N[a+88>>2],b,i)|0;N[e+24>>2]=f;break d}e=Qa[N[N[f+12>>2]+72>>2]](d,N[a+88>>2],b,i)|0;if(e){break a}c=0;if(N[d+72>>2]!=1869968492){break d}h=M[d+110>>1];k=M[d+108>>1];if((h|k)&65535){e=6;if((h|0)<=0|(k|0)<=0){break a}m=N[d+120>>2];f=-1;while(1){g=M[(l<<1)+m>>1];if((g|0)>=(h|0)|(f|0)>=(g|0)){break a}f=g;l=l+1|0;if((k|0)!=(l|0)){continue}break}if((h-1|0)!=(f|0)){break a}}if(j){break d}i:{if(i>>>4&1){N[d+32>>2]=N[d+32>>2]&-64;e=N[d+44>>2];f=e&-64;N[d+44>>2]=f;g=N[d+48>>2];h=g&-64;N[d+48>>2]=h;N[d+36>>2]=N[d+36>>2]+63&-64;N[d+24>>2]=((e+N[d+24>>2]|0)+63&-64)-f;N[d+28>>2]=((g+N[d+28>>2]|0)+63&-64)-h;break i}N[d+44>>2]=N[d+44>>2]&-64;N[d+48>>2]=N[d+48>>2]&-64;e=N[d+32>>2];f=e&-64;N[d+32>>2]=f;g=N[d+36>>2];h=g+63&-64;N[d+36>>2]=h;N[d+28>>2]=h-(g-N[d+28>>2]&-64);N[d+24>>2]=((e+N[d+24>>2]|0)+63&-64)-f}N[d+40>>2]=N[d+40>>2]+32&-64;N[d+52>>2]=N[d+52>>2]+32&-64}j:{if(i&16){f=0;e=N[d+52>>2];break j}f=N[d+40>>2];e=0}N[d+64>>2]=f;N[d+68>>2]=e;if(!(!(L[a+8|0]&1)|i&8192)){e=N[a+88>>2];n=d,o=jb(N[d+56>>2],N[e+16>>2],64),N[n+56>>2]=o;n=d,o=jb(N[d+60>>2],N[e+20>>2],64),N[n+60>>2]=o}k:{if(i&2048){break k}h=N[a+128>>2];g=N[h+24>>2];if(!g){break k}k=d- -64|0;l:{m:{a=N[N[N[d+4>>2]+96>>2]+4>>2];e=N[a+156>>2];n:{if(!e){f=N[d+72>>2];break n}f=N[d+72>>2];if((f|0)==N[e+16>>2]){break m}}a=N[a+148>>2];if(a){while(1){e=N[a+8>>2];if(N[e+16>>2]==(f|0)){break m}a=N[a+4>>2];if(a){continue}break}}o:{if((f|0)!=1869968492){break o}if(g&1){lg(d+108|0,h);g=N[h+24>>2]}if(!(g&2)){break o}j=M[d+110>>1];if((j|0)<=0){break o}f=N[h+20>>2];g=N[h+16>>2];a=N[d+112>>2];if(j>>>0>=4){l=j&-4;e=0;while(1){N[a>>2]=g+N[a>>2];N[a+4>>2]=f+N[a+4>>2];N[a+8>>2]=g+N[a+8>>2];N[a+16>>2]=g+N[a+16>>2];N[a+24>>2]=g+N[a+24>>2];N[a+12>>2]=f+N[a+12>>2];N[a+20>>2]=f+N[a+20>>2];N[a+28>>2]=f+N[a+28>>2];a=a+32|0;e=e+4|0;if((l|0)!=(e|0)){continue}break}}j=j&3;if(!j){break o}e=0;while(1){N[a>>2]=g+N[a>>2];N[a+4>>2]=f+N[a+4>>2];a=a+8|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}break l}c=Qa[N[N[e+12>>2]+44>>2]](e,d,h,h+16|0)|0}id(k,h)}e=c;N[d+12>>2]=b;N[N[d+156>>2]+40>>2]=i;if(e){break a}e=0;if(i&1){break a}a=N[d+72>>2];if((a|0)==1651078259|(a|0)==1668246896){break a}a=i>>>16&15;a=a?a:i>>>11&2;if(i&4){b=N[d+4>>2];if(!b){return 6}i=N[N[b+96>>2]+4>>2];f=a;g=La-32|0;La=g;p:{q:{r:{if(!(O[N[d+156>>2]+42|0]&16)){break r}a=N[d+4>>2];b=N[d+12>>2];N[g+28>>2]=0;if(!(O[a+8|0]&8)|(!a|b>>>0>=Q[a+16>>2])){break r}c=N[N[a+540>>2]+132>>2];if(!c){break r}if(!(Qa[c|0](a,b,g+16|0,g+12|0,g+20|0)|0)){break r}if(!ei(a,0)){c=N[a+540>>2];s:{while(1){h=vc(a,N[g+16>>2],N[N[d+156>>2]+40>>2]&-1048581|4);if(h){break s}h=Qa[N[c+152>>2]](a,N[g+12>>2],d,N[a+84>>2])|0;if(h){break s}t:{if(!(O[a+8|0]&8)|b>>>0>=Q[a+16>>2]){break t}e=N[N[a+540>>2]+132>>2];if(!e){break t}if(Qa[e|0](a,b,g+16|0,g+12|0,g+20|0)|0){continue}}break}N[d+72>>2]=1651078259;h=0}b=N[a+84>>2];u:{if(!b){break u}j=N[b+4>>2];c=N[j+84>>2];if(!c){break u}k=N[N[j+96>>2]+8>>2];v:{if((b|0)==(c|0)){e=0;break v}while(1){a=N[c+8>>2];if(!a){break u}e=c;c=a;if((a|0)!=(b|0)){continue}break}}N[(e?e+8|0:j+84|0)>>2]=N[b+8>>2];a=N[b+20>>2];if(a){Qa[a|0](b)}jg(b);Qa[N[k+8>>2]](k,b)}if(!h){break q}}N[d+72>>2]=1869968492}h=N[d+72>>2];w:{if((h|0)!=1869968492){a=7;if(!i){break p}c=N[i+148>>2];if(!c){break p}e=i+148|0;while(1){b=N[c+8>>2];if((h|0)==N[b+16>>2]){break w}c=N[c+4>>2];if(c){continue}break}break p}b=N[i+156>>2];if(!b){a=7;break p}e=i+148|0;c=N[i+148>>2]}a=0;b=Qa[N[b+60>>2]](b,d,f,0)|0;if(!b){break p}while(1){if((b&255)!=19){a=b;break p}c=N[(c?c+4|0:e)>>2];if(!c){a=b;break p}a=N[d+72>>2];x:{while(1){i=N[c+8>>2];if((a|0)==N[i+16>>2]){break x}c=N[c+4>>2];if(c){continue}break}a=b;break p}a=0;b=Qa[N[i+60>>2]](i,d,f,0)|0;if(b){continue}break}break p}a=0}La=g+32|0;return a}kg(d,a,0)}return e}function nh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{k=N[b+4>>2];if(k>>>0>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0){break a}l=d-a|0;if(l>>>0<12){break a}c=N[b+12>>2]-12|0;N[b+12>>2]=c;if(O[a|0]|O[a+1|0]<<8|(c|0)<=0){break a}f=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b:{if(!f){break b}if(h>>>0>l>>>0){break a}c=c-h|0;N[b+12>>2]=c;if((c|0)>0){break b}break a}l=a+4|0;if(d>>>0>>0|d-l>>>0<4){break a}N[b+12>>2]=c-4;if((c|0)<5){break a}f=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);c:{d:{if(!f){break d}if(f&128){break a}f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0;e:{if(f>>>0>>0|d>>>0>>0){break e}i=d-f|0;if(i>>>0<2){break e}m=c-6|0;N[b+12>>2]=m;e=1;if((m|0)<=0){break e}m=a+h|0;f:{g:{h:{i:{j:{a=O[f|0]|O[f+1|0]<<8;switch((a<<8|a>>>8)&65535){case 2:break j;case 10:break e;case 0:break f;case 8:break g;case 6:break h;case 4:break i;default:break c}}i=f+2|0;if(i>>>0>>0|d>>>0>>0|d-i>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}h=O[i|0]|O[i+1|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<6){break e}g=O[f+4|0]|O[f+5|0]<<8;a=(g<<8|g>>>8)&65535;k:{if(!g){break k}g=f+12|0;if(g>>>0>d>>>0){break e}n=d-g|0;d=T(a,e);if(n>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=g+T(e,a-1|0)|0;if((O[c|0]|O[c+1|0]<<8)!=65535){break k}j=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=a+j|0;if(!n){break d}g=f+12|0;a=0;while(1){d=O[f+4|0]|O[f+5|0]<<8;e=(d<<8|d>>>8)&65535;c=0;l:{if(!d){break l}d=g+T(e-1|0,(h<<8|(h&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break l}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+e>>>0<=a>>>0){c=275552}else{k=N[b+4>>2];h=O[i|0]|O[i+1|0]<<8;c=g+T((h<<8|h>>>8)&65535,a)|0}if(c>>>0>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<6){break e}e=N[b+12>>2];j=e-6|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=c+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break e}j=e-8|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=O[c|0]|O[c+1|0]<<8;c=m+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}j=e-12|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>1073741823){break e}e=e<<2;if(e){c=c+4|0;if(c>>>0>d>>>0|e>>>0>d-c>>>0){break e}c=j-e|0;N[b+12>>2]=c;if((c|0)<=0){break e}}e=1;a=a+1|0;if((n|0)!=(a|0)){continue}break}break c}h=f+2|0;if(h>>>0>>0|d>>>0>>0|d-h>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}a=O[h|0]|O[h+1|0]<<8;k=(a<<8|a>>>8)&65535;if(k>>>0<6){break e}i=O[f+4|0]|O[f+5|0]<<8;a=(i<<8|i>>>8)&65535;e=0;m:{if(!i){break m}i=f+12|0;if(i>>>0>d>>>0){break e}g=d-i|0;d=T(a,k);if(g>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=i+T(k,a-1|0)|0;if((O[c|0]|O[c+1|0]<<8)!=65535){break m}e=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}i=a+e|0;if(!i){break d}k=f+12|0;c=0;while(1){d=O[f+4|0]|O[f+5|0]<<8;e=(d<<8|d>>>8)&65535;a=0;n:{if(!d){break n}d=O[h|0]|O[h+1|0]<<8;d=k+T(e-1|0,(d<<8|d>>>8)&65535)|0;a=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break n}a=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(a+e>>>0<=c>>>0){a=275552}else{a=O[h|0]|O[h+1|0]<<8;a=k+T((a<<8|a>>>8)&65535,c)|0}if(a>>>0>2]){break e}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break e}e=N[b+12>>2];g=e-6|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;j=O[a+2|0]|O[a+3|0]<<8;j=(j<<8|j>>>8)&65535;if(g>>>0>>0){break e}a=a+4|0;if(a>>>0>d>>>0|d-a>>>0<2){break e}d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){break e}a=O[a|0]|O[a+1|0]<<8;if(!mh(f+((a<<8|a>>>8)&65535)|0,b,(g-j|0)+1|0,m)){break e}e=1;c=c+1|0;if((i|0)!=(c|0)){continue}break}break c}i=f+2|0;if(i>>>0>>0|d>>>0>>0|d-i>>>0<10){break e}c=c-16|0;N[b+12>>2]=c;if((c|0)<=0){break e}h=O[i|0]|O[i+1|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<4){break e}g=O[f+4|0]|O[f+5|0]<<8;a=(g<<8|g>>>8)&65535;if(g){g=f+12|0;if(g>>>0>d>>>0){break e}j=d-g|0;d=T(a,e);if(j>>>0>>0){break e}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=g+T(e,a-1|0)|0;c=(O[c|0]|O[c+1|0]<<8)==65535?-1:0}else{c=0}n=c+a|0;if(!n){break d}g=f+12|0;a=0;while(1){c=O[f+4|0]|O[f+5|0]<<8;d=(c<<8|c>>>8)&65535;if(c){c=g+T(d-1|0,(h<<8|(h&65280)>>>8)&65535)|0;c=(O[c|0]|O[c+1|0]<<8)==65535?-1:0}else{c=0}if(c+d>>>0<=a>>>0){c=275552}else{k=N[b+4>>2];h=O[i|0]|O[i+1|0]<<8;c=g+T((h<<8|h>>>8)&65535,a)|0}if(c>>>0>>0){break e}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<4){break e}e=N[b+12>>2];j=e-4|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=c+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break e}j=e-6|0;N[b+12>>2]=j;if((j|0)<=0){break e}c=O[c|0]|O[c+1|0]<<8;c=m+((c<<8|c>>>8)&65535)|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<4){break e}j=e-10|0;N[b+12>>2]=j;if((j|0)<=0){break e}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>1073741823){break e}e=e<<2;if(e){c=c+4|0;if(c>>>0>d>>>0|e>>>0>d-c>>>0){break e}c=j-e|0;N[b+12>>2]=c;if((c|0)<=0){break e}}e=1;a=a+1|0;if((n|0)!=(a|0)){continue}break}break c}if(i>>>0<6){break e}a=c-12|0;N[b+12>>2]=a;if((a|0)<=0){break e}a=O[f+4|0]|O[f+5|0]<<8;if(!mh(f+6|0,b,(a<<8|a>>>8)&65535,m)){break e}break c}if(mh(f+2|0,b,N[b+36>>2],m)){break c}}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;e=0;if(!O[b+24|0]){break c}L[l|0]=0;L[l+1|0]=0;L[l+2|0]=0;L[l+3|0]=0}e=1}return e}return 0}function Ej(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-16|0;La=f;c=N[a+4>>2];d=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];a:{b:{c:{d:{e:{f:{if(b){b=N[a+8>>2];N[f+12>>2]=N[a+16>>2];e=N[b+96>>2];g=N[e+28>>2];i=N[b+100>>2];h=f+12|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[g|0](b,i,d,h,e)|0)){break f}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break b}d=N[c+84>>2];b=N[c+80>>2]}g:{if((b|0)!=(d|0)){break g}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break g}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break g}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}if(Tg(a,0,d)){break c}b=N[a+8>>2];N[f+12>>2]=N[a+16>>2];e=N[b+96>>2];g=N[e+28>>2];i=N[b+100>>2];h=f+12|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[g|0](b,i,d,h,e)|0)){break e}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break b}d=N[c+84>>2];b=N[c+80>>2]}h:{if((b|0)!=(d|0)){break h}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break h}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break h}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}if(Tg(a,1,d)){break c}}if((P[(N[c+80>>2]+T(N[c+64>>2],20)|0)+16>>1]&31)!=29){break d}i:{if((d|0)<=8191){b=4608;if((d|0)==32|(d|0)==160){break i}break d}j:{k:{switch(d+-8192|0){case 0:case 2:b=512;break i;case 4:b=768;break i;case 5:b=1024;break i;case 6:b=1536;break i;case 7:b=4864;break i;case 8:b=5120;break i;case 9:b=1280;break i;case 10:b=4096;break i;case 47:b=5376;break i;case 95:b=4352;break i;case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 92:case 93:case 94:break d;case 1:case 3:break j;default:break k}}if((d|0)==12288){break j}break d}b=256}e=N[a+8>>2];N[f+8>>2]=0;g=N[e+96>>2];j=N[g+28>>2];i=N[e+100>>2];h=f+8|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}if(!(Qa[j|0](e,i,32,h,g)|0)){e=N[c+28>>2];N[f+8>>2]=e;if(!e){break d}}a=N[c+80>>2];d=N[c+64>>2];e=a+T(d,20)|0;g=P[e+16>>1];if((g&31)==29){M[e+16>>1]=g&255|b;d=N[c+64>>2];a=N[c+80>>2]}N[(a+T(d,20)|0)+12>>2]=N[f+8>>2];l:{if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break l}d=N[c+84>>2];b=N[c+80>>2]}m:{if((b|0)!=(d|0)){break m}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break m}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break m}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1}N[c+144>>2]=N[c+144>>2]|4;break b}n:{if((d|0)!=8209){break n}a=N[a+8>>2];N[f+4>>2]=0;b=N[a+96>>2];d=N[b+28>>2];h=N[a+100>>2];e=f+4|0;b=N[b+12>>2];if(b){b=N[b+8>>2]}else{b=0}if(!(Qa[d|0](a,h,8208,e,b)|0)){break n}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+4>>2];if(O[c+62|0]){o:{if(N[c+84>>2]==N[c+80>>2]){a=N[c+72>>2];if((a|0)==N[c+64>>2]){break o}}if(!xd(c)){break b}b=N[c+80>>2]+T(N[c+64>>2],20)|0;d=N[b+4>>2];a=N[c+84>>2]+T(N[c+72>>2],20)|0;N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}N[(N[c+80>>2]+T(N[c+64>>2],20)|0)+12>>2]=N[f+12>>2];if(O[c+62|0]){b=N[c+80>>2];d=N[c+84>>2];a=N[c+72>>2];if(!((b|0)==(d|0)&(a|0)==N[c+64>>2])){a=a+1|0;if(!(!a|a>>>0>2])){if(!gb(c,a)){break b}d=N[c+84>>2];b=N[c+80>>2]}p:{if((b|0)!=(d|0)){break p}a=N[c+72>>2];if(a+1>>>0<=N[c+64>>2]+1>>>0){d=b;break p}if(!O[c+62|0]){break a}d=N[c+88>>2];N[c+84>>2]=d;a=T(a,20);if(!a){break p}F(d,b,a);d=N[c+84>>2];b=N[c+80>>2]}a=T(N[c+72>>2],20)+d|0;b=T(N[c+64>>2],20)+b|0;d=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=d;N[a+16>>2]=N[b+16>>2];d=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=d;a=N[c+72>>2]}N[c+72>>2]=a+1}N[c+64>>2]=N[c+64>>2]+1;break b}N[c+64>>2]=N[c+64>>2]+1}La=f+16|0;return}ba(8694,17855,209,11932);B()}function Vn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;j=La-80|0;La=j;N[j+76>>2]=b;y=j+55|0;s=j+56|0;a:{b:{c:{d:{e:while(1){k=b;if((p^2147483647)<(h|0)){break d}p=h+p|0;f:{g:{h:{h=k;i=O[h|0];if(i){while(1){i:{b=i&255;j:{if(!b){b=h;break j}if((b|0)!=37){break i}i=h;while(1){if(O[i+1|0]!=37){b=i;break j}h=h+1|0;m=O[i+2|0];b=i+2|0;i=b;if((m|0)==37){continue}break}}h=h-k|0;x=p^2147483647;if((h|0)>(x|0)){break d}if(a){ac(a,k,h)}if(h){continue e}N[j+76>>2]=b;h=b+1|0;q=-1;i=L[b+1|0];if(!(O[b+2|0]!=36|i-48>>>0>=10)){q=i-48|0;u=1;h=b+3|0}N[j+76>>2]=h;n=0;i=L[h|0];b=i-32|0;k:{if(b>>>0>31){o=h;break k}o=h;b=1<>2]=o;n=b|n;i=L[h+1|0];b=i-32|0;if(b>>>0>=32){break k}h=o;b=1<>>0>=10)){N[((b<<2)+e|0)-192>>2]=10;i=o+3|0;u=1;b=N[((L[o+1|0]<<3)+d|0)-384>>2];break m}if(u){break h}i=o+1|0;if(!a){N[j+76>>2]=i;u=0;r=0;break l}b=N[c>>2];N[c>>2]=b+4;u=0;b=N[b>>2]}N[j+76>>2]=i;r=b;if((b|0)>=0){break l}r=0-r|0;n=n|8192;break l}r=Un(j+76|0);if((r|0)<0){break d}i=N[j+76>>2]}h=0;l=-1;n:{if(O[i|0]!=46){b=i;w=0;break n}if(O[i+1|0]==42){b=L[i+2|0];o:{if(!(O[i+3|0]!=36|b-48>>>0>=10)){N[((b<<2)+e|0)-192>>2]=10;b=i+4|0;l=N[((L[i+2|0]<<3)+d|0)-384>>2];break o}if(u){break h}b=i+2|0;l=0;if(!a){break o}i=N[c>>2];N[c>>2]=i+4;l=N[i>>2]}N[j+76>>2]=b;w=(l^-1)>>>31|0;break n}N[j+76>>2]=i+1;l=Un(j+76|0);b=N[j+76>>2];w=1}while(1){t=h;o=28;m=b;h=L[b|0];if(h-123>>>0<4294967238){break c}b=m+1|0;h=O[(h+T(t,58)|0)+583503|0];if(h-1>>>0<8){continue}break}N[j+76>>2]=b;p:{q:{if((h|0)!=27){if(!h){break c}if((q|0)>=0){N[(q<<2)+e>>2]=h;i=(q<<3)+d|0;h=N[i+4>>2];N[j+64>>2]=N[i>>2];N[j+68>>2]=h;break q}if(!a){break f}Tn(j- -64|0,h,c,g);break p}if((q|0)>=0){break c}}h=0;if(!a){continue e}}i=n&-65537;n=n&8192?i:n;q=0;v=8226;o=s;r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{h=L[m|0];h=t?(h&15)==3?h&-33:h:h;switch(h-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 g;default:break G}}H:{switch(h-65|0){case 0:case 4:case 5:case 6:break s;case 2:break v;case 1:case 3:break g;default:break H}}if((h|0)==83){break w}break g}i=N[j+64>>2];m=N[j+68>>2];v=8226;break z}h=0;I:{switch(t&255){case 0:N[N[j+64>>2]>>2]=p;continue e;case 1:N[N[j+64>>2]>>2]=p;continue e;case 2:k=N[j+64>>2];N[k>>2]=p;N[k+4>>2]=p>>31;continue e;case 3:M[N[j+64>>2]>>1]=p;continue e;case 4:L[N[j+64>>2]]=p;continue e;case 6:N[N[j+64>>2]>>2]=p;continue e;case 7:break I;default:continue e}}k=N[j+64>>2];N[k>>2]=p;N[k+4>>2]=p>>31;continue e}l=l>>>0<=8?8:l;n=n|8;h=120}k=s;z=h&32;i=N[j+64>>2];m=N[j+68>>2];if(i|m){while(1){k=k-1|0;L[k|0]=z|O[(i&15)+584032|0];A=!m&i>>>0>15|(m|0)!=0;t=m;m=m>>>4|0;i=(t&15)<<28|i>>>4;if(A){continue}break}}if(!(N[j+64>>2]|N[j+68>>2])|!(n&8)){break y}v=(h>>>4|0)+8226|0;q=2;break y}h=s;k=N[j+68>>2];m=k;i=N[j+64>>2];if(k|i){while(1){h=h-1|0;L[h|0]=i&7|48;t=!m&i>>>0>7|(m|0)!=0;k=m;m=k>>>3|0;i=(k&7)<<29|i>>>3;if(t){continue}break}}k=h;if(!(n&8)){break y}h=s-k|0;l=(h|0)<(l|0)?l:h+1|0;break y}i=N[j+64>>2];h=N[j+68>>2];m=h;if((h|0)<0){k=0-(m+((i|0)!=0)|0)|0;m=k;i=0-i|0;N[j+64>>2]=i;N[j+68>>2]=k;q=1;v=8226;break z}if(n&2048){q=1;v=8227;break z}q=n&1;v=q?8228:8226}k=ue(i,m,s)}if((l|0)<0?w:0){break d}n=w?n&-65537:n;h=N[j+64>>2];i=N[j+68>>2];if(!(l|(h|i)!=0)){k=s;l=0;break g}h=!(h|i)+(s-k|0)|0;l=(h|0)<(l|0)?l:h;break g}h=N[j+64>>2];k=h?h:23499;h=$n(k,l>>>0>=2147483647?2147483647:l);o=h+k|0;if((l|0)>=0){n=i;l=h;break g}n=i;l=h;if(O[o|0]){break d}break g}if(l){i=N[j+64>>2];break u}h=0;jc(a,32,r,0,n);break t}N[j+12>>2]=0;N[j+8>>2]=N[j+64>>2];i=j+8|0;N[j+64>>2]=i;l=-1}h=0;J:{while(1){k=N[i>>2];if(!k){break J}m=pg(j+4|0,k);k=(m|0)<0;if(!(k|m>>>0>l-h>>>0)){i=i+4|0;h=h+m|0;if(l>>>0>h>>>0){continue}break J}break}if(k){break b}}o=61;if((h|0)<0){break c}jc(a,32,r,h,n);if(!h){h=0;break t}o=0;i=N[j+64>>2];while(1){k=N[i>>2];if(!k){break t}k=pg(j+4|0,k);o=k+o|0;if(o>>>0>h>>>0){break t}ac(a,j+4|0,k);i=i+4|0;if(h>>>0>o>>>0){continue}break}}jc(a,32,r,h,n^8192);h=(h|0)<(r|0)?r:h;continue e}if((l|0)<0?w:0){break d}o=61;h=Qa[f|0](a,S[j+64>>3],r,l,n,h)|0;if((h|0)>=0){continue e}break c}L[j+55|0]=N[j+64>>2];l=1;k=y;n=i;break g}i=O[h+1|0];h=h+1|0;continue}}if(a){break a}if(!u){break f}h=1;while(1){a=N[(h<<2)+e>>2];if(a){Tn((h<<3)+d|0,a,c,g);p=1;h=h+1|0;if((h|0)!=10){continue}break a}break}p=1;if(h>>>0>=10){break a}while(1){if(N[(h<<2)+e>>2]){break h}h=h+1|0;if((h|0)!=10){continue}break}break a}o=28;break c}m=o-k|0;i=(l|0)>(m|0)?l:m;if((i|0)>(q^2147483647)){break d}o=61;l=i+q|0;h=(l|0)<(r|0)?r:l;if((x|0)<(h|0)){break c}jc(a,32,h,l,n);ac(a,v,q);jc(a,48,h,l,n^65536);jc(a,48,i,m,0);ac(a,k,m);jc(a,32,h,l,n^8192);continue}break}p=0;break a}o=61}N[147316]=o}p=-1}La=j+80|0;return p}function sf(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0;N[a+44>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+1404>>2]=0;N[a+1392>>2]=0;N[a+56>>2]=0;d=N[a>>2];x=N[a+16>>2];y=N[a+8>>2];j=N[a+12>>2];k=N[a+4>>2];a:{b:{c=M[b>>1];c:{d:{e:{if(c>>>0<=8){if(N[a+40>>2]){break d}N[a+40>>2]=a+2752;g=8;break e}h=N[a+32>>2];if(h>>>0>=c>>>0){break d}e=N[a+40>>2];if((e|0)==(a+2752|0)){N[a+40>>2]=0;e=0}c=c+3|0;if((c|h)<0){c=6;break a}f:{g=c&-4;g:{if(!g){if(!e){break g}Qa[N[d+8>>2]](d,e);N[a+40>>2]=0;break e}c=10;if((g|0)>536870911){break a}h:{if(!h){l=Qa[N[d+4>>2]](d,g<<2)|0;c=!l<<6;break h}c=Qa[N[d+12>>2]](d,h<<2,g<<2,e)|0;l=c?c:e;c=!c<<6}if(c|(g|0)<=(h|0)|!l){break f}C((h<<2)+l|0,0,g-h<<2)}N[a+40>>2]=l;break e}N[a+40>>2]=l;if(c){break c}}N[a+32>>2]=g}p=M[b+2>>1];c=p+2|0;i:{if(c>>>0<=96){if(N[a+28>>2]){break i}N[a+20>>2]=96;N[a+28>>2]=a+2784;break i}h=N[a+20>>2];if(h>>>0>=c>>>0){break i}c=N[a+28>>2];if((c|0)==(a+2784|0)){N[a+28>>2]=0;c=0}e=p+11|0;if((e|h)<0){e=6;break b}j:{k:{g=e&-8;l:{if(!g){e=0;if(!c){break l}Qa[N[d+8>>2]](d,c);N[a+28>>2]=0;break j}e=10;if((g|0)>53687091){break b}m:{if(!h){e=Qa[N[d+4>>2]](d,T(g,40))|0;c=!e<<6;break m}d=Qa[N[d+12>>2]](d,T(h,40),T(g,40),c)|0;e=d?d:c;c=!d<<6}if(c|(g|0)<=(h|0)|!e){break k}C(T(h,40)+e|0,0,T(g-h|0,40))}N[a+28>>2]=e;break j}N[a+28>>2]=e;if(c){break c}}N[a+20>>2]=g;p=M[b+2>>1]}N[a+24>>2]=p;g=M[b>>1];N[a+1416>>2]=-1;N[a+68>>2]=2;N[a+36>>2]=g;if((eg(b)|0)==1){N[a+1416>>2]=1;N[a+68>>2]=-2}N[a+12>>2]=j;N[a+4>>2]=k;N[a+16>>2]=x;N[a+8>>2]=y;if(p){h=N[a+28>>2];v=h+T(p,40)|0;r=T(P[N[N[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;l=N[b+12>>2];if((p|0)>0){c=j>>31;m=(c^j)-c|0;z=m&65535;A=m>>>16|0;B=m>>>8|0;c=k>>31;o=(c^k)-c|0;D=o&65535;E=o>>>16|0;F=o>>>8|0;s=N[b+8>>2];u=N[b+4>>2];d=u;c=h;n=M[l>>1];e=c+T(n,40)|0;b=e;while(1){M[c+2>>1]=1028;f=N[d>>2];M[c+12>>1]=f;q=N[d+4>>2];M[c+14>>1]=q;i=f>>31;i=(i^f)-i|0;n:{if(i+F>>>0<=8190){i=T(i,o)+32768>>>16|0;break n}t=i&65535;i=T(t,E)+T(o,i>>>16|0)+(T(t,D)+32768>>>16)|0}f=f>>31|1;f=((((k|0)<0?0-f|0:f)|0)<0?0-i|0:i)+y|0;N[c+4>>2]=f;N[c+16>>2]=f;f=q>>31;f=(f^q)-f|0;o:{if(f+B>>>0<=8190){i=T(f,m)+32768>>>16|0;break o}i=f&65535;i=T(i,A)+T(m,f>>>16|0)+(T(i,z)+32768>>>16)|0}f=i;t=0-f|0;f=q>>31|1;f=((((j|0)<0?0-f|0:f)|0)<0?t:i)+x|0;N[c+8>>2]=f;N[c+20>>2]=f;f=(n<<16>>16<<3)+u|0;M[e+12>>1]=N[f>>2];M[e+14>>1]=N[f+4>>2];f=O[s|0]&3;M[c>>1]=f?((f|0)==2)<<1:1;i=M[c+14>>1]-M[b+14>>1]|0;f=i>>31;t=M[c+12>>1]-M[b+12>>1]|0;q=t>>31;if((f^i)-f+((q^t)-q)>>>0>>0){M[b>>1]=P[b>>1]|32}N[c+36>>2]=b;N[b+32>>2]=c;p:{if((c|0)!=(e|0)){b=c;break p}w=w+1|0;if((g|0)<=(w|0)){b=c;e=c;break p}n=M[(w<<1)+l>>1];b=T(n,40)+h|0;e=b}s=s+1|0;d=d+8|0;c=c+40|0;if(v>>>0>c>>>0){continue}break}}if((g|0)>0){c=N[a+40>>2];e=c+(g<<2)|0;b=0;while(1){N[c>>2]=T(b<<16>>16,40)+h;b=P[l>>1]+1|0;l=l+2|0;c=c+4|0;if(e>>>0>c>>>0){continue}break}n=N[a+40>>2];s=n+(g<<2)|0;f=(r<<1)-1|0;while(1){e=N[n>>2];b=P[e+12>>1];c=e;while(1){q:{g=b;a=c;c=N[c+36>>2];if((e|0)==(c|0)){l=P[a+14>>1];break q}l=M[a+14>>1];k=l-M[c+14>>1]|0;d=k>>31;b=M[c+12>>1];m=(g<<16>>16)-b|0;j=m>>31;if((f|0)>((d^k)-d+((j^m)-j)|0)){continue}}break}N[a+24>>2]=0;N[a+28>>2]=0;c=0;d=a;e=a;b=0;while(1){k=g<<16>>16;g=l<<16>>16;d=N[d+32>>2];l=M[d+14>>1];b=(l-g|0)+b|0;j=b>>31;g=M[d+12>>1];c=(g-k|0)+c|0;k=c>>31;j=(b^j)-j|0;k=(c^k)-k|0;r:{if(j+k>>>0>>0){M[d>>1]=P[d>>1]|16;break r}m=(d-e|0)/40|0;N[e+24>>2]=m;N[d+28>>2]=0-m;m=0-c|0;s:{if((b|0)>=(c|0)){i=c;c=(b|0)<(m|0);k=c?b:i;j=k>>31;j=(j^k)-j|0;o=c?-1:2;c=c?m:b;break s}o=1;if((b|0)>=(m|0)){break s}c=0-b|0;o=254;j=k}b=(T(j,14)|0)>=(c|0)?4:o;L[e+3|0]=b;c=N[e+32>>2];if((d|0)!=(c|0)){while(1){L[c+3|0]=b;L[c+2|0]=b;c=N[c+32>>2];if((d|0)!=(c|0)){continue}break}}L[d+2|0]=b;b=(a-d|0)/40|0;N[d+24>>2]=b;c=0;N[a+28>>2]=0-b;e=d;b=0}if((a|0)!=(d|0)){continue}break}n=n+4|0;if(s>>>0>n>>>0){continue}break}}c=0;if((p|0)<=0){break c}c=h;while(1){e=P[c>>1];t:{if(e&16|O[c+2|0]!=4|O[c+3|0]!=4){break t}d=N[c+24>>2];a=T(d,40)+c|0;b=M[c+12>>1];u=M[a+12>>1]-b|0;i=b;g=N[c+28>>2];b=T(g,40)+c|0;if((u^i-M[b+12>>1])<0){break t}j=M[c+14>>1];if((j-M[b+14>>1]^M[a+14>>1]-j)<0){break t}M[c>>1]=e|16;e=b;b=(T(d-g|0,40)|0)/40|0;N[e+24>>2]=b;N[a+28>>2]=0-b}c=c+40|0;if(v>>>0>c>>>0){continue}break}while(1){c=P[h>>1];u:{if(c&16){break u}v:{if(c&3){break v}a=O[h+3|0];b=O[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break v}p=N[h+24>>2];e=T(p,40)+h|0;k=M[e+12>>1];d=M[h+12>>1];n=k-d|0;a=n>>31;l=M[e+14>>1];j=M[h+14>>1];m=l-j|0;b=m>>31;i=d;o=N[h+28>>2];d=T(o,40)+h|0;r=M[d+12>>1];s=i-r|0;g=s>>31;f=M[d+14>>1];q=j-f|0;j=q>>31;r=k-r|0;k=r>>31;f=l-f|0;l=f>>31;a=(a^n)-a|0;b=(b^m)-b|0;i=(T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;a=(g^s)-g|0;b=(j^q)-j|0;i=i+((T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0)|0;a=(k^r)-k|0;b=(f^l)-l|0;a=(T(a>>>0>>0?a:b,3)>>>3|0)+(a>>>0>b>>>0?a:b)|0;if((i-a|0)>=(a>>>4|0)){break u}a=(T(p-o|0,40)|0)/40|0;N[d+24>>2]=a;N[e+28>>2]=0-a;break v}if(b<<24>>24!=(0-(a<<24>>24)|0)){break u}}M[h>>1]=c|16}h=h+40|0;if(v>>>0>h>>>0){continue}break}}c=0}return c}N[a+28>>2]=c;return e}N[a+40>>2]=e;return c}function Hj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=(b<<4)+a|0;if(b>>>0>9){while(1){f=(b<<4)-16|0;g=f+a|0;i=g-16|0;d=N[a+16>>2];c=(b<<3&-16)+a|0;b=N[c>>2];a:{if((d|0)!=(b|0)){b=(b|0)>(d|0)?-1:1;break a}b:{if(O[a+24|0]){break b}b=N[c+4>>2];d=N[a+20>>2];if((b^d)>>>0<2){break b}b=(b|0)>(d|0)?-1:1;break a}b=N[a+28>>2];d=N[c+12>>2];b=b>>>0>>0?-1:b>>>0>d>>>0}e=a+16|0;h=(b|0)>0;b=h?e:c;j=N[b>>2];d=N[i>>2];c:{d:{if((j|0)!=(d|0)){if((d|0)<=(j|0)){break d}break c}e:{if(O[b+8|0]){break e}j=N[g-12>>2];l=N[b+4>>2];if((j^l)>>>0<2){break e}if((j|0)<=(l|0)){break d}break c}if(Q[b+12>>2]<=Q[g-4>>2]){break c}}b=h?c:e;c=N[b>>2];f:{if((c|0)!=(d|0)){c=(c|0)<(d|0)?-1:1;break f}g:{if(O[b+8|0]){break g}c=N[g-12>>2];d=N[b+4>>2];if((c^d)>>>0<2){break g}c=(c|0)>(d|0)?-1:1;break f}c=N[b+12>>2];d=N[g-4>>2];c=c>>>0>>0?-1:c>>>0>d>>>0}b=(c|0)>0?b:i}if((b|0)!=(g|0)){c=O[b|0];L[b|0]=O[g|0];L[g|0]=c;c=O[b+1|0];L[b+1|0]=O[g+1|0];L[g+1|0]=c;c=O[b+2|0];L[b+2|0]=O[g+2|0];L[g+2|0]=c;c=O[b+3|0];L[b+3|0]=O[g+3|0];L[g+3|0]=c;c=O[b+4|0];L[b+4|0]=O[g+4|0];L[g+4|0]=c;c=O[b+5|0];L[b+5|0]=O[g+5|0];L[g+5|0]=c;c=O[b+6|0];L[b+6|0]=O[g+6|0];L[g+6|0]=c;c=O[b+7|0];L[b+7|0]=O[g+7|0];L[g+7|0]=c;c=O[b+8|0];L[b+8|0]=O[g+8|0];L[g+8|0]=c;c=O[b+9|0];L[b+9|0]=O[g+9|0];L[g+9|0]=c;c=O[b+10|0];L[b+10|0]=O[g+10|0];L[g+10|0]=c;c=O[b+11|0];L[b+11|0]=O[g+11|0];L[g+11|0]=c;c=O[b+12|0];L[b+12|0]=O[g+12|0];L[g+12|0]=c;c=O[b+13|0];L[b+13|0]=O[g+13|0];L[g+13|0]=c;c=O[b+14|0];L[b+14|0]=O[g+14|0];L[g+14|0]=c;c=O[b+15|0];L[b+15|0]=O[g+15|0];L[g+15|0]=c}h:{if((f|0)<=0){d=0;break h}i=g;c=g;d=a;b=d;while(1){i:{j:{e=N[b>>2];h=N[g>>2];k:{if((e|0)!=(h|0)){if((e|0)<(h|0)){break k}break j}l:{if(O[b+8|0]){break l}e=N[g+4>>2];h=N[b+4>>2];if((e^h)>>>0<2){break l}if((e|0)<=(h|0)){break j}break k}e=N[b+12>>2];h=N[g+12>>2];if(e>>>0>>0){break k}if(e>>>0>h>>>0){break j}if(b>>>0>d>>>0){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;e=O[d+1|0];L[d+1|0]=O[b+1|0];L[b+1|0]=e;e=O[d+2|0];L[d+2|0]=O[b+2|0];L[b+2|0]=e;e=O[d+3|0];L[d+3|0]=O[b+3|0];L[b+3|0]=e;e=O[d+4|0];L[d+4|0]=O[b+4|0];L[b+4|0]=e;e=O[d+5|0];L[d+5|0]=O[b+5|0];L[b+5|0]=e;e=O[d+6|0];L[d+6|0]=O[b+6|0];L[b+6|0]=e;e=O[d+7|0];L[d+7|0]=O[b+7|0];L[b+7|0]=e;e=O[d+8|0];L[d+8|0]=O[b+8|0];L[b+8|0]=e;e=O[d+9|0];L[d+9|0]=O[b+9|0];L[b+9|0]=e;e=O[d+10|0];L[d+10|0]=O[b+10|0];L[b+10|0]=e;e=O[d+11|0];L[d+11|0]=O[b+11|0];L[b+11|0]=e;e=O[d+12|0];L[d+12|0]=O[b+12|0];L[b+12|0]=e;e=O[d+13|0];L[d+13|0]=O[b+13|0];L[b+13|0]=e;e=O[d+14|0];L[d+14|0]=O[b+14|0];L[b+14|0]=e;e=O[d+15|0];L[d+15|0]=O[b+15|0];L[b+15|0]=e}d=d+16|0}b=b+16|0;if(c>>>0>b>>>0){continue}break i}m:{if(b>>>0>=c>>>0){break m}while(1){n:{h=c;c=c-16|0;e=N[c>>2];f=N[g>>2];o:{if((e|0)!=(f|0)){if((e|0)>=(f|0)){break o}break n}p:{if(O[h-8|0]){break p}e=N[g+4>>2];f=N[h-12>>2];if((e^f)>>>0<2){break p}if((e|0)>(f|0)){break n}break o}e=N[h-4>>2];f=N[g+12>>2];if(e>>>0>>0){break n}if(e>>>0>f>>>0){break o}e=i-16|0;if(h>>>0>>0){f=c;i=e;while(1){j=O[f|0];L[f|0]=O[i|0];L[i|0]=j;i=i+1|0;f=f+1|0;if(h>>>0>f>>>0){continue}break}}i=e}if(b>>>0>>0){continue}break m}break}if(b>>>0>>0){e=O[b|0];L[b|0]=O[c|0];L[c|0]=e;e=O[b+1|0];f=h-15|0;L[b+1|0]=O[f|0];L[f|0]=e;e=O[b+2|0];f=h-14|0;L[b+2|0]=O[f|0];L[f|0]=e;e=O[b+3|0];f=h-13|0;L[b+3|0]=O[f|0];L[f|0]=e;e=O[b+4|0];f=h-12|0;L[b+4|0]=O[f|0];L[f|0]=e;e=O[b+5|0];f=h-11|0;L[b+5|0]=O[f|0];L[f|0]=e;e=O[b+6|0];f=h-10|0;L[b+6|0]=O[f|0];L[f|0]=e;e=O[b+7|0];f=h-9|0;L[b+7|0]=O[f|0];L[f|0]=e;e=O[b+8|0];f=h-8|0;L[b+8|0]=O[f|0];L[f|0]=e;e=O[b+9|0];f=h-7|0;L[b+9|0]=O[f|0];L[f|0]=e;e=O[b+10|0];f=h-6|0;L[b+10|0]=O[f|0];L[f|0]=e;e=O[b+11|0];f=h-5|0;L[b+11|0]=O[f|0];L[f|0]=e;e=O[b+12|0];f=h-4|0;L[b+12|0]=O[f|0];L[f|0]=e;e=O[b+13|0];f=h-3|0;L[b+13|0]=O[f|0];L[f|0]=e;e=O[b+14|0];f=h-2|0;L[b+14|0]=O[f|0];L[f|0]=e;e=O[b+15|0];h=h-1|0;L[b+15|0]=O[h|0];L[h|0]=e}b=b+16|0}if(b>>>0>>0){continue}}break}f=c-d|0;q:{if((a|0)==(d|0)|(c|0)==(d|0)){break q}b=d-a|0;if(b>>>0>f>>>0){if((f|0)<=0){break q}g=a+f|0;b=a+b|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break q}if((b|0)<=0){break q}g=a+b|0;b=a+f|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}d=i-c|0;if((c|0)==(i|0)|(i|0)==(k|0)){break h}b=k-i|0;if(b>>>0>>0){if((b|0)<=0){break h}g=b+c|0;b=c+d|0;while(1){i=O[c|0];L[c|0]=O[b|0];L[b|0]=i;b=b+1|0;c=c+1|0;if(g>>>0>c>>>0){continue}break}break h}if((d|0)<=0){break h}g=c+d|0;b=b+c|0;while(1){i=O[c|0];L[c|0]=O[b|0];L[b|0]=i;b=b+1|0;c=c+1|0;if(g>>>0>c>>>0){continue}break}}Hj(a,f>>>4|0);a=k-d|0;k=a+(d&-16)|0;b=d>>>4|0;if(d>>>0>=160){continue}break}}i=a+16|0;if(k>>>0>i>>>0){while(1){c=i;r:{if(c>>>0<=a>>>0){break r}while(1){g=c-16|0;b=N[g>>2];d=N[c>>2];s:{if((b|0)!=(d|0)){if((b|0)<(d|0)){break r}break s}t:{if(O[c-8|0]){break t}b=N[c+4>>2];d=N[c-12>>2];if((b^d)>>>0<2){break t}if((b|0)>(d|0)){break r}break s}if(Q[c-4>>2]<=Q[c+12>>2]){break r}}b=g;d=c;while(1){e=O[b|0];L[b|0]=O[d|0];L[d|0]=e;d=d+1|0;b=b+1|0;if(c>>>0>b>>>0){continue}break}c=g;if(c>>>0>a>>>0){continue}break}}i=i+16|0;if(k>>>0>i>>>0){continue}break}}}function lu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-160|0;La=h;f=N[e+32>>2];if(f){g=N[f+100>>2]}else{g=0}a:{b:{if(bb(a,19233,7)){break b}c:{i=O[a+7|0];switch(i|0){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}c=0;if(!f|!N[N[e+36>>2]+8>>2]){break a}j=(i?-8:-7)+b|0;k=j+1|0;d=N[f+88>>2];e=k+d|0;if((d|e)<0){c=6;break a}g=N[f+84>>2];c=N[f+100>>2];d:{e:{f:{if(!e){b=0;if(!g){break f}Qa[N[c+8>>2]](c,g);N[f+84>>2]=0;break d}g:{if(!d){b=Qa[N[c+4>>2]](c,e)|0;c=!b<<6;break g}c=Qa[N[c+12>>2]](c,d,e,g)|0;b=c?c:g;c=!c<<6}if(c|(d|0)>=(e|0)|!b){break e}C(b+d|0,0,k)}N[f+84>>2]=b;break d}N[f+84>>2]=b;if(c){break a}}b=N[f+88>>2]+b|0;F(b,i?a+8|0:a+7|0,j);L[b+j|0]=10;N[f+88>>2]=N[f+88>>2]+k;c=0;break a}h:{i=N[e>>2];if(!(i&1)){d=N[e+56>>2];c=176;if(bb(a,19203,9)){break a}i:{switch(O[a+9|0]){case 0:case 9:case 10:case 13:case 32:break i;default:break a}}N[e+32>>2]=0;N[e>>2]=1;c=64;b=Qa[N[d+4>>2]](d,136)|0;if(!b){break a}C(b,0,136);N[e+32>>2]=b;N[b+100>>2]=N[e+56>>2];N[e+56>>2]=0;N[b+128>>2]=170;N[b+124>>2]=171;N[b+120>>2]=0;N[b+112>>2]=80;N[b+116>>2]=241;c=Qa[N[d+4>>2]](d,964)|0;if(!c){N[b+132>>2]=0;c=64;break a}g=b+112|0;a=0;C(c,0,964);N[b+132>>2]=c;b=43712;while(1){c=hg(N[b>>2],a,g,d);if(c){break a}b=b+16|0;a=a+1|0;if((a|0)!=83){continue}break}a=Qa[N[d+4>>2]](d,24)|0;if(!a){break h}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;N[N[e+32>>2]+92>>2]=a;N[a+16>>2]=170;N[a+12>>2]=171;c=0;N[a+8>>2]=0;N[a>>2]=80;N[a+4>>2]=241;b=Qa[N[d+4>>2]](d,964)|0;if(!b){N[a+20>>2]=0;c=64;break a}C(b,0,964);N[a+20>>2]=b;a=N[N[e+36>>2]+12>>2];b=N[e+32>>2];N[b+36>>2]=-1;N[b+28>>2]=a;break a}j:{if(bb(a,19537,15)){break j}k:{switch(O[a+15|0]){case 0:case 9:case 10:case 13:case 32:break k;default:break j}}c=179;if(!(i&8)){break a}c=Kc(e+40|0,22537,a,b);N[h+32>>2]=c;if(c){break a}l:{m:{b=N[N[e+40>>2]+4>>2];if(!b){break m}a=L[b|0];c=a&255;if(!c|!(O[(c>>>3|0)+45040|0]>>>(a&7)&1)){break m}c=0;n:{while(1){if(c>>>0>=429496728){a=N[e+32>>2];N[a+72>>2]=-1;N[e+4>>2]=-1;a=a+72|0;break n}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}a=N[e+32>>2];N[a+72>>2]=c;N[e+4>>2]=c;if(N[e+60>>2]>>>2>>>0>=c>>>0){break l}a=a+72|0}N[a>>2]=0;c=6;break a}c=0;N[N[e+32>>2]+72>>2]=0;N[e+4>>2]=0}a=lb(g,16,0,c,0,h+32|0);b=N[e+32>>2];N[b+80>>2]=a;c=N[h+32>>2];if(c){N[b+72>>2]=0;break a}N[e>>2]=N[e>>2]|16;N[d>>2]=172;c=0;break a}o:{if(bb(a,18785,15)){break o}p:{switch(O[a+15|0]){case 0:case 9:case 10:case 13:case 32:break p;default:break o}}c=178;if(!(i&4)){break a}c=Kc(e+40|0,22537,a,b);if(c){break a}a=N[e+32>>2];b=N[e+40>>2];l=a,m=Uf(N[b+4>>2]),M[l+4>>1]=m;d=Uf(N[b+8>>2]);M[a+6>>1]=d;l=a,m=_e(N[b+12>>2]),M[l+8>>1]=m;b=_e(N[b+16>>2]);M[a+10>>1]=b;c=0;M[a+14>>1]=0-b;M[a+12>>1]=b+d;N[e>>2]=N[e>>2]|8;break a}q:{if(bb(a,19216,4)){break q}r:{switch(O[a+4|0]){case 0:case 9:case 10:case 13:case 32:break r;default:break q}}d=e+40|0;c=Kc(d,22537,a,b);if(c){break a}cm(d);f=bm(d,h+32|0);if(!f){c=3;break a}a=N[e+32>>2];b=N[a>>2];if(b){Qa[N[g+8>>2]](g,b);a=N[e+32>>2]}b=0;N[a>>2]=0;c=N[h+32>>2];d=c+1|0;s:{t:{if(c>>>0<=2147483646){b=Qa[N[g+4>>2]](g,d)|0;a=N[e+32>>2];if(b){break s}c=64;break t}c=6;if(!d){break s}}N[a>>2]=0;break a}N[a>>2]=b;F(b,f,d);g=N[e+36>>2];a=La-272|0;La=a;d=6;b=N[e+32>>2];u:{if(!b){break u}c=N[b>>2];if(!c|!O[c|0]){break u}f=N[b+100>>2];N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[a+12>>2]=f;N[b+28>>2]=N[g+12>>2];g=nb(c)+1|0;if(g>>>0>255){break u}d=a+16|0;F(d,c,g);d=Kc(a,22535,d,g);v:{if(d|N[a+8>>2]!=15){break v}c=32;w:{x:{switch(L[N[N[a>>2]+44>>2]]-67|0){case 10:case 42:c=16;break w;case 0:case 32:break w;case 13:case 45:break x;default:break v}}c=8}N[b+28>>2]=c}b=N[a+12>>2];if(!b){break u}c=N[a>>2];if(!c){break u}Qa[N[b+8>>2]](b,c)}La=a+272|0;c=d;if(c){break a}N[e>>2]=N[e>>2]|2;c=0;break a}y:{if(bb(a,20116,4)){break y}z:{switch(O[a+4|0]){case 0:case 9:case 10:case 13:case 32:break z;default:break y}}c=177;if(!(i&2)){break a}c=Kc(e+40|0,22537,a,b);if(c){break a}a=N[e+32>>2];b=N[e+40>>2];l=a,m=Ze(N[b+4>>2]),N[l+16>>2]=m;l=a,m=Ze(N[b+8>>2]),N[l+20>>2]=m;l=a,m=Ze(N[b+12>>2]),N[l+24>>2]=m;A:{if(N[e+48>>2]==5){b=_e(N[b+16>>2]);if(b>>>0>=5){M[a+96>>1]=8;break A}if(b>>>0>=3){M[a+96>>1]=4;break A}if((b|0)==2){M[a+96>>1]=2;break A}M[a+96>>1]=1;break A}M[a+96>>1]=1}N[e>>2]=N[e>>2]|4;c=0;break a}c=3;if(bb(a,19438,5)){break a}B:{switch(O[a+5|0]){case 0:case 9:case 10:case 13:case 32:break B;default:break a}}c=179;if(!(i&8)){break a}a=M[f+12>>1];N[f+40>>2]=a;N[h+16>>2]=a;a=h+32|0;Tf(a,h+16|0);c=Md(N[e+32>>2],19320,a);if(c){break a}b=N[e+32>>2];a=M[b+14>>1];N[b+44>>2]=a;N[h>>2]=a;a=h+32|0;Tf(a,h);c=Md(N[e+32>>2],19275,a);if(c){break a}N[d>>2]=173;c=-1;break a}N[N[e+32>>2]+92>>2]=0;c=64}La=h+160|0;return c|0}function uB(a,b){a=a|0;b=b|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;g=La-48|0;La=g;e=6;a:{if(!a|!b){break a}d=N[b+4>>2];if(!d){e=20;break a}e=0;if(M[d+2>>1]<=0|M[d>>1]<=0){break a}if(!N[d+12>>2]){e=20;break a}e=20;if(!N[d+4>>2]){break a}e=6;if(N[b+48>>2]-33>>>0<4294967265){break a}e=N[a>>2];if(!e){e=32;break a}z=g,A=eg(d),N[z+32>>2]=A;L[g+36|0]=O[b+52|0];a=O[b+53|0];N[g+40>>2]=0;L[g+37|0]=a;f=Qa[N[e+4>>2]](e,8)|0;if(!f){e=64;break a}N[f>>2]=0;N[f+4>>2]=0;N[f>>2]=e;N[g+44>>2]=f;e=Yh(d,294060,f);if(e){break a}j=N[b>>2];d=N[b+48>>2];b:{if(O[b+54|0]){N[g+24>>2]=N[g+40>>2];a=N[g+36>>2];N[g+16>>2]=N[g+32>>2];N[g+20>>2]=a;t=La-32|0;La=t;b=6;c:{if(!f|!j){break c}l=N[f>>2];if(!l){break c}p=O[g+20|0];L[g+20|0]=0;c=N[f+4>>2];N[t+24>>2]=l;f=f+4|0;x=N[j>>2];v=N[j+4>>2];d:{e:{f:{g:{if(!c){w=1;c=0;break g}while(1){o=o+1|0;c=N[c+12>>2];if(c){continue}break}a=T(o,24);h:{if((a|0)<=0){if(!a){break h}break c}m=Qa[N[l+4>>2]](l,a)|0;if(!m){b=64;break c}C(m,0,a)}a=o<<2;i:{if((a|0)<=0){if(!a){break i}break d}q=Qa[N[l+4>>2]](l,a)|0;if(!q){b=64;break d}C(q,0,a)}a=!o;w=a;if(a){c=0;break g}a=f;c=0;while(1){k=T(r,24)+m|0;n=N[a>>2];if(m){N[k>>2]=0;N[k+4>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+12>>2]=0}e=c;N[k+4>>2]=N[j+4>>2];N[k>>2]=N[j>>2];N[k+8>>2]=N[j+8>>2];M[k+16>>1]=P[j+16>>1];L[k+18|0]=O[j+18|0];j:{k:{l:{m:{b=T(N[j+8>>2],N[j>>2]);n:{if((b|0)<=0){a=0;if(!b){break n}N[(T(r,24)+m|0)+12>>2]=0;b=6;break f}a=Qa[N[l+4>>2]](l,b)|0;if(!a){break m}C(a,0,b)}N[k+12>>2]=a;if(!n){break l}a=0;c=N[n+8>>2];if(!c){break l}while(1){o:{p:{switch(N[c+32>>2]-1|0){case 0:b=(T(N[c+4>>2]+N[c+12>>2]|0,N[c+8>>2]-N[c>>2]|0)|0)/64|0;break o;case 1:b=a;h=N[c+20>>2];a=N[c+16>>2];b=b+((T(h+N[c+4>>2]|0,a-N[c>>2]|0)|0)/64|0)|0;a=(T(h+N[c+12>>2]|0,N[c+8>>2]-a|0)|0)/64|0;break o;case 2:break p;default:break l}}h=a;a=N[c+20>>2];b=N[c+16>>2];i=h+((T(a+N[c+4>>2]|0,b-N[c>>2]|0)|0)/64|0)|0;h=N[c+28>>2];s=h+a|0;a=N[c+24>>2];b=i+((T(s,a-b|0)|0)/64|0)|0;a=(T(h+N[c+12>>2]|0,N[c+8>>2]-a|0)|0)/64|0}a=a+b|0;c=N[c+36>>2];if(c){continue}break}c=1;u=(r<<2)+q|0;b=(a|0)<=0;N[u>>2]=b?2:1;i=b;b=N[g+16>>2];h=0;if(b?0:i){break j}if((a|0)<=0){break k}h=1;if((b|0)==1){break j}break k}N[(T(r,24)+m|0)+12>>2]=0;b=64;break f}u=(r<<2)+q|0;N[u>>2]=0;b=N[g+16>>2]}c=0;h=b}N[g+24>>2]=c;c=N[n+12>>2];N[n+12>>2]=0;N[t+28>>2]=n;N[t+16>>2]=N[g+24>>2];a=N[g+20>>2];N[t+8>>2]=N[g+16>>2];N[t+12>>2]=a;b=cp(t+8|0,t+24|0,d,k);if(b){break e}a=n+12|0;N[a>>2]=c;c=N[t+28>>2];N[c+12>>2]=e;q:{if((h|0)!=1){break q}b=2;r:{switch(N[u>>2]-1|0){case 1:b=1;break;case 0:break r;default:break q}}N[u>>2]=b}r=r+1|0;if((r|0)!=(o|0)){continue}break}}N[f>>2]=c;if((x|0)<=0){b=0;break f}b=0;if((v|0)<=0){break f}r=N[j+12>>2];if(w){C(r,p?-1:0,T(v,x));break f}e=o&-2;u=o&1;k=0;if(p){w=(o|0)==1;while(1){h=T(k,v);s=0;while(1){j=h+s|0;i=255;c=0;a=0;b=0;s:{if(!w){while(1){a=i&255;n=O[j+N[(T(c,24)+m|0)+12>>2]|0];f=N[(c<<2)+q>>2]==1;a=f?i:a>>>0>>0?a:n;d=a&255;i=a;a=c|1;p=O[j+N[(T(a,24)+m|0)+12>>2]|0];y=d>>>0

>>0?d:p;d=N[(a<<2)+q>>2]==1;i=d?i:y;a=b&255;b=f?a>>>0>n>>>0?a:n:b;a=b&255;b=d?a>>>0>p>>>0?a:p:b;c=c+2|0;if((e|0)!=(c|0)){continue}break}a=e;if(!u){break s}}d=i&255;f=O[j+N[(T(a,24)+m|0)+12>>2]|0];c=d>>>0>>0?d:f;d=N[(a<<2)+q>>2]==1;i=d?i:c;a=b&255;b=d?a>>>0>f>>>0?a:f:b}b=b&255;a=i&255;L[j+r|0]=(a>>>0>b>>>0?b:a)^-1;s=s+1|0;if((v|0)!=(s|0)){continue}break}k=k+1|0;if((x|0)!=(k|0)){continue}break}b=0;break e}w=(o|0)==1;while(1){h=T(k,v);s=0;while(1){j=h+s|0;i=255;c=0;a=0;b=0;t:{if(!w){while(1){a=i&255;n=O[j+N[(T(c,24)+m|0)+12>>2]|0];f=N[(c<<2)+q>>2]==1;a=f?i:a>>>0>>0?a:n;d=a&255;i=a;a=c|1;p=O[j+N[(T(a,24)+m|0)+12>>2]|0];y=d>>>0

>>0?d:p;d=N[(a<<2)+q>>2]==1;i=d?i:y;a=b&255;b=f?a>>>0>n>>>0?a:n:b;a=b&255;b=d?a>>>0>p>>>0?a:p:b;c=c+2|0;if((e|0)!=(c|0)){continue}break}a=e;if(!u){break t}}d=i&255;f=O[j+N[(T(a,24)+m|0)+12>>2]|0];c=d>>>0>>0?d:f;d=N[(a<<2)+q>>2]==1;i=d?i:c;a=b&255;b=d?a>>>0>f>>>0?a:f:b}b=b&255;a=i&255;L[j+r|0]=a>>>0>b>>>0?b:a;s=s+1|0;if((v|0)!=(s|0)){continue}break}k=k+1|0;if((x|0)!=(k|0)){continue}break}b=0;break e}if(!q){break d}}Qa[N[l+8>>2]](l,q)}if(!m){break c}if(!o){b=97;break c}c=0;u:{if((o|0)!=1){h=o&1;f=o&-2;a=0;while(1){d=T(c,24)+m|0;e=N[d+12>>2];if(e){Qa[N[l+8>>2]](l,e)}N[d+12>>2]=0;d=T(c|1,24)+m|0;e=N[d+12>>2];if(e){Qa[N[l+8>>2]](l,e)}N[d+12>>2]=0;c=c+2|0;a=a+2|0;if((f|0)!=(a|0)){continue}break}if(!h){break u}}e=T(c,24)+m|0;a=N[e+12>>2];if(a){Qa[N[l+8>>2]](l,a)}N[e+12>>2]=0}Qa[N[l+8>>2]](l,m)}La=t+32|0;e=b;if(!b){break b}break a}N[g+8>>2]=N[g+40>>2];a=N[g+36>>2];N[g>>2]=N[g+32>>2];N[g+4>>2]=a;e=cp(g,f,d,j);if(e){break a}}f=g+44|0;v:{if(!f){break v}a=N[f>>2];if(!a){break v}h=N[a>>2];if(!h){break v}b=N[a+4>>2];w:{if(b){while(1){d=N[b+12>>2];a=N[b+8>>2];x:{if(a){while(1){e=N[a+36>>2];Qa[N[h+8>>2]](h,a);a=e;if(a){continue}break}if(!b){break x}}Qa[N[h+8>>2]](h,b)}b=d;if(b){continue}break}a=N[f>>2];if(!a){break w}}Qa[N[h+8>>2]](h,a)}N[f>>2]=0}e=0}La=g+48|0;return e|0}function Ym(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;g=La-16|0;La=g;i=N[b+28>>2];n=N[a+736>>2];N[g>>2]=0;a:{if(!n){N[g+12>>2]=0;break a}if(!N[a+704>>2]){N[g+12>>2]=0;break a}if(Qa[N[a+516>>2]](a,1668702578,b,g+8|0)|0){N[g+12>>2]=0;break a}if(Bb(b,N[g+8>>2])){N[g+12>>2]=0;break a}b:{c:{d:{e:{f=N[b+32>>2];if(Q[b+36>>2]>f+3>>>0){k=N[b>>2];c=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);N[b+32>>2]=f+4;if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))==65536){break e}}N[g+12>>2]=0;break d}f:{c=N[n>>2];if((c|0)<0){l=6;break f}g:{h:{if(c){l=10;if((c|0)>536870911){break f}d=c<<2;l=Qa[N[i+4>>2]](i,d)|0;if(!l|(c|0)<=0){break h}C(l,0,d)}N[g+12>>2]=0;break g}N[g+12>>2]=!l<<6;if(l){break g}break c}t=lb(i,4,0,N[n>>2],0,g+12|0);if(N[g+12>>2]){break c}u=lb(i,4,0,N[n>>2],0,g+12|0);if(N[g+12>>2]){break c}j=N[b+36>>2];d=N[b+32>>2];if(j>>>0>d+1>>>0){c=O[d|0]|O[d+1|0]<<8;h=c<<8|c>>>8;d=d+2|0}N[b+32>>2]=d;if(j>>>0<=d+1>>>0){c=d}else{e=O[d+1|0]|O[d|0]<<8;c=d+2|0}N[b+32>>2]=c;q=N[g+8>>2];w=h&4095;if(q>>>0<(w<<2)+e>>>0){N[g+12>>2]=8;break c}r=(f-k|0)+e|0;i:{if(h<<16>>16>=0){q=0;break i}d=N[b>>2];N[b+32>>2]=j-d>>>0>r>>>0?d+r|0:j;q=bg(b,q,g);j=N[b+32>>2];f=N[b>>2];c=c-d|0;d=N[b+36>>2];N[b+32>>2]=c>>>0>>0?f+c|0:d;r=j-f|0}s=lb(i,4,0,N[a+700>>2],0,g+12|0);j:{if(N[g+12>>2]){break j}if(w){p=N[g>>2];k=0;while(1){h=N[b+36>>2];c=N[b+32>>2];k:{if(h>>>0<=c+1>>>0){y=0;break k}y=O[c+1|0]|O[c|0]<<8;c=c+2|0}N[b+32>>2]=c;j=0;x=0;l:{m:{if(h>>>0<=c+1>>>0){break m}d=O[c|0]|O[c+1|0]<<8;c=c+2|0;N[b+32>>2]=c;d=d<<8|d>>>8;j=d&65535;x=d<<16>>16;if((x|0)>=0){break m}d=N[n>>2];if(!d){break l}m=0;n:{if((d|0)==1){d=0;break n}o=d&1;v=d&-2;d=0;f=0;while(1){o:{if(h>>>0<=c+1>>>0){e=0;break o}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(d<<2)+l>>2]=e<<16>>16<<2;e=0;if(h>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((d|1)<<2)+l>>2]=e<<16>>16<<2;d=d+2|0;f=f+2|0;if((v|0)!=(f|0)){continue}break}if(!o){break l}}if(h>>>0>c+1>>>0){f=O[c|0]|O[c+1|0]<<8;m=f<<8|f>>>8;c=c+2|0}N[b+32>>2]=c;N[(d<<2)+l>>2]=m<<16>>16<<2;break l}c=j&4095;if(c>>>0>=Q[n+60>>2]){N[g+12>>2]=8;break j}d=N[n+64>>2];if(!d){N[g+12>>2]=8;break j}f=c;c=N[n>>2];F(l,d+(T(f,c)<<2)|0,c<<2)}p:{if(!(j&16384)){break p}o=N[n>>2];if(!o){break p}v=o&1;c=N[b+32>>2];d=N[b+36>>2];m=0;z=o-1|0;q:{r:{if(!z){h=0;break r}B=o&-2;h=0;f=0;while(1){s:{if(d>>>0<=c+1>>>0){e=0;break s}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+t>>2]=e<<16>>16<<2;e=0;if(d>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((h|1)<<2)+t>>2]=e<<16>>16<<2;h=h+2|0;f=f+2|0;if((B|0)!=(f|0)){continue}break}if(!v){break q}}if(d>>>0>c+1>>>0){f=O[c|0]|O[c+1|0]<<8;m=f<<8|f>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+t>>2]=m<<16>>16<<2}m=0;t:{if(!z){h=0;break t}o=o&-2;h=0;f=0;while(1){u:{if(d>>>0<=c+1>>>0){e=0;break u}e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+u>>2]=e<<16>>16<<2;e=0;if(d>>>0>c+1>>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[((h|1)<<2)+u>>2]=e<<16>>16<<2;h=h+2|0;f=f+2|0;if((o|0)!=(f|0)){continue}break}if(!v){break p}}if(d>>>0>c+1>>>0){d=O[c|0]|O[c+1|0]<<8;m=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;N[(h<<2)+u>>2]=m<<16>>16<<2}h=$m(n,x&65535,l,t,u);if(h){m=N[b+32>>2];e=N[b>>2];c=N[b+36>>2];N[b+32>>2]=c-e>>>0>r>>>0?e+r|0:c;v:{if(j&8192){j=bg(b,N[g+8>>2],g+4|0);f=j;c=N[g+4>>2];break v}N[g+4>>2]=p;j=k;f=q;c=p}d=c;m=m-e|0;k=N[g+8>>2];if(!c){c=N[a+700>>2]}e=Rh(b,k,c);w:{x:{y:{if(!f|!e){break y}z:{if((j|0)!=-1){c=0;if(d){break z}k=0;if(!j){break x}Qa[N[i+8>>2]](i,j);break x}k=-1;if((d|0)!=N[a+700>>2]){break x}c=0;if(!d){break x}while(1){d=c<<2;f=d+s|0;D=f,E=ob(N[d+e>>2],h)+N[f>>2]|0,N[D>>2]=E;c=c+1|0;if(c>>>0>2]){continue}break}break y}while(1){k=P[(c<<1)+f>>1];if(k>>>0>2]){k=(k<<2)+s|0;D=k,E=ob(N[e+(c<<2)>>2],h)+N[k>>2]|0,N[D>>2]=E}c=c+1|0;if((d|0)!=(c|0)){continue}break}}k=-1;A:{switch(j+1|0){default:Qa[N[i+8>>2]](i,j);case 1:k=0;break;case 0:break A}}if(!e){break w}}Qa[N[i+8>>2]](i,e)}c=N[b>>2];d=N[b+36>>2];N[b+32>>2]=m>>>0>>0?c+m|0:d}r=r+y|0;A=A+1|0;if((A|0)!=(w|0)){continue}break}}c=N[a+700>>2];if(!c){break j}f=N[a+704>>2];d=0;if((c|0)!=1){j=c&1;k=c&-2;while(1){c=d<<2;p=c+f|0;N[p>>2]=N[p>>2]+(N[c+s>>2]+512>>10);c=c|4;p=c+f|0;N[p>>2]=N[p>>2]+(N[c+s>>2]+512>>10);d=d+2|0;if((k|0)!=(d|0)){continue}break}if(!j){break j}}c=d<<2;d=c+f|0;N[d>>2]=N[d>>2]+(N[c+s>>2]+512>>10)}if(N[b+20>>2]){c=N[b>>2];if(c){d=N[b+28>>2];Qa[N[d+8>>2]](d,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(q+1>>>0<2){break b}Qa[N[i+8>>2]](i,q);break b}N[g+12>>2]=l}l=0}if(N[b+20>>2]){c=N[b>>2];if(c){d=N[b+28>>2];Qa[N[d+8>>2]](d,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}if(l){Qa[N[i+8>>2]](i,l)}if(t){Qa[N[i+8>>2]](i,t)}if(u){Qa[N[i+8>>2]](i,u)}if(!s){break a}Qa[N[i+8>>2]](i,s)}a=N[a+108>>2];while(1){if(a){b=N[a+4>>2];N[N[a+8>>2]+308>>2]=-1;a=b;continue}break}La=g+16|0;return N[g+12>>2]}function Ao(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0;f=La-128|0;La=f;r=N[a>>2];m=N[r>>2];h=N[m+12>>2]+T(b,12)|0;v=N[h+8>>2];s=N[h+4>>2];p=N[h>>2];t=f- -64|0;u=1;while(1){a:{b:{if(s){h=N[r+4>>2];N[f+104>>2]=0;N[f+96>>2]=v;N[f+92>>2]=s;N[f+88>>2]=1;if(!Td(h,f+88|0,o,f+84|0,1)){break b}}N[f>>2]=p;mb(m,2,24370,f);break a}h=N[f+84>>2];u=N[h>>2];zo(m,h);N[f+80>>2]=0;N[f+72>>2]=0;N[f+76>>2]=0;N[t>>2]=0;N[t+4>>2]=0;N[f+56>>2]=0;N[f+60>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!Do(N[f+84>>2],0,f+48|0)){N[f+32>>2]=p;mb(m,2,24401,f+32|0);g=N[f+84>>2];if(!g){break a}h=N[g+96>>2];if(!h){break a}c=N[g+128>>2];d=N[c+64>>2];N[c+64>>2]=d-1;if((d|0)>1){break a}d=N[h+16>>2];if(!d){break a}j=h+16|0;c=N[h+8>>2];while(1){if((g|0)==N[d+8>>2]){break k}d=N[d+4>>2];if(d){continue}break}break a}h=db(1,12);if(!h){h=N[f+48>>2];if(!h){break c}d=0;g=N[f+64>>2];if((g|0)>0){break j}break d}N[h>>2]=m;g=N[f+84>>2];N[h+8>>2]=b;N[h+4>>2]=g;j=N[a>>2];N[f+120>>2]=0;N[f+112>>2]=0;N[f+116>>2]=0;N[f+104>>2]=0;N[f+108>>2]=0;N[f+96>>2]=0;N[f+100>>2]=0;N[f+88>>2]=0;N[f+92>>2]=0;d=f+48|0;g=o;q=N[f+64>>2];l:{if(!q){d=N[a+36>>2];if(d){g=Qa[d|0](h)|0}d=N[f+56>>2];d=yo(N[j>>2],N[j+4>>2],d?d:N[f+60>>2],N[a+4>>2],h,g);if(!d){break l}n=N[f+60>>2];if(!Do(d,n,f+88|0)){g=N[d+96>>2];if(!g){break l}e=N[d+128>>2];c=N[e+64>>2];N[e+64>>2]=c-1;if((c|0)>1){break l}c=N[g+16>>2];if(!c){break l}i=g+16|0;e=N[g+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break l}break}j=N[c>>2];k=j?j+4|0:i;i=N[c+4>>2];N[k>>2]=i;N[(i?i:g+20|0)>>2]=j;Qa[N[e+8>>2]](e,c);ic(e,d,g);break l}m:{c=N[f+96>>2];if(!c){break m}c=Hb(c);N[f+96>>2]=c;if(c){break m}g=N[d+96>>2];if(!g){break l}e=N[d+128>>2];c=N[e+64>>2];N[e+64>>2]=c-1;if((c|0)>1){break l}c=N[g+16>>2];if(!c){break l}i=g+16|0;e=N[g+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break l}break}j=N[c>>2];k=j?j+4|0:i;i=N[c+4>>2];N[k>>2]=i;N[(i?i:g+20|0)>>2]=j;Qa[N[e+8>>2]](e,c);ic(e,d,g);break l}e=N[d+96>>2];n:{if(!e){break n}i=N[d+128>>2];c=N[i+64>>2];N[i+64>>2]=c-1;if((c|0)>1){break n}c=N[e+16>>2];if(!c){break n}k=e+16|0;i=N[e+8>>2];while(1){if((d|0)!=N[c+8>>2]){c=N[c+4>>2];if(c){continue}break n}break}l=N[c>>2];w=l?l+4|0:k;k=N[c+4>>2];N[w>>2]=k;N[(k?k:e+20|0)>>2]=l;Qa[N[i+8>>2]](i,c);ic(i,d,e)}N[f+100>>2]=n;d=f+88|0}c=N[d+24>>2];i=c>>>0<=110?c:0;c=N[d+32>>2];l=c-201>>>0<4294967145?100:c;c=N[d+28>>2];k=c-901>>>0<4294966495?400:c;c=N[j+24>>2];e=N[j+28>>2];o:{if((c|0)<(e|0)){e=N[j+32>>2];break o}c=(e|0)<=0?1:e<<1;N[j+28>>2]=c;e=$a(N[j+32>>2],T(c,56));N[j+32>>2]=e;c=N[j+24>>2]}e=T(c,56)+e|0;N[e>>2]=0;N[e+4>>2]=0;N[e+48>>2]=0;N[e+52>>2]=0;N[e+40>>2]=0;N[e+44>>2]=0;N[e+32>>2]=0;N[e+36>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;c=N[j+8>>2];N[j+8>>2]=c+1;N[e+28>>2]=l;N[e+24>>2]=k;N[e+20>>2]=i;N[e>>2]=c;l=N[d+20>>2];N[e+16>>2]=l;k=N[d+16>>2];N[e+12>>2]=k;i=db(k,4);N[e+4>>2]=i;p:{if(!i){break p}if(l){c=db(l,4);N[e+8>>2]=c;if(!c){break p}}c=0;if((k|0)>0){while(1){n=c<<2;x=n+i|0,y=Hb(N[n+N[d>>2]>>2]),N[x>>2]=y;i=N[e+4>>2];if(!N[n+i>>2]){break p}c=c+1|0;if((k|0)!=(c|0)){continue}break}}if((l|0)>0){i=N[e+8>>2];c=0;while(1){k=c<<2;x=k+i|0,y=Hb(N[k+N[d+4>>2]>>2]),N[x>>2]=y;i=N[e+8>>2];if(!N[k+i>>2]){break p}c=c+1|0;if((l|0)!=(c|0)){continue}break}}c=N[d+8>>2];if(c){c=Hb(c);N[e+40>>2]=c;if(!c){break p}}d=N[d+12>>2];if(!d){break h}d=Hb(d);N[e+44>>2]=d;if(d){break h}}Co(e)}g=N[f+88>>2];if(!g){break f}d=0;c=N[f+104>>2];if((c|0)>0){break i}break g}e=N[d>>2];i=e?e+4|0:j;j=N[d+4>>2];N[i>>2]=j;N[(j?j:h+20|0)>>2]=e;Qa[N[c+8>>2]](c,d);ic(c,g,h);break a}while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}break d}while(1){_a(N[g+(d<<2)>>2]);d=d+1|0;if((c|0)!=(d|0)){continue}break}break g}N[e+52>>2]=h;N[e+36>>2]=g;N[e+48>>2]=a;N[j+24>>2]=N[j+24>>2]+1;break e}_a(g)}g=N[f+92>>2];if(g){d=0;c=N[f+108>>2];if((c|0)>0){while(1){_a(N[g+(d<<2)>>2]);d=d+1|0;if((c|0)!=(d|0)){continue}break}}_a(g)}_a(N[f+96>>2]);g=N[a+16>>2];if(g){Qa[g|0](h)}N[f+16>>2]=p;mb(m,2,24447,f+16|0);_a(h)}h=N[f+48>>2];if(h){d=0;if((q|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((q|0)!=(d|0)){continue}break}}_a(h)}h=N[f+52>>2];if(!h){break a}d=0;g=N[f+68>>2];if((g|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(h);break a}_a(h)}h=N[f+52>>2];if(h){d=0;g=N[f+68>>2];if((g|0)>0){while(1){_a(N[h+(d<<2)>>2]);d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(h)}g=N[f+84>>2];if(!g){break a}h=N[g+96>>2];if(!h){break a}c=N[g+128>>2];d=N[c+64>>2];N[c+64>>2]=d-1;if((d|0)>1){break a}d=N[h+16>>2];if(!d){break a}j=h+16|0;c=N[h+8>>2];while(1){if((g|0)!=N[d+8>>2]){d=N[d+4>>2];if(d){continue}break a}break}e=N[d>>2];i=e?e+4|0:j;j=N[d+4>>2];N[i>>2]=j;N[(j?j:h+20|0)>>2]=e;Qa[N[c+8>>2]](c,d);ic(c,g,h)}o=o+1|0;if((u|0)>(o|0)){continue}break}La=f+128|0}function cj(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,o=0,p=0,q=0;d=b<<1;o=d+a|0;if(b>>>0>=10){while(1){j=a+2|0;i=P[a+2>>1];h=(b&-2)+a|0;g=P[h>>1];b=(bj(i,g,c)|0)>0;d=d-2|0;l=d+a|0;f=l-2|0;e=P[f>>1];k=b?j:h;a:{if((bj(b?i:g,e,c)|0)<=0){break a}k=(bj(b?g:i,e,c)|0)>0?b?h:j:f}b=k;if((b|0)!=(l|0)){j=O[b|0];L[b|0]=O[l|0];L[l|0]=j;j=O[b+1|0];L[b+1|0]=O[l+1|0];L[l+1|0]=j}h=l;i=h;j=a;b=j;b:{if((d|0)<=0){f=0;break b}while(1){c:{m=P[b>>1];d=P[l>>1];d:{e:{f:{g:{h:{g=N[c+4>>2];if((g|0)!=131072){if((g|0)!=65536){break e}g=0;k=0;f=0;if(d>>>0<=257){f=d<<2;d=N[f+267632>>2];k=d+268668|0;f=N[f+267636>>2]+(d^-1)|0}if(m>>>0<=257){break h}e=0;break f}g=0;k=0;e=N[c+8>>2];n=O[e|0]|O[e+1|0]<<8;n=(n<<8|n>>>8)&65535;f=0;i:{if(n>>>0<=d>>>0){break i}d=e+(d<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){f=d<<2;d=N[f+267632>>2];k=d+268668|0;f=N[f+267636>>2]+(d^-1)|0;break i}d=d-258|0;f=0;if(d>>>0>=Q[c+16>>2]){break i}d=N[c+24>>2]+N[N[c+20>>2]+(d<<2)>>2]|0;k=d+1|0;f=O[d|0]}if(m>>>0>>0){break g}e=0;break f}g=m<<2;d=N[g+267632>>2];e=N[g+267636>>2]+(d^-1)|0;g=d+268668|0;break f}d=e+(m<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0<=257){g=d<<2;d=N[g+267632>>2];e=N[g+267636>>2]+(d^-1)|0;g=d+268668|0;break f}d=d-258|0;if(d>>>0>=Q[c+16>>2]){e=0;break f}d=N[c+24>>2]+N[N[c+20>>2]+(d<<2)>>2]|0;g=d+1|0;e=O[d|0]}if((e|0)!=(f|0)){d=e-f|0}else{if(!f){break e}d=Mb(g,k,f)}if((d|0)>0){j:{if(b>>>0>=i>>>0){break j}while(1){g=i;i=i-2|0;m=P[i>>1];q=m>>>8|0;e=P[l>>1];k:{l:{m:{n:{o:{p:{d=N[c+4>>2];if((d|0)!=131072){if((d|0)!=65536){break m}k=0;d=0;f=0;if(e>>>0<=257){f=e<<2;d=N[f+267632>>2];f=N[f+267636>>2]+(d^-1)|0;d=d+268668|0}if(m>>>0<=257){break p}e=0;break n}k=0;d=0;f=0;n=N[c+8>>2];p=O[n|0]|O[n+1|0]<<8;p=(p<<8|p>>>8)&65535;q:{if(p>>>0<=e>>>0){break q}d=(e<<1)+n|0;d=O[d+2|0]|O[d+3|0]<<8;e=(d<<8|d>>>8)&65535;if(e>>>0<=257){f=e<<2;d=N[f+267632>>2];f=N[f+267636>>2]+(d^-1)|0;d=d+268668|0;break q}d=0;e=e-258|0;if(e>>>0>=Q[c+16>>2]){break q}f=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;d=f+1|0;f=O[f|0]}if(m>>>0

>>0){break o}e=0;break n}e=m<<2;k=N[e+267632>>2];e=N[e+267636>>2]+(k^-1)|0;k=k+268668|0;break n}e=(m<<1)+n|0;e=O[e+2|0]|O[e+3|0]<<8;e=(e<<8|e>>>8)&65535;if(e>>>0<=257){e=e<<2;k=N[e+267632>>2];e=N[e+267636>>2]+(k^-1)|0;k=k+268668|0;break n}e=e-258|0;if(e>>>0>=Q[c+16>>2]){e=0;break n}e=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;k=e+1|0;e=O[e|0]}if((e|0)!=(f|0)){d=e-f|0}else{if(!f){break m}d=Mb(k,d,f)}if(d){break l}}d=h-2|0;if(g>>>0>>0){L[i|0]=O[d|0];L[d|0]=m;h=h-1|0;L[g-1|0]=O[h|0];L[h|0]=q}h=d;break k}if((d|0)>=0){break k}if(b>>>0>>0){d=O[b|0];L[b|0]=m;L[i|0]=d;d=O[b+1|0];L[b+1|0]=q;L[g-1|0]=d}b=b+2|0;break j}if(b>>>0>>0){continue}break}}if(b>>>0>>0){continue}break c}if(d){break d}}if(b>>>0>j>>>0){d=O[j|0];L[j|0]=m;L[b|0]=d;d=O[j+1|0];L[j+1|0]=m>>>8;L[b+1|0]=d}j=j+2|0}b=b+2|0;if(i>>>0>b>>>0){continue}}break}d=i-j|0;r:{if((a|0)==(j|0)|(j|0)==(i|0)){break r}b=j-a|0;if(b>>>0>d>>>0){if((d|0)<=0){break r}l=a+d|0;b=a+b|0;j=a;while(1){g=O[j|0];L[j|0]=O[b|0];L[b|0]=g;b=b+1|0;j=j+1|0;if(l>>>0>j>>>0){continue}break}break r}if((b|0)<=0){break r}l=a+b|0;b=a+d|0;j=a;while(1){g=O[j|0];L[j|0]=O[b|0];L[b|0]=g;b=b+1|0;j=j+1|0;if(l>>>0>j>>>0){continue}break}}f=h-i|0;if((i|0)==(h|0)|(h|0)==(o|0)){break b}b=o-h|0;if(b>>>0>>0){if((b|0)<=0){break b}j=b+i|0;b=f+i|0;while(1){l=O[i|0];L[i|0]=O[b|0];L[b|0]=l;b=b+1|0;i=i+1|0;if(j>>>0>i>>>0){continue}break}break b}if((f|0)<=0){break b}j=f+i|0;b=b+i|0;while(1){l=O[i|0];L[i|0]=O[b|0];L[b|0]=l;b=b+1|0;i=i+1|0;if(j>>>0>i>>>0){continue}break}}cj(a,d>>>1|0,c);a=o-f|0;d=f&-2;o=a+d|0;b=f>>>1|0;if(f>>>0>=20){continue}break}}d=a+2|0;if(o>>>0>d>>>0){while(1){b=d;s:{if(d>>>0<=a>>>0){break s}while(1){i=P[b>>1];j=b-2|0;l=P[j>>1];t:{u:{v:{h=N[c+4>>2];if((h|0)!=131072){if((h|0)!=65536){break s}h=0;g=0;f=0;if(i>>>0<=257){f=i<<2;g=N[f+267632>>2];f=N[f+267636>>2]+(g^-1)|0;g=g+268668|0}if(l>>>0<=257){break v}e=0;break t}h=0;g=0;f=0;e=N[c+8>>2];k=O[e|0]|O[e+1|0]<<8;m=(k<<8|k>>>8)&65535;w:{if(m>>>0<=i>>>0){break w}g=e+(i<<1)|0;g=O[g+2|0]|O[g+3|0]<<8;k=(g<<8|g>>>8)&65535;if(k>>>0<=257){f=k<<2;g=N[f+267632>>2];f=N[f+267636>>2]+(g^-1)|0;g=g+268668|0;break w}g=0;k=k-258|0;if(k>>>0>=Q[c+16>>2]){break w}f=N[c+24>>2]+N[N[c+20>>2]+(k<<2)>>2]|0;g=f+1|0;f=O[f|0]}if(l>>>0>>0){break u}e=0;break t}e=l<<2;h=N[e+267632>>2];e=N[e+267636>>2]+(h^-1)|0;h=h+268668|0;break t}h=e+(l<<1)|0;h=O[h+2|0]|O[h+3|0]<<8;e=(h<<8|h>>>8)&65535;if(e>>>0<=257){e=e<<2;h=N[e+267632>>2];e=N[e+267636>>2]+(h^-1)|0;h=h+268668|0;break t}h=0;e=e-258|0;if(e>>>0>=Q[c+16>>2]){e=0;break t}e=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;h=e+1|0;e=O[e|0]}if((e|0)!=(f|0)){h=e-f|0}else{if(!f){break s}h=Mb(h,g,f)}if((h|0)<=0){break s}L[j|0]=i;L[b+1|0]=l>>>8;L[b-1|0]=i>>>8;L[b|0]=l;b=j;if(b>>>0>a>>>0){continue}break}}d=d+2|0;if(o>>>0>d>>>0){continue}break}}}function oj(a,b){var 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;a:{f=N[b+4>>2];if(f>>>0>a>>>0){break a}e=N[b+8>>2];if(e>>>0>>0){break a}i=e-a|0;if(i>>>0<4){break a}c=N[b+12>>2];g=c-4|0;N[b+12>>2]=g;d=1;if((g|0)<=0){break a}b:{c:{d:{h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);e:{if((g|0)<=1953658212){if((g|0)==256){break c}if((g|0)==65536|(g|0)==1330926671){break e}break b}if((g|0)==1954115633){break e}if((g|0)==1953784678){break d}if((g|0)!=1953658213){break b}}if(i>>>0<12){break a}d=c-16|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+4|0;if(d>>>0>e>>>0|e-d>>>0<8){break a}c=c-24|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;if(d){a=a+12|0;if(a>>>0>e>>>0){break a}f=e-a|0;a=((d<<8|d>>>8)&65535)<<4;if(f>>>0>>0){break a}a=c-a|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}return 1}g=f;f=a+4|0;if(g>>>0>f>>>0|e>>>0>>0|e-f>>>0<4){break a}g=c-8|0;N[b+12>>2]=g;if((g|0)<=0){break a}f=O[f|0]|O[f+1|0]<<8;if(((f<<8|f>>>8)&65535)-1>>>0>1){break b}d=a+8|0;if(d>>>0>e>>>0|e-d>>>0<4){break a}d=c-12|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(f>>>0>1073741823){break a}g=f<<2;if(g){h=a+12|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break a}e=d-g|0;N[b+12>>2]=e;d=0;if((e|0)<=0){break b}}if(!c){return 1}i=f>>>0<=1?1:f;c=0;while(1){g=N[b+4>>2];e=((c<<2)+a|0)+12|0;if(g>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}h=N[b+12>>2];f=h-4|0;N[b+12>>2]=f;if((f|0)<=0){break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f:{if(!f){break f}if(f&128){break a}f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+a|0;g:{if(f>>>0>>0|d>>>0>>0|d-f>>>0<12){break g}g=h-16|0;N[b+12>>2]=g;if((g|0)<=0){break g}g=f+4|0;if(g>>>0>d>>>0|d-g>>>0<8){break g}h=h-24|0;N[b+12>>2]=h;if((h|0)<=0){break g}g=O[g|0]|O[g+1|0]<<8;if(!g){break f}f=f+12|0;if(f>>>0>d>>>0){break g}f=d-f|0;d=((g<<8|g>>>8)&65535)<<4;if(f>>>0>>0){break g}d=h-d|0;N[b+12>>2]=d;if((d|0)>0){break f}}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}d=1;c=c+1|0;if((i|0)!=(c|0)){continue}break}break b}if(i>>>0<16){break a}d=c-20|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=c-24|0;N[b+12>>2]=d;if(h&128|(d|0)<=0){break a}j=a+256|0;h:{c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(!c){break h}if(e>>>0>>0|f>>>0>j>>>0){break a}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>e-j>>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break h}break a}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break a}N[b+12>>2]=d-4;if((d|0)<5){break a}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break a}a=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<28){break a}c=d-32|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+24|0;if(c>>>0>e>>>0|e-c>>>0<2){break a}c=O[a+24|0]|O[a+25|0]<<8;g=d-34|0;N[b+12>>2]=g;if((g|0)<=0){break a}g=a+((c<<8|c>>>8)&65535)|0;if(g>>>0>>0|e>>>0>>0|e-g>>>0<2){break a}a=d-36|0;N[b+12>>2]=a;if((a|0)<=0){break a}c=g+2|0;if(c>>>0>e>>>0){break a}d=0;h=e-c|0;c=O[g|0]|O[g+1|0]<<8;p=(c<<8|c>>>8)&65535;c=(p<<3)+8|0;if(h>>>0>>0){break b}a=a-c|0;N[b+12>>2]=a;if((a|0)<=0){break a}while(1){h=g+(o<<3)|0;c=h+2|0;if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<8){break a}d=a-8|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=0;k=0;if((O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))==1953392243){c=O[h+6|0]|O[h+7|0]<<8;k=((c<<8|c>>>8)&65535)+1|0}c=h+8|0;if(c>>>0>e>>>0|e-c>>>0<2){break b}a=a-10|0;N[b+12>>2]=a;if((a|0)<=0){break b}if(k){c=O[c|0]|O[c+1|0]<<8;l=g+((c<<8|c>>>8)&65535)|0;if(f>>>0>l>>>0|e>>>0>>0){break b}c=T(k,12);if(c>>>0>e-l>>>0){break b}a=a-c|0;N[b+12>>2]=a;m=0;if((a|0)<=0){break b}while(1){h=T(m,12)+l|0;if(h>>>0>>0|e>>>0>>0|e-h>>>0<12){break b}c=a-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}n=h+5|0;if(e>>>0>>0|e-n>>>0<3){break b}c=a-15|0;N[b+12>>2]=c;if((c|0)<=0){break b}i=j+(O[h+7|0]|(O[h+6|0]<<8|O[n|0]<<16))|0;if(i>>>0>>0|e>>>0>>0|e-i>>>0<4){break b}c=a-19|0;N[b+12>>2]=c;if((c|0)<=0){break b}a=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);if(a){i=i+4|0;if(i>>>0>e>>>0){break b}a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0>e-i>>>0){break b}c=c-a|0;N[b+12>>2]=c;if((c|0)<=0){break b}}i=j+(O[h+7|0]|(O[h+6|0]<<8|O[n|0]<<16))|0;a=i+4|0;if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<12){break b}N[b+12>>2]=c-12;if((c|0)<13){break b}h=i+8|0;if(h>>>0>e>>>0|e-h>>>0<8){break b}a=c-20|0;N[b+12>>2]=a;if((c|0)<21){break b}c=O[h|0]|O[h+1|0]<<8;if(c){h=i+16|0;if(h>>>0>e>>>0){break b}c=((c<<8|c>>>8)&65535)<<4;if(c>>>0>e-h>>>0){break b}a=a-c|0;N[b+12>>2]=a;if((a|0)<=0){break b}}m=m+1|0;if((m|0)!=(k|0)){continue}break}}d=1;c=(o|0)!=(p|0);o=o+1|0;if(c){continue}break}}return d}return 0}function iE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;a:{b:{a=O[c+140|0];if(!(a&8)){L[c+140|0]=a|8;l=N[c+80>>2];h=1;a=0;b=0;m=N[c+68>>2];if(!m){break b}d=0;break a}ba(22778,14165,169,12138);B()}d=1}while(1){c:{d:{e:{if(!d){a=O[j+264560|0]==2?b:a;e=j<<1;f=M[e+264144>>1]+262144|0;d=L[j+264256|0];j=O[(l+T(b,20)|0)+18|0];g=O[e+262032|0];if(j>>>0>=g>>>0){d=j>>>0>O[e+262033|0]?d:j-g|0}d=L[d+f|0];break e}if(!j){break d}b=m;d=M[(j<<1)+264448>>1]-1|0}j=L[d+264320|0];e=d&31;f:{if(((d&63)>>>0>=32?268337151>>>e|0:((1<>>e)&1){break f}g:{switch(L[d+264384|0]-3|0){case 3:d=b+1|0;h:{if(d>>>0<=a>>>0){break h}g=l+3|0;f=h<<4;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break h}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 1:d=b+1|0;i:{if(d>>>0<=a>>>0){break i}g=l+3|0;f=h<<4|2;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break i}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 5:d=b+1|0;j:{if(d>>>0<=a>>>0){break j}g=l+3|0;f=h<<4|1;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break j}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;d=h+1|0;h=(d|0)==16?1:d;break f;case 0:d=b+1|0;k:{if(d>>>0<=a>>>0){break k}g=l+3|0;f=h<<4|2;e=d;d=a;i=e-d&7;if(i){e=0;while(1){L[(g+T(d,20)|0)+12|0]=f;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(b-a>>>0<=6){break k}while(1){e=g+T(d,20)|0;L[e+32|0]=f;L[e+12|0]=f;L[e+52|0]=f;L[e+72|0]=f;L[e+92|0]=f;L[e+112|0]=f;L[e+132|0]=f;L[e+152|0]=f;e=d+7|0;d=d+8|0;if((b|0)!=(e|0)){continue}break}}d=h+1|0;h=(d|0)==16?1:d;break f;case 2:f=b-1|0;l:{if(a>>>0>=b>>>0){break l}i=l+3|0;g=h<<4;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break l}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;b=f;break f;case 4:f=b-1|0;m:{if(a>>>0>=b>>>0){break m}i=l+3|0;g=h<<4|1;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break m}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}N[c+144>>2]=N[c+144>>2]|64;b=h+1|0;h=(b|0)==16?1:b;b=f;break f;case 6:break g;default:break f}}f=b-1|0;n:{if(a>>>0>=b>>>0){break n}i=l+3|0;g=h<<4|2;e=a;k=b-e&7;if(k){d=0;while(1){L[(i+T(e,20)|0)+12|0]=g;e=e+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}if((a^-1)+b>>>0<=6){break n}while(1){d=i+T(e,20)|0;L[d+32|0]=g;L[d+12|0]=g;L[d+52|0]=g;L[d+72|0]=g;L[d+92|0]=g;L[d+112|0]=g;L[d+132|0]=g;L[d+152|0]=g;e=e+8|0;if((e|0)!=(b|0)){continue}break}}b=h+1|0;h=(b|0)==16?1:b;b=f}a=O[j+264624|0]!=1?a:0;b=b+1|0;if((m|0)!=(b|0)){break c}d=1;continue}f=N[c+68>>2];if(f){a=f-1|0;g=N[c+80>>2];l=g+3|0;b=0;d=O[g+15|0];while(1){o:{if((a|0)==(b|0)){b=f;break o}b=b+1|0;if((d|0)==O[(l+T(b,20)|0)+12|0]){continue}}break}a=0;while(1){m=b;d=N[c+68>>2];i=b>>>0>d>>>0?d:b;k=i-a|0;p:{if(k>>>0<2){break p}d=N[c+144>>2]|32;N[c+144>>2]=d;if(a>>>0>=i>>>0){break p}b=-1;j=a;p=i+(a^-1)|0;if(p>>>0>=3){o=k&-4;e=0;while(1){h=g+T(j,20)|0;n=N[h+8>>2];b=b>>>0>>0?b:n;n=N[h+28>>2];b=b>>>0>>0?b:n;n=N[h+48>>2];b=b>>>0>>0?b:n;h=N[h+68>>2];b=b>>>0>>0?b:h;j=j+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}h=0;e=k&3;if(e){while(1){o=N[(g+T(j,20)|0)+8>>2];b=b>>>0>>0?b:o;j=j+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){e=g+T(a,20)|0;if(N[e+8>>2]!=(b|0)){N[e+4>>2]=N[e+4>>2]|3}a=a+1|0}if(!p){break p}while(1){e=g+T(a,20)|0;if(N[e+8>>2]!=(b|0)){d=d|32;N[c+144>>2]=d;N[e+4>>2]=N[e+4>>2]|3}e=g+T(a+1|0,20)|0;if(N[e+8>>2]!=(b|0)){d=d|32;N[c+144>>2]=d;N[e+4>>2]=N[e+4>>2]|3}a=a+2|0;if((i|0)!=(a|0)){continue}break}}a=m+1|0;a=a>>>0>>0?f:a;d=a-1|0;e=O[(l+T(m,20)|0)+12|0];b=m;while(1){q:{if((b|0)==(d|0)){b=a;break q}b=b+1|0;if((e|0)==O[(l+T(b,20)|0)+12|0]){continue}}break}a=m;if(f>>>0>a>>>0){continue}break}}return 0}d=0;continue}}function Uk(a,b){var c=0,d=0,e=0,f=0,g=0,h=U(0),i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;d=La-48|0;La=d;j=N[b+96>>2];g=275552;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[N[j+80>>2]+T(N[j+64>>2],20)>>2]);i=O[a+4|0]|O[a+5|0]<<8;g=c>>>0<((i<<8|i>>>8)&65535)>>>0?((c<<2)+a|0)+6|0:g;c=0;a:{if(!(O[g|0]|O[g+1|0]<<8)){break a}c=N[j+64>>2];N[b+36>>2]=1;N[b+4>>2]=c;i=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[i+68>>2];L[b+23|0]=O[b+22|0]?(c|0)==N[i+64>>2]?O[(N[i+80>>2]+T(c,20)|0)+15|0]:0:0;i=b+4|0;if(!he(i,d+44|0)){c=0;if(!(O[j+16|0]&64)){break a}wb(j,2,N[d+44>>2],N[j+64>>2]+1|0,0,1);c=0;break a}k=275552;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[N[j+80>>2]+T(N[i>>2],20)>>2]);l=O[a+4|0]|O[a+5|0]<<8;k=c>>>0<((l<<8|l>>>8)&65535)>>>0?((c<<2)+a|0)+6|0:k;if(!(O[k+2|0]|O[k+3|0]<<8)){c=0;if(!(O[j+16|0]&64)){break a}wb(j,2,N[i>>2],N[j+64>>2]+1|0,0,1);c=0;break a}l=N[j+64>>2];i=N[b+4>>2];c=N[b+96>>2];if(N[c+156>>2]){f=N[b+88>>2];N[d+20>>2]=l;N[d+16>>2]=i;ib(c,f,17289,d+16|0)}c=N[j+68>>2];f=l+1|0;p=c>>>0>>0?c:f;q=p-i|0;b:{if(q>>>0<2){break b}n=N[j+144>>2]|32;N[j+144>>2]=n;if(i>>>0>=p>>>0){break b}o=N[j+80>>2];e=-1;c=i;s=(c^-1)+p|0;if(s>>>0>=3){r=q&-4;while(1){f=T(c,20)+o|0;m=N[f+8>>2];e=e>>>0>>0?e:m;m=N[f+28>>2];e=e>>>0>>0?e:m;m=N[f+48>>2];e=e>>>0>>0?e:m;f=N[f+68>>2];e=e>>>0>>0?e:f;c=c+4|0;t=t+4|0;if((r|0)!=(t|0)){continue}break}}r=q&3;if(r){f=0;while(1){m=N[(T(c,20)+o|0)+8>>2];e=e>>>0>>0?e:m;c=c+1|0;f=f+1|0;if((r|0)!=(f|0)){continue}break}}c=i;if(q&1){c=T(i,20)+o|0;if(N[c+8>>2]!=(e|0)){N[c+4>>2]=N[c+4>>2]|3}c=i+1|0}if(!s){break b}while(1){f=T(c,20)+o|0;if(N[f+8>>2]!=(e|0)){n=n|32;N[j+144>>2]=n;N[f+4>>2]=N[f+4>>2]|3}f=T(c+1|0,20)+o|0;if(N[f+8>>2]!=(e|0)){n=n|32;N[j+144>>2]=n;N[f+4>>2]=N[f+4>>2]|3}c=c+2|0;if((p|0)!=(c|0)){continue}break}}c=O[k+2|0]|O[k+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}f=N[N[j+80>>2]+T(i,20)>>2];N[d+32>>2]=0;N[d+28>>2]=0;c:{d:{e:{f:{e=O[c|0]|O[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 2:break d;case 1:break e;case 0:break f;default:break c}}f=N[b+88>>2];e=O[c+2|0]|O[c+3|0]<<8;R[d+32>>2]=R[f+44>>2]*U((e<<8|e>>>8)<<16>>16);c=O[c+4|0]|O[c+5|0]<<8;R[d+28>>2]=R[f+48>>2]*U((c<<8|c>>>8)<<16>>16);break c}Kf(c,N[b+88>>2],f,d+32|0,d+28|0);break c}Jf(c,b,d+32|0,d+28|0)}c=O[g|0]|O[g+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}c=N[N[j+80>>2]+T(l,20)>>2];N[d+40>>2]=0;N[d+36>>2]=0;g:{h:{i:{j:{g=O[a|0]|O[a+1|0]<<8;switch(((g<<8|g>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break g}}c=N[b+88>>2];g=O[a+2|0]|O[a+3|0]<<8;R[d+40>>2]=R[c+44>>2]*U((g<<8|g>>>8)<<16>>16);a=O[a+4|0]|O[a+5|0]<<8;R[d+36>>2]=R[c+48>>2]*U((a<<8|a>>>8)<<16>>16);break g}Kf(a,N[b+88>>2],c,d+40|0,d+36|0);break g}Jf(a,b,d+40|0,d+36|0)}e=N[j+88>>2];k:{l:{m:{n:{o:{k=N[b+128>>2];switch(k-4|0){case 3:break l;case 2:break m;case 1:break n;case 0:break o;default:break k}}c=e+T(i,20)|0;h=U(U(Z(U(R[d+32>>2]+U(.5))))+U(N[c+8>>2]));p:{if(U(V(h))>2]=a;a=e+T(l,20)|0;g=N[a+8>>2];h=U(U(Z(U(R[d+40>>2]+U(.5))))+U(g|0));q:{if(U(V(h))>2]=g-c;N[a>>2]=N[a>>2]-c;break k}a=e+T(i,20)|0;g=N[a+8>>2];h=U(U(Z(U(R[d+32>>2]+U(.5))))+U(g|0));r:{if(U(V(h))>2]=g-c;N[a>>2]=N[a>>2]-c;a=e+T(l,20)|0;h=U(U(Z(U(R[d+40>>2]+U(.5))))+U(N[a+8>>2]));if(U(V(h))>2]=~~h;break k}N[a>>2]=-2147483648;break k}c=e+T(i,20)|0;h=U(U(Z(U(R[d+28>>2]+U(.5))))+U(N[c+12>>2]));s:{if(U(V(h))>2]=a;a=e+T(l,20)|0;g=N[a+12>>2];h=U(U(Z(U(R[d+36>>2]+U(.5))))+U(g|0));t:{if(U(V(h))>2]=g-c;N[a+4>>2]=N[a+4>>2]-c;break k}a=e+T(i,20)|0;g=N[a+12>>2];h=U(U(Z(U(R[d+28>>2]+U(.5))))+U(g|0));u:{if(U(V(h))>2]=g-c;N[a+4>>2]=N[a+4>>2]-c;c=e+T(l,20)|0;h=U(Z(U(R[d+36>>2]+U(.5))));v:{if(U(V(h))>2]=a}a=O[b+140|0];h=U(R[d+36>>2]-R[d+28>>2]);w:{if(U(V(h))>2]-R[d+32>>2]);x:{if(U(V(h))>1]=a-c;L[k+18|0]=2;N[j+144>>2]=N[j+144>>2]|8;z:{if((N[b+128>>2]&-2)==4){N[k+12>>2]=g;break z}N[k+8>>2]=f}c=e+T(a,20)|0;if(M[c+16>>1]==(0-M[k+16>>1]|0)){M[c+16>>1]=0;N[((N[b+128>>2]&-2)==4?(e+T(a,20)|0)+12|0:(e+T(a,20)|0)+8|0)>>2]=0}a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[d+4>>2]=l;N[d>>2]=i;ib(a,b,17334,d)}N[j+64>>2]=N[j+64>>2]+1;c=1}La=d+48|0;return c}function RB(a,b){a=a|0;b=b|0;var 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;e=La-256|0;La=e;a:{if(!a){a=6;break a}a=19;c=N[b+8>>2];if(!(c&1)){break a}a=20;i=N[b+4>>2];if(!i){break a}f=M[i+2>>1];if(!f){a=0;break a}g=M[i>>1];if((g|0)<=0){a=0;break a}h=N[i+12>>2];if(!h|!N[i+4>>2]|(f|0)!=(M[(h+(g<<1)|0)-2>>1]+1|0)){break a}f=N[b>>2];N[e+224>>2]=N[i+16>>2];a=N[i+12>>2];N[e+216>>2]=N[i+8>>2];N[e+220>>2]=a;a=N[i+4>>2];N[e+208>>2]=N[i>>2];N[e+212>>2]=a;b:{if(c&2){a=N[b+12>>2];if(!a){a=0;break a}N[e+236>>2]=a;N[e+240>>2]=N[b+28>>2];a=N[b+32>>2];N[e+156>>2]=a;i=N[b+36>>2];N[e+164>>2]=i;h=N[b+40>>2];N[e+160>>2]=h;b=N[b+44>>2];break b}if(!f){a=6;break a}h=N[f+4>>2];if(!h){a=0;break a}b=N[f>>2];if(!b){a=0;break a}a=6;c=N[f+12>>2];if(!c){break a}a=N[f+8>>2];N[e+232>>2]=a;N[e+236>>2]=0;N[e+240>>2]=0;i=0;N[e+164>>2]=0;N[e+156>>2]=0;N[e+160>>2]=h;N[e+228>>2]=c+((a|0)>=0?T(a,b-1|0):0);a=0}N[e+168>>2]=b;if((a|0)>=(h|0)){a=0;break a}a=0;if((b|0)<=(i|0)){break a}i=La-16608|0;La=i;p=N[e+168>>2];b=N[e+164>>2];n=p-b|0;if(n>>>0>=129){a=n+127>>>7|0;n=((a+n|0)-1>>>0)/(a>>>0)|0}N[e+184>>2]=i+16512;a=(n<<2)+15|0;N[e+196>>2]=1024-(a>>>4|0);c=a&-16;a=i+128|0;l=c+a|0;N[e+192>>2]=l;N[e+188>>2]=a;N[l>>2]=2147483647;N[l+4>>2]=0;N[l+8>>2]=0;N[l+12>>2]=0;c:{if((b|0)>=(p|0)){break c}while(1){a=b;N[e+164>>2]=a;b=a+n|0;d=(b|0)<(p|0)?b:p;N[e+168>>2]=d;N[i>>2]=d;N[i+4>>2]=a;a=i;while(1){f=N[a>>2];h=N[a+4>>2];g=f-h|0;d:{if((g|0)<=0){break d}c=0;d=0;if(f+(h^-1)>>>0>=3){j=g&-4;while(1){f=d<<2;N[f+N[e+188>>2]>>2]=l;N[N[e+188>>2]+(f|4)>>2]=l;N[N[e+188>>2]+(f|8)>>2]=l;N[N[e+188>>2]+(f|12)>>2]=l;d=d+4|0;if((j|0)!=(d|0)){continue}break}}f=g&3;if(!f){break d}while(1){N[N[e+188>>2]+(d<<2)>>2]=l;d=d+1|0;c=c+1|0;if((f|0)!=(c|0)){continue}break}}N[e+176>>2]=l;N[e+164>>2]=h;N[e+180>>2]=N[e+192>>2]+16;N[e+168>>2]=N[a>>2];N[e+172>>2]=g;c=0;d=kb(40);N[d>>2]=0;d=Lh(e,1,d,4);k=Ma;m=e+208|0;e:{while(1){if(c){f=98;break e}N[147441]=0;f=va(342,m|0,293956,e|0)|0;c=N[147441];N[147441]=0;h=-1;f:{g:{if(!c){break g}j=N[147442];if(!j){break g}h=Kh(N[c>>2],d,k);if(!h){break f}Ma=j}c=Ma;if((h|0)==1){continue}break e}break}_a(d);pe(c,j);B()}_a(d);d=f;h:{if((d|0)!=98){if(d){break c}m=N[e+224>>2]&2;o=m?256:-2147483648;i:{if(N[e+236>>2]){j=N[e+164>>2];if((j|0)>=N[e+168>>2]){break i}while(1){d=N[N[e+188>>2]+(j-N[e+164>>2]<<2)>>2];h=N[d>>2];j:{if((h|0)==2147483647){break j}c=N[e+156>>2];f=0;g=0;while(1){k:{if(!f|(c|0)>=(h|0)){break k}k=(i+16512|0)+T(g,6)|0;M[k+2>>1]=h-c;M[k>>1]=c;c=f>>9;c=(c&o?-1:0)^c;L[k+4|0]=(c|0)>255?m?c:-1:c;g=g+1|0;if((g|0)!=16){break k}Qa[N[e+236>>2]](j,16,i+16512|0,N[e+240>>2]);g=0}f=(N[d+4>>2]<<9)+f|0;h=N[d+8>>2];l:{if((f|0)==(h|0)){break l}k=N[d>>2];if((k|0)>2]){break l}c=(i+16512|0)+T(g,6)|0;M[c+2>>1]=1;M[c>>1]=k;k=c;c=f-h>>9;c=(c&o?-1:0)^c;L[k+4|0]=(c|0)>255?m?c:-1:c;g=g+1|0;if((g|0)!=16){break l}Qa[N[e+236>>2]](j,16,i+16512|0,N[e+240>>2]);g=0}c=N[d>>2]+1|0;d=N[d+12>>2];h=N[d>>2];if((h|0)!=2147483647){continue}break}if(f){d=(i+16512|0)+T(g,6)|0;M[d>>1]=c;f=f>>9;f=(f&o?-1:0)^f;L[d+4|0]=(f|0)>255?m?f:-1:f;M[d+2>>1]=N[e+160>>2]-c;g=g+1|0}if(!g){break j}Qa[N[e+236>>2]](j,g,i+16512|0,N[e+240>>2])}j=j+1|0;if((j|0)>2]){continue}break}break i}j=N[e+164>>2];if((j|0)>=N[e+168>>2]){break i}while(1){d=N[N[e+188>>2]+(j-N[e+164>>2]<<2)>>2];h=N[d>>2];m:{if((h|0)==2147483647){break m}q=N[e+228>>2]-T(N[e+232>>2],j)|0;g=N[e+156>>2];f=0;while(1){n:{if(!f|(g|0)>=(h|0)){break n}c=f>>9;c=(c&o?-1:0)^c;k=(c|0)>255?m?c:255:c;c=g+q|0;o:{p:{q:{r:{s:{t:{u:{v:{g=h-g|0;switch(g|0){case 0:break n;case 2:break p;case 3:break q;case 4:break r;case 5:break s;case 6:break t;case 7:break u;case 1:break v;default:break o}}L[c|0]=k;break n}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;c=c+1|0}L[c|0]=k;L[c+1|0]=k;break n}C(c,k,g)}f=(N[d+4>>2]<<9)+f|0;c=N[d+8>>2];w:{if((f|0)==(c|0)){break w}g=N[d>>2];if((g|0)>2]){break w}c=f-c>>9;c=(c&o?-1:0)^c;L[g+q|0]=(c|0)>255?m?c:-1:c}g=N[d>>2]+1|0;d=N[d+12>>2];h=N[d>>2];if((h|0)!=2147483647){continue}break}if(!f){break m}d=f>>9;d=(d&o?-1:0)^d;f=(d|0)>255?m?d:255:d;d=g+q|0;x:{y:{z:{A:{B:{C:{D:{E:{c=N[e+160>>2]-g|0;switch(c|0){case 0:break m;case 2:break y;case 3:break z;case 4:break A;case 5:break B;case 6:break C;case 7:break D;case 1:break E;default:break x}}L[d|0]=f;break m}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;d=d+1|0}L[d|0]=f;L[d+1|0]=f;break m}C(d,f,c)}j=j+1|0;if((j|0)>2]){continue}break}}a=a-4|0;break h}if(g>>>0<2){d=98;break c}d=N[a+4>>2];N[a+8>>2]=d;N[a+4>>2]=d+(g>>1);a=a+4|0}if(i>>>0<=a>>>0){continue}break}d=0;if((b|0)<(p|0)){continue}break}}La=i+16608|0;a=d}La=e+256|0;return a|0}function wo(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,o=0,p=0,q=0;e=La-144|0;La=e;N[e+120>>2]=0;N[e+104>>2]=0;N[e+108>>2]=0;l=-1;a:{if(N[b+112>>2]==10){break a}f=N[a+36>>2];g=N[b+12>>2];j=N[b+8>>2];b:{d=N[b>>2];c:{if(!(!d|!O[d|0])){h=wi(a,d,0,j,g,e+116|0,e+120|0,e+112|0,e+104|0,c);if(h){break c}}d:{h=N[a+12>>2];if(!h){break d}h=wi(a,h,0,j,g,e+116|0,e+120|0,e+112|0,e+104|0,c);if(!h){break d}c=N[a>>2];N[e+96>>2]=N[e+116>>2];f=N[e+120>>2];N[e+100>>2]=f?f:23531;N[e+80>>2]=d;N[e+84>>2]=j;N[e+88>>2]=g;N[e+92>>2]=h;mb(c,2,11604,e+80|0);break c}e:{if(!f){break e}h=N[f+32>>2];if(!h){break e}i=N[f+40>>2];k=N[a>>2];f:{if(d){f=d;if(O[d|0]){break f}}f=13519}f=Qa[h|0](i,k,f,c)|0;if(!f){break e}h=wi(a,f,1,j,g,e+116|0,e+120|0,e+112|0,e+104|0,c);_a(f);if(h){break c}}h=N[a+16>>2];if(!h){break b}c=N[a+20>>2];N[e+116>>2]=c;f=N[a>>2];N[e- -64>>2]=c;c=N[e+120>>2];N[e+68>>2]=c?c:23531;N[e+48>>2]=d;N[e+52>>2]=j;N[e+56>>2]=g;N[e+60>>2]=h;mb(f,2,11670,e+48|0)}a=N[a>>2];c=N[e+116>>2];N[e+32>>2]=c;n=N[e+120>>2];N[e+36>>2]=n?n:23531;N[e+16>>2]=d;N[e+20>>2]=j;N[e+24>>2]=g;N[e+28>>2]=h;mb(a,4,11729,e+16|0);d=N[b+112>>2];if((d|0)>0){a=0;f=N[e+112>>2];while(1){if((f|0)==N[((a<<2)+b|0)+28>>2]){mb(N[b+20>>2],4,22153,0);l=a;break a}a=a+1|0;if((d|0)!=(a|0)){continue}break}}j=N[b+24>>2];o=N[b+20>>2];g:{if(N[e+104>>2]){a=yo(o,j,h,N[e+104>>2],N[e+108>>2],c);break g}a=c;f=La-80|0;La=f;h:{i:{j:{if(h){N[f+64>>2]=0;N[f+60>>2]=h;N[f+48>>2]=4;if(!Td(j,f+48|0,a,f+44|0,1)){break j}}N[f+4>>2]=a;N[f>>2]=h;mb(o,2,17615,f);break i}c=N[f+44>>2];if((a|0)>=0){break h}k:{l:{m:{if(N[c>>2]<=0){break m}a=N[c+96>>2];n:{if(!a){break n}g=N[c+128>>2];d=N[g+64>>2];N[g+64>>2]=d-1;if((d|0)>1){break n}d=N[a+16>>2];if(!d){break n}k=a+16|0;g=N[a+8>>2];while(1){if(N[d+8>>2]!=(c|0)){d=N[d+4>>2];if(d){continue}break n}break}i=N[d>>2];m=i?i+4|0:k;k=N[d+4>>2];N[m>>2]=k;N[(k?k:a+20|0)>>2]=i;Qa[N[g+8>>2]](g,d);ic(g,c,a)}a=0;N[f+64>>2]=0;N[f+60>>2]=h;N[f+48>>2]=4;c=Td(j,f+48|0,0,f+44|0,1);if(!n){break l}if(c){break k}c=N[f+44>>2];if(N[c>>2]==1){break h}o:{if(!c){break o}p:{q:{g=N[c+128>>2];d=N[g+28>>2];switch(d+2|0){case 0:break o;case 2:break q;default:break p}}d=N[c+96>>2];i=N[N[d>>2]+32>>2];r:{if(!i){d=0;break r}d=Qa[i|0](d,15866)|0;g=N[c+128>>2]}N[g+28>>2]=d?d:-2}if(!d){break o}d=N[d>>2];if(!d){break o}a=Qa[d|0](c)|0}s:{if(!a){c=N[f+44>>2];break s}c=N[f+44>>2];if(!cb(a,n)){break h}}if(N[c>>2]<2){break m}a=1;while(1){g=N[c+96>>2];t:{if(!g){break t}i=N[c+128>>2];d=N[i+64>>2];N[i+64>>2]=d-1;if((d|0)>1){break t}d=N[g+16>>2];if(!d){break t}m=g+16|0;i=N[g+8>>2];while(1){if(N[d+8>>2]!=(c|0)){d=N[d+4>>2];if(d){continue}break t}break}k=N[d>>2];q=k?k+4|0:m;m=N[d+4>>2];N[q>>2]=m;N[(m?m:g+20|0)>>2]=k;Qa[N[i+8>>2]](i,d);ic(i,c,g)}N[f+64>>2]=0;N[f+60>>2]=h;N[f+48>>2]=4;if(Td(j,f+48|0,a,f+44|0,1)){break k}u:{v:{c=N[f+44>>2];w:{if(!c){break w}x:{y:{g=N[c+128>>2];d=N[g+28>>2];switch(d+2|0){case 0:break w;case 2:break y;default:break x}}d=N[c+96>>2];i=N[N[d>>2]+32>>2];z:{if(!i){d=0;break z}d=Qa[i|0](d,15866)|0;g=N[c+128>>2]}N[g+28>>2]=d?d:-2}if(!d){break w}d=N[d>>2];if(!d){break w}d=Qa[d|0](c)|0;if(d){break v}}c=N[f+44>>2];break u}c=N[f+44>>2];if(!cb(d,n)){break h}}a=a+1|0;if((a|0)>2]){continue}break}}a=N[c+96>>2];A:{if(!a){break A}g=N[c+128>>2];d=N[g+64>>2];N[g+64>>2]=d-1;if((d|0)>1){break A}d=N[a+16>>2];if(!d){break A}i=a+16|0;g=N[a+8>>2];while(1){if(N[d+8>>2]!=(c|0)){d=N[d+4>>2];if(d){continue}break A}break}j=N[d>>2];k=j?j+4|0:i;i=N[d+4>>2];N[k>>2]=i;N[(i?i:a+20|0)>>2]=j;Qa[N[g+8>>2]](g,d);ic(g,c,a)}N[f+36>>2]=h;N[f+32>>2]=n;mb(o,2,24647,f+32|0);break i}if(c){break k}c=N[f+44>>2];if(N[c>>2]==1){break h}zn(c);break i}N[f+20>>2]=a;N[f+16>>2]=h;mb(o,2,17615,f+16|0)}c=0}La=f+80|0;a=c}if(!a){break a}zo(N[b+20>>2],a);c=0;l=1;B:{if(!(O[a+8|0]&8)){break B}d=N[a+96>>2];f=N[N[d>>2]+32>>2];if(!f){break B}d=Qa[f|0](d,16067)|0;if(!d){break B}d=Qa[N[d+4>>2]](a,2)|0;if(!d){break B}l=0;f=M[d+76>>1];c=M[d+78>>1];if((f|0)!=(0-c|0)){M[a+70>>1]=f;M[a+74>>1]=c+f;M[a+72>>1]=0-c}c=d}if(!(P[a+74>>1]?P[a+70>>1]!=P[a+72>>1]:0)){C:{D:{if(l){break D}d=P[c+70>>1];c=P[c+72>>1];if((d|0)==(c|0)){break D}M[a+72>>1]=c;M[a+70>>1]=d;c=d-c|0;break C}c=N[a- -64>>2];M[a+70>>1]=c;d=N[a+56>>2];M[a+72>>1]=d;c=c-d|0}M[a+74>>1]=c}c=N[b+112>>2];d=(c<<2)+b|0;N[d+68>>2]=a;l=N[e+112>>2];N[b+112>>2]=c+1;N[d+28>>2]=l;p=S[b+120>>3];N[e+124>>2]=1;N[e+128>>2]=0;N[e+136>>2]=0;N[e+140>>2]=0;p=XE(p*64);E:{if(V(p)<2147483648){c=~~p;break E}c=-2147483648}N[e+132>>2]=c;fg(a,e+124|0);l=N[b+112>>2]-1|0;break a}a=N[a>>2];N[e+12>>2]=g;N[e+8>>2]=j;N[e+4>>2]=d;N[e>>2]=c;mb(a,2,23689,e)}La=e+144|0;return l}function ox(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0;f=La-1552|0;La=f;m=N[a+4>>2];L[f+35|0]=0;i=N[N[m+492>>2]+12>>2];a:{if(!(N[N[m+128>>2]+52>>2]|Q[m+16>>2]>c>>>0)){g=6;break a}d=d&1024?d|3:d;b:{if(!b){e=65536;g=65536;break b}e=N[b+20>>2];g=N[b+16>>2]}N[a+168>>2]=e;N[a+164>>2]=g;N[a+108>>2]=0;N[a+72>>2]=1869968492;h=d&1;L[a+161|0]=!h;g=!(d&3);L[a+160|0]=g;g=Qa[N[i>>2]](f+36|0,m,b,a,N[m+424>>2],N[m+532>>2],g,d>>>16&15,147)|0;if(g){break a}e=d&1024;L[f+105|0]=e>>>10;N[f+1400>>2]=N[m+404>>2];N[f+1404>>2]=N[m+408>>2];N[f+1408>>2]=N[m+412>>2];N[f+1412>>2]=N[m+416>>2];N[f+1532>>2]=N[m+548>>2];N[f+1536>>2]=N[m+544>>2];g=$e(f+36|0,c,f+8|0,f+35|0);if(!g){n=O[a+160|0];c=f+1424|0;g=N[c+4>>2];N[f+24>>2]=N[c>>2];N[f+28>>2]=g;c=N[f+1420>>2];N[f+16>>2]=N[f+1416>>2];N[f+20>>2]=c;c=N[f+1436>>2];g=N[f+1432>>2];Qa[N[i+4>>2]](f+36|0);i=N[a+124>>2]&1;N[a+124>>2]=i|4;c:{if(e){b=N[f+68>>2];N[a+32>>2]=((b>>31)+b|0)+32768>>16;b=N[f+76>>2];N[a+40>>2]=((b>>31)+b|0)+32768>>16;d=N[f+24>>2];e=N[f+28>>2];i=N[f+16>>2];j=N[f+20>>2];b=N[a+156>>2];N[b+28>>2]=g;N[b+32>>2]=c;L[b+8|0]=1;N[b+20>>2]=d;N[b+24>>2]=e;N[b+12>>2]=i;N[b+16>>2]=j;break c}e=N[f+76>>2];j=((e>>31)+e|0)+32768>>16;N[a+56>>2]=j;N[a+40>>2]=j;L[N[a+156>>2]+8|0]=0;p=d&16;if(p){d=N[m+476>>2]-N[m+468>>2]|0}else{d=N[f+80>>2];d=((d>>31)+d|0)+32768|0}N[a+72>>2]=1869968492;l=d>>16;N[a+60>>2]=l;N[a+52>>2]=l;if(!(!b|P[b+14>>1]>23)){N[a+124>>2]=i|260}d=N[f+16>>2];d:{if(!(N[f+20>>2]|((d|0)!=65536|N[f+28>>2]!=65536))){if(!N[f+24>>2]){break d}}b=N[a+112>>2];e:{if(!b){break e}e=M[a+110>>1];if((e|0)<=0){break e}d=(e<<3)+b|0;while(1){id(b,f+16|0);b=b+8|0;if(d>>>0>b>>>0){continue}break}j=N[a+40>>2];d=N[f+16>>2]}e=j>>31;e=(e^j)-e|0;b=d>>31;b=(b^d)-b|0;f:{if(e+(b>>>8|0)>>>0<=8190){k=T(b,e)+32768>>>16|0;break f}i=e&65535;k=T(i,b>>>16|0)+T(b,e>>>16|0)+(T(i,b&65535)+32768>>>16)|0}b=k;i=0-b|0;b=j>>31|1;j=(((d|0)<0?0-b|0:b)|0)<0?i:k;N[a+40>>2]=j;e=N[a+52>>2];d=e>>31;i=N[f+28>>2];b=i>>31;d=(d^e)-d|0;b=(b^i)-b|0;g:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break g}l=d&65535;d=T(l,b>>>16|0)+T(b,d>>>16|0)+(T(l,b&65535)+32768>>>16)|0}b=d;k=0-b|0;b=e>>31|1;l=(((i|0)<0?0-b|0:b)|0)<0?k:d;N[a+52>>2]=l}if(c|g){e=M[a+110>>1];h:{if((e|0)<=0){break h}b=N[a+112>>2];if(e>>>0>=4){i=e&-4;d=0;while(1){N[b>>2]=g+N[b>>2];N[b+4>>2]=c+N[b+4>>2];N[b+8>>2]=g+N[b+8>>2];N[b+16>>2]=g+N[b+16>>2];N[b+24>>2]=g+N[b+24>>2];N[b+12>>2]=c+N[b+12>>2];N[b+20>>2]=c+N[b+20>>2];N[b+28>>2]=c+N[b+28>>2];b=b+32|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}e=e&3;if(!e){break h}d=0;while(1){N[b>>2]=g+N[b>>2];N[b+4>>2]=c+N[b+4>>2];b=b+8|0;d=d+1|0;if((e|0)!=(d|0)){continue}break}}l=c+l|0;N[a+52>>2]=l;j=g+j|0;N[a+40>>2]=j}if(!(O[f+35|0]?0:h)){c=N[a+168>>2];g=N[a+164>>2];i:{if(N[f+108>>2]?n:0){break i}b=N[f+52>>2];d=M[b+2>>1];if((d|0)<=0){break i}d=d&65535;e=c>>31;e=(e^c)-e|0;q=e&65535;r=e>>>16|0;s=e>>>8|0;i=g>>31;i=(i^g)-i|0;t=i&65535;u=i>>>16|0;v=i>>>8|0;b=N[b+4>>2];while(1){n=N[b>>2];h=n>>31;h=(h^n)-h|0;j:{if(h+v>>>0<=8190){k=T(h,i)+32768>>>16|0;break j}k=h&65535;k=T(k,u)+T(i,h>>>16|0)+(T(k,t)+32768>>>16)|0}h=k;o=0-h|0;h=n>>31|1;N[b>>2]=(((g|0)<0?0-h|0:h)|0)<0?o:k;n=N[b+4>>2];h=n>>31;h=(h^n)-h|0;k:{if(h+s>>>0<=8190){k=T(e,h)+32768>>>16|0;break k}k=h&65535;k=T(k,r)+T(e,h>>>16|0)+(T(k,q)+32768>>>16)|0}h=k;o=0-h|0;h=n>>31|1;N[b+4>>2]=(((c|0)<0?0-h|0:h)|0)<0?o:k;b=b+8|0;h=d>>>0>1;d=d-1|0;if(h){continue}break}}d=j>>31;d=(d^j)-d|0;b=g>>31;b=(b^g)-b|0;l:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break l}e=d&65535;d=T(e,b>>>16|0)+T(b,d>>>16|0)+(T(e,b&65535)+32768>>>16)|0}b=d;h=0-b|0;b=j>>31|1;j=(((g|0)<0?0-b|0:b)|0)<0?h:d;N[a+40>>2]=j;d=l>>31;d=(d^l)-d|0;b=c>>31;b=(b^c)-b|0;m:{if(d+(b>>>8|0)>>>0<=8190){d=T(b,d)+32768>>>16|0;break m}g=d&65535;d=T(g,b>>>16|0)+T(b,d>>>16|0)+(T(g,b&65535)+32768>>>16)|0}b=d;g=0-b|0;b=l>>31|1;l=(((c|0)<0?0-b|0:b)|0)<0?g:d;N[a+52>>2]=l}b=M[a+110>>1];n:{if(!b){d=0;b=0;c=0;g=0;break n}e=N[a+112>>2];c=N[e+4>>2];g=N[e>>2];if((b|0)<2){d=c;b=g;break n}n=(b<<3)+e|0;i=e+8|0;b=g;d=c;while(1){h=N[e+12>>2];d=(d|0)<(h|0)?h:d;c=(c|0)>(h|0)?h:c;e=N[e+8>>2];b=(b|0)<(e|0)?e:b;g=(e|0)<(g|0)?e:g;e=i;i=e+8|0;if(n>>>0>i>>>0){continue}break}}N[a+36>>2]=d;N[a+32>>2]=g;e=d-c|0;N[a+28>>2]=e;N[a+24>>2]=b-g;if(!p){break c}b=(d|0)<0?(d|0)<(e|0)?e:d:0-c|0;c=l?l:(T(b,12)|0)/10|0;N[a+52>>2]=c;N[a+48>>2]=(c-b|0)/2;N[a+44>>2]=((j|0)/-2|0)+g}N[a+136>>2]=N[f+8>>2];N[a+140>>2]=N[f+12>>2];g=0;b=N[N[m+128>>2]+52>>2];if(!b){break a}Qa[N[N[b>>2]+4>>2]](N[b+4>>2],f+8|0);N[a+136>>2]=0;N[a+140>>2]=0;break a}Qa[N[i+4>>2]](f+36|0)}La=f+1552|0;return g|0}function mz(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0;C(b,0,72);n=N[a+24>>2];a:{if(!n){h=2147483647;g=-2147483648;j=-2147483648;l=2147483647;r=-2147483648;v=-2147483648;o=2147483647;s=2147483647;break a}m=N[a+28>>2];v=-2147483648;s=2147483647;o=2147483647;r=-2147483648;l=2147483647;h=2147483647;j=-2147483648;g=-2147483648;while(1){p=T(d,24);k=p+m|0;i=N[k>>2];if(i){u=m+p|0;e=N[i>>2]+N[u+8>>2]|0;l=(e|0)>(l|0)?l:e;e=e+N[i+8>>2]|0;j=(e|0)<(j|0)?j:e;e=N[i+4>>2]+N[u+12>>2]|0;h=(e|0)>(h|0)?h:e;e=e+N[i+12>>2]|0;g=(e|0)<(g|0)?g:e;t=t+1|0;e=k}i=N[k+4>>2];if(i){p=m+p|0;f=N[i>>2]+N[p+16>>2]|0;s=(f|0)>(s|0)?s:f;f=f+N[i+8>>2]|0;v=(f|0)<(v|0)?v:f;f=N[i+4>>2]+N[p+20>>2]|0;o=(f|0)>(o|0)?o:f;f=f+N[i+12>>2]|0;r=(f|0)<(r|0)?r:f;q=q+1|0;f=k}d=d+1|0;if((n|0)!=(d|0)){continue}break}}b:{c:{d:{e:{d=N[a+4>>2];k=(d|0)<4?d:(d|0)<8?4:5;f:{if(!(k|(t|0)!=1)){ug(c+872|0,b,N[e>>2]);N[b>>2]=N[b>>2]+N[e+8>>2];N[b+4>>2]=N[b+4>>2]+N[e+12>>2];break f}if(!t){break f}d=1<>2];i=0-d|0;m=k<<1;e=m+(j-l|0)|0;j=e>>>0>i>>>0?e:i&(d+e|0)-1;g=m+(g-h|0)|0;if(j>>>0>((d^2147483647)>>>0)/(((g|0)<=1?1:g)>>>0)>>>0){break f}i=d+T(g,j)|0;if(i>>>0>=-5-d>>>0){break f}i=db((d+i|0)+3|0,1);if(!i){break f}u=d;p=d-1|0;d=i+4|0;m=p&d;d=(m?u-m|0:0)+d|0;N[d-4>>2]=i;if(!d){break f}N[b+20>>2]=d;N[b+16>>2]=j;N[b+12>>2]=g;N[b+8>>2]=e;N[b+4>>2]=h-k;N[b>>2]=l-k;if(!n){break f}d=0;while(1){g=N[a+28>>2]+T(d,24)|0;e=N[g>>2];if(e){h=(N[e>>2]+N[g+8>>2]|0)-N[b>>2]|0;if((h|0)<0){break e}l=N[e+8>>2];if(N[b+8>>2]<(l+h|0)){break e}g=(N[e+4>>2]+N[g+12>>2]|0)-N[b+4>>2]|0;if((g|0)<0){break d}j=N[e+12>>2];if(N[b+12>>2]<(j+g|0)){break d}u=g;g=N[b+16>>2];Qa[N[c+896>>2]](h+(N[b+20>>2]+T(u,g)|0)|0,g,N[e+20>>2],N[e+16>>2],l,j);n=N[a+24>>2]}d=d+1|0;if(n>>>0>d>>>0){continue}break}}g:{if(!((q|0)!=1|k)){ug(c+872|0,b+24|0,N[f+4>>2]);N[b+24>>2]=N[b+24>>2]+N[f+16>>2];N[b+28>>2]=N[b+28>>2]+N[f+20>>2];break g}if(!q){break g}d=1<>2];f=0-d|0;g=k<<1;e=g+(v-s|0)|0;f=e>>>0>f>>>0?e:f&(d+e|0)-1;g=g+(r-o|0)|0;if(f>>>0>((d^2147483647)>>>0)/(((g|0)<=1?1:g)>>>0)>>>0){break g}h=d+T(f,g)|0;if(h>>>0>=-5-d>>>0){break g}h=db((d+h|0)+3|0,1);if(!h){break g}u=d;p=d-1|0;d=h+4|0;l=p&d;d=(l?u-l|0:0)+d|0;N[d-4>>2]=h;if(!d){break g}N[b+44>>2]=d;N[b+40>>2]=f;N[b+36>>2]=g;N[b+32>>2]=e;N[b+28>>2]=o-k;N[b+24>>2]=s-k;g=N[a+24>>2];if(!g){break g}k=0;while(1){e=N[a+28>>2]+T(k,24)|0;d=N[e+4>>2];if(d){f=(N[d>>2]+N[e+16>>2]|0)-N[b+24>>2]|0;if((f|0)<0){break c}g=N[d+8>>2];if(N[b+32>>2]<(g+f|0)){break c}e=(N[d+4>>2]+N[e+20>>2]|0)-N[b+28>>2]|0;if((e|0)<0){break b}h=N[d+12>>2];if(N[b+36>>2]<(h+e|0)){break b}u=e;e=N[b+40>>2];Qa[N[c+896>>2]](f+(N[b+44>>2]+T(u,e)|0)|0,e,N[d+20>>2],N[d+16>>2],g,h);g=N[a+24>>2]}k=k+1|0;if(k>>>0>>0){continue}break}}w=no(+N[a+8>>2]*.00390625)*32;w=w*w;x=no(+N[a+12>>2]*.00390625)*32;x=x*x;d=N[a>>2];if((d&3)!=2){to(c+872|0,b,N[a+4>>2],w,x)}k=c+872|0;h=b+24|0;to(k,h,N[a+4>>2],w,x);v=d&24;if(!v){vi(b,h)}h:{if(!(d&4)){break h}c=b+48|0;i:{if(d&2){ug(k,c,h);if((v|0)!=16){break i}vi(b,c);break i}if(d&1){d=N[h+4>>2];N[c>>2]=N[h>>2];N[c+4>>2]=d;d=N[h+20>>2];N[c+16>>2]=N[h+16>>2];N[c+20>>2]=d;d=N[h+12>>2];N[c+8>>2]=N[h+8>>2];N[c+12>>2]=d;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;N[h+16>>2]=0;N[h+20>>2]=0;break i}ug(k,c,b)}d=N[a+16>>2];N[b+48>>2]=N[b+48>>2]+(d>>6);c=N[a+20>>2];N[b+52>>2]=N[b+52>>2]+(c>>6);l=N[b+68>>2];if(!l){break h}s=c&63;o=N[b- -64>>2];k=N[b+56>>2];j=d&63;c=N[b+60>>2];if(!(!j|(c|0)<=0|(k|0)<2)){e=k-1|0;m=k&1;g=0;t=(k|0)==2;while(1){r=T(g,o);d=k;if(!m){d=l+(e+r|0)|0;n=d-1|0;i=O[n|0];f=T(i,j)>>>6|0;L[n|0]=i-f;L[d|0]=f+O[d|0];d=e}if(!t){while(1){n=l+(d+r|0)|0;i=n-2|0;q=O[i|0];f=T(q,j)>>>6|0;L[i|0]=q-f;n=n-1|0;L[n|0]=f+O[n|0];f=d-2|0;n=l+(f+r|0)|0;q=n-1|0;p=O[q|0];i=T(p,j)>>>6|0;L[q|0]=p-i;L[n|0]=i+O[n|0];n=(d|0)>3;d=f;if(n){continue}break}}g=g+1|0;if((c|0)!=(g|0)){continue}break}}if(!s|(k|0)<=0|(c|0)<2){break h}r=c&1;e=c-1|0;n=T(e,o);g=0;i=(c|0)==2;while(1){d=c;if(!r){f=g+n|0;j=l+(f-o|0)|0;m=O[j|0];d=T(m,s)>>>6|0;L[j|0]=m-d;f=f+l|0;L[f|0]=d+O[f|0];d=e}if(!i){while(1){j=T(o,d-1|0)+g|0;m=l+(j-o|0)|0;t=O[m|0];f=T(t,s)>>>6|0;L[m|0]=t-f;j=j+l|0;L[j|0]=f+O[j|0];f=d-2|0;m=T(f,o)+g|0;t=l+(m-o|0)|0;q=O[t|0];j=T(q,s)>>>6|0;L[t|0]=q-j;m=l+m|0;L[m|0]=j+O[m|0];j=(d|0)>3;d=f;if(j){continue}break}}g=g+1|0;if((k|0)!=(g|0)){continue}break}}if((v|0)==8){vi(b,h)}return(((T(N[a+24>>2],24)+T(N[b+16>>2],N[b+12>>2])|0)+T(N[b+40>>2],N[b+36>>2])|0)+T(N[b- -64>>2],N[b+60>>2])|0)+104|0}ba(8285,18170,2727,9568);B()}ba(14429,18170,2728,9568);B()}ba(8285,18170,2752,9568);B()}ba(14429,18170,2753,9568);B()}function Ap(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;u=La-16|0;La=u;e=T(b,1348)+a|0;g=e;i=N[e+52>>2];a:{b:{if(i){e=N[e+44>>2];d=Yd(a,b);if(d){break a}if((e|0)<=0){break b}e=T(e,44)+i|0;while(1){d=N[i+36>>2];c=P[d>>1];f=O[i|0];L[i|0]=f&254;h=N[i+40>>2];c:{if((h|0)==(d|0)){break c}c=c&3;while(1){l=c;d=N[d+32>>2];c=P[d>>1]&3;if(!((l|c)&65535)){break c}if((d|0)!=(h|0)){continue}break}L[i|0]=f|1}i=i+44|0;if(e>>>0>i>>>0){continue}break}break b}d=Yd(a,b);if(d){break a}}s=N[a+2748>>2];j=N[s+40>>2]/256|0;e=N[g+52>>2];p=T(b,1348)+a|0;w=p+44|0;m=N[w>>2];n=e+T(m,44)|0;l=N[p+68>>2];o=(b?12:4)+a|0;k=N[o>>2];i=fb(192,k);if((m|0)>0){c=e;while(1){d=e;if((l|0)==L[c+1|0]){while(1){d:{if((c|0)==(d|0)|(l|0)!=(0-L[d+1|0]|0)){break d}f=M[d+2>>1]-M[c+2>>1]|0;if((f|0)<0){break d}g=M[c+8>>1];h=M[d+8>>1];r=(g|0)<(h|0)?g:h;g=M[c+6>>1];h=M[d+6>>1];g=r-((g|0)>(h|0)?g:h)|0;if((g|0)<(j|0)){break d}h=f<<3;k=N[c+28>>2];if(!((h|0)>=(T(k,9)|0)|(g|0)<=N[c+32>>2]&(h|0)>=(T(k,7)|0))){N[c+32>>2]=g;N[c+28>>2]=f;N[c+20>>2]=d}k=N[d+28>>2];if((h|0)>=(T(k,9)|0)|(g|0)<=N[d+32>>2]&(h|0)>=(T(k,7)|0)){break d}N[d+32>>2]=g;N[d+28>>2]=f;N[d+20>>2]=c}d=d+44|0;if(n>>>0>d>>>0){continue}break}}c=c+44|0;if(n>>>0>c>>>0){continue}break}c=e;while(1){h=N[c+20>>2];e:{if(!h|N[h+20>>2]!=(c|0)){break e}j=M[h+2>>1];k=M[c+2>>1];if((j|0)<=(k|0)){break e}q=N[c+28>>2];if((q|0)>=(i|0)){break e}v=q<<2;d=e;while(1){f:{g:{if((c|0)==(d|0)){break g}g=M[d+2>>1];if((g|0)>(k|0)){break g}l=N[d+20>>2];if(!l|N[l+20>>2]!=(d|0)){break g}f=M[l+2>>1];if((f|0)<(j|0)|(g|0)==(k|0)&(f|0)==(j|0)){break g}g=N[d+28>>2];if((g|0)<=(q|0)|(g|0)>=(v|0)){break g}f=e;if(N[c+32>>2]<(T(N[d+32>>2],3)|0)){break f}while(1){g=h;t=N[f+20>>2];h:{if((t|0)!=(d|0)){g=c;if((l|0)!=(t|0)){break h}}N[f+24>>2]=g;N[f+20>>2]=0}f=f+44|0;if(n>>>0>f>>>0){continue}break}}d=d+44|0;if(n>>>0>d>>>0){continue}break e}break}N[h+20>>2]=0;N[c+20>>2]=0}c=c+44|0;if(n>>>0>c>>>0){continue}break}d=e;while(1){c=N[d+20>>2];i:{if(!c|N[c+20>>2]==(d|0)){break i}N[d+20>>2]=0;g=N[c+28>>2];if((g|0)>=(i|0)&N[d+28>>2]>=g<<2){break i}N[d+24>>2]=N[c+20>>2]}d=d+44|0;if(n>>>0>d>>>0){continue}break}k=N[o>>2]}v=N[a>>2];N[p+56>>2]=0;g=N[(s+T(b,7676)|0)+248>>2];c=g>>31;d=k>>31;j=(d^k)-d|0;t=j>>>8|0;c=(c^g)-c|0;j:{if(t+c>>>0<=8190){f=T(c,j)+32768>>>16|0;break j}d=c&65535;f=T(d,j>>>16|0)+T(j,c>>>16|0)+(T(d,j&65535)+32768>>>16)|0}c=f;d=0;h=0-c|0;c=g>>31|1;if((((((k|0)<0?0-c|0:c)|0)<0?h:f)|0)>=17){g=fb(16,k)}if((m|0)<=0){break a}z=j&65535;A=j>>>16|0;B=(T(b,1348)+a|0)- -64|0;while(1){k:{l:{x=N[p+56>>2];m:{if((x|0)<=0){q=O[e+1|0];break m}q=O[e+1|0];s=N[B>>2];f=0;h=65535;i=0;while(1){d=T(i,44);l=d+s|0;n:{if(O[l+13|0]!=(q|0)){break n}m=M[e+2>>1]-M[l>>1]|0;c=m>>31;m=(c^m)-c|0;if((m|0)>=(g|0)|(h|0)<=(m|0)){break n}y=N[e+20>>2];if(y){c=0;r=N[(d+s|0)+36>>2];d=r;while(1){o:{o=N[d+20>>2];if(o){c=M[y+2>>1];o=M[o+2>>1];c=(c|0)>(o|0)?c-o|0:o-c|0;if((g|0)<=(c|0)){break o}}d=N[d+16>>2];if((r|0)!=(d|0)){continue}}break}if((c|0)>=(g|0)){break n}}h=m;f=l}i=i+1|0;if((x|0)!=(i|0)){continue}break}if(f){break l}}d=xp(w,M[e+2>>1],q<<24>>24,0,v,u+12|0);if(d){break a}c=N[u+12>>2];N[c>>2]=0;N[c+4>>2]=0;N[c+40>>2]=e;N[c+36>>2]=e;N[c+32>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;L[c+13|0]=O[e+1|0];d=M[e+2>>1];M[c>>1]=d;f=d>>31;f=(f^d)-f|0;p:{if(f+t>>>0<=8190){f=T(f,j)+32768>>>16|0;break p}f=T(f,A)+(T(f,z)+32768>>>16|0)|0}d=d>>31|1;d=(((k|0)<0?0-d|0:d)|0)<0?0-f|0:f;N[c+8>>2]=d;N[c+4>>2]=d;N[e+16>>2]=e;break k}N[e+16>>2]=N[f+36>>2];N[N[f+40>>2]+16>>2]=e;N[f+40>>2]=e}e=e+44|0;if(n>>>0>e>>>0){continue}break}e=N[p+56>>2];if((e|0)>0){b=N[(T(b,1348)+a|0)- -64>>2];n=b+T(e,44)|0;c=b;while(1){a=N[c+36>>2];d=a;if(d){while(1){N[d+12>>2]=c;d=N[d+16>>2];if((a|0)!=(d|0)){continue}break}}c=c+44|0;if(n>>>0>c>>>0){continue}break}while(1){f=0;m=0;h=N[b+36>>2];if(h){l=b+28|0;a=b+24|0;d=h;while(1){k=L[d|0]&1;p=!k;c=N[d+24>>2];q:{r:{if(c){g=N[d+20>>2];e=N[c+12>>2];if(!g&(e|0)==(b|0)){break q}if((b|0)==(e|0)){i=0;e=a;break r}i=1;e=l;g=c;break r}i=0;e=a;g=N[d+20>>2];if(!g){break q}}c=N[e>>2];s:{if(c){j=M[b>>1]-M[c>>1]|0;e=j>>31;r=(e^j)-e|0;e=M[d+2>>1];j=M[g+2>>1];if((r|0)<=(((e|0)>(j|0)?e-j|0:j-e|0)|0)){break s}}c=N[g+12>>2]}if(i){N[l>>2]=c;L[c+12|0]=O[c+12|0]|2;break q}N[a>>2]=c}f=f+k|0;m=m+p|0;d=N[d+16>>2];if((h|0)!=(d|0)){continue}break}}L[b+12|0]=(f|0)>0&(f|0)>=(m|0);if(!(!N[b+28>>2]|!N[b+24>>2])){N[b+28>>2]=0}b=b+44|0;if(n>>>0>b>>>0){continue}break}}d=0}La=u+16|0;return d}function Ah(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;m=La-192|0;La=m;N[m+144>>2]=0;N[m+148>>2]=0;N[m+152>>2]=0;N[m+156>>2]=0;N[m+160>>2]=0;N[m+164>>2]=0;N[m+168>>2]=0;N[m+172>>2]=0;N[m+176>>2]=0;N[m+180>>2]=0;N[m+184>>2]=0;N[m+188>>2]=0;N[m+128>>2]=0;N[m+132>>2]=0;N[m+136>>2]=0;N[m+140>>2]=0;s=b;k=a;n=b&3;if(n){s=b&-4;while(1){t=(m+128|0)+(N[k>>2]<<2)|0;N[t>>2]=N[t>>2]+1;k=k+4|0;l=l+1|0;if((n|0)!=(l|0)){continue}break}}if(b-1>>>0>=3){while(1){l=m+128|0;n=l+(N[k>>2]<<2)|0;N[n>>2]=N[n>>2]+1;n=l+(N[k+4>>2]<<2)|0;N[n>>2]=N[n>>2]+1;n=l+(N[k+8>>2]<<2)|0;N[n>>2]=N[n>>2]+1;l=l+(N[k+12>>2]<<2)|0;N[l>>2]=N[l>>2]+1;k=k+16|0;s=s-4|0;if(s){continue}break}}a:{if(N[m+128>>2]==(b|0)){N[f>>2]=0;N[g>>2]=0;break a}k=N[g>>2];o=1;b:{c:{d:{e:{f:{g:{l=N[m+132>>2];if(l){break g}o=2;if(N[m+136>>2]){break g}o=3;if(N[m+140>>2]){break g}o=4;if(N[m+144>>2]){break g}o=5;if(N[m+148>>2]){break g}o=6;if(N[m+152>>2]){break g}o=7;if(N[m+156>>2]){break g}o=8;if(N[m+160>>2]){break g}o=9;if(N[m+164>>2]){break g}o=10;if(N[m+168>>2]){break g}o=11;if(N[m+172>>2]){break g}o=12;if(N[m+176>>2]){break g}o=13;if(N[m+180>>2]){break g}o=14;if(N[m+184>>2]){break g}if(N[m+188>>2]){o=15;k=k>>>0<=15?15:k;A=1;l=15;break e}o=16;k=k>>>0<=16?16:k;break f}k=k>>>0>o>>>0?k:o;if(N[m+188>>2]){p=15;u=k>>>0>=15?15:k;N[g>>2]=u;w=1<>2]){break d}}p=13;if(N[m+180>>2]){break d}p=12;if(N[m+176>>2]){break d}p=11;if(N[m+172>>2]){break d}p=10;if(N[m+168>>2]){break d}p=9;if(N[m+164>>2]){break d}p=8;if(N[m+160>>2]){break d}p=7;if(N[m+156>>2]){break d}p=6;if(N[m+152>>2]){break d}p=5;if(N[m+148>>2]){break d}p=4;if(N[m+144>>2]){break d}p=3;if(N[m+140>>2]){break d}p=2;if(N[m+136>>2]){break d}A=!l;l=(l|0)!=0}p=l;u=k>>>0

>>0?k:p;N[g>>2]=u;w=1<>>0

>>0?k:p;N[g>>2]=u;A=1;w=1<>>0>=p>>>0){break b}}k=o;while(1){g=w-N[(m+128|0)+(k<<2)>>2]|0;if((g|0)<0){C=-3;break a}A=1;w=g<<1;k=k+1|0;if((p|0)!=(k|0)){continue}break}}C=-3;g=(m+128|0)+(p<<2)|0;D=N[g>>2];if((w-D|0)<0){break a}N[g>>2]=w;N[m+4>>2]=0;g=p-1|0;h:{if(!g){break h}k=m+128|4;n=g&3;l=m|8;s=0;i:{if(p-2>>>0<3){break i}g=p-5|0;t=(g>>>2|0)+1|0;v=t&1;if(g>>>0>=4){t=t&2147483646;g=0;while(1){q=N[k>>2]+r|0;N[l>>2]=q;q=q+N[k+4>>2]|0;N[l+4>>2]=q;q=q+N[k+8>>2]|0;N[l+8>>2]=q;q=q+N[k+12>>2]|0;N[l+12>>2]=q;q=q+N[k+16>>2]|0;N[l+16>>2]=q;q=q+N[k+20>>2]|0;N[l+20>>2]=q;q=q+N[k+24>>2]|0;N[l+24>>2]=q;r=q+N[k+28>>2]|0;N[l+28>>2]=r;l=l+32|0;k=k+32|0;g=g+2|0;if((t|0)!=(g|0)){continue}break}}if(!v){break i}g=N[k>>2]+r|0;N[l>>2]=g;g=g+N[k+4>>2]|0;N[l+4>>2]=g;g=g+N[k+8>>2]|0;N[l+8>>2]=g;r=g+N[k+12>>2]|0;N[l+12>>2]=r;l=l+16|0;k=k+16|0}if(!n){break h}while(1){r=N[k>>2]+r|0;N[l>>2]=r;l=l+4|0;k=k+4|0;s=s+1|0;if((n|0)!=(s|0)){continue}break}}g=b>>>0<=1?1:b;l=g&1;k=0;if(b>>>0>=2){g=g&-2;while(1){b=N[a>>2];if(b){n=(b<<2)+m|0;b=N[n>>2];N[n>>2]=b+1;N[(b<<2)+j>>2]=k}b=N[a+4>>2];if(b){n=(b<<2)+m|0;b=N[n>>2];N[n>>2]=b+1;N[(b<<2)+j>>2]=k|1}a=a+8|0;k=k+2|0;if((g|0)!=(k|0)){continue}break}}j:{if(!l){break j}a=N[a>>2];if(!a){break j}b=(a<<2)+m|0;a=N[b>>2];N[b>>2]=a+1;N[(a<<2)+j>>2]=k}N[m+64>>2]=0;a=N[(p<<2)+m>>2];N[m>>2]=0;if(o>>>0<=p>>>0){n=0-u|0;E=(a<<2)+j|0;g=0;s=0;a=0;k=-1;while(1){q=(m+128|0)+(o<<2)|0;y=N[q>>2];if(y){F=1<>>0<=y>>>0){break l}g=p-n|0;s=g>>>0>>0?g:u;if(s>>>0<=b>>>0){break l}l=b+1|0;if(s>>>0<=l>>>0){break l}g=u>>>0>>0?u:B;r=k-y|0;k=q;while(1){r=r<<1;z=N[k+4>>2];if(r>>>0<=z>>>0){break l}k=k+4|0;r=r-z|0;l=l+1|0;if(s>>>0>l>>>0){continue}break}l=g}g=1<>2];r=g+s|0;if(r>>>0>1440){break a}k=t+1|0;z=k<<2;s=(s<<3)+h|0;N[z+(m- -64|0)>>2]=s;N[i>>2]=r;m:{if(k){N[m+z>>2]=a;r=N[(m- -64|0)+(t<<2)>>2];v=a>>>v|0;t=r+(v<<3)|0;L[t+1|0]=u;L[t|0]=l;x=(s-r>>3)-v|0;N[t+4>>2]=x;break m}N[f>>2]=s}B=B-u|0;v=n;t=k;l=n+u|0;if((o|0)>(l|0)){continue}break}}t=192;n:{if(j>>>0>=E>>>0){break n}x=N[j>>2];if(x>>>0>>0){t=x>>>0>=256?96:0;j=j+4|0;break n}j=j+4|0;l=x-c<<2;t=O[l+e|0]+80|0;x=N[d+l>>2]}l=a>>>n|0;if(l>>>0>>0){r=1<>2]=x;L[v+1|0]=b;L[v|0]=t;l=l+r|0;if(l>>>0>>0){continue}break}}l=F;if(l&a){while(1){a=a^l;l=l>>>1|0;if(a&l){continue}break}}a=a^l;if(N[(k<<2)+m>>2]!=(a&(-1<>2]!=((-1<>2]);_a(N[a+104>>2]);N[a+100>>2]=0;if(b){e=Hb(b)}else{e=0}N[a+104>>2]=e;Ee(a);dd(N[a+840>>2]);dd(N[a+856>>2]);e=N[a+8>>2];if(e){d=N[e+36>>2];if(d){xe(d)}d=N[e+40>>2];if(d){xe(d)}_a(N[e+32>>2]);_a(N[e+16>>2]);_a(N[e+12>>2]);_a(e)}e=N[a+4>>2];n=N[a>>2];j=db(1,44);a:{if(j){N[j+8>>2]=1;N[j+4>>2]=e;N[j>>2]=n;b:{if(b){b=Hb(b);N[j+16>>2]=0;N[j+12>>2]=b;if(!b){break b}}l=db(1,44);if(l){N[l>>2]=j;N[l+36>>2]=N[110084];b=N[110083];N[l+28>>2]=N[110082];N[l+32>>2]=b;b=N[110081];N[l+20>>2]=N[110080];N[l+24>>2]=b;b=N[110079];N[l+12>>2]=N[110078];N[l+16>>2]=b;b=N[110077];N[l+4>>2]=N[110076];N[l+8>>2]=b;d=N[n>>2];c:{if(!d|!O[d|0]){break c}b=nb(d);if(b){e=b-1|0;c=O[d+e|0]==47?e:b;if(c>>>0>4294967037){break c}r=c+258|0}else{r=258}b=kb(r);if(!b){break c}F(b,d,c);L[b+c|0]=47;e=0;d=Qn(d,589824);if((d|0)>=0){d:{e=db(1,2072);if(!e){ia(d|0)|0;e=0;break d}N[e+8>>2]=d}}o=e;e:{if(!e){e=b;break e}s=c+1|0;while(1){f:{e=b;c=N[o+12>>2];g:{if((c|0)>=N[o+16>>2]){c=0;d=Ba(N[o+8>>2],o+24|0,2048)|0;if((d|0)<=0){if(!d|(d|0)==-44){break g}N[147316]=0-d;break g}N[o+16>>2]=d}d=c;c=c+o|0;N[o+12>>2]=d+P[c+40>>1];d=N[c+36>>2];N[o>>2]=N[c+32>>2];N[o+4>>2]=d;c=c+24|0}if(!c){break f}m=c?c+19|0:0;if(O[m|0]==46){continue}f=nb(m);d=f+1|0;c=d+s|0;if(c>>>0>>0){continue}h:{if(c>>>0>r>>>0){if(c>>>0>4294967039){continue}c=c+256|0;e=$a(b,c);if(!e){continue}F(e+s|0,m,d);r=c;break h}F(e+s|0,m,d);b=0;if(!e){continue}}N[k+64>>2]=e;mb(n,4,24533,k- -64|0);c=0;h=La-16|0;La=h;i:{j:{if(!lc(18347,114)){N[147316]=28;break j}b=((lc(18329,43)|0)!=0)<<1;b=lc(18329,120)?b|128:b;b=lc(18329,101)?b|524288:b;N[h>>2]=438;N[h+4>>2]=0;b=na(-100,e|0,b|32768,h|0)|0;if(b>>>0>=4294963201){N[147316]=0-b;b=-1}if((b|0)<0){break i}f=La-32|0;La=f;k:{l:{m:{if(!lc(18347,L[18329])){N[147316]=28;break m}c=kb(1176);if(c){break l}}c=0;break k}ve(c,0,144);d=O[18329];if(!lc(18329,43)){N[c>>2]=(d|0)==114?8:4}n:{if((d|0)!=97){d=N[c>>2];break n}d=ka(b|0,3,0)|0;if(!(d&1024)){d=d|1024;N[f+16>>2]=d;N[f+20>>2]=d>>31;ka(b|0,4,f+16|0)|0}d=N[c>>2]|128;N[c>>2]=d}N[c+80>>2]=-1;N[c+48>>2]=1024;N[c+60>>2]=b;N[c+44>>2]=c+152;o:{if(d&8){break o}N[f>>2]=f+24;N[f+4>>2]=0;if(Ja(b|0,21523,f|0)|0){break o}N[c+80>>2]=10}N[c+40>>2]=377;N[c+36>>2]=378;N[c+32>>2]=379;N[c+12>>2]=380;if(!O[591481]){N[c+76>>2]=-1}d=N[147575];N[c+56>>2]=d;if(d){N[d+52>>2]=c}N[147575]=c}La=f+32|0;if(c){break i}ia(b|0)|0}c=0}La=h+16|0;if(!c){N[k>>2]=e;mb(n,2,16820,k);b=e;continue}p:{if(N[c+76>>2]<0){b=li(c,2);break p}b=li(c,2)}if((b|0)==-1){N[k+16>>2]=e;mb(n,2,16852,k+16|0);rg(c);b=e;continue}f=c;q:{if(N[c+76>>2]<0){b=ho(f);c=Pa;break q}b=ho(f);c=Pa}if((c|0)>=0&b>>>0>=2147483648|(c|0)>0){N[147316]=61;b=-1}li(f,0);N[f>>2]=N[f>>2]&-33;h=b;N[k+48>>2]=b;mb(n,6,16738,k+48|0);r:{if((b|0)!=-1){b=0;q=kb(h+1|0);if(q){break r}}rg(f);b=e;continue}s:{while(1){i=b+q|0;d=h-b|0;c=N[f+72>>2];N[f+72>>2]=c-1|c;c=N[f+4>>2];g=N[f+8>>2];if((c|0)==(g|0)){c=d}else{p=c;c=g-c|0;c=c>>>0>>0?c:d;Pc(i,p,c);N[f+4>>2]=c+N[f+4>>2];i=c+i|0;c=d-c|0}if(c){while(1){t:{u:{if(!mi(f)){g=Qa[N[f+32>>2]](f,i,c)|0;if(g){break u}}d=d-c|0;break t}i=g+i|0;c=c-g|0;if(c){continue}}break}}if((d|0)<=0){t=N[147316];v=P[((t>>>0<=153?t:0)<<1)+583168>>1]+581240|0;b=0;c=N[N[147600]+20>>2];if(c){m=N[c+4>>2];c=N[c>>2];h=N[c>>2]+1794895138|0;d=Ud(N[c+8>>2],h);i=Ud(N[c+12>>2],h);g=Ud(N[c+16>>2],h);v:{if(m>>>2>>>0<=d>>>0){break v}p=m-(d<<2)|0;if((g|i)&3|(p>>>0<=i>>>0|g>>>0>=p>>>0)){break v}z=g>>>2|0;A=i>>>2|0;i=0;while(1){p=d>>>1|0;w=p+i|0;x=w<<1;g=c+(x+A<<2)|0;y=Ud(N[g>>2],h);g=Ud(N[g+4>>2],h);if(g>>>0>=m>>>0|m-g>>>0<=y>>>0|O[c+(g+y|0)|0]){break v}g=cb(v,c+g|0);if(!g){d=c+(z+x<<2)|0;i=Ud(N[d>>2],h);d=Ud(N[d+4>>2],h);if(d>>>0>=m>>>0|i>>>0>=m-d>>>0){break v}b=O[c+(d+i|0)|0]?0:c+d|0;break v}if((d|0)==1){break v}g=(g|0)<0;d=g?p:d-p|0;i=g?i:w;continue}}}N[k+36>>2]=b?b:v;N[k+32>>2]=t;mb(n,4,11584,k+32|0);rg(f);break s}b=b+d|0;if((h|0)>(b|0)){continue}break}L[h+q|0]=0;rg(f);Ji(n,m,q,h)}_a(q);b=e;continue}break}fi(N[o+8>>2]);_a(o)}_a(e)}w:{if(!N[n+16>>2]){e=0;break w}while(1){Ao(l,u);e=N[n+16>>2];u=u+1|0;if(e>>>0>u>>>0){continue}break}}N[a+12>>2]=e;N[j+40>>2]=l;break a}mb(n,2,12085,0);b=N[j+36>>2];if(!b){break b}xe(b)}b=N[j+40>>2];if(b){xe(b)}_a(N[j+12>>2]);_a(N[j+16>>2]);_a(j)}j=0}N[a+8>>2]=j;La=k+80|0}function wk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;f=N[b+4>>2];a:{if(f>>>0>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=N[b+12>>2];h=e-2|0;N[b+12>>2]=h;c=1;if((h|0)<=0){c=0;break a}b:{c:{d:{h=O[a|0]|O[a+1|0]<<8;switch(((h<<8|h>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=a+2|0;if(c>>>0>d>>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;e:{if(!d){break e}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break e}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}d=a+4|0;if(d>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-d>>>0<2){c=0;break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){c=0;break a}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=a+6|0;if(c>>>0>e>>>0){c=0;break a}e=e-c|0;d=(d<<8|d>>>8)&65535;c=d<<1;if(e>>>0>>0){c=0;break a}e=f-c|0;N[b+12>>2]=e;c=0;if((e|0)<=0){break a}f=d>>>0<=1?1:d;d=0;while(1){c=((d<<1)+a|0)+6|0;if(c>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-c>>>0<2){c=0;break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){c=0;break a}e=O[c|0]|O[c+1|0]<<8;f:{if(!e){break f}e=((e<<8|e>>>8)&65535)+a|0;N[g+12>>2]=e;if(tk(e,b,g+12|0)){break f}e=N[b+28>>2];if(e>>>0>31){c=0;break a}N[b+28>>2]=e+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=1;d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}c=a+2|0;if(c>>>0>>0){c=0;break a}if(c>>>0>d>>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;g:{if(!d){break g}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break g}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+4|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;h:{if(!d){break h}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break h}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+6|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;i:{if(!d){break i}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break i}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=a+8|0;if(c>>>0>2]){c=0;break a}d=N[b+8>>2];if(d>>>0>>0){c=0;break a}if(d-c>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}d=O[c|0]|O[c+1|0]<<8;j:{if(!d){break j}if(td(((d<<8|d>>>8)&65535)+a|0,b)){break j}d=N[b+28>>2];if(d>>>0>31){c=0;break a}N[b+28>>2]=d+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}d=a+10|0;if(d>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-d>>>0<2){c=0;break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){c=0;break a}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=a+12|0;if(c>>>0>e>>>0){c=0;break a}e=e-c|0;d=(d<<8|d>>>8)&65535;c=d<<1;if(e>>>0>>0){c=0;break a}e=f-c|0;N[b+12>>2]=e;c=0;if((e|0)<=0){break a}f=d>>>0<=1?1:d;d=0;while(1){c=((d<<1)+a|0)+12|0;if(c>>>0>2]){c=0;break a}e=N[b+8>>2];if(e>>>0>>0){c=0;break a}if(e-c>>>0<2){c=0;break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){c=0;break a}e=O[c|0]|O[c+1|0]<<8;k:{if(!e){break k}e=((e<<8|e>>>8)&65535)+a|0;N[g+12>>2]=e;if(tk(e,b,g+12|0)){break k}e=N[b+28>>2];if(e>>>0>31){c=0;break a}N[b+28>>2]=e+1;if(!O[b+24|0]){c=0;break a}L[c|0]=0;L[c+1|0]=0}c=1;d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}N[g+12>>2]=a;d=a+2|0;if(!Qe(d,b,g+12|0)){c=0;break a}c=O[a+2|0]|O[a+3|0]<<8;N[g+12>>2]=a;c=(d+(((c<<8|c>>>8)&65535)<<1)|0)+2|0;if(!Qe(c,b,g+12|0)){c=0;break a}d=O[c|0]|O[c+1|0]<<8;if(!d){c=0;break a}N[g+12>>2]=a;a=(c+(((d<<8|d>>>8)&65535)<<1)|0)+2|0;if(!Qe(a,b,g+12|0)){c=0;break a}c=a;a=O[a|0]|O[a+1|0]<<8;a=(c+(((a<<8|a>>>8)&65535)<<1)|0)+2|0;if(a>>>0>2]){c=0;break a}c=N[b+8>>2];if(c>>>0>>0){c=0;break a}if(c-a>>>0<2){c=0;break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){c=0;break a}e=O[a|0]|O[a+1|0]<<8;if(e){a=a+2|0;if(a>>>0>c>>>0){c=0;break a}c=c-a|0;a=((e<<8|e>>>8)&65535)<<2;if(c>>>0>>0){c=0;break a}a=d-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break a}}c=1}La=g+16|0;return c}function Me(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;N[a+24>>2]=0;a:{b:{d=ae(b+52|0);c=O[d+50|0]|O[d+51|0]<<8;if(!(((c<<8|c>>>8)&65535)>>>0>1|(O[d+52|0]|O[d+53|0]<<8))){L[a+12|0]=!c;c=N[b+104>>2];c:{if(c){break c}while(1){d=N[b+48>>2];if(!d){c=275552;break c}N[e+8>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;L[e+24|0]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;L[e+40|0]=1;N[e+36>>2]=0;if(!O[e+40|0]){c=N[d+32>>2];if((c|0)==-1){c=sb(d+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[d+32>>2]=c}L[e+40|0]=1;N[e+36>>2]=c}c=N[d+12>>2];d:{if(c){d=Qa[c|0](d,1819239265,N[d+16>>2])|0;if(d){break d}}d=275552}c=N[d>>2];if(c){if((c|0)<=0){break b}N[d>>2]=c+1}L[e+24|0]=0;N[e+32>>2]=d;f=N[d+12>>2];N[e+4>>2]=f;c=N[d+16>>2];N[e+8>>2]=c+f;e:{if((c|0)<0){break a}N[e+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[e+12>>2]=c;N[e+20>>2]=0;N[e>>2]=0;ab(d);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(!(!f|!N[d+4>>2])){N[d+4>>2]=0}break e}c=N[b+104>>2];f:{if(d){if(c){break f}c=d;N[b+104>>2]=d;break c}if(c){break c}c=275552;N[b+104>>2]=275552;break c}if((d|0)==275552){break c}ab(d);c=N[b+104>>2];if(!c){continue}break}}N[a+20>>2]=c;if(N[b+32>>2]==-1){d=sb(b+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[b+32>>2]=(d<<8|d>>>8)&65535}d=N[b+12>>2];g:{if(d){c=Qa[d|0](b,1735162214,N[b+16>>2])|0;if(c){break g}}c=275552}d=N[c>>2];if(d){if((d|0)<=0){break b}N[c>>2]=d+1}if(N[c+16>>2]<0){break a}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+24>>2]=c;c=N[b+128>>2];h:{if(c){break h}while(1){d=N[b+48>>2];if(!d){c=275552;break h}c=db(1,4);if(!c){c=275552;N[b+128>>2]=275552;break h}N[e+8>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;L[e+24|0]=0;N[e>>2]=0;N[e+4>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;f=N[d+32>>2];if((f|0)==-1){f=sb(d+56|0);f=O[f+4|0]|O[f+5|0]<<8;f=(f<<8|f>>>8)&65535;N[d+32>>2]=f}L[e+40|0]=1;N[e+36>>2]=f;f=N[d+12>>2];i:{if(f){d=Qa[f|0](d,1735811442,N[d+16>>2])|0;if(d){break i}}d=275552}j:{if(!d){break j}f=N[d>>2];if(!f){break j}if((f|0)<=0){break b}N[d>>2]=f+1}L[e+24|0]=0;N[e+32>>2]=d;h=N[d+12>>2];N[e+4>>2]=h;f=N[d+16>>2];N[e+8>>2]=f+h;if((f|0)<0){break a}N[e+28>>2]=0;if(f>>>0>67108863){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[e+12>>2]=f;N[e+20>>2]=0;N[e>>2]=0;f=d;k:{l:{if(!h){break l}m:{n:{o:{p:{if($i(h,e)){break p}q:{if(O[e+24|0]|!N[e+28>>2]){break q}f=zb(d);N[e+4>>2]=f;N[e+8>>2]=f+N[d+16>>2];if(!f){break q}while(1){L[e+24|0]=1;f=N[e+32>>2];h=N[f+12>>2];N[e+4>>2]=h;g=N[f+16>>2];N[e+8>>2]=g+h;if((g|0)<0){break a}N[e+28>>2]=0;if(g>>>0>67108863){g=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}N[e+12>>2]=g;N[e+20>>2]=0;N[e>>2]=0;if(!h){break l}if($i(h,e)){break p}if(O[e+24|0]|!N[e+28>>2]){break q}f=zb(d);N[e+4>>2]=f;N[e+8>>2]=f+N[d+16>>2];if(f){continue}break}}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;break o}if(!N[e+28>>2]){break n}N[e+28>>2]=0;f=$i(h,e);h=N[e+28>>2];ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(h){break o}if(f){break m}}ab(d);d=275552;break k}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break k}ab(f);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}N[c>>2]=d;if(!N[b+128>>2]){N[b+128>>2]=c;break h}ab(d);_a(c);c=N[b+128>>2];if(!c){continue}break}}N[a>>2]=c;c=N[b+68>>2];r:{if(c){break r}while(1){d=N[b+48>>2];if(!d){c=275552;break r}c=db(1,28);if(!c){c=275552;N[b+68>>2]=275552;break r}c=hq(c,d);if(!N[b+68>>2]){N[b+68>>2]=c;break r}ab(N[c+20>>2]);N[c+20>>2]=0;ab(N[c+24>>2]);_a(c);c=N[b+68>>2];if(!c){continue}break}}N[a+4>>2]=c;c=N[b+96>>2];s:{if(c){break s}while(1){d=N[b+48>>2];if(!d){c=275552;break s}c=db(1,28);if(!c){c=275552;N[b+96>>2]=275552;break s}c=Lg(c,d);if(!N[b+96>>2]){N[b+96>>2]=c;break s}ab(N[c+20>>2]);N[c+20>>2]=0;ab(N[c+24>>2]);_a(c);c=N[b+96>>2];if(!c){continue}break}}N[a+8>>2]=c;d=N[a+20>>2];d=N[(d?d:275552)+16>>2]>>>(O[a+12|0]?1:2)|0;c=(d>>>0<=1?1:d)-1|0;N[a+16>>2]=c;d=N[b+32>>2];if((d|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;d=(b<<8|b>>>8)&65535;N[c+32>>2]=d;c=N[a+16>>2]}N[a+16>>2]=c>>>0>>0?c:d}La=e+48|0;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function Qw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=(e|0)>0?e:0;a:{b:{c:{d:{e:{f:{g:{switch(b|0){case 0:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+437|0];break b;case 1:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;h:{i:{j:{switch(c|0){case 0:a=a+440|0;break i;case 1:a=a+444|0;break i;case 2:a=a+448|0;break i;case 3:break j;default:break h}}a=a+452|0}e=N[a>>2]}N[d>>2]=e;break c;case 2:if(c>>>0>3){break e}b=4;if(!d|f>>>0<4){break c}e=0;k:{l:{m:{switch(c|0){case 0:a=a+464|0;break l;case 1:a=a+468|0;break l;case 2:a=a+472|0;break l;case 3:break m;default:break k}}a=a+476|0}e=N[a>>2]}N[d>>2]=e;break c;case 3:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+436|0];break b;case 4:a=N[a+364>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 5:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+168>>2];break c;case 6:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+420>>2];break c;case 7:if(Q[a+420>>2]<=c>>>0){break e}a=N[N[a+424>>2]+(c<<2)>>2];c=nb(a);b=c+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);L[c+d|0]=0;break f;case 8:if(Q[a+420>>2]<=c>>>0){break e}e=N[N[a+432>>2]+(c<<2)>>2];b=e+1|0;if(!d|f>>>0>>0){break f}F(d,N[N[a+428>>2]+(c<<2)>>2],e);L[d+e|0]=0;break f;case 9:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+368>>2];break c;case 10:if(N[a+368>>2]!=1|Q[a+372>>2]<=c>>>0){break e}c=N[N[a+388>>2]+(c<<2)>>2];a=nb(c);b=a+1|0;if(!d|f>>>0>>0){break f}F(d,c,a);L[a+d|0]=0;break f;case 11:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+404>>2];break c;case 12:b=N[a+416>>2];n:{if(b){b=Ad(c,b);if(!b){break e}c=N[b>>2];break n}if(Q[a+404>>2]<=c>>>0){break e}}e=N[a+408>>2];if(!e){break e}a=N[N[a+412>>2]+(c<<2)>>2];b=a+1|0;if(!d|f>>>0>>0){break f}F(d,N[e+(c<<2)>>2],a);L[a+d|0]=0;break f;case 13:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+288>>1];break a;case 14:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+290>>1];break a;case 15:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+176|0];break b;case 16:if(O[a+176|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+180>>1];break a;case 24:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+276>>2];break c;case 17:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+284>>2];break c;case 25:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+280>>2];break c;case 18:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+177|0];break b;case 19:if(O[a+177|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+208>>1];break a;case 20:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+178|0];break b;case 21:if(O[a+178|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+228>>1];break a;case 22:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+179|0];break b;case 23:if(O[a+179|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+256>>1];break a;case 26:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+292|0];break b;case 27:if(O[a+292|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+296>>1];break a;case 28:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+293|0];break b;case 29:if(O[a+293|0]<=c>>>0){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+322>>1];break a;case 31:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+295|0];break b;case 30:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+294|0];break b;case 32:if(c>>>0>1){break e}b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[((c<<1)+a|0)+360>>1];break a;case 33:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+172>>2];break c;case 34:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+356>>2];break c;case 35:b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+352>>2];break c;case 41:b=1;if(!d|(e|0)<=0){break c}L[d|0]=O[a+156|0];break b;case 42:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+158>>1];break a;case 43:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+160>>1];break a;case 44:b=2;if(!d|f>>>0<2){break c}M[d>>1]=P[a+164>>1];break a;case 36:a=N[a+132>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 37:a=N[a+136>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 38:a=N[a+140>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 39:a=N[a+144>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b);break f;case 45:break d;case 40:break g;default:break e}}a=N[a+148>>2];if(!a){break e}b=nb(a)+1|0;if(!d|f>>>0>>0){break f}F(d,a,b)}if(b){break c}}return-1}b=4;if(!d|f>>>0<4){break c}N[d>>2]=N[a+152>>2]}return b|0}return 1}return 2}function Gb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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,O=0,P=0,Q=0,R=0;k=La-96|0;La=k;u=i&65535;o=(e^i)&-2147483648;r=e&65535;z=r;Q=i>>>16&32767;R=e>>>16&32767;a:{b:{if(Q-32767>>>0>4294934529&R-32767>>>0>=4294934530){break b}s=e&2147483647;q=s;j=d;if(!(!d&(q|0)==2147418112?!(b|c):q>>>0<2147418112)){m=d;o=e|32768;break a}s=i&2147483647;p=s;e=h;if(!(!e&(p|0)==2147418112?!(f|g):p>>>0<2147418112)){m=h;o=i|32768;b=f;c=g;break a}if(!(b|j|(q^2147418112|c))){if(!(e|f|(g|p))){o=2147450880;b=0;c=0;break a}o=o|2147418112;b=0;c=0;break a}if(!(e|f|(p^2147418112|g))){e=b|j;d=c|q;b=0;c=0;if(!(d|e)){o=2147450880;break a}o=o|2147418112;break a}if(!(b|j|(c|q))){b=0;c=0;break a}if(!(e|f|(g|p))){b=0;c=0;break a}if((q|0)==65535|q>>>0<65535){j=!(d|r);i=j?b:d;s=j<<6;e=W(i)+32|0;i=W(j?c:r);i=s+((i|0)==32?e:i)|0;hc(k+80|0,b,c,d,r,i-15|0);t=16-i|0;d=N[k+88>>2];z=N[k+92>>2];c=N[k+84>>2];b=N[k+80>>2]}if(p>>>0>65535){break b}i=!(h|u);e=i?f:h;r=i<<6;j=W(e)+32|0;e=W(i?g:u);e=r+((e|0)==32?j:e)|0;hc(k- -64|0,f,g,h,u,e-15|0);t=(t-e|0)+16|0;h=N[k+72>>2];u=N[k+76>>2];f=N[k+64>>2];g=N[k+68>>2]}e=f;f=g<<15|f>>>17;i=e<<15;e=0;v=i&-32768;J=c;s=UE(v,e,c,0);e=Pa;y=e;K=f;q=b;b=UE(f,0,b,0);i=b+s|0;f=Pa+e|0;c=b>>>0>i>>>0?f+1|0:f;j=0;b=UE(q,l,v,l);p=j+b|0;f=i;e=f+Pa|0;e=b>>>0>p>>>0?e+1|0:e;r=e;L=(f|0)==(e|0)&j>>>0>p>>>0|e>>>0>>0;M=d;w=UE(v,l,d,0);O=Pa;b=UE(J,l,K,l);x=b+w|0;j=Pa+O|0;j=b>>>0>x>>>0?j+1|0:j;b=u<<15|h>>>17;A=h<<15|g>>>17;d=UE(A,0,q,l);B=d+x|0;f=Pa+j|0;f=d>>>0>B>>>0?f+1|0:f;C=f;d=(c|0)==(y|0)&i>>>0>>0|c>>>0>>0;D=c+B|0;f=d+f|0;f=c>>>0>D>>>0?f+1|0:f;u=f;g=D;c=f;E=z|65536;z=UE(v,l,E,n);P=Pa;d=UE(M,m,K,l);F=d+z|0;e=Pa+P|0;e=d>>>0>F>>>0?e+1|0:e;i=e;G=b|-2147483648;b=UE(G,0,q,l);H=b+F|0;f=Pa+e|0;f=b>>>0>H>>>0?f+1|0:f;b=UE(A,m,J,l);y=b+H|0;I=f;f=f+Pa|0;s=b>>>0>y>>>0?f+1|0:f;b=0;q=b+g|0;e=c+y|0;v=b>>>0>q>>>0?e+1|0:e;f=v;b=q+L|0;c=b>>>0>>0?f+1|0:f;t=((R+Q|0)+t|0)-16383|0;d=UE(G,m,J,l);h=Pa;e=UE(E,m,K,l);g=e+d|0;f=Pa+h|0;f=e>>>0>g>>>0?f+1|0:f;n=(h|0)==(f|0)&d>>>0>g>>>0|f>>>0>>0;h=f;e=UE(A,m,M,m);d=e+g|0;f=Pa+f|0;f=d>>>0>>0?f+1|0:f;e=f;g=(f|0)==(h|0)&d>>>0>>0|f>>>0>>0;f=0;h=g;g=g+n|0;f=h>>>0>g>>>0?1:f;h=g;g=UE(G,m,E,m);h=h+g|0;f=Pa+f|0;L=h;g=g>>>0>h>>>0?f+1|0:f;h=d;l=e;e=(j|0)==(O|0)&w>>>0>x>>>0|j>>>0>>0;f=0;j=(j|0)==(C|0)&x>>>0>B>>>0|j>>>0>C>>>0;n=j;j=e+j|0;e=(n>>>0>j>>>0?1:f)+l|0;f=g;d=d+j|0;e=d>>>0>>0?e+1|0:e;n=e;w=d;d=(e|0)==(l|0)&d>>>0>>0|e>>>0>>0;e=d;d=d+L|0;f=e>>>0>d>>>0?f+1|0:f;j=d;g=f;e=UE(A,m,E,m);l=Pa;d=UE(G,m,M,m);h=d+e|0;f=Pa+l|0;f=d>>>0>h>>>0?f+1|0:f;d=f;f=(l|0)==(f|0)&e>>>0>h>>>0|f>>>0>>0;x=d+j|0;e=f+g|0;e=d>>>0>x>>>0?e+1|0:e;l=x;g=e;e=0;d=e+w|0;f=h+n|0;f=d>>>0>>0?f+1|0:f;e=f;h=(n|0)==(f|0)&d>>>0>>0|f>>>0>>0;f=g;g=h+l|0;f=g>>>0>>0?f+1|0:f;w=g;g=f;h=d;j=e;e=(s|0)==(I|0)&y>>>0>>0|s>>>0>>0;d=(i|0)==(P|0)&z>>>0>F>>>0|i>>>0

>>0;i=(i|0)==(I|0)&F>>>0>H>>>0|i>>>0>I>>>0;d=d+i|0;d=d+e|0;n=s;i=n+h|0;e=d+j|0;f=g;d=i;e=d>>>0>>0?e+1|0:e;h=(e|0)==(j|0)&h>>>0>d>>>0|e>>>0>>0;g=h+w|0;f=h>>>0>g>>>0?f+1|0:f;j=g;g=f;h=d;f=0;i=e;n=(u|0)==(v|0)&q>>>0>>0|u>>>0>v>>>0;l=n;n=n+((u|0)==(C|0)&B>>>0>D>>>0|u>>>0>>0)|0;e=e+(l>>>0>n>>>0?1:f)|0;f=g;d=d+n|0;e=d>>>0>>0?e+1|0:e;h=(e|0)==(i|0)&d>>>0>>0|e>>>0>>0;g=h;h=h+j|0;f=g>>>0>h>>>0?f+1|0:f;i=f;c:{if(f&65536){t=t+1|0;break c}j=r>>>31|0;g=0;f=i<<1|h>>>31;h=h<<1|e>>>31;i=f;f=e<<1|d>>>31;d=d<<1|c>>>31;e=f;f=r<<1|p>>>31;p=p<<1;r=f;f=c<<1|b>>>31;b=b<<1|j;c=f|g}if((t|0)>=32767){o=o|2147418112;b=0;c=0;break a}d:{if((t|0)<=0){g=1-t|0;if(g>>>0<=127){f=t+127|0;hc(k+48|0,p,r,b,c,f);hc(k+32|0,d,e,h,i,f);Qd(k+16|0,p,r,b,c,g);Qd(k,d,e,h,i,g);p=N[k+32>>2]|N[k+16>>2]|(N[k+48>>2]|N[k+56>>2]|(N[k+52>>2]|N[k+60>>2]))!=0;r=N[k+36>>2]|N[k+20>>2];b=N[k+40>>2]|N[k+24>>2];c=N[k+44>>2]|N[k+28>>2];d=N[k>>2];e=N[k+4>>2];g=N[k+8>>2];f=N[k+12>>2];break d}b=0;c=0;break a}g=h;f=i&65535|t<<16}m=g|m;o=f|o;if(!(!b&(c|0)==-2147483648?!(p|r):(c|0)>0|(c|0)>=0)){b=d+1|0;j=b?e:e+1|0;e=o;c=j;d=!(j|b);m=d+m|0;o=d>>>0>m>>>0?e+1|0:e;break a}if(b|p|(c^-2147483648|r)){b=d;c=e;break a}f=e;b=d&1;c=b;b=b+d|0;c=c>>>0>b>>>0?f+1|0:f;d=(f|0)==(c|0)&b>>>0>>0|c>>>0>>0;f=o;m=d+m|0;o=m>>>0>>0?f+1|0:f}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=m;N[a+12>>2]=o;La=k+96|0}function Gj(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;i=La-32|0;La=i;if(!(e-d>>>0<2|d>>>0>=e>>>0)){E=N[c+80>>2];while(1){q=T(d,20);a:{if(1<>1]&7168){v=d;break a}g=d+1|0;h=e>>>0>g>>>0?e:g;j=h-1|0;m=d;while(1){b:{v=m;if((j|0)==(m|0)){v=j;m=h;break b}m=v+1|0;if(1<>1]&7168){continue}}break}j=N[c+68>>2];n=j>>>0>>0?j:m;x=n-d|0;c:{if(x>>>0<=1){o=N[c+80>>2];break c}l=N[c+144>>2]|32;N[c+144>>2]=l;o=N[c+80>>2];if(d>>>0>=n>>>0){break c}h=-1;j=d;z=n+(d^-1)|0;if(z>>>0>=3){A=x&-4;k=0;while(1){p=T(j,20)+o|0;s=N[p+8>>2];h=h>>>0>>0?h:s;s=N[p+28>>2];h=h>>>0>>0?h:s;s=N[p+48>>2];h=h>>>0>>0?h:s;p=N[p+68>>2];h=h>>>0

>>0?h:p;j=j+4|0;k=k+4|0;if((A|0)!=(k|0)){continue}break}}u=0;k=x&3;if(k){while(1){p=N[(T(j,20)+o|0)+8>>2];h=h>>>0

>>0?h:p;j=j+1|0;u=u+1|0;if((k|0)!=(u|0)){continue}break}}j=d;d:{if(!(x&1)){break d}k=o+q|0;j=g;if(N[k+8>>2]==(h|0)){break d}N[k+4>>2]=N[k+4>>2]|3;j=g}if(!z){break c}while(1){k=T(j,20)+o|0;if(N[k+8>>2]!=(h|0)){l=l|32;N[c+144>>2]=l;N[k+4>>2]=N[k+4>>2]|3}k=T(j+1|0,20)+o|0;if(N[k+8>>2]!=(h|0)){l=l|32;N[c+144>>2]=l;N[k+4>>2]=N[k+4>>2]|3}j=j+2|0;if((n|0)!=(j|0)){continue}break}}j=N[o+q>>2];N[i+8>>2]=0;N[i+12>>2]=0;N[i>>2]=0;N[i+4>>2]=0;h=N[b+96>>2];k=N[h+72>>2];n=N[b+100>>2];h=N[h+12>>2];if(h){h=N[h+52>>2]}else{h=0}if(!(Qa[k|0](b,n,j,i,h)|0)){if(g>>>0>=m>>>0){break a}j=N[c+80>>2];if(!f){h=g;if(v-d&1){m=T(g,20);if((P[(m+j|0)+16>>1]&31)==12){m=m+N[c+88>>2]|0;N[m>>2]=0;N[m+4>>2]=0}h=d+2|0}if((g|0)==(v|0)){break a}while(1){d=T(h,20);if((P[(d+j|0)+16>>1]&31)==12){d=d+N[c+88>>2]|0;N[d>>2]=0;N[d+4>>2]=0}d=h+1|0;g=T(d,20);if((P[(g+j|0)+16>>1]&31)==12){g=g+N[c+88>>2]|0;N[g>>2]=0;N[g+4>>2]=0}h=h+2|0;if((d|0)!=(v|0)){continue}break}break a}while(1){d=T(g,20);if((P[(d+j|0)+16>>1]&31)==12){d=d+N[c+88>>2]|0;m=N[d+4>>2];N[d+4>>2]=0;h=N[d>>2];N[d>>2]=0;N[d+8>>2]=N[d+8>>2]-h;N[d+12>>2]=N[d+12>>2]-m}d=(g|0)==(v|0);g=g+1|0;if(!d){continue}break}break a}d=N[(q+N[c+88>>2]|0)+12>>2];o=0;N[i>>2]=0;N[i+4>>2]=d+N[i+4>>2];d=N[b+96>>2];j=N[d+40>>2];h=N[b+100>>2];k=N[q+N[c+80>>2]>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}h=Qa[j|0](b,h,k,d)|0;N[i+8>>2]=h;u=0;if((N[c+40>>2]&-3)==4){d=q+N[c+88>>2]|0;o=0-N[d+4>>2]|0;u=0-N[d>>2]|0}if(g>>>0>=m>>>0){break a}F=N[c+80>>2];d=q+F|0;D=O[d+14|0];w=O[d+12|0]&4?D&16?D&15:1:1;x=-1;q=255;B=0;p=N[i>>2];m=p;z=N[i+4>>2];k=z;j=h;A=N[i+12>>2];d=A;while(1){s=g;C=T(g,20);g=F+C|0;n=P[g+16>>1];e:{if(!(n>>>0<256|!(1<>>0<2){break f}g=O[g+14|0];l=g&16?0:g&15;l=D>>>0<32?w:(g^D)>>>0>31?w:l>>>0>w>>>0?w:l;g=l-1|0;if((g|0)==(x|0)){break f}A=N[i+12>>2];h=N[i+8>>2];z=N[i+4>>2];q=N[i>>2];g:{if(B){break g}B=N[a>>2];if((B&-2)==4){break g}B=sh(N[a+4>>2])}p=q+((T(h,(B|0)==4?g:w-l|0)|0)/(w|0)|0)|0;h=(h|0)/(w|0)|0;q=255;x=g}g=n>>>8|0;if((g|0)!=(q|0)){j=h;k=z;m=p;q=g;d=A}n=N[N[c+80>>2]+C>>2];N[i+24>>2]=0;N[i+28>>2]=0;N[i+16>>2]=0;N[i+20>>2]=0;l=N[b+96>>2];r=N[l+72>>2];t=N[b+100>>2];y=i+16|0;l=N[l+12>>2];if(l){l=N[l+52>>2]}else{l=0}h:{if(!(Qa[r|0](b,t,n,y,l)|0)){l=N[c+88>>2];break h}r=N[b+32>>2];l=N[c+88>>2];n=C+l|0;N[n+12>>2]=0;t=(r|0)/16|0;i:{j:{k:{l:{m:{g=g-200|0;switch(g|0){case 16:case 22:case 32:break j;case 0:case 18:case 28:break k;case 33:case 34:break m;default:break l}}n:{switch(N[c+40>>2]-4|0){case 0:y=((j+m|0)+(N[i+24>>2]/-2|0)|0)-N[i+16>>2]|0;break i;case 1:break n;default:break l}}y=((N[i+24>>2]/-2|0)+m|0)-N[i+16>>2]|0;break i}y=(m-N[i+16>>2]|0)+((j-N[i+24>>2]|0)/2|0)|0;break i}y=m-N[i+16>>2]|0;break i}y=j+m-(N[i+24>>2]+N[i+16>>2])|0}N[n+8>>2]=y;o:{switch(g|0){case 18:case 20:case 22:case 33:d=d-t|0;case 0:case 2:g=(d+k|0)-N[i+20>>2]|0;r=(r|0)<16^(g|0)>0;N[n+12>>2]=r?0:g;d=(N[i+28>>2]+d|0)-(r?g:0)|0;break h;case 28:case 30:case 32:case 34:d=d-t|0;k=k+t|0;break;case 14:case 16:break o;default:break h}}t=(r|0)<16;r=N[i+28>>2];g=k-(r+N[i+20>>2]|0)|0;if(!(t^(g|0)>0)){t=(g|0)/-2|0;g=t+g|0;k=k+t|0;d=d-t|0}N[n+12>>2]=g;d=d+r|0;k=k-r|0}g=l+C|0;N[g>>2]=0;N[g+4>>2]=0;N[g+8>>2]=N[g+8>>2]+u;N[g+12>>2]=N[g+12>>2]+o;break e}n=N[c+88>>2]+C|0;g=N[n+4>>2];n=N[n>>2];if((N[c+40>>2]&-3)==4){o=o-g|0;u=u-n|0;break e}o=g+o|0;u=n+u|0}g=s+1|0;if((v|0)!=(s|0)){continue}break}}d=v+1|0;if(e>>>0>d>>>0){continue}break}}La=i+32|0}function Nf(a,b,c,d,e){var 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,t=0,u=0,v=0;k=La-80|0;La=k;a:{b:{c:{if(O[a|0]){N[a+4>>2]=-1;h=N[a+28>>2];g=N[e+28>>2];N[k+76>>2]=0;N[k+68>>2]=0;N[k+72>>2]=0;d:{e:{f:{g:{h:{if(!c){f=(h|0)>0;t=f?h:0;if(f){while(1){p=((p>>>1|0)+p|0)+8|0;if(t>>>0>=p>>>0){continue}break}if(p>>>0>1073741823){break h}f=kb(p<<2);if(!f){break h}N[k+68>>2]=p;N[k+76>>2]=f;C(f,0,t<<2);p=f}N[k+72>>2]=t}i:{if(!h|!g){break i}while(1){o=N[a+16>>2];r=o>>>0>i>>>0;j:{if(!r){N[147456]=0;N[147457]=0;f=0;break j}f=N[N[a+20>>2]+(i<<3)>>2]}q=f;f=Q[e+16>>2]<=m>>>0?275552:N[e+20>>2]+(m<<3)|0;j=N[f>>2];k:{if((q|0)==(j|0)){if(!c){if(i>>>0>l>>>0){l:{if(!r){N[147456]=0;N[147457]=0;f=589824;break l}f=N[a+20>>2]+(i<<3)|0}m:{if(l>>>0>=o>>>0){N[147456]=0;N[147457]=0;o=589824;break m}o=N[a+20>>2]+(l<<3)|0}j=o;o=N[f+4>>2];N[j>>2]=N[f>>2];N[j+4>>2]=o}l=l+1|0}m=m+1|0;i=i+1|0;n=n+1|0;break k}n:{if(!r){N[147456]=0;N[147457]=0;j=N[f>>2];f=0;break n}f=N[N[a+20>>2]+(i<<3)>>2]}if(f>>>0>>0){i=i+1|0;n=c+n|0;break k}m=m+1|0;n=d+n|0}if(h>>>0<=i>>>0){break i}if(g>>>0>m>>>0){continue}break}}o=((c?h-i|0:0)+n|0)+(d?g-m|0:0)|0;if(!c){Ij(a,k+68|0,l);h=l}if(!Ef(a,o)){break e}q=(g|0)!=0;m=(h|0)!=0;if(!h|!g){break g}i=o;n=h;while(1){l=g-1|0;m=l<<3;r=m+N[e+20>>2]|0;v=N[r>>2];u=N[a+20>>2];f=h-1|0;q=f<<3;s=u+q|0;j=N[s>>2];o:{p:{if((v|0)==(j|0)){h=N[s+4>>2];i=i-1|0;j=i<<3;g=j+u|0;N[g>>2]=N[s>>2];N[g+4>>2]=h;if(f>>>0>=Q[a+16>>2]){break b}if(l>>>0>=Q[e+16>>2]){break a}Qa[b|0](k,N[a+32>>2]+(N[(q+N[a+20>>2]|0)+4>>2]<<6)|0,N[e+32>>2]+(N[(m+N[e+20>>2]|0)+4>>2]<<6)|0);if(Q[a+16>>2]<=i>>>0){break b}h=N[k+4>>2];g=N[a+32>>2]+(N[(j+N[a+20>>2]|0)+4>>2]<<6)|0;N[g>>2]=N[k>>2];N[g+4>>2]=h;h=N[k+60>>2];N[g+56>>2]=N[k+56>>2];N[g+60>>2]=h;h=N[k+52>>2];N[g+48>>2]=N[k+48>>2];N[g+52>>2]=h;h=N[k+44>>2];N[g+40>>2]=N[k+40>>2];N[g+44>>2]=h;h=N[k+36>>2];N[g+32>>2]=N[k+32>>2];N[g+36>>2]=h;h=N[k+28>>2];N[g+24>>2]=N[k+24>>2];N[g+28>>2]=h;h=N[k+20>>2];N[g+16>>2]=N[k+16>>2];N[g+20>>2]=h;h=N[k+12>>2];N[g+8>>2]=N[k+8>>2];N[g+12>>2]=h;h=f;break p}if(j>>>0>v>>>0){if(!c){h=f;break o}h=N[s+4>>2];i=i-1|0;l=(i<<3)+u|0;N[l>>2]=N[s>>2];N[l+4>>2]=h;h=f;break o}if(!d){break p}i=i-1|0;f=(i<<3)+u|0;N[f+4>>2]=n;N[f>>2]=v;if(l>>>0>=Q[e+16>>2]){break a}if(Q[a+16>>2]<=i>>>0){break b}j=N[e+32>>2]+(N[r+4>>2]<<6)|0;f=N[j+4>>2];g=N[a+32>>2]+(n<<6)|0;N[g>>2]=N[j>>2];N[g+4>>2]=f;f=N[j+60>>2];N[g+56>>2]=N[j+56>>2];N[g+60>>2]=f;f=N[j+52>>2];N[g+48>>2]=N[j+48>>2];N[g+52>>2]=f;f=N[j+44>>2];N[g+40>>2]=N[j+40>>2];N[g+44>>2]=f;f=N[j+36>>2];N[g+32>>2]=N[j+32>>2];N[g+36>>2]=f;f=N[j+28>>2];N[g+24>>2]=N[j+24>>2];N[g+28>>2]=f;f=N[j+20>>2];N[g+16>>2]=N[j+16>>2];N[g+20>>2]=f;f=N[j+12>>2];N[g+8>>2]=N[j+8>>2];N[g+12>>2]=f;n=n+1|0}g=l}q=(g|0)!=0;m=(h|0)!=0;if(!h){break f}if(g){continue}break}break f}N[k+68>>2]=-1;p=0;L[a|0]=0;break d}n=h;i=o}q:{if(!m|!c){break q}j=h-1|0;l=h&3;if(l){m=0;while(1){b=N[a+20>>2];i=i-1|0;f=b+(i<<3)|0;h=h-1|0;c=b+(h<<3)|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;m=m+1|0;if((l|0)!=(m|0)){continue}break}}if(j>>>0<3){break q}while(1){j=i<<3;b=N[a+20>>2];f=(j+b|0)-8|0;l=h<<3;c=(l+b|0)-8|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];f=(b+j|0)-16|0;c=(b+l|0)-16|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];f=(b+j|0)-24|0;c=(b+l|0)-24|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;b=N[a+20>>2];i=i-4|0;f=b+(i<<3)|0;h=h-4|0;c=b+(h<<3)|0;b=N[c+4>>2];N[f>>2]=N[c>>2];N[f+4>>2]=b;if(h){continue}break}}if((d&q)==1){while(1){g=g-1|0;d=N[e+20>>2]+(g<<3)|0;c=N[d>>2];i=i-1|0;b=N[a+20>>2]+(i<<3)|0;N[b+4>>2]=n;N[b>>2]=c;if(Q[e+16>>2]<=g>>>0){break a}if(Q[a+16>>2]<=i>>>0){break b}d=N[e+32>>2]+(N[d+4>>2]<<6)|0;b=N[d+4>>2];c=N[a+32>>2]+(n<<6)|0;N[c>>2]=N[d>>2];N[c+4>>2]=b;b=N[d+60>>2];N[c+56>>2]=N[d+56>>2];N[c+60>>2]=b;b=N[d+52>>2];N[c+48>>2]=N[d+48>>2];N[c+52>>2]=b;b=N[d+44>>2];N[c+40>>2]=N[d+40>>2];N[c+44>>2]=b;b=N[d+36>>2];N[c+32>>2]=N[d+32>>2];N[c+36>>2]=b;b=N[d+28>>2];N[c+24>>2]=N[d+24>>2];N[c+28>>2]=b;b=N[d+20>>2];N[c+16>>2]=N[d+16>>2];N[c+20>>2]=b;b=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=b;n=n+1|0;if(g){continue}break}}if(i){break c}Ef(a,o)}if(!t){break d}N[k+72>>2]=0}_a(p)}La=k+80|0;return}ba(8946,14083,586,18452);B()}ba(13997,14083,950,9755);B()}ba(13997,14083,955,9755);B()}function _p(a,b){var 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;k=(b<<4)+a|0;if(b>>>0>9){while(1){j=N[a+16>>2];g=(b<<3&-16)+a|0;i=N[g>>2];d=N[a+20>>2];c=N[g+4>>2];f=bb(j,i,c>>>0>d>>>0?d:c);c=((f?f:d-c|0)|0)>0;e=(b<<4)-16|0;f=e+a|0;l=f-16|0;m=N[l>>2];n=a+16|0;b=c?n:g;h=N[b+4>>2];d=N[f-12>>2];o=bb(c?j:i,m,d>>>0>h>>>0?h:d);if(((o?o:h-d|0)|0)>0){g=c?g:n;b=N[g+4>>2];c=bb(c?i:j,m,b>>>0>>0?b:d);b=((c?c:b-d|0)|0)>0?g:l}if((b|0)!=(f|0)){d=O[b|0];L[b|0]=O[f|0];L[f|0]=d;d=O[b+1|0];L[b+1|0]=O[f+1|0];L[f+1|0]=d;d=O[b+2|0];L[b+2|0]=O[f+2|0];L[f+2|0]=d;d=O[b+3|0];L[b+3|0]=O[f+3|0];L[f+3|0]=d;d=O[b+4|0];L[b+4|0]=O[f+4|0];L[f+4|0]=d;d=O[b+5|0];L[b+5|0]=O[f+5|0];L[f+5|0]=d;d=O[b+6|0];L[b+6|0]=O[f+6|0];L[f+6|0]=d;d=O[b+7|0];L[b+7|0]=O[f+7|0];L[f+7|0]=d;d=O[b+8|0];L[b+8|0]=O[f+8|0];L[f+8|0]=d;d=O[b+9|0];L[b+9|0]=O[f+9|0];L[f+9|0]=d;d=O[b+10|0];L[b+10|0]=O[f+10|0];L[f+10|0]=d;d=O[b+11|0];L[b+11|0]=O[f+11|0];L[f+11|0]=d;d=O[b+12|0];L[b+12|0]=O[f+12|0];L[f+12|0]=d;d=O[b+13|0];L[b+13|0]=O[f+13|0];L[f+13|0]=d;d=O[b+14|0];L[b+14|0]=O[f+14|0];L[f+14|0]=d;d=O[b+15|0];L[b+15|0]=O[f+15|0];L[f+15|0]=d}a:{if((e|0)<=0){h=0;break a}j=f;g=f;d=a;b=d;while(1){b:{c=N[b+4>>2];e=N[f+4>>2];i=bb(N[b>>2],N[f>>2],c>>>0>>0?c:e);c=i?i:c-e|0;if((c|0)<=0){if(!c){if(b>>>0>d>>>0){c=O[d|0];L[d|0]=O[b|0];L[b|0]=c;c=O[d+1|0];L[d+1|0]=O[b+1|0];L[b+1|0]=c;c=O[d+2|0];L[d+2|0]=O[b+2|0];L[b+2|0]=c;c=O[d+3|0];L[d+3|0]=O[b+3|0];L[b+3|0]=c;c=O[d+4|0];L[d+4|0]=O[b+4|0];L[b+4|0]=c;c=O[d+5|0];L[d+5|0]=O[b+5|0];L[b+5|0]=c;c=O[d+6|0];L[d+6|0]=O[b+6|0];L[b+6|0]=c;c=O[d+7|0];L[d+7|0]=O[b+7|0];L[b+7|0]=c;c=O[d+8|0];L[d+8|0]=O[b+8|0];L[b+8|0]=c;c=O[d+9|0];L[d+9|0]=O[b+9|0];L[b+9|0]=c;c=O[d+10|0];L[d+10|0]=O[b+10|0];L[b+10|0]=c;c=O[d+11|0];L[d+11|0]=O[b+11|0];L[b+11|0]=c;c=O[d+12|0];L[d+12|0]=O[b+12|0];L[b+12|0]=c;c=O[d+13|0];L[d+13|0]=O[b+13|0];L[b+13|0]=c;c=O[d+14|0];L[d+14|0]=O[b+14|0];L[b+14|0]=c;c=O[d+15|0];L[d+15|0]=O[b+15|0];L[b+15|0]=c}d=d+16|0}b=b+16|0;if(g>>>0>b>>>0){continue}break b}c:{if(b>>>0>=g>>>0){break c}while(1){i=g;d:{e:{g=g-16|0;c=i-12|0;e=N[c>>2];h=N[f+4>>2];l=bb(N[g>>2],N[f>>2],e>>>0>>0?e:h);e=l?l:e-h|0;if(!e){e=j-16|0;if(i>>>0>=j>>>0){break e}c=g;h=e;while(1){j=O[c|0];L[c|0]=O[h|0];L[h|0]=j;h=h+1|0;c=c+1|0;if(i>>>0>c>>>0){continue}break}break e}if((e|0)>=0){break d}if(b>>>0>>0){e=O[b|0];L[b|0]=O[g|0];L[g|0]=e;e=O[b+1|0];h=i-15|0;L[b+1|0]=O[h|0];L[h|0]=e;e=O[b+2|0];h=i-14|0;L[b+2|0]=O[h|0];L[h|0]=e;e=O[b+3|0];h=i-13|0;L[b+3|0]=O[h|0];L[h|0]=e;e=O[b+4|0];L[b+4|0]=O[c|0];L[c|0]=e;c=O[b+5|0];e=i-11|0;L[b+5|0]=O[e|0];L[e|0]=c;c=O[b+6|0];e=i-10|0;L[b+6|0]=O[e|0];L[e|0]=c;c=O[b+7|0];e=i-9|0;L[b+7|0]=O[e|0];L[e|0]=c;c=O[b+8|0];e=i-8|0;L[b+8|0]=O[e|0];L[e|0]=c;c=O[b+9|0];e=i-7|0;L[b+9|0]=O[e|0];L[e|0]=c;c=O[b+10|0];e=i-6|0;L[b+10|0]=O[e|0];L[e|0]=c;c=O[b+11|0];e=i-5|0;L[b+11|0]=O[e|0];L[e|0]=c;c=O[b+12|0];e=i-4|0;L[b+12|0]=O[e|0];L[e|0]=c;c=O[b+13|0];e=i-3|0;L[b+13|0]=O[e|0];L[e|0]=c;c=O[b+14|0];e=i-2|0;L[b+14|0]=O[e|0];L[e|0]=c;c=O[b+15|0];e=i-1|0;L[b+15|0]=O[e|0];L[e|0]=c}b=b+16|0;break c}j=e}if(b>>>0>>0){continue}break}}if(b>>>0>>0){continue}}break}e=g-d|0;f:{if((a|0)==(d|0)|(d|0)==(g|0)){break f}b=d-a|0;if(b>>>0>e>>>0){if((e|0)<=0){break f}d=a+e|0;b=a+b|0;c=a;while(1){f=O[c|0];L[c|0]=O[b|0];L[b|0]=f;b=b+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}break f}if((b|0)<=0){break f}d=a+b|0;b=a+e|0;c=a;while(1){f=O[c|0];L[c|0]=O[b|0];L[b|0]=f;b=b+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}}h=j-g|0;if((g|0)==(j|0)|(j|0)==(k|0)){break a}b=k-j|0;if(b>>>0>>0){if((b|0)<=0){break a}d=b+g|0;b=g+h|0;while(1){c=O[g|0];L[g|0]=O[b|0];L[b|0]=c;b=b+1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}break a}if((h|0)<=0){break a}d=g+h|0;b=b+g|0;while(1){c=O[g|0];L[g|0]=O[b|0];L[b|0]=c;b=b+1|0;g=g+1|0;if(d>>>0>g>>>0){continue}break}}_p(a,e>>>4|0);a=k-h|0;k=a+(h&-16)|0;b=h>>>4|0;if(h>>>0>=160){continue}break}}e=a+16|0;if(k>>>0>e>>>0){while(1){d=e;g:{if(d>>>0<=a>>>0){break g}while(1){g=d-16|0;b=N[d-12>>2];c=N[d+4>>2];f=bb(N[g>>2],N[d>>2],b>>>0>>0?b:c);if(((f?f:b-c|0)|0)<=0){break g}b=g;c=d;while(1){f=O[b|0];L[b|0]=O[c|0];L[c|0]=f;c=c+1|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}d=g;if(d>>>0>a>>>0){continue}break}}e=e+16|0;if(k>>>0>e>>>0){continue}break}}}function ig(a){var 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;c=0;a:{if(!a){break a}n=N[a+12>>2];d=n>>31;l=N[a+8>>2];c=l>>31;m=N[a+4>>2];b=m>>31;g=N[a>>2];a=g>>31;j=(d^n)-d|0;p=(c^l)-c|0;o=(b^m)-b|0;h=(a^g)-a|0;a=(h|0)<(o|0)?o:h;a=(a|0)<(p|0)?p:a;c=(a|0)<(j|0)?j:a;if(c>>>0>=23171){b:{c:{d:{if(c>>>0<=65535){a=((c<<16|11584)>>>0)/23170|0;k=a;break d}a=2147483647;k=2147483647;if(c>>>0>1518469119){break d}b=c<<16|11585;a=c>>>16|0;d=W(a);e=32-d|0;a=b>>>e|a<>>0)/23170|0;f=T(k,-23170)+a|0;a=b<>>31;b=c>>>0>23169;f=(b?-23170:0)+c|0;k=b|k<<1;e=31-d|0;a=a<<1}if((d|0)!=31){while(1){b=f<<1|a>>>31;d=b>>>0>23169;c=a>>>30&1|(d?2147460478:0)+b<<1;b=c>>>0>23169;f=(b?-23170:0)+c|0;k=b|(k<<2|d<<1);a=a<<2;e=e-2|0;if(e){continue}break}}if(!k){break c}a=k>>31;a=(a^k)-a|0}b=g?(h|0)==2147483647?2147483647:h:2147483647;b=m?b>>>0>o>>>0?o:b:b;b=l?b>>>0>p>>>0?p:b:b;d=n?b>>>0>j>>>0?j:b:b;p=a>>>17^65535;e:{if(d>>>0<=p>>>0){i=((d<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;break e}i=2147483647;b=a>>>1|0;c=b+(d<<16)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;if(b>>>0>=a>>>0){break e}d=W(b);f=32-d|0;b=c>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,i)|0;e=c<>>31;c=b>>>0>=a>>>0;i=c|i<<1;f=31-d|0;e=e<<1;j=b-(c?a:0)|0}if((d|0)==31){break e}while(1){b=j<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;j=b-(c?a:0)|0;i=c|(i<<2|d<<1);e=e<<2;f=f-2|0;if(f){continue}break}}c=0;if(!((k|0)<0?0-i|0:i)){break a}b=g>>31;d=(b^g)-b|0;f:{if(d>>>0<=p>>>0){i=((d<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;c=(g|0)>=0;b=c?1:-1;if((k|0)>=0){break f}b=c?-1:1;break f}i=2147483647;b=a>>>1|0;c=b+(d<<16)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;g:{if(b>>>0>=a>>>0){break g}d=W(b);f=32-d|0;b=c>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,i)|0;e=c<>>31;c=b>>>0>=a>>>0;i=c|i<<1;f=31-d|0;e=e<<1;j=b-(c?a:0)|0}if((d|0)==31){break g}while(1){b=j<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;j=b-(c?a:0)|0;i=c|(i<<2|d<<1);e=e<<2;f=f-2|0;if(f){continue}break}}c=(g|0)>=0;b=c?1:-1;if((k|0)>=0){break f}b=c?-1:1}c=m>>31;h=(c^m)-c|0;h:{if(h>>>0<=p>>>0){c=l>>31;e=(c^l)-c|0;d=((h<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;c=(m|0)<0?d:0-d|0;if((k|0)<0){break h}c=(m|0)<0?0-d|0:d;break h}g=2147483647;c=a>>>1|0;d=c+(h<<16)|0;c=(h>>>16|0)+(c>>>0>d>>>0)|0;i:{if(c>>>0>=a>>>0){break i}h=W(c);f=32-h|0;c=d>>>f|c<>>0)/(a>>>0)|0;j=c-T(a,g)|0;e=d<>>31;d=c>>>0>=a>>>0;g=d|g<<1;f=31-h|0;e=e<<1;j=c-(d?a:0)|0}if((h|0)==31){break i}while(1){c=j<<1|e>>>31;h=c>>>0>=a>>>0;c=e>>>30&1|c-(h?a:0)<<1;d=c>>>0>=a>>>0;j=c-(d?a:0)|0;g=d|(g<<2|h<<1);e=e<<2;f=f-2|0;if(f){continue}break}}c=l>>31;e=(c^l)-c|0;c=(m|0)<0?g:0-g|0;if((k|0)<0){break h}c=(m|0)<0?0-g|0:g}m=c;d=(b|0)<0;c=0-i|0;j:{if(e>>>0<=p>>>0){h=((e<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;b=n>>31;e=(b^n)-b|0;b=(l|0)<0?h:0-h|0;if((k|0)<0){break j}b=(l|0)<0?0-h|0:h;break j}g=2147483647;b=a>>>1|0;h=b+(e<<16)|0;b=(e>>>16|0)+(b>>>0>h>>>0)|0;k:{if(b>>>0>=a>>>0){break k}o=W(b);f=32-o|0;b=h>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,g)|0;e=h<>>31;h=b>>>0>=a>>>0;g=h|g<<1;f=31-o|0;e=e<<1;j=b-(h?a:0)|0}if((o|0)==31){break k}while(1){b=j<<1|e>>>31;o=b>>>0>=a>>>0;b=e>>>30&1|b-(o?a:0)<<1;h=b>>>0>=a>>>0;j=b-(h?a:0)|0;g=h|(g<<2|o<<1);e=e<<2;f=f-2|0;if(f){continue}break}}b=n>>31;e=(b^n)-b|0;b=(l|0)<0?g:0-g|0;if((k|0)<0){break j}b=(l|0)<0?0-g|0:g}l=b;g=d?c:i;if(e>>>0<=p>>>0){i=((e<<16)+(a>>>1|0)>>>0)/(a>>>0)|0;a=(n|0)>=0;b=a?1:-1;if((k|0)>=0){break b}b=a?-1:1;break b}i=2147483647;b=a>>>1|0;c=b+(e<<16)|0;b=(e>>>16|0)+(b>>>0>c>>>0)|0;l:{if(b>>>0>=a>>>0){break l}d=W(b);f=32-d|0;b=c>>>f|b<>>0)/(a>>>0)|0;j=b-T(a,i)|0;e=c<>>31;c=b>>>0>=a>>>0;i=c|i<<1;f=31-d|0;e=e<<1;j=b-(c?a:0)|0}if((d|0)==31){break l}while(1){b=j<<1|e>>>31;d=b>>>0>=a>>>0;b=e>>>30&1|b-(d?a:0)<<1;c=b>>>0>=a>>>0;j=b-(c?a:0)|0;i=c|(i<<2|d<<1);e=e<<2;f=f-2|0;if(f){continue}break}}a=(n|0)>=0;b=a?1:-1;if((k|0)>=0){break b}b=a?-1:1;break b}i=2147483647;l=(l|0)<0?-2147483647:2147483647;m=(m|0)<0?-2147483647:2147483647;g=(g|0)<0?-2147483647:2147483647;b=n>>31|1}n=(b|0)<0?0-i|0:i}b=T(g,n);a=T(l,m);c=0;if((b|0)==(a|0)){break a}a=b-a|0;b=a>>31;c=(((T(g,g)+T(m,m)|0)+T(l,l)|0)+T(n,n)>>>0)/((a^b)-b>>>0)>>>0<51}return c}function we(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;k=La+-64|0;La=k;l=N[a>>2];a:{b:{c:{if(O[a+257|0]){s=N[l- -64>>2];t=N[l+56>>2];m=N[l+168>>2];o=N[m+36>>2];y=N[l+144>>2];z=N[m+40>>2];H=N[l+140>>2];I=N[a+252>>2];r=N[a+248>>2];l=N[b+8>>2];m=N[a+240>>2];p=N[b>>2];v=N[a+244>>2];w=N[b+4>>2];a=N[b+12>>2];N[k+12>>2]=a;N[k>>2]=0;N[k+4>>2]=0;n=m;m=c+p|0;c=n-m|0;p=(c|0)<(l|0)?c:l;N[k+8>>2]=p;A=(a|0)>0;q=A&(p|0)>0;n=(q<<4)+k|0;p=d+w|0;d=v-p|0;v=(a|0)>(d|0)?d:a;N[n+12>>2]=v;d=r-m|0;r=(d|0)<(l|0)?d:l;N[n+8>>2]=r;N[n+4>>2]=0;w=n;n=(c|0)>0?c:0;N[w>>2]=n;w=(v|0)>0?q?2:1:q;c=q;q=(n|0)<(r|0);v=q?w:c;c=(v<<4)+k|0;N[c+12>>2]=a;N[c+8>>2]=r;r=I-p|0;r=(r|0)>0?r:0;N[c+4>>2]=r;N[c>>2]=n;q=v+(q&(a|0)>(r|0))|0;c=(q<<4)+k|0;N[c+12>>2]=a;N[c+8>>2]=l;N[c+4>>2]=0;a=(d|0)>0?d:0;N[c>>2]=a;C=+(H|0);u=+(z|0);D=+(t|0);x=C*0/u+D;d:{if(V(x)<2147483648){c=~~x;break d}c=-2147483648}d=(a|0)<(l|0);E=+(y|0);x=+(o|0);F=+(s|0);G=E*0/x+F;e:{if(V(G)<2147483648){a=~~G;break e}a=-2147483648}d=d&A;u=C*u/u+D;f:{if(V(u)<2147483648){l=~~u;break f}l=-2147483648}r=d+q|0;u=E*x/x+F;g:{if(V(u)<2147483648){d=~~u;break g}d=-2147483648}if(!r){break b}q=a-m|0;n=N[k>>2];N[k>>2]=(a|0)>(m+n|0)?q:n;n=c-p|0;s=N[k+4>>2];N[k+4>>2]=(c|0)>(p+s|0)?n:s;s=d-m|0;t=N[k+8>>2];N[k+8>>2]=(d|0)<(m+t|0)?s:t;t=l-p|0;o=N[k+12>>2];N[k+12>>2]=(l|0)<(p+o|0)?t:o;if((r|0)==1){break c}o=N[k+20>>2];N[k+20>>2]=(c|0)>(p+o|0)?n:o;o=N[k+24>>2];N[k+24>>2]=(d|0)<(m+o|0)?s:o;o=N[k+28>>2];N[k+28>>2]=(l|0)<(p+o|0)?t:o;o=N[k+16>>2];N[k+16>>2]=(a|0)>(m+o|0)?q:o;if((r|0)==2){break c}o=N[k+36>>2];N[k+36>>2]=(c|0)>(p+o|0)?n:o;o=N[k+40>>2];N[k+40>>2]=(d|0)<(m+o|0)?s:o;o=N[k+44>>2];N[k+44>>2]=(l|0)<(p+o|0)?t:o;o=N[k+32>>2];N[k+32>>2]=(a|0)>(m+o|0)?q:o;if((r|0)==3){break c}w=n;n=N[k+52>>2];N[k+52>>2]=(c|0)>(p+n|0)?w:n;c=N[k+56>>2];N[k+56>>2]=(d|0)<(c+m|0)?s:c;c=N[k+60>>2];N[k+60>>2]=(l|0)<(c+p|0)?t:c;c=N[k+48>>2];N[k+48>>2]=(a|0)>(c+m|0)?q:c;break c}m=N[a+252>>2];p=(m|0)>0?m:0;m=N[l+136>>2];q=N[b+4>>2]+d|0;d=((m|0)>(p|0)?p:m)-q|0;p=N[b+12>>2];n=(d|0)<(p|0)?d:p;d=N[a+244>>2];d=(d|0)>0?d:0;d=q-((d|0)<(m|0)?d:m)|0;m=d>>31&0-d;if((n|0)<=(m|0)){break b}p=N[b>>2]+c|0;c=N[a+240>>2];c=(c|0)>0?c:0;d=N[l+132>>2];c=p-((c|0)<(d|0)?c:d)|0;c=c>>31&0-c;a=N[a+248>>2];a=(a|0)>0?a:0;a=((a|0)<(d|0)?a:d)-p|0;d=N[b+8>>2];l=(a|0)<(d|0)?a:d;if((c|0)>=(l|0)){break b}d=g-p|0;if((c|0)<(d|0)){s=N[b+20>>2];r=N[b+16>>2];g=c+(s+T(r,m)|0)|0;a=kb(48);if(!a){if(!s|j){break b}_a(N[g-4>>2]);break b}N[a+36>>2]=j;N[a+16>>2]=e;N[a+12>>2]=g;N[a+8>>2]=r;N[a+24>>2]=m+q;N[a+20>>2]=c+p;N[a+4>>2]=n-m;d=(d|0)<(l|0)?d:l;N[a>>2]=d-c;if(j){if(!N[j-8>>2]){break a}e=j-4|0;g=N[e>>2];if(!g){break a}N[e>>2]=g+1;g=0}N[a+44>>2]=0;N[a+40>>2]=g;N[a+32>>2]=i;N[h>>2]=a;h=a+28|0}if((d|0)>=(l|0)){break b}g=N[b+20>>2];e=N[b+16>>2];b=(c|0)<(d|0)?d:c;d=(g+T(e,m)|0)+b|0;a=kb(48);if(!a){if(!g|j){break b}_a(N[d-4>>2]);break b}N[a+36>>2]=j;N[a+16>>2]=f;N[a+12>>2]=d;N[a+8>>2]=e;N[a+24>>2]=m+q;N[a+20>>2]=b+p;N[a+4>>2]=n-m;N[a>>2]=l-b;h:{if(j){if(!N[j-8>>2]){break h}b=j-4|0;c=N[b>>2];if(!c){break h}N[b>>2]=c+1;d=0}N[a+44>>2]=0;N[a+40>>2]=d;N[a+32>>2]=i;N[h>>2]=a;h=a+28|0;break b}break a}c=g-m|0;s=j-4|0;o=j-8|0;a=0;while(1){d=(a<<4)+k|0;t=N[d+8>>2];q=N[d>>2];i:{if((t|0)<=(q|0)){break i}y=N[d+12>>2];n=N[d+4>>2];if((y|0)<=(n|0)){break i}j:{k:{l:{if((c|0)<=(q|0)){g=c;break l}g=N[b+16>>2];l=q+(N[b+20>>2]+T(g,n)|0)|0;d=kb(48);if(!d){if(!j){break k}break b}N[d+36>>2]=j;N[d+16>>2]=e;N[d+12>>2]=l;N[d+8>>2]=g;N[d+24>>2]=p+n;N[d+20>>2]=m+q;N[d+4>>2]=y-n;g=(c|0)<(t|0)?c:t;N[d>>2]=g-q;if(j){if(!N[o>>2]){break a}l=N[s>>2];if(!l){break a}N[s>>2]=l+1;l=0}N[d+44>>2]=0;N[d+40>>2]=l;N[d+32>>2]=i;N[h>>2]=d;h=d+28|0}if((g|0)>=(t|0)){break i}g=(g|0)>(q|0)?g:q;z=N[b+16>>2];l=g+(N[b+20>>2]+T(z,n)|0)|0;d=kb(48);if(d){break j}if(j){break b}}if(!l){break b}_a(N[l-4>>2]);break b}N[d+36>>2]=j;N[d+16>>2]=f;N[d+12>>2]=l;N[d+8>>2]=z;N[d+24>>2]=p+n;N[d+20>>2]=g+m;N[d+4>>2]=y-n;N[d>>2]=t-g;if(j){if(!N[o>>2]){break a}g=N[s>>2];if(!g){break a}N[s>>2]=g+1;l=0}N[d+44>>2]=0;N[d+40>>2]=l;N[d+32>>2]=i;N[h>>2]=d;h=d+28|0}a=a+1|0;if((r|0)!=(a|0)){continue}break}}La=k- -64|0;return h}ba(8916,18290,435,15229);B()}function Pf(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1195656518,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{d=N[c>>2];if(d){if((d|0)<=0){break j}N[c>>2]=d+1}L[e+28|0]=0;N[e+36>>2]=c;f=N[c+12>>2];N[e+8>>2]=f;g=N[c+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break i}if(g>>>0>67108863){h=1073741819}else{d=g<<6;d=d>>>0<=16384?16384:d;h=(d>>>0>=1073741823?1073741823:d)-4|0}N[e+24>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;d=c;if(!f){break c}if(g>>>0<4){break g}N[e+16>>2]=h;if((O[f|0]|O[f+1|0]<<8)!=256){break h}if(ch(f,e+4|0)){break h}if(O[e+28|0]|!N[e+32>>2]){break g}if(!zb(c)){break g}while(1){L[e+28|0]=1;d=N[e+36>>2];f=N[d+12>>2];N[e+8>>2]=f;g=N[d+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break i}if(g>>>0>67108863){h=1073741823}else{h=g<<6;h=h>>>0<=16384?16384:h;h=h>>>0>=1073741823?1073741823:h}N[e+24>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;if(!f){break c}if(g>>>0<4){break g}N[e+16>>2]=h-4;if((O[f|0]|O[f+1|0]<<8)!=256){break h}if(ch(f,e+4|0)){break h}if(O[e+28|0]|!N[e+32>>2]){break g}d=zb(c);N[e+8>>2]=d;N[e+12>>2]=d+N[c+16>>2];if(d){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[e+32>>2]){break f}N[e+32>>2]=0;if(Q[e+8>>2]>f>>>0){break g}d=N[e+12>>2];if(d>>>0>>0|d-f>>>0<4){break g}d=N[e+16>>2]-4|0;N[e+16>>2]=d;if((d|0)<=0){break g}if((O[f|0]|O[f+1|0]<<8)!=256){break f}d=ch(f,e+4|0);if(N[e+32>>2]){break g}ab(N[e+36>>2]);if(d){break e}break d}ab(N[e+36>>2]);break d}ab(N[e+36>>2])}if(!N[c+4>>2]){break b}N[c+4>>2]=0;break b}ab(c);c=275552;break b}ab(d)}N[a>>2]=c;c=N[c+16>>2];d=N[Vb(b+144|0)>>2];d=N[(d?d:275552)+16>>2];f=d>>>11|0;b=N[mc(b+148|0)>>2];d=N[(b?b:275552)+16>>2]|d<<21;b=c<<10|f;c=b;k:{l:{if((c|0)<=987147&d>>>0<=2743134887|(c|0)<987147){if((c|0)<=452609&d>>>0<=1732289589|(c|0)<452609){if((c|0)<=196614&d>>>0<=843062357|(c|0)<196614){if((c|0)<=192512&d>>>0<=553651553|(c|0)<192512){if((d|0)==1606425686&(c|0)==184326|(d|0)==520097548&(c|0)==192512){break l}break k}if((d|0)==553651554&(c|0)==192512|(d|0)==734010454&(c|0)==196614){break l}break k}if((c|0)<=440321&d>>>0<=1732288213|(c|0)<440321){if((d|0)==843062358&(c|0)==196614|(d|0)==1732286926&(c|0)==440321){break l}break k}if((d|0)==1732288214&(c|0)==440321|(d|0)==1732286668&(c|0)==452609){break l}break k}if((c|0)<=864259&d>>>0<=2428547489|(c|0)<864259){if((c|0)<=501761&d>>>0<=2092999333|(c|0)<501761){if((d|0)==1732289590&(c|0)==452609|(d|0)==2092999598&(c|0)==489473){break l}break k}if((d|0)==2092999334&(c|0)==501761|(d|0)==-1820280774&(c|0)==851971){break l}break k}if((c|0)<=931846&d>>>0<=583055987|(c|0)<931846){if((d|0)==-1866419806&(c|0)==864259|(d|0)==557888902&(c|0)==919558){break l}break k}if((d|0)==1640033596&(c|0)==962571|((d|0)==583055988&(c|0)==931846|(d|0)==1614866372&(c|0)==950283)){break l}break k}m:{if((c|0)<=1071126&d>>>0<=4139790647|(c|0)<1071126){if((c|0)<=1030155&d>>>0<=4072730923|(c|0)<1030155){if((c|0)<=1017867&d>>>0<=4081118127|(c|0)<1017867){if((d|0)==-1551832408&(c|0)==987147|(d|0)==-1560219632&(c|0)==999435){break l}break k}if((d|0)==-213849168&(c|0)==1017867|(d|0)==-629130764&(c|0)==1028124){break l}break k}b=d-61346|0;if(((d>>>0<61346)+1030156|0)==(c|0)&b>>>0<=6){break m}f=c-((d>>>0<4286641516)+1042443|0)|0;b=d+8325780|0;if(!f&b>>>0>6|f){if((d|0)==-222236372&(c|0)==1030155){break l}break k}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break k;default:break l}}if((c|0)<=1083427&d>>>0<=239092841|(c|0)<1083427){if((c|0)<=1071139&d>>>0<=230704581|(c|0)<1071139){if((d|0)==-155176648&(c|0)==1071126|(d|0)==226509528&(c|0)==1071139){break l}break k}if((d|0)==230704582&(c|0)==1071139|(d|0)==-150983126&(c|0)==1083414){break l}break k}if((c|0)<=1361973&d>>>0<=2852184657|(c|0)<1361973){b=(c|0)==1083427;if(b&(d|0)==239092842|b&(d|0)==243286402){break l}break k}if((d|0)==-1442781604&(c|0)==1361973){break l}if((d|0)!=-1442782638|(c|0)!=1361973){break k}break l}switch(b-1|0){case 0:case 1:case 2:case 3:case 4:break k;default:break l}}ab(N[a>>2]);N[a>>2]=275552}La=e+48|0;return a}function Rj(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;e=O[a|0]|O[a+1|0]<<8;if(e){p=(e<<8|e>>>8)&65535;n=a+2|0;while(1){h=275552;e=O[n|0]|O[n+1|0]<<8;if(e){h=((e<<8|e>>>8)&65535)+a|0}j=O[h+2|0]|O[h+3|0]<<8;d=h+4|0;i=O[h|0]|O[h+1|0]<<8;g=(i<<8|i>>>8)&65535;a:{if(g>>>0<2){break a}l=N[c+4>>2];k=N[b+12>>2];m=N[c>>2];e=d;f=g-1|0;if(f&1){e=O[h+4|0]|O[h+5|0]<<8;Qa[m|0](k,(e<<8|e>>>8)&65535,l);f=g-2|0;e=h+6|0}if((i|0)==512){break a}while(1){h=O[e|0]|O[e+1|0]<<8;Qa[m|0](k,(h<<8|h>>>8)&65535,l);h=O[e+2|0]|O[e+3|0]<<8;Qa[m|0](k,(h<<8|h>>>8)&65535,l);e=e+4|0;f=f-2|0;if(f){continue}break}}if(j){r=(j<<8|j>>>8)&65535;s=d+(i?(g<<1)-2|0:0)|0;o=0;while(1){h=N[b+32>>2];b:{if(!h|!N[b+24>>2]|N[b+20>>2]==275552){break b}e=s+(o<<2)|0;e=O[e+2|0]|O[e+3|0]<<8;m=(e<<8|e>>>8)&65535;l=m>>>9|0;e=N[b+28>>2];g=N[e+32>>2];c:{d:{e:{f=N[e+20>>2];j=N[e+28>>2];if(f>>>0>=j>>>0){break e}f=g+(f<<3)|0;if(N[f>>2]!=(l|0)){break e}d=f+4|0;break d}i=0;if((j|0)<=0){break c}f=j-1|0;i=0;f:{while(1){d=f+i>>>1|0;k=g+(d<<3)|0;q=N[k>>2];g:{if((q|0)>(l|0)){f=d-1|0;break g}if((l|0)==(q|0)){break f}i=d+1|0}if((f|0)>=(i|0)){continue}break}i=0;break c}N[e+20>>2]=d;d=(d>>>0>=j>>>0?275552:k)+4|0}j=N[e+44>>2];i=0;if(!j){break c}f=(j+(N[d>>2]<<6)|0)+(m>>>3&56)|0;i=N[f>>2];j=N[f+4>>2];d=m&63;f=d&31;i=((d&63)>>>0>=32?j>>>f|0:((1<>>f)&1}if((i|0)!=O[e+48|0]){break b}e=N[b+16>>2];N[b+16>>2]=275552;f=N[b+8>>2];d=N[b+12>>2];N[b+12>>2]=275552;N[b+32>>2]=h-1;N[b+8>>2]=275552;Qa[N[b+24>>2]](b,m);N[b+16>>2]=e;N[b+8>>2]=f;N[b+12>>2]=d;N[b+32>>2]=N[b+32>>2]+1;g=N[b+28>>2];e=O[g+12|0];if(O[g+48|0]){if(!e){break b}d=N[g+20>>2];f=N[g+28>>2];e=N[g+32>>2];if(!(d>>>0>>0&N[e+(d<<3)>>2]==(l|0))){if((f|0)<=0){break b}f=f-1|0;i=0;while(1){h:{d=f+i>>>1|0;j=N[e+(d<<3)>>2];i:{if((j|0)>(l|0)){f=d-1|0;break i}if((j|0)==(l|0)){break h}i=d+1|0}if((f|0)>=(i|0)){continue}break b}break}N[g+20>>2]=d}f=N[g+44>>2];if(!f){break b}e=N[(e+(d<<3)|0)+4>>2];N[g+16>>2]=-1;e=(f+(e<<6)|0)+(m>>>3&56)|0;f=N[e>>2];d=N[e+4>>2];t=e,u=_E(-2,-1,m)&f,N[t>>2]=u;N[e+4>>2]=Pa&d;break b}if(!e){break b}N[g+16>>2]=-1;d=N[g+32>>2];j:{k:{e=N[g+20>>2];f=N[g+28>>2];if(e>>>0>=f>>>0){break k}e=(e<<3)+d|0;if(N[e>>2]!=(l|0)){break k}e=e+4|0;break j}e=N[g+40>>2];l:{m:{if((f|0)<=0){f=0;break m}i=f-1|0;f=0;while(1){j=f+i>>>1|0;h=N[(j<<3)+d>>2];n:{if((h|0)>(l|0)){i=j-1|0;break n}if((h|0)==(l|0)){f=j;break l}f=j+1|0}if((f|0)<=(i|0)){continue}break}}o:{p:{j=g+36|0;h=N[j>>2];q:{if((h|0)<0){break q}r:{s:{d=e;i=d+1|0;k=(i|0)>0?i:0;if(k>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(k>>>0>=h>>>0){continue}break}i=j;if(h>>>0>67108863){break s}d=$a(N[g+44>>2],h<<6);if(!d){break s}N[g+36>>2]=h;N[g+44>>2]=d;d=N[g+40>>2]}if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,k-d<<6)}N[g+40>>2]=k;i=g+24|0;d=N[i>>2];if((d|0)<0){break r}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(k>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break s}h=$a(N[g+32>>2],d<<3);if(!h){break s}N[g+24>>2]=d;N[g+32>>2]=h}d=N[g+28>>2];if(d>>>0>>0){C(N[g+32>>2]+(d<<3)|0,0,k-d<<3)}N[g+28>>2]=k;d=N[g+44>>2]+(e<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=f<<3;j=d+N[g+32>>2]|0;F(j+8|0,j,N[g+28>>2]+(f^-1)<<3);if(Q[g+28>>2]>f>>>0){break p}N[147456]=0;N[147457]=0;d=589824;break o}N[i>>2]=-1}f=N[g+36>>2];if((f|0)<0){break q}e=N[g+28>>2];e=(e|0)>0?e:0;if(e>>>0>f>>>0){while(1){f=((f>>>1|0)+f|0)+8|0;if(e>>>0>=f>>>0){continue}break}t:{if(f>>>0<=67108863){d=$a(N[g+44>>2],f<<6);if(d){break t}}N[j>>2]=-1;L[g+12|0]=0;break b}N[g+36>>2]=f;N[g+44>>2]=d}f=N[g+40>>2];if(f>>>0>>0){C(N[g+44>>2]+(f<<6)|0,0,e-f<<6)}N[g+40>>2]=e}L[g+12|0]=0;break b}d=d+N[g+32>>2]|0}N[d>>2]=l;N[d+4>>2]=e;d=N[g+32>>2]}N[g+20>>2]=f;e=((f<<3)+d|0)+4|0}f=N[g+44>>2];if(!f){break b}e=(f+(N[e>>2]<<6)|0)+(m>>>3&56)|0;j=N[e+4>>2];d=m&63;f=d&31;if((d&63)>>>0>=32){d=1<>>32-f;i=h}N[e>>2]=i|N[e>>2];N[e+4>>2]=d|j}o=o+1|0;if((r|0)!=(o|0)){continue}break}}n=n+2|0;p=p-1|0;if(p){continue}break}}}function Pl(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;m=La-16|0;La=m;h=8;a:{if(e>>>0>100){break a}b:{h=N[a+32>>2];if(!h){break b}i=N[a+40>>2];j=N[a+36>>2]+N[a+28>>2]|0;g=j;while(1){k=O[g+1|0]|O[g|0]<<8;if(!(k>>>0<=b>>>0&(O[g+3|0]|O[g+2|0]<<8)>>>0>=b>>>0)){g=g+8|0;h=h-1|0;if(h){continue}break b}break}h=8;g=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g>>>0>i-j>>>0){break a}g=g+j|0;h=g+8|0;if(h>>>0>i>>>0){break b}j=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);n=O[g+2|0];o=O[g+3|0];c:{d:{e:{f:{g:{h:{l=O[g|0]|O[g+1|0]<<8;switch(((l<<8|l>>>8)&65535)-1|0){case 1:break g;case 0:break h;case 4:case 18:break d;case 3:break e;case 2:break f;default:break b}}h=h+(b-k<<2)|0;if(i>>>0>>0){break b}b=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);g=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);if((b|0)!=(g|0)){break c}break b}if(i>>>0>>0){break b}N[m+12>>2]=g+12;h=O[g+11|0];l=O[g+10|0];p=O[g+9|0];g=O[g+8|0];if(vh(a,m+12|0,i)){break b}i=b-k|0;b=h|(p<<16|g<<24|l<<8);g=T(i,b);b=g+b|0;break c}h=h+(b-k<<1)|0;if(i>>>0>>0){break b}b=O[h+3|0]|O[h+2|0]<<8;g=O[h+1|0]|O[h|0]<<8;if((b|0)!=(g|0)){break c}break b}h=g+12|0;if(i>>>0>>0|i>>>0>>0){break b}g=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(k-1>>>0>=(i-h>>2)-1>>>0){break b}g=0;while(1){if((O[h+1|0]|O[h|0]<<8)==(b|0)){b=O[h+7|0]|O[h+6|0]<<8;g=O[h+3|0]|O[h+2|0]<<8;break c}h=h+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}break b}if(i>>>0>>0){break b}N[m+12>>2]=g+12;h=O[g+8|0]|O[g+9|0]<<8|(O[g+10|0]<<16|O[g+11|0]<<24);if(vh(a,m+12|0,i)){break b}g=N[m+12>>2];k=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);k=k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24);g=g+4|0;if(k-1>>>0>=i-g>>1>>>0){break b}i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);h=0;while(1){if((O[g+1|0]|O[g|0]<<8)!=(b|0)){g=g+2|0;h=h+1|0;if((k|0)!=(h|0)){continue}break b}break}g=T(h,i);b=i+g|0}if(b>>>0>>0){break b}l=o|n<<8;i=La-16|0;La=i;h=6;b=b-g|0;j=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))+g|0;i:{if(!b|Q[a+24>>2]>>0){break i}g=j+N[a+20>>2]|0;k=N[a+4>>2];j=N[k+20>>2];j:{if(j){h=85;if(!(Qa[j|0](k,g,0,0)|0)){break j}break i}h=85;if(g>>>0>Q[k+4>>2]){break i}}N[k+8>>2]=g;h=fc(k,b,i+8|0);if(h){break i}j=N[i+8>>2];N[i+12>>2]=j;n=b+j|0;h=7;k:{l:{m:{n:{o:{p:{q:{r:{switch(l-1|0){case 0:case 1:case 7:case 16:h=6;if((b|0)<5){break k}b=N[a+12>>2];M[b>>1]=O[j|0];M[b+2>>1]=O[j+1|0];M[b+4>>1]=L[j+2|0];M[b+6>>1]=L[j+3|0];h=O[j+4|0];M[b+14>>1]=0;M[b+10>>1]=0;M[b+12>>1]=0;M[b+8>>1]=h;L[a+16|0]=1;N[i+12>>2]=j+5;break q;case 18:break k;case 4:break p;case 5:case 6:case 8:case 17:break r;default:break l}}h=vh(a,i+12|0,n);if(h){break k}}o=187;h=7;s:{switch(l-1|0){case 16:case 17:break k;case 0:case 5:break m;case 8:break n;case 7:break o;case 4:break p;case 1:case 6:break s;default:break l}}h=N[a+12>>2];b=P[h>>1];g=P[h+2>>1];h=T(b,g+7>>>3|0);if(h>>>0<=T(b,g)+7>>>3>>>0){break p}if((h|0)==(n-N[i+12>>2]|0)){break m}}o=188;break m}h=0;b=N[i+12>>2]+1|0;if(b>>>0>n>>>0){break k}N[i+12>>2]=b}o=189}if(!O[a+17|0]){b=6;t:{if(!O[a+16|0]){break t}g=N[a+12>>2];b=P[g+2>>1];h=N[a+8>>2];l=P[g>>1];N[h>>2]=l;N[h+4>>2]=b;g=3;u:{v:{w:{x:{switch(O[a+18|0]-1|0){case 0:L[h+18|0]=1;b=b+7>>>3|0;g=2;break v;case 1:L[h+18|0]=3;b=b+3>>>2|0;g=4;break v;case 3:L[h+18|0]=4;b=b+1>>>1|0;g=16;break v;case 7:L[h+18|0]=2;break w;case 31:break x;default:break u}}L[h+18|0]=7;b=b<<2}g=256}M[h+16>>1]=g;N[h+8>>2]=b;g=0;if(f){break u}l=T(b,l);if(!l){break u}h=N[N[a>>2]+84>>2];b=N[N[h+4>>2]+100>>2];g=N[h+156>>2];p=N[g+4>>2];y:{if(p&1){g=N[h+88>>2];if(g){Qa[N[b+8>>2]](b,g)}N[h+88>>2]=0;break y}N[g+4>>2]=p|1}z:{if((l|0)<=0){b=6}else{b=Qa[N[b+4>>2]](b,l)|0;if(b){break z}b=64}N[h+88>>2]=0;break t}g=0;C(b,0,l);N[h+88>>2]=b;L[a+17|0]=1}b=g}h=b;if(h){break k}}h=0;if(f){break k}h=Qa[o|0](a,N[i+12>>2],n,c,d,e)|0;break k}h=8}if(!N[k+20>>2]|!j){break i}a=N[k+28>>2];Qa[N[a+8>>2]](a,j)}La=i+16|0;break a}h=e?21:157}La=m+16|0;return h}function Fs(a,b,c){a=a|0;b=b|0;c=c|0;var 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;l=La-16|0;La=l;h=N[a+16>>2];d=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if(!e){break a}i=h+10|0;b:{while(1){d=e+f>>>1|0;g=i+T(d,11)|0;j=O[g+1|0]<<8|O[g|0]<<16|O[g+2|0];c:{if(j>>>0>c>>>0){e=d;break c}if(c>>>0<=j>>>0){break b}f=d+1|0}if(e>>>0>f>>>0){continue}break}f=0;break a}f=0;c=O[g+3|0]|O[g+4|0]<<8|(O[g+5|0]<<16|O[g+6|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[g+7|0]|O[g+8|0]<<8|(O[g+9|0]<<16|O[g+10|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!(c|d)){break a}d:{if(!c){c=d+h|0;d=O[c+3|0];f=O[c+2|0];g=O[c+1|0];i=O[c|0];e=N[a+28>>2];N[l+4>>2]=0;g=d|(g<<16|i<<24|f<<8);i=g+1|0;e:{if(i>>>0<=e>>>0){f=N[a+32>>2];break e}N[a+36>>2]=b;f=lb(b,4,e,i,N[a+32>>2],l+4|0);N[a+32>>2]=f;if(N[l+4>>2]){break d}N[a+28>>2]=i}f:{if(!g){break f}a=d&1;d=c+4|0;e=0;if((g|0)!=1){b=g-a|0;while(1){c=e<<2;N[c+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);N[(c|4)+f>>2]=O[d+7|0]|(O[d+6|0]<<8|O[d+5|0]<<16);d=d+10|0;e=e+2|0;if((b|0)!=(e|0)){continue}break}}if(!a){break f}N[(e<<2)+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16)}N[(g<<2)+f>>2]=0;break a}if(!d){f=Nl(a,c+h|0,b);break a}j=d+h|0;m=O[j+3|0];i=m|(O[j+1|0]<<16|O[j|0]<<24|O[j+2|0]<<8);h=c+h|0;c=O[h+3|0];g:{h:{n=c|(O[h+1|0]<<16|O[h|0]<<24|O[h+2|0]<<8);i:{if(n){k=c&3;f=h+7|0;g=0;j:{if(n>>>0<4){e=0;d=f;break j}o=n-k|0;e=0;c=0;while(1){e=(O[f+12|0]+(O[f+8|0]+(O[f+4|0]+(O[f|0]+e|0)|0)|0)|0)+4|0;d=f+16|0;f=d;c=c+4|0;if((o|0)!=(c|0)){continue}break}}if(k){while(1){e=(O[d|0]+e|0)+1|0;d=d+4|0;g=g+1|0;if((k|0)!=(g|0)){continue}break}}if(!i){break i}if(e){break h}break g}if(i){break g}}f=Nl(a,h,b);break a}c=N[a+28>>2];N[l+12>>2]=0;d=(e+i|0)+1|0;k:{if(d>>>0<=c>>>0){f=N[a+32>>2];break k}N[a+36>>2]=b;f=lb(b,4,c,d,N[a+32>>2],l+12|0);N[a+32>>2]=f;if(N[l+12>>2]){break d}N[a+28>>2]=d}m=O[j+6|0]|(O[j+5|0]<<8|O[j+4|0]<<16);g=O[h+6|0]|(O[h+5|0]<<8|O[h+4|0]<<16);c=j+9|0;a=h+8|0;b=O[h+7|0];e=0;j=1;k=1;while(1){l:{if(b+g>>>0>>0){d=b+1|0;p=d&3;h=0;m:{if(b>>>0<3){d=0;break m}q=d&-4;d=0;while(1){o=(e<<2)+f|0;N[o>>2]=d+g;N[o+12>>2]=(d|3)+g;N[o+8>>2]=(d|2)+g;N[o+4>>2]=(d|1)+g;e=e+4|0;d=d+4|0;if((q|0)!=(d|0)){continue}break}}if(p){while(1){N[(e<<2)+f>>2]=d+g;d=d+1|0;e=e+1|0;h=h+1|0;if((p|0)!=(h|0)){continue}break}}j=j+1|0;if(n>>>0>>0){break l}g=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);b=O[a+3|0];a=a+4|0;continue}if(g>>>0>m>>>0){N[(e<<2)+f>>2]=m;e=e+1|0}k=k+1|0;if(i>>>0>>0){break l}m=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);c=c+5|0;continue}break}n:{if(i>>>0>=k>>>0){N[(e<<2)+f>>2]=m;e=e+1|0;if(i>>>0<=k>>>0){break n}while(1){N[(e<<2)+f>>2]=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);e=e+1|0;c=c+5|0;k=k+1|0;if(i>>>0>k>>>0){continue}break}break n}if(j>>>0>n>>>0){break n}d=b+1|0;c=d&3;h=0;o:{if(b>>>0<3){d=0;break o}i=d&-4;d=0;while(1){b=(e<<2)+f|0;N[b>>2]=d+g;N[b+12>>2]=(d|3)+g;N[b+8>>2]=(d|2)+g;N[b+4>>2]=(d|1)+g;e=e+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}if(c){while(1){N[(e<<2)+f>>2]=d+g;d=d+1|0;e=e+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}if(j>>>0>=n>>>0){break n}while(1){b=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);c=O[a+3|0];d=c+1|0;g=d&3;h=0;p:{if(c>>>0<3){d=0;break p}i=d&508;d=0;while(1){c=(e<<2)+f|0;N[c>>2]=b+d;N[c+12>>2]=b+(d|3);N[c+8>>2]=b+(d|2);N[c+4>>2]=b+(d|1);e=e+4|0;d=d+4|0;if((i|0)!=(d|0)){continue}break}}if(g){while(1){N[(e<<2)+f>>2]=b+d;d=d+1|0;e=e+1|0;h=h+1|0;if((g|0)!=(h|0)){continue}break}}a=a+4|0;j=j+1|0;if(n>>>0>j>>>0){continue}break}}N[(e<<2)+f>>2]=0;break a}c=N[a+28>>2];N[l+8>>2]=0;d=i+1|0;q:{if(d>>>0<=c>>>0){f=N[a+32>>2];break q}N[a+36>>2]=b;f=lb(b,4,c,d,N[a+32>>2],l+8|0);N[a+32>>2]=f;if(N[l+8>>2]){break d}N[a+28>>2]=d}a=m&1;d=j+4|0;e=0;if((i|0)!=1){b=i-a|0;while(1){c=e<<2;N[c+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);N[(c|4)+f>>2]=O[d+7|0]|(O[d+6|0]<<8|O[d+5|0]<<16);d=d+10|0;e=e+2|0;if((b|0)!=(e|0)){continue}break}}if(a){N[(e<<2)+f>>2]=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16)}N[(i<<2)+f>>2]=0;break a}f=0}La=l+16|0;return f|0}function tp(a,b){var 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,t=0,u=0,v=0,w=0,x=0;c=T(b,1348)+a|0;k=N[c- -64>>2];p=N[c+56>>2];r=k+T(p,44)|0;a:{if((b|0)==1){if((p|0)<=0){break a}q=N[a+2748>>2];t=O[N[(N[N[q>>2]+8>>2]<<2)+288704>>2]+12|0];i=a+2744|0;c=k;while(1){f=O[c+12|0];b:{if(f&4){break b}c:{d:{e:{f:{g:{e=N[c+20>>2];d=N[c+24>>2];h:{if(!e|!d){break h}o=N[d+20>>2];if(!o){break g}g=O[d+12|0];if(g&8){N[d+20>>2]=0;L[d+12|0]=g&247;e=N[c+20>>2];break h}if(!(f&8)){break g}e=0;N[c+20>>2]=0;L[c+12|0]=f&247}if(!d|e){break f}e=N[d+20>>2];if(!e){break b}e=N[e+8>>2];N[d+8>>2]=e;g=O[d+12|0]|4;L[d+12|0]=g;f=d;d=c;break d}e=N[e+8>>2];g=f|4;L[c+12|0]=g;N[c+8>>2]=e;break e}if(!e){break b}e=N[e+8>>2];N[c+8>>2]=e;g=O[c+12|0]|4;L[c+12|0]=g;if(!d){break c}o=N[d+20>>2]}f=c;if(o){break c}}f=N[f+4>>2];j=N[d+4>>2]-f|0;l=e-f|0;f=O[d+12|0];g=qf(N[i>>2],q,1,j,l,g&255,f);L[d+12|0]=f|4;N[d+8>>2]=e+g}h=h?h:c}c=c+44|0;if(r>>>0>c>>>0){continue}break}}if((p|0)>0){o=a+2748|0;q=a+2744|0;c=k;while(1){e=O[c+12|0];i:{if(e&4){break i}d=N[c+24>>2];if(!d){u=u+1|0;break i}if(N[d+20>>2]){a=N[d+4>>2];f=N[d+8>>2];a=qf(N[q>>2],N[o>>2],b,N[c+4>>2]-a|0,f-a|0,O[d+12|0],e);L[c+12|0]=e|4;N[c+8>>2]=a+f;break i}f=N[c+4>>2];if(!h){l=N[q>>2];m=N[o>>2];g=N[d+4>>2]-f|0;a=qf(l,m,b,g,0,e,O[d+12|0]);j:{if((a|0)<=95){h=f+(g>>1)|0;s=h+32&-64;n=(a|0)<65;i=s+(n?-32:-38)|0;v=h-i|0;j=v>>31;n=s|(n?32:26);s=h-n|0;h=s>>31;h=((a|0)/-2|0)+((j^v)-j>>>0<(h^s)-h>>>0?i:n)|0;N[c+8>>2]=h;N[d+8>>2]=a+h;h=N[c+8>>2];break j}h=f+32&-64;N[c+8>>2]=h}a=e|4;L[c+12|0]=a;w=d,x=qf(l,m,b,g,h-f|0,a,O[d+12|0])+h|0,N[w+8>>2]=x;h=c;break i}i=N[h+4>>2];j=N[h+8>>2];g=N[d+4>>2]-f|0;l=O[d+12|0];a=qf(N[q>>2],N[o>>2],b,g,0,e,l);k:{if(l&4){g=N[d+8>>2]-a|0;a=c;break k}i=j+(f-i|0)|0;f=i+(g>>1)|0;l:{if((a|0)<=95){j=f+32&-64;i=(a|0)<65;l=j+(i?-32:-38)|0;m=f-l|0;g=m>>31;i=j|(i?32:26);j=f-i|0;f=j>>31;f=(g^m)-g>>>0<(f^j)-f>>>0?l:i;a=(a|0)/2|0;N[c+8>>2]=f-a;g=a+f|0;break l}m=a>>>1|0;j=i+32|0;l=j&-64;n=m+(l-f|0)|0;i=n>>31;g=(g+j&-64)-a|0;j=g+(m-f|0)|0;f=j>>31;f=(i^n)-i>>>0<(f^j)-f>>>0?l:g;N[c+8>>2]=f;g=a+f|0}a=d}N[a+8>>2]=g;L[c+12|0]=e|4;L[d+12|0]=O[d+12|0]|4;if(c>>>0<=k>>>0){break i}a=N[c-36>>2];e=N[c+8>>2];m:{if(t){if((a|0)<(e|0)){break m}break i}if((a|0)<=(e|0)){break i}}e=N[d+8>>2]-a|0;d=e>>31;if((d^e)-d>>>0<17){break i}N[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}n:{if(b){break n}c=4;e=2;d=k;o:{switch(p-6|0){case 6:d=k+44|0;c=9;e=5;break;case 0:break o;default:break n}}e=T(e,44)+k|0;a=T(c,44)+k|0;f=(N[e+4>>2]<<1)-(N[d+4>>2]+N[a+4>>2]|0)|0;b=f>>31;if((b^f)-b>>>0>7){break n}b=N[a+8>>2];d=(N[e+8>>2]<<1)-N[d+8>>2]|0;N[a+8>>2]=d;b=b-d|0;a=N[a+24>>2];if(a){N[a+8>>2]=N[a+8>>2]-b}if((p|0)==12){N[k+360>>2]=N[k+360>>2]-b;N[k+492>>2]=N[k+492>>2]-b}b=T(c,44)+k|0;L[b+12|0]=O[b+12|0]|4;if(!a){break n}L[a+12|0]=O[a+12|0]|4}if(!(!h|(u|0)!=0)|(p|0)<=0){break a}c=k;while(1){f=O[c+12|0];p:{if(f&4){break p}q:{r:{a=N[c+28>>2];if(!a){break r}d=N[a+4>>2];e=N[c+4>>2];g=d-e|0;b=g>>31;if((b^g)-b>>>0>79){break r}d=e+(N[a+8>>2]-d|0)|0;break q}d=c;if(!h){d=N[c+4>>2]+32&-64;h=c;break q}while(1){b=d;d=d-44|0;g=k>>>0>d>>>0;if(!(g|O[b-32|0]&4)){continue}break}e=c;s:{while(1){a=e;e=a+44|0;if(r>>>0<=e>>>0){break s}if(!(O[a+56|0]&4)){continue}break}if(c>>>0<=d>>>0|g|c>>>0>=e>>>0){break s}b=b-44|0;d=N[b+8>>2];e=N[a+48>>2];b=N[b+4>>2];if((e|0)==(b|0)){break q}d=jb(N[c+4>>2]-b|0,N[a+52>>2]-d|0,e-b|0)+d|0;break q}d=N[h+8>>2]+((N[c+4>>2]-N[h+4>>2]|0)+16&-32)|0}N[c+8>>2]=d;L[c+12|0]=f|4;t:{if(c>>>0<=k>>>0){break t}a=N[c-36>>2];u:{if(t){if((a|0)<(d|0)){break u}break t}if((a|0)<=(d|0)){break t}}b=N[c+24>>2];if(!b){break t}e=N[b+8>>2]-a|0;b=e>>31;if((b^e)-b>>>0<17){break t}N[c+8>>2]=a;d=a}if(!(O[c+56|0]&4)|c+44>>>0>=r>>>0){break p}a=N[c+52>>2];v:{if(t){if((a|0)>(d|0)){break v}break p}if((a|0)>=(d|0)){break p}}b=N[c+24>>2];if(!b){break p}d=N[b+8>>2]-N[c-36>>2]|0;b=d>>31;if((b^d)-b>>>0<17){break p}N[c+8>>2]=a}c=c+44|0;if(r>>>0>c>>>0){continue}break}}}function kd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=U(0),j=0,k=0,l=0,m=U(0),n=0,o=U(0),p=0,q=0,r=0,s=0,t=0,u=U(0),v=U(0),w=0,x=U(0),y=0,z=0,A=0,B=0,D=0,E=0;a:{b:{e=N[a+8>>2];y=N[b+4>>2]-N[b>>2]|0;t=y+1|0;z=N[b+12>>2]-N[b+8>>2]|0;A=z+1|0;B=T(t,A);f=B<<4;if(e>>>0>>0){break b}c:{if(!(+(e>>>0)>=+(f>>>0)*1.3)){N[a+4>>2]=0;break c}e=N[a+4>>2]+1|0;N[a+4>>2]=e;if(e>>>0>9){break b}}C(N[a>>2],0,f);j=N[a>>2];break a}_a(N[a>>2]);j=db(1,f);N[a>>2]=j;N[a+4>>2]=0;N[a+8>>2]=j?f:0}d:{if(j){q=N[b+12>>2];n=N[b+4>>2];D=N[b+8>>2];E=N[b>>2];while(1){k=N[c+20>>2];e:{if((k|0)<(E|0)){break e}d=N[c+24>>2];if((d|0)<(D|0)){break e}s=N[c>>2];if(!s){break e}w=N[c+4>>2];if(!w|(n|0)<((k+s|0)-1|0)|((d+w|0)-1|0)>(q|0)){break e}h=N[c+16>>2];f=(h^-1)&255;if(!f|(w|0)<=0|(s|0)<=0){break e}e=N[c+8>>2];g=(e|0)>(s|0)?e:s;l=k-E|0;o=U(+(f|0)/255);u=U(+(h>>>24>>>0)/255);m=U(+((h>>>8&255)>>>0)/255);i=U(+((h>>>16&255)>>>0)/255);h=N[c+12>>2];r=T(d-D|0,t);d=0;f=0;while(1){k=l+r|0;e=0;while(1){p=(e+k<<4)+j|0;v=U(U(o*U(O[h+(e+f|0)|0]))/U(255));x=U(U(1)-v);R[p+12>>2]=U(R[p+12>>2]*x)+v;R[p>>2]=U(u*v)+U(R[p>>2]*x);R[p+4>>2]=U(i*v)+U(x*R[p+4>>2]);R[p+8>>2]=U(m*v)+U(x*R[p+8>>2]);e=e+1|0;if((s|0)!=(e|0)){continue}break}r=r+t|0;f=f+g|0;d=d+1|0;if((w|0)!=(d|0)){continue}break}}c=N[c+28>>2];if(c){continue}break}e=a+12|0;g=B<<2;h=g>>>0>Q[a+44>>2];l=O[a+48|0];f=h&!l;c=f?e:0;d=l?0:h?0:e;f:{g:{if(O[a+88|0]){break g}e=a+52|0;k=N[a+84>>2];if(k>>>0>=g>>>0){if(!(h|l)&k>>>0>=Q[d+32>>2]){break g}d=e;break g}if(!f|k>>>0>2]){break f}}e=c}h:{i:{if(O[a+128|0]){break i}f=a+92|0;c=N[a+124>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break i}d=f;break i}if(!e|c>>>0>2]){break h}}f=e}j:{k:{if(O[a+168|0]){break k}e=a+132|0;c=N[a+164>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break k}d=e;break k}if(!f|c>>>0>2]){break j}}e=f}l:{m:{if(O[a+208|0]){break m}f=a+172|0;c=N[a+204>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break m}d=f;break m}if(!e|c>>>0>2]){break l}}f=e}n:{o:{if(O[a+248|0]){break o}e=a+212|0;c=N[a+244>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break o}d=e;break o}if(!f|c>>>0>2]){break n}}e=f}p:{q:{if(O[a+288|0]){break q}f=a+252|0;c=N[a+284>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break q}d=f;break q}if(!e|c>>>0>2]){break p}}f=e}r:{s:{if(O[a+328|0]){break s}e=a+292|0;c=N[a+324>>2];if(c>>>0>=g>>>0){if(c>>>0>=Q[d+32>>2]?d:0){break s}d=e;break s}if(!f|c>>>0>2]){break r}}e=f}t:{if(O[a+368|0]){break t}c=a+332|0;a=N[a+364>>2];if(a>>>0>=g>>>0){if(a>>>0>=Q[d+32>>2]?d:0){break d}d=c;break d}if(a>>>0>=Q[e+32>>2]?e:0){break t}e=c}if(d){break d}d=e;if(d){break d}rj(24777);return 0}vd(25084,44,1,588952);return 0}u:{v:{a=N[d+32>>2];if(a>>>0>>0){break v}w:{if(!(+(a>>>0)>=+(g>>>0)*1.3)){N[d+28>>2]=0;break w}a=N[d+28>>2]+1|0;N[d+28>>2]=a;if(a>>>0>9){break v}}C(N[d+24>>2],0,g);n=N[d+24>>2];break u}_a(N[d+24>>2]);n=db(1,g);N[d+24>>2]=n;N[d+28>>2]=0;N[d+32>>2]=n?g:0}if(!n){rj(24825);return 0}L[d+36|0]=1;l=0;if((y|z)>=0){r=0;while(1){g=0;while(1){a=g+l|0;e=a<<2;f=e+n|0;o=R[((a<<4)+j|0)+12>>2];if(o>U(.0035294117406010628)){a=o>2]/o);a=m>2]/o);e=uU(.0035294117406010628)?a?q:255:0);m=U(R[(h|8)+j>>2]/o);c=mU(.0035294117406010628)?e?q<<8:65280:0)|a;i=U(m*U(255));A:{if(U(V(i))U(.0035294117406010628)?c?e<<16:16711680:0)}else{a=0}N[f>>2]=a;a=(g|0)==(y|0);g=g+1|0;if(!a){continue}break}l=l+t|0;a=(r|0)==(z|0);r=r+1|0;if(!a){continue}break}}N[d>>2]=N[b>>2];a=N[b+8>>2];N[d+16>>2]=n;N[d+12>>2]=A;N[d+8>>2]=t;N[d+4>>2]=a;return d}function SD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var 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,t=0;o=La-16|0;La=o;a:{b:{c:{d:{m=N[b>>2];i=aq(m+28|0);a=N[i+4>>2];e:{if((a|0)==65536){b=258}else{if((a|0)!=131072){break e}a=N[i+8>>2];a=O[a|0]|O[a+1|0]<<8;if(!a){break e}b=(a<<8|a>>>8)&65535}k=d;if((k|0)<0){k=nb(c)}if(!k){break e}a=N[i+28>>2];f:{if(a){break f}a=kb(b<<1);g:{h:{if(b){if(!a){break e}f=0;if(b>>>0>=8){h=b&65528;while(1){M[(f<<1)+a>>1]=f;j=f|1;M[(j<<1)+a>>1]=j;j=f|2;M[(j<<1)+a>>1]=j;j=f|3;M[(j<<1)+a>>1]=j;j=f|4;M[(j<<1)+a>>1]=j;j=f|5;M[(j<<1)+a>>1]=j;j=f|6;M[(j<<1)+a>>1]=j;j=f|7;M[(j<<1)+a>>1]=j;f=f+8|0;if((h|0)!=(f|0)){continue}break}}h=b&7;if(h){while(1){M[(f<<1)+a>>1]=f;f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}cj(a,b,i);f=N[i+28>>2];if(!f){break h}_a(a);a=f;break f}if(!a){break e}cj(a,0,i);f=N[i+28>>2];if(f){break g}}N[i+28>>2]=a;break f}_a(a);a=f}f=b-1|0;n=N[i+20>>2];q=N[i+16>>2];r=N[i+24>>2];j=N[i+8>>2];h=0;b=N[i+4>>2];s=(b|0)==131072;t=(b|0)!=65536;while(1){p=f+h|0;i=P[(p&-2)+a>>1];i:{if(!s){g=0;b=0;if(i>>>0>257|t){break i}b=i<<2;g=N[b+267632>>2];b=N[b+267636>>2]+(g^-1)|0;g=g+268668|0;break i}g=0;b=0;l=O[j|0]|O[j+1|0]<<8;if(i>>>0>=((l<<8|l>>>8)&65535)>>>0){break i}b=j+(i<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;l=(b<<8|b>>>8)&65535;if(l>>>0<=257){b=l<<2;g=N[b+267632>>2];b=N[b+267636>>2]+(g^-1)|0;g=g+268668|0;break i}b=0;l=l-258|0;if(l>>>0>=q>>>0){break i}b=N[n+(l<<2)>>2]+r|0;g=b+1|0;b=O[b|0]}if((b|0)!=(k|0)){b=k-b|0}else{b=Mb(c,g,k)}g=p>>>1|0;j:{if((b|0)<0){f=g-1|0;break j}if(!b){break d}h=g+1|0}if((f|0)>=(h|0)){continue}break}}b=0;i=Kg(m- -64|0);if(!N[i+44>>2]|N[i+148>>2]!=-1){break a}if((d|0)<0){d=nb(c)}if(!d){break a}h=N[i+220>>2];if(h){break c}while(1){h=db(12,1);if(!h){N[i+220>>2]=0;break a}k=0;N[h+8>>2]=0;N[h>>2]=0;N[h+4>>2]=0;k:{l:{m:{f=N[i+216>>2];if(f){while(1){n:{o:{p:{q:{a=N[i+52>>2];if((a|0)!=275552){f=$p(a,k,f);break q}f=0;r:{switch(N[i+172>>2]){case 1:if(k>>>0>165){break p}f=P[(k<<1)+265824>>1];break q;case 2:if(k>>>0>86){break p}f=P[(k<<1)+266160>>1];break q;case 0:break r;default:break p}}f=k>>>0<229?k:0;break p}if(f>>>0<=390){break p}gd(o+4|0,N[i+64>>2],f-391|0);a=N[o+4>>2];if(!a){break o}j=N[o+8>>2];break n}g=f<<2;a=N[g+270528>>2];j=N[g+270532>>2]+(a^-1)|0;a=a+272096|0;break n}j=0;a=441572}s:{t:{u:{g=N[h>>2];if((g|0)>=0){n=N[h+4>>2];l=n+1|0;if(l>>>0<=g>>>0){m=N[h+8>>2];break t}while(1){g=((g>>>1|0)+g|0)+8|0;if(l>>>0>=g>>>0){continue}break}if(g>>>0<=268435455){m=$a(N[h+8>>2],g<<4);if(m){break u}}N[h>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;break s}N[h>>2]=g;N[h+8>>2]=m;n=N[h+4>>2];l=n+1|0}N[h+4>>2]=l;g=(n<<4)+m|0;M[g+12>>1]=f;N[g+8>>2]=0;N[g+4>>2]=j;N[g>>2]=a}f=N[i+216>>2];k=k+1|0;if(f>>>0>k>>>0){continue}break m}}f=0;if(!N[i+220>>2]){break l}break k}a=N[h+4>>2];if(a){_p(N[h+8>>2],a)}if(!N[i+220>>2]){break l}f=N[h+8>>2];break k}N[i+220>>2]=h;break c}_a(f);_a(h);h=N[i+220>>2];if(!h){continue}break}break c}N[e>>2]=i;break b}a=N[h+4>>2];if((a|0)<=0){break a}k=N[h+8>>2];f=a-1|0;h=0;v:{while(1){a=f+h>>>1|0;g=k+(a<<4)|0;b=N[g+4>>2];g=bb(c,N[g>>2],b>>>0>d>>>0?d:b);b=g?g:d-b|0;w:{if((b|0)<0){f=a-1|0;break w}if(!b){break v}h=a+1|0}if((f|0)>=(h|0)){continue}break}b=0;break a}a=P[(k+(a<<4)|0)+12>>1];b=N[i+52>>2];x:{y:{z:{if((b|0)!=275552){f=wf(b,a,N[i+216>>2]);break z}f=85;g=164;b=0;A:{switch(N[i+172>>2]){case 0:f=a;if(a>>>0<229){break z}break a;case 1:while(1){B:{c=b+g>>>1|0;d=P[(c<<2)+266336>>1];C:{if(d>>>0>a>>>0){g=c-1|0;break C}if((a|0)==(d|0)){break B}b=c+1|0}if((b|0)<=(g|0)){continue}break y}break};f=O[(c<<2)+266338|0];break z;case 2:break A;default:break y}}while(1){D:{c=b+f>>>1|0;d=P[(c<<2)+267008>>1];E:{if(d>>>0>a>>>0){f=c-1|0;break E}if((a|0)==(d|0)){break D}b=c+1|0}if((b|0)<=(f|0)){continue}break y}break}f=O[(c<<2)+267010|0]}if(f){break x}}f=0;b=0;if(a){break a}}N[e>>2]=f}b=1}La=o+16|0;return b|0}function Yq(a,b){a=a|0;b=b|0;var 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;i=275552;c=N[N[N[a+92>>2]+144>>2]>>2];c=c?c:275552;h=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[h|0]|O[h+1|0]<<8)!=256){break a}d=275552;c=O[h+8|0]|O[h+9|0]<<8;if(c){d=h+((c<<8|c>>>8)&65535)|0}c=O[d|0]|O[d+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break a}i=((c<<8|c>>>8)&65535)+d|0}p=N[a+136>>2];N[a+136>>2]=b;b=O[i+2|0]|O[i+3|0]<<8;b=b<<8|b>>>8;d=b&65535;l=N[a+140>>2];if(b&16){b=O[i+4|0]|O[i+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+i|0;b=O[b+6|0]|O[b+7|0]<<8;d=b<<24|b<<8&16711680|d}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;j=O[a+150|0];L[a+21|0]=j;c=N[a+132>>2];N[a+16>>2]=c;N[a+72>>2]=0;N[a+48>>2]=a;b=O[a+151|0];L[a+22|0]=b;h=a- -64|0;N[h>>2]=0;N[h+4>>2]=0;N[a+52>>2]=d;g=N[a+84>>2];h=(g|0)==1;L[a+20|0]=h;d=O[a+149|0];L[a+61|0]=1;L[a+60|0]=h|(d|0)!=0;N[a+56>>2]=-1;L[a+62|0]=b;e=O[i+4|0]|O[i+5|0]<<8;if(e){b=O[i|0]|O[i+1|0]<<8;h=(b<<8|b>>>8)&65535;m=i+4|0;n=(e<<8|e>>>8)&65535;q=n>>>0<=1?1:n;b=0;o=1;while(1){c=O[m|0]|O[m+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+m|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+i|0}else{c=275552}d=h;b:{while(1){c:{g=0;if((d|0)!=7){d:{switch(d-1|0){case 0:e:{f:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break e;case 0:break f;default:break b}}g=gk(c,a);break b}g=fk(c,a);break b;case 1:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];d=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)==-1){break b}e=((d<<1)+c|0)+6|0;f=d;d=O[c+4|0]|O[c+5|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:e;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+c|0}else{d=275552}lk(d,a);g=1;break b;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];d=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)==-1){break b}e=((d<<1)+c|0)+6|0;f=d;d=O[c+4|0]|O[c+5|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:e;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+c|0}else{d=275552}g=kk(d,a);break b;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+c|0}else{f=275552}d=N[a+96>>2];e=vb(f,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((e|0)==-1){break b}d=275552;k=((e<<1)+c|0)+6|0;f=e;e=O[c+4|0]|O[c+5|0]<<8;e=f>>>0>=((e<<8|e>>>8)&65535)>>>0?275552:k;e=O[e|0]|O[e+1|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+c|0}c=O[d|0]|O[d+1|0]<<8;if(!c){break b}k=(c<<8|c>>>8)&65535;j=k>>>0<=1?1:k;c=0;g=1;while(1){e=O[d|0]|O[d+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=c>>>0?275552:((c<<1)+d|0)+2|0;e=O[e|0]|O[e+1|0]<<8;if(e){f=((e<<8|e>>>8)&65535)+d|0}else{f=275552}if(jk(f,a)){break b}c=c+1|0;g=k>>>0>c>>>0;if((c|0)!=(j|0)){continue}break};break b;case 4:g=Kj(c,a);break b;case 7:break c;case 5:break d;default:break b}}g:{h:{i:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break g;case 1:break h;case 0:break i;default:break b}}g=Jj(a,c);break b}g=Lf(c,a,0);break b}g=ah(c,a);break b}if((O[c|0]|O[c+1|0]<<8)!=256){break b}d=O[c+2|0]|O[c+3|0]<<8;d=(d<<8|d>>>8)&65535;e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}continue}break}if((O[c|0]|O[c+1|0]<<8)!=256){break b}g=ik(c,a)}if(!(g&1)){b=b+1|0;o=n>>>0>b>>>0;if((b|0)!=(q|0)){continue}}break}d=O[a+149|0];c=N[a+132>>2];j=O[a+150|0];g=N[a+84>>2];b=O[a+151|0]}N[a+140>>2]=l;N[a+136>>2]=p;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;L[a+21|0]=j;N[a+12>>2]=l;N[a+72>>2]=0;L[a+22|0]=b;N[a+16>>2]=c;N[a+64>>2]=0;N[a+68>>2]=0;L[a+61|0]=1;N[a+52>>2]=l;L[a+62|0]=b;N[a+56>>2]=-1;b=(g|0)==1;L[a+20|0]=b;L[a+60|0]=b|(d&255)!=0;N[a+8>>2]=a;N[a+48>>2]=a;return o|0}function to(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0;j=La+-64|0;La=j;a:{b:{if(!N[b+20>>2]){break b}c:{if(!(d>.001|e>.001)){break c}uo(j+40|0,d);d:{if(d==e){f=N[j+60>>2];N[j+32>>2]=N[j+56>>2];N[j+36>>2]=f;f=N[j+52>>2];N[j+24>>2]=N[j+48>>2];N[j+28>>2]=f;f=N[j+44>>2];N[j+16>>2]=N[j+40>>2];N[j+20>>2]=f;break d}uo(j+16|0,e)}h=N[b+12>>2];q=N[j+20>>2];k=N[j+16>>2];p=((h+((q<<1)+9<>2]-1|0;f=1<>31;i=N[b+8>>2];s=N[j+44>>2];n=N[j+40>>2];v=(i+((s<<1)+9<>>0>m>>>0?g+1|0:g;f=0-f|0;f=UE(p,0,f&m-1,g-!m&f>>31);g=Pa;if(!g&f>>>0>536870911|g){break c}m=f<<2;g=2<>>0>=-5-g>>>0){break c}m=kb((g+m|0)+3|0);if(!m){break c}t=g;u=g-1|0;g=m+4|0;r=u&g;g=(r?t-r|0:0)+g|0;r=g-4|0;N[r>>2]=m;if(!g){break c}Qa[N[a+40>>2]](g,N[b+20>>2],N[b+16>>2],i,h);f=g+(f<<1)|0;N[j+12>>2]=f;N[j+8>>2]=g;e:{if((k|0)<=0){f=g;break e}f:{if((k|0)==1){break f}m=k&1;k=k&-2;while(1){Qa[N[a+52>>2]](f,g,i,h);h=h+5>>>1|0;Qa[N[a+52>>2]](g,f,i,h);h=h+5>>>1|0;l=l+2|0;if((k|0)!=(l|0)){continue}break}l=0;if(m){break f}f=g;break e}Qa[N[a+52>>2]](f,g,i,h);l=1;h=h+5>>>1|0}g:{if((n|0)<=0){break g}h:{if((n|0)==1){g=l^1;break h}m=n&1;w=n&-2;g=j+8|0;u=g+(l<<2)|0;t=g;g=l^1;n=N[t+(g<<2)>>2];k=0;while(1){Qa[N[a+48>>2]](n,f,i,h);f=N[u>>2];i=i+5>>>1|0;Qa[N[a+48>>2]](f,n,i,h);i=i+5>>>1|0;k=k+2|0;if((w|0)!=(k|0)){continue}break}if(!m){break g}}Qa[N[a+48>>2]](N[(j+8|0)+(g<<2)>>2],f,i,h);i=i+5>>>1|0;l=g}f=s-4|0;if(f>>>0>=5){ba(21483,18088,210,11853);B()}g=j+8|0;k=N[g+((l^1)<<2)>>2];g=N[g+(l<<2)>>2];Qa[N[((f<<2)+a|0)- -64>>2]](k,g,i,h,j+48|0);i:{f=q-4|0;if(f>>>0<5){i=(N[j+44>>2]<<1)+i|0;Qa[N[((f<<2)+a|0)+84>>2]](g,k,i,h,j+24|0);h=(N[j+20>>2]<<1)+h|0;if(N[j+40>>2]<=0){f=g;break i}k=0;while(1){l=l^1;f=N[(j+8|0)+(l<<2)>>2];Qa[N[a+56>>2]](f,g,i,h);i=(i<<1)+4|0;g=f;k=k+1|0;if((k|0)>2]){continue}break}break i}ba(21442,18088,214,11853);B()}k=N[j+16>>2];if((k|0)>0){g=0;while(1){l=l^1;k=N[(j+8|0)+(l<<2)>>2];Qa[N[a+60>>2]](k,f,i,h);h=(h<<1)+4|0;f=k;g=g+1|0;k=N[j+16>>2];if((g|0)<(k|0)){continue}break}}if((i|0)!=(o|0)|(h|0)!=(p|0)){break a}f=1<>2];g=0-f|0;h=g>>>0>>0?o:g&(f+v|0)-5;j:{if(h>>>0>((f^2147483647)>>>0)/(((p|0)<=1?1:p)>>>0)>>>0){break j}i=f+T(h,p)|0;if(i>>>0>=-5-f>>>0){break j}g=N[b+20>>2];n=kb((f+i|0)+3|0);if(!n){break j}t=f;u=f-1|0;f=n+4|0;i=u&f;i=(i?t-i|0:0)+f|0;N[i-4>>2]=n;if(!i){break j}N[b+20>>2]=i;N[b+16>>2]=h;N[b+12>>2]=p;N[b+8>>2]=o;if(g){_a(N[g-4>>2]);i=N[b+20>>2];k=N[j+16>>2];h=N[b+16>>2]}N[b>>2]=(N[b>>2]+(-4-N[j+44>>2]<>2])|0)+4;N[b+4>>2]=(N[b+4>>2]+(-4-N[j+20>>2]<>2]](i,h,N[(j+8|0)+(l<<2)>>2],o,p)}_a(N[r>>2])}if(!c){break b}i=N[b+16>>2];g=i<<2;f=1<>2];if(g>>>0>=-5-f>>>0){break b}g=kb((f+g|0)+3|0);if(!g){break b}t=f;l=f-1|0;f=g+4|0;h=l&f;o=(h?t-h|0:0)+f|0;n=o-4|0;N[n>>2]=g;if(!o){break b}g=N[b+20>>2];l=N[b+12>>2];f=N[b+8>>2];h=c-1|0;k:{if(!h){break k}k=0;m=(f|0)>0&(l|0)>0;if(m){q=f&-2;r=f&1;while(1){p=T(i,k);b=0;l:{if((f|0)!=1){while(1){s=g+(b+p|0)|0;L[s|0]=(O[s|0]>>>1|0)+1>>>1;s=g+(p+(b|1)|0)|0;L[s|0]=(O[s|0]>>>1|0)+1>>>1;b=b+2|0;if((q|0)!=(b|0)){continue}break}if(!r){break l}}b=g+(b+p|0)|0;L[b|0]=(O[b|0]>>>1|0)+1>>>1}k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(h&1){Qa[N[a+36>>2]](g,i,f,l,o);h=c-2|0}if((c|0)!=2){while(1){Qa[N[a+36>>2]](g,i,f,l,o);Qa[N[a+36>>2]](g,i,f,l,o);h=h-2|0;if(h){continue}break}}if(!m){break k}p=f&-2;m=f&1;k=0;while(1){c=T(i,k);b=0;h=0;m:{if((f|0)!=1){while(1){q=g+(b+c|0)|0;h=O[q|0];L[q|0]=(h<<2)-(h>>>0>32);q=g+(c+(b|1)|0)|0;h=O[q|0];L[q|0]=(h<<2)-(h>>>0>32);b=b+2|0;if((p|0)!=(b|0)){continue}break}h=b;if(!m){break m}}c=g+(c+h|0)|0;b=O[c|0];L[c|0]=(b<<2)-(b>>>0>32)}k=k+1|0;if((l|0)!=(k|0)){continue}break}}Qa[N[a+36>>2]](g,i,f,l,o);_a(N[n>>2])}La=j- -64|0;return}ba(14404,18088,228,11853);B()}function Lg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a+20>>2]=0;N[a+24>>2]=0;if(N[b+32>>2]==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[b+32>>2]=(c<<8|c>>>8)&65535}c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1986884728,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}if(N[c+16>>2]<0){break b}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+20>>2]=c;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];d:{if(c){g=Qa[c|0](b,1448493394,N[b+16>>2])|0;if(g){break d}}g=275552}c=N[g>>2];if(c){if((c|0)<=0){break c}N[g>>2]=c+1}L[e+28|0]=0;N[e+36>>2]=g;c=N[g+12>>2];N[e+8>>2]=c;d=N[g+16>>2];N[e+12>>2]=d+c;if((d|0)<0){break b}N[e+32>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[e+16>>2]=d;N[e+24>>2]=0;N[e+4>>2]=0;d=g;e:{f:{if(!c){break f}g:{h:{i:{j:{k:{l:{m:{if(!Je(c,e+4|0)){break m}d=c+20|0;if(d>>>0>2]){break m}f=N[e+12>>2];if(f>>>0>>0|f-d>>>0<4){break m}f=N[e+16>>2]-4|0;N[e+16>>2]=f;if((f|0)<=0){break m}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break i}if(d&128){break m}if(Ed((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0,e+4|0)){break i}d=N[e+32>>2];if(d>>>0>31){break l}N[e+32>>2]=d+1;if(!O[e+28|0]){break k}break j}if(O[e+28|0]|!N[e+32>>2]){break h}break k}if(!O[e+28|0]){break k}break h}if(!zb(g)){break h}while(1){L[e+28|0]=1;d=N[e+36>>2];c=N[d+12>>2];N[e+8>>2]=c;f=N[d+16>>2];N[e+12>>2]=f+c;if((f|0)<0){break b}N[e+32>>2]=0;if(f>>>0>67108863){h=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;h=f>>>0>=1073741823?1073741823:f}N[e+16>>2]=h;N[e+24>>2]=0;N[e+4>>2]=0;if(!c){break f}n:{o:{p:{if(!Je(c,e+4|0)){break p}d=c+20|0;if(d>>>0>2]){break p}f=N[e+12>>2];if(f>>>0>>0|f-d>>>0<4){break p}f=N[e+16>>2]-4|0;N[e+16>>2]=f;if((f|0)<=0){break p}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!d){break i}if(d&128){break p}if(Ed((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0,e+4|0)){break i}d=N[e+32>>2];if(d>>>0>31){break o}N[e+32>>2]=d+1;if(!O[e+28|0]){break n}break j}if(!N[e+32>>2]){break h}if(!O[e+28|0]){break n}break h}if(O[e+28|0]){break h}}c=zb(g);N[e+8>>2]=c;N[e+12>>2]=c+N[g+16>>2];if(c){continue}break}break h}L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0}q:{if(N[e+32>>2]){f=0;N[e+32>>2]=0;r:{if(!Je(c,e+4|0)){break r}d=c+20|0;if(d>>>0>2]){break r}h=N[e+12>>2];if(h>>>0>>0|h-d>>>0<4){break r}h=N[e+16>>2]-4|0;N[e+16>>2]=h;if((h|0)<=0){break r}h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(!h){f=1;break r}if(h&128){break r}f=1;if(Ed((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+c|0,e+4|0)){break r}c=N[e+32>>2];if(c>>>0>31){break h}N[e+32>>2]=c+1;if(!O[e+28|0]){break h}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}if(N[e+32>>2]){break h}ab(N[e+36>>2]);if(f){break q}break g}ab(N[e+36>>2])}if(!N[g+4>>2]){break e}N[g+4>>2]=0;break e}ab(N[e+36>>2])}ab(g);g=275552;break e}ab(d)}N[a+24>>2]=g;c=N[b+28>>2];if(!c){c=ae(b+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;c=c-16>>>0>=16369?1e3:c;N[b+28>>2]=c}N[a+16>>2]=c;c=N[a+20>>2];d=N[(c?c:275552)+16>>2];c=xc(b+92|0);c=O[c+34|0]|O[c+35|0]<<8;c=(c<<8|c>>>8)&65535;f=c<<2;g=d&-2;if(f>>>0>g>>>0){f=d&-4;c=d>>>2|0}N[a>>2]=c;h=b+56|0;c=sb(h);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[a+4>>2]=c;f=g-f|0;g=N[a>>2];d=g;s:{if(d>>>0<=c>>>0){if(f>>>0>=c-g<<1>>>0){break s}d=g+(f>>>1|0)|0}N[a+4>>2]=d;c=d}if(g){d=c}else{N[a>>2]=0;N[a+4>>2]=0;d=0}c=d+((g+(f>>>1|0)|0)-c&2147483647)|0;N[a+8>>2]=c;g=N[b+32>>2];if((g|0)==-1){d=b;b=sb(h);b=O[b+4|0]|O[b+5|0]<<8;g=(b<<8|b>>>8)&65535;N[d+32>>2]=g;c=N[a+8>>2]}N[a+12>>2]=c>>>0>>0?g:c;La=e+48|0;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function Cc(a,b){var 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;e=N[a+44>>2];a:{if(N[a+24>>2]|!e){break a}N[a+44>>2]=N[e+32>>2];h=N[a+4>>2];N[e+32>>2]=0;N[e+4>>2]=h;b:{c:{d:{g=N[e>>2];if(h>>>0>=g>>>0){m=N[a+16>>2];N[a+16>>2]=0;N[a+4>>2]=m?m:g;if((g|0)==(h|0)){if(N[e+12>>2]){break d}if(!N[e+24>>2]){break a}ba(13913,14296,357,13772);B()}j=h-g|0;if(!b){break b}if(j>>>0<=3){break c}d=4;while(1){c=f+g|0;i=T(i,31)+(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))|0;c=d;f=c;d=c+4|0;if(j>>>0>=d>>>0){continue}break}break c}ba(13248,14296,348,13772);B()}ba(13940,14296,356,13772);B()}e:{if(c>>>0>=j>>>0){break e}k=(h+(c^-1)|0)-g|0;h=j&3;if(h){d=0;f=c;while(1){i=L[f+g|0]+T(i,31)|0;f=f+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}c=c|h}if(k>>>0<3){break e}while(1){d=c+g|0;i=T(T(T(L[d|0]+T(i,31)|0,31)+L[d+1|0]|0,31)+L[d+2|0]|0,31)+L[d+3|0]|0;c=c+4|0;if((j|0)!=(c|0)){continue}break}}h=N[e+16>>2];c=0;l=N[e+12>>2];k=T(l,12);f:{if(!k){f=0;break f}d=4;f=0;while(1){c=c+h|0;f=T(f,31)+(O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24))|0;c=d;d=c+4|0;if(k>>>0>=d>>>0){continue}break}if(c>>>0>=k>>>0){break f}while(1){f=L[h+(c|3)|0]+T(L[h+(c|2)|0]+T(L[h+(c|1)|0]+T(L[c+h|0]+T(f,31)|0,31)|0,31)|0,31)|0;c=c+4|0;if((k|0)!=(c|0)){continue}break}}i=f^i;c=275552;g:{if(!N[a+88>>2]){break g}f=Bf(a+60|0,e,i);if((N[f+4>>2]&-1073741824)!=1073741824){break g}d=N[f>>2];o=N[d+4>>2];n=N[d>>2];if((j|0)!=(o-n|0)|N[d+12>>2]!=(l|0)){break g}if((n|0)!=(o|0)){if(Mb(n,g,j)){break g}}if(k){if(Mb(N[d+16>>2],h,k)){break g}}c=f+8|0}h=N[c>>2];if(!h){break b}h:{if(h>>>0>=Q[a+52>>2]){N[147456]=0;a=589824;break h}a=N[a+56>>2]+(h<<2)|0}d=N[e+24>>2];i:{if(!d){break i}c=N[e+28>>2];j=c+T(d,12)|0;b=N[a>>2];f=N[b+20>>2];if((f|0)<0){b=T(d,12)-12|0;a=((b>>>0)/12|0)+1&3;if(a){d=T(a,12);i=0;while(1){N[147456]=0;N[147457]=0;N[147458]=0;i=i+1|0;if((a|0)!=(i|0)){continue}break}c=c+d|0}if(b>>>0<36){break i}while(1){N[147456]=0;N[147457]=0;N[147458]=0;c=c+48|0;if((j|0)!=(c|0)){continue}break}break i}while(1){j:{k:{l:{if((f|0)>=0){g=N[b+24>>2];d=g+1|0;if(d>>>0<=f>>>0){a=N[b+28>>2];break k}while(1){f=((f>>>1|0)+f|0)+8|0;if(d>>>0>=f>>>0){continue}break}if(f>>>0<=357913941){a=$a(N[b+28>>2],T(f,12));if(a){break l}}N[b+20>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;break j}N[b+20>>2]=f;N[b+28>>2]=a;g=N[b+24>>2];d=g+1|0}N[b+24>>2]=d;d=N[c+4>>2];a=T(g,12)+a|0;N[a>>2]=N[c>>2];N[a+4>>2]=d;N[a+8>>2]=N[c+8>>2]}c=c+12|0;if((j|0)!=(c|0)){f=N[b+20>>2];continue}break}l=N[e+12>>2]}if(l){N[e+12>>2]=0}_a(N[e+16>>2]);N[e+16>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;if(N[e+24>>2]){N[e+24>>2]=0}_a(N[e+28>>2]);N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;return h}c=N[a+8>>2]-j|0;N[a+8>>2]=c;m:{if(m){if((c|0)==(g|0)){break m}ba(16968,14296,377,13772);B()}F(c,g,j);g=N[a+8>>2]}N[e>>2]=g;N[e+4>>2]=g+j;n:{o:{p:{q:{r:{c=N[a+48>>2];if((c|0)>=0){d=N[a+52>>2];f=d+1|0;if(f>>>0<=c>>>0){break q}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){g=$a(N[a+56>>2],c<<2);if(g){break r}}N[a+48>>2]=-1}N[147456]=0;if(N[a+24>>2]){break o}N[a+24>>2]=1;break o}N[a+48>>2]=c;N[a+56>>2]=g;d=N[a+52>>2];f=d+1|0;break p}g=N[a+56>>2]}N[a+52>>2]=f;N[(d<<2)+g>>2]=e;if(!N[a+24>>2]){break n}}if(N[e+12>>2]){N[e+12>>2]=0}_a(N[e+16>>2]);N[e+16>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;if(N[e+24>>2]){N[e+24>>2]=0}_a(N[e+28>>2]);N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;return 0}c=N[a+52>>2]-1|0;s:{if(!b|!(L[a+72|0]&1)){break s}b=a+60|0;d=N[a+76>>2];if(Q[a+80>>2]<=(d>>>1|0)+d>>>0){if(!Qg(b)){break s}}b=Bf(b,e,i);t:{if(!(O[b+7|0]&64)){break t}N[a+76>>2]=N[a+76>>2]-1;if(N[b+4>>2]<0){break t}N[a+72>>2]=N[a+72>>2]-2}N[b+8>>2]=c;N[b>>2]=e;N[b+4>>2]=i&1073741823|1073741824;N[a+76>>2]=N[a+76>>2]+1;N[a+72>>2]=N[a+72>>2]+2}if(N[a+24>>2]|N[a+72>>2]&1){break a}N[a+24>>2]=1}return c}function pB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;i=La-2192|0;La=i;C(i+144|0,0,2048);C(i- -64|0,0,68);a:{b:{c:{if(d){y=T(d,40)+c|0;while(1){d=N[c+32>>2];if(d>>>0>=2048){break c}j=N[c+36>>2];if(j-1>>>0>=2048){break b}if(d>>>0>j>>>0){break a}l=i- -64|0;k=d>>>6|0;p=k+1|0;f=l+(p<<1)|0;s=f;x=P[f>>1];h=N[c+20>>2];f=h<<2&4;g=N[c+24>>2]?f:h&4?f^4:f;h=h&2;m=h?g:f;n=d&63;M[s>>1]=x-T(m,n);o=l+(k<<1)|0;M[o>>1]=P[o>>1]+T(m,n|65472);u=j>>>6|0;l=l+(u<<1)|0;f=h?f:g;q=j&63;M[l+2>>1]=P[l+2>>1]+T(f,q);M[l>>1]=P[l>>1]+T(f,64-q|0);d:{if((d|0)==(j|0)){break d}f=N[c>>2];o=N[c+4>>2];g=N[c+12>>2];s=g>>31;j=N[c+16>>2];d=N[c+8>>2];M[i>>1]=0;m=j>>31;UE(j,m,d,d>>31);l=Pa+262144|0;d=l>>31;h=l>>19;l=d;M[i+2>>1]=h;M[i+62>>1]=T(h,31);M[i+60>>1]=T(h,30);M[i+58>>1]=T(h,29);M[i+56>>1]=T(h,28);M[i+54>>1]=T(h,27);M[i+52>>1]=T(h,26);M[i+50>>1]=T(h,25);M[i+48>>1]=T(h,24);M[i+46>>1]=T(h,23);M[i+44>>1]=T(h,22);M[i+42>>1]=T(h,21);M[i+40>>1]=T(h,20);M[i+38>>1]=T(h,19);M[i+36>>1]=T(h,18);M[i+34>>1]=T(h,17);M[i+32>>1]=h<<4;M[i+30>>1]=T(h,15);M[i+28>>1]=T(h,14);M[i+26>>1]=T(h,13);M[i+24>>1]=T(h,12);M[i+22>>1]=T(h,11);M[i+20>>1]=T(h,10);M[i+18>>1]=T(h,9);M[i+16>>1]=h<<3;M[i+14>>1]=T(h,7);M[i+12>>1]=T(h,6);M[i+10>>1]=T(h,5);M[i+8>>1]=h<<2;M[i+6>>1]=T(h,3);M[i+4>>1]=h<<1;UE(j,m,g,s);g=Pa+262144|0;s=g;t=g>>19;d=t>>31;v=(d^t)-d|0;d=h>>31;r=(d^h)-d|0;d=o<<20|f>>>12;g=d>>31;UE(j,m,d,g);j=Pa+4096>>>13|0;f=(l&1)<<31|h>>>1;d=f+T(k,t)|0;d=j-d|0;j=d;e:{if(!n){p=k;break e}h=(i+144|0)+(k<<6)|0;if((k|0)==(u|0)){d=q-n|0;f=(d<<3)-r|0;f=((f<<16>>31&f)<<5)+16384<<16>>16;l=T(t,n+q|0)<<9>>16;k=T(d,v)<<10>>16;k=(((k|0)<(r|0)?k:r)<<14)+32768>>16;p=d-(T(f,l-k|0)>>>16|0)|0;l=d-(T(f,l+k|0)>>>16|0)|0;d=d<<1;k=j<<16>>16;j=0;while(1){g=j<<1;m=g+h|0;n=m;s=P[m>>1];g=T(f,k-M[i+g>>1]|0)>>16;m=g+l<<16>>16;m=(m|0)>0?m:0;g=g+p<<16>>16;g=(g|0)>0?g:0;M[n>>1]=s+(((d|0)>(m|0)?m:d)+((d|0)>(g|0)?g:d)|0);j=j+1|0;if((j|0)!=32){continue}break}break d}f=64-n|0;l=(f<<3)-r|0;l=((l<<16>>31&l)<<5)+16384<<16>>16;k=T(t,n<<9|32768)>>16;g=T(f,v)>>>6&65535;g=(((g|0)<(r|0)?g:r)<<14)+32768>>>16|0;m=f-(T(l,k-g|0)>>>16|0)|0;k=f-(T(l,g+k|0)>>>16|0)|0;f=f<<1;g=j<<16>>16;j=0;while(1){o=j<<1;n=o+h|0;x=n;z=P[n>>1];o=T(l,g-M[i+o>>1]|0)>>16;n=o+k<<16>>16;n=(n|0)>0?n:0;o=m+o<<16>>16;o=(o|0)>0?o:0;M[x>>1]=z+(((f|0)>(n|0)?n:f)+((f|0)>(o|0)?o:f)|0);j=j+1|0;if((j|0)!=32){continue}break}j=d-t|0}if((p|0)<(u|0)){d=256-(s>>20)|0;f=((r>>>0>>0?r:v)<<14)+32768>>>16|0;l=d-f|0;f=d+f|0;while(1){h=j&65535;d=0;while(1){k=d<<1;g=k+((i+144|0)+(p<<6)|0)|0;m=g;n=P[g>>1];k=h-P[i+k>>1]|0;g=k+f<<16>>16;g=(g|0)>0?g:0;k=l+k<<16>>16;k=(k|0)>0?k:0;M[m>>1]=n+((g>>>0>=512?512:g)+(k>>>0>=512?512:k)>>>2|0);d=d+1|0;if((d|0)!=32){continue}break}j=j-t|0;p=p+1|0;if((u|0)!=(p|0)){continue}break}}if(!q){break d}d=T(q,t)<<9>>16;f=T(q,v)>>>6&65535;l=(((f|0)<(r|0)?f:r)<<14)+32768>>>16|0;f=(q<<3)-r|0;f=((f<<16>>31&f)<<5)+16384<<16>>16;h=q-(T(d-l|0,f)>>>16|0)|0;l=q-(T(f,d+l|0)>>>16|0)|0;d=q<<1;k=(i+144|0)+(u<<6)|0;p=j<<16>>16;j=0;while(1){g=j<<1;m=g+k|0;n=m;s=P[m>>1];g=T(f,p-M[i+g>>1]|0)>>16;m=g+l<<16>>16;m=(m|0)>0?m:0;g=h+g<<16>>16;g=(g|0)>0?g:0;M[n>>1]=s+(((d|0)>(m|0)?m:d)+((d|0)>(g|0)?g:d)|0);j=j+1|0;if((j|0)!=32){continue}break}}c=c+40|0;if((y|0)!=(c|0)){continue}break}}j=e<<8;while(1){j=P[(i- -64|0)+(w<<1)>>1]+j|0;d=0;while(1){e=(i+144|0)+(w<<6)|0;f=P[e+(d<<1)>>1]+j|0;c=f<<16>>31;c=(c^f)-c<<16>>16;L[a+d|0]=(c|0)>=255?255:c;f=d|1;e=P[e+(f<<1)>>1]+j|0;c=e<<16>>31;c=(c^e)-c<<16>>16;L[a+f|0]=(c|0)>=255?255:c;d=d+2|0;if((d|0)!=32){continue}break}a=a+b|0;w=w+1|0;if((w|0)!=32){continue}break}La=i+2192|0;return}ba(19659,14460,146,17908);B()}ba(19608,14460,147,17908);B()}ba(8129,14460,148,17908);B()}function Um(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;h=La-16|0;La=h;k=N[a+28>>2];g=N[a+20>>2];a:{b:{if(g){e=85;if(Qa[g|0](a,c,0,0)|0){break a}f=N[a+4>>2];break b}e=85;f=N[a+4>>2];if(f>>>0>>0){break a}}N[a+8>>2]=c;if(c+1>>>0>=f>>>0){break a}c:{d:{g=N[a+20>>2];e:{if(g){if((Qa[g|0](a,c,h+12|0,2)|0)!=2){break a}e=h+12|0;g=N[a+8>>2];break e}g=N[a>>2];if(!g){break d}e=c+g|0;g=c}f=O[e|0]|O[e+1|0]<<8;i=g+2|0;N[a+8>>2]=i;e=8;if(((f<<8|f>>>8)&65535)!=1){break a}f:{g:{h:{if(Q[a+4>>2]<=g+5>>>0){break h}g=N[a+20>>2];i:{if(g){if((Qa[g|0](a,i,h+12|0,4)|0)!=4){break h}i=N[a+8>>2];g=h+12|0;break i}g=N[a>>2];if(!g){break g}g=g+i|0}g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);break f}e=85;break a}g=0}f=i+4|0;N[a+8>>2]=f;N[h+8>>2]=0;j:{if(Q[a+4>>2]<=i+5>>>0){break j}i=N[a+20>>2];if(i){if((Qa[i|0](a,f,h+12|0,2)|0)!=2){break j}f=N[a+8>>2];e=h+12|0;break c}i=N[a>>2];if(i){e=f+i|0;break c}N[a+8>>2]=f+2;N[d>>2]=0;break a}N[d>>2]=0;e=85;break a}N[a+8>>2]=c+2;e=8;break a}i=O[e|0]|O[e+1|0]<<8;N[a+8>>2]=f+2;e=8;f=(i<<8|i>>>8)&65535;N[d>>2]=f;if(!f){break a}i=0;m=lb(k,4,0,f,0,h+8|0);k:{l:{e=N[h+8>>2];m:{if(e){break m}if(N[d>>2]){while(1){e=N[a+8>>2];if(Q[a+4>>2]<=e+3>>>0){break l}n:{o:{f=N[a+20>>2];p:{if(f){if((Qa[f|0](a,e,h+12|0,4)|0)!=4){break l}e=N[a+8>>2];f=h+12|0;break p}f=N[a>>2];if(!f){break o}f=e+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break n}f=0}N[a+8>>2]=e+4;N[(i<<2)+m>>2]=f;i=i+1|0;if(i>>>0>2]){continue}break}}f=c+g|0;g=N[a+20>>2];q:{if(g){e=85;if(!(Qa[g|0](a,f,0,0)|0)){break q}break m}e=85;if(f>>>0>Q[a+4>>2]){break m}}N[a+8>>2]=f;N[h+8>>2]=0;o=d,p=xb(a,h+8|0),M[o+8>>1]=p;e=N[h+8>>2];if(e){break m}g=xb(a,h+8|0);N[d+12>>2]=g;e=N[h+8>>2];if(e){break m}e=8;if(N[N[b+12>>2]>>2]!=P[d+8>>1]|g<<16>>16<0){break m}o=d,p=lb(k,4,0,g,0,h+8|0),N[o+16>>2]=p;e=N[h+8>>2];if(e){break m}if(N[d+12>>2]){e=P[d+8>>1];b=0;while(1){n=lb(k,12,0,e&65535,0,h+8|0);N[N[d+16>>2]+(b<<2)>>2]=n;e=N[h+8>>2];if(e){break m}e=0;if(P[d+8>>1]){f=0;while(1){l=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}i=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}g=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}j=n+T(f,12)|0;N[j+8>>2]=g<<16>>16<<2;N[j+4>>2]=i<<16>>16<<2;N[j>>2]=l<<16>>16<<2;f=f+1|0;e=P[d+8>>1];if(f>>>0>>0){continue}break}}b=b+1|0;if(b>>>0>2]){continue}break}}l=0;o=d,p=lb(k,16,0,N[d>>2],0,h+8|0),N[o+4>>2]=p;e=N[h+8>>2];if(e){break m}if(!N[d>>2]){e=0;break m}while(1){g=N[d+4>>2];f=N[(l<<2)+m>>2]+c|0;r:{b=N[a+20>>2];if(b){if(!(Qa[b|0](a,f,0,0)|0)){break r}e=85;break k}if(f>>>0<=Q[a+4>>2]){break r}e=85;break k}N[a+8>>2]=f;N[h+8>>2]=0;j=g+(l<<4)|0;o=j,p=xb(a,h+8|0),N[o>>2]=p;e=N[h+8>>2];if(e){break k}g=xb(a,h+8|0);e=N[h+8>>2];if(e){break k}b=xb(a,h+8|0);N[j+4>>2]=b;e=N[h+8>>2];if(e){break k}e=8;if(b>>>0>>0|b>>>0>Q[d+12>>2]){break k}o=j,p=lb(k,4,0,b,0,h+8|0),N[o+8>>2]=p;e=N[h+8>>2];if(e){break k}f=0;s:{if(!N[j+4>>2]){e=0;break s}while(1){b=xb(a,h+8|0);N[N[j+8>>2]+(f<<2)>>2]=b;e=N[h+8>>2];if(e){break m}if(b>>>0>2]){f=f+1|0;e=N[j+4>>2];if(f>>>0>=e>>>0){break s}continue}break}e=8;break m}o=j,p=lb(k,2,0,T(N[j>>2],e),0,h+8|0),N[o+12>>2]=p;e=N[h+8>>2];if(e){break m}e=N[j+4>>2];if(T(e,N[j>>2])){f=0;while(1){if(g){b=f+g|0;while(1){i=xb(a,h+8|0);e=N[h+8>>2];if(e){break m}M[N[j+12>>2]+(f<<1)>>1]=i;f=f+1|0;if((b|0)!=(f|0)){continue}break}e=N[j+4>>2];f=b}b=g;if(e>>>0>g>>>0){while(1){i=Pd(a,h+8|0);e=N[h+8>>2];if(e){break m}M[N[j+12>>2]+(f<<1)>>1]=i;f=f+1|0;b=b+1|0;e=N[j+4>>2];if(b>>>0>>0){continue}break}}if(T(N[j>>2],e)>>>0>f>>>0){continue}break}}e=0;l=l+1|0;if(l>>>0>2]){continue}break}}if(!m){break a}break k}N[(i<<2)+m>>2]=0;e=85}Qa[N[k+8>>2]](k,m)}La=h+16|0;return e}function Di(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;p=La-32|0;La=p;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!((d|0)<=0|(e|0)<=0)){n=N[h+4>>2];u=N[h>>2];t=n+u|0;z=(g<<2)+b|0;l=N[z+28>>2];if(t>>>0>l>>>0){break i}q=N[a+4>>2];j=-1<>2];y=l-t|0;m=w+T(y,40)|0;x=N[i>>2];j=10;r=10;j:{k:{switch(u|0){case 0:r=(x|0)!=0;break j;case 1:break k;default:break j}}l=N[m+20>>2];l=(((l^-1)&1)==((l&6)!=6|0))+x|0;r=l?(l|0)==1?2:1:6}o=N[i+4>>2];l:{m:{switch(n|0){case 0:j=(o|0)!=0;break l;case 1:break m;default:break l}}j=N[(m+T(u,40)|0)+20>>2];j=(((j^-1)&1)==((j&6)!=6|0))+o|0;j=j?(j|0)==1?2:1:6}s=j|r;if((s&3)!=2){o=1;i=e>>>q|0;n:{if(!i){break n}l=d>>>q|0;if(!l){break n}g=f<>2]]((j<>2]](((j|1)<>2]]((h<>2]=y;break a}l=m+T(u,40)|0;if(!(!((j^r)&2)|s>>>0>7)){h=1<>2];A=s&4?0-g|0:g;g=N[b>>2];u=N[b+4>>2];s=N[b+12>>2];n=N[b+8>>2];if(!((d|0)!=(h|0)|(e|0)!=(h|0))){Qa[N[a+12>>2]](c,f,n,s,g,u,A);break b}w=e>>>q|0;if(!w){break b}t=d>>>q|0;if(!t){break b}b=s>>31;d=(b^s)-b|0;b=n>>31;b=d+((b^n)-b|0)|0;e=q+5|0;h=e&31;if((e&63)>>>0>=32){d=b<>>32-h;l=b<>31;C=s>>31;D=n>>31;e=C+D|0;b=n+s|0;e=b>>>0>>0?e+1|0:e;b=UE(i,h,b,e);j=Pa;H=f<>2]+6;m=i;o=m>>31;i=UE(r,e,n,D);v=I+Pa|0;i=i+x|0;v=i>>>0>>0?v+1|0:v;m=UE(m,o,i,v);i=g-m|0;G=h-(Pa+(g>>>0>>0)|0)|0;h=j-(G+(b>>>0>>0)|0)|0;v=h>>31;o=b-i^v;m=o-v|0;o=(h^v)-((o>>>0>>0)+v|0)|0;p:{if(l>>>0<=m>>>0&(o|0)>=(d|0)|(d|0)<(o|0)){Qa[N[a+8>>2]](F,f,(h^A)&-2147483648);break p}Qa[N[a+12>>2]](F,f,n,s,i,G,A)}h=r+1|0;e=h?e:e+1|0;r=h;if((t|0)!=(h|0)|e){continue}break}c=c+H|0;e=E+1|0;k=e?k:k+1|0;E=e;if((w|0)!=(e|0)|k){continue}break}break b}k=1<>2]](c,f,m,u,x);break b}if(!(r&2)){Qa[N[a+16>>2]](c,f,l,n,o);break b}q:{if(r>>>0>=8){Qa[N[a+16>>2]](c,f,m,u,x);break q}k=T(y,40)+w|0;g=N[k+16>>2];Qa[N[a+12>>2]](c,f,N[k+8>>2],N[k+12>>2],N[m>>2],N[m+4>>2],r&4?0-g|0:g)}k=N[b+48>>2];r:{if(j>>>0>=8){Qa[N[a+16>>2]](k,d,l,N[h+4>>2],N[i+4>>2]);break r}h=m+T(u,40)|0;g=N[h+16>>2];Qa[N[a+12>>2]](k,d,N[h+8>>2],N[h+12>>2],N[l>>2],N[l+4>>2],j&4?0-g|0:g)}Qa[N[a+20>>2]](c,f,N[b+48>>2]);break b}w=g^1;n=(w<<2)+b|0;j=N[n+36>>2];k=t;t=N[n+28>>2];l=k+t|0;s:{if(j>>>0>=l>>>0){k=N[n+20>>2];break s}j=j<<1;k=j>>>0<=64?64:j;while(1){j=k;k=j<<1;if(j>>>0>>0){continue}break}l=(w<<2)+b|0;k=$a(N[l+20>>2],T(j,40));if(!k){o=0;break a}N[l+20>>2]=k;N[n+36>>2]=j;o=N[i+4>>2];x=N[i>>2]}N[p+12>>2]=o;N[p+8>>2]=x;j=T(t,40)+k|0;t:{if((d|0)>(e|0)){k=N[h>>2];l=N[h+4>>2];h=W(d-1|0)^31;Fi(m,k,l,m,p+24|0,j,p+16|0,p+8|0,64<>2],N[h+4>>2],m,p+24|0,k,p+16|0,p+8|0,64<>2]=N[p+28>>2]+(N[p+24>>2]+y|0);N[n+28>>2]=N[p+20>>2]+(t+N[p+16>>2]|0);o=0;if(!Di(a,b,c,j,e,f,g,p+24|0,i)){break a}if(N[z+28>>2]!=(y|0)){break d}if(!Di(a,b,c+h|0,d,k,f,w,p+16|0,p+8|0)){break a}o=1;if((t|0)!=N[n+28>>2]){break c}break a}ba(21974,18126,634,13300);B()}ba(18464,18126,635,13300);B()}ba(24293,18126,636,13300);B()}ba(24249,18126,637,13300);B()}ba(24293,18126,562,15790);B()}ba(24249,18126,563,15790);B()}ba(11093,18126,715,13300);B()}ba(21690,18126,718,13300);B()}N[z+28>>2]=y;o=1}La=p+32|0;return o}function wE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=db(1,160);a:{if(!f){break a}c=260272;N[f>>2]=260272;b:{c:{d:{e:{f:{g:{h:{b=N[a+4>>2];if((b|0)<=1265525856){if((b|0)<=1198877297){if((b|0)==1113943655){break h}e=260296;if((b|0)==1147500129){break c}break b}if((b|0)==1198877298){break g}if((b|0)!=1198879349){break b}e=260344;break c}if((b|0)<=1332902240){if((b|0)==1265525857){break d}if((b|0)!=1298954605){break b}e=260488;break c}if((b|0)==1332902241){break f}if((b|0)==1415671148){break e}if((b|0)!=1415933045){break b}e=260440;break c}e=260320;break c}e=260368;break c}e=260392;break c}e=260416;break c}e=260464}N[f>>2]=e;c=e}d=O[c+4|0]?O[a+24|0]!=50:d;L[f+4|0]=d;c=N[147450];if(!c){Dl();c=N[147450]}b=-1;N[f+8>>2]=-1;L[f+5|0]=c>>>2&1;h=d?h:N[a+4>>2]!=1298954605;L[f+24|0]=h;j=N[a+48>>2];i=N[a+44>>2];i:{if((i|0)<=0){break i}b=i-1|0;d=0;j:{while(1){e=b+d>>>1|0;c=N[T(e,36)+j>>2];k:{if(c>>>0>=1919969383){b=e-1|0;break k}if((c|0)==1919969382){break j}d=e+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break i}b=N[(T(e,36)+j|0)+12>>2]}e=N[a+80>>2];l:{if(e>>>0>>0){c=0;b=0;break l}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+12>>2]=b;L[f+40|0]=h;N[f+20>>2]=0;N[f+16>>2]=c;b=-1;m:{if((i|0)<=0){break m}b=i-1|0;d=0;n:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];o:{if(g>>>0>=1886545255){b=c-1|0;break o}if((g|0)==1886545254){break n}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break m}b=N[(T(c,36)+j|0)+12>>2]}p:{if(b>>>0>e>>>0){c=0;b=0;break p}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+28>>2]=b;L[f+56|0]=h;N[f+36>>2]=0;N[f+32>>2]=c;b=-1;q:{if((i|0)<=0){break q}b=i-1|0;d=0;r:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];s:{if(g>>>0>=1651275623){b=c-1|0;break s}if((g|0)==1651275622){break r}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break q}b=N[(T(c,36)+j|0)+12>>2]}t:{if(b>>>0>e>>>0){c=0;b=0;break t}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+44>>2]=b;L[f+72|0]=h;N[f+52>>2]=0;N[f+48>>2]=c;b=-1;u:{if((i|0)<=0){break u}b=i-1|0;d=0;v:{while(1){c=b+d>>>1|0;g=N[T(c,36)+j>>2];w:{if(g>>>0>=1886614631){b=c-1|0;break w}if((g|0)==1886614630){break v}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break u}b=N[(T(c,36)+j|0)+12>>2]}x:{if(b>>>0>e>>>0){c=0;b=0;break x}g=N[a+56>>2];d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;c=g-d|0;c=c>>>0<=g>>>0?c:0;if(b>>>0>>0){b=N[a+84>>2]+(b<<3)|0}else{b=a+56|0}b=N[b>>2]-d|0;c=b>>>0>c>>>0?c:b;b=N[a+60>>2]+T(d,12)|0}N[f+60>>2]=b;L[f+88|0]=h;N[f+68>>2]=0;N[f- -64>>2]=c;b=-1;y:{if((i|0)<=0){break y}b=i-1|0;d=0;z:{while(1){c=b+d>>>1|0;h=N[T(c,36)+j>>2];A:{if(h>>>0>=1986098294){b=c-1|0;break A}if((h|0)==1986098293){break z}d=c+1|0}if((b|0)>=(d|0)){continue}break}b=-1;break y}b=N[(T(c,36)+j|0)+12>>2]}h=0;B:{if(b>>>0>e>>>0){c=0;a=0;break B}d=b?N[(N[a+84>>2]+(b<<3)|0)-8>>2]:0;if(b>>>0>>0){e=N[a+84>>2]+(b<<3)|0}else{e=a+56|0}b=N[a+56>>2];c=b-d|0;b=b>>>0>=c>>>0?c:0;e=N[e>>2]-d|0;c=b>>>0>>0?b:e;a=N[a+60>>2]+T(d,12)|0}N[f+76>>2]=a;N[f+84>>2]=0;N[f+80>>2]=c;if((i|0)<=0){break a}a=i-1|0;while(1){k=(h<<2)+f|0;d=0;C:{if(!(2548>>>h&1)){break C}e=N[(h<<3)+257072>>2];d=0;b=a;while(1){c=b+d>>>1|0;g=T(c,36)+j|0;i=N[g>>2];D:{if(i>>>0<=e>>>0){d=N[g+28>>2];if(e>>>0<=i>>>0){break C}d=c+1|0;break D}b=c-1|0}if((b|0)>=(d|0)){continue}break}d=0}N[k+92>>2]=d;h=h+1|0;if((h|0)!=17){continue}break}}return f|0}function nj(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=N[a>>2];if(!b){break a}b:{c:{if((b|0)>0){N[a>>2]=b-1;if((b|0)!=1){break a}N[a>>2]=-57005;e=N[a+8>>2];if(e){c=N[e+8>>2];if(c){while(1){c=c-1|0;b=N[e+12>>2]+T(c,12)|0;d=N[b+8>>2];b=N[b+4>>2];N[e+8>>2]=c;if(d){Qa[d|0](b);c=N[e+8>>2]}if(c){continue}break}}_a(N[e+12>>2]);_a(e);N[a+8>>2]=0}c=N[a+208>>2];if(c){break c}break b}ba(23506,14099,270,7918);B()}while(1){b=N[c+4>>2];pj(N[c>>2]);_a(c);c=b;if(b){continue}break}}N[a+40>>2]=0;N[a+44>>2]=0;b=N[a+52>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+52>>2]=0;b=N[a+56>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+56>>2]=0;b=N[a+60>>2];if(!(!b|(b|0)==275552)){ab(N[b+44>>2]);_a(b)}N[a+60>>2]=0;b=N[a- -64>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+64>>2]=0;b=N[a+68>>2];if(!(!b|(b|0)==275552)){ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b)}N[a+68>>2]=0;b=N[a+72>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+72>>2]=0;b=N[a+76>>2];if(!(!b|(b|0)==275552)){_a(N[b+28>>2]);ab(N[b>>2]);N[b>>2]=0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);_a(b)}N[a+76>>2]=0;b=N[a+80>>2];if(!(!b|(b|0)==275552)){ab(N[b+8>>2]);N[b+8>>2]=0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);_a(b)}N[a+80>>2]=0;b=N[a+84>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+84>>2]=0;b=N[a+88>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+88>>2]=0;b=N[a+92>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+92>>2]=0;b=N[a+96>>2];if(!(!b|(b|0)==275552)){ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b)}N[a+96>>2]=0;b=N[a+100>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+100>>2]=0;b=N[a+104>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+104>>2]=0;b=N[a+108>>2];if(!(!b|(b|0)==275552)){ab(N[b+24>>2]);_a(b)}N[a+108>>2]=0;c=N[a+112>>2];if(!(!c|(c|0)==275552)){b=N[c+220>>2];if(b){if(N[b+4>>2]){N[b+4>>2]=0}_a(N[b+8>>2]);_a(b)}mj(c);_a(nq(c))}N[a+112>>2]=0;b=N[a+116>>2];if(!(!b|(b|0)==275552)){_a(lj(b))}N[a+116>>2]=0;b=N[a+120>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+120>>2]=0;b=N[a+124>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+124>>2]=0;b=N[a+128>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+128>>2]=0;b=N[a+132>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+132>>2]=0;b=N[a+136>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+136>>2]=0;b=N[a+140>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+140>>2]=0;d=N[a+144>>2];if(!(!d|(d|0)==275552)){if(N[d+4>>2]){c=0;while(1){b=N[d+8>>2]+T(c,28)|0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);N[b+16>>2]=0;N[b+20>>2]=0;N[b+12>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}_a(N[d+8>>2]);ab(N[d>>2]);_a(d)}N[a+144>>2]=0;d=N[a+148>>2];if(!(!d|(d|0)==275552)){if(N[d+4>>2]){c=0;while(1){b=N[d+8>>2]+T(c,28)|0;if(N[b+16>>2]){N[b+16>>2]=0}_a(N[b+20>>2]);N[b+16>>2]=0;N[b+20>>2]=0;N[b+12>>2]=0;c=c+1|0;if(c>>>0>2]){continue}break}}_a(N[d+8>>2]);ab(N[d>>2]);_a(d)}N[a+148>>2]=0;b=N[a+152>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+152>>2]=0;b=N[a+156>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+156>>2]=0;b=N[a+160>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+160>>2]=0;b=N[a+164>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+164>>2]=0;b=N[a+168>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+168>>2]=0;b=N[a+172>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+172>>2]=0;b=N[a+176>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+176>>2]=0;b=N[a+180>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+180>>2]=0;b=N[a+184>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+184>>2]=0;b=N[a+188>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+188>>2]=0;b=N[a+192>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);N[b>>2]=0;ab(N[b+4>>2]);_a(b)}N[a+192>>2]=0;b=N[a+196>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+196>>2]=0;b=N[a+200>>2];if(!(!b|(b|0)==275552)){ab(N[b>>2]);_a(b)}N[a+200>>2]=0;b=N[a+204>>2];if(!(!b|(b|0)==275552)){ab(b)}N[a+204>>2]=0;b=N[a+20>>2];if(b){Qa[b|0](N[a+16>>2])}_a(a)}}function zj(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;a:{f=L[b+140|0];if((f|0)>=0){L[b+140|0]=f|128;t=N[b+80>>2];m=N[b+68>>2];b:{if(!N[b+132>>2]){break b}g=b+92|0;while(1){f=N[g+(d<<2)>>2];e=N[b+12>>2];f=Rg(f,Qa[N[e+24>>2]](e,f,N[e+56>>2])|0);if((f|0)==7){e=0;d=d+1|0;if(d>>>0>2]){continue}break b}break}e=P[(f<<2)+238226>>1]}if(!m){f=-1;break a}u=t+3|0;f=-1;g=0;while(1){n=T(g,20);d=t+n|0;h=Rg(N[d>>2],P[d+16>>1]&31);c:{if((h|0)==7){L[(n+u|0)+16|0]=7;break c}o=T(e,24)+(h<<2)|0;d=O[o+238224|0];d:{if(!((d|0)==7|(f|0)==-1)){L[(u+T(f,20)|0)+16|0]=d;yj(b,f,g+1|0);break d}if((f|0)==-1){if(!(O[b+16|0]&64)|h>>>0<2){break d}wb(b,2,0,g+1|0,0,1);break d}if(!(O[b+16|0]&64)|h>>>0<=1&e-2>>>0>3){break d}e=N[b+68>>2];d=g+1|0;q=d>>>0>e>>>0?e:d;r=q-f|0;if(r>>>0<2){break d}k=N[b+144>>2]|32;N[b+144>>2]=k;if(f>>>0>=q>>>0){break d}p=N[b+80>>2];d=-1;e=f;l=q+(e^-1)|0;if(l>>>0>=3){i=r&-4;j=0;while(1){s=p+T(e,20)|0;h=N[s+8>>2];h=d>>>0>>0?d:h;d=N[s+28>>2];h=d>>>0>h>>>0?h:d;d=N[s+48>>2];h=d>>>0>h>>>0?h:d;d=N[s+68>>2];d=d>>>0>h>>>0?h:d;e=e+4|0;j=j+4|0;if((i|0)!=(j|0)){continue}break}}j=0;i=r&3;if(i){while(1){h=N[(p+T(e,20)|0)+8>>2];d=d>>>0>>0?d:h;e=e+1|0;j=j+1|0;if((i|0)!=(j|0)){continue}break}}if(r&1){e=p+T(f,20)|0;if(N[e+8>>2]!=(d|0)){N[e+4>>2]=N[e+4>>2]|2}f=f+1|0}if(!l){break d}while(1){e=p+T(f,20)|0;if(N[e+8>>2]!=(d|0)){k=k|32;N[b+144>>2]=k;N[e+4>>2]=N[e+4>>2]|2}e=p+T(f+1|0,20)|0;if(N[e+8>>2]!=(d|0)){k=k|32;N[b+144>>2]=k;N[e+4>>2]=N[e+4>>2]|2}f=f+2|0;if((q|0)!=(f|0)){continue}break}}L[(n+u|0)+16|0]=O[o+238225|0];e=P[o+238226>>1];f=g}g=g+1|0;if((m|0)!=(g|0)){continue}break}break a}ba(22778,14165,169,12138);B()}e:{if(!N[b+136>>2]){break e}d=0;while(1){g=N[((d<<2)+b|0)+112>>2];h=N[b+12>>2];g=Rg(g,Qa[N[h+24>>2]](h,g,N[h+56>>2])|0);if((g|0)==7){d=d+1|0;if(d>>>0>2]){continue}break e}break}d=O[(T(e,24)+(g<<2)|0)+238224|0];if(!((d|0)==7|(f|0)==-1)){L[(t+T(f,20)|0)+19|0]=d;yj(b,f,N[b+68>>2]);break e}if(!(O[b+16|0]&64)|e-2>>>0>3){break e}n=N[b+68>>2];o=n-f|0;if(o>>>0<2){break e}k=N[b+144>>2]|32;N[b+144>>2]=k;if(f>>>0>=n>>>0){break e}m=N[b+80>>2];g=-1;d=f;l=n+(d^-1)|0;if(l>>>0>=3){h=o&-4;i=0;while(1){j=m+T(d,20)|0;e=N[j+8>>2];g=e>>>0>g>>>0?g:e;e=N[j+28>>2];g=e>>>0>g>>>0?g:e;e=N[j+48>>2];g=e>>>0>g>>>0?g:e;e=N[j+68>>2];g=e>>>0>g>>>0?g:e;d=d+4|0;i=i+4|0;if((h|0)!=(i|0)){continue}break}}i=o&3;if(i){e=0;while(1){h=N[(m+T(d,20)|0)+8>>2];g=g>>>0>>0?g:h;d=d+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}if(o&1){d=m+T(f,20)|0;if(N[d+8>>2]!=(g|0)){N[d+4>>2]=N[d+4>>2]|2}f=f+1|0}if(!l){break e}while(1){d=m+T(f,20)|0;if(N[d+8>>2]!=(g|0)){k=k|32;N[b+144>>2]=k;N[d+4>>2]=N[d+4>>2]|2}d=m+T(f+1|0,20)|0;if(N[d+8>>2]!=(g|0)){k=k|32;N[b+144>>2]=k;N[d+4>>2]=N[d+4>>2]|2}f=f+2|0;if((n|0)!=(f|0)){continue}break}}f:{g:{if((c|0)!=1299148391){break g}j=N[b+80>>2];e=N[b+68>>2];c=j;if(e>>>0<2){break f}l=j+3|0;g=1;if((e|0)!=2){c=e-1|0;h=c&1;d=c&-2;e=0;while(1){i=T(g,20);c=N[i+j>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){c=i+l|0;L[c+16|0]=O[c-4|0]}f=T(g+1|0,20);c=N[f+j>>2]-6155|0;if(!(c>>>0>4|(c|0)==3)){L[(f+l|0)+16|0]=O[(i+l|0)+16|0]}g=g+2|0;e=e+2|0;if((d|0)!=(e|0)){continue}break}if(!h){break g}}c=N[j+T(g,20)>>2]-6155|0;if(c>>>0>4|(c|0)==3){break g}c=l+T(g,20)|0;L[c+16|0]=O[c-4|0]}e=N[b+68>>2];c=N[b+80>>2]}h:{if(!e){break h}i=c+3|0;g=0;if((e|0)!=1){h=e&1;d=e&-2;while(1){f=T(g,20);b=f+c|0;N[b+4>>2]=N[b+4>>2]|N[(O[(f+i|0)+16|0]<<2)+a>>2];f=T(g|1,20);b=f+c|0;N[b+4>>2]=N[b+4>>2]|N[(O[(f+i|0)+16|0]<<2)+a>>2];g=g+2|0;if((d|0)!=(g|0)){continue}break}if(!h){break h}}b=c;c=T(g,20);b=b+c|0;N[b+4>>2]=N[b+4>>2]|N[(O[(c+i|0)+16|0]<<2)+a>>2]}}function wb(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,q=0;g=N[a+68>>2];k=d>>>0>g>>>0?g:d;i=k-c|0;a:{b:{c:{if(!(!e|f)&i>>>0<2){break c}h=N[a+144>>2]|32;N[a+144>>2]=h;if(!(O[a+62|0]?f:0)){if(!e){if(c>>>0>=k>>>0){break c}f=(c^-1)+k|0;e=N[a+80>>2];a=i&3;if(a){d=0;while(1){g=e+T(c,20)|0;N[g+4>>2]=N[g+4>>2]|b;c=c+1|0;d=d+1|0;if((a|0)!=(d|0)){continue}break}}if(f>>>0<3){break c}while(1){a=e+T(c,20)|0;N[a+4>>2]=N[a+4>>2]|b;N[a+24>>2]=N[a+24>>2]|b;N[a+44>>2]=N[a+44>>2]|b;a=a- -64|0;N[a>>2]=N[a>>2]|b;c=c+4|0;if((k|0)!=(c|0)){continue}break}break c}if(c>>>0>=k>>>0){break c}e=N[a+80>>2];d=-1;f=c;l=(c^-1)+k|0;if(l>>>0>=3){n=i&-4;while(1){g=e+T(f,20)|0;j=N[g+8>>2];d=d>>>0>>0?d:j;j=N[g+28>>2];d=d>>>0>>0?d:j;j=N[g+48>>2];d=d>>>0>>0?d:j;g=N[g+68>>2];d=d>>>0>>0?d:g;f=f+4|0;o=o+4|0;if((n|0)!=(o|0)){continue}break}}n=i&3;if(n){g=0;while(1){j=N[(e+T(f,20)|0)+8>>2];d=d>>>0>>0?d:j;f=f+1|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}if(i&1){f=e+T(c,20)|0;if(N[f+8>>2]!=(d|0)){N[f+4>>2]=N[f+4>>2]|b}c=c+1|0}if(!l){break c}while(1){f=e+T(c,20)|0;if(N[f+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[f+4>>2]=N[f+4>>2]|b}f=e+T(c+1|0,20)|0;if(N[f+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[f+4>>2]=N[f+4>>2]|b}c=c+2|0;if((k|0)!=(c|0)){continue}break}break c}l=N[a+72>>2];if(l>>>0>>0){break b}f=N[a+64>>2];if(k>>>0>>0){break a}if(!e){d:{if(c>>>0>=l>>>0){break d}g=l+(c^-1)|0;e=N[a+84>>2];i=l-c&3;if(i){d=0;while(1){h=e+T(c,20)|0;N[h+4>>2]=N[h+4>>2]|b;c=c+1|0;d=d+1|0;if((i|0)!=(d|0)){continue}break}}if(g>>>0<=2){break d}while(1){d=e+T(c,20)|0;N[d+4>>2]=N[d+4>>2]|b;N[d+24>>2]=N[d+24>>2]|b;N[d+44>>2]=N[d+44>>2]|b;d=d- -64|0;N[d>>2]=N[d>>2]|b;c=c+4|0;if((l|0)!=(c|0)){continue}break}}if(f>>>0>=k>>>0){break c}e=(f^-1)+k|0;d=N[a+80>>2];a=k-f&3;if(a){c=0;while(1){g=d+T(f,20)|0;N[g+4>>2]=N[g+4>>2]|b;f=f+1|0;c=c+1|0;if((a|0)!=(c|0)){continue}break}}if(e>>>0<3){break c}while(1){a=d+T(f,20)|0;N[a+4>>2]=N[a+4>>2]|b;N[a+24>>2]=N[a+24>>2]|b;N[a+44>>2]=N[a+44>>2]|b;a=a- -64|0;N[a>>2]=N[a>>2]|b;f=f+4|0;if((k|0)!=(f|0)){continue}break}break c}n=N[a+80>>2];d=-1;p=f>>>0>=k>>>0;e:{if(p){break e}g=k-f|0;j=g&3;e=f;if((e^-1)+k>>>0>=3){o=g&-4;i=0;while(1){g=n+T(e,20)|0;m=N[g+8>>2];d=d>>>0>>0?d:m;m=N[g+28>>2];d=d>>>0>>0?d:m;m=N[g+48>>2];d=d>>>0>>0?d:m;g=N[g+68>>2];d=d>>>0>>0?d:g;e=e+4|0;i=i+4|0;if((o|0)!=(i|0)){continue}break}}if(!j){break e}g=0;while(1){i=N[(n+T(e,20)|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}f:{if(c>>>0>=l>>>0){break f}j=N[a+84>>2];o=l+(c^-1)|0;m=l-c|0;e=m&3;if(e){i=0;g=c;while(1){q=N[(j+T(g,20)|0)+8>>2];d=d>>>0>>0?d:q;g=g+1|0;i=i+1|0;if((e|0)!=(i|0)){continue}break}e=c+e|0}else{e=c}i=e;if(o>>>0>=3){while(1){e=j+T(i,20)|0;g=N[e+8>>2];d=d>>>0>>0?d:g;g=N[e+28>>2];d=d>>>0>>0?d:g;g=N[e+48>>2];d=d>>>0>>0?d:g;e=N[e+68>>2];d=d>>>0>>0?d:e;i=i+4|0;if((l|0)!=(i|0)){continue}break}}if(m&1){e=j+T(c,20)|0;if(N[e+8>>2]!=(d|0)){N[e+4>>2]=N[e+4>>2]|b}c=c+1|0}if(!o){break f}while(1){e=j+T(c,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}e=j+T(c+1|0,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}c=c+2|0;if((l|0)!=(c|0)){continue}break}}if(p){break c}c=f+1|0;if(k-f&1){e=n+T(f,20)|0;if(N[e+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[e+4>>2]=N[e+4>>2]|b}f=c}if((c|0)==(k|0)){break c}while(1){c=n+T(f,20)|0;if(N[c+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[c+4>>2]=N[c+4>>2]|b}c=n+T(f+1|0,20)|0;if(N[c+8>>2]!=(d|0)){h=h|32;N[a+144>>2]=h;N[c+4>>2]=N[c+4>>2]|b}f=f+2|0;if((k|0)!=(f|0)){continue}break}}return}ba(12894,14165,449,11039);B()}ba(16690,14165,450,11039);B()}function Tg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-16|0;La=f;N[f+12>>2]=0;N[f+8>>2]=0;N[f+4>>2]=0;N[f>>2]=0;e=N[a+8>>2];d=N[a+4>>2];a:{b:{c:{if(!(Qa[N[a+20>>2]](a,c,f+12|0,f+8|0)|0)){break c}c=N[f+8>>2];if(c){N[f>>2]=0;h=N[e+96>>2];i=N[h+28>>2];j=N[e+100>>2];h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}if(!(Qa[i|0](e,j,c,f,h)|0)){break c}}N[f+4>>2]=0;c=N[e+96>>2];g=N[c+28>>2];h=N[e+100>>2];i=N[f+12>>2];j=f+4|0;c=N[c+12>>2];if(c){c=N[c+8>>2]}else{c=0}c=Qa[g|0](e,h,i,j,c)|0;g=N[f+12>>2];d:{e:{f:{g:{h:{if(!(!c|!b)){N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f+4>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break h}}a=N[d+84>>2];i:{if((a|0)!=N[d+80>>2]){break i}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break i}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break i}F(c,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}j:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break j}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break d}g=Tg(a,b,g);if(g){c=N[f+8>>2];if(!c){break c}N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break g}}a=N[d+84>>2];k:{if((a|0)!=N[d+80>>2]){break k}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break k}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;b=T(b,20);if(!b){break k}F(e,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}l:{if(a>>>0>>0){e=N[d+72>>2];b=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break l}b=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=b+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+b|0;e=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=e;N[b+16>>2]=N[a+16>>2];e=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=e;N[b>>2]=c;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break e}if(!c){g=0;break c}g=N[f+12>>2];N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f+4>>2];a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break f}}a=N[d+84>>2];m:{if((a|0)!=N[d+80>>2]){break m}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break m}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break m}F(c,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}n:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break n}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break d}a=N[d+72>>2];break d}a=N[d+72>>2];break e}a=N[d+72>>2];break d}b=a-1|0;Hd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=g+1|0;break c}b=a-1|0;Hd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=N[f+8>>2];if(!g){g=1;break c}N[(N[d+80>>2]+T(N[d+64>>2],20)|0)+12>>2]=N[f>>2];o:{p:{a=N[d+72>>2]+1|0;if(!(!a|a>>>0>2])){if(!gb(d,a)){break p}}q:{a=N[d+84>>2];r:{if((a|0)!=N[d+80>>2]){break r}b=N[d+72>>2];if(Q[d+64>>2]>=b+1>>>0){break r}if(!O[d+62|0]){break q}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break r}F(c,a,b)}a=N[d+64>>2];b=N[d+68>>2];if(a>>>0>b>>>0){break a}s:{if(a>>>0>>0){e=N[d+72>>2];c=N[d+84>>2];a=N[d+80>>2]+T(a,20)|0;break s}c=N[d+84>>2];e=N[d+72>>2];a=e-1|0;a=c+T(a>>>0<=e>>>0?a:0,20)|0}b=T(e,20)+c|0;c=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=N[a+12>>2];N[b+8>>2]=N[a+8>>2];N[b+12>>2]=c;N[b>>2]=g;a=N[d+72>>2]+1|0;N[d+72>>2]=a;break o}break b}a=N[d+72>>2]}b=a-1|0;Hd(N[d+84>>2]+T(a>>>0>=b>>>0?b:0,20)|0,d);g=2}La=f+16|0;return g}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function Sb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=N[a>>2];a:{e=N[a+4>>2];b:{if(!e){e=0;break b}if(N[a+40>>2]){break b}d=e<<1;if((d|0)<0){h=6;break a}c:{if(!d){d=0;break c}h=10;if(d>>>0>268435455){break a}e=e<<4;d=Qa[N[g+4>>2]](g,e)|0;if(!d){N[a+40>>2]=0;return 64}C(d,0,e);e=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=d;i=(e<<3)+d|0;N[a+44>>2]=i;h=0;f=N[a+24>>2];if(f){f=f+(M[a+22>>1]<<3)|0}else{f=0}N[a+60>>2]=f;j=a- -64|0;f=N[a+28>>2];if(f){f=f+M[a+22>>1]|0}else{f=0}N[j>>2]=f;f=N[a+32>>2];if(f){f=f+(M[a+20>>1]<<1)|0}else{f=0}N[a+68>>2]=f;f=M[a+22>>1]<<3;N[a+80>>2]=f+i;N[a+76>>2]=d+f}d:{e:{b=M[a+58>>1]+(M[a+22>>1]+b|0)|0;j=b>>>0<=e>>>0;f:{g:{if(j){b=e;break g}d=10;f=b+7|0;b=f&-8;if(b>>>0>32767){break f}d=6;if((e|f)<0){break d}d=N[a+24>>2];h:{i:{j:{if(!b){if(d){Qa[N[g+8>>2]](g,d)}N[a+24>>2]=0;f=a+28|0;d=N[f>>2];if(!d){break j}Qa[N[g+8>>2]](g,d);N[a+28>>2]=0;break h}i=(b|0)<=(e|0);k:{if(!e){f=Qa[N[g+4>>2]](g,b<<3)|0;d=!f<<6;break k}h=Qa[N[g+12>>2]](g,e<<3,b<<3,d)|0;f=h?h:d;d=!h<<6}l:{if(f?i|d:1){N[a+24>>2]=f;if(!d){break l}break d}C((e<<3)+f|0,0,b-e<<3);N[a+24>>2]=f}f=a+28|0;m:{if(!e){h=Qa[N[g+4>>2]](g,b)|0;d=!h<<6;break m}h=N[a+28>>2];d=Qa[N[g+12>>2]](g,e,b,h)|0;h=d?d:h;d=!d<<6}if(d|i|!h){break i}C(e+h|0,0,b-e|0)}N[f>>2]=h;break h}N[a+28>>2]=h;if(d){break d}}if(O[a+16|0]){d=6;h=e<<1;if((h|0)<0){break d}d=N[a+40>>2];n:{o:{p:{if(!b){f=0;if(!d){break p}Qa[N[g+8>>2]](g,d);N[a+40>>2]=0;break n}q:{if(!h){f=Qa[N[g+4>>2]](g,b<<4)|0;d=!f<<6;break q}i=Qa[N[g+12>>2]](g,e<<4,b<<4,d)|0;f=i?i:d;d=!i<<6}i=b<<1;if(d|(i|0)<=(h|0)|!f){break o}C((e<<4)+f|0,0,i-h<<3)}N[a+40>>2]=f;break n}N[a+40>>2]=f;if(d){break d}}d=b<<3;e=e<<3;F(d+f|0,e+f|0,e);N[a+44>>2]=d+N[a+40>>2]}N[a+4>>2]=b}if(!(N[a+40>>2]|!b)){e=b<<1;if((e|0)<0){d=6;break e}r:{if(!e){e=0;break r}d=10;if(e>>>0>268435455){break e}d=N[a>>2];b=b<<4;e=Qa[N[d+4>>2]](d,b)|0;if(!e){N[a+40>>2]=0;return 64}C(e,0,b);b=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=e;d=(b<<3)+e|0;N[a+44>>2]=d;b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;i=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[i>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;b=M[a+22>>1]<<3;N[a+80>>2]=b+d;N[a+76>>2]=b+e}b=M[a+56>>1]+(M[a+20>>1]+c|0)|0;e=N[a+8>>2];s:{if(b>>>0>e>>>0){d=10;c=b+3|0;b=c&-4;if(b>>>0>32767){break f}if((c|e)<0){d=6;break d}d=N[a+32>>2];t:{u:{if(!b){c=0;if(!d){break u}Qa[N[g+8>>2]](g,d);N[a+32>>2]=0;N[a+8>>2]=b;break s}v:{if(!e){c=Qa[N[g+4>>2]](g,b<<1)|0;d=!c<<6;break v}g=Qa[N[g+12>>2]](g,e<<1,b<<1,d)|0;c=g?g:d;d=!g<<6}if(d|(b|0)<=(e|0)|!c){break t}C((e<<1)+c|0,0,b-e<<1)}N[a+32>>2]=c;N[a+8>>2]=b;break s}N[a+32>>2]=c;if(d){break d}N[a+8>>2]=b;break s}d=0;if(j){break f}}b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;c=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[c>>2]=b;d=0;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;if(!O[a+16|0]){break f}b=M[a+22>>1]<<3;N[a+76>>2]=b+N[a+40>>2];N[a+80>>2]=b+N[a+44>>2]}return d}N[a+40>>2]=0;return d}b=N[a>>2];c=N[a+24>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+24>>2]=0;c=N[a+28>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+28>>2]=0;c=N[a+32>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+32>>2]=0;c=N[a+40>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+40>>2]=0;c=N[a+52>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+12>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a+20>>2]=0;N[a+44>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+36>>2]=0;N[a+88>>2]=N[a+52>>2];b=N[a+48>>2];N[a+80>>2]=N[a+44>>2];N[a+84>>2]=b;b=N[a+40>>2];N[a+72>>2]=N[a+36>>2];N[a+76>>2]=b;b=N[a+32>>2];N[a+64>>2]=N[a+28>>2];N[a+68>>2]=b;b=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=b;return d}N[a+40>>2]=0;return h}function vp(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0;o=N[(c?16:12)+b>>2];k=N[(c?8:4)+b>>2];l=T(c,9804)+a|0;b=l+9840|0;a:{if((k|0)==N[b>>2]&(o|0)==N[l+9844>>2]){break a}N[b>>2]=k;N[l+9844>>2]=o;m=N[a+10064>>2];b:{if(!m){break b}b=0;while(1){if(!(O[(T(b,36)+a|0)+10100|0]&16)){b=b+1|0;if((m|0)!=(b|0)){continue}break b}break}d=N[(T(b,36)+a|0)+10080>>2];g=d>>31;g=(d^g)-g|0;b=k>>31;b=(b^k)-b|0;c:{if(g+(b>>>8|0)>>>0<=8190){b=T(b,g)+32768>>>16|0;break c}e=g&65535;b=T(e,b>>>16|0)+T(b,g>>>16|0)+(T(e,b&65535)+32768>>>16)|0}g=N[N[a+36>>2]+20>>2];if(g){h=g;g=P[N[N[a+4>>2]+88>>2]+12>>1];g=g>>>0<=5?40:h>>>0>=g>>>0?52:40}else{g=40}if((c|0)!=1){break b}e=0-b|0;h=b;b=d>>31|1;b=(((k|0)<0?0-b|0:b)|0)<0?e:h;g=b+g&-64;if((b|0)==(g|0)){break b}g=jb(k,g,b);d=N[a+40>>2];d:{e:{if((m|0)==1){e=0;break e}j=m&1;e=m&-2;h=a+10068|0;b=0;while(1){f=h+T(b,36)|0;i=N[f+24>>2];d=(d|0)>(i|0)?d:i;f=0-N[f+28>>2]|0;d=(d|0)>(f|0)?d:f;f=h+T(b|1,36)|0;i=N[f+24>>2];d=(d|0)>(i|0)?d:i;f=0-N[f+28>>2]|0;d=(d|0)>(f|0)?d:f;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!j){break d}}b=T(e,36)+a|0;e=N[b+10092>>2];d=(d|0)>(e|0)?d:e;b=0-N[b+10096>>2]|0;d=(b|0)<(d|0)?d:b}j=g-k|0;b=j>>31;e=d>>31;e=(e^d)-e|0;b=(b^j)-b|0;f=e+(b>>>8|0)|0;f:{if(f>>>0<=8190){h=T(b,e)+32768>>>16|0;break f}h=e&65535;h=T(h,b>>>16|0)+T(b,e>>>16|0)+(T(h,b&65535)+32768>>>16)|0}d=d>>31|1;d=(j|0)<0?0-d|0:d;h=(d|0)<0?0-h|0:h;if(f>>>0<=8190){b=T(b,e)+32768>>>16|0}else{j=e&65535;b=T(j,b>>>16|0)+T(b,e>>>16|0)+(T(j,b&65535)+32768>>>16)|0}b=(d|0)<0?0-b|0:b;k=((h|0)<0?0-b|0:b)>>>0<128?g:k}N[l+44>>2]=k;N[(T(c,9804)+a|0)+48>>2]=o;g:{if(!c){N[a+8>>2]=k;b=a+16|0;break g}N[a+12>>2]=k;b=a+20|0}N[b>>2]=o;b=T(c,9804)+a|0;j=N[b+52>>2];h:{if(!j){b=k>>31;d=(b^k)-b|0;g=d>>>8|0;break h}g=k>>31;d=(g^k)-g|0;f=d&65535;i=d>>>16|0;g=d>>>8|0;r=b+56|0;b=0;while(1){l=r+T(b,12)|0;h=N[l>>2];e=h>>31;e=(e^h)-e|0;i:{if(e+g>>>0<=8190){n=T(d,e)+32768>>>16|0;break i}p=e&65535;n=T(p,i)+T(e>>>16|0,d)+(T(f,p)+32768>>>16)|0}e=n;p=0-e|0;e=h>>31|1;e=(((k|0)<0?0-e|0:e)|0)<0?p:n;N[l+8>>2]=e;N[l+4>>2]=e;b=b+1|0;if((j|0)!=(b|0)){continue}break}}b=T(c,9804)+a|0;f=b;e=N[b+252>>2];b=e>>31;b=(b^e)-b|0;j:{if(b+g>>>0<=8190){h=T(b,d)+32768>>>16|0;break j}h=b&65535;h=T(h,d>>>16|0)+T(b>>>16|0,d)+(T(h,d&65535)+32768>>>16)|0}b=h;i=0-b|0;b=e>>31|1;L[f+256|0]=(((((k|0)<0?0-b|0:b)|0)<0?i:h)|0)<40;if(!m|(c|0)!=1){break a}c=d&65535;e=d>>>16|0;l=0;while(1){b=T(l,36)+a|0;h=b+10068|0;j=N[h>>2];f=j>>31;f=(f^j)-f|0;k:{if(f+g>>>0<=8190){i=T(d,f)+32768>>>16|0;break k}i=f&65535;i=T(i,e)+T(f>>>16|0,d)+(T(c,i)+32768>>>16)|0}f=i;n=0-f|0;f=j>>31|1;r=(k|0)<0;p=o+(((r?0-f|0:f)|0)<0?n:i)|0;N[h+8>>2]=p;N[h+4>>2]=p;f=N[b+10080>>2];i=f>>31;i=(f^i)-i|0;l:{if(i+g>>>0<=8190){n=T(d,i)+32768>>>16|0;break l}q=i&65535;n=T(q,e)+T(i>>>16|0,d)+(T(c,q)+32768>>>16)|0}i=n;q=b+10100|0;s=N[q>>2];N[q>>2]=s&-2;t=b+10088|0;u=0-i|0;i=f>>31|1;i=o+(((r?0-i|0:i)|0)<0?u:n)|0;N[t>>2]=i;N[b+10084>>2]=i;j=j-f|0;b=j>>31;b=(b^j)-b|0;m:{if(b+g>>>0<=8190){b=T(b,d)+32768>>>16|0;break m}f=b&65535;b=T(f,e)+T(b>>>16|0,d)+(T(c,f)+32768>>>16)|0}j=j>>31|1;j=((r?0-j|0:j)|0)<0?0-b|0:b;if(j+48>>>0<=96){f=h;h=p+32&-64;N[f+8>>2]=h;f=b;b=b>>31;b=(f^b)-b|0;b=b>>>0>=32?b>>>0<48?32:64:0;N[t>>2]=h+((j|0)<0?b:0-b|0);N[q>>2]=s|1}l=l+1|0;if((m|0)!=(l|0)){continue}break}c=0;while(1){b=T(c,36)+a|0;g=b+10100|0;d=N[g>>2];n:{if((d&5)!=5){break n}o=b+10076|0;e=b+10088|0;b=0;while(1){k=T(b,36)+a|0;if(!((N[k+10100>>2]&5)!=1|N[k+10076>>2]>N[e>>2]|N[k+10088>>2]>2])){N[g>>2]=d&-2;break n}b=b+1|0;if((m|0)!=(b|0)){continue}break}}c=c+1|0;if((m|0)!=(c|0)){continue}break}}}function nz(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;e=La-160|0;La=e;d=N[a>>2];f=N[d- -64>>2];g=N[d+56>>2];j=N[a+16>>2];k=j>>31;i=N[a+12>>2];h=i>>31;n=N[a+24>>2];l=n>>31;o=N[a+20>>2];s=o>>31;t=N[d+60>>2];u=N[d+52>>2];p=+(t-u|0)*.5+64;C=8/p;v=N[a+28>>2];k=(j^k)-k+((h^i)-h)|0;h=(l^n)-l+((o^s)-s)|0;m=.125/+((h>>>0>>0?k:h)|0);r=C*+(v|0)*m;S[e+112>>3]=r;w=+(f-g|0)*.5+64;x=8/w;k=N[a+32>>2];m=m*(x*+(k|0));S[e+120>>3]=m;h=N[a+4>>2];D=+(N[a+8>>2]<<3);H=m*D+x*+(n|0);S[e+96>>3]=H;p=V(m)*w+(V(r)*p+1);p=p>16?16:p;w=+(t+u|0)*.5;E=+(f+g|0)*.5;S[e+128>>3]=p-(r*w+E*m);z=r*D+C*+(o|0);S[e+88>>3]=z;S[e+104>>3]=p*D+0-(z*w+E*H);z=m;m=+(h<<3);x=z*m+x*+(j|0);S[e+72>>3]=x;r=r*m+C*+(i|0);S[e+64>>3]=r;S[e+80>>3]=p*m+0-(r*w+E*x);f=d+4|0;d=e+40|0;a:{if(k|v){q=f;f=e- -64|0;Fo(e+16|0,q,f);Fo(d,N[a>>2]+28|0,f);break a}q=f;f=e- -64|0;Go(e+16|0,q,f);Go(d,N[a>>2]+28|0,f)}k=N[c>>2];b:{c:{s=c+12|0;d:{e:{if(!Lo(s,e+16|0,0)){mb(N[k>>2],2,25239,0);break e}if(!Lo(s,d,1)){mb(N[k>>2],2,25239,0);break e}t=N[c+16>>2];u=N[c+24>>2];if((t|0)>(u|0)){break e}v=N[c+28>>2];F=N[c+20>>2];if((v|0)<(F|0)){break e}f:{y=t-1|0;A=y>>6;g=(u+127>>6)-A|0;l=F-1|0;o=l>>6;f=(v+127>>6)-o|0;g:{if((g|f)<0){break g}i=-1<>2];d=i^-2147483648;if((d|0)<(g|0)){break g}if((d|0)>=(f|0)){break f}}c=N[k>>2];N[e+4>>2]=f;N[e>>2]=g;mb(c,2,8058,e);break e}I=k+872|0;d=1<>2];j=0-d|0;h=i^-1;g=i&h+g;j=g>>>0>j>>>0?g:j&(d+g|0)-1;i=i&f+h;if(j>>>0>((d^2147483647)>>>0)/(((i|0)<=1?1:i)>>>0)>>>0){break e}f=d+T(j,i)|0;if(f>>>0>=-5-d>>>0){break e}f=kb((d+f|0)+3|0);if(!f){break e}q=d;G=d-1|0;d=f+4|0;n=G&d;n=(n?q-n|0:0)+d|0;N[n-4>>2]=f;if(!n){break e}N[b+20>>2]=n;N[b+16>>2]=j;N[b+12>>2]=i;N[b+8>>2]=g;N[b+4>>2]=o;N[b>>2]=A;if((j|0)<=0|(i|0)<=0){break c}if(h&j){break b}f=l&-64;g=y&-64;h=N[c+40>>2];if(h){d=N[c+32>>2];A=d+T(h,40)|0;K=f>>31;L=g>>31;while(1){N[d+24>>2]=N[d+24>>2]-g;N[d+28>>2]=N[d+28>>2]-g;N[d+32>>2]=N[d+32>>2]-f;N[d+36>>2]=N[d+36>>2]-f;y=N[d>>2];G=N[d+4>>2];l=N[d+12>>2];o=UE(l,l>>31,f,K);q=Pa;l=N[d+8>>2];J=UE(l,l>>31,g,L);l=J+o|0;o=Pa+q|0;N[d>>2]=y-l;N[d+4>>2]=G-((l>>>0>y>>>0)+(l>>>0>>0?o+1|0:o)|0);d=d+40|0;if((A|0)!=(d|0)){continue}break}}d=u-g|0;N[c+24>>2]=d;N[c+16>>2]=t-g;N[c+28>>2]=v-f;N[c+20>>2]=F-f;f=N[c+52>>2];g=N[c+44>>2]+h|0;h:{if(f>>>0>>0){d=f<<1;f=d>>>0<=64?64:d;while(1){d=f;f=d<<1;if(d>>>0>>0){continue}break}f=$a(N[c+36>>2],T(d,40));if(!f){break h}N[c+52>>2]=d;N[c+36>>2]=f;h=N[c+40>>2];d=N[c+24>>2]}f=N[c+56>>2];N[e+144>>2]=f;g=h-f|0;N[e+148>>2]=g;N[e+136>>2]=0;N[e+140>>2]=0;q=d;d=j<<6;if((q|0)>=(d|0)){h=N[c+32>>2];Fi(h,f,g,h,e+144|0,N[c+36>>2],e+152|0,e+136|0,d);N[e+136>>2]=0;N[e+140>>2]=0}d=i<<6;if((d|0)<=N[c+28>>2]){f=N[c+32>>2];Ei(f,N[e+144>>2],N[e+148>>2],f,e+144|0,N[c+36>>2],e+152|0,e+136|0,d);N[e+136>>2]=0;N[e+140>>2]=0}if(N[c+16>>2]<=0){d=N[c+32>>2];Fi(d,N[e+144>>2],N[e+148>>2],N[c+36>>2],e+152|0,d,e+144|0,e+136|0,0)}if(N[c+20>>2]<=0){d=N[c+32>>2];Ei(d,N[e+144>>2],N[e+148>>2],N[c+36>>2],e+152|0,d,e+144|0,e+136|0,0)}d=N[e+148>>2];f=N[e+144>>2];N[c+44>>2]=0;N[c+40>>2]=d+f;if(Di(I,s,n,j,i,j,0,e+144|0,e+136|0)){break d}}mb(N[k>>2],2,25211,0);c=N[b+20>>2];if(!c){break e}_a(N[c-4>>2])}N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}_a(N[e+32>>2]);_a(N[e+36>>2]);_a(N[e+56>>2]);_a(N[e+60>>2]);La=e+160|0;a=N[a>>2];return(((N[a+12>>2]+T(N[b+12>>2],N[b+16>>2])|0)+N[a+36>>2]|0)+(N[a+4>>2]+N[a+28>>2]<<3)|0)+140|0}ba(21974,18126,726,13210);B()}ba(24293,18126,727,13210);B()}function XD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=U(0),r=U(0),s=0,t=0;p=La-48|0;La=p;h=N[b>>2];b=N[h+48>>2];a:{if(b){break a}while(1){b=N[h>>2];if(!b){b=275552;break a}i=db(1,28);if(!i){b=275552;N[h+48>>2]=275552;break a}b=Lg(i,b);if(!N[h+48>>2]){N[h+48>>2]=b;break a}ab(N[b+20>>2]);N[b+20>>2]=0;ab(N[b+24>>2]);_a(b);b=N[h+48>>2];if(!b){continue}break}}b:{if(N[b+4>>2]){h=275552;i=N[b+24>>2];i=i?i:275552;i=Q[i+16>>2]<24?275552:N[i+12>>2];l=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);if(l){h=i+(l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24))|0}c:{if(!N[a+84>>2]){break c}i=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(i){h=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))+h|0}else{h=275552}h=O[h+2|0]|O[h+3|0]<<8;i=(h<<8|h>>>8)&65535;o=kb(i<<2);if(!h|!o){break c}i=i>>>0<=1?1:i;l=i&7;h=0;if(i>>>0>=8){j=i&65528;while(1){i=h<<2;N[i+o>>2]=1073741824;N[(i|4)+o>>2]=1073741824;N[(i|8)+o>>2]=1073741824;N[(i|12)+o>>2]=1073741824;N[(i|16)+o>>2]=1073741824;N[(i|20)+o>>2]=1073741824;N[(i|24)+o>>2]=1073741824;N[(i|28)+o>>2]=1073741824;h=h+8|0;if((j|0)!=(h|0)){continue}break}}if(!l){break c}while(1){N[(h<<2)+o>>2]=1073741824;h=h+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(c){while(1){k=N[b+4>>2];m=N[d>>2];d:{if(k>>>0>m>>>0){h=N[b>>2]-1|0;h=h>>>0>>0?h:m;if((h|0)<0){h=275552}else{k=N[b+4>>2];i=N[b+20>>2];h=N[(i?i:275552)+12>>2]+(h<<2)|0}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;break d}h=0;if(N[b+8>>2]){break d}h=N[b+16>>2]}e:{if(k>>>0<=m>>>0){break e}i=N[a+84>>2];if(!i){break e}l=N[b+24>>2];j=l?l:275552;n=N[j+16>>2];if(n){k=275552;l=N[a+88>>2];j=n>>>0<24?275552:N[j+12>>2];n=O[j+8|0]|O[j+9|0]<<8|(O[j+10|0]<<16|O[j+11|0]<<24);if(n){n=j+(n<<24|(n&65280)<<8|(n>>>8&65280|n>>>24))|0}else{n=275552}n=nd(n,m);q=U(h>>>0);m=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);if(m){k=j+(m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24))|0}h=O[k+6|0]|O[k+7|0]<<8;j=(h<<8|h>>>8)&65535;h=n>>>16|0;if(j>>>0<=h>>>0){r=U(.5)}else{h=(h<<2)+k|0;h=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);if(h){h=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+k|0}else{h=275552}m=n&65535;j=O[k+2|0]|O[k+3|0]<<8|(O[k+4|0]<<16|O[k+5|0]<<24);if(j){j=(j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))+k|0}else{j=275552}r=U(Fc(h,m,l,i,j,o)+U(.5))}q=U(U(Z(r))+q);if(q=U(0)){h=~~q>>>0;break e}h=0;break e}i=N[a+24>>2];h=N[i+108>>2];f:{if(h){break f}while(1){h=N[i+48>>2];if(!h){h=275552;break f}l=db(1,28);if(!l){h=275552;N[i+108>>2]=275552;break f}h=Me(l,h);if(!N[i+108>>2]){N[i+108>>2]=h;break f}ab(N[h+24>>2]);_a(h);h=N[i+108>>2];if(!h){continue}break}}h=fq(h,a,m,1)}h=0-h<<16;i=h>>31;i=UE(N[a+64>>2],N[a+68>>2],h>>16,i);h=Pa;i=i+32768|0;N[f>>2]=((i>>>0<32768?h+1|0:h)&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;s=s+1|0;if((s|0)!=(c|0)){continue}break}}_a(o);break b}b=p;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;d=N[a+96>>2];e=N[d+20>>2];h=N[a+100>>2];d=N[d+12>>2];if(d){d=N[d>>2]}else{d=0}g:{if(Qa[e|0](a,h,b,d)|0){b=N[p>>2];a=N[p+4>>2];break g}a=N[a+32>>2];t=+(a|0)*.8;h:{if(V(t)<2147483648){b=~~t;break h}b=-2147483648}a=b-a|0}if(!c){break b}a=a-b|0;if(c>>>0>=8){b=c&-8;h=0;while(1){N[f>>2]=a;d=f+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;d=d+g|0;N[d>>2]=a;f=d+g|0;h=h+8|0;if((b|0)!=(h|0)){continue}break}}b=c&7;if(!b){break b}h=0;while(1){N[f>>2]=a;f=f+g|0;h=h+1|0;if((b|0)!=(h|0)){continue}break}}La=p+48|0}function Ez(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-384|0;La=d;a:{b:{switch(N[a>>2]){case 0:f=b;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);e=0|b;hb(d+208|0,f^e^2025677871,b^c^-1602871964,0,0,e^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+176|0,(g|c)^(N[d+200>>2]^N[d+192>>2])^2025677871,N[d+204>>2]^N[d+196>>2]^b^-1602871964,0,0,(b|g)^-1598805797,c^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805805,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);b=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);b=O[a+40|0]|O[a+41|0]<<8|(O[a+42|0]<<16|O[a+43|0]<<24);a=b;hb(d+16|0,a^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);b=N[d+8>>2]^N[d>>2];c=N[d+12>>2]^N[d+4>>2];break a;case 1:b=so(N[a+8>>2],N[a+12>>2],b,c);c=Pa;break a;case 2:break b;default:break a}}e=b;b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+368|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+352|0,N[d+376>>2]^N[d+368>>2],N[d+380>>2]^N[d+372>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+336|0,b^(N[d+360>>2]^N[d+352>>2])^2025677871,N[d+364>>2]^N[d+356>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+320|0,N[d+344>>2]^N[d+336>>2],N[d+348>>2]^N[d+340>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+304|0,b^(N[d+328>>2]^N[d+320>>2])^2025677871,N[d+332>>2]^N[d+324>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+288|0,N[d+312>>2]^N[d+304>>2],N[d+316>>2]^N[d+308>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+272|0,b^(N[d+296>>2]^N[d+288>>2])^2025677871,N[d+300>>2]^N[d+292>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);a=b;hb(d+240|0,a^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=N[d+232>>2]^N[d+224>>2];c=N[d+236>>2]^N[d+228>>2]}La=d+384|0;Pa=c;return b|0}function Gg(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;c=N[a+36>>2];s=N[a+40>>2];m=N[a+28>>2];t=N[a+24>>2];v=m+T(t,40)|0;a:{if(b){w=8;if((t|0)<=0){break a}a=m;while(1){N[a+24>>2]=N[a+20>>2];N[a+28>>2]=N[a+8>>2];a=a+40|0;if(v>>>0>a>>>0){continue}break}break a}w=4;if((t|0)<=0){break a}a=m;while(1){N[a+24>>2]=N[a+16>>2];N[a+28>>2]=N[a+4>>2];a=a+40|0;if(v>>>0>a>>>0){continue}break}}if((c|0)>0){A=(c<<2)+s|0;while(1){l=N[s>>2];a=l;h=N[a+36>>2];b:{if(a>>>0>h>>>0){break b}c:{while(1){d:{if(P[a>>1]&w){c=a;e:while(1){e=c;k=h>>>0<=e>>>0;if(!k){c=e+40|0;if(P[e+40>>1]&w){continue}}i=1;f:{g:{g=e+40|0;c=g;d=h>>>0>>0;if(!d){while(1){if(P[c>>1]&w){break g}i=i+1|0;c=e+T(i,40)|0;if(h>>>0>=c>>>0){continue}break}}if((a|0)!=(e|0)){break f}c=N[a+24>>2];g=N[a+28>>2];if((c|0)==(g|0)){break b}g=c-g|0;if(a>>>0>l>>>0){break d}break c}if(i>>>0<2){continue}i=e+T(i,40)|0;q=i-40|0;k=N[e+28>>2]>N[i+28>>2];i=k?e:c;d=N[i+24>>2];i=N[i+28>>2];r=d-i|0;e=k?c:e;k=N[e+24>>2];e=N[e+28>>2];o=k-e|0;if(!((d|0)!=(k|0)&(e|0)!=(i|0))){while(1){d=N[g+28>>2];N[g+24>>2]=(e|0)<(d|0)?(d|0)<(i|0)?k:d+r|0:d+o|0;g=g+40|0;if(q>>>0>=g>>>0){continue}continue e}}p=fb(d-k|0,i-e|0);d=p>>31;d=(d^p)-d|0;y=d&65535;z=d>>>16|0;x=d>>>8|0;while(1){f=N[g+28>>2];h:{if((f|0)<=(e|0)){j=f+o|0;break h}j=f+r|0;if((f|0)>=(i|0)){break h}n=f-e|0;f=n>>31;f=(f^n)-f|0;i:{if(f+x>>>0<=8190){j=T(d,f)+32768>>>16|0;break i}j=f&65535;j=T(z,j)+T(d,f>>>16|0)+(T(y,j)+32768>>>16)|0}f=j;u=0-f|0;f=n>>31|1;j=k+((((p|0)<0?0-f|0:f)|0)<0?u:j)|0}N[g+24>>2]=j;g=g+40|0;if(q>>>0>=g>>>0){continue}break}continue}break}j:{if(d|k){break j}c=N[e+28>>2]>N[a+28>>2];i=c?e:a;d=N[i+24>>2];i=N[i+28>>2];q=d-i|0;c=c?a:e;k=N[c+24>>2];c=N[c+28>>2];r=k-c|0;if(!((d|0)!=(k|0)&(c|0)!=(i|0))){while(1){d=N[g+28>>2];N[g+24>>2]=(d|0)>(c|0)?(d|0)<(i|0)?k:d+q|0:d+r|0;g=g+40|0;if(h>>>0>=g>>>0){continue}break j}}o=fb(d-k|0,i-c|0);d=o>>31;d=(d^o)-d|0;p=d&65535;y=d>>>16|0;z=d>>>8|0;while(1){f=N[g+28>>2];k:{if((f|0)<=(c|0)){j=f+r|0;break k}j=f+q|0;if((f|0)>=(i|0)){break k}n=f-c|0;f=n>>31;f=(f^n)-f|0;l:{if(f+z>>>0<=8190){j=T(d,f)+32768>>>16|0;break l}x=f&65535;j=T(x,y)+T(d,f>>>16|0)+(T(p,x)+32768>>>16)|0}f=j;u=0-f|0;f=n>>31|1;j=k+((((o|0)<0?0-f|0:f)|0)<0?u:j)|0}N[g+24>>2]=j;g=g+40|0;if(h>>>0>=g>>>0){continue}break}}if(a>>>0<=m>>>0){break b}k=a-40|0;if(k>>>0>>0){break b}g=N[e+28>>2]>N[a+28>>2];c=g?e:a;h=N[c+24>>2];c=N[c+28>>2];d=h-c|0;a=g?a:e;g=N[a+24>>2];a=N[a+28>>2];f=g-a|0;if(!((h|0)!=(g|0)&(a|0)!=(c|0))){while(1){e=N[l+28>>2];N[l+24>>2]=(a|0)<(e|0)?(e|0)<(c|0)?g:e+d|0:e+f|0;l=l+40|0;if(k>>>0>=l>>>0){continue}break b}}n=fb(h-g|0,c-a|0);e=n>>31;e=(e^n)-e|0;q=e&65535;r=e>>>16|0;o=e>>>8|0;while(1){h=N[l+28>>2];m:{if((h|0)<=(a|0)){j=f+h|0;break m}j=d+h|0;if((c|0)<=(h|0)){break m}i=h-a|0;h=i>>31;h=(h^i)-h|0;n:{if(h+o>>>0<=8190){j=T(e,h)+32768>>>16|0;break n}p=h&65535;j=T(p,r)+T(e,h>>>16|0)+(T(q,p)+32768>>>16)|0}h=j;u=0-h|0;h=i>>31|1;j=g+((((n|0)<0?0-h|0:h)|0)<0?u:j)|0}N[l+24>>2]=j;l=l+40|0;if(k>>>0>=l>>>0){continue}break}break b}a=a+40|0;if(h>>>0>=a>>>0){continue}break b}break}while(1){N[l+24>>2]=g+N[l+28>>2];l=l+40|0;if(l>>>0>>0){continue}break}}c=a+40|0;if(h>>>0>>0){break b}while(1){N[a- -64>>2]=g+N[a+68>>2];a=c;c=a+40|0;if(h>>>0>=c>>>0){continue}break}}s=s+4|0;if(A>>>0>s>>>0){continue}break}}o:{if(b){if((t|0)<=0){break o}while(1){N[m+20>>2]=N[m+24>>2];m=m+40|0;if(v>>>0>m>>>0){continue}break}break o}if((t|0)<=0){break o}while(1){N[m+16>>2]=N[m+24>>2];m=m+40|0;if(v>>>0>m>>>0){continue}break}}}function eh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break b}h=N[b+12>>2];c=h-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65536){break b}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break b}h=h-8|0;N[b+12>>2]=h;if((h|0)<=0){break b}d=1;c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(!c){break b}d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);l=d>>>0<=1?1:d;m=d-1|0;a=a+8|0;while(1){c:{if(a>>>0>>0|a>>>0>e>>>0|e-a>>>0<8){break c}i=N[b+12>>2];d=i-8|0;N[b+12>>2]=d;if((d|0)<=0){break c}c=N[b+32>>2];d=N[c+12>>2];N[b+4>>2]=d;c=N[c+16>>2];e=c+d|0;N[b+8>>2]=e;if((c|0)<0){break a}d:{e:{f:{c=j>>>0>>0?a:0;if(c){if(c>>>0>>0&c>>>0>=d>>>0){break f}N[b+4>>2]=0;N[b+8>>2]=0;d=0;e=0;break e}if(a>>>0>=d>>>0){break e}k=0;break d}N[b+4>>2]=c;e=e-c|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=c+(d>>>0>e>>>0?e:d)|0;N[b+8>>2]=e;d=c}k=0;if(a>>>0>e>>>0){break d}h=e-a|0;if(h>>>0<8){break d}f=i-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i>>>0<8|h>>>0>>0){break d}c=f-i|0;N[b+12>>2]=c;if((c|0)<=0){break d}g:{h:{switch(O[a+5|0]){case 0:g=d;d=a+8|0;if(g>>>0>d>>>0|d>>>0>e>>>0|e-d>>>0<8){break d}c=c-8|0;N[b+12>>2]=c;if((c|0)<=0){break d}d=O[d|0]|O[d+1|0]<<8;if(!d){break g}h=a+16|0;if(h>>>0>e>>>0){break d}d=T((d<<8|d>>>8)&65535,6);if(d>>>0>e-h>>>0){break d}d=c-d|0;N[b+12>>2]=d;if((d|0)>0){break g}break d;case 1:if(a>>>0>>0|h>>>0<18){break d}d=c-18|0;N[b+12>>2]=d;if((d|0)<=0){break d}if(!ph(a+8|0,b)){break d}d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break g;case 2:if(a>>>0>>0|h>>>0<16){break d}f=c-16|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=a+10|0;if(f>>>0>e>>>0|e-f>>>0<2){break d}f=c-18|0;N[b+12>>2]=f;if((f|0)<=0){break d}f=O[a+10|0]|O[a+11|0]<<8;f=((f<<8|f>>>8)&65535)+a|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<4){break d}g=c-22|0;N[b+12>>2]=g;if((g|0)<=0){break d}g=f+2|0;if(g>>>0>e>>>0|e-g>>>0<2){break d}c=c-24|0;N[b+12>>2]=c;if((c|0)<=0){break d}g=O[g|0]|O[g+1|0]<<8;if(g){f=f+4|0;if(f>>>0>e>>>0){break d}n=e-f|0;f=((g<<8|g>>>8)&65535)<<1;if(n>>>0>>0){break d}c=c-f|0;N[b+12>>2]=c;if((c|0)<=0){break d}}f=a+12|0;if(f>>>0>e>>>0|e-f>>>0<2){break d}N[b+12>>2]=c-2;if((c|0)<3){break d}g=d;d=O[a+12|0]|O[a+13|0]<<8;f=((d<<8|d>>>8)&65535)+a|0;if(g>>>0>f>>>0|e>>>0>>0|e-f>>>0<4){break d}N[b+12>>2]=c-6;if((c|0)<7){break d}g=f+2|0;if(g>>>0>e>>>0|e-g>>>0<2){break d}d=c-8|0;N[b+12>>2]=d;if((c|0)<9){break d}c=O[g|0]|O[g+1|0]<<8;if(c){f=f+4|0;if(f>>>0>e>>>0){break d}c=((c<<8|c>>>8)&65535)<<1;if(c>>>0>e-f>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}c=O[a+14|0]|O[a+15|0]<<8;if(!c){break g}c=(c<<8|c>>>8)&65535;if(c>>>0>h>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break g}break d;case 3:break h;default:break g}}if(a>>>0>>0|h>>>0<14){break d}d=c-14|0;N[b+12>>2]=d;if((d|0)<=0){break d}c=O[a+8|0]|O[a+9|0]<<8;c=T(O[a+12|0],O[a+11|0])+(O[a+10|0]+((c<<8|c>>>8)&65535)<<1)|0;if(!c){break g}h=a+14|0;if(h>>>0>e>>>0|c>>>0>e-h>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}a=a+i|0;k=1}d=N[b+32>>2];i=N[d+12>>2];N[b+4>>2]=i;d=N[d+16>>2];e=d+i|0;N[b+8>>2]=e;if((d|0)<0){break a}if(!k){break c}d=1;j=j+1|0;if((l|0)!=(j|0)){continue}break b}break}d=0}return d}ba(16656,14279,195,9642);B()}function hu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-176|0;La=h;a:{b:{if(bb(a,19553,13)){break b}c:{switch(O[a+13|0]){case 0:case 9:case 10:case 13:case 32:break c;default:break b}}b=N[e+32>>2];d:{e:{if(!b|!N[b+72>>2]){break e}a=N[b+92>>2];N[h+32>>2]=19320;g=N[a+20>>2];f=g+((Qa[N[a+12>>2]](h+32|0)>>>0)%Q[a+4>>2]<<2)|0;c=N[f>>2];f:{if(!c){break f}while(1){if(Qa[N[a+16>>2]](c,h+32|0)|0){break f}f=f-4|0;if(g>>>0>f>>>0){f=(g+(N[a+4>>2]<<2)|0)-4|0}c=N[f>>2];if(c){continue}break}}if(!N[f>>2]){break e}if(N[b+80>>2]){break d}}b=N[e+32>>2];a=M[b+12>>1];N[b+40>>2]=a;N[h+16>>2]=a;a=h+32|0;Tf(a,h+16|0);f=Md(N[e+32>>2],19320,a);if(f){break a}}b=N[e+32>>2];g:{h:{if(!b|!N[b+72>>2]){break h}a=N[b+92>>2];N[h+168>>2]=19275;g=N[a+20>>2];f=g+((Qa[N[a+12>>2]](h+168|0)>>>0)%Q[a+4>>2]<<2)|0;c=N[f>>2];i:{if(!c){break i}while(1){if(Qa[N[a+16>>2]](c,h+168|0)|0){break i}f=f-4|0;if(g>>>0>f>>>0){f=(g+(N[a+4>>2]<<2)|0)-4|0}c=N[f>>2];if(c){continue}break}}if(!N[f>>2]){break h}if(N[b+80>>2]){break g}}b=N[e+32>>2];a=M[b+14>>1];N[b+44>>2]=a;N[h>>2]=a;a=h+32|0;Tf(a,h);f=Md(N[e+32>>2],19275,a);if(f){break a}}N[e>>2]=N[e>>2]&-17;N[d>>2]=173;f=0;break a}j:{if(bb(a,19567,21)){break j}switch(O[a+21|0]){case 0:case 9:case 10:case 13:case 32:break a;default:break j}}k:{if(bb(a,19233,7)){break k}f=a+7|0;l:{switch(O[a+7|0]){case 9:case 10:case 13:case 32:L[a+7|0]=0;f=a+8|0;break;case 0:break l;default:break k}}f=Md(N[e+32>>2],a,f);break a}i=N[e+32>>2];c=a;m:{while(1){n:{d=-1;o:{p:{f=O[c|0];switch(f|0){case 0:break m;case 9:break n;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break o;default:break p}}if((f|0)==32){break n}}c=c+1|0;continue}break}L[c|0]=0;d=f}q:{if(!a|!O[a|0]){break q}N[h+32>>2]=a;k=N[i+132>>2];f=k+((Qa[N[i+124>>2]](h+32|0)>>>0)%Q[i+116>>2]<<2)|0;g=N[f>>2];r:{if(!g){break r}while(1){if(Qa[N[i+128>>2]](g,h+32|0)|0){break r}f=f-4|0;if(k>>>0>f>>>0){f=(k+(N[i+116>>2]<<2)|0)-4|0}g=N[f>>2];if(g){continue}break}}f=N[f>>2];if(!f){break q}f=N[f+4>>2];if(f>>>0>=83){l=(N[i+104>>2]+(f<<4)|0)-1328|0;break q}l=(f<<4)+43712|0}if((d|0)!=-1){L[c|0]=d}s:{t:{if(!(N[l+4>>2]!=1?l:0)){g=a+b|0;d=O[c|0];if(!d){break t}L[c|0]=0;c=c+1|0;f=0;break s}f=Kc(e+40|0,22537,a,b);if(f){break a}k=N[N[e+40>>2]>>2];c=0;u:{v:{w:{b=N[e+48>>2];switch(b|0){case 0:break u;case 1:break w;default:break v}}N[e+48>>2]=0;break u}g=b-1|0;i=g&3;a=0;f=1;if(b-2>>>0>=3){l=g&-4;while(1){d=N[e+40>>2];b=c<<2;m=d+b|0;j=d;d=f<<2;N[m>>2]=N[j+d>>2];j=N[e+40>>2];N[j+(b|4)>>2]=N[(d+j|0)+4>>2];j=N[e+40>>2];N[j+(b|8)>>2]=N[(d+j|0)+8>>2];j=b|12;b=N[e+40>>2];N[j+b>>2]=N[(b+d|0)+12>>2];f=f+4|0;c=c+4|0;if((l|0)!=(c|0)){continue}break}}if(i){while(1){b=N[e+40>>2];N[b+(c<<2)>>2]=N[b+(f<<2)>>2];f=f+1|0;c=c+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}N[e+48>>2]=g;if(!g){c=0;break u}b=N[N[e+40>>2]>>2];f=0;a=0;while(1){c=N[N[e+40>>2]+(a<<2)>>2];d=O[c|0];if(d){while(1){L[b+f|0]=d;f=f+1|0;d=O[c+1|0];c=c+1|0;if(d){continue}break}g=N[e+48>>2]}a=a+1|0;if(g>>>0>a>>>0){L[b+f|0]=32;g=N[e+48>>2];f=f+1|0}if(a>>>0>>0){continue}break}c=441572;if((b|0)==441572){break u}L[b+f|0]=0;c=b}f=Md(N[e+32>>2],k,c);break a}f=1}while(1){if(!f){d=O[c|0];f=1;continue}x:{b=d&255;if(!((b|0)!=32&(b|0)!=9)){c=c+1|0;break x}b=((d&255)==34)+c|0;y:{if(b>>>0>=g>>>0){break y}while(1){z:{A:{g=g-1|0;switch(O[g|0]-9|0){case 25:break z;case 0:case 23:break A;default:break y}}L[g|0]=0;if(b>>>0>>0){continue}break y}break}L[g|0]=0}f=Md(N[e+32>>2],a,b);break a}f=0;continue}}La=h+176|0;return f|0}function Tl(a){var 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;j=La-16|0;La=j;d=N[a+104>>2];b=Qa[N[a+516>>2]](a,1886352244,d,j+4|0)|0;a:{if(b){break a}f=N[d+8>>2];e=f+32|0;g=N[a+476>>2];c=N[d+20>>2];b:{if(c){b=85;if(!(Qa[c|0](d,e,0,0)|0)){break b}break a}b=85;if(Q[d+4>>2]>>0){break a}}N[d+8>>2]=e;c:{d:{e:{c=N[j+4>>2];if(!((g|0)!=131072|c>>>0<34)){g=N[d+28>>2];N[j+8>>2]=0;f:{if(Q[d+4>>2]<=f+33>>>0){break f}b=N[d+20>>2];if(b){if((Qa[b|0](d,e,j+12|0,2)|0)!=2){break f}e=N[d+8>>2];b=j+12|0;break e}b=N[d>>2];if(b){b=b+e|0;break e}N[d+8>>2]=e+2;f=0;break d}b=85;break c}b=3;if((g|0)!=151552|c>>>0<34){break c}g:{h:{i:{if(Q[d+4>>2]<=f+33>>>0){break i}h=N[d+28>>2];c=N[d+20>>2];j:{if(c){if((Qa[c|0](d,e,j+14|0,2)|0)!=2){break i}e=N[d+8>>2];c=j+14|0;break j}c=N[d>>2];if(!c){break h}c=c+e|0}c=O[c|0]|O[c+1|0]<<8;c=c<<8|c>>>8;break g}b=85;break c}c=0}N[d+8>>2]=e+2;f=c&65535;if(P[a+264>>1]<=(c-1&65535)>>>0|f>>>0>258){break c}g=Qa[N[h+4>>2]](h,f)|0;if(!g){b=64;break c}e=0;C(g,0,f);k:{b=Zb(d,g,f);if(!b){while(1){if(f>>>0>=L[e+g|0]+e>>>0){e=e+1|0;if((f|0)!=(e|0)){continue}break k}break}b=3}Qa[N[h+8>>2]](h,g);break c}N[a+640>>2]=g;M[a+636>>1]=c;b=0;break c}f=O[b|0]|O[b+1|0]<<8;N[d+8>>2]=e+2;b=3;n=f<<8|f>>>8;f=n&65535;if(f>>>0>P[a+264>>1]){break c}}b=3;m=c-34|0;k=f<<1;if(m>>>0>>0){break c}l=lb(g,2,0,f,0,j+8|0);l:{m:{b=N[j+8>>2];if(b){break m}b=Bb(d,k);N[j+8>>2]=b;if(b){break m}c=n&65535;n:{o:{if(c){b=N[d+32>>2];h=N[d+36>>2];e=0;if((c|0)!=1){o=f&65534;while(1){p:{if(h>>>0<=b+1>>>0){c=0;break p}c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[(e<<1)+l>>1]=c;c=0;if(h>>>0>b+1>>>0){c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[((e|1)<<1)+l>>1]=c;e=e+2|0;i=i+2|0;if((o|0)!=(i|0)){continue}break}}if(f&1){c=0;if(h>>>0>b+1>>>0){c=O[b|0]|O[b+1|0]<<8;c=c<<8|c>>>8;b=b+2|0}N[d+32>>2]=b;M[(e<<1)+l>>1]=c}if(N[d+20>>2]){b=N[d>>2];if(b){c=N[d+28>>2];Qa[N[c+8>>2]](c,b)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0;h=f&1;q:{if((n&65535)==1){c=0;e=0;break q}c=f&65534;b=0;e=0;while(1){f=b<<1;i=P[(f|2)+l>>1];o=i-257|0;f=P[f+l>>1];p=f-257|0;e=f>>>0>257?(e&65535)<(p|0)?p:e:e;e=i>>>0>257?(o|0)>(e&65535)?o:e:e;b=b+2|0;if((c|0)!=(b|0)){continue}break}}if(h){b=P[(c<<1)+l>>1];c=b-257|0;e=b>>>0>257?(c|0)>(e&65535)?c:e:e}if(!(e&65535)){break o}f=m-k|0;c=f+1|0;r:{if(f>>>0<=2147483646){h=Qa[N[g+4>>2]](g,c)|0;if(h){break r}b=64;break l}b=6;if(c){break l}h=0}b=Zb(d,h,f);N[j+8>>2]=b;s:{if(b){break s}c=0;k=e&65535;d=lb(g,4,0,k,0,j+8|0);t:{b=N[j+8>>2];if(b){break t}u:{if(f){b=0;while(1){i=b+h|0;m=O[i|0];if(m>>>0>63){b=3;break t}L[i|0]=0;N[(c<<2)+d>>2]=i+1;b=(b+m|0)+1|0;c=c+1|0;if(f>>>0>b>>>0&k>>>0>c>>>0){continue}break}L[f+h|0]=0;if(c>>>0>>0){break u}break n}L[h|0]=0;f=1;b=Qa[N[g+12>>2]](g,1,2,h)|0;h=b?b:h;if(!b){b=!b<<6;break t}L[h+1|0]=0}i=c&65535;if(i>>>0>=(e&65535)>>>0){break n}b=f+h|0;f=k+(i^-1)|0;g=k-c&7;if(g){c=0;while(1){N[(i<<2)+d>>2]=b;i=i+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}}if(f>>>0<7){break n}while(1){c=(i<<2)+d|0;N[c>>2]=b;N[c+28>>2]=b;N[c+24>>2]=b;N[c+20>>2]=b;N[c+16>>2]=b;N[c+12>>2]=b;N[c+8>>2]=b;N[c+4>>2]=b;i=i+8|0;if((k|0)!=(i|0)){continue}break}break n}if(!d){break s}Qa[N[g+8>>2]](g,d)}if(!h){break m}Qa[N[g+8>>2]](g,h);break m}if(N[d+20>>2]){b=N[d>>2];if(b){c=N[d+28>>2];Qa[N[c+8>>2]](c,b)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0}e=0;d=0}N[a+644>>2]=d;N[a+640>>2]=l;M[a+638>>1]=e;M[a+636>>1]=n;b=0;break c}if(!l){break c}}Qa[N[g+8>>2]](g,l)}L[a+632|0]=1}La=j+16|0;return b}function sz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=La-384|0;La=d;e=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);hb(d+368|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+352|0,N[d+376>>2]^N[d+368>>2],N[d+380>>2]^N[d+372>>2],0,0,-1598805793,-419201327,0,0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);hb(d+336|0,b^(N[d+360>>2]^N[d+352>>2])^2025677871,N[d+364>>2]^N[d+356>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+320|0,N[d+344>>2]^N[d+336>>2],N[d+348>>2]^N[d+340>>2],0,0,-1598805793,-419201327,0,0);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+304|0,b^(N[d+328>>2]^N[d+320>>2])^2025677871,N[d+332>>2]^N[d+324>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+288|0,N[d+312>>2]^N[d+304>>2],N[d+316>>2]^N[d+308>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+272|0,b^(N[d+296>>2]^N[d+288>>2])^2025677871,N[d+300>>2]^N[d+292>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+240|0,b^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+208|0,b^(N[d+232>>2]^N[d+224>>2])^2025677871,N[d+236>>2]^N[d+228>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=N[d+200>>2]^N[d+192>>2];c=N[d+204>>2]^N[d+196>>2];g=N[a+24>>2];if(g){h=N[a+28>>2];while(1){a=b;e=T(f,24)+h|0;b=e;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);hb(d+176|0,a^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805793,-419201327,0,0);b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=a;hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[e+16|0]|O[e+17|0]<<8|(O[e+18|0]<<16|O[e+19|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);b=O[e+20|0]|O[e+21|0]<<8|(O[e+22|0]<<16|O[e+23|0]<<24);hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);b=N[d+8>>2]^N[d>>2];c=N[d+12>>2]^N[d+4>>2];f=f+1|0;if((g|0)!=(f|0)){continue}break}}La=d+384|0;Pa=c;return b|0}function Rm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-16|0;La=g;N[b+12>>2]=0;N[b>>2]=c;h=c+d|0;N[b+8>>2]=h;Qa[N[b+28>>2]](b);c=N[b>>2];a:{b:{if(h>>>0<=c>>>0){break b}k=a+132|0;m=a+164|0;n=a+168|0;o=a+464|0;while(1){c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{d=O[c|0];switch(d-99|0){case 1:break i;case 0:break k;case 2:break l;default:break j}}d=c+6|0;if((d|0)==(h|0)){break h}if(d>>>0>=h>>>0){break d}switch(O[c+5|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break h;default:break d}}m:{d=c+10|0;if((d|0)==(h|0)){break m}if(d>>>0>=h>>>0){break d}switch(O[c+9|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break m;default:break d}}if(bb(c,16013,9)){break d}break b}if((d|0)==70){break e}}if(d-48>>>0<=9){Qa[N[b+32>>2]](b);e=1;l=c;if(!N[b+12>>2]){break c}break b}f=c+6|0;if(!((d|0)!=82|f>>>0>=h>>>0)){if(!e|O[c+1|0]!=68){break d}N[b>>2]=l;e=N[N[a+128>>2]+52>>2];d=N[b+8>>2];Qa[N[b+28>>2]](b);n:{c=N[b>>2];o:{if(c>>>0>=d>>>0|O[c|0]-48>>>0>9){break o}c=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((c|0)<0){break o}f=d;d=N[b>>2];if((c|0)<(f+(d^-1)|0)){break n}}c=3;if(e){break a}break f}N[b>>2]=(c+d|0)+1;e=0;if(!N[b+12>>2]){break c}c=3;break a}if(!((d|0)!=45|f>>>0>=h>>>0)){if(!e|O[c+1|0]!=124){break d}N[b>>2]=l;e=N[N[a+128>>2]+52>>2];d=N[b+8>>2];Qa[N[b+28>>2]](b);p:{c=N[b>>2];q:{if(c>>>0>=d>>>0|O[c|0]-48>>>0>9){break q}c=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((c|0)<0){break q}f=d;d=N[b>>2];if((c|0)<(f+(d^-1)|0)){break p}}c=3;if(!e){break f}break a}N[b>>2]=(c+d|0)+1;e=0;if(!N[b+12>>2]){break c}c=3;break a}if((d|0)!=47|c+2>>>0>=h>>>0){break d}i=c+1|0;N[b>>2]=i;Qa[N[b+32>>2]](b);if(N[b+12>>2]){break b}e=0;c=N[b>>2];if((c|0)==(i|0)){break c}j=c-i|0;if(j>>>0>21|c>>>0>=h>>>0){break c}p=O[i|0];c=28752;f=37600;while(1){d=c;r:{if(O[f|0]!=(p|0)){break r}if((nb(f)|0)!=(j|0)){break r}if(Mb(i,f,j)){break r}c=N[b+376>>2];if(!(N[d+32>>2]&(c&1?2:1))){break c}if(c&2){if(cb(f,11012)){break c}}f=N[a+532>>2];if(f){c=N[f>>2]?f:0}else{c=0}i=N[d+8>>2];s:{if((i|0)==11){Qa[N[d+12>>2]](a,b);c=N[b+12>>2];break s}t:{u:{v:{w:{x:{y:{z:{switch(N[d+4>>2]-2|0){case 1:N[g+12>>2]=k;if(c){break y}e=g+12|0;break u;case 2:N[g+12>>2]=n;e=g+12|0;if(!c){break u}e=c+212|0;break x;case 3:N[g+12>>2]=o;e=g+12|0;if(!c){break u}e=c+284|0;break x;case 4:N[g+12>>2]=b;e=g+12|0;break u;case 5:N[g+12>>2]=a;e=g+12|0;break u;case 6:N[g+12>>2]=f;e=g+12|0;c=0;break w;case 0:break v;default:break z}}N[g+12>>2]=k;e=g+12|0;break u}e=c+144|0}f=N[e>>2];c=N[c>>2]}if(f){break t}break g}N[g+12>>2]=m;e=g+12|0}c=0}if(i-9>>>0<=1){c=Qa[N[b+68>>2]](b,d,e,c,0)|0;break s}c=Qa[N[b+64>>2]](b,d,e,c,0)|0}N[b+12>>2]=c;if(!c){e=0;break c}if((c&255)==162){break g}break a}c=d+36|0;f=N[d+36>>2];if(f){continue}break}break c}if(!bb(c,17782,5)){break b}break d}e=0;N[b+12>>2]=0;break c}N[b+12>>2]=3;break a}A:{d=c+14|0;if((d|0)==(h|0)){break A}if(d>>>0>=h>>>0){break d}switch(O[c+13|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break A;default:break d}}if(bb(c,7876,13)){break d}d=N[b+376>>2];if(d&1){N[b+376>>2]=d|2}N[b>>2]=c+13;break c}Qa[N[b+32>>2]](b);e=0;if(N[b+12>>2]){break b}}Qa[N[b+28>>2]](b);c=N[b>>2];if(h>>>0>c>>>0){continue}break}}c=N[b+12>>2]}La=g+16|0;return c}function Bk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<4){break b}d=N[b+12>>2];f=d-4|0;N[b+12>>2]=f;if((O[a|0]|O[a+1|0]<<8)!=256|(f|0)<=0){break b}f=a+4|0;if(f>>>0>e>>>0|e-f>>>0<4){break b}g=d-8|0;N[b+12>>2]=g;if((g|0)<=0){break b}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>536870911){break b}i=f<<3;if(i){h=a+8|0;if(h>>>0>e>>>0|i>>>0>e-h>>>0){break b}e=g-i|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!d){return 1}m=f>>>0<=1?1:f;i=0;while(1){f=N[b+4>>2];k=(i<<3)+a|0;e=k+8|0;if(f>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}g=N[b+12>>2];c=g-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);c:{if(!c){break c}if(c&128){break a}d:{e:{h=f;f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(h>>>0>f>>>0|d>>>0>>0|d-f>>>0<2){break e}c=g-6|0;N[b+12>>2]=c;if((c|0)<=0){break e}g=O[f|0]|O[f+1|0]<<8;if(!g){break c}h=f+2|0;if(h>>>0>d>>>0){break e}h=d-h|0;d=(g<<8|g>>>8)&65535;g=d<<2;if(h>>>0>>0){break e}c=c-g|0;N[b+12>>2]=c;if((c|0)<=0){break e}n=d>>>0<=1?1:d;g=0;while(1){l=N[b+4>>2];d=(f+(g<<2)|0)+2|0;if(l>>>0>d>>>0){break e}h=N[b+8>>2];if(h>>>0>>0|h-d>>>0<4){break e}j=N[b+12>>2];c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break e}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f:{if(!c){break f}if(c&128){break e}c=f+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g:{if(c>>>0>>0|c>>>0>h>>>0){break g}h=h-c|0;if(h>>>0<2){break g}l=j-6|0;N[b+12>>2]=l;if((l|0)<=0){break g}if((O[c|0]|O[c+1|0]<<8)!=256){break f}if(h>>>0<8){break g}c=j-14|0;N[b+12>>2]=c;if((c|0)>0){break f}}c=N[b+28>>2];if(c>>>0>31){break a}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break d}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}g=g+1|0;if((n|0)!=(g|0)){continue}break}break c}c=N[b+28>>2]}if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}g=N[b+4>>2];e=k+12|0;if(g>>>0>e>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<4){break a}h=N[b+12>>2];c=h-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h:{if(!c){break h}if(c&128){break a}i:{j:{f=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(f>>>0>>0|d>>>0>>0|d-f>>>0<4){break j}c=h-8|0;N[b+12>>2]=c;if((O[f|0]|O[f+1|0]<<8)!=256|(c|0)<=0){break j}c=f+4|0;if(c>>>0>>0|c>>>0>d>>>0|d-c>>>0<2){break j}g=h-10|0;N[b+12>>2]=g;if((g|0)<=0){break j}c=O[c|0]|O[c+1|0]<<8;if(!c){break h}h=f+6|0;if(h>>>0>d>>>0){break j}h=d-h|0;d=(c<<8|c>>>8)&65535;c=T(d,6);if(h>>>0>>0){break j}c=g-c|0;N[b+12>>2]=c;if((c|0)<=0){break j}h=d>>>0<=1?1:d;g=0;while(1){j=f+T(g,6)|0;d=j+6|0;if(d>>>0>2]){break j}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<6){break j}k=N[b+12>>2];d=k-6|0;N[b+12>>2]=d;if((d|0)<=0){break j}d=j+8|0;if(d>>>0>c>>>0|c-d>>>0<4){break j}c=k-10|0;N[b+12>>2]=c;if((c|0)<=0){break j}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);k:{if(!c){break k}if(c&128){break j}if(Ak(f+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,b,0)){break k}c=N[b+28>>2];if(c>>>0>31){break a}c=c+1|0;N[b+28>>2]=c;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}g=g+1|0;if((h|0)!=(g|0)){continue}break}break h}c=N[b+28>>2]}if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}c=1;i=i+1|0;if((m|0)!=(i|0)){continue}break}}return c}return 0}function Do(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,o=0,p=0,q=0;h=La-1840|0;La=h;a:{if(!a){j=N[2];p=0;break a}j=N[a+8>>2];p=0;if(!(j&8)){break a}p=P[a+340>>1]}b:{if(!(j&1)){break b}c:{d:{e:{if(p){while(1){f=6;k=h+1024|0;if(!(!a|!k|(!(O[a+8|0]&8)|P[a+340>>1]<=q>>>0))){f=0;g=N[a+356>>2];i=g+T(q,20)|0;e=P[i+8>>1];d=0;f:{if(!e){break f}d=e;if(N[i+16>>2]){break f}n=N[a+104>>2];o=N[a+100>>2];j=Qa[N[o+4>>2]](o,e)|0;g:{if(!j){break g}C(j,0,e);N[i+16>>2]=j;d=N[(g+T(q,20)|0)+12>>2];h:{e=N[n+20>>2];i:{if(e){if(Qa[e|0](n,d,0,0)|0){break h}j=N[i+16>>2];break i}if(d>>>0>Q[n+4>>2]){break h}}N[n+8>>2]=d;if(Zb(n,j,P[i+8>>1])){break h}d=P[i+8>>1];break f}e=N[i+16>>2];if(!e){break g}Qa[N[o+8>>2]](o,e)}N[i+16>>2]=0;M[i+8>>1]=0;d=0}M[k>>1]=P[i>>1];M[k+2>>1]=P[i+2>>1];M[k+4>>1]=P[i+4>>1];M[k+6>>1]=P[i+6>>1];e=N[i+16>>2];N[k+12>>2]=d&65535;N[k+8>>2]=e}j:{if(P[h+1024>>1]!=3|f){break j}k:{switch(P[h+1030>>1]-1|0){case 0:case 3:break k;default:break j}}e=N[h+1036>>2];l:{if((e|0)<=0){e=h;break l}d=N[h+1032>>2];n=e+d|0;k=1024;e=h;while(1){g=e;m:{n:{o:{e=d;j=n-e|0;if(j>>>0>=2){f=O[e|0];i=O[e+1|0]|f<<8;d=e+2|0;if((f&252)!=216){break n}j=j-2|0;if(j>>>0>=2){break o}}d=d+j|0;f=65533;break m}o=O[d|0]<<8;f=65533;if(o-57344>>>0<4294966272){break m}i=((o|O[e+3|0])+(i<<10)|0)-56613888|0;d=e+4|0}f=(i&-1024)==56320?65533:i}if(k>>>0<5){e=g;break l}p:{if(f>>>0<=127){L[g|0]=f;e=g+1|0;break p}if(f>>>0<=2047){L[g+1|0]=f&63|128;L[g|0]=f>>>6|192;e=g+2|0;break p}if(f>>>0<=65535){L[g+2|0]=f&63|128;L[g|0]=f>>>12|224;L[g+1|0]=f>>>6&63|128;e=g+3|0;break p}e=g;if(f>>>0>1114111){break p}L[g+3|0]=f&63|128;L[g|0]=f>>>18|240;L[g+2|0]=f>>>6&63|128;L[g+1|0]=f>>>12&63|128;e=g+4|0}L[e|0]=0;k=(g-e|0)+k|0;if(d>>>0>>0){continue}break}}L[e|0]=0;e=P[h+1030>>1];if(!((e|0)!=4|(m|0)>99)){e=Hb(h);N[(h+1440|0)+(m<<2)>>2]=e;if(!e){break d}m=m+1|0;break j}if((e|0)!=1|(l|0)>99){break j}e=Hb(h);N[(h+1040|0)+(l<<2)>>2]=e;if(!e){break d}l=l+1|0}q=q+1|0;if((p|0)!=(q|0)){continue}break}if(l){break e}}if(!b){b=N[a+20>>2];if(!b){break c}}b=Hb(b);N[h+1040>>2]=b;l=1;if(!b){break c}}g=0-(N[a+12>>2]&1)&110;q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{if(!(O[a+8|0]&8)){break A}e=N[a+96>>2];b=N[N[e>>2]+32>>2];if(!b){break A}b=Qa[b|0](e,16067)|0;if(!b){break A}b=Qa[N[b+4>>2]](a,2)|0;if(!b){break A}d=100;b=P[b+4>>1];switch(b|0){case 1:break q;case 9:break s;case 8:break t;case 7:break u;case 6:break v;case 5:break w;case 4:break x;case 3:break y;case 2:break z;case 0:break A;default:break r}}d=O[a+12|0]&2?700:400;break q}d=200;break q}d=300;break q}d=350;break q}d=400;break q}d=600;break q}d=700;break q}d=800;break q}d=900;break q}d=b}N[c+32>>2]=100;N[c+28>>2]=d;N[c+24>>2]=g;j=0;B:{C:{D:{e=N[a+128>>2];d=N[e+28>>2];switch(d+2|0){case 0:break B;case 2:break D;default:break C}}d=N[a+96>>2];b=N[N[d>>2]+32>>2];E:{if(!b){d=0;break E}d=Qa[b|0](d,15866)|0;e=N[a+128>>2]}N[e+28>>2]=d?d:-2}if(!d){break B}b=N[d>>2];if(!b){break B}j=Qa[b|0](a)|0}N[c+8>>2]=j;a=db(4,l);N[c>>2]=a;if(!a){break d}F(a,h+1040|0,l<<2);N[c+16>>2]=l;d=1;if(!m){break b}a=db(4,m);N[c+4>>2]=a;if(!a){break d}F(a,h+1440|0,m<<2);N[c+20>>2]=m;break b}d=0;if((l|0)<=0){break c}while(1){_a(N[(h+1040|0)+(d<<2)>>2]);d=d+1|0;if((l|0)!=(d|0)){continue}break}}d=0;if((m|0)>0){while(1){_a(N[(h+1440|0)+(d<<2)>>2]);d=d+1|0;if((m|0)!=(d|0)){continue}break}}_a(N[c>>2]);_a(N[c+4>>2]);N[c>>2]=0;N[c+4>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;d=0}La=h+1840|0;return d}function fj(a,b,c,d){var e=U(0),f=0,g=0,h=0,i=U(0),j=0,k=0,l=U(0),m=U(0),n=U(0),o=U(0),p=0,q=0,r=U(0),s=U(0),t=U(0);g=La-80|0;La=g;a:{if(Q[a+16>>2]>c>>>0){N[g+76>>2]=0;N[g+68>>2]=0;N[g+72>>2]=0;f=N[a+20>>2];f=N[(f?f:275552)+12>>2];b:{if(O[a+12|0]){h=f+(c<<1)|0;f=O[h|0]|O[h+1|0]<<8;j=((f<<8|f>>>8)&65535)<<1;f=O[h+2|0]|O[h+3|0]<<8;h=((f<<8|f>>>8)&65535)<<1;break b}h=f+(c<<2)|0;f=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);j=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}f=N[d+4>>2];c:{d:{if(h>>>0>=j>>>0){p=N[a+24>>2];p=p?p:275552;if(h>>>0<=Q[p+16>>2]){break d}}N[g+48>>2]=0;N[g+40>>2]=0;N[g+44>>2]=0;N[g+56>>2]=-1;N[g+60>>2]=0;N[g+52>>2]=275552;break c}p=N[p+12>>2]+j|0;h=h-j|0;j=h>>>0<10?275552:p;k=O[j|0]|O[j+1|0]<<8;if(k){k=(k<<8|k>>>8)<<16>>16>0?1:(k|0)==65279?3:2}else{k=0}N[g+60>>2]=k;N[g+56>>2]=c;N[g+52>>2]=j;N[g+48>>2]=0;N[g+44>>2]=h;N[g+40>>2]=p}N[g+32>>2]=0;N[g+16>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;j=ej(g+40|0,b,a,g+68|0,!f,g+8|0,0);e:{if(!j){break e}f:{if(!f){break f}c=N[g+72>>2];if(c>>>0<=3){break a}b=c-4|0;g:{if(!b){l=R[d+28>>2];m=R[d+20>>2];n=R[d+24>>2];o=R[d+16>>2];break g}l=R[d+28>>2];n=R[d+24>>2];m=R[d+20>>2];o=R[d+16>>2];a=0;k=N[g+76>>2];h:{if((c|0)!=5){p=c&1;h=b&-2;while(1){c=k+T(a,12)|0;r=R[c+4>>2];e=l>=r?l:r;b=k+T(a|1,12)|0;s=R[b+4>>2];l=e>=s?e:s;t=R[c>>2];e=n>=t?n:t;i=R[b>>2];n=e>=i?e:i;e=m<=r?m:r;m=e<=s?e:s;e=o<=t?o:t;o=e<=i?e:i;a=a+2|0;q=q+2|0;if((h|0)!=(q|0)){continue}break}if(!p){break h}}a=k+T(a,12)|0;i=R[a+4>>2];l=l>=i?l:i;e=R[a>>2];n=e<=n?n:e;m=m<=i?m:i;o=e>=o?o:e}R[d+28>>2]=l;R[d+24>>2]=n;R[d+20>>2]=m;R[d+16>>2]=o}if(n<=o|l<=m){N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;break f}if(O[d+12|0]){b=N[d>>2];i=R[b+44>>2];e=U(Z(U(U(o*i)+U(.5))));i:{if(U(V(e))>2]=a;e=U(Z(U(U(n*i)+U(.5))));j:{if(U(V(e))>2]=c-a;i=R[b+48>>2];e=U(Z(U(U(l*i)+U(.5))));k:{if(U(V(e))>2]=a;e=U(Z(U(U(m*i)+U(.5))));l:{if(U(V(e))>2]=b-a;break f}e=U(Z(U(o+U(.5))));m:{if(U(V(e))>2]=b;e=U(Z(U(l+U(.5))));n:{if(U(V(e))>2]=a;e=U(Z(U(U(n-U(b|0))+U(.5))));o:{if(U(V(e))>2]=b;e=U(Z(U(U(m-U(a|0))+U(.5))));if(U(V(e))>2]=~~e;break f}N[f+12>>2]=-2147483648}b=N[d+8>>2];if(!b){break e}p:{q:{r:{s:{t:{d=N[g+72>>2];u:{if(d>>>0>=4){c=(N[g+76>>2]+T(d,12)|0)-48|0;a=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=a;M[b+8>>1]=P[c+8>>1];break u}N[147456]=0;N[147457]=0;N[147458]=0;M[b+8>>1]=0;N[b>>2]=0;N[b+4>>2]=0;if(d>>>0<3){break t}}q=N[g+76>>2];c=(q+T(d,12)|0)-36|0;a=N[c+4>>2];N[b+12>>2]=N[c>>2];N[b+16>>2]=a;M[b+20>>1]=P[c+8>>1];break s}N[147456]=0;N[147457]=0;N[147458]=0;M[b+20>>1]=0;N[b+12>>2]=0;N[b+16>>2]=0;if((d|0)!=2){break r}q=N[g+76>>2]}c=(T(d,12)+q|0)-24|0;a=N[c+4>>2];N[b+24>>2]=N[c>>2];N[b+28>>2]=a;M[b+32>>1]=P[c+8>>1];break q}N[b+24>>2]=0;N[b+28>>2]=0;M[b+32>>1]=0;a=589824;if(!d){break p}q=N[g+76>>2]}a=(T(d,12)+q|0)-12|0}c=N[a+4>>2];N[b+36>>2]=N[a>>2];N[b+40>>2]=c;M[b+44>>1]=P[a+8>>1]}_a(N[g+76>>2])}La=g+80|0;return j}ba(19169,14261,202,9940);B()}function um(a,b){a=a|0;b=b|0;var 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;h=La-1312|0;La=h;j=N[a+4>>2];n=N[j+136>>2];o=N[j+100>>2];m=N[N[j+128>>2]+52>>2];a:{b:{c:{d:{if(m){e=Qa[N[N[m>>2]>>2]](N[m+4>>2],b,h+656|0)|0;if(e){break c}e=0;d=N[j+288>>2];g=d&255;e:{if(!g){break e}l=d&3;c=N[h+656>>2];if(g>>>0>=4){c=(d+252&252)+c|0;g=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);c=c+4|0}if(!l){break e}while(1){k=O[c|0]|k<<8;c=c+1|0;f=f+1|0;if((l|0)!=(f&255)){continue}break}}c=N[h+660>>2];f:{if(!c){f=0;c=0;d=1;break f}g:{h:{f=c-d|0;if((f|0)>0){c=Qa[N[o+4>>2]](o,f)|0;if(c){break h}e=64;c=0;d=0;break f}e=6;c=0;if(!f){break g}d=0;break f}d=N[j+288>>2]}F(c,N[h+656>>2]+d|0,f);e=0;d=1}Qa[N[N[m>>2]+4>>2]](N[m+4>>2],h+656|0);if(d){break d}break c}d=N[j+292>>2]+N[j+288>>2]|0;c=(N[j+284>>2]+N[j+308>>2]|0)+T(d,b)|0;i:{g=N[j+328>>2];f=N[g+20>>2];if(f){e=85;if(Qa[f|0](g,c,0,0)|0){break a}break i}if(c>>>0<=Q[g+4>>2]){break i}e=85;break a}N[g+8>>2]=c;e=Bb(g,d<<1);if(e){break a}e=N[g+32>>2];d=e;l=N[j+288>>2];i=l&255;if(i){f=0;c=e;if(i>>>0>=4){c=e+(l+252&252)|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);k=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}d=l&3;if(d){while(1){k=O[c|0]|k<<8;c=c+1|0;f=f+1|0;if((d|0)!=(f&255)){continue}break}}d=e+(l&255)|0}f=0;p=N[j+292>>2];j:{if(!(p&255)){break j}c=d;if((p&255)>>>0>=4){c=e+((p+252&252)+(l&255)|0)|0;i=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);q=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);c=c+4|0}r=p&3;if(r){while(1){q=O[c|0]|q<<8;c=c+1|0;f=f+1|0;if((f&255)!=(r|0)){continue}break}}i=0;c=p&255;k:{if(c>>>0<4){f=0;c=(c+d|0)+l|0;break k}c=e+((c+((p+252&252)+l|0)|0)+(l&255)|0)|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}if(!r){break j}while(1){f=O[c|0]|f<<8;c=c+1|0;i=i+1|0;if((i&255)!=(r|0)){continue}break}}if(N[g+20>>2]){c=N[g>>2];if(c){d=N[g+28>>2];Qa[N[d+8>>2]](d,c)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;i=0;e=9;if(Q[g+4>>2]>>0|Q[j+300>>2]<=k>>>0|f>>>0>>0){break a}f=f-q|0;if(!f){e=0;break a}if((f|0)<=0){e=6;break a}c=Qa[N[o+4>>2]](o,f)|0;if(!c){e=64;break a}e=Xh(g,N[j+308>>2]+q|0,c,f);if(e){break b}}d=N[j+316>>2]+(k<<3)|0;N[a+1364>>2]=N[d>>2];d=N[d+4>>2];N[a+1372>>2]=0;N[a+1376>>2]=0;N[a+1368>>2]=d;d=N[j+304>>2]+T(k,252)|0;e=N[d+220>>2];N[a+1380>>2]=N[d+216>>2];N[a+1384>>2]=e;g=N[d+228>>2];e=a+1388|0;N[e>>2]=N[d+224>>2];N[e+4>>2]=g;e=N[d+236>>2];N[a+1396>>2]=N[d+232>>2];N[a+1400>>2]=e;k=N[d+4>>2];N[a+1360>>2]=k;e=9;g=(k|0)>=0?k:0;if(g>>>0>f>>>0){break c}if((k|0)>=0){Qa[N[n+16>>2]](c,f,4330)}l:{if(O[a+70|0]){e=Qa[N[N[n+12>>2]+8>>2]](a,c+g|0,f-g|0)|0;i=0;break l}e=h+656|0;Qa[N[n+24>>2]](e,a,1);i=d;d=h+4|0;Qa[N[n+28>>2]](j,i,d);N[h+1192>>2]=d;d=c+g|0;f=f-g|0;e=Qa[N[N[n+12>>2]+12>>2]](e,d,f)|0;i=0;if((e&255)!=164){break l}L[N[a+8>>2]+160|0]=0;e=Qa[N[N[n+12>>2]+12>>2]](h+656|0,d,f)|0;i=1}if(e|!m){break c}e=N[N[m>>2]+8>>2];if(!e){e=0;break c}d=N[a+32>>2];N[h+660>>2]=0;N[h+656>>2]=(d+(d>>31)|0)+32768>>16;d=N[a+40>>2];N[h+664>>2]=((d>>31)+d|0)+32768>>16;d=N[a+44>>2];N[h+668>>2]=((d>>31)+d|0)+32768>>16;e=Qa[e|0](N[m+4>>2],b,0,h+656|0)|0;N[a+32>>2]=N[h+656>>2]<<16;N[a+40>>2]=N[h+664>>2]<<16;N[a+44>>2]=N[h+668>>2]<<16}if(!c){break a}}Qa[N[o+8>>2]](o,c)}L[N[a+8>>2]+161|0]=i;La=h+1312|0;return e|0}function Nq(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;a:{b:{if(!(L[b+147|0]&1)){break b}z=N[c+28>>2]>>31|1;w=1;while(1){t=N[b+68>>2];y=t+x|0;c:{if(!t){m=y;break c}o=N[b+80>>2];u=o+3|0;s=N[b+88>>2];m=y;a=t;while(1){j=0;f=0;g=0;d=a;i=T(d-1|0,20);d:{if((O[(i+u|0)+16|0]&254)!=8){if(!D){break d}e=i+o|0;f=N[e+4>>2];m=m-1|0;h=T(m,20);d=h+o|0;N[d>>2]=N[e>>2];N[d+4>>2]=f;N[d+16>>2]=N[e+16>>2];f=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=f;d=h+s|0;e=i+s|0;N[d+16>>2]=N[e+16>>2];i=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=i;i=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=i;break d}while(1){e:{i=d-1|0;e=T(i,20);h=e+u|0;if((O[h+16|0]&254)!=8){e=d;k=0;f:{while(1){i=e-1|0;h=T(i,20);if((O[(h+u|0)+16|0]&254)==8){break f}r=h+o|0;n=P[r+16>>1];if(!((O[r+12|0]&16?0:n&32)|1<>2]+k|0;e=i;if(e){continue}break}e=0}r=d;break e}d=N[c+96>>2];k=N[d+40>>2];r=0;l=N[c+100>>2];e=N[e+o>>2];d=N[d+12>>2];if(d){d=N[d+20>>2]}else{d=0}e=Qa[k|0](c,l,e,d)|0;d=O[h+16|0]!=8;j=(d?0:e)+j|0;g=(d?e:0)+g|0;f=d+f|0;k=0;e=0;d=i;if(d){continue}}break}i=T(k-j|0,z);A=0;g=T(g,z);d=0;g:{if((g|0)<=0){break g}d=0;if((g|0)>=(i|0)){break g}d=((i|0)/(g|0)|0)-1|0}h=d+1|0;h:{if((i|0)<=(T(h,g)|0)){h=d;break h}if((f|0)<=0){h=d;break h}d=T(g,d+2|0)-i|0;if((d|0)<=0){break h}A=(d|0)/(T(f,h)|0)|0}i=r+1|0;if(w){x=T(f,h)+x|0;a=i;break d}d=N[b+68>>2];l=a>>>0>d>>>0?d:a;p=l-e|0;i:{if(p>>>0<2){break i}g=N[b+144>>2]|32;N[b+144>>2]=g;if(e>>>0>=l>>>0){break i}n=N[b+80>>2];d=-1;f=e;C=l+(f^-1)|0;if(C>>>0>=3){v=p&-4;k=0;while(1){j=n+T(f,20)|0;q=N[j+8>>2];d=d>>>0>>0?d:q;q=N[j+28>>2];d=d>>>0>>0?d:q;q=N[j+48>>2];d=d>>>0>>0?d:q;j=N[j+68>>2];d=d>>>0>>0?d:j;f=f+4|0;k=k+4|0;if((v|0)!=(k|0)){continue}break}}j=0;k=p&3;if(k){while(1){v=N[(n+T(f,20)|0)+8>>2];d=d>>>0>>0?d:v;f=f+1|0;j=j+1|0;if((k|0)!=(j|0)){continue}break}}if(p&1){f=n+T(e,20)|0;if(N[f+8>>2]!=(d|0)){N[f+4>>2]=N[f+4>>2]|3}e=e+1|0}if(!C){break i}while(1){f=n+T(e,20)|0;if(N[f+8>>2]!=(d|0)){g=g|32;N[b+144>>2]=g;N[f+4>>2]=N[f+4>>2]|3}f=n+T(e+1|0,20)|0;if(N[f+8>>2]!=(d|0)){g=g|32;N[b+144>>2]=g;N[f+4>>2]=N[f+4>>2]|3}e=e+2|0;if((l|0)!=(e|0)){continue}break}}if(a>>>0<=r>>>0){a=i;break d}n=h+1|0;e=0;while(1){h=N[c+96>>2];g=N[h+40>>2];j=N[c+100>>2];a=a-1|0;d=T(a,20);f=d+o|0;k=N[f>>2];h=N[h+12>>2];if(h){h=N[h+20>>2]}else{h=0}k=Qa[g|0](c,j,k,h)|0;j=O[(d+u|0)+16|0]!=9?1:n;j:{if(!j){break j}h=d+s|0;e=e-k|0;N[h+8>>2]=e;m=m-1|0;g=T(m,20);d=g+o|0;N[d+16>>2]=N[f+16>>2];l=N[f+12>>2];N[d+8>>2]=N[f+8>>2];N[d+12>>2]=l;l=N[f+4>>2];N[d>>2]=N[f>>2];N[d+4>>2]=l;d=g+s|0;N[d+16>>2]=N[h+16>>2];g=N[h+12>>2];N[d+8>>2]=N[h+8>>2];N[d+12>>2]=g;g=N[h+4>>2];N[d>>2]=N[h>>2];N[d+4>>2]=g;d=1;if((j|0)==1){break j}while(1){e=(e-k|0)+A|0;N[h+8>>2]=e;m=m-1|0;l=T(m,20);g=l+o|0;N[g+16>>2]=N[f+16>>2];p=N[f+12>>2];N[g+8>>2]=N[f+8>>2];N[g+12>>2]=p;p=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=p;g=l+s|0;N[g+16>>2]=N[h+16>>2];l=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=l;l=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=l;d=d+1|0;if((j|0)!=(d|0)){continue}break}}if(a>>>0>r>>>0){continue}break}a=i}a=a-1|0;if(a){continue}break}}if(w){w=0;D=1;a=x+t|0;if(!a|a>>>0>2]){continue}if(gb(b,a)){continue}break b}break}if(m){break a}N[b+68>>2]=y}return}ba(22012,17885,624,14367);B()}function mn(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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,O=0,P=0,Q=0,R=0;a:{if(!a|c+1>>>0<3&b+1>>>0<=2){break a}y=eg(a);if((y|0)==2){break a}H=M[a>>1];if((H|0)<=0){break a}F=N[a+4>>2];z=(c|0)/2|0;i=z>>31;A=(i^z)-i|0;P=A>>>16|0;I=A&65535;B=(b|0)/2|0;i=B>>31;C=(i^B)-i|0;Q=C>>>16|0;J=C&65535;R=N[a+12>>2];while(1){w=M[(G<<1)+R>>1];b:{if((w|0)==(D|0)){break b}E=-1;s=D;K=0;e=0;L=0;O=0;q=0;j=0;a=w;if((a|0)==-1){break b}while(1){k=O;g=L;i=K;c:{if((s|0)!=(E|0)){k=(s<<3)+F|0;l=N[k+4>>2];g=(a<<3)+F|0;d=N[g+4>>2];o=l-d|0;i=o>>31;i=(i^o)-i|0;k=N[k>>2];g=N[g>>2];d:{if((k|0)==(g|0)){if((d|0)==(l|0)){break c}g=0;k=(o|0)<0?-65536:65536;break d}h=k-g|0;g=h>>31;f=(g^h)-g|0;if((d|0)==(l|0)){k=0;g=(h|0)<0?-65536:65536;i=f;break d}k=i>>>0>>0?f+(i>>>1|0)|0:(f>>>1|0)+i|0;g=W(k);r=(-1431655766>>>g>>>0>k>>>0?-15:-16)+g|0;d=(r|0)<=0;e:{if(!d){m=f<>>0>n>>>0?m+(n>>>1|0)|0:(m>>>1|0)+n|0;break e}g=0-r|0;k=k>>>g|0;n=i>>>g|0;m=f>>>g|0}g=65536-k|0;while(1){l=(T(g,m)>>16)+m|0;f=(T(g,n)>>16)+n|0;i=T((T(l,l)+T(f,f)|0)/-512|0,g+65536>>8);g=(i>>>16|0)+g|0;if((i|0)>65535){continue}break}k=(o|0)<0?0-f|0:f;g=(h|0)<0?0-l|0:l;i=((T(m,l)+T(f,n)|0)/65536|0)+65536|0;if(!d){i=i+(1<>>r|0;break d}i=i<<0-r}if(!i){break c}}f:{if(!e){break f}if((E|0)<0){L=q;K=e;E=a;O=j}f=0;d=g>>31;p=(d^g)-d|0;d=q>>31;m=(d^q)-d|0;g:{if((p>>>8|0)+m>>>0<=8190){h=T(m,p)+32768>>>16|0;break g}d=m&65535;h=T(d,p>>>16|0)+T(p,m>>>16|0)+(T(d,p&65535)+32768>>>16)|0}d=h;l=0-d|0;d=q>>31|1;l=(((g|0)<0?0-d|0:d)|0)<0?l:h;d=k>>31;n=(d^k)-d|0;d=j>>31;o=(d^j)-d|0;h:{if((n>>>8|0)+o>>>0<=8190){h=T(n,o)+32768>>>16|0;break h}d=o&65535;h=T(d,n>>>16|0)+T(n,o>>>16|0)+(T(d,n&65535)+32768>>>16)|0}d=h;x=0-d|0;d=j>>31|1;r=l+((((k|0)<0?0-d|0:d)|0)<0?x:h)|0;h=0;i:{if((r|0)<-61439){break i}d=j+k|0;t=r+65536|0;if(p+(o>>>8|0)>>>0<=8190){h=T(o,p)+32768>>>16|0}else{f=p&65535;h=T(f,o>>>16|0)+T(o,p>>>16|0)+(T(f,o&65535)+32768>>>16)|0}f=h;l=0-f|0;f=g>>31|1;h=(((j|0)<0?0-f|0:f)|0)<0?l:h;if(n+(m>>>8|0)>>>0<=8190){f=T(m,n)+32768>>>16|0}else{j=n&65535;f=T(j,m>>>16|0)+T(m,n>>>16|0)+(T(j,m&65535)+32768>>>16)|0}j=f;l=0-j|0;j=k>>31|1;j=h+((((q|0)<0?0-j|0:j)|0)<0?f:l)|0;m=y?j:0-j|0;p=(i|0)>(e|0)?e:i;f=0-d|0;e=j>>31;u=(e^j)-e|0;n=u>>>8|0;j:{if(n+C>>>0<=8190){e=T(u,C)+32768>>>16|0;break j}e=T(u>>>16|0,J)+T(u,Q)+(T(u&65535,J)+32768>>>16)|0}o=(m|0)<0;j=o^(b|0)<-1?0-e|0:e;e=p>>31;v=(e^p)-e|0;h=v+(t>>>8|0)>>>0>8190;k:{if(!h){x=T(t,v)+32768>>>16|0;break k}e=v&65535;x=T(e,t>>>16|0)+T(v>>>16|0,t)+(T(e,r&65535)+32768>>>16)|0}l=x;e=y?d:f;f=0-l|0;l=(p|0)<0;l:{if(((l?f:x)|0)>=(j|0)){f=jb(e,B,t);break l}f=jb(e,p,m)}d=g+q|0;q=0-d|0;e=n+A>>>0<=8190?T(u,A)+32768>>>16|0:T(u>>>16|0,I)+T(u,P)+(T(u&65535,I)+32768>>>16)|0;j=o^(c|0)<-1?0-e|0:e;if(h){e=v&65535;h=T(e,t>>>16|0)+T(v>>>16|0,t)+(T(e,r&65535)+32768>>>16)|0}else{h=T(t,v)+32768>>>16|0}e=y?q:d;if((j|0)<=((l?0-h|0:h)|0)){h=jb(e,z,t);break i}h=jb(e,p,m)}if((a|0)==(s|0)){break f}j=h+z|0;e=f+B|0;while(1){q=(a<<3)+F|0;N[q>>2]=e+N[q>>2];N[q+4>>2]=j+N[q+4>>2];a=(a|0)<(w|0)?a+1|0:D;if((s|0)!=(a|0)){continue}break}}j=k;q=g;e=i;a=s}s=(s|0)<(w|0)?s+1|0:D;if((s|0)==(a|0)){break b}if((a|0)!=(E|0)){continue}break}}D=w+1|0;G=G+1|0;if((H|0)!=(G|0)){continue}break}}}function Hk(a,b){var 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;q=La-16|0;La=q;e=N[b+96>>2];d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=0;f=N[e+64>>2];c=vb(c,N[N[e+80>>2]+T(f,20)>>2]);a:{if((c|0)==-1){break a}N[b+4>>2]=f;N[b+36>>2]=1;d=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[d+68>>2];L[b+23|0]=O[b+22|0]?(f|0)==N[d+64>>2]?O[(N[d+80>>2]+T(f,20)|0)+15|0]:0:0;if(!kc(b+4|0,q+12|0)){d=0;if(!(O[e+16|0]&64)){break a}wb(e,2,N[e+64>>2],N[q+12>>2],1,0);break a}d=O[a+8|0]|O[a+9|0]<<8;d=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+10|0;d=O[d|0]|O[d+1|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}else{e=275552}m=N[b+4>>2];n=La-48|0;La=n;d=b;f=N[b+96>>2];b:{c:{b=O[e|0]|O[e+1|0]<<8;if(b){o=e+2|0;i=YE(O[a+4|0]|O[a+5|0]<<8);p=O[a+6|0]|O[a+7|0]<<8;h=(YE(p)+i<<1)+2|0;l=N[N[f+80>>2]+T(m,20)>>2];c=((b<<8|b>>>8)&65535)-1|0;b=0;while(1){k=b+c>>>1|0;g=o+T(k,h)|0;j=O[g|0]|O[g+1|0]<<8;j=(j<<8|j>>>8)&65535;d:{if(j>>>0>l>>>0){c=k-1|0;break d}if((l|0)==(j|0)){break c}b=k+1|0}if((b|0)<=(c|0)){continue}break}}d=0;if(!(O[f+16|0]&64)){break b}wb(f,2,N[f+64>>2],m+1|0,1,0);d=0;break b}if(N[f+156>>2]){b=N[d+88>>2];c=N[f+64>>2];N[n+36>>2]=m;N[n+32>>2]=c;ib(f,b,17042,n+32|0)}b=g+2|0;b=ge(O[a+4|0]|O[a+5|0]<<8,d,e,b,N[f+88>>2]+T(N[f+64>>2],20)|0)|ge(O[a+6|0]|O[a+7|0]<<8,d,e,b+(i<<1)|0,N[f+88>>2]+T(m,20)|0);e:{if((b|0)!=1){break e}a=N[d+96>>2];if(!N[a+156>>2]){break e}e=N[d+88>>2];c=N[a+64>>2];N[n+20>>2]=m;N[n+16>>2]=c;ib(a,e,17100,n+16|0)}a=N[d+96>>2];if(N[a+156>>2]){d=N[d+88>>2];e=N[a+64>>2];N[n+4>>2]=m;N[n>>2]=e;ib(a,d,17070,n)}f:{if(!b){break f}a=N[f+68>>2];b=m+1|0;l=a>>>0>>0?a:b;a=N[f+64>>2];k=l-a|0;if(k>>>0<2){break f}e=N[f+144>>2]|32;N[f+144>>2]=e;if(a>>>0>=l>>>0){break f}i=N[f+80>>2];c=-1;b=a;o=l+(b^-1)|0;if(o>>>0>=3){h=k&-4;d=0;while(1){g=i+T(b,20)|0;j=N[g+8>>2];c=c>>>0>>0?c:j;j=N[g+28>>2];c=c>>>0>>0?c:j;j=N[g+48>>2];c=c>>>0>>0?c:j;g=N[g+68>>2];c=c>>>0>>0?c:g;b=b+4|0;d=d+4|0;if((h|0)!=(d|0)){continue}break}}g=k&3;if(g){d=0;while(1){h=N[(i+T(b,20)|0)+8>>2];c=c>>>0>>0?c:h;b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(k&1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){N[b+4>>2]=N[b+4>>2]|3}a=a+1|0}if(!o){break f}while(1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}b=i+T(a+1|0,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}g:{if(!p){break g}a=m+2|0;m=m+1|0;b=N[f+68>>2];l=a>>>0>b>>>0?b:a;a=N[f+64>>2];k=l-a|0;if(k>>>0<2){break g}e=N[f+144>>2]|32;N[f+144>>2]=e;if(a>>>0>=l>>>0){break g}i=N[f+80>>2];c=-1;b=a;o=l+(b^-1)|0;if(o>>>0>=3){p=k&-4;d=0;while(1){g=i+T(b,20)|0;h=N[g+8>>2];c=c>>>0>>0?c:h;h=N[g+28>>2];c=c>>>0>>0?c:h;h=N[g+48>>2];c=c>>>0>>0?c:h;g=N[g+68>>2];c=c>>>0>>0?c:g;b=b+4|0;d=d+4|0;if((p|0)!=(d|0)){continue}break}}g=k&3;if(g){d=0;while(1){p=N[(i+T(b,20)|0)+8>>2];c=c>>>0

>>0?c:p;b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(k&1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){N[b+4>>2]=N[b+4>>2]|3}a=a+1|0}if(!o){break g}while(1){b=i+T(a,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}b=i+T(a+1|0,20)|0;if(N[b+8>>2]!=(c|0)){e=e|32;N[f+144>>2]=e;N[b+4>>2]=N[b+4>>2]|3}a=a+2|0;if((l|0)!=(a|0)){continue}break}}N[f+64>>2]=m;d=1}La=n+48|0}La=q+16|0;return d}function zu(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-16|0;La=h;a:{b:{c:{if(gm(a,b,c)){Vf(b);if(!a){break b}g=b+132|0;k=N[a+28>>2];j=pm(a);d:{if(j){break d}N[g>>2]=0;N[g+4>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;N[b+160>>2]=k;f=Qa[N[k+4>>2]](k,8276)|0;e:{if(!f){j=!f<<6;break e}N[f>>2]=a;N[f+4>>2]=g;d=N[b+160>>2];e=f+8264|0;N[f+8272>>2]=e;N[f+8>>2]=d;N[f+8268>>2]=e;N[f+8264>>2]=0;f:{j=pm(a);g:{if(j){break g}d=N[a+8>>2];N[f+48>>2]=163;N[f+44>>2]=164;N[f+68>>2]=d;d=N[a+28>>2];N[f+16>>2]=0;N[f+52>>2]=d;N[f+12>>2]=f+4168;j=3;if(mm(f+12|0,-15)){break g}if(N[f+12>>2]){break f}}Qa[N[k+8>>2]](k,f);break d}N[b+144>>2]=f;j=0}d=N[a+4>>2];l=d-4|0;m=N[a+8>>2];h:{i:{j:{k:{e=N[a+20>>2];l:{if(e){if(Qa[e|0](a,l,0,0)|0){break k}e=N[a+4>>2];break l}e=d;if(d>>>0<4){break k}}N[a+8>>2]=l;m:{if(d-1>>>0>=e>>>0){break m}n:{o:{d=N[a+20>>2];p:{if(d){if((Qa[d|0](a,l,h+4|0,4)|0)!=4){break m}l=N[a+8>>2];d=h+4|0;break p}d=N[a>>2];if(!d){break o}d=d+l|0}i=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break n}i=0}N[a+8>>2]=l+4}d=N[a+20>>2];q:{r:{if(d){if(!(Qa[d|0](a,m,0,0)|0)){break r}break q}if(Q[a+4>>2]>>0){break q}}N[a+8>>2]=m}if(i-1>>>0<=40958){l=165;e=Qa[N[k+4>>2]](k,i)|0;if(!e){d=0;break i}d=0;if((Bh(f,0,e,i)|0)==(i|0)){break j}Bh(f,0,0,0);Qa[N[k+8>>2]](k,e);break i}if(!i){break k}l=165;d=0;break h}l=165;d=0;i=2147483647;break h}Wf(f+12|0);l=0;N[f+52>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;N[f+16>>2]=0;Qa[N[k+8>>2]](k,f);N[b+144>>2]=0;d=e}j=0}N[b+132>>2]=d;N[b+140>>2]=0;N[b+136>>2]=i;N[b+156>>2]=166;N[b+152>>2]=l}if((j&255)==7){break b}if(j){e=N[a+28>>2];d=N[a+20>>2];if(d){if(Qa[d|0](a,0,0,0)|0){break b}}N[a+8>>2]=0;d=N[a+4>>2];if(!d){break b}i=N[a+20>>2];s:{if(i){d=Qa[i|0](a,0,h+4|0,2)|0;break s}d=d>>>0>=2?2:d;F(h+4|0,N[a>>2],d)}N[a+8>>2]=d;if(O[h+4|0]!=31|d>>>0<2|O[h+5|0]!=157){break b}N[g>>2]=0;N[g+4>>2]=0;N[g+32>>2]=0;N[g+36>>2]=0;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;N[b+160>>2]=e;d=Qa[N[e+4>>2]](e,4292)|0;if(!d){break c}C(d,0,4292);N[d>>2]=a;N[d+4>>2]=g;i=N[b+160>>2];j=d+4280|0;N[d+4288>>2]=j;N[d+8>>2]=i;N[d+4284>>2]=j;N[d+4280>>2]=0;t:{i=N[a+20>>2];u:{if(i){if(Qa[i|0](a,0,0,0)|0){break u}}N[a+8>>2]=0;if(Zb(a,h+4|0,2)|O[h+4|0]!=31){break u}if(O[h+5|0]==157){break t}}Qa[N[e+8>>2]](e,d);break b}C(d+12|0,0,172);N[d+176>>2]=a;e=N[a+28>>2];N[d+108>>2]=64;N[d+100>>2]=d+112;N[d+180>>2]=e;N[d+36>>2]=0;N[d+40>>2]=0;L[d+44|0]=0;N[d- -64>>2]=9;N[b+140>>2]=0;N[b+144>>2]=d;N[b+156>>2]=167;N[b+152>>2]=168;N[b+132>>2]=0;N[b+136>>2]=2147483647}N[b+104>>2]=g;N[b+172>>2]=a;if(gm(g,b,c)){break b}}a=0;if((c|0)<0){break a}if(c&65535){Vf(b);a=6;break a}v:{w:{a=N[b+180>>2];x:{if(!a){break x}c=N[b+176>>2];if(!c|(O[a|0]|32)!=105|((O[a+1|0]|32)!=115|(O[a+2|0]|32)!=111)){break x}a=a+3|0;if(!cb(a,21540)){break w}if(!cb(a,21356)){if(!cb(c,21900)){break w}}if(cb(a,21737)){break x}if(!cb(c,19136)){break w}}N[h+8>>2]=0;N[h+12>>2]=0;break v}N[h+8>>2]=1970170211;N[h+12>>2]=65539}N[h+4>>2]=b;a=Bc(43184,0,h+4|0,0);break a}N[b+132>>2]=0;N[b+136>>2]=2147483647;N[b+140>>2]=0;N[b+156>>2]=167;N[b+152>>2]=168}Vf(b);a=2}La=h+16|0;return a|0}function lx(a,b){a=a|0;b=b|0;var 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;i=La-32|0;La=i;h=N[b+28>>2];e=N[a+496>>2];if(e){d=N[e+36>>2];if(d){Qa[N[h+8>>2]](h,d)}N[e+36>>2]=0;N[e+40>>2]=0;d=N[e+28>>2];if(d){Qa[N[h+8>>2]](h,d)}N[e+28>>2]=0;N[e+32>>2]=0;Qa[N[h+8>>2]](h,e);N[a+496>>2]=0}c=Qa[N[h+4>>2]](h,44)|0;a:{if(!c){e=64;break a}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;e=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;d=Bb(b,N[b+4>>2]);b:{if(d){e=d;break b}d=N[a+476>>2];N[c+12>>2]=N[a+472>>2];N[c+16>>2]=d;d=N[a+468>>2];N[c+4>>2]=N[a+464>>2];N[c+8>>2]=d;N[c+20>>2]=N[a+476>>2];N[c+24>>2]=N[a+468>>2];d=N[a+492>>2];f=N[d+36>>2];c:{if(f){e=Qa[N[f>>2]](i+12|0,N[b+28>>2],N[b+32>>2],N[b+36>>2])|0;if(!e){N[i+28>>2]=a+132;N[i+24>>2]=148;N[i+20>>2]=c;f=i+12|0;e=Qa[N[N[d+36>>2]+8>>2]](f)|0;Qa[N[N[d+36>>2]+4>>2]](f)}if((e&255)==2){f=N[b+4>>2];if(f>>>0<7){break c}d=N[b+32>>2];if(O[d+1|0]>3|(f|0)!=(O[d+2|0]|O[d+3|0]<<8|(O[d+4|0]<<16|O[d+5|0]<<24))){break c}e=0;l=La-16|0;La=l;N[l+12>>2]=0;m=N[b+28>>2];f=2;d:{e:{j=N[b+36>>2];g=N[b+32>>2];if(j>>>0>>0){break e}d=(g+99|0)+(O[g+99|0]|O[g+100|0]<<8)|0;if(j>>>0>>0|(O[d+18|0]|O[d+19|0]<<8)>>>0<18){break d}d=O[d+32|0]|O[d+33|0]<<8|(O[d+34|0]<<16|O[d+35|0]<<24);if(!d){break d}k=d+g|0;g=k+2|0;if(j>>>0>>0){break e}d=O[k|0]|O[k+1|0]<<8;N[c+40>>2]=d;if(j>>>0<(d<<2)+g>>>0){break e}if(!d){break d}d=lb(m,16,0,d,0,l+12|0);N[c+36>>2]=d;f=N[l+12>>2];if(f){break e}o=N[c+40>>2];j=N[a+92>>2];f=N[a+36>>2];f:{if((f|0)<=0){break f}p=N[a+40>>2];while(1){n=N[(e<<2)+p>>2];if(P[n+8>>1]!=7){e=e+1|0;if((f|0)!=(e|0)){continue}break f}break}f=pn(a,n);if(f){break e}}e=o<<2;if((e|0)>0){k=(e+k|0)+2|0;while(1){g:{h:{if(a){e=N[a+92>>2];if(e){break h}}N[d>>2]=0;e=0;break g}e=Qa[N[N[e+12>>2]+12>>2]](e,O[g|0])|0;f=N[a+92>>2];N[d>>2]=e>>>0>2]?e:0;e=0;if(!f){break g}e=Qa[N[N[f+12>>2]+12>>2]](f,O[g+1|0])|0;e=e>>>0>2]?e:0}N[d+4>>2]=e;e=(O[g+2|0]|O[g+3|0]<<8)<<16>>16;N[d+12>>2]=0;N[d+8>>2]=e;d=d+16|0;g=g+4|0;if(k>>>0>g>>>0){continue}break}}if(j){f=pn(a,j);if(f){break e}}Zc(N[c+36>>2],N[c+40>>2],16,149);e=0;break d}e=N[c+36>>2];if(e){Qa[N[m+8>>2]](m,e)}N[c+36>>2]=0;N[c+40>>2]=0;e=f}La=l+16|0}if(e){break c}}d=N[c+8>>2];N[a+464>>2]=N[c+4>>2];N[a+468>>2]=d;d=N[c+16>>2];N[a+472>>2]=N[c+12>>2];N[a+476>>2]=d;N[a+52>>2]=M[c+6>>1];N[a+56>>2]=M[c+10>>1];N[a+60>>2]=N[c+12>>2]+65535>>16;N[a- -64>>2]=N[c+16>>2]+65535>>16;M[a+70>>1]=N[c+20>>2]+32768>>>16;M[a+72>>1]=N[c+24>>2]+32768>>>16;if(!N[c+40>>2]){break c}N[a+496>>2]=c;N[a+8>>2]=N[a+8>>2]|64;c=0}if(N[b+20>>2]){a=N[b>>2];if(a){d=N[b+28>>2];Qa[N[d+8>>2]](d,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!c){break a}}a=N[c+36>>2];if(a){Qa[N[h+8>>2]](h,a)}N[c+36>>2]=0;N[c+40>>2]=0;a=N[c+28>>2];if(a){Qa[N[h+8>>2]](h,a)}N[c+28>>2]=0;N[c+32>>2]=0;Qa[N[h+8>>2]](h,c)}La=i+32|0;return e|0}function So(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=N[a+660>>2];if(N[e+8>>2]>(b|0)){while(1){h=O[a+372|0];a:{b:{k=N[e+20>>2]+T(b,56)|0;d=N[k+44>>2];c:{if(!(!d|!O[d|0])){if(!h){break a}L[d|0]=0;f=N[k+48>>2];d=O[f|0];if(d){break c}break a}f=N[k+48>>2];d=O[f|0];if(!d){break a}if(!h){break b}}h=0;while(1){e=h;g=f;d:{e:{switch((d<<24>>24)-123|0){case 2:h=0;if(!e|(g-e|0)<3){break d}d=0;e=e+1|0;i=g-1|0;if(e>>>0>i>>>0){break d}while(1){f=d;f:{if(O[e|0]!=92){break f}d=e;if(!f){break f}l=e-1|0;c=f+1|0;if(l>>>0<=c>>>0){break f}j=(l-c|0)+1|0;g:{h:{i:{j:{m=L[c|0];switch(m-75|0){case 0:case 32:break g;case 27:break h;case 34:break i;case 41:break j;default:break f}}if((m|0)!=116|j>>>0<2){break f}k:{c=O[f+2|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break k}}if((c|0)==9){break g}break f}if(j>>>0<5){break f}if(bb(c,15447,4)){break f}l:{c=O[f+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break l}}if((c|0)==9){break g}break f}if(j>>>0<4){break f}m:{if(bb(c,16930,3)){break m}n:{d=O[f+4|0];switch(d-32|0){case 0:case 8:break g;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break m;default:break n}}if((d|0)==9){break g}}d=e;if(j>>>0<5){break f}if(bb(c,16398,4)){break f}o:{c=O[f+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break f;case 0:case 8:break g;default:break o}}if((c|0)!=9){break f}}C(f,32,(l-f|0)+1|0);d=e}e=e+1|0;if(i>>>0>=e>>>0){continue}break};if(!d){break d}if(!Io(d+1|0,i)|d>>>0>i>>>0){break d}C(d,32,(i-d|0)+1|0);break d;case 0:break e;default:break d}}if(e){break d}if((g|0)!=N[k+48>>2]){h=0;if(O[g-1|0]==92){break d}}h=g}f=g+1|0;d=O[g+1|0];if(d){continue}break}break a}h=0;e=f;while(1){c=h;g=e;p:{q:{switch((d<<24>>24)-123|0){case 0:if(c){break p}h=g;if((g|0)==(f|0)){break p}h=0;if(O[g-1|0]==92){break p}h=g;break p;case 2:break q;default:break p}}h=0;if(!c|(g-c|0)<3){break p}d=0;e=c+1|0;k=g-1|0;if(e>>>0>k>>>0){break p}while(1){c=d;r:{if(O[e|0]!=92){break r}d=e;if(!c){break r}j=e-1|0;i=c+1|0;if(j>>>0<=i>>>0){break r}j=(j-i|0)+1|0;s:{t:{u:{l=L[i|0];switch(l-75|0){case 0:case 32:break a;case 27:break s;case 34:break t;case 41:break u;default:break r}}if((l|0)!=116|j>>>0<2){break r}v:{c=O[c+2|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break v}}if((c|0)!=9){break r}break a}if(j>>>0<5){break r}if(bb(i,15447,4)){break r}w:{c=O[c+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break w}}if((c|0)!=9){break r}break a}if(j>>>0<4){break r}x:{if(bb(i,16930,3)){break x}y:{d=O[c+4|0];switch(d-32|0){case 0:case 8:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:break x;default:break y}}if((d|0)==9){break a}}d=e;if(j>>>0<5){break r}if(bb(i,16398,4)){break r}z:{c=O[c+5|0];switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break r;case 0:case 8:break a;default:break z}}if((c|0)==9){break a}}e=e+1|0;if(k>>>0>=e>>>0){continue}break}if(!d){break p}if(Io(d+1|0,k)){break a}}e=g+1|0;d=O[g+1|0];if(d){continue}break}}b=b+1|0;e=N[a+660>>2];if((b|0)>2]){continue}break}}N[a+376>>2]=b}function qt(a,b){a=a|0;b=b|0;var 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;f=La-48|0;La=f;i=N[b+28>>2];c=N[b+8>>2];N[f+24>>2]=c;a:{b:{c:{d:{if(Q[b+4>>2]<=c+3>>>0){break d}d=N[b+20>>2];e:{if(d){if((Qa[d|0](b,c,f+28|0,4)|0)!=4){break d}c=N[b+8>>2];d=f+28|0;break e}d=N[b>>2];if(!d){break c}d=c+d|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}c=85;break a}d=0}N[b+8>>2]=c+4;N[f+12>>2]=d;c=rb(b,179200,f+12|0);if(c){break a}f:{l=N[f+12>>2];if((l|0)!=1330926671){g=N[f+24>>2];d=g+12|0;h=N[b+20>>2];g:{if(h){c=85;if(!(Qa[h|0](b,d,0,0)|0)){break g}break a}c=85;if(d>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=d;c=2;k=P[f+16>>1];if(!k){break a}m=g+28|0;g=0;h=0;while(1){h:{if(rb(b,179232,f+28|0)){k=g-1|0;M[f+16>>1]=k;break h}d=N[b+4>>2];j=N[f+36>>2];i:{if(d>>>0>>0){break i}e=N[f+28>>2];n=N[f+40>>2];if(!((e|0)==1986884728|n>>>0<=d-j>>>0)&(e|0)!=1752003704){break i}h=h+1|0;j:{k:{l:{m:{if((e|0)<=1651008867){if((e|0)==1296389185){break m}if((e|0)!=1397313095){break i}o=1;break i}if((e|0)!=1751474532&(e|0)!=1651008868){break i}if(n>>>0<54){c=142;break a}e=j+12|0;n:{o:{n=N[b+20>>2];if(n){if(!(Qa[n|0](b,e,0,0)|0)){break o}c=85;break a}if(d>>>0>=e>>>0){break n}c=85;break a}d=N[b+4>>2]}N[b+8>>2]=e;p:{if(j+15>>>0>>0){d=N[b+20>>2];if(!d){N[b+8>>2]=e+4;d=m+(g<<4)|0;break l}if((Qa[d|0](b,e,f+44|0,4)|0)==4){break p}}c=85;break a}N[b+8>>2]=N[b+8>>2]+4;d=m+(g<<4)|0;e=N[b+20>>2];if(!e){break l}if(Qa[e|0](b,d,0,0)|0){break k}break j}p=1;break i}if(Q[b+4>>2]>=d>>>0){break j}}c=85;break a}N[b+8>>2]=d;q=1}g=g+1|0;if((k|0)!=(g|0)){continue}}break}if(!(h&65535)){break a}if(q){break f}c=142;if(!o|!p){break a}break f}l=1330926671;k=P[f+16>>1];h=k;if(h){break f}c=2;break a}N[a+148>>2]=l;M[a+152>>1]=h;d=h<<4&1048560;c=Qa[N[i+4>>2]](i,d)|0;if(c){C(c,0,d);N[a+156>>2]=c;d=N[f+24>>2]+12|0;g=N[b+20>>2];q:{if(g){c=85;if(!(Qa[g|0](b,d,0,0)|0)){break q}break a}c=85;if(d>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=d;d=k&65535;c=Bb(b,d<<4);if(c){break a}r:{if(!d){e=0;break r}h=0;e=0;while(1){i=N[b+36>>2];c=N[b+32>>2];s:{if(i>>>0<=c+3>>>0){g=0;break s}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;j=0;t:{if(i>>>0<=c+3>>>0){l=0;break t}d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);l=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;if(i>>>0>c+3>>>0){d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);j=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;d=0;if(i>>>0>c+3>>>0){d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);c=c+4|0}N[b+32>>2]=c;c=N[b+4>>2];u:{if(c>>>0>>0){break u}c=c-j|0;if(c>>>0>>0){if((g|0)!=1986884728&(g|0)!=1752003704){break u}d=c&-4}m=N[a+156>>2];i=e&65535;v:{if(!i){i=0;break v}c=0;while(1){if(N[m+(c<<4)>>2]==(g|0)){break u}c=c+1|0;if((i|0)!=(c|0)){continue}break}}c=m+(i<<4)|0;N[c+12>>2]=d;N[c+8>>2]=j;N[c+4>>2]=l;N[c>>2]=g;e=e+1|0}h=h+1|0;if((h&65535)>>>0<(k&65535)>>>0){continue}break}}M[a+152>>1]=e;if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;c=0;break a}N[a+156>>2]=0;c=64}La=f+48|0;return c|0}function jl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{l=N[b+4>>2];if(l>>>0>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}g=c-a|0;if(g>>>0<2){break a}e=N[b+12>>2];j=e-2|0;N[b+12>>2]=j;if((j|0)<=0){break a}d=1;b:{c:{d:{e:{f:{g:{h:{i:{h=O[a|0]|O[a+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break d;case 8:break e;case 6:break f;case 4:break g;case 2:break h;case 0:break i;default:break b}}e=N[b+36>>2];if(e>>>0>1073741823){break a}e=e<<2;if(!e){break c}a=a+2|0;if(a>>>0>c>>>0|e>>>0>c-a>>>0){break a}a=j-e|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<8){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}g=a+2|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<10){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}d=0;j=O[g|0]|O[g+1|0]<<8;k=(j<<8|j>>>8)&65535;if(k>>>0<6){break b}i=O[a+4|0]|O[a+5|0]<<8;e=(i<<8|i>>>8)&65535;f=0;j:{if(!i){break j}i=a+12|0;if(i>>>0>c>>>0){break b}f=c-i|0;c=T(e,k);if(f>>>0>>0){break b}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=i+T(k,e-1|0)|0;f=0;if((O[c|0]|O[c+1|0]<<8)!=65535){break j}f=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=f+e|0;if(!n){break c}k=a+12|0;e=0;while(1){d=O[a+4|0]|O[a+5|0]<<8;h=(d<<8|d>>>8)&65535;c=0;k:{if(!d){break k}d=k+T(h-1|0,(j<<8|(j&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break k}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+h>>>0<=e>>>0){c=275552}else{l=N[b+4>>2];j=O[g|0]|O[g+1|0]<<8;c=k+T((j<<8|j>>>8)&65535,e)|0}d=0;if(c>>>0>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-c>>>0<6){break b}i=N[b+12>>2];f=i-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[c|0]|O[c+1|0]<<8;f=(f<<8|f>>>8)&65535;m=O[c+2|0]|O[c+3|0]<<8;m=(m<<8|m>>>8)&65535;if(f>>>0>>0){break b}c=c+4|0;if(c>>>0>h>>>0|h-c>>>0<2){break b}i=i-8|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=(f-m|0)+1|0;if(f>>>0>1073741823){break b}if(f){c=O[c|0]|O[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>h>>>0){break b}h=h-c|0;c=f<<2;if(h>>>0>>0){break b}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=1;e=e+1|0;if((n|0)!=(e|0)){continue}break}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<6){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<6){break a}e=e-8|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+6|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=((d<<8|d>>>8)&65535)<<2;if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<8){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){break a}g=d;d=O[a+6|0]|O[a+7|0]<<8;d=T(g,(d<<8|d>>>8)&65535);if(!d){break c}a=a+8|0;if(a>>>0>c>>>0|d>>>0>c-a>>>0){break a}a=e-d|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}d=1}return d}return 0}function yc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{l=N[b+4>>2];if(l>>>0>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}g=c-a|0;if(g>>>0<2){break a}e=N[b+12>>2];j=e-2|0;N[b+12>>2]=j;d=1;if((j|0)<=0){break a}b:{c:{d:{e:{f:{g:{h:{i:{h=O[a|0]|O[a+1|0]<<8;switch((h<<8|h>>>8)&65535){case 10:break d;case 8:break e;case 6:break f;case 4:break g;case 2:break h;case 0:break i;default:break b}}d=0;e=N[b+36>>2];if((e|0)<0){break b}e=e<<1;if(!e){break c}a=a+2|0;if(a>>>0>c>>>0|e>>>0>c-a>>>0){break b}a=j-e|0;N[b+12>>2]=a;if((a|0)>0){break c}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<6){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}g=a+2|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<10){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}d=0;j=O[g|0]|O[g+1|0]<<8;k=(j<<8|j>>>8)&65535;if(k>>>0<6){break b}i=O[a+4|0]|O[a+5|0]<<8;e=(i<<8|i>>>8)&65535;f=0;j:{if(!i){break j}i=a+12|0;if(i>>>0>c>>>0){break b}f=c-i|0;c=T(e,k);if(f>>>0>>0){break b}c=h-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=i+T(k,e-1|0)|0;f=0;if((O[c|0]|O[c+1|0]<<8)!=65535){break j}f=(O[c+2|0]|O[c+3|0]<<8)==65535?-1:0}n=f+e|0;if(!n){break c}k=a+12|0;e=0;while(1){d=O[a+4|0]|O[a+5|0]<<8;h=(d<<8|d>>>8)&65535;c=0;k:{if(!d){break k}d=k+T(h-1|0,(j<<8|(j&65280)>>>8)&65535)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break k}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}if(c+h>>>0<=e>>>0){c=275552}else{l=N[b+4>>2];j=O[g|0]|O[g+1|0]<<8;c=k+T((j<<8|j>>>8)&65535,e)|0}d=0;if(c>>>0>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-c>>>0<6){break b}i=N[b+12>>2];f=i-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[c|0]|O[c+1|0]<<8;f=(f<<8|f>>>8)&65535;m=O[c+2|0]|O[c+3|0]<<8;m=(m<<8|m>>>8)&65535;if(f>>>0>>0){break b}c=c+4|0;if(c>>>0>h>>>0|h-c>>>0<2){break b}i=i-8|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=f-m|0;if((f|0)<-1){break b}f=f+1|0;if(f){c=O[c|0]|O[c+1|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>h>>>0){break b}h=h-c|0;c=f<<1;if(h>>>0>>0){break b}c=i-c|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=1;e=e+1|0;if((n|0)!=(e|0)){continue}break}break b}d=a+2|0;if(d>>>0>c>>>0|c-d>>>0<10){break a}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0<4){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+12|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=T(g,(d<<8|d>>>8)&65535);if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<6){break a}e=e-8|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+4|0]|O[a+5|0]<<8;if(!d){break c}a=a+6|0;if(a>>>0>c>>>0){break a}c=c-a|0;a=((d<<8|d>>>8)&65535)<<1;if(c>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;d=0;if((a|0)>0){break c}break b}if(g>>>0<8){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>4){break a}g=d;d=O[a+6|0]|O[a+7|0]<<8;d=T(g,(d<<8|d>>>8)&65535);if(!d){break c}a=a+8|0;if(a>>>0>c>>>0|d>>>0>c-a>>>0){break a}a=e-d|0;N[b+12>>2]=a;d=0;if((a|0)<=0){break b}}d=1}return d}return 0}function Tm(a,b){var 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;k=La-16|0;La=k;h=N[a+104>>2];m=N[h+28>>2];o=N[a+736>>2];L[o+(b?44:32)|0]=1;e=Qa[N[a+516>>2]](a,b?1448493394:1213612370,h,k)|0;a:{if(e){break a}b:{c:{d:{d=N[h+8>>2];if(Q[h+4>>2]<=d+1>>>0){break d}c=N[h+20>>2];e:{if(c){if((Qa[c|0](h,d,k+10|0,2)|0)!=2){break d}e=k+10|0;c=N[h+8>>2];break e}c=N[h>>2];if(!c){break c}e=c+d|0;c=d}i=O[e|0]|O[e+1|0]<<8;i=i<<8|i>>>8;break b}e=85;break a}c=d;i=0}N[h+8>>2]=c+2;l=c+4|0;f=N[h+20>>2];f:{if(f){e=85;if(!(Qa[f|0](h,l,0,0)|0)){break f}break a}e=85;if(Q[h+4>>2]>>0){break a}}N[h+8>>2]=l;e=8;if((i&65535)!=1){break a}N[k+4>>2]=0;g:{h:{i:{if(Q[h+4>>2]<=c+7>>>0){break i}c=N[h+20>>2];j:{if(c){if((Qa[c|0](h,l,k+12|0,4)|0)!=4){break i}l=N[h+8>>2];c=k+12|0;break j}c=N[h>>2];if(!c){break h}c=c+l|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break g}e=85;break a}i=0}N[h+8>>2]=l+4;f=Nb(h,k+4|0);e=N[k+4>>2];if(e){break a}c=Qa[N[m+4>>2]](m,32)|0;k:{if(!c){e=!c<<6;c=0;break k}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;e=0}l:{if(b){N[o+52>>2]=c;if(!e){break l}break a}N[o+40>>2]=c;if(e){break a}}e=Um(N[a+104>>2],N[a+736>>2],d+i|0,c);N[k+4>>2]=e;if(e){break a}if(f){e=d+f|0;j=La-16|0;La=j;g=N[a+104>>2];m=N[g+28>>2];d=N[g+20>>2];m:{n:{if(d){f=85;if(Qa[d|0](g,e,0,0)|0){break m}n=N[g+4>>2];break n}f=85;n=N[g+4>>2];if(n>>>0>>0){break m}}N[g+8>>2]=e;o:{p:{q:{if(e+1>>>0>=n>>>0){break q}d=N[g+20>>2];r:{if(d){if((Qa[d|0](g,e,j+11|0,2)|0)!=2){break q}e=N[g+8>>2];d=j+11|0;break r}d=N[g>>2];if(!d){break p}d=d+e|0}d=O[d|0]|O[d+1|0]<<8;i=d<<8|d>>>8;break o}break m}i=0}f=e+2|0;N[g+8>>2]=f;s:{t:{u:{if(Q[g+4>>2]<=e+3>>>0){break u}d=N[g+20>>2];v:{if(d){if((Qa[d|0](g,f,j+13|0,2)|0)!=2){break u}f=N[g+8>>2];d=j+13|0;break v}d=N[g>>2];if(!d){break t}d=d+f|0}d=O[d+1|0]|O[d|0]<<8;break s}N[c+20>>2]=0;f=85;break m}d=0}N[g+8>>2]=f+2;N[c+20>>2]=d;f=8;if((i&65535)>>>0>63){break m}f=0;w:{x:{if(d){d=d<<2;f=Qa[N[m+4>>2]](m,d)|0;if(!f){break x}C(f,0,d)}N[j+4>>2]=0;N[c+28>>2]=f;r=c,s=lb(m,4,0,N[c+20>>2],0,j+4|0),N[r+24>>2]=s;f=N[j+4>>2];if(f){break m}if(!N[c+20>>2]){f=0;break m}d=i&15;h=d+1|0;l=(i&65520)>>>4|0;m=(2<>2];while(1){f=0;n=0;while(1){L[j+15|0]=0;d=N[g+20>>2];y:{if(d){if((Qa[d|0](g,e,j+15|0,1)|0)!=1){break w}e=N[g+8>>2];d=j+15|0;break y}if(Q[g+4>>2]<=e>>>0){break w}d=N[g>>2]+e|0}d=O[d|0];e=e+1|0;N[g+8>>2]=e;n=d|n<<8;d=(f|0)!=(l|0);f=f+1|0;if(d){continue}break}f=8;d=n>>>h|0;if(d>>>0>=Q[c>>2]){break m}i=p<<2;N[i+N[c+24>>2]>>2]=d;q=N[N[c+4>>2]+(d<<4)>>2];d=m&n;if(q>>>0<=d>>>0){break m}N[N[c+28>>2]+i>>2]=d;f=0;p=p+1|0;if(p>>>0>2]){continue}break}break m}f=64;N[j+4>>2]=64;N[c+28>>2]=0;break m}f=85}La=j+16|0;e=f;if(e){break a}}L[(b?45:33)+o|0]=1;N[a+740>>2]=N[a+740>>2]|(b?16:2);e=0}La=k+16|0;return e}function ex(a,b){a=a|0;b=b|0;var 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,t=0;l=La-16|0;La=l;j=N[b+8>>2];e=N[b>>2];n=N[a+492>>2];g=N[b+16>>2];a:{b:{c:{c=Qa[N[b+36>>2]](b)|0;if((c|0)>=0){e=j-e>>3;e=(c|0)<(e|0)?c:e;if(N[b+12>>2]|!e){break a}h=b+260|0;k=b+156|0;i=b+208|0;if(!N[b+152>>2]){d=e+6|0;c=Qa[N[N[n>>2]>>2]](i,d,g)|0;if(c){break b}c=Qa[N[N[n>>2]>>2]](k,d,g)|0;if(c){break b}c=Qa[N[N[n>>2]>>2]](h,4,g)|0;if(c){break b}}Qa[N[b+28>>2]](b);c=3;d=N[b>>2];if(j>>>0<=d>>>0){break b}r=e+5|0;e=0;while(1){d:{e:{if(d+3>>>0>=j>>>0){break e}f:{switch(O[d+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break f;default:break e}}g:{switch(O[d|0]-100|0){case 0:if(!e|(O[d+1|0]!=101|O[d+2|0]!=102)){break e}break c;case 1:break g;default:break e}}if(O[d+1|0]!=110){break e}if(O[d+2|0]==100){break d}}Qa[N[b+32>>2]](b);c=3;m=N[b>>2];if(m>>>0>=j>>>0){break b}if(N[b+12>>2]){break a}h:{if(O[d|0]!=47){break h}if(d+2>>>0>=j>>>0){break b}s=N[N[a+128>>2]+52>>2];c=N[b+8>>2];Qa[N[b+28>>2]](b);i:{f=N[b>>2];j:{if(f>>>0>=c>>>0|O[f|0]-48>>>0>9){break j}f=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((f|0)<0){break j}t=c;c=N[b>>2];p=c+1|0;if((f|0)<(t-p|0)){break i}}if(s){break a}N[b+12>>2]=3;break a}N[b>>2]=(c+f|0)+1;if(N[b+12>>2]){break a}if(N[b+152>>2]){break h}d=d+1|0;m=m-d|0;c=Qa[N[b+200>>2]](k,e,d,m+1|0)|0;if(c){break b}c=e<<2;L[m+N[c+N[b+180>>2]>>2]|0]=0;if(O[d|0]==46){c=cb(15265,N[c+N[b+180>>2]>>2]);q=c?q:1;o=c?o:e}d=N[a+172>>2];k:{if(!((d|0)<0|(e|0)>=(r|0))){c=3;if(d>>>0>=f>>>0){break b}d=Qa[N[g+4>>2]](g,f)|0;if(!d){N[b+12>>2]=!d<<6;break a}F(d,p,f);Qa[N[n+16>>2]](d,f,4330);c=N[a+172>>2];c=Qa[N[b+252>>2]](i,e,c+d|0,f-c|0)|0;Qa[N[g+8>>2]](g,d);break k}c=Qa[N[b+252>>2]](i,e,p,f)|0}if(c){break b}e=e+1|0}Qa[N[b+28>>2]](b);d=N[b>>2];if(j>>>0>d>>>0){continue}}break}if(e){break c}}c=3;break b}N[b+152>>2]=e;if(q&255){a=N[N[b+180>>2]>>2];if(!cb(15265,a)){break a}c=Qa[N[b+304>>2]](h,0,a,N[N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,1,N[N[b+232>>2]>>2],N[N[b+236>>2]>>2])|0;if(c){break b}a=o<<2;c=Qa[N[b+304>>2]](h,2,N[a+N[b+180>>2]>>2],N[a+N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,3,N[a+N[b+232>>2]>>2],N[a+N[b+236>>2]>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,o,N[N[b+284>>2]>>2],N[N[b+288>>2]>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,o,N[N[b+284>>2]+4>>2],N[N[b+288>>2]+4>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,0,N[N[b+284>>2]+8>>2],N[N[b+288>>2]+8>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,0,N[N[b+284>>2]+12>>2],N[N[b+288>>2]+12>>2])|0;if(c){break b}break a}L[l+12|0]=O[30448];N[l+8>>2]=O[30444]|O[30445]<<8|(O[30446]<<16|O[30447]<<24);c=Qa[N[b+304>>2]](h,0,N[N[b+180>>2]>>2],N[N[b+184>>2]>>2])|0;if(c){break b}c=Qa[N[b+304>>2]](h,1,N[N[b+232>>2]>>2],N[N[b+236>>2]>>2])|0;if(c){break b}c=Qa[N[b+200>>2]](k,0,15265,8)|0;if(c){break b}c=Qa[N[b+252>>2]](i,0,l+8|0,5)|0;if(c){break b}c=Qa[N[b+200>>2]](k,e,N[N[b+284>>2]>>2],N[N[b+288>>2]>>2])|0;if(c){break b}c=Qa[N[b+252>>2]](i,e,N[N[b+284>>2]+4>>2],N[N[b+288>>2]+4>>2])|0;if(c){break b}N[b+152>>2]=N[b+152>>2]+1;break a}N[b+12>>2]=c}La=l+16|0}function _d(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,o=0,p=0;a:{b:{c:{d:{e:{f:{g:{h:{e=O[a|0]|O[a+1|0]<<8;switch((e<<8|e>>>8)&65535){case 13:break c;case 12:break d;case 10:break e;case 6:break f;case 4:break g;case 0:break h;default:break a}}if(b>>>0>255){break a}b=O[(a+b|0)+6|0];if(b){break b}break a}e=O[a+6|0]|O[a+7|0]<<8;d=e<<8|e>>>8;e=d&65535;if(e>>>0<2){break a}f=O[a+2|0]|O[a+3|0]<<8;e=e>>>1|0;i=(((f<<8|f>>>8)&65535)-(e<<3)|0)-16>>>1|0;k=a+14|0;a=d&65534;f=(k+a|0)+2|0;l=a+f|0;m=a+l|0;o=a+m|0;d=e-1|0;a=0;p=e+1<<1;i:{while(1){g=a+d|0;h=g>>>1|0;g=g&-2;j=g+k|0;n=O[j|0]|O[j+1|0]<<8;j:{if(((n<<8|n>>>8)&65535)>>>0>=b>>>0){d=j+p|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break i}d=h-1|0;break j}a=h+1|0}if((a|0)<=(d|0)){continue}break}return 0}a=g>>1;d=g+m|0;d=O[d|0]|O[d+1|0]<<8;if(d){j=0;d=a+(b-e|0)+(((d<<8|d>>>8)&65534)>>>1)|0;b=f+(a<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=d-((b<<8|b>>>8)&65535)|0;if(b>>>0>=i>>>0){break a}b=(b<<1)+o|0;b=O[b|0]|O[b+1|0]<<8;if(!b){break a}b=(b<<8|b>>>8)&65535}a=(a<<1)+l|0;a=O[a|0]|O[a+1|0]<<8;b=(a<<8|a>>>8)+b&65535;if(b){break b}return 0}d=b;b=O[a+6|0]|O[a+7|0]<<8;b=d-((b<<8|b>>>8)&65535)|0;e=O[a+8|0]|O[a+9|0]<<8;if(b>>>0>=((e<<8|e>>>8)&65535)>>>0){a=275552}else{a=((b<<1)+a|0)+10|0}a=O[a|0]|O[a+1|0]<<8;if(!a){break a}b=(a<<8|a>>>8)&65535;break b}d=b;b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);b=d-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;e=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(b>>>0>=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0){a=275552}else{a=((b<<1)+a|0)+20|0}a=O[a|0]|O[a+1|0]<<8;if(!a){break a}b=(a<<8|a>>>8)&65535;break b}e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);k:{if((d|0)<=0){break k}i=a+16|0;d=d-1|0;a=0;while(1){h=a+d>>>1|0;f=i+T(h,12)|0;g=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);l:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){a=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0>>0){a=h+1|0;break l}e=i+T(h,12)|0;break k}d=h-1|0}if((a|0)<=(d|0)){continue}break}}a=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);d=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(d>>>0>>0){break a}b=b-a|0;a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=b+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0;if(b){break b}break a}e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);m:{if((d|0)<=0){break m}i=a+16|0;d=d-1|0;a=0;while(1){h=a+d>>>1|0;f=i+T(h,12)|0;g=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);n:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){a=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);if((a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0>>0){a=h+1|0;break n}e=i+T(h,12)|0;break m}d=h-1|0}if((a|0)<=(d|0)){continue}break}}a=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);if(!a){break a}b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}N[c>>2]=b;j=1}return j}function $j(a,b){var 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;a:{if(!(O[b+4|0]|O[b+5|0]<<8)&(O[b+2|0]|O[b+3|0]<<8)==65535){break a}d=N[a+172>>2];N[a+172>>2]=d+1;if(d>>>0>2e3){break a}f=b-N[a>>2]|0;g=f>>>9|0;i=N[a+148>>2];b:{c:{d:{d=N[a+136>>2];j=N[a+144>>2];if(d>>>0>=j>>>0){break d}d=i+(d<<3)|0;if((g|0)!=N[d>>2]){break d}c=d+4|0;break c}d=0;if((j|0)<=0){break b}e=j-1|0;e:{while(1){d=c+e>>>1|0;h=N[i+(d<<3)>>2];f:{if((h|0)>(g|0)){e=d-1|0;break f}if((g|0)==(h|0)){break e}c=d+1|0}if((c|0)<=(e|0)){continue}break}d=0;break b}N[a+136>>2]=d;c=(d>>>0>=j>>>0?275552:i+(d<<3)|0)+4|0}e=N[a+160>>2];d=0;if(!e){break b}c=(e+(N[c>>2]<<6)|0)+(f>>>3&56)|0;g=N[c>>2];e=N[c+4>>2];d=f&63;c=d&31;d=((d&63)>>>0>=32?e>>>c|0:((1<>>c)&1}if((d|0)!=O[a+164|0]){break a}g=b+4|0;tc(a+116|0,f);if(!O[a+60|0]){c=O[b+2|0]|O[b+3|0]<<8;g:{if((c|0)==65535){break g}d=N[a+176>>2]+1|0;N[a+176>>2]=d;if(d>>>0>1500){break g}tc(N[a+4>>2],(c<<8|c>>>8)&65535)}e=O[g|0]|O[g+1|0]<<8;d=(e<<8|e>>>8)&65535;c=d+N[a+176>>2]|0;N[a+176>>2]=c;if(c>>>0>1500){break a}c=b+6|0;a=N[a+4>>2];g=a+12|0;if(O[a+48|0]){Ug(g,c,d);return}if(!e|!O[g|0]){break a}N[a+16>>2]=-1;a=O[c|0]|O[c+1|0]<<8;e=(a<<8|a>>>8)&65535;h:while(1){f=wc(g,e);if(!f){break a}i=e&65024;j=i+512|0;while(1){a=f+(e>>>3&56)|0;h=N[a+4>>2];e=e&63;b=e&31;if((e&63)>>>0>=32){e=1<>>32-b}N[a>>2]=k|N[a>>2];N[a+4>>2]=e|h;d=d-1|0;if(!d){break a}a=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(a<<8|a>>>8)&65535;if(i>>>0>e>>>0){continue h}if(e>>>0>>0){continue}break}continue}}i=a+20|0;if(_j(i)){break a}b=O[g|0]|O[g+1|0]<<8;if(!b){break a}b=(b<<8|b>>>8)&65535;n=b>>>0<=1?1:b;j=0;while(1){b=O[g|0]|O[g+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=j>>>0?238136:(g+(j<<1)|0)+2|0;b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;b=e>>>9|0;k=N[a+40>>2];i:{j:{k:{c=N[a+28>>2];h=N[a+36>>2];if(c>>>0>=h>>>0){break k}c=k+(c<<3)|0;if((b|0)!=N[c>>2]){break k}d=c+4|0;break j}c=0;if((h|0)<=0){break i}c=h-1|0;d=0;l:{while(1){f=c+d>>>1|0;l=k+(f<<3)|0;m=N[l>>2];m:{if((b|0)<(m|0)){c=f-1|0;break m}if((b|0)==(m|0)){break l}d=f+1|0}if((c|0)>=(d|0)){continue}break}c=0;break i}N[a+28>>2]=f;d=(f>>>0>=h>>>0?275552:l)+4|0}f=N[a+52>>2];c=0;if(!f){break i}c=(f+(N[d>>2]<<6)|0)+(e>>>3&56)|0;h=N[c>>2];f=N[c+4>>2];d=e&63;c=d&31;c=((d&63)>>>0>=32?f>>>c|0:((1<>>c)&1}n:{if((c|0)==O[a+56|0]){break n}tc(N[a+4>>2],e);if(O[a+56|0]){if(!O[i|0]){break n}N[i+4>>2]=-1;b=wc(i,e);if(!b){break n}b=b+(e>>>3&56)|0;f=N[b+4>>2];d=e&63;c=d&31;if((d&63)>>>0>=32){d=1<>>32-c}N[b>>2]=e|N[b>>2];N[b+4>>2]=d|f;break n}if(!O[i|0]){break n}f=N[a+28>>2];c=N[a+36>>2];h=N[a+40>>2];if(!(f>>>0>>0&(b|0)==N[h+(f<<3)>>2])){if((c|0)<=0){break n}c=c-1|0;d=0;while(1){o:{f=c+d>>>1|0;k=N[h+(f<<3)>>2];p:{if((k|0)>(b|0)){c=f-1|0;break p}if((b|0)==(k|0)){break o}d=f+1|0}if((c|0)>=(d|0)){continue}break n}break}N[a+28>>2]=f}b=N[a+52>>2];if(!b){break n}c=N[(h+(f<<3)|0)+4>>2];N[a+24>>2]=-1;b=(b+(c<<6)|0)+(e>>>3&56)|0;c=N[b>>2];d=N[b+4>>2];o=b,p=_E(-2,-1,e)&c,N[o>>2]=p;N[b+4>>2]=Pa&d}j=j+1|0;if((n|0)!=(j|0)){continue}break}}}function Zl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;o=La-16|0;La=o;i=d+8|0;f=-31;a:{b:{c:{d:{e:{f:{switch(N[d+628>>2]){case 3:e=N[d+2428>>2];break d;case 2:f=N[d+2424>>2];break e;case 0:f=Xl(d,i,b);if((f|0)!=1){break a}N[b>>2]=N[b>>2]+1;N[d+2420>>2]=0;g=Qa[N[d+24>>2]](N[d+32>>2],a)|0;N[c>>2]=g;if(!g){f=-25;break a}f=1;if(Q[b>>2]<=1){C(g,0,a);break a}N[d+628>>2]=1;break;case 4:break c;case 1:break f;default:break a}}f=N[d+12>>2];g:{if(f-28>>>0>=5){g=N[i>>2];break g}g=N[d+20>>2];if(!g){f=2;break a}e=N[d+8>>2]>>>8|0;N[d+8>>2]=e;h=N[d+16>>2];l=O[h|0];N[d+20>>2]=g-1;N[d+16>>2]=h+1;g=e|l<<24;N[d+8>>2]=g;f=f-8|0}N[d+628>>2]=2;g=g>>>f|0;e=g&1;N[d+12>>2]=(e?5:1)+f;f=(g>>>1&15)+1&0-e;N[d+2424>>2]=f}b=N[b>>2]+f|0;f=Rf(b,b,d+2432|0,0,d);if((f|0)!=1){break a}N[d+628>>2]=3;N[d+2428>>2]=65535;e=65535}j=N[d+2424>>2];h=N[d+2420>>2];l=N[c>>2];N[o+12>>2]=e;if((e|0)==65535&a>>>0<=h>>>0){break c}f=(e|0)!=65535;n=d+2432|0;while(1){h:{i:{j:{if(f&1){break j}k:{l:{g=N[d+12>>2];m:{if(g-18>>>0>=15){e=N[i>>2];break m}f=N[d+20>>2];b=g;while(1){if(!f){break l}e=N[d+8>>2]>>>8|0;N[d+8>>2]=e;k=N[d+16>>2];m=O[k|0];f=f-1|0;N[d+20>>2]=f;g=b-8|0;N[d+12>>2]=g;N[d+16>>2]=k+1;e=e|m<<24;N[d+8>>2]=e;k=b-26|0;b=g;if(k>>>0<15){continue}break}}e=e>>>g|0;f=n+((e&255)<<2)|0;b=O[f|0];if(b>>>0>=9){g=g+8|0;f=(P[f+2>>1]+(N[(b<<2)+169360>>2]&e>>>8&127)<<2)+f|0;b=O[f|0]}N[d+12>>2]=(b&255)+g;e=P[f+2>>1];N[o+12>>2]=e;break k}if(!Jc(n,i,o+12|0)){e=65535;break b}e=N[o+12>>2]}if(!e){e=0;L[h+l|0]=0;break i}if(e>>>0<=j>>>0){break j}L[h+l|0]=e-j;break i}g=N[d+12>>2];n:{if(32-g>>>0>=e>>>0){k=N[i>>2];break n}f=N[d+20>>2];b=g;while(1){if(!f){break b}k=N[d+8>>2]>>>8|0;N[d+8>>2]=k;m=N[d+16>>2];p=O[m|0];f=f-1|0;N[d+20>>2]=f;g=b-8|0;N[d+12>>2]=g;N[d+16>>2]=m+1;k=k|p<<24;N[d+8>>2]=k;m=40-b|0;b=g;if(e>>>0>m>>>0){continue}break}}N[d+12>>2]=e+g;g=(N[(e<<2)+169392>>2]&k>>>g)+(1<>>0>a>>>0){f=-8;break a}C(h+l|0,0,g);break h}b=h+1|0}f=0;h=b;if(b>>>0>>0){continue}break}}b=N[d+12>>2];o:{p:{if((b|0)!=32){h=N[i>>2];break p}b=N[d+20>>2];if(!b){f=2;g=4;break o}g=N[d+8>>2]>>>8|0;N[d+8>>2]=g;e=N[d+16>>2];h=O[e|0];N[d+20>>2]=b-1;N[d+16>>2]=e+1;b=24;h=g|h<<24;N[d+8>>2]=h}f=1;N[d+12>>2]=b+1;g=0;if(!(h>>>b&1)){break o}l=N[c>>2];b=a;e=0;c=50462976;h=d+288|0;N[h>>2]=50462976;i=1;a=N[d+280>>2]+1|0;a=a>>>0<=2?2:a;j=a-1|0;n=j&3;if(a-2>>>0>=3){k=j&-4;a=50462976;while(1){j=h+(i<<2)|0;N[j>>2]=a+67372036;c=a+269488144|0;N[j+12>>2]=c;N[j+8>>2]=a+202116108;N[j+4>>2]=a+134744072;i=i+4|0;a=c;e=e+4|0;if((k|0)!=(e|0)){continue}break}}if(n){a=0;while(1){c=c+67372036|0;N[h+(i<<2)>>2]=c;i=i+1|0;a=a+1|0;if((n|0)!=(a|0)){continue}break}}q:{if(!b){N[d+280>>2]=0;break q}c=d+287|0;e=0;a=0;r:{if((b|0)!=1){n=b&1;k=b&-2;while(1){j=a+l|0;b=O[j|0];i=O[b+h|0];L[j|0]=i;L[c|0]=i;F(h,c,b+1|0);m=l+(a|1)|0;i=O[m|0];j=O[i+h|0];L[m|0]=j;L[c|0]=j;F(h,c,i+1|0);e=i|(b|e);a=a+2|0;if((k|0)!=(a|0)){continue}break}if(!n){break r}}i=a+l|0;a=O[i|0];b=O[a+h|0];L[i|0]=b;L[c|0]=b;F(h,c,a+1|0);e=a|e}N[d+280>>2]=e>>>2}}N[d+628>>2]=g;break a}N[d+2420>>2]=h;N[d+2428>>2]=e;f=2}La=o+16|0;return f}function ud(a,b){var 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;c=N[b>>2];if((c|0)==-1){g=b;d=-1;f=N[a+28>>2];a:{if(!f){break a}i=N[a+32>>2];k=N[a+20>>2];j=N[a+16>>2];b=0;b:{c:{d:{while(1){c=b>>>0>=j>>>0?275552:k+(b<<3)|0;a=N[c+4>>2];a=a>>>0>=f>>>0?275552:i+(a<<6)|0;e=N[a>>2];h=N[a+4>>2];if(e|h){b=N[c>>2]<<9;f=0;break c}e=N[a+8>>2];h=N[a+12>>2];if(e|h){break d}e:{if(N[a+16>>2]|N[a+20>>2]|(N[a+24>>2]|N[a+28>>2])){break e}if(N[a+32>>2]|N[a+36>>2]|(N[a+40>>2]|N[a+44>>2])){break e}if(N[a+48>>2]|N[a+52>>2]|(N[a+56>>2]|N[a+60>>2])){break e}b=b+1|0;if((f|0)==(b|0)){break a}continue}break}b=N[c>>2]<<9;c=N[a+20>>2];h=c;e=N[a+16>>2];f=128;if(c|e){break c}c=N[a+28>>2];h=c;e=N[a+24>>2];f=192;if(c|e){break c}c=N[a+36>>2];h=c;e=N[a+32>>2];f=256;if(c|e){break c}c=N[a+44>>2];h=c;e=N[a+40>>2];f=320;if(c|e){break c}c=N[a+52>>2];h=c;e=N[a+48>>2];f=384;if(c|e){break c}e=N[a+56>>2];a=N[a+60>>2];h=a;f=448;if(a|e){break c}a=-1;break b}b=N[c>>2]<<9;f=64}a=f|TE(e,h)}d=a+b|0}N[g>>2]=d;return(d|0)!=-1}f:{g:{h:{g=N[a+16>>2];i=N[a+8>>2];d=c>>>9|0;m=N[a+20>>2];i:{j:{if(!(g>>>0<=i>>>0|(d|0)!=N[m+(i<<3)>>2])){k=N[a+32>>2];break j}k:{if((g|0)<=0){i=0;break k}k=g-1|0;i=0;while(1){e=i+k>>>1|0;f=N[(e<<3)+m>>2];l:{if((f|0)>(d|0)){k=e-1|0;break l}if((d|0)==(f|0)){i=e;break k}i=e+1|0}if((i|0)<=(k|0)){continue}break}}if(g>>>0<=i>>>0){N[b>>2]=-1;return 0}k=N[a+32>>2];if((d|0)!=N[(i<<3)+m>>2]){break i}}m:{n:{d=c+1|0;e=d&511;if(!e){break n}n=(i<<3)+m|0;l=(N[n+4>>2]<<6)+k|0;j=e>>>6|0;e=l+(j<<3)|0;c=N[e>>2];f=N[e+4>>2];g=d&63;e=g&31;h=c;if((g&63)>>>0>=32){g=-1<>>32-e}e=h&c;g=g&f;h=g;if(e|g){d=d&448;break h}g=j+1|0;if((g|0)==8){break n}d=l+(g<<3)|0;e=N[d>>2];d=N[d+4>>2];h=d;if(d|e){d=g<<6;break h}d=j+2|0;if((d|0)==8){break n}c=l+(d<<3)|0;e=N[c>>2];c=N[c+4>>2];h=c;o:{if(e|c){break o}c=j+3|0;if((c|0)==8){break n}g=l+(c<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=d;d=c;break o}d=j+4|0;if((d|0)==8){break n}g=l+(d<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=c;break o}c=j+5|0;if((c|0)==8){break n}g=l+(c<<3)|0;e=N[g>>2];g=N[g+4>>2];h=g;if(e|g){g=d;d=c;break o}f=j+6|0;if((f|0)==8){break n}d=l+(f<<3)|0;e=N[d>>2];d=N[d+4>>2];h=d;if(d|e){g=c;d=f;break o}d=j+7|0;if((d|0)==8){break n}g=f;c=l+(d<<3)|0;e=N[c>>2];c=N[c+4>>2];h=c;if(!(e|c)){break n}}d=TE(e,h)|d<<6;N[b>>2]=d;if(g>>>0>=7){break m}break g}N[b>>2]=-1}i=i+1|0;g=N[a+16>>2]}if(g>>>0>i>>>0){while(1){p:{d=(N[((i<<3)+m|0)+4>>2]<<6)+k|0;e=N[d>>2];f=N[d+4>>2];h=f;c=0;q:{if(e|f){break q}f=N[d+12>>2];h=f;e=N[d+8>>2];c=64;if(f|e){break q}f=N[d+20>>2];h=f;e=N[d+16>>2];c=128;if(f|e){break q}f=N[d+28>>2];h=f;e=N[d+24>>2];c=192;if(f|e){break q}f=N[d+36>>2];h=f;e=N[d+32>>2];c=256;if(f|e){break q}f=N[d+44>>2];h=f;e=N[d+40>>2];c=320;if(f|e){break q}f=N[d+52>>2];h=f;e=N[d+48>>2];c=384;if(f|e){break q}e=N[d+56>>2];d=N[d+60>>2];h=d;if(!(d|e)){break p}c=448}o=b,p=c|TE(e,h)|N[(i<<3)+m>>2]<<9,N[o>>2]=p;break f}i=i+1|0;if((i|0)!=(g|0)){continue}break}}N[a+8>>2]=0;N[b>>2]=-1;return 0}d=TE(e,h)|d;N[b>>2]=d}N[b>>2]=(N[n>>2]<<9)+d}N[a+8>>2]=i;return 1}function Kp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=0,o=0,p=0,q=0;d=a+8|0;f=O[a+6|0]|O[a+7|0]<<8;j=(f<<8|f>>>8)&65535;f=c>>>0>j>>>0?j:c;if(f){while(1){g=(e<<2)+b|0;p=g,q=Jp(d,N[g>>2],0,1),N[p>>2]=q;g=d;d=O[d|0]|O[d+1|0]<<8;d=(g+(((d<<8|d>>>8)&65535)<<2)|0)+2|0;e=e+1|0;if((e|0)!=(f|0)){continue}break}}e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=2){a:{if(c>>>0>=j>>>0){break a}g=j+(f^-1)|0;i=j-f&3;if(i){e=0;while(1){h=d;d=O[d|0]|O[d+1|0]<<8;d=(h+(((d<<8|d>>>8)&65535)<<2)|0)+2|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}f=f+i|0}if(g>>>0<3){break a}while(1){e=O[d|0]|O[d+1|0]<<8;d=(((e<<8|e>>>8)&65535)<<2)+d|0;e=O[d+2|0]|O[d+3|0]<<8;d=(d+2|0)+(((e<<8|e>>>8)&65535)<<2)|0;e=O[d+2|0]|O[d+3|0]<<8;d=(d+2|0)+(((e<<8|e>>>8)&65535)<<2)|0;e=O[d+2|0]|O[d+3|0]<<8;d=((((e<<8|e>>>8)&65535)<<2)+d|0)+4|0;f=f+4|0;if((j|0)!=(f|0)){continue}break}}h=275552;n=275552;e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(e){n=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0}e=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(e){h=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+a|0}a=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{a=275552}e=O[a+2|0]|O[a+3|0]<<8;a=(e<<8|e>>>8)&65535;k=kb(a<<2);b:{if(!e|!k){break b}a=a>>>0<=1?1:a;e=a&7;f=0;d=0;if(a>>>0>=8){a=a&65528;while(1){g=d<<2;N[g+k>>2]=1073741824;N[k+(g|4)>>2]=1073741824;N[k+(g|8)>>2]=1073741824;N[k+(g|12)>>2]=1073741824;N[k+(g|16)>>2]=1073741824;N[k+(g|20)>>2]=1073741824;N[k+(g|24)>>2]=1073741824;N[k+(g|28)>>2]=1073741824;d=d+8|0;if((a|0)!=(d|0)){continue}break}}if(!e){break b}while(1){N[k+(d<<2)>>2]=1073741824;d=d+1|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}e=0;c:{if(!c){break c}f=0;while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=c>>>0){continue}break}d=-1;if(f>>>0<=1073741823){e=kb(f<<2);d=e?f:-1}j=0;while(1){g=N[(m<<2)+b>>2];f=nd(n,m);i=f>>>16|0;a=O[h+6|0]|O[h+7|0]<<8;if(i>>>0>=((a<<8|a>>>8)&65535)>>>0){l=U(0)}else{a=(i<<2)+h|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{a=275552}o=f&65535;i=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);if(i){f=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))+h|0}else{f=275552}l=Fc(a,o,b,c,f,k)}l=U(U(Z(U(l+U(.5))))+U(g|0));d:{if(U(V(l))>>0<=d>>>0){a=e;break f}while(1){f=((f>>>1|0)+f|0)+8|0;if(g>>>0>=f>>>0){continue}break}d=-1;if(f>>>0>1073741823){break g}a=$a(e,f<<2);if(a){break f}}N[147456]=0;break e}e=(i|0)<=-16384?-16384:i;N[(j<<2)+a>>2]=(e|0)>=16384?16384:e;d=f;j=g;e=a}m=m+1|0;if((m|0)!=(c|0)){continue}break}d=0;if((c|0)!=1){f=c&1;c=c&-2;while(1){g=(d<<2)+b|0;h:{if(d>>>0>=j>>>0){N[147456]=0;a=0;break h}a=N[(d<<2)+e>>2]}N[g>>2]=a;g=d|1;i:{if(g>>>0>=j>>>0){N[147456]=0;a=0;break i}a=N[(g<<2)+e>>2]}N[(g<<2)+b>>2]=a;d=d+2|0;if((c|0)!=(d|0)){continue}break}if(!f){break c}}b=(d<<2)+b|0;j:{if(d>>>0>=j>>>0){N[147456]=0;a=0;break j}a=N[(d<<2)+e>>2]}N[b>>2]=a}_a(k);_a(e)}}function uj(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,o=0,p=0,q=0,r=0,s=0;L[a|0]=0;L[a+1|0]=0;n=ad(b);l=N[c+16>>2];m=N[c+12>>2];i=N[c+4>>2];k=N[c>>2];a:{if(!ee(b,n)){break a}b:{c:{d:{e:{f:{g:{h:{i:{j:{if(i){q=(l<<1)+m|0;r=(i<<1)+k|0;h=-2;g=l;f=m;c=i;d=k;while(1){if(!g&(f|0)==(q|0)){break j}s=h+1|0;k:{if(c){e=0;h=d;if(g){break k}}M[294912]=0;e=!g|(c|0)!=0;h=c?d:589824}j=h;j=O[j|0]|O[j+1|0]<<8;h=(j<<8|j>>>8)&65535;o=((s|0)!=(h|0))+o|0;p=p+1|0;j=!e;g=g-j|0;f=(j<<1)+f|0;j=(c|0)!=0;d=(j<<1)+d|0;c=c-j|0;if((r|0)!=(d|0)|c){continue}break}break j}L[n|0]=0;L[n+1|0]=1;break i}c=T(o,3)>>>0

>>0;d=c?512:256;L[n|0]=d;L[n+1|0]=d>>>8;if(c-1|0){break i}break h}g=n+2|0;if(!ee(b,g)){break a}m=i>>>0>>0?i:l;c=m<<8|(m&65280)>>>8;L[g|0]=c;L[g+1|0]=c>>>8;c=N[b+24>>2];if(m>>>0>=65536){f=c|16;break b}if(c){break a}if(g>>>0>2]){break g}c=N[b+4>>2];if(c>>>0>>0){break f}d=(m<<1&131070)+2|0;if(d>>>0>>0){break e}f=4;d=(d+g|0)-c|0;if((d|0)<0|(d|0)>(N[b+8>>2]-c|0)){break b}N[b+4>>2]=c+d;if(!c){break a}if(!m){break c}c=0;while(1){l:{m:{n:{if(i){if(!l){break n}d=g+(c<<1)|0;f=O[k|0]|O[k+1|0]<<8;L[d+2|0]=f;L[d+3|0]=f>>>8;k=k+2|0;d=-1;i=i-1|0;break l}M[294912]=0;d=g+(c<<1)|0;L[d+2|0]=0;L[d+3|0]=0;d=-1;i=0;if(!l){break m}break l}M[294912]=0;d=g+(c<<1)|0;f=O[k|0]|O[k+1|0]<<8;L[d+2|0]=f;L[d+3|0]=f>>>8;k=k+2|0;i=i-1|0}d=0}l=d+l|0;c=c+1|0;if((m|0)!=(c|0)){continue}break}break c}if(!tj(b,n)){break a}e=0;j=-2;g=l;f=m;c=i;d=k;while(1){if(!g&(f|0)==(q|0)){break d}o:{if(c){o=0;h=d;if(g){break o}}M[294912]=0;o=!g|(c|0)!=0;h=c?d:589824}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;e=((h|0)!=(j+1|0))+e|0;j=!o;g=g-j|0;f=(j<<1)+f|0;j=h;p=(c|0)!=0;d=(p<<1)+d|0;c=c-p|0;if((r|0)!=(d|0)|c){continue}break}break d}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}f=n+2|0;if(!ee(b,f)){break a}c=e<<8|(e&65280)>>>8;L[f|0]=c;L[f+1|0]=c>>>8;if(e>>>0>=65536){N[b+24>>2]=N[b+24>>2]|16}if(!sj(b,f,T(e&65535,6)+2|0)){break a}if(!e){break c}g=-2;h=0;c=-1;while(1){if(!l&(m|0)==(q|0)){break c}e=g+1|0;p:{if(i){j=0;d=k;if(l){break p}}M[294912]=0;j=!l|(i|0)!=0;d=i?k:589824}d=O[d|0]|O[d+1|0]<<8;g=(d<<8|d>>>8)&65535;if((e|0)!=(g|0)){c=c+1|0;e=O[f|0]|O[f+1|0]<<8;q:{if(c>>>0>=((e<<8|e>>>8)&65535)>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break q}e=(f+T(c,6)|0)+2|0}L[e|0]=d;L[e+1|0]=d>>>8;e=O[f|0]|O[f+1|0]<<8;r:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break r}e=(f+T(c,6)|0)+2|0}n=h<<8|(h&65280)>>>8;L[e+4|0]=n;L[e+5|0]=n>>>8}e=O[f|0]|O[f+1|0]<<8;s:{if(((e<<8|e>>>8)&65535)>>>0<=c>>>0){M[294914]=O[241309]|O[241310]<<8;N[147456]=O[241305]|O[241306]<<8|(O[241307]<<16|O[241308]<<24);e=589824;break s}e=(f+T(c,6)|0)+2|0}L[e+2|0]=d;L[e+3|0]=d>>>8;d=(i|0)!=0;k=(d<<1)+k|0;h=h+1|0;i=i-d|0;d=!j;l=l-d|0;m=(d<<1)+m|0;if(i|(k|0)!=(r|0)){continue}break}}de(b,a,Cc(b,1));return 1}N[b+24>>2]=f}$c(b);return 0}function se(a,b){var 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;l=N[a+88>>2];n=l+12|0;a:{b:{c:{d:{if(L[a+8|0]&1){e:{f:{g:{h:{i:{j:{k:{o=N[b>>2];switch(o|0){case 3:break i;case 2:break j;case 0:break k;case 1:break g;case 4:break h;default:break e}}f=P[a+68>>1];g=f;break e}f=N[a+60>>2]-N[a+52>>2]|0;d=N[a- -64>>2]-N[a+56>>2]|0;break f}f=M[a+76>>1];d=M[a+70>>1]-M[a+72>>1]|0;break f}c=N[b+4>>2];N[l+16>>2]=c;b=N[b+8>>2];N[l+20>>2]=b;if(!c){break c}if(b){break b}break d}f=M[a+70>>1]-M[a+72>>1]|0;d=f}c=d;c=c>>31;g=(d^c)-c|0;c=f>>31;f=(c^f)-c|0}d=N[b+4>>2];i=d;c=N[b+12>>2];if(c){i=(T(c,d)+36|0)/72|0}p=N[b+8>>2];m=p;b=N[b+16>>2];if(b){m=(T(b,p)+36|0)/72|0}l:{if(d){c=2147483647;m:{if(!f){break m}b=i>>31;e=(b^i)-b|0;if(e>>>0<=(f>>>17^65535)>>>0){c=((e<<16)+(f>>>1|0)>>>0)/(f>>>0)|0;break m}b=e<<16;d=b+(f>>>1|0)|0;b=(e>>>16|0)+(b>>>0>d>>>0)|0;if(b>>>0>=f>>>0){break m}h=W(b);j=32-h|0;b=d>>>j|b<>>0)/(f>>>0)|0;k=b-T(c,f)|0;b=d<>>31;e=d>>>0>=f>>>0;k=d-(e?f:0)|0;c=e|c<<1;j=31-h|0;b=b<<1}if((h|0)==31){break m}while(1){d=k<<1|b>>>31;h=d>>>0>=f>>>0;d=b>>>30&1|d-(h?f:0)<<1;e=d>>>0>=f>>>0;k=d-(e?f:0)|0;c=c<<2|h<<1|e;b=b<<2;j=j-2|0;if(j){continue}break}}c=(i|0)<0?0-c|0:c;N[l+16>>2]=c;if(p){b=2147483647;n:{if(!g){break n}d=m>>31;h=(d^m)-d|0;if(h>>>0<=(g>>>17^65535)>>>0){b=((h<<16)+(g>>>1|0)>>>0)/(g>>>0)|0;break n}d=h<<16;e=d+(g>>>1|0)|0;d=(h>>>16|0)+(d>>>0>e>>>0)|0;if(d>>>0>=g>>>0){break n}h=W(d);j=32-h|0;d=e>>>j|d<>>0)/(g>>>0)|0;k=d-T(b,g)|0;f=e<>>31;e=d>>>0>=g>>>0;k=d-(e?g:0)|0;j=31-h|0;f=f<<1;b=e|b<<1}if((h|0)==31){break n}while(1){d=k<<1|f>>>31;h=d>>>0>=g>>>0;d=f>>>30&1|d-(h?g:0)<<1;e=d>>>0>=g>>>0;k=d-(e?g:0)|0;b=e|(b<<2|h<<1);f=f<<2;j=j-2|0;if(j){continue}break}}b=(m|0)<0?0-b|0:b;N[l+20>>2]=b;if((o|0)!=3){break l}if((b|0)<=(c|0)){break c}break d}N[l+20>>2]=c;m=jb(i,g,f);b=c;break l}i=2147483647;o:{if(!g){break o}b=m>>31;d=(b^m)-b|0;if(d>>>0<=(g>>>17^65535)>>>0){i=((d<<16)+(g>>>1|0)>>>0)/(g>>>0)|0;break o}b=d<<16;c=b+(g>>>1|0)|0;b=(d>>>16|0)+(b>>>0>c>>>0)|0;if(b>>>0>=g>>>0){break o}e=W(b);k=32-e|0;b=c>>>k|b<>>0)/(g>>>0)|0;j=b-T(g,i)|0;b=c<>>31;d=c>>>0>=g>>>0;j=c-(d?g:0)|0;i=d|i<<1;k=31-e|0;b=b<<1}if((e|0)==31){break o}while(1){c=j<<1|b>>>31;e=c>>>0>=g>>>0;c=b>>>30&1|c-(e?g:0)<<1;d=c>>>0>=g>>>0;j=c-(d?g:0)|0;i=d|(i<<2|e<<1);b=b<<2;k=k-2|0;if(k){continue}break}}b=(m|0)<0?0-i|0:i;N[l+16>>2]=b;N[l+20>>2]=b;i=jb(m,f,g);c=b}if(!o){break a}break b}N[n>>2]=0;N[n+4>>2]=0;N[n+24>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[n+8>>2]=0;N[n+12>>2]=0;N[l+16>>2]=65536;N[l+20>>2]=65536;return}N[l+20>>2]=c;b=c;break b}N[l+16>>2]=b;c=b}d=(c|0)<0;e=P[a+68>>1];f=c;c=c>>31;c=(f^c)-c|0;p:{if(e+(c>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break p}c=T(e,c>>>16|0)+(T(e,c&65535)+32768>>>16|0)|0}i=d?0-c|0:c;c=b>>31;c=(c^b)-c|0;q:{if(e+(c>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break q}c=T(e,c>>>16|0)+(T(e,c&65535)+32768>>>16|0)|0}m=(b|0)<0?0-c|0:c}M[l+14>>1]=m+32>>>6;M[l+12>>1]=i+32>>>6;sn(a,n)}function gA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=La-16|0;C(c,0,652);g=O[b+8|0];L[c+188|0]=g;a:{if(!g){break a}if(g>>>0>=4){i=g&252;e=c+192|0;h=b+12|0;while(1){N[e+(d<<2)>>2]=M[h+(d<<1)>>1];j=d|1;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];j=d|2;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];j=d|3;N[e+(j<<2)>>2]=M[h+(j<<1)>>1];d=d+4|0;if((i|0)!=(d|0)){continue}break}}e=g&3;if(!e){break a}g=0;while(1){N[((d<<2)+c|0)+192>>2]=M[((d<<1)+b|0)+12>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+9|0];L[c+189|0]=e;b:{if(!e){break b}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+248|0;i=b+40|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break b}while(1){N[((d<<2)+c|0)+248>>2]=M[((d<<1)+b|0)+40>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+10|0];L[c+190|0]=e;c:{if(!e){break c}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+288|0;i=b+60|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break c}while(1){N[((d<<2)+c|0)+288>>2]=M[((d<<1)+b|0)+60>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+11|0];L[c+191|0]=e;d:{if(!e){break d}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+344|0;i=b+88|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break d}while(1){N[((d<<2)+c|0)+344>>2]=M[((d<<1)+b|0)+88>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}N[c+384>>2]=N[b+108>>2];N[c+388>>2]=N[b+112>>2];N[c+392>>2]=N[b+116>>2];N[c+396>>2]=P[b+120>>1];N[c+400>>2]=P[b+122>>1];e=O[b+124|0];L[c+404|0]=e;e:{if(!e){break e}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+408|0;i=b+128|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break e}while(1){N[((d<<2)+c|0)+408>>2]=M[((d<<1)+b|0)+128>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}e=O[b+125|0];L[c+405|0]=e;f:{if(!e){break f}g=0;d=0;if(e>>>0>=4){j=e&252;h=c+460|0;i=b+154|0;while(1){N[h+(d<<2)>>2]=M[i+(d<<1)>>1];f=d|1;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|2;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];f=d|3;N[h+(f<<2)>>2]=M[i+(f<<1)>>1];d=d+4|0;if((j|0)!=(d|0)){continue}break}}e=e&3;if(!e){break f}while(1){N[((d<<2)+c|0)+460>>2]=M[((d<<1)+b|0)+154>>1];d=d+1|0;g=g+1|0;if((e|0)!=(g|0)){continue}break}}L[c+512|0]=O[b+126|0];N[c+520>>2]=N[b+4>>2];N[c+524>>2]=N[b+184>>2];b=N[b+180>>2];N[c+552>>2]=c;N[c+528>>2]=b;g:{a=N[a+128>>2];d=N[a+60>>2];if((d|0)==-1){break g}N[c+648>>2]=d;if(!d){break g}while(1){b=d<<13^d;b=b>>>17^b;d=b<<5^b;if((d|0)<0){continue}break}N[a+60>>2]=d;return}a=k+4^(k+8^k+12);a=a>>>20^a>>>10^a;N[c+648>>2]=a?a:29572}function Yo(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0;g=La-32|0;La=g;Dd(a,g+20|0);f=N[g+28>>2];a:{if(!f){l=3;break a}j=N[g+20>>2];N[g+16>>2]=j;e=7;k=N[g+24>>2];i=N[b+8>>2];b:{if((i|0)==7){l=N[a+8>>2];i=k-1|0;N[a+8>>2]=i;o=1;m=N[a>>2];j=j+1|0;N[a>>2]=j;Dd(a,g);N[a+8>>2]=l;N[a>>2]=m;l=3;m=0;if(N[g+8>>2]!=3){break b}if(!d){break a}N[g+16>>2]=j;e=8;k=i;m=1;break b}l=3;if((f|0)!=3){e=1}else{if(!d){break a}m=1;N[g+16>>2]=j+1;k=k-1|0;e=d}o=e;e=i}p=d<<4;q=T(d,3);r=d<<1;s=e-1|0;t=f-2|0;n=d<<2;u=(n|0)>536870911;c:{while(1){e=N[(m<<2)+c>>2];i=N[b+16>>2];Tb(g+16|0,k);j=e+i|0;d:{e:{f:{g:{h:{i:{switch(s|0){case 0:f=N[g+16>>2];i=f;j:{if(O[f|0]!=116|f+3>>>0>=k>>>0|(O[f+1|0]!=114|O[f+2|0]!=117)){break j}if(O[i+3|0]!=101){break j}e=1;N[g+16>>2]=f+5;break h}e=0;k:{if(O[f|0]!=102|f+4>>>0>=k>>>0|(O[f+1|0]!=97|O[f+2|0]!=108)){break k}if(O[i+3|0]!=115){break k}f=(O[f+4|0]==101?6:0)+f|0}N[g+16>>2]=f;break h;case 2:e=Qc(g+16|0,k,0);break h;case 3:e=Qc(g+16|0,k,3);break h;case 7:break e;case 6:break f;case 4:case 5:break g;case 1:break i;default:break a}}h=N[g+16>>2];N[g>>2]=h;i=fd(g,k,10);e=0;f=N[g>>2];if((h|0)==(f|0)){break h}if(!(O[f|0]!=35|f>>>0>=k>>>0)){h=f+1|0;N[g>>2]=h;i=fd(g,k,i);f=N[g>>2];if((h|0)==(f|0)){break h}}N[g+16>>2]=f;e=i}l:{switch(O[b+20|0]-1|0){case 0:L[j|0]=e;break d;case 1:M[j>>1]=e;break d;default:break l}}N[j>>2]=e;break d}e=N[g+16>>2];if(e>>>0>=k>>>0){break d}h=k-e|0;f=N[a+16>>2];m:{n:{switch(t|0){case 2:i=e+1|0;N[g+16>>2]=i;e=h-1|0;break m;case 0:break n;default:break a}}i=e+1|0;N[g+16>>2]=i;e=h-2|0}h=N[j>>2];if(h){Qa[N[f+8>>2]](f,h);N[j>>2]=0}h=e+1|0;o:{if(e>>>0<=2147483646){f=Qa[N[f+4>>2]](f,h)|0;if(f){break o}l=64;break a}f=0;if(!h){break o}l=6;break a}F(f,i,e);L[e+f|0]=0;N[j>>2]=f;break d}if((Fe(g+16|0,k,4,g,0)|0)<4){break a}e=N[g>>2];N[j>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+4>>2];N[j+4>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+8>>2];N[j+8>>2]=((e>>31)+e|0)+32768&-65536;e=N[g+12>>2];N[j+12>>2]=((e>>31)+e|0)+32768&-65536;break d}if((n|0)<0){l=6;break a}i=N[a+16>>2];p:{if(!n){e=0;break p}if(u){l=10;break a}e=Qa[N[i+4>>2]](i,p)|0;if(!(!e|(n|0)<=0)){C(e,0,p);break p}if(e){break p}l=!e<<6;break a}f=Fe(g+16|0,k,d,e,0);if((f|0)<0|d>>>0>f>>>0){break c}f=g+16|0;Tb(f,k);f=Fe(f,k,d,e+n|0,0);if((f|0)<0|d>>>0>f>>>0){break c}f=g+16|0;Tb(f,k);f=Fe(f,k,d,(r<<2)+e|0,0);if((f|0)<0|d>>>0>f>>>0){break c}f=g+16|0;Tb(f,k);f=Fe(f,k,d,(q<<2)+e|0,0);if((f|0)<0|d>>>0>f>>>0){break c}Tb(g+16|0,k);f=0;q:{if(d){while(1){h=f<<2;j=N[h+c>>2];h=N[e+h>>2];N[j>>2]=((h>>31)+h|0)+32768&-65536;h=N[(d+f<<2)+e>>2];N[j+4>>2]=((h>>31)+h|0)+32768&-65536;h=N[(f+r<<2)+e>>2];N[j+8>>2]=((h>>31)+h|0)+32768&-65536;h=j;j=N[(f+q<<2)+e>>2];N[h+12>>2]=((j>>31)+j|0)+32768&-65536;f=f+1|0;if((f|0)!=(d|0)){continue}break q}}if(!e){break d}}Qa[N[i+8>>2]](i,e)}m=m+1|0;o=o-1|0;if(o){continue}break}l=0;break a}if(!e){break a}Qa[N[i+8>>2]](i,e)}La=g+32|0;return l|0}function pc(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=La-112|0;La=j;k=i&2147483647;a:{b:{l=e&2147483647;m=!(b|c);if(!(d|l?l-2147418112>>>0<2147549184:m)){o=k-2147418112|0;if(!h&(o|0)==-2147418112?f|g:(o|0)==-2147418112&(h|0)!=0|o>>>0>2147549184){break b}}if(!(!d&(l|0)==2147418112?m:l>>>0<2147418112)){h=d;i=e|32768;f=b;g=c;break a}if(!(!h&(k|0)==2147418112?!(f|g):k>>>0<2147418112)){i=i|32768;break a}if(!(b|d|(l^2147418112|c))){n=d;d=!(b^f|d^h|(c^g|e^i^-2147483648));h=d?0:n;i=d?2147450880:e;f=d?0:b;g=d?0:c;break a}if(!(f|h|(k^2147418112|g))){break a}if(!(b|d|(c|l))){if(f|h|(g|k)){break a}f=b&f;g=c&g;h=d&h;i=e&i;break a}if(f|h|(g|k)){break b}f=b;g=c;h=d;i=e;break a}n=(k|0)==(l|0);r=n&(d|0)==(h|0)?(c|0)==(g|0)&b>>>0>>0|c>>>0>>0:n&d>>>0>>0|k>>>0>l>>>0;m=r;l=m?f:b;o=m?g:c;n=m?i:e;s=n;m=m?h:d;q=n&65535;d=r?d:h;e=r?e:i;t=e;n=e>>>16&32767;p=s>>>16&32767;if(!p){e=!(m|q);i=e;k=e?l:m;e=e<<6;i=W(i?o:q);e=e+((i|0)==32?W(k)+32|0:i)|0;hc(j+96|0,l,o,m,q,e-15|0);m=N[j+104>>2];q=N[j+108>>2];o=N[j+100>>2];p=16-e|0;l=N[j+96>>2]}f=r?b:f;g=r?c:g;h=d;i=t&65535;if(!n){b=!(h|i);e=b;k=b?f:h;b=b<<6;e=W(e?g:i);b=b+((e|0)==32?W(k)+32|0:e)|0;hc(j+80|0,f,g,h,i,b-15|0);n=16-b|0;h=N[j+88>>2];i=N[j+92>>2];g=N[j+84>>2];f=N[j+80>>2]}c=i<<3|h>>>29;b=h<<3|g>>>29;c=c|524288;h=m<<3|o>>>29;i=q<<3|m>>>29;r=s^t;e=g<<3|f>>>29;d=f<<3;c:{if((n|0)==(p|0)){break c}f=p-n|0;if(f>>>0>127){b=0;c=0;e=0;d=1;break c}hc(j- -64|0,d,e,b,c,128-f|0);Qd(j+48|0,d,e,b,c,f);b=N[j+56>>2];c=N[j+60>>2];e=N[j+52>>2];d=N[j+48>>2]|(N[j+64>>2]|N[j+72>>2]|(N[j+68>>2]|N[j+76>>2]))!=0}m=d;k=e;n=h;q=i|524288;e=o<<3|l>>>29;o=l<<3;l=e;d:{if((r|0)<0){f=0;g=0;h=0;i=0;if(!(m^o|b^n|(k^l|c^q))){break a}d=o-m|0;e=l-((m>>>0>o>>>0)+k|0)|0;f=n-b|0;g=(k|0)==(l|0)&m>>>0>o>>>0|k>>>0>l>>>0;h=f-g|0;b=(q-((b>>>0>n>>>0)+c|0)|0)-(f>>>0>>0)|0;i=b;if(b>>>0>524287){break d}b=!(h|i);f=b;g=b?d:h;b=b<<6;f=W(f?e:i);b=b+((f|0)==32?W(g)+32|0:f)|0;b=b-12|0;hc(j+32|0,d,e,h,i,b);p=p-b|0;h=N[j+40>>2];i=N[j+44>>2];d=N[j+32>>2];e=N[j+36>>2];break d}e=k+l|0;d=m+o|0;e=d>>>0>>0?e+1|0:e;f=(k|0)==(e|0)&d>>>0>>0|e>>>0>>0;k=c+q|0;b=b+n|0;k=b>>>0>>0?k+1|0:k;h=b+f|0;i=h>>>0>>0?k+1|0:k;if(!(i&1048576)){break d}d=m&1|((e&1)<<31|d>>>1);e=h<<31|e>>>1;p=p+1|0;h=(i&1)<<31|h>>>1;i=i>>>1|0}c=0;l=s&-2147483648;if((p|0)>=32767){h=c;i=l|2147418112;f=0;g=0;break a}n=0;e:{if((p|0)>0){n=p;break e}hc(j+16|0,d,e,h,i,p+127|0);Qd(j,d,e,h,i,1-p|0);d=N[j>>2]|(N[j+16>>2]|N[j+24>>2]|(N[j+20>>2]|N[j+28>>2]))!=0;e=N[j+4>>2];h=N[j+8>>2];i=N[j+12>>2]}o=d&7;d=(e&7)<<29|d>>>3;f=(o>>>0>4)+d|0;b=h<<29|e>>>3;g=d>>>0>f>>>0?b+1|0:b;d=(b|0)==(g|0)&d>>>0>f>>>0|b>>>0>g>>>0;b=c|((i&7)<<29|h>>>3);h=d+b|0;i=l|(i>>>3&65535|n<<16);i=b>>>0>h>>>0?i+1|0:i;f:{if((o|0)==4){b=0;k=g+b|0;d=f;c=f&1;f=f+c|0;g=d>>>0>f>>>0?k+1|0:k;b=(b|0)==(g|0)&c>>>0>f>>>0|b>>>0>g>>>0;h=b+h|0;i=b>>>0>h>>>0?i+1|0:i;break f}if(!o){break a}}}N[a>>2]=f;N[a+4>>2]=g;N[a+8>>2]=h;N[a+12>>2]=i;La=j+112|0}function Ec(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;N[a>>2]=0;N[a+88>>2]=c;N[a+84>>2]=b;N[a+20>>2]=0;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=-1;N[a+28>>2]=0;N[a+60>>2]=0;N[a+64>>2]=0;N[a+52>>2]=0;N[a+56>>2]=-1;N[a+68>>2]=0;b=N[c+24>>2];N[a+100>>2]=0;N[a+96>>2]=d;N[a+92>>2]=b;e=N[b+140>>2];a:{if(e){break a}while(1){c=N[b+48>>2];if(!c){e=275552;break a}e=db(1,4);if(!e){e=275552;N[b+140>>2]=275552;break a}e=Pf(e,c);if(!N[b+140>>2]){N[b+140>>2]=e;break a}ab(N[e>>2]);_a(e);e=N[b+140>>2];if(!e){continue}break}}b=275552;c=N[e>>2];c=c?c:275552;f=Q[c+16>>2]<4?275552:N[c+12>>2];N[a+104>>2]=f;k=O[f|0]|O[f+1|0]<<8;b:{if((k|0)!=256){break b}c=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65539){break b}c=O[f+14|0]|O[f+15|0]<<8|(O[f+16|0]<<16|O[f+17|0]<<24);if(!c){break b}b=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+f|0}N[a+108>>2]=b;c=0;l=N[a+84>>2];c:{if(!N[N[a+88>>2]+84>>2]|(l|0)!=1){break c}c=O[b+2|0]|O[b+3|0]<<8|(O[b+4|0]<<16|O[b+5|0]<<24);if(c){b=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+b|0}else{b=275552}b=O[b+2|0]|O[b+3|0]<<8;e=(b<<8|b>>>8)&65535;c=kb(e<<2);if(!b|!c){break c}b=e>>>0<=1?1:e;g=b&7;e=0;if(b>>>0>=8){h=b&65528;while(1){b=e<<2;N[b+c>>2]=1073741824;N[(b|4)+c>>2]=1073741824;N[(b|8)+c>>2]=1073741824;N[(b|12)+c>>2]=1073741824;N[(b|16)+c>>2]=1073741824;N[(b|20)+c>>2]=1073741824;N[(b|24)+c>>2]=1073741824;N[(b|28)+c>>2]=1073741824;e=e+8|0;if((h|0)!=(e|0)){continue}break}}if(!g){break c}while(1){N[(e<<2)+c>>2]=1073741824;e=e+1|0;i=i+1|0;if((g|0)!=(i|0)){continue}break}}N[a+116>>2]=0;N[a+120>>2]=0;N[a+112>>2]=c;N[a+124>>2]=0;h=N[d+68>>2];if(h){g=0;c=N[d+80>>2];b=c;e=0;if(h>>>0>=4){j=h&-4;i=0;while(1){e=1<<(N[b>>2]>>>4)|e|1<<(N[b+20>>2]>>>4)|1<<(N[b+40>>2]>>>4)|1<<(N[b+60>>2]>>>4);b=b+80|0;i=i+4|0;if((j|0)!=(i|0)){continue}break}}j=h&3;if(j){while(1){e=1<<(N[b>>2]>>>4)|e;b=b+20|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[a+116>>2]=e;g=0;b=c;e=0;if(h>>>0>=4){m=h&-4;i=0;while(1){e=1<>2]|e|1<>2]|1<>2]|1<>2];b=b+80|0;i=i+4|0;if((m|0)!=(i|0)){continue}break}}if(j){while(1){e=1<>2]|e;b=b+20|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[a+120>>2]=e;e=0;d:{if(h>>>0<4){b=0;break d}h=h&-4;b=0;g=0;while(1){b=1<<(N[c>>2]>>>9)|b|1<<(N[c+20>>2]>>>9)|1<<(N[c+40>>2]>>>9)|1<<(N[c+60>>2]>>>9);c=c+80|0;g=g+4|0;if((h|0)!=(g|0)){continue}break}}if(j){while(1){b=1<<(N[c>>2]>>>9)|b;c=c+20|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}}N[a+124>>2]=b}b=N[d+40>>2];N[a+140>>2]=0;N[a+144>>2]=64;N[a+132>>2]=1;N[a+136>>2]=-1;N[a+128>>2]=b;b=O[f+4|0]|O[f+5|0]<<8;N[a+156>>2]=1;N[a+160>>2]=-1;L[a+149|0]=1;L[a+150|0]=1;L[a+151|0]=0;L[a+152|0]=0;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;L[a+20|0]=(l|0)==1;N[a+72>>2]=0;N[a+48>>2]=a;L[a+21|0]=1;L[a+22|0]=0;N[a+12>>2]=0;N[a+16>>2]=1;c=a- -64|0;N[c>>2]=0;N[c+4>>2]=0;M[a+60>>1]=257;N[a+52>>2]=0;N[a+56>>2]=-1;L[a+62|0]=0;L[a+148|0]=(k|0)==256&(b|0)!=0;return a}function Dk(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,o=0,p=0;e=N[b+4>>2];if(e>>>0>a>>>0){return 0}f=N[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}j=N[b+12>>2];g=j-2|0;N[b+12>>2]=g;d=1;if((g|0)<=0){return 0}g=O[a|0]|O[a+1|0]<<8;a:{if(!g){break a}b:{l=((g<<8|g>>>8)&65535)+c|0;if(e>>>0>l>>>0|f>>>0>>0|f-l>>>0<2){break b}c=j-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}g=O[l|0]|O[l+1|0]<<8;if(!g){break a}d=l+2|0;if(d>>>0>f>>>0){break b}k=f-d|0;f=(g<<8|g>>>8)&65535;d=T(f,6);if(k>>>0>>0){break b}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break b}o=f>>>0<=1?1:f;while(1){g=N[b+4>>2];e=T(n,6)+l|0;f=e+2|0;if(g>>>0>f>>>0){break b}c=N[b+8>>2];if(c>>>0>>0|c-f>>>0<6){break b}d=N[b+12>>2];f=d-6|0;N[b+12>>2]=f;if((f|0)<=0){break b}j=e+6|0;if(c>>>0>>0|c-j>>>0<2){break b}f=d-8|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=O[j|0]|O[j+1|0]<<8;c:{if(!f){break c}d:{e:{f=((f<<8|f>>>8)&65535)+l|0;if(f>>>0>>0|c>>>0>>0|c-f>>>0<2){break e}e=d-10|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=O[f|0]|O[f+1|0]<<8;f:{if(!e){break f}e=f+((e<<8|e>>>8)&65535)|0;g:{if(e>>>0>>0|c>>>0>>0|c-e>>>0<6){break g}i=d-16|0;N[b+12>>2]=i;if((i|0)<=0){break g}i=e+4|0;if(i>>>0>c>>>0|c-i>>>0<2){break g}d=d-18|0;N[b+12>>2]=d;if((d|0)<=0){break g}i=O[i|0]|O[i+1|0]<<8;if(!i){break f}e=e+6|0;if(e>>>0>c>>>0){break g}k=c-e|0;c=((i<<8|i>>>8)&65535)<<1;if(k>>>0>>0){break g}c=d-c|0;N[b+12>>2]=c;if((c|0)>0){break f}}c=N[b+28>>2];if(c>>>0>31){break b}d=c+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[f|0]=0;L[f+1|0]=0;g=N[b+4>>2]}i=f+2|0;if(i>>>0>>0){break e}c=N[b+8>>2];if(c>>>0>>0|c-i>>>0<2){break e}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break e}g=O[i|0]|O[i+1|0]<<8;if(!g){break c}e=f+4|0;if(e>>>0>c>>>0){break e}k=c-e|0;c=(g<<8|g>>>8)&65535;g=T(c,6);if(k>>>0>>0){break e}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break e}p=c>>>0<=1?1:c;g=0;while(1){d=N[b+4>>2];h=i+T(g,6)|0;e=h+2|0;if(d>>>0>e>>>0){break e}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<6){break e}m=N[b+12>>2];e=m-6|0;N[b+12>>2]=e;if((e|0)<=0){break e}e=h+6|0;if(e>>>0>>0|c>>>0>>0|c-e>>>0<2){break e}h=m-8|0;N[b+12>>2]=h;if((h|0)<=0){break e}h=O[e|0]|O[e+1|0]<<8;h:{if(!h){break h}k=d;d=f+((h<<8|h>>>8)&65535)|0;i:{if(k>>>0>d>>>0|c>>>0>>0|c-d>>>0<6){break i}h=m-14|0;N[b+12>>2]=h;if((h|0)<=0){break i}h=d+4|0;if(h>>>0>c>>>0|c-h>>>0<2){break i}m=m-16|0;N[b+12>>2]=m;if((m|0)<=0){break i}h=O[h|0]|O[h+1|0]<<8;if(!h){break h}d=d+6|0;if(d>>>0>c>>>0){break i}k=c-d|0;c=((h<<8|h>>>8)&65535)<<1;if(k>>>0>>0){break i}c=m-c|0;N[b+12>>2]=c;if((c|0)>0){break h}}c=N[b+28>>2];if(c>>>0>31){break b}d=c+1|0;N[b+28>>2]=d;if(!O[b+24|0]){break d}L[e|0]=0;L[e+1|0]=0}g=g+1|0;if((p|0)!=(g|0)){continue}break}break c}d=N[b+28>>2]}if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[j|0]=0;L[j+1|0]=0}d=1;n=n+1|0;if((o|0)!=(n|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;d=1}return d}function _a(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}d=a-8|0;b=N[a-4>>2];a=b&-8;f=d+a|0;b:{if(b&1){break b}if(!(b&3)){break a}b=N[d>>2];d=d-b|0;if(d>>>0>>0<=255){e=b>>>3|0;b=N[d+12>>2];c=N[d+8>>2];if((b|0)==(c|0)){i=589268,j=N[147317]&ZE(-2,e),N[i>>2]=j;break b}N[c+12>>2]=b;N[b+8>>2]=c;break b}g=N[d+24>>2];b=N[d+12>>2];if((d|0)!=(b|0)){c=N[d+8>>2];N[c+12>>2]=b;N[b+8>>2]=c;break c}e=d+20|0;c=N[e>>2];if(!c){c=N[d+16>>2];if(!c){break d}e=d+16|0}while(1){h=e;b=c;e=b+20|0;c=N[e>>2];if(c){continue}e=b+16|0;c=N[b+16>>2];if(c){continue}break}N[h>>2]=0;break c}b=N[f+4>>2];if((b&3)!=3){break b}N[147319]=a;N[f+4>>2]=b&-2;N[d+4>>2]=a|1;N[f>>2]=a;return}b=0}if(!g){break b}c=N[d+28>>2];e=(c<<2)+589572|0;e:{if(N[e>>2]==(d|0)){N[e>>2]=b;if(b){break e}i=589272,j=N[147318]&ZE(-2,c),N[i>>2]=j;break b}N[g+(N[g+16>>2]==(d|0)?16:20)>>2]=b;if(!b){break b}}N[b+24>>2]=g;c=N[d+16>>2];if(c){N[b+16>>2]=c;N[c+24>>2]=b}c=N[d+20>>2];if(!c){break b}N[b+20>>2]=c;N[c+24>>2]=b}if(d>>>0>=f>>>0){break a}b=N[f+4>>2];if(!(b&1)){break a}f:{g:{h:{i:{if(!(b&2)){if(N[147323]==(f|0)){N[147323]=d;a=N[147320]+a|0;N[147320]=a;N[d+4>>2]=a|1;if(N[147322]!=(d|0)){break a}N[147319]=0;N[147322]=0;return}if(N[147322]==(f|0)){N[147322]=d;a=N[147319]+a|0;N[147319]=a;N[d+4>>2]=a|1;N[a+d>>2]=a;return}a=(b&-8)+a|0;if(b>>>0<=255){e=b>>>3|0;b=N[f+12>>2];c=N[f+8>>2];if((b|0)==(c|0)){i=589268,j=N[147317]&ZE(-2,e),N[i>>2]=j;break g}N[c+12>>2]=b;N[b+8>>2]=c;break g}g=N[f+24>>2];b=N[f+12>>2];if((f|0)!=(b|0)){c=N[f+8>>2];N[c+12>>2]=b;N[b+8>>2]=c;break h}e=f+20|0;c=N[e>>2];if(!c){c=N[f+16>>2];if(!c){break i}e=f+16|0}while(1){h=e;b=c;e=b+20|0;c=N[e>>2];if(c){continue}e=b+16|0;c=N[b+16>>2];if(c){continue}break}N[h>>2]=0;break h}N[f+4>>2]=b&-2;N[d+4>>2]=a|1;N[a+d>>2]=a;break f}b=0}if(!g){break g}c=N[f+28>>2];e=(c<<2)+589572|0;j:{if(N[e>>2]==(f|0)){N[e>>2]=b;if(b){break j}i=589272,j=N[147318]&ZE(-2,c),N[i>>2]=j;break g}N[g+(N[g+16>>2]==(f|0)?16:20)>>2]=b;if(!b){break g}}N[b+24>>2]=g;c=N[f+16>>2];if(c){N[b+16>>2]=c;N[c+24>>2]=b}c=N[f+20>>2];if(!c){break g}N[b+20>>2]=c;N[c+24>>2]=b}N[d+4>>2]=a|1;N[a+d>>2]=a;if(N[147322]!=(d|0)){break f}N[147319]=a;return}if(a>>>0<=255){b=(a&-8)+589308|0;c=N[147317];a=1<<(a>>>3);k:{if(!(c&a)){N[147317]=a|c;a=b;break k}a=N[b+8>>2]}N[b+8>>2]=d;N[a+12>>2]=d;N[d+12>>2]=b;N[d+8>>2]=a;return}c=31;if(a>>>0<=16777215){b=W(a>>>8|0);c=((a>>>38-b&1)-(b<<1)|0)+62|0}N[d+28>>2]=c;N[d+16>>2]=0;N[d+20>>2]=0;b=(c<<2)+589572|0;l:{m:{e=N[147318];h=1<>2]=d;N[d+24>>2]=b;break n}c=a<<((c|0)!=31?25-(c>>>1|0)|0:0);b=N[b>>2];while(1){e=b;if((N[b+4>>2]&-8)==(a|0)){break m}b=c>>>29|0;c=c<<1;h=e+(b&4)|0;b=N[h+16>>2];if(b){continue}break}N[h+16>>2]=d;N[d+24>>2]=e}N[d+12>>2]=d;N[d+8>>2]=d;break l}a=N[e+8>>2];N[a+12>>2]=d;N[e+8>>2]=d;N[d+24>>2]=0;N[d+12>>2]=e;N[d+8>>2]=a}a=N[147325]-1|0;N[147325]=a?a:-1}}function aC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=Qa[N[a+4>>2]](a,2496)|0;if(!h){N[c>>2]=0;return 64}C(h,0,2496);N[h>>2]=a;N[h+212>>2]=P[b+120>>1];g=O[b+124|0];a:{if(!g){break a}a=h+224|0;d=b+128|0;e=g&7;if(e){while(1){N[a>>2]=M[d>>1];d=d+2|0;a=a+12|0;f=f+1|0;if((e|0)!=(f|0)){continue}break}e=g&248}else{e=g}f=e;if(g>>>0<8){break a}while(1){N[a>>2]=M[d>>1];N[a+12>>2]=M[d+2>>1];N[a+24>>2]=M[d+4>>1];N[a+36>>2]=M[d+6>>1];N[a+48>>2]=M[d+8>>1];N[a+60>>2]=M[d+10>>1];N[a+72>>2]=M[d+12>>1];N[a+84>>2]=M[d+14>>1];d=d+16|0;a=a+96|0;f=f-8|0;if(f){continue}break}}f=1;N[h+208>>2]=g+1;N[h+8>>2]=P[b+122>>1];g=O[b+125|0];b:{if(!g){break b}a=h+20|0;d=b+154|0;i=g&7;if(i){e=0;while(1){N[a>>2]=M[d>>1];d=d+2|0;a=a+12|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}e=g&248}else{e=g}if(g>>>0<8){break b}while(1){N[a>>2]=M[d>>1];N[a+12>>2]=M[d+2>>1];N[a+24>>2]=M[d+4>>1];N[a+36>>2]=M[d+6>>1];N[a+48>>2]=M[d+8>>1];N[a+60>>2]=M[d+10>>1];N[a+72>>2]=M[d+12>>1];N[a+84>>2]=M[d+14>>1];d=d+16|0;a=a+96|0;e=e-8|0;if(e){continue}break}}N[h+4>>2]=g+1;a=0;d=h+412|0;e=b+12|0;g=b+40|0;jp(d,O[b+8|0],e,O[b+9|0],g,N[b+116>>2],0);i=b+60|0;l=b+88|0;jp(d,O[b+10|0],i,O[b+11|0],l,N[b+116>>2],1);d=O[b+8|0];c:{if(!d){break c}j=(d-1>>>1|0)+1|0;k=j&1;if(d>>>0>=3){m=j&2147483646;n=d-3&-4;j=0;while(1){d=a<<1;o=P[e+(d|6)>>1]-P[e+(d|4)>>1]<<16>>16;d=P[e+(d|2)>>1]-P[d+e>>1]<<16>>16;f=f<<16>>16;f=(d|0)>(f|0)?d:f;f=(f|0)<(o|0)?o:f;a=a+4|0;j=j+2|0;if((m|0)!=(j|0)){continue}break}a=n+4|0}if(!k){break c}a=a<<1;a=P[e+(a|2)>>1]-P[a+e>>1]<<16>>16;f=(a|0)>(f|0)?a:f}a=O[b+9|0];d:{if(!a){break d}e=(a-1>>>1|0)+1|0;j=e&1;if(a>>>0<3){a=0}else{k=e&2147483646;m=a-3&-4;e=0;a=0;while(1){d=e<<1;n=P[g+(d|6)>>1]-P[g+(d|4)>>1]<<16>>16;d=P[g+(d|2)>>1]-P[d+g>>1]<<16>>16;f=f<<16>>16;f=(d|0)>(f|0)?d:f;f=(f|0)<(n|0)?n:f;e=e+4|0;a=a+2|0;if((k|0)!=(a|0)){continue}break}a=m+4|0}if(!j){break d}a=a<<1;a=P[g+(a|2)>>1]-P[a+g>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=O[b+10|0];e:{if(!a){break e}e=(a-1>>>1|0)+1|0;g=e&1;if(a>>>0<3){a=0}else{j=e&2147483646;k=a-3&-4;d=0;e=0;while(1){a=d<<1;m=P[i+(a|6)>>1]-P[i+(a|4)>>1]<<16>>16;a=P[i+(a|2)>>1]-P[a+i>>1]<<16>>16;f=f<<16>>16;a=(a|0)>(f|0)?a:f;f=(a|0)<(m|0)?m:a;d=d+4|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}a=k+4|0}if(!g){break e}a=a<<1;a=P[i+(a|2)>>1]-P[a+i>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=O[b+11|0];f:{if(!a){break f}e=(a-1>>>1|0)+1|0;g=e&1;if(a>>>0<3){a=0}else{i=e&2147483646;j=a-3&-4;d=0;e=0;while(1){a=d<<1;k=P[(a|6)+l>>1]-P[(a|4)+l>>1]<<16>>16;a=P[(a|2)+l>>1]-P[a+l>>1]<<16>>16;f=f<<16>>16;a=(a|0)>(f|0)?a:f;f=(a|0)<(k|0)?k:a;d=d+4|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}a=j+4|0}if(!g){break f}a=a<<1;a=P[(a|2)+l>>1]-P[a+l>>1]<<16>>16;e=f<<16>>16;f=(a|0)>(e|0)?a:e}a=N[b+108>>2];e=fb(1e3,f&65535);N[h+2476>>2]=(a|0)<(e|0)?a:e;N[h+2480>>2]=N[b+112>>2];a=N[b+116>>2];N[h+404>>2]=0;N[h+408>>2]=0;N[h+200>>2]=0;N[h+204>>2]=0;N[h+2488>>2]=a;N[c>>2]=h;return 0}function Ti(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,o=0,p=0,q=0,r=0,s=0,t=0;a:{g=N[a+204>>2];f=g>>8;e=N[a+168>>2];n=c>>8;b:{if((f|0)>=(e|0)&(e|0)<=(n|0)){break b}k=N[a+164>>2];if((k|0)>(f|0)&(k|0)>(n|0)){break b}r=c&255;e=g&255;d=N[a+200>>2];if((f|0)==(n|0)){zg(a,f,d,e,b,r);break b}l=c-g|0;if((b|0)==(d|0)){g=N[a+176>>2];d=(l|0)>0;i=d<<8;e=i-e|0;N[g+4>>2]=e+N[g+4>>2];o=b<<1&510;N[g+8>>2]=N[g+8>>2]+T(o,e);m=b>>8;s=d?1:-1;j=s+f|0;e=j-k|0;c:{if(!(!((e|0)<0|(e|0)>=N[a+172>>2])&(m|0)>2])){d=N[a+192>>2];break c}g=N[a+188>>2]+(e<<2)|0;e=N[g>>2];h=N[e>>2];d=N[a+156>>2];f=(d|0)>(m|0)?d-1|0:m;if((h|0)<=(f|0)){while(1){d=e;if((f|0)==(h|0)){break c}e=N[d+12>>2];h=N[e>>2];if((f|0)>=(h|0)){continue}break}g=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=f;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[g>>2];N[g>>2]=d}N[a+176>>2]=d;if((j|0)!=(n|0)){g=(i<<1)-256|0;f=T(g,o);while(1){N[d+4>>2]=g+N[d+4>>2];N[d+8>>2]=f+N[d+8>>2];j=j+s|0;e=j-k|0;d:{if(!(!((e|0)<0|(e|0)>=N[a+172>>2])&(m|0)>2])){d=N[a+192>>2];break d}p=N[a+188>>2]+(e<<2)|0;e=N[p>>2];h=N[e>>2];d=N[a+156>>2];r=(d|0)>(m|0)?d-1|0:m;if((h|0)<=(r|0)){while(1){d=e;if((h|0)==(r|0)){break d}e=N[d+12>>2];h=N[e>>2];if((r|0)>=(h|0)){continue}break}p=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=r;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[p>>2];N[p>>2]=d}N[a+176>>2]=d;if((j|0)!=(n|0)){continue}break}}e=i+(c|-256)|0;N[d+4>>2]=e+N[d+4>>2];N[d+8>>2]=N[d+8>>2]+T(e,o);break b}o=b-d|0;p=1;k=d;m=e;k=d;e:{if((l|0)>0){t=256;e=256-e|0;break e}l=0-l|0;p=-1}d=T(e,o);e=(d|0)/(l|0)|0;s=d-T(e,l)|0;g=s>>31;q=(k+e|0)+g|0;zg(a,f,k,m,q,t);f:{g:{j=f+p|0;e=j-N[a+164>>2]|0;if(!((e|0)<0|(e|0)>=N[a+172>>2])){f=q>>8;if((f|0)>2]){break g}}d=N[a+192>>2];break f}i=N[a+188>>2]+(e<<2)|0;e=N[i>>2];h=N[e>>2];d=N[a+156>>2];f=(d|0)>(f|0)?d-1|0:f;if((h|0)<=(f|0)){while(1){d=e;if((f|0)==(h|0)){break f}e=N[d+12>>2];h=N[e>>2];if((f|0)>=(h|0)){continue}break}i=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=f;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[i>>2];N[i>>2]=d}N[a+176>>2]=d;h:{if((j|0)==(n|0)){m=256-t|0;break h}e=s+(g&l)|0;d=o<<8;g=(d|0)/(l|0)|0;f=d-T(g,l)|0;d=f>>31;o=(d&l)+f|0;s=d+g|0;m=256-t|0;while(1){d=q;g=e+o|0;f=(g|0)>=(l|0);q=f+(q+s|0)|0;zg(a,j,d,m,q,t);i:{j:{j=j+p|0;e=j-N[a+164>>2]|0;if(!((e|0)<0|(e|0)>=N[a+172>>2])){i=q>>8;if((i|0)>2]){break j}}d=N[a+192>>2];break i}k=N[a+188>>2]+(e<<2)|0;e=N[k>>2];h=N[e>>2];d=N[a+156>>2];i=(d|0)>(i|0)?d-1|0:i;if((h|0)<=(i|0)){while(1){d=e;if((i|0)==(h|0)){break i}e=N[d+12>>2];h=N[e>>2];if((i|0)>=(h|0)){continue}break}k=d+12|0}d=N[a+180>>2];N[a+180>>2]=d+16;if(Q[a+184>>2]<=d>>>0){break a}N[d>>2]=i;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=N[k>>2];N[k>>2]=d}e=g-(f?l:0)|0;N[a+176>>2]=d;if((j|0)!=(n|0)){continue}break}}zg(a,n,q,m,b,r)}N[a+204>>2]=c;N[a+200>>2]=b;return}pe(a,1);B()}function up(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;q=La-16|0;La=q;i=Yd(a,d);a:{if(i){break a}rf(a,b,c,d);w=N[a>>2];c=N[a+2748>>2];i=N[N[c>>2]+8>>2];b=T(d,1348)+a|0;n=b;N[b+56>>2]=0;s=b+44|0;f=N[s>>2];j=N[b+52>>2];g=N[(d?12:4)+a>>2];b=O[N[(i<<2)+288704>>2]+12|0];b:{if((d|0)==1){break b}b=0;if(d){break b}k=fb(64,N[a+12>>2]);b=0}x=fb(32,g);e=N[(c+T(d,9804)|0)+248>>2];c=e>>31;i=g>>31;h=(i^g)-i|0;t=h>>>8|0;c=(c^e)-c|0;c:{if(t+c>>>0<=8190){l=T(c,h)+32768>>>16|0;break c}i=c&65535;l=T(i,h>>>16|0)+T(h,c>>>16|0)+(T(i,h&65535)+32768>>>16)|0}c=l;i=0;m=0-c|0;c=e>>31|1;c=(((g|0)<0?0-c|0:c)|0)<0?m:l;l=fb((c|0)>=16?16:c,g);if((f|0)>0){o=T(f,44)+j|0;y=h&65535;z=h>>>16|0;A=T(k,3);r=(T(d,1348)+a|0)- -64|0;B=b&255;c=j;while(1){b=M[c+10>>1];d:{if((b|0)<(k|0)|M[c+4>>1]>(x|0)){break d}m=O[c+1|0];if((m|0)==4|(b<<1<(A|0)?N[c+24>>2]:0)){break d}e:{u=N[n+56>>2];f:{if((u|0)<=0){f=M[c+2>>1];break f}f=M[c+2>>1];C=N[r>>2];b=0;while(1){e=T(b,44)+C|0;v=f-M[e>>1]|0;p=v>>31;if(O[e+13|0]==(m|0)&(l|0)>((p^v)-p|0)){break e}b=b+1|0;if((u|0)!=(b|0)){continue}break}}b=xp(s,f,m<<24>>24,B,w,q+12|0);if(!b){b=N[q+12>>2];N[b>>2]=0;N[b+4>>2]=0;N[b+40>>2]=c;N[b+36>>2]=c;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;L[b+13|0]=O[c+1|0];f=M[c+2>>1];M[b>>1]=f;e=f>>31;e=(e^f)-e|0;g:{if(e+t>>>0<=8190){e=T(e,h)+32768>>>16|0;break g}e=T(e,z)+(T(e,y)+32768>>>16|0)|0}f=f>>31|1;f=(((g|0)<0?0-f|0:f)|0)<0?0-e|0:e;N[b+8>>2]=f;N[b+4>>2]=f;N[c+16>>2]=c;break d}i=b;break a}N[c+16>>2]=N[e+36>>2];N[N[e+40>>2]+16>>2]=c;N[e+40>>2]=c}c=c+44|0;if(o>>>0>c>>>0){continue}break}while(1){h:{if(O[j+1|0]!=4){break h}g=N[n+56>>2];if((g|0)<=0){break h}k=M[j+2>>1];f=N[r>>2];c=0;while(1){b=f+T(c,44)|0;e=k-M[b>>1]|0;h=e>>31;if((l|0)<=((e^h)-h|0)){c=c+1|0;if((g|0)!=(c|0)){continue}break h}break}N[j+16>>2]=N[b+36>>2];N[N[b+40>>2]+16>>2]=j;N[b+40>>2]=j}j=j+44|0;if(o>>>0>j>>>0){continue}break}}d=N[(T(d,1348)+a|0)- -64>>2];if(!d){break a}a=N[n+56>>2];if((a|0)<=0){break a}n=T(a,44)+d|0;b=d;while(1){a=N[b+36>>2];c=a;if(c){while(1){N[c+12>>2]=b;c=N[c+16>>2];if((a|0)!=(c|0)){continue}break}}b=b+44|0;if(n>>>0>b>>>0){continue}break}while(1){j=d+28|0;i=d+24|0;l=N[d+36>>2];c=l;k=0;e=0;while(1){o=L[c|0]&1;r=!o;h=N[c+24>>2];i:{j:{k:{l:{if(h){a=N[h+12>>2];g=(a|0)!=0&(a|0)!=(d|0);b=N[c+20>>2];if(b){break l}if(g){break k}break i}g=0;b=N[c+20>>2];if(!b){break i}}if(!(g|N[b+12>>2])){break i}f=0;a=i;if(!g){break j}}f=1;b=h;a=j}g=N[a>>2];m:{if(g){m=M[c+2>>1]-M[b+2>>1]|0;a=m>>31;p=M[d>>1]-M[g>>1]|0;h=p>>31;if((a^m)-a>>>0>=(h^p)-h>>>0){break m}}g=N[b+12>>2]}if(f){N[j>>2]=g;L[g+12|0]=O[g+12|0]|2;break i}N[i>>2]=g}k=k+o|0;e=e+r|0;c=N[c+16>>2];if((l|0)!=(c|0)){continue}break}L[d+12|0]=(k|0)!=0&e>>>0<=k>>>0;if(!(!N[d+28>>2]|!N[i>>2])){N[j>>2]=0}d=d+44|0;if(n>>>0>d>>>0){continue}break}i=0}La=q+16|0;return i}function Hg(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0;a:{c=T(b,1348)+a|0;f=N[c+56>>2];if((f|0)<=0){break a}g=N[a+24>>2];if((g|0)<=0){break a}a=N[a+28>>2];v=a+T(g,40)|0;k=b?8:4;w=k|16;h=N[c- -64>>2];c=h+T(f,44)|0;x=c-40|0;y=c-36|0;z=c-44|0;if((b|0)==1){l=f>>>0<9;m=(f|0)==2;n=(f|0)==3;o=(f|0)==4;p=(f|0)==5;q=(f|0)==6;r=(f|0)==7;s=b?20:16;while(1){j=P[a>>1];if(!(j&w)){b=N[a+8>>2];t=a+s|0;e=M[a+14>>1];d=(b+N[h+8>>2]|0)-N[h+4>>2]|0;b:{if((e|0)<=M[h>>1]){break b}d=(b+N[y>>2]|0)-N[x>>2]|0;if((e|0)>=M[z>>1]){break b}b=0;c=f;c:{d:{if(!l){while(1){g=b+c>>1;d=T(g,44)+h|0;i=M[d>>1];e:{if((i|0)>(e|0)){c=g;break e}d=N[d+8>>2];if((e|0)<=(i|0)){break b}b=g+1|0}if((b|0)<(c|0)){continue}break d}}b=1;f:{if((f|0)==1){break f}c=(e|0)<=M[h+44>>1];b=c?1:f;if(c|m){break f}c=(e|0)<=M[h+88>>1];b=c?2:f;if(c|n){break f}c=(e|0)<=M[h+132>>1];b=c?3:f;if(c|o){break f}c=(e|0)<=M[h+176>>1];b=c?4:f;if(c|p){break f}c=(e|0)<=M[h+220>>1];b=c?5:f;if(c|q){break f}c=(e|0)<=M[h+264>>1];b=c?6:f;if(c|r){break f}b=(e|0)<=M[h+308>>1]?7:f}c=T(b,44)+h|0;if(P[c>>1]==(e&65535)){break c}}c=T(b,44)+h|0;d=c-44|0;g=d;b=N[d+16>>2];g:{if(b){g=N[c-36>>2];c=M[d>>1];break g}i=g;g=N[c-36>>2];u=N[c+8>>2]-g|0;b=M[c>>1];c=M[d>>1];b=fb(u,b-c|0);N[i+16>>2]=b}e=e-c|0;d=e>>31;d=(e^d)-d|0;c=b>>31;c=(c^b)-c|0;h:{if(d+(c>>>8|0)>>>0<=8190){d=T(c,d)+32768>>>16|0;break h}d=d&65535;d=T(d,c>>>16|0)+(T(d,c&65535)+32768>>>16|0)|0}c=d;i=0-c|0;c=e>>31|1;d=((((b|0)<0?0-c|0:c)|0)<0?i:d)+g|0;break b}d=N[c+8>>2]}N[t>>2]=d;M[a>>1]=j|k}a=a+40|0;if(v>>>0>a>>>0){continue}break}break a}l=f>>>0>8;m=(f|0)==2;n=(f|0)==3;o=(f|0)==4;p=(f|0)==5;q=(f|0)==6;r=(f|0)==7;s=b?20:16;while(1){j=P[a>>1];if(!(j&w)){b=N[a+4>>2];t=a+s|0;e=M[a+12>>1];g=(b+N[h+8>>2]|0)-N[h+4>>2]|0;i:{if((e|0)<=M[h>>1]){break i}g=(b+N[y>>2]|0)-N[x>>2]|0;if((e|0)>=M[z>>1]){break i}b=0;c=f;j:{k:{if(!l){b=1;l:{if((f|0)==1){break l}c=(e|0)<=M[h+44>>1];b=c?1:f;if(c|m){break l}c=(e|0)<=M[h+88>>1];b=c?2:f;if(c|n){break l}c=(e|0)<=M[h+132>>1];b=c?3:f;if(c|o){break l}c=(e|0)<=M[h+176>>1];b=c?4:f;if(c|p){break l}c=(e|0)<=M[h+220>>1];b=c?5:f;if(c|q){break l}c=(e|0)<=M[h+264>>1];b=c?6:f;if(c|r){break l}b=(e|0)<=M[h+308>>1]?7:f}c=T(b,44)+h|0;if(P[c>>1]!=(e&65535)){break k}g=N[c+8>>2];break i}while(1){g=b+c>>1;d=T(g,44)+h|0;i=M[d>>1];m:{if((i|0)>(e|0)){c=g;break m}if((e|0)<=(i|0)){break j}b=g+1|0}if((b|0)<(c|0)){continue}break}}c=T(b,44)+h|0;d=c-44|0;g=d;b=N[d+16>>2];n:{if(b){g=N[c-36>>2];c=M[d>>1];break n}i=g;g=N[c-36>>2];u=N[c+8>>2]-g|0;b=M[c>>1];c=M[d>>1];b=fb(u,b-c|0);N[i+16>>2]=b}e=e-c|0;d=e>>31;d=(e^d)-d|0;c=b>>31;c=(c^b)-c|0;o:{if(d+(c>>>8|0)>>>0<=8190){d=T(c,d)+32768>>>16|0;break o}d=d&65535;d=T(d,c>>>16|0)+(T(d,c&65535)+32768>>>16|0)|0}c=d;i=0-c|0;c=e>>31|1;g=((((b|0)<0?0-c|0:c)|0)<0?i:d)+g|0;break i}g=N[d+8>>2]}N[t>>2]=g;M[a>>1]=j|k}a=a+40|0;if(v>>>0>a>>>0){continue}break}}}function pq(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{f:{g:{if(!(!f|!b)){j=db(f,16);if(j){break g}j=0;break e}i=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=i;N[a+16>>2]=N[d+16>>2];i=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=i;N[a+24>>2]=f;N[a+20>>2]=b?0:e;break f}b=N[d+4>>2];N[a>>2]=N[d>>2];N[a+4>>2]=b;N[a+16>>2]=N[d+16>>2];b=N[d+12>>2];N[a+8>>2]=N[d+8>>2];N[a+12>>2]=b;N[a+24>>2]=f;N[a+20>>2]=j;b=f<<4;h:{if(!b){d=0;b=0;break h}F(j,e,b);d=N[j+12>>2];b=N[j+8>>2]}e=f&3;i:{if(f>>>0<4){break i}f=f-4|0;k=(f>>>2|0)+1|0;i=k&3;if(f>>>0>=12){k=k&2147483644;f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+4|0;if((k|0)!=(f|0)){continue}break}}if(!i){break i}f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+1|0;if((i|0)!=(f|0)){continue}break}}if(e){f=0;while(1){d=(d|0)==-1?-1:2;b=(b|0)!=0;f=f+1|0;if((e|0)!=(f|0)){continue}break}}N[j+12>>2]=d;N[j+8>>2]=b}N[a+36>>2]=0;N[a+40>>2]=0;Pj(c,1196643650,g,h,a+28|0);Pj(c,1196445523,g,h,a+32|0);d=N[147451];j:{if(d){break j}d=0;e=0;h=La-32|0;La=h;g=th(19154);k:{if(!g|!O[g|0]){break k}f=db(1,40);if(!f){break k}b=N[66421];e=N[66420];L[f+32|0]=e;L[f+33|0]=e>>>8;L[f+34|0]=e>>>16;L[f+35|0]=e>>>24;L[f+36|0]=b;L[f+37|0]=b>>>8;L[f+38|0]=b>>>16;L[f+39|0]=b>>>24;b=N[66419];e=N[66418];L[f+24|0]=e;L[f+25|0]=e>>>8;L[f+26|0]=e>>>16;L[f+27|0]=e>>>24;L[f+28|0]=b;L[f+29|0]=b>>>8;L[f+30|0]=b>>>16;L[f+31|0]=b>>>24;b=N[66417];e=N[66416];L[f+16|0]=e;L[f+17|0]=e>>>8;L[f+18|0]=e>>>16;L[f+19|0]=e>>>24;L[f+20|0]=b;L[f+21|0]=b>>>8;L[f+22|0]=b>>>16;L[f+23|0]=b>>>24;b=N[66415];e=N[66414];L[f+8|0]=e;L[f+9|0]=e>>>8;L[f+10|0]=e>>>16;L[f+11|0]=e>>>24;L[f+12|0]=b;L[f+13|0]=b>>>8;L[f+14|0]=b>>>16;L[f+15|0]=b>>>24;b=N[66413];e=N[66412];L[f|0]=e;L[f+1|0]=e>>>8;L[f+2|0]=e>>>16;L[f+3|0]=e>>>24;L[f+4|0]=b;L[f+5|0]=b>>>8;L[f+6|0]=b>>>16;L[f+7|0]=b>>>24;i=f+20|0;while(1){e=lc(g,44);if(!e){e=nb(g)+g|0}l:{if(d>>>0>1){break l}b=d;b=f+T(b,20)|0;k=e-g|0;l=d;m:{if((nb(b)|0)!=(k|0)){break m}l=d;if(bb(b,g,k)){break m}l=d+1|0}b=l;n:{if(d){break n}if((nb(i)|0)!=(k|0)){break n}if(bb(i,g,k)){break n}N[h+24>>2]=N[i+16>>2];d=N[i+12>>2];N[h+16>>2]=N[i+8>>2];N[h+20>>2]=d;d=N[i+4>>2];N[h+8>>2]=N[i>>2];N[h+12>>2]=d;d=f+T(b,20)|0;F(d+20|0,d,T(1-b|0,20));N[d+16>>2]=N[h+24>>2];g=N[h+20>>2];N[d+8>>2]=N[h+16>>2];N[d+12>>2]=g;g=N[h+12>>2];N[d>>2]=N[h+8>>2];N[d+4>>2]=g;d=b+1|0;break l}d=b}g=e+1|0;if(O[e|0]){continue}break}e=f}La=h+32|0;d=e;if(!d){d=265648}b=N[147451];if(!b){N[147451]=d;break j}if(!(!d|(d|0)==265648)){_a(d)}d=b}b=N[d+16>>2];o:{if((b|0)==290){if(N[c+40>>2]){break a}if(!N[c+36>>2]){break o}break b}if((b|0)!=291){break o}if(N[c+44>>2]){break c}if(N[c+36>>2]){break d}}b=N[d+36>>2];if((b|0)!=290){if((b|0)!=291){break e}if(N[c+44>>2]){break c}if(N[c+36>>2]){break d}break e}if(N[c+40>>2]){break a}if(N[c+36>>2]){break b}}_a(j);return 0}N[c+44>>2]=1}N[a+40>>2]=13816;N[a+36>>2]=291;return 1}N[c+40>>2]=1}N[a+40>>2]=8913;N[a+36>>2]=290;return 1}function Vb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=N[a>>2];if(!b){i=a-96|0;while(1){d=N[i>>2];if(!d){return 275552}g=db(1,12);if(!g){N[a>>2]=275552;return 275552}c=La-48|0;La=c;N[g>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+32>>2]=0;b=N[d+32>>2];if((b|0)==-1){b=sb(d+56|0);b=O[b+4|0]|O[b+5|0]<<8;b=(b<<8|b>>>8)&65535;N[d+32>>2]=b}L[c+44|0]=1;N[c+40>>2]=b;b=N[d+12>>2];a:{if(b){d=Qa[b|0](d,1196643650,N[d+16>>2])|0;if(d){break a}}d=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{b=N[d>>2];if(b){if((b|0)<=0){break j}N[d>>2]=b+1}L[c+28|0]=0;N[c+36>>2]=d;b=N[d+12>>2];N[c+8>>2]=b;f=N[d+16>>2];N[c+12>>2]=f+b;if((f|0)<0){break i}if(f>>>0>67108863){h=1073741819}else{e=f<<6;e=e>>>0<=16384?16384:e;h=(e>>>0>=1073741823?1073741823:e)-4|0}N[c+24>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;e=d;if(!b){break c}if(f>>>0<4){break g}N[c+16>>2]=h;if((O[b|0]|O[b+1|0]<<8)!=256){break h}if(Vg(b,c+4|0)){break h}if(O[c+28|0]|!N[c+32>>2]){break g}if(!zb(d)){break g}while(1){L[c+28|0]=1;e=N[c+36>>2];b=N[e+12>>2];N[c+8>>2]=b;f=N[e+16>>2];N[c+12>>2]=f+b;if((f|0)<0){break i}if(f>>>0>67108863){h=1073741823}else{h=f<<6;h=h>>>0<=16384?16384:h;h=h>>>0>=1073741823?1073741823:h}N[c+24>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;if(!b){break c}if(f>>>0<4){break g}N[c+16>>2]=h-4;if((O[b|0]|O[b+1|0]<<8)!=256){break h}if(Vg(b,c+4|0)){break h}if(O[c+28|0]|!N[c+32>>2]){break g}b=zb(d);N[c+8>>2]=b;N[c+12>>2]=b+N[d+16>>2];if(b){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[c+32>>2]){break f}N[c+32>>2]=0;if(Q[c+8>>2]>b>>>0){break g}e=N[c+12>>2];if(e>>>0>>0|e-b>>>0<4){break g}e=N[c+16>>2]-4|0;N[c+16>>2]=e;if((e|0)<=0){break g}if((O[b|0]|O[b+1|0]<<8)!=256){break f}b=Vg(b,c+4|0);if(N[c+32>>2]){break g}ab(N[c+36>>2]);N[c+36>>2]=0;if(b){break e}break d}ab(N[c+36>>2]);break d}ab(N[c+36>>2]);N[c+36>>2]=0}if(!N[d+4>>2]){break b}N[d+4>>2]=0;break b}ab(d);d=275552;break b}ab(e)}N[g>>2]=d;b=0;e=Q[d+16>>2]<4?275552:N[d+12>>2];if((O[e|0]|O[e+1|0]<<8)==256){b=O[e+8|0]|O[e+9|0]<<8;if(b){b=e+((b<<8|b>>>8)&65535)|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535}N[g+4>>2]=b;e=db(b,28);N[g+8>>2]=e;if(!e){N[g+4>>2]=0;ab(d);N[g>>2]=275552;b=N[g+4>>2]}if(b){d=0;while(1){b=275552;j=N[g+8>>2]+T(d,28)|0;e=N[g>>2];e=e?e:275552;f=Q[e+16>>2]<4?275552:N[e+12>>2];k:{if((O[f|0]|O[f+1|0]<<8)!=256){break k}e=275552;h=O[f+8|0]|O[f+9|0]<<8;if(h){e=f+((h<<8|h>>>8)&65535)|0}f=O[e|0]|O[e+1|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=d>>>0){break k}f=(d<<1)+e|0;f=O[f+2|0]|O[f+3|0]<<8;if(!f){break k}b=((f<<8|f>>>8)&65535)+e|0}sk(j,b);d=d+1|0;if(d>>>0>2]){continue}break}}La=c+48|0;if(!N[a>>2]){N[a>>2]=g;return g}if(N[g+4>>2]){b=0;while(1){d=N[g+8>>2]+T(b,28)|0;if(N[d+16>>2]){N[d+16>>2]=0}_a(N[d+20>>2]);N[d+16>>2]=0;N[d+20>>2]=0;N[d+12>>2]=0;b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[g+8>>2]);ab(N[g>>2]);_a(g);b=N[a>>2];if(!b){continue}break}}return b}function Lq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=La-640|0;La=j;h=N[b+80>>2];a:{b:{c:{a=c;if(d>>>0<=a>>>0){break c}while(1){e=P[(T(a,20)+h|0)+16>>1];if(1<>>0>=56320:0){break c}a=a+1|0;if((d|0)!=(a|0)){continue}break}break b}if((a|0)==(d|0)){break b}i=T(a,20)+h|0;e=P[i+16>>1];d:{if(e>>>0>56575&(1<>>0>=d>>>0){e=a;break d}e=a;e:{while(1){f=T(e,20)+h|0;g=P[f+16>>1];if((g&65280)!=56320|!(1<>2];switch(f-2250|0){case 0:case 1:case 3:case 4:case 5:case 9:case 41:break f;case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break e;default:break g}}g=f-1756|0;if(1<>>0<=12:0){break f}f=f-1620|0;if(f>>>0>4|!(1<>>0>=33){break a}if(e-c>>>0>=2){Ib(b,c,e)}f=i;i=T(g,20);F(j,f,i);f=(c-a|0)+e|0;k=T(c,20)+h|0;F(T(f,20)+h|0,k,T(a-c|0,20));F(k,j,i);if(c>>>0>=f>>>0){break d}if(g&1){g=T(c,20)+h|0;i=P[g+16>>1];if(1<>1]=i&255|6400}c=c+1|0}if((a+1|0)!=(e|0)){while(1){a=T(c,20)+h|0;g=P[a+16>>1];if(1<>1]=g&255|6400}g=P[a+36>>1];if(1<>1]=g&255|6400}c=c+2|0;if((f|0)!=(c|0)){continue}break}}c=f}h:{if(d>>>0<=e>>>0){break h}while(1){a=P[(T(e,20)+h|0)+16>>1];if(1<>>0>=58880:0){break h}e=e+1|0;if((e|0)!=(d|0)){continue}break}break b}if((d|0)==(e|0)){break b}g=T(e,20)+h|0;a=P[g+16>>1];if(a>>>0>59135&(1<>>0<=e>>>0){break b}a=e;i:{while(1){f=T(a,20)+h|0;i=P[f+16>>1];if((i&65280)!=58880|!(1<>2];switch(f-2250|0){case 2:case 6:case 7:case 8:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:break i;case 0:case 1:case 3:case 4:case 5:case 9:case 41:break j;default:break k}}i=f-1756|0;if(1<>>0<=12:0){break j}f=f-1620|0;if(f>>>0>4|!(1<>>0>32){break a}if(a-c>>>0>=2){Ib(b,c,a)}f=T(d,20);F(j,g,f);b=(c-e|0)+a|0;g=T(c,20)+h|0;F(T(b,20)+h|0,g,T(e-c|0,20));F(g,j,f);if(b>>>0<=c>>>0){break b}if(d&1){d=T(c,20)+h|0;f=P[d+16>>1];if(1<>1]=f&255|6656}c=c+1|0}if((e+1|0)==(a|0)){break b}while(1){a=T(c,20)+h|0;d=P[a+16>>1];if(1<>1]=d&255|6656}d=P[a+36>>1];if(1<>1]=d&255|6656}c=c+2|0;if((b|0)!=(c|0)){continue}break}}La=j+640|0;return}ba(22913,17885,706,17761);B()}function yu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=N[b>>2];if(!g){return 35}f=6;a:{if(Q[g+16>>2]<=c>>>0){break a}h=N[g+104>>2];k=N[g+292>>2];b=k+(c<<4)|0;n=M[b+8>>1];i=M[b+6>>1];l=n+i|0;N[a+76>>2]=l;j=M[b>>1];b=M[b+2>>1];L[a+94|0]=1;M[a+92>>1]=1;e=b-j|0;N[a+80>>2]=e;f=3;b:{c:{switch((1<<(N[g+312>>2]&3))-1|0){case 0:b=e+7>>>3|0;break b;case 1:b=e+15>>>3&536870910;break b;case 3:b=e+31>>>3&536870908;break b;case 7:break c;default:break a}}b=e+63>>>3&536870904}N[a+104>>2]=i;N[a+100>>2]=j;N[a+72>>2]=1651078259;N[a+84>>2]=b;o=M[((c<<4)+k|0)+4>>1];m=i<<6;N[a+36>>2]=m;p=j<<6;N[a+32>>2]=p;j=l<<6;N[a+28>>2]=j;N[a+24>>2]=e<<6;N[a+40>>2]=o<<6;f=0;i=(i|0)<0?(j|0)>(m|0)?j:m:n<<6;e=N[g+208>>2]+N[g+204>>2]|0;d:{if(e){e=e<<6;break d}e=(T(i,12)|0)/10|0}N[a+52>>2]=e;N[a+48>>2]=(e-i|0)/2;N[a+44>>2]=p-(o<<5);if(d&4194304){break a}d=T(b,l);f=N[N[a+4>>2]+100>>2];b=N[a+156>>2];e=N[b+4>>2];e:{if(e&1){b=N[a+88>>2];if(b){Qa[N[f+8>>2]](f,b)}N[a+88>>2]=0;break e}N[b+4>>2]=e|1}b=0;f:{g:{h:{if((d|0)<=0){f=6;if(d){break h}break f}b=Qa[N[f+4>>2]](f,d)|0;if(b){break g}f=64}N[a+88>>2]=0;return f|0}C(b,0,d)}N[a+88>>2]=b;c=N[((c<<4)+k|0)+12>>2];e=N[h+20>>2];i:{if(e){f=85;if(Qa[e|0](h,c,0,0)|0){break a}b=N[a+88>>2];break i}f=85;if(c>>>0>Q[h+4>>2]){break a}}N[h+8>>2]=c;f=Zb(h,b,d);if(f){break a}c=N[g+312>>2];if(!(!d|c&8)){h=d-1|0;c=N[a+88>>2];b=d&3;if(b){f=0;while(1){e=O[c|0];e=e>>>4|(e&15)<<4;e=e>>>2&51|(e&51)<<2;L[c|0]=e>>>1&85|(e&85)<<1;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}f=d&-4}else{f=d}if(h>>>0>=3){while(1){b=O[c|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c|0]=b>>>1&85|(b&85)<<1;b=O[c+1|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+1|0]=b>>>1&85|(b&85)<<1;b=O[c+2|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+2|0]=b>>>1&85|(b&85)<<1;b=O[c+3|0];b=b>>>4|(b&15)<<4;b=b>>>2&51|(b&51)<<2;L[c+3|0]=b>>>1&85|(b&85)<<1;c=c+4|0;f=f-4|0;if(f){continue}break}}c=N[g+312>>2]}f=0;if(!((c>>>2^c>>>3)&1)){break a}j:{switch((1<<(c>>>4&3))-2|0){case 0:if(d>>>0<2){break a}a=N[a+88>>2];g=d-2|0;c=(g>>>1|0)+1&3;if(c){h=c<<1;b=0;while(1){e=O[a+1|0];L[a+1|0]=O[a|0];L[a|0]=e;a=a+2|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}d=d-h|0}if(g>>>0<6){break a}while(1){b=O[a+1|0];L[a+1|0]=O[a|0];L[a|0]=b;b=O[a+2|0];L[a+2|0]=O[a+3|0];L[a+3|0]=b;b=O[a+4|0];L[a+4|0]=O[a+5|0];L[a+5|0]=b;b=O[a+6|0];L[a+6|0]=O[a+7|0];L[a+7|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>1){continue}break};break a;case 2:break j;default:break a}}if(d>>>0<4){break a}a=N[a+88>>2];b=d-4|0;if(!(b&4)){c=O[a+3|0];L[a+3|0]=O[a|0];L[a|0]=c;c=O[a+1|0];L[a+1|0]=O[a+2|0];L[a+2|0]=c;d=b;a=a+4|0}if(b>>>0<4){break a}while(1){b=O[a+3|0];L[a+3|0]=O[a|0];L[a|0]=b;b=O[a+1|0];L[a+1|0]=O[a+2|0];L[a+2|0]=b;b=O[a+4|0];L[a+4|0]=O[a+7|0];L[a+7|0]=b;b=O[a+5|0];L[a+5|0]=O[a+6|0];L[a+6|0]=b;a=a+8|0;d=d-8|0;if(d>>>0>3){continue}break}}return f|0}function PE(a,b,c){a=a|0;b=+b;c=c|0;var 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,t=0;f=La-144|0;La=f;N[a+672>>2]=0;N[a+676>>2]=0;g=a+668|0;j=N[a+384>>2];i=N[a+660>>2];b=b*1e3;a:{if(V(b)<2147483648){e=~~b;break a}e=-2147483648}j=No(j,i,e,e>>31,g);b:{if(!j|!(N[g>>2]|c)){break b}if(O[a+388|0]){b=+ma();c:{if(V(b)<2147483648){c=~~b;break c}c=-2147483648}N[a+676>>2]=c}L[a+368|0]=0;L[a+328|0]=0;L[a+288|0]=0;L[a+248|0]=0;L[a+208|0]=0;L[a+168|0]=0;L[a+128|0]=0;L[a+88|0]=0;L[a+48|0]=0;c=N[a+392>>2];d=N[a+396>>2];C(f,255,144);n=(d|0)/3|0;o=(c|0)/3|0;l=(d<<1)/3|0;m=(c<<1)/3|0;d=j;while(1){i=N[d>>2];d:{if(!i){break d}k=N[d+4>>2];if(!k){break d}e=N[d+24>>2];c=e+(k>>1)|0;g=N[d+20>>2];c=(((c|0)>(l|0)?6:(c|0)>(n|0)?3:0)+((m|0)<(g+(i>>1)|0)?2:(c|0)>(o|0))<<4)+f|0;h=N[c>>2];N[c>>2]=(h|0)<0?g:(g|0)>(h|0)?h:g;h=N[c+8>>2];N[c+8>>2]=(h|0)<0?e:(e|0)>(h|0)?h:e;h=g+i|0;g=h-1|0;i=g;g=N[c+4>>2];N[c+4>>2]=(g|0)<0?i:(g|0)<(h|0)?i:g;i=c;e=e+k|0;g=e-1|0;c=N[c+12>>2];N[i+12>>2]=(c|0)<0?g:(c|0)<(e|0)?g:c}d=N[d+28>>2];if(d){continue}break}g=0;e=0;while(1){h=(g<<4)+f|0;e:{if(N[h>>2]==-1){c=e;break e}k=h|8;n=h|12;o=h|4;d=g;c=e;while(1){d=d+1|0;e=(d<<4)+f|0;i=N[e>>2];f:{if((i|0)==-1){break f}l=N[o>>2];if((l|0)<(i|0)){break f}m=N[h>>2];p=N[e+4>>2];if((m|0)>(p|0)){break f}q=N[e+8>>2];r=N[n>>2];if((q|0)>(r|0)){break f}s=N[e+12>>2];t=N[k>>2];if((s|0)<(t|0)){break f}N[h>>2]=(i|0)>(m|0)?m:i;N[k>>2]=(q|0)>(t|0)?t:q;N[o>>2]=(l|0)>(p|0)?l:p;N[n>>2]=(r|0)>(s|0)?r:s;N[e+8>>2]=-1;N[e+12>>2]=-1;N[e>>2]=-1;N[e+4>>2]=-1;c=1}if((d|0)!=8){continue}break}}e=g+1|0;d=(e|0)!=8;g=d?e:0;e=c&d;if(c&1|d){continue}break}g:{if(N[f>>2]==-1){d=0;break g}d=kd(a,f,j);if(!d){d=0;break b}N[a+672>>2]=N[a+672>>2]+1}if(N[f+16>>2]!=-1){c=kd(a,f+16|0,j);if(!c){break b}h:{if(!d){d=c;break h}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+32>>2]!=-1){c=kd(a,f+32|0,j);if(!c){break b}i:{if(!d){d=c;break i}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+48>>2]!=-1){c=kd(a,f+48|0,j);if(!c){break b}j:{if(!d){d=c;break j}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+64>>2]!=-1){c=kd(a,f- -64|0,j);if(!c){break b}k:{if(!d){d=c;break k}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+80>>2]!=-1){c=kd(a,f+80|0,j);if(!c){break b}l:{if(!d){d=c;break l}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+96>>2]!=-1){c=kd(a,f+96|0,j);if(!c){break b}m:{if(!d){d=c;break m}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+112>>2]!=-1){c=kd(a,f+112|0,j);if(!c){break b}n:{if(!d){d=c;break n}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}if(N[f+128>>2]==-1){break b}c=kd(a,f+128|0,j);if(!c){break b}o:{if(!d){d=c;break o}N[c+20>>2]=N[d+20>>2];N[d+20>>2]=c}N[a+672>>2]=N[a+672>>2]+1}La=f+144|0;return d|0}function Ei(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;N[e>>2]=0;N[e+4>>2]=0;N[g>>2]=0;N[g+4>>2]=0;s=T(b,40)+a|0;t=s+T(c,40)|0;if((t|0)!=(a|0)){q=i>>31;while(1){c=N[a+20>>2];j=0;a:{if(N[a+24>>2]){break a}j=0;if(!(c&4)){break a}j=N[a+12>>2]>=0?-1:1}r=a>>>0>=s>>>0;b:{c:{d:{e:{if(c&32){if(N[a+36>>2]<=(i|0)){break e}break d}o=N[a>>2];p=N[a+4>>2];b=N[(c&2?28:24)+a>>2];k=b;l=b>>31;b=N[a+8>>2];k=UE(k,l,b,b>>31);l=Pa;b=N[a+12>>2];n=b>>31;m=UE(b,n,i,q);k=m+k|0;l=Pa+l|0;l=k>>>0>>0?l+1|0:l;m=o-k|0;k=p-((k>>>0>o>>>0)+l|0)|0;if(((!!b&(n|0)>=0|(n|0)>0?0-(k+((m|0)!=0)|0)|0:k)|0)<0){break d}}b=r<<2;c=b+h|0;N[c>>2]=j+N[c>>2];if(N[a+32>>2]>=(i|0)){break b}c=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=c;c=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=c;c=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=c;c=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=c;c=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=c;c=N[d+36>>2];N[d+36>>2]=(c|0)<(i|0)?c:i;b=b+e|0;N[b>>2]=N[b>>2]+1;break c}f:{g:{if(c&16){if(N[a+32>>2]>=(i|0)){break g}c=c&2;break f}l=N[a>>2];o=N[a+4>>2];c=c&2;b=N[a+(c?24:28)>>2];k=b;m=b>>31;b=N[a+8>>2];k=UE(k,m,b,b>>31);n=Pa;b=N[a+12>>2];p=b>>31;m=UE(b,p,i,q);b=m+k|0;k=Pa+n|0;n=l-b|0;b=o-((b>>>0>l>>>0)+(b>>>0>>0?k+1|0:k)|0)|0;if((((p|0)<0?0-(b+((n|0)!=0)|0)|0:b)|0)<0){break f}}b=N[a+36>>2];c=N[a+32>>2];j=f+32|0;N[j>>2]=c;N[j+4>>2]=b;b=N[a+12>>2];N[f+8>>2]=N[a+8>>2];N[f+12>>2]=b;j=N[a+4>>2];k=j;b=N[a>>2];N[f>>2]=b;N[f+4>>2]=j;j=N[a+28>>2];N[f+24>>2]=N[a+24>>2];N[f+28>>2]=j;j=N[a+20>>2];N[f+16>>2]=N[a+16>>2];N[f+20>>2]=j;N[f+36>>2]=N[f+36>>2]-i;j=c-i|0;c=(j|0)>0;N[f+32>>2]=c?j:0;j=N[f+12>>2];j=UE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=k-(Pa+(b>>>0>>0)|0);h:{if(c){break h}b=N[f+20>>2];if((b&18)!=18){break h}N[f+20>>2]=b&-5}b=(r<<2)+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0;break b}if(c){b=(r<<2)+h|0;N[b>>2]=j+N[b>>2]}b=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=b;c=a+32|0;b=N[c>>2];c=N[c+4>>2];N[d+32>>2]=b;N[d+36>>2]=c;c=a+24|0;j=N[c+4>>2];N[d+24>>2]=N[c>>2];N[d+28>>2]=j;c=a+16|0;j=N[c+4>>2];N[d+16>>2]=N[c>>2];N[d+20>>2]=j;c=a+8|0;j=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=j;if(!((b|0)<(i|0)&N[d+36>>2]>(i|0))){ba(8156,18126,378,8809);B()}j=N[a+8>>2];k=N[a+12>>2];l=N[a+16>>2];o=N[a+20>>2];n=N[a+24>>2];p=N[a+28>>2];b=N[a>>2];c=N[a+4>>2];u=N[a+36>>2];m=f+32|0;N[m>>2]=N[a+32>>2];N[m+4>>2]=u;N[f+24>>2]=n;N[f+28>>2]=p;N[f+16>>2]=l;N[f+20>>2]=o;N[f+8>>2]=j;N[f+12>>2]=k;N[f>>2]=b;N[f+4>>2]=c;j=N[d+12>>2];N[f+32>>2]=0;N[f+36>>2]=N[f+36>>2]-i;j=UE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=c-(Pa+(b>>>0>>0)|0);N[d+36>>2]=i;N[d+20>>2]=N[d+20>>2]&-5;c=N[f+20>>2]&-9;N[f+20>>2]=c;b=N[d+20>>2];if(b&2){N[d+20>>2]=c;N[f+20>>2]=b;b=N[d+20>>2]}N[d+20>>2]=b|32;N[f+20>>2]=N[f+20>>2]|16;b=r<<2;c=b+e|0;N[c>>2]=N[c>>2]+1;b=b+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((t|0)!=(a|0)){continue}break}}}function Cn(a,b,c,d){var 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;i=La-16|0;La=i;a:{b:{c:{d:{e:{k=N[b+8>>2];if(Q[b+4>>2]<=k+3>>>0){break e}n=N[a>>2];e=N[b+20>>2];if(e){if((Qa[e|0](b,k,i+12|0,4)|0)!=4){break e}g=N[b+8>>2];e=i+12|0;break d}e=N[b>>2];if(e){e=e+k|0;g=k;break d}N[b+8>>2]=k+4;e=2;break c}e=85;break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);j=g+4|0;N[b+8>>2]=j;e=2;if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))!=1954115633){break c}f=N[b+4>>2];if(f>>>0<=g+5>>>0){break b}f:{g:{h:{e=N[b+20>>2];i:{if(e){if((Qa[e|0](b,j,i+12|0,2)|0)!=2){break b}g=N[b+20>>2];j=N[b+8>>2];e=i+12|0;break i}e=N[b>>2];if(!e){break h}g=0;e=e+j|0}f=O[e+1|0];e=O[e|0];N[b+8>>2]=j+2;h=j+8|0;o=f|e<<8;if(!g){f=N[b+4>>2];break g}e=85;if(!(Qa[g|0](b,h,0,0)|0)){break f}break a}N[b+8>>2]=g+6;h=g+12|0}e=85;if(f>>>0>>0){break a}}N[b+8>>2]=h;e=142;if(!o){break a}l=(c|0)>0?c&65535:c;m=-1;j:{k:{l:{while(1){g=N[b+4>>2];if(g>>>0<=h+3>>>0){break l}m:{n:{o:{p:{c=N[b+20>>2];q:{if(c){if((Qa[c|0](b,h,i+12|0,4)|0)!=4){break l}g=N[b+20>>2];h=N[b+8>>2];c=i+12|0;break q}c=N[b>>2];if(!c){break p}g=0;c=c+h|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[b+8>>2]=h+4;j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=h+8|0;if(!g){g=N[b+4>>2];break o}if(!(Qa[g|0](b,c,0,0)|0)){break n}e=85;break a}N[b+8>>2]=h+4;c=h+8|0;j=0}if(c>>>0<=g>>>0){break m}e=85;break a}g=N[b+4>>2]}N[b+8>>2]=c;r:{s:{t:{if(h+11>>>0>=g>>>0){break t}f=N[b+20>>2];u:{if(f){if((Qa[f|0](b,c,i+12|0,4)|0)!=4){break t}g=N[b+4>>2];c=N[b+8>>2];f=i+12|0;break u}f=N[b>>2];if(!f){break s}f=c+f|0}f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);break r}e=85;break a}f=0}h=c+4|0;N[b+8>>2]=h;v:{w:{x:{if(c+7>>>0>=g>>>0){break x}c=N[b+20>>2];y:{if(c){if((Qa[c|0](b,h,i+12|0,4)|0)!=4){break x}h=N[b+8>>2];c=i+12|0;break y}c=N[b>>2];if(!c){break w}c=c+h|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);break v}e=85;break a}c=0}h=h+4|0;N[b+8>>2]=h;z:{A:{if((j|0)!=1415139377){if((j|0)!=1128875040){break A}c=c-22|0;f=f+22|0;p=1;if((l|0)<0){break z}m=m+1|0;break A}c=c-24|0;f=f+24|0;p=0;if((l|0)<0){break z}m=m+1|0}if((l|0)==(m|0)&(l|0)>=0){break z}q=q+1|0;if((q|0)==(o|0)){break a}continue}break}e=8;h=N[b+4>>2];if(h>>>0>>0|h-f>>>0>>0){break a}g=f+k|0;f=N[b+20>>2];B:{if(f){e=85;if(!(Qa[f|0](b,g,0,0)|0)){break B}break a}e=85;if(g>>>0>h>>>0){break a}}N[b+8>>2]=g;if((c|0)>0){g=Qa[N[n+4>>2]](n,c)|0;if(!g){e=64;break a}e=Zb(b,g,c);if(e){break k}e=_h(a,g,c,l>>31&l,p?16760:21728,d);break j}e=6;if(c){break a}e=Zb(b,0,0);if(e){break j}e=6;break j}e=85;break a}Qa[N[n+8>>2]](n,g)}if((e&255)!=2){break a}}a=e;c=N[b+20>>2];C:{if(c){e=85;if(!(Qa[c|0](b,k,0,0)|0)){break C}break a}e=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=k;e=a;break a}e=85}La=i+16|0;return e}function Fi(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;N[e>>2]=0;N[e+4>>2]=0;N[g>>2]=0;N[g+4>>2]=0;s=T(b,40)+a|0;t=s+T(c,40)|0;if((t|0)!=(a|0)){q=i>>31;while(1){c=N[a+20>>2];j=0;a:{if(N[a+32>>2]){break a}j=0;if(!(c&16)){break a}j=N[a+8>>2]>=0?-1:1}r=a>>>0>=s>>>0;b:{c:{d:{e:{if(c&8){if(N[a+28>>2]<=(i|0)){break e}break d}o=N[a>>2];p=N[a+4>>2];b=N[(c&2?36:32)+a>>2];k=b;l=b>>31;b=N[a+12>>2];k=UE(k,l,b,b>>31);l=Pa;b=N[a+8>>2];n=b>>31;m=UE(b,n,i,q);k=m+k|0;l=Pa+l|0;l=k>>>0>>0?l+1|0:l;m=o-k|0;k=p-((k>>>0>o>>>0)+l|0)|0;if(((!!b&(n|0)>=0|(n|0)>0?0-(k+((m|0)!=0)|0)|0:k)|0)<0){break d}}b=r<<2;c=b+h|0;N[c>>2]=j+N[c>>2];if(N[a+24>>2]>=(i|0)){break b}c=N[a+28>>2];N[d+24>>2]=N[a+24>>2];N[d+28>>2]=c;c=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=c;c=N[a+36>>2];N[d+32>>2]=N[a+32>>2];N[d+36>>2]=c;c=N[a+20>>2];N[d+16>>2]=N[a+16>>2];N[d+20>>2]=c;c=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=c;c=N[d+28>>2];N[d+28>>2]=(c|0)<(i|0)?c:i;b=b+e|0;N[b>>2]=N[b>>2]+1;break c}f:{g:{if(c&4){if(N[a+24>>2]>=(i|0)){break g}c=c&2;break f}l=N[a>>2];o=N[a+4>>2];c=c&2;b=N[a+(c?32:36)>>2];k=b;m=b>>31;b=N[a+12>>2];k=UE(k,m,b,b>>31);n=Pa;b=N[a+8>>2];p=b>>31;m=UE(b,p,i,q);b=m+k|0;k=Pa+n|0;n=l-b|0;b=o-((b>>>0>l>>>0)+(b>>>0>>0?k+1|0:k)|0)|0;if((((p|0)<0?0-(b+((n|0)!=0)|0)|0:b)|0)<0){break f}}c=N[a+28>>2];j=f+24|0;l=N[a+24>>2];N[j>>2]=l;N[j+4>>2]=c;j=N[a+4>>2];c=N[a>>2];N[f>>2]=c;N[f+4>>2]=j;b=N[a+36>>2];N[f+32>>2]=N[a+32>>2];N[f+36>>2]=b;b=N[a+20>>2];N[f+16>>2]=N[a+16>>2];N[f+20>>2]=b;k=N[a+12>>2];b=N[a+8>>2];N[f+8>>2]=b;N[f+12>>2]=k;N[f+28>>2]=N[f+28>>2]-i;b=UE(b,b>>31,i,q);N[f>>2]=c-b;N[f+4>>2]=j-(Pa+(b>>>0>c>>>0)|0);c=l-i|0;b=(c|0)>0;N[f+24>>2]=b?c:0;h:{if(b){break h}b=N[f+20>>2];if((b&6)!=6){break h}N[f+20>>2]=b&-17}b=(r<<2)+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0;break b}if(c){b=(r<<2)+h|0;N[b>>2]=j+N[b>>2]}b=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=b;b=a+32|0;c=N[b+4>>2];N[d+32>>2]=N[b>>2];N[d+36>>2]=c;c=a+24|0;b=N[c>>2];c=N[c+4>>2];N[d+24>>2]=b;N[d+28>>2]=c;c=a+16|0;j=N[c+4>>2];N[d+16>>2]=N[c>>2];N[d+20>>2]=j;c=a+8|0;j=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=j;if(!((b|0)<(i|0)&N[d+28>>2]>(i|0))){ba(8191,18126,357,7823);B()}j=N[a+8>>2];k=N[a+12>>2];l=N[a+16>>2];o=N[a+20>>2];n=N[a+24>>2];p=N[a+28>>2];b=N[a>>2];c=N[a+4>>2];m=N[a+36>>2];N[f+32>>2]=N[a+32>>2];N[f+36>>2]=m;m=f+24|0;N[m>>2]=n;N[m+4>>2]=p;N[f+16>>2]=l;N[f+20>>2]=o;N[f+8>>2]=j;N[f+12>>2]=k;N[f>>2]=b;N[f+4>>2]=c;j=N[d+8>>2];N[f+24>>2]=0;N[f+28>>2]=N[f+28>>2]-i;j=UE(j,j>>31,i,q);N[f>>2]=b-j;N[f+4>>2]=c-(Pa+(b>>>0>>0)|0);N[d+28>>2]=i;N[d+20>>2]=N[d+20>>2]&-17;c=N[f+20>>2]&-33;N[f+20>>2]=c;b=N[d+20>>2];if(b&2){N[d+20>>2]=c;N[f+20>>2]=b;b=N[d+20>>2]}N[d+20>>2]=b|8;N[f+20>>2]=N[f+20>>2]|4;b=r<<2;c=b+e|0;N[c>>2]=N[c>>2]+1;b=b+g|0;N[b>>2]=N[b>>2]+1;f=f+40|0}d=d+40|0}a=a+40|0;if((t|0)!=(a|0)){continue}break}}}function Hn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=a+b|0;c=N[a+4>>2];a:{b:{if(c&1){break b}if(!(c&3)){break a}c=N[a>>2];b=c+b|0;c:{d:{e:{a=a-c|0;if((a|0)!=N[147322]){if(c>>>0<=255){d=N[a+8>>2];e=N[a+12>>2];if((d|0)!=(e|0)){break e}i=589268,j=N[147317]&ZE(-2,c>>>3|0),N[i>>2]=j;break b}g=N[a+24>>2];c=N[a+12>>2];if((c|0)!=(a|0)){d=N[a+8>>2];N[d+12>>2]=c;N[c+8>>2]=d;break c}e=a+20|0;d=N[e>>2];if(!d){d=N[a+16>>2];if(!d){break d}e=a+16|0}while(1){h=e;c=d;e=c+20|0;d=N[e>>2];if(d){continue}e=c+16|0;d=N[c+16>>2];if(d){continue}break}N[h>>2]=0;break c}c=N[f+4>>2];if((c&3)!=3){break b}N[147319]=b;N[f+4>>2]=c&-2;N[a+4>>2]=b|1;N[f>>2]=b;return}N[d+12>>2]=e;N[e+8>>2]=d;break b}c=0}if(!g){break b}d=N[a+28>>2];e=(d<<2)+589572|0;f:{if(N[e>>2]==(a|0)){N[e>>2]=c;if(c){break f}i=589272,j=N[147318]&ZE(-2,d),N[i>>2]=j;break b}N[g+(N[g+16>>2]==(a|0)?16:20)>>2]=c;if(!c){break b}}N[c+24>>2]=g;d=N[a+16>>2];if(d){N[c+16>>2]=d;N[d+24>>2]=c}d=N[a+20>>2];if(!d){break b}N[c+20>>2]=d;N[d+24>>2]=c}g:{h:{i:{j:{c=N[f+4>>2];if(!(c&2)){if(N[147323]==(f|0)){N[147323]=a;b=N[147320]+b|0;N[147320]=b;N[a+4>>2]=b|1;if(N[147322]!=(a|0)){break a}N[147319]=0;N[147322]=0;return}if(N[147322]==(f|0)){N[147322]=a;b=N[147319]+b|0;N[147319]=b;N[a+4>>2]=b|1;N[a+b>>2]=b;return}b=(c&-8)+b|0;if(c>>>0<=255){e=c>>>3|0;c=N[f+12>>2];d=N[f+8>>2];if((c|0)==(d|0)){i=589268,j=N[147317]&ZE(-2,e),N[i>>2]=j;break h}N[d+12>>2]=c;N[c+8>>2]=d;break h}g=N[f+24>>2];c=N[f+12>>2];if((f|0)!=(c|0)){d=N[f+8>>2];N[d+12>>2]=c;N[c+8>>2]=d;break i}e=f+20|0;d=N[e>>2];if(!d){d=N[f+16>>2];if(!d){break j}e=f+16|0}while(1){h=e;c=d;e=c+20|0;d=N[e>>2];if(d){continue}e=c+16|0;d=N[c+16>>2];if(d){continue}break}N[h>>2]=0;break i}N[f+4>>2]=c&-2;N[a+4>>2]=b|1;N[a+b>>2]=b;break g}c=0}if(!g){break h}d=N[f+28>>2];e=(d<<2)+589572|0;k:{if(N[e>>2]==(f|0)){N[e>>2]=c;if(c){break k}i=589272,j=N[147318]&ZE(-2,d),N[i>>2]=j;break h}N[g+(N[g+16>>2]==(f|0)?16:20)>>2]=c;if(!c){break h}}N[c+24>>2]=g;d=N[f+16>>2];if(d){N[c+16>>2]=d;N[d+24>>2]=c}d=N[f+20>>2];if(!d){break h}N[c+20>>2]=d;N[d+24>>2]=c}N[a+4>>2]=b|1;N[a+b>>2]=b;if(N[147322]!=(a|0)){break g}N[147319]=b;return}if(b>>>0<=255){c=(b&-8)+589308|0;d=N[147317];b=1<<(b>>>3);l:{if(!(d&b)){N[147317]=b|d;b=c;break l}b=N[c+8>>2]}N[c+8>>2]=a;N[b+12>>2]=a;N[a+12>>2]=c;N[a+8>>2]=b;return}d=31;if(b>>>0<=16777215){c=W(b>>>8|0);d=((b>>>38-c&1)-(c<<1)|0)+62|0}N[a+28>>2]=d;N[a+16>>2]=0;N[a+20>>2]=0;c=(d<<2)+589572|0;m:{e=N[147318];h=1<>2]=a;N[a+24>>2]=c;break n}d=b<<((d|0)!=31?25-(d>>>1|0)|0:0);c=N[c>>2];while(1){e=c;if((N[c+4>>2]&-8)==(b|0)){break m}c=d>>>29|0;d=d<<1;h=e+(c&4)|0;c=N[h+16>>2];if(c){continue}break}N[h+16>>2]=a;N[a+24>>2]=e}N[a+12>>2]=a;N[a+8>>2]=a;return}b=N[e+8>>2];N[b+12>>2]=a;N[e+8>>2]=a;N[a+24>>2]=0;N[a+12>>2]=e;N[a+8>>2]=b}}function rd(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,o=0;i=La-16|0;La=i;a:{if(!O[a|0]|(b|0)==-1|b>>>0>c>>>0){break a}N[a+4>>2]=-1;g=b>>>9|0;d=(b&-512)!=(b|0);l=g+d|0;k=c>>>9|0;o=c|511;m=k-((o|0)!=(c|0))|0;b:{if(!d&(m|0)>=(l|0)){break b}f=N[a+8>>2];d=N[a+16>>2];h=N[a+20>>2];if(!(f>>>0>>0&(g|0)==N[h+(f<<3)>>2])){if((d|0)<=0){break b}d=d-1|0;while(1){c:{f=d+e>>>1|0;j=N[(f<<3)+h>>2];d:{if((g|0)<(j|0)){d=f-1|0;break d}if((g|0)==(j|0)){break c}e=f+1|0}if((d|0)>=(e|0)){continue}break b}break}N[a+8>>2]=f}e=N[a+32>>2];if(!e){break b}h=e+(N[((f<<3)+h|0)+4>>2]<<6)|0;j=b>>>6&7;e=h+(j<<3)|0;e:{if((g|0)==(k|0)){f=c>>>6&7;if((f|0)==(j|0)){f=c&63;d=f&31;if((f&63)>>>0>=32){f=2<>>32-d;d=2<>>0>=32){b=1<>>32-d;d=f}f=n+d|0;b=b+h|0;b=d>>>0>f>>>0?b+1|0:b;d=e;break e}j=N[e+4>>2];b=b&63;d=b&31;n=N[e>>2];if((b&63)>>>0>=32){b=-1<>>32-d;d=-1<>2]=n&(d^-1);N[e+4>>2]=(b^-1)&j;d=h+(f<<3)|0;b=e+8|0;if((d|0)!=(b|0)){C(b,0,d-b|0)}b=c&63;e=b&31;if((b&63)>>>0>=32){b=-2<>>32-e|-1<>>0>=32){b=-1<>>32-d;d=-1<>2];N[e>>2]=f&N[e>>2];N[e+4>>2]=b;f=0;b=0;d=h+56|0;e=e+8|0;if((d|0)==(e|0)){break e}C(e,0,d-e|0)}b=b&N[d+4>>2];N[d>>2]=f&N[d>>2];N[d+4>>2]=b}f:{if((g|0)==(k|0)|(c|0)==(o|0)){break f}f=N[a+8>>2];e=N[a+16>>2];b=N[a+20>>2];if(!(f>>>0>>0&(k|0)==N[b+(f<<3)>>2])){if((e|0)<=0){break f}d=e-1|0;e=0;while(1){g:{f=d+e>>>1|0;g=N[b+(f<<3)>>2];h:{if((g|0)>(k|0)){d=f-1|0;break h}if((g|0)==(k|0)){break g}e=f+1|0}if((d|0)>=(e|0)){continue}break f}break}N[a+8>>2]=f}e=N[a+32>>2];if(!e){break f}e=e+(N[(b+(f<<3)|0)+4>>2]<<6)|0;d=c>>>6&7;i:{if(!d){break i}b=e;N[b>>2]=0;N[b+4>>2]=0;e=b+(d<<3)|0;b=b+8|0;if((e|0)==(b|0)){break i}C(b,0,(d<<3)-8|0)}d=N[e+4>>2];c=c&63;b=c&31;if((c&63)>>>0>=32){c=-2<>>32-b|-1<>2]=b&N[e>>2];N[e+4>>2]=c&d}if((l|0)>(m|0)){break a}b=0;N[i+12>>2]=0;N[i+4>>2]=0;e=N[a+28>>2];c=(e|0)>0;e=c?e:0;j:{k:{if(c){while(1){b=((b>>>1|0)+b|0)+8|0;if(e>>>0>=b>>>0){continue}break}if(b>>>0>1073741823){break k}c=kb(b<<2);if(!c){break k}N[i+4>>2]=b;N[i+12>>2]=c;C(c,0,e<<2);b=c}N[i+8>>2]=e;e=N[a+16>>2];l:{if(!e){f=0;break l}d=0;f=0;while(1){m:{n:{if(d>>>0>>0){c=N[a+20>>2]+(d<<3)|0;g=N[c>>2];if((g|0)<(l|0)|(g|0)>(m|0)){break n}break m}N[147456]=0;N[147457]=0;c=589824;if(!l){break m}}o:{if(e>>>0<=f>>>0){N[147456]=0;N[147457]=0;e=589824;break o}e=N[a+20>>2]+(f<<3)|0}f=f+1|0;g=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=g;e=N[a+16>>2]}d=d+1|0;if(e>>>0>d>>>0){continue}break}}Ij(a,i+4|0,f);Ef(a,f);break j}b=0;L[a|0]=0}_a(b)}La=i+16|0}function jh(a,b,c){var d=U(0),e=0,f=0,g=0;f=N[a+24>>2];a:{b:{c:{d:{e:{f:{g:{h:{i:{if((b|0)<=1986098018){if((b|0)==1751216995){break i}if((b|0)==1751413603){break h}if((b|0)!=1751934832){break a}e=f+72|0;b=Tc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break g}b=Tc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break g}}if(!c){break c}b=Tc(e);b=O[b+72|0]|O[b+73|0]<<8;d=Gc(Hc(f+132|0),1751934832,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}if((b|0)==1986098019){break f}if((b|0)==1986294627){break e}if((b|0)!=1986815856){break a}e=f+92|0;b=xc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=xc(e);b=O[b+8|0]|O[b+9|0]<<8;d=Gc(Hc(f+132|0),1986815856,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+44>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}j:{e=f+72|0;b=Tc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break j}b=Tc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break j}}if(!c){break c}b=Tc(e);b=O[b+68|0]|O[b+69|0]<<8;d=Gc(Hc(f+132|0),1751216995,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}b=f- -64|0;e=Kd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Kd(b);b=O[b+4|0]|O[b+5|0]<<8;d=Gc(Hc(f+132|0),1751216995,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}k:{e=f+72|0;b=Tc(e);if((O[b+62|0]|O[b+63|0]<<8)<<16>>16>=0){break k}b=Tc(e);if(!(O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]|O[b+7|0]<<8)|(O[b+64|0]|O[b+65|0]<<8))){if(!(O[b+66|0]|O[b+67|0]<<8)){break k}}if(!c){break c}b=Tc(e);b=O[b+70|0]|O[b+71|0]<<8;d=Gc(Hc(f+132|0),1751413603,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))));break d}b=f- -64|0;e=Kd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Kd(b);b=O[b+6|0]|O[b+7|0]<<8;d=Gc(Hc(f+132|0),1751413603,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+48>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))));break d}b=f- -64|0;e=Kd(b);if(!(O[e|0]|O[e+1|0]<<8)){return 0}if(!c){break c}b=Kd(b);b=O[b+8|0]|O[b+9|0]<<8;d=Gc(Hc(f+132|0),1751934832,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+48>>2]*U(d+U((b<<8|b>>>8)<<16>>16)))+U(.5));break d}e=f+92|0;b=xc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=xc(e);b=O[b+4|0]|O[b+5|0]<<8;d=Gc(Hc(f+132|0),1986098019,N[a+88>>2],N[a+84>>2]);d=U(U(R[a+44>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16)))))+U(.5));break d}e=f+92|0;b=xc(e);g=O[b|0]|O[b+1|0]<<8;b=(g|0)!=0;if(!c|!g){break b}b=xc(e);b=O[b+6|0]|O[b+7|0]<<8;d=Gc(Hc(f+132|0),1986294627,N[a+88>>2],N[a+84>>2]);d=U(U(.5)-U(R[a+44>>2]*U(V(U(d+U((b<<8|b>>>8)<<16>>16))))))}d=U(Z(d));l:{if(U(V(d))>2]=a}b=1}return b}ba(22017,17838,100,12708);B()}function _g(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=U(0),m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=U(0);h=La-48|0;La=h;m=275552;j=((c<<2)+a|0)+2|0;i=c;c=O[a|0]|O[a+1|0]<<8;c=i>>>0>=((c<<8|c>>>8)&65535)>>>0?275552:j;i=O[c|0]|O[c+1|0]<<8;j=(i<<8|i>>>8)&65535;c=O[c+2|0]|O[c+3|0]<<8;if(c){m=((c<<8|c>>>8)&65535)+a|0}i=0;a:{if(f>>>0<=j>>>0){break a}a=O[e|0]|O[e+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=d>>>0){break a}a=j+T(d,f)|0;if((a|0)<0){break a}c=N[b+96>>2];a=(a<<1)+e|0;a=O[a+2|0]|O[a+3|0]<<8;b:{if(a){if(!a){break a}j=((a<<8|a>>>8)&65535)+e|0;break b}j=275552;if(!a){break a}}a=N[c+68>>2];q=N[c+64>>2];d=q+1|0;n=a>>>0>>0?a:d;o=n-g|0;c:{if(o>>>0<=1){e=N[c+80>>2];break c}d=N[c+144>>2]|32;N[c+144>>2]=d;e=N[c+80>>2];if(g>>>0>=n>>>0){break c}i=-1;a=g;r=(a^-1)+n|0;if(r>>>0>=3){p=o&-4;while(1){f=T(a,20)+e|0;k=N[f+8>>2];i=i>>>0>>0?i:k;k=N[f+28>>2];i=i>>>0>>0?i:k;k=N[f+48>>2];i=i>>>0>>0?i:k;f=N[f+68>>2];i=f>>>0>i>>>0?i:f;a=a+4|0;s=s+4|0;if((p|0)!=(s|0)){continue}break}}p=o&3;if(p){f=0;while(1){k=N[(T(a,20)+e|0)+8>>2];i=i>>>0>>0?i:k;a=a+1|0;f=f+1|0;if((p|0)!=(f|0)){continue}break}}a=g;if(o&1){a=T(g,20)+e|0;if(N[a+8>>2]!=(i|0)){N[a+4>>2]=N[a+4>>2]|3}a=g+1|0}if(!r){break c}while(1){f=T(a,20)+e|0;if(N[f+8>>2]!=(i|0)){d=d|32;N[c+144>>2]=d;N[f+4>>2]=N[f+4>>2]|3}f=T(a+1|0,20)+e|0;if(N[f+8>>2]!=(i|0)){d=d|32;N[c+144>>2]=d;N[f+4>>2]=N[f+4>>2]|3}a=a+2|0;if((n|0)!=(a|0)){continue}break}}a=N[T(q,20)+e>>2];N[h+44>>2]=0;N[h+40>>2]=0;d:{e:{f:{g:{d=O[m|0]|O[m+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break e;case 1:break f;case 0:break g;default:break d}}a=N[b+88>>2];d=O[m+2|0]|O[m+3|0]<<8;R[h+44>>2]=R[a+44>>2]*U((d<<8|d>>>8)<<16>>16);l=R[a+48>>2];a=O[m+4|0]|O[m+5|0]<<8;R[h+40>>2]=l*U((a<<8|a>>>8)<<16>>16);break d}Kf(m,N[b+88>>2],a,h+44|0,h+40|0);break d}Jf(m,b,h+44|0,h+40|0)}a=N[N[c+80>>2]+T(g,20)>>2];N[h+36>>2]=0;N[h+32>>2]=0;h:{i:{j:{k:{d=O[j|0]|O[j+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break h}}a=N[b+88>>2];d=O[j+2|0]|O[j+3|0]<<8;R[h+36>>2]=R[a+44>>2]*U((d<<8|d>>>8)<<16>>16);l=R[a+48>>2];a=O[j+4|0]|O[j+5|0]<<8;R[h+32>>2]=l*U((a<<8|a>>>8)<<16>>16);break h}Kf(j,N[b+88>>2],a,h+36|0,h+32|0);break h}Jf(j,b,h+36|0,h+32|0)}a=N[b+96>>2];if(N[a+156>>2]){d=N[b+88>>2];e=N[a+64>>2];N[h+20>>2]=g;N[h+16>>2]=e;ib(a,d,17206,h+16|0)}a=N[c+88>>2]+T(N[c+64>>2],20)|0;l=U(Z(U(U(R[h+36>>2]-R[h+44>>2])+U(.5))));l:{if(U(V(l))>2]=d;l=R[h+40>>2];t=R[h+32>>2];L[a+18|0]=1;l=U(Z(U(U(t-l)+U(.5))));m:{if(U(V(l))>2]=d;M[a+16>>1]=g-N[c+64>>2];N[c+144>>2]=N[c+144>>2]|8;a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];d=N[a+64>>2];N[h+4>>2]=g;N[h>>2]=d;ib(a,b,17248,h)}i=1;N[c+64>>2]=N[c+64>>2]+1}La=h+48|0;return i}function eA(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=La-96|0;La=h;N[h+80>>2]=0;N[h+84>>2]=0;N[h+72>>2]=0;N[h+76>>2]=0;j=h- -64|0;N[j>>2]=0;N[j+4>>2]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;m=c+10|0;a:{if((m|0)<0){j=6;break a}b:{c:{if(m){j=10;if((m|0)>268435455){break a}j=m<<3;g=Qa[N[a+4>>2]](a,j)|0;if(!g|(m|0)<=0){break c}C(g,0,j)}N[b+20>>2]=g;break b}N[b+20>>2]=g;if(g){break b}j=!g<<6;break a}d:{if(!c){break d}j=0;while(1){k=Qa[d|0](f,j)|0;e:{if(!k|!O[k|0]){break e}i=0;f:{g:{if(!cb(356640,k)){break g}i=1;if(!cb(356646,k)){break g}i=2;if(!cb(356652,k)){break g}i=3;if(!cb(356661,k)){break g}i=4;if(!cb(356668,k)){break g}i=5;if(!cb(356675,k)){break g}i=6;if(!cb(356678,k)){break g}i=7;if(!cb(356693,k)){break g}i=8;if(!cb(356699,k)){break g}if(cb(356712,k)){break f}i=9}l=i<<2;i=l+(h+48|0)|0;if(N[i>>2]){break f}N[i>>2]=1;N[h+l>>2]=j}i=Mo(k);if(i&2147483647){n=h+48|0;h:{i:{j:{k:{l:{m:{n:{o:{p:{if((i|0)<=915){q:{switch(i-160|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break h;case 0:break l;case 13:break p;default:break q}}switch(i-538|0){case 1:break j;case 0:break k;default:break o}}r:{s:{switch(i-937|0){default:t:{switch(i-8725|0){case 1:case 2:case 3:break h;case 4:break m;case 0:break r;default:break t}}l=0;if((i|0)==916){break i}break h;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:break h;case 19:break n;case 0:break s}}l=1;break i}l=2;break i}l=3;break i}if((i|0)!=713){break h}l=4;break i}l=5;break i}l=6;break i}l=7;break i}l=8;break i}l=9}N[n+(l<<2)>>2]=2}N[g+4>>2]=j;N[g>>2]=i;g=g+8|0}if(!e){break e}Qa[e|0](f,k)}j=j+1|0;if((j|0)!=(c|0)){continue}break}if(N[h+48>>2]!=1){break d}N[g>>2]=916;N[g+4>>2]=N[h>>2];g=g+8|0}if(N[h+52>>2]==1){N[g>>2]=937;N[g+4>>2]=N[h+4>>2];g=g+8|0}if(N[h+56>>2]==1){N[g>>2]=8725;N[g+4>>2]=N[h+8>>2];g=g+8|0}if(N[h+60>>2]==1){N[g>>2]=173;N[g+4>>2]=N[h+12>>2];g=g+8|0}if(N[h+64>>2]==1){N[g>>2]=713;N[g+4>>2]=N[h+16>>2];g=g+8|0}if(N[h+68>>2]==1){N[g>>2]=956;N[g+4>>2]=N[h+20>>2];g=g+8|0}if(N[h+72>>2]==1){N[g>>2]=8729;N[g+4>>2]=N[h+24>>2];g=g+8|0}if(N[h+76>>2]==1){N[g>>2]=160;N[g+4>>2]=N[h+28>>2];g=g+8|0}if(N[h+80>>2]==1){N[g>>2]=538;N[g+4>>2]=N[h+32>>2];g=g+8|0}if(N[h+84>>2]==1){N[g>>2]=539;N[g+4>>2]=N[h+36>>2];g=g+8|0}j=N[b+20>>2];e=g-j|0;d=e>>3;u:{if((g|0)==(j|0)){if(g){Qa[N[a+8>>2]](a,g)}N[b+20>>2]=0;j=163;break u}if(d>>>0>>1>>>0){v:{if((d|m)<0){break v}w:{if(!m){j=Qa[N[a+4>>2]](a,e)|0;a=!j<<6;break w}a=Qa[N[a+12>>2]](a,m<<3,e,j)|0;j=a?a:j;a=!a<<6}if(a|(d|0)<=(m|0)|!j){break v}C((m<<3)+j|0,0,d-m<<3)}N[b+20>>2]=j}Zc(j,d,8,361);j=0}N[b+16>>2]=d}La=h+96|0;return j|0}function vq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=T(b,c)+a|0;if(b>>>0>=10){m=0-c|0;while(1){i=T(b-1|0,c);k=i+a|0;d=k+m|0;h=a+c|0;e=N[h>>2];j=T(b>>>1|0,c)+a|0;b=N[j>>2];a:{if((e|0)!=(b|0)){g=b>>>0>e>>>0?-1:1;break a}e=N[h+4>>2];b=N[j+4>>2];g=-1;if(e>>>0>>0){break a}g=b>>>0>>0}g=(g|0)>0;b=g?h:j;e=N[b>>2];f=N[d>>2];b:{c:{if((e|0)!=(f|0)){if(e>>>0>=f>>>0){break c}break b}if(Q[b+4>>2]<=Q[d+4>>2]){break b}}e=g?j:h;g=N[e>>2];d:{if((g|0)!=(f|0)){b=d;if(f>>>0<=g>>>0){break d}break b}f=N[e+4>>2];g=N[d+4>>2];if(f>>>0>>0){b=d;break b}b=d;if(f>>>0<=g>>>0){break b}}b=e}if((b|0)!=(k|0)){g=b+c|0;d=k;while(1){e=O[b|0];L[b|0]=O[d|0];L[d|0]=e;d=d+1|0;b=b+1|0;if(g>>>0>b>>>0){continue}break}}e:{if((i|0)<=0){d=0;break e}h=k;f=h;g=a;e=g;while(1){f:{g:{d=N[e>>2];b=N[k>>2];h:{if((d|0)!=(b|0)){if(b>>>0>d>>>0){break h}break g}d=N[e+4>>2];b=N[k+4>>2];if(d>>>0>>0){break h}if(b>>>0>>0){break g}if(e>>>0>g>>>0){i=c+g|0;b=g;d=e;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}g=c+g|0}e=c+e|0;if(e>>>0>>0){continue}break f}i:{if(e>>>0>=f>>>0){break i}while(1){j:{i=f;f=f+m|0;d=N[f>>2];b=N[k>>2];k:{if((d|0)!=(b|0)){if(b>>>0<=d>>>0){break k}break j}d=N[f+4>>2];b=N[k+4>>2];if(d>>>0>>0){break j}if(b>>>0>>0){break k}j=h+m|0;if(h>>>0>i>>>0){b=f;d=j;while(1){h=O[b|0];L[b|0]=O[d|0];L[d|0]=h;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}h=j}if(e>>>0>>0){continue}break i}break}if(e>>>0>>0){i=c+e|0;b=e;d=f;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}e=c+e|0}if(e>>>0>>0){continue}}break}i=f-g|0;l:{if((a|0)==(g|0)|(f|0)==(g|0)){break l}b=g-a|0;if(b>>>0>i>>>0){if((i|0)<=0){break l}g=a+i|0;b=a+b|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}break l}if((b|0)<=0){break l}g=a+b|0;b=a+i|0;d=a;while(1){e=O[d|0];L[d|0]=O[b|0];L[b|0]=e;b=b+1|0;d=d+1|0;if(g>>>0>d>>>0){continue}break}}d=h-f|0;if((f|0)==(h|0)|(h|0)==(l|0)){break e}b=l-h|0;if(b>>>0>>0){if((b|0)<=0){break e}g=b+f|0;b=d+f|0;while(1){e=O[f|0];L[f|0]=O[b|0];L[b|0]=e;b=b+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}break e}if((d|0)<=0){break e}g=d+f|0;b=b+f|0;while(1){e=O[f|0];L[f|0]=O[b|0];L[b|0]=e;b=b+1|0;f=f+1|0;if(g>>>0>f>>>0){continue}break}}vq(a,(i>>>0)/(c>>>0)|0,c);a=l-d|0;b=(d>>>0)/(c>>>0)|0;l=a+T(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(l>>>0>g>>>0){h=0-c|0;while(1){e=g;m:{if(e>>>0<=a>>>0){break m}while(1){f=e+h|0;d=N[f>>2];b=N[e>>2];n:{if((d|0)!=(b|0)){if(b>>>0>d>>>0){break m}break n}if(Q[f+4>>2]<=Q[e+4>>2]){break m}}b=f;d=e;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}e=f;if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(l>>>0>g>>>0){continue}break}}}function zg(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,q=0,r=0,s=0,t=0,u=0;n=e>>8;a:{if((d|0)==(f|0)){b=b-N[a+164>>2]|0;if(!(!((b|0)<0|(b|0)>=N[a+172>>2])&N[a+160>>2]>(n|0))){N[a+176>>2]=N[a+192>>2];return}d=N[a+188>>2]+(b<<2)|0;g=N[d>>2];b=N[g>>2];c=N[a+156>>2];e=(c|0)>(n|0)?c-1|0:n;b:{if((b|0)<=(e|0)){while(1){c=g;if((b|0)==(e|0)){break b}g=N[c+12>>2];b=N[g>>2];if((e|0)>=(b|0)){continue}break}d=c+12|0}c=N[a+180>>2];N[a+180>>2]=c+16;if(Q[a+184>>2]<=c>>>0){break a}N[c>>2]=e;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=N[d>>2];N[d>>2]=c}N[a+176>>2]=c;return}g=c&255;h=c>>8;c:{if((h|0)==(n|0)){c=N[a+176>>2];break c}p=1;j=N[a+176>>2];k=e-c|0;d:{if((k|0)>0){s=256;c=256-g|0;break d}k=0-k|0;p=-1;c=g}m=f-d|0;c=T(c,m);l=(c|0)/(k|0)|0;q=c-T(k,l)|0;r=q>>31;i=l+r|0;N[j+4>>2]=i+N[j+4>>2];N[j+8>>2]=N[j+8>>2]+T(i,g|s);j=h+p|0;c=b-N[a+164>>2]|0;e:{if(!(!((c|0)<0|(c|0)>=N[a+172>>2])&N[a+160>>2]>(j|0))){g=N[a+192>>2];break e}h=N[a+188>>2]+(c<<2)|0;b=N[h>>2];o=N[b>>2];g=N[a+156>>2];l=(g|0)>(j|0)?g-1|0:j;if((o|0)<=(l|0)){while(1){g=b;if((l|0)==(o|0)){break e}b=N[g+12>>2];o=N[b>>2];if((l|0)>=(o|0)){continue}break}h=g+12|0}g=N[a+180>>2];N[a+180>>2]=g+16;if(Q[a+184>>2]<=g>>>0){break a}N[g>>2]=l;N[g+4>>2]=0;N[g+8>>2]=0;N[g+12>>2]=N[h>>2];N[h>>2]=g}d=d+i|0;N[a+176>>2]=g;f:{if((j|0)==(n|0)){c=g;break f}b=q+(k&r)|0;l=m<<8;h=(l|0)/(k|0)|0;l=l-T(h,k)|0;m=l>>31;l=(m&k)+l|0;m=h+m|0;g:{if((c|0)<0){c=N[a+192>>2];h=b+l|0;i=(h|0)>=(k|0);b=i+m|0;N[g+4>>2]=b+N[g+4>>2];N[g+8>>2]=N[g+8>>2]+(b<<8);d=b+d|0;g=j+p|0;if((n|0)==(g|0)){break g}h=h-(i?k:0)|0;b=N[c+8>>2];j=N[c+4>>2];while(1){h=h+l|0;i=(h|0)>=(k|0);h=h-(i?k:0)|0;i=i+m|0;d=i+d|0;j=j+i|0;b=(i<<8)+b|0;g=g+p|0;if((n|0)!=(g|0)){continue}break}N[c+8>>2]=b;N[c+4>>2]=j;break g}if((c|0)>2]){q=N[a+160>>2];r=c<<2;c=g;while(1){t=b+l|0;u=(t|0)>=(k|0);o=m+u|0;N[c+4>>2]=o+N[c+4>>2];N[c+8>>2]=N[c+8>>2]+(o<<8);j=j+p|0;h:{if((q|0)>(j|0)){h=r+N[a+188>>2]|0;g=N[h>>2];b=N[g>>2];c=N[a+156>>2];i=(c|0)>(j|0)?c-1|0:j;if((b|0)<=(i|0)){while(1){c=g;if((b|0)==(i|0)){break h}g=N[c+12>>2];b=N[g>>2];if((i|0)>=(b|0)){continue}break}h=c+12|0}c=N[a+180>>2];N[a+180>>2]=c+16;if(Q[a+184>>2]<=c>>>0){break a}N[c>>2]=i;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=N[h>>2];N[h>>2]=c;break h}c=N[a+192>>2]}b=t-(u?k:0)|0;d=d+o|0;N[a+176>>2]=c;if((j|0)!=(n|0)){continue}break}break f}c=N[a+192>>2];h=b+l|0;i=(h|0)>=(k|0);b=i+m|0;N[g+4>>2]=b+N[g+4>>2];N[g+8>>2]=N[g+8>>2]+(b<<8);d=b+d|0;g=j+p|0;if((n|0)==(g|0)){break g}h=h-(i?k:0)|0;b=N[c+8>>2];j=N[c+4>>2];while(1){h=h+l|0;i=(h|0)>=(k|0);h=h-(i?k:0)|0;i=i+m|0;d=i+d|0;j=j+i|0;b=(i<<8)+b|0;g=g+p|0;if((n|0)!=(g|0)){continue}break}N[c+8>>2]=b;N[c+4>>2]=j}N[a+176>>2]=c}g=256-s|0}a=f-d|0;N[c+4>>2]=a+N[c+4>>2];N[c+8>>2]=N[c+8>>2]+T(a,(e&255)+g|0);return}pe(a,1);B()}function Hp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=La-22048|0;La=c;d=N[b+100>>2];C(c+15424|4,0,2748);N[c+15424>>2]=d;N[a+7728>>2]=0;N[a+52>>2]=0;e=N[N[(N[N[a>>2]+8>>2]<<2)+288704>>2]+16>>2];a:{d=db(1,172);b:{if(!d){d=588184;break b}N[d+148>>2]=1073741823;N[d+152>>2]=536870911;N[d>>2]=1;N[d+4>>2]=1;f=Ic();c:{if(!f){break c}g=N[f>>2];if(!g){break c}if((g|0)<=0){break a}N[f>>2]=g+1}L[d+60|0]=1;N[d+24>>2]=65533;N[d+12>>2]=f}d:{e:{f=O[e|0];if(f){while(1){if((f|0)==32){while(1){f=O[e+1|0];e=e+1|0;if((f|0)==32){continue}break}}e=Ge(e,a,d,c+16|0);f:{if(Q[c+16>>2]>1){break f}f=N[d+80>>2];g=N[d+68>>2];g:{if(O[d+63|0]|N[d+168>>2]){break g}N[d+84>>2]=f;N[d+72>>2]=0;M[d+62>>1]=256;h=T(g,20);if(!h){break g}C(N[d+88>>2],0,h)}if(!g){break f}f=N[f>>2];if(f){break e}}f=O[e|0];if(f){continue}break}}dc(d);break d}dc(d);if(vc(b,f,1)){break d}d=N[b+84>>2];if(M[d+110>>1]<=0){break d}e=c+16|0;C(e,0,15396);f=N[a+40>>2];N[c+24>>2]=65536;N[c+28>>2]=65536;N[c+56>>2]=f;N[c+20>>2]=b;N[c+18164>>2]=0;N[c+18172>>2]=e;if(sf(c+15424|0,d+108|0)){break d}if(Yd(c+15424|0,0)){break d}d=0;rf(c+15424|0,0,0,0);b=N[c+15468>>2];if((b|0)>0){e=N[c+15476>>2];f=e+T(b,44)|0;while(1){b=N[e+20>>2];if(!(!b|b>>>0<=e>>>0|(N[b+20>>2]!=(e|0)|d>>>0>15))){g=M[e+2>>1]-M[b+2>>1]|0;b=g>>31;N[(T(d,12)+a|0)+56>>2]=(b^g)-b;d=d+1|0}e=e+44|0;if(f>>>0>e>>>0){continue}break}}N[c+12>>2]=d;Eg(c+12|0,a+56|0,Q[c+56>>2]/100|0);N[a+52>>2]=N[c+12>>2];if(Yd(c+15424|0,1)){break d}d=0;rf(c+15424|0,0,0,1);b=N[c+16816>>2];if((b|0)>0){e=N[c+16824>>2];f=e+T(b,44)|0;while(1){b=N[e+20>>2];if(!(!b|b>>>0<=e>>>0|(N[b+20>>2]!=(e|0)|d>>>0>15))){g=M[e+2>>1]-M[b+2>>1]|0;b=g>>31;N[(T(d,12)+a|0)+7732>>2]=(b^g)-b;d=d+1|0}e=e+44|0;if(f>>>0>e>>>0){continue}break}}N[c+12>>2]=d;Eg(c+12|0,a+7732|0,Q[c+56>>2]/100|0);N[a+7728>>2]=N[c+12>>2]}if(N[a+52>>2]){b=N[a+56>>2]}else{b=(T(N[a+40>>2],50)|0)/2048|0}L[a+256|0]=0;N[a+252>>2]=b;N[a+248>>2]=(b|0)/5;if(N[a+7728>>2]){b=N[a+7732>>2]}else{b=(T(N[a+40>>2],50)|0)/2048|0}L[a+7932|0]=0;N[a+7928>>2]=b;N[a+7924>>2]=(b|0)/5;a=N[c+15424>>2];h:{if(!a){break h}N[c+15468>>2]=0;N[c+15472>>2]=0;b=N[c+15476>>2];if((b|0)!=(c+15496|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15476>>2]=0}b=c+15480|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+15488>>2];if((b|0)!=(c+16288|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15488>>2]=0}b=c+16816|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+16824>>2];if((b|0)!=(c+16844|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+16824>>2]=0}b=c+16828|0;N[b>>2]=0;N[b+4>>2]=0;b=N[c+16836>>2];if((b|0)!=(c+17636|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+16836>>2]=0}b=N[c+15464>>2];if((b|0)!=(c+18176|0)){if(b){Qa[N[a+8>>2]](a,b)}N[c+15464>>2]=0}N[c+15456>>2]=0;N[c+15460>>2]=0;b=N[c+15452>>2];if((b|0)==(c+18208|0)|!b){break h}Qa[N[a+8>>2]](a,b)}La=c+22048|0;return}ba(23506,14099,260,16403);B()}function aj(a,b){var 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;a:{f=N[b+4>>2];b:{if(f>>>0>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<8){break b}d=N[b+12>>2];c=d-8|0;N[b+12>>2]=c;if(((O[a|0]|O[a+1|0]<<8)&65279)!=512|(c|0)<=0){break b}c=a+4|0;if(c>>>0>e>>>0|e-c>>>0<4){break b}c=d-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}h=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);d=UE(i,0,48,0);if(Pa){break b}if(d){k=a+8|0;if(k>>>0>e>>>0|d>>>0>e-k>>>0){break b}c=c-d|0;N[b+12>>2]=c;if((c|0)<=0){break b}}if(!h){return 1}p=i>>>0<=1?1:i;k=0;while(1){h=T(k,48)+a|0;d=h+8|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<48){break a}i=c-48|0;N[b+12>>2]=i;if((i|0)<=0){break a}j=c-52|0;N[b+12>>2]=j;if((j|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(d&128){break a}c=O[h+16|0]|O[h+17|0]<<8|(O[h+18|0]<<16|O[h+19|0]<<24);m=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(m>>>0>536870911){break a}i=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+a|0;c:{d=m<<3;if(!d){break c}if(e>>>0>>0|f>>>0>i>>>0|d>>>0>e-i>>>0){break a}d=j-d|0;N[b+12>>2]=d;if((d|0)>0){break c}break a}n=0;j=0;if(c){while(1){g=N[b+4>>2];e=i+(j<<3)|0;if(g>>>0>e>>>0){break b}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<8){break b}f=N[b+12>>2];c=f-8|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8;l=(c<<8|c>>>8)&65535;c=O[e+2|0]|O[e+3|0]<<8;o=(c<<8|c>>>8)&65535;if(l>>>0>o>>>0){break b}e=e+4|0;if(e>>>0>d>>>0|d-e>>>0<4){break b}c=f-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);d:{if(!c){break d}if(c&128){break b}c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;e:{if(c>>>0>>0|d>>>0>>0|d-c>>>0<8){break e}g=f-20|0;N[b+12>>2]=g;if((g|0)<=0){break e}g=o-l|0;f:{g:{l=O[c|0]|O[c+1|0]<<8;switch(((l<<8|l>>>8)&65535)-1|0){case 2:break f;case 0:break g;default:break d}}f=f-28|0;N[b+12>>2]=f;if((f|0)<=0){break e}g=g+2|0;if(g>>>0>1073741823){break e}if(!g){break d}c=c+8|0;if(c>>>0>d>>>0){break e}c=d-c|0;d=g<<2;if(c>>>0>>0){break e}d=f-d|0;N[b+12>>2]=d;if((d|0)>0){break d}break e}f=f-28|0;N[b+12>>2]=f;if((g|0)<-2|(f|0)<=0){break e}g=g+2|0;if(!g){break d}c=c+8|0;if(c>>>0>d>>>0){break e}c=d-c|0;d=g<<1;if(c>>>0>>0){break e}d=f-d|0;N[b+12>>2]=d;if((d|0)>0){break d}}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0}j=j+1|0;if((m|0)!=(j|0)){continue}break}f=N[b+4>>2]}d=h+24|0;if(d>>>0>>0){break b}e=N[b+8>>2];if(d>>>0>e>>>0|e-d>>>0<12){break b}d=N[b+12>>2];c=d-12|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=h+36|0;if(c>>>0>e>>>0|e-c>>>0<12){break b}c=d-24|0;N[b+12>>2]=c;n=(c|0)>0;if((c|0)<=0){break b}k=k+1|0;if((p|0)!=(k|0)){continue}break}}return n}return 0}function Xq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=275552;c=N[N[N[a+92>>2]+148>>2]>>2];c=c?c:275552;f=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[f|0]|O[f+1|0]<<8)!=256){break a}d=275552;c=O[f+8|0]|O[f+9|0]<<8;if(c){d=f+((c<<8|c>>>8)&65535)|0}c=O[d|0]|O[d+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=b>>>0){break a}c=(b<<1)+d|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break a}g=((c<<8|c>>>8)&65535)+d|0}m=N[a+136>>2];N[a+136>>2]=b;b=O[g+2|0]|O[g+3|0]<<8;b=b<<8|b>>>8;d=b&65535;j=N[a+140>>2];if(b&16){b=O[g+4|0]|O[g+5|0]<<8;b=(((b<<8|b>>>8)&65535)<<1)+g|0;b=O[b+6|0]|O[b+7|0]<<8;d=b<<24|b<<8&16711680|d}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;h=O[a+150|0];L[a+21|0]=h;c=N[a+132>>2];N[a+16>>2]=c;N[a+72>>2]=0;N[a+48>>2]=a;b=O[a+151|0];L[a+22|0]=b;f=a- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[a+52>>2]=d;e=N[a+84>>2];f=(e|0)==1;L[a+20|0]=f;d=O[a+149|0];L[a+61|0]=1;L[a+60|0]=f|(d|0)!=0;N[a+56>>2]=-1;L[a+62|0]=b;i=O[g+4|0]|O[g+5|0]<<8;if(i){b=O[g|0]|O[g+1|0]<<8;f=(b<<8|b>>>8)&65535;k=g+4|0;h=(i<<8|i>>>8)&65535;i=h>>>0<=1?1:h;b=0;l=1;while(1){c=O[k|0]|O[k+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?275552:((b<<1)+k|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+g|0}else{c=275552}d=f;b:{while(1){c:{e=0;if((d|0)!=9){d:{switch(d-1|0){case 0:e:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 0:break c;case 1:break e;default:break b}}e=Ek(c,a);break b;case 1:f:{g:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break f;case 0:break g;default:break b}}e=Hk(c,a);break b}e=Gk(c,a);break b;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Uk(c,a);break b;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Tk(c,a);break b;case 4:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Sk(c,a);break b;case 5:if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=Rk(c,a);break b;case 6:e=Kj(c,a);break b;case 7:break d;default:break b}}h:{i:{j:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break h;case 1:break i;case 0:break j;default:break b}}e=Jj(a,c);break b}e=Lf(c,a,0);break b}e=ah(c,a);break b}if((O[c|0]|O[c+1|0]<<8)!=256){break b}e=O[c+2|0]|O[c+3|0]<<8;d=(e<<8|e>>>8)&65535;e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}continue}break}e=Fk(c,a)}if(!e){b=b+1|0;l=h>>>0>b>>>0;if((b|0)!=(i|0)){continue}}break}d=O[a+149|0];c=N[a+132>>2];h=O[a+150|0];e=N[a+84>>2];b=O[a+151|0]}N[a+140>>2]=j;N[a+136>>2]=m;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;L[a+21|0]=h;N[a+12>>2]=j;N[a+72>>2]=0;L[a+22|0]=b;N[a+16>>2]=c;N[a+64>>2]=0;N[a+68>>2]=0;L[a+61|0]=1;N[a+52>>2]=j;L[a+62|0]=b;N[a+56>>2]=-1;b=(e|0)==1;L[a+20|0]=b;L[a+60|0]=b|(d&255)!=0;N[a+8>>2]=a;N[a+48>>2]=a;return l|0}function mo(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,o=0,p=0,q=0,r=0;a:{if(c>>>0>268435455){break a}d=c<<4;m=kb(d>>>0<=1?1:d);if(!m){break a}b:{if((c|0)<=0){Zc(m,0,16,375);break b}while(1){j=(n<<5)+b|0;c:{if(!N[j+20>>2]|!N[j+8>>2]|!N[j+16>>2]){break c}d=N[j+28>>2];f=N[d+52>>2];if(!f){f=db(1,20);N[d+52>>2]=f;if(!f){break c}}if(N[a+112>>2]!=N[f+16>>2]){N[f>>2]=0;N[f+4>>2]=0;N[f+16>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;f=N[d+52>>2];N[f+16>>2]=N[a+112>>2]}g=N[f+4>>2];if((g|0)<=0){break c}e=N[f+12>>2];o=e;p=N[f+8>>2];h=p;l=N[f>>2];i=l;d=g;if((d|0)!=N[j+8>>2]){o=0;mb(N[a>>2],2,16884,0);N[f+8>>2]=0;N[f+12>>2]=0;N[f>>2]=0;N[f+4>>2]=0;h=0;i=0;d=0}if((k|0)>0){q=e+p|0;r=g+l|0;e=0;while(1){g=(e<<4)+m|0;if(!((l|0)>=N[g+12>>2]|(r|0)<=N[g+4>>2]|((q|0)<=N[g>>2]|(p|0)>=N[g+8>>2]))){N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;N[f+12>>2]=0;o=0;h=0;i=0;d=0}e=e+1|0;if((k|0)!=(e|0)){continue}break}}if((d|0)<=0){break c}g=(k<<4)+m|0;N[g+12>>2]=d+i;N[g+4>>2]=i;N[g+8>>2]=h+o;N[g>>2]=h;e=N[j>>2];if(e){h=i-N[j+4>>2]|0;f=N[a+136>>2];while(1){g=h+N[e+24>>2]|0;N[e+24>>2]=g;d=N[e+4>>2];if((g|0)<0){N[e+24>>2]=0;d=d+g|0;N[e+4>>2]=d;N[e+12>>2]=N[e+12>>2]-T(g,N[e+8>>2]);g=0}g=d+g|0;if((g|0)>=(f|0)){d=(f-g|0)+d|0;N[e+4>>2]=d}if((d|0)<=0){N[e+24>>2]=0;N[e+4>>2]=0}e=N[e+28>>2];if(e){continue}break}}k=k+1|0;N[j+4>>2]=i}n=n+1|0;if((n|0)!=(c|0)){continue}break}Zc(m,k,16,375);n=0;while(1){f=(n<<5)+b|0;d:{if(!N[f+20>>2]|!N[f+8>>2]|!N[f+16>>2]){break d}d=N[f+28>>2];h=N[d+52>>2];if(!h){h=db(1,20);N[d+52>>2]=h;if(!h){break d}}if(N[a+112>>2]!=N[h+16>>2]){N[h>>2]=0;N[h+4>>2]=0;N[h+16>>2]=0;N[h+8>>2]=0;N[h+12>>2]=0;h=N[d+52>>2];N[h+16>>2]=N[a+112>>2]}if(N[h+4>>2]){break d}o=N[f+12>>2];p=o+N[f+16>>2]|0;e=N[f+4>>2];j=e+N[f+8>>2]|0;e:{if(N[f+24>>2]==1){i=0;d=0;if((k|0)<=0){break e}while(1){g=(d<<4)+m|0;f:{if(N[g+4>>2]>=(i+j|0)){break f}l=N[g+12>>2];if((l|0)<=(e+i|0)|(p|0)<=N[g>>2]){break f}i=(o|0)>2]?l-e|0:i}d=d+1|0;if((k|0)!=(d|0)){continue}break}break e}i=0;d=k;if((d|0)<=0){break e}while(1){g=d;d=d-1|0;l=(d<<4)+m|0;q=N[l+4>>2];if(!((q|0)>=(i+j|0)|N[l+12>>2]<=(e+i|0)|(p|0)<=N[l>>2])){i=(o|0)>2]?q-j|0:i}if(g>>>0>1){continue}break}}d=(k<<4)+m|0;N[d+12>>2]=i+j;N[d+4>>2]=e+i;N[d+8>>2]=p;N[d>>2]=o;k=k+1|0;Zc(m,k,16,375);g:{if(!i){e=N[f+4>>2];break g}e=N[f>>2];if(e){j=N[a+136>>2];while(1){g=N[e+24>>2]+i|0;N[e+24>>2]=g;d=N[e+4>>2];if((g|0)<0){N[e+24>>2]=0;d=d+g|0;N[e+4>>2]=d;N[e+12>>2]=N[e+12>>2]-T(g,N[e+8>>2]);g=0}g=d+g|0;if((g|0)>=(j|0)){d=(j-g|0)+d|0;N[e+4>>2]=d}if((d|0)<=0){N[e+24>>2]=0;N[e+4>>2]=0}e=N[e+28>>2];if(e){continue}break}}e=N[f+4>>2]+i|0;N[f+4>>2]=e}N[h>>2]=e;N[h+4>>2]=N[f+8>>2];N[h+8>>2]=N[f+12>>2];N[h+12>>2]=N[f+16>>2]}n=n+1|0;if((n|0)!=(c|0)){continue}break}}_a(m)}}function eE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[c>>2];a:{b:{c:{d:{if(!b){if(!d){return 0}a=N[d>>2];if(!a){break a}if((a|0)<=0){break d}N[d>>2]=a+1;return d|0}f=P[c+4>>1];e:{f:{g:{a=Q[d+16>>2]<4?275552:N[d+12>>2];d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if((d|0)<=1953658212){if((d|0)==256){break g}if((d|0)==65536){d=a;break e}if((d|0)!=1330926671){break f}d=a;break e}if((d|0)==1953658213){d=a;break e}if((d|0)==1954115633){d=a;break e}if((d|0)!=1953784678){break f}d=275552;e=O[a+4|0]|O[a+5|0]<<8;if(((e<<8|e>>>8)&65535)-1>>>0>1){break e}e=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);e=f>>>0>=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0?275552:(a+(f<<2)|0)+12|0;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!e){break e}d=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0;break e}d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);g=a+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0;d=O[g+24|0]|O[g+25|0]<<8;d=((d<<8|d>>>8)&65535)+g|0;d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;j=a+256|0;d=0;while(1){h:{e=O[g+24|0]|O[g+25|0]<<8;e=g+((e<<8|e>>>8)&65535)|0;h=O[e|0]|O[e+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0>>0){e=275552}else{e=(e+(d<<3)|0)+2|0}if((O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24))!=1953392243){break h}h=O[e+4|0]|O[e+5|0]<<8;if(f>>>0>((h<<8|h>>>8)&65535)>>>0){break h}d=O[g+24|0]|O[g+25|0]<<8;k=g+((d<<8|d>>>8)&65535)|0;d=O[e+6|0]|O[e+7|0]<<8;d=(k+((d<<8|d>>>8)&65535)|0)+T(f,12)|0;d=(j+(O[d+6|0]<<8|O[d+5|0]<<16|O[d+7|0])|0)+4|0;l=d-a|0;break e}e=(d|0)!=(i|0);d=d+1|0;if(e){continue}break}d=275552;l=275552-a|0;break e}d=275552}i=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=d+12|0;e=O[d+4|0]|O[d+5|0]<<8;j=(e<<8|e>>>8)&65535;if(j>>>0<=15){a=275552;if(!e){break b}e=0;f=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>=b>>>0&(f|0)==(i|0)){break c}while(1){e=e+1|0;if((j|0)==(e|0)){break b}f=g+(e<<4)|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>>0|(f|0)!=(i|0)){continue}break}break c}a=275552;if(!e){break b}h=j-1|0;while(1){e=h+m>>>1|0;f=g+(e<<4)|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);k=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0>>0;i:{if(!(k|(f|0)==(i|0))){h=e-1|0;break i}if(!k&(f|0)==(i|0)){break c}m=e+1|0}if((h|0)>=(m|0)){continue}break}break b}ba(23506,14099,260,16403);B()}if(e>>>0>=j>>>0){break b}a=((e<<4)+d|0)+12|0}b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);a=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=Cl(N[c>>2],(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+l|0,a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))}return d|0}function Dm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;C(b,0,196);f=O[a+188|0];L[b+8|0]=f;a:{if(!f){break a}if(f>>>0>=4){h=f&252;d=b+12|0;g=a+192|0;while(1){M[d+(c<<1)>>1]=N[g+(c<<2)>>2];i=c|1;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];i=c|2;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];i=c|3;M[d+(i<<1)>>1]=N[g+(i<<2)>>2];c=c+4|0;if((h|0)!=(c|0)){continue}break}}d=f&3;if(!d){break a}f=0;while(1){M[((c<<1)+b|0)+12>>1]=N[((c<<2)+a|0)+192>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+189|0];L[b+9|0]=d;b:{if(!d){break b}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+40|0;h=a+248|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break b}while(1){M[((c<<1)+b|0)+40>>1]=N[((c<<2)+a|0)+248>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+190|0];L[b+10|0]=d;c:{if(!d){break c}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+60|0;h=a+288|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break c}while(1){M[((c<<1)+b|0)+60>>1]=N[((c<<2)+a|0)+288>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+191|0];L[b+11|0]=d;d:{if(!d){break d}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+88|0;h=a+344|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break d}while(1){M[((c<<1)+b|0)+88>>1]=N[((c<<2)+a|0)+344>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}N[b+108>>2]=N[a+384>>2];N[b+112>>2]=N[a+388>>2];N[b+116>>2]=N[a+392>>2];M[b+120>>1]=N[a+396>>2];M[b+122>>1]=N[a+400>>2];d=O[a+404|0];L[b+124|0]=d;e:{if(!d){break e}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+128|0;h=a+408|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break e}while(1){M[((c<<1)+b|0)+128>>1]=N[((c<<2)+a|0)+408>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}d=O[a+405|0];L[b+125|0]=d;f:{if(!d){break f}f=0;c=0;if(d>>>0>=4){i=d&252;g=b+154|0;h=a+460|0;while(1){M[g+(c<<1)>>1]=N[h+(c<<2)>>2];e=c|1;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|2;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];e=c|3;M[g+(e<<1)>>1]=N[h+(e<<2)>>2];c=c+4|0;if((i|0)!=(c|0)){continue}break}}d=d&3;if(!d){break f}while(1){M[((c<<1)+b|0)+154>>1]=N[((c<<2)+a|0)+460>>2];c=c+1|0;f=f+1|0;if((d|0)!=(f|0)){continue}break}}L[b+126|0]=O[a+512|0];N[b+184>>2]=N[a+524>>2];N[b+4>>2]=N[a+520>>2]}function Ke(a,b){var 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;l=La-32|0;La=l;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{switch(a-29|0){case 0:a=N[b+8>>2];f=N[b+4>>2];l:{if(a>>>0>=f>>>0){a=f+1|0;N[b+8>>2]=a;d=275552;break l}d=N[b>>2]+a|0}j=O[d|0];d=a+1|0;m:{if(d>>>0>=f>>>0){a=f+1|0;N[b+8>>2]=a;d=275552;break m}d=d+N[b>>2]|0}g=O[d|0];d=a+2|0;n:{if(d>>>0>=f>>>0){a=f+1|0;N[b+8>>2]=a;d=275552;break n}d=d+N[b>>2]|0}e=a+3|0;o:{if(e>>>0>=f>>>0){a=f+1|0;f=275552;break o}f=e+N[b>>2]|0}m=b+16|0;e=O[d|0];d=O[f|0];f=N[b+20>>2];p:{if(f>>>0<=512){N[b+20>>2]=f+1;f=(m+(f<<3)|0)+8|0;break p}L[m|0]=1;N[147456]=0;N[147457]=0;f=589824}S[f>>3]=d|(g<<16|j<<24|e<<8);N[b+8>>2]=a+4;break a;case 1:a=N[b+8>>2];n=N[b+4>>2];if(a>>>0>n>>>0){break c}j=n+2|0;e=N[b>>2];while(1){q:{r:{s:{if(!(k&1)){d=a+1|0;if(d>>>0>n>>>0){break d}f=a+e|0;a=a>>>0>>0;f=O[(a?f:275552)|0];a=a?d:j;N[b+8>>2]=a;d=f>>>4|0;break s}d=f&15}switch(d-13|0){case 2:break r;case 0:break d;default:break q}}d=g+l|0;a=l;t:{if((g|0)<=0){break t}while(1){e=O[a|0];if(e-9>>>0>=5&(e|0)!=32){break t}a=a+1|0;if((d|0)!=(a|0)){continue}break}break f}if((a|0)==(d|0)){break f}g=1;u:{while(1){f=O[g+179647|0]+179456|0;e=L[g+179656|0];k=L[a|0];j=g<<1;g=O[j+179424|0];if((k|0)>=(g|0)){e=(k|0)>O[j+179425|0]?e:k-g|0}j=L[e+f|0];v:{if(587>>>j&1){break v}w:{switch(L[j+179675|0]-1|0){case 0:p=1;break v;case 3:m=1;break v;case 1:h=h*10+ +(k-48|0);break v;case 2:if(!(c<=450359962737049)){break v}c=c*10+ +(k-48|0);o=o+1;break v;case 4:break w;default:break v}}e=(k+T(i,10)|0)-48|0;g=e>>>0>2047;i=g?i:e;q=g|q}if((j|0)==1){break u}g=L[j+179665|0];a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}x:{if(o!=0){r=c;if(o<4294967296&o>=0){e=~~o>>>0}else{e=0}c=e&256?1e256:1;c=e&128?c*1e128:c;c=e&64?c*1e64:c;c=e&32?c*1e32:c;c=e&16?c*1e16:c;c=e&8?c*1e8:c;c=e&4?c*1e4:c;c=e&2?c*100:c;h=h+r/(e&1?c*10:c);if(p){break x}break j}if(!p){break j}}h=-h;if(!(q&1)){break i}break h}L[g+l|0]=O[d+20474|0];y:{if((d|0)!=12){d=g;break y}d=g+1|0;if((d|0)==32){break d}L[d+l|0]=45}g=d+1|0;k=k+1|0;if(d>>>0<31){continue}break};break d;default:break k}}vf(a,b);break a}if(q&1){break h}}if(!i){break e}c=i&256?1e256:1;c=i&128?c*1e128:c;c=i&64?c*1e64:c;c=i&32?c*1e32:c;c=i&16?c*1e16:c;c=i&8?c*1e8:c;c=i&4?c*1e4:c;c=i&2?c*100:c;c=i&1?c*10:c;if(!m){break g}h=h/c;break e}if(h==0){break e}if(m){h=p?-22250738585072014e-324:22250738585072014e-324;break e}h=p?-17976931348623157e292:17976931348623157e292;break e}h=c*h;break e}a=d}if((a|0)==(l|0)){break d}if((a|0)==(d|0)){break b}}N[b+8>>2]=n+1}h=0}d=b+16|0;a=N[b+20>>2];if(a>>>0<=512){N[b+20>>2]=a+1;S[(d+(a<<3)|0)+8>>3]=h;break a}L[d|0]=1;N[147456]=0;N[147457]=0;S[73728]=h}La=l+32|0}function dh(a,b){var 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;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}h=N[b+8>>2];if(h>>>0>>0|h-a>>>0<2){break b}d=N[b+12>>2];f=d-2|0;N[b+12>>2]=f;if((f|0)<=0){break b}f=a+2|0;if(f>>>0>h>>>0|h-f>>>0<2){break b}d=d-4|0;N[b+12>>2]=d;if((d|0)<=0){break b}c=1;f=O[f|0]|O[f+1|0]<<8;if(!f){break b}c=(f<<8|f>>>8)&65535;o=c>>>0<=1?1:c;n=c-1|0;a=a+4|0;c:{while(1){if(a>>>0>>0|a>>>0>h>>>0|h-a>>>0<6){break c}c=d-6|0;N[b+12>>2]=c;if((c|0)<=0){break c}c=N[b+32>>2];i=N[c+12>>2];N[b+4>>2]=i;c=N[c+16>>2];h=c+i|0;N[b+8>>2]=h;if((c|0)<0){break a}d:{e:{if(j>>>0>>0){f=j>>>0>>0?a:0;if(!(i>>>0<=f>>>0&f>>>0>>0)){N[b+4>>2]=0;N[b+8>>2]=0;f=0;c=0;break e}N[b+4>>2]=f;c=h-f|0;e=O[f+2|0]|O[f+3|0]<<8;e=(e<<8|e>>>8)&65535;c=(c>>>0>>0?c:e)+f|0;N[b+8>>2]=c;break e}c=h;f=i;if(f>>>0>a>>>0){break d}}if(a>>>0>c>>>0){break d}k=c-a|0;if(k>>>0<6){break d}d=d-12|0;N[b+12>>2]=d;if((d|0)<=0){break d}e=O[a+2|0]|O[a+3|0]<<8;l=(e<<8|e>>>8)&65535;if(l>>>0<6|k>>>0>>0){break d}d=d-l|0;N[b+12>>2]=d;if((d|0)<=0){break d}f:{g:{switch(O[a+4|0]){case 0:e=a+6|0;if(e>>>0>c>>>0|c-e>>>0<8){break d}f=d-8|0;N[b+12>>2]=f;if((d|0)<9){break d}d=O[e|0]|O[e+1|0]<<8;if(!d){d=f;break f}e=a+14|0;if(e>>>0>c>>>0){break d}g=c-e|0;c=T((d<<8|d>>>8)&65535,6);if(g>>>0>>0){break d}d=f-c|0;N[b+12>>2]=d;if((d|0)>0){break f}break d;case 2:break g;default:break f}}if(k>>>0<14){break d}e=d-14|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=a+8|0;if(e>>>0>c>>>0|c-e>>>0<2){break d}e=d-16|0;N[b+12>>2]=e;if((e|0)<=0){break d}e=O[a+8|0]|O[a+9|0]<<8;g=((e<<8|e>>>8)&65535)+a|0;if(g>>>0>>0|c>>>0>>0|c-g>>>0<4){break d}e=d-20|0;N[b+12>>2]=e;if((e|0)<=0){break d}m=g+2|0;if(m>>>0>c>>>0|c-m>>>0<2){break d}e=d-22|0;N[b+12>>2]=e;if((e|0)<=0){break d}d=O[m|0]|O[m+1|0]<<8;if(d){g=g+4|0;if(g>>>0>c>>>0){break d}d=((d<<8|d>>>8)&65535)<<1;if(d>>>0>c-g>>>0){break d}e=e-d|0;N[b+12>>2]=e;if((e|0)<=0){break d}}d=a+10|0;if(d>>>0>c>>>0|c-d>>>0<2){break d}N[b+12>>2]=e-2;if((e|0)<3){break d}g=f;d=O[a+10|0]|O[a+11|0]<<8;f=((d<<8|d>>>8)&65535)+a|0;if(g>>>0>f>>>0|c>>>0>>0|c-f>>>0<4){break d}N[b+12>>2]=e-6;if((e|0)<7){break d}g=f+2|0;if(g>>>0>c>>>0|c-g>>>0<2){break d}d=e-8|0;N[b+12>>2]=d;if((e|0)<9){break d}e=O[g|0]|O[g+1|0]<<8;if(e){f=f+4|0;if(f>>>0>c>>>0){break d}f=c-f|0;c=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}c=O[a+12|0]|O[a+13|0]<<8;if(!c){break f}c=(c<<8|c>>>8)&65535;if(c>>>0>k>>>0){break d}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break d}}N[b+8>>2]=h;N[b+4>>2]=i;a=a+l|0;c=1;j=j+1|0;if((o|0)==(j|0)){break b}continue}break}N[b+8>>2]=h;N[b+4>>2]=i}c=0}return c}ba(16656,14279,195,9642);B()}function Uh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;N[a+4>>2]=c;N[a>>2]=b;N[a+416>>2]=N[c+124>>2];N[a+420>>2]=N[c+128>>2];N[a+428>>2]=N[c+136>>2];N[a+432>>2]=N[c+140>>2];N[a+424>>2]=N[c+132>>2];N[a+436>>2]=N[c+144>>2];N[a+216>>2]=N[c+120>>2];d=N[c+80>>2];N[a+248>>2]=N[c+76>>2];N[a+252>>2]=d;d=N[c+88>>2];N[a+256>>2]=N[c+84>>2];N[a+260>>2]=d;d=N[c+96>>2];N[a+264>>2]=N[c+92>>2];N[a+268>>2]=d;d=N[c+104>>2];N[a+272>>2]=N[c+100>>2];N[a+276>>2]=d;d=N[c+112>>2];N[a+280>>2]=N[c+108>>2];N[a+284>>2]=d;d=N[c+44>>2];f=N[d+4>>2];N[a+220>>2]=N[d>>2];N[a+224>>2]=f;f=N[d+12>>2];N[a+228>>2]=N[d+8>>2];N[a+232>>2]=f;f=N[d+20>>2];N[a+236>>2]=N[d+16>>2];N[a+240>>2]=f;N[a+244>>2]=N[d+24>>2];N[a+440>>2]=N[c+148>>2];N[a+444>>2]=N[c+152>>2];d=N[c+160>>2];N[a+464>>2]=N[c+156>>2];N[a+468>>2]=d;d=N[c+168>>2];N[a+472>>2]=N[c+164>>2];N[a+476>>2]=d;d=N[c+176>>2];N[a+480>>2]=N[c+172>>2];N[a+484>>2]=d;F(a+288|0,c+180|0,68);N[a+388>>2]=N[c+248>>2];N[a+392>>2]=N[c+252>>2];M[a+488>>1]=P[c+256>>1];N[a+492>>2]=N[c+260>>2];d=N[c+268>>2];N[a+180>>2]=N[c+264>>2];N[a+184>>2]=d;d=N[c+276>>2];N[a+188>>2]=N[c+272>>2];N[a+192>>2]=d;d=N[c+284>>2];N[a+196>>2]=N[c+280>>2];N[a+200>>2]=d;d=N[c+292>>2];N[a+204>>2]=N[c+288>>2];N[a+208>>2]=d;N[a+212>>2]=N[c+296>>2];C(a+36|0,0,108);e=N[a+8>>2];a:{b:{d=P[b+284>>1]+32|0;c=N[a+20>>2];c:{if(d>>>0<=c>>>0){d=c;break c}g=d<<2;h=c<<2;d:{if(!c){e=Qa[N[e+4>>2]](e,g)|0;f=!e<<6;break d}i=N[a+24>>2];f=Qa[N[e+12>>2]](e,h,g,i)|0;e=f?f:i;f=!f<<6}e:{if(!(f|!e)){C(e+h|0,0,g-h|0);N[a+24>>2]=e;break e}N[a+24>>2]=e;if(f){break b}}e=N[a+8>>2]}N[a+20>>2]=d;b=P[b+286>>1];c=N[a+408>>2];if(b>>>0<=c>>>0){b=c;break a}d=N[a+412>>2];if((c|0)<0){N[a+412>>2]=d;N[a+408>>2]=c;return 6}f:{if(!c){e=Qa[N[e+4>>2]](e,b)|0;d=!e<<6;break f}f=Qa[N[e+12>>2]](e,c,b,d)|0;e=f?f:d;d=!f<<6}if(!(d|(b|0)<=(c|0)|!e)){C(c+e|0,0,b-c|0);N[a+412>>2]=e;break a}N[a+412>>2]=e;if(!d){break a}N[a+408>>2]=c;return d}N[a+20>>2]=c;return f}N[a+408>>2]=b;N[a+152>>2]=0;N[a+104>>2]=N[a+176>>2];b=N[a+172>>2];N[a+96>>2]=N[a+168>>2];N[a+100>>2]=b;b=N[a+164>>2];N[a+88>>2]=N[a+160>>2];N[a+92>>2]=b;b=N[a+148>>2];N[a+72>>2]=N[a+144>>2];N[a+76>>2]=b;b=N[a+156>>2];N[a+80>>2]=N[a+152>>2];N[a+84>>2]=b;N[a+140>>2]=N[a+176>>2];b=N[a+172>>2];N[a+132>>2]=N[a+168>>2];N[a+136>>2]=b;b=N[a+164>>2];N[a+124>>2]=N[a+160>>2];N[a+128>>2]=b;b=N[a+156>>2];N[a+116>>2]=N[a+152>>2];N[a+120>>2]=b;b=N[a+148>>2];N[a+108>>2]=N[a+144>>2];N[a+112>>2]=b;N[a+68>>2]=N[a+176>>2];b=N[a+172>>2];N[a+60>>2]=N[a+168>>2];N[a+64>>2]=b;b=N[a+164>>2];N[a+52>>2]=N[a+160>>2];N[a+56>>2]=b;b=N[a+156>>2];N[a+44>>2]=N[a+152>>2];N[a+48>>2]=b;b=N[a+148>>2];N[a+36>>2]=N[a+144>>2];N[a+40>>2]=b;L[a+520|0]=0;return 0}function qp(a,b,c,d){var 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,t=0,u=0,v=0;if(!(O[a+16|0]&8)){e=T(c,204)+b|0;i=N[e+204>>2];o=N[e+200>>2];e=o>>31;m=N[a>>2];g=m>>31;j=(e^o)-e|0;r=j>>>8|0;e=(g^m)-g|0;a:{if(r+e>>>0<=8190){g=T(e,j)+32768>>>16|0;break a}g=e&65535;g=T(g,j>>>16|0)+T(e>>>16|0,j)+(T(g,j&65535)+32768>>>16)|0}e=g;f=0-e|0;e=m>>31|1;g=i+((((o|0)<0?0-e|0:e)|0)<0?f:g)|0;n=N[a+4>>2];e=n>>31;e=(e^n)-e|0;b:{if(e+r>>>0<=8190){i=T(e,j)+32768>>>16|0;break b}f=e&65535;i=T(f,j>>>16|0)+T(e>>>16|0,j)+(T(f,j&65535)+32768>>>16)|0}e=i;f=0-e|0;e=n>>31|1;f=(((o|0)<0?0-e|0:e)|0)<0?f:i;c:{d:{e:{f:{g:{switch(c|0){case 1:if(O[d+121|0]){break f}break d;case 0:if(!O[d+120|0]){break d}k=O[d+122|0]!=0;break;default:break g}}N[a+12>>2]=f;break e}s=O[d+123|0];N[a+12>>2]=f;u=O[b+2492|0];i=2;e=N[b+412>>2];h:{i:{if(!e){break i}k=m+n|0;h=b+416|0;l=N[b+2488>>2];p=0-l|0;while(1){q=k-N[h+12>>2]|0;if((q|0)<(p|0)){break i}if((k|0)<=(l+N[h+8>>2]|0)){if(!u){e=0;if((q|0)>N[b+2484>>2]){break h}}t=N[h+16>>2];i=3;e=1;break h}h=h+32|0;e=e-1|0;if(e){continue}break}}e=0}k=N[b+928>>2];j:{if(!k){l=0;break j}l=0;p=N[b+2488>>2];q=0-p|0;h=((k<<5)+b|0)+932|0;while(1){v=N[h-24>>2]-m|0;if((q|0)>(v|0)){break j}if((N[h-20>>2]-p|0)>(m|0)){h=h-32|0;k=k-1|0;if(k){continue}break j}break}if(!u&N[b+2484>>2]<=(v|0)){break j}l=N[h-16>>2];e=i}k=(s|0)!=0;k:{switch(e-1|0){case 1:N[a+8>>2]=l;if(!s){break c}N[a+12>>2]=(f|0)<64?64:f+32&-64;break c;case 2:N[a+8>>2]=l;N[a+12>>2]=t-l;break c;case 0:break k;default:break e}}N[a+8>>2]=t-f;if(!s){break c}b=(f|0)<64?64:f+32&-64;N[a+12>>2]=b;N[a+8>>2]=t-b;break c}e=N[a+20>>2];if(e){if(!(O[e+16|0]&8)){qp(e,b,c,d);n=N[a+4>>2];m=N[a>>2]}l=(N[e+8>>2]-(f>>1)|0)+(N[e+12>>2]>>1)|0;g=(m-(N[e>>2]+(N[e+4>>2]>>1)|0)|0)+(n>>1)|0;e=g>>31;e=(e^g)-e|0;l:{if(e+r>>>0<=8190){i=T(e,j)+32768>>>16|0;break l}h=e&65535;i=T(h,j>>>16|0)+T(e>>>16|0,j)+(T(h,j&65535)+32768>>>16)|0}e=i;h=0-e|0;e=g>>31|1;g=l+((((o|0)<0?0-e|0:e)|0)<0?h:i)|0}m:{if(!O[d+124|0]){break m}if((f|0)<=64){if((f|0)>=32){g=(f>>>1|0)+g&-64;f=64;break m}b=g+32&-64;if((f|0)<=0){g=b;break m}e=b-g|0;c=e>>31;d=f+g|0;g=d+32&-64;i=g-d|0;d=i>>31;g=(c^e)-c>>>0>(d^i)-d>>>0?g:b;break m}b=N[(T(c,204)+b|0)+12>>2];d=f-b|0;c=d>>31;f=(c^d)-c>>>0<40?(b|0)<=48?48:b:f;if(f>>>0<=191){b=f&63;if(b>>>0<10){break m}c=f&-64;if(b>>>0<=31){f=c|10;break m}f=b>>>0<54?c|54:f;break m}f=f+32&-64}N[a+12>>2]=f;b=(g+32&-64)-g|0;c=b>>31;d=f+g|0;d=(d+32&-64)-d|0;e=d>>31;c=((b^c)-c>>>0>(d^e)-e>>>0?d:b)+g|0;N[a+8>>2]=c;if(!k){break c}d=(f|0)<64?64:f+32&-64;b=d>>1;N[a+12>>2]=d;N[a+8>>2]=(d&64?b+c&-64|32:(b+c|0)+32&-64)-b;break c}N[a+12>>2]=f;N[a+8>>2]=g}N[a+16>>2]=N[a+16>>2]|8}}function ye(a,b,c,d){var 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,t=0;e=La-288|0;La=e;a:{if(O[a+52|0]){L[a+52|0]=0;N[a+56>>2]=0;N[a+60>>2]=0;d=N[c+12>>2];N[a+88>>2]=N[c+8>>2];N[a+92>>2]=d;d=N[c+4>>2];N[a+80>>2]=N[c>>2];N[a+84>>2]=d;d=N[c+4>>2];N[a+64>>2]=N[c>>2];N[a+68>>2]=d;d=N[c+12>>2];N[a+72>>2]=N[c+8>>2];N[a+76>>2]=d;c=N[b+4>>2];N[a+96>>2]=N[b>>2];N[a+100>>2]=c;f=1;break a}k=S[a+80>>3];o=S[c>>3];l=S[a+88>>3];p=S[c+8>>3];m=k*o+l*p;if(m>S[a+112>>3]){m=1/(m+1);S[a+88>>3]=m*(l+p);S[a+80>>3]=(k+o)*m;f=1;break a}g=N[c+4>>2];N[a+80>>2]=N[c>>2];N[a+84>>2]=g;g=N[c+12>>2];N[a+88>>2]=N[c+8>>2];N[a+92>>2]=g;h=k*p-o*l;n=h<0?1:2;b:{if(!(n&d)){break b}q=n&(N[a+60>>2]^-1);r=N[b+4>>2];j=l*S[a+24>>3];c:{if(V(j)<2147483648){g=~~j;break c}g=-2147483648}f=q&1;j=k*S[a+16>>3];d:{if(V(j)<2147483648){i=~~j;break d}i=-2147483648}s=N[b>>2];if(f){N[e+164>>2]=g+r;N[e+160>>2]=i+s;t=N[a>>2];f=N[e+164>>2];N[e+112>>2]=N[e+160>>2];N[e+116>>2]=f;f=0;if(!Fb(t,e+112|0,1)){break a}}if(q>>>0>=2){N[e+164>>2]=r-g;N[e+160>>2]=s-i;g=N[a+4>>2];i=N[e+164>>2];N[e+104>>2]=N[e+160>>2];N[e+108>>2]=i;f=0;if(!Fb(g,e+104|0,1)){break a}}j=S[a+24>>3]*0;e:{if(V(j)<2147483648){g=~~j;break e}g=-2147483648}f=n&1;j=S[a+16>>3]*0;f:{if(V(j)<2147483648){i=~~j;break f}i=-2147483648}if(f){N[e+164>>2]=g+r;N[e+160>>2]=i+s;q=N[a>>2];f=N[e+164>>2];N[e+96>>2]=N[e+160>>2];N[e+100>>2]=f;f=0;if(!Fb(q,e+96|0,1)){break a}}if(h<0){break b}N[e+164>>2]=r-g;N[e+160>>2]=s-i;g=N[a+4>>2];i=N[e+164>>2];N[e+88>>2]=N[e+160>>2];N[e+92>>2]=i;f=0;if(!Fb(g,e+88|0,1)){break a}}N[a+60>>2]=n;d=(n^-1)&d;f=1;if(!d){break a}S[e+136>>3]=l;S[e+128>>3]=k;g=N[b+4>>2];N[e+120>>2]=N[b>>2];N[e+124>>2]=g;h=m;if(h<0){h=(d&2?-.7071067811865476:.7071067811865476)/aa(1-m);S[e+152>>3]=h*(k-o);S[e+144>>3]=h*(p-l);h=m*.5+.5;h=aa(h<0?0:h)}k=S[a+120>>3];g:{if(!(k>h)){b=15;break g}b=15;while(1){h=h+1;l=.7071067811865476/aa(h);S[(e+160|0)+(b<<3)>>3]=l;b=b-1|0;h=h*l;if(!(k>h)){break g}if(b){continue}break}}g=(e+160|0)+(b<<3)|0;S[g>>3]=1/(h+1);i=15-b|0;b=e+128|0;if(m<0){b=N[e+140>>2];N[e+72>>2]=N[e+136>>2];N[e+76>>2]=b;b=N[e+156>>2];N[e+56>>2]=N[e+152>>2];N[e+60>>2]=b;b=N[e+124>>2];N[e+80>>2]=N[e+120>>2];N[e+84>>2]=b;b=N[e+132>>2];N[e+64>>2]=N[e+128>>2];N[e+68>>2]=b;b=N[e+148>>2];N[e+48>>2]=N[e+144>>2];N[e+52>>2]=b;b=e+144|0;f=0;if(!Bd(a,e+80|0,e- -64|0,e+48|0,g,i,d)){break a}}f=N[e+124>>2];N[e+40>>2]=N[e+120>>2];N[e+44>>2]=f;f=N[b+12>>2];N[e+32>>2]=N[b+8>>2];N[e+36>>2]=f;f=N[b+4>>2];N[e+24>>2]=N[b>>2];N[e+28>>2]=f;b=N[c+12>>2];N[e+16>>2]=N[c+8>>2];N[e+20>>2]=b;b=N[c+4>>2];N[e+8>>2]=N[c>>2];N[e+12>>2]=b;f=Bd(a,e+40|0,e+24|0,e+8|0,g,i,d)}La=e+288|0;return f}function ub(a,b){var 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;c=O[b|0];if(!c){return a}a=lc(a,c<<24>>24);a:{if(!a){break a}f=O[b+1|0];if(!f){return a}if(!O[a+1|0]){break a}if(!O[b+2|0]){b=O[a+1|0];e=(b|0)!=0;b:{if(!b){break b}d=b|O[a|0]<<8;f=c<<8|f;if((d|0)==(f|0)){break b}b=a+1|0;while(1){a=b;c=O[b+1|0];e=(c|0)!=0;if(!c){break b}b=a+1|0;d=c|d<<8&65280;if((f|0)!=(d|0)){continue}break}}return e?a:0}if(!O[a+2|0]){break a}if(!O[b+3|0]){c=a;a=a+2|0;d=O[c+2|0];e=(d|0)!=0;c:{d:{if(!d){break d}c=O[c+1|0]<<16|O[c|0]<<24|d<<8;f=O[b+1|0]<<16|O[b|0]<<24|O[b+2|0]<<8;if((c|0)==(f|0)){break d}while(1){b=a+1|0;d=O[a+1|0];e=(d|0)!=0;if(!d){break c}a=b;c=(c|d)<<8;if((f|0)!=(c|0)){continue}break}break c}b=a}return e?b-2|0:0}if(!O[a+3|0]){break a}if(!O[b+4|0]){c=a;a=a+3|0;d=O[c+3|0];e=(d|0)!=0;e:{f:{if(!d){break f}d=d|(O[c+1|0]<<16|O[c|0]<<24|O[c+2|0]<<8);b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((d|0)==(f|0)){break f}while(1){b=a+1|0;c=O[a+1|0];e=(c|0)!=0;if(!c){break e}a=b;d=c|d<<8;if((f|0)!=(d|0)){continue}break}break e}b=a}return e?b-3|0:0}d=a;c=0;i=La-1056|0;La=i;a=i+1048|0;N[a>>2]=0;N[a+4>>2]=0;a=i+1040|0;N[a>>2]=0;N[a+4>>2]=0;N[i+1032>>2]=0;N[i+1036>>2]=0;N[i+1024>>2]=0;N[i+1028>>2]=0;k=b;g:{h:{i:{j:{b=O[b|0];k:{if(!b){j=-1;a=1;break k}while(1){if(!O[d+g|0]){break h}g=g+1|0;N[((b&255)<<2)+i>>2]=g;a=(i+1024|0)+(b>>>3&28)|0;N[a>>2]=N[a>>2]|1<>>0>1){break j}}e=-1;h=1;break i}f=1;b=1;while(1){e=O[k+(b+j|0)|0];h=O[a+k|0];l:{if((e|0)==(h|0)){if((b|0)==(f|0)){c=c+f|0;b=1;break l}b=b+1|0;break l}if(e>>>0>h>>>0){f=a-j|0;c=a;b=1;break l}j=c;c=c+1|0;f=1;b=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}e=-1;c=0;a=1;h=1;b=1;while(1){m=O[k+(b+e|0)|0];l=O[a+k|0];m:{if((m|0)==(l|0)){if((b|0)==(h|0)){c=c+h|0;b=1;break m}b=b+1|0;break m}if(l>>>0>m>>>0){h=a-e|0;c=a;b=1;break m}e=c;c=c+1|0;h=1;b=1}a=b+c|0;if(g>>>0>a>>>0){continue}break}a=f}b=a;a=e+1>>>0>j+1>>>0;h=a?h:b;l=a?e:j;m=l+1|0;n:{if(Mb(k,k+h|0,m)){a=(l^-1)+g|0;h=(a>>>0>>0?l:a)+1|0;f=0;break n}f=g-h|0}o=g-1|0;n=g|63;e=0;a=d;while(1){o:{if(d-a>>>0>=g>>>0){break o}b=qe(d,0,n);if(b){d=b;if(b-a>>>0>>0){break h}break o}d=d+n|0}c=O[a+o|0];b=g;p:{q:{if(!(N[(i+1024|0)+(c>>>3&28)>>2]>>>c&1)){break q}b=N[(c<<2)+i>>2];if((b|0)!=(g|0)){b=g-b|0;b=b>>>0>e>>>0?b:e;break q}r:{b=m;c=b>>>0>e>>>0?b:e;j=O[k+c|0];if(j){while(1){if(O[a+c|0]!=(j&255)){break r}c=c+1|0;j=O[k+c|0];if(j){continue}break}}while(1){if(b>>>0<=e>>>0){break g}b=b-1|0;if(O[k+b|0]==O[a+b|0]){continue}break}b=h;e=f;break p}b=c-l|0}e=0}a=a+b|0;continue}}a=0}La=i+1056|0;e=a}return e}function oE(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0;e=La-48|0;La=e;if(ib(c,b,11986,0)){r=xf(b,c,1,11,-1,-1);p=N[c+68>>2];if(p){j=p-1|0;l=N[c+80>>2];g=l+3|0;h=O[l+15|0];k=h;while(1){a:{if((d|0)==(j|0)){d=p;break a}d=d+1|0;if((k|0)==O[(g+T(d,20)|0)+12|0]){continue}}break}k=0;s=a;a=p;while(1){j=d;b:{if(h&14){break b}g=k+1|0;if(j>>>0<=g>>>0){break b}m=N[s+112>>2];h=N[m+8>>2]|N[m+4>>2]|N[m+12>>2];a=0;d=g;i=j+(k^-1)&3;if(i){while(1){n=T(d,20)+l|0;N[n+4>>2]=h|N[n+4>>2];d=d+1|0;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if((j-k|0)-2>>>0>2){while(1){a=T(d,20)+l|0;N[a+4>>2]=h|N[a+4>>2];N[a+24>>2]=h|N[a+24>>2];N[a+44>>2]=h|N[a+44>>2];a=a- -64|0;N[a>>2]=h|N[a>>2];d=d+4|0;if((j|0)!=(d|0)){continue}break}}t=j-3|0;u=j+2|0;q=l+2|0;n=T(g,20)+l|0;i=T(k,20)+l|0;v=i+40|0;d=0;while(1){h=g;g=T(h,20);a=g+l|0;f=O[(g+q|0)+16|0];c:{if(!((f|0)!=4|d>>>0>2)){g=h+1|0;if(j>>>0<=g>>>0){break c}f=T(g,20);if(O[(f+q|0)+16|0]!=15){d=d+1|0;break c}N[a+4>>2]=N[a+4>>2]|N[m>>2];f=f+l|0;N[f+4>>2]=N[f+4>>2]|N[m>>2];d=h+2|0;if(d-k>>>0>=2){Ib(c,k,d)}N[e+40>>2]=N[a+16>>2];o=N[a+12>>2];N[e+32>>2]=N[a+8>>2];N[e+36>>2]=o;o=N[a+4>>2];N[e+24>>2]=N[a>>2];N[e+28>>2]=o;N[e+16>>2]=N[f+16>>2];a=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=a;a=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=a;F(v,i,T(h-k|0,20));N[i+16>>2]=N[e+40>>2];a=N[e+36>>2];N[i+8>>2]=N[e+32>>2];N[i+12>>2]=a;a=N[e+28>>2];N[i>>2]=N[e+24>>2];N[i+4>>2]=a;N[n+16>>2]=N[e+16>>2];a=N[e+12>>2];N[n+8>>2]=N[e+8>>2];N[n+12>>2]=a;a=N[e+4>>2];N[n>>2]=N[e>>2];N[n+4>>2]=a;d:{if(!N[m+16>>2]|d>>>0>=j>>>0){break d}a=0;f=u-h&3;if(f){while(1){o=T(d,20)+l|0;N[o+4>>2]=N[o+4>>2]|N[m+16>>2];d=d+1|0;a=a+1|0;if((f|0)!=(a|0)){continue}break}}if(t-h>>>0<3){break d}while(1){a=T(d,20)+l|0;N[a+4>>2]=N[a+4>>2]|N[m+16>>2];N[a+24>>2]=N[a+24>>2]|N[m+16>>2];N[a+44>>2]=N[a+44>>2]|N[m+16>>2];a=a- -64|0;N[a>>2]=N[a>>2]|N[m+16>>2];d=d+4|0;if((j|0)!=(d|0)){continue}break}}d=2;break c}g=h+1|0;if((f|0)!=22){break c}if(g-k>>>0>=2){Ib(c,k,g)}N[e+40>>2]=N[a+16>>2];f=N[a+12>>2];N[e+32>>2]=N[a+8>>2];N[e+36>>2]=f;f=N[a+4>>2];N[e+24>>2]=N[a>>2];N[e+28>>2]=f;F(n,i,T(h-k|0,20));N[i+16>>2]=N[e+40>>2];a=N[e+36>>2];N[i+8>>2]=N[e+32>>2];N[i+12>>2]=a;a=N[e+28>>2];N[i>>2]=N[e+24>>2];N[i+4>>2]=a}if((j|0)!=(g|0)){continue}break}l=N[c+80>>2];a=N[c+68>>2]}d=j+1|0;g=a>>>0>d>>>0?a:d;k=g-1|0;i=l+3|0;h=O[(T(j,20)+l|0)+15|0];d=j;while(1){e:{if((d|0)==(k|0)){d=g;break e}d=d+1|0;if(O[(i+T(d,20)|0)+12|0]==(h|0)){continue}}break}k=j;if(j>>>0

>>0){continue}break}}ib(c,b,12009,0)}a=O[c+140|0];if(a&64){L[c+140|0]=a&191;La=e+48|0;return r|0}ba(22742,14165,187,12136);B()}function gf(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=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,N=0,O=0,Q=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;h=La-48|0;l=f<<1;o=l+c|0;a:{if(!o){break a}if(!d){while(1){g=g+8|0;if(o>>>0>g>>>0){continue}break a}}p=T(c+7&-8,d);g=l+7|0;c=g>>>3|0;Z=1-c|0;q=d<<3;r=0-c|0;_=T(q,r);$=g&8;aa=0-f|0;i=h+32|0;l=i+(r<<4)|0;I=i-(f<<1)|0;s=7-f|0;J=(s<<1)+i|0;t=6-f|0;K=(t<<1)+i|0;u=5-f|0;L=(u<<1)+i|0;v=4-f|0;N=(v<<1)+i|0;w=3-f|0;O=(w<<1)+i|0;x=2-f|0;Q=(x<<1)+i|0;y=1-f|0;R=(y<<1)+i|0;while(1){z=0;while(1){g=r;if(!$){c=n+_|0;h=c>>>0>=p>>>0?440592:(c<<1)+b|0;g=P[h+4>>1]|P[h+6>>1]<<16;c=P[h>>1]|P[h+2>>1]<<16;M[l>>1]=c;M[l+2>>1]=c>>>16;M[l+4>>1]=g;M[l+6>>1]=g>>>16;g=P[h+12>>1]|P[h+14>>1]<<16;c=P[h+8>>1]|P[h+10>>1]<<16;M[l+8>>1]=c;M[l+10>>1]=c>>>16;M[l+12>>1]=g;M[l+14>>1]=g>>>16;g=Z}while(1){h=T(g,q)+n|0;j=h>>>0>=p>>>0?440592:(h<<1)+b|0;k=P[j+4>>1]|P[j+6>>1]<<16;c=(g<<4)+i|0;h=P[j>>1]|P[j+2>>1]<<16;M[c>>1]=h;M[c+2>>1]=h>>>16;M[c+4>>1]=k;M[c+6>>1]=k>>>16;k=P[j+12>>1]|P[j+14>>1]<<16;h=P[j+8>>1]|P[j+10>>1]<<16;M[c+8>>1]=h;M[c+10>>1]=h>>>16;M[c+12>>1]=k;M[c+14>>1]=k>>>16;k=g+1|0;m=(k<<4)+i|0;c=T(k,q)+n|0;j=c>>>0>=p>>>0?440592:(c<<1)+b|0;h=P[j+12>>1]|P[j+14>>1]<<16;c=P[j+8>>1]|P[j+10>>1]<<16;M[m+8>>1]=c;M[m+10>>1]=c>>>16;M[m+12>>1]=h;M[m+14>>1]=h>>>16;h=P[j+4>>1]|P[j+6>>1]<<16;c=P[j>>1]|P[j+2>>1]<<16;M[m>>1]=c;M[m+2>>1]=c>>>16;M[m+4>>1]=h;M[m+6>>1]=h>>>16;g=g+2|0;if(k){continue}break}S=P[J>>1];U=P[K>>1];V=P[L>>1];W=P[N>>1];X=P[O>>1];m=P[Q>>1];j=P[R>>1];k=P[I>>1];A=32768;B=32768;C=32768;D=32768;E=32768;F=32768;G=32768;H=32768;g=f;while(1){c=g-1|0;h=M[(c<<1)+e>>1];A=T(h,(P[(g+s<<1)+i>>1]-S<<16>>16)+(P[(s-g<<1)+i>>1]-S<<16>>16)|0)+A|0;B=T(h,(P[(g+t<<1)+i>>1]-U<<16>>16)+(P[(t-g<<1)+i>>1]-U<<16>>16)|0)+B|0;C=T(h,(P[(g+u<<1)+i>>1]-V<<16>>16)+(P[(u-g<<1)+i>>1]-V<<16>>16)|0)+C|0;D=T(h,(P[(g+v<<1)+i>>1]-W<<16>>16)+(P[(v-g<<1)+i>>1]-W<<16>>16)|0)+D|0;E=T(h,(P[(g+w<<1)+i>>1]-X<<16>>16)+(P[(w-g<<1)+i>>1]-X<<16>>16)|0)+E|0;F=T(h,(P[(g+x<<1)+i>>1]-m<<16>>16)+(P[(x-g<<1)+i>>1]-m<<16>>16)|0)+F|0;G=T(h,(P[(g+y<<1)+i>>1]-j<<16>>16)+(P[(y-g<<1)+i>>1]-j<<16>>16)|0)+G|0;H=T(h,(P[(g-f<<1)+i>>1]-k<<16>>16)+(P[(aa-g<<1)+i>>1]-k<<16>>16)|0)+H|0;h=(g|0)>1;g=c;if(h){continue}break}M[a>>1]=P[I>>1]+(H>>>16|0);M[a+2>>1]=P[R>>1]+(G>>>16|0);M[a+4>>1]=P[Q>>1]+(F>>>16|0);M[a+6>>1]=P[O>>1]+(E>>>16|0);M[a+8>>1]=P[N>>1]+(D>>>16|0);M[a+10>>1]=P[L>>1]+(C>>>16|0);M[a+12>>1]=P[K>>1]+(B>>>16|0);M[a+14>>1]=P[J>>1]+(A>>>16|0);n=n+8|0;a=a+16|0;z=z+1|0;if((z|0)!=(d|0)){continue}break}Y=Y+8|0;if(Y>>>0>>0){continue}break}}}function Kv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0,w=0;e=La-1536|0;La=e;g=6;j=N[a+4>>2];a:{if(Q[j+16>>2]<=c>>>0){break a}h=N[j+136>>2];N[a+164>>2]=N[b+16>>2];N[a+168>>2]=N[b+20>>2];p=d&1024?d|3:d;n=p&1;L[a+161|0]=!n;d=!(p&3);L[a+160|0]=d;N[a+108>>2]=0;N[a+72>>2]=1869968492;g=Qa[N[N[h+12>>2]>>2]](e+20|0,j,b,a,0,0,d,p>>>16&15,155)|0;if(g){break a}f=p&1024;L[e+89|0]=f>>>10;g=um(e+20|0,c);if(!g){k=O[a+161|0];g=O[a+160|0];d=e+1408|0;c=N[d+4>>2];N[e+8>>2]=N[d>>2];N[e+12>>2]=c;c=N[e+1404>>2];N[e>>2]=N[e+1400>>2];N[e+4>>2]=c;o=N[e+1420>>2];l=N[e+1416>>2];Qa[N[N[h+12>>2]+4>>2]](e+20|0);h=N[a+124>>2]&1;N[a+124>>2]=h|4;if(f){b=N[e+52>>2];N[a+32>>2]=((b>>31)+b|0)+32768>>16;b=N[e+60>>2];N[a+40>>2]=((b>>31)+b|0)+32768>>16;h=N[e+8>>2];d=N[e+12>>2];c=N[e>>2];b=N[e+4>>2];a=N[a+156>>2];N[a+28>>2]=l;N[a+32>>2]=o;L[a+8|0]=1;N[a+20>>2]=h;N[a+24>>2]=d;N[a+12>>2]=c;N[a+16>>2]=b;g=0;break a}c=N[e+60>>2];f=((c>>31)+c|0)+32768>>16;N[a+56>>2]=f;N[a+40>>2]=f;L[N[a+156>>2]+8|0]=0;d=N[j+200>>2];c=N[j+208>>2];N[a+72>>2]=1869968492;m=c-d>>16;N[a+60>>2]=m;N[a+52>>2]=m;if(P[b+14>>1]<=23){N[a+124>>2]=h|260}b=a+108|0;b:{if(!(N[e+4>>2]|(N[e>>2]!=65536|N[e+12>>2]!=65536))){if(!N[e+8>>2]){break b}}lg(b,e);f=ob(N[a+40>>2],N[e>>2]);N[a+40>>2]=f;m=ob(N[a+52>>2],N[e+12>>2]);N[a+52>>2]=m}if(l|o){te(b,l,o);f=l+N[a+40>>2]|0;N[a+40>>2]=f;m=o+N[a+52>>2]|0;N[a+52>>2]=m}if(!(k?0:n)){s=N[a+168>>2];t=N[a+164>>2];c:{if(N[e+92>>2]?g:0){break c}g=N[e+36>>2];b=M[g+2>>1];if((b|0)<=0){break c}b=b&65535;c=s>>31;q=(c^s)-c|0;o=q&65535;l=q>>>16|0;n=q>>>8|0;c=t>>31;r=(c^t)-c|0;k=r&65535;h=r>>>16|0;d=r>>>8|0;g=N[g+4>>2];while(1){j=N[g>>2];c=j>>31;i=(c^j)-c|0;d:{if(i+d>>>0<=8190){i=T(i,r)+32768>>>16|0;break d}c=i&65535;i=T(c,h)+T(r,i>>>16|0)+(T(c,k)+32768>>>16)|0}c=i;u=0-c|0;c=j>>31|1;N[g>>2]=(((t|0)<0?0-c|0:c)|0)<0?u:i;j=N[g+4>>2];c=j>>31;i=(c^j)-c|0;e:{if(i+n>>>0<=8190){i=T(i,q)+32768>>>16|0;break e}c=i&65535;i=T(c,l)+T(q,i>>>16|0)+(T(c,o)+32768>>>16)|0}c=i;u=0-c|0;c=j>>31|1;N[g+4>>2]=(((s|0)<0?0-c|0:c)|0)<0?u:i;g=g+8|0;c=b>>>0>1;b=b-1|0;if(c){continue}break}}v=a,w=ob(f,t),N[v+40>>2]=w;m=ob(m,s);N[a+52>>2]=m}g=0;d=0;h=0;b=0;c=0;k=M[a+110>>1];f:{if(!k){break f}f=N[a+112>>2];b=N[f+4>>2];c=N[f>>2];if((k|0)<2){d=b;h=c;break f}n=(k<<3)+f|0;k=f+8|0;h=c;d=b;while(1){l=N[f+12>>2];d=(d|0)<(l|0)?l:d;b=(b|0)>(l|0)?l:b;f=N[f+8>>2];h=(f|0)>(h|0)?f:h;c=(c|0)>(f|0)?f:c;f=k;k=f+8|0;if(n>>>0>k>>>0){continue}break}}N[a+36>>2]=d;N[a+32>>2]=c;N[a+28>>2]=d-b;N[a+24>>2]=h-c;if(!(p&16)){break a}tn(a+24|0,m);break a}Qa[N[N[h+12>>2]+4>>2]](e+20|0)}La=e+1536|0;return g|0}function Wu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[a+492>>2];h=N[b+8>>2];Qa[N[b+28>>2]](b);d=N[b>>2];if(h>>>0<=d>>>0){N[b+12>>2]=3;return}a:{b:{c:{j=O[d|0];if(!((j|0)!=91&j-48>>>0>9)){e=N[b+16>>2];if((j|0)==91){N[b>>2]=d+1;f=256;break c}f=Qa[N[b+36>>2]](b)|0;if((f|0)<257){break c}N[b+12>>2]=3;return}d:{if(d+17>>>0>=h>>>0){break d}if(bb(d,14716,16)){break d}N[a+368>>2]=2;return}e:{if(d+15>>>0>=h>>>0){break e}if(bb(d,14701,14)){break e}N[a+368>>2]=4;return}f:{if(d+18>>>0>=h>>>0){break f}if(bb(d,14733,17)){break f}N[a+368>>2]=3;return}N[b+12>>2]=162;break b}Qa[N[b+28>>2]](b);if(Q[b>>2]>=h>>>0){break b}i=b+92|0;g=a;a=a+384|0;c=N[a>>2];g:{if(!c){break g}Qa[N[e+8>>2]](e,c);N[g+384>>2]=0;c=N[g+388>>2];if(c){Qa[N[e+8>>2]](e,c)}N[g+388>>2]=0;c=N[b+140>>2];if(!c){break g}Qa[c|0](i)}N[g+372>>2]=f;N[b+88>>2]=f;if((f|0)<0){N[g+384>>2]=0;N[b+12>>2]=6;return}h:{i:{j:{k:{l:{m:{n:{if(f){if((f|0)>1073741823){break l}c=f<<1;a=Qa[N[e+4>>2]](e,c)|0;if(a?(f|0)>0:0){break n}N[g+384>>2]=a;if(a){break m}N[b+12>>2]=!a<<6;return}c=0;N[g+384>>2]=0;break j}C(a,0,c);N[g+384>>2]=a}if((f|0)<536870912){break k}a=g+388|0}N[a>>2]=0;N[b+12>>2]=10;return}a=f<<2;c=Qa[N[e+4>>2]](e,a)|0;if(!c|(f|0)<=0){break i}C(c,0,a)}N[g+388>>2]=c;break h}N[g+388>>2]=c;if(c){break h}a=!c<<6;break a}a=Qa[N[N[k>>2]>>2]](i,f,e)|0;if(a){break a}o:{if((f|0)<=0){break o}e=0;a=0;if(f>>>0>=4){c=f&-4;while(1){Qa[N[b+136>>2]](i,a,15265,8)|0;Qa[N[b+136>>2]](i,a|1,15265,8)|0;Qa[N[b+136>>2]](i,a|2,15265,8)|0;Qa[N[b+136>>2]](i,a|3,15265,8)|0;a=a+4|0;if((c|0)!=(a|0)){continue}break}}c=f&3;if(!c){break o}while(1){Qa[N[b+136>>2]](i,a,15265,8)|0;a=a+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}Qa[N[b+28>>2]](b);a=N[b>>2];p:{if(h>>>0<=a>>>0){break p}k=(j|0)==91;c=0;while(1){q:{r:{s:{e=O[a|0];switch(e-93|0){case 0:break r;case 7:break s;default:break q}}d=a+3|0;if(O[a+1|0]!=101|h>>>0<=d>>>0|O[a+2|0]!=102){break q}switch(O[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break p;default:break q}}d=a+1|0;break p}t:{u:{if(!(!k&e-48>>>0>9)){if(k){d=a;e=c;break u}e=Qa[N[b+36>>2]](b)|0;Qa[N[b+28>>2]](b);d=N[b>>2];if((d|0)!=(a|0)){break u}N[b+12>>2]=2;return}Qa[N[b+32>>2]](b);d=a;if(N[b+12>>2]){break b}break t}if(!(O[d|0]!=47|d+2>>>0>=h>>>0|(c|0)>=(f|0))){d=d+1|0;N[b>>2]=d;Qa[N[b+32>>2]](b);a=N[b>>2];if(N[b+12>>2]|a>>>0>=h>>>0){break b}a=a-d|0;l=Qa[N[b+136>>2]](i,e,d,a+1|0)|0;N[b+12>>2]=l;if(l){break b}L[a+N[N[b+116>>2]+(e<<2)>>2]|0]=0;c=c+1|0;break t}if((j|0)!=91){break t}N[b+12>>2]=2;return}Qa[N[b+28>>2]](b);a=N[b>>2];if(h>>>0>a>>>0){continue}break}}N[g+368>>2]=1;N[b>>2]=d;return}return}N[b+12>>2]=a}function ot(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-16|0;La=g;N[a+788>>2]=0;N[a+792>>2]=0;j=a+796|0;c=j;N[c>>2]=0;N[c+4>>2]=0;k=a+788|0;a:{b:{c:{d:{if(!(Qa[N[a+516>>2]](a,1128418371,b,g+12|0)|0)){d=2;break d}d=1;if(!(Qa[N[a+516>>2]](a,1161972803,b,g+12|0)|0)){break d}if(!(Qa[N[a+516>>2]](a,1651273571,b,g+12|0)|0)){break d}d=Qa[N[a+516>>2]](a,1935829368,b,g+12|0)|0;if(d){break c}d=3}N[j>>2]=d;c=N[g+12>>2];if(c>>>0<8){d=3;break c}l=a+800|0;i=N[b+8>>2];e:{f:{g:{h:{switch(d-1|0){case 0:case 1:d=fc(b,c,k);if(d){break c}f=N[g+12>>2];N[a+792>>2]=f;c=N[a+788>>2];e=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);i:{if((O[c+1|0]<<16|O[c|0]<<24|65536)==196608){break i}c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8|256)&65535)==768){break i}d=2;break c}d=3;c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(c>>>0>65535){break c}if(f>>>0>=(T(c,48)|8)>>>0){break g}c=(f-8>>>0)/48|0;break g;case 2:break h;default:break f}}c=N[b+4>>2];j:{if(N[b+20>>2]){d=85;if(c>>>0<8){break c}c=N[b+28>>2];d=Qa[N[c+4>>2]](c,8)|0;if(!d){break e}N[b>>2]=d;h=Qa[N[b+20>>2]](b,N[b+8>>2],d,8)|0;e=N[b>>2];if(h>>>0>7){d=0}else{if(e){Qa[N[c+8>>2]](c,e)}e=0;N[b>>2]=0;d=85}N[b+32>>2]=e;f=e?e+8|0:0;N[b+36>>2]=f;N[b+8>>2]=h+N[b+8>>2];c=e;if(h>>>0>=8){break j}break c}d=85;if(c-i>>>0<8|c>>>0<=i>>>0){break c}N[b+8>>2]=i+8;e=N[b>>2];c=i+e|0;N[b+32>>2]=c;f=c+8|0;N[b+36>>2]=f}k:{if(c+1>>>0>=f>>>0){d=0;break k}d=O[c|0]|O[c+1|0]<<8;d=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;if(c+1>>>0>>0){m=O[c+1|0]&253|O[c|0]<<8;c=c+2|0}N[b+32>>2]=c;h=0;if(c+3>>>0>>0){f=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c=c+4|0}N[b+32>>2]=c;if(N[b+20>>2]){if(e){c=N[b+28>>2];Qa[N[c+8>>2]](c,e)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!(d&65535)){d=2;break c}d=3;if((m|0)!=1|h>>>0>65535){break c}c=N[b+8>>2]-8|0;e=N[g+12>>2];f=N[b+20>>2];l:{if(f){d=85;if(!(Qa[f|0](b,c,0,0)|0)){break l}break c}d=85;if(c>>>0>Q[b+4>>2]){break c}}N[b+8>>2]=c;c=e>>>0<(h<<2)+8>>>0?e-8>>>2|0:h;d=(c<<2)+8|0;N[a+792>>2]=d;d=fc(b,d,k);if(d){break c}}N[a+800>>2]=c;d=N[j>>2]}N[a+860>>2]=0;N[a+864>>2]=0;m:{n:{o:{switch(d|0){case 3:N[a+860>>2]=i;b=N[g+12>>2];break n;case 0:break b;default:break o}}p:{if(!(Qa[N[a+516>>2]](a,1128416340,b,g+8|0)|0)){break p}if(!(Qa[N[a+516>>2]](a,1161970772,b,g+8|0)|0)){break p}if(!(Qa[N[a+516>>2]](a,1650745716,b,g+8|0)|0)){break p}b=N[a+864>>2];break m}N[a+860>>2]=N[b+8>>2];b=N[g+8>>2]}N[a+864>>2]=b}d=0;if(!b){break b}break a}N[b>>2]=0;d=64}c=N[k>>2];if(c){if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,c)}N[k>>2]=0}N[a+792>>2]=0;l=j}N[l>>2]=0}La=g+16|0;return d|0}function gx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+492>>2];h=N[b+8>>2];Qa[N[b+28>>2]](b);d=N[b>>2];if(h>>>0<=d>>>0){N[b+12>>2]=3;return}a:{b:{c:{l=O[d|0];if(!((l|0)!=91&l-48>>>0>9)){f=N[b+16>>2];d:{if((l|0)==91){N[b>>2]=d+1;c=256;break d}c=Qa[N[b+36>>2]](b)|0}k=c;Qa[N[b+28>>2]](b);if(Q[b>>2]>=h>>>0){break b}j=b+100|0;i=(k|0)>=256?256:k;c=N[a+384>>2];e:{if(!c){break e}Qa[N[f+8>>2]](f,c);N[a+384>>2]=0;c=N[a+388>>2];if(c){Qa[N[f+8>>2]](f,c)}N[a+388>>2]=0;c=N[b+148>>2];if(!c){break e}Qa[c|0](j)}N[a+372>>2]=i;N[b+96>>2]=i;if((i|0)<0){N[a+384>>2]=0;N[b+12>>2]=6;return}f:{g:{h:{i:{if(i){c=i<<1;e=Qa[N[f+4>>2]](f,c)|0;if(e?(k|0)>0:0){break i}N[a+384>>2]=e;if(e){break h}N[b+12>>2]=!e<<6;return}N[a+384>>2]=0;break g}C(e,0,c);N[a+384>>2]=e}c=i<<2;e=Qa[N[f+4>>2]](f,c)|0;if(!e|(k|0)<=0){break f}C(e,0,c)}N[a+388>>2]=e;break c}N[a+388>>2]=e;if(e){break c}c=!e<<6;break a}j:{if(d+17>>>0>=h>>>0){break j}if(bb(d,14716,16)){break j}N[a+368>>2]=2;return}k:{if(d+15>>>0>=h>>>0){break k}if(bb(d,14701,14)){break k}N[a+368>>2]=4;return}l:{if(d+18>>>0>=h>>>0){break l}if(bb(d,14733,17)){break l}N[a+368>>2]=3;return}N[b+12>>2]=162;break b}c=Qa[N[N[g>>2]>>2]](j,i,f)|0;if(c){break a}m:{if((k|0)<=0){break m}g=(i|0)<=1?1:i;f=g&3;e=0;c=0;if(g>>>0>=4){g=g&2147483644;while(1){Qa[N[b+144>>2]](j,c,15265,8)|0;Qa[N[b+144>>2]](j,c|1,15265,8)|0;Qa[N[b+144>>2]](j,c|2,15265,8)|0;Qa[N[b+144>>2]](j,c|3,15265,8)|0;c=c+4|0;if((g|0)!=(c|0)){continue}break}}if(!f){break m}while(1){Qa[N[b+144>>2]](j,c,15265,8)|0;c=c+1|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}Qa[N[b+28>>2]](b);c=N[b>>2];n:{if(h>>>0<=c>>>0){break n}m=(l|0)==91;g=0;while(1){o:{p:{q:{e=O[c|0];switch(e-93|0){case 0:break p;case 7:break q;default:break o}}d=c+3|0;if(O[c+1|0]!=101|h>>>0<=d>>>0|O[c+2|0]!=102){break o}switch(O[c+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break n;default:break o}}d=c+1|0;break n}r:{s:{if(!(!m&e-48>>>0>9)){if(m){d=c;e=g;break s}e=Qa[N[b+36>>2]](b)|0;Qa[N[b+28>>2]](b);d=N[b>>2];if((d|0)!=(c|0)){break s}N[b+12>>2]=2;return}Qa[N[b+32>>2]](b);d=c;if(N[b+12>>2]){break b}break r}if(!(O[d|0]!=47|d+2>>>0>=h>>>0|(g|0)>=(k|0))){d=d+1|0;N[b>>2]=d;Qa[N[b+32>>2]](b);c=N[b>>2];if(N[b+12>>2]|c>>>0>=h>>>0){break b}if((g|0)<(i|0)){f=c-d|0;c=Qa[N[b+144>>2]](j,e,d,f+1|0)|0;N[b+12>>2]=c;if(c){break b}L[f+N[N[b+124>>2]+(e<<2)>>2]|0]=0}g=g+1|0;break r}if((l|0)!=91){break r}N[b+12>>2]=2;return}Qa[N[b+28>>2]](b);c=N[b>>2];if(h>>>0>c>>>0){continue}break}}N[a+368>>2]=1;N[b>>2]=d;return}return}N[b+12>>2]=c}function jt(a,b){a=a|0;b=b|0;var 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;g=La-16|0;La=g;m=N[a+100>>2];N[g+8>>2]=0;k=Qa[N[a+516>>2]](a,1129333068,b,g+4|0)|0;a:{b:{if(k){break b}k=8;c=N[g+4>>2];if(c>>>0<12){break b}k=fc(b,c,g+8|0);if(k){break b}h=N[g+8>>2];d=Qa[N[m+4>>2]](m,20)|0;if(d){L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;k=8;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;N[g+12>>2]=0;c=O[h|0]|O[h+1|0]<<8;l=c<<8|c>>>8;M[d>>1]=l;if((l&65535)>>>0>1){break b}c=O[h+2|0]|O[h+3|0]<<8;j=c<<8|c>>>8;M[a+660>>1]=j;c=O[h+4|0]|O[h+5|0]<<8;c=c<<8|c>>>8;M[a+648>>1]=c;f=O[h+6|0]|O[h+7|0]<<8;i=f<<8|f>>>8;M[d+2>>1]=i;f=N[g+4>>2];n=c&65535;e=n<<1;if(f>>>0>>0){break b}c=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>=f>>>0){break b}i=i&65535;if(f-c>>>0>>0|i>>>0<(j&65535)>>>0){break b}j=h+12|0;N[d+8>>2]=j;N[d+4>>2]=c+h;c:{if((l&65535)!=1){break c}if(f>>>0>>0){break b}c=e+j|0;l=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);j=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i){if(f>>>0<=i>>>0|e>>>0>f-i>>>0){break b}f=lb(m,2,0,n,0,g+12|0);c=N[g+12>>2];if(c){k=c;break b}c=P[a+648>>1];if(c){n=f+(c<<1)|0;e=h+i|0;c=f;while(1){i=O[e|0]|O[e+1|0]<<8;M[c>>1]=i<<8|i>>>8;e=e+2|0;c=c+2|0;if(n>>>0>c>>>0){continue}break}}N[a+656>>2]=f}e=j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24);if(e){c=N[g+4>>2];if(c>>>0<=e>>>0){break b}f=c-e|0;c=P[a+648>>1];if(f>>>0>>0){break b}f=lb(m,2,0,c,0,g+12|0);c=N[g+12>>2];if(c){k=c;break b}c=P[a+648>>1];if(c){j=f+(c<<1)|0;e=e+h|0;c=f;while(1){i=O[e|0]|O[e+1|0]<<8;M[c>>1]=i<<8|i>>>8;e=e+2|0;c=c+2|0;if(j>>>0>c>>>0){continue}break}}N[a+652>>2]=f}e=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);if(!e){break c}c=N[g+4>>2];if(c>>>0<=e>>>0){break b}f=c-e|0;c=P[a+660>>1];if(f>>>0>>0){break b}f=lb(m,2,0,c,0,g+12|0);c=N[g+12>>2];if(c){k=c;break b}c=P[a+660>>1];if(c){l=f+(c<<1)|0;e=e+h|0;c=f;while(1){j=O[e|0]|O[e+1|0]<<8;M[c>>1]=j<<8|j>>>8;e=e+2|0;c=c+2|0;if(l>>>0>c>>>0){continue}break}}N[a+664>>2]=f}N[d+12>>2]=h;N[d+16>>2]=N[g+4>>2];N[a+868>>2]=d;c=0;o=a,p=lb(m,4,0,P[a+660>>1],0,g+12|0),N[o+672>>2]=p;f=N[g+12>>2];if(f){k=f;break b}if(!Ol(a,0)){break a}break b}k=64;N[g+12>>2]=64;d=0}d:{if(!b|!N[b+20>>2]){break d}c=N[g+8>>2];if(!c){break d}b=N[b+28>>2];Qa[N[b+8>>2]](b,c)}if(d){Qa[N[m+8>>2]](m,d)}N[a+868>>2]=0;c=k}La=g+16|0;return c|0}function Uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+492>>2];i=N[b+16>>2];e=N[b+8>>2];Qa[N[b+28>>2]](b);c=3;a=N[b>>2];a:{b:{if(a>>>0>=e>>>0){break b}a=O[a|0];c:{if(a-48>>>0<=9){a=Qa[N[b+36>>2]](b)|0;N[b+144>>2]=a;if(N[b+12>>2]){break a}if((a|0)<0){break b}f=a;a=N[b>>2];d=e-a>>2;if((f|0)<=(d|0)){break c}N[b+144>>2]=d;break c}if((a|0)!=60){break b}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}Qa[N[b+28>>2]](b);d=N[b>>2];if(d>>>0>=e>>>0){a=d;break c}a=d;while(1){a=O[a|0]-47|0;d:{if(a){if((a|0)!=15){break d}N[b>>2]=d;N[b+144>>2]=h;a=d;break c}h=h+1|0}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0>a>>>0){continue}break}}if(N[b+264>>2]|a>>>0>=e>>>0){break b}k=b+200|0;c=Qa[N[N[g>>2]>>2]](k,N[b+144>>2],i)|0;if(c){break b}l=b+148|0;c=Qa[N[N[g>>2]>>2]](l,N[b+144>>2],i)|0;if(c){break b}h=b+252|0;c=Qa[N[N[g>>2]>>2]](h,4,i)|0;if(c){break b}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0<=a>>>0){N[b+144>>2]=0;c=3;break b}i=0;g=0;d=0;while(1){e:{f:{c=O[a|0];if((c|0)!=101){if((c|0)==62){break e}break f}if(O[a+1|0]!=110|a+3>>>0>=e>>>0|O[a+2|0]!=100){break f}switch(O[a+3|0]){case 0:case 9:case 10:case 12:case 13:case 32:break e;default:break f}}Qa[N[b+32>>2]](b);f=N[b>>2];if(f>>>0>=e>>>0){c=3;break b}if(N[b+12>>2]){break a}g:{h:{j=O[a|0];switch(j-40|0){case 0:case 7:break h;default:break g}}c=3;m=(j|0)==40;if((m?3:2)+a>>>0>=e>>>0){break b}a=a+1|0;f=(f-a|0)-m|0;c=Qa[N[b+192>>2]](l,d,a,f+1|0)|0;if(c){break b}c=f;f=d<<2;L[c+N[f+N[b+172>>2]>>2]|0]=0;if(O[a|0]==46){a=cb(15265,N[f+N[b+172>>2]>>2]);i=a?i:1;g=a?g:d}Qa[N[b+28>>2]](b);if((j|0)==40){Qa[N[b+32>>2]](b)}a=N[b>>2];Qa[N[b+36>>2]](b)|0;c=3;j=N[b>>2];if(j>>>0>=e>>>0){break b}c=a;a=j-a|0;c=Qa[N[b+244>>2]](k,d,c,a+1|0)|0;if(c){break b}L[a+N[f+N[b+224>>2]>>2]|0]=0;d=d+1|0;if((d|0)>=N[b+144>>2]){break e}}Qa[N[b+28>>2]](b);a=N[b>>2];if(e>>>0>a>>>0){continue}}break}N[b+144>>2]=d;if(!(i&255)){c=3;break b}a=N[N[b+172>>2]>>2];if(!cb(15265,a)){break a}c=Qa[N[b+296>>2]](h,0,a,N[N[b+176>>2]>>2])|0;if(c){break b}c=Qa[N[b+296>>2]](h,1,N[N[b+224>>2]>>2],N[N[b+228>>2]>>2])|0;if(c){break b}a=g<<2;c=Qa[N[b+296>>2]](h,2,N[a+N[b+172>>2]>>2],N[a+N[b+176>>2]>>2])|0;if(c){break b}c=Qa[N[b+296>>2]](h,3,N[a+N[b+224>>2]>>2],N[a+N[b+228>>2]>>2])|0;if(c){break b}c=Qa[N[b+192>>2]](l,g,N[N[b+276>>2]>>2],N[N[b+280>>2]>>2])|0;if(c){break b}c=Qa[N[b+244>>2]](k,g,N[N[b+276>>2]+4>>2],N[N[b+280>>2]+4>>2])|0;if(c){break b}c=Qa[N[b+192>>2]](l,0,N[N[b+276>>2]+8>>2],N[N[b+280>>2]+8>>2])|0;if(c){break b}c=Qa[N[b+244>>2]](k,0,N[N[b+276>>2]+12>>2],N[N[b+280>>2]+12>>2])|0;if(!c){break a}}N[b+12>>2]=c}}function fp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{switch(N[a+92>>2]){case 0:i=N[a+64>>2];if((i|0)<(c|0)){g=N[a+36>>2];if(!N[a+84>>2]){N[a+84>>2]=g;N[a+80>>2]=g;g=g+32|0;N[a+36>>2]=g}if(Q[a+32>>2]>g>>>0){f=N[a+4>>2];d=N[a+8>>2];e=N[a+80>>2];N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=g;N[e+28>>2]=0;N[e+4>>2]=0;M[e+12>>1]=O[a+48|0]|((d|0)>(((f+i|0)-1&0-f)-i|0)?8:40);if(!N[a+88>>2]){N[a+88>>2]=e}L[a+78|0]=1;N[a+92>>2]=1;d=a+79|0;break f}break a}if((c|0)>=(i|0)){break d}g=N[a+36>>2];if(!N[a+84>>2]){N[a+84>>2]=g;N[a+80>>2]=g;g=g+32|0;N[a+36>>2]=g}if(Q[a+32>>2]>g>>>0){e=N[a+4>>2];f=N[a+8>>2];h=N[a+80>>2];N[h+16>>2]=0;N[h+20>>2]=0;N[h+8>>2]=g;N[h+28>>2]=0;N[h+4>>2]=0;d=O[a+48|0];M[h+12>>1]=(f|0)>(e-1&i)?d:d|16;if(!N[a+88>>2]){N[a+88>>2]=h}L[a+78|0]=1;N[a+92>>2]=2;d=a+79|0;break j}break a;case 1:break k;case 2:break i;default:break d}}i=N[a+64>>2];if((i|0)<=(c|0)){break e}e=N[a+36>>2];f=N[a+80>>2];h=N[f+8>>2];d=e-h|0;if((d|0)<0){N[a+40>>2]=99;return 1}j=N[a+4>>2]-1&i;g=N[a+8>>2];l:{if((e|0)==(h|0)){d=e;break l}N[f+16>>2]=d>>2;if((g|0)<=(j|0)){d=P[f+12>>1];M[f+12>>1]=(d&8?16:32)|d}N[a+80>>2]=e;d=e+32|0;N[a+36>>2]=d;N[e+8>>2]=d;N[e+16>>2]=0;N[f+28>>2]=e;M[a+76>>1]=P[a+76>>1]+1;f=e}h=N[a+32>>2];if(h>>>0<=d>>>0){break a}L[a+79|0]=0;m:{if(N[a+84>>2]){e=d;break m}N[a+84>>2]=d;N[a+80>>2]=d;e=d+32|0;N[a+36>>2]=e;f=d}if(e>>>0>=h>>>0){break a}N[f+16>>2]=0;N[f+20>>2]=0;N[f+8>>2]=e;N[f+28>>2]=0;N[f+4>>2]=0;d=O[a+48|0];M[f+12>>1]=(g|0)>(j|0)?d:d|16;if(!N[a+88>>2]){N[a+88>>2]=f}L[a+78|0]=1;N[a+92>>2]=2;d=a+79|0}L[d|0]=0;d=0;break h}i=N[a+64>>2];if((i|0)<(c|0)){break g}d=!O[a+78|0]}f=dp(a,N[a+60>>2],0-i|0,b,0-c|0,0-N[a+72>>2]|0,0-N[a+68>>2]|0);if(!(O[a+78|0]|d)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}g=1;if(!f){break d}break c}e=N[a+36>>2];f=N[a+80>>2];g=N[f+8>>2];h=e-g|0;if((h|0)<0){N[a+40>>2]=99;return 1}d=N[a+4>>2];k=((d+i|0)-1&0-d)-i|0;j=N[a+8>>2];n:{if((e|0)==(g|0)){d=e;break n}N[f+16>>2]=h>>2;if((j|0)<=(k|0)){d=P[f+12>>1];M[f+12>>1]=(d&8?16:32)|d}N[a+80>>2]=e;d=e+32|0;N[a+36>>2]=d;N[e+8>>2]=d;N[e+16>>2]=0;N[f+28>>2]=e;M[a+76>>1]=P[a+76>>1]+1;f=e}h=N[a+32>>2];if(h>>>0<=d>>>0){break a}L[a+79|0]=0;o:{if(N[a+84>>2]){e=d;break o}N[a+84>>2]=d;N[a+80>>2]=d;e=d+32|0;N[a+36>>2]=e;f=d}if(e>>>0>=h>>>0){break b}N[f+16>>2]=0;N[f+20>>2]=0;N[f+8>>2]=e;N[f+28>>2]=0;N[f+4>>2]=0;M[f+12>>1]=O[a+48|0]|((j|0)>(k|0)?8:40);if(!N[a+88>>2]){N[a+88>>2]=f}L[a+78|0]=1;N[a+92>>2]=1;d=a+79|0}L[d|0]=0}g=1;if(dp(a,N[a+60>>2],i,b,c,N[a+68>>2],N[a+72>>2])){break c}}N[a+64>>2]=c;N[a+60>>2]=b;g=0}return g}N[a+40>>2]=98;return 1}N[a+40>>2]=98;return 1}function $c(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{c:{d=N[a+44>>2];d:{if(!d){break d}c=N[a+24>>2];b=ZE(c,31);if(b>>>0>8|!(1<>2]=N[d+32>>2];b=N[a+16>>2];if(!b){b=N[d>>2]}e:{if(c){break e}if(Q[a+4>>2]>>0){break b}c=N[d+4>>2];if(c>>>0>2]){break c}N[a+8>>2]=c;N[a+4>>2]=b;b=N[a+52>>2];if(b>>>0<2){break e}m=a+60|0;while(1){f:{g:{h:{l=(N[a+56>>2]+(b<<2)|0)-4|0;g=N[l>>2];e=N[g>>2];b=N[a+8>>2];if(e>>>0>>0){c=4;i=0;b=0;h=N[g+4>>2];f=h-e|0;if(f>>>0>3){break h}break f}if((b|0)!=(e|0)){break g}break e}while(1){b=b+e|0;i=T(i,31)+(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24))|0;b=c;c=b+4|0;if(f>>>0>=c>>>0){continue}break}break f}ba(13271,14296,437,10341);B()}i:{if(b>>>0>=f>>>0){break i}k=(h+(b^-1)|0)-e|0;h=0;c=b;j=f&3;if(j){while(1){i=L[c+e|0]+T(i,31)|0;c=c+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}b=b|j}if(k>>>0<3){break i}while(1){c=b+e|0;i=T(T(T(L[c|0]+T(i,31)|0,31)+L[c+1|0]|0,31)+L[c+2|0]|0,31)+L[c+3|0]|0;b=b+4|0;if((f|0)!=(b|0)){continue}break}}h=0;j=T(N[g+12>>2],12);j:{if(!j){c=0;break j}f=N[g+16>>2];e=4;c=0;while(1){b=f+h|0;c=T(c,31)+(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24))|0;b=e;h=b;e=b+4|0;if(j>>>0>=e>>>0){continue}break}if(b>>>0>=j>>>0){break j}while(1){c=L[f+(b|3)|0]+T(L[f+(b|2)|0]+T(L[f+(b|1)|0]+T(L[b+f|0]+T(c,31)|0,31)|0,31)|0,31)|0;b=b+4|0;if((j|0)!=(b|0)){continue}break}}k:{if(!(L[a+72|0]&1)){break k}b=N[a+76>>2];if(Q[a+80>>2]<=(b>>>1|0)+b>>>0){if(!Qg(m)){break k}g=N[l>>2]}h=c^i;b=Bf(m,g,h);c=N[b>>2];e=N[c+4>>2];i=N[c>>2];j=e-i|0;f=N[g>>2];if((j|0)!=(N[g+4>>2]-f|0)){break k}k=N[c+12>>2];if((k|0)!=N[g+12>>2]){break k}if((e|0)!=(i|0)){if(Mb(i,f,j)){break k}}e=T(k,12);if(e){if(Mb(N[c+16>>2],N[g+16>>2],e)){break k}}l:{if(!(O[b+7|0]&64)){break l}N[a+76>>2]=N[a+76>>2]-1;if(N[b+4>>2]<0){break l}N[a+72>>2]=N[a+72>>2]-2;g=N[l>>2]}N[b+8>>2]=0;N[b>>2]=g;N[b+4>>2]=h|-1073741824;N[a+76>>2]=N[a+76>>2]+1}b=N[a+52>>2];m:{if(!b){b=0;N[147456]=0;if(!N[8]){break m}break a}b=N[(N[a+56>>2]+(b<<2)|0)-4>>2];if(N[b+32>>2]){break a}}if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;b=N[a+52>>2];if(!b){break e}b=b-1|0;N[a+52>>2]=b;if(b>>>0>1){continue}break}}N[a+16>>2]=0;if(N[d+12>>2]){N[d+12>>2]=0}_a(N[d+16>>2]);N[d+16>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if(N[d+24>>2]){N[d+24>>2]=0}_a(N[d+28>>2]);N[d+28>>2]=0;N[d+20>>2]=0;N[d+24>>2]=0;N[d>>2]=N[a+28>>2];N[a+28>>2]=d}return}ba(13230,14296,419,8802);B()}ba(16986,14296,418,8802);B()}ba(8473,14296,432,10341);B()}function Xm(a,b){var c=0;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:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{if((b|0)<=1935833198){if((b|0)<=1751346272){J:{switch(b-1735618608|0){case 9:break z;case 8:break A;case 7:break B;case 6:break C;case 5:break D;case 4:break E;case 3:break F;case 2:break G;case 1:break H;case 0:break I;default:break J}}if((b|0)==1668311156){break y}if((b|0)!=1751216995){break a}return a+442|0}if((b|0)<=1751347821){switch(b-1751346273|0){case 1:case 2:break a;case 3:break w;case 0:break x;default:break v}}K:{switch(b-1751347822|0){case 1:case 2:case 3:case 4:break a;case 5:break t;case 0:break u;default:break K}}if((b|0)==1751413603){break s}if((b|0)!=1751934832){break a}return a+446|0}if((b|0)<=1970168942){if((b|0)<=1936750702){L:{switch(b-1935833199|0){case 1:case 2:case 3:break a;case 4:break q;case 0:break r;default:break L}}switch(b-1935833455|0){case 4:break o;case 0:break p;default:break a}}M:{switch(b-1936750703|0){case 1:case 2:case 3:break a;case 4:break m;case 0:break n;default:break M}}N:{switch(b-1936750959|0){case 1:case 2:case 3:break a;case 4:break k;case 0:break l;default:break N}}switch(b-1937011311|0){case 0:break j;case 4:break i;default:break a}}if((b|0)<=1986228845){O:{switch(b-1970168943|0){case 1:case 2:case 3:break a;case 4:break g;case 0:break h;default:break O}}if((b|0)==1986098019){break f}if((b|0)!=1986228070){break a}return a+318|0}if((b|0)<=1986815855){switch(b-1986228846|0){case 1:case 2:case 3:case 4:break a;case 5:break d;case 0:break e;default:break c}}if((b|0)==1986815856){break b}if((b|0)!=2020108148){break a}return a+460|0}if(P[a+562>>1]<2){break a}return N[a+564>>2]}if(P[a+562>>1]<3){break a}return N[a+564>>2]+4|0}if(P[a+562>>1]<4){break a}return N[a+564>>2]+8|0}if(P[a+562>>1]<5){break a}return N[a+564>>2]+12|0}if(P[a+562>>1]<6){break a}return N[a+564>>2]+16|0}if(P[a+562>>1]<7){break a}return N[a+564>>2]+20|0}if(P[a+562>>1]<8){break a}return N[a+564>>2]+24|0}if(P[a+562>>1]<9){break a}return N[a+564>>2]+28|0}if(P[a+562>>1]<10){break a}return N[a+564>>2]+32|0}if(P[a+562>>1]<11){break a}return N[a+564>>2]+36|0}return a+462|0}return a+448|0}return a+450|0}if((b|0)!=1751347046){break a}return a+238|0}return a+236|0}return a+234|0}return a+444|0}return a+386|0}return a+382|0}return a+388|0}return a+384|0}return a+394|0}return a+390|0}return a+396|0}return a+392|0}return a+400|0}return a+398|0}return a+484|0}return a+486|0}return a+300|0}return a+316|0}return a+314|0}if((b|0)!=1986294627){break a}return a+302|0}c=a+304|0}return c}function Cd(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;j=La+-64|0;La=j;o=a+11720|0;Ki(a,N[a+11716>>2],N[o>>2],b,c,j+20|0,j+16|0);Ki(a,d,e,f,g,j+12|0,j+8|0);h=N[a+4>>2];N[h+16>>2]=N[h+16>>2]+(T(e-c>>16,b>>16)-T(d-b>>16,c>>16)|0);h=N[j+20>>2];r=h+N[a+11716>>2]|0;N[j>>2]=r;k=N[j+16>>2];o=k+N[o>>2]|0;N[j+4>>2]=o;t=N[j+8>>2];u=N[j+12>>2];c=c+k|0;s=b+h|0;if(O[a+11663|0]){N[j+56>>2]=1;b=N[a+11728>>2];N[j+24>>2]=N[a+11724>>2];N[j+28>>2]=b;if(!O[a+20|0]){Ce(a,N[a+11732>>2],N[a+11736>>2])}p=a+8|0;k=N[a+11640>>2];h=k>>31;h=(h^k)-h|0;b=r>>31;b=(b^r)-b|0;a:{if(h+(b>>>8|0)>>>0<=8190){h=T(b,h)+32768>>>16|0;break a}l=h&65535;h=T(l,b>>>16|0)+T(b,h>>>16|0)+(T(l,b&65535)+32768>>>16)|0}b=h;i=0-b|0;b=k>>31|1;i=(((r|0)<0?0-b|0:b)|0)<0?i:h;l=N[a+11644>>2];h=l>>31;h=(h^l)-h|0;b=o>>31;b=(b^o)-b|0;b:{if(h+(b>>>8|0)>>>0<=8190){h=T(b,h)+32768>>>16|0;break b}k=h&65535;h=T(k,b>>>16|0)+T(b,h>>>16|0)+(T(k,b&65535)+32768>>>16)|0}b=h;k=_c(p,o);w=N[a+11652>>2];m=0-b|0;b=l>>31|1;l=i+((((o|0)<0?0-b|0:b)|0)<0?m:h)|0;b=l>>31;p=N[a>>2];i=N[p+64>>2];h=i>>31;b=(b^l)-b|0;q=b>>>8|0;h=(h^i)-h|0;c:{if(q+h>>>0<=8190){m=T(b,h)+32768>>>16|0;break c}n=h&65535;m=T(n,b>>>16|0)+T(b,h>>>16|0)+(T(n,b&65535)+32768>>>16)|0}h=m;n=0-h|0;h=i>>31|1;x=(((l|0)<0?0-h|0:h)|0)<0?n:m;n=N[p+72>>2];i=n>>31;h=k>>31;h=(h^k)-h|0;v=h>>>8|0;i=(i^n)-i|0;d:{if(v+i>>>0<=8190){m=T(h,i)+32768>>>16|0;break d}m=i&65535;m=T(m,h>>>16|0)+T(h,i>>>16|0)+(T(h&65535,m)+32768>>>16)|0}i=m;y=0-i|0;i=n>>31|1;N[j+32>>2]=w+(x+((((k|0)<0?0-i|0:i)|0)<0?y:m)|0);m=N[a+11656>>2];n=N[p+68>>2];i=n>>31;i=(i^n)-i|0;e:{if(i+q>>>0<=8190){i=T(b,i)+32768>>>16|0;break e}q=i&65535;i=T(q,b>>>16|0)+T(b,i>>>16|0)+(T(q,b&65535)+32768>>>16)|0}b=i;q=0-b|0;b=n>>31|1;i=(((l|0)<0?0-b|0:b)|0)<0?q:i;l=N[p+76>>2];b=l>>31;b=(b^l)-b|0;f:{if(b+v>>>0<=8190){h=T(b,h)+32768>>>16|0;break f}p=b&65535;h=T(p,h>>>16|0)+T(h,b>>>16|0)+(T(p,h&65535)+32768>>>16)|0}b=h;n=0-b|0;b=l>>31|1;N[j+36>>2]=m+(i+((((k|0)<0?0-b|0:b)|0)<0?n:h)|0);b=N[a+4>>2];Qa[N[b>>2]](b,j+24|0);h=N[j+32>>2];k=N[j+36>>2];b=0;N[a+11700>>2]=b|r;N[a+11704>>2]=o;N[a+11724>>2]=h;N[a+11728>>2]=k;N[a+11708>>2]=b|s;N[a+11712>>2]=c;L[a+11660|0]=1;L[a+11663|0]=0}if(O[a+11740|0]){mf(a,a+8|0,j,s,c,0)}N[a+11744>>2]=4;L[a+11740|0]=1;b=N[j>>2];o=N[j+4>>2];N[a+11776>>2]=g+t;N[a+11772>>2]=f+u;N[a+11768>>2]=e+t;N[a+11764>>2]=d+u;N[a+11748>>2]=b;N[a+11752>>2]=o;N[a+11756>>2]=s;N[a+11760>>2]=c;b=N[a+11672>>2];if(O[b+5|0]){lf(a+8|0,N[a+11664>>2],N[a+11668>>2],b,N[a+11676>>2],0)}N[a+11720>>2]=g;N[a+11716>>2]=f;La=j- -64|0}function yp(a,b){var 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;c=T(b,1348)+a|0;g=N[c- -64>>2];k=N[c+56>>2];l=g+T(k,44)|0;if((k|0)>0){j=a+2748|0;m=a+2744|0;c=g;while(1){d=O[c+12|0];a:{if(d&4){break a}f=N[c+24>>2];e=N[c+20>>2];b:{c:{if(!e){if(!f){break a}d=N[f+20>>2];if(!d){break a}e=N[d+8>>2];N[f+8>>2]=e;L[f+12|0]=O[f+12|0]|4;d=f;f=c;break c}e=N[e+8>>2];L[c+12|0]=d|4;N[c+8>>2]=e;if(!f){break b}d=c;if(N[f+20>>2]){break b}}d=Fg(N[m>>2],N[j>>2],b,N[f+4>>2]-N[d+4>>2]|0);L[f+12|0]=O[f+12|0]|4;N[f+8>>2]=d+e}h=h?h:c}c=c+44|0;if(l>>>0>c>>>0){continue}break}m=a+2748|0;p=a+2744|0;c=g;j=0;d=0;f=0;while(1){o=O[c+12|0];d:{if(o&4){break d}e=N[c+24>>2];if(!e){f=f+1|0;break d}e:{if(!(d&255)){break e}n=j- -64|0;if((n|0)<=N[c+8>>2]&(n|0)<=N[e+8>>2]){break e}d=1;f=f+1|0;break d}if(N[e+20>>2]){n=Fg(N[p>>2],N[m>>2],b,N[c+4>>2]-N[e+4>>2]|0);e=N[e+8>>2];L[c+12|0]=o|4;N[c+8>>2]=e+n;break d}if(c>>>0>e>>>0){d=Fg(N[p>>2],N[m>>2],b,N[c+4>>2]-N[e+4>>2]|0);e=N[e+8>>2];L[c+12|0]=o|4;j=d+e|0;N[c+8>>2]=j;d=1;break d}f:{if(!(h|(b|0)==1)){i=wp(a,c,e,0,0);break f}wp(a,c,e,i,b)}L[c+12|0]=O[c+12|0]|4;L[e+12|0]=O[e+12|0]|4;j=N[e+8>>2];d=1;h=c}c=c+44|0;if(l>>>0>c>>>0){continue}break}}g:{if(b){break g}h=4;d=2;c=g;h:{switch(k-6|0){case 6:c=g+44|0;h=9;d=5;break;case 0:break h;default:break g}}if(N[c+24>>2]!=(c+44|0)){break g}b=T(d,44)+g|0;if(N[b+24>>2]!=(b+44|0)){break g}e=T(h,44)+g|0;a=N[e+24>>2];if((a|0)!=(e+44|0)){break g}e=(N[b+4>>2]<<1)-(N[c+4>>2]+N[e+4>>2]|0)|0;b=e>>31;if((b^e)-b>>>0>7){break g}b=T(h,44)+g|0;e=N[b+8>>2];i=b;b=(N[(T(d,44)+g|0)+8>>2]<<1)-N[c+8>>2]|0;N[i+8>>2]=b;b=e-b|0;if(a){N[a+8>>2]=N[a+8>>2]-b}if((k|0)==12){N[g+360>>2]=N[g+360>>2]-b;N[g+492>>2]=N[g+492>>2]-b}b=T(h,44)+g|0;L[b+12|0]=O[b+12|0]|4;if(!a){break g}L[a+12|0]=O[a+12|0]|4}i:{if(!f|(k|0)<=0){break i}c=g;while(1){b=O[c+12|0];j:{if(b&4){break j}a=N[c+28>>2];if(!a){break j}d=N[a+8>>2];a=N[a+4>>2];L[c+12|0]=b|4;N[c+8>>2]=N[c+4>>2]+(d-a|0);f=f-1|0}c=c+44|0;if(l>>>0>c>>>0){continue}break}if(!f){break i}d=g;while(1){c=d;k:{if(O[c+12|0]&4){break k}while(1){a=c;c=c-44|0;h=g>>>0>c>>>0;if(!(h|O[a-32|0]&4)){continue}break}f=d;d=f;l:{m:{n:{while(1){b=f;f=b+44|0;if(l>>>0<=f>>>0){break n}if(!(O[b+56|0]&4)){continue}break}if(c>>>0>=g>>>0){break m}i=N[d+4>>2]+(N[b+52>>2]-N[b+48>>2]|0)|0;break l}if(h){break k}a=a-44|0;i=N[d+4>>2]+(N[a+8>>2]-N[a+4>>2]|0)|0;break l}f=P[f>>1];c=P[c>>1];i=N[a-36>>2];if((f|0)==(c|0)){break l}c=c<<16>>16;a=N[a-36>>2];i=jb(M[d>>1]-c|0,N[b+52>>2]-a|0,(f<<16>>16)-c|0)+a|0}N[d+8>>2]=i}d=d+44|0;if(l>>>0>d>>>0){continue}break}}}function qq(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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;a=La-32|0;La=a;N[a>>2]=0;d=N[b+96>>2];e=N[d+28>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d+8>>2]}else{d=0}o=Qa[e|0](b,f,32,a,d)|0;N[c+72>>2]=0;M[c+62>>1]=256;l=N[c+80>>2];N[c+84>>2]=l;k=N[c+68>>2];d=T(k,20);if(d){C(N[c+88>>2],0,d);l=N[c+80>>2];k=N[c+68>>2]}m=N[c+40>>2];if(k){n=N[c+88>>2];d=0;p=(m&-2)!=4;while(1){i=T(d,20);g=i+l|0;e=N[g>>2];a:{b:{if(!o){break b}if(!Cj(e)){break b}N[g>>2]=N[a>>2];e=i+n|0;N[e>>2]=0;N[e+4>>2]=0;break a}N[g>>2]=0;f=N[b+96>>2];h=N[f+28>>2];j=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+8>>2]}else{f=0}Qa[h|0](b,j,e,g,f)|0;f=N[g>>2];e=i+n|0;N[e>>2]=0;N[e+4>>2]=0;j=N[b+96>>2];h=N[j+12>>2];i=N[b+100>>2];c:{d:{e:{f:{g:{if(!p){j=N[j+40>>2];if(h){break g}h=0;break f}j=N[j+44>>2];if(h){break e}h=0;break d}h=N[h+20>>2]}q=e,r=Qa[j|0](b,i,f,h)|0,N[q>>2]=r;Jd(b,N[g>>2],a+8|0,a+4|0);break c}h=N[h+24>>2]}q=e,r=Qa[j|0](b,i,f,h)|0,N[q+4>>2]=r;rq(b,N[g>>2],a+8|0,a+4|0)}N[e+8>>2]=N[e+8>>2]-N[a+8>>2];N[e+12>>2]=N[e+12>>2]-N[a+4>>2]}d=d+1|0;if((k|0)!=(d|0)){continue}break}}h:{i:{if((m&-3)!=5){break i}g=N[c+68>>2];if(g>>>0>=2){i=N[c+80>>2];e=g-1|0;d=0;while(1){b=i+T(e,20)|0;N[a+24>>2]=N[b+16>>2];f=N[b+12>>2];N[a+16>>2]=N[b+8>>2];N[a+20>>2]=f;f=N[b+4>>2];N[a+8>>2]=N[b>>2];N[a+12>>2]=f;f=i+T(d,20)|0;N[b+16>>2]=N[f+16>>2];h=N[f+12>>2];N[b+8>>2]=N[f+8>>2];N[b+12>>2]=h;h=N[f+4>>2];N[b>>2]=N[f>>2];N[b+4>>2]=h;N[f+16>>2]=N[a+24>>2];b=N[a+20>>2];N[f+8>>2]=N[a+16>>2];N[f+12>>2]=b;b=N[a+12>>2];N[f>>2]=N[a+8>>2];N[f+4>>2]=b;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}if(!O[c+63|0]){break i}d=N[c+68>>2];b=d>>>0>>0?d:g;if(b>>>0<2){break h}g=N[c+88>>2];e=b-1|0;d=0;while(1){b=g+T(e,20)|0;N[a+24>>2]=N[b+16>>2];f=N[b+12>>2];N[a+16>>2]=N[b+8>>2];N[a+20>>2]=f;f=N[b+4>>2];N[a+8>>2]=N[b>>2];N[a+12>>2]=f;f=g+T(d,20)|0;N[b+16>>2]=N[f+16>>2];i=N[f+12>>2];N[b+8>>2]=N[f+8>>2];N[b+12>>2]=i;i=N[f+4>>2];N[b>>2]=N[f>>2];N[b+4>>2]=i;N[f+16>>2]=N[a+24>>2];b=N[a+20>>2];N[f+8>>2]=N[a+16>>2];N[f+12>>2]=b;b=N[a+12>>2];N[f>>2]=N[a+8>>2];N[f+4>>2]=b;d=d+1|0;e=e-1|0;if(d>>>0>>0){continue}break}}d=N[c+68>>2]}j:{if(!d){break j}c=N[c+80>>2];e=0;b=0;if(d>>>0>=4){f=d&-4;while(1){g=c+T(b,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|1,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|2,20)|0;N[g+4>>2]=N[g+4>>2]&-8;g=c+T(b|3,20)|0;N[g+4>>2]=N[g+4>>2]&-8;b=b+4|0;if((f|0)!=(b|0)){continue}break}}d=d&3;if(!d){break j}while(1){f=c+T(b,20)|0;N[f+4>>2]=N[f+4>>2]&-8;b=b+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}La=a+32|0;return 1}function Gh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=N[N[a>>2]+28>>2];N[b>>2]=0;a:{b:{c:{d:{if(N[a+28>>2]){break d}h=N[a+12>>2];if(!h){break d}e=h+1|0;if((e|0)<0){f=6;break a}g=N[a>>2];i=N[g+28>>2];l=O[a+16|0];e:{f:{g:{if(e){f=10;if((e|0)>536870911){break a}k=e<<2;f=Qa[N[i+4>>2]](i,k)|0;if(!f|h>>>0>2147483646){break g}C(f,0,k)}N[a+28>>2]=f;break f}N[a+28>>2]=f;if(!f){break e}}h=N[a+8>>2]+N[a+4>>2]|0;k=N[g+20>>2];h:{if(k){f=85;if(!(Qa[k|0](g,h,0,0)|0)){break h}break b}f=85;if(h>>>0>Q[g+4>>2]){break b}}N[g+8>>2]=h;h=T(e,l);f=Bb(g,h);if(f){break b}e=N[g+32>>2];f=h+e|0;i=N[a+28>>2];i:{j:{switch(l-1|0){case 2:if((h|0)<=0){break i}while(1){N[i>>2]=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);i=i+4|0;e=e+3|0;if(f>>>0>e>>>0){continue}break};break i;case 1:if((h|0)<=0){break i}while(1){N[i>>2]=O[e+1|0]|O[e|0]<<8;i=i+4|0;e=e+2|0;if(f>>>0>e>>>0){continue}break};break i;case 0:if((h|0)<=0){break i}while(1){N[i>>2]=O[e|0];i=i+4|0;e=e+1|0;if(f>>>0>e>>>0){continue}break};break i;default:break j}}if((h|0)<=0){break i}while(1){h=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);N[i>>2]=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);i=i+4|0;e=e+4|0;if(f>>>0>e>>>0){continue}break}}if(N[g+20>>2]){f=N[g>>2];if(f){e=N[g+28>>2];Qa[N[e+8>>2]](e,f)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;break d}N[a+28>>2]=0;e=!f<<6;if(e){break c}}e=0;f=N[a+12>>2];if(!f){break c}i=0;g=f+1|0;if((g|0)<0){return 6}h=N[a+24>>2];k:{if(!g){break k}e=10;if((g|0)>536870911){break c}g=g<<2;i=Qa[N[j+4>>2]](j,g)|0;if(!(!i|f>>>0>2147483646)){C(i,0,g);break k}if(i){break k}return!i<<6}l=f+h|0;l:{m:{n:{o:{p:{q:{r:{if(c){h=0;if((l|0)<=0){e=6;if(!l){break q}break l}h=Qa[N[j+4>>2]](j,l)|0;if(h){break r}e=64;break l}h=N[a+32>>2];N[i>>2]=h;j=N[a+12>>2];if(j){e=1;f=0;while(1){k=e<<2;g=N[k+N[a+28>>2]>>2]-1|0;if(g>>>0>=f>>>0){f=N[a+24>>2];f=f>>>0>g>>>0?g:f}N[i+k>>2]=f+h;e=e+1|0;if(j>>>0>=e>>>0){continue}break}h=0;break p}N[b>>2]=i;break m}C(h,0,l)}o=N[a+32>>2];N[i>>2]=h;m=N[a+12>>2];if(!m){break o}e=1;j=0;f=0;while(1){g=e<<2;n=N[g+N[a+28>>2]>>2]-1|0;s:{if(n>>>0>>0){N[i+g>>2]=(f+h|0)+j;break s}k=i+g|0;g=N[a+24>>2];g=g>>>0>n>>>0?n:g;n=(g+h|0)+j|0;N[k>>2]=n;if((f|0)==(g|0)){break s}m=N[k-4>>2];F(m,f+o|0,n-m|0);L[N[k>>2]]=0;N[k>>2]=N[k>>2]+1;j=j+1|0;m=N[a+12>>2];f=g}e=e+1|0;if(m>>>0>=e>>>0){continue}break}}N[b>>2]=i;if(!c){break m}break n}N[b>>2]=i}N[c>>2]=h}e=0;if(!d){break c}N[d>>2]=l;break c}if(!e|!i){break c}Qa[N[j+8>>2]](j,i);return e}return e}b=N[a+28>>2];if(b){Qa[N[i+8>>2]](i,b)}N[a+28>>2]=0;return f}N[a+28>>2]=0;return f}function ww(a){a=a|0;var 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;d=La+-64|0;La=d;l=N[a+16>>2];b=161;a:{if(Q[a+20>>2]>>0){break a}e=N[a+32>>2];m=e+48|0;L[e+64|0]=1;i=-2147483648;g=2147483647;while(1){b=k<<2;j=b+d|0;n=b+(d+32|0)|0;c=N[l>>2];h=O[c|0];b:{if((h|0)==30){b=Xf(a,c,0,j);break b}f=c+1|0;c:{d:{e:{switch(h-28|0){case 0:b=0;if(Q[a+8>>2]<=c+2>>>0){break c}b=O[c+2|0]|O[f|0]<<8;break c;case 1:b=0;if(Q[a+8>>2]<=c+4>>>0){break c}b=O[c+1|0]|O[c+2|0]<<8|(O[c+3|0]<<16|O[c+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break d;default:break e}}if(h>>>0<=246){b=h-139|0;break c}c=N[a+8>>2];if(h>>>0<=250){b=0;if(c>>>0<=f>>>0){break c}b=(O[f|0]|h<<8)-63124|0;break c}b=0;if(c>>>0<=f>>>0){break c}b=64148-(O[f|0]|h<<8)|0}if((b|0)<32768){break c}c=5;f:{if(b>>>0<1e5){break f}c=6;if(b>>>0<1e6){break f}c=7;if(b>>>0<1e7){break f}c=8;if(b>>>0<1e8){break f}c=b>>>0<1e9?9:10}h=c-5|0;f=N[(h<<2)+33472>>2];if(((b|0)/(f|0)|0)>=32768){c=c-4|0;N[j>>2]=c;b=fb(b,N[(c<<2)+33472>>2]);break b}N[j>>2]=h;b=fb(b,f);break b}N[j>>2]=0;b=b<<16}N[n>>2]=b;if(b){b=N[j>>2];g=(b|0)<(g|0)?b:g;i=(b|0)>(i|0)?b:i}l=l+4|0;k=k+1|0;if((k|0)!=6){continue}break}if(!(i-1>>>0<4294967286|i-g>>>0>9)){k=0;h=0;a=N[d+32>>2];if(a){c=N[(i-N[d>>2]<<2)+33472>>2];b=c>>1;h=(((a|0)<0?a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0:a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0)|0)/(c|0)|0}a=N[d+36>>2];if(a){c=N[(i-N[d+4>>2]<<2)+33472>>2];b=c>>1;k=(((a|0)>=0?a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0:a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0)|0)/(c|0)|0}b=0;j=0;a=N[d+40>>2];if(a){g=N[(i-N[d+8>>2]<<2)+33472>>2];c=g>>1;j=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(g|0)|0}a=N[d+44>>2];if(a){c=N[(i-N[d+12>>2]<<2)+33472>>2];b=c>>1;b=(((a|0)>=0?a>>>0>=(b^2147483647)>>>0?2147483647:a+b|0:a>>>0<=(b|-2147483648)>>>0?-2147483648:a-b|0)|0)/(c|0)|0}g=0;f=0;a=N[d+48>>2];if(a){f=N[(i-N[d+16>>2]<<2)+33472>>2];c=f>>1;f=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(f|0)|0}a=N[d+52>>2];if(a){g=N[(i-N[d+20>>2]<<2)+33472>>2];c=g>>1;g=(((a|0)>=0?a>>>0>=(c^2147483647)>>>0?2147483647:a+c|0:a>>>0<=(c|-2147483648)>>>0?-2147483648:a-c|0)|0)/(g|0)|0}N[e+48>>2]=h;N[e+72>>2]=f;N[e+56>>2]=k;N[e+76>>2]=g;N[e+60>>2]=b;N[e+52>>2]=j;N[e+68>>2]=N[33472-(i<<2)>>2];b=0;if(ig(m)){break a}}N[e+48>>2]=65536;N[e+52>>2]=0;N[e+68>>2]=1;N[e+72>>2]=0;N[e+76>>2]=0;N[e+56>>2]=0;N[e+60>>2]=65536;b=0}La=d- -64|0;return b|0}function CC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0,w=0;p=d<<3;q=T(c+7&-8,d);a:{b:{t=c<<1;r=t+4|0;if(r>>>0>=9){o=8;if(d){break b}c=p<<1;while(1){a=a+c|0;o=o+16|0;if(r>>>0>o>>>0){continue}break}}c=0;break a}c=0;while(1){s=0;while(1){e=c>>>0>=q>>>0?440592:(c<<1)+b|0;h=P[e+8>>1];i=P[e+12>>1];u=P[e+14>>1];j=P[e+10>>1];f=c-p|0;f=f>>>0>=q>>>0?440592:(f<<1)+b|0;v=P[f+12>>1];l=P[f+14>>1];f=P[e>>1];k=P[e+4>>1];m=P[e+6>>1];g=P[e+2>>1];e=(k+((m+g&65534)>>>1|0)&65534)>>>1|0;n=k+1|0;M[a+14>>1]=(n+((e+m&65534)>>>1|0)&65534)>>>1;M[a+12>>1]=(n+((e+g&65534)>>>1|0)&65534)>>>1;n=g+1|0;e=(g+((f+k&65534)>>>1|0)&65534)>>>1|0;M[a+10>>1]=(n+((e+k&65534)>>>1|0)&65534)>>>1;M[a+8>>1]=(n+((e+f&65534)>>>1|0)&65534)>>>1;e=(f+((g+l&65534)>>>1|0)&65534)>>>1|0;n=(e+g&65534)>>>1|0;g=f+1|0;M[a+6>>1]=(n+g&65534)>>>1;M[a+4>>1]=(g+((e+l&65534)>>>1|0)&65534)>>>1;e=(l+((f+v&65534)>>>1|0)&65534)>>>1|0;g=(e+f&65534)>>>1|0;f=l+1|0;M[a+2>>1]=(g+f&65534)>>>1;M[a>>1]=(f+((e+v&65534)>>>1|0)&65534)>>>1;f=p<<1;e=f+a|0;l=i+1|0;g=(i+((j+u&65534)>>>1|0)&65534)>>>1|0;M[e+14>>1]=(l+((g+u&65534)>>>1|0)&65534)>>>1;M[e+12>>1]=(l+((g+j&65534)>>>1|0)&65534)>>>1;g=(j+((h+i&65534)>>>1|0)&65534)>>>1|0;l=(g+i&65534)>>>1|0;i=j+1|0;M[e+10>>1]=(l+i&65534)>>>1;M[e+8>>1]=(i+((h+g&65534)>>>1|0)&65534)>>>1;g=h+1|0;i=j;j=(h+((j+m&65534)>>>1|0)&65534)>>>1|0;M[e+6>>1]=(g+((i+j&65534)>>>1|0)&65534)>>>1;M[e+4>>1]=(g+((j+m&65534)>>>1|0)&65534)>>>1;j=m+1|0;i=h;h=(m+((h+k&65534)>>>1|0)&65534)>>>1|0;M[e+2>>1]=(j+((i+h&65534)>>>1|0)&65534)>>>1;M[e>>1]=(j+((h+k&65534)>>>1|0)&65534)>>>1;c=c+8|0;a=a+16|0;s=s+1|0;if((s|0)!=(d|0)){continue}break}a=a+f|0;o=o+16|0;if(r>>>0>o>>>0){continue}break}}if(!(!d|t+3&8)){while(1){e=c-p|0;e=e>>>0>=q>>>0?440592:(e<<1)+b|0;m=P[e+12>>1];j=P[e+14>>1];f=c>>>0>=q>>>0?440592:(c<<1)+b|0;e=P[f>>1];k=P[f+6>>1];h=P[f+2>>1];f=P[f+4>>1];g=(((k+h&65534)>>>1|0)+f&65534)>>>1|0;i=(g+k&65534)>>>1|0;k=f+1|0;M[a+14>>1]=(i+k&65534)>>>1;M[a+12>>1]=(k+((h+g&65534)>>>1|0)&65534)>>>1;g=h+1|0;i=f;f=(h+((e+f&65534)>>>1|0)&65534)>>>1|0;M[a+10>>1]=(g+((i+f&65534)>>>1|0)&65534)>>>1;M[a+8>>1]=(g+((e+f&65534)>>>1|0)&65534)>>>1;f=e+1|0;i=h;h=(e+((h+j&65534)>>>1|0)&65534)>>>1|0;M[a+6>>1]=(f+((i+h&65534)>>>1|0)&65534)>>>1;M[a+4>>1]=(f+((h+j&65534)>>>1|0)&65534)>>>1;h=j+1|0;f=e;e=(j+((e+m&65534)>>>1|0)&65534)>>>1|0;M[a+2>>1]=(h+((f+e&65534)>>>1|0)&65534)>>>1;M[a>>1]=(h+((e+m&65534)>>>1|0)&65534)>>>1;c=c+8|0;a=a+16|0;w=w+1|0;if((w|0)!=(d|0)){continue}break}}}function wz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-288|0;La=d;e=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);hb(d+272|0,e^b^2025677871,b^c^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+256|0,N[d+280>>2]^N[d+272>>2],N[d+284>>2]^N[d+276>>2],0,0,-1598805793,-419201327,0,0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);hb(d+240|0,b^(N[d+264>>2]^N[d+256>>2])^2025677871,N[d+268>>2]^N[d+260>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+224|0,N[d+248>>2]^N[d+240>>2],N[d+252>>2]^N[d+244>>2],0,0,-1598805793,-419201327,0,0);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);hb(d+208|0,b^(N[d+232>>2]^N[d+224>>2])^2025677871,N[d+236>>2]^N[d+228>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+192|0,N[d+216>>2]^N[d+208>>2],N[d+220>>2]^N[d+212>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+176|0,b^(N[d+200>>2]^N[d+192>>2])^2025677871,N[d+204>>2]^N[d+196>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+160|0,N[d+184>>2]^N[d+176>>2],N[d+188>>2]^N[d+180>>2],0,0,-1598805793,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+144|0,b^(N[d+168>>2]^N[d+160>>2])^2025677871,N[d+172>>2]^N[d+164>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+128|0,N[d+152>>2]^N[d+144>>2],N[d+156>>2]^N[d+148>>2],0,0,-1598805793,-419201327,0,0);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+112|0,b^(N[d+136>>2]^N[d+128>>2])^2025677871,N[d+140>>2]^N[d+132>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);hb(d+80|0,b^(N[d+104>>2]^N[d+96>>2])^2025677871,N[d+108>>2]^N[d+100>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);b=a;hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+288|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function zE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;j=La-16|0;La=j;if(ib(c,b,13459,0)){e=N[a+112>>2];g=N[e+8>>2];if((g|0)==-1){i=N[N[e>>2]+8>>2];if(i){N[j+4>>2]=0;g=N[b+96>>2];h=N[g+28>>2];d=N[b+100>>2];f=j+4|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}i=Qa[h|0](b,d,i,f,g)|0;g=i?N[j+4>>2]:0}else{g=0}N[e+8>>2]=g}a:{if(!g){break a}m=N[c+68>>2];if(!m){break a}n=N[c+80>>2];p=n+3|0;i=N[b+24>>2];k=j+8|0;while(1){h=T(l,20);o=h+p|0;if(O[o+16|0]==4){h=N[h+n>>2];N[j+12>>2]=g;N[j+8>>2]=h;N[j+4>>2]=g;h=N[e+48>>2];b:{c:{if(!h){break c}d=N[e+44>>2];f=d+T(h,12)|0;while(1){h=8;if(Dc(i,P[d>>1],j+4|0,2,O[e+56|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+48>>2];if(!f){break c}d=N[e+44>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+56|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=N[e+80>>2];d:{if(!h){break d}d=N[e+76>>2];f=d+T(h,12)|0;while(1){h=8;if(Dc(i,P[d>>1],j+4|0,2,O[e+88|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+80>>2];if(!f){break d}d=N[e+76>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+88|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=N[e+64>>2];e:{if(!h){break e}d=N[e+60>>2];f=d+T(h,12)|0;while(1){h=11;if(Dc(i,P[d>>1],j+4|0,2,O[e+72|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+64>>2];if(!f){break e}d=N[e+60>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+72|0])){break b}d=d+12|0;if((f|0)!=(d|0)){continue}break}}h=4;f=N[e+32>>2];if(!f){break b}d=N[e+28>>2];f=d+T(f,12)|0;f:{while(1){if(Dc(i,P[d>>1],j+4|0,2,O[e+40|0])){break f}d=d+12|0;if((f|0)!=(d|0)){continue}break}f=N[e+32>>2];if(!f){break b}d=N[e+28>>2];f=d+T(f,12)|0;while(1){if(Dc(i,P[d>>1],k,2,O[e+40|0])){break f}d=d+12|0;if((f|0)!=(d|0)){continue}break}break b}h=11}L[o+16|0]=h}l=l+1|0;if((m|0)!=(l|0)){continue}break}}l=xf(b,c,4,11,14,14);h=N[c+68>>2];if(h){i=h-1|0;k=N[c+80>>2];g=k+3|0;e=0;d=O[k+15|0];while(1){g:{if((e|0)==(i|0)){e=h;break g}e=e+1|0;if(O[(g+T(e,20)|0)+12|0]==(d|0)){continue}}break}g=0;while(1){i=e;e=N[b+24>>2];h:{i:{switch(d&15){case 0:case 1:xq(N[a+112>>2],e,c,g,i);break h;case 2:case 4:break i;default:break h}}d=N[a+112>>2];if(O[(T(i,20)+k|0)-2|0]==11?O[d+5|0]:0){break h}xq(d,e,c,g,i)}e=N[c+68>>2];g=i+1|0;g=e>>>0>g>>>0?e:g;m=g-1|0;k=N[c+80>>2];d=O[(k+T(i,20)|0)+15|0];n=k+3|0;e=i;while(1){j:{if((e|0)==(m|0)){e=g;break j}e=e+1|0;if(O[(n+T(e,20)|0)+12|0]==(d&255)){continue}}break}g=i;if(i>>>0>>0){continue}break}}ib(c,b,13490,0)}La=j+16|0;return l|0}function Sx(a){a=a|0;var 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;o=La-16|0;La=o;h=N[a+12>>2];k=N[a+200>>2];e=N[a+196>>2];m=M[a+32>>1];a:{if(m){if(Q[h+8>>2]>1]+(M[h+20>>1]+m|0)>>>0){c=Sb(h,0,m);if(c){break a}}c=20;if((m|0)>4094){break a}}c=20;f=m<<1;if((f+e|0)+2>>>0>k>>>0){break a}d=N[h+68>>2];b=O[e|0]<<8;g=b|O[e+1|0];if((m|0)>0){M[d>>1]=g}if(b<<16>>16<0){break a}i=d+f|0;while(1){b=d+2|0;if(b>>>0>>0){d=O[e+2|0]|O[e+3|0]<<8;j=d<<8|d>>>8;M[b>>1]=j;f=g<<16>>16;d=b;b=j<<16>>16;g=b;e=e+2|0;if((b|0)>(f|0)){continue}break a}break}f=N[h+4>>2];g=M[h+58>>1];if((m|0)<=0){j=0}else{b=M[d>>1];if((b|0)<-1){break a}j=b+1|0}b=j+4|0;if(f>>>0>1]|0)>>>0){c=Sb(h,b,0);if(c){break a}}b=N[a+8>>2];N[b+136>>2]=0;N[b+140>>2]=0;g=e+4|0;if(g>>>0>k>>>0){c=20;break a}b=O[e+2|0]|O[e+3|0]<<8;f=b<<8|b>>>8;b:{c:{if(O[a+16|0]&2){d=f&65535;break c}d=f&65535;if((d|0)>(k-g|0)){break b}i=N[a+156>>2];N[o+12>>2]=N[i+408>>2];e=N[i+8>>2];c=0;l=N[o+12>>2];d:{if(l>>>0>=d>>>0){break d}c=6;if((d|l)<0){break d}e:{if(!l){b=Qa[N[e+4>>2]](e,d)|0;c=!b<<6;break e}b=N[i+412>>2];c=Qa[N[e+12>>2]](e,l,d,b)|0;b=c?c:b;c=!c<<6}f:{if(!(c|(d|0)<=(l|0)|!b)){C(b+l|0,0,d-l|0);N[i+412>>2]=b;break f}N[i+412>>2]=b;if(c){break d}}N[o+12>>2]=d;c=0}e=N[a+156>>2];N[e+408>>2]=N[o+12>>2];if(c){break a}b=N[a+8>>2];N[b+140>>2]=d;c=b;b=N[e+412>>2];N[c+136>>2]=b;if(!(f&65535)){break c}F(b,g,d)}b=d+g|0;e=N[h- -64>>2];if((j|0)>0){g=e+j|0;while(1){d=b+1|0;if(d>>>0>k>>>0){c=20;break a}f=O[b|0];L[e|0]=f;c=e+1|0;g:{if(!(f&8)){b=d;break g}b=b+2|0;if(k>>>0>>0){c=20;break a}d=O[d|0];if(g>>>0>>0){c=20;break a}if(!d){break g}C(c,f,d);c=((d-1&255)+e|0)+2|0}e=c;if(g>>>0>e>>>0){continue}break}e=N[h+64>>2]}if(!(!j|!(O[e|0]&64))){N[h+36>>2]=N[h+36>>2]|64}if(b>>>0>k>>>0){c=20;break a}if((j|0)>0){c=N[h+60>>2];l=c+(j<<3)|0;g=c;d=e;while(1){i=O[d|0];h:{if(i&2){f=b+1|0;if(f>>>0>k>>>0){c=20;break a}b=O[b|0];n=i&16?b:0-b|0;b=f;break h}n=0;if(i&16){break h}f=b+2|0;if(f>>>0>k>>>0){c=20;break a}b=O[b|0]|O[b+1|0]<<8;n=(b<<8|b>>>8)<<16>>16;b=f}p=n+p|0;N[g>>2]=p;d=d+1|0;g=g+8|0;if(l>>>0>g>>>0){continue}break}n=0;while(1){f=O[e|0];i:{if(f&4){d=b+1|0;if(d>>>0>k>>>0){c=20;break a}b=O[b|0];g=f&32?b:0-b|0;b=d;break i}g=0;if(f&32){break i}d=b+2|0;if(d>>>0>k>>>0){c=20;break a}b=O[b|0]|O[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16;b=d}n=g+n|0;N[c+4>>2]=n;L[e|0]=f&1;e=e+1|0;c=c+8|0;if(l>>>0>c>>>0){continue}break}}M[h+56>>1]=m;M[h+58>>1]=j;N[a+196>>2]=b;c=0;break a}c=22}La=o+16|0;return c|0}function hq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-48|0;La=e;N[a+20>>2]=0;N[a+24>>2]=0;if(N[b+32>>2]==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;N[b+32>>2]=(c<<8|c>>>8)&65535}c=N[b+12>>2];a:{if(c){c=Qa[c|0](b,1752003704,N[b+16>>2])|0;if(c){break a}}c=275552}b:{c:{d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}if(N[c+16>>2]<0){break b}d=N[c+12>>2];ab(c);if(!(!d|!N[c+4>>2])){N[c+4>>2]=0}N[a+20>>2]=c;N[e+20>>2]=0;N[e+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[e+44|0]=1;N[e+40>>2]=c;c=N[b+12>>2];d:{if(c){c=Qa[c|0](b,1213612370,N[b+16>>2])|0;if(c){break d}}c=275552}d=N[c>>2];if(d){if((d|0)<=0){break c}N[c>>2]=d+1}L[e+28|0]=0;N[e+36>>2]=c;f=N[c+12>>2];N[e+8>>2]=f;d=N[c+16>>2];N[e+12>>2]=d+f;if((d|0)<0){break b}N[e+32>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[e+16>>2]=d;N[e+24>>2]=0;N[e+4>>2]=0;d=c;e:{f:{if(!f){break f}g:{h:{i:{j:{if(Je(f,e+4|0)){break j}k:{if(O[e+28|0]|!N[e+32>>2]){break k}if(!zb(c)){break k}while(1){L[e+28|0]=1;d=N[e+36>>2];f=N[d+12>>2];N[e+8>>2]=f;g=N[d+16>>2];N[e+12>>2]=g+f;if((g|0)<0){break b}N[e+32>>2]=0;if(g>>>0>67108863){h=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;h=g>>>0>=1073741823?1073741823:g}N[e+16>>2]=h;N[e+24>>2]=0;N[e+4>>2]=0;if(!f){break f}if(Je(f,e+4|0)){break j}if(O[e+28|0]|!N[e+32>>2]){break k}d=zb(c);N[e+8>>2]=d;N[e+12>>2]=d+N[c+16>>2];if(d){continue}break}}ab(N[e+36>>2]);break i}if(!N[e+32>>2]){break h}N[e+32>>2]=0;d=Je(f,e+4|0);f=N[e+32>>2];ab(N[e+36>>2]);if(f){break i}if(d){break g}}ab(c);c=275552;break e}ab(N[e+36>>2])}if(!N[c+4>>2]){break e}N[c+4>>2]=0;break e}ab(d)}N[a+24>>2]=c;c=N[b+28>>2];if(!c){c=ae(b+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;c=c-16>>>0>=16369?1e3:c;N[b+28>>2]=c}N[a+16>>2]=c>>>1;c=N[a+20>>2];d=N[(c?c:275552)+16>>2];c=Kd(b- -64|0);c=O[c+34|0]|O[c+35|0]<<8;c=(c<<8|c>>>8)&65535;f=c<<2;g=d&-2;if(f>>>0>g>>>0){f=d&-4;c=d>>>2|0}N[a>>2]=c;h=b+56|0;c=sb(h);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[a+4>>2]=c;g=g-f|0;f=N[a>>2];d=f;l:{if(d>>>0<=c>>>0){if(g>>>0>=c-f<<1>>>0){break l}d=f+(g>>>1|0)|0}N[a+4>>2]=d;c=d}if(f){d=c}else{N[a>>2]=0;N[a+4>>2]=0;d=0}c=d+((f+(g>>>1|0)|0)-c&2147483647)|0;N[a+8>>2]=c;f=N[b+32>>2];if((f|0)==-1){d=b;b=sb(h);b=O[b+4|0]|O[b+5|0]<<8;f=(b<<8|b>>>8)&65535;N[d+32>>2]=f;c=N[a+8>>2]}N[a+12>>2]=c>>>0>>0?f:c;La=e+48|0;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function xn(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;l=La-16|0;La=l;i=N[b+20>>2];a:{b:{if(i){j=85;if(Qa[i|0](b,c,0,0)|0){break a}k=N[b+4>>2];break b}j=85;k=N[b+4>>2];if(k>>>0>>0){break a}}N[b+8>>2]=c;c:{if(c+1>>>0>=k>>>0){break c}d:{e:{i=N[b+20>>2];f:{if(i){if((Qa[i|0](b,c,l+6|0,2)|0)!=2){break c}k=l+6|0;i=N[b+8>>2];break f}i=N[b>>2];if(!i){break e}k=c+i|0;i=c}m=O[k|0]|O[k+1|0]<<8;k=i+2|0;N[b+8>>2]=k;j=8;q=(m<<8|m>>>8)<<16>>16;if((q|0)>4078){break a}if((q|0)>=0){break d}j=1;break a}k=c+2|0;N[b+8>>2]=k}while(1){g:{h:{i:{p=N[b+4>>2];if(p>>>0<=k+3>>>0){break i}j:{k:{i=N[b+20>>2];l:{if(i){if((Qa[i|0](b,k,l+8|0,4)|0)!=4){break i}p=N[b+4>>2];k=N[b+8>>2];i=l+8|0;break l}i=N[b>>2];if(!i){break k}i=i+k|0}i=O[i|0]|O[i+1|0]<<8|(O[i+2|0]<<16|O[i+3|0]<<24);m=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);break j}m=0}j=k+4|0;N[b+8>>2]=j;if(k+5>>>0>=p>>>0){break i}m:{n:{i=N[b+20>>2];o:{if(i){if((Qa[i|0](b,j,l+12|0,2)|0)!=2){break i}p=N[b+4>>2];j=N[b+8>>2];i=l+12|0;break o}i=N[b>>2];if(!i){break n}i=i+j|0}i=O[i|0]|O[i+1|0]<<8;o=i<<8|i>>>8;break m}o=0}k=j+2|0;N[b+8>>2]=k;if(j+3>>>0>=p>>>0){break i}i=N[b+20>>2];p:{if(i){if((Qa[i|0](b,k,l+14|0,2)|0)!=2){break i}k=N[b+8>>2];i=l+14|0;break p}i=N[b>>2];if(!i){break h}i=i+k|0}i=O[i|0]|O[i+1|0]<<8;i=i<<8|i>>>8;break g}j=85;break a}i=0}k=k+2|0;N[b+8>>2]=k;if((e|0)!=(m|0)){j=1;i=(n|0)==(q|0);n=n+1|0;if(!i){continue}break a}break}N[h>>2]=(o<<16>>16)+1;j=8;if((o&65535)>>>0>2726){break a}e=(i<<16>>16)+c|0;c=N[b+20>>2];q:{if(c){j=85;if(!(Qa[c|0](b,e,0,0)|0)){break q}break a}j=85;if(e>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=e;c=0;N[l>>2]=0;n=lb(a,8,0,N[h>>2],0,l);j=N[l>>2];if(j){break a}j=N[h>>2];r:{if((j|0)>0){while(1){i=n+(c<<3)|0;r=i,s=xb(b,l),M[r>>1]=s;j=N[l>>2];if(j){break r}m=N[b+8>>2]+2|0;s:{e=N[b+20>>2];if(e){if(!(Qa[e|0](b,m,0,0)|0)){break s}j=85;break r}if(m>>>0<=Q[b+4>>2]){break s}j=85;break r}N[b+8>>2]=m;N[l>>2]=0;m=Nb(b,l);j=N[l>>2];if(j){break r}o=N[b+8>>2]+4|0;t:{e=N[b+20>>2];if(e){if(!(Qa[e|0](b,o,0,0)|0)){break t}j=85;break r}if(o>>>0<=Q[b+4>>2]){break t}j=85;break r}N[b+8>>2]=o;N[l>>2]=0;if((m|0)<0){j=8;break r}N[i+4>>2]=m&16777215;c=c+1|0;j=N[h>>2];if((c|0)<(j|0)){continue}break}}b=0;if(f){Zc(n,j,8,114);j=N[h>>2]}c=lb(a,4,0,j,0,l);j=N[l>>2];if(!j){if(N[h>>2]>0){while(1){N[c+(b<<2)>>2]=N[(n+(b<<3)|0)+4>>2]+d;b=b+1|0;if((b|0)>2]){continue}break}}N[g>>2]=c;j=0}if(!n){break a}}Qa[N[a+8>>2]](a,n);break a}}La=l+16|0;return j}function Of(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}h=a-132|0;while(1){c=N[h>>2];if(!c){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;d=N[c+32>>2];if((d|0)==-1){d=sb(c+56|0);d=O[d+4|0]|O[d+5|0]<<8;d=(d<<8|d>>>8)&65535;N[c+32>>2]=d}L[b+40|0]=1;N[b+36>>2]=d;d=N[c+12>>2];b:{if(d){d=Qa[d|0](c,1717920116,N[c+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{if(!d){break l}c=N[d>>2];if(!c){break l}if((c|0)<=0){break k}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;e=N[d+12>>2];N[b+4>>2]=e;f=N[d+16>>2];N[b+8>>2]=f+e;if((f|0)<0){break j}N[b+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;g=d;if(!e){break d}if(f>>>0<12){break h}N[b+12>>2]=c-12;if((O[e|0]|O[e+1|0]<<8)!=256){break h}c=O[e+4|0]|O[e+5|0]<<8;if(kh(e+12|0,b,(c<<8|c>>>8)&65535,e)){break i}if(O[b+24|0]|!N[b+28>>2]){break h}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break h}while(1){L[b+24|0]=1;g=N[b+32>>2];e=N[g+12>>2];N[b+4>>2]=e;f=N[g+16>>2];N[b+8>>2]=f+e;if((f|0)<0){break j}N[b+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;if(!e){break d}if(f>>>0<12){break h}N[b+12>>2]=c-12;if((O[e|0]|O[e+1|0]<<8)!=256){break h}c=O[e+4|0]|O[e+5|0]<<8;if(kh(e+12|0,b,(c<<8|c>>>8)&65535,e)){break i}if(O[b+24|0]|!N[b+28>>2]){break h}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}break h}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break g}N[b+28>>2]=0;if(Q[b+4>>2]>e>>>0){break h}c=N[b+8>>2];if(c>>>0>>0|c-e>>>0<12){break h}c=N[b+12>>2]-12|0;N[b+12>>2]=c;if((O[e|0]|O[e+1|0]<<8)!=256|(c|0)<=0){break h}c=O[e+4|0]|O[e+5|0]<<8;c=kh(e+12|0,b,(c<<8|c>>>8)&65535,e);if(N[b+28>>2]){break h}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(c){break f}break e}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break e}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(d);d=275552;break c}ab(g);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=c;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<12?275552:N[d+12>>2]}function Xd(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;g=La+-64|0;La=g;r=!(O[N[a+11672>>2]+5|0]?O[a+11661|0]:1);k=N[a+11716>>2];m=N[a+11720>>2];if((k|0)!=(b|0)|(m|0)!=(c|0)|r){Ki(a,k,m,b,c,g+20|0,g+16|0);d=N[g+20>>2];p=d+N[a+11716>>2]|0;N[g+8>>2]=p;m=N[g+16>>2];k=m+N[a+11720>>2]|0;N[g+12>>2]=k;m=c+m|0;q=b+d|0;if(O[a+11663|0]){N[g+56>>2]=1;d=N[a+11728>>2];N[g+24>>2]=N[a+11724>>2];N[g+28>>2]=d;if(!O[a+20|0]){Ce(a,N[a+11732>>2],N[a+11736>>2])}n=a+8|0;l=N[a+11640>>2];e=l>>31;e=(e^l)-e|0;d=p>>31;d=(d^p)-d|0;a:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break a}h=e&65535;e=T(h,d>>>16|0)+T(d,e>>>16|0)+(T(h,d&65535)+32768>>>16)|0}d=e;f=0-d|0;d=l>>31|1;f=(((p|0)<0?0-d|0:d)|0)<0?f:e;h=N[a+11644>>2];e=h>>31;e=(e^h)-e|0;d=k>>31;d=(d^k)-d|0;b:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break b}l=e&65535;e=T(l,d>>>16|0)+T(d,e>>>16|0)+(T(l,d&65535)+32768>>>16)|0}d=e;l=_c(n,k);t=N[a+11652>>2];i=0-d|0;d=h>>31|1;h=f+((((k|0)<0?0-d|0:d)|0)<0?i:e)|0;d=h>>31;n=N[a>>2];f=N[n+64>>2];e=f>>31;d=(d^h)-d|0;o=d>>>8|0;e=(e^f)-e|0;c:{if(o+e>>>0<=8190){i=T(d,e)+32768>>>16|0;break c}j=e&65535;i=T(j,d>>>16|0)+T(d,e>>>16|0)+(T(j,d&65535)+32768>>>16)|0}e=i;j=0-e|0;e=f>>31|1;u=(((h|0)<0?0-e|0:e)|0)<0?j:i;j=N[n+72>>2];f=j>>31;e=l>>31;e=(e^l)-e|0;s=e>>>8|0;f=(f^j)-f|0;d:{if(s+f>>>0<=8190){i=T(e,f)+32768>>>16|0;break d}i=f&65535;i=T(i,e>>>16|0)+T(e,f>>>16|0)+(T(e&65535,i)+32768>>>16)|0}f=i;v=0-f|0;f=j>>31|1;N[g+32>>2]=t+(u+((((l|0)<0?0-f|0:f)|0)<0?v:i)|0);i=N[a+11656>>2];j=N[n+68>>2];f=j>>31;f=(f^j)-f|0;e:{if(f+o>>>0<=8190){f=T(d,f)+32768>>>16|0;break e}o=f&65535;f=T(o,d>>>16|0)+T(d,f>>>16|0)+(T(o,d&65535)+32768>>>16)|0}d=f;o=0-d|0;d=j>>31|1;f=(((h|0)<0?0-d|0:d)|0)<0?o:f;h=N[n+76>>2];d=h>>31;d=(d^h)-d|0;f:{if(d+s>>>0<=8190){e=T(d,e)+32768>>>16|0;break f}n=d&65535;e=T(n,e>>>16|0)+T(e,d>>>16|0)+(T(n,e&65535)+32768>>>16)|0}d=e;j=0-d|0;d=h>>31|1;N[g+36>>2]=i+(f+((((l|0)<0?0-d|0:d)|0)<0?j:e)|0);d=N[a+4>>2];Qa[N[d>>2]](d,g+24|0);d=N[g+32>>2];e=N[g+36>>2];f=0;N[a+11700>>2]=f|p;N[a+11704>>2]=k;N[a+11724>>2]=d;N[a+11728>>2]=e;N[a+11708>>2]=f|q;N[a+11712>>2]=m;L[a+11660|0]=1;L[a+11663|0]=0}if(O[a+11740|0]){mf(a,a+8|0,g+8|0,q,m,0)}N[a+11744>>2]=2;L[a+11740|0]=1;k=N[g+12>>2];N[a+11748>>2]=N[g+8>>2];N[a+11752>>2]=k;N[a+11756>>2]=q;N[a+11760>>2]=m;if(r){lf(a+8|0,N[a+11664>>2],N[a+11668>>2],N[a+11672>>2],N[a+11676>>2],0)}N[a+11720>>2]=c;N[a+11716>>2]=b}La=g- -64|0}function MA(a,b,c){a=a|0;b=b|0;c=c|0;var 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;j=La-16|0;La=j;N[a+64>>2]=0;N[a+1140>>2]=b;k=a+1140|0;N[a+1344>>2]=k;l=a+112|0;N[a+1136>>2]=l;d=b+c|0;N[a+1148>>2]=d;N[a+1144>>2]=b;m=160;a:{if((c|0)<=0){break a}c=l;f=k;while(1){g=b+1|0;e=22;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{h=O[b|0];switch(h-1|0){case 0:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 13:case 14:case 20:case 21:case 29:case 30:break a;case 11:break j;case 12:break k;case 9:break f;case 10:break g;case 1:case 15:case 16:case 17:case 18:case 19:case 22:case 23:case 24:case 25:case 26:case 27:case 28:break h;default:break i}}e=2;break f}if(d>>>0<=g>>>0){break a}g=b+2|0;h=20;e=4;switch(O[b+1|0]-7|0){case 5:break e;case 0:break f;default:break a}}if((h|0)==255){break d}}if(h>>>0<32){break a}if(h>>>0<=246){b=h-139|0}else{b=b+2|0;if(b>>>0>d>>>0){break a}e=h<<8;n=O[g|0];g=b;b=h>>>0<=250?(e+n|0)-63124|0:64148-(e|n)|0}b=i?b:b<<16;e=(i|0)!=0;break c}e=24}h=e;if(i){break a}}b=N[(h<<2)+294928>>2];if((b|0)>c-l>>2){m=161;break a}c=c-(b<<2)|0;l:{m:{n:{o:{switch(h-2>>>1|0){case 1:N[a+64>>2]=1;N[a+32>>2]=N[c>>2]+N[a+32>>2];N[a+36>>2]=N[c+4>>2]+N[a+36>>2];N[a+40>>2]=N[c+8>>2];b=N[c+12>>2];break l;case 9:o=c,p=fb(N[c>>2],N[c+4>>2]),N[o>>2]=p;c=c+4|0;i=0;b=g;break b;case 10:b=M[c+2>>1];d=N[a+1376>>2];if(d){N[j+8>>2]=b;e=N[d+20>>2];b=e+((Qa[N[d+12>>2]](j+8|0)>>>0)%Q[d+4>>2]<<2)|0;while(1){p:{h=N[b>>2];if(!h){break p}if(Qa[N[d+16>>2]](h,j+8|0)|0){break p}b=b-4|0;if(e>>>0<=b>>>0){continue}b=(e+(N[d+4>>2]<<2)|0)-4|0;continue}break}b=N[b>>2];if(!b){break a}b=N[b+4>>2]}if((b|0)<0|N[a+1364>>2]<=(b|0)|(f-k|0)>180){break a}N[f>>2]=g;g=b<<2;d=g+N[a+1368>>2]|0;b=N[d>>2];N[f+16>>2]=b;e=N[a+1372>>2];q:{if(e){d=N[e+g>>2]+b|0;break q}g=b;b=N[a+1360>>2];b=g+((b|0)>0?b:0)|0;N[f+16>>2]=b;d=N[d+4>>2]}N[f+12>>2]=b;N[f+20>>2]=d;if(!b){break a}f=f+12|0;break n;case 0:break m;case 11:break o;default:break a}}if(f>>>0<=k>>>0){break a}f=f-12|0;b=N[f>>2];d=N[f+8>>2]}N[a+1344>>2]=f;break b}N[a+64>>2]=1;N[a+32>>2]=N[c>>2]+N[a+32>>2];N[a+40>>2]=N[c+4>>2];b=0}N[a+44>>2]=b;m=0;break a}g=b+5|0;if(d>>>0>>0){break a}b=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b-32001>>>0<=4294903294){e=1;if(!i){break c}break a}b=i?b:b<<16;e=(i|0)!=0}i=e;if((c-l|0)>1020){break a}N[c>>2]=b;c=c+4|0;b=g}N[a+1136>>2]=c;if(b>>>0>>0){continue}break}}La=j+16|0;return m|0}function so(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=La-96|0;La=e;c=c^2025677871;d=d^-1602871964;a:{if(b>>>0<=16){if(b>>>0>=4){g=(a+b|0)-4|0;f=g;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);h=b>>>1&2147483644;g=g-h|0;g=0|(O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24));i=f;f=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a+h|0;h=j|(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24));break a}f=0;if(!b){break a}h=O[(b>>>1|0)+a|0];f=h>>>24|0;h=h<<8;j=f;k=O[(a+b|0)-1|0];a=O[a|0];f=a>>>16|0;h=k|(a<<16|h);f=f|j;break a}b:{c:{if(b>>>0<49){f=b;break c}f=b;i=d;g=c;h=g;j=d;while(1){hb(e+80|0,c^(O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24)),d^(O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24)),0,0,(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))^-1598805797,(O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))^-419201327,0,0);hb(e- -64|0,g^(O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24)),i^(O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24)),0,0,(O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24))^-1668757789,(O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24))^-1900254480,0,0);hb(e+48|0,h^(O[a+40|0]|O[a+41|0]<<8|(O[a+42|0]<<16|O[a+43|0]<<24)),j^(O[a+44|0]|O[a+45|0]<<8|(O[a+46|0]<<16|O[a+47|0]<<24)),0,0,(O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24))^1966558403,(O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24))^1486448076,0,0);a=a+48|0;h=N[e+56>>2]^N[e+48>>2];j=N[e+60>>2]^N[e+52>>2];g=N[e+72>>2]^N[e+64>>2];i=N[e+76>>2]^N[e+68>>2];c=N[e+88>>2]^N[e+80>>2];d=N[e+92>>2]^N[e+84>>2];f=f-48|0;if(f>>>0>48){continue}break}c=h^(c^g);d=j^(d^i);if(f>>>0<17){break b}}while(1){hb(e+32|0,c^(O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24)),d^(O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24)),0,0,(O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24))^-1598805797,(O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))^-419201327,0,0);a=a+16|0;c=N[e+40>>2]^N[e+32>>2];d=N[e+44>>2]^N[e+36>>2];f=f-16|0;if(f>>>0>16){continue}break}}f=a+f|0;a=f-8|0;g=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);i=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);a=f-16|0;h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);f=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24)}hb(e+16|0,c^g,d^i,0,0,h^-1598805797,f^-419201327,0,0);hb(e,N[e+24>>2]^N[e+16>>2],N[e+28>>2]^N[e+20>>2],0,0,b^-1598805797,-419201327,0,0);La=e+96|0;Pa=N[e+4>>2]^N[e+12>>2];return N[e>>2]^N[e+8>>2]}function rp(a,b,c,d){var 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;a:{b:{c:{h=N[b>>2];g=h<<1;if((g|0)<0){e=6;break c}d:{e:{if(g){e=10;if((g|0)>536870911){break c}f=h<<3;e=Qa[N[d+4>>2]](d,f)|0;if(!e|(g|0)<=0){break e}C(e,0,f)}N[a+12>>2]=e;break d}N[a+12>>2]=e;if(e){break d}return!e<<6}e=0;f:{if((h|0)<0){e=6;break f}g:{h:{i:{if(h){e=10;if((h|0)>76695844){break f}f=T(h,28);e=Qa[N[d+4>>2]](d,f)|0;if(!e|(h|0)<=0){break i}C(e,0,f)}N[a+8>>2]=e;m=a+8|0;break h}N[a+8>>2]=e;if(!e){break g}m=a+8|0}g=g|1;if((g|0)>=134217728){e=10;a=a+24|0;break b}e=g<<4;d=Qa[N[d+4>>2]](d,e)|0;if(d){g=0;C(d,0,e);N[a>>2]=h;N[a+24>>2]=d;N[a+28>>2]=0;N[a+20>>2]=0;N[a+4>>2]=0;N[a+16>>2]=N[a+12>>2]+(h<<2);j:{if(!h){break j}e=N[m>>2];f=N[b+8>>2];i=h&3;k:{if(!i){d=h;break k}d=h&-4;b=0;while(1){N[e>>2]=N[f>>2];N[e+4>>2]=N[f+4>>2];N[e+16>>2]=N[f+8>>2];f=f+12|0;e=e+28|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(h>>>0<4){break j}while(1){N[e>>2]=N[f>>2];N[e+4>>2]=N[f+4>>2];N[e+16>>2]=N[f+8>>2];N[e+28>>2]=N[f+12>>2];N[e+32>>2]=N[f+16>>2];N[e+44>>2]=N[f+20>>2];N[e+56>>2]=N[f+24>>2];N[e+60>>2]=N[f+28>>2];N[e+72>>2]=N[f+32>>2];N[e+84>>2]=N[f+36>>2];N[e+88>>2]=N[f+40>>2];N[e+100>>2]=N[f+44>>2];f=f+48|0;e=e+112|0;d=d-4|0;if(d){continue}break}}l:{if(!c){break l}j=N[c>>2];k=N[c+8>>2];N[a+32>>2]=c;if(!j){break l}while(1){p=N[k>>2];if(p){n=N[k+8>>2];f=0;l=0;d=0;while(1){if(!f){d=O[n|0];n=n+1|0;f=128}m:{if(!(d&f)|h>>>0<=l>>>0){break m}i=N[m>>2]+T(l,28)|0;b=N[i+16>>2];if(b&4){break m}N[i+16>>2]=b|4;c=N[a+16>>2];N[i+20>>2]=0;n:{if(!g){break n}q=N[i>>2];s=q+N[i+4>>2]|0;b=g;e=c;while(1){o=N[e>>2];r=N[o>>2];if(!((r|0)>(s|0)|(q|0)>(r+N[o+4>>2]|0))){N[i+20>>2]=o;break n}e=e+4|0;b=b-1|0;if(b){continue}break}}if(g>>>0>=h>>>0){break m}b=g+1|0;N[a+4>>2]=b;N[c+(g<<2)>>2]=i;g=b}f=f>>>1|0;l=l+1|0;if((p|0)!=(l|0)){continue}break}}k=k+16|0;j=j-1|0;if(j){continue}break}}d=0;if((g|0)==(h|0)){return 0}if(!h){return 0}while(1){i=N[m>>2]+T(d,28)|0;b=N[i+16>>2];o:{if(b&4){break o}N[i+16>>2]=b|4;b=N[a+16>>2];N[i+20>>2]=0;p:{if(!g){break p}k=N[i>>2];l=k+N[i+4>>2]|0;f=g;e=b;while(1){c=N[e>>2];j=N[c>>2];if(!((j|0)>(l|0)|(k|0)>(j+N[c+4>>2]|0))){N[i+20>>2]=c;break p}e=e+4|0;f=f-1|0;if(f){continue}break}}if(g>>>0>=h>>>0){break o}c=g+1|0;N[a+4>>2]=c;N[b+(g<<2)>>2]=i;g=c}e=0;d=d+1|0;if((d|0)!=(h|0)){continue}break}break a}e=64;a=a+24|0;break b}return!e<<6}a=a+8|0;break b}a=a+12|0}N[a>>2]=0}return e}function Hl(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;w=N[a+16>>2];m=O[w+6|0]<<8|O[w+7|0]&254;if(!m){return 0}x=N[a>>2];z=N[x+508>>2]+N[x+512>>2]|0;d=N[b>>2];r=d+1|0;n=c?r:d;u=m+2|0;t=w+14|0;v=m>>>1|0;d=v;a:{b:{c:{while(1){d:{i=d+f|0;g=(i&-2)+t|0;j=O[g|0]<<8|O[g+1|0];e=i>>>1|0;h=e;g=g+u|0;o=O[g|0]<<8|O[g+1|0];if(o>>>0<=n>>>0){if(j>>>0>=n>>>0){break d}h=d;f=e+1|0}d=h;if(f>>>0>>0){continue}break c}break}f=0;A=v-1|0;d=g+m|0;h=d+m|0;g=O[h|0]<<8|O[h+1|0];k=(o|0)==65535&A>>>0<=e>>>0&(j|0)==65535&(g|0)!=0&(g+h|0)+2>>>0>z>>>0;p=k?0:g;d=O[d|0]|O[d+1|0]<<8;l=k?1:(d<<8|d>>>8)<<16>>16;e:{f:{g:{h:{i:{if(O[a+20|0]&2){s=e+1|0;d=(p|0)==65535?s:e;if(i>>>0<2){break i}f=e-1|0;q=f<<1;i=q+t|0;k=O[i|0]<<8|O[i+1|0];if(k>>>0>>0){break i}l=t+u|0;j:{while(1){k:{g=k;i=f;o=l+q|0;y=o+m|0;h=y+m|0;p=O[h|0]<<8|O[h+1|0];d=(p|0)==65535?d:f;if(!f){break k}f=i-1|0;q=f<<1;k=q+t|0;k=O[k|0]<<8|O[k+1|0];if(k>>>0>=n>>>0){continue}break j}break}i=0;o=l}f=O[y|0]|O[y+1|0]<<8;l=(f<<8|f>>>8)<<16>>16;o=O[o+1|0]|O[o|0]<<8;break h}if((p|0)==65535){break f}break g}i=e;g=j}if((d|0)==(s|0)){j=(e|0)==(i|0)?g:j;f=0;if(s>>>0>=v>>>0){break f}q=(s<<1)+t|0;d=q+u|0;k=O[d|0]<<8|O[d+1|0];if(k>>>0>n>>>0){break f}g=(m+w|0)+12|0;d=e;l:{while(1){m:{o=k;i=s;j=q;l=(u+j|0)+m|0;h=l+m|0;p=O[h|0]<<8|O[h+1|0];d=(p|0)==65535?d:i;s=i+1|0;if((v|0)==(s|0)){break m}q=(s<<1)+t|0;h=q+u|0;k=O[h|0]<<8|O[h+1|0];if(k>>>0<=n>>>0){continue}break l}break}j=g;i=A}g=O[j+1|0]|O[j|0]<<8;if((d|0)==(e|0)){e=i;j=g;if(c){break b}break a}e=O[l|0]|O[l+1|0]<<8;l=(e<<8|e>>>8)<<16>>16}if((d|0)==(i|0)){e=d;j=g;break g}e=(d<<1)+t|0;j=O[e|0]<<8|O[e+1|0];e=e+u|0;o=O[e|0]<<8|O[e+1|0];e=e+m|0;h=e+m|0;p=O[h|0]<<8|O[h+1|0];e=O[e|0]|O[e+1|0]<<8;l=(e<<8|e>>>8)<<16>>16;e=d}if(!p){break e}d=((n-o<<1)+p|0)+h|0;n:{if(!c){break n}f=0;if(d>>>0<=z>>>0){break n}r=n;break b}d=O[d+1|0]|O[d|0]<<8;if(!d){break c}d=d+l&65535;f=d>>>0>2]?d:0}if(c){break b}break a}d=l+n|0;f=d&65535;if(!c){break a}if(Q[x+16>>2]>f>>>0){break b}c=l+j|0;o:{if((d|0)>=0){break o}f=0;if((c|0)<0){break o}r=0-l|0;break b}r=(d|0)<65536?(c|0)>65535?65536-l|0:n:n;f=0;break b}f=0;if(!c){break a}}c=f;if(j>>>0>>0){f=0;e=e+1|0;if((v|0)==(e|0)){break a}}p:{if(Fl(a,e)){f=c;if(f){break p}return 0}N[a+24>>2]=r;if(c){N[a+28>>2]=c;f=c;break p}Gl(a);f=N[a+28>>2];if(!f){return 0}r=N[a+24>>2]}N[b>>2]=r}return f}function ti(a,b){var 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,t=0;c=N[a>>2];f=N[c+96>>2];h=N[a+532>>2];g=a+304|0;b=b?b:N[N[c+168>>2]+16>>2]+T(N[N[a+64>>2]+24>>2],144)|0;F(g,b,144);p=!h|!(f&2);N[a+528>>2]=p;f=h?0:f;e=f&1?f|124:f;if(e&512){F(g,c+976|0,144)}l=N[c+168>>2];f=N[l+40>>2];j=+(f|0);d=j/288;if(e&4){S[a+312>>3]=d*S[c+984>>3];S[a+368>>3]=d*S[c+1040>>3];S[a+352>>3]=S[c+1024>>3];S[a+360>>3]=S[c+1032>>3]}if(e&8){N[a+308>>2]=N[c+980>>2];N[a+428>>2]=N[c+1100>>2]}if(e&16){N[a+320>>2]=N[c+992>>2];N[a+324>>2]=N[c+996>>2];N[a+328>>2]=N[c+1e3>>2];N[a+332>>2]=N[c+1004>>2]}if(e&32){N[a+336>>2]=N[c+1008>>2];N[a+340>>2]=N[c+1012>>2];N[a+344>>2]=N[c+1016>>2];N[a+348>>2]=N[c+1020>>2]}if(e&64){N[a+384>>2]=N[c+1056>>2];S[a+392>>3]=d*S[c+1064>>3];S[a+400>>3]=d*S[c+1072>>3]}if(e&128){N[a+408>>2]=N[c+1080>>2]}if(e&1024){N[a+440>>2]=N[c+1112>>2]}if(e&256){N[a+412>>2]=N[c+1084>>2];N[a+416>>2]=N[c+1088>>2];N[a+420>>2]=N[c+1092>>2]}m=N[a+308>>2];if(!m){m=N[b+4>>2];N[a+308>>2]=m}N[a+524>>2]=e;N[a+68>>2]=g;g=N[c+140>>2];i=+(g|0);n=N[c+144>>2];k=+(n|0);if(!(!N[c+72>>2]|h)){k=S[c+160>>3];i=S[c+152>>3]}h=N[l+36>>2];j=i/j;S[a+544>>3]=j;o=k/+(h|0);S[a+536>>3]=o;e=N[l+92>>2];a:{if((e|0)>0){b=N[l+96>>2];if((b|0)>0){break a}}e=N[c+24>>2];if((e|0)>0){b=N[c+28>>2];if((b|0)>0){break a}}d=S[c+80>>3];b:{if(!(d<=0|d==1|(!n|!g))){if(d>1){b=qc(+((T(f,n)|0)/(g|0)|0)/d);e=(b|0)<=1?1:b;b=f;break a}b=qc(d*+((T(h,g)|0)/(n|0)|0));b=(b|0)<=1?1:b;break b}b=f}e=h}d=i/+(b|0);S[a+576>>3]=d;i=k/+(e|0);S[a+568>>3]=i;b=N[l+60>>2];k=b?j:d;S[a+560>>3]=k;q=b?o:i;S[a+552>>3]=q;if(p){r=d;d=S[c+32>>3];S[a+576>>3]=r*d;S[a+568>>3]=i*d;S[a+560>>3]=k*d;S[a+552>>3]=q*d;S[a+544>>3]=j*d;S[a+536>>3]=o*d}N[a+496>>2]=m;b=N[a+324>>2];N[a+224>>2]=N[a+320>>2];N[a+228>>2]=b;b=N[a+332>>2];N[a+232>>2]=N[a+328>>2];N[a+236>>2]=b;S[a+80>>3]=S[a+312>>3];N[a+92>>2]=(N[a+348>>2]!=0)<<1|N[a+344>>2]!=0;s=a,t=nb(m),N[s+500>>2]=t;N[a+512>>2]=N[a+428>>2];b=N[a+340>>2];N[a+504>>2]=N[a+336>>2];N[a+508>>2]=b;tg(a);L[a+259|0]=0;N[a+104>>2]=0;N[a+108>>2]=0;N[a+112>>2]=0;N[a+116>>2]=0;N[a+220>>2]=N[a+384>>2];d=S[a+392>>3];S[a+208>>3]=d;S[a+200>>3]=d;S[a+176>>3]=S[a+352>>3];S[a+184>>3]=S[a+360>>3];S[a+192>>3]=S[a+368>>3];S[a+264>>3]=S[a+432>>3];d=S[a+400>>3];S[a+280>>3]=d;S[a+272>>3]=d;N[a+128>>2]=0;N[a+132>>2]=0;N[a+136>>2]=0;N[a+140>>2]=0;S[a+120>>3]=S[a+376>>3];N[a+520>>2]=N[a+424>>2]}function Ld(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;a:{b:{if(!(O[a+62|0]|O[b+62|0])){if(!(N[b+68>>2]?!N[a+68>>2]|O[a+63|0]==O[b+63|0]:1)){break b}if(!(N[b+68>>2]?!N[a+68>>2]|N[a+36>>2]==N[b+36>>2]:1)){break a}e=N[b+68>>2];d=d>>>0>e>>>0?e:d;c:{if(d>>>0<=c>>>0){break c}e=N[a+68>>2];g=c>>>0>d>>>0?d:c;i=d-g|0;f=e+i|0;if(e>>>0>f>>>0){L[a+60|0]=0;return}d:{if(!N[a+4>>2]){break d}c=e;e:{if(!f){break e}c=e;if(f>>>0>2]){break e}if(!gb(a,f)){break d}c=N[a+68>>2]}f:{if(c>>>0>>0){h=T(f-c|0,20);if(h){C(N[a+80>>2]+T(c,20)|0,0,h)}g:{if(!O[a+63|0]){break g}c=N[a+68>>2];h=T(f-c|0,20);if(!h){break g}C(N[a+88>>2]+T(c,20)|0,0,h)}N[a+68>>2]=f;break f}N[a+68>>2]=f;if(f){break f}N[a+132>>2]=0;N[a+36>>2]=0}N[a+136>>2]=0}if(!O[a+60|0]){break c}if(!e){N[a+36>>2]=N[b+36>>2]}h:{if(O[a+63|0]|!O[b+63|0]){break h}N[a+72>>2]=0;M[a+62>>1]=256;N[a+84>>2]=N[a+80>>2];c=T(N[a+68>>2],20);if(!c){break h}C(N[a+88>>2],0,c)}c=N[a+40>>2];if(!c){c=N[b+40>>2];N[a+40>>2]=c}i:{if(N[b+40>>2]!=(c|0)){break i}c=N[a+44>>2];if(!c){c=N[b+44>>2];N[a+44>>2]=c}if(N[a+48>>2]|N[b+44>>2]!=(c|0)){break i}N[a+48>>2]=N[b+48>>2]}c=T(i,20);j:{if(!c){break j}F(N[a+80>>2]+T(e,20)|0,N[b+80>>2]+T(g,20)|0,c);if(!O[a+63|0]){break j}F(N[a+88>>2]+T(e,20)|0,N[b+88>>2]+T(g,20)|0,c)}if(N[b+36>>2]!=1){break c}k:{if((g|0)==(0-N[b+132>>2]|0)|e){break k}N[a+132>>2]=0;l:{if(!g){break l}c=N[b+80>>2];e=g-1|0;N[a+92>>2]=N[c+T(e,20)>>2];N[a+132>>2]=1;e=e>>>0>=4?4:e;if(!e){break l}N[a+96>>2]=N[(c+T(g,20)|0)-40>>2];N[a+132>>2]=2;e=e+1|0;if((e|0)==2){break l}f=c+T(g,20)|0;N[a+100>>2]=N[f-60>>2];N[a+132>>2]=3;if((e|0)==3){break l}N[a+104>>2]=N[f-80>>2];N[a+132>>2]=4;if((e|0)==4){break l}N[a+108>>2]=N[(c+T(g,20)|0)-100>>2];N[a+132>>2]=5}if(!N[b+132>>2]){break k}f=a+92|0;g=b+92|0;c=0;while(1){e=N[a+132>>2];if(e>>>0>4){break k}i=N[g+(c<<2)>>2];N[a+132>>2]=e+1;N[f+(e<<2)>>2]=i;c=c+1|0;if(c>>>0>2]){continue}break}}c=0;N[a+136>>2]=0;m:{if(Q[b+68>>2]<=d>>>0){break m}f=N[b+80>>2];e=0;while(1){g=N[f+T(d,20)>>2];N[a+136>>2]=e+1;N[((e<<2)+a|0)+112>>2]=g;d=d+1|0;if(d>>>0>=Q[b+68>>2]){break m}e=N[a+136>>2];if(e>>>0<=4){continue}break}}if(!N[b+136>>2]){break c}while(1){d=N[a+136>>2];if(d>>>0>4){break c}e=N[((c<<2)+b|0)+112>>2];N[a+136>>2]=d+1;N[((d<<2)+a|0)+112>>2]=e;c=c+1|0;if(c>>>0>2]){continue}break}}return}ba(8661,17855,1878,16605);B()}ba(12911,17855,1880,16605);B()}ba(12992,17855,1882,16605);B()}function Ph(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=N[a+100>>2];a:{b:{j=N[a+736>>2];if(!j){d=re(a,0);if(d){break b}j=N[a+736>>2]}m=N[j+12>>2];f=N[m>>2];c:{d=N[j+4>>2];if(d){break c}d=0;if((f|0)<0){d=6;break a}d:{if(f){d=10;if((f|0)>536870911){break a}g=f<<2;d=Qa[N[l+4>>2]](l,g)|0;if(!d|(f|0)<=0){break d}C(d,0,g)}N[j+4>>2]=d;break c}N[j+4>>2]=d;if(d){break c}return!d<<6}f=b>>>0>f>>>0?f:b;e:{if(!f){g=0;break e}h=f&3;b=0;f:{if(f>>>0<4){g=0;break f}e=f&-4;g=0;while(1){i=N[c>>2];if((i|0)!=N[d>>2]){N[d>>2]=i;g=1}i=N[c+4>>2];if((i|0)!=N[d+4>>2]){N[d+4>>2]=i;g=1}i=N[c+8>>2];if((i|0)!=N[d+8>>2]){N[d+8>>2]=i;g=1}i=N[c+12>>2];if((i|0)!=N[d+12>>2]){N[d+12>>2]=i;g=1}d=d+16|0;c=c+16|0;k=k+4|0;if((e|0)!=(k|0)){continue}break}}if(!h){break e}while(1){e=N[c>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}d=d+4|0;c=c+4|0;b=b+1|0;if((h|0)!=(b|0)){continue}break}}h=N[m>>2];b=N[a+4>>2];g:{if(b&2147418112){if(f>>>0>=h>>>0){break g}c=N[(N[m+16>>2]+T(b>>>16|0,12)|0)-12>>2]+(f<<2)|0;i=h+(f^-1)|0;e=h-f&3;if(e){b=0;while(1){k=N[c>>2];if((k|0)!=N[d>>2]){N[d>>2]=k;g=1}d=d+4|0;c=c+4|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}b=f+e|0}else{b=f}if(i>>>0<3){break g}while(1){e=N[c>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}e=N[c+4>>2];if((e|0)!=N[d+4>>2]){N[d+4>>2]=e;g=1}e=N[c+8>>2];if((e|0)!=N[d+8>>2]){N[d+8>>2]=e;g=1}e=N[c+12>>2];if((e|0)!=N[d+12>>2]){N[d+12>>2]=e;g=1}d=d+16|0;c=c+16|0;b=b+4|0;if((h|0)!=(b|0)){continue}break}break g}if(f>>>0>=h>>>0){break g}i=h+(f^-1)|0;c=N[m+12>>2]+T(f,24)|0;e=h-f&3;if(e){b=0;while(1){k=N[c+8>>2];if((k|0)!=N[d>>2]){N[d>>2]=k;g=1}d=d+4|0;c=c+24|0;b=b+1|0;if((e|0)!=(b|0)){continue}break}b=f+e|0}else{b=f}if(i>>>0<3){break g}while(1){e=N[c+8>>2];if((e|0)!=N[d>>2]){N[d>>2]=e;g=1}e=N[c+32>>2];if((e|0)!=N[d+4>>2]){N[d+4>>2]=e;g=1}e=N[c+56>>2];if((e|0)!=N[d+8>>2]){N[d+8>>2]=e;g=1}e=N[c+80>>2];if((e|0)!=N[d+12>>2]){N[d+12>>2]=e;g=1}d=d+16|0;c=c+96|0;b=b+4|0;if((h|0)!=(b|0)){continue}break}}if(N[j+8>>2]){d=-1;if(!g){break b}}c=0;if((h|0)<0){return 6}h:{if(!h){break h}d=10;if((h|0)>536870911){break b}b=h<<2;c=Qa[N[l+4>>2]](l,b)|0;if(!(!c|(h|0)<=0)){C(c,0,b);break h}if(c){break h}d=!c<<6;break b}b=N[a+736>>2];if(!O[b+24|0]){Wm(a);b=N[a+736>>2]}Vm(b,f,N[j+4>>2],c);d=ag(a,N[m>>2],c,0);if(!d){N[a+8>>2]=N[a+8>>2]&-32769|((f|0)!=0)<<15;d=0}if(!c){break b}Qa[N[l+8>>2]](l,c);return d|0}return d|0}N[j+4>>2]=0;return d|0}function Lj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=N[b+24>>2];if((c|0)==-1){c=0}else{c=c>>>0>=Q[b+16>>2]?275552:N[b+20>>2]+T(c,28)|0;c=Qa[N[c+12>>2]](N[c>>2],a,1)|0}i=c;a:{f=N[a+96>>2];d=N[f+64>>2];b:{if(d>>>0>=Q[f+68>>2]){break b}while(1){if(!O[f+60|0]){break b}c=N[f+80>>2]+T(d,20)|0;h=N[c>>2];c:{d:{if(!(N[b>>2]>>>(h>>>4)&1)|!(N[b+4>>2]>>>h&1)|(!(N[b+8>>2]>>>(h>>>9)&1)|!(N[a+132>>2]&N[c+4>>2]))){break d}d=N[a+140>>2];e=P[c+12>>1];if(d&e&14){break d}e:{if(!(e&8)){break e}if(d&16){e=275552;g=N[a+104>>2];f:{if((O[g|0]|O[g+1|0]<<8)!=256){break f}c=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0<65538){break f}c=O[g+12|0]|O[g+13|0]<<8;if(!c){break f}e=g+((c<<8|c>>>8)&65535)|0}if((O[e|0]|O[e+1|0]<<8)!=256){break d}c=O[e+2|0]|O[e+3|0]<<8;g=(c<<8|c>>>8)&65535;c=d>>>16|0;if(g>>>0>c>>>0){c=((c<<2)+e|0)+4|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+e|0}else{c=275552}if((vb(c,h)|0)!=-1){break e}break d}c=d&65280;if(!c){break e}if((c|0)!=(e&65280)){break d}}e=N[b+16>>2];if(i){if(!e){break d}d=N[b+20>>2];while(1){c=N[a+96>>2];c=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];if(!(!(N[d+16>>2]>>>(c>>>4)&1)|!(N[d+20>>2]>>>c&1)|!(N[d+24>>2]>>>(c>>>9)&1))){if(Qa[N[d+8>>2]](N[d>>2],a)|0){break c}}d=d+28|0;e=e-1|0;if(e){continue}break}break d}if(!e){break d}d=N[b+20>>2];while(1){c=N[a+96>>2];c=N[N[c+80>>2]+T(N[c+64>>2],20)>>2];if(!(!(N[d+16>>2]>>>(c>>>4)&1)|!(N[d+20>>2]>>>c&1)|!(N[d+24>>2]>>>(c>>>9)&1))){if(Qa[N[d+4>>2]](N[d>>2],a)|0){break c}}d=d+28|0;e=e-1|0;if(e){continue}break}}if(O[f+62|0]){e=N[f+84>>2];c=N[f+80>>2];d=N[f+72>>2];if(!((e|0)==(c|0)&(d|0)==N[f+64>>2])){d=d+1|0;if(!(!d|d>>>0>2])){if(!gb(f,d)){break c}e=N[f+84>>2];c=N[f+80>>2]}g:{if((c|0)!=(e|0)){break g}d=N[f+72>>2];if(d+1>>>0<=N[f+64>>2]+1>>>0){e=c;break g}if(!O[f+62|0]){break a}e=N[f+88>>2];N[f+84>>2]=e;d=T(d,20);if(!d){break g}F(e,c,d);e=N[f+84>>2];c=N[f+80>>2]}d=T(N[f+72>>2],20)+e|0;e=T(N[f+64>>2],20)+c|0;c=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=c;N[d+16>>2]=N[e+16>>2];c=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=c;d=N[f+72>>2]}N[f+72>>2]=d+1}N[f+64>>2]=N[f+64>>2]+1}d=N[f+64>>2];if(d>>>0>2]){continue}break}}if(i){c=N[b+24>>2];b=c>>>0>=Q[b+16>>2]?275552:N[b+20>>2]+T(c,28)|0;Qa[N[b+12>>2]](N[b>>2],a,0)|0}return}ba(8694,17855,209,11932);B()}function Ge(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=N[N[b>>2]+16>>2];i=N[(h<<2)+293584>>2];e=N[b+36>>2];g=N[e+12>>2];a:{if(!N[g+4>>2]){break a}e=P[N[e>>2]+68>>1];if((e|0)==N[g+28>>2]&(e|0)==N[g+32>>2]){break a}N[g+32>>2]=e;N[g+28>>2]=e;N[g+12>>2]=N[g+12>>2]+1;Ie(g)}while(1){e=a;a=e+1|0;f=O[e|0];if((f|0)==32){continue}break}a=e;while(1){if((f|32)!=32){a=a+1|0;a=f<<24>>24<0?(f>>>0<224?1:f>>>0<240?2:3)+a|0:a;f=O[a|0];continue}break}if(N[c+4>>2]){N[c+36>>2]=0;N[c+40>>2]=0;L[c+61|0]=0;L[c+62|0]=0;L[c+63|0]=0;L[c+64|0]=0;L[c+65|0]=0;L[c+66|0]=0;L[c+67|0]=0;L[c+68|0]=0;L[c+60|0]=1;N[c+144>>2]=0;N[c+92>>2]=0;N[c+96>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;L[c+68|0]=0;L[c+69|0]=0;L[c+70|0]=0;L[c+71|0]=0;L[c+72|0]=0;L[c+73|0]=0;L[c+74|0]=0;L[c+75|0]=0;N[c+84>>2]=N[c+80>>2];N[c+100>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+112>>2]=0;N[c+116>>2]=0;N[c+120>>2]=0;N[c+124>>2]=0;N[c+128>>2]=0;N[c+132>>2]=0;N[c+136>>2]=0;M[c+140>>1]=0}f=a-e|0;yl(c,e,f,f);zl(c);h=(h|0)!=10;He(g,c,i,h);if(!h){N[d>>2]=N[c+68>>2];return a}b=N[N[b+36>>2]+16>>2];if(N[b+4>>2]){N[b+36>>2]=0;N[b+40>>2]=0;L[b+61|0]=0;L[b+62|0]=0;L[b+63|0]=0;L[b+64|0]=0;L[b+65|0]=0;L[b+66|0]=0;L[b+67|0]=0;L[b+68|0]=0;L[b+60|0]=1;N[b+144>>2]=0;N[b+92>>2]=0;N[b+96>>2]=0;N[b+52>>2]=0;N[b+56>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;L[b+68|0]=0;L[b+69|0]=0;L[b+70|0]=0;L[b+71|0]=0;L[b+72|0]=0;L[b+73|0]=0;L[b+74|0]=0;L[b+75|0]=0;N[b+84>>2]=N[b+80>>2];N[b+100>>2]=0;N[b+104>>2]=0;N[b+108>>2]=0;N[b+112>>2]=0;N[b+116>>2]=0;N[b+120>>2]=0;N[b+124>>2]=0;N[b+128>>2]=0;N[b+132>>2]=0;N[b+136>>2]=0;M[b+140>>1]=0}yl(b,e,f,f);zl(b);f=0;He(g,b,0,0);e=N[c+68>>2];b:{if((e|0)!=N[b+68>>2]){break b}g=N[c+80>>2];c:{d:{if(!e){break d}b=N[b+80>>2];while(1){h=T(f,20);if(N[h+g>>2]!=N[b+h>>2]){break d}f=f+1|0;if((f|0)!=(e|0)){continue}break}break c}if((e|0)!=(f|0)){break b}}if(!N[c+4>>2]){break b}N[c+36>>2]=0;N[c+40>>2]=0;L[c+61|0]=0;L[c+62|0]=0;L[c+63|0]=0;L[c+64|0]=0;L[c+65|0]=0;L[c+66|0]=0;L[c+67|0]=0;L[c+68|0]=0;L[c+60|0]=1;e=0;N[c+144>>2]=0;N[c+84>>2]=g;N[c+92>>2]=0;N[c+96>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;L[c+68|0]=0;L[c+69|0]=0;L[c+70|0]=0;L[c+71|0]=0;L[c+72|0]=0;L[c+73|0]=0;L[c+74|0]=0;L[c+75|0]=0;N[c+100>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+112>>2]=0;N[c+116>>2]=0;N[c+120>>2]=0;N[c+124>>2]=0;N[c+128>>2]=0;N[c+132>>2]=0;N[c+136>>2]=0;M[c+140>>1]=0}N[d>>2]=e;return a}function Kk(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,q=0,r=0;p=La-32|0;La=p;k=N[a+96>>2];g=N[k+64>>2];i=O[k+62|0]?N[k+72>>2]:g;m=f-g|0;a:{if(!b){break a}f=i-g|0;if(b>>>0>=4){o=b&-4;while(1){g=h<<2;n=g+c|0;N[n>>2]=f+N[n>>2];n=(g|4)+c|0;N[n>>2]=f+N[n>>2];n=(g|8)+c|0;N[n>>2]=f+N[n>>2];g=(g|12)+c|0;N[g>>2]=f+N[g>>2];h=h+4|0;if((o|0)!=(h|0)){continue}break}}g=b&3;if(!g){break a}while(1){o=(h<<2)+c|0;N[o>>2]=f+N[o>>2];h=h+1|0;j=j+1|0;if((g|0)!=(j|0)){continue}break}}o=i+m|0;b:{if(!d){break b}n=0;while(1){if(!O[k+60|0]){break b}f=(n<<2)+e|0;g=O[f|0]|O[f+1|0]<<8;l=(g<<8|g>>>8)&65535;c:{if(l>>>0>=b>>>0){break c}r=(l<<2)+c|0;i=N[r>>2];g=N[k+64>>2];g=(N[k+68>>2]-g|0)+(O[k+62|0]?N[k+72>>2]:g)|0;if(i>>>0>=g>>>0){break c}if(!ec(k,i)|N[k+152>>2]<=0){break b}h=N[a+96>>2];if(N[h+156>>2]){if(O[k+62|0]){zc(h);h=N[a+96>>2]}i=O[f+2|0]|O[f+3|0]<<8;m=N[a+88>>2];N[p+20>>2]=N[k+64>>2];N[p+16>>2]=(i<<8|i>>>8)&65535;ib(h,m,17153,p+16|0);h=N[a+96>>2]}d:{m=N[a+144>>2];e:{if(!m){break e}j=N[a+100>>2];if(!j){break e}i=O[f+2|0]|O[f+3|0]<<8;q=N[h+152>>2];N[h+152>>2]=q-1;if((q|0)>0){break d}}L[h+61|0]=1;break c}N[a+144>>2]=m-1;i=Qa[j|0](a,(i<<8|i>>>8)&65535)|0;N[a+144>>2]=N[a+144>>2]+1;if(!i){break c}h=N[a+96>>2];if(N[h+156>>2]){if(O[k+62|0]){zc(h);h=N[a+96>>2]}i=N[a+88>>2];f=O[f+2|0]|O[f+3|0]<<8;N[p>>2]=(f<<8|f>>>8)&65535;ib(h,i,8337,p)}f=N[k+64>>2];i=(N[k+68>>2]-f|0)+(O[k+62|0]?N[k+72>>2]:f)|0;if((i|0)==(g|0)){break c}f=N[r>>2];h=i-g|0;i=h+o|0;m=(f|0)>(i|0);o=m?f:i;g=l+1|0;j=h+(m?f-i|0:0)|0;f:{if((j|0)>0){i=b+j|0;f=g;if(i>>>0<=64){break f}break b}f=g-b|0;j=(f|0)<(j|0)?j:f;i=j+b|0;f=g-j|0}m=f;f=(f<<2)+c|0;F(f+(j<<2)|0,f,b-m<<2);h=j+m|0;g:{if(g>>>0>=h>>>0){break g}l=(j+m|0)-l|0;q=l-2|0;f=N[r>>2];b=0;l=l-1&3;if(l){while(1){f=f+1|0;N[(g<<2)+c>>2]=f;g=g+1|0;b=b+1|0;if((l|0)!=(b|0)){continue}break}}if(q>>>0<=2){break g}while(1){l=(g<<2)+c|0;N[l>>2]=f+1;b=f+4|0;N[l+12>>2]=b;N[l+8>>2]=f+3;N[l+4>>2]=f+2;f=b;g=g+4|0;if((g|0)!=(h|0)){continue}break}}h:{if(h>>>0>=i>>>0){break h}f=0;b=i-h&3;if(b){while(1){g=(h<<2)+c|0;N[g>>2]=N[g>>2]+j;h=h+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}if(((j^-1)+i|0)-m>>>0<3){break h}while(1){b=(h<<2)+c|0;N[b>>2]=N[b>>2]+j;N[b+4>>2]=N[b+4>>2]+j;N[b+8>>2]=N[b+8>>2]+j;N[b+12>>2]=N[b+12>>2]+j;h=h+4|0;if((i|0)!=(h|0)){continue}break}}b=i}n=n+1|0;if((n|0)!=(d|0)){continue}break}}ec(k,o);La=p+32|0}function $s(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{if(!N[c+88>>2]){N[c+100>>2]=N[d+100>>2];N[c+104>>2]=N[d+104>>2];f=N[d+80>>2];N[c+80>>2]=f;e=N[d+76>>2];L[c+94|0]=7;N[c+76>>2]=e;M[c+92>>1]=256;f=f<<2;N[c+84>>2]=f;h=T(e,f);g=N[N[c+4>>2]+100>>2];e=N[c+156>>2];f=N[e+4>>2];c:{if(f&1){N[c+88>>2]=0;break c}N[e+4>>2]=f|1}e=0;d:{e:{f:{if((h|0)<=0){f=6;if(h){break f}break d}e=Qa[N[g+4>>2]](g,h)|0;if(e){break e}f=64}N[c+88>>2]=0;return f|0}C(e,0,h)}N[c+88>>2]=e;C(e,0,h);break b}k=N[d+104>>2];l=k-N[d+76>>2]|0;m=N[c+104>>2];n=m-N[c+76>>2]|0;h=N[d+100>>2];g=h+N[d+80>>2]|0;e=N[c+100>>2];f=e+N[c+80>>2]|0;if(!((f|0)<(g|0)|(e|0)>(h|0)|(k|0)>(m|0))){if((l|0)>=(n|0)){break b}}k=(k|0)<(m|0)?m:k;n=k-((l|0)>(n|0)?n:l)|0;m=(e|0)<(h|0)?e:h;h=((f|0)>(g|0)?f:g)-m|0;l=h<<2;e=T(n,l);g:{if((e|0)<=0){f=6;if(!e){break g}break a}f=N[a+100>>2];i=Qa[N[f+4>>2]](f,e)|0;if(!i){return 64}C(i,0,e)}if(N[c+76>>2]){f=(T(l,k-N[c+104>>2]|0)+i|0)+(N[c+100>>2]-m<<2)|0;e=N[c+88>>2];while(1){F(f,e,N[c+80>>2]<<2);f=f+l|0;e=N[c+84>>2]+e|0;j=j+1|0;if(j>>>0>2]){continue}break}}e=N[c+156>>2];f=N[e+4>>2];if(f&1){g=N[c+88>>2];if(g){f=N[N[c+4>>2]+100>>2];Qa[N[f+8>>2]](f,g);e=N[c+156>>2];f=N[e+4>>2]}f=f&-2;N[e+4>>2]=f}N[c+104>>2]=k;N[c+88>>2]=i;N[c+100>>2]=m;N[c+80>>2]=h;N[c+76>>2]=n;N[c+84>>2]=l;N[e+4>>2]=f|1;N[c+72>>2]=1651078259}h:{if((b|0)==65535){if(O[a+676|0]){e=O[a+680|0];j=O[a+679|0];i=O[a+677|0];g=O[a+678|0];break h}b=N[a+656>>2];if(b){e=255;j=255;i=255;g=255;if(O[b+(P[a+668>>1]<<1)|0]&2){break h}}j=0;e=255;i=0;g=0;break h}a=N[a+672>>2]+(b<<2)|0;e=O[a+3|0];j=O[a+2|0];i=O[a|0];g=O[a+1|0]}f=0;l=N[d+76>>2];if(!l|!N[d+80>>2]){break a}m=j&255;n=g&255;h=i&255;g=e&255;a=N[c+84>>2];b=(N[c+88>>2]+T(a,N[c+104>>2]-N[d+104>>2]|0)|0)+(N[d+100>>2]-N[c+100>>2]<<2)|0;i=N[d+88>>2];k=0;e=1;while(1){j=0;f=0;if(e){while(1){e=(j<<2)+b|0;f=(T(g,O[i+j|0])>>>0)/255|0;a=255-f|0;L[e+1|0]=(((T(a,O[e+1|0])&65535)>>>0)/255|0)+(((T(f,n)&65535)>>>0)/255|0);L[e|0]=(((T(a,O[e|0])&65535)>>>0)/255|0)+(((T(f,h)&65535)>>>0)/255|0);L[e+2|0]=(((T(a,O[e+2|0])&65535)>>>0)/255|0)+(((T(f,m)&65535)>>>0)/255|0);L[e+3|0]=f+(((T(a,O[e+3|0])&65535)>>>0)/255|0);f=N[d+80>>2];j=j+1|0;if(f>>>0>j>>>0){continue}break}l=N[d+76>>2];a=N[c+84>>2]}b=a+b|0;i=N[d+84>>2]+i|0;e=f;k=k+1|0;if(k>>>0>>0){continue}break}f=0}return f|0}function it(a,b){a=a|0;b=b|0;var 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;j=La-16|0;La=j;k=N[a+100>>2];N[j+12>>2]=0;a:{if(!N[a+868>>2]){i=3;break a}b:{i=Qa[N[a+516>>2]](a,1129270354,b,j+8|0)|0;if(i){break b}i=8;c=N[j+8>>2];if(c>>>0<14){break b}i=fc(b,c,j+12|0);if(i){break b}e=N[j+12>>2];c=Qa[N[k+4>>2]](k,44)|0;if(!c){i=64;break b}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;i=8;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;f=O[e|0]|O[e+1|0]<<8;d=f<<8|f>>>8;M[c>>1]=d;if((d&65535)>>>0>1){f=c;break b}f=O[e+2|0]|O[e+3|0]<<8;h=f<<8|f>>>8;M[c+2>>1]=h;f=N[j+8>>2];g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);l=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(f>>>0<=l>>>0){f=c;break b}if(f-l>>>0>>0){f=c;break b}g=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);h=O[e+12|0]|O[e+13|0]<<8;h=h<<8|h>>>8;M[c+4>>1]=h;m=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(m>>>0>=f>>>0){f=c;break b}if(f-m>>>0<(h&65535)<<2>>>0){f=c;break b}if((d&65535)==1){g=O[e+14|0]|O[e+15|0]<<8|(O[e+16|0]<<16|O[e+17|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(h>>>0>=f>>>0){f=c;break b}g=e+h|0;d=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);n=T(d,6);if(n>>>0>f-h>>>0){f=c;break b}N[c+20>>2]=g;N[c+16>>2]=d;d=O[e+18|0]|O[e+19|0]<<8|(O[e+20|0]<<16|O[e+21|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(d>>>0>=f>>>0){f=c;break b}c:{if(d){p=f-d|0;d=e+d|0;h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);o=h<<2;if(p>>>0>>0){f=c;break b}N[c+28>>2]=d;N[c+24>>2]=h;b=g+n|0;i=d+o|0;b=b>>>0>>0?b:i;break c}N[c+24>>2]=0;N[c+28>>2]=0;b=g+n|0}N[c+32>>2]=b}N[c+40>>2]=f;N[c+36>>2]=e;N[c+12>>2]=e+m;N[c+8>>2]=e+l;N[a+872>>2]=c;i=0;break a}d:{if(!b|!N[b+20>>2]){break d}a=N[j+12>>2];if(!a){break d}b=N[b+28>>2];Qa[N[b+8>>2]](b,a)}if(!f){break a}Qa[N[k+8>>2]](k,f)}La=j+16|0;return i|0}function xh(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=N[a+88>>2];N[c>>2]=0;g=a+828|0;a:{if(!O[a+848|0]){j=N[a+104>>2];N[g+16>>2]=0;N[g+20>>2]=0;i=8;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;f=P[a+152>>1];if(!f){break a}d=N[a+156>>2];e=d+(f<<4)|0;while(1){b:{if(N[d>>2]==1111770656){f=N[d+12>>2];if(f){break b}}d=d+16|0;if(e>>>0>d>>>0){continue}break a}break}e=N[d+8>>2];d=N[j+20>>2];c:{if(d){if(!(Qa[d|0](j,e,0,0)|0)){break c}break a}if(e>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=e;if(f>>>0<8){break a}if(fc(j,f,g)){break a}i=N[a+828>>2];N[a+832>>2]=i+f;d:{e:{f:{if((O[i+1|0]|O[i|0]<<8)!=1){break f}e=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);d=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0<8){break f}n=O[i+2|0]<<8;k=O[i+3|0];e=n|k;if(f>>>0>>0|e>>>0>d-8>>>2>>>0){break f}N[a+840>>2]=f-d;o=d+i|0;N[a+836>>2]=o;N[a+844>>2]=e;d=i+8|0;h=d+(e<<2)|0;g:{if(!e){break g}l=k&3;if(l){k=k|n;n=(l<<2)+8|0;f=0;while(1){h=T(O[d+3|0]|O[d+2|0]<<8,10)+h|0;d=d+4|0;f=f+1|0;if((l|0)!=(f|0)){continue}break}d=i+n|0;f=k-l|0}else{f=e}if(e>>>0<4){break g}while(1){h=(((T(O[d+3|0]|O[d+2|0]<<8,10)+h|0)+T(O[d+7|0]|O[d+6|0]<<8,10)|0)+T(O[d+11|0]|O[d+10|0]<<8,10)|0)+T(O[d+15|0]|O[d+14|0]<<8,10)|0;d=d+16|0;f=f-4|0;if(f){continue}break}}if(h>>>0<=o>>>0){break d}if(!j){break e}}if(!N[j+20>>2]){break e}a=N[j+28>>2];Qa[N[a+8>>2]](a,i)}N[g>>2]=0;N[g+4>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+8>>2]=0;N[g+12>>2]=0;return 8}L[a+848|0]=1}i=6;if(!b|!m){break a}e=N[a+844>>2];j=nb(b);if(!j|!e){break a}d=N[g>>2]+8|0;h=d+(e<<2)|0;g=P[m+14>>1];while(1){f=O[d+3|0]|O[d+2|0]<<8;if((g|0)==(O[d+1|0]|O[d|0]<<8)){if(!f){break a}while(1){h:{l=O[h+5|0];if(!(l&16)){break h}d=N[a+840>>2];e=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);g=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0<=g>>>0){break h}m=d-g|0;if(m>>>0<=j>>>0){break h}e=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);k=g;g=N[a+836>>2];if(bb(b,k+g|0,m)){break h}e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);i:{switch(l&15){case 0:case 1:if(d>>>0<=e>>>0){break h}e=e+g|0;if(!qe(e,0,d)){break h}N[c+4>>2]=e;N[c>>2]=1;return 0;case 2:N[c+4>>2]=e;N[c>>2]=2;return 0;case 3:break i;default:break h}}N[c+4>>2]=e;N[c>>2]=3;return 0}h=h+10|0;f=f-1|0;if(f){continue}break}break a}d=d+4|0;h=T(f,10)+h|0;e=e-1|0;if(e){continue}break}}return i|0}function uC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0;f=sf(b,c);a:{if(f){break a}e=N[b+2740>>2];if(!(e&1)){f=up(b,N[d+52>>2],d+56|0,0);if(f){break a}e=N[b+2740>>2]}b:{if(e&2){break b}f=up(b,N[d+9856>>2],d+9860|0,1);if(f){break a}if(O[(N[N[d+36>>2]+8>>2]+(a<<1)|0)+1|0]&64){break b}a=N[b+1404>>2];if((a|0)<=0){break b}i=N[b+1412>>2];w=i+T(a,44)|0;o=N[d+10064>>2];x=o>>>0<=1?1:o;m=N[d+9848>>2];a=m>>31;j=(a^m)-a|0;p=j&65535;q=j>>>16|0;r=j>>>8|0;y=d+10068|0;while(1){c:{if(!o){break c}e=Q[d+40>>2]/40|0;d:{if(e+r>>>0<=8190){e=T(e,j)+32768>>>16|0;break d}a=e&65535;e=T(a,q)+T(j,e>>>16|0)+(T(a,p)+32768>>>16)|0}a=0;e=(m|0)<0?0-e|0:e;f=(e|0)>=32?32:e;k=0;n=0;while(1){l=T(a,36)+y|0;e=N[l+32>>2];e:{if(!(e&1)){break e}s=e>>>3&1;v=(e&6)!=0;if(!(s|v^N[b+1416>>2]==L[i+13|0])){break e}t=M[i>>1];h=N[l>>2];e=t-h|0;g=e>>31;g=(e^g)-g|0;f:{if(g+r>>>0<=8190){e=T(g,j)+32768>>>16|0;break f}e=g&65535;e=T(e,q)+T(j,g>>>16|0)+(T(e,p)+32768>>>16)|0}g=(m|0)<0;e=g?0-e|0:e;u=(e|0)<(f|0);f=u?e:f;k=u?l:k;n=u?s:n;if(!e|s|(!(L[i+12|0]&1)|!(v^(h|0)>(t|0)))){break e}e=t-N[l+12>>2]|0;h=e>>31;h=(e^h)-h|0;g:{if(h+r>>>0<=8190){e=T(h,j)+32768>>>16|0;break g}e=h&65535;e=T(e,q)+T(j,h>>>16|0)+(T(e,p)+32768>>>16)|0}e=g?0-e|0:e;if((e|0)>=(f|0)){break e}k=l+12|0;n=0;f=e}a=a+1|0;if((x|0)!=(a|0)){continue}break}if(!k){break c}N[i+20>>2]=k;if(!(n&255)){break c}L[i+12|0]=O[i+12|0]|8}i=i+44|0;if(w>>>0>i>>>0){continue}break}}a=N[b+2740>>2];if(!(a&1)){tp(b,0);a=N[b+44>>2];if((a|0)>0){f=N[b+52>>2];e=f+T(a,44)|0;while(1){a=N[f+12>>2];if(a){h=f+36|0;d=N[a+8>>2];a=N[f+40>>2];while(1){g=N[h>>2];N[g+16>>2]=d;M[g>>1]=P[g>>1]|4;h=g+32|0;if((a|0)!=(g|0)){continue}break}}f=f+44|0;if(e>>>0>f>>>0){continue}break}}Hg(b,0);Gg(b,0);a=N[b+2740>>2]}if(!(a&2)){tp(b,1);a=N[b+1392>>2];if((a|0)>0){f=N[b+1400>>2];e=f+T(a,44)|0;while(1){a=N[f+12>>2];if(a){h=f+36|0;d=N[a+8>>2];a=N[f+40>>2];while(1){g=N[h>>2];N[g+20>>2]=d;M[g>>1]=P[g>>1]|8;h=g+32|0;if((a|0)!=(g|0)){continue}break}}f=f+44|0;if(e>>>0>f>>>0){continue}break}}Hg(b,1);Gg(b,1)}d=N[b+24>>2];if((d|0)<=0){return 0}a=N[b+28>>2];d=a+T(d,40)|0;h=N[c+4>>2];b=N[c+8>>2];while(1){N[h>>2]=N[a+16>>2];N[h+4>>2]=N[a+20>>2];f=0;c=P[a>>1];L[b|0]=c&1?0:c&2?2:1;b=b+1|0;h=h+8|0;a=a+40|0;if(d>>>0>a>>>0){continue}break}}return f|0}function pw(a){a=a|0;var 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;c=3;f=N[a+32>>2];a:{if(!f){break a}d=N[f+364>>2];if(!d){break a}b=N[d+588>>2];c=N[d+584>>2];f=N[f+360>>2];b:{if(!(!O[d+556|0]|(f|0)!=N[d+564>>2]|(c|0)!=N[d+568>>2])){if(!c){break b}if(!Mb(b,N[d+572>>2],c<<2)){break b}}c=vm(d+556|0,f,c,b);if(c){break a}}c=3;k=Lc(a,N[N[a+20>>2]-4>>2]);if(k>>>0>Q[a+24>>2]){break a}i=(N[a+20>>2]-N[a+16>>2]|0)-4>>2;j=T(N[d+576>>2],k);c=161;c:{if(i>>>0>>0){break c}b=N[d+604>>2];h=N[d+600>>2];e=T(k,5);d:{if(b>>>0>=h+e>>>0){break d}f=N[d+592>>2];g=b+e|0;if((g|b)<0){N[d+592>>2]=f;c=6;break c}c=N[N[d+560>>2]+8>>2];l=N[d+596>>2];e:{if(!g){b=0;if(!f){break e}Qa[N[c+8>>2]](c,f);break e}if(!b){b=Qa[N[c+4>>2]](c,g)|0;if(b){break e}N[d+592>>2]=0;c=64;break c}c=Qa[N[c+12>>2]](c,b,g,f)|0;b=c?c:f;if(c){break e}N[d+592>>2]=b;c=64;break c}N[d+592>>2]=b;h=N[d+600>>2];N[d+596>>2]=h+b;N[d+604>>2]=e+N[d+604>>2];if(!f|(b|0)==(f|0)){break d}c=N[a+16>>2];g=N[a+20>>2];if(c>>>0>=g>>>0){break d}m=b-f|0;while(1){b=N[c>>2];if(!(b>>>0>>0|b>>>0>=l>>>0)){N[c>>2]=b+m;g=N[a+20>>2]}c=c+4|0;if(g>>>0>c>>>0){continue}break}}N[d+600>>2]=h+e;o=i-j|0;f=o+k|0;if(k){c=f;j=0;while(1){l=N[d+580>>2];p=j+o<<2;g=Lc(a,N[p+N[a+16>>2]>>2])<<16;m=N[a+16>>2];n=1;q=N[d+576>>2];if(q>>>0>=2){while(1){f:{g:{b=N[m+(c<<2)>>2];h=O[b|0];if((h|0)!=255){if((h|0)!=30){break g}e=Xf(a,b,0,0)>>16;break f}e=((O[b+3|0]|(O[b+2|0]<<8|O[b+1|0]<<16))<<8)+32768>>16;break f}i=b+1|0;h:{switch(h-28|0){case 0:e=0;if(Q[a+8>>2]<=b+2>>>0){break f}e=(O[b+2|0]|O[i|0]<<8)<<16>>16;break f;case 1:e=0;if(Q[a+8>>2]<=b+4>>>0){break f}b=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);e=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break f;default:break h}}e=h-139|0;if(h>>>0<=246){break f}b=N[a+8>>2];if(h>>>0<=250){e=0;if(b>>>0<=i>>>0){break f}e=(O[i|0]|h<<8)-63124|0;break f}e=0;if(b>>>0<=i>>>0){break f}e=64148-(O[i|0]|h<<8)|0}c=c+1|0;l=l+4|0;g=T(e,N[l>>2])+g|0;n=n+1|0;if(q>>>0>n>>>0){continue}break}}N[m+p>>2]=N[d+596>>2];b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=255;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>24;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>16;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g>>>8;b=N[d+596>>2];N[d+596>>2]=b+1;L[b|0]=g;j=j+1|0;if((j|0)!=(k|0)){continue}break}}N[a+20>>2]=N[a+16>>2]+(f<<2);c=0}L[d+557|0]=1}return c|0}function mv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=8;d=a+5|0;a:{if(d>>>0>b>>>0){break a}i=O[a+3|0];j=O[a+4|0];a=N[c+92>>2];f=j+a|0;if(f>>>0>Q[c+96>>2]){f=f+3|0;if((f|a)<0){return 6}e=N[c>>2];k=N[c+100>>2];b:{c:{g=f&-4;d:{if(!g){if(!k){break d}Qa[N[e+8>>2]](e,k);N[c+100>>2]=0;break b}f=10;if((g|0)>59652323){break a}e:{if(!a){h=Qa[N[e+4>>2]](e,T(g,36))|0;f=!h<<6;break e}f=Qa[N[e+12>>2]](e,T(a,36),T(g,36),k)|0;h=f?f:k;f=!f<<6}if(f|(a|0)>=(g|0)|!h){break c}C(T(a,36)+h|0,0,T(g-a|0,36))}N[c+100>>2]=h;break b}N[c+100>>2]=h;if(f){break a}}N[c+96>>2]=g}f=8;a=b;k=i&8;b=i&4;g=i&16;h=i&1;i=i&2;if(a>>>0>>3)+(b>>>2)+(g>>>4)|0)+(i?h+9|0:h|8)|0,j)+d>>>0){break a}l=N[c+92>>2];f:{if(!j){break f}a=N[c+100>>2]+T(l,36)|0;if(!b){e=0;while(1){b=O[d|0];g:{if(h){b=O[d+1|0]|b<<8;d=d+2|0;break g}d=d+1|0}N[a>>2]=b;b=O[d|0];h:{if(i){b=O[d+1|0]|b<<8;d=d+2|0;break h}d=d+1|0}N[a+4>>2]=b;b=d;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+2|0]|O[d+1|0]<<8;d=O[d+4|0];m=O[b+3|0];i:{if(k){f=b+6|0;b=O[b+5|0]|(d<<8|m<<16);break i}f=b+5|0;b=d|m<<8}N[a+24>>2]=b;b=O[f|0];j:{if(g){b=O[f+1|0]|b<<8;d=f+2|0;break j}d=f+1|0}N[a+28>>2]=b;a=a+36|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break f}if(!k){e=0;while(1){f=O[d|0];k:{if(h){f=O[d+1|0]|f<<8;b=d+2|0;break k}b=d+1|0}N[a>>2]=f;d=O[b|0];l:{if(i){d=O[b+1|0]|d<<8;b=b+2|0;break l}b=b+1|0}N[a+4>>2]=d;d=b;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+5|0]|O[d+4|0]<<8;b=O[d+6|0];m:{if(g){b=O[d+7|0]|b<<8;d=d+8|0;break m}d=d+7|0}N[a+28>>2]=b;a=a+36|0;e=e+1|0;if((j|0)!=(e|0)){continue}break}break f}b=0;if(!h){while(1){N[a>>2]=O[d|0];e=O[d+1|0];n:{if(i){e=O[d+2|0]|e<<8;d=d+3|0;break n}d=d+2|0}N[a+4>>2]=e;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+6|0]|(O[d+5|0]<<8|O[d+4|0]<<16);e=O[d+7|0];o:{if(g){e=O[d+8|0]|e<<8;d=d+9|0;break o}d=d+8|0}N[a+28>>2]=e;a=a+36|0;b=b+1|0;if((j|0)!=(b|0)){continue}break f}}while(1){N[a>>2]=O[d+1|0]|O[d|0]<<8;e=O[d+2|0];p:{if(i){e=O[d+3|0]|e<<8;d=d+4|0;break p}d=d+3|0}N[a+4>>2]=e;N[a+8>>2]=O[d|0];N[a+20>>2]=O[d+3|0]|(O[d+2|0]<<8|O[d+1|0]<<16);N[a+24>>2]=O[d+6|0]|(O[d+5|0]<<8|O[d+4|0]<<16);e=O[d+7|0];q:{if(g){e=O[d+8|0]|e<<8;d=d+9|0;break q}d=d+8|0}N[a+28>>2]=e;a=a+36|0;b=b+1|0;if((j|0)!=(b|0)){continue}break}}N[c+92>>2]=j+l;f=0}return f|0}function Fw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;if(a){g=N[a+100>>2];c=N[a+540>>2];if(c){Qa[N[c+12>>2]](a)}c=N[a+712>>2];if(c){e=N[c+8>>2];d=N[c+108>>2];if(d){b=N[d+28>>2];f=N[c+140>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+140>>2]=0}d=N[c+136>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+108|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+1240>>2];if(d){b=N[d+28>>2];f=N[c+1272>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+1272>>2]=0}d=N[c+1268>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+1240|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+36>>2];if(d){b=N[d+28>>2];f=N[c+68>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+68>>2]=0}d=N[c- -64>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+36|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}d=N[c+1204>>2];if(d){b=N[d+28>>2];f=N[c+1236>>2];if(f){if(N[d+20>>2]){Qa[N[b+8>>2]](b,f)}N[c+1236>>2]=0}d=N[c+1232>>2];if(d){Qa[N[b+8>>2]](b,d)}b=c+1204|0;N[b>>2]=0;N[b+4>>2]=0;N[b+32>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}if(N[c+2024>>2]){b=0;while(1){Fm(e,N[(c+(b<<2)|0)+2028>>2]);b=b+1|0;if(b>>>0>2]){continue}break}b=N[c+2028>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+2028>>2]=0}N[c+144>>2]=0;N[c+148>>2]=0;N[c+152>>2]=0;b=N[N[c+4>>2]+28>>2];d=N[c+1192>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c+1192>>2]=0;N[c+1196>>2]=0;d=N[c+1188>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c+1180>>2]=0;N[c+1184>>2]=0;N[c+1188>>2]=0;Em(c+3112|0,e);Fm(e,c+1372|0);d=N[c+3060>>2];if(d){b=N[c+4>>2];if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,d)}N[c+3060>>2]=0}L[c+3052|0]=0;N[c+3056>>2]=0;N[c+3064>>2]=0;b=N[c+3092>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3092>>2]=0;b=N[c+1348>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1348>>2]=0;b=N[c+1352>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1352>>2]=0;b=N[c+1360>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1360>>2]=0;b=N[c+1364>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+1364>>2]=0;b=N[c+3108>>2];if(b){Qa[b|0](N[c+3104>>2]);b=N[c+3104>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3104>>2]=0}b=N[c+3132>>2];if(b){Qa[N[e+8>>2]](e,b)}N[c+3132>>2]=0;c=N[a+712>>2];if(c){Qa[N[g+8>>2]](g,c)}N[a+712>>2]=0}c=N[a+548>>2];if(c){Qa[N[c+44>>2]](a)}N[a+736>>2]=0}}function Ws(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=3;a:{if((d|e)<0){break a}i=N[a+8>>2];f=N[a+12>>2];j=P[f+2>>1];if(Q[i+4>>2]>>0){break a}f=P[f>>1];if(Q[i>>2]>>0){break a}j=T(j,O[a+18|0]);if(T(j+7>>>3|0,f)+b>>>0>c>>>0){break a}a=d>>>3|0;h=N[i+8>>2];i=N[i+12>>2];c=(a+T(h,e)|0)+i|0;g=d&7;if(g){k=0;if(!f){break a}l=8-g|0;if(j>>>0>=8){while(1){d=0;e=j;a=c;while(1){i=a;k=b;d=O[b|0]|d;L[a|0]=O[a|0]|d>>>g;m=e;e=e-8|0;a=a+1|0;b=b+1|0;d=d<<8;if((m|0)>15){continue}break}if((m|0)>8){d=O[k+1|0]&65280>>>e|d;b=k+2|0}L[a|0]=O[a|0]|d>>>g;if((e|0)>(l|0)){L[i+2|0]=O[i+2|0]|d<<8>>>g}c=c+h|0;a=f;f=f-1|0;k=0;if((a|0)>1){continue}break a}}d=65280>>>j|0;if(j>>>0>l>>>0){if((h|0)!=1){if(f&1){a=d&O[b|0];L[c|0]=O[c|0]|a>>>g;L[c+1|0]=O[c+1|0]|a<<8>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){e=d&O[b|0];L[c|0]=O[c|0]|e>>>g;L[c+1|0]=O[c+1|0]|e<<8>>>g;c=c+h|0;e=d&O[b+1|0];L[c|0]=O[c|0]|e>>>g;L[c+1|0]=O[c+1|0]|e<<8>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}e=O[i+(a+e|0)|0];if(f&1){a=d&O[b|0];L[c|0]=a>>>g|e;e=O[c+1|0]|a<<8>>>g;L[c+1|0]=e;c=c+1|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){f=e;e=d&O[b|0];L[c|0]=f|e>>>g;e=O[c+1|0]|e<<8>>>g;L[c+1|0]=e;f=d&O[b+1|0];L[c+1|0]=e|f>>>g;e=O[c+2|0]|f<<8>>>g;L[c+2|0]=e;c=c+2|0;b=b+2|0;f=a-3|0;a=a-2|0;if(f>>>0<4294967294){continue}break}break a}if(!j){break a}if(f&1){L[c|0]=O[c|0]|(d&O[b|0])>>>g;c=c+h|0;b=b+1|0;a=f-1|0}else{a=f}if((f|0)==1){break a}while(1){L[c|0]=O[c|0]|(d&O[b|0])>>>g;c=c+h|0;L[c|0]=O[c|0]|(d&O[b+1|0])>>>g;b=b+2|0;c=c+h|0;e=a-3|0;a=a-2|0;if(e>>>0<4294967294){continue}break}break a}k=0;if(!f){break a}if(j>>>0>=8){while(1){a=f;d=j;f=c;while(1){e=b;L[f|0]=O[b|0]|O[f|0];i=d;d=d-8|0;f=f+1|0;b=b+1|0;if((i|0)>15){continue}break}if((i|0)>8){L[f|0]=O[f|0]|O[e+1|0]&65280>>>d;b=e+2|0}c=c+h|0;f=a-1|0;if((a|0)>1){continue}break a}}if(!j){break a}d=65280>>>j|0;e=f&3;if(e){a=0;while(1){L[c|0]=O[c|0]|d&O[b|0];c=c+h|0;b=b+1|0;a=a+1|0;if((e|0)!=(a|0)){continue}break}a=f&65532}else{a=f}if(f>>>0<4){break a}while(1){L[c|0]=O[c|0]|d&O[b|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+1|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+2|0];c=c+h|0;L[c|0]=O[c|0]|d&O[b+3|0];b=b+4|0;c=c+h|0;e=a-5|0;a=a-4|0;if(e>>>0<4294967294){continue}break}}return k|0}function HE(a,b,c){a=a|0;b=b|0;c=c|0;var 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;g=La-32|0;La=g;if(ib(c,b,20121,0)){o=xf(b,c,7,1,18,-1);l=N[c+68>>2];if(l){i=l-1|0;h=N[c+80>>2];e=h+3|0;d=O[h+15|0];a=0;while(1){a:{if((a|0)==(i|0)){a=l;break a}a=a+1|0;if(O[(e+T(a,20)|0)+12|0]==(d|0)){continue}}break}while(1){i=a;b:{if(!(1<<(d&15)&167)){break b}c:{if(i-f>>>0<2){break c}e=T(f,20)+h|0;if(O[e+18|0]!=18){break c}j=f+1|0;if(j>>>0>=i>>>0){break c}p=h+2|0;q=i-1|0;a=j;while(1){d:{n=T(a,20);k=O[(n+p|0)+16|0];if(k>>>0<=63){d=k&31;if((k&63)>>>0>=32){d=1<>>32-d}d=(m&2143289344|d&238)!=0}else{d=0}e:{if(!d){d=0;f:{g:{switch(k-44|0){default:if((k|0)!=12){break f}break;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break f;case 0:case 9:break g}}d=!(O[(h+n|0)+12|0]&32)}if(!d&(a|0)!=(q|0)){break d}if(!d){break e}}a=a-1|0}d=a+1|0;if(d-f>>>0>=2){Ib(c,f,d)}N[g+24>>2]=N[e+16>>2];d=e;e=N[d+12>>2];N[g+16>>2]=N[d+8>>2];N[g+20>>2]=e;e=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=e;F(d,T(j,20)+h|0,T(a-f|0,20));a=T(a,20)+h|0;N[a+16>>2]=N[g+24>>2];d=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=d;d=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=d;break c}a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(f>>>0>=i>>>0){break b}j=h+2|0;d=f;while(1){e=T(f,20);a=e+h|0;h:{i:{j:{k:{e=O[(e+j|0)+16|0];switch(e-44|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break i;case 0:case 9:break j;default:break k}}if((e|0)!=12){break i}}if(O[a+12|0]&32){break i}d=f+1|0;break h}if(!(1<>>0>31){break h}e=O[a+14|0];if(!(e&16)&(e&15)!=0|d>>>0>=f>>>0){break h}e=f+1|0;if(e-d>>>0>=2){Ib(c,d,e)}N[g+24>>2]=N[a+16>>2];e=N[a+12>>2];N[g+16>>2]=N[a+8>>2];N[g+20>>2]=e;e=N[a+4>>2];N[g+8>>2]=N[a>>2];N[g+12>>2]=e;a=T(d,20)+h|0;F(a+20|0,a,T(f-d|0,20));N[a+16>>2]=N[g+24>>2];e=N[g+20>>2];N[a+8>>2]=N[g+16>>2];N[a+12>>2]=e;e=N[g+12>>2];N[a>>2]=N[g+8>>2];N[a+4>>2]=e}f=f+1|0;if((i|0)!=(f|0)){continue}break}}a=N[c+68>>2];f=i+1|0;f=a>>>0>f>>>0?a:f;e=f-1|0;h=N[c+80>>2];j=h+3|0;d=O[(T(i,20)+h|0)+15|0];a=i;while(1){l:{if((a|0)==(e|0)){a=f;break l}a=a+1|0;if(O[(j+T(a,20)|0)+12|0]==(d|0)){continue}}break}f=i;if(l>>>0>f>>>0){continue}break}}ib(c,b,20142,0)}a=O[c+140|0];if(!(a&64)){ba(22742,14165,187,12136);B()}L[c+140|0]=a&191;La=g+32|0;return o|0}function Bo(a,b,c,d,e,f,g,h,i,j,k,l){var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;a:{m=N[a+24>>2];if(!m|(c|0)<=0|(m|0)<=0){break a}A=-1;while(1){b:{if(N[a+24>>2]<=0){break b}x=N[(t<<2)+b>>2];s=0;y=0;c:{d:{while(1){e:{f:{g:{h:{u=T(y,56);w=N[a+32>>2];C=u+w|0;r=N[C+12>>2];i:{if((r|0)>0){v=N[(u+w|0)+4>>2];o=0;while(1){n=N[v+(o<<2)>>2];m=x;while(1){j:{q=O[O[m|0]+25936|0];z=O[n|0];p=O[z+25936|0];if(!z){break j}m=m+1|0;n=n+1|0;if((p|0)==(q|0)){continue}}break}if((p|0)==(q|0)){break i}o=o+1|0;if((r|0)!=(o|0)){continue}break}}if(!d){break h}n=x;m=N[(u+w|0)+44>>2];if(!m){break h}while(1){k:{o=O[O[n|0]+25936|0];p=O[m|0];q=O[p+25936|0];if(!p){break k}n=n+1|0;m=m+1|0;if((o|0)==(q|0)){continue}}break}if((o|0)!=(q|0)){break h}}m=u+w|0;q=N[m+20>>2]-f|0;n=q>>31;p=N[m+24>>2]-e|0;o=p>>31;r=N[m+28>>2]-100|0;m=r>>31;n=(n^q)-n+((o^p)-o)+((m^r)-m)|0;break g}l:{m:{n:{q=u+w|0;v=N[q+16>>2];if((v|0)<=0){break n}z=N[q+8>>2];o=0;while(1){n=N[z+(o<<2)>>2];m=x;while(1){o:{p=O[O[m|0]+25936|0];D=O[n|0];r=O[D+25936|0];if(!D){break o}m=m+1|0;n=n+1|0;if((p|0)==(r|0)){continue}}break}if((p|0)!=(r|0)){o=o+1|0;if((v|0)==(o|0)){break n}continue}break}o=1;n=x;m=N[q+40>>2];if(m){break m}n=0;break l}n=x;m=N[q+40>>2];if(!m){break f}while(1){p:{o=O[O[n|0]+25936|0];r=O[m|0];p=O[r+25936|0];if(!r){break p}n=n+1|0;m=m+1|0;if((o|0)==(p|0)){continue}}break}if((o|0)!=(p|0)){break f}n=1;o=0;break l}while(1){q:{p=O[O[n|0]+25936|0];v=O[m|0];r=O[v+25936|0];if(!v){break q}n=n+1|0;m=m+1|0;if((p|0)==(r|0)){continue}}break}n=0;if((p|0)==(r|0)){break g}}m=N[q+48>>2];if(!m){break d}m=N[m+8>>2];if(!m){break d}m=Qa[m|0](N[q+52>>2])|0?n:o;n=0;if((m|0)!=1){break f}}L[l|0]=1;r:{if(n>>>0>=A>>>0){m=A;C=s;break r}o=u+w|0;m=N[o+48>>2];if(!m){break c}u=N[m+12>>2];if(!u){break c}m=n;if(!(Qa[u|0](N[o+52>>2],k)|0)){break f}}A=m;s=C;if(!n){break e}}y=y+1|0;if((y|0)>2]){continue}}break}if(!s){break b}a=N[s+48>>2];N[h>>2]=N[s+40>>2];N[i>>2]=N[s>>2];b=N[a+36>>2];s:{if(b){b=Qa[b|0](N[s+52>>2])|0;break s}b=N[s+36>>2]}N[g>>2]=b;t=N[s+32>>2];if(t){break a}N[j>>2]=N[a+4>>2];N[j+4>>2]=N[s+52>>2];t=N[s+40>>2];if(t){break a}t=N[N[s+4>>2]>>2];break a}ba(8834,17972,611,8862);B()}ba(14043,17972,711,14071);B()}t=t+1|0;if((t|0)!=(c|0)){continue}break}return 0}return t}function ek(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;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}i=O[h|0]|O[h+1|0]<<8;c:{d:{e:{if(c){n=(i|0)!=256;while(1){b=275552;f:{if(n){break f}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break f}b=h+((a<<8|a>>>8)&65535)|0}a=O[b|0]|O[b+1|0]<<8;if(a){l=(k<<2)+d|0;m=N[l>>2];o=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){j=a+b>>>1|0;g=T(j,6)+o|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g:{if(g>>>0>m>>>0){a=j-1|0;break g}if((g|0)==(m|0)){break e}b=j+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}k=k+1|0;if((k|0)!=(c|0)){continue}break}}b=275552;h:{if((i|0)!=256){break h}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break h}b=h+((a<<8|a>>>8)&65535)|0}i:{j:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){g=a+b>>>1|0;d=c+T(g,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);k:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1145457749){a=g-1|0;break k}if((d|0)==1414284868){break j}b=g+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}b=275552;l:{if((i|0)!=256){break l}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break l}b=h+((a<<8|a>>>8)&65535)|0}m:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){g=a+b>>>1|0;d=c+T(g,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);n:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1684434037){a=g-1|0;break n}if((d|0)==1953261156){break m}b=g+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}b=275552;o:{if((i|0)!=256){break o}a=O[h+4|0]|O[h+5|0]<<8;if(!a){break o}b=h+((a<<8|a>>>8)&65535)|0}p:{a=O[b|0]|O[b+1|0]<<8;if(a){c=b+2|0;a=((a<<8|a>>>8)&65535)-1|0;b=0;while(1){h=a+b>>>1|0;d=c+T(h,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);q:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1818326127){a=h-1|0;break q}if((d|0)==1853120876){break p}b=h+1|0}if((a|0)>=(b|0)){continue}break}}if(e){N[e>>2]=65535}a=65535;break i}if(e){N[e>>2]=h}a=1818326126;break i}if(e){N[e>>2]=g}a=1684434036;break i}if(e){N[e>>2]=g}a=1145457748}b=0;if(!f){break c}break d}if(e){N[e>>2]=j}if(!f){return 1}a=N[l>>2];b=1}N[f>>2]=a}return b}function eq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La+-64|0;La=j;a:{if(Q[a+16>>2]<=c>>>0){break a}if(N[b+84>>2]){N[j+40>>2]=0;N[j+48>>2]=2139095039;e=j;N[e+52>>2]=2139095039;N[e+56>>2]=-8388609;N[e+60>>2]=-8388609;L[e+44|0]=1;g=N[e+44>>2];N[e+8>>2]=N[e+40>>2];N[e+12>>2]=g;g=N[e+52>>2];N[e+16>>2]=N[e+48>>2];N[e+20>>2]=g;g=N[e+60>>2];N[e+24>>2]=N[e+56>>2];N[e+28>>2]=g;N[e+36>>2]=d;N[e+32>>2]=b;d=N[e+36>>2];N[e>>2]=N[e+32>>2];N[e+4>>2]=d;k=fj(a,b,c,e);break a}e=N[a+20>>2];e=N[(e?e:275552)+12>>2];k=1;b:{if(O[a+12|0]){e=e+(c<<1)|0;g=O[e|0]|O[e+1|0]<<8;f=((g<<8|g>>>8)&65535)<<1;e=O[e+2|0]|O[e+3|0]<<8;e=((e<<8|e>>>8)&65535)<<1;break b}e=e+(c<<2)|0;g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24)}if(e>>>0>>0){break a}g=N[a+24>>2];g=g?g:275552;if(e>>>0>Q[g+16>>2]){break a}i=e-f>>>0<10?275552:N[g+12>>2]+f|0;if(!(O[i|0]|O[i+1|0]<<8)){break a}a=N[a+4>>2];f=N[a>>2];c:{d:{if(f>>>0>c>>>0){if((c|0)<0){a=275552}else{a=N[a+20>>2];a=N[(a?a:275552)+12>>2]+(c<<2)|0}a=a+2|0;break d}if(Q[a+4>>2]<=c>>>0){a=O[i+6|0]|O[i+7|0]<<8;c=O[i+2|0]|O[i+3|0]<<8;a=(c<<8|c>>>8)<<16>>16>(a<<8|a>>>8)<<16>>16?a:c;a=a<<8|a>>>8;break c}e:{if((f|0)<0){h=275552;break e}h=N[a+20>>2];h=N[(h?h:275552)+12>>2]+(f<<2)|0;f=N[a>>2]}a=(c-f<<1)+h|0}a=O[a|0]|O[a+1|0]<<8;a=a<<8|a>>>8}h=a<<16;a=h>>31;e=N[b+56>>2];g=N[b+60>>2];a=UE(e,g,h>>16,a);f=Pa;a=a+32768|0;N[d>>2]=((a>>>0<32768?f+1|0:f)&65535)<<16|a>>>16;a=N[b+64>>2];b=N[b+68>>2];c=b;b=O[i+4|0]|O[i+5|0]<<8;l=(b<<8|b>>>8)<<16>>16;f=O[i+8|0]|O[i+9|0]<<8;m=(f<<8|f>>>8)<<16>>16;b=(l|0)<(m|0)?f:b;b=b<<8|b>>>8;h=b<<16;f=h>>31;f=UE(a,c,h>>16,f);h=Pa;f=f+32768|0;N[d+4>>2]=((f>>>0<32768?h+1|0:h)&65535)<<16|f>>>16;f=O[i+2|0]|O[i+3|0]<<8;n=(f<<8|f>>>8)<<16>>16;h=O[i+6|0]|O[i+7|0]<<8;o=(h<<8|h>>>8)<<16>>16;p=e;e=(n|0)<(o|0)?h:f;f=(n|0)>(o|0)?h:f;f=(e<<8|e>>>8)-(f<<8|f>>>8)<<16;h=f>>31;g=UE(p,g,f>>16,h);e=Pa;g=g+32768|0;N[d+8>>2]=((g>>>0<32768?e+1|0:e)&65535)<<16|g>>>16;e=(l|0)>(m|0)?i+8|0:i+4|0;e=O[e|0]|O[e+1|0]<<8;h=(e<<8|e>>>8)-b<<16;e=h>>31;b=UE(a,c,h>>16,e);a=Pa;b=b+32768|0;N[d+12>>2]=((b>>>0<32768?a+1|0:a)&65535)<<16|b>>>16}La=j- -64|0;return k}function Bd(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=La-128|0;La=h;q=S[c>>3];j=S[(f<<3)+e>>3];r=(q+S[d>>3])*j;S[h+104>>3]=r;o=j;j=S[c+8>>3];o=o*(j+S[d+8>>3]);S[h+112>>3]=o;a:{b:{if(f){i=N[b+4>>2];N[h+96>>2]=N[b>>2];N[h+100>>2]=i;i=N[c+12>>2];N[h+88>>2]=N[c+8>>2];N[h+92>>2]=i;l=N[c>>2];i=N[c+4>>2];c=N[h+116>>2];N[h+72>>2]=N[h+112>>2];N[h+76>>2]=c;N[h+80>>2]=l;N[h+84>>2]=i;c=N[h+108>>2];N[h+64>>2]=N[h+104>>2];N[h+68>>2]=c;c=0;i=f-1|0;if(!Bd(a,h+96|0,h+80|0,h- -64|0,e,i,g)){break b}f=N[b>>2];c=N[b+4>>2];b=N[h+116>>2];N[h+48>>2]=N[h+112>>2];N[h+52>>2]=b;b=N[h+108>>2];N[h+40>>2]=N[h+104>>2];N[h+44>>2]=b;N[h+56>>2]=f;N[h+60>>2]=c;b=N[d+12>>2];N[h+32>>2]=N[d+8>>2];N[h+36>>2]=b;b=N[d+4>>2];N[h+24>>2]=N[d>>2];N[h+28>>2]=b;c=Bd(a,h+56|0,h+40|0,h+24|0,e,i,g);break b}n=N[b+4>>2];j=j*S[a+24>>3];c:{if(V(j)<2147483648){e=~~j;break c}e=-2147483648}m=g&1;j=q*S[a+16>>3];d:{if(V(j)<2147483648){d=~~j;break d}d=-2147483648}l=N[b>>2];if(m){N[h+124>>2]=e+n;N[h+120>>2]=d+l;f=N[a>>2];c=N[h+124>>2];N[h+16>>2]=N[h+120>>2];N[h+20>>2]=c;c=0;if(!Fb(f,h+16|0,2)){break b}}i=g&2;if(i){N[h+124>>2]=n-e;N[h+120>>2]=l-d;d=N[a+4>>2];c=N[h+124>>2];N[h+8>>2]=N[h+120>>2];N[h+12>>2]=c;c=0;if(!Fb(d,h+8|0,2)){break b}}s=N[b+4>>2];j=o*S[a+24>>3];e:{if(V(j)<2147483648){f=~~j;break e}f=-2147483648}j=r*S[a+16>>3];f:{if(V(j)<2147483648){d=~~j;break f}d=-2147483648}n=N[b>>2];if(m){k=N[a>>2];p=N[k+4>>2];if(!p){break a}c=0;m=d+n|0;b=m>>31;if((b^m)-b>>>0>268435455){break b}b=f+s|0;e=b>>31;if((b^e)-e>>>0>268435455){break b}c=N[k>>2];g:{if(p>>>0>c>>>0){e=N[k+16>>2];break g}c=0;N[147316]=0;l=N[k+16>>2];h:{g=p<<1;if(g>>>0<=536870911){e=p<<4;e=$a(l,e>>>0<=1?1:e);if(e){break h}}N[147316]=48;N[k+16>>2]=l;break b}N[147316]=0;N[k+4>>2]=g;N[k+16>>2]=e;c=N[k>>2]}c=(c<<3)+e|0;N[c>>2]=m;N[c+4>>2]=b;N[k>>2]=N[k>>2]+1}c=1;if(!i){break b}i=N[a+4>>2];g=N[i+4>>2];if(!g){break a}c=0;e=n-d|0;a=e>>31;if((a^e)-a>>>0>268435455){break b}a=s-f|0;b=a>>31;if((a^b)-b>>>0>268435455){break b}c=N[i>>2];i:{if(g>>>0>c>>>0){b=N[i+16>>2];break i}c=0;N[147316]=0;d=g<<1;b=jd(N[i+16>>2],d,8);N[i+16>>2]=b;if(N[147316]){break b}N[i+4>>2]=d;c=N[i>>2]}b=(c<<3)+b|0;N[b>>2]=e;N[b+4>>2]=a;c=1;N[i>>2]=N[i>>2]+1}La=h+128|0;return c}ba(9920,18249,281,9160);B()}function _m(a,b){var c=0,d=0,e=0,f=0;f=N[N[a>>2]+96>>2];e=N[N[a+8>>2]+140>>2];if((e|0)>0){F(N[a+132>>2],N[a+136>>2],P[a+128>>1]<<3)}F(N[a+156>>2]+288|0,N[a+4>>2]+180|0,68);a:{if(b){c=N[a+156>>2];N[c+224>>2]=65536;N[c+228>>2]=65536;F(N[a+140>>2],N[a+136>>2],P[a+128>>1]<<3);break a}c=N[a+156>>2];d=N[N[a+4>>2]+44>>2];N[c+224>>2]=N[d+4>>2];N[c+228>>2]=N[d+8>>2]}c=N[a+136>>2]+(P[a+128>>1]<<3)|0;d=c-32|0;N[d>>2]=N[d>>2]+32&-64;d=c-24|0;N[d>>2]=N[d>>2]+32&-64;d=c-12|0;N[d>>2]=N[d>>2]+32&-64;c=c-4|0;N[c>>2]=N[c>>2]+32&-64;b:{if((e|0)>0){d=N[N[a+12>>2]- -64>>2];c=N[a+156>>2];L[c+592|0]=b;N[c+484>>2]=e;N[c+480>>2]=N[c+412>>2];b=N[a+124>>2];N[c+144>>2]=N[a+120>>2];N[c+148>>2]=b;b=N[a+132>>2];N[c+152>>2]=N[a+128>>2];N[c+156>>2]=b;b=N[a+140>>2];N[c+160>>2]=N[a+136>>2];N[c+164>>2]=b;b=N[a+148>>2];N[c+168>>2]=N[a+144>>2];N[c+172>>2]=b;N[c+176>>2]=N[a+152>>2];b=N[a+156>>2];N[b+368>>2]=0;N[b+360>>2]=3;c=N[b+148>>2];N[b+36>>2]=N[b+144>>2];N[b+40>>2]=c;N[b+372>>2]=N[b+484>>2];c=N[b+156>>2];N[b+44>>2]=N[b+152>>2];N[b+48>>2]=c;c=N[b+164>>2];N[b+52>>2]=N[b+160>>2];N[b+56>>2]=c;c=N[b+172>>2];N[b+60>>2]=N[b+168>>2];N[b+64>>2]=c;N[b+68>>2]=N[b+176>>2];N[b+364>>2]=N[b+480>>2];c=N[b+148>>2];N[b+72>>2]=N[b+144>>2];N[b+76>>2]=c;c=N[b+156>>2];N[b+80>>2]=N[b+152>>2];N[b+84>>2]=c;c=N[b+164>>2];N[b+88>>2]=N[b+160>>2];N[b+92>>2]=c;c=N[b+172>>2];N[b+96>>2]=N[b+168>>2];N[b+100>>2]=c;N[b+104>>2]=N[b+176>>2];N[b+140>>2]=N[b+176>>2];c=N[b+172>>2];N[b+132>>2]=N[b+168>>2];N[b+136>>2]=c;c=N[b+164>>2];N[b+124>>2]=N[b+160>>2];N[b+128>>2]=c;c=N[b+156>>2];N[b+116>>2]=N[b+152>>2];N[b+120>>2]=c;c=N[b+148>>2];N[b+108>>2]=N[b+144>>2];N[b+112>>2]=c;M[b+352>>1]=1;N[b+348>>2]=65537;M[b+298>>1]=16384;M[b+300>>1]=0;M[b+302>>1]=16384;M[b+304>>1]=0;N[b+316>>2]=1;M[b+294>>1]=16384;M[b+296>>1]=0;N[b+308>>2]=1;N[b+448>>2]=0;N[b+16>>2]=0;b=Qa[N[N[b>>2]+708>>2]](b)|0;c=N[a+156>>2];if(O[c+593|0]?b:0){break b}L[d|0]=O[d|0]|O[c+344|0]<<5|4}if(N[f+64>>2]==40){b=0;if(O[N[a+156>>2]+643|0]){break b}}b=N[a+136>>2]+(P[a+128>>1]<<3)|0;c=b-32|0;e=N[c+4>>2];N[a+68>>2]=N[c>>2];N[a+72>>2]=e;c=b-24|0;e=N[c+4>>2];N[a+76>>2]=N[c>>2];N[a+80>>2]=e;c=b-16|0;e=N[c+4>>2];N[a+180>>2]=N[c>>2];N[a+184>>2]=e;b=b-8|0;c=N[b+4>>2];N[a+188>>2]=N[b>>2];N[a+192>>2]=c;b=0}return b}function ik(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;e=La-32|0;La=e;a:{if(N[b+144>>2]!=64){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];l=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((l|0)==-1){break a}c=O[a+4|0]|O[a+5|0]<<8;g=(c<<8|c>>>8)&65535;d=((g<<1)+a|0)+6|0;c=O[d|0]|O[d+1|0]<<8;j=((((c<<8|c>>>8)&65535)<<1)+d|0)+2|0;c=O[j|0]|O[j+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=l>>>0){break a}N[e+28>>2]=0;N[e+24>>2]=0;k=a+6|0;h=La-16|0;La=h;c=N[b+96>>2];c=N[(O[c+62|0]?72:64)+c>>2];N[b+76>>2]=g;N[b+44>>2]=c;f=N[N[b+48>>2]+96>>2];N[b+80>>2]=N[f+68>>2];m=N[f+64>>2]==(c|0)?O[(N[f+80>>2]+T(c,20)|0)+15|0]:m;N[b+72>>2]=k;N[b+68>>2]=a;N[b- -64>>2]=247;L[b+63|0]=O[b+62|0]?m:0;b:{c:{if(!g){i=1;break c}f=b+44|0;c=0;while(1){if(!he(f,h+12|0)){N[e+28>>2]=N[h+12>>2];break b}c=c+1|0;i=g>>>0<=c>>>0;if((c|0)!=(g|0)){continue}break}c=N[f>>2]}N[e+28>>2]=c}La=h+16|0;d:{if(!i){break d}m=d+2|0;c=N[N[b+96>>2]+64>>2]+1|0;g=0;f=0;h=La-16|0;La=h;d=O[d|0]|O[d+1|0]<<8;d=(d<<8|d>>>8)&65535;N[b+76>>2]=d;i=c-1|0;N[b+44>>2]=i;k=N[N[b+48>>2]+96>>2];N[b+80>>2]=N[k+68>>2];f=(i|0)==N[k+64>>2]?O[(N[k+80>>2]+T(i,20)|0)+15|0]:f;N[b+72>>2]=m;N[b+68>>2]=a;N[b- -64>>2]=247;L[b+63|0]=O[b+62|0]?f:0;e:{f:{if(!d){g=1;break f}c=b+44|0;a=0;while(1){if(!kc(c,h+12|0)){N[e+24>>2]=N[h+12>>2];break e}a=a+1|0;g=d>>>0<=a>>>0;if((a|0)!=(d|0)){continue}break}c=N[c>>2]+1|0}N[e+24>>2]=c}La=h+16|0;if(!g){break d}wb(N[b+96>>2],3,N[e+28>>2],N[e+24>>2],1,1);a=N[b+96>>2];if(N[a+156>>2]){c=N[b+88>>2];N[e+16>>2]=N[a+64>>2];ib(a,c,22942,e+16|0)}a=O[j|0]|O[j+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=l>>>0?275552:((l<<1)+j|0)+2|0;a=O[a|0]|O[a+1|0]<<8;d=(a<<8|a>>>8)&65535;N[b+116>>2]=N[b+116>>2]|1<<(d>>>4);N[b+120>>2]=N[b+120>>2]|1<>2]=N[b+124>>2]|1<<(d>>>9);a=N[b+160>>2];if((a|0)!=-1){c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=a}a=N[b+96>>2];c=N[a+80>>2]+T(N[a+64>>2],20)|0;a=P[c+12>>1]|16;if(O[b+148|0]){a=Uc(N[b+104>>2],d)|a&112}M[c+12>>1]=a;a=N[b+96>>2];N[N[a+80>>2]+T(N[a+64>>2],20)>>2]=d;n=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e>>2]=N[a+64>>2];ib(a,b,22996,e);break a}a=N[b+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,N[e+28>>2],N[e+24>>2],0,1)}La=e+32|0;return n}function uq(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;l=T(b,c)+a|0;if(b>>>0>=10){m=0-c|0;while(1){g=a+c|0;d=P[g>>1];h=T(b>>>1|0,c)+a|0;e=P[h>>1];f=d>>>0>e>>>0;i=T(b-1|0,c);k=i+a|0;b=k+m|0;j=P[b>>1];n=f?g:h;a:{if(j>>>0>=(f?d:e)>>>0){break a}n=j>>>0<(d>>>0>>0?d:e)>>>0?f?h:g:b}b=n;if((b|0)!=(k|0)){e=b+c|0;d=k;while(1){f=O[b|0];L[b|0]=O[d|0];L[d|0]=f;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}}h=k;f=h;g=a;e=g;b:{if((i|0)<=0){e=0;break b}while(1){c:{b=P[e>>1];d=P[k>>1];if(b>>>0<=d>>>0){if((b|0)==(d|0)){if(e>>>0>g>>>0){i=c+g|0;b=g;d=e;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}g=c+g|0}e=c+e|0;if(f>>>0>e>>>0){continue}break c}d:{if(e>>>0>=f>>>0){break d}while(1){j=f;e:{f:{f=f+m|0;b=P[f>>1];d=P[k>>1];if((b|0)==(d|0)){i=h+m|0;if(h>>>0<=j>>>0){break f}b=f;d=i;while(1){h=O[b|0];L[b|0]=O[d|0];L[d|0]=h;d=d+1|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}break f}if(b>>>0>=d>>>0){break e}if(e>>>0>>0){i=c+e|0;b=e;d=f;while(1){j=O[b|0];L[b|0]=O[d|0];L[d|0]=j;d=d+1|0;b=b+1|0;if(i>>>0>b>>>0){continue}break}}e=c+e|0;break d}h=i}if(e>>>0>>0){continue}break}}if(e>>>0>>0){continue}}break}i=f-g|0;g:{if((a|0)==(g|0)|(f|0)==(g|0)){break g}b=g-a|0;if(b>>>0>i>>>0){if((i|0)<=0){break g}e=a+i|0;b=a+b|0;d=a;while(1){g=O[d|0];L[d|0]=O[b|0];L[b|0]=g;b=b+1|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}break g}if((b|0)<=0){break g}e=a+b|0;b=a+i|0;d=a;while(1){g=O[d|0];L[d|0]=O[b|0];L[b|0]=g;b=b+1|0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}e=h-f|0;if((f|0)==(h|0)|(h|0)==(l|0)){break b}b=l-h|0;if(b>>>0>>0){if((b|0)<=0){break b}d=b+f|0;b=e+f|0;while(1){g=O[f|0];L[f|0]=O[b|0];L[b|0]=g;b=b+1|0;f=f+1|0;if(d>>>0>f>>>0){continue}break}break b}if((e|0)<=0){break b}d=e+f|0;b=b+f|0;while(1){g=O[f|0];L[f|0]=O[b|0];L[b|0]=g;b=b+1|0;f=f+1|0;if(d>>>0>f>>>0){continue}break}}uq(a,(i>>>0)/(c>>>0)|0,c);a=l-e|0;b=(e>>>0)/(c>>>0)|0;l=a+T(c,b)|0;if(b>>>0>=10){continue}break}}g=a+c|0;if(l>>>0>g>>>0){h=0-c|0;while(1){e=g;h:{if(e>>>0<=a>>>0){break h}while(1){f=e+h|0;if(P[f>>1]<=P[e>>1]){break h}b=f;d=e;while(1){k=O[b|0];L[b|0]=O[d|0];L[d|0]=k;d=d+1|0;b=b+1|0;if(e>>>0>b>>>0){continue}break}e=f;if(f>>>0>a>>>0){continue}break}}g=c+g|0;if(l>>>0>g>>>0){continue}break}}}function ip(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,o=0,p=0,q=0;m=La-16|0;La=m;k=N[a+12>>2];if(k){N[(N[a+20>>2]+(k<<4)|0)-4>>2]=b}b=0;i=N[a+24>>2];a:{if((i|0)<2){break a}k=i;while(1){q=k;l=N[a+32>>2];k=k-1|0;b=l+(k<<4)|0;n=N[b>>2];d=N[b+8>>2];f=q-2|0;while(1){b:{e=l+(f<<4)|0;b=N[e+8>>2];c:{e=N[e>>2];g=e>>>0>n>>>0?n:e;d:{e:{if(g>>>0<8){h=d;break e}e=(g-8>>>3|0)+1|0;j=e+b|0;h=d+e|0;e=d;while(1){if(O[b|0]&O[e|0]){break d}b=b+1|0;e=e+1|0;g=g-8|0;if(g>>>0>7){continue}break}b=j}if(!g|!(O[b|0]&O[h|0]&-256>>g)){break c}}o=f>>>0>k>>>0?f:k;b=f>>>0>>0?f:k;if(o>>>0<=b>>>0|i>>>0<=o>>>0){break b}j=l+(o<<4)|0;g=N[j>>2];f:{if(!g){break f}h=l+(b<<4)|0;e=N[h>>2];g:{if(e>>>0>=g>>>0){i=g+7|0;f=i>>>3|0;break g}i=g+7|0;f=i>>>3|0;d=N[h+4>>2]+7|0;n=d>>>3|0;if(f>>>0>n>>>0){b=N[h+8>>2];h:{i:{l=f+7&1073741816;j:{if(!l){d=0;if(!b){break j}Qa[N[c+8>>2]](c,b);N[h+8>>2]=0;break h}k:{if(d>>>0<=7){d=Qa[N[c+4>>2]](c,l)|0;b=!d<<6;break k}p=Qa[N[c+12>>2]](c,n,l,b)|0;d=p?p:b;b=!p<<6}if(b|l>>>0<=n>>>0|!d){break i}C(d+n|0,0,l-n|0)}N[h+8>>2]=d;break h}N[h+8>>2]=d;if(b){break a}}N[h+4>>2]=l<<3}d=e+1|0;b=e;l:{if(!(g-b&1)){break l}b=d;if(e>>>0>=Q[h>>2]){break l}b=N[h+8>>2]+(e>>>3|0)|0;L[b|0]=O[b|0]&-129>>(e&7);b=d}if((d|0)==(g|0)){break g}while(1){d=N[h>>2];if(d>>>0>b>>>0){d=N[h+8>>2]+(b>>>3|0)|0;L[d|0]=O[d|0]&-129>>(b&7);d=N[h>>2]}e=d;d=b+1|0;if(e>>>0>d>>>0){e=N[h+8>>2]+(d>>>3|0)|0;L[e|0]=O[e|0]&-129>>(d&7)}b=b+2|0;if((g|0)!=(b|0)){continue}break}}if(i>>>0<8){break f}d=f-1|0;e=N[j+8>>2];b=N[h+8>>2];i=f&3;if(i){f=f&536870908;g=0;while(1){L[b|0]=O[e|0]|O[b|0];e=e+1|0;b=b+1|0;g=g+1|0;if((i|0)!=(g|0)){continue}break}}if(d>>>0<3){break f}while(1){L[b|0]=O[e|0]|O[b|0];L[b+1|0]=O[e+1|0]|O[b+1|0];L[b+2|0]=O[e+2|0]|O[b+2|0];L[b+3|0]=O[e+3|0]|O[b+3|0];e=e+4|0;b=b+4|0;f=f-4|0;if(f){continue}break}}N[j>>2]=0;N[j+12>>2]=0;b=N[a+24>>2];d=b+(o^-1)|0;if((d|0)>0){b=N[j+12>>2];N[m+8>>2]=N[j+8>>2];N[m+12>>2]=b;b=N[j+4>>2];N[m>>2]=N[j>>2];N[m+4>>2]=b;b=d<<4;F(j,j+16|0,b);d=N[m+12>>2];b=b+j|0;N[b+8>>2]=N[m+8>>2];N[b+12>>2]=d;d=N[m+4>>2];N[b>>2]=N[m>>2];N[b+4>>2]=d;b=N[a+24>>2]}i=b-1|0;N[a+24>>2]=i;break b}b=(f|0)>0;f=f-1|0;if(b){continue}}break}if((q|0)>2){continue}break}b=0}La=m+16|0;return b}function Wb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 0}b=N[a>>2];a=N[a+4>>2];if(!b){b=a;a=a>>31;return(b^a)-a|0}c=b>>31;c=(c^b)-c|0;if(a){d=c;c=a>>31;h=d|(c^a)-c;f=W(h);i=f-2|0;a:{if(h>>>0<=1073741823){a=a<>c;b=b>>c}e=0-a|0;c=0-b|0;b:{if((a|0)>(b|0)){b=(a|0)>(c|0);d=b?c:e;a=b?a:c;break b}d=a;a=(a|0)<(c|0);d=a?b:d;a=a?e:b}b=d+1>>1;c=(d|0)>0;b=a+(c?b:0-b|0)|0;a=a+1>>1;a=(c?0-a|0:a)+d|0;c=a+2>>2;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+2>>2;a=a+(d?0-b|0:b)|0;b=a+4>>3;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+4>>3;a=a+(d?0-c|0:c)|0;c=a+8>>4;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+8>>4;a=a+(d?0-b|0:b)|0;b=a+16>>5;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+16>>5;a=a+(d?0-c|0:c)|0;c=a+32>>6;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+32>>6;a=a+(d?0-b|0:b)|0;b=a- -64>>7;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c- -64>>7;a=a+(d?0-c|0:c)|0;c=a+128>>8;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+128>>8;a=a+(d?0-b|0:b)|0;b=a+256>>9;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+256>>9;a=a+(d?0-c|0:c)|0;c=a+512>>10;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+512>>10;a=a+(d?0-b|0:b)|0;b=a+1024>>11;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+1024>>11;a=a+(d?0-c|0:c)|0;c=a+2048>>12;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+2048>>12;a=a+(d?0-b|0:b)|0;b=a+4096>>13;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+4096>>13;a=a+(d?0-c|0:c)|0;c=a- -8192>>14;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b- -8192>>14;a=a+(d?0-b|0:b)|0;b=a+16384>>15;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+16384>>15;a=a+(d?0-c|0:c)|0;c=a+32768>>16;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+32768>>16;a=a+(d?0-b|0:b)|0;b=a+65536>>17;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+65536>>17;a=a+(d?0-c|0:c)|0;c=a+131072>>18;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+131072>>18;a=a+(d?0-b|0:b)|0;b=a+262144>>19;d=(a|0)>0;b=c+(d?b:0-b|0)|0;c=c+262144>>19;a=a+(d?0-c|0:c)|0;c=a+524288>>20;d=(a|0)>0;c=b+(d?c:0-c|0)|0;b=b+524288>>20;a=a+(d?0-b|0:b)|0;b=a- -1048576>>21;d=c- -1048576>>21;g=0-d|0;e=d;d=(a|0)>0;e=a+(d?g:e)|0;a=e+2097152>>22;a=(c+(d?b:0-b|0)|0)+((e|0)>0?a:0-a|0)|0;b=a>>31;c=(a^b)-b|0;d=c&65535;b=T(d,56281);e=c>>>16|0;c=b+T(e,23318)|0;g=c<<16;d=g+T(d,23318)|0;b=(((T(e,56281)+(c>>>16|0)|0)+((b>>>0>c>>>0)<<16)|0)+(d>>>0>>0)|0)+(d>>>0>3221225471)|0;a=(a|0)<0?0-b|0:b;if(h>>>0<=536870911){return a+(1<>i}c=a<<2-f}return c}function At(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=La-16|0;La=f;i=N[b+28>>2];N[a+368>>2]=b;c=Qa[N[a+516>>2]](a,1851878757,b,f+8|0)|0;a:{if(c){break a}k=N[b+8>>2];c=rb(b,179040,a+344|0);if(c){break a}c=145;l=k+6|0;e=N[a+348>>2];g=l+T(e,12)|0;j=N[f+8>>2]+k|0;if(g>>>0>j>>>0){break a}if(P[a+344>>1]==1){d=N[b+20>>2];b:{if(d){c=85;if(!(Qa[d|0](b,g,0,0)|0)){break b}break a}c=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=g;N[f+12>>2]=0;d=xb(b,f+12|0);N[a+360>>2]=d;c=N[f+12>>2];if(c){break a}m=a,n=lb(i,12,0,d,0,f+12|0),N[m+364>>2]=n;c=N[f+12>>2];if(c){break a}c=Bb(b,N[a+360>>2]<<2);if(c){break a}g=((d<<2)+g|0)+2|0;c=N[a+364>>2];c:{if(!c){break c}d=N[a+360>>2];if((d|0)<=0){break c}h=T(d,12)+c|0;while(1){d=rb(b,179100,c);e=N[c+4>>2]+(N[a+352>>2]+k|0)|0;N[c+4>>2]=e;if(!(e+P[c>>1]>>>0<=j>>>0&e>>>0>=g>>>0)){M[c>>1]=0}c=c+12|0;if(h>>>0>c>>>0){continue}break}N[f+12>>2]=d}d:{e:{f:{c=N[b+20>>2];if(!c){N[b+32>>2]=0;N[b+36>>2]=0;break f}h=N[b>>2];g:{if(!h){N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;break g}d=N[b+28>>2];Qa[N[d+8>>2]](d,h);N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;c=N[b+20>>2];if(!c){break f}}if(Qa[c|0](b,l,0,0)|0){break d}break e}if(Q[b+4>>2]>>0){break d}}N[b+8>>2]=l}e=N[a+348>>2]}c=0;h:{if((e|0)<0){c=6;break h}i:{j:{if(e){c=10;if((e|0)>107374182){break h}d=T(e,20);c=Qa[N[i+4>>2]](i,d)|0;if(!c|(e|0)<=0){break j}C(c,0,d)}N[a+356>>2]=c;break i}N[a+356>>2]=c;if(c){break i}c=!c<<6;break a}c=Bb(b,T(N[a+348>>2],12));N[f+12>>2]=c;if(c){break a}d=N[a+356>>2];e=N[a+348>>2];k:{if(!e){c=d;j=0;break k}c=d;while(1){d=rb(b,179072,c);N[f+12>>2]=d;l:{if(d){break l}d=P[c+8>>1];if(!d){break l}h=N[c+12>>2]+(N[a+352>>2]+k|0)|0;N[c+12>>2]=h;if(g>>>0>h>>>0|d+h>>>0>j>>>0){break l}m:{if(P[a+344>>1]!=1){break m}d=M[c+4>>1];if((d|0)>=0){break m}d=(d&65535)-32768|0;if(d>>>0>=Q[a+360>>2]|!P[N[a+364>>2]+T(d,12)>>1]){break l}}c=c+20|0}e=e-1|0;if(e){continue}break}d=N[a+356>>2];j=N[a+348>>2]}c=(c-d|0)/20|0;d=lb(i,20,j,c,d,f+12|0);N[a+348>>2]=c;N[a+356>>2]=d;if(N[b+20>>2]){i=N[b>>2];if(i){d=N[b+28>>2];Qa[N[d+8>>2]](d,i);c=N[a+348>>2]}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;M[a+340>>1]=c;c=N[f+12>>2];break a}N[a+356>>2]=0}La=f+16|0;return c|0}function pb(a,b){var 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;c=a;while(1){n=L[c|0];if(!(!(n-9>>>0<4|(n|0)==32)&(n|0)!=13)){c=c+1|0;continue}break}g=((n|0)==45|(n|0)==43)+c|0;c=0;d=-1;f=-1;while(1){a:{i=L[g|0];b:{if(i-58>>>0<=4294967285){if((i|0)!=46|(d|0)!=-1){break a}d=c;break b}f=(i|0)!=48?(f|0)==-1?c:f:f}c=c+1|0;g=g+1|0;continue}break}j=(f|0)==-1?c:f;l=j-(d>>>0>>0)|0;m=(d|0)!=-1;e=c-m|0;e=e-l>>>0>18?l+18|0:e;p=0;c:{if(!e){break c}o=i&255;a=m?d:c;m=a>>>0>>0;f=m?e-a|0:a-e|0;c=(j-c|0)+g|0;i=e-l|0;d:{e:{if((i|0)>=10){if((i|0)!=10){a=i-9|0;j=a&1;e=a&-2;a=0;while(1){d=O[c|0];if((d|0)!=46){c=c+1|0}else{d=O[c+1|0];c=c+2|0}l=((d<<24>>24)+T(k,10)|0)-48|0;d=O[c|0];if((d|0)!=46){c=c+1|0}else{d=O[c+1|0];c=c+2|0}k=((d<<24>>24)+T(l,10)|0)-48|0;a=a+2|0;if((e|0)!=(a|0)){continue}break}e=9;if(!j){break e}}e=O[c|0];if((e|0)!=46){c=c+1|0}else{e=O[c+1|0];c=c+2|0}k=((e<<24>>24)+T(k,10)|0)-48|0;e=9;break e}a=0;e=i;if((e|0)<=0){break d}}a=0;while(1){d=O[c|0];if((d|0)!=46){c=c+1|0}else{d=O[c+1|0];c=c+2|0}a=((d<<24>>24)+T(a,10)|0)-48|0;d=(e|0)>1;e=e-1|0;if(d){continue}break}}q=+(k|0)*1e9+ +(a|0);f:{g:{h:{if((o|32)!=101){e=m;a=g;break h}c=g+1|0;e=0;i:{j:{switch(O[g+1|0]-43|0){case 2:c=g+2|0;e=1;break i;case 0:break j;default:break i}}c=g+2|0}r=(e|0)!=(m|0);k:{if(!r){a=0;if(f>>>0>511){break k}a=((511-f&65535)>>>0)/10|0;break k}a=(f>>>0)/10|0;a=((((T(a,65526)+f|0)+511&65535)>>>0)/10|0)+a|0}l=a;k=0;g=L[c|0];o=g-48|0;l:{if(o>>>0>9){a=c;d=0;break l}d=0;while(1){j=d;if(!(!(k&1)&d>>>0<=l>>>0)){while(1){d=L[c+1|0];a=c+1|0;c=a;if(d-58>>>0>=4294967286){continue}break g}}d=T(j,10)+o|0;s=(47-g>>>0)/10|0;k=j>>>0>s>>>0;g=L[c+1|0];a=c+1|0;c=a;o=g-48|0;if(o>>>0<10){continue}break}k=j>>>0>s>>>0}if(r){if(!(!k&d>>>0>>0)){f=d-f|0;break h}c=f-d|0}else{c=d+f|0}f=c;e=m}if(f>>>0<512){break f}}f=511;if(q==0){break f}N[147316]=68}c=26192;if(!(!e|f>>>0<309)){h=1;if(i){g=26192;c=i;while(1){h=c&1?h*S[g>>3]:h;g=g+8|0;e=c>>>0>1;c=c>>>1|0;if(e){continue}break}}f=f-i|0;q=q/h;e=0;c=26272}h=1;if(f){while(1){h=f&1?h*S[c>>3]:h;c=c+8|0;d=f>>>0>1;f=f>>>1|0;if(d){continue}break}}p=q/h;if(e){break c}p=q*h}h=p;if(b){N[b>>2]=a}return(n|0)==45?-h:h}function Mj(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{f=N[a+96>>2];b:{if(!N[f+68>>2]){break b}e=N[a+132>>2];if(!e){break b}d=O[b+2|0]|O[b+3|0]<<8;h=d<<8|d>>>8;d=h&65535;if(h&16){g=d;d=O[b+4|0]|O[b+5|0]<<8;d=(((d<<8|d>>>8)&65535)<<1)+b|0;d=O[d+6|0]|O[d+7|0]<<8;d=g|(d<<24|d<<8&16711680)}N[a+140>>2]=d;N[a+32>>2]=0;N[a+8>>2]=a;N[a+24>>2]=0;N[a+28>>2]=0;N[a+12>>2]=d;L[a+21|0]=O[a+150|0];N[a+16>>2]=e;N[a+72>>2]=0;N[a+48>>2]=a;e=O[a+151|0];L[a+22|0]=e;h=a- -64|0;N[h>>2]=0;N[h+4>>2]=0;N[a+52>>2]=d;L[a+61|0]=1;d=N[a+84>>2]==1;L[a+20|0]=d;L[a+60|0]=d|O[a+149|0]!=0;L[a+62|0]=e;N[a+56>>2]=-1;d=O[b|0]|O[b+1|0]<<8;c:{if((d|0)!=1792){if((d|0)!=2048){break c}break a}d=275552;e=O[b+4|0]|O[b+5|0]<<8?b+6|0:275552;e=O[e|0]|O[e+1|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+b|0}if((O[d|0]|O[d+1|0]<<8)!=256){break c}if((O[d+2|0]|O[d+3|0]<<8)==2048){break a}}N[f+72>>2]=0;M[f+62>>1]=1;N[f+64>>2]=0;N[f+84>>2]=N[f+80>>2];Lj(a,c);Ac(f)}return}if(!O[f+62|0]){N[f+64>>2]=N[f+68>>2]-1;f=N[a+96>>2];b=N[f+64>>2];while(1){b=N[f+80>>2]+T(b,20)|0;e=N[b>>2];d:{if(!(N[c>>2]>>>(e>>>4)&1)|!(N[c+4>>2]>>>e&1)|(!(N[c+8>>2]>>>(e>>>9)&1)|!(N[a+132>>2]&N[b+4>>2]))){break d}h=N[a+140>>2];b=P[b+12>>1];if(h&b&14){break d}e:{if(!(b&8)){break e}if(h&16){d=275552;b=N[a+104>>2];f:{if((O[b|0]|O[b+1|0]<<8)!=256){break f}g=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<65538){break f}g=O[b+12|0]|O[b+13|0]<<8;if(!g){break f}d=b+((g<<8|g>>>8)&65535)|0}if((O[d|0]|O[d+1|0]<<8)!=256){break d}b=O[d+2|0]|O[d+3|0]<<8;g=(b<<8|b>>>8)&65535;b=h>>>16|0;if(g>>>0>b>>>0){b=((b<<2)+d|0)+4|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+d|0}else{b=275552}if((vb(b,e)|0)!=-1){break e}break d}d=h&65280;if(!d){break e}if((d|0)!=(b&65280)){break d}}d=N[c+16>>2];if(!d){break d}b=N[c+20>>2];while(1){e=N[a+96>>2];e=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];if(!(!(N[b+16>>2]>>>(e>>>4)&1)|!(N[b+20>>2]>>>e&1)|!(N[b+24>>2]>>>(e>>>9)&1))){if(Qa[N[b+4>>2]](N[b>>2],a)|0){break d}}b=b+28|0;d=d-1|0;if(d){continue}break}}b=N[f+64>>2]-1|0;N[f+64>>2]=b;if((b|0)>=0){continue}break}return}ba(8640,17822,1889,14549);B()}function Ib(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{if(N[a+20>>2]==2){e=N[a+68>>2];f=c>>>0>e>>>0?e:c;j=f-b|0;if(j>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=f>>>0){break a}h=N[a+80>>2];d=-1;e=b;l=(b^-1)+f|0;if(l>>>0>=3){k=j&-4;while(1){c=T(e,20)+h|0;i=N[c+8>>2];d=d>>>0>>0?d:i;i=N[c+28>>2];d=d>>>0>>0?d:i;i=N[c+48>>2];d=d>>>0>>0?d:i;c=N[c+68>>2];d=c>>>0>d>>>0?d:c;e=e+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}k=j&3;if(k){c=0;while(1){i=N[(T(e,20)+h|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;c=c+1|0;if((k|0)!=(c|0)){continue}break}}if(j&1){c=T(b,20)+h|0;if(N[c+8>>2]!=(d|0)){N[c+4>>2]=N[c+4>>2]|3}b=b+1|0}if(!l){break a}while(1){c=T(b,20)+h|0;if(N[c+8>>2]!=(d|0)){g=g|32;N[a+144>>2]=g;N[c+4>>2]=N[c+4>>2]|3}c=T(b+1|0,20)+h|0;if(N[c+8>>2]!=(d|0)){g=g|32;N[a+144>>2]=g;N[c+4>>2]=N[c+4>>2]|3}b=b+2|0;if((f|0)!=(b|0)){continue}break}break a}h=N[a+80>>2];j=N[(h+T(b,20)|0)+8>>2];d=j;e=b+1|0;b:{if(e>>>0>=c>>>0){break b}l=(c-b|0)-2|0;f=(b^-1)+c&3;if(f){k=b+f|0;while(1){i=N[(h+T(e,20)|0)+8>>2];d=d>>>0>>0?d:i;e=e+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}e=k+1|0}if(l>>>0<=2){break b}while(1){g=h+T(e,20)|0;f=N[g+8>>2];d=d>>>0>>0?d:f;f=N[g+28>>2];d=d>>>0>>0?d:f;f=N[g+48>>2];d=d>>>0>>0?d:f;g=N[g+68>>2];d=d>>>0>>0?d:g;e=e+4|0;if((e|0)!=(c|0)){continue}break}}e=N[a+68>>2];c:{if(e>>>0<=c>>>0){break c}while(1){g=h+T(c,20)|0;if(N[g-12>>2]!=N[g+8>>2]){break c}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=e}f=N[a+64>>2];g=b>>>0>f>>>0?f:b;while(1){d:{e=b;if(b>>>0<=f>>>0){e=g;break d}b=e-1|0;if((j|0)==N[(h+T(b,20)|0)+8>>2]){continue}}break}e:{if((e|0)!=(f|0)){break e}b=N[a+72>>2];if(!b){break e}g=h+T(f,20)|0;f=N[a+84>>2];while(1){b=b-1|0;a=f+T(b,20)|0;j=N[a+8>>2];if((j|0)!=N[g+8>>2]){break e}if((d|0)!=(j|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;if(b){continue}break}}if(c>>>0<=e>>>0){break a}a=e+1|0;if(c-e&1){b=h+T(e,20)|0;if(N[b+8>>2]!=(d|0)){N[b+4>>2]=N[b+4>>2]&-8}N[b+8>>2]=d;e=a}if((a|0)==(c|0)){break a}while(1){a=h+T(e,20)|0;if(N[a+8>>2]!=(d|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;a=h+T(e+1|0,20)|0;if(N[a+8>>2]!=(d|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=d;e=e+2|0;if((e|0)!=(c|0)){continue}break}}}function Vi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;e=La-32|0;La=e;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;if(!(!c|(!a|!b))){n=N[N[a+12>>2]+24>>2];g=N[b+16>>2];f=N[b+8>>2];N[e+12>>2]=3;Bl(N[(f<<2)+293344>>2],0,e+12|0,e,0,0);f=N[e+12>>2];h=f?N[e>>2]:0;N[e+16>>2]=h;i=f>>>0>1?N[e+4>>2]:0;N[e+20>>2]=i;N[e+24>>2]=f>>>0>2?N[e+8>>2]:0;f=N[(g<<2)+293296>>2];a:{b:{if(d){if(!h){N[e+16>>2]=1145457748;break b}if((i|0)==1145457748){break b}if(!i){N[e+20>>2]=1145457748;break b}N[e+24>>2]=1145457748;break b}i=0;g=0;if((h|0)==1145457748){break a}}j=db(1,52);c:{if(!j){j=275552;break c}N[j>>2]=1;N[j+4>>2]=1;L[j+12|0]=1}Zj(n,1196643650,e+16|0,f,j);if(_j(j+12|0)){i=0;g=0;break a}g=db(1,52);d:{if(!g){g=275552;break d}N[g>>2]=1;N[g+4>>2]=1;L[g+12|0]=1}N[e>>2]=-1;while(1){if(Te(j,e)){Yj(n,1196643650,N[e>>2],0,g);continue}break}i=275552;o=275552;d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;o=d}Zj(n,1196445523,e+16|0,f,o);d=db(1,52);if(d){N[d>>2]=1;N[d+4>>2]=1;L[d+12|0]=1;i=d}N[e>>2]=-1;while(1){if(Te(o,e)){Yj(n,1196445523,N[e>>2],i,0);continue}break}e:{if(N[b+16>>2]==10){break e}p=(N[b+12>>2]<<3)+283472|0;d=N[p>>2];if((d|0)==5531){break a}f=0;while(1){h=d+277936|0;d=O[h|0];if(d){while(1){l=d&255;h=h+1|0;if(d<<24>>24<0){d=l>>>0<240;k=l>>>0<224;m=k?1:d?2:3;l=(k?31:d?15:7)&l;k=0;d=h;while(1){l=O[d|0]&63|l<<6;d=d+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}h=h+m|0}N[e>>2]=-1;while(1){f:{if(!Te(j,e)){d=f;break f}d=0;m=N[a>>2];g:{if(!m){break g}k=N[m+92>>2];if(!k){break g}d=Qa[N[N[k+12>>2]+12>>2]](k,l)|0;d=d>>>0>2]?d:0}N[e+12>>2]=d;d=1;if(!Dc(n,N[e>>2],e+12|0,1,1)){continue}}break}f=d;d=O[h|0];if(d){continue}break}}d=N[p+8>>2];p=p+8|0;if((d|0)!=5531){continue}break}if(!(f&255)){break a}if(N[b+16>>2]==10){break e}f=i+12|0;d=g+12|0;h=O[g+48|0];h:{if((h|0)==O[i+48|0]){if(h){Nf(d,200,0,1,f);break h}Nf(d,201,1,0,f);break h}if(h){Nf(d,202,1,1,f);break h}Nf(d,203,0,0,f)}if(O[d|0]){L[g+48|0]=!O[i+48|0]&O[g+48|0]!=0}}N[e>>2]=-1;while(1){if(!Te(g,e)){break a}d=N[e>>2];if(d>>>0>=Q[a+4>>2]){continue}d=(d<<1)+c|0;if(P[d>>1]!=16383){continue}M[d>>1]=N[b>>2];continue}}Ue(j);Ue(g);Ue(o);Ue(i)}La=e+32|0}function Kc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=La-48|0;La=j;N[a+8>>2]=0;g=N[a+4>>2];if(g){N[N[a>>2]>>2]=441572;N[N[a>>2]+4>>2]=441572;N[N[a>>2]+8>>2]=441572;N[N[a>>2]+12>>2]=441572;N[N[a>>2]+16>>2]=441572}a:{if(!d){break a}e=O[c|0];if(!e){break a}h=6;if(!b){break a}f=O[b|0];if(!f){break a}N[j+24>>2]=0;N[j+28>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+8>>2]=0;N[j+12>>2]=0;N[j>>2]=0;N[j+4>>2]=0;while(1){b:{c:{d:{i=f&255;if((i|0)!=43){if(!i){break d}i=O[b+1|0];break c}i=O[b+1|0];if(i){break c}k=1;i=0;break b}e:{if((d|0)<=0){h=0;f=0;break e}l=c+d|0;while(1){f=c;while(1){f:{if(O[((e&248)>>>3|0)+j|0]>>>(e&7)&1){i=f;break f}e=O[f+1|0];i=f+1|0;f=i;if(e){continue}}break}e=N[a+8>>2];g=N[a+4>>2];g:{if((e|0)!=(g|0)){break g}if((e|0)==-1){g=e;break g}if((e|0)==536870911){h=64;break a}b=((e>>>1|0)+e|0)+5|0;g=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;if((g|e)<0){h=6;break a}f=N[a>>2];d=N[a+12>>2];h:{i:{j:{if(!g){b=0;if(!f){break j}Qa[N[d+8>>2]](d,f);N[a>>2]=0;break h}if((g|0)>536870911){h=10;break a}k:{if(!e){b=Qa[N[d+4>>2]](d,g<<2)|0;h=!b<<6;break k}d=Qa[N[d+12>>2]](d,e<<2,g<<2,f)|0;b=d?d:f;h=!d<<6}if(h|(e|0)>=(g|0)|!b){break i}C((e<<2)+b|0,0,g-e<<2)}N[a>>2]=b;break h}N[a>>2]=b;if(h){break a}}N[a+4>>2]=g;e=N[a+8>>2]}h=e+1|0;N[a+8>>2]=h;N[N[a>>2]+(e<<2)>>2]=c>>>0>=i>>>0?441572:c;f=O[i|0];l:{m:{if(k){b=i;if(!(f&255)){f=0;break e}while(1){n:{if(!(O[((f&248)>>>3|0)+j|0]>>>(f&7)&1)){e=f;c=b;break n}e=0;L[b|0]=0;f=O[b+1|0];c=b+1|0;b=c;if(f){continue}}break}f=0;if(c>>>0<=i>>>0){break l}break m}if(!(f&255)){f=0;break e}L[i|0]=0;c=i+1|0;e=O[i+1|0]}f=!(e&255)}if(e&255?c>>>0>>0:0){continue}break}g=N[a+4>>2];h=N[a+8>>2]}b=f+h|0;o:{if(b>>>0>>0){break o}N[j+44>>2]=0;if(b+1>>>0<=g>>>0){break o}h=64;if((g|0)==536870911){break a}b=((g>>>1|0)+g|0)+5|0;b=b>>>0>>0?536870911:b>>>0>536870911?536870911:b;m=a,n=lb(N[a+12>>2],4,g,b,N[a>>2],j+44|0),N[m>>2]=n;h=N[j+44>>2];if(h){break a}N[a+4>>2]=b}p:{if(!f){e=N[a+8>>2];break p}b=N[a+8>>2];e=b+1|0;N[a+8>>2]=e;N[N[a>>2]+(b<<2)>>2]=441572}h=0;N[N[a>>2]+(e<<2)>>2]=0;break a}h=((f&248)>>>3|0)+j|0;L[h|0]=O[h|0]|1<<(f&7)}b=b+1|0;f=i;continue}}La=j+48|0;return h}function Qc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-16|0;La=h;e=N[a>>2];a:{if(e>>>0>=b>>>0){break a}b:{c:{d=O[e|0];switch(d-43|0){case 0:case 2:break c;default:break b}}e=e+1|0;if((e|0)==(b|0)){break a}m=(d|0)==45;d=O[e|0];switch(d-43|0){case 0:case 2:break a;default:break b}}d:{if((d|0)==46){d=e;break d}N[h+8>>2]=e;f=fd(h+8|0,b,10);e:{d=N[h+8>>2];if((e|0)!=(d|0)){if(O[d|0]!=35|b>>>0<=d>>>0){break e}i=d+1|0;N[h+8>>2]=i;f=fd(h+8|0,b,f);d=N[h+8>>2];if((i|0)!=(d|0)){break e}}f=0;break a}if((d|0)==(e|0)){f=0;break a}l=(f|0)>32767;i=l?f:f<<16}f:{if(!(O[d|0]!=46|b>>>0<=d>>>0)){g=1;d=d+1|0;if(d>>>0>=b>>>0){e=0;break f}e=0;g:{if(!i){while(1){h:{f=O[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break h}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}i:{if((g|0)>214748363|(e|0)>214748363){break i}e=L[f+294800|0]+T(e,10)|0;if((c|0)<=0){g=T(g,10);break i}c=c-1|0}d=d+1|0;if((d|0)!=(b|0)){continue}break g}}while(1){j:{f=O[d|0];switch(f|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break j}}if(f<<24>>24<0|f-58>>>0<4294967286){break f}k=L[f+294800|0]+T(e,10)|0;f=(g|0)<214748364&(e|0)<214748364;e=f?k:e;g=f?T(g,10):g;d=d+1|0;if((d|0)!=(b|0)){continue}break}}d=b;break f}e=0;g=1}k:{l:{m:{n:{k=d+1|0;if(!((O[d|0]|32)!=101|k>>>0>=b>>>0)){N[h+12>>2]=k;j=fd(h+12|0,b,10);o:{d=N[h+12>>2];if((k|0)!=(d|0)){if(O[d|0]!=35|b>>>0<=d>>>0){break o}f=d+1|0;N[h+12>>2]=f;j=fd(h+12|0,b,j);d=N[h+12>>2];if((f|0)!=(d|0)){break o}}f=0;break a}f=0;if((d|0)==(k|0)){break a}if((j|0)>1e3){break n}b=j;j=(j|0)<-1e3;c=(j?0:b)+c|0}N[a>>2]=d;f=0;if(!(e|i)){break a}b=2147483647;if(l){break k}if(j){break a}if((c|0)<=0){break m}while(1){if((i|0)>214748363){break k}p:{if((e|0)>=214748364){if((g|0)==1){break k}g=(g|0)/10|0;break p}e=T(e,10)}i=T(i,10);a=(c|0)>1;c=c-1|0;if(a){continue}break}break l}N[a>>2]=d;b=2147483647;if(e|i){break k}break a}if((c|0)>=0){break l}while(1){a=i;i=(i|0)/10|0;q:{if((g|0)<=214748363){g=T(g,10);break q}e=(e|0)/10|0}if(!(!e&a-10>>>0>=4294967277)){c=c+1|0;if(!c){break l}continue}break}break a}if(!e){b=i;break k}b=fb(e,g)+i|0}f=m?0-b|0:b}La=h+16|0;return f}function jp(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=(g?1032:0)+a|0;N[p>>2]=0;q=(g?1548:516)+a|0;N[q>>2]=0;m=g?a+1548|0:a+516|0;n=g?a+1032|0:a;if(b>>>0>=2){while(1){a=c+2|0;k=h&1;o=M[(k?c:a)>>1];j=M[(k?a:c)>>1]-o|0;h=(k?n:m)+4|0;g=k?l:i;a:{b:{if(!g){break b}a=(g<<5)+h|0;c:{while(1){r=N[h>>2];if((r|0)>(o|0)){break c}if((o|0)==(r|0)){a=N[h+4>>2];if((j|0)<0){if((a|0)<=(j|0)){break a}N[h+4>>2]=j;break a}if((a|0)>=(j|0)){break a}N[h+4>>2]=j;break a}h=h+32|0;g=g-1|0;if(g){continue}break}h=a;break b}F(h+32|0,h,g<<5)}N[h+4>>2]=j;N[h>>2]=o;if(k){l=l+1|0;break a}i=i+1|0}c=c+4|0;h=1;b=b-2|0;if(b>>>0>1){continue}break}}N[p>>2]=l;N[q>>2]=i;if(d>>>0>=2){a=m+4|0;while(1){j=M[e+2>>1];c=M[e>>1]-j|0;h=a;d:{e:{if(!i){break e}b=a+(i<<5)|0;g=i;f:{while(1){k=N[h>>2];if((k|0)>(j|0)){break f}if((j|0)==(k|0)){b=N[h+4>>2];if((c|0)<0){if((b|0)<=(c|0)){break d}N[h+4>>2]=c;break d}if((b|0)>=(c|0)){break d}N[h+4>>2]=c;break d}h=h+32|0;g=g-1|0;if(g){continue}break}h=b;break e}F(h+32|0,h,g<<5)}N[h+4>>2]=c;N[h>>2]=j;i=i+1|0}e=e+4|0;d=d-2|0;if(d>>>0>1){continue}break}}N[p>>2]=l;N[q>>2]=i;g:{if(!l){break g}h=n+4|0;a=l;while(1){h:{i:{switch(a|0){case 1:b=N[h+4>>2];g=N[h>>2];break h;case 0:break g;default:break i}}g=N[h>>2];b=N[h+32>>2]-g|0;c=N[h+4>>2];if((b|0)>=(c|0)){b=c;break h}N[h+4>>2]=b}N[h+12>>2]=g;N[h+8>>2]=b+g;h=h+32|0;a=a-1|0;continue}}j:{if(!i){break j}h=m+4|0;a=i;while(1){k:{l:{switch(a|0){case 1:b=N[h+4>>2];g=N[h>>2];break k;case 0:break j;default:break l}}g=N[h>>2];b=g-N[h+32>>2]|0;c=N[h+4>>2];if((b|0)<=(c|0)){b=c;break k}N[h+4>>2]=b}N[h+8>>2]=g;N[h+12>>2]=b+g;h=h+32|0;a=a-1|0;continue}}if(l){N[n+16>>2]=N[n+16>>2]-f;h=n+4|0;a=N[n+12>>2];g=l-1|0;m:{if(!g){b=h;break m}while(1){b=N[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);N[h+8>>2]=a?d:e;N[h+44>>2]=a?d:b-f|0;a=N[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}N[b+8>>2]=a+f}if(i){N[m+16>>2]=N[m+16>>2]-f;h=m+4|0;a=N[m+12>>2];g=i-1|0;n:{if(!g){b=h;break n}while(1){b=N[h+44>>2];c=(b-a|0)/2|0;d=c+a|0;e=a+f|0;a=(c|0)<(f|0);N[h+8>>2]=a?d:e;N[h+44>>2]=a?d:b-f|0;a=N[h+40>>2];b=h+32|0;h=b;g=g-1|0;if(g){continue}break}}N[b+8>>2]=a+f}}function fx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=N[a+492>>2];g=N[b+16>>2];Qa[N[b+28>>2]](b);a:{b:{c:{f=N[b>>2];d:{if(!(f>>>0>=Q[b+8>>2]|O[f|0]!=91)){Qa[N[b+32>>2]](b);Qa[N[b+28>>2]](b);a=N[b>>2];if(a>>>0>2]&O[a|0]==93){break d}break a}c=Qa[N[b+36>>2]](b)|0;if((c|0)<0){break a}d=N[b+8>>2];f=N[b>>2];e:{if(d>>>0>>0){break e}d=d-f>>3;if((d|0)>=(c|0)){break e}if(!N[b+368>>2]){f=b+368|0;f:{c=Qa[N[g+4>>2]](g,24)|0;if(c){L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[b+368>>2]=c;N[c+16>>2]=150;N[c+12>>2]=151;N[c+8>>2]=0;N[c>>2]=80;N[c+4>>2]=241;f=Qa[N[g+4>>2]](g,964)|0;if(f){break f}f=c+20|0}N[f>>2]=0;break b}C(f,0,964);N[c+20>>2]=f}c=d}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break d}j=b+316|0;Qa[N[b+28>>2]](b);if(!N[b+312>>2]){d=Qa[N[N[k>>2]>>2]](j,c,g)|0;if(d){break c}}d=N[b>>2];g:{if(Q[b+8>>2]<=d+4>>>0){break g}f=0;while(1){if(bb(d,12289,3)){break g}Qa[N[b+32>>2]](b);d=Qa[N[b+36>>2]](b)|0;l=N[N[a+128>>2]+52>>2];i=N[b+8>>2];Qa[N[b+28>>2]](b);h:{e=N[b>>2];i:{if(e>>>0>=i>>>0|O[e|0]-48>>>0>9){break i}h=Qa[N[b+36>>2]](b)|0;Qa[N[b+32>>2]](b);if((h|0)<0){break i}m=i;e=N[b>>2];i=e+1|0;if((h|0)<(m-i|0)){break h}}if(l){break d}break a}N[b>>2]=(e+h|0)+1;if(N[b+12>>2]){break d}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break d}Qa[N[b+28>>2]](b);e=N[b>>2];j:{if(Q[b+8>>2]<=e+4>>>0){break j}if(bb(e,8702,3)){break j}Qa[N[b+32>>2]](b);Qa[N[b+28>>2]](b)}e=N[b+368>>2];if(e){hg(d,f,e,g);d=f}if(!N[b+312>>2]){e=N[a+172>>2];k:{if((e|0)>=0){if(e>>>0>h>>>0){d=3;break c}l:{if((h|0)<=0){e=0;break l}e=Qa[N[g+4>>2]](g,h)|0;if(!e){break b}}F(e,i,h);Qa[N[k+16>>2]](e,h,4330);i=d;d=N[a+172>>2];d=Qa[N[b+360>>2]](j,i,d+e|0,h-d|0)|0;if(!e){break k}Qa[N[g+8>>2]](g,e);break k}d=Qa[N[b+360>>2]](j,d,i,h)|0}if(d){break c}}f=f+1|0;d=N[b>>2];if(Q[b+8>>2]>d+4>>>0){continue}break}}if(N[b+312>>2]){break d}N[b+312>>2]=c}return}N[b+12>>2]=d;return}N[b+12>>2]=64;return}N[b+12>>2]=3}function aq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=N[a>>2];if(!d){i=a-28|0;while(1){c=N[i>>2];if(!c){return 275552}d=db(1,32);if(!d){N[a>>2]=275552;return 275552}N[d+8>>2]=0;N[d+12>>2]=0;N[d>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;if(N[c+32>>2]==-1){b=sb(c+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}b=N[c+12>>2];a:{if(b){b=Qa[b|0](c,1886352244,N[c+16>>2])|0;if(b){break a}}b=275552}b:{c:{d:{c=N[b>>2];if(c){if((c|0)<=0){break d}N[b>>2]=c+1}f=N[b+16>>2];if((f|0)<0){break c}e=N[b+12>>2];if(f>>>0>67108863){c=1073741789}else{c=f<<6;c=c>>>0<=16384?16384:c;c=(c>>>0>=1073741823?1073741823:c)-34|0}e:{if(!e){ab(b);break e}f:{if(f>>>0>=32){g:{h:{g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);h=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if((h|0)==65536){break h}i:{if((f&-2)==32|(h|0)!=131072){break i}e=O[e+32|0]|O[e+33|0]<<8;if(!e){break h}if((f|0)<34){break i}e=((e<<8|e>>>8)&65535)<<1;if(e>>>0>f-34>>>0){break i}if((c|0)>(e|0)){break h}}ab(b);if((g|0)==768){break g}break f}ab(b)}if(!N[b+4>>2]){break e}N[b+4>>2]=0;break e}ab(b)}ab(b);b=275552}N[d>>2]=b;f=N[b+16>>2];c=f>>>0<32?275552:N[b+12>>2];b=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[d+4>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);j:{if((b|0)!=512){break j}b=c+32|0;N[d+8>>2]=b;e=O[c+32|0]|O[c+33|0]<<8;b=(b+(((e<<8|e>>>8)&65535)<<1)|0)+2|0;N[d+24>>2]=b;e=N[d+16>>2];if(e>>>0>65534){break j}h=c+f|0;if(h>>>0<=b>>>0){break j}while(1){if(h>>>0<=O[b|0]+b>>>0){break j}k:{l:{m:{c=N[d+12>>2];if((c|0)>=0){f=e+1|0;j=N[d+24>>2];if(c>>>0>e>>>0){g=N[d+20>>2];break l}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){g=$a(N[d+20>>2],c<<2);if(g){break m}}N[d+12>>2]=-1}N[147456]=0;break k}N[d+12>>2]=c;N[d+20>>2]=g;e=N[d+16>>2];f=e+1|0}N[d+16>>2]=f;N[(e<<2)+g>>2]=b-j}e=N[d+16>>2];if(e>>>0>65534){break j}b=(O[b|0]+b|0)+1|0;if(h>>>0>b>>>0){continue}break}}break b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a>>2]){N[a>>2]=d;return d}_a(N[d+28>>2]);ab(N[d>>2]);N[d>>2]=0;if(N[d+16>>2]){N[d+16>>2]=0}_a(N[d+20>>2]);_a(d);d=N[a>>2];if(!d){continue}break}}return d}function il(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=O[a|0]|O[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}if(b>>>0>=c>>>0){break a}if((b|0)<0){return 275552}return((b<<2)+a|0)+2|0}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;g:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break g}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=0;if((O[a|0]|O[a+1|0]<<8)!=65535){break g}c=(O[a+2|0]|O[a+3|0]<<8)==65535?-1:0}a=0;c=c+e|0;h:{if((c|0)<=0){break h}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a+2|0]|O[a+3|0]<<8;i:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=b>>>0){break h}e=h+1|0;break i}c=h-1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+4|0:0}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;d=O[a+4|0]|O[a+5|0]<<8;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=((b<<2)+a|0)+6|0;break a}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;j:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break j}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=(O[a|0]|O[a+1|0]<<8)==65535?-1:0}a=0;c=c+e|0;k:{if((c|0)<=0){break k}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;l:{if(g>>>0>b>>>0){c=h-1|0;break l}if((b|0)==(g|0)){break k}e=h+1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+2|0:0}c=O[a+4|0]|O[a+5|0]<<8;f=(c<<8|c>>>8)&65535;h=a+12|0;m:{if(!c){c=O[a+2|0]|O[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break m}d=O[a+2|0]|O[a+3|0]<<8;g=(d<<8|d>>>8)&65535;d=h+T(g,f-1|0)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break m}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}c=c+f|0;if((c|0)<=0){break a}c=c-1|0;while(1){f=c+e>>>1|0;d=h+T(f,g)|0;i=O[d+2|0]|O[d+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){e=O[d|0]|O[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break n}b=b-i|0;if((b|0)<0){return 275552}c=a;a=O[d+4|0]|O[d+5|0]<<8;return(c+((a<<8|a>>>8)&65535)|0)+(b<<2)|0}c=f-1|0}if((c|0)>=(e|0)){continue}break}return 0}return e}function cc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{e:{f:{d=O[a|0]|O[a+1|0]<<8;switch((d<<8|d>>>8)&65535){case 4:break b;case 6:break c;case 8:break d;case 2:break e;case 0:break f;default:break a}}if(b>>>0>=c>>>0){break a}if((b|0)<0){return 275552}return((b<<1)+a|0)+2|0}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;g:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break g}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=0;if((O[a|0]|O[a+1|0]<<8)!=65535){break g}c=(O[a+2|0]|O[a+3|0]<<8)==65535?-1:0}a=0;c=c+e|0;h:{if((c|0)<=0){break h}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a+2|0]|O[a+3|0]<<8;i:{if(((g<<8|g>>>8)&65535)>>>0<=b>>>0){e=O[a|0]|O[a+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>=b>>>0){break h}e=h+1|0;break i}c=h-1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+4|0:0}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0>b>>>0){break a}b=b-c|0;d=O[a+4|0]|O[a+5|0]<<8;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break a}e=((b<<1)+a|0)+6|0;break a}c=O[a+4|0]|O[a+5|0]<<8;e=(c<<8|c>>>8)&65535;f=a+12|0;j:{if(!c){a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;c=0;break j}a=O[a+2|0]|O[a+3|0]<<8;d=(a<<8|a>>>8)&65535;a=f+T(d,e-1|0)|0;c=(O[a|0]|O[a+1|0]<<8)==65535?-1:0}a=0;c=c+e|0;k:{if((c|0)<=0){break k}c=c-1|0;e=0;while(1){h=c+e>>>1|0;a=f+T(h,d)|0;g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;l:{if(g>>>0>b>>>0){c=h-1|0;break l}if((b|0)==(g|0)){break k}e=h+1|0}if((c|0)>=(e|0)){continue}break}a=0}return a?a+2|0:0}c=O[a+4|0]|O[a+5|0]<<8;f=(c<<8|c>>>8)&65535;h=a+12|0;m:{if(!c){c=O[a+2|0]|O[a+3|0]<<8;g=(c<<8|c>>>8)&65535;c=0;break m}d=O[a+2|0]|O[a+3|0]<<8;g=(d<<8|d>>>8)&65535;d=h+T(g,f-1|0)|0;c=0;if((O[d|0]|O[d+1|0]<<8)!=65535){break m}c=(O[d+2|0]|O[d+3|0]<<8)==65535?-1:0}c=c+f|0;if((c|0)<=0){break a}c=c-1|0;while(1){f=c+e>>>1|0;d=h+T(f,g)|0;i=O[d+2|0]|O[d+3|0]<<8;i=(i<<8|i>>>8)&65535;n:{if(i>>>0<=b>>>0){e=O[d|0]|O[d+1|0]<<8;if(((e<<8|e>>>8)&65535)>>>0>>0){e=f+1|0;break n}b=b-i|0;if((b|0)<0){return 275552}c=a;a=O[d+4|0]|O[d+5|0]<<8;return(c+((a<<8|a>>>8)&65535)|0)+(b<<1)|0}c=f-1|0}if((c|0)>=(e|0)){continue}break}return 0}return e}function mC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=La-48|0;La=e;a:{b:{c:{if(!cb(b,8894)){f=6;if(d){break a}d=N[c>>2];b=0;c=286856;while(1){if(!((d|0)!=N[c+8>>2]|N[c+16>>2]!=10)){c=b;break c}c=b+1|0;g=N[(c<<2)+288960>>2];if((d|0)==N[g+8>>2]&N[g+16>>2]==10){break c}c=b+2|0;g=N[(c<<2)+288960>>2];if((d|0)==N[g+8>>2]&N[g+16>>2]==10){break c}b=b+3|0;c=N[(b<<2)+288960>>2];if((b|0)!=87){continue}break}break a}if(!cb(b,8879)){f=6;if(d){break a}N[a+16>>2]=N[c>>2];break b}if(!cb(b,9447)){f=6;if(d){break a}b=N[c>>2];if(!b){f=35;break a}d=N[b+116>>2];N[e+16>>2]=d;if(!d){f=Dg(b,e+16|0,a);if(f){break a}d=N[e+16>>2];N[b+116>>2]=d;N[b+120>>2]=311}N[d+20>>2]=N[c+4>>2];break b}d:{if(!cb(b,10437)){e:{if(!d){b=N[c>>2];break e}b=Kb(c,e+12|0);d=N[e+12>>2];if(O[d|0]!=44|(c|0)==(d|0)){break d}d=d+1|0;l=e,m=Kb(d,e+12|0),N[l+20>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+24>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+28>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+32>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+36>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+40>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break d}c=c+1|0;l=e,m=Kb(c,e+12|0),N[l+44>>2]=m;d=N[e+12>>2];if((O[d|0]|32)!=32|(c|0)==(d|0)){break d}c=e+16|0}f=6;if((b|0)<0){break a}d=N[c+8>>2];if((d|0)<0){break a}g=N[c+16>>2];if((g|0)<0){break a}h=N[c+24>>2];if((h|0)<0){break a}i=N[c+4>>2];if((i|0)<0){break a}j=N[c+12>>2];if((j|0)<0){break a}k=N[c+20>>2];if((k|0)<0){break a}c=N[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}N[a+24>>2]=b;N[a+52>>2]=c;N[a+48>>2]=h;N[a+44>>2]=k;N[a+40>>2]=g;N[a+36>>2]=j;N[a+32>>2]=d;N[a+28>>2]=i;break b}f=12;if(cb(b,14683)){break a}if(d){f=0;if(!Kb(c,0)){L[a+20|0]=0;break a}L[a+20|0]=1;break a}L[a+20|0]=O[c|0];break b}f=6;break a}N[a+12>>2]=c}f=0}La=e+48|0;return f|0}function Tu(a,b){a=a|0;b=b|0;var 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;n=La-16|0;La=n;h=N[b+16>>2];l=N[b+8>>2];Qa[N[b+28>>2]](b);i=3;c=N[b>>2];a:{b:{c:{if(c>>>0>=l>>>0){break c}N[b>>2]=c+1;if(O[c|0]!=91){break c}Qa[N[b+28>>2]](b);c=N[b>>2];if(l>>>0<=c>>>0){break c}while(1){d:{e:{f:{g:{h:{d=O[c|0];if((d|0)!=60){if((d|0)!=93){break h}N[b>>2]=c+1;break b}if(!(j|!g)){j=0;break c}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break b}f=N[b>>2];d=(f+(c^-1)|0)/2|0;if(f-c>>>0<3){break c}if((d|o)<0){i=6;break c}if(!o){g=Qa[N[h+4>>2]](h,d)|0;if(g){break g}g=0;i=64;break c}f=Qa[N[h+12>>2]](h,o,d,g)|0;g=f?f:g;if(f){break g}i=64;break c}if(d-48>>>0>9){d=o;break f}if(j){j=1;break c}j=0;f=Qa[N[b+36>>2]](b)|0;if((f|0)<0){break c}Qa[N[b+32>>2]](b);if(N[b+12>>2]){break a}c=N[b>>2];g=c+1|0;if(l-c>>>0<=f>>>0){break c}N[b>>2]=(c+f|0)+1;break e}N[b>>2]=c;j=1;Qa[N[b+44>>2]](b,g,d,n+12|0,1)|0;f=N[n+12>>2]}if(!g){break d}o=d}i:{j:{if(!(f&1)){c=f;break j}c=f-1|0;if(O[g+c|0]){break i}}f=c;if(c){break i}break c}r=l-N[b>>2]|0;p=0;while(1){k:{l:{m:{n:{o:{switch(e|0){case 2:break m;case 1:break n;case 0:break o;default:break k}}e=0;if((m|0)<12){break l}c=N[a+496>>2];q=(O[c+4|0]<<4)+O[c+5|0]|0;d=q<<4|12;N[a+500>>2]=d;if((d|0)>(r|0)){break c}d=Qa[N[h+12>>2]](h,12,d,c)|0;N[a+496>>2]=d?d:c;if(d){break n}i=!d<<6;break c}e=1;c=N[a+500>>2];if((m|0)<(c|0)){break l}k=N[a+496>>2];if(q){s=k+12|0;d=0;while(1){e=(d<<4)+s|0;e=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(e>>>0>r>>>0|(r-e|0)<(c|0)){break c}c=(e+3&-4)+c|0;N[a+500>>2]=c;d=d+1|0;if((q|0)!=(d|0)){continue}break}}if((c|0)<-1){i=6;N[a+496>>2]=k;break c}p:{c=c+1|0;if(!c){e=0;if(!k){break p}Qa[N[h+8>>2]](h,k);break p}c=Qa[N[h+12>>2]](h,q<<4|12,c,k)|0;e=c?c:k;if(c){break p}i=64;N[a+496>>2]=e;break c}N[a+496>>2]=e}e=2;if(N[a+500>>2]>(m|0)){break l}break c}L[N[a+496>>2]+m|0]=O[g+p|0];m=m+1|0}p=p+1|0;if((p|0)!=(f|0)){continue}break}Qa[N[b+28>>2]](b);c=N[b>>2];if(l>>>0>c>>>0){continue}break c}break}g=0}N[b+12>>2]=i}if(!j|!g){break a}Qa[N[h+8>>2]](h,g)}La=n+16|0}function _D(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;j=N[b>>2];k=N[j+20>>2];a:{if(k){break a}while(1){i=N[j>>2];if(!i){k=275552;break a}h=db(1,28);if(!h){k=275552;N[j+20>>2]=275552;break a}k=hq(h,i);if(!N[j+20>>2]){N[j+20>>2]=k;break a}ab(N[k+20>>2]);N[k+20>>2]=0;ab(N[k+24>>2]);_a(k);k=N[j+20>>2];if(!k){continue}break}}i=275552;h=N[k+24>>2];h=h?h:275552;j=Q[h+16>>2]<20?275552:N[h+12>>2];h=O[j+4|0]|O[j+5|0]<<8|(O[j+6|0]<<16|O[j+7|0]<<24);if(h){i=j+(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))|0}h=0;j=N[a+84>>2];b:{if(T(j,c)>>>0<128){break b}h=O[i+2|0]|O[i+3|0]<<8|(O[i+4|0]<<16|O[i+5|0]<<24);if(h){h=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+i|0}else{h=275552}o=O[h+2|0]|O[h+3|0]<<8;i=(o<<8|o>>>8)&65535;h=kb(i<<2);if(!o|!h){break b}i=i>>>0<=1?1:i;o=i&7;if(i>>>0>=8){i=i&65528;while(1){l=m<<2;N[l+h>>2]=1073741824;N[(l|4)+h>>2]=1073741824;N[(l|8)+h>>2]=1073741824;N[(l|12)+h>>2]=1073741824;N[(l|16)+h>>2]=1073741824;N[(l|20)+h>>2]=1073741824;N[(l|24)+h>>2]=1073741824;N[(l|28)+h>>2]=1073741824;m=m+8|0;if((i|0)!=(m|0)){continue}break}}if(!o){break b}while(1){N[(m<<2)+h>>2]=1073741824;m=m+1|0;n=n+1|0;if((o|0)!=(n|0)){continue}break}}c:{d:{e:{if(!j){break e}m=N[b+8>>2];if(m){i=N[b+4>>2];break d}m=kb(1024);if(!m){break e}C(m,255,1024);N[b+8>>2]=m;i=N[a+16>>2];N[b+4>>2]=i;break d}if(!c){break c}i=0;while(1){l=gq(k,N[d>>2],a,h)<<16;b=l>>31;b=UE(l>>16,b,N[a+56>>2],N[a+60>>2]);j=Pa;b=b+32768|0;N[f>>2]=((b>>>0<32768?j+1|0:j)&65535)<<16|b>>>16;f=f+g|0;d=d+e|0;i=i+1|0;if((i|0)!=(c|0)){continue}break}break c}n=i;i=N[a+16>>2];if((n|0)!=(i|0)){C(m,255,1024);N[b+4>>2]=i}if(!c){break c}n=0;while(1){j=N[d>>2];i=N[N[b+8>>2]+((j&255)<<2)>>2];f:{if(!((i|0)==-1|(i>>>16|0)!=(j>>>8|0))){i=i&65535;break f}i=gq(k,j,a,h);if(i>>>0>65535){break f}j=N[d>>2];if(j>>>0>16777215){break f}N[N[b+8>>2]+((j&255)<<2)>>2]=j<<8&-65536|i}l=i<<16;j=l>>31;i=UE(N[a+56>>2],N[a+60>>2],l>>16,j);j=Pa;i=i+32768|0;N[f>>2]=((i>>>0<32768?j+1|0:j)&65535)<<16|i>>>16;f=f+g|0;d=d+e|0;n=n+1|0;if((n|0)!=(c|0)){continue}break}}_a(h)}function hp(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;j=La-128|0;La=j;a:{b:{c:{if(!Sd(f,g,h,i,0,0,0,0)){break c}l=i&65535;n=i>>>16&32767;d:{e:{if((n|0)!=32767){k=4;if(n){break e}k=f|h|(g|l)?3:2;break d}k=!(f|h|(g|l))}}s=e>>>16|0;o=s&32767;if((o|0)==32767){break c}if(k){break b}}Gb(j+16|0,b,c,d,e,f,g,h,i);b=N[j+16>>2];d=N[j+20>>2];e=N[j+24>>2];c=N[j+28>>2];rn(j,b,d,e,c,b,d,e,c);d=N[j+8>>2];e=N[j+12>>2];h=N[j>>2];i=N[j+4>>2];break a}k=d;p=e&2147483647;n=h;m=i&2147483647;if((Sd(b,c,k,p,f,g,h,m)|0)<=0){if(Sd(b,c,k,p,f,g,n,m)){h=b;i=c;break a}Gb(j+112|0,b,c,d,e,0,0,0,0);d=N[j+120>>2];e=N[j+124>>2];h=N[j+112>>2];i=N[j+116>>2];break a}q=i>>>16&32767;if(o){i=c;h=b}else{Gb(j+96|0,b,c,k,p,0,0,0,1081540608);k=N[j+104>>2];h=N[j+108>>2];p=h;o=(h>>>16|0)-120|0;i=N[j+100>>2];h=N[j+96>>2]}if(!q){Gb(j+80|0,f,g,n,m,0,0,0,1081540608);n=N[j+88>>2];f=N[j+92>>2];m=f;q=(f>>>16|0)-120|0;g=N[j+84>>2];f=N[j+80>>2]}r=n;t=m&65535|65536;p=p&65535|65536;if((o|0)>(q|0)){while(1){m=k-r|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-l|0;l=(p-((k>>>0>>0)+t|0)|0)-(l>>>0>m>>>0)|0;f:{if((l|0)>0|(l|0)>=0){k=h;h=h-f|0;i=i-((f>>>0>k>>>0)+g|0)|0;if(!(h|n|(i|l))){Gb(j+32|0,b,c,d,e,0,0,0,0);d=N[j+40>>2];e=N[j+44>>2];h=N[j+32>>2];i=N[j+36>>2];break a}l=l<<1|n>>>31;k=n<<1|i>>>31;break f}l=p<<1|k>>>31;k=k<<1|i>>>31}p=l;l=i<<1|h>>>31;h=h<<1;i=l;o=o-1|0;if((o|0)>(q|0)){continue}break}o=q}m=k-r|0;l=(g|0)==(i|0)&f>>>0>h>>>0|g>>>0>i>>>0;n=m-l|0;l=(p-((k>>>0>>0)+t|0)|0)-(l>>>0>m>>>0)|0;m=l;g:{if((l|0)<0){n=k;m=p;break g}k=h;h=h-f|0;i=i-((f>>>0>k>>>0)+g|0)|0;if(h|n|(i|m)){break g}Gb(j+48|0,b,c,d,e,0,0,0,0);d=N[j+56>>2];e=N[j+60>>2];h=N[j+48>>2];i=N[j+52>>2];break a}if((m|0)==65535|m>>>0<65535){while(1){b=i>>>31|0;o=o-1|0;p=i<<1|h>>>31;h=h<<1;i=p;c=b;b=m<<1|n>>>31;n=c|n<<1;m=b;if(b>>>0<65536){continue}break}}b=s&32768;if((o|0)<=0){Gb(j- -64|0,h,i,n,m&65535|(b|o+120)<<16,0,0,0,1065811968);d=N[j+72>>2];e=N[j+76>>2];h=N[j+64>>2];i=N[j+68>>2];break a}d=n;e=m&65535|(b|o)<<16}N[a>>2]=h;N[a+4>>2]=i;N[a+8>>2]=d;N[a+12>>2]=e;La=j+128|0}function Vl(a){var 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;h=La-16|0;La=h;a:{b:{m=N[a+204>>2];c:{if(m>>>0<2){break c}k=N[a+172>>2];i=N[a+168>>2];o=N[a+20>>2];p=N[a+16>>2];j=a+8|0;q=N[j>>2];e=q;d:{e:{n=N[a+12>>2];f=n;if(f-18>>>0<=14){c=p;b=n;d=o;while(1){if(!d){break e}e=e>>>8|0;N[a+8>>2]=e;g=O[c|0];d=d-1|0;N[a+20>>2]=d;f=b-8|0;N[a+12>>2]=f;c=c+1|0;N[a+16>>2]=c;e=e|g<<24;N[a+8>>2]=e;g=b-26|0;b=f;if(g>>>0<15){continue}break}}c=e>>>f|0;d=i+((c&255)<<2)|0;b=O[d|0];if(b>>>0>=9){f=f+8|0;d=(P[d+2>>1]+(N[(b<<2)+169360>>2]&c>>>8&127)<<2)+d|0;b=O[d|0]}N[a+12>>2]=(b&255)+f;N[h+8>>2]=P[d+2>>1];break d}if(!Jc(i,j,h+8|0)){break c}}f:{g:{if(!N[a+556>>2]){h:{b=N[a+12>>2];i:{if(b-18>>>0>=15){e=N[j>>2];break i}d=N[a+20>>2];c=b;while(1){if(!d){break h}e=N[a+8>>2]>>>8|0;N[a+8>>2]=e;g=N[a+16>>2];f=O[g|0];d=d-1|0;N[a+20>>2]=d;b=c-8|0;N[a+12>>2]=b;N[a+16>>2]=g+1;e=e|f<<24;N[a+8>>2]=e;f=c-26|0;c=b;if(f>>>0<15){continue}break}}f=e>>>b|0;d=k+((f&255)<<2)|0;c=O[d|0];if(c>>>0>=9){d=(P[d+2>>1]+(N[(c<<2)+169360>>2]&f>>>8&127)<<2)+d|0;c=O[d|0];b=b+8|0}N[a+12>>2]=b+(c&255);f=P[d+2>>1];break g}if(!Jc(k,j,h+12|0)){break f}f=N[h+12>>2];break g}f=N[a+188>>2]}c=f<<2;k=P[c+169280>>1];l=O[c+169282|0];b=N[a+12>>2];if(l>>>0<=32-b>>>0){e=N[j>>2];break b}d=N[a+20>>2];c=b;while(1){if(d){i=N[a+8>>2]>>>8|0;N[a+8>>2]=i;e=N[a+16>>2];g=O[e|0];d=d-1|0;N[a+20>>2]=d;b=c-8|0;N[a+12>>2]=b;N[a+16>>2]=e+1;e=i|g<<24;N[a+8>>2]=e;g=40-c|0;c=b;if(g>>>0>>0){continue}break b}break}N[a+188>>2]=f}N[a+20>>2]=o;N[a+16>>2]=p;N[a+8>>2]=q;N[a+556>>2]=0;N[a+12>>2]=n}a=0;break a}N[a+556>>2]=0;N[a+12>>2]=b+l;N[a+192>>2]=k+(N[(l<<2)+169392>>2]&e>>>b);j:{k:{l:{m:{b=N[h+8>>2];switch(b|0){case 1:break k;case 0:break m;default:break l}}b=N[a+216>>2];break j}b=b-2|0;break j}b=N[a+220>>2]+1|0}N[a+216>>2]=N[a+220>>2];c=b-(b>>>0>=m>>>0?m:0)|0;N[a+220>>2]=c;b=N[a+576>>2]+(c<<6)|0;N[a+112>>2]=b;N[a+176>>2]=N[((c>>>3&536870908)+a|0)+592>>2]>>>c&1;N[a+256>>2]=N[N[a+120>>2]+(O[b|0]<<2)>>2];N[a+108>>2]=((O[c+N[a+580>>2]|0]&3)<<9)+169536;a=1}La=h+16|0;return a}function ph(a,b){var 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,t=0;n=N[b+4>>2];a:{if(n>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break a}g=N[b+12>>2];c=g-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8;l=(c<<8|c>>>8)&65535;if(l>>>0<4){break a}c=a+2|0;if(c>>>0>f>>>0|f-c>>>0<2){break a}c=g-10|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;c=((c<<8|c>>>8)&65535)+a|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<4){break a}e=g-14|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=c+2|0;if(e>>>0>f>>>0|f-e>>>0<2){break a}d=g-16|0;N[b+12>>2]=d;if((d|0)<=0){break a}g=O[e|0]|O[e+1|0]<<8;if(g){c=c+4|0;if(c>>>0>f>>>0){break a}e=f-c|0;c=(g<<8|g>>>8)&65535;if(e>>>0>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)<=0){break a}}c=O[a+6|0]|O[a+7|0]<<8;o=((c<<8|c>>>8)&65535)+a|0;s=f-o|0;c=a;a=O[a+4|0]|O[a+5|0]<<8;q=(a<<8|a>>>8)&65535;j=c+q|0;t=f-j|0;a=0;g=0;while(1){b:{if(!(a&1)){c=g;break b}h=0;UE(k,0,l,0);if(Pa){break a}e=T(k,l);p=e+j|0;if(e){if(f>>>0

>>0|n>>>0>p>>>0|f-p>>>0<0-e>>>0){break a}d=d+e|0;N[b+12>>2]=d;if((d|0)<=0){break a}}d=(k-r|0)+d|0;N[b+12>>2]=d;if((d|0)<=0|(e|0)>0){break a}a=j;c=g;if((e|0)<0){while(1){a=a-1|0;e=O[a|0]+1|0;c=c>>>0>e>>>0?c:e;if(a>>>0>p>>>0){continue}break}}r=k}c:{d:{e:{if((i|0)<=(m|0)){h=0;if(j>>>0>>0|f>>>0>>0){break a}e=m+1|0;a=T(e,l);if(a>>>0>t>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=d+((m^-1)+i|0)|0;N[b+12>>2]=d;if((a|0)<0|(d|0)<=0){break a}i=T(i,l);if((i|0)<(a|0)){break e}i=e}if(c){break d}c=0;break c}h=a+j|0;a=i+j|0;while(1){i=O[a|0]+1|0;c=c>>>0>i>>>0?c:i;a=a+1|0;if(h>>>0>a>>>0){continue}break}i=e}h=0;if(f>>>0>>0|n>>>0>o>>>0){break a}a=c<<2;if(a>>>0>s>>>0){break a}d=d-a|0;N[b+12>>2]=d;if((d|0)<=0){break a}}d=(g-c|0)+d|0;N[b+12>>2]=d;if((d|0)<=0){h=0;break a}if((c|0)>(g|0)){e=(c<<2)+o|0;h=(g<<2)+o|0;while(1){a=O[h|0]|O[h+1|0]<<8;a=(((a<<8|a>>>8)&65535)-q|0)/(l|0)|0;m=(a|0)<(m|0)?m:a;k=(a|0)>(k|0)?k:a;h=h+4|0;if(e>>>0>h>>>0){continue}break}}g=c;a=(k|0)<(r|0);if(a){continue}h=1;if((i|0)<=(m|0)){continue}break}}return h}function xp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;g=N[a+12>>2];a:{b:{c:{d:{if((g|0)<=11){e=N[a+20>>2];if(e){break d}N[a+16>>2]=12;e=a+820|0;N[a+20>>2]=e;break d}j=N[a+16>>2];if((j|0)>(g|0)){e=N[a+20>>2];h=e+T(g,44)|0;break c}g=64;if((j|0)>48806445){break a}e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{if((j|0)<-16){break p}i=((j>>2)+j|0)+4|0;if((i|0)>48806446){break p}l=a+20|0;k=N[a+20>>2];if((k|0)==(a+820|0)){break o}if((i|j)>=0){break n}g=k;break l}l=a+20|0;g=N[a+20>>2];k=a+820|0;if((g|0)!=(k|0)){break m}i=48806446;break i}if((i|0)<0){N[a+20>>2]=0;N[f>>2]=0;return 6}if(i){break i}i=0;break h}if(i){g=k;break j}if(!k){break k}Qa[N[e+8>>2]](e,k);break k}i=48806446;if((j|0)>=0){break j}}N[l>>2]=g;N[f>>2]=0;return 6}i=0;N[a+20>>2]=0;break e}q:{if(!j){e=Qa[N[e+4>>2]](e,T(i,44))|0;g=!e<<6;break q}k=Qa[N[e+12>>2]](e,T(j,44),T(i,44),g)|0;e=k?k:g;g=!k<<6}if(!(g|(i|0)<=(j|0)|!e)){C(T(j,44)+e|0,0,T(i-j|0,44));N[l>>2]=e;break e}N[l>>2]=e;if(g){break a}break e}g=T(i,44);h=Qa[N[e+4>>2]](e,g)|0;if(!h|(i|0)<=0){break g}C(h,0,g)}N[l>>2]=h;break f}N[l>>2]=h;if(h){break f}N[f>>2]=0;return!h<<6}F(h,k,528)}N[a+16>>2]=i;e=N[a+20>>2];g=N[a+12>>2]}h=T(g,44)+e|0;if((g|0)<=0){break b}}if(!d){g=h;while(1){h=g-44|0;d=M[h>>1];if((d|0)<(b|0)){h=g;break b}if(!((b|0)!=(d|0)|N[a+24>>2]!=(c|0))){h=g;break b}d=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=d;N[g+40>>2]=N[h+40>>2];d=N[h+36>>2];N[g+32>>2]=N[h+32>>2];N[g+36>>2]=d;d=N[h+28>>2];N[g+24>>2]=N[h+24>>2];N[g+28>>2]=d;d=N[h+20>>2];N[g+16>>2]=N[h+16>>2];N[g+20>>2]=d;d=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}break b}g=h;while(1){h=g-44|0;d=M[h>>1];if((d|0)>(b|0)){h=g;break b}if(!((b|0)!=(d|0)|N[a+24>>2]!=(c|0))){h=g;break b}d=N[h+4>>2];N[g>>2]=N[h>>2];N[g+4>>2]=d;N[g+40>>2]=N[h+40>>2];d=N[h+36>>2];N[g+32>>2]=N[h+32>>2];N[g+36>>2]=d;d=N[h+28>>2];N[g+24>>2]=N[h+24>>2];N[g+28>>2]=d;d=N[h+20>>2];N[g+16>>2]=N[h+16>>2];N[g+20>>2]=d;d=N[h+12>>2];N[g+8>>2]=N[h+8>>2];N[g+12>>2]=d;g=h;if(g>>>0>e>>>0){continue}break}}N[a+12>>2]=N[a+12>>2]+1;g=0}N[f>>2]=h;return g}function Yh(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=La-48|0;La=d;a:{b:{if(!a){break b}if(!b){e=6;break a}if(M[a>>1]<=0){break a}i=N[b+20>>2];j=N[b+16>>2];while(1){n=M[N[a+12>>2]+(q<<1)>>1];if((n|0)<0){break b}h=N[a+4>>2];f=h+(g<<3)|0;k=N[f>>2];e=N[f+4>>2];N[d+32>>2]=(k<>2]=m;l=h+(n<<3)|0;k=N[l>>2];o=N[l+4>>2];p=N[d+36>>2];e=N[d+32>>2];N[d+40>>2]=e;N[d+44>>2]=p;c:{d:{p=N[a+8>>2];h=p+g|0;switch(O[h|0]&3){case 2:break b;case 0:break d;default:break c}}g=(o<>2]=g;N[d+32>>2]=k;h=h-1|0;f=f-8|0}e=Qa[N[b>>2]](d+32|0,c)|0;if(e){break a}f:{if(f>>>0>>0){while(1){k=h+1|0;g=f+8|0;g:{h:{i:{switch(O[h+1|0]&3){case 1:N[d+24>>2]=(N[f+8>>2]<>2]=(N[f+12>>2]<>2]](d+24|0,c)|0;if(e){break a}break g;case 0:h=(N[f+8>>2]<>2]=h;f=(N[f+12>>2]<>2]=f;if(g>>>0>>0){while(1){e=O[k+1|0];m=(N[g+8>>2]<>2]=m;o=(N[g+12>>2]<>2]=o;k=k+1|0;g=g+8|0;j:{e=e&3;k:{if(e){if((e|0)!=1){g=7;e=0;break h}e=Qa[N[b+8>>2]](d+40|0,d+24|0,c)|0;if(e){break k}f=g;h=k;break g}N[d+20>>2]=(f+o|0)/2;N[d+16>>2]=(h+m|0)/2;e=Qa[N[b+8>>2]](d+40|0,d+16|0,c)|0;if(!e){break j}}g=10;break h}f=N[d+28>>2];h=N[d+24>>2];N[d+40>>2]=h;N[d+44>>2]=f;if(g>>>0>>0){continue}break}}e=Qa[N[b+8>>2]](d+40|0,d+32|0,c)|0;break f;default:break i}}g=7;e=0;if((O[h+2|0]&3)!=2|f+16>>>0>l>>>0){break h}N[d+24>>2]=(N[f+8>>2]<>2]=(N[f+12>>2]<>2]=(N[f+16>>2]<>2]=(N[f+20>>2]<>>0<=l>>>0){N[d+8>>2]=(N[f+24>>2]<>2]=(N[f+28>>2]<>2]](d+24|0,d+16|0,d+8|0,c)|0;if(e){g=10;break h}h=h+3|0;f=g;break g}e=Qa[N[b+12>>2]](d+24|0,d+16|0,d+32|0,c)|0;break f}if((g|0)!=7){break a}break b}if(f>>>0>>0){continue}break}}e=Qa[N[b+4>>2]](d+32|0,c)|0}if(e){break a}g=n+1|0;e=0;q=q+1|0;if((q|0)>1]){continue}break}break a}e=20}La=d+48|0;return e|0}function gC(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0;f=La-16|0;La=f;a:{if(N[a+4>>2]){break a}d=6;b:{if(N[a+12>>2]!=1){break b}m=(b|0)!=0;b=(T(m,36)+a|0)+16|0;e=N[c>>2];d=((e>>31)+e|0)+32768>>16;e=N[c+4>>2];j=N[a>>2];d=pf(b,d,((e>>31)+e|0)+32768>>16,j,f);if(d){break b}e=N[c+8>>2];d=((e>>31)+e|0)+32768>>16;e=N[c+12>>2];d=pf(b,d,((e>>31)+e|0)+32768>>16,j,f+4|0);if(d){break b}e=b;b=N[c+16>>2];d=((b>>31)+b|0)+32768>>16;b=N[c+20>>2];d=pf(e,d,((b>>31)+b|0)+32768>>16,j,f+8|0);if(d){break b}g=N[f+8>>2];h=N[f+4>>2];i=N[f>>2];k=T(m,36)+a|0;e=N[k+40>>2];c:{if(e){l=g>>3;n=h>>3;o=i>>3;p=128>>>(g&7)|0;q=128>>>(h&7)|0;r=128>>>(i&7)|0;c=N[k+48>>2];b=e;while(1){d=N[c>>2];if((O[N[c+8>>2]+o|0]&r?i>>>0>>0:0)|(O[N[c+8>>2]+n|0]&q?d>>>0>h>>>0:0)|(O[l+N[c+8>>2]|0]&p?d>>>0>g>>>0:0)){break c}c=c+16|0;b=b-1|0;if(b){continue}break}}l=e+1|0;b=N[k+44>>2];d:{if(l>>>0<=b>>>0){b=N[(T(m,36)+a|0)+48>>2];break d}N[f+12>>2]=0;c=(e&-8)+8|0;d=T(m,36)+a|0;b=lb(j,16,b,c,N[d+48>>2],f+12|0);N[d+48>>2]=b;d=N[f+12>>2];if(d){break b}N[k+44>>2]=c}d=0;c=((l<<4)+b|0)-16|0;N[c>>2]=0;N[((e<<4)+b|0)+12>>2]=0;N[k+40>>2]=l}if((i|0)>=0){if(d>>>0<=i>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=i+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=i+1}b=N[c+8>>2]+(i>>>3|0)|0;L[b|0]=O[b|0]|128>>>(i&7)}e:{if((h|0)>=0){if(Q[c>>2]<=h>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=h+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=h+1}b=N[c+8>>2]+(h>>>3|0)|0;L[b|0]=O[b|0]|128>>>(h&7);if((g|0)>=0){break e}break a}if((g|0)<0){break a}}if(Q[c>>2]<=g>>>0){b=N[c+4>>2];N[f+12>>2]=0;e=g+8>>>3|0;b=b+7>>>3|0;if(e>>>0>b>>>0){d=b;b=e+7&1073741816;s=c,t=lb(j,1,d,b,N[c+8>>2],f+12|0),N[s+8>>2]=t;d=N[f+12>>2];if(d){break b}N[c+4>>2]=b<<3}N[c>>2]=g+1}a=N[c+8>>2]+(g>>>3|0)|0;L[a|0]=O[a|0]|128>>>(g&7);break a}N[a+4>>2]=d}La=f+16|0}function $f(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=La-16|0;La=h;f=N[a+100>>2];N[h+12>>2]=0;a:{b:{c:{d:{e=N[a+532>>2];if(!e){e=Qa[N[f+4>>2]](f,420)|0;if(!e){break d}C(e,0,420);N[h+12>>2]=0;N[e+416>>2]=0;N[a+532>>2]=e}e:{f:{if(!b){break f}d=N[e>>2];if(!d){if((b|0)<0){d=6;break b}d=10;if((b|0)>67108863){break b}i=b<<5;d=Qa[N[f+4>>2]](f,i)|0;g:{if(!(!d|(b|0)<=0)){C(d,0,i);i=e+148|0;N[i>>2]=d;break g}j=!d;N[h+12>>2]=j<<6;i=e+148|0;N[i>>2]=d;if(j){break a}}if((b|0)>=10956550){N[h+12>>2]=10;N[e+216>>2]=0;break a}j=T(b,196);d=Qa[N[f+4>>2]](f,j)|0;h:{if(!(!d|(b|0)<=0)){C(d,0,j);j=e+216|0;N[j>>2]=d;break h}g=!d;N[h+12>>2]=g<<6;j=e+216|0;N[j>>2]=d;if(g){break a}}g=b<<4;d=Qa[N[f+4>>2]](f,g)|0;i:{if(!(!d|(b|0)<=0)){C(d,0,g);N[h+12>>2]=0;g=e+288|0;N[g>>2]=d;break i}k=!d;N[h+12>>2]=k<<6;g=e+288|0;N[g>>2]=d;if(k){break a}}d=lb(f,4,0,b<<1,0,h+12|0);N[e+136>>2]=d;if(N[h+12>>2]){break a}N[e+284>>2]=a+464;N[e+212>>2]=a+168;N[e+144>>2]=a+132;N[e+140>>2]=d+(b<<2);if(b>>>0>=2){g=N[g>>2];j=N[j>>2];i=N[i>>2];a=2;while(1){d=(a<<2)+e|0;g=g+16|0;N[d+284>>2]=g;j=j+196|0;N[d+212>>2]=j;i=i+32|0;N[d+144>>2]=i;a=a+1|0;if(b>>>0>=a>>>0){continue}break}}N[e>>2]=b;break f}if((b|0)!=(d|0)){break e}}a=N[e+4>>2];j:{if(!c){c=a;break j}if((a|0)!=(c|0)?a:0){break e}N[e+4>>2]=c}d=N[e>>2];if(N[e+24>>2]|(!d|!c)){break a}b=0;a=T(c,d);if((a|0)<0){b=6;break c}k:{if(!a){f=0;break k}b=10;if((a|0)>536870911){break c}i=a<<2;b=Qa[N[f+4>>2]](f,i)|0;f=!b<<6;if(!b|(a|0)<=0){break k}f=0;C(b,0,i)}N[h+12>>2]=f;N[e+24>>2]=b;if(d>>>0<2|f){break a}f=d-1|0;i=f&3;a=1;if(d-2>>>0>=3){j=f&-4;d=0;f=e+24|0;while(1){N[f+(a<<2)>>2]=(T(a,c)<<2)+b;g=a+1|0;N[f+(g<<2)>>2]=(T(c,g)<<2)+b;g=a+2|0;N[f+(g<<2)>>2]=(T(c,g)<<2)+b;g=a+3|0;N[f+(g<<2)>>2]=(T(c,g)<<2)+b;a=a+4|0;d=d+4|0;if((j|0)!=(d|0)){continue}break}}if(!i){break a}f=0;while(1){N[((a<<2)+e|0)+24>>2]=(T(a,c)<<2)+b;a=a+1|0;f=f+1|0;if((i|0)!=(f|0)){continue}break}break a}N[h+12>>2]=3;break a}N[h+12>>2]=64;break a}N[h+12>>2]=b;N[e+24>>2]=0;break a}N[h+12>>2]=d;N[e+148>>2]=0}La=h+16|0;return N[h+12>>2]}function vm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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;m=N[a+4>>2];j=N[m+8>>2];e=3;a:{b:{if(d?0:c){break b}L[a|0]=0;if(Q[m+3112>>2]<=b>>>0|(P[m+3120>>1]!=(c|0)?c:0)){break b}i=N[a+20>>2];g=N[m+3116>>2];o=N[g+(b<<3)>>2];f=o+1|0;if((i|f)<0){return 6}h=N[a+24>>2];c:{d:{if(!f){if(h){Qa[N[j+8>>2]](j,h)}N[a+20>>2]=f;N[a+24>>2]=0;break d}e=10;if((f|0)>536870911){break b}e:{if(!i){h=Qa[N[j+4>>2]](j,f<<2)|0;e=!h<<6;break e}e=Qa[N[j+12>>2]](j,i<<2,f<<2,h)|0;h=e?e:h;e=!e<<6}f:{if(h?e|(f|0)<=(i|0):1){N[a+24>>2]=h;if(e){break b}N[a+20>>2]=f;break f}C((i<<2)+h|0,0,f-i<<2);N[a+20>>2]=f;N[a+24>>2]=h}r=g+(b<<3)|0;if(c){i=0;while(1){g:{if(!i){N[h>>2]=65536;break g}q=i<<2;e=N[(q+N[r+4>>2]|0)-4>>2];if(e>>>0>=Q[m+3124>>2]){return 3}f=N[m+3128>>2];N[h+q>>2]=65536;s=N[f+(e<<2)>>2];n=0;while(1){e=65536;g=T(n,12)+s|0;f=N[g+4>>2];k=N[g>>2];h:{if((f|0)<(k|0)){break h}l=N[g+8>>2];if(!f|(l|0)<(f|0)|(k|0)<0&(l|0)>0){break h}e=0;g=N[(n<<2)+d>>2];if((g|0)<(k|0)|(g|0)>(l|0)){break h}e=65536;if((f|0)==(g|0)){break h}if((f|0)>(g|0)){e=fb(g-k|0,f-k|0);break h}e=fb(l-g|0,l-f|0)}l=h+q|0;k=N[l>>2];g=k>>31;g=(g^k)-g|0;f=e>>31;f=(f^e)-f|0;i:{if(g+(f>>>8|0)>>>0<=8190){g=T(f,g)+32768>>>16|0;break i}p=g&65535;g=T(p,f>>>16|0)+T(f,g>>>16|0)+(T(f&65535,p)+32768>>>16)|0}f=g;p=0-f|0;f=k>>31|1;N[l>>2]=(((e|0)<0?0-f|0:f)|0)<0?p:g;n=n+1|0;if((n|0)!=(c|0)){continue}break}}e=(i|0)!=(o|0);i=i+1|0;if(e){continue}break}break d}N[h>>2]=65536;if(!o){N[a+8>>2]=b;break c}f=N[r+4>>2];e=1;while(1){i=e<<2;if(Q[(i+f|0)-4>>2]>=Q[m+3124>>2]){return 3}N[h+i>>2]=0;i=(e|0)==(o|0);e=e+1|0;if(!i){continue}break}}N[a+8>>2]=b;if(!c){break c}e=N[a+16>>2];h=N[a+12>>2];if((h|c)<0){b=6;break a}b=10;if((c|0)>536870911){break a}j:{if(!h){b=Qa[N[j+4>>2]](j,c<<2)|0;e=!b<<6;break j}j=Qa[N[j+12>>2]](j,h<<2,c<<2,e)|0;b=j?j:e;e=!j<<6}k:{if(!(e|(c|0)<=(h|0)|!b)){C((h<<2)+b|0,0,c-h<<2);N[a+16>>2]=b;break k}N[a+16>>2]=b;if(e){break b}}F(b,d,c<<2)}L[a|0]=1;N[a+12>>2]=c;e=0}return e|0}N[a+16>>2]=e;return b|0}function Ob(a,b){var 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;a:{b:{c:{d:{e:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;h=(c<<8|c>>>8)&65535;a=a+4|0;c=!c|!O[b+12|0];if(!O[b+48|0]){break c}if(c){return 1}N[b+16>>2]=-1;o=N[b+28>>2];m=o-1|0;p=N[b+44>>2];f=N[b+20>>2];l=N[b+32>>2];q=(o|0)<=0;c=O[a|0]|O[a+1|0]<<8;c=(c<<8|c>>>8)&65535;d=c;while(1){f:{i=d>>>9|0;g:{if(!((i|0)!=N[(f<<3)+l>>2]|f>>>0>=o>>>0)){e=f;break g}j=0;g=m;h:{if(!q){while(1){e=g+j>>>1|0;n=N[(e<<3)+l>>2];i:{if((n|0)>(i|0)){g=e-1|0;break i}if((i|0)==(n|0)){break h}j=e+1|0}if((g|0)>=(j|0)){continue}break}}j=(d&-512)+512|0;break f}N[b+20>>2]=e}j=(d&-512)+512|0;if(!p){f=e;break f}n=(N[((e<<3)+l|0)+4>>2]<<6)+p|0;while(1){f=d;d=c>>>0<=d>>>0;if(c>>>0>f>>>0){break a}c=n+(f>>>3&56)|0;r=N[c+4>>2];i=f&63;g=i&31;if((i&63)>>>0>=32){i=1<>>32-g}N[c>>2]=k|N[c>>2];N[c+4>>2]=i|r;h=h-1|0;if(!h){break a}d=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;c=f;d=(d<<8|d>>>8)&65535;if(j>>>0>d>>>0){continue}break}f=e;continue}while(1){e=d;d=e>>>0>=c>>>0;if(c>>>0>e>>>0){break a}h=h-1|0;if(!h){break a}d=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;c=e;d=(d<<8|d>>>8)&65535;if(j>>>0>d>>>0){continue}break}continue}}d=1;c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}a=a+4|0;g=a+T((c<<8|c>>>8)&65535,6)|0;c=b+12|0;while(1){e=O[a+2|0]|O[a+3|0]<<8;e=(e<<8|e>>>8)&65535;f=O[a|0]|O[a+1|0]<<8;f=(f<<8|f>>>8)&65535;j:{if(O[b+48|0]){rd(c,f,e);break j}if(!Ne(c,f,e)){break b}}a=a+6|0;if((g|0)!=(a|0)){continue}break}break a}if(c){return 1}g=b+12|0;N[b+16>>2]=-1;b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;d=c;while(1){m=wc(g,d);if(!m){break b}j=(d&65024)+512|0;b=c;while(1){c=d;d=c>>>0>=b>>>0;if(b>>>0>c>>>0){break a}b=m+(c>>>3&56)|0;l=N[b+4>>2];f=c&63;e=f&31;if((f&63)>>>0>=32){f=1<>>32-e}N[b>>2]=k|N[b>>2];N[b+4>>2]=f|l;h=h-1|0;if(!h){break a}e=O[a+2|0]|O[a+3|0]<<8;a=a+2|0;b=c;d=(e<<8|e>>>8)&65535;if(j>>>0>d>>>0){continue}break}continue}}d=0}return d}function lk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=La-1136|0;La=e;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;h=(c<<8|c>>>8)&65535;switch(h|0){case 0:break c;case 1:break d;default:break b}}c=N[b+96>>2];if(N[c+156>>2]){zc(c);c=N[b+88>>2];d=N[b+96>>2];N[e+64>>2]=N[d+64>>2];ib(d,c,23278,e- -64|0)}a=O[a+2|0]|O[a+3|0]<<8;Pe(b,(a<<8|a>>>8)&65535);a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e+48>>2]=N[a+64>>2]-1;ib(a,b,23455,e+48|0);break a}a=N[b+96>>2];if(N[a+156>>2]){zc(a);a=N[b+88>>2];c=N[b+96>>2];N[e+96>>2]=N[c+64>>2];ib(c,a,23233,e+96|0);a=N[b+96>>2]}g=N[a+80>>2];d=N[a+64>>2];h=N[(g+T(d,20)|0)+8>>2];f=d+1|0;e:{f:{g:{if(f>>>0>2]){if((h|0)==N[(g+T(f,20)|0)+8>>2]){break f}c=N[a+72>>2];if(c){break g}Ib(a,d,d+2|0);N[a+64>>2]=N[a+64>>2]+1;break e}c=N[a+72>>2];if(!c){break f}}i=N[a+84>>2];j=N[(i+T(c,20)|0)-12>>2];if(h>>>0>=j>>>0){break f}g=N[(g+T(d,20)|0)+4>>2]&7;while(1){c=c-1|0;d=T(c,20)+i|0;if(N[d+8>>2]!=(j|0)){break f}N[d+4>>2]=g|N[d+4>>2]&-8;N[d+8>>2]=h;if(c){continue}break}}N[a+64>>2]=f}a=N[b+96>>2];if(!N[a+156>>2]){break a}zc(a);a=N[b+88>>2];b=N[b+96>>2];N[e+80>>2]=N[b+64>>2];ib(b,a,23324,e+80|0);break a}d=N[b+96>>2];if(N[d+156>>2]){zc(d);d=N[b+88>>2];g=N[b+96>>2];N[e+32>>2]=N[g+64>>2];ib(g,d,17378,e+32|0);d=N[b+96>>2]}h:{if(!c){break h}f=N[d+80>>2]+T(N[d+64>>2],20)|0;d=P[f+12>>1]>>>1&2;g=h>>>0<=1?1:h;c=0;if(O[f+14|0]<=31){while(1){f=N[b+96>>2];L[(N[f+80>>2]+T(N[f+64>>2],20)|0)+14|0]=c&15;f=(c<<1)+a|0;f=O[f+2|0]|O[f+3|0]<<8;hk(b,(f<<8|f>>>8)&65535,d);c=c+1|0;if((g|0)!=(c|0)){continue}break h}}while(1){f=(c<<1)+a|0;f=O[f+2|0]|O[f+3|0]<<8;hk(b,(f<<8|f>>>8)&65535,d);c=c+1|0;if((g|0)!=(c|0)){continue}break}}a=N[b+96>>2];N[a+64>>2]=N[a+64>>2]+1;if(!N[a+156>>2]){break a}zc(a);C(e+112|0,0,1024);d=N[b+96>>2];c=N[d+64>>2];a=c-h|0;if(a>>>0>>0){h=e+1136|0;c=e+112|0;while(1){if(e+112>>>0>>0){L[c|0]=44;c=c+1|0}N[e+16>>2]=a;Oe(c,h-c|0,8356,e+16|0);c=nb(c)+c|0;a=a+1|0;d=N[b+96>>2];if(a>>>0>2]){continue}break}}a=N[b+88>>2];N[e>>2]=e+112;ib(d,a,11480,e)}La=e+1136|0}function kt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=N[a+804>>2];a:{b:{if(e){f=6;if(Q[a+28>>2]<=b>>>0){break a}b=N[e+(b<<2)>>2];break b}f=6;if(Q[a+800>>2]<=b>>>0){break a}}f=2;c:{d:{switch(N[a+796>>2]-1|0){case 0:case 1:g=N[a+788>>2]+T(b,48)|0;d=O[g+52|0];M[c>>1]=d;e=O[g+53|0];M[c+2>>1]=e;j=L[g+24|0];b=j<<6;N[c+12>>2]=b;i=L[g+25|0];f=i<<6;N[c+16>>2]=f;h=L[g+33|0];e:{f:{if((i|0)>0){if((h|0)>=0){break e}f=0-f|0;break f}if(i|j){break e}b=L[g+32|0];if(b|h){b=b<<6;N[c+12>>2]=b;f=h<<6;break f}b=e<<6;N[c+12>>2]=b;f=0}N[c+16>>2]=f}N[c+20>>2]=b-f;if((b|0)==(f|0)){b=e<<6;N[c+20>>2]=b;N[c+16>>2]=f-b}N[c+24>>2]=L[g+31|0]+(O[g+26|0]+L[g+30|0]|0)<<6;b=P[a+178>>1];break c;case 2:break d;default:break a}}f=3;b=N[a+788>>2]+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(Q[a+864>>2]>>0){break a}b=b+N[a+860>>2]|0;g:{h:{i:{j:{d=N[a+104>>2];e=N[d+20>>2];k:{if(e){f=85;if(Qa[e|0](d,b,0,0)|0){break a}N[d+8>>2]=b;e=N[d+4>>2];if(!N[d+20>>2]){break k}if(e>>>0<4){break a}b=N[d+28>>2];e=Qa[N[b+4>>2]](b,4)|0;if(!e){break j}N[d>>2]=e;g=Qa[N[d+20>>2]](d,N[d+8>>2],e,4)|0;e=N[d>>2];if(g>>>0<=3){break i}f=0;break h}f=85;e=N[d+4>>2];if(b>>>0>e>>>0){break a}N[d+8>>2]=b}if(e-b>>>0<4|b>>>0>=e>>>0){break a}N[d+8>>2]=b+4;e=N[d>>2];b=b+e|0;N[d+32>>2]=b;h=b+4|0;N[d+36>>2]=h;break g}N[d>>2]=0;return 64}if(e){Qa[N[b+8>>2]](b,e)}e=0;N[d>>2]=0;f=85}N[d+32>>2]=e;h=e?e+4|0:0;N[d+36>>2]=h;N[d+8>>2]=g+N[d+8>>2];b=e;if(g>>>0<4){break a}}f=0;if(b+1>>>0>>0){f=O[b|0]|O[b+1|0]<<8;f=f<<8|f>>>8;b=b+2|0}N[d+32>>2]=((b+1>>>0>>0)<<1)+b;if(N[d+20>>2]){if(e){b=N[d+28>>2];Qa[N[b+8>>2]](b,e)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0;b=P[a+178>>1];M[c+2>>1]=f;M[c>>1]=f;d=M[a+220>>1];e=f&65535;f=e<<6;k=c,l=jb(d,f,b),N[k+12>>2]=l;g=M[a+222>>1];k=c,l=jb(g,f,b),N[k+16>>2]=l;k=c,l=jb(M[a+224>>1]+(d-g|0)|0,f,b),N[k+20>>2]=l;k=c,l=jb(P[a+226>>1],f,b),N[k+24>>2]=l;d=e}k=c,l=jb(d,4194304,b),N[k+4>>2]=l;k=c,l=jb(e,4194304,b),N[k+8>>2]=l;f=0}return f|0}function Mo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{h=L[a|0];if((h|0)!=117){break b}c:{d=O[a+1|0];if((d|0)!=110|O[a+2|0]!=105){break c}b=O[a+3|0];c=b-48|0;e=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(e>>>0>15){break c}b=O[a+4|0];c=b-48|0;g=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(g>>>0>15){break c}b=O[a+5|0];c=b-48|0;i=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(i>>>0>15){break c}b=O[a+6|0];c=b-48|0;b=c>>>0>9?b-71>>>0<4294967290?16:b-55|0:c;if(b>>>0>15){break c}b=b+(i+((e<<8)+(g<<4)|0)<<4)|0;c=O[a+7|0];if(!c){break a}if((c|0)!=46){break c}return b|-2147483648}b=d-71>>>0<4294967290?16:d-55|0;d=d-48|0;c=d>>>0>9?b:d;if(c>>>0>15){break b}d=O[a+2|0];b=d-48|0;e=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(e>>>0>15){break b}d=O[a+3|0];b=d-48|0;g=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(g>>>0>15){break b}d=O[a+4|0];b=d-48|0;d=b>>>0>9?d-71>>>0<4294967290?16:d-55|0:b;if(d>>>0>15){break b}b=d+(g+((c<<8)+(e<<4)|0)<<4)|0;d=O[a+5|0];c=d-48|0;c=c>>>0>9?d-71>>>0<4294967290?16:d-55|0:c;d:{if(c>>>0>15){break d}b=c+(b<<4)|0;d=O[a+6|0];c=d-48|0;c=c>>>0>9?d-71>>>0<4294967290?16:d-55|0:c;if(c>>>0>15){break d}b=c+(b<<4)|0;d=O[a+7|0]}d=d&255;if(!d){break a}if((d|0)!=46){break b}return b|-2147483648}d=h;while(1){b=d&255;if(!(!b|(b|0)==46)){f=f+1|0;d=O[f+a|0];continue}break}if(!f){return 0}i=a+f|0;g=a+1|0;b=0;a=52;e:{f:{while(1){j=a+b|0;c=j&-2;c=(O[c+300610|0]<<8|O[c+300611|0])+300608|0;e=O[c|0];k=e&127;if((h|0)==(k|0)){break f}c=j>>1;e=(h|0)>(k|0);b=e?c+1|0:b;a=e?a:c;if((b|0)<(a|0)){continue}break}a=0;break e}if(f>>>0>1){while(1){a=O[c+1|0];b=a&127;f=e<<24>>24;h=O[g|0];e=a<<24>>24;g:{h:{if((f|0)<0){if((b|0)!=(h|0)){break h}c=c+1|0;break g}a=0;if(!b){break e}f=(((e|0)>=0?1:3)+c|0)+1|0;while(1){c=(O[f+1|0]|O[f|0]<<8)+300608|0;e=O[c|0];if((h|0)==(e&127)){break g}f=f+2|0;c=(b|0)>1;b=b-1|0;if(c){continue}break}break e}a=0;break e}g=g+1|0;if((i|0)!=(g|0)){continue}break}}a=0;if(e<<24>>24<0|L[c+1|0]>=0){break e}a=O[c+3|0]|O[c+2|0]<<8}b=(d&255)==46?a|-2147483648:a}return b|0}function zm(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[a+12>>2]=b;N[a+8>>2]=c;N[a+4>>2]=b;N[a+20>>2]=N[a+16>>2];a:{while(1){if(b>>>0>=c>>>0){break a}k=N[a+20>>2];i=N[a+16>>2];l=k-i>>2;e=N[a+24>>2];g=O[b|0];b:{c:{if(!((g|0)==31|(g-27&255)>>>0>227)){d=4;if(e>>>0<=l>>>0){break b}N[a+20>>2]=k+4;N[k>>2]=b;d:{switch(g-28|0){case 2:while(1){b=b+1|0;if(c>>>0<=b>>>0){b=c;d=7;break b}e=O[b|0];if((e&240)==240){break c}if((e&15)!=15){continue}break};break c;case 0:b=b+2|0;break c;case 1:b=b+4|0;break c;default:break d}}b=(g>>>0>246)+b|0;break c}d=4;if(e>>>0<=l>>>0){break b}N[k>>2]=b;if((g|0)==12){b=b+1|0;d=8;if(c>>>0<=b>>>0){break b}g=O[b|0]|256}e=31312;h=4;f=N[a+28>>2]|g;e:{f:{if((f|0)==4096){break f}g:{while(1){h:{i:{j:{d=e;if((f|0)!=N[d+32>>2]){if((f|0)==N[d+60>>2]){break i}if((f|0)==N[d+88>>2]){break g}h=N[d+112>>2];if(!h){break e}e=d+112|0;if((f|0)==N[d+116>>2]){break f}if((f|0)!=N[d+144>>2]){break j}}e=e+28|0;h=N[e>>2];break f}if((f|0)!=N[d+172>>2]){break h}d=e}e=d+56|0;h=N[e>>2];break f}if((f|0)==N[d+200>>2]){break g}e=d+224|0;if((f|0)!=N[d+228>>2]){continue}break}h=N[d+224>>2];break f}e=e+84|0;h=N[e>>2]}f=N[e+8>>2];j=N[a+32>>2];if((i|0)==(k|0)){d=12;if((h|0)!=6){break b}}d=f+j|0;k:{l:{m:{n:{o:{p:{switch(h-1|0){case 0:case 3:case 4:f=Lc(a,N[N[a+16>>2]>>2]);break o;case 1:f=ne(a,N[N[a+16>>2]>>2],0);break o;case 5:break n;case 2:break p;default:break m}}f=ne(a,N[N[a+16>>2]>>2],3)}q:{switch(O[e+12|0]-1|0){case 1:M[d>>1]=f;break e;case 0:break k;default:break q}}N[d>>2]=f;break e}g=N[a+16>>2];f=N[e+20>>2];i=f>>>0>l>>>0?l:f;L[j+N[e+24>>2]|0]=i;if(!i){break e}j=0;while(1){j=Lc(a,N[g>>2])+j|0;r:{s:{t:{u:{f=O[e+12|0];switch(f-1|0){case 1:break t;case 0:break u;default:break s}}L[d|0]=j;break r}M[d>>1]=j;break r}N[d>>2]=j}g=g+4|0;d=d+f|0;i=i-1|0;if(i){continue}break}break l}m=Qa[N[e+16>>2]](a)|0;d=7;if(m){break b}m=0}if((h|0)!=8){break e}break c}L[d|0]=f}N[a+20>>2]=N[a+16>>2]}b=b+1|0;d=0}e=d;if(!e){continue}break}if(ZE(e,30)-1>>>0>2){break a}m=6}return m}function lp(a,b){var 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,t=0,u=0,v=0,w=0;m=N[a+4>>2];if(m){e=N[a+24>>2]+T(b,204)|0;j=N[e+200>>2];b=j>>31;g=(b^j)-b|0;n=g&65535;o=g>>>16|0;p=g>>>8|0;s=N[e+204>>2];q=N[a+12>>2];while(1){a=N[q+4>>2];a:{if((a|0)<=0){break a}b=N[q>>2];i=b+T(a,40)|0;e=0;a=b;h=0;while(1){f=N[a+16>>2]&32;h=f?h?h:a:h;e=(f>>>5|0)+e|0;a=a+40|0;if(i>>>0>a>>>0){continue}break}a=h;if(e>>>0<=1){if((e|0)==1){d=N[h+36>>2];e=N[h+28>>2];a=e>>31;a=(a^e)-a|0;b:{if(a+p>>>0<=8190){c=T(a,g)+32768>>>16|0;break b}c=a&65535;c=T(c,o)+T(a>>>16|0,g)+(T(c,n)+32768>>>16)|0}a=c;f=0-a|0;a=e>>31|1;s=d+((((j|0)<0?0-a|0:a)|0)<0?c:f)|0}while(1){if((b|0)!=(h|0)){e=N[b+28>>2];a=e>>31;a=(a^e)-a|0;c:{if(a+p>>>0<=8190){c=T(a,g)+32768>>>16|0;break c}f=a&65535;c=T(f,o)+T(a>>>16|0,g)+(T(f,n)+32768>>>16)|0}a=c;d=0-a|0;a=e>>31|1;N[b+36>>2]=((((j|0)<0?0-a|0:a)|0)<0?d:c)+s}b=b+40|0;if(i>>>0>b>>>0){continue}break}break a}while(1){b=a;a=N[a+4>>2];if((h|0)==(a|0)){break a}e=a;if(O[a+16|0]&32){continue}while(1){e=N[e+4>>2];if(!(O[e+16|0]&32)){continue}break}f=N[b+28>>2];c=N[e+28>>2];d:{if((f|0)<=(c|0)){k=c-f|0;i=e;break d}k=f-c|0;i=b;b=e;f=c}i=N[i+36>>2];r=N[b+36>>2];if((k|0)<=0){b=65536}else{b=fb(i-r|0,k)}c=b>>31;l=(b^c)-c|0;u=l&65535;v=l>>>16|0;w=l>>>8|0;while(1){c=N[a+28>>2]-f|0;e:{if((c|0)<=0){d=c>>31;d=(d^c)-d|0;f:{if(d+p>>>0<=8190){d=T(d,g)+32768>>>16|0;break f}t=d&65535;d=T(t,o)+T(d>>>16|0,g)+(T(n,t)+32768>>>16)|0}c=c>>31|1;c=((((j|0)<0?0-c|0:c)|0)<0?0-d|0:d)+r|0;break e}if((c|0)>=(k|0)){c=c-k|0;g:{if(c+p>>>0<=8190){d=T(c,g)+32768>>>16|0;break g}d=c&65535;d=T(d,o)+T(c>>>16|0,g)+(T(d,n)+32768>>>16)|0}c=c>>31|1;c=((((j|0)<0?0-c|0:c)|0)<0?0-d|0:d)+i|0;break e}d=c;c=c>>31;c=(d^c)-c|0;h:{if(c+w>>>0<=8190){c=T(c,l)+32768>>>16|0;break h}d=c&65535;c=T(d,v)+T(c>>>16|0,l)+(T(d,u)+32768>>>16)|0}c=((b|0)<0?0-c|0:c)+r|0}N[a+36>>2]=c;a=N[a+4>>2];if((e|0)!=(a|0)){continue}break}a=e;if((h|0)!=(a|0)){continue}break}}q=q+8|0;m=m-1|0;if(m){continue}break}}}function ep(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=La-784|0;La=i;N[i+24>>2]=N[a+60>>2];j=N[a+64>>2];N[i+20>>2]=c;N[i+28>>2]=j;N[i+16>>2]=b;N[i+12>>2]=e;N[i+8>>2]=d;N[i+4>>2]=g;N[i>>2]=f;c=i;a:{while(1){n=N[c>>2];b:{c:{j=N[c+20>>2];l=N[c+12>>2];f=N[c+28>>2];g=N[c+4>>2];if((((j|0)<(l|0)?j:l)|0)>=(((f|0)<(g|0)?f:g)|0)){k=(f|0)>(g|0);if((((j|0)>(l|0)?j:l)|0)<=((k?f:g)|0)){break c}}b=N[c+24>>2];N[c+48>>2]=b;N[c+52>>2]=f;d=f+j|0;N[c+44>>2]=d>>1;e=g+l|0;N[c+12>>2]=e>>1;f=N[c+8>>2];k=f+n|0;N[c+8>>2]=k>>1;m=b;b=N[c+16>>2];h=m+b|0;N[c+40>>2]=h>>1;m=d;d=j+l|0;j=m+d|0;N[c+36>>2]=j>>2;d=d+e|0;N[c+20>>2]=d>>2;b=b+f|0;e=b+k|0;N[c+16>>2]=e>>2;b=b+h|0;N[c+32>>2]=b>>2;N[c+28>>2]=d+j>>3;N[c+24>>2]=b+e>>3;c=c+24|0;break b}d:{if((f|0)==(g|0)){break d}o=k?2:1;h=N[a+92>>2];if((o|0)!=(h|0)){b=N[a+4>>2];e=k?f&b-1:((b+f|0)-1&0-b)-f|0;d=N[a+36>>2];m=N[a+8>>2];e:{if(!h){b=d;break e}h=N[a+80>>2];b=N[h+8>>2];p=d-b|0;if((p|0)<0){N[a+40>>2]=99;a=1;break a}f:{if((b|0)==(d|0)){b=d;break f}N[h+16>>2]=p>>2;if((e|0)>=(m|0)){b=P[h+12>>1];M[h+12>>1]=(b&8?16:32)|b}N[a+80>>2]=d;b=d+32|0;N[a+36>>2]=b;N[d+8>>2]=b;N[d+16>>2]=0;N[h+28>>2]=d;M[a+76>>1]=P[a+76>>1]+1}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}L[a+79|0]=0}if(!N[a+84>>2]){N[a+84>>2]=b;N[a+80>>2]=b;b=b+32|0;N[a+36>>2]=b}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}d=N[a+80>>2];N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=b;N[d+28>>2]=0;N[d+4>>2]=0;b=O[a+48|0];M[d+12>>1]=b;g:{h:{if(!k){M[d+12>>1]=b|8;h=40;if((e|0)>=(m|0)){break h}break g}h=16;if((e|0)<(m|0)){break g}}M[d+12>>1]=b|h}if(!N[a+88>>2]){N[a+88>>2]=d}M[a+78>>1]=1;N[a+92>>2]=o}b=N[a+72>>2];d=N[a+68>>2];if(!k){if(!yg(a,3,c,354,d,b)){break d}a=1;break a}N[c+28>>2]=0-f;N[c+20>>2]=0-j;N[c+12>>2]=0-l;N[c+4>>2]=0-g;e=O[a+78|0];b=yg(a,3,c,354,0-b|0,0-d|0);if(!(O[a+78|0]|!e)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}N[c+4>>2]=0-N[c+4>>2];if(!b){break d}a=1;break a}c=c-24|0}if(i>>>0<=c>>>0){continue}break}N[a+64>>2]=g;N[a+60>>2]=n;a=0}La=i+784|0;return a}function fB(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;j=La-128|0;l=g;k=g>>31;UE(g,k,c,c>>31);g=Pa+262144|0;c=g>>31;m=g>>19;p=c;c=m;g=c>>31;h=(c^g)-g|0;UE(l,k,d,d>>31);i=Pa+262144|0;g=i>>31;d=i>>19;n=d;i=d>>31;i=(i^d)-i|0;i=((i>>>0>h>>>0?h:i)<<14)+32768>>>16|0;M[j>>1]=i;M[j+64>>1]=0-i;M[j+66>>1]=c-i;M[j+2>>1]=c+i;h=c<<1;M[j+68>>1]=h-i;M[j+4>>1]=i+h;h=T(c,3);M[j+70>>1]=h-i;M[j+6>>1]=i+h;h=c<<2;M[j+72>>1]=h-i;M[j+8>>1]=i+h;h=T(c,5);M[j+74>>1]=h-i;M[j+10>>1]=i+h;h=T(c,6);M[j+76>>1]=h-i;M[j+12>>1]=i+h;h=T(c,7);M[j+78>>1]=h-i;M[j+14>>1]=i+h;h=c<<3;M[j+80>>1]=h-i;M[j+16>>1]=i+h;h=T(c,9);M[j+18>>1]=h+i;M[j+82>>1]=h-i;h=T(c,10);M[j+84>>1]=h-i;M[j+20>>1]=i+h;h=T(c,11);M[j+86>>1]=h-i;M[j+22>>1]=i+h;h=T(c,12);M[j+88>>1]=h-i;M[j+24>>1]=i+h;h=T(c,13);M[j+90>>1]=h-i;M[j+26>>1]=i+h;h=T(c,14);M[j+92>>1]=h-i;M[j+28>>1]=i+h;h=T(c,15);M[j+94>>1]=h-i;M[j+30>>1]=i+h;h=c<<4;M[j+96>>1]=h-i;M[j+32>>1]=i+h;h=T(c,17);M[j+98>>1]=h-i;o=T(c,18);M[j+100>>1]=o-i;M[j+34>>1]=i+h;M[j+36>>1]=i+o;h=T(c,19);M[j+102>>1]=h-i;M[j+38>>1]=i+h;h=T(c,20);M[j+104>>1]=h-i;M[j+40>>1]=i+h;h=T(c,21);M[j+106>>1]=h-i;M[j+42>>1]=i+h;h=T(c,22);M[j+108>>1]=h-i;M[j+44>>1]=i+h;h=T(c,23);M[j+110>>1]=h-i;M[j+46>>1]=i+h;h=T(c,24);M[j+112>>1]=h-i;M[j+48>>1]=i+h;h=T(c,25);M[j+114>>1]=h-i;M[j+50>>1]=i+h;h=T(c,26);M[j+52>>1]=h+i;M[j+116>>1]=h-i;h=T(c,27);M[j+118>>1]=h-i;M[j+54>>1]=i+h;h=T(c,28);M[j+120>>1]=h-i;M[j+56>>1]=i+h;h=T(c,29);M[j+122>>1]=h-i;M[j+58>>1]=i+h;h=T(c,30);M[j+124>>1]=h-i;M[j+60>>1]=i+h;c=T(c,31);M[j+126>>1]=c-i;M[j+62>>1]=c+i;c=f<<20|e>>>12;i=c>>31;UE(c,i,l,k);c=g+p|0;d=d+m|0;c=n>>>0>d>>>0?c+1|0:c;g=((Pa+4096>>>13|0)-((c&1)<<31|d>>>1)|0)+256|0;c=0;while(1){d=0;while(1){e=d<<1;f=g-P[e+j>>1]<<16>>16;f=(f|0)>0?f:0;e=g-P[e+(j- -64|0)>>1]<<16>>16;e=(e|0)>0?e:0;e=(f>>>0>=512?512:f)+(e>>>0>=512?512:e)>>>2|0;L[a+d|0]=e>>>0>=255?255:e;d=d+1|0;if((d|0)!=32){continue}break}g=g-n|0;a=a+b|0;c=c+1|0;if((c|0)!=32){continue}break}}function oc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;c=N[a+8>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;d=N[c+12>>2]+T(b,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[c+8>>2]=b;if(e){Qa[e|0](d);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+8>>2]=0}b=N[a+16>>2];c:{if(!b){b=0;break c}c=N[b>>2];if(c){b=N[a+12>>2];if(b){b=N[b>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+4>>2];if(c){b=N[a+12>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+8>>2];if(c){b=N[a+12>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+12>>2];if(c){b=N[a+12>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+16>>2];if(c){b=N[a+12>>2];if(b){b=N[b+16>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+20>>2];if(c){b=N[a+12>>2];if(b){b=N[b+20>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+24>>2];if(c){b=N[a+12>>2];if(b){b=N[b+24>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+28>>2];if(c){b=N[a+12>>2];if(b){b=N[b+28>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+32>>2];if(c){b=N[a+12>>2];if(b){b=N[b+32>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+36>>2];if(c){b=N[a+12>>2];if(b){b=N[b+36>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+40>>2];if(c){b=N[a+12>>2];if(b){b=N[b+40>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+44>>2];if(c){b=N[a+12>>2];if(b){b=N[b+44>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+48>>2];if(c){b=N[a+12>>2];if(b){b=N[b+48>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+52>>2];if(c){b=N[a+12>>2];if(b){b=N[b+52>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+56>>2];if(c){b=N[a+12>>2];if(b){b=N[b+56>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+60>>2];if(c){b=N[a+12>>2];if(b){b=N[b+60>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+64>>2];if(c){b=N[a+12>>2];if(b){b=N[b+64>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}c=N[b+68>>2];if(!c){break c}b=N[a+12>>2];if(b){b=N[b+68>>2]}else{b=0}Qa[c|0](b);b=N[a+16>>2]}_a(b);_a(N[a+12>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function hl(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;c=N[a>>2];a:{if(c){break a}g=a-124|0;while(1){d=N[g>>2];if(!d){c=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;c=N[d+32>>2];if((c|0)==-1){c=sb(d+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[d+32>>2]=c}L[b+40|0]=1;N[b+36>>2]=c;c=N[d+12>>2];b:{if(c){c=Qa[c|0](d,1953653099,N[d+16>>2])|0;if(c){break b}}c=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!c){break k}d=N[c>>2];if(!d){break k}if((d|0)<=0){break j}N[c>>2]=d+1}L[b+24|0]=0;N[b+32>>2]=c;f=N[c+12>>2];N[b+4>>2]=f;d=N[c+16>>2];N[b+8>>2]=d+f;if((d|0)<0){break i}N[b+28>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[b+12>>2]=d;N[b+20>>2]=0;N[b>>2]=0;d=c;if(!f){break d}if(lh(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}d=zb(c);N[b+4>>2]=d;N[b+8>>2]=d+N[c+16>>2];if(!d){break l}while(1){L[b+24|0]=1;d=N[b+32>>2];f=N[d+12>>2];N[b+4>>2]=f;e=N[d+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(lh(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}d=zb(c);N[b+4>>2]=d;N[b+8>>2]=d+N[c+16>>2];if(d){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;d=lh(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(d){break e}}ab(c);c=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[c+4>>2]){N[c+4>>2]=0}break c}ab(d);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}d=c;c=N[a>>2];m:{if(d){if(c){break m}c=d;N[a>>2]=c;break a}if(c){break a}c=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);c=N[a>>2];if(!c){continue}break}}La=b+48|0;return Q[c+16>>2]<12?275552:N[c+12>>2]}function zf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{c:{d:{e:{f:{if(!N[a+24>>2]){if(N[a+44>>2]){break f}c=N[a+52>>2];if(c>>>0<=1){break e}b=c<<2;c=N[a+56>>2];i=b+c|0;g=c+4|0;while(1){f=N[g>>2];c=N[f+12>>2];if(c){e=N[f+16>>2];j=e+T(c,12)|0;while(1){c=N[e+8>>2];if(c>>>0>=Q[a+52>>2]){N[147456]=0;break b}b=N[N[a+56>>2]+(c<<2)>>2];if(!b){break b}c=0;g:{h:{i:{j:{d=N[e>>2];switch(d>>>4&3){case 2:break h;case 1:break i;case 0:break j;default:break g}}c=N[b>>2]-N[f>>2]|0;break g}c=N[b>>2]-N[f+4>>2]|0;break g}c=N[a+4>>2]+N[b>>2]-(N[a>>2]+N[a+8>>2])|0}h=d>>>6|0;if(h>>>0>c>>>0){break d}b=d&7;c=c-h|0;k:{if(d&8){l:{switch(b-2|0){default:ba(21611,14296,537,10829);B();case 2:b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)){break a}d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);L[b|0]=d;L[b+1|0]=d>>>8;L[b+2|0]=d>>>16;L[b+3|0]=d>>>24;if(!(c>>31)){break k}N[a+24>>2]=N[a+24>>2]|2;break k;case 0:break l}}b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8){break a}d=c<<8|(c&65280)>>>8;L[b|0]=d;L[b+1|0]=d>>>8;b=c<<16;d=b>>31;b=b>>16;if(!d&(b|0)==(c|0)){break k}N[a+24>>2]=N[a+24>>2]|2;break k}if(b-2>>>0>=3){break c}m:{switch(b-3|0){case 1:b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24)){break a}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);L[b|0]=c;L[b+1|0]=c>>>8;L[b+2|0]=c>>>16;L[b+3|0]=c>>>24;break k;case 0:b=N[f>>2]+N[e+4>>2]|0;if(O[b+1|0]<<8|O[b|0]<<16|O[b+2|0]){break a}L[b+2|0]=c;L[b+1|0]=c>>>8;L[b|0]=c>>>16;if(c>>>0<16777216){break k}N[a+24>>2]=N[a+24>>2]|2;break k;default:break m}}b=N[f>>2]+N[e+4>>2]|0;if(O[b|0]|O[b+1|0]<<8){break a}d=c<<8|(c&65280)>>>8;L[b|0]=d;L[b+1|0]=d>>>8;if(c>>>0<65536){break k}N[a+24>>2]=N[a+24>>2]|2}e=e+12|0;if((j|0)!=(e|0)){continue}break}}g=g+4|0;if((i|0)!=(g|0)){continue}break}}return}ba(9270,14296,518,10829);B()}ba(21778,14296,519,10829);B()}ba(11438,14296,533,10829);B()}ba(21557,14296,545,10829);B()}N[a+24>>2]=N[a+24>>2]|1;return}ba(15190,14296,730,9500);B()}function mp(a,b){var 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;j=La+-64|0;La=j;f=N[a>>2];a:{if((f|0)<=0){break a}d=N[a+24>>2];c=T(b,204);k=N[a+16>>2];e=N[a+8>>2];m=e+T(f,40)|0;b=0;a=e;while(1){b=(N[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(m>>>0>a>>>0){continue}break}if(!b){break a}l=N[(c+d|0)+200>>2];d=j;if(b>>>0>=17){if(b>>>0>536870911){break a}a=b<<2;d=Qa[N[k+4>>2]](k,a)|0;if(!d){break a}C(d,0,a)}f=0;c=e;while(1){if(O[c+16|0]&16){a=(f<<2)+d|0;b:{if((f|0)<=0){b=a;break b}i=N[c+28>>2];while(1){b=a-4|0;h=N[b>>2];if((i|0)>=N[h+28>>2]){b=a;break b}N[a>>2]=h;a=b;if(d>>>0>>0){continue}break}}N[b>>2]=c;f=f+1|0}c=c+40|0;if(m>>>0>c>>>0){continue}break}a=l>>31;i=(a^l)-a|0;o=i&65535;p=i>>>16|0;q=i>>>8|0;r=((f<<2)+d|0)-4|0;while(1){n=N[e+16>>2];c:{if(n&16){break c}a=N[e+12>>2];if(a&2){b=O[e+20|0];if(!(a&4|n&64)|((b|0)==4|(b|0)!=O[e+21|0])){break c}N[e+12>>2]=a&-3}c=N[e+28>>2];a=0;d:{e:{if(f){f:{while(1){if((c|0)>2]+28>>2]){break f}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break e}}a=N[d>>2];h=N[a+36>>2];b=c-N[a+28>>2]|0;a=b>>31;a=(a^b)-a|0;g:{if(a+q>>>0<=8190){c=T(a,i)+32768>>>16|0;break g}c=a&65535;c=T(c,p)+T(i,a>>>16|0)+(T(c,o)+32768>>>16)|0}a=c;g=0-a|0;a=b>>31|1;g=h+((((l|0)<0?0-a|0:a)|0)<0?g:c)|0;break d}h=N[((a<<2)+d|0)-4>>2];b=f;while(1){h:{a=b;if(!a){a=0;break h}b=a-1|0;if((c|0)<=N[N[(b<<2)+d>>2]+28>>2]){continue}}break}if((a|0)==(f|0)){a=N[r>>2];h=N[a+36>>2];b=c-N[a+28>>2]|0;a=b>>31;a=(a^b)-a|0;i:{if(a+q>>>0<=8190){c=T(a,i)+32768>>>16|0;break i}c=a&65535;c=T(c,p)+T(i,a>>>16|0)+(T(c,o)+32768>>>16)|0}a=c;g=0-a|0;a=b>>31|1;g=h+((((l|0)<0?0-a|0:a)|0)<0?g:c)|0;break d}b=N[h+28>>2];g=N[h+36>>2];if((b|0)==(c|0)){break d}a=N[(a<<2)+d>>2];g=N[a+28>>2];if((c|0)==(g|0)){g=N[a+36>>2];break d}s=N[a+36>>2];a=N[h+36>>2];g=jb(c-b|0,s-a|0,g-b|0)+a|0}N[e+36>>2]=g;N[e+16>>2]=n|32}e=e+40|0;if(m>>>0>e>>>0){continue}break}if(!d|(d|0)==(j|0)){break a}Qa[N[k+8>>2]](k,d)}La=j- -64|0}function zd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=La-16|0;La=h;l=N[b+28>>2];N[a+28>>2]=0;N[a+32>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;N[a>>2]=b;e=N[b+8>>2];N[a+4>>2]=e;a:{b:{c:{d:{if(d){if(Q[b+4>>2]<=e+3>>>0){break c}e:{f:{d=N[b+20>>2];g:{if(d){if((Qa[d|0](b,e,h+9|0,4)|0)!=4){break c}e=N[b+8>>2];d=h+9|0;break g}d=N[b>>2];if(!d){break f}d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break e}d=0}e=e+4|0;N[b+8>>2]=e;f=5;break d}if(Q[b+4>>2]<=e+1>>>0){break c}h:{i:{d=N[b+20>>2];j:{if(d){if((Qa[d|0](b,e,h+13|0,2)|0)!=2){break c}e=N[b+8>>2];d=h+13|0;break j}d=N[b>>2];if(!d){break i}d=d+e|0}d=O[d+1|0]|O[d|0]<<8;break h}d=0}e=e+2|0;N[b+8>>2]=e;f=3}N[a+8>>2]=f;if(!d){e=0;break a}L[h+15|0]=0;f=N[b+20>>2];k:{if(f){if((Qa[f|0](b,e,h+15|0,1)|0)!=1){break c}e=N[b+8>>2];f=h+15|0;break k}if(Q[b+4>>2]<=e>>>0){break c}f=N[b>>2]+e|0}f=O[f|0];g=e+1|0;N[b+8>>2]=g;e=8;if((f-5&255)>>>0<252){break b}L[a+16|0]=f;N[a+12>>2]=d;N[a+20>>2]=N[a+8>>2]+(N[a+4>>2]+T(f,d+1|0)|0);e=85;d=T(d,f);if((d|0)<0){break b}d=d+g|0;f=N[b+20>>2];l:{if(f){if(!(Qa[f|0](b,d,0,0)|0)){break l}break b}if(d>>>0>Q[b+4>>2]){break b}}N[b+8>>2]=d;N[h+4>>2]=0;d=0;f=La-16|0;La=f;k=85;e=N[a>>2];i=N[e+4>>2];g=N[e+8>>2];m:{if(i>>>0<=g>>>0){break m}j=O[a+16|0];m=N[e+20>>2];n:{if(m){i=Qa[m|0](e,g,f+12|0,j)|0;break n}i=i-g|0;i=i>>>0>>0?i:j;F(f+12|0,g+N[e>>2]|0,i)}N[e+8>>2]=g+i;if(i>>>0>>0){break m}g=O[a+16|0];if(!g){k=0;break m}k=0;e=0;if(g>>>0>=4){e=g&252;d=f+e|0;d=(O[d+8|0]<<16|O[d+9|0]<<8|O[d+10|0])<<8|O[d+11|0]}j=g&3;if(!j){break m}g=0;while(1){d=O[(f+12|0)+e|0]|d<<8;e=e+1|0;g=g+1|0;if((j|0)!=(g|0)){continue}break}}N[h+4>>2]=k;La=f+16|0;e=N[h+4>>2];if(e){break b}e=8;if(!d){break b}d=d-1|0;N[a+24>>2]=d;o:{if(c){e=fc(b,d,a+32|0);break o}e=Xc(b,d)}if(e){break b}e=0;break a}e=85}b=N[a+28>>2];if(b){Qa[N[l+8>>2]](l,b)}N[a+28>>2]=0}La=h+16|0;return e}function el(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!b){break i}c=N[b>>2];if(!c){break i}if((c|0)<=0){break h}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;f=b;if(!d){break a}j:{if(e>>>0<4){break j}N[a+12>>2]=c-4;k:{l:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 0:break k;case 1:break l;default:break f}}if(!eh(d,a)){break j}break f}if(dh(d,a)){break f}}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break e}while(1){L[a+24|0]=1;f=N[a+32>>2];d=N[f+12>>2];N[a+4>>2]=d;e=N[f+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){break a}m:{if(e>>>0<4){break m}N[a+12>>2]=c-4;n:{o:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break n;case 0:break o;default:break f}}if(!dh(d,a)){break m}break f}if(eh(d,a)){break f}}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}break e}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a+28>>2]){break d}f=0;N[a+28>>2]=0;if(Q[a+4>>2]>d>>>0){break e}c=N[a+8>>2];p:{if(c>>>0>>0|c-d>>>0<4){break p}c=N[a+12>>2]-4|0;N[a+12>>2]=c;if((c|0)<=0){break p}f=1;q:{r:{c=O[d|0]|O[d+1|0]<<8;switch((c<<8|c>>>8)&65535){case 1:break q;case 0:break r;default:break p}}f=dh(d,a);break p}f=eh(d,a)}c=N[a+28>>2];ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(c){break b}if(f){break c}break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(b);return 275552}ab(f);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function Rd(a,b,c){var d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;a:{b:{c:{d:{f=N[a+8>>2];if(Q[a+4>>2]<=f+3>>>0){break d}d=N[a+20>>2];e:{if(d){if((Qa[d|0](a,f,g+12|0,4)|0)!=4){break d}f=N[a+8>>2];d=g+12|0;break e}d=N[a>>2];if(!d){break c}d=d+f|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}e=85;break a}h=0}d=f+4|0;N[a+8>>2]=d;e=2;if((b|0)!=(h|0)){break a}f:{g:{h:{i:{b=N[a+4>>2];if(b>>>0>f+7>>>0){e=N[a+20>>2];if(!e){N[a+8>>2]=f+8;f=f+24|0;break h}if((Qa[e|0](a,d,g+12|0,4)|0)==4){break i}}e=85;break a}d=N[a+8>>2];N[a+8>>2]=d+4;f=d+20|0;b=N[a+20>>2];if(b){break g}b=N[a+4>>2]}e=85;if(b>>>0>=f>>>0){break f}break a}e=85;if(Qa[b|0](a,f,0,0)|0){break a}b=N[a+4>>2]}N[a+8>>2]=f;if(d+21>>>0>=b>>>0){break a}j:{b=N[a+20>>2];if(b){if((Qa[b|0](a,f,g+12|0,2)|0)!=2){break a}f=N[a+8>>2];b=g+12|0;break j}b=N[a>>2];if(b){b=b+f|0;break j}N[a+8>>2]=d+22;e=2;break a}e=2;b=O[b|0]|O[b+1|0]<<8;N[a+8>>2]=f+2;h=(b<<8|b>>>8)&65535;if(!h){break a}b=0;while(1){k:{f=N[a+4>>2];e=N[a+8>>2];if(f>>>0<=e+3>>>0){break k}l:{m:{n:{o:{d=N[a+20>>2];p:{if(d){if((Qa[d|0](a,e,g+12|0,4)|0)!=4){break k}e=N[a+8>>2];d=g+12|0;break p}d=N[a>>2];if(!d){break o}d=d+e|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=e+4|0;N[a+8>>2]=f;if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))==2){N[g+8>>2]=0;q:{r:{s:{if(Q[a+4>>2]<=e+7>>>0){break s}d=N[a+20>>2];t:{if(d){if((Qa[d|0](a,f,g+12|0,4)|0)!=4){break s}f=N[a+8>>2];d=g+12|0;break t}d=N[a>>2];if(!d){break r}d=d+f|0}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break q}N[g+8>>2]=85;break l}d=0}N[a+8>>2]=f+4;Nb(a,g+8|0);if(N[g+8>>2]){break l}N[c>>2]=d;e=0;break a}e=e+12|0;d=N[a+20>>2];if(!d){f=N[a+4>>2];break n}if(!(Qa[d|0](a,e,0,0)|0)){break m}e=85;break a}N[a+8>>2]=e+4;e=e+12|0}if(e>>>0<=f>>>0){break m}e=85;break a}N[a+8>>2]=e;N[g+8>>2]=0}e=2;b=b+1|0;if((h|0)!=(b|0)){continue}break a}break}e=85}La=g+16|0;return e}function Wm(a){var 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;j=La-16|0;La=j;d=N[a+104>>2];f=N[d+28>>2];i=N[a+736>>2];L[i+24|0]=1;a:{if(Qa[N[a+516>>2]](a,1635148146,d,j+12|0)|0){break a}if(Bb(d,N[j+12>>2])){break a}c=N[d+36>>2];a=N[d+32>>2];if(c>>>0>a+3>>>0){b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=a+4|0}N[d+32>>2]=a;if(c>>>0>a+3>>>0){b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=a+4|0}N[d+32>>2]=a;b:{if((e|0)!=65536|N[N[i+12>>2]>>2]!=(g|0)){break b}c:{d:{e:{if(g-268435456>>>0>=4026531841){b=g<<3;c=Qa[N[f+4>>2]](f,b)|0;a=!c<<6;if(!(!c|(g|0)<=0)){C(c,0,b);a=0}N[i+28>>2]=c;if((g|0)<=0|a){break b}l=i+28|0;e=0;while(1){a=N[d+32>>2];f:{if(Q[d+36>>2]<=a+1>>>0){b=0;break f}b=O[a|0]|O[a+1|0]<<8;b=b<<8|b>>>8;a=a+2|0}N[d+32>>2]=a;M[c>>1]=b;a=b&65535;if(Q[j+12>>2]>>0){break d}g:{if(!a){k=0;break g}a=a<<3;k=Qa[N[f+4>>2]](f,a)|0;if(!k){break e}C(k,0,a)}N[c+4>>2]=k;m=P[c>>1];if(m){a=N[d+32>>2];n=N[d+36>>2];b=0;while(1){h:{if(a+1>>>0>=n>>>0){h=0;break h}h=O[a|0]|O[a+1|0]<<8;h=h<<8|h>>>8;a=a+2|0}N[d+32>>2]=a;o=(b<<3)+k|0;N[o>>2]=h<<16>>16<<2;h=0;if(a+1>>>0>>0){h=O[a|0]|O[a+1|0]<<8;h=h<<8|h>>>8;a=a+2|0}N[d+32>>2]=a;N[o+4>>2]=h<<16>>16<<2;b=b+1|0;if((m|0)!=(b|0)){continue}break}}c=c+8|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}break b}l=i+28|0;break c}N[c+4>>2]=0}a=N[i+28>>2];i:{if(e){j:{if(!(e&1)){b=e;break j}b=e-1|0;c=b<<3;g=N[(c+a|0)+4>>2];if(g){Qa[N[f+8>>2]](f,g);a=N[i+28>>2]}N[(a+c|0)+4>>2]=0}if((e|0)==1){break i}while(1){e=b-1<<3;c=N[(e+a|0)+4>>2];if(c){Qa[N[f+8>>2]](f,c);a=N[i+28>>2]}N[(a+e|0)+4>>2]=0;e=b-2|0;c=e<<3;g=N[(c+a|0)+4>>2];if(g){Qa[N[f+8>>2]](f,g);a=N[i+28>>2]}N[(a+c|0)+4>>2]=0;c=(b|0)>2;b=e;if(c){continue}break}break i}if(!a){break c}}Qa[N[f+8>>2]](f,a)}N[l>>2]=0}if(N[d+20>>2]){a=N[d>>2];if(a){b=N[d+28>>2];Qa[N[b+8>>2]](b,a)}N[d>>2]=0}N[d+32>>2]=0;N[d+36>>2]=0}La=j+16|0}function Am(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;j=La-48|0;La=j;N[j+4>>2]=0;m=N[h+556>>2];k=N[g>>2];i=N[k>>2];N[j+28>>2]=0;N[j+32>>2]=0;N[j+20>>2]=0;N[j+24>>2]=0;N[j+12>>2]=0;N[j+16>>2]=0;N[j+40>>2]=a;N[j+36>>2]=f;N[j+44>>2]=0;N[j+8>>2]=k;k=(f|0)==12288|(f|0)==16384;l=k?513:96;n=l<<2;i=Qa[N[i+4>>2]](i,n)|0;a:{if(i){C(i,0,n);N[j+32>>2]=l;N[j+24>>2]=i;N[j+28>>2]=i;C(a+24|0,0,160);N[a+156>>2]=8720;N[a+60>>2]=65536;N[a+44>>2]=2;N[a+48>>2]=65536;N[a+32>>2]=-6553600;N[a+36>>2]=3276800;N[a+184>>2]=k?513:48;N[a+172>>2]=65535;N[a+136>>2]=65535;N[a+128>>2]=65535;N[a+132>>2]=65535;N[a+16>>2]=65535;N[a+20>>2]=65535;N[a+8>>2]=65535;N[a+12>>2]=65535;N[a>>2]=65535;N[a+4>>2]=65535;b:{c:{d:{if(!N[b+12>>2]){c=N[b+20>>2];l=N[d+20>>2];e:{if(l){i=85;if(!(Qa[l|0](d,c,0,0)|0)){break e}break b}i=85;if(c>>>0>Q[d+4>>2]){break b}}N[d+8>>2]=c;i=fc(d,N[b+24>>2],j+4|0);if(i){break b}c=b+24|0;break d}i=Yf(b,c,j+4|0,j);if(i){break c}c=j}i=N[j+4>>2];i=zm(j+8|0,i,i?i+N[c>>2]|0:0)}c=d;f:{if(N[b+12>>2]){if(N[b+32>>2]){break f}c=N[b>>2]}g:{if(!c|!N[c+20>>2]){break g}b=N[j+4>>2];if(!b){break g}c=N[c+28>>2];Qa[N[c+8>>2]](c,b)}N[j+4>>2]=0}if(i){break b}i=0;if(N[a+132>>2]!=65535){break b}i=xm(g,a,0,0);if(i){break b}h:{if((f|0)==12288|(f|0)==16384){break h}f=N[N[h+128>>2]+60>>2];i:{if((f|0)==-1){b=N[h+96>>2];f=N[b+68>>2];N[a+648>>2]=f;if(!f){break i}while(1){f=Qa[N[m+20>>2]](f)|0;N[b+68>>2]=f;if((f|0)<0){continue}break}break i}N[a+648>>2]=f;if(!f){break i}while(1){f=Qa[N[m+20>>2]](f)|0;N[N[h+128>>2]+60>>2]=f;if((f|0)<0){continue}break}}if(N[a+648>>2]){break h}N[a+648>>2]=N[a+532>>2]}b=N[a+536>>2];if(!b){i=0;break b}b=N[a+116>>2]+(b+e|0)|0;c=N[d+20>>2];j:{if(c){i=85;if(!(Qa[c|0](d,b,0,0)|0)){break j}break b}i=85;if(b>>>0>Q[d+4>>2]){break b}}N[d+8>>2]=b;b=a+608|0;i=zd(b,d,1,k);if(i){break b}i=Gh(b,a+644|0,0,0)}a=N[j+24>>2];if(!a){break a}b=N[N[j+8>>2]>>2];Qa[N[b+8>>2]](b,a);break a}N[j+24>>2]=0;i=64}La=j+48|0;return i}function bk(a,b,c,d,e,f,g){var h=0,i=0;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}a=h;c:{d:{if((d|0)==-1){break d}h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<65537){break d}b=275552;e:{if((h&65535)!=256){break e}h=O[a+10|0]|O[a+11|0]<<8|(O[a+12|0]<<16|O[a+13|0]<<24);b=275552;if(!h){break e}b=(h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))+a|0}h=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0>d>>>0){d=(b+(d<<3)|0)+8|0}else{d=275552}d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if(d){d=b+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}else{d=275552}b=O[d+4|0]|O[d+5|0]<<8;if(!b){break d}b=(b<<8|b>>>8)&65535;h=b>>>0<=1?1:b;b=0;while(1){i=d+T(b,6)|0;i=O[i+6|0]|O[i+7|0]<<8;if(((i<<8|i>>>8)&65535)==(c|0)){b=d+T(b,6)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);a=275552;if(!b){break c}a=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;break c}b=b+1|0;if((h|0)!=(b|0)){continue}break}}b=275552;f:{if((O[a|0]|O[a+1|0]<<8)!=256){break f}d=O[a+6|0]|O[a+7|0]<<8;b=275552;if(!d){break f}b=((d<<8|d>>>8)&65535)+a|0}a=O[b|0]|O[b+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0>c>>>0){c=(b+T(c,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;a=275552;if(!c){break c}a=b+((c<<8|c>>>8)&65535)|0}b=a;g:{if(!f){break g}a=O[b+2|0]|O[b+3|0]<<8;a=(a<<8|a>>>8)&65535;c=a-e|0;a=a>>>0>=c>>>0?c:0;c=N[f>>2];a=a>>>0>>0?a:c;N[f>>2]=a;if(!a){break g}d=(b+(e<<1)|0)+4|0;if(a&1){b=O[d|0]|O[d+1|0]<<8;N[g>>2]=(b<<8|b>>>8)&65535;d=d+2|0;g=g+4|0;b=a-1|0}else{b=a}if((a|0)==1){break g}a=b;while(1){c=O[d|0]|O[d+1|0]<<8;N[(b?g:589824)>>2]=(c<<8|c>>>8)&65535;c=(b|0)!=0;f=(c<<2)+g|0;e=(b|0)!=(c|0);g=O[d+2|0]|O[d+3|0]<<8;N[(e?f:589824)>>2]=(g<<8|g>>>8)&65535;g=f+(e<<2)|0;b=b-(c+e|0)|0;d=d+4|0;a=a-2|0;if(a){continue}break}}}function dm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){d=N[a+100>>2];b=N[a>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a>>2]=0;e=N[a+92>>2];if(e){b=N[e+4>>2];a:{if(!b){break a}c=N[e+20>>2];if((b|0)!=1){g=b&1;f=b&-2;b=0;while(1){h=N[c>>2];if(h){Qa[N[d+8>>2]](d,h)}N[c>>2]=0;h=N[c+4>>2];if(h){Qa[N[d+8>>2]](d,h)}N[c+4>>2]=0;c=c+8|0;b=b+2|0;if((f|0)!=(b|0)){continue}break}if(!g){break a}}b=N[c>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c>>2]=0}b=N[e+20>>2];if(b){Qa[N[d+8>>2]](d,b)}N[e+20>>2]=0;b=N[a+92>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+92>>2]=0}b=N[a+84>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+84>>2]=0;e=N[a+72>>2];if(e){c=0;while(1){b=N[a+80>>2];g=c<<4;f=b+g|0;if(N[f+4>>2]==1){e=N[f+12>>2];if(e){Qa[N[d+8>>2]](d,e);b=N[a+80>>2]}N[(b+g|0)+12>>2]=0;e=N[a+72>>2]}c=c+1|0;if(e>>>0>c>>>0){continue}break}}b=N[a+80>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+80>>2]=0;if(N[a+52>>2]){c=N[a+56>>2];b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;e=N[c+24>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+24>>2]=0;c=c+36|0;b=b+1|0;if(b>>>0>2]){continue}break}}if(N[a+64>>2]){c=N[a+68>>2];b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;e=N[c+24>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+24>>2]=0;c=c+36|0;b=b+1|0;if(b>>>0>2]){continue}break}}b=N[a+56>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+56>>2]=0;b=N[a+68>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+68>>2]=0;b=N[a+116>>2];b:{if(!b){break b}c=N[a+132>>2];if((b|0)!=1){e=b&1;g=b&-2;b=0;while(1){f=N[c>>2];if(f){Qa[N[d+8>>2]](d,f)}N[c>>2]=0;f=N[c+4>>2];if(f){Qa[N[d+8>>2]](d,f)}N[c+4>>2]=0;c=c+8|0;b=b+2|0;if((g|0)!=(b|0)){continue}break}if(!e){break b}}b=N[c>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c>>2]=0}b=N[a+132>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+132>>2]=0;c=N[a+104>>2];if(N[a+108>>2]){b=0;while(1){e=N[c>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c>>2]=0;if(N[c+4>>2]==1){e=N[c+12>>2];if(e){Qa[N[d+8>>2]](d,e)}N[c+12>>2]=0}c=c+16|0;b=b+1|0;if(b>>>0>2]){continue}break}c=N[a+104>>2]}if(c){Qa[N[d+8>>2]](d,c)}N[a+104>>2]=0}}function $l(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=N[d+8>>2];h=N[d+16>>2]+T(e,3)|0;m=P[f+(O[h+2|0]<<1)>>1];i=O[h+1|0];l=N[d+4>>2];f=l+P[f+(O[h|0]<<1)>>1]|0;g=O[f|0];a:{if(!g){g=0;break a}j=g&3;h=0;b:{if(g>>>0<4){g=0;break b}k=g&252;g=0;while(1){L[a+g|0]=O[f+1|0];L[(g|1)+a|0]=O[f+2|0];L[(g|2)+a|0]=O[f+3|0];L[(g|3)+a|0]=O[f+4|0];f=f+4|0;g=g+4|0;if((k|0)!=(g|0)){continue}break}}if(!j){break a}while(1){L[a+g|0]=O[f+1|0];g=g+1|0;f=f+1|0;h=h+1|0;if((j|0)!=(h|0)){continue}break}}c:{if(i>>>0<=9){c=c-i|0;break c}if((i-12&255)>>>0>8){break c}h=i-11|0;c=c-h|0;b=b+h|0}d:{if((c|0)<=0){break d}j=c&3;k=0;e:{if(c>>>0<4){f=0;break e}n=c&-4;f=0;while(1){h=a+g|0;L[h|0]=O[b+f|0];L[h+1|0]=O[(f|1)+b|0];L[h+2|0]=O[(f|2)+b|0];L[h+3|0]=O[(f|3)+b|0];g=g+4|0;f=f+4|0;if((n|0)!=(f|0)){continue}break}}if(!j){break d}while(1){L[a+g|0]=O[b+f|0];g=g+1|0;f=f+1|0;k=k+1|0;if((j|0)!=(k|0)){continue}break}}f=m+l|0;f:{g:{switch(i-10|0){case 0:b=(g-c|0)+a|0;c=O[b|0];if(c>>>0<=191){if((c-97&255)>>>0>25){break f}L[b|0]=c^32;break f}if(c>>>0<=223){L[b+1|0]=O[b+1|0]^32;break f}L[b+2|0]=O[b+2|0]^5;break f;case 1:if((c|0)<=0){break f}b=(g-c|0)+a|0;while(1){d=O[b|0];h:{if(d>>>0<=191){h=1;if((d-97&255)>>>0>25){break h}L[b|0]=d^32;break h}if(d>>>0<=223){L[b+1|0]=O[b+1|0]^32;h=2;break h}L[b+2|0]=O[b+2|0]^5;h=3}b=b+h|0;c=c-h|0;if((c|0)>0){continue}break};break f;case 11:b=N[d+20>>2]+(e<<1)|0;_l((g-c|0)+a|0,c,O[b|0]|O[b+1|0]<<8);break f;case 12:break g;default:break f}}if((c|0)<=0){break f}b=(g-c|0)+a|0;d=N[d+20>>2]+(e<<1)|0;d=O[d|0]|O[d+1|0]<<8;while(1){e=_l(b,c,d);b=e+b|0;c=c-e|0;if((c|0)>0){continue}break}}c=O[f|0];i:{if(!c){break i}d=c&3;if(d){b=0;while(1){L[a+g|0]=O[f+1|0];g=g+1|0;f=f+1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}b=c&252}else{b=c}h=b;if(c>>>0<4){break i}while(1){b=a+g|0;L[b|0]=O[f+1|0];L[b+1|0]=O[f+2|0];L[b+2|0]=O[f+3|0];L[b+3|0]=O[f+4|0];g=g+4|0;f=f+4|0;h=h-4|0;if(h){continue}break}}return g}function kf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=1;a:{b:{if(!N[b>>2]){b=c;break b}if(!N[c>>2]){break b}m=0;if(N[c+8>>2]>2]){break a}}d=N[a+20>>2];c:{if(!d){break c}f=N[b+8>>2];d:{while(1){h=N[(T(g,20)+a|0)+36>>2];if((h|0)>=(f|0)){break d}g=g+1|0;if((d|0)!=(g|0)){continue}break}g=d;break c}if(O[(T(g,20)+a|0)+28|0]&8|(!m&(h|0)<=N[c+8>>2]|(f|0)==(h|0))){break a}}d=N[a+4>>2];if(!(!O[d+12|0]|O[b|0]&16)){e:{if(!m){j=_c(d,(N[b+8>>2]+N[c+8>>2]|0)/2|0);e=N[c+8>>2]-N[b+8>>2]|0;i=(e|0)/2|0;f=i>>31;h=N[a+16>>2];d=h>>31;f=(f^i)-f|0;d=(d^h)-d|0;f:{if(f+(d>>>8|0)>>>0<=8190){d=T(d,f)+32768>>>16|0;break f}i=f&65535;d=T(i,d>>>16|0)+T(d,f>>>16|0)+(T(i,d&65535)+32768>>>16)|0}d=(e|0)<-1^(h|0)<0?0-d|0:d;N[b+12>>2]=j-d;f=d+j|0;d=c;break e}f=_c(d,N[b+8>>2]);d=b}N[d+12>>2]=f}if(N[b+12>>2]>2]?g:0){break a}d=N[a+20>>2];g:{if(d>>>0<=g>>>0){break g}f=N[(T(g,20)+a|0)+40>>2];if(!m){if((f|0)>=N[c+12>>2]){break g}break a}if((f|0)>2]){break a}}h=d+!m|0;if(h>>>0>191){break a}j=d-g|0;h:{if(!j){break h}k=g+1|0;i:{if(!(j&1)){f=d;break i}e=a+28|0;i=e+T(h,20)|0;f=d-1|0;e=e+T(f,20)|0;l=N[e+4>>2];N[i>>2]=N[e>>2];N[i+4>>2]=l;N[i+16>>2]=N[e+16>>2];l=N[e+12>>2];N[i+8>>2]=N[e+8>>2];N[i+12>>2]=l;h=h-1|0;j=j-1|0}if((d|0)==(k|0)){break h}i=a+28|0;while(1){k=i+T(f,20)|0;e=k-20|0;l=N[e+4>>2];d=i+T(h,20)|0;N[d>>2]=N[e>>2];N[d+4>>2]=l;N[d+16>>2]=N[e+16>>2];l=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=l;e=k-40|0;k=N[e+4>>2];d=d-20|0;N[d>>2]=N[e>>2];N[d+4>>2]=k;k=N[e+12>>2];N[d+8>>2]=N[e+8>>2];N[d+12>>2]=k;N[d+16>>2]=N[e+16>>2];h=h-2|0;f=f-2|0;j=j-2|0;if(j){continue}break}}d=T(g,20)+a|0;N[d+44>>2]=N[b+16>>2];g=N[b+12>>2];N[d+36>>2]=N[b+8>>2];N[d+40>>2]=g;g=N[b+4>>2];N[d+28>>2]=N[b>>2];N[d+32>>2]=g;N[a+20>>2]=N[a+20>>2]+1;if(m){break a}N[d- -64>>2]=N[c+16>>2];b=N[c+12>>2];N[d+56>>2]=N[c+8>>2];N[d+60>>2]=b;b=N[c+4>>2];N[d+48>>2]=N[c>>2];N[d+52>>2]=b;N[a+20>>2]=N[a+20>>2]+1}}function ro(a){var b=0,c=0,d=0,e=0,f=0;f=La-16|0;La=f;a:{while(1){b:{c:{d:{b=O[a|0];switch(b|0){case 0:break a;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break b;case 9:break c;default:break d}}if((b|0)!=32){break b}}a=a+1|0;continue}break}c=nb(a);b=c+a|0;e:{if((c|0)<=0){break e}while(1){c=b-1|0;d=O[c|0];if((d|0)!=32&(d|0)!=9){break e}b=c;if(b>>>0>a>>>0){continue}break}b=a}c=a;a=b-a|0;a=a>>>0>=15?15:a;F(f,c,a);L[a|f]=0;a=f;b=15619;while(1){f:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break f}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=2;if((c|0)==(d|0)){break a}a=f;b=21753;while(1){g:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break g}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=3;if((c|0)==(d|0)){break a}a=f;b=21760;while(1){h:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break h}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=4;if((c|0)==(d|0)){break a}a=f;b=21367;while(1){i:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break i}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=5;if((c|0)==(d|0)){break a}a=f;b=21374;while(1){j:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break j}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=6;if((c|0)==(d|0)){break a}a=f;b=13166;while(1){k:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break k}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=7;if((c|0)==(d|0)){break a}a=f;b=13174;while(1){l:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break l}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=8;if((c|0)==(d|0)){break a}a=f;b=17788;while(1){m:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break m}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=9;if((c|0)==(d|0)){break a}a=f;b=17795;while(1){n:{c=O[O[b|0]+25936|0];e=O[a|0];d=O[e+25936|0];if(!e){break n}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}}break}b=(c|0)==(d|0)?10:1}La=f+16|0;return b}function $a(a,b){var 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;if(!a){return kb(b)}a:{if(b>>>0>4294967231){break a}f=b>>>0<11?16:b+11&-8;e=a-8|0;i=N[e+4>>2];d=i&-8;b:{if(!(i&3)){if(f>>>0<256){break b}if(d>>>0>=f+4>>>0){c=e;if(d-f>>>0<=N[147437]<<1>>>0){break b}}c=0;break b}g=d+e|0;c:{if(d>>>0>=f>>>0){c=d-f|0;if(c>>>0<16){break c}N[e+4>>2]=i&1|f|2;d=e+f|0;N[d+4>>2]=c|3;N[g+4>>2]=N[g+4>>2]|1;Hn(d,c);break c}if(N[147323]==(g|0)){d=d+N[147320]|0;if(d>>>0<=f>>>0){break b}N[e+4>>2]=i&1|f|2;c=e+f|0;d=d-f|0;N[c+4>>2]=d|1;N[147320]=d;N[147323]=c;break c}if(N[147322]==(g|0)){d=d+N[147319]|0;if(d>>>0>>0){break b}c=d-f|0;d:{if(c>>>0>=16){N[e+4>>2]=i&1|f|2;h=e+f|0;N[h+4>>2]=c|1;d=d+e|0;N[d>>2]=c;N[d+4>>2]=N[d+4>>2]&-2;break d}N[e+4>>2]=d|i&1|2;c=d+e|0;N[c+4>>2]=N[c+4>>2]|1;c=0}N[147322]=h;N[147319]=c;break c}h=N[g+4>>2];if(h&2){break b}j=d+(h&-8)|0;if(j>>>0>>0){break b}l=j-f|0;e:{if(h>>>0<=255){c=N[g+12>>2];d=N[g+8>>2];if((c|0)==(d|0)){o=589268,p=N[147317]&ZE(-2,h>>>3|0),N[o>>2]=p;break e}N[d+12>>2]=c;N[c+8>>2]=d;break e}k=N[g+24>>2];d=N[g+12>>2];f:{if((g|0)!=(d|0)){c=N[g+8>>2];N[c+12>>2]=d;N[d+8>>2]=c;break f}g:{c=g+20|0;h=N[c>>2];if(!h){h=N[g+16>>2];if(!h){break g}c=g+16|0}while(1){m=c;d=h;c=d+20|0;h=N[c>>2];if(h){continue}c=d+16|0;h=N[d+16>>2];if(h){continue}break}N[m>>2]=0;break f}d=0}if(!k){break e}c=N[g+28>>2];h=(c<<2)+589572|0;h:{if(N[h>>2]==(g|0)){N[h>>2]=d;if(d){break h}o=589272,p=N[147318]&ZE(-2,c),N[o>>2]=p;break e}N[(N[k+16>>2]==(g|0)?16:20)+k>>2]=d;if(!d){break e}}N[d+24>>2]=k;c=N[g+16>>2];if(c){N[d+16>>2]=c;N[c+24>>2]=d}c=N[g+20>>2];if(!c){break e}N[d+20>>2]=c;N[c+24>>2]=d}if(l>>>0<=15){N[e+4>>2]=i&1|j|2;c=e+j|0;N[c+4>>2]=N[c+4>>2]|1;break c}N[e+4>>2]=i&1|f|2;c=e+f|0;N[c+4>>2]=l|3;d=e+j|0;N[d+4>>2]=N[d+4>>2]|1;Hn(c,l)}c=e}if(c){return c+8|0}c=kb(b);if(!c){break a}e=N[a-4>>2];e=(e&3?-4:-8)+(e&-8)|0;Pc(c,a,b>>>0>e>>>0?e:b);_a(a);n=c}return n}function tl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{if(!b){break d}d=N[b>>2];if(!d){break d}if((d|0)<=0){break c}N[b>>2]=d+1}N[a+32>>2]=b;e:{f:{while(1){L[a+24|0]=c;e=N[a+32>>2];d=N[e+12>>2];N[a+4>>2]=d;f=N[e+16>>2];g=f+d|0;N[a+8>>2]=g;if((f|0)<0){break b}N[a+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(e);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}g:{if(f>>>0<2){break g}N[a+12>>2]=c-2;if(!(O[d|0]|O[d+1|0]<<8)){break g}e=d+4|0;if((f&-4)==4|e>>>0>g>>>0){break g}N[a+12>>2]=c-6;c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=c>>>0<=1?1:c;g=0;f=d+8|0;c=f;h:{while(1){if(!ol(c,a)){break h}i=c;c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}if(!N[a+28>>2]){break f}N[a+28>>2]=0;if(d>>>0>2]){break g}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}g=N[a+12>>2];h=g-2|0;N[a+12>>2]=h;if(!(O[d|0]|O[d+1|0]<<8)|(h|0)<=0|(c>>>0>>0|c-e>>>0<4)){break g}c=g-6|0;N[a+12>>2]=c;if((c|0)<=0){break g}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0<=1?1:c;c=0;while(1){g=ol(f,a);if(g){d=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+f|0;c=c+1|0;if((e|0)!=(c|0)){continue}}break}if(N[a+28>>2]){break g}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(g){break e}break a}if(O[a+24|0]|!N[a+28>>2]){break g}d=zb(b);N[a+4>>2]=d;N[a+8>>2]=d+N[b+16>>2];c=1;if(d){continue}}break}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break a}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}ab(b);return 275552}function rl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c:{d:{if(!b){break d}d=N[b>>2];if(!d){break d}if((d|0)<=0){break c}N[b>>2]=d+1}N[a+32>>2]=b;e:{f:{while(1){L[a+24|0]=c;e=N[a+32>>2];d=N[e+12>>2];N[a+4>>2]=d;f=N[e+16>>2];g=f+d|0;N[a+8>>2]=g;if((f|0)<0){break b}N[a+28>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(e);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}g:{if(f>>>0<2){break g}N[a+12>>2]=c-2;if(!(O[d|0]|O[d+1|0]<<8)){break g}e=d+4|0;if((f&-4)==4|e>>>0>g>>>0){break g}N[a+12>>2]=c-6;c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);h=c>>>0<=1?1:c;g=0;f=d+8|0;c=f;h:{while(1){if(!pl(c,a)){break h}i=c;c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);c=i+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}if(!N[a+28>>2]){break f}N[a+28>>2]=0;if(d>>>0>2]){break g}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}g=N[a+12>>2];h=g-2|0;N[a+12>>2]=h;if(!(O[d|0]|O[d+1|0]<<8)|(h|0)<=0|(c>>>0>>0|c-e>>>0<4)){break g}c=g-6|0;N[a+12>>2]=c;if((c|0)<=0){break g}c=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(!c){break f}c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0<=1?1:c;c=0;while(1){g=pl(f,a);if(g){d=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);f=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+f|0;c=c+1|0;if((e|0)!=(c|0)){continue}}break}if(N[a+28>>2]){break g}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(g){break e}break a}if(O[a+24|0]|!N[a+28>>2]){break g}d=zb(b);N[a+4>>2]=d;N[a+8>>2]=d+N[b+16>>2];c=1;if(d){continue}}break}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break a}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}ab(b);return 275552}function nE(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1668049255;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[147450];if(!c){Dl();c=N[147450]}if(c&4){c=N[a+88>>2];d:{e:{f:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1801810542;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}c=N[a+88>>2];g:{h:{i:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break h}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Yf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;k=La-16|0;La=k;f=6;a:{if(!a){break a}h=N[a+12>>2];if(h>>>0<=b>>>0){break a}j=N[a>>2];b:{c:{d:{e:{f:{g=N[a+28>>2];if(!g){g=O[a+16|0];h=(N[a+8>>2]+N[a+4>>2]|0)+T(g,b)|0;e=N[j+20>>2];g:{if(e){f=85;if(Qa[e|0](j,h,0,0)|0){break a}g=O[a+16|0];e=N[a>>2];i=N[e+4>>2];break g}f=85;e=j;i=N[e+4>>2];if(h>>>0>i>>>0){break a}}N[j+8>>2]=h;h:{h=N[e+8>>2];if(h>>>0>>0){f=N[e+20>>2];i:{if(f){f=Qa[f|0](e,h,k+8|0,g)|0;break i}f=i-h|0;f=f>>>0>>0?f:g;F(k+8|0,h+N[e>>2]|0,f)}N[e+8>>2]=f+h;if(f>>>0>=g>>>0){break h}}f=85;break a}j:{g=O[a+16|0];if(g){f=0;e=0;i=0;if(g>>>0>=4){e=g&252;i=(k+e|0)+4|0;i=(O[i|0]<<16|O[i+1|0]<<8|O[i+2|0])<<8|O[i+3|0]}g=g&3;if(g){while(1){i=O[(k+8|0)+e|0]|i<<8;e=e+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(i){break j}}i=0;f=0;break e}while(1){f=85;e=N[a>>2];l=N[e+4>>2];g=N[e+8>>2];k:{if(l>>>0<=g>>>0){break k}h=O[a+16|0];m=N[e+20>>2];l:{if(m){l=Qa[m|0](e,g,k+12|0,h)|0;break l}l=l-g|0;l=h>>>0>l>>>0?l:h;F(k+12|0,g+N[e>>2]|0,l)}N[e+8>>2]=g+l;if(h>>>0>l>>>0){break k}h=O[a+16|0];if(!h){f=0;break k}g=0;f=0;e=0;if(h>>>0>=4){f=h&252;e=(k+f|0)+8|0;e=(O[e|0]<<16|O[e+1|0]<<8|O[e+2|0])<<8|O[e+3|0]}h=h&3;if(h){while(1){e=O[(k+12|0)+f|0]|e<<8;f=f+1|0;g=g+1|0;if((h|0)!=(g|0)){continue}break}}f=0;if(e){break f}}b=b+1|0;if(b>>>0>2]){continue}break}break e}f=0;i=N[g+(b<<2)>>2];if(!i){i=0;break e}while(1){b=b+1|0;e=N[g+(b<<2)>>2];if(e){break f}if((b|0)!=(h|0)){continue}break}break e}b=N[j+4>>2]+1|0;if(e>>>0<=b>>>0){break d}g=N[a+20>>2];break c}b=N[j+4>>2]+1|0;e=0}g=N[a+20>>2];if(g>>>0<=b-e>>>0){break b}}e=b-g|0}if(!(!i|e>>>0<=i>>>0)){b=e-i|0;N[d>>2]=b;d=N[a+32>>2];if(d){N[c>>2]=(d+i|0)-1;break a}a=(N[a+20>>2]+i|0)-1|0;d=N[j+20>>2];m:{if(d){f=85;if(!(Qa[d|0](j,a,0,0)|0)){break m}break a}f=85;if(a>>>0>Q[j+4>>2]){break a}}N[j+8>>2]=a;f=fc(j,b,c);break a}N[c>>2]=0;N[d>>2]=0}La=k+16|0;return f}function wg(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;h=La+-64|0;La=h;N[h>>2]=N[b>>2];N[h+4>>2]=N[c>>2];l=O[e+9|0];n=l?10:9;while(1){g=(i<<2)+h|0;o=g;m=N[g>>2];N[g+8>>2]=m;if(O[e+i|0]){g=N[a+8>>2];a:{if(N[a+12>>2]-g>>3>>>0<=j>>>0){g=0;k=N[a+4>>2];if(!k|N[k>>2]){break a}N[k>>2]=130;break a}b:{c:{d:{g=g+(j<<3)|0;switch(N[g+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}g=N[g>>2]<<16;break a}g=N[g>>2];g=((g>>31)+g|0)- -8192>>14;break a}g=N[g>>2]}N[o+8>>2]=g+m;j=j+1|0}i=i+1|0;if((n|0)!=(i|0)){continue}break}if(!l){N[h+44>>2]=N[c>>2]}e:{if(f){f=N[h+44>>2];i=f-N[c>>2]|0;e=i>>31;i=(e^i)-e|0;g=N[h+40>>2];k=g-N[b>>2]|0;e=k>>31;k=(e^k)-e|0;e=N[a+8>>2];f:{if(N[a+12>>2]-e>>3>>>0<=j>>>0){j=0;e=N[a+4>>2];if(!e|N[e>>2]){break f}N[e>>2]=130;break f}g:{h:{i:{e=e+(j<<3)|0;switch(N[e+4>>2]-1|0){case 0:break h;case 1:break i;default:break g}}j=N[e>>2]<<16;break f}e=N[e>>2];j=((e>>31)+e|0)- -8192>>14;break f}j=N[e>>2]}if((i|0)<(k|0)){i=g+j|0;e=N[c>>2];break e}i=N[b>>2];e=f+j|0;break e}j:{if(O[e+10|0]){g=N[h+40>>2];f=N[a+8>>2];k:{if(N[a+12>>2]-f>>3>>>0<=j>>>0){f=0;i=N[a+4>>2];if(!i|N[i>>2]){break k}N[i>>2]=130;break k}l:{m:{n:{f=f+(j<<3)|0;switch(N[f+4>>2]-1|0){case 0:break m;case 1:break n;default:break l}}f=N[f>>2]<<16;break k}f=N[f>>2];f=((f>>31)+f|0)- -8192>>14;break k}f=N[f>>2]}j=j+1|0;i=f+g|0;break j}i=N[b>>2]}if(O[e+11|0]){f=N[h+44>>2];e=N[a+8>>2];o:{if(N[a+12>>2]-e>>3>>>0<=j>>>0){e=N[a+4>>2];g=0;if(!e|N[e>>2]){break o}N[e>>2]=130;e=f;break e}p:{q:{r:{e=e+(j<<3)|0;switch(N[e+4>>2]-1|0){case 0:break q;case 1:break r;default:break p}}e=(N[e>>2]<<16)+f|0;break e}e=N[e>>2];e=(((e>>31)+e|0)- -8192>>14)+f|0;break e}g=N[e>>2]}e=f+g|0;break e}f=N[h+44>>2];e=N[c>>2]}Cd(d,N[h+8>>2],N[h+12>>2],N[h+16>>2],N[h+20>>2],N[h+24>>2],N[h+28>>2]);Cd(d,N[h+32>>2],N[h+36>>2],N[h+40>>2],f,i,e);N[a+12>>2]=N[a+8>>2];N[b>>2]=i;N[c>>2]=e;La=h- -64|0}function Om(a,b,c){a=a|0;b=b|0;c=c|0;var 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;l=La+-64|0;La=l;f=N[a+532>>2];d=6;a:{if(!f){break a}e=N[f+4>>2];o=b>>>0>e>>>0?e:b;b:{c:{if(e){p=f+88|0;while(1){b=p+T(h,12)|0;j=N[b+8>>2];k=N[b+4>>2];d:{if(h>>>0>>0){i=O[b|0];d=N[(h<<2)+c>>2];break d}i=O[b|0];d=(N[((i<<2)+k|0)-4>>2]-N[k>>2]|0)/2|0}q=(h<<2)+l|0;e:{f:{if(!i){break f}b=0;g=-1;g:{h:{while(1){m=b<<2;n=N[m+k>>2];if((n|0)==(d|0)){break g}if((d|0)<(n|0)){break h}g=b;b=b+1|0;if((i|0)!=(b|0)){continue}break}if(!i){break f}b=N[((i<<2)+j|0)-4>>2];break e}if((g|0)<0){break f}i=d;b=g<<2;d=N[b+k>>2];b=jb(i-d|0,N[j+m>>2]-N[b+j>>2]|0,n-d|0);break e}b=N[j+m>>2];break e}b=N[j>>2]}N[q>>2]=b;h=h+1|0;if(e>>>0>h>>>0){continue}break}j=N[f>>2];d=-1;if(!j){break a}f=N[f+136>>2];c=f;if(!e){break c}h=0;c=e;i=0;while(1){d=65536;b=0;i:{if(!c){break i}while(1){j:{if(b>>>0>=e>>>0){d=d>>1;break j}g=N[(b<<2)+l>>2];g=i>>>b&1?g:65536-g|0;if((g|0)<=0){d=0;b=c;break i}if(g>>>0>65535){break j}c=d>>31;c=(c^d)-c|0;k:{if(c+(g>>>8|0)>>>0<=8190){c=T(c,g)+32768>>>16|0;break k}k=c&65535;c=T(k,g>>>16|0)+T(g,c>>>16|0)+(T(k,g&65535)+32768>>>16)|0}d=(d|0)<0?0-c|0:c}b=b+1|0;c=e;if(b>>>0>>0){continue}break}b=e}c=f+(i<<2)|0;if(N[c>>2]!=(d|0)){N[c>>2]=d;h=1}c=b;i=i+1|0;if((i|0)!=(j|0)){continue}break}break b}j=N[f>>2];d=-1;if(!j){break a}c=N[f+136>>2]}g=j&3;d=0;l:{if(j>>>0<4){h=0;b=0;break l}i=j&-4;h=0;b=0;while(1){e=b<<2;f=e+c|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}f=c+(e|4)|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}f=c+(e|8)|0;if(N[f>>2]!=65536){N[f>>2]=65536;h=1}e=c+(e|12)|0;if(N[e>>2]!=65536){N[e>>2]=65536;h=1}b=b+4|0;if((i|0)!=(b|0)){continue}break}}if(!g){break b}while(1){e=c+(b<<2)|0;if(N[e>>2]!=65536){N[e>>2]=65536;h=1}b=b+1|0;d=d+1|0;if((g|0)!=(d|0)){continue}break}}d=-1;if(!(h&255)){break a}N[a+8>>2]=N[a+8>>2]&-32769|((o|0)!=0)<<15;d=0}La=l- -64|0;return d|0}function kg(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,o=0,p=0;if(N[a+72>>2]==1869968492){if(c){m=N[c>>2];j=N[c+4>>2]}c=0;f=M[a+110>>1];a:{if(!f){break a}h=N[a+112>>2];c=N[h+4>>2];e=N[h>>2];if((f|0)<2){g=c;d=e;break a}i=(f<<3)+h|0;f=h+8|0;d=e;g=c;while(1){k=N[h+12>>2];g=(g|0)<(k|0)?k:g;c=(c|0)>(k|0)?k:c;h=N[h+8>>2];d=(d|0)<(h|0)?h:d;e=(e|0)>(h|0)?h:e;h=f;f=f+8|0;if(i>>>0>f>>>0){continue}break}}h=j&63;n=h+(g&63)|0;f=m&63;l=f+(d&63)|0;o=h+(c&63)|0;p=f+(e&63)|0;h=6;f=g>>6;g=j>>6;f=f+g|0;i=d>>6;d=m>>6;i=i+d|0;k=g+(c>>6)|0;m=d+(e>>6)|0;b:{c:{d:{switch(b-2|0){default:g=i+(l+63>>>6|0)|0;c=m+(p>>>6|0)|0;e=g-c|0;h=2;f=f+(n+63>>>6|0)|0;d=k+(o>>>6|0)|0;j=f-d|0;break c;case 0:d=l+32|0;g=i+(d>>>6|0)|0;b=p+31|0;c=(b>>>6|0)+m|0;e:{if((g|0)==(c|0)){if((((d&63)+(b&63)|0)-31|0)<=31){g=c;c=c-1|0;break e}g=c+1|0}}e=n+32|0;f=f+(e>>>6|0)|0;b=o+31|0;d=(b>>>6|0)+k|0;f:{if((f|0)==(d|0)){if((((e&63)+(b&63)|0)-31|0)<=31){f=d;d=d-1|0;break f}f=d+1|0}}j=f-d|0;h=1;e=g-c|0;b=e+15>>3&-2;break b;case 1:g=N[a>>2];e=N[g+184>>2];d=N[g+192>>2];b=(d|0)>(e|0)?e:d;c=N[g+200>>2];f=((n-((b|0)<(c|0)?b:c)|0)+63>>6)+f|0;b=(d|0)<(e|0)?e:d;d=(o-((b|0)>(c|0)?b:c)>>6)+k|0;j=f-d|0;h=5;k=i;i=N[g+180>>2];e=N[g+188>>2];b=(e|0)>(i|0)?i:e;c=N[g+196>>2];g=k+((l-((b|0)<(c|0)?b:c)|0)+63>>6)|0;b=(e|0)<(i|0)?i:e;c=(p-((b|0)>(c|0)?b:c)>>6)+m|0;e=T(g-c|0,3);b=e+3&-4;break b;case 2:break d}}g=l;l=N[a>>2];e=N[l+184>>2];d=N[l+192>>2];b=(d|0)>(e|0)?e:d;c=N[l+200>>2];g=((g-((b|0)<(c|0)?b:c)|0)+63>>6)+i|0;b=(d|0)<(e|0)?e:d;c=(p-((b|0)>(c|0)?b:c)>>6)+m|0;e=g-c|0;i=N[l+180>>2];j=N[l+188>>2];b=(i|0)>(j|0)?i:j;d=N[l+196>>2];f=((n+((b|0)>(d|0)?b:d)|0)+63>>6)+f|0;b=(i|0)<(j|0)?i:j;d=(((b|0)<(d|0)?b:d)+o>>6)+k|0;j=T(f-d|0,3)}b=e}N[a+104>>2]=f;N[a+100>>2]=c;N[a+76>>2]=j;L[a+94|0]=h;M[a+92>>1]=256;N[a+80>>2]=e;N[a+84>>2]=b;a=(c|0)<-32768|(g|0)>32767|(d|0)<-32768|(f|0)>32767}else{a=1}return a}function tf(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-72|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1719034226,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(Xi(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(Xi(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=Xi(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<16?275552:N[d+12>>2]}function Hc(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-84|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1297498450,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(ih(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(ih(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=ih(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<12?275552:N[d+12>>2]}function Ig(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-48|0;La=b;d=N[a>>2];a:{if(d){break a}g=a-76|0;while(1){d=N[g>>2];if(!d){d=275552;break a}N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;L[b+24|0]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;L[b+40|0]=1;N[b+36>>2]=0;c=N[d+12>>2];b:{if(c){d=Qa[c|0](d,1635148146,N[d+16>>2])|0;if(d){break b}}d=275552}c:{d:{e:{f:{g:{h:{i:{j:{k:{if(!d){break k}c=N[d>>2];if(!c){break k}if((c|0)<=0){break j}N[d>>2]=c+1}L[b+24|0]=0;N[b+32>>2]=d;f=N[d+12>>2];N[b+4>>2]=f;c=N[d+16>>2];N[b+8>>2]=c+f;if((c|0)<0){break i}N[b+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[b+12>>2]=c;N[b+20>>2]=0;N[b>>2]=0;c=d;if(!f){break d}if(Wi(f,b)){break h}l:{if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(!c){break l}while(1){L[b+24|0]=1;c=N[b+32>>2];f=N[c+12>>2];N[b+4>>2]=f;e=N[c+16>>2];N[b+8>>2]=e+f;if((e|0)<0){break i}N[b+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[b+12>>2]=e;N[b+20>>2]=0;N[b>>2]=0;if(!f){break d}if(Wi(f,b)){break h}if(O[b+24|0]|!N[b+28>>2]){break l}c=zb(d);N[b+4>>2]=c;N[b+8>>2]=c+N[d+16>>2];if(c){continue}break}}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[b+28>>2]){break f}N[b+28>>2]=0;c=Wi(f,b);f=N[b+28>>2];ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;if(f){break g}if(c){break e}}ab(d);d=275552;break c}ab(N[b+32>>2]);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}if(N[d+4>>2]){N[d+4>>2]=0}break c}ab(c);N[b+32>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0}c=d;d=N[a>>2];m:{if(c){if(d){break m}d=c;N[a>>2]=d;break a}if(d){break a}d=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);d=N[a>>2];if(!d){continue}break}}La=b+48|0;return Q[d+16>>2]<8?275552:N[d+12>>2]}function Re(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;n=La-272|0;La=n;N[n+268>>2]=0;s=Lk(a,b,c,f,g,n+268|0,n);i=N[a+96>>2];c=N[i+64>>2];a:{if(s){f=N[i+68>>2];r=N[n+268>>2];m=f>>>0>>0?f:r;j=m-c|0;b:{if(j>>>0<2){break b}h=N[i+144>>2]|32;N[i+144>>2]=h;if(c>>>0>=m>>>0){break b}o=N[i+80>>2];g=-1;f=c;t=m+(c^-1)|0;if(t>>>0>=3){q=j&-4;while(1){l=o+T(f,20)|0;p=N[l+8>>2];g=g>>>0

>>0?g:p;p=N[l+28>>2];g=g>>>0

>>0?g:p;p=N[l+48>>2];g=g>>>0

>>0?g:p;l=N[l+68>>2];g=g>>>0>>0?g:l;f=f+4|0;k=k+4|0;if((q|0)!=(k|0)){continue}break}}l=j&3;if(l){k=0;while(1){q=N[(o+T(f,20)|0)+8>>2];g=g>>>0>>0?g:q;f=f+1|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}if(j&1){f=o+T(c,20)|0;if(N[f+8>>2]!=(g|0)){N[f+4>>2]=N[f+4>>2]|3}c=c+1|0}if(!t){break b}while(1){f=o+T(c,20)|0;if(N[f+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[f+4>>2]=N[f+4>>2]|3}f=o+T(c+1|0,20)|0;if(N[f+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[f+4>>2]=N[f+4>>2]|3}c=c+2|0;if((m|0)!=(c|0)){continue}break}}Kk(a,b,n,d,e,r);break a}if(!(O[i+16|0]&64)){break a}a=N[i+68>>2];b=N[n+268>>2];b=a>>>0>>0?a:b;d=b-c|0;if(d>>>0<2){break a}h=N[i+144>>2]|32;N[i+144>>2]=h;if(b>>>0<=c>>>0){break a}a=N[i+80>>2];g=-1;f=c;o=b+(c^-1)|0;if(o>>>0>=3){m=d&-4;while(1){e=a+T(f,20)|0;j=N[e+8>>2];g=g>>>0>>0?g:j;j=N[e+28>>2];g=g>>>0>>0?g:j;j=N[e+48>>2];g=g>>>0>>0?g:j;e=N[e+68>>2];g=e>>>0>g>>>0?g:e;f=f+4|0;k=k+4|0;if((m|0)!=(k|0)){continue}break}}e=d&3;if(e){k=0;while(1){m=N[(a+T(f,20)|0)+8>>2];g=g>>>0>>0?g:m;f=f+1|0;k=k+1|0;if((e|0)!=(k|0)){continue}break}}if(d&1){d=a+T(c,20)|0;if(N[d+8>>2]!=(g|0)){N[d+4>>2]=N[d+4>>2]|2}c=c+1|0}if(!o){break a}while(1){d=a+T(c,20)|0;if(N[d+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[d+4>>2]=N[d+4>>2]|2}d=a+T(c+1|0,20)|0;if(N[d+8>>2]!=(g|0)){h=h|32;N[i+144>>2]=h;N[d+4>>2]=N[d+4>>2]|2}c=c+2|0;if((b|0)!=(c|0)){continue}break}}La=n+272|0;return s}function Iq(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1818914159;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];d:{e:{f:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break e}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1986686319;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break h}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1953131887;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function DC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!c){break a}p=(d<<1)+4|0;if(!p){while(1){m=m+8|0;if(m>>>0>>0){continue}break a}}n=d<<3;while(1){o=0;l=0;while(1){i=l-8|0;i=i>>>0>=n>>>0?440592:(i<<1)+b|0;g=P[i>>1];d=l>>>0>=n>>>0?440592:(l<<1)+b|0;e=P[d>>1];j=l-16|0;j=j>>>0>=n>>>0?440592:(j<<1)+b|0;h=P[j>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+16>>1]=(k+e&65534)>>>1;M[a>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+2>>1];e=P[d+2>>1];h=P[j+2>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+18>>1]=(k+e&65534)>>>1;M[a+2>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+4>>1];e=P[d+4>>1];h=P[j+4>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+20>>1]=(k+e&65534)>>>1;M[a+4>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+6>>1];e=P[d+6>>1];h=P[j+6>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+22>>1]=(k+e&65534)>>>1;M[a+6>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+8>>1];e=P[d+8>>1];h=P[j+8>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+24>>1]=(k+e&65534)>>>1;M[a+8>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+10>>1];e=P[d+10>>1];h=P[j+10>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+26>>1]=(k+e&65534)>>>1;M[a+10>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;g=P[i+12>>1];e=P[d+12>>1];h=P[j+12>>1];f=(g+((e+h&65534)>>>1|0)&65534)>>>1|0;k=(e+f&65534)>>>1|0;e=g+1|0;M[a+28>>1]=(k+e&65534)>>>1;M[a+12>>1]=(e+((f+h&65534)>>>1|0)&65534)>>>1;i=P[i+14>>1];f=P[d+14>>1];j=P[j+14>>1];d=(i+((f+j&65534)>>>1|0)&65534)>>>1|0;i=i+1|0;M[a+30>>1]=(i+((d+f&65534)>>>1|0)&65534)>>>1;M[a+14>>1]=(i+((d+j&65534)>>>1|0)&65534)>>>1;l=l+8|0;a=a+32|0;o=o+2|0;if(p>>>0>o>>>0){continue}break}b=(n<<1)+b|0;m=m+8|0;if(m>>>0>>0){continue}break}}}function Wl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+204>>2];if(h>>>0>=2){d=N[a+168>>2];c=N[a+8>>2];b=N[a+12>>2];if(b>>>0>=16){b=b^16;N[a+12>>2]=b;e=c>>>16|0;N[a+8>>2]=e;c=N[a+16>>2];f=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=e|f<<16;N[a+8>>2]=c}f=c>>>b|0;d=d+((f&255)<<2)|0;e=O[d|0];if(e>>>0>=9){d=(P[d+2>>1]+(N[(e<<2)+169360>>2]&f>>>8)<<2)+d|0;e=O[d|0];b=b+8|0}f=N[a+172>>2];j=P[d+2>>1];b=(e&255)+b|0;if(b>>>0>=16){b=b^16;N[a+12>>2]=b;d=c>>>16|0;N[a+8>>2]=d;c=N[a+16>>2];e=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=d|e<<16;N[a+8>>2]=c}g=c>>>b|0;d=f+((g&255)<<2)|0;e=O[d|0];if(e>>>0>=9){d=(P[d+2>>1]+(N[(e<<2)+169360>>2]&g>>>8)<<2)+d|0;e=O[d|0];b=b+8|0}b=b+(e&255)|0;d=P[d+2>>1];e=d<<2;g=P[e+169280>>1];f=O[e+169282|0];l=g;a:{if((d|0)!=25){if(b>>>0>=16){b=b^16;N[a+12>>2]=b;d=c>>>16|0;N[a+8>>2]=d;c=N[a+16>>2];e=O[c|0]|O[c+1|0]<<8;N[a+20>>2]=N[a+20>>2]-2;N[a+16>>2]=c+2;c=d|e<<16;N[a+8>>2]=c}N[a+12>>2]=b+f;b=N[(f<<2)+169392>>2]&c>>>b;break a}b:{c:{if(b>>>0<=15){d=c>>>16|0;e=b+16|0;k=c>>>b&65535;i=N[a+20>>2];b=N[a+16>>2];break c}g=b^16;N[a+12>>2]=g;c=c>>>16|0;N[a+8>>2]=c;b=N[a+16>>2];d=O[b|0]|O[b+1|0]<<8;i=N[a+20>>2]-2|0;N[a+20>>2]=i;b=b+2|0;N[a+16>>2]=b;c=c|d<<16;N[a+8>>2]=c;k=c>>>g&65535;e=g+16|0;if(g>>>0>4294967279){break b}}N[a+8>>2]=d;e=e^16;N[a+12>>2]=e;c=O[b|0]|O[b+1|0]<<8;N[a+20>>2]=i-2;N[a+16>>2]=b+2;c=c<<16|d;N[a+8>>2]=c}b=f-16|0;N[a+12>>2]=b+e;b=(N[(b<<2)+169392>>2]&c>>>e)<<16|k}N[a+192>>2]=l+b;d:{e:{switch(j|0){case 1:b=N[a+220>>2]+1|0;break d;case 0:b=N[a+216>>2];break d;default:break e}}b=j-2|0}N[a+216>>2]=N[a+220>>2];b=b-(b>>>0>=h>>>0?h:0)|0;N[a+220>>2]=b;c=N[a+576>>2]+(b<<6)|0;N[a+112>>2]=c;N[a+176>>2]=N[((b>>>3&536870908)+a|0)+592>>2]>>>b&1;N[a+256>>2]=N[N[a+120>>2]+(O[c|0]<<2)>>2];N[a+108>>2]=((O[b+N[a+580>>2]|0]&3)<<9)+169536}}function tk(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;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}i=N[b+12>>2]-2|0;N[b+12>>2]=i;if((i|0)<=0){break b}f=O[a|0]|O[a+1|0]<<8;if(!f){return 1}g=a+2|0;if(g>>>0>e>>>0){break b}g=e-g|0;e=(f<<8|f>>>8)&65535;f=e<<1;if(g>>>0>>0){break b}i=i-f|0;N[b+12>>2]=i;if((i|0)<=0){break b}n=e>>>0<=1?1:e;l=N[c>>2];while(1){j=N[b+4>>2];i=((k<<1)+a|0)+2|0;if(j>>>0>i>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-i>>>0<2){break a}g=N[b+12>>2];d=g-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[i|0]|O[i+1|0]<<8;c:{if(!d){break c}f=((d<<8|d>>>8)&65535)+l|0;d:{if(f>>>0>>0|e>>>0>>0|e-f>>>0<2){break d}d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}h=O[f|0]|O[f+1|0]<<8;g=((h<<8|h>>>8)&65535)<<1;if(h){h=f+2|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break d}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break d}}f=(f+g|0)+2|0;if(f>>>0>>0|e>>>0>>0|e-f>>>0<2){break d}g=d-2|0;N[b+12>>2]=g;if((d|0)<3){break d}d=O[f|0]|O[f+1|0]<<8;e:{if(!d){d=2;break e}d=((d<<8|d>>>8)&65535)<<1;h=d-2|0;if(!h){d=2;break e}m=f+2|0;if(e>>>0>>0|h>>>0>e-m>>>0){break d}g=g-h|0;N[b+12>>2]=g;if((g|0)<=0){break d}}d=d+f|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break d}f=g-2|0;N[b+12>>2]=f;if((g|0)<3){break d}h=O[d|0]|O[d+1|0]<<8;g=((h<<8|h>>>8)&65535)<<1;if(h){h=d+2|0;if(h>>>0>e>>>0|g>>>0>e-h>>>0){break d}f=f-g|0;N[b+12>>2]=f;if((f|0)<=0){break d}}d=(d+g|0)+2|0;if(d>>>0>>0|d>>>0>e>>>0|e-d>>>0<2){break d}g=f-2|0;N[b+12>>2]=g;if((f|0)<3){break d}f=O[d|0]|O[d+1|0]<<8;if(!f){break c}d=d+2|0;if(d>>>0>e>>>0){break d}d=e-d|0;e=((f<<8|f>>>8)&65535)<<2;if(d>>>0>>0){break d}e=g-e|0;N[b+12>>2]=e;if((e|0)>0){break c}}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[i|0]=0;L[i+1|0]=0;l=N[c>>2]}d=1;k=k+1|0;if((n|0)!=(k|0)){continue}break}}return d}return 0}function sh(a){var b=0;b=5;a:{b:{c:{d:{if((a|0)<=1315009121){if((a|0)<=1215655526){if((a|0)<=1130918514){if((a|0)<=1098018152){if((a|0)==1097100397){break b}if((a|0)!=1098015074){break c}break b}if((a|0)==1098018153){break b}if((a|0)!=1098281844){break c}break b}if((a|0)<=1164736876){if((a|0)==1130918515){break b}if((a|0)!=1131442804){break c}break b}if((a|0)==1164736877|(a|0)==1214346354){break b}if((a|0)!=1214603890){break c}break b}if((a|0)<=1298230883){if((a|0)<=1265131889){if((a|0)==1215655527){break a}if((a|0)!=1232363884){break c}break a}if((a|0)==1265131890){break b}if((a|0)!=1283023977){break c}break b}e:{switch(a-1298230884|0){case 0:case 5:break b;case 1:case 2:case 3:case 4:break c;default:break e}}switch(a-1298494051|0){case 0:case 12:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:break c;default:break d}}if((a|0)<=1349678184){if((a|0)<=1348562028){if((a|0)<=1315663726){if((a|0)==1315009122){break b}if((a|0)!=1315070324){break c}break b}if((a|0)==1315663727|(a|0)==1332898664){break b}if((a|0)!=1333094258){break c}break b}f:{switch(a-1349020777|0){case 0:case 7:break b;case 1:case 2:case 3:case 4:case 5:case 6:break c;default:break f}}if((a|0)==1348562029){break b}if((a|0)!=1349021304){break c}break b}if((a|0)<=1399809891){if((a|0)<=1383427697){if((a|0)==1349678185){break b}if((a|0)!=1383032935){break c}break b}if((a|0)==1383427698){break a}if((a|0)==1398893938){break b}if((a|0)!=1398895202){break c}break b}if((a|0)<=1416126816){g:{switch(a-1399809892|0){case 0:case 11:break b;case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:break c;default:break g}}if((a|0)!=1400468067){break c}break b}if((a|0)==1416126817){break b}if((a|0)!=1499822697){break c}break b}if((a|0)==1298493028){break b}}b=4}return b}return 0}function _s(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=La-16|0;La=i;k=N[a+552>>2];a:{b:{c:{j=P[(b?a+296|0:a+216|0)+34>>1];if(!j){break c}f=N[(b?856:852)+a>>2];l=f+N[(b?756:752)+a>>2]|0;h=N[a+104>>2];if(c>>>0>>0){f=f+(c<<2)|0;if(f+4>>>0>l>>>0){break c}g=N[h+20>>2];d:{if(g){if(Qa[g|0](h,f,0,0)|0){break c}g=N[h+4>>2];break d}g=N[h+4>>2];if(g>>>0>>0){break c}}N[h+8>>2]=f;if(f+1>>>0>=g>>>0){break c}e:{f:{g=N[h+20>>2];g:{if(g){if((Qa[g|0](h,f,i+12|0,2)|0)!=2){break c}f=N[h+8>>2];g=i+12|0;break g}g=N[h>>2];if(!g){break f}g=f+g|0}g=O[g|0]|O[g+1|0]<<8;j=g<<8|g>>>8;break e}j=0}g=f+2|0;N[h+8>>2]=g;M[e>>1]=j;if(Q[h+4>>2]<=f+3>>>0){break c}h:{i:{f=N[h+20>>2];j:{if(f){if((Qa[f|0](h,g,i+12|0,2)|0)!=2){break c}g=N[h+8>>2];f=i+12|0;break j}f=N[h>>2];if(!f){break i}f=f+g|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break h}f=0}N[h+8>>2]=g+2;M[d>>1]=f;break a}f=f+(j<<2)|0;m=f-2|0;if(m>>>0>l>>>0){break c}g=f-4|0;f=N[h+20>>2];k:{if(f){if(Qa[f|0](h,g,0,0)|0){break c}f=N[h+4>>2];break k}f=N[h+4>>2];if(g>>>0>f>>>0){break c}}N[h+8>>2]=g;if(g+1>>>0>=f>>>0){break c}l:{m:{f=N[h+20>>2];n:{if(f){if((Qa[f|0](h,g,i+12|0,2)|0)!=2){break c}m=N[h+8>>2]+2|0;f=i+12|0;break n}f=N[h>>2];if(!f){break m}f=f+g|0}f=O[f|0]|O[f+1|0]<<8;f=f<<8|f>>>8;break l}f=0}N[h+8>>2]=m;M[e>>1]=f;f=g+(c-j<<1)|0;if(f+6>>>0>l>>>0){M[d>>1]=0;break a}f=f+4|0;g=N[h+20>>2];o:{if(g){if(Qa[g|0](h,f,0,0)|0){break o}break b}if(f>>>0<=Q[h+4>>2]){break b}}M[d>>1]=0;break a}M[d>>1]=0;M[e>>1]=0;break a}N[h+8>>2]=f;n=d,o=xb(h,i+12|0),M[n>>1]=o}if(k){N[i+8>>2]=P[e>>1];f=M[d>>1];N[i+4>>2]=f;p:{q:{if(b){b=N[k+12>>2];if(b){Qa[b|0](a,c,i+8|0)|0}b=N[k+16>>2];if(b){break q}break p}b=N[k>>2];if(b){Qa[b|0](a,c,i+8|0)|0}b=N[k+4>>2];if(!b){break p}}Qa[b|0](a,c,i+4|0)|0;f=N[i+4>>2]}M[e>>1]=N[i+8>>2];M[d>>1]=f}La=i+16|0}function wl(a,b,c,d,e){var f=0,g=0,h=0,i=0;i=N[a+24>>2];f=N[a+36>>2];if(!(f|N[a+68>>2]?(f|0)!=1:0)){a:{if(!N[a+4>>2]){break a}b:{if((c|0)!=-1){break b}c=0;if(!N[b>>2]){break b}f=b;while(1){c=c+1|0;h=N[f+4>>2];f=f+4|0;if(h){continue}break}}h=(e|0)==-1?c-d|0:e;if(h>>>0>268435455){break a}f=N[a+68>>2];e=h+f|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break a}f=N[a+68>>2]}c:{if(f|!d){break c}N[a+132>>2]=0;if((d|0)<=0){break c}e=(d<<2)+b|0;g=e-4|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+92>>2]=f;N[a+132>>2]=1;if(b>>>0>=g>>>0){break c}g=e-8|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=2;N[a+96>>2]=f;if(b>>>0>=g>>>0){break c}g=e-12|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=3;N[a+100>>2]=f;if(b>>>0>=g>>>0){break c}g=e-16|0;f=N[g>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=4;N[a+104>>2]=f;if(b>>>0>=g>>>0){break c}f=N[e-20>>2];if(!(f>>>0<55296|f-1114112>>>0>4293910527)){f=i}N[a+132>>2]=5;N[a+108>>2]=f}f=(d<<2)+b|0;if((h|0)>0){g=(h<<2)+f|0;while(1){d=N[f>>2];if(!(d>>>0<55296|d-1114112>>>0>4293910527)){d=i}e=N[a+68>>2];h=e+1|0;d:{if(!(!h|h>>>0>2])){if(!gb(a,h)){break d}e=N[a+68>>2]}e=N[a+80>>2]+T(e,20)|0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;N[e>>2]=d;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;L[e+16|0]=0;L[e+17|0]=0;L[e+18|0]=0;L[e+19|0]=0;N[e+8>>2]=f-b>>2;N[e+4>>2]=0;N[a+68>>2]=N[a+68>>2]+1}f=f+4|0;if(g>>>0>f>>>0){continue}break}}e=0;N[a+136>>2]=0;b=(c<<2)+b|0;e:{if(b>>>0<=f>>>0){break e}while(1){d=N[f>>2];if(!(d>>>0<55296|d-1114112>>>0>4293910527)){d=i}N[a+136>>2]=e+1;N[((e<<2)+a|0)+112>>2]=d;f=f+4|0;if(b>>>0<=f>>>0){break e}e=N[a+136>>2];if(e>>>0<=4){continue}break}}N[a+36>>2]=1}return}ba(24107,14165,530,16333);B()}function Bp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a=sf(b,c);a:{if(a){break a}e=N[b+2740>>2];if(!(e&1)){a=Ap(b,0);if(a){break a}zp(b,d,0);e=N[b+2740>>2]}if(!(e&2)){a=Ap(b,1);if(a){break a}zp(b,d,1);e=N[b+2740>>2]}if(!(e&1)){yp(b,0);a=N[b+56>>2];b:{if((a|0)<=0){break b}e=N[b- -64>>2];j=e+T(a,44)|0;if(!(L[b+2744|0]&1)){while(1){h=N[e+8>>2]-N[e+4>>2]|0;g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+16>>2]=h+N[f+16>>2];M[f>>1]=P[f>>1]|4;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break b}}while(1){h=N[e+8>>2];g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+16>>2]=h;M[f>>1]=P[f>>1]|4;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break}}Hg(b,0);Gg(b,0);e=N[b+2740>>2]}if(!(e&2)){yp(b,1);a=N[b+1404>>2];c:{if((a|0)<=0){break c}e=N[b+1412>>2];j=e+T(a,44)|0;if(!(O[b+2744|0]&2)){while(1){h=N[e+8>>2]-N[e+4>>2]|0;g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+20>>2]=h+N[f+20>>2];M[f>>1]=P[f>>1]|8;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break c}}while(1){h=N[e+8>>2];g=N[e+36>>2];a=g;while(1){d=a+36|0;i=N[a+40>>2];while(1){f=N[d>>2];N[f+20>>2]=h;M[f>>1]=P[f>>1]|8;d=f+32|0;if((f|0)!=(i|0)){continue}break}a=N[a+16>>2];if((g|0)!=(a|0)){continue}break}e=e+44|0;if(j>>>0>e>>>0){continue}break}}Hg(b,1);Gg(b,1)}a=N[b+24>>2];if((a|0)<=0){return 0}e=N[b+28>>2];f=e+T(a,40)|0;d=N[c+4>>2];b=N[c+8>>2];while(1){N[d>>2]=N[e+16>>2];N[d+4>>2]=N[e+20>>2];a=0;c=P[e>>1];L[b|0]=c&1?0:c&2?2:1;b=b+1|0;d=d+8|0;e=e+40|0;if(f>>>0>e>>>0){continue}break}}return a|0}function mB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La+-64|0;La=h;i=N[a+8>>2];e=18;a:{b:{c:{if(N[b+72>>2]!=N[a+16>>2]){break c}e=19;if((c|0)!=5){break b}g=N[b+156>>2];f=N[g+4>>2];if(f&1){c=N[b+88>>2];if(c){Qa[N[i+8>>2]](i,c);g=N[b+156>>2];f=N[g+4>>2]}N[b+88>>2]=0;N[g+4>>2]=f&-2}g=0;e=98;f=0;if(kg(b,0,d)){break b}c=0;d:{l=b+76|0;e=N[l>>2];if(!(!e|!N[b+84>>2])){k=N[a+64>>2];L[b+94|0]=2;M[b+92>>1]=255;f=e;e=k<<1;f=f+e|0;N[b+76>>2]=f;j=e+N[b+80>>2]|0;N[b+80>>2]=j;N[b+84>>2]=j;if((f|j)<0){e=6;break d}e=0;e:{f:{if(!(!j|!f)){e=10;if((f|0)>(2147483647/(j>>>0)|0)){break d}g=T(f,j);e=Qa[N[i+4>>2]](i,g)|0;if(!e|(f|0)<=0){break f}C(e,0,g)}N[b+88>>2]=e;break e}N[b+88>>2]=e;if(e){break e}e=!e<<6;g=0;break c}e=N[b+156>>2];N[e+4>>2]=N[e+4>>2]|1;e=N[b+104>>2]+k|0;N[b+104>>2]=e;f=N[b+100>>2]-k|0;N[b+100>>2]=f;g=N[b+76>>2]-e<<6;f=0-(f<<6)|0;if(d){f=N[d>>2]+f|0;g=N[d+4>>2]+g|0}d=b+108|0;if(f|g){te(d,f,g)}N[h+16>>2]=8;N[h+12>>2]=d;N[h+8>>2]=l;N[h+56>>2]=N[a+64>>2];L[h+60|0]=O[a+68|0];L[h+61|0]=O[a+69|0];L[h+62|0]=O[a+70|0];e=Qa[N[a+56>>2]](N[a+52>>2],h+8|0)|0;if(e){break b}}N[b+72>>2]=1651078259;break a}N[b+88>>2]=0}f=0}a=N[b+156>>2];c=N[a+4>>2];if(c&1){d=N[b+88>>2];if(d){Qa[N[i+8>>2]](i,d);a=N[b+156>>2];c=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=c&-2}c=e}g:{if(!(f|g)){break g}d=M[b+110>>1];if((d|0)<=0){break g}b=N[b+112>>2];if(d>>>0>=4){e=d&-4;a=0;while(1){N[b>>2]=N[b>>2]-f;N[b+4>>2]=N[b+4>>2]-g;N[b+8>>2]=N[b+8>>2]-f;N[b+16>>2]=N[b+16>>2]-f;N[b+24>>2]=N[b+24>>2]-f;N[b+12>>2]=N[b+12>>2]-g;N[b+20>>2]=N[b+20>>2]-g;N[b+28>>2]=N[b+28>>2]-g;b=b+32|0;a=a+4|0;if((e|0)!=(a|0)){continue}break}}d=d&3;if(!d){break g}a=0;while(1){N[b>>2]=N[b>>2]-f;N[b+4>>2]=N[b+4>>2]-g;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}La=h- -64|0;return c|0}function nf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=La-528|0;La=h;N[h+16>>2]=N[a+60>>2];N[h+20>>2]=N[a+64>>2];N[h+12>>2]=c;N[h+8>>2]=b;N[h+4>>2]=e;N[h>>2]=d;c=h;a:{while(1){l=N[c>>2];i=N[c+4>>2];f=N[c+20>>2];b=(i|0)>(f|0);j=N[c+12>>2];b:{if(!((j|0)>=((b?f:i)|0)&(j|0)<=(((f|0)>(i|0)?f:i)|0))){b=N[c+16>>2];N[c+32>>2]=b;N[c+36>>2]=f;d=f+j|0;N[c+28>>2]=d>>1;e=i+j|0;N[c+12>>2]=e>>1;f=N[c+8>>2];j=f+l|0;N[c+8>>2]=j>>1;b=b+f|0;N[c+24>>2]=b>>1;N[c+20>>2]=d+e>>2;N[c+16>>2]=b+j>>2;c=c+16|0;break b}c:{if((f|0)==(i|0)){break c}m=b?1:2;g=N[a+92>>2];if((m|0)!=(g|0)){b=N[a+4>>2];n=(f|0)>=(i|0);e=n?f&b-1:((b+f|0)-1&0-b)-f|0;d=N[a+36>>2];k=N[a+8>>2];d:{if(!g){b=d;break d}g=N[a+80>>2];b=N[g+8>>2];o=d-b|0;if((o|0)<0){N[a+40>>2]=99;a=1;break a}e:{if((b|0)==(d|0)){b=d;break e}N[g+16>>2]=o>>2;if((e|0)>=(k|0)){b=P[g+12>>1];M[g+12>>1]=(b&8?16:32)|b}N[a+80>>2]=d;b=d+32|0;N[a+36>>2]=b;N[d+8>>2]=b;N[d+16>>2]=0;N[g+28>>2]=d;M[a+76>>1]=P[a+76>>1]+1}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}L[a+79|0]=0}if(!N[a+84>>2]){N[a+84>>2]=b;N[a+80>>2]=b;b=b+32|0;N[a+36>>2]=b}if(Q[a+32>>2]<=b>>>0){N[a+40>>2]=98;a=1;break a}d=N[a+80>>2];N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=b;N[d+28>>2]=0;N[d+4>>2]=0;b=O[a+48|0];M[d+12>>1]=b;f:{g:{if(!n){M[d+12>>1]=b|8;g=40;if((e|0)>=(k|0)){break g}break f}g=16;if((e|0)<(k|0)){break f}}M[d+12>>1]=b|g}if(!N[a+88>>2]){N[a+88>>2]=d}M[a+78>>1]=1;N[a+92>>2]=m}b=N[a+72>>2];d=N[a+68>>2];if((f|0)<(i|0)){if(!yg(a,2,c,353,d,b)){break c}a=1;break a}N[c+20>>2]=0-f;N[c+12>>2]=0-j;N[c+4>>2]=0-i;e=O[a+78|0];b=yg(a,2,c,353,0-b|0,0-d|0);if(!(O[a+78|0]|!e)){d=N[a+80>>2];N[d+20>>2]=0-N[d+20>>2]}N[c+4>>2]=0-N[c+4>>2];if(!b){break c}a=1;break a}c=c-16|0}if(h>>>0<=c>>>0){continue}break}N[a+64>>2]=i;N[a+60>>2]=l;a=0}La=h+528|0;return a}function Hi(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;g=La+-64|0;La=g;v=N[b+20>>2];w=N[b+16>>2];x=N[b+12>>2];p=N[b+4>>2];i=x-p|0;u=i>>31;y=N[b+28>>2];h=y-p|0;n=h>>31;c=UE(i,u,h,n);j=Pa;z=N[b+8>>2];q=N[b>>2];m=z-q|0;A=N[b+24>>2];e=A-q|0;k=e;r=m>>31;o=e>>31;f=UE(m,r,e,o);d=f+c|0;c=Pa+j|0;c=d>>>0>>0?c+1|0:c;a:{b:{j=N[a>>2];e=e>>31;e=(k^e)-e|0;f=h>>31;f=(f^h)-f|0;e=UE(j,j>>31,e>>>0>f>>>0?e:f,0);C=0-e|0;j=Pa;B=0-(j+((e|0)!=0)|0)|0;f=B;if(C>>>0>d>>>0&(f|0)>=(c|0)|(c|0)<(f|0)){break b}l=d;d=c;c=UE(h,n,h,n);s=Pa;t=UE(k,o,k,o);f=t+c|0;c=Pa+s|0;c=(f>>>0>>0?c+1|0:c)+j|0;s=f;f=e+f|0;c=s>>>0>f>>>0?c+1|0:c;s=f;l=f>>>0>>0;f=c;if(l&(c|0)<=(d|0)|(c|0)<(d|0)){break b}c=UE(i,u,k,o);d=Pa;i=UE(h,n,m,r);m=c-i|0;c=d-(Pa+(c>>>0>>0)|0)|0;l=c;c=c>>31;i=c^m;d=e>>>0>>0;c=(c^l)-((c>>>0>i>>>0)+c|0)|0;if(d&(j|0)<=(c|0)|(c|0)>(j|0)){break b}c=v-p|0;i=c;l=c>>31;d=UE(c,l,h,n);u=Pa;c=w-q|0;m=c;r=c>>31;t=UE(c,r,k,o);d=t+d|0;c=Pa+u|0;c=d>>>0>>0?c+1|0:c;if(d>>>0>>0&(B|0)>=(c|0)|(c|0)<(B|0)|(d>>>0>s>>>0&(c|0)>=(f|0)|(c|0)>(f|0))){break b}c=UE(i,l,k,o);d=Pa;h=UE(h,n,m,r);k=c-h|0;c=d-(Pa+(c>>>0>>0)|0)|0;i=c;c=c>>31;h=c^k;d=e>>>0>>0;c=(c^i)-((c>>>0>h>>>0)+c|0)|0;if(d&(j|0)<=(c|0)|(c|0)>(j|0)){break b}b=Gi(a,q,p,A,y);break a}c=v+y|0;N[g+44>>2]=c>>1;d=c;c=(v+x|0)+2|0;e=d+c|0;N[g+36>>2]=e>>2;d=c;c=p+x|0;d=d+c|0;N[g+20>>2]=d>>2;N[g+28>>2]=(d+e|0)-1>>3;e=w+A|0;N[g+40>>2]=e>>1;N[g+12>>2]=c>>1;c=q+z|0;N[g+8>>2]=c>>1;d=e;e=(w+z|0)+2|0;d=d+e|0;N[g+32>>2]=d>>2;c=c+e|0;N[g+16>>2]=c>>2;N[g+24>>2]=(c+d|0)-1>>3;c=N[b+4>>2];N[g>>2]=N[b>>2];N[g+4>>2]=c;c=N[b+28>>2];N[g+48>>2]=N[b+24>>2];N[g+52>>2]=c;b=0;if(!Hi(a,g)){break a}b=Hi(a,g+24|0)}La=g- -64|0;return b}function Ic(){var a=0,b=0,c=0;a:{b=N[147449];b:{if(b){break b}while(1){a=588072;b=db(1,112);if(b){N[b>>2]=1;N[b+4>>2]=1;if(N[147019]){N[147019]=0}a=N[147018];if(a){if((a|0)<=0){break a}N[147018]=a+1}N[b+12>>2]=588072;a=N[147023];N[b+16>>2]=N[147022];N[b+20>>2]=a;a=N[147025];N[b+24>>2]=N[147024];N[b+28>>2]=a;a=N[147027];N[b+32>>2]=N[147026];N[b+36>>2]=a;a=N[147029];N[b+40>>2]=N[147028];N[b+44>>2]=a;a=N[147031];N[b+48>>2]=N[147030];N[b+52>>2]=a;a=N[147033];N[b+56>>2]=N[147032];N[b+60>>2]=a;a=N[147035];c=b- -64|0;N[c>>2]=N[147034];N[c+4>>2]=a;a=N[147037];N[b+72>>2]=N[147036];N[b+76>>2]=a;a=b}c:{if(!N[a+4>>2]){break c}b=N[a+80>>2];d:{if(!b){N[a+80>>2]=0;N[a+48>>2]=0;N[a+16>>2]=193;break d}Qa[b|0](N[a+48>>2]);N[a+80>>2]=0;N[a+48>>2]=0;N[a+16>>2]=193;if(!N[a+4>>2]){break c}}b=N[a+88>>2];e:{if(!b){N[a+88>>2]=0;N[a+56>>2]=0;N[a+24>>2]=194;break e}Qa[b|0](N[a+56>>2]);N[a+88>>2]=0;N[a+56>>2]=0;N[a+24>>2]=194;if(!N[a+4>>2]){break c}}b=N[a+92>>2];f:{if(!b){N[a+92>>2]=0;N[a+60>>2]=0;N[a+28>>2]=195;break f}Qa[b|0](N[a+60>>2]);N[a+92>>2]=0;N[a+60>>2]=0;N[a+28>>2]=195;if(!N[a+4>>2]){break c}}c=N[a+96>>2];g:{if(!c){N[a+96>>2]=0;N[a- -64>>2]=0;N[a+32>>2]=196;break g}b=a- -64|0;Qa[c|0](N[b>>2]);N[a+96>>2]=0;N[b>>2]=0;N[a+32>>2]=196;if(!N[a+4>>2]){break c}}b=N[a+100>>2];h:{if(!b){N[a+100>>2]=0;N[a+68>>2]=0;N[a+36>>2]=197;break h}Qa[b|0](N[a+68>>2]);N[a+100>>2]=0;N[a+68>>2]=0;N[a+36>>2]=197;if(!N[a+4>>2]){break c}}b=N[a+104>>2];i:{if(!b){N[a+104>>2]=0;N[a+72>>2]=0;N[a+40>>2]=198;break i}Qa[b|0](N[a+72>>2]);N[a+104>>2]=0;N[a+72>>2]=0;N[a+40>>2]=198;if(!N[a+4>>2]){break c}}N[a+4>>2]=0}b=N[147449];if(!b){N[147449]=a;return a}if((a|0)==588072){break b}Ye(a);b=N[147449];if(!b){continue}break}}return b}ba(23506,14099,260,16403);B()}function ql(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{if(!b){break i}c=N[b>>2];if(!c){break i}if((c|0)<=0){break h}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;f=b;if(!d){break a}if(e>>>0<12){break e}N[a+12>>2]=c-12;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))){break e}if(qh(d+8|0,a,d)){break f}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break e}while(1){L[a+24|0]=1;f=N[a+32>>2];d=N[f+12>>2];N[a+4>>2]=d;e=N[f+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break g}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){break a}if(e>>>0<12){break e}N[a+12>>2]=c-12;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))){break e}if(qh(d+8|0,a,d)){break f}if(O[a+24|0]|!N[a+28>>2]){break e}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}break e}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a+28>>2]){break d}N[a+28>>2]=0;if(Q[a+4>>2]>d>>>0){break e}c=N[a+8>>2];if(c>>>0>>0|c-d>>>0<12){break e}c=N[a+12>>2]-12|0;N[a+12>>2]=c;if(!(O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24))|(c|0)<=0){break e}c=qh(d+8|0,a,d);if(N[a+28>>2]){break e}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(c){break c}break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break b}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(b);return 275552}ab(f);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function ze(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=La-48|0;La=c;a:{if(!a){f=b;break a}if(P[a+8>>1]!=3){f=b;break a}b:{a=N[a+4>>2];if((a|0)<=1936353650){if((a|0)==1651074869|(a|0)==1734484e3|(a|0)==1785686113){break b}f=b;break a}if((a|0)==1936353651|(a|0)==2002873971){break b}if((a|0)!=1937337698){f=b;break a}f=b|61440;break a}c:{d:{if((a|0)<=1785686112){if((a|0)==1651074869){break d}if((a|0)!=1734484e3){break a}N[c+40>>2]=N[110089];a=N[110088];N[c+32>>2]=N[110087];N[c+36>>2]=a;a=N[110086];N[c+24>>2]=N[110085];N[c+28>>2]=a;e=c+24|0;a=21546;break c}if((a|0)!=1785686113){if((a|0)!=2002873971){if((a|0)!=1936353651){break a}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=19507;e=c+24|0;a=21661;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=19597;e=c+24|0;a=21361;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=20468;e=c+24|0;a=21746;break c}N[c+36>>2]=0;N[c+40>>2]=0;N[c+32>>2]=0;N[c+28>>2]=21552;e=c+24|0;a=21943}while(1){e:{f:{a=ki(a);g:{if((a|0)==-1){break g}d=ki(20334);if((d|0)==-1){break g}if(O[a+441616|0]<216){break f}}N[147316]=28;a=-1;break e}g=a<<1|d<<16|1;a=O[d+441616|0]-202|0;if(!(a>>>0>8|!(1<>2]=0;N[d>>2]=g;a=d;break e}a=g}if((a|0)==-1){a=N[e+4>>2];e=e+4|0;if(a){continue}break a}break}L[c+20|0]=b;L[c+21|0]=b>>>8;L[c+22|0]=b>>>16;L[c+23|0]=b>>>24;N[c+12>>2]=4;N[c+8>>2]=2;N[c+4>>2]=c+20;N[c>>2]=c+18;h:{if(xo(a,c+4|0,c+12|0,c,c+8|0)){break h}d=N[c+8>>2];if((d|0)==2){break h}b=0;e=0;if(d+1>>>0>=3){g=c+18|0;e=-2-d|0;h=e&-4;f=g+h|0;f=(O[f|0]<<16|O[f+1|0]<<8|O[f+2|0])<<8|O[(e|3)+g|0];e=h+4|0}d=2-d&3;if(!d){break h}while(1){f=O[(c+18|0)+e|0]|f<<8;e=e+1|0;b=b+1|0;if((d|0)!=(b|0)){continue}break}}if(!(a&1)){_a(a)}}La=c+48|0;return f}function Ix(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;f=N[a+4>>2]&2147418112;a:{b:{if(d&16){if(f|O[a+9|0]&128){f=7;if(!(O[a+740|0]&16)){break a}}if(!c){break b}c:{if(O[a+292|0]){d=0;f=1;break c}h=c&7;if(P[a+372>>1]==65535){b=M[a+220>>1]-M[a+222>>1]|0;a=b>>31;a=(a^b)-a&65535;f=0;b=0;if(c>>>0>=8){d=c&-8;while(1){c=b<<2;N[c+e>>2]=a;N[(c|4)+e>>2]=a;N[(c|8)+e>>2]=a;N[(c|12)+e>>2]=a;N[(c|16)+e>>2]=a;N[(c|20)+e>>2]=a;N[(c|24)+e>>2]=a;N[(c|28)+e>>2]=a;b=b+8|0;if((d|0)!=(b|0)){continue}break}}if(!h){break a}d=0;while(1){N[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break a}b=M[a+442>>1]-M[a+444>>1]|0;a=b>>31;a=(a^b)-a&65535;f=0;b=0;if(c>>>0>=8){d=c&-8;while(1){c=b<<2;N[c+e>>2]=a;N[(c|4)+e>>2]=a;N[(c|8)+e>>2]=a;N[(c|12)+e>>2]=a;N[(c|16)+e>>2]=a;N[(c|20)+e>>2]=a;N[(c|24)+e>>2]=a;N[(c|28)+e>>2]=a;b=b+8|0;if((d|0)!=(b|0)){continue}break}}if(!h){break a}d=0;while(1){N[(b<<2)+e>>2]=a;b=b+1|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}break a}while(1){h=(d<<2)+e|0;d:{if(f){Qa[N[N[a+540>>2]+156>>2]](a,1,b+d|0,g+14|0,g+12|0);f=P[g+12>>1];break d}if(P[a+372>>1]!=65535){i=M[a+442>>1]-M[a+444>>1]|0;f=i>>31;f=(f^i)-f|0;break d}i=M[a+220>>1]-M[a+222>>1]|0;f=i>>31;f=(f^i)-f|0}N[h>>2]=f&65535;d=d+1|0;if((d|0)==(c|0)){break b}f=O[a+292|0];continue}}if(f|O[a+9|0]&128){f=7;if(!(O[a+740|0]&2)){break a}}if(!c){break b}d=0;if((c|0)!=1){h=c&1;c=c&-2;while(1){f=g+10|0;i=g+8|0;Qa[N[N[a+540>>2]+156>>2]](a,0,b+d|0,f,i);N[(d<<2)+e>>2]=P[g+8>>1];j=d|1;Qa[N[N[a+540>>2]+156>>2]](a,0,j+b|0,f,i);N[(j<<2)+e>>2]=P[g+8>>1];d=d+2|0;if((c|0)!=(d|0)){continue}break}f=0;if(!h){break a}}Qa[N[N[a+540>>2]+156>>2]](a,0,b+d|0,g+10|0,g+8|0);N[(d<<2)+e>>2]=P[g+8>>1]}f=0}La=g+16|0;return f|0}function Gk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-48|0;La=f;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}else{e=275552}g=N[d+64>>2];c=0;a:{if((vb(e,N[N[d+80>>2]+T(g,20)>>2])|0)==-1){break a}N[b+4>>2]=g;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];L[b+23|0]=O[b+22|0]?(g|0)==N[c+64>>2]?O[(N[c+80>>2]+T(g,20)|0)+15|0]:0:0;g=b+4|0;if(!kc(g,f+44|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[d+64>>2],N[f+44>>2],1,0);c=0;break a}c=275552;j=O[a+8|0]|O[a+9|0]<<8;if(j){c=((j<<8|j>>>8)&65535)+a|0}i=O[a+4|0]|O[a+5|0]<<8;j=O[a+6|0]|O[a+7|0]<<8;c=Se(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);e=O[a+10|0]|O[a+11|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}e=Se(e,N[N[d+80>>2]+T(N[g>>2],20)>>2]);b:{h=O[a+12|0]|O[a+13|0]<<8;if(c>>>0<((h<<8|h>>>8)&65535)>>>0){h=O[a+14|0]|O[a+15|0]<<8;h=(h<<8|h>>>8)&65535;if(h>>>0>e>>>0){break b}}c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[d+64>>2],N[g>>2]+1|0,1,0);c=0;break a}i=YE(i);c=T(e+T(c,h)|0,YE(j)+i|0);if((c|0)<0){c=275552}else{c=((c<<1)+a|0)+16|0}e=N[b+96>>2];if(N[e+156>>2]){h=N[b+88>>2];k=N[e+64>>2];N[f+36>>2]=N[b+4>>2];N[f+32>>2]=k;ib(e,h,17042,f+32|0)}c=ge(O[a+4|0]|O[a+5|0]<<8,b,a,c,N[d+88>>2]+T(N[d+64>>2],20)|0)|ge(O[a+6|0]|O[a+7|0]<<8,b,a,c+(i<<1)|0,N[d+88>>2]+T(N[b+4>>2],20)|0);c:{if((c|0)!=1){break c}a=N[b+96>>2];if(!N[a+156>>2]){break c}e=N[b+88>>2];i=N[a+64>>2];N[f+20>>2]=N[b+4>>2];N[f+16>>2]=i;ib(a,e,17100,f+16|0)}a=N[b+96>>2];if(N[a+156>>2]){e=N[b+88>>2];i=N[a+64>>2];N[f+4>>2]=N[b+4>>2];N[f>>2]=i;ib(a,e,17070,f)}d:{if(c){Sc(d,N[d+64>>2],N[g>>2]+1|0);break d}if(!(O[d+16|0]&64)){break d}wb(d,2,N[d+64>>2],N[g>>2]+1|0,1,0)}if(j){a=N[g>>2];N[g>>2]=a+1;Sc(d,N[d+64>>2],a+2|0)}N[d+64>>2]=N[g>>2];c=1}La=f+48|0;return c}function Xf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(d){N[d>>2]=0}g=4;a:{while(1){f=i;i=j;b:{while(1){c:{if(!g){break c}b=b+1|0;if(b>>>0>2]){break c}e=0;break a}e=4-g|0;l=O[b|0];h=l>>>g&15;if((h|0)==14){o=1;g=e;j=i;continue}if(h>>>0>9){break b}if((f|0)>=214748364){i=i+1|0;g=e;continue}break}i=0;g=e;if(!(f|h)){continue}m=m+1|0;i=T(f,10)+h|0;continue}break}g=0;d:{if((h|0)!=10){break d}e:while(1){k=(f|0)<214748364&(n|0)<9;while(1){if(e){b=b+1|0;if(b>>>0>=Q[a+8>>2]){e=0;break a}l=O[b|0]}j=4-e|0;h=l>>>e&15;if(h>>>0>9){e=j;break d}if(!(f|h)){i=i-1|0;f=0;e=j;continue e}e=j;if(!k){continue}break}n=n+1|0;f=T(f,10)+h|0;continue}}f:{g:{h:{if(h-11>>>0<=1){j=0;while(1){if(e){b=b+1|0;if(b>>>0>=Q[a+8>>2]){e=0;break a}l=O[b|0]}k=l>>>e&15;if(k>>>0<=9){p=k+T(g,10)|0;k=(g|0)>1e3;g=k?g:p;j=k?1:j;e=4-e|0;continue}break}if(!f){e=0;break a}a=(h|0)==12;if(j){break g}e=a?0-g|0:g;break h}e=0;if(!f){break a}}a=(c+i|0)+e|0;if(d){a=a+m|0;b=m+n|0;if((b|0)<=5){if((f|0)>=32768){e=fb(f,10);N[d>>2]=(a-b|0)+1;break a}i:{j:{if((a|0)<=0){break j}c=(a|0)>=5?5:a;e=c-b|0;if((e|0)<=0){break j}a=a-c|0;f=T(N[(e<<2)+33472>>2],f);if((f|0)<32768){break i}f=(f>>>0)/10|0;a=a+1|0;break i}a=a-b|0}N[d>>2]=a;e=f<<16;break a}b=b<<2;c=N[b+33452>>2];if(((f|0)/(c|0)|0)>=32768){e=fb(f,N[b+33456>>2]);N[d>>2]=a-4;break a}e=fb(f,c);N[d>>2]=a-5;break a}e=2147483647;b=a+m|0;if((b|0)>5){break a}if((b|0)<-5){break f}if((b|0)>=0){a=n-a|0}else{f=(f|0)/N[33472-(b<<2)>>2]|0;a=m+n|0}c=(a|0)==10;b=c?(f|0)/10|0:f;a=c?9:a;if((a|0)>0){e=0;a=N[(a<<2)+33472>>2];if(((b|0)/(a|0)|0)>32767){break a}e=fb(b,a);break a}a=T(b,N[33472-(a<<2)>>2]);e=(a|0)>32767?2147483647:a<<16;break a}e=2147483647;if(!a){break a}}e=0}return o?0-e|0:e}function aE(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a=N[b>>2];f=N[a+12>>2];a:{if(f){break a}while(1){b=N[a>>2];if(!b){f=275552;break a}f=db(1,48);if(!f){f=275552;N[a+12>>2]=275552;break a}f=gj(f,b);if(!N[a+12>>2]){N[a+12>>2]=f;break a}ab(N[f+44>>2]);_a(f);f=N[a+12>>2];if(!f){continue}break}}g=275552;b=N[f+4>>2];h=b?b:275552;b=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);a=275552;b:{if((b|0)<=0){break b}k=h+10|0;a=b-1|0;b=0;c:{while(1){j=a+b>>>1|0;i=k+T(j,11)|0;i=O[i+1|0]<<8|O[i|0]<<16|O[i+2|0];d:{if(i>>>0>d>>>0){a=j-1|0;break d}if((d|0)==(i|0)){break c}b=j+1|0}if((a|0)>=(b|0)){continue}break}a=275552;break b}a=k+T(j,11)|0}d=a;a=O[d+3|0]|O[d+4|0]<<8|(O[d+5|0]<<16|O[d+6|0]<<24);if(a){g=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}e:{a=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if((a|0)>0){k=g+4|0;a=a-1|0;b=0;while(1){j=a+b>>>1|0;g=k+(j<<2)|0;i=O[g+1|0]<<8|O[g|0]<<16|O[g+2|0];f:{if(i>>>0>c>>>0){a=j-1|0;break f}if(i+O[g+3|0]>>>0>=c>>>0){break e}b=j+1|0}if((a|0)>=(b|0)){continue}break}}f=275552;a=275552;b=O[d+7|0]|O[d+8|0]<<8|(O[d+9|0]<<16|O[d+10|0]<<24);if(b){a=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+h|0}b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g:{if((b|0)<=0){break g}g=a+4|0;a=b-1|0;b=0;while(1){h:{d=a+b>>>1|0;h=g+T(d,5)|0;h=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];i:{if(h>>>0>c>>>0){a=d-1|0;break i}if((c|0)==(h|0)){break h}b=d+1|0}if((a|0)>=(b|0)){continue}break g}break}f=g+T(d,5)|0}a=O[f+3|0]|O[f+4|0]<<8;if(!a){return 0}N[e>>2]=(a<<8|a>>>8)&65535;return 1}a=N[f+8>>2];if(!a){return 0}return Qa[a|0](N[f+12>>2],c,e)|0}function rb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!b){return 6}if(!a){return 40}d=N[a+32>>2];while(1){a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{g=O[b|0];switch(g-4|0){case 18:case 19:break h;case 16:case 17:break i;case 14:case 15:break j;case 12:case 13:break k;case 10:case 11:break l;case 8:case 9:break m;case 20:case 21:break n;case 0:break o;case 4:case 5:break f;default:break g}}e=N[a+4>>2];g=P[b+2>>1];h=N[a+20>>2];if(h){if(e>>>0>>0){f=85;break c}e=N[a+28>>2];f=0;d=0;if(g){d=Qa[N[e+4>>2]](e,g)|0;if(!d){break d}h=N[a+20>>2]}N[a>>2]=d;h=Qa[h|0](a,N[a+8>>2],d,g)|0;d=N[a>>2];if(g>>>0>h>>>0){if(d){Qa[N[e+8>>2]](e,d)}N[a>>2]=0;f=85;d=0}N[a+32>>2]=d;N[a+36>>2]=d?d+g|0:0;N[a+8>>2]=h+N[a+8>>2];e=1;if(g>>>0<=h>>>0){break a}break c}f=85;d=N[a+8>>2];if(d>>>0>=e>>>0|g>>>0>e-d>>>0){break c}N[a+8>>2]=d+g;d=d+N[a>>2]|0;N[a+32>>2]=d;N[a+36>>2]=d+g;e=1;break a}f=O[b+1|0];e=f+d|0;if(e>>>0>Q[a+36>>2]){f=85;break c}if((g|0)!=24){break b}F(P[b+2>>1]+c|0,d,f);break b}e=d+2|0;f=16;d=O[d+1|0]|O[d|0]<<8;break e}e=d+2|0;f=16;d=O[d|0]|O[d+1|0]<<8;break e}e=d+4|0;f=0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break e}e=d+4|0;f=0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);break e}f=8;e=d+3|0;d=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e}f=8;e=d+3|0;d=O[d|0]|(O[d+1|0]<<8|O[d+2|0]<<16);break e}N[a+32>>2]=d;f=0;break c}e=d+1|0;f=24;d=O[d|0]}d=g&1?d<>f:d;f=P[b+2>>1]+c|0;p:{q:{switch(O[b+1|0]-1|0){case 0:L[f|0]=d;break p;case 1:M[f>>1]=d;break p;default:break q}}N[f>>2]=d}d=e;e=i;break a}N[a>>2]=0;f=64}if(i&255){if(N[a+20>>2]){b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}return f}d=e;e=i}b=b+4|0;i=e;continue}}function AE(a,b,c){a=a|0;b=+b;c=c|0;var 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,t=0;N[a+672>>2]=0;N[a+676>>2]=0;e=a+668|0;a:{k=N[a+384>>2];g=N[a+660>>2];b=b*1e3;b:{if(V(b)<2147483648){f=~~b;break b}f=-2147483648}g=No(k,g,f,f>>31,e);if(!(!g|!(N[e>>2]|c))){if(O[a+388|0]){b=+ma();c:{if(V(b)<2147483648){c=~~b;break c}c=-2147483648}N[a+676>>2]=c}e=g;while(1){c=N[e>>2];d:{if(!c){break d}f=N[e+4>>2];if(!f){break d}d=((T(c,f)<<2)+d|0)+24|0}e=N[e+28>>2];if(e){continue}break}e:{f:{c=N[a+8>>2];if(c>>>0>>0){break f}g:{if(!(+(c>>>0)>=+(d>>>0)*1.3)){N[a+4>>2]=0;break g}c=N[a+4>>2]+1|0;N[a+4>>2]=c;if(c>>>0>9){break f}}C(N[a>>2],0,d);i=N[a>>2];break e}_a(N[a>>2]);i=db(1,d);N[a>>2]=i;N[a+4>>2]=0;N[a+8>>2]=i?d:0}if(!i){break a}m=N[a+672>>2];while(1){j=N[g>>2];h:{if(!j){break h}l=N[g+4>>2];if(!l){break h}c=N[g+16>>2];b=+(((c^-1)&255)>>>0)/255;if(b==0){break h}n=c<<8&16711680|c>>>8&65280|c>>>24;r=j&-2;s=j&1;c=N[g+12>>2];t=N[g+8>>2];o=0;f=0;while(1){e=0;d=0;i:{if((j|0)!=1){while(1){d=O[c+e|0];if(d){k=(f<<2)+i|0;h=b*+(d>>>0);j:{if(h<4294967296&h>=0){d=~~h>>>0;break j}d=0}N[k>>2]=d<<24|n}d=O[(e|1)+c|0];if(d){k=(f<<2)+i|0;h=b*+(d>>>0);k:{if(h<4294967296&h>=0){d=~~h>>>0;break k}d=0}N[k+4>>2]=d<<24|n}f=f+2|0;e=e+2|0;if((r|0)!=(e|0)){continue}break}d=e;if(!s){break i}}e=O[c+d|0];if(e){d=(f<<2)+i|0;h=b*+(e>>>0);l:{if(h<4294967296&h>=0){e=~~h>>>0;break l}e=0}N[d>>2]=e<<24|n}f=f+1|0}c=c+t|0;o=o+1|0;if((o|0)!=(l|0)){continue}break}c=(T(j,l)<<2)+i|0;N[c+12>>2]=l;N[c+8>>2]=j;N[c>>2]=N[g+20>>2];f=N[g+24>>2];N[c+20>>2]=0;N[c+16>>2]=i;N[c+4>>2]=f;f=c;if(p){N[p+20>>2]=c;f=q}m=m+1|0;N[a+672>>2]=m;i=c+24|0;p=c;q=f}g=N[g+28>>2];if(g){continue}break}}return q|0}vd(25038,45,1,588952);return 0}function ni(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;r=S[a>>3];h=N[e>>2];p=N[h+60>>2];l=N[h+52>>2];j=+(p+l|0)*.5;m=N[h- -64>>2];n=N[h+56>>2];q=+(m+n|0)*.5;s=S[a+8>>3];t=S[a+16>>3]+(r*j+q*s);S[a+16>>3]=t;u=S[a+24>>3];f=S[a+32>>3];i=S[a+40>>3]+(u*j+q*f);S[a+40>>3]=i;h=a- -64|0;k=S[a+48>>3];v=S[a+56>>3];w=S[h>>3]+(k*j+q*v);S[h>>3]=w;a:{if(w<=0){break a}j=f;f=1/w;o=f*i;j=j-v*o;S[a+32>>3]=j;q=u-k*o;S[a+24>>3]=q;f=f*t;s=s-v*f;S[a+8>>3]=s;t=r-k*f;S[a>>3]=t;i=f*.125;if(d){f=0}else{g=S[c+8>>3];f=S[c>>3]}z=i-f;if(!(V(z)<1e6)){break a}f=XE(z);b:{if(V(f)<2147483648){x=~~f;break b}x=-2147483648}o=o*.125-g;if(!(V(o)<1e6)){break a}f=XE(o);c:{if(V(f)<2147483648){y=~~f;break c}y=-2147483648}u=+(p-l|0)*.5+64;i=+(m-n|0)*.5+64;g=w-u*V(k)-V(v)*i;f=w*.0625;r=.125/(f>31;a=m>>31;h=(h^l)-h+((a^m)-a)|0;g=XE(g);g:{if(V(g)<2147483648){n=~~g;break g}n=-2147483648}a=n>>31;A=(n^a)-a|0;a=p>>31;a=A+((a^p)-a|0)|0;k=+((a>>>0>>0?h:a)|0)*8;f=j*(f*k);if(!(V(f)<1e6)){break a}f=XE(f);h:{if(V(f)<2147483648){h=~~f;break h}h=-2147483648}f=v*(i*k);if(!(V(f)<1e6)){break a}f=XE(f);i:{if(V(f)<2147483648){a=~~f;break i}a=-2147483648}if(!(!c|!d)){S[c+8>>3]=o-+(y|0);S[c>>3]=z-+(x|0)}N[b+4>>2]=y>>3;N[b>>2]=x>>3;N[e+32>>2]=a;N[e+28>>2]=h;N[e+24>>2]=n;N[e+20>>2]=p;N[e+16>>2]=l;N[e+12>>2]=m;N[e+8>>2]=y&7;N[e+4>>2]=x&7;B=1}return B}function xB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;while(1){d=O[a|0];e=O[c|0];L[a|0]=d>>>0>e>>>0?d:e;d=O[a+1|0];e=O[c+1|0];L[a+1|0]=d>>>0>e>>>0?d:e;d=O[a+2|0];e=O[c+2|0];L[a+2|0]=d>>>0>e>>>0?d:e;d=O[a+3|0];e=O[c+3|0];L[a+3|0]=d>>>0>e>>>0?d:e;d=O[a+4|0];e=O[c+4|0];L[a+4|0]=d>>>0>e>>>0?d:e;d=O[a+5|0];e=O[c+5|0];L[a+5|0]=d>>>0>e>>>0?d:e;d=O[a+6|0];e=O[c+6|0];L[a+6|0]=d>>>0>e>>>0?d:e;d=O[a+7|0];e=O[c+7|0];L[a+7|0]=d>>>0>e>>>0?d:e;d=O[a+8|0];e=O[c+8|0];L[a+8|0]=d>>>0>e>>>0?d:e;d=O[a+9|0];e=O[c+9|0];L[a+9|0]=d>>>0>e>>>0?d:e;d=O[a+10|0];e=O[c+10|0];L[a+10|0]=d>>>0>e>>>0?d:e;d=O[a+11|0];e=O[c+11|0];L[a+11|0]=d>>>0>e>>>0?d:e;d=O[a+12|0];e=O[c+12|0];L[a+12|0]=d>>>0>e>>>0?d:e;d=O[a+13|0];e=O[c+13|0];L[a+13|0]=d>>>0>e>>>0?d:e;d=O[a+14|0];e=O[c+14|0];L[a+14|0]=d>>>0>e>>>0?d:e;d=O[a+15|0];e=O[c+15|0];L[a+15|0]=d>>>0>e>>>0?d:e;d=O[a+16|0];e=O[c+16|0];L[a+16|0]=d>>>0>e>>>0?d:e;d=O[a+17|0];e=O[c+17|0];L[a+17|0]=d>>>0>e>>>0?d:e;d=O[a+18|0];e=O[c+18|0];L[a+18|0]=d>>>0>e>>>0?d:e;d=O[a+19|0];e=O[c+19|0];L[a+19|0]=d>>>0>e>>>0?d:e;d=O[a+20|0];e=O[c+20|0];L[a+20|0]=d>>>0>e>>>0?d:e;d=O[a+21|0];e=O[c+21|0];L[a+21|0]=d>>>0>e>>>0?d:e;d=O[a+22|0];e=O[c+22|0];L[a+22|0]=d>>>0>e>>>0?d:e;d=O[a+23|0];e=O[c+23|0];L[a+23|0]=d>>>0>e>>>0?d:e;d=O[a+24|0];e=O[c+24|0];L[a+24|0]=d>>>0>e>>>0?d:e;d=O[a+25|0];e=O[c+25|0];L[a+25|0]=d>>>0>e>>>0?d:e;d=O[a+26|0];e=O[c+26|0];L[a+26|0]=d>>>0>e>>>0?d:e;d=O[a+27|0];e=O[c+27|0];L[a+27|0]=d>>>0>e>>>0?d:e;d=O[a+28|0];e=O[c+28|0];L[a+28|0]=d>>>0>e>>>0?d:e;d=O[a+29|0];e=O[c+29|0];L[a+29|0]=d>>>0>e>>>0?d:e;d=O[a+30|0];e=O[c+30|0];L[a+30|0]=d>>>0>e>>>0?d:e;d=O[a+31|0];e=O[c+31|0];L[a+31|0]=d>>>0>e>>>0?d:e;c=c+32|0;a=a+b|0;f=f+1|0;if((f|0)!=32){continue}break}}function Uc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=275552;a:{if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}d=((c<<8|c>>>8)&65535)+a|0}b:{c:{d:{e:{f:{g:{h:{c=O[d|0]|O[d+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break g;case 0:break h;default:break b}}e=O[d+4|0]|O[d+5|0]<<8;i=(e<<8|e>>>8)&65535;e=O[d+2|0]|O[d+3|0]<<8;e=b-((e<<8|e>>>8)&65535)|0;c=275552;if(i>>>0<=e>>>0){break f}c=((e<<1)+d|0)+6|0;break f}g=241305;c=O[d+2|0]|O[d+3|0]<<8;i:{if(!c){break i}h=d+4|0;d=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){e=d+c>>>1|0;f=h+T(e,6)|0;i=O[f|0]|O[f+1|0]<<8;j:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=e+1|0;break j}g=h+T(e,6)|0;break i}d=e-1|0}if((d|0)>=(c|0)){continue}break}}c=g+4|0}d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}return 2}return 4}d=275552;k:{if((O[a|0]|O[a+1|0]<<8)!=256){break k}c=O[a+10|0]|O[a+11|0]<<8;if(!c){break k}d=((c<<8|c>>>8)&65535)+a|0}j=8;l:{m:{n:{a=O[d|0]|O[d+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break m;case 0:break n;default:break b}}a=b;b=O[d+2|0]|O[d+3|0]<<8;b=a-((b<<8|b>>>8)&65535)|0;c=O[d+4|0]|O[d+5|0]<<8;a=275552;if(b>>>0>=((c<<8|c>>>8)&65535)>>>0){break l}a=((b<<1)+d|0)+6|0;break l}a=241305;c=O[d+2|0]|O[d+3|0]<<8;o:{if(!c){break o}g=d+4|0;d=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){e=d+c>>>1|0;f=g+T(e,6)|0;h=O[f|0]|O[f+1|0]<<8;p:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=e+1|0;break p}a=g+T(e,6)|0;break o}d=e-1|0}if((d|0)>=(c|0)){continue}break}}a=a+4|0}a=O[a|0]|O[a+1|0]<<8;j=((a<<8|a>>>8)&65535)<<8|8}return j}function be(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0<=c>>>0){break a}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(g>>>0>=c>>>0){b:{h=b+5|0;e=O[b+4|0];b=h+T(e,c)|0;c:{d:{switch(e-1|0){case 0:f=O[b|0];break c;case 1:d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;break c;case 2:f=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break c;case 3:break d;default:break c}}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}c=c+1|0;if(c>>>0>g>>>0){break b}d=T(c,e)+h|0;c=0;e:{f:{switch(e-1|0){case 0:c=O[d|0];break e;case 1:c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535;break e;case 2:c=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e;case 3:break f;default:break e}}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(c>>>0>>0){break a}d=T(e,g)+h|0;g:{h:{switch(e-1|0){case 0:i=O[d|0];break g;case 1:d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;break g;case 2:i=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break g;case 3:break h;default:break g}}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((c|0)==(f|0)|c>>>0>i>>>0){break a}d=c-f|0;f=T(e,g+1|0)+h|0;c=0;i:{j:{switch(e-1|0){case 0:c=O[b|0];break i;case 1:b=O[b|0]|O[b+1|0]<<8;c=(b<<8|b>>>8)&65535;break i;case 2:c=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break i;case 3:break j;default:break i}}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}N[a+8>>2]=0;N[a+4>>2]=d;N[a>>2]=(c+f|0)-1;return}}ba(8966,14180,149,9745);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function zy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=La-48|0;La=e;a:{b:{if(!cb(b,10437)){c:{if(!d){b=N[c>>2];break c}b=Kb(c,e+12|0);d=N[e+12>>2];if(O[d|0]!=44|(c|0)==(d|0)){break b}d=d+1|0;l=e,m=Kb(d,e+12|0),N[l+20>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+24>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+28>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+32>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+36>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}d=c+1|0;l=e,m=Kb(d,e+12|0),N[l+40>>2]=m;c=N[e+12>>2];if(O[c|0]!=44|(c|0)==(d|0)){break b}c=c+1|0;l=e,m=Kb(c,e+12|0),N[l+44>>2]=m;d=N[e+12>>2];if((O[d|0]|32)!=32|(c|0)==(d|0)){break b}c=e+16|0}f=6;if((b|0)<0){break a}d=N[c+8>>2];if((d|0)<0){break a}g=N[c+16>>2];if((g|0)<0){break a}h=N[c+24>>2];if((h|0)<0){break a}i=N[c+4>>2];if((i|0)<0){break a}j=N[c+12>>2];if((j|0)<0){break a}k=N[c+20>>2];if((k|0)<0){break a}c=N[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|0)|g>>>0>h>>>0)){break a}if(i>>>0>500|j>>>0>500|(k>>>0>500|c>>>0>500)){break a}N[a+36>>2]=b;N[a- -64>>2]=c;N[a+60>>2]=h;N[a+56>>2]=k;N[a+52>>2]=g;N[a+48>>2]=j;N[a+44>>2]=d;N[a+40>>2]=i;f=0;break a}if(!cb(b,15759)){if(d){f=6;if(cb(c,16505)){break a}N[a+28>>2]=1;f=0;break a}f=7;if(N[c>>2]!=1){break a}N[a+28>>2]=1;f=0;break a}if(!cb(b,14683)){if(d){if(!Kb(c,0)){L[a+32|0]=0;break a}L[a+32|0]=1;break a}L[a+32|0]=O[c|0];break a}f=12;if(cb(b,16909)){break a}f=0;d:{if(d){b=Kb(c,0);break d}b=N[c>>2]}N[a+68>>2]=(b|0)>0?b:0;break a}f=6}La=e+48|0;return f|0}function ge(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=a&65535;if(!f){return 0}h=N[b+128>>2];j=N[b+88>>2];m=(a<<8|f>>>8)&65535;if(m&1){k=N[e+8>>2];i=O[d|0]|O[d+1|0]<<8;f=(i<<8|i>>>8)<<16;g=f>>31;f=UE(N[j+56>>2],N[j+60>>2],f>>16,g);g=Pa;f=f+32768|0;N[e+8>>2]=(((f>>>0<32768?g+1|0:g)&65535)<<16|f>>>16)+k;i=(i|0)!=0;d=d+2|0}if(m&2){l=N[e+12>>2];k=O[d|0]|O[d+1|0]<<8;f=(k<<8|k>>>8)<<16;g=f>>31;f=UE(N[j+64>>2],N[j+68>>2],f>>16,g);g=Pa;f=f+32768|0;N[e+12>>2]=(((f>>>0<32768?g+1|0:g)&65535)<<16|f>>>16)+l;i=(k|0)!=0|i;d=d+2|0}k=h&-2;if(m&4){if((k|0)==4){l=N[e>>2];h=O[d|0]|O[d+1|0]<<8;f=(h<<8|h>>>8)<<16;g=f>>31;f=UE(N[j+56>>2],N[j+60>>2],f>>16,g);g=Pa;f=f+32768|0;N[e>>2]=(((f>>>0<32768?g+1|0:g)&65535)<<16|f>>>16)+l;i=(h|0)!=0|i}d=d+2|0}if(m&8){if((k|0)!=4){l=N[e+4>>2];h=O[d|0]|O[d+1|0]<<8;f=(h<<8|h>>>8)<<16;g=f>>31;f=UE(N[j+64>>2],N[j+68>>2],f>>16,g);g=Pa;f=f+32768|0;N[e+4>>2]=l-(((f>>>0<32768?g+1|0:g)&65535)<<16|f>>>16);i=(h|0)!=0|i}d=d+2|0}a:{if((a&65535)>>>0<4096){break a}g=1;a=1;a=N[j+72>>2]?a:N[j+84>>2]!=0;if(!N[j+76>>2]){g=N[j+84>>2]!=0;if((g|a)!=1){break a}}f=N[b+112>>2];b=N[b+108>>2];if(m&16){if(a){h=O[d|0]|O[d+1|0]<<8;l=(h|0)!=0;n=e,o=Zg(h?((h<<8|h>>>8)&65535)+c|0:275552,j,b,f)+N[e+8>>2]|0,N[n+8>>2]=o;i=i|l}d=d+2|0}if(m&32){if(g){h=O[d|0]|O[d+1|0]<<8;l=(h|0)!=0;n=e,o=Yg(h?((h<<8|h>>>8)&65535)+c|0:275552,j,b,f)+N[e+12>>2]|0,N[n+12>>2]=o;i=i|l}d=d+2|0}if(m&64){if((k|0)==4&a){a=O[d|0]|O[d+1|0]<<8;h=(a|0)!=0;n=e,o=Zg(a?((a<<8|a>>>8)&65535)+c|0:275552,j,b,f)+N[e>>2]|0,N[n>>2]=o;i=i|h}d=d+2|0}if(!g|(!(m&128)|(k|0)==4)){break a}a=O[d|0]|O[d+1|0]<<8;i=(a|0)!=0|i;a=Yg(a?((a<<8|a>>>8)&65535)+c|0:275552,j,b,f);N[e+4>>2]=N[e+4>>2]-a}return i}function bs(a,b){a=a|0;b=b|0;var 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;a:{b:{if(Q[b+160>>2]>=a+4>>>0){e=O[a+3|0]|O[a+2|0]<<8;if(Q[b+160>>2]>>0){if(N[b+164>>2]){break a}e=N[b+160>>2]-a|0}if(N[b+160>>2]-a>>>0>e>>>0){if(Q[b+164>>2]>=2){break a}e=N[b+160>>2]-a|0}if(e>>>0<=15){break a}c=O[a+7|0];if(c&1&Q[b+164>>2]>=2){break a}h=c|O[a+6|0]<<8;d=h&65534;if((d<<2)+16>>>0>e>>>0){break a}c=h>>>1|0;if(Q[b+164>>2]>=2){g=O[a+13|0];f=O[a+9|0];if((g|f)&1){break a}i=f|O[a+8|0]<<8;f=i>>>1|0;if(f>>>0>c>>>0|c>>>0>(i&65534)>>>0|((c|0)!=(f+((g|O[a+12|0]<<8)>>>1|0)|0)|(f|0)!=1<<(O[a+11|0]|O[a+10|0]<<8))){break a}}f=a+14|0;if(Q[b+164>>2]>=2){g=(d+f|0)-2|0;if((O[g|0]<<8|O[g+1|0])!=65535){break a}}g=0;if(h>>>0>=2){j=(a+d|0)+16|0;k=d+j|0;h=d+k|0;n=d+h|0;p=c>>>0<=1?1:c;q=a+e|0;o=c-1|0;d=0;c=0;i=0;while(1){e=c;a=d;c=O[j+1|0]|O[j|0]<<8;d=O[f+1|0]|O[f|0]<<8;if(c>>>0>d>>>0){break a}m=O[h|0];l=O[h+1|0];r=O[k|0];s=O[k+1|0];c:{if(!i|a>>>0>>0){break c}if(N[b+164>>2]){break a}if(!(a>>>0<=d>>>0&c>>>0>=e>>>0)){g=g|1;break c}g=g|2}a=l|m<<8;d:{if(!a){break d}if((a|0)!=65535){a=a+h|0;e:{if(N[b+164>>2]){if(a>>>0>>0){break a}if(((d-c<<1)+a|0)+2>>>0<=q>>>0){break e}break a}if(!((i|0)!=(o|0)|(c|0)!=65535)&(d|0)==65535){break e}if(a>>>0>>0|Q[b+160>>2]<((d-c<<1)+a|0)+2>>>0){break a}}if(!N[b+164>>2]|c>>>0>=d>>>0){break d}m=r<<8|s;e=c;while(1){l=O[a+1|0]|O[a|0]<<8;if(Q[b+172>>2]<=(m+l&65535)>>>0?l:0){break b}a=a+2|0;e=e+1|0;if(e>>>0>>0){continue}break}break d}if((i|0)!=(o|0)|Q[b+164>>2]>1|((c|0)!=65535|(d|0)!=65535)){break a}}h=h+2|0;k=k+2|0;f=f+2|0;j=j+2|0;i=i+1|0;if((p|0)!=(i|0)){continue}break}}return g|0}break a}Pb(b,16);B()}Pb(b,8);B()}function Lo(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=La-32|0;La=g;if(c){e=N[a+44>>2]}else{N[a+4>>2]=2147483647;N[a+44>>2]=0;N[a+16>>2]=-2147483648;N[a+8>>2]=2147483647;N[a+12>>2]=-2147483648;e=0}N[a+28>>2]=e;e=N[b+16>>2];a:{b:{c:{d:{e:{f:{d=N[b>>2];if(d){while(1){j=(h<<3)+e|0;i=N[j>>2];f=i>>31;if((f^i)-f>>>0>268435455){break f}j=N[j+4>>2];f=j>>31;if((f^j)-f>>>0>=268435456){break f}h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(!N[b+8>>2]){break e}h=e;while(1){f=O[N[b+20>>2]+k|0];d=f&3;e=(d<<3)+e|0;j=f&4;f=j?h:e;g:{h:{i:{switch(d-1|0){case 1:d=e-16|0;i=N[d+4>>2];N[g>>2]=N[d>>2];N[g+4>>2]=i;d=e-8|0;i=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=i;d=N[f+4>>2];N[g+16>>2]=N[f>>2];N[g+20>>2]=d;if(Ii(a,g)){break g}break h;case 2:d=e-24|0;i=N[d+4>>2];N[g>>2]=N[d>>2];N[g+4>>2]=i;d=e-16|0;i=N[d+4>>2];N[g+8>>2]=N[d>>2];N[g+12>>2]=i;d=e-8|0;i=N[d+4>>2];N[g+16>>2]=N[d>>2];N[g+20>>2]=i;d=N[f+4>>2];N[g+24>>2]=N[f>>2];N[g+28>>2]=d;if(!Hi(a,g)){break h}break g;case 0:break i;default:break h}}d=e-8|0;if(Gi(a,N[d>>2],N[d+4>>2],N[f>>2],N[f+4>>2])){break g}}e=0;break b}h=j?e:h;k=k+1|0;if(k>>>0>2]){continue}break}if((e|0)==(h|0)){break d}break a}ba(18838,18126,276,15670);B()}if(!e){break c}}if((N[b+16>>2]+(N[b>>2]<<3)|0)!=(e|0)){break a}}h=N[a+44>>2];j=N[a+28>>2];if(h>>>0>>0){k=N[a+16>>2];e=N[a+12>>2];b=N[a+8>>2];f=N[a+4>>2];i=N[a+20>>2];while(1){d=i+T(h,40)|0;l=N[d+36>>2];k=(k|0)>(l|0)?k:l;l=N[d+28>>2];e=(e|0)>(l|0)?e:l;l=N[d+32>>2];b=(b|0)<(l|0)?b:l;d=N[d+24>>2];f=(d|0)>(f|0)?f:d;h=h+1|0;if((j|0)!=(h|0)){continue}break}N[a+16>>2]=k;N[a+12>>2]=e;N[a+8>>2]=b;N[a+4>>2]=f}e=1;if(c){break b}N[a+44>>2]=j}La=g+32|0;return e}ba(22626,18126,317,15670);B()}function dk(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{b:{if((b|0)!=1196445523){h=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;h=Q[a+16>>2]<4?275552:N[a+12>>2]}a=h;b=275552;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}h=O[a+4|0]|O[a+5|0]<<8;b=275552;if(!h){break c}b=a+((h<<8|h>>>8)&65535)|0}a=O[b|0]|O[b+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0>c>>>0){a=(b+T(c,6)|0)+2|0}else{a=275552}a=O[a+4|0]|O[a+5|0]<<8;if(a){i=b+((a<<8|a>>>8)&65535)|0}else{i=275552}d:{e:{f:{g:{if(!d){j=O[i+2|0]|O[i+3|0]<<8;break g}h=65535;j=O[i+2|0]|O[i+3|0]<<8;if(!j){if(f){break e}break d}b=((j<<8|j>>>8)&65535)-1|0;m=i+4|0;if(!f){while(1){l=N[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=T(h,6)+m|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);h:{if(g>>>0<=l>>>0){if((g|0)==(l|0)){break f}a=h+1|0;break h}c=h-1|0}if((a|0)<=(c|0)){continue}break}k=k+1|0;if((k|0)!=(d|0)){continue}break g}}while(1){l=N[(k<<2)+e>>2];a=0;c=b;while(1){h=a+c>>>1|0;g=T(h,6)+m|0;g=O[g|0]|O[g+1|0]<<8|(O[g+2|0]<<16|O[g+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);i:{if(g>>>0>l>>>0){c=h-1|0;break i}if((g|0)==(l|0)){break f}a=h+1|0}if((a|0)<=(c|0)){continue}break}N[f>>2]=65535;k=k+1|0;if((k|0)!=(d|0)){continue}break}}h=65535;j:{if(!j){break j}e=i+4|0;c=((j<<8|(j&65280)>>>8)&65535)-1|0;a=0;while(1){k:{b=a+c>>>1|0;d=e+T(b,6)|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);l:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=1684434037){c=b-1|0;break l}if((d|0)==1953261156){break k}a=b+1|0}if((a|0)<=(c|0)){continue}break j}break}h=b}if(!f){break d}break e}if(!f){break d}}N[f>>2]=h}}function WB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;g=1;k=(b<<1)+e|0;f=O[a|0];a:{b:{c:{d:{if(c>>>0>=2){e:{if((c|0)==2){h=f}else{h=c-1|0;m=h&1;n=h&-2;h=0;while(1){i=g-1|0;j=i<<1;o=f;f=a+g|0;l=O[f|0]+O[a+i|0]|0;i=o+l|0;M[j+k>>1]=i;M[e+j>>1]=i;p=g<<1;i=g+1|0;j=i+a|0;f=O[j|0]+O[f|0]|0;l=l+f|0;M[p+k>>1]=l;M[e+p>>1]=l;g=g+2|0;h=h+2|0;if((n|0)!=(h|0)){continue}break}if(!m){g=i;h=f;break e}h=O[j|0]}i=(g<<1)-2|0;j=a+g|0;h=h+O[j|0]|0;f=h+f|0;M[i+k>>1]=f;M[e+i>>1]=f}m=1;f=g<<1;h=O[j|0]+h|0;M[f+k>>1]=h;M[e+f>>1]=h;if(d>>>0>1){break d}h=a;break a}g=f<<1;M[k>>1]=g;M[e>>1]=g;if(d>>>0<2){h=a;break a}if((d|0)==2){break b}d=d-1|0;h=d&1;g=d&-2;f=0;while(1){i=P[e>>1];d=a+b|0;j=O[d|0]<<1;M[e>>1]=j;m=P[k>>1];i=i+j|0;M[k>>1]=i;L[a|0]=i+m>>>4;i=P[e>>1];a=b+d|0;j=O[a|0]<<1;M[e>>1]=j;m=P[k>>1];i=i+j|0;M[k>>1]=i;L[d|0]=i+m>>>4;f=f+2|0;if((g|0)!=(f|0)){continue}break}if(h){break c}h=a;break a}while(1){h=a+b|0;g=O[h|0];f=1;while(1){n=f-1|0;l=n<<1;i=l+e|0;p=P[i>>1];j=g;o=i;i=f;q=f+h|0;g=O[q|0]+O[h+n|0]|0;j=j+g|0;M[o>>1]=j;l=k+l|0;o=P[l>>1];j=j+p|0;M[l>>1]=j;L[a+n|0]=j+o>>>4;f=f+1|0;if((f|0)!=(c|0)){continue}break}f=i<<1;j=f+e|0;n=P[j>>1];g=O[q|0]+g|0;M[j>>1]=g;f=f+k|0;j=P[f>>1];o=f;f=g+n|0;M[o>>1]=f;L[a+i|0]=f+j>>>4;a=h;m=m+1|0;if((m|0)!=(d|0)){continue}break}break a}g=P[e>>1]}h=a+b|0;b=O[h|0]<<1;M[e>>1]=b;d=P[k>>1];b=b+g|0;M[k>>1]=b;L[a|0]=b+d>>>4}f:{if(!c){break f}g=0;if((c|0)!=1){b=c&1;c=c&-2;while(1){a=g<<1;L[g+h|0]=P[a+e>>1]+P[a+k>>1]>>>4;d=g|1;a=d<<1;L[d+h|0]=P[a+e>>1]+P[a+k>>1]>>>4;g=g+2|0;if((c|0)!=(g|0)){continue}break}if(!b){break f}}a=g<<1;L[g+h|0]=P[a+e>>1]+P[a+k>>1]>>>4}}function tx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;if(a){c=N[a+100>>2];b=N[a+548>>2];if(b){Qa[N[c+8>>2]](c,b);N[a+544>>2]=0;N[a+548>>2]=0}af(a);N[a+532>>2]=0;b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+148>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+148>>2]=0;b=N[a+432>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+432>>2]=0;b=N[a+428>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+428>>2]=0;b=N[a+424>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+424>>2]=0;b=N[a+408>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+408>>2]=0;b=N[a+412>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+412>>2]=0;d=N[a+416>>2];a:{if(!d){break a}e=N[d+4>>2];b:{if(!e){break b}b=N[d+20>>2];if((e|0)!=1){g=e&1;h=e&-2;e=0;while(1){f=N[b>>2];if(f){Qa[N[c+8>>2]](c,f)}N[b>>2]=0;f=N[b+4>>2];if(f){Qa[N[c+8>>2]](c,f)}N[b+4>>2]=0;b=b+8|0;e=e+2|0;if((h|0)!=(e|0)){continue}break}if(!g){break b}}e=N[b>>2];if(e){Qa[N[c+8>>2]](c,e)}N[b>>2]=0}b=N[d+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+20>>2]=0;b=N[a+416>>2];if(!b){break a}Qa[N[c+8>>2]](c,b)}N[a+416>>2]=0;b=N[a+392>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+392>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+396>>2]=0;b=N[a+400>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+400>>2]=0;b=N[a+384>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+384>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+364>>2]=0;b=N[a+496>>2];if(b){d=N[b+36>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+36>>2]=0;N[b+40>>2]=0;d=N[b+28>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+28>>2]=0;N[b+32>>2]=0;Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0}}function Ij(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{d=N[b+4>>2];if((d|0)==N[a+28>>2]){g=N[b+8>>2];if(d){C(g,255,d<<2)}if(!c){break a}e=N[a+20>>2];while(1){b:{if(Q[a+16>>2]<=f>>>0){N[147456]=0;N[147457]=0;d=0;break b}d=N[(e+(f<<3)|0)+4>>2]}c:{if(d>>>0>=Q[b+4>>2]){N[147456]=0;d=589824;break c}d=g+(d<<2)|0}N[d>>2]=f;f=f+1|0;if((f|0)!=(c|0)){continue}break}break a}ba(13964,14083,441,9662);B()}d=N[a+28>>2];if(d){f=0;g=0;while(1){h=f<<2;c=N[b+8>>2];e=N[b+4>>2];if(N[(e>>>0<=f>>>0?275552:h+c|0)>>2]!=-1){if(f>>>0>g>>>0){d:{if(d>>>0<=f>>>0){N[147470]=0;N[147471]=0;N[147468]=0;N[147469]=0;N[147466]=0;N[147467]=0;N[147464]=0;N[147465]=0;N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=N[a+28>>2];c=589824;break d}c=N[a+32>>2]+(f<<6)|0}e:{if(d>>>0<=g>>>0){N[147470]=0;N[147471]=0;N[147468]=0;N[147469]=0;N[147466]=0;N[147467]=0;N[147464]=0;N[147465]=0;N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;d=589824;break e}d=N[a+32>>2]+(g<<6)|0}e=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=e;e=N[c+60>>2];N[d+56>>2]=N[c+56>>2];N[d+60>>2]=e;e=N[c+52>>2];N[d+48>>2]=N[c+48>>2];N[d+52>>2]=e;e=N[c+44>>2];N[d+40>>2]=N[c+40>>2];N[d+44>>2]=e;e=N[c+36>>2];N[d+32>>2]=N[c+32>>2];N[d+36>>2]=e;e=N[c+28>>2];N[d+24>>2]=N[c+24>>2];N[d+28>>2]=e;e=N[c+20>>2];N[d+16>>2]=N[c+16>>2];N[d+20>>2]=e;e=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=e;e=N[b+4>>2];c=N[b+8>>2]}c=N[(e>>>0<=f>>>0?275552:c+h|0)>>2];f:{if(c>>>0>=Q[a+16>>2]){N[147456]=0;N[147457]=0;c=589824;break f}c=N[a+20>>2]+(c<<3)|0}N[c+4>>2]=g;g=g+1|0;d=N[a+28>>2]}f=f+1|0;if(f>>>0>>0){continue}break}}}function Zp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;e=N[a>>2];g=N[e+4>>2];c=N[e+8>>2];while(1){a:{d=c+1|0;j=d>>>0>g>>>0;if(j){break a}f=N[e>>2];h=O[f+c|0];N[e+8>>2]=d;b:{c:{d:{e:{if((h|0)!=12){c=d;break e}c=c+2|0;if(g>>>0>>0){h=65535;break d}d=O[d+f|0];N[e+8>>2]=c;h=d|256}f:{g:{h:{i:{j:{if(h>>>0>21){break j}d=1<>2];if(!d){L[g|0]=1;N[147456]=0;N[147457]=0;N[b+16>>2]=0;break g}i=S[g+(d<<3)>>3];k:{if(V(i)<2147483648){d=~~i;break k}d=-2147483648}if((d|0)<0){L[g|0]=1;d=0}N[b+16>>2]=d;break g}d=h-265|0;if(d>>>0>10){break d}d=1<>2];if(g){i=S[d+(g<<3)>>3];break f}L[d|0]=1;N[147456]=0;N[147457]=0}i=0}N[f>>2]=0;break c}Ke(h,e);if(N[e+20>>2]){break b}c=N[e+8>>2];i=0}if(O[e+16|0]|Q[e+4>>2]>>0){break b}l:{m:{n:{c=N[b+4>>2];if((c|0)>=0){g=N[b+8>>2];f=g+1|0;if(f>>>0<=c>>>0){d=N[b+12>>2];break m}while(1){c=((c>>>1|0)+c|0)+8|0;if(f>>>0>=c>>>0){continue}break}if(c>>>0<=178956970){d=$a(N[b+12>>2],T(c,24));if(d){break n}}N[b+4>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;c=589824;break l}N[b+4>>2]=c;N[b+12>>2]=d;g=N[b+8>>2];f=g+1|0}N[b+8>>2]=f;c=T(g,24)+d|0;S[c+16>>3]=i;L[c+8|0]=0;N[c>>2]=0}N[c+4>>2]=h;d=N[e+8>>2];h=N[e+4>>2];f=N[e>>2];e=N[b>>2];N[c>>2]=f+e;f=c;c=h-e|0;c=c>>>0<=h>>>0?c:0;e=d-e|0;L[f+8|0]=c>>>0>>0?c:e;N[b>>2]=d}e=N[a>>2];c=N[e+8>>2];g=N[e+4>>2];if(c>>>0>g>>>0){break a}if(!O[e+16|0]){continue}}break}return j}function It(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=N[a+100>>2];c=N[a+540>>2];a:{if(!c){break a}b=N[c+80>>2];if(b){Qa[b|0](a)}b=N[c+100>>2];if(b){Qa[b|0](a)}b=N[c+120>>2];if(!b){break a}Qa[b|0](a);Qa[N[c+124>>2]](a)}if(O[a+848|0]){e=N[a+828>>2];if(e){b=N[a+104>>2];if(!(!b|!N[b+20>>2])){b=N[b+28>>2];Qa[N[b+8>>2]](b,e)}N[a+828>>2]=0}N[a+840>>2]=0;N[a+832>>2]=0;N[a+836>>2]=0}b=a+808|0;e=N[a+104>>2];b:{if(!e|!N[e+20>>2]){break b}f=N[b>>2];if(!f){break b}e=N[e+28>>2];Qa[N[e+8>>2]](e,f)}N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;b=N[a+144>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+140>>2]=0;N[a+144>>2]=0;b=N[a+156>>2];if(b){Qa[N[d+8>>2]](d,b)}M[a+152>>1]=0;N[a+156>>2]=0;b=N[a+104>>2];c:{if(!b|!N[b+20>>2]){break c}e=N[a+508>>2];if(!e){break c}b=N[b+28>>2];Qa[N[b+8>>2]](b,e)}N[a+752>>2]=0;N[a+756>>2]=0;N[a+508>>2]=0;N[a+512>>2]=0;if(O[a+292|0]){b=N[a+332>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+332>>2]=0;b=N[a+336>>2];if(b){Qa[N[d+8>>2]](d,b)}L[a+292|0]=0;N[a+336>>2]=0}b=N[a+564>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+564>>2]=0;M[a+562>>1]=0;if(c){Qa[N[c+52>>2]](a)}c=N[a+20>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+20>>2]=0;c=N[a+24>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+24>>2]=0;c=N[a+32>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+32>>2]=0;c=N[a+804>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+28>>2]=0;N[a+804>>2]=0;c=N[a+720>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+720>>2]=0;c=N[a+744>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+744>>2]=0;c=N[a+652>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+652>>2]=0;c=N[a+656>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+656>>2]=0;c=N[a+664>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+664>>2]=0;c=N[a+672>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+540>>2]=0;N[a+672>>2]=0}}function vo(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-80|0;La=h;N[e>>2]=0;a:{if(c>>>0<=31){N[d>>2]=0;break a}f=N[b+112>>2];if(f){b:{if((f|0)>0){while(1){c:{i=N[((g<<2)+b|0)+68>>2];f=i;j=ze(N[f+92>>2],c);if(!j){break c}f=N[f+92>>2];if(!f){break c}f=Qa[N[N[f+12>>2]+12>>2]](f,j)|0;if(f>>>0>=Q[i+16>>2]|!f){break c}N[d>>2]=g;break b}g=g+1|0;if((g|0)>2]){continue}break}}f=N[b+20>>2];g=N[b+4>>2];i=N[b>>2];j=N[b+8>>2];N[h- -64>>2]=N[b+12>>2];N[h+60>>2]=j;N[h+56>>2]=i;N[h+52>>2]=g;N[h+48>>2]=c;mb(f,4,23624,h+48|0);a=wo(a,b,c);N[d>>2]=a;f=0;if((a|0)<0){break b}a=N[((a<<2)+b|0)+68>>2];g=ze(N[a+92>>2],c);d:{if(!g){break d}f=N[a+92>>2];if(!f){break d}f=Qa[N[N[f+12>>2]+12>>2]](f,g)|0;if(f>>>0>=Q[a+16>>2]){break d}if(f){break b}}e:{if(N[a+36>>2]<=0){break e}f=N[b+20>>2];N[h+32>>2]=c;mb(f,2,10502,h+32|0);f=N[a+36>>2];if((f|0)<=0){break e}i=0;while(1){g=N[a+40>>2];j=N[g+(i<<2)>>2];f:{if(!j|!g|(f|0)<=0){break f}f=(f<<2)+g|0;while(1){g:{if((j|0)!=N[g>>2]){break g}k=N[j>>2];h:{if(!k){break h}k=N[k+96>>2];l=N[N[k>>2]+32>>2];if(!l){break h}k=Qa[l|0](k,10557)|0;if(!k){break h}if(Qa[N[k>>2]](j,h+72|0)|0){break h}if(N[h+76>>2]==14){break g}}N[a+92>>2]=N[g>>2];break f}g=g+4|0;if(f>>>0>g>>>0){continue}break}}g=ze(N[a+92>>2],c);i:{if(!g){break i}f=N[a+92>>2];if(!f){break i}f=Qa[N[N[f+12>>2]+12>>2]](f,g)|0;if(f>>>0>=Q[a+16>>2]){break i}if(f){break b}}f=N[a+36>>2];i=i+1|0;if((f|0)>(i|0)){continue}break}}a=N[b+20>>2];f=N[b+4>>2];g=N[b>>2];i=N[b+8>>2];N[h+16>>2]=N[b+12>>2];N[h+12>>2]=i;N[h+8>>2]=g;N[h+4>>2]=f;N[h>>2]=c;mb(a,1,23576,h);f=0}a=N[d>>2];N[d>>2]=(a|0)>0?a:0;N[e>>2]=f;break a}N[d>>2]=0}La=h+80|0}function yj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[a+68>>2];l=c>>>0>d>>>0?d:c;k=l-b|0;a:{if(!(O[a+16|0]&128)){if(k>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=l>>>0){break a}i=N[a+80>>2];c=-1;d=b;m=(d^-1)+l|0;if(m>>>0>=3){j=k&-4;while(1){e=i+T(d,20)|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}e=k&3;if(e){h=0;while(1){j=N[(i+T(d,20)|0)+8>>2];c=c>>>0>>0?c:j;d=d+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}b=b+1|0}if(!m){break a}while(1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=i+T(b+1|0,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}b=b+2|0;if((l|0)!=(b|0)){continue}break}break a}if(k>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=l>>>0){break a}i=N[a+80>>2];c=-1;d=b;m=(d^-1)+l|0;if(m>>>0>=3){j=k&-4;while(1){e=i+T(d,20)|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;h=h+4|0;if((j|0)!=(h|0)){continue}break}}e=k&3;if(e){h=0;while(1){j=N[(i+T(d,20)|0)+8>>2];c=c>>>0>>0?c:j;d=d+1|0;h=h+1|0;if((e|0)!=(h|0)){continue}break}}if(k&1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|4}b=b+1|0}if(!m){break a}while(1){d=i+T(b,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|4}d=i+T(b+1|0,20)|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|4}b=b+2|0;if((l|0)!=(b|0)){continue}break}}}function Es(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{e=a+10|0;if(e>>>0<=Q[b+160>>2]){c=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(i>>>0<10|N[b+160>>2]-a>>>0>>0){break a}c=O[a+6|0]|O[a+7|0]<<8|(O[a+8|0]<<16|O[a+9|0]<<24);j=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(j>>>0>(i-10>>>0)/11>>>0){break a}if(j){d=1;while(1){c=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(f>>>0>=i>>>0){break a}c=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(g>>>0>=i>>>0){break a}k=O[e+2|0]|(O[e+1|0]<<8|O[e|0]<<16);if(k>>>0>>0){break a}c:{if(!f){break c}d=a+f|0;c=d+4|0;if(c>>>0>Q[b+160>>2]){break a}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>N[b+160>>2]-c>>>2>>>0){break a}d=0;h=0;if(!f){break c}while(1){l=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);m=l+O[c+3|0]|0;if(m>>>0>=1114112|h>>>0>l>>>0){break a}c=c+4|0;h=m+1|0;d=d+1|0;if((f|0)!=(d|0)){continue}break}}d:{if(!g){break d}d=a+g|0;c=d+4|0;if(c>>>0>Q[b+160>>2]){break a}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(f>>>0>(N[b+160>>2]-c>>>0)/5>>>0){break a}d=0;g=0;if(!f){break d}while(1){h=O[c+2|0]|(O[c+1|0]<<8|O[c|0]<<16);if(h>>>0>=1114112|d>>>0>h>>>0){break a}if(Q[b+172>>2]<=(O[c+4|0]|O[c+3|0]<<8)>>>0?N[b+164>>2]:0){break b}c=c+5|0;d=h+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}e=e+11|0;d=k+1|0;n=n+1|0;if((j|0)!=(n|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,8);B()}function fl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=U(0),k=0,l=U(0);d=O[a|0]|O[a+1|0]<<8;if(!d){return 0}d=(d<<8|d>>>8)&65535;e=d>>>0<=1?1:d;h=a+8|0;a:{while(1){d=(g<<3)+h|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16))==U(0)){break a}g=g+1|0;if((e|0)!=(g|0)){continue}break}return 0}b:{c:{d:{d=O[a+2|0]|O[a+3|0]<<8;e=(d<<8|d>>>8)&65535;switch(e|0){case 0:break b;case 1:break d;default:break c}}a=(g<<3)+h|0;a=O[a+6|0]|O[a+7|0]<<8;a=((a<<8|a>>>8)&65535)+b|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);i=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+b|0;a=0;d=e-1|0;e:{if(!d){break e}while(1){f=a>>>0>=e>>>0?275552:(a<<2)+i|0;f=O[f|0]|O[f+1|0]<<8|(O[f+2|0]<<16|O[f+3|0]<<24);if(U(U(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))*U(152587890625e-16))>=c){break e}a=a+1|0;if((d|0)!=(a|0)){continue}break}a=d}d=a-1|0;a=a>>>0>=d>>>0?d:0;f=a>>>0>>0;d=e;e=a+1|0;k=d>>>0>e>>>0;d=f?(a<<2)+i|0:275552;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));d=k?(e<<2)+i|0:275552;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);l=U(U(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))*U(152587890625e-16));if(j==l){c=U(0)}else{c=U(U(c-j)/U(l-j))}d=b;b=(g<<3)+h|0;b=O[b+6|0]|O[b+7|0]<<8;b=d+((b<<8|b>>>8)&65535)|0;d=k?b+(e<<1)|0:275552;d=O[d|0]|O[d+1|0]<<8;a=f?b+(a<<1)|0:275552;a=O[a|0]|O[a+1|0]<<8;c=U(Z(U(U(U(c*U((d<<8|d>>>8)<<16>>16))+U(U(U(1)-c)*U((a<<8|a>>>8)<<16>>16)))+U(.5))));if(U(V(c))>2]+((d|0)!=0)|0;if(f>>>0>65535){break a}o=N[a+508>>2]+N[a+512>>2]|0;e=j>>>1|0;q=e>>>0<=1?1:e;r=e-1|0;n=b+14|0;k=(b+j|0)+16|0;b:{c:{while(1){b=O[n|0];e=O[n+1|0];i=O[k+1|0]|O[k|0]<<8;if(!(i>>>0<=f>>>0|d)){return 0}f=f>>>0>i>>>0?f:i;l=k+j|0;h=l+j|0;d:{m=e|b<<8;if((i|0)==65535&p>>>0>=r>>>0&(m|0)==65535){s=h+2|0;while(1){if(f>>>0>m>>>0){break d}b=O[l|0]|O[l+1|0]<<8;e=O[h+1|0]|O[h|0]<<8;g=(e|0)!=0&e+s>>>0>o>>>0;b=g?1:(b<<8|b>>>8)<<16>>16;e:{f:{g:{e=g?0:e;if(e){if((e|0)==65535){break d}e=(e+(f-i<<1)|0)+h|0;if(e>>>0>o>>>0?d:0){break d}e=O[e+1|0]|O[e|0]<<8;if(e){break g}e=0;break f}g=b+f|0;e=g&65535;if(!d){break a}if(Q[a+16>>2]>e>>>0){break f}e=b+m|0;if(!((g|0)<0&(e|0)>=0)){if((e|0)<65536|(g|0)>65535){break d}e=0;b=65536-b|0;break e}e=0;b=0-b|0;break e}b=b+e&65535;e=b>>>0>2]?b:0}b=f}if(e|!d){break c}f=b+1|0;if(b>>>0<=65534){continue}break}e=0;break b}while(1){if(f>>>0>m>>>0){break d}b=O[l|0]|O[l+1|0]<<8;b=(b<<8|b>>>8)<<16>>16;e=O[h+1|0]|O[h|0]<<8;h:{if(e){if((e|0)==65535){break d}e=(e+(f-i<<1)|0)+h|0;if(e>>>0>o>>>0?d:0){break d}e=O[e+1|0]|O[e|0]<<8;if(!e){e=0;break h}b=b+e&65535;e=b>>>0>2]?b:0;break h}g=b+f|0;e=g&65535;if(!d){break a}if(Q[a+16>>2]>e>>>0){break h}e=b+m|0;if(!((e|0)<0|(g|0)>=0)){e=0;f=0-b|0;break h}if((e|0)<65536|(g|0)>65535){break d}e=0;f=65536-b|0}b=f;if(e|!d){break c}f=b+1|0;if(b>>>0<=65534){continue}break}e=0;break b}k=k+2|0;n=n+2|0;p=p+1|0;if((q|0)!=(p|0)){continue}break}e=0;b=f}if(!d){break a}}N[c>>2]=b}return e}function Ki(a,b,c,d,e,f,g){var h=0,i=0,j=0;i=O[N[a>>2]+236|0];N[g>>2]=0;N[f>>2]=0;if(O[a+11662|0]){h=e-c|0;e=i?0-h|0:h;j=N[a+4>>2];h=T(h>>16,b>>16);b=d-b|0;N[j+16>>2]=N[j+16>>2]+(h-T(b>>16,c>>16)|0);a:{b:{b=i?0-b|0:b;if((b|0)>=0){if((e|0)>=0){if((b|0)>e<<1){break b}c=N[a+11684>>2];if((e|0)>b<<1){N[f>>2]=c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45875)+(T(b&65535,45875)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?0-b|0:b;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,19661)+(T(b&65535,19661)+32768>>>16|0)|0;a=(a|0)<0?0-b|0:b;break a}if((b|0)>(0-(e<<1)|0)){break b}c=N[a+11684>>2];if((0-e|0)>b<<1){N[f>>2]=0-c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45874)+(T(b&65535,45874)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?b:0-b|0;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,19661)+(T(b&65535,19661)+32768>>>16|0)|0;a=(a|0)<0?0-b|0:b;break a}c=0-b|0;if((e|0)>=0){if((c|0)>e<<1){N[f>>2]=0;a=N[a+11688>>2]<<1;break a}c=N[a+11684>>2];if((e|0)>(0-(b<<1)|0)){N[f>>2]=c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45875)+(T(b&65535,45875)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?0-b|0:b;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,45875)+b+(T(b&65535,45875)+32768>>>16)|0;a=(a|0)<0?0-b|0:b;break a}if((c|0)>(0-(e<<1)|0)){N[f>>2]=0;a=N[a+11688>>2]<<1;break a}c=N[a+11684>>2];if((0-(b<<1)|0)<(0-e|0)){N[f>>2]=0-c;a=N[a+11688>>2];break a}b=c>>31;b=(b^c)-b|0;b=T(b>>>16|0,45874)+(T(b&65535,45874)+32768>>>16|0)|0;N[f>>2]=(c|0)<0?b:0-b|0;a=N[a+11688>>2];b=a>>31;b=(a^b)-b|0;b=T(b>>>16|0,45875)+b+(T(b&65535,45875)+32768>>>16)|0;a=(a|0)<0?0-b|0:b;break a}N[f>>2]=0;a=0}N[g>>2]=a}}function yC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;a:{if(!c){break a}g=d+5|0;if(g>>>0<2){a=0;while(1){a=a+8|0;if(c>>>0>a>>>0){continue}break}break a}m=d<<3;d=g>>>1|0;p=d>>>0<=1?1:d;while(1){d=0;n=0;while(1){i=d-8|0;i=i>>>0>=m>>>0?440592:(i<<1)+b|0;j=d-16|0;j=j>>>0>=m>>>0?440592:(j<<1)+b|0;e=M[i>>1]+M[j>>1]|0;g=d|8;g=g>>>0>=m>>>0?440592:(g<<1)+b|0;l=d>>>0>=m>>>0?440592:(d<<1)+b|0;k=d-24|0;k=k>>>0>=m>>>0?440592:(k<<1)+b|0;f=M[l>>1]+M[k>>1]|0;h=d-32|0;h=h>>>0>=m>>>0?440592:(h<<1)+b|0;M[a>>1]=(((e+(M[g>>1]+(f+M[h>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+2>>1]+M[j+2>>1]|0;f=M[l+2>>1]+M[k+2>>1]|0;M[a+2>>1]=(((e+(M[g+2>>1]+(f+M[h+2>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+4>>1]+M[j+4>>1]|0;f=M[l+4>>1]+M[k+4>>1]|0;M[a+4>>1]=(((e+(M[g+4>>1]+(f+M[h+4>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+6>>1]+M[j+6>>1]|0;f=M[l+6>>1]+M[k+6>>1]|0;M[a+6>>1]=(((e+(M[g+6>>1]+(f+M[h+6>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+8>>1]+M[j+8>>1]|0;f=M[l+8>>1]+M[k+8>>1]|0;M[a+8>>1]=(((e+(M[g+8>>1]+(f+M[h+8>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+10>>1]+M[j+10>>1]|0;f=M[l+10>>1]+M[k+10>>1]|0;M[a+10>>1]=(((e+(M[g+10>>1]+(f+M[h+10>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[i+12>>1]+M[j+12>>1]|0;f=M[l+12>>1]+M[k+12>>1]|0;M[a+12>>1]=(((e+(M[g+12>>1]+(f+M[h+12>>1]|0)>>1)>>>1|0)+f>>>1|0)+e|0)+2>>>2;e=M[g+14>>1];g=M[l+14>>1]+M[k+14>>1]|0;e=e+(g+M[h+14>>1]|0)>>1;h=M[i+14>>1]+M[j+14>>1]|0;M[a+14>>1]=(((e+h>>>1|0)+g>>>1|0)+h|0)+2>>>2;d=d+16|0;a=a+16|0;n=n+1|0;if((p|0)!=(n|0)){continue}break}b=(m<<1)+b|0;o=o+8|0;if(o>>>0>>0){continue}break}}}function en(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(!(L[a+741|0]&1)){break a}c=N[N[a+736>>2]+56>>2];f=P[c>>1];if(f){b=N[c+24>>2];j=b+T(f,12)|0;i=c+4|0;while(1){f=N[b>>2];h=Xm(a,f);c=Oh(a,i,P[b+4>>1],P[b+6>>1]);b:{if(!h){break b}M[h>>1]=c+P[b+8>>1];if((f|0)==1751216995){d=c;break b}if((f|0)!=1751934832){if((f|0)!=1751413603){break b}e=c;break b}g=c}b=b+12|0;if(j>>>0>b>>>0){continue}break}}c=P[a+72>>1];e=c+e|0;M[a+72>>1]=e;b=d;d=P[a+70>>1];b=b+d|0;M[a+70>>1]=b;f=M[a+486>>1];M[a+82>>1]=f;M[a+80>>1]=P[a+484>>1]+((f|0)/-2|0);M[a+74>>1]=(b+(c+((P[a+74>>1]+g|0)-d|0)|0)|0)-e;a=N[a+108>>2];while(1){if(!a){break a}c=N[a+8>>2];a=N[a+4>>2];g=N[c>>2];if(O[g+732|0]){continue}L[c+112|0]=0;e=N[c+16>>2];d=N[c+12>>2];N[c+48>>2]=d;N[c+52>>2]=e;e=N[c+24>>2];N[c+56>>2]=N[c+20>>2];N[c+60>>2]=e;b=N[c+32>>2];e=c- -64|0;N[e>>2]=N[c+28>>2];N[e+4>>2]=b;N[c+72>>2]=N[c+36>>2];if(!(d&65535)|!P[c+50>>1]){continue}if(O[g+176|0]&8){f=N[c+56>>2];d=f>>31;h=M[g+70>>1];b=h>>31;d=(d^f)-d|0;j=d>>>8|0;b=(b^h)-b|0;c:{if(j+b>>>0<=8190){i=T(b,d)+32768>>>16|0;break c}i=T(b,d>>>16|0)+(T(b,d&65535)+32768>>>16|0)|0}b=i;k=0-b|0;b=h>>31|1;f=(f|0)<0;N[c+60>>2]=(((f?0-b|0:b)|0)<0?k:i)+32&-64;i=e;h=M[g+72>>1];b=h>>31;b=(b^h)-b|0;d:{if(b+j>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}b=T(b,d>>>16|0)+(T(b,d&65535)+32768>>>16|0)|0}e=h>>31|1;N[i>>2]=(((f?0-e|0:e)|0)<0?0-b|0:b)+32&-64;g=M[g+74>>1];e=g>>31;e=(e^g)-e|0;e:{if(e+j>>>0<=8190){b=T(d,e)+32768>>>16|0;break e}b=T(e,d>>>16|0)+(T(e,d&65535)+32768>>>16|0)|0}d=b;e=0-d|0;d=g>>31|1;N[c+68>>2]=(((f?0-d|0:d)|0)<0?e:b)+32&-64}L[c+112|0]=1;continue}}}function qm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;N[d>>2]=0;N[d+4>>2]=0;g=b-1|0;g=b>>>0>=g>>>0?g:0;b=N[a+408>>2];a:{if(g>>>0>b>>>0){break a}e=b;b=c-1|0;c=b>>>0<=c>>>0?b:0;if(e>>>0>>0){break a}b=N[a+424>>2];if(!b){break a}e=c<<4;c=N[a+416>>2];c=P[e+c>>1]|N[c+(g<<4)>>2]<<16;g=N[a+104>>2];while(1){if(!(c>>>0<=Q[b+20>>2]&c>>>0>=Q[b+16>>2])){b=N[b>>2];if(b){continue}break a}break}a=N[b+12>>2];i=N[g+20>>2];b:{if(i){f=85;if(!(Qa[i|0](g,a,0,0)|0)){break b}break a}f=85;if(a>>>0>Q[g+4>>2]){break a}}N[g+8>>2]=a;f=Bb(g,T(N[b+8>>2],O[b+4|0]));if(f){break a}a=O[b+5|0];j=a&1;k=a>>>1&1;i=N[b+8>>2];f=N[g+32>>2];a=O[b+4|0];h=-2147483648>>>W(a)|0;c:{d:{e:{if((a|0)==(h|0)){break e}a=T(i,a-h|0)+f|0;e=O[a+1|0];l=O[a|0];f:{if(j){e=O[a+3|0]|(e<<16|l<<24|O[a+2|0]<<8);a=a+4|0;break f}e=e|l<<16;a=a+2|0}if((c|0)==(e|0)){break d}if(c>>>0<=e>>>0){break e}f=(k?2:1)+a|0}g:{a=T(i,h);h:{if(i>>>0>=a>>>0){break h}if(!j){while(1){a=a>>>1|0;h=f+a|0;e=O[h|0]<<16|O[h+1|0];if((e|0)!=(c|0)){f=c>>>0>e>>>0?h:f;if(a>>>0>i>>>0){continue}break h}break}a=h+2|0;break d}while(1){a=a>>>1|0;h=f+a|0;e=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((e|0)==(c|0)){break g}f=c>>>0>e>>>0?h:f;if(a>>>0>i>>>0){continue}break}}a=O[f+1|0];i=O[f|0];i:{if(j){i=O[f+3|0]|(a<<16|i<<24|O[f+2|0]<<8);a=f+4|0;break i}i=a|i<<16;a=f+2|0}if((c|0)==(i|0)){break d}break c}a=h+4|0}c=O[a|0];if(k){c=(O[a+1|0]|c<<8)<<16>>16}N[d>>2]=M[b+6>>1]+c}if(N[g+20>>2]){a=N[g>>2];if(a){b=N[g+28>>2];Qa[N[b+8>>2]](b,a)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;f=0}return f|0}function Th(a){var 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;d=N[a>>2];a:{if(O[d+732|0]){break a}L[a+112|0]=0;f=N[a+16>>2];i=N[a+12>>2];N[a+48>>2]=i;N[a+52>>2]=f;f=N[a+24>>2];N[a+56>>2]=N[a+20>>2];N[a+60>>2]=f;c=N[a+32>>2];f=a- -64|0;N[f>>2]=N[a+28>>2];N[f+4>>2]=c;N[a+72>>2]=N[a+36>>2];c=151;j=i&65535;if(!j){break a}f=P[a+50>>1];if(!f){break a}b:{c:{d:{if(O[d+176|0]&8){e=N[a+56>>2];c=e>>31;h=M[d+70>>1];b=h>>31;c=(c^e)-c|0;k=c>>>8|0;b=(b^h)-b|0;e:{if(k+b>>>0<=8190){g=T(c,b)+32768>>>16|0;break e}g=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}b=g;l=0-b|0;b=h>>31|1;N[a+60>>2]=((((e|0)<0?0-b|0:b)|0)<0?l:g)+32&-64;l=a- -64|0;h=M[d+72>>1];b=h>>31;b=(b^h)-b|0;f:{if(b+k>>>0<=8190){g=T(c,b)+32768>>>16|0;break f}g=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}b=g;m=0-b|0;b=h>>31|1;N[l>>2]=((((e|0)<0?0-b|0:b)|0)<0?m:g)+32&-64;h=M[d+74>>1];b=h>>31;b=(b^h)-b|0;if(b+k>>>0>8190){break d}b=T(c,b)+32768>>>16|0;break c}L[a+112|0]=1;break b}b=T(b,c>>>16|0)+(T(b,c&65535)+32768>>>16|0)|0}c=b;L[a+112|0]=1;g=0-c|0;c=h>>31|1;N[a+68>>2]=((((e|0)<0?0-c|0:c)|0)<0?g:b)+32&-64;e=P[d+68>>1];c=fb(j<<6,e);N[a+52>>2]=c;n=a,o=fb(f<<6,e),N[n+56>>2]=o;b=M[d+76>>1];e=b>>31;e=(b^e)-e|0;d=c>>31;d=(d^c)-d|0;g:{if(e+(d>>>8|0)>>>0<=8190){g=T(d,e)+32768>>>16|0;break g}g=T(e,d>>>16|0)+(T(e,d&65535)+32768>>>16|0)|0}d=g;e=0-d|0;d=b>>31|1;N[a+72>>2]=((((c|0)<0?0-d|0:d)|0)<0?e:g)+32&-64}e=a+48|0;h:{if(f>>>0<=(i&65535)>>>0){c=a+52|0;d=fb(f,j);f=65536;break h}c=a+56|0;d=65536;i=f;f=fb(j,f)}c=N[c>>2];M[a+84>>1]=i;N[a+92>>2]=c;N[a+80>>2]=d;N[a+76>>2]=f;N[a+308>>2]=-1;N[a+44>>2]=e;c=0}return c}function af(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=N[a+532>>2];if(c){d=N[a+100>>2];e=N[c>>2];h=N[c+4>>2];b=N[c+24>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+24>>2]=0;if(e>>>0>=2){C(c+28|0,0,(e<<2)-4|0)}b=N[c+216>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+216>>2]=0;b=N[c+148>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+148>>2]=0;b=N[c+288>>2];if(b){Qa[N[d+8>>2]](d,b)}b=0;N[c+288>>2]=0;a:{if(!e){break a}if(e>>>0>=4){l=e&-4;i=c+212|0;g=c+144|0;j=c+284|0;while(1){f=b<<2;N[f+i>>2]=0;N[f+g>>2]=0;N[f+j>>2]=0;k=f|4;N[k+i>>2]=0;N[g+k>>2]=0;N[j+k>>2]=0;k=f|8;N[k+i>>2]=0;N[g+k>>2]=0;N[j+k>>2]=0;f=f|12;N[f+i>>2]=0;N[f+g>>2]=0;N[f+j>>2]=0;b=b+4|0;if((l|0)!=(b|0)){continue}break}}i=e&3;if(!i){break a}e=0;while(1){f=c+(b<<2)|0;N[f+284>>2]=0;N[f+144>>2]=0;N[f+212>>2]=0;b=b+1|0;e=e+1|0;if((i|0)!=(e|0)){continue}break}}b=N[c+136>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+136>>2]=0;N[c+140>>2]=0;b:{if(!h){break b}b=0;c:{if((h|0)!=1){f=h&1;i=h&-2;e=0;while(1){g=b<<2;j=g+c|0;k=N[j+8>>2];if(k){Qa[N[d+8>>2]](d,k)}N[j+8>>2]=0;g=c+(g|4)|0;j=N[g+8>>2];if(j){Qa[N[d+8>>2]](d,j)}N[g+8>>2]=0;b=b+2|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}if(!f){break c}}b=c+(b<<2)|0;e=N[b+8>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+8>>2]=0}c=c+88|0;b=0;if((h|0)!=1){f=h&1;i=h&-2;e=0;while(1){h=c+T(b,12)|0;g=N[h+4>>2];if(g){Qa[N[d+8>>2]](d,g)}N[h+4>>2]=0;L[h|0]=0;h=c+T(b|1,12)|0;g=N[h+4>>2];if(g){Qa[N[d+8>>2]](d,g)}N[h+4>>2]=0;L[h|0]=0;b=b+2|0;e=e+2|0;if((i|0)!=(e|0)){continue}break}if(!f){break b}}c=c+T(b,12)|0;b=N[c+4>>2];if(b){Qa[N[d+8>>2]](d,b)}N[c+4>>2]=0;L[c|0]=0}c=N[a+532>>2];if(c){Qa[N[d+8>>2]](d,c)}N[a+532>>2]=0}}function gd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{d=O[b|0]|O[b+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=c>>>0){break a}d=O[b|0]|O[b+1|0]<<8;g=(d<<8|d>>>8)&65535;if(g>>>0>=c>>>0){b:{h=b+3|0;e=O[b+2|0];b=h+T(e,c)|0;c:{d:{switch(e-1|0){case 0:f=O[b|0];break c;case 1:d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;break c;case 2:f=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break c;case 3:break d;default:break c}}d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if(c>>>0>=g>>>0){break b}d=T(e,c+1|0)+h|0;c=0;e:{f:{switch(e-1|0){case 0:c=O[d|0];break e;case 1:c=O[d|0]|O[d+1|0]<<8;c=(c<<8|c>>>8)&65535;break e;case 2:c=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break e;case 3:break f;default:break e}}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}if(c>>>0>>0){break a}d=T(e,g)+h|0;g:{h:{switch(e-1|0){case 0:i=O[d|0];break g;case 1:d=O[d|0]|O[d+1|0]<<8;i=(d<<8|d>>>8)&65535;break g;case 2:i=O[d+2|0]|(O[d+1|0]<<8|O[d|0]<<16);break g;case 3:break h;default:break g}}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);i=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((c|0)==(f|0)|c>>>0>i>>>0){break a}d=c-f|0;f=T(e,g+1|0)+h|0;c=0;i:{j:{switch(e-1|0){case 0:c=O[b|0];break i;case 1:b=O[b|0]|O[b+1|0]<<8;c=(b<<8|b>>>8)&65535;break i;case 2:c=O[b+2|0]|(O[b+1|0]<<8|O[b|0]<<16);break i;case 3:break j;default:break i}}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}N[a+8>>2]=0;N[a+4>>2]=d;N[a>>2]=(c+f|0)-1;return}}ba(8966,14180,149,9745);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function Ne(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;j=1;a:{if(!O[a|0]){break a}j=0;if((c|0)==-1|(b|0)==-1|b>>>0>c>>>0){break a}N[a+4>>2]=-1;h=wc(a,b);k=c>>>9|0;l=b>>>9|0;b:{if((k|0)==(l|0)){if(!h){break a}g=-1;f=-1;a=b&63;d=a&31;if((a&63)>>>0>=32){a=-1<>>32-d}b=b>>>6&7;d=(b<<3)+h|0;i=b;b=c>>>6&7;c:{if((i|0)==(b|0)){g=e;f=a;b=d;break c}a=a|N[d+4>>2];N[d>>2]=e|N[d>>2];N[d+4>>2]=a;b=(b<<3)+h|0;a=d+8|0;if((b|0)==(a|0)){b=a;break c}C(a,255,b-a|0)}a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<>>32-c;c=2<>>0>=32){d=-1<>>32-e;e=-1<>>6&7;e=(b<<3)+h|0;d:{if((b|0)==7){g=i;f=d;b=e;break d}d=d|N[e+4>>2];N[e>>2]=i|N[e>>2];N[e+4>>2]=d;b=h+56|0;d=e+8|0;if((b|0)==(d|0)){break d}C(d,255,b-d|0)}f=f|N[b+4>>2];N[b>>2]=g|N[b>>2];N[b+4>>2]=f;f=l+1|0;if(k>>>0>f>>>0){while(1){b=wc(a,f<<9);if(!b){break a}N[b>>2]=-1;N[b+4>>2]=-1;N[b+56>>2]=-1;N[b+60>>2]=-1;N[b+48>>2]=-1;N[b+52>>2]=-1;N[b+40>>2]=-1;N[b+44>>2]=-1;N[b+32>>2]=-1;N[b+36>>2]=-1;N[b+24>>2]=-1;N[b+28>>2]=-1;N[b+16>>2]=-1;N[b+20>>2]=-1;N[b+8>>2]=-1;N[b+12>>2]=-1;f=f+1|0;if((k|0)!=(f|0)){continue}break}}b=wc(a,c);if(!b){break a}f=c>>>6&7;e:{if(!f){break e}a=b;N[b>>2]=-1;N[b+4>>2]=-1;b=b+(f<<3)|0;a=a+8|0;if((b|0)==(a|0)){break e}C(a,255,(f<<3)-8|0)}a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<>>32-c;g=2<>2];e=N[b+4>>2];a=a+f|0;c=c+g|0;a=c>>>0>>0?a+1|0:a;N[b>>2]=c|d;N[b+4>>2]=a|e;j=1}return j}function Fj(a,b,c,d){var 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,t=0,u=0,v=0;m=La-176|0;La=m;if(ib(c,b,12581,0)){if(O[c+16|0]&64){wb(c,2,0,-1,1,0)}e=Ec(m+12|0,1,b,c);N[e+132>>2]=d;N[e+140>>2]=8;N[e+32>>2]=0;N[e+8>>2]=e;N[e+24>>2]=0;N[e+28>>2]=0;L[e+21|0]=O[e+150|0];N[e+12>>2]=8;N[e+72>>2]=0;N[e+48>>2]=e;i=O[e+151|0];L[e+22|0]=i;N[e+16>>2]=d;f=e- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[e+52>>2]=8;L[e+61|0]=1;f=N[e+84>>2]==1;L[e+20|0]=f;L[e+60|0]=f|O[e+149|0]!=0;L[e+62|0]=i;N[e+56>>2]=-1;r=N[c+68>>2];if(r){p=e+4|0;k=N[c+88>>2];s=N[c+80>>2];v=(N[c+40>>2]&-2)!=4;i=0;while(1){a:{b:{n=T(i,20);h=n+s|0;if(!(N[h+4>>2]&d)){break b}N[e+36>>2]=1;N[e+4>>2]=i;f=N[N[e+8>>2]+96>>2];N[e+40>>2]=N[f+68>>2];L[e+23|0]=O[e+22|0]?N[f+64>>2]==(i|0)?O[(n+N[f+80>>2]|0)+15|0]:0:0;if(!kc(p,m+8|0)){break b}t=N[p>>2];l=T(t,20);g=N[l+s>>2];h=N[h>>2];u=N[a>>2];f=N[u>>2];q=N[f+100>>2];j=N[f+96>>2];o=N[j+12>>2];c:{if((N[u+4>>2]&-2)==4){j=N[j- -64>>2];if(!o){f=Qa[j|0](f,q,h,g,0)|0;break c}f=Qa[j|0](f,q,h,g,N[o+44>>2])|0;break c}j=N[j+68>>2];f=Qa[j|0](f,q,h,g,o?N[o+48>>2]:0)|0}if(f){g=O[a+4|0];d:{if(!v){if(g){N[(k+l|0)+12>>2]=f;N[c+144>>2]=N[c+144>>2]|8;break d}g=k+n|0;h=f>>1;N[g>>2]=h+N[g>>2];g=k+l|0;f=f-h|0;N[g>>2]=f+N[g>>2];N[g+8>>2]=f+N[g+8>>2];break d}if(g){N[(k+l|0)+8>>2]=f;N[c+144>>2]=N[c+144>>2]|8;break d}g=k+n|0;h=f>>1;N[g+4>>2]=h+N[g+4>>2];g=k+l|0;f=f-h|0;N[g+4>>2]=f+N[g+4>>2];N[g+12>>2]=f+N[g+12>>2]}Sc(c,i,t+1|0)}i=N[p>>2];break a}i=i+1|0}if(r>>>0>i>>>0){continue}break}}ib(c,b,12662,0);_a(N[e+112>>2])}La=m+176|0}function xt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;h=N[b+28>>2];a:{d=Qa[N[a+516>>2]](a,1734439792,b,0)|0;b:{if(d){break b}c=N[b+4>>2];c:{if(N[b+20>>2]){d=85;if(c>>>0<4){break b}d:{e:{c=N[b+28>>2];d=Qa[N[c+4>>2]](c,4)|0;if(d){N[b>>2]=d;e=Qa[N[b+20>>2]](b,N[b+8>>2],d,4)|0;f=N[b>>2];if(e>>>0<=3){break e}d=0;break d}N[b>>2]=0;return 64}if(f){Qa[N[c+8>>2]](c,f)}f=0;N[b>>2]=0;d=85}N[b+32>>2]=f;g=f?f+4|0:0;N[b+36>>2]=g;N[b+8>>2]=e+N[b+8>>2];c=f;if(e>>>0>=4){break c}break b}d=85;e=N[b+8>>2];if(e>>>0>=c>>>0|c-e>>>0<4){break b}N[b+8>>2]=e+4;f=N[b>>2];c=e+f|0;N[b+32>>2]=c;g=c+4|0;N[b+36>>2]=g}e=0;f:{if(c+1>>>0>=g>>>0){d=0;break f}d=O[c|0]|O[c+1|0]<<8;d=d<<8|d>>>8;c=c+2|0}N[b+32>>2]=c;M[a+560>>1]=d;if(c+1>>>0>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;M[a+562>>1]=e;if(N[b+20>>2]){if(f){c=N[b+28>>2];Qa[N[c+8>>2]](c,f);d=P[a+560>>1]}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if((d&65535)>>>0>=2){M[a+562>>1]=0;return 8}f=P[a+562>>1];g:{if(!f){d=f<<2;c=0;break g}d=f<<2;c=Qa[N[h+4>>2]](h,d)|0;if(!c){break a}C(c,0,d)}N[a+564>>2]=c;d=Bb(b,d);if(d){break b}if(f){g=N[a+564>>2];a=N[b+32>>2];e=N[b+36>>2];d=0;while(1){h:{if(e>>>0<=a+1>>>0){c=0;break h}c=O[a|0]|O[a+1|0]<<8;c=c<<8|c>>>8;a=a+2|0}N[b+32>>2]=a;h=g+(d<<2)|0;M[h>>1]=c;c=0;if(e>>>0>a+1>>>0){c=O[a|0]|O[a+1|0]<<8;c=c<<8|c>>>8;a=a+2|0}N[b+32>>2]=a;M[h+2>>1]=c;d=d+1|0;if((f|0)!=(d|0)){continue}break}}if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;d=0}return d|0}N[a+564>>2]=0;return 64}function pf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(e){N[e>>2]=-1}l=(c|0)==-21;m=l?b-21|0:b;n=(c|0)>0?c:0;g=N[a+8>>2];a:{h=N[a>>2];b:{c:{if(h){b=g;while(1){if(!(N[b>>2]!=(m|0)|N[b+4>>2]!=(n|0))){h=f;break c}b=b+12|0;f=f+1|0;if((h|0)!=(f|0)){continue}break}}j=N[a+4>>2];k=h+1|0;d:{if(j>>>0>=k>>>0){b=g;break d}i=(h&-8)+8|0;if((i|j)<0){return 6}e:{f:{g:{if(!i){b=0;if(!g){break g}Qa[N[d+8>>2]](d,g);N[a+8>>2]=0;break e}f=10;if((i|0)>178956970){break b}h:{if(!j){b=Qa[N[d+4>>2]](d,T(i,12))|0;f=!b<<6;break h}f=Qa[N[d+12>>2]](d,T(j,12),T(i,12),g)|0;b=f?f:g;f=!f<<6}if(f|(i|0)<=(j|0)|!b){break f}C(T(j,12)+b|0,0,T(i-j|0,12))}N[a+8>>2]=b;break e}N[a+8>>2]=b;if(f){break b}}N[a+4>>2]=i}N[a>>2]=k;N[(T(k,12)+b|0)-12>>2]=m;b=T(h,12)+b|0;N[b+8>>2]=c>>31&(l?3:1);N[b+4>>2]=n}b=N[a+12>>2];i:{j:{if(!b){k:{if(N[a+16>>2]){b=N[a+20>>2];break k}b=Qa[N[d+4>>2]](d,128)|0;if(!b){break a}C(b,0,128);N[a+16>>2]=8;N[a+20>>2]=b}N[b>>2]=0;N[b+12>>2]=0;N[a+12>>2]=1;break j}b=(N[a+20>>2]+(b<<4)|0)-16|0;if(Q[b>>2]>h>>>0){break i}}a=h+8>>>3|0;i=N[b+4>>2]+7|0;g=i>>>3|0;if(a>>>0>g>>>0){f=N[b+8>>2];l:{m:{c=a+7&1073741816;n:{if(!c){a=0;if(!f){break n}Qa[N[d+8>>2]](d,f);N[b+8>>2]=0;break l}o:{if(i>>>0<=7){a=Qa[N[d+4>>2]](d,c)|0;f=!a<<6;break o}d=Qa[N[d+12>>2]](d,g,c,f)|0;a=d?d:f;f=!d<<6}if(f|c>>>0<=g>>>0|!a){break m}C(a+g|0,0,c-g|0)}N[b+8>>2]=a;break l}N[b+8>>2]=a;if(f){break b}}N[b+4>>2]=c<<3}N[b>>2]=h+1}a=N[b+8>>2]+(h>>>3|0)|0;L[a|0]=O[a|0]|128>>>(h&7);f=0;if(!e){break b}N[e>>2]=h}return f}N[a+20>>2]=0;return 64}function dw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=N[a+712>>2];if(!c){return 0}e=N[c+3092>>2];a:{if(!e){a=N[a+100>>2];e=Qa[N[a+4>>2]](a,32)|0;h=!e<<6;if(!e){break a}d=N[c+1372>>2];f=0;b:{if((d|0)==65535){break b}if(d>>>0>=391){d=d-391|0;f=0;if(d>>>0>=Q[c+1356>>2]){break b}f=N[N[c+1360>>2]+(d<<2)>>2];break b}a=N[c+3084>>2];f=0;if(!a){break b}f=Qa[N[a+20>>2]](d)|0}N[e>>2]=f;a=N[c+1376>>2];c:{if((a|0)==65535){break c}if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[c+1356>>2]){break c}g=N[N[c+1360>>2]+(a<<2)>>2];break c}d=N[c+3084>>2];if(!d){break c}g=Qa[N[d+20>>2]](a)|0}N[e+4>>2]=g;g=0;d=N[c+1384>>2];f=0;d:{if((d|0)==65535){break d}if(d>>>0>=391){d=d-391|0;f=0;if(d>>>0>=Q[c+1356>>2]){break d}f=N[N[c+1360>>2]+(d<<2)>>2];break d}a=N[c+3084>>2];f=0;if(!a){break d}f=Qa[N[a+20>>2]](d)|0}N[e+8>>2]=f;a=N[c+1388>>2];e:{if((a|0)==65535){break e}if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[c+1356>>2]){break e}g=N[N[c+1360>>2]+(a<<2)>>2];break e}d=N[c+3084>>2];if(!d){break e}g=Qa[N[d+20>>2]](a)|0}N[e+12>>2]=g;a=0;g=N[c+1392>>2];f:{if((g|0)==65535){break f}if(g>>>0>=391){g=g-391|0;if(g>>>0>=Q[c+1356>>2]){break f}a=N[N[c+1360>>2]+(g<<2)>>2];break f}d=N[c+3084>>2];if(!d){break f}a=Qa[N[d+20>>2]](g)|0}N[e+16>>2]=a;N[e+20>>2]=N[c+1400>>2];L[e+24|0]=O[c+1396|0];M[e+26>>1]=N[c+1404>>2];M[e+28>>1]=N[c+1408>>2];N[c+3092>>2]=e}a=N[e+4>>2];N[b>>2]=N[e>>2];N[b+4>>2]=a;a=N[e+28>>2];N[b+24>>2]=N[e+24>>2];N[b+28>>2]=a;a=N[e+20>>2];N[b+16>>2]=N[e+16>>2];N[b+20>>2]=a;a=N[e+12>>2];N[b+8>>2]=N[e+8>>2];N[b+12>>2]=a}return h|0}function kk(a,b){var 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;k=La-32|0;La=k;e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}e=(e<<8|e>>>8)&65535;c=N[b+132>>2];h=N[b+96>>2];i=N[h+80>>2];c=(c&N[(i+T(N[h+64>>2],20)|0)+4>>2])>>>SE(c)|0;b:{if((c|0)!=255){break b}c=255;if(!O[b+152|0]){break b}l=N[h+68>>2];c:{if(l>>>0<2){break c}j=N[h+144>>2]|32;N[h+144>>2]=j;m=l&3;d:{if(l>>>0<4){c=-1;break d}f=l&-4;c=-1;while(1){g=N[(T(d,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|1,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|2,20)+i|0)+8>>2];c=c>>>0>>0?c:g;g=N[(T(d|3,20)+i|0)+8>>2];c=c>>>0>>0?c:g;d=d+4|0;if((f|0)!=(d|0)){continue}break}}if(m){while(1){d=N[(T(f,20)+i|0)+8>>2];c=c>>>0>>0?c:d;f=f+1|0;n=n+1|0;if((m|0)!=(n|0)){continue}break}}m=l&-2;d=0;while(1){f=T(d,20)+i|0;if(N[f+8>>2]!=(c|0)){j=j|32;N[h+144>>2]=j;N[f+4>>2]=N[f+4>>2]|3}f=T(d|1,20)+i|0;if(N[f+8>>2]!=(c|0)){j=j|32;N[h+144>>2]=j;N[f+4>>2]=N[f+4>>2]|3}d=d+2|0;if((m|0)!=(d|0)){continue}break}if(!(l&1)){break c}n=c;c=T(d,20)+i|0;if((n|0)==N[c+8>>2]){break c}N[h+144>>2]=j|32;N[c+4>>2]=N[c+4>>2]|3}c=(T(N[b+156>>2],48271)>>>0)%2147483647|0;N[b+156>>2]=c;c=((c>>>0)%(e>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=e>>>0){break a}if(N[h+156>>2]){zc(h);e=N[b+88>>2];d=N[b+96>>2];N[k+16>>2]=N[d+64>>2];ib(d,e,23049,k+16|0);e=O[a|0]|O[a+1|0]<<8;e=(e<<8|e>>>8)&65535}a=c>>>0>=e>>>0?275552:((c<<1)+a|0)+2|0;a=O[a|0]|O[a+1|0]<<8;Pe(b,(a<<8|a>>>8)&65535);o=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[k>>2]=N[a+64>>2]-1;ib(a,b,23096,k)}La=k+32|0;return o}function gh(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,o=0,p=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;e=1;if((f|0)<=0){break a}g=O[a|0]|O[a+1|0]<<8;b:{if(!g){break b}e=a+2|0;if(e>>>0>d>>>0){break a}h=d-e|0;d=(g<<8|g>>>8)&65535;e=d<<2;if(h>>>0>>0){break a}f=f-e|0;N[b+12>>2]=f;e=0;if((f|0)<=0){break b}p=d>>>0<=1?1:d;n=N[c>>2];while(1){j=N[b+4>>2];e=((k<<2)+a|0)+2|0;if(j>>>0>e>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<4){break a}g=N[b+12>>2];d=g-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);c:{if(!d){break c}if(d&128){break a}d=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+n|0;d:{if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<6){break d}h=g-10|0;N[b+12>>2]=h;if((h|0)<=0){break d}h=d+4|0;if(h>>>0>f>>>0|f-h>>>0<2){break d}g=g-12|0;N[b+12>>2]=g;if((g|0)<=0){break d}i=O[h|0]|O[h+1|0]<<8;l=(i<<8|i>>>8)&65535;m=l<<1;if(i){i=d+6|0;if(i>>>0>f>>>0|f-i>>>0>>0){break d}g=g-m|0;N[b+12>>2]=g;if((g|0)<=0){break d}}i=O[d+2|0]|O[d+3|0]<<8;o=(i&65407)<<8|i>>>8;if((o&32767)>>>0>l>>>0){break d}d=O[d|0]|O[d+1|0]<<8;d=UE((d<<8|d>>>8)&65535,0,(o&65535)+l<<(i>>>7&1),0);if(Pa){break d}if(!d){break c}h=(h+m|0)+2|0;if(h>>>0>>0|f>>>0>>0|d>>>0>f-h>>>0){break d}d=g-d|0;N[b+12>>2]=d;if((d|0)>0){break c}}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;n=N[c>>2]}e=1;k=k+1|0;if((p|0)!=(k|0)){continue}break}}return e}return 0}function qf(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!(O[(T(c,9804)+b|0)+256|0]|!(a&4))){h=d>>31;h=(h^d)-h|0;a:{b:{c:{if((c|0)==1){if(a&2){break c}if(!(g&2)|h>>>0>=192){break b}f=h;break a}if(!(a&1)){break b}}d:{e:{f:{g:{h:{i:{e=T(c,9804)+b|0;b=N[e+52>>2];if(b){e=e+56|0;if((b|0)!=1){break i}f=98;g=h;break h}b=h+32&2147483584;g=h;break f}p=b&1;i=b&-2;f=98;b=0;g=h;while(1){n=N[(e+T(b|1,12)|0)+4>>2];j=h-n|0;k=j>>31;o=N[(e+T(b,12)|0)+4>>2];l=h-o|0;m=l>>31;l=(m^l)-m|0;m=(l|0)<(f|0);j=(k^j)-k|0;f=m?l:f;k=(j|0)<(f|0);f=k?j:f;g=k?n:m?o:g;b=b+2|0;if((i|0)!=(b|0)){continue}break}if(!p){break g}}e=N[(e+T(i,12)|0)+4>>2];i=h-e|0;b=i>>31;g=((b^i)-b|0)<(f|0)?e:g}b=g+32&-64;if((g|0)>(h|0)){break e}}b=(h|0)<(b|48)?g:h;break d}b=(h|0)>(b-48|0)?g:h}if((c|0)==1){f=64;if((b|0)<64){break a}f=b+16&-64;break a}if(a&8){f=64;if((b|0)<64){break a}f=b+32&-64;break a}if((b|0)<=47){f=b- -64>>1;break a}if(b>>>0<=127){f=b+22&-64;b=f-h|0;a=b>>31;if((a^b)-a>>>0<16){break a}if(h>>>0>47){f=h;break a}f=h- -64>>>1|0;break a}f=b+32&-64;break a}f=f&1?h>>>0<80?64:h:(h|0)<=56?56:h;a=T(c,9804)+b|0;if(!N[a+52>>2]){break a}a=N[a+60>>2];g=f-a|0;c=g>>31;if((c^g)-c>>>0<=39){f=(a|0)<=48?48:a;break a}if(f>>>0<=191){a=f&63;if(a>>>0<10){break a}b=f&2147483584;if(a>>>0<=31){f=b|10;break a}f=a>>>0<54?b|54:f;break a}a=0;j:{if(!((d|0)>0&(e|0)>0)&(d&e)>=0){break j}b=P[N[N[b+4>>2]+88>>2]+12>>1];if(b>>>0>=10){if(b>>>0>29){break j}e=(T(30-b|0,e)|0)/20|0}a=e>>31;a=a-(a^e)|0}f=(a+f|0)+32&-64}d=(d|0)<0?0-f|0:f}return d}function Vp(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;d=N[a>>2];e=d+1|0;a:{if(e>>>0>c>>>0){break a}N[a>>2]=e;e=L[d|0];j=e&255;if((e|0)<0){e=d+2|0;if(e>>>0>c>>>0){break a}N[a>>2]=e;j=O[d+1|0]|j<<8&32512}d=N[b>>2];if((d|0)<0){break a}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(j>>>0>=d>>>0){continue}break}b:{if(d>>>0<=1073741823){e=$a(N[b+8>>2],d<<2);if(e){break b}}N[b>>2]=-1;return 0}N[b>>2]=d;N[b+8>>2]=e}N[b+4>>2]=j;if(j){e=N[a>>2];while(1){f=k;d=e+1|0;if(d>>>0>c>>>0){break a}N[a>>2]=d;g=O[e|0];m=g&127;l=m+1|0;k=l+f|0;if(k>>>0>j>>>0){break a}c:{if(g<<24>>24<0){if((l<<1)+d>>>0>c>>>0){break a}d:{if(!(l&1)){e=d;break d}d=O[e+1|0]|O[e+2|0]<<8;h=((d<<8|d>>>8)&65535)+h|0;N[N[b+8>>2]+(f<<2)>>2]=h;e=e+3|0;N[a>>2]=e;f=f+1|0}if(!m){break c}while(1){i=f<<2;d=O[e|0]|O[e+1|0]<<8;g=((d<<8|d>>>8)&65535)+h|0;N[i+N[b+8>>2]>>2]=g;N[a>>2]=e+2;d=O[e+2|0]|O[e+3|0]<<8;h=g+((d<<8|d>>>8)&65535)|0;N[(i+N[b+8>>2]|0)+4>>2]=h;e=e+4|0;N[a>>2]=e;f=f+2|0;if((k|0)!=(f|0)){continue}break}break c}if(d+l>>>0>c>>>0){break a}i=0;g=l&3;if(g){while(1){e=d+1|0;N[a>>2]=e;h=O[d|0]+h|0;N[N[b+8>>2]+(f<<2)>>2]=h;f=f+1|0;d=e;i=i+1|0;if((g|0)!=(i|0)){continue}break}}if(m>>>0<3){break c}while(1){N[a>>2]=d+1;i=f<<2;e=O[d|0]+h|0;N[i+N[b+8>>2]>>2]=e;N[a>>2]=d+2;e=e+O[d+1|0]|0;N[(i+N[b+8>>2]|0)+4>>2]=e;N[a>>2]=d+3;g=e+O[d+2|0]|0;N[(i+N[b+8>>2]|0)+8>>2]=g;e=d+4|0;N[a>>2]=e;h=g+O[d+3|0]|0;N[(i+N[b+8>>2]|0)+12>>2]=h;d=e;f=f+4|0;if((k|0)!=(f|0)){continue}break}}if(j>>>0>k>>>0){continue}break}}n=1}return n}function If(a,b,c){var d=0,e=0,f=0,g=0,h=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}d=N[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<2){return 0}f=N[b+12>>2];e=f-2|0;N[b+12>>2]=e;g=1;if((e|0)<=0){return 0}e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}e=((e<<8|e>>>8)&65535)+c|0;b:{if(e>>>0>>0|d>>>0>>0){break b}c=d-e|0;if(c>>>0<2){break b}d=f-4|0;N[b+12>>2]=d;if((d|0)<=0){break b}c:{d:{e:{d=O[e|0]|O[e+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 2:break d;case 0:break e;default:break a}}if(c>>>0<6){break b}c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break b}break a}f:{g:{if(e>>>0>2]){break g}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<10){break g}f=N[b+12>>2];c=f-10|0;N[b+12>>2]=c;if((c|0)<=0){break g}c=e+6|0;if(c>>>0>d>>>0|d-c>>>0<2){break g}d=f-12|0;N[b+12>>2]=d;if((d|0)<=0){break g}d=O[c|0]|O[c+1|0]<<8;h:{if(!d){break h}if(Id(e+((d<<8|d>>>8)&65535)|0,b)){break h}d=N[b+28>>2];if(d>>>0>31){break g}N[b+28>>2]=d+1;if(!O[b+24|0]){break g}L[c|0]=0;L[c+1|0]=0}d=e+8|0;if(d>>>0>2]){break g}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break g}f=N[b+12>>2]-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break g}f=O[d|0]|O[d+1|0]<<8;i:{if(!f){break i}if(Id(e+((f<<8|f>>>8)&65535)|0,b)){break i}c=N[b+28>>2];if(c>>>0>31){break g}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break i}L[d|0]=0;L[d+1|0]=0;c=1}break f}c=0}if(!c){break b}break a}if(c>>>0<8){break b}c=f-12|0;N[b+12>>2]=c;if((c|0)>0){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;g=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;g=1}return g}function vB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=La-48|0;La=i;h=N[a+8>>2];e=6;a:{b:{c:{d:{if(N[b+72>>2]!=N[a+16>>2]){break d}e=19;if((c|0)!=2){break a}c=N[b+156>>2];e=N[c+4>>2];if(e&1){g=N[b+88>>2];if(g){Qa[N[h+8>>2]](h,g);c=N[b+156>>2];e=N[c+4>>2]}N[b+88>>2]=0;N[c+4>>2]=e&-2}e=98;c=0;if(kg(b,2,d)){break c}e:{g=N[b+84>>2];c=N[b+76>>2];if((g|c)<0){e=6;break e}e=0;f:{g:{if(!(!g|!c)){e=10;if((c|0)>(2147483647/(g>>>0)|0)){break e}f=T(c,g);e=Qa[N[h+4>>2]](h,f)|0;if(!e|(c|0)<=0){break g}C(e,0,f)}N[b+88>>2]=e;break f}N[b+88>>2]=e;if(e){break f}e=!e<<6;f=0;break d}c=N[b+156>>2];N[c+4>>2]=N[c+4>>2]|1;f=N[b+76>>2]-N[b+104>>2]<<6;c=0-(N[b+100>>2]<<6)|0;if(d){f=N[d+4>>2]+f|0;c=N[d>>2]+c|0}d=b+108|0;if(c|f){te(d,c,f)}e=0;N[i+8>>2]=0;N[i+4>>2]=d;N[i>>2]=b+76;a=Qa[N[a+56>>2]](N[a+52>>2],i)|0;if(a){e=a;break c}N[b+72>>2]=1651078259;break b}N[b+88>>2]=0}c=0}a=N[b+156>>2];d=N[a+4>>2];if(!(d&1)){break b}g=N[b+88>>2];if(g){Qa[N[h+8>>2]](h,g);a=N[b+156>>2];d=N[a+4>>2]}N[b+88>>2]=0;N[a+4>>2]=d&-2}if(!(c|f)){break a}d=M[b+110>>1];if((d|0)<=0){break a}b=N[b+112>>2];if(d>>>0>=4){h=d&-4;a=0;while(1){N[b>>2]=N[b>>2]-c;N[b+4>>2]=N[b+4>>2]-f;N[b+8>>2]=N[b+8>>2]-c;N[b+16>>2]=N[b+16>>2]-c;N[b+24>>2]=N[b+24>>2]-c;N[b+12>>2]=N[b+12>>2]-f;N[b+20>>2]=N[b+20>>2]-f;N[b+28>>2]=N[b+28>>2]-f;b=b+32|0;a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=d&3;if(!d){break a}a=0;while(1){N[b>>2]=N[b>>2]-c;N[b+4>>2]=N[b+4>>2]-f;b=b+8|0;a=a+1|0;if((d|0)!=(a|0)){continue}break}}La=i+48|0;return e|0}function jq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=U(0);if(!O[a+4442|0]){c=N[a+4416>>2];b=O[c+8|0]|O[c+9|0]<<8;i=(b<<8|b>>>8)&65535;b=N[a+4424>>2];if(i>>>0>b>>>0){b=(c+(b<<2)|0)+10|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=(c+2|0)+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}d=O[b+4|0]|O[b+5|0]<<8;b=(d<<8|d>>>8)&65535;N[a+4420>>2]=b;a:{if(!O[a+4440|0]){break a}b:{c:{e=N[a+4428>>2];if((e|0)>=0){if(b>>>0<=e>>>0){break b}while(1){e=((e>>>1|0)+e|0)+8|0;if(b>>>0>=e>>>0){continue}break}if(e>>>0<=1073741823){c=$a(N[a+4436>>2],e<<2);if(c){break c}}N[a+4428>>2]=-1}N[a+8>>2]=N[a+4>>2]+1;break a}N[a+4428>>2]=e;N[a+4436>>2]=c}c=N[a+4432>>2];if(c>>>0>>0){C(N[a+4436>>2]+(c<<2)|0,0,b-c<<2)}N[a+4432>>2]=b;c=N[a+4416>>2];f=N[a+4424>>2];d:{if(!d){N[147456]=0;b=589824;break d}b=N[a+4436>>2]}e=275552;g=c+2|0;d=O[c+8|0]|O[c+9|0]<<8;d=f>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:(c+(f<<2)|0)+10|0;d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(d){e=g+(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))|0}d=N[a+4420>>2];c=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(c){c=g+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0}else{c=275552}f=O[e+4|0]|O[e+5|0]<<8;j=(f<<8|f>>>8)&65535;g=d>>>0>j>>>0?j:d;if(g){k=N[a+4412>>2];i=N[a+4408>>2];f=0;while(1){h=(f<<1)+e|0;h=O[h+6|0]|O[h+7|0]<<8;l=b+(f<<2)|0,m=Mg(c,(h<<8|h>>>8)&65535,i,k,0),R[l>>2]=m;f=f+1|0;if((g|0)!=(f|0)){continue}break}}if(d>>>0<=j>>>0){break a}C(b+(g<<2)|0,0,d-g<<2)}L[a+4442|0]=1}}function Gs(a,b,c){a=a|0;b=b|0;c=c|0;var 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;k=N[a+16>>2];l=N[a+24>>2];f=l+1|0;g=N[a+28>>2];a:{b:{if(f>>>0<=g>>>0){i=N[a+32>>2];break b}N[a+36>>2]=b;if((f|g)<0|(f|0)>536870911){break a}c:{if(!g){i=Qa[N[b+4>>2]](b,f<<2)|0;b=!i<<6;break c}d=N[a+32>>2];b=Qa[N[b+12>>2]](b,g<<2,f<<2,d)|0;i=b?b:d;b=!b<<6}d:{if(!(b|(f|0)<=(g|0)|!i)){C((g<<2)+i|0,0,f-g<<2);N[a+32>>2]=i;break d}N[a+32>>2]=i;if(b){break a}}N[a+28>>2]=f}g=i;if(l){e=k+10|0;while(1){m=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);n=O[e|0];o=O[e+1|0];p=O[e+2|0];e:{f:{g:{b=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break g}d=b+N[a+16>>2]|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);f=d+4|0;j=0;while(1){if(b>>>0<=j>>>0){break g}d=b;b=b+j>>>1|0;h=f+(b<<2)|0;k=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];if(k>>>0>c>>>0){continue}j=b+1|0;b=d;if(O[h+3|0]+k>>>0>>0){continue}break}break f}b=m<<24|(m&65280)<<8|(m>>>8&65280|m>>>24);if(!b){break e}d=b+N[a+16>>2]|0;b=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b){break e}f=d+4|0;j=0;while(1){h:{d=b+j>>>1|0;h=f+T(d,5)|0;k=O[h+1|0]<<8|O[h|0]<<16|O[h+2|0];i:{if(k>>>0>c>>>0){b=d;break i}if(c>>>0<=k>>>0){break h}j=d+1|0}if(b>>>0>j>>>0){continue}break e}break}if(!(O[h+4|0]|O[h+3|0]<<8)){break e}}N[g>>2]=o<<8|n<<16|p;g=g+4|0}e=e+11|0;l=l-1|0;if(l){continue}break}}N[g>>2]=0;j=i}return j|0}function Ou(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;b=N[b>>2];if(!b){return 35}h=6;e=N[b+132>>2];a:{if(!e|Q[b+16>>2]<=c>>>0){break a}h=3;b=c?c-1|0:O[e+106|0];g=P[e+4>>1];c=(g|0)==768;f=T(b,c?6:4)+(c?148:118)|0;b=N[e+8>>2];if(f>>>0>=(b+(c?-4:-2)|0)-2>>>0){break a}k=N[e+160>>2];c=f+k|0;i=O[c|0]|O[c+1|0]<<8;N[a+80>>2]=i;if((g|0)==768){c=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24)}else{c=O[c+2|0]|O[c+3|0]<<8}if(b>>>0<=c>>>0){break a}g=P[e+96>>1];h=0;N[a+100>>2]=0;L[a+94|0]=1;N[a+76>>2]=g;e=P[e+80>>1];N[a+72>>2]=1651078259;N[a+104>>2]=e;j=i<<6;N[a+40>>2]=j;f=g<<6;N[a+28>>2]=f;N[a+24>>2]=j;N[a+32>>2]=0;e=e<<6;N[a+36>>2]=e;e=f-e|0;f=g?f:(T(e,12)|0)/10|0;N[a+52>>2]=f;N[a+48>>2]=(f-e|0)/2;N[a+44>>2]=0-(i<<5);if(d&4194304){break a}h=3;d=N[N[a+4>>2]+100>>2];j=i+7|0;f=j>>>3|0;N[a+84>>2]=f;if(!i){break a}e=b;b=T(f,g);if(e>>>0>>0){break a}b:{if(!g){e=0;break b}e=Qa[N[d+4>>2]](d,b)|0;if(e){break b}N[a+88>>2]=0;return 64}b=c+k|0;N[a+88>>2]=e;if(j&8){c=N[a+76>>2];if((c|0)>0){d=b+c|0;c=e;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(d>>>0>b>>>0){continue}break}}e=e+1|0;d=f-1|0}else{d=f}if((f|0)!=1){while(1){c=N[a+76>>2];c:{if((c|0)<=0){break c}f=b+c|0;c=e;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}c=N[a+76>>2];if((c|0)<=0){break c}f=b+c|0;c=e+1|0;while(1){L[c|0]=O[b|0];c=N[a+84>>2]+c|0;b=b+1|0;if(f>>>0>b>>>0){continue}break}}e=e+2|0;d=d-2|0;if(d){continue}break}}N[N[a+156>>2]+4>>2]=1;h=0}return h|0}function fe(a,b,c,d){var e=0,f=0,g=0;f=a<<8|(a&65280)>>>8;a=(((((f&1)<<1)+d|0)+(f&2)|0)+(a>>>9&2)|0)+(a>>>10&2)|0;a:{b:{if(!(f&16)){d=a;break b}if(a>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=O[a|0]|O[a+1|0]<<8;if(!e){break b}if(Id(((e<<8|e>>>8)&65535)+c|0,b)){break b}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}f=f&65535;c:{if(!(f&32)){a=d;break c}if(Q[b+4>>2]>d>>>0){break a}a=N[b+8>>2];if(a>>>0>>0|a-d>>>0<2){break a}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){break a}a=d+2|0;e=O[d|0]|O[d+1|0]<<8;if(!e){break c}if(Id(((e<<8|e>>>8)&65535)+c|0,b)){break c}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d:{if(!(f&64)){d=a;break d}if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;e=O[a|0]|O[a+1|0]<<8;if(!e){break d}if(Id(((e<<8|e>>>8)&65535)+c|0,b)){break d}e=N[b+28>>2];if(e>>>0>31){break a}N[b+28>>2]=e+1;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}g=1;if(!(f&128)){break a}if(Q[b+4>>2]>d>>>0){return 0}a=N[b+8>>2];if(a>>>0>>0){return 0}if(a-d>>>0<2){return 0}a=N[b+12>>2]-2|0;N[b+12>>2]=a;if((a|0)<=0){return 0}a=O[d|0]|O[d+1|0]<<8;if(!a){break a}if(Id(((a<<8|a>>>8)&65535)+c|0,b)){break a}a=N[b+28>>2];if(a>>>0>31){return 0}N[b+28>>2]=a+1;g=0;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;g=1}return g}function Cf(a,b,c,d){var e=0,f=0,g=0,h=0;if(N[b+24>>2]){return 0}a:{b:{c:{if(Q[b>>2]<=a>>>0){d:{f=N[b+4>>2];if(f>>>0>>0){break c}if(f-a>>>0>=7){break b}e=a+6|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[b+8>>2]-f|0))){break a}if((e|0)!=(f|0)){C(f,0,g);f=N[b+4>>2]}N[b+4>>2]=f+g;g=0;e:{if(!f){break e}d=d<<8|(d&65280)>>>8;L[a+2|0]=d;L[a+3|0]=d>>>8;c=c<<8|(c&65280)>>>8;L[a|0]=c;L[a+1|0]=c>>>8;if(N[b+24>>2]){break e}c=a+4|0;if(c>>>0>2]){break d}d=N[b+4>>2];if(d>>>0>>0){break c}if(d-c>>>0>=3){break b}f=e-d|0;if(!((f|0)>=0&(f|0)<=(N[b+8>>2]-d|0))){break a}if((d|0)!=(e|0)){C(d,0,f);e=N[b+4>>2]}N[b+4>>2]=e+f;if(!e){break e}L[c|0]=0;L[c+1|0]=1;if(N[b+24>>2]){break e}if(c>>>0>2]){break d}e=N[b+4>>2];if(c>>>0>e>>>0){break c}if(e-c>>>0>=5){break b}f=a+8|0;d=f-e|0;if(!((d|0)>=0&(d|0)<=(N[b+8>>2]-e|0))){break a}if((e|0)!=(f|0)){C(e,0,d);e=N[b+4>>2]}d=d+e|0;N[b+4>>2]=d;if(!e){break e}g=1;e=O[a+2|0]|O[a+3|0]<<8;if(!(e&4096)){break e}g=0;if(N[b+24>>2]){break e}if(Q[b>>2]>a>>>0){break d}if(a>>>0>d>>>0){break c}h=d-a|0;f=O[a+4|0]|O[a+5|0]<<8;e=((c+(((f<<8|f>>>8)&65535)<<1)|0)+(e>>>11&2)|0)+2|0;a=e-a|0;if(h>>>0>a>>>0){break b}if((a|0)<0){break e}a=e-d|0;if(!((a|0)>=0&(a|0)<=(N[b+8>>2]-d|0))){break a}if((d|0)!=(e|0)){C(d,0,a);d=N[b+4>>2]}N[b+4>>2]=a+d;if(!d){return 0}g=1;a=O[c|0]|O[c+1|0]<<8;a=c+(((a<<8|a>>>8)&65535)<<1)|0;L[a+2|0]=0;L[a+3|0]=0}return g}}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}N[b+24>>2]=4;return 0}function Xw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=La-80|0;La=l;d=6;i=N[a+532>>2];a:{if(!i){break a}j=N[i+4>>2];if(j){f=i+88|0;g=l+32|0;while(1){h=T(c,12);e=h+g|0;N[e>>2]=N[((c<<2)+i|0)+8>>2];h=f+h|0;m=N[h+4>>2];N[e+4>>2]=N[m>>2];N[e+8>>2]=N[(m+(O[h|0]<<2)|0)-4>>2];c=c+1|0;if((j|0)!=(c|0)){continue}break}}g=N[i>>2];e=0;h=j<<1;f=h+3&-4;c=(f+T(j,24)|0)+20|0;b:{if((c|0)<=0){if(!c){break b}break a}a=N[a+100>>2];e=Qa[N[a+4>>2]](a,c)|0;if(!e){d=64;break a}C(e,0,c)}a=0;N[e+8>>2]=0;N[e+4>>2]=g;N[e>>2]=j;c=e+20|0;c:{if(!j){N[e+16>>2]=0;N[e+12>>2]=c+f;break c}C(c,0,h);N[e+16>>2]=0;f=c+f|0;N[e+12>>2]=f;while(1){c=T(a,24)+f|0;g=(l+24|0)+T(a,12)|0;d=N[g+8>>2];N[c>>2]=d;N[c+4>>2]=N[g+12>>2]<<16;g=N[g+16>>2];N[c+16>>2]=-1;N[c+20>>2]=-1;N[c+12>>2]=g<<16;d:{if(!d){break d}k=2003265652;e:{if(!cb(d,9465)){break e}k=2003072104;if(!cb(d,14033)){break e}if(cb(d,15435)){break d}k=1869640570}N[c+16>>2]=k}a=a+1|0;if((j|0)!=(a|0)){continue}break}Jh(N[i+140>>2],l,N[i+4>>2]);a=0;while(1){h=N[(a<<2)+l>>2];d=T(a,12)+i|0;g=N[d+96>>2];f:{if((h|0)>N[g>>2]){c=1;m=O[d+88|0];if(m>>>0>1){while(1){n=c<<2;k=N[g+n>>2];if((h|0)<=(k|0)){c=n-4|0;f=N[c+g>>2];f=fb(h-f|0,k-f|0);d=N[d+92>>2];c=N[d+c>>2];c=T(N[d+n>>2]-c|0,f)+(c<<16)|0;f=N[e+12>>2];break f}c=c+1|0;if((m|0)!=(c|0)){continue}break}}c=N[(N[d+92>>2]+(m<<2)|0)-4>>2]<<16;break f}c=N[N[d+92>>2]>>2]<<16}N[(T(a,24)+f|0)+8>>2]=c;a=a+1|0;if((j|0)!=(a|0)){continue}break}}N[b>>2]=e;d=0}La=l+80|0;return d|0}function Vc(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=N[a+356>>2];k=P[a+340>>1];a:{b:{if(!k){g=-1;h=-1;i=-1;break b}g=-1;h=-1;e=-1;i=-1;d=j;while(1){c:{if(!P[d+8>>1]|P[d+6>>1]!=(b|0)){break c}d:{switch(P[d>>1]){case 0:case 2:g=f;break c;case 1:if(!P[d+4>>1]){e=f;break c}i=P[d+2>>1]?i:f;break c;case 3:break d;default:break c}}if((h|0)!=-1&(P[d+4>>1]&1023)!=9){break c}l=P[d+2>>1];if(l>>>0>10|!(1<>1]&1023)==9;h=f}d=d+20|0;f=f+1|0;if((k|0)!=(f|0)){continue}break}if((e|0)>=0){break a}}e=i}i=N[a+100>>2];e:{f:{g:{h:{i:{j:{k:{if((h|0)>=0){if((e|0)>=0){b=184;if(!m){break k}}d=j+T(h,20)|0;f=P[d+2>>1];if(f>>>0<=10){break j}break e}b=184;if((e|0)>=0){break k}b=185;e=g;if((e|0)>=0){break k}break e}if(j){d=j+T(e,20)|0;break i}break e}b=185;e=0;if(!(1<>2]){break l}e=N[a+368>>2];f=P[d+8>>1];m:{if(!f){a=0;break m}a=Qa[N[i+4>>2]](i,f)|0;if(!a){break g}C(a,0,f)}N[d+16>>2]=a;f=N[d+12>>2];g=N[e+20>>2];n:{o:{if(g){if(Qa[g|0](e,f,0,0)|0){break n}g=N[e+4>>2];a=N[d+16>>2];break o}g=N[e+4>>2];if(f>>>0>g>>>0){break n}}N[e+8>>2]=f;if(f>>>0>=g>>>0){break n}h=P[d+8>>1];j=N[e+20>>2];p:{if(j){g=Qa[j|0](e,f,a,h)|0;break p}j=a;a=g-f|0;g=a>>>0>>0?a:h;F(j,f+N[e>>2]|0,g)}N[e+8>>2]=f+g;if(g>>>0>=h>>>0){break l}}b=85;a=N[d+16>>2];if(!a){break f}Qa[N[i+8>>2]](i,a);break f}e=Qa[b|0](d,i)|0}N[c>>2]=e;return 0}N[d+16>>2]=0;b=64}M[d+8>>1]=0;N[d+16>>2]=0;N[c>>2]=0;return b|0}N[c>>2]=0;return 0}function ff(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,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;a:{if(!c){break a}x=(f<<1)+d|0;if(!x){while(1){l=l+8|0;if(l>>>0>>0){continue}break a}}n=d<<3;G=f<<3;while(1){o=0;m=0;while(1){d=m-G|0;g=d>>>0>=n>>>0?440592:(d<<1)+b|0;y=P[g+14>>1];z=P[g>>1];A=P[g+12>>1];B=P[g+10>>1];C=P[g+8>>1];D=P[g+6>>1];E=P[g+4>>1];F=P[g+2>>1];p=32768;q=32768;r=32768;s=32768;t=32768;u=32768;v=32768;w=32768;d=f;while(1){i=(d-f<<3)+m|0;h=i>>>0>=n>>>0?440592:(i<<1)+b|0;i=m-(d+f<<3)|0;j=i>>>0>=n>>>0?440592:(i<<1)+b|0;i=d-1|0;k=M[(i<<1)+e>>1];p=T((P[h+14>>1]-y<<16>>16)+(P[j+14>>1]-y<<16>>16)|0,k)+p|0;q=T(k,(P[h+12>>1]-A<<16>>16)+(P[j+12>>1]-A<<16>>16)|0)+q|0;r=T(k,(P[h+10>>1]-B<<16>>16)+(P[j+10>>1]-B<<16>>16)|0)+r|0;s=T(k,(P[h+8>>1]-C<<16>>16)+(P[j+8>>1]-C<<16>>16)|0)+s|0;t=T(k,(P[h+6>>1]-D<<16>>16)+(P[j+6>>1]-D<<16>>16)|0)+t|0;u=T(k,(P[h+4>>1]-E<<16>>16)+(P[j+4>>1]-E<<16>>16)|0)+u|0;v=T(k,(P[h+2>>1]-F<<16>>16)+(P[j+2>>1]-F<<16>>16)|0)+v|0;w=T(k,(P[h>>1]-z<<16>>16)+(P[j>>1]-z<<16>>16)|0)+w|0;h=(d|0)>1;d=i;if(h){continue}break}M[a>>1]=P[g>>1]+(w>>>16|0);M[a+2>>1]=P[g+2>>1]+(v>>>16|0);M[a+4>>1]=P[g+4>>1]+(u>>>16|0);M[a+6>>1]=P[g+6>>1]+(t>>>16|0);M[a+8>>1]=P[g+8>>1]+(s>>>16|0);M[a+10>>1]=P[g+10>>1]+(r>>>16|0);M[a+12>>1]=P[g+12>>1]+(q>>>16|0);M[a+14>>1]=P[g+14>>1]+(p>>>16|0);m=m+8|0;a=a+16|0;o=o+1|0;if((x|0)!=(o|0)){continue}break}b=(n<<1)+b|0;l=l+8|0;if(l>>>0>>0){continue}break}}}function xm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-48|0;La=e;g=N[a+4>>2];L[b+557|0]=0;N[b+560>>2]=a;a:{if(!N[b+116>>2]|!N[b+120>>2]){break a}h=b+188|0;C(h,0,364);N[b+528>>2]=3932;N[b+520>>2]=-1;N[b+392>>2]=1;N[b+588>>2]=d;N[b+584>>2]=c;N[b+552>>2]=b;N[b+384>>2]=2596864;N[b+388>>2]=7;b:{if(!O[a+32|0]){f=97;c=8192;break b}f=N[a+1556>>2]+1|0;c=20480}i=N[a>>2];d=N[i>>2];j=N[b+176>>2];N[e+20>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+32>>2]=0;N[e+12>>2]=0;N[e+16>>2]=0;N[e+40>>2]=h;N[e+36>>2]=c;N[e+8>>2]=i;N[e+44>>2]=j;c:{d:{e:{f:{g:{if((f|0)<0){break g}if(!f){d=0;N[e+24>>2]=0;break e}if((f|0)>536870911){break g}c=f<<2;d=Qa[N[d+4>>2]](d,c)|0;if(!d|(f|0)<=0){break f}C(d,0,c);N[e+24>>2]=d;break e}f=0;break c}N[e+24>>2]=d;if(!d){break d}}N[e+28>>2]=d;N[e+32>>2]=f;a=N[b+116>>2]+N[a+12>>2]|0;c=N[g+20>>2];h:{if(c){f=85;if(!(Qa[c|0](g,a,0,0)|0)){break h}break c}f=85;if(a>>>0>Q[g+4>>2]){break c}}N[g+8>>2]=a;f=Bb(g,N[b+120>>2]);if(f){break c}f=zm(e+8|0,N[g+32>>2],N[g+36>>2]);if(N[g+20>>2]){a=N[g>>2];if(a){c=N[g+28>>2];Qa[N[c+8>>2]](c,a)}N[g>>2]=0}N[g+32>>2]=0;N[g+36>>2]=0;if(f){break c}L[b+188|0]=O[b+188|0]&254;a=N[b+532>>2];i:{j:{if((a|0)<0){a=0-a|0;break j}if(a){break i}a=987654321}N[b+532>>2]=a}if(Q[b+388>>2]>=1001){N[b+388>>2]=7}f=0;if(Q[b+392>>2]<1001){break c}N[b+392>>2]=1;break c}f=0;N[e+24>>2]=0}N[b+600>>2]=0;N[b+596>>2]=N[b+592>>2];a=N[e+24>>2];if(!a){break a}b=N[N[e+8>>2]>>2];Qa[N[b+8>>2]](b,a)}La=e+48|0;return f|0}function Gf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;g=Q[a+16>>2]<4?275552:N[a+12>>2]}a=g;b=275552;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}g=O[a+4|0]|O[a+5|0]<<8;b=275552;if(!g){break c}b=((g<<8|g>>>8)&65535)+a|0}g=O[b|0]|O[b+1|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>c>>>0){c=(b+T(c,6)|0)+2|0}else{c=275552}c=O[c+4|0]|O[c+5|0]<<8;if(c){b=b+((c<<8|c>>>8)&65535)|0}else{b=275552}d:{e:{f:{g:{if((d|0)==65535){d=O[b|0]|O[b+1|0]<<8;c=238128;if(!d){break g}c=b+((d<<8|d>>>8)&65535)|0;break g}c=O[b+2|0]|O[b+3|0]<<8;d=((c<<8|c>>>8)&65535)>>>0<=d>>>0?275552:(b+T(d,6)|0)+4|0;d=O[d+4|0]|O[d+5|0]<<8;c=238128;if(!d){break g}c=b+((d<<8|d>>>8)&65535)|0}b=O[c+4|0]|O[c+5|0]<<8;if(!b){break f}g=c+4|0;b=(b<<8|b>>>8)&65535;j=b>>>0<=1?1:b;b=0;while(1){c=O[g|0]|O[g+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=b>>>0?238136:(g+(b<<1)|0)+2|0;d=O[c|0]|O[c+1|0]<<8;i=d<<8|d>>>8;c=i&65535;if((d|0)==65535){d=0}else{d=275552;h:{if((O[a|0]|O[a+1|0]<<8)!=256){break h}h=O[a+6|0]|O[a+7|0]<<8;d=275552;if(!h){break h}d=((h<<8|h>>>8)&65535)+a|0}h=O[d|0]|O[d+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0>(i&65535)>>>0){d=(d+T(c,6)|0)+2|0}else{d=275552}d=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24)}if((d|0)!=(e|0)){b=b+1|0;if((j|0)==(b|0)){break f}continue}break}b=1;if(f){break e}break d}c=65535;b=0;if(!f){break d}}N[f>>2]=c}return b}function gl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{i=N[b+4>>2];b:{if(i>>>0>a>>>0){break b}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<8){break b}e=N[b+12>>2];d=e-8|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=a+4|0;if(d>>>0>f>>>0|f-d>>>0<4){break b}e=e-12|0;N[b+12>>2]=e;if((e|0)<=0){break b}g=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);if(g&128){break b}d=O[a+2|0]|O[a+3|0]<<8;if(d){g=(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))+c|0;if(g>>>0>>0|f>>>0>>0){break b}h=f-g|0;g=((d<<8|d>>>8)&65535)<<2;if(h>>>0>>0){break b}e=e-g|0;N[b+12>>2]=e;if((e|0)<=0){break b}}h=O[a|0]|O[a+1|0]<<8;if(!h){return 1}g=a+8|0;if(g>>>0>>0|f>>>0>>0){break b}h=(h<<8|h>>>8)&65535;j=h<<3;if(j>>>0>f-g>>>0){break b}a=e-j|0;N[b+12>>2]=a;if((a|0)<=0){break b}if(d){j=((d<<8|d>>>8)&65535)<<1;e=0;while(1){k=0;d=g+(e<<3)|0;if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<8){break b}N[b+12>>2]=a-8;if((a|0)<9){break b}d=d+6|0;if(d>>>0>f>>>0|f-d>>>0<2){break b}l=a-10|0;N[b+12>>2]=l;if((a|0)<11){break b}a=O[d|0]|O[d+1|0]<<8;a=((a<<8|a>>>8)&65535)+c|0;if(a>>>0>>0|a>>>0>f>>>0|j>>>0>f-a>>>0){break b}a=l-j|0;N[b+12>>2]=a;if((a|0)<=0){break b}k=1;e=e+1|0;if((h|0)!=(e|0)){continue}break}break b}d=((j^-1)+e>>>0)/10|0;e=0;while(1){c=g+(e<<3)|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<8){break a}N[b+12>>2]=a-8;if((a|0)<9){break a}c=c+6|0;if(c>>>0>f>>>0|f-c>>>0<2){break a}a=a-10|0;N[b+12>>2]=a;if((d|0)==(e|0)){break a}k=1;e=e+1|0;if((h|0)!=(e|0)){continue}break}}return k}return 0}function Dn(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0;k=N[a+8>>2];a:{b:{l=N[a+12>>2];h=N[l+36>>2];c:{if((h|0)<=0){if(!h){break c}d=6;break b}j=Qa[N[k+4>>2]](k,h)|0;if(!j){d=64;break b}C(j,0,h);i=j}N[i+100>>2]=k;N[i+96>>2]=a;N[i+104>>2]=N[b>>2];if(c){N[i+8>>2]=N[i+8>>2]|1024}d:{j=Qa[N[k+4>>2]](k,68)|0;if(!j){d=64;break d}h=0;C(j,0,68);N[i+128>>2]=j;e:{if((e|0)<=0){break e}a=0;while(1){if(h){break e}h=0;c=(a<<3)+f|0;if(N[c>>2]==1768842098){h=N[c+4>>2];N[j+52>>2]=h}a=a+1|0;if((e|0)!=(a|0)){continue}break}}N[j+60>>2]=-1;a=N[l+48>>2];f:{if(!a){N[b>>2]=N[i+104>>2];break f}d=Qa[a|0](N[b>>2],i,d,e,f)|0;N[b>>2]=N[i+104>>2];if(d){break d}}b=N[i+40>>2];g:{if(!b){break g}a=b+(N[i+36>>2]<<2)|0;c=a-4|0;h:{if(b>>>0<=c>>>0){while(1){h=N[c>>2];i:{if(N[h+4>>2]!=1970170211){break i}j:{switch(P[h+8>>1]){case 3:if(P[h+10>>1]!=10){break i}break h;case 0:break j;default:break i}}if(P[h+10>>1]==4){break h}}c=c-4|0;if(b>>>0<=c>>>0){continue}break}}while(1){a=a-4|0;if(b>>>0>a>>>0){break g}h=N[a>>2];if(N[h+4>>2]!=1970170211){continue}break}}N[i+92>>2]=h}N[g>>2]=i;return 0}if(N[i+36>>2]>0){h=0;while(1){b=h<<2;e=N[b+N[i+40>>2]>>2];c=N[N[e>>2]+100>>2];a=N[N[e+12>>2]+8>>2];if(a){Qa[a|0](e)}Qa[N[c+8>>2]](c,e);N[b+N[i+40>>2]>>2]=0;h=h+1|0;if((h|0)>2]){continue}break}}a=N[i+40>>2];if(a){Qa[N[k+8>>2]](k,a)}N[i+36>>2]=0;N[i+40>>2]=0;a=0;break a}j=0;a=1}b=N[l+52>>2];if(b){Qa[b|0](i)}if(j){Qa[N[k+8>>2]](k,j)}if(!a){Qa[N[k+8>>2]](k,i)}N[g>>2]=0;return d}function bp(a){var b=0,c=0,d=0,e=0,f=0;c=a>>>0>1073741823;b=c<<31;d=b;e=b|1073741824;f=b|536870912;b=(c<<30)+a<<1;c=f>>>0>b>>>0;a=c?d:e;b=b+(c?0:1610612736)<<1;c=a|268435456;d=b>>>0>>0;a=d?a:a|536870912;b=b-(d?0:c)<<1;c=a|134217728;d=b>>>0>>0;a=d?a:a|268435456;b=b-(d?0:c)<<1;c=a+67108864|0;d=b>>>0>>0;a=d?a:a- -134217728|0;b=b-(d?0:c)<<1;c=a+33554432|0;d=b>>>0>>0;a=d?a:a+67108864|0;b=b-(d?0:c)<<1;c=a+16777216|0;d=b>>>0>>0;a=d?a:a+33554432|0;b=b-(d?0:c)<<1;c=a+8388608|0;d=b>>>0>>0;a=d?a:a+16777216|0;b=b-(d?0:c)<<1;c=a+4194304|0;d=b>>>0>>0;a=d?a:a+8388608|0;b=b-(d?0:c)<<1;c=a+2097152|0;d=b>>>0>>0;a=d?a:a+4194304|0;b=b-(d?0:c)<<1;c=a- -1048576|0;d=b>>>0>>0;a=d?a:a+2097152|0;b=b-(d?0:c)<<1;c=a+524288|0;d=b>>>0>>0;a=d?a:a- -1048576|0;b=b-(d?0:c)<<1;c=a+262144|0;d=b>>>0>>0;a=d?a:a+524288|0;b=b-(d?0:c)<<1;c=a+131072|0;d=b>>>0>>0;a=d?a:a+262144|0;b=b-(d?0:c)<<1;c=a+65536|0;d=b>>>0>>0;a=d?a:a+131072|0;b=b-(d?0:c)<<1;c=a+32768|0;d=b>>>0>>0;a=d?a:a+65536|0;b=b-(d?0:c)<<1;c=a+16384|0;d=b>>>0>>0;a=d?a:a+32768|0;b=b-(d?0:c)<<1;c=a- -8192|0;d=b>>>0>>0;a=d?a:a+16384|0;b=b-(d?0:c)<<1;c=a+4096|0;d=b>>>0>>0;a=d?a:a- -8192|0;b=b-(d?0:c)<<1;c=a+2048|0;d=b>>>0>>0;a=d?a:a+4096|0;b=b-(d?0:c)<<1;c=a+1024|0;d=b>>>0>>0;a=d?a:a+2048|0;b=b-(d?0:c)<<1;c=a+512|0;d=b>>>0>>0;a=d?a:a+1024|0;b=b-(d?0:c)<<1;c=a+256|0;d=b>>>0>>0;a=d?a:a+512|0;return(a+128>>>0>b-(d?0:c)<<1>>>0?a:a+256|0)>>>8|0}function zo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;a:{b:{h=N[b+36>>2];if((h|0)<=0){break b}e=N[b+40>>2];c=-1;while(1){c:{f=N[(d<<2)+e>>2];i=P[f+8>>1];if((i|0)!=3){break c}d:{switch(P[f+10>>1]-1|0){case 0:case 9:break d;default:break c}}if(!e|(!b|!f)){break a}a=(h<<2)+e|0;while(1){e:{if((f|0)!=N[e>>2]){break e}d=N[f>>2];f:{if(!d){break f}d=N[d+96>>2];c=N[N[d>>2]+32>>2];if(!c){break f}d=Qa[c|0](d,10557)|0;if(!d){break f}if(Qa[N[d>>2]](f,g+8|0)|0){break f}if(N[g+12>>2]==14){break e}}N[b+92>>2]=N[e>>2];break a}e=e+4|0;if(a>>>0>e>>>0){continue}break}break a}c=(i|0)==3?(c|0)<0?d:c:c;d=d+1|0;if((h|0)!=(d|0)){continue}break}if((c|0)<0){break b}a=N[(c<<2)+e>>2];if(!a|!e){break a}d=(h<<2)+e|0;while(1){g:{if((a|0)!=N[e>>2]){break g}c=N[a>>2];h:{if(!c){break h}c=N[c+96>>2];f=N[N[c>>2]+32>>2];if(!f){break h}c=Qa[f|0](c,10557)|0;if(!c){break h}if(Qa[N[c>>2]](a,g+8|0)|0){break h}if(N[g+12>>2]==14){break g}}N[b+92>>2]=N[e>>2];break a}e=e+4|0;if(d>>>0>e>>>0){continue}break}break a}if(N[b+92>>2]){break a}if(!h){mb(a,2,10475,0);break a}mb(a,2,15624,0);d=N[b+40>>2];a=N[d>>2];if(!a){break a}e=N[b+36>>2];if((e|0)<=0){break a}e=(e<<2)+d|0;while(1){i:{if((a|0)!=N[d>>2]){break i}c=N[a>>2];j:{if(!c){break j}c=N[c+96>>2];f=N[N[c>>2]+32>>2];if(!f){break j}c=Qa[f|0](c,10557)|0;if(!c){break j}if(Qa[N[c>>2]](a,g+8|0)|0){break j}if(N[g+12>>2]==14){break i}}N[b+92>>2]=N[d>>2];break a}d=d+4|0;if(e>>>0>d>>>0){continue}break}}La=g+16|0}function rf(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=T(d,1348)+a|0;h=N[g+44>>2];c=b?N[(T(b,12)+c|0)-12>>2]:0;f=N[N[a+2748>>2]+40>>2];e=(f|0)/256|0;if((h|0)>0){k=(T(f,6e3)|0)/2048|0;b=N[g+52>>2];i=b+T(h,44)|0;l=f+255>>>0<511?1:e;j=N[(T(d,1348)+a|0)+68>>2];a:{if(!c){d=b;while(1){if((j|0)==L[d+1|0]){f=M[d+2>>1];a=b;while(1){b:{if((j|0)!=(0-L[a+1|0]|0)){break b}g=M[a+2>>1];if((g|0)<=(f|0)){break b}e=M[d+8>>1];c=M[a+8>>1];h=(c|0)>(e|0)?e:c;e=M[d+6>>1];c=M[a+6>>1];c=h-((c|0)<(e|0)?e:c)|0;if((c|0)<(l|0)){break b}c=(g-f|0)+((k|0)/(c|0)|0)|0;if((c|0)>2]){N[d+20>>2]=a;N[d+28>>2]=c}if((c|0)>=N[a+28>>2]){break b}N[a+20>>2]=d;N[a+28>>2]=c}a=a+44|0;if(i>>>0>a>>>0){continue}break}}d=d+44|0;if(i>>>0>d>>>0){continue}break}break a}d=b;while(1){if((j|0)==L[d+1|0]){h=M[d+2>>1];a=b;while(1){c:{if((j|0)!=(0-L[a+1|0]|0)){break c}f=M[a+2>>1];if((f|0)<=(h|0)){break c}g=M[d+8>>1];e=M[a+8>>1];m=(e|0)>(g|0)?g:e;g=M[d+6>>1];e=M[a+6>>1];g=m-((e|0)<(g|0)?g:e)|0;if((g|0)<(l|0)){break c}e=(f-h<<10)/(c|0)|0;f=32e3;d:{if((e|0)>11024){break d}f=0;if((e|0)<1025){break d}e=e-1024|0;f=(T(e,e)>>>0)/3e3|0}e=f+((k|0)/(g|0)|0)|0;if((e|0)>2]){N[d+20>>2]=a;N[d+28>>2]=e}if((e|0)>=N[a+28>>2]){break c}N[a+20>>2]=d;N[a+28>>2]=e}a=a+44|0;if(i>>>0>a>>>0){continue}break}}d=d+44|0;if(i>>>0>d>>>0){continue}break}}while(1){a=N[b+20>>2];if(!(!a|N[a+20>>2]==(b|0))){N[b+20>>2]=0;N[b+24>>2]=N[a+20>>2]}b=b+44|0;if(i>>>0>b>>>0){continue}break}}}function Je(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((O[a|0]|O[a+1|0]<<8)!=256|(d|0)<=0){break a}if(!Hf(a+4|0,b,a)){break a}d=a+8|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b:{if(!c){break b}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}d=a+12|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c:{if(!c){break c}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}d=a+16|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<4){break a}c=N[b+12>>2]-4|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d:{if(!c){break d}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break d}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;e=0;if(!O[b+24|0]){break d}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;e=1}return e}return 0}function wd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{f=c-b|0;if(N[a+20>>2]==2|f>>>0<2){break a}i=N[a+84>>2];k=N[(i+T(b,20)|0)+8>>2];g=k;l=b+1|0;b:{if(l>>>0>=c>>>0){break b}m=f-2|0;j=(b^-1)+c&3;if(j){h=b+j|0;f=0;e=l;while(1){d=N[(T(e,20)+i|0)+8>>2];g=d>>>0>g>>>0?g:d;e=e+1|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}f=h+1|0}else{f=l}if(m>>>0<=2){break b}while(1){h=T(f,20)+i|0;d=N[h+8>>2];e=d>>>0>g>>>0?g:d;d=N[h+28>>2];e=e>>>0>>0?e:d;d=N[h+48>>2];e=e>>>0>>0?e:d;d=N[h+68>>2];g=e>>>0>>0?e:d;f=f+4|0;if((f|0)!=(c|0)){continue}break}}h=0;d=b;while(1){c:{f=h;e=d;if(!d){f=b;e=0;break c}h=f+1|0;d=e-1|0;if((k|0)==N[(T(d,20)+i|0)+8>>2]){continue}}break}d:{e:{f:{d=N[a+72>>2];if(d>>>0<=c>>>0){break f}while(1){h=T(c,20)+i|0;if(N[h-12>>2]!=N[h+8>>2]){break f}c=c+1|0;if((d|0)!=(c|0)){continue}break}break e}if((c|0)!=(d|0)){break d}}c=N[a+64>>2];k=N[a+68>>2];g:{if(c>>>0>=k>>>0){break g}m=(T(d,20)+i|0)-12|0;h=N[a+80>>2];while(1){j=h+T(c,20)|0;a=N[j+8>>2];if((a|0)!=N[m>>2]){break g}if((a|0)!=(g|0)){N[j+4>>2]=N[j+4>>2]&-8}N[j+8>>2]=g;c=c+1|0;if((k|0)!=(c|0)){continue}break}}c=d}if(c>>>0<=e>>>0){break a}if((f-b|0)+c&1){a=T(e,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;e=e+1|0}if((l-f|0)==(c|0)){break a}while(1){a=T(e,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;a=T(e+1|0,20)+i|0;if(N[a+8>>2]!=(g|0)){N[a+4>>2]=N[a+4>>2]&-8}N[a+8>>2]=g;e=e+2|0;if(e>>>0>>0){continue}break}}}function uk(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}e=N[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}i=N[b+12>>2];g=i-2|0;N[b+12>>2]=g;f=1;if((g|0)<=0){return 0}g=O[a|0]|O[a+1|0]<<8;a:{if(!g){break a}b:{g=((g<<8|g>>>8)&65535)+c|0;if(g>>>0>>0|e>>>0>>0|e-g>>>0<2){break b}c=i-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}h=O[g|0]|O[g+1|0]<<8;if(!h){break a}f=g+2|0;if(f>>>0>e>>>0){break b}d=e-f|0;e=(h<<8|h>>>8)&65535;f=e<<1;if(d>>>0>>0){break b}c=c-f|0;N[b+12>>2]=c;if((c|0)<=0){break b}j=e>>>0<=1?1:e;h=0;while(1){d=N[b+4>>2];f=(g+(h<<1)|0)+2|0;if(d>>>0>f>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-f>>>0<2){break b}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[f|0]|O[f+1|0]<<8;c:{if(!c){break c}c=g+((c<<8|c>>>8)&65535)|0;d:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<2){break d}d=i-4|0;N[b+12>>2]=d;if((d|0)<=0){break d}d=c+2|0;if(d>>>0>e>>>0|e-d>>>0<2){break d}i=i-6|0;N[b+12>>2]=i;if((i|0)<=0){break d}d=O[c+2|0]|O[c+3|0]<<8;k=((d<<8|d>>>8)&65535)<<2;d=O[c|0]|O[c+1|0]<<8;d=k+(d?(((d<<8|d>>>8)&65535)<<1)-2|0:0)|0;if(!d){break c}c=c+4|0;if(c>>>0>e>>>0|d>>>0>e-c>>>0){break d}c=i-d|0;N[b+12>>2]=c;if((c|0)>0){break c}}c=N[b+28>>2];if(c>>>0>31){break b}N[b+28>>2]=c+1;if(!O[b+24|0]){break b}L[f|0]=0;L[f+1|0]=0}f=1;h=h+1|0;if((j|0)!=(h|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;f=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;f=1}return f}function OA(a,b,c,d,e,f,g,h,i){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0;C(a,0,1516);m=7;j=N[b+96>>2];a:{if(!j){break a}b:{k=N[N[j>>2]+32>>2];if(k){l=Qa[k|0](j,10566)|0;if(l){break b}}k=N[j+4>>2];l=N[k+16>>2];if((l|0)<=0){break a}k=k+20|0;o=k+(l<<2)|0;while(1){l=N[k>>2];c:{if((l|0)==(j|0)){break c}n=N[N[l>>2]+32>>2];if(!n){break c}l=Qa[n|0](l,10566)|0;if(l){break b}}k=k+4|0;if(o>>>0>k>>>0){continue}break}break a}L[a+68|0]=1;m=0;N[a+64>>2]=0;N[a+1348>>2]=l;N[a+8>>2]=d;N[a+4>>2]=b;N[a>>2]=N[b+100>>2];d:{if(!d){break d}j=N[N[d+156>>2]>>2];N[a+12>>2]=j;N[a+20>>2]=j+56;N[a+16>>2]=j+20;N[j+20>>2]=0;N[j+36>>2]=0;N[j+48>>2]=0;l=N[j+32>>2];k=j- -64|0;N[k>>2]=N[j+28>>2];N[k+4>>2]=l;N[j+88>>2]=N[j+52>>2];k=N[j+24>>2];N[j+56>>2]=N[j+20>>2];N[j+60>>2]=k;k=N[j+40>>2];N[j+72>>2]=N[j+36>>2];N[j+76>>2]=k;k=N[j+48>>2];N[j+80>>2]=N[j+44>>2];N[j+84>>2]=k;c=N[N[c+40>>2]>>2];N[a+72>>2]=0;N[a+76>>2]=c;if(!g){break d}N[a+72>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;c=N[73541];N[a+80>>2]=N[73540];N[a+84>>2]=c;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;c=N[73543];N[a+88>>2]=N[73542];N[a+92>>2]=c;c=N[73545];N[a+96>>2]=N[73544];N[a+100>>2]=c;c=N[73547];N[a+104>>2]=N[73546];N[a+108>>2]=c;N[a+1352>>2]=N[b+16>>2];N[a+1472>>2]=h;N[a+1356>>2]=e;N[a+1476>>2]=i;N[a+1468>>2]=f;b=N[73549];N[a+1480>>2]=N[73548];N[a+1484>>2]=b;b=N[73551];a=a+1488|0;N[a>>2]=N[73550];N[a+4>>2]=b}return m|0}function dn(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=N[a+736>>2];if(d){c=N[a+100>>2];e=N[N[d+12>>2]>>2];b=N[d+4>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+4>>2]=0;b=N[d+8>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+8>>2]=0;b=N[d+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+20>>2]=0;b=N[d+12>>2];if(b){Qa[N[c+8>>2]](c,b)}N[d+12>>2]=0;b=N[d+28>>2];if(b){a:{if(!e){break a}if((e|0)!=1){i=e&1;j=e&-2;e=0;while(1){g=f<<3;h=N[(g+b|0)+4>>2];if(h){Qa[N[c+8>>2]](c,h);b=N[d+28>>2]}N[(b+g|0)+4>>2]=0;g=(f|1)<<3;h=N[(g+b|0)+4>>2];if(h){Qa[N[c+8>>2]](c,h);b=N[d+28>>2]}N[(b+g|0)+4>>2]=0;f=f+2|0;e=e+2|0;if((j|0)!=(e|0)){continue}break}if(!i){break a}}e=f<<3;f=N[(e+b|0)+4>>2];if(f){Qa[N[c+8>>2]](c,f);b=N[d+28>>2]}N[(b+e|0)+4>>2]=0}Qa[N[c+8>>2]](c,b);N[d+28>>2]=0}b=N[d+40>>2];if(b){Qh(N[a+100>>2],b);b=N[d+40>>2];e=N[b+28>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+40>>2]}N[b+28>>2]=0;e=N[b+24>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+40>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+40>>2]=0}b=N[d+52>>2];if(b){Qh(N[a+100>>2],b);b=N[d+52>>2];e=N[b+28>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+52>>2]}N[b+28>>2]=0;e=N[b+24>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[d+52>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+52>>2]=0}b=N[d+56>>2];if(b){Qh(N[a+100>>2],b+4|0);b=N[d+56>>2];a=N[b+24>>2];if(a){Qa[N[c+8>>2]](c,a);b=N[d+56>>2]}N[b+24>>2]=0;Qa[N[c+8>>2]](c,b);N[d+56>>2]=0}a=N[d+64>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d+64>>2]=0;a=N[d+72>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d+72>>2]=0;Qa[N[c+8>>2]](c,d)}}function gq(a,b,c,d){var e=0,f=0,g=0,h=U(0),i=U(0);g=N[a+4>>2];a:{if(g>>>0>b>>>0){e=N[a>>2]-1|0;e=b>>>0>e>>>0?e:b;b:{if((e|0)<0){e=275552;break b}g=N[a+20>>2];e=N[(g?g:275552)+12>>2]+(e<<2)|0;g=N[a+4>>2]}e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)&65535;break a}e=0;if(N[a+8>>2]){break a}e=N[a+16>>2]}c:{if(b>>>0>=g>>>0){break c}g=N[c+84>>2];if(!g){break c}a=N[a+24>>2];a=a?a:275552;f=N[a+16>>2];if(f){c=N[c+88>>2];a=f>>>0<20?275552:N[a+12>>2];f=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(f){f=a+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0}else{f=275552}f=nd(f,b);h=U(e>>>0);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if(b){a=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{a=275552}b=O[a+6|0]|O[a+7|0]<<8;e=(b<<8|b>>>8)&65535;b=f>>>16|0;if(e>>>0<=b>>>0){i=U(.5)}else{b=a+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}f=f&65535;e=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(e){a=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{a=275552}i=U(Fc(b,f,c,g,a,d)+U(.5))}h=U(U(Z(i))+h);if(h=U(0)){return~~h>>>0}return 0}d=N[c+24>>2];a=N[d+108>>2];d:{if(a){break d}while(1){a=N[d+48>>2];if(!a){a=275552;break d}e=db(1,28);if(!e){a=275552;N[d+108>>2]=275552;break d}a=Me(e,a);if(!N[d+108>>2]){N[d+108>>2]=a;break d}ab(N[a+24>>2]);_a(a);a=N[d+108>>2];if(!a){continue}break}}e=fq(a,c,b,0)}return e}function Ux(a){a=a|0;var 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;i=N[a+12>>2];j=N[a+200>>2];c=N[a+196>>2];n=N[N[a>>2]+16>>2];a:{while(1){b=k;k=b+1|0;g=Fn(i,k);if(g){break a}g=21;h=c+4|0;if(h>>>0>j>>>0){break a}d=N[i+88>>2]+(b<<5)|0;N[d+8>>2]=0;N[d+12>>2]=0;l=O[c+1|0];e=l|O[c|0]<<8;M[d+4>>1]=e;b=O[c+3|0]|O[c+2|0]<<8;N[d>>2]=b;if((b|0)>=(n|0)){break a}f=l&1?4:2;m=e&8;b=f+2|0;b:{if(m){break b}b=f+4|0;if(e&64){break b}b=f|e>>>4&8}if(b+h>>>0>j>>>0){break a}b=e&1;c:{if(e&2){if(b){b=O[c+4|0]|O[c+5|0]<<8;N[d+8>>2]=(b<<8|b>>>8)<<16>>16;b=O[c+6|0]|O[c+7|0]<<8;f=(b<<8|b>>>8)<<16>>16;b=c+8|0;break c}N[d+8>>2]=L[c+4|0];f=L[c+5|0];b=c+6|0;break c}if(b){N[d+8>>2]=O[c+5|0]|O[c+4|0]<<8;f=O[c+7|0]|O[c+6|0]<<8;b=c+8|0;break c}N[d+8>>2]=O[c+4|0];f=O[c+5|0];b=c+6|0}N[d+12>>2]=f;d:{if(m){c=b+2|0;e=0;b=O[b|0]|O[b+1|0]<<8;g=(b<<8|b>>>8)<<16>>16<<2;f=g;h=0;break d}if(e&64){c=O[b+2|0]|O[b+3|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=O[b|0]|O[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+4|0;e=0;h=0;break d}if(!(e&128)){e=0;g=65536;c=b;f=65536;h=0;break d}c=O[b+6|0]|O[b+7|0]<<8;f=(c<<8|c>>>8)<<16>>16<<2;c=O[b+4|0]|O[b+5|0]<<8;e=(c<<8|c>>>8)<<16>>16<<2;c=O[b+2|0]|O[b+3|0]<<8;h=(c<<8|c>>>8)<<16>>16<<2;c=O[b|0]|O[b+1|0]<<8;g=(c<<8|c>>>8)<<16>>16<<2;c=b+8|0}N[d+16>>2]=g;N[d+28>>2]=f;N[d+24>>2]=h;N[d+20>>2]=e;if(l&32){continue}break}N[i+84>>2]=k;b=N[N[a+24>>2]+8>>2];N[a+196>>2]=c;N[a+164>>2]=(c+b|0)-j;g=0}return g|0}function bc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;L[a+48|0]=O[b+48|0];c=N[a>>2];d=N[a+20>>2];if(!d){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}e=N[b>>2];if(!N[b+20>>2]){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}a:{if(c>>>0>>0){f=e-c|0;if(!f){break a}N[a>>2]=N[a>>2]+T(N[a+4>>2],f);if(!d){break a}g=N[a+16>>2];e=N[a+24>>2];j=N[a+12>>2];k=N[a+40>>2];l=N[a+36>>2];c=N[a+8>>2];while(1){f=f-1|0;b=d;while(1){c=c+j|0;N[a+8>>2]=c;h=(b|0)!=0;e=h+e|0;N[a+24>>2]=e;d=b-h|0;N[a+20>>2]=d;g=T(h,20)+g|0;N[a+16>>2]=g;if((b|0)!=(h|0)){b=d;if(O[g+18|0]==6){continue}}if(!d){break a}b:{if(O[g+18|0]!=14){break b}h=N[N[l>>2]+68>>2];b=c;while(1){b=b+1|0;if(h>>>0<=b>>>0){break b}i=N[k>>2]+T(b,20)|0;if(O[i+18|0]==6){continue}break}b=d;if(1<>1]&7168){continue}}break}if(f){continue}break}break a}if(c>>>0<=e>>>0){break a}f=c-e|0;if(!f){break a}N[a>>2]=N[a>>2]-T(N[a+4>>2],f);if(!d){break a}c=N[a+16>>2];g=N[a+24>>2];h=N[a+12>>2];j=N[a+40>>2];k=N[a+36>>2];e=N[a+8>>2];while(1){f=f-1|0;while(1){e=e-h|0;N[a+8>>2]=e;b=(g|0)!=0;g=g-b|0;N[a+24>>2]=g;d=b+d|0;N[a+20>>2]=d;c=T(b,-20)+c|0;N[a+16>>2]=c;if(!d){break a}c:{d:{switch(O[c+18|0]-6|0){case 0:continue;case 8:break d;default:break c}}l=N[N[k>>2]+68>>2];b=e;while(1){b=b+1|0;if(l>>>0<=b>>>0){break c}i=N[j>>2]+T(b,20)|0;if(O[i+18|0]==6){continue}break}if(1<>1]&7168){continue}}break}if(f){continue}break}}}function Wj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=N[59537];N[f+8>>2]=N[59536];N[f+12>>2]=c;c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}e=(c<<8|c>>>8)&65535;c=a+6|0;while(1){d=O[c|0]|O[c+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}Rj(d,b,f+8|0);c=c+2|0;e=e-1|0;if(e){continue}break}break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}N[f+12>>2]=c;N[f+8>>2]=269;c=O[a+6|0]|O[a+7|0]<<8;if(!c){break a}e=(c<<8|c>>>8)&65535;c=a+8|0;while(1){d=O[c|0]|O[c+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}Rj(d,b,f+8|0);c=c+2|0;e=e-1|0;if(e){continue}break}break a}c=O[a+6|0]|O[a+7|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);d=O[a+4|0]|O[a+5|0]<<8;c=O[a+2|0]|O[a+3|0]<<8;g=(c<<8|c>>>8)&65535;if(g>>>0>=2){i=N[b+12>>2];e=g-1|0;c=a+8|0;while(1){h=O[c|0]|O[c+1|0]<<8;Ob(h?((h<<8|h>>>8)&65535)+a|0:275552,i);c=c+2|0;e=e-1|0;if(e){continue}break}}if(!d){break a}c=(d<<8|d>>>8)&65535;e=(a+6|0)+(g<<1)|0;a=0;while(1){d=e+(a<<2)|0;d=O[d+2|0]|O[d+3|0]<<8;Qj(b,(d<<8|d>>>8)&65535);a=a+1|0;if((c|0)!=(a|0)){continue}break}}La=f+16|0}function oo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;h=La+-64|0;La=h;m=N[b+4>>2];j=N[b+12>>2];o=N[b>>2];i=N[b+8>>2];N[h+32>>2]=c;N[h+36>>2]=d;s=c;i=(c|0)<(i|0)?i:c;N[b+8>>2]=i;l=(c|0)>(o|0)?o:c;N[b>>2]=l;o=d;j=(d|0)<(j|0)?j:d;N[b+12>>2]=j;k=(d|0)>(m|0)?m:d;N[b+4>>2]=k;d=N[e+8>>2];c=N[e+4>>2];N[h+40>>2]=c;N[h+44>>2]=d;m=c;i=(c|0)<(i|0)?i:c;N[b+8>>2]=i;l=(c|0)>(l|0)?l:c;N[b>>2]=l;n=(d|0)<(j|0)?j:d;N[b+12>>2]=n;k=(d|0)>(k|0)?k:d;N[b+4>>2]=k;r=N[e+12>>2];e=r;c=N[e+4>>2];e=N[e+8>>2];N[h+48>>2]=c;N[h+52>>2]=e;j=c;p=(c|0)<(i|0)?i:c;N[b+8>>2]=p;q=(c|0)>(l|0)?l:c;N[b>>2]=q;n=(e|0)<(n|0)?n:e;N[b+12>>2]=n;k=(e|0)>(k|0)?k:e;N[b+4>>2]=k;i=N[r+12>>2];c=N[i+4>>2];i=N[i+8>>2];N[h+56>>2]=c;N[h+60>>2]=i;l=c;N[b+8>>2]=(c|0)<(p|0)?p:c;N[b>>2]=(c|0)>(q|0)?q:c;c=i;N[b+12>>2]=(c|0)<(n|0)?n:c;N[b+4>>2]=(c|0)>(k|0)?k:c;if(f){b=(e-d|0)/3|0;N[h+52>>2]=e-b;N[h+60>>2]=e+(((c-e|0)/3|0)-b>>1);c=(j-m|0)/3|0;N[h+48>>2]=j-c;N[h+44>>2]=b+d;N[h+40>>2]=c+m;N[h+56>>2]=(((l-j|0)/3|0)-c>>1)+j;N[h+36>>2]=(b+((d-o|0)/-3|0)>>1)+d;N[h+32>>2]=(c+((m-s|0)/-3|0)>>1)+m}a:{if(!g){b=N[h+36>>2];N[h+24>>2]=N[h+32>>2];N[h+28>>2]=b;b=0;if(!Fb(a,h+24|0,0)){break a}}b=h+32|8;c=N[b+4>>2];N[h+16>>2]=N[b>>2];N[h+20>>2]=c;b=0;if(!Fb(a,h+16|0,0)){break a}b=N[h+52>>2];N[h+8>>2]=N[h+48>>2];N[h+12>>2]=b;b=0;if(!Fb(a,h+8|0,0)){break a}b=N[h+60>>2];N[h>>2]=N[h+56>>2];N[h+4>>2]=b;b=Fb(a,h,3)}La=h- -64|0;return b}function Xb(a){var b=0,c=0,d=0;a:{b:{c:{d:{b=N[a+72>>2]+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break d}}e:{b=N[a+84>>2];f:{if((b|0)!=N[a+80>>2]){break f}d=N[a+72>>2];if(Q[a+64>>2]>=d+1>>>0){break f}if(!O[a+62|0]){break e}c=N[a+88>>2];N[a+84>>2]=c;d=T(d,20);if(!d){break f}F(c,b,d)}b=N[a+64>>2];d=N[a+68>>2];if(b>>>0>d>>>0){break c}g:{if(b>>>0>>0){c=N[a+80>>2]+T(b,20)|0;b=N[a+72>>2];d=N[a+84>>2];break g}d=N[a+84>>2];b=N[a+72>>2];c=b-1|0;c=d+T(b>>>0>=c>>>0?c:0,20)|0}b=T(b,20)+d|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;N[b>>2]=9676;c=N[a+72>>2]+1|0;N[a+72>>2]=c;break b}break a}c=N[a+72>>2];break b}ba(13080,14165,312,10949);B()}b=c-1|0;b=N[a+84>>2]+T(b>>>0<=c>>>0?b:0,20)|0;M[b+16>>1]=P[b+16>>1]&65407;h:{i:{if(O[a+62|0]){b=N[a+84>>2];d=N[a+80>>2];c=N[a+72>>2];if(!((b|0)==(d|0)&(c|0)==N[a+64>>2])){c=c+1|0;if(!(!c|c>>>0>2])){if(!gb(a,c)){break i}d=N[a+80>>2];b=N[a+84>>2]}j:{if((b|0)!=(d|0)){break j}c=N[a+72>>2];if(c+1>>>0<=N[a+64>>2]+1>>>0){b=d;break j}if(!O[a+62|0]){break h}b=N[a+88>>2];N[a+84>>2]=b;c=T(c,20);if(!c){break j}F(b,d,c);b=N[a+84>>2];d=N[a+80>>2]}d=T(N[a+64>>2],20)+d|0;c=N[d+4>>2];b=T(N[a+72>>2],20)+b|0;N[b>>2]=N[d>>2];N[b+4>>2]=c;N[b+16>>2]=N[d+16>>2];c=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=c;c=N[a+72>>2]}N[a+72>>2]=c+1}N[a+64>>2]=N[a+64>>2]+1}return}}ba(8694,17855,209,11932);B()}function NB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=La-400|0;La=i;e=N[c+4>>2];g=N[b+4>>2];c=N[c>>2];b=N[b>>2];f=N[a>>2];a=N[a+4>>2];N[i+20>>2]=a<<2;N[i+16>>2]=f<<2;N[i+12>>2]=g<<2;j=b<<2;N[i+8>>2]=j;h=e<<2;N[i+4>>2]=h;f=c<<2;N[i>>2]=f;b=N[d+200>>2];N[i+24>>2]=b;c=N[d+204>>2];N[i+28>>2]=c;k=a>>6;a:{b:{l=e>>6;a=N[d+168>>2];g=g>>6;c:{d:{if(!((l|0)>=(a|0)&(g|0)>=(a|0))){e=c>>8;break d}e=c>>8;if((a|0)>(k|0)){break d}if((a|0)<=(e|0)){break c}}c=i;a=N[d+164>>2];if((a|0)<=(l|0)|(a|0)<=(g|0)|((a|0)<=(k|0)|(a|0)<=(e|0))){break b}}N[d+204>>2]=h;N[d+200>>2]=f;break a}while(1){e=(T(j,-3)+b|0)+(f<<1)|0;a=e>>31;e:{f:{if((a^e)-a>>>0>=129){k=N[c+12>>2];e=N[c+28>>2];g=N[c+4>>2];break f}e=N[c+28>>2];k=N[c+12>>2];g=N[c+4>>2];h=e+(T(k,-3)+(g<<1)|0)|0;a=h>>31;if((a^h)-a>>>0>128){break f}h=((b<<1)+f|0)+T(N[c+16>>2],-3)|0;a=h>>31;if((a^h)-a>>>0>128){break f}h=((e<<1)+g|0)+T(N[c+20>>2],-3)|0;a=h>>31;if((a^h)-a>>>0>128){break f}Ti(d,f,g);if((c|0)==(i|0)){break a}a=c-24|0;f=N[a>>2];break e}a=c+24|0;N[c+48>>2]=b;N[c+52>>2]=e;f=f+j|0;N[c+8>>2]=f>>1;g=g+k|0;N[c+12>>2]=g>>1;l=b;b=N[c+16>>2];h=l+b|0;N[c+40>>2]=h>>1;b=b+j|0;f=b+f|0;N[c+16>>2]=f>>2;b=b+h|0;N[c+32>>2]=b>>2;l=e;e=N[c+20>>2];j=l+e|0;N[c+44>>2]=j>>1;f=b+f>>3;N[c+24>>2]=f;b=e+k|0;e=b+g|0;N[c+20>>2]=e>>2;b=b+j|0;N[c+36>>2]=b>>2;N[c+28>>2]=b+e>>3}b=N[a+24>>2];j=N[a+8>>2];c=a;continue}}La=i+400|0;return 0}function gc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a|!b|N[b+16>>2]>131083){break a}c=N[a+16>>2];if(c){e=N[b+8>>2];b:{while(1){f=N[((d<<2)+a|0)+20>>2];g=N[f>>2];if(cb(N[g+8>>2],e)){d=d+1|0;if((c|0)!=(d|0)){continue}break b}break}if(N[b+12>>2]<=N[g+12>>2]){break a}nn(a,f);c=N[a+16>>2]}if(c>>>0>31){break a}}d=0;f=N[a>>2];c=N[b+4>>2];c:{if((c|0)<=0){if(!c){break c}break a}d=Qa[N[f+4>>2]](f,c)|0;if(!d){break a}C(d,0,c)}N[d+8>>2]=f;N[d+4>>2]=a;N[d>>2]=b;d:{e:{c=b;e=N[c>>2];if(e&2){e=N[a>>2];c=Qa[N[e+4>>2]](e,12)|0;if(!c){break d}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;g=N[d>>2];N[d+12>>2]=g;N[d+16>>2]=N[g+36>>2];h=N[N[g+56>>2]+4>>2];if(h){if(Qa[h|0](e,d+52|0)|0){break e}N[d+56>>2]=N[N[g+56>>2]+16>>2];N[d+60>>2]=N[g+40>>2]}N[c+8>>2]=d;e=N[a+152>>2];N[c>>2]=e;N[c+4>>2]=0;N[(e?e+4|0:a+148|0)>>2]=c;N[a+152>>2]=c;e=N[a+148>>2];f:{if(e){while(1){c=N[e+8>>2];if(N[c+16>>2]==1869968492){break f}e=N[e+4>>2];if(e){continue}break}}c=0}N[a+156>>2]=c;c=N[d>>2];e=N[c>>2]}if(e&4){N[a+160>>2]=d}if(e&1){N[d+12>>2]=c}b=N[b+24>>2];if(b){if(Qa[b|0](d)|0){break d}}b=N[a+16>>2];N[a+16>>2]=b+1;N[((b<<2)+a|0)+20>>2]=d;return}Qa[N[e+8>>2]](e,c)}g:{if(!(O[N[d>>2]]&2)){break g}a=N[d+12>>2];if(!a|N[a+36>>2]!=1869968492){break g}b=N[d+52>>2];if(!b){break g}Qa[N[N[a+56>>2]+20>>2]](b)}Qa[N[f+8>>2]](f,d)}}function Pj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=275552;a:{b:{if((b|0)!=1196445523){f=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;f=Q[a+16>>2]<4?275552:N[a+12>>2]}a=f;c:{if((O[a|0]|O[a+1|0]<<8)!=256){break c}b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<65537){break c}b=O[a+10|0]|O[a+11|0]<<8|(O[a+12|0]<<16|O[a+13|0]<<24);if(!b){break c}h=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}a=O[h+4|0]|O[h+5|0]<<8|(O[h+6|0]<<16|O[h+7|0]<<24);if(a){a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);m=a>>>0<=1?1:a;while(1){a=(i<<3)+h|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){j=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+h|0}else{j=275552}a=O[j|0]|O[j+1|0]<<8;if(!a){N[e>>2]=i;return}k=(a<<8|a>>>8)&65535;n=k>>>0<=1?1:k;l=0;b=0;while(1){d:{a=(b<<2)+j|0;a=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(a){f=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+j|0}else{f=275552}if((O[f|0]|O[f+1|0]<<8)!=256){break d}a=0;g=O[f+2|0]|O[f+3|0]<<8;g=(g<<8|g>>>8)&65535;if(g>>>0>>0){a=N[(g<<2)+c>>2]}g=O[f+4|0]|O[f+5|0]<<8;if((g<<8|g>>>8)<<16>>16>(a|0)){break d}g=a;a=O[f+6|0]|O[f+7|0]<<8;if((g|0)>(a<<8|a>>>8)<<16>>16){break d}b=b+1|0;l=k>>>0<=b>>>0;if((b|0)!=(n|0)){continue}}break}if(l){N[e>>2]=i;return}i=i+1|0;if((m|0)!=(i|0)){continue}break}}N[e>>2]=-1}function Cg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0;j=N[a+12>>2];if(j){N[(N[a+20>>2]+(j<<4)|0)-4>>2]=e}a:{k=j+1|0;e=N[a+16>>2];b:{c:{if(k>>>0<=e>>>0){g=N[a+20>>2];h=e;break c}h=(j&-8)+8|0;if((e|h)<0){return 6}l=N[a+20>>2];d:{e:{f:{if(!h){if(!l){break f}Qa[N[f+8>>2]](f,l);N[a+20>>2]=0;break d}i=10;if((h|0)>134217727){break b}g:{if(!e){g=Qa[N[f+4>>2]](f,h<<4)|0;i=!g<<6;break g}i=Qa[N[f+12>>2]](f,e<<4,h<<4,l)|0;g=i?i:l;i=!i<<6}if(i|(e|0)>=(h|0)|!g){break e}C((e<<4)+g|0,0,h-e<<4)}N[a+20>>2]=g;break d}N[a+20>>2]=g;if(i){break b}}N[a+16>>2]=h}e=((k<<4)+g|0)-16|0;N[e>>2]=0;N[((j<<4)+g|0)+12>>2]=0;N[a+12>>2]=k;if(!k){if(!h){g=Qa[N[f+4>>2]](f,128)|0;if(!g){break a}C(g,0,128);N[a+16>>2]=8;N[a+20>>2]=g}N[g>>2]=0;N[g+12>>2]=0;N[a+12>>2]=1;e=g}a=d+7>>>3|0;h=N[e+4>>2]+7|0;g=h>>>3|0;h:{if(a>>>0<=g>>>0){h=N[e+8>>2];break h}i=N[e+8>>2];i:{j:{a=a+7&1073741816;k:{if(!a){h=0;if(!i){break k}Qa[N[f+8>>2]](f,i);N[e+8>>2]=0;break i}l:{if(h>>>0<=7){h=Qa[N[f+4>>2]](f,a)|0;i=!h<<6;break l}f=Qa[N[f+12>>2]](f,g,a,i)|0;h=f?f:i;i=!f<<6}if(i|a>>>0<=g>>>0|!h){break j}C(g+h|0,0,a-g|0)}N[e+8>>2]=h;break i}N[e+8>>2]=h;if(i){break b}}N[e+4>>2]=a<<3}N[e>>2]=d;i=0;if(!d){break b}g=(c>>>3|0)+b|0;e=128>>>(c&7)|0;a=128;while(1){b=O[h|0];L[h|0]=O[g|0]&e?b|a:b&(a^-1);b=a>>>0<2;a=b?128:a>>1;c=e>>>0<2;e=c?128:e>>>1|0;h=b+h|0;g=c+g|0;d=d-1|0;if(d){continue}break}}return i}N[a+20>>2]=0;return 64}function Nj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=T(c,20)+a|0;k=P[f+16>>1];c:{if(!k){break c}g=O[f+18|0];M[f+16>>1]=0;if(!e){break c}h=k<<16>>16;f=h+c|0;if(f>>>0>=b>>>0){break c}Nj(a,b,f,d,e-1|0);b=g&2;if((g&1)==(b>>>1|0)){break b}if(b){if((d&-2)==4){b=T(c,20)+a|0;N[b+12>>2]=N[b+12>>2]+N[(T(f,20)+a|0)+12>>2];return}b=T(c,20)+a|0;N[b+8>>2]=N[b+8>>2]+N[(T(f,20)+a|0)+8>>2];return}g=T(c,20)+a|0;b=T(f,20)+a|0;e=N[g+8>>2]+N[b+8>>2]|0;N[g+8>>2]=e;b=N[g+12>>2]+N[b+12>>2]|0;N[g+12>>2]=b;if(c>>>0<=f>>>0){break a}d:{if((d&-3)==4){d=0-h&3;if(d){h=c+h|0;while(1){i=T(f,20)+a|0;b=b-N[i+4>>2]|0;e=e-N[i>>2]|0;f=f+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}f=d+h|0}if(k>>>0>65532){break d}while(1){d=T(f,20)+a|0;b=b-(((N[d+4>>2]+N[d+24>>2]|0)+N[d+44>>2]|0)+N[d- -64>>2]|0)|0;e=e-(N[d+60>>2]+(N[d+40>>2]+(N[d>>2]+N[d+20>>2]|0)|0)|0)|0;f=f+4|0;if((f|0)!=(c|0)){continue}break}break d}d=f+1|0;if(d>>>0>=c+1>>>0){break c}f=0-h&3;if(f){h=f+(c+h|0)|0;while(1){i=T(d,20)+a|0;b=N[i+4>>2]+b|0;e=N[i>>2]+e|0;d=d+1|0;j=j+1|0;if((f|0)!=(j|0)){continue}break}d=h+1|0}if(k>>>0>65532){break d}while(1){f=T(d,20)+a|0;b=(((N[f+4>>2]+b|0)+N[f+24>>2]|0)+N[f+44>>2]|0)+N[f- -64>>2]|0;e=N[f+60>>2]+(N[f+40>>2]+(N[f+20>>2]+(N[f>>2]+e|0)|0)|0)|0;f=d+3|0;d=d+4|0;if((c|0)!=(f|0)){continue}break}}N[g+8>>2]=e;N[g+12>>2]=b}return}ba(23893,14342,99,10300);B()}ba(13900,14342,113,10300);B()}function dq(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(a){b=N[a+204>>2];N[a+204>>2]=b-1;j=N[a>>2];if((b|0)<=1){b=N[a+16>>2];a:{if(!b){break a}while(1){i=N[((h<<2)+a|0)+20>>2];c=N[i>>2];b:{if(cb(N[c+8>>2],21646)|!(L[c|0]&1)){break b}c=N[i+16>>2];if(!c){break b}while(1){f=N[c+8>>2];c:{if(!f){break c}d=N[f+96>>2];if(!d){break c}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break c}b=N[d+16>>2];if(!b){break c}g=d+16|0;e=N[d+8>>2];while(1){if((f|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break c}break}c=N[b>>2];k=c?c+4|0:g;g=N[b+4>>2];N[k>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,b);ic(e,f,d);c=N[i+16>>2]}if(c){continue}break}b=N[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}h=0;while(1){i=N[((h<<2)+a|0)+20>>2];d:{if(!(L[N[i>>2]]&1)){break d}c=N[i+16>>2];if(!c){break d}while(1){f=N[c+8>>2];e:{if(!f){break e}d=N[f+96>>2];if(!d){break e}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break e}b=N[d+16>>2];if(!b){break e}g=d+16|0;e=N[d+8>>2];while(1){if((f|0)!=N[b+8>>2]){b=N[b+4>>2];if(b){continue}break e}break}c=N[b>>2];k=c?c+4|0:g;g=N[b+4>>2];N[k>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,b);ic(e,f,d);c=N[i+16>>2]}if(c){continue}break}b=N[a+16>>2]}h=h+1|0;if(h>>>0>>0){continue}break}if(!b){break a}while(1){nn(a,N[((b<<2)+a|0)+16>>2]);b=N[a+16>>2];if(b){continue}break}}Qa[N[j+8>>2]](j,a)}Qa[N[j+8>>2]](j,j)}}function Eg(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,o=0,p=0,q=0,r=0,s=0;f=La-16|0;e=1;a:{b:{c:{switch(N[a>>2]){case 1:break a;case 0:break b;default:break c}}while(1){i=e;while(1){d=T(i,12)+b|0;g=d-12|0;if(N[d>>2]>2]){N[f+8>>2]=N[d+8>>2];h=N[d+4>>2];N[f>>2]=N[d>>2];N[f+4>>2]=h;N[d+8>>2]=N[g+8>>2];h=N[g+4>>2];N[d>>2]=N[g>>2];N[d+4>>2]=h;N[g+8>>2]=N[f+8>>2];d=N[f+4>>2];N[g>>2]=N[f>>2];N[g+4>>2]=d;i=i-1|0;if(i){continue}}break}e=e+1|0;j=N[a>>2];if(e>>>0>>0){continue}break}e=1;if(j>>>0<2){break b}l=j-1|0;m=N[b>>2];g=0;d=1;while(1){f=(d|0)==(l|0);h=N[T(d,12)+b>>2]-m|0;d:{if(!f&(h|0)<=(c|0)){break d}i=0;d=(f&(c|0)>=(h|0))+d|0;e=g;e:{if(g>>>0>=d>>>0){break e}e=d-g|0;n=e&3;k=0;f=g;if((f^-1)+d>>>0>=3){o=e&-4;e=0;while(1){h=T(f,12)+b|0;p=N[h>>2];N[h>>2]=0;q=N[h+12>>2];N[h+12>>2]=0;r=N[h+24>>2];N[h+24>>2]=0;s=N[h+36>>2];N[h+36>>2]=0;i=s+(((i+p|0)+q|0)+r|0)|0;f=f+4|0;e=e+4|0;if((o|0)!=(e|0)){continue}break}}e=d;if(!n){break e}while(1){e=T(f,12)+b|0;h=N[e>>2];N[e>>2]=0;f=f+1|0;i=h+i|0;k=k+1|0;if((k|0)!=(n|0)){continue}break}e=d}N[T(g,12)+b>>2]=(i|0)/(e|0);if(d>>>0>=l>>>0){break d}g=d+1|0;m=N[T(g,12)+b>>2]}e=1;d=d+1|0;if(j>>>0>d>>>0){continue}break}f=1;while(1){c=T(f,12)+b|0;if(N[c>>2]){g=N[c+4>>2];d=T(e,12)+b|0;N[d>>2]=N[c>>2];N[d+4>>2]=g;N[d+8>>2]=N[c+8>>2];j=N[a>>2];e=e+1|0}f=f+1|0;if(j>>>0>f>>>0){continue}break}}N[a>>2]=e}}function Yp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}f=N[b+12>>2];e=f-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}e=f-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=O[a|0]|O[a+1|0]<<8;if(!g){break a}f=a+2|0;if(f>>>0>d>>>0){break a}h=d-f|0;d=(g<<8|g>>>8)&65535;g=T(d,3);if(h>>>0>>0){break a}e=e-g|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=d>>>0<=1?1:d;i=N[b+36>>2];d=0;while(1){e=T(d,3)+a|0;h=O[e+2|0]|O[e+3|0]<<8;if(i>>>0<=((h<<8|h>>>8)&65535)>>>0|O[e+4|0]>=c>>>0){break a}d=d+1|0;if((g|0)!=(d|0)){continue}break}if(!(O[a|0]|O[a+1|0]<<8)|(O[f|0]|O[f+1|0]<<8)){break a}d=O[a|0]|O[a+1|0]<<8;c=(d<<8|d>>>8)&65535;if(c>>>0>=2){f=1;while(1){e=275552;g=c;c=f-1|0;if(g>>>0>c>>>0){e=(T(c,3)+a|0)+2|0;d=O[a|0]|O[a+1|0]<<8}c=O[e|0]|O[e+1|0]<<8;g=(c<<8|c>>>8)&65535;c=((d<<8|(d&65280)>>>8)&65535)>>>0<=f>>>0?275552:(T(f,3)+a|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(g>>>0>=((c<<8|c>>>8)&65535)>>>0){break a}d=O[a|0]|O[a+1|0]<<8;c=(d<<8|d>>>8)&65535;f=f+1|0;if(c>>>0>f>>>0){continue}break}}c=(d?(T((d<<8|d>>>8)&65535,3)+a|0)-1|0:275552)+3|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=N[b+36>>2];b=O[a|0]|O[a+1|0]<<8;if(b){a=(T((b<<8|b>>>8)&65535,3)+a|0)-1|0}else{a=275552}a=O[a+3|0]|O[a+4|0]<<8;j=(c|0)==((a<<8|a>>>8)&65535)}return j}function hA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;C(a,0,656);N[a>>2]=N[b>>2];if(c){N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=N[b+16>>2];d=N[b+20>>2];N[a+40>>2]=b+48;N[a+36>>2]=b+40;N[a+32>>2]=b+32;N[a+28>>2]=b+28;N[a+24>>2]=b+24;N[a+20>>2]=d;d=O[b+68|0]|O[b+69|0]<<8;e=O[b+70|0];N[a+540>>2]=b+1508;f=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=f;L[a+48|0]=c;L[a+47|0]=e;L[a+45|0]=d;L[a+46|0]=d>>>8;L[a+44|0]=0;N[a+604>>2]=N[b+1348>>2];N[a+584>>2]=N[b+1352>>2];N[a+580>>2]=N[b+1356>>2];N[a+588>>2]=N[b+1472>>2];N[a+644>>2]=N[b+1468>>2];N[a+556>>2]=N[b+1364>>2];N[a+572>>2]=N[b+1368>>2];N[a+612>>2]=N[b+1372>>2];N[a+616>>2]=N[b+1376>>2];N[a+648>>2]=N[b+1496>>2];N[a+652>>2]=N[b+1500>>2];N[a+608>>2]=N[b+1360>>2];return}N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=N[b+16>>2];c=N[b+20>>2];N[a+40>>2]=b+48;N[a+36>>2]=b+40;N[a+32>>2]=b+32;N[a+28>>2]=b+28;N[a+24>>2]=b+24;N[a+20>>2]=c;c=N[b+64>>2];d=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=d;L[a+48|0]=0;N[a+44>>2]=c;c=N[b+108>>2];N[a+532>>2]=c;N[a+540>>2]=c+3104;N[a+536>>2]=N[b+768>>2];N[a+560>>2]=N[b+732>>2];N[a+576>>2]=N[b+748>>2];N[a+568>>2]=N[b+740>>2];N[a+556>>2]=N[b+728>>2];N[a+572>>2]=N[b+744>>2];c=N[b+736>>2];N[a+544>>2]=b+584;N[a+564>>2]=c;L[a+548|0]=O[b+593|0];N[a+588>>2]=N[b+760>>2];N[a+596>>2]=N[b+772>>2];N[a+600>>2]=N[b+776>>2]}function ef(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=La-128|0;La=g;f=Qn(b,0);a:{if((f|0)<0){i=1;break a}N[g>>2]=1;d=La-16|0;La=d;N[d+12>>2]=g+4;N[d>>2]=N[g>>2];N[d+4>>2]=0;c=ka(f|0,2,d|0)|0;if(c>>>0>=4294963201){N[147316]=0-c}La=d+16|0;c=g+16|0;b:{c:{if((f|0)>=0){if(O[441572]){break c}c=Ha(f|0,c|0)|0;break b}if((f|0)!=-100){break c}break c}c=Ga(f|0,441572,c|0,4096)|0}if(c>>>0>=4294963201){N[147316]=0-c;c=-1}d:{if((c|0)<0){break d}c=N[g+56>>2];d=N[g+60>>2];if(c>>>0>2147483647&(d|0)>=0|(d|0)>0|!(c|d)){break d}N[a+8>>2]=0;N[a+4>>2]=c;e:{if(c>>>0>=2147483647){N[147316]=48;c=-1;break e}f:{g:{e=kb(40);d=Ca(c|0,1,2,f|0,0,e+8|0,e|0)|0;if((d|0)>=0){N[e+12>>2]=f;break g}_a(e);break f}N[e+32>>2]=1;N[e+16>>2]=2;N[e+4>>2]=c;N[e+24>>2]=0;N[e+28>>2]=0;N[e+36>>2]=N[147574];N[147574]=e;d=N[e>>2]}c=d;c=(c|0)==-63?-63:c;if(c>>>0>=4294963201){N[147316]=0-c;c=-1}}N[a>>2]=c;if(c+1>>>0>1){d=111}else{d=N[a+4>>2];c=kb(d);N[a>>2]=c;if(!c){break d}while(1){e=N[a>>2]+h|0;c=La-16|0;La=c;N[c+12>>2]=d-h;N[c+8>>2]=e;d=oa(f|0,c+8|0,1,c+4|0)|0;if(d){N[147316]=d;d=-1}else{d=0}La=c+16|0;c=d?-1:N[c+4>>2];h:{if((c|0)<=0){if((c|0)==-1&N[147316]==27){break h}_a(N[a>>2]);break d}h=c+h|0}d=N[a+4>>2];if((h|0)!=(d|0)){continue}break}d=112}N[a+24>>2]=d;fi(f);N[a+20>>2]=0;N[a+16>>2]=b;N[a+12>>2]=N[a>>2];break a}fi(f);N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0;i=81}La=g+128|0;return i}function Tc(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}i=a-24|0;while(1){b=N[i>>2];if(!b){b=275552;break a}d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1330851634,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{g:{if(!b){break g}d=N[b>>2];if(!d){break g}if((d|0)<=0){break f}N[b>>2]=d+1}L[c+28|0]=0;N[c+36>>2]=b;g=N[b+12>>2];N[c+8>>2]=g;f=N[b+16>>2];h=f+g|0;N[c+12>>2]=h;if((f|0)<0){break e}N[c+32>>2]=0;d=c;if(f>>>0>67108863){e=1073741823}else{e=f<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[d+16>>2]=e;N[c+24>>2]=0;N[c+4>>2]=0;if(!g){ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break c}if(f>>>0<78){break d}N[c+16>>2]=e-78;d=O[g|0]|O[g+1|0]<<8;h:{if(!d){break h}if(f-78>>>0<8){break d}N[c+16>>2]=e-86;d=d<<8|d>>>8;if((d&65535)>>>0<2){break h}if(f-86>>>0<10|g+86>>>0>h>>>0){break d}N[c+16>>2]=e-96;if((d&65535)>>>0<5){break h}if((f&-4)==96|g+96>>>0>h>>>0){break d}N[c+16>>2]=e-100}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if(N[b+4>>2]){N[b+4>>2]=0}break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;ab(b);b=275552}d=b;b=N[a>>2];i:{if(d){if(b){break i}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<78?275552:N[b+12>>2]}function Yc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+88>>2];b=N[a+32>>2]+(b<<4)|0;g=N[b+8>>2];M[h+12>>1]=g+32>>>6;j=N[b+12>>2];M[h+14>>1]=j+32>>>6;if(L[a+8|0]&1){l=h+12|0;b=P[a+68>>1];a:{if(!b){e=2147483647;N[h+16>>2]=(g|0)<0?-2147483647:2147483647;break a}e=g>>31;d=(e^g)-e|0;b:{if(d>>>0<=65535){e=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break b}e=2147483647;c=d>>>16|0;if(c>>>0>=b>>>0){break b}d=d<<16|b>>>1;i=W(c);f=32-i|0;c=d>>>f|c<>>0)/(b>>>0)|0;c=c-T(b,e)|0;d=d<>>31;f=c>>>0>=b>>>0;c=c-(f?b:0)|0;e=f|e<<1;f=31-i|0;d=d<<1}if((i|0)==31){break b}while(1){c=c<<1|d>>>31;i=c>>>0>=b>>>0;c=d>>>30&1|c-(i?b:0)<<1;k=c>>>0>=b>>>0;c=c-(k?b:0)|0;e=e<<2|i<<1|k;d=d<<2;f=f-2|0;if(f){continue}break}}N[h+16>>2]=(g|0)<0?0-e|0:e;e=j>>31;d=(e^j)-e|0;if(d>>>0<=65535){e=((d<<16|b>>>1)>>>0)/(b>>>0)|0;break a}e=2147483647;c=d>>>16|0;if(c>>>0>=b>>>0){break a}d=d<<16|b>>>1;g=W(c);f=32-g|0;c=d>>>f|c<>>0)/(b>>>0)|0;c=c-T(b,e)|0;d=d<>>31;f=c>>>0>=b>>>0;c=c-(f?b:0)|0;e=f|e<<1;f=31-g|0;d=d<<1}if((g|0)==31){break a}while(1){c=c<<1|d>>>31;g=c>>>0>=b>>>0;c=d>>>30&1|c-(g?b:0)<<1;i=c>>>0>=b>>>0;c=c-(i?b:0)|0;e=i|(e<<2|g<<1);d=d<<2;f=f-2|0;if(f){continue}break}}N[h+20>>2]=(j|0)<0?0-e|0:e;sn(a,l);return}N[h+28>>2]=0;N[h+24>>2]=j;N[h+16>>2]=65536;N[h+20>>2]=65536;a=M[b>>1];N[h+36>>2]=g;N[h+32>>2]=a<<6}function Sk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=La-16|0;La=j;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}else{f=275552}h=N[d+64>>2];k=vb(f,N[N[d+80>>2]+T(h,20)>>2]);c=0;a:{if((k|0)==-1){break a}N[b+4>>2]=h;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];f=0;f=(h|0)==N[c+64>>2]?O[(N[c+80>>2]+T(h,20)|0)+15|0]:f;N[b+12>>2]=8;L[b+23|0]=O[b+22|0]?f:0;g=b+4|0;if(!he(g,j+12|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[j+12>>2],N[d+64>>2]+1|0,0,1);c=0;break a}h=N[g>>2];c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}e=vb(c,N[N[d+80>>2]+T(h,20)>>2]);if((e|0)==-1){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,h,N[d+64>>2]+1|0,0,1);c=0;break a}f=275552;c=275552;i=O[a+10|0]|O[a+11|0]<<8;if(i){c=((i<<8|i>>>8)&65535)+a|0}i=O[c|0]|O[c+1|0]<<8;b:{if(e>>>0>=((i<<8|i>>>8)&65535)>>>0){break b}e=(e<<1)+c|0;e=O[e+2|0]|O[e+3|0]<<8;if(!e){break b}f=((e<<8|e>>>8)&65535)+c|0}c=O[f|0]|O[f+1|0]<<8;if(!c){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[g>>2],N[d+64>>2]+1|0,0,1);c=0;break a}c=(c<<8|c>>>8)&65535;g=N[d+80>>2];e=O[(g+T(h,20)|0)+14|0];if(e>>>0>=32){d=O[(g+T(N[d+64>>2],20)|0)+14|0];g=d&16?0:d&15;c=(d^e)>>>0<32?g?c>>>0>>0?c:g:c:c}d=c-1|0;c=O[a+8|0]|O[a+9|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}a=O[a+6|0]|O[a+7|0]<<8;c=_g(c,b,k,d,f,(a<<8|a>>>8)&65535,h)}La=j+16|0;return c}function fm(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;i=La-16|0;La=i;f=3;e=N[b+188>>2];a:{if(!e){break a}h=b+196|0;g=N[b+192>>2];b:{while(1){c:{if(N[g+(d<<4)>>2]==(c|0)){f=83;d=N[(g+(d<<4)|0)+12>>2];c=N[a+8>>2];if(d>>>0>>0|(d-c|0)<0){break a}c=N[a+20>>2];if(!c){break c}if(Qa[c|0](a,d,0,0)|0){break a}c=N[a+4>>2];break b}d=d+1|0;if((e|0)!=(d|0)){continue}break a}break}c=N[a+4>>2];if(d>>>0>c>>>0){break a}}N[a+8>>2]=d;d:{if(d+3>>>0>=c>>>0){break d}e:{f:{g:{h:{c=N[a+20>>2];i:{if(c){if((Qa[c|0](a,d,i+12|0,4)|0)!=4){break d}d=N[a+8>>2];c=i+12|0;break i}c=N[a>>2];if(!c){break h}c=c+d|0}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);N[a+8>>2]=d+4;d=c&-256;if((d|256)!=256){break e}e=c&4;c=!e;if(!e){break g}f=rb(a,43344,h);if(!f){break f}break a}N[a+8>>2]=d+4;d=0;c=1}f=rb(a,43408,h);if(f){break a}}g=N[b+204>>2];e=g>>31;if((e^g)-e>>>0>=32768){N[b+204>>2]=(g|0)<0?-32767:32767}g=N[b+208>>2];e=g>>31;if((e^g)-e>>>0>=32768){N[b+208>>2]=(g|0)<0?-32767:32767}g=c?43504:43472;e=b+216|0;f=rb(a,g,e);if(f){break a}c=b+232|0;f=rb(a,g,c);if(f){break a}h=b+248|0;if((d|0)==256){f=rb(a,g,h);if(f){break a}f=rb(a,g,b+264|0);break a}a=N[e+4>>2];N[h>>2]=N[e>>2];N[h+4>>2]=a;a=N[e+12>>2];N[h+8>>2]=N[e+8>>2];N[h+12>>2]=a;a=N[c+12>>2];N[b+272>>2]=N[c+8>>2];N[b+276>>2]=a;a=N[c+4>>2];N[b+264>>2]=N[c>>2];N[b+268>>2]=a}f=0;break a}f=85}La=i+16|0;return f}function Ep(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,o=0,p=0,q=0,r=0;k=N[(c?16:12)+b>>2];g=N[(c?8:4)+b>>2];b=T(c,7676)+a|0;h=b+7712|0;a:{if((g|0)==N[h>>2]&N[b+7716>>2]==(k|0)){break a}N[h>>2]=g;N[b+7716>>2]=k;N[b+44>>2]=g;N[b+48>>2]=k;q=N[b+260>>2];if(!q){break a}b=g>>31;b=(b^g)-b|0;h=b&65535;m=b>>>16|0;n=b>>>8|0;r=T(c,7676)+a|0;while(1){a=T(o,28)+r|0;e=N[a+264>>2];c=e>>31;c=(c^e)-c|0;b:{if(c+n>>>0<=8190){f=T(b,c)+32768>>>16|0;break b}i=c&65535;f=T(i,m)+T(b,c>>>16|0)+(T(h,i)+32768>>>16)|0}c=f;d=0-c|0;c=e>>31|1;i=(g|0)<0;j=(((i?0-c|0:c)|0)<0?d:f)+k|0;N[a+272>>2]=j;N[a+268>>2]=j;c=N[a+276>>2];d=c>>31;d=(c^d)-d|0;c:{if(d+n>>>0<=8190){f=T(b,d)+32768>>>16|0;break c}l=d&65535;f=T(l,m)+T(b,d>>>16|0)+(T(h,l)+32768>>>16)|0}d=f;l=N[a+288>>2];N[a+288>>2]=l&-2;p=0-d|0;d=c>>31|1;d=(((i?0-d|0:d)|0)<0?p:f)+k|0;N[a+284>>2]=d;N[a+280>>2]=d;d=e-c|0;e=d>>31;e=(d^e)-e|0;d:{if(e+n>>>0<=8190){f=T(b,e)+32768>>>16|0;break d}f=e&65535;f=T(f,m)+T(b,e>>>16|0)+(T(h,f)+32768>>>16)|0}e=f;p=0-e|0;e=d>>31|1;if((((i?0-e|0:e)|0)<0?p:f)+48>>>0<=96){e=j+32&-64;N[a+272>>2]=e;d=fb(e,g)-c|0;c=d>>31;c=(c^d)-c|0;e:{if(c+n>>>0<=8190){c=T(b,c)+32768>>>16|0;break e}j=c&65535;c=T(j,m)+T(b,c>>>16|0)+(T(h,j)+32768>>>16)|0}c=i?0-c|0:c;c=(c|0)>=32?c+32&-64:0;N[a+284>>2]=e+((d|0)<0?c:0-c|0);N[a+288>>2]=l|1}o=o+1|0;if((q|0)!=(o|0)){continue}break}}}function sb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}h=a-8|0;while(1){b=N[h>>2];if(!b){b=275552;break a}d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1835104368,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{if(!b){break f}d=N[b>>2];if(!d){break f}if((d|0)<=0){break e}N[b>>2]=d+1}L[c+28|0]=0;N[c+36>>2]=b;f=N[b+12>>2];N[c+8>>2]=f;g=N[b+16>>2];N[c+12>>2]=g+f;if((g|0)<0){break d}N[c+32>>2]=0;if(g>>>0>67108863){d=1073741823}else{e=g<<6;e=e>>>0<=16384?16384:e;d=e>>>0>=1073741823?1073741823:e}N[c+16>>2]=d;N[c+24>>2]=0;N[c+4>>2]=0;if(!f){ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break c}g:{h:{i:{if(g>>>0<6){break i}N[c+16>>2]=d-6;j:{k:{l:{e=O[f|0]|O[f+1|0]<<8;switch((e<<8|e>>>8)&65535){case 0:break k;case 1:break l;default:break i}}if(g>>>0<32){break i}N[c+16>>2]=d-32;ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;break j}d=O[f+2|0]|O[f+3|0]<<8;ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if((d|0)!=80){break h}}if(!N[b+4>>2]){break g}N[b+4>>2]=0;break c}ab(b);N[c+36>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}ab(b);b=275552}break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}d=b;b=N[a>>2];m:{if(d){if(b){break m}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<6?275552:N[b+12>>2]}function op(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(d){g=(f|0)==2;m=g?256:128;n=g?128:256;l=0-f|0;while(1){i=N[c+16>>2];a:{if(i&16){break a}k=N[c+28>>2];b:{g=L[c+20|0];c:{if((g|0)==(f|0)|(g|0)==(l|0)){break c}g=L[c+21|0];if((g|0)==(f|0)){break c}if((g|0)!=(l|0)){break b}}if(!g){break b}if((f|0)==(g|0)){g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-N[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}N[c+24>>2]=h;N[c+16>>2]=i|528;break a}if((g|0)!=(l|0)){break a}g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-(N[h>>2]+N[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break a}break}N[c+24>>2]=h;N[c+16>>2]=i|1040;break a}if(!(i&64)){break a}d:{e:{if(i&n){g=0;if(!a){break a}while(1){h=N[(g<<2)+b>>2];j=k-N[h>>2]|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=528;break e}if(!(i&m)){break d}g=0;if(!a){break d}while(1){h=N[(g<<2)+b>>2];j=k-(N[h>>2]+N[h+4>>2]|0)|0;if(!((j|0)<(e|0)&(0-j|0)<(e|0))){g=g+1|0;if((g|0)!=(a|0)){continue}break d}break}g=1040}N[c+24>>2]=h;N[c+16>>2]=g|i}if(N[c+24>>2]){break a}g=0;if(!a){break a}while(1){i=N[(g<<2)+b>>2];h=N[i>>2];if(!((h|0)>(k|0)|(h+N[i+4>>2]|0)<(k|0))){N[c+24>>2]=i;break a}g=g+1|0;if((g|0)!=(a|0)){continue}break}}c=c+40|0;d=d-1|0;if(d){continue}break}}}function Zm(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,q=0,r=0,s=0,t=0,u=0,v=0;a:{if((a|0)>(b|0)){break a}h=N[(c<<3)+e>>2]>N[(d<<3)+e>>2];n=h?c:d;g=n<<3;i=N[g+f>>2];o=h?d:c;c=o<<3;k=N[c+f>>2];g=N[e+g>>2];h=N[c+e>>2];if(!((g|0)==(h|0)&(i|0)!=(k|0))){r=i-g|0;s=k-h|0;if((h|0)!=(g|0)){j=fb(i-k|0,g-h|0)}c=j>>31;i=(c^j)-c|0;q=i&65535;p=i>>>16|0;u=i>>>8|0;c=a;while(1){d=c;t=c<<3;c=N[t+e>>2];b:{if((c|0)<=(h|0)){l=c+s|0;break b}l=c+r|0;if((c|0)>=(g|0)){break b}l=c-h|0;c=l>>31;c=(c^l)-c|0;c:{if(c+u>>>0<=8190){m=T(c,i)+32768>>>16|0;break c}m=c&65535;m=T(p,m)+T(i,c>>>16|0)+(T(q,m)+32768>>>16)|0}c=m;v=0-c|0;c=l>>31|1;l=k+((((j|0)<0?0-c|0:c)|0)<0?v:m)|0}N[f+t>>2]=l;c=d+1|0;if((b|0)!=(d|0)){continue}break}}i=f+4|0;e=e+4|0;d=N[e+(o<<3)>>2]>N[e+(n<<3)>>2];j=(d?o:n)<<3;c=N[i+j>>2];d=(d?n:o)<<3;f=N[d+i>>2];h=N[e+j>>2];d=N[d+e>>2];if((h|0)==(d|0)&(c|0)!=(f|0)){break a}j=0;n=c-h|0;o=f-d|0;if((d|0)!=(h|0)){j=fb(c-f|0,h-d|0)}c=j>>31;k=(c^j)-c|0;l=k&65535;r=k>>>16|0;s=k>>>8|0;while(1){c=a;q=c<<3;a=N[q+e>>2];d:{if((a|0)<=(d|0)){g=a+o|0;break d}g=a+n|0;if((a|0)>=(h|0)){break d}g=a-d|0;a=g>>31;a=(a^g)-a|0;e:{if(a+s>>>0<=8190){m=T(a,k)+32768>>>16|0;break e}p=a&65535;m=T(p,r)+T(k,a>>>16|0)+(T(l,p)+32768>>>16)|0}a=m;p=0-a|0;a=g>>31|1;g=f+((((j|0)<0?0-a|0:a)|0)<0?p:m)|0}N[i+q>>2]=g;a=c+1|0;if((b|0)!=(c|0)){continue}break}}}function Ko(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=1;g=N[b+4>>2];a:{if(N[g+16>>2]==128){break a}while(1){d=h;b:{c:{f=N[g+12>>2];if(!f){break c}h=N[g+8>>2];if((d|0)>(h|0)){break c}while(1){d=a;a=N[d+4>>2];if(N[a+16>>2]!=128&N[a+8>>2]<=(h|0)){continue}break}i=f+h|0;e=d;while(1){a=e;e=N[a+4>>2];if(N[e+16>>2]!=128&(i|0)>N[e+8>>2]){continue}break}if(c){N[a+12>>2]=f+N[a+12>>2]}j=N[d+8>>2];f=j+N[d+12>>2]|0;d:{e:{if((a|0)==(d|0)){if((f|0)>(i|0)){e=kb(36);if(!e){k=0;break a}M[e+20>>1]=0;N[e+28>>2]=0;N[e+32>>2]=0;N[e>>2]=0;N[e+4>>2]=0;a=e+8|0;N[a>>2]=0;N[a+4>>2]=0;a=N[d+4>>2];N[a>>2]=e;N[e+4>>2]=a;L[e+20|0]=O[d+20|0];L[e+21|0]=O[d+21|0];N[e+16>>2]=N[d+16>>2];a=N[d+12>>2];f=N[d+8>>2];N[e+8>>2]=i;N[e+12>>2]=a+(f-i|0);j=N[d+8>>2];f=j+N[d+12>>2]|0}if((f|0)<(h|0)){break e}if((h|0)>(j|0)){N[d+12>>2]=h-j;break e}a=N[d>>2];_a(d);break d}f:{if((f|0)<(h|0)){break f}if((h|0)>(j|0)){N[d+12>>2]=h-j;break f}d=N[d>>2]}f=N[a+12>>2]+N[a+8>>2]|0;if((f|0)>(i|0)){N[a+8>>2]=i;N[a+12>>2]=f-i;e=a}a=N[d+4>>2];if((e|0)==(a|0)){break e}while(1){f=N[a+4>>2];_a(a);a=f;if((e|0)!=(a|0)){continue}break}}a=d}d=N[g>>2];N[d+4>>2]=N[g+4>>2];N[N[g+4>>2]>>2]=d;N[a+4>>2]=g;N[g+4>>2]=e;N[g>>2]=a;N[e>>2]=g;break b}h=d;d=g}g=N[d+4>>2];if(N[g+16>>2]!=128){continue}break}}N[N[b>>2]+4>>2]=0;while(1){a=N[b+4>>2];_a(b);b=a;if(a){continue}break}return k}function vs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{if(Q[b+160>>2]>=a+16>>>0){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>N[b+160>>2]-a>>>0){break a}d=(c-16>>>0)/12|0;c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(d>>>0>>0){break a}d:{if(!g){break d}c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);e=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(c>>>0>>0){break a}d=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);if(N[b+164>>2]){f=N[b+172>>2];e=c-e|0;if(f>>>0>>0|f-e>>>0<=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break c}}f=1;if((g|0)==1){break d}a=a+28|0;while(1){d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0>>0|c>>>0>=e>>>0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(N[b+164>>2]){h=N[b+172>>2];e=d-e|0;if(h>>>0>>0|h-e>>>0<=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}}a=a+12|0;c=d;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,16);B()}Pb(b,8);B()}function Aw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;i=N[a+84>>2];a:{b:{c:{f=N[a+8>>2];if(!(f&8)){break c}f=N[a+4>>2]&2147418112|f&32768;if(d&16){if(f){f=7;if(!(O[a+740|0]&16)){break a}}if(!O[a+292|0]){break c}if(!c){break b}if((c|0)!=1){d=c&1;c=c&-2;while(1){f=h+14|0;i=h+12|0;Qa[N[N[a+540>>2]+156>>2]](a,1,b+g|0,f,i);N[(g<<2)+e>>2]=P[h+12>>1];j=g|1;Qa[N[N[a+540>>2]+156>>2]](a,1,j+b|0,f,i);N[(j<<2)+e>>2]=P[h+12>>1];g=g+2|0;if((c|0)!=(g|0)){continue}break}f=0;if(!d){break a}}Qa[N[N[a+540>>2]+156>>2]](a,1,b+g|0,h+14|0,h+12|0);N[(g<<2)+e>>2]=P[h+12>>1];break b}if(f){f=7;if(!(O[a+740|0]&2)){break a}}if(!P[a+250>>1]){break c}if(!c){break b}if((c|0)!=1){d=c&1;c=c&-2;while(1){f=h+14|0;i=h+10|0;Qa[N[N[a+540>>2]+156>>2]](a,0,b+g|0,f,i);N[(g<<2)+e>>2]=P[h+10>>1];j=g|1;Qa[N[N[a+540>>2]+156>>2]](a,0,j+b|0,f,i);N[(j<<2)+e>>2]=P[h+10>>1];g=g+2|0;if((c|0)!=(g|0)){continue}break}f=0;if(!d){break a}}Qa[N[N[a+540>>2]+156>>2]](a,0,b+g|0,h+14|0,h+10|0);N[(g<<2)+e>>2]=P[h+10>>1];break b}if(!c){break b}if(!i){f=37;break a}l=i+(d&16?60:56)|0;while(1){f=N[a+88>>2];j=(f?256:259)|d;k=b+g|0;d:{if(!(j&1?0:f)){f=Zf(i,0,k,j);break d}if(N[f>>2]!=N[i+4>>2]){f=35;break a}f=Zf(i,f,k,j)}if(f){break a}N[(g<<2)+e>>2]=N[l>>2];g=g+1|0;if((g|0)!=(c|0)){continue}break}}f=0}La=h+16|0;return f|0}function kl(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{f:{g:{h:{if(!b){break h}c=N[b>>2];if(!c){break h}if((c|0)<=0){break g}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;e=N[b+12>>2];N[a+4>>2]=e;c=N[b+16>>2];N[a+8>>2]=c+e;if((c|0)<0){break f}N[a+28>>2]=0;if(c>>>0>67108863){c=1073741823}else{c=c<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;c=b;if(!e){break a}if(oh(e,a)){break e}i:{if(O[a+24|0]|!N[a+28>>2]){break i}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(!c){break i}while(1){L[a+24|0]=1;c=N[a+32>>2];e=N[c+12>>2];N[a+4>>2]=e;d=N[c+16>>2];N[a+8>>2]=d+e;if((d|0)<0){break f}N[a+28>>2]=0;if(d>>>0>67108863){d=1073741823}else{d=d<<6;d=d>>>0<=16384?16384:d;d=d>>>0>=1073741823?1073741823:d}N[a+12>>2]=d;N[a+20>>2]=0;N[a>>2]=0;if(!e){break a}if(oh(e,a)){break e}if(O[a+24|0]|!N[a+28>>2]){break i}c=zb(b);N[a+4>>2]=c;N[a+8>>2]=c+N[b+16>>2];if(c){continue}break}}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;break d}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[a+28>>2]){break c}N[a+28>>2]=0;c=oh(e,a);e=N[a+28>>2];ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(e){break d}if(c){break b}}ab(b);return 275552}ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}return b}ab(c);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}function zk(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;g=N[b+4>>2];if(g>>>0>a>>>0){return 0}e=N[b+8>>2];if(e>>>0>>0){return 0}if(e-a>>>0<2){return 0}f=N[b+12>>2];h=f-2|0;N[b+12>>2]=h;i=1;if((h|0)<=0){return 0}h=O[a|0]|O[a+1|0]<<8;a:{if(!h){break a}c=((h<<8|h>>>8)&65535)+c|0;d=N[d>>2];b:{if((d|0)==1936292453){if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<10){break b}d=f-12|0;N[b+12>>2]=d;if((d|0)<=0){break b}g=O[c|0]|O[c+1|0]<<8;if(!g){break b}d=O[c+8|0]|O[c+9|0]<<8;e=O[c+6|0]|O[c+7|0]<<8;f=O[c+4|0]|O[c+5|0]<<8;if(!(e|(f|(O[c+2|0]|O[c+3|0]<<8)))){if(!d){break a}}c=(g<<8|g>>>8)&65535;if(c>>>0<((e<<8|(e&65280)>>>8)&65535)>>>0|c>>>0>((d<<8|(d&65280)>>>8)&65535)>>>0|(f<<8|(f&65280)>>>8)<<16>>16<=255){break b}break a}d=d&-65536;if((d|0)!=1668677632){if((d|0)!=1936916480){break a}if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<4){break b}c=f-6|0;N[b+12>>2]=c;if((c|0)<=0){break b}break a}if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<14){break b}d=f-16|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=c+12|0;if(d>>>0>e>>>0|e-d>>>0<2){break b}f=f-18|0;N[b+12>>2]=f;if((f|0)<=0){break b}d=O[d|0]|O[d+1|0]<<8;if(!d){break a}c=c+14|0;if(c>>>0>e>>>0){break b}e=e-c|0;c=T((d<<8|d>>>8)&65535,3);if(e>>>0>>0){break b}c=f-c|0;N[b+12>>2]=c;if((c|0)>0){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;i=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;i=1}return i}function HB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=La-16544|0;La=d;a:{if(!a){a=96;break a}a=20;c=N[b+4>>2];if(!c){break a}e=M[c+2>>1];if(!e){a=0;break a}f=M[c>>1];if((f|0)<=0){a=0;break a}g=N[c+12>>2];if(!g|!N[c+4>>2]|(e|0)!=(M[((f<<1)+g|0)-2>>1]+1|0)){break a}a=19;if(O[b+8|0]&3){break a}a=6;b=N[b>>2];if(!b){break a}if(!N[b+4>>2]){a=0;break a}a=0;if(!N[b>>2]){break a}a=6;if(!N[b+12>>2]){break a}N[d+16520>>2]=N[c+16>>2];e=N[c+12>>2];a=d+16512|0;N[a>>2]=N[c+8>>2];N[a+4>>2]=e;a=N[c+4>>2];N[d+16504>>2]=N[c>>2];N[d+16508>>2]=a;c=N[b+12>>2];a=d+16488|0;N[a>>2]=N[b+8>>2];N[a+4>>2]=c;c=N[b+20>>2];a=d+16496|0;N[a>>2]=N[b+16>>2];N[a+4>>2]=c;a=N[b+4>>2];N[d+16480>>2]=N[b>>2];N[d+16484>>2]=a;a=d+16384|0;N[d+16412>>2]=a;N[d+16408>>2]=d;b=N[a+136>>2];c=b&256;N[a+20>>2]=c?30:2;N[a+16>>2]=c?256:32;c=c?12:6;N[a>>2]=c;c=1<>2]=c;N[a+12>>2]=c>>>6;N[a+8>>2]=c>>>1;b:{if(b&8){L[a+48|0]=2;break b}c=b>>>2&4;L[a+48|0]=c;if(b&32){break b}L[a+48|0]=c|1}N[a+152>>2]=345;N[a+148>>2]=346;N[a+144>>2]=347;N[a+140>>2]=348;M[a+50>>1]=N[a+100>>2];c=N[a+108>>2];N[a+52>>2]=c;b=N[a+96>>2]-1|0;e=N[a+104>>2];if((e|0)>0){N[a+52>>2]=c+T(b,e)}b=gp(a,0,b);c:{if(b){break c}if(!(O[a+137|0]&2)){N[a+152>>2]=349;N[a+148>>2]=350;N[a+144>>2]=351;N[a+140>>2]=352;b=gp(a,1,N[a+100>>2]-1|0);if(b){break c}}b=0}a=b}La=d+16544|0;return a|0}function fq(a,b,c,d){var e=0,f=U(0),g=0;e=La-112|0;La=e;a:{b:{if(Q[a+16>>2]<=c>>>0){break b}M[e+84>>1]=0;M[e+96>>1]=0;M[e+108>>1]=0;M[e+72>>1]=0;N[e+64>>2]=0;N[e+68>>2]=0;N[e+76>>2]=0;N[e+80>>2]=0;N[e+88>>2]=0;N[e+92>>2]=0;N[e+100>>2]=0;N[e+104>>2]=0;c:{if(N[b+84>>2]){N[e+48>>2]=2139095039;N[e+52>>2]=2139095039;N[e+56>>2]=-8388609;N[e+60>>2]=-8388609;L[e+44|0]=0;N[e+40>>2]=e- -64;g=N[e+44>>2];N[e+8>>2]=N[e+40>>2];N[e+12>>2]=g;g=N[e+52>>2];N[e+16>>2]=N[e+48>>2];N[e+20>>2]=g;g=N[e+60>>2];N[e+24>>2]=N[e+56>>2];N[e+28>>2]=g;N[e+36>>2]=0;N[e+32>>2]=b;g=N[e+36>>2];N[e>>2]=N[e+32>>2];N[e+4>>2]=g;if(fj(a,b,c,e)){break c}}if(d){b=N[a+8>>2];if(Q[b+4>>2]>c>>>0){a=N[b>>2]-1|0;a=a>>>0>>0?a:c;if((a|0)<0){a=275552}else{b=N[b+20>>2];a=N[(b?b:275552)+12>>2]+(a<<2)|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break a}a=0;if(N[b+8>>2]){break a}a=N[b+16>>2];break a}b=N[a+4>>2];if(Q[b+4>>2]>c>>>0){a=N[b>>2]-1|0;a=a>>>0>>0?a:c;if((a|0)<0){a=275552}else{b=N[b+20>>2];a=N[(b?b:275552)+12>>2]+(a<<2)|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break a}a=0;if(N[b+8>>2]){break a}a=N[b+16>>2];break a}if(d){f=U(R[e+92>>2]-R[e+104>>2])}else{f=U(R[e+76>>2]-R[e+64>>2])}f=U(Z(U(f+U(.5))));f=f>=U(0)?f:U(0);f=f<=U(2147483648)?f:U(2147483648);if(!(f=U(0))){break b}a=~~f>>>0;break a}a=0}La=e+112|0;return a}function Ni(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;c=La-16|0;La=c;N[c+12>>2]=N[a>>2];d=N[a+8>>2];Tb(c+12|0,d);b=N[c+12>>2];a:{if(d>>>0<=b>>>0){break a}b:{c:{d:{e:{f:{g:{h:{i:{e=O[b|0];switch(e-40|0){case 1:case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 21:case 23:case 24:case 25:case 26:case 27:case 28:case 29:case 30:case 31:case 32:case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 52:break c;case 7:break d;case 22:break e;case 20:break f;case 0:break g;case 51:case 53:break i;default:break h}}N[c+12>>2]=b+1;break b}if((e|0)!=123){break c}e=ap(c+12|0,d);break a}e=Mi(c+12|0,d);break a}if(!(O[b+1|0]!=60|b+1>>>0>=d>>>0)){N[c+12>>2]=b+2;break b}e=$o(c+12|0,d);break a}f=b+1|0;N[c+12>>2]=f;e=3;if(O[f|0]!=62|d>>>0<=f>>>0){break a}N[c+12>>2]=b+2;break b}b=b+1|0}j:{if(b>>>0>=d>>>0){break j}while(1){k:{switch(O[b|0]){case 0:case 9:case 10:case 12:case 13:case 32:case 37:case 40:case 41:case 47:case 60:case 62:case 91:case 93:case 123:case 125:break j;default:break k}}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}N[c+12>>2]=b}e=0}b=N[c+12>>2];if(b>>>0>>0){e=(b|0)==N[a>>2]?3:e}N[a+12>>2]=e;N[a>>2]=b>>>0>d>>>0?d:b;La=c+16|0}function Rk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;d=N[b+96>>2];g=O[a+2|0]|O[a+3|0]<<8;if(g){c=((g<<8|g>>>8)&65535)+a|0}else{c=275552}f=N[d+64>>2];g=vb(c,N[N[d+80>>2]+T(f,20)>>2]);c=0;a:{if((g|0)==-1){break a}N[b+4>>2]=f;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];e=(f|0)==N[c+64>>2]?O[(N[c+80>>2]+T(f,20)|0)+15|0]:e;N[b+12>>2]=N[b+140>>2]&-15;L[b+23|0]=O[b+22|0]?e:0;c=b+4|0;if(!he(c,h+12|0)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,N[h+12>>2],N[d+64>>2]+1|0,0,1);c=0;break a}f=N[c>>2];c=N[d+80>>2];i=T(f,20)+c|0;if(!(O[i+12|0]&8)){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,N[d+64>>2]+1|0,0,1);c=0;break a}e=O[i+14|0];k=e&16?0:e&15;j=N[d+64>>2];c=O[(c+T(j,20)|0)+14|0];l=c&16?0:c&15;b:{c:{if((c^e)>>>0<=31){if(c>>>0<32){break b}if((k|0)!=(l|0)){break c}break b}if(!l&c>>>0>=32){break b}if(e>>>0<32){break c}if(!k){break b}}c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,j+1|0,0,1);c=0;break a}c=O[a+4|0]|O[a+5|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,N[i>>2]);if((c|0)==-1){c=0;if(!(O[d+16|0]&64)){break a}wb(d,2,f,j+1|0,0,1);c=0;break a}d=O[a+8|0]|O[a+9|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}e=O[a+10|0]|O[a+11|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}a=O[a+6|0]|O[a+7|0]<<8;c=_g(d,b,g,c,e,(a<<8|a>>>8)&65535,f)}La=h+16|0;return c}function rC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;e=c+5|0;if(!(!d|e>>>0<2)){o=d<<3;C=e>>>1|0;p=T(c+7&-8,d);c=0;while(1){q=0;while(1){e=c-o|0;e=e>>>0>=p>>>0?440592:(e<<1)+b|0;D=M[e+8>>1];E=M[e+10>>1];z=M[e+12>>1];A=M[e+14>>1];e=c+o|0;e=e>>>0>=p>>>0?440592:(e<<1)+b|0;g=M[e>>1];r=M[e+2>>1];m=M[e+14>>1];h=M[e+4>>1];n=M[e+12>>1];i=M[e+6>>1];j=M[e+10>>1];k=M[e+8>>1];e=c>>>0>=p>>>0?440592:(c<<1)+b|0;s=M[e>>1];t=M[e+2>>1];u=M[e+14>>1];v=M[e+12>>1];w=M[e+6>>1];l=v+w|0;x=M[e+4>>1];y=M[e+10>>1];e=M[e+8>>1];f=y+e|0;M[a+6>>1]=((((u+(l+x|0)>>1)+f>>>1|0)+l>>>1|0)+f|0)+2>>>2;f=w+x|0;l=e+t|0;M[a+4>>1]=(((f+((l+s|0)+y>>1)>>>1|0)+l>>>1|0)+f|0)+2>>>2;n=i+n|0;f=m+(n+h|0)>>1;m=j+k|0;M[a+14>>1]=(((f+m>>>1|0)+n>>>1|0)+m|0)+2>>>2;k=k+r|0;f=j+(k+g|0)>>1;j=h+i|0;M[a+12>>1]=(((f+j>>>1|0)+k>>>1|0)+j|0)+2>>>2;h=h+u|0;f=(h+v|0)+i>>1;i=g+r|0;M[a+10>>1]=(((f+i>>>1|0)+h>>>1|0)+i|0)+2>>>2;f=e;e=g+y|0;g=u+v|0;M[a+8>>1]=(((((f+e|0)+r>>1)+g>>>1|0)+e>>>1|0)+g|0)+2>>>2;g=s+t|0;e=A+x|0;M[a+2>>1]=(((g+((e+z|0)+w>>1)>>>1|0)+e>>>1|0)+g|0)+2>>>2;g=z+A|0;e=s+E|0;M[a>>1]=(((g+((e+D|0)+t>>1)>>>1|0)+e>>>1|0)+g|0)+2>>>2;c=c+8|0;a=a+16|0;q=q+1|0;if((q|0)!=(d|0)){continue}break}c=c+o|0;B=B+8|0;if(C>>>0>B>>>0){continue}break}}}function no(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{A(+a);b=v(1)|0;v(0)|0;d:{e:{e=b&2147483647;if(e>>>0>=1078159482){A(+a);e=v(1)|0;e=e&2147483647;if((e|0)==2146435072&(v(0)|0)!=0|e>>>0>2146435072){break a}if((b|0)<0){return-1}if(!(a>709.782712893384)){break e}return a*898846567431158e293}if(e>>>0<1071001155){break c}if(e>>>0>1072734897){break e}if((b|0)>0|(b|0)>=0){b=1;c=1.9082149292705877e-10;g=a+-.6931471803691238;break d}b=-1;c=-1.9082149292705877e-10;g=a+.6931471803691238;break d}A(.5);b=v(1)|0;h=v(0)|0;A(+a);e=v(1)|0;v(0)|0;x(0,h|0);x(1,b&2147483647|e&-2147483648);c=a*1.4426950408889634+ +z();f:{if(V(c)<2147483648){b=~~c;break f}b=-2147483648}d=+(b|0);c=d*1.9082149292705877e-10;g=a+d*-.6931471803691238}a=g;a=a-c;c=g-a-c;break b}if(e>>>0<1016070144){break a}b=0}f=a*.5;d=a*f;g=d*(d*(d*(d*(d*-2.0109921818362437e-7+4008217827329362e-21)+-793650757867488e-19)+.0015873015872548146)+-.03333333333333313)+1;f=3-g*f;f=d*((g-f)/(6-a*f));if(!b){return a-(a*f-d)}c=a*(f-c)-c-d;g:{switch(b+1|0){case 0:return(a-c)*.5+-.5;case 2:if(a<-.25){return(c-(a+.5))*-2}a=a-c;return a+a+1;default:break g}}x(0,0);x(1,b+1023<<20);d=+z();if(b>>>0>=57){a=a-c+1;return((b|0)==1024?(a+a)*898846567431158e293:a*d)+-1}x(0,0);x(1,1023-b<<20);f=+z();a=(b>>>0<=19?1-f+(a-c):a-(c+f)+1)*d}return a}function LC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;f=La-128|0;La=f;b=N[b+12>>2];a:{b:{c:{d:{e:{f:{if((d|0)<0){if(!(N[b+8>>2]&512)|(!b|!c)){break e}g:{h:{g=N[b+128>>2];a=N[g+40>>2];switch(a+2|0){case 0:break e;case 2:break h;default:break g}}a=N[b+96>>2];h=N[N[a>>2]+32>>2];i:{if(!h){a=0;break i}a=Qa[h|0](a,9592)|0;g=N[b+128>>2]}N[g+40>>2]=a?a:-2}if(!a){break e}a=N[a+4>>2];if(!a){break e}a=Qa[a|0](b,c)|0;break f}a=0;d=d>>>0>=127?127:d;h=gg(f,c,d);L[d+h|0]=0;if(!b|!(O[b+9|0]&2)){break f}j:{k:{i=N[b+128>>2];g=N[i+40>>2];switch(g+2|0){case 2:break k;case 0:break f;default:break j}}g=N[b+96>>2];j=N[N[g>>2]+32>>2];l:{if(!j){g=0;break l}g=Qa[j|0](g,9592)|0;i=N[b+128>>2]}N[i+40>>2]=g?g:-2}if(!g){break f}g=N[g+4>>2];if(!g){break f}a=Qa[g|0](b,h)|0}N[e>>2]=a;if(a){break c}break d}N[e>>2]=0}m:{n:{if(!b){break n}L[f|0]=0;if(!(O[b+9|0]&2)|N[b+16>>2]<=0){break n}o:{p:{g=N[b+128>>2];a=N[g+40>>2];switch(a+2|0){case 0:break n;case 2:break p;default:break o}}a=N[b+96>>2];h=N[N[a>>2]+32>>2];q:{if(!h){a=0;break q}a=Qa[h|0](a,9592)|0;g=N[b+128>>2]}N[g+40>>2]=a?a:-2}if(!a){break n}a=N[a>>2];if(!a){break n}if(Qa[a|0](b,0,f,128)|(d|0)>=0){break n}if(cb(f,c)){break m}break b}if(!bb(f,c,d)){break b}}a=N[e>>2]}a=(a|0)!=0;break a}a=1}La=f+128|0;return a|0}function Zi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<8){break a}e=N[b+12>>2];c=e-8|0;N[b+12>>2]=c;if(!(O[a|0]|O[a+1|0]<<8)|(c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<4){break a}h=e-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(c>>>0>1073741823){break a}g=c<<2;if(g){i=a+8|0;if(i>>>0>d>>>0|g>>>0>d-i>>>0){break a}d=h-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}}if(!e){return 1}i=c>>>0<=1?1:c;h=0;while(1){b:{g=N[b+4>>2];d=((h<<2)+a|0)+8|0;if(g>>>0>d>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<4){break b}f=N[b+12>>2];c=f-4|0;N[b+12>>2]=c;if((c|0)<=0){break b}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);c:{if(!c){break c}if(c&128){break b}c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;d:{if(c>>>0>>0|c>>>0>e>>>0|e-c>>>0<4){break d}g=f-8|0;N[b+12>>2]=g;if((g|0)<=0){break d}f=N[b+36>>2]+1|0;if(f>>>0>1073741823){break d}f=f<<2;if(!f){break c}c=c+4|0;if(c>>>0>e>>>0|f>>>0>e-c>>>0){break d}e=g-f|0;N[b+12>>2]=e;if((e|0)>0){break c}}e=N[b+28>>2];if(e>>>0>31){break b}N[b+28>>2]=e+1;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}f=1;h=h+1|0;if((i|0)!=(h|0)){continue}break a}break}f=0}return f}function iB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-80|0;La=e;f=e- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[e+72>>2]=0;N[e+76>>2]=0;N[e+56>>2]=0;N[e+60>>2]=0;f=18;a:{if(N[b+72>>2]!=N[a+16>>2]){break a}f=19;if((c|0)!=5){break a}f=7;if(d){break a}i=N[a+8>>2];d=0;b:{h=b+76|0;f=N[h>>2];if(!(!f|!N[b+84>>2])){c=0;N[e+76>>2]=0;N[e+68>>2]=0;N[e+72>>2]=0;g=f;d=N[a+64>>2];f=d<<1;j=g+f|0;N[e+56>>2]=j;g=N[b+80>>2];L[e+74|0]=2;M[e+72>>1]=255;g=f+g|0;N[e+60>>2]=g;N[e+64>>2]=g;if((g|j)<0){f=6;break a}c:{d:{if(!(!g|!j)){f=10;if((2147483647/(g>>>0)|0)<(j|0)){break a}f=T(g,j);c=Qa[N[i+4>>2]](i,f)|0;if(!c|(j|0)<=0){break d}C(c,0,f)}N[e+68>>2]=c;break c}N[e+68>>2]=c;if(c){break c}f=!c<<6;break a}N[e+8>>2]=8;N[e+4>>2]=h;N[e>>2]=e+56;N[e+48>>2]=N[a+64>>2];L[e+52|0]=O[a+68|0];L[e+53|0]=O[a+69|0];f=Qa[N[a+56>>2]](N[a+52>>2],e)|0;if(f){break b}}f=N[b+156>>2];a=N[f+4>>2];if(a&1){c=N[b+88>>2];if(c){Qa[N[i+8>>2]](i,c);f=N[b+156>>2];a=N[f+4>>2]}N[f+4>>2]=a&-2}a=N[e+60>>2];N[h>>2]=N[e+56>>2];N[h+4>>2]=a;a=N[e+76>>2];N[h+16>>2]=N[e+72>>2];N[h+20>>2]=a;a=e- -64|0;c=N[a+4>>2];N[h+8>>2]=N[a>>2];N[h+12>>2]=c;N[b+104>>2]=N[b+104>>2]+d;N[b+100>>2]=N[b+100>>2]-d;N[f+4>>2]=N[f+4>>2]|1;f=0;break a}a=N[e+68>>2];if(!a){break a}Qa[N[i+8>>2]](i,a)}La=e+80|0;return f|0}function Js(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=-1;f=N[a+16>>2];a=O[f+6|0]|O[f+7|0]<<8|(O[f+8|0]<<16|O[f+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a:{if(!a){break a}j=f+10|0;while(1){b:{e=a+g>>>1|0;d=j+T(e,11)|0;h=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];c:{if(h>>>0>c>>>0){a=e;break c}if(c>>>0<=h>>>0){break b}g=e+1|0}if(a>>>0>g>>>0){continue}break a}break}e=O[d+7|0]|O[d+8|0]<<8|(O[d+9|0]<<16|O[d+10|0]<<24);d:{a=O[d+3|0]|O[d+4|0]<<8|(O[d+5|0]<<16|O[d+6|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break d}c=a+f|0;a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);j=c+4|0;g=0;while(1){if(a>>>0<=g>>>0){break d}c=a;a=a+g>>>1|0;d=j+(a<<2)|0;h=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];if(h>>>0>b>>>0){continue}i=1;g=a+1|0;a=c;if(h+O[d+3|0]>>>0>>0){continue}break}break a}a=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e:{if(!a){break e}c=a+f|0;a=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break e}d=c+4|0;g=0;while(1){f:{c=a+g>>>1|0;e=d+T(c,5)|0;f=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];g:{if(f>>>0>b>>>0){a=c;break g}if(b>>>0<=f>>>0){break f}g=c+1|0}if(a>>>0>g>>>0){continue}break e}break}i=0;if(O[e+4|0]|O[e+3|0]<<8){break a}}i=-1}return i|0}function Ks(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a:{h=N[a+16>>2];a=O[h+6|0]|O[h+7|0]<<8|(O[h+8|0]<<16|O[h+9|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b:{if(!a){break b}j=h+10|0;while(1){c:{g=a+f>>>1|0;e=j+T(g,11)|0;i=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];d:{if(i>>>0>d>>>0){a=g;break d}if(d>>>0<=i>>>0){break c}f=g+1|0}if(a>>>0>f>>>0){continue}break b}break}g=O[e+7|0]|O[e+8|0]<<8|(O[e+9|0]<<16|O[e+10|0]<<24);e:{a=O[e+3|0]|O[e+4|0]<<8|(O[e+5|0]<<16|O[e+6|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break e}d=a+h|0;a=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);j=d+4|0;f=0;while(1){if(a>>>0<=f>>>0){break e}d=a;a=a+f>>>1|0;e=j+(a<<2)|0;i=O[e+1|0]<<8|O[e|0]<<16|O[e+2|0];if(i>>>0>c>>>0){continue}f=a+1|0;a=d;if(i+O[e+3|0]>>>0>>0){continue}break}return Qa[N[N[b+12>>2]+12>>2]](b,c)|0}a=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(!a){break b}b=a+h|0;a=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!a){break b}g=b+4|0;f=0;while(1){b=a+f>>>1|0;d=g+T(b,5)|0;e=O[d+1|0]<<8|O[d|0]<<16|O[d+2|0];f:{if(e>>>0>c>>>0){a=b;break f}if(c>>>0<=e>>>0){break a}f=b+1|0}if(a>>>0>f>>>0){continue}break}}return 0}return O[d+4|0]|O[d+3|0]<<8}function zs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{if(Q[b+160>>2]>=a+16>>>0){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<16|c>>>0>N[b+160>>2]-a>>>0){break a}d=(c-16>>>0)/12|0;c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(d>>>0>>0){break a}d:{if(!e){break d}c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(c>>>0<(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break a}d=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);if(Q[b+172>>2]<=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0?N[b+164>>2]:0){break c}f=1;if((e|0)==1){break d}a=a+28|0;while(1){d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(g>>>0>d>>>0|c>>>0>=g>>>0){break a}c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(Q[b+172>>2]<=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0?N[b+164>>2]:0){break b}a=a+12|0;c=d;f=f+1|0;if((e|0)!=(f|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,16);B()}Pb(b,8);B()}function hC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if(!N[a+4>>2]){c=6;if(N[a+12>>2]!=1){break a}g=N[a>>2];h=N[a+28>>2];if(h){N[(N[a+36>>2]+(h<<4)|0)-4>>2]=b}j=h+1|0;f=N[a+32>>2];c:{if(j>>>0<=f>>>0){d=N[a+36>>2];break c}e=(h&-8)+8|0;if((e|f)<0){break a}i=N[a+36>>2];d:{e:{f:{if(!e){if(!i){break f}Qa[N[g+8>>2]](g,i);N[a+36>>2]=0;break d}c=10;if((e|0)>134217727){break a}g:{if(!f){d=Qa[N[g+4>>2]](g,e<<4)|0;c=!d<<6;break g}c=Qa[N[g+12>>2]](g,f<<4,e<<4,i)|0;d=c?c:i;c=!c<<6}if(c|(e|0)<=(f|0)|!d){break e}C((f<<4)+d|0,0,e-f<<4)}N[a+36>>2]=d;break d}N[a+36>>2]=d;if(c){break a}}N[a+32>>2]=e}N[((j<<4)+d|0)-16>>2]=0;N[((h<<4)+d|0)+12>>2]=0;N[a+28>>2]=j;h=N[a- -64>>2];if(h){N[(N[a+72>>2]+(h<<4)|0)-4>>2]=b}i=h+1|0;e=N[a+68>>2];h:{if(i>>>0<=e>>>0){b=N[a+72>>2];break h}f=N[a+72>>2];d=(h&-8)+8|0;if((d|e)<0){c=6;break b}i:{j:{k:{if(!d){b=0;if(!f){break k}Qa[N[g+8>>2]](g,f);N[a+72>>2]=0;break i}c=10;if((d|0)>134217727){break b}l:{if(!e){b=Qa[N[g+4>>2]](g,d<<4)|0;c=!b<<6;break l}c=Qa[N[g+12>>2]](g,e<<4,d<<4,f)|0;b=c?c:f;c=!c<<6}if(c|(d|0)<=(e|0)|!b){break j}C((e<<4)+b|0,0,d-e<<4)}N[a+72>>2]=b;break i}N[a+72>>2]=b;if(c){break a}}N[a+68>>2]=d}N[((i<<4)+b|0)-16>>2]=0;N[((h<<4)+b|0)+12>>2]=0;N[a+64>>2]=i}return}N[a+72>>2]=f}N[a+4>>2]=c}function dv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(a){c=N[a+100>>2];f=N[a+504>>2];a:{if(!f){break a}d=N[f+96>>2];if(!d){break a}e=N[f+128>>2];b=N[e+64>>2];N[e+64>>2]=b-1;if((b|0)>1){break a}b=N[d+16>>2];if(!b){break a}g=d+16|0;e=N[d+8>>2];while(1){if(N[b+8>>2]!=(f|0)){b=N[b+4>>2];if(b){continue}break a}break}h=N[b>>2];i=h?h+4|0:g;g=N[b+4>>2];N[i>>2]=g;N[(g?g:d+20|0)>>2]=h;Qa[N[e+8>>2]](e,b);ic(e,f,d)}b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+148>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+148>>2]=0;b=N[a+432>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+432>>2]=0;b=N[a+428>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+428>>2]=0;b=N[a+424>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+424>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+396>>2]=0;b=N[a+400>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+400>>2]=0;b=N[a+384>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+384>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+364>>2]=0;b=N[a+496>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+496>>2]=0;b=N[a+560>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0;N[a+556>>2]=0;N[a+560>>2]=0}}function ic(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=N[c+12>>2];d=N[b+120>>2];if(d){Qa[d|0](N[b+116>>2])}e=N[b+84>>2];if(e){while(1){h=N[e+4>>2];d=N[h+84>>2];a:{if(!d){break a}i=N[N[h+96>>2]+8>>2];b:{if((d|0)==(e|0)){g=0;break b}while(1){f=N[d+8>>2];if(!f){break a}g=d;d=f;if((e|0)!=(d|0)){continue}break}}N[(g?g+8|0:h+84|0)>>2]=N[e+8>>2];d=N[e+20>>2];if(d){Qa[d|0](e)}jg(e);Qa[N[i+8>>2]](i,e);e=N[b+84>>2]}if(e){continue}break}}if(a){d=N[b+108>>2];if(d){while(1){g=N[d+4>>2];f=N[d+8>>2];e=N[f+8>>2];if(e){Qa[e|0](f)}e=N[N[c+12>>2]+60>>2];if(e){Qa[e|0](f)}e=N[f+40>>2];if(e){Qa[N[a+8>>2]](a,e)}N[f+40>>2]=0;Qa[N[a+8>>2]](a,f);Qa[N[a+8>>2]](a,d);d=g;if(d){continue}break}}N[b+108>>2]=0;N[b+112>>2]=0}N[b+88>>2]=0;c=N[b+48>>2];if(c){Qa[c|0](b)}if(N[b+36>>2]>0){d=0;while(1){f=d<<2;c=N[f+N[b+40>>2]>>2];g=N[N[c>>2]+100>>2];e=N[N[c+12>>2]+8>>2];if(e){Qa[e|0](c)}Qa[N[g+8>>2]](g,c);N[f+N[b+40>>2]>>2]=0;d=d+1|0;if((d|0)>2]){continue}break}}c=N[b+40>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+36>>2]=0;N[b+40>>2]=0;c=N[j+52>>2];if(c){Qa[c|0](b)}c=N[b+104>>2];c:{if(!c){break c}g=N[b+8>>2];d=N[c+28>>2];f=N[c+24>>2];if(f){Qa[f|0](c)}if(g&1024){break c}Qa[N[d+8>>2]](d,c)}N[b+104>>2]=0;c=N[b+128>>2];if(c){Qa[N[a+8>>2]](a,c);N[b+128>>2]=0}Qa[N[a+8>>2]](a,b)}function ec(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{e:{f:{if(!O[a+62|0]){if(Q[a+68>>2]>>0){break d}N[a+64>>2]=b;break f}if(!O[a+60|0]){break e}f=N[a+68>>2];e=N[a+72>>2];d=N[a+64>>2];if((f+e|0)-d>>>0>>0){break c}if(b>>>0>e>>>0){if(Q[a+76>>2]<=b>>>0){if(!gb(a,b)){break e}}e=b-e|0;b=N[a+80>>2];c=N[a+84>>2];g:{if((b|0)!=(c|0)){break g}b=N[a+72>>2];if(b+e>>>0<=e+N[a+64>>2]>>>0){b=c;break g}if(!O[a+62|0]){break b}d=N[a+88>>2];N[a+84>>2]=d;b=T(b,20);if(!b){b=c;c=d;break g}F(d,c,b);b=N[a+80>>2];c=N[a+84>>2]}F(T(N[a+72>>2],20)+c|0,T(N[a+64>>2],20)+b|0,T(e,20));N[a+64>>2]=e+N[a+64>>2];N[a+72>>2]=e+N[a+72>>2];break f}if(b>>>0>=e>>>0){break f}b=e-b|0;if(b>>>0>d>>>0){e=b-d|0;g=e+f|0;if(!(!g|Q[a+76>>2]>g>>>0)){if(!gb(a,g)){break e}f=N[a+68>>2];d=N[a+64>>2]}c=N[a+80>>2]+T(d,20)|0;F(c+T(e,20)|0,c,T(f-d|0,20));c=N[a+68>>2];d=e+N[a+64>>2]|0;h:{if(c>>>0>=d>>>0){break h}f=T(d-c|0,20);if(!f){break h}C(N[a+80>>2]+T(c,20)|0,0,f);d=e+N[a+64>>2]|0;c=N[a+68>>2]}N[a+64>>2]=d;N[a+68>>2]=c+e}if(b>>>0>d>>>0){break a}c=d-b|0;N[a+64>>2]=c;d=N[a+72>>2]-b|0;N[a+72>>2]=d;F(N[a+80>>2]+T(c,20)|0,N[a+84>>2]+T(d,20)|0,T(b,20))}c=1}return c}ba(13100,17855,448,12346);B()}ba(22599,17855,455,12346);B()}ba(8694,17855,209,11932);B()}ba(8953,17855,480,12346);B()}function pm(a){var b=0,c=0,d=0,e=0;d=La-16|0;La=d;b=N[a+20>>2];a:{if(b){c=85;if(Qa[b|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;c=85;b=N[a+4>>2];if(!b){break a}e=N[a+20>>2];b:{if(e){b=Qa[e|0](a,0,d+4|0,4)|0;break b}b=b>>>0>=4?4:b;F(d+4|0,N[a>>2],b)}N[a+8>>2]=b;if(b>>>0<4){break a}c=3;if(O[d+4|0]!=31|O[d+5|0]!=139|(O[d+6|0]!=8|O[d+7|0]>31)){break a}b=b+6|0;e=N[a+20>>2];c:{d:{if(e){c=85;if(!(Qa[e|0](a,b,0,0)|0)){break d}break c}c=85;if(b>>>0>Q[a+4>>2]){break c}}N[a+8>>2]=b;c=0}N[d+8>>2]=c;b=O[d+7|0];if(b&4){b=ln(a,d+8|0);c=N[d+8>>2];if(c){break a}c=Xc(a,b);if(c){break a}b=O[d+7|0];c=0}e:{if(b&8){while(1){L[d+14|0]=0;c=N[a+8>>2];b=N[a+20>>2];f:{if(b){if((Qa[b|0](a,c,d+14|0,1)|0)!=1){break e}c=N[a+8>>2];b=d+14|0;break f}if(Q[a+4>>2]<=c>>>0){break e}b=N[a>>2]+c|0}b=O[b|0];N[a+8>>2]=c+1;if(b){continue}break}b=O[d+7|0];c=0}if(b&16){while(1){L[d+15|0]=0;c=N[a+8>>2];b=N[a+20>>2];g:{if(b){if((Qa[b|0](a,c,d+15|0,1)|0)!=1){break e}c=N[a+8>>2];b=d+15|0;break g}if(Q[a+4>>2]<=c>>>0){break e}b=N[a>>2]+c|0}b=O[b|0];N[a+8>>2]=c+1;if(b){continue}break}b=O[d+7|0];c=0}if(!(b&2)){break a}b=N[a+8>>2]+2|0;e=N[a+20>>2];h:{if(e){c=85;if(!(Qa[e|0](a,b,0,0)|0)){break h}break a}c=85;if(b>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=b;c=0;break a}c=85}La=d+16|0;return c}function Mf(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=La-272|0;La=k;l=N[N[a+96>>2]+64>>2];N[k+264>>2]=0;a:{b:{if(!Lk(a,d,e,N[j+4>>2],N[j+16>>2],k+264|0,k)){break b}o=N[k+264>>2];if(!o){l=0;break b}q=N[j+20>>2];r=N[j+8>>2];N[a+76>>2]=f;e=o-1|0;N[a+44>>2]=e;m=N[N[a+48>>2]+96>>2];N[a+80>>2]=N[m+68>>2];l=0;l=(e|0)==N[m+64>>2]?O[(N[m+80>>2]+T(e,20)|0)+15|0]:l;m=a+44|0;N[a+72>>2]=g;N[a+68>>2]=q;N[a- -64>>2]=r;L[a+63|0]=O[a+62|0]?l:0;g=o;c:{if(!f){break c}e=0;while(1){if(!kc(m,k+268|0)){l=N[k+268>>2];g=l;if(n&1){break c}break b}e=e+1|0;n=f>>>0<=e>>>0;if((e|0)!=(f|0)){continue}break}g=N[m>>2]+1|0}e=N[a+96>>2];e=N[(O[e+62|0]?72:64)+e>>2];p=N[j+12>>2];l=N[j>>2];N[a+76>>2]=b;N[a+44>>2]=e;j=N[N[a+48>>2]+96>>2];N[a+80>>2]=N[j+68>>2];f=0;n=0;n=N[j+64>>2]==(e|0)?O[(N[j+80>>2]+T(e,20)|0)+15|0]:n;N[a+72>>2]=c;N[a+68>>2]=p;N[a+64>>2]=l;L[a+63|0]=O[a+62|0]?n:0;c=1;d:{if(!b){break d}e=0;while(1){if(!he(m,k+268|0)){e=N[k+268>>2];c=1;if(f&1){break d}p=0;a=N[a+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,e,g,0,1);break a}e=e+1|0;f=e>>>0>=b>>>0;if((b|0)!=(e|0)){continue}break}e=N[m>>2];c=f}p=c;wb(N[a+96>>2],3,e,g,1,1);Kk(a,d,k,h,i,o);break a}a=N[a+96>>2];if(!(O[a+16|0]&64)){break a}wb(a,2,N[a+64>>2],l,1,0)}La=k+272|0;return p}function TD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;g=La-16|0;La=g;f=N[b>>2];a=aq(f+28|0);b=N[a+4>>2];a:{b:{c:{d:{e:{if((b|0)!=131072){if((b|0)!=65536|c>>>0>257){break d}a=c<<2;b=N[a+267632>>2];a=N[a+267636>>2]+(b^-1)|0;b=b+268668|0;break e}b=N[a+8>>2];h=O[b|0]|O[b+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0<=c>>>0){break d}b=b+(c<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0<=257){a=b<<2;b=N[a+267632>>2];a=N[a+267636>>2]+(b^-1)|0;b=b+268668|0;break e}b=b-258|0;if(b>>>0>=Q[a+16>>2]){break d}a=N[a+24>>2]+N[N[a+20>>2]+(b<<2)>>2]|0;b=a+1|0;a=O[a|0]}if(!(!e|!a)){f=b;b=e-1|0;c=a>>>0>b>>>0?b:a;gg(d,f,c);break c}b=1;if(a){break a}}b=0;f=Kg(f- -64|0);if(!N[f+44>>2]|N[f+148>>2]!=-1){break a}if(!e){break b}f:{g:{a=N[f+52>>2];h:{i:{if((a|0)!=275552){a=$p(a,c,N[f+216>>2]);break i}a=0;j:{switch(N[f+172>>2]){case 0:a=c>>>0<229?c:0;break h;case 1:if(c>>>0>165){break h}a=P[(c<<1)+265824>>1];break i;case 2:break j;default:break h}}if(c>>>0>86){break h}a=P[(c<<1)+266160>>1]}if(a>>>0>390){break g}}c=a<<2;a=N[c+270528>>2];c=N[c+270532>>2]+(a^-1)|0;a=a+272096|0;break f}gd(g+4|0,N[f+64>>2],a-391|0);c=N[g+8>>2];a=N[g+4>>2]}if(!c){break a}b=a;a=e-1|0;c=a>>>0>>0?a:c;gg(d,b,c)}L[c+d|0]=0}b=1}La=g+16|0;return b|0}function Lk(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=La-16|0;La=l;h=0;a:{if(b>>>0>64){break a}h=N[a+96>>2];j=N[h+64>>2];N[a+36>>2]=b-1;N[a+4>>2]=j;i=N[N[a+8>>2]+96>>2];N[a+40>>2]=N[i+68>>2];k=(j|0)==N[i+64>>2]?O[(N[i+80>>2]+T(j,20)|0)+15|0]:k;i=a+4|0;N[a+32>>2]=c;N[a+28>>2]=e;N[a+24>>2]=d;L[a+23|0]=O[a+22|0]?k:0;a=O[(N[h+80>>2]+T(j,20)|0)+14|0];N[g>>2]=j;b:{c:{d:{if(b>>>0<2){break d}e=a>>>5|0;k=0;d=1;e:{m=a&16?0:a&15;if((m|0)!=0&a>>>0>31){c=1;while(1){if(!kc(i,l+12|0)){break c}N[(c<<2)+g>>2]=N[i>>2];a=O[(N[h+80>>2]+T(N[i>>2],20)|0)+14|0];if((e|0)==(a>>>5|0)){a=((a&16?0:a&15)|0)==(m|0)}else{a=0}f:{if(a){break f}g:{switch(k|0){case 0:break g;case 1:break b;default:break f}}n=N[h+84>>2];k=n+14|0;a=N[h+72>>2];while(1){if(!a){break e}a=a-1|0;o=T(a,20);j=O[k+o|0];if((e|0)!=(j>>>5|0)){break e}if(!(j&15?j&16:1)){continue}break}k=2;if((Jk(i,n+o|0)|0)!=1){break e}}c=c+1|0;d=c>>>0>>0;if((b|0)!=(c|0)){continue}break}break d}while(1){if(!kc(i,l+12|0)){break c}N[(d<<2)+g>>2]=N[i>>2];a=O[(N[h+80>>2]+T(N[i>>2],20)|0)+14|0];if(!((e|0)==(a>>>5|0)|a>>>0<32|a&16)){if(a&15){break b}}d=d+1|0;if((d|0)!=(b|0)){continue}break}break d}h=0;if(d&1){break a}}N[f>>2]=N[i>>2]+1;h=1;break a}N[f>>2]=N[l+12>>2]}h=0}La=l+16|0;return h}function xf(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-32|0;La=g;if(!(!(O[b+144|0]&64)|O[b+16|0]&16)){N[g+28>>2]=0;h=N[a+96>>2];j=N[h+28>>2];k=N[a+100>>2];l=g+28|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}l=Qa[j|0](a,k,9676,l,h)|0;if(l){h=N[g+28>>2];N[b+72>>2]=0;M[b+62>>1]=1;N[b+64>>2]=0;N[b+84>>2]=N[b+80>>2];j=N[b+68>>2];a:{if(!j){break a}m=(f|0)!=-1?f:0;if((e|0)==-1){a=0;while(1){if(!O[b+60|0]){break a}f=N[b+80>>2]+T(i,20)|0;e=O[f+15|0];b:{if(!((e|0)!=(a|0)&(e&15)==(c|0))){Og(b);break b}M[g+24>>1]=0;N[g+20>>2]=0;N[g+8>>2]=h;L[g+27|0]=m;L[g+26|0]=d;N[g+16>>2]=N[f+8>>2];a=N[f+4>>2];L[g+23|0]=e;N[g+12>>2]=a;Aq(b,g+8|0);a=e}i=N[b+64>>2];if(i>>>0>2]){continue}break}break a}f=0;while(1){if(!O[b+60|0]){break a}k=N[b+80>>2]+T(i,20)|0;a=O[k+15|0];c:{if(!((a|0)==(f|0)|(a&15)!=(c|0))){M[g+24>>1]=0;N[g+20>>2]=0;N[g+8>>2]=h;L[g+27|0]=m;L[g+26|0]=d;N[g+16>>2]=N[k+8>>2];f=N[k+4>>2];L[g+23|0]=a;N[g+12>>2]=f;d:{if(i>>>0>=j>>>0){break d}while(1){if(!O[b+60|0]){break d}f=N[b+80>>2]+T(i,20)|0;if((a|0)!=O[f+15|0]|O[f+18|0]!=(e|0)){break d}Og(b);i=N[b+64>>2];if(i>>>0>2]){continue}break}}Aq(b,g+8|0);f=a;break c}Og(b)}i=N[b+64>>2];j=N[b+68>>2];if(i>>>0>>0){continue}break}}Ac(b)}i=(l|0)!=0}La=g+32|0;return i}function _u(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=N[N[N[a+4>>2]+96>>2]+28>>2];i=Kb(N[N[N[b>>2]+428>>2]+(c<<2)>>2],0);c=N[a+160>>2];e=N[c+156>>2];a:{if(!e){break a}f=N[e+4>>2];if(!(f&1)){break a}g=N[c+88>>2];if(g){e=N[N[c+4>>2]+100>>2];Qa[N[e+8>>2]](e,g);e=N[c+156>>2];f=N[e+4>>2]}N[e+4>>2]=f&-2}N[c+24>>2]=0;N[c+28>>2]=0;N[c+152>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;C(c+72|0,0,72);c=Qa[N[h+72>>2]](N[a+160>>2],N[b+44>>2],i,d|8)|0;if(!c){b=N[a+160>>2];d=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=d;d=N[b+36>>2];N[a+32>>2]=N[b+32>>2];N[a+36>>2]=d;d=N[b+44>>2];N[a+40>>2]=N[b+40>>2];N[a+44>>2]=d;d=N[b+52>>2];N[a+48>>2]=N[b+48>>2];N[a+52>>2]=d;N[a+56>>2]=N[b+56>>2];N[a+60>>2]=N[b+60>>2];N[a+72>>2]=N[b+72>>2];N[a+124>>2]=N[b+124>>2];d=N[b+120>>2];N[a+116>>2]=N[b+116>>2];N[a+120>>2]=d;d=N[b+112>>2];N[a+108>>2]=N[b+108>>2];N[a+112>>2]=d;d=N[b+96>>2];N[a+92>>2]=N[b+92>>2];N[a+96>>2]=d;d=N[b+88>>2];N[a+84>>2]=N[b+84>>2];N[a+88>>2]=d;d=N[b+80>>2];N[a+76>>2]=N[b+76>>2];N[a+80>>2]=d;N[a+100>>2]=N[b+100>>2];N[a+104>>2]=N[b+104>>2];N[a+128>>2]=N[b+128>>2];N[a+132>>2]=N[b+132>>2];N[a+136>>2]=N[b+136>>2];N[a+140>>2]=N[b+140>>2]}return c|0}function mE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=db(1,36);if(f){i=f;h=N[a+44>>2];a:{b:{if((h|0)>0){g=N[a+48>>2];c=h-1|0;a=c;c:{d:{while(1){b=a+d>>>1|0;e=N[T(b,36)+g>>2];e:{if(e>>>0>=1886545255){a=b-1|0;break e}if((e|0)==1886545254){break d}d=b+1|0}if((a|0)>=(d|0)){continue}break}a=0;break c}a=N[(T(b,36)+g|0)+28>>2]}N[f>>2]=a;d=0;a=c;f:{while(1){b=a+d>>>1|0;e=N[T(b,36)+g>>2];g:{if(e>>>0<=1651275622){d=N[(T(b,36)+g|0)+28>>2];if((e|0)==1651275622){break f}d=b+1|0;break g}a=b-1|0}if((a|0)>=(d|0)){continue}break}d=0}N[f+4>>2]=d;a=0;h:{while(1){b=a+c>>>1|0;e=N[T(b,36)+g>>2];i:{if(e>>>0<=1633842790){a=N[(T(b,36)+g|0)+28>>2];if((e|0)==1633842790){break h}a=b+1|0;break i}c=b-1|0}if((a|0)<=(c|0)){continue}break}a=0}N[f+8>>2]=a;c=0;if((h|0)<=0){break b}a=h-1|0;d=a;j:{while(1){b=c+d>>>1|0;e=N[T(b,36)+g>>2];k:{if(e>>>0<=1886614630){c=N[(T(b,36)+g|0)+28>>2];if((e|0)==1886614630){break j}c=b+1|0;break k}d=b-1|0}if((c|0)<=(d|0)){continue}break}c=0}N[f+12>>2]=c;c=0;while(1){b=a+c>>>1|0;e=N[T(b,36)+g>>2];l:{if(e>>>0<=1667654002){c=N[(T(b,36)+g|0)+28>>2];if((e|0)==1667654002){break a}c=b+1|0;break l}a=b-1|0}if((a|0)>=(c|0)){continue}break}c=0;break a}N[f+4>>2]=0;N[f+8>>2]=0}N[f+12>>2]=0;c=0}N[i+16>>2]=c}return f|0}function Gu(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0;if(!b){return 1}e=a&65535;a=a>>>16|0;if(c){while(1){i=c>>>0>=5552?5552:c;c=c-i|0;a:{if(i>>>0>=16){while(1){o=O[b|0]+e|0;p=o+O[b+1|0]|0;q=p+O[b+2|0]|0;r=q+O[b+3|0]|0;s=r+O[b+4|0]|0;t=s+O[b+5|0]|0;k=t+O[b+6|0]|0;l=k+O[b+7|0]|0;m=l+O[b+8|0]|0;n=m+O[b+9|0]|0;f=n+O[b+10|0]|0;g=f+O[b+11|0]|0;j=g+O[b+12|0]|0;h=j+O[b+13|0]|0;d=h+O[b+14|0]|0;e=d+O[b+15|0]|0;a=e+(d+(h+(j+(g+(f+(n+(m+(l+(k+(t+(s+(r+(q+(p+(a+o|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0)|0;b=b+16|0;i=i-16|0;if(i>>>0>15){continue}break}if(!i){break a}}j=i-1|0;f=i&3;b:{if(!f){h=i;d=b;break b}h=i&-4;g=0;d=b;while(1){e=O[d|0]+e|0;a=e+a|0;d=d+1|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}d=b+f|0}c:{if(j>>>0<3){break c}j=h-4|0;if(!(j&4)){f=O[d|0]+e|0;g=f+O[d+1|0]|0;h=g+O[d+2|0]|0;e=h+O[d+3|0]|0;a=e+(h+(g+(a+f|0)|0)|0)|0;h=j;d=d+4|0}if(j>>>0<4){break c}while(1){k=O[d|0]+e|0;l=k+O[d+1|0]|0;m=l+O[d+2|0]|0;n=m+O[d+3|0]|0;f=n+O[d+4|0]|0;g=f+O[d+5|0]|0;j=g+O[d+6|0]|0;e=j+O[d+7|0]|0;a=e+(((((m+(l+(a+k|0)|0)|0)+n|0)+f|0)+g|0)+j|0)|0;d=d+8|0;h=h-8|0;if(h){continue}break}}b=b+i|0}a=(a>>>0)%65521|0;e=(e>>>0)%65521|0;if(c){continue}break}}return a<<16|e}function ae(a){var b=0,c=0,d=0,e=0,f=0,g=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}g=a-4|0;while(1){b=N[g>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1751474532,N[b+16>>2])|0;if(b){break b}}b=275552}c:{d:{e:{f:{if(!b){break f}c=N[b>>2];if(!c){break f}if((c|0)<=0){break e}N[b>>2]=c+1}L[d+28|0]=0;N[d+36>>2]=b;e=N[b+12>>2];N[d+8>>2]=e;f=N[b+16>>2];N[d+12>>2]=e+f;if((f|0)<0){break d}N[d+32>>2]=0;if(f>>>0>67108863){c=1073741823}else{c=f<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[d+16>>2]=c;N[d+24>>2]=0;N[d+4>>2]=0;if(!e){ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;break c}g:{h:{i:{if(f>>>0<54){break i}N[d+16>>2]=c-54;if((O[e|0]|O[e+1|0]<<8)!=256){break i}c=O[e+12|0]|O[e+13|0]<<8|(O[e+14|0]<<16|O[e+15|0]<<24);ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;if((c|0)!=-180613281){break h}if(!N[b+4>>2]){break g}N[b+4>>2]=0;break c}ab(b);N[d+36>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0}ab(b);b=275552}break c}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}c=b;b=N[a>>2];j:{if(c){if(b){break j}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<54?275552:N[b+12>>2]}function VA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;e=La-464|0;La=e;f=b+8|0;g=N[f+4>>2];N[e+16>>2]=N[f>>2];N[e+20>>2]=g;N[e+40>>2]=N[b+32>>2];f=N[b+28>>2];N[e+32>>2]=N[b+24>>2];N[e+36>>2]=f;f=N[b+20>>2];N[e+24>>2]=N[b+16>>2];N[e+28>>2]=f;f=N[b+4>>2];g=N[b>>2];N[e+16>>2]=2;N[e+8>>2]=g;N[e+12>>2]=f;a:{switch(N[b+8>>2]-7|0){case 0:case 3:N[e+16>>2]=3;break;default:break a}}Dd(a,e+452|0);b:{if(N[e+460>>2]!=3){h=162;break b}i=N[a>>2];f=N[e+452>>2]+1|0;N[a>>2]=f;j=N[a+8>>2];h=N[e+456>>2]-1|0;N[a+8>>2]=h;g=e+48|0;c:{if(f>>>0>=h>>>0){break c}f=0;while(1){Dd(a,e+440|0);g=(e+48|0)+T(f,12)|0;if(!N[e+448>>2]){break c}if(f>>>0<=31){h=N[e+444>>2];N[g>>2]=N[e+440>>2];N[g+4>>2]=h;N[g+8>>2]=N[e+448>>2]}f=f+1|0;if(Q[a>>2]>2]){continue}break}g=(e+48|0)+T(f,12)|0}N[a+8>>2]=j;N[a>>2]=i;f=g-(e+48|0)|0;if((f|0)<0){h=162;break b}f=(f>>>0)/12|0;g=N[b+24>>2];g=f>>>0>>0?f:g;d:{if(N[b+8>>2]==7){break d}b=N[b+28>>2];if(!b){break d}L[b+N[c>>2]|0]=g}e:{if(g){f=e+48|0;b=N[e+24>>2];k=O[e+28|0];while(1){N[a>>2]=N[f>>2];N[a+8>>2]=N[f+4>>2];h=Yo(a,e+8|0,c,d,e);if(h){break e}b=b+k|0;N[e+24>>2]=b;f=f+12|0;h=(g|0)>1;g=g-1|0;if(h){continue}break}}h=0}N[a+8>>2]=j;N[a>>2]=i}La=e+464|0;return h|0}function TC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=U(0),h=0,i=0,j=U(0),k=0,l=0;d=N[b+12>>2];a:{if(O[b+6|0]){if(d){a=N[d+128>>2];j=U(N[a+12>>2]);g=U(N[a+8>>2])}else{g=U(0)}g=U(U(aa(U(U(g*g)+U(j*j))))*U(152587890625e-16));break a}g=U(N[a+32>>2]>>31|1)}b:{if(P[d+68>>1]){b=N[N[d+88>>2]+20>>2];a=b>>31;e=M[d+70>>1];f=e>>31;a=(a^b)-a|0;k=a>>>8|0;f=(e^f)-f|0;c:{if(k+f>>>0<=8190){h=T(a,f)+32768>>>16|0;break c}h=T(f,a>>>16|0)+(T(f,a&65535)+32768>>>16|0)|0}f=h;i=0-f|0;f=e>>31|1;f=(((b|0)<0?0-f|0:f)|0)<0?i:h;i=M[d+72>>1];e=i>>31;e=(e^i)-e|0;d:{if(e+k>>>0<=8190){h=T(a,e)+32768>>>16|0;break d}h=T(e,a>>>16|0)+(T(e,a&65535)+32768>>>16|0)|0}e=h;l=0-e|0;e=i>>31|1;e=(((b|0)<0?0-e|0:e)|0)<0?l:h;i=M[d+74>>1];d=i>>31;d=(d^i)-d|0;e:{if(d+k>>>0<=8190){d=T(a,d)+32768>>>16|0;break e}d=T(d,a>>>16|0)+(T(d,a&65535)+32768>>>16|0)|0}a=d;h=0-a|0;a=i>>31|1;a=e+(((((b|0)<0?0-a|0:a)|0)<0?h:d)-f|0)|0;break b}a=N[d+88>>2];e=N[a+28>>2];f=N[a+24>>2];a=(e-f|0)+N[a+32>>2]|0}j=U(g*U(a|0));f:{if(U(V(j))>2]=a;j=U(g*U(e|0));g:{if(U(V(j))>2]=a;g=U(g*U(f|0));h:{if(U(V(g))>2]=a;return 1}function bg(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=N[a+28>>2];N[c>>2]=0;e=-1;d=N[a+32>>2];j=N[a+36>>2];a:{if(d>>>0>=j>>>0){break a}i=d+1|0;N[a+32>>2]=i;g=O[d|0];if(!g){break a}e=0;if(g<<24>>24<0){if(i>>>0>>0){N[a+32>>2]=d+2;d=O[d+1|0]}else{d=0}g=d|g<<8&32512}if(b>>>0>>0){break a}b=(g<<1)+2|0;i=Qa[N[f+4>>2]](f,b)|0;if(!i){break a}C(i,0,b);N[c>>2]=g;if(g){d=N[a+32>>2];k=N[a+36>>2];while(1){b:{c:{if(d>>>0>=k>>>0){c=i+(e<<1)|0;l=0;e=e+1|0;b=0;break c}f=d+1|0;N[a+32>>2]=f;j=e+1|0;c=i+(e<<1)|0;l=O[d|0];b=l<<24>>24;if((b|0)>=0){d=f;e=j;break c}b=0;e=0;if(d+2>>>0>>0){f=d+3|0;d=O[d+1|0]|O[d+2|0]<<8;e=d<<8|d>>>8}N[a+32>>2]=f;h=e+h|0;M[c>>1]=h;d=f;e=j;f=l&127;if(!f){break b}while(1){c=0;if(d+1>>>0>>0){c=O[d|0]|O[d+1|0]<<8;c=c<<8|c>>>8;d=d+2|0}N[a+32>>2]=d;h=c+h|0;M[i+(e<<1)>>1]=h;e=e+1|0;if(g>>>0<=e>>>0){break b}b=b+1|0;if(f>>>0>b>>>0){continue}break}break b}m=0;d:{if(d>>>0>=k>>>0){f=0;break d}j=d+1|0;N[a+32>>2]=j;f=O[d|0];d=j}h=(f&255)+h|0;M[c>>1]=h;c=d;if(!b){break b}while(1){b=0;if(c>>>0>>0){d=c+1|0;N[a+32>>2]=d;b=O[c|0];c=d}h=(b&255)+h|0;M[i+(e<<1)>>1]=h;e=e+1|0;if(g>>>0<=e>>>0){break b}m=m+1|0;if(m>>>0>>0){continue}break}}if(e>>>0>>0){continue}break}}e=i}return e}function Fg(a,b,c,d){var 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;if(a&4){f=d>>31;e=(f^d)-f|0;a:{b:{c:{if((c|0)==1){if(!(a&2)){break c}break b}if(a&1){break b}}d:{a=T(c,7676)+b|0;if(!N[a+52>>2]){break d}c=N[a+60>>2];a=e-c|0;b=a>>31;if((a^b)-b>>>0>39){break d}e=(c|0)<=48?48:c;break a}if(e>>>0<=53){e=(54-e>>>1&127)+e|0;break a}if(e>>>0>191){break a}b=e&63;if(b>>>0<10){break a}a=e&2147483584;if(b>>>0<=21){e=a|10;break a}e=b-42>>>0<12?a|54:e;break a}e:{f:{g:{h:{i:{j:{b=T(c,7676)+b|0;f=N[b+52>>2];if(f){k=b+56|0;if((f|0)!=1){break j}i=98;f=e;break i}b=e+32&2147483584;f=e;break g}q=f&1;l=f&-2;i=98;b=0;f=e;while(1){m=N[(T(b|1,12)+k|0)+4>>2];h=e-m|0;n=h>>31;o=N[(T(b,12)+k|0)+4>>2];g=e-o|0;j=g>>31;g=(g^j)-j|0;p=(g|0)<(i|0);h=(h^n)-n|0;g=p?g:i;j=(h|0)<(g|0);i=j?h:g;f=j?m:p?o:f;b=b+2|0;if((l|0)!=(b|0)){continue}break}if(!q){break h}}g=N[(T(l,12)+k|0)+4>>2];b=e-g|0;h=b>>31;f=((b^h)-h|0)<(i|0)?g:f}b=f+32&-64;if((e|0)<(f|0)){break f}}b=(b|48)>(e|0)?f:e;break e}b=(b-48|0)<(e|0)?f:e}if((c|0)==1){e=64;if((b|0)<64){break a}e=b+16&-64;break a}if(a&8){e=64;if((b|0)<64){break a}e=b+32&-64;break a}if((b|0)<=47){e=b- -64>>1;break a}if(b>>>0<=127){e=b+22&-64;break a}e=b+32&-64}d=(d|0)<0?0-e|0:e}return d}function lq(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if((a|0)==275552){break a}b:{switch(O[a|0]){case 0:return O[(a+b|0)+1|0];case 3:c:{if(!(O[a+1|0]|O[a+2|0]<<8)){i=275552;e=0;break c}i=a+3|0;e=O[a+1|0]|O[a+2|0]<<8}g=(e<<8|(e&65280)>>>8)&65535;d:{if(g>>>0>=2){d=g-2|0;while(1){h=d+f>>>1|0;c=T(h,3)+i|0;j=O[c|0]|O[c+1|0]<<8;e:{if(((j<<8|j>>>8)&65535)>>>0<=b>>>0){f=O[c+3|0]|O[c+4|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>b>>>0){break d}f=h+1|0;break e}d=h-1|0}if((d|0)>=(f|0)){continue}break}}if(!(e&65535)){return O[275554]}c=T(g,3)+a|0}return O[c+2|0];case 4:break b;default:break a}}f:{if(!(O[a+1|0]|O[a+2|0]<<8|(O[a+3|0]<<16|O[a+4|0]<<24))){i=275552;e=0;break f}i=a+5|0;e=O[a+1|0]|O[a+2|0]<<8|(O[a+3|0]<<16|O[a+4|0]<<24)}c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);j=c-1|0;g:{if((j|0)>0){f=c-2|0;while(1){h=d+f>>>1|0;c=T(h,6)+i|0;g=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);h:{if((g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24))>>>0<=b>>>0){d=O[c+6|0]|O[c+7|0]<<8|(O[c+8|0]<<16|O[c+9|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>b>>>0){break g}d=h+1|0;break h}f=h-1|0}if((d|0)<=(f|0)){continue}break}}if(!e){c=275552;break g}c=(T(j,6)+a|0)+5|0}a=O[c+4|0]|O[c+5|0]<<8;d=(a<<8|a>>>8)&65535}return d}function RE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{e=b;if(e){if(!c){break j}if(!d){break i}e=W(d)-W(e)|0;if(e>>>0<=31){break h}break b}if((d|0)==1|d>>>0>1){break b}b=(a>>>0)/(c>>>0)|0;Na=a-T(b,c)|0;Oa=0;Pa=0;return b}if(!a){break g}if(!d){break f}f=d-1|0;if(f&d){break f}Na=a;Oa=e&f;a=e>>>SE(d)|0;Pa=0;return a}f=c-1|0;if(!(f&c)){break e}j=(W(c)+33|0)-W(e)|0;h=0-j|0;break c}j=e+1|0;h=63-e|0;break c}Na=0;a=(e>>>0)/(d>>>0)|0;Oa=e-T(a,d)|0;Pa=0;return a}e=W(d)-W(e)|0;if(e>>>0<31){break d}break b}Na=a&f;Oa=0;if((c|0)==1){break a}c=SE(c);d=c&31;if((c&63)>>>0>=32){e=0;a=b>>>d|0}else{e=b>>>d|0;a=((1<>>d}Pa=e;return a}j=e+1|0;h=63-e|0}f=a;e=j&63;g=e&31;if((e&63)>>>0>=32){e=0;f=b>>>g|0}else{e=b>>>g|0;f=((1<>>g}h=h&63;g=h&31;if((h&63)>>>0>=32){i=a<>>32-g|b<>>31;f=f<<1|b>>>31;k=e;l=h-(e+(f>>>0>g>>>0)|0)|0;m=l>>31;i=m;e=f;l=c&i;f=e-l|0;e=k-((d&i)+(e>>>0>>0)|0)|0;i=b<<1|a>>>31;a=n|a<<1;b=i|o;k=m&1;n=k;j=j-1|0;if(j){continue}break}}Na=f;Oa=e;i=b<<1|a>>>31;a=k|a<<1;Pa=i|o;return a}Na=a;Oa=b;a=0;b=0}Pa=b;return a}function Az(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-128|0;La=d;f=b;b=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=0|b;hb(d+112|0,f^e^2025677871,b^c^-1602871964,0,0,e^-1598805797,b^-419201327,0,0);hb(d+96|0,N[d+120>>2]^N[d+112>>2],N[d+124>>2]^N[d+116>>2],0,0,-1598805793,-419201327,0,0);c=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+80|0,(g|c)^(N[d+104>>2]^N[d+96>>2])^2025677871,b^(N[d+108>>2]^N[d+100>>2])^-1602871964,0,0,b^-1598805797,c^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805805,-419201327,0,0);b=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);hb(d+16|0,a^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,a^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+128|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function Tk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=La-16|0;La=i;e=N[b+96>>2];h=O[a+2|0]|O[a+3|0]<<8;if(h){c=((h<<8|h>>>8)&65535)+a|0}else{c=275552}g=N[e+64>>2];h=vb(c,N[N[e+80>>2]+T(g,20)>>2]);c=0;a:{if((h|0)==-1){break a}N[b+4>>2]=g;N[b+36>>2]=1;c=N[N[b+8>>2]+96>>2];N[b+40>>2]=N[c+68>>2];d=(g|0)==N[c+64>>2]?O[(N[c+80>>2]+T(g,20)|0)+15|0]:d;f=b+4|0;N[b+12>>2]=8;L[b+23|0]=O[b+22|0]?d:0;while(1){if(!he(f,i+12|0)){if(O[e+16|0]&64){wb(e,2,N[i+12>>2],N[e+64>>2]+1|0,0,1)}c=0;break a}b:{g=N[f>>2];c=N[e+80>>2]+T(g,20)|0;if(!(O[c+12|0]&64)|!g){break b}d=O[c+14|0];k=d&16?0:d&15;if(!k){break b}l=c-20|0;if((P[l+12>>1]&72)!=64){break b}j=d;d=O[l+14|0];if((j^d)>>>0>31|((d&16?1:(d&15)+1|0)|0)!=(k|0)){break b}N[b+36>>2]=N[b+36>>2]+1;c=N[b+32>>2];if(!c){continue}N[b+32>>2]=c-2;continue}break}f=O[a+4|0]|O[a+5|0]<<8;if(f){d=((f<<8|f>>>8)&65535)+a|0}else{d=275552}c=vb(d,N[c>>2]);if((c|0)==-1){c=0;if(!(O[e+16|0]&64)){break a}wb(e,2,g,N[e+64>>2]+1|0,0,1);c=0;break a}e=O[a+8|0]|O[a+9|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}f=O[a+10|0]|O[a+11|0]<<8;if(f){j=((f<<8|f>>>8)&65535)+a|0}else{j=275552}a=O[a+6|0]|O[a+7|0]<<8;c=_g(d,b,h,c,j,(a<<8|a>>>8)&65535,g)}La=i+16|0;return c}function ei(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a){return 35}d=N[a+96>>2];if(!d){return 6}h=N[d+8>>2];a:{b:{i=N[d+12>>2];c=N[i+44>>2];c:{if((c|0)<=0){g=6;f=h;if(!c){break c}break b}e=Qa[N[h+4>>2]](h,c)|0;if(!e){g=64;break b}C(e,0,c);d=N[a+96>>2];f=N[d+8>>2];i=N[d+12>>2]}N[e+4>>2]=a;N[e>>2]=N[d+4>>2];g=64;d:{c=Qa[N[f+4>>2]](f,44)|0;e:{if(!c){break e}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[e+156>>2]=c;if(!(O[N[d>>2]+1|0]&2)){d=Qa[N[f+4>>2]](f,96)|0;if(!d){break e}C(d+4|0,0,92);N[d>>2]=f;N[c>>2]=d}f=N[i+64>>2];if(!f){break d}g=Qa[f|0](e)|0;if(!g){break d}}jg(e);Qa[N[h+8>>2]](h,e);return g}N[e+8>>2]=N[a+84>>2];N[a+84>>2]=e;g=0;if(!b){break a}N[b>>2]=e;break a}if(!b){break a}N[b>>2]=0;return g}return g}function Bn(a,b){var c=0,d=0,e=0,f=0,g=0;if(!a){return 35}c=6;a:{if(!b){break a}if(!N[a+96>>2]){return 34}N[b>>2]=0;e=N[a+100>>2];g=N[N[a+96>>2]+12>>2];d=N[g+40>>2];b:{if((d|0)<=0){if(!d){break b}break a}f=Qa[N[e+4>>2]](e,d)|0;if(!f){return 64}C(f,0,d)}c:{d:{d=Qa[N[e+4>>2]](e,12)|0;if(d){L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;N[f>>2]=a;c=Qa[N[e+4>>2]](e,36)|0;if(!c){c=64;break d}L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;N[f+40>>2]=c;c=N[g+56>>2];if(c){c=Qa[c|0](f)|0;if(c){break d}}N[b>>2]=f;N[d+8>>2]=f;b=N[a+112>>2];N[d>>2]=b;N[d+4>>2]=0;N[(b?b+4|0:a+108|0)>>2]=d;N[a+112>>2]=d;return 0}c=64;if(!f){break a}break c}Qa[N[e+8>>2]](e,d)}a=N[f+40>>2];if(a){Qa[N[e+8>>2]](e,a)}N[f+40>>2]=0;Qa[N[e+8>>2]](e,f)}return c}function Lf(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;h=La-32|0;La=h;e=O[a+2|0]|O[a+3|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}e=N[b+96>>2];i=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];if((vb(d,i)|0)!=-1){f=275552;e=275552;d=O[a+4|0]|O[a+5|0]<<8;if(d){e=((d<<8|d>>>8)&65535)+a|0}d=O[a+6|0]|O[a+7|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+a|0}d=275552;g=O[a+8|0]|O[a+9|0]<<8;if(g){d=((g<<8|g>>>8)&65535)+a|0}N[h+28>>2]=d;N[h+24>>2]=f;c=c?248:249;N[h+16>>2]=c;N[h+12>>2]=(d|0)!=(f|0)?249:c;N[h+20>>2]=e;N[h+8>>2]=(e|0)!=(f|0)?249:c;c=Se(f,i);f=O[a+10|0]|O[a+11|0]<<8;c=c>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((c<<1)+a|0)+12|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}f=O[c|0]|O[c+1|0]<<8;e=0;a:{if(!f){break a}n=h+8|0;f=(f<<8|f>>>8)&65535;a=c+2|0;while(1){e=O[a|0]|O[a+1|0]<<8;if(e){e=c+((e<<8|e>>>8)&65535)|0}else{e=275552}d=O[e|0]|O[e+1|0]<<8;j=(d<<8|d>>>8)&65535;k=(j<<1)+e|0;d=k+2|0;g=O[d|0]|O[d+1|0]<<8;l=(g<<8|g>>>8)&65535;d=(g?l<<1:2)+d|0;g=O[d|0]|O[d+1|0]<<8;m=(g<<8|g>>>8)&65535;g=(m<<1)+d|0;i=O[g+2|0]|O[g+3|0]<<8;e=Mf(b,j,e+2|0,l,k+4|0,m,d+2|0,(i<<8|i>>>8)&65535,g+4|0,n);if(!e){a=a+2|0;f=f-1|0;if(f){continue}}break}}f=e}La=h+32|0;return f}function cn(a){var b=0,c=0,d=0,e=0;e=N[N[a>>2]+100>>2];b=N[a+300>>2];if(b){N[b+460>>2]=0;c=N[b+8>>2];d=N[b+24>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+20>>2]=0;N[b+24>>2]=0;d=N[b+400>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+396>>2]=0;N[b+400>>2]=0;d=N[b+500>>2];if(d){Qa[N[c+8>>2]](c,d)}M[b+496>>1]=0;N[b+500>>2]=0;d=N[b+456>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+456>>2]=0;N[b+448>>2]=0;N[b+452>>2]=0;d=N[b+412>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+408>>2]=0;N[b+412>>2]=0;N[b>>2]=0;N[b+4>>2]=0;Qa[N[c+8>>2]](c,b);N[a+300>>2]=0}b=N[a+252>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+248>>2]=0;N[a+252>>2]=0;b=N[a+260>>2];if(b){Qa[N[e+8>>2]](e,b)}M[a+256>>1]=0;N[a+260>>2]=0;b=N[a+264>>2];if(b){c=N[a+292>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+292>>2]=0;c=N[a+288>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+288>>2]=0;c=N[a+280>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+280>>2]=0;c=N[a+276>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+276>>2]=0;c=N[a+284>>2];if(c){Qa[N[b+8>>2]](b,c)}N[a+284>>2]=0;b=a+264|0;N[b+8>>2]=0;N[b>>2]=0;N[b+4>>2]=0}b=N[a+132>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+132>>2]=0;b=N[a+144>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+136>>2]=0;N[a+140>>2]=0;N[a+124>>2]=0;N[a+128>>2]=0;N[a+304>>2]=-1;N[a+308>>2]=-1;N[a+144>>2]=0;N[a+148>>2]=0;N[a+152>>2]=0}function Ty(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=La+-64|0;La=e;a:{if($b(b,584856,0)){N[c>>2]=0;f=1;break a}b:{if(O[a+8|0]&24){d=$b(a,b,1);break b}c:{if(!b){break c}g=Oc(b,584588);if(!g){break c}d=$b(a,b,(N[g+8>>2]&24)!=0)}}if(d){f=1;a=N[c>>2];if(!a){break a}N[c>>2]=N[a>>2];break a}if(!b){break a}b=Oc(b,584636);if(!b){break a}d=N[c>>2];if(d){h=N[d>>2];N[c>>2]=h}d=N[b+8>>2];g=N[a+8>>2];if(d&(g^-1)&7|g&(d^-1)&96){break a}f=1;d=N[a+12>>2];a=N[b+12>>2];if($b(d,a,0)){break a}if($b(d,584844,0)){if(!a){break a}f=!Oc(a,584688);break a}f=0;if(!d){break a}b=Oc(d,584636);if(b){if(!(g&1)){break a}d:{e:{while(1){if(!a){break e}a=Oc(a,584636);if(!a){break e}g=N[b+8>>2];if(N[a+8>>2]&(g^-1)){break e}d=N[b+12>>2];a=N[a+12>>2];b=1;if($b(d,a,0)){break d}if(!(g&1)|!d){break e}b=Oc(d,584636);if(b){continue}break}b=Oc(d,584748);if(!b){break e}f=Nn(b,a)}b=f}f=b;break a}b=Oc(d,584748);if(b){if(!(g&1)){break a}f=Nn(b,a);break a}b=Oc(d,584540);if(!b|!a){break a}a=Oc(a,584540);if(!a){break a}C(e+12|0,0,52);N[e+56>>2]=1;N[e+20>>2]=-1;N[e+16>>2]=b;N[e+8>>2]=a;Qa[N[N[a>>2]+28>>2]](a,e+8|0,h,1);a=N[e+32>>2];if(!(!N[c>>2]|(a|0)!=1)){N[c>>2]=N[e+24>>2]}f=(a|0)==1}La=e- -64|0;return f|0}function bn(a,b){var 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;g=N[a>>2];if(N[a+248>>2]){i=N[a+92>>2];d=i>>6;c=d>>31;c=(c^d)-c|0;k=c&65535;l=c>>>16|0;m=c>>>8|0;n=N[a+252>>2];o=N[g+704>>2];while(1){j=e<<2;h=N[j+o>>2];d=h>>31;d=(d^h)-d|0;a:{if(d+m>>>0<=8190){f=T(c,d)+32768>>>16|0;break a}f=d&65535;f=T(f,l)+T(c,d>>>16|0)+(T(k,f)+32768>>>16)|0}d=f;p=0-d|0;d=h>>31|1;N[n+j>>2]=(((i|0)<0?0-d|0:d)|0)<0?p:f;e=e+1|0;if(e>>>0>2]){continue}break}}c=N[a+300>>2];e=Uh(c,g,a);if(!e){L[c+593|0]=b;L[c+520|0]=0;N[c+16>>2]=0;N[c+448>>2]=0;d=N[g+696>>2];b=N[g+692>>2];N[c+480>>2]=0;N[c+484>>2]=0;N[c+476>>2]=b;N[c+472>>2]=d;e=0;if(b){N[c+372>>2]=b;N[c+364>>2]=d;N[c+368>>2]=0;N[c+360>>2]=2;e=Qa[N[g+708>>2]](c)|0}N[a+308>>2]=e;M[c+304>>1]=0;M[c+296>>1]=0;M[c+298>>1]=16384;M[c+300>>1]=0;M[c+302>>1]=16384;N[c+288>>2]=0;N[c+292>>2]=1073741824;M[c+352>>1]=1;N[c+348>>2]=65537;N[c+308>>2]=1;F(a+180|0,c+288|0,68);N[a+124>>2]=N[c+416>>2];N[a+136>>2]=N[c+428>>2];N[a+148>>2]=N[c+440>>2];N[a+152>>2]=N[c+444>>2];b=N[c+468>>2];N[a+156>>2]=N[c+464>>2];N[a+160>>2]=b;b=N[c+476>>2];N[a+164>>2]=N[c+472>>2];N[a+168>>2]=b;b=N[c+484>>2];N[a+172>>2]=N[c+480>>2];N[a+176>>2]=b}return e}function ed(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,o=0;g=La-16|0;La=g;j=N[a+4>>2];a:{while(1){b:{c:{d:{i=(k<<3)+b|0;if(!N[i>>2]){ld(j);if(N[j+12>>2]>1){break a}e=N[j>>2];f=e-1|0;l=N[j+8>>2];while(1){if(e>>>0>=l>>>0){d=e;break d}d=e+1|0;N[j>>2]=d;m=O[e|0];h=2;e=d;switch(m-10|0){case 0:case 3:break c;case 16:break d;default:continue}}}f=jf(j);N[g+8>>2]=f;if(!f){break a}d=N[j>>2];break b}h=3}N[j+12>>2]=h;N[g+8>>2]=f}h=d-f|0;e=h-1|0;e:{f:{g:{switch(N[i>>2]){case 0:case 1:h:{if((h|0)>0){d=N[a>>2];d=Qa[N[d+4>>2]](d,h)|0;if(d){break h}break f}if((d|0)!=(f|0)){break f}d=0}N[i+4>>2]=d;F(d,f,e);L[e+N[i+4>>2]|0]=0;break e;case 2:n=i,o=Qc(g+8|0,e+f|0,0),N[n+4>>2]=o;break e;case 3:N[g+12>>2]=f;l=e+f|0;h=fd(g+12|0,l,10);d=0;e=N[g+12>>2];i:{if((f|0)==(e|0)){break i}if(!(O[e|0]!=35|e>>>0>=l>>>0)){f=e+1|0;N[g+12>>2]=f;h=fd(g+12|0,l,h);e=N[g+12>>2];if((f|0)==(e|0)){break i}}N[g+8>>2]=e;d=h}N[i+4>>2]=d;break e;case 4:if((e|0)==4){d=bb(f,15452,4)}else{d=1}L[i+4|0]=!d;break e;case 5:break g;default:break e}}d=N[a+12>>2];if(!d){break f}n=i,o=Qa[d|0](f,e,N[a+16>>2])|0,N[n+4>>2]=o;break e}N[i+4>>2]=0}k=k+1|0;if((k|0)!=(c|0)){continue}break}k=c}La=g+16|0;return k}function Nm(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;d=N[a+532>>2];if(!d){return 6}m=-1;k=N[d>>2];a:{if(!k){break a}i=N[d+136>>2];h=N[d+4>>2];b:{if(h){o=b>>>0>h>>>0?h:b;d=h;while(1){g=65536;e=0;c:{if(!d){break c}while(1){d:{if(e>>>0>=o>>>0){g=g>>1;break d}f=N[(e<<2)+c>>2];f=l>>>e&1?f:65536-f|0;if((f|0)<=0){g=0;e=d;break c}if(f>>>0>65535){break d}d=g>>31;d=(d^g)-d|0;e:{if(d+(f>>>8|0)>>>0<=8190){d=T(d,f)+32768>>>16|0;break e}n=d&65535;d=T(n,f>>>16|0)+T(f,d>>>16|0)+(T(f&65535,n)+32768>>>16)|0}g=(g|0)<0?0-d|0:d}d=h;e=e+1|0;if(d>>>0>e>>>0){continue}break}e=h}d=e;e=(l<<2)+i|0;if(N[e>>2]!=(g|0)){N[e>>2]=g;j=1}l=l+1|0;if((l|0)!=(k|0)){continue}break}break b}d=k&3;h=0;if(k>>>0>=4){g=k&-4;while(1){c=e<<2;f=c+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}f=(c|4)+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}f=(c|8)+i|0;if(N[f>>2]!=65536){N[f>>2]=65536;j=1}c=(c|12)+i|0;if(N[c>>2]!=65536){N[c>>2]=65536;j=1}e=e+4|0;if((g|0)!=(e|0)){continue}break}}if(!d){break b}while(1){c=(e<<2)+i|0;if(N[c>>2]!=65536){N[c>>2]=65536;j=1}e=e+1|0;h=h+1|0;if((d|0)!=(h|0)){continue}break}}if(!j){break a}m=0;N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return m|0}function Ii(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0;f=La-48|0;La=f;q=N[b+12>>2];m=N[b+4>>2];k=q-m|0;v=k>>31;r=N[b+20>>2];g=r-m|0;n=g>>31;c=UE(k,v,g,n);d=Pa;s=N[b+8>>2];o=N[b>>2];t=s-o|0;u=N[b+16>>2];e=u-o|0;j=e;w=t>>31;p=e>>31;h=UE(t,w,e,p);c=h+c|0;d=Pa+d|0;d=c>>>0>>0?d+1|0:d;a:{b:{h=N[a>>2];e=e>>31;e=(j^e)-e|0;i=g>>31;i=(i^g)-i|0;e=UE(h,h>>31,e>>>0>i>>>0?e:i,0);i=Pa;h=0-(i+((e|0)!=0)|0)|0;if(0-e>>>0>c>>>0&(h|0)>=(d|0)|(d|0)<(h|0)){break b}h=c;c=d;d=UE(g,n,g,n);y=Pa;x=UE(j,p,j,p);l=x+d|0;d=Pa+y|0;d=i+(l>>>0>>0?d+1|0:d)|0;l=e+l|0;d=l>>>0>>0?d+1|0:d;if(h>>>0>l>>>0&(c|0)>=(d|0)|(c|0)>(d|0)){break b}c=UE(j,p,k,v);d=Pa;g=UE(g,n,t,w);j=c-g|0;c=d-(Pa+(c>>>0>>0)|0)|0;k=c;d=c>>31;c=d;g=c^j;d=e>>>0>>0;c=(c^k)-((c>>>0>g>>>0)+c|0)|0;if(d&(i|0)<=(c|0)|(c|0)>(i|0)){break b}b=Gi(a,o,m,u,r);break a}c=q+r|0;N[f+28>>2]=c>>1;d=c;c=m+q|0;N[f+20>>2]=(d+c|0)+2>>2;d=s+u|0;N[f+24>>2]=d>>1;N[f+12>>2]=c>>1;c=o+s|0;N[f+8>>2]=c>>1;N[f+16>>2]=(c+d|0)+2>>2;c=N[b+4>>2];N[f>>2]=N[b>>2];N[f+4>>2]=c;c=N[b+20>>2];N[f+32>>2]=N[b+16>>2];N[f+36>>2]=c;b=0;if(!Ii(a,f)){break a}b=Ii(a,f+16|0)}La=f+48|0;return b}function xg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;i=La-32|0;La=i;g=N[b+12>>2];h=N[b+8>>2];l=g-h|0;m=l>>3;j=m&1;if(!(O[e|0]|(O[a+8|0]|!j))){a:{if((g|0)==(h|0)){g=0;k=N[b+4>>2];if(!k|N[k>>2]){break a}N[k>>2]=130;break a}b:{switch(N[h+4>>2]-1|0){case 1:g=N[h>>2]<<16;break a;case 0:g=N[h>>2];g=((g>>31)+g|0)- -8192>>14;break a;default:break b}}g=N[h>>2]}N[d>>2]=(N[N[N[a+176>>2]+536>>2]+544>>2]<<16)+g}if(!O[N[a+176>>2]+548|0]){if(l>>>0>=9){while(1){d=N[b+8>>2];g=N[b+12>>2]-d>>3;c:{if(g>>>0<=j>>>0){a=0;h=N[b+4>>2];if(!h|N[h>>2]){break c}N[h>>2]=130;break c}d:{e:{f:{a=d+(j<<3)|0;switch(N[a+4>>2]-1|0){case 0:break e;case 1:break f;default:break d}}a=N[a>>2]<<16;break c}a=N[a>>2];a=((a>>31)+a|0)- -8192>>14;break c}a=N[a>>2]}f=a+f|0;N[i+16>>2]=f;a=j+1|0;g:{if(a>>>0>=g>>>0){a=0;d=N[b+4>>2];if(!d|N[d>>2]){break g}N[d>>2]=130;break g}h:{i:{j:{a=d+(a<<3)|0;switch(N[a+4>>2]-1|0){case 0:break i;case 1:break j;default:break h}}a=N[a>>2]<<16;break g}a=N[a>>2];a=((a>>31)+a|0)- -8192>>14;break g}a=N[a>>2]}N[i+24>>2]=0;N[i+28>>2]=0;L[i+12|0]=0;f=a+f|0;N[i+20>>2]=f;Oo(c,i+12|0);j=j+2|0;if(m>>>0>j>>>0){continue}break}h=N[b+8>>2]}N[b+12>>2]=h}L[e|0]=1;La=i+32|0}function _c(a,b){var c=0,d=0,e=0,f=0;c=N[a+20>>2];if(!(O[a+13|0]?c:0)){d=N[a+16>>2];a=d>>31;c=b>>31;c=(c^b)-c|0;a=(a^d)-a|0;a:{if(c+(a>>>8|0)>>>0<=8190){c=T(a,c)+32768>>>16|0;break a}e=c&65535;c=T(e,a>>>16|0)+T(a,c>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=c;e=0-a|0;a=b>>31|1;return(((d|0)<0?0-a|0:a)|0)<0?e:c}d=N[a+24>>2];c=c-1|0;e=c>>>0>>0?d:c;while(1){b:{c=d;if((e|0)==(c|0)){c=e;break b}d=c+1|0;if(N[(T(d,20)+a|0)+36>>2]<=(b|0)){continue}}break}c:{d:{if(c){while(1){d=N[(T(c,20)+a|0)+36>>2];if((d|0)<=(b|0)){break d}c=c-1|0;if(c){continue}break}}c=0;N[a+24>>2]=0;d=N[a+36>>2];if((d|0)<=(b|0)){break c}f=N[a+40>>2];c=b-d|0;b=c>>31;d=N[a+16>>2];a=d>>31;b=(b^c)-b|0;a=(a^d)-a|0;e:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break e}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=c>>31|1;return f+((((d|0)<0?0-a|0:a)|0)<0?e:b)|0}N[a+24>>2]=c}a=T(c,20)+a|0;f=N[a+40>>2];d=b-d|0;b=d>>31;c=N[a+44>>2];a=c>>31;b=(b^d)-b|0;a=(a^c)-a|0;f:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break f}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=d>>31|1;return f+((((c|0)<0?0-a|0:a)|0)<0?e:b)|0}function eg(a){var 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;a:{if(!a){break a}b=P[a+2>>1];c=b<<16>>16;if((c|0)<=0){break a}g=2;if((c|0)==1){break a}j=N[a+4>>2];k=j+(b<<3)|0;b=j+8|0;h=N[j>>2];d=h;e=j;f=N[e+4>>2];c=f;while(1){i=N[e+12>>2];c=(c|0)<(i|0)?i:c;f=(f|0)>(i|0)?i:f;e=N[e+8>>2];d=(e|0)>(d|0)?e:d;h=(e|0)<(h|0)?e:h;e=b;b=b+8|0;if(k>>>0>b>>>0){continue}break}if((d|0)==(h|0)|(c|0)==(f|0)|((c|0)>16777216|(d|0)>16777216)){break a}if((h|0)<-16777216|(f|0)<-16777216){break a}n=M[a>>1];if((n|0)>0){e=0;b=d>>31;d=(b^d)-b|0;b=h>>31;b=17-W(d|(b^h)-b)|0;i=(b|0)>0?b:0;b=17-W(c-f|0)|0;k=(b|0)>0?b:0;q=N[a+12>>2];b=0;while(1){g=M[(m<<1)+q>>1];b:{if((g|0)<(b|0)){b=g+1|0;break b}a=(g<<3)+j|0;c=N[a>>2]>>i;a=N[a+4>>2]>>k;h=g+1|0;c:{if(!(h-b&1)){f=a;a=b;break c}d=c;c=(b<<3)+j|0;f=N[c+4>>2]>>k;c=N[c>>2]>>i;e=T(f-a|0,d+c|0)+e|0;a=b+1|0}if((b|0)!=(g|0)){while(1){o=a+1|0;d=(o<<3)+j|0;b=N[d+4>>2]>>k;l=(a<<3)+j|0;p=N[l+4>>2]>>k;d=N[d>>2]>>i;l=N[l>>2]>>i;e=T(b-p|0,d+l|0)+(T(c+l|0,p-f|0)+e|0)|0;a=a+2|0;c=d;f=b;if((g|0)!=(o|0)){continue}break}}b=h}m=m+1|0;if((n|0)!=(m|0)){continue}break}g=1;if((e|0)>0){break a}g=0;if(e){break a}}g=2}return g}function Bh(a,b,c,d){var e=0,f=0,g=0,h=0;e=N[a+8264>>2];a:{if(e>>>0>b>>>0){f=N[a+68>>2];h=N[a>>2];g=N[h+20>>2];b:{if(g){e=0;if(!(Qa[g|0](h,f,0,0)|0)){break b}break a}e=0;if(f>>>0>Q[h+4>>2]){break a}}g=a+8264|0;N[h+8>>2]=f;e=N[a+40>>2];c:{if(!e){break c}N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[e>>2]=N[e+12>>2]?7:0;f=N[e+20>>2];e=N[f>>2];if((e&-2)==4){Qa[N[a+48>>2]](N[a+52>>2],N[f+12>>2]);e=N[f>>2]}if((e|0)==6){Qa[N[a+48>>2]](N[a+52>>2],N[f+4>>2])}N[f+28>>2]=0;N[f+32>>2]=0;N[f>>2]=0;e=N[f+40>>2];N[f+52>>2]=e;N[f+48>>2]=e;e=N[f+56>>2];if(!e){break c}e=Qa[e|0](0,0,0)|0;N[f+60>>2]=e;N[a+60>>2]=e}N[a+8272>>2]=g;N[a+8268>>2]=g;N[a+8264>>2]=0;N[a+28>>2]=0;N[a+12>>2]=a+72;N[a+16>>2]=0;N[a+24>>2]=a+4168;e=0}d:{if(b>>>0>e>>>0){b=b-e|0;e:{while(1){f=N[a+8268>>2];e=N[a+8272>>2]-f|0;e=b>>>0>e>>>0?e:b;N[a+8268>>2]=e+f;N[a+8264>>2]=e+N[a+8264>>2];b=b-e|0;if(!b){break e}if(!lm(a)){continue}break}return 0}if(d){break d}return 0}if(d){break d}return 0}e=0;while(1){f=N[a+8268>>2];b=N[a+8272>>2]-f|0;b=b>>>0>>0?b:d;F(c,f,b);N[a+8268>>2]=b+N[a+8268>>2];N[a+8264>>2]=b+N[a+8264>>2];e=b+e|0;d=d-b|0;if(!d){break a}c=b+c|0;if(!lm(a)){continue}break}}return e}function ih(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0){break a}c=c-a|0;if(c>>>0<4){break a}d=N[b+12>>2];e=d-4|0;N[b+12>>2]=e;if((O[a|0]|O[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<12){break a}c=d-16|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[a+6|0]|O[a+7|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<8){break a}d=0;f=La-16|0;La=f;h=N[b+4>>2];e=a+10|0;b:{if(h>>>0>e>>>0){break b}g=N[b+8>>2];if(e>>>0>g>>>0|g-e>>>0<2){break b}i=N[b+12>>2];c=i-2|0;N[b+12>>2]=c;d=1;if((c|0)<=0){d=0;break b}c=O[e|0]|O[e+1|0]<<8;if(!c){break b}c=((c<<8|c>>>8)&65535)+a|0;c:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break c}d=i-10|0;N[b+12>>2]=d;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<=0){break c}if(!hh(c+2|0,b,c)){break c}N[f+12>>2]=c;d=1;if(gh(c+6|0,b,f+12|0)){break b}}c=N[b+28>>2];if(c>>>0>31){d=0;break b}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break b}L[e|0]=0;L[e+1|0]=0;d=1}La=f+16|0;if(!d){break a}c=O[a+6|0]|O[a+7|0]<<8;d=(c<<8|c>>>8)&65535;c=O[a+8|0]|O[a+9|0]<<8;c=T(d,(c<<8|c>>>8)&65535);if(!c){return 1}a=a+12|0;if(a>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|c>>>0>d-a>>>0){break a}a=N[b+12>>2]-c|0;N[b+12>>2]=a;j=(a|0)>0}return j}function Nl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=O[b+3|0];h=d|(O[b+1|0]<<16|O[b|0]<<24|O[b+2|0]<<8);if(h){g=d&3;e=b+7|0;a:{if(h>>>0<4){d=e;break a}i=h-g|0;while(1){f=(O[e+12|0]+(O[e+8|0]+(O[e+4|0]+(O[e|0]+f|0)|0)|0)|0)+4|0;d=e+16|0;e=d;j=j+4|0;if((i|0)!=(j|0)){continue}break}}if(g){while(1){f=(O[d|0]+f|0)+1|0;d=d+4|0;k=k+1|0;if((g|0)!=(k|0)){continue}break}}d=f+1|0}else{d=1}g=N[a+28>>2];b:{c:{if(d>>>0<=g>>>0){c=N[a+32>>2];break c}N[a+36>>2]=c;f=0;if((d|g)<0|(d|0)>536870911){break b}d:{if(!g){c=Qa[N[c+4>>2]](c,d<<2)|0;e=!c<<6;break d}i=N[a+32>>2];e=Qa[N[c+12>>2]](c,g<<2,d<<2,i)|0;c=e?e:i;e=!e<<6}e:{if(!(e|(d|0)<=(g|0)|!c)){C((g<<2)+c|0,0,d-g<<2);N[a+32>>2]=c;break e}N[a+32>>2]=c;if(e){break b}}N[a+28>>2]=d}d=c;if(h){while(1){e=O[b+6|0]|(O[b+5|0]<<8|O[b+4|0]<<16);a=O[b+7|0];f=a+1|0;g=f&7;if(g){i=a+1|0;f=0;while(1){N[d>>2]=e;d=d+4|0;e=e+1|0;f=f+1|0;if((g|0)!=(f|0)){continue}break}f=i-g|0}if(a>>>0>=7){while(1){N[d>>2]=e;N[d+28>>2]=e+7;N[d+24>>2]=e+6;N[d+20>>2]=e+5;N[d+16>>2]=e+4;N[d+12>>2]=e+3;N[d+8>>2]=e+2;N[d+4>>2]=e+1;d=d+32|0;e=e+8|0;f=f-8|0;if(f){continue}break}}b=b+4|0;h=h-1|0;if(h){continue}break}}N[d>>2]=0;f=c}return f}function ck(a,b,c,d,e,f){var g=0;a:{b:{if((b|0)!=1196445523){g=275552;if((b|0)!=1196643650){break a}a=Vb(a+144|0);break b}a=mc(a+148|0)}a=N[a>>2];a=a?a:275552;g=Q[a+16>>2]<4?275552:N[a+12>>2]}a=275552;c:{if((O[g|0]|O[g+1|0]<<8)!=256){break c}b=O[g+4|0]|O[g+5|0]<<8;a=275552;if(!b){break c}a=((b<<8|b>>>8)&65535)+g|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){b=(a+T(c,6)|0)+2|0}else{b=275552}b=O[b+4|0]|O[b+5|0]<<8;if(b){a=a+((b<<8|b>>>8)&65535)|0}else{a=275552}d:{if((d|0)==65535){b=O[a|0]|O[a+1|0]<<8;c=238128;if(!b){break d}c=a+((b<<8|b>>>8)&65535)|0;break d}b=O[a+2|0]|O[a+3|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=d>>>0?275552:(a+T(d,6)|0)+4|0;b=O[b+4|0]|O[b+5|0]<<8;c=238128;if(!b){break d}c=a+((b<<8|b>>>8)&65535)|0}a=O[c+2|0]|O[c+3|0]<<8;c=a<<8|a>>>8;d=c&65535;if(e){N[e>>2]=d}if(f){if((a|0)==65535){a=0}else{a=275552;e:{if((O[g|0]|O[g+1|0]<<8)!=256){break e}b=O[g+6|0]|O[g+7|0]<<8;a=275552;if(!b){break e}a=((b<<8|b>>>8)&65535)+g|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>(c&65535)>>>0){a=(a+T(d,6)|0)+2|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}N[f>>2]=a}}function ls(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{d=a+8208|0;if(d>>>0<=Q[b+160>>2]){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0>N[b+160>>2]-a>>>0|c>>>0<=8207){break a}c=O[a+8204|0]|O[a+8205|0]<<8|(O[a+8206|0]<<16|O[a+8207|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(f>>>0>(N[b+160>>2]-d>>>0)/12>>>0){break a}if(f){g=a+12|0;c=0;while(1){e=c;j=O[d+1|0]<<16|O[d|0]<<24;a=j|(O[d+3|0]|O[d+2|0]<<8);k=O[d+5|0]<<16|O[d+4|0]<<24;c=k|(O[d+7|0]|O[d+6|0]<<8);if(a>>>0>c>>>0|(a>>>0<=e>>>0?h:0)){break a}e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);c:{if(!N[b+164>>2]){break c}l=N[b+172>>2];i=c-a|0;if(l>>>0>>0|l-i>>>0<=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0){break b}e=i+1|0;if(j){if(!e){break c}while(1){if(!(O[(a>>>19|0)+g|0]<<(a>>>16&7)&128)|!(O[(a>>>3&8191)+g|0]<<(a&7)&128)){break a}a=a+1|0;e=e-1|0;if(e){continue}break}break c}if(k){break a}if(!e){break c}while(1){if(O[(a>>>3&8191)+g|0]<<(a&7)&128){break a}a=a+1|0;e=e-1|0;if(e){continue}break}}d=d+12|0;h=h+1|0;if((f|0)!=(h|0)){continue}break}}return 0}break a}Pb(b,16);B()}Pb(b,8);B()}function Jp(a,b,c,d){var e=0,f=0,g=0,h=0,i=U(0),j=0;e=O[a|0]|O[a+1|0]<<8;g=(e<<8|e>>>8)&65535;a:{if(g>>>0<=1){if(!e){break a}e=b;b=a+2|0;a=b+(c<<1)|0;a=O[a|0]|O[a+1|0]<<8;c=e-((a<<8|a>>>8)<<16>>16)|0;a=b+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return c+((a<<8|a>>>8)<<16>>16)|0}f=a+2|0;e=f+(c<<1)|0;e=O[e|0]|O[e+1|0]<<8;e=(e<<8|e>>>8)<<16>>16;if((e|0)>=(b|0)){a=f+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)<<16>>16)+(b-e|0)|0}f=1;h=c<<1;e=g-1|0;b:{if(e>>>0<2){break b}j=a+h|0;while(1){g=j+(f<<2)|0;g=O[g+2|0]|O[g+3|0]<<8;if((g<<8|g>>>8)<<16>>16>=(b|0)){break b}f=f+1|0;if((e|0)!=(f|0)){continue}break}f=e}e=(f<<2)+a|0;g=e+2|0;a=g+h|0;a=O[a|0]|O[a+1|0]<<8;f=(a<<8|a>>>8)<<16>>16;if((f|0)<=(b|0)){a=g+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)<<16>>16)+(b-f|0)|0}h=a;e=e-2|0;a=e+(c<<1)|0;a=O[a|0]|O[a+1|0]<<8;if((h|0)==(a|0)){a=e+(d<<1)|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)<<16>>16}c=(a<<8|a>>>8)<<16>>16;i=U(b-c|0);b=d<<1;a=b+g|0;a=O[a|0]|O[a+1|0]<<8;d=(a<<8|a>>>8)<<16>>16;a=b+e|0;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)<<16>>16;i=U(Z(U(U(U(U(i*U(d-a|0))/U(f-c|0))+U(a|0))+U(.5))));if(U(V(i))>2];b=N[N[c+96>>2]+4>>2];c:{if(!b){break c}d=N[b+16>>2];if((d|0)<=0){break c}c=N[N[c+712>>2]+3080>>2];e=b+20|0;b=e+(d<<2)|0;while(1){d=N[e>>2];if(cb(N[N[d>>2]+8>>2],11971)){e=e+4|0;if(b>>>0>e>>>0){continue}break c}break}if(!c){break c}b=N[c>>2];if(b){break b}}e=0;break a}g=Qa[b|0](d)|0;if(!g){e=0;break a}b=N[a>>2];f=N[b+712>>2];c=N[b+100>>2];d=Qa[N[c+4>>2]](c,1028)|0;if(!d){e=64;break a}C(d,0,1028);b=h+12|0;Dm(f+1372|0,b);d:{e=Qa[N[g>>2]](N[N[a>>2]+100>>2],b,d)|0;if(!e){b=N[f+2024>>2];while(1){if(!b){break d}b=b-1|0;e=b<<2;i=h+12|0;Dm(N[(e+f|0)+2028>>2],i);e=Qa[N[g>>2]](N[N[a>>2]+100>>2],i,(d+e|0)+4|0)|0;if(!e){continue}break}}a=N[f+2024>>2];e:{if(!a){break e}b=a;if(b&1){b=a-1|0;f=d+(b<<2)|0;g=N[f+4>>2];if(g){Qa[N[c+8>>2]](c,g)}N[f+4>>2]=0}if((a|0)==1){break e}while(1){a=d+(b<<2)|0;f=N[a>>2];if(f){Qa[N[c+8>>2]](c,f)}N[a>>2]=0;b=b-2|0;a=d+(b<<2)|0;f=N[a+4>>2];if(f){Qa[N[c+8>>2]](c,f)}N[a+4>>2]=0;if(b){continue}break}}a=N[d>>2];if(a){Qa[N[c+8>>2]](c,a)}N[d>>2]=0;Qa[N[c+8>>2]](c,d);break a}N[N[a+40>>2]>>2]=d;N[a+44>>2]=-1;e=0}La=h+208|0;return e|0}function YA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;Tb(a,N[a+8>>2]);g=N[a+8>>2];d=N[a>>2];N[f+12>>2]=d;a:{if(d>>>0>=g>>>0){break a}b:{c:{d:{e:{f:{e=O[d|0];if((e|0)==91){i=93}else{if((e|0)!=123){break f}i=125}d=d+1|0;N[f+12>>2]=d;if(c){break e}if(d>>>0>=g>>>0){break a}while(1){Tb(f+12|0,g);e=N[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(O[e|0]==(i|0)){break b}Qc(f+12|0,g,0);d=N[f+12>>2];if((d|0)==(e|0)){break d}h=h+1|0;if(d>>>0>>0){continue}break}break a}Tb(f+12|0,g);e=N[f+12>>2];if(!c){break c}if(e>>>0>=g>>>0){d=e;break a}if(!O[e|0]){break b}if((b|0)<=0){d=e;break a}j=c,k=Qc(f+12|0,g,0)>>>16|0,M[j>>1]=k;d=N[f+12>>2];h=(d|0)==(e|0)?-1:1;break a}if(d>>>0>=g>>>0){break a}b=(b|0)>0?b:0;while(1){Tb(f+12|0,g);e=N[f+12>>2];if(g>>>0<=e>>>0){d=e;break a}if(O[e|0]==(i|0)){break b}if((b|0)==(h|0)){d=e;h=b;break a}j=(h<<1)+c|0,k=Qc(f+12|0,g,0)>>>16|0,M[j>>1]=k;d=N[f+12>>2];if((d|0)==(e|0)){break d}h=h+1|0;if(d>>>0>>0){continue}break}break a}h=-1;d=e;break a}if(e>>>0>=g>>>0){d=e;break a}if(!O[e|0]){break b}Qc(f+12|0,g,0);d=N[f+12>>2];h=(d|0)==(e|0)?-1:1;break a}d=e+1|0}N[a>>2]=d;La=f+16|0;return h|0}function Wi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{g=N[b+4>>2];if(g>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}e=N[b+12>>2];d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[a|0]|O[a+1|0]<<8;j=d<<8|d>>>8;if((j&65535)-3>>>0<4294967294|c>>>0<8){break a}c=e-12|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=a+8|0;e=O[a+6|0]|O[a+7|0]<<8;b:{if(e){e=(e<<8|e>>>8)&65535;l=e>>>0<=1?1:e;while(1){if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<2){break b}e=c-2|0;N[b+12>>2]=e;if((c|0)<3){break b}c=O[d|0]|O[d+1|0]<<8;h=((c<<8|c>>>8)&65535)<<2;c:{if(!c){c=e;break c}c=d+2|0;if(c>>>0>f>>>0|f-c>>>0>>0){break b}c=e-h|0;N[b+12>>2]=c;if((c|0)<=0){break b}}d=(h|2)+d|0;k=k+1|0;if((l|0)!=(k|0)){continue}break}}i=1;if((j&65535)>>>0<2){break b}if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<4){break a}N[b+12>>2]=c-4;if((c|0)<5){break a}c=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);d:{if(!c){break d}if(c&128){break a}if(Ed((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0,b)){break d}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;i=0;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0}i=Hf(d+4|0,b,a)}return i}return 0}function hg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-16|0;La=h;N[h>>2]=a;g=N[c+20>>2];e=g+((Qa[N[c+12>>2]](h)>>>0)%Q[c+4>>2]<<2)|0;f=N[e>>2];a:{if(!f){break a}while(1){if(Qa[N[c+16>>2]](f,h)|0){break a}e=e-4|0;if(g>>>0>e>>>0){e=(g+(N[c+4>>2]<<2)|0)-4|0}f=N[e>>2];if(f){continue}break}}b:{c:{d:{g=N[e>>2];e:{if(!g){f=64;g=Qa[N[d+4>>2]](d,8)|0;if(!g){break b}N[e>>2]=g;N[g+4>>2]=b;N[g>>2]=a;f:{if(Q[c+8>>2]>2]){break f}i=N[c+4>>2];a=i<<1;N[c+4>>2]=a;N[c>>2]=(a>>>0)/3;f=0;if((a|0)<0){f=6;break c}g=N[c+20>>2];if(a){f=10;if(a>>>0>536870911){break c}a=i<<3;f=Qa[N[d+4>>2]](d,a)|0;if(!f){break d}C(f,0,a)}N[c+20>>2]=f;if(i){b=0;a=g;while(1){e=N[a>>2];if(e){N[h+8>>2]=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=N[c+20>>2];e=f+((Qa[N[c+12>>2]](h+8|0)>>>0)%Q[c+4>>2]<<2)|0;while(1){g:{j=N[e>>2];if(!j){break g}if(Qa[N[c+16>>2]](j,h+8|0)|0){break g}e=e-4|0;if(f>>>0<=e>>>0){continue}e=(f+(N[c+4>>2]<<2)|0)-4|0;continue}break}N[e>>2]=N[a>>2]}a=a+4|0;b=b+1|0;if((i|0)!=(b|0)){continue}break}}if(!g){break f}Qa[N[d+8>>2]](d,g)}N[c+8>>2]=N[c+8>>2]+1;break e}N[g+4>>2]=b}f=0;break b}N[c+20>>2]=0;f=64;break b}N[c+20>>2]=0}La=h+16|0;return f}function Zg(a,b,c,d){var e=0,f=0,g=U(0),h=0,i=0;a:{b:{c:{e=O[a+4|0]|O[a+5|0]<<8;e=e<<8|e>>>8;f=e&65535;if(f-1>>>0>=3){if((f|0)!=32768){break a}e=O[c+6|0]|O[c+7|0]<<8;f=(e<<8|e>>>8)&65535;e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0>a>>>0){break c}g=U(0);break b}c=N[b+72>>2];if(!c){break a}d=O[a|0]|O[a+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>c>>>0){break a}f=O[a+2|0]|O[a+3|0]<<8;if(c>>>0>((f<<8|f>>>8)&65535)>>>0){break a}f=a;d=c-d|0;a=e&65535;e=4-a|0;f=f+(d>>>e<<1)|0;f=O[f+6|0]|O[f+7|0]<<8;f=((f<<8|f>>>8)&65535)>>>((d^-1|-1<>>(-1<>>0>=d>>>1>>>0?d:0;if((a|0)==(d|0)){break a}b=N[b+28>>2];a=a-d|0;return VE(UE(b,b>>31,a,a>>31),Pa,c,0)}a=(a<<2)+c|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}f=e>>>8&65280|e>>>24;h=N[b+88>>2];i=N[b+84>>2];e=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}g=Fc(a,f,h,i,c,d)}g=U(Z(U(U(g*R[b+44>>2])+U(.5))));if(U(V(g))>>8;f=e&65535;if(f-1>>>0>=3){if((f|0)!=32768){break a}e=O[c+6|0]|O[c+7|0]<<8;f=(e<<8|e>>>8)&65535;e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0>a>>>0){break c}g=U(0);break b}c=N[b+76>>2];if(!c){break a}d=O[a|0]|O[a+1|0]<<8;d=(d<<8|d>>>8)&65535;if(d>>>0>c>>>0){break a}f=O[a+2|0]|O[a+3|0]<<8;if(c>>>0>((f<<8|f>>>8)&65535)>>>0){break a}f=a;d=c-d|0;a=e&65535;e=4-a|0;f=f+(d>>>e<<1)|0;f=O[f+6|0]|O[f+7|0]<<8;f=((f<<8|f>>>8)&65535)>>>((d^-1|-1<>>(-1<>>0>=d>>>1>>>0?d:0;if((a|0)==(d|0)){break a}b=N[b+32>>2];a=a-d|0;return VE(UE(b,b>>31,a,a>>31),Pa,c,0)}a=(a<<2)+c|0;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}f=e>>>8&65280|e>>>24;h=N[b+88>>2];i=N[b+84>>2];e=O[c+2|0]|O[c+3|0]<<8|(O[c+4|0]<<16|O[c+5|0]<<24);if(e){c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0}else{c=275552}g=Fc(a,f,h,i,c,d)}g=U(Z(U(U(g*R[b+48>>2])+U(.5))));if(U(V(g))>2]=0;d=N[a+32>>2];if(!d){N[a+40>>2]=0;N[a+32>>2]=160;d=160}if(!N[a+36>>2]){N[a+36>>2]=161}c=Qa[d|0](N[a+40>>2],1,24)|0;N[a+28>>2]=c;d=-4;if(!c){break a}N[c+20>>2]=0;N[c+12>>2]=b>>>31;d=b>>31;e=(d^b)-d|0;if(e>>>0<=7){Wf(a);return-2}N[c+16>>2]=e;b:{c=Qa[N[a+32>>2]](N[a+40>>2],1,64)|0;if(c){f=Qa[N[a+32>>2]](N[a+40>>2],8,1440)|0;N[c+36>>2]=f;d=N[a+40>>2];if(f){e=1<>2]](d,1,e)|0;N[c+40>>2]=d;if(d){break b}Qa[N[a+36>>2]](N[a+40>>2],N[c+36>>2]);d=N[a+40>>2]}Qa[N[a+36>>2]](d,c)}N[N[a+28>>2]+20>>2]=0;Wf(a);return-4}b=(b|0)>=0;f=b?162:0;N[c+56>>2]=f;N[c+52>>2]=d;N[c+28>>2]=0;N[c+32>>2]=0;N[c>>2]=0;N[c+48>>2]=d;N[c+44>>2]=d+e;d=0;if(b){b=Qa[f|0](0,0,0)|0;N[c+60>>2]=b;N[a+48>>2]=b;d=N[c>>2]}b=N[a+28>>2];N[b+20>>2]=c;N[a+8>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[b>>2]=N[b+12>>2]?7:0;if((d&-2)==4){Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);d=N[c>>2]}if((d|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[c+4>>2])}N[c+28>>2]=0;N[c+32>>2]=0;N[c>>2]=0;b=N[c+40>>2];N[c+52>>2]=b;N[c+48>>2]=b;b=N[c+56>>2];d=0;if(!b){break a}b=Qa[b|0](0,0,0)|0;N[c+60>>2]=b;N[a+48>>2]=b;d=0}return d}function vf(a,b){var c=0,d=0,e=0;a:{b:{c:{switch(a-247|0){default:if((a|0)!=28){break b}a=N[b+8>>2];c=N[b+4>>2];d:{if(a>>>0>=c>>>0){a=c+1|0;N[b+8>>2]=a;e=275552;break d}e=N[b>>2]+a|0}e=O[e|0]<<8;d=a+1|0;e:{if(d>>>0>=c>>>0){a=c+1|0;c=275552;break e}c=d+N[b>>2]|0}d=b+16|0;e=e|O[c|0];c=N[b+20>>2];f:{if(c>>>0<=512){N[b+20>>2]=c+1;c=(d+(c<<3)|0)+8|0;break f}L[d|0]=1;N[147456]=0;N[147457]=0;c=589824}S[c>>3]=e<<16>>16;N[b+8>>2]=a+2;return;case 0:case 1:case 2:case 3:c=b+16|0;e=a<<8;a=N[b+8>>2];d=N[b+4>>2];g:{if(a>>>0>=d>>>0){a=d+1|0;d=275552;break g}d=N[b>>2]+a|0}d=(e+O[d|0]|0)+2412&65535;break a;case 4:case 5:case 6:case 7:break c}}c=b+16|0;e=(a<<16)-16449536>>>8|0;a=N[b+8>>2];d=N[b+4>>2];h:{if(a>>>0>=d>>>0){a=d+1|0;d=275552;break h}d=N[b>>2]+a|0}d=-108-(e|O[d|0])|0;break a}if(a-32>>>0<=214){d=a-139|0;a=b+16|0;c=N[b+20>>2];i:{if(c>>>0<=512){N[b+20>>2]=c+1;a=(a+(c<<3)|0)+8|0;break i}L[a|0]=1;N[147456]=0;N[147457]=0;a=589824}S[a>>3]=d|0;return}N[b+20>>2]=0;N[b+8>>2]=N[b+4>>2]+1;return}e=N[b+20>>2];j:{if(e>>>0<=512){N[b+20>>2]=e+1;c=((e<<3)+c|0)+8|0;break j}L[c|0]=1;N[147456]=0;N[147457]=0;c=589824}S[c>>3]=d|0;N[b+8>>2]=a+1}function jC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;a:{if(!d){break a}if(!e){while(1){a=a+8|0;i=i+8|0;if(i>>>0>>0){continue}break a}}while(1){j=0;g=a;while(1){h=j<<5&32;f=M[c>>1];L[g|0]=P[h+440528>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+2>>1];L[g+1|0]=P[h+440530>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+4>>1];L[g+2|0]=P[h+440532>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+6>>1];L[g+3|0]=P[h+440534>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+8>>1];L[g+4|0]=P[h+440536>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+10>>1];L[g+5|0]=P[h+440538>>1]+(f-(f>>>8|0)|0)>>>6;f=M[c+12>>1];L[g+6|0]=P[h+440540>>1]+(f-(f>>>8|0)|0)>>>6;f=P[h+440542>>1];h=M[c+14>>1];L[g+7|0]=f+(h-(h>>>8|0)|0)>>>6;c=c+16|0;g=b+g|0;j=j+1|0;if((j|0)!=(e|0)){continue}break}a=a+8|0;i=i+8|0;if(i>>>0>>0){continue}break}}b:{if(!e){break b}c=d+7&-8;if((c|0)==(b|0)){break b}c=b-c|0;d=c>>>0<=1?1:c;if(e-1>>>0>=7){g=e&-8;c=0;while(1){C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;C(a,0,d);a=a+b|0;c=c+8|0;if((g|0)!=(c|0)){continue}break}}e=e&7;if(!e){break b}c=0;while(1){C(a,0,d);a=a+b|0;c=c+1|0;if((e|0)!=(c|0)){continue}break}}}function Fz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a=N[b+108>>2];if(a){if(N[a>>2]){_a(N[a+80>>2]);Rc(N[a>>2]);oc(N[a+40>>2])}if(N[a+4>>2]){_a(N[a+84>>2]);Rc(N[a+4>>2]);oc(N[a+44>>2])}if(N[a+8>>2]){_a(N[a+88>>2]);Rc(N[a+8>>2]);oc(N[a+48>>2])}if(N[a+12>>2]){_a(N[a+92>>2]);Rc(N[a+12>>2]);oc(N[a+52>>2])}if(N[a+16>>2]){_a(N[a+96>>2]);Rc(N[a+16>>2]);oc(N[a+56>>2])}if(N[a+20>>2]){_a(N[a+100>>2]);Rc(N[a+20>>2]);oc(N[a+60>>2])}if(N[a+24>>2]){_a(N[a+104>>2]);Rc(N[a+24>>2]);oc(N[a- -64>>2])}if(N[a+28>>2]){_a(N[a+108>>2]);Rc(N[a+28>>2]);oc(N[a+68>>2])}if(N[a+32>>2]){_a(N[a+112>>2]);Rc(N[a+32>>2]);oc(N[a+72>>2])}if(N[a+36>>2]){_a(N[a+116>>2]);Rc(N[a+36>>2]);oc(N[a+76>>2])}_a(a)}c=N[b+112>>2];if((c|0)>0){while(1){f=N[((h<<2)+b|0)+68>>2];a:{if(!f){break a}d=N[f+96>>2];if(!d){break a}e=N[f+128>>2];a=N[e+64>>2];N[e+64>>2]=a-1;if((a|0)>1){break a}a=N[d+16>>2];if(!a){break a}g=d+16|0;e=N[d+8>>2];while(1){if(N[a+8>>2]!=(f|0)){a=N[a+4>>2];if(a){continue}break a}break}c=N[a>>2];i=c?c+4|0:g;g=N[a+4>>2];N[i>>2]=g;N[(g?g:d+20|0)>>2]=c;Qa[N[e+8>>2]](e,a);ic(e,f,d);c=N[b+112>>2]}h=h+1|0;if((h|0)<(c|0)){continue}break}}_a(N[b>>2])}function Oi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;e=La+-64|0;La=e;a:{if(!d){b=6;break a}g=N[b+4>>2];m=N[b>>2];N[e>>2]=m;N[e+4>>2]=g;h=N[b+8>>2];f=N[b+12>>2];i=N[b+16>>2];j=N[b+20>>2];k=N[b+24>>2];l=N[b+28>>2];N[e+52>>2]=l;b=j;l=b+l|0;N[e+44>>2]=(l|0)/2;b=f;f=j+b|0;j=f+l|0;N[e+36>>2]=(j|0)/4;b=b+g|0;f=b+f|0;N[e+20>>2]=(f|0)/4;N[e+28>>2]=(f+j|0)/8;f=h+m|0;N[e+8>>2]=(f|0)/2;N[e+48>>2]=k;k=i+k|0;N[e+40>>2]=(k|0)/2;h=h+i|0;i=h+f|0;N[e+16>>2]=(i|0)/4;N[e+12>>2]=(b|0)/2;b=h+k|0;N[e+32>>2]=(b|0)/4;N[e+24>>2]=(b+i|0)/8;if((c|0)>=3){c=c>>>1|0;b=Oi(a,e,c,d);if(b){break a}b=Oi(a,e+24|0,c,d);break a}b=64;c=Qa[N[a+4>>2]](a,40)|0;if(!c){break a}N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;a=Qa[N[a+4>>2]](a,40)|0;if(!a){break a}N[a+16>>2]=0;N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[c>>2]=m;N[c+4>>2]=g;b=N[e+24>>2];g=N[e+28>>2];N[c+32>>2]=1;N[c+8>>2]=b;N[c+12>>2]=g;N[a>>2]=b;N[a+4>>2]=g;b=N[e+48>>2];g=N[e+52>>2];N[a+32>>2]=1;N[a+8>>2]=b;N[a+12>>2]=g;N[c+36>>2]=a;N[a+36>>2]=N[d>>2];N[d>>2]=c;b=0}La=e- -64|0;return b}function Xn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=La-16|0;La=m;g=O[a|0];a:{if(!g){f=a;break a}f=a;b:{while(1){j=g<<24>>24;if(!((j|0)==32|j-9>>>0<5)){break b}g=O[f+1|0];f=f+1|0;if(g){continue}break}break a}c:{g=g&255;switch(g-43|0){case 0:case 2:break c;default:break a}}k=(g|0)==45?-1:0;f=f+1|0}d:{if(!((c|16)!=16|O[f|0]!=48)){n=1;if((O[f+1|0]&223)==88){f=f+2|0;j=16;break d}f=f+1|0;j=c?c:8;break d}j=c?c:10}c=0;while(1){e:{g=-48;i=L[f|0];f:{if((i-48&255)>>>0<10){break f}g=-87;if((i-97&255)>>>0<26){break f}g=-55;if((i-65&255)>>>0>25){break e}}i=g+i|0;if((i|0)>=(j|0)){break e}hb(m,j,0,0,0,l,h,0,0);g=1;g:{if(N[m+8>>2]|N[m+12>>2]){break g}o=UE(l,h,j,0);p=Pa;if((p|0)==-1&(i^-1)>>>0>>0){break g}h=p;l=i+o|0;h=l>>>0>>0?h+1|0:h;n=1;g=c}f=f+1|0;c=g;continue}break}if(b){N[b>>2]=n?f:a}h:{i:{j:{if(c){N[147316]=68;a=d&1;k=a?0:k;l=d;h=e;break j}if((e|0)==(h|0)&d>>>0>l>>>0|e>>>0>h>>>0){break i}a=d&1}if(!(a|k)){N[147316]=68;a=d;d=a-1|0;e=e-!a|0;break h}if((e|0)==(h|0)&d>>>0>=l>>>0|e>>>0>h>>>0){break i}N[147316]=68;break h}a=k^l;d=a-k|0;b=k>>31;e=(b^h)-((a>>>0>>0)+b|0)|0}La=m+16|0;Pa=e;return d}function Ie(a){var b=0,c=0,d=U(0),e=0,f=0,g=U(0),h=0,i=U(0),j=U(0),k=0;c=N[a+24>>2];b=N[c+28>>2];if(!b){e=c;c=ae(c+52|0);c=O[c+18|0]|O[c+19|0]<<8;c=(c<<8|c>>>8)&65535;b=c-16>>>0>=16369?1e3:c;N[e+28>>2]=b}e=N[a+28>>2];i=U(e|0);g=U(b>>>0);R[a+44>>2]=i/g;c=N[a+32>>2];j=U(c|0);R[a+48>>2]=j/g;b=0-c|0;f=b>>31<<16|b>>>16;b=b<<16;h=(c|0)<0;d=U(U(+((h?0-b|0:c<<16)>>>0)+ +((h?0-(((b|0)!=0)+f|0)|0:c>>>16|0)|0)*4294967296)/g);a:{if(U(V(d))=U(1)?~~(d>U(0)?U(X(U(Z(U(d*U(2.3283064365386963e-10)))),U(4294967296))):U(_(U(U(d-U(~~d>>>0>>>0))*U(2.3283064365386963e-10)))))>>>0:0;b=~~d>>>0;break a}f=-2147483648;b=0}N[a+64>>2]=b;N[a+68>>2]=f;b=0-e|0;f=b>>31<<16|b>>>16;b=b<<16;h=0-b|0;b=0-(((b|0)!=0)+f|0)|0;f=e>>>16|0;k=e<<16;e=(e|0)<0;d=U(U(+((e?h:k)>>>0)+ +((e?b:f)|0)*4294967296)/g);b:{if(U(V(d))=U(1)?~~(d>U(0)?U(X(U(Z(U(d*U(2.3283064365386963e-10)))),U(4294967296))):U(_(U(U(d-U(~~d>>>0>>>0))*U(2.3283064365386963e-10)))))>>>0:0;e=~~d>>>0;break b}b=-2147483648;e=0}N[a+56>>2]=e;N[a+60>>2]=b;R[a+40>>2]=c?U(U(R[a+36>>2]*i)/j):U(0);N[a+112>>2]=0;N[a+116>>2]=0}function Wd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La+-64|0;La=c;d=N[b+4>>2]-N[a+108>>2]|0;g=N[b>>2]-N[a+104>>2]|0;h=N[a+48>>2];e=0-h|0;a:{if(!((g|0)<=(e|0)|(g|0)>=(h|0)|(d|0)<=(e|0))){e=1;if((d|0)<(h|0)){break a}}f=S[a+40>>3]*+(d|0);i=S[a+32>>3]*+(0-g|0);j=1/aa(f*f+i*i);S[c+48>>3]=i*j;S[c+40>>3]=f*j;d=N[a+104>>2];g=N[a+108>>2];h=N[c+52>>2];N[c+24>>2]=N[c+48>>2];N[c+28>>2]=h;N[c+32>>2]=d;N[c+36>>2]=g;d=N[c+44>>2];N[c+16>>2]=N[c+40>>2];N[c+20>>2]=d;e=0;if(!ye(a,c+32|0,c+16|0,3)){break a}N[a+60>>2]=N[a+60>>2]&-4;k=N[a+108>>2];f=S[a+88>>3]*S[a+24>>3];b:{if(V(f)<2147483648){d=~~f;break b}d=-2147483648}f=S[a+80>>3];g=N[a+104>>2];i=S[a+16>>3];h=d;N[c+60>>2]=d+k;f=f*i;c:{if(V(f)<2147483648){d=~~f;break c}d=-2147483648}N[c+56>>2]=d+g;l=N[a>>2];e=N[c+60>>2];N[c+8>>2]=N[c+56>>2];N[c+12>>2]=e;e=0;if(!Fb(l,c+8|0,1)){break a}N[c+60>>2]=k-h;N[c+56>>2]=g-d;d=N[a+4>>2];g=N[c+60>>2];N[c>>2]=N[c+56>>2];N[c+4>>2]=g;e=0;if(!Fb(d,c,1)){break a}d=N[c+44>>2];N[a+80>>2]=N[c+40>>2];N[a+84>>2]=d;d=N[c+52>>2];N[a+88>>2]=N[c+48>>2];N[a+92>>2]=d;d=N[b+4>>2];N[a+104>>2]=N[b>>2];N[a+108>>2]=d;e=1}La=c- -64|0;return e}function lA(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;j=N[b+712>>2];C(a,0,780);N[a+8>>2]=d;N[a+4>>2]=b;L[a+65|0]=1;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;l=N[b+32>>2];i=b- -64|0;N[i>>2]=N[b+28>>2];N[i+4>>2]=l;N[b+88>>2]=N[b+52>>2];i=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=i;i=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=i;i=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=i;N[a+68>>2]=0;N[a+72>>2]=0;if(!c|!e){break a}b=N[N[c+40>>2]>>2];if(!b){break a}N[a+72>>2]=N[b>>2];N[a+68>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+108>>2]=j;b=N[73600];N[a+76>>2]=N[73599];N[a+80>>2]=b;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73602];N[a+84>>2]=N[73601];N[a+88>>2]=b;b=N[73604];N[a+92>>2]=N[73603];N[a+96>>2]=b;b=N[73606];N[a+100>>2]=N[73605];N[a+104>>2]=b;b=N[j+120>>2];N[a+732>>2]=b;N[a+748>>2]=N[j+1352>>2];b:{if(N[j+1416>>2]==1){break b}k=107;if(b>>>0<1240){break b}k=b>>>0<33900?1131:32768}N[a+776>>2]=h;N[a+772>>2]=g;N[a+760>>2]=f;N[a+740>>2]=k}function Vo(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;N[d>>2]=0;if(!(!(e|f)|(a|0)<655)){o=d;p=(e|0)/2|0;if(f){i=N[g+24>>2];j=N[g>>2];k=N[g+4>>2];f=c+e|0;e=f>>31;e=(e^f)-e|0;c=a>>31;c=(c^a)-c|0;a:{if(e+(c>>>8|0)>>>0<=8190){c=T(c,e)+32768>>>16|0;break a}d=e&65535;c=T(d,c>>>16|0)+T(c,e>>>16|0)+(T(d,c&65535)+32768>>>16)|0}d=(f|0)<0?0-c|0:c;if(W(d)+W(b)>>>0<=16){c=i<<16}else{e=c;c=c>>31;c=(e^c)-c|0;e=b>>31;e=(e^b)-e|0;b:{if(c+(e>>>8|0)>>>0<=8190){e=T(c,e)+32768>>>16|0;break b}f=c&65535;e=T(f,e>>>16|0)+T(e,c>>>16|0)+(T(f,e&65535)+32768>>>16)|0}c=e;f=0-c|0;c=d>>31|1;c=(((b|0)<0?0-c|0:c)|0)<0?f:e}e=j<<16;c:{if((c|0)<(e|0)){b=fb(k<<16,b);break c}n=N[g+28>>2];l=N[g+20>>2];f=N[g+16>>2];m=N[g+12>>2];d:{e:{f:{h=N[g+8>>2];g=h<<16;g:{if((c|0)<(g|0)){c=fb(e,b);if((h|0)==(j|0)){break g}b=jb(d-c|0,m-k|0,h-j|0)+fb(k<<16,b)|0;break c}e=f<<16;if((e|0)<=(c|0)){break f}}c=fb(g,b);if((f|0)==(h|0)){break e}b=jb(d-c|0,l-m|0,f-h|0)+fb(m<<16,b)|0;break c}g=e;if((c|0)>=i<<16){break d}}c=fb(g,b);if((f|0)==(i|0)){break d}b=jb(d-c|0,n-l|0,i-f|0)+fb(l<<16,b)|0;break c}b=fb(n<<16,b)}a=fb(b,a<<1)}else{a=0}N[o>>2]=p+a}}function Yn(a){var b=0,c=0,d=0,e=0,f=0;a:{b:{c:{b=N[a+4>>2];d:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break d}b=Db(a)}switch(b-43|0){case 0:case 2:break c;default:break b}}f=(b|0)==45;b=N[a+4>>2];e:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break e}b=Db(a)}e=b-58|0;break a}e=b-58|0}if(e>>>0>=4294967286){e=b-48|0;if(e>>>0<10){while(1){d=(T(d,10)+b|0)-48|0;c=(d|0)<214748364;b=N[a+4>>2];f:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break f}b=Db(a)}e=b-48|0;if(c&e>>>0<=9){continue}break}c=d>>31}g:{if(e>>>0>=10){break g}while(1){d=UE(d,c,10,0);b=d+b|0;c=Pa;c=b>>>0>>0?c+1|0:c;d=b-48|0;c=c-(b>>>0<48)|0;b=N[a+4>>2];h:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break h}b=Db(a)}e=b-48|0;if(e>>>0>9){break g}if(d>>>0<2061584302&(c|0)<=21474836|(c|0)<21474836){continue}break}}if(e>>>0<10){while(1){b=N[a+4>>2];i:{if((b|0)!=N[a+104>>2]){N[a+4>>2]=b+1;b=O[b|0];break i}b=Db(a)}if(b-48>>>0<10){continue}break}}b=N[a+116>>2];if((b|0)>0|(b|0)>=0){N[a+4>>2]=N[a+4>>2]-1}Pa=f?0-(((d|0)!=0)+c|0)|0:c;return f?0-d|0:d}b=N[a+116>>2];if((b|0)>0|(b|0)>=0){N[a+4>>2]=N[a+4>>2]-1}Pa=-2147483648;return 0}function xE(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1818847073;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];d:{e:{f:{b=N[a+96>>2];if((b|0)>=0){c=N[a+100>>2];d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=536870911){c=$a(N[a+104>>2],b<<3);if(c){break f}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break d}N[a+96>>2]=b;N[a+104>>2]=c;c=N[a+100>>2]}if(c>>>0>>0){C(N[a+104>>2]+(c<<3)|0,0,d-c<<3)}N[a+100>>2]=d;c=(N[a+104>>2]+(d<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1}function ak(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!(O[b|0]|O[b+1|0]<<8|(O[b+2|0]|O[b+3|0]<<8))){break a}c=N[a+168>>2];N[a+168>>2]=c+1;if(c>>>0>500){break a}e=b-N[a>>2]|0;f=e>>>9|0;g=N[a+96>>2];b:{c:{d:{h=N[a+92>>2];c=N[a+84>>2];if(h>>>0<=c>>>0){break d}c=(c<<3)+g|0;if(N[c>>2]!=(f|0)){break d}d=c+4|0;break c}c=0;if((h|0)<=0){break b}c=h-1|0;e:{while(1){d=c+i>>>1|0;j=N[(d<<3)+g>>2];f:{if((j|0)>(f|0)){c=d-1|0;break f}if((f|0)==(j|0)){break e}i=d+1|0}if((c|0)>=(i|0)){continue}break}c=0;break b}N[a+84>>2]=d;d=(d>>>0>=h>>>0?275552:(d<<3)+g|0)+4|0}f=N[a+108>>2];c=0;if(!f){break b}c=(f+(N[d>>2]<<6)|0)+(e>>>3&56)|0;g=N[c>>2];f=N[c+4>>2];d=e&63;c=d&31;c=(d>>>0>=32?f>>>c|0:((1<>>c)&1}if((c|0)!=O[a+112|0]){break a}tc(a- -64|0,e);c=O[b|0]|O[b+1|0]<<8;if(c){$j(a,((c<<8|c>>>8)&65535)+b|0)}d=b+2|0;c=O[d|0]|O[d+1|0]<<8;if(!c){break a}c=(c<<8|c>>>8)&65535;f=c>>>0<=1?1:c;c=0;while(1){e=O[d|0]|O[d+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=c>>>0?275552:(d+T(c,6)|0)+2|0;e=O[e+4|0]|O[e+5|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+b|0}else{e=238128}$j(a,e);c=c+1|0;if((f|0)!=(c|0)){continue}break}}}function qi(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(O[N[a+88>>2]+32|0]&32){break a}b:{while(1){f=b;while(1){d=O[f|0];if(!((d|0)!=32&(d|0)!=9)){f=f+1|0;continue}break}while(1){h=O[c|0];if(!((h|0)!=32&(h|0)!=9)){c=c+1|0;continue}break}if(!(!d|!h)){g=f;while(1){b=d&255;if(!(!b|(b|0)==44)){d=O[g+1|0];g=g+1|0;continue}break}b=((b|0)==44)+g|0;i=c;while(1){if(!(!h|(h|0)==44)){h=O[i+1|0];i=i+1|0;continue}break}c:{if(f>>>0>=g>>>0){break c}while(1){d=g-1|0;e=O[d|0];if((e|0)!=32&(e|0)!=9){break c}g=d;if(d>>>0>f>>>0){continue}break}g=f}d=i;d:{if(d>>>0<=c>>>0){break d}while(1){e=d-1|0;j=O[e|0];if((j|0)!=32&(j|0)!=9){break d}d=e;if(d>>>0>c>>>0){continue}break}d=c}if((g-f|0)==5){e=bb(f,11926,5);g=e?g:15918;f=e?f:15914}e=d-c|0;e:{if((e|0)!=5){d=c;break e}e=d;d=bb(c,11926,5);e=d?e:15918;d=d?c:15914;e=e-d|0}if((g-f|0)!=(e|0)){break b}c=((h|0)==44)+i|0;i=f+e|0;while(1){f:{j=O[O[d|0]+25936|0];g=O[f|0];e=O[g+25936|0];f=f+1|0;if(!g|i>>>0<=f>>>0){break f}d=d+1|0;if((e|0)==(j|0)){continue}}break}if((e|0)==(j|0)){continue}break b}break}if((d|0)==(h|0)){break a}}mb(N[a+84>>2],4,22405,0);N[a+60>>2]=1}}function Kj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break b;case 1:break c;case 0:break d;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];d=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((d|0)==-1){break a}c=275552;f=O[a+4|0]|O[a+5|0]<<8;d=d>>>0>=((f<<8|f>>>8)&65535)>>>0?275552:((d<<1)+a|0)+6|0;d=O[d|0]|O[d+1|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}a=O[c|0]|O[c+1|0]<<8;if(!a){break a}f=(a<<8|a>>>8)&65535;d=c+2|0;while(1){a=O[d|0]|O[d+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+c|0}else{a=275552}e=O[a|0]|O[a+1|0]<<8;g=(e<<8|e>>>8)&65535;h=a+4|0;a=O[a+2|0]|O[a+3|0]<<8;e=Re(b,g,h,(a<<8|a>>>8)&65535,(e?(g<<1)-2|0:0)+h|0,246,0);if(e){break a}d=d+2|0;f=f-1|0;if(f){continue}break}break a}return $g(a,b,0)}c=O[a+6|0]|O[a+7|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];if((vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2])|0)==-1){break a}d=b;b=O[a+2|0]|O[a+3|0]<<8;b=(b<<8|b>>>8)&65535;c=O[a+4|0]|O[a+5|0]<<8;e=Re(d,b,a+8|0,(c<<8|c>>>8)&65535,(a+6|0)+(b<<1)|0,247,a)}return e}function sc(a,b,c){var d=0,e=0,f=0,g=0;e=N[a+16>>2];d=N[e+24>>2];g=Qa[N[e>>2]](b,198405332,-1276876204)|0;f=(d+7&-8)+32|0;a:{b:{d=N[a+4>>2];RE(g,Pa,N[a>>2],0);Pa=Oa;g=Na;d=N[d+(g<<2)>>2];if(d){while(1){if(Qa[N[e+4>>2]](b,d+f|0)|0){if(!N[d+24>>2]){break b}f=N[d+20>>2];c:{d:{if(f){c=N[d+16>>2];if(!c){break c}N[c+20>>2]=f;N[N[d+20>>2]>>2]=c;break d}N[d+28>>2]=N[d+28>>2]+1}N[N[a+12>>2]>>2]=d;N[d+20>>2]=N[a+12>>2];N[a+12>>2]=d+16;N[d+16>>2]=0}N[a+24>>2]=N[a+24>>2]+1;Qa[N[e+8>>2]](0,b)|0;N[d+28>>2]=N[d+28>>2]+1;return d+32|0}d=N[d+8>>2];if(d){continue}break}}N[a+28>>2]=N[a+28>>2]+1;d=kb(f+N[e+20>>2]|0);if(!d){Qa[N[e+8>>2]](0,b)|0;return 0}N[d+4>>2]=e;N[d>>2]=a;f=d+f|0;if(!(Qa[N[e+8>>2]](f,b)|0)){_a(d);return 0}b=f;f=d+32|0;b=Qa[N[e+12>>2]](b,f,c)|0;N[d+24>>2]=b;if(!b){break a}c=N[a+4>>2]+(g<<2)|0;e=N[c>>2];if(e){N[e+12>>2]=d+8}N[d+12>>2]=c;N[d+8>>2]=N[c>>2];N[c>>2]=d;N[N[a+12>>2]>>2]=d;N[d+20>>2]=N[a+12>>2];N[a+12>>2]=d+16;N[d+28>>2]=2;N[d+16>>2]=0;N[a+20>>2]=N[a+20>>2]+(b+(((b|0)!=1)<<5)|0);N[a+32>>2]=N[a+32>>2]+1;return f}ba(15298,18290,361,9541);B()}ba(15298,18290,396,9541);B()}function kv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=N[c>>2];d=Qa[N[f+4>>2]](f,24)|0;if(!d){return 64}L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;L[d+20|0]=0;L[d+21|0]=0;L[d+22|0]=0;L[d+23|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;a:{h=a+4|0;if(h>>>0>b>>>0){break a}g=O[a|0];L[d+4|0]=g;e=O[a+1|0]|O[a+2|0]<<8;M[d+6>>1]=e<<8|e>>>8;e=O[a+3|0];L[d+5|0]=e;j=N[c+148>>2];k=N[c+4>>2];i=e&1;e=(e>>>1&1)+(i?5:3)|0;N[d+8>>2]=e;N[d+12>>2]=(h+k|0)-j;if(T(e,g)+h>>>0>b>>>0){break a}if(g){b:{if(i){a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[d+16>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);a=T(e,g-1|0)+h|0;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break b}N[d+16>>2]=O[a+5|0]|O[a+4|0]<<16;a=T(e,g-1|0)+h|0;a=O[a|0]<<16|O[a+1|0]}N[d>>2]=0;N[d+20>>2]=a;N[N[c+140>>2]>>2]=d;N[c+140>>2]=d;N[c+132>>2]=N[c+132>>2]+g;return 0}Qa[N[f+8>>2]](f,d);return 0}Qa[N[f+8>>2]](f,d);return 8}function nn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!b){break a}e=N[a+16>>2];if((e|0)<=0){break a}c=a+20|0;d=c+(e<<2)|0;while(1){if(N[c>>2]==(b|0)){N[a+16>>2]=e-1;a=d-4|0;if(a>>>0>c>>>0){while(1){N[c>>2]=N[c+4>>2];c=c+4|0;if(a>>>0>c>>>0){continue}break}}N[a>>2]=0;h=N[b+8>>2];e=N[b>>2];a=e;d=N[b+4>>2];b:{if(!d){break b}if(N[d+160>>2]==(b|0)){N[d+160>>2]=0}if(!(O[e|0]&2)){break b}c=N[d+148>>2];if(!c){break b}g=d+148|0;a=N[d>>2];c:{while(1){if(N[c+8>>2]==(b|0)){break c}c=N[c+4>>2];if(c){continue}break}a=e;break b}f=N[b+52>>2];if(f){Qa[N[N[N[b+12>>2]+56>>2]+20>>2]](f)}f=N[c>>2];i=f?f+4|0:g;g=N[c+4>>2];N[i>>2]=g;N[(g?g:d+152|0)>>2]=f;Qa[N[a+8>>2]](a,c);c=N[d+148>>2];d:{if(c){while(1){a=N[c+8>>2];if(N[a+16>>2]==1869968492){break d}c=N[c+4>>2];if(c){continue}break}}a=0}N[d+156>>2]=a;a=N[b>>2]}e:{if(!(L[a|0]&1)){break e}d=N[b+8>>2];if(!d){break e}c=N[b+16>>2];if(c){while(1){a=N[c+4>>2];ic(d,N[c+8>>2],b);Qa[N[d+8>>2]](d,c);c=a;if(c){continue}break}}N[b+16>>2]=0;N[b+20>>2]=0}a=N[e+28>>2];if(a){Qa[a|0](b)}Qa[N[h+8>>2]](h,b);break a}c=c+4|0;if(d>>>0>c>>>0){continue}break}}}function Fe(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-16|0;La=h;f=N[a>>2];N[h+12>>2]=f;a:{if(b>>>0<=f>>>0){break a}b:{c:{d:{e:{f:{g=O[f|0];if((g|0)==91){j=93}else{if((g|0)!=123){break f}j=125}f=f+1|0;N[h+12>>2]=f;if(d){break e}if(b>>>0<=f>>>0){break a}while(1){Tb(h+12|0,b);g=N[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(O[g|0]==(j|0)){break b}Qc(h+12|0,b,e);f=N[h+12>>2];if((f|0)==(g|0)){break d}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}Tb(h+12|0,b);g=N[h+12>>2];if(!d){break c}if(b>>>0<=g>>>0){f=g;break a}if(!O[g|0]){break b}if((c|0)<=0){f=g;break a}k=d,l=Qc(h+12|0,b,e),N[k>>2]=l;f=N[h+12>>2];i=(f|0)==(g|0)?-1:1;break a}if(b>>>0<=f>>>0){break a}c=(c|0)>0?c:0;while(1){Tb(h+12|0,b);g=N[h+12>>2];if(g>>>0>=b>>>0){f=g;break a}if(O[g|0]==(j|0)){break b}if((c|0)==(i|0)){f=g;i=c;break a}k=(i<<2)+d|0,l=Qc(h+12|0,b,e),N[k>>2]=l;f=N[h+12>>2];if((f|0)==(g|0)){break d}i=i+1|0;if(b>>>0>f>>>0){continue}break}break a}i=-1;f=g;break a}if(b>>>0<=g>>>0){f=g;break a}if(!O[g|0]){break b}Qc(h+12|0,b,e);f=N[h+12>>2];i=(f|0)==(g|0)?-1:1;break a}f=g+1|0}N[a>>2]=f;La=h+16|0;return i}function FD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=N[a+20>>2];L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;d=N[b+96>>2];e=N[d+24>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d+4>>2]}else{d=0}g=Qa[e|0](b,f,c,d)|0;if(g){a:{b:{b=N[a+20>>2];if(b){b=N[b+28>>2];d=N[a+28>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=N[c+8>>2];break a}a=c+8|0;b=N[c+8>>2];break a}e=d>>31;a=N[c>>2];f=b>>31;h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h>>2]=i;a=N[c+4>>2];h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h+4>>2]=i;a=c+8|0;c=N[c+8>>2];b=VE(UE(d,e,c,c>>31),Pa,b,f)}N[a>>2]=b}return g|0}function yk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=a+2|0;a:{if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(Lb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+4|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;c:{if(!c){break c}if(td(((c<<8|c>>>8)&65535)+a|0,b)){break c}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+6|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}d=O[d|0]|O[d+1|0]<<8;if(!d){return 1}f=a+8|0;if(c>>>0>>0){break a}d=(d<<8|d>>>8)&65535;g=d<<1;if(g>>>0>c-f>>>0){break a}c=e-g|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=d>>>0<=1?1:d;d=0;while(1){h=uk(((d<<1)+a|0)+8|0,b,a);if(!h){break a}d=d+1|0;if((c|0)!=(d|0)){continue}break}}return h}function GD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;b=N[a+20>>2];L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;d=N[b+96>>2];e=N[d+20>>2];f=N[b+100>>2];d=N[d+12>>2];if(d){d=N[d>>2]}else{d=0}g=Qa[e|0](b,f,c,d)|0;if(g){a:{b:{b=N[a+20>>2];if(b){b=N[b+32>>2];d=N[a+32>>2];if((b|0)!=(d|0)){break b}a=c+8|0;b=N[c+8>>2];break a}a=c+8|0;b=N[c+8>>2];break a}e=d>>31;a=N[c>>2];f=b>>31;h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h>>2]=i;a=N[c+4>>2];h=c,i=VE(UE(d,e,a,a>>31),Pa,b,f),N[h+4>>2]=i;a=c+8|0;c=N[c+8>>2];b=VE(UE(d,e,c,c>>31),Pa,b,f)}N[a>>2]=b}return g|0}function $e(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=La-1312|0;La=g;f=N[a+4>>2];i=N[f+492>>2];j=N[i+12>>2];h=N[N[f+128>>2]+52>>2];k=N[f+452>>2];e=a+1388|0;N[e>>2]=N[f+448>>2];N[e+4>>2]=k;e=N[f+444>>2];N[a+1380>>2]=N[f+440>>2];N[a+1384>>2]=e;e=N[f+460>>2];N[a+1396>>2]=N[f+456>>2];N[a+1400>>2]=e;a:{b:{if(!h){e=b<<2;N[c>>2]=N[e+N[f+428>>2]>>2];N[c+4>>2]=N[e+N[f+432>>2]>>2];break b}e=Qa[N[N[h>>2]>>2]](N[h+4>>2],b,c)|0;if(e){break a}}c:{if(O[a+70|0]){e=Qa[N[j+8>>2]](a,N[c>>2],N[c+4>>2])|0;break c}e=g+656|0;Qa[N[i+24>>2]](e,a,1);k=f;l=f+168|0;f=g+4|0;Qa[N[i+28>>2]](k,l,f);N[g+1192>>2]=f;e=Qa[N[j+12>>2]](e,N[c>>2],N[c+4>>2])|0;if((e&255)!=164){break c}L[N[a+8>>2]+160|0]=0;L[d|0]=1;e=Qa[N[j+12>>2]](g+656|0,N[c>>2],N[c+4>>2])|0}if(e|!h){break a}d=N[N[h>>2]+8>>2];if(!d){e=0;break a}c=N[a+32>>2];N[g+8>>2]=0;N[g+4>>2]=(c+(c>>31)|0)+32768>>16;c=N[a+40>>2];N[g+12>>2]=((c>>31)+c|0)+32768>>16;c=N[a+44>>2];N[g+16>>2]=((c>>31)+c|0)+32768>>16;e=Qa[d|0](N[h+4>>2],b,0,g+4|0)|0;N[a+32>>2]=N[g+4>>2]<<16;N[a+40>>2]=N[g+12>>2]<<16;N[a+44>>2]=N[g+16>>2]<<16}La=g+1312|0;return e}function Zc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=a;e=La-208|0;La=e;N[e+8>>2]=1;N[e+12>>2]=0;i=T(b,c);a:{if(!i){break a}N[e+16>>2]=c;N[e+20>>2]=c;b=c;g=b;f=2;while(1){a=b;b=(c+g|0)+b|0;N[(e+16|0)+(f<<2)>>2]=b;f=f+1|0;g=a;if(b>>>0>>0){continue}break}g=(h+i|0)-c|0;b:{if(g>>>0<=h>>>0){g=0;f=1;i=0;b=1;a=0;break b}f=1;b=1;while(1){c:{if((f&3)==3){hi(h,c,d,b,e+16|0);og(e+8|0,2);b=b+2|0;break c}a=b-1|0;d:{if(Q[(e+16|0)+(a<<2)>>2]>=g-h>>>0){ng(h,c,d,f,N[e+12>>2],b,0,e+16|0);break d}hi(h,c,d,b,e+16|0)}if((b|0)==1){mg(e+8|0,1);b=0;break c}mg(e+8|0,a);b=1}a=N[e+8>>2];f=a|1;N[e+8>>2]=f;h=c+h|0;if(g>>>0>h>>>0){continue}break}i=a>>>0>1;g=N[e+12>>2];a=(g|0)!=0}j=0-c|0;ng(h,c,d,f,g,b,0,e+16|0);if(!(i|(b|0)!=1|a)){break a}while(1){e:{if((b|0)<=1){a=bo(f,g);og(e+8|0,a);g=N[e+12>>2];f=N[e+8>>2];a=a+b|0;break e}f=e+8|0;mg(f,2);N[e+8>>2]=N[e+8>>2]^7;og(f,1);g=h+j|0;i=e+16|0;a=b-2|0;ng(g-N[i+(a<<2)>>2]|0,c,d,N[e+8>>2],N[e+12>>2],b-1|0,1,i);mg(f,1);f=N[e+8>>2]|1;N[e+8>>2]=f;b=g;g=N[e+12>>2];ng(b,c,d,f,g,a,1,i)}b=a;h=h+j|0;if(g|((b|0)!=1|(f|0)!=1)){continue}break}}La=e+208|0}function Fo(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;a:{b:{c:{if(b){e=N[b>>2];if(e){break c}}break b}g=N[b+8>>2];if(g){if(e>>>0>=536870912){break b}i=kb(e<<3);N[a+16>>2]=i;j=kb(g);N[a+20>>2]=j;if(!(j?i:0)){break a}N[a+12>>2]=g;N[a+4>>2]=e;e=0;N[a+8>>2]=0;N[a>>2]=0;g=N[b>>2];if(g){m=N[b+16>>2];n=S[c- -64>>3];o=S[c+56>>3];p=S[c+40>>3];q=S[c+32>>3];r=S[c+48>>3];s=S[c+24>>3];t=S[c+16>>3];u=S[c+8>>3];v=S[c>>3];while(1){c=e<<3;f=c+m|0;d=+N[f>>2];k=+N[f+4>>2];h=n+(r*d+o*k);h=h>.1?1/h:10;d:{l=(t+(v*d+u*k))*h;if(V(l)<268435455){d=h*(p+(s*d+q*k));if(V(d)<268435455){break d}}break a}c=c+i|0;d=XE(d);e:{if(V(d)<2147483648){f=~~d;break e}f=-2147483648}N[c+4>>2]=f;d=XE(l);f:{if(V(d)<2147483648){f=~~d;break f}f=-2147483648}N[c>>2]=f;e=e+1|0;if((g|0)!=(e|0)){continue}break}}c=N[b+20>>2];b=N[b+8>>2];F(j,c,b);N[a+8>>2]=b;N[a>>2]=g;return}ba(10189,18249,45,17699);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;return}_a(i);_a(j);N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function OB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-272|0;La=h;f=N[b+4>>2];b=N[b>>2];d=N[a>>2];e=N[a+4>>2];N[h+12>>2]=e<<2;N[h+8>>2]=d<<2;j=f<<2;N[h+4>>2]=j;g=b<<2;N[h>>2]=g;l=N[c+200>>2];N[h+16>>2]=l;a=N[c+204>>2];N[h+20>>2]=a;b=e>>6;a:{b:{k=f>>6;i=N[c+168>>2];c:{d:{if((k|0)<(i|0)){f=a>>8;break d}f=a>>8;if((b|0)<(i|0)){break d}if((f|0)>=(i|0)){break c}}i=N[c+164>>2];if((i|0)<=(k|0)|(b|0)>=(i|0)|(f|0)>=(i|0)){break b}}N[c+204>>2]=j;N[c+200>>2]=g;break a}b=h;f=1;g=(g-(d<<3)|0)+l|0;d=g>>31;e=a+(j-(e<<3)|0)|0;a=e>>31;d=(d^g)-d|0;a=(a^e)-a|0;a=a>>>0>>0?d:a;if(a>>>0>=65){while(1){f=f<<1;d=a>>>0>259;a=a>>>2|0;if(d){continue}break}}while(1){d=N[b>>2];a=0-f&f;if(a>>>0>=2){while(1){e=N[b+16>>2];N[b+32>>2]=e;j=N[b+20>>2];N[b+36>>2]=j;k=d;d=N[b+8>>2];g=k+d|0;N[b+8>>2]=g>>1;d=d+e|0;N[b+24>>2]=d>>1;d=d+g>>2;N[b+16>>2]=d;e=N[b+12>>2];g=e+N[b+4>>2]|0;N[b+12>>2]=g>>1;e=e+j|0;N[b+28>>2]=e>>1;N[b+20>>2]=e+g>>2;b=b+16|0;e=a>>>0>3;a=a>>1;if(e){continue}break}}Ti(c,d,N[b+4>>2]);b=b-16|0;f=f-1|0;if(f){continue}break}}La=h+272|0;return 0}function Zo(a){var b=0,c=0,d=0;if(a){b=N[a+116>>2];a:{if(!b){break a}c=N[b+44>>2]-1|0;N[b+44>>2]=c;if(c){break a}while(1){c=N[b+28>>2];tb(N[b+36>>2]);d=N[b+40>>2];if(d){_a(N[d-4>>2])}_a(b);b=c;if(b){continue}break}}b=N[a+120>>2];b:{if(!b){break b}c=N[b+44>>2]-1|0;N[b+44>>2]=c;if(c){break b}while(1){c=N[b+28>>2];tb(N[b+36>>2]);d=N[b+40>>2];if(d){_a(N[d-4>>2])}_a(b);b=c;if(b){continue}break}}b=N[a+852>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+848>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+844>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+856>>2];dd(b);_a(N[b+4>>2]);_a(b);b=N[a+200>>2];_a(N[b+40>>2]);_a(N[b+16>>2]);_a(N[b+52>>2]);_a(N[b+20>>2]);_a(N[b+24>>2]);_a(N[b+28>>2]);_a(b);b=N[a+840>>2];dd(b);_a(N[b+4>>2]);_a(b);_a(N[a+224>>2]);_a(N[a+228>>2]);b=N[a+252>>2];if(b){_a(N[b-4>>2])}b=N[a+8>>2];if(b){c=N[b+36>>2];if(c){xe(c)}c=N[b+40>>2];if(c){xe(c)}_a(N[b+32>>2]);_a(N[b+16>>2]);_a(N[b+12>>2]);_a(b)}b=N[a+4>>2];if(b){dq(b)}_a(N[a+124>>2]);_a(N[a+776>>2]);_a(N[a+780>>2]);_a(N[a+784>>2]);_a(N[a+792>>2]);_a(N[a+800>>2]);_a(N[a+100>>2]);_a(N[a+104>>2]);_a(N[a+980>>2]);_a(a)}}function zp(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;g=T(c,1348)+a|0;i=N[g+56>>2];j=N[(T(c,7676)+b|0)+44>>2];e=j>>31;h=(e^j)-e|0;l=h>>>8|0;e=Q[b+40>>2]/40|0;a:{if(l+e>>>0<=8190){e=T(e,h)+32768>>>16|0;break a}d=e&65535;e=T(d,h>>>16|0)+T(e>>>16|0,h)+(T(d,h&65535)+32768>>>16)|0}b:{if((i|0)<=0){break b}d=T(c,7676)+b|0;b=N[d+260>>2];if(!b){break b}g=N[g- -64>>2];s=g+T(i,44)|0;e=(j|0)<0?0-e|0:e;e=(e|0)>=32?32:e;t=T(c,1348)+a|0;u=d+264|0;v=h&65535;w=h>>>16|0;c=1;while(1){a=0;c:{if(!c){break c}c=0;a=e;i=0;while(1){d=T(c,28)+u|0;f=N[d+24>>2];if(!(!(f&1)|(f&2)>>>1^N[t+68>>2]!=L[g+13|0])){f=M[g>>1];m=N[d>>2];n=f-m|0;o=n>>31;p=N[d+12>>2];q=f-p|0;r=q>>31;x=d+12|0;k=d;d=(o^n)-o>>>0>(r^q)-r>>>0;k=d?x:k;f=f-(d?p:m)|0;d=f>>31;d=(d^f)-d|0;d:{if(d+l>>>0<=8190){d=T(d,h)+32768>>>16|0;break d}f=d&65535;d=T(f,w)+T(d>>>16|0,h)+(T(f,v)+32768>>>16)|0}f=(j|0)<0?0-d|0:d;d=(f|0)<(a|0);i=d?k:i;a=d?f:a}c=c+1|0;if(b>>>0>c>>>0){continue}break}a=b;if(!i){break c}N[g+20>>2]=i;a=b}c=a;g=g+44|0;if(s>>>0>g>>>0){continue}break}}}function Vs(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=3;a:{if((d|e)<0){break a}h=N[a+8>>2];i=N[a+12>>2];m=P[i+2>>1];if(Q[h+4>>2]>>0){break a}l=P[i>>1];if(Q[h>>2]>>0){break a}j=T(m,O[a+18|0]);if((T(l,j)+7>>>3|0)+b>>>0>c>>>0){break a}f=0;if(!j|!l){break a}n=d&7;a=8-n|0;k=a>>>0>j>>>0?j:a;p=(255<>2];h=N[h+12>>2]+(T(o,e)+(d>>>3|0)|0)|0;m=j-k|0;e=0;d=l;while(1){i=d;b:{if(!n){a=b;f=j;d=h;break b}c:{if((i|0)==(l|0)){e=O[b|0];g=n;a=b+1|0;break c}if((g|0)<(k|0)){g=(g-k|0)+8|0;if(b>>>0>=c>>>0){a=b}else{e=O[b|0]|e;a=b+1|0}break c}g=g-k|0;e=(e&65280)>>>8|0;a=b}L[h|0]=O[h|0]|(e&65535)>>>g&p;e=e<<8;f=m;d=h+1|0}if((f|0)>=8){while(1){b=O[a|0]|e;L[d|0]=O[d|0]|(b&65535)>>>g;d=d+1|0;a=a+1|0;e=b<<8;b=f>>>0>15;f=f-8|0;if(b){continue}break}}d:{if((f|0)>0){if((f|0)>(g|0)){if(a>>>0>>0){e=O[a|0]|e;a=a+1|0}L[d|0]=O[d|0]|(e&65535)>>>g&65280>>>f;e=e<<8;g=(g-f|0)+8|0;break d}L[d|0]=O[d|0]|65280>>>f&(e&65535)>>>g;g=g-f|0}}b=a;h=h+o|0;d=i-1|0;if((i|0)>1){continue}break}f=0}return f|0}function Yr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;a:{b:{c:{if(Q[b+160>>2]>=a+4>>>0){c=O[a+3|0]|O[a+2|0]<<8;if(c>>>0<518){break a}j=a+c|0;if(j>>>0>Q[b+160>>2]){break a}c=a+6|0;while(1){d=O[c+1|0];if(d&7?Q[b+164>>2]>=2:0){break a}f=O[c+3|0];if(f&7?Q[b+164>>2]>=2:0){break a}f=(f|O[c+2|0]<<8)>>>3|0;d=(d|O[c|0]<<8)>>>3|0;g=d>>>0>g>>>0?d:g;g=g>>>0>>0?f:g;c=c+4|0;h=h+2|0;if((h|0)!=256){continue}break}c=a+518|0;f=(c+(g<<3)|0)+8|0;if(f>>>0>Q[b+160>>2]){break a}a=0;while(1){h=a;a=c+8|0;d=O[c+3|0]|O[c+2|0]<<8;d:{if(!d){c=a;break d}e=O[c+6|0];k=O[c+7|0];l=O[c+4|0];m=O[c+5|0];i=O[c|0];n=O[c+1|0];if(Q[b+164>>2]>=2){i=i<<8|n;if(i>>>0>255|d>>>0>256-i>>>0){break a}}e=k|e<<8;if(!e){c=a;break d}e=e+(c+6|0)|0;if(e>>>0>>0){break c}d=d<<1;if(d+e>>>0>j>>>0){break c}if(!N[b+164>>2]){c=a;break d}e=l<<8|m;d=(c+d|0)+8|0;c=a;while(1){a=O[c+1|0]|O[c|0]<<8;if(Q[b+172>>2]<=(a+e&65535)>>>0?a:0){break b}c=c+2|0;if(d>>>0>c>>>0){continue}break}}a=h+1|0;if((g|0)!=(h|0)){continue}break}return 0}break a}Pb(b,9);B()}Pb(b,16);B()}Pb(b,8);B()}function Ve(a,b,c,d,e){N[a+8>>2]=c;N[a+4>>2]=b;N[a>>2]=0;c=N[c+24>>2];N[a+48>>2]=0;N[a+52>>2]=0;N[a+16>>2]=d;N[a+12>>2]=c;N[a+20>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;L[a+44|0]=0;N[a+64>>2]=275552;L[a+60|0]=0;N[a+56>>2]=65536;b=N[c+140>>2];a:{if(b){break a}while(1){b=N[c+48>>2];if(!b){b=275552;break a}d=db(1,4);if(!d){b=275552;N[c+140>>2]=275552;break a}b=Pf(d,b);if(!N[c+140>>2]){N[c+140>>2]=b;break a}ab(N[b>>2]);_a(b);b=N[c+140>>2];if(!b){continue}break}}b=N[b>>2];b=b?b:275552;c=N[b+12>>2];b=N[b+16>>2];N[a+72>>2]=0;N[a+68>>2]=b>>>0<4?275552:c;b:{c:{d:{if(!e){break d}b=N[e>>2];if(!b){break d}if((b|0)<=0){break c}N[e>>2]=b+1}N[a+52>>2]=e;L[a+44|0]=0;b=N[a+12>>2];c=N[b+32>>2];if((c|0)==-1){d=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;c=(b<<8|b>>>8)&65535;N[d+32>>2]=c;e=N[a+52>>2]}L[a+60|0]=1;N[a+56>>2]=c;b=N[e+12>>2];N[a+24>>2]=b;c=b;b=N[e+16>>2];N[a+28>>2]=c+b;if((b|0)<0){break b}N[a+20>>2]=0;N[a+48>>2]=0;N[a+40>>2]=0;N[a+32>>2]=1073741823;return a}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function Xl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=-31;a:{b:{c:{d:{e:{f:{switch(N[a+552>>2]){case 2:g=N[c>>2];break d;case 0:e=N[b+4>>2];g:{if((e|0)!=32){f=N[b>>2];break g}e=N[b+12>>2];if(!e){return 2}f=N[b>>2]>>>8|0;N[b>>2]=f;d=N[b+8>>2];g=O[d|0];N[b+12>>2]=e-1;N[b+8>>2]=d+1;e=24;f=f|g<<24;N[b>>2]=f}d=e+1|0;N[b+4>>2]=d;if(f>>>e&1){break e}N[c>>2]=0;return 1;case 1:break f;default:break c}}d=N[b+4>>2]}h:{if(d-30>>>0>=3){e=N[b>>2];break h}e=N[b+12>>2];if(!e){break b}f=N[b>>2]>>>8|0;N[b>>2]=f;g=N[b+8>>2];h=O[g|0];N[b+12>>2]=e-1;N[b+8>>2]=g+1;e=f|h<<24;N[b>>2]=e;d=d-8|0}N[b+4>>2]=d+3;g=e>>>d&7;if(!g){N[c>>2]=1;N[a+552>>2]=0;return 1}N[c>>2]=g}f=N[b+4>>2];i:{if(32-f>>>0>=g>>>0){h=N[b>>2];break i}d=N[b+12>>2];e=f;while(1){if(!d){break a}h=N[b>>2]>>>8|0;N[b>>2]=h;i=N[b+8>>2];j=O[i|0];d=d-1|0;N[b+12>>2]=d;f=e-8|0;N[b+4>>2]=f;N[b+8>>2]=i+1;h=h|j<<24;N[b>>2]=h;i=40-e|0;e=f;if(g>>>0>i>>>0){continue}break}}N[b+4>>2]=f+g;d=1;N[c>>2]=(N[(g<<2)+169392>>2]&h>>>f)+(1<>2]);N[a+552>>2]=0}return d}N[a+552>>2]=1;return 2}N[a+552>>2]=2;return 2}function Cu(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a=N[a+12>>2];h=a+4280|0;a:{b:{c:{f=N[a+4280>>2];if(f>>>0>b>>>0){f=f-b|0;e=N[a+4284>>2];if(f>>>0<=(e-a|0)-184>>>0){N[a+4280>>2]=b;N[a+4284>>2]=e-f;break c}e=N[a>>2];g=N[e+20>>2];if(g){f=0;if(Qa[g|0](e,0,0,0)|0){break a}}N[e+8>>2]=0;N[a+104>>2]=0;N[a+48>>2]=0;N[a+12>>2]=0;N[a+16>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;L[a+44|0]=0;N[a- -64>>2]=9;N[a+4288>>2]=h;N[a+4284>>2]=h;N[a+4280>>2]=0;f=0}if(b>>>0<=f>>>0){break c}g=N[a+4284>>2];i=N[a+4288>>2]-g|0;e=b-f|0;b=e>>>0>i>>>0?i:e;N[a+4284>>2]=b+g;N[a+4280>>2]=b+f;b=e-b|0;if(b){g=a+12|0;while(1){f=0;e=b>>>0>=4096?4096:b;if(jm(g,0,e)>>>0>>0){break a}N[h>>2]=e+N[h>>2];b=b-e|0;if(b){continue}break}}if(d){break b}return 0}if(d){break b}return 0}e=a+184|0;i=a+12|0;h=N[a+4284>>2];b=N[a+4288>>2];f=0;while(1){b=b-h|0;b=b>>>0>>0?b:d;F(c+f|0,h,b);N[a+4284>>2]=b+N[a+4284>>2];N[a+4280>>2]=b+N[a+4280>>2];f=b+f|0;d=d-b|0;if(!d){break a}N[a+4284>>2]=e;g=jm(i,e,4096);h=N[a+4284>>2];b=g+h|0;N[a+4288>>2]=b;if(g){continue}break}}return f|0}function We(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=La-32|0;f=N[a+68>>2];if(f>>>0>=2){i=N[a+80>>2];e=f-1|0;while(1){b=T(e,20)+i|0;N[c+24>>2]=N[b+16>>2];d=N[b+12>>2];N[c+16>>2]=N[b+8>>2];N[c+20>>2]=d;d=N[b+4>>2];N[c+8>>2]=N[b>>2];N[c+12>>2]=d;d=T(g,20)+i|0;N[b+16>>2]=N[d+16>>2];h=N[d+12>>2];N[b+8>>2]=N[d+8>>2];N[b+12>>2]=h;h=N[d+4>>2];N[b>>2]=N[d>>2];N[b+4>>2]=h;N[d+16>>2]=N[c+24>>2];b=N[c+20>>2];N[d+8>>2]=N[c+16>>2];N[d+12>>2]=b;b=N[c+12>>2];N[d>>2]=N[c+8>>2];N[d+4>>2]=b;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}a:{if(!O[a+63|0]){break a}b=N[a+68>>2];b=b>>>0>>0?b:f;if(b>>>0<2){break a}d=N[a+88>>2];e=b-1|0;g=0;while(1){a=d+T(e,20)|0;N[c+24>>2]=N[a+16>>2];b=N[a+12>>2];N[c+16>>2]=N[a+8>>2];N[c+20>>2]=b;b=N[a+4>>2];N[c+8>>2]=N[a>>2];N[c+12>>2]=b;b=d+T(g,20)|0;N[a+16>>2]=N[b+16>>2];f=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=f;f=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=f;N[b+16>>2]=N[c+24>>2];a=N[c+20>>2];N[b+8>>2]=N[c+16>>2];N[b+12>>2]=a;a=N[c+12>>2];N[b>>2]=N[c+8>>2];N[b+4>>2]=a;e=e-1|0;g=g+1|0;if(e>>>0>g>>>0){continue}break}}}function Pc(a,b,c){var d=0,e=0,f=0;if(c>>>0>=512){F(a,b,c);return a}f=a+c|0;a:{if(!((a^b)&3)){e=a&3;d=a;b:{if(!e){break b}d=a;if(!c){break b}c=a+1|0;c=(a^-1)+(c>>>0>>0?f:c)|0;d=e^3;c=(c>>>0>>0?c:d)+1|0;F(a,b,c);b=b+c|0;d=a+c|0}c=d;d=f&-4;c:{if(d>>>0<64){break c}e=d+-64|0;if(e>>>0>>0){break c}while(1){N[c>>2]=N[b>>2];N[c+4>>2]=N[b+4>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=N[b+12>>2];N[c+16>>2]=N[b+16>>2];N[c+20>>2]=N[b+20>>2];N[c+24>>2]=N[b+24>>2];N[c+28>>2]=N[b+28>>2];N[c+32>>2]=N[b+32>>2];N[c+36>>2]=N[b+36>>2];N[c+40>>2]=N[b+40>>2];N[c+44>>2]=N[b+44>>2];N[c+48>>2]=N[b+48>>2];N[c+52>>2]=N[b+52>>2];N[c+56>>2]=N[b+56>>2];N[c+60>>2]=N[b+60>>2];b=b- -64|0;c=c- -64|0;if(e>>>0>=c>>>0){continue}break}}if(c>>>0>=d>>>0){break a}e=c+4|0;d=((c^-1)+(d>>>0>e>>>0?d:e)&-4)+4|0;F(c,b,d);b=b+d|0;c=c+d|0;break a}if(f>>>0<4){c=a;break a}d=f-4|0;if(d>>>0>>0){c=a;break a}c=a;while(1){L[c|0]=O[b|0];L[c+1|0]=O[b+1|0];L[c+2|0]=O[b+2|0];L[c+3|0]=O[b+3|0];b=b+4|0;c=c+4|0;if(d>>>0>=c>>>0){continue}break}}if(c>>>0>>0){F(c,b,f-c|0)}return a}function io(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=La-16|0;La=g;b=N[a+84>>2];N[g>>2]=N[N[a+88>>2]+16>>2];mb(b,6,18351,g);a:{i=N[a+88>>2];b=N[i+16>>2];e=b&3;b:{if((e|0)==1){mb(N[a+84>>2],1,15329,0);break b}d=b>>>2|0;j=(T(d,3)+(e>>>0<=1?1:e)|0)-1|0;f=kb(j);if(!f){f=0;break b}c=N[i+8>>2];c:{if(b>>>0<4){b=f;break c}l=d>>>0<=1?1:d;d=0;b=f;while(1){m=O[c|0];h=O[c+1|0];k=(O[c+2|0]+31&63)<<6;L[b+2|0]=k|O[c+3|0]+31&63;h=(h+31&63)<<12;L[b+1|0]=(h|k)>>>8;L[b|0]=(h|m<<18)+8126464>>>16;c=c+4|0;b=b+3|0;d=d+1|0;if((l|0)!=(d|0)){continue}break}}d:{e:{f:{switch(e-2|0){case 1:e=O[c+2|0];d=O[c|0]<<18;c=(O[c+1|0]+31&63)<<12;L[b|0]=(d|c)+8126464>>>16;c=(c|(e+31&60)<<6)>>>8|0;d=2;e=b+1|0;break e;case 0:break f;default:break d}}c=((O[c+1|0]+31&48)<<12|(O[c|0]+31&255)<<18)>>>16|0;d=1;e=b}L[e|0]=c;b=b+d|0}if((b-f|0)!=(j|0)){break a}b=N[a+84>>2];if(!N[b+4>>2]){break b}Ji(b,N[i+4>>2],f,j)}_a(f);a=N[a+88>>2];_a(N[a+4>>2]);_a(N[a+8>>2]);N[a+12>>2]=0;N[a+16>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;La=g+16|0;return}ba(21855,18016,1077,9028);B()}function hk(a,b,c){var d=0,e=0;N[a+116>>2]=N[a+116>>2]|1<<(b>>>4);N[a+120>>2]=N[a+120>>2]|1<>2]=N[a+124>>2]|1<<(b>>>9);d=N[a+160>>2];if((d|0)!=-1){e=N[a+96>>2];L[(N[e+80>>2]+T(N[e+64>>2],20)|0)+15|0]=d}d=N[a+96>>2];e=N[d+80>>2]+T(N[d+64>>2],20)|0;d=P[e+12>>1]|80;a:{if(O[a+148|0]){d=Uc(N[a+104>>2],b)|d&112;break a}if(!c){break a}d=d&112|c}M[e+12>>1]=d;b:{c:{a=N[a+96>>2];c=N[a+72>>2]+1|0;d:{if(!(!c|c>>>0>2])){if(!gb(a,c)){break d}}c=N[a+84>>2];e:{if((c|0)!=N[a+80>>2]){break e}d=N[a+72>>2];if(Q[a+64>>2]>=d+1>>>0){break e}if(!O[a+62|0]){break c}e=N[a+88>>2];N[a+84>>2]=e;d=T(d,20);if(!d){break e}F(e,c,d)}c=N[a+64>>2];d=N[a+68>>2];if(c>>>0>d>>>0){break b}f:{if(c>>>0>>0){d=N[a+80>>2]+T(c,20)|0;e=N[a+72>>2];c=N[a+84>>2];break f}c=N[a+84>>2];e=N[a+72>>2];d=e-1|0;d=c+T(d>>>0<=e>>>0?d:0,20)|0}c=T(e,20)+c|0;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;N[c+16>>2]=N[d+16>>2];e=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=e;N[c>>2]=b;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function Bs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{c:{d:{e:{if(!O[a+24|0]){g=N[b>>2];break e}g=N[b>>2];if((g|0)!=N[a+28>>2]){break e}Ll(a);if(!O[a+24|0]){return 0}d=a+28|0;break d}c=N[a+16>>2];d=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);h=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);if(!h|(g|0)==-1){break a}l=c+16|0;i=g+1|0;c=h;f:{g:{while(1){d=c+j>>>1|0;e=T(d,12)+l|0;f=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if((f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))>>>0<=i>>>0){if(g>>>0>>0){break g}j=d+1|0}else{c=d}if(c>>>0>j>>>0){continue}break}c=0;break f}c=e;c=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24)}f=N[a>>2];if(g>>>0>=k>>>0){e=0;d=d+1|0;if((h|0)==(d|0)){break a}}N[a+36>>2]=d;N[a+28>>2]=i;L[a+24|0]=1;d=a+28|0;if(c>>>0>2]?c:0){break c}Ll(a);if(O[a+24|0]){break d}c=0;break b}c=N[a+32>>2];break b}N[a+32>>2]=c}e=c;N[b>>2]=N[d>>2]}return e|0}function kp(a,b){var c=0,d=0,e=0;c=N[a+32>>2];d=N[a+28>>2];if(d){if(d&1){e=N[c+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=c+16|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){d=N[c+8>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[c+24>>2];if(d){Qa[N[b+8>>2]](b,d)}d=c+16|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;c=c+32|0;e=e-2|0;if(e){continue}break}}c=N[a+32>>2]}if(c){Qa[N[b+8>>2]](b,c)}N[a+24>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;c=N[a+20>>2];d=N[a+16>>2];if(d){if(d&1){e=N[c+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=c+16|0;e=d-1|0}else{e=d}if((d|0)!=1){while(1){d=N[c+8>>2];if(d){Qa[N[b+8>>2]](b,d)}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[c+24>>2];if(d){Qa[N[b+8>>2]](b,d)}d=c+16|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;c=c+32|0;e=e-2|0;if(e){continue}break}}c=N[a+20>>2]}if(c){Qa[N[b+8>>2]](b,c)}N[a+12>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;e=N[a+8>>2];if(e){Qa[N[b+8>>2]](b,e)}N[a>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}function Pe(a,b){var c=0,d=0,e=0;N[a+116>>2]=N[a+116>>2]|1<<(b>>>4);N[a+120>>2]=N[a+120>>2]|1<>2]=N[a+124>>2]|1<<(b>>>9);c=N[a+160>>2];if((c|0)!=-1){d=N[a+96>>2];L[(N[d+80>>2]+T(N[d+64>>2],20)|0)+15|0]=c}c=N[a+96>>2];d=N[c+80>>2]+T(N[c+64>>2],20)|0;c=P[d+12>>1]|16;if(O[a+148|0]){c=Uc(N[a+104>>2],b)|c&112}M[d+12>>1]=c;a:{b:{c=N[a+96>>2];a=N[c+72>>2]+1|0;c:{if(!(!a|a>>>0>2])){if(!gb(c,a)){break c}}a=N[c+84>>2];d:{if((a|0)!=N[c+80>>2]){break d}d=N[c+72>>2];if(d+1>>>0<=N[c+64>>2]+1>>>0){break d}if(!O[c+62|0]){break b}e=N[c+88>>2];N[c+84>>2]=e;d=T(d,20);if(!d){break d}F(e,a,d)}d=N[c+68>>2];a=N[c+64>>2];if(d>>>0>>0){break a}e:{if(a>>>0>>0){d=N[c+72>>2];e=N[c+84>>2];a=N[c+80>>2]+T(a,20)|0;break e}e=N[c+84>>2];d=N[c+72>>2];a=d-1|0;a=e+T(a>>>0<=d>>>0?a:0,20)|0}d=T(d,20)+e|0;e=N[a+4>>2];N[d>>2]=N[a>>2];N[d+4>>2]=e;N[d+16>>2]=N[a+16>>2];e=N[a+12>>2];N[d+8>>2]=N[a+8>>2];N[d+12>>2]=e;N[d>>2]=b;N[c+64>>2]=N[c+64>>2]+1;N[c+72>>2]=N[c+72>>2]+1}return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function Gl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{b:{b=N[a+24>>2];if(b>>>0>65534){break b}i=N[a>>2];l=N[i+508>>2]+N[i+512>>2]|0;c=b+1|0;b=N[a+40>>2];c=b>>>0>>0?c:b;while(1){g=N[a+44>>2];c:{if(g>>>0>>0){break c}f=N[a+48>>2];d:{e=N[a+52>>2];if(!e){j=N[i+16>>2];b=f+g|0;if((b|0)<0){while(1){d=c+f&65535;if(j>>>0<=d>>>0){break c}if(d){break a}c=c+1|0;if(g>>>0>=c>>>0){continue}break c}}e=0-f|0;if((b|0)<=65535){break d}h=65536-f|0;while(1){k=c+f|0;d=k&65535;e:{if(j>>>0<=d>>>0){b=e;if((k|0)<0){break e}b=h;if(k>>>0<65536){break e}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}break c}b=e+(c-b<<1)|0;if(l>>>0>>0){break c}while(1){e=O[b+1|0]|O[b|0]<<8;if(e){d=f+e&65535;if(d){break a}}b=b+2|0;c=c+1|0;if(g>>>0>=c>>>0){continue}break}break c}while(1){h=c+f|0;d=h&65535;f:{if(j>>>0<=d>>>0){b=e;if((h|0)<0){break f}break c}b=c;if(d){break a}}c=b+1|0;if(g>>>0>=c>>>0){continue}break}}d=0;if((Fl(a,N[a+36>>2]+1|0)|0)<0){break b}b=N[a+40>>2];c=b>>>0>>0?c:b;continue}}c=-1}N[a+28>>2]=d;N[a+24>>2]=c}function Ck(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;g=La-16|0;La=g;a:{if(Q[b+4>>2]>a>>>0){break a}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break a}f=N[b+12>>2]-2|0;N[b+12>>2]=f;d=1;if((f|0)<=0){d=0;break a}h=O[a|0]|O[a+1|0]<<8;if(!h){break a}d=a+2|0;if(d>>>0>e>>>0){d=0;break a}i=e-d|0;e=(h<<8|h>>>8)&65535;d=T(e,6);if(i>>>0>>0){d=0;break a}f=f-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break a}h=e>>>0<=1?1:e;f=0;while(1){b:{i=T(f,6)+a|0;d=i+2|0;e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);j=N[c>>2];N[g+12>>2]=j;N[g+8>>2]=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(d>>>0>2]){break b}e=N[b+8>>2];if(e>>>0>>0|e-d>>>0<6){break b}k=N[b+12>>2];d=k-6|0;N[b+12>>2]=d;if((d|0)<=0){break b}d=i+6|0;if(d>>>0>e>>>0|e-d>>>0<2){break b}e=k-8|0;N[b+12>>2]=e;if((e|0)<=0){break b}e=O[d|0]|O[d+1|0]<<8;c:{if(!e){break c}if(Ak(((e<<8|e>>>8)&65535)+j|0,b,g+8|0)){break c}e=N[b+28>>2];if(e>>>0>31){break b}N[b+28>>2]=e+1;if(!O[b+24|0]){break b}L[d|0]=0;L[d+1|0]=0}d=1;f=f+1|0;if((h|0)!=(f|0)){continue}break a}break}d=0}La=g+16|0;return d}function bj(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;e=b&65535;a:{b:{c:{d:{d=N[c+4>>2];if((d|0)!=131072){if((d|0)!=65536){break a}d=0;if((b&65535)>>>0<=257){c=e<<2;b=N[c+267632>>2];g=b+268668|0;d=N[c+267636>>2]+(b^-1)|0}if((a&65535)>>>0<=257){break d}b=0;break b}b=N[c+8>>2];f=O[b|0]|O[b+1|0]<<8;f=f<<8|f>>>8;d=0;e:{if(e>>>0>=(f&65535)>>>0){break e}d=b+(e<<1)|0;d=O[d+2|0]|O[d+3|0]<<8;e=(d<<8|d>>>8)&65535;if(e>>>0<=257){d=e<<2;e=N[d+267632>>2];g=e+268668|0;d=N[d+267636>>2]+(e^-1)|0;break e}e=e-258|0;d=0;if(e>>>0>=Q[c+16>>2]){break e}d=N[c+24>>2]+N[N[c+20>>2]+(e<<2)>>2]|0;g=d+1|0;d=O[d|0]}a=a&65535;if(a>>>0<(f&65535)>>>0){break c}b=0;break b}b=a<<2&262140;a=N[b+267632>>2];h=a+268668|0;b=N[b+267636>>2]+(a^-1)|0;break b}a=b+(a<<1)|0;a=O[a+2|0]|O[a+3|0]<<8;a=(a<<8|a>>>8)&65535;if(a>>>0<=257){b=a<<2;a=N[b+267632>>2];h=a+268668|0;b=N[b+267636>>2]+(a^-1)|0;break b}a=a-258|0;b=0;if(a>>>0>=Q[c+16>>2]){break b}a=N[c+24>>2]+N[N[c+20>>2]+(a<<2)>>2]|0;h=a+1|0;b=O[a|0]}c=b;if((c|0)!=(d|0)){return c-d|0}if(!d){break a}i=Mb(h,g,d)}return i}function yb(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{b=O[a|0];c:{if((b|0)==38){if((O[a+1|0]&223)==72){break c}b=O[a|0]}if((b&255)!=48|(O[a+1|0]&223)!=88){break b}}a=a+2|0;g=1;d:{e:{while(1){f:{g:{c=O[a|0];switch(c-9|0){case 0:case 23:break g;case 34:break e;case 36:break f;default:break d}}a=a+1|0;continue}break}g=-1}c=O[a+1|0];a=a+1|0}b=c&255;h:{if((b|0)!=48){b=(b|0)==48;break h}b=(O[a+1|0]&223)==88}e=(b?2:0)+a|0;c=L[e|0];b=0;if((c|0)<48){break a}b=e;while(1){i:{a=b;f=-48;j:{h=c&255;if(h>>>0<58){break j}f=-87;if((c-97&255)>>>0<6){break j}f=-55;if((c-65&255)>>>0<=5){break j}break i}b=a+1|0;d=((d<<4)+h|0)+f|0;c=L[a+1|0];if((c|0)>47){continue}}break}return T((b|0)==(e|0)?1:g,d)}k:{l:{while(1){m:{f=1;d=1;n:{c=O[a|0];switch(c-9|0){case 34:break l;case 36:break m;case 0:case 23:break n;default:break k}}a=a+1|0;continue}break}d=-1}c=O[a+1|0];a=a+1|0;f=d}d=0;b=0;if(c<<24>>24<48){break a}b=a;while(1){e=c&255;if(e>>>0<=57){d=(e+T(d,10)|0)-48|0;c=L[b+1|0];b=b+1|0;if((c|0)>47){continue}}break}b=T((a|0)==(b|0)?1:f,d)}return b}function yl(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;i=N[a+24>>2];e=N[a+36>>2];if(!(e|N[a+68>>2]?(e|0)!=1:0)){a:{if(!N[a+4>>2]){break a}if((c|0)==-1){c=nb(b)}d=(d|0)==-1?c:d;if(d>>>0>268435455){break a}e=N[a+68>>2]+(d>>>2|0)|0;if(!(!e|e>>>0>2])){if(!gb(a,e)){break a}}e=b;if((d|0)>0){j=b+d|0;g=b;while(1){e=xl(g,j,f+12|0,i);k=N[f+12>>2];d=N[a+68>>2];h=d+1|0;b:{if(!(!h|Q[a+76>>2]>h>>>0)){if(!gb(a,h)){break b}d=N[a+68>>2]}d=N[a+80>>2]+T(d,20)|0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;N[d>>2]=k;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d+16|0]=0;L[d+17|0]=0;L[d+18|0]=0;L[d+19|0]=0;N[d+8>>2]=g-b;N[d+4>>2]=0;N[a+68>>2]=N[a+68>>2]+1}g=e;if(j>>>0>e>>>0){continue}break}}N[a+136>>2]=0;b=b+c|0;c:{if(b>>>0<=e>>>0){break c}while(1){e=xl(e,b,f+8|0,i);c=N[f+8>>2];d=N[a+136>>2];N[a+136>>2]=d+1;N[((d<<2)+a|0)+112>>2]=c;if(b>>>0<=e>>>0){break c}if(Q[a+136>>2]<=4){continue}break}}N[a+36>>2]=1}La=f+16|0;return}ba(24107,14165,530,16333);B()}function Ov(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){c=N[a+100>>2];d=N[a+316>>2];if(d){e=N[a+300>>2];a:{if((e|0)>0){d=0;while(1){f=N[a+316>>2]+(d<<3)|0;b=N[f+4>>2];if(b){e=N[b>>2];if(e){Qa[N[c+8>>2]](c,e);b=N[f+4>>2]}N[b>>2]=0;b=N[f+4>>2];if(b){Qa[N[c+8>>2]](c,b)}N[f+4>>2]=0;e=N[a+300>>2]}d=d+1|0;if((e|0)>(d|0)){continue}break}d=N[a+316>>2];if(!d){break a}}Qa[N[c+8>>2]](c,d)}N[a+316>>2]=0}b=N[a+164>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+164>>2]=0;b=N[a+168>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+168>>2]=0;b=N[a+172>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+172>>2]=0;b=N[a+176>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+176>>2]=0;b=N[a+180>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+180>>2]=0;b=N[a+304>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+300>>2]=0;N[a+304>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0;b=N[a+152>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+152>>2]=0;b=N[a+156>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;N[a+24>>2]=0;N[a+156>>2]=0;b=N[a+324>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+324>>2]=0;b=N[a+328>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+328>>2]=0}}function Sj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;c=O[a+2|0]|O[a+3|0]<<8;d=((((c<<8|c>>>8)&65535)<<1)+a|0)+4|0;if(O[d|0]|O[d+1|0]<<8){c=d+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}Ob(c,N[b+12>>2]);c=O[d|0]|O[d+1|0]<<8;h=(c<<8|c>>>8)&65535;l=d+(h<<1)|0;c=l+2|0;i=O[c|0]|O[c+1|0]<<8;g=(i<<8|i>>>8)&65535;j=(g<<1)+c|0;k=O[j+2|0]|O[j+3|0]<<8;c=O[a+2|0]|O[a+3|0]<<8;if(c){m=N[b+8>>2];e=(c<<8|c>>>8)&65535;c=a+4|0;while(1){f=O[c|0]|O[c+1|0]<<8;Ob(f?((f<<8|f>>>8)&65535)+a|0:275552,m);c=c+2|0;e=e-1|0;if(e){continue}break}}if(h>>>0>=2){c=d+4|0;f=N[b+12>>2];e=h-1|0;while(1){d=O[c|0]|O[c+1|0]<<8;Ob(d?((d<<8|d>>>8)&65535)+a|0:275552,f);c=c+2|0;e=e-1|0;if(e){continue}break}}if(i){c=l+4|0;e=N[b+16>>2];while(1){d=O[c|0]|O[c+1|0]<<8;Ob(d?((d<<8|d>>>8)&65535)+a|0:275552,e);c=c+2|0;g=g-1|0;if(g){continue}break}}if(k){a=(k<<8|k>>>8)&65535;d=j+4|0;c=0;while(1){e=d+(c<<2)|0;e=O[e+2|0]|O[e+3|0]<<8;Qj(b,(e<<8|e>>>8)&65535);c=c+1|0;if((a|0)!=(c|0)){continue}break}}}function Jg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{h=N[b+4>>2];if(h>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}d=N[b+12>>2];c=d-4|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b:{if(!c){break b}if((c|0)==-1|a+4>>>0>=f>>>0){break a}d=d-5|0;N[b+12>>2]=d;if(!d){break a}e=O[a+4|0];if((e-1&255)>>>0>3){break a}i=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);j=i+1|0;c=UE(e,0,j,0);if(Pa){break a}g=a+5|0;c:{if(!c){break c}if(c>>>0>f-g>>>0){break a}d=d-c|0;N[b+12>>2]=d;if((d|0)>0){break c}break a}c=-1;a=g+T(e,i)|0;d:{e:{f:{switch(e-1|0){case 0:a=O[a|0];break e;case 1:a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break e;case 2:a=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);break e;case 3:break f;default:break d}}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}c=a-1|0;if(c){break d}return 1}a=g+T(e,j)|0;if(a>>>0>>0|a>>>0>f>>>0){break a}e=0;if(f-a>>>0>>0){break b}a=d-c|0;N[b+12>>2]=a;e=(a|0)>0}return e}return 0}function Dq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];N[d>>2]=0;a:{if(!(!b|!c)){f=1;if(Qa[N[e+36>>2]](e,b,c,d,N[e+68>>2])|0){break a}}if(O[N[a>>2]+140|0]&16){return 0}f=0;b:{c:{switch(c-1460|0){case 0:if((b|0)!=1497){break a}N[d>>2]=64285;break b;case 3:if((b|0)!=1488){if((b|0)!=1522){break a}N[d>>2]=64287;break b}N[d>>2]=64302;break b;case 4:if((b|0)!=1488){break a}N[d>>2]=64303;break b;case 5:if((b|0)!=1493){break a}N[d>>2]=64331;break b;case 8:a=b-1488|0;if(a>>>0<=26){N[d>>2]=N[(a<<2)+242848>>2];return 131817343>>>a&1}d:{switch(b-64298|0){case 0:N[d>>2]=64300;break b;case 1:break d;default:break a}}N[d>>2]=64301;break b;case 11:e:{switch(b-1489|0){case 0:N[d>>2]=64332;break b;case 10:N[d>>2]=64333;break b;case 19:break e;default:break a}}N[d>>2]=64334;break b;case 13:if((b|0)!=64329){if((b|0)!=1513){break a}N[d>>2]=64298;break b}N[d>>2]=64300;break b;case 14:break c;default:break a}}if((b|0)!=64329){if((b|0)!=1513){break a}N[d>>2]=64299;break b}N[d>>2]=64301}f=1}return f|0}function yt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;f=La-16|0;La=f;e=Qa[N[a+516>>2]](a,1801810542,b,f+12|0)|0;a:{if(e){break a}e=142;c=N[f+12>>2];if(c>>>0<4){break a}e=fc(b,c,a+808|0);if(e){break a}c=N[f+12>>2];N[a+812>>2]=c;e=0;d=N[a+808>>2];b=O[d+2|0]<<8|O[d+3|0];j=b>>>0>=32?32:b;b:{if(!j){break b}k=c+d|0;h=d+4|0;while(1){b=h;if(b+6>>>0>k>>>0){break b}c=O[b+3|0]|O[b+2|0]<<8;if(c>>>0<15){break b}c=b+c|0;h=c>>>0>k>>>0?k:c;c:{if(O[b+4|0]|(O[b+5|0]&3)!=1){break c}c=b+14|0;if(c>>>0>h>>>0){break c}l=1<>>8&65280|c>>>24);b=b+20|0;while(1){i=i-1|0;if(i){c=d;d=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);b=b+6|0;if(c>>>0>>0){continue}break c}break}n=n|l}g=g+1|0;if((j|0)!=(g|0)){continue}break}g=j}N[a+824>>2]=n;N[a+820>>2]=m;N[a+816>>2]=g}La=f+16|0;return e|0}function jg(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=N[N[a+4>>2]+96>>2];f=N[b+8>>2];c=N[N[b+12>>2]+68>>2];if(c){Qa[c|0](a)}c=N[a+156>>2];a:{if(!c){e=a+88|0;break a}e=N[c+4>>2];b:{if(e&1){d=N[a+88>>2];if(d){c=N[N[a+4>>2]+100>>2];Qa[N[c+8>>2]](c,d);c=N[a+156>>2];e=N[c+4>>2]}N[a+88>>2]=0;N[c+4>>2]=e&-2;break b}N[a+88>>2]=0}e=a+156|0;if(!(O[N[b>>2]+1|0]&2)){b=N[c>>2];if(b){c=N[b>>2];d=N[b+24>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+24>>2]=0;d=N[b+28>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+28>>2]=0;d=N[b+32>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+32>>2]=0;d=N[b+40>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+40>>2]=0;d=N[b+52>>2];if(d){Qa[N[c+8>>2]](c,d)}N[b+20>>2]=0;N[b+36>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+88>>2]=0;d=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=d;g=N[b+32>>2];d=b- -64|0;N[d>>2]=N[b+28>>2];N[d+4>>2]=g;d=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=d;d=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=d;Qa[N[c+8>>2]](c,b);c=N[a+156>>2]}N[c>>2]=0}Qa[N[f+8>>2]](f,c)}N[e>>2]=0}function Ef(a,b){var c=0,d=0,e=0,f=0;if(!O[a|0]){return 0}e=a+24|0;c=N[a+24>>2];a:{if((c|0)<0){break a}b:{d=(b|0)>0?b:0;if(d>>>0>c>>>0){while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}b=e;if(c>>>0>67108863){break b}f=$a(N[a+32>>2],c<<6);if(!f){break b}N[a+24>>2]=c;N[a+32>>2]=f}b=N[a+28>>2];if(b>>>0>>0){C(N[a+32>>2]+(b<<6)|0,0,d-b<<6)}N[a+28>>2]=d;c=N[a+12>>2];if((c|0)<0){break a}if(c>>>0>>0){b=a+12|0;while(1){c=((c>>>1|0)+c|0)+8|0;if(d>>>0>=c>>>0){continue}break}if(c>>>0>536870911){break b}f=$a(N[a+20>>2],c<<3);if(!f){break b}N[a+12>>2]=c;N[a+20>>2]=f}b=N[a+16>>2];if(b>>>0>>0){C(N[a+20>>2]+(b<<3)|0,0,d-b<<3)}N[a+16>>2]=d;return 1}N[b>>2]=-1}c=N[a+16>>2];b=N[e>>2];if((b|0)>=0){c:{c=(c|0)>0?c:0;if(c>>>0>b>>>0){while(1){b=((b>>>1|0)+b|0)+8|0;if(c>>>0>=b>>>0){continue}break}d:{if(b>>>0<=67108863){d=$a(N[e+8>>2],b<<6);if(d){break d}}N[e>>2]=-1;break c}N[e>>2]=b;N[e+8>>2]=d}b=N[e+4>>2];if(b>>>0>>0){C(N[e+8>>2]+(b<<6)|0,0,c-b<<6)}N[e+4>>2]=c}}L[a|0]=0;return 0}function fw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=N[a+96>>2];e=N[a+712>>2];a:{b:{if(O[e+24|0]==2){c=N[d+4>>2];if(!c){break b}d=N[c+16>>2];if((d|0)<=0){break a}c=c+20|0;d=c+(d<<2)|0;while(1){e=N[c>>2];f=N[e>>2];if(cb(N[f+8>>2],9195)){c=c+4|0;if(d>>>0>c>>>0){continue}break a}break}c=N[f+32>>2];if(!c){break a}c=Qa[c|0](e,9592)|0;if(!c){break a}c=N[c+4>>2];if(!c){break a}return Qa[c|0](a,b)|0}if(!d){break a}c:{a=N[N[d>>2]+32>>2];if(a){a=Qa[a|0](d,10566)|0;if(a){break c}}a=N[d+4>>2];f=N[a+16>>2];if((f|0)<=0){break a}c=a+20|0;f=c+(f<<2)|0;while(1){a=N[c>>2];d:{if((a|0)==(d|0)){break d}h=N[N[a>>2]+32>>2];if(!h){break d}a=Qa[h|0](a,10566)|0;if(a){break c}}c=c+4|0;if(f>>>0>c>>>0){continue}break}break a}if(!N[e+20>>2]){break a}while(1){c=P[N[e+1188>>2]+(g<<1)>>1];e:{f:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=Q[e+1356>>2]){break e}c=N[N[e+1360>>2]+(c<<2)>>2];break f}c=Qa[N[a+20>>2]](c)|0}if(!c){break e}if(!cb(b,c)){break a}}g=g+1|0;if(g>>>0>2]){continue}break}}g=0}return g|0}function xk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<6){break a}e=N[b+12>>2]-6|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}f=a+6|0;if(f>>>0>d>>>0){break a}g=d-f|0;d=(c<<8|c>>>8)&65535;c=d<<1;if(g>>>0>>0){break a}e=e-c|0;N[b+12>>2]=e;if((e|0)<=0){break a}g=d>>>0<=1?1:d;e=0;while(1){d=f+(e<<1)|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}c=N[b+12>>2]-2|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(Lb(((c<<8|c>>>8)&65535)+a|0,b)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}e=e+1|0;if((g|0)!=(e|0)){continue}break}d=O[a+4|0]|O[a+5|0]<<8;if(!d){return 1}a=O[a+2|0]|O[a+3|0]<<8;a=f+(((a<<8|a>>>8)&65535)<<1)|0;if(a>>>0>2]){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;a=((d<<8|d>>>8)&65535)<<2;if(c>>>0>>0){break a}a=N[b+12>>2]-a|0;N[b+12>>2]=a;h=(a|0)>0}return h}function Bj(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{e=db(1,40);if(e){f=N[a+44>>2];k=f-1|0;j=N[a+48>>2];b=N[a+4>>2]==1098015074;b:{c:{if((f|0)<=0){break c}a=k;while(1){d:{d=a+c>>>1|0;g=N[T(d,36)+j>>2];e:{if(g>>>0>=1937007465){a=d-1|0;break e}if((g|0)==1937007464){break d}c=d+1|0}if((a|0)>=(c|0)){continue}break c}break}a=2;if(N[(T(d,36)+j|0)+28>>2]){break b}}a=0}L[e+36|0]=b|a;d=0;if((f|0)<=0){break a}while(1){b=d<<2;f=N[b+238192>>2];c=0;a=k;g=e+b|0;f:{g:{while(1){b=a+c>>>1|0;h=T(b,36)+j|0;i=N[h>>2];h:{if(i>>>0>f>>>0){a=b-1|0;break h}if(f>>>0<=i>>>0){break g}c=b+1|0}if((a|0)>=(c|0)){continue}break}a=0;break f}a=N[h+28>>2]}N[g>>2]=a;g=O[e+36|0];b=0;i:{if(!(g&1)){break i}c=0;a=k;b=1;if(44>>>d&1){break i}j:{while(1){b=a+c>>>1|0;h=T(b,36)+j|0;i=N[h>>2];k:{if(i>>>0>f>>>0){a=b-1|0;break k}if(f>>>0<=i>>>0){break j}c=b+1|0}if((a|0)>=(c|0)){continue}break}b=0;break i}b=L[h+32|0]&1}L[e+36|0]=b|g&254;d=d+1|0;if((d|0)!=7){continue}break}}return e|0}L[e+36|0]=a;return e|0}function rt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=N[a+816>>2];a:{if(!h){break a}f=N[a+812>>2];if((f|0)<10){break a}d=f;f=N[a+808>>2];j=d+f|0;d=f+4|0;g=f+10|0;k=b<<16|c;n=N[a+820>>2];i=1;while(1){b=(O[d+3|0]|O[d+2|0]<<8)+d|0;f=b>>>0>j>>>0?j:b;b:{if(O[d+4|0]|!(i&n)){break b}o=O[d+5|0];b=d+14|0;e=f-b|0;c=O[d+7|0]|O[g|0]<<8;d=(e|0)<(T(c,6)|0)?(e|0)/6|0:c;c:{if(N[a+824>>2]&i){g=0;if(!d){break b}while(1){l=d+g>>>1|0;c=T(l,6)+b|0;e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if((e|0)==(k|0)){break c}c=e>>>0>>0;g=c?l+1|0:g;d=c?d:l;if(g>>>0>>0){continue}break}break b}if(!d){break b}while(1){c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))==(k|0)){c=b;break c}b=b+6|0;d=d-1|0;if(d){continue}break}break b}b=O[c+4|0]|O[c+5|0]<<8;m=((b<<8|b>>>8)<<16>>16)+(o&8?0:m)|0}h=h-1|0;if(!h){break a}i=i<<1;d=f;g=d+6|0;if(j>>>0>=g>>>0){continue}break}}return m|0}function sp(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=fb(65536e3,b<<16);if((h|0)>=655){b=c<<16;e=(b|0)<=262144?262144:b;if((d|0)<=0){b=4915200}else{b=d<<16;c=b>>31;d=h>>31;d=(d^h)-d|0;c=(b^c)-c|0;c=c+(d>>>8|0)>>>0<8191?T(d,c)>>>16|0:T(d,c>>>16|0);b=(b|0)<0?0-c|0:c}i=N[a+48>>2];j=N[a+28>>2];d=N[a+24>>2];m=d<<16;if(((W(e)^31)-W(b)|0)>=15){c=i<<16}else{c=b>>31;c=(c^b)-c|0;a:{if(c+(e>>>8|0)>>>0<=8190){c=T(c,e)>>>16|0;break a}c=T(c&65535,e>>>16|0)+T(c>>>16|0,e)|0}c=(b|0)<0?0-c|0:c}b:{if((m|0)>(c|0)){a=fb(j<<16,e);break b}n=N[a+52>>2];k=N[a+44>>2];f=N[a+40>>2];l=N[a+36>>2];c:{d:{e:{g=N[a+32>>2];a=g<<16;f:{if((c|0)<(a|0)){c=fb(m,e);if((d|0)==(g|0)){break f}a=jb(b-c|0,l-j|0,g-d|0)+fb(j<<16,e)|0;break b}d=f<<16;if((d|0)<=(c|0)){break e}}c=fb(a,e);if((f|0)==(g|0)){break d}a=jb(b-c|0,k-l|0,f-g|0)+fb(l<<16,e)|0;break b}a=d;if((c|0)>=i<<16){break c}}a=fb(a,e);if((f|0)==(i|0)){break c}a=jb(b-a|0,n-k|0,i-f|0)+fb(k<<16,e)|0;break b}a=fb(n<<16,e)}a=fb(a,h)}else{a=0}return a}function ku(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=6;d=N[b>>2];if(Q[d+16>>2]>c>>>0){b=N[d+140>>2];f=P[b+96>>1];e=N[b+56>>2];if(c){b=c-1|0}else{b=N[d+148>>2]}b=e+T(b,36)|0;j=N[b+24>>2];h=M[b+20>>1];e=M[b+16>>1];i=P[b+10>>1];c=P[b+14>>1];g=P[b+12>>1];N[a+84>>2]=N[b+28>>2];N[a+80>>2]=g;N[a+76>>2]=c;c=N[a+156>>2];a:{if(!c){break a}b=N[c+4>>2];if(!(b&1)){break a}g=N[a+88>>2];if(g){b=N[N[a+4>>2]+100>>2];Qa[N[b+8>>2]](b,g);c=N[a+156>>2];b=N[c+4>>2]}N[c+4>>2]=b&-2}N[a+88>>2]=j;b:{c:{switch(f-1|0){case 0:L[a+94|0]=1;break b;case 1:L[a+94|0]=3;break b;case 3:L[a+94|0]=4;break b;case 7:break c;default:break b}}M[a+92>>1]=256;L[a+94|0]=2}N[a+104>>2]=h;N[a+100>>2]=e;N[a+72>>2]=1651078259;N[a+40>>2]=i<<6;b=h<<6;N[a+36>>2]=b;f=e<<6;N[a+32>>2]=f;N[a+24>>2]=N[a+80>>2]<<6;c=N[a+76>>2]<<6;N[a+28>>2]=c;e=0;c=(h|0)<0?(b|0)<(c|0)?c:b:c-b|0;b=P[N[d+140>>2]+6>>1];d:{if(b){b=b<<6;break d}b=(T(c,12)|0)/10|0}N[a+52>>2]=b;N[a+48>>2]=(b-c|0)/2;N[a+44>>2]=f-(i<<5)}return e|0}function Ug(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,o=0,p=0,q=0,r=0;a:{if(!c|!O[a|0]){break a}N[a+4>>2]=-1;d=O[b|0]|O[b+1|0]<<8;f=(d<<8|d>>>8)&65535;k=N[a+16>>2];n=k-1|0;m=N[a+32>>2];l=N[a+20>>2];e=N[a+8>>2];o=(k|0)<=0;b:while(1){c:{i=f>>>9|0;d:{e:{if(!((i|0)!=N[(e<<3)+l>>2]|e>>>0>=k>>>0)){d=e;break e}h=0;g=n;f:{if(!o){while(1){d=h+g>>>1|0;j=N[(d<<3)+l>>2];g:{if((i|0)<(j|0)){g=d-1|0;break g}if((i|0)==(j|0)){break f}h=d+1|0}if((h|0)<=(g|0)){continue}break}}g=f&65024;h=g+512|0;break d}N[a+8>>2]=d}g=f&65024;h=g+512|0;if(m){break c}e=d}while(1){c=c-1|0;if(!c){break a}d=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;f=(d<<8|d>>>8)&65535;if(g>>>0>f>>>0){continue b}if(f>>>0>>0){continue}break}continue}i=(N[((d<<3)+l|0)+4>>2]<<6)+m|0;while(1){e=i+(f>>>3&56)|0;j=N[e>>2];p=N[e+4>>2];q=e,r=_E(-2,-1,f)&j,N[q>>2]=r;N[e+4>>2]=Pa&p;c=c-1|0;if(!c){break a}e=O[b+2|0]|O[b+3|0]<<8;b=b+2|0;f=(e<<8|e>>>8)&65535;if(g>>>0>f>>>0){e=d;continue b}if(f>>>0>>0){continue}break}e=d;continue}}}function Ff(a,b,c,d){var 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;a:{if(!c|!O[a|0]){break a}N[a+4>>2]=-1;e=O[b|0]|O[b+1|0]<<8;g=(e<<8|e>>>8)&65535;l=N[a+16>>2];o=l-1|0;n=N[a+32>>2];m=N[a+20>>2];f=N[a+8>>2];p=(l|0)<=0;b:while(1){c:{j=g>>>9|0;d:{e:{if(!((j|0)!=N[(f<<3)+m>>2]|f>>>0>=l>>>0)){e=f;break e}i=0;h=o;f:{if(!p){while(1){e=i+h>>>1|0;k=N[(e<<3)+m>>2];g:{if((j|0)<(k|0)){h=e-1|0;break g}if((j|0)==(k|0)){break f}i=e+1|0}if((i|0)<=(h|0)){continue}break}}h=g&65024;i=h+512|0;break d}N[a+8>>2]=e}h=g&65024;i=h+512|0;if(n){break c}f=e}while(1){c=c-1|0;if(!c){break a}b=b+d|0;e=O[b|0]|O[b+1|0]<<8;g=(e<<8|e>>>8)&65535;if(h>>>0>g>>>0){continue b}if(g>>>0>>0){continue}break}continue}j=(N[((e<<3)+m|0)+4>>2]<<6)+n|0;while(1){f=j+(g>>>3&56)|0;k=N[f>>2];q=N[f+4>>2];r=f,s=_E(-2,-1,g)&k,N[r>>2]=s;N[f+4>>2]=Pa&q;c=c-1|0;if(!c){break a}b=b+d|0;f=O[b|0]|O[b+1|0]<<8;g=(f<<8|f>>>8)&65535;if(h>>>0>g>>>0){f=e;continue b}if(g>>>0>>0){continue}break}f=e;continue}}}function ym(a,b,c,d){var e=0,f=0,g=0,h=0;g=La-32|0;La=g;e=d&2147483647;h=e;f=e-1006698496|0;e=e-1140785152|0;a:{if((f|0)==(e|0)&0|e>>>0>f>>>0){e=c<<4|b>>>28;c=d<<4|c>>>28;b=b&268435455;if((b|0)==134217728&(a|0)!=0|b>>>0>134217728){f=c+1073741824|0;e=e+1|0;f=e?f:f+1|0;break a}f=c+1073741824|0;if(a|(b|0)!=134217728){break a}a=e&1;e=a+e|0;f=a>>>0>e>>>0?f+1|0:f;break a}if(!(!c&(h|0)==2147418112?!(a|b):h>>>0<2147418112)){a=d<<4|c>>>28;e=c<<4|b>>>28;f=a&524287|2146959360;break a}e=0;f=2146435072;if(h>>>0>1140785151){break a}f=0;h=h>>>16|0;if(h>>>0<15249){break a}e=d&65535|65536;hc(g+16|0,a,b,c,e,h-15233|0);Qd(g,a,b,c,e,15361-h|0);b=N[g+8>>2];e=b<<4;b=N[g+12>>2]<<4|b>>>28;c=N[g>>2];f=N[g+4>>2];h=f;e=f>>>28|e;f=b;a=h&268435455;b=c|(N[g+16>>2]|N[g+24>>2]|(N[g+20>>2]|N[g+28>>2]))!=0;if((a|0)==134217728&(b|0)!=0|a>>>0>134217728){e=e+1|0;f=e?f:f+1|0;break a}if(b|(a|0)!=134217728){break a}a=e;e=e+(e&1)|0;f=a>>>0>e>>>0?f+1|0:f}La=g+32|0;x(0,e|0);x(1,d&-2147483648|f);return+z()}function Go(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,o=0,p=0,q=0,r=0;a:{b:{c:{if(b){e=N[b>>2];if(e){break c}}break b}g=N[b+8>>2];if(g){if(e>>>0>=536870912){break b}h=kb(e<<3);N[a+16>>2]=h;i=kb(g);N[a+20>>2]=i;if(!(i?h:0)){break a}N[a+12>>2]=g;N[a+4>>2]=e;e=0;N[a+8>>2]=0;N[a>>2]=0;g=N[b>>2];if(g){l=N[b+16>>2];m=S[c+40>>3];n=S[c+32>>3];o=S[c+24>>3];p=S[c+16>>3];q=S[c+8>>3];r=S[c>>3];while(1){d:{c=e<<3;f=c+l|0;d=+N[f>>2];j=+N[f+4>>2];k=p+(r*d+q*j);if(V(k)<268435455){d=m+(o*d+n*j);if(V(d)<268435455){break d}}break a}c=c+h|0;d=XE(d);e:{if(V(d)<2147483648){f=~~d;break e}f=-2147483648}N[c+4>>2]=f;d=XE(k);f:{if(V(d)<2147483648){f=~~d;break f}f=-2147483648}N[c>>2]=f;e=e+1|0;if((g|0)!=(e|0)){continue}break}}c=N[b+20>>2];b=N[b+8>>2];F(i,c,b);N[a+8>>2]=b;N[a>>2]=g;return}ba(10189,18249,45,17699);B()}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;return}_a(h);_a(i);N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Fc(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=U(0),m=0,n=U(0);h=O[a|0]|O[a+1|0]<<8;if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){return U(0)}h=O[a+4|0]|O[a+5|0]<<8;m=(h<<8|h>>>8)&65535;i=O[a+2|0]|O[a+3|0]<<8;g=(i<<8|(i&65280)>>>8)&32767;k=i&128;h=k>>>7|0?m:g;b=(((m<<1)+a|0)+T(g+m<<(i>>>7&1),b)|0)+6|0;if(!(!k|!(i&-129))){j=g>>>0<=1?1:g;i=0;while(1){g=(i<<1)+a|0;g=O[g+6|0]|O[g+7|0]<<8;n=Mg(e,(g<<8|g>>>8)&65535,c,d,f);g=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);l=U(U(n*U(g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24)))+l);b=b+4|0;i=i+1|0;if((j|0)!=(i|0)){continue}break}}a:{if(h>>>0<=j>>>0){h=j;break a}g=h-j|0;i=b;while(1){k=(j<<1)+a|0;k=O[k+6|0]|O[k+7|0]<<8;n=Mg(e,(k<<8|k>>>8)&65535,c,d,f);k=O[i|0]|O[i+1|0]<<8;l=U(U(n*U((k<<8|k>>>8)<<16>>16))+l);i=i+2|0;j=j+1|0;if((j|0)!=(h|0)){continue}break}b=(g<<1)+b|0}if(h>>>0>>0){while(1){j=(h<<1)+a|0;j=O[j+6|0]|O[j+7|0]<<8;l=U(U(Mg(e,(j<<8|j>>>8)&65535,c,d,f)*U(L[b|0]))+l);b=b+1|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}return l}function pp(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=N[a>>2];a:{if(!h){break a}d=N[a+8>>2];f=h&3;b:{if(!f){g=h;break b}g=h&-4;while(1){N[d+24>>2]=-1;N[d+16>>2]=N[d+16>>2]&-5;d=d+28|0;e=e+1|0;if((f|0)!=(e|0)){continue}break}}if(h>>>0<4){break a}while(1){N[d+24>>2]=-1;N[d+52>>2]=-1;N[d+80>>2]=-1;N[d+108>>2]=-1;N[d+16>>2]=N[d+16>>2]&-5;N[d+44>>2]=N[d+44>>2]&-5;N[d+72>>2]=N[d+72>>2]&-5;N[d+100>>2]=N[d+100>>2]&-5;d=d+112|0;g=g-4|0;if(g){continue}break}}if(!b){N[a+4>>2]=0;return}d=0;g=0;e=0;f=0;while(1){if(!d){g=O[c|0];d=128;c=c+1|0}c:{if(!(d&g)){break c}i=N[a+8>>2]+T(e,28)|0;j=N[i+16>>2];if(j&4){break c}N[i+16>>2]=j|4;if(f>>>0>=h>>>0){break c}N[N[a+12>>2]+(f<<2)>>2]=i;f=f+1|0}d=d>>>1|0;e=e+1|0;if((e|0)!=(b|0)){continue}break}N[a+4>>2]=f;if((f|0)>=2){c=N[a+12>>2];a=1;while(1){g=N[c+(a<<2)>>2];h=N[g>>2];d=a;while(1){b=d-1|0;e=c+(b<<2)|0;i=N[e>>2];if((h|0)<=N[i>>2]){N[c+(d<<2)>>2]=i;N[e>>2]=g;e=(d|0)>1;d=b;if(e){continue}}break}a=a+1|0;if((f|0)!=(a|0)){continue}break}}}function Iv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[b+72>>2];d=N[a+100>>2];b=Qa[N[b+36>>2]](b)|0;a:{if((b|0)<0|N[a+304>>2]){break a}c=Q[c+4>>2]/100|0;c=b>>>0>>0?b:c;if(!c){N[a+300>>2]=0;N[a+304>>2]=0;return}if(c>>>0>=8521761){N[a+304>>2]=0;return}b=T(c,252);d=Qa[N[d+4>>2]](d,b)|0;if(!d){N[a+304>>2]=0;return}C(d,0,b);N[a+300>>2]=c;N[a+304>>2]=d;b=0;if(c>>>0>=4){f=c&67108860;while(1){a=d+T(b,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|1,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|2,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;a=d+T(b|3,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;b=b+4|0;if((f|0)!=(b|0)){continue}break}}c=c&3;if(!c){break a}while(1){a=d+T(b,252)|0;N[a+116>>2]=1;N[a+108>>2]=2596864;N[a+112>>2]=7;N[a+180>>2]=3932;N[a+4>>2]=4;b=b+1|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}}}function je(a,b){var c=0,d=0,e=0,f=0;e=La-16|0;La=e;L[e+11|0]=0;f=N[a+8>>2];a:{b:{c=N[a+20>>2];c:{if(c){if((Qa[c|0](a,f,e+11|0,1)|0)!=1){break b}f=N[a+8>>2];c=e+11|0;break c}if(Q[a+4>>2]<=f>>>0){break b}c=N[a>>2]+f|0}c=O[c|0];d=f+1|0;N[a+8>>2]=d;d:{e:{switch(c-253|0){case 0:f:{g:{h:{if(Q[a+4>>2]<=f+2>>>0){break h}c=N[a+20>>2];i:{if(c){if((Qa[c|0](a,d,e+12|0,2)|0)!=2){break h}d=N[a+8>>2];c=e+12|0;break i}c=N[a>>2];if(!c){break g}c=c+d|0}c=O[c|0]|O[c+1|0]<<8;c=c<<8|c>>>8;break f}a=85;break a}c=0}N[a+8>>2]=d+2;break d;case 2:L[e+14|0]=0;c=N[a+20>>2];j:{if(c){if((Qa[c|0](a,d,e+14|0,1)|0)!=1){break b}d=N[a+8>>2];c=e+14|0;break j}if(Q[a+4>>2]<=d>>>0){break b}c=N[a>>2]+d|0}c=O[c|0];N[a+8>>2]=d+1;c=c+253|0;break d;case 1:break e;default:break d}}L[e+15|0]=0;c=N[a+20>>2];k:{if(c){if((Qa[c|0](a,d,e+15|0,1)|0)!=1){break b}d=N[a+8>>2];c=e+15|0;break k}if(Q[a+4>>2]<=d>>>0){break b}c=N[a>>2]+d|0}c=O[c|0];N[a+8>>2]=d+1;c=c+506|0}M[b>>1]=c;a=0;break a}a=85}La=e+16|0;return a}function av(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;b=N[a+4>>2];d=N[b+504>>2];g=N[b+100>>2];a:{if(N[b+84>>2]){f=ei(d,e+12|0);if(f){b=N[a+160>>2];break a}b=N[e+12>>2]}else{b=N[d+84>>2]}N[a+160>>2]=b;f=0}d=N[b+156>>2];b=N[d>>2];b:{if(b){d=N[b>>2];c=N[b+24>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+24>>2]=0;c=N[b+28>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+28>>2]=0;c=N[b+32>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+32>>2]=0;c=N[b+40>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+40>>2]=0;c=N[b+52>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+20>>2]=0;N[b+36>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+88>>2]=0;c=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=c;h=N[b+32>>2];c=b- -64|0;N[c>>2]=N[b+28>>2];N[c+4>>2]=h;c=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=c;c=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=c;Qa[N[d+8>>2]](d,b);b=N[a+160>>2];d=N[b+156>>2];if(!d){break b}}Qa[N[g+8>>2]](g,d);b=N[a+160>>2]}N[b+156>>2]=0;N[b+156>>2]=N[a+156>>2];La=e+16|0;return f|0}function kc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c=N[a+32>>2];if(c){d=N[a>>2];h=N[a+36>>2]+(O[N[N[a+4>>2]+96>>2]+16|0]&64?-1:0-c|0)|0;if((d|0)<(h|0)){while(1){c=d+1|0;N[a>>2]=c;f=N[a+4>>2];g=N[N[f+96>>2]+80>>2]+T(c,20)|0;d=P[g+12>>1];c=N[a+8>>2];c:{if(d&c&14){break c}if(d&8){if(!dl(N[f+104>>2],N[g>>2],d,c)){break c}d=P[g+12>>1]}f=0;e=P[g+16>>1];c=0;d:{if((e&96)!=32){break d}c=0;if(d&16){break d}if((e&543)==513){c=0;if(!O[a+16|0]){break d}}c=(e&287)!=257?2:O[a+17|0]<<1}d=N[a+28>>2];if(d){f=O[d|0]|O[d+1|0]<<8;f=(f<<8|f>>>8)&65535}e:{if(!(N[a+12>>2]&N[g+4>>2])){break e}e=O[a+19|0];if((e|0)!=O[g+15|0]?e:0){break e}e=N[a+20>>2];f:{if(e){if(!(Qa[e|0](g,f,N[a+24>>2])|0)){break e}d=N[a+28>>2];break f}if(c){break c}}N[a+32>>2]=N[a+32>>2]-1;i=1;if(!d){break a}N[a+28>>2]=d+2;return 1}if(!c){break b}}d=N[a>>2];if((h|0)>(d|0)){continue}break}}if(!b){break a}N[b>>2]=N[a+36>>2];break a}ba(21998,14114,537,8490);B()}if(!b){break a}N[b>>2]=N[a>>2]+1;return 0}return i}function Pi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=La-48|0;La=e;a:{if(!d){b=6;break a}f=N[b+4>>2];i=N[b>>2];N[e>>2]=i;N[e+4>>2]=f;h=N[b+8>>2];g=N[b+12>>2];j=N[b+16>>2];b=N[b+20>>2];N[e+36>>2]=b;k=b;b=g;g=k+b|0;N[e+28>>2]=(g|0)/2;b=b+f|0;N[e+20>>2]=(b+g|0)/4;g=h+i|0;N[e+8>>2]=(g|0)/2;N[e+32>>2]=j;h=h+j|0;N[e+24>>2]=(h|0)/2;N[e+12>>2]=(b|0)/2;N[e+16>>2]=(g+h|0)/4;if((c|0)>=3){c=c>>>1|0;b=Pi(a,e,c,d);if(b){break a}b=Pi(a,e+16|0,c,d);break a}b=64;c=Qa[N[a+4>>2]](a,40)|0;if(!c){break a}N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;a=Qa[N[a+4>>2]](a,40)|0;if(!a){break a}N[a+16>>2]=0;N[a+20>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[c>>2]=i;N[c+4>>2]=f;b=N[e+16>>2];f=N[e+20>>2];N[c+32>>2]=1;N[c+8>>2]=b;N[c+12>>2]=f;N[a>>2]=b;N[a+4>>2]=f;b=N[e+32>>2];f=N[e+36>>2];N[a+32>>2]=1;N[a+8>>2]=b;N[a+12>>2]=f;N[c+36>>2]=a;N[a+36>>2]=N[d>>2];N[d>>2]=c;b=0}La=e+48|0;return b}function $g(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;d=O[a+2|0]|O[a+3|0]<<8;if(d){h=((d<<8|d>>>8)&65535)+a|0}else{h=275552}d=N[b+96>>2];i=N[d+80>>2]+T(N[d+64>>2],20)|0;f=N[i>>2];if((vb(h,f)|0)!=-1){e=O[a+4|0]|O[a+5|0]<<8;if(e){d=((e<<8|e>>>8)&65535)+a|0}else{d=275552}N[g+12>>2]=d;N[g+8>>2]=c?248:249;a:{if(!c){e=Se(d,f);break a}e=O[i+15|0];if((e|0)!=255){break a}e=Se(d,f);if(!c|e>>>0>254){break a}c=N[b+96>>2];L[(N[c+80>>2]+T(N[c+64>>2],20)|0)+15|0]=e}c=O[a+6|0]|O[a+7|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=e>>>0?275552:((e<<1)+a|0)+8|0;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}a=O[d|0]|O[d+1|0]<<8;if(a){e=(a<<8|a>>>8)&65535;a=d+2|0;while(1){c=O[a|0]|O[a+1|0]<<8;if(c){c=d+((c<<8|c>>>8)&65535)|0}else{c=275552}f=O[c|0]|O[c+1|0]<<8;i=(f<<8|f>>>8)&65535;h=c+4|0;c=O[c+2|0]|O[c+3|0]<<8;c=Re(b,i,h,(c<<8|c>>>8)&65535,(f?(i<<1)-2|0:0)+h|0,N[g+8>>2],N[g+12>>2]);if(!c){a=a+2|0;e=e-1|0;if(e){continue}}break}}else{c=0}e=c}La=g+16|0;return e}function mq(a){var b=0,c=0,d=0,e=0;b=N[a+52>>2];c=(b|0)!=0;if((b|0)!=(c|0)){d=b<<2;b=N[a+56>>2];d=d+b|0;c=b+(c<<2)|0;while(1){b=N[c>>2];if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;c=c+4|0;if((d|0)!=(c|0)){continue}break}b=N[a+52>>2]}if(b){N[a+52>>2]=0}_a(N[a+56>>2]);N[a+56>>2]=0;N[a+60>>2]=-57005;N[a+48>>2]=0;N[a+52>>2]=0;c=N[a+68>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;e=N[c+12>>2]+T(b,12)|0;d=N[e+8>>2];e=N[e+4>>2];N[c+8>>2]=b;if(d){Qa[d|0](e);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+68>>2]=0}b=N[a+88>>2];if(b){_a(b);N[a+88>>2]=0}N[a+76>>2]=0;N[a+72>>2]=N[a+72>>2]&1;b=N[a+44>>2];if(b){while(1){N[a+44>>2]=N[b+32>>2];if(N[b+12>>2]){N[b+12>>2]=0}_a(N[b+16>>2]);N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;if(N[b+24>>2]){N[b+24>>2]=0}_a(N[b+28>>2]);N[b+28>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;b=N[a+44>>2];if(b){continue}break}}}function pj(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}_a(N[a+36>>2]);N[a+36>>2]=0;b=N[N[a+80>>2]+12>>2];if(b){Qa[b|0](N[a+172>>2])}tq(a+84|0);if(N[a+164>>2]){N[a+164>>2]=0}_a(N[a+168>>2]);N[a+168>>2]=0;N[a+160>>2]=0;N[a+164>>2]=0;if(N[a+152>>2]){N[a+152>>2]=0}_a(N[a+156>>2]);N[a+156>>2]=0;N[a+148>>2]=0;N[a+152>>2]=0;if(N[a+140>>2]){N[a+140>>2]=0}_a(N[a+144>>2]);N[a+144>>2]=0;N[a+136>>2]=0;N[a+140>>2]=0;if(N[a+128>>2]){N[a+128>>2]=0}_a(N[a+132>>2]);N[a+132>>2]=0;N[a+124>>2]=0;N[a+128>>2]=0;if(N[a+116>>2]){N[a+116>>2]=0}_a(N[a+120>>2]);N[a+120>>2]=0;N[a+112>>2]=0;N[a+116>>2]=0;if(N[a+104>>2]){N[a+104>>2]=0}_a(N[a+108>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function he(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{c=N[a+32>>2];if(c){d=N[a>>2];h=O[N[N[a+4>>2]+96>>2]+16|0]&64?0:c-1|0;if(d>>>0>h>>>0){while(1){c=d-1|0;N[a>>2]=c;f=N[a+4>>2];g=N[N[f+96>>2]+84>>2]+T(c,20)|0;d=P[g+12>>1];c=N[a+8>>2];c:{if(d&c&14){break c}if(d&8){if(!dl(N[f+104>>2],N[g>>2],d,c)){break c}d=P[g+12>>1]}f=0;e=P[g+16>>1];c=0;d:{if((e&96)!=32){break d}c=0;if(d&16){break d}if((e&543)==513){c=0;if(!O[a+16|0]){break d}}c=(e&287)!=257?2:O[a+17|0]<<1}d=N[a+28>>2];if(d){f=O[d|0]|O[d+1|0]<<8;f=(f<<8|f>>>8)&65535}e:{if(!(N[a+12>>2]&N[g+4>>2])){break e}e=O[a+19|0];if((e|0)!=O[g+15|0]?e:0){break e}e=N[a+20>>2];f:{if(e){if(!(Qa[e|0](g,f,N[a+24>>2])|0)){break e}d=N[a+28>>2];break f}if(c){break c}}N[a+32>>2]=N[a+32>>2]-1;i=1;if(!d){break a}N[a+28>>2]=d+2;return 1}if(!c){break b}}d=N[a>>2];if(h>>>0>>0){continue}break}}if(!b){break a}N[b>>2]=0;break a}ba(21998,14114,575,8316);B()}if(!b){break a}a=N[a>>2];N[b>>2]=(a>>>0<=1?1:a)-1;return 0}return i}function hn(a,b,c,d,e){var 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,t=0;a:{if(b>>>0>c>>>0){break a}g=N[a+12>>2];if(g>>>0<=d>>>0|e>>>0>=g>>>0){break a}k=N[a+8>>2];f=N[k+(d<<3)>>2];h=N[(e<<3)+k>>2];b:{if((f|0)<=(h|0)){g=h;h=f;f=e;e=d;break b}g=f;f=d}i=N[a+4>>2];f=f<<3;d=N[i+f>>2];l=f;f=N[a>>2];m=N[l+f>>2];q=d-m|0;e=e<<3;a=N[e+i>>2];n=N[e+f>>2];r=a-n|0;if(!((g|0)==(h|0)|(a|0)==(d|0))){s=g-h|0;t=d-a|0;g=0;while(1){o=b<<3;d=N[f+o>>2];c:{if((d|0)<=(n|0)){e=d+r|0;break c}e=d+q|0;if((d|0)>=(m|0)){break c}if(!j){g=fb(t,s)}p=N[k+o>>2]-h|0;e=p>>31;e=(e^p)-e|0;d=g>>31;d=(d^g)-d|0;d:{if(e+(d>>>8|0)>>>0<=8190){e=T(d,e)+32768>>>16|0;break d}j=e&65535;e=T(j,d>>>16|0)+T(d,e>>>16|0)+(T(j,d&65535)+32768>>>16)|0}d=e;j=1;l=0-d|0;d=p>>31|1;e=a+((((g|0)<0?0-d|0:d)|0)<0?l:e)|0}N[i+o>>2]=e;b=b+1|0;if(c>>>0>=b>>>0){continue}break}break a}while(1){e=b<<3;d=N[e+f>>2];N[e+i>>2]=(d|0)>(n|0)?(d|0)<(m|0)?a:d+q|0:d+r|0;b=b+1|0;if(c>>>0>=b>>>0){continue}break}}}function id(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!(!a|!b)){c=N[a>>2];e=c>>31;f=N[b>>2];d=f>>31;e=(c^e)-e|0;d=(d^f)-d|0;a:{if(e+(d>>>8|0)>>>0<=8190){d=T(d,e)+32768>>>16|0;break a}g=e&65535;d=T(g,d>>>16|0)+T(d,e>>>16|0)+(T(g,d&65535)+32768>>>16)|0}g=c>>31|1;k=0-g|0;i=(((f|0)<0?k:g)|0)<0?0-d|0:d;f=N[a+4>>2];d=f>>31;h=N[b+4>>2];c=h>>31;d=(d^f)-d|0;c=(c^h)-c|0;b:{if(d+(c>>>8|0)>>>0<=8190){c=T(c,d)+32768>>>16|0;break b}j=d&65535;c=T(j,c>>>16|0)+T(c,d>>>16|0)+(T(j,c&65535)+32768>>>16)|0}f=f>>31|1;l=0-f|0;j=i+((((h|0)<0?l:f)|0)<0?0-c|0:c)|0;h=N[b+8>>2];c=h>>31;c=(c^h)-c|0;c:{if(e+(c>>>8|0)>>>0<=8190){e=T(c,e)+32768>>>16|0;break c}i=e&65535;e=T(i,c>>>16|0)+T(c,e>>>16|0)+(T(i,c&65535)+32768>>>16)|0}c=(((h|0)<0?k:g)|0)<0?0-e|0:e;e=N[b+12>>2];b=e>>31;b=(b^e)-b|0;d:{if(d+(b>>>8|0)>>>0<=8190){b=T(b,d)+32768>>>16|0;break d}g=d&65535;b=T(g,b>>>16|0)+T(b,d>>>16|0)+(T(g,b&65535)+32768>>>16)|0}N[a>>2]=j;N[a+4>>2]=c+((((e|0)<0?l:f)|0)<0?0-b|0:b)}}function Kl(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=N[a+16>>2];f=O[d+12|0]|O[d+13|0]<<8|(O[d+14|0]<<16|O[d+15|0]<<24);i=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);a:{if(!i){break a}h=N[b>>2];if(c){if((h|0)==-1){break a}h=h+1|0}l=d+16|0;d=i;b:{c:{while(1){f=d+j>>>1|0;e=T(f,12)+l|0;g=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);k=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);g=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);if(g>>>0<=h>>>0){if(h>>>0<=k>>>0){break c}j=f+1|0}else{d=f}if(d>>>0>j>>>0){continue}break}d=0;break b}d=e;d=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);e=h-g|0;d=d>>>0<=(e^-1)>>>0?d+e|0:0}if(!c){return d}c=N[a>>2];if(h>>>0>k>>>0){e=0;f=f+1|0;if((i|0)==(f|0)){break a}}N[a+36>>2]=f;N[a+28>>2]=h;L[a+24|0]=1;d:{if(!(d>>>0>2]?d:0)){Jl(a);d=0;if(!O[a+24|0]){break d}d=N[a+32>>2];break d}N[a+32>>2]=d}e=d;N[b>>2]=N[a+28>>2]}return e}function wi(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0;k=La-48|0;La=k;N[k+44>>2]=b;m=N[a+36>>2];N[k+40>>2]=0;N[k+32>>2]=0;N[k+36>>2]=0;N[k+24>>2]=0;N[k+28>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+12>>2]=0;L[k+7|0]=0;a:{b:{c:{if(!m){break c}n=N[m+28>>2];if(!n){break c}Qa[n|0](N[m+40>>2],b,k+8|0);b=N[k+28>>2];if(b){break b}l=N[k+12>>2]}_a(l);N[k+24>>2]=0;N[k+28>>2]=1;N[k+40>>2]=0;N[k+16>>2]=0;N[k+20>>2]=0;N[k+8>>2]=0;N[k+32>>2]=0;N[k+36>>2]=0;l=k+44|0;N[k+12>>2]=l;b=1;break a}l=N[k+12>>2]}b=Bo(a,l,b,c,d,e,f,g,h,i,j,k+7|0);d:{if(b){break d}b=0;if(!N[m+24>>2]|(O[k+7|0]|!m)){break d}l=N[k+28>>2];if((l|0)>0){while(1){Qa[N[m+24>>2]](N[m+40>>2],N[a>>2],m,N[N[k+12>>2]+(b<<2)>>2]);b=b+1|0;l=N[k+28>>2];if((b|0)<(l|0)){continue}break}}b=Bo(a,N[k+12>>2],l,c,d,e,f,g,h,i,j,k+7|0)}a=N[k+12>>2];if((a|0)!=(k+44|0)){c=0;if(N[k+28>>2]>0){while(1){_a(N[N[k+12>>2]+(c<<2)>>2]);c=c+1|0;if((c|0)>2]){continue}break}a=N[k+12>>2]}_a(a)}La=k+48|0;return b}function YD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=U(0),f=0;a:{b:{d=N[a+24>>2];f=d+92|0;b=xc(f);b=O[b|0]|O[b+1|0]<<8;if(!(!c|!b)){b=xc(f);b=O[b+4|0]|O[b+5|0]<<8;e=Gc(Hc(d+132|0),1986098019,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(R[a+44>>2]*U(V(U(e+U((b<<8|b>>>8)<<16>>16)))))+U(.5))));if(!(U(V(e))>2]=~~e;break a}if(b){break a}return 0}N[c>>2]=-2147483648}d=N[a+24>>2];b=d+92|0;f=xc(b);if(!(O[f|0]|O[f+1|0]<<8)){return 0}b=xc(b);b=O[b+6|0]|O[b+7|0]<<8;e=Gc(Hc(d+132|0),1986294627,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(.5)-U(R[a+44>>2]*U(V(U(e+U((b<<8|b>>>8)<<16>>16))))))));c:{if(U(V(e))>2]=b;d=N[a+24>>2];b=d+92|0;f=xc(b);f=O[f|0]|O[f+1|0]<<8;if(f){b=xc(b);b=O[b+8|0]|O[b+9|0]<<8;e=Gc(Hc(d+132|0),1986815856,N[a+88>>2],N[a+84>>2]);e=U(Z(U(U(R[a+44>>2]*U(e+U((b<<8|b>>>8)<<16>>16)))+U(.5))));d:{if(U(V(e))>2]=a}return(f|0)!=0|0}function Gc(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=U(0);e=O[a+8|0]|O[a+9|0]<<8;a:{if(!e){break a}g=O[a+6|0]|O[a+7|0]<<8;j=(g<<8|g>>>8)&65535;k=a+12|0;g=((e<<8|e>>>8)&65535)-1|0;while(1){b:{h=g+i>>>1|0;e=T(j,h)+k|0;f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);c:{if(f>>>0>b>>>0){g=h-1|0;break c}if((b|0)==(f|0)){break b}i=h+1|0}if((g|0)>=(i|0)){continue}break a}break}b=O[a+10|0]|O[a+11|0]<<8;if(b){a=((b<<8|b>>>8)&65535)+a|0}else{a=275552}b=O[a+6|0]|O[a+7|0]<<8;f=(b<<8|b>>>8)&65535;b=e;e=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);b=(e<<24|(e&65280)<<8)>>>16|0;if(f>>>0<=b>>>0){break a}b=a+(b<<2)|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=a+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}f=e>>>8&65280|e>>>24;e=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);if(e){a=a+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{a=275552}l=Fc(b,f,c,d,a,0)}return l}function bx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La-320|0;La=c;i=N[a+100>>2];Qa[N[b+60>>2]](b,c+272|0,4,c+268|0);d=N[c+268>>2];a:{if((d|0)<0){g=162;break a}g=3;if(d-5>>>0<4294967292){break a}j=N[b+8>>2];k=N[b>>2];g=$f(a,0,d);if(g){break a}b:{if(N[c+268>>2]>0){l=N[a+532>>2]+88|0;g=3;while(1){a=T(h,12);d=a+(c+272|0)|0;N[b>>2]=N[d>>2];N[b+8>>2]=N[d+4>>2];Qa[N[b+60>>2]](b,c+16|0,20,c+12|0);e=N[c+12>>2];if(e-21>>>0<4294967276){break a}d=a+l|0;if(N[d+4>>2]){break a}f=e<<3;e=Qa[N[i+4>>2]](i,f)|0;if(!e){break b}a=0;C(e,0,f);N[d+4>>2]=e;f=N[c+12>>2];N[d+8>>2]=e+(f<<2);L[d|0]=f;if((f|0)>0){while(1){e=(c+16|0)+T(a,12)|0;N[b>>2]=N[e>>2]+1;N[b+8>>2]=N[e+4>>2]-1;e=Qa[N[b+36>>2]](b)|0;f=a<<2;N[f+N[d+4>>2]>>2]=e;e=Qa[N[b+40>>2]](b,0)|0;N[f+N[d+8>>2]>>2]=e;a=a+1|0;if((a|0)>2]){continue}break}}h=h+1|0;if((h|0)>2]){continue}break}}N[b+8>>2]=j;N[b>>2]=k;g=0;break a}N[d+4>>2]=0;g=64}N[b+12>>2]=g;La=c+320|0}function Wh(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=La-16|0;La=g;a:{if(L[a+376|0]&1){i=N[a+52>>2];j=N[a+48>>2];l=P[a+46>>1];k=P[a+44>>1];h=N[a+36>>2];m=N[a+40>>2];f=a- -64|0;n=N[f+4>>2];N[g+8>>2]=N[f>>2];N[g+12>>2]=n;f=N[a+60>>2];N[g>>2]=N[a+56>>2];N[g+4>>2]=f;f=a+290|0;break a}i=N[a+88>>2];j=N[a+84>>2];l=P[a+82>>1];k=P[a+80>>1];h=N[a+72>>2];m=N[a+76>>2];f=N[a+104>>2];N[g+8>>2]=N[a+100>>2];N[g+12>>2]=f;f=N[a+96>>2];N[g>>2]=N[a+92>>2];N[g+4>>2]=f;f=a+292|0}f=P[f>>1];b:{if(f>>>0>=k>>>0){if(O[a+593|0]){N[a+12>>2]=134}M[e>>1]=0;a=1;break b}N[d+16>>2]=i;N[d+12>>2]=j;M[d+10>>1]=l;M[d+8>>1]=k;N[d>>2]=h;N[d+4>>2]=m;h=N[g+4>>2];N[d+20>>2]=N[g>>2];N[d+24>>2]=h;h=N[g+12>>2];N[d+28>>2]=N[g+8>>2];N[d+32>>2]=h;M[e>>1]=f;e=b;b=f<<3;d=b+i|0;b=b+j|0;b=Qa[N[a+604>>2]](a,N[d>>2]-N[b>>2]|0,N[d+4>>2]-N[b+4>>2]|0)|0;o=e,p=jb(b,M[a+302>>1],N[a+596>>2]),N[o>>2]=p;o=c,p=jb(b,M[a+304>>1],N[a+596>>2]),N[o>>2]=p;a=0}La=g+16|0;return a}function tC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=La-16|0;La=g;h=N[b+92>>2];N[a+40>>2]=P[b+68>>1];a:{b:{c:{d=N[b+40>>2];if(!d){break c}e=(N[b+36>>2]<<2)+d|0;f=e-4|0;if(f>>>0>=d>>>0){while(1){c=N[f>>2];d:{if(N[c+4>>2]!=1970170211){break d}e:{switch(P[c+8>>1]){case 0:if(P[c+10>>1]==4){break b}break d;case 3:break e;default:break d}}if(P[c+10>>1]==10){break b}}f=f-4|0;if(f>>>0>=d>>>0){continue}break}}while(1){e=e-4|0;if(e>>>0>>0){break c}c=N[e>>2];if(N[c+4>>2]!=1970170211){continue}break}break b}N[b+92>>2]=0;break a}N[b+92>>2]=c;Hp(a,b);Gp(a);d=N[b+40>>2]}f:{if(!h|!d){break f}a=N[b+36>>2];if((a|0)<=0){break f}a=(a<<2)+d|0;while(1){g:{if(N[d>>2]!=(h|0)){break g}c=N[h>>2];h:{if(!c){break h}c=N[c+96>>2];e=N[N[c>>2]+32>>2];if(!e){break h}c=Qa[e|0](c,10557)|0;if(!c){break h}if(Qa[N[c>>2]](h,g+8|0)|0){break h}if(N[g+12>>2]==14){break g}}N[b+92>>2]=N[d>>2];break f}d=d+4|0;if(a>>>0>d>>>0){continue}break}}La=g+16|0;return 0}function Tw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=6;g=N[a+532>>2];a:{if(!g){break a}if(!(b|c)){e=N[g>>2];if(!e){return 0}a=N[g+136>>2];b=N[g+140>>2];h=0;if(e>>>0>=4){g=e&-4;while(1){c=f<<2;N[c+a>>2]=N[b+c>>2];d=c|4;N[d+a>>2]=N[b+d>>2];d=c|8;N[d+a>>2]=N[b+d>>2];c=c|12;N[c+a>>2]=N[b+c>>2];f=f+4|0;if((g|0)!=(f|0)){continue}break}}g=e&3;if(!g){break a}c=0;while(1){e=f<<2;N[e+a>>2]=N[b+e>>2];f=f+1|0;c=c+1|0;if((g|0)!=(c|0)){continue}break}break a}if(!c){break a}j=N[g>>2];h=b>>>0>j>>>0?j:b;b:{if(!h){break b}e=N[g+136>>2];if(h>>>0>=4){k=h&-4;while(1){d=f<<2;N[d+e>>2]=N[c+d>>2];i=d|4;N[i+e>>2]=N[c+i>>2];i=d|8;N[i+e>>2]=N[c+i>>2];d=d|12;N[d+e>>2]=N[c+d>>2];f=f+4|0;if((k|0)!=(f|0)){continue}break}}d=h&3;if(!d){break b}while(1){k=f<<2;N[k+e>>2]=N[c+k>>2];f=f+1|0;l=l+1|0;if((d|0)!=(l|0)){continue}break}}if(b>>>0>>0){C(N[g+136>>2]+(h<<2)|0,0,j-h<<2)}h=0;N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return h|0}function yg(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=N[a+36>>2];a:{h=N[c+4>>2];b:{if((h|0)<(e|0)){break b}k=(b<<3)+c|0;j=N[k+4>>2];if((j|0)>(f|0)){break b}i=h;l=N[a+4>>2];h=0-l|0;i=i&h;m=(i|0)<(f|0);c:{if((e|0)>(j|0)){h=e;break c}e=l-1|0;h=h&e+j;if(e&j&65535){e=h;break c}if(O[a+79|0]){L[a+79|0]=0;g=g-4|0}N[g>>2]=N[k>>2];e=h+l|0;g=g+4|0}if(O[a+78|0]){N[N[a+80>>2]+20>>2]=h>>N[a>>2];L[a+78|0]=0}h=m?i:f;if((h|0)<(e|0)){break b}if(Q[a+32>>2]<=((h-e>>N[a>>2]<<2)+g|0)+4>>>0){break a}j=0-b|0;l=b<<3;f=c;while(1){L[a+79|0]=0;b=N[f+4>>2];d:{if((b|0)>(e|0)){i=b;b=f+l|0;k=N[b+4>>2];i=i-k|0;if((i|0)>=N[a+16>>2]){Qa[d|0](f);break d}b=N[b>>2];N[g>>2]=((T(N[f>>2]-b|0,e-k|0)|0)/(i|0)|0)+b;g=g+4|0;e=N[a+4>>2]+e|0;b=(j<<3)+f|0;break d}if((b|0)==(e|0)){L[a+79|0]=1;N[g>>2]=N[f>>2];g=g+4|0;e=N[a+4>>2]+e|0}b=(j<<3)+f|0}f=b;if(f>>>0>>0){break b}if((e|0)<=(h|0)){continue}break}}N[a+36>>2]=g;return 0}N[a+40>>2]=98;N[a+36>>2]=g;return 1}function zD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;b=0;a:{if(N[N[a+96>>2]+40>>2]!=N[147122]){if(!c){break a}h=0;while(1){b=N[a+96>>2];i=N[b+40>>2];j=N[a+100>>2];k=N[d>>2];b=N[b+12>>2];if(b){b=N[b+20>>2]}else{b=0}l=f,m=Qa[i|0](a,j,k,b)|0,N[l>>2]=m;f=f+g|0;d=d+e|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}break a}h=N[a+20>>2];i=N[h+96>>2];j=N[i+48>>2];k=N[h+100>>2];i=N[i+12>>2];if(i){i=N[i+28>>2]}else{i=0}Qa[j|0](h,k,c,d,e,f,g,i);if(!c){break a}e=N[a+20>>2];if(!e){break a}if((c|0)!=1){i=c&1;j=c&-2;while(1){c=N[f>>2];d=N[e+28>>2];h=N[a+28>>2];if((d|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,d,d>>31)}N[f>>2]=c;d=f+g|0;c=N[d>>2];f=N[e+28>>2];h=N[a+28>>2];if((f|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,f,f>>31)}N[d>>2]=c;f=d+g|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}if(!i){break a}}b=N[f>>2];c=N[e+28>>2];a=N[a+28>>2];if((c|0)!=(a|0)){b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}N[f>>2]=b}}function yD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;b=0;a:{if(N[N[a+96>>2]+44>>2]!=N[147123]){if(!c){break a}h=0;while(1){b=N[a+96>>2];i=N[b+44>>2];j=N[a+100>>2];k=N[d>>2];b=N[b+12>>2];if(b){b=N[b+24>>2]}else{b=0}l=f,m=Qa[i|0](a,j,k,b)|0,N[l>>2]=m;f=f+g|0;d=d+e|0;h=h+1|0;if((h|0)!=(c|0)){continue}break}break a}h=N[a+20>>2];i=N[h+96>>2];j=N[i+52>>2];k=N[h+100>>2];i=N[i+12>>2];if(i){i=N[i+32>>2]}else{i=0}Qa[j|0](h,k,c,d,e,f,g,i);if(!c){break a}e=N[a+20>>2];if(!e){break a}if((c|0)!=1){i=c&1;j=c&-2;while(1){c=N[f>>2];d=N[e+32>>2];h=N[a+32>>2];if((d|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,d,d>>31)}N[f>>2]=c;d=f+g|0;c=N[d>>2];f=N[e+32>>2];h=N[a+32>>2];if((f|0)!=(h|0)){c=VE(UE(h,h>>31,c,c>>31),Pa,f,f>>31)}N[d>>2]=c;f=d+g|0;b=b+2|0;if((j|0)!=(b|0)){continue}break}if(!i){break a}}b=N[f>>2];c=N[e+32>>2];a=N[a+32>>2];if((c|0)!=(a|0)){b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}N[f>>2]=b}}function Bc(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;f=6;a:{if(!a|!c){break a}g=N[c>>2];if(!g){break a}i=N[g+100>>2];h=N[a>>2];b:{c:{if((h|0)<=0){if(!h){break c}break b}e=Qa[N[i+4>>2]](i,h)|0;if(!e){f=64;e=0;break b}C(e,0,h)}f=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=f;N[e+8>>2]=N[c+8>>2];N[e+12>>2]=a;d:{a=N[a+4>>2];if(a){f=Qa[a|0](e,b)|0;if(f){break d}}a=N[g+36>>2];b=a+1|0;if((a|b)<0){f=6;break d}h=N[g+40>>2];e:{f:{g:{if(!b){c=0;if(!h){break g}Qa[N[i+8>>2]](i,h);N[g+40>>2]=0;break e}f=10;if((a|0)>536870910){break d}h:{if(!a){c=Qa[N[i+4>>2]](i,b<<2)|0;f=!c<<6;break h}b=Qa[N[i+12>>2]](i,a<<2,b<<2,h)|0;c=b?b:h;f=!b<<6}if(f|!c){break f}a=(a<<2)+c|0;L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0}N[g+40>>2]=c;break e}N[g+40>>2]=c;if(f){break d}}a=N[g+36>>2];N[g+36>>2]=a+1;N[(a<<2)+c>>2]=e;f=0;break b}a=N[N[e>>2]+100>>2];b=N[N[e+12>>2]+8>>2];if(b){Qa[b|0](e)}Qa[N[a+8>>2]](a,e);e=0}if(!d){break a}N[d>>2]=e}return f|0}function Rh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if((c|0)<0|b>>>0>>0){break a}i=N[a+28>>2];b:{if(!c){break b}if((c|0)>536870911){break a}b=c<<2;f=Qa[N[i+4>>2]](i,b)|0;if(!(!f|(c|0)<=0)){C(f,0,b);break b}if(!f<<6){break a}}while(1){if(c>>>0<=e>>>0){return f}g=0;c:{d:{j=N[a+36>>2];d=N[a+32>>2];e:{if(j>>>0<=d>>>0){b=d;h=0;d=0;break e}b=d+1|0;N[a+32>>2]=b;d=L[d|0];h=d&63;if((d|0)<0){break d}d=d&255}if(d&64){while(1){d=0;if(b+1>>>0>>0){d=O[b|0]|O[b+1|0]<<8;d=d<<8|d>>>8;b=b+2|0}N[a+32>>2]=b;N[(e<<2)+f>>2]=d<<16;d=g+1|0;e=e+1|0;if(g>>>0>=h>>>0){break c}g=d;if(c>>>0>e>>>0){continue}break c}}while(1){d=0;if(b>>>0>>0){k=b+1|0;N[a+32>>2]=k;d=O[b|0];b=k}N[(e<<2)+f>>2]=d<<24>>24<<16;d=g+1|0;e=e+1|0;if(g>>>0>=h>>>0){break c}g=d;if(c>>>0>e>>>0){continue}break}break c}b=(e^-1)+c|0;b=b>>>0>>0?b:h;C((e<<2)+f|0,0,(b<<2)+4|0);d=b+1|0;e=e+d|0}if(d>>>0>h>>>0){continue}break}if(!f){break a}Qa[N[i+8>>2]](i,f)}return 0}function vb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=-1;a:{b:{c:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}e=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c|0;f=d>>>1|0;d=e+(d&-2)|0;d=O[d|0]|O[d+1|0]<<8;d=(d<<8|d>>>8)&65535;d:{if(d>>>0>b>>>0){a=f-1|0;break d}if((b|0)==(d|0)){break a}c=f+1|0}if((a|0)>=(c|0)){continue}break}return-1}e=241305;c=O[a+2|0]|O[a+3|0]<<8;e:{if(!c){break e}h=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;g=T(d,6)+h|0;i=O[g|0]|O[g+1|0]<<8;f:{if(((i<<8|i>>>8)&65535)>>>0<=b>>>0){c=O[g+2|0]|O[g+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}e=T(d,6)+h|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}a=O[e+2|0]|O[e+3|0]<<8;c=(a<<8|a>>>8)&65535;a=O[e|0]|O[e+1|0]<<8;a=(a<<8|a>>>8)&65535;if(c>>>0>>0){break a}b=b-a|0;a=O[e+4|0]|O[e+5|0]<<8;f=b+((a<<8|a>>>8)&65535)|0}return f}function sn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=N[b+8>>2];d=g>>31;f=M[a+70>>1];c=f>>31;d=(d^g)-d|0;h=d>>>8|0;c=(c^f)-c|0;a:{if(h+c>>>0<=8190){e=T(c,d)+32768>>>16|0;break a}e=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;N[b+12>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)+63&-64;f=M[a+72>>1];c=f>>31;c=(c^f)-c|0;b:{if(c+h>>>0<=8190){e=T(c,d)+32768>>>16|0;break b}e=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}c=e;i=0-c|0;c=f>>31|1;N[b+16>>2]=((((g|0)<0?0-c|0:c)|0)<0?i:e)&-64;f=M[a+74>>1];c=f>>31;c=(c^f)-c|0;c:{if(c+h>>>0<=8190){c=T(c,d)+32768>>>16|0;break c}c=T(c,d>>>16|0)+(T(c,d&65535)+32768>>>16|0)|0}d=c;e=0-d|0;d=f>>31|1;N[b+20>>2]=((((g|0)<0?0-d|0:d)|0)<0?e:c)+32&-64;g=M[a+76>>1];d=g>>31;c=N[b+4>>2];a=c>>31;d=(d^g)-d|0;a=(a^c)-a|0;d:{if(d+(a>>>8|0)>>>0<=8190){e=T(a,d)+32768>>>16|0;break d}e=T(d,a>>>16|0)+(T(d,a&65535)+32768>>>16|0)|0}a=e;d=0-a|0;a=g>>31|1;N[b+24>>2]=((((c|0)<0?0-a|0:a)|0)<0?d:e)+32&-64}function zh(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;c=N[a+52>>2];d=O[a+32|0];a:{b:{c:{if(d){break c}b=N[a+24>>2];if(b>>>0>=Q[a+28>>2]){break c}if(Q[a+56>>2]>2]){break b}}if(Q[a+56>>2]>=Q[a+60>>2]){c=c+1|0;N[a+52>>2]=c;f=-1;if(c>>>0>16){break a}N[a+60>>2]=Q[a+40>>2]>c>>>0?(1<>2]+1|0}if(d){N[a+60>>2]=256;N[a+52>>2]=9;L[a+32|0]=0;c=9}f=-1;if(N[a+4>>2]){break a}b=c;g=N[a+164>>2];h=N[g+4>>2];i=N[g+8>>2];if(h>>>0>i>>>0){d=a+8|0;b=N[g+20>>2];d:{if(b){e=Qa[b|0](g,i,d,c)|0;break d}b=h-i|0;e=b>>>0>>0?b:c;F(d,N[g>>2]+i|0,e)}N[g+8>>2]=N[g+8>>2]+e;b=N[a+52>>2]}N[a+24>>2]=0;d=e<<3;N[a+28>>2]=d;N[a+4>>2]=b>>>0>e>>>0;N[a+36>>2]=N[a+36>>2]+e;if(b>>>0>=d>>>0){break a}N[a+28>>2]=(d|1)-b;b=0;if(!e){break a}}N[a+24>>2]=b+c;d=(b>>>3|0)+a|0;h=d+8|0;b=b&7;f=O[h|0]>>>b|0;e=8-b|0;a=c-e|0;if(a>>>0<8){b=d+9|0}else{a=a-8|0;f=O[h+1|0]<>2];d=N[a+104>>2];e=N[a+100>>2];c=N[a+716>>2];if(c){Qa[c|0](N[a+712>>2])}if(b){Qa[N[b+12>>2]](a)}b=N[a+104>>2];a:{if(b){b:{if(!N[b+20>>2]){break b}c=N[a+764>>2];if(!c){break b}b=N[b+28>>2];Qa[N[b+8>>2]](b,c);b=N[a+104>>2]}N[a+760>>2]=0;N[a+764>>2]=0;c=N[a+784>>2];c:{if(c){f=N[b+28>>2];Qa[N[f+8>>2]](f,c);N[a+784>>2]=0;break c}N[a+784>>2]=0;if(!b){break a}}if(!N[b+20>>2]){break a}c=N[a+768>>2];if(!c){break a}b=N[b+28>>2];Qa[N[b+8>>2]](b,c);break a}N[a+784>>2]=0;N[a+760>>2]=0;N[a+764>>2]=0}N[a+768>>2]=0;b=N[a+704>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+700>>2]=0;N[a+704>>2]=0;d:{if(d){e:{if(!N[d+20>>2]){break e}b=N[a+688>>2];if(!b){break e}e=N[d+28>>2];Qa[N[e+8>>2]](e,b)}N[a+688>>2]=0;if(!N[d+20>>2]){break d}b=N[a+696>>2];if(!b){break d}d=N[d+28>>2];Qa[N[d+8>>2]](d,b);break d}N[a+688>>2]=0}N[a+684>>2]=0;N[a+692>>2]=0;N[a+696>>2]=0;dn(a);N[a+736>>2]=0}}function td(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0){break a}g=d-a|0;if(g>>>0<2){break a}e=N[b+12>>2];f=e-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=O[a|0]|O[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}if(g>>>0<6){break a}c=e-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=a+4|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-10|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+6|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=T((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function Vf(a){a=a|0;var b=0,c=0,d=0,e=0;a:{if(!a){break a}c=N[a+100>>2];b=N[a+292>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+292>>2]=0;b=N[a+308>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+308>>2]=0;b=N[a+284>>2];if(b){b:{if(N[a+280>>2]>0){b=0;while(1){d=N[a+284>>2];c:{if(!d){break c}d=d+T(b,12)|0;e=N[d>>2];if(e){Qa[N[c+8>>2]](c,e)}N[d>>2]=0;if(!O[d+4|0]){break c}e=N[d+8>>2];if(e){Qa[N[c+8>>2]](c,e)}N[d+8>>2]=0}b=b+1|0;if((b|0)>2]){continue}break}b=N[a+284>>2];if(!b){break b}}Qa[N[c+8>>2]](c,b)}N[a+284>>2]=0}b=N[a+192>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+192>>2]=0;b=N[a+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+32>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+32>>2]=0;b=N[a+176>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+176>>2]=0;b=N[a+180>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+180>>2]=0;c=N[a+104>>2];if((c|0)!=(a+132|0)){break a}b=N[c+24>>2];if(b){Qa[b|0](c)}N[a+104>>2]=N[a+172>>2]}}function HA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a+28>>2];if(O[d+44|0]){break b}c=To(d,N[b>>2],N[b+4>>2]);if(!c){break b}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=c;return}c:{c=N[d+12>>2];if((M[c+22>>1]+M[c+58>>1]|0)+3>>>0<=Q[c+4>>2]){break c}c=Sb(c,3,0);if(!c){break c}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=c;return}a=N[d+20>>2];d:{e:{f:{if(!O[d+45|0]){b=P[a+2>>1]+1|0;M[a+2>>1]=b;break f}c=N[a+8>>2];e=N[b+8>>2];f=M[a+2>>1];g=N[a+4>>2]+(f<<3)|0;N[g+4>>2]=N[b+12>>2]>>10;N[g>>2]=e>>10;L[c+f|0]=2;e=O[d+45|0];c=N[d+20>>2];M[a+2>>1]=P[a+2>>1]+1;if(e){break e}b=P[c+2>>1];a=c}M[a+2>>1]=b+1;break d}a=N[c+8>>2];e=N[b+16>>2];f=M[c+2>>1];g=N[c+4>>2]+(f<<3)|0;N[g+4>>2]=N[b+20>>2]>>10;N[g>>2]=e>>10;L[a+f|0]=2;e=O[d+45|0];a=N[d+20>>2];M[c+2>>1]=P[c+2>>1]+1;if(!e){break d}c=N[a+8>>2];d=N[b+24>>2];e=M[a+2>>1];f=N[a+4>>2]+(e<<3)|0;N[f+4>>2]=N[b+28>>2]>>10;N[f>>2]=d>>10;L[c+e|0]=1}M[a+2>>1]=P[a+2>>1]+1}}function Qj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{i=N[a+32>>2];if(!i){break a}j=N[a+24>>2];if(!j|N[a+20>>2]==275552){break a}d=b>>>9|0;f=N[a+28>>2];e=N[f+32>>2];b:{c:{d:{g=N[f+28>>2];c=N[f+20>>2];if(g>>>0<=c>>>0){break d}c=(c<<3)+e|0;if(N[c>>2]!=(d|0)){break d}d=c+4|0;break c}c=0;if((g|0)<=0){break b}h=g-1|0;e:{while(1){c=h+k>>>1|0;l=N[(c<<3)+e>>2];f:{if((l|0)>(d|0)){h=c-1|0;break f}if((d|0)==(l|0)){break e}k=c+1|0}if((h|0)>=(k|0)){continue}break}c=0;break b}N[f+20>>2]=c;d=(c>>>0>=g>>>0?275552:(c<<3)+e|0)+4|0}e=N[f+44>>2];c=0;if(!e){break b}c=(e+(N[d>>2]<<6)|0)+(b>>>3&56)|0;g=N[c>>2];e=N[c+4>>2];d=b&63;c=d&31;c=(d>>>0>=32?e>>>c|0:((1<>>c)&1}if((c|0)!=O[f+48|0]){break a}f=N[a+16>>2];N[a+16>>2]=275552;c=N[a+12>>2];d=N[a+8>>2];N[a+12>>2]=275552;N[a+32>>2]=i-1;N[a+8>>2]=275552;Qa[j|0](a,b);N[a+16>>2]=f;N[a+8>>2]=d;N[a+12>>2]=c;N[a+32>>2]=N[a+32>>2]+1;tc(N[a+28>>2],b)}}function Dd(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;Tb(a,N[a+8>>2]);c=N[a>>2];N[d+12>>2]=c;f=N[a+8>>2];if(c>>>0>>0){a:{b:{c:{d:{e:{f:{g:{e=O[c|0];if((e|0)!=123){if((e|0)==91){break g}if((e|0)!=40){break f}N[b>>2]=c;N[b+8>>2]=2;if(Mi(d+12|0,f)){break e}break d}N[b>>2]=c;N[b+8>>2]=3;if(!ap(d+12|0,f)){break d}break e}N[b>>2]=c;N[b+8>>2]=3;N[a>>2]=c+1;Tb(a,f);c=N[a>>2];h:{if(f>>>0<=c>>>0){break h}e=1;while(1){if(N[a+12>>2]){break h}i:{j:{switch(O[c|0]-91|0){case 2:if((e|0)>1){e=e-1|0;break i}c=c+1|0;N[d+12>>2]=c;N[b+4>>2]=c;break a;case 0:break j;default:break i}}e=e+1|0}Ni(a);Tb(a,N[a+8>>2]);c=N[a>>2];if(f>>>0>c>>>0){continue}break}}N[d+12>>2]=c;break e}N[b>>2]=c;N[b+8>>2]=O[c|0]==47?4:1;Ni(a);c=N[a>>2];N[d+12>>2]=c;if(!N[a+12>>2]){break c}}c=N[b+4>>2];break b}c=N[d+12>>2]}N[b+4>>2]=c}if(c){break a}N[b+8>>2]=0;N[b>>2]=0}N[a>>2]=N[d+12>>2]}La=d+16|0}function JD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=267616;d=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if((d|0)<=0){break a}i=a+16|0;a=d-1|0;while(1){g=a+f>>>1|0;d=T(g,12)+i|0;h=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);b:{if((h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24))>>>0<=b>>>0){d=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>>0){f=g+1|0;break b}e=T(g,12)+i|0;break a}a=g-1|0}if((a|0)>=(f|0)){continue}break}}a=0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);c:{if(f>>>0>(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0){break c}d=b-f|0;b=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);b=d+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;if(!b){break c}N[c>>2]=b;a=1}return a|0}function Iz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=La-96|0;La=d;e=so(N[a>>2],N[a+4>>2],b,c);b=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);c=0|b;hb(d+80|0,e^c^2025677871,b^Pa^-1602871964,0,0,c^-1598805797,b^-419201327,0,0);hb(d- -64|0,N[d+88>>2]^N[d+80>>2],N[d+92>>2]^N[d+84>>2],0,0,-1598805793,-419201327,0,0);b=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);hb(d+48|0,b^(N[d+72>>2]^N[d+64>>2])^2025677871,N[d+76>>2]^N[d+68>>2]^b^-1602871964,0,0,b^-1598805797,b^-419201327,0,0);hb(d+32|0,N[d+56>>2]^N[d+48>>2],N[d+60>>2]^N[d+52>>2],0,0,-1598805793,-419201327,0,0);a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);b=a|f;hb(d+16|0,b^(N[d+40>>2]^N[d+32>>2])^2025677871,N[d+44>>2]^N[d+36>>2]^a^-1602871964,0,0,b^-1598805797,a^-419201327,0,0);hb(d,N[d+24>>2]^N[d+16>>2],N[d+28>>2]^N[d+20>>2],0,0,-1598805793,-419201327,0,0);La=d+96|0;Pa=N[d+12>>2]^N[d+4>>2];return N[d+8>>2]^N[d>>2]}function Fd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{i=N[b+4>>2];if(i>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<2){break a}d=N[b+12>>2];c=d-2|0;N[b+12>>2]=c;e=1;if((c|0)<=0){break a}c=O[a|0]|O[a+1|0]<<8;b:{if(!c){break b}if(a+2>>>0>=f>>>0){break a}d=d-3|0;N[b+12>>2]=d;if(!d){break a}e=O[a+2|0];if((e-1&255)>>>0>3){break a}j=(c<<8|c>>>8)&65535;g=T(e,j+1|0);h=a+3|0;if(g>>>0>f-h>>>0){break a}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}c=-1;a=T(e,j)+h|0;c:{d:{e:{switch(e-1|0){case 0:a=O[a|0];break d;case 1:a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;break d;case 2:a=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);break d;case 3:break e;default:break c}}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}c=a-1|0;if(c){break c}return 1}a=g+h|0;if(a>>>0>>0|a>>>0>f>>>0){break a}e=0;if(f-a>>>0>>0){break b}a=d-c|0;N[b+12>>2]=a;e=(a|0)>0}return e}return 0}function _h(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;h=La-32|0;La=h;a:{if(!b){b=6;break a}i=N[a>>2];g=Qa[N[i+4>>2]](i,40)|0;if(!g){Qa[N[i+8>>2]](i,b);b=64;break a}L[g+20|0]=0;L[g+21|0]=0;L[g+22|0]=0;L[g+23|0]=0;L[g+24|0]=0;L[g+25|0]=0;L[g+26|0]=0;L[g+27|0]=0;L[g+12|0]=0;L[g+13|0]=0;L[g+14|0]=0;L[g+15|0]=0;L[g+16|0]=0;L[g+17|0]=0;L[g+18|0]=0;L[g+19|0]=0;N[g+8>>2]=0;N[g+4>>2]=c;N[g>>2]=b;L[g+36|0]=0;L[g+37|0]=0;L[g+38|0]=0;L[g+39|0]=0;L[g+28|0]=0;L[g+29|0]=0;L[g+30|0]=0;L[g+31|0]=0;L[g+32|0]=0;L[g+33|0]=0;L[g+34|0]=0;L[g+35|0]=0;N[g+24>>2]=113;N[h+16>>2]=g;N[h>>2]=2;if(e){N[h>>2]=10;c=N[a+16>>2];b:{if((c|0)<=0){c=0;break b}b=a+20|0;j=b+(c<<2)|0;while(1){c=N[b>>2];if(!cb(N[N[c>>2]+8>>2],e)){break b}b=b+4|0;if(j>>>0>b>>>0){continue}break}c=0}N[h+20>>2]=c}b=Td(a,h,d,f,0);if(!b){a=N[f>>2];N[a+8>>2]=N[a+8>>2]&-1025;b=0;break a}a=N[g+24>>2];if(a){Qa[a|0](g)}Qa[N[i+8>>2]](i,g)}La=h+32|0;return b}function jo(){sa(584844,16753);ra(584864,13202,1,1,0);ga(584872,12216,1,-128,127);ga(584888,12209,1,-128,127);ga(584880,12207,1,0,255);ga(584896,8776,2,-32768,32767);ga(584904,8767,2,0,65535);ga(584912,9191,4,-2147483648,2147483647);ga(584920,9182,4,0,-1);ga(584928,14531,4,-2147483648,2147483647);ga(584936,14522,4,0,-1);Ln(584944,9764,-2147483648,2147483647);Ln(584952,9763,0,-1);pa(584960,9670,4);pa(584968,16035,8);qa(440720,14562);qa(440792,20995);la(440864,4,14536);la(440940,2,14574);la(441016,4,14589);Ka(441044,13355);ea(441084,0,20926);ea(441124,0,21028);ea(441164,1,20956);ea(441204,2,20491);ea(441244,3,20522);ea(441284,4,20562);ea(441324,5,20591);ea(441364,4,21065);ea(441404,5,21095);ea(441124,0,20693);ea(441164,1,20660);ea(441204,2,20759);ea(441244,3,20725);ea(441284,4,20893);ea(441324,5,20859);ea(441444,8,20826);ea(441484,9,20792);ea(441524,6,20629);ea(441564,7,21134)}function $i(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;h=N[b+4>>2];a:{if(h>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<20){break a}e=N[b+12>>2];c=e-20|0;N[b+12>>2]=c;if((O[a|0]|O[a+1|0]<<8)!=256|(c|0)<=0){break a}c=a+8|0;if(c>>>0>f>>>0|f-c>>>0<4){break a}d=O[a+4|0]|O[a+5|0]<<8;g=O[a+6|0]|O[a+7|0]<<8;e=e-24|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c&128){break a}d=T((g<<8|g>>>8)&65535,(d<<8|d>>>8)&65535);if((d|0)<0){break a}d=d<<1;if(d){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0;if(c>>>0>>0|c>>>0>f>>>0|d>>>0>f-c>>>0){break a}e=e-d|0;N[b+12>>2]=e;if((e|0)<=0){break a}}c=O[a+12|0]|O[a+13|0]<<8;c=(c<<8|c>>>8)&65535;d=a+20|0;g=f-d|0;b:{if(L[a+15|0]&1){if(d>>>0>f>>>0){break a}a=(c<<2)+4|0;if(g>>>0>=a>>>0){break b}break a}if(d>>>0>f>>>0){break a}a=(c<<1)+2|0;if(g>>>0>>0){break a}}a=e-a|0;N[b+12>>2]=a;i=(a|0)>0}return i}function Db(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;b=N[a+112>>2];d=N[a+116>>2];g=(b|d)!=0;f=b;c=N[a+4>>2];h=N[a+44>>2];b=c-h|0;i=b;e=b+N[a+120>>2]|0;b=N[a+124>>2]+(b>>31)|0;a:{b=e>>>0>>0?b+1|0:b;if(!(((b|0)>=(d|0)&e>>>0>=f>>>0|(b|0)>(d|0))&g)){d=La-16|0;La=d;c=-1;b:{if(mi(a)){break b}if((Qa[N[a+32>>2]](a,d+15|0,1)|0)!=1){break b}c=O[d+15|0]}La=d+16|0;d=c;if((c|0)>=0){break a}h=N[a+44>>2];c=N[a+4>>2]}N[a+112>>2]=-1;N[a+116>>2]=-1;N[a+104>>2]=c;d=h-c|0;c=d+e|0;b=(d>>31)+b|0;N[a+120>>2]=c;N[a+124>>2]=c>>>0>>0?b+1|0:b;return-1}c=e+1|0;b=c?b:b+1|0;g=N[a+4>>2];h=N[a+8>>2];f=N[a+116>>2];i=f;e=N[a+112>>2];c:{if(!(f|e)){break c}f=e-c|0;e=i-(b+(c>>>0>e>>>0)|0)|0;j=h-g|0;i=j>>31;if((e|0)>=(i|0)&f>>>0>=j>>>0|(e|0)>(i|0)){break c}h=f+g|0}N[a+104>>2]=h;e=N[a+44>>2];f=e-g|0;c=f+c|0;b=(f>>31)+b|0;N[a+120>>2]=c;N[a+124>>2]=c>>>0>>0?b+1|0:b;if(e>>>0>=g>>>0){L[g-1|0]=d}return d}function Gq(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=db(1,16);a:{if(!f){break a}d=N[a+44>>2];if((d|0)<=0){break a}e=N[a+48>>2];d=d-1|0;a=d;b:{while(1){b=a>>>1|0;if(!N[T(b,36)+e>>2]){a=N[(T(b,36)+e|0)+28>>2];break b}c=a>>>0>1;a=b-1|0;if(c){continue}break}a=0}N[f>>2]=a;b=0;a=d;c:{while(1){c=a+b>>>1|0;g=N[T(c,36)+e>>2];d:{if(g>>>0<=1818914159){b=N[(T(c,36)+e|0)+28>>2];if((g|0)==1818914159){break c}b=c+1|0;break d}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}N[f+4>>2]=b;b=0;a=d;e:{while(1){c=a+b>>>1|0;g=N[T(c,36)+e>>2];f:{if(g>>>0<=1986686319){b=N[(T(c,36)+e|0)+28>>2];if((g|0)==1986686319){break e}b=c+1|0;break f}a=c-1|0}if((a|0)>=(b|0)){continue}break}b=0}N[f+8>>2]=b;a=0;g:{while(1){b=a+d>>>1|0;c=N[T(b,36)+e>>2];h:{if(c>>>0<=1953131887){a=N[(T(b,36)+e|0)+28>>2];if((c|0)==1953131887){break g}a=b+1|0;break h}d=b-1|0}if((a|0)<=(d|0)){continue}break}a=0}N[f+12>>2]=a}return f|0}function Rb(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;a:{if(O[b|0]){g=S[b+8>>3];break a}L[b|0]=1;g=S[b+8>>3];f=S[a+4392>>3];if(g>f){S[b+8>>3]=f;g=f;f=S[a+4392>>3]}if(f>S[b+24>>3]){S[b+24>>3]=f}f=S[a+4400>>3];if(f>3]){S[b+16>>3]=f;f=S[a+4400>>3]}if(!(S[b+32>>3]>3]=f}f=S[c>>3];if(g>f){S[b+8>>3]=f;g=f;f=S[c>>3]}h=S[b+24>>3];if(f>h){S[b+24>>3]=f;h=f}i=S[b+16>>3];f=S[c+8>>3];if(i>f){S[b+16>>3]=f;i=f;f=S[c+8>>3]}j=S[b+32>>3];if(f>j){S[b+32>>3]=f;j=f}f=S[d>>3];if(f>3]=f;f=S[d>>3]}if(f>h){S[b+24>>3]=f}g=S[d+8>>3];if(i>g){S[b+16>>3]=g;g=S[d+8>>3]}if(g>j){S[b+32>>3]=g}c=N[e+4>>2];N[a+4392>>2]=N[e>>2];N[a+4396>>2]=c;d=N[e+12>>2];c=a+4400|0;N[c>>2]=N[e+8>>2];N[c+4>>2]=d;g=S[a+4392>>3];if(g>3]){S[b+8>>3]=g;g=S[a+4392>>3]}if(S[b+24>>3]>3]=g}g=S[a+4400>>3];if(g>3]){S[b+16>>3]=g;g=S[a+4400>>3]}if(S[b+32>>3]>3]=g}}function Oh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=N[b+4>>2]+(c<<4)|0;m=N[l+4>>2];if(!m){return 0}p=N[l+12>>2]+(T(d,m)<<1)|0;n=P[b+8>>1];while(1){a:{if(!n){d=65536;break a}c=N[N[b+16>>2]+(N[N[l+8>>2]+(k<<2)>>2]<<2)>>2];e=0;d=65536;while(1){g=d;i=N[c>>2];f=N[c+4>>2];b:{if((i|0)>(f|0)){break b}j=N[c+8>>2];if(!f|(f|0)>(j|0)){break b}if((i|0)<0&(j|0)>0){break b}h=N[N[N[a+736>>2]+8>>2]+(e<<2)>>2];if((f|0)==(h|0)){break b}d=0;if((h|0)<=(i|0)|(h|0)>=(j|0)){break a}if((f|0)>(h|0)){g=jb(g,h-i|0,f-i|0);break b}g=jb(g,j-h|0,j-f|0)}d=g;c=c+12|0;e=e+1|0;if((n|0)!=(e|0)){continue}break}}g=M[(k<<1)+p>>1];c=g<<16;e=c>>31;e=(c^e)-e|0;c=d>>31;c=(c^d)-c|0;c:{if((e>>>8|0)+c>>>0<=8190){e=T(c,e)>>>16|0;break c}e=T(c&65535,e>>>16|0)+T(e,c>>>16|0)|0}c=e;f=0-c|0;c=d>>31|1;o=((((g|0)<0?0-c|0:c)|0)<0?f:e)+o|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}return o+32768>>16}function qh(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[b+4>>2];a:{if(k>>>0>a>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}d=N[b+12>>2]-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);if(h>>>0>1073741823){break a}j=h<<2;if(j){i=a+4|0;if(i>>>0>g>>>0|j>>>0>g-i>>>0){break a}d=d-j|0;N[b+12>>2]=d;if((d|0)<=0){break a}}if(!e){return 1}h=h>>>0<=1?1:h;j=a+4>>>0>>0;while(1){b:{c:{if(j){break c}f=(l<<2)+a|0;e=f+4|0;if(e>>>0>g>>>0|g-e>>>0<4){break c}i=d-4|0;N[b+12>>2]=i;if((d|0)<5){break c}f=O[f+6|0]|O[f+7|0]<<8;if(!f){d=i;break b}d=O[e|0]|O[e+1|0]<<8;d=((d<<8|d>>>8)&65535)+c|0;if(d>>>0>>0|d>>>0>g>>>0){break c}e=g-d|0;d=(f<<8|f>>>8)&65535;if(e>>>0>>0){break c}d=i-d|0;N[b+12>>2]=d;if((d|0)>0){break b}}f=0;break a}f=1;l=l+1|0;if((h|0)!=(l|0)){continue}break}}return f}function Gi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!((b|0)==(d|0)&(c|0)==(e|0))){g=N[a+28>>2];h=g+1|0;f=N[a+36>>2];a:{if(h>>>0<=f>>>0){f=N[a+20>>2];break a}f=f<<1;f=f>>>0<=64?64:f;while(1){g=f;f=f<<1;if(g>>>0>>0){continue}break}f=$a(N[a+20>>2],T(g,40));if(!f){return 0}N[a+36>>2]=g;N[a+20>>2]=f;g=N[a+28>>2];h=g+1|0}N[a+28>>2]=h;a=T(g,40)+f|0;N[a+36>>2]=(c|0)>(e|0)?c:e;N[a+32>>2]=(c|0)<(e|0)?c:e;N[a+28>>2]=(b|0)>(d|0)?b:d;N[a+24>>2]=(b|0)<(d|0)?b:d;d=d-b|0;f=(d|0)<0?62:60;e=e-c|0;N[a+20>>2]=(e|0)<0?f:f^3;i=d>>31;f=i;f=(f^d)-f|0;j=e>>31;g=j;g=(g^e)-g|0;g=(f|0)>(g|0)?f:g;h=W(g)^31;f=30-h|0;N[a+12>>2]=0-d<>2]=e<>31);e=Pa;f=1<>31);k=a,l=UE(f,f>>31,b-c|0,e-(Pa+(b>>>0>>0)|0)|0),N[k>>2]=l;N[a+4>>2]=Pa;b=a;a=g<<31-h;UE(a,0,a,0);UE(Pa,0,1395864371,0);c=Pa;UE(a,0,-1144608785,0);N[b+16>>2]=(c-Pa|0)-2012192179}return 1}function Ak(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;g=La-16|0;La=g;a:{if(Q[b+4>>2]>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}e=N[b+12>>2];d=e-4|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+2|0;if(d>>>0>f>>>0|f-d>>>0<2){break a}h=e-6|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[d|0]|O[d+1|0]<<8;if(e){d=a+4|0;if(f>>>0>>0){break a}f=f-d|0;d=((e<<8|e>>>8)&65535)<<1;if(f>>>0>>0){break a}d=h-d|0;N[b+12>>2]=d;if((d|0)<=0){break a}}e=O[a|0]|O[a+1|0]<<8;b:{if(!e){break b}N[g+12>>2]=c?N[c>>2]:0;if(!zk(a,b,a,g+12|0)){break a}if(!c|(O[a|0]|O[a+1|0]<<8)|N[c>>2]!=1936292453){break b}d=N[c+4>>2];if(!d|a>>>0<=d>>>0){break b}e=(d-a|0)+((e<<8|e>>>8)&65535)|0;if(e>>>0>65535){break b}d=N[b+28>>2];if(d>>>0>31){break b}N[b+28>>2]=d+1;if(!O[b+24|0]){break b}d=e<<8|(e&65280)>>>8;L[a|0]=d;L[a+1|0]=d>>>8;N[g+8>>2]=N[c>>2];if(!zk(a,b,a,g+8|0)){break a}}i=1}La=g+16|0;return i}function ll(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=N[a+68>>2];if(!i){N[a+68>>2]=0;return}while(1){a:{b:{d=N[a+80>>2];g=T(e,20);b=d+g|0;if(N[b>>2]==65535){g=N[b+8>>2];c:{d:{e:{c=e+1|0;if(c>>>0>>0){if(N[(T(c,20)+d|0)+8>>2]!=(g|0)){break e}break a}if(f){break d}break b}if(!f){break c}}h=N[(T(f,20)+d|0)-12>>2];if(h>>>0<=g>>>0){break a}j=N[b+4>>2]&7;e=f;while(1){e=e-1|0;b=T(e,20)+d|0;if((h|0)!=N[b+8>>2]){break a}N[b+4>>2]=j|N[b+4>>2]&-8;N[b+8>>2]=g;if(e){continue}break}break a}Ib(a,e,e+2|0);break b}if((e|0)!=(f|0)){h=N[b+4>>2];c=d;d=T(f,20);c=c+d|0;N[c>>2]=N[b>>2];N[c+4>>2]=h;N[c+16>>2]=N[b+16>>2];h=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=h;b=N[a+88>>2];c=b+d|0;b=b+g|0;d=N[b+4>>2];N[c>>2]=N[b>>2];N[c+4>>2]=d;d=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=d;N[c+16>>2]=N[b+16>>2]}f=f+1|0;c=e+1|0;break a}f=0}e=c;if((i|0)!=(c|0)){continue}break}N[a+68>>2]=f}function $q(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{b:{c:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break b;case 0:break c;default:break a}}d=O[c+4|0]|O[c+5|0]<<8;if(!d){break a}d=(d<<8|d>>>8)&65535;f=d>>>0<=1?1:d;d=0;while(1){e=O[c+4|0]|O[c+5|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=d>>>0?275552:((d<<1)+c|0)+6|0;e=O[e|0]|O[e+1|0]<<8;if(((e<<8|e>>>8)&65535)==(b|0)){e=O[c+2|0]|O[c+3|0]<<8;tc(a,((e<<8|e>>>8)&65535)+d|0)}d=d+1|0;if((f|0)!=(d|0)){continue}break}break a}e=O[c+2|0]|O[c+3|0]<<8;if(!e){break a}d=c+4|0;c=d+T((e<<8|e>>>8)&65535,6)|0;e=a+12|0;while(1){d:{f=O[d+4|0]|O[d+5|0]<<8;if(((f<<8|f>>>8)&65535)==(b|0)){f=O[d+2|0]|O[d+3|0]<<8;f=(f<<8|f>>>8)&65535;g=O[d|0]|O[d+1|0]<<8;g=(g<<8|g>>>8)&65535;if(!O[a+48|0]){break d}rd(e,g,f)}d=d+6|0;if((c|0)!=(d|0)){continue}break a}if(!Ne(e,g,f)){break a}d=d+6|0;if((c|0)!=(d|0)){continue}break}}}function wc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;e=b>>>9|0;d=N[a+20>>2];a:{b:{c:{b=N[a+8>>2];c=N[a+16>>2];if(b>>>0>=c>>>0){break c}b=(b<<3)+d|0;if(N[b>>2]!=(e|0)){break c}b=b+4|0;break b}f=N[a+28>>2];b=0;d:{if((c|0)>0){g=c-1|0;while(1){c=b+g>>>1|0;h=N[(c<<3)+d>>2];e:{if((h|0)>(e|0)){g=c-1|0;break e}if((e|0)==(h|0)){b=c;break d}b=c+1|0}if((b|0)<=(g|0)){continue}break}}if(!Ef(a,f+1|0)){break a}c=N[a+32>>2]+(f<<6)|0;N[c>>2]=0;N[c+4>>2]=0;N[c+56>>2]=0;N[c+60>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;c=b<<3;d=c+N[a+20>>2]|0;F(d+8|0,d,N[a+16>>2]+(b^-1)<<3);f:{if(Q[a+16>>2]<=b>>>0){N[147456]=0;N[147457]=0;c=589824;break f}c=c+N[a+20>>2]|0}N[c>>2]=e;N[c+4>>2]=f;d=N[a+20>>2]}N[a+8>>2]=b;b=((b<<3)+d|0)+4|0}i=N[a+32>>2]+(N[b>>2]<<6)|0}return i}function qn(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(!a){return 35}if(!e){return 6}f=N[a+96>>2];N[e>>2]=0;N[e+4>>2]=0;f=N[N[f+12>>2]+76>>2];if(!f){return 0}c=Qa[f|0](a,b,c,e)|0;a:{if(c){break a}f=N[e>>2];c=f>>31;b=N[a+88>>2];h=N[b+16>>2];a=h>>31;c=(c^f)-c|0;a=(a^h)-a|0;b:{if(c+(a>>>8|0)>>>0<=8190){c=T(a,c)+32768>>>16|0;break b}i=c&65535;c=T(i,a>>>16|0)+T(a,c>>>16|0)+(T(i,a&65535)+32768>>>16)|0}a=c;g=0-a|0;a=f>>31|1;f=(((h|0)<0?0-a|0:a)|0)<0?g:c;N[e>>2]=f;h=N[e+4>>2];c=h>>31;i=N[b+20>>2];a=i>>31;c=(c^h)-c|0;a=(a^i)-a|0;c:{if(c+(a>>>8|0)>>>0<=8190){g=T(a,c)+32768>>>16|0;break c}g=c&65535;g=T(g,a>>>16|0)+T(a,c>>>16|0)+(T(g,a&65535)+32768>>>16)|0}a=g;c=0;j=0-a|0;a=h>>31|1;a=(((i|0)<0?0-a|0:a)|0)<0?j:g;N[e+4>>2]=a;if((d|0)==1){break a}d=P[b+12>>1];if(d>>>0<=24){f=jb(f,d,25)}b=P[b+14>>1];if(b>>>0<=24){a=jb(a,b,25)}N[e+4>>2]=a+32&-64;N[e>>2]=f+32&-64}return c}function Mg(a,b,c,d,e){var f=0,g=0,h=U(0),i=0,j=0,k=U(0),l=0,m=0,n=0,o=0;f=O[a+2|0]|O[a+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0<=b>>>0){return U(0)}a:{if(e){l=(b<<2)+e|0;h=R[l>>2];if(h!=U(2)){break a}}f=O[a|0]|O[a+1|0]<<8;b:{c:{if(!f){h=U(1);break c}g=a;a=(f<<8|f>>>8)&65535;m=(g+T(T(a,b),6)|0)+4|0;n=a>>>0<=1?1:a;h=U(1);a=0;while(1){b=0;b=a>>>0>>0?N[(a<<2)+c>>2]:b;k=U(1);d:{f=T(a,6)+m|0;i=O[f+2|0]|O[f+3|0]<<8;j=(i<<8|i>>>8)<<16>>16;g=O[f|0]|O[f+1|0]<<8;g=(g<<8|g>>>8)<<16>>16;if((j|0)<(g|0)){break d}f=O[f+4|0]|O[f+5|0]<<8;f=(f<<8|f>>>8)<<16>>16;if((f|0)<(j|0)|!(i?(f|0)<=0|(g|0)>=0:1)){break d}if(!i|(b|0)==(j|0)){break d}if(!((b|0)<=(g|0)|(b|0)>=(f|0))){i=b-g|0;o=f-b|0;b=(b|0)<(j|0);k=U(U((b?i:o)|0)/U((b?j-g|0:f-j|0)|0));if(k!=U(0)){break d}}h=U(0);if(e){break b}break a}h=U(h*k);a=a+1|0;if((n|0)!=(a|0)){continue}break}}if(!e){break a}}R[l>>2]=h}return h}function wp(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;i=N[a+2744>>2];l=i&4;f=64;a:{if(l){break a}f=(e|0)==1?55:49;if(!(!(L[b+12|0]&1)|!(L[c+12|0]&1))){break a}f=(e|0)==1?61:59}m=N[c+4>>2];n=N[b+4>>2];j=Fg(i,N[a+2748>>2],e,m-n|0);b:{c:{d:{e:{i=(((m+n|0)/2|0)+d|0)+((j|0)/-2|0)|0;a=i&63;f:{if(!a){break f}g=j+i&63;if(!g){break f}d=64-a|0;if((f|0)>=(j|0)){if((g|0)>=(j|0)){break f}if(d>>>0<=g>>>0){break c}h=0-g|0;break f}if(!l){if(a>>>0>=f>>>0|d>>>0>=f>>>0|(f>>>0<=g>>>0|f>>>0<=64-g>>>0)){break f}}k=j&63;if(k>>>0>31){break e}if(d>>>0<=k>>>0){break f}if(g>>>0>k>>>0){break d}}a=(h|0)<=-14?-14:h;break b}k=64-f|0}e=d-k|0;a=f-d|0;h=(a|0)>(e|0)?e:0-a|0;e=h>>31;d=f-g|0;a=g-k|0;d=(a|0)>(d|0)?d:0-a|0;a=d>>31;d=(e^h)-e>>>0>(a^d)-a>>>0?d:h}h=d;a=(d|0)<=-14?-14:d;a=(a|0)>=14?14:a}d=l?h:a;f=d+i|0;e=f+j|0;a=(m|0)>(n|0);N[b+8>>2]=a?f:e;N[c+8>>2]=a?e:f;return d}function zw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;c=N[a>>2];a:{if(O[c+8|0]&2){if(!(Qa[N[N[c+540>>2]+104>>2]](c,b,g+12|0)|0)){Bm(a,N[g+12>>2]);break a}N[a+44>>2]=-1;c=N[a>>2]}se(c,b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}e=N[N[c+712>>2]+3080>>2];c=b+20|0;b=c+(d<<2)|0;while(1){d=N[c>>2];if(cb(N[N[d>>2]+8>>2],11971)){c=c+4|0;if(b>>>0>c>>>0){continue}break a}break}if(!e){break a}b=N[e>>2];if(!b){break a}d=Qa[b|0](d)|0;if(!d){break a}h=N[N[a>>2]+712>>2];e=N[h+1440>>2];i=N[N[a+40>>2]>>2];Qa[N[d+4>>2]](N[i>>2],N[a+16>>2],N[a+20>>2],0,0);c=N[h+2024>>2];if(!c){break a}while(1){b=N[a+16>>2];c=c-1|0;j=c<<2;f=N[N[(j+h|0)+2028>>2]+68>>2];b:{if((f|0)!=(e|0)){b=jb(b,e,f);f=jb(N[a+20>>2],e,f);break b}f=N[a+20>>2]}Qa[N[d+4>>2]](N[(i+j|0)+4>>2],b,f,0,0);if(c){continue}break}}La=g+16|0;return 0}function sD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;e=N[b+96>>2];f=N[e+72>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+52>>2]}else{e=0}g=Qa[f|0](b,g,c,d,e)|0;if(g){f=N[a+20>>2];a:{if(f){b=N[d>>2];c=N[f+28>>2];e=N[a+28>>2];if((c|0)!=(e|0)){b=VE(UE(e,e>>31,b,b>>31),Pa,c,c>>31)}N[d>>2]=b;b=N[d+4>>2];c=N[f+32>>2];e=N[a+32>>2];if((c|0)!=(e|0)){b=VE(UE(e,e>>31,b,b>>31),Pa,c,c>>31)}N[d+4>>2]=b;e=N[d+8>>2];b=N[f+28>>2];c=N[a+28>>2];if((b|0)!=(c|0)){e=VE(UE(c,c>>31,e,e>>31),Pa,b,b>>31)}b=d+12|0;N[d+8>>2]=e;c=N[d+12>>2];d=N[f+32>>2];a=N[a+32>>2];if((d|0)==(a|0)){break a}c=VE(UE(a,a>>31,c,c>>31),Pa,d,d>>31);break a}b=d+12|0;c=N[d+12>>2]}N[b>>2]=c}return g|0}function np(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=N[a>>2];if(f){g=N[(N[a+24>>2]+T(b,204)|0)+200>>2];b=g>>31;e=(b^g)-b|0;j=e&65535;k=e>>>16|0;l=e>>>8|0;a=N[a+8>>2];while(1){b=N[a+24>>2];if(b){i=N[a+16>>2];c=N[b+8>>2];a:{if(i&512){break a}c=N[b+12>>2]+N[b+8>>2]|0;if(i&1024){break a}c=N[a+28>>2]-N[b>>2]|0;if((c|0)<=0){h=N[b+8>>2];b=c>>31;b=(b^c)-b|0;b:{if(b+l>>>0<=8190){d=T(b,e)+32768>>>16|0;break b}d=b&65535;d=T(d,k)+T(b>>>16|0,e)+(T(d,j)+32768>>>16)|0}b=d;m=0-b|0;b=c>>31|1;c=h+((((g|0)<0?0-b|0:b)|0)<0?m:d)|0;break a}h=N[b+12>>2];d=N[b+8>>2];b=N[b+4>>2];if((b|0)<=(c|0)){d=d+h|0;b=c-b|0;c:{if(b+l>>>0<=8190){c=T(b,e)+32768>>>16|0;break c}c=b&65535;c=T(c,k)+T(b>>>16|0,e)+(T(c,j)+32768>>>16)|0}b=b>>31|1;c=d+((((g|0)<0?0-b|0:b)|0)<0?0-c|0:c)|0;break a}c=jb(c,h,b)+d|0}N[a+36>>2]=c;N[a+16>>2]=i|32}a=a+40|0;f=f-1|0;if(f){continue}break}}}function Lr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{c:{d:{a=b-44032|0;if(!(a>>>0>11171|c-4520>>>0>26)){if(((a&65535)>>>0)%28|0){break d}b=(b+c|0)-4519|0;break a}if(!(b-4352>>>0>18|c-4449>>>0>20)){b=(T(b,588)+T(c,28)|0)-2639516|0;break a}if((c&-128)!=768|b>>>0>2047){break d}a=c<<14&2080768|b<<21;b=637;c=0;while(1){e:{e=b+c>>>1|0;h=N[(e<<2)+228848>>2];g=h&-16384;f:{if(a>>>0>>0){b=e-1|0;break f}if(a>>>0<=g>>>0){break e}c=e+1|0}if((b|0)>=(c|0)){continue}break b}break}b=h&16383;break c}a=c>>>11|0;h=c<<21;e=b<<10|a;b=387;c=0;while(1){g:{g=b+c>>>1|0;f=(g<<3)+231408|0;a=N[f>>2];f=N[f+4>>2]&2147483647;i=a&-2097152;h:{if((f|0)==(e|0)&i>>>0>h>>>0|e>>>0>>0){b=g-1|0;break h}if((e|0)==(f|0)&h>>>0<=i>>>0|e>>>0>>0){break g}c=g+1|0}if((b|0)>=(c|0)){continue}break b}break}b=a&2097151}if(b){break a}}return 0}N[d>>2]=b;return 1}function JC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=0,i=U(0);f=La-96|0;La=f;h=N[b+12>>2];a:{if(vc(h,c,N[b>>2]|8)){break a}b=N[h+84>>2];if(N[b+72>>2]!=1869968492){break a}c=N[69481];N[f+88>>2]=N[69480];N[f+92>>2]=c;c=N[69479];N[f+80>>2]=N[69478];N[f+84>>2]=c;c=N[69477];N[f+72>>2]=N[69476];N[f+76>>2]=c;g=R[a+40>>2];N[f+32>>2]=0;N[f+36>>2]=0;N[f+40>>2]=0;N[f+44>>2]=0;N[f+48>>2]=0;N[f+52>>2]=0;N[f+56>>2]=0;N[f+60>>2]=0;a=f- -64|0;N[a>>2]=0;N[a+4>>2]=0;N[f+24>>2]=0;N[f+28>>2]=0;N[f+20>>2]=e;N[f+16>>2]=d;R[f+8>>2]=g;L[f+12|0]=g==U(0);Yh(b+108|0,f+72|0,f+8|0);if(!N[f+24>>2]){break a}b=f+24|0;c=N[f+20>>2];a=N[f+16>>2];i=R[f+28>>2];g=R[f+32>>2];if(!(i==R[f+36>>2]&g==R[f+40>>2])){e=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](a,c,b,i,g,d)}e=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](a,c,b,d)}La=f+96|0}function Gp(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;d=La-48|0;La=d;N[d+32>>2]=N[73412];c=N[73411];N[d+24>>2]=N[73410];N[d+28>>2]=c;c=N[73409];N[d+16>>2]=N[73408];N[d+20>>2]=c;a:{b=db(1,172);b:{if(!b){b=588184;break b}N[b+148>>2]=1073741823;N[b+152>>2]=536870911;N[b>>2]=1;N[b+4>>2]=1;c=Ic();c:{if(!c){break c}e=N[c>>2];if(!e){break c}if((e|0)<=0){break a}N[c>>2]=e+1}L[b+60|0]=1;N[b+24>>2]=65533;N[b+12>>2]=c}i=d+16|0;c=0;e=0;d:{while(1){i=Ge(i,a,b,d+12|0);e:{if(Q[d+12>>2]>1){break e}g=N[b+80>>2];h=N[b+68>>2];f:{g:{if(O[b+63|0]){break g}f=0;if(N[b+168>>2]){break f}N[b+84>>2]=g;N[b+72>>2]=0;M[b+62>>1]=256;f=T(h,20);if(!f){break g}C(N[b+88>>2],0,f)}f=N[b+88>>2]}if(!h|!N[g>>2]){break e}g=N[f>>2];h=c;c=1;if(!h){e=g;break e}if((e|0)==(g|0)){break e}c=0;break d}if(O[i|0]){continue}break}c=1}dc(b);L[a+32|0]=c;La=d+48|0;return}ba(23506,14099,260,16403);B()}function bf(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(a){d=M[a+56>>1];M[a+20>>1]=d+P[a+20>>1];b=P[a+22>>1];M[a+22>>1]=b+P[a+58>>1];h=N[a+48>>2]+N[a+84>>2]|0;N[a+48>>2]=h;a:{if((d|0)<=0){break a}g=N[a+68>>2];if(d>>>0>=4){j=d&-4;while(1){c=f<<1;e=c+g|0;M[e>>1]=b+P[e>>1];e=g+(c|2)|0;M[e>>1]=b+P[e>>1];e=g+(c|4)|0;M[e>>1]=b+P[e>>1];c=g+(c|6)|0;M[c>>1]=b+P[c>>1];f=f+4|0;if((j|0)!=(f|0)){continue}break}}d=d&3;if(!d){break a}while(1){c=g+(f<<1)|0;M[c>>1]=b+P[c>>1];f=f+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}}N[a+84>>2]=0;N[a+56>>2]=0;b=N[a+24>>2];if(b){b=b+(M[a+22>>1]<<3)|0}else{b=0}N[a+60>>2]=b;c=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[c>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;if(O[a+16|0]){b=M[a+22>>1]<<3;N[a+76>>2]=b+N[a+40>>2];N[a+80>>2]=b+N[a+44>>2]}b=a;a=N[a+52>>2];N[b+88>>2]=a?a+(h<<5)|0:0}}function BB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=N[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){e=N[a>>2];c=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=P[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k;break c}if(!(N[e+28>>2]!=(f|0)|N[e+16>>2]>0)&(!(l&16)|N[a+8>>2]>(d-c|0))|!(N[f+28>>2]!=(e|0)|N[e+20>>2]!=(b|0))&(!(l&32)|N[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k}e=N[a>>2];c=g;c=(j|0)>=0?Q[a+96>>2]>j>>>e>>>0?j:i:c;d=((g|0)==(c|0)?i:g)>>e;if((d|0)<0|d>>>0>=Q[a+96>>2]){break b}if(O[(N[a+52>>2]+(b>>3)|0)-T(d,N[a+104>>2])|0]&128>>>(b&7)){break a}}c=c>>e;if((c|0)<0|c>>>0>=Q[a+96>>2]){break a}a=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[a|0]=O[a|0]|128>>>(b&7)}}function qA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;N[a+8>>2]=d;N[a+4>>2]=b;M[a+64>>1]=256;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;g=N[b+32>>2];f=b- -64|0;N[f>>2]=N[b+28>>2];N[f+4>>2]=g;N[b+88>>2]=N[b+52>>2];f=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=f;f=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=f;f=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=f;N[a+68>>2]=0;N[a+72>>2]=0;if(!c|!e){break a}b=N[N[c+40>>2]>>2];if(!b){break a}N[a+72>>2]=N[b>>2];N[a+68>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73600];N[a+76>>2]=N[73599];N[a+80>>2]=b;b=N[73602];N[a+84>>2]=N[73601];N[a+88>>2]=b;b=N[73604];N[a+92>>2]=N[73603];N[a+96>>2]=b;b=N[73606];N[a+100>>2]=N[73605];N[a+104>>2]=b}function Io(a,b){var c=0,d=0;a:{b:{if(a>>>0>=b>>>0){break b}c=1;b=(b-a|0)+1|0;c:{d:{e:{f:{g:{h:{i:{d=L[a|0];switch(d-75|0){case 0:case 32:break c;case 27:break g;case 34:break h;case 41:break i;default:break b}}if(b>>>0<2){break b}if((d|0)==116){break f}break b}if(b>>>0<5){break b}if(!bb(a,15447,4)){break e}break b}if(b>>>0<4){break b}j:{if(bb(a,16930,3)){break j}k:{d=O[a+3|0];switch(d-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:break j;case 0:case 8:break c;default:break k}}if((d|0)==9){break c}}if(b>>>0<5){break b}if(!bb(a,16398,4)){break d}break b}c=0;a=O[a+1|0];if(a>>>0>=41){break c}break a}c=0;a=O[a+4|0];if(a>>>0>=41){break c}break a}c=0;b=O[a+4|0];if(b>>>0>=41){break c}a=b&31;c=((b&63)>>>0>=32?257>>>a|0:((1<>>a)&1}return c}return 0}b=a&31;return((a&63)>>>0>=32?257>>>b|0:((1<>>b)&1}function GE(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=db(1,8);a:{if(d){c=N[a+44>>2];b=0;b:{if((c|0)<=0){break b}e=N[a+48>>2];b=c-1|0;c:{while(1){c=b+f>>>1|0;g=N[T(c,36)+e>>2];d:{if(g>>>0>=1919969383){b=c-1|0;break d}if((g|0)==1919969382){break c}f=c+1|0}if((b|0)>=(f|0)){continue}break}b=0;break b}b=N[(T(c,36)+e|0)+28>>2]}N[d>>2]=b;b=N[a+4>>2];e:{if((b|0)<=1333094257){if((b|0)<=1298230883){if((b|0)==1097100397|(b|0)==1098015074|(b|0)==1130918515){break e}break a}f:{switch(b-1298230884|0){case 1:case 2:case 3:case 4:break a;case 0:case 5:break e;default:break f}}if((b|0)==1299148391|(b|0)==1315663727){break e}break a}if((b|0)<=1383032934){if((b|0)==1333094258|(b|0)==1349017959|(b|0)==1349020784){break e}break a}if((b|0)==1383032935|(b|0)==1400468067){break e}if((b|0)!=1399809892){break a}}a=Bj(a);N[d+4>>2]=a;if(a){break a}_a(d)}d=0}return d|0}function Jk(a,b){var c=0,d=0,e=0,f=0,g=0;g=1;d=P[b+12>>1];f=N[a+8>>2];a:{if(d&f&14){break a}b:{if(!(d&8)){break b}if(f&16){d=275552;c=N[N[a+4>>2]+104>>2];c:{if((O[c|0]|O[c+1|0]<<8)!=256){break c}e=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<65538){break c}e=O[c+12|0]|O[c+13|0]<<8;if(!e){break c}d=c+((e<<8|e>>>8)&65535)|0}if((O[d|0]|O[d+1|0]<<8)!=256){break a}c=275552;f=f>>>16|0;e=O[d+2|0]|O[d+3|0]<<8;if(f>>>0<((e<<8|e>>>8)&65535)>>>0){c=((f<<2)+d|0)+4|0}f=N[b>>2];c=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+d|0}else{c=275552}if((vb(c,f)|0)==-1){break a}d=P[b+12>>1];break b}c=f&65280;if(!c){break b}if((c|0)!=(d&65280)){break a}}g=0;b=P[b+16>>1];if(d&16|(b&96)!=32|!O[a+16|0]&(b&543)==513){break a}g=(b&287)!=257?2:O[a+17|0]<<1}return g}function Zr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;d=N[b>>2]+1|0;a:{if(d>>>0>65535){break a}a=N[a+16>>2];i=a+518|0;j=a+6|0;while(1){b:{e=d>>>0>255;c:{d:{e:{if(!e){c=(d<<1&510)+j|0;a=i;if(!(O[c|0]<<8|O[c+1|0])){break e}break d}a=(d>>>7&33554430)+j|0;a=O[a|0]<<8|O[a+1|0]&248;if(!a){break d}a=a+i|0}c=a;a=O[c+1|0]|O[c|0]<<8;g=O[c+3|0]|O[c+2|0]<<8;f=d&255;h=O[c+6|0];k=O[c+7|0];l=O[c+4|0];m=O[c+5|0];if(!e){e=256;if(f>>>0>=a+g>>>0){break c}}h=h<<8|k;if(!h){if((d|0)!=256){break d}break b}e=(d&-256)+(a>>>0>>0?f:a)|0;a=f-a|0;a=a>>>0<=f>>>0?a:0;if(g>>>0>a>>>0){f=l<<8|m;d=c+6+(h+(a<<1))|0;while(1){c=O[d+1|0]|O[d|0]<<8;if(c){c=c+f&65535;if(c){break a}}d=d+2|0;e=e+1|0;a=a+1|0;if(g>>>0>a>>>0){continue}break}}d=e-((g|0)!=0)|0}e=d>>>0<256?d+1|0:(d&-256)+256|0}d=e;if(d>>>0<65536){continue}}break}e=0;c=0}N[b>>2]=e;return c|0}function Sc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{d=N[a+68>>2];i=c>>>0>d>>>0?d:c;j=i-b|0;if(j>>>0<2){break a}g=N[a+144>>2]|32;N[a+144>>2]=g;if(b>>>0>=i>>>0){break a}h=N[a+80>>2];c=-1;d=b;l=(d^-1)+i|0;if(l>>>0>=3){k=j&-4;while(1){e=T(d,20)+h|0;f=N[e+8>>2];c=c>>>0>>0?c:f;f=N[e+28>>2];c=c>>>0>>0?c:f;f=N[e+48>>2];c=c>>>0>>0?c:f;e=N[e+68>>2];c=c>>>0>>0?c:e;d=d+4|0;m=m+4|0;if((k|0)!=(m|0)){continue}break}}k=j&3;if(k){e=0;while(1){f=N[(T(d,20)+h|0)+8>>2];c=c>>>0>>0?c:f;d=d+1|0;e=e+1|0;if((k|0)!=(e|0)){continue}break}}if(j&1){d=T(b,20)+h|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}b=b+1|0}if(!l){break a}while(1){d=T(b,20)+h|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}d=T(b+1|0,20)+h|0;if(N[d+8>>2]!=(c|0)){g=g|32;N[a+144>>2]=g;N[d+4>>2]=N[d+4>>2]|3}b=b+2|0;if((i|0)!=(b|0)){continue}break}}}function Jd(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-48|0;La=h;N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+56>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+36>>2]}else{e=0}a:{if(Qa[f|0](a,g,b,c,d,e)|0){break a}N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+60>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+40>>2]}else{e=0}if(!(Qa[f|0](a,g,b,c,d,e)|0)){break a}e=N[a+96>>2];f=N[e+40>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}f=Qa[f|0](a,g,b,e)|0;b=h;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;e=N[a+96>>2];g=N[e+20>>2];f=(f|0)/-2|0;j=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e>>2]}else{e=0}b:{if(Qa[g|0](a,j,b,e)|0){a=N[h>>2];break b}i=+N[a+32>>2]*.8;if(V(i)<2147483648){a=~~i;break b}a=-2147483648}N[c>>2]=f+N[c>>2];N[d>>2]=N[d>>2]-a}La=h+48|0}function rq(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;h=La-48|0;La=h;N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+60>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+40>>2]}else{e=0}a:{if(Qa[f|0](a,g,b,c,d,e)|0){break a}N[d>>2]=0;N[c>>2]=0;e=N[a+96>>2];f=N[e+56>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+36>>2]}else{e=0}if(!(Qa[f|0](a,g,b,c,d,e)|0)){break a}e=N[a+96>>2];f=N[e+40>>2];g=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}f=Qa[f|0](a,g,b,e)|0;b=h;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;e=N[a+96>>2];g=N[e+20>>2];f=(f|0)/2|0;j=N[a+100>>2];e=N[e+12>>2];if(e){e=N[e>>2]}else{e=0}b:{if(Qa[g|0](a,j,b,e)|0){a=N[h>>2];break b}i=+N[a+32>>2]*.8;if(V(i)<2147483648){a=~~i;break b}a=-2147483648}N[c>>2]=f+N[c>>2];N[d>>2]=a+N[d>>2]}La=h+48|0}function Ql(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;L[e+14|0]=0;c=N[a+8>>2];a:{b:{d=N[a+20>>2];c:{if(d){if((Qa[d|0](a,c,e+14|0,1)|0)!=1){break b}c=N[a+8>>2];d=e+14|0;break c}if(Q[a+4>>2]<=c>>>0){break b}d=N[a>>2]+c|0}f=L[d|0];c=c+1|0;N[a+8>>2]=c;if((f|0)==-128){c=8;break a}g=b;b=f&127;d:{if((f|0)>=0){break d}N[e+8>>2]=0;L[e+15|0]=0;d=N[a+20>>2];e:{if(d){if((Qa[d|0](a,c,e+15|0,1)|0)!=1){break b}c=N[a+8>>2];d=e+15|0;break e}if(Q[a+4>>2]<=c>>>0){break b}d=N[a>>2]+c|0}f=L[d|0];N[a+8>>2]=c+1;d=f&127|b<<7;b=d;if((f|0)>=0){break d}f=Pd(a,e+8|0);c=N[e+8>>2];if(c){break a}d=f&127|d<<7;b=d;if((f|0)>=0){break d}f=Pd(a,e+8|0);c=N[e+8>>2];if(c){break a}d=f&127|d<<7;b=d;if((f|0)>=0){break d}a=Pd(a,e+8|0);c=N[e+8>>2];if(c){break a}if(d>>>0>33554431){c=8;break a}c=8;if((a|0)<0){break a}b=a&127|d<<7}N[g>>2]=b;c=0;break a}c=85}La=e+16|0;return c}function Qg(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=N[a+12>>2];if(!(b&1)){return 0}c=b&-2;b=c+8|0;b=b?32-W(b)|0:0;e=12<>2]=c;return 0}if(b>>>0<=29){c=e-12|0;C(d,0,(c-((c>>>0)%12|0)|0)+12|0)}N[a+12>>2]=1;N[a+16>>2]=0;e=N[a+28>>2];N[a+28>>2]=d;d=N[a+20>>2];N[a+20>>2]=-1<>2]=N[(b>>>0>31?265820:(b<<2)+265696|0)>>2];b=d+1|0;if(b>>>0>=2){g=b>>>0<=1?1:b;d=0;while(1){c=e+T(d,12)|0;b=N[c+4>>2];a:{if(!(L[a+12|0]&1)|(b&-1073741824)!=1073741824){break a}f=N[a+16>>2];if(Q[a+20>>2]<=(f>>>1|0)+f>>>0){if(!Qg(a)){break a}}f=b&1073741823;b=Bf(a,N[c>>2],f);b:{if(!(O[b+7|0]&64)){break b}N[a+16>>2]=N[a+16>>2]-1;if(N[b+4>>2]<0){break b}N[a+12>>2]=N[a+12>>2]-2}N[b>>2]=N[c>>2];c=N[c+8>>2];N[b+4>>2]=f|1073741824;N[b+8>>2]=c;N[a+16>>2]=N[a+16>>2]+1;N[a+12>>2]=N[a+12>>2]+2}d=d+1|0;if((g|0)!=(d|0)){continue}break}}_a(e);return 1}function Jh(a,b,c){a:{switch(c-1|0){case 0:N[b>>2]=N[a+4>>2];return;case 1:N[b>>2]=N[a+4>>2]+N[a+12>>2];N[b+4>>2]=N[a+8>>2]+N[a+12>>2];return;case 2:N[b>>2]=N[a+4>>2]+(N[a+12>>2]+(N[a+20>>2]+N[a+28>>2]|0)|0);N[b+4>>2]=N[a+8>>2]+(N[a+12>>2]+(N[a+24>>2]+N[a+28>>2]|0)|0);N[b+8>>2]=N[a+16>>2]+(N[a+20>>2]+(N[a+24>>2]+N[a+28>>2]|0)|0);return;default:break a}}N[b>>2]=N[a+4>>2]+(N[a+12>>2]+(N[a+20>>2]+(N[a+28>>2]+(N[a+36>>2]+(N[a+44>>2]+(N[a+52>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+4>>2]=N[a+8>>2]+(N[a+12>>2]+(N[a+24>>2]+(N[a+28>>2]+(N[a+40>>2]+(N[a+44>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+8>>2]=N[a+16>>2]+(N[a+20>>2]+(N[a+24>>2]+(N[a+28>>2]+(N[a+48>>2]+(N[a+52>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0);N[b+12>>2]=N[a+32>>2]+(N[a+36>>2]+(N[a+40>>2]+(N[a+44>>2]+(N[a+48>>2]+(N[a+52>>2]+(N[a+56>>2]+N[a+60>>2]|0)|0)|0)|0)|0)|0)}function Oj(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;g=La-32|0;La=g;d=O[a|0]|O[a+1|0]<<8;a:{if(d){j=(d<<8|d>>>8)&65535;i=a+2|0;while(1){l=N[c+16>>2];m=N[c+4>>2];d=O[i|0]|O[i+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}f=O[d|0]|O[d+1|0]<<8;e=(((f<<8|f>>>8)&65535)<<1)+d|0;d=O[e+2|0]|O[e+3|0]<<8;h=(d<<8|d>>>8)&65535;d=(e+2|0)+(d?h<<1:2)|0;b:{if(N[b+12>>2]!=(h|0)|(O[b+16|0]?f|(O[d|0]|O[d+1|0]<<8):0)){break b}if(h>>>0<2){f=1;break a}N[g+12>>2]=N[N[b+8>>2]+4>>2];f=1;d=1;k=e+4|0;e=O[k|0]|O[k+1|0]<<8;if(!(Qa[m|0](g+12|0,(e<<8|e>>>8)&65535,l)|0)){break b}while(1){e=d+1|0;if((e|0)==(h|0)){break a}N[g+12>>2]=N[N[b+8>>2]+(e<<2)>>2];n=d<<1;d=e;e=k+n|0;e=O[e|0]|O[e+1|0]<<8;if(Qa[m|0](g+12|0,(e<<8|e>>>8)&65535,l)|0){continue}break}if(d>>>0>=h>>>0){break a}}i=i+2|0;j=j-1|0;if(j){continue}break}}f=0}La=g+32|0;return f}function Nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=O[a+2|0]|O[a+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+a|0}else{c=275552}f=N[b+96>>2];c=vb(c,N[N[f+80>>2]+T(N[f+64>>2],20)>>2]);a:{if((c|0)==-1){break a}f=275552;d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}a=O[f|0]|O[f+1|0]<<8;if(!a){break a}g=(a<<8|a>>>8)&65535;c=f+2|0;while(1){a=O[c|0]|O[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+f|0}else{a=275552}d=O[a|0]|O[a+1|0]<<8;h=(d<<8|d>>>8)&65535;i=(h<<1)+a|0;d=i+2|0;e=O[d|0]|O[d+1|0]<<8;j=(e<<8|e>>>8)&65535;d=(e?j<<1:2)+d|0;e=O[d|0]|O[d+1|0]<<8;k=(e<<8|e>>>8)&65535;e=(k<<1)+d|0;l=O[e+2|0]|O[e+3|0]<<8;e=Mf(b,h,a+2|0,j,i+4|0,k,d+2|0,(l<<8|l>>>8)&65535,e+4|0,238152);if(e){break a}c=c+2|0;g=g-1|0;if(g){continue}break}}return e|0}function qj(a){var b=0,c=0;c=3584;a:{b:{c:{switch(a>>>12|0){case 0:if((a|0)==160){c=1034;break a}b=a-40|0;if(b>>>0<24){break b}if(a-176>>>0<=39){b=a-152|0;break b}if(a-2304>>>0>1151){break a}b=a-2240|0;break b;case 1:if(a-4096>>>0<=159){b=a-2880|0;break b}if(a-6016>>>0<=111){b=a-4640|0;break b}if(a-7376>>>0>47){break a}b=a-5888|0;break b;case 2:if((a|0)==9676){c=1035;break a}if(a-8200>>>0<=31){b=a-6664|0;break b}if(a-8304>>>0<=23){b=a-6736|0;break b}if((a&-8)!=9720){break a}b=a-8128|0;break b;case 10:b=a&-32;if((b|0)!=43616){if((b|0)!=43488){if((b|0)!=43232){break a}b=a-41632|0;break b}b=a-41856|0;break b}b=a-41952|0;break b;case 15:if((a&-16)!=65024){break a}b=a-63328|0;break b;case 17:break c;default:break a}}b=a&-8;if((b|0)!=70456){if((b|0)!=70400){break a}b=a-68688|0;break b}b=a-68736|0}c=P[(b<<1)+253616>>1]}return c}function mh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{b:{if((c|0)<0){break b}e=c<<1;if(e){if(Q[b+4>>2]>a>>>0){break b}g=N[b+8>>2];if(g>>>0>>0|e>>>0>g-a>>>0){break b}e=N[b+12>>2]-e|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!c){return 1}j=N[b+4>>2];while(1){e=(i<<1)+a|0;if(e>>>0>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-e>>>0<2){break a}f=N[b+12>>2];h=f-2|0;N[b+12>>2]=h;if((h|0)<=0){break a}e=O[e|0]|O[e+1|0]<<8;e=((e<<8|e>>>8)&65535)+d|0;if(e>>>0>>0|e>>>0>g>>>0|g-e>>>0<4){break a}h=f-6|0;N[b+12>>2]=h;if((h|0)<=0){break a}f=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>1073741823){break a}c:{f=f<<2;if(!f){break c}e=e+4|0;if(e>>>0>g>>>0|f>>>0>g-e>>>0){break a}e=h-f|0;N[b+12>>2]=e;if((e|0)>0){break c}break a}f=1;i=i+1|0;if((i|0)!=(c|0)){continue}break}}return f}return 0}function bi(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=hd(g,c,18461);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=ef(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Rd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function ai(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=hd(g,c,24775);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=ef(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Rd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function Xi(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=N[b+4>>2];a:{if(i>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0){break a}c=f-a|0;if(c>>>0<4){break a}d=N[b+12>>2];e=d-4|0;N[b+12>>2]=e;if((O[a|0]|O[a+1|0]<<8)!=256|(e|0)<=0|c>>>0<16){break a}d=d-20|0;N[b+12>>2]=d;if((O[a+10|0]|O[a+11|0]<<8)!=5120|(d|0)<=0){break a}c=O[a+14|0]|O[a+15|0]<<8;j=(c<<8|c>>>8)&65535;h=O[a+8|0]|O[a+9|0]<<8;g=(h<<8|h>>>8)&65535;if(j>>>0<(g<<2)+4>>>0){break a}e=O[a+4|0]|O[a+5|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=275552}g=T(g,20);if(h){if(c>>>0>>0|c>>>0>f>>>0|g>>>0>f-c>>>0){break a}d=d-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}}c=O[a+12|0]|O[a+13|0]<<8;h=(c<<8|c>>>8)&65535;a=c?g+(e?((e<<8|e>>>8)&65535)+a|0:275552)|0:0;c=T(h,j);if(!c){return 1}if(a>>>0>>0|a>>>0>f>>>0|c>>>0>f-a>>>0){break a}a=d-c|0;N[b+12>>2]=a;k=(a|0)>0}return k}function $h(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;g=N[a>>2];f=hd(g,c,22033);if(!f){return 64}a:{b=N[a>>2];a=Qa[N[b+4>>2]](b,40)|0;if(!a){c=64;break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;L[a+4|0]=0;L[a+5|0]=0;L[a+6|0]=0;L[a+7|0]=0;L[a+32|0]=0;L[a+33|0]=0;L[a+34|0]=0;L[a+35|0]=0;L[a+36|0]=0;L[a+37|0]=0;L[a+38|0]=0;L[a+39|0]=0;L[a+24|0]=0;L[a+25|0]=0;L[a+26|0]=0;L[a+27|0]=0;L[a+28|0]=0;L[a+29|0]=0;L[a+30|0]=0;L[a+31|0]=0;L[a+16|0]=0;L[a+17|0]=0;L[a+18|0]=0;L[a+19|0]=0;L[a+20|0]=0;L[a+21|0]=0;L[a+22|0]=0;L[a+23|0]=0;L[a+8|0]=0;L[a+9|0]=0;L[a+10|0]=0;L[a+11|0]=0;L[a+12|0]=0;L[a+13|0]=0;L[a+14|0]=0;L[a+15|0]=0;c=ef(a,f);if(c){Qa[N[b+8>>2]](b,a);break a}N[a+28>>2]=b;c=Rd(a,333319,e);b=N[a+28>>2];e=N[a+24>>2];if(e){Qa[e|0](a)}Qa[N[b+8>>2]](b,a);if(c){break a}N[d>>2]=f;return 0}Qa[N[g+8>>2]](g,f);return c|0}function Lb(a,b){var c=0,d=0,e=0,f=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0>>0|d-a>>>0<2){break a}e=N[b+12>>2];f=e-2|0;N[b+12>>2]=f;c=1;if((f|0)<=0){break a}b:{c:{d:{e:{f=O[a|0]|O[a+1|0]<<8;switch(((f<<8|f>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=((c<<8|c>>>8)&65535)<<1;if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)>0){break c}break b}c=a+2|0;if(c>>>0>d>>>0|d-c>>>0<2){break a}e=e-4|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){break c}a=a+4|0;if(a>>>0>d>>>0){break a}d=d-a|0;a=T((c<<8|c>>>8)&65535,6);if(d>>>0>>0){break a}a=e-a|0;N[b+12>>2]=a;c=0;if((a|0)<=0){break b}}c=1}return c}return 0}function TA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;L[a+68|0]=1;N[a+64>>2]=0;N[a+8>>2]=d;N[a+4>>2]=b;N[a>>2]=N[b+100>>2];a:{if(!d){break a}b=N[N[d+156>>2]>>2];N[a+12>>2]=b;N[a+20>>2]=b+56;N[a+16>>2]=b+20;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;g=N[b+32>>2];f=b- -64|0;N[f>>2]=N[b+28>>2];N[f+4>>2]=g;N[b+88>>2]=N[b+52>>2];f=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=f;f=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=f;f=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=f;b=N[N[c+40>>2]>>2];N[a+72>>2]=0;N[a+76>>2]=b;if(!e){break a}N[a+72>>2]=N[N[d+156>>2]+36>>2]}N[a+24>>2]=0;N[a+28>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;b=N[73541];N[a+80>>2]=N[73540];N[a+84>>2]=b;b=N[73543];N[a+88>>2]=N[73542];N[a+92>>2]=b;b=N[73545];N[a+96>>2]=N[73544];N[a+100>>2]=b;b=N[73547];N[a+104>>2]=N[73546];N[a+108>>2]=b}function lC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=La-16|0;La=e;d=N[a+16>>2];f=N[a+12>>2];a:{b:{if(!cb(b,12311)){b=N[c>>2];if(!b){d=35;break a}d=N[b+116>>2];N[e+8>>2]=d;if(!d){d=Dg(b,e+8|0,a);if(d){break a}d=N[e+8>>2];N[b+116>>2]=d;N[b+120>>2]=311}N[c+4>>2]=N[d+8>>2];break b}if(!cb(b,8894)){N[c>>2]=N[N[(f<<2)+288960>>2]+8>>2];break b}if(!cb(b,8879)){N[c>>2]=d;break b}if(!cb(b,9447)){b=N[c>>2];if(!b){d=35;break a}d=N[b+116>>2];N[e+12>>2]=d;if(!d){d=Dg(b,e+12|0,a);if(d){break a}d=N[e+12>>2];N[b+116>>2]=d;N[b+120>>2]=311}N[c+4>>2]=N[d+20>>2];break b}if(!cb(b,10437)){N[c>>2]=N[a+24>>2];N[c+4>>2]=N[a+28>>2];N[c+8>>2]=N[a+32>>2];N[c+12>>2]=N[a+36>>2];N[c+16>>2]=N[a+40>>2];N[c+20>>2]=N[a+44>>2];N[c+24>>2]=N[a+48>>2];N[c+28>>2]=N[a+52>>2];break b}d=12;if(cb(b,14683)){break a}L[c|0]=O[a+20|0]}d=0}La=e+16|0;return d|0}function GC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=U(0),g=0,h=U(0),i=U(0),j=U(0),k=U(0),l=U(0),m=U(0),n=U(0);e=c+16|0;g=N[c+12>>2];d=N[c+8>>2];h=U(N[b+4>>2]);f=U(N[b>>2]);j=U(N[a+4>>2]);k=U(N[a>>2]);a:{if(O[c+4|0]){if(!N[e>>2]){b=N[d+12>>2];l=R[c+28>>2];i=R[c+32>>2];a=N[d+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[b|0](d,g,e,l,i,a);N[c+16>>2]=1;a=N[c+32>>2];N[c+20>>2]=N[c+28>>2];N[c+24>>2]=a}b=N[d+20>>2];a=N[d+32>>2];if(!a){Qa[b|0](d,g,e,k,j,f,h,0);break a}Qa[b|0](d,g,e,k,j,f,h,N[a+8>>2]);break a}m=R[c>>2];n=U(h*m);if(!N[c+16>>2]){b=N[d+12>>2];l=R[c+28>>2];i=R[c+32>>2];a=N[d+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[b|0](d,g,e,l,i,a);N[c+16>>2]=1;a=N[c+32>>2];N[c+20>>2]=N[c+28>>2];N[c+24>>2]=a}b=N[d+20>>2];i=U(U(j*m)+k);f=U(n+f);a=N[d+32>>2];if(a){a=N[a+8>>2]}else{a=0}Qa[b|0](d,g,e,i,j,f,h,a)}R[c+32>>2]=h;R[c+28>>2]=f;return 0}function ms(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=N[b>>2];if((d|0)==-1){return 0}e=N[a+16>>2];c=O[e+8204|0]|O[e+8205|0]<<8|(O[e+8206|0]<<16|O[e+8207|0]<<24);f=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{b:{if(!f){break b}k=N[a>>2];a=d+1|0;d=e+8208|0;while(1){e=O[d|0]|O[d+1|0]<<8|(O[d+2|0]<<16|O[d+3|0]<<24);h=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);a=a>>>0>h>>>0?a:h;c=O[d+5|0]<<16|O[d+4|0]<<24|O[d+6|0]<<8;g=O[d+7|0];i=c|g;c:{if(a>>>0>i>>>0){break c}e=O[d+8|0]|O[d+9|0]<<8|(O[d+10|0]<<16|O[d+11|0]<<24);j=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=g+(c|1)|0;d:{while(1){c=a-h|0;if((c^-1)>>>0>>0){break c}c=c+j|0;if(c){break d}c=a+1|0;if(!c){break b}g=a>>>0>>0;a=c;if(g){continue}break}a=e;break c}if(Q[k+16>>2]>c>>>0){break a}}d=d+12|0;f=f-1|0;if(f){continue}break}}c=0;a=0}N[b>>2]=a;return c|0}function Jj(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=O[b+2|0]|O[b+3|0]<<8;if(f){c=((f<<8|f>>>8)&65535)+b|0}else{c=275552}f=N[a+96>>2];c=vb(c,N[N[f+80>>2]+T(N[f+64>>2],20)>>2]);a:{if((c|0)==-1){break a}f=275552;d=O[b+4|0]|O[b+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+b|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+b|0}b=O[f|0]|O[f+1|0]<<8;if(!b){break a}g=(b<<8|b>>>8)&65535;c=f+2|0;while(1){b=O[c|0]|O[c+1|0]<<8;if(b){b=((b<<8|b>>>8)&65535)+f|0}else{b=275552}d=O[b|0]|O[b+1|0]<<8;h=(d<<8|d>>>8)&65535;i=(h<<1)+b|0;d=i+2|0;e=O[d|0]|O[d+1|0]<<8;j=(e<<8|e>>>8)&65535;d=(e?j<<1:2)+d|0;e=O[d|0]|O[d+1|0]<<8;k=(e<<8|e>>>8)&65535;e=(k<<1)+d|0;l=O[e+2|0]|O[e+3|0]<<8;e=Mf(a,h,b+2|0,j,i+4|0,k,d+2|0,(l<<8|l>>>8)&65535,e+4|0,238152);if(e){break a}c=c+2|0;g=g-1|0;if(g){continue}break}}return e}function FB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;a:{h=N[a+4>>2];k=0-h|0;g=k&(c+h|0)-1;i=d&k;b:{if((g|0)<=(i|0)){d=N[a>>2];c=g;break b}if((h+i|0)!=(g|0)){break a}j=i;c:{d:{e:{l=P[e+12>>1];m=l&7;switch(m|0){case 0:break c;case 1:case 5:break d;case 4:break e;default:break a}}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k;break c}if(!(N[e+28>>2]!=(f|0)|N[e+16>>2]>0)&(!(l&16)|N[a+8>>2]>(d-c|0))|!(N[f+28>>2]!=(e|0)|N[e+20>>2]!=(b|0))&(!(l&32)|N[a+8>>2]>(d-c|0))){break a}if((m|0)==1){break c}j=(c+d|0)+((T(h,63)|0)/64|0)>>1&k}d=N[a>>2];c=g;c=(j|0)>=0?P[a+50>>1]>j>>>d>>>0?j:i:c;b=((g|0)==(c|0)?i:g)>>d;if((b|0)<0|b>>>0>=P[a+50>>1]){break b}if(O[N[a+56>>2]+(b>>>3|0)|0]<<(b&7)&128){break a}}b=c>>d;if((b|0)<0|b>>>0>=P[a+50>>1]){break a}a=N[a+56>>2]+(b>>>3&65535)|0;L[a|0]=O[a|0]|128>>>(b&7)}}function ap(a,b){var c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];N[d+12>>2]=c;a:{b:{if(b>>>0<=c>>>0){break b}while(1){e=0;c:{d:{e:{f:{g:{h:{g=O[c|0];switch(g-37|0){case 1:case 2:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:break c;case 0:break e;case 23:break f;case 3:break g;default:break h}}i:{switch(g-123|0){case 0:f=f+1|0;break d;case 2:break i;default:break c}}f=f-1|0;if(f){break c}c=c+1|0;break b}e=Mi(d+12|0,b);break c}e=$o(d+12|0,b);break c}e=37;j:{while(1){k:{switch((e&255)-10|0){case 0:case 3:break j;default:break k}}c=c+1|0;if((c|0)!=(b|0)){e=O[c|0];continue}break}c=b}N[d+12>>2]=c}e=0}c=N[d+12>>2]+1|0;N[d+12>>2]=c;if(!e&b>>>0>c>>>0){continue}break}b=3;if(f){break a}}b=e}N[a>>2]=c;La=d+16|0;return b}function kr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=O[a+15|0];a:{if((d|0)!=255){break a}f=N[a>>2];d=0;b:{c:{d:{e:{e=O[c|0]|O[c+1|0]<<8;switch(((e<<8|e>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break b}}d=f;f=O[c+2|0]|O[c+3|0]<<8;f=d-((f<<8|f>>>8)&65535)|0;e=O[c+4|0]|O[c+5|0]<<8;d=275552;if(f>>>0>=((e<<8|e>>>8)&65535)>>>0){break c}d=((f<<1)+c|0)+6|0;break c}h=241305;d=O[c+2|0]|O[c+3|0]<<8;f:{if(!d){break f}i=c+4|0;d=((d<<8|d>>>8)&65535)-1|0;c=0;while(1){e=c+d>>>1|0;g=T(e,6)+i|0;j=O[g|0]|O[g+1|0]<<8;g:{if(f>>>0>=((j<<8|j>>>8)&65535)>>>0){c=O[g+2|0]|O[g+3|0]<<8;if(f>>>0>((c<<8|c>>>8)&65535)>>>0){c=e+1|0;break g}h=T(e,6)+i|0;break f}d=e-1|0}if((c|0)<=(d|0)){continue}break}}d=h+4|0}c=O[d|0]|O[d+1|0]<<8;d=(c<<8|c>>>8)&65535;if(d>>>0>254){break a}}L[a+15|0]=d}return(b|0)==(d|0)|0}function xe(a){var b=0,c=0,d=0,e=0,f=0,g=0;f=N[a>>2];c=N[f+24>>2];a:{if((c|0)<=0){break a}while(1){b=N[f+32>>2]+T(e,56)|0;if(N[b+48>>2]==(a|0)){Co(b);d=N[N[b+48>>2]+16>>2];if(d){Qa[d|0](N[b+52>>2])}N[b+48>>2]=0;c=N[f+24>>2]}e=e+1|0;if((e|0)<(c|0)){continue}break}e=0;if((c|0)<=0){break a}while(1){b=N[f+32>>2];d=b+T(e,56)|0;if(N[d+48>>2]){if((e|0)!=(g|0)){c=T(g,56)+b|0;b=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=b;b=N[d+52>>2];N[c+48>>2]=N[d+48>>2];N[c+52>>2]=b;b=N[d+44>>2];N[c+40>>2]=N[d+40>>2];N[c+44>>2]=b;b=N[d+36>>2];N[c+32>>2]=N[d+32>>2];N[c+36>>2]=b;b=N[d+28>>2];N[c+24>>2]=N[d+24>>2];N[c+28>>2]=b;b=N[d+20>>2];N[c+16>>2]=N[d+16>>2];N[c+20>>2]=b;b=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=b;c=N[f+24>>2]}g=g+1|0}e=e+1|0;if((e|0)<(c|0)){continue}break}}N[f+24>>2]=g;d=N[a+20>>2];if(d){Qa[d|0](N[a+40>>2])}_a(a)}function UA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;N[a>>2]=0;N[a+4>>2]=0;N[a+56>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=N[b>>2];a:{if(c){N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];d=b+68|0;f=b+48|0;g=b+40|0;h=b+32|0;i=b+28|0;j=b+24|0;k=b+70|0;e=b+69|0;break a}N[a+4>>2]=N[b+4>>2];N[a+8>>2]=N[b+8>>2];d=b+65|0;f=b+48|0;g=b+40|0;h=b+32|0;i=b+28|0;j=b+24|0;l=O[b+64|0];k=b+67|0;e=b+66|0}m=N[b+16>>2];n=N[b+12>>2];b=N[b+20>>2];N[a+40>>2]=f;N[a+36>>2]=g;N[a+32>>2]=h;N[a+28>>2]=i;N[a+24>>2]=j;N[a+20>>2]=b;N[a+12>>2]=n;N[a+16>>2]=m;b=O[d|0];d=O[k|0];L[a+46|0]=O[e|0];L[a+47|0]=d;e=N[73539];N[a+52>>2]=N[73538];N[a+56>>2]=e;L[a+48|0]=c;L[a+44|0]=l;L[a+45|0]=b}function vi(a,b){var 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;a:{l=N[a+20>>2];if(!l){break a}c=N[b+20>>2];if(!c){break a}d=N[b+4>>2];f=d+N[b+12>>2]|0;h=N[a+4>>2];g=h+N[a+12>>2]|0;j=(d|0)>(h|0)?d:h;n=((f|0)<(g|0)?f:g)-j|0;if((n|0)<=0){break a}k=N[b+16>>2];f=N[b>>2];e=k+f|0;o=N[a+16>>2];g=N[a>>2];i=o+g|0;m=(e|0)<(i|0)?e:i;e=(f|0)>(g|0)?f:g;i=m-e|0;if((i|0)<=0){break a}h=l+T(j-h|0,o)+(e-g)|0;f=c+T(j-d|0,k)+(e-f)|0;j=i&-2;i=i&1;l=(e+1|0)==(m|0);g=0;while(1){d=0;if(!l){while(1){c=d+f|0;e=O[c|0];m=c;c=O[d+h|0];L[m|0]=e>>>0>c>>>0?e-(c>>>1|0)|0:0;c=d|1;k=c+f|0;e=O[k|0];c=O[c+h|0];L[k|0]=e>>>0>c>>>0?e-(c>>>1|0)|0:0;d=d+2|0;if((j|0)!=(d|0)){continue}break}}if(i){c=d+f|0;e=O[c|0];d=O[d+h|0];L[c|0]=e>>>0>d>>>0?e-(d>>>1|0)|0:0}f=N[b+16>>2]+f|0;h=N[a+16>>2]+h|0;g=g+1|0;if((n|0)!=(g|0)){continue}break}}}function XC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[b+12>>2];a:{b:{c:{if(!f){break c}e=N[f+92>>2];if(!e){break c}e=Qa[N[N[e+12>>2]+12>>2]](e,c)|0;if(e>>>0>=Q[f+16>>2]){break c}if(e){break b}}f=0;if(!O[b+4|0]){break a}a=Tc(N[a+24>>2]+72|0);a=(O[a|0]|O[a+1|0]<<8?0:(O[a+62|0]|O[a+63|0]<<8)<<8)&65280;d:{if((a|0)!=45824){if((a|0)!=45568){if(c>>>0>255|a){break a}a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c+61440|0)|0;if(e>>>0>2]){break d}break a}c=Pp(c);a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c)|0;if(e>>>0>2]){break d}break a}c=Op(c);a=N[b+12>>2];if(!a){break a}b=N[a+92>>2];if(!b){break a}e=Qa[N[N[b+12>>2]+12>>2]](b,c)|0;if(e>>>0>=Q[a+16>>2]){break a}}if(!e){break a}}N[d>>2]=e;f=1}return f|0}function eB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=6;if(!((b|0)<0|N[a+16>>2]<=(b|0))){a:{b:{f=N[a+4>>2]+d|0;h=N[a+8>>2];c:{if(f>>>0<=h>>>0){break c}i=N[a>>2];k=c-i|0;e=h;while(1){e=((e>>>2|0)+e|0)+1024&-1024;if(f>>>0>e>>>0){continue}break}j=N[a+32>>2];d:{if((e|0)<=0){f=6;if(!e){break d}break a}g=Qa[N[j+4>>2]](j,e)|0;if(!g){break b}C(g,0,e)}N[a>>2]=g;if(i){F(g,i,N[a+8>>2]);g=N[a+16>>2];if((g|0)>0){m=N[a>>2]-i|0;f=N[a+24>>2];g=f+(g<<2)|0;while(1){l=N[f>>2];if(l){N[f>>2]=m+l}f=f+4|0;if(g>>>0>f>>>0){continue}break}}Qa[N[j+8>>2]](j,i)}N[a+8>>2]=e;e=h>>>0>k>>>0&(k|0)>=0;if(!e){break c}c=N[a>>2]+(e?k:-1)|0}b=b<<2;e=N[a>>2];h=N[a+4>>2];N[b+N[a+24>>2]>>2]=e?e+h|0:0;N[b+N[a+28>>2]>>2]=d;F(h+N[a>>2]|0,c,d);N[a+4>>2]=N[a+4>>2]+d;return 0}N[a>>2]=0;f=64}N[a>>2]=i}return f|0}function Fb(a,b,c){var d=0,e=0,f=0,g=0;a:{d=N[a+4>>2];if(d){g=N[b>>2];f=g>>31;b:{if((f^g)-f>>>0>268435455){break b}g=N[b+4>>2];f=g>>31;if((f^g)-f>>>0>268435455){break b}e=N[a>>2];c:{if(d>>>0>e>>>0){d=N[a+16>>2];break c}N[147316]=0;e=N[a+16>>2];d:{f=d<<1;if(f>>>0<=536870911){d=d<<4;d=$a(e,d>>>0<=1?1:d);if(d){break d}}N[147316]=48;N[a+16>>2]=e;return 0}N[147316]=0;N[a+4>>2]=f;N[a+16>>2]=d;e=N[a>>2]}e=(e<<3)+d|0;d=N[b+4>>2];N[e>>2]=N[b>>2];N[e+4>>2]=d;e=1;N[a>>2]=N[a>>2]+1;if(!c){break b}b=N[a+12>>2];if(!b){break a}e=N[a+8>>2];e:{if(b>>>0>e>>>0){d=N[a+20>>2];break e}e=0;N[147316]=0;d=N[a+20>>2];f=b<<1;b=$a(d,f>>>0<=1?1:f);N[147316]=b?0:48;d=b?b:d;N[a+20>>2]=d;if(!b){break b}N[a+12>>2]=f;e=N[a+8>>2]}L[d+e|0]=c;e=1;N[a+8>>2]=N[a+8>>2]+1}return e}ba(9920,18249,281,9160);B()}ba(10167,18249,303,9289);B()}function Cj(a){var b=0,c=0;a:{if(a>>>0<=65535){b:{c:{d:{e:{f:{g:{h:{i:{j:{b=a>>>8|0;switch(b|0){case 1:case 2:case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 25:case 26:case 27:case 28:case 29:case 30:case 31:break a;case 0:break i;case 32:break d;case 24:break e;case 23:break f;case 6:break g;case 3:break h;default:break j}}switch(b-254|0){case 1:break b;case 0:break c;default:break a}}return(a|0)==173}return(a|0)==847}return(a|0)==1564}return(a&-2)==6068}return a-6155>>>0<4}c=1;if(a-8203>>>0<5){break a}return(a&-16)==8288|a-8234>>>0<5}return(a|0)==65279|(a&-16)==65024}return a-65520>>>0<9}k:{b=(a>>>16|0)-1|0;if(b){if((b|0)==13){break k}else{break a}}return a-119155>>>0<8}c=(a&-4096)==917504}return c}function qd(a,b,c){var d=0,e=0,f=0,g=0,h=U(0),i=U(0),j=0,k=U(0),l=U(0),m=U(0);f=N[a+8>>2];if(f){c=S[f+8>>3]+c;b=S[f>>3]+b}e=N[a+4>>2];f=e+16|0;a=N[a>>2];i=U(R[a+48>>2]*U(c));h=U(R[a+44>>2]*U(b));j=N[e+12>>2];a=N[e+8>>2];a:{if(O[e+4|0]){if(!N[f>>2]){g=N[a+12>>2];k=R[e+28>>2];l=R[e+32>>2];d=N[a+32>>2];if(d){d=N[d>>2]}else{d=0}Qa[g|0](a,j,f,k,l,d);N[e+16>>2]=1;d=N[e+32>>2];N[e+20>>2]=N[e+28>>2];N[e+24>>2]=d}d=N[a+16>>2];g=N[a+32>>2];if(!g){Qa[d|0](a,j,f,h,i,0);break a}Qa[d|0](a,j,f,h,i,N[g+4>>2]);break a}k=U(i*R[e>>2]);if(!N[e+16>>2]){g=N[a+12>>2];l=R[e+28>>2];m=R[e+32>>2];d=N[a+32>>2];if(d){d=N[d>>2]}else{d=0}Qa[g|0](a,j,f,l,m,d);N[e+16>>2]=1;d=N[e+32>>2];N[e+20>>2]=N[e+28>>2];N[e+24>>2]=d}g=N[a+16>>2];h=U(k+h);d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,j,f,h,i,d)}R[e+32>>2]=i;R[e+28>>2]=h}function ft(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=N[a+872>>2];if(!i){return 0}f=N[e+8>>2];a:{b:{if(f){g=N[e>>2];b=N[e+4>>2];break b}f=0;N[e+4>>2]=0;g=P[i+2>>1];if(!g){break a}l=N[i+8>>2];c:{while(1){j=(g-f>>>1|0)+f|0;h=T(j,6)+l|0;k=O[h|0]<<8|O[h+1|0];d:{if(k>>>0>>0){f=j+1|0;break d}g=j;if(b>>>0>=k>>>0){break c}}if(f>>>0>>0){continue}break}return 0}f=0;b=O[h+4|0]|O[h+5|0]<<8;g=(b<<8|b>>>8)&65535;if(!g){break a}b=O[h+3|0];j=O[h+2|0];N[e>>2]=g;b=b|j<<8;if(Q[i+40>>2]>>0){break a}f=N[i+12>>2]+(b<<2)|0;N[e+8>>2]=f;b=0}if(b>>>0>=g>>>0){return 0}N[e+8>>2]=f+2;N[c>>2]=O[f+1|0]|O[f|0]<<8;N[e+8>>2]=f+4;b=O[f+3|0]|O[f+2|0]<<8;N[d>>2]=b;if(Q[c>>2]>=Q[a+16>>2]){return 0}if((b|0)!=65535){f=0;if(b>>>0>=P[a+660>>1]){break a}}f=1;N[e+4>>2]=N[e+4>>2]+1}return f|0}function lv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(N[c+76>>2]){break a}e=8;d=a+1|0;if(d>>>0>b>>>0){break a}a=O[a|0];f=a&15;g=a>>>4|0;a=f+g|0;if((a<<1)+d>>>0>b>>>0){break a}if(!a){N[c+76>>2]=0;N[c- -64>>2]=f<<2;return 0}b=N[c>>2];h=a<<2;b=Qa[N[b+4>>2]](b,h)|0;if(!b){return 64}e=0;C(b,0,h);N[c+76>>2]=b;N[c- -64>>2]=(f<<2)+b;c=a&3;if(c){f=f+g|0;while(1){g=O[d|0]|O[d+1|0]<<8;N[b>>2]=(g<<8|g>>>8)<<16>>16;b=b+4|0;d=d+2|0;e=e+1|0;if((c|0)!=(e|0)){continue}break}c=f-c|0}else{c=a}e=0;if(a>>>0<4){break a}while(1){a=O[d|0]|O[d+1|0]<<8;N[b>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+2|0]|O[d+3|0]<<8;N[b+4>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+4|0]|O[d+5|0]<<8;N[b+8>>2]=(a<<8|a>>>8)<<16>>16;a=O[d+6|0]|O[d+7|0]<<8;N[b+12>>2]=(a<<8|a>>>8)<<16>>16;b=b+16|0;d=d+8|0;c=c-4|0;if(c){continue}break}}return e|0}function cx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=La-272|0;La=d;Qa[N[b+60>>2]](b,d+80|0,16,d+76|0);f=N[d+76>>2];a:{if((f|0)<0){c=162;break a}c=3;if(f-17>>>0<4294967280){break a}i=N[a+532>>2];j=N[b+8>>2];k=N[b>>2];f=0;while(1){c=(d+80|0)+T(g,12)|0;N[b>>2]=N[c>>2];N[b+8>>2]=N[c+4>>2];Qa[N[b+60>>2]](b,d+16|0,4,d+12|0);e=N[d+12>>2];b:{c:{if(!g){if(e-5>>>0<4294967292){break c}c=$f(a,N[d+76>>2],e);if(c){break a}i=N[a+532>>2];c=N[d+12>>2];f=e;break b}c=f;if((e|0)==(c|0)){break b}}c=3;break a}if((c|0)>0){e=(g<<2)+i|0;c=0;while(1){h=(d+16|0)+T(c,12)|0;N[b>>2]=N[h>>2];N[b+8>>2]=N[h+4>>2];h=Qa[N[b+40>>2]](b,0)|0;N[N[e+24>>2]+(c<<2)>>2]=h;c=c+1|0;if((c|0)>2]){continue}break}}g=g+1|0;if((g|0)>2]){continue}break}N[b+8>>2]=j;N[b>>2]=k;c=0}N[b+12>>2]=c;La=d+272|0}function jb(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=2147483647;a:{if(!c){break a}b:{e=b>>31;f=(e^b)-e|0;e=a>>31;g=(e^a)-e|0;e=c>>31;e=(e^c)-e|0;if(f+g>>>0<=129894-(e>>>17|0)>>>0){f=T(f,g)+(e>>>1|0)|0;break b}h=f>>>16|0;d=g>>>16|0;j=T(h,g&65535)+T(d,f&65535)|0;d=(j>>>16|0)+T(d,h)|0;h=e>>>1|0;g=T(f,g);f=h+g|0;d=(d+(f>>>0>>0)|0)+(g>>>0>>0)|0;if(!d){break b}if(e>>>0<=d>>>0){break a}g=W(d);h=32-g|0;d=f>>>h|d<>>0)/(e>>>0)|0;d=d-T(e,i)|0;f=f<>>31;h=d>>>0>=e>>>0;d=d-(h?e:0)|0;i=h|i<<1;h=g^31;f=f<<1}if((g|0)==31){break a}while(1){d=d<<1|f>>>31;g=d>>>0>=e>>>0;d=f>>>30&1|d-(g?e:0)<<1;j=d>>>0>=e>>>0;d=d-(j?e:0)|0;i=j|(i<<2|g<<1);f=f<<2;h=h-2|0;if(h){continue}break}break a}i=(f>>>0)/(e>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-i|0:i}function Wg(a,b,c,d){var e=0,f=0,g=0,h=0,i=0;h=N[b+4>>2];if(h>>>0>a>>>0){return 0}f=N[b+8>>2];if(f>>>0>>0){return 0}if(f-a>>>0<2){return 0}i=N[b+12>>2];e=i-2|0;N[b+12>>2]=e;g=1;if((e|0)<=0){return 0}e=O[a|0]|O[a+1|0]<<8;a:{if(!e){break a}b:{c:{c=((e<<8|e>>>8)&65535)+c|0;if(c>>>0>>0|c>>>0>f>>>0|f-c>>>0<2){break c}d=N[d>>2];g=i-4|0;N[b+12>>2]=g;if((g|0)<=0){break c}e=O[c|0]|O[c+1|0]<<8;e=(e<<8|e>>>8)&65535;UE(e,0,d,0);if(Pa){break c}d=T(d,e);if((d|0)<0){break c}e=c+2|0;h=d<<1;if(h){if(e>>>0>f>>>0|h>>>0>f-e>>>0){break c}f=g-h|0;N[b+12>>2]=f;if((f|0)<=0){break c}}if(!d){break b}f=0;while(1){if(!If(e+(f<<1)|0,b,c)){break c}g=1;f=f+1|0;if((d|0)!=(f|0)){continue}break}break a}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;g=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0}g=1}return g}function lh(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=N[b+12>>2];d=e-12|0;N[b+12>>2]=d;if((O[a|0]|O[a+1|0]<<8)!=256|(d|0)<=0){break a}d=a+6|0;if(d>>>0>c>>>0|c-d>>>0<2){break a}c=e-14|0;N[b+12>>2]=c;if((c|0)<=0){break a}c=O[d|0]|O[d+1|0]<<8;b:{if(!c){break b}if(gl(((c<<8|c>>>8)&65535)+a|0,b,a)){break b}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;if(!O[b+24|0]){break a}L[d|0]=0;L[d+1|0]=0}d=a+8|0;if(d>>>0>2]){break a}c=N[b+8>>2];if(c>>>0>>0|c-d>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[d|0]|O[d+1|0]<<8;c:{if(!e){break c}if(gl(((e<<8|e>>>8)&65535)+a|0,b,a)){break c}a=N[b+28>>2];if(a>>>0>31){break a}N[b+28>>2]=a+1;c=0;if(!O[b+24|0]){break c}L[d|0]=0;L[d+1|0]=0;c=1}return c}return 0}function dp(a,b,c,d,e,f,g){var h=0,i=0,j=0;j=e-c|0;a:{if((e|0)<(f|0)|(j|0)<=0|(c|0)>(g|0)){break a}i=d-b|0;b:{if((c|0)<(f|0)){b=jb(i,f-c|0,j)+b|0;h=N[a>>2];f=f>>h;c=0;break b}h=N[a>>2];f=c>>h;c=N[a+4>>2]-1&c}d=0;if((e|0)<=(g|0)){g=e;d=N[a+4>>2]-1&e}e=g>>h;c:{if((c|0)>0){if((e|0)==(f|0)){break a}f=f+1|0;b=jb(i,N[a+4>>2]-c|0,j)+b|0;break c}if(!O[a+79|0]){break c}N[a+36>>2]=N[a+36>>2]-4}L[a+79|0]=!d;if(O[a+78|0]){N[N[a+80>>2]+20>>2]=f;L[a+78|0]=0}c=N[a+36>>2];g=e-f|0;e=g+1|0;if(Q[a+32>>2]<=c+(e<<2)>>>0){N[a+40>>2]=98;return 1}d=1;h=N[a+4>>2];d:{if((i|0)>0){f=di(h,i,j);break d}d=-1;i=0-i|0;f=0-di(h,i,j)|0}i=(T(h,i)|0)%(j|0)|0;if((g|0)>=0){g=0-j|0;while(1){N[c>>2]=b;g=g+i|0;h=(g|0)>=0;g=g-(h?j:0)|0;b=(b+f|0)+(h?d:0)|0;c=c+4|0;h=e>>>0>1;e=e-1|0;if(h){continue}break}}N[a+36>>2]=c}return 0}function Ed(a,b){var c=0,d=0,e=0,f=0,g=0;a:{if(Q[b+4>>2]>a>>>0){break a}d=N[b+8>>2];if(d>>>0<=a>>>0){break a}c=N[b+12>>2];e=c-1|0;N[b+12>>2]=e;f=1;if((e|0)<=0){break a}g=b;b:{c:{d:{switch(O[a|0]){case 0:if(d-a>>>0<4){break a}e=b;b=c-5|0;N[e+12>>2]=b;if((b|0)<=0){break a}c=O[a+2|0]|O[a+3|0]<<8;if(!c){break b}e=a+4|0;if(e>>>0>d>>>0){break a}f=0;a=T((O[a+1|0]>>>4&3)+1|0,(c<<8|c>>>8)&65535);if(a>>>0>d-e>>>0){break b}a=b-a|0;break c;case 1:break d;default:break b}}if(d-a>>>0<6){break a}c=c-7|0;N[b+12>>2]=c;if((c|0)<=0){break a}b=O[a+2|0]|O[a+3|0]<<8|(O[a+4|0]<<16|O[a+5|0]<<24);b=UE(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24),0,(O[a+1|0]>>>4&3)+1|0,0);if(Pa){break a}if(!b){return 1}a=a+6|0;if(a>>>0>d>>>0){break a}f=0;if(b>>>0>d-a>>>0){break b}a=c-b|0}N[g+12>>2]=a;f=(a|0)>0}return f}return 0}function Sm(a,b,c){var d=0,e=0,f=0,g=0;f=La-16|0;La=f;e=N[a+20>>2];a:{if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;b:{if(Q[a+4>>2]<2){break b}c:{d:{e:{d=N[a+20>>2];if(d){if((Qa[d|0](a,0,f+10|0,2)|0)!=2){break b}e=N[a+8>>2];d=f+10|0;break e}e=0;d=N[a>>2];if(d){break e}N[a+8>>2]=2;break d}g=O[d|0]|O[d+1|0]<<8;d=e+2|0;N[a+8>>2]=d;g=g<<8|g>>>8;if((g+32767&65535)>>>0>1){break d}if(Q[a+4>>2]<=e+5>>>0){break b}e=N[a+20>>2];if(e){if((Qa[e|0](a,d,f+12|0,4)|0)!=4){break b}d=N[a+8>>2]}N[a+8>>2]=d+4;if((g&65535)==32769){break c}}e=N[a+20>>2];if(e){d=85;if(Qa[e|0](a,0,0,0)|0){break a}}N[a+8>>2]=0}d=Bb(a,c);if(d){break a}b=(Mb(N[a+32>>2],b,c)|0)!=0;if(N[a+20>>2]){c=N[a>>2];if(c){d=N[a+28>>2];Qa[N[d+8>>2]](d,c)}N[a>>2]=0}d=b<<1;N[a+32>>2]=0;N[a+36>>2]=0;break a}d=85}La=f+16|0;return d}function ij(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=U(0),j=U(0),k=U(0),l=U(0);f=N[a+8>>2];if(f){c=S[f+8>>3]+c;b=S[f>>3]+b}e=N[a+4>>2];f=e+16|0;a=N[a>>2];l=U(R[a+48>>2]*U(c));k=U(R[a+44>>2]*U(b));h=N[e+12>>2];a=N[e+8>>2];a:{b:{if(O[e+4|0]){if(!N[f>>2]){break a}i=R[e+20>>2];j=R[e+24>>2];if(!(i==R[e+28>>2]&j==R[e+32>>2])){g=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,h,f,i,j,d)}d=N[a+28>>2];g=N[a+32>>2];if(!g){Qa[d|0](a,h,f,0);break b}Qa[d|0](a,h,f,N[g+16>>2]);break b}k=U(U(l*R[e>>2])+k);if(!N[e+16>>2]){break a}i=R[e+20>>2];j=R[e+24>>2];if(!(i==R[e+28>>2]&j==R[e+32>>2])){g=N[a+16>>2];d=N[a+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[g|0](a,h,f,i,j,d)}g=N[a+28>>2];d=N[a+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[g|0](a,h,f,d)}N[f>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0}R[e+32>>2]=l;R[e+28>>2]=k}function In(a,b,c,d){var e=0,f=0;if(!a){return 35}if(!d){return 6}f=N[a+16>>2];if(f>>>0<=b>>>0){return 16}e=N[N[N[a+96>>2]+12>>2]+84>>2];a:{b:{if(!(!e|!(c&3)&(c&983040)!=65536)){e=Qa[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=N[a+88>>2];if(!a){return 36}a=jb(N[d>>2],N[a+(c&16?20:16)>>2],64);break b}if((e&255)!=7){break a}f=N[a+16>>2]}if(b+1>>>0>f>>>0){return 16}e=16;if(b>>>0>=f>>>0){break a}e=N[N[N[a+96>>2]+12>>2]+84>>2];if(!(!e|!(c&3)&(c&983040)!=65536)){e=Qa[e|0](a,b,1,c,d)|0;if(!e){e=0;if(c&1){break a}a=N[a+88>>2];if(!a){return 36}a=jb(N[d>>2],N[a+(c&16?20:16)>>2],64);break b}if((e&255)!=7){break a}}e=7;if(c&536870912){break a}f=c&1?0:10;e=vc(a,b,c|256);if(!(c&16)){if(e){break a}a=N[N[a+84>>2]+64>>2]<>2]+68>>2]<>2]=a;e=0}return e}function fd(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(c-37>>>0<4294967261){break a}d=N[a>>2];if(d>>>0>=b>>>0){break a}b:{c:{g=O[d|0];switch(g-43|0){case 0:case 2:break c;default:break b}}d=d+1|0;if((d|0)==(b|0)){break a}k=(g|0)==45;switch(O[d|0]-43|0){case 0:case 2:break a;default:break b}}i=2147483647/(c>>>0)|0;d:{e:{if(b>>>0<=d>>>0){N[a>>2]=d;break e}l=T(c,i)^2147483647;f:{while(1){g=e;g:{e=O[d|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break f;default:break g}}if(e<<24>>24<0){break f}j=L[e+294800|0];if((j|0)<0|(c|0)<=(j|0)){break f}e=1;h=f;h:{if((f|0)>(i|0)){break h}if((f|0)==(i|0)){h=i;if((j|0)>(l|0)){break h}}e=g;h=j+T(c,f)|0}f=h;d=d+1|0;if((d|0)!=(b|0)){continue}break}g=e;d=b}N[a>>2]=d;a=2147483647;if(g&255){break d}}a=f}f=k?0-a|0:a}return f}function zr(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=N[b+56>>2];e=N[b+60>>2];f=N[b+48>>2];g=N[b+52>>2];h=N[b+40>>2];i=N[b+44>>2];j=N[b+32>>2];k=N[b+36>>2];l=N[b+24>>2];m=N[b+28>>2];n=N[b+16>>2];o=N[b+20>>2];p=N[b+8>>2];q=N[b+12>>2];r=N[b>>2];b=N[c+4>>2]&(N[b+4>>2]^-1);N[a>>2]=N[c>>2]&(r^-1);N[a+4>>2]=b;b=N[c+12>>2]&(q^-1);N[a+8>>2]=N[c+8>>2]&(p^-1);N[a+12>>2]=b;b=N[c+20>>2]&(o^-1);N[a+16>>2]=N[c+16>>2]&(n^-1);N[a+20>>2]=b;b=N[c+28>>2]&(m^-1);N[a+24>>2]=N[c+24>>2]&(l^-1);N[a+28>>2]=b;b=N[c+36>>2]&(k^-1);N[a+32>>2]=N[c+32>>2]&(j^-1);N[a+36>>2]=b;b=N[c+44>>2]&(i^-1);N[a+40>>2]=N[c+40>>2]&(h^-1);N[a+44>>2]=b;b=N[c+52>>2]&(g^-1);N[a+48>>2]=N[c+48>>2]&(f^-1);N[a+52>>2]=b;b=N[c+60>>2]&(e^-1);N[a+56>>2]=N[c+56>>2]&(d^-1);N[a+60>>2]=b}function yr(a,b,c){a=a|0;b=b|0;c=c|0;var 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;d=N[c+56>>2];e=N[c+60>>2];f=N[c+48>>2];g=N[c+52>>2];h=N[c+40>>2];i=N[c+44>>2];j=N[c+32>>2];k=N[c+36>>2];l=N[c+24>>2];m=N[c+28>>2];n=N[c+16>>2];o=N[c+20>>2];p=N[c+8>>2];q=N[c+12>>2];r=N[c>>2];c=N[b+4>>2]&(N[c+4>>2]^-1);N[a>>2]=N[b>>2]&(r^-1);N[a+4>>2]=c;c=N[b+12>>2]&(q^-1);N[a+8>>2]=N[b+8>>2]&(p^-1);N[a+12>>2]=c;c=N[b+20>>2]&(o^-1);N[a+16>>2]=N[b+16>>2]&(n^-1);N[a+20>>2]=c;c=N[b+28>>2]&(m^-1);N[a+24>>2]=N[b+24>>2]&(l^-1);N[a+28>>2]=c;c=N[b+36>>2]&(k^-1);N[a+32>>2]=N[b+32>>2]&(j^-1);N[a+36>>2]=c;c=N[b+44>>2]&(i^-1);N[a+40>>2]=N[b+40>>2]&(h^-1);N[a+44>>2]=c;c=N[b+52>>2]&(g^-1);N[a+48>>2]=N[b+48>>2]&(f^-1);N[a+52>>2]=c;c=N[b+60>>2]&(e^-1);N[a+56>>2]=N[b+56>>2]&(d^-1);N[a+60>>2]=c}function ad(a){var b=0,c=0,d=0;d=La-16|0;La=d;a:{if(N[a+24>>2]){break a}b:{b=N[a+28>>2];if(!b){c=a+32|0;if(!xj(c,N[a+36>>2]+1|0)){break b}b=db(1,576);N[d+12>>2]=b;if(!b){break b}wj(c,d+12|0);b=vj(b)}N[a+28>>2]=N[b>>2];c=b+32|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[b+24|0]=0;L[b+25|0]=0;L[b+26|0]=0;L[b+27|0]=0;L[b+28|0]=0;L[b+29|0]=0;L[b+30|0]=0;L[b+31|0]=0;L[b+16|0]=0;L[b+17|0]=0;L[b+18|0]=0;L[b+19|0]=0;L[b+20|0]=0;L[b+21|0]=0;L[b+22|0]=0;L[b+23|0]=0;L[b+8|0]=0;L[b+9|0]=0;L[b+10|0]=0;L[b+11|0]=0;L[b+12|0]=0;L[b+13|0]=0;L[b+14|0]=0;L[b+15|0]=0;L[b|0]=0;L[b+1|0]=0;L[b+2|0]=0;L[b+3|0]=0;L[b+4|0]=0;L[b+5|0]=0;L[b+6|0]=0;L[b+7|0]=0;N[b>>2]=N[a+4>>2];N[b+4>>2]=N[a+8>>2];N[b+32>>2]=N[a+44>>2];N[a+44>>2]=b;break a}if(N[a+24>>2]){break a}N[a+24>>2]=1}La=d+16|0;return N[a+4>>2]}function Jl(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=N[a+28>>2];a:{if((d|0)==-1){break a}e=N[a+36>>2];h=N[a+40>>2];if(e>>>0>=h>>>0){break a}k=N[a>>2];d=d+1|0;l=N[a+16>>2]+16|0;while(1){b:{b=T(e,12)+l|0;c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);g=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);d=d>>>0>g>>>0?d:g;c=O[b+5|0]<<16|O[b+4|0]<<24|O[b+6|0]<<8;f=O[b+7|0];i=c|f;if(d>>>0>i>>>0){break b}b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);j=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=f+(c|1)|0;c:{while(1){c=d-g|0;if((c^-1)>>>0>>0){break b}c=c+j|0;if(c){break c}c=d+1|0;if(!c){break a}f=d>>>0>>0;d=c;if(f){continue}break}d=b;break b}if(c>>>0>=Q[k+16>>2]){break b}N[a+36>>2]=e;N[a+32>>2]=c;N[a+28>>2]=d;return}e=e+1|0;if((h|0)!=(e|0)){continue}break}}L[a+24|0]=0}function jn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Qa[N[a+624>>2]](a)|0;f=N[b>>2];a:{if(!f){break a}g=a+36|0;e=1;while(1){b=N[a+28>>2];if((b|0)<=1){if(O[a+593|0]){N[a+12>>2]=129}N[a+28>>2]=0;break a}d=b-2|0;N[a+28>>2]=d;c=b<<2;b=N[a+24>>2];c=P[(c+b|0)-4>>1];b:{if(c>>>0>1]){d=N[b+(d<<2)>>2];b=d>>>4&15;c:{d:{switch(O[a+376|0]-113|0){case 0:b=b|16;break c;case 1:break d;default:break c}}b=b|32}if((P[a+336>>1]+b|0)!=(h|0)){break b}b=d&15;b=(b>>>0>7?-7:-8)+b<<6-P[a+338>>1];if(!(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40)){if(!((P[a+304>>1]?O[a+592|0]:0)|O[c+N[a+60>>2]|0]&16)|(O[a+645|0]?O[a+644|0]:0)){break b}Qa[N[a+616>>2]](a,g,c,b);break b}Qa[N[a+616>>2]](a,g,c,b);break b}if(!O[a+593|0]){break b}N[a+12>>2]=134}e=e+1|0;if(f>>>0>=e>>>0){continue}break}}N[a+32>>2]=N[a+28>>2]}function Vm(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=N[a+12>>2];j=N[e>>2];i=b>>>0>j>>>0?j:b;if(i){e=N[e+12>>2];while(1){h=N[e+12>>2];g=h;m=k<<2;f=N[m+c>>2];if((g|0)>=(f|0)){g=N[e+4>>2];g=(f|0)>(g|0)?f:g}f=N[e+8>>2];a:{if((f|0)>(g|0)){l=0-fb(g-f|0,N[e+4>>2]-f|0)|0;break a}l=0;if((f|0)>=(g|0)){break a}l=fb(g-f|0,h-f|0)}h=l;N[d+m>>2]=h;e=e+24|0;k=k+1|0;if((i|0)!=(k|0)){continue}break}}if(b>>>0>>0){C((i<<2)+d|0,0,j-i<<2)}a=N[a+28>>2];if(!(!a|!j)){b=0;while(1){f=P[a>>1];b:{if(f>>>0<2){break b}i=(b<<2)+d|0;c=N[i>>2];h=N[a+4>>2];e=1;while(1){g=h+(e<<3)|0;k=N[g>>2];if((k|0)>(c|0)){f=g-8|0;e=N[f+4>>2];h=c;c=N[f>>2];n=i,o=jb(h-c|0,N[g+4>>2]-e|0,k-c|0)+e|0,N[n>>2]=o;break b}e=e+1|0;if((f|0)!=(e|0)){continue}break}}a=a+8|0;b=b+1|0;if(j>>>0>b>>>0){continue}break}}}function gn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=La-16|0;La=f;c=N[b+28>>2];a:{if(Qa[N[a+516>>2]](a,1668707360,b,f+12|0)|0){N[a+700>>2]=0;N[a+704>>2]=0;c=0;break a}d=N[f+12>>2];g=d>>>1|0;N[a+700>>2]=g;b:{if(d>>>0>=2){if(d>>>0>=1073741824){N[a+704>>2]=0;c=10;break a}d=g<<2;e=Qa[N[c+4>>2]](c,d)|0;if(!e){break b}C(e,0,d)}N[a+704>>2]=e;c=Bb(b,N[a+700>>2]<<1);if(c){break a}c=N[a+700>>2];if((c|0)>0){d=N[a+704>>2];g=d+(c<<2)|0;c=N[b+32>>2];h=N[b+36>>2];while(1){e=0;if(c+1>>>0>>0){e=O[c|0]|O[c+1|0]<<8;e=e<<8|e>>>8;c=c+2|0}N[b+32>>2]=c;N[d>>2]=e<<16>>16<<6;d=d+4|0;if(g>>>0>d>>>0){continue}break}}if(N[b+20>>2]){c=N[b>>2];if(c){e=N[b+28>>2];Qa[N[e+8>>2]](e,c)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0;if(!O[a+733|0]){c=0;break a}c=Ym(a,b);break a}N[a+704>>2]=0;c=64}La=f+16|0;return c}function Dw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=N[N[a+40>>2]>>2];if(e){a=N[a>>2];g=N[a+100>>2];b=N[N[a+96>>2]+4>>2];a:{if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}f=N[a+712>>2];d=N[f+3080>>2];a=b+20|0;b=a+(c<<2)|0;while(1){c=N[a>>2];if(cb(N[N[c>>2]+8>>2],11971)){a=a+4|0;if(b>>>0>a>>>0){continue}break a}break}if(!d){break a}a=N[d>>2];if(!a){break a}d=Qa[a|0](c)|0;if(!d){break a}Qa[N[d+8>>2]](N[e>>2]);b=N[f+2024>>2];if(!b){break a}f=b&3;b:{if(!f){a=b;break b}c=0;a=b;while(1){a=a-1|0;Qa[N[d+8>>2]](N[((a<<2)+e|0)+4>>2]);c=c+1|0;if((f|0)!=(c|0)){continue}break}}if(b>>>0<4){break a}b=e+4|0;while(1){c=b+(a<<2)|0;Qa[N[d+8>>2]](N[c-4>>2]);Qa[N[d+8>>2]](N[c-8>>2]);Qa[N[d+8>>2]](N[c-12>>2]);a=a-4|0;Qa[N[d+8>>2]](N[b+(a<<2)>>2]);if(a){continue}break}}Qa[N[g+8>>2]](g,e)}}function vk(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=a+2|0;a:{if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}if(Lb(((d<<8|d>>>8)&65535)+a|0,b)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}c=a+4|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}e=N[b+12>>2]-2|0;N[b+12>>2]=e;if((e|0)<=0){break a}c=O[c|0]|O[c+1|0]<<8;if(!c){return 1}f=a+6|0;if(d>>>0>>0){break a}c=(c<<8|c>>>8)&65535;g=c<<1;if(g>>>0>d-f>>>0){break a}d=e-g|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=c>>>0<=1?1:c;c=0;while(1){h=uk(((c<<1)+a|0)+6|0,b,a);if(!h){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return h}function tv(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=N[N[a+96>>2]+8>>2];N[a+20>>2]=0;N[a+24>>2]=0;c=N[a+100>>2];b=N[a+368>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+368>>2]=0;b=N[a+372>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+372>>2]=0;b=N[a+376>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+376>>2]=0;b=N[a+364>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+360>>2]=0;N[a+364>>2]=0;N[a+348>>2]=0;N[a+352>>2]=0;b=N[a+388>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+388>>2]=0;N[a+380>>2]=0;N[a+384>>2]=0;b=N[a+416>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+416>>2]=0;N[a+408>>2]=0;N[a+412>>2]=0;b=N[a+396>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+392>>2]=0;N[a+396>>2]=0;b=N[a+424>>2];if(b){while(1){e=N[b>>2];Qa[N[c+8>>2]](c,b);b=e;if(b){continue}break}}N[a+428>>2]=0;N[a+420>>2]=0;N[a+424>>2]=0;b=N[a+32>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+32>>2]=0}}function hh(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{e=N[b+4>>2];if(e>>>0>a>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-a>>>0<4){break a}g=N[b+12>>2];d=g-4|0;N[b+12>>2]=d;h=1;if((d|0)<=0){break a}d=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);b:{if(!d){break b}if(d&128){break a}d=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0;c:{if(d>>>0>>0|d>>>0>f>>>0|f-d>>>0<4){break c}e=g-8|0;N[b+12>>2]=e;if((e|0)<=0){break c}c=O[d+2|0]|O[d+3|0]<<8;g=(c<<8|c>>>8)&65535;c=O[d|0]|O[d+1|0]<<8;c=UE(T(g,(c<<8|c>>>8)&65535),0,6,0);if(Pa){break c}if(!c){break b}d=d+4|0;if(d>>>0>f>>>0|c>>>0>f-d>>>0){break c}c=e-c|0;N[b+12>>2]=c;if((c|0)>0){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;h=0;if(!O[b+24|0]){break b}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;h=1}return h}return 0}function OC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=U(0),g=U(0),h=U(0),i=U(0);e=N[b+12>>2];a:{if(O[b+6|0]){if(e){a=N[e+128>>2];h=U(N[a+12>>2]);g=U(N[a+4>>2]);i=U(N[a>>2]);f=U(N[a+8>>2])}else{f=U(0)}h=U(U(aa(U(U(f*f)+U(h*h))))*U(152587890625e-16));f=U(U(aa(U(U(i*i)+U(g*g))))*U(152587890625e-16));break a}h=U(N[a+32>>2]>>31|1);f=U(N[a+28>>2]>>31|1)}if(vc(e,c,N[b>>2])){return 0}a=N[e+84>>2];g=U(f*U(N[a+32>>2]));b:{if(U(V(g))>2]=b;g=U(h*U(N[a+36>>2]));c:{if(U(V(g))>2]=b;f=U(f*U(N[a+24>>2]));d:{if(U(V(f))>2]=b;f=U(h*U(0-N[a+28>>2]|0));e:{if(U(V(f))>2]=a;return 1}function gw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=N[a+712>>2];a:{if(O[e+24|0]==2){i=11;e=N[N[a+96>>2]+4>>2];if(!e){break a}f=N[e+16>>2];if((f|0)<=0){break a}e=e+20|0;f=e+(f<<2)|0;while(1){g=N[e>>2];h=N[g>>2];if(cb(N[h+8>>2],9195)){e=e+4|0;if(f>>>0>e>>>0){continue}break a}break}e=N[h+32>>2];if(!e){break a}e=Qa[e|0](g,9592)|0;if(!e){break a}e=N[e>>2];if(!e){break a}return Qa[e|0](a,b,c,d)|0}f=N[e+3084>>2];if(!f){return 11}a=P[N[e+1188>>2]+(b<<1)>>1];if((a|0)==65535){break a}b:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[e+1356>>2]){break a}e=N[N[e+1360>>2]+(a<<2)>>2];break b}e=Qa[N[f+20>>2]](a)|0}if(!e){break a}c:{if(d>>>0<2){break c}while(1){a=O[e|0];if(!a){break c}L[c|0]=a;c=c+1|0;e=e+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0}return i|0}function Sl(a,b,c,d){var e=0,f=0,g=0,h=0;g=Qa[N[a+4>>2]](a,(P[c+8>>1]>>>1|0)+1|0)|0;if(!g){return 0}e=N[c+12>>2];f=N[b+20>>2];a:{b:{c:{if(f){if(!(Qa[f|0](b,e,0,0)|0)){break c}break b}if(e>>>0>Q[b+4>>2]){break b}}N[b+8>>2]=e;if(Bb(b,P[c+8>>1])){break b}e=g;d:{f=P[c+8>>1];if(f>>>0>=2){h=f>>>1|0;f=N[b+32>>2];while(1){if(O[f|0]){break d}if(!(Qa[d|0](L[f+1|0])|0)){break d}L[e|0]=O[f+1|0];f=f+2|0;e=e+1|0;h=h-1|0;if(h){continue}break}}L[e|0]=0;if(N[b+20>>2]){a=N[b>>2];if(a){c=N[b+28>>2];Qa[N[c+8>>2]](c,a)}N[b>>2]=0}N[b+32>>2]=0;b=b+36|0;break a}if(N[b+20>>2]){d=N[b>>2];if(d){e=N[b+28>>2];Qa[N[e+8>>2]](e,d)}N[b>>2]=0}N[b+32>>2]=0;N[b+36>>2]=0}Qa[N[a+8>>2]](a,g);g=0;N[c+12>>2]=0;M[c+8>>1]=0;b=c+16|0;c=N[c+16>>2];if(!c){break a}Qa[N[a+8>>2]](a,c)}N[b>>2]=0;return g}function ID(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=N[a+20>>2];if((h|0)<=0){return 0}k=N[a>>2];d=h-1|0;l=h+1<<1;a:{while(1){e=d+f|0;g=e>>>1|0;e=e&-2;i=e+k|0;j=O[i|0]|O[i+1|0]<<8;b:{if(((j<<8|j>>>8)&65535)>>>0>=b>>>0){d=i+l|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}d=g-1|0;break b}f=g+1|0}if((d|0)>=(f|0)){continue}break}return 0}f=e>>1;d=e+N[a+12>>2]|0;g=O[d|0]|O[d+1|0]<<8;c:{if(g){d=0;e=f+(b-h|0)+(((g<<8|g>>>8)&65534)>>>1)|0;b=N[a+4>>2]+(f<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=e-((b<<8|b>>>8)&65535)|0;if(b>>>0>=Q[a+24>>2]){break c}b=N[a+16>>2]+(b<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!b){break c}b=(b<<8|b>>>8)&65535}a=N[a+8>>2]+(f<<1)|0;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)+b&65535;if(!a){return 0}N[c>>2]=a;d=1}return d|0}function Qe(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=N[b+12>>2]-2|0;N[b+12>>2]=f;if((f|0)<=0){break b}d=O[a|0]|O[a+1|0]<<8;if(!d){return 1}g=a+2|0;if(g>>>0>e>>>0){break b}d=(d<<8|d>>>8)&65535;h=d<<1;if(h>>>0>e-g>>>0){break b}e=f-h|0;N[b+12>>2]=e;if((e|0)<=0){break b}g=d>>>0<=1?1:d;f=0;while(1){e=((f<<1)+a|0)+2|0;if(e>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-e>>>0<2){break a}h=N[c>>2];d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[e|0]|O[e+1|0]<<8;c:{if(!d){break c}if(Lb(h+((d<<8|d>>>8)&65535)|0,b)){break c}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[e|0]=0;L[e+1|0]=0}i=1;f=f+1|0;if((g|0)!=(f|0)){continue}break}}return i}return 0}function wf(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{c:{switch(O[a|0]){case 0:if(!b|c>>>0<2){break b}e=1;a=a+1|0;while(1){d=(a+(e<<1)|0)-2|0;d=O[d|0]|O[d+1|0]<<8;if(((d<<8|d>>>8)&65535)==(b|0)){return e}e=e+1|0;if((e|0)!=(c|0)){continue}break};break b;case 1:if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+T(e,3)|0;f=O[a+2|0];a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break};break b;case 2:break c;default:break b}}if(!b|c>>>0<2){break b}d=1;g=a+1|0;while(1){a=g+(e<<2)|0;f=O[a+2|0]|O[a+3|0]<<8;f=(f<<8|f>>>8)&65535;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;if(!(a>>>0>b>>>0|a+f>>>0>>0)){break a}e=e+1|0;d=(d+f|0)+1|0;if(d>>>0>>0){continue}break}}return 0}return(b+d|0)-a|0}function Sg(a,b,c){var d=0,e=0,f=0;a:{b:{d=N[a+72>>2]+1|0;c:{if(!(!d|d>>>0>2])){if(!gb(a,d)){break c}}d=N[a+84>>2];d:{if((d|0)!=N[a+80>>2]){break d}e=N[a+72>>2];if(e+1>>>0<=N[a+64>>2]+b>>>0){break d}if(!O[a+62|0]){break b}f=N[a+88>>2];N[a+84>>2]=f;e=T(e,20);if(!e){break d}F(f,d,e)}d=N[a+64>>2];e=d+b|0;if(e>>>0>Q[a+68>>2]){break a}Ib(a,d,e);d=N[a+64>>2];e:{if(d>>>0>2]){e=N[a+72>>2];f=N[a+84>>2];d=N[a+80>>2]+T(d,20)|0;break e}f=N[a+84>>2];e=N[a+72>>2];d=e-1|0;d=f+T(d>>>0<=e>>>0?d:0,20)|0}e=T(e,20)+f|0;f=N[d+4>>2];N[e>>2]=N[d>>2];N[e+4>>2]=f;N[e+16>>2]=N[d+16>>2];f=N[d+12>>2];N[e+8>>2]=N[d+8>>2];N[e+12>>2]=f;N[e>>2]=N[c>>2];N[a+64>>2]=N[a+64>>2]+b;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function wy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){b=b<<2;d=N[b+N[a+392>>2]>>2];e=dg(a);j=b+N[a+392>>2]|0,k=fb(c,e)+d|0,N[j>>2]=k}}function Cq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;f=La-32|0;La=f;c=c+2|0;a:{if(d>>>0<=c>>>0){break a}h=N[b+80>>2];while(1){b:{a=T(c,20)+h|0;e=P[a-24>>1];if((e&65024)!=5120|!(1<>1];if((g&65024)!=5632|!(1<>1];g=1<>>8|0:0;if((g|0)!=220&(g|0)!=25){break b}Ib(b,c-1|0,c+1|0);N[f+24>>2]=N[e+16>>2];b=N[e+12>>2];N[f+16>>2]=N[e+8>>2];N[f+20>>2]=b;b=N[e+4>>2];N[f+8>>2]=N[e>>2];N[f+12>>2]=b;N[e+16>>2]=N[a+16>>2];b=N[a+12>>2];N[e+8>>2]=N[a+8>>2];N[e+12>>2]=b;b=N[a+4>>2];N[e>>2]=N[a>>2];N[e+4>>2]=b;N[a+16>>2]=N[f+24>>2];b=N[f+20>>2];N[a+8>>2]=N[f+16>>2];N[a+12>>2]=b;b=N[f+12>>2];N[a>>2]=N[f+8>>2];N[a+4>>2]=b;break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}La=f+32|0}function tc(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;c=O[a+12|0];a:{if(O[a+48|0]){if(!c){break a}c=N[a+20>>2];d=N[a+28>>2];e=b>>>9|0;f=N[a+32>>2];if(!(c>>>0>>0&(e|0)==N[f+(c<<3)>>2])){if((d|0)<=0){break a}d=d-1|0;while(1){b:{c=d+g>>>1|0;h=N[(c<<3)+f>>2];c:{if((e|0)<(h|0)){d=c-1|0;break c}if((e|0)==(h|0)){break b}g=c+1|0}if((d|0)>=(g|0)){continue}break a}break}N[a+20>>2]=c}e=N[a+44>>2];if(!e){break a}c=N[((c<<3)+f|0)+4>>2];N[a+16>>2]=-1;a=(e+(c<<6)|0)+(b>>>3&56)|0;c=N[a>>2];e=N[a+4>>2];i=a,j=_E(-2,-1,b)&c,N[i>>2]=j;N[a+4>>2]=Pa&e;return}if(!c|(b|0)==-1){break a}N[a+16>>2]=-1;a=wc(a+12|0,b);if(!a){break a}a=a+(b>>>3&56)|0;e=N[a+4>>2];c=b&63;b=c&31;if((c&63)>>>0>=32){c=1<>>32-b}N[a>>2]=d|N[a>>2];N[a+4>>2]=c|e}}function Hs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;i=N[a+16>>2];f=N[a+24>>2];c=f+1|0;d=N[a+28>>2];a:{b:{if(c>>>0<=d>>>0){b=N[a+32>>2];break b}N[a+36>>2]=b;if((c|d)<0|(c|0)>536870911){break a}c:{if(!d){b=Qa[N[b+4>>2]](b,c<<2)|0;e=!b<<6;break c}h=N[a+32>>2];e=Qa[N[b+12>>2]](b,d<<2,c<<2,h)|0;b=e?e:h;e=!e<<6}d:{if(!(e|(c|0)<=(d|0)|!b)){C((d<<2)+b|0,0,c-d<<2);N[a+32>>2]=b;break d}N[a+32>>2]=b;if(e){break a}}N[a+28>>2]=c}g=b;e:{if(!f){break e}a=i+10|0;b=0;if((f|0)!=1){e=f&1;c=f&-2;while(1){d=b<<2;N[d+g>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);N[(d|4)+g>>2]=O[a+13|0]|(O[a+12|0]<<8|O[a+11|0]<<16);a=a+22|0;b=b+2|0;if((c|0)!=(b|0)){continue}break}if(!e){break e}}N[(b<<2)+g>>2]=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16)}N[(f<<2)+g>>2]=0}return g|0}function Si(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=6;a:{if(N[b+72>>2]!=N[a+16>>2]){break a}b:{if(!c){break b}a=N[b+112>>2];if(!a){break b}e=M[b+110>>1];if((e|0)<=0){break b}e=(e<<3)+a|0;while(1){id(a,c);a=a+8|0;if(e>>>0>a>>>0){continue}break}}e=0;if(!d){break a}f=M[b+110>>1];if((f|0)<=0){break a}c=N[d+4>>2];d=N[d>>2];a=N[b+112>>2];if(f>>>0>=4){e=f&-4;b=0;while(1){N[a>>2]=d+N[a>>2];N[a+4>>2]=c+N[a+4>>2];N[a+8>>2]=d+N[a+8>>2];N[a+16>>2]=d+N[a+16>>2];N[a+24>>2]=d+N[a+24>>2];N[a+12>>2]=c+N[a+12>>2];N[a+20>>2]=c+N[a+20>>2];N[a+28>>2]=c+N[a+28>>2];a=a+32|0;b=b+4|0;if((e|0)!=(b|0)){continue}break}}e=0;f=f&3;if(!f){break a}b=0;while(1){N[a>>2]=d+N[a>>2];N[a+4>>2]=c+N[a+4>>2];a=a+8|0;b=b+1|0;if((f|0)!=(b|0)){continue}break}}return e|0}function HC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=U(0),g=0,h=U(0),i=U(0),j=U(0),k=U(0);e=b+16|0;g=N[b+12>>2];c=N[b+8>>2];h=U(N[a+4>>2]);f=U(N[a>>2]);a:{if(O[b+4|0]){if(!N[e>>2]){d=N[c+12>>2];i=R[b+28>>2];j=R[b+32>>2];a=N[c+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[d|0](c,g,e,i,j,a);N[b+16>>2]=1;a=N[b+32>>2];N[b+20>>2]=N[b+28>>2];N[b+24>>2]=a}d=N[c+16>>2];a=N[c+32>>2];if(!a){Qa[d|0](c,g,e,f,h,0);break a}Qa[d|0](c,g,e,f,h,N[a+4>>2]);break a}i=U(h*R[b>>2]);if(!N[b+16>>2]){d=N[c+12>>2];j=R[b+28>>2];k=R[b+32>>2];a=N[c+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[d|0](c,g,e,j,k,a);N[b+16>>2]=1;a=N[b+32>>2];N[b+20>>2]=N[b+28>>2];N[b+24>>2]=a}d=N[c+16>>2];f=U(i+f);a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[d|0](c,g,e,f,h,a)}R[b+32>>2]=h;R[b+28>>2]=f;return 0}function jr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=N[a>>2];a=0;a:{b:{c:{d:{d=O[c|0]|O[c+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}a=e;e=O[c+2|0]|O[c+3|0]<<8;e=a-((e<<8|e>>>8)&65535)|0;d=O[c+4|0]|O[c+5|0]<<8;a=275552;if(e>>>0>=((d<<8|d>>>8)&65535)>>>0){break b}a=((e<<1)+c|0)+6|0;break b}g=241305;a=O[c+2|0]|O[c+3|0]<<8;e:{if(!a){break e}h=c+4|0;c=((a<<8|a>>>8)&65535)-1|0;a=0;while(1){d=a+c>>>1|0;f=T(d,6)+h|0;i=O[f|0]|O[f+1|0]<<8;f:{if(e>>>0>=((i<<8|i>>>8)&65535)>>>0){a=O[f+2|0]|O[f+3|0]<<8;if(e>>>0>((a<<8|a>>>8)&65535)>>>0){a=d+1|0;break f}g=T(d,6)+h|0;break e}c=d-1|0}if((a|0)<=(c|0)){continue}break}}a=g+4|0}a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535}return(a|0)==(b|0)|0}function Ng(a,b,c,d,e,f,g,h,i,j){var k=0,l=0,m=0,n=0,o=0,p=U(0),q=U(0),r=0;l=S[g+8>>3];m=S[g>>3];k=N[b+8>>2];if(k){n=S[k+8>>3];l=l+n;o=S[k>>3];m=m+o;f=n+f;e=o+e;d=n+d;c=o+c}k=N[b>>2];p=R[k+44>>2];q=R[k+48>>2];Cb(N[b+4>>2],U(p*U(c)),U(q*U(d)),U(p*U(e)),U(q*U(f)),U(p*U(m)),U(q*U(l)));r=N[g+12>>2];k=a+4400|0;N[k>>2]=N[g+8>>2];N[k+4>>2]=r;k=N[g+4>>2];N[a+4392>>2]=N[g>>2];N[a+4396>>2]=k;f=S[j+8>>3];e=S[j>>3];d=S[i+8>>3];c=S[i>>3];l=S[h+8>>3];m=S[h>>3];g=N[b+8>>2];if(g){n=S[g+8>>3];f=f+n;o=S[g>>3];e=e+o;d=d+n;l=l+n;m=m+o;c=c+o}g=N[b+4>>2];b=N[b>>2];p=R[b+44>>2];q=R[b+48>>2];Cb(g,U(p*U(m)),U(q*U(l)),U(p*U(c)),U(q*U(d)),U(p*U(e)),U(q*U(f)));b=N[j+12>>2];a=a+4392|0;N[a+8>>2]=N[j+8>>2];N[a+12>>2]=b;b=N[j+4>>2];N[a>>2]=N[j>>2];N[a+4>>2]=b}function ve(a,b,c){var d=0,e=0;if(c>>>0>=512){C(a,b<<24>>24,c);return}a:{if(!c){break a}L[a|0]=b;d=a+c|0;L[d-1|0]=b;if(c>>>0<3){break a}L[a+2|0]=b;L[a+1|0]=b;L[d-3|0]=b;L[d-2|0]=b;if(c>>>0<7){break a}L[a+3|0]=b;L[d-4|0]=b;if(c>>>0<9){break a}d=0-a&3;e=d+a|0;a=T(b&255,16843009);N[e>>2]=a;c=c-d&-4;b=c+e|0;N[b-4>>2]=a;if(c>>>0<9){break a}N[e+8>>2]=a;N[e+4>>2]=a;N[b-8>>2]=a;N[b-12>>2]=a;if(c>>>0<25){break a}N[e+24>>2]=a;N[e+20>>2]=a;N[e+16>>2]=a;N[e+12>>2]=a;N[b-16>>2]=a;N[b-20>>2]=a;N[b-24>>2]=a;N[b-28>>2]=a;b=c;c=e&4|24;b=b-c|0;if(b>>>0<32){break a}a=UE(a,0,1,1);d=Pa;c=c+e|0;while(1){N[c+24>>2]=a;N[c+28>>2]=d;N[c+16>>2]=a;N[c+20>>2]=d;N[c+8>>2]=a;N[c+12>>2]=d;N[c>>2]=a;N[c+4>>2]=d;c=c+32|0;b=b-32|0;if(b>>>0>31){continue}break}}}function ko(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;A(+a);b=v(1)|0;v(0)|0;a:{b:{c:{d:{if(!(((b|0)>0|(b|0)>=0)&b>>>0>1071284857)){if(b>>>0>=3220176896){d=-Infinity;if(a==-1){break b}return(a-a)/0}if(b<<1>>>0<2034237440){break a}if(b>>>0>=3218259653){break d}d=0;break c}if(b>>>0>2146435071){break a}}c=a+1;A(+c);b=v(1)|0;b=b+614242|0;g=b>>>0<=1129316351?(b>>>0>1074790399?a-c+1:a-(c+-1))/c:g;x(0,v(0)|0);x(1,(b&1048575)+1072079006|0);a=+z()+-1;d=+((b>>>20|0)-1023|0)}e=a/(a+2);f=e*e;c=f*f;h=a;a=a*(a*.5);d=d*.6931471803691238+(h+(e*(a+(c*(c*(c*.15313837699209373+.22222198432149784)+.3999999999940942)+f*(c*(c*(c*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))+(d*1.9082149292705877e-10+g)-a))}return d}return a}function _l(a,b,c){var d=0,e=0,f=0;d=L[a|0];if((d|0)>=0){L[a|0]=c+d&127;return 1}e=1;a:{if(d>>>0<4294967232){break a}c=((c&32767)-(c&32768)|0)+16777216|0;f=d&255;if(d>>>0<=4294967263){if((b|0)<2){break a}b=O[a+1|0];c=c+(f<<6&1984|b&63)|0;L[a+1|0]=c&63|b&192;L[a|0]=c>>>6&31|192;return 2}if(d>>>0<=4294967279){e=b;if((b|0)<3){break a}b=O[a+2|0];c=(c+(f<<12&61440)|0)+(b&63)|0;L[a+2|0]=c&63|b&192;b=O[a+1|0];c=c+((b&63)<<6)|0;L[a+1|0]=c>>>6&63|b&192;L[a|0]=c>>>12&15|224;return 3}if(d>>>0>4294967287){break a}e=b;if((b|0)<4){break a}b=O[a+3|0];c=(c+(f<<18&1835008)|0)+(b&63)|0;L[a+3|0]=c&63|b&192;b=O[a+2|0];c=c+((b&63)<<6)|0;L[a+2|0]=c>>>6&63|b&192;b=O[a+1|0];c=c+((b&63)<<12)|0;L[a+1|0]=c>>>12&63|b&192;L[a|0]=c>>>18&7|240;e=4}return e}function Tn(a,b,c,d){a:{switch(b-9|0){case 0:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=N[b>>2];return;case 6:b=N[c>>2];N[c>>2]=b+4;b=M[b>>1];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 7:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=P[b>>1];N[a+4>>2]=0;return;case 8:b=N[c>>2];N[c>>2]=b+4;b=L[b|0];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 9:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=O[b|0];N[a+4>>2]=0;return;case 16:b=N[c>>2]+7&-8;N[c>>2]=b+8;S[a>>3]=S[b>>3];return;case 17:Qa[d|0](a,c);default:return;case 1:case 4:case 14:b=N[c>>2];N[c>>2]=b+4;b=N[b>>2];N[a>>2]=b;N[a+4>>2]=b>>31;return;case 2:case 5:case 11:case 15:b=N[c>>2];N[c>>2]=b+4;N[a>>2]=N[b>>2];N[a+4>>2]=0;return;case 3:case 10:case 12:case 13:break a}}b=N[c>>2]+7&-8;N[c>>2]=b+8;c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c}function de(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{if(!(N[a+24>>2]|!c)){d=N[a+44>>2];if(!d){break b}if(Q[d>>2]>b>>>0){break a}c:{d:{e:{e=N[d+8>>2];if((e|0)>=0){g=N[d+12>>2];f=g+1|0;f=(f|0)>0?f:0;if(f>>>0<=e>>>0){break d}while(1){e=((e>>>1|0)+e|0)+8|0;if(f>>>0>=e>>>0){continue}break}if(e>>>0<=357913941){g=$a(N[d+16>>2],T(e,12));if(g){break e}}N[d+8>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;d=589824;break c}N[d+8>>2]=e;N[d+16>>2]=g;g=N[d+12>>2]}if(f>>>0>g>>>0){C(N[d+16>>2]+T(g,12)|0,0,T(f-g|0,12))}N[d+12>>2]=f;d=(N[d+16>>2]+T(f,12)|0)-12|0}if(N[N[a+44>>2]+8>>2]<0){N[a+24>>2]=N[a+24>>2]|1}N[d+8>>2]=c;N[d>>2]=N[d>>2]&-64|2;a=N[N[a+44>>2]>>2];N[d>>2]=2;N[d+4>>2]=b-a}return}ba(9271,14296,479,13575);B()}ba(11056,14296,480,13575);B()}function KE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;j=N[N[a+112>>2]>>2];a:{if(!j){break a}e=N[c+68>>2];if(!e){break a}f=e-1|0;g=N[c+80>>2];d=g+3|0;a=0;b=O[g+15|0];while(1){b:{if((a|0)==(f|0)){a=e;break b}a=a+1|0;if((b|0)==O[(d+T(a,20)|0)+12|0]){continue}}break}k=g+2|0;d=0;i=g;f=e;while(1){b=a;c:{if(a>>>0<=d>>>0){break c}while(1){h=T(d,20);a=h+g|0;if(!(N[a+4>>2]&j)){break c}if(O[a+12|0]&16){L[(h+k|0)+16|0]=18;i=N[c+80>>2];f=N[c+68>>2];break c}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;l=d-1|0;m=i+3|0;h=O[(T(b,20)+i|0)+15|0];a=b;while(1){d:{if((a|0)==(l|0)){a=d;break d}a=a+1|0;if((h|0)==O[(T(a,20)+m|0)+12|0]){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}return 0}function Cb(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=U(0),l=0,m=0,n=U(0);i=a+16|0;l=N[a+12>>2];j=N[a+8>>2];if(O[a+4|0]){if(!N[i>>2]){m=N[j+12>>2];n=R[a+28>>2];k=R[a+32>>2];h=N[j+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[m|0](j,l,i,n,k,h);N[a+16>>2]=1;h=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=h}m=N[j+24>>2];h=N[j+32>>2];if(h){h=N[h+12>>2]}else{h=0}Qa[m|0](j,l,i,b,c,d,e,f,g,h);R[a+32>>2]=g;R[a+28>>2]=f;return}k=R[a>>2];n=U(U(c*k)+b);d=U(U(e*k)+d);b=U(U(g*k)+f);if(!N[i>>2]){h=N[j+12>>2];f=R[i+12>>2];k=R[i+16>>2];a=N[j+32>>2];if(a){a=N[a>>2]}else{a=0}Qa[h|0](j,l,i,f,k,a);N[i>>2]=1;a=N[i+16>>2];N[i+4>>2]=N[i+12>>2];N[i+8>>2]=a}h=N[j+24>>2];a=N[j+32>>2];if(a){a=N[a+12>>2]}else{a=0}Qa[h|0](j,l,i,n,c,d,e,b,g,a);R[i+16>>2]=g;R[i+12>>2]=b}function Bm(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;N[a+44>>2]=b;Yc(N[a>>2],b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[N[c+712>>2]+3080>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}e=Qa[b|0](e)|0;if(!e){break a}g=N[N[a>>2]+712>>2];c=N[g+1440>>2];h=N[N[a+40>>2]>>2];Qa[N[e+4>>2]](N[h>>2],N[a+16>>2],N[a+20>>2],0,0);b=N[g+2024>>2];if(!b){break a}while(1){d=N[a+16>>2];b=b-1|0;i=b<<2;f=N[N[(i+g|0)+2028>>2]+68>>2];b:{if((f|0)!=(c|0)){d=jb(d,c,f);f=jb(N[a+20>>2],c,f);break b}f=N[a+20>>2]}Qa[N[e+4>>2]](N[(h+i|0)+4>>2],d,f,0,0);if(b){continue}break}}return 0}function kh(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;a:{e=T(c,12);b:{if(e){if(Q[b+4>>2]>a>>>0){break b}g=N[b+8>>2];if(g>>>0>>0|e>>>0>g-a>>>0){break b}e=N[b+12>>2]-e|0;N[b+12>>2]=e;if((e|0)<=0){break b}}if(!c){return 1}j=N[b+4>>2];g=0;while(1){e=T(g,12)+a|0;if(e>>>0>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-e>>>0<12){break a}h=N[b+12>>2]-12|0;N[b+12>>2]=h;if((h|0)<=0){break a}c:{i=O[e+2|0]|O[e+3|0]<<8;if(!i){break c}e=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+d|0;if(e>>>0>>0|e>>>0>f>>>0){break a}f=f-e|0;e=((i<<8|i>>>8)&65535)<<2;if(f>>>0>>0){break a}e=h-e|0;N[b+12>>2]=e;if((e|0)>0){break c}break a}f=1;g=g+1|0;if((g|0)!=(c|0)){continue}break}}return f}return 0}function IC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=U(0),h=U(0),i=U(0),j=U(0);d=b+16|0;f=N[b+12>>2];c=N[b+8>>2];j=U(N[a+4>>2]);i=U(N[a>>2]);a:{b:{if(O[b+4|0]){if(!N[d>>2]){break a}g=R[b+20>>2];h=R[b+24>>2];if(!(g==R[b+28>>2]&h==R[b+32>>2])){e=N[c+16>>2];a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[e|0](c,f,d,g,h,a)}a=N[c+28>>2];e=N[c+32>>2];if(!e){Qa[a|0](c,f,d,0);break b}Qa[a|0](c,f,d,N[e+16>>2]);break b}i=U(U(j*R[b>>2])+i);if(!N[b+16>>2]){break a}g=R[b+20>>2];h=R[b+24>>2];if(!(g==R[b+28>>2]&h==R[b+32>>2])){e=N[c+16>>2];a=N[c+32>>2];if(a){a=N[a+4>>2]}else{a=0}Qa[e|0](c,f,d,g,h,a)}e=N[c+28>>2];a=N[c+32>>2];if(a){a=N[a+16>>2]}else{a=0}Qa[e|0](c,f,d,a)}N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0}R[b+32>>2]=j;R[b+28>>2]=i;return 0}function vy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){d=dg(a);j=N[a+392>>2]+(b<<2)|0,k=fb(c,d),N[j>>2]=k}}function Zn(a,b,c,d,e,f){var g=0;g=La-80|0;La=g;a:{if((f|0)>=16384){Gb(g+32|0,b,c,d,e,0,0,0,2147352576);d=N[g+40>>2];e=N[g+44>>2];b=N[g+32>>2];c=N[g+36>>2];if(f>>>0<32767){f=f-16383|0;break a}Gb(g+16|0,b,c,d,e,0,0,0,2147352576);f=((f|0)>=49149?49149:f)-32766|0;d=N[g+24>>2];e=N[g+28>>2];b=N[g+16>>2];c=N[g+20>>2];break a}if((f|0)>-16383){break a}Gb(g- -64|0,b,c,d,e,0,0,0,7471104);d=N[g+72>>2];e=N[g+76>>2];b=N[g+64>>2];c=N[g+68>>2];if(f>>>0>4294934644){f=f+16269|0;break a}Gb(g+48|0,b,c,d,e,0,0,0,7471104);f=((f|0)<=-48920?-48920:f)+32538|0;d=N[g+56>>2];e=N[g+60>>2];b=N[g+48>>2];c=N[g+52>>2]}Gb(g,b,c,d,e,0,0,0,f+16383<<16);b=N[g+12>>2];N[a+8>>2]=N[g+8>>2];N[a+12>>2]=b;b=N[g+4>>2];N[a>>2]=N[g>>2];N[a+4>>2]=b;La=g+80|0}function Ey(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=nb(c);b=f+18|0;a:{b:{if((f|0)>=-17){a=N[a>>2];b=Qa[N[a+4>>2]](a,b)|0;if(b){break b}return 64}a=6;if(b){break a}b=0}F(b,c,f);c=b+f|0;a=O[17697]|O[17698]<<8;L[c+16|0]=a;L[c+17|0]=a>>>8;a=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);f=O[17689]|O[17690]<<8|(O[17691]<<16|O[17692]<<24);L[c+8|0]=f;L[c+9|0]=f>>>8;L[c+10|0]=f>>>16;L[c+11|0]=f>>>24;L[c+12|0]=a;L[c+13|0]=a>>>8;L[c+14|0]=a>>>16;L[c+15|0]=a>>>24;a=O[17685]|O[17686]<<8|(O[17687]<<16|O[17688]<<24);f=O[17681]|O[17682]<<8|(O[17683]<<16|O[17684]<<24);L[c|0]=f;L[c+1|0]=f>>>8;L[c+2|0]=f>>>16;L[c+3|0]=f>>>24;L[c+4|0]=a;L[c+5|0]=a>>>8;L[c+6|0]=a>>>16;L[c+7|0]=a>>>24;N[d>>2]=b;N[e>>2]=0;a=0}return a|0}function Ye(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}b=N[a+80>>2];if(b){Qa[b|0](N[a+48>>2])}b=N[a+84>>2];if(b){Qa[b|0](N[a+52>>2])}b=N[a+88>>2];if(b){Qa[b|0](N[a+56>>2])}b=N[a+92>>2];if(b){Qa[b|0](N[a+60>>2])}b=N[a+96>>2];if(b){Qa[b|0](N[a- -64>>2])}b=N[a+100>>2];if(b){Qa[b|0](N[a+68>>2])}b=N[a+104>>2];if(b){Qa[b|0](N[a+72>>2])}b=N[a+108>>2];if(b){Qa[b|0](N[a+76>>2])}Ye(N[a+12>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function nd(a,b){var c=0,d=0,e=0;a:{b:{switch(O[a|0]){case 0:c=O[a+2|0]|O[a+3|0]<<8;if(!c){break a}c=(c<<8|c>>>8)&65535;b=b>>>0>>0?b:c-1|0;d=O[a+1|0];e=d>>>4&3;c=e+1|0;b=T(b,c)+a|0;a=O[b+4|0];c:{if(!e){break c}a=O[b+5|0]|a<<8;if((c|0)==2){break c}a=O[b+6|0]|a<<8;if((c|0)==3){break c}a=O[b+7|0]|a<<8}b=(d&15)+1|0;return a>>>b<<16|(-1<>>8&65280|c>>>24);b=b>>>0>>0?b:c-1|0;d=O[a+1|0];e=d>>>4&3;c=e+1|0;b=T(b,c)+a|0;a=O[b+6|0];d:{if(!e){break d}a=O[b+7|0]|a<<8;if((c|0)==2){break d}a=O[b+8|0]|a<<8;if((c|0)==3){break d}a=O[b+9|0]|a<<8}b=(d&15)+1|0;b=a>>>b<<16|(-1<>2];if(e){d=N[e+3132>>2];if(!d){a=N[a+100>>2];d=Qa[N[a+4>>2]](a,2)|0;if(!d){return 64}M[d>>1]=0;a=N[e+1500>>2];a:{if((a|0)==65535){break a}b:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=Q[e+1356>>2]){break a}a=N[N[e+1360>>2]+(a<<2)>>2];break b}f=N[e+3084>>2];if(!f){break a}a=Qa[N[f+20>>2]](a)|0}if(!a){break a}a=ub(a,15611);if(!a){break a}a=a+7|0;f=ub(a,15269);if(!f|(a|0)==(f|0)){break a}while(1){c:{c=O[a|0];d:{if((c-48&255)>>>0<=9){c=P[d>>1];if(c>>>0>6551){break c}c=T(c,10);M[d>>1]=c;M[d>>1]=(c+L[a|0]|0)-48;break d}c=c-10|0;if(c>>>0>22|!(1<>1]=0}N[e+3132>>2]=d}M[b>>1]=P[d>>1]}return 0}function Up(a,b){var c=0,d=0,e=0;a:{b:{c:{if(!b){break c}c=N[b>>2];if(!c){break c}if((c|0)<=0){break b}N[b>>2]=c+1}L[a+24|0]=0;N[a+32>>2]=b;d=N[b+12>>2];N[a+4>>2]=d;e=N[b+16>>2];N[a+8>>2]=e+d;if((e|0)<0){break a}N[a+28>>2]=0;if(e>>>0>67108863){c=1073741823}else{c=e<<6;c=c>>>0<=16384?16384:c;c=c>>>0>=1073741823?1073741823:c}N[a+12>>2]=c;N[a+20>>2]=0;N[a>>2]=0;if(!d){ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;return b}d:{e:{if(e>>>0>=36){N[a+12>>2]=c-36;c=O[d|0]|O[d+1|0]<<8;ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if((c|0)!=256){break e}if(!N[b+4>>2]){break d}N[b+4>>2]=0;return b}ab(b);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0}ab(b);b=275552}return b}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function od(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=U(0),k=0,l=U(0),m=U(0);i=a+16|0;j=U(U(e)*c);c=U(U(d)*b);k=N[a+12>>2];g=N[a+8>>2];a:{if(O[a+4|0]){if(!N[i>>2]){h=N[g+12>>2];b=R[a+28>>2];l=R[a+32>>2];f=N[g+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[h|0](g,k,i,b,l,f);N[a+16>>2]=1;f=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=f}f=N[g+16>>2];h=N[g+32>>2];if(!h){Qa[f|0](g,k,i,c,j,0);break a}Qa[f|0](g,k,i,c,j,N[h+4>>2]);break a}b=U(j*R[a>>2]);if(!N[a+16>>2]){h=N[g+12>>2];l=R[a+28>>2];m=R[a+32>>2];f=N[g+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[h|0](g,k,i,l,m,f);N[a+16>>2]=1;f=N[a+32>>2];N[a+20>>2]=N[a+28>>2];N[a+24>>2]=f}h=N[g+16>>2];c=U(b+c);f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[h|0](g,k,i,c,j,f)}R[a+32>>2]=j;R[a+28>>2]=c}function di(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=c>>31;i=(d^c)-d|0;a:{b:{d=b>>31;d=(d^b)-d|0;f=a>>31;f=(f^a)-f|0;if(d+f>>>0<=131071){d=T(d,f);break b}h=d>>>16|0;g=f>>>16|0;e=T(h,f&65535)+T(g,d&65535)|0;d=T(d,f);e=((e>>>16|0)+T(h,g)|0)+(d>>>0>>0)|0;if(!e){break b}f=2147483647;if(e>>>0>=i>>>0){break a}h=W(e);g=32-h|0;e=d>>>g|e<>>0)/(i>>>0)|0;e=e-T(f,i)|0;d=d<>>31;g=e>>>0>=i>>>0;e=e-(g?i:0)|0;f=g|f<<1;g=h^31;d=d<<1}if((h|0)==31){break a}while(1){e=e<<1|d>>>31;h=e>>>0>=i>>>0;e=d>>>30&1|e-(h?i:0)<<1;j=e>>>0>=i>>>0;e=e-(j?i:0)|0;f=f<<2|h<<1|j;d=d<<2;g=g-2|0;if(g){continue}break}break a}f=(d>>>0)/(i>>>0)|0}a=a>>31|1;a=(b|0)<0?0-a|0:a;return(((c|0)<0?0-a|0:a)|0)<0?0-f|0:f}function ar(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=275552;c=N[N[N[a+4>>2]+144>>2]>>2];c=c?c:275552;d=Q[c+16>>2]<4?275552:N[c+12>>2];a:{if((O[d|0]|O[d+1|0]<<8)!=256){break a}c=275552;f=O[d+8|0]|O[d+9|0]<<8;if(f){c=d+((f<<8|f>>>8)&65535)|0}d=O[c|0]|O[c+1|0]<<8;if(((d<<8|d>>>8)&65535)>>>0<=b>>>0){break a}b=(b<<1)+c|0;b=O[b+2|0]|O[b+3|0]<<8;if(!b){break a}e=((b<<8|b>>>8)&65535)+c|0}c=O[e+4|0]|O[e+5|0]<<8;if(c){b=O[e|0]|O[e+1|0]<<8;f=(b<<8|b>>>8)&65535;b=e+4|0;c=(c<<8|c>>>8)&65535;g=c>>>0<=1?1:c;c=0;while(1){d=O[b|0]|O[b+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=c>>>0?275552:(b+(c<<1)|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+e|0}else{d=275552}Xj(d,a,f);c=c+1|0;if((g|0)!=(c|0)){continue}break}}}function Hv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=La-32|0;La=c;e=N[b+96>>2];a:{if((e|0)<0|N[a+300>>2]<=(e|0)){break a}g=N[a+304>>2];if((Qa[N[b+52>>2]](b,6,c,3)|0)<6){break a}f=N[c+12>>2];if(!f){break a}h=T(e,252)+g|0;i=h+216|0;d=f>>31;d=(d^f)-d|0;b:{if((d|0)==65536){a=N[c>>2];break b}k=a,l=fb(1e3,d),M[k+68>>1]=l;a=fb(N[c>>2],d);k=c,l=fb(N[c+4>>2],d),N[k+4>>2]=l;k=c,l=fb(N[c+8>>2],d),N[k+8>>2]=l;k=c,l=fb(N[c+16>>2],d),N[k+16>>2]=l;j=N[c+20>>2];N[c+12>>2]=(f|0)<0?-65536:65536;k=c,l=fb(j,d),N[k+20>>2]=l}N[i>>2]=a;a=T(e,252)+g|0;N[a+224>>2]=N[c+4>>2];N[a+220>>2]=N[c+8>>2];N[a+228>>2]=N[c+12>>2];if(!ig(i)){N[b+12>>2]=3;break a}N[h+232>>2]=M[c+18>>1];N[a+236>>2]=M[c+22>>1]}La=c+32|0}function gz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=La-32|0;La=e;d=N[a+28>>2];N[e+16>>2]=d;f=N[a+20>>2];N[e+28>>2]=c;N[e+24>>2]=b;b=f-d|0;N[e+20>>2]=b;f=b+c|0;i=2;b=e+16|0;a:{while(1){b:{c:{d=Ia(N[a+60>>2],b|0,i|0,e+12|0)|0;if(d){N[147316]=d;d=-1}else{d=0}d:{if(!d){g=N[e+12>>2];if((g|0)==(f|0)){break d}if((g|0)>=0){break c}break b}if((f|0)!=-1){break b}}b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;N[a+16>>2]=b+N[a+48>>2];a=c;break a}h=N[b+4>>2];j=h>>>0>>0;d=(j<<3)+b|0;h=g-(j?h:0)|0;N[d>>2]=h+N[d>>2];b=(j?12:4)+b|0;N[b>>2]=N[b>>2]-h;f=f-g|0;i=i-j|0;b=d;continue}break}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a>>2]=N[a>>2]|32;a=0;if((i|0)==2){break a}a=c-N[b+4>>2]|0}La=e+32|0;return a|0}function $p(a,b,c){var d=0,e=0;a:{b:{switch(O[a|0]){case 0:if(!b|b>>>0>=c>>>0){break a}a=((b<<1)+a|0)-1|0;a=O[a|0]|O[a+1|0]<<8;return(a<<8|a>>>8)&65535;case 1:if(!b|b>>>0>=c>>>0){break a}c=a+1|0;a=O[a+3|0];b=b-1|0;if(a>>>0>>0){while(1){b=(a^-1)+b|0;d=d+1|0;a=O[(c+T(d,3)|0)+2|0];if(b>>>0>a>>>0){continue}break}}a=c+T(d,3)|0;a=O[a|0]|O[a+1|0]<<8;return((a<<8|a>>>8)&65535)+b|0;case 2:break b;default:break a}}if(!b|b>>>0>=c>>>0){break a}c=a+1|0;a=O[a+3|0]|O[a+4|0]<<8;a=(a<<8|a>>>8)&65535;b=b-1|0;if(a>>>0>>0){while(1){e=a^-1;d=d+1|0;a=c+(d<<2)|0;a=O[a+2|0]|O[a+3|0]<<8;a=(a<<8|a>>>8)&65535;b=b+e|0;if(a>>>0>>0){continue}break}}a=c+(d<<2)|0;a=O[a|0]|O[a+1|0]<<8;d=((a<<8|a>>>8)&65535)+b|0}return d}function sy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){a=N[a+392>>2]+(b<<2)|0;N[a>>2]=N[a>>2]+c}}function SC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=U(0),j=U(0),k=0,l=0,m=0,n=0,o=0;h=La-16|0;La=h;k=N[b+12>>2];a:{if(O[b+6|0]){if(k){a=N[k+128>>2];j=U(N[a+4>>2]);i=U(N[a>>2])}else{i=U(0)}i=U(U(aa(U(U(i*i)+U(j*j))))*U(152587890625e-16));break a}i=U(N[a+28>>2]>>31|1)}if(c){n=N[b>>2];o=b+20|0;while(1){N[h+12>>2]=0;b=N[d>>2];l=((b&255)<<2)+o|0;a=N[l>>2];b:{if(!((a|0)==-1|(a>>>24|0)!=(b>>>8|0))){a=a&16777215;break b}In(k,b,n,h+12|0);a=N[h+12>>2];if(b>>>0>65535|a>>>0>16777215){break b}N[l>>2]=b<<16&-16777216|a}j=U(U(U(a|0)*i)+U(512));c:{if(U(V(j))>2]=a>>10;f=f+g|0;d=d+e|0;m=m+1|0;if((m|0)!=(c|0)){continue}break}}La=h+16|0}function vl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=N[a+68>>2];h=N[a+36>>2];if((h|0)!=N[b+36>>2]){a=N[b+68>>2];if(f){return a?1:2}return((a|0)!=0)<<1}c=2;a:{b:{if((f|0)!=N[b+68>>2]){break b}if(!f){return 0}d=N[a+80>>2];e=N[b+80>>2];c=0;while(1){c=N[d>>2]==N[e>>2]?c:c|16;c=N[d+8>>2]==N[e+8>>2]?c:c|32;c=(N[e+4>>2]^N[d+4>>2])&7?c|64:c;e=e+20|0;d=d+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}if((h|0)!=2){break b}if(!O[a+63|0]){break a}f=f>>>0<=1?1:f;d=N[a+88>>2];e=N[b+88>>2];g=0;while(1){c:{if(!(N[d>>2]!=N[e>>2]|N[d+4>>2]!=N[e+4>>2]|N[d+8>>2]!=N[e+8>>2])){if(N[d+12>>2]==N[e+12>>2]){break c}}return c|128}e=e+20|0;d=d+20|0;g=g+1|0;if((f|0)!=(g|0)){continue}break}}return c}ba(10592,17855,2111,15199);B()}function Id(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{d=N[b+4>>2];c=a+4|0;if(d>>>0>c>>>0){break a}f=N[b+8>>2];if(f>>>0>>0|f-c>>>0<2){break a}e=N[b+12>>2];h=e-2|0;N[b+12>>2]=h;g=1;if((h|0)<=0){break a}b:{c:{d:{c=O[c|0]|O[c+1|0]<<8;h=c<<8|c>>>8;c=h&65535;if(c-1>>>0>=3){if((c|0)!=32768){break b}if(a>>>0>=d>>>0){break d}break a}if(a>>>0>>0){break a}f=f-a|0;if(f>>>0<6){break a}c=e-8|0;N[b+12>>2]=c;if((c|0)<=0){break a}d=O[a+2|0]|O[a+3|0]<<8;d=(d<<8|d>>>8)&65535;a=O[a|0]|O[a+1|0]<<8;a=(a<<8|a>>>8)&65535;e=c-6|0;if(d>>>0>>0){break c}a=(d-a>>>4-(h&65535)<<1)+8|0;if(!a){break b}g=0;if(a>>>0>f>>>0){break b}e=c-a|0;break c}g=0;if(f-a>>>0<6){break b}e=e-8|0}g=e;N[b+12>>2]=g;g=(g|0)>0}return g}return 0}function hB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;N[a+32>>2]=c;a:{b:{if((b|0)<0){d=6;break b}c:{d:{e:{f:{if(b){d=10;if((b|0)>536870911){break b}f=b<<2;d=Qa[N[c+4>>2]](c,f)|0;if(d?(b|0)>0:0){break f}N[a+24>>2]=d;e=a+24|0;if(d){break e}d=!d<<6;break a}N[a+24>>2]=0;N[a+28>>2]=0;break d}C(d,0,f);N[a+24>>2]=d;e=a+24|0}d=Qa[N[c+4>>2]](c,f)|0;if(!(!d|(b|0)<=0)){C(d,0,f);N[a+28>>2]=d;break d}N[a+28>>2]=d;if(!d){break c}}N[a+20>>2]=0;N[a+16>>2]=b;N[a+8>>2]=0;N[a+12>>2]=-559038737;N[a>>2]=0;N[a+4>>2]=0;b=N[73522];N[a+36>>2]=N[73521];N[a+40>>2]=b;b=N[73524];N[a+44>>2]=N[73523];N[a+48>>2]=b;return 0}d=!d<<6;a=N[e>>2];if(!a){break a}Qa[N[c+8>>2]](c,a);break a}N[a+24>>2]=0;e=a+24|0}N[e>>2]=0;return d|0}function jx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=La-1536|0;La=f;a:{b:{if(d&16){if(!c){break b}d=0;C(e,0,c<<2);break a}d=Qa[N[N[N[a+492>>2]+12>>2]>>2]](f+8|0,a,0,0,N[a+424>>2],N[a+532>>2],0,0,147)|0;if(d){break a}L[f+76|0]=0;L[f+78|0]=1;N[f+1372>>2]=N[a+404>>2];N[f+1376>>2]=N[a+408>>2];N[f+1380>>2]=N[a+412>>2];N[f+1384>>2]=N[a+416>>2];N[f+1504>>2]=N[a+548>>2];N[f+1508>>2]=N[a+544>>2];d=0;if(!c){break a}a=0;while(1){g=(a<<2)+e|0;c:{if(!$e(f+8|0,a+b|0,f+1528|0,f+1527|0)){d=N[N[N[f+12>>2]+128>>2]+52>>2];if(d){Qa[N[N[d>>2]+4>>2]](N[d+4>>2],f+1528|0)}d=N[f+48>>2];d=((d>>31)+d|0)+32768>>16;break c}d=0}N[g>>2]=d;a=a+1|0;if((c|0)!=(a|0)){continue}break}}d=0}La=f+1536|0;return d|0}function hj(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=U(0),l=U(0);h=a+16|0;l=U(U(e)*c);c=U(U(d)*b);j=N[a+12>>2];g=N[a+8>>2];a:{b:{if(O[a+4|0]){if(!N[h>>2]){break a}k=R[a+20>>2];b=R[a+24>>2];if(!(k==R[a+28>>2]&b==R[a+32>>2])){i=N[g+16>>2];f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[i|0](g,j,h,k,b,f)}f=N[g+28>>2];i=N[g+32>>2];if(!i){Qa[f|0](g,j,h,0);break b}Qa[f|0](g,j,h,N[i+16>>2]);break b}c=U(U(l*R[a>>2])+c);if(!N[a+16>>2]){break a}k=R[a+20>>2];b=R[a+24>>2];if(!(k==R[a+28>>2]&b==R[a+32>>2])){i=N[g+16>>2];f=N[g+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[i|0](g,j,h,k,b,f)}i=N[g+28>>2];f=N[g+32>>2];if(f){f=N[f+16>>2]}else{f=0}Qa[i|0](g,j,h,f)}N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0}R[a+32>>2]=l;R[a+28>>2]=c}function ne(a,b,c){var d=0,e=0,f=0;d=O[b|0];if((d|0)==30){return Xf(a,b,c,0)}f=b+1|0;a:{b:{switch(d-28|0){case 0:e=0;if(Q[a+8>>2]<=b+2>>>0){break a}e=(O[b+2|0]|O[f|0]<<8)<<16>>16;break a;case 1:e=0;if(Q[a+8>>2]<=b+4>>>0){break a}a=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);e=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);break a;default:break b}}e=d-139|0;if(d>>>0<=246){break a}a=N[a+8>>2];if(d>>>0<=250){e=0;if(a>>>0<=f>>>0){break a}e=(O[f|0]|d<<8)-63124|0;break a}e=0;if(a>>>0<=f>>>0){break a}e=64148-(O[f|0]|d<<8)|0}d=e;if(c){a=c<<2;b=d>>31;if(N[a+33520>>2]<((b^d)-b|0)){return(d|0)>0?2147483647:-2147483647}d=T(N[a+33472>>2],d)}return(d|0)>32767?2147483647:(d|0)<-32767?-2147483647:d<<16}function Se(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;a:{b:{c:{d:{d=O[a|0]|O[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}c=b;b=O[a+2|0]|O[a+3|0]<<8;b=c-((b<<8|b>>>8)&65535)|0;d=O[a+4|0]|O[a+5|0]<<8;c=275552;if(b>>>0>=((d<<8|d>>>8)&65535)>>>0){break b}c=((b<<1)+a|0)+6|0;break b}f=241305;c=O[a+2|0]|O[a+3|0]<<8;e:{if(!c){break e}g=a+4|0;a=((c<<8|c>>>8)&65535)-1|0;c=0;while(1){d=a+c>>>1|0;e=T(d,6)+g|0;h=O[e|0]|O[e+1|0]<<8;f:{if(((h<<8|h>>>8)&65535)>>>0<=b>>>0){c=O[e+2|0]|O[e+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>>0){c=d+1|0;break f}f=T(d,6)+g|0;break e}a=d-1|0}if((a|0)>=(c|0)){continue}break}}c=f+4|0}a=O[c|0]|O[c+1|0]<<8;c=(a<<8|a>>>8)&65535}return c}function ry(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;a:{if(N[a+356>>2]!=3){break a}d=N[a+392>>2];if((d|0)!=N[a+404>>2]){break a}b:{i=N[a+388>>2];e=N[a+396>>2];c:{if(i>>>0<=e>>>0){f=e<<2;e=N[a+400>>2];break c}f=i<<2;g=e<<2;if((f|g)<0){d=6;break b}d=N[a+8>>2];h=N[a+400>>2];d:{e:{f:{if(!f){e=0;if(!h){break f}Qa[N[d+8>>2]](d,h);N[a+400>>2]=0;break d}g:{if(!g){e=Qa[N[d+4>>2]](d,f)|0;d=!e<<6;break g}d=Qa[N[d+12>>2]](d,g,f,h)|0;e=d?d:h;d=!d<<6}if(d|(f|0)<=(g|0)|!e){break e}C(e+g|0,0,f-g|0)}N[a+400>>2]=e;break d}N[a+400>>2]=e;if(d){break b}}N[a+396>>2]=i;d=N[a+392>>2]}N[a+12>>2]=0;F(e,d,f);N[a+392>>2]=N[a+400>>2];break a}N[a+12>>2]=d}if(!N[a+12>>2]){N[N[a+392>>2]+(b<<2)>>2]=c}}function gb(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{if(!O[a+60|0]){break c}if(Q[a+148>>2]>>0){L[a+60|0]=0;return 0}e=N[a+80>>2];f=N[a+84>>2];if(b>>>0>214748364){break b}d=N[a+76>>2];if(d>>>0<=b>>>0){while(1){d=((d>>>1|0)+d|0)+32|0;if(d>>>0<=b>>>0){continue}break}}c=UE(d,0,20,0);if(Pa){break b}b=$a(N[a+88>>2],c);c=$a(N[a+80>>2],c);if(!(c?b:0)){L[a+60|0]=0;d:{if(b){N[a+88>>2]=b;if(!c){break d}break a}b=N[a+88>>2];if(c){break a}}N[a+84>>2]=(e|0)==(f|0)?N[a+80>>2]:b;return 0}N[a+88>>2]=b;N[a+80>>2]=c;N[a+84>>2]=(e|0)==(f|0)?c:b;if(!O[a+60|0]){break c}N[a+76>>2]=d;g=1}return g}L[a+60|0]=0;N[a+84>>2]=(e|0)==(f|0)?e:N[a+88>>2];return 0}N[a+80>>2]=c;N[a+84>>2]=(e|0)==(f|0)?c:b;return 0}function Qk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];c=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);a:{if((c|0)==-1){break a}d=275552;e=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((e<<8|e>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}a=O[d|0]|O[d+1|0]<<8;if(!a){break a}e=(a<<8|a>>>8)&65535;c=d+2|0;while(1){a=O[c|0]|O[c+1|0]<<8;if(a){a=((a<<8|a>>>8)&65535)+d|0}else{a=275552}f=O[a|0]|O[a+1|0]<<8;g=(f<<8|f>>>8)&65535;h=a+4|0;a=O[a+2|0]|O[a+3|0]<<8;f=Re(b,g,h,(a<<8|a>>>8)&65535,(f?(g<<1)-2|0:0)+h|0,246,0);if(f){break a}c=c+2|0;e=e-1|0;if(e){continue}break}}return f|0}function mj(a){var b=0;ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(N[a+96>>2]){N[a+96>>2]=0}_a(N[a+100>>2]);N[a+100>>2]=0;N[a+92>>2]=0;N[a+96>>2]=0;b=N[a+196>>2];if(b){while(1){b=(N[a+200>>2]+(b<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+196>>2]-1|0;N[a+196>>2]=b;if(b){continue}break}}_a(N[a+200>>2]);N[a+200>>2]=0;N[a+192>>2]=0;N[a+196>>2]=0;b=N[a+208>>2];if(b){while(1){b=(N[a+212>>2]+T(b,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+208>>2]-1|0;N[a+208>>2]=b;if(b){continue}break}}_a(N[a+212>>2]);N[a+212>>2]=0;N[a+204>>2]=0;N[a+208>>2]=0;ab(N[a+44>>2]);N[a+44>>2]=0}function Oc(a,b){var c=0,d=0,e=0,f=0;c=La+-64|0;La=c;d=N[a>>2];e=N[d-4>>2];f=N[d-8>>2];N[c+28>>2]=0;N[c+32>>2]=0;N[c+36>>2]=0;N[c+40>>2]=0;N[c+44>>2]=0;N[c+48>>2]=0;N[c+52>>2]=0;N[c+56>>2]=0;d=0;L[c+59|0]=0;L[c+60|0]=0;L[c+61|0]=0;L[c+62|0]=0;N[c+20>>2]=0;N[c+24>>2]=0;N[c+16>>2]=584492;N[c+12>>2]=a;N[c+8>>2]=b;a=a+f|0;a:{if($b(e,b,0)){N[c+56>>2]=1;Qa[N[N[e>>2]+20>>2]](e,c+8|0,a,a,1,0);d=N[c+32>>2]==1?a:0;break a}Qa[N[N[e>>2]+24>>2]](e,c+8|0,a,1,0);b:{switch(N[c+44>>2]){case 0:d=N[c+48>>2]==1?N[c+36>>2]==1?N[c+40>>2]==1?N[c+28>>2]:0:0:0;break a;case 1:break b;default:break a}}if(N[c+32>>2]!=1){if(N[c+48>>2]|N[c+36>>2]!=1|N[c+40>>2]!=1){break a}}d=N[c+24>>2]}La=c- -64|0;return d}function Wp(a){var b=0;ab(N[a+32>>2]);N[a+32>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;b=N[a+108>>2];if(b){while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b){continue}break}}_a(N[a+112>>2]);N[a+112>>2]=0;N[a+104>>2]=0;N[a+108>>2]=0;b=N[a+120>>2];if(b){while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b){continue}break}}_a(N[a+124>>2]);N[a+124>>2]=0;N[a+116>>2]=0;N[a+120>>2]=0;ab(N[a+44>>2]);N[a+44>>2]=0}function Vw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=La-16|0;La=f;g=N[a+532>>2];d=6;a:{if(!g){break a}h=N[g+4>>2];Jh(N[g+136>>2],f,h);i=b>>>0>h>>>0?h:b;if(i){while(1){n=j<<2;k=N[n+f>>2];d=T(j,12)+g|0;e=N[d+96>>2];b:{if((k|0)>N[e>>2]){a=1;l=O[d+88|0];if(l>>>0>1){while(1){m=a<<2;o=N[m+e>>2];if((k|0)<=(o|0)){a=m-4|0;e=N[a+e>>2];e=fb(k-e|0,o-e|0);d=N[d+92>>2];a=N[d+a>>2];a=T(N[d+m>>2]-a|0,e)+(a<<16)|0;break b}a=a+1|0;if((l|0)!=(a|0)){continue}break}}a=N[(N[d+92>>2]+(l<<2)|0)-4>>2]<<16;break b}a=N[N[d+92>>2]>>2]<<16}N[c+n>>2]=a;j=j+1|0;if((i|0)!=(j|0)){continue}break}}d=0;if(b>>>0<=h>>>0){break a}C((i<<2)+c|0,0,b-i<<2);d=0}La=f+16|0;return d|0}function Hf(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;h=N[b+4>>2];a:{if(h>>>0>a>>>0){break a}g=N[b+8>>2];if(g>>>0>>0|g-a>>>0<4){break a}i=N[b+12>>2];e=i-4|0;N[b+12>>2]=e;d=1;if((e|0)<=0){d=0;break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(!e){break a}if(e&128){d=0;break a}c=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+c|0;b:{if(c>>>0>>0|c>>>0>g>>>0|g-c>>>0<=7){break b}d=i-12|0;N[b+12>>2]=d;if((O[c|0]|O[c+1|0]<<8)!=256|(d|0)<=0){break b}if(!hh(c+2|0,b,c)){break b}N[f+12>>2]=c;d=1;if(gh(c+6|0,b,f+12|0)){break a}}c=N[b+28>>2];if(c>>>0>31){d=0;break a}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a|0]=0;L[a+1|0]=0;L[a+2|0]=0;L[a+3|0]=0;d=1}La=f+16|0;return d}function ul(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-108|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[d+8>>2]=0;N[d+12>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;L[d+24|0]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+28>>2]=0;N[d+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[d+40|0]=1;N[d+36>>2]=c;c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1836020344,N[b+16>>2])|0;if(b){break b}}b=275552}c=tl(d,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<8?275552:N[b+12>>2]}function sl(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-112|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[d+8>>2]=0;N[d+12>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;L[d+24|0]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+28>>2]=0;N[d+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[d+40|0]=1;N[d+36>>2]=c;c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1836020340,N[b+16>>2])|0;if(b){break b}}b=275552}c=rl(d,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<8?275552:N[b+12>>2]}function nk(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=O[a+2|0]|O[a+3|0]<<8;if(e){c=((e<<8|e>>>8)&65535)+a|0}else{c=275552}e=N[b+96>>2];c=vb(c,N[N[e+80>>2]+T(N[e+64>>2],20)>>2]);a:{if((c|0)==-1){break a}e=275552;d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){e=((c<<8|c>>>8)&65535)+a|0}a=O[e|0]|O[e+1|0]<<8;if(!a){break a}c=(a<<8|a>>>8)&65535;g=c>>>0<=1?1:c;a=0;f=1;while(1){d=O[e|0]|O[e+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=a>>>0?275552:((a<<1)+e|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+e|0}else{d=275552}if(jk(d,b)){break a}a=a+1|0;f=c>>>0>a>>>0;if((a|0)!=(g|0)){continue}break}}return f|0}function Kr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;a=b-44032|0;a:{b:{if(a>>>0<=11171){f=a&65535;e=(f>>>0)%28|0;if(e){a=e+4519|0;N[c>>2]=b-e;break b}b=(f>>>0)/588|0;a=(((a+T(b,-588)&65535)>>>0)/28|0)+4449|0;N[c>>2]=b|4352;break b}a=0;if(b>>>0>195101){break a}b=P[(O[(b>>>4&31|O[(b>>>9|0)+207950|0]<<5)+208332|0]<<5|(b&15)<<1)+221152>>1];if(!b){break a}if(b>>>0<=935){if(b>>>0<=825){b=P[(b<<1)+234510>>1]}else{b=P[(b<<1)+234524>>1]|131072}N[c>>2]=b;break b}a=b-936|0;if(a>>>0<=637){a=N[(a<<2)+228848>>2];N[c>>2]=a>>>21;a=a>>>14&127|768;break b}b=(b<<3)+218816|0;a=N[b>>2];b=N[b+4>>2];N[c>>2]=b>>>10;a=((b&2097151)<<11|a>>>21)&2097151}N[d>>2]=a;a=1}return a|0}function ax(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;d=La+-64|0;La=d;Qa[N[b+60>>2]](b,d+16|0,4,d+12|0);c=N[d+12>>2];a:{if((c|0)<0){c=162;break a}if(c-5>>>0<4294967292){c=3;break a}c=$f(a,0,c);if(c){break a}c=0;if(N[d+12>>2]<=0){break a}g=N[a+100>>2];j=N[a+532>>2];a=0;while(1){h=(d+16|0)+T(a,12)|0;c=N[h>>2];if(O[c|0]==47){c=c+1|0;N[h>>2]=c}e=N[h+4>>2];if((e|0)==(c|0)){c=3;break a}i=(a<<2)+j|0;f=N[i+8>>2];if(f){Qa[N[g+8>>2]](g,f)}b:{e=e-c|0;if(e>>>0>2147483646){c=6}else{f=Qa[N[g+4>>2]](g,e+1|0)|0;if(f){break b}c=64}N[i+8>>2]=0;break a}N[i+8>>2]=f;F(f,N[h>>2],e);c=0;L[e+f|0]=0;a=a+1|0;if((a|0)>2]){continue}break}}N[b+12>>2]=c;La=d- -64|0}function Hw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{if(!b){break b}c=30544;c:{if(!cb(9676,b)){break c}c=30552;if(!cb(10423,b)){break c}c=30560;if(!cb(10670,b)){break c}c=30568;if(!cb(12514,b)){break c}c=30576;if(!cb(15866,b)){break c}c=30584;if(!cb(9592,b)){break c}c=30592;if(!cb(10557,b)){break c}c=30600;if(!cb(20421,b)){break c}c=30608;if(!cb(11276,b)){break c}if(cb(16921,b)){break b}c=30616}c=N[c+4>>2];if(c){break a}}c=0;if(!a){break a}a=N[a+4>>2];if(!a){break a}d=N[a+16>>2];if((d|0)<=0){break a}a=a+20|0;d=a+(d<<2)|0;while(1){e=N[a>>2];f=N[e>>2];if(cb(N[f+8>>2],9195)){a=a+4|0;if(d>>>0>a>>>0){continue}break a}break}c=Qa[N[f+32>>2]](e,b)|0}return c|0}function Cz(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{if(!a){if(N[b>>2]){break b}tb(N[b+8>>2]);return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+44>>2];N[a+40>>2]=N[b+40>>2];N[a+44>>2]=c;c=N[b+36>>2];N[a+32>>2]=N[b+32>>2];N[a+36>>2]=c;c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;c:{switch(N[b>>2]-1|0){case 0:d=N[b+8>>2];c=N[b+12>>2];b=kb(c+1|0);if(b){F(b,d,c);L[b+c|0]=0}N[a+8>>2]=b;return(b|0)!=0|0;case 1:break c;default:break b}}a=N[b+8>>2];if(!a){break b}if(!N[a-8>>2]){break a}a=a-4|0;b=N[a>>2];if(!b){break a}N[a>>2]=b+1}return 1}ba(8916,18290,435,15229);B()}function ah(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=La-32|0;La=f;d=275552;e=O[a+2|0]|O[a+3|0]<<8;e=((((e<<8|e>>>8)&65535)<<1)+a|0)+4|0;if(O[e|0]|O[e+1|0]<<8){c=e+2|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}c=0;g=d;d=N[b+96>>2];if((vb(g,N[N[d+80>>2]+T(N[d+64>>2],20)>>2])|0)!=-1){c=O[e|0]|O[e+1|0]<<8;h=(c<<8|c>>>8)&65535;i=e+(h<<1)|0;c=i+2|0;d=O[c|0]|O[c+1|0]<<8;N[f+28>>2]=a;N[f+24>>2]=a;N[f+20>>2]=a;N[f+16>>2]=247;N[f+12>>2]=247;N[f+8>>2]=247;j=(d<<8|d>>>8)&65535;c=(j<<1)+c|0;d=O[c+2|0]|O[c+3|0]<<8;g=b;b=O[a+2|0]|O[a+3|0]<<8;c=Mf(g,(b<<8|b>>>8)&65535,a+4|0,h,e+4|0,j,i+4|0,(d<<8|d>>>8)&65535,c+4|0,f+8|0)}La=f+32|0;return c}function Od(a){var b=0,c=0,d=0,e=0;c=N[a+436>>2];a:{if(!c){break a}b=N[a+428>>2];if((b|0)<=0){break a}b=T(b,24)+c|0;d=O[a+376|0];while(1){if(!(!O[c+16|0]|(d|0)!=O[c+12|0])){b=N[a+448>>2];if((b|0)>=N[a+452>>2]){N[a+12>>2]=130;return}N[a+448>>2]=b+1;b=N[a+456>>2]+(b<<4)|0;N[b>>2]=N[a+360>>2];d=N[a+368>>2];N[b+12>>2]=c;N[b+8>>2]=1;N[b+4>>2]=d+1;b=N[c>>2];b:{if(b-4>>>0<=4294967292){N[a+12>>2]=132;break b}d=(b-1<<3)+a|0;e=N[d+464>>2];if(!e){N[a+12>>2]=138;break b}d=N[d+468>>2];c=N[c+4>>2];if((d|0)<(c|0)){N[a+12>>2]=131;break b}N[a+372>>2]=d;N[a+364>>2]=e;N[a+368>>2]=c;N[a+360>>2]=b}L[a+384|0]=0;return}c=c+24|0;if(b>>>0>c>>>0){continue}break}}N[a+12>>2]=128}function xl(a,b,c,d){var e=0,f=0,g=0,h=0;e=a+1|0;f=L[a|0];g=f&255;if((f|0)>=0){N[c>>2]=g;return e}a:{if(g-194>>>0<=29){if(b>>>0<=e>>>0){break a}b=O[a+1|0]-128|0;if(b>>>0>=64){break a}N[c>>2]=b|g<<6&1984;return a+2|0}if((g&240)==224){if((b-e|0)<2){break a}b=O[e|0]-128|0;if(b>>>0>63){break a}f=O[a+2|0]-128|0;if(f>>>0>63){break a}b=f|(g<<12&61440|b<<6);if(b>>>0<2048|(b&-2048)==55296){break a}N[c>>2]=b;return a+3|0}if((b-e|0)<3|g-240>>>0>4){break a}b=O[e|0]-128|0;if(b>>>0>63){break a}f=O[a+2|0]-128|0;if(f>>>0>63){break a}h=O[a+3|0]-128|0;if(h>>>0>63){break a}b=g<<18&1835008|b<<12|f<<6|h;if(b-65536>>>0>=1048576){break a}e=a+4|0;d=b}N[c>>2]=d;return e}function Oo(a,b){var c=0,d=0,e=0,f=0,g=0;a:{d=N[a+16>>2];if((d|0)!=N[a+12>>2]){c=N[a+24>>2];break a}b:{f=(d<<1)+16|0;c=N[a+8>>2];if(f>>>0<=2147483647/(c>>>0)>>>0){d=N[a+24>>2];g=T(c,f);c=N[a+20>>2];c:{if((g|c)<0){c=d;break c}e=N[a>>2];if(!g){c=0;if(!d){break b}Qa[N[e+8>>2]](e,d);break b}if(!c){c=Qa[N[e+4>>2]](e,g)|0;if(c){break b}c=0;break c}e=Qa[N[e+12>>2]](e,c,g,d)|0;c=e?e:d;if(e){break b}}N[a+24>>2]=c}a=N[a+4>>2];if(!(!a|N[a>>2])){N[a>>2]=64}return}N[a+20>>2]=g;N[a+12>>2]=f;N[a+24>>2]=c;d=N[a+16>>2];if(f>>>0>=d>>>0){break a}b=N[a+4>>2];if(!(!b|N[b>>2])){N[b>>2]=130}N[a+16>>2]=f;return}e=d;d=N[a+8>>2];F(T(e,d)+c|0,b,d);N[a+16>>2]=N[a+16>>2]+1}function YC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=La-16|0;La=f;a=0;N[f+12>>2]=0;a:{if(!c|!(O[c+8|0]&8)){break a}d=N[c+96>>2];e=N[N[d>>2]+32>>2];if(!e){break a}d=Qa[e|0](d,16067)|0;if(!d){break a}if(Qa[N[d>>2]](c,b,0,0,f+12|0)|0){break a}d=kb(N[f+12>>2]);if(!d){break a}b:{c:{if(!(O[c+8|0]&8)){break c}e=N[c+96>>2];g=N[N[e>>2]+32>>2];if(!g){break c}e=Qa[g|0](e,16067)|0;if(!e){break c}if(!(Qa[N[e>>2]](c,b,0,d,f+12|0)|0)){break b}}_a(d);break a}d:{b=N[f+12>>2];if(!b|(b|0)<0){break d}a=db(1,32);if(!a){break d}N[a+28>>2]=192;N[a+24>>2]=d;N[a+20>>2]=2;N[a+16>>2]=b;N[a+12>>2]=d;N[a>>2]=1;N[a+4>>2]=1;break a}_a(d);a=275552}La=f+16|0;return a|0}function lw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+712>>2];a:{b:{if(!e){break b}f=N[e+1504>>2];a=6;if((f|0)==65535){break a}if(b){a=N[e+3096>>2];if(!a){c:{if(f>>>0>=391){f=f-391|0;g=0;if(f>>>0>=Q[e+1356>>2]){break c}g=N[N[e+1360>>2]+(f<<2)>>2];break c}a=N[e+3084>>2];g=0;if(!a){break c}g=Qa[N[a+20>>2]](f)|0}a=g;N[e+3096>>2]=a}N[b>>2]=a}if(c){a=N[e+3100>>2];if(!a){a=0;b=N[e+1508>>2];d:{if((b|0)==65535){break d}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[e+1356>>2]){break d}a=N[N[e+1360>>2]+(b<<2)>>2];break d}f=N[e+3084>>2];if(!f){break d}a=Qa[N[f+20>>2]](b)|0}N[e+3100>>2]=a}N[c>>2]=a}if(!d){break b}N[d>>2]=N[e+1512>>2]}a=0}return a|0}function Ll(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=N[a+28>>2];a:{if((b|0)==-1){break a}d=N[a+36>>2];f=N[a+40>>2];if(d>>>0>=f>>>0){break a}g=N[a>>2];e=b+1|0;h=N[a+16>>2]+16|0;while(1){b:{b=T(d,12)+h|0;c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0>>0?e:c;c=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(e>>>0>(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break b}b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(!b|b>>>0>=Q[g+16>>2]){break b}N[a+36>>2]=d;N[a+32>>2]=b;N[a+28>>2]=e;return}d=d+1|0;if((f|0)!=(d|0)){continue}break}}L[a+24|0]=0}function JE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=N[c+68>>2];if(e){f=e-1|0;g=N[c+80>>2];d=g+3|0;a=0;b=O[g+15|0];while(1){a:{if((a|0)==(f|0)){a=e;break a}a=a+1|0;if((b|0)==O[(d+T(a,20)|0)+12|0]){continue}}break}i=g+2|0;d=0;h=g;f=e;while(1){b=a;b:{if(a>>>0<=d>>>0){break b}while(1){a=T(d,20);if(O[(a+g|0)+12|0]&16){L[(a+i|0)+16|0]=22;h=N[c+80>>2];f=N[c+68>>2];break b}d=d+1|0;if((b|0)!=(d|0)){continue}break}}a=b+1|0;d=a>>>0>>0?f:a;j=d-1|0;k=h+3|0;l=O[(T(b,20)+h|0)+15|0];a=b;while(1){c:{if((a|0)==(j|0)){a=d;break c}a=a+1|0;if(O[(T(a,20)+k|0)+12|0]==(l|0)){continue}}break}d=b;if(e>>>0>d>>>0){continue}break}}return 0}function Og(a){var b=0,c=0,d=0;a:{b:{if(O[a+62|0]){c=N[a+84>>2];d=N[a+80>>2];b=N[a+72>>2];if(!((c|0)==(d|0)&(b|0)==N[a+64>>2])){b=b+1|0;if(!(!b|b>>>0>2])){if(!gb(a,b)){break b}c=N[a+84>>2];d=N[a+80>>2]}c:{if((c|0)!=(d|0)){break c}b=N[a+72>>2];if(b+1>>>0<=N[a+64>>2]+1>>>0){c=d;break c}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;b=T(b,20);if(!b){break c}F(c,d,b);c=N[a+84>>2];d=N[a+80>>2]}b=T(N[a+72>>2],20)+c|0;c=T(N[a+64>>2],20)+d|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;b=N[a+72>>2]}N[a+72>>2]=b+1}N[a+64>>2]=N[a+64>>2]+1}return}ba(8694,17855,209,11932);B()}function _t(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=La-16|0;La=d;h=6;f=N[a+140>>2];a:{if(!f|!b|(!N[f+72>>2]|!O[b|0])){break a}e=N[f+92>>2];N[d+8>>2]=b;g=N[e+20>>2];b=g+((Qa[N[e+12>>2]](d+8|0)>>>0)%Q[e+4>>2]<<2)|0;a=N[b>>2];b:{if(!a){break b}while(1){if(Qa[N[e+16>>2]](a,d+8|0)|0){break b}b=b-4|0;if(g>>>0>b>>>0){b=((N[e+4>>2]<<2)+g|0)-4|0}a=N[b>>2];if(a){continue}break}}a=N[b>>2];if(!a){break a}b=N[f+80>>2];if(!b){break a}c:{d:{e:{f:{a=b+(N[a+4>>2]<<4)|0;switch(N[a+4>>2]-1|0){case 2:break d;case 1:break e;case 0:break f;default:break a}}N[c>>2]=1;break c}N[c>>2]=2;break c}N[c>>2]=3}N[c+4>>2]=N[a+12>>2];h=0}La=d+16|0;return h|0}function Zz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=La-16|0;La=f;a=0;N[f+12>>2]=0;a:{if(!c|!(O[c+8|0]&8)){break a}d=N[c+96>>2];e=N[N[d>>2]+32>>2];if(!e){break a}d=Qa[e|0](d,16067)|0;if(!d){break a}if(Qa[N[d>>2]](c,b,0,0,f+12|0)|0){break a}d=kb(N[f+12>>2]);if(!d){break a}b:{c:{if(!(O[c+8|0]&8)){break c}e=N[c+96>>2];g=N[N[e>>2]+32>>2];if(!g){break c}e=Qa[g|0](e,16067)|0;if(!e){break c}if(Qa[N[e>>2]](c,b,0,d,f+12|0)|0){break c}b=N[f+12>>2];if(!b|(b|0)<0){break b}a=db(1,32);if(!a){break b}N[a+28>>2]=192;N[a+24>>2]=d;N[a+20>>2]=2;N[a+16>>2]=b;N[a+12>>2]=d;N[a>>2]=1;N[a+4>>2]=1;break a}_a(d);break a}_a(d);a=275552}La=f+16|0;return a|0}function QC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=U(0),i=U(0),j=U(0);f=N[b+12>>2];a:{if(O[b+6|0]){if(f){a=N[f+128>>2];h=U(N[a+12>>2]);i=U(N[a+4>>2]);j=U(N[a>>2]);g=U(N[a+8>>2])}else{g=U(0)}h=U(U(aa(U(U(g*g)+U(h*h))))*U(152587890625e-16));g=U(U(aa(U(U(j*j)+U(i*i))))*U(152587890625e-16));break a}h=U(N[a+32>>2]>>31|1);g=U(N[a+28>>2]>>31|1)}if(vc(f,c,N[b>>2])){return 0}a=N[f+84>>2];N[d>>2]=N[a+32>>2]-N[a+44>>2];N[e>>2]=N[a+48>>2]+N[a+36>>2];g=U(g*U(N[d>>2]));b:{if(U(V(g))>2]=a;g=U(h*U(N[e>>2]));c:{if(U(V(g))>2]=a;return 1}function Df(a,b,c){var d=0,e=0,f=0;if(b){e=N[a- -64>>2];a:{b:{c:{f=N[a+60>>2];if((f|0)>=0){d=e+1|0;d=(d|0)>0?d:0;if(d>>>0<=f>>>0){break b}while(1){f=((f>>>1|0)+f|0)+8|0;if(d>>>0>=f>>>0){continue}break}if(f>>>0<=153391689){e=$a(N[a+68>>2],T(f,28));if(e){break c}e=N[a+64>>2]}N[a+60>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;d=589824;break a}N[a+60>>2]=f;N[a+68>>2]=e;e=N[a+64>>2]}if(d>>>0>e>>>0){C(N[a+68>>2]+T(e,28)|0,0,T(d-e|0,28))}N[a+64>>2]=d;e=d;d=(N[a+68>>2]+T(d,28)|0)-28|0}N[d+12>>2]=c;N[d+8>>2]=1;N[d+4>>2]=e;N[d>>2]=b;N[d+16>>2]=0-(c&1)&1;N[d+20>>2]=N[a+52>>2];N[d+24>>2]=N[a+56>>2]}}function $m(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=N[a>>2];if(!k){return 65536}g=65536;a:{if(!(b&16384)){while(1){b=g;e=h<<2;d=N[e+c>>2];b:{if(!d){break b}e=N[e+N[a+8>>2]>>2];if(!e){return 0}if((d|0)==(e|0)){break b}g=0;if((e|0)<(d&d>>31)|(e|0)>(((d|0)>0?d:0)|0)){break a}b=jb(b,e,d)}g=b;h=h+1|0;if(k>>>0>h>>>0){continue}break a}}while(1){b=g;f=h<<2;j=N[f+c>>2];c:{if(!j){break c}g=0;i=N[f+N[a+8>>2]>>2];if(!i){break a}if((i|0)==(j|0)){break c}l=N[d+f>>2];if((l|0)>=(i|0)){break a}f=N[e+f>>2];if((f|0)<=(i|0)){break a}if((i|0)<(j|0)){b=jb(b,i-l|0,j-l|0);break c}b=jb(b,f-i|0,f-j|0)}g=b;h=h+1|0;if((k|0)!=(h|0)){continue}break}}return g}function Hd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=N[b+12>>2];c=N[a>>2];d=Qa[N[f+24>>2]](f,c,N[f+56>>2])|0;if(c>>>0>=128){h=N[b+144>>2];N[b+144>>2]=h|1;e=d;a:{if(!Cj(c)){break a}N[b+144>>2]=h|3;g=c-6155|0;e=d|96;if(!(g>>>0>4|(g|0)==3)){break a}b:{switch(c-8204|0){case 0:e=d|544;break a;case 1:e=d|288;break a;default:break b}}e=d|96;if(c-917536>>>0<=95){break a}e=d|32;if((c|0)!=847){break a}N[b+144>>2]=h|19;e=d|96}g=e;if(d>>>0>31){M[a+16>>1]=g;return}if(!(1<>1]=g;return}b=65024;c:{if((c|0)==6752|(c|0)==4038){break c}b=32512;if((c|0)==3897){break c}b=O[(Qa[N[f+16>>2]](f,c,N[f+48>>2])|0)+265296|0]<<8}d=b|g|128}M[a+16>>1]=d}function Pk(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{b:{c:{if(c){a=N[b+96>>2];d=O[a+140|0];c=0;if(d&8){break b}L[a+140|0]=d|8;d=N[a+68>>2];d:{if(!d){break d}c=0;if(d>>>0>=4){f=d&-4;while(1){L[(N[a+80>>2]+T(c,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|1,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|2,20)|0)+15|0]=255;L[(N[a+80>>2]+T(c|3,20)|0)+15|0]=255;c=c+4|0;if((f|0)!=(c|0)){continue}break}}d=d&3;if(!d){break d}while(1){L[(N[a+80>>2]+T(c,20)|0)+15|0]=255;c=c+1|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}N[b+160>>2]=255;break c}N[b+160>>2]=-1;a=N[b+96>>2];b=O[a+140|0];if(!(b&8)){break a}L[a+140|0]=b&247}c=1}return c|0}ba(22742,14165,187,12136);B()}function Hq(a){a=a|0;var b=0,c=0,d=0;c=N[a+88>>2];a:{b:{c:{d=N[a+84>>2];if((d|0)>=0){b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=153391689){c=$a(N[a+92>>2],T(d,28));if(c){break c}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break a}N[a+84>>2]=d;N[a+92>>2]=c;c=N[a+88>>2]}if(b>>>0>c>>>0){C(N[a+92>>2]+T(c,28)|0,0,T(b-c|0,28))}N[a+88>>2]=b;c=b;b=(N[a+92>>2]+T(b,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=1;N[b+4>>2]=c;N[b>>2]=1667329140;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function zx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+736>>2];a:{if(!f){d=re(a,0);if(d){break a}f=N[a+736>>2]}if(!N[f+4>>2]){d=ag(a,0,0,1);if(d){break a}}e=N[f>>2];e=b>>>0>e>>>0?e:b;b:{if(O[a+733|0]){if(!e){e=0;break b}f=N[f+8>>2];a=0;if(e>>>0>=4){h=e&-4;while(1){d=a<<2;N[d+c>>2]=N[d+f>>2];g=d|4;N[g+c>>2]=N[f+g>>2];g=d|8;N[g+c>>2]=N[f+g>>2];d=d|12;N[d+c>>2]=N[d+f>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[f+h>>2];a=a+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break b}if(!e){e=0;break b}C(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}C((e<<2)+c|0,0,b-e<<2)}return d|0}function yx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+736>>2];a:{if(!f){d=re(a,0);if(d){break a}f=N[a+736>>2]}if(!N[f+4>>2]){d=ag(a,0,0,1);if(d){break a}}e=N[f>>2];e=b>>>0>e>>>0?e:b;b:{if(O[a+733|0]){if(!e){e=0;break b}f=N[f+4>>2];a=0;if(e>>>0>=4){h=e&-4;while(1){d=a<<2;N[d+c>>2]=N[d+f>>2];g=d|4;N[g+c>>2]=N[f+g>>2];g=d|8;N[g+c>>2]=N[f+g>>2];d=d|12;N[d+c>>2]=N[d+f>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=e&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[f+h>>2];a=a+1|0;i=i+1|0;if((d|0)!=(i|0)){continue}break}break b}if(!e){e=0;break b}C(c,0,e<<2)}d=0;if(b>>>0<=e>>>0){break a}C((e<<2)+c|0,0,b-e<<2)}return d|0}function Rg(a,b){a:{b:{c:{d:{switch(a>>>12|0){case 0:a=a-1536|0;if(a>>>0<739){break c}break b;case 1:if(a-6150>>>0>164){break b}a=a-5411|0;break c;case 2:if(a-8204>>>0>93){break b}a=a-7300|0;break c;case 10:if(a-43072>>>0>51){break b}a=a-42074|0;break c;case 16:if(a-68288>>>0<=47){a=a-67238|0;break c}if(a-68480>>>0<=47){a=a-67382|0;break c}if(a-68864>>>0<=35){a=a-67718|0;break c}if(a-69424>>>0>155){break b}a=a-68242|0;break c;case 17:if(a-69821>>>0>16){break b}a=a-68483|0;break c;case 30:break d;default:break b}}if(a-125184>>>0>75){break b}a=a-123829|0}a=O[a+238400|0];if((a|0)!=8){break a}}a=b>>>0<=31?1<0){k=(T((b|0)!=0,36)+a|0)+16|0;while(1){j=(c|0)>=16?16:c;g=j<<1;b=0;while(1){e=h;h=b<<2;e=e+N[h+d>>2]|0;N[f+h>>2]=(e+(e>>31)|0)+32768>>16;i=h|4;h=e+N[i+d>>2]|0;N[f+i>>2]=((h>>31)+h|0)+32768>>16;b=b+2|0;if((g|0)!=(b|0)){continue}break}b=0;while(1){e=b<<2;i=(e|4)+f|0;N[i>>2]=N[i>>2]-N[e+f>>2];b=b+2|0;if(g>>>0>b>>>0){continue}break}a:{if(N[a+4>>2]){break a}b=f;e=j;while(1){g=pf(k,N[b>>2],N[b+4>>2],N[a>>2],0);if(g){N[a+4>>2]=g;break a}b=b+8|0;g=(e|0)>1;e=e-1|0;if(g){continue}break}}c=c-j|0;if((c|0)>0){continue}break}}La=f+128|0}function Bf(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,o=0;f=N[a+28>>2];i=c&1073741823;c=(i>>>0)%Q[a+24>>2]|0;e=N[(f+T(c,12)|0)+4>>2];a:{b:{if(e&1073741824){o=N[a+20>>2];a=-1;while(1){c:{if((e&1073741823)!=(i|0)){break c}h=T(c,12)+f|0;g=N[h>>2];j=N[g+4>>2];d=N[g>>2];k=j-d|0;l=N[b>>2];if((k|0)!=(N[b+4>>2]-l|0)){break c}m=N[g+12>>2];if((m|0)!=N[b+12>>2]){break c}if((d|0)!=(j|0)){if(Mb(d,l,k)){break c}}d=T(m,12);if(!d){break a}if(!Mb(N[g+16>>2],N[b+16>>2],d)){break a}}a=(a|0)==-1?(e|0)>=0?-1:c:a;n=n+1|0;c=n+c&o;e=N[(T(c,12)+f|0)+4>>2];if(e&1073741824){continue}break}if((a|0)!=-1){break b}}a=c}h=T(a,12)+f|0}return h}function cg(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;h=N[a+760>>2];a:{if(h>>>0>b>>>0){f=N[a+764>>2];b:{if(P[a+210>>1]){e=f+(b<<2)|0;d=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);g=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);d=g;if(e+8>>>0>f+(h<<2)>>>0){break b}d=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);break b}e=f+(b<<1)|0;d=O[e|0]<<8|O[e+1|0];g=d<<1;if(e+4>>>0<=f+(h<<1)>>>0){d=O[e+3|0]|O[e+2|0]<<8}d=d<<1}f=0;a=N[a+724>>2];if(a>>>0>>0){N[c>>2]=0;return 0}if(a>>>0>>0){d=a;e=0;if((h-2|0)!=(b|0)){break a}}a=d>>>0>>0?a:d}else{a=0}f=a-g|0;e=g}N[c>>2]=f;return e|0}function Kf(a,b,c,d,e){var f=0,g=U(0),h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;f=La-16|0;La=f;h=N[b+76>>2];i=N[b+72>>2];N[f>>2]=0;l=d;a:{b:{c:{if(!(h|i)){break c}d=O[a+6|0]|O[a+7|0]<<8;N[f+4>>2]=0;j=N[b+96>>2];m=N[j+76>>2];n=N[b+100>>2];o=(d<<8|d>>>8)&65535;p=f+4|0;d=N[j+12>>2];if(d){d=N[d+56>>2]}else{d=0}if(!(Qa[m|0](b,n,c,o,p,f,d)|0)){break c}Jd(b,c,f+12|0,f+8|0);N[f>>2]=N[f>>2]-N[f+8>>2];if(i){break b}k=1}c=O[a+2|0]|O[a+3|0]<<8;g=U(R[b+44>>2]*U((c<<8|c>>>8)<<16>>16));break a}k=1;g=U(N[f+4>>2]-N[f+12>>2]|0)}R[l>>2]=g;if(!k|!h){a=O[a+4|0]|O[a+5|0]<<8;g=U(R[b+48>>2]*U((a<<8|a>>>8)<<16>>16))}else{g=U(N[f>>2])}R[e>>2]=g;La=f+16|0}function _b(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=N[a+4>>2];h=N[a>>2];a:{if(!h){if(!f){break a}N[a+4>>2]=(f|0)<0?-65536:65536;return}if(!f){N[a>>2]=(h|0)<0?-65536:65536;return}b=f>>31;c=(b^f)-b|0;b=h>>31;d=(b^h)-b|0;e=c>>>0>>0?(c>>>1|0)+d|0:c+(d>>>1|0)|0;b=W(e);b=(-1431655766>>>b>>>0>e>>>0?-15:-16)+b|0;b:{if((b|0)>0){d=d<>>0>>0?d+(c>>>1|0)|0:(d>>>1|0)+c|0;break b}g=e;e=0-b|0;b=g>>>e|0;c=c>>>e|0;d=d>>>e|0}b=65536-b|0;while(1){e=(T(b,d)>>16)+d|0;g=(T(b,c)>>16)+c|0;i=T((T(e,e)+T(g,g)|0)/-512|0,b+65536>>8);b=(i>>>16|0)+b|0;if((i|0)>65535){continue}break}N[a+4>>2]=(f|0)<0?0-g|0:g;N[a>>2]=(h|0)<0?0-e|0:e}}function fb(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=2147483647;a:{if(!b){break a}c=a>>31;c=(c^a)-c|0;d=b>>31;d=(d^b)-d|0;if(c>>>0<=(d>>>17^65535)>>>0){g=((c<<16)+(d>>>1|0)>>>0)/(d>>>0)|0;break a}f=d>>>1|0;i=f+(c<<16)|0;c=(c>>>16|0)+(f>>>0>i>>>0)|0;if(c>>>0>=d>>>0){break a}f=W(c);h=32-f|0;c=i>>>h|c<>>0)/(d>>>0)|0;e=c-T(d,g)|0;c=i<>>31;h=e>>>0>=d>>>0;e=e-(h?d:0)|0;g=h|g<<1;h=31-f|0;c=c<<1}if((f|0)==31){break a}while(1){e=e<<1|c>>>31;f=e>>>0>=d>>>0;e=c>>>30&1|e-(f?d:0)<<1;i=e>>>0>=d>>>0;e=e-(i?d:0)|0;g=g<<2|f<<1|i;c=c<<2;h=h-2|0;if(h){continue}break}}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-g|0:g}function Xg(a,b,c){var d=0,e=0,f=0,g=0,h=0;a:{b:{if(Q[b+4>>2]>a>>>0){break b}e=N[b+8>>2];if(e>>>0>>0|e-a>>>0<2){break b}f=N[b+12>>2]-2|0;N[b+12>>2]=f;d=1;if((f|0)<=0){break b}h=O[a|0]|O[a+1|0]<<8;if(!h){break a}d=a+2|0;if(d>>>0>e>>>0){break b}g=e-d|0;e=(h<<8|h>>>8)&65535;d=e<<2;if(g>>>0>>0){break b}f=f-d|0;N[b+12>>2]=f;d=0;if((f|0)<=0){break a}f=e>>>0<=1?1:e;e=0;while(1){h=(e<<2)+a|0;d=h+2|0;if(d>>>0>2]){break b}g=N[b+8>>2];if(g>>>0>>0|g-d>>>0<4){break b}d=N[c>>2];g=N[b+12>>2]-4|0;N[b+12>>2]=g;if((g|0)<=0){break b}if(!If(h+4|0,b,d)){break b}d=1;e=e+1|0;if((f|0)!=(e|0)){continue}break}break a}d=0}return d}function et(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=N[a+872>>2];a:{if(!f){break a}j=N[f+36>>2];if(!j|!P[f>>1]){break a}g=N[f+16>>2];if(!g){break a}i=N[f+20>>2];if(N[d>>2]|!i){break a}l=i+4|0;a=0;while(1){b:{e=(g-a>>>1|0)+a|0;h=T(e,6)+l|0;k=O[h|0]<<8|O[h+1|0];c:{if(k>>>0>>0){a=e+1|0;break c}g=e;if(b>>>0>=k>>>0){break b}}e=0;if(a>>>0>>0){continue}break a}break}e=0;a=O[h+2|0]|O[h+3|0]<<8|(O[h+4|0]<<16|O[h+5|0]<<24);b=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(!b){break a}a=N[f+40>>2];if(a>>>0>>0){break a}g=a+j|0;a=b+i|0;if(g>>>0<=a>>>0){break a}N[d>>2]=a;L[d+4|0]=!c;e=1}return e|0}function ui(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a+20>>2];if(d>>>0>b>>>0){g=a+8|0;c:{d:{while(1){c=N[a+8>>2];if(!c){break d}e=N[c+24>>2];if(!e){break b}N[a+8>>2]=N[c+16>>2];f=N[c+28>>2]-1|0;N[c+28>>2]=f;e:{if(f){N[c+20>>2]=0;break e}f=N[c+8>>2];if(f){N[f+12>>2]=N[c+12>>2]}N[N[c+12>>2]>>2]=f;N[a+20>>2]=(((e|0)!=1?-32:0)-e|0)+d;N[a+32>>2]=N[a+32>>2]-1;d=N[a+16>>2];if((d|0)!=N[c+4>>2]){break a}e=c+32|0;Qa[N[d+16>>2]](e+(N[d+24>>2]+7&-8)|0,e);_a(c);d=N[a+20>>2]}if(b>>>0>>0){continue}break}b=N[a+8>>2];if(!b){break d}a=b+20|0;break c}a=a+12|0}N[a>>2]=g}return}ba(15298,18290,469,8706);B()}ba(17656,18290,424,13135);B()}function $w(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=La-208|0;La=d;f=N[a+532>>2];Qa[N[b+60>>2]](b,d+16|0,16,d+12|0);e=N[d+12>>2];a:{if((e|0)<0){c=162;break a}c=3;if(e-17>>>0<4294967280){break a}b:{c:{d:{if(f){g=N[f>>2];if(g){break d}}c=$f(a,e,0);if(c){break a}e=N[b+8>>2];g=N[b>>2];if(N[d+12>>2]<=0){break b}f=N[a+532>>2];break c}if((e|0)!=(g|0)){break a}e=N[b+8>>2];g=N[b>>2]}c=0;while(1){a=(d+16|0)+T(c,12)|0;N[b>>2]=N[a>>2];N[b+8>>2]=N[a+4>>2];a=Qa[N[b+40>>2]](b,0)|0;h=c<<2;N[h+N[f+136>>2]>>2]=a;N[N[f+140>>2]+h>>2]=a;c=c+1|0;if((c|0)>2]){continue}break}}N[b+8>>2]=e;N[b>>2]=g;c=0}N[b+12>>2]=c;La=d+208|0}function Wn(a,b,c,d,e){var f=0,g=0,h=0,i=0;f=La-208|0;La=f;N[f+204>>2]=c;c=f+160|0;C(c,0,40);N[f+200>>2]=N[f+204>>2];a:{if((Vn(0,b,f+200|0,f+80|0,c,d,e)|0)<0){e=-1;break a}i=N[a+76>>2]>=0;g=N[a>>2];if(N[a+72>>2]<=0){N[a>>2]=g&-33}b:{c:{d:{if(!N[a+48>>2]){N[a+48>>2]=80;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;h=N[a+44>>2];N[a+44>>2]=f;break d}if(N[a+16>>2]){break c}}c=-1;if(Hh(a)){break b}}c=Vn(a,b,f+200|0,f+80|0,f+160|0,d,e)}if(h){Qa[N[a+36>>2]](a,0,0)|0;N[a+48>>2]=0;N[a+44>>2]=h;N[a+28>>2]=0;b=N[a+20>>2];N[a+16>>2]=0;N[a+20>>2]=0;c=b?c:-1}b=a;a=N[a>>2];N[b>>2]=a|g&32;e=a&32?-1:c;if(!i){break a}}La=f+208|0;return e}function Qf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;if(!a){return 35}e=16;a:{if(P[a+264>>1]<=b>>>0){break a}d=N[a+544>>2];if(!d){return 7}e=0;g=c,h=Qa[N[d+16>>2]](0)|0,N[g>>2]=h;f=c;c=N[a+476>>2];b:{if((c|0)!=151552){if((c|0)!=131072){if((c|0)!=65536|b>>>0>257){break a}a=Qa[N[d+16>>2]](b)|0;break b}if(!O[a+632|0]){if(Tl(a)){break a}}if(P[a+636>>1]<=b>>>0){break a}b=P[N[a+640>>2]+(b<<1)>>1];if(b>>>0<=257){a=Qa[N[d+16>>2]](b)|0;break b}a=N[(N[a+644>>2]+(b<<2)|0)-1032>>2];break b}if(!O[a+632|0]){if(Tl(a)){break a}}if(P[a+636>>1]<=b>>>0){break a}a=Qa[N[d+16>>2]](L[N[a+640>>2]+b|0]+b|0)|0}N[f>>2]=a}return e|0}function yf(a){var b=0,c=0,d=0,e=0;mq(a);N[a+60>>2]=-57005;c=N[a+68>>2];if(c){b=N[c+8>>2];if(b){while(1){b=b-1|0;d=N[c+12>>2]+T(b,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[c+8>>2]=b;if(e){Qa[e|0](d);b=N[c+8>>2]}if(b){continue}break}}_a(N[c+12>>2]);_a(c);N[a+68>>2]=0}b=N[a+88>>2];if(b){_a(b);N[a+88>>2]=0}N[a+76>>2]=0;N[a+72>>2]=N[a+72>>2]&1;if(N[a+52>>2]){N[a+52>>2]=0}_a(N[a+56>>2]);N[a+56>>2]=0;N[a+48>>2]=0;N[a+52>>2]=0;N[a+28>>2]=0;c=N[a+36>>2];a:{if(!c){break a}b=N[a+40>>2];while(1){_a(N[b>>2]);b=b+4|0;c=c-1|0;if(c){continue}break}if(!N[a+36>>2]){break a}N[a+36>>2]=0}_a(N[a+40>>2]);N[a+40>>2]=0;N[a+32>>2]=0;N[a+36>>2]=0}function lj(a){var b=0;Wp(a);b=N[a+120>>2];if(b){while(1){b=(N[a+124>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+120>>2]-1|0;N[a+120>>2]=b;if(b){continue}break}}_a(N[a+124>>2]);N[a+124>>2]=0;N[a+116>>2]=0;N[a+120>>2]=0;b=N[a+108>>2];if(b){while(1){b=(N[a+112>>2]+T(b,28)|0)-28|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+108>>2]-1|0;N[a+108>>2]=b;if(b){continue}break}}_a(N[a+112>>2]);N[a+112>>2]=0;N[a+104>>2]=0;N[a+108>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;return a}function Np(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;L[c|0]=0;L[c+1|0]=0;L[c+2|0]=0;L[c+3|0]=0;L[c+4|0]=0;L[c+5|0]=0;L[c+6|0]=0;L[c+7|0]=0;L[c+40|0]=0;L[c+41|0]=0;L[c+42|0]=0;L[c+43|0]=0;L[c+44|0]=0;L[c+45|0]=0;L[c+46|0]=0;L[c+47|0]=0;L[c+32|0]=0;L[c+33|0]=0;L[c+34|0]=0;L[c+35|0]=0;L[c+36|0]=0;L[c+37|0]=0;L[c+38|0]=0;L[c+39|0]=0;L[c+24|0]=0;L[c+25|0]=0;L[c+26|0]=0;L[c+27|0]=0;L[c+28|0]=0;L[c+29|0]=0;L[c+30|0]=0;L[c+31|0]=0;L[c+16|0]=0;L[c+17|0]=0;L[c+18|0]=0;L[c+19|0]=0;L[c+20|0]=0;L[c+21|0]=0;L[c+22|0]=0;L[c+23|0]=0;L[c+8|0]=0;L[c+9|0]=0;L[c+10|0]=0;L[c+11|0]=0;L[c+12|0]=0;L[c+13|0]=0;L[c+14|0]=0;L[c+15|0]=0;return 0}function ns(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a=N[a+16>>2];c=O[a+8204|0]|O[a+8205|0]<<8|(O[a+8206|0]<<16|O[a+8207|0]<<24);d=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{if(!d){break a}a=a+8208|0;while(1){c=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);e=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(e>>>0>b>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if((c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0>>0){a=a+12|0;d=d-1|0;if(!d){break a}continue}break}a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);b=b-e|0;f=a>>>0<=(b^-1)>>>0?a+b|0:0}return f|0}function Yb(a,b,c){var d=0,e=0,f=0,g=0;g=N[b+12>>2];d=N[b+16>>2];f=N[a+48>>2];e=N[a+52>>2];if(f>>>0>e>>>0){e=N[a+44>>2]}e=e-f|0;e=d>>>0>e>>>0?e:d;N[b+16>>2]=d-e;N[b+20>>2]=e+N[b+20>>2];d=N[a+56>>2];if(d){d=Qa[d|0](N[a+60>>2],f,e)|0;N[a+60>>2]=d;N[b+48>>2]=d}c=(c|0)==-5?e?0:c:c;F(g,f,e);g=e+g|0;d=e+f|0;if((d|0)==N[a+44>>2]){e=N[a+40>>2];f=N[a+52>>2];if((f|0)==(d|0)){N[a+52>>2]=e;f=e}f=f-e|0;d=N[b+16>>2];f=d>>>0>f>>>0?f:d;N[b+16>>2]=d-f;N[b+20>>2]=f+N[b+20>>2];d=N[a+56>>2];if(d){d=Qa[d|0](N[a+60>>2],e,f)|0;N[a+60>>2]=d;N[b+48>>2]=d}F(g,e,f);d=e+f|0;g=f+g|0;c=(c|0)==-5?f?0:c:c}N[b+12>>2]=g;N[a+48>>2]=d;return c}function nq(a){var b=0;b=N[a+208>>2];if(b){while(1){b=(N[a+212>>2]+T(b,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+208>>2]-1|0;N[a+208>>2]=b;if(b){continue}break}}_a(N[a+212>>2]);N[a+212>>2]=0;N[a+204>>2]=0;N[a+208>>2]=0;b=N[a+196>>2];if(b){while(1){b=(N[a+200>>2]+(b<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;b=N[a+196>>2]-1|0;N[a+196>>2]=b;if(b){continue}break}}_a(N[a+200>>2]);N[a+200>>2]=0;N[a+192>>2]=0;N[a+196>>2]=0;if(N[a+96>>2]){N[a+96>>2]=0}_a(N[a+100>>2]);N[a+100>>2]=0;N[a+92>>2]=0;N[a+96>>2]=0;return a}function Mi(a,b){var c=0,d=0,e=0,f=0;d=N[a>>2];if(d>>>0>>0){while(1){c=d+1|0;a:{b:{c:{d:{e:{e=O[d|0];switch(e-40|0){case 1:break c;case 0:break d;default:break e}}if((e|0)!=92){break a}if((b|0)==(c|0)){N[a>>2]=b;return 3}f:{e=O[c|0];switch(e-40|0){case 0:case 1:case 52:case 58:case 62:case 70:case 74:case 76:break b;default:break f}}if((e&248)!=48|b>>>0<=c>>>0){break a}c=d+2|0;if(c>>>0>=b>>>0|(O[c|0]&248)!=48){break a}c=d+3|0;if(c>>>0>=b>>>0){break a}c=(O[d+3|0]&248)==48?d+4|0:c;break a}f=f+1|0;break a}f=f-1|0;if(f){break a}N[a>>2]=c;return 0}c=d+2|0}d=c;if(d>>>0>>0){continue}break}}N[a>>2]=d;return 3}function Ek(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;f=La-32|0;La=f;d=N[b+96>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}g=N[d+64>>2];c=vb(c,N[N[d+80>>2]+T(g,20)>>2]);a:{if((c|0)==-1){break a}h=O[a+6|0]|O[a+7|0]<<8;if(c>>>0>=((h<<8|h>>>8)&65535)>>>0){break a}if(N[d+156>>2]){e=N[b+88>>2];N[f+16>>2]=g;ib(d,e,17402,f+16|0)}e=O[a+4|0]|O[a+5|0]<<8;c=T(YE(e),c);if((c|0)<0){c=275552}else{e=O[a+4|0]|O[a+5|0]<<8;c=((c<<1)+a|0)+8|0}ge(e,b,a,c,N[d+88>>2]+T(N[d+64>>2],20)|0);a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[f>>2]=N[a+64>>2];ib(a,b,17446,f)}e=1;N[d+64>>2]=N[d+64>>2]+1}La=f+32|0;return e}function Sf(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0;if(N[a+184>>2]<0){return-9}h=N[b>>2];g=N[a+52>>2];f=N[a+64>>2];i=N[a+276>>2];j=(((g|0)<(f|0)?g:f)-i|0)+T(f,N[a+272>>2])|0;g=h>>>0>>0?h:j;f=h;a:{if(!c){break a}f=N[a+96>>2]+(i&N[a+68>>2])|0;i=N[c>>2];if(!i){N[c>>2]=f;f=h;break a}F(i,f,g);N[c>>2]=g+N[c>>2];f=N[b>>2]}N[b>>2]=f-g;b=g+N[a+276>>2]|0;N[a+276>>2]=b;if(d){N[d>>2]=b}c=1<>2];b=N[a+64>>2];if(h>>>0>>0){return e?3:(b|0)==(c|0)?3:1}b:{if((b|0)!=(c|0)){break b}c=N[a+52>>2];if((c|0)<(b|0)){break b}N[a+52>>2]=c-b;N[a+272>>2]=N[a+272>>2]+1;M[a+560>>1]=P[a+560>>1]&65527|((b|0)!=(c|0))<<3}return 1}function Fl(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{b:{f=N[a+32>>2];if(f>>>0>b>>>0){i=f-1|0;g=f<<1;j=g+2|0;k=N[a+16>>2]+14|0;while(1){c=(b<<1)+k|0;e=O[c|0]<<8|O[c+1|0];N[a+44>>2]=e;c=c+j|0;h=O[c|0]<<8|O[c+1|0];N[a+40>>2]=h;c=c+g|0;d=O[c|0]|O[c+1|0]<<8;N[a+48>>2]=(d<<8|d>>>8)<<16>>16;d=c+g|0;c=O[d|0]<<8|O[d+1|0];c:{if((h|0)!=65535|b>>>0>>0|(e|0)!=65535){break c}if(!c){break b}e=N[a>>2];if((c+d|0)+2>>>0<=N[e+508>>2]+N[e+512>>2]>>>0){break c}N[a+48>>2]=1;break b}if((c|0)!=65535){if(!c){break b}c=c+d|0;break a}b=b+1|0;if((f|0)!=(b|0)){continue}break}}return-1}c=0}N[a+36>>2]=b;N[a+52>>2]=c;return 0}function Us(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=3;g=b+2|0;a:{if(g>>>0>c>>>0){break a}i=c;c=O[b+1|0]|O[b|0]<<8;if(i>>>0<(c<<2)+g>>>0){break a}b=N[a+12>>2];i=O[b+14|0];j=P[b+12>>1];k=P[b+10>>1];l=O[b+8|0];m=P[b+6>>1];n=P[b+4>>1];b:{if(!c){h=0;break b}f=f+1|0;b=0;while(1){h=Pl(a,O[g+1|0]|O[g|0]<<8,L[g+2|0]+d|0,L[g+3|0]+e|0,f,0);if(!h){g=g+4|0;b=b+1|0;if((c|0)!=(b|0)){continue}}break}b=N[a+12>>2]}M[b+14>>1]=i;M[b+8>>1]=l;M[b+12>>1]=j<<24>>24;M[b+10>>1]=k<<24>>24;M[b+6>>1]=m<<24>>24;M[b+4>>1]=n<<24>>24;a=N[a+8>>2];M[b+2>>1]=O[a+4|0];M[b>>1]=O[a|0]}return h|0}function Gn(a,b,c,d){var e=0,f=0,g=0,h=0;a:{e=d>>31;f=(e^d)-e|0;e=a>>31;if((f+((e^a)-e|0)|0)>131071){break a}e=c>>31;f=(e^c)-e|0;e=b>>31;if((f+((e^b)-e|0)|0)>131071){break a}a=T(a,d);b=T(b,c);return(a|0)>(b|0)?1:(a|0)<(b|0)?-1:0}f=d>>>16|0;g=T(f,a&65535);h=a>>>16|0;e=g+T(h,d&65535)|0;a=T(a,d);e=(((e>>>16|0)+T(h,f)|0)+((e>>>0>>0)<<16)|0)+(a>>>0>>0)|0;f=c>>>16|0;g=T(f,b&65535);h=b>>>16|0;d=g+T(h,c&65535)|0;b=T(b,c);c=(((d>>>16|0)+T(h,f)|0)+((d>>>0>>0)<<16)|0)+(b>>>0>>0)|0;d=1;b:{if(e>>>0>c>>>0){break b}d=-1;if(c>>>0>e>>>0){break b}d=1;if(a>>>0>b>>>0){break b}d=a>>>0>>0?-1:0}return d}function dl(a,b,c,d){var e=0;a:{if(d&16){c=275552;b:{if((O[a|0]|O[a+1|0]<<8)!=256){break b}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if((e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))>>>0<65538){break b}e=O[a+12|0]|O[a+13|0]<<8;if(!e){break b}c=((e<<8|e>>>8)&65535)+a|0}a=0;if((O[c|0]|O[c+1|0]<<8)!=256){break a}a=O[c+2|0]|O[c+3|0]<<8;e=(a<<8|a>>>8)&65535;a=d>>>16|0;if(e>>>0>a>>>0){a=((a<<2)+c|0)+4|0}else{a=275552}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(a){a=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))+c|0}else{a=275552}return(vb(a,b)|0)!=-1}a=d&65280;if(!a){return 1}a=(a|0)==(c&65280)}return a}function Ue(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}N[a>>2]=-57005;if(N[a+28>>2]){N[a+28>>2]=0}_a(N[a+32>>2]);N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;if(N[a+40>>2]){N[a+40>>2]=0}_a(N[a+44>>2]);N[a+44>>2]=0;N[a+36>>2]=0;N[a+40>>2]=0;if(N[a+28>>2]){N[a+28>>2]=0}_a(N[a+32>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function rz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{if(N[a>>2]!=N[b>>2]|N[a+4>>2]!=N[b+4>>2]|(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2])){break a}if(N[a+16>>2]!=N[b+16>>2]|N[a+20>>2]!=N[b+20>>2]){break a}d=N[a+24>>2];if((d|0)!=N[b+24>>2]){break a}if(!d){g=1;break a}e=N[a+28>>2];f=N[b+28>>2];if(N[e>>2]!=N[f>>2]){break a}while(1){b=T(c,24);a=b+e|0;b=b+f|0;if(N[a+4>>2]!=N[b+4>>2]|N[a+8>>2]!=N[b+8>>2]|(N[a+12>>2]!=N[b+12>>2]|N[a+16>>2]!=N[b+16>>2])){break a}if(N[a+20>>2]!=N[b+20>>2]){break a}c=c+1|0;g=d>>>0<=c>>>0;if((c|0)==(d|0)){break a}a=T(c,24);if(N[a+e>>2]==N[a+f>>2]){continue}break}}return g|0}function Zq(a){a=a|0;var b=0,c=0,d=0;b=N[a+660>>2];c=N[b+8>>2];a=N[b+12>>2];if((c|0)<=(a|0)){a:{b:{if((a|0)!=(c|0)){d=N[b+20>>2];a=c;break b}a=-1;if(c>>>0>1073741822){break a}N[147316]=0;a=N[b+20>>2];c:{c=c<<1|1;if(c>>>0<=76695844){d=T(c,56);d=$a(a,d>>>0<=1?1:d);if(d){break c}}N[147316]=48;N[b+20>>2]=a;return-1}N[147316]=0;N[b+12>>2]=c;N[b+20>>2]=d;a=N[b+8>>2]}N[b+8>>2]=a+1;b=T(a,56)+d|0;N[b>>2]=0;N[b+4>>2]=0;N[b+48>>2]=0;N[b+52>>2]=0;N[b+40>>2]=0;N[b+44>>2]=0;N[b+32>>2]=0;N[b+36>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}return a|0}ba(10030,18016,127,9200);B()}function fk(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-32|0;La=e;c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];f=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);a:{if((f|0)==-1){break a}c=O[a+4|0]|O[a+5|0]<<8;c=(c<<8|c>>>8)&65535;if(c>>>0<=f>>>0){break a}if(N[d+156>>2]){zc(d);c=N[b+88>>2];d=N[b+96>>2];N[e+16>>2]=N[d+64>>2];ib(d,c,23368,e+16|0);c=O[a+4|0]|O[a+5|0]<<8;c=(c<<8|c>>>8)&65535}a=c>>>0<=f>>>0?275552:((f<<1)+a|0)+6|0;a=O[a|0]|O[a+1|0]<<8;Pe(b,(a<<8|a>>>8)&65535);g=1;a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[e>>2]=N[a+64>>2]-1;ib(a,b,23412,e)}La=e+32|0;return g}function Dz(a,b){a=a|0;b=b|0;var c=0,d=0;a:{c=N[a>>2];if((c|0)!=N[b>>2]){break a}d=1;b:{c:{switch(c|0){case 0:if(N[a+8>>2]!=N[b+8>>2]|S[a+16>>3]!=S[b+16>>3]|(N[a+24>>2]!=N[b+24>>2]|N[a+28>>2]!=N[b+28>>2])){break a}if(N[a+32>>2]!=N[b+32>>2]){break a}d=0;if(N[a+36>>2]!=N[b+36>>2]){break b}return N[a+40>>2]==N[b+40>>2]|0;case 1:d=0;c=N[a+12>>2];if((c|0)!=N[b+12>>2]){break b}return!Mb(N[a+8>>2],N[b+8>>2],c)|0;case 2:break c;default:break b}}if(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2]|N[a+16>>2]!=N[b+16>>2]){break a}d=0;if(N[a+20>>2]!=N[b+20>>2]){break b}d=N[a+24>>2]==N[b+24>>2]}return d|0}return 0}function Lc(a,b){var c=0,d=0,e=0;a:{d=O[b|0];if((d|0)!=255){if((d|0)!=30){break a}return Xf(a,b,0,0)>>16}return((O[b+3|0]|(O[b+2|0]<<8|O[b+1|0]<<16))<<8)+32768>>16}e=b+1|0;b:{c:{switch(d-28|0){case 0:c=0;if(Q[a+8>>2]<=b+2>>>0){break b}return(O[b+2|0]|O[e|0]<<8)<<16>>16;case 1:c=0;if(Q[a+8>>2]<=b+4>>>0){break b}a=O[b+1|0]|O[b+2|0]<<8|(O[b+3|0]<<16|O[b+4|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);default:break c}}if(d>>>0<=246){return d-139|0}a=N[a+8>>2];if(d>>>0<=250){c=0;if(a>>>0<=e>>>0){break b}return(O[e|0]|d<<8)-63124|0}c=0;if(a>>>0<=e>>>0){break b}c=64148-(O[e|0]|d<<8)|0}return c}function PA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=3;a:{if(N[a+64>>2]!=3){N[a+64>>2]=3;e=N[a+20>>2];if(!e){break a}b:{if(O[a+68|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+68|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=((c>>31)+c|0)+32768>>16;N[f>>2]=((b>>31)+b|0)+32768>>16;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1}d=0}return d|0}function Cs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{c=N[a+16>>2];a=O[c+12|0]|O[c+13|0]<<8|(O[c+14|0]<<16|O[c+15|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a){g=c+16|0;while(1){e=a+f>>>1|0;c=T(e,12)+g|0;d=O[c|0]|O[c+1|0]<<8|(O[c+2|0]<<16|O[c+3|0]<<24);b:{if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>b>>>0){a=e;break b}d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if((d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))>>>0>=b>>>0){break a}f=e+1|0}if(a>>>0>f>>>0){continue}break}}return 0}a=O[c+8|0]|O[c+9|0]<<8|(O[c+10|0]<<16|O[c+11|0]<<24);return a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}function QB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=N[a>>2];a:{b:{c:{h=N[a+4>>2];a=(h>>6)-N[b+164>>2]|0;if(!((a|0)<0|(a|0)>=N[b+172>>2])){c=g>>6;if((c|0)>2]){break c}}a=N[b+192>>2];break b}d=N[b+188>>2]+(a<<2)|0;e=N[d>>2];f=N[e>>2];a=N[b+156>>2];c=(a|0)>(c|0)?a-1|0:c;if((f|0)<=(c|0)){while(1){a=e;if((c|0)==(f|0)){break b}e=N[a+12>>2];f=N[e>>2];if((c|0)>=(f|0)){continue}break}d=a+12|0}a=N[b+180>>2];N[b+180>>2]=a+16;if(Q[b+184>>2]<=a>>>0){break a}N[a>>2]=c;N[a+4>>2]=0;N[a+8>>2]=0;N[a+12>>2]=N[d>>2];N[d>>2]=a}N[b+176>>2]=a;N[b+204>>2]=h<<2;N[b+200>>2]=g<<2;return 0}pe(b,1);B()}function hx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=La-32|0;La=c;a:{if((Qa[N[b+52>>2]](b,6,c,3)|0)<=5){N[b+12>>2]=3;break a}e=N[c+12>>2];if(!e){N[b+12>>2]=3;break a}i=a+440|0;d=e>>31;d=(d^e)-d|0;b:{if((d|0)==65536){f=N[c+8>>2];g=N[c+4>>2];h=N[c>>2];break b}j=a,k=fb(1e3,d),M[j+68>>1]=k;h=fb(N[c>>2],d);g=fb(N[c+4>>2],d);f=fb(N[c+8>>2],d);j=c,k=fb(N[c+16>>2],d),N[j+16>>2]=k;j=c,k=fb(N[c+20>>2],d),N[j+20>>2]=k;e=(e|0)<0?-65536:65536}N[a+440>>2]=h;N[a+448>>2]=g;N[a+452>>2]=e;N[a+444>>2]=f;if(!ig(i)){N[b+12>>2]=3;break a}N[a+456>>2]=M[c+18>>1];N[a+460>>2]=M[c+22>>1]}La=c+32|0}function vg(a){var b=0,c=0,d=0;b=N[a+88>>2];if(b){_a(N[b+20>>2]);_a(N[N[a+88>>2]+4>>2]);_a(N[N[a+88>>2]+8>>2]);_a(N[a+88>>2])}_a(N[a+24>>2]);_a(N[a+28>>2]);_a(N[a+68>>2]);d=N[a+16>>2];b=0;a:{if(!d){break a}b=d;if(N[a>>2]<=0){break a}b=0;while(1){d=N[a+16>>2]+T(b,144)|0;_a(N[d>>2]);_a(N[d+4>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+16>>2]}_a(b);b=N[a+20>>2];b:{if(!b){break b}c=b;if(N[a+8>>2]<=0){break b}b=0;while(1){c=N[a+20>>2]+T(b,56)|0;_a(N[c+28>>2]);_a(N[c+44>>2]);_a(N[c+48>>2]);_a(N[c+52>>2]);b=b+1|0;if((b|0)>2]){continue}break}c=N[a+20>>2]}_a(c);_a(N[a+80>>2]);_a(a)}function fo(a,b,c,d){var e=0,f=0,g=0,h=0;f=d?d:590292;e=N[f>>2];a:{b:{c:{if(!b){if(e){break c}return 0}d:{if(e){d=c;break d}d=O[b|0];e=d<<24>>24;if((e|0)>=0){if(a){N[a>>2]=d}return(e|0)!=0}if(!N[N[147600]>>2]){b=1;if(!a){break b}N[a>>2]=e&57343;return 1}d=d-194|0;if(d>>>0>50){break c}e=N[(d<<2)+580976>>2];d=c-1|0;if(!d){break a}b=b+1|0}g=O[b|0];h=g>>>3|0;if((h-16|(e>>26)+h)>>>0>7){break c}while(1){d=d-1|0;e=g-128|e<<6;if((e|0)>=0){N[f>>2]=0;if(a){N[a>>2]=e}return c-d|0}if(!d){break a}b=b+1|0;g=O[b|0];if((g&192)==128){continue}break}}N[f>>2]=0;N[147316]=25;b=-1}return b}N[f>>2]=e;return-2}function ki(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;b=441616;h=O[a|0]?a:441616;while(1){d=b;f=0;a=h;c=O[a|0];a:{b:{if(!c){break b}while(1){g=O[d|0];if(!g){f=c;break b}c:{d:{while(1){if((c|32)-124>>>0>4294967268|c-59>>>0>4294967284){break d}c=O[a+1|0];e=a+1|0;a=e;if(c){continue}break}c=0;break c}e=a}a=1;if((c|32)!=(g|0)){break a}d=d+1|0;a=e+1|0;c=O[e+1|0];if(c){continue}break}}a=O[d|0]!=(f&255)}if(!a){while(1){b=(nb(b)+b|0)+1|0;if(O[b|0]){continue}break}return b-441615|0}b=(nb(b)+b|0)+1|0;a=O[b|0];if(!a){a=O[b+1|0];b=(a>>>0>128?2:T(a,-5)+322|0)+b|0;a=O[b|0]}if(a&255){continue}break}return-1}function Eq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=N[a+112>>2];a:{if(!c){break a}d=N[b+68>>2];if(!d){break a}a=N[b+80>>2];if(d>>>0>=4){g=d&-4;while(1){N[a+4>>2]=N[a+4>>2]|N[(O[a+19|0]<<2)+c>>2];N[a+24>>2]=N[a+24>>2]|N[(O[a+39|0]<<2)+c>>2];N[a+44>>2]=N[a+44>>2]|N[(O[a+59|0]<<2)+c>>2];f=a- -64|0;N[f>>2]=N[f>>2]|N[(O[a+79|0]<<2)+c>>2];a=a+80|0;e=e+4|0;if((g|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){N[a+4>>2]=N[a+4>>2]|N[(O[a+19|0]<<2)+c>>2];a=a+20|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}a=L[b+140|0];if((a|0)>=0){ba(22742,14165,187,12136);B()}L[b+140|0]=a&127}function Lx(a){a=a|0;var b=0,c=0,d=0,e=0;a:{b:{a=N[N[a+156>>2]>>2];b=N[a+4>>2];if(!(!b|N[a+40>>2])){d=b<<1;if((d|0)<0){c=6;break a}if(d){c=10;if(d>>>0>268435455){break a}c=N[a>>2];b=b<<4;c=Qa[N[c+4>>2]](c,b)|0;if(!c){break b}C(c,0,b);b=N[a+4>>2]}L[a+16|0]=1;N[a+40>>2]=c;d=(b<<3)+c|0;N[a+44>>2]=d;b=N[a+24>>2];if(b){b=(M[a+22>>1]<<3)+b|0}else{b=0}N[a+60>>2]=b;e=a- -64|0;b=N[a+28>>2];if(b){b=b+M[a+22>>1]|0}else{b=0}N[e>>2]=b;b=N[a+32>>2];if(b){b=b+(M[a+20>>1]<<1)|0}else{b=0}N[a+68>>2]=b;b=M[a+22>>1]<<3;N[a+80>>2]=b+d;N[a+76>>2]=b+c}return 0}N[a+40>>2]=0;return 64}N[a+40>>2]=0;return c|0}function Jo(a){var b=0,c=0,d=0;a:{if(!a){break a}c=N[a+16>>2];if((c|0)==128){break a}while(1){b=N[a>>2];b:{if(O[b+20|0]!=O[a+20|0]){b=a;break b}if(O[b+21|0]!=O[a+21|0]){b=a;break b}d=N[b+16>>2];if(!((d|0)==(c|0)|c&d&64)){b=a;break b}if(N[a+24>>2]){b=a;break b}if(N[b+24>>2]){b=a;break b}c=N[a+4>>2];N[b+4>>2]=c;N[c>>2]=b;N[b+12>>2]=N[b+12>>2]+N[a+12>>2];c=N[a+32>>2];c:{if(c){N[c+28>>2]=N[a+28>>2];break c}d=N[a+4>>2];if(N[d+28>>2]!=(a|0)){break c}N[d+28>>2]=N[a+28>>2]}d=N[a+28>>2];if(d){N[d+32>>2]=c;c=N[a+32>>2]}N[b+32>>2]=c;_a(a)}a=N[b+4>>2];c=N[a+16>>2];if((c|0)!=128){continue}break}}}function xr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[c+4>>2]|N[b+4>>2];N[a>>2]=N[c>>2]|N[b>>2];N[a+4>>2]=d;d=N[c+12>>2]|N[b+12>>2];N[a+8>>2]=N[c+8>>2]|N[b+8>>2];N[a+12>>2]=d;d=N[c+20>>2]|N[b+20>>2];N[a+16>>2]=N[c+16>>2]|N[b+16>>2];N[a+20>>2]=d;d=N[c+28>>2]|N[b+28>>2];N[a+24>>2]=N[c+24>>2]|N[b+24>>2];N[a+28>>2]=d;d=N[c+36>>2]|N[b+36>>2];N[a+32>>2]=N[c+32>>2]|N[b+32>>2];N[a+36>>2]=d;d=N[c+44>>2]|N[b+44>>2];N[a+40>>2]=N[c+40>>2]|N[b+40>>2];N[a+44>>2]=d;d=N[c+52>>2]|N[b+52>>2];N[a+48>>2]=N[c+48>>2]|N[b+48>>2];N[a+52>>2]=d;d=N[c+60>>2]|N[b+60>>2];N[a+56>>2]=N[c+56>>2]|N[b+56>>2];N[a+60>>2]=d}function wr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[c+4>>2]&N[b+4>>2];N[a>>2]=N[c>>2]&N[b>>2];N[a+4>>2]=d;d=N[c+12>>2]&N[b+12>>2];N[a+8>>2]=N[c+8>>2]&N[b+8>>2];N[a+12>>2]=d;d=N[c+20>>2]&N[b+20>>2];N[a+16>>2]=N[c+16>>2]&N[b+16>>2];N[a+20>>2]=d;d=N[c+28>>2]&N[b+28>>2];N[a+24>>2]=N[c+24>>2]&N[b+24>>2];N[a+28>>2]=d;d=N[c+36>>2]&N[b+36>>2];N[a+32>>2]=N[c+32>>2]&N[b+32>>2];N[a+36>>2]=d;d=N[c+44>>2]&N[b+44>>2];N[a+40>>2]=N[c+40>>2]&N[b+40>>2];N[a+44>>2]=d;d=N[c+52>>2]&N[b+52>>2];N[a+48>>2]=N[c+48>>2]&N[b+48>>2];N[a+52>>2]=d;d=N[c+60>>2]&N[b+60>>2];N[a+56>>2]=N[c+56>>2]&N[b+56>>2];N[a+60>>2]=d}function Sd(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0;i=1;j=d&2147483647;l=j;k=(j|0)==2147418112;a:{if(k&!c?a|b:k&(c|0)!=0|j>>>0>2147418112){break a}j=h&2147483647;k=(j|0)==2147418112;if(k&!g?e|f:k&(g|0)!=0|j>>>0>2147418112){break a}if(!(a|e|(c|g)|(b|f|(j|l)))){return 0}i=d&h;if((i|0)>0|(i|0)>=0){i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>>0|b>>>0>>0:c>>>0>>0&(d|0)<=(h|0)|(d|0)<(h|0)){break a}return(a^e|c^g|(b^f|d^h))!=0}i=-1;if((c|0)==(g|0)&(d|0)==(h|0)?(b|0)==(f|0)&a>>>0>e>>>0|b>>>0>f>>>0:c>>>0>g>>>0&(d|0)>=(h|0)|(d|0)>(h|0)){break a}i=(a^e|c^g|(b^f|d^h))!=0}return i}function JA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;f=N[a+28>>2];a=N[f+20>>2];a:{if(!a){break a}b:{c:{b=P[a>>1];d=b<<16>>16;if((d|0)>=2){e=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break c}if(d){break c}b=P[a+2>>1];break b}b=M[a+2>>1];if((e|0)!=(b|0)){break b}M[a>>1]=d-1;break a}d:{if(b<<16>>16<2){break d}c=N[a+4>>2];g=c+(e<<3)|0;h=b&65535;c=c+(h<<3)|0;if(N[g>>2]!=N[c-8>>2]|N[g+4>>2]!=N[c-4>>2]|O[(N[a+8>>2]+h|0)-1|0]!=1){break d}b=b-1|0;M[a+2>>1]=b}if((d|0)<=0){break a}c=e;e=(b<<16>>16)-1|0;if((c|0)==(e|0)){M[a+2>>1]=b-1;M[a>>1]=d-1;break a}M[(N[a+12>>2]+(d<<1)|0)-2>>1]=e}L[f+44|0]=0}function WA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;e=La-32|0;La=e;N[d>>2]=-1;Dd(a,e+20|0);if(N[e+28>>2]==3){i=N[a>>2];g=N[e+20>>2]+1|0;N[a>>2]=g;j=N[a+8>>2];h=N[e+24>>2]-1|0;N[a+8>>2]=h;f=b;a:{if(g>>>0>=h>>>0){break a}if(!b){f=0;while(1){Dd(a,e+8|0);if(!N[e+16>>2]){break a}f=f+12|0;if(Q[a>>2]>2]){continue}break}break a}c=T(c,12)+b|0;while(1){Dd(a,e+8|0);if(!N[e+16>>2]){break a}if(c>>>0>f>>>0){g=N[e+12>>2];N[f>>2]=N[e+8>>2];N[f+4>>2]=g;N[f+8>>2]=N[e+16>>2]}f=f+12|0;if(Q[a>>2]>2]){continue}break}}N[d>>2]=(f-b|0)/12;N[a+8>>2]=j;N[a>>2]=i}La=e+32|0}function ie(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{f=N[147447];b:{if(f){d=f;while(1){c=a;e=N[d+4>>2];b=O[e|0];c:{if(b){d:{while(1){g=L[O[c|0]+179696|0];if((g|0)!=(b&255)){break d}c=c+1|0;b=O[e+1|0];e=e+1|0;if(b){continue}break}g=L[O[c|0]+179696|0];b=0}if((b&255)!=(g|0)){break c}break b}if(!O[O[a|0]+179696|0]){break b}}d=N[d>>2];if(d){continue}break}}d=db(1,8);if(!d){return 0}N[d>>2]=f;c=nb(a)+1|0;b=kb(c);N[d+4>>2]=b;if(!b){break a}e:{if(c){F(b,a,c);c=O[b|0];if(!c){break e}}while(1){L[b|0]=O[(c&255)+179696|0];c=O[b+1|0];b=b+1|0;if(c){continue}break}}N[147447]=d}return d}_a(d);return 0}function Ub(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){a=a+4|0;l=a+T((c<<8|c>>>8)&65535,6)|0;c=N[b+8>>2];e=N[b+4>>2];d=N[b>>2];while(1){j=-1;h=-1;f=O[a+2|0]|O[a+3|0]<<8;f=(f<<8|f>>>8)&65535;i=f>>>4|0;g=O[a|0]|O[a+1|0]<<8;g=(g<<8|g>>>8)&65535;k=g>>>4|0;if(i-k>>>0<=30){h=d;d=1<>>0>1<>>0)}if(f-g>>>0<=30){d=e;e=1<>>0>1<>>0)}e=f>>>9|0;d=g>>>9|0;if(e-d>>>0<=30){f=c;c=1<>>0>1<>>0)}else{c=-1}e=j;d=h;a=a+6|0;if((l|0)!=(a|0)){continue}break}N[b+8>>2]=c;N[b+4>>2]=e;N[b>>2]=d}}function Qp(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=275552;c=O[a+2|0]|O[a+3|0]<<8;a:{if(!c){break a}i=a+4|0;g=((c<<8|c>>>8)&65535)-1|0;k=(b<<8|(b&65280)>>>8)&65535;while(1){b:{c:{d:{e=g+j>>>1|0;f=(e<<3)+i|0;h=O[f|0]|O[f+1|0]<<8;c=(h<<8|h>>>8)&65535;e:{if(!(c|h)){c=O[f+2|0]|O[f+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0>(b&65535)>>>0){break e}if((c|0)==(k|0)){break d}break c}if(!c){break c}}g=e-1|0;break b}d=(e<<3)+i|0;break a}j=e+1|0}if((g|0)>=(j|0)){continue}break}}b=a;a=O[d+4|0]|O[d+5|0]<<8|(O[d+6|0]<<16|O[d+7|0]<<24);return a?b+(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))|0:0}function zl(a){var b=0,c=0;b=N[a+36>>2];if(!(b|N[a+68>>2]?(b|0)!=1:0)){a:{if(N[a+44>>2]|!N[a+68>>2]){break a}while(1){b=N[a+12>>2];b=Qa[N[b+32>>2]](b,N[N[a+80>>2]+T(c,20)>>2],N[b- -64>>2])|0;if(!((b|0)==1516858984|(b|0)==1517910393|(b|0)==1517976186)){N[a+44>>2]=b;break a}c=c+1|0;if(c>>>0>2]){continue}break}}if(!N[a+40>>2]){b=sh(N[a+44>>2]);N[a+40>>2]=b?b:4}if(!N[a+48>>2]){b=0;c=a;a=N[147446];if(!a){a=N[147878];a=a?a+8|0:20427;b:{if(!O[a|0]){break b}a=ie(a);if(!a){break b}b=N[a+4>>2]}if(!N[147446]){N[147446]=b}a=b}N[c+48>>2]=a}return}ba(24107,14165,530,16333);B()}function on(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=La-16|0;La=g;a:{if(!a){break a}d=N[a+92>>2];if(!d|N[d+4>>2]!=1970170211){break a}d=N[a+40>>2];if(!d){break a}f=N[a+36>>2];if((f|0)<=0){break a}i=(f<<2)+d|0;while(1){b:{f=N[d>>2];c:{if(P[f+8>>1]|P[f+10>>1]!=5){break c}e=N[f>>2];if(!e){break c}e=N[e+96>>2];h=N[N[e>>2]+32>>2];if(!h){break c}e=Qa[h|0](e,10557)|0;if(!e){break c}if(Qa[N[e>>2]](f,g+8|0)|0){break c}if(N[g+12>>2]==14){break b}}d=d+4|0;if(i>>>0>d>>>0){continue}break a}break}d=N[d>>2];if(!d){break a}j=Qa[N[N[d+12>>2]+20>>2]](d,N[a+92>>2],b,c)|0}La=g+16|0;return j}function fC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(!(!e|!d)){j=e<<4;while(1){g=0;h=a;while(1){f=O[b+g|0];M[h>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|1)+b|0];M[h+2>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|2)+b|0];M[h+4>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|3)+b|0];M[h+6>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|4)+b|0];M[h+8>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|5)+b|0];M[h+10>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|6)+b|0];M[h+12>>1]=(f>>>1|f<<7)+1>>>1;f=O[(g|7)+b|0];M[h+14>>1]=(f>>>1|f<<7)+1>>>1;h=h+j|0;g=g+8|0;if(g>>>0>>0){continue}break}b=b+c|0;a=a+16|0;i=i+1|0;if((i|0)!=(e|0)){continue}break}}}function Ci(a){var b=0,c=0,d=0;a:{if(!a){break a}b=N[a+16>>2];if((b|0)==128){break a}while(1){c=b;b=N[a>>2];b:{if((c|0)!=N[b+16>>2]){b=a;break b}if(O[b+20|0]!=O[a+20|0]){b=a;break b}if(O[b+21|0]!=O[a+21|0]){b=a;break b}if(N[a+24>>2]){b=a;break b}if(N[b+24>>2]){b=a;break b}c=N[a+4>>2];N[b+4>>2]=c;N[c>>2]=b;N[b+12>>2]=N[b+12>>2]+N[a+12>>2];c=N[a+32>>2];c:{if(c){N[c+28>>2]=N[a+28>>2];break c}d=N[a+4>>2];if(N[d+28>>2]!=(a|0)){break c}N[d+28>>2]=N[a+28>>2]}d=N[a+28>>2];if(d){N[d+32>>2]=c;c=N[a+32>>2]}N[b+32>>2]=c;_a(a)}a=N[b+4>>2];b=N[a+16>>2];if((b|0)!=128){continue}break}}}function fc(a,b,c){var d=0,e=0,f=0,g=0;d=N[a+4>>2];g=N[a+20>>2];a:{b:{c:{if(g){e=85;if(b>>>0>d>>>0){break a}f=N[a+28>>2];d:{if((b|0)>0){e=Qa[N[f+4>>2]](f,b)|0;d=64;if(!e){break b}g=N[a+20>>2];break d}d=6;if(b){break b}e=0}N[a>>2]=e;g=Qa[g|0](a,N[a+8>>2],e,b)|0;d=N[a>>2];if(b>>>0<=g>>>0){e=0}else{if(d){Qa[N[f+8>>2]](f,d)}d=0;N[a>>2]=0;e=85}N[a+32>>2]=d;N[a+36>>2]=d?b+d|0:0;N[a+8>>2]=g+N[a+8>>2];if(b>>>0<=g>>>0){break c}break a}e=85;f=N[a+8>>2];if(f>>>0>=d>>>0|d-f>>>0>>0){break a}N[a+8>>2]=b+f;d=f+N[a>>2]|0}N[c>>2]=d;N[a+32>>2]=0;a=a+36|0;d=0}e=d;N[a>>2]=0}return e}function dd(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{b:{d=N[a>>2];if(d){while(1){c=N[a+4>>2];g=e<<2;b=N[c+g>>2];if(b){while(1){if(!N[b+24>>2]){break b}c=N[b+28>>2];if(N[b+20>>2]){c=c-1|0;N[b+28>>2]=c}d=N[b+8>>2];c:{if(c){N[b>>2]=0;break c}f=N[a+16>>2];if((f|0)!=N[b+4>>2]){break a}c=b+32|0;Qa[N[f+16>>2]](c+(N[f+24>>2]+7&-8)|0,c);_a(b)}b=d;if(b){continue}break}c=N[a+4>>2];d=N[a>>2]}N[c+g>>2]=0;e=e+1|0;if(e>>>0>>0){continue}break}}N[a+20>>2]=0;N[a+24>>2]=0;N[a+8>>2]=0;N[a+12>>2]=a+8;N[a+28>>2]=0;N[a+32>>2]=0;return}ba(15298,18290,509,7842);B()}ba(17656,18290,424,13135);B()}function fh(a){var b=0,c=0,d=0,e=0;c=La-48|0;La=c;b=N[a>>2];a:{if(b){break a}e=a-88|0;while(1){b=N[e>>2];if(!b){b=275552;break a}N[c+8>>2]=0;N[c+12>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;L[c+24|0]=0;N[c>>2]=0;N[c+4>>2]=0;N[c+28>>2]=0;N[c+32>>2]=0;L[c+40|0]=1;N[c+36>>2]=0;d=N[b+12>>2];b:{if(d){b=Qa[d|0](b,1801810542,N[b+16>>2])|0;if(b){break b}}b=275552}d=el(c,b);b=N[a>>2];c:{if(d){if(b){break c}b=d;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((d|0)==275552){break a}ab(d);b=N[a>>2];if(!b){continue}break}}La=c+48|0;return Q[b+16>>2]<4?275552:N[b+12>>2]}function dg(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;d=La-16|0;La=d;b=N[a+260>>2];if(!b){j=a;g=M[a+300>>1];b=N[a+248>>2];a:{if(!g){break a}c=M[a+298>>1];b=N[a+252>>2];if(!c){break a}h=N[a+252>>2];i=N[a+248>>2];b=i>>31;e=(b^i)-b|0;b=c>>31;f=(b^c)-b|0;b=T(e>>>16|0,f);a=b<<16|8192;k=b>>>16|0;b=a+T(f,e&65535)|0;b=k+(b>>>0>>0)<<18|b>>>14;N[d+8>>2]=(c^i)<0?0-b|0:b;b=h>>31;e=(b^h)-b|0;b=g>>31;f=(b^g)-b|0;b=T(e>>>16|0,f);a=b<<16|8192;c=b>>>16|0;b=a+T(f,e&65535)|0;b=c+(b>>>0>>0)<<18|b>>>14;N[d+12>>2]=(g^h)<0?0-b|0:b;b=Wb(d+8|0)}N[j+260>>2]=b}La=d+16|0;return b}function Tp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<12){break a}e=N[b+12>>2];d=e-12|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-15|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=$d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function Rp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<10){break a}e=N[b+12>>2];d=e-10|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-13|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=$d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function zt(a){a=a|0;var b=0,c=0,d=0,e=0;d=N[N[a+96>>2]+8>>2];b=N[a+356>>2];if(b){c=N[a+348>>2];a:{if((c|0)>0){c=T(c,20)+b|0;while(1){e=N[b+16>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+16>>2]=0;b=b+20|0;if(c>>>0>b>>>0){continue}break}b=N[a+356>>2];if(!b){break a}}Qa[N[d+8>>2]](d,b)}N[a+356>>2]=0}b=N[a+364>>2];if(b){c=N[a+360>>2];b:{if((c|0)>0){c=T(c,12)+b|0;while(1){e=N[b+8>>2];if(e){Qa[N[d+8>>2]](d,e)}N[b+8>>2]=0;b=b+12|0;if(c>>>0>b>>>0){continue}break}b=N[a+364>>2];if(!b){break b}}Qa[N[d+8>>2]](d,b)}N[a+364>>2]=0}M[a+344>>1]=0;N[a+360>>2]=0;N[a+348>>2]=0;N[a+352>>2]=0}function Sp(a,b){var c=0,d=0,e=0;a:{if(Q[b+4>>2]>a>>>0){break a}c=N[b+8>>2];if(c>>>0>>0|c-a>>>0<6){break a}e=N[b+12>>2];d=e-6|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=a+1|0;if(d>>>0>c>>>0|c-d>>>0<3){break a}e=e-9|0;N[b+12>>2]=e;c=1;if((e|0)<=0){break a}e=O[a+3|0]|(O[a+2|0]<<8|O[a+1|0]<<16);b:{if(!e){break b}d=N[b+20>>2];c:{if((d|0)>15){break c}d=d+1|0;N[b+20>>2]=d;if(!d){break c}e=$d(a+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(e){break b}}c=N[b+28>>2];if(c>>>0>31){break a}N[b+28>>2]=c+1;c=0;if(!O[b+24|0]){break b}L[a+3|0]=0;L[a+1|0]=0;L[a+2|0]=0;c=1}return c}return 0}function Pt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;a:{b:{if(b){h=142;f=P[a+152>>1];if(!f){break a}g=N[a+156>>2];i=g+(f<<4)|0;while(1){c:{if(N[g>>2]==(b|0)){f=N[g+12>>2];if(f){break c}}g=g+16|0;if(i>>>0>g>>>0){continue}break a}break}c=N[g+8>>2]+c|0;break b}f=N[N[a+104>>2]+4>>2]}d:{if(!e){b=f;break d}b=N[e>>2];if(b){break d}N[e>>2]=f;return 0}h=85;a=N[a+104>>2];e=N[a+4>>2];if(e>>>0<=c>>>0){break a}f=N[a+20>>2];e:{if(f){d=Qa[f|0](a,c,d,b)|0;break e}f=d;d=e-c|0;d=b>>>0>d>>>0?d:b;F(f,N[a>>2]+c|0,d)}N[a+8>>2]=c+d;h=b>>>0>d>>>0?85:0}return h|0}function qB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=6;a:{if(!c|(!a|!b)){break a}f=N[d>>2];if(!f){break a}e=N[d+4>>2];d=Qa[N[f+4>>2]](f,40)|0;if(!d){return!d<<6}N[d+32>>2]=0;N[d+36>>2]=0;N[d>>2]=0;N[d+4>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;N[d+32>>2]=3;f=N[e+4>>2];N[d>>2]=N[e>>2];N[d+4>>2]=f;f=N[a+4>>2];N[d+16>>2]=N[a>>2];N[d+20>>2]=f;a=N[b+4>>2];N[d+24>>2]=N[b>>2];N[d+28>>2]=a;a=N[c+4>>2];N[d+8>>2]=N[c>>2];N[d+12>>2]=a;N[d+36>>2]=N[e+8>>2];N[e+8>>2]=d;a=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=a;e=0}return e|0}function ky(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;g=M[a+302>>1];if(g){a:{b:{c:{switch(N[N[N[a>>2]+96>>2]+64>>2]-35|0){case 5:if(O[a+643|0]){break a}e=N[b+16>>2];f=e+(c<<3)|0;break b;case 0:break c;default:break a}}e=N[b+16>>2];f=e+(c<<3)|0}h=(c<<3)+e|0,i=jb(d,g,N[a+596>>2])+N[f>>2]|0,N[h>>2]=i}e=N[b+24>>2]+c|0;L[e|0]=O[e|0]|8}e=M[a+304>>1];if(e){d:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break d}}f=N[b+16>>2]+(c<<3)|0;h=f,i=jb(d,e,N[a+596>>2])+N[f+4>>2]|0,N[h+4>>2]=i}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|16}}function Xu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;c=La-32|0;La=c;a:{if((Qa[N[b+52>>2]](b,6,c,0)|0)<=5){N[b+12>>2]=3;break a}e=N[c+12>>2];if(!e){N[b+12>>2]=3;break a}i=a+440|0;f=N[c>>2];d=e>>31;d=(d^e)-d|0;b:{if((d|0)==65536){g=N[c+8>>2];h=N[c+4>>2];break b}f=fb(f,d);h=fb(N[c+4>>2],d);g=fb(N[c+8>>2],d);j=c,k=fb(N[c+16>>2],d),N[j+16>>2]=k;j=c,k=fb(N[c+20>>2],d),N[j+20>>2]=k;e=(e|0)<0?-65536:65536}N[a+440>>2]=f;N[a+448>>2]=h;N[a+452>>2]=e;N[a+444>>2]=g;if(!ig(i)){N[b+12>>2]=3;break a}N[a+456>>2]=M[c+18>>1];N[a+460>>2]=M[c+22>>1]}La=c+32|0}function Af(a){var b=0,c=0,d=0,e=0;N[a+24>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+4>>2]=N[a>>2];N[a+8>>2]=N[a+12>>2];mq(a);a:{b:{c:{d:{b=N[a+48>>2];if((b|0)>=0){c=N[a+52>>2];d=c+1|0;if(d>>>0<=b>>>0){break d}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=1073741823){e=$a(N[a+56>>2],b<<2);if(e){break c}}N[a+48>>2]=-1}N[147456]=0;break a}e=N[a+56>>2];break b}N[a+48>>2]=b;N[a+56>>2]=e;c=N[a+52>>2];d=c+1|0}N[a+52>>2]=d;N[(c<<2)+e>>2]=0}N[a+60>>2]=1;N[a+64>>2]=1;N[a+76>>2]=0;N[a+88>>2]=0;N[a+80>>2]=0;N[a+84>>2]=0;N[a+68>>2]=0;N[a+72>>2]=1}function vn(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!a){break a}b=N[a>>2];if(!b){break a}f=N[b+96>>2];if(!f){break a}c=N[b+108>>2];if(!c){break a}e=b+108|0;d=N[f+8>>2];while(1){if(N[c+8>>2]!=(a|0)){c=N[c+4>>2];if(c){continue}break a}break}g=N[c>>2];h=g?g+4|0:e;e=N[c+4>>2];N[h>>2]=e;N[(e?e:b+112|0)>>2]=g;Qa[N[d+8>>2]](d,c);b:{if(N[b+88>>2]!=(a|0)){break b}N[b+88>>2]=0;c=N[b+108>>2];if(!c){break b}N[b+88>>2]=N[c+8>>2]}b=N[a+8>>2];if(b){Qa[b|0](a)}b=N[N[f+12>>2]+60>>2];if(b){Qa[b|0](a)}b=N[a+40>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+40>>2]=0;Qa[N[d+8>>2]](d,a)}}function Wx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{if(!b){break b}c=27008;c:{if(!cb(9676,b)){break c}c=27016;if(!cb(10423,b)){break c}c=27024;if(!cb(10670,b)){break c}c=27032;if(!cb(15774,b)){break c}c=27040;if(!cb(15178,b)){break c}if(cb(11276,b)){break b}c=27048}d=N[c+4>>2];if(d){break a}}d=0;if(!a){break a}c=N[a+4>>2];if(!c){break a}e=N[c+16>>2];if((e|0)<=0){break a}c=c+20|0;e=c+(e<<2)|0;while(1){f=N[N[c>>2]>>2];if(cb(N[f+8>>2],9195)){c=c+4|0;if(e>>>0>c>>>0){continue}break a}break}c=N[f+20>>2];if(!c){break a}d=Qa[N[c+16>>2]](a,b)|0}return d|0}function Al(a,b){var c=0,d=0,e=0;a:{b:{if(O[a+62|0]){d=N[a+84>>2];e=N[a+80>>2];c=N[a+72>>2];if(!((d|0)==(e|0)&(c|0)==N[a+64>>2])){c=b+c|0;if(!(!c|c>>>0>2])){d=0;if(!gb(a,c)){break b}d=N[a+84>>2];e=N[a+80>>2]}c:{if((d|0)!=(e|0)){break c}c=N[a+72>>2];if(c+b>>>0<=N[a+64>>2]+b>>>0){d=e;break c}if(!O[a+62|0]){break a}d=N[a+88>>2];N[a+84>>2]=d;c=T(c,20);if(!c){break c}F(d,e,c);e=N[a+80>>2];d=N[a+84>>2]}F(T(N[a+72>>2],20)+d|0,T(N[a+64>>2],20)+e|0,T(b,20));c=N[a+72>>2]}N[a+72>>2]=c+b}N[a+64>>2]=N[a+64>>2]+b;d=1}return d}ba(8694,17855,209,11932);B()}function Ry(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;f=N[a+12>>2];e=N[a+4>>2];d=La-16|0;La=d;N[d+12>>2]=0;c=-28;b=N[147574];a:{if(b){g=d+12|0;while(1){if(N[b>>2]==(f|0)){break a}if(g){N[g>>2]=b}b=N[b+36>>2];if(b){continue}break}}b=0}b:{if(!e|!b|N[b+4>>2]!=(e|0)){break b}c=N[d+12>>2];N[(c?c+36|0:590296)>>2]=N[b+36>>2];c=N[b+16>>2];if(!(c&32)){c=Da(f|0,e|0,N[b+32>>2],c|0,N[b+12>>2],N[b+24>>2])|0;if(c){break b}}if(N[b+8>>2]){_a(N[b>>2])}c=0;if(O[b+16|0]&32){break b}_a(b)}La=d+16|0;b=c;if(b>>>0>=4294963201){N[147316]=0-b}N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Wy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if($b(a,N[b+8>>2],e)){if(!(N[b+28>>2]==1|N[b+4>>2]!=(c|0))){N[b+28>>2]=d}return}a:{if($b(a,N[b>>2],e)){if(!(N[b+16>>2]!=(c|0)&N[b+20>>2]!=(c|0))){if((d|0)!=1){break a}N[b+32>>2]=1;return}N[b+32>>2]=d;b:{if(N[b+44>>2]==4){break b}M[b+52>>1]=0;a=N[a+8>>2];Qa[N[N[a>>2]+20>>2]](a,b,c,c,1,e);if(O[b+53|0]){N[b+44>>2]=3;if(!O[b+52|0]){break b}break a}N[b+44>>2]=4}N[b+20>>2]=c;N[b+40>>2]=N[b+40>>2]+1;if(N[b+36>>2]!=1|N[b+24>>2]!=2){break a}L[b+54|0]=1;return}a=N[a+8>>2];Qa[N[N[a>>2]+24>>2]](a,b,c,d,e)}}function Wo(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{a=N[a+20>>2];b:{if(!a){break b}c:{d:{b=P[a>>1];e=b<<16>>16;if((e|0)>=2){d=M[(N[a+12>>2]+(b<<1)|0)-4>>1]+1|0;break d}if(e){break d}b=P[a+2>>1];break c}b=M[a+2>>1];if((d|0)!=(b|0)){break c}break a}e:{if(b<<16>>16<2){break e}c=N[a+4>>2];f=c+(d<<3)|0;g=b&65535;c=c+(g<<3)|0;if(N[f>>2]!=N[c-8>>2]|N[f+4>>2]!=N[c-4>>2]|O[(N[a+8>>2]+g|0)-1|0]!=1){break e}b=b-1|0;M[a+2>>1]=b}if((e|0)<=0){break b}c=d;d=(b<<16>>16)-1|0;if((c|0)==(d|0)){M[a+2>>1]=b-1;break a}M[(N[a+12>>2]+(e<<1)|0)-2>>1]=d}return}M[a>>1]=e-1}function Bb(a,b){var c=0,d=0,e=0;c=N[a+4>>2];a:{e=N[a+20>>2];b:{if(e){d=85;if(b>>>0>c>>>0){break b}d=N[a+28>>2];c:{d:{if((b|0)>0){c=Qa[N[d+4>>2]](d,b)|0;if(c){break d}c=64;break a}c=6;if(b){break a}c=0;break c}e=N[a+20>>2]}N[a>>2]=c;e=Qa[e|0](a,N[a+8>>2],c,b)|0;c=N[a>>2];if(b>>>0<=e>>>0){d=0}else{if(c){Qa[N[d+8>>2]](d,c)}c=0;N[a>>2]=0;d=85}N[a+32>>2]=c;N[a+36>>2]=c?b+c|0:0;N[a+8>>2]=e+N[a+8>>2];return d}e=N[a+8>>2];d=85;if(e>>>0>=c>>>0|c-e>>>0>>0){break b}N[a+8>>2]=b+e;c=e+N[a>>2]|0;N[a+32>>2]=c;N[a+36>>2]=b+c;d=0}return d}N[a>>2]=0;return c}function cm(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}b:{c:{b=N[a+8>>2];switch(b|0){case 0:break a;case 1:break b;default:break c}}g=b-1|0;h=g&3;d=1;if(b-2>>>0>=3){j=g&-4;while(1){c=N[a>>2];b=e<<2;f=d<<2;N[c+b>>2]=N[c+f>>2];c=N[a>>2];N[c+(b|4)>>2]=N[(c+f|0)+4>>2];c=N[a>>2];N[c+(b|8)>>2]=N[(c+f|0)+8>>2];c=b|12;b=N[a>>2];N[c+b>>2]=N[(b+f|0)+12>>2];d=d+4|0;e=e+4|0;if((j|0)!=(e|0)){continue}break}}if(!h){break b}while(1){b=N[a>>2];N[b+(e<<2)>>2]=N[b+(d<<2)>>2];d=d+1|0;e=e+1|0;i=i+1|0;if((i|0)!=(h|0)){continue}break}}N[a+8>>2]=g}}function Ro(a,b,c){var d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;N[c+8>>2]=0;N[c+12>>2]=0;N[c>>2]=0;N[c+4>>2]=0;d=N[a+4>>2];a:{if(!N[N[d+128>>2]+52>>2]){d=18;if(b>>>0>255){break a}f=N[a+532>>2];if(!N[f+1188>>2]){break a}h=Qa[N[N[f+3088>>2]>>2]](b)|0;g=N[f+20>>2];if(!g){break a}f=N[f+1188>>2];b=0;while(1){if(P[f+(b<<1)>>1]!=(h|0)){b=b+1|0;if((g|0)!=(b|0)){continue}break a}break}if((b|0)<0){break a}d=N[a+4>>2]}d=Qa[N[a+596>>2]](d,b,e+12|0,e+8|0)|0;if(d){break a}a=N[e+12>>2];N[c+4>>2]=a;b=N[e+8>>2];N[c+12>>2]=a;d=0;N[c+8>>2]=a?a+b|0:0}La=e+16|0;return d}function mA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(O[a+64|0]){break a}L[a+64|0]=1;e=N[a+20>>2];b:{if(O[a+65|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+65|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Wf(a){var b=0,c=0,d=0;a:{if(!a){break a}c=N[a+28>>2];if(!c){break a}d=N[a+36>>2];if(!d){break a}b=N[c+20>>2];if(b){c=N[b>>2];if((c&-2)==4){Qa[d|0](N[a+40>>2],N[b+12>>2]);c=N[b>>2]}if((c|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[b+4>>2])}N[b+28>>2]=0;N[b+32>>2]=0;N[b>>2]=0;d=N[b+40>>2];N[b+52>>2]=d;N[b+48>>2]=d;c=N[b+56>>2];if(c){c=Qa[c|0](0,0,0)|0;N[b+60>>2]=c;N[a+48>>2]=c;d=N[b+40>>2]}Qa[N[a+36>>2]](N[a+40>>2],d);Qa[N[a+36>>2]](N[a+40>>2],N[b+36>>2]);Qa[N[a+36>>2]](N[a+40>>2],b);d=N[a+36>>2];c=N[a+28>>2]}Qa[d|0](N[a+40>>2],c);N[a+28>>2]=0}}function ug(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;if(!N[c+20>>2]){N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;return}a=1<>2];d=0-a|0;f=N[c+8>>2];g=d>>>0>>0?f:d&(a+f|0)-1;d=N[c+12>>2];a:{if(g>>>0>((a^2147483647)>>>0)/(((d|0)<=1?1:d)>>>0)>>>0){break a}e=a+T(d,g)|0;if(e>>>0>=-5-a>>>0){break a}e=kb((a+e|0)+3|0);if(!e){break a}h=e+4|0;i=h&a-1;a=(i?a-i|0:0)+h|0;N[a-4>>2]=e;if(!a){break a}N[b+20>>2]=a;N[b+16>>2]=g;N[b+12>>2]=d;N[b+8>>2]=f;N[b>>2]=N[c>>2];N[b+4>>2]=N[c+4>>2];F(a,N[c+20>>2],T(N[c+12>>2],N[c+16>>2]))}}function Yw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;f=La-16|0;La=f;a=N[a+532>>2];a:{if(!a){e=6;break a}d=N[a+4>>2];Jh(N[a+136>>2],f,d);a=b>>>0>d>>>0?d:b;if(a){F(c,f,a<<2)}if(b>>>0<=d>>>0){break a}d=(a^-1)+b|0;g=b-a&7;if(g){while(1){N[(a<<2)+c>>2]=32768;a=a+1|0;e=e+1|0;if((g|0)!=(e|0)){continue}break}}e=0;if(d>>>0<7){break a}while(1){d=(a<<2)+c|0;N[d>>2]=32768;N[d+4>>2]=32768;N[d+24>>2]=32768;N[d+28>>2]=32768;N[d+16>>2]=32768;N[d+20>>2]=32768;N[d+8>>2]=32768;N[d+12>>2]=32768;a=a+8|0;if((b|0)!=(a|0)){continue}break}}La=f+16|0;return e|0}function To(a,b,c){var d=0,e=0,f=0;a:{if(O[a+44|0]){break a}L[a+44|0]=1;e=N[a+20>>2];if(!e){return 3}b:{if(O[a+45|0]){d=N[a+12>>2];if((M[d+20>>1]+M[d+56>>1]|0)+1>>>0>Q[d+8>>2]){d=Sb(d,0,1);if(d){break a}}f=P[e>>1];d=f<<16>>16;if((d|0)<=0){break b}M[(N[e+12>>2]+(f<<1)|0)-2>>1]=P[e+2>>1]-1}d=P[e>>1]}M[e>>1]=d+1;d=N[a+12>>2];if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+45|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d}function Sw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=N[a+532>>2];if(!e){return 6}f=N[e>>2];i=N[b>>2];a=6;a:{if(f>>>0>i>>>0){break a}b:{if(!f){break b}e=N[e+136>>2];a=0;if(f>>>0>=4){h=f&-4;while(1){d=a<<2;N[d+c>>2]=N[e+d>>2];g=d|4;N[g+c>>2]=N[e+g>>2];g=d|8;N[g+c>>2]=N[e+g>>2];d=d|12;N[d+c>>2]=N[e+d>>2];a=a+4|0;if((h|0)!=(a|0)){continue}break}}d=f&3;if(!d){break b}while(1){h=a<<2;N[h+c>>2]=N[e+h>>2];a=a+1|0;j=j+1|0;if((d|0)!=(j|0)){continue}break}}a=0;if(f>>>0>=i>>>0){break a}C((f<<2)+c|0,0,i-f<<2);a=0}N[b>>2]=f;return a|0}function Fn(a,b){var c=0,d=0,e=0,f=0,g=0;b=N[a+84>>2]+(N[a+48>>2]+b|0)|0;d=N[a+12>>2];a:{if(b>>>0<=d>>>0){break a}b=b+1|0;if((b|d)<0){return 6}f=N[a>>2];g=N[a+52>>2];b:{c:{e=b&-2;d:{if(!e){b=0;if(!g){break d}Qa[N[f+8>>2]](f,g);N[a+52>>2]=0;break b}c=10;if((e|0)>67108863){break a}e:{if(!d){b=Qa[N[f+4>>2]](f,e<<5)|0;c=!b<<6;break e}c=Qa[N[f+12>>2]](f,d<<5,e<<5,g)|0;b=c?c:g;c=!c<<6}if(c|(d|0)>=(e|0)|!b){break c}C((d<<5)+b|0,0,e-d<<5)}N[a+52>>2]=b;break b}N[a+52>>2]=b;if(c){break a}}N[a+12>>2]=e;c=0;N[a+88>>2]=b?(N[a+48>>2]<<5)+b|0:0}return c}function ng(a,b,c,d,e,f,g,h){var i=0,j=0,k=0,l=0,m=0,n=0;i=La-240|0;La=i;N[i+236>>2]=e;N[i+232>>2]=d;N[i>>2]=a;m=1;a:{b:{c:{if(!(e|(d|0)!=1)){j=a;break c}n=0-b|0;k=a;while(1){l=(f<<2)+h|0;j=k-N[l>>2]|0;if((Qa[c|0](j,a)|0)<=0){j=k;break c}d:{if(!((f|0)<2|g)){g=N[l-8>>2];l=k+n|0;if((Qa[c|0](l,j)|0)>=0){break d}if((Qa[c|0](l-g|0,j)|0)>=0){break d}}N[(m<<2)+i>>2]=j;d=bo(d,e);og(i+232|0,d);m=m+1|0;f=d+f|0;g=0;k=j;e=N[i+236>>2];d=N[i+232>>2];if(e|(d|0)!=1){continue}break b}break}j=k;break b}if(g){break a}}ao(b,i,m);hi(j,b,c,f,h)}La=i+240|0}function kA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[N[a+4>>2]+712>>2];a:{b:{if(!N[d+2024>>2]){d=d+1372|0;break b}e=Qa[N[N[d+3088>>2]+8>>2]](d+3052|0,c)|0;c=3;if(e>>>0>=Q[d+2024>>2]){break a}d=N[(d+(e<<2)|0)+2028>>2];if(!b|!N[a+68>>2]){break b}N[a+72>>2]=N[(N[N[b+40>>2]>>2]+(e<<2)|0)+4>>2]}e=N[d+620>>2];N[a+728>>2]=e;N[a+744>>2]=N[d+644>>2];c=0;b=0;c:{if(N[N[a+108>>2]+1416>>2]==1){break c}b=107;if(e>>>0<1240){break c}b=e>>>0<33900?1131:32768}N[a+736>>2]=b;N[a+584>>2]=N[d+540>>2];b=N[d+544>>2];N[a+768>>2]=d;N[a+588>>2]=b}return c|0}function Ch(a,b){var c=0,d=0,e=0,f=0;c=N[a>>2];e=N[b+20>>2];a:{b:{if(e){d=85;if(!(Qa[e|0](b,c,0,0)|0)){break b}break a}d=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;d=rb(b,37936,a+4|0);if(d){break a}d=2;c=P[a+4>>1];if((c|256)!=768){break a}e=N[a+8>>2];if(e>>>0<((c|0)==768?148:118)>>>0){break a}if((c|0)==512){N[a+140>>2]=0;N[a+132>>2]=0;N[a+136>>2]=0}if(L[a+72|0]&1){break a}c=N[a>>2];f=N[b+20>>2];c:{if(f){d=85;if(Qa[f|0](b,c,0,0)|0){break a}e=N[a+8>>2];break c}d=85;if(c>>>0>Q[b+4>>2]){break a}}N[b+8>>2]=c;d=fc(b,e,a+160|0)}return d}function IB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(b){h=N[d>>2]-T(N[d+4>>2],a)|0;while(1){e=P[c+2>>1];a:{if(!e){break a}d=T(M[c>>1],3)+h|0;g=e&7;b:{if(!g){f=e;break b}f=e&65528;a=0;while(1){L[d|0]=O[c+4|0];d=d+3|0;a=a+1|0;if((a&65535)!=(g|0)){continue}break}}if(e>>>0<8){break a}while(1){L[d|0]=O[c+4|0];L[d+3|0]=O[c+4|0];L[d+6|0]=O[c+4|0];L[d+9|0]=O[c+4|0];L[d+12|0]=O[c+4|0];L[d+15|0]=O[c+4|0];L[d+18|0]=O[c+4|0];L[d+21|0]=O[c+4|0];d=d+24|0;f=f-8|0;if(f&65535){continue}break}}c=c+6|0;b=b-1|0;if(b){continue}break}}}function Rc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}N[a+112>>2]=0;N[a+116>>2]=0;b=N[a+104>>2];if(b){Qa[b|0](N[a+100>>2])}Rc(N[a+20>>2]);nj(N[a+24>>2]);oc(N[a+96>>2]);_a(N[a+88>>2]);_a(N[a+92>>2]);_a(a)}return}ba(23506,14099,270,7918);B()}function Hx(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;c=N[a>>2];a:{b:{if(O[c+8|0]&2){d=Qa[N[N[c+540>>2]+104>>2]](c,b,e+12|0)|0;if(!d){c=N[e+12>>2];N[a+116>>2]=c;b=N[a>>2];if(L[b+8|0]&1){Yc(b,c);Th(a);break b}d=Qa[N[N[b+540>>2]+108>>2]](b,c,a+12|0)|0;if(!d){break b}N[a+116>>2]=-1;break a}N[a+116>>2]=-1;c=N[a>>2]}se(c,b);if(!(L[N[a>>2]+8|0]&1)){break a}d=Th(a);if(d){break a}c=a;d=P[a+84>>1];a=N[a+44>>2];a=N[(P[a>>1]>P[a+2>>1]?12:16)+b>>2];f=c,g=jb(d,4608,N[b>>2]==4?72:a?a:72),N[f+120>>2]=g}d=0}La=e+16|0;return d|0}function Yu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[a>>2];c=N[a+44>>2];a:{if(!c){break a}d=N[c>>2];if(!d|!N[d+96>>2]){break a}N[d+88>>2]=c}d=35;c=N[e+504>>2];b:{if(!c|!(O[c+8|0]&2)){break b}d=6;if((b|0)<0|N[c+28>>2]<=(b|0)){break b}d=N[N[N[c+96>>2]+12>>2]+92>>2];c:{if(!d){Yc(c,b);break c}d=Qa[d|0](N[c+88>>2],b)|0;if(d){break b}}b=N[N[e+504>>2]+88>>2];c=N[b+16>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=c;N[a+36>>2]=N[b+36>>2];c=N[b+32>>2];N[a+28>>2]=N[b+28>>2];N[a+32>>2]=c;c=N[b+24>>2];N[a+20>>2]=N[b+20>>2];N[a+24>>2]=c;d=0}return d|0}function DD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;b=0;if(N[N[a+96>>2]+28>>2]!=N[147119]){a:{if(!c){break a}while(1){h=N[d>>2];N[f>>2]=0;i=N[a+96>>2];j=N[i+28>>2];k=N[a+100>>2];i=N[i+12>>2];if(i){i=N[i+8>>2]}else{i=0}if(!(Qa[j|0](a,k,h,f,i)|0)){break a}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return(b>>>0>>0?b:c)|0}a=N[a+20>>2];i=N[a+96>>2];b=N[i+32>>2];h=N[a+100>>2];i=N[i+12>>2];if(!i){return Qa[b|0](a,h,c,d,e,f,g,0)|0}return Qa[b|0](a,h,c,d,e,f,g,N[i+12>>2])|0}function dt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;g=N[b+4>>2];a:{if((g|0)==N[b>>2]){break a}d=N[a+872>>2];if(!d){break a}a=N[b+8>>2];f=N[d+28>>2];if(a>>>0>>0){break a}h=N[d+36>>2]+N[d+40>>2]|0;if(h>>>0<=a>>>0){break a}e=(a-(g<<2)|0)-4|0;if(e>>>0>>0|e>>>0>=((N[d+24>>2]<<2)+f|0)+4>>>0){break a}e=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);L[c+4|0]=0;i=N[d+32>>2];d=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+f|0;if(i>>>0>d>>>0|d>>>0>=h>>>0){break a}N[c>>2]=d;j=1;N[b+4>>2]=g+1;N[b+8>>2]=a+4}return j|0}function Xe(a){var b=0,c=0,d=0;a:{b=db(1,172);b:{if(!b){c=N[147049];b=588184;break b}N[b+148>>2]=1073741823;N[b+152>>2]=536870911;N[b>>2]=1;N[b+4>>2]=1;c=Ic();c:{if(!c){break c}d=N[c>>2];if(!d){break c}if((d|0)<=0){break a}N[c>>2]=d+1}L[b+60|0]=1;N[b+24>>2]=65533;N[b+12>>2]=c}Ye(c);c=N[a+12>>2];d:{if(!c){break d}d=N[c>>2];if(!d){break d}if((d|0)<=0){break a}N[c>>2]=d+1}N[b+12>>2]=c;N[b+16>>2]=N[a+16>>2];N[b+20>>2]=N[a+20>>2];c=N[a+28>>2];N[b+28>>2]=c;N[b+24>>2]=c;N[b+32>>2]=N[a+32>>2];return b}ba(23506,14099,260,16403);B()}function lm(a){var b=0,c=0,d=0,e=0,f=0;N[a+28>>2]=4096;b=a+4168|0;N[a+24>>2]=b;N[a+8268>>2]=b;d=a+72|0;f=a+12|0;a:{while(1){if(!N[a+16>>2]){b=N[a>>2];c=N[b+20>>2];b:{if(c){c=Qa[c|0](b,N[b+8>>2],d,4096)|0;if(c){break b}break a}e=N[b+8>>2];c=N[b+4>>2]-e|0;c=c>>>0>=4096?4096:c;if(!c){break a}F(d,N[b>>2]+e|0,c)}N[b+8>>2]=N[b+8>>2]+c;N[a+16>>2]=c;N[a+12>>2]=d}b=km(f,0);if(b){if((b|0)==1){b=N[a+24>>2];N[a+8272>>2]=b;return(b|0)==N[a+8268>>2]?85:0}break a}if(N[a+28>>2]){continue}break}return 0}N[a+8272>>2]=N[a+8268>>2];return 85}function gg(a,b,c){var d=0,e=0;e=a;a:{b:{c:{d:{if((e^b)&3){break d}d=(c|0)!=0;e:{if(!(b&3)|!c){break e}while(1){d=O[b|0];L[e|0]=d;if(!d){break a}e=e+1|0;c=c-1|0;d=(c|0)!=0;b=b+1|0;if(!(b&3)){break e}if(c){continue}break}}if(!d){break b}if(!O[b|0]){break a}if(c>>>0<4){break d}while(1){d=N[b>>2];if((d^-1)&d-16843009&-2139062144){break c}N[e>>2]=d;e=e+4|0;b=b+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break b}}while(1){d=O[b|0];L[e|0]=d;if(!d){break a}e=e+1|0;b=b+1|0;c=c-1|0;if(c){continue}break}}c=0}ve(e,0,c);return a}function bd(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;f=La-16|0;La=f;A(+b);g=v(1)|0;d=v(0)|0;c=g&2147483647;e=c+-1048576|0;a:{if((e|0)==2145386495|e>>>0<2145386495){h=d<<28;e=c>>>4|0;c=(c&15)<<28|d>>>4;d=e+1006632960|0;break a}if((c|0)==2146435072|c>>>0>2146435072){h=d<<28;c=(g&15)<<28|d>>>4;d=g>>>4|2147418112;break a}if(!(c|d)){c=0;d=0;break a}e=c;c=c?W(c):W(d)+32|0;hc(f,d,e,0,0,c+49|0);i=N[f>>2];h=N[f+4>>2];e=15372-c<<16;c=N[f+8>>2];d=e|N[f+12>>2]^65536}N[a>>2]=i;N[a+4>>2]=h;N[a+8>>2]=c;N[a+12>>2]=g&-2147483648|d;La=f+16|0}function qg(a){var b=0,c=0,d=0;a:{if(!a){if(N[147312]){b=qg(N[147312])}if(N[147274]){b=qg(N[147274])|b}a=N[147575];if(!a){break a}while(1){if(N[a+20>>2]!=N[a+28>>2]){b=qg(a)|b}a=N[a+56>>2];if(a){continue}break}break a}c=N[a+76>>2]>=0;b:{c:{if(N[a+20>>2]==N[a+28>>2]){break c}Qa[N[a+36>>2]](a,0,0)|0;if(N[a+20>>2]){break c}b=-1;if(c){break b}break a}b=N[a+8>>2];d=N[a+4>>2];if((b|0)!=(d|0)){b=d-b|0;Qa[N[a+40>>2]](a,b,b>>31,1)|0}b=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+4>>2]=0;N[a+8>>2]=0;if(!c){break a}}}return b}function sB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=6;a:{if(!a){break a}e=N[b>>2];c=N[b+4>>2];if(N[c>>2]==N[a>>2]){d=0;if(N[c+4>>2]==N[a+4>>2]){break a}}d=6;if(!e){break a}b=Qa[N[e+4>>2]](e,40)|0;if(!b){return!b<<6}N[b+32>>2]=0;N[b+36>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b+32>>2]=1;e=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=e;e=N[a+4>>2];N[b+8>>2]=N[a>>2];N[b+12>>2]=e;N[b+36>>2]=N[c+8>>2];N[c+8>>2]=b;b=N[a+4>>2];N[c>>2]=N[a>>2];N[c+4>>2]=b;d=0}return d|0}function ps(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{d=a+20|0;if(d>>>0<=Q[b+160>>2]){c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);if(c>>>0<20|c>>>0>N[b+160>>2]-a>>>0){break b}a=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);if(a>>>0>c-20>>>1>>>0){break b}if(!(!N[b+164>>2]|!a)){c=N[b+172>>2];while(1){if(c>>>0<=(O[d+1|0]|O[d|0]<<8)>>>0){break a}d=d+2|0;a=a-1|0;if(a){continue}break}}return 0}Pb(b,8);B()}Pb(b,8);B()}Pb(b,16);B()}function qs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=N[b>>2];if((d|0)==-1){return 0}d=d+1|0;a=N[a+16>>2];c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);e=c>>>0>>0?d:c;c=e-c|0;d=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);d=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);a:{if(c>>>0>=d>>>0){break a}a=((c<<1)+a|0)+20|0;while(1){f=O[a+1|0]|O[a|0]<<8;if(f){break a}if((e|0)==-1){return 0}a=a+2|0;e=e+1|0;c=c+1|0;if(d>>>0>c>>>0){continue}break}f=0}N[b>>2]=e;return f|0}function EB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;b=N[a+4>>2];g=b+c|0;b=0-b|0;f=g-1&b;b=b&d;if((P[e+12>>1]&7)!=2){b=N[a+20>>2]<(d-g|0)?b:(c|0)==(f|0)?b:(b|0)==(d|0)?b:f}c=N[a>>2];b=b>>c;a:{if((b|0)<0){break a}d=f>>c;c=P[a+50>>1];if((d|0)>=(c|0)){break a}f=b>>>0>>0?b:c-1|0;c=-128>>(f&7);e=N[a+56>>2];d=(d|0)>0?d:0;a=d>>>3|0;b=e+a|0;d=255>>>(d&7)|0;f=f<<13>>16;g=f-a|0;b:{if((g|0)>0){L[b|0]=d|O[b|0];if((g|0)!=1){C((a+e|0)+1|0,255,f+(a^-1)|0);a=f-1|0}b=(a+e|0)+1|0;break b}c=c&d}L[b|0]=O[b|0]|c}}function Fm(a,b){var c=0,d=0,e=0;if(b){d=N[b+608>>2];if(d){c=N[d+28>>2];e=N[b+640>>2];if(e){if(N[d+20>>2]){Qa[N[c+8>>2]](c,e)}N[b+640>>2]=0}d=N[b+636>>2];if(d){Qa[N[c+8>>2]](c,d)}c=b+608|0;N[c>>2]=0;N[c+4>>2]=0;N[c+32>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0}c=N[b+644>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+644>>2]=0;c=N[b+572>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+572>>2]=0;c=N[b+580>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+580>>2]=0;c=N[b+592>>2];if(c){Qa[N[a+8>>2]](a,c)}N[b+592>>2]=0}}function BD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;b=La-16|0;La=b;N[b+12>>2]=c;d=N[a+96>>2];e=N[d+48>>2];a:{if((e|0)!=N[147124]){f=N[a+100>>2];g=b+12|0;h=b+8|0;c=N[d+12>>2];if(c){c=N[c+28>>2]}else{c=0}Qa[e|0](a,f,1,g,0,h,0,c);c=N[b+8>>2];break a}d=N[a+20>>2];e=N[d+96>>2];f=N[e+40>>2];g=N[d+100>>2];e=N[e+12>>2];if(e){e=N[e+20>>2]}else{e=0}c=Qa[f|0](d,g,c,e)|0;d=N[a+20>>2];if(!d){break a}d=N[d+28>>2];a=N[a+28>>2];if((d|0)==(a|0)){break a}c=VE(UE(a,a>>31,c,c>>31),Pa,d,d>>31)}La=b+16|0;return c|0}function AD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;b=La-16|0;La=b;N[b+12>>2]=c;d=N[a+96>>2];e=N[d+52>>2];a:{if((e|0)!=N[147125]){f=N[a+100>>2];g=b+12|0;h=b+8|0;c=N[d+12>>2];if(c){c=N[c+32>>2]}else{c=0}Qa[e|0](a,f,1,g,0,h,0,c);c=N[b+8>>2];break a}d=N[a+20>>2];e=N[d+96>>2];f=N[e+44>>2];g=N[d+100>>2];e=N[e+12>>2];if(e){e=N[e+24>>2]}else{e=0}c=Qa[f|0](d,g,c,e)|0;d=N[a+20>>2];if(!d){break a}d=N[d+32>>2];a=N[a+32>>2];if((d|0)==(a|0)){break a}c=VE(UE(a,a>>31,c,c>>31),Pa,d,d>>31)}La=b+16|0;return c|0}function un(a,b,c){var d=0,e=0,f=0,g=0,h=0;d=35;a:{if(!(O[a+8|0]&2)){break a}d=7;if(N[b>>2]){break a}e=N[b+4>>2];f=e;d=N[b+12>>2];if(d){f=(T(d,e)+36|0)/72|0}g=N[b+8>>2];h=g;d=23;b=N[b+16>>2];if(b){h=(T(b,g)+36|0)/72|0}b=g?h:f;f=(e?f:b)+32&-64;if(!f){break a}e=(e?b:h)+32&-64;if(!e){break a}h=N[a+28>>2];if((h|0)<=0){break a}a=N[a+32>>2];b=0;while(1){g=a+(b<<4)|0;if(!((e|0)!=(N[g+12>>2]+32&-64)|(f|0)!=(N[g+8>>2]+32&-64))){d=0;if(!c){break a}N[c>>2]=b;return 0}b=b+1|0;if((h|0)!=(b|0)){continue}break}}return d}function Qh(a,b){var c=0,d=0,e=0,f=0,g=0;c=N[b+4>>2];if(c){if(N[b>>2]){while(1){f=e<<4;d=N[(f+c|0)+8>>2];if(d){Qa[N[a+8>>2]](a,d);c=N[b+4>>2]}d=c+f|0;N[d+8>>2]=0;d=N[d+12>>2];if(d){Qa[N[a+8>>2]](a,d);c=N[b+4>>2]}N[(c+f|0)+12>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}Qa[N[a+8>>2]](a,c);N[b+4>>2]=0}e=N[b+16>>2];if(e){f=N[b+12>>2];if(f){c=0;while(1){d=c<<2;g=N[d+e>>2];if(g){Qa[N[a+8>>2]](a,g);f=N[b+12>>2];e=N[b+16>>2]}N[e+d>>2]=0;c=c+1|0;if(f>>>0>c>>>0){continue}break}}Qa[N[a+8>>2]](a,e);N[b+16>>2]=0}}function rB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=6;a:{if(!a|!b){break a}e=N[c>>2];if(!e){break a}d=N[c+4>>2];c=Qa[N[e+4>>2]](e,40)|0;if(!c){return!c<<6}N[c+32>>2]=0;N[c+36>>2]=0;N[c>>2]=0;N[c+4>>2]=0;N[c+24>>2]=0;N[c+28>>2]=0;N[c+16>>2]=0;N[c+20>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;N[c+32>>2]=2;e=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=e;e=N[a+4>>2];N[c+16>>2]=N[a>>2];N[c+20>>2]=e;a=N[b+4>>2];N[c+8>>2]=N[b>>2];N[c+12>>2]=a;N[c+36>>2]=N[d+8>>2];N[d+8>>2]=c;a=N[b+4>>2];N[d>>2]=N[b>>2];N[d+4>>2]=a;d=0}return d|0}function CB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:{f=T(b,f);if((f|0)<=0){break a}i=a+f|0;if(e){j=e&-2;k=e&1;while(1){f=0;b:{if((e|0)!=1){while(1){h=a+f|0;g=O[c+f|0]+O[h|0]|0;L[h|0]=g>>>0>=255?255:g;g=f|1;h=g+a|0;g=O[c+g|0]+O[h|0]|0;L[h|0]=g>>>0>=255?255:g;f=f+2|0;if((j|0)!=(f|0)){continue}break}if(!k){break b}}g=a+f|0;f=O[c+f|0]+O[g|0]|0;L[g|0]=f>>>0>=255?255:f}c=c+d|0;a=a+b|0;if(i>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(i>>>0>a>>>0){continue}break}}}function Ee(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;N[a+112>>2]=N[a+112>>2]+1;dd(N[a+852>>2]);dd(N[a+848>>2]);dd(N[a+844>>2]);b=N[a+16>>2];N[a+132>>2]=b;c=N[a+20>>2];N[a+136>>2]=c;d=b-(N[a- -64>>2]+N[a+68>>2]|0)|0;N[a+144>>2]=d;e=c-(N[a+56>>2]+N[a+60>>2]|0)|0;N[a+140>>2]=e;h=UE(d,d>>31,c,c>>31);f=Pa;i=UE(e,e>>31,b,b>>31);g=Pa;S[a+160>>3]=(g|0)<=(f|0)&h>>>0>=i>>>0|(f|0)>(g|0)?+(b|0):+(c|0)*+(d|0)/+(e|0);if((f|0)<=(g|0)&h>>>0<=i>>>0|(f|0)<(g|0)){S[a+152>>3]=c|0;return}S[a+152>>3]=+(b|0)*+(e|0)/+(d|0)}function Qd(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;a:{if(f&64){c=f+-64|0;b=c&31;if((c&63)>>>0>=32){c=0;b=e>>>b|0}else{c=e>>>b|0;b=((1<>>b}d=0;e=0;break a}if(!f){break a}i=d;h=64-f|0;g=h&31;if((h&63)>>>0>=32){h=i<>>32-g|e<>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<>>b}b=j|b;c=g|h;g=d;d=f&31;if((f&63)>>>0>=32){h=0;d=e>>>d|0}else{h=e>>>d|0;d=((1<>>d}e=h}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e}function fg(a,b){var c=0,d=0,e=0;d=La-16|0;La=d;a:{if(!a){c=35;break a}c=6;if(!b|N[b+4>>2]<0|(N[b+8>>2]<0|Q[b>>2]>4)){break a}c=N[a+88>>2];N[N[c+40>>2]+12>>2]=0;e=N[N[N[a+96>>2]+12>>2]+88>>2];if(e){c=Qa[e|0](c,b)|0;break a}if((N[a+8>>2]&3)==2){c=un(a,b,d+12|0);if(c){break a}b=N[d+12>>2];c=35;b:{c:{if(!a|!(O[a+8|0]&2)){break c}c=6;if((b|0)<0|(b|0)>=N[a+28>>2]){break c}c=N[N[N[a+96>>2]+12>>2]+92>>2];if(c){a=Qa[c|0](N[a+88>>2],b)|0;break b}Yc(a,b);c=0}a=c}c=a;break a}se(a,b);c=0}La=d+16|0;return c}function bE(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;b=N[b>>2];a=N[b+12>>2];a:{if(a){break a}while(1){a=N[b>>2];if(!a){a=275552;break a}h=db(1,48);if(!h){a=275552;N[b+12>>2]=275552;break a}a=gj(h,a);if(!N[b+12>>2]){N[b+12>>2]=a;break a}ab(N[a+44>>2]);_a(a);a=N[b+12>>2];if(!a){continue}break}}h=N[a+8>>2];if(!h){return 0}b=0;b:{if(!c){break b}a=N[a+12>>2];while(1){if(!(Qa[h|0](a,N[d>>2],f)|0)){break b}f=f+g|0;d=d+e|0;b=b+1|0;if((c|0)!=(b|0)){continue}break}b=c}return b|0}function hr(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+660>>2];if(b){vg(b);N[a+660>>2]=0}Zo(N[a+384>>2]);c=N[a+380>>2];if(c){_a(N[c>>2]);N[c>>2]=0;b=N[c+8>>2];e=0;a:{if(!b){break a}d=N[b>>2];e=b;if(!d){break a}while(1){_a(d);d=N[b+4>>2];b=b+4|0;if(d){continue}break}e=N[c+8>>2]}_a(e);N[c+8>>2]=0;if(N[c+16>>2]){b=0;while(1){d=T(b,12);_a(N[d+N[c+12>>2]>>2]);_a(N[(d+N[c+12>>2]|0)+4>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[c+12>>2]);_a(c)}_a(N[a>>2]);N[a+8>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function Nv(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}e=N[b+16>>2];if((e|0)<=0){break a}c=N[c+320>>2];b=b+20|0;e=b+(e<<2)|0;while(1){f=N[b>>2];if(cb(N[N[f>>2]+8>>2],11971)){b=b+4|0;if(e>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}c=Qa[b|0](f)|0;if(!c){break a}b=N[a>>2];g=Qa[N[c>>2]](N[b+100>>2],N[b+304>>2]+T(N[b+4>>2],252)|0,d+12|0)|0;if(g){break a}N[N[a+40>>2]>>2]=N[d+12>>2]}La=d+16|0;return g|0}function st(a){a=a|0;var b=0,c=0,d=0;a:{if(!O[a+632|0]){break a}c=N[a+100>>2];b=N[a+476>>2];if((b|0)!=151552){if((b|0)!=131072){break a}b=N[a+640>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+636>>1]=0;N[a+640>>2]=0;if(!P[a+638>>1]){break a}b=N[a+644>>2];N[b>>2]=N[b>>2]-1;b=N[a+644>>2];d=N[b>>2];if(d){Qa[N[c+8>>2]](c,d);b=N[a+644>>2]}N[b>>2]=0;b=N[a+644>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+638>>1]=0;N[a+644>>2]=0;break a}b=N[a+640>>2];if(b){Qa[N[c+8>>2]](c,b)}M[a+636>>1]=0;N[a+640>>2]=0}L[a+632|0]=0}function KB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;a:{f=T(b,f);if((f|0)<=0){break a}h=a+f|0;if(e){j=e&-2;k=e&1;while(1){f=0;b:{if((e|0)!=1){while(1){g=a+f|0;L[g|0]=T(O[g|0],O[c+f|0]^255)+255>>>8;g=f|1;i=g+a|0;L[i|0]=T(O[i|0],O[c+g|0]^255)+255>>>8;f=f+2|0;if((j|0)!=(f|0)){continue}break}if(!k){break b}}g=a+f|0;L[g|0]=T(O[g|0],O[c+f|0]^255)+255>>>8}c=c+d|0;a=a+b|0;if(h>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(h>>>0>a>>>0){continue}break}}}function rD(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;b=N[a+20>>2];N[f>>2]=0;N[e>>2]=0;g=N[b+96>>2];h=N[g+76>>2];i=N[b+100>>2];g=N[g+12>>2];if(g){g=N[g+56>>2]}else{g=0}h=Qa[h|0](b,i,c,d,e,f,g)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[e>>2];d=N[c+28>>2];g=N[a+28>>2];if((d|0)!=(g|0)){b=VE(UE(g,g>>31,b,b>>31),Pa,d,d>>31)}N[e>>2]=b;b=N[f>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[f>>2]}N[f>>2]=b}return h|0}function fn(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=La-16|0;La=e;d=N[a+736>>2];a:{if(!d){c=re(a,0);if(c){break a}d=N[a+736>>2]}c=6;if(P[a+14>>1]>>0){break a}b:{if(b){f=N[a+100>>2];g=N[d+12>>2];d=N[g+16>>2]+T(b,12)|0;c=Qa[N[N[a+540>>2]+160>>2]](a,P[d-8>>1],e+12|0)|0;if(c){break a}c=N[a+24>>2];if(c){Qa[N[f+8>>2]](f,c)}N[a+24>>2]=N[e+12>>2];c=Ph(a,N[g>>2],N[d-12>>2]);if(c){c=(c|0)!=-1?c:0;break a}c=0;break b}c=Ph(a,0,0)}M[a+6>>1]=b;N[a+8>>2]=N[a+8>>2]&-32769}La=e+16|0;return c|0}function Aq(a,b){var c=0,d=0,e=0;a:{c=N[a+72>>2]+1|0;b:{if(!(!c|c>>>0>2])){if(!gb(a,c)){break b}}d=N[a+84>>2];c:{if((d|0)!=N[a+80>>2]){break c}e=N[a+72>>2];if(Q[a+64>>2]>=e+1>>>0){break c}if(!O[a+62|0]){break a}c=N[a+88>>2];N[a+84>>2]=c;e=T(e,20);if(!e){d=c;break c}F(c,d,e);d=N[a+84>>2]}c=N[b+4>>2];d=T(N[a+72>>2],20)+d|0;N[d>>2]=N[b>>2];N[d+4>>2]=c;N[d+16>>2]=N[b+16>>2];c=N[b+12>>2];N[d+8>>2]=N[b+8>>2];N[d+12>>2]=c;N[a+72>>2]=N[a+72>>2]+1}return}ba(8694,17855,209,11932);B()}function tu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;a:{d=N[b>>2];e=N[a+16>>2];g=P[e+2>>1];h=g+(P[e+6>>1]<<8)|0;if(d>>>0>=h>>>0){break a}a=P[e>>1];k=(g-a|0)+1|0;i=P[e+4>>1];j=a+(i<<8)|0;e=N[e+12>>2];while(1){c=d+1|0;c=c>>>0>j>>>0?c:j;d=c>>>8|0;c=c&255;b:{if(c>>>0>>0){c=a;break b}f=c>>>0>g>>>0;c=f?a:c;d=d+f|0}f=d&65535;d=(f<<8)+c|0;c=P[e+((c-a|0)+T(f-i|0,k)<<1)>>1];if((c|0)!=65535){break a}if(d>>>0>>0){continue}break}N[b>>2]=d;return 65535}N[b>>2]=d;return c|0}function Xs(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;N[c>>2]=-1;N[d>>2]=-1;f=P[a+340>>1];if(f){h=N[a+356>>2];a=0;while(1){e=T(a,20)+h|0;a:{if(P[e+6>>1]!=(b|0)|!P[e+8>>1]){break a}b:{c:{switch(P[e>>1]-1|0){case 2:if(P[e+2>>1]>1){break a}g=c;if(P[e+4>>1]==1033|N[c>>2]==-1){break b}break a;case 0:break c;default:break a}}if(P[e+2>>1]){break a}g=d;if(!P[e+4>>1]){break b}if(N[d>>2]!=-1){break a}}N[g>>2]=a}a=a+1|0;if((f|0)!=(a|0)){continue}break}}return(N[d>>2]&N[c>>2])>=0|0}function pn(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;e=La-16|0;La=e;a:{if(!a){f=35;break a}f=38;if(!b){break a}d=N[a+40>>2];if(!d){break a}f=6;g=N[a+36>>2];if((g|0)<=0){break a}g=(g<<2)+d|0;while(1){b:{if(N[d>>2]!=(b|0)){break b}c=N[b>>2];c:{if(!c){break c}c=N[c+96>>2];h=N[N[c>>2]+32>>2];if(!h){break c}c=Qa[h|0](c,10557)|0;if(!c){break c}if(Qa[N[c>>2]](b,e+8|0)|0){break c}if(N[e+12>>2]==14){break b}}N[a+92>>2]=N[d>>2];f=0;break a}d=d+4|0;if(g>>>0>d>>>0){continue}break}}La=e+16|0;return f}function Jf(a,b,c,d){var e=0,f=0;f=N[b+88>>2];e=O[a+2|0]|O[a+3|0]<<8;R[c>>2]=R[f+44>>2]*U((e<<8|e>>>8)<<16>>16);e=O[a+4|0]|O[a+5|0]<<8;R[d>>2]=R[f+48>>2]*U((e<<8|e>>>8)<<16>>16);if(N[f+72>>2]|N[f+84>>2]){e=O[a+6|0]|O[a+7|0]<<8;if(e){e=((e<<8|e>>>8)&65535)+a|0}else{e=275552}e=Zg(e,f,N[b+108>>2],N[b+112>>2]);R[c>>2]=R[c>>2]+U(e|0)}if(N[f+76>>2]|N[f+84>>2]){c=O[a+8|0]|O[a+9|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}a=Yg(a,f,N[b+108>>2],N[b+112>>2]);R[d>>2]=R[d>>2]+U(a|0)}}function xi(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;g=La-32|0;La=g;e=S[a+24>>3]*e;a:{if(V(e)<2147483648){i=~~e;break a}i=-2147483648}h=f&1;d=S[a+16>>3]*d;b:{if(V(d)<2147483648){j=~~d;break b}j=-2147483648}c:{if(h){N[g+28>>2]=c+i;N[g+24>>2]=b+j;k=N[a>>2];h=N[g+28>>2];N[g+16>>2]=N[g+24>>2];N[g+20>>2]=h;h=0;if(!Fb(k,g+16|0,1)){break c}}if(f&2){N[g+28>>2]=c-i;N[g+24>>2]=b-j;a=N[a+4>>2];b=N[g+28>>2];N[g+8>>2]=N[g+24>>2];N[g+12>>2]=b;h=0;if(!Fb(a,g+8|0,1)){break c}}h=1}La=g+32|0;return h}function SB(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;a:{h=T(b,h);if((h|0)<=0){break a}j=a+h|0;if(g){k=g&-2;l=g&1;while(1){h=0;b:{if((g|0)!=1){while(1){L[a+h|0]=T(O[e+h|0],O[c+h|0])+255>>>8;i=h|1;L[i+a|0]=T(O[e+i|0],O[c+i|0])+255>>>8;h=h+2|0;if((k|0)!=(h|0)){continue}break}if(!l){break b}}L[a+h|0]=T(O[e+h|0],O[c+h|0])+255>>>8}e=e+f|0;c=c+d|0;a=a+b|0;if(j>>>0>a>>>0){continue}break}break a}while(1){a=a+b|0;if(j>>>0>a>>>0){continue}break}}}function te(a,b,c){var d=0,e=0,f=0;a:{if(!a){break a}d=M[a+2>>1];if((d|0)<=0){break a}a=N[a+4>>2];if(d>>>0>=4){f=d&-4;while(1){N[a>>2]=N[a>>2]+b;N[a+4>>2]=N[a+4>>2]+c;N[a+8>>2]=N[a+8>>2]+b;N[a+16>>2]=N[a+16>>2]+b;N[a+24>>2]=N[a+24>>2]+b;N[a+12>>2]=N[a+12>>2]+c;N[a+20>>2]=N[a+20>>2]+c;N[a+28>>2]=N[a+28>>2]+c;a=a+32|0;e=e+4|0;if((f|0)!=(e|0)){continue}break}}d=d&3;if(!d){break a}e=0;while(1){N[a>>2]=N[a>>2]+b;N[a+4>>2]=N[a+4>>2]+c;a=a+8|0;e=e+1|0;if((d|0)!=(e|0)){continue}break}}}function hc(a,b,c,d,e,f){var g=0,h=0,i=0;a:{if(f&64){d=b;e=f+-64|0;b=e&31;if((e&63)>>>0>=32){e=d<>>32-b|c<>>0>=32){h=g<>>32-d|e<>>0>=32){e=0;b=c>>>d|0}else{e=c>>>d|0;b=((1<>>d}d=i|b;e=e|h;b=f&31;if((f&63)>>>0>=32){h=g<>>32-b|c<>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e}function fz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;e=La-32|0;La=e;N[e+16>>2]=b;d=N[a+48>>2];N[e+20>>2]=c-((d|0)!=0);f=N[a+44>>2];N[e+28>>2]=d;N[e+24>>2]=f;a:{b:{d=oa(N[a+60>>2],e+16|0,2,e+12|0)|0;if(d){N[147316]=d;d=-1}else{d=0}if(d){b=32}else{d=N[e+12>>2];if((d|0)>0){break b}b=d?32:16}N[a>>2]=b|N[a>>2];break a}g=d;f=N[e+20>>2];if(f>>>0>=d>>>0){break a}d=N[a+44>>2];N[a+4>>2]=d;N[a+8>>2]=d+(g-f|0);if(N[a+48>>2]){N[a+4>>2]=d+1;L[(b+c|0)-1|0]=O[d|0]}g=c}La=e+32|0;return g|0}function uf(a,b,c){var d=0,e=0,f=0;if(Q[b+4>>2]>a>>>0){return 0}d=N[b+8>>2];if(d>>>0>>0){return 0}if(d-a>>>0<3){return 0}e=N[b+12>>2]-3|0;N[b+12>>2]=e;d=1;if((e|0)<=0){return 0}e=O[a+2|0]|(O[a+1|0]<<8|O[a|0]<<16);a:{if(!e){break a}f=N[b+20>>2];b:{if((f|0)>15){break b}f=f+1|0;N[b+20>>2]=f;if(!f){break b}c=$d(c+e|0,b);N[b+20>>2]=N[b+20>>2]-1;if(c){break a}}c=N[b+28>>2];if(c>>>0>31){return 0}N[b+28>>2]=c+1;d=0;if(!O[b+24|0]){break a}L[a+2|0]=0;L[a|0]=0;L[a+1|0]=0;d=1}return d}function IA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{b:{c=N[a+28>>2];if(O[c+44|0]){break b}d=To(c,N[b>>2],N[b+4>>2]);if(!d){break b}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=d;return}d=N[b+12>>2];f=N[b+8>>2];c:{b=N[c+12>>2];if((M[b+22>>1]+M[b+58>>1]|0)+1>>>0>Q[b+4>>2]){b=Sb(b,1,0);if(b){break c}}a=N[c+20>>2];if(O[c+45|0]){b=N[a+8>>2];c=M[a+2>>1];e=N[a+4>>2]+(c<<3)|0;N[e+4>>2]=d>>10;N[e>>2]=f>>10;L[b+c|0]=1}M[a+2>>1]=P[a+2>>1]+1;return}a=N[a+24>>2];if(N[a>>2]){break a}N[a>>2]=b}}function Dt(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qa[N[a+516>>2]](a,1835104368,b,0)|0;a:{if(c){break a}d=a+260|0;c=rb(b,178672,d);if(c){break a}M[a+290>>1]=0;M[a+282>>1]=0;M[a+284>>1]=0;M[a+286>>1]=0;M[a+288>>1]=0;M[a+274>>1]=0;M[a+276>>1]=0;M[a+278>>1]=0;M[a+280>>1]=0;M[a+266>>1]=0;M[a+268>>1]=0;M[a+270>>1]=0;M[a+272>>1]=0;b:{if(N[a+260>>2]<65536){break b}c=rb(b,178688,d);if(c){break a}if(P[a+280>>1]<=63){M[a+280>>1]=64}if(P[a+276>>1]<65532){break b}M[a+276>>1]=65531}c=0}return c|0}function tg(a){var b=0,c=0,d=0,e=0;d=La-32|0;La=d;b=N[a+500>>2];e=b;c=N[a+496>>2];N[d+8>>2]=c;N[d+12>>2]=b;b=c;if(b){c=e;a:{if(!(!c|O[b|0]!=64)){N[d+12>>2]=c-1;N[d+24>>2]=1;N[d+8>>2]=b+1;break a}N[d+24>>2]=0}c=700;b:{c:{b=N[a+504>>2];switch(b+1|0){case 0:case 2:break b;default:break c}}c=b?b:400}N[d+16>>2]=c;c=N[a+508>>2];N[d+20>>2]=(c|0)==1?100:c;tb(N[a+72>>2]);c=0;b=N[a>>2];b=sc(N[b+840>>2],d+8|0,b);d:{if(!b){break d}if(N[b+20>>2]){c=b;break d}tb(b)}N[a+72>>2]=c}La=d+32|0}function DE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;c=N[N[a+112>>2]+4>>2];if(c){zj(c,b,N[a+4>>2])}a=O[b+140|0];if(!(a&64)){L[b+140|0]=a|64;d=N[b+68>>2];if(d){e=N[b+80>>2];g=e+2|0;a=0;while(1){c=0;f=T(a,20);b=N[f+e>>2];if(b>>>0<=921599){c=O[(b&1|O[(b>>>1&7|P[(b>>>3&14|O[(b>>>7&31|O[(b>>>13|0)+248896|0]>>>(b>>>10&4)<<5&480)+249009|0]<<4)+252048>>1]<<3)+249489|0]<<1)+251673|0]}L[(g+f|0)+16|0]=c;a=a+1|0;if((d|0)!=(a|0)){continue}break}}return}ba(22778,14165,169,12138);B()}function xD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=N[a+20>>2];N[e>>2]=0;N[d>>2]=0;f=N[b+96>>2];g=N[f+56>>2];h=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+36>>2]}else{f=0}h=Qa[g|0](b,h,c,d,e,f)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[d>>2];f=N[c+28>>2];g=N[a+28>>2];if((f|0)!=(g|0)){b=VE(UE(g,g>>31,b,b>>31),Pa,f,f>>31)}N[d>>2]=b;b=N[e>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[e>>2]}N[e>>2]=b}return h|0}function vD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;b=N[a+20>>2];N[e>>2]=0;N[d>>2]=0;f=N[b+96>>2];g=N[f+60>>2];h=N[b+100>>2];f=N[f+12>>2];if(f){f=N[f+40>>2]}else{f=0}h=Qa[g|0](b,h,c,d,e,f)|0;if(h){c=N[a+20>>2];a:{if(c){b=N[d>>2];f=N[c+28>>2];g=N[a+28>>2];if((f|0)!=(g|0)){b=VE(UE(g,g>>31,b,b>>31),Pa,f,f>>31)}N[d>>2]=b;b=N[e>>2];c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31);break a}b=N[e>>2]}N[e>>2]=b}return h|0}function $o(a,b){var c=0,d=0,e=0;d=La-16|0;La=d;c=N[a>>2]+1|0;N[d+12>>2]=c;a:{if(b>>>0<=c>>>0){break a}while(1){Tb(d+12|0,b);c=N[d+12>>2];if(c>>>0>=b>>>0){break a}b:{e=O[c|0];if((e-48&255)>>>0<=9){break b}switch(e-65|0){case 0:case 1:case 2:case 3:case 4:case 5:case 32:case 33:case 34:case 35:case 36:case 37:break b;default:break a}}c=c+1|0;N[d+12>>2]=c;if(b>>>0>c>>>0){continue}break}}c:{if(b>>>0>c>>>0){b=3;if(O[c|0]!=62){break c}}c=c+1|0;b=0}N[a>>2]=c;La=d+16|0;return b}function LE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;b=N[c+68>>2];a:{if(!b){break a}a=N[c+80>>2];c=0;if(b>>>0>=4){e=b&-4;while(1){d=T(c,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|1,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|2,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;d=T(c|3,20)+a|0;M[d+12>>1]=P[d+12>>1]&65519;c=c+4|0;if((e|0)!=(c|0)){continue}break}}b=b&3;if(!b){break a}while(1){e=T(c,20)+a|0;M[e+12>>1]=P[e+12>>1]&65519;c=c+1|0;f=f+1|0;if((b|0)!=(f|0)){continue}break}}return 0}function dc(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}Ye(N[a+12>>2]);_a(N[a+80>>2]);_a(N[a+88>>2]);b=N[a+164>>2];if(b){Qa[b|0](N[a+160>>2])}_a(a)}return}ba(23506,14099,270,7918);B()}function Ri(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;if(N[b+72>>2]==N[a+16>>2]){e=M[b+110>>1];a:{if(!e){e=0;a=0;b=0;break a}d=N[b+112>>2];a=N[d+4>>2];b=N[d>>2];if((e|0)<2){e=a;f=b;break a}i=(e<<3)+d|0;h=d+8|0;f=b;e=a;while(1){g=N[d+12>>2];e=(e|0)<(g|0)?g:e;a=(a|0)>(g|0)?g:a;d=N[d+8>>2];f=(d|0)>(f|0)?d:f;b=(b|0)>(d|0)?d:b;d=h;h=d+8|0;if(i>>>0>h>>>0){continue}break}}N[c+8>>2]=f;N[c>>2]=b;N[c+12>>2]=e;N[c+4>>2]=a}}function oD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=U(0),h=U(0),i=0;b=La-32|0;La=b;N[b+16>>2]=e;N[b+12>>2]=d;d=N[a+20>>2];e=N[d+28>>2];if(e){g=U(U(N[a+28>>2])/U(e|0))}else{g=U(0)}R[b+20>>2]=g;e=N[d+32>>2];if(e){g=U(e|0);h=U(U(N[a+32>>2])/g);g=U(U(U(R[a+36>>2]-R[d+36>>2])*U(N[a+28>>2]))/g)}else{g=U(0)}R[b+28>>2]=g;R[b+24>>2]=h;a=N[d+96>>2];e=N[a+88>>2];f=N[d+100>>2];i=b+12|0;a=N[a+12>>2];if(a){a=N[a+68>>2]}else{a=0}Qa[e|0](d,f,c,588872,i,a);La=b+32|0}function zc(a){var b=0,c=0,d=0,e=0;a:{b:{if(O[a+62|0]){b=N[a+68>>2];d=N[a+64>>2];if(b>>>0>>0){break b}c:{d:{if(O[a+60|0]){c=N[a+72>>2];if(Al(a,b-d|0)){break d}b=N[a+68>>2]}N[a+84>>2]=N[a+80>>2];c=d;break c}e=N[a+84>>2];b=N[a+80>>2];if((e|0)!=(b|0)){N[a+80>>2]=e;N[a+88>>2]=b}b=N[a+72>>2];N[a+68>>2]=b}N[a+72>>2]=c;L[a+62|0]=1;N[a+64>>2]=c;if(b>>>0>>0){break a}return c-d|0}ba(8694,17855,395,17735);B()}ba(13069,17855,397,17735);B()}ba(13069,17855,438,12229);B()}function _o(a,b,c,d){var e=0,f=0,g=0,h=0;h=N[a>>2];if(h>>>0>>0){f=1;d=d<<1;b=b-h|0;d=b>>>0>d>>>0?d:b;a:{if(!d){b=0;break a}b=0;b:{while(1){c:{d:{e=O[b+h|0];switch(e|0){case 0:case 9:case 10:case 12:case 13:case 32:break c;default:break d}}if(e<<24>>24<0){break b}e=O[e+294800|0];if(e>>>0>15){break b}e=e|f<<4;if(!(f&16)){f=e;break c}L[c+g|0]=e;f=1;g=g+1|0}b=b+1|0;if((d|0)!=(b|0)){continue}break}b=d}if((f|0)==1){break a}L[c+g|0]=f<<4;g=g+1|0}N[a>>2]=b+h}return g}function sx(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;d=La-16|0;La=d;c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}e=N[b+16>>2];if((e|0)<=0){break a}c=N[c+552>>2];b=b+20|0;e=b+(e<<2)|0;while(1){f=N[b>>2];if(cb(N[N[f>>2]+8>>2],11971)){b=b+4|0;if(e>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](f)|0;if(!b){break a}c=N[a>>2];g=Qa[N[b>>2]](N[c+100>>2],c+168|0,d+12|0)|0;if(g){break a}N[N[a+40>>2]>>2]=N[d+12>>2]}La=d+16|0;return g|0}function gk(a,b){var c=0,d=0,e=0,f=0;d=La-32|0;La=d;e=N[b+96>>2];f=N[N[e+80>>2]+T(N[e+64>>2],20)>>2];c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}c=vb(c,f);a:{if((c|0)==-1){break a}a=O[a+4|0]|O[a+5|0]<<8;a=f+(a<<8|a>>>8)&65535;if(N[e+156>>2]){zc(e);e=N[b+88>>2];f=N[b+96>>2];N[d+16>>2]=N[f+64>>2];ib(f,e,23368,d+16|0)}Pe(b,a);a=N[b+96>>2];if(!N[a+156>>2]){break a}b=N[b+88>>2];N[d>>2]=N[a+64>>2]-1;ib(a,b,23412,d)}La=d+32|0;return(c|0)!=-1}function qe(a,b,c){var d=0,e=0;d=(c|0)!=0;a:{b:{c:{if(!(a&3)|!c){break c}e=b&255;while(1){if((e|0)==O[a|0]){break b}c=c-1|0;d=(c|0)!=0;a=a+1|0;if(!(a&3)){break c}if(c){continue}break}}if(!d){break a}if(!(O[a|0]==(b&255)|c>>>0<4)){d=T(b&255,16843009);while(1){e=d^N[a>>2];if((e^-1)&e-16843009&-2139062144){break b}a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}if(!c){break a}}b=b&255;while(1){if((b|0)==O[a|0]){return a}a=a+1|0;c=c-1|0;if(c){continue}break}}return 0}function bA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=N[a+16>>2];a:{if(j){c=N[b>>2]+1|0;k=N[a+20>>2];h=j;while(1){i=(h-d>>>1|0)+d|0;e=(i<<3)+k|0;f=N[e>>2];if((f|0)==(c|0)){a=N[((i<<3)+k|0)+4>>2];N[b>>2]=c;return a|0}f=f&2147483647;g=(f|0)==(c|0)?N[e+4>>2]:g;e=c>>>0>f>>>0;h=e?h:i;d=e?i+1|0:d;if(h>>>0>d>>>0){continue}break}if(g){break a}}c=0;g=0;if(d>>>0>=j>>>0){break a}a=N[a+20>>2]+(d<<3)|0;c=N[a>>2]&2147483647;g=N[a+4>>2]}N[b>>2]=c;return g|0}function Xp(a,b){var c=0,d=0,e=0,f=0,g=0;d=kb(T(b,28));if(d){if(N[a+4>>2]){while(1){f=T(e,28);c=f+d|0;b=N[a+8>>2]+f|0;N[c>>2]=N[b>>2];N[c+4>>2]=N[b+4>>2];N[b+4>>2]=0;N[c+8>>2]=N[b+8>>2];N[b+8>>2]=0;N[c+12>>2]=N[b+12>>2];N[b+12>>2]=0;N[c+24>>2]=N[b+24>>2];g=N[b+20>>2];N[c+16>>2]=N[b+16>>2];N[c+20>>2]=g;b=N[a+8>>2]+f|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;e=e+1|0;if(e>>>0>2]){continue}break}}_a(N[a+8>>2])}return d}function _r(a,b){a=a|0;b=b|0;var c=0,d=0;a:{if(b>>>0>65535){break a}c=N[a+16>>2];a=c+518|0;c=c+6|0;b:{if(b>>>0<=255){c=c+(b<<1&510)|0;if(!(O[c|0]<<8|O[c+1|0])){break b}break a}c=c+(b>>>7&33554430)|0;c=O[c|0]<<8|O[c+1|0]&248;if(!c){break a}a=a+c|0}b=(b&255)-(O[a+1|0]|O[a|0]<<8)|0;if(b>>>0>=(O[a+3|0]|O[a+2|0]<<8)>>>0){break a}c=O[a+7|0]|O[a+6|0]<<8;if(!c){break a}b=a+6+(c+(b<<1))|0;b=O[b|0]<<8|O[b+1|0];if(!b){break a}d=b+(O[a+5|0]|O[a+4|0]<<8)&65535}return d|0}function MC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;f=0;a=N[b+12>>2];a:{if(!e|(!a|!d)){break a}L[d|0]=0;if(!(O[a+9|0]&2)|N[a+16>>2]<=(c|0)){break a}b:{c:{g=N[a+128>>2];b=N[g+40>>2];switch(b+2|0){case 0:break a;case 2:break c;default:break b}}b=N[a+96>>2];h=N[N[b>>2]+32>>2];d:{if(!h){b=0;break d}b=Qa[h|0](b,9592)|0;g=N[a+128>>2]}N[g+40>>2]=b?b:-2}if(!b){break a}b=N[b>>2];if(!b){break a}if(Qa[b|0](a,c,d,e)|0){break a}f=O[d|0]!=0}return f|0}function sv(a){a=a|0;var b=0,c=0;b=N[N[a+156>>2]>>2];N[a+184>>2]=0;N[a+188>>2]=0;N[a+176>>2]=0;N[a+180>>2]=0;N[a+192>>2]=0;N[a+168>>2]=0;N[a+172>>2]=0;N[a+160>>2]=0;N[a+164>>2]=0;N[a+188>>2]=b;N[b+20>>2]=0;N[b+36>>2]=0;N[b+48>>2]=0;c=N[b+32>>2];a=b- -64|0;N[a>>2]=N[b+28>>2];N[a+4>>2]=c;N[b+88>>2]=N[b+52>>2];a=N[b+24>>2];N[b+56>>2]=N[b+20>>2];N[b+60>>2]=a;a=N[b+40>>2];N[b+72>>2]=N[b+36>>2];N[b+76>>2]=a;a=N[b+48>>2];N[b+80>>2]=N[b+44>>2];N[b+84>>2]=a;return 0}function pg(a,b){if(!a){return 0}a:{b:{if(b>>>0<=127){break b}c:{if(!N[N[147600]>>2]){if((b&-128)==57216){break b}break c}if(b>>>0<=2047){L[a+1|0]=b&63|128;L[a|0]=b>>>6|192;a=2;break a}if(!((b&-8192)!=57344&b>>>0>=55296)){L[a+2|0]=b&63|128;L[a|0]=b>>>12|224;L[a+1|0]=b>>>6&63|128;a=3;break a}if(b-65536>>>0<=1048575){L[a+3|0]=b&63|128;L[a|0]=b>>>18|240;L[a+2|0]=b>>>6&63|128;L[a+1|0]=b>>>12&63|128;a=4;break a}}N[147316]=25;a=-1;break a}L[a|0]=b;a=1}return a}function yo(a,b,c,d,e,f){var g=0,h=0,i=0,j=0;g=La-48|0;La=g;i=db(1,8);a:{if(!i){break a}N[i>>2]=d;N[i+4>>2]=e;h=db(1,40);if(!h){_a(i);break a}d=Qa[d|0](e,0,0,0)|0;N[h+24>>2]=373;N[h+20>>2]=374;N[h+4>>2]=d;N[h+12>>2]=i;N[g+28>>2]=0;N[g+32>>2]=0;N[g+44>>2]=0;N[g+36>>2]=0;N[g+40>>2]=0;N[g+20>>2]=0;N[g+24>>2]=0;N[g+16>>2]=2;N[g+32>>2]=h;if(Td(b,g+16|0,f,g+12|0,1)){if(c){N[g>>2]=c;mb(a,2,24556,g);break a}mb(a,2,9040,0);break a}j=N[g+12>>2]}La=g+48|0;return j}function Fk(a,b){var c=0,d=0,e=0,f=0,g=0;e=La-32|0;La=e;c=N[b+96>>2];d=O[a+2|0]|O[a+3|0]<<8;if(d){f=((d<<8|d>>>8)&65535)+a|0}else{f=275552}d=N[c+64>>2];f=vb(f,N[N[c+80>>2]+T(d,20)>>2]);if((f|0)!=-1){if(N[c+156>>2]){g=N[b+88>>2];N[e+16>>2]=d;ib(c,g,17402,e+16|0);d=N[c+64>>2]}ge(O[a+4|0]|O[a+5|0]<<8,b,a,a+6|0,N[c+88>>2]+T(d,20)|0);a=N[b+96>>2];if(N[a+156>>2]){b=N[b+88>>2];N[e>>2]=N[a+64>>2];ib(a,b,17446,e)}N[c+64>>2]=N[c+64>>2]+1}La=e+32|0;return(f|0)!=-1}function po(a,b,c){var d=0,e=0,f=0,g=0;e=La-16|0;La=e;d=1;f=c-1|0;if(f>>>0<=1){if((c|0)==2){d=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);c=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);N[e+8>>2]=c;N[e+12>>2]=d;c=Eb(c,e+8|0,10);d=Pa;g=(d|0)<0&c>>>0<=2147483648|(d|0)<-1;c=g?-2147483648:c;d=g?-1:d;d=(d|0)>=0&c>>>0>=2147483647|(d|0)>0?2147483647:c}b=(f<<3)+b|0;c=N[b+4>>2];b=N[b>>2];N[a+452>>2]=d;N[a+296>>2]=b;N[a+300>>2]=c-b}La=e+16|0;return f>>>0<2}function Em(a,b){var c=0,d=0,e=0,f=0,g=0;c=N[a+16>>2];if(c){e=N[a+12>>2];if(e){while(1){f=d<<2;g=N[f+c>>2];if(g){Qa[N[b+8>>2]](b,g);e=N[a+12>>2];c=N[a+16>>2]}N[c+f>>2]=0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}Qa[N[b+8>>2]](b,c)}N[a+16>>2]=0;c=N[a+4>>2];if(c){e=N[a>>2];if(e){d=0;while(1){f=d<<3;g=N[(f+c|0)+4>>2];if(g){Qa[N[b+8>>2]](b,g);e=N[a>>2];c=N[a+4>>2]}N[(c+f|0)+4>>2]=0;d=d+1|0;if(e>>>0>d>>>0){continue}break}}Qa[N[b+8>>2]](b,c)}N[a+4>>2]=0}function xc(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-44|0;while(1){b=N[e>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1986553185,N[b+16>>2])|0;if(b){break b}}b=275552}c=Up(d+4|0,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<36?275552:N[b+12>>2]}function nw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[a+8>>2];a:{if(!c){break a}b:{switch(O[a|0]){case 0:e=O[b+c|0];break a;case 3:break b;default:break a}}if(Q[a+20>>2]>b-N[a+16>>2]>>>0){e=O[a+24|0];break a}d=c+2|0;g=c+N[a+12>>2]|0;c=O[c+1|0]|O[c|0]<<8;while(1){if(b>>>0>>0){break a}f=O[d+2|0]|O[d+1|0]<<8;if(f>>>0>b>>>0){e=O[d|0];L[a+24|0]=e;N[a+20>>2]=f-c;N[a+16>>2]=c;break a}c=f;d=d+3|0;if(g>>>0>d>>>0){continue}break}}return e|0}function go(a,b){var c=0,d=0;a:{d=b&255;if(d){if(a&3){while(1){c=O[a|0];if(!c|(c|0)==(b&255)){break a}a=a+1|0;if(a&3){continue}break}}c=N[a>>2];b:{if((c^-1)&c-16843009&-2139062144){break b}d=T(d,16843009);while(1){c=c^d;if((c^-1)&c-16843009&-2139062144){break b}c=N[a+4>>2];a=a+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}while(1){c=a;d=O[c|0];if(d){a=c+1|0;if((d|0)!=(b&255)){continue}}break}return c}return nb(a)+a|0}return a}function Kd(a){var b=0,c=0,d=0,e=0;d=La-48|0;La=d;b=N[a>>2];a:{if(b){break a}e=a-16|0;while(1){b=N[e>>2];if(!b){b=275552;break a}c=N[b+12>>2];b:{if(c){b=Qa[c|0](b,1751672161,N[b+16>>2])|0;if(b){break b}}b=275552}c=Up(d+4|0,b);b=N[a>>2];c:{if(c){if(b){break c}b=c;N[a>>2]=b;break a}if(b){break a}b=275552;N[a>>2]=275552;break a}if((c|0)==275552){break a}ab(c);b=N[a>>2];if(!b){continue}break}}La=d+48|0;return Q[b+16>>2]<36?275552:N[b+12>>2]}function Ji(a,b,c,d){var e=0,f=0,g=0,h=0;a:{if(!(!d|(!b|!c))){g=N[a+16>>2];b:{if(g&g-32){e=N[a+12>>2];break b}N[147316]=0;f=N[a+12>>2];e=g<<1;e=e>>>0<=32?32:e;if(e>>>0>357913941){break a}e=T(e,12);e=$a(f,e>>>0<=1?1:e);if(!e){break a}N[147316]=0;N[a+12>>2]=e}f=T(g,12)+e|0;b=Hb(b);N[f>>2]=b;h=kb(d);N[f+4>>2]=h;if(!(!b|!h)){F(h,c,d);N[(T(g,12)+e|0)+8>>2]=d;N[a+16>>2]=N[a+16>>2]+1;return}_a(b);_a(N[f+4>>2])}return}N[147316]=48;N[a+12>>2]=f}function Cl(a,b,c){var d=0,e=0,f=0;d=275552;a:{b:{if(!a|!c){break b}e=N[a+16>>2];if(e>>>0<=b>>>0){break b}if(N[a+4>>2]){N[a+4>>2]=0}f=N[a+12>>2];d=N[a>>2];if(d){if((d|0)<=0){break a}N[a>>2]=d+1}d=e-b|0;c=c>>>0>d>>>0?d:c;if(!c){ab(a);return 275552}c:{if((c|0)>=0){d=db(1,32);if(d){break c}}ab(a);return 275552}N[d+28>>2]=191;N[d+24>>2]=a;N[d+20>>2]=1;N[d+16>>2]=c;N[d+12>>2]=b+f;N[d>>2]=1;N[d+4>>2]=1}return d}ba(23506,14099,260,16403);B()}function wh(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;c=b&-4;if(c){while(1){e=(O[(d|3)+a|0]|(O[(d|1)+a|0]<<16|O[a+d|0]<<24|O[(d|2)+a|0]<<8))+e|0;d=d+4|0;if(c>>>0>d>>>0){continue}break}}if((b|0)!=(c|0)){d=0;a:{if(b>>>0<=c>>>0){break a}f=b&1;if((0-b|0)!=(c^-1)){h=(b&3)-f|0;b=0;while(1){g=c<<3&16;d=O[(c|1)+a|0]<<(g^16)|(O[a+c|0]<<(g^24)|d);c=c+2|0;b=b+2|0;if((h|0)!=(b|0)){continue}break}}if(!f){break a}d=O[a+c|0]<<((c^-1)<<3)|d}e=d+e|0}return e}function Wq(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+660>>2];c=N[b>>2];a=N[b+4>>2];if((c|0)<=(a|0)){a:{b:{if((a|0)!=(c|0)){d=N[b+16>>2];a=c;break b}a=-1;if(c>>>0>2147483626){break a}N[147316]=0;e=N[b+16>>2];c:{if(c>>>0<=29826141){c=c+20|0;a=T(c,144);d=$a(e,a>>>0<=1?1:a);if(d){break c}}N[147316]=48;N[b+16>>2]=e;return-1}N[147316]=0;N[b+4>>2]=c;N[b+16>>2]=d;a=N[b>>2]}N[b>>2]=a+1;C(T(a,144)+d|0,0,144)}return a|0}ba(11239,18016,104,15919);B()}function yn(a,b,c,d,e){var f=0,g=0,h=0;h=-1;g=d&2147483647;f=(g|0)==2147418112;a:{if(f&!c?a|b:f&(c|0)!=0|g>>>0>2147418112){break a}f=e&2147483647;if(((f|0)==2147418112&0|f>>>0>2147418112)&(f|0)!=2147418112){break a}if(!(a|c|(f|g|b))){return 0}f=d&e;if((f|0)>0|(f|0)>=0){if(((c|0)!=0|(d|0)!=(e|0))&(d|0)<(e|0)){break a}return(a|c|(d^e|b))!=0}if(!c&(d|0)==(e|0)?a|b:(c|0)!=0&(d|0)>=(e|0)|(d|0)>(e|0)){break a}h=(a|c|(d^e|b))!=0}return h}function yh(a){a=a|0;var b=0,c=0;if(a){c=N[a+100>>2];dm(N[a+140>>2]);b=N[a+144>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+144>>2]=0;b=N[a+132>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+132>>2]=0;b=N[a+136>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+136>>2]=0;b=N[a+20>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+20>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+32>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+32>>2]=0;b=N[a+140>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+140>>2]=0}}function tq(a){if(N[a+20>>2]){N[a+20>>2]=0}_a(N[a+24>>2]);N[a+24>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;if(N[a+32>>2]){N[a+32>>2]=0}_a(N[a+36>>2]);N[a+36>>2]=0;N[a+28>>2]=0;N[a+32>>2]=0;if(N[a+56>>2]){N[a+56>>2]=0}_a(N[a+60>>2]);N[a+60>>2]=0;N[a+52>>2]=0;N[a+56>>2]=0;if(N[a+44>>2]){N[a+44>>2]=0}_a(N[a+48>>2]);N[a+48>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;if(N[a+68>>2]){N[a+68>>2]=0}_a(N[a+72>>2]);N[a+72>>2]=0;a=a- -64|0;N[a>>2]=0;N[a+4>>2]=0}function iw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;e=150;c=N[a+12>>2];a:{if((c|0)==30452|(c|0)==30492){break a}c=N[N[N[a>>2]+96>>2]+4>>2];if(!c){return 0}e=0;d=N[c+16>>2];if((d|0)<=0){break a}c=c+20|0;d=c+(d<<2)|0;while(1){f=N[c>>2];g=N[f>>2];if(cb(N[g+8>>2],9195)){c=c+4|0;if(d>>>0>c>>>0){continue}break a}break}c=N[g+32>>2];if(!c){break a}c=Qa[c|0](f,10557)|0;if(!c){break a}c=N[c>>2];if(!c){break a}e=Qa[c|0](a,b)|0}return e|0}function Jc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=c;c=N[b+4>>2];a:{b:{if((c|0)==32){if(O[a|0]){break a}a=a+2|0;break b}f=32-c|0;g=N[b>>2]>>>c|0;e=g&255;h=(e<<2)+a|0;d=O[h|0];if(d>>>0<=8){if(d>>>0>f>>>0){break a}N[b+4>>2]=c+d;a=((e<<2)+a|0)+2|0;break b}if(f>>>0<9){break a}a=(P[((e<<2)+a|0)+2>>1]+((N[(d<<2)+169392>>2]&g)>>>8|0)<<2)+h|0;d=O[a|0];if(d>>>0>24-c>>>0){break a}N[b+4>>2]=(c+d|0)+8;a=a+2|0}N[i>>2]=P[a>>1];j=1}return j}function ix(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a:{e=N[a>>2];c=N[N[e+96>>2]+4>>2];b:{if(!c){break b}d=N[c+16>>2];if((d|0)<=0){break b}f=N[e+552>>2];c=c+20|0;d=c+(d<<2)|0;while(1){g=N[c>>2];if(cb(N[N[g>>2]+8>>2],11971)){c=c+4|0;if(d>>>0>c>>>0){continue}break b}break}if(!f){break b}c=N[f>>2];if(c){break a}}se(e,b);return 0}c=Qa[c|0](g)|0;se(N[a>>2],b);if(c){Qa[N[c+4>>2]](N[N[a+40>>2]>>2],N[a+16>>2],N[a+20>>2],0,0)}return 0}function hb(a,b,c,d,e,f,g,h,i){var j=0,k=0,l=0,m=0;i=UE(b,c,h,i);h=Pa;e=UE(d,e,f,g);i=e+i|0;d=Pa+h|0;h=e>>>0>i>>>0?d+1|0:d;j=g;e=0;k=c;d=0;c=UE(g,e,c,d);g=c+i|0;i=Pa+h|0;l=g;c=c>>>0>g>>>0?i+1|0:i;g=UE(f,0,b,0);h=Pa;i=0;d=UE(f,i,k,d);h=h+d|0;f=Pa+i|0;f=d>>>0>h>>>0?f+1|0:f;i=f+l|0;d=c;f=f>>>0>i>>>0?d+1|0:d;c=UE(b,m,j,e)+h|0;e=Pa;e=c>>>0>>0?e+1|0:e;h=e+i|0;i=f;N[a+8>>2]=h;N[a+12>>2]=e>>>0>h>>>0?i+1|0:i;N[a>>2]=g;N[a+4>>2]=c}function fr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;f=La-16|0;La=f;g=N[a+4>>2];i=(g>>1)+b|0;b=N[a>>2];b=g&1?N[N[i>>2]+b>>2]:b;a=N[c>>2];if(a>>>0<2147483632){a:{b:{if(a>>>0>=11){h=(a|15)+1|0;g=eb(h);N[f+12>>2]=h|-2147483648;N[f+4>>2]=g;N[f+8>>2]=a;h=a+g|0;break b}L[f+15|0]=a;g=f+4|0;h=a+g|0;if(!a){break a}}F(g,c+4|0,a)}L[h|0]=0;Qa[b|0](i,f+4|0,d,e);if(L[f+15|0]<0){_a(N[f+4>>2])}La=f+16|0;return}fa();B()}function ab(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}b=N[a>>2];if(!b){break b}if((b|0)<=0){break a}N[a>>2]=b-1;if((b|0)!=1){break b}N[a>>2]=-57005;b=N[a+8>>2];if(b){c=N[b+8>>2];if(c){while(1){c=c-1|0;d=N[b+12>>2]+T(c,12)|0;e=N[d+8>>2];d=N[d+4>>2];N[b+8>>2]=c;if(e){Qa[e|0](d);c=N[b+8>>2]}if(c){continue}break}}_a(N[b+12>>2]);_a(b);N[a+8>>2]=0}b=N[a+28>>2];if(b){Qa[b|0](N[a+24>>2])}_a(a)}return}ba(23506,14099,270,7918);B()}function Er(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=La-32|0;La=f;N[f+28>>2]=b;N[f+24>>2]=c;b=N[d>>2];if(b>>>0<2147483632){a:{b:{if(b>>>0>=11){g=(b|15)+1|0;c=eb(g);N[f+20>>2]=g|-2147483648;N[f+12>>2]=c;N[f+16>>2]=b;g=b+c|0;break b}L[f+23|0]=b;c=f+12|0;g=b+c|0;if(!b){break a}}F(c,d+4|0,b)}L[g|0]=0;L[f+11|0]=e;a=Qa[a|0](f+28|0,f+24|0,f+12|0,f+11|0)|0;if(L[f+23|0]<0){_a(N[f+12>>2])}La=f+32|0;return a|0}fa();B()}function jD(a,b,c,d,e,f,g,h,i,j){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=U(f);g=U(g);h=U(h);i=U(i);j=j|0;var k=U(0),l=U(0),m=U(0),n=U(0),o=0;k=R[b+8>>2];l=R[b+16>>2];m=R[b+12>>2];n=R[c+16>>2];R[c+16>>2]=m*n;R[c+12>>2]=U(k*R[c+12>>2])+U(l*n);a=N[b>>2];j=N[a+24>>2];o=N[b+4>>2];d=U(U(k*d)+U(l*e));e=U(m*e);f=U(U(k*f)+U(l*g));g=U(m*g);h=U(U(k*h)+U(l*i));i=U(m*i);b=N[a+32>>2];if(b){b=N[b+12>>2]}else{b=0}Qa[j|0](a,o,c,d,e,f,g,h,i,b)}function ju(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[b+8>>2];f=N[a>>2];d=N[f+140>>2];g=N[f+32>>2];e=N[b+16>>2];if(e){c=(T(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((e|0)==N[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(N[d+44>>2]+N[d+40>>2]|0)){break a}}c=0;Yc(f,0);N[a+24>>2]=N[d+40>>2]<<6;N[a+28>>2]=0-(N[d+44>>2]<<6);N[a+36>>2]=P[d+4>>1]<<6}return c|0}function ew(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;f=N[a+712>>2];a:{if(!(O[a+8|0]&8)|!N[a+540>>2]){break a}b=N[N[a+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){d=N[b>>2];e=N[d>>2];if(cb(N[e+8>>2],9195)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=N[e+32>>2];if(!b){break a}b=Qa[b|0](d,15866)|0;if(!b){break a}b=N[b>>2];if(!b){break a}return Qa[b|0](a)|0}return N[f+1348>>2]}function wv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=N[a+16>>2];if(!g){N[b>>2]=0;return 0}h=N[a+20>>2];d=N[b>>2];a:while(1){d=d+1|0;a=0;c=g;while(1){e=(c-a>>>1|0)+a|0;f=N[(e<<4)+h>>2];if((f|0)==(d|0)){if(!e){continue a}N[b>>2]=d;return e+1|0}f=d>>>0>f>>>0;c=f?c:e;a=f?e+1|0:a;if(c>>>0>a>>>0){continue}break}break}c=0;if(a>>>0>=g>>>0){N[b>>2]=0;return 0}if(a){c=a+1|0;a=N[(a<<4)+h>>2]}else{a=0}N[b>>2]=a;return c|0}function pd(a,b){var c=0,d=0;d=a;a:{b:{if((d^b)&3){c=O[b|0];break b}if(b&3){while(1){c=O[b|0];L[d|0]=c;if(!c){break a}d=d+1|0;b=b+1|0;if(b&3){continue}break}}c=N[b>>2];if((c^-1)&c-16843009&-2139062144){break b}while(1){N[d>>2]=c;c=N[b+4>>2];d=d+4|0;b=b+4|0;if(!(c-16843009&(c^-1)&-2139062144)){continue}break}}L[d|0]=c;if(!(c&255)){break a}while(1){c=O[b+1|0];L[d+1|0]=c;d=d+1|0;b=b+1|0;if(c){continue}break}}return a}function ZA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=La-16|0;La=f;Tb(a,N[a+8>>2]);g=N[a>>2];N[f+12>>2]=g;h=N[a+8>>2];a:{if(h>>>0<=g>>>0){break a}b:{if(e){i=3;if(O[g|0]!=60){break a}N[f+12>>2]=g+1;j=d,k=_o(f+12|0,h,b,c),N[j>>2]=k;b=N[f+12>>2];N[a>>2]=b;if(O[b|0]!=62&b>>>0>2]){break a}b=b+1|0;break b}j=d,k=_o(f+12|0,h,b,c),N[j>>2]=k;b=N[f+12>>2]}N[a>>2]=b;i=0}La=f+16|0;return i|0}function Nd(a,b){var c=0,d=0,e=0,f=0,g=0;c=La-16|0;La=c;a:{if(!a|!b|(!N[a+72>>2]|!O[b|0])){break a}d=N[a+92>>2];N[c+8>>2]=b;f=N[d+20>>2];b=f+((Qa[N[d+12>>2]](c+8|0)>>>0)%Q[d+4>>2]<<2)|0;e=N[b>>2];b:{if(!e){break b}while(1){if(Qa[N[d+16>>2]](e,c+8|0)|0){break b}b=b-4|0;if(f>>>0>b>>>0){b=((N[d+4>>2]<<2)+f|0)-4|0}e=N[b>>2];if(e){continue}break}}b=N[b>>2];if(!b){break a}g=N[a+80>>2]+(N[b+4>>2]<<4)|0}La=c+16|0;return g}function yB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=N[a+24>>2];N[a+48>>2]=b;d=N[a+28>>2];N[a+52>>2]=d;e=N[a+8>>2];f=e+N[a>>2]|0;N[a+8>>2]=f>>1;c=b;b=N[a+16>>2];c=c+b|0;N[a+40>>2]=c>>1;b=b+e|0;e=b+f|0;N[a+16>>2]=e>>2;b=b+c|0;N[a+32>>2]=b>>2;c=d;d=N[a+20>>2];f=c+d|0;N[a+44>>2]=f>>1;c=N[a+12>>2];g=c+N[a+4>>2]|0;N[a+12>>2]=g>>1;N[a+24>>2]=b+e>>3;b=d+c|0;d=b+f|0;N[a+36>>2]=d>>2;b=b+g|0;N[a+20>>2]=b>>2;N[a+28>>2]=b+d>>3}function Gm(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;d=N[a+36>>2];a:{if(!d){break a}d=N[d+28>>2];if(Yf(a+36|0,b,c+12|0,c+8|0)){break a}b=N[c+8>>2];f=b+1|0;b:{c:{if(b>>>0<=2147483646){e=Qa[N[d+4>>2]](d,f)|0;if(e){break c}e=0;break b}if(f){break b}}F(e,N[c+12>>2],b);L[b+e|0]=0}if(N[a+68>>2]){break a}a=N[a+36>>2];if(!a|!N[a+20>>2]){break a}b=N[c+12>>2];if(!b){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,b)}La=c+16|0;return e}function RC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=U(0),f=U(0),g=0;d=La-16|0;La=d;a:{if(O[b+6|0]){a=N[b+12>>2];if(a){g=N[a+128>>2];e=U(N[g+12>>2]);f=U(N[g+8>>2])}else{f=U(0)}e=U(U(aa(U(U(f*f)+U(e*e))))*U(152587890625e-16));break a}e=U(N[a+32>>2]>>31|1);a=N[b+12>>2]}if(In(a,c,N[b>>2]|16,d+12|0)){a=0}else{e=U(e*U(N[d+12>>2]));b:{if(U(V(e))>10}La=d+16|0;return a|0}function Ip(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+5|0]){break a}e=N[a+12>>2];if(!e){break a}c=N[e+96>>2];if(!c){break a}d=N[e+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}f=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(e|0)){b=N[b+4>>2];if(b){continue}break a}break}g=N[b>>2];h=g?g+4|0:f;f=N[b+4>>2];N[h>>2]=f;N[(f?f:c+20|0)>>2]=g;Qa[N[d+8>>2]](d,b);ic(d,e,c)}_a(a)}function Cx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+733|0]){break a}d=N[a+736>>2];if(!d){break a}if(!O[d+32|0]){e=Tm(a,0);d=N[a+736>>2];N[d+36>>2]=e}if(!O[d+33|0]){return N[d+36>>2]}d=N[d+40>>2];e=N[d+28>>2];b:{if(e){f=e;e=N[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=N[f+e>>2];f=N[e+N[d+24>>2]>>2];break b}e=6;if(Q[N[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=N[c>>2]+Oh(a,d,f,b)|0,N[g>>2]=h;e=0}return e|0}function Bx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!O[a+733|0]){break a}d=N[a+736>>2];if(!d){break a}if(!O[d+44|0]){e=Tm(a,1);d=N[a+736>>2];N[d+48>>2]=e}if(!O[d+45|0]){return N[d+48>>2]}d=N[d+52>>2];e=N[d+28>>2];b:{if(e){f=e;e=N[d+20>>2];e=(b>>>0>>0?b:e-1|0)<<2;b=N[f+e>>2];f=N[e+N[d+24>>2]>>2];break b}e=6;if(Q[N[d+4>>2]>>2]<=b>>>0){break a}}g=c,h=N[c>>2]+Oh(a,d,f,b)|0,N[g>>2]=h;e=0}return e|0}function gB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;a:{d=N[a>>2];if(!d){break a}e=N[a+32>>2];b=N[a+4>>2];b:{if((b|0)>0){b=Qa[N[e+4>>2]](e,b)|0;if(b){N[a>>2]=b;c=N[a+4>>2];break b}N[a>>2]=0;return}N[a>>2]=0;if(b){break a}b=0}F(b,d,c);c=N[a+16>>2];if((c|0)>0){g=N[a>>2]-d|0;b=N[a+24>>2];c=b+(c<<2)|0;while(1){f=N[b>>2];if(f){N[b>>2]=g+f}b=b+4|0;if(c>>>0>b>>>0){continue}break}}N[a+8>>2]=N[a+4>>2];Qa[N[e+8>>2]](e,d)}}function Jv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;se(N[a>>2],b);c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[c+320>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](e)|0;if(!b){break a}Qa[N[b+4>>2]](N[N[a+40>>2]>>2],N[a+16>>2],N[a+20>>2],0,0)}return 0}function El(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;j=10;k=N[c>>2];h=k+e|0;a:{if(h>>>0>31457280){break a}g=N[a>>2];i=N[b>>2];if(i>>>0>>0){if((h|i)<0){return 6}b:{if(!i){g=Qa[N[f+4>>2]](f,h)|0;j=!g<<6;break b}f=Qa[N[f+12>>2]](f,i,h,g)|0;g=f?f:g;j=!f<<6}c:{if(!(j|(h|0)<=(i|0)|!g)){C(g+i|0,0,h-i|0);break c}if(j){break a}}N[b>>2]=N[c>>2]+e;b=N[c>>2]}else{b=k}F(b+g|0,d,e);N[c>>2]=N[c>>2]+e;N[a>>2]=g;j=0}return j}function mx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;N[d>>2]=0;N[d+4>>2]=0;e=N[a+496>>2];if(e){a=N[e+36>>2];e=(a+(N[e+40>>2]<<4)|0)-16|0;a:{if(a>>>0>e>>>0){break a}c=b<<16|c;while(1){f=(e-a>>4)/2|0;b=(f<<4)+a|0;g=N[b>>2]<<16|N[b+4>>2];if((c|0)==(g|0)){a=(f<<4)+a|0;N[d>>2]=N[a+8>>2];h=N[a+12>>2];break a}f=c>>>0>g>>>0;a=f?b+16|0:a;e=f?e:b-16|0;if(a>>>0<=e>>>0){continue}break}}N[d+4>>2]=h}return 0}function Nu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=N[b+8>>2];f=N[a>>2];g=N[f+32>>2];e=N[f+132>>2];d=N[b+16>>2];if(d){c=(T(c,d)+36|0)/72|0}d=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((d|0)==N[g+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((d|0)!=P[e+96>>1]){break a}}c=0;Yc(f,0);b=P[e+80>>1];N[a+24>>2]=b<<6;N[a+28>>2]=b-P[e+96>>1]<<6;N[a+36>>2]=P[e+102>>1]<<6}return c|0}function xu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[b+8>>2];d=N[a>>2];f=N[d+32>>2];e=N[b+16>>2];if(e){c=(T(c,e)+36|0)/72|0}e=c+32>>6;c=7;a:{b:{c:{switch(N[b>>2]){case 0:c=23;if((e|0)==N[f+12>>2]+32>>6){break b}break a;case 1:break c;default:break a}}c=23;if((e|0)!=(N[d+208>>2]+N[d+204>>2]|0)){break a}}c=0;Yc(d,0);N[a+24>>2]=N[d+204>>2]<<6;N[a+28>>2]=0-(N[d+208>>2]<<6);N[a+36>>2]=M[d+236>>1]<<6}return c|0}function cu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=N[a+20>>2];h=N[a+16>>2];a:{b:{if(h){e=N[b>>2]+1|0;a=h>>>1|0;g=h;while(1){d=c+g>>>1|0;d=a>>>0>=g>>>0?d:a>>>0>>0?d:a;f=N[(d<<3)+i>>2];if((f|0)==(e|0)){c=d;break b}a=(e+d|0)-f|0;f=e>>>0>>0;c=f?c:d+1|0;g=f?d:g;if(c>>>0>>0){continue}break}}e=0;if(c>>>0>=h>>>0){break a}e=N[(c<<3)+i>>2]}j=P[((c<<3)+i|0)+4>>1]+1&65535}N[b>>2]=e;return j|0}function Bq(){var a=0,b=0,c=0;a=La-16|0;La=a;a:{if(Fa(a+12|0,a+8|0)|0){break a}b=kb((N[a+12>>2]<<2)+4|0);N[147572]=b;if(!b){break a}b=kb(N[a+8>>2]);if(b){c=N[147572];N[c+(N[a+12>>2]<<2)>>2]=0;if(!(Ea(c|0,b|0)|0)){break a}}N[147572]=0}La=a+16|0;N[147444]=1;N[147445]=0;wm();N[147445]=N[147569];N[147569]=589776;N[147570]=376;N[147571]=0;jo();N[147571]=N[147569];N[147569]=590280;N[147582]=42;N[147600]=591512}function ur(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-16|0;La=d;e=N[a+4>>2];g=(e>>1)+b|0;b=N[a>>2];b=e&1?N[N[g>>2]+b>>2]:b;a=N[c>>2];if(a>>>0<2147483632){a:{b:{if(a>>>0>=11){f=(a|15)+1|0;e=eb(f);N[d+12>>2]=f|-2147483648;N[d+4>>2]=e;N[d+8>>2]=a;f=a+e|0;break b}L[d+15|0]=a;e=d+4|0;f=a+e|0;if(!a){break a}}F(e,c+4|0,a)}L[f|0]=0;Qa[b|0](g,d+4|0);if(L[d+15|0]<0){_a(N[d+4>>2])}La=d+16|0;return}fa();B()}function ct(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;d=N[a+872>>2];a:{if(!d){break a}f=N[d+36>>2];if(!f){break a}e=N[c+4>>2];a=N[c>>2];if(e>>>0>=a>>>0){break a}g=T(a-e|0,6);a=N[c+8>>2];if(g+a>>>0>N[d+40>>2]+f>>>0){break a}d=O[a|0]|O[a+1|0]<<8;M[b>>1]=d<<8|d>>>8;d=O[a+2|0]|O[a+3|0]<<8;M[b+2>>1]=d<<8|d>>>8;d=b;b=O[a+4|0]|O[a+5|0]<<8;M[d+4>>1]=b<<8|b>>>8;h=1;N[c+4>>2]=e+1;N[c+8>>2]=a+6}return h|0}function sj(a,b,c){var d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}d=N[a+4>>2];if(d>>>0>>0){break b}if(d-b>>>0>c>>>0){break a}e=b+c|0;c=e-d|0;if(!((c|0)>=0&(c|0)<=(N[a+8>>2]-d|0))){N[a+24>>2]=4;break e}if((d|0)!=(e|0)){C(d,0,c);d=N[a+4>>2]}N[a+4>>2]=c+d;if(d){break d}}b=0}return b}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}function pi(a){var b=0,c=0,d=0;b=La-16|0;La=b;A(+a);d=v(1)|0;v(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=cf(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(Mn(a,b)&3){case 0:c=cf(S[b>>3],S[b+8>>3]);break a;case 1:c=-df(S[b>>3],S[b+8>>3],1);break a;case 2:c=-cf(S[b>>3],S[b+8>>3]);break a;default:break b}}c=df(S[b>>3],S[b+8>>3],1)}a=c;La=b+16|0;return a}function tj(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}c=N[a+4>>2];if(c>>>0>>0){break b}if(c-b>>>0>=5){break a}e=b+4|0;d=e-c|0;if(!((d|0)>=0&(N[a+8>>2]-c|0)>=(d|0))){N[a+24>>2]=4;break e}if((c|0)!=(e|0)){C(c,0,d);c=N[a+4>>2]}N[a+4>>2]=c+d;if(c){break d}}b=0}return b}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}function ee(a,b){var c=0,d=0,e=0;a:{b:{c:{d:{e:{if(N[a+24>>2]){break e}if(Q[a>>2]>b>>>0){break c}c=N[a+4>>2];if(c>>>0>>0){break b}if(c-b>>>0>=3){break a}e=b+2|0;d=e-c|0;if(!((d|0)>=0&(N[a+8>>2]-c|0)>=(d|0))){N[a+24>>2]=4;break e}if((c|0)!=(e|0)){C(c,0,d);c=N[a+4>>2]}N[a+4>>2]=c+d;if(c){break d}}b=0}return b}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}function AB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;f=N[a+4>>2];e=0-f|0;a:{if((e&(c+f|0)-1)!=(c|0)){break a}c=c>>N[a>>2];if((c|0)<0|c>>>0>=Q[a+96>>2]){break a}c=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[c|0]=O[c|0]|128>>>(b&7);e=0-N[a+4>>2]|0}b:{if((d&e)!=(d|0)){break b}c=d>>N[a>>2];if((c|0)<0|c>>>0>=Q[a+96>>2]){break b}a=(N[a+52>>2]+(b>>3)|0)-T(c,N[a+104>>2])|0;L[a|0]=O[a|0]|128>>>(b&7)}}function tb(a){var b=0,c=0,d=0,e=0;a:{b:{if(!a){break b}e=N[a-8>>2];if(!e){break a}b=a-4|0;c=N[b>>2];if(!c){break a}d=b;b=c-1|0;N[d>>2]=b;if(b){break b}d=a-32|0;b=N[d>>2];if(b){c=N[a-24>>2];if(c){N[c+12>>2]=N[a-20>>2]}N[N[a-20>>2]>>2]=c;N[b+32>>2]=N[b+32>>2]-1;N[b+20>>2]=N[b+20>>2]+(((e|0)!=1?-32:0)-e|0)}b=N[a-28>>2];Qa[N[b+16>>2]]((N[b+24>>2]+7&-8)+a|0,a);_a(d)}return}ba(8916,18290,444,15247);B()}function rx(a){a=a|0;var b=0,c=0,d=0,e=0;if(N[N[a+40>>2]>>2]){c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[c+552>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](e)|0;if(!b){break a}Qa[N[b+8>>2]](N[N[a+40>>2]>>2])}N[N[a+40>>2]>>2]=0}}function Mv(a){a=a|0;var b=0,c=0,d=0,e=0;if(N[N[a+40>>2]>>2]){c=N[a>>2];b=N[N[c+96>>2]+4>>2];a:{if(!b){break a}d=N[b+16>>2];if((d|0)<=0){break a}c=N[c+320>>2];b=b+20|0;d=b+(d<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(d>>>0>b>>>0){continue}break a}break}if(!c){break a}b=N[c>>2];if(!b){break a}b=Qa[b|0](e)|0;if(!b){break a}Qa[N[b+8>>2]](N[N[a+40>>2]>>2])}N[N[a+40>>2]>>2]=0}}function Te(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;e=a+12|0;a:{if(!O[a+48|0]){a=ud(e,b);break a}d=N[b>>2];if((d|0)==-2){N[b>>2]=-1;a=0;break a}N[c+8>>2]=d;ud(e,c+8|0);a=1;f=d+1|0;if(f>>>0>=Q[c+8>>2]){N[c+12>>2]=d;a=-1;b:{if(!ud(e,c+12|0)){break b}d=N[c+12>>2];while(1){a=d;if(!ud(e,c+12|0)){break b}d=N[c+12>>2];if((d|0)==(a+1|0)){continue}break}}f=a+1|0;a=(f|0)!=-1}N[b>>2]=f}La=c+16|0;return a}function Nb(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+3>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+12|0,4)|0)!=4){break d}c=N[a+8>>2];b=d+12|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+4}La=d+16|0;return f}function qz(a,b){a=a|0;b=b|0;var c=0;if(!a){if(N[b+24>>2]){a=0;while(1){c=T(a,24);tb(N[c+N[b+28>>2]>>2]);tb(N[(N[b+28>>2]+c|0)+4>>2]);a=a+1|0;if(a>>>0>2]){continue}break}}_a(N[b+28>>2]);return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;return 1}function Rw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;a=N[a+496>>2];if(!a){return 6}h=N[a+32>>2];if(h){j=N[a+28>>2];a=0;while(1){e=T(a,20)+j|0;if(N[e>>2]==(c|0)){g=N[e+4>>2];f=N[e+8>>2];a:{if((g|0)>(b|0)){break a}i=N[e+12>>2];f=N[e+16>>2];if((i|0)<(b|0)){break a}f=N[e+16>>2];e=N[e+8>>2];f=jb(b-g|0,f-e|0,i-g|0)+e|0}N[d>>2]=f}a=a+1|0;if(h>>>0>a>>>0){continue}break}}return 0}function oi(a){var b=0,c=0;b=La-16|0;La=b;A(+a);c=v(1)|0;v(0)|0;c=c&2147483647;a:{if(c>>>0<=1072243195){if(c>>>0<1045430272){break a}a=df(a,0,0);break a}if(c>>>0>=2146435072){a=a-a;break a}b:{switch(Mn(a,b)&3){case 0:a=df(S[b>>3],S[b+8>>3],1);break a;case 1:a=cf(S[b>>3],S[b+8>>3]);break a;case 2:a=-df(S[b>>3],S[b+8>>3],1);break a;default:break b}}a=-cf(S[b>>3],S[b+8>>3])}La=b+16|0;return a}function Ol(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=6;d=N[a+868>>2];a:{if(!d|P[a+648>>1]<=b>>>0){break a}e=8;b=N[d+8>>2]+(b<<1)|0;b=O[b|0]<<8|O[b+1|0];c=P[a+660>>1];if(P[d+2>>1]>>0){break a}e=0;if(!c){break a}a=N[a+672>>2];c=a+(c<<2)|0;b=N[d+4>>2]+(b<<2)|0;while(1){L[a|0]=O[b|0];L[a+1|0]=O[b+1|0];L[a+2|0]=O[b+2|0];L[a+3|0]=O[b+3|0];b=b+4|0;a=a+4|0;if(c>>>0>a>>>0){continue}break}}return e|0}function Mz(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0;e=N[a+4>>2];a:{if(!e){break a}c=N[e+96>>2];if(!c){break a}d=N[e+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}f=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(e|0)){b=N[b+4>>2];if(b){continue}break a}break}g=N[b>>2];h=g?g+4|0:f;f=N[b+4>>2];N[h>>2]=f;N[(f?f:c+20|0)>>2]=g;Qa[N[d+8>>2]](d,b);ic(d,e,c)}_a(a)}function _E(a,b,c){var d=0,e=0,f=0,g=0;g=c&63;f=g;e=f&31;if(f>>>0>=32){f=-1>>>e|0}else{d=-1>>>e|0;f=d|(1<>>0>=32){d=f<>>32-e|d<>>0>=32){d=-1<>>32-d}a=c&a;b=b&d;d=e&31;if(e>>>0>=32){c=0;a=b>>>d|0}else{c=b>>>d|0;a=((1<>>d}a=a|g;Pa=c|f;return a}function Zd(a,b,c,d){var e=0,f=0;e=La-128|0;La=e;N[e+12>>2]=d;a:{b:{if(N[a+156>>2]){d=N[e+12>>2];if(N[a+84>>2]!=N[a+80>>2]|N[a+72>>2]!=N[a+64>>2]?O[a+62|0]:0){break a}N[a+168>>2]=N[a+168>>2]+1;f=e+16|0;rh(f,100,c,d);Qa[N[a+156>>2]](a,b,f,N[a+160>>2])|0;N[a+168>>2]=N[a+168>>2]-1;break b}vd(24963,9,1,588952);zi(588952,c,N[e+12>>2]);Ul(588952)}La=e+128|0;return}ba(22546,17855,2177,13189);B()}function Lt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=142;f=P[a+152>>1];a:{if(!f){break a}a=N[a+156>>2];f=a+(f<<4)|0;while(1){b:{if(N[a>>2]==(b|0)){g=N[a+12>>2];if(g){break b}}a=a+16|0;if(f>>>0>a>>>0){continue}break a}break}if(d){N[d>>2]=g}a=N[a+8>>2];b=N[c+20>>2];c:{if(b){e=85;if(!(Qa[b|0](c,a,0,0)|0)){break c}break a}e=85;if(a>>>0>Q[c+4>>2]){break a}}N[c+8>>2]=a;e=0}return e|0}function ED(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;e=La-16|0;La=e;N[e+12>>2]=c;b=N[a+96>>2];f=N[b+32>>2];a:{if((f|0)!=N[147120]){c=N[a+100>>2];g=e+12|0;b=N[b+12>>2];if(b){b=N[b+12>>2]}else{b=0}a=Qa[f|0](a,c,1,g,0,d,0,b)|0;break a}a=N[a+20>>2];N[d>>2]=0;b=N[a+96>>2];f=N[b+28>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+8>>2]}else{b=0}a=Qa[f|0](a,g,c,d,b)|0}La=e+16|0;return a|0}function Ct(a,b){a=a|0;b=b|0;var c=0,d=0;c=Qa[N[a+516>>2]](a,1330851634,b,0)|0;a:{if(c){break a}d=a+372|0;c=rb(b,178752,d);if(c){break a}N[a+468>>2]=0;N[a+460>>2]=0;N[a+464>>2]=0;N[a+452>>2]=0;N[a+456>>2]=0;M[a+472>>1]=65535;if(!P[a+372>>1]){return 0}c=rb(b,178928,d);if(c){break a}if(P[d>>1]<2){return 0}c=rb(b,178944,d);if(c){break a}c=0;if(P[d>>1]<5){break a}c=rb(b,178976,d)}return c|0}function uh(a,b,c){var d=0,e=0,f=0;d=N[c+16>>2];a:{if(!d){if(Hh(c)){break a}d=N[c+16>>2]}f=N[c+20>>2];if(d-f>>>0>>0){return Qa[N[c+36>>2]](c,a,b)|0}b:{if(N[c+80>>2]<0){d=0;break b}e=b;while(1){d=e;if(!d){d=0;break b}e=d-1|0;if(O[e+a|0]!=10){continue}break}e=Qa[N[c+36>>2]](c,a,d)|0;if(e>>>0>>0){break a}a=a+d|0;b=b-d|0;f=N[c+20>>2]}Pc(f,a,b);N[c+20>>2]=N[c+20>>2]+b;e=b+d|0}return e}function cB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[a+8>>2]=c;N[a+4>>2]=b;N[a+12>>2]=0;N[a+16>>2]=d;N[a>>2]=b;b=N[73526];N[a+20>>2]=N[73525];N[a+24>>2]=b;b=N[73528];N[a+28>>2]=N[73527];N[a+32>>2]=b;b=N[73530];N[a+36>>2]=N[73529];N[a+40>>2]=b;b=N[73532];N[a+44>>2]=N[73531];N[a+48>>2]=b;b=N[73534];N[a+52>>2]=N[73533];N[a+56>>2]=b;b=N[73536];N[a+60>>2]=N[73535];N[a+64>>2]=b;N[a+68>>2]=N[73537]}function En(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!(!a|!b)){d=M[a+2>>1];a:{if(!d){d=0;a=0;break a}c=N[a+4>>2];e=N[c+4>>2];f=N[c>>2];if((d|0)<2){d=e;a=f;break a}i=(d<<3)+c|0;h=c+8|0;a=f;d=e;while(1){g=N[c+12>>2];d=(d|0)<(g|0)?g:d;e=(e|0)>(g|0)?g:e;c=N[c+8>>2];a=(a|0)<(c|0)?c:a;f=(c|0)<(f|0)?c:f;c=h;h=c+8|0;if(i>>>0>h>>>0){continue}break}}N[b+8>>2]=a;N[b>>2]=f;N[b+12>>2]=d;N[b+4>>2]=e}}function jA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{d=a?a+b|0:0;if(d>>>0<=a>>>0){break a}d=d-a|0;d=b>>>0>d>>>0?d:b;if(!d){break a}b=0;if((d|0)!=1){g=d&1;h=d&-2;while(1){e=a+b|0;d=O[e|0];L[e|0]=d^c>>>8;f=(b|1)+a|0;e=O[f|0];c=T(c+d|0,52845)+22719|0;L[f|0]=e^c>>>8;c=T(c+e|0,52845)+22719&65535;b=b+2|0;if((h|0)!=(b|0)){continue}break}if(!g){break a}}a=a+b|0;L[a|0]=O[a|0]^c>>>8}}function Dy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;b=nb(c);g=b+6|0;a:{b:{if((b|0)>=-5){a=N[a>>2];a=Qa[N[a+4>>2]](a,g)|0;if(a){break b}return 64}if(g){break a}a=0}F(a,c,b);f=0;b=a+b|0;c=O[17697]|O[17698]<<8;L[b+4|0]=c;L[b+5|0]=c>>>8;c=O[17693]|O[17694]<<8|(O[17695]<<16|O[17696]<<24);L[b|0]=c;L[b+1|0]=c>>>8;L[b+2|0]=c>>>16;L[b+3|0]=c>>>24;N[d>>2]=a;N[e>>2]=0}return f|0}function Ce(a,b,c){if(O[a+11660|0]){L[a+11661|0]=1;Xd(a,N[a+11732>>2],N[a+11736>>2]);if(O[a+11740|0]){mf(a,a+8|0,a+11700|0,N[a+11708>>2],N[a+11712>>2],1)}L[a+11740|0]=0;M[a+11660>>1]=0}N[a+11716>>2]=b;N[a+11732>>2]=b;L[a+11663|0]=1;N[a+11736>>2]=c;N[a+11720>>2]=c;b=a+8|0;c=N[a+11672>>2];if(!(O[c+5|0]?0:O[a+20|0])){lf(b,N[a+11664>>2],N[a+11668>>2],c,N[a+11676>>2],0)}F(a+3876|0,b,3868)}function is(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;c=N[b>>2]+1|0;if(c>>>0<=65535){h=b;d=N[a+16>>2];a=O[d+6|0]<<8|O[d+7|0];c=a>>>0>>0?c:a;b=c-a|0;g=O[d+9|0]|O[d+8|0]<<8;e=0;a:{if(b>>>0>=g>>>0){break a}a=(d+(b<<1)|0)+10|0;while(1){f=O[a+1|0]|O[a|0]<<8;e=c;if(f){break a}if(c>>>0>65534){return 0}a=a+2|0;c=c+1|0;b=b+1|0;if(g>>>0>b>>>0){continue}break}f=0;e=0}N[h>>2]=e}return f|0}function Rx(a){a=a|0;var b=0,c=0,d=0;b=N[a+196>>2];d=b+10|0;if(d>>>0<=Q[a+200>>2]){c=O[b|0]|O[b+1|0]<<8;M[a+32>>1]=c<<8|c>>>8;c=O[b+2|0]|O[b+3|0]<<8;N[a+36>>2]=(c<<8|c>>>8)<<16>>16;c=O[b+4|0]|O[b+5|0]<<8;N[a+40>>2]=(c<<8|c>>>8)<<16>>16;c=O[b+6|0]|O[b+7|0]<<8;N[a+44>>2]=(c<<8|c>>>8)<<16>>16;b=O[b+8|0]|O[b+9|0]<<8;N[a+196>>2]=d;N[a+48>>2]=(b<<8|b>>>8)<<16>>16;a=0}else{a=20}return a|0}function lb(a,b,c,d,e,f){var g=0;if((b|c|d)<0){N[f>>2]=6;return e}a:{if(!(d?b:0)){if(!e){break a}Qa[N[a+8>>2]](a,e);break a}g=10;b:{if((2147483647/(b>>>0)|0)<(d|0)){break b}c:{if(!c){e=Qa[N[a+4>>2]](a,T(b,d))|0;g=!e<<6;break c}a=Qa[N[a+12>>2]](a,T(b,c),T(b,d),e)|0;e=a?a:e;g=!a<<6}if(g|(c|0)>=(d|0)|!e){break b}g=0;C(T(b,c)+e|0,0,T(d-c|0,b))}N[f>>2]=g;return e}N[f>>2]=0;return 0}function Ww(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=La-16|0;La=e;b=b>>>0>=4?4:b;a:{if(!b){b=0;break a}d=N[c>>2];N[e>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==1){break a}d=N[c+4>>2];N[e+4>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==2){break a}d=N[c+8>>2];N[e+8>>2]=((d>>31)+d|0)+32768>>16;if((b|0)==3){break a}c=N[c+12>>2];N[e+12>>2]=((c>>31)+c|0)+32768>>16}a=Om(a,b,e);La=e+16|0;return a|0}function Ul(a){var b=0,c=0;a:{b=N[a+76>>2];if(!((b|0)>=0&(!b|N[147582]!=(b&-1073741825)))){b:{if(N[a+80>>2]==10){break b}b=N[a+20>>2];if((b|0)==N[a+16>>2]){break b}N[a+20>>2]=b+1;L[b|0]=10;break a}Dh(a);break a}b=a+76|0;c=N[b>>2];N[b>>2]=c?c:1073741823;c:{d:{if(N[a+80>>2]==10){break d}c=N[a+20>>2];if((c|0)==N[a+16>>2]){break d}N[a+20>>2]=c+1;L[c|0]=10;break c}Dh(a)}N[b>>2]=0}}function bm(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;N[b>>2]=0;a:{if(!a){break a}d=N[a+8>>2];if(!d){break a}e=N[N[a>>2]>>2];while(1){g=N[N[a>>2]+(f<<2)>>2];h=O[g|0];if(h){while(1){L[c+e|0]=h;c=c+1|0;h=O[g+1|0];g=g+1|0;if(h){continue}break}d=N[a+8>>2]}f=f+1|0;if(f>>>0>>0){L[c+e|0]=32;d=N[a+8>>2];c=c+1|0}if(d>>>0>f>>>0){continue}break}if((e|0)!=441572){L[c+e|0]=0}N[b>>2]=c}return e}function sm(a,b,c,d){var e=0;e=N[d>>2];if(e){Qa[N[c+8>>2]](c,e);N[d>>2]=0}a:{if(!b){break a}e=b-1|0;if(!O[e+a|0]){b=e;if(!b){break a}}e=0;b:{while(1){if(L[a+e|0]>=32){e=e+1|0;if((e|0)!=(b|0)){continue}break b}break}N[d>>2]=0;return 0}if((b|0)<0){N[d>>2]=0;return 6}c=Qa[N[c+4>>2]](c,b+1|0)|0;if(!c){N[d>>2]=0;return 64}F(c,a,b);L[b+c|0]=0;N[d>>2]=c;return 0}N[d>>2]=0;return 0}function Yz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;a=ze(N[b+92>>2],c);N[d>>2]=a;a:{if(!a){break a}b:{f=N[b+92>>2];if(f){a=Qa[N[N[f+12>>2]+12>>2]](f,a)|0;if(a>>>0>2]){break b}}N[d>>2]=0;return 0}N[d>>2]=a;if(!a){break a}N[e+28>>2]=a;d=0;a=sc(N[e>>2],e+8|0,c>>>0>752?N[e+32>>2]?e:0:0);c:{if(!a){break c}if(N[a>>2]>=0){d=a;break c}tb(a)}tb(d);g=1}return g|0}function GA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=Qa[N[b+4>>2]](b,16)|0;if(!e){return 64}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;L[e+8|0]=0;L[e+9|0]=0;L[e+10|0]=0;L[e+11|0]=0;L[e+12|0]=0;L[e+13|0]=0;L[e+14|0]=0;L[e+15|0]=0;N[e+4>>2]=c;N[e>>2]=c;N[e+12>>2]=2;N[e+8>>2]=d;N[a+8>>2]=0;N[a+12>>2]=0;N[a+4>>2]=e;N[a>>2]=b;return 0}function lE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{switch(b-6078|0){case 0:N[c>>2]=6081;N[d>>2]=6078;return 1;case 1:N[c>>2]=6081;N[d>>2]=6079;return 1;case 2:N[c>>2]=6081;N[d>>2]=6080;return 1;case 6:N[c>>2]=6081;N[d>>2]=6084;return 1;case 7:N[c>>2]=6081;N[d>>2]=6085;return 1;default:break a}}a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;return(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0|0}function kD(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=U(f);g=U(g);h=h|0;var i=U(0),j=U(0),k=U(0),l=U(0),m=0;i=R[b+8>>2];j=R[b+16>>2];k=R[b+12>>2];l=R[c+16>>2];R[c+16>>2]=k*l;R[c+12>>2]=U(i*R[c+12>>2])+U(j*l);a=N[b>>2];h=N[a+20>>2];m=N[b+4>>2];d=U(U(i*d)+U(j*e));e=U(k*e);f=U(U(i*f)+U(j*g));g=U(k*g);b=N[a+32>>2];if(b){b=N[b+8>>2]}else{b=0}Qa[h|0](a,m,c,d,e,f,g,b)}function Co(a){var b=0;b=N[a+8>>2];if(b){if(N[a+16>>2]>0){b=0;while(1){_a(N[N[a+8>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+8>>2]}_a(b)}b=N[a+4>>2];if(b){if(N[a+12>>2]>0){b=0;while(1){_a(N[N[a+4>>2]+(b<<2)>>2]);b=b+1|0;if((b|0)>2]){continue}break}b=N[a+4>>2]}_a(b)}b=N[a+32>>2];if(b){_a(b)}b=N[a+40>>2];if(b){_a(b)}a=N[a+44>>2];if(a){_a(a)}}function ny(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=M[a+298>>1];e=T(d,b>>16);b=T(d,b&65535);d=e<<16;f=b+d|0;a=M[a+300>>1];g=T(a,c&65535);c=T(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function my(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0,i=0;d=M[a+294>>1];e=T(d,b>>16);b=T(d,b&65535);d=e<<16;f=b+d|0;a=M[a+296>>1];g=T(a,c&65535);c=T(a,c>>16);h=c<<16;a=g+h|0;i=f+a|0;c=((((((e>>16)+(b>>31)|0)+(g>>31)|0)+(c>>16)|0)+(d>>>0>f>>>0)|0)+(a>>>0>>0)|0)+(a>>>0>i>>>0)|0;b=c>>31;a=i+b|0;return((b+c|0)+(a>>>0>>0)|0)+(a>>>0>4294959103)<<18|a- -8192>>>14}function _z(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[(N[a>>2]+(N[a+16>>2]<<2)|0)+68>>2];if(vc(d,N[a+20>>2],2560)){N[b>>2]=-1;return 1}a=N[d+84>>2];d=N[a+28>>2];N[b>>2]=N[a+24>>2];N[b+4>>2]=d;d=N[a+52>>2];N[b+24>>2]=N[a+48>>2];N[b+28>>2]=d;d=N[a+44>>2];N[b+16>>2]=N[a+40>>2];N[b+20>>2]=d;d=N[a+36>>2];N[b+8>>2]=N[a+32>>2];N[b+12>>2]=d;if(c){N[b+16>>2]=N[b+28>>2]}return 1}function zn(a){var b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!a){break a}c=N[a+96>>2];if(!c){break a}d=N[a+128>>2];b=N[d+64>>2];N[d+64>>2]=b-1;if((b|0)>1){break a}b=N[c+16>>2];if(!b){break a}e=c+16|0;d=N[c+8>>2];while(1){if(N[b+8>>2]!=(a|0)){b=N[b+4>>2];if(b){continue}break a}break}f=N[b>>2];g=f?f+4|0:e;e=N[b+4>>2];N[g>>2]=e;N[(e?e:c+20|0)>>2]=f;Qa[N[d+8>>2]](d,b);ic(d,a,c)}}function pu(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=6;f=N[a+280>>2];a:{if((f|0)<=0){break a}d=N[a+284>>2];a=0;while(1){b:{g=a;h=cb(N[T(a,12)+d>>2],b);a=a+1|0;if((f|0)<=(a|0)){break b}if(h){continue}}break}if(h){break a}c:{if(O[(T(g,12)+d|0)+4|0]){N[c>>2]=1;N[c+4>>2]=N[(T(g,12)+d|0)+8>>2];break c}N[c>>2]=2;N[c+4>>2]=N[(T(a,12)+d|0)-4>>2]}e=0}return e|0}function li(a,b){var c=0,d=0,e=0;a:{if((b|0)!=1){break a}c=N[a+8>>2];if(!c){break a}c=c-N[a+4>>2]|0;d=0-c|0;e=0-((c>>31)+((c|0)!=0)|0)|0}b:{if(N[a+20>>2]!=N[a+28>>2]){Qa[N[a+36>>2]](a,0,0)|0;if(!N[a+20>>2]){break b}}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;Qa[N[a+40>>2]](a,d,e,b)|0;if((Pa|0)<0){break b}N[a+4>>2]=0;N[a+8>>2]=0;N[a>>2]=N[a>>2]&-17;return 0}return-1}function WC(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0;a=0;a:{if(!c){break a}while(1){b:{h=N[b+12>>2];c:{if(!h){break c}i=N[h+92>>2];if(!i){break c}i=Qa[N[N[i+12>>2]+12>>2]](i,N[d>>2])|0;if(i>>>0>2]){break b}}N[f>>2]=0;return a|0}N[f>>2]=i;if(!i){break a}f=f+g|0;d=d+e|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}return a|0}function hs(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{c=a+10|0;if(c>>>0<=Q[b+160>>2]){d=O[a+3|0]|O[a+2|0]<<8;if(Q[b+160>>2]>>0){break b}a=O[a+9|0]|O[a+8|0]<<8;if((a<<1)+10>>>0>d>>>0){break b}if(!(!N[b+164>>2]|!a)){d=N[b+172>>2];while(1){if(d>>>0<=(O[c+1|0]|O[c|0]<<8)>>>0){break a}c=c+2|0;a=a-1|0;if(a){continue}break}}return 0}Pb(b,8);B()}Pb(b,8);B()}Pb(b,16);B()}function Zu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=N[a>>2];d=N[a+44>>2];a:{if(!d){break a}e=N[d>>2];if(!e|!N[e+96>>2]){break a}N[e+88>>2]=d}d=fg(N[c+504>>2],b);if(!d){b=N[N[c+504>>2]+88>>2];c=N[b+16>>2];N[a+12>>2]=N[b+12>>2];N[a+16>>2]=c;N[a+36>>2]=N[b+36>>2];c=N[b+32>>2];N[a+28>>2]=N[b+28>>2];N[a+32>>2]=c;c=N[b+24>>2];N[a+20>>2]=N[b+20>>2];N[a+24>>2]=c}return d|0}function Bz(a,b){a=a|0;b=b|0;_a(N[b+20>>2]);_a(N[b+24>>2]);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;_a(N[b+44>>2]);_a(N[b+48>>2]);N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;a:{switch(N[a>>2]){case 0:tb(N[a+8>>2]);return;case 1:_a(N[a+8>>2]);return;case 2:tb(N[a+8>>2]);break;default:break a}}}function wj(a,b){var c=0,d=0,e=0,f=0;a:{b:{c:{c=N[a>>2];if((c|0)>=0){d=N[a+4>>2];e=d+1|0;if(e>>>0<=c>>>0){break c}while(1){c=((c>>>1|0)+c|0)+8|0;if(e>>>0>=c>>>0){continue}break}if(c>>>0<=1073741823){f=$a(N[a+8>>2],c<<2);if(f){break b}}N[a>>2]=-1}N[147456]=0;return}f=N[a+8>>2];break a}N[a>>2]=c;N[a+8>>2]=f;d=N[a+4>>2];e=d+1|0}N[a+4>>2]=e;N[(d<<2)+f>>2]=N[b>>2]}function Ac(a){var b=0,c=0;a:{if(O[a+62|0]){b=N[a+68>>2];c=N[a+64>>2];if(b>>>0>>0){break a}b:{if(!O[a+60|0]){break b}if(!Al(a,b-c|0)){break b}b=N[a+84>>2];c=N[a+80>>2];if((b|0)!=(c|0)){N[a+80>>2]=b;N[a+88>>2]=c}N[a+68>>2]=N[a+72>>2]}N[a+72>>2]=0;L[a+62|0]=0;N[a+64>>2]=0;N[a+84>>2]=N[a+80>>2];return}ba(8694,17855,395,17735);B()}ba(13069,17855,397,17735);B()}function AA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;d=N[b>>2];while(1){d=d+1|0;if(d>>>0>255){N[b>>2]=0;return 0}f=Qa[N[a+20>>2]](P[N[a+16>>2]+(d<<1)>>1])|0;g=N[a+24>>2];a:{if(g){h=N[a+28>>2];c=0;while(1){e=N[(c<<2)+h>>2];if(!(!e|O[e|0]!=O[f|0])){if(!cb(e,f)){break a}}c=c+1|0;if((g|0)!=(c|0)){continue}break}}c=0}if(!c){continue}break}N[b>>2]=d;return c|0}function Sy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;if($b(a,N[b+8>>2],e)){if(!(N[b+28>>2]==1|N[b+4>>2]!=(c|0))){N[b+28>>2]=d}return}a:{if(!$b(a,N[b>>2],e)){break a}if(!(N[b+16>>2]!=(c|0)&N[b+20>>2]!=(c|0))){if((d|0)!=1){break a}N[b+32>>2]=1;return}N[b+20>>2]=c;N[b+32>>2]=d;N[b+40>>2]=N[b+40>>2]+1;if(!(N[b+36>>2]!=1|N[b+24>>2]!=2)){L[b+54|0]=1}N[b+44>>2]=4}}function ok(a,b){a=a|0;b=b|0;var c=0,d=0;c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];c=vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2]);if((c|0)!=-1){d=O[a+4|0]|O[a+5|0]<<8;c=c>>>0>=((d<<8|d>>>8)&65535)>>>0?275552:((c<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}a=kk(a,b)}else{a=0}return a|0}function ss(a,b){a=a|0;b=b|0;var c=0,d=0;a=N[a+16>>2];c=O[a+12|0]|O[a+13|0]<<8|(O[a+14|0]<<16|O[a+15|0]<<24);c=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);a:{if(c>>>0>b>>>0){break a}b=b-c|0;c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);if(b>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break a}a=(a+20|0)+(b<<1)|0;d=O[a|0]<<8|O[a+1|0]}return d|0}function em(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;d=La-16|0;La=d;e=N[c>>2];if(e>>>0<2147483632){g=N[a>>2];a:{b:{if(e>>>0>=11){f=(e|15)+1|0;a=eb(f);N[d+12>>2]=f|-2147483648;N[d+4>>2]=a;N[d+8>>2]=e;f=a+e|0;break b}L[d+15|0]=e;a=d+4|0;f=e+a|0;if(!e){break a}}F(a,c+4|0,e)}L[f|0]=0;Qa[g|0](b,d+4|0);if(L[d+15|0]<0){_a(N[d+4>>2])}La=d+16|0;return}fa();B()}function Tb(a,b){var c=0,d=0;c=N[a>>2];a:{if(c>>>0>=b>>>0){break a}while(1){b:{c:{switch(O[c|0]){case 0:case 9:case 10:case 12:case 13:case 32:break b;case 37:break c;default:break a}}d=37;while(1){d:{switch(d-10|0){case 0:case 3:break b;default:break d}}c=c+1|0;if((c|0)!=(b|0)){d=O[c|0];continue}break}c=b}c=c+1|0;if(c>>>0>>0){continue}break}}N[a>>2]=c}function Yl(a){var b=0,c=0;c=N[a+568>>2];if((c|0)!=N[a+64>>2]){b=N[a+96>>2];c=Qa[N[a+24>>2]](N[a+32>>2],c+42|0)|0;N[a+96>>2]=c;if(!c){N[a+96>>2]=b;return 0}L[(c+N[a+568>>2]|0)-2|0]=0;L[(N[a+568>>2]+N[a+96>>2]|0)-1|0]=0;if(b){F(N[a+96>>2],b,N[a+52>>2]);Qa[N[a+28>>2]](N[a+32>>2],b)}b=N[a+568>>2];N[a+64>>2]=b;N[a+68>>2]=b-1;N[a+100>>2]=b+N[a+96>>2]}return 1}function pk(a,b){a=a|0;b=b|0;var c=0,d=0;d=O[a+2|0]|O[a+3|0]<<8;if(d){c=((d<<8|d>>>8)&65535)+a|0}else{c=275552}d=N[b+96>>2];d=vb(c,N[N[d+80>>2]+T(N[d+64>>2],20)>>2]);if((d|0)!=-1){c=O[a+4|0]|O[a+5|0]<<8;c=d>>>0>=((c<<8|c>>>8)&65535)>>>0?275552:((d<<1)+a|0)+6|0;c=O[c|0]|O[c+1|0]<<8;if(c){a=((c<<8|c>>>8)&65535)+a|0}else{a=275552}lk(a,b)}return(d|0)!=-1|0}function iC(a){a=a|0;var b=0;b=N[a+8>>2];C(a+16|0,0,84);N[a+136>>2]=329;N[a+132>>2]=330;N[a+128>>2]=331;N[a+124>>2]=332;N[a+120>>2]=333;N[a+116>>2]=334;N[a+108>>2]=335;N[a+104>>2]=336;N[a+100>>2]=337;N[a+12>>2]=b;N[a+164>>2]=329;N[a+160>>2]=338;N[a+156>>2]=339;N[a+152>>2]=340;N[a+148>>2]=333;N[a+144>>2]=341;b=a+12|0;N[a+112>>2]=b;N[a+140>>2]=b;return 0}function Wc(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+3>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+12|0,4)|0)!=4){break d}c=N[a+8>>2];b=d+12|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}f=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+4}La=d+16|0;return f}function yy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!cb(b,10437)){N[c>>2]=N[a+36>>2];N[c+4>>2]=N[a+40>>2];N[c+8>>2]=N[a+44>>2];N[c+12>>2]=N[a+48>>2];N[c+16>>2]=N[a+52>>2];N[c+20>>2]=N[a+56>>2];N[c+24>>2]=N[a+60>>2];N[c+28>>2]=N[a- -64>>2];break b}if(!cb(b,15759)){N[c>>2]=N[a+28>>2];break b}d=12;if(cb(b,14683)){break a}L[c|0]=O[a+32|0]}d=0}return d|0}function cE(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=N[b>>2];b=N[a+12>>2];a:{if(b){break a}while(1){b=N[a>>2];if(!b){b=275552;break a}e=db(1,48);if(!e){b=275552;N[a+12>>2]=275552;break a}b=gj(e,b);if(!N[a+12>>2]){N[a+12>>2]=b;break a}ab(N[b+44>>2]);_a(b);b=N[a+12>>2];if(!b){continue}break}}a=N[b+8>>2];if(!a){return 0}return Qa[a|0](N[b+12>>2],c,d)|0}function Ur(a,b){a=a|0;b=b|0;var c=0,d=0;a:{b:{if(Q[b+160>>2]>=a+4>>>0){c=O[a+3|0]|O[a+2|0]<<8;if(c>>>0<262|Q[b+160>>2]>>0){break b}if(N[b+164>>2]){a=a+6|0;c=N[b+172>>2];while(1){if(c>>>0<=O[a|0]|c>>>0<=O[a+1|0]|(c>>>0<=O[a+2|0]|c>>>0<=O[a+3|0])){break a}a=a+4|0;d=d+4|0;if((d|0)!=256){continue}break}}return 0}Pb(b,8);B()}Pb(b,8);B()}Pb(b,16);B()}function az(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;e=N[a+84>>2];f=N[e>>2];d=N[e+4>>2];h=N[a+28>>2];g=N[a+20>>2]-h|0;g=d>>>0>>0?d:g;if(g){Pc(f,h,g);f=g+N[e>>2]|0;N[e>>2]=f;d=N[e+4>>2]-g|0;N[e+4>>2]=d}d=c>>>0>d>>>0?d:c;if(d){Pc(f,b,d);f=d+N[e>>2]|0;N[e>>2]=f;N[e+4>>2]=N[e+4>>2]-d}L[f|0]=0;b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;return c|0}function zb(a){var b=0,c=0,d=0;a:{if(!N[a+4>>2]){break a}b=N[a+16>>2];b:{if(!b){N[a+20>>2]=2;break b}c:{switch(N[a+20>>2]-2|0){case 1:N[a+20>>2]=2;break b;case 0:break b;default:break c}}c=kb(b);if(!c){break a}if(b){F(c,N[a+12>>2],b)}b=N[a+28>>2];if(b){Qa[b|0](N[a+24>>2])}N[a+28>>2]=192;N[a+24>>2]=c;N[a+12>>2]=c;N[a+20>>2]=2}d=N[a+12>>2]}return d}function Bu(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+12>>2];if(b){e=N[a+28>>2];N[b+104>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;L[b+44|0]=0;N[b- -64>>2]=9;N[b+12>>2]=0;N[b+16>>2]=0;d=N[b+180>>2];c=N[b+100>>2];if((c|0)!=(b+112|0)){if(c){Qa[N[d+8>>2]](d,c)}N[b+100>>2]=0}c=N[b+88>>2];if(c){Qa[N[d+8>>2]](d,c)}C(b,0,184);Qa[N[e+8>>2]](e,b);N[a+12>>2]=0}}function xb(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+1>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+14|0,2)|0)!=2){break d}c=N[a+8>>2];b=d+14|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}b=O[b|0]|O[b+1|0]<<8;f=b<<8|b>>>8;break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+2}La=d+16|0;return f&65535}function Pn(a,b,c,d){L[a+53|0]=1;a:{if(N[a+4>>2]!=(c|0)){break a}L[a+52|0]=1;c=N[a+16>>2];b:{if(!c){N[a+36>>2]=1;N[a+24>>2]=d;N[a+16>>2]=b;if((d|0)!=1){break a}if(N[a+48>>2]==1){break b}break a}if((b|0)==(c|0)){c=N[a+24>>2];if((c|0)==2){N[a+24>>2]=d;c=d}if(N[a+48>>2]!=1){break a}if((c|0)==1){break b}break a}N[a+36>>2]=N[a+36>>2]+1}L[a+54|0]=1}}function vw(a){a=a|0;var b=0,c=0,d=0;c=N[a+16>>2];if(Q[a+20>>2]>=c+16>>>0){d=N[a+32>>2];b=ne(a,N[c>>2],0);N[d+84>>2]=((b>>31)+b|0)+32768&-65536;b=ne(a,N[c+4>>2],0);N[d+88>>2]=((b>>31)+b|0)+32768&-65536;b=ne(a,N[c+8>>2],0);N[d+92>>2]=((b>>31)+b|0)+32768&-65536;a=ne(a,N[c+12>>2],0);N[d+96>>2]=((a>>31)+a|0)+32768&-65536;a=0}else{a=161}return a|0}function vC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;d=N[b+4>>2];N[a+2748>>2]=b;c=N[b+28>>2];N[a+4>>2]=N[b+44>>2];N[a+8>>2]=N[b+48>>2];N[a+12>>2]=N[b+9848>>2];N[a+16>>2]=N[b+9852>>2];b=N[b+24>>2];e=b&-3;N[a+2740>>2]=!(L[d+12|0]&1)&(e|0)!=1?c:c|1;d=a;a=(b&-2)==2;c=a|2;f=(b|0)==4?c:a;a=(b|0)==2;b=a?c:f;b=(e|0)==1?b:b|4;N[d+2744>>2]=a?b|8:b;return 0}function hi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0,l=0;h=La-240|0;La=h;N[h>>2]=a;i=1;a:{if((d|0)<2){break a}k=0-b|0;f=a;while(1){f=f+k|0;j=d-2|0;g=f-N[(j<<2)+e>>2]|0;if((Qa[c|0](a,g)|0)>=0){if((Qa[c|0](a,f)|0)>=0){break a}}l=g;g=(Qa[c|0](g,f)|0)>=0;f=g?l:f;N[(i<<2)+h>>2]=f;i=i+1|0;d=g?d-1|0:j;if((d|0)>1){continue}break}}ao(b,h,i);La=h+240|0}function Zw(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;a=N[a+532>>2];if(!a){return 6}d=N[a+4>>2];N[b>>2]=d;N[b+4>>2]=N[a>>2];if(!d){return 0}g=a+88|0;h=b+8|0;b=0;while(1){c=T(b,12);e=c+h|0;N[e>>2]=N[(a+(b<<2)|0)+8>>2];c=c+g|0;f=N[c+4>>2];N[e+4>>2]=N[f>>2];N[e+8>>2]=N[((O[c|0]<<2)+f|0)-4>>2];b=b+1|0;if((d|0)!=(b|0)){continue}break}return 0}function _j(a){var b=0,c=0,d=0;b=La-16|0;La=b;N[b+4>>2]=-1;a:{if(!O[a+36|0]){ud(a,b+4|0);c=N[b+4>>2];break a}N[b+8>>2]=-1;ud(a,b+8|0);c=0;if(N[b+8>>2]){break a}c=-1;N[b+12>>2]=-1;b:{if(!ud(a,b+12|0)){break b}d=N[b+12>>2];while(1){c=d;if(!ud(a,b+12|0)){break b}d=N[b+12>>2];if((d|0)==(c+1|0)){continue}break}}c=c+1|0}La=b+16|0;return(c|0)==-1}function Ik(a,b,c,d){var e=0,f=0,g=0;a:{e=T(b,20)+a|0;f=P[e+16>>1];if(!f){break a}g=O[e+18|0];if(!(g&2)){break a}M[e+16>>1]=0;e=(f<<16>>16)+b|0;if((e|0)==(d|0)){break a}Ik(a,e,c,d);b:{if((c&-2)==4){N[(T(e,20)+a|0)+12>>2]=0-N[(T(b,20)+a|0)+12>>2];break b}N[(T(e,20)+a|0)+8>>2]=0-N[(T(b,20)+a|0)+8>>2]}a=T(e,20)+a|0;M[a+16>>1]=0-f;L[a+18|0]=g}}function ld(a){var b=0,c=0,d=0,e=0;a:{if(N[a+12>>2]>0){break a}c=3;b=N[a>>2];d=N[a+8>>2];b:{if(b>>>0>=d>>>0){break b}c:{while(1){d:{e=b+1|0;N[a>>2]=e;e:{switch(O[b|0]-9|0){case 17:break b;case 50:break c;case 1:case 4:break d;case 0:case 23:break e;default:break a}}b=e;if((d|0)!=(b|0)){continue}break b}break}c=2;break b}c=1}N[a+12>>2]=c}}function Ys(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=N[a+16>>2];d=P[a+8>>1];c=d>>>1|0;a=c+1|0;e=Qa[N[b+4>>2]](b,a)|0;if(!e){return 0}C(e,0,a);a=0;a:{if(d>>>0<2){break a}b=c>>>0<=1?1:c;while(1){c=O[f+1|0];d=c|O[f|0]<<8;if(!d){break a}L[a+e|0]=d-128>>>0<4294967200?63:c;f=f+2|0;a=a+1|0;if((b|0)!=(a|0)){continue}break}a=b}L[a+e|0]=0;return e|0}function Gd(a,b){a:{if((b|0)>=1024){a=a*898846567431158e293;if(b>>>0<2047){b=b-1023|0;break a}a=a*898846567431158e293;b=((b|0)>=3069?3069:b)-2046|0;break a}if((b|0)>-1023){break a}a=a*2004168360008973e-307;if(b>>>0>4294965304){b=b+969|0;break a}a=a*2004168360008973e-307;b=((b|0)<=-2960?-2960:b)+1938|0}x(0,0);x(1,b+1023<<20);return a*+z()}function cA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;a:{c=N[a+20>>2];a=(c+(N[a+16>>2]<<3)|0)-8|0;if(a>>>0>=c>>>0){while(1){e=(a-c>>4<<3)+c|0;d=N[e>>2];if((d|0)==(b|0)){f=e;break a}d=d&2147483647;f=(d|0)==(b|0)?e:f;if((a|0)!=(c|0)){d=b>>>0>d>>>0;c=d?e+8|0:c;a=d?a:e-8|0;if(c>>>0<=a>>>0){continue}}break}if(f){break a}}return 0}return N[f+4>>2]}function tE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];a:{if(Qa[N[e+24>>2]](e,b,N[e+56>>2])>>>0<=31){e=N[a+12>>2];f=0;if(1<>2]](e,b,N[e+56>>2])&7168){break a}}if(!((b|0)!=2479|(c|0)!=2492)){N[d>>2]=2527;return 1}a=N[a+12>>2];N[d>>2]=0;f=0;if(!b|!c){break a}f=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return f|0}function ib(a,b,c,d){var e=0,f=0;f=La-16|0;La=f;e=1;if(N[a+156>>2]){N[f+12>>2]=d;e=La-112|0;La=e;if(!(!O[a+62|0]|N[a+84>>2]==N[a+80>>2]&N[a+72>>2]==N[a+64>>2])){ba(22546,17855,2177,13189);B()}N[a+168>>2]=N[a+168>>2]+1;rh(e,100,c,d);b=Qa[N[a+156>>2]](a,b,e,N[a+160>>2])|0;N[a+168>>2]=N[a+168>>2]-1;La=e+112|0;e=(b|0)!=0}La=f+16|0;return e}function xw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=N[N[a+128>>2]+52>>2];a:{if(e){a=N[b>>2];N[d+12>>2]=c;N[d+8>>2]=a;Qa[N[N[e>>2]+4>>2]](N[e+4>>2],d+8|0);break a}a=N[a+712>>2];if(N[a+1236>>2]){break a}a=N[a+1204>>2];b:{if(!a|!N[a+20>>2]){break b}c=N[b>>2];if(!c){break b}a=N[a+28>>2];Qa[N[a+8>>2]](a,c)}N[b>>2]=0}La=d+16|0}function Yy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La+-64|0;La=d;e=1;a:{if($b(a,b,0)){break a}e=0;if(!b){break a}b=Oc(b,584540);e=0;if(!b){break a}C(d+12|0,0,52);N[d+56>>2]=1;N[d+20>>2]=-1;N[d+16>>2]=a;N[d+8>>2]=b;Qa[N[N[b>>2]+28>>2]](b,d+8|0,N[c>>2],1);a=N[d+32>>2];if((a|0)==1){N[c>>2]=N[d+24>>2]}e=(a|0)==1}a=e;La=d- -64|0;return a|0}function Cw(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[N[b+712>>2]+3080>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+8>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function pC(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){d=N[N[a>>2]+100>>2];while(1){b=e<<2;f=b+a|0;c=N[f+24>>2];if(c){b=N[N[(N[N[b+288960>>2]+4>>2]<<2)+288672>>2]+16>>2];a:{if(b){Qa[b|0](c);c=N[f+24>>2];if(!c){break a}}Qa[N[d+8>>2]](d,c)}N[f+24>>2]=0}e=e+1|0;if((e|0)!=87){continue}break}Rc(N[a+12>>2]);dc(N[a+16>>2]);Qa[N[d+8>>2]](d,a)}}function Pu(a){a=a|0;var b=0,c=0,d=0,e=0;if(a){d=N[a+100>>2];b=N[a+132>>2];if(b){e=N[b+160>>2];if(e){c=N[a+104>>2];if(!(!c|!N[c+20>>2])){c=N[c+28>>2];Qa[N[c+8>>2]](c,e)}N[b+160>>2]=0}c=N[b+168>>2];if(c){Qa[N[d+8>>2]](d,c)}N[b+168>>2]=0;Qa[N[d+8>>2]](d,b);N[a+132>>2]=0}b=N[a+32>>2];if(b){Qa[N[d+8>>2]](d,b)}N[a+28>>2]=0;N[a+32>>2]=0}}function _e(a){var b=0,c=0,d=0;a:{if(!a){break a}b=O[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=L[b|0];b:{if(!(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1)){break b}while(1){if(c<<16>>16>3274){c=32767;break b}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c<<16>>16}function xd(a){var b=0,c=0,d=0,e=0;a:{b=N[a+72>>2]+1|0;b:{if(!(!b|b>>>0>2])){if(!gb(a,b)){break b}}d=1;b=N[a+84>>2];if((b|0)!=N[a+80>>2]){break b}c=N[a+72>>2];if(c+1>>>0<=N[a+64>>2]+1>>>0){break b}if(!O[a+62|0]){break a}e=a;a=N[a+88>>2];N[e+84>>2]=a;c=T(c,20);if(!c){break b}F(a,b,c)}return d}ba(8694,17855,209,11932);B()}function jf(a){var b=0,c=0,d=0,e=0,f=0;ld(a);a:{if(N[a+12>>2]>0){break a}b=N[a>>2];d=b-1|0;e=N[a+8>>2];b:{c:{while(1){if(b>>>0>=e>>>0){break c}f=b;b=b+1|0;N[a>>2]=b;c=2;d:{switch(O[f|0]-9|0){case 0:case 23:break a;case 1:case 4:break b;case 17:break c;case 50:break d;default:continue}}break}c=1;break b}c=3}N[a+12>>2]=c}return d}function am(a){var b=0,c=0,d=0;a:{if(!a){break a}b=O[a|0];if(!b){break a}d=(b|0)==45;b=d+a|0;a=L[b|0];b:{if(!(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1)){break b}while(1){if((c|0)>214748362){c=2147483647;break b}c=O[a+45072|0]+T(c,10)|0;a=L[b+1|0];b=b+1|0;if(O[((a&248)>>>3|0)+45040|0]>>>(a&7)&1){continue}break}}c=d?0-c|0:c}return c}function RA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=N[a+12>>2];a:{if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+68|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=((c>>31)+c|0)+32768>>16;N[f>>2]=((b>>31)+b|0)+32768>>16;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Mb(a,b,c){var d=0,e=0;a:{b:{if(c>>>0>=4){if((a|b)&3){break b}while(1){if(N[a>>2]!=N[b>>2]){break b}b=b+4|0;a=a+4|0;c=c-4|0;if(c>>>0>3){continue}break}}d=0;break a}d=1}while(1){c:{if(!d){if(c){break c}return 0}d:{e=O[b|0];d=O[a|0];if((e|0)==(d|0)){b=b+1|0;a=a+1|0;c=c-1|0;break d}return d-e|0}d=0;continue}d=1;continue}}function ln(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;N[b>>2]=0;a:{b:{c:{d:{c=N[a+8>>2];if(Q[a+4>>2]<=c+1>>>0){break d}e=N[a+20>>2];e:{if(e){if((Qa[e|0](a,c,d+14|0,2)|0)!=2){break d}c=N[a+8>>2];b=d+14|0;break e}b=N[a>>2];if(!b){break c}b=b+c|0}f=O[b|0]|O[b+1|0]<<8;break b}N[b>>2]=85;break a}f=0}N[a+8>>2]=c+2}La=d+16|0;return f}function qx(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[b+552>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+4>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function Lv(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+4>>2];d=N[b+320>>2];a:{if(!d){break a}b=N[N[b+96>>2]+4>>2];if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[b>>2];if(cb(N[N[e>>2]+8>>2],11971)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}b=Qa[N[d+4>>2]](e)|0;N[N[a+156>>2]+36>>2]=b}return 0}function dj(a,b,c,d,e){var f=0,g=0,h=U(0),i=U(0);if(N[c>>2]){h=R[c+4>>2];i=R[c+8>>2];if(!(h==R[c+12>>2]&i==R[c+16>>2])){g=N[a+16>>2];f=N[a+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[g|0](a,b,c,h,i,f)}g=N[a+28>>2];f=N[a+32>>2];if(f){f=N[f+16>>2]}else{f=0}Qa[g|0](a,b,c,f);N[c+8>>2]=0;N[c>>2]=0;N[c+4>>2]=0}R[c+16>>2]=e;R[c+12>>2]=d}function Ok(a,b){a=a|0;b=b|0;var c=0,d=0;c=O[a+6|0]|O[a+7|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}c=N[b+96>>2];if((vb(d,N[N[c+80>>2]+T(N[c+64>>2],20)>>2])|0)!=-1){d=b;b=O[a+2|0]|O[a+3|0]<<8;b=(b<<8|b>>>8)&65535;c=O[a+4|0]|O[a+5|0]<<8;a=Re(d,b,a+8|0,(c<<8|c>>>8)&65535,(a+6|0)+(b<<1)|0,247,a)}else{a=0}return a|0}function Qq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;a:{if(!(O[N[a+112>>2]+36|0]&2)){break a}b=N[c+68>>2];if(!b){break a}e=N[c+80>>2];g=e+3|0;a=0;while(1){d=T(a,20);f=d+e|0;if(O[f+12|0]&64){h=d+g|0;d=O[f+14|0];L[h+16|0]=d&16?8:d&1|8;N[c+144>>2]=N[c+144>>2]|16777216}a=a+1|0;if((b|0)!=(a|0)){continue}break}}return 0}function Le(a,b,c,d,e,f,g){var h=0,i=0,j=U(0),k=U(0);if(!N[c>>2]){i=N[a+12>>2];j=R[c+12>>2];k=R[c+16>>2];h=N[a+32>>2];if(h){h=N[h>>2]}else{h=0}Qa[i|0](a,b,c,j,k,h);N[c>>2]=1;h=N[c+16>>2];N[c+4>>2]=N[c+12>>2];N[c+8>>2]=h}i=N[a+20>>2];h=N[a+32>>2];if(h){h=N[h+8>>2]}else{h=0}Qa[i|0](a,b,c,d,e,f,g,h);R[c+16>>2]=g;R[c+12>>2]=f}function yz(a,b){a=a|0;b=b|0;var c=0;a:{b:{if(!a){break b}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;a=N[b>>2];if(!a){break b}if(!N[a-8>>2]){break a}a=a-4|0;b=N[a>>2];if(!b){break a}N[a>>2]=b+1}return 1}ba(8916,18290,435,15229);B()}function mD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=f|0;var g=U(0),h=U(0),i=U(0),j=U(0),k=0;g=R[b+8>>2];h=R[b+16>>2];i=R[b+12>>2];j=R[c+16>>2];R[c+16>>2]=i*j;R[c+12>>2]=U(g*R[c+12>>2])+U(h*j);a=N[b>>2];f=N[a+16>>2];k=N[b+4>>2];d=U(U(g*d)+U(h*e));e=U(i*e);b=N[a+32>>2];if(b){b=N[b+4>>2]}else{b=0}Qa[f|0](a,k,c,d,e,b)}function $u(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=N[a+160>>2];N[b+156>>2]=0;c=N[b+4>>2];a=N[c+84>>2];a:{if(!a){break a}d=N[N[c+96>>2]+8>>2];if((a|0)!=(b|0)){while(1){e=N[a+8>>2];if(!e){break a}f=a;a=e;if((b|0)!=(a|0)){continue}break}}N[(f?f+8|0:c+84|0)>>2]=N[b+8>>2];a=N[b+20>>2];if(a){Qa[a|0](b)}jg(b);Qa[N[d+8>>2]](d,b)}}function Ho(a){var b=0,c=0,d=0,e=0;b=N[a+12>>2];if(b){c=N[a+8>>2];a:{b:{if(b>>>0>c>>>0){d=N[a+20>>2];break b}N[147316]=0;d=N[a+20>>2];c=b<<1;b=$a(d,c>>>0<=1?1:c);N[147316]=b?0:48;d=b?b:d;N[a+20>>2]=d;e=0;if(!b){break a}N[a+12>>2]=c;c=N[a+8>>2]}L[c+d|0]=1;N[a+8>>2]=N[a+8>>2]+1;e=1}return e}ba(10167,18249,303,9289);B()}function vh(a,b,c){var d=0,e=0,f=0,g=0;f=6;d=N[b>>2];a:{if(d+5>>>0>c>>>0){break a}e=N[a+12>>2];M[e>>1]=O[d|0];M[e+2>>1]=O[d+1|0];M[e+4>>1]=L[d+2|0];M[e+6>>1]=L[d+3|0];M[e+8>>1]=O[d+4|0];g=c;c=d+8|0;if(g>>>0>>0){break a}M[e+10>>1]=L[d+5|0];M[e+12>>1]=L[d+6|0];M[e+14>>1]=O[d+7|0];L[a+16|0]=1;N[b>>2]=c;f=0}return f}function aB(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;b=La-16|0;La=b;Tb(a,N[a+8>>2]);e=N[a+8>>2];d=N[a>>2];N[b+12>>2]=d;f=fd(b+12|0,e,10);c=N[b+12>>2];a:{if((d|0)==(c|0)){break a}if(!(O[c|0]!=35|c>>>0>=e>>>0)){d=c+1|0;N[b+12>>2]=d;f=fd(b+12|0,e,f);c=N[b+12>>2];if((d|0)==(c|0)){break a}}N[a>>2]=c;g=f}La=b+16|0;return g|0}function Ad(a,b){var c=0,d=0,e=0;c=La-16|0;La=c;N[c+8>>2]=a;e=N[b+20>>2];a=e+((Qa[N[b+12>>2]](c+8|0)>>>0)%Q[b+4>>2]<<2)|0;d=N[a>>2];a:{if(!d){break a}while(1){if(Qa[N[b+16>>2]](d,c+8|0)|0){break a}a=a-4|0;if(e>>>0>a>>>0){a=((N[b+4>>2]<<2)+e|0)-4|0}d=N[a>>2];if(d){continue}break}}La=c+16|0;a=N[a>>2];return a?a+4|0:0}function AC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;d=sf(b,c);a:{if(d){break a}a=N[b+24>>2];if((a|0)<=0){break a}b=N[b+28>>2];f=b+T(a,40)|0;a=N[c+4>>2];c=N[c+8>>2];while(1){N[a>>2]=N[b+16>>2];N[a+4>>2]=N[b+20>>2];e=P[b>>1];L[c|0]=e&1?0:e&2?2:1;c=c+1|0;a=a+8|0;b=b+40|0;if(f>>>0>b>>>0){continue}break}}return d|0}function cq(a,b,c,d,e){var f=0,g=0,h=U(0),i=U(0);if(!N[c>>2]){g=N[a+12>>2];h=R[c+12>>2];i=R[c+16>>2];f=N[a+32>>2];if(f){f=N[f>>2]}else{f=0}Qa[g|0](a,b,c,h,i,f);N[c>>2]=1;f=N[c+16>>2];N[c+4>>2]=N[c+12>>2];N[c+8>>2]=f}g=N[a+16>>2];f=N[a+32>>2];if(f){f=N[f+4>>2]}else{f=0}Qa[g|0](a,b,c,d,e,f);R[c+16>>2]=e;R[c+12>>2]=d}function sE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){a:{a=a<<24>>24;L[b+140|0]=a|64;if((a|0)<0){break a}L[b+140|0]=a|192;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),M[e+18>>1]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}ba(22778,14165,169,12138);B()}function uD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];e=N[b+96>>2];f=N[e- -64>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+44>>2]}else{e=0}b=Qa[f|0](b,g,c,d,e)|0;c=N[a+20>>2];a:{if(!c){break a}c=N[c+28>>2];a=N[a+28>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}return b|0}function gE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){a:{a=a<<24>>24;L[b+140|0]=a|64;if((a|0)<0){break a}L[b+140|0]=a|192;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),L[e+18|0]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}}ba(22778,14165,169,12138);B()}function Mh(a){a=a|0;var b=0;N[a+36>>2]=500;N[a+40>>2]=400;L[a+32|0]=1;N[a+28>>2]=1;N[a+60>>2]=2333;N[a+64>>2]=0;N[a+52>>2]=1667;N[a+56>>2]=275;N[a+44>>2]=1e3;N[a+48>>2]=275;b=La-16|0;b=N[a+8>>2]^(b+8^b+12);b=b>>>20^b>>>10^b;N[a+68>>2]=b;a:{if((b|0)<0){b=0-b|0}else{if(b){break a}b=123456789}N[a+68>>2]=b}return 0}function wx(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=28592;b:{if(!cb(15866,b)){break b}c=28600;if(!cb(9592,b)){break b}c=28608;if(!cb(9676,b)){break b}c=28616;if(!cb(12514,b)){break b}c=28624;if(!cb(11276,b)){break b}c=28632;if(!cb(14667,b)){break b}if(cb(10423,b)){break a}c=28640}a=N[c+4>>2]}return a|0}function tD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;b=N[a+20>>2];e=N[b+96>>2];f=N[e+68>>2];g=N[b+100>>2];e=N[e+12>>2];if(e){e=N[e+48>>2]}else{e=0}b=Qa[f|0](b,g,c,d,e)|0;c=N[a+20>>2];a:{if(!c){break a}c=N[c+32>>2];a=N[a+32>>2];if((c|0)==(a|0)){break a}b=VE(UE(a,a>>31,b,b>>31),Pa,c,c>>31)}return b|0}function qc(a){var b=0,c=0,d=0;A(+a);b=v(1)|0;v(0)|0;d=b>>>20&2047;if(d>>>0<=1074){if(d>>>0<=1021){a=a*0}else{a=(b|0)>0|(b|0)>=0?a:-a;c=a+4503599627370496+-4503599627370496-a;a:{if(c>.5){a=a+c+-1;break a}a=a+c;if(!(c<=-.5)){break a}a=a+1}a=(b|0)>0|(b|0)>=0?a:-a}}if(V(a)<2147483648){return~~a}return-2147483648}function du(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=N[a+16>>2];if(d){g=N[a+20>>2];a=d>>>1|0;while(1){c=d+f>>>1|0;c=a>>>0>=d>>>0?c:a>>>0>>0?c:a;e=N[(c<<3)+g>>2];if((e|0)==(b|0)){return P[((c<<3)+g|0)+4>>1]+1&65535}a=(b+c|0)-e|0;e=b>>>0>>0;f=e?f:c+1|0;d=e?c:d;if(f>>>0>>0){continue}break}}return 0}function Aj(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+32>>2];if(!(!b|!N[b>>2])){while(1){e=(d<<2)+b|0;a:{if(!N[e+36>>2]){break a}c=T(d,28)+b|0;if(N[c+80>>2]){N[c+80>>2]=0}_a(N[c+84>>2]);N[c+80>>2]=0;N[c+84>>2]=0;N[c+76>>2]=0;if(!O[b+4|0]){break a}_a(N[e+36>>2])}d=d+1|0;if(d>>>0>2]){continue}break}_a(b)}_a(a)}function uy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[N[a+392>>2]+(b<<2)>>2];b=d>>31;e=dg(a);a=e>>31;b=(b^d)-b|0;a=(a^e)-a|0;a:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break a}c=b&65535;b=T(c,a>>>16|0)+T(a,b>>>16|0)+(T(a&65535,c)+32768>>>16)|0}a=b;c=0-a|0;a=d>>31|1;return((((e|0)<0?0-a|0:a)|0)<0?c:b)|0}function Bi(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=La-16|0;La=b;d=N[a>>2];a:{if(!d){break a}c=N[d+8>>2];if(!c){break a}e=d;while(1){c=N[c+8>>2];if(c){e=N[e+8>>2];c=N[c+8>>2];if(c){continue}}break}N[b+12>>2]=d;N[b+8>>2]=N[e+8>>2];N[e+8>>2]=0;Bi(b+12|0);Bi(b+8|0);f=a,g=Ai(N[b+12>>2],N[b+8>>2]),N[f>>2]=g}La=b+16|0}function ii(a){var b=0,c=0,d=0,e=0,f=0,g=0;b=28711;if((a|0)!=28711){c=6879;e=3439;d=3439;while(1){if((c|0)==1){return 0}b=a>>>0>>0;g=b?g:e;c=b?d:c-d|0;d=c>>>1|0;e=g+d|0;f=P[(e<<1)+567216>>1];b=P[(T(f>>>8|0,188)+((f&255)<<1)|0)+504752>>1];if((b|0)!=(a|0)){continue}break}a=f+8481|0}else{a=17005}return a}function Jz(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;N[b+20>>2]=N[c>>2];d=N[c+4>>2];N[b+108>>2]=0;N[b+112>>2]=0;N[b+24>>2]=d;d=N[a+4>>2];N[b>>2]=N[a>>2];N[b+4>>2]=d;N[b+8>>2]=N[a+8>>2];N[b+12>>2]=N[a+12>>2];a=N[a+16>>2];N[b+120>>2]=0;N[b+124>>2]=0;N[b+16>>2]=a;if((wo(N[c+8>>2],b,0)|0)==-1){N[b+20>>2]=0}return 1}function md(a,b){var c=0;c=N[a+8>>2];a:{if(N[a+12>>2]-c>>3>>>0<=b>>>0){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=130;return 0}b:{c:{d:{a=(b<<3)+c|0;switch(N[a+4>>2]-1|0){case 0:break c;case 1:break d;default:break b}}return N[a>>2]<<16}a=N[a>>2];return((a>>31)+a|0)- -8192>>14}b=N[a>>2]}return b}function Qo(a,b){var c=0,d=0,e=0;a:{if(b>>>0>255){break a}c=N[a+604>>2];c=Qa[N[c+20>>2]](P[N[c+24>>2]+(b<<1)>>1])|0;d=N[a+584>>2];if(!d){break a}e=N[a+580>>2];b=0;while(1){b:{a=N[(b<<2)+e>>2];if(!a|O[a|0]!=O[c|0]){break b}if(cb(a,c)){break b}return b}b=b+1|0;if((d|0)!=(b|0)){continue}break}}return-1}function vj(a){N[a+540>>2]=0;N[a+504>>2]=a+540;N[a+468>>2]=a+504;N[a+432>>2]=a+468;N[a+396>>2]=a+432;N[a+360>>2]=a+396;N[a+324>>2]=a+360;N[a+288>>2]=a+324;N[a+252>>2]=a+288;N[a+216>>2]=a+252;N[a+180>>2]=a+216;N[a+144>>2]=a+180;N[a+108>>2]=a+144;N[a+72>>2]=a+108;N[a+36>>2]=a+72;N[a>>2]=a+36;return a}function ao(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=La-256|0;La=f;if((c|0)>=2){h=(c<<2)+b|0;N[h>>2]=f;while(1){e=a>>>0>=256?256:a;Pc(N[h>>2],N[b>>2],e);d=0;while(1){g=(d<<2)+b|0;d=d+1|0;Pc(N[g>>2],N[(d<<2)+b>>2],e);N[g>>2]=N[g>>2]+e;if((c|0)!=(d|0)){continue}break}a=a-e|0;if(a){continue}break}}La=f+256|0}function NA(a){a=a|0;var b=0,c=0,d=0,e=0;e=N[a>>2];b=N[a+8>>2];if(b){c=N[a+16>>2];d=N[c+4>>2];N[b+108>>2]=N[c>>2];N[b+112>>2]=d;N[b+124>>2]=N[c+16>>2];d=N[c+12>>2];N[b+116>>2]=N[c+8>>2];N[b+120>>2]=d}b=N[a+1512>>2];if(b){Qa[b|0](N[a+1508>>2]);b=N[a+1508>>2];if(b){Qa[N[e+8>>2]](e,b)}N[a+1508>>2]=0}}function JB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;if(b){f=N[d>>2]+T(N[d+4>>2],(a|0)/-4|0)|0;while(1){if(P[c+2>>1]){g=O[c+4|0]+8>>>4|0;d=0;while(1){e=f+((M[c>>1]+d|0)/4|0)|0;a=O[e|0]+g|0;L[e|0]=a-(a>>>8|0);d=d+1|0;if(d>>>0>1]){continue}break}}c=c+6|0;b=b-1|0;if(b){continue}break}}}function Po(a,b,c){var d=0,e=0;e=La-16|0;La=e;d=N[N[a+128>>2]+52>>2];a:{b:{if(!d){d=b<<2;b=d+N[a+432>>2]|0;a=d+N[a+428>>2]|0;break b}a=Qa[N[N[d>>2]>>2]](N[d+4>>2],b,e+8|0)|0;if(a){break a}b=e+12|0;a=e+8|0}d=N[b>>2];b=N[a>>2];N[c+12>>2]=b;a=0;N[c>>2]=0;N[c+4>>2]=b;N[c+8>>2]=b+d}La=e+16|0;return a}function Cp(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;N[a+2748>>2]=b;c=N[b+28>>2];N[a+4>>2]=N[b+44>>2];N[a+8>>2]=N[b+48>>2];N[a+12>>2]=N[b+7720>>2];N[a+16>>2]=N[b+7724>>2];b=N[b+24>>2];N[a+2740>>2]=c|4;d=a;a=(b&-2)==2;c=a|2;e=(b|0)==4?c:a;a=(b|0)==2;c=a?c:e;b=(b&-3)==1?c:c|4;N[d+2744>>2]=a?b|8:b;return 0}function kx(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a:{if(b>>>0>65535){break a}e=N[c+288>>2];if((e|0)<=0){break a}f=N[c+292>>2];while(1){c=N[(d<<2)+f>>2];b:{if(!c|O[c|0]!=O[a|0]){break b}if((nb(c)|0)!=(b|0)){break b}if(!bb(c,a,b)){break a}}d=d+1|0;if((e|0)!=(d|0)){continue}break}d=0}return d|0}function Pd(a,b){var c=0,d=0,e=0;c=La-16|0;La=c;L[c+15|0]=0;N[b>>2]=0;d=N[a+8>>2];a:{b:{e=N[a+20>>2];c:{if(e){if((Qa[e|0](a,d,c+15|0,1)|0)!=1){break b}d=N[a+8>>2];b=c+15|0;break c}if(Q[a+4>>2]<=d>>>0){break b}b=N[a>>2]+d|0}b=O[b|0];N[a+8>>2]=d+1;break a}N[b>>2]=85;b=0}La=c+16|0;return b<<24>>24}function nb(a){var b=0,c=0,d=0;a:{b:{b=a;if(!(b&3)){break b}if(!O[a|0]){return 0}while(1){b=b+1|0;if(!(b&3)){break b}if(O[b|0]){continue}break}break a}while(1){c=b;b=b+4|0;d=N[c>>2];if(!((d^-1)&d-16843009&-2139062144)){continue}break}while(1){b=c;c=b+1|0;if(O[b|0]){continue}break}}return b-a|0}function Eu(a){a=a|0;var b=0,c=0;c=N[a+28>>2];b=N[a+12>>2];if(b){Wf(b+12|0);N[b+52>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;Qa[N[c+8>>2]](c,b);N[a+12>>2]=0}if(!N[a+20>>2]){b=N[a>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0}}function uc(a,b){var c=0,d=0,e=0,f=0;d=La-16|0;La=d;a:{if(!b){b=0;break a}c=b>>31;e=(c^b)-c|0;c=W(e);hc(d,e,0,0,0,c+81|0);e=0+N[d+8>>2]|0;c=(N[d+12>>2]^65536)+(16414-c<<16)|0;c=e>>>0>>0?c+1|0:c;f=b&-2147483648|c;c=N[d+4>>2];b=N[d>>2]}N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=e;N[a+12>>2]=f;La=d+16|0}function uu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;a=N[a+16>>2];d=P[a+2>>1];a:{if(d+(P[a+6>>1]<<8)>>>0>>0){break a}c=P[a>>1];f=P[a+4>>1];if(c+(f<<8)>>>0>b>>>0){break a}e=b&255;if(e>>>0>d>>>0|c>>>0>e>>>0){break a}g=P[N[a+12>>2]+((e-c|0)+T((d-c|0)+1|0,(b>>>8&65535)-f|0)<<1)>>1]}return g|0}function Uf(a){var b=0,c=0,d=0,e=0;a:{if(!a){break a}b=L[a|0];e=b&255;if(!e|!(O[(e>>>3|0)+45040|0]>>>(b&7)&1)){break a}while(1){c=65535;if((d&65535)>>>0>6551){break a}c=b+45072|0;b=L[a+1|0];a=a+1|0;d=O[c|0]+T(d,10)|0;c=d;if(O[((b&248)>>>3|0)+45040|0]>>>(b&7)&1){continue}break}}return c&65535}function oA(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=N[a+12>>2];a:{if((M[d+22>>1]+M[d+58>>1]|0)+1>>>0>Q[d+4>>2]){d=Sb(d,1,0);if(d){break a}}d=N[a+20>>2];if(O[a+65|0]){a=N[d+8>>2];e=M[d+2>>1];f=N[d+4>>2]+(e<<3)|0;N[f+4>>2]=c>>10;N[f>>2]=b>>10;L[a+e|0]=1}M[d+2>>1]=P[d+2>>1]+1;d=0}return d|0}function Tf(a,b){var c=0,d=0,e=0;e=La-16|0;La=e;N[e+12>>2]=b;c=La-144|0;La=c;F(c,584048,144);N[c+44>>2]=a;N[c+20>>2]=a;d=-2-a|0;d=d>>>0>=2147483647?2147483647:d;N[c+48>>2]=d;a=a+d|0;N[c+28>>2]=a;N[c+16>>2]=a;Sn(c,16764,b);if(d){a=N[c+20>>2];L[a-((a|0)==N[c+16>>2])|0]=0}La=c+144|0;La=e+16|0}function QA(a){a=a|0;var b=0,c=0;b=N[a+20>>2];if(!b){return 3}a:{b:{if(O[a+68|0]){a=N[a+12>>2];if((M[a+20>>1]+M[a+56>>1]|0)+1>>>0>Q[a+8>>2]){a=Sb(a,0,1);if(a){break a}}c=P[b>>1];a=c<<16>>16;if((a|0)<=0){break b}M[(N[b+12>>2]+(c<<1)|0)-2>>1]=P[b+2>>1]-1}a=P[b>>1]}M[b>>1]=a+1;a=0}return a|0}function lB(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{if(!cb(b,16934)){b=N[c>>2];d=6;if(b-33>>>0<4294967265){break a}N[a+64>>2]=b;break b}if(!cb(b,12859)){L[a+68|0]=N[c>>2]!=0;return 0}if(!cb(b,7976)){L[a+69|0]=N[c>>2]!=0;return 0}d=12;if(cb(b,10583)){break a}L[a+70|0]=O[c|0]}d=0}return d|0}function Xz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=ze(N[b+92>>2],c);N[e>>2]=a;a:{if(!a){break a}a=on(b,a,d);N[e>>2]=a;if(!a){break a}N[f+28>>2]=a;b=0;a=sc(N[f>>2],f+8|0,c>>>0>752?N[f+32>>2]?f:0:0);b:{if(!a){break b}if(N[a>>2]>=0){b=a;break b}tb(a)}tb(b);g=1}return g|0}function Sq(a){a=a|0;var b=0,c=0;a=N[a+660>>2];if(N[a+20>>2]){if(N[a+8>>2]>0){while(1){b=N[a+20>>2]+T(c,56)|0;_a(N[b+28>>2]);_a(N[b+44>>2]);_a(N[b+48>>2]);_a(N[b+52>>2]);c=c+1|0;if((c|0)>2]){continue}break}}N[a+8>>2]=0}_a(N[N[a+88>>2]+20>>2]);a=N[a+88>>2];N[a+20>>2]=0;N[a+24>>2]=0}function Ot(a,b){a=a|0;b=b|0;var c=0;a:{switch(b|0){case 0:return a+160|0;case 3:return a+216|0;case 4:return(O[a+292|0]?a+296|0:0)|0;case 2:return(P[a+372>>1]!=65535?a+372|0:0)|0;case 5:return a+476|0;case 1:return a+260|0;case 6:c=N[a+568>>2]?a+568|0:0;break;default:break a}}return c|0}function rh(a,b,c,d){var e=0,f=0,g=0;e=La-160|0;La=e;f=b?a:e+158|0;N[e+148>>2]=f;a=-1;g=b-1|0;N[e+152>>2]=b>>>0>=g>>>0?g:0;C(e,0,144);N[e+76>>2]=-1;N[e+36>>2]=199;N[e+80>>2]=-1;N[e+44>>2]=e+159;N[e+84>>2]=e+148;a:{if((b|0)<0){N[147316]=61;break a}L[f|0]=0;a=zi(e,c,d)}La=e+160|0;return a}function rr(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=(b|c)>=0;e=d?c:0;f=d?b:0;d=N[a+384>>2];if(!((f|0)==N[d+16>>2]&N[d+20>>2]==(e|0))){N[d+16>>2]=f;N[d+20>>2]=e;Ee(d);d=N[a+384>>2]}if(!(N[d+24>>2]==(f|0)&N[d+28>>2]==(e|0))){N[d+24>>2]=f;N[d+28>>2]=e;Ee(d)}N[a+392>>2]=b;N[a+396>>2]=c}function pz(a,b){a=a|0;b=b|0;var c=0;c=N[b+20>>2];if(c){_a(N[c-4>>2])}c=N[b+44>>2];if(c){_a(N[c-4>>2])}b=N[b+68>>2];if(b){_a(N[b-4>>2])}if(N[a+24>>2]){b=0;while(1){c=T(b,24);tb(N[c+N[a+28>>2]>>2]);tb(N[(c+N[a+28>>2]|0)+4>>2]);b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[a+28>>2])}function Kq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;N[d+4>>2]=c;N[d>>2]=b;e=La-16|0;La=e;N[e+12>>2]=d;Sn(589104,25129,d);La=e+16|0;a=N[a+384>>2];N[a+860>>2]=b?b:1e4;a:{if(!c){b=67108864;c=134217728;break a}c=c<<20;b=(c>>>0)/3|0;c=c-b|0}N[a+868>>2]=b;N[a+864>>2]=c;La=d+16|0}function yq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=N[a+12>>2];a:{if(Qa[N[e+24>>2]](e,b,N[e+56>>2])>>>0<=31){e=N[a+12>>2];f=0;if(1<>2]](e,b,N[e+56>>2])&7168){break a}}a=N[a+12>>2];N[d>>2]=0;f=0;if(!b|!c){break a}f=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return f|0}function Bt(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1886352244,b,0)|0;a:{if(c){break a}c=rb(b,178992,a+476|0);if(c){break a}c=154;a=N[a+476>>2];b:{if((a|0)<=151551){if((a|0)==65536|(a|0)==131072){break b}break a}if((a|0)==196608){break b}if((a|0)!=151552){break a}}c=0}return c|0}function xx(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[a+736>>2];a:{b:{if(f){if(b){N[b>>2]=N[f>>2]}if(c){N[c>>2]=N[f+4>>2]}if(d){N[d>>2]=N[N[a+736>>2]+8>>2]}if(!e){break a}a=N[N[a+736>>2]+12>>2];break b}if(b){N[b>>2]=0}if(c){N[c>>2]=0}a=0;if(!e){break a}}N[e>>2]=a}return 0}function qb(a){var b=0,c=0;c=N[a+12>>2];a:{if((c|0)==N[a+8>>2]){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=161;return 0}b=a;a=c-8|0;N[b+12>>2]=a;b:{switch(N[a+4>>2]-1|0){case 1:return N[a>>2]<<16;case 0:a=N[a>>2];return((a>>31)+a|0)- -8192>>14;default:break b}}b=N[a>>2]}return b}function BA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{if(b>>>0>255){break a}b=Qa[N[a+20>>2]](P[N[a+16>>2]+(b<<1)>>1])|0;d=N[a+24>>2];if(!d){break a}e=N[a+28>>2];while(1){a=N[(c<<2)+e>>2];if(!(!a|O[a|0]!=O[b|0])){if(!cb(a,b)){break a}}c=c+1|0;if((d|0)!=(c|0)){continue}break}c=0}return c|0}function th(a){var b=0,c=0,d=0,e=0;b=go(a,61);if((b|0)==(a|0)){return 0}d=b-a|0;a:{if(O[d+a|0]){break a}b=N[147572];if(!b){break a}c=N[b>>2];if(!c){break a}while(1){b:{if(!bb(a,c,d)){c=c+d|0;if(O[c|0]==61){break b}}c=N[b+4>>2];b=b+4|0;if(c){continue}break a}break}e=c+1|0}return e}function vz(a,b){a=a|0;b=b|0;var c=0;a:{if(N[a>>2]!=N[b>>2]|N[a+4>>2]!=N[b+4>>2]|(N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2])){break a}if(N[a+16>>2]!=N[b+16>>2]|N[a+20>>2]!=N[b+20>>2]|(N[a+24>>2]!=N[b+24>>2]|N[a+28>>2]!=N[b+28>>2])){break a}c=N[a+32>>2]==N[b+32>>2]}return c|0}function Zs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=N[a+16>>2];c=P[a+8>>1];a=c+1|0;b=Qa[N[b+4>>2]](b,a)|0;if(!b){return 0}C(b,0,a);a=0;a:{if(!c){break a}while(1){e=L[d|0];if(!e){break a}L[a+b|0]=(e|0)<32?63:e;d=d+1|0;a=a+1|0;if((c|0)!=(a|0)){continue}break}a=c}L[a+b|0]=0;return b|0}function uz(a,b){a=a|0;b=b|0;var c=0;if(a){c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;N[a+32>>2]=N[b+32>>2];c=N[b+28>>2];N[a+24>>2]=N[b+24>>2];N[a+28>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;return 1}tb(N[b>>2]);return 1}function Fh(a){var b=0,c=0,d=0;b=N[a>>2];if(b){c=N[b+28>>2];d=N[a+32>>2];if(d){if(N[b+20>>2]){Qa[N[c+8>>2]](c,d)}N[a+32>>2]=0}b=N[a+28>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0;N[a+4>>2]=0;N[a+32>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0}}function xj(a,b){var c=0,d=0,e=0;c=N[a>>2];a:{if((c|0)<0){break a}d=1;if(b>>>0<=c>>>0){break a}while(1){c=((c>>>1|0)+c|0)+8|0;if(c>>>0<=b>>>0){continue}break}b=-1;d=0;b:{if(c>>>0>1073741823){break b}e=$a(N[a+8>>2],c<<2);if(!e){break b}N[a+8>>2]=e;d=1;b=c}N[a>>2]=b}return d}function nA(a){a=a|0;var b=0,c=0;b=N[a+20>>2];a:{b:{if(O[a+65|0]){a=N[a+12>>2];if((M[a+20>>1]+M[a+56>>1]|0)+1>>>0>Q[a+8>>2]){a=Sb(a,0,1);if(a){break a}}c=P[b>>1];a=c<<16>>16;if((a|0)<=0){break b}M[(N[b+12>>2]+(c<<1)|0)-2>>1]=P[b+2>>1]-1}a=P[b>>1]}M[b>>1]=a+1;a=0}return a|0}function rc(a,b,c,d){var e=0,f=0,g=0;a:{e=N[b>>2];if((e|0)>7){break a}b:{if(c>>>0>=d>>>0){break b}while(1){f=d-1|0;g=O[f|0];if((g|0)!=32&(g|0)!=9){break b}d=f;if(d>>>0>c>>>0){continue}break}d=c}if(c>>>0>=d>>>0){break a}a=(e<<3)+a|0;N[a+4>>2]=d;N[a>>2]=c;N[b>>2]=N[b>>2]+1}}function hd(a,b,c){var d=0,e=0,f=0,g=0;e=nb(b)+nb(c)|0;d=e+1|0;a:{b:{if(e>>>0<=2147483646){a=Qa[N[a+4>>2]](a,d)|0;if(a){break b}return 0}a=0;if(d){break a}}d=gi(b,47);c:{if(d){e=b;b=(d-b|0)+1|0;f=gg(a,e,b)+b|0,g=0,L[f|0]=g;b=d+1|0;break c}L[a|0]=0}a=wn(wn(a,c),b)}return a}function Qx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;b=N[a+24>>2];f=N[b+20>>2];a:{b:{if(f){e=85;if(!(Qa[f|0](b,c,0,0)|0)){break b}break a}e=85;if(Q[b+4>>2]>>0){break a}}N[b+8>>2]=c;e=Bb(b,d);if(e){break a}N[a+196>>2]=N[b+32>>2];N[a+200>>2]=N[b+36>>2];e=0}return e|0}function ho(a){var b=0,c=0,d=0;b=N[a+40>>2];c=Qa[b|0](a,0,0,O[a|0]&128?N[a+20>>2]==N[a+28>>2]?1:2:1)|0;b=Pa;a:{if((b|0)<0){break a}d=N[a+8>>2];if(d){a=a+4|0}else{d=N[a+28>>2];if(!d){break a}a=a+20|0}a=N[a>>2]-d|0;c=a+c|0;b=(a>>31)+b|0;b=a>>>0>c>>>0?b+1|0:b}Pa=b;return c}function ue(a,b,c){var d=0,e=0,f=0;a:{if(!b){d=a;break a}while(1){d=WE(a,b,10,0);e=Pa;a=UE(d,e,246,0)+a|0;c=c-1|0;L[c|0]=a|48;f=b>>>0>9;a=d;b=e;if(f){continue}break}}if(d){while(1){c=c-1|0;a=(d>>>0)/10|0;L[c|0]=T(a,246)+d|48;b=d>>>0>9;d=a;if(b){continue}break}}return c}function Lh(a,b,c,d){var e=0,f=0,g=0;f=N[147443]+1|0;N[147443]=f;N[a>>2]=f;if(d){while(1){g=(e<<3)+c|0;if(!N[g>>2]){N[g>>2]=f;a=(e<<3)+c|0;N[a+4>>2]=b;N[a+8>>2]=0;Ma=d;return c}e=e+1|0;if((e|0)!=(d|0)){continue}break}}e=a;a=d<<1;b=Lh(e,b,$a(c,d<<4|8),a);Ma=a;return b}function df(a,b,c){var d=0,e=0,f=0;d=a*a;f=d*(d*d)*(d*1.58969099521155e-10+-2.5050760253406863e-8)+(d*(d*27557313707070068e-22+-.0001984126982985795)+.00833333333332249);e=d*a;if(!c){return e*(d*f+-.16666666666666632)+a}return a-(d*(b*.5-f*e)-b+e*.16666666666666632)}function Su(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;d=N[a+420>>2];if((d|0)>0){f=N[a+424>>2];g=O[b|0];while(1){a:{e=N[(c<<2)+f>>2];if(O[e|0]!=(g|0)){break a}if(cb(b,e)){break a}return Kb(N[N[a+428>>2]+(c<<2)>>2],0)|0}c=c+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function tB(a,b){a=a|0;b=b|0;var c=0,d=0;c=6;a:{if(!a){break a}d=N[b>>2];if(!d){break a}c=Qa[N[d+4>>2]](d,16)|0;if(!c){return!c<<6}N[c>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;N[c+12>>2]=0;d=N[a+4>>2];N[c>>2]=N[a>>2];N[c+4>>2]=d;N[c+12>>2]=N[b+4>>2];N[b+4>>2]=c;c=0}return c|0}function nv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(!N[c+80>>2]){e=b-a|0;b=e+1|0;b:{if(e>>>0<=2147483646){d=N[c>>2];b=Qa[N[d+4>>2]](d,b)|0;if(b){break b}d=64;break a}d=6;if(b){break a}b=0}N[c+80>>2]=b;F(b,a,e);L[N[c+80>>2]+e|0]=0}return 0}N[c+80>>2]=0;return d|0}function tw(a){a=a|0;var b=0,c=0,d=0;c=N[a+16>>2];b=161;a:{if(Q[a+20>>2]>>0){break a}d=N[a+32>>2];c=Lc(a,N[c>>2]);b=3;if(c-17>>>0<4294967281){break a}M[d+176>>1]=c;b=d;d=(N[a+20>>2]-N[a+16>>2]>>>2|0)-4|0;M[b+178>>1]=d;M[a+38>>1]=d;M[a+36>>1]=c;b=0}return b|0}function rs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+44>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function Is(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+28>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function $r(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+48>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function zB(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+16>>2];N[a+32>>2]=b;d=N[a+20>>2];N[a+36>>2]=d;c=N[a+8>>2];e=c+N[a>>2]|0;N[a+8>>2]=e>>1;b=b+c|0;N[a+24>>2]=b>>1;N[a+16>>2]=b+e>>2;b=N[a+12>>2];c=b+N[a+4>>2]|0;N[a+12>>2]=c>>1;b=b+d|0;N[a+28>>2]=b>>1;N[a+20>>2]=b+c>>2}function mu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b+4>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function Ze(a){var b=0,c=0,d=0;a:{if(!a){break a}b=L[a|0];d=b&255;if(!d|!(O[(d>>>3|0)+45040|0]>>>(b&7)&1)){break a}while(1){if(c>>>0>429496727){return-1}c=O[b+45072|0]+T(c,10)|0;b=L[a+1|0];a=a+1|0;if(O[((b&248)>>>3|0)+45040|0]>>>(b&7)&1){continue}break}}return c}function si(a){var b=0,c=0,d=0,e=0;while(1){b=a;a=a+1|0;c=L[b|0];if((c|0)==32|c-9>>>0<5){continue}break}a:{switch(c-43|0){case 2:e=1;case 0:b=a;break;default:break a}}while(1){a=L[b|0];if(a-48>>>0<10){b=b+1|0;d=(T(d,10)-a|0)+48|0;continue}break}return e?d:0-d|0}function kE(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;a=O[b+140|0];if(!(a&64)){L[b+140|0]=a|64;a=N[b+68>>2];if(a){c=N[b+80>>2];b=0;while(1){d=T(b,20)+c|0;e=d,f=qj(N[d>>2]),L[e+18|0]=f;b=b+1|0;if((a|0)!=(b|0)){continue}break}}return}ba(22778,14165,169,12138);B()}function Lu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;e=N[b>>2];c=nb(e);if(c>>>0<2147483632){a:{b:{if(c>>>0>=11){d=(c|15)+1|0;b=eb(d);N[a+8>>2]=d|-2147483648;N[a>>2]=b;N[a+4>>2]=c;d=b+c|0;a=b;break b}L[a+11|0]=c;d=a+c|0;if(!c){break a}}F(a,e,c)}L[d|0]=0;return}fa();B()}function $x(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[((c<<2)+a|0)+268>>2];e=N[a+508>>2];c=N[a+512>>2];a=N[a+516>>2];if((b|0)>=0){a=((a+d|0)-c|0)+b|0;a=c+(a-((a|0)%(e|0)|0)|0)|0;return((a|0)<0?c:a)|0}a=a+d-(b+c)|0;a=(a|0)%(e|0)-(a+c)|0;return((a|0)>0?0-c|0:a)|0}function oe(a,b){var c=0,d=0,e=0,f=0;c=La-16|0;La=c;a:{if(!b){b=0;break a}d=b;b=W(b);hc(c,d,0,0,0,b+81|0);d=0+N[c+8>>2]|0;b=(N[c+12>>2]^65536)+(16414-b<<16)|0;f=e>>>0>d>>>0?b+1|0:b;e=N[c+4>>2];b=N[c>>2]}N[a>>2]=b;N[a+4>>2]=e;N[a+8>>2]=d;N[a+12>>2]=f;La=c+16|0}function NC(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;a=0;g=N[b+12>>2];a:{if(vc(g,c,N[b>>2])){break a}b=N[g+84>>2];if(N[b+72>>2]!=1869968492|M[b+110>>1]>>>0<=d>>>0){break a}a=N[b+112>>2]+(d<<3)|0;N[e>>2]=N[a>>2];N[f>>2]=N[a+4>>2];a=1}return a|0}function Kw(a,b){a=a|0;b=b|0;var c=0;a=N[a+712>>2];b=P[N[a+1188>>2]+(b<<1)>>1];a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[a+1356>>2]){break a}return N[N[a+1360>>2]+(b<<2)>>2]}a=N[a+3084>>2];if(!a){break a}c=Qa[N[a+20>>2]](b)|0}return c|0}function yv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;b=N[a>>2];c=N[b+408>>2];N[a+16>>2]=c;d=N[b+416>>2];N[a+20>>2]=d;a:{if(c>>>0<2){break a}b=N[d>>2];a=1;while(1){e=b;b=N[(a<<4)+d>>2];if(e>>>0>>0){a=a+1|0;if((c|0)!=(a|0)){continue}break a}break}f=8}return f|0}function jv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=N[a+88>>2];if(b){N[b>>2]=N[a+300>>2]}if(c){N[c>>2]=N[a+304>>2]}a:{if(!f){c=65536;a=65536;break a}a=N[a+304>>2];c=fb(P[f+12>>1]<<6,a);a=fb(P[f+14>>1]<<6,a)}if(d){N[d>>2]=c}if(e){N[e>>2]=a}return 0}function hv(a){a=a|0;var b=0,c=0,d=0,e=0;d=11;b=N[a+4>>2];a:{if(!b){break a}c=N[b+16>>2];if((c|0)<=0){break a}b=b+20|0;c=b+(c<<2)|0;while(1){e=N[N[b>>2]>>2];if(cb(N[e+8>>2],15504)){b=b+4|0;if(c>>>0>b>>>0){continue}break a}break}N[a+28>>2]=e;d=0}return d|0}function Vt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=La-16|0;La=e;a=Qf(a,b,e+12|0);if(!a){a:{if(d>>>0<2){break a}b=N[e+12>>2];while(1){f=O[b|0];if(!f){break a}L[c|0]=f;c=c+1|0;b=b+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0}La=e+16|0;return a|0}function Dh(a){var b=0,c=0,d=0;c=La-16|0;La=c;L[c+15|0]=10;b=N[a+16>>2];a:{if(!b){if(Hh(a)){break a}b=N[a+16>>2]}d=b;b=N[a+20>>2];if(!((d|0)==(b|0)|N[a+80>>2]==10)){N[a+20>>2]=b+1;L[b|0]=10;break a}if((Qa[N[a+36>>2]](a,c+15|0,1)|0)!=1){break a}}La=c+16|0}function mi(a){var b=0,c=0;b=N[a+72>>2];N[a+72>>2]=b-1|b;if(N[a+20>>2]!=N[a+28>>2]){Qa[N[a+36>>2]](a,0,0)|0}N[a+28>>2]=0;N[a+16>>2]=0;N[a+20>>2]=0;b=N[a>>2];if(b&4){N[a>>2]=b|32;return-1}c=N[a+44>>2]+N[a+48>>2]|0;N[a+8>>2]=c;N[a+4>>2]=c;return b<<27>>31}function Yt(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=179264;b:{if(!cb(16067,b)){break b}c=179272;if(!cb(15866,b)){break b}c=179280;if(!cb(9592,b)){break b}c=179288;if(!cb(15278,b)){break b}if(cb(10557,b)){break a}c=179296}a=N[c+4>>2]}return a|0}function Ft(a,b,c){a=a|0;b=b|0;c=c|0;a:{b:{if(c){c=Qa[N[a+516>>2]](a,1986553185,b,0)|0;if(c){break a}a=a+296|0;break b}c=Qa[N[a+516>>2]](a,1751672161,b,0)|0;if(c){break a}a=a+216|0}c=rb(b,178592,a);if(c){break a}N[a+36>>2]=0;N[a+40>>2]=0;c=0}return c|0}function Gz(a,b){a=a|0;b=b|0;var c=0,d=0;if(!a){return 1}c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;N[a+16>>2]=N[b+16>>2];c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c;d=N[b>>2];c=N[b+4>>2];b=kb(c+1|0);if(b){F(b,d,c);L[b+c|0]=0}N[a>>2]=b;return(b|0)!=0|0}function cd(a,b,c){var d=0,e=0,f=0,g=0;N[a+112>>2]=b;N[a+116>>2]=c;e=N[a+4>>2];d=N[a+44>>2]-e|0;N[a+120>>2]=d;N[a+124>>2]=d>>31;d=N[a+8>>2];a:{if(!(b|c)){break a}f=d-e|0;g=f>>31;if((c|0)>=(g|0)&b>>>0>=f>>>0|(c|0)>(g|0)){break a}d=b+e|0}N[a+104>>2]=d}function vA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=N[b>>2]+1|0;d=N[a+16>>2];c=c>>>0>d>>>0?c:d;d=d+N[a+20>>2]|0;a:{if(c>>>0>>0){e=N[a+24>>2];while(1){a=P[(c<<1)+e>>1];if(a){break a}c=c+1|0;if((d|0)!=(c|0)){continue}break}}a=0;c=0}N[b>>2]=c;return a|0}function Dl(){var a=0,b=0,c=0,d=0,e=0;b=th(19476);a=2;a:{if(!b){break a}a=2;if(!O[b|0]){break a}while(1){c=lc(b,58);if(!c){c=nb(b)+b|0}e=a|4;d=a;a=c-b|0;a=bb(b,16042,a)?d:(a|0)==24?e:d;b=(O[c|0]!=0)+c|0;if(O[b|0]){continue}break}a=a&255}N[147450]=a}function ob(a,b){var c=0,d=0,e=0;c=a>>31;d=(c^a)-c|0;c=b>>31;c=(c^b)-c|0;a:{if(d+(c>>>8|0)>>>0<=8190){c=T(c,d)+32768>>>16|0;break a}e=d&65535;c=T(e,c>>>16|0)+T(c,d>>>16|0)+(T(c&65535,e)+32768>>>16)|0}a=a>>31|1;return(((b|0)<0?0-a|0:a)|0)<0?0-c|0:c}function Qv(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=34576;b:{if(!cb(9676,b)){break b}c=34584;if(!cb(15866,b)){break b}c=34592;if(!cb(12514,b)){break b}c=34600;if(!cb(20421,b)){break b}if(cb(11276,b)){break a}c=34608}a=N[c+4>>2]}return a|0}function Vd(a,b){var c=0,d=0,e=0;A(+a);d=v(1)|0;e=v(0)|0;c=d>>>20&2047;if((c|0)!=2047){if(!c){if(a==0){c=0}else{a=Vd(a*0x10000000000000000,b);c=N[b>>2]+-64|0}N[b>>2]=c;return a}N[b>>2]=c-1022;x(0,e|0);x(1,d&-2146435073|1071644672);a=+z()}return a}function ly(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;e=M[a+302>>1];if(e){f=N[b+12>>2]+(c<<3)|0;g=f,h=jb(d,e,N[a+596>>2])+N[f>>2]|0,N[g>>2]=h}e=M[a+304>>1];if(e){b=N[b+12>>2]+(c<<3)|0;g=b,h=jb(d,e,N[a+596>>2])+N[b+4>>2]|0,N[g+4>>2]=h}}function nc(a){var b=0,c=0;c=N[a+12>>2];a:{if((c|0)==N[a+8>>2]){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=161;return 0}if(N[c-4>>2]!=2){a=N[a+4>>2];b=0;if(!a|N[a>>2]){break a}N[a>>2]=160;return 0}b=a;a=c-8|0;N[b+12>>2]=a;b=N[a>>2]}return b}function Qm(a,b){var c=0,d=0,e=0,f=0;c=b>>>20&2047;e=0;a:{if(c>>>0<1023){break a}e=2;if(c>>>0>1075){break a}c=1075-c|0;d=c&31;if((c&63)>>>0>=32){c=1<>>32-d;d=f}f=d-1|0;e=0;if(a&f|b&c-!d){break a}e=a&d|b&c?1:2}return e}function yw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=La-16|0;La=e;f=N[N[a+128>>2]+52>>2];a:{if(f){a=Qa[N[N[f>>2]>>2]](N[f+4>>2],b,e+8|0)|0;N[c>>2]=N[e+8>>2];N[d>>2]=N[e+12>>2];break a}a=Yf(N[a+712>>2]+1204|0,b,c,d)}La=e+16|0;return a|0}function rv(a){a=a|0;var b=0,c=0;c=N[N[a+188>>2]>>2];b=N[a+168>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+172>>2]=0;N[a+164>>2]=0;N[a+168>>2]=0;b=N[a+184>>2];if(b){Qa[N[c+8>>2]](c,b)}L[a+192|0]=0;N[a+184>>2]=0;N[a+188>>2]=0;N[a+176>>2]=0;N[a+180>>2]=0}function cf(a,b){var c=0,d=0,e=0,f=0;c=a*a;d=c*.5;e=1-d;f=1-e-d;d=c*c;return e+(f+(c*(c*(c*(c*2480158728947673e-20+-.001388888888887411)+.0416666666666666)+d*d*(c*(c*-11359647557788195e-27+2.087572321298175e-9)+-2.7557314351390663e-7))-a*b))}function bD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;L[d|0]=0;L[d+1|0]=0;L[d+2|0]=0;L[d+3|0]=0;L[d+4|0]=0;L[d+5|0]=0;L[d+6|0]=0;L[d+7|0]=0;L[d+8|0]=0;L[d+9|0]=0;L[d+10|0]=0;L[d+11|0]=0;L[d+12|0]=0;L[d+13|0]=0;L[d+14|0]=0;L[d+15|0]=0;return 0}function ev(a,b){a=a|0;b=b|0;var c=0;c=La-32|0;La=c;Qa[N[a>>2]](c+8|0,b);a=eb(24);b=N[c+28>>2];N[a+16>>2]=N[c+24>>2];N[a+20>>2]=b;b=N[c+20>>2];N[a+8>>2]=N[c+16>>2];N[a+12>>2]=b;b=N[c+12>>2];N[a>>2]=N[c+8>>2];N[a+4>>2]=b;La=c+32|0;return a|0}function Mm(a,b){a=a|0;b=b|0;var c=0;c=N[a+136>>2];N[b>>2]=N[a+132>>2];N[b+4>>2]=c;c=N[a+160>>2];N[b+24>>2]=N[a+156>>2];N[b+28>>2]=c;c=N[a+152>>2];N[b+16>>2]=N[a+148>>2];N[b+20>>2]=c;c=N[a+144>>2];N[b+8>>2]=N[a+140>>2];N[b+12>>2]=c;return 0}function Bv(a,b){a=a|0;b=b|0;var c=0;c=N[a+192>>2];N[b+24>>2]=N[a+188>>2];N[b+28>>2]=c;c=N[a+184>>2];N[b+16>>2]=N[a+180>>2];N[b+20>>2]=c;c=N[a+176>>2];N[b+8>>2]=N[a+172>>2];N[b+12>>2]=c;c=N[a+168>>2];N[b>>2]=N[a+164>>2];N[b+4>>2]=c;return 0}function cs(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[b>>2];a:{if(c>>>0>65534){break a}if(L[a+20|0]&1){return Il(N[a>>2],N[a+16>>2],b,1)|0}if((c|0)==N[a+24>>2]){Gl(a);c=N[a+28>>2];if(!c){break a}N[b>>2]=N[a+24>>2];return c|0}d=Hl(a,b,1)}return d|0}function _x(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=N[((c<<2)+a|0)+268>>2];c=N[a+512>>2];e=N[a+516>>2];if((b|0)>=0){a=c+(((b+d|0)+e|0)-c&0-N[a+508>>2])|0;return((a|0)<0?c:a)|0}a=0-(c+(d+e-(b+c)&0-N[a+508>>2])|0)|0;return((a|0)>0?0-c|0:a)|0}function lz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=N[a+28>>2];d=N[a+20>>2];b=N[b+28>>2];e=N[b+20>>2];c=-1;a:{if((d|0)<(e|0)){break a}c=1;if((d|0)>(e|0)){break a}a=N[a+16>>2];b=N[b+16>>2];c=-1;if((a|0)<(b|0)){break a}c=(a|0)>(b|0)}return c|0}function _B(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{if(N[a+4>>2]){break a}e=c;g=a+52|0;f=N[g>>2];c=N[a+16>>2];if((e|0)!=(f+c|0)){break a}e=N[a>>2];c=Cg(a+16|0,d,f,c,b,e);if(!c){c=Cg(g,d,0,f,b,e);if(!c){break a}}N[a+4>>2]=c}}function SA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+20>>2];if(O[a+68|0]){a=N[e+8>>2];f=M[e+2>>1];g=N[e+4>>2]+(f<<3)|0;N[g+4>>2]=((c>>31)+c|0)+32768>>16;N[g>>2]=((b>>31)+b|0)+32768>>16;L[a+f|0]=d?1:2}M[e+2>>1]=P[e+2>>1]+1}function Nt(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0;f=6;a:{if(!d|!e){break a}g=P[a+152>>1];if(c){f=142;if(b>>>0>=g>>>0){break a}a=N[a+156>>2]+(b<<4)|0;N[c>>2]=N[a>>2];N[d>>2]=N[a+8>>2];g=N[a+12>>2]}N[e>>2]=g;f=0}return f|0}function Oz(a){a=a|0;var b=0,c=0,d=0,e=0;c=La-32|0;La=c;a=N[a+4>>2];a:{if(!a){break a}b=N[a+96>>2];d=N[N[b>>2]+32>>2];if(!d){break a}b=Qa[d|0](b,12514)|0;if(!b){break a}b=N[b>>2];if(!b){break a}e=!(Qa[b|0](a,c)|0)}La=c+32|0;return e|0}function xv(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=N[a+16>>2];if(c){f=N[a+20>>2];a=0;while(1){e=(c-a>>>1|0)+a|0;d=N[(e<<4)+f>>2];if((d|0)==(b|0)){return e+1|0}d=b>>>0>d>>>0;c=d?c:e;a=d?e+1|0:a;if(c>>>0>a>>>0){continue}break}}return 0}function dB(a){a=a|0;var b=0,c=0;if(N[a+12>>2]==-559038737){c=N[a+32>>2];b=N[a>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a>>2]=0;b=N[a+24>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+24>>2]=0;b=N[a+28>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+12>>2]=0;N[a+28>>2]=0}}function im(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=La-16|0;La=c;e=c+4|0;Qa[N[a>>2]](e,b);b=O[c+15|0];f=b<<24>>24;a=(f|0)<0;b=a?N[c+8>>2]:b;d=kb(b+4|0);N[d>>2]=b;g=N[c+4>>2];F(d+4|0,a?g:e,b);if((f|0)<0){_a(g)}La=c+16|0;return d|0}function bb(a,b,c){var d=0,e=0,f=0;if(!c){return 0}d=O[a|0];a:{if(!d){break a}while(1){b:{e=O[b|0];if((e|0)!=(d|0)|!e){break b}c=c-1|0;if(!c){break b}b=b+1|0;d=O[a+1|0];a=a+1|0;if(d){continue}break a}break}f=d}return(f&255)-O[b|0]|0}function Wt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=xh(a,18649,d);a:{if(e){break a}e=xh(a,19963,d+8|0);if(e){break a}e=6;if(N[d>>2]!=1|N[d+8>>2]!=1){break a}N[b>>2]=N[d+12>>2];N[c>>2]=N[d+4>>2];e=0}La=d+16|0;return e|0}function sg(a,b,c){var d=0;c=(1-c)*+O[a|0]+ +(b>>>0)*c;A(+c);b=v(1)|0;d=v(0)|0;b=b&2147483647;d=(b|0)==2146435072&(d|0)!=0|b>>>0>2146435072;if(V(c)<2147483648){b=~~c}else{b=-2147483648}L[a|0]=c>=2147483648?0:c<=-2147483648?0:d?0:b}function pv(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;qm(a,b,c,d);b=N[a+300>>2];a=N[a+304>>2];a:{if((b|0)==(a|0)){break a}c=N[d>>2];if(c){e=d,f=jb(c,b,a),N[e>>2]=f}c=N[d+4>>2];if(!c){break a}e=d,f=jb(c,b,a),N[e+4>>2]=f}return 0}function iy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{b:{switch(N[N[N[a>>2]+96>>2]+64>>2]-35|0){case 5:if(O[a+643|0]){break a}break;case 0:break b;default:break a}}a=N[b+16>>2]+(c<<3)|0;N[a>>2]=N[a>>2]+d}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|8}function uw(a){a=a|0;var b=0,c=0,d=0,e=0;b=161;c=N[a+16>>2];a:{if(Q[a+20>>2]>>0){break a}d=N[a+32>>2];b=3;e=Lc(a,N[c>>2]);if((e|0)<0){break a}N[d+120>>2]=e;a=Lc(a,N[c+4>>2]);if((a|0)<0){break a}N[d+116>>2]=a;b=0}return b|0}function kB(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a:{b:{if(!cb(b,16934)){a=N[a+64>>2];break b}if(!cb(b,12859)){a=O[a+68|0];break b}if(!cb(b,7976)){a=O[a+69|0];break b}d=12;if(cb(b,10583)){break a}a=O[a+70|0]}N[c>>2]=a;d=0}return d|0}function dA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a=N[a>>2];d=a&2147483647;b=N[b>>2];e=b&2147483647;a:{if((d|0)==(e|0)){c=1;if(a>>>0>b>>>0){break a}return(a>>>0>>0?-1:0)|0}c=1;if(d>>>0>e>>>0){break a}c=d>>>0>>0?-1:0}return c|0}function $B(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0;a:{if(N[a+4>>2]){break a}d=N[a+16>>2];e=a+52|0;f=N[e>>2];if((d+f|0)!=(b|0)){break a}g=N[a>>2];b=Cg(a+16|0,c,0,d,0,g);if(!b){b=Cg(e,c,d,f,0,g);if(!b){break a}}N[a+4>>2]=b}}function Zb(a,b,c){var d=0,e=0,f=0;d=N[a+8>>2];f=N[a+4>>2];if(d>>>0>>0){e=N[a+20>>2];a:{if(e){b=Qa[e|0](a,d,b,c)|0;break a}e=b;b=f-d|0;b=b>>>0>>0?b:c;F(e,N[a>>2]+d|0,b)}N[a+8>>2]=b+d;a=b>>>0>>0?85:0}else{a=85}return a}function qD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];if(e){L[d|0]=0}g=N[a+96>>2];b=N[g+80>>2];f=N[a+100>>2];g=N[g+12>>2];if(!g){return Qa[b|0](a,f,c,d,e,0)|0}return Qa[b|0](a,f,c,d,e,N[g+60>>2])|0}function pD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];N[e>>2]=0;if((d|0)==-1){d=nb(c)}b=N[a+96>>2];f=N[b+84>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+64>>2]}else{b=0}return Qa[f|0](a,g,c,d,e,b)|0}function sw(a){a=a|0;var b=0,c=0,d=0,e=0;b=N[a+16>>2];if(Q[a+20>>2]>=b+12>>>0){c=N[a+32>>2];d=c,e=Lc(a,N[b>>2]),N[d+132>>2]=e;d=c,e=Lc(a,N[b+4>>2]),N[d+136>>2]=e;d=c,e=Lc(a,N[b+8>>2]),N[d+140>>2]=e;a=0}else{a=161}return a|0}function VE(a,b,c,d){var e=0,f=0,g=0,h=0;f=b^d;g=f>>31;e=b>>31;a=a^e;h=a-e|0;e=(b^e)-((a>>>0>>0)+e|0)|0;a=d>>31;b=c^a;f=f>>31;a=WE(h,e,b-a|0,(a^d)-((a>>>0>b>>>0)+a|0)|0)^f;b=a-f|0;Pa=(g^Pa)-((a>>>0>>0)+g|0)|0;return b}function dr(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a:{a=N[a+384>>2];if(!(N[a- -64>>2]!=(d|0)|N[a+68>>2]!=(e|0)|N[a+56>>2]!=(b|0))){if(N[a+60>>2]==(c|0)){break a}}N[a+64>>2]=d;N[a+68>>2]=e;N[a+60>>2]=c;N[a+56>>2]=b;Ee(a)}}function eC(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{if(N[a+4>>2]){break a}d=(T((b|0)!=0,36)+a|0)+16|0;b=N[c>>2];e=((b>>31)+b|0)+32768>>16;b=N[c+4>>2];b=pf(d,e,((b>>31)+b|0)+32768>>16,N[a>>2],0);if(!b){break a}N[a+4>>2]=b}}function Qz(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;a=0;a:{if(vc(b,c,2560)){break a}b=N[b+84>>2];if(M[b+110>>1]>>>0<=d>>>0){break a}a=N[b+112>>2]+(d<<3)|0;N[e>>2]=N[a>>2];N[f>>2]=N[a+4>>2];a=1}return a|0}function Rz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[e+28>>2]=c;c=0;a=sc(N[e>>2],e+8|0,0);if(a){b=N[a>>2];if((b|0)>=0){N[d>>2]=N[a+8>>2];c=N[a+12>>2];N[d+8>>2]=b;N[d+4>>2]=c;N[d+12>>2]=0-N[a+4>>2];c=1}tb(a)}return c|0}function Pz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[N[a>>2]+12>>2];f=N[a+8>>2];a=N[(e+T(f,12)|0)+8>>2];if(!b){return a|0}if(a>>>0>c>>>0){a=a-c|0;g=a>>>0>>0?a:d;F(b,N[(T(f,12)+e|0)+4>>2]+c|0,g)}return g|0}function nD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=U(d);e=U(e);f=f|0;var g=0;a=N[b>>2];f=N[a+12>>2];g=N[b+4>>2];d=U(U(R[b+8>>2]*d)+U(R[b+16>>2]*e));e=U(R[b+12>>2]*e);b=N[a+32>>2];if(b){b=N[b>>2]}else{b=0}Qa[f|0](a,g,c,d,e,b)}function UE(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0;e=c>>>16|0;f=a>>>16|0;j=T(e,f);g=c&65535;h=a&65535;i=T(g,h);f=(i>>>16|0)+T(f,g)|0;e=(f&65535)+T(e,h)|0;Pa=(T(b,c)+j|0)+T(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function Fp(a,b){a=a|0;b=b|0;var c=0;c=N[b+4>>2];N[a+4>>2]=N[b>>2];N[a+8>>2]=c;N[a+28>>2]=N[b+24>>2];c=N[b+20>>2];N[a+20>>2]=N[b+16>>2];N[a+24>>2]=c;c=N[b+12>>2];N[a+12>>2]=N[b+8>>2];N[a+16>>2]=c;Ep(a,b,0);Ep(a,b,1)}function gv(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=36800;b:{if(!cb(9592,b)){break b}c=36808;if(!cb(15866,b)){break b}c=36816;if(!cb(12514,b)){break b}if(cb(9676,b)){break a}c=36824}a=N[c+4>>2]}return a|0}function Tt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=La-16|0;La=d;e=N[a+16>>2];a:{if((e|0)>0){while(1){if(!Qf(a,c,d+12|0)){if(!cb(b,N[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}La=d+16|0;return c|0}function gy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(!(!O[a+644|0]|(!O[a+643|0]|N[N[N[a>>2]+96>>2]+64>>2]!=40))){if(O[a+645|0]){break a}}a=N[b+16>>2]+(c<<3)|0;N[a+4>>2]=N[a+4>>2]+d}a=N[b+24>>2]+c|0;L[a|0]=O[a|0]|16}function Xh(a,b,c,d){var e=0,f=0;f=N[a+4>>2];if(f>>>0>b>>>0){e=N[a+20>>2];a:{if(e){c=Qa[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>>0?c:d;F(e,N[a>>2]+b|0,c)}N[a+8>>2]=b+c;a=c>>>0>>0?85:0}else{a=85}return a}function Ex(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(cb(b,12798)){break a}e=7;b:{c:{if(d){b=Kb(c,0);break c}b=N[c>>2]}switch(b-35|0){case 0:case 5:break b;default:break a}}N[a+64>>2]=b;e=0}return e|0}function pt(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=La-16|0;La=d;e=Qa[N[a+516>>2]](a,c?1986884728:1752003704,b,d+12|0)|0;if(!e){N[(c?756:752)+a>>2]=N[d+12>>2];N[(c?856:852)+a>>2]=N[b+8>>2]}La=d+16|0;return e|0}function On(a,b,c){var d=0;d=N[a+16>>2];if(!d){N[a+36>>2]=1;N[a+24>>2]=c;N[a+16>>2]=b;return}a:{if((b|0)==(d|0)){if(N[a+24>>2]!=2){break a}N[a+24>>2]=c;return}L[a+54|0]=1;N[a+24>>2]=2;N[a+36>>2]=N[a+36>>2]+1}}function ht(a){a=a|0;var b=0,c=0,d=0;b=N[a+868>>2];if(b){c=N[a+100>>2];a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}d=N[b+12>>2];if(!d){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,d)}N[b+12>>2]=0;Qa[N[c+8>>2]](c,b)}}function gt(a){a=a|0;var b=0,c=0,d=0;b=N[a+872>>2];if(b){c=N[a+100>>2];a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}d=N[b+36>>2];if(!d){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,d)}N[b+36>>2]=0;Qa[N[c+8>>2]](c,b)}}function Jm(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a:{if(d>>>0<2){break a}b=N[N[a+424>>2]+(b<<2)>>2];while(1){a=O[b|0];if(!a){break a}L[c|0]=a;c=c+1|0;b=b+1|0;d=d-1|0;if(d>>>0>1){continue}break}}L[c|0]=0;return 0}function Ab(a,b,c,d){var e=0,f=0;a:{if(b-a>>>0>>0){break a}while(1){a=ub(a,c);e=(a|0)!=0&a>>>0>>0;if(!e){break a}a=a+d|0;f=O[a|0];if((f-48&255)>>>0<10|((f&-33)-65&255)>>>0<26){continue}break}}return e}function ty(a){a=a|0;var b=0,c=0;b=P[a+256>>1];c=dg(a);a=c>>31;a=(a^c)-a|0;a:{if((a>>>8|0)+b>>>0<=8190){a=T(a,b)+32768>>>16|0;break a}a=T(a>>>16|0,b)+(T(a&65535,b)+32768>>>16|0)|0}return((c|0)<0?0-a|0:a)|0}function rj(a){var b=0;a:{b=a;a=nb(a);if((((vd(b,1,a,589104)|0)!=(a|0)?-1:0)|0)<0){break a}b:{if(N[147296]==10){break b}a=N[147281];if((a|0)==N[147280]){break b}N[147281]=a+1;L[a|0]=10;break a}Dh(589104)}}function cv(a){a=a|0;var b=0,c=0,d=0;b=La-16|0;La=b;d=Bn(N[N[a>>2]+504>>2],b+12|0);c=N[b+12>>2];if(!d){N[a+44>>2]=c}a:{if(!c){break a}a=N[c>>2];if(!a|!N[a+96>>2]){break a}N[a+88>>2]=c}La=b+16|0;return d|0}function Nc(a,b,c){var d=0,e=0,f=0;if(!b){N[c>>2]=0;return 0}e=c;c=nb(b);d=c+1|0;f=!d;a:{if(c>>>0<=2147483646){c=Qa[N[a+4>>2]](a,d)|0;a=!c<<6;break a}c=0;a=d?6:0}if(!(f|a)){F(c,b,d);a=0}N[e>>2]=a;return c}function jc(a,b,c,d,e){var f=0;f=La-256|0;La=f;if(!(e&73728|(c|0)<=(d|0))){d=c-d|0;c=d>>>0<256;ve(f,b&255,c?d:256);if(!c){while(1){ac(a,f,256);d=d-256|0;if(d>>>0>255){continue}break}}ac(a,f,d)}La=f+256|0}function _f(a,b){var c=0;a:{if((b|0)==65535){break a}if(b>>>0>=391){b=b-391|0;if(b>>>0>=Q[a+1356>>2]){break a}return N[N[a+1360>>2]+(b<<2)>>2]}a=N[a+3084>>2];if(!a){break a}c=Qa[N[a+20>>2]](b)|0}return c}function CD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;a=N[a+20>>2];N[e>>2]=0;b=N[a+96>>2];f=N[b+36>>2];g=N[a+100>>2];b=N[b+12>>2];if(b){b=N[b+16>>2]}else{b=0}return Qa[f|0](a,g,c,d,e,b)|0}function Tz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[f+28>>2]=c;c=0;a=sc(N[f>>2],f+8|0,0);if(a){if(N[a>>2]>=0){N[d>>2]=N[a+8>>2]-N[a+20>>2];N[e>>2]=N[a+24>>2]+N[a+12>>2];c=1}tb(a)}return c|0}function pA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+20>>2];if(O[a+65|0]){a=N[e+8>>2];f=M[e+2>>1];g=N[e+4>>2]+(f<<3)|0;N[g+4>>2]=c>>10;N[g>>2]=b>>10;L[a+f|0]=d?1:2}M[e+2>>1]=P[e+2>>1]+1}function ds(a,b){a=a|0;b=b|0;var c=0,d=0;c=La-16|0;La=c;N[c+12>>2]=b;d=0;a:{if(b>>>0>65535){break a}if(L[a+20|0]&1){d=Il(N[a>>2],N[a+16>>2],c+12|0,0);break a}d=Hl(a,c+12|0,0)}a=d;La=c+16|0;return a|0}function Un(a){var b=0,c=0,d=0;d=N[a>>2];while(1){c=L[d|0];if(c-48>>>0<10){d=d+1|0;N[a>>2]=d;if(b>>>0<=214748364){c=c-48|0;b=T(b,10);b=(c|0)>(b^2147483647)?-1:c+b|0}else{b=-1}continue}break}return b}function Hz(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+4>>2];a:{if((c|0)!=N[b+4>>2]){break a}if(Mb(N[a>>2],N[b>>2],c)|N[a+8>>2]!=N[b+8>>2]|N[a+12>>2]!=N[b+12>>2]){break a}d=N[a+16>>2]==N[b+16>>2]}return d|0}function jw(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;a=N[a+712>>2];a:{b:{if(!a){break b}d=6;if(N[a+1504>>2]==65535|Q[a+20>>2]<=b>>>0){break a}if(!c){break b}N[c>>2]=P[N[a+1188>>2]+(b<<1)>>1]}d=0}return d|0}function Eo(a,b){var c=0,d=0;c=a-1|0;if(!(c&a)){a:{if(-5-a>>>0<=b>>>0){break a}b=kb((a+b|0)+3|0);if(!b){break a}d=a;a=b+4|0;c=a&c;d=(c?d-c|0:0)+a|0;N[d-4>>2]=b}return d}ba(24218,18049,61,17717);B()}function rg(a){var b=0,c=0;qg(a);Qa[N[a+12>>2]](a)|0;if(!(L[a|0]&1)){b=N[a+52>>2];if(b){N[b+56>>2]=N[a+56>>2]}c=N[a+56>>2];if(c){N[c+52>>2]=b}if(N[147575]==(a|0)){N[147575]=c}_a(N[a+96>>2]);_a(a)}}function ji(a,b){var c=0,d=0;c=O[a-1|0]<<2;a:{if(c>>>0>b>>>0){break a}d=a;a=b-c|0;b=d+(T(a,5)>>>2|0)|0;a=a<<1&6;b=O[b+1|0]<<8-a&1020|O[b|0]>>>a;if(b>>>0<256){break a}b=P[(b<<1)+565472>>1]}return b}function qw(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;b=3;c=N[a+32>>2];a:{if(!c){break a}d=N[c+364>>2];if(!d){break a}b=160;if(O[d+557|0]){break a}e=c,f=Lc(a,N[N[a+16>>2]>>2]),N[e+360>>2]=f;b=0}return b|0}function ux(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;b=$e(a,b,c+8|0,c+7|0);a:{if(b){break a}a=N[N[N[a+4>>2]+128>>2]+52>>2];if(!a){break a}Qa[N[N[a>>2]+4>>2]](N[a+4>>2],c+8|0)}La=c+16|0;return b|0}function yd(a,b,c){var d=0,e=0;a:{if((a|0)<=0){break a}while(1){b:{e=cb(N[T(d,12)+b>>2],c);d=d+1|0;if((d|0)>=(a|0)){break b}if(e){continue}}break}if(e){break a}return(T(d,12)+b|0)-12|0}return 0}function Mw(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[b>>2];N[b>>2]=0;if(c>>>0>254){return 0}while(1){if((c|0)==255){return 0}c=c+1|0;d=P[N[a+16>>2]+(c<<1)>>1];if(!d){continue}break}N[b>>2]=c;return d|0}function hz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=La-16|0;La=e;a=ta(N[a+60>>2],b|0,c|0,d&255,e+8|0)|0;if(a){N[147316]=a;a=-1}else{a=0}La=e+16|0;Pa=a?-1:N[e+12>>2];return(a?-1:N[e+8>>2])|0}function Qn(a,b){var c=0,d=0;c=La-16|0;La=c;if(b&64){N[c+12>>2]=4;d=N[0]}else{d=0}N[c>>2]=d;N[c+4>>2]=0;a=na(-100,a|0,b|32768,c|0)|0;if(a>>>0>=4294963201){N[147316]=0-a;a=-1}La=c+16|0;return a}function nt(a){a=a|0;var b=0,c=0;b=a+788|0;a=N[a+104>>2];a:{if(!a|!N[a+20>>2]){break a}c=N[b>>2];if(!c){break a}a=N[a+28>>2];Qa[N[a+8>>2]](a,c)}N[b>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0}function Xc(a,b){var c=0,d=0;c=85;a:{if((b|0)<0){break a}b=N[a+8>>2]+b|0;d=N[a+20>>2];b:{if(d){if(!(Qa[d|0](a,b,0,0)|0)){break b}break a}if(b>>>0>Q[a+4>>2]){break a}}N[a+8>>2]=b;c=0}return c}function oC(a){a=a|0;N[a+24>>2]=500;N[a+28>>2]=400;L[a+20|0]=1;N[a+12>>2]=86;N[a+16>>2]=30;N[a+48>>2]=2333;N[a+52>>2]=0;N[a+40>>2]=1667;N[a+44>>2]=275;N[a+32>>2]=1e3;N[a+36>>2]=275;return 0}function Rn(a,b,c,d){a:{if(!a){break a}b:{switch(b+2|0){case 0:L[a|0]=c;return;case 1:M[a>>1]=c;return;case 2:case 3:N[a>>2]=c;return;case 5:break b;default:break a}}N[a>>2]=c;N[a+4>>2]=d}}function Hh(a){var b=0;b=N[a+72>>2];N[a+72>>2]=b-1|b;b=N[a>>2];if(b&8){N[a>>2]=b|32;return-1}N[a+4>>2]=0;N[a+8>>2]=0;b=N[a+44>>2];N[a+28>>2]=b;N[a+20>>2]=b;N[a+16>>2]=b+N[a+48>>2];return 0}function Nh(a,b,c,d,e,f,g,h,i){var j=0;j=La-16|0;La=j;pc(j,b,c,d,e,f,g,h,i^-2147483648);d=N[j>>2];c=N[j+4>>2];b=N[j+12>>2];N[a+8>>2]=N[j+8>>2];N[a+12>>2]=b;N[a>>2]=d;N[a+4>>2]=c;La=j+16|0}function Ir(a){a=a|0;if(a){_a(N[a+356>>2]);_a(N[a+316>>2]);_a(N[a+276>>2]);_a(N[a+236>>2]);_a(N[a+196>>2]);_a(N[a+156>>2]);_a(N[a+116>>2]);_a(N[a+76>>2]);_a(N[a+36>>2]);_a(N[a>>2]);_a(a)}}function Pw(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+420>>2];a:{if((c|0)>0){d=N[a+424>>2];a=0;while(1){if(!cb(b,N[(a<<2)+d>>2])){break a}a=a+1|0;if((c|0)!=(a|0)){continue}break}}a=0}return a|0}function Nz(a,b){a=a|0;b=b|0;var c=0,d=0;if(!b){return 1}a=N[a+4>>2];a:{if(!a){break a}c=N[a+92>>2];if(!c){break a}b=Qa[N[N[c+12>>2]+12>>2]](c,b)|0;d=(b|0)!=0&b>>>0>2]}return d|0}function Jb(a,b){var c=0;a:{c=N[a+12>>2];if((c|0)==(N[a+8>>2]+(N[a+16>>2]<<3)|0)){a=N[a+4>>2];if(!a|N[a>>2]){break a}N[a>>2]=130;return}N[c>>2]=b;b=N[a+12>>2];N[b+4>>2]=0;N[a+12>>2]=b+8}}function Be(a,b){var c=0;a:{c=N[a+12>>2];if((c|0)==(N[a+8>>2]+(N[a+16>>2]<<3)|0)){a=N[a+4>>2];if(!a|N[a>>2]){break a}N[a>>2]=130;return}N[c>>2]=b;b=N[a+12>>2];N[b+4>>2]=2;N[a+12>>2]=b+8}}function cb(a,b){var c=0,d=0;c=O[a|0];d=O[b|0];a:{if(!c|(c|0)!=(d|0)){break a}while(1){d=O[b+1|0];c=O[a+1|0];if(!c){break a}b=b+1|0;a=a+1|0;if((c|0)==(d|0)){continue}break}}return c-d|0}function $y(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;e=N[a+84>>2];d=c+256|0;f=qe(e,0,d);d=f?f-e|0:d;c=c>>>0>d>>>0?d:c;Pc(b,e,c);b=e+d|0;N[a+84>>2]=b;N[a+8>>2]=b;N[a+4>>2]=c+e;return c|0}function uE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if(!((b|0)==2353|b-2524>>>0<2|(b|0)==2964)){a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;e=(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0}return e|0}function bv(a){a=a|0;var b=0,c=0;a:{b=N[N[N[a>>2]+504>>2]+108>>2];if(!b){break a}c=N[a+44>>2];while(1){if(N[b+8>>2]!=(c|0)){b=N[b+4>>2];if(b){continue}break a}break}vn(c);N[a+44>>2]=0}}function Or(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0>1114109?2:O[(b&1|O[(b>>>1&7|P[(b>>>3&14|O[(b>>>7&15|O[(b>>>11|0)+191264|0]<<4)+191808|0]<<4)+209136>>1]<<3)+192576|0]<<1)+198064|0])|0}function MB(a){a=a|0;var b=0;b=N[a+4>>2];N[b+180>>2]=-21;N[b+184>>2]=0;N[b+196>>2]=21;N[b+200>>2]=0;N[b+188>>2]=0;N[b+192>>2]=0;Qa[N[N[N[a+12>>2]+56>>2]+8>>2]](N[a+52>>2],0,0);return 0}function Kh(a,b,c){var d=0,e=0;a:{if(!c){break a}while(1){e=N[(d<<3)+b>>2];if(!e){break a}if((a|0)==(e|0)){return N[((d<<3)+b|0)+4>>2]}d=d+1|0;if((d|0)!=(c|0)){continue}break}}return 0}function ov(a,b){a=a|0;b=b|0;var c=0;b=N[b+20>>2];c=N[b+4>>2];N[a>>2]=N[b>>2];N[a+4>>2]=c;c=N[b+20>>2];N[a+16>>2]=N[b+16>>2];N[a+20>>2]=c;c=N[b+12>>2];N[a+8>>2]=N[b+8>>2];N[a+12>>2]=c}function Lw(a,b){a=a|0;b=b|0;var c=0,d=0;b=N[a>>2];c=N[b+712>>2];if(!N[c+1188>>2]){return 163}d=N[N[c+3084>>2]+4>>2];if(!d){return 7}return Qa[d|0](N[b+100>>2],a,N[c+20>>2],152,0,b)|0}function Li(a){a=a|0;var b=0,c=0;b=N[a+8>>2];if(b){a=N[a+16>>2];c=N[a+4>>2];N[b+108>>2]=N[a>>2];N[b+112>>2]=c;N[b+124>>2]=N[a+16>>2];c=N[a+12>>2];N[b+116>>2]=N[a+8>>2];N[b+120>>2]=c}}function Gx(a,b){a=a|0;b=b|0;var c=0;N[a+116>>2]=b;c=N[a>>2];if(L[c+8|0]&1){Yc(c,b);Th(a);return 0}b=Qa[N[N[c+540>>2]+108>>2]](c,b,a+12|0)|0;if(!b){return 0}N[a+116>>2]=-1;return b|0}function tn(a,b){var c=0,d=0;d=N[a+4>>2];c=N[a+12>>2];c=(c|0)<0?(c|0)<(d|0)?d:c:d-c|0;b=b?b:(T(c,12)|0)/10|0;N[a+28>>2]=b;N[a+24>>2]=(b-c|0)/2;N[a+20>>2]=N[a+8>>2]+(N[a+16>>2]/-2|0)}function Au(a,b){a=a|0;b=b|0;var c=0;a=0;a:{if(!b){break a}c=43136;b:{if(!cb(15278,b)){break b}c=43144;if(!cb(9676,b)){break b}if(cb(11276,b)){break a}c=43152}a=N[c+4>>2]}return a|0}function Pr(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=125258?O[(b&3|O[(b>>>2&3|O[(b>>>4&3|O[(b>>>6&7|O[(b>>>9|0)+198442|0]<<3)+198688|0]<<2)+199040|0]<<2)+199500|0]<<2)+200056|0]:0)|0}function Ae(a){var b=0,c=0;b=N[147016];c=a+7&-8;a=b+c|0;a:{if(a>>>0<=b>>>0?c:0){break a}if(a>>>0>Ra()<<16>>>0){if(!(za(a|0)|0)){break a}}N[147016]=a;return b}N[147316]=48;return-1}function Os(a,b){a=a|0;b=b|0;N[a+16>>2]=b;b=O[b+6|0]|O[b+7|0]<<8|(O[b+8|0]<<16|O[b+9|0]<<24);N[a+28>>2]=0;N[a+32>>2]=0;N[a+24>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function Op(a){return a>>>0<=65276?P[(O[(O[((O[(a>>>11|0)+277576|0]>>>(a>>>8&4)<<4&240|a>>>6&14)>>>1|0)+277608|0]>>>(a>>>4&4)<<4&240|a>>>2&15)+277648|0]<<3|(a&3)<<1)+276640>>1]:0}function Nr(a,b,c){a=a|0;b=b|0;c=c|0;return(b>>>0<=65379?M[(O[(b>>>2&7|O[(b>>>5&7|O[(b>>>9|0)+200556|0]>>>(b>>>6&4)<<3&120)+200684|0]<<3)+200804|0]<<3|(b&3)<<1)+227776>>1]:0)+b|0}function Ai(a,b){var c=0,d=0;a:{if(a){if(!b){break a}if(N[N[a>>2]+8>>2]>2]+8>>2]){c=a,d=Ai(N[a+8>>2],b),N[c+8>>2]=d;return a}c=b,d=Ai(a,N[b+8>>2]),N[c+8>>2]=d}a=b}return a}function Pp(a){return a>>>0<=65276?P[(O[(a>>>3&15|O[((O[(a>>>13|0)+277440|0]>>>(a>>>10&6)<<4&48|a>>>7&14)>>>1|0)+277448|0]>>>(a>>>5&4)<<4&240)+277480|0]<<4|(a&7)<<1)+276e3>>1]:0}function Nn(a,b){var c=0;a:{if(!b){break a}b=Oc(b,584748);if(!b|N[b+8>>2]&(N[a+8>>2]^-1)){break a}if(!$b(N[a+12>>2],N[b+12>>2],0)){break a}c=$b(N[a+16>>2],N[b+16>>2],0)}return c}function lg(a,b){var c=0;a:{if(!a|!b){break a}c=N[a+4>>2];if(!c){break a}a=M[a+2>>1];if((a|0)<=0){break a}a=(a<<3)+c|0;while(1){id(c,b);c=c+8|0;if(a>>>0>c>>>0){continue}break}}}function Mr(a,b,c){a=a|0;b=b|0;c=c|0;return N[((b>>>0>917999?2:O[(b&7|P[(b>>>2&30|O[(b>>>7&15|O[(b>>>11|0)+201140|0]<<4)+201590|0]<<5)+213216>>1]<<3)+202326|0])<<2)+228176>>2]}function iv(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;N[c>>2]=0;d=6;a:{if(!b|!a){break a}b=b-1|0;if(b>>>0>=Q[a+408>>2]){break a}N[c>>2]=N[(N[a+416>>2]+(b<<4)|0)+4>>2];d=0}return d|0}function Vr(a,b){a=a|0;b=b|0;var c=0,d=0;d=N[a+16>>2]+6|0;a=N[b>>2];while(1){a=a+1|0;if(a>>>0>255){N[b>>2]=0;return 0}c=O[a+d|0];if(!c){continue}break}N[b>>2]=a;return c|0}function mw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=1;a:{if(!O[a|0]|N[a+8>>2]!=(b|0)|N[a+12>>2]!=(c|0)){break a}if(c){if(Mb(d,N[a+16>>2],c<<2)){break a}}e=0}return e|0}function Ml(a,b){a=a|0;b=b|0;N[a+16>>2]=b;b=O[b+12|0]|O[b+13|0]<<8|(O[b+14|0]<<16|O[b+15|0]<<24);L[a+24|0]=0;N[a+40>>2]=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);return 0}function ri(a,b,c){var d=0;if(N[a+72>>2]?b:1){return+N[a+140>>2]*c/+N[N[a+168>>2]+40>>2]+ +N[a+56>>2]}d=S[a+152>>3];return(+N[a+136>>2]-d)*.5+d*c/+N[N[a+168>>2]+40>>2]}function ws(a,b){a=a|0;b=b|0;var c=0;if(!(!O[a+24|0]|N[a+28>>2]!=N[b>>2])){Jl(a);if(!O[a+24|0]){return 0}c=N[a+32>>2];N[b>>2]=N[a+28>>2];return c|0}return Kl(a,b,1)|0}function js(a,b){a=a|0;b=b|0;a=N[a+16>>2];b=b-(O[a+6|0]<<8|O[a+7|0])|0;if(b>>>0<(O[a+9|0]|O[a+8|0]<<8)>>>0){a=a+(b<<1)|0;a=O[a+10|0]<<8|O[a+11|0]}else{a=0}return a|0}function Bw(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(!a){return 37}d=b?d:d|3;if(!(d&1?0:b)){return Zf(a,0,c,d)|0}if(N[b>>2]==N[a+4>>2]){a=Zf(a,b,c,d)}else{a=35}return a|0}function ys(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=13;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function us(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=12;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function os(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=10;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function ks(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=8;a=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);N[b>>2]=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);return 0}function Iu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=1;e=b;c=N[b>>2]+1|0;b=N[a+16>>2];if(c>>>0>b>>>0){b=c-b|0;a=b>>>0>2];d=a?b+1|0:0;b=a?c:0}N[e>>2]=b;return d|0}function TE(a,b){var c=0,d=0;if(a|b){c=b-1|0;d=a-1|0;c=(d|0)!=-1?c+1|0:c;d=W(a^d)+32|0;a=W(b^c);a=(a|0)==32?d:a;b=63-a|0;Pa=0-(a>>>0>63)|0;return b}Pa=0;return 64}function Gv(a,b){a=a|0;b=b|0;var c=0;c=N[b+96>>2];if(!((c|0)<0|N[a+300>>2]<=(c|0))){a=N[a+304>>2]+T(c,252)|0;b=Qa[N[b+40>>2]](b,0)|0;N[a+180>>2]=b;N[a+208>>2]=b}}function BC(a,b){a=a|0;b=b|0;N[a+2748>>2]=b;N[a+2740>>2]=N[b+28>>2];N[a+4>>2]=N[b+8>>2];N[a+12>>2]=N[b+12>>2];N[a+8>>2]=N[b+16>>2];N[a+16>>2]=N[b+20>>2];return 0}function zA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+488>>2];N[a+24>>2]=N[b+420>>2];N[a+28>>2]=N[b+424>>2];N[a+20>>2]=N[c+20>>2];N[a+16>>2]=N[c+28>>2];return 0}function iu(a,b){a=a|0;b=b|0;var c=0,d=0;d=N[a>>2];c=N[d+140>>2];Yc(d,b);N[a+24>>2]=N[c+40>>2]<<6;N[a+28>>2]=0-(N[c+44>>2]<<6);N[a+36>>2]=P[c+4>>1]<<6;return 0}function Mu(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];b=N[c+132>>2];Yc(c,0);c=P[b+80>>1];N[a+24>>2]=c<<6;N[a+28>>2]=c-P[b+96>>1]<<6;N[a+36>>2]=P[b+102>>1]<<6;return 0}function DA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+488>>2];N[a+24>>2]=N[b+420>>2];N[a+28>>2]=N[b+424>>2];N[a+20>>2]=N[c+20>>2];N[a+16>>2]=N[c+24>>2];return 0}function iD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=N[b>>2];d=N[a+28>>2];b=N[b+4>>2];e=N[a+32>>2];if(!e){Qa[d|0](a,b,c,0);return}Qa[d|0](a,b,c,N[e+16>>2])}function Et(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1668112752,b,a+512|0)|0;if(!c){c=fc(b,N[a+512>>2],a+508|0);if(!c){return 0}N[a+512>>2]=0}return c|0}function KA(a){a=a|0;var b=0,c=0;if(a){c=N[a>>2];b=N[a+108>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+108>>2]=0;b=N[a+116>>2];if(b){Qa[N[c+8>>2]](c,b)}N[a+116>>2]=0}}function $D(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;b=0;a:{if(!jh(a,1751216995,c)){break a}if(!jh(a,1751413603,c+4|0)){break a}b=jh(a,1751934832,c+8|0)}return b|0}function db(a,b){var c=0,d=0;a:{if(!a){break a}c=UE(a,0,b,0);d=Pa;if((a|b)>>>0<65536){break a}c=d?-1:c}a=kb(c);if(!(!a|!(O[a-4|0]&3))){ve(a,0,c)}return a}function ey(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+32&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+32&-64)|0;return a>>31&a}function by(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+63&-64;return((a|0)>0?a:0)|0}a=0-((a-b|0)+63&-64)|0;return a>>31&a}function an(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;e=N[a+540>>2];N[d>>2]=0;N[d+4>>2]=0;if(e){f=d,g=Qa[N[e+84>>2]](a,b,c)|0,N[f>>2]=g}return 0}function Zx(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=(a+b|0)+16&-32;return((a|0)>0?a:0)|0}a=0-((a-b|0)+16&-32)|0;return a>>31&a}function dy(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)<0?32:a|32)|0}a=a-b&-64;return((a|0)<-32?-32:a^-32)|0}function cr(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0;g=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){g=N[g+N[b>>2]>>2]}Qa[g|0](b,c,d,e,f)}function bC(a){a=a|0;var b=0;if(a){N[a+412>>2]=0;N[a+4>>2]=0;N[a+1960>>2]=0;N[a+1444>>2]=0;N[a+928>>2]=0;N[a+208>>2]=0;b=N[a>>2];Qa[N[b+8>>2]](b,a)}}function Xy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if($b(a,N[b+8>>2],f)){Pn(b,c,d,e);return}a=N[a+8>>2];Qa[N[N[a>>2]+20>>2]](a,b,c,d,e,f)}function wu(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];Yc(c,b);N[a+24>>2]=N[c+204>>2]<<6;N[a+28>>2]=0-(N[c+208>>2]<<6);N[a+36>>2]=M[c+236>>1]<<6;return 0}function Xo(a,b){a=a|0;b=b|0;var c=0;a:{if(!b){break a}a=N[a+12>>2];if((M[a+22>>1]+b|0)+M[a+58>>1]>>>0<=Q[a+4>>2]){break a}c=Sb(a,b,0)}return c|0}function Px(a){a=a|0;var b=0,c=0;a=N[a+24>>2];if(N[a+20>>2]){b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0}function vd(a,b,c,d){var e=0;e=T(b,c);a:{if(N[d+76>>2]<0){a=uh(a,e,d);break a}a=uh(a,e,d)}if((e|0)==(a|0)){return b?c:0}return(a>>>0)/(b>>>0)|0}function Uq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;a=N[a+12>>2];N[d>>2]=0;if(!(!b|!c)){e=(Qa[N[a+36>>2]](a,b,c,d,N[a+68>>2])|0)!=0}return e|0}function Ky(a){a=a|0;var b=0,c=0;a=N[a>>2];b=O[a|0];if(b){while(1){c=(b<<24>>24)+T(c,31)|0;b=O[a+1|0];a=a+1|0;if(b){continue}break}}return c|0}function zz(a,b){a=a|0;b=b|0;var c=0;if(!(N[a>>2]!=N[b>>2]|S[a+8>>3]!=S[b+8>>3]|N[a+16>>2]!=N[b+16>>2])){c=N[a+20>>2]==N[b+20>>2]}return c|0}function PC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;e=La-16|0;La=e;a=qn(N[b+12>>2],c,d,!N[a+72>>2],e+8|0);La=e+16|0;return(a?0:N[e+8>>2])|0}function om(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;b=T(b,c);a:{if((b|0)<=0){break a}a=Qa[N[a+4>>2]](a,b)|0;if(!a){break a}C(a,0,b);d=a}return d|0}function gi(a,b){var c=0,d=0;c=nb(a)+1|0;d=b&255;while(1){a:{b=0;if(!c){break a}c=c-1|0;b=c+a|0;if((d|0)!=O[b|0]){continue}}break}return b}function dC(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+4>>2];a:{if(c){break a}d=N[a>>2];c=ip(a+16|0,b,d);if(c){break a}c=ip(a+52|0,b,d)}return c|0}function cy(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b&-64;return((a|0)>0?a:0)|0}a=0-(a-b&-64)|0;return a>>31&a}function Ns(a){a=a|0;var b=0,c=0;N[a+28>>2]=0;b=N[a+36>>2];a:{if(!b){break a}c=N[a+32>>2];if(!c){break a}Qa[N[b+8>>2]](b,c);N[a+32>>2]=0}}function uA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[N[b+488>>2]+4>>2];if(!c){return 7}return Qa[c|0](N[b+100>>2],a,N[b+420>>2],360,0,b)|0}function lo(a,b,c){if(N[a+72>>2]?b:1){return+N[a+140>>2]*c/+N[N[a+168>>2]+40>>2]+ +N[a+56>>2]}return S[a+152>>3]*c/+N[N[a+168>>2]+40>>2]}function IE(a,b,c,d){a=a|0;b=b|0;c=+c;d=d|0;var e=0;e=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){e=N[e+N[b>>2]>>2]}return Qa[e|0](b,c,d)|0}function bz(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;c=b;b=N[b>>2]+7&-8;N[c>>2]=b+16;d=a,e=ym(N[b>>2],N[b+4>>2],N[b+8>>2],N[b+12>>2]),S[d>>3]=e}function Ss(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[N[b+544>>2]+4>>2];if(!c){return 7}return Qa[c|0](N[b+100>>2],a,N[b+16>>2],190,0,b)|0}function vv(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(11349,b)){if(cb(9676,b)){break a}a=36632}else{a=36624}a=N[a+4>>2]}return a|0}function ou(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(15278,b)){if(cb(9676,b)){break a}a=43640}else{a=43632}a=N[a+4>>2]}return a|0}function gs(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+44>>2]=f}function Sr(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+48>>2]=f}function As(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+28>>2]=f}function gu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e+4>>2]=f}function Wz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[d+28>>2]=c;c=0;a=sc(N[d>>2],d+8|0,0);if(a){c=N[a>>2]>=0?N[a+16>>2]:c;tb(a)}return c|0}function Vz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;N[d+28>>2]=c;c=0;a=sc(N[d>>2],d+8|0,0);if(a){c=N[a>>2]>=0?N[a+28>>2]:c;tb(a)}return c|0}function Ru(a,b){a=a|0;b=b|0;a=0;a:{if(!b){break a}if(cb(9676,b)){if(cb(9772,b)){break a}a=37624}else{a=37616}a=N[a+4>>2]}return a|0}function mg(a,b){var c=0,d=0;a:{if(b>>>0<=31){d=N[a>>2];c=a+4|0;break a}b=b-32|0;c=a}c=N[c>>2];N[a>>2]=d<>2]=c<>>32-b}function es(a,b){a=a|0;b=b|0;var c=0;N[a+16>>2]=b;c=O[b+7|0];b=O[b+6|0];N[a+24>>2]=-1;N[a+28>>2]=0;N[a+32>>2]=(b<<8|c)>>>1;return 0}function FC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Cb(d,U(N[a>>2]),U(N[a+4>>2]),U(N[b>>2]),U(N[b+4>>2]),U(N[c>>2]),U(N[c+4>>2]));return 0}function Ev(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(b){N[b>>2]=N[a+152>>2]}if(c){N[c>>2]=N[a+156>>2]}if(d){N[d>>2]=N[a+160>>2]}return 0}function yA(a,b){a=a|0;b=b|0;var c=0;b=N[a>>2];c=N[b+376>>2];N[a+16>>2]=c;N[a+20>>2]=N[b+380>>2]-c;N[a+24>>2]=N[b+384>>2];return 0}function og(a,b){var c=0,d=0;c=N[a+4>>2];a:{if(b>>>0<=31){d=N[a>>2];break a}b=b-32|0;d=c;c=0}N[a+4>>2]=c>>>b;N[a>>2]=c<<32-b|d>>>b}function Fu(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;c=O[b+11|0];d=c<<24>>24<0;e=a,f=pd(eb((d?N[b+4>>2]:c)+1|0),d?N[b>>2]:b),N[e>>2]=f}function mr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){e=N[e+N[b>>2]>>2]}Qa[e|0](b,c,d)}function ND(a,b,c){a=a|0;b=b|0;c=c|0;if(_d(a,b,c)){a=1}else{if(b>>>0<=255){a=_d(a,b+61440|0,c)}else{a=1}a=a&b>>>0<256}return a|0}function wq(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){d=N[d+N[b>>2]>>2]}return Qa[d|0](b,c)|0}function ay(a,b,c){a=a|0;b=b|0;c=c|0;a=N[((c<<2)+a|0)+268>>2];if((b|0)>=0){a=a+b|0;return((a|0)>0?a:0)|0}a=b-a|0;return a>>31&a}function Vq(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[a+12>>2];N[c>>2]=b;N[d>>2]=0;return(Qa[N[a+40>>2]](a,b,c,d,N[a+72>>2])|0)!=0|0}function wA(a,b){a=a|0;b=b|0;var c=0,d=0;c=N[a+16>>2];return(c>>>0>b>>>0|N[a+20>>2]+c>>>0<=b>>>0?d:P[N[a+24>>2]+(b<<1)>>1])|0}function cC(a){a=a|0;N[a+12>>2]=1;N[a+16>>2]=0;N[a+4>>2]=0;N[a+76>>2]=0;N[a- -64>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+28>>2]=0}function YB(a){a=a|0;N[a+12>>2]=2;N[a+16>>2]=0;N[a+4>>2]=0;N[a+76>>2]=0;N[a- -64>>2]=0;N[a+52>>2]=0;N[a+40>>2]=0;N[a+28>>2]=0}function Vy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if($b(a,N[b+8>>2],0)){On(b,c,d);return}a=N[a+8>>2];Qa[N[N[a>>2]+28>>2]](a,b,c,d)}function XB(a){a=a|0;var b=0;N[a+140>>2]=0;N[a+112>>2]=0;b=N[a+12>>2];kp(a+28|0,b);kp(a- -64|0,b);N[a+12>>2]=0;N[a+16>>2]=0}function ZD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if(N[147017]>=(a|0)){a=(a|0)<2?588952:589104;vd(24996,8,1,a);zi(a,b,c);Ul(a)}}function bo(a,b){var c=0,d=0,e=0;a=a-1|0;a=(c=SE(a),d=0,e=a,e?c:d);if(!a){a=(c=SE(b),d=0,e=b,e?c:d);a=a?a+32|0:0}return a}function Sz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=La-16|0;La=a;b=qn(b,c,d,0,a+8|0);La=a+16|0;return(b?0:N[a+8>>2])|0}function Ku(a,b){a=a|0;b=b|0;var c=0;b=N[N[a>>2]+132>>2];c=O[b+104|0];N[a+16>>2]=c;N[a+20>>2]=(O[b+105|0]-c|0)+1;return 0}function Dj(a,b){a=a|0;b=b|0;a=N[N[a+660>>2]+20>>2]+T(b,56)|0;_a(N[a+28>>2]);_a(N[a+44>>2]);_a(N[a+48>>2]);_a(N[a+52>>2])}function jd(a,b,c){UE(c,0,b,0);a:{if(!Pa){b=T(b,c);b=$a(a,b>>>0<=1?1:b);c=0;if(b){break a}}b=a;c=48}N[147316]=c;return b}function Cy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=hd(N[a>>2],c,22019);if(!a){return 64}N[d>>2]=a;N[e>>2]=0;return 0}function By(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=hd(N[a>>2],c,22047);if(!a){return 64}N[d>>2]=a;N[e>>2]=0;return 0}function Pq(a,b,c){a=a|0;b=b|0;c=c|0;a=L[c+140|0];if((a|0)>=0){ba(22742,14165,187,12136);B()}L[c+140|0]=a&127;return 0}function Br(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;d=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){d=N[d+N[b>>2]>>2]}Qa[d|0](b,c)}function Uj(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){c=N[c+N[b>>2]>>2]}return Qa[c|0](b)|0}function Pm(a,b){a=a|0;b=b|0;a=N[a+4>>2]|N[a>>2]<<16;b=N[b+4>>2]|N[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function MD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(_d(a,b,c)){a=1}else{d=Pp(b);if(d){b=_d(a,d,c)}a=(d|0)!=0&b}return a|0}function LD(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(_d(a,b,c)){a=1}else{d=Op(b);if(d){b=_d(a,d,c)}a=(d|0)!=0&b}return a|0}function UC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;a=on(N[b+12>>2],c,d);if(!a){return 0}N[e>>2]=a;return 1}function OE(a,b,c){a=a|0;b=b|0;c=c|0;a=O[c+140|0];if(!(a&8)){ba(22742,14165,187,12136);B()}L[c+140|0]=a&247;return 0}function Jy(a,b){a=a|0;b=b|0;a:{a=N[a>>2];b=N[b>>2];if(O[a|0]!=O[b|0]){break a}if(cb(a,b)){break a}return 1}return 0}function Ih(a){a=a|0;var b=0,c=0;b=N[a+20>>2];if(b){c=N[N[a>>2]+100>>2];Qa[N[c+8>>2]](c,b)}N[a+16>>2]=0;N[a+20>>2]=0}function wt(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=rb(b,179120,a+568|0)}return c|0}function ut(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=rb(b,178496,a+160|0)}return c|0}function _n(a,b,c,d,e,f,g,h,i){N[a>>2]=b;N[a+4>>2]=c;N[a+8>>2]=d;N[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function Zh(a){a=a|0;var b=0,c=0;b=N[a>>2];if(b){c=N[a+28>>2];Qa[N[c+8>>2]](c,b)}N[a>>2]=0;N[a+4>>2]=0;N[a+24>>2]=0}function Ht(a,b){a=a|0;b=b|0;var c=0;c=Qa[N[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=rb(b,178496,a+160|0)}return c|0}function Bg(a,b){a=a|0;b=b|0;var c=0;N[b>>2]=0;c=Qa[N[a+4>>2]](a,4)|0;if(!c){return 64}N[c>>2]=a;N[b>>2]=c;return 0}function XE(a){var b=0,c=0;b=Z(a);c=a-b;if(!(c<.5)){a=_(a);if(c>.5){return a}c=a;a=b*.5;b=a-Z(a)==0?b:c}return b}function xC(a,b){a=a|0;b=b|0;N[a+24>>2]=N[b+20>>2];N[a+4>>2]=N[b>>2];N[a+28>>2]=N[b+24>>2];vp(a,b,0);vp(a,b,1)}function Ax(a,b,c){a=a|0;b=b|0;c=c|0;c=ag(a,b,c,1);if(!c){N[a+8>>2]=N[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function $b(a,b,c){if(!c){return N[a+4>>2]==N[b+4>>2]}if((a|0)==(b|0)){return 1}return!cb(N[a+4>>2],N[b+4>>2])}function sr(a,b){a=a|0;b=b|0;var c=0;c=N[a>>2];a=N[a+4>>2];b=(a>>1)+b|0;if(a&1){c=N[c+N[b>>2]>>2]}Qa[c|0](b)}function Rs(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;N[c+12>>2]=0;Qf(a,b,c+12|0);La=c+16|0;return N[c+12>>2]}function rw(a){a=a|0;var b=0;b=N[a+32>>2];if(!b){return 3}Lc(a,N[N[a+16>>2]>>2]);N[b+184>>2]=513;return 0}function Rl(a,b){a=a|0;b=b|0;a=N[N[a>>2]+4>>2];b=N[N[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0>>0?-1:0)|0}function Iy(a){a=a|0;a=N[a>>2];return T(T(T(a&255,31)+(a>>>8&255)|0,31)+(a>>>16&255)|0,31)+(a>>>24|0)|0}function Gy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;if(!b){return 81}return Rd(b,333319,e)|0}function Fy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;if(!b){return 81}return Rd(b,333312,e)|0}function xs(a,b){a=a|0;b=b|0;var c=0;c=La-16|0;La=c;N[c+12>>2]=b;a=Kl(a,c+12|0,0);La=c+16|0;return a|0}function eu(a,b){a=a|0;b=b|0;b=N[a>>2];N[a+16>>2]=N[N[b+140>>2]+52>>2];N[a+20>>2]=N[b+144>>2];return 0}function mb(a,b,c,d){var e=0;e=La-16|0;La=e;N[e+12>>2]=d;Qa[N[a+20>>2]](b,c,d,N[a+24>>2]);La=e+16|0}function kw(a,b){a=a|0;b=b|0;a=N[a+712>>2];L[b|0]=0;if(!(!a|N[a+1504>>2]==65535)){L[b|0]=1}return 0}function Py(a,b,c,d,e,f,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;Qa[a|0](b,c,d,e,f,g,h)}function Kz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[a+12>>2];Qa[N[a>>2]](N[a+4>>2],c,b,d)|0;return d|0}function Xt(a,b){a=a|0;b=b|0;var c=0;c=N[N[a+12>>2]+48>>2];if(!c){return 150}return Qa[c|0](a,b)|0}function iz(){var a=0;a=N[147569];if(a){while(1){Qa[N[a>>2]]();a=N[a+4>>2];if(a){continue}break}}}function aD(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;N[f>>2]=0;N[e>>2]=0;return 0}function Sv(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Qa[N[N[a+548>>2]+40>>2]](a,b,c,d,e)|0}function Dx(a,b,c){a=a|0;b=b|0;c=c|0;if(cb(b,12798)){a=12}else{N[c>>2]=N[a+64>>2];a=0}return a|0}function Qy(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if($b(a,N[b+8>>2],f)){Pn(b,c,d,e)}}function Qi(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[N[a+12>>2]+56>>2]+12>>2]](N[a+52>>2],b,c)|0}function wC(a,b,c){a=a|0;b=b|0;c=c|0;if(b){N[b>>2]=N[a+10056>>2]}if(c){N[c>>2]=N[a+252>>2]}}function fs(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=6;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function as(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=4;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function Xr(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=2;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function XA(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Tb(a,N[a+8>>2]);return Fe(a,N[a+8>>2],b,c,d)|0}function Tr(a,b){a=a|0;b=b|0;a=N[a+16>>2];N[b+4>>2]=0;N[b>>2]=O[a+5|0]|O[a+4|0]<<8;return 0}function FA(a){a=a|0;var b=0,c=0;b=N[a+4>>2];if(b){c=N[a>>2];Qa[N[c+8>>2]](c,b)}N[a+4>>2]=0}function Oy(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;a=Qa[a|0](b,c,d,e)|0;Ma=Pa;return a|0}function Dp(a,b,c){a=a|0;b=b|0;c=c|0;if(b){N[b>>2]=N[a+7928>>2]}if(c){N[c>>2]=N[a+252>>2]}}function lr(a,b,c){a=a|0;b=b|0;c=c|0;b=b&65535;return(vb(b?b+c|0:275552,N[a>>2])|0)!=-1|0}function eD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;N[d>>2]=0;return 1}function cD(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;N[d>>2]=0;return 0}function au(a,b){a=a|0;b=b|0;a=N[a+4>>2];b=N[b+4>>2];return(a>>>0>>0?-1:a>>>0>b>>>0)|0}function Oe(a,b,c,d){var e=0;e=La-16|0;La=e;N[e+12>>2]=d;a=rh(a,b,c,d);La=e+16|0;return a}function hy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[b+12>>2]+(c<<3)|0;N[a+4>>2]=N[a+4>>2]+d}function eo(a,b){b=b&3;return O[(b^1)+a|0]<<16|O[a+b|0]<<24|O[(b^2)+a|0]<<8|O[(b^3)+a|0]}function ZE(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<>>a}function Nx(a){a=a|0;N[a+116>>2]=-1;N[a+304>>2]=-1;N[a+308>>2]=-1;L[a+112|0]=0;return 0}function gr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Ji(N[a+380>>2],L[b+11|0]<0?N[b>>2]:b,c,d)}function _w(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Qa[N[b+52>>2]](b,0,0,0)|0,N[c+544>>2]=d}function qu(a,b,c){a=a|0;b=b|0;c=c|0;N[b>>2]=N[a+176>>2];N[c>>2]=N[a+180>>2];return 0}function $t(a,b,c){a=a|0;b=b|0;c=c|0;N[b>>2]=N[a+132>>2];N[c>>2]=N[a+136>>2];return 0}function jy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=N[b+12>>2]+(c<<3)|0;N[a>>2]=N[a>>2]+d}function Iw(a,b){a=a|0;b=b|0;return Qa[N[N[N[N[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function $C(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;if(e){L[d|0]=0}return 0}function Jw(a,b){a=a|0;b=b|0;return Qa[N[N[N[N[a>>2]+712>>2]+3084>>2]+8>>2]](a,b)|0}function Ny(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=Qa[a|0](b,c,d)|0;Ma=Pa;return a|0}function Ju(a,b){a=a|0;b=b|0;b=b-N[a+16>>2]|0;return(b>>>0>2]?b+1|0:0)|0}function Mp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;N[e>>2]=0;return 0}function Hb(a){var b=0,c=0;b=nb(a)+1|0;c=kb(b);if(!c){return 0}return Pc(c,a,b)}function wB(a){a=a|0;Qa[N[N[N[a+12>>2]+56>>2]+8>>2]](N[a+52>>2],0,0);return 0}function Zv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+12>>2]](a,b,c)|0}function YE(a){var b=0;while(1){if(a){a=a-1&a;b=b+1|0;continue}break}return b}function Xv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+20>>2]](a,b,c)|0}function Wv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+24>>2]](a,b,c)|0}function Uy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if($b(a,N[b+8>>2],0)){On(b,c,d)}}function Uv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+32>>2]](a,b,c)|0}function Tv(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+36>>2]](a,b,c)|0}function fA(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(10566,b)?0:356608)|0}function _v(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+548>>2]+8>>2]](a,b,c)|0}function nC(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(11276,b)?0:293668)|0}function nB(a,b){a=a|0;b=b|0;if(!b){return 0}return(cb(11276,b)?0:294052)|0}function Wr(a,b){a=a|0;b=b|0;return(b>>>0<=255?O[(N[a+16>>2]+b|0)+6|0]:0)|0}function Nw(a,b){a=a|0;b=b|0;return(b>>>0<=255?P[N[a+16>>2]+(b<<1)>>1]:0)|0}function DB(a,b,c){a=a|0;b=b|0;c=c|0;N[a+56>>2]=N[a+52>>2]-T(N[a+104>>2],b)}function zv(a){a=a|0;a=N[a+140>>2];if(!a){return 0}return a+(O[a|0]==47)|0}function aw(a,b,c){a=a|0;b=b|0;c=c|0;return Qa[N[N[a+552>>2]>>2]](a,b,c)|0}function Qt(a){a=a|0;return(a>>>0<=127?O[(a>>>3|0)+179360|0]&1<<(a&7):0)|0}function Du(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Bh(N[a+12>>2],b,c,d)|0}function tz(a,b){a=a|0;b=b|0;b=N[b+20>>2];if(b){_a(N[b-4>>2])}tb(N[a>>2])}function rA(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+488>>2]+12>>2]](a,b)|0}function Ps(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+544>>2]+12>>2]](a,b)|0}function Ar(a,b){a=a|0;b=b|0;L[a+372|0]=(b|0)!=0;if(b){So(a,N[a+376>>2])}}function sA(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+488>>2]+8>>2]](a,b)|0}function Qs(a,b){a=a|0;b=b|0;return Qa[N[N[N[a>>2]+544>>2]+8>>2]](a,b)|0}function CA(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0;N[a+28>>2]=0}function $z(a){a=a|0;return(a>>>0<=390?M[(a<<1)+299312>>1]+295088|0:0)|0}function hD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;N[d>>2]=0;return 0}function aA(a){a=a|0;return M[((a>>>0<=257?a:0)<<1)+298784>>1]+295088|0}function _A(a,b){a=a|0;b=b|0;Tb(a,N[a+8>>2]);return Qc(a,N[a+8>>2],b)|0}function Ow(a,b){a=a|0;b=b|0;N[a+16>>2]=N[N[a>>2]+712>>2]+668;return 0}function My(a){a=a|0;_a(N[a+12>>2]);N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0}function tr(a){a=a|0;var b=0;b=N[a+660>>2];if(b){vg(b);N[a+660>>2]=0}}function Uz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return 1}function wD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,4)}function nx(a,b){a=a|0;b=b|0;if(!N[147441]){N[147441]=a;N[147442]=b}}function lD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;gf(a,b,c,d,e,8)}function dD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;gf(a,b,c,d,e,7)}function ZC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;gf(a,b,c,d,e,6)}function VC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;gf(a,b,c,d,e,5)}function QD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,8)}function PD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,7)}function OD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,6)}function KC(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;gf(a,b,c,d,e,4)}function HD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;ff(a,b,c,d,e,5)}function vE(a,b,c){a=a|0;b=b|0;c=c|0;if(!O[N[a+112>>2]+5|0]){zq(b)}}function oB(a){a=a|0;L[a+70|0]=0;M[a+68>>1]=0;N[a+64>>2]=8;return 0}function fE(a,b){a=a|0;b=b|0;return N[N[a+660>>2]+16>>2]+T(b,144)|0}function Yv(a,b){a=a|0;b=b|0;return Qa[N[N[a+548>>2]+16>>2]](a,b)|0}function Vv(a,b){a=a|0;b=b|0;return Qa[N[N[a+548>>2]+28>>2]](a,b)|0}function Ud(a,b){return b?a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24):a}function Rv(a){a=a|0;var b=0;b=N[a+548>>2];if(b){Qa[N[b+44>>2]](a)}}function PB(a,b){a=a|0;b=b|0;Ti(b,N[a>>2]<<2,N[a+4>>2]<<2);return 0}function qE(a,b){a=a|0;b=b|0;return N[N[a+660>>2]+20>>2]+T(b,56)|0}function sC(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return Bp(d,b,c,d)|0}function Mq(a,b,c){a=a|0;b=b|0;c=c|0;zj(N[a+112>>2],b,N[a+4>>2])}function Ag(a){a=a|0;var b=0;if(a){b=N[a>>2];Qa[N[b+8>>2]](b,a)}}function ow(a){a=a|0;return(a>>>0<=255?P[(a<<1)+30800>>1]:0)|0}function gD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return N[a+28>>2]}function fD(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return N[a+32>>2]}function Hu(a,b){a=a|0;b=b|0;F(b,N[a+132>>2]+4|0,156);return 0}function ke(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return 0}function fi(a){a=ia(a|0)|0;a=(a|0)!=27?a:0;if(a){N[147316]=a}}function Ly(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return $a(d,c)|0}function Ds(a,b){a=a|0;b=b|0;N[b>>2]=-1;N[b+4>>2]=14;return 0}function Cv(a,b,c){a=a|0;b=b|0;c=c|0;if(c){N[c>>2]=b}return 0}function vu(a,b){a=a|0;b=b|0;N[a+16>>2]=N[a>>2]+296;return 0}function tA(a,b){a=a|0;b=b|0;return N[N[a+424>>2]+(b<<2)>>2]}function qy(a,b){a=a|0;b=b|0;return N[N[a+392>>2]+(b<<2)>>2]}function pe(a,b){if(!N[147441]){N[147441]=a;N[147442]=b}ya()}function ir(a,b,c){a=a|0;b=b|0;c=c|0;return N[a>>2]==(b|0)|0}function _C(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0}function xA(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+24>>2]=0}function eb(a){a=kb(a>>>0<=1?1:a);if(!a){fa();B()}return a}function dz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Pa=0;return 0}function RD(a){a=a|0;var b=0;b=N[a+8>>2];if(b){_a(b)}_a(a)}function FE(a){a=a|0;var b=0;b=N[a+4>>2];if(b){Aj(b)}_a(a)}function kz(a,b){a=a|0;b=b|0;return N[a+4>>2]-N[b+4>>2]|0}function Ts(a,b){a=a|0;b=b|0;N[a+8>>2]=b;N[a+12>>2]=b>>31}function Rt(a){a=a|0;return a-48>>>0<10|(a&-33)-65>>>0<26}function Lm(a,b){a=a|0;b=b|0;M[b>>1]=P[a+164>>1];return 0}function Av(a,b){a=a|0;b=b|0;M[b>>1]=P[a+312>>1];return 0}function mt(a,b,c){a=a|0;b=b|0;c=c|0;return un(a,b,c)|0}function iA(a){a=a|0;a=a<<13^a;a=a>>>17^a;return a<<5^a}function Zy(a,b,c){a=a|0;b=b|0;c=c|0;return $b(a,b,0)|0}function KD(a,b,c){a=a|0;b=b|0;c=c|0;return _d(a,b,c)|0}function su(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 12}function nm(a,b){a=a|0;b=b|0;if(b){Qa[N[a+8>>2]](a,b)}}function le(a,b,c){a=a|0;b=b|0;c=c|0;N[N[a>>2]+b>>2]=c}function dx(a,b){a=a|0;b=b|0;N[b+376>>2]=N[b+376>>2]|1}function Km(a,b){a=a|0;b=b|0;F(b,a+168|0,196);return 0}function Hy(a,b){a=a|0;b=b|0;return N[a>>2]==N[b>>2]|0}function Gt(a,b){a=a|0;b=b|0;N[a>>2]=b;N[a+4>>2]=b>>31}function Gr(a,b,c){a=a|0;b=b|0;c=c|0;return 1517976186}function GB(a){a=a|0;N[a+56>>2]=N[a+56>>2]-N[a+104>>2]}function Cm(a){a=a|0;a=N[a+156>>2];if(a){N[a+36>>2]=0}}function lt(a,b,c){a=a|0;b=b|0;c=c|0;Qa[N[a>>2]](b,c)}function lc(a,b){a=go(a,b);return O[a|0]==(b&255)?a:0}function Zt(a,b,c){a=a|0;b=b|0;c=+c;S[N[a>>2]+b>>3]=c}function Fr(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function Eb(a,b,c){a=Xn(a,b,c,0,-2147483648);return a}function Ay(a,b){a=a|0;b=b|0;return M[a>>1]-M[b>>1]|0}function $n(a,b){var c=0;c=qe(a,0,b);return c?c-a|0:b}function vt(a,b){a=a|0;b=b|0;return Qa[N[a>>2]](b)|0}function Dv(a,b){a=a|0;b=b|0;if(b){L[b|0]=1}return 0}function me(a,b){a=a|0;b=b|0;return N[N[a>>2]+b>>2]}function bu(a,b){a=a|0;b=b|0;return+S[N[a>>2]+b>>3]}function SE(a){if(a){return 31-W(a-1^a)|0}return 32}function ts(a,b){a=a|0;b=b|0;N[a+16>>2]=b;return 0}function Kb(a,b){return Xn(a,b,10,-2147483648,0)}function $v(a){a=a|0;Qa[N[N[a+552>>2]+28>>2]](a)}function tm(a){a=a|0;N[a+16>>2]=0;N[a+20>>2]=0}function qr(a,b){a=a|0;b=b|0;return $g(a,b,1)|0}function pr(a,b){a=a|0;b=b|0;return $g(a,b,0)|0}function oy(a,b,c){a=a|0;b=b|0;c=c|0;return c|0}function or(a,b){a=a|0;b=b|0;return Lf(a,b,1)|0}function nr(a,b){a=a|0;b=b|0;return Lf(a,b,0)|0}function kn(a,b,c){a=a|0;b=b|0;c=c|0;return b|0}function br(a){a=a|0;return N[N[a+660>>2]+8>>2]}function Uw(a,b){a=a|0;b=b|0;return Nm(a,0,0)|0}function Tx(a){a=a|0;a=La-a&-16;La=a;return a|0}function Ls(a,b){a=a|0;b=b|0;N[b>>2]=0;return 0}function Ln(a,b,c,d){ua(a|0,b|0,8,0,c|0,-1,d|0)}function ru(a,b,c){a=a|0;b=b|0;c=c|0;return 12}function rk(a,b){a=a|0;b=b|0;return gk(a,b)|0}function ac(a,b,c){if(!(O[a|0]&32)){uh(b,c,a)}}function qk(a,b){a=a|0;b=b|0;return fk(a,b)|0}function mk(a,b){a=a|0;b=b|0;return ik(a,b)|0}function cl(a,b){a=a|0;b=b|0;return Fk(a,b)|0}function bl(a,b){a=a|0;b=b|0;return Ek(a,b)|0}function al(a,b){a=a|0;b=b|0;return Hk(a,b)|0}function _k(a,b){a=a|0;b=b|0;return Uk(a,b)|0}function Zk(a,b){a=a|0;b=b|0;return Tk(a,b)|0}function Yk(a,b){a=a|0;b=b|0;return Sk(a,b)|0}function Xk(a,b){a=a|0;b=b|0;return Rk(a,b)|0}function Tq(a){a=a|0;return N[N[a+660>>2]>>2]}function Qb(a,b,c){a=a|0;b=b|0;c=c|0;return 0}function Mk(a,b){a=a|0;b=b|0;return ah(a,b)|0}function Jr(a,b,c){a=a|0;b=b|0;c=c|0;return 1}function Hr(a,b,c){a=a|0;b=b|0;c=c|0;return 7}function $k(a,b){a=a|0;b=b|0;return Gk(a,b)|0}function ez(a){a=a|0;return ia(N[a+60>>2])|0}function er(a){a=a|0;Uo(N[a+384>>2],a+404|0)}function _q(a,b,c){a=a|0;b=b|0;c=c|0;tc(a,b)}function zi(a,b,c){return Wn(a,b,c,109,110)}function px(a){a=a|0;N[N[a+156>>2]+36>>2]=0}function jz(a){a=a|0;return Hb(N[a+4>>2])|0}function bw(a){a=a|0;return N[a+8>>2]>>>9&1}function Xx(a){a=a|0;N[a+64>>2]=40;return 0}function WE(a,b,c,d){a=RE(a,b,c,d);return a}function Kn(a,b){a=a|0;b=b|0;return kb(b)|0}function Pb(a,b){N[a+168>>2]=b;pe(a,1);B()}function EE(a,b,c){a=a|0;b=b|0;c=c|0;zq(b)}function wn(a,b){pd(nb(a)+a|0,b);return a}function Lz(a){a=a|0;_a(N[a+12>>2]);_a(a)}function xz(a,b){a=a|0;b=b|0;tb(N[a>>2])}function Cr(a,b){a=a|0;b=b|0;N[147017]=b}function py(a){a=a|0;return P[a+256>>1]}function Mx(a){a=a|0;cn(a);L[a+112|0]=0}function Im(a){a=a|0;return N[a+364>>2]}function dE(a){a=a|0;ab(N[a>>2]);_a(a)}function bt(a){a=a|0;return N[a+8>>2]}function Ms(a,b){a=a|0;b=b|0;return 0}function of(a,b,c){a=a|0;b=b|0;c=c|0}function bB(a){a=a|0;Tb(a,N[a+8>>2])}function VB(a){a=a|0;return a+100|0}function UB(a){a=a|0;return a+112|0}function TB(a){a=a|0;return a+140|0}function Mt(a){a=a|0;return N[a>>2]}function Jn(a,b){a=a|0;b=b|0;_a(b)}function hw(a){a=a|0;return 25360}function Vu(a){a=a|0;return 25464}function Ut(a){a=a|0;return 25552}function Qr(a){a=a|0;return 25628}function Hm(a){a=a|0;N[a+16>>2]=0}function Eh(a){a=a|0;if(a){_a(a)}}function Sn(a,b,c){Wn(a,b,c,0,0)}function sd(a,b){return Gd(a,b)}function _y(a){a=a|0;return a|0}function QE(){C(589264,0,2272)}function hm(a){a=a|0;return 0}function An(a){a=a|0;return 1}function Fv(a,b){a=a|0;b=b|0}function ce(a){a=a|0;_a(a)}function Rr(a){a=a|0;ab(a)}function fy(){return La|0}function Yx(a){a=a|0;La=a}function Kx(a){a=a|0;Ma=a}function Fx(){return Ma|0}function Mc(a){a=a|0}e=O;p(q);var Qa=c([null,wm,hw,Eh,me,le,ov,ev,me,le,Vu,Eh,Lu,Fu,im,em,mu,gu,bu,Zt,me,le,me,le,Ut,Eh,Mt,Gt,vt,lt,bt,Ts,Is,As,im,em,rs,gs,$r,Sr,me,le,Qr,Ir,Er,Dr,Cr,Br,Ar,vr,ur,tr,sr,rr,mr,hr,gr,fr,er,dr,cr,br,Uj,Zq,Uj,Wq,Dj,Tq,Dj,Sq,Kq,PE,IE,AE,qE,wq,fE,wq,me,le,ZD,QD,PD,OD,HD,wD,lD,dD,ZC,VC,KC,DC,CC,yC,rC,jC,fC,WB,SB,KB,CB,xB,pB,fB,$A,Ly,Kn,Jn,lz,cz,bz,Ry,My,Zh,Ay,wy,vy,uy,ty,sy,ry,qy,py,kn,oy,ny,my,ly,ky,jy,iy,hy,gy,ey,dy,cy,by,ay,$x,_x,Zx,Ux,Sx,Rx,Qx,Px,xy,ux,kx,Pm,Hy,Iy,Kw,yw,xw,um,nv,mv,lv,kv,om,nm,Gu,nm,om,Du,Eu,Bu,Cu,lu,Jy,Ky,hu,fu,au,ke,Jn,Kn,Rt,Qt,Rl,Zh,Rl,Zh,Zs,Ys,Bc,Ws,Vs,Us,Rs,Rr,_a,Pr,Or,Nr,Mr,Lr,Kr,az,zr,yr,xr,wr,Qb,cl,cl,Qb,bl,bl,Qb,al,al,Qb,$k,$k,Qb,_k,_k,Qb,Zk,Zk,Qb,Yk,Yk,Qb,Xk,Xk,Qb,Nk,Nk,Pk,or,nr,Qb,Mk,Mk,Qb,Qk,Qk,Pk,qr,pr,Qb,Ok,Ok,ir,lr,kr,jr,Qb,rk,rk,Qb,qk,qk,Qb,pk,pk,Qb,ok,ok,Qb,nk,nk,Qb,mk,mk,ar,$q,Qq,Pq,Oq,ME,LE,KE,JE,HE,OE,BE,zE,yE,pE,oE,iE,hE,Xq,Vq,Uq,Yq,sq,qq,cE,bE,aE,$D,_D,YD,XD,WD,VD,UD,TD,SD,ND,MD,LD,KD,JD,ID,RD,pC,YC,dE,eE,XC,WC,UC,TC,SC,RC,QC,PC,OC,NC,MC,LC,JC,Ip,kC,hC,gC,eC,dC,cC,bC,Ui,aC,$B,_B,ZB,YB,Yh,JB,IB,GB,FB,EB,DB,Mc,BB,AB,of,zB,yB,KA,JA,IA,HA,Pm,tA,dA,Zz,Yz,Xz,Wz,Vz,Uz,Tz,Sz,ke,Rz,Qz,Lz,Kz,kz,jo,hz,gz,fz,ez,$y,Gy,Fy,bi,Ey,Dy,Cy,By,ai,$h,Ax,zx,re,Ph,yx,fn,xx,dn,Cx,Bx,en,cg,Ex,Dx,Im,Jm,Pw,Mm,Lm,An,Km,Qw,zy,yy,Rw,Zw,Om,Nm,Yw,Xw,Ww,Vw,Uw,Tw,Sw,af,hx,gx,fx,ex,dx,cx,bx,ax,$w,_w,Ow,Hm,Nw,Mw,Lw,Ih,Jw,Iw,_v,Zv,Yv,Xv,Wv,Vv,Uv,Tv,Sv,Rv,aw,$v,dw,cw,bw,ew,gw,fw,iw,lw,kw,jw,ow,xm,nw,mw,vm,ww,vw,uw,tw,sw,rw,qw,pw,zv,Bv,Av,Ev,Dv,Cv,Iv,Hv,Gv,Fv,yv,tm,xv,wv,jv,qm,iv,Jm,Su,Im,Mm,Lm,An,Km,Xu,Wu,Uu,Tu,Hu,Ku,Ju,Iu,qu,pu,su,ru,vu,Hm,uu,tu,$t,_t,eu,tm,du,cu,Lt,Kt,Jt,It,Yt,Pt,Ht,Ft,Et,Dt,Ct,Bt,At,zt,yt,xt,wt,ut,tt,Qf,st,rt,qt,pt,ot,nt,mt,kt,jt,it,ht,gt,Ol,ft,et,dt,ct,at,$s,_s,Vc,Xs,ts,Wr,Vr,Ur,Tr,_r,Zr,Yr,Xr,es,ds,cs,bs,as,js,is,hs,fs,ns,ms,ls,ks,ss,qs,ps,os,Ml,xs,ws,vs,us,Ml,Cs,Bs,zs,ys,Os,Ns,Ms,Ls,Ks,Js,Hs,Gs,Fs,Es,Ds,Ss,Ih,Qs,Ps,Ot,Nt,St,Vt,Tt,Wt,xh,Xt,Qb,Jr,Hr,kn,Gr,ke,ke,Fr,_q,Rq,Bj,Aj,Nq,Mq,Lq,Jq,Iq,Hq,Gq,ce,Fq,Eq,Dq,Cq,NE,GE,FE,EE,yq,DE,CE,xE,wE,ce,vE,uE,tE,sE,rE,nE,mE,ce,lE,yq,kE,jE,gE,Np,Np,hD,DD,Mp,gD,fD,zD,yD,eD,cD,ke,ke,bD,aD,$C,Mp,_C,GD,FD,ED,CD,BD,AD,xD,vD,uD,tD,sD,rD,qD,pD,oD,nD,mD,kD,jD,iD,IC,HC,GC,FC,EC,Fp,Dp,Cp,Bp,BC,AC,zC,xC,wC,vC,uC,tC,Fp,Dp,Cp,sC,qC,mC,lC,VB,UB,TB,Bg,of,Qb,RB,Ag,QB,PB,OB,NB,Bg,of,Qb,HB,Ag,Bg,of,Qb,uB,Ag,Bg,of,Qb,jB,Ag,lB,kB,tB,sB,rB,qB,hB,gB,eB,dB,cB,Mc,bB,Ni,aB,_A,ZA,YA,XA,Dd,WA,Yo,VA,UA,Li,TA,Li,Xo,SA,RA,QA,PA,Wo,OA,NA,MA,LA,GA,FA,EA,DA,CA,BA,AA,zA,yA,xA,wA,vA,uA,Ih,sA,rA,qA,Li,Xo,pA,oA,nA,mA,Wo,lA,kA,jA,iA,hA,gA,Mo,eA,cA,bA,aA,$z,Xx,Mc,Wx,Vx,Ox,Nx,Mx,Lx,Jx,an,Ix,Hx,Gx,Mh,Mc,wx,vx,tx,sx,rx,qx,px,ox,mx,lx,jx,ix,Mh,Mc,Hw,Gw,Fw,Ew,Dw,Cw,Cm,Bw,an,Aw,zw,Bm,Mh,Mc,Qv,Pv,Ov,Nv,Mv,Lv,Cm,Kv,Jv,vv,uv,tv,sv,rv,qv,pv,hv,Mc,gv,fv,dv,cv,bv,av,$u,_u,Zu,Yu,Ru,Qu,Pu,Ou,Nu,Mu,hm,Mc,Au,zu,Vf,yu,xu,wu,ou,nu,yh,ku,ju,iu,oC,Mc,nC,iC,XB,MB,LB,Si,Ri,Qi,wB,vB,Si,Ri,Qi,oB,Mc,nB,mB,Si,Ri,Qi,iB,fA,Pz,Oz,Nz,Mz,Iz,Hz,Gz,Jz,Fz,wz,vz,uz,nz,tz,sz,rz,qz,mz,pz,Ez,Dz,Cz,oz,Bz,Az,zz,yz,_z,xz,hm,dz,_y,ce,Mc,Mc,Zy,ce,Ty,ce,Yy,Qy,Sy,Uy,ce,Xy,Wy,Vy]);QE();function Ra(){return K.byteLength/65536|0}function Wa(Xa){Xa=Xa|0;var Sa=Ra()|0;var Ta=Sa+Xa|0;if(Sa

>>0){continue}break}}La=d+240|0;return 0}if(O[p+248768|0]==1){L[d+168|0]=1}k=N[d+176>>2]+N[d+180>>2]|0;N[d+176>>2]=k;h=N[d+192>>2];i=N[d+200>>2];e=N[d+196>>2];g=N[d+184>>2];m=N[d+188>>2];o=N[d+216>>2];l=N[d+212>>2];ma:{na:{oa:{pa:{while(1){g=g+m|0;N[d+184>>2]=g;b=(e|0)!=0;i=b+i|0;N[d+200>>2]=i;f=e-b|0;N[d+196>>2]=f;h=T(b,20)+h|0;N[d+192>>2]=h;if((b|0)!=(e|0)){e=f;if(O[h+18|0]==6){continue}}if(!f){break pa}if(O[h+18|0]!=14){break oa}e=N[N[l>>2]+68>>2];b=g;qa:{while(1){b=b+1|0;if(e>>>0<=b>>>0){break qa}q=N[o>>2]+T(b,20)|0;if(O[q+18|0]==6){continue}break}e=f;if(1<>1]&7168){continue}}break}if(O[d+224|0]){break ma}break na}f=0;if(O[d+224|0]){break ma}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;break na}if(O[d+224|0]){break ma}}if(s){N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0}if((k|0)!=(n|0)){break ma}b=1;continue}b=0;continue}}function jj(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,q=U(0),r=0,s=0,t=0,u=U(0),v=0,w=0,x=U(0),y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;g=La-4528|0;La=g;a:{if(!N[a+44>>2]|Q[a+216>>2]<=c>>>0){break a}A=N[a+80>>2];b:{if((A|0)==275552){break b}c:{d:{switch(O[A|0]){case 0:l=(c+A|0)+1|0;break c;case 3:break d;default:break b}}e:{if(!(O[A+1|0]|O[A+2|0]<<8)){B=275552;v=0;break e}B=A+3|0;v=O[A+1|0]|O[A+2|0]<<8}D=(v<<8|(v&65280)>>>8)&65535;f:{if(D>>>0>=2){i=D-2|0;while(1){n=i+l>>>1|0;y=T(n,3)+B|0;z=O[y|0]|O[y+1|0]<<8;g:{if(((z<<8|z>>>8)&65535)>>>0<=c>>>0){l=O[y+3|0]|O[y+4|0]<<8;if(((l<<8|l>>>8)&65535)>>>0>c>>>0){break f}l=n+1|0;break g}i=n-1|0}if((i|0)>=(l|0)){continue}break}}if(!v){y=275552;break f}y=A+T(D,3)|0}l=y+2|0}i=O[l|0]}gd(g+4448|0,N[a+72>>2],c);z=N[(Q[a+208>>2]<=i>>>0?275552:N[a+212>>2]+T(i,24)|0)+20>>2];v=N[a+68>>2];L[g+32|0]=0;C(g+36|0,0,4108);c=g+4208|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4216>>2]=0;c=g+4228|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4236>>2]=0;c=g+4248|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4256>>2]=0;c=g+4268|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4276>>2]=0;c=g+4288|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4296>>2]=0;c=g+4308|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4316>>2]=0;N[g+4336>>2]=0;c=g+4328|0;N[c>>2]=0;N[c+4>>2]=0;N[g+4356>>2]=0;c=g+4348|0;N[c>>2]=0;N[c+4>>2]=0;L[g+4180|0]=0;N[g+24>>2]=0;l=N[g+4452>>2];i=l;c=N[g+4448>>2];N[g+16>>2]=c;N[g+20>>2]=i;N[g+4376>>2]=0;l=g+4368|0;N[l>>2]=0;N[l+4>>2]=0;l=g+4192|0;N[l>>2]=0;N[l+4>>2]=0;l=g+4184|0;N[l>>2]=0;N[l+4>>2]=0;N[g+4160>>2]=0;l=g+4152|0;N[l>>2]=0;N[l+4>>2]=0;l=g+4416|0;N[l>>2]=0;N[l+4>>2]=0;N[g+4392>>2]=v;N[g+4144>>2]=c;N[g+4148>>2]=i;N[g+4176>>2]=0;N[g+4168>>2]=0;N[g+4172>>2]=0;L[g+4165|0]=1;L[g+4166|0]=0;N[g+4408>>2]=0;N[g+4412>>2]=0;B=107;l=107;h:{if(!v){break h}c=O[v|0]|O[v+1|0]<<8;c=(c<<8|c>>>8)&65535;l=107;if(c>>>0<1240){break h}l=c>>>0<33900?1131:32768}c=i;N[g+4400>>2]=z;N[g+4388>>2]=l;i:{if(!z){break i}l=O[z|0]|O[z+1|0]<<8;l=(l<<8|l>>>8)&65535;if(l>>>0<1240){break i}B=l>>>0<33900?1131:32768}z=g+4180|0;v=g+4144|0;n=g+32|0;N[g+4432>>2]=0;N[g+4436>>2]=0;N[g+4396>>2]=B;L[g+4440|0]=e;N[g+4428>>2]=0;M[g+4424>>1]=0;L[g+4164|0]=0;N[g+12>>2]=a;N[g+4>>2]=d;N[g+8>>2]=f;N[g>>2]=b;y=1e4;a=0;while(1){j:{y=y-1|0;if(!y){N[g+24>>2]=c+1;break j}i=65535;k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{d=a+1|0;if(d>>>0>c>>>0){break t}e=N[g+16>>2];b=O[e+a|0];N[g+24>>2]=d;u:{v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{if((b|0)!=12){a=d;break U}a=a+2|0;if(c>>>0>>0){break t}b=O[d+e|0];N[g+24>>2]=a;b=b|256}i=b;switch(i-1|0){case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break t;case 30:break y;case 29:break z;case 26:break A;case 25:break B;case 24:break C;case 23:break D;case 7:break E;case 6:break F;case 5:break G;case 4:break H;case 3:break I;case 21:break J;case 20:break K;case 18:case 19:break L;case 2:case 22:break M;case 0:case 17:break N;case 28:break O;case 9:break P;case 10:break R;case 13:break S;default:break T}}switch(i-255|0){case 1:break n;case 38:break u;case 37:break v;case 36:break w;case 35:break x;case 0:break Q;default:break t}}b=N[g+36>>2];if(!O[g+4424|0]){if(b&1){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}V:{if(b>>>0<4){break V}f=N[g+4>>2];a=f+16|0;if(N[f+16>>2]){b=N[f+12>>2];c=N[f+8>>2];u=R[f+20>>2];q=R[f+24>>2];if(!(u==R[f+28>>2]&q==R[f+32>>2])){e=N[c+16>>2];d=N[c+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](c,b,a,u,q,d)}e=N[c+28>>2];d=N[c+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](c,b,a,d)}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;d=N[g+36>>2];a=g+4520|0;N[a>>2]=0;N[a+4>>2]=0;N[g+4512>>2]=0;N[g+4516>>2]=0;W:{X:{Y:{Z:{_:{$:{aa:{if(d>>>0>=4){b=(n+(d<<3)|0)-24|0;a=N[b+4>>2];N[g+4512>>2]=N[b>>2];N[g+4516>>2]=a;break aa}N[147456]=0;N[147457]=0;L[g+32|0]=1;if((d|0)!=3){break $}}b=(n+(d<<3)|0)-16|0;a=N[b+4>>2];N[g+4520>>2]=N[b>>2];N[g+4524>>2]=a;l=N[g+12>>2];break _}N[g+4520>>2]=0;N[g+4524>>2]=0;c=0;l=N[g+12>>2];if(d>>>0<2){break Z}}B=0;h=S[(n+(d<<3)|0)-8>>3];ba:{if(V(h)<2147483648){c=~~h;break ba}c=-2147483648}if(c>>>0>255){break Y}}b=O[c+267360|0];a=N[l+52>>2];ca:{if((a|0)!=275552){a=vf(a,b,N[l+216>>2]);break ca}a=c>>>0<229?N[l+172>>2]?0:b:0}B=a;if(d){break Y}i=0;N[147456]=0;N[147457]=0;L[g+32|0]=1;break X}h=S[n+(d<<3)>>3];da:{if(V(h)<2147483648){i=~~h;break da}i=-2147483648}if(i>>>0>255){break W}}b=O[i+267360|0];a=N[l+52>>2];ea:{if((a|0)!=275552){a=vf(a,b,N[l+216>>2]);break ea}a=i>>>0<229?N[l+172>>2]?0:b:0}if(!a|!B|O[g+4440|0]){break W}b=N[g>>2];if(!jj(l,b,B,f,1,0)){break W}if(jj(l,b,a,f,1,g+4512|0)){break V}}N[g+24>>2]=N[g+20>>2]+1}L[g+4164|0]=1;break n}a=N[g+4184>>2];fa:{if(a){a=a-1|0;N[g+4184>>2]=a;a=(z+T(a,20)|0)+8|0;break fa}N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;L[g+4180|0]=1;N[147460]=0;a=589824}c=N[a+4>>2];b=v;N[b>>2]=N[a>>2];N[b+4>>2]=c;N[b+16>>2]=N[a+16>>2];c=a+8|0;b=N[c+4>>2];N[v+8>>2]=N[c>>2];N[v+12>>2]=b;c=N[a>>2];b=N[a+4>>2];N[g+24>>2]=N[a+8>>2];N[g+16>>2]=c;N[g+20>>2]=b;break k}if(a+4>>>0>c>>>0){break k}ga:{if(a>>>0>=c>>>0){a=c+1|0;b=275552;break ga}b=a+e|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);c=N[g+36>>2];ha:{if(c>>>0<=512){N[g+36>>2]=c+1;c=(n+(c<<3)|0)+8|0;break ha}N[147456]=0;N[147457]=0;L[g+32|0]=1;c=589824}S[c>>3]=+(b|0)*152587890625e-16;N[g+24>>2]=a+4;break k}ia:{a=N[g+36>>2];ja:{if(a){a=a-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];if(V(h)<2147483648){a=~~h;break ja}a=-2147483648;break ja}N[147456]=0;N[147457]=0;L[g+32|0]=1;a=0}d=a+N[g+4396>>2]|0;ka:{if((d|0)<0){break ka}a=N[g+4400>>2];if(!a){break ka}a=O[a|0]|O[a+1|0]<<8;if(d>>>0>=((a<<8|a>>>8)&65535)>>>0){break ka}b=N[g+4184>>2];if(b>>>0<10){break ia}}N[g+24>>2]=c+1;break k}a=N[g+20>>2];N[v>>2]=N[g+16>>2];N[v+4>>2]=a;N[v+8>>2]=N[g+24>>2];N[g+4184>>2]=b+1;b=z+T(b,20)|0;N[b+24>>2]=N[v+16>>2];a=N[v+12>>2];N[b+16>>2]=N[v+8>>2];N[b+20>>2]=a;a=N[v+4>>2];N[b+8>>2]=N[v>>2];N[b+12>>2]=a;a=0;e=0;c=N[g+4400>>2];la:{if(!c){break la}b=O[c|0]|O[c+1|0]<<8;if(d>>>0>=((b<<8|b>>>8)&65535)>>>0){break la}gd(g+4512|0,c,d);a=N[g+4512>>2];e=N[g+4516>>2]}N[g+4160>>2]=d;N[g+4152>>2]=0;N[g+4156>>2]=2;N[g+4144>>2]=a;N[g+4148>>2]=e;N[g+24>>2]=N[v+8>>2];a=N[v+4>>2];N[g+16>>2]=N[v>>2];N[g+20>>2]=a;break k}ma:{a=N[g+36>>2];na:{if(a){a=a-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];if(V(h)<2147483648){a=~~h;break na}a=-2147483648;break na}N[147456]=0;N[147457]=0;L[g+32|0]=1;a=0}d=a+N[g+4388>>2]|0;oa:{if((d|0)<0){break oa}a=N[g+4392>>2];if(!a){break oa}a=O[a|0]|O[a+1|0]<<8;if(d>>>0>=((a<<8|a>>>8)&65535)>>>0){break oa}b=N[g+4184>>2];if(b>>>0<10){break ma}}N[g+24>>2]=c+1;break k}a=N[g+20>>2];N[v>>2]=N[g+16>>2];N[v+4>>2]=a;N[v+8>>2]=N[g+24>>2];N[g+4184>>2]=b+1;b=z+T(b,20)|0;N[b+24>>2]=N[v+16>>2];a=N[v+12>>2];N[b+16>>2]=N[v+8>>2];N[b+20>>2]=a;a=N[v+4>>2];N[b+8>>2]=N[v>>2];N[b+12>>2]=a;a=0;e=0;c=N[g+4392>>2];pa:{if(!c){break pa}b=O[c|0]|O[c+1|0]<<8;if(d>>>0>=((b<<8|b>>>8)&65535)>>>0){break pa}gd(g+4512|0,c,d);a=N[g+4512>>2];e=N[g+4516>>2]}N[g+4160>>2]=d;N[g+4152>>2]=0;N[g+4156>>2]=1;N[g+4144>>2]=a;N[g+4148>>2]=e;N[g+24>>2]=N[v+8>>2];a=N[v+4>>2];N[g+16>>2]=N[v>>2];N[g+20>>2]=a;break k}if(O[g+4424|0]|i>>>0>18){break l}if(1<>2];a=i>>>0>1;break m}qa:{if(O[g+4424|0]|i>>>0>23){break qa}ra:{sa:{a=1<>2];a=i>>>0>2;break ra}i=N[g+36>>2];a=i&1;break ra}i=N[g+36>>2];a=i>>>0>1}if(!(!a|!i)){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;L[g+4425|0]=1}L[g+4424|0]=1}N[g+4428>>2]=0;a=N[g+36>>2];N[g+36>>2]=0;N[g+4172>>2]=N[g+4172>>2]+(a>>>1|0);break k}if(!O[g+4424|0]){if(L[g+36|0]&1){b=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=b;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}ta:{if(O[g+4166|0]){i=N[g+4176>>2];break ta}L[g+4166|0]=1;b=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=b;i=(b+N[g+4168>>2]|0)+7>>>3|0;N[g+4176>>2]=i}a=a+i|0;if(a>>>0>c>>>0){break k}N[g+36>>2]=0;N[g+4428>>2]=0;N[g+24>>2]=a;break k}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=3){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}if(!b){l=589824;break p}a=b-1|0;N[g+36>>2]=a;l=(n+(a<<3)|0)+8|0;if(!a){break p}a=b-2|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break o}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=2){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}ua:{if(b){a=b-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break ua}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=h+S[g+4408>>3];h=S[g+4416>>3];ij(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1;break n}b=N[g+36>>2];if(!O[g+4424|0]){if(b>>>0>=2){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;N[g+4428>>2]=1;L[g+4425|0]=1}L[g+4424|0]=1}va:{if(b){a=b-1|0;N[g+36>>2]=a;h=S[(n+(a<<3)|0)+8>>3];break va}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=S[g+4408>>3];h=h+S[g+4416>>3];ij(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1;break n}i=N[g+36>>2];if(i>>>0<2){break n}a=0;l=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){wa:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break wa}b=(n+(a<<3)|0)+8|0}a=a|1;xa:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break xa}h=S[(n+(a<<3)|0)+8>>3]}m=m+S[b>>3];j=h+j;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;i=N[g+36>>2];a=l;l=a+2|0;if(i>>>0>=l>>>0){continue}break}break n}i=0;l=N[g+36>>2];if(l>>>0>=2){a=0;c=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){i=c;ya:{if(a>>>0>=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break ya}h=S[(n+(a<<3)|0)+8>>3]}m=m+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=a|1;za:{if(a>>>0>=Q[g+36>>2]){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break za}h=S[(n+(a<<3)|0)+8>>3]}j=j+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=i;c=a+2|0;l=N[g+36>>2];if(c>>>0<=l>>>0){continue}break}}if(i>>>0>=l>>>0){break n}k=S[g+4408>>3]+S[(n+(i<<3)|0)+8>>3];h=S[g+4416>>3];qd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}i=0;l=N[g+36>>2];if(l>>>0>=2){a=0;c=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){i=c;Aa:{if(a>>>0>=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Aa}h=S[(n+(a<<3)|0)+8>>3]}j=j+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=a|1;Ba:{if(a>>>0>=Q[g+36>>2]){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ba}h=S[(n+(a<<3)|0)+8>>3]}m=m+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=i;c=a+2|0;l=N[g+36>>2];if(c>>>0<=l>>>0){continue}break}}if(i>>>0>=l>>>0){break n}k=S[g+4408>>3];h=S[g+4416>>3]+S[(n+(i<<3)|0)+8>>3];qd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}i=N[g+36>>2];if(i>>>0<6){break n}a=0;l=6;s=S[g+4416>>3];h=S[g+4408>>3];while(1){Ca:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ca}b=(n+(a<<3)|0)+8|0}c=a|1;Da:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Da}j=S[(n+(c<<3)|0)+8>>3]}m=S[b>>3];b=a+2|0;Ea:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ea}b=(n+(b<<3)|0)+8|0}c=a+3|0;Fa:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Fa}k=S[(n+(c<<3)|0)+8>>3]}j=s+j;m=h+m;h=S[b>>3];b=a+4|0;Ga:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ga}b=(n+(b<<3)|0)+8|0}p=m+h;o=j+k;a=a+5|0;Ha:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ha}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;h=p+S[b>>3];a=N[g+8>>2];Ia:{if(!a){k=s;r=h;break Ia}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;p=p+t;j=j+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(j)),U(u*U(p)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;i=N[g+36>>2];a=l;l=a+6|0;if(i>>>0>=l>>>0){continue}break}break n}a=N[g+36>>2];if(a>>>0<8){break n}d=a-2|0;a=0;i=6;s=S[g+4416>>3];h=S[g+4408>>3];while(1){e=N[g+36>>2];Ja:{if(e>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ja}b=(n+(a<<3)|0)+8|0}c=a|1;Ka:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Ka}j=S[(n+(c<<3)|0)+8>>3]}m=S[b>>3];b=a+2|0;La:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break La}b=(n+(b<<3)|0)+8|0}c=a+3|0;Ma:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Ma}k=S[(n+(c<<3)|0)+8>>3]}j=s+j;m=h+m;h=S[b>>3];b=a+4|0;Na:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Na}b=(n+(b<<3)|0)+8|0}p=m+h;o=j+k;a=a+5|0;Oa:{if(a>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Oa}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;h=p+S[b>>3];a=N[g+8>>2];Pa:{if(!a){k=s;r=h;break Pa}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;p=p+t;j=j+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(j)),U(u*U(p)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;a=i;i=a+6|0;if(d>>>0>=i>>>0){continue}break}c=N[g+36>>2];Qa:{if(c>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Qa}b=(n+(a<<3)|0)+8|0}a=a|1;Ra:{if(a>>>0>=c>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;j=0;break Ra}j=S[(n+(a<<3)|0)+8>>3]}k=h+S[b>>3];h=s+j;qd(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;break n}a=N[g+36>>2];if(a>>>0<8){break n}d=a-6|0;a=0;l=2;j=S[g+4416>>3];m=S[g+4408>>3];while(1){c=N[g+36>>2];Sa:{if(c>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Sa}b=(n+(a<<3)|0)+8|0}a=a|1;Ta:{if(a>>>0>=c>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ta}h=S[(n+(a<<3)|0)+8>>3]}m=m+S[b>>3];j=j+h;qd(g,m,j);S[g+4416>>3]=j;S[g+4408>>3]=m;a=l;l=a+2|0;if(d>>>0>=l>>>0){continue}break}d=N[g+36>>2];Ua:{if(d>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ua}b=(n+(a<<3)|0)+8|0}c=a|1;Va:{if(c>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Va}k=S[(n+(c<<3)|0)+8>>3]}r=S[b>>3];Wa:{if(d>>>0<=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Wa}b=(n+(l<<3)|0)+8|0}c=a+3|0;Xa:{if(c>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Xa}h=S[(n+(c<<3)|0)+8>>3]}j=j+k;m=m+r;k=S[b>>3];b=a+4|0;Ya:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ya}b=(n+(b<<3)|0)+8|0}p=m+k;o=j+h;a=a+5|0;Za:{if(a>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Za}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;h=p+S[b>>3];a=N[g+8>>2];_a:{if(!a){k=s;r=h;break _a}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;p=p+t;j=j+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(j)),U(u*U(p)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;break n}i=N[g+36>>2];a=i&1;l=a|4;if(i>>>0>>0){break n}j=S[g+4408>>3]+(a?S[g+40>>3]:-0);p=S[g+4416>>3];while(1){$a:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break $a}h=S[(n+(a<<3)|0)+8>>3]}b=a+1|0;ab:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break ab}b=(n+(b<<3)|0)+8|0}m=p+h;h=m;c=a+2|0;bb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break bb}k=S[(n+(c<<3)|0)+8>>3]}r=j+S[b>>3];o=h+k;a=a+3|0;cb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break cb}h=S[(n+(a<<3)|0)+8>>3]}p=o+h;a=N[g+8>>2];db:{if(!a){h=r;k=p;break db}t=S[a+8>>3];k=p+t;o=o+t;s=S[a>>3];h=r+s;m=m+t;j=j+s}a=N[g>>2];q=R[a+44>>2];x=U(q*U(j));u=R[a+48>>2];q=U(q*U(h));Cb(N[g+4>>2],x,U(u*U(m)),q,U(u*U(o)),q,U(u*U(k)));S[g+4416>>3]=p;S[g+4408>>3]=r;j=r;i=N[g+36>>2];a=l;l=a+4|0;if(i>>>0>=l>>>0){continue}break}break n}i=N[g+36>>2];a=i&1;l=a|4;if(i>>>0>>0){break n}j=S[g+4416>>3]+(a?S[g+40>>3]:-0);p=S[g+4408>>3];while(1){eb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break eb}h=S[(n+(a<<3)|0)+8>>3]}b=a+1|0;fb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break fb}b=(n+(b<<3)|0)+8|0}m=p+h;c=a+2|0;gb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break gb}h=S[(n+(c<<3)|0)+8>>3]}r=j+h;o=m+S[b>>3];a=a+3|0;hb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break hb}h=S[(n+(a<<3)|0)+8>>3]}p=o+h;a=N[g+8>>2];ib:{if(!a){h=r;k=p;break ib}t=S[a>>3];k=p+t;s=S[a+8>>3];h=r+s;o=o+t;j=j+s;m=m+t}a=N[g>>2];x=R[a+44>>2];q=R[a+48>>2];u=U(q*U(h));Cb(N[g+4>>2],U(x*U(m)),U(q*U(j)),U(x*U(o)),u,U(x*U(k)),u);S[g+4416>>3]=r;S[g+4408>>3]=p;j=r;i=N[g+36>>2];a=l;l=a+4|0;if(i>>>0>=l>>>0){continue}break}break n}i=N[g+36>>2];if(i&4){break q}if(i>>>0<8){break n}a=0;l=8;h=S[g+4416>>3];j=S[g+4408>>3];while(1){jb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break jb}k=S[(n+(a<<3)|0)+8>>3]}b=a|1;kb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break kb}b=(n+(b<<3)|0)+8|0}o=h+k;c=a|2;lb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break lb}h=S[(n+(c<<3)|0)+8>>3]}m=o+h;p=j+S[b>>3];b=a|3;mb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break mb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;f=N[g+8>>2];nb:{if(!f){h=m;k=r;break nb}t=S[f>>3];k=r+t;s=S[f+8>>3];h=m+s;p=p+t;o=o+s;j=j+t}e=N[g>>2];x=R[e+44>>2];q=R[e+48>>2];u=U(q*U(h));d=N[g+4>>2];Cb(d,U(x*U(j)),U(q*U(o)),U(x*U(p)),u,U(x*U(k)),u);S[g+4416>>3]=m;S[g+4408>>3]=r;i=N[g+36>>2];b=a|4;ob:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break ob}h=S[(n+(b<<3)|0)+8>>3]}b=a|5;pb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break pb}b=(n+(b<<3)|0)+8|0}c=a|6;qb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break qb}k=S[(n+(c<<3)|0)+8>>3]}p=r+h;j=S[b>>3];b=a|7;rb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break rb}h=S[(n+(b<<3)|0)+8>>3]}s=m+k;o=p+j;j=o;sb:{if(i-a>>>0>15){break sb}j=o;if(!(i&1)){break sb}tb:{if(i>>>0<=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break tb}k=S[(n+(l<<3)|0)+8>>3]}j=o+k}h=s+h;ub:{if(!f){k=h;r=j;break ub}w=S[f+8>>3];k=h+w;t=S[f>>3];r=j+t;s=s+w;o=o+t;m=m+w;p=p+t}u=R[e+44>>2];q=R[e+48>>2];Cb(d,U(u*U(p)),U(q*U(m)),U(u*U(o)),U(q*U(s)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=h;S[g+4408>>3]=j;i=N[g+36>>2];a=l;l=a+8|0;if(i>>>0>=l>>>0){continue}break}break n}i=N[g+36>>2];if(i&4){break r}if(i>>>0<8){break n}a=0;l=8;j=S[g+4416>>3];h=S[g+4408>>3];while(1){vb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break vb}k=S[(n+(a<<3)|0)+8>>3]}b=a|1;wb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break wb}b=(n+(b<<3)|0)+8|0}o=h+k;c=a|2;xb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break xb}h=S[(n+(c<<3)|0)+8>>3]}m=o+S[b>>3];p=j+h;b=a|3;yb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break yb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;f=N[g+8>>2];zb:{if(!f){h=m;k=r;break zb}t=S[f+8>>3];k=r+t;p=p+t;s=S[f>>3];h=m+s;j=j+t;o=o+s}d=N[g+4>>2];e=N[g>>2];q=R[e+44>>2];x=U(q*U(o));u=R[e+48>>2];q=U(q*U(h));Cb(d,x,U(u*U(j)),q,U(u*U(p)),q,U(u*U(k)));S[g+4416>>3]=r;S[g+4408>>3]=m;i=N[g+36>>2];b=a|4;Ab:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ab}h=S[(n+(b<<3)|0)+8>>3]}b=a|5;Bb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Bb}b=(n+(b<<3)|0)+8|0}c=a|6;Cb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Cb}k=S[(n+(c<<3)|0)+8>>3]}p=r+h;j=S[b>>3];b=a|7;Db:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Db}h=S[(n+(b<<3)|0)+8>>3]}s=m+j;o=p+k;j=o;Eb:{if(i-a>>>0>15){break Eb}j=o;if(!(i&1)){break Eb}Fb:{if(i>>>0<=l>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;k=0;break Fb}k=S[(n+(l<<3)|0)+8>>3]}j=o+k}h=s+h;Gb:{if(!f){k=j;r=h;break Gb}w=S[f+8>>3];k=j+w;t=S[f>>3];r=h+t;o=o+w;s=s+t;p=p+w;m=m+t}u=R[e+44>>2];q=R[e+48>>2];Cb(d,U(u*U(m)),U(q*U(p)),U(u*U(s)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=j;S[g+4408>>3]=h;i=N[g+36>>2];a=l;l=a+8|0;if(i>>>0>=l>>>0){continue}break}break n}if(N[g+36>>2]==7){m=S[g+48>>3];k=S[g+40>>3];h=S[g+4408>>3];a=g+4520|0;r=S[g+4416>>3];j=r+S[g+56>>3];S[a>>3]=j;k=h+k;h=m+k;S[g+4512>>3]=h+S[g+64>>3];d=N[a+4>>2];a=N[a>>2];b=g+4504|0;N[b>>2]=a;N[b+4>>2]=d;b=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=b;S[g+4496>>3]=S[g+4496>>3]+S[g+72>>3];c=g+4488|0;b=c;N[b>>2]=a;N[b+4>>2]=d;S[b>>3]=r;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[g+4480>>3]=S[g+4480>>3]+S[g+80>>3];a=N[b+4>>2];b=g+4472|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[g+4464>>3]=S[g+4464>>3]+S[g+88>>3];Ng(g+16|0,g,k,r,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}if(N[g+36>>2]==13){r=S[g+56>>3];k=S[g+40>>3];h=S[g+4408>>3];c=g+4520|0;m=S[g+4416>>3]+S[g+48>>3];j=m+S[g+64>>3];S[c>>3]=j+S[g+80>>3];k=h+k;h=r+k;S[g+4512>>3]=h+S[g+72>>3];a=N[c+4>>2];d=g+4504|0;b=d;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=a;S[b>>3]=S[b>>3]+S[g+96>>3];S[g+4496>>3]=S[g+4496>>3]+S[g+88>>3];a=N[b+4>>2];c=g+4488|0;b=c;N[b>>2]=N[d>>2];N[b+4>>2]=a;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[b>>3]=S[b>>3]+S[g+112>>3];S[g+4480>>3]=S[g+4480>>3]+S[g+104>>3];a=N[b+4>>2];b=g+4472|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[b>>3]=S[b>>3]+S[g+128>>3];S[g+4464>>3]=S[g+4464>>3]+S[g+120>>3];Ng(g+16|0,g,k,m,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}if(N[g+36>>2]==9){s=S[g+56>>3];k=S[g+40>>3];h=S[g+4408>>3];a=g+4520|0;r=S[g+4416>>3];m=r+S[g+48>>3];j=m+S[g+64>>3];S[a>>3]=j;k=h+k;h=s+k;S[g+4512>>3]=h+S[g+72>>3];c=N[a+4>>2];a=N[a>>2];b=g+4504|0;N[b>>2]=a;N[b+4>>2]=c;b=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=b;S[g+4496>>3]=S[g+4496>>3]+S[g+80>>3];d=g+4488|0;N[d>>2]=a;N[d+4>>2]=c;a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[d>>3]=S[d>>3]+S[g+96>>3];S[g+4480>>3]=S[g+4480>>3]+S[g+88>>3];a=N[d+4>>2];b=g+4472|0;N[b>>2]=N[d>>2];N[b+4>>2]=a;S[b>>3]=r;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;S[g+4464>>3]=S[g+4464>>3]+S[g+104>>3];Ng(g+16|0,g,k,m,h,j,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}if(N[g+36>>2]==11){E=S[g+104>>3];F=S[g+112>>3];G=S[g+88>>3];H=S[g+96>>3];I=S[g+72>>3];J=S[g+56>>3];w=S[g+4408>>3];t=S[g+40>>3];b=g+4520|0;h=S[g+4416>>3];p=S[g+48>>3];o=h+p;s=S[g+64>>3];r=o+s;m=S[g+80>>3];S[b>>3]=r+m;j=w+t;k=J+j;S[g+4512>>3]=I+k;a=N[b+4>>2];c=g+4504|0;N[c>>2]=N[b>>2];N[c+4>>2]=a;S[c>>3]=H+S[c>>3];a=N[g+4516>>2];N[g+4496>>2]=N[g+4512>>2];N[g+4500>>2]=a;S[g+4496>>3]=G+S[g+4496>>3];a=N[c+4>>2];b=g+4488|0;N[b>>2]=N[c>>2];N[b+4>>2]=a;S[b>>3]=F+S[b>>3];a=N[g+4500>>2];N[g+4480>>2]=N[g+4496>>2];N[g+4484>>2]=a;S[g+4480>>3]=E+S[g+4480>>3];a=N[b+4>>2];c=g+4472|0;N[c>>2]=N[b>>2];N[c+4>>2]=a;a=N[g+4484>>2];N[g+4464>>2]=N[g+4480>>2];N[g+4468>>2]=a;K=h;h=S[g+120>>3];a=V(E+(G+(I+(J+(t+0)))))>V(F+(H+(m+(s+(p+0)))));S[c>>3]=a?K:S[c>>3]+h;S[g+4464>>3]=a?h+S[g+4464>>3]:w;Ng(g+16|0,g,j,o,k,r,g+4512|0,g+4496|0,g+4480|0,g+4464|0);break n}N[g+24>>2]=c+1;break n}uf(i,g+16|0);break k}i=N[g+36>>2];a=i&1;break m}m=S[g+4416>>3];o=m+S[g+56>>3];s=o+S[g+64>>3];p=S[g+4408>>3]+S[g+40>>3];j=p+S[g+48>>3];l=12;a=4;if(i>>>0>=12){while(1){i=N[g+8>>2];Hb:{if(!i){h=j;k=s;break Hb}t=S[i+8>>3];k=s+t;o=o+t;r=S[i>>3];h=j+r;m=m+t;p=p+r}d=N[g+4>>2];f=N[g>>2];q=R[f+44>>2];x=U(q*U(p));u=R[f+48>>2];q=U(q*U(h));Cb(d,x,U(u*U(m)),q,U(u*U(o)),q,U(u*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=j;e=N[g+36>>2];Ib:{if(e>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Ib}h=S[(n+(a<<3)|0)+8>>3]}b=a|1;Jb:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Jb}b=(n+(b<<3)|0)+8|0}o=s+h;c=a|2;Kb:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Kb}h=S[(n+(c<<3)|0)+8>>3]}m=o+h;p=j+S[b>>3];b=a|3;Lb:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Lb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;Mb:{if(!i){h=m;k=r;break Mb}t=S[i>>3];k=r+t;s=S[i+8>>3];h=m+s;p=p+t;o=o+s;j=j+t}q=R[f+48>>2];x=U(q*U(h));u=R[f+44>>2];Cb(d,U(u*U(j)),U(q*U(o)),U(u*U(p)),x,U(u*U(k)),x);S[g+4416>>3]=m;S[g+4408>>3]=r;i=N[g+36>>2];b=a+4|0;Nb:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Nb}h=S[(n+(b<<3)|0)+8>>3]}b=a+5|0;Ob:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ob}b=(n+(b<<3)|0)+8|0}p=r+h;c=a+6|0;Pb:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Pb}h=S[(n+(c<<3)|0)+8>>3]}j=p+S[b>>3];o=m+h;a=a+7|0;Qb:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Qb}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;a=l;l=a+8|0;if(l>>>0<=i>>>0){continue}break}}h=j;h=a>>>0>>0?h+S[(n+(a<<3)|0)+8>>3]:h;a=N[g+8>>2];Rb:{if(!a){k=s;r=h;break Rb}w=S[a+8>>3];k=s+w;t=S[a>>3];r=h+t;o=o+w;j=j+t;m=m+w;p=p+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(p)),U(q*U(m)),U(u*U(j)),U(q*U(o)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=s;S[g+4408>>3]=h;break n}m=S[g+4408>>3];o=m+S[g+48>>3];s=o+S[g+64>>3];p=S[g+4416>>3]+S[g+40>>3];j=p+S[g+56>>3];l=12;a=4;if(i>>>0>=12){while(1){i=N[g+8>>2];Sb:{if(!i){h=j;k=s;break Sb}t=S[i>>3];k=s+t;r=S[i+8>>3];h=j+r;o=o+t;p=p+r;m=m+t}f=N[g>>2];x=R[f+44>>2];q=R[f+48>>2];u=U(q*U(h));d=N[g+4>>2];Cb(d,U(x*U(m)),U(q*U(p)),U(x*U(o)),u,U(x*U(k)),u);S[g+4416>>3]=j;S[g+4408>>3]=s;e=N[g+36>>2];Tb:{if(e>>>0<=a>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Tb}h=S[(n+(a<<3)|0)+8>>3]}b=a|1;Ub:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Ub}b=(n+(b<<3)|0)+8|0}o=s+h;c=a|2;Vb:{if(c>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Vb}h=S[(n+(c<<3)|0)+8>>3]}m=o+S[b>>3];p=j+h;b=a|3;Wb:{if(b>>>0>=e>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Wb}h=S[(n+(b<<3)|0)+8>>3]}r=p+h;Xb:{if(!i){h=m;k=r;break Xb}t=S[i+8>>3];k=r+t;p=p+t;s=S[i>>3];h=m+s;j=j+t;o=o+s}q=R[f+44>>2];u=U(q*U(h));x=U(q*U(o));q=R[f+48>>2];Cb(d,x,U(q*U(j)),u,U(q*U(p)),u,U(q*U(k)));S[g+4416>>3]=r;S[g+4408>>3]=m;i=N[g+36>>2];b=a+4|0;Yb:{if(i>>>0<=b>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break Yb}h=S[(n+(b<<3)|0)+8>>3]}b=a+5|0;Zb:{if(b>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;b=589824;break Zb}b=(n+(b<<3)|0)+8|0}p=r+h;c=a+6|0;_b:{if(c>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break _b}h=S[(n+(c<<3)|0)+8>>3]}j=p+h;o=m+S[b>>3];a=a+7|0;$b:{if(a>>>0>=i>>>0){N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0;break $b}h=S[(n+(a<<3)|0)+8>>3]}s=o+h;a=l;l=a+8|0;if(l>>>0<=i>>>0){continue}break}}h=j;h=a>>>0>>0?h+S[(n+(a<<3)|0)+8>>3]:h;a=N[g+8>>2];ac:{if(!a){k=h;r=s;break ac}w=S[a+8>>3];k=h+w;t=S[a>>3];r=s+t;j=j+w;o=o+t;p=p+w;m=m+t}a=N[g>>2];u=R[a+44>>2];q=R[a+48>>2];Cb(N[g+4>>2],U(u*U(m)),U(q*U(p)),U(u*U(o)),U(q*U(j)),U(u*U(r)),U(q*U(k)));S[g+4416>>3]=h;S[g+4408>>3]=s;break n}N[147456]=0;N[147457]=0;L[g+32|0]=1;h=0}k=h+S[g+4408>>3];h=S[g+4416>>3]+S[l>>3];ij(g,k,h);S[g+4416>>3]=h;S[g+4408>>3]=k;if(O[g+4165|0]){break n}if(!O[g+4166|0]){L[g+4166|0]=1;a=N[g+4172>>2]+(N[g+36>>2]>>>1|0)|0;N[g+4172>>2]=a;N[g+4176>>2]=(a+N[g+4168>>2]|0)+7>>>3}L[g+4165|0]=1}N[g+36>>2]=0;N[g+4428>>2]=0;break k}if(!(!a|!i)){a=N[g+44>>2];N[g+4432>>2]=N[g+40>>2];N[g+4436>>2]=a;L[g+4425|0]=1}L[g+4424|0]=1}N[g+4428>>2]=0;a=N[g+36>>2];N[g+36>>2]=0;N[g+4168>>2]=N[g+4168>>2]+(a>>>1|0)}i=0;if(O[g+4180|0]){break a}a=N[g+24>>2];c=N[g+20>>2];if(O[g+32|0]|a>>>0>c>>>0){break a}if(!O[g+4164|0]){continue}}break}d=N[g+4>>2];a=d+16|0;if(N[d+16>>2]){b=N[d+12>>2];c=N[d+8>>2];u=R[d+20>>2];q=R[d+24>>2];if(!(u==R[d+28>>2]&q==R[d+32>>2])){e=N[c+16>>2];d=N[c+32>>2];if(d){d=N[d+4>>2]}else{d=0}Qa[e|0](c,b,a,u,q,d)}e=N[c+28>>2];d=N[c+32>>2];if(d){d=N[d+16>>2]}else{d=0}Qa[e|0](c,b,a,d)}N[a>>2]=0;N[a+4>>2]=0;N[a+16>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;i=1}La=g+4528|0;return i}function kj(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,P=0;e=La-4512|0;La=e;N[c+16>>2]=0;N[c+20>>2]=-1042284544;N[c+8>>2]=-4194304;N[c+12>>2]=1105199103;N[c>>2]=-4194304;N[c+4>>2]=1105199103;N[c+24>>2]=0;N[c+28>>2]=-1042284544;a:{if(!N[a+44>>2]|Q[a+216>>2]<=b>>>0){break a}z=N[a+80>>2];b:{if((z|0)==275552){break b}c:{d:{switch(O[z|0]){case 0:j=(b+z|0)+1|0;break c;case 3:break d;default:break b}}if(O[z+1|0]|O[z+2|0]<<8){I=O[z+1|0]|O[z+2|0]<<8;j=z+3|0}else{j=275552}E=(I<<8|(I&65280)>>>8)&65535;e:{if(E>>>0>=2){v=E-2|0;while(1){u=s+v>>>1|0;l=j+T(u,3)|0;y=O[l|0]|O[l+1|0]<<8;f:{if(((y<<8|y>>>8)&65535)>>>0<=b>>>0){y=O[l+3|0]|O[l+4|0]<<8;if(((y<<8|y>>>8)&65535)>>>0>b>>>0){break e}s=u+1|0;break f}v=u-1|0}if((s|0)<=(v|0)){continue}break}}if(!I){l=275552;break e}l=z+T(E,3)|0}j=l+2|0}v=O[j|0]}gd(e+4432|0,N[a+72>>2],b);u=N[(Q[a+208>>2]<=v>>>0?275552:N[a+212>>2]+T(v,24)|0)+20>>2];s=N[a+68>>2];L[e+16|0]=0;C(e+20|0,0,4108);b=e+4192|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4200>>2]=0;b=e+4212|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4220>>2]=0;b=e+4232|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4240>>2]=0;b=e+4252|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4260>>2]=0;b=e+4272|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4280>>2]=0;b=e+4292|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4300>>2]=0;N[e+4320>>2]=0;b=e+4312|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4340>>2]=0;b=e+4332|0;N[b>>2]=0;N[b+4>>2]=0;L[e+4164|0]=0;N[e+8>>2]=0;l=N[e+4436>>2];b=N[e+4432>>2];N[e>>2]=b;N[e+4>>2]=l;N[e+4360>>2]=0;j=e+4352|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4176|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4168|0;N[j>>2]=0;N[j+4>>2]=0;N[e+4144>>2]=0;j=e+4136|0;N[j>>2]=0;N[j+4>>2]=0;j=e+4400|0;N[j>>2]=0;N[j+4>>2]=0;N[e+4376>>2]=s;N[e+4128>>2]=b;N[e+4132>>2]=l;N[e+4160>>2]=0;N[e+4152>>2]=0;N[e+4156>>2]=0;L[e+4149|0]=1;L[e+4150|0]=0;N[e+4392>>2]=0;N[e+4396>>2]=0;j=107;y=107;g:{if(!s){break g}b=O[s|0]|O[s+1|0]<<8;b=(b<<8|b>>>8)&65535;y=107;if(b>>>0<1240){break g}y=b>>>0<33900?1131:32768}N[e+4384>>2]=u;N[e+4372>>2]=y;h:{if(!u){break h}b=O[u|0]|O[u+1|0]<<8;b=(b<<8|b>>>8)&65535;if(b>>>0<1240){break h}j=b>>>0<33900?1131:32768}K=e+4164|0;y=e+4128|0;t=e+16|0;N[e+4416>>2]=0;N[e+4420>>2]=0;N[e+4380>>2]=j;L[e+4424|0]=d;N[e+4412>>2]=0;M[e+4408>>1]=0;L[e+4148|0]=0;P=1e4;m=2147483647;h=-2147483648;n=-2147483648;k=2147483647;v=0;s=0;while(1){P=P-1|0;if(P){j=65535;i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{u:{d=s+1|0;if(d>>>0>l>>>0){break u}u=N[e>>2];b=O[u+s|0];N[e+8>>2]=d;v:{w:{x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{U:{V:{if((b|0)!=12){s=d;break V}s=s+2|0;if(s>>>0>l>>>0){break u}b=O[d+u|0];N[e+8>>2]=s;b=b|256}j=b;switch(j-1|0){case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break u;case 30:break z;case 29:break A;case 26:break B;case 25:break C;case 24:break D;case 23:break E;case 7:break F;case 6:break G;case 5:break H;case 4:break I;case 3:break J;case 21:break K;case 20:break L;case 18:case 19:break M;case 2:case 22:break N;case 0:case 17:break O;case 28:break P;case 9:break Q;case 10:break S;case 13:break T;default:break U}}switch(j-255|0){case 1:break j;case 38:break v;case 37:break w;case 36:break x;case 35:break y;case 0:break R;default:break u}}d=N[e+20>>2];if(!O[e+4408|0]){if(d&1){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}W:{if(d>>>0<4){break W}j=(d<<3)+t|0;f=S[j-8>>3];X:{if(V(f)<2147483648){b=~~f;break X}b=-2147483648}q=S[j-16>>3];o=S[j-24>>3];d=0;Y:{if(b>>>0>255){break Y}l=O[b+267360|0];d=N[a+52>>2];if((d|0)!=275552){d=vf(d,l,N[a+216>>2]);break Y}d=b>>>0<229?N[a+172>>2]?0:l:0}f=S[j>>3];Z:{if(V(f)<2147483648){b=~~f;break Z}b=-2147483648}l=0;_:{if(b>>>0>255){break _}j=O[b+267360|0];l=N[a+52>>2];if((l|0)!=275552){l=vf(l,j,N[a+216>>2]);break _}l=b>>>0<229?N[a+172>>2]?0:j:0}b=e+4504|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4496|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4488|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4480>>2]=0;N[e+4484>>2]=0;b=e+4472|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4464|0;N[b>>2]=0;N[b+4>>2]=0;b=e+4456|0;N[b>>2]=0;N[b+4>>2]=0;N[e+4448>>2]=0;N[e+4452>>2]=0;$:{b=l;if(O[e+4424|0]|(!b|!d)){break $}if(!kj(a,d,e+4480|0,1)){break $}if(!kj(a,b,e+4448|0,1)){break $}p=S[e+4504>>3];aa:{if(!(km)){n=S[e+4496>>3];m=S[e+4488>>3];k=S[e+4480>>3];break aa}i=S[e+4496>>3];g=S[e+4480>>3];ba:{if(!(i>g)){break ba}f=S[e+4488>>3];if(!(fn?i:n;k=g>3];i=S[e+4464>>3];g=S[e+4456>>3];h=S[e+4472>>3];if(!(!(fn?i:n;k=fp){break W}h=p;L[e+4148|0]=1;break j}N[e+8>>2]=N[e+4>>2]+1}L[e+4148|0]=1;break j}b=N[e+4168>>2];ca:{if(b){b=b-1|0;N[e+4168>>2]=b;b=(T(b,20)+K|0)+8|0;break ca}N[147456]=0;N[147457]=0;N[147458]=0;N[147459]=0;L[e+4164|0]=1;N[147460]=0;b=589824}l=N[b+4>>2];d=y;N[d>>2]=N[b>>2];N[d+4>>2]=l;N[d+16>>2]=N[b+16>>2];l=b+8|0;d=N[l+4>>2];N[y+8>>2]=N[l>>2];N[y+12>>2]=d;l=N[b>>2];d=N[b+4>>2];N[e+8>>2]=N[b+8>>2];N[e>>2]=l;N[e+4>>2]=d;break i}if(s+4>>>0>l>>>0){break i}da:{if(l>>>0<=s>>>0){s=l+1|0;b=275552;break da}b=s+u|0}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);d=N[e+20>>2];ea:{if(d>>>0<=512){N[e+20>>2]=d+1;d=((d<<3)+t|0)+8|0;break ea}N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824}S[d>>3]=+(b|0)*152587890625e-16;N[e+8>>2]=s+4;break i}fa:{b=N[e+20>>2];ga:{if(b){b=b-1|0;N[e+20>>2]=b;f=S[((b<<3)+t|0)+8>>3];if(V(f)<2147483648){b=~~f;break ga}b=-2147483648;break ga}N[147456]=0;N[147457]=0;L[e+16|0]=1;b=0}j=b+N[e+4380>>2]|0;ha:{if((j|0)<0){break ha}b=N[e+4384>>2];if(!b){break ha}b=O[b|0]|O[b+1|0]<<8;if(j>>>0>=((b<<8|b>>>8)&65535)>>>0){break ha}d=N[e+4168>>2];if(d>>>0<10){break fa}}N[e+8>>2]=l+1;break i}b=N[e+4>>2];N[y>>2]=N[e>>2];N[y+4>>2]=b;N[y+8>>2]=N[e+8>>2];N[e+4168>>2]=d+1;d=T(d,20)+K|0;N[d+24>>2]=N[y+16>>2];b=N[y+12>>2];N[d+16>>2]=N[y+8>>2];N[d+20>>2]=b;b=N[y+4>>2];N[d+8>>2]=N[y>>2];N[d+12>>2]=b;b=0;s=0;l=N[e+4384>>2];ia:{if(!l){break ia}d=O[l|0]|O[l+1|0]<<8;if(j>>>0>=((d<<8|d>>>8)&65535)>>>0){break ia}gd(e+4480|0,l,j);b=N[e+4480>>2];s=N[e+4484>>2]}N[e+4144>>2]=j;N[e+4136>>2]=0;N[e+4140>>2]=2;N[e+4128>>2]=b;N[e+4132>>2]=s;N[e+8>>2]=N[y+8>>2];b=N[y+4>>2];N[e>>2]=N[y>>2];N[e+4>>2]=b;break i}ja:{b=N[e+20>>2];ka:{if(b){b=b-1|0;N[e+20>>2]=b;f=S[((b<<3)+t|0)+8>>3];if(V(f)<2147483648){b=~~f;break ka}b=-2147483648;break ka}N[147456]=0;N[147457]=0;L[e+16|0]=1;b=0}j=b+N[e+4372>>2]|0;la:{if((j|0)<0){break la}b=N[e+4376>>2];if(!b){break la}b=O[b|0]|O[b+1|0]<<8;if(j>>>0>=((b<<8|b>>>8)&65535)>>>0){break la}d=N[e+4168>>2];if(d>>>0<10){break ja}}N[e+8>>2]=l+1;break i}b=N[e+4>>2];N[y>>2]=N[e>>2];N[y+4>>2]=b;N[y+8>>2]=N[e+8>>2];N[e+4168>>2]=d+1;d=T(d,20)+K|0;N[d+24>>2]=N[y+16>>2];b=N[y+12>>2];N[d+16>>2]=N[y+8>>2];N[d+20>>2]=b;b=N[y+4>>2];N[d+8>>2]=N[y>>2];N[d+12>>2]=b;b=0;s=0;l=N[e+4376>>2];ma:{if(!l){break ma}d=O[l|0]|O[l+1|0]<<8;if(j>>>0>=((d<<8|d>>>8)&65535)>>>0){break ma}gd(e+4480|0,l,j);b=N[e+4480>>2];s=N[e+4484>>2]}N[e+4144>>2]=j;N[e+4136>>2]=0;N[e+4140>>2]=1;N[e+4128>>2]=b;N[e+4132>>2]=s;N[e+8>>2]=N[y+8>>2];b=N[y+4>>2];N[e>>2]=N[y>>2];N[e+4>>2]=b;break i}if(O[e+4408|0]|j>>>0>18){break l}if(1<>2];s=j>>>0>1;break m}na:{if(O[e+4408|0]|j>>>0>23){break na}oa:{pa:{b=1<>2];b=j>>>0>2;break oa}j=N[e+20>>2];b=j&1;break oa}j=N[e+20>>2];b=j>>>0>1}if(!(!b|!j)){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;L[e+4409|0]=1}L[e+4408|0]=1}N[e+4412>>2]=0;b=N[e+20>>2];N[e+20>>2]=0;N[e+4156>>2]=N[e+4156>>2]+(b>>>1|0);break i}if(!O[e+4408|0]){if(L[e+20|0]&1){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}qa:{if(O[e+4150|0]){j=N[e+4160>>2];break qa}L[e+4150|0]=1;b=N[e+4156>>2]+(N[e+20>>2]>>>1|0)|0;N[e+4156>>2]=b;j=(b+N[e+4152>>2]|0)+7>>>3|0;N[e+4160>>2]=j}b=j+s|0;if(b>>>0>l>>>0){break i}N[e+20>>2]=0;N[e+4412>>2]=0;N[e+8>>2]=b;break i}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=3){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}if(!d){s=589824;break q}b=d-1|0;s=((b<<3)+t|0)+8|0;if(!b){break q}b=d-2|0;j=b>>>1|0;i=S[((b<<3)+t|0)+8>>3];break p}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=2){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}ra:{if(d){b=d-1|0;s=b>>>1|0;g=S[((b<<3)+t|0)+8>>3];break ra}s=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0}f=S[e+4392>>3];S[e+4400>>3]=S[e+4400>>3];S[e+4392>>3]=f+g;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+s|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3;break o}d=N[e+20>>2];if(!O[e+4408|0]){if(d>>>0>=2){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;N[e+4412>>2]=1;L[e+4409|0]=1}L[e+4408|0]=1}sa:{if(d){b=d-1|0;s=b>>>1|0;g=S[((b<<3)+t|0)+8>>3];break sa}s=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0}f=S[e+4400>>3];S[e+4392>>3]=S[e+4392>>3];S[e+4400>>3]=f+g;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+s|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3;break o}s=N[e+20>>2];if(s>>>0<2){break j}j=0;l=2;g=S[e+4400>>3];i=S[e+4392>>3];while(1){b=j;j=l;f=g;o=i;ta:{if(b>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break ta}d=((b<<3)+t|0)+8|0}i=i+S[d>>3];g=f+S[((b<<3|8)+t|0)+8>>3];ua:{if(!(v&255)){m=fo?o:k;v=1;if(f>h){break ua}}f=h}S[e+4400>>3]=g;h=f>3]=i;n=i>n?i:n;k=i>>0>=l>>>0){continue}break}break j}j=0;d=N[e+20>>2];if(d>>>0>=2){l=2;f=S[e+4400>>3];i=S[e+4392>>3];while(1){b=j;j=l;g=f;f=i;va:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;i=0;break va}i=S[((b<<3)+t|0)+8>>3]}i=f+i;wa:{if(v&255){break wa}m=gn?f:n;k=fh)){break wa}h=g}S[e+4392>>3]=i;S[e+4400>>3]=g;f=S[((b<<3|8)+t|0)+8>>3];S[e+4392>>3]=i;f=g+f;S[e+4400>>3]=f;h=g>h?g:h;h=f>h?f:h;g=gn?i:n;k=i>>0>=l>>>0){continue}break}}if(d>>>0<=j>>>0){break j}g=S[e+4392>>3];i=g+S[((j<<3)+t|0)+8>>3];f=S[e+4400>>3];xa:{if(v&255){break xa}m=fn?g:n;k=gh)){break xa}h=f}S[e+4400>>3]=f;m=f>3]=i;n=i>n?i:n;k=ih)){break j}h=f;break j}j=0;d=N[e+20>>2];if(d>>>0>=2){l=2;i=S[e+4400>>3];f=S[e+4392>>3];while(1){b=j;j=l;g=f;p=i;ya:{if(b>>>0>=d>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break ya}f=S[((b<<3)+t|0)+8>>3]}i=i+f;za:{if(!(v&255)){m=m>p?p:m;n=g>n?g:n;k=g>3]=i;S[e+4392>>3]=g;h=S[((b<<3|8)+t|0)+8>>3];S[e+4400>>3]=i;f=g+h;S[e+4392>>3]=f;h=g>n?g:n;n=f>h?f:h;h=gp?i:p;m=i>>0>=l>>>0){continue}break}}if(d>>>0<=j>>>0){break j}f=S[e+4400>>3];g=f+S[((j<<3)+t|0)+8>>3];i=S[e+4392>>3];Aa:{if(!(v&255)){m=fn?i:n;k=ih){break Aa}}f=h}n=i>n?i:n;k=i>3]=g;m=g>2];if(s>>>0<6){break j}b=0;l=6;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;p=i;o=g;Ba:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ba}d=((j<<3)+t|0)+8|0}l=j|1;Ca:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Ca}g=S[((l<<3)+t|0)+8>>3]}i=S[d>>3];d=j+2|0;Da:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Da}d=((d<<3)+t|0)+8|0}l=j+3|0;Ea:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ea}f=S[((l<<3)+t|0)+8>>3]}x=o+g;w=p+i;g=S[d>>3];d=j+4|0;Fa:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Fa}d=((d<<3)+t|0)+8|0}r=w+g;q=x+f;l=j+5|0;Ga:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ga}f=S[((l<<3)+t|0)+8>>3]}g=q+f;i=r+S[d>>3];Ha:{if(!(v&255)){m=m>o?o:m;n=np?p:k;v=1;if(h>3]=g;h=oh?g:h;f=m>x?x:m;f=f>q?q:f;m=f>g?g:f;S[e+4392>>3]=i;f=nw?w:k;f=f>r?r:f;k=f>i?i:f;l=b+6|0;if(s>>>0>=l>>>0){continue}break}break j}u=N[e+20>>2];if(u>>>0<8){break j}s=u-2|0;b=0;l=6;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;p=i;o=g;Ia:{if(j>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ia}d=((j<<3)+t|0)+8|0}l=j|1;Ja:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Ja}g=S[((l<<3)+t|0)+8>>3]}i=S[d>>3];d=j+2|0;Ka:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ka}d=((d<<3)+t|0)+8|0}l=j+3|0;La:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break La}f=S[((l<<3)+t|0)+8>>3]}x=o+g;w=p+i;g=S[d>>3];d=j+4|0;Ma:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Ma}d=((d<<3)+t|0)+8|0}r=w+g;q=x+f;l=j+5|0;Na:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Na}f=S[((l<<3)+t|0)+8>>3]}g=q+f;i=r+S[d>>3];Oa:{if(!(v&255)){m=m>o?o:m;n=np?p:k;v=1;if(h>3]=g;h=oh?g:h;f=m>x?x:m;f=f>q?q:f;m=f>g?g:f;S[e+4392>>3]=i;f=nw?w:k;f=f>r?r:f;k=f>i?i:f;l=b+6|0;if(s>>>0>=l>>>0){continue}break}Pa:{if(b>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Pa}d=((b<<3)+t|0)+8|0}b=b|1;Qa:{if(b>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Qa}f=S[((b<<3)+t|0)+8>>3]}o=S[d>>3];f=g+f;S[e+4400>>3]=f;m=f>3]=g;n=g>n?g:n;k=gh)){break j}h=f;break j}u=N[e+20>>2];if(u>>>0<8){break j}s=u-6|0;j=0;l=2;g=S[e+4400>>3];i=S[e+4392>>3];while(1){d=j;j=l;o=i;f=g;Ra:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ra}b=((d<<3)+t|0)+8|0}d=d|1;Sa:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break Sa}g=S[((d<<3)+t|0)+8>>3]}g=f+g;i=o+S[b>>3];Ta:{if(!(v&255)){m=fo?o:k;v=1;if(f>h){break Ta}}f=h}S[e+4400>>3]=g;h=f>3]=i;n=i>n?i:n;k=i>>0>=l>>>0){continue}break}Ua:{if(j>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ua}b=((j<<3)+t|0)+8|0}d=j|1;Va:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;o=0;break Va}o=S[((d<<3)+t|0)+8>>3]}p=S[b>>3];Wa:{if(l>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Wa}b=((l<<3)+t|0)+8|0}d=j+3|0;Xa:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Xa}f=S[((d<<3)+t|0)+8>>3]}r=g+o;q=i+p;g=S[b>>3];b=j+4|0;Ya:{if(b>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;b=589824;break Ya}b=((b<<3)+t|0)+8|0}p=r+f;o=q+g;d=j+5|0;Za:{if(d>>>0>=u>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Za}f=S[((d<<3)+t|0)+8>>3]}g=S[b>>3];i=p+f;S[e+4400>>3]=i;h=hh?i:h;f=m>r?r:m;f=f>p?p:f;m=f>i?i:f;g=o+g;S[e+4392>>3]=g;f=nq?q:k;f=f>o?o:f;k=f>g?g:f;break j}s=N[e+20>>2];b=s&1;l=b|4;if(l>>>0>s>>>0){break j}g=S[e+4392>>3];f=g+(b?S[e+24>>3]:-0);i=S[e+4400>>3];while(1){j=b;b=l;o=g;r=i;_a:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break _a}g=S[((j<<3)+t|0)+8>>3]}d=j+1|0;$a:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break $a}d=((d<<3)+t|0)+8|0}q=r+g;l=j+2|0;ab:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break ab}g=S[((l<<3)+t|0)+8>>3]}p=q+g;i=p+S[((j<<3)+t|0)+32>>3];g=f+S[d>>3];bb:{if(!(v&255)){m=m>r?r:m;n=no?o:k;v=1;if(h>3]=i;h=q>r?q:r;h=hh?i:h;o=m>q?q:m;o=o>p?p:o;m=i>3]=g;o=f>n?f:n;n=g>o?g:o;f=fg?g:f;f=g;l=b+4|0;if(s>>>0>=l>>>0){continue}break}break j}s=N[e+20>>2];b=s&1;l=b|4;if(l>>>0>s>>>0){break j}g=S[e+4400>>3];f=g+(b?S[e+24>>3]:-0);i=S[e+4392>>3];while(1){j=b;b=l;o=i;q=g;cb:{if(j>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break cb}g=S[((j<<3)+t|0)+8>>3]}d=j+1|0;db:{if(d>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break db}d=((d<<3)+t|0)+8|0}r=o+g;l=j+2|0;eb:{if(l>>>0>=s>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;g=0;break eb}g=S[((l<<3)+t|0)+8>>3]}p=r+S[d>>3];i=p+S[((j<<3)+t|0)+32>>3];g=f+g;fb:{if(!(v&255)){m=m>q?q:m;n=no?o:k;v=1;if(h>3]=i;h=nh?i:h;h=k>r?r:k;h=h>p?p:h;k=i>3]=g;h=f>q?f:q;h=g>h?g:h;f=fg?g:f;f=g;l=b+4|0;if(s>>>0>=l>>>0){continue}break}break j}z=N[e+20>>2];if(z&4){break r}if(z>>>0<8){break j}I=z&1;b=0;l=8;i=S[e+4400>>3];g=S[e+4392>>3];while(1){j=b;b=l;gb:{if(j>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break gb}f=S[((j<<3)+t|0)+8>>3]}d=j|1;hb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break hb}d=((d<<3)+t|0)+8|0}r=i+f;l=j|2;ib:{if(l>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break ib}f=S[((l<<3)+t|0)+8>>3]}f=r+f;q=g+S[d>>3];d=j|3;jb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;o=0;break jb}o=S[((d<<3)+t|0)+8>>3]}w=q+o;kb:{if(!(v&255)){m=in?g:n;k=gh){break kb}}i=h}o=g>n?g:n;E=o>3]=w;g=gq;s=i>3]=f;l=m>r;d=j|4;lb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break lb}h=S[((d<<3)+t|0)+8>>3]}p=E?q:o;o=u?q:g;i=s?r:i;g=l?r:m;d=j|5;mb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break mb}d=((d<<3)+t|0)+8|0}k=w+h;r=pw?w:o;p=f>i?f:i;o=f>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break nb}h=S[((l<<3)+t|0)+8>>3]}m=f+h;i=m+S[((j<<3|56)+t|0)+8>>3];h=k+S[d>>3];g=h;ob:{if(z-j>>>0>15){break ob}g=h;if(!I){break ob}pb:{if(b>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break pb}f=S[((b<<3)+t|0)+8>>3]}g=h+f}S[e+4392>>3]=g;f=k>r?k:r;f=fh?h:f;k=g>3]=i;h=m>p?m:p;h=i>h?i:h;f=mi?i:f;l=b+8|0;if(z>>>0>=l>>>0){continue}break}break j}A=N[e+20>>2];if(A&4){break s}if(A>>>0<8){break j}z=A&1;b=0;l=8;g=S[e+4400>>3];i=S[e+4392>>3];while(1){j=b;b=l;qb:{if(j>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break qb}f=S[((j<<3)+t|0)+8>>3]}d=j|1;rb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break rb}d=((d<<3)+t|0)+8|0}q=i+f;l=j|2;sb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break sb}f=S[((l<<3)+t|0)+8>>3]}x=q+S[d>>3];p=g+f;d=j|3;tb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break tb}f=S[((d<<3)+t|0)+8>>3]}w=p+f;ub:{if(v&255){break ub}m=gn?i:n;k=ih)){break ub}h=g}i=g>h?g:h;E=i>3]=w;f=gp;s=n>3]=x;l=k>q;d=j|4;vb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break vb}h=S[((d<<3)+t|0)+8>>3]}o=E?p:i;i=u?p:f;g=s?q:n;f=l?q:k;d=j|5;wb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break wb}d=((d<<3)+t|0)+8|0}I=ow;u=gx;n=w+h;l=j|6;xb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break xb}h=S[((l<<3)+t|0)+8>>3]}r=I?w:o;o=E?w:i;q=u?x:g;p=s?x:f;k=x+S[d>>3];i=k+S[((j<<3|56)+t|0)+8>>3];f=n+h;g=f;yb:{if(A-j>>>0>15){break yb}g=f;if(!z){break yb}zb:{if(b>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break zb}h=S[((b<<3)+t|0)+8>>3]}g=f+h}S[e+4400>>3]=g;h=n>r?n:r;h=f>h?f:h;h=g>h?g:h;o=ng?g:f;S[e+4392>>3]=i;f=k>q?k:q;n=fi?i:f;l=b+8|0;if(A>>>0>=l>>>0){continue}break}break j}if(N[e+20>>2]==7){f=S[e+4400>>3];w=f+S[e+40>>3];g=S[e+4392>>3];r=g+S[e+24>>3];q=r+S[e+32>>3];p=q+S[e+48>>3];o=p+S[e+56>>3];i=o+S[e+64>>3];x=i+S[e+72>>3];Ab:{if(v&255){break Ab}m=fn?g:n;k=gh)){break Ab}h=f}S[e+4392>>3]=x;g=nr?r:k;g=g>q?q:g;g=g>p?p:g;g=g>o?o:g;g=g>i?i:g;k=g>x?x:g;S[e+4400>>3]=f;h=f>h?f:h;h=hh?f:h;g=fw?w:g;m=f>2]=l+1;break j}if(N[e+20>>2]==13){f=S[e+4400>>3];F=f+S[e+32>>3];B=F+S[e+48>>3];D=B+S[e+64>>3];x=D+S[e+80>>3];w=x+S[e+96>>3];G=w+S[e+112>>3];r=S[e+4392>>3];q=r+S[e+24>>3];p=q+S[e+40>>3];o=p+S[e+56>>3];i=o+S[e+72>>3];g=i+S[e+88>>3];H=g+S[e+104>>3];Bb:{if(!(v&255)){m=fr?r:k;v=1;if(f>h){break Bb}}f=h}S[e+4400>>3]=G;h=fF?F:m;f=f>B?B:f;f=f>D?D:f;f=f>x?x:f;f=f>w?w:f;m=f>G?G:f;S[e+4392>>3]=H;f=nq?q:k;f=f>p?p:f;f=f>o?o:f;f=f>i?i:f;f=f>g?g:f;k=f>H?H:f;break j}N[e+8>>2]=l+1;break j}if(N[e+20>>2]==9){f=S[e+4400>>3];D=f+S[e+32>>3];x=D+S[e+48>>3];w=x+S[e+80>>3];g=S[e+4392>>3];r=g+S[e+24>>3];q=r+S[e+40>>3];p=q+S[e+56>>3];o=p+S[e+64>>3];i=o+S[e+72>>3];B=i+S[e+88>>3];Cb:{if(v&255){break Cb}m=fn?g:n;k=gh)){break Cb}h=f}S[e+4392>>3]=B;g=nr?r:k;g=g>q?q:g;g=g>p?p:g;g=g>o?o:g;g=g>i?i:g;k=g>B?B:g;S[e+4400>>3]=f;h=hh?f:h;g=m>D?D:m;g=g>x?x:g;g=g>w?w:g;m=f>2]=l+1;break j}if(N[e+20>>2]==11){J=S[e+4392>>3];p=S[e+24>>3];F=J+p;o=S[e+40>>3];B=F+o;i=S[e+56>>3];D=B+i;g=S[e+72>>3];x=D+g;f=S[e+88>>3];w=x+f;r=S[e+104>>3];f=V(p+0+o+i+g+f);q=S[e+32>>3];p=S[e+48>>3];o=S[e+64>>3];i=S[e+80>>3];g=S[e+96>>3];b=f>V(q+0+p+o+i+g);G=b?w+r:J;f=S[e+4400>>3];q=f+q;p=q+p;o=p+o;i=o+i;H=i+g;g=b?f:H+r;Db:{if(!(v&255)){m=fJ?J:k;v=1;if(f>h){break Db}}f=h}S[e+4400>>3]=g;h=fh?i:h;h=hh?g:h;f=m>q?q:m;f=f>p?p:f;f=f>o?o:f;f=f>i?i:f;f=f>H?H:f;m=f>g?g:f;S[e+4392>>3]=G;f=nF?F:k;f=f>B?B:f;f=f>D?D:f;f=f>x?x:f;f=f>w?w:f;k=f>G?G:f;break j}N[e+8>>2]=l+1;break j}uf(j,e);break i}j=N[e+20>>2];s=j&1;break m}g=S[e+4400>>3];q=g+S[e+40>>3];p=q+S[e+48>>3];i=S[e+4392>>3];r=i+S[e+24>>3];f=r+S[e+32>>3];b=12;j=4;if(A>>>0>=12){while(1){Eb:{if(v&255){break Eb}m=gn?i:n;k=ih)){break Eb}h=g}i=g>h?g:h;u=i>3]=p;g=gq;l=n>3]=f;d=k>r;Fb:{if(j>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Fb}h=S[((j<<3)+t|0)+8>>3]}m=u?q:i;o=s?q:g;i=l?r:n;g=d?r:k;d=j|1;Gb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Gb}d=((d<<3)+t|0)+8|0}k=mp?p:o;q=f>i?f:i;o=f>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Hb}h=S[((l<<3)+t|0)+8>>3]}g=n+h;p=f+S[d>>3];d=j|3;Ib:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Ib}h=S[((d<<3)+t|0)+8>>3]}i=p+h;S[e+4392>>3]=i;E=p>q;u=o>p;s=k>3]=g;l=n>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Jb}h=S[((d<<3)+t|0)+8>>3]}q=E?p:q;p=u?p:o;o=s?n:k;f=l?n:r;d=j+5|0;Kb:{if(d>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Kb}d=((d<<3)+t|0)+8|0}r=i+h;n=i>q?i:q;k=io?g:o;m=f>g?g:f;l=j+6|0;Lb:{if(l>>>0>=A>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Lb}f=S[((l<<3)+t|0)+8>>3]}q=g+f;p=q+S[((j<<3)+t|0)- -64>>3];f=r+S[d>>3];j=b;b=b+8|0;if(A>>>0>=b>>>0){continue}break}}o=j>>>0>>0?f+S[((j<<3)+t|0)+8>>3]:f;Mb:{if(v&255){break Mb}m=gn?i:n;k=ih)){break Mb}h=g}S[e+4400>>3]=p;h=g>h?g:h;h=hq?q:g;m=g>p?p:g;S[e+4392>>3]=o;g=ng?f:g;n=gr?r:k;f=fo?o:f;break j}g=S[e+4392>>3];q=g+S[e+32>>3];p=q+S[e+48>>3];i=S[e+4400>>3];r=i+S[e+24>>3];f=r+S[e+40>>3];b=12;j=4;if(z>>>0>=12){while(1){Nb:{if(!(v&255)){m=in?g:n;k=gh){break Nb}}i=h}o=g>n?g:n;u=o>3]=p;g=gq;l=i>3]=f;d=m>r;Ob:{if(j>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Ob}h=S[((j<<3)+t|0)+8>>3]}k=u?q:o;o=s?q:g;i=l?r:i;g=d?r:m;d=j|1;Pb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Pb}d=((d<<3)+t|0)+8|0}m=p+h;n=kp?p:o;p=f>i?f:i;o=f>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Qb}h=S[((l<<3)+t|0)+8>>3]}g=m+S[d>>3];q=f+h;d=j|3;Rb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Rb}h=S[((d<<3)+t|0)+8>>3]}i=q+h;S[e+4400>>3]=i;E=pq;s=m>n;S[e+4392>>3]=g;l=m>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;h=0;break Sb}h=S[((d<<3)+t|0)+8>>3]}k=E?q:p;q=u?q:o;p=s?m:n;o=l?m:r;d=j+5|0;Tb:{if(d>>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;d=589824;break Tb}d=((d<<3)+t|0)+8|0}I=i>k;E=ip;s=g>>0>=z>>>0){N[147456]=0;N[147457]=0;L[e+16|0]=1;f=0;break Ub}f=S[((l<<3)+t|0)+8>>3]}h=I?i:k;m=E?i:q;n=u?g:p;k=s?g:o;q=g+S[d>>3];p=q+S[((j<<3)+t|0)- -64>>3];f=r+f;j=b;b=b+8|0;if(z>>>0>=b>>>0){continue}break}}o=j>>>0>>0?f+S[((j<<3)+t|0)+8>>3]:f;Vb:{if(!(v&255)){m=in?g:n;k=gh){break Vb}}i=h}S[e+4400>>3]=o;h=ih?f:h;h=hr?r:m;f=fo?o:f;S[e+4392>>3]=p;f=g>n?g:n;f=fq?q:f;k=f>p?p:f;break j}j=0;N[147456]=0;N[147457]=0;L[e+16|0]=1;i=0}g=S[e+4400>>3];f=S[s>>3];S[e+4392>>3]=S[e+4392>>3]+i;S[e+4400>>3]=g+f;if(O[e+4149|0]){break n}if(O[e+4150|0]){break o}L[e+4150|0]=1;b=N[e+4156>>2]+j|0;N[e+4156>>2]=b;N[e+4160>>2]=(b+N[e+4152>>2]|0)+7>>>3}L[e+4149|0]=1}v=0;N[e+20>>2]=0;N[e+4412>>2]=0;break i}if(!(!s|!j)){b=N[e+28>>2];N[e+4416>>2]=N[e+24>>2];N[e+4420>>2]=b;L[e+4409|0]=1}L[e+4408|0]=1}N[e+4412>>2]=0;b=N[e+20>>2];N[e+20>>2]=0;N[e+4152>>2]=N[e+4152>>2]+(b>>>1|0);break i}n=i;m=g;k=f;L[e+4148|0]=1}N[e+20>>2]=0;N[e+4412>>2]=0}j=0;if(O[e+4164|0]){break a}l=N[e+4>>2];s=N[e+8>>2];if(O[e+16|0]|l>>>0>>0){break a}if(!O[e+4148|0]){continue}}break}S[c+24>>3]=h;S[c+16>>3]=n;S[c+8>>3]=m;S[c>>3]=k;j=1}La=e+4512|0;return j}function UD(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=U(0),o=0,p=0,q=0,r=0,s=U(0),t=U(0),u=0,v=0,w=0,x=0,y=0;h=La-4512|0;La=h;a:{b:{p=N[b>>2];j=N[p+148>>2];c:{if(j){break c}k=h- -64|0;while(1){l=N[p>>2];if(!l){j=275552;break c}j=db(1,8);if(!j){j=275552;N[p+148>>2]=275552;break c}N[h+56>>2]=0;N[h+60>>2]=0;N[k>>2]=0;N[k+4>>2]=0;L[h+72|0]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[h+76>>2]=0;N[h+80>>2]=0;f=N[l+32>>2];if((f|0)==-1){b=sb(l+56|0);b=O[b+4|0]|O[b+5|0]<<8;f=(b<<8|b>>>8)&65535;N[l+32>>2]=f}L[h+88|0]=1;N[h+84>>2]=f;b=N[l+12>>2];d:{if(b){f=Qa[b|0](l,1935829368,N[l+16>>2])|0;if(f){break d}}f=275552}e=h+48|0;e:{if(!f){break e}b=N[f>>2];if(!b){break e}if((b|0)<=0){break b}N[f>>2]=b+1}L[e+24|0]=0;N[e+32>>2]=f;g=N[f+12>>2];N[e+4>>2]=g;b=N[f+16>>2];N[e+8>>2]=b+g;if((b|0)<0){break a}N[e+28>>2]=0;if(b>>>0>67108863){b=1073741823}else{b=b<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[e+12>>2]=b;N[e+20>>2]=0;N[e>>2]=0;b=f;f:{g:{if(!g){break g}h:{i:{j:{k:{if(Zi(g,e)){break k}l:{if(O[e+24|0]|!N[e+28>>2]){break l}b=zb(f);N[e+4>>2]=b;N[e+8>>2]=b+N[f+16>>2];if(!b){break l}while(1){L[e+24|0]=1;b=N[e+32>>2];g=N[b+12>>2];N[e+4>>2]=g;i=N[b+16>>2];N[e+8>>2]=i+g;if((i|0)<0){break a}N[e+28>>2]=0;if(i>>>0>67108863){i=1073741823}else{i=i<<6;i=i>>>0<=16384?16384:i;i=i>>>0>=1073741823?1073741823:i}N[e+12>>2]=i;N[e+20>>2]=0;N[e>>2]=0;if(!g){break g}if(Zi(g,e)){break k}if(O[e+24|0]|!N[e+28>>2]){break l}b=zb(f);N[e+4>>2]=b;N[e+8>>2]=b+N[f+16>>2];if(b){continue}break}}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;break j}if(!N[e+28>>2]){break i}N[e+28>>2]=0;b=Zi(g,e);g=N[e+28>>2];ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0;if(g){break j}if(b){break h}}ab(f);f=275552;break f}ab(N[e+32>>2]);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}if(N[f+4>>2]){N[f+4>>2]=0}break f}ab(b);N[e+32>>2]=0;N[e+4>>2]=0;N[e+8>>2]=0}N[j>>2]=f;f=N[l+32>>2];if((f|0)==-1){b=sb(l+56|0);b=O[b+4|0]|O[b+5|0]<<8;f=(b<<8|b>>>8)&65535;N[l+32>>2]=f}N[j+4>>2]=f;if(!N[p+148>>2]){N[p+148>>2]=j;break c}ab(N[j>>2]);_a(j);j=N[p+148>>2];if(!j){continue}break}}f=275552;b=N[j>>2];b=b?b:275552;b=Q[b+16>>2]<8?275552:N[b+12>>2];m:{if(O[b|0]|O[b+1|0]<<8){e=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);n:{if(!e){break n}i=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(e){b=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}else{b=275552}l=0;if(i>>>0>=2){e=N[a+72>>2];f=N[a+76>>2];e=e>>>0>f>>>0?e:f;k=e?e:1073741824;b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;f=1;while(1){b=N[j>>2];b=b?b:275552;g=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0>f>>>0){b=(g+(f<<2)|0)+8|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(b){b=g+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;if(!(!(b>>>0>=k>>>0&b>>>0>>0)&(b>>>0<=e>>>0|e>>>0>=k>>>0))){l=f;e=b}f=f+1|0;if((i|0)!=(f|0)){continue}break}}f=275552;b=N[j>>2];b=b?b:275552;e=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[e+4|0]|O[e+5|0]<<8|(O[e+6|0]<<16|O[e+7|0]<<24);if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0>l>>>0){b=(e+(l<<2)|0)+8|0}else{b=275552}b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(!b){break n}f=e+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}l=0;o:{p:{if(!(O[f|0]|O[f+1|0]<<8)){break p}q:{o=N[j>>2];b=N[o+16>>2];m=f-N[o+12>>2]|0;if(b>>>0>m>>>0){r=N[j+4>>2];w=b-m|0;j=f+4|0;g=8;b=c;while(1){if(b>>>0>=r>>>0){break p}e=b+1|0;if((e|0)<0){break p}e=j+(e<<2)|0;i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);k=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);b=j+(b<<2)|0;i=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(k>>>0<=(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))>>>0){break p}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);k=i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24);i=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);if(k-(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))>>>0<9){break p}i=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);if(w>>>0<(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))>>>0){break p}k=275552;e=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);i=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);e=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);i=(i-b|0)-8|0;b=e?b+f|0:275552;v=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if((v|0)!=1701868900){j=0;r=0;if((v|0)!=543649392){break o}f=O[f|0]|O[f+1|0]<<8;r=(f<<8|f>>>8)&65535;f=O[b+2|0]|O[b+3|0]<<8;j=(f<<8|f>>>8)<<16>>16;b=O[b|0]|O[b+1|0]<<8;l=(b<<8|b>>>8)<<16>>16;k=Cl(o,(m+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0)+8|0,i);break o}if(i>>>0<2){break q}b=O[b+8|0]|O[b+9|0]<<8;b=(b<<8|b>>>8)&65535;e=g;g=e-1|0;if(e){continue}break}break q}ba(12869,14314,106,18332);B()}j=0;r=0;break o}j=0;r=0;k=275552}b=Q[k+16>>2]<29?275552:N[k+12>>2];e=O[b+20|0]|O[b+21|0]<<8|(O[b+22|0]<<16|O[b+23|0]<<24);e=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);r:{if(e>>>0>65535){break r}b=O[b+16|0]|O[b+17|0]<<8|(O[b+18|0]<<16|O[b+19|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b>>>0>=65536){break r}N[d+8>>2]=b;N[d>>2]=l;g=0-e|0;N[d+12>>2]=g;f=e+j|0;N[d+4>>2]=f;if(r){c=N[a+24>>2];e=N[c+28>>2];if(!e){b=ae(c+52|0);b=O[b+18|0]|O[b+19|0]<<8;b=(b<<8|b>>>8)&65535;e=b-16>>>0>=16369?1e3:b;N[c+28>>2]=e;g=N[d+12>>2];f=N[d+4>>2];l=N[d>>2];b=N[d+8>>2]}t=R[a+44>>2];n=U(U(e>>>0)/U(r>>>0));s=U(Z(U(U(t*U(n*U(l|0)))+U(.5))));s:{if(U(V(s))>2]=c;s=R[a+48>>2];t=U(Z(U(U(t*U(n*U(b|0)))+U(.5))));t:{if(U(V(t))>2]=a;t=U(Z(U(U(s*U(n*U(g|0)))+U(.5))));u:{if(U(V(t))>2]=a;n=U(Z(U(U(s*U(n*U(f|0)))+U(.5))));v:{if(U(V(n))>2]=a;ab(k);b=1;break m}i=N[a+56>>2];j=N[a+60>>2];e=UE(i,j,l,l>>31);o=Pa;e=e+32768|0;N[d>>2]=((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16;e=N[a+64>>2];l=N[a+68>>2];m=b<<16;o=m>>31;b=UE(i,j,m>>16,o);i=Pa;b=b+32768|0;N[d+8>>2]=((b>>>0<32768?i+1|0:i)&65535)<<16|b>>>16;o=g<<16;i=o>>31;b=UE(e,l,o>>16,i);j=Pa;b=b+32768|0;N[d+12>>2]=((b>>>0<32768?j+1|0:j)&65535)<<16|b>>>16;i=f<<16;j=i>>31;b=UE(e,l,i>>16,j);e=Pa;b=b+32768|0;N[d+4>>2]=((b>>>0<32768?e+1|0:e)&65535)<<16|b>>>16}ab(k)}l=N[p+144>>2];w:{if(l){break w}while(1){i=N[p>>2];if(!i){l=275552;break w}e=La-48|0;La=e;x:{l=db(1,12);if(l){N[e+20>>2]=0;N[e+32>>2]=0;b=N[i+32>>2];if((b|0)==-1){b=sb(i+56|0);b=O[b+4|0]|O[b+5|0]<<8;b=(b<<8|b>>>8)&65535;N[i+32>>2]=b}L[e+44|0]=1;N[e+40>>2]=b;b=N[i+12>>2];y:{if(b){b=Qa[b|0](i,1128418371,N[i+16>>2])|0;if(b){break y}}b=275552}f=N[b>>2];if(f){if((f|0)<=0){break b}N[b>>2]=f+1}L[e+28|0]=0;N[e+36>>2]=b;g=N[b+12>>2];N[e+8>>2]=g;f=N[b+16>>2];N[e+12>>2]=f+g;if((f|0)<0){break a}N[e+32>>2]=0;if(f>>>0>67108863){f=1073741823}else{f=f<<6;f=f>>>0<=16384?16384:f;f=f>>>0>=1073741823?1073741823:f}N[e+16>>2]=f;N[e+24>>2]=0;N[e+4>>2]=0;f=b;z:{A:{if(!g){break A}B:{C:{D:{E:{if(aj(g,e+4|0)){break E}F:{if(O[e+28|0]|!N[e+32>>2]){break F}if(!zb(b)){break F}while(1){L[e+28|0]=1;f=N[e+36>>2];g=N[f+12>>2];N[e+8>>2]=g;k=N[f+16>>2];N[e+12>>2]=k+g;if((k|0)<0){break a}N[e+32>>2]=0;if(k>>>0>67108863){o=1073741823}else{k=k<<6;k=k>>>0<=16384?16384:k;o=k>>>0>=1073741823?1073741823:k}N[e+16>>2]=o;N[e+24>>2]=0;N[e+4>>2]=0;if(!g){break A}if(aj(g,e+4|0)){break E}if(O[e+28|0]|!N[e+32>>2]){break F}f=zb(b);N[e+8>>2]=f;N[e+12>>2]=f+N[b+16>>2];if(f){continue}break}}ab(N[e+36>>2]);break D}if(!N[e+32>>2]){break C}N[e+32>>2]=0;f=aj(g,e+4|0);g=N[e+32>>2];ab(N[e+36>>2]);if(g){break D}if(f){break B}}ab(b);b=275552;break z}ab(N[e+36>>2])}if(!N[b+4>>2]){break z}N[b+4>>2]=0;break z}ab(f)}N[l>>2]=b;if(N[i+32>>2]==-1){b=sb(i+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[i+32>>2]=(b<<8|b>>>8)&65535}b=N[i+12>>2];G:{if(b){b=Qa[b|0](i,1128416340,N[i+16>>2])|0;if(b){break G}}b=275552}f=N[b>>2];if(f){if((f|0)<=0){break b}N[b>>2]=f+1}g=N[b+16>>2];if((g|0)<0){break a}f=N[b+12>>2];H:{if(!f){ab(b);break H}I:{if(g>>>0>=4){f=O[f|0]|O[f+1|0]<<8;ab(b);if((f&65279)!=512){break I}if(!N[b+4>>2]){break H}N[b+4>>2]=0;break H}ab(b)}ab(b);b=275552}N[l+4>>2]=b;b=N[i+28>>2];if(!b){b=ae(i+52|0);b=O[b+18|0]|O[b+19|0]<<8;b=(b<<8|b>>>8)&65535;b=b-16>>>0>=16369?1e3:b;N[i+28>>2]=b}N[l+8>>2]=b}La=e+48|0;b=l;break x}b=b?b:275552;l=N[p+144>>2];if(!l){N[p+144>>2]=b;l=b;break w}if(!b|(b|0)==275552){break w}ab(N[b>>2]);N[b>>2]=0;ab(N[b+4>>2]);_a(b);l=N[p+144>>2];if(!l){continue}break}}b=N[l>>2];b=b?b:275552;g=Q[b+16>>2]<8?275552:N[b+12>>2];b=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);e=275552;J:{if(!b){break J}e=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24)?g+8|0:275552;o=0;k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(k>>>0>=2){b=N[a+72>>2];f=N[a+76>>2];b=b>>>0>f>>>0?b:f;i=b?b:1073741824;b=O[g+52|0];e=O[e+45|0];e=b>>>0>e>>>0?b:e;b=1;while(1){r=275552;j=(g+T(b,48)|0)+8|0;f=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);if(f>>>0>b>>>0){r=(g+T(b,48)|0)+8|0;f=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);f=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24)}m=O[r+44|0];f=O[(b>>>0>=f>>>0?275552:j)+45|0];f=f>>>0>>0?m:f;if(!(!(f>>>0>=i>>>0&e>>>0>f>>>0)&(e>>>0>=i>>>0|e>>>0>=f>>>0))){o=b;e=f}b=b+1|0;if((k|0)!=(b|0)){continue}break}}b=O[g+4|0]|O[g+5|0]<<8|(O[g+6|0]<<16|O[g+7|0]<<24);e=275552;if((b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))>>>0<=o>>>0){break J}e=(g+T(o,48)|0)+8|0}b=O[e+8|0]|O[e+9|0]<<8|(O[e+10|0]<<16|O[e+11|0]<<24);K:{if(!b){break K}k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=N[l>>2];b=b?b:275552;j=Q[b+16>>2]<8?275552:N[b+12>>2];i=f+j|0;b=0;while(1){f=0;L:{if((b|0)<0){g=275552;break L}g=i+(b<<3)|0;f=O[g|0]|O[g+1|0]<<8;f=f<<8|f>>>8}M:{if((f&65535)>>>0>c>>>0){break M}f=O[g+2|0]|O[g+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>>0){break M}if((b|0)<0){b=275552}else{if(!j){break K}b=i+(b<<3)|0}if(!O[e+44|0]|!O[e+45|0]){break K}N[h+48>>2]=0;N[h+8>>2]=0;N[h+4496>>2]=0;f=O[b|0]|O[b+1|0]<<8;f=(f<<8|f>>>8)&65535;if(f>>>0>c>>>0){break K}g=O[b+2|0]|O[b+3|0]<<8;if(((g<<8|g>>>8)&65535)>>>0>>0){break K}f=c-f|0;o=h+4496|0;b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);if(b){b=i+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0}else{b=275552}g=O[b+2|0]|O[b+3|0]<<8;N[o>>2]=(g<<8|g>>>8)&65535;g=0;N:{O:{P:{Q:{i=O[b|0]|O[b+1|0]<<8;switch(((i<<8|i>>>8)&65535)-1|0){case 2:break P;case 0:break Q;default:break N}}if((f|0)<-1){break N}o=b+8|0;i=o+(f<<2)|0;k=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);j=(f|0)<0?275552:i;j=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if((j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24))>>>0>=(k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24))>>>0){break N}b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);k=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);g=o+(f<<2)|0;f=(f|0)<0;b=f?275552:g;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);N[h+48>>2]=k+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24));b=O[i+4|0]|O[i+5|0]<<8|(O[i+6|0]<<16|O[i+7|0]<<24);i=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);b=f?275552:g;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);b=i-(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;break O}if((f|0)<-1){break N}k=b+8|0;i=k+(f<<1)|0;j=O[i+2|0]|O[i+3|0]<<8;o=(j<<8|j>>>8)&65535;j=(f|0)<0?275552:i;j=O[j|0]|O[j+1|0]<<8;if(o>>>0<=((j<<8|j>>>8)&65535)>>>0){break N}g=k+(f<<1)|0;f=(f|0)<0;k=f?275552:g;k=O[k|0]|O[k+1|0]<<8;b=O[b+4|0]|O[b+5|0]<<8|(O[b+6|0]<<16|O[b+7|0]<<24);N[h+48>>2]=((k<<8|k>>>8)&65535)+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24));b=O[i+2|0]|O[i+3|0]<<8;i=(b<<8|b>>>8)&65535;b=f?275552:g;b=O[b|0]|O[b+1|0]<<8;b=i-((b<<8|b>>>8)&65535)|0}N[h+8>>2]=b;g=1}if(!g){break K}b=N[l+4>>2];i=b?b:275552;f=N[i+16>>2];g=N[h+48>>2];if(f>>>0>>0){break K}b=N[h+8>>2];if(b>>>0>f-g>>>0){break K}R:{S:{switch(N[h+4496>>2]-17|0){case 1:if(b>>>0>11){break R}break K;case 0:break S;default:break K}}if(b>>>0<9){break K}}s=U(Q[l+8>>2]);n=U(s/U(O[e+45|0]));b=N[a+64>>2];k=N[a+68>>2];g=g+(f>>>0<4?275552:N[i+12>>2])|0;c=UE(b,k,O[g|0],0);f=32768-c|0;t=U(Z(U(U(n*U((0-(Pa+(c>>>0>32768)|0)&65535)<<16|f>>>16))+U(.5))));T:{if(U(V(t))>31;f=L[g+3|0];j=f>>31;o=O[g+1|0];g=N[a+56>>2];a=N[a+60>>2];e=O[e+44|0];N[d+12>>2]=l;s=U(s/U(e>>>0));e=UE(g,a,o,0);o=Pa;e=e+32768|0;t=U(Z(U(U(s*U(((e>>>0<32768?o+1|0:o)&65535)<<16|e>>>16))+U(.5))));U:{if(U(V(t))>2]=e;b=UE(b,k,f,j);j=Pa;b=b+32768|0;n=U(Z(U(U(n*U(((b>>>0<32768?j+1|0:j)&65535)<<16|b>>>16))+U(.5))));V:{if(U(V(n))>2]=b;a=UE(g,a,c,i);i=Pa;a=a+32768|0;n=U(Z(U(U(s*U(((a>>>0<32768?i+1|0:i)&65535)<<16|a>>>16))+U(.5))));W:{if(U(V(n))>2]=a;b=1;break m}b=b+1|0;if((k|0)!=(b|0)){continue}break}}b=N[p+136>>2];X:{if(b){break X}i=h- -64|0;while(1){b=N[p>>2];if(!b){b=275552;break X}N[h+56>>2]=0;N[h+60>>2]=0;N[i>>2]=0;N[i+4>>2]=0;L[h+72|0]=0;N[h+48>>2]=0;N[h+52>>2]=0;N[h+76>>2]=0;N[h+80>>2]=0;L[h+88|0]=1;N[h+84>>2]=0;e=N[b+12>>2];Y:{if(e){b=Qa[e|0](b,1129270354,N[b+16>>2])|0;if(b){break Y}}b=275552}f=h+48|0;Z:{if(!b){break Z}e=N[b>>2];if(!e){break Z}if((e|0)<=0){break b}N[b>>2]=e+1}L[f+24|0]=0;N[f+32>>2]=b;l=N[b+12>>2];N[f+4>>2]=l;e=N[b+16>>2];N[f+8>>2]=e+l;if((e|0)<0){break a}N[f+28>>2]=0;if(e>>>0>67108863){e=1073741823}else{e=e<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[f+12>>2]=e;N[f+20>>2]=0;N[f>>2]=0;e=b;_:{$:{if(!l){break $}aa:{ba:{ca:{da:{if(_i(l,f)){break da}ea:{if(O[f+24|0]|!N[f+28>>2]){break ea}e=zb(b);N[f+4>>2]=e;N[f+8>>2]=e+N[b+16>>2];if(!e){break ea}while(1){L[f+24|0]=1;e=N[f+32>>2];l=N[e+12>>2];N[f+4>>2]=l;g=N[e+16>>2];N[f+8>>2]=g+l;if((g|0)<0){break a}N[f+28>>2]=0;if(g>>>0>67108863){g=1073741823}else{g=g<<6;g=g>>>0<=16384?16384:g;g=g>>>0>=1073741823?1073741823:g}N[f+12>>2]=g;N[f+20>>2]=0;N[f>>2]=0;if(!l){break $}if(_i(l,f)){break da}if(O[f+24|0]|!N[f+28>>2]){break ea}e=zb(b);N[f+4>>2]=e;N[f+8>>2]=e+N[b+16>>2];if(e){continue}break}}ab(N[f+32>>2]);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;break ca}if(!N[f+28>>2]){break ba}N[f+28>>2]=0;e=_i(l,f);g=N[f+28>>2];ab(N[f+32>>2]);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0;if(g){break ca}if(e){break aa}}ab(b);b=275552;break _}ab(N[f+32>>2]);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0}if(N[b+4>>2]){N[b+4>>2]=0}break _}ab(e);N[f+32>>2]=0;N[f+4>>2]=0;N[f+8>>2]=0}e=b;b=N[p+136>>2];fa:{if(e){if(b){break fa}b=e;N[p+136>>2]=b;break X}if(b){break X}b=275552;N[p+136>>2]=275552;break X}if((e|0)==275552){break X}ab(e);b=N[p+136>>2];if(!b){continue}break}}m=275552;b=Q[b+16>>2]<14?275552:N[b+12>>2];ga:{if((O[b|0]|O[b+1|0]<<8)!=256){break ga}e=O[b+30|0]|O[b+31|0]<<8|(O[b+32|0]<<16|O[b+33|0]<<24);if(e){m=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}j=275552;o=275552;e=O[b+26|0]|O[b+27|0]<<8|(O[b+28|0]<<16|O[b+29|0]<<24);if(e){o=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}e=O[b+22|0]|O[b+23|0]<<8|(O[b+24|0]<<16|O[b+25|0]<<24);if(e){j=b+(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))|0}b=O[j+1|0]|O[j+2|0]<<8|(O[j+3|0]<<16|O[j+4|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if((b|0)<=0){break ga}l=N[a+84>>2];i=N[a+88>>2];k=j+5|0;b=b-1|0;f=0;while(1){e=b+f>>>1|0;g=k+T(e,7)|0;r=O[g|0]|O[g+1|0]<<8;ha:{if(((r<<8|r>>>8)&65535)>>>0<=c>>>0){f=O[g+2|0]|O[g+3|0]<<8;if(((f<<8|f>>>8)&65535)>>>0>>0){f=e+1|0;break ha}ia:{ja:{ka:{la:{ma:{b=k+T(e,7)|0;b=O[b+5|0]<<8|O[b+4|0]<<16|O[b+6|0];c=b?b+j|0:275552;switch(O[c|0]-1|0){case 1:break ka;case 0:break la;default:break ma}}k=N[d+8>>2];f=N[d+4>>2];g=N[d>>2];c=N[d+12>>2];break ia}b=O[c+7|0]|O[c+8|0]<<8;f=(b<<8|b>>>8)&65535;b=O[c+5|0]|O[c+6|0]<<8;k=(b<<8|b>>>8)&65535;b=O[c+3|0]|O[c+4|0]<<8;e=(b<<8|b>>>8)&65535;b=O[c+1|0]|O[c+2|0]<<8;g=(b<<8|b>>>8)&65535;break ja}b=O[c+7|0]|O[c+8|0]<<8;j=b<<8|b>>>8;b=O[c+5|0]|O[c+6|0]<<8;p=b<<8|b>>>8;b=O[c+3|0]|O[c+4|0]<<8;w=b<<8|b>>>8;b=O[c+1|0]|O[c+2|0]<<8;g=b<<8|b>>>8;if(!l){f=j&65535;k=p&65535;e=w&65535;g=g&65535;break ja}f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);e=nd(o,k);b=e>>>16|0;r=O[m+6|0]|O[m+7|0]<<8;r=(r<<8|r>>>8)&65535;na:{if(b>>>0>=r>>>0){n=U(.5);break na}b=(b<<2)+m|0;b=O[b+8|0]|O[b+9|0]<<8|(O[b+10|0]<<16|O[b+11|0]<<24);if(b){b=(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))+m|0}else{b=275552}f=e&65535;e=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(e){e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+m|0}else{e=275552}n=U(Fc(b,f,i,l,e,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[m+6|0]|O[m+7|0]<<8;r=(b<<8|b>>>8)&65535}e=nd(o,(f|0)==-1?-1:k+1|0);b=e>>>16|0;v=b>>>0>=r>>>0;n=U(U(Z(n))+U(g<<16>>16));oa:{if(U(V(n))>>8&65280|b>>>24))+m|0}else{b=275552}f=e&65535;e=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(e){e=(e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24))+m|0}else{e=275552}n=U(Fc(b,f,i,l,e,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[m+6|0]|O[m+7|0]<<8;r=(b<<8|b>>>8)&65535}v=nd(o,(f|0)==-1?-1:k+2|0);b=v>>>16|0;x=b>>>0>=r>>>0;n=U(U(Z(n))+U(w<<16>>16));qa:{if(U(V(n))>>8&65280|b>>>24))+m|0}else{b=275552}k=v&65535;f=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(f){f=(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))+m|0}else{f=275552}n=U(Fc(b,k,i,l,f,0)+U(.5));f=O[c+9|0]|O[c+10|0]<<8|(O[c+11|0]<<16|O[c+12|0]<<24);k=f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24);b=O[m+6|0]|O[m+7|0]<<8;r=(b<<8|b>>>8)&65535}c=nd(o,(f|0)==-1?-1:k+3|0);b=c>>>16|0;f=b>>>0>=r>>>0;n=U(U(Z(n))+U(p<<16>>16));sa:{if(U(V(n))>>8&65280|b>>>24))+m|0}else{b=275552}f=c&65535;c=O[m+2|0]|O[m+3|0]<<8|(O[m+4|0]<<16|O[m+5|0]<<24);if(c){c=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+m|0}else{c=275552}t=U(Fc(b,f,i,l,c,0)+U(.5))}n=U(U(Z(t))+U(j<<16>>16));if(U(V(n))>2];j=c<<16;i=j>>31;a=N[a+56>>2];c=UE(a,b,j>>16,i);e=Pa;c=c+32768|0;N[d+12>>2]=((c>>>0<32768?e+1|0:e)&65535)<<16|c>>>16;i=k<<16;e=i>>31;c=UE(a,b,i>>16,e);m=Pa;c=c+32768|0;N[d+8>>2]=((c>>>0<32768?m+1|0:m)&65535)<<16|c>>>16;e=f<<16;m=e>>31;c=UE(a,b,e>>16,m);o=Pa;c=c+32768|0;N[d+4>>2]=((c>>>0<32768?o+1|0:o)&65535)<<16|c>>>16;m=g<<16;o=m>>31;a=UE(a,b,m>>16,o);j=Pa;a=a+32768|0;N[d>>2]=((a>>>0<32768?j+1|0:j)&65535)<<16|a>>>16;b=1;break m}b=e-1|0}if((b|0)>=(f|0)){continue}break}}f=N[p+60>>2];ta:{if(f){break ta}while(1){b=N[p>>2];if(!b){f=275552;break ta}e=db(1,28);if(!e){f=275552;N[p+60>>2]=275552;break ta}f=Le(e,b);if(!N[p+60>>2]){N[p+60>>2]=f;break ta}ab(N[f+24>>2]);_a(f);f=N[p+60>>2];if(!f){continue}break}}b=1;if(eq(f,a,c,d)){break m}e=Kg(p- -64|0);N[h+72>>2]=0;N[h+76>>2]=0;f=h- -64|0;N[f>>2]=0;N[f+4>>2]=0;N[h+56>>2]=0;N[h+60>>2]=0;N[h+48>>2]=0;N[h+52>>2]=0;g=0;if(kj(e,c,h+48|0,0)){f=0;q=S[h+64>>3];u=S[h+48>>3];if(q>u){n=R[a+44>>2];s=U(Z(U(U(n*U(u))+U(.5))));ua:{if(U(V(s))>2]=f;N[d+8>>2]=g;g=0;f=0;q=S[h+72>>3];u=S[h+56>>3];if(q>u){n=R[a+48>>2];s=U(Z(U(U(n*U(q))+U(.5))));wa:{if(U(V(s))>2]=f;N[d+12>>2]=g;break m}f=N[p+68>>2];ya:{if(f){break ya}while(1){b=N[p>>2];if(!b){f=275552;break ya}e=db(1,132);if(!e){f=275552;N[p+68>>2]=275552;break ya}f=bq(e,b);if(!N[p+68>>2]){N[p+68>>2]=f;break ya}_a(lj(f));f=N[p+68>>2];if(!f){continue}break}}b=0;if(!N[f+44>>2]|Q[f+128>>2]<=c>>>0){break m}b=lq(N[f+96>>2],c);be(h+4496|0,N[f+88>>2],c);o=b>>>0>=Q[f+120>>2]?275552:N[f+124>>2]+T(b,28)|0;e=N[o+20>>2];k=N[a+84>>2];j=N[a+88>>2];l=N[f+80>>2];L[h+64|0]=0;C(h+68|0,0,4108);b=h+4240|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4248>>2]=0;b=h+4260|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4268>>2]=0;b=h+4280|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4288>>2]=0;b=h+4300|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4308>>2]=0;b=h+4320|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4328>>2]=0;b=h+4340|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4348>>2]=0;N[h+4368>>2]=0;b=h+4360|0;N[b>>2]=0;N[b+4>>2]=0;N[h+4388>>2]=0;b=h+4380|0;N[b>>2]=0;N[b+4>>2]=0;L[h+4212|0]=0;N[h+56>>2]=0;c=N[h+4500>>2];g=c;b=N[h+4496>>2];N[h+48>>2]=b;N[h+52>>2]=g;N[h+4408>>2]=0;c=h+4400|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4224|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4216|0;N[c>>2]=0;N[c+4>>2]=0;N[h+4192>>2]=0;c=h+4184|0;N[c>>2]=0;N[c+4>>2]=0;c=h+4448|0;N[c>>2]=0;N[c+4>>2]=0;N[h+4424>>2]=l;N[h+4176>>2]=b;N[h+4180>>2]=g;N[h+4208>>2]=0;N[h+4200>>2]=0;N[h+4204>>2]=0;L[h+4197|0]=1;L[h+4198|0]=0;N[h+4440>>2]=0;N[h+4444>>2]=0;c=107;b=107;za:{if(!l){break za}l=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);l=l<<24|(l&65280)<<8|(l>>>8&65280|l>>>24);b=107;if(l>>>0<1240){break za}b=l>>>0<33900?1131:32768}N[h+4432>>2]=e;N[h+4420>>2]=b;Aa:{if(!e){break Aa}b=O[e|0]|O[e+1|0]<<8|(O[e+2|0]<<16|O[e+3|0]<<24);b=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24);if(b>>>0<1240){break Aa}c=b>>>0<33900?1131:32768}N[h+4460>>2]=k;N[h+4456>>2]=j;N[h+4428>>2]=c;b=N[f+84>>2];N[h+4484>>2]=0;N[h+4464>>2]=b;L[h+4489|0]=0;L[h+4490|0]=0;N[h+4476>>2]=0;N[h+4480>>2]=0;i=h- -64|0;c=0;Ba:{if(!j){break Ba}c=0;if(!k){break Ba}c=(O[b|0]|O[b+1|0]<<8)!=0}L[h+4488|0]=c;N[h+4472>>2]=N[o+24>>2];L[h+4196|0]=0;N[h+40>>2]=0;N[h+44>>2]=-1042284544;N[h+32>>2]=0;N[h+36>>2]=-1042284544;N[h+24>>2]=-4194304;N[h+28>>2]=1105199103;N[h+16>>2]=-4194304;N[h+20>>2]=1105199103;L[h+8|0]=0;w=h+72|0;l=1e4;f=0;Ca:{while(1){Da:{l=l-1|0;if(!l){N[h+56>>2]=g+1;break Da}Ea:{Fa:{Ga:{Ha:{Ia:{Ja:{c=f+1|0;Ka:{if(c>>>0<=g>>>0){e=N[h+48>>2];b=O[e+f|0];N[h+56>>2]=c;if((b|0)==12){b=f+2|0;if(b>>>0>g>>>0){b=65535;break Ka}c=O[c+e|0];N[h+56>>2]=b;b=c|256}La:{switch(b-10|0){case 0:case 19:kq(b,h+48|0,h+8|0);break Ea;case 6:jq(h+48|0);b=N[h+68>>2];Ma:{if(b){m=b-1|0;N[h+68>>2]=m;q=S[(i+(m<<3)|0)+8>>3];break Ma}m=0;N[147456]=0;N[147457]=0;L[h+64|0]=1;q=0}j=N[h+4468>>2];if(V(q)<2147483648){g=~~q}else{g=-2147483648}if((g|0)<0){break Ja}k=T(j^-1,g)+m|0;if(k>>>0>m>>>0){break Ha}if(!g){g=0;break Fa}if(!O[h+4488|0]){b=0;if((g|0)!=1){c=g&1;e=g&-2;while(1){f=b+k|0;Na:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Na}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;f=k+(b|1)|0;Oa:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Oa}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!c){break Fa}}b=b+k|0;if(b>>>0>>0){break Ia}N[147456]=0;N[147457]=0;L[h+64|0]=1;S[73728]=0;break Fa}f=N[h+4480>>2];if(!f){break Ga}v=g+k|0;o=N[h+4484>>2];c=f&-2;x=f&1;e=0;while(1){b=v+T(e,j)|0;p=513-b|0;p=p>>>0<=513?p:0;p=j>>>0>p>>>0?p:j;r=e+k|0;Pa:{if(r>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;r=589824;q=0;break Pa}r=(i+(r<<3)|0)+8|0;q=S[r>>3]}u=0;Qa:{if((f|0)!=(p|0)){break Qa}p=w+(b<<3)|0;b=0;if((f|0)!=1){while(1){y=b|1;u=+R[o+(y<<2)>>2]*S[p+(y<<3)>>3]+(+R[o+(b<<2)>>2]*S[p+(b<<3)>>3]+u);b=b+2|0;if((c|0)!=(b|0)){continue}break}b=c;if(!x){break Qa}}u=+R[o+(b<<2)>>2]*S[p+(b<<3)>>3]+u}S[r>>3]=q+u;e=e+1|0;if((g|0)!=(e|0)){continue}break};break Fa;case 5:break La;default:break Ka}}b=N[h+68>>2];Ra:{if(!b){b=0;N[147456]=0;N[147457]=0;L[h+64|0]=1;break Ra}q=S[i+(b<<3)>>3];Sa:{if(V(q)<2147483648){b=~~q;break Sa}b=-2147483648}if((b|0)>=0){break Ra}L[h+64|0]=1;b=0}Ta:{if(O[h+4489|0]|O[h+4490|0]){N[h+56>>2]=g+1;break Ta}N[h+4472>>2]=b}N[h+68>>2]=0;L[h+4489|0]=1;break Ea}b=N[h+4216>>2]?11:14}kq(b,h+48|0,h+8|0);break Ea}L[h+64|0]=1;g=0;break Fa}b=i+(b<<3)|0;S[b+8>>3]=S[b+8>>3]+0;break Fa}N[h+56>>2]=N[h+52>>2]+1;break Ea}b=0;if((g|0)!=1){c=g&1;e=g&-2;while(1){f=b+k|0;Ua:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Ua}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;f=k+(b|1)|0;Va:{if(f>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;f=589824;q=0;break Va}f=(i+(f<<3)|0)+8|0;q=S[f>>3]}S[f>>3]=q+0;b=b+2|0;if((e|0)!=(b|0)){continue}break}if(!c){break Fa}}b=b+k|0;Wa:{if(b>>>0>=m>>>0){N[147456]=0;N[147457]=0;L[h+64|0]=1;b=589824;q=0;break Wa}b=(i+(b<<3)|0)+8|0;q=S[b>>3]+0}S[b>>3]=q}b=T(g,j);if(b>>>0<=m>>>0){N[h+68>>2]=m-b;break Ea}L[h+64|0]=1}b=0;if(O[h+4212|0]){break Ca}f=N[h+56>>2];g=N[h+52>>2];if(O[h+64|0]|f>>>0>g>>>0){break Ca}if(!O[h+4196|0]){continue}}break}f=0;b=0;q=S[h+32>>3];u=S[h+16>>3];if(q>u){n=R[a+44>>2];s=U(Z(U(U(n*U(u))+U(.5))));Xa:{if(U(V(s))>2]=b;N[d+8>>2]=f;q=S[h+40>>3];u=S[h+24>>3];Za:{if(!(q>u)){N[d+4>>2]=0;N[d+12>>2]=0;break Za}n=R[a+48>>2];s=U(Z(U(U(n*U(q))+U(.5))));_a:{if(U(V(s))>2]=a;n=U(Z(U(U(n*U(u))+U(.5))));$a:{if(U(V(n))>2]=b-a}b=1}if(N[h+4480>>2]){N[h+4480>>2]=0}_a(N[h+4484>>2])}La=h+4512|0;return b|0}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}function ej(a,b,c,d,e,f,g){var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=U(0),q=0,r=0,s=0,t=0,u=0,v=U(0),w=0,x=0,y=U(0),z=U(0),A=U(0),D=0,E=0,G=0,H=0,I=U(0),J=0,K=0,S=0,V=0,W=0,X=0,Y=0,Z=0,_=U(0),$=0,aa=0,ca=U(0),da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;o=La+-64|0;La=o;if(g>>>0<=64){if(!N[f+4>>2]){h=N[b+88>>2];i=N[b+84>>2];N[f+8>>2]=0;Aa=f,Ba=_E(i,h,32),N[Aa>>2]=Ba;N[f+4>>2]=Pa}j=N[d+4>>2];h=N[a+20>>2];u=!j&(h|0)==1;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{switch(h-1|0){case 0:h=N[a+12>>2];i=O[h|0]|O[h+1|0]<<8;if(!i){break k}D=N[a>>2];s=h+10|0;m=(i<<8|i>>>8)<<16>>16;l=s+(m<<1)|0;if(D>>>0>l>>>0){break h}r=D+N[a+4>>2]|0;if(r>>>0>>0){break h}if(r-l>>>0<2){break a}h=u?N[d>>2]:0;if((h|0)<0){break h}m:{i=(s+(m<<1)|0)-2|0;i=O[i|0]|O[i+1|0]<<8;q=(i<<8|i>>>8)&65535;i=q+5|0;n:{if(i>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(i>>>0>=h>>>0){continue}break}if(h>>>0>357913941){break m}i=$a(u?N[d+8>>2]:0,T(h,12));if(!i){break m}if(!u){G=i;t=h;break n}N[d>>2]=h;N[d+8>>2]=i}t=0}i=q+1|0;o:{if(h>>>0>q>>>0){break o}while(1){h=((h>>>1|0)+h|0)+8|0;if(i>>>0>=h>>>0){continue}break}if(h>>>0>357913941){break m}k=$a(u?N[d+8>>2]:G,T(h,12));if(!k){break m}if(!u){G=k;t=h;break o}N[d>>2]=h;N[d+8>>2]=k}j=N[d+4>>2];h=u?j:0;if(q>>>0>=h>>>0){while(1){k=h+1|0;p:{if(!u){n=k;break p}N[d+4>>2]=k}h=T(h,12)+(u?N[d+8>>2]:G)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;j=N[d+4>>2];h=u?j:n;if(q>>>0>=h>>>0){continue}break}}q:{if(!u){n=i;break q}N[d+4>>2]=i;j=i}if(e){break i}if((m|0)<=0){break j}h=0;while(1){i=s+(h<<1)|0;i=O[i|0]|O[i+1|0]<<8;i=(i<<8|i>>>8)&65535;r:{if(i>>>0>=(u?N[d+4>>2]:n)>>>0){N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break r}i=T(i,12)+(u?N[d+8>>2]:G)|0}L[i+9|0]=1;h=h+1|0;if((m|0)!=(h|0)){continue}break}break j}if(!u){break a}N[d>>2]=-1;break a;case 1:break l;default:break i}}h=N[a+12>>2]+10|0;n=N[a>>2];i=0;s:{if(h>>>0>>0){break s}k=n+N[a+4>>2]|0;i=0;if(k>>>0>>0){break s}r=k-h|0;i=0;if(r>>>0<4){break s}m=O[h|0]|O[h+1|0]<<8;q=m<<8|m>>>8;i=q&1?8:6;l=i+2|0;t:{if(q&8){break t}l=i+4|0;q=q&65535;if(q&64){break t}l=q&128?i+8|0:i}i=0;if(l>>>0>r>>>0){break s}u:{if(!(m&8192)){break u}while(1){h=h+l|0;if(n>>>0>h>>>0|h>>>0>k>>>0){break u}i=k-h|0;if(i>>>0<4){break u}q=O[h|0]|O[h+1|0]<<8;r=q<<8|q>>>8;m=r&1?8:6;l=m+2|0;v:{if(r&8){break v}l=m+4|0;r=r&65535;if(r&64){break v}l=r&128?m+8|0:m}if(i>>>0>>0){break u}w=w+1|0;if(q&8192){continue}break}}i=w+1|0}h=u?N[d>>2]:0;if((h|0)<0){break h}n=0;i=(i|0)>0?i:0;if(i>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(i>>>0>=h>>>0){continue}break}w:{if(h>>>0<=357913941){G=$a(u?N[d+8>>2]:0,T(h,12));if(G){break w}}G=0;if(!u){break a}N[d>>2]=-1;break h}if(u){N[d>>2]=h;N[d+8>>2]=G;G=0;h=0}t=h;j=N[d+4>>2]}h=u?j:0;if(i>>>0>h>>>0){while(1){k=h+1|0;x:{if(!u){n=k;break x}N[d+4>>2]=k}h=T(h,12)+(u?N[d+8>>2]:G)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;j=N[d+4>>2];h=u?j:n;if(i>>>0>h>>>0){continue}break}}if(!u){n=i;break i}N[d+4>>2]=i;j=i;break i}ba(10382,14236,182,9951);B()}h=O[l|0]|O[l+1|0]<<8;i=((s+(m<<1)|0)+((h<<8|h>>>8)&65535)|0)+2|0;if(D>>>0>i>>>0|i>>>0>=r>>>0){break a}j=N[d+4>>2];m=u?j:n;if(!m){break i}l=u?N[d+8>>2]:G;s=0;while(1){h=i+1|0;if(h>>>0>r>>>0){break a}q=O[i|0];L[(T(s,12)+l|0)+8|0]=q;k=s+1|0;y:{if(!(q&8)){i=h;break y}i=i+2|0;if(r>>>0>>0){break a}h=O[h|0]+k|0;h=h>>>0>>0?h:m;if(h>>>0<=k>>>0){break y}j=0;D=h+(s^-1)&7;if(D){while(1){L[(T(k,12)+l|0)+8|0]=q;k=k+1|0;j=j+1|0;if((D|0)!=(j|0)){continue}break}}if((h-s|0)-2>>>0>=7){while(1){j=T(k,12)+l|0;L[j+8|0]=q;L[j+20|0]=q;L[j+32|0]=q;L[j+44|0]=q;L[j+56|0]=q;L[j+68|0]=q;L[j+80|0]=q;L[j+92|0]=q;k=k+8|0;if((h|0)!=(k|0)){continue}break}}k=h}s=k;if(m>>>0>k>>>0){continue}break}h=0;j=0;while(1){z:{A:{B:{if((u?N[d+4>>2]:n)>>>0<=h>>>0){N[147456]=0;N[147457]=0;N[147458]=0;break B}l=O[(T(h,12)+l|0)+8|0];if(l&2){k=i+1|0;if(k>>>0>r>>>0){break z}i=O[i|0];if(l&16){j=i+j|0;i=k;break A}j=j-i|0;i=k;break A}if(l&16){break A}}k=i+2|0;if(k>>>0>r>>>0){break z}i=O[i|0]|O[i+1|0]<<8;j=((i<<8|i>>>8)<<16>>16)+j|0;i=k}l=u?N[d+8>>2]:G;R[l+T(h,12)>>2]=j|0;h=h+1|0;w=m>>>0<=h>>>0;if((h|0)!=(m|0)){continue}}break}if(!(w&1)){break h}j=N[d+4>>2];m=u?j:n;if(!m){break i}w=0;h=0;j=0;while(1){C:{D:{E:{if((u?N[d+4>>2]:n)>>>0<=h>>>0){N[147456]=0;N[147457]=0;N[147458]=0;break E}l=O[(T(h,12)+(u?N[d+8>>2]:G)|0)+8|0];if(l&4){k=i+1|0;if(k>>>0>r>>>0){break C}i=O[i|0];if(l&32){j=i+j|0;i=k;break D}j=j-i|0;i=k;break D}if(l&32){break D}}k=i+2|0;if(k>>>0>r>>>0){break C}i=O[i|0]|O[i+1|0]<<8;j=((i<<8|i>>>8)<<16>>16)+j|0;i=k}R[(T(h,12)+(u?N[d+8>>2]:G)|0)+4>>2]=j|0;h=h+1|0;w=m>>>0<=h>>>0;if((h|0)!=(m|0)){continue}}break}if(!(w&1)){break h}j=N[d+4>>2]}l=u?N[d>>2]:t;if((l|0)<0){break h}h=u?j:n;i=h+4|0;i=(i|0)>0?i:0;if(i>>>0>l>>>0){while(1){l=((l>>>1|0)+l|0)+8|0;if(i>>>0>=l>>>0){continue}break}F:{if(l>>>0<=357913941){h=$a(u?N[d+8>>2]:G,T(l,12));if(h){break F}}if(!u){break h}N[d>>2]=-1;break h}G:{if(!u){G=h;break G}N[d>>2]=l;N[d+8>>2]=h}h=u?N[d+4>>2]:n}if(h>>>0>>0){while(1){k=h+1|0;H:{if(!u){n=k;break H}N[d+4>>2]=k}h=T(h,12)+(u?N[d+8>>2]:G)|0;N[h>>2]=0;N[h+4>>2]=0;N[h+8>>2]=0;h=u?N[d+4>>2]:n;if(i>>>0>h>>>0){continue}break}}ha=i;if(u){N[d+4>>2]=i;ha=n}r=i-4|0;j=i-r|0;m=j>>>0>i>>>0;t=N[d+8>>2];h=N[a+16>>2];i=N[c+4>>2];k=N[i>>2];I:{J:{if(h>>>0>>0){if((h|0)<0){i=275552}else{i=N[i+20>>2];i=N[(i?i:275552)+12>>2]+(h<<2)|0}h=i+2|0;break J}if(Q[i+4>>2]<=h>>>0){s=N[a+12>>2];k=0;break I}K:{if((k|0)<0){s=275552;break K}n=N[i+20>>2];s=N[(n?n:275552)+12>>2]+(k<<2)|0;k=N[i>>2]}h=(h-k<<1)+s|0}s=N[a+12>>2];i=O[s+2|0]|O[s+3|0]<<8;h=O[h|0]|O[h+1|0]<<8;k=((i<<8|i>>>8)<<16>>16)-((h<<8|h>>>8)<<16>>16)|0;h=N[a+16>>2]}q=m?0:j;i=O[s+8|0]|O[s+9|0]<<8;m=i>>>8|0;n=i<<8;i=N[c+8>>2];l=N[i>>2];L:{M:{if(l>>>0>h>>>0){if((h|0)<0){i=275552}else{i=N[i+20>>2];i=N[(i?i:275552)+12>>2]+(h<<2)|0}h=i+2|0;break M}if(Q[i+4>>2]<=h>>>0){j=0;break L}N:{if((l|0)<0){j=275552;break N}j=N[i+20>>2];j=N[(j?j:275552)+12>>2]+(l<<2)|0;l=N[i>>2]}h=(h-l<<1)+j|0}h=O[h|0]|O[h+1|0]<<8;j=(h<<8|h>>>8)<<16>>16;h=N[a+16>>2]}l=m|n;s=q>>>0<4;m=N[c+4>>2];O:{if(Q[m+4>>2]>h>>>0){i=N[m>>2]-1|0;i=h>>>0>i>>>0?i:h;P:{if((i|0)<0){n=275552;break P}h=N[m+20>>2];n=N[(h?h:275552)+12>>2]+(i<<2)|0;h=N[a+16>>2]}i=O[n|0]|O[n+1|0]<<8;i=(i<<8|i>>>8)&65535;break O}i=0;if(N[m+8>>2]){break O}i=N[m+16>>2]}n=u?t:G;r=T(r,12);l=l<<16>>16;S=s?q:4;m=N[c+8>>2];Q:{if(Q[m+4>>2]>h>>>0){q=N[m>>2]-1|0;h=h>>>0>q>>>0?q:h;if((h|0)<0){h=275552}else{m=N[m+20>>2];h=N[(m?m:275552)+12>>2]+(h<<2)|0}h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;break Q}h=0;if(N[m+8>>2]){break Q}h=N[m+16>>2]}Y=n+r|0;j=j+l|0;R:{S:{T:{U:{V:{if(!S){break V}R[Y>>2]=k|0;if((S|0)==1){break V}R[Y+12>>2]=i+k>>>0;if(S>>>0>2){break U}}p=U(j-h|0);break T}R[Y+28>>2]=j|0;p=U(j-h|0);if((S|0)!=3){break S}}N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break R}i=Y+36|0}R[i+4>>2]=p;pa=N[f+4>>2];W:{if(!pa){break W}j=N[a+16>>2];q=N[c>>2];n=N[q>>2];h=n?n:275552;k=Q[h+16>>2]<20?275552:N[h+12>>2];h=O[k+12|0]|O[k+13|0]<<8;if(j>>>0>=((h<<8|h>>>8)&65535)>>>0){break W}m=k+20|0;H=275552;X:{if(L[k+15|0]&1){h=m+(j<<2)|0;h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);i=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);break X}h=m+(j<<1)|0;h=O[h|0]|O[h+1|0]<<8;i=((h<<8|h>>>8)&65535)<<1}l=O[k+12|0]|O[k+13|0]<<8;h=0;Y:{if(j>>>0>=((l<<8|l>>>8)&65535)>>>0){break Y}h=j+1|0;if(L[k+15|0]&1){h=m+(h<<2)|0;h=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);h=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);break Y}h=m+(h<<1)|0;h=O[h|0]|O[h+1|0]<<8;h=((h<<8|h>>>8)&65535)<<1}Z:{if(i>>>0>h>>>0){j=0;break Z}j=N[n+16>>2];k=O[k+16|0]|O[k+17|0]<<8|(O[k+18|0]<<16|O[k+19|0]<<24);k=i+(k<<24|(k&65280)<<8|(k>>>8&65280|k>>>24))|0;m=j-k|0;j=j>>>0>=m>>>0?m:0;h=h-i|0;j=h>>>0>j>>>0?j:h;if(j>>>0<4){j=0;break Z}fa=k+N[n+12>>2]|0;H=fa}h=O[H|0]|O[H+1|0]<<8;if(!h){break W}m=N[d+4>>2];n=N[d+8>>2];sa=N[f>>2];N[o+32>>2]=0;N[o+24>>2]=0;N[o+28>>2]=0;k=275552;i=N[q>>2];i=i?i:275552;i=Q[i+16>>2]<20?275552:N[i+12>>2];i=O[i+4|0]|O[i+5|0]<<8;_:{if(h&128){h=O[H+2|0]|O[H+3|0]<<8;if(h){k=((h<<8|h>>>8)&65535)+H|0}N[o+52>>2]=k;if(!Vp(o+52|0,o+24|0,j+fa|0)){break _}ka=N[o+52>>2]-k|0;h=O[H|0]|O[H+1|0]<<8}if(!(h&65295)){break _}V=H+4|0;if(fa>>>0>V>>>0){break _}ga=j+fa|0;if(ga>>>0>>0){break _}h=ga-V|0;if(h>>>0<4){break _}la=((i<<8|i>>>8)&65535)<<1;j=O[H+6|0]|O[H+7|0]<<8;i=T(la,j>>>5&2|j>>>7&1)+4|0;k=O[H+4|0]|O[H+5|0]<<8;k=(k<<8|k>>>8)&65535;if(h>>>0<(i>>>0>k>>>0?i:k)>>>0){break _}D=u?m:ha;h=(D|0)>0;$=h?D:0;$:{if(h){while(1){X=((X>>>1|0)+X|0)+8|0;if($>>>0>=X>>>0){continue}break}h=0;if(X>>>0>357913941){break $}X=kb(T(X,12));if(!X){break $}}ia=u?n:G;h=T(D,12);if(h){F(X,ia,h)}h=0;aa:{if((D|0)>0){while(1){h=((h>>>1|0)+h|0)+8|0;if($>>>0>=h>>>0){continue}break}n=0;if(h>>>0>357913941){break aa}h=kb(T(h,12));if(!h){break aa}}n=h;if(D){h=0;j=0;while(1){ba:{if(!O[(T(h,12)+ia|0)+9|0]){break ba}ca:{da:{if((j|0)<0){break da}k=j;i=ja+1|0;if(j>>>0>=i>>>0){l=Z;break ca}while(1){k=((k>>>1|0)+k|0)+8|0;if(i>>>0>=k>>>0){continue}break}j=-1;if(k>>>0>1073741823){break da}l=$a(Z,k<<2);if(l){break ca}}N[147456]=0;break ba}N[(ja<<2)+l>>2]=h;Z=l;ja=i;j=k}h=h+1|0;if((D|0)!=(h|0)){continue}break}j=O[H+6|0]|O[H+7|0]<<8;k=D}else{k=0}ta=o+60|0;ua=o+56|0;va=o+32|0;wa=o+28|0;h=N[q>>2];h=h?h:275552;h=Q[h+16>>2]<20?275552:N[h+12>>2];i=O[h+8|0]|O[h+9|0]<<8|(O[h+10|0]<<16|O[h+11|0]<<24);m=O[h+6|0]|O[h+7|0]<<8;ma=O[h+4|0]|O[h+5|0]<<8;N[o+60>>2]=0;N[o+52>>2]=0;N[o+56>>2]=0;W=(ma<<8|ma>>>8)&65535;na=T(W,(m<<8|m>>>8)&65535);xa=h+(i<<24|(i&65280)<<8|(i>>>8&65280|i>>>24))|0;ya=D&-2;za=D&1;qa=T($,12);r=0;i=0;while(1){ea:{fa:{ga:{t=j&128;ha:{if(t){h=T(j>>>5&2|j>>>7&1,W);w=h>>>0>>0?h:W;s=V+4|0;break ha}h=T((j<<8|(j&65280)>>>8)&4095,W);if(h>>>0>=na>>>0){break ga}m=na-h|0;m=m>>>0<=na>>>0?m:0;w=m>>>0>>0?m:W;s=(h<<1)+xa|0}h=0;m=0;l=0;J=0;q=0;if(j&64){j=T(j>>>5&2|j>>>7&1,W);m=t?W:0;t=m+W|0;l=j-t|0;l=j>>>0>=l>>>0?l:0;l=l>>>0>>0?l:W;q=j-m|0;j=j>>>0>=q>>>0?q:0;q=j>>>0>>0?j:W;j=V+4|0;J=j+(m<<1)|0;m=j+(t<<1)|0}p=U(1);if(ma){while(1){ia:{if(h>>>0>=pa>>>0){N[147456]=0;j=0;break ia}j=N[(h<<2)+sa>>2]}x=h<<1;t=h>>>0>=w>>>0?275552:x+s|0;K=O[t|0]|O[t+1|0]<<8;ja:{if(!K){break ja}t=(K<<8|K>>>8)<<16>>16;if((t|0)==(j|0)){break ja}if(O[V+2|0]&64){E=h>>>0>=q>>>0?275552:x+J|0;aa=O[E|0]|O[E+1|0]<<8;E=(aa<<8|aa>>>8)<<16>>16;if((E|0)>(t|0)){break ja}x=h>>>0>=l>>>0?275552:m+x|0;oa=O[x|0]|O[x+1|0]<<8;x=(oa<<8|oa>>>8)<<16>>16;if((x|0)<(t|0)|(E|0)<0&(x|0)>0){break ja}if((j|0)<(E|0)|(j|0)>(x|0)){break ga}if((j|0)<(t|0)){if((K|0)==(aa|0)){break ja}p=U(p*U(U(j-E|0)/U(t-E|0)));break ja}if((K|0)==(oa|0)){break ja}p=U(p*U(U(x-j|0)/U(x-t|0)));break ja}if(!j|(j|0)>(((t|0)>0?t:0)|0)|(j|0)<(t&t>>31)){break ga}p=U(p*U(U(j|0)/U(t|0)))}h=h+1|0;if((W|0)!=(h|0)){continue}break}if(p==U(0)){break ga}}j=o;h=O[H+2|0]|O[H+3|0]<<8;if(h){h=((h<<8|h>>>8)&65535)+H|0}else{h=275552}h=h+ka|0;N[j+48>>2]=h;ka:{if(h>>>0>>0|h>>>0>ga>>>0){break ka}j=O[V|0]|O[V+1|0]<<8;j=(j<<8|j>>>8)&65535;if(j>>>0>ga-h>>>0){break ka}s=h+j|0;h=va;j=wa;if(O[V+2|0]&32){h=ta;j=ua;if(!Vp(o+48|0,o+52|0,s)){break ka}}if((da|0)<0){break ka}K=N[h>>2];J=N[j>>2];w=J?J:k;t=(w|0)>0?w:0;la:{if(t>>>0<=da>>>0){q=r;break la}while(1){da=((da>>>1|0)+da|0)+8|0;if(t>>>0>=da>>>0){continue}break}if(da>>>0>1073741823){break ka}q=$a(r,da<<2);if(!q){break ka}}E=(w|0)<=0;if(!E){j=0;h=N[o+48>>2];k=h+1|0;if(s>>>0>>0){m=i;break ea}ma:{while(1){r=O[h|0];l=r&63;h=l+1|0;m=h+j|0;if(m>>>0>t>>>0){m=i;break ea}na:{if(r<<24>>24<0){C((j<<2)+q|0,0,(l<<2)+4|0);h=k;j=m;break na}if(r&64){if(s>>>0<(h<<1)+k>>>0){m=i;break ea}m=h&3;oa:{if(l>>>0<3){h=k;break oa}r=h&124;l=0;h=k;while(1){k=(j<<2)+q|0;x=O[h|0]|O[h+1|0]<<8;N[k>>2]=(x<<8|x>>>8)<<16>>16;x=O[h+2|0]|O[h+3|0]<<8;N[k+4>>2]=(x<<8|x>>>8)<<16>>16;x=O[h+4|0]|O[h+5|0]<<8;N[k+8>>2]=(x<<8|x>>>8)<<16>>16;aa=k;k=O[h+6|0]|O[h+7|0]<<8;N[aa+12>>2]=(k<<8|k>>>8)<<16>>16;j=j+4|0;h=h+8|0;l=l+4|0;if((r|0)!=(l|0)){continue}break}}k=0;if(!m){break na}while(1){l=O[h|0]|O[h+1|0]<<8;N[(j<<2)+q>>2]=(l<<8|l>>>8)<<16>>16;j=j+1|0;h=h+2|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}break na}if(s>>>0>>0){m=i;break ea}m=h&3;pa:{if(l>>>0<3){h=k;break pa}r=h&124;l=0;h=k;while(1){k=(j<<2)+q|0;N[k>>2]=L[h|0];N[k+4>>2]=L[h+1|0];N[k+8>>2]=L[h+2|0];N[k+12>>2]=L[h+3|0];j=j+4|0;h=h+4|0;l=l+4|0;if((r|0)!=(l|0)){continue}break}}k=0;if(!m){break na}while(1){N[(j<<2)+q>>2]=L[h|0];j=j+1|0;h=h+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}if(j>>>0>=t>>>0){break ma}k=h+1|0;if(s>>>0>=k>>>0){continue}break}m=i;break ea}N[o+48>>2]=h}if((ea|0)<0){m=i;break ea}qa:{if(t>>>0<=ea>>>0){m=i;break qa}while(1){ea=((ea>>>1|0)+ea|0)+8|0;if(t>>>0>=ea>>>0){continue}break}if(ea>>>0>1073741823){m=i;break ea}m=$a(i,ea<<2);if(m){break qa}m=i;break ea}if(!E){j=0;h=N[o+48>>2];k=h+1|0;if(s>>>0>>0){break ea}while(1){r=O[h|0];l=r&63;h=l+1|0;i=h+j|0;if(i>>>0>t>>>0){break ea}ra:{if(r<<24>>24<0){C((j<<2)+m|0,0,(l<<2)+4|0);h=k;j=i;break ra}if(r&64){if(s>>>0<(h<<1)+k>>>0){break ea}r=h&3;sa:{if(l>>>0<3){h=k;break sa}E=h&124;l=0;h=k;while(1){i=(j<<2)+m|0;k=O[h|0]|O[h+1|0]<<8;N[i>>2]=(k<<8|k>>>8)<<16>>16;k=O[h+2|0]|O[h+3|0]<<8;N[i+4>>2]=(k<<8|k>>>8)<<16>>16;k=O[h+4|0]|O[h+5|0]<<8;N[i+8>>2]=(k<<8|k>>>8)<<16>>16;k=i;i=O[h+6|0]|O[h+7|0]<<8;N[k+12>>2]=(i<<8|i>>>8)<<16>>16;j=j+4|0;h=h+8|0;l=l+4|0;if((E|0)!=(l|0)){continue}break}}k=0;if(!r){break ra}while(1){i=O[h|0]|O[h+1|0]<<8;N[(j<<2)+m>>2]=(i<<8|i>>>8)<<16>>16;j=j+1|0;h=h+2|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}break ra}if(s>>>0>>0){break ea}r=h&3;ta:{if(l>>>0<3){h=k;break ta}E=h&124;l=0;h=k;while(1){i=(j<<2)+m|0;N[i>>2]=L[h|0];N[i+4>>2]=L[h+1|0];N[i+8>>2]=L[h+2|0];N[i+12>>2]=L[h+3|0];j=j+4|0;h=h+4|0;l=l+4|0;if((E|0)!=(l|0)){continue}break}}k=0;if(!r){break ra}while(1){N[(j<<2)+m>>2]=L[h|0];j=j+1|0;h=h+1|0;k=k+1|0;if((r|0)!=(k|0)){continue}break}}if(j>>>0>>0){k=h+1|0;if(s>>>0>>0){break ea}continue}break}N[o+48>>2]=h}if(qa){C(n,0,qa)}ua:{va:{if(p==U(1)){k=0;j=0;if(!w){break ua}while(1){h=j;wa:{if(!J){break wa}if(j>>>0>=J>>>0){N[147456]=0;h=0;break wa}h=N[K+(j<<2)>>2]}if(h>>>0<$>>>0){h=T(h,12)+n|0;i=O[h+8|0];L[h+8|0]=1;l=j<<2;R[h>>2]=R[h>>2]+U(N[l+q>>2]);R[h+4>>2]=R[h+4>>2]+U(N[l+m>>2]);k=!i+k|0}j=j+1|0;if((w|0)!=(j|0)){continue}break}break va}k=0;j=0;if(!w){break ua}while(1){h=j;xa:{if(!J){break xa}if(j>>>0>=J>>>0){N[147456]=0;h=0;break xa}h=N[K+(j<<2)>>2]}if(h>>>0<$>>>0){h=T(h,12)+n|0;i=O[h+8|0];L[h+8|0]=1;l=j<<2;R[h>>2]=U(U(N[l+q>>2])*p)+R[h>>2];R[h+4>>2]=U(U(N[l+m>>2])*p)+R[h+4>>2];k=!i+k|0}j=j+1|0;if((w|0)!=(j|0)){continue}break}}if(!k|k>>>0>=$>>>0){break ua}r=0;i=0;if(!ja){break ua}while(1){J=N[(r<<2)+Z>>2];w=J+1|0;ya:{if(w>>>0<=i>>>0){t=J-i|0;j=0;break ya}k=w-i|0;K=k&3;l=0;j=0;h=i;t=J-h|0;if(t>>>0>=3){E=k&-4;s=0;while(1){k=T(h,12)+n|0;j=(((O[k+8|0]+j|0)+O[k+20|0]|0)+O[k+32|0]|0)+O[k+44|0]|0;h=h+4|0;s=s+4|0;if((E|0)!=(s|0)){continue}break}}if(!K){break ya}while(1){j=O[(T(h,12)+n|0)+8|0]+j|0;h=h+1|0;l=l+1|0;if((K|0)!=(l|0)){continue}break}}h=t-j|0;if(h>>>0>>0){l=h+1|0;h=i;za:while(1){k=h;h=h>>>0>>0?h+1|0:i;E=T(k,12);s=E+n|0;if(!O[s+8|0]){continue}j=1;if(O[(T(h,12)+n|0)+8|0]){continue}h=k;while(1){K=j&255;h=h>>>0>>0?h+1|0:i;x=T(h,12);t=x+n|0;aa=O[t+8|0];j=aa;if(K){continue}j=0;if(!aa){continue}break}K=x+X|0;E=E+X|0;while(1){k=k>>>0>>0?k+1|0:i;if((k|0)==(h|0)){continue za}j=T(k,12);x=j+X|0;j=j+n|0;y=R[s>>2];z=R[t>>2];p=R[E>>2];v=R[K>>2];A=y==z?y:U(0);Aa:{if(p==v){break Aa}I=R[x>>2];A=pv?y:z;if(I>=(p>=v?p:v)){break Aa}A=U(U(U(U(I-p)/U(v-p))*U(z-y))+y)}R[j>>2]=A;y=R[s+4>>2];z=R[t+4>>2];p=R[E+4>>2];v=R[K+4>>2];A=y==z?y:U(0);Ba:{if(p==v){break Ba}I=R[x+4>>2];A=pv?y:z;if(I>=(p>=v?p:v)){break Ba}A=U(U(U(U(I-p)/U(v-p))*U(z-y))+y)}R[j+4>>2]=A;l=l-1|0;if(l){continue}break}break}}i=w;r=r+1|0;if((ja|0)!=(r|0)){continue}break}}Ca:{if(!D){break Ca}h=0;if((D|0)!=1){while(1){k=T(h,12);i=k+ia|0;k=k+n|0;R[i>>2]=R[k>>2]+R[i>>2];R[i+4>>2]=R[k+4>>2]+R[i+4>>2];k=T(h|1,12);i=k+ia|0;k=k+n|0;R[i>>2]=R[k>>2]+R[i>>2];R[i+4>>2]=R[k+4>>2]+R[i+4>>2];h=h+2|0;if((ya|0)!=(h|0)){continue}break}if(!za){break Ca}}i=T(h,12);h=i+ia|0;i=i+n|0;R[h>>2]=R[i>>2]+R[h>>2];R[h+4>>2]=R[i+4>>2]+R[h+4>>2]}k=D;break fa}q=r;m=i;break ea}m=i;q=r}ra=ra+1|0;h=O[H|0]|O[H+1|0]<<8;if(ra>>>0>=((h<<8|h>>>8)&4095)>>>0){break ea}h=O[V+2|0]|O[V+3|0]<<8;h=(T(h>>>5&2|h>>>7&1,la)+V|0)+4|0;if(h>>>0>>0|h>>>0>ga>>>0){break ea}l=ga-h|0;if(l>>>0<4){break ea}i=O[V|0]|O[V+1|0]<<8;ka=((i<<8|i>>>8)&65535)+ka|0;r=q;i=m;j=O[h+2|0]|O[h+3|0]<<8;s=T(j>>>5&2|j>>>7&1,la)+4|0;V=h;h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;if(l>>>0>=(h>>>0>>0?s:h)>>>0){continue}}break}_a(m);_a(q);_a(N[o+60>>2]);_a(Z)}_a(n);h=X}_a(h)}_a(N[o+32>>2])}Da:{switch(N[a+20>>2]-1|0){case 0:if(u){break f}h=N[d>>2];if((h|0)<0){break f}b=N[d+4>>2];a=b+ha|0;a=(a|0)>0?a:0;if(a>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(a>>>0>=h>>>0){continue}break}Ea:{if(h>>>0<=357913941){c=$a(N[d+8>>2],T(h,12));if(c){break Ea}}N[d>>2]=-1;break f}N[d>>2]=h;N[d+8>>2]=c}N[d+4>>2]=a;a=T(ha,12);if(!a){break f}F(N[d+8>>2]+T(b,12)|0,G,a);break f;case 1:break Da;default:break g}}j=0;N[o+60>>2]=0;N[o+52>>2]=0;N[o+56>>2]=0;Fa:{Ga:{Ha:{n=N[a+12>>2]+10|0;D=N[a>>2];Ia:{if(n>>>0>>0){break Ia}t=D+N[a+4>>2]|0;if(t>>>0>>0){break Ia}a=t-n|0;if(a>>>0<4){break Ia}h=O[n|0]|O[n+1|0]<<8;i=h<<8|h>>>8;h=i&1?8:6;s=h+2|0;Ja:{if(i&8){break Ja}s=h+4|0;i=i&65535;if(i&64){break Ja}s=i&128?h+8|0:h}if(a>>>0>=s>>>0){break Ha}}h=N[d+4>>2];break Ga}m=Y+36|0;q=Y+24|0;r=Y+12|0;$=g+1|0;l=0;w=0;while(1){Ka:{if(N[o+52>>2]<0){N[o+52>>2]=l;if((l|0)<0){break Ka}}N[o+56>>2]=0}La:{Ma:{a=O[n+2|0]|O[n+3|0]<<8;k=(a<<8|a>>>8)&65535;if(k>>>0>=Q[c+16>>2]){break Ma}a=N[c+20>>2];a=N[(a?a:275552)+12>>2];Na:{if(O[c+12|0]){a=a+(k<<1)|0;h=O[a|0]|O[a+1|0]<<8;j=((h<<8|h>>>8)&65535)<<1;a=O[a+2|0]|O[a+3|0]<<8;a=((a<<8|a>>>8)&65535)<<1;break Na}a=a+(k<<2)|0;h=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);j=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);a=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24)}Oa:{if(a>>>0>=j>>>0){h=N[c+24>>2];h=h?h:275552;if(a>>>0<=Q[h+16>>2]){break Oa}}break Ma}i=N[h+12>>2]+j|0;l=a-j|0;j=l>>>0<10?275552:i;a=O[j|0]|O[j+1|0]<<8;if(a){h=(a<<8|a>>>8)<<16>>16>0?1:(a|0)==65279?3:2}else{h=0}N[o+32>>2]=0;N[o+28>>2]=l;N[o+24>>2]=i;break La}h=0;N[o+32>>2]=0;N[o+24>>2]=0;N[o+28>>2]=0;k=-1;j=275552}N[o+44>>2]=h;N[o+40>>2]=k;N[o+36>>2]=j;N[o+16>>2]=N[f+8>>2];a=N[f+4>>2];N[o+8>>2]=N[f>>2];N[o+12>>2]=a;if(!ej(o+24|0,b,c,o+52|0,e,o+8|0,$)){break Fa}h=O[n|0]|O[n+1|0]<<8;if(h&2){h=N[o+56>>2];Pa:{if(h>>>0<=3){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Pa}a=(N[o+60>>2]+T(h,12)|0)-48|0}j=Y;if(!S){N[147456]=0;N[147457]=0;N[147458]=0;j=589824}i=N[a+4>>2];N[j>>2]=N[a>>2];N[j+4>>2]=i;M[j+8>>1]=P[a+8>>1];Qa:{if(h>>>0<=2){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Qa}a=(N[o+60>>2]+T(h,12)|0)-36|0}j=r;if(S>>>0<=1){N[147456]=0;N[147457]=0;N[147458]=0;j=589824}i=N[a+4>>2];N[j>>2]=N[a>>2];N[j+4>>2]=i;M[j+8>>1]=P[a+8>>1];Ra:{if(h>>>0<=1){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Ra}a=(N[o+60>>2]+T(h,12)|0)-24|0}j=q;if(S>>>0<=2){N[147456]=0;N[147457]=0;N[147458]=0;j=589824}i=N[a+4>>2];N[j>>2]=N[a>>2];N[j+4>>2]=i;M[j+8>>1]=P[a+8>>1];Sa:{if(!h){N[147456]=0;N[147457]=0;N[147458]=0;a=589824;break Sa}a=(N[o+60>>2]+T(h,12)|0)-12|0}h=m;if(S>>>0<=3){N[147456]=0;N[147457]=0;N[147458]=0;h=589824}i=N[a+4>>2];N[h>>2]=N[a>>2];N[h+4>>2]=i;M[h+8>>1]=P[a+8>>1];h=O[n|0]|O[n+1|0]<<8}a=h<<8|(h&65280)>>>8;j=a&65535;Ta:{if(a&1){a=O[n+6|0]|O[n+7|0]<<8;l=(a<<8|a>>>8)<<16>>16;a=O[n+4|0]|O[n+5|0]<<8;i=(a<<8|a>>>8)<<16>>16;a=n+8|0;break Ta}l=L[n+5|0];i=L[n+4|0];a=n+6|0}k=l;l=h<<22>>31;k=k&l;i=i&l;Ua:{Va:{Wa:{if(j&8){v=U(0);a=O[a|0]|O[a+1|0]<<8;y=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));p=y;break Wa}if(j&64){j=O[a+2|0]|O[a+3|0]<<8;y=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));v=U(0);a=O[a|0]|O[a+1|0]<<8;p=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));break Wa}if(j&128){j=O[a+6|0]|O[a+7|0]<<8;y=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));j=O[a+4|0]|O[a+5|0]<<8;_=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));j=O[a+2|0]|O[a+3|0]<<8;v=U(U((j<<8|j>>>8)<<16>>16)*U(6103515625e-14));a=O[a|0]|O[a+1|0]<<8;p=U(U((a<<8|a>>>8)<<16>>16)*U(6103515625e-14));break Va}if(!(i|k)){break Ua}v=U(0);y=U(1);p=U(1)}_=U(0)}z=U(k|0);I=U(i|0);if((h&24)==8){Xa:{if(!(i|k)){break Xa}a=N[o+56>>2];if(!a){break Xa}i=N[o+60>>2];h=0;if((a|0)!=1){k=a&1;j=a&-2;while(1){a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;a=i+T(h|1,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break Xa}}a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z}if(!(p!=U(1)|v!=U(0)|_!=U(0))){if(y==U(1)){break Ua}}a=N[o+56>>2];if(!a){break Ua}i=N[o+60>>2];h=0;if((a|0)!=1){k=a&1;j=a&-2;while(1){a=i+T(h,12)|0;z=R[a>>2];I=R[a+4>>2];R[a+4>>2]=U(z*v)+U(y*I);R[a>>2]=U(z*p)+U(_*I);a=i+T(h|1,12)|0;z=R[a>>2];I=R[a+4>>2];R[a+4>>2]=U(z*v)+U(y*I);R[a>>2]=U(z*p)+U(_*I);h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break Ua}}a=i+T(h,12)|0;z=R[a>>2];A=U(z*v);v=R[a+4>>2];R[a+4>>2]=A+U(y*v);R[a>>2]=U(z*p)+U(_*v);break Ua}Ya:{if(!(p!=U(1)|v!=U(0)|_!=U(0))){if(y==U(1)){break Ya}}a=N[o+56>>2];if(!a){break Ya}j=N[o+60>>2];h=0;if((a|0)!=1){l=a&1;Z=a&-2;while(1){a=j+T(h,12)|0;ca=R[a>>2];A=R[a+4>>2];R[a+4>>2]=U(ca*v)+U(y*A);R[a>>2]=U(ca*p)+U(_*A);a=j+T(h|1,12)|0;ca=R[a>>2];A=R[a+4>>2];R[a+4>>2]=U(ca*v)+U(y*A);R[a>>2]=U(ca*p)+U(_*A);h=h+2|0;if((Z|0)!=(h|0)){continue}break}if(!l){break Ya}}a=j+T(h,12)|0;ca=R[a>>2];A=U(ca*v);v=R[a+4>>2];R[a+4>>2]=A+U(y*v);R[a>>2]=U(ca*p)+U(_*v)}if(!(i|k)){break Ua}a=N[o+56>>2];if(!a){break Ua}i=N[o+60>>2];h=0;if((a|0)!=1){k=a&1;j=a&-2;while(1){a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;a=i+T(h|1,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z;h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break Ua}}a=i+T(h,12)|0;R[a>>2]=R[a>>2]+I;R[a+4>>2]=R[a+4>>2]+z}Za:{if((u?N[d+4>>2]:ha)>>>0<=w>>>0){N[147456]=0;N[147457]=0;N[147458]=0;h=589824;v=U(0);p=U(0);break Za}h=T(w,12)+(u?N[d+8>>2]:G)|0;v=R[h+4>>2];p=R[h>>2]}_a:{if(p==U(0)&v==U(0)){break _a}a=N[o+56>>2];if(!a){break _a}i=N[o+60>>2];j=0;if((a|0)!=1){k=a&1;l=a&-2;while(1){a=i+T(j,12)|0;R[a>>2]=R[h>>2]+R[a>>2];R[a+4>>2]=R[h+4>>2]+R[a+4>>2];a=i+T(j|1,12)|0;R[a>>2]=R[h>>2]+R[a>>2];R[a+4>>2]=R[h+4>>2]+R[a+4>>2];j=j+2|0;if((l|0)!=(j|0)){continue}break}if(!k){break _a}v=R[h+4>>2];p=R[h>>2]}a=i+T(j,12)|0;R[a>>2]=p+R[a>>2];R[a+4>>2]=v+R[a+4>>2]}a=O[n|0]|O[n+1|0]<<8;$a:{if(a&512){l=N[o+56>>2];break $a}l=N[o+56>>2];ab:{if(a&256){a=O[n+6|0]|O[n+7|0]<<8;j=(a<<8|a>>>8)&65535;a=O[n+4|0]|O[n+5|0]<<8;a=(a<<8|a>>>8)&65535;break ab}j=O[n+5|0];a=O[n+4|0]}if(a>>>0>=Q[d+4>>2]|j>>>0>=l>>>0){break $a}h=N[d+8>>2]+T(a,12)|0;a=N[o+60>>2];i=a+T(j,12)|0;p=U(R[h+4>>2]-R[i+4>>2]);v=U(R[h>>2]-R[i>>2]);if(v==U(0)&p==U(0)){break $a}h=0;if((l|0)!=1){k=l&1;j=l&-2;while(1){i=a+T(h,12)|0;R[i>>2]=v+R[i>>2];R[i+4>>2]=p+R[i+4>>2];i=a+T(h|1,12)|0;R[i>>2]=v+R[i>>2];R[i+4>>2]=p+R[i+4>>2];h=h+2|0;if((j|0)!=(h|0)){continue}break}if(!k){break $a}}a=a+T(h,12)|0;R[a>>2]=v+R[a>>2];R[a+4>>2]=p+R[a+4>>2]}a=N[d+4>>2];j=N[o+60>>2];i=N[d>>2];bb:{if((i|0)<0){h=a;break bb}h=l-4|0;k=h>>>0>l>>>0?l:h;h=k+a|0;h=(h|0)>0?h:0;cb:{if(i>>>0>>0){while(1){i=((i>>>1|0)+i|0)+8|0;if(i>>>0<=h>>>0){continue}break}db:{if(i>>>0<=357913941){Z=$a(N[d+8>>2],T(i,12));if(Z){break db}}N[d>>2]=-1;break cb}N[d>>2]=i;N[d+8>>2]=Z}N[d+4>>2]=h;i=T(k,12);if(!i){break bb}F(N[d+8>>2]+T(a,12)|0,j,i)}h=N[d+4>>2]}if(h>>>0>1e4){break Fa}if(!(O[n+1|0]&32)){break Ga}n=n+s|0;if(D>>>0>n>>>0|n>>>0>t>>>0){break Ga}a=t-n|0;if(a>>>0<4){break Ga}w=(h>>>0<10001)+w|0;i=O[n|0]|O[n+1|0]<<8;k=i<<8|i>>>8;i=k&1?8:6;s=i+2|0;eb:{if(k&8){break eb}s=i+4|0;k=k&65535;if(k&64){break eb}s=k&128?i+8|0:i}if(a>>>0>=s>>>0){continue}break}}k=N[d>>2];fb:{if((k|0)<0){break fb}a=h+S|0;a=(a|0)>0?a:0;if(a>>>0>k>>>0){while(1){k=((k>>>1|0)+k|0)+8|0;if(a>>>0>=k>>>0){continue}break}gb:{if(k>>>0<=357913941){b=$a(N[d+8>>2],T(k,12));if(b){break gb}}N[d>>2]=-1;break fb}N[d>>2]=k;N[d+8>>2]=b}N[d+4>>2]=a;if(!S){break fb}F(N[d+8>>2]+T(h,12)|0,Y,T(S,12))}_a(j);break f}_a(N[o+60>>2])}J=0;break a}h=N[d>>2];if((h|0)<0){break f}b=N[d+4>>2];a=b+S|0;a=(a|0)>0?a:0;if(a>>>0>h>>>0){while(1){h=((h>>>1|0)+h|0)+8|0;if(a>>>0>=h>>>0){continue}break}hb:{if(h>>>0<=357913941){c=$a(N[d+8>>2],T(h,12));if(c){break hb}}N[d>>2]=-1;break f}N[d>>2]=h;N[d+8>>2]=c}N[d+4>>2]=a;if(!S){if(g){break b}break e}F(N[d+8>>2]+T(b,12)|0,Y,T(S,12));if(g){break b}break d}if(g){break b}if(S){break d}}N[147456]=0;N[147457]=0;N[147458]=0;p=U(0);break c}p=R[Y>>2]}if(p==U(0)){break b}a=N[d+4>>2];if(!a){break b}b=N[d+8>>2];h=0;if((a|0)!=1){c=a&1;e=a&-2;while(1){a=b+T(h,12)|0;R[a>>2]=R[a>>2]-p;R[a+4>>2]=R[a+4>>2]+U(0);a=b+T(h|1,12)|0;R[a>>2]=R[a>>2]-p;R[a+4>>2]=R[a+4>>2]+U(0);h=h+2|0;if((e|0)!=(h|0)){continue}break}if(!c){break b}}a=b+T(h,12)|0;R[a>>2]=R[a>>2]-p;R[a+4>>2]=R[a+4>>2]+U(0)}J=N[d>>2]>=0}_a(G)}La=o- -64|0;return J}function co(a,b){var 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,t=0,u=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,I=0,J=0,K=0,P=0,R=0,V=0,X=0,Y=0,Z=0,_=0,$=0;X=La-16|0;La=X;N[X+12>>2]=b;e=La-144|0;La=e;C(e,0,144);N[e+76>>2]=-1;N[e+44>>2]=a;N[e+32>>2]=381;N[e+84>>2]=a;P=b;a=0;q=La-304|0;La=q;a:{b:{c:{d:{if(N[e+4>>2]){break d}mi(e);if(N[e+4>>2]){break d}break c}b=17004;r=37;e:{f:{g:{h:{while(1){i:{d=r&255;j:{if((d|0)==32|d-9>>>0<5){while(1){r=b;b=b+1|0;d=O[r+1|0];if((d|0)==32|d-9>>>0<5){continue}break}cd(e,0,0);while(1){b=N[e+4>>2];k:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break k}b=Db(e)}if((b|0)==32|b-9>>>0<5){continue}break}b=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){b=b-1|0;N[e+4>>2]=b}b=b-N[e+44>>2]|0;d=b;g=G+N[e+124>>2]|0;f=b>>31;b=z+N[e+120>>2]|0;m=f+(b>>>0>>0?g+1|0:g)|0;z=b+d|0;G=z>>>0>>0?m+1|0:m;break j}l:{m:{n:{if(O[b|0]==37){d=O[b+1|0];if((d|0)==42){break n}if((d|0)!=37){break m}}cd(e,0,0);o:{if(O[b|0]==37){while(1){d=N[e+4>>2];p:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;r=O[d|0];break p}r=Db(e)}if((r|0)==32|r-9>>>0<5){continue}break}b=b+1|0;break o}d=N[e+4>>2];if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;r=O[d|0];break o}r=Db(e)}if(O[b|0]!=(r|0)){b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}if((r|0)>=0){break a}n=0;if(R){break a}break c}d=N[e+4>>2]-N[e+44>>2]|0;g=d;m=G+N[e+124>>2]|0;f=d>>31;d=z+N[e+120>>2]|0;o=f+(d>>>0>>0?m+1|0:m)|0;z=d+g|0;G=z>>>0>>0?o+1|0:o;r=b;break j}x=0;b=b+2|0;break l}if(!(O[b+2|0]!=36|d-48>>>0>=10)){g=La-16|0;N[g+12>>2]=P;d=d-48|0;d=(d>>>0>1?(d<<2)-4|0:0)+P|0;N[g+8>>2]=d+4;x=N[d>>2];b=b+3|0;break l}x=N[P>>2];P=P+4|0;b=b+1|0}f=0;while(1){j=O[b|0];if(j-48>>>0<10){b=b+1|0;f=(T(f,10)+j|0)-48|0;continue}break}I=0;if((j|0)==109){F=0;I=(x|0)!=0;j=O[b+1|0];b=b+1|0;a=0}r=b+1|0;c=3;n=I;q:{r:{switch((j&255)-65|0){case 39:d=b+2|0;b=O[b+1|0]==104;r=b?d:r;c=b?-2:-1;break q;case 43:d=b+2|0;b=O[b+1|0]==108;r=b?d:r;c=b?3:1;break q;case 51:case 57:c=1;break q;case 11:c=2;break q;case 41:break q;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 r;default:break e}}c=0;r=b}b=O[r|0];d=(b&47)==3;h=d?1:c;k=d?b|32:b;s:{if((k|0)==91){break s}t:{if((k|0)!=110){if((k|0)!=99){break t}f=(f|0)<=1?1:f;break s}Rn(x,h,z,G);break j}cd(e,0,0);while(1){b=N[e+4>>2];u:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break u}b=Db(e)}if((b|0)==32|b-9>>>0<5){continue}break}b=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){b=b-1|0;N[e+4>>2]=b}b=b-N[e+44>>2]|0;d=b;g=G+N[e+124>>2]|0;j=b>>31;b=z+N[e+120>>2]|0;i=j+(b>>>0>>0?g+1|0:g)|0;z=b+d|0;G=z>>>0>>0?i+1|0:i}o=f;i=f>>31;cd(e,f,i);b=N[e+4>>2];v:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;break v}if((Db(e)|0)<0){break f}}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}b=16;w:{x:{y:{z:{A:{switch(k-88|0){default:b=k-65|0;if(b>>>0>6|!(1<>>0<=2){b=Y<<2;J=N[b+583548>>2];K=N[b+583536>>2];while(1){b=N[e+4>>2];C:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break C}b=Db(e)}if((b|0)==32|b-9>>>0<5){continue}break}f=1;D:{E:{switch(b-43|0){case 0:case 2:break E;default:break D}}f=(b|0)==45?-1:1;b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break D}b=Db(e)}F:{G:{while(1){if(L[k+7858|0]==(b|32)){H:{if(k>>>0>6){break H}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break H}b=Db(e)}k=k+1|0;if((k|0)!=8){continue}break G}break}if((k|0)!=3){if((k|0)==8){break G}break F}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}}m=La-16|0;La=m;l=(H(U(U(f|0)*U(Infinity))),v(2));b=l&2147483647;I:{if(b-8388608>>>0<=2130706431){f=(b>>>7|0)+1065353216|0;g=b<<25;break I}f=l>>>7|2147418112;g=l<<25;if(b>>>0>=2139095040){break I}f=0;g=0;if(!b){break I}f=b;b=W(b);hc(m,f,0,0,0,b+81|0);d=N[m>>2];i=N[m+4>>2];f=N[m+12>>2]^65536|16265-b<<16;g=N[m+8>>2]}N[t>>2]=d;N[t+4>>2]=i;N[t+8>>2]=g;N[t+12>>2]=l&-2147483648|f;La=m+16|0;d=N[t+8>>2];i=N[t+12>>2];g=N[t>>2];m=N[t+4>>2];break B}J:{K:{L:{if(k){break L}k=0;while(1){if(L[k+13118|0]!=(b|32)){break L}M:{if(k>>>0>1){break M}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break M}b=Db(e)}k=k+1|0;if((k|0)!=3){continue}break}break K}N:{switch(k|0){case 0:O:{if((b|0)!=48){break O}k=N[e+4>>2];P:{if((k|0)!=N[e+104>>2]){N[e+4>>2]=k+1;k=O[k|0];break P}k=Db(e)}if((k&-33)==88){k=0;h=La-432|0;La=h;Q:{R:{b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0];break R}n=0;break Q}n=1}while(1){S:{T:{U:{V:{W:{X:{Y:{Z:{if(!n){k=Db(e);break Z}if((k|0)!=48){m=1073676288;n=0;if((k|0)==46){break X}break W}b=N[e+4>>2];if((b|0)==N[e+104>>2]){break Y}A=1;N[e+4>>2]=b+1;k=O[b|0]}n=1;continue}A=1;break T}b=N[e+4>>2];_:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0];break _}k=Db(e)}if((k|0)==48){break V}j=1}break U}while(1){b=o;o=b-1|0;u=u-!b|0;j=1;b=N[e+4>>2];$:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0];break $}k=Db(e)}if((k|0)==48){continue}break}A=1}aa:{while(1){ba:{b=k|32;ca:{da:{V=k-48|0;if(V>>>0<10){break da}if((k|0)!=46&b-97>>>0>5){break aa}if((k|0)!=46){break da}if(j){break ba}j=1;o=d;u=i;break ca}b=(k|0)>57?b-87|0:V;ea:{if((i|0)<=0&d>>>0<=7|(i|0)<0){n=b+(n<<4)|0;break ea}if(!i&d>>>0<=28){uc(h+48|0,b);Gb(h+32|0,D,E,g,m,0,0,0,1073414144);D=N[h+32>>2];E=N[h+36>>2];g=N[h+40>>2];m=N[h+44>>2];Gb(h+16|0,N[h+48>>2],N[h+52>>2],N[h+56>>2],N[h+60>>2],D,E,g,m);pc(h,N[h+16>>2],N[h+20>>2],N[h+24>>2],N[h+28>>2],l,s,y,B);y=N[h+8>>2];B=N[h+12>>2];l=N[h>>2];s=N[h+4>>2];break ea}if(c|!b){break ea}Gb(h+80|0,D,E,g,m,0,0,0,1073610752);pc(h- -64|0,N[h+80>>2],N[h+84>>2],N[h+88>>2],N[h+92>>2],l,s,y,B);y=N[h+72>>2];B=N[h+76>>2];c=1;l=N[h+64>>2];s=N[h+68>>2]}d=d+1|0;i=d?i:i+1|0;A=1}b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;k=O[b|0]}else{k=Db(e)}continue}break}k=46}if(!A){b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}cd(e,0,0);bd(h+96|0,+(f|0)*0);d=N[h+104>>2];i=N[h+108>>2];l=N[h+96>>2];s=N[h+100>>2];break S}if((i|0)<=0&d>>>0<=7|(i|0)<0){g=d;m=i;while(1){n=n<<4;g=g+1|0;m=g?m:m+1|0;if((g|0)!=8|m){continue}break}}fa:{if((k&-33)==80){g=Yn(e);b=Pa;m=b;if(g|(b|0)!=-2147483648){break fa}l=0;s=0;cd(e,0,0);d=0;i=0;break S}g=0;m=0;if(N[e+116>>2]<0){break fa}N[e+4>>2]=N[e+4>>2]-1}if(!n){bd(h+112|0,+(f|0)*0);d=N[h+120>>2];i=N[h+124>>2];l=N[h+112>>2];s=N[h+116>>2];break S}b=j?o:d;o=(j?u:i)<<2|b>>>30;b=g+(b<<2)|0;j=m+o|0;j=b>>>0>>0?j+1|0:j;d=b-32|0;i=j-(b>>>0<32)|0;b=i;if(d>>>0>0-J>>>0&(b|0)>=0|(b|0)>0){N[147316]=68;uc(h+160|0,f);Gb(h+144|0,N[h+160>>2],N[h+164>>2],N[h+168>>2],N[h+172>>2],-1,-1,-1,2147418111);Gb(h+128|0,N[h+144>>2],N[h+148>>2],N[h+152>>2],N[h+156>>2],-1,-1,-1,2147418111);d=N[h+136>>2];i=N[h+140>>2];l=N[h+128>>2];s=N[h+132>>2];break S}b=J-226|0;g=b>>31;if((i|0)>=(g|0)&b>>>0<=d>>>0|(g|0)<(i|0)){if((n|0)>=0){while(1){pc(h+416|0,l,s,y,B,0,0,0,-1073807360);b=yn(l,s,y,B,1073610752);g=(b|0)>=0;b=g;pc(h+400|0,l,s,y,B,b?N[h+416>>2]:l,b?N[h+420>>2]:s,b?N[h+424>>2]:y,b?N[h+428>>2]:B);b=d;d=b-1|0;i=i-!b|0;y=N[h+408>>2];B=N[h+412>>2];l=N[h+400>>2];s=N[h+404>>2];n=g|n<<1;if((n|0)>=0){continue}break}}j=i-((J>>31)+(d>>>0>>0)|0)|0;b=(d-J|0)+32|0;j=b>>>0<32?j+1|0:j;g=b>>>0>>0&(j|0)<=0|(j|0)<0?(b|0)>0?b:0:K;ga:{if((g|0)>=113){uc(h+384|0,f);o=N[h+392>>2];u=N[h+396>>2];D=N[h+384>>2];E=N[h+388>>2];i=0;b=0;break ga}bd(h+352|0,Gd(1,144-g|0));uc(h+336|0,f);D=N[h+336>>2];E=N[h+340>>2];o=N[h+344>>2];u=N[h+348>>2];_n(h+368|0,N[h+352>>2],N[h+356>>2],N[h+360>>2],N[h+364>>2],D,E,o,u);p=N[h+376>>2];w=N[h+380>>2];i=N[h+372>>2];b=N[h+368>>2]}f=!(n&1)&((Sd(l,s,y,B,0,0,0,0)|0)!=0&(g|0)<32);oe(h+320|0,f+n|0);Gb(h+304|0,D,E,o,u,N[h+320>>2],N[h+324>>2],N[h+328>>2],N[h+332>>2]);g=b;pc(h+272|0,N[h+304>>2],N[h+308>>2],N[h+312>>2],N[h+316>>2],b,i,p,w);b=f;Gb(h+288|0,D,E,o,u,b?0:l,b?0:s,b?0:y,b?0:B);pc(h+256|0,N[h+288>>2],N[h+292>>2],N[h+296>>2],N[h+300>>2],N[h+272>>2],N[h+276>>2],N[h+280>>2],N[h+284>>2]);Nh(h+240|0,N[h+256>>2],N[h+260>>2],N[h+264>>2],N[h+268>>2],g,i,p,w);b=N[h+240>>2];f=N[h+244>>2];g=N[h+248>>2];o=N[h+252>>2];if(!Sd(b,f,g,o,0,0,0,0)){N[147316]=68}Zn(h+224|0,b,f,g,o,d);d=N[h+232>>2];i=N[h+236>>2];l=N[h+224>>2];s=N[h+228>>2];break S}N[147316]=68;uc(h+208|0,f);Gb(h+192|0,N[h+208>>2],N[h+212>>2],N[h+216>>2],N[h+220>>2],0,0,0,65536);Gb(h+176|0,N[h+192>>2],N[h+196>>2],N[h+200>>2],N[h+204>>2],0,0,0,65536);d=N[h+184>>2];i=N[h+188>>2];l=N[h+176>>2];s=N[h+180>>2];break S}n=0;continue}break}N[t+16>>2]=l;N[t+20>>2]=s;N[t+24>>2]=d;N[t+28>>2]=i;La=h+432|0;d=N[t+24>>2];i=N[t+28>>2];g=N[t+16>>2];m=N[t+20>>2];break B}if(N[e+116>>2]<0){break O}N[e+4>>2]=N[e+4>>2]-1}h=f;c=La-8976|0;La=c;k=0-J|0;V=k-K|0;ha:{ia:{while(1){if((b|0)!=48){ja:{if((b|0)!=46){break ha}b=N[e+4>>2];if((b|0)==N[e+104>>2]){break ja}N[e+4>>2]=b+1;b=O[b|0];break ia}}else{b=N[e+4>>2];if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0]}else{b=Db(e)}j=1;continue}break}b=Db(e)}p=1;if((b|0)!=48){break ha}while(1){b=d;d=b-1|0;i=i-!b|0;b=N[e+4>>2];ka:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break ka}b=Db(e)}if((b|0)==48){continue}break}j=1}N[c+784>>2]=0;la:{ma:{f=(b|0)==46;l=b-48|0;na:{oa:{pa:{if(f|l>>>0<=9){while(1){qa:{if(f&1){if(!p){d=g;i=m;p=1;break qa}f=!j;break pa}g=g+1|0;m=g?m:m+1|0;if((n|0)<=2044){A=(b|0)==48?A:g;f=(c+784|0)+(n<<2)|0;if(w){l=(T(N[f>>2],10)+b|0)-48|0}N[f>>2]=l;j=1;f=w+1|0;b=(f|0)==9;w=b?0:f;n=b+n|0;break qa}if((b|0)==48){break qa}N[c+8960>>2]=N[c+8960>>2]|1;A=18396}b=N[e+4>>2];ra:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break ra}b=Db(e)}f=(b|0)==46;l=b-48|0;if(f|l>>>0<10){continue}break}}d=p?d:g;i=p?i:m;if(!(!j|(b&-33)!=69)){b=Yn(e);f=Pa;if(!b&(f|0)==-2147483648){break na}i=f+i|0;d=b+d|0;i=d>>>0>>0?i+1|0:i;break ma}f=!j;if((b|0)<0){break oa}}if(N[e+116>>2]<0){break oa}N[e+4>>2]=N[e+4>>2]-1}if(!f){break ma}N[147316]=28}g=0;m=0;cd(e,0,0);d=0;b=0;break la}b=N[c+784>>2];if(!b){bd(c,+(h|0)*0);g=N[c>>2];m=N[c+4>>2];d=N[c+12>>2];b=N[c+8>>2];break la}if(!(g>>>0>9&(m|0)>=0|(m|0)>0|((d|0)!=(g|0)|(i|0)!=(m|0))|(b>>>K|0?(K|0)<=30:0))){uc(c+48|0,h);oe(c+32|0,b);Gb(c+16|0,N[c+48>>2],N[c+52>>2],N[c+56>>2],N[c+60>>2],N[c+32>>2],N[c+36>>2],N[c+40>>2],N[c+44>>2]);g=N[c+16>>2];m=N[c+20>>2];d=N[c+28>>2];b=N[c+24>>2];break la}if(d>>>0>k>>>1>>>0&(i|0)>=0|(i|0)>0){N[147316]=68;uc(c+96|0,h);Gb(c+80|0,N[c+96>>2],N[c+100>>2],N[c+104>>2],N[c+108>>2],-1,-1,-1,2147418111);Gb(c- -64|0,N[c+80>>2],N[c+84>>2],N[c+88>>2],N[c+92>>2],-1,-1,-1,2147418111);g=N[c+64>>2];m=N[c+68>>2];d=N[c+76>>2];b=N[c+72>>2];break la}b=J-226|0;f=d>>>0>>0;b=b>>31;if(f&(i|0)<=(b|0)|(b|0)>(i|0)){N[147316]=68;uc(c+144|0,h);Gb(c+128|0,N[c+144>>2],N[c+148>>2],N[c+152>>2],N[c+156>>2],0,0,0,65536);Gb(c+112|0,N[c+128>>2],N[c+132>>2],N[c+136>>2],N[c+140>>2],0,0,0,65536);g=N[c+112>>2];m=N[c+116>>2];d=N[c+124>>2];b=N[c+120>>2];break la}if(w){if((w|0)<=8){b=(c+784|0)+(n<<2)|0;k=N[b>>2];while(1){k=T(k,10);w=w+1|0;if((w|0)!=9){continue}break}N[b>>2]=k}n=n+1|0}sa:{p=d;if((A|0)>8|(A|0)>(d|0)|(d|0)>17){break sa}if((p|0)==9){uc(c+192|0,h);oe(c+176|0,N[c+784>>2]);Gb(c+160|0,N[c+192>>2],N[c+196>>2],N[c+200>>2],N[c+204>>2],N[c+176>>2],N[c+180>>2],N[c+184>>2],N[c+188>>2]);g=N[c+160>>2];m=N[c+164>>2];d=N[c+172>>2];b=N[c+168>>2];break la}if((p|0)<=8){uc(c+272|0,h);oe(c+256|0,N[c+784>>2]);Gb(c+240|0,N[c+272>>2],N[c+276>>2],N[c+280>>2],N[c+284>>2],N[c+256>>2],N[c+260>>2],N[c+264>>2],N[c+268>>2]);uc(c+224|0,N[(0-p<<2)+583536>>2]);rn(c+208|0,N[c+240>>2],N[c+244>>2],N[c+248>>2],N[c+252>>2],N[c+224>>2],N[c+228>>2],N[c+232>>2],N[c+236>>2]);g=N[c+208>>2];m=N[c+212>>2];d=N[c+220>>2];b=N[c+216>>2];break la}b=(T(p,-3)+K|0)+27|0;d=N[c+784>>2];if(d>>>b|0?(b|0)<=30:0){break sa}uc(c+352|0,h);oe(c+336|0,d);Gb(c+320|0,N[c+352>>2],N[c+356>>2],N[c+360>>2],N[c+364>>2],N[c+336>>2],N[c+340>>2],N[c+344>>2],N[c+348>>2]);uc(c+304|0,N[(p<<2)+583464>>2]);Gb(c+288|0,N[c+320>>2],N[c+324>>2],N[c+328>>2],N[c+332>>2],N[c+304>>2],N[c+308>>2],N[c+312>>2],N[c+316>>2]);g=N[c+288>>2];m=N[c+292>>2];d=N[c+300>>2];b=N[c+296>>2];break la}while(1){b=n;n=b-1|0;if(!N[(c+784|0)+(n<<2)>>2]){continue}break}d=(p|0)%9|0;ta:{if(!d){w=0;f=0;break ta}w=0;d=(p|0)<0?d+9|0:d;ua:{if(!b){f=0;b=0;break ua}g=N[(0-d<<2)+583536>>2];j=1e9/(g|0)|0;l=0;k=0;f=0;while(1){i=l;l=(c+784|0)+(k<<2)|0;m=N[l>>2];n=(m>>>0)/(g>>>0)|0;i=i+n|0;N[l>>2]=i;i=!i&(f|0)==(k|0);f=i?f+1&2047:f;p=i?p-9|0:p;l=T(j,m-T(g,n)|0);k=k+1|0;if((k|0)!=(b|0)){continue}break}if(!l){break ua}N[(c+784|0)+(b<<2)>>2]=l;b=b+1|0}p=(p-d|0)+9|0}while(1){s=(c+784|0)+(f<<2)|0;A=(p|0)<36;va:{while(1){wa:{if(A){break wa}if((p|0)!=36){break va}if(Q[s>>2]<=10384592){break wa}p=36;break va}n=b+2047|0;l=0;j=b;while(1){b=j;k=n&2047;n=(c+784|0)+(k<<2)|0;d=N[n>>2];g=d>>>3|0;i=d<<29;d=i+l|0;i=d>>>0>>0?g+1|0:g;if(!i&d>>>0<1000000001){l=0}else{l=WE(d,i,1e9,0);g=UE(l,Pa,-1e9,-1);d=d+g|0}N[n>>2]=d;j=(k|0)!=(b-1&2047)?b:(f|0)==(k|0)?b:d?b:k;n=k-1|0;if((f|0)!=(k|0)){continue}break}w=w-29|0;if(!l){continue}break}f=f-1&2047;if((j|0)==(f|0)){d=c+784|0;b=d+((j+2046&2047)<<2)|0;g=b;k=N[b>>2];b=j-1&2047;N[g>>2]=k|N[d+(b<<2)>>2]}p=p+9|0;N[(c+784|0)+(f<<2)>>2]=l;continue}break}xa:{ya:while(1){d=b+1&2047;i=(c+784|0)+((b-1&2047)<<2)|0;while(1){g=(p|0)>45?9:1;za:{while(1){j=f;k=0;Aa:{while(1){Ba:{f=j+k&2047;if((f|0)==(b|0)){break Ba}f=N[(c+784|0)+(f<<2)>>2];l=N[(k<<2)+583488>>2];if(f>>>0>>0){break Ba}if(f>>>0>l>>>0){break Aa}k=k+1|0;if((k|0)!=4){continue}}break}if((p|0)!=36){break Aa}d=0;i=0;k=0;g=0;m=0;while(1){f=j+k&2047;if((f|0)==(b|0)){b=b+1&2047;N[(c+(b<<2)|0)+780>>2]=0}oe(c+768|0,N[(c+784|0)+(f<<2)>>2]);Gb(c+752|0,d,i,g,m,0,0,1342177280,1075633366);pc(c+736|0,N[c+752>>2],N[c+756>>2],N[c+760>>2],N[c+764>>2],N[c+768>>2],N[c+772>>2],N[c+776>>2],N[c+780>>2]);g=N[c+744>>2];m=N[c+748>>2];d=N[c+736>>2];i=N[c+740>>2];k=k+1|0;if((k|0)!=4){continue}break}uc(c+720|0,h);Gb(c+704|0,d,i,g,m,N[c+720>>2],N[c+724>>2],N[c+728>>2],N[c+732>>2]);g=N[c+712>>2];m=N[c+716>>2];d=0;i=0;l=N[c+704>>2];s=N[c+708>>2];A=w+113|0;n=A-J|0;k=(n|0)<(K|0);f=k?(n|0)>0?n:0:K;if((f|0)<=112){break za}break xa}w=g+w|0;f=b;if((b|0)==(j|0)){continue}break}m=1e9>>>g|0;n=-1<>2];l=l+(s>>>g|0)|0;N[k>>2]=l;l=!l&(f|0)==(j|0);f=l?f+1&2047:f;p=l?p-9|0:p;k=T(m,n&s);j=j+1&2047;if((j|0)!=(b|0)){continue}break}if(!k){continue}if((d|0)!=(f|0)){N[(c+784|0)+(b<<2)>>2]=k;b=d;continue ya}N[i>>2]=N[i>>2]|1;continue}break}break}bd(c+656|0,Gd(1,225-f|0));_n(c+688|0,N[c+656>>2],N[c+660>>2],N[c+664>>2],N[c+668>>2],l,s,g,m);y=N[c+696>>2];B=N[c+700>>2];D=N[c+688>>2];E=N[c+692>>2];bd(c+640|0,Gd(1,113-f|0));hp(c+672|0,l,s,g,m,N[c+640>>2],N[c+644>>2],N[c+648>>2],N[c+652>>2]);d=N[c+672>>2];i=N[c+676>>2];o=N[c+680>>2];u=N[c+684>>2];Nh(c+624|0,l,s,g,m,d,i,o,u);pc(c+608|0,D,E,y,B,N[c+624>>2],N[c+628>>2],N[c+632>>2],N[c+636>>2]);g=N[c+616>>2];m=N[c+620>>2];l=N[c+608>>2];s=N[c+612>>2]}p=j+4&2047;Ca:{if((p|0)==(b|0)){break Ca}p=N[(c+784|0)+(p<<2)>>2];Da:{if(p>>>0<=499999999){if(!p&(j+5&2047)==(b|0)){break Da}bd(c+496|0,+(h|0)*.25);pc(c+480|0,d,i,o,u,N[c+496>>2],N[c+500>>2],N[c+504>>2],N[c+508>>2]);o=N[c+488>>2];u=N[c+492>>2];d=N[c+480>>2];i=N[c+484>>2];break Da}if((p|0)!=5e8){bd(c+592|0,+(h|0)*.75);pc(c+576|0,d,i,o,u,N[c+592>>2],N[c+596>>2],N[c+600>>2],N[c+604>>2]);o=N[c+584>>2];u=N[c+588>>2];d=N[c+576>>2];i=N[c+580>>2];break Da}Z=+(h|0);if((j+5&2047)==(b|0)){bd(c+528|0,Z*.5);pc(c+512|0,d,i,o,u,N[c+528>>2],N[c+532>>2],N[c+536>>2],N[c+540>>2]);o=N[c+520>>2];u=N[c+524>>2];d=N[c+512>>2];i=N[c+516>>2];break Da}bd(c+560|0,Z*.75);pc(c+544|0,d,i,o,u,N[c+560>>2],N[c+564>>2],N[c+568>>2],N[c+572>>2]);o=N[c+552>>2];u=N[c+556>>2];d=N[c+544>>2];i=N[c+548>>2]}if((f|0)>111){break Ca}hp(c+464|0,d,i,o,u,0,0,0,1073676288);if(Sd(N[c+464>>2],N[c+468>>2],N[c+472>>2],N[c+476>>2],0,0,0,0)){break Ca}pc(c+448|0,d,i,o,u,0,0,0,1073676288);o=N[c+456>>2];u=N[c+460>>2];d=N[c+448>>2];i=N[c+452>>2]}pc(c+432|0,l,s,g,m,d,i,o,u);Nh(c+416|0,N[c+432>>2],N[c+436>>2],N[c+440>>2],N[c+444>>2],D,E,y,B);g=N[c+424>>2];m=N[c+428>>2];l=N[c+416>>2];s=N[c+420>>2];Ea:{if((V-2|0)>=(A&2147483647)){break Ea}N[c+408>>2]=g;N[c+412>>2]=m&2147483647;N[c+400>>2]=l;N[c+404>>2]=s;Gb(c+384|0,l,s,g,m,0,0,0,1073610752);j=yn(N[c+400>>2],N[c+404>>2],N[c+408>>2],N[c+412>>2],1081081856);b=(j|0)>=0;g=b?N[c+392>>2]:g;m=b?N[c+396>>2]:m;l=b?N[c+384>>2]:l;s=b?N[c+388>>2]:s;w=b+w|0;if(!(k&((f|0)!=(n|0)|(j|0)<0)&(Sd(d,i,o,u,0,0,0,0)|0)!=0)&(w+110|0)<=(V|0)){break Ea}N[147316]=68}Zn(c+368|0,l,s,g,m,w);g=N[c+368>>2];m=N[c+372>>2];d=N[c+380>>2];b=N[c+376>>2]}N[t+40>>2]=b;N[t+44>>2]=d;N[t+32>>2]=g;N[t+36>>2]=m;La=c+8976|0;d=N[t+40>>2];i=N[t+44>>2];g=N[t+32>>2];m=N[t+36>>2];break B;case 3:break K;default:break N}}break J}Fa:{b=N[e+4>>2];Ga:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break Ga}b=Db(e)}if((b|0)==40){k=1;break Fa}i=2147450880;if(N[e+116>>2]<0){break B}N[e+4>>2]=N[e+4>>2]-1;break B}while(1){Ha:{b=N[e+4>>2];Ia:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;b=O[b|0];break Ia}b=Db(e)}if(!(b-48>>>0<10|b-65>>>0<26|(b|0)==95)){if(b-97>>>0>=26){break Ha}}k=k+1|0;continue}break}i=2147450880;if((b|0)==41){break B}}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}N[147316]=28;cd(e,0,0)}i=0}N[q+8>>2]=g;N[q+12>>2]=m;N[q+16>>2]=d;N[q+20>>2]=i;La=t+48|0;b=N[e+4>>2]-N[e+44>>2]|0;if(N[e+120>>2]!=(0-b|0)|N[e+124>>2]!=(0-((b>>31)+((b|0)!=0)|0)|0)){break y}break g;case 3:case 11:case 27:if((k|16)==115){ve(q+32|0,-1,257);L[q+32|0]=0;if((k|0)!=115){break x}L[q+65|0]=0;L[q+46|0]=0;M[q+42>>1]=0;M[q+44>>1]=0;break x}d=O[r+1|0];g=(d|0)==94;ve(q+32|0,g,257);L[q+32|0]=0;b=g?r+2|0:r+1|0;Ja:{Ka:{La:{g=O[(g?2:1)+r|0];if((g|0)!=45){if((g|0)==93){break La}c=(d|0)!=94;break Ja}c=(d|0)!=94;L[q+78|0]=c;break Ka}c=(d|0)!=94;L[q+126|0]=c}b=b+1|0}r=b;while(1){j=O[r|0];Ma:{if((j|0)!=45){if(!j){break f}if((j|0)==93){break x}break Ma}j=45;d=O[r+1|0];if(!d|(d|0)==93){break Ma}g=r+1|0;b=O[r-1|0];Na:{if(d>>>0<=b>>>0){j=d;break Na}while(1){b=b+1|0;L[b+(q+32|0)|0]=c;j=O[g|0];if(j>>>0>b>>>0){continue}break}}r=g}L[(j+q|0)+33|0]=c;r=r+1|0;continue};case 23:b=8;break z;case 12:case 29:b=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 w;case 0:case 24:case 32:break z;case 17:break A}}b=0}d=0;i=0;j=0;n=0;l=0;y=La-16|0;La=y;Oa:{if((b|0)==1){N[147316]=28;break Oa}while(1){g=N[e+4>>2];Pa:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Pa}f=Db(e)}if((f|0)==32|f-9>>>0<5){continue}break}Qa:{Ra:{switch(f-43|0){case 0:case 2:break Ra;default:break Qa}}l=(f|0)==45?-1:0;g=N[e+4>>2];if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Qa}f=Db(e)}Sa:{Ta:{Ua:{Va:{if(!((b|0)!=0&(b|0)!=16|(f|0)!=48)){g=N[e+4>>2];Wa:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Wa}f=Db(e)}if((f&-33)==88){b=16;g=N[e+4>>2];Xa:{if((g|0)!=N[e+104>>2]){N[e+4>>2]=g+1;f=O[g|0];break Xa}f=Db(e)}if(O[f+584193|0]<16){break Ua}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}cd(e,0,0);break Oa}if(b){break Va}b=8;break Ua}b=b?b:10;if(b>>>0>O[f+584193|0]){break Va}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}cd(e,0,0);N[147316]=28;break Oa}if((b|0)!=10){break Ua}j=f-48|0;if(j>>>0<=9){b=0;while(1){b=T(b,10)+j|0;g=b>>>0<429496729;d=N[e+4>>2];Ya:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break Ya}f=Db(e)}j=f-48|0;if(g&j>>>0<=9){continue}break}d=b}Za:{if(j>>>0>9){break Za}g=UE(d,0,10,0);m=Pa;o=j;while(1){d=g+o|0;i=d>>>0>>0?m+1|0:m;g=(i|0)==429496729&d>>>0>=2576980378|i>>>0>429496729;b=N[e+4>>2];_a:{if((b|0)!=N[e+104>>2]){N[e+4>>2]=b+1;f=O[b|0];break _a}f=Db(e)}j=f-48|0;if(g|j>>>0>9){break Za}g=UE(d,i,10,0);o=j;m=Pa;b=m;if((b|0)==-1&(j^-1)>>>0>=g>>>0|(b|0)!=-1){continue}break}b=10;break Ta}b=10;if(j>>>0<=9){break Ta}break Sa}if(b-1&b){n=O[f+584193|0];if(n>>>0>>0){while(1){j=T(b,j)+n|0;g=j>>>0<119304647;d=N[e+4>>2];$a:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break $a}f=Db(e)}n=O[f+584193|0];if(g&n>>>0>>0){continue}break}d=j}if(b>>>0<=n>>>0){break Ta}while(1){g=UE(d,i,b,0);j=Pa;o=n&255;if((j|0)==-1&(o^-1)>>>0>>0){break Ta}d=g+o|0;i=d>>>0>>0?j+1|0:j;f=N[e+4>>2];ab:{if((f|0)!=N[e+104>>2]){N[e+4>>2]=f+1;f=O[f|0];break ab}f=Db(e)}n=O[f+584193|0];if(b>>>0<=n>>>0){break Ta}hb(y,b,0,0,0,d,i,0,0);if(!(N[y+8>>2]|N[y+12>>2])){continue}break}break Ta}g=L[(T(b,23)>>>5&7)+584449|0];j=O[f+584193|0];if(j>>>0>>0){while(1){n=n<>>0<134217728;d=N[e+4>>2];bb:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break bb}f=Db(e)}j=O[f+584193|0];if(o&j>>>0>>0){continue}break}d=n}if(b>>>0<=j>>>0){break Ta}o=g;m=g&31;if((g&63)>>>0>=32){g=0;m=-1>>>m|0}else{g=-1>>>m|0;m=g|(1<>>0>m>>>0){break Ta}while(1){f=d;d=o&31;n=j&255;if((o&63)>>>0>=32){j=f<>>32-d|i<>2];cb:{if((f|0)!=N[e+104>>2]){N[e+4>>2]=f+1;f=O[f|0];break cb}f=Db(e)}j=O[f+584193|0];if(b>>>0<=j>>>0){break Ta}if((g|0)==(i|0)&d>>>0<=m>>>0|g>>>0>i>>>0){continue}break}}if(O[f+584193|0]>=b>>>0){break Sa}while(1){d=N[e+4>>2];db:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;f=O[d|0];break db}f=Db(e)}if(O[f+584193|0]>>0){continue}break}N[147316]=68;d=-1;i=-1;l=0}b=N[e+116>>2];if((b|0)>0|(b|0)>=0){N[e+4>>2]=N[e+4>>2]-1}b=d^l;d=b-l|0;g=l>>31;i=(g^i)-((b>>>0>>0)+g|0)|0}La=y+16|0;b=N[e+4>>2]-N[e+44>>2]|0;if(N[e+120>>2]==(0-b|0)&N[e+124>>2]==(0-((b>>31)+((b|0)!=0)|0)|0)){break g}if(!(!x|(k|0)!=112)){N[x>>2]=d;break w}Rn(x,h,d,i);break w}if(!x){break w}g=N[q+16>>2];d=N[q+20>>2];f=N[q+8>>2];l=N[q+12>>2];eb:{switch(Y|0){case 0:i=La-32|0;La=i;b=d&2147483647;o=b;j=b-1065418752|0;b=b-1082064896|0;fb:{if((j|0)==(b|0)&0|b>>>0>j>>>0){o=(d&33554431)<<7|g>>>25;b=0;j=b;g=g&33554431;if(!(!b&(g|0)==16777216?!(f|l):!b&g>>>0<16777216)){b=o+1073741825|0;break fb}b=o+1073741824|0;if(g^16777216|f|(j|l)){break fb}b=(o&1)+b|0;break fb}if(!(!g&(o|0)==2147418112?!(f|l):o>>>0<2147418112)){b=((d&33554431)<<7|g>>>25)&4194303|2143289344;break fb}b=2139095040;if(o>>>0>1082064895){break fb}b=0;o=o>>>16|0;if(o>>>0<16145){break fb}b=d&65535|65536;hc(i+16|0,f,l,g,b,o-16129|0);Qd(i,f,l,g,b,16257-o|0);b=N[i+8>>2];g=b;b=(N[i+12>>2]&33554431)<<7|b>>>25;o=N[i>>2]|(N[i+16>>2]|N[i+24>>2]|(N[i+20>>2]|N[i+28>>2]))!=0;l=N[i+4>>2];f=0;g=g&33554431;if(!(!f&(g|0)==16777216?!(o|l):!f&g>>>0<16777216)){b=b+1|0;break fb}if(g^16777216|o|(f|l)){break fb}b=(b&1)+b|0}La=i+32|0;N[x>>2]=d&-2147483648|b;break w;case 1:_=x,$=ym(f,l,g,d),S[_>>3]=$;break w;case 2:break eb;default:break w}}N[x>>2]=f;N[x+4>>2]=l;N[x+8>>2]=g;N[x+12>>2]=d;break w}g=(k|0)!=99;f=g?31:f+1|0;gb:{if((h|0)==1){j=x;if(I){j=kb(f<<2);if(!j){break h}}N[q+296>>2]=0;N[q+300>>2]=0;b=0;while(1){a=j;hb:{while(1){d=N[e+4>>2];ib:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;d=O[d|0];break ib}d=Db(e)}if(!O[(d+q|0)+33|0]){break hb}L[q+27|0]=d;d=fo(q+28|0,q+27|0,1,q+296|0);if((d|0)==-2){continue}F=0;if((d|0)==-1){break f}if(a){N[(b<<2)+a>>2]=N[q+28>>2];b=b+1|0}if(!I|(b|0)!=(f|0)){continue}break}n=1;b=f;f=b<<1|1;j=$a(a,f<<2);if(j){continue}break e}break}F=0;f=a;if(q+296|0?N[q+296>>2]:0){break f}break gb}if(I){b=0;j=kb(f);if(!j){break h}while(1){a=j;while(1){d=N[e+4>>2];jb:{if((d|0)!=N[e+104>>2]){N[e+4>>2]=d+1;d=O[d|0];break jb}d=Db(e)}if(!O[(d+q|0)+33|0]){f=0;F=a;break gb}L[a+b|0]=d;b=b+1|0;if((f|0)!=(b|0)){continue}break}n=1;b=f;f=b<<1|1;j=$a(a,f);if(j){continue}break}F=a;a=0;break e}b=0;if(x){while(1){a=N[e+4>>2];kb:{if((a|0)!=N[e+104>>2]){N[e+4>>2]=a+1;a=O[a|0];break kb}a=Db(e)}if(O[(a+q|0)+33|0]){L[b+x|0]=a;b=b+1|0;continue}else{f=0;a=x;F=a;break gb}}}while(1){a=N[e+4>>2];lb:{if((a|0)!=N[e+104>>2]){N[e+4>>2]=a+1;a=O[a|0];break lb}a=Db(e)}if(O[(a+q|0)+33|0]){continue}break}a=0;F=0;f=0}j=N[e+4>>2];d=N[e+116>>2];if((d|0)>0|(d|0)>=0){j=j-1|0;N[e+4>>2]=j}l=j-N[e+44>>2]|0;d=l+N[e+120>>2]|0;j=N[e+124>>2]+(l>>31)|0;j=d>>>0>>0?j+1|0:j;if(!(j|d)|!(g|(d|0)==(o|0)&(i|0)==(j|0))){break i}if(I){N[x>>2]=a}mb:{if((k|0)==99){break mb}if(f){N[(b<<2)+f>>2]=0}if(!F){F=0;break mb}L[b+F|0]=0}a=f}b=N[e+4>>2]-N[e+44>>2]|0;d=b;m=G+N[e+124>>2]|0;f=b>>31;b=z+N[e+120>>2]|0;i=f+(b>>>0>>0?m+1|0:m)|0;z=b+d|0;G=z>>>0>>0?i+1|0:i;R=((x|0)!=0)+R|0}b=r+1|0;r=O[r+1|0];if(r){continue}break a}break}a=f;break g}n=1;F=0;a=0;break e}n=I;break b}n=I}if(R){break b}}R=-1}if(!n){break a}_a(F);_a(a)}La=q+304|0;La=e+144|0;La=X+16|0;return R}function cp(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,M=0,P=0,Q=0,R=0,S=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0;i=La+-64|0;La=i;a:{if(!b){e=6;break a}h=N[b>>2];if(!h){e=6;break a}g=N[b+4>>2];if(g){while(1){f=N[g+8>>2];N[i+48>>2]=0;if(f){while(1){e=6;b:{c:{switch(N[f+32>>2]-1|0){case 0:e=Qa[N[h+4>>2]](h,40)|0;if(!e){e=64;break a}N[e>>2]=0;N[e+4>>2]=0;N[e+32>>2]=0;N[e+36>>2]=0;N[e+24>>2]=0;N[e+28>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;p=N[f+4>>2];N[e>>2]=N[f>>2];N[e+4>>2]=p;p=N[f+12>>2];N[e+8>>2]=N[f+8>>2];N[e+12>>2]=p;p=N[f+20>>2];N[e+16>>2]=N[f+16>>2];N[e+20>>2]=p;p=N[f+28>>2];N[e+24>>2]=N[f+24>>2];N[e+28>>2]=p;N[e+32>>2]=N[f+32>>2];N[e+36>>2]=N[i+48>>2];N[i+48>>2]=e;break b;case 1:e=N[f+4>>2];N[i>>2]=N[f>>2];N[i+4>>2]=e;e=N[f+20>>2];N[i+8>>2]=N[f+16>>2];N[i+12>>2]=e;e=N[f+12>>2];N[i+16>>2]=N[f+8>>2];N[i+20>>2]=e;Pi(h,i,32,i+48|0);break b;case 2:break c;default:break a}}e=N[f+4>>2];N[i>>2]=N[f>>2];N[i+4>>2]=e;e=N[f+20>>2];N[i+8>>2]=N[f+16>>2];N[i+12>>2]=e;e=N[f+28>>2];N[i+16>>2]=N[f+24>>2];N[i+20>>2]=e;e=N[f+12>>2];N[i+24>>2]=N[f+8>>2];N[i+28>>2]=e;Oi(h,i,32,i+48|0)}f=N[f+36>>2];if(f){continue}break}}p=Qa[N[h+4>>2]](h,16)|0;if(!p){e=64;break a}N[p+12>>2]=S;N[p>>2]=0;N[p+4>>2]=0;N[p+8>>2]=N[i+48>>2];N[i+48>>2]=0;e=N[g+12>>2];f=N[g+8>>2];d:{if(f){while(1){aa=N[f+36>>2];Qa[N[h+8>>2]](h,f);f=aa;if(f){continue}break}if(!g){break d}}Qa[N[h+8>>2]](h,g)}S=p;g=e;if(e){continue}break}}N[b+4>>2]=p;if(!d){e=6;break a}if(c-33>>>0<4294967265){e=6;break a}na=N[b>>2];if(!na){e=6;break a}Ca=N[a+8>>2];Fa=O[a+5|0];Ga=O[a+4|0];Da=N[a>>2];a=T(T(N[d+4>>2],N[d>>2]),12);e:{if((a|0)<=0){e=6;if(!a){break e}break a}ja=Qa[N[na+4>>2]](na,a)|0;if(!ja){e=64;break a}C(ja,0,a)}e=19;f:{g:{fa=N[d+4>>2];if(!fa){break g}ka=N[d>>2];if(!ka){break g}aa=c<<16;Ea=N[d+12>>2];oa=N[b+4>>2];if(oa){while(1){l=N[oa+8>>2];if(l){while(1){d=O[l+12|0]|O[l+13|0]<<8|(O[l+14|0]<<16|O[l+15|0]<<24);h=O[l+8|0]|O[l+9|0]<<8|(O[l+10|0]<<16|O[l+11|0]<<24);a=O[l+20|0]|O[l+21|0]<<8|(O[l+22|0]<<16|O[l+23|0]<<24);b=a;p=O[l+16|0]|O[l+17|0]<<8|(O[l+18|0]<<16|O[l+19|0]<<24);S=p;f=O[l+4|0]|O[l+5|0]<<8|(O[l+6|0]<<16|O[l+7|0]<<24);y=f;e=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);g=e;h:{switch((O[l+32|0]|O[l+33|0]<<8|(O[l+34|0]<<16|O[l+35|0]<<24))-1|0){case 2:g=O[l+28|0]|O[l+29|0]<<8|(O[l+30|0]<<16|O[l+31|0]<<24);b=(a|0)<(g|0)?a:g;y=O[l+24|0]|O[l+25|0]<<8|(O[l+26|0]<<16|O[l+27|0]<<24);S=(p|0)<(y|0)?p:y;a=(a|0)>(g|0)?a:g;p=(p|0)>(y|0)?p:y;case 1:y=(b|0)>(f|0)?f:b;g=(e|0)<(S|0)?e:S;f=(a|0)<(f|0)?f:a;e=(e|0)>(p|0)?e:p;case 0:Ha=(d|0)>(f|0)?d:f;Ia=(d|0)<(y|0)?d:y;Ja=(e|0)<(h|0)?h:e;Ka=(g|0)>(h|0)?h:g;break;default:break h}}a=(Ja+63|0)/64|0;b=(Ka-63|0)/64|0;y=((Ia-63|0)/64|0)-c|0;sa=((Ha+63|0)/64|0)+c|0;i:{if((y|0)>=(sa|0)){break i}ta=a+c|0;S=b-c|0;if((ta|0)<=(S|0)){break i}if(!Fa){while(1){if((y|0)<(ka|0)&(y|0)>=0){ba=y<<6|32;pa=ba<<10;ua=T((y^-1)+ka|0,fa);p=S;while(1){j:{if((p|0)<0|(p|0)>=(fa|0)){break j}e=6;Y=p<<6|32;k:{l:{switch(N[l+32>>2]-1|0){case 2:a=N[l+20>>2];U=N[l+4>>2];f=a-U|0;G=T(f,3);b=G>>31;V=(b^G)-b|0;la=V>>>16|0;ca=V&65535;b=N[l+16>>2];H=N[l>>2];g=b-H|0;W=T(g,3);d=W>>31;u=(d^W)-d|0;ma=u>>>16|0;ga=u&65535;e=N[l+28>>2];Z=e+(U-(a<<1)|0)|0;h=T(Z,3);d=h>>31;v=(d^h)-d|0;da=v>>>16|0;A=v&65535;d=N[l+12>>2]+(T(a-e|0,3)-U|0)|0;e=d>>31;a=e;m=(a^d)-a|0;I=m>>>16|0;q=m&65535;d=N[l+24>>2];_=d+(H-(b<<1)|0)|0;h=T(_,3);a=h>>31;w=(a^h)-a|0;ea=w>>>16|0;t=w&65535;b=N[l+8>>2]+(T(b-d|0,3)-H|0)|0;a=b>>31;o=(a^b)-a|0;J=o>>>16|0;s=o&65535;K=0;B=f>>31|1;ha=0-B|0;ia=g>>31|1;va=0-ia|0;wa=T(Z,6);z=T(_,6);qa=Z>>31|1;xa=0-qa|0;D=e|1;X=0-D|0;ra=_>>31|1;ya=0-ra|0;E=a|1;M=0-E|0;d=2147483647;g=0;a=0;while(1){f=K<<14;P=0;while(1){b=f>>31;h=(b^f)-b|0;x=h>>>8|0;if(h+x>>>0<=8190){k=T(f,f)+32768>>>16|0}else{b=h&65535;k=T(b+h|0,h>>>16|0)+(T(b,b)+32768>>>16|0)|0}e=k;b=f>>31|1;n=(f|0)<0;b=((n?0-b|0:b)|0)<0?0-e|0:e;e=e>>31;j=(k^e)-e|0;m:{if(j+x>>>0<=8190){F=T(h,j)+32768>>>16|0;break m}e=j&65535;F=T(e,h>>>16|0)+T(h,j>>>16|0)+(T(e,h&65535)+32768>>>16)|0}e=F;k=b>>31|1;r=((n?0-k|0:k)|0)<0?0-e|0:e;e=e>>31;e=(F^e)-e|0;Q=e>>>8|0;n:{if(Q+o>>>0<=8190){k=T(e,o)+32768>>>16|0;break n}k=T(s,e>>>16|0)+T(e,J)+(T(s,e&65535)+32768>>>16)|0}R=(r|0)<0;r=((R?M:E)|0)<0?0-k|0:k;$=j>>>8|0;k=$+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,j>>>16|0)+T(j,ea)+(T(t,j&65535)+32768>>>16)|0;za=0-k|0;F=k;k=(b|0)<0;F=(r+H|0)+(((k?ya:ra)|0)<0?za:F)|0;r=x+u>>>0<=8190?T(h,u)+32768>>>16|0:T(ga,h>>>16|0)+T(h,ma)+(T(ga,h&65535)+32768>>>16)|0;r=F+(((n?va:ia)|0)<0?0-r|0:r)|0;e=m+Q>>>0<=8190?T(e,m)+32768>>>16|0:T(q,e>>>16|0)+T(e,I)+(T(q,e&65535)+32768>>>16)|0;Q=((R?X:D)|0)<0?0-e|0:e;e=v+$>>>0<=8190?T(j,v)+32768>>>16|0:T(A,j>>>16|0)+T(j,da)+(T(A,j&65535)+32768>>>16)|0;j=((k?xa:qa)|0)<0?0-e|0:e;e=x+V>>>0<=8190?T(h,V)+32768>>>16|0:T(ca,h>>>16|0)+T(h,la)+(T(ca,h&65535)+32768>>>16)|0;x=r-Y|0;N[i+32>>2]=x<<10;j=(j+(Q+U|0)|0)+(((n?ha:B)|0)<0?0-e|0:e)|0;e=j-ba|0;N[i+36>>2]=e<<10;h=Wb(i+32|0);if((h|0)<(d|0)){Aa=r<<10;Ba=j<<10;g=f;d=h;a=b}j=f<<1;h=T(b,3);b=h>>31;h=(b^h)-b|0;r=h>>>8|0;o:{if(r+o>>>0<=8190){b=T(h,o)+32768>>>16|0;break o}b=T(s,h>>>16|0)+T(h,J)+(T(s,h&65535)+32768>>>16)|0}Q=((k?M:E)|0)<0?0-b|0:b;R=f>>>7|0;b=R+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,f>>>15|0)+T(j,ea)+(T(t,j&65534)+32768>>>16)|0;$=0-b|0;h=m+r>>>0<=8190?T(h,m)+32768>>>16|0:T(q,h>>>16|0)+T(h,I)+(T(q,h&65535)+32768>>>16)|0;r=(_|0)<0;$=r?$:b;Q=Q+W|0;N[i+32>>2]=x;N[i+36>>2]=e;b=v+R>>>0<=8190?T(j,v)+32768>>>16|0:T(A,f>>>15|0)+T(j,da)+(T(A,j&65534)+32768>>>16)|0;j=(Z|0)<0;b=((((k?X:D)|0)<0?0-h|0:h)+G|0)+(j?0-b|0:b)|0;h=Q+$|0;F=((T(b,e)|0)/64|0)+((T(h,x)|0)/64|0)|0;k=(T(b,b)>>>6)+(T(h,h)>>>6)|0;h=T(f,6);b=h>>31;b=(b^h)-b|0;R=b>>>8|0;p:{if(R+o>>>0<=8190){h=T(b,o)+32768>>>16|0;break p}h=T(s,b>>>16|0)+T(b,J)+(T(s,b&65534)+32768>>>16)|0}b=m+R>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65534)+32768>>>16)|0;f=f-fb(F,(k+((T(x,z+(((n?M:E)|0)<0?0-h|0:h)|0)|0)/64|0)|0)+((T(wa+(((n?X:D)|0)<0?0-b|0:b)|0,e)|0)/64|0)|0)|0;if(f>>>0<=65536){b=P&65535;P=P+1|0;if(b>>>0<3){continue}}break}K=K+1|0;if((K|0)!=5){continue}break};f=g<<1;e=T(a,3);b=e>>31;b=(b^e)-b|0;h=b>>>8|0;q:{if(h+o>>>0<=8190){e=T(b,o)+32768>>>16|0;break q}e=T(s,b>>>16|0)+T(b,J)+(T(s,b&65535)+32768>>>16)|0}o=(a|0)<0;s=g>>>7|0;a=s+w>>>0<=8190?T(f,w)+32768>>>16|0:T(t,g>>>15|0)+T(f,ea)+(T(t,f&65534)+32768>>>16)|0;e=(W+(((o?M:E)|0)<0?0-e|0:e)|0)+(r?0-a|0:a)|0;N[i+48>>2]=e;a=h+m>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65535)+32768>>>16)|0;b=G+(((o?X:D)|0)<0?0-a|0:a)|0;a=s+v>>>0<=8190?T(f,v)+32768>>>16|0:T(A,g>>>15|0)+T(f,da)+(T(A,f&65534)+32768>>>16)|0;b=b+(j?0-a|0:a)|0;N[i+52>>2]=b;f=Aa-(Y<<10)|0;h=f>>31;h=(f^h)-h|0;a=b>>31;a=(a^b)-a|0;r:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break r}j=h&65535;k=T(j,a>>>16|0)+T(a,h>>>16|0)+(T(j,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=f>>31|1;z=(((b|0)<0?0-a|0:a)|0)<0?h:k;b=Ba-pa|0;h=b>>31;h=(b^h)-h|0;a=e>>31;a=(a^e)-a|0;s:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break s}m=h&65535;k=T(m,a>>>16|0)+T(a,h>>>16|0)+(T(m,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=b>>31|1;a=(z|0)<(((((e|0)<0?0-a|0:a)|0)<0?h:k)|0);e=65536;if(!(g&-65537)){N[i+4>>2]=b;N[i>>2]=f;_b(i+48|0);_b(i);e=ob(N[i+48>>2],N[i+4>>2])-ob(N[i+52>>2],N[i>>2])|0}a=a?1:-1;break k;case 1:b=N[l+20>>2];I=N[l+4>>2];J=b-I|0;D=J<<1;a=D>>31;s=(a^D)-a|0;da=s>>>16|0;X=s&65534;d=N[l+16>>2];E=N[l>>2];M=d-E|0;x=M<<1;a=x>>31;v=(a^x)-a|0;ea=v>>>16|0;U=v&65534;w=N[l+12>>2]+(I-(b<<1)|0)|0;b=w>>31;h=(b^w)-b|0;K=h>>>16|0;o=h&65535;P=N[l+8>>2]+(E-(d<<1)|0)|0;a=P>>31;j=(a^P)-a|0;A=j>>>16|0;q=j&65535;m=0;k=J>>31|1;r=0-k|0;ca=M>>31|1;ga=0-ca|0;la=w<<1;ma=P<<1;G=b|1;V=0-G|0;H=a|1;W=0-H|0;d=2147483647;a=0;while(1){f=m<<14;b=0;while(1){g=f>>31;e=(g^f)-g|0;t=e>>>8|0;if(e+t>>>0<=8190){z=T(f,f)+32768>>>16|0}else{g=e&65535;z=T(g+e|0,e>>>16|0)+(T(g,g)+32768>>>16|0)|0}g=z;n=f>>31|1;u=(f|0)<0;B=((u?0-n|0:n)|0)<0?0-g|0:g;g=g>>31;g=(z^g)-g|0;ha=g>>>8|0;t:{if(ha+j>>>0<=8190){n=T(g,j)+32768>>>16|0;break t}n=T(q,g>>>16|0)+T(g,A)+(T(q,g&65535)+32768>>>16)|0}B=(B|0)<0;ia=((B?W:H)|0)<0?0-n|0:n;n=t+v>>>0<=8190?T(e,v)+32768>>>16|0:T(U,e>>>16|0)+T(e,ea)+(T(U,e&65535)+32768>>>16)|0;n=(E+ia|0)+(((u?ga:ca)|0)<0?0-n|0:n)|0;g=h+ha>>>0<=8190?T(g,h)+32768>>>16|0:T(o,g>>>16|0)+T(g,K)+(T(o,g&65535)+32768>>>16)|0;B=((B?V:G)|0)<0?0-g|0:g;g=t+s>>>0<=8190?T(e,s)+32768>>>16|0:T(X,e>>>16|0)+T(e,da)+(T(X,e&65535)+32768>>>16)|0;t=n-Y|0;N[i+32>>2]=t<<10;u=(I+B|0)+(((u?r:k)|0)<0?0-g|0:g)|0;g=u-ba|0;N[i+36>>2]=g<<10;e=Wb(i+32|0);if((e|0)<(d|0)){_=n<<10;Z=u<<10;d=e;a=f}e=f<<1;u=f>>>7|0;n=u+j>>>0<=8190?T(e,j)+32768>>>16|0:T(q,f>>>15|0)+T(e,A)+(T(q,e&65534)+32768>>>16)|0;n=x+((P|0)<0?0-n|0:n)|0;N[i+36>>2]=g;N[i+32>>2]=t;z=f;e=h+u>>>0<=8190?T(e,h)+32768>>>16|0:T(o,f>>>15|0)+T(e,K)+(T(o,e&65534)+32768>>>16)|0;f=D+((w|0)<0?0-e|0:e)|0;f=z-fb(((T(f,g)|0)/64|0)+((T(n,t)|0)/64|0)|0,(((T(f,f)>>>6)+(T(n,n)>>>6)|0)+((T(t,ma)|0)/64|0)|0)+((T(g,la)|0)/64|0)|0)|0;if(f>>>0<=65536){g=b&65535;b=b+1|0;if(g>>>0<3){continue}}break}m=m+1|0;if((m|0)!=5){continue}break};b=a>>31;b=(b^a)-b|0;g=b>>>8|0;u:{if(g+j>>>0<=8190){f=T(b,j)+32768>>>16|0;break u}f=T(q,b>>>16|0)+T(b,A)+(T(q,b&65535)+32768>>>16)|0}e=(a|0)<0;f=M+(((e?W:H)|0)<0?0-f|0:f)<<1;N[i+48>>2]=f;b=g+h>>>0<=8190?T(b,h)+32768>>>16|0:T(o,b>>>16|0)+T(b,K)+(T(o,b&65535)+32768>>>16)|0;g=J+(((e?V:G)|0)<0?0-b|0:b)<<1;N[i+52>>2]=g;h=_-(Y<<10)|0;e=h>>31;e=(e^h)-e|0;b=g>>31;b=(b^g)-b|0;v:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break v}j=e&65535;e=T(j,b>>>16|0)+T(b,e>>>16|0)+(T(j,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=h>>31|1;z=(((g|0)<0?0-b|0:b)|0)<0?k:e;g=Z-pa|0;e=g>>31;e=(e^g)-e|0;b=f>>31;b=(b^f)-b|0;w:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break w}m=e&65535;e=T(m,b>>>16|0)+T(b,e>>>16|0)+(T(m,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=g>>31|1;b=(z|0)<(((((f|0)<0?0-b|0:b)|0)<0?k:e)|0);e=65536;if(!(a&-65537)){N[i+4>>2]=g;N[i>>2]=h;_b(i+48|0);_b(i);e=ob(N[i+48>>2],N[i+4>>2])-ob(N[i+52>>2],N[i>>2])|0}a=b?1:-1;break k;case 0:break l;default:break g}}a=N[l+8>>2];f=N[l>>2];e=N[l+4>>2];b=N[l+12>>2]-e|0;N[i+4>>2]=b;d=a-f|0;N[i>>2]=d;j=d<<10;g=j>>31;h=fb(((T(b,ba-e|0)|0)/64|0)+((T(d,Y-f|0)|0)/64|0)|0,(T(b,b)>>>6)+(T(d,d)>>>6)|0);a=(h|0)>=65536?65536:h;a=(a|0)>0?a:0;m=a>>>8|0;g=(g^j)-g|0;x:{if((m|g)>>>0<=8190){g=T(a,g)+32768>>>16|0;break x}j=g&64512;g=T(j,a>>>16|0)+T(a,g>>>16|0)+(T(j,a&65535)+32768>>>16)|0}j=(d|0)<0;o=j?0-g|0:g;e=e-ba<<10;q=b<<10;g=q>>31;g=(g^q)-g|0;y:{if(g+m>>>0<=8190){g=T(a,g)+32768>>>16|0;break y}m=g&64512;g=T(m,a>>>16|0)+T(a,g>>>16|0)+(T(m,a&65535)+32768>>>16)|0}m=(b|0)<0;g=e+(m?0-g|0:g)|0;N[i+52>>2]=g;f=o+(f-Y<<10)|0;N[i+48>>2]=f;e=f>>31;e=(e^f)-e|0;k=b;b=b>>31;b=(k^b)-b|0;z:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break z}o=e&65535;e=T(o,b>>>16|0)+T(b,e>>>16|0)+(T(o,b&65535)+32768>>>16)|0}b=e;k=0-b|0;b=f>>31|1;k=((m?0-b|0:b)|0)<0?k:e;b=d>>31;b=(b^d)-b|0;d=g>>31;d=(d^g)-d|0;A:{if((b>>>8|0)+d>>>0<=8190){d=T(b,d)+32768>>>16|0;break A}e=d&65535;d=T(e,b>>>16|0)+T(b,d>>>16|0)+(T(e,b&65535)+32768>>>16)|0}b=d;f=0-b|0;b=g>>31|1;j=(k|0)<((((j?0-b|0:b)|0)<0?f:d)|0);d=Wb(i+48|0);B:{if((h|0)>0){e=65536;if((a|0)!=65536){break B}}_b(i);_b(i+48|0);f=N[i>>2];b=f>>31;g=N[i+52>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;C:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break C}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+4>>2];b=f>>31;g=N[i+48>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;D:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break D}h=b&65535;b=T(h,a>>>16|0)+T(a,b>>>16|0)+(T(h,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=j?1:-1}if((d|0)>(aa|0)){break j}b=(Da|0)==1?0-a|0:a;a=T(p+ua|0,12)+ja|0;if(O[a+8|0]){f=N[a>>2];if((f|0)<=(d|0)){g=f-d|0;f=g>>31;if((f^g)-f>>>0>31){break j}L[i+8|0]=b;N[i>>2]=d;N[i+4>>2]=e;L[i+11|0]=0;L[i+9|0]=0;L[i+10|0]=0;N[i+56>>2]=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[i+48>>2]=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);N[i+52>>2]=b;d=N[i+52>>2];b=d>>31;d=(b^d)-b|0;b=e>>31;b=d>>>0>(b^e)-b>>>0?i+48|0:i;f=N[b+8>>2];N[i+40>>2]=f;d=N[b+4>>2];b=N[b>>2];N[i+32>>2]=b;N[i+36>>2]=d;N[a+8>>2]=f;N[a>>2]=b;N[a+4>>2]=d;break j}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0;break j}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0}p=p+1|0;if((ta|0)>(p|0)){continue}break}}y=y+1|0;if((sa|0)>(y|0)){continue}break i}}while(1){if((y|0)<(ka|0)&(y|0)>=0){ba=y<<6|32;pa=ba<<10;ua=T(y,fa);p=S;while(1){E:{if((p|0)<0|(p|0)>=(fa|0)){break E}e=6;Y=p<<6|32;F:{G:{switch(N[l+32>>2]-1|0){case 2:a=N[l+20>>2];U=N[l+4>>2];f=a-U|0;G=T(f,3);b=G>>31;V=(b^G)-b|0;la=V>>>16|0;ca=V&65535;b=N[l+16>>2];H=N[l>>2];g=b-H|0;W=T(g,3);d=W>>31;u=(d^W)-d|0;ma=u>>>16|0;ga=u&65535;e=N[l+28>>2];Z=e+(U-(a<<1)|0)|0;h=T(Z,3);d=h>>31;v=(d^h)-d|0;da=v>>>16|0;A=v&65535;d=N[l+12>>2]+(T(a-e|0,3)-U|0)|0;e=d>>31;a=e;m=(a^d)-a|0;I=m>>>16|0;q=m&65535;d=N[l+24>>2];_=d+(H-(b<<1)|0)|0;h=T(_,3);a=h>>31;w=(a^h)-a|0;ea=w>>>16|0;t=w&65535;b=N[l+8>>2]+(T(b-d|0,3)-H|0)|0;a=b>>31;o=(a^b)-a|0;J=o>>>16|0;s=o&65535;K=0;B=f>>31|1;ha=0-B|0;ia=g>>31|1;va=0-ia|0;wa=T(Z,6);z=T(_,6);qa=Z>>31|1;xa=0-qa|0;D=e|1;X=0-D|0;ra=_>>31|1;ya=0-ra|0;E=a|1;M=0-E|0;d=2147483647;g=0;a=0;while(1){f=K<<14;P=0;while(1){b=f>>31;h=(b^f)-b|0;x=h>>>8|0;if(h+x>>>0<=8190){k=T(f,f)+32768>>>16|0}else{b=h&65535;k=T(b+h|0,h>>>16|0)+(T(b,b)+32768>>>16|0)|0}e=k;b=f>>31|1;n=(f|0)<0;b=((n?0-b|0:b)|0)<0?0-e|0:e;e=e>>31;j=(k^e)-e|0;H:{if(j+x>>>0<=8190){F=T(h,j)+32768>>>16|0;break H}e=j&65535;F=T(e,h>>>16|0)+T(h,j>>>16|0)+(T(e,h&65535)+32768>>>16)|0}e=F;k=b>>31|1;r=((n?0-k|0:k)|0)<0?0-e|0:e;e=e>>31;e=(F^e)-e|0;Q=e>>>8|0;I:{if(Q+o>>>0<=8190){k=T(e,o)+32768>>>16|0;break I}k=T(s,e>>>16|0)+T(e,J)+(T(s,e&65535)+32768>>>16)|0}R=(r|0)<0;r=((R?M:E)|0)<0?0-k|0:k;$=j>>>8|0;k=$+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,j>>>16|0)+T(j,ea)+(T(t,j&65535)+32768>>>16)|0;za=0-k|0;F=k;k=(b|0)<0;F=(r+H|0)+(((k?ya:ra)|0)<0?za:F)|0;r=x+u>>>0<=8190?T(h,u)+32768>>>16|0:T(ga,h>>>16|0)+T(h,ma)+(T(ga,h&65535)+32768>>>16)|0;r=F+(((n?va:ia)|0)<0?0-r|0:r)|0;e=m+Q>>>0<=8190?T(e,m)+32768>>>16|0:T(q,e>>>16|0)+T(e,I)+(T(q,e&65535)+32768>>>16)|0;Q=((R?X:D)|0)<0?0-e|0:e;e=v+$>>>0<=8190?T(j,v)+32768>>>16|0:T(A,j>>>16|0)+T(j,da)+(T(A,j&65535)+32768>>>16)|0;j=((k?xa:qa)|0)<0?0-e|0:e;e=x+V>>>0<=8190?T(h,V)+32768>>>16|0:T(ca,h>>>16|0)+T(h,la)+(T(ca,h&65535)+32768>>>16)|0;x=r-Y|0;N[i+32>>2]=x<<10;j=(j+(Q+U|0)|0)+(((n?ha:B)|0)<0?0-e|0:e)|0;e=j-ba|0;N[i+36>>2]=e<<10;h=Wb(i+32|0);if((h|0)<(d|0)){Aa=r<<10;Ba=j<<10;g=f;d=h;a=b}j=f<<1;h=T(b,3);b=h>>31;h=(b^h)-b|0;r=h>>>8|0;J:{if(r+o>>>0<=8190){b=T(h,o)+32768>>>16|0;break J}b=T(s,h>>>16|0)+T(h,J)+(T(s,h&65535)+32768>>>16)|0}Q=((k?M:E)|0)<0?0-b|0:b;R=f>>>7|0;b=R+w>>>0<=8190?T(j,w)+32768>>>16|0:T(t,f>>>15|0)+T(j,ea)+(T(t,j&65534)+32768>>>16)|0;$=0-b|0;h=m+r>>>0<=8190?T(h,m)+32768>>>16|0:T(q,h>>>16|0)+T(h,I)+(T(q,h&65535)+32768>>>16)|0;r=(_|0)<0;$=r?$:b;Q=Q+W|0;N[i+32>>2]=x;N[i+36>>2]=e;b=v+R>>>0<=8190?T(j,v)+32768>>>16|0:T(A,f>>>15|0)+T(j,da)+(T(A,j&65534)+32768>>>16)|0;j=(Z|0)<0;b=((((k?X:D)|0)<0?0-h|0:h)+G|0)+(j?0-b|0:b)|0;h=Q+$|0;F=((T(b,e)|0)/64|0)+((T(h,x)|0)/64|0)|0;k=(T(b,b)>>>6)+(T(h,h)>>>6)|0;h=T(f,6);b=h>>31;b=(b^h)-b|0;R=b>>>8|0;K:{if(R+o>>>0<=8190){h=T(b,o)+32768>>>16|0;break K}h=T(s,b>>>16|0)+T(b,J)+(T(s,b&65534)+32768>>>16)|0}b=m+R>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65534)+32768>>>16)|0;f=f-fb(F,(k+((T(x,z+(((n?M:E)|0)<0?0-h|0:h)|0)|0)/64|0)|0)+((T(wa+(((n?X:D)|0)<0?0-b|0:b)|0,e)|0)/64|0)|0)|0;if(f>>>0<=65536){b=P&65535;P=P+1|0;if(b>>>0<3){continue}}break}K=K+1|0;if((K|0)!=5){continue}break};f=g<<1;e=T(a,3);b=e>>31;b=(b^e)-b|0;h=b>>>8|0;L:{if(h+o>>>0<=8190){e=T(b,o)+32768>>>16|0;break L}e=T(s,b>>>16|0)+T(b,J)+(T(s,b&65535)+32768>>>16)|0}o=(a|0)<0;s=g>>>7|0;a=s+w>>>0<=8190?T(f,w)+32768>>>16|0:T(t,g>>>15|0)+T(f,ea)+(T(t,f&65534)+32768>>>16)|0;e=(W+(((o?M:E)|0)<0?0-e|0:e)|0)+(r?0-a|0:a)|0;N[i+48>>2]=e;a=h+m>>>0<=8190?T(b,m)+32768>>>16|0:T(q,b>>>16|0)+T(b,I)+(T(q,b&65535)+32768>>>16)|0;b=G+(((o?X:D)|0)<0?0-a|0:a)|0;a=s+v>>>0<=8190?T(f,v)+32768>>>16|0:T(A,g>>>15|0)+T(f,da)+(T(A,f&65534)+32768>>>16)|0;b=b+(j?0-a|0:a)|0;N[i+52>>2]=b;f=Aa-(Y<<10)|0;h=f>>31;h=(f^h)-h|0;a=b>>31;a=(a^b)-a|0;M:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break M}j=h&65535;k=T(j,a>>>16|0)+T(a,h>>>16|0)+(T(j,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=f>>31|1;z=(((b|0)<0?0-a|0:a)|0)<0?h:k;b=Ba-pa|0;h=b>>31;h=(b^h)-h|0;a=e>>31;a=(a^e)-a|0;N:{if(h+(a>>>8|0)>>>0<=8190){k=T(a,h)+32768>>>16|0;break N}m=h&65535;k=T(m,a>>>16|0)+T(a,h>>>16|0)+(T(m,a&65535)+32768>>>16)|0}a=k;h=0-a|0;a=b>>31|1;h=(z|0)<(((((e|0)<0?0-a|0:a)|0)<0?h:k)|0);e=65536;if(!(g&-65537)){N[i+4>>2]=b;N[i>>2]=f;_b(i+48|0);_b(i);f=N[i+48>>2];b=f>>31;g=N[i+4>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;O:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break O}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+52>>2];b=f>>31;g=N[i>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;P:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break P}j=b&65535;b=T(j,a>>>16|0)+T(a,b>>>16|0)+(T(j,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=h?1:-1;break F;case 1:b=N[l+20>>2];I=N[l+4>>2];J=b-I|0;D=J<<1;a=D>>31;s=(a^D)-a|0;da=s>>>16|0;X=s&65534;d=N[l+16>>2];E=N[l>>2];M=d-E|0;x=M<<1;a=x>>31;v=(a^x)-a|0;ea=v>>>16|0;U=v&65534;w=N[l+12>>2]+(I-(b<<1)|0)|0;b=w>>31;h=(b^w)-b|0;K=h>>>16|0;o=h&65535;P=N[l+8>>2]+(E-(d<<1)|0)|0;a=P>>31;j=(a^P)-a|0;A=j>>>16|0;q=j&65535;m=0;k=J>>31|1;r=0-k|0;ca=M>>31|1;ga=0-ca|0;la=w<<1;ma=P<<1;G=b|1;V=0-G|0;H=a|1;W=0-H|0;d=2147483647;a=0;while(1){f=m<<14;b=0;while(1){g=f>>31;e=(g^f)-g|0;t=e>>>8|0;if(e+t>>>0<=8190){z=T(f,f)+32768>>>16|0}else{g=e&65535;z=T(g+e|0,e>>>16|0)+(T(g,g)+32768>>>16|0)|0}g=z;n=f>>31|1;u=(f|0)<0;B=((u?0-n|0:n)|0)<0?0-g|0:g;g=g>>31;g=(z^g)-g|0;ha=g>>>8|0;Q:{if(ha+j>>>0<=8190){n=T(g,j)+32768>>>16|0;break Q}n=T(q,g>>>16|0)+T(g,A)+(T(q,g&65535)+32768>>>16)|0}B=(B|0)<0;ia=((B?W:H)|0)<0?0-n|0:n;n=t+v>>>0<=8190?T(e,v)+32768>>>16|0:T(U,e>>>16|0)+T(e,ea)+(T(U,e&65535)+32768>>>16)|0;n=(E+ia|0)+(((u?ga:ca)|0)<0?0-n|0:n)|0;g=h+ha>>>0<=8190?T(g,h)+32768>>>16|0:T(o,g>>>16|0)+T(g,K)+(T(o,g&65535)+32768>>>16)|0;B=((B?V:G)|0)<0?0-g|0:g;g=t+s>>>0<=8190?T(e,s)+32768>>>16|0:T(X,e>>>16|0)+T(e,da)+(T(X,e&65535)+32768>>>16)|0;t=n-Y|0;N[i+32>>2]=t<<10;u=(I+B|0)+(((u?r:k)|0)<0?0-g|0:g)|0;g=u-ba|0;N[i+36>>2]=g<<10;e=Wb(i+32|0);if((e|0)<(d|0)){_=n<<10;Z=u<<10;d=e;a=f}e=f<<1;u=f>>>7|0;n=u+j>>>0<=8190?T(e,j)+32768>>>16|0:T(q,f>>>15|0)+T(e,A)+(T(q,e&65534)+32768>>>16)|0;n=x+((P|0)<0?0-n|0:n)|0;N[i+36>>2]=g;N[i+32>>2]=t;z=f;e=h+u>>>0<=8190?T(e,h)+32768>>>16|0:T(o,f>>>15|0)+T(e,K)+(T(o,e&65534)+32768>>>16)|0;f=D+((w|0)<0?0-e|0:e)|0;f=z-fb(((T(f,g)|0)/64|0)+((T(n,t)|0)/64|0)|0,(((T(f,f)>>>6)+(T(n,n)>>>6)|0)+((T(t,ma)|0)/64|0)|0)+((T(g,la)|0)/64|0)|0)|0;if(f>>>0<=65536){g=b&65535;b=b+1|0;if(g>>>0<3){continue}}break}m=m+1|0;if((m|0)!=5){continue}break};b=a>>31;b=(b^a)-b|0;g=b>>>8|0;R:{if(g+j>>>0<=8190){f=T(b,j)+32768>>>16|0;break R}f=T(q,b>>>16|0)+T(b,A)+(T(q,b&65535)+32768>>>16)|0}e=(a|0)<0;f=M+(((e?W:H)|0)<0?0-f|0:f)<<1;N[i+48>>2]=f;b=g+h>>>0<=8190?T(b,h)+32768>>>16|0:T(o,b>>>16|0)+T(b,K)+(T(o,b&65535)+32768>>>16)|0;g=J+(((e?V:G)|0)<0?0-b|0:b)<<1;N[i+52>>2]=g;h=_-(Y<<10)|0;e=h>>31;e=(e^h)-e|0;b=g>>31;b=(b^g)-b|0;S:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break S}j=e&65535;e=T(j,b>>>16|0)+T(b,e>>>16|0)+(T(j,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=h>>31|1;z=(((g|0)<0?0-b|0:b)|0)<0?k:e;g=Z-pa|0;e=g>>31;e=(e^g)-e|0;b=f>>31;b=(b^f)-b|0;T:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break T}m=e&65535;e=T(m,b>>>16|0)+T(b,e>>>16|0)+(T(m,b&65534)+32768>>>16)|0}b=e;k=0-b|0;b=g>>31|1;j=(z|0)<(((((f|0)<0?0-b|0:b)|0)<0?k:e)|0);e=65536;if(!(a&-65537)){N[i+4>>2]=g;N[i>>2]=h;_b(i+48|0);_b(i);f=N[i+48>>2];b=f>>31;g=N[i+4>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;U:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break U}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+52>>2];b=f>>31;g=N[i>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;V:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break V}h=b&65535;b=T(h,a>>>16|0)+T(a,b>>>16|0)+(T(h,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=j?1:-1;break F;case 0:break G;default:break g}}a=N[l+8>>2];f=N[l>>2];e=N[l+4>>2];b=N[l+12>>2]-e|0;N[i+4>>2]=b;d=a-f|0;N[i>>2]=d;j=d<<10;g=j>>31;h=fb(((T(b,ba-e|0)|0)/64|0)+((T(d,Y-f|0)|0)/64|0)|0,(T(b,b)>>>6)+(T(d,d)>>>6)|0);a=(h|0)>=65536?65536:h;a=(a|0)>0?a:0;m=a>>>8|0;g=(g^j)-g|0;W:{if((m|g)>>>0<=8190){g=T(a,g)+32768>>>16|0;break W}j=g&64512;g=T(j,a>>>16|0)+T(a,g>>>16|0)+(T(j,a&65535)+32768>>>16)|0}j=(d|0)<0;o=j?0-g|0:g;e=e-ba<<10;q=b<<10;g=q>>31;g=(g^q)-g|0;X:{if(g+m>>>0<=8190){g=T(a,g)+32768>>>16|0;break X}m=g&64512;g=T(m,a>>>16|0)+T(a,g>>>16|0)+(T(m,a&65535)+32768>>>16)|0}m=(b|0)<0;g=e+(m?0-g|0:g)|0;N[i+52>>2]=g;f=o+(f-Y<<10)|0;N[i+48>>2]=f;e=f>>31;e=(e^f)-e|0;k=b;b=b>>31;b=(k^b)-b|0;Y:{if(e+(b>>>8|0)>>>0<=8190){e=T(b,e)+32768>>>16|0;break Y}o=e&65535;e=T(o,b>>>16|0)+T(b,e>>>16|0)+(T(o,b&65535)+32768>>>16)|0}b=e;k=0-b|0;b=f>>31|1;k=((m?0-b|0:b)|0)<0?k:e;b=d>>31;b=(b^d)-b|0;d=g>>31;d=(d^g)-d|0;Z:{if((b>>>8|0)+d>>>0<=8190){d=T(b,d)+32768>>>16|0;break Z}e=d&65535;d=T(e,b>>>16|0)+T(b,d>>>16|0)+(T(e,b&65535)+32768>>>16)|0}b=d;f=0-b|0;b=g>>31|1;j=(k|0)<((((j?0-b|0:b)|0)<0?f:d)|0);d=Wb(i+48|0);_:{if((h|0)>0){e=65536;if((a|0)!=65536){break _}}_b(i);_b(i+48|0);f=N[i>>2];b=f>>31;g=N[i+52>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;$:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break $}e=b&65535;b=T(e,a>>>16|0)+T(a,b>>>16|0)+(T(e,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;k=(((g|0)<0?0-a|0:a)|0)<0?e:b;f=N[i+4>>2];b=f>>31;g=N[i+48>>2];a=g>>31;b=(b^f)-b|0;a=(a^g)-a|0;aa:{if(b+(a>>>8|0)>>>0<=8190){b=T(a,b)+32768>>>16|0;break aa}h=b&65535;b=T(h,a>>>16|0)+T(a,b>>>16|0)+(T(h,a&65535)+32768>>>16)|0}a=b;e=0-a|0;a=f>>31|1;e=k+((((g|0)<0?0-a|0:a)|0)<0?b:e)|0}a=j?1:-1}if((d|0)>(aa|0)){break E}b=(Da|0)==1?0-a|0:a;a=T(p+ua|0,12)+ja|0;if(O[a+8|0]){f=N[a>>2];if((f|0)<=(d|0)){g=f-d|0;f=g>>31;if((f^g)-f>>>0>31){break E}L[i+8|0]=b;N[i>>2]=d;N[i+4>>2]=e;L[i+11|0]=0;L[i+9|0]=0;L[i+10|0]=0;N[i+56>>2]=O[a+8|0]|O[a+9|0]<<8|(O[a+10|0]<<16|O[a+11|0]<<24);b=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);N[i+48>>2]=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);N[i+52>>2]=b;d=N[i+52>>2];b=d>>31;d=(b^d)-b|0;b=e>>31;b=d>>>0>(b^e)-b>>>0?i+48|0:i;f=N[b+8>>2];N[i+40>>2]=f;d=N[b+4>>2];b=N[b>>2];N[i+32>>2]=b;N[i+36>>2]=d;N[a+8>>2]=f;N[a>>2]=b;N[a+4>>2]=d;break E}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0;break E}L[a+9|0]=0;L[a+10|0]=0;L[a+8|0]=b;N[a+4>>2]=e;N[a>>2]=d;L[a+11|0]=0}p=p+1|0;if((ta|0)>(p|0)){continue}break}}y=y+1|0;if((sa|0)>(y|0)){continue}break}}l=N[l+36>>2];if(l){continue}break}}oa=N[oa+12>>2];if(oa){continue}break}}e=0;if((ka|0)<=0|(fa|0)<=0){break g}b=Ca?Ca>>31|1:-1;g=0;if(!Ga){while(1){p=T(g,fa);a=b;e=0;while(1){f=aa;S=e+p|0;d=T(S,12)+ja|0;c=O[d+8|0];if(c){a=N[d>>2];f=(a|0)<(aa|0)?a:aa;a=c}c=T(a<<24>>24,f);N[d>>2]=c;c=fb(c,aa);d=c>>31;d=(c^d)-d|0;f=d>>>9|0;d=(c|0)>0?d>>>0>65535?127:f:f;f=d&255;c=(c|0)<0;d=c?d>>>0>128?128:f:f;L[S+Ea|0]=(c?0-d|0:d)^128;e=e+1|0;if((fa|0)!=(e|0)){continue}break}g=g+1|0;if((ka|0)!=(g|0)){continue}break}e=0;break f}while(1){p=T(g,fa);a=b;e=0;while(1){f=aa;S=e+p|0;d=T(S,12)+ja|0;c=O[d+8|0];if(c){a=N[d>>2];f=(a|0)<(aa|0)?a:aa;a=c}c=0-T(a<<24>>24,f)|0;N[d>>2]=c;c=fb(c,aa);d=c>>31;d=(c^d)-d|0;f=d>>>9|0;d=(c|0)>0?d>>>0>65535?127:f:f;f=d&255;c=(c|0)<0;d=c?d>>>0>128?128:f:f;L[S+Ea|0]=(c?0-d|0:d)^128;e=e+1|0;if((fa|0)!=(e|0)){continue}break}g=g+1|0;if((ka|0)!=(g|0)){continue}break}e=0;break f}if(!ja){break a}}Qa[N[na+8>>2]](na,ja)}La=i- -64|0;return e}function oz(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,G=0,H=0;d=La-752|0;La=d;C(b,0,80);a:{b:{c:{d:{e:{f:{g:{h:{i:{switch(N[a>>2]){case 0:e=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];m=XE(S[a+16>>3]*64);j:{if(V(m)<2147483648){f=~~m;break j}f=-2147483648}N[d+360>>2]=f;N[d+352>>2]=1;N[d+356>>2]=0;N[d+364>>2]=0;N[d+368>>2]=0;eg(e,d+352|0);f=N[a+8>>2];h=N[(f+(N[a+24>>2]<<2)|0)+68>>2];e=N[a+28>>2];c=N[c+88>>2];if(c>>>0<=2){c=N[(c<<2)+440376>>2]}else{c=2568}if(vc(h,e,c)){a=N[f+20>>2];N[d>>2]=e;mb(a,2,17123,d);break d}k:{l:{if(L[h+12|0]&1|Q[f+12>>2]<56){break l}e=N[h+84>>2];c=N[110093];N[d+360>>2]=N[110092];N[d+364>>2]=c;c=N[110091];N[d+352>>2]=N[110090];N[d+356>>2]=c;c=N[e+112>>2];if(!c){break l}e=M[e+110>>1];if((e|0)<=0){break l}e=(e<<3)+c|0;while(1){id(c,d+352|0);c=c+8|0;if(e>>>0>c>>>0){continue}break}e=N[f+8>>2];if(h){break k}break g}e=N[f+8>>2]}if(!(O[h+8|0]&8)){break g}g=N[h+96>>2];c=N[N[g>>2]+32>>2];if(!c){break g}c=Qa[c|0](g,16067)|0;if(!c){break g}g=Qa[N[c+4>>2]](h,2)|0;if(!g){break g}c=100;m:{n:{o:{p:{q:{r:{s:{t:{u:{g=P[g+4>>1];switch(g|0){case 9:break n;case 8:break o;case 7:break p;case 6:break q;case 5:break r;case 4:break s;case 3:break t;case 2:break u;case 1:break f;case 0:break g;default:break m}}c=200;break f}c=300;break f}c=350;break f}c=400;break f}c=600;break f}c=700;break f}c=800;break f}c=900;break f}c=g;break f;case 1:p=N[c>>2];c=N[a+8>>2];e=kb(800);N[b+20>>2]=e;a=kb(100);N[b+24>>2]=a;j=b+4|0;if(!(a?e:0)){_a(e);_a(a);N[j+16>>2]=0;N[j+20>>2]=0;N[j+8>>2]=0;N[j+12>>2]=0;N[j>>2]=0;N[j+4>>2]=0;break d}N[b+4>>2]=0;N[b+8>>2]=100;N[b+12>>2]=0;N[b+16>>2]=100;N[d+364>>2]=-2147483648;N[d+352>>2]=2147483647;N[d+356>>2]=2147483647;N[d+360>>2]=-2147483648;N[d+624>>2]=c;v:{if(!c){break v}h=O[c|0];if(!h){break v}e=-1;while(1){f=e;a=c;w:{if(!(!n|(h&255)!=99)){u=0;c=N[n+12>>2];if(!c|N[c>>2]!=5){break w}c=N[c+12>>2];if(!c|N[c>>2]!=5){break w}e=db(1,20);N[k+12>>2]=e;N[e>>2]=5;N[e+16>>2]=k;c=N[n+8>>2];N[e+4>>2]=N[n+4>>2];N[e+8>>2]=c;c=N[n+12>>2];h=db(1,20);N[e+12>>2]=h;N[h>>2]=5;N[h+16>>2]=e;e=N[c+8>>2];N[h+4>>2]=N[c+4>>2];N[h+8>>2]=e;e=N[c+12>>2];k=db(1,20);N[h+12>>2]=k;N[k>>2]=5;N[k+16>>2]=h;c=N[e+8>>2];N[k+4>>2]=N[e+4>>2];N[k+8>>2]=c;e=f;n=0;break w}x:{y:{z:{switch(u|0){case 0:m=pb(a,d+624|0);c=N[d+624>>2];if((c|0)==(a|0)){break y}a=c-1|0;N[d+624>>2]=a;u=1;m=XE(m*64);A:{if(V(m)<2147483648){i=~~m;break A}i=-2147483648}break w;case 1:break z;default:break y}}m=pb(a,d+624|0);c=N[d+624>>2];if((c|0)!=(a|0)){break x}}u=0;e=0;B:{switch(O[a|0]-98|0){case 12:e=1;break w;case 10:e=2;break w;case 0:e=3;break w;case 15:e=4;break w;case 17:e=5;break w;case 11:break w;default:break B}}e=f;break w}e=-1;a=c-1|0;N[d+624>>2]=a;m=XE(m*64);C:{if(V(m)<2147483648){c=~~m;break C}c=-2147483648}if((f|0)==-1){u=2;break w}u=0;e=0;l=db(1,20);h=l;if(g){N[k+12>>2]=l;N[l+16>>2]=k;h=g;e=k}N[l+4>>2]=i;N[l>>2]=f;N[l+8>>2]=c;c=(f|0)!=5|(n|0)!=0;n=c?n:e;e=c?f:5;g=h;k=l}c=a+1|0;N[d+624>>2]=c;h=O[a+1|0];if(h){continue}break}N[d+624>>2]=0;N[d+628>>2]=0;a=0;if(!g){c=1;break h}c=g;D:{E:{F:{G:{H:{while(1){I:{J:{K:{L:{M:{N:{O:{P:{switch(N[c>>2]){case 0:e=N[c+8>>2];f=N[c+4>>2];N[d+624>>2]=f;N[d+628>>2]=e;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(e|0)>(f|0)?f:e;f=N[d+364>>2];N[d+364>>2]=(e|0)<(f|0)?f:e;if(a&1){if(!Ho(j)){break E}a=N[b+12>>2];if(!a){break c}e=(a+N[b+24>>2]|0)-1|0;a=O[e|0];if(a>>>0>=4){break b}L[e|0]=a|4}a=0;c=N[c+12>>2];if(c){continue}break G;case 2:e=N[c+8>>2];f=N[c+4>>2];N[d+560>>2]=f;N[d+564>>2]=e;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(e|0)>(f|0)?f:e;f=N[d+364>>2];N[d+364>>2]=(e|0)<(f|0)?f:e;if(!(a&1)){a=N[d+628>>2];N[d+40>>2]=N[d+624>>2];N[d+44>>2]=a;if(!Fb(j,d+40|0,0)){break E}}a=N[d+564>>2];N[d+32>>2]=N[d+560>>2];N[d+36>>2]=a;if(!Fb(j,d+32|0,1)){break E}break J;case 5:e=N[c+12>>2];if(!e){break O}if(N[e>>2]!=5){break I}f=N[e+12>>2];if(!f|N[f>>2]!=5){break I}f=N[c+16>>2];if(f){break L}break I;case 1:break N;case 3:break P;default:break M}}e=N[c+12>>2];if(e){break K}}c=0;if(a&1){break H}break F}e=N[c+8>>2];f=N[c+4>>2];N[d+624>>2]=f;N[d+628>>2]=e;h=N[d+352>>2];N[d+352>>2]=(f|0)>(h|0)?h:f;h=N[d+360>>2];N[d+360>>2]=(f|0)<(h|0)?h:f;f=N[d+356>>2];N[d+356>>2]=(e|0)>(f|0)?f:e;f=N[d+364>>2];N[d+364>>2]=(e|0)<(f|0)?f:e}e=N[c+12>>2];break I}if(oo(j,d+352|0,N[f+4>>2],N[f+8>>2],N[f+12>>2],1,a&1)){break J}break E}if(N[e>>2]!=3){break I}f=N[e+12>>2];if(!f|N[f>>2]!=3){break I}f=N[c+16>>2];if(!f){break I}if(!oo(j,d+352|0,N[f+4>>2],N[f+8>>2],N[f+12>>2],0,a&1)){break E}a=1;e=N[N[N[c+12>>2]+12>>2]+12>>2];break I}a=1;e=N[c+12>>2]}c=e;if(c){continue}break}c=0;if(!(a&1)){break F}}if(!Ho(j)){break E}a=N[b+12>>2];if(!a){break c}c=(a+N[b+24>>2]|0)-1|0;a=O[c|0];if(a>>>0>=4){break D}L[c|0]=a|4}c=0}a=g;break h}while(1){a=N[g+12>>2];_a(g);g=a;if(a){continue}break}_a(N[b+20>>2]);_a(N[b+24>>2]);N[j+16>>2]=0;N[j+20>>2]=0;N[j+8>>2]=0;N[j+12>>2]=0;N[j>>2]=0;N[j+4>>2]=0;break d}break b}N[d+624>>2]=0;N[d+628>>2]=0;a=0;c=1;break h;case 3:a=kb(32);N[b+20>>2]=a;c=kb(4);N[b+24>>2]=c;if(!(c?a:0)){_a(a);_a(c);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;break d}N[b+16>>2]=4;N[b+8>>2]=4;N[a>>2]=0;N[a+20>>2]=64;N[a+24>>2]=0;N[a+12>>2]=0;N[a+16>>2]=64;N[a+28>>2]=64;N[a+4>>2]=0;N[a+8>>2]=64;L[c|0]=1;L[c+1|0]=1;L[c+2|0]=1;L[c+3|0]=5;N[b+4>>2]=4;N[b+12>>2]=4;break e;case 2:break i;default:break d}}n=N[a+20>>2];if(!(n|N[a+24>>2])){break e}x=N[a+8>>2];z=N[x+4>>2];if(!z){break e}e=N[a+16>>2];h=N[a+12>>2];Q:{if((h|0)>0){l=h>>>0<32?268435455>>>h|0:0;break Q}h=(h|0)<=-32?-32:h;l=268435455}if((e|0)>0){k=e>>>0<32?268435455>>>e|0:0}else{e=(e|0)<=-32?-32:e;k=268435455}if(!l|!k){break d}R:{S:{T:{s=N[x+12>>2];if(s){if(z>>>0>536870911){break d}p=kb(z<<3);v=kb(s);if(!p|!v){break R}i=e+32|0;h=h+32|0;o=N[x+20>>2];e=0;while(1){f=e<<3;g=f+o|0;y=N[g>>2];j=y>>31;if((l|0)<((j^y)-j|0)){break R}j=N[g+4>>2];g=j>>31;if((k|0)<((g^j)-g|0)){break R}g=f+p|0;f=j>>31;r=j;w=i&31;if((i&63)>>>0>=32){j=r<>>32-w|f<>2]=j;f=y>>31;j=y;r=h&31;if((h&63)>>>0>=32){f=j<>>32-r|f<>2]=f;e=e+1|0;if((z|0)!=(e|0)){continue}break}F(v,N[x+24>>2],s);U:{i=z<<1;if(!i){break U}l=s<<1;if(!l){break U}f=b+28|0;g=b+4|0;V:{W:{X:{Y:{if(i>>>0<=536870911){e=N[a+24>>2];h=kb(z<<4);N[b+20>>2]=h;a=kb(l);N[b+24>>2]=a;if(a?h:0){break Y}_a(h);_a(a);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;a=1;break X}N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break W}N[b+4>>2]=0;N[b+16>>2]=l;N[b+8>>2]=i;N[b+12>>2]=0;a=0}k=kb(z<<4);N[b+44>>2]=k;h=kb(l);N[b+48>>2]=h;if(h?k:0){break V}_a(k);_a(h)}N[b+28>>2]=0;N[b+32>>2]=0;N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;break T}N[b+28>>2]=0;N[b+40>>2]=l;N[b+32>>2]=i;N[b+36>>2]=0;if(a){break T}h=n<<4;e=e<<4;a=(e|0)<(h|0)?h:e;if(a-16>>>0<268435440){L[d+404|0]=1;N[d+360>>2]=0;N[d+364>>2]=0;N[d+356>>2]=f;N[d+352>>2]=g;S[d+376>>3]=e|0;S[d+368>>3]=h|0;t=16/+(a|0);S[d+480>>3]=t*.25;S[d+464>>3]=1-t;S[d+496>>3]=t*(t*390);q=t+1;S[d+488>>3]=q*(q*8);N[d+400>>2]=16;S[d+392>>3]=1/+(((e|0)<=16?16:e)|0);S[d+384>>3]=1/+(((h|0)<=16?16:h)|0);m=aa(t+t);S[d+504>>3]=m;S[d+472>>3]=q*-4*m+(t*8+1);a=0;Z:{while(1){g=p+(a<<3)|0;e=N[g>>2];f=e>>31;if((e^f)-f>>>0>268435455){break Z}e=N[g+4>>2];g=e>>31;if((e^g)-g>>>0>=268435456){break Z}a=a+1|0;if((z|0)!=(a|0)){continue}break}g=0;e=p;h=e;while(1){if((e|0)==(h|0)){a=N[e+4>>2];N[d+456>>2]=N[e>>2];N[d+460>>2]=a}a=O[g+v|0];f=a&3;e=(f<<3)+e|0;y=a&4;a=y?h:e;_:{$:{switch(f-1|0){case 1:f=a;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);f=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);i=f;k=a;N[d+520>>2]=a;N[d+524>>2]=f;a=e-8|0;f=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);x=f-N[d+460>>2]|0;n=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);o=n-N[d+456>>2]|0;w=N[d+400>>2];l=0-w|0;if(!((o|0)<=(l|0)|(o|0)>=(w|0)|((w|0)<=(x|0)|(l|0)>=(x|0)))){a=N[d+524>>2];N[d+264>>2]=N[d+520>>2];N[d+268>>2]=a;if(Wd(d+352|0,d+264|0)){break _}break T}r=i-f|0;j=k-n|0;if(!((j|0)<=(l|0)|(j|0)>=(w|0)|((l|0)>=(r|0)|(r|0)>=(w|0)))){a=N[d+524>>2];N[d+272>>2]=N[d+520>>2];N[d+276>>2]=a;if(Wd(d+352|0,d+272|0)){break _}break T}a=N[d+456>>2];l=N[d+460>>2];N[d+456>>2]=k;N[d+460>>2]=i;N[d+544>>2]=k;N[d+548>>2]=i;N[d+528>>2]=a;N[d+532>>2]=l;N[d+536>>2]=n;N[d+540>>2]=f;q=S[d+384>>3];A=q*+(0-o|0);S[d+568>>3]=A;m=S[d+392>>3];D=m*+(x|0);S[d+560>>3]=D;t=m*+(r|0);S[d+576>>3]=t;q=q*+(0-j|0);S[d+584>>3]=q;m=aa(D*D+A*A);S[d+640>>3]=m;m=1/m;S[d+632>>3]=A*m;S[d+624>>3]=D*m;m=aa(t*t+q*q);S[d+664>>3]=m;m=1/m;S[d+656>>3]=q*m;S[d+648>>3]=t*m;f=O[d+404|0];N[d+296>>2]=a;N[d+300>>2]=l;a=N[d+636>>2];N[d+288>>2]=N[d+632>>2];N[d+292>>2]=a;a=N[d+628>>2];N[d+280>>2]=N[d+624>>2];N[d+284>>2]=a;if(!ye(d+352|0,d+296|0,d+280|0,3)){break T}if(yi(d+352|0,d+528|0,d+560|0,d+624|0,3,(f|0)!=0)){break _}break T;case 2:f=a;a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);f=O[f+4|0]|O[f+5|0]<<8|(O[f+6|0]<<16|O[f+7|0]<<24);i=f;l=a;N[d+520>>2]=a;N[d+524>>2]=f;a=e-8|0;k=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);w=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);G=9;aa:{a=e-16|0;x=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);r=N[d+456>>2];n=x-r|0;E=N[d+400>>2];H=0-E|0;f=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);a=N[d+460>>2];o=f-a|0;j=(n|0)>(H|0)&(n|0)<(E|0)&(H|0)<(o|0)&(o|0)<(E|0);if(!j){break aa}o=k-a|0;G=8;n=w-r|0;if((H|0)>=(n|0)|(n|0)>=(E|0)|((o|0)<=(H|0)|(o|0)>=(E|0))){break aa}a=N[d+524>>2];N[d+304>>2]=N[d+520>>2];N[d+308>>2]=a;if(Wd(d+352|0,d+304|0)){break _}break T}a=i;u=a-k|0;ba:{r=l-w|0;if((H|0)>=(r|0)|(r|0)>=(E|0)|((u|0)<=(H|0)|(u|0)>=(E|0))){break ba}u=a-f|0;r=l-x|0;if(!((H|0)>=(r|0)|(r|0)>=(E|0)|((u|0)<=(H|0)|(u|0)>=(E|0)))){a=N[d+524>>2];N[d+312>>2]=N[d+520>>2];N[d+316>>2]=a;if(Wd(d+352|0,d+312|0)){break _}break T}G=13;if(!j){break ba}a=N[d+524>>2];N[d+320>>2]=N[d+520>>2];N[d+324>>2]=a;if(Wd(d+352|0,d+320|0)){break _}break T}N[d+552>>2]=l;N[d+556>>2]=i;a=N[d+460>>2];N[d+528>>2]=N[d+456>>2];N[d+532>>2]=a;N[d+544>>2]=w;N[d+548>>2]=k;N[d+536>>2]=x;N[d+540>>2]=f;N[d+456>>2]=l;N[d+460>>2]=i;a=d+528|0;i=a+((G&3)<<3)|0;k=N[i+4>>2];f=a+(G<<1&24)|0;a=N[f+4>>2];q=S[d+384>>3];S[d+648>>3]=q*+(N[i>>2]-N[f>>2]|0);m=S[d+392>>3];S[d+640>>3]=m*+(a-k|0);A=q*+(0-n|0);S[d+632>>3]=A;D=m*+(o|0);S[d+624>>3]=D;t=m*+(u|0);S[d+656>>3]=t;q=q*+(0-r|0);S[d+664>>3]=q;m=aa(D*D+A*A);S[d+576>>3]=m;m=1/m;S[d+568>>3]=A*m;S[d+560>>3]=D*m;m=aa(t*t+q*q);S[d+600>>3]=m;m=1/m;S[d+592>>3]=q*m;S[d+584>>3]=t*m;f=O[d+404|0];a=N[d+532>>2];N[d+344>>2]=N[d+528>>2];N[d+348>>2]=a;a=N[d+572>>2];N[d+336>>2]=N[d+568>>2];N[d+340>>2]=a;a=N[d+564>>2];N[d+328>>2]=N[d+560>>2];N[d+332>>2]=a;if(!ye(d+352|0,d+344|0,d+328|0,3)){break T}if(!gf(d+352|0,d+528|0,d+624|0,d+560|0,3,(f|0)!=0)){break T}break _;case 0:break $;default:break T}}f=N[a+4>>2];N[d+256>>2]=N[a>>2];N[d+260>>2]=f;if(!Wd(d+352|0,d+256|0)){break T}}h=y?e:h;o=(h|0)!=(e|0);if(!o){j=O[d+404|0];ca:{if(j){a=N[d+460>>2];N[d+528>>2]=N[d+456>>2];N[d+532>>2]=a;q=0;m=1;a=15;t=S[d+472>>3];if(t>0){while(1){da:{q=q+1;m=.7071067811865476/aa(q);S[(d+624|0)+(a<<3)>>3]=m;a=a-1|0;q=q*m;if(!(t>q)){break da}if(a){continue}}break}m=q+1}r=(d+624|0)+(a<<3)|0;S[r>>3]=1/m;N[d+240>>2]=0;N[d+244>>2]=0;N[d+608>>2]=0;N[d+612>>2]=0;N[d+600>>2]=0;N[d+604>>2]=0;N[d+576>>2]=0;N[d+580>>2]=0;N[d+616>>2]=0;N[d+620>>2]=-1074790400;N[d+592>>2]=0;N[d+596>>2]=-1074790400;N[d+584>>2]=0;N[d+588>>2]=1072693248;N[d+232>>2]=0;N[d+236>>2]=1072693248;f=N[d+532>>2];N[d+248>>2]=N[d+528>>2];N[d+252>>2]=f;N[d+568>>2]=0;N[d+572>>2]=0;N[d+560>>2]=0;N[d+564>>2]=1072693248;f=N[d+588>>2];N[d+224>>2]=N[d+584>>2];N[d+228>>2]=f;f=N[d+580>>2];N[d+216>>2]=N[d+576>>2];N[d+220>>2]=f;n=15-a|0;if(!Bd(d+352|0,d+248|0,d+232|0,d+216|0,r,n,1)){break T}a=N[d+532>>2];N[d+208>>2]=N[d+528>>2];N[d+212>>2]=a;a=N[d+588>>2];N[d+200>>2]=N[d+584>>2];N[d+204>>2]=a;a=N[d+580>>2];N[d+192>>2]=N[d+576>>2];N[d+196>>2]=a;a=N[d+604>>2];N[d+184>>2]=N[d+600>>2];N[d+188>>2]=a;a=N[d+596>>2];N[d+176>>2]=N[d+592>>2];N[d+180>>2]=a;if(!Bd(d+352|0,d+208|0,d+192|0,d+176|0,r,n,1)){break T}a=N[d+532>>2];N[d+168>>2]=N[d+528>>2];N[d+172>>2]=a;a=N[d+604>>2];N[d+160>>2]=N[d+600>>2];N[d+164>>2]=a;a=N[d+596>>2];N[d+152>>2]=N[d+592>>2];N[d+156>>2]=a;a=N[d+620>>2];N[d+144>>2]=N[d+616>>2];N[d+148>>2]=a;a=N[d+612>>2];N[d+136>>2]=N[d+608>>2];N[d+140>>2]=a;if(!Bd(d+352|0,d+168|0,d+152|0,d+136|0,r,n,1)){break T}a=N[d+532>>2];N[d+128>>2]=N[d+528>>2];N[d+132>>2]=a;l=N[d+616>>2];i=N[d+620>>2];k=N[d+608>>2];f=N[d+612>>2];a=N[d+572>>2];N[d+104>>2]=N[d+568>>2];N[d+108>>2]=a;N[d+120>>2]=l;N[d+124>>2]=i;a=N[d+564>>2];N[d+96>>2]=N[d+560>>2];N[d+100>>2]=a;N[d+112>>2]=k;N[d+116>>2]=f;if(Bd(d+352|0,d+128|0,d+112|0,d+96|0,r,n,1)){break ca}break T}a=N[d+452>>2];N[d+88>>2]=N[d+448>>2];N[d+92>>2]=a;if(!Wd(d+352|0,d+88|0)){break T}a=N[d+452>>2];N[d+80>>2]=N[d+448>>2];N[d+84>>2]=a;a=N[d+428>>2];N[d+72>>2]=N[d+424>>2];N[d+76>>2]=a;a=N[d+420>>2];N[d+64>>2]=N[d+416>>2];N[d+68>>2]=a;if(!ye(d+352|0,d+80|0,d- -64|0,3)){break T}n=N[d+408>>2]&(N[d+412>>2]^-1);m=S[d+424>>3]*S[d+376>>3];ea:{if(V(m)<2147483648){f=~~m;break ea}f=-2147483648}k=n&1;m=S[d+416>>3]*S[d+368>>3];fa:{if(V(m)<2147483648){a=~~m;break fa}a=-2147483648}l=N[d+452>>2];i=N[d+448>>2];if(k){N[d+628>>2]=f+l;N[d+624>>2]=a+i;k=N[d+628>>2];N[d+56>>2]=N[d+624>>2];N[d+60>>2]=k;if(!Fb(N[d+352>>2],d+56|0,1)){break T}}if((n&3)>>>0>=2){N[d+628>>2]=l-f;N[d+624>>2]=i-a;a=N[d+628>>2];N[d+48>>2]=N[d+624>>2];N[d+52>>2]=a;if(!Fb(N[d+356>>2],d+48|0,1)){break T}}q=S[d+432>>3];m=S[d+440>>3];ga:{if(q==S[d+416>>3]&m==S[d+424>>3]){break ga}n=(N[d+412>>2]^-1)&(N[d+408>>2]^-1);m=m*S[d+376>>3];ha:{if(V(m)<2147483648){f=~~m;break ha}f=-2147483648}k=n&1;m=q*S[d+368>>3];ia:{if(V(m)<2147483648){a=~~m;break ia}a=-2147483648}l=N[d+452>>2];i=N[d+448>>2];if(k){k=N[N[d+352>>2]+16>>2]+(N[d+360>>2]<<3)|0;N[k+4>>2]=f+l;N[k>>2]=a+i}if((n&3)>>>0<2){break ga}k=N[N[d+356>>2]+16>>2]+(N[d+364>>2]<<3)|0;N[k+4>>2]=l-f;N[k>>2]=i-a}L[d+404|0]=1}ja:{f=N[d+352>>2];a=N[f+8>>2];if(a){f=(a+N[f+20>>2]|0)-1|0;a=O[f|0];if(a>>>0>=4){break b}L[f|0]=a|4;if(!j){f=N[d+356>>2];a=N[f+8>>2];if(!a){break c}f=(a+N[f+20>>2]|0)-1|0;a=O[f|0];if(a>>>0>=4){break ja}L[f|0]=a|4}N[d+360>>2]=N[N[d+352>>2]>>2];N[d+364>>2]=N[N[d+356>>2]>>2];g=g+1|0;if((s|0)!=(g|0)){continue}if((p+(z<<3)|0)!=(e|0)|o){break S}_a(p);_a(v);break e}break c}break b}g=g+1|0;if((s|0)!=(g|0)){continue}break}break S}ba(18838,18249,1523,16088);B()}ba(18805,18249,1498,16088);B()}break a}break a}mb(N[c>>2],2,15719,0);_a(N[b+20>>2]);_a(N[b+24>>2]);N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;_a(N[b+44>>2]);_a(N[b+48>>2]);N[b+44>>2]=0;N[b+48>>2]=0;N[b+36>>2]=0;N[b+40>>2]=0;N[b+28>>2]=0;N[b+32>>2]=0;break R}ba(9970,18249,1563,16088);B()}_a(p);_a(v);break d}if(p){e=N[b+4>>2];N[d+20>>2]=N[b+12>>2];N[d+16>>2]=e;mb(p,6,10236,d+16|0)}if(!c){while(1){c=N[a+12>>2];_a(a);a=c;if(a){continue}break}}N[b+68>>2]=N[d+360>>2]-N[d+352>>2];c=N[d+356>>2];a=N[d+364>>2];N[b+76>>2]=0;N[b+72>>2]=a-c;break e}c=O[h+12|0]&2?700:400}ka:{if(c+150>>>0>=e>>>0){break ka}c=N[h+84>>2];if(N[c+72>>2]!=1869968492){break ka}e=c+108|0;c=N[c+4>>2];f=N[N[c+88>>2]+20>>2];g=f>>31;c=P[c+68>>1];g=(f^g)-g|0;la:{if(c+(g>>>8|0)>>>0<=8190){c=T(c,g)+32768>>>16|0;break la}c=T(c,g>>>16|0)+(T(c,g&65535)+32768>>>16|0)|0}c=(((f|0)<0?0-c|0:c)|0)/64|0;mn(e,c,c)}s=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];c=N[s+84>>2];h=N[N[s+88>>2]+20>>2];o=N[a+40>>2];r=o&4;if(r){p=N[c+60>>2]+512>>10}else{p=N[c+64>>2]}N[b+68>>2]=p;ma:{if(!(O[s+8|0]&8)|(!(o&1)|(p|0)<=0)){break ma}e=N[s+96>>2];c=N[N[e>>2]+32>>2];if(!c){break ma}c=Qa[c|0](e,16067)|0;if(!c){break ma}c=Qa[N[c+4>>2]](s,5)|0;if(!c){break ma}g=M[c+8>>1];e=g>>31;if(!!g&(e|0)>=0|(e|0)>0){break ma}c=M[c+10>>1];if((c|0)<=0){break ma}j=h>>31;c=UE(h,j,c&65535,0);l=Pa;k=c+32768|0;l=k>>>0<32768?l+1|0:l;c=l;e=UE(g,e,h,j);g=Pa;f=c>>17;e=e+32768|0;g=e>>>0<32768?g+1|0:g;l=g>>16;g=(g&65535)<<16|e>>>16;i=((c&131071)<<15|k>>>17)+g|0;e=f+l|0;e=g>>>0>i>>>0?e+1|0:e;g=e;if(i>>>0>268435455&(e|0)>=0|(e|0)>0){break ma}e=c>>16;f=(c&65535)<<16|k>>>16;c=f-i|0;e=e-((f>>>0>>0)+g|0)|0;if(c>>>0>268435455&(e|0)>=0|(e|0)>0){break ma}N[d+356>>2]=c;N[d+352>>2]=0-i;u=1}na:{if(!(O[s+8|0]&8)|(!(o&2)|(p|0)<=0)){break na}e=N[s+96>>2];c=N[N[e>>2]+32>>2];if(!c){break na}c=Qa[c|0](e,16067)|0;if(!c){break na}c=Qa[N[c+4>>2]](s,2)|0;if(!c){break na}j=M[c+28>>1];if((j|0)<0){break na}c=M[c+26>>1];if((c|0)<=0){break na}i=h>>31;c=UE(h,i,c&65535,0);f=Pa;k=c+32768|0;f=k>>>0<32768?f+1|0:f;l=(f&131071)<<15|k>>>17;g=f>>17;e=UE(j&65535,0,h,i);c=Pa;i=e+32768|0;c=i>>>0<32768?c+1|0:c;e=c>>16;i=(c&65535)<<16|i>>>16;c=i+l|0;g=e+g|0;g=c>>>0>>0?g+1|0:g;e=g;i=c;if(c>>>0>268435455&(e|0)>=0|(e|0)>0){break na}g=f>>16;f=(f&65535)<<16|k>>>16;c=f-i|0;e=g-((f>>>0>>0)+e|0)|0;if(c>>>0>268435455&(e|0)>=0|(e|0)>0){break na}e=d+352|u<<3;N[e+4>>2]=c;N[e>>2]=0-i;u=u+1|0}oa:{pa:{qa:{ra:{sa:{ta:{ua:{va:{wa:{xa:{ya:{za:{Aa:{Ba:{v=N[s+84>>2];if(N[v+72>>2]==1869968492){e=M[v+110>>1];if(!(u|e)){N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break oa}c=u<<2;g=c+(e<<1)|0;if(!g){break a}e=c+e|0;if(!e){break a}if(g>>>0<=536870911){c=kb(g<<3);N[b+20>>2]=c;i=kb(e);N[b+24>>2]=i;Ca:{if(!(i?c:0)){_a(c);break Ca}N[b+4>>2]=0;N[b+16>>2]=e;N[b+8>>2]=g;N[b+12>>2]=0;Da:{w=v+108|0;n=M[w>>1];if((n|0)>0){i=0;while(1){g=M[N[v+120>>2]+(G<<1)>>1];if((i|0)>(g|0)|M[v+110>>1]<=(g|0)){break Da}Ea:{if((g-i|0)<=1){i=g+1|0;break Ea}e=N[v+112>>2];k=i<<3;c=e+k|0;j=N[c>>2];f=j>>31;if((f^j)-f>>>0>268435455){break Da}l=N[c+4>>2];c=l>>31;if((c^l)-c>>>0>268435455){break Da}x=0;o=0;Fa:{Ga:{f=N[v+116>>2];switch(O[f+i|0]&3){case 1:break Fa;case 0:break Ga;default:break Da}}c=e+(g<<3)|0;n=N[c>>2];e=n>>31;if((e^n)-e>>>0>268435455){break Da}e=N[c+4>>2];c=e>>31;if((c^e)-c>>>0>268435455){break Da}e=0-e|0;Ha:{Ia:{Ja:{x=O[f+g|0]&3;switch(x|0){case 0:break Ia;case 1:break Ja;default:break Da}}g=g-1|0;break Ha}e=e-l>>1;n=j+n>>1}c=N[b+4>>2];if(c>>>0>=Q[b+8>>2]){break Ba}o=1;N[b+4>>2]=c+1;c=N[b+20>>2]+(c<<3)|0;N[c+4>>2]=e;N[c>>2]=n}f=N[b+4>>2];if(f>>>0>=Q[b+8>>2]){break Aa}c=k+N[v+112>>2]|0;k=N[c>>2];e=N[c+4>>2];N[b+4>>2]=f+1;c=N[b+20>>2]+(f<<3)|0;e=0-e|0;N[c+4>>2]=e;N[c>>2]=k;n=i+1|0;if((g|0)>(i|0)){c=g+1|0;while(1){y=n<<3;i=y+N[v+112>>2]|0;f=N[i>>2];l=f>>31;if((f^l)-l>>>0>268435455){break Da}f=N[i+4>>2];i=f>>31;if((f^i)-i>>>0>268435455){break Da}Ka:{La:{switch(O[N[v+116>>2]+n|0]&3){case 1:k=1;Ma:{Na:{switch(o|0){case 1:k=2;break Ma;case 0:break Ma;case 3:break Na;default:break Da}}k=3}e=N[b+12>>2];if(e>>>0>=Q[b+16>>2]){break za}N[b+12>>2]=e+1;L[e+N[b+24>>2]|0]=k;i=0;break Ka;case 0:i=1;Oa:{switch(o|0){case 0:break Ka;case 1:break Oa;default:break Da}}f=N[b+12>>2];if(f>>>0>=Q[b+16>>2]){break ya}N[b+12>>2]=f+1;L[f+N[b+24>>2]|0]=2;o=N[b+4>>2];if(o>>>0>=Q[b+8>>2]){break xa}f=y+N[v+112>>2]|0;j=N[f>>2];l=N[f+4>>2];N[b+4>>2]=o+1;f=N[b+20>>2]+(o<<3)|0;N[f+4>>2]=e-l>>1;N[f>>2]=j+k>>1;break Ka;case 2:break La;default:break Da}}i=2;Pa:{switch(o|0){case 0:break Ka;case 2:break Pa;default:break Da}}i=3}f=N[b+4>>2];if(f>>>0>=Q[b+8>>2]){break wa}e=y+N[v+112>>2]|0;k=N[e>>2];e=N[e+4>>2];N[b+4>>2]=f+1;f=N[b+20>>2]+(f<<3)|0;e=0-e|0;N[f+4>>2]=e;N[f>>2]=k;f=(g|0)!=(n|0);n=n+1|0;o=i;if(f){continue}break}n=c}i=5;Qa:{Ra:{switch(o|0){case 1:i=6;break Qa;case 0:break Qa;case 3:break Ra;default:break Da}}i=7}c=N[b+12>>2];if(c>>>0>=Q[b+16>>2]){break va}N[b+12>>2]=c+1;L[c+N[b+24>>2]|0]=i;i=n+x|0;n=P[w>>1]}G=G+1|0;if((G|0)>16){continue}break}}Sa:{if(!r){break Sa}k=0;c=0;Ta:{if(!s|!(O[s+8|0]&8)){break Ta}g=N[s+96>>2];e=N[N[g>>2]+32>>2];if(!e){break Ta}e=Qa[e|0](g,16067)|0;if(!e){break Ta}e=Qa[N[e+4>>2]](s,2)|0;if(!e){break Ta}c=M[e+72>>1];c=UE(c,c>>31,h,h>>31);j=Pa;e=c+32768|0;j=e>>>0<32768?j+1|0:j;k=(j&65535)<<16|e>>>16;c=j>>16;g=c>>31;f=g;e=k^f;g=e-f|0;e=(c^f)-((e>>>0>>0)+f|0)|0;if(!e&g>>>0>536870910|e){break Da}}g=N[N[s+84>>2]+52>>2];f=g;e=f+k|0;g=(f>>31)+c|0;c=e;g=c>>>0>>0?g+1|0:g;e=g>>31;h=c^e;f=h-e|0;e=(e^g)-((h>>>0>>0)+e|0)|0;if(!e&f>>>0>536870910|e){break Da}g=c;c=c>>31;if((g^c)-c>>>0>=1879048193){break ua}if(!N[b+4>>2]){break Sa}c=k;e=0;while(1){i=N[b+20>>2]+(e<<3)|0;k=g+N[i+4>>2]|0;f=k>>31;if((f^k)-f>>>0>268435455){break Da}h=c+N[i>>2]|0;f=h>>31;if((f^h)-f>>>0>268435455){break Da}N[i>>2]=k;N[i+4>>2]=0-h;e=e+1|0;if(e>>>0>2]){continue}break}}if(!u){break oa}h=dg(w);f=N[b+4>>2];g=f+4|0;if(g>>>0>Q[b+8>>2]){break ta}o=N[b+12>>2];e=o+4|0;if(e>>>0>Q[b+16>>2]){break sa}i=(h|0)!=0;j=N[(d+352|i<<2)>>2];c=j>>31;if((c^j)-c>>>0>=268435456){break ra}c=p>>31;k=(c^p)-c|0;if(k>>>0>268435455){break qa}h=!h;l=N[(d+352|h<<2)>>2];c=l>>31;if((c^l)-c>>>0>=268435456){break qa}c=N[b+24>>2];if(O[(c+o|0)-1|0]&4?0:o){break pa}f=N[b+20>>2]+(f<<3)|0;N[f+4>>2]=j;N[f>>2]=0;N[f+16>>2]=p;N[f+8>>2]=p;N[f+12>>2]=j;N[f+24>>2]=0;N[f+28>>2]=l;N[f+20>>2]=l;N[b+4>>2]=g;L[c+o|0]=1;L[(o+N[b+24>>2]|0)+1|0]=1;L[(o+N[b+24>>2]|0)+2|0]=1;L[(o+N[b+24>>2]|0)+3|0]=5;N[b+12>>2]=e;if((u|0)==1){break oa}f=N[b+4>>2];g=f+4|0;if(g>>>0>Q[b+8>>2]){break ta}j=N[b+12>>2];e=j+4|0;if(e>>>0>Q[b+16>>2]){break sa}c=d+352|8;l=N[(c|i<<2)>>2];i=l>>31;if((i^l)-i>>>0>268435455){break ra}if(k>>>0>268435455){break qa}h=N[(c|h<<2)>>2];c=h>>31;if((c^h)-c>>>0>268435455){break qa}c=N[b+24>>2];if(O[(c+j|0)-1|0]&4?0:j){break pa}f=N[b+20>>2]+(f<<3)|0;N[f+4>>2]=l;N[f>>2]=0;N[f+16>>2]=p;N[f+8>>2]=p;N[f+12>>2]=l;N[f+24>>2]=0;N[f+28>>2]=h;N[f+20>>2]=h;N[b+4>>2]=g;L[c+j|0]=1;L[(j+N[b+24>>2]|0)+1|0]=1;L[(j+N[b+24>>2]|0)+2|0]=1;L[(j+N[b+24>>2]|0)+3|0]=5;N[b+12>>2]=e;break oa}_a(N[b+20>>2]);i=N[b+24>>2]}_a(i)}N[b+4>>2]=0;N[b+8>>2]=0;N[b+20>>2]=0;N[b+24>>2]=0;N[b+12>>2]=0;N[b+16>>2]=0;break d}ba(20184,17934,742,15697);B()}ba(9900,18249,137,8782);B()}ba(9900,18249,147,8782);B()}ba(10145,18249,171,8782);B()}ba(10145,18249,183,8782);B()}ba(9900,18249,187,8782);B()}ba(9900,18249,216,8782);B()}ba(10145,18249,236,8782);B()}ba(19015,18249,331,21921);B()}ba(9855,18249,251,9621);B()}ba(10096,18249,252,9621);B()}ba(18966,18249,253,9621);B()}ba(18917,18249,254,9621);B()}ba(23976,18249,256,9621);B()}g=N[(N[a+8>>2]+(N[a+24>>2]<<2)|0)+68>>2];f=N[N[g+88>>2]+20>>2];c=f>>31;e=M[g+70>>1];a=e>>31;h=(c^f)-c|0;c=h>>>8|0;a=(a^e)-a|0;Ua:{if(c+a>>>0<=8190){i=T(a,h)+32768>>>16|0;break Ua}i=T(a,h>>>16|0)+(T(a,h&65535)+32768>>>16|0)|0}a=i;k=0-a|0;a=e>>31|1;N[b+72>>2]=(((f|0)<0?0-a|0:a)|0)<0?k:i;e=M[g+72>>1];a=e>>31;a=(a^e)-a|0;Va:{if(a+c>>>0<=8190){c=T(a,h)+32768>>>16|0;break Va}c=T(a,h>>>16|0)+(T(a,h&65535)+32768>>>16|0)|0}a=c;g=0-a|0;a=(e|0)<=0?1:-1;N[b+76>>2]=(((f|0)<0?0-a|0:a)|0)<0?g:c}e=2147483647;N[b+52>>2]=2147483647;h=-2147483648;N[b- -64>>2]=-2147483648;N[b+56>>2]=2147483647;N[b+60>>2]=-2147483648;a=-2147483648;c=2147483647;g=N[b+4>>2];if(g){n=N[b+20>>2];Wa:{Xa:{if((g|0)==1){o=0;break Xa}l=g&1;o=g&-2;i=0;while(1){g=i<<3;k=g+n|0;j=N[k+4>>2];f=(h|0)>(j|0)?h:j;g=n+(g|8)|0;p=N[g+4>>2];h=(f|0)>(p|0)?f:p;f=N[k>>2];a=(a|0)>(f|0)?a:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(j|0)?e:j;e=(e|0)<(p|0)?e:p;c=(c|0)<(f|0)?c:f;c=(c|0)<(g|0)?c:g;i=i+2|0;if((i|0)!=(o|0)){continue}break}if(!l){break Wa}}g=n+(o<<3)|0;f=N[g+4>>2];h=(f|0)<(h|0)?h:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(f|0)?e:f;c=(c|0)<(g|0)?c:g}N[b+64>>2]=h;N[b+60>>2]=a;N[b+56>>2]=e;N[b+52>>2]=c}g=N[b+28>>2];if(g){n=N[b+44>>2];o=0;Ya:{if((g|0)!=1){l=g&1;o=g&-2;i=0;while(1){g=i<<3;k=g+n|0;j=N[k+4>>2];f=(h|0)>(j|0)?h:j;g=n+(g|8)|0;p=N[g+4>>2];h=(f|0)>(p|0)?f:p;f=N[k>>2];a=(a|0)>(f|0)?a:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(j|0)?e:j;e=(e|0)<(p|0)?e:p;c=(c|0)<(f|0)?c:f;c=(c|0)<(g|0)?c:g;i=i+2|0;if((i|0)!=(o|0)){continue}break}if(!l){break Ya}}g=n+(o<<3)|0;f=N[g+4>>2];h=(f|0)<(h|0)?h:f;g=N[g>>2];a=(a|0)>(g|0)?a:g;e=(e|0)<(f|0)?e:f;c=(c|0)<(g|0)?c:g}N[b+64>>2]=h;N[b+60>>2]=a;N[b+56>>2]=e;N[b+52>>2]=c}if(!((e|0)<=(h|0)&(a|0)>=(c|0))){N[b+52>>2]=0;N[b+56>>2]=0;N[b+60>>2]=0;N[b+64>>2]=0}L[b|0]=1}La=d+752|0;return 1}ba(10216,18249,320,11772);B()}ba(23825,18249,321,11772);B()}ba(10189,18249,45,17699);B()}function Gw(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0;w=La-16|0;La=w;g=11;l=N[b+96>>2];k=N[l+4>>2];a:{if(!k){break a}j=N[k+16>>2];if((j|0)<=0){break a}h=k+20|0;o=h+(j<<2)|0;f=h;while(1){s=N[N[f>>2]>>2];if(cb(N[s+8>>2],9195)){f=f+4|0;if(o>>>0>f>>>0){continue}break a}break}s=N[s+20>>2];if(!s){break a}b:{if(!l){break b}o=k;f=N[N[l>>2]+32>>2];if(f){x=Qa[f|0](l,10566)|0;if(x){break b}o=N[l+4>>2];j=N[o+16>>2]}x=0;if((j|0)<=0){break b}f=o+20|0;j=f+(j<<2)|0;while(1){o=N[f>>2];c:{if((o|0)==(l|0)){break c}v=N[N[o>>2]+32>>2];if(!v){break c}x=Qa[v|0](o,10566)|0;if(x){break b}}f=f+4|0;if(j>>>0>f>>>0){continue}break}x=0}l=N[k+16>>2];if((l|0)<=0){break a}o=(l<<2)+h|0;f=h;d:{e:{while(1){j=N[N[f>>2]>>2];if(!cb(N[j+8>>2],11971)){break e}f=f+4|0;if(o>>>0>f>>>0){continue}break}f=0;break d}f=N[j+20>>2]}if((l|0)<=0){break a}B=f;while(1){f=N[N[h>>2]>>2];if(cb(N[f+8>>2],7988)){h=h+4|0;if(o>>>0>h>>>0){continue}break a}break}f=N[f+20>>2];if(!f){break a}N[b+556>>2]=f;h=N[b+96>>2];f:{g:{if(!h){break g}f=N[N[h>>2]+32>>2];if(f){o=Qa[f|0](h,16921)|0;if(o){break f}}f=N[h+4>>2];g=N[f+16>>2];if((g|0)<=0){break g}f=f+20|0;l=f+(g<<2)|0;while(1){g=N[f>>2];h:{if((g|0)==(h|0)){break h}o=N[N[g>>2]+32>>2];if(!o){break h}o=Qa[o|0](g,16921)|0;if(o){break f}}f=f+4|0;if(l>>>0>f>>>0){continue}break}}o=0}f=N[a+20>>2];if(f){g=85;if(Qa[f|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;E=Qa[N[s+4>>2]](a,b,c,d,e)|0;i:{if(!E){g=2;if(N[b+148>>2]!=1330926671){break a}g=0;if((c|0)<0){break a}f=0;j:{if(!(Qa[N[b+516>>2]](b,1751474532,a,0)|0)){g=Qa[N[s+8>>2]](a,b,c,d,e)|0;if(!g){break j}break a}g=Qa[N[s+32>>2]](b,a)|0;if(g){break a}f=1}g=Qa[N[b+516>>2]](b,1128678962,a,0)|0;if(!g){L[b+732|0]=1;s=1;break i}if((g&255)!=142){break a}g=Qa[N[b+516>>2]](b,1128678944,a,0)|0;s=0;if(!g){break i}break a}d=N[a+20>>2];if(d){g=85;if(Qa[d|0](a,0,0,0)|0){break a}}N[a+8>>2]=0;f=1;s=0}y=N[b+100>>2];i=Qa[N[y+4>>2]](y,3136)|0;if(!i){g=64;break a}C(i,0,3136);N[b+712>>2]=i;v=c;l=b;b=f;q=La-80|0;La=q;p=N[a+28>>2];C(i,0,3136);N[q+72>>2]=0;c=q- -64|0;N[c>>2]=0;N[c+4>>2]=0;N[q+56>>2]=0;N[q+60>>2]=0;N[q+48>>2]=0;N[q+52>>2]=0;N[q+40>>2]=0;N[q+44>>2]=0;r=N[a+8>>2];L[i+32|0]=s;N[i+8>>2]=p;N[i+4>>2]=a;N[i>>2]=k;N[i+12>>2]=r;f=rb(a,33568,i);k:{if(f){break k}l:{m:{n:{if(s){f=2;if(O[i+24|0]!=2|O[i+26|0]<5){break k}o:{p:{q:{f=N[a+8>>2];if(Q[a+4>>2]<=f+1>>>0){break q}c=N[a+20>>2];r:{if(c){if((Qa[c|0](a,f,q+4|0,2)|0)!=2){break q}f=N[a+8>>2];c=q+4|0;break r}c=N[a>>2];if(!c){break p}c=c+f|0}c=O[c+1|0]|O[c|0]<<8;break o}N[i+28>>2]=0;f=85;break k}c=0}N[a+8>>2]=f+2;N[i+28>>2]=c;h=O[i+26|0];break n}L[q+4|0]=0;f=N[a+8>>2];c=N[a+20>>2];s:{if(c){if((Qa[c|0](a,f,q+4|0,1)|0)!=1){break m}f=N[a+8>>2];c=q+4|0;break s}if(Q[a+4>>2]<=f>>>0){break m}c=N[a>>2]+f|0}c=O[c|0];N[a+8>>2]=f+1;f=2;if(O[i+24|0]!=1){break k}h=O[i+26|0];if(h>>>0<4|c>>>0>4){break k}}c=r+(h&255)|0;d=N[a+20>>2];t:{if(d){if(Qa[d|0](a,c,0,0)|0){break t}break l}if(c>>>0<=Q[a+4>>2]){break l}}f=b?2:85;break k}f=85;break k}N[a+8>>2]=c;u:{if(s){N[i+1240>>2]=0;N[i+1244>>2]=0;h=0;N[i+1272>>2]=0;c=i+1264|0;N[c>>2]=0;N[c+4>>2]=0;d=i+1256|0;N[d>>2]=0;N[d+4>>2]=0;d=i+1248|0;N[d>>2]=0;N[d+4>>2]=0;N[i+1260>>2]=N[a+8>>2];d=c;c=N[i+28>>2];N[d>>2]=c;f=Xc(a,c);if(f){break k}f=zd(i+108|0,a,1,1);if(!f){break u}break k}c=zd(i+36|0,a,0,0);if(c){f=b?2:c;break k}c=N[i+48>>2];if(!(c>>>0<2|c>>>0<=Q[i+60>>2])){f=b?2:3;break k}f=zd(i+1240|0,a,0,0);if(f){break k}f=zd(q+40|0,a,1,0);if(f){break k}f=zd(i+108|0,a,1,0);if(f){break k}f=Gh(q+40|0,i+1360|0,i+1364|0,i+1368|0);if(f){break k}f=3;if(Q[i+48>>2]>Q[i+1252>>2]){break k}h=N[q+52>>2]}N[i+1356>>2]=h;v:{if(b){D=v&65535;c=N[i+48>>2];if((v|0)>0){f=6;if(c>>>0<=D>>>0){break k}}N[i+16>>2]=c;break v}f=3;if(Q[i+48>>2]>1){break k}}f=0;if((v|0)<0){break k}f=Am(i+1372|0,i+1240|0,D,a,r,s?12288:4096,i,l);if(f){break k}c=r+N[i+1484>>2]|0;d=N[a+20>>2];w:{if(d){f=85;if(!(Qa[d|0](a,c,0,0)|0)){break w}break k}f=85;if(c>>>0>Q[a+4>>2]){break k}}N[a+8>>2]=c;f=zd(i+1204|0,a,0,s);if(f){break k}x:{if(!(!s&N[i+1504>>2]==65535)){g=i+3112|0;f=La-16|0;La=f;c=N[i+1552>>2];y:{if(!c){e=0;break y}m=N[a+28>>2];c=c+r|0;d=N[a+20>>2];z:{A:{B:{if(d){e=85;if(Qa[d|0](a,c,0,0)|0){break z}N[a+8>>2]=c;j=a+8|0;d=c+2|0;h=N[a+20>>2];if(!h){break B}if(Qa[h|0](a,d,0,0)|0){break z}k=N[a+4>>2];break A}e=85;if(c>>>0>Q[a+4>>2]){break z}N[a+8>>2]=c;j=a+8|0;d=c+2|0}k=N[a+4>>2];if(d>>>0>k>>>0){break z}}N[a+8>>2]=d;N[f+8>>2]=0;C:{if(c+3>>>0>=k>>>0){break C}D:{e=N[a+20>>2];E:{if(e){if((Qa[e|0](a,d,f+14|0,2)|0)!=2){break C}h=f+14|0;c=N[j>>2];break E}e=N[a>>2];if(!e){break D}h=d+e|0;c=d}h=O[h|0]|O[h+1|0]<<8;N[j>>2]=c+2;e=3;if(((h<<8|h>>>8)&65535)!=1){break z}c=Nb(a,f+8|0);e=N[f+8>>2];if(e){break z}k=xb(a,f+8|0);N[g>>2]=k;e=N[f+8>>2];if(e){break z}h=0;n=lb(m,4,0,k,0,f+8|0);e=N[f+8>>2];F:{G:{H:{if(e){break H}if(N[g>>2]){while(1){G=n+(h<<2)|0,H=Nb(a,f+8|0),N[G>>2]=H;e=N[f+8>>2];if(e){break G}h=h+1|0;if(h>>>0>2]){continue}break}}c=c+d|0;h=N[a+20>>2];I:{if(h){e=85;if(!(Qa[h|0](a,c,0,0)|0)){break I}break H}e=85;if(c>>>0>Q[a+4>>2]){break H}}N[a+8>>2]=c;N[f+8>>2]=0;G=g,H=xb(a,f+8|0),M[G+8>>1]=H;e=N[f+8>>2];if(e){break H}c=xb(a,f+8|0);N[g+12>>2]=c;e=N[f+8>>2];if(e){break H}G=g,H=lb(m,4,0,c,0,f+8|0),N[G+16>>2]=H;e=N[f+8>>2];if(e){break H}if(N[g+12>>2]){e=P[g+8>>1];k=0;while(1){t=N[g+16>>2]+(k<<2)|0;G=t,H=lb(m,12,0,e&65535,0,f+8|0),N[G>>2]=H;e=N[f+8>>2];if(e){break H}e=0;if(P[g+8>>1]){h=0;while(1){c=N[t>>2];u=xb(a,f+8|0);e=N[f+8>>2];if(e){break H}z=xb(a,f+8|0);e=N[f+8>>2];if(e){break H}A=xb(a,f+8|0);e=N[f+8>>2];if(e){break H}c=c+T(h,12)|0;N[c>>2]=u<<16>>16<<2;N[c+8>>2]=A<<16>>16<<2;N[c+4>>2]=z<<16>>16<<2;e=P[g+8>>1];h=h+1|0;if(e>>>0>h>>>0){continue}break}}k=k+1|0;if(k>>>0>2]){continue}break}}k=0;G=g,H=lb(m,8,0,N[g>>2],0,f+8|0),N[G+4>>2]=H;e=N[f+8>>2];if(e){break H}if(!N[g>>2]){e=0;break H}while(1){t=N[g+4>>2];c=N[n+(k<<2)>>2]+d|0;J:{h=N[a+20>>2];K:{if(h){e=85;if(Qa[h|0](a,c,0,0)|0){break G}N[a+8>>2]=c;h=c+4|0;c=N[a+20>>2];if(!c){break K}if(Qa[c|0](a,h,0,0)|0){break G}break J}if(c>>>0>Q[a+4>>2]){e=85;break G}N[j>>2]=c;h=c+4|0}if(Q[a+4>>2]>=h>>>0){break J}e=85;break G}N[a+8>>2]=h;N[f+8>>2]=0;c=t+(k<<3)|0;h=xb(a,f+8|0);N[c>>2]=h;e=N[f+8>>2];if(e){break G}G=c,H=lb(m,4,0,h,0,f+8|0),N[G+4>>2]=H;e=N[f+8>>2];if(e){break G}if(N[c>>2]){h=0;while(1){e=xb(a,f+8|0);N[N[c+4>>2]+(h<<2)>>2]=e;e=N[f+8>>2];if(e){break H}h=h+1|0;if(h>>>0>2]){continue}break}}e=0;k=k+1|0;if(k>>>0>2]){continue}break}}if(!n){break F}}Qa[N[m+8>>2]](m,n)}if(e){break z}e=0;break y}N[j>>2]=c+4;e=3;break z}e=85}Em(g,m)}La=f+16|0;f=e;if(f){break k}c=r+N[i+1536>>2]|0;d=N[a+20>>2];L:{if(d){f=85;if(!(Qa[d|0](a,c,0,0)|0)){break L}break k}f=85;if(c>>>0>Q[a+4>>2]){break k}}N[a+8>>2]=c;f=zd(q+4|0,a,0,s);N[q+76>>2]=f;if(f){break k}M:{c=N[q+16>>2];if(c>>>0<=256){N[i+2024>>2]=c;h=0;d=lb(p,652,0,c,0,q+76|0);N:{O:{P:{f=N[q+76>>2];if(f){break P}if(!c){break N}f=0;if(c>>>0>=4){g=c&-4;e=i+2028|0;while(1){N[e+(f<<2)>>2]=d+T(f,652);j=f|1;N[e+(j<<2)>>2]=d+T(j,652);j=f|2;N[e+(j<<2)>>2]=d+T(j,652);j=f|3;N[e+(j<<2)>>2]=d+T(j,652);f=f+4|0;if((g|0)!=(f|0)){continue}break}}c=c&3;if(c){while(1){N[(i+(f<<2)|0)+2028>>2]=d+T(f,652);f=f+1|0;h=h+1|0;if((c|0)!=(h|0)){continue}break}}c=s?16384:4096;h=0;while(1){f=Am(N[(i+(h<<2)|0)+2028>>2],q+4|0,h,a,r,c,i,l);if(f){break P}h=h+1|0;d=N[q+16>>2];if(h>>>0>>0){continue}break}break O}Fh(q+4|0);break k}h=d>>>0>1}if(h|!s){break M}}Fh(q+4|0);break x}g=i+3052|0;k=N[i+1216>>2];c=r+N[i+1540>>2]|0;e=La-16|0;La=e;Q:{R:{S:{d=N[a+20>>2];T:{U:{if(d){f=85;if(Qa[d|0](a,c,0,0)|0){break Q}N[a+8>>2]=c;d=N[a+20>>2];L[e+13|0]=0;h=a+8|0;if(!d){break U}if((Qa[d|0](a,c,e+13|0,1)|0)!=1){break S}c=N[a+8>>2];d=e+13|0;break T}f=85;if(Q[a+4>>2]>>0){break Q}N[a+8>>2]=c;L[e+13|0]=0;h=a+8|0}if(Q[a+4>>2]<=c>>>0){break S}d=N[a>>2]+c|0}j=O[d|0];d=c+1|0;N[h>>2]=d;N[g+20>>2]=0;L[g|0]=j;f=3;V:{switch(j|0){case 3:if(Q[a+4>>2]<=c+2>>>0){break S}j=N[a+20>>2];W:{if(j){if((Qa[j|0](a,d,e+14|0,2)|0)!=2){break S}d=N[h>>2];c=e+14|0;break W}j=N[a>>2];if(!j){break R}c=d+j|0}c=O[c|0]|O[c+1|0]<<8;N[h>>2]=d+2;c=(c<<8|c>>>8)&65535;if(!c){break Q}k=T(c,3)+2|0;break;case 0:break V;default:break Q}}N[g+12>>2]=k;f=fc(a,k,g+8|0);break Q}f=85;break Q}N[h>>2]=c+3}La=e+16|0;Fh(q+4|0);if(!f){break x}break k}N[i+2024>>2]=0}if(!N[i+1484>>2]){f=3;break k}N[i+20>>2]=N[i+1216>>2];f=Gh(i+108|0,i+1352|0,0,0);if(f){break k}X:{if(s){break X}d=N[i+20>>2];if(!d){break X}h=i+1180|0;t=(b|0)!=0&N[i+1504>>2]!=65535;k=0;n=La-16|0;La=n;e=3;p=N[a+28>>2];Y:{Z:{_:{c=N[i+1476>>2];$:{if(c>>>0>=3){g=c+r|0;N[h+4>>2]=g;aa:{c=N[a+20>>2];ba:{ca:{if(c){e=85;if(Qa[c|0](a,g,0,0)|0){break Z}N[a+8>>2]=g;f=N[a+20>>2];L[n+10|0]=0;c=a+8|0;if(!f){break ca}if((Qa[f|0](a,g,n+10|0,1)|0)!=1){break aa}g=N[a+8>>2];e=n+10|0;break ba}e=85;if(Q[a+4>>2]>>0){break Z}N[a+8>>2]=g;L[n+10|0]=0;c=a+8|0}if(Q[a+4>>2]<=g>>>0){break aa}e=N[a>>2]+g|0}e=O[e|0];N[c>>2]=g+1;N[h>>2]=e;g=0;if((d|0)<0){e=6;break _}da:{ea:{fa:{if(d){e=10;if((d|0)>1073741823){break _}e=d<<1;g=Qa[N[p+4>>2]](p,e)|0;if(!g|(d|0)<=0){break fa}C(g,0,e)}N[h+8>>2]=g;m=h+8|0;break ea}N[h+8>>2]=g;if(!g){break da}m=h+8|0}M[g>>1]=0;e=3;ga:{switch(N[h>>2]){case 0:e=Bb(a,(d<<1)-2|0);if(e){break Z}ha:{if(d>>>0<2){break ha}g=N[a+32>>2];c=N[m>>2];j=N[a+36>>2];ia:{if((d|0)==2){f=1;break ia}e=d-1|0;m=e&1;u=e&-2;f=1;while(1){ja:{if(j>>>0<=g+1>>>0){e=0;break ja}e=O[g|0]|O[g+1|0]<<8;e=e<<8|e>>>8;g=g+2|0}N[a+32>>2]=g;M[c+(f<<1)>>1]=e;e=0;if(j>>>0>g+1>>>0){e=O[g|0]|O[g+1|0]<<8;e=e<<8|e>>>8;g=g+2|0}N[a+32>>2]=g;M[c+(f+1<<1)>>1]=e;f=f+2|0;k=k+2|0;if((u|0)!=(k|0)){continue}break}if(!m){break ha}}e=0;if(j>>>0>g+1>>>0){e=O[g|0]|O[g+1|0]<<8;e=e<<8|e>>>8;g=g+2|0}N[a+32>>2]=g;M[c+(f<<1)>>1]=e}if(N[a+20>>2]){c=N[a>>2];if(c){e=N[a+28>>2];Qa[N[e+8>>2]](e,c)}N[a>>2]=0}N[a+32>>2]=0;N[a+36>>2]=0;break $;case 1:case 2:break ga;default:break Z}}if(d>>>0<2){break $}j=N[a+8>>2];g=1;while(1){ka:{la:{ma:{if(Q[a+4>>2]<=j+1>>>0){break ma}e=N[a+20>>2];na:{if(e){if((Qa[e|0](a,j,n+11|0,2)|0)!=2){break ma}j=N[c>>2];e=n+11|0;break na}e=N[a>>2];if(!e){break la}e=e+j|0}e=O[e|0]|O[e+1|0]<<8;f=e<<8|e>>>8;break ka}e=85;break Z}f=0}e=j+2|0;N[c>>2]=e;oa:{pa:{qa:{if(N[h>>2]==2){ra:{sa:{if(Q[a+4>>2]<=j+3>>>0){break sa}j=N[a+20>>2];ta:{if(j){if((Qa[j|0](a,e,n+13|0,2)|0)!=2){break sa}e=N[c>>2];j=n+13|0;break ta}j=N[a>>2];if(!j){break ra}j=e+j|0}k=O[j+1|0]|O[j|0]<<8;j=e+2|0;break qa}e=85;break Z}k=0;j=e+2|0;break qa}L[n+15|0]=0;j=N[a+20>>2];ua:{if(j){if((Qa[j|0](a,e,n+15|0,1)|0)!=1){break pa}e=N[c>>2];j=n+15|0;break ua}if(Q[a+4>>2]<=e>>>0){break pa}j=N[a>>2]+e|0}k=O[j|0];j=e+1|0}N[c>>2]=j;if(d>>>0<=g>>>0){break oa}e=f&65535;k=e>>>0>(k^65535)>>>0?e^65535:k;u=N[m>>2];e=0;while(1){M[u+(g<<1)>>1]=f;g=g+1|0;if(d>>>0<=g>>>0){break oa}f=f+1|0;z=e>>>0>>0;e=e+1|0;if(z){continue}break}break oa}e=85;break Z}if(d>>>0>g>>>0){continue}break}break $}e=!g<<6;break Z}N[h>>2]=0;break Z}N[h+4>>2]=c;va:{wa:{xa:{ya:{za:{switch(c|0){case 0:if(d>>>0>229){break Z}if(!d){g=d<<1;f=0;break wa}g=d<<1;f=Qa[N[p+4>>2]](p,g)|0;if(!(!f|(d|0)<=0)){C(f,0,g);break wa}N[h+8>>2]=f;if(f){break va}e=!f<<6;break Z;case 1:if(d>>>0>166){break Z}if(!d){g=d<<1;f=0;break ya}g=d<<1;f=Qa[N[p+4>>2]](p,g)|0;if(!(!f|(d|0)<=0)){C(f,0,g);break ya}N[h+8>>2]=f;if(f){break xa}e=!f<<6;break Z;case 2:break za;default:break Z}}if(d>>>0>87){break Z}Aa:{Ba:{if(!d){g=d<<1;f=0;break Ba}g=d<<1;f=Qa[N[p+4>>2]](p,g)|0;if(!(!f|(d|0)<=0)){C(f,0,g);break Ba}N[h+8>>2]=f;if(f){break Aa}e=!f<<6;break Z}N[h+8>>2]=f}F(f,266160,g);break $}N[h+8>>2]=f}F(f,265824,g);break $}N[h+8>>2]=f}F(f,33600,g)}if(!t){e=0;break Y}e=0;N[n+4>>2]=0;if(N[h+16>>2]){break Y}m=d&3;c=N[h+8>>2];k=0;Ca:{if(d>>>0<4){f=0;g=0;break Ca}g=d&-4;f=0;j=0;while(1){t=j<<1;u=P[c+(t|6)>>1];z=P[c+(t|4)>>1];A=P[c+(t|2)>>1];t=P[c+t>>1];f=f&65535;f=f>>>0>>0?t:f;f=f>>>0>>0?A:f;f=f>>>0>>0?z:f;f=f>>>0>>0?u:f;j=j+4|0;if((j|0)!=(g|0)){continue}break}}if(m){while(1){j=P[c+(g<<1)>>1];f=f&65535;f=f>>>0>>0?j:f;g=g+1|0;k=k+1|0;if((m|0)!=(k|0)){continue}break}}k=f&65535;g=lb(p,2,0,k+1|0,0,n+4|0);N[h+12>>2]=g;c=N[n+4>>2];if(!c){Da:{if((d|0)<=0){break Da}c=N[h+8>>2];f=d;if(m){j=0;while(1){f=f-1|0;M[g+(P[c+(f<<1)>>1]<<1)>>1]=f;j=j+1|0;if((m|0)!=(j|0)){continue}break}}if(d>>>0<4){break Da}while(1){j=f-1|0;M[g+(P[c+(j<<1)>>1]<<1)>>1]=j;j=f-2|0;M[g+(P[c+(j<<1)>>1]<<1)>>1]=j;j=f-3|0;M[g+(P[c+(j<<1)>>1]<<1)>>1]=j;f=f-4|0;M[g+(P[c+(f<<1)>>1]<<1)>>1]=f;if(j>>>0>1){continue}break}}N[h+20>>2]=d;N[h+16>>2]=k;break Y}e=c;break Z}N[h+8>>2]=0}c=N[h+8>>2];if(c){Qa[N[p+8>>2]](p,c)}N[h+8>>2]=0;c=N[h+12>>2];if(c){Qa[N[p+8>>2]](p,c)}N[h>>2]=0;N[h+4>>2]=0;N[h+12>>2]=0}La=n+16|0;f=e;if(f){break k}if(N[i+1504>>2]!=65535){break X}n=i+144|0;f=N[i+20>>2];e=a;c=N[i+1480>>2];t=0;m=La-16|0;La=m;a=3;j=h;Ea:{if(!N[h+8>>2]){break Ea}d=n+12|0;C(d,0,1024);Fa:{Ga:{Ha:{if(c>>>0>=2){g=c+r|0;N[n+4>>2]=g;c=N[e+20>>2];Ia:{Ja:{if(c){a=85;if(Qa[c|0](e,g,0,0)|0){break Ea}N[e+8>>2]=g;a=N[e+20>>2];L[m+12|0]=0;k=e+8|0;if(!a){break Ja}if((Qa[a|0](e,g,m+12|0,1)|0)!=1){break Ha}g=N[e+8>>2];a=m+12|0;break Ia}a=85;if(Q[e+4>>2]>>0){break Ea}N[e+8>>2]=g;L[m+12|0]=0;k=e+8|0}if(Q[e+4>>2]<=g>>>0){break Ha}a=N[e>>2]+g|0}c=O[a|0];a=g+1|0;N[e+8>>2]=a;N[n>>2]=c;N[m+8>>2]=0;L[m+13|0]=0;c=N[e+20>>2];Ka:{if(c){if((Qa[c|0](e,a,m+13|0,1)|0)!=1){break Ga}a=N[k>>2];c=m+13|0;break Ka}if(Q[e+4>>2]<=a>>>0){break Ga}c=N[e>>2]+a|0}p=O[c|0];c=a+1|0;N[k>>2]=c;a=3;La:{Ma:{switch(N[n>>2]&127){case 0:N[n+8>>2]=p+1;a=Bb(e,p);N[m+8>>2]=a;if(a){break Ea}Na:{if(!p){break Na}a=1;g=N[e+32>>2];if((p|0)!=1){h=p&254;d=0;while(1){if(a>>>0>>0){c=n+(O[g|0]<<1)|0;M[c+524>>1]=a;M[c+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}c=a+1|0;if(c>>>0>>0){k=n+(O[g+1|0]<<1)|0;M[k+524>>1]=c;M[k+12>>1]=P[N[j+8>>2]+(c<<1)>>1]}g=g+2|0;a=a+2|0;d=d+2|0;if((h|0)!=(d|0)){continue}break}}if(!(p&1)|a>>>0>=f>>>0){break Na}c=n+(O[g|0]<<1)|0;M[c+524>>1]=a;M[c+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}if(N[e+20>>2]){a=N[e>>2];if(a){c=N[e+28>>2];Qa[N[c+8>>2]](c,a)}N[e>>2]=0}N[e+32>>2]=0;N[e+36>>2]=0;break La;case 1:break Ma;default:break Ea}}N[n+8>>2]=0;if(!p){break La}d=1;while(1){a=d;L[m+14|0]=0;d=N[e+20>>2];Oa:{if(d){if((Qa[d|0](e,c,m+14|0,1)|0)!=1){break Ga}c=N[k>>2];d=m+14|0;break Oa}if(Q[e+4>>2]<=c>>>0){break Ga}d=N[e>>2]+c|0}g=O[d|0];d=c+1|0;N[e+8>>2]=d;L[m+15|0]=0;c=N[e+20>>2];Pa:{if(c){if((Qa[c|0](e,d,m+15|0,1)|0)!=1){break Ga}d=N[k>>2];c=m+15|0;break Pa}if(Q[e+4>>2]<=d>>>0){break Ga}c=N[e>>2]+d|0}r=O[c|0];c=d+1|0;N[k>>2]=c;d=r+1|0;h=N[n+8>>2];if(r>>>0>=h>>>0){N[n+8>>2]=d;h=d}d=a+d|0;Qa:{if(d>>>0<=a>>>0){break Qa}if(!(r&1)){if(a>>>0>>0){u=n+(g<<1)|0;M[u+524>>1]=a;M[u+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}g=g+1|0;a=a+1|0}if(!r){break Qa}while(1){if(!(g>>>0>255|a>>>0>=f>>>0)){r=n+(g<<1)|0;M[r+524>>1]=a;M[r+12>>1]=P[N[j+8>>2]+(a<<1)>>1]}r=a+1|0;Ra:{if(r>>>0>=f>>>0){break Ra}u=g+1|0;if(u>>>0>255){break Ra}u=n+(u<<1)|0;M[u+524>>1]=r;M[u+12>>1]=P[N[j+8>>2]+(r<<1)>>1]}g=g+2|0;a=a+2|0;if((d|0)!=(a|0)){continue}break}}t=t+1|0;if((p|0)!=(t|0)){continue}break}N[m+8>>2]=0;if(h>>>0<257){break La}N[n+8>>2]=256}a=0;if(!(O[n|0]&128)){break Ea}c=Pd(e,m+8|0);a=N[m+8>>2];if(a|!c){break Ea}d=c&255;h=0;while(1){g=Pd(e,m+8|0);a=N[m+8>>2];if(a){break Ea}c=xb(e,m+8|0);a=N[m+8>>2];if(a){break Ea}g=n+((g&255)<<1)|0;M[g+12>>1]=c;Sa:{if(!f){break Sa}k=N[j+8>>2];a=0;while(1){if((c|0)==P[k+(a<<1)>>1]){M[g+524>>1]=a;break Sa}a=a+1|0;if((f|0)!=(a|0)){continue}break}}a=0;h=h+1|0;if((d|0)!=(h|0)){continue}break}break Ea}Ta:{Ua:{switch(c|0){case 0:F(d,30800,512);break Ta;case 1:break Ua;default:break Ea}}F(d,34064,512)}N[n+8>>2]=0;h=N[j+16>>2];if(!h){p=N[e+28>>2];if(f){k=f&3;c=N[j+8>>2];d=0;Va:{if(f>>>0<4){a=0;g=0;break Va}g=f&-4;a=0;h=0;while(1){e=h<<1;r=P[c+(e|6)>>1];t=P[c+(e|4)>>1];u=P[c+(e|2)>>1];e=P[c+e>>1];a=a&65535;a=a>>>0>>0?e:a;a=a>>>0>>0?u:a;a=a>>>0>>0?t:a;a=a>>>0>>0?r:a;h=h+4|0;if((h|0)!=(g|0)){continue}break}}if(k){while(1){e=P[c+(g<<1)>>1];a=a&65535;a=a>>>0>>0?e:a;g=g+1|0;d=d+1|0;if((k|0)!=(d|0)){continue}break}}h=a&65535}else{h=0}a=(h<<1)+2|0;c=Qa[N[p+4>>2]](p,a)|0;if(!c){break Fa}d=0;C(c,0,a);N[j+12>>2]=c;Wa:{if((f|0)<=0){break Wa}e=N[j+8>>2];a=f;g=a&3;if(g){while(1){a=a-1|0;M[c+(P[e+(a<<1)>>1]<<1)>>1]=a;d=d+1|0;if((g|0)!=(d|0)){continue}break}}if(f>>>0<4){break Wa}while(1){d=a-1|0;M[c+(P[e+(d<<1)>>1]<<1)>>1]=d;d=a-2|0;M[c+(P[e+(d<<1)>>1]<<1)>>1]=d;d=a-3|0;M[c+(P[e+(d<<1)>>1]<<1)>>1]=d;a=a-4|0;M[c+(P[e+(a<<1)>>1]<<1)>>1]=a;if(d>>>0>1){continue}break}}N[j+20>>2]=f;N[j+16>>2]=h}a=0;while(1){Xa:{Ya:{c=n+(a<<1)|0;d=P[c+12>>1];if(!d|d>>>0>h>>>0){break Ya}d=P[N[j+12>>2]+(d<<1)>>1];if(!d){break Ya}M[c+524>>1]=d;a=a+1|0;N[n+8>>2]=a;break Xa}M[c+524>>1]=0;M[c+12>>1]=0;a=a+1|0}if((a|0)!=256){continue}break}a=0;break Ea}N[n>>2]=0}a=85;break Ea}N[j+12>>2]=0;a=64}La=m+16|0;f=a;if(a){break k}}G=i,H=Gm(i,D),N[G+1348>>2]=H;f=0}c=N[q+40>>2];Za:{if(!c){break Za}a=N[c+28>>2];d=N[q+72>>2];if(!(!d|!N[c+20>>2])){Qa[N[a+8>>2]](a,d)}c=N[q+68>>2];if(!c){break Za}Qa[N[a+8>>2]](a,c)}La=q+80|0;g=f;if(f){break a}if((v|0)<0){N[l>>2]=N[i+16>>2];g=0;break a}N[i+3088>>2]=o;N[i+3084>>2]=x;N[i+3080>>2]=B;k=v&65535;N[l+4>>2]=k;N[l+16>>2]=N[i+20>>2];if(N[i+1504>>2]==65535){g=11;if(!x){break a}}_a:{if(!(N[l+8>>2]&256)|v>>>0<65536){break _a}c=N[l+548>>2];if(!c){break _a}a=N[l+552>>2];g=Qa[N[c+28>>2]](l,v>>>16|0)|0;if(g){break a}if(!a){break _a}Qa[N[a+28>>2]](l)}if(!O[i+1436|0]){N[i+1440>>2]=b?1e3:P[l+68>>1]}c=N[i+1432>>2];d=i+1448|0;f=c?c:N[i+1428>>2];a=f>>31;a=(f^a)-a|0;$a:{if((a|0)==65536){o=N[i+1444>>2];a=N[i+1448>>2];break $a}G=i,H=fb(N[i+1440>>2],a),N[G+1440>>2]=H;G=i,H=fb(N[i+1420>>2],a),N[G+1420>>2]=H;e=i+1428|0;G=e,H=fb(N[e>>2],a),N[G>>2]=H;e=i+1424|0;G=e,H=fb(N[e>>2],a),N[G>>2]=H;G=i,H=fb(c,a),N[G+1432>>2]=H;o=fb(N[i+1444>>2],a);a=fb(N[i+1448>>2],a)}N[d>>2]=a>>16;N[i+1444>>2]=o>>16;h=N[i+2024>>2];if(h){c=i+1420|0;while(1){h=h-1|0;a=N[(i+(h<<2)|0)+2028>>2];ab:{if(O[a+64|0]){if(!O[i+1436|0]){break ab}o=1;d=N[i+1440>>2];if(d>>>0>=2){e=N[a+68>>2];o=e>>>0<=1?1:d>>>0>>0?d:e}d=a+48|0;if(!(!c|!d)){f=N[c>>2];g=N[d>>2];e=o<<16;j=jb(f,g,e);v=N[c+4>>2];m=N[d+8>>2];B=jb(v,m,e);p=f;f=N[d+4>>2];q=jb(p,f,e);p=v;v=N[d+12>>2];n=jb(p,v,e);p=N[c+8>>2];r=jb(p,g,e);g=N[c+12>>2];G=d,H=r+jb(g,m,e)|0,N[G+8>>2]=H;N[d+4>>2]=n+q;N[d>>2]=j+B;G=d,H=jb(p,f,e)+jb(g,v,e)|0,N[G+12>>2]=H}if(!(!c|(a|0)==-72)){e=N[c+8>>2];f=N[c+12>>2];g=N[a+72>>2];d=o<<16;v=jb(g,N[c>>2],d);j=N[a+76>>2];G=a,H=v+jb(j,N[c+4>>2],d)|0,N[G+72>>2]=H;G=a,H=jb(g,e,d)+jb(j,f,d)|0,N[G+76>>2]=H}G=a,H=jb(N[a+68>>2],N[i+1440>>2],o),N[G+68>>2]=H;break ab}d=N[c+4>>2];N[a+48>>2]=N[c>>2];N[a+52>>2]=d;d=N[c+12>>2];N[a+56>>2]=N[c+8>>2];N[a+60>>2]=d;d=N[i+1448>>2];N[a+72>>2]=N[i+1444>>2];N[a+76>>2]=d;N[a+68>>2]=N[i+1440>>2]}e=N[a+60>>2];o=e?e:N[a+56>>2];d=o>>31;d=(o^d)-d|0;bb:{if((d|0)==65536){j=N[a+72>>2];d=N[a+76>>2];break bb}G=a,H=fb(N[a+68>>2],d),N[G+68>>2]=H;G=a,H=fb(N[a+48>>2],d),N[G+48>>2]=H;G=a,H=fb(N[a+56>>2],d),N[G+56>>2]=H;G=a,H=fb(N[a+52>>2],d),N[G+52>>2]=H;G=a,H=fb(e,d),N[G+60>>2]=H;j=fb(N[a+72>>2],d);d=fb(N[a+76>>2],d)}N[a+76>>2]=d>>16;N[a+72>>2]=j>>16;if(h){continue}break}}if(b){N[l>>2]=N[i+16>>2];if(N[i+1504>>2]!=65535){a=N[i+1196>>2]+1|0}else{a=N[i+1216>>2]}N[l+16>>2]=a;N[l+52>>2]=M[i+1458>>1];a=M[i+1462>>1];N[l+56>>2]=a;N[l+60>>2]=N[i+1464>>2]+65535>>16;c=N[i+1468>>2]+65535>>16;N[l- -64>>2]=c;d=N[i+1440>>2];M[l+72>>1]=a;M[l+70>>1]=c;M[l+68>>1]=d;a=c-a|0;c=(T(d&65535,12)>>>0)/10|0;M[l+74>>1]=(a|0)>c<<16>>16?a:c;M[l+80>>1]=P[i+1406>>1];M[l+82>>1]=P[i+1410>>1];a=N[i+1388>>2];cb:{if(!a){break cb}a=Zf(i,a);if(!a){break cb}G=l,H=Nc(y,a,w+4|0),N[G+20>>2]=H}db:{eb:{fb:{if(!N[l+20>>2]){c=Gm(i,k);N[l+20>>2]=c;if(!c){break fb}a=nb(c);gb:{if((a|0)<6){break gb}d=c+7|0;e=a+1|0;while(1){if(O[c+6|0]!=43|(O[c+5|0]-65&255)>>>0>25|((O[c+4|0]-65&255)>>>0>25|(O[c+3|0]-65&255)>>>0>25)){break gb}if((O[c+2|0]-65&255)>>>0>25|(O[c+1|0]-65&255)>>>0>25|((e|0)<8|(O[c|0]-65&255)>>>0>25)){break gb}a=e-7|0;F(c,d,a);f=(e|0)>13;e=a;if(f){continue}break}}if(!N[l+20>>2]){break fb}}g=Zf(i,N[i+1384>>2]);if(!g){break eb}h=N[l+20>>2];if(!h){break eb}f=O[g|0];if(!f){break eb}while(1){hb:{ib:{a=f&255;c=a-32|0;if(!((c|0)!=13?c:0)){if((a|0)==O[h|0]){break ib}break hb}o=h;f=O[h|0];if((a|0)==(f|0)){break ib}while(1){jb:{kb:{c=f&255;switch(c-32|0){case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:break eb;case 0:case 13:break kb;default:break jb}}f=O[o+1|0];h=o+1|0;o=h;if((a|0)!=(f|0)){continue}break ib}break}if(c){break eb}f=Nc(y,g,w+4|0);if(!f){break eb}d=N[l+20>>2];e=nb(d);c=nb(f);lb:{if((e|0)<=(c|0)){break lb}a=1;if((c|0)>0){while(1){if(O[d+(e-a|0)|0]!=O[(c-a|0)+f|0]){break lb}h=(a|0)==(c|0);a=a+1|0;if(!h){continue}break}}a=e+(c^-1)|0;if((a|0)<=0){break lb}while(1){c=a+d|0;e=O[c|0];h=e-32|0;if(!((1<>>0<=13:0)|(e|0)==95)){L[c+1|0]=0;break lb}c=(a|0)>1;a=a-1|0;if(c){continue}break}}break db}h=h+1|0}f=O[g+1|0];g=g+1|0;if(f){continue}break}break eb}a=Zf(i,N[i+1544>>2]);if(!a){break eb}G=l,H=Nc(y,a,w+4|0),N[G+20>>2]=H}f=Nc(y,12199,w+4|0)}N[l+24>>2]=f;a=E?2065:2073;N[l+8>>2]=N[l+8>>2]|(O[i+1396|0]?a|4:a);f=N[i+1400>>2]!=0;a=Zf(i,N[i+1392>>2]);mb:{if(!a){break mb}if(cb(a,16733)){if(cb(a,13781)){break mb}}f=f|2}nb:{if(f&2){break nb}a=N[l+24>>2];if(!a){break nb}if(bb(a,16733,4)){if(bb(a,13781,5)){break nb}}f=f|2}N[l+12>>2]=f}c=N[i+1504>>2];ob:{if(!(s|(c|0)!=65535)){N[l+8>>2]=N[l+8>>2]|512;j=b;break ob}j=b;if(!j|(c|0)==65535){break ob}N[l+8>>2]=N[l+8>>2]|4096;j=1}a=N[l+36>>2];pb:{if(a){b=N[l+40>>2];f=0;while(1){qb:{rb:{d=N[b+(f<<2)>>2];switch(P[d+8>>1]){case 0:break pb;case 3:break rb;default:break qb}}if(P[d+10>>1]==1){break pb}}f=f+1|0;if((a|0)!=(f|0)){continue}break}}g=0;if((c|0)!=65535&j){break a}N[w+4>>2]=l;N[w+8>>2]=1970170211;N[w+12>>2]=65539;g=Bc(30492,0,w+4|0,0);sb:{if(!g){break sb}b=g&255;if((b|0)==163){break sb}if((b|0)!=7){break a}}if(N[l+92>>2]|(a|0)==N[l+36>>2]){break pb}N[l+92>>2]=N[N[l+40>>2]+(a<<2)>>2]}if(!N[i+152>>2]){g=0;break a}M[w+12>>1]=7;N[w+4>>2]=l;f=1094995778;o=0;tb:{ub:{switch(N[i+148>>2]){case 1:f=1094992453;o=1;break tb;case 0:break tb;default:break ub}}f=1094992451;o=2}N[w+8>>2]=f;M[w+14>>1]=o;g=Bc(30452,0,w+4|0,0)}La=w+16|0;return g|0}function Bl(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,q=0,r=0,s=0,t=0,u=0,v=0;p=La-16|0;La=p;a:{b:{if(!b){m=1;if(!N[e>>2]|(!e|!f)){break a}break b}h=b+1|0;m=O[b+1|0];c:{if(O[b|0]==120){o=b;l=0;if((m&255)==45){break c}}o=0;d:{if(!(m&255)){i=h;break d}g=h;i=b;while(1){j=i;i=g;e:{if(O[j|0]!=45|O[j+2|0]!=45){break e}k=k?k:j;if((m&255)!=120){break e}o=i;break d}g=i+1|0;m=O[i+1|0];if(m){continue}break}i=g}l=k?k:i}g=0;i=0;f:{if(!c|!d|(!o|!N[c>>2])){break f}n=ub(o,17675);if(!n){break f}g:{h:{j=O[n+5|0];if((j|0)!=45){if(((j&223)-91&255)>>>0<230&(j-58&255)>>>0<=245){break f}i=(j-65&255)>>>0<26?j+32|0:j;L[p+4|0]=i;m=O[n+6|0];if((m-48&255)>>>0>=10){j=1;if(((m&-33)-65&255)>>>0>25){break h}}k=(m-65&255)>>>0<26?m+32|0:m;L[p+5|0]=k;m=O[n+7|0];if((m-48&255)>>>0>=10){j=2;if(((m&-33)-65&255)>>>0>25){break h}}m=(m-65&255)>>>0<26?m+32|0:m;L[p+6|0]=m;n=O[n+8|0];if((n-48&255)>>>0>=10){j=3;if(((n&-33)-65&255)>>>0>25){break h}}j=(n-65&255)>>>0<26?n+32|0:n;break g}m=O[n+6|0];j=m-48|0;i=(j&255)>>>0<10;i:{j:{if(!(i|(m-97&255)>>>0<6)){i=0;j=m-65|0;if((j&255)>>>0<6){break j}break f}if(i){break i}j=m-65|0}j=((j&255)>>>0<26?m+32|0:m)-87|0}k=O[n+7|0];m=k-48|0;i=(m&255)>>>0<10;k:{l:{if(!(i|(k-97&255)>>>0<6)){i=0;m=k-65|0;if((m&255)>>>0<6){break l}break f}if(i){break k}m=k-65|0}m=((m&255)>>>0<26?k+32|0:k)-87|0}k=O[n+8|0];q=k-48|0;i=(q&255)>>>0<10;m:{n:{if(!(i|(k-97&255)>>>0<6)){i=0;q=k-65|0;if((q&255)>>>0<6){break n}break f}if(i){break m}q=k-65|0}q=((q&255)>>>0<26?k+32|0:k)-87|0}k=O[n+9|0];r=k-48|0;i=(r&255)>>>0<10;o:{p:{if(!(i|(k-97&255)>>>0<6)){i=0;r=k-65|0;if((r&255)>>>0<6){break p}break f}if(i){break o}r=k-65|0}r=((r&255)>>>0<26?k+32|0:k)-87|0}k=O[n+10|0];s=k-48|0;i=(s&255)>>>0<10;q:{r:{if(!(i|(k-97&255)>>>0<6)){i=0;s=k-65|0;if((s&255)>>>0<6){break r}break f}if(i){break q}s=k-65|0}s=((s&255)>>>0<26?k+32|0:k)-87|0}k=O[n+11|0];t=k-48|0;i=(t&255)>>>0<10;s:{t:{if(!(i|(k-97&255)>>>0<6)){i=0;t=k-65|0;if((t&255)>>>0<6){break t}break f}if(i){break s}t=k-65|0}t=((t&255)>>>0<26?k+32|0:k)-87|0}k=O[n+12|0];u=k-48|0;i=(u&255)>>>0<10;u:{v:{if(!(i|(k-97&255)>>>0<6)){i=0;u=k-65|0;if((u&255)>>>0<6){break v}break f}if(i){break u}u=k-65|0}u=((u&255)>>>0<26?k+32|0:k)-87|0}n=O[n+13|0];v=n-48|0;i=(v&255)>>>0<10;w:{x:{if(!(i|(n-97&255)>>>0<6)){i=0;k=n-65|0;if((k&255)>>>0<6){break x}break f}if(i){break w}k=n-65|0}v=((k&255)>>>0<26?n+32|0:n)-87|0}i=(j<<4)+m|0;k=(q<<4)+r|0;m=(s<<4)+t|0;j=(u<<4)+v|0;break g}C((p+4|0)+j|0,32,4-j|0);m=O[p+6|0];k=O[p+5|0];i=O[p+4|0];j=O[p+7|0]}i=j&255|(i<<24|(k&255)<<16|(m&255)<<8);N[d>>2]=(i&-538976289)==1145457748?i^538976288:i;i=1;N[c>>2]=1}y:{if(!f|!e|(!o|!N[e>>2])){break y}n=ub(o,8910);if(!n){break y}z:{A:{j=O[n+5|0];if((j|0)!=45){if(((j&223)-91&255)>>>0<230&(j-58&255)>>>0<=245){break y}g=(j-97&255)>>>0<26?j-32|0:j;L[p+8|0]=g;j=O[n+6|0];if((j-48&255)>>>0>=10){o=1;if(((j&-33)-65&255)>>>0>25){break A}}k=(j-97&255)>>>0<26?j-32|0:j;L[p+9|0]=k;j=O[n+7|0];if((j-48&255)>>>0>=10){o=2;if(((j&-33)-65&255)>>>0>25){break A}}j=(j-97&255)>>>0<26?j-32|0:j;L[p+10|0]=j;m=O[n+8|0];if((m-48&255)>>>0>=10){o=3;if(((m&-33)-65&255)>>>0>25){break A}}o=(m-97&255)>>>0<26?m-32|0:m;break z}j=O[n+6|0];o=j-48|0;g=(o&255)>>>0<10;B:{C:{if(!(g|(j-97&255)>>>0<6)){g=0;o=j-65|0;if((o&255)>>>0<6){break C}break y}if(g){break B}o=j-65|0}o=((o&255)>>>0<26?j+32|0:j)-87|0}m=O[n+7|0];j=m-48|0;g=(j&255)>>>0<10;D:{E:{if(!(g|(m-97&255)>>>0<6)){g=0;j=m-65|0;if((j&255)>>>0<6){break E}break y}if(g){break D}j=m-65|0}j=((j&255)>>>0<26?m+32|0:m)-87|0}k=O[n+8|0];m=k-48|0;g=(m&255)>>>0<10;F:{G:{if(!(g|(k-97&255)>>>0<6)){g=0;m=k-65|0;if((m&255)>>>0<6){break G}break y}if(g){break F}m=k-65|0}m=((m&255)>>>0<26?k+32|0:k)-87|0}k=O[n+9|0];q=k-48|0;g=(q&255)>>>0<10;H:{I:{if(!(g|(k-97&255)>>>0<6)){g=0;q=k-65|0;if((q&255)>>>0<6){break I}break y}if(g){break H}q=k-65|0}q=((q&255)>>>0<26?k+32|0:k)-87|0}k=O[n+10|0];r=k-48|0;g=(r&255)>>>0<10;J:{K:{if(!(g|(k-97&255)>>>0<6)){g=0;r=k-65|0;if((r&255)>>>0<6){break K}break y}if(g){break J}r=k-65|0}r=((r&255)>>>0<26?k+32|0:k)-87|0}k=O[n+11|0];s=k-48|0;g=(s&255)>>>0<10;L:{M:{if(!(g|(k-97&255)>>>0<6)){g=0;s=k-65|0;if((s&255)>>>0<6){break M}break y}if(g){break L}s=k-65|0}s=((s&255)>>>0<26?k+32|0:k)-87|0}k=O[n+12|0];t=k-48|0;g=(t&255)>>>0<10;N:{O:{if(!(g|(k-97&255)>>>0<6)){g=0;t=k-65|0;if((t&255)>>>0<6){break O}break y}if(g){break N}t=k-65|0}t=((t&255)>>>0<26?k+32|0:k)-87|0}n=O[n+13|0];u=n-48|0;g=(u&255)>>>0<10;P:{Q:{if(!(g|(n-97&255)>>>0<6)){g=0;k=n-65|0;if((k&255)>>>0<6){break Q}break y}if(g){break P}k=n-65|0}u=((k&255)>>>0<26?n+32|0:n)-87|0}g=(o<<4)+j|0;k=(m<<4)+q|0;j=(r<<4)+s|0;o=(t<<4)+u|0;break z}C((p+8|0)+o|0,32,4-o|0);j=O[p+10|0];k=O[p+9|0];g=O[p+8|0];o=O[p+11|0]}g=o&255|(g<<24|(k&255)<<16|(j&255)<<8);N[f>>2]=(g&-538976289)==1145457748?g^538976288:g;g=1;N[e>>2]=1}m=i^1;if(!f|!e|(!N[e>>2]|g)){break a}R:{o=l-b|0;if((o|0)<7){break R}i=lc(b,45);if(!i|i>>>0>=l>>>0){break R}k=l-i|0;if((k|0)<5){break R}S:{if(k>>>0<8){break S}j=i;T:{while(1){g=ub(j,18424);if(!g|g>>>0>=l>>>0){break T}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1095782472;h=1;break b}j=i;U:{while(1){g=ub(j,12699);if(!g|g>>>0>=l>>>0){break U}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1346851360;h=1;break b}j=i;V:{while(1){g=ub(j,18443);if(!g|g>>>0>=l>>>0){break V}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1213809952;h=1;break b}j=i;while(1){g=ub(j,17740);if(!g|g>>>0>=l>>>0){break S}j=g+8|0;g=O[g+8|0];if((g-48&255)>>>0<10|((g&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1347571488;h=1;break b}g=i;if(k>>>0>=7){W:{while(1){j=ub(g,18416);if(!j|j>>>0>=l>>>0){break W}g=j+7|0;j=O[j+7|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1230000200;h=1;break b}g=i}X:{while(1){j=ub(g,13563);if(!j|j>>>0>=l>>>0){break X}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1262961952;h=1;break b}g=i;Y:{while(1){j=ub(g,15487);if(!j|j>>>0>=l>>>0){break Y}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1398362693;h=1;break b}g=i;Z:{while(1){j=ub(g,13860);if(!j|j>>>0>=l>>>0){break Z}g=j+5|0;j=O[j+5|0];if((j-48&255)>>>0<10|((j&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1398362698;h=1;break b}if(!Ab(i,l,12549,5)){break R}N[f>>2]=1398362702;h=1;break b}_:{$:{aa:{ba:{switch(L[b|0]-97|0){case 0:if(cb(h,13122)){break aa}N[f>>2]=1245859616;h=1;break b;case 2:ca:{g=l-h|0;da:{if(g>>>0>=10){ea:{if(bb(h,13650,10)){break ea}g=O[b+11|0];if(g?(g|0)!=45:0){break ea}N[f>>2]=1514686496;h=1;break b}fa:{if(bb(h,12420,10)){break fa}g=O[b+11|0];if(g?(g|0)!=45:0){break fa}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}ga:{if(bb(h,13584,10)){break ga}g=O[b+11|0];if(g?(g|0)!=45:0){break ga}N[f>>2]=1514686496;h=1;break b}ha:{if(bb(h,12354,10)){break ha}g=O[b+11|0];if(g?(g|0)!=45:0){break ha}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ia:{if(bb(h,13672,10)){break ia}g=O[b+11|0];if(g?(g|0)!=45:0){break ia}N[f>>2]=1514686496;h=1;break b}ja:{if(bb(h,12442,10)){break ja}g=O[b+11|0];if(g?(g|0)!=45:0){break ja}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ka:{if(bb(h,13628,10)){break ka}g=O[b+11|0];if(g?(g|0)!=45:0){break ka}N[f>>2]=1514686496;h=1;break b}la:{if(bb(h,12398,10)){break la}g=O[b+11|0];if(g?(g|0)!=45:0){break la}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}ma:{if(bb(h,13595,10)){break ma}g=O[b+11|0];if(g?(g|0)!=45:0){break ma}N[f>>2]=1514686496;h=1;break b}na:{if(bb(h,12365,10)){break na}g=O[b+11|0];if(g?(g|0)!=45:0){break na}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}oa:{if(bb(h,13617,10)){break oa}g=O[b+11|0];if(g?(g|0)!=45:0){break oa}N[f>>2]=1514686496;h=1;break b}pa:{if(bb(h,12387,10)){break pa}g=O[b+11|0];if(g?(g|0)!=45:0){break pa}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}qa:{if(bb(h,13705,10)){break qa}g=O[b+11|0];if(g?(g|0)!=45:0){break qa}N[f>>2]=1514686496;h=1;break b}ra:{if(bb(h,12475,10)){break ra}g=O[b+11|0];if(g?(g|0)!=45:0){break ra}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}sa:{if(bb(h,13639,10)){break sa}g=O[b+11|0];if(g?(g|0)!=45:0){break sa}N[f>>2]=1514686496;h=1;break b}if(bb(h,12409,10)){break da}g=O[b+11|0];if(g?(g|0)!=45:0){break da}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break ca}}ta:{if(bb(h,10737,7)){break ta}g=O[b+8|0];if(g?(g|0)!=45:0){break ta}N[f>>2]=1514689312;h=1;break b}ua:{if(bb(h,9378,7)){break ua}g=O[b+8|0];if(g?(g|0)!=45:0){break ua}N[f>>2]=1514689568;h=1;break b}va:{if(bb(h,10689,7)){break va}g=O[b+8|0];if(g?(g|0)!=45:0){break va}N[f>>2]=1514689312;h=1;break b}wa:{if(bb(h,9330,7)){break wa}g=O[b+8|0];if(g?(g|0)!=45:0){break wa}N[f>>2]=1514689568;h=1;break b}xa:{if(bb(h,10753,7)){break xa}g=O[b+8|0];if(g?(g|0)!=45:0){break xa}N[f>>2]=1514689312;h=1;break b}ya:{if(bb(h,9394,7)){break ya}g=O[b+8|0];if(g?(g|0)!=45:0){break ya}N[f>>2]=1514689568;h=1;break b}za:{if(bb(h,10721,7)){break za}g=O[b+8|0];if(g?(g|0)!=45:0){break za}N[f>>2]=1514689312;h=1;break b}Aa:{if(bb(h,9362,7)){break Aa}g=O[b+8|0];if(g?(g|0)!=45:0){break Aa}N[f>>2]=1514689568;h=1;break b}Ba:{if(bb(h,10697,7)){break Ba}g=O[b+8|0];if(g?(g|0)!=45:0){break Ba}N[f>>2]=1514689312;h=1;break b}Ca:{if(bb(h,9338,7)){break Ca}g=O[b+8|0];if(g?(g|0)!=45:0){break Ca}N[f>>2]=1514689568;h=1;break b}Da:{if(bb(h,10713,7)){break Da}g=O[b+8|0];if(g?(g|0)!=45:0){break Da}N[f>>2]=1514689312;h=1;break b}Ea:{if(bb(h,9354,7)){break Ea}g=O[b+8|0];if(g?(g|0)!=45:0){break Ea}N[f>>2]=1514689568;h=1;break b}Fa:{if(bb(h,10777,7)){break Fa}g=O[b+8|0];if(g?(g|0)!=45:0){break Fa}N[f>>2]=1514689312;h=1;break b}Ga:{if(bb(h,9418,7)){break Ga}g=O[b+8|0];if(g?(g|0)!=45:0){break Ga}N[f>>2]=1514689568;h=1;break b}Ha:{if(bb(h,10729,7)){break Ha}g=O[b+8|0];if(g?(g|0)!=45:0){break Ha}N[f>>2]=1514689312;h=1;break b}if(bb(h,9370,7)){break ca}g=O[b+8|0];if(g?(g|0)!=45:0){break ca}N[f>>2]=1514689568;h=1;break b}Ia:{if(bb(h,22513,3)){break Ia}Ja:{if(o>>>0<3){break Ja}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break Ja}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ia}N[f>>2]=1514689568;h=1;break b}Ka:{if(bb(h,22485,3)){break Ka}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ka}N[f>>2]=1514689568;h=1;break b}La:{if(bb(h,22521,3)){break La}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break La}N[f>>2]=1514689568;h=1;break b}Ma:{if(bb(h,22505,3)){break Ma}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Ma}N[f>>2]=1514689568;h=1;break b}Na:{if(bb(h,22489,3)){break Na}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Na}N[f>>2]=1514689568;h=1;break b}Oa:{if(bb(h,22501,3)){break Oa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Oa}N[f>>2]=1514689568;h=1;break b}Pa:{if(bb(h,22533,3)){break Pa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break Pa}N[f>>2]=1514689568;h=1;break b}if(bb(h,22509,3)){break aa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){h=1;break b}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 6:Qa:{Ra:{Sa:{g=l-h|0;Ta:{if(g>>>0>=10){Ua:{if(bb(h,13683,10)){break Ua}g=O[b+11|0];if(g?(g|0)!=45:0){break Ua}N[f>>2]=1514686496;h=1;break b}if(bb(h,12453,10)){break Ta}g=O[b+11|0];if(g?(g|0)!=45:0){break Ta}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break Sa}}Va:{if(bb(h,10761,7)){break Va}g=O[b+8|0];if(g?(g|0)!=45:0){break Va}N[f>>2]=1514689312;h=1;break b}if(bb(h,9402,7)){break Ra}g=O[b+8|0];if(g?(g|0)!=45:0){break Ra}N[f>>2]=1514689568;h=1;break b}if((g|0)!=6){break Qa}}if(bb(h,14515,6)){break Qa}g=O[b+7|0];if(g?(g|0)!=45:0){break Qa}N[f>>2]=1230132256;h=1;break b}if(bb(h,22525,3)){break aa}Wa:{if(o>>>0<3){break Wa}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break Wa}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 7:Xa:{g=l-h|0;Ya:{if(g>>>0>=10){Za:{if(bb(h,13694,10)){break Za}g=O[b+11|0];if(g?(g|0)!=45:0){break Za}N[f>>2]=1514686496;h=1;break b}_a:{if(bb(h,12464,10)){break _a}g=O[b+11|0];if(g?(g|0)!=45:0){break _a}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}$a:{if(bb(h,13661,10)){break $a}g=O[b+11|0];if(g?(g|0)!=45:0){break $a}N[f>>2]=1514686496;h=1;break b}if(bb(h,12431,10)){break Ya}g=O[b+11|0];if(g?(g|0)!=45:0){break Ya}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break Xa}}ab:{if(bb(h,10769,7)){break ab}g=O[b+8|0];if(g?(g|0)!=45:0){break ab}N[f>>2]=1514689312;h=1;break b}bb:{if(bb(h,9410,7)){break bb}g=O[b+8|0];if(g?(g|0)!=45:0){break bb}N[f>>2]=1514689568;h=1;break b}cb:{if(bb(h,10745,7)){break cb}g=O[b+8|0];if(g?(g|0)!=45:0){break cb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9386,7)){break Xa}g=O[b+8|0];if(g?(g|0)!=45:0){break Xa}N[f>>2]=1514689568;h=1;break b}db:{if(bb(h,22529,3)){break db}eb:{if(o>>>0<3){break eb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break eb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break db}N[f>>2]=1514689568;h=1;break b}if(bb(h,22517,3)){break aa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 8:if(!cb(h,12493)){N[f>>2]=1312904736;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1096042528;break b}if(!cb(h,13825)){N[f>>2]=1514689312;h=1;break b}if(cb(h,7983)){break aa}N[f>>2]=1280596512;h=1;break b;case 11:if(l-h>>>0<7){break aa}if(bb(h,10777,7)){break aa}g=O[b+8|0];if(g?(g|0)!=45:0){break aa}N[f>>2]=1514689312;h=1;break b;case 12:fb:{g=l-h|0;gb:{if(g>>>0>=10){hb:{if(bb(h,13628,10)){break hb}g=O[b+11|0];if(g?(g|0)!=45:0){break hb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12398,10)){break gb}g=O[b+11|0];if(g?(g|0)!=45:0){break gb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break fb}}ib:{if(bb(h,10721,7)){break ib}g=O[b+8|0];if(g?(g|0)!=45:0){break ib}N[f>>2]=1514689312;h=1;break b}if(bb(h,9362,7)){break fb}g=O[b+8|0];if(g?(g|0)!=45:0){break fb}N[f>>2]=1514689568;h=1;break b}jb:{if(bb(h,22505,3)){break jb}kb:{if(o>>>0<3){break kb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break kb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break jb}N[f>>2]=1514689568;h=1;break b}if(bb(h,22493,3)){break aa}if(!Ab(b,l,14039,3)){break aa}N[f>>2]=1297043028;h=1;break b;case 13:lb:{g=l-h|0;mb:{if(g>>>0>=10){nb:{if(bb(h,13683,10)){break nb}g=O[b+11|0];if(g?(g|0)!=45:0){break nb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12453,10)){break mb}g=O[b+11|0];if(g?(g|0)!=45:0){break mb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break lb}}ob:{if(bb(h,10761,7)){break ob}g=O[b+8|0];if(g?(g|0)!=45:0){break ob}N[f>>2]=1514689312;h=1;break b}if(bb(h,9402,7)){break lb}g=O[b+8|0];if(g?(g|0)!=45:0){break lb}N[f>>2]=1514689568;h=1;break b}pb:{if(bb(h,22525,3)){break pb}qb:{if(o>>>0<3){break qb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break qb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break pb}N[f>>2]=1514689568;h=1;break b}if(!cb(h,13569)){N[f>>2]=1313821216;h=1;break b}if(cb(h,12537)){break aa}N[f>>2]=1314475552;h=1;break b;case 17:if(bb(h,22514,2)|o>>>0<3){break aa}g=b;while(1){i=ub(g,16705);if(!i|i>>>0>=l>>>0){break aa}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break};N[f>>2]=1297042464;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1380928800;break b;case 22:rb:{g=l-h|0;sb:{if(g>>>0>=10){tb:{if(bb(h,13606,10)){break tb}g=O[b+11|0];if(g?(g|0)!=45:0){break tb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12376,10)){break sb}g=O[b+11|0];if(g?(g|0)!=45:0){break sb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(g>>>0<7){break rb}}ub:{if(bb(h,10705,7)){break ub}g=O[b+8|0];if(g?(g|0)!=45:0){break ub}N[f>>2]=1514689312;h=1;break b}if(bb(h,9346,7)){break rb}g=O[b+8|0];if(g?(g|0)!=45:0){break rb}N[f>>2]=1514689568;h=1;break b}if(bb(h,22497,3)){break aa}vb:{if(o>>>0<3){break vb}g=b;while(1){i=ub(g,13712);if(!i|i>>>0>=l>>>0){break vb}g=i+3|0;i=O[i+3|0];if((i-48&255)>>>0<10|((i&-33)-65&255)>>>0<26){continue}break}N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b;case 24:if(l-h>>>0<7){break aa}if(bb(h,10785,7)){break aa}g=O[b+8|0];if(g?(g|0)!=45:0){break aa}N[f>>2]=1514689312;h=1;break b;case 25:break ba;default:break aa}}wb:{g=l-h|0;if(g>>>0<9){break wb}xb:{if(bb(h,13706,9)){break xb}i=O[b+10|0];if(i?(i|0)!=45:0){break xb}N[f>>2]=1514686496;h=1;break b}if(bb(h,12476,9)){break wb}i=O[b+10|0];if(i?(i|0)!=45:0){break wb}N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!cb(h,13112)){N[f>>2]=1514689312;h=1;break b}yb:{if(g>>>0<6){break yb}zb:{if(bb(h,10778,6)){break zb}g=O[b+7|0];if(g?(g|0)!=45:0){break zb}N[f>>2]=1514689312;h=1;break b}if(bb(h,9419,6)){break yb}g=O[b+7|0];if(g?(g|0)!=45:0){break yb}N[f>>2]=1514689568;h=1;break b}if(!cb(h,12843)){N[f>>2]=1514689312;h=1;break b}if(bb(h,22534,2)){break aa}if(Ab(b,l,13712,3)){N[f>>2]=1514686496;h=1;break b}if(Ab(b,l,12482,3)){N[f>>2]=1514689613;h=2;if(Q[e>>2]<2){break $}N[f+4>>2]=1514686496;break b}if(!Ab(b,l,8255,3)){break aa}N[f>>2]=1514689568;h=1;break b}i=lc(b,45);Ab:{if(!i|(o|0)<6){break Ab}g=i+1|0;j=lc(g,45);Bb:{if(j){j=j+(i^-1)|0;break Bb}j=nb(g)}if((j|0)!=3){break Ab}b=((O[g|0]&223)-65&255)>>>0<26?g:b}o=203;g=179952;Cb:{Db:{Eb:{j=lc(b,45);h=j?j:l;l=h-b|0;switch(l-2|0){case 0:break Db;case 1:break Eb;default:break Cb}}o=1209;g=181584}j=0;Fb:{if((b|0)==(h|0)){break Fb}h=O[b|0];j=0;if(!h){break Fb}L[p+12|0]=h;j=O[b+1|0];Gb:{if(!j){h=1;break Gb}L[p+13|0]=j;h=2;if(((l>>>0>=4?4:l)|0)==2){break Gb}j=O[b+2|0];if(!j){break Gb}L[p+14|0]=j;h=3}C((p+12|0)+h|0,32,4-h|0);j=O[p+12|0]|O[p+13|0]<<8|(O[p+14|0]<<16|O[p+15|0]<<24);j=j<<24|(j&65280)<<8|(j>>>8&65280|j>>>24)}h=N[147448];l=j;if(o>>>0>h>>>0&(j|0)==N[(h<<3)+g>>2]){break _}k=o-1|0;j=0;while(1){h=j+k>>>1|0;n=N[(h<<3)+g>>2];Hb:{if(n>>>0>l>>>0){k=h-1|0;break Hb}if(l>>>0<=n>>>0){break _}j=h+1|0}if((j|0)<=(k|0)){continue}break}}h=0;if(!i){i=nb(b)+b|0}if((i-b|0)!=3){break b}g=0;i=La-16|0;Ib:{if(!b){break Ib}j=O[b|0];if(!j){break Ib}L[i+12|0]=j;j=O[b+1|0];g=1;Jb:{if(!j){break Jb}L[i+13|0]=j;b=O[b+2|0];g=2;if(!b){break Jb}L[i+14|0]=b;g=3}C(g+(i+12|0)|0,32,4-g|0);g=O[i+15|0]|(O[i+13|0]<<16|O[i+12|0]<<24|O[i+14|0]<<8)}N[f>>2]=g&-538976257}h=1;break b}N[147448]=h;while(1){Kb:{i=h;if(!h){i=0;break Kb}h=i-1|0;if(N[(i<<3)+g>>2]==N[(h<<3)+g>>2]){continue}}break}if(!N[e>>2]){h=0;break b}b=(i<<3)+g|0;h=0;while(1){j=h+i|0;if(j>>>0>=o>>>0){break b}j=(j<<3)+g|0;l=N[j+4>>2];if(!l|N[j>>2]!=N[b>>2]){break b}N[(h<<2)+f>>2]=l;h=h+1|0;if(h>>>0>2]){continue}break}}N[e>>2]=h}if(!(!d|!c|(!m|!N[c>>2]))){i=0;Lb:{Mb:{Nb:{Ob:{Pb:{Qb:{Rb:{Sb:{Tb:{if((a|0)<=1298954604){if((a|0)<=1198877297){h=1651402546;if((a|0)==1113943655){break Ob}if((a|0)!=1147500129){break Mb}h=1684370994;break Ob}if((a|0)==1198877298){break Tb}if((a|0)==1198879349){break Sb}if((a|0)!=1265525857){break Mb}h=1802396722;break Ob}if((a|0)<=1332902240){if((a|0)==1298954605){break Rb}h=1836674354;if((a|0)==1299803506){break Nb}break Mb}if((a|0)==1332902241){break Qb}if((a|0)==1415671148){break Pb}if((a|0)!=1415933045){break Mb}h=1952803890;break Ob}h=1735029298;break Ob}h=1735750194;break Ob}h=1835822386;break Ob}h=1869773106;break Ob}h=1953328178}N[d>>2]=h|51;i=1;if(Q[c>>2]<2){break Lb}}N[(i<<2)+d>>2]=h;i=i+1|0;if(i>>>0>=Q[c>>2]){break Lb}}b=(i<<2)+d|0;Ub:{Vb:{Wb:{Xb:{Yb:{if((a|0)<=1315663726){if(!a){break Lb}if((a|0)==1214870113){break Xb}if((a|0)!=1281453935){break Yb}d=1818324768;break Ub}if((a|0)<=1500080488){if((a|0)==1315663727){break Vb}if((a|0)!=1449224553){break Yb}d=1986095392;break Ub}if((a|0)==1500080489){break Wb}d=1835103336;if((a|0)==1517122664){break Ub}}d=a|536870912;break Ub}d=1801547361;break Ub}d=2036932640;break Ub}d=1852534560}N[b>>2]=d;i=i+1|0}N[c>>2]=i}La=p+16|0}function nl(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;i=La-288|0;La=i;a:{b:{c:{d:{switch((O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24))>>>24|0){case 0:g=N[b+16>>2];b=N[b+12>>2];n=N[b+32>>2];if((n|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;n=(b<<8|b>>>8)&65535;N[c+32>>2]=n}N[g+64>>2]=0;if(!O[g+60|0]){break c}l=a+12|0;w=i+40|0;while(1){c=N[g+64>>2];b=0;e:{if(c>>>0>=Q[g+68>>2]){break e}d=N[N[g+80>>2]+T(c,20)>>2];b=2;if((d|0)==65535){break e}c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);c=cc(l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,d,n);b=1;if(!c){break e}b=O[c|0]|O[c+1|0]<<8;b=(b<<8|b>>>8)&65535}d=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);c=d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24);m=c>>>0>b>>>0;p=T(c,j);c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);o=l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((m?b:1)+p<<1)+o|0;c=O[c|0]|O[c+1|0]<<8;h=((c<<8|c>>>8)&65535)<<2;c=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);t=l+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;h=h+t|0;k=O[h|0]|O[h+1|0]<<8;c=O[h+2|0]|O[h+3|0]<<8;f:{g:{if(e>>>0>>0?c&3840:0){break g}if(!(!j|!(c&64?k:1))){b=o+((m?b:1)<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=t+(((b<<8|b>>>8)&65535)<<2)|0;j=O[b+2|0]|O[b+3|0]<<8;if((e>>>0>>0?j&3840:0)|(k|0)!=(O[b|0]|O[b+1|0]<<8)|(c^j)&64){break g}}b=o+(p+!d<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!(O[(t+(((b<<8|b>>>8)&65535)<<2)|0)+3|0]&15)|e>>>0>=f>>>0){break f}}b=N[g+64>>2];d=O[g+62|0]?N[g+72>>2]:b;if(!d|b>>>0>=Q[g+68>>2]){break f}wb(g,3,d-1|0,b+1|0,1,1);c=O[h+2|0]|O[h+3|0]<<8}c=c<<8|(c&65280)>>>8;b=c&65535;e=c<<16>>16<0?N[g+64>>2]:e;if(b&8192){c=N[g+64>>2]+1|0;f=N[g+68>>2];f=c>>>0>>0?c:f}c=b&15;h:{if(!c|e>>>0>=f>>>0){break h}b=f-e|0;if(b>>>0>64){break h}d=O[c+238112|0];t=d>>>4|0;c=t>>>0>=2?2:t;p=d&15;d=p>>>0>=2?2:p;q=c+d|0;if(q>>>0>b>>>0){break h}j=N[g+64>>2]+1|0;m=N[g+68>>2];j=j>>>0>>0?j:m;if(j-e>>>0>=2){Ib(g,e,j)}if(b>>>0>=2){Ib(g,e,f)}j=T(c,20);m=N[g+80>>2];b=m+T(e,20)|0;if(c){F(i,b,j)}o=T(d,20);if(d){F(w,(m+T(f,20)|0)+T(d,-20)|0,o)}if((c|0)!=(d|0)){F(b+o|0,b+j|0,T(f-(e+q|0)|0,20))}if(d){F(b,w,o)}if(c){F((m+T(f,20)|0)+T(c,-20)|0,i,j)}if((t|0)==3){d=m+T(f,20)|0;c=d-20|0;N[i+16>>2]=N[c+16>>2];j=N[c+4>>2];N[i>>2]=N[c>>2];N[i+4>>2]=j;j=N[c+12>>2];N[i+8>>2]=N[c+8>>2];N[i+12>>2]=j;d=d-40|0;N[c+16>>2]=N[d+16>>2];j=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=j;j=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=j;N[d+16>>2]=N[i+16>>2];c=N[i+12>>2];N[d+8>>2]=N[i+8>>2];N[d+12>>2]=c;c=N[i+4>>2];N[d>>2]=N[i>>2];N[d+4>>2]=c}if((p|0)!=3){break h}N[i+16>>2]=N[b+16>>2];c=N[b+4>>2];N[i>>2]=N[b>>2];N[i+4>>2]=c;c=N[b+12>>2];N[i+8>>2]=N[b+8>>2];N[i+12>>2]=c;N[b+16>>2]=N[b+36>>2];c=N[b+32>>2];N[b+8>>2]=N[b+28>>2];N[b+12>>2]=c;c=N[b+24>>2];N[b>>2]=N[b+20>>2];N[b+4>>2]=c;N[b+36>>2]=N[i+16>>2];c=N[i+12>>2];N[b+28>>2]=N[i+8>>2];N[b+32>>2]=c;c=N[i+4>>2];N[b+20>>2]=N[i>>2];N[b+24>>2]=c}b=N[g+64>>2];if(!O[g+60|0]|(b|0)==N[g+68>>2]){break c}i:{if(O[h+2|0]&64){c=N[g+152>>2];N[g+152>>2]=c-1;if((c|0)>0){break i}}if(O[g+62|0]){j=N[g+72>>2];c=N[g+84>>2];h=N[g+80>>2];j:{if((c|0)==(h|0)){d=b;if((d|0)==(j|0)){break j}}b=j+1|0;if(!(!b|b>>>0>2])){if(!gb(g,b)){break i}h=N[g+80>>2];c=N[g+84>>2]}k:{if((c|0)!=(h|0)){break k}b=N[g+72>>2];if(b+1>>>0<=N[g+64>>2]+1>>>0){c=h;break k}if(!O[g+62|0]){break b}c=N[g+88>>2];N[g+84>>2]=c;b=T(b,20);if(!b){break k}F(c,h,b);c=N[g+84>>2];h=N[g+80>>2]}b=T(N[g+72>>2],20)+c|0;c=T(N[g+64>>2],20)+h|0;d=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=d;N[b+16>>2]=N[c+16>>2];d=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=d;b=N[g+64>>2];d=N[g+72>>2]}N[g+72>>2]=d+1}N[g+64>>2]=b+1}j=(k<<8|k>>>8)&65535;if(O[g+60|0]){continue}break};break c;case 1:c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);o=N[b+68>>2];e=O[o|0]|O[o+1|0]<<8;f=O[o+4|0]|O[o+5|0]<<8;d=N[b+16>>2];b=N[b+12>>2];n=N[b+32>>2];if((n|0)==-1){h=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;n=(b<<8|b>>>8)&65535;N[h+32>>2]=n}N[d+64>>2]=0;if(!O[d+60|0]){break c}m=a+12|0;w=m+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;y=!f|(e|0)!=256;while(1){c=N[d+64>>2];b=0;l:{if(c>>>0>=Q[d+68>>2]){break l}e=N[N[d+80>>2]+T(c,20)>>2];b=2;if((e|0)==65535){break l}c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);c=cc(m+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,e,n);b=1;if(!c){break l}b=O[c|0]|O[c+1|0]<<8;b=(b<<8|b>>>8)&65535}c=b;f=c;h=O[m|0]|O[m+1|0]<<8|(O[m+2|0]<<16|O[m+3|0]<<24);b=h<<24|(h&65280)<<8|(h>>>8&65280|h>>>24);r=c>>>0>>0;if(!r){f=1}s=T(b,j);b=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);k=m+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;b=(f+s<<1)+k|0;b=O[b|0]|O[b+1|0]<<8;f=((b<<8|b>>>8)&65535)<<3;b=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);p=m+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;f=f+p|0;t=O[f|0]|O[f+1|0]<<8;u=l&255;b=N[d+68>>2];e=N[d+64>>2];q=!u&(b|0)==(e|0);m:{n:{if(!q&((O[f+4|0]|O[f+5|0]<<8)!=65535|(O[f+6|0]|O[f+7|0]<<8)!=65535)){break n}o:{if(!j){break o}j=O[f+2|0]|O[f+3|0]<<8;if(!(j&64?t:1)){break o}c=k+((r?c:1)<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=p+(((c<<8|c>>>8)&65535)<<3)|0;if(!q&((O[c+4|0]|O[c+5|0]<<8)!=65535|(O[c+6|0]|O[c+7|0]<<8)!=65535)|((j^(O[c+2|0]|O[c+3|0]<<8))&64|(t|0)!=(O[c|0]|O[c+1|0]<<8))){break n}}c=!h;if(q){b=e;break m}c=k+(c+s<<1)|0;c=O[c|0]|O[c+1|0]<<8;c=p+(((c<<8|c>>>8)&65535)<<3)|0;if((O[c+4|0]|O[c+5|0]<<8)!=65535){break n}if((O[c+6|0]|O[c+7|0]<<8)==65535){break m}}if(b>>>0<=e>>>0){break m}c=O[d+62|0]?N[d+72>>2]:e;if(!c){break m}wb(d,3,c-1|0,e+1|0,1,1);b=N[d+68>>2];e=N[d+64>>2]}if(u|(b|0)!=(e|0)){b=O[f+4|0]|O[f+5|0]<<8;p:{if((b|0)==65535){break p}b=w+(((b<<8|b>>>8)&65535)<<2)|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);r=T(g,20);s=cc(w+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0,N[r+N[d+80>>2]>>2],n);if(!s){break p}b=N[d+64>>2]+1|0;c=N[d+68>>2];p=b>>>0>>0?b:c;q=p-g|0;q:{if(q>>>0<=1){e=N[d+80>>2];break q}j=N[d+144>>2]|32;N[d+144>>2]=j;e=N[d+80>>2];if(g>>>0>=p>>>0){break q}b=-1;c=g;u=p+(c^-1)|0;if(u>>>0>=3){v=q&-4;k=0;while(1){h=T(c,20)+e|0;x=N[h+8>>2];b=b>>>0>>0?b:x;x=N[h+28>>2];b=b>>>0>>0?b:x;x=N[h+48>>2];b=b>>>0>>0?b:x;h=N[h+68>>2];b=b>>>0>>0?b:h;c=c+4|0;k=k+4|0;if((v|0)!=(k|0)){continue}break}}h=0;k=q&3;if(k){while(1){v=N[(T(c,20)+e|0)+8>>2];b=b>>>0>>0?b:v;c=c+1|0;h=h+1|0;if((k|0)!=(h|0)){continue}break}}c=g;if(q&1){c=e+r|0;if(N[c+8>>2]!=(b|0)){N[c+4>>2]=N[c+4>>2]|3}c=g+1|0}if(!u){break q}while(1){h=T(c,20)+e|0;if(N[h+8>>2]!=(b|0)){j=j|32;N[d+144>>2]=j;N[h+4>>2]=N[h+4>>2]|3}h=T(c+1|0,20)+e|0;if(N[h+8>>2]!=(b|0)){j=j|32;N[d+144>>2]=j;N[h+4>>2]=N[h+4>>2]|3}c=c+2|0;if((p|0)!=(c|0)){continue}break}}b=e+r|0;c=O[s|0]|O[s+1|0]<<8;c=(c<<8|c>>>8)&65535;N[b>>2]=c;if(y){break p}z=b,A=Uc(o,c),M[z+12>>1]=A}b=O[f+6|0]|O[f+7|0]<<8;r:{if((b|0)==65535){break r}b=w+(((b<<8|b>>>8)&65535)<<2)|0;b=O[b|0]|O[b+1|0]<<8|(O[b+2|0]<<16|O[b+3|0]<<24);e=w+(b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24))|0;b=N[d+64>>2];c=N[d+68>>2]-1|0;c=T(b>>>0>>0?b:c,20);b=cc(e,N[c+N[d+80>>2]>>2],n);if(!b){break r}c=c+N[d+80>>2]|0;b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;N[c>>2]=b;if(y){break r}z=c,A=Uc(o,b),M[z+12>>1]=A}b=N[d+64>>2];c=O[f+2|0]&128;g=c?b:g;l=c?1:l}else{l=0}if(!O[d+60|0]|N[d+68>>2]==(b|0)){break c}s:{if(O[f+2|0]&64){c=N[d+152>>2];N[d+152>>2]=c-1;if((c|0)>0){break s}}if(O[d+62|0]){h=N[d+72>>2];c=N[d+84>>2];f=N[d+80>>2];t:{if((c|0)==(f|0)){e=b;if((b|0)==(h|0)){break t}}b=h+1|0;if(!(!b|b>>>0>2])){if(!gb(d,b)){break s}f=N[d+80>>2];c=N[d+84>>2]}u:{if((c|0)!=(f|0)){break u}b=N[d+72>>2];if(b+1>>>0<=N[d+64>>2]+1>>>0){c=f;break u}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break u}F(c,f,b);c=N[d+84>>2];f=N[d+80>>2]}b=T(N[d+72>>2],20)+c|0;c=T(N[d+64>>2],20)+f|0;e=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=e;N[b+16>>2]=N[c+16>>2];e=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=e;b=N[d+64>>2];e=N[d+72>>2]}N[d+72>>2]=e+1}N[d+64>>2]=b+1}j=(t<<8|t>>>8)&65535;if(O[d+60|0]){continue}break};break c;case 2:L[i|0]=0;k=a+12|0;N[i+8>>2]=k;N[i+4>>2]=b;c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);N[i+12>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=O[a+32|0]|O[a+33|0]<<8|(O[a+34|0]<<16|O[a+35|0]<<24);N[i+16>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));c=O[a+36|0]|O[a+37|0]<<8|(O[a+38|0]<<16|O[a+39|0]<<24);N[i+24>>2]=0;N[i+20>>2]=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24));d=N[b+16>>2];b=N[b+12>>2];n=N[b+32>>2];if((n|0)==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;n=(b<<8|b>>>8)&65535;N[c+32>>2]=n}N[d+72>>2]=0;M[d+62>>1]=1;N[d+64>>2]=0;N[d+84>>2]=N[d+80>>2];v:{if(!O[d+60|0]){break v}while(1){c=N[d+64>>2];b=0;w:{if(c>>>0>=Q[d+68>>2]){break w}e=N[N[d+80>>2]+T(c,20)>>2];b=2;if((e|0)==65535){break w}c=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);c=cc(k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0,e,n);b=1;if(!c){break w}b=O[c|0]|O[c+1|0]<<8;b=(b<<8|b>>>8)&65535}e=O[k|0]|O[k+1|0]<<8|(O[k+2|0]<<16|O[k+3|0]<<24);c=e<<24|(e&65280)<<8|(e>>>8&65280|e>>>24);l=c>>>0>b>>>0;o=T(c,h);c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);f=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((l?b:1)+o<<1)+f|0;c=O[c|0]|O[c+1|0]<<8;q=T((c<<8|c>>>8)&65535,6);c=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);g=k+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;j=q+g|0;m=O[j|0]|O[j+1|0]<<8;c=O[j+2|0]|O[j+3|0]<<8;x:{y:{if(c&32){break y}if(!(!h|!(c&64?m:1))){b=f+((l?b:1)<<1)|0;b=O[b|0]|O[b+1|0]<<8;b=g+T((b<<8|b>>>8)&65535,6)|0;h=O[b+2|0]|O[b+3|0]<<8;if(h&32|(m|0)!=(O[b|0]|O[b+1|0]<<8)|(c^h)&64){break y}}b=f+(o+!e<<1)|0;b=O[b|0]|O[b+1|0]<<8;if(!(O[(g+T((b<<8|b>>>8)&65535,6)|0)+2|0]&32)){break x}}b=N[d+64>>2];e=O[d+62|0]?N[d+72>>2]:b;if(!e|b>>>0>=Q[d+68>>2]){break x}wb(d,3,e-1|0,b+1|0,1,1);c=O[j+2|0]|O[j+3|0]<<8}if(c&128){b=N[i+24>>2];z:{if(!b){f=N[d+72>>2];b=0;break z}f=N[d+72>>2];b=b-((f|0)==N[(((b-1&63)<<2)+i|0)+28>>2])|0}N[i+24>>2]=b+1;N[(((b&63)<<2)+i|0)+28>>2]=f}A:{if(!(c&32)){break A}h=N[i+24>>2];if(!h|Q[d+64>>2]>=Q[d+68>>2]){break A}w=N[d+72>>2];b=O[j+4|0]|O[j+5|0]<<8;l=N[i+12>>2]+(((b<<8|b>>>8)&65535)<<2)|0;g=0;B:{while(1){if(!h){N[i+24>>2]=0;ec(d,w);break A}h=h-1|0;t=((h&63)<<2)+i|0;if(!ec(d,N[t+28>>2])){break A}b=N[i+4>>2];f=N[b+24>>2];C:{if(l>>>0>>0){break C}c=N[b+28>>2];if(c>>>0>>0|c-l>>>0<4){break C}c=N[b+32>>2]-4|0;N[b+32>>2]=c;if((c|0)<=0){break C}c=O[l|0]|O[l+1|0]<<8|(O[l+2|0]<<16|O[l+3|0]<<24);o=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);c=N[N[d+80>>2]+T(N[d+64>>2],20)>>2]+(c<<26>>31&-1073741824|o&1073741823)|0;if((c|0)<0){c=275552}else{b=N[i+4>>2];f=N[b+24>>2];c=N[i+16>>2]+(c<<1)|0}if(c>>>0>>0){break C}e=N[b+28>>2];if(e>>>0>>0|e-c>>>0<2){break C}e=N[b+32>>2]-2|0;N[b+32>>2]=e;if((e|0)<=0){break C}c=O[c|0]|O[c+1|0]<<8;g=((c<<8|c>>>8)&65535)+g|0;if(o>>>0>=1073741824){if((g|0)<0){c=275552}else{b=N[i+4>>2];f=N[b+24>>2];c=N[i+20>>2]+(g<<1)|0}if(c>>>0>>0){break C}e=N[b+28>>2];if(e>>>0>>0|e-c>>>0<2){break C}f=b+32|0;b=N[b+32>>2]-2|0;N[f>>2]=b;if((b|0)<=0){break C}b=O[c|0]|O[c+1|0]<<8;c=N[d+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break A}}c=N[d+84>>2];D:{if((c|0)!=N[d+80>>2]){break D}e=N[d+72>>2];if(e+1>>>0<=N[d+64>>2]+1>>>0){break D}if(!O[d+62|0]){break b}f=N[d+88>>2];N[d+84>>2]=f;e=T(e,20);if(!e){break D}F(f,c,e)}e=N[d+68>>2];c=N[d+64>>2];if(e>>>0>>0){break a}p=(b<<8|b>>>8)&65535;E:{if(c>>>0>>0){b=N[d+80>>2]+T(c,20)|0;c=N[d+72>>2];f=N[d+84>>2];break E}f=N[d+84>>2];c=N[d+72>>2];b=c-1|0;b=f+T(b>>>0<=c>>>0?b:0,20)|0}e=N[b+4>>2];c=T(c,20)+f|0;N[c>>2]=N[b>>2];N[c+4>>2]=e;N[c+16>>2]=N[b+16>>2];e=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=e;N[c>>2]=p;N[d+64>>2]=N[d+64>>2]+1;N[d+72>>2]=N[d+72>>2]+1;b=N[i+24>>2]-1|0;p=N[(((b&63)<<2)+i|0)+28>>2];if(b>>>0>h>>>0){while(1){f=b;if(!ec(d,N[(((b&63)<<2)+i|0)+28>>2])){break B}b=N[d+72>>2]+1|0;if(!(!b|b>>>0>2])){if(!gb(d,b)){break B}}b=N[d+84>>2];F:{if((b|0)!=N[d+80>>2]){break F}c=N[d+72>>2];if(c+1>>>0<=N[d+64>>2]+1>>>0){break F}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break F}F(e,b,c)}c=N[d+68>>2];b=N[d+64>>2];if(c>>>0>>0){break a}G:{if(b>>>0>>0){c=N[d+72>>2];e=N[d+84>>2];b=N[d+80>>2]+T(b,20)|0;break G}e=N[d+84>>2];c=N[d+72>>2];b=c-1|0;b=e+T(b>>>0<=c>>>0?b:0,20)|0}c=T(c,20)+e|0;e=N[b+4>>2];N[c>>2]=N[b>>2];N[c+4>>2]=e;N[c+16>>2]=N[b+16>>2];e=N[b+12>>2];N[c+8>>2]=N[b+8>>2];N[c+12>>2]=e;N[c>>2]=65535;N[d+64>>2]=N[d+64>>2]+1;N[d+72>>2]=N[d+72>>2]+1;b=f-1|0;if(h>>>0>>0){continue}break}N[i+24>>2]=f}if(!ec(d,p+1|0)){break A}wd(d,N[t+28>>2],N[d+72>>2])}l=l+4|0;if((o|0)>=0){continue}}break}ec(d,w);break A}N[i+24>>2]=f}b=N[d+64>>2];if(!O[d+60|0]|(b|0)==N[d+68>>2]){break v}H:{if(O[j+2|0]&64){c=N[d+152>>2];N[d+152>>2]=c-1;if((c|0)>0){break H}}if(O[d+62|0]){g=N[d+72>>2];c=N[d+84>>2];f=N[d+80>>2];I:{if((c|0)==(f|0)){e=b;if((b|0)==(g|0)){break I}}b=g+1|0;if(!(!b|b>>>0>2])){if(!gb(d,b)){break H}f=N[d+80>>2];c=N[d+84>>2]}J:{if((c|0)!=(f|0)){break J}b=N[d+72>>2];if(b+1>>>0<=N[d+64>>2]+1>>>0){c=f;break J}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;b=T(b,20);if(!b){break J}F(c,f,b);c=N[d+84>>2];f=N[d+80>>2]}b=T(N[d+72>>2],20)+c|0;c=T(N[d+64>>2],20)+f|0;e=N[c+4>>2];N[b>>2]=N[c>>2];N[b+4>>2]=e;N[b+16>>2]=N[c+16>>2];e=N[c+12>>2];N[b+8>>2]=N[c+8>>2];N[b+12>>2]=e;b=N[d+64>>2];e=N[d+72>>2]}N[d+72>>2]=e+1}N[d+64>>2]=b+1}h=(m<<8|m>>>8)&65535;if(O[d+60|0]){continue}break}}Ac(d);break c;case 4:f=N[b+68>>2];d=O[f+4|0]|O[f+5|0]<<8;h=O[f|0]|O[f+1|0]<<8;g=N[b+12>>2];c=N[g+32>>2];if((c|0)==-1){c=sb(g+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[g+32>>2]=c}g=N[b+16>>2];b=N[g+68>>2];if(!b){break c}a=a+12|0;g=N[g+80>>2];if((h|0)==256&(d|0)!=0){while(1){d=g+T(e,20)|0;h=cc(a,N[d>>2],c);if(h){h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;N[d>>2]=h;z=d,A=Uc(f,h),M[z+12>>1]=A}e=e+1|0;if((b|0)!=(e|0)){continue}break c}}while(1){d=g+T(e,20)|0;f=cc(a,N[d>>2],c);if(f){f=O[f|0]|O[f+1|0]<<8;N[d>>2]=(f<<8|f>>>8)&65535}e=e+1|0;if((b|0)!=(e|0)){continue}break};break c;case 5:break d;default:break c}}c=O[a+28|0]|O[a+29|0]<<8|(O[a+30|0]<<16|O[a+31|0]<<24);d=N[b+16>>2];f=N[b+12>>2];t=N[f+32>>2];if((t|0)==-1){g=f;f=sb(f+56|0);f=O[f+4|0]|O[f+5|0]<<8;t=(f<<8|f>>>8)&65535;N[g+32>>2]=t}N[d+72>>2]=0;M[d+62>>1]=1;N[d+64>>2]=0;N[d+84>>2]=N[d+80>>2];K:{if(!O[d+60|0]){break K}j=a+12|0;p=j+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;while(1){f=N[d+64>>2];c=0;L:{if(f>>>0>=Q[d+68>>2]){break L}g=N[N[d+80>>2]+T(f,20)>>2];c=2;if((g|0)==65535){break L}f=O[a+16|0]|O[a+17|0]<<8|(O[a+18|0]<<16|O[a+19|0]<<24);f=cc(j+(f<<24|(f&65280)<<8|(f>>>8&65280|f>>>24))|0,g,t);c=1;if(!f){break L}c=O[f|0]|O[f+1|0]<<8;c=(c<<8|c>>>8)&65535}f=c;g=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);c=g<<24|(g&65280)<<8|(g>>>8&65280|g>>>24);k=c>>>0>f>>>0;m=T(c,e);c=O[a+20|0]|O[a+21|0]<<8|(O[a+22|0]<<16|O[a+23|0]<<24);h=j+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;c=((k?f:1)+m<<1)+h|0;c=O[c|0]|O[c+1|0]<<8;q=((c<<8|c>>>8)&65535)<<3;c=O[a+24|0]|O[a+25|0]<<8|(O[a+26|0]<<16|O[a+27|0]<<24);l=j+(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))|0;n=q+l|0;o=O[n|0]|O[n+1|0]<<8;c=O[n+2|0]|O[n+3|0]<<8;M:{N:{if((O[n+4|0]|O[n+5|0]<<8)!=65535|(O[n+6|0]|O[n+7|0]<<8)!=65535?c&65283:0){break N}if(!(!e|!(c&64?o:1))){e=h+((k?f:1)<<1)|0;e=O[e|0]|O[e+1|0]<<8;e=l+(((e<<8|e>>>8)&65535)<<3)|0;f=O[e+2|0]|O[e+3|0]<<8;if(((O[e+4|0]|O[e+5|0]<<8)!=65535|(O[e+6|0]|O[e+7|0]<<8)!=65535?f&65283:0)|((c^f)&64|(o|0)!=(O[e|0]|O[e+1|0]<<8))){break N}}e=h+(m+!g<<1)|0;e=O[e|0]|O[e+1|0]<<8;e=l+(((e<<8|e>>>8)&65535)<<3)|0;if(!((O[e+2|0]|O[e+3|0]<<8)&65283)){break M}if((O[e+4|0]|O[e+5|0]<<8)!=65535){break N}if((O[e+6|0]|O[e+7|0]<<8)==65535){break M}}e=N[d+64>>2];f=O[d+62|0]?N[d+72>>2]:e;if(!f|e>>>0>=Q[d+68>>2]){break M}wb(d,3,f-1|0,e+1|0,1,1);c=O[n+2|0]|O[n+3|0]<<8}q=c<<8|(c&65280)>>>8;m=q&65535;y=N[d+72>>2];c=O[n+6|0]|O[n+7|0]<<8;O:{if((c|0)!=65535){g=m&31;e=N[d+152>>2]-g|0;N[d+152>>2]=e;if((e|0)<=0){break O}k=p+(((c<<8|c>>>8)&65535)<<1)|0;P:{Q:{if(!g|k>>>0>2]){break Q}c=N[b+28>>2];if(c>>>0>>0){break Q}f=c-k|0;c=g<<1;if(f>>>0>>0){break Q}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break P}}g=0}r=N[d+72>>2];if(!ec(d,w)){break O}R:{S:{s=m&1024;if(!s){e=N[d+64>>2];if(e>>>0>2]){break S}}e=N[d+72>>2];break R}c=N[d+80>>2];e=c+T(e,20)|0;N[i+16>>2]=N[e+16>>2];f=N[e+12>>2];N[i+8>>2]=N[e+8>>2];N[i+12>>2]=f;f=N[e+4>>2];N[i>>2]=N[e>>2];N[i+4>>2]=f;e=N[d+72>>2]+1|0;if(!(!e|e>>>0>2])){if(!gb(d,e)){break O}c=N[d+80>>2]}e=N[d+84>>2];T:{if((e|0)!=(c|0)){break T}f=N[d+72>>2];if(Q[d+64>>2]>=f+1>>>0){e=c;break T}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;f=T(f,20);if(!f){break T}F(e,c,f);e=N[d+84>>2]}c=T(N[d+72>>2],20)+e|0;e=N[i+4>>2];N[c>>2]=N[i>>2];N[c+4>>2]=e;N[c+16>>2]=N[i+16>>2];e=N[i+12>>2];N[c+8>>2]=N[i+8>>2];N[c+12>>2]=e;e=N[d+72>>2]+1|0;N[d+72>>2]=e}c=e+g|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break O}}c=N[d+84>>2];U:{if((c|0)!=N[d+80>>2]){break U}e=N[d+72>>2];if(Q[d+64>>2]>=e+g>>>0){break U}if(!O[d+62|0]){break b}f=N[d+88>>2];N[d+84>>2]=f;e=T(e,20);if(!e){break U}F(f,c,e)}f=N[d+68>>2];e=N[d+64>>2];if(f>>>0>>0){break a}V:{if(e>>>0>>0){h=N[d+72>>2];l=N[d+84>>2];c=N[d+80>>2]+T(e,20)|0;break V}l=N[d+84>>2];h=N[d+72>>2];c=h-1|0;c=l+T(c>>>0<=h>>>0?c:0,20)|0}W:{if(!g){N[d+72>>2]=h;break W}e=T(h,20)+l|0;f=0;X:{if((g|0)!=1){h=g&1;l=g&30;while(1){u=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=u;N[e+16>>2]=N[c+16>>2];u=c+8|0;v=N[u+4>>2];N[e+8>>2]=N[u>>2];N[e+12>>2]=v;u=f<<1;v=u+k|0;v=O[v|0]|O[v+1|0]<<8;N[e>>2]=(v<<8|v>>>8)&65535;N[e+36>>2]=N[c+16>>2];v=N[c+12>>2];N[e+28>>2]=N[c+8>>2];N[e+32>>2]=v;v=N[c+4>>2];N[e+20>>2]=N[c>>2];N[e+24>>2]=v;u=k+(u|2)|0;u=O[u|0]|O[u+1|0]<<8;N[e+20>>2]=(u<<8|u>>>8)&65535;e=e+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break X}}h=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=h;N[e+16>>2]=N[c+16>>2];h=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=h;c=k+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[e>>2]=(c<<8|c>>>8)&65535}N[d+72>>2]=N[d+72>>2]+g;f=N[d+68>>2];e=N[d+64>>2]}if(!(e>>>0>=f>>>0|s)){N[d+64>>2]=e+1}if(!ec(d,g+r|0)){break O}c=N[d+64>>2]+1|0;e=N[d+68>>2];wb(d,3,w,c>>>0>>0?c:e,1,1)}w=q<<16>>16<0?y:w;c=O[n+4|0]|O[n+5|0]<<8;if((c|0)==65535){break O}k=m>>>5&31;e=N[d+152>>2]-k|0;N[d+152>>2]=e;if((e|0)<=0){break O}g=p+(((c<<8|c>>>8)&65535)<<1)|0;Y:{Z:{if(!k|g>>>0>2]){break Z}c=N[b+28>>2];if(c>>>0>>0){break Z}f=c-g|0;c=k<<1;if(f>>>0>>0){break Z}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break Y}}k=0}q=N[d+72>>2];e=q;y=m&2048;_:{if(y){break _}c=N[d+64>>2];if(c>>>0>=Q[d+68>>2]){break _}f=N[d+80>>2];c=f+T(c,20)|0;N[i+16>>2]=N[c+16>>2];e=N[c+12>>2];N[i+8>>2]=N[c+8>>2];N[i+12>>2]=e;e=N[c+4>>2];N[i>>2]=N[c>>2];N[i+4>>2]=e;c=q+1|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break O}f=N[d+80>>2]}e=N[d+84>>2];$:{if((e|0)!=(f|0)){break $}c=N[d+72>>2];if(Q[d+64>>2]>=c+1>>>0){e=f;break $}if(!O[d+62|0]){break b}e=N[d+88>>2];N[d+84>>2]=e;c=T(c,20);if(!c){break $}F(e,f,c);e=N[d+84>>2]}c=T(N[d+72>>2],20)+e|0;e=N[i+4>>2];N[c>>2]=N[i>>2];N[c+4>>2]=e;N[c+16>>2]=N[i+16>>2];e=N[i+12>>2];N[c+8>>2]=N[i+8>>2];N[c+12>>2]=e;e=N[d+72>>2]+1|0;N[d+72>>2]=e}c=e+k|0;if(!(!c|c>>>0>2])){if(!gb(d,c)){break O}}c=N[d+84>>2];aa:{if((c|0)!=N[d+80>>2]){break aa}e=N[d+72>>2];if(Q[d+64>>2]>=e+k>>>0){break aa}if(!O[d+62|0]){break b}f=N[d+88>>2];N[d+84>>2]=f;e=T(e,20);if(!e){break aa}F(f,c,e)}f=N[d+68>>2];e=N[d+64>>2];if(f>>>0>>0){break a}ba:{if(e>>>0>>0){h=N[d+72>>2];l=N[d+84>>2];c=N[d+80>>2]+T(e,20)|0;break ba}l=N[d+84>>2];h=N[d+72>>2];c=h-1|0;c=l+T(c>>>0<=h>>>0?c:0,20)|0}ca:{if(!k){N[d+72>>2]=h;break ca}e=T(h,20)+l|0;f=0;da:{if((k|0)!=1){h=k&1;l=k&30;while(1){r=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=r;N[e+16>>2]=N[c+16>>2];r=c+8|0;s=N[r+4>>2];N[e+8>>2]=N[r>>2];N[e+12>>2]=s;r=f<<1;s=r+g|0;s=O[s|0]|O[s+1|0]<<8;N[e>>2]=(s<<8|s>>>8)&65535;N[e+36>>2]=N[c+16>>2];s=N[c+12>>2];N[e+28>>2]=N[c+8>>2];N[e+32>>2]=s;s=N[c+4>>2];N[e+20>>2]=N[c>>2];N[e+24>>2]=s;r=g+(r|2)|0;r=O[r|0]|O[r+1|0]<<8;N[e+20>>2]=(r<<8|r>>>8)&65535;e=e+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break da}}h=N[c+4>>2];N[e>>2]=N[c>>2];N[e+4>>2]=h;N[e+16>>2]=N[c+16>>2];h=N[c+12>>2];N[e+8>>2]=N[c+8>>2];N[e+12>>2]=h;c=g+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[e>>2]=(c<<8|c>>>8)&65535}N[d+72>>2]=N[d+72>>2]+k;f=N[d+68>>2];e=N[d+64>>2]}if(!(e>>>0>=f>>>0|y)){N[d+64>>2]=e+1}ec(d,q+(m&16384?0:k)|0)}e=N[d+64>>2];if(!O[d+60|0]|(e|0)==N[d+68>>2]){break K}ea:{if(O[n+2|0]&64){c=N[d+152>>2];N[d+152>>2]=c-1;if((c|0)>0){break ea}}if(O[d+62|0]){h=N[d+72>>2];c=N[d+84>>2];f=N[d+80>>2];fa:{if((c|0)==(f|0)){g=e;if((e|0)==(h|0)){break fa}}e=h+1|0;if(!(!e|e>>>0>2])){if(!gb(d,e)){break ea}f=N[d+80>>2];c=N[d+84>>2]}ga:{if((c|0)!=(f|0)){break ga}e=N[d+72>>2];if(e+1>>>0<=N[d+64>>2]+1>>>0){c=f;break ga}if(!O[d+62|0]){break b}c=N[d+88>>2];N[d+84>>2]=c;e=T(e,20);if(!e){break ga}F(c,f,e);c=N[d+84>>2];f=N[d+80>>2]}e=T(N[d+64>>2],20)+f|0;f=N[e+4>>2];c=T(N[d+72>>2],20)+c|0;N[c>>2]=N[e>>2];N[c+4>>2]=f;N[c+16>>2]=N[e+16>>2];f=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=f;e=N[d+64>>2];g=N[d+72>>2]}N[d+72>>2]=g+1}N[d+64>>2]=e+1}e=(o<<8|o>>>8)&65535;if(O[d+60|0]){continue}break}}Ac(d)}La=i+288|0;return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function iq(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=U(0),l=0,m=0,n=U(0),o=U(0),p=0,q=0,r=U(0),s=0,t=0,u=U(0),v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;w=La-16|0;La=w;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:{z:{A:{B:{C:{D:{E:{F:{switch(a-1|0){default:switch(a-255|0){case 37:break j;case 36:break k;case 35:break l;case 0:break E;case 38:break i;default:break h};case 10:a=N[b+4>>2];if(a>>>0>2]){N[b+8>>2]=a+1}c=b+4164|0;a=N[b+4168>>2];G:{if(a){a=a-1|0;N[b+4168>>2]=a;a=(c+T(a,20)|0)+8|0;break G}L[c|0]=1;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147460]=0;a=589824}c=N[a+4>>2];N[b+4128>>2]=N[a>>2];N[b+4132>>2]=c;N[b+4144>>2]=N[a+16>>2];i=a+8|0;c=N[i+4>>2];h=b+4136|0;N[h>>2]=N[i>>2];N[h+4>>2]=c;i=N[a>>2];c=N[a+4>>2];N[b+8>>2]=N[a+8>>2];N[b>>2]=i;N[b+4>>2]=c;break a;case 30:break m;case 29:break n;case 26:break o;case 25:break p;case 24:break q;case 23:break r;case 7:break s;case 6:break t;case 5:break u;case 4:break v;case 3:break w;case 21:break x;case 20:break y;case 18:case 19:break z;case 2:case 22:break A;case 0:case 17:break B;case 28:break C;case 9:break D;case 13:break F;case 1:case 8:case 11:case 12:case 14:case 15:case 16:case 27:break h}}L[b+4148|0]=1;N[b+20>>2]=0;break a}a=N[b+4>>2];c=N[b+8>>2];if(a>>>0>>0){break a}h=b+16|0;H:{if(a>>>0<=c>>>0){c=a+1|0;a=275552;break H}a=N[b>>2]+c|0}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);a=a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24);i=N[b+20>>2];I:{if(i>>>0<=512){N[b+20>>2]=i+1;i=(h+(i<<3)|0)+8|0;break I}L[h|0]=1;N[147456]=0;N[147457]=0;i=589824}S[i>>3]=+(a|0)*152587890625e-16;N[b+8>>2]=c+4;break a}c=b+16|0;J:{a=N[b+20>>2];K:{if(a){a=a-1|0;N[b+20>>2]=a;d=S[(c+(a<<3)|0)+8>>3];if(V(d)<2147483648){a=~~d;break K}a=-2147483648;break K}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}g=a+N[b+4380>>2]|0;L:{if((g|0)<0){break L}a=N[b+4384>>2];if(!a){break L}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(g>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break L}a=N[b+4168>>2];if(a>>>0<10){break J}}N[b+8>>2]=N[b+4>>2]+1;break a}h=N[b+4>>2];j=N[b>>2];N[b+4128>>2]=j;N[b+4132>>2]=h;N[b+4168>>2]=a+1;l=b+4136|0;N[l>>2]=N[b+8>>2];c=T(a,20)+b|0;i=b+4144|0;N[c+4188>>2]=N[i>>2];a=c+4172|0;N[a>>2]=j;N[a+4>>2]=h;a=N[l+4>>2];c=c+4180|0;N[c>>2]=N[l>>2];N[c+4>>2]=a;h=b+4128|0;a=0;j=N[b+4384>>2];M:{if(!j){break M}c=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if(g>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break M}be(w,j,g);a=N[w>>2];s=N[w+4>>2]}N[b+4128>>2]=a;N[b+4132>>2]=s;N[i>>2]=g;N[l>>2]=0;N[l+4>>2]=2;N[b+8>>2]=N[h+8>>2];a=N[h+4>>2];N[b>>2]=N[h>>2];N[b+4>>2]=a;break a}c=b+16|0;N:{a=N[b+20>>2];O:{if(a){a=a-1|0;N[b+20>>2]=a;d=S[(c+(a<<3)|0)+8>>3];if(V(d)<2147483648){a=~~d;break O}a=-2147483648;break O}L[c|0]=1;N[147456]=0;N[147457]=0;a=0}g=a+N[b+4372>>2]|0;P:{if((g|0)<0){break P}a=N[b+4376>>2];if(!a){break P}a=O[a|0]|O[a+1|0]<<8|(O[a+2|0]<<16|O[a+3|0]<<24);if(g>>>0>=(a<<24|(a&65280)<<8|(a>>>8&65280|a>>>24))>>>0){break P}a=N[b+4168>>2];if(a>>>0<10){break N}}N[b+8>>2]=N[b+4>>2]+1;break a}h=N[b+4>>2];j=N[b>>2];N[b+4128>>2]=j;N[b+4132>>2]=h;N[b+4168>>2]=a+1;l=b+4136|0;N[l>>2]=N[b+8>>2];c=T(a,20)+b|0;i=b+4144|0;N[c+4188>>2]=N[i>>2];a=c+4172|0;N[a>>2]=j;N[a+4>>2]=h;a=N[l+4>>2];c=c+4180|0;N[c>>2]=N[l>>2];N[c+4>>2]=a;h=b+4128|0;a=0;j=N[b+4376>>2];Q:{if(!j){break Q}c=O[j|0]|O[j+1|0]<<8|(O[j+2|0]<<16|O[j+3|0]<<24);if(g>>>0>=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))>>>0){break Q}be(w,j,g);a=N[w>>2];s=N[w+4>>2]}N[b+4128>>2]=a;N[b+4132>>2]=s;N[i>>2]=g;N[l>>2]=0;N[l+4>>2]=1;N[b+8>>2]=N[h+8>>2];a=N[h+4>>2];N[b>>2]=N[h>>2];N[b+4>>2]=a;break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4152>>2]=N[b+4152>>2]+(a>>>1|0);break a}a=N[b+20>>2];N[b+20>>2]=0;N[b+4156>>2]=N[b+4156>>2]+(a>>>1|0);break a}R:{if(O[b+4150|0]){c=N[b+4160>>2];break R}L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;c=(a+N[b+4152>>2]|0)+7>>>3|0;N[b+4160>>2]=c}a=N[b+8>>2]+c|0;if(a>>>0>Q[b+4>>2]){break a}N[b+8>>2]=a;N[b+20>>2]=0;break a}j=b+16|0;f=S[b+4400>>3];d=S[b+4392>>3];h=N[b+20>>2];if(!h){i=589824;break c}a=h-1|0;N[b+20>>2]=a;i=(j+(a<<3)|0)+8|0;if(!a){break c}a=h-2|0;N[b+20>>2]=a;e=S[(j+(a<<3)|0)+8>>3];break b}i=b+16|0;f=S[b+4400>>3];d=S[b+4392>>3];a=N[b+20>>2];S:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(i+(a<<3)|0)+8>>3];break S}L[i|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];d=e+d;hj(N[c>>2],R[a+44>>2],R[a+48>>2],d,f);S[b+4400>>3]=f;S[b+4392>>3]=d;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}i=b+16|0;d=S[b+4400>>3];f=S[b+4392>>3];a=N[b+20>>2];T:{if(a){a=a-1|0;N[b+20>>2]=a;e=S[(i+(a<<3)|0)+8>>3];break T}L[i|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];d=e+d;hj(N[c>>2],R[a+44>>2],R[a+48>>2],f,d);S[b+4400>>3]=d;S[b+4392>>3]=f;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0;break a}h=N[b+20>>2];if(h>>>0>=2){l=b+16|0;e=S[b+4400>>3];d=S[b+4392>>3];j=2;a=0;while(1){U:{if(a>>>0>=h>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;i=589824;break U}i=(l+(a<<3)|0)+8|0}a=a|1;V:{if(a>>>0>=h>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break V}f=S[(l+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+S[i>>3];e=f+e;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;h=N[b+20>>2];a=j;j=a+2|0;if(h>>>0>=j>>>0){continue}break}}N[b+20>>2]=0;break a}l=b+16|0;j=N[b+20>>2];if(j>>>0>=2){e=S[b+4400>>3];d=S[b+4392>>3];i=2;a=0;while(1){h=i;W:{if(a>>>0>=j>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break W}f=S[(l+(a<<3)|0)+8>>3]}i=N[c+4>>2];d=d+f;od(N[c>>2],R[i+44>>2],R[i+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=a|1;X:{if(a>>>0>=Q[b+20>>2]){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break X}f=S[(l+(a<<3)|0)+8>>3]}a=N[c+4>>2];e=e+f;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;j=N[b+20>>2];a=h;i=a+2|0;if(j>>>0>=i>>>0){continue}break}}if(h>>>0>>0){a=N[c+4>>2];k=R[a+44>>2];n=R[a+48>>2];e=S[b+4392>>3]+S[(l+(h<<3)|0)+8>>3];a=b+4400|0;d=S[a>>3];od(N[c>>2],k,n,e,d);S[a>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}l=b+16|0;j=N[b+20>>2];if(j>>>0>=2){e=S[b+4400>>3];d=S[b+4392>>3];i=2;a=0;while(1){h=i;Y:{if(a>>>0>=j>>>0){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break Y}f=S[(l+(a<<3)|0)+8>>3]}i=N[c+4>>2];e=e+f;od(N[c>>2],R[i+44>>2],R[i+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=a|1;Z:{if(a>>>0>=Q[b+20>>2]){L[l|0]=1;N[147456]=0;N[147457]=0;f=0;break Z}f=S[(l+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+f;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;j=N[b+20>>2];a=h;i=a+2|0;if(j>>>0>=i>>>0){continue}break}}if(h>>>0>>0){a=N[c+4>>2];k=R[a+44>>2];n=R[a+48>>2];e=S[b+4392>>3];a=b+4400|0;d=S[a>>3]+S[(l+(h<<3)|0)+8>>3];od(N[c>>2],k,n,e,d);S[a>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}h=N[b+20>>2];if(h>>>0>=6){g=b+16|0;e=S[b+4400>>3];d=S[b+4392>>3];i=6;a=0;while(1){_:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break _}j=(g+(a<<3)|0)+8|0}l=a|1;$:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break $}m=S[(g+(l<<3)|0)+8>>3]}p=S[j>>3];j=a+2|0;aa:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break aa}j=(g+(j<<3)|0)+8|0}l=a+3|0;ba:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ba}f=S[(g+(l<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[j>>3];j=a+4|0;ca:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break ca}j=(g+(j<<3)|0)+8|0}f=q+f;d=m+d;a=a+5|0;da:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break da}e=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];o=U(n*U(d));d=d+S[j>>3];e=f+e;Cb(N[c>>2],U(n*U(m)),U(k*U(q)),o,U(k*U(f)),U(n*U(d)),U(k*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;h=N[b+20>>2];a=i;i=a+6|0;if(h>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}a=N[b+20>>2];if(a>>>0>=8){s=b+16|0;l=a-2|0;e=S[b+4400>>3];d=S[b+4392>>3];j=6;a=0;while(1){g=N[b+20>>2];ea:{if(g>>>0<=a>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ea}i=(s+(a<<3)|0)+8|0}h=a|1;fa:{if(h>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;m=0;break fa}m=S[(s+(h<<3)|0)+8>>3]}p=S[i>>3];i=a+2|0;ga:{if(i>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ga}i=(s+(i<<3)|0)+8|0}h=a+3|0;ha:{if(h>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;f=0;break ha}f=S[(s+(h<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[i>>3];i=a+4|0;ia:{if(i>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ia}i=(s+(i<<3)|0)+8|0}f=q+f;d=m+d;a=a+5|0;ja:{if(a>>>0>=g>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;e=0;break ja}e=S[(s+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];o=U(n*U(d));d=d+S[i>>3];e=f+e;Cb(N[c>>2],U(n*U(m)),U(k*U(q)),o,U(k*U(f)),U(n*U(d)),U(k*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;a=j;j=a+6|0;if(l>>>0>=j>>>0){continue}break}h=N[b+20>>2];ka:{if(h>>>0<=a>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;i=589824;break ka}i=(s+(a<<3)|0)+8|0}a=a|1;la:{if(a>>>0>=h>>>0){L[s|0]=1;N[147456]=0;N[147457]=0;m=0;break la}m=S[(s+(a<<3)|0)+8>>3]}a=N[c+4>>2];f=d+S[i>>3];d=e+m;od(N[c>>2],R[a+44>>2],R[a+48>>2],f,d);S[b+4400>>3]=d;S[b+4392>>3]=f}N[b+20>>2]=0;break a}a=N[b+20>>2];if(a>>>0>=8){g=b+16|0;l=a-6|0;e=S[b+4400>>3];d=S[b+4392>>3];i=2;a=0;while(1){j=N[b+20>>2];ma:{if(j>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break ma}h=(g+(a<<3)|0)+8|0}a=a|1;na:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break na}f=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];d=d+S[h>>3];e=e+f;od(N[c>>2],R[a+44>>2],R[a+48>>2],d,e);S[b+4400>>3]=e;S[b+4392>>3]=d;a=i;i=a+2|0;if(l>>>0>=i>>>0){continue}break}l=N[b+20>>2];oa:{if(l>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;h=589824;break oa}h=(g+(a<<3)|0)+8|0}j=a|1;pa:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break pa}m=S[(g+(j<<3)|0)+8>>3]}p=S[h>>3];qa:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;i=589824;break qa}i=(g+(i<<3)|0)+8|0}h=a+3|0;ra:{if(h>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ra}f=S[(g+(h<<3)|0)+8>>3]}q=e+m;m=d+p;d=S[i>>3];i=a+4|0;sa:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;i=589824;break sa}i=(g+(i<<3)|0)+8|0}f=q+f;e=m+d;a=a+5|0;ta:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break ta}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];o=U(n*U(e));e=e+S[i>>3];d=f+d;Cb(N[c>>2],U(n*U(m)),U(k*U(q)),o,U(k*U(f)),U(n*U(e)),U(k*U(d)));S[b+4400>>3]=d;S[b+4392>>3]=e}N[b+20>>2]=0;break a}h=N[b+20>>2];a=h&1;i=a|4;if(h>>>0>=i>>>0){g=b+16|0;d=S[b+4392>>3]+(a?S[b+24>>3]:-0);m=S[b+4400>>3];while(1){ua:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ua}e=S[(g+(a<<3)|0)+8>>3]}j=a+1|0;va:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break va}j=(g+(j<<3)|0)+8|0}f=m+e;l=a+2|0;wa:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break wa}e=S[(g+(l<<3)|0)+8>>3]}p=f+e;e=d+S[j>>3];a=a+3|0;xa:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break xa}m=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];k=R[a+44>>2];o=U(k*U(d));n=R[a+48>>2];k=U(k*U(e));m=p+m;Cb(N[c>>2],o,U(n*U(f)),k,U(n*U(p)),k,U(n*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=e;d=e;h=N[b+20>>2];a=i;i=a+4|0;if(h>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}h=N[b+20>>2];a=h&1;i=a|4;if(h>>>0>=i>>>0){g=b+16|0;d=S[b+4400>>3]+(a?S[b+24>>3]:-0);m=S[b+4392>>3];while(1){ya:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ya}e=S[(g+(a<<3)|0)+8>>3]}j=a+1|0;za:{if(j>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;j=589824;break za}j=(g+(j<<3)|0)+8|0}p=m+e;l=a+2|0;Aa:{if(l>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Aa}f=S[(g+(l<<3)|0)+8>>3]}e=d+f;m=p+S[j>>3];a=a+3|0;Ba:{if(a>>>0>=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ba}f=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];o=R[a+44>>2];k=R[a+48>>2];n=U(k*U(e));r=U(o*U(m));m=m+f;Cb(N[c>>2],U(o*U(p)),U(k*U(d)),r,n,U(o*U(m)),n);S[b+4400>>3]=e;S[b+4392>>3]=m;d=e;h=N[b+20>>2];a=i;i=a+4|0;if(h>>>0>=i>>>0){continue}break}}N[b+20>>2]=0;break a}g=b+16|0;i=4;j=N[b+20>>2];if(j&4){break e}if(j>>>0<8){break d}d=S[b+4400>>3];e=S[b+4392>>3];a=8;i=0;while(1){h=i;i=a;Ca:{if(h>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ca}f=S[(g+(h<<3)|0)+8>>3]}a=h|1;Da:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Da}a=(g+(a<<3)|0)+8|0}d=d+f;l=h|2;Ea:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ea}f=S[(g+(l<<3)|0)+8>>3]}f=d+f;p=e+S[a>>3];a=h|3;Fa:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;m=0;break Fa}m=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];r=R[a+44>>2];n=R[a+48>>2];k=U(f);o=U(n*k);u=U(r*U(e));e=p+m;Cb(N[c>>2],u,U(n*U(d)),U(r*U(p)),o,U(r*U(e)),o);S[b+4400>>3]=f;S[b+4392>>3]=e;l=N[b+20>>2];a=h|4;Ga:{if(l>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Ga}d=S[(g+(a<<3)|0)+8>>3]}a=h|5;Ha:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ha}a=(g+(a<<3)|0)+8|0}p=e+d;d=f;j=h|6;Ia:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ia}f=S[(g+(j<<3)|0)+8>>3]}e=S[a>>3];m=d+f;a=h|7;Ja:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ja}f=S[(g+(a<<3)|0)+8>>3]}d=m+f;f=p+e;e=f;Ka:{if(l-h>>>0>15){break Ka}e=f;if(!(l&1)){break Ka}La:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break La}e=S[(g+(i<<3)|0)+8>>3]}e=f+e}a=N[c+4>>2];o=R[a+44>>2];n=R[a+48>>2];Cb(N[c>>2],U(o*U(p)),U(n*k),U(o*U(f)),U(n*U(m)),U(o*U(e)),U(n*U(d)));S[b+4400>>3]=d;S[b+4392>>3]=e;a=i+8|0;j=N[b+20>>2];if(a>>>0<=j>>>0){continue}break}break d}g=b+16|0;i=4;j=N[b+20>>2];if(j&4){break g}if(j>>>0<8){break f}e=S[b+4400>>3];d=S[b+4392>>3];a=8;i=0;while(1){h=i;i=a;Ma:{if(h>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ma}f=S[(g+(h<<3)|0)+8>>3]}a=h|1;Na:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Na}a=(g+(a<<3)|0)+8|0}m=d+f;l=h|2;Oa:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Oa}f=S[(g+(l<<3)|0)+8>>3]}f=e+f;q=m+S[a>>3];a=h|3;Pa:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Pa}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];k=R[a+44>>2];r=U(k*U(m));o=R[a+48>>2];n=U(q);k=U(k*n);u=U(o*U(f));f=f+d;Cb(N[c>>2],r,U(o*U(e)),k,u,k,U(o*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=q;l=N[b+20>>2];a=h|4;Qa:{if(l>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break Qa}d=S[(g+(a<<3)|0)+8>>3]}a=h|5;Ra:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break Ra}a=(g+(a<<3)|0)+8|0}j=h|6;Sa:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break Sa}e=S[(g+(j<<3)|0)+8>>3]}p=f+d;m=q+S[a>>3];a=h|7;Ta:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break Ta}f=S[(g+(a<<3)|0)+8>>3]}d=m+f;f=p+e;e=f;Ua:{if(l-h>>>0>15){break Ua}e=f;if(!(l&1)){break Ua}Va:{if(i>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break Va}e=S[(g+(i<<3)|0)+8>>3]}e=f+e}a=N[c+4>>2];o=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(o*n),U(k*U(p)),U(o*U(m)),U(k*U(f)),U(o*U(d)),U(k*U(e)));S[b+4400>>3]=e;S[b+4392>>3]=d;a=i+8|0;j=N[b+20>>2];if(a>>>0<=j>>>0){continue}break}break f}Wa:{if(N[b+20>>2]==7){q=S[b+72>>3];p=S[b- -64>>3];m=S[b+56>>3];a=N[c+4>>2];u=R[a+44>>2];i=b+4400|0;v=S[i>>3];r=U(v);k=R[a+48>>2];f=v+S[b+40>>3];n=U(f);o=U(k*n);e=S[b+4392>>3]+S[b+24>>3];d=e+S[b+32>>3];t=d+S[b+48>>3];Cb(N[c>>2],U(u*U(e)),U(k*r),U(u*U(d)),o,U(u*U(t)),o);S[i>>3]=f;S[b+4392>>3]=t;a=N[c+4>>2];u=R[a+44>>2];k=R[a+48>>2];o=U(k*r);e=t+m;d=e+p;f=d+q;Cb(N[c>>2],U(u*U(e)),U(k*n),U(u*U(d)),o,U(u*U(f)),o);S[i>>3]=v;S[b+4392>>3]=f;break Wa}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Xa:{if(N[b+20>>2]==13){x=S[b+104>>3];y=S[b+88>>3];t=S[b+72>>3];v=S[b+112>>3];q=S[b+96>>3];p=S[b+80>>3];m=S[b+4392>>3]+S[b+24>>3];f=m+S[b+40>>3];z=f+S[b+56>>3];i=b+4400|0;e=S[i>>3]+S[b+32>>3];d=e+S[b+48>>3];A=d+S[b- -64>>3];a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(m)),U(k*U(e)),U(n*U(f)),U(k*U(d)),U(n*U(z)),U(k*U(A)));S[i>>3]=A;S[b+4392>>3]=z;m=z+t;f=m+y;t=f+x;e=A+p;d=e+q;p=d+v;a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(m)),U(k*U(e)),U(n*U(f)),U(k*U(d)),U(n*U(t)),U(k*U(p)));S[i>>3]=p;S[b+4392>>3]=t;break Xa}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Ya:{if(N[b+20>>2]==9){v=S[b+80>>3];q=S[b+88>>3];p=S[b+72>>3];m=S[b- -64>>3];a=N[c+4>>2];r=R[a+44>>2];n=R[a+48>>2];i=b+4400|0;y=S[i>>3];f=y+S[b+32>>3];t=f+S[b+48>>3];k=U(t);o=U(n*k);e=S[b+4392>>3]+S[b+24>>3];d=e+S[b+40>>3];x=d+S[b+56>>3];Cb(N[c>>2],U(r*U(e)),U(n*U(f)),U(r*U(d)),o,U(r*U(x)),o);S[i>>3]=t;S[b+4392>>3]=x;e=x+m;d=e+p;f=d+q;a=N[c+4>>2];o=R[a+44>>2];n=R[a+48>>2];Cb(N[c>>2],U(o*U(e)),U(n*k),U(o*U(d)),U(n*U(t+v)),U(o*U(f)),U(n*U(y)));S[i>>3]=y;S[b+4392>>3]=f;break Ya}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}Za:{if(N[b+20>>2]==11){D=S[b+104>>3];E=S[b+88>>3];F=S[b+72>>3];G=S[b+96>>3];H=S[b+80>>3];z=S[b+4392>>3];A=S[b+24>>3];x=z+A;y=S[b+40>>3];m=x+y;t=S[b+56>>3];B=m+t;i=b+4400|0;v=S[i>>3];q=S[b+32>>3];f=v+q;p=S[b+48>>3];e=f+p;d=S[b- -64>>3];C=e+d;a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(x)),U(k*U(f)),U(n*U(m)),U(k*U(e)),U(n*U(B)),U(k*U(C)));S[i>>3]=C;S[b+4392>>3]=B;m=B+F;f=m+E;a=V(E+(F+(t+(y+(A+0)))))>V(G+(H+(d+(p+(q+0)))));q=a?f+D:z;e=C+H;d=e+G;p=a?v:d+D;a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];Cb(N[c>>2],U(n*U(m)),U(k*U(e)),U(n*U(f)),U(k*U(d)),U(n*U(q)),U(k*U(p)));S[i>>3]=p;S[b+4392>>3]=q;break Za}N[b+8>>2]=N[b+4>>2]+1}N[b+20>>2]=0;break a}uf(a,b);break a}e=S[b+4400>>3];p=e+S[b+40>>3];m=p+S[b+48>>3];q=S[b+4392>>3]+S[b+24>>3];d=q+S[b+32>>3];a=12;if(j>>>0>=12){h=4;while(1){i=a;a=N[c+4>>2];k=R[a+44>>2];r=U(k*U(q));o=R[a+48>>2];n=U(d);k=U(k*n);Cb(N[c>>2],r,U(o*U(e)),k,U(o*U(p)),k,U(o*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=d;l=N[b+20>>2];_a:{if(l>>>0<=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break _a}e=S[(g+(h<<3)|0)+8>>3]}a=h|1;$a:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break $a}a=(g+(a<<3)|0)+8|0}f=m+e;j=h|2;ab:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break ab}e=S[(g+(j<<3)|0)+8>>3]}e=f+e;m=d+S[a>>3];a=h|3;bb:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break bb}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];r=R[a+44>>2];k=R[a+48>>2];o=U(k*U(e));k=U(k*U(f));f=m+d;Cb(N[c>>2],U(r*n),k,U(r*U(m)),o,U(r*U(f)),o);S[b+4400>>3]=e;S[b+4392>>3]=f;j=N[b+20>>2];a=h+4|0;cb:{if(j>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break cb}d=S[(g+(a<<3)|0)+8>>3]}a=h+5|0;db:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break db}a=(g+(a<<3)|0)+8|0}q=f+d;l=h+6|0;eb:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break eb}f=S[(g+(l<<3)|0)+8>>3]}d=q+S[a>>3];p=e+f;a=h+7|0;fb:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break fb}f=S[(g+(a<<3)|0)+8>>3]}m=p+f;h=i;a=h+8|0;if(j>>>0>=a>>>0){continue}break}}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];f=i>>>0>>0?d+S[(g+(i<<3)|0)+8>>3]:d;Cb(N[c>>2],U(n*U(q)),U(k*U(e)),U(n*U(d)),U(k*U(p)),U(n*U(f)),U(k*U(m)));S[b+4400>>3]=m;S[b+4392>>3]=f}N[b+20>>2]=0;break a}e=S[b+4392>>3];p=e+S[b+32>>3];m=p+S[b+48>>3];q=S[b+4400>>3]+S[b+24>>3];d=q+S[b+40>>3];a=12;if(j>>>0>=12){h=4;while(1){i=a;a=N[c+4>>2];r=R[a+44>>2];k=R[a+48>>2];n=U(d);o=U(k*n);Cb(N[c>>2],U(r*U(e)),U(k*U(q)),U(r*U(p)),o,U(r*U(m)),o);S[b+4400>>3]=d;S[b+4392>>3]=m;l=N[b+20>>2];gb:{if(l>>>0<=h>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;e=0;break gb}e=S[(g+(h<<3)|0)+8>>3]}a=h|1;hb:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break hb}a=(g+(a<<3)|0)+8|0}m=m+e;j=h|2;ib:{if(j>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break ib}f=S[(g+(j<<3)|0)+8>>3]}f=d+f;e=m+S[a>>3];a=h|3;jb:{if(a>>>0>=l>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break jb}d=S[(g+(a<<3)|0)+8>>3]}a=N[c+4>>2];k=R[a+44>>2];r=U(k*U(m));o=R[a+48>>2];k=U(k*U(e));u=U(o*U(f));f=f+d;Cb(N[c>>2],r,U(o*n),k,u,k,U(o*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=e;j=N[b+20>>2];a=h+4|0;kb:{if(j>>>0<=a>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;d=0;break kb}d=S[(g+(a<<3)|0)+8>>3]}a=h+5|0;lb:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;a=589824;break lb}a=(g+(a<<3)|0)+8|0}q=f+d;l=h+6|0;mb:{if(l>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break mb}f=S[(g+(l<<3)|0)+8>>3]}d=q+f;p=e+S[a>>3];a=h+7|0;nb:{if(a>>>0>=j>>>0){L[g|0]=1;N[147456]=0;N[147457]=0;f=0;break nb}f=S[(g+(a<<3)|0)+8>>3]}m=p+f;h=i;a=h+8|0;if(j>>>0>=a>>>0){continue}break}}a=N[c+4>>2];n=R[a+44>>2];k=R[a+48>>2];f=i>>>0>>0?d+S[(g+(i<<3)|0)+8>>3]:d;Cb(N[c>>2],U(n*U(e)),U(k*U(q)),U(n*U(p)),U(k*U(d)),U(n*U(m)),U(k*U(f)));S[b+4400>>3]=f;S[b+4392>>3]=m}N[b+20>>2]=0;break a}L[j|0]=1;N[147456]=0;N[147457]=0;e=0}a=N[c+4>>2];e=e+d;d=f+S[i>>3];hj(N[c>>2],R[a+44>>2],R[a+48>>2],e,d);S[b+4400>>3]=d;S[b+4392>>3]=e;if(!O[b+4149|0]){if(!O[b+4150|0]){L[b+4150|0]=1;a=N[b+4156>>2]+(N[b+20>>2]>>>1|0)|0;N[b+4156>>2]=a;N[b+4160>>2]=(a+N[b+4152>>2]|0)+7>>>3}L[b+4149|0]=1}N[b+20>>2]=0}La=w+16|0}function ml(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,C=0,D=0;j=La-288|0;La=j;a:{b:{c:{d:{switch(O[a+3|0]){case 0:g=N[b+16>>2];b=N[b+12>>2];if(N[b+32>>2]==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}N[g+64>>2]=0;if(!O[g+60|0]){break c}n=a+8|0;r=j+40|0;b=0;while(1){h=N[g+64>>2];p=h>>>0>=Q[g+68>>2];c=0;e:{if(p){break e}e=N[N[g+80>>2]+T(h,20)>>2];c=2;if((e|0)==65535){break e}i=e;c=O[a+10|0]|O[a+11|0]<<8;e=n+((c<<8|c>>>8)&65535)|0;c=O[e|0]|O[e+1|0]<<8;i=i-((c<<8|c>>>8)&65535)|0;l=O[e+2|0]|O[e+3|0]<<8;c=1;if(i>>>0>=((l<<8|l>>>8)&65535)>>>0){break e}c=O[(e+i|0)+4|0]}m=O[n|0]|O[n+1|0]<<8;k=(m<<8|m>>>8)&65535;o=k>>>0>c>>>0;e=b;s=T(e,k);b=O[a+12|0]|O[a+13|0]<<8;q=(b<<8|b>>>8)&65535;u=q+n|0;b=O[a+14|0]|O[a+15|0]<<8;w=n+((b<<8|b>>>8)&65535)|0;l=(O[((o?c:1)+s|0)+u|0]<<2)+w|0;b=O[l|0]|O[l+1|0]<<8;b=(((b<<8|b>>>8)&65535)-q|0)/(k|0)|0;i=O[l+2|0]|O[l+3|0]<<8;f:{g:{if(d>>>0>f>>>0?i&3840:0){break g}if(!(!e|!(i&64?b:1))){c=w+(O[u+(o?c:1)|0]<<2)|0;e=O[c+2|0]|O[c+3|0]<<8;if(d>>>0>f>>>0?e&3840:0){break g}c=O[c|0]|O[c+1|0]<<8;if((e^i)&64|((((c<<8|c>>>8)&65535)-q|0)/(k|0)|0)!=(b|0)){break g}}if(!(O[(w+(O[u+(s+!m|0)|0]<<2)|0)+3|0]&15)|d>>>0<=f>>>0){break f}}if(p){break f}c=O[g+62|0]?N[g+72>>2]:h;if(!c){break f}wb(g,3,c-1|0,h+1|0,1,1);i=O[l+2|0]|O[l+3|0]<<8}e=i<<8|(i&65280)>>>8;c=e&65535;f=e<<16>>16<0?N[g+64>>2]:f;if(c&8192){d=N[g+64>>2]+1|0;e=N[g+68>>2];d=d>>>0>>0?d:e}e=c&15;h:{if(!e|d>>>0<=f>>>0){break h}c=d-f|0;if(c>>>0>64){break h}h=O[e+238112|0];o=h>>>4|0;e=o>>>0>=2?2:o;q=h&15;h=q>>>0>=2?2:q;u=e+h|0;if(u>>>0>c>>>0){break h}i=N[g+64>>2]+1|0;k=N[g+68>>2];i=i>>>0>>0?i:k;if(i-f>>>0>=2){Ib(g,f,i)}if(c>>>0>=2){Ib(g,f,d)}i=T(e,20);k=N[g+80>>2];c=k+T(f,20)|0;if(e){F(j,c,i)}m=T(h,20);if(h){F(r,(k+T(d,20)|0)+T(h,-20)|0,m)}if((e|0)!=(h|0)){F(c+m|0,c+i|0,T(d-(f+u|0)|0,20))}if(h){F(c,r,m)}if(e){F((k+T(d,20)|0)+T(e,-20)|0,j,i)}if((o|0)==3){h=k+T(d,20)|0;e=h-20|0;N[j+16>>2]=N[e+16>>2];i=N[e+4>>2];N[j>>2]=N[e>>2];N[j+4>>2]=i;i=N[e+12>>2];N[j+8>>2]=N[e+8>>2];N[j+12>>2]=i;h=h-40|0;N[e+16>>2]=N[h+16>>2];i=N[h+12>>2];N[e+8>>2]=N[h+8>>2];N[e+12>>2]=i;i=N[h+4>>2];N[e>>2]=N[h>>2];N[e+4>>2]=i;N[h+16>>2]=N[j+16>>2];e=N[j+12>>2];N[h+8>>2]=N[j+8>>2];N[h+12>>2]=e;e=N[j+4>>2];N[h>>2]=N[j>>2];N[h+4>>2]=e}if((q|0)!=3){break h}N[j+16>>2]=N[c+16>>2];e=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=e;e=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=e;N[c+16>>2]=N[c+36>>2];e=N[c+32>>2];N[c+8>>2]=N[c+28>>2];N[c+12>>2]=e;e=N[c+24>>2];N[c>>2]=N[c+20>>2];N[c+4>>2]=e;N[c+36>>2]=N[j+16>>2];e=N[j+12>>2];N[c+28>>2]=N[j+8>>2];N[c+32>>2]=e;e=N[j+4>>2];N[c+20>>2]=N[j>>2];N[c+24>>2]=e}c=N[g+64>>2];if(!O[g+60|0]|(c|0)==N[g+68>>2]){break c}i:{if(O[l+2|0]&64){e=N[g+152>>2];N[g+152>>2]=e-1;if((e|0)>0){break i}}if(O[g+62|0]){l=N[g+72>>2];i=N[g+84>>2];h=N[g+80>>2];j:{if((i|0)==(h|0)){e=c;if((c|0)==(l|0)){break j}}c=l+1|0;if(!(!c|c>>>0>2])){if(!gb(g,c)){break i}i=N[g+84>>2];h=N[g+80>>2]}k:{if((h|0)!=(i|0)){break k}c=N[g+72>>2];if(c+1>>>0<=N[g+64>>2]+1>>>0){i=h;break k}if(!O[g+62|0]){break b}i=N[g+88>>2];N[g+84>>2]=i;c=T(c,20);if(!c){break k}F(i,h,c);i=N[g+84>>2];h=N[g+80>>2]}e=T(N[g+64>>2],20)+h|0;h=N[e+4>>2];c=T(N[g+72>>2],20)+i|0;N[c>>2]=N[e>>2];N[c+4>>2]=h;N[c+16>>2]=N[e+16>>2];h=N[e+12>>2];N[c+8>>2]=N[e+8>>2];N[c+12>>2]=h;c=N[g+64>>2];e=N[g+72>>2]}N[g+72>>2]=e+1}N[g+64>>2]=c+1}if(O[g+60|0]){continue}break};break c;case 1:c=O[a+16|0]|O[a+17|0]<<8;r=N[b+68>>2];f=O[r|0]|O[r+1|0]<<8;g=O[r+4|0]|O[r+5|0]<<8;e=N[b+16>>2];d=N[b+12>>2];if(N[d+32>>2]==-1){h=d;d=sb(d+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[h+32>>2]=(d<<8|d>>>8)&65535}N[e+64>>2]=0;if(!O[e+60|0]){break c}o=a+8|0;q=(c<<8|c>>>8)&65535;p=o+q|0;s=!g|(f|0)!=256;g=0;while(1){c=N[e+68>>2];d=N[e+64>>2];z=c>>>0<=d>>>0;f=0;l:{if(z){break l}h=N[N[e+80>>2]+T(d,20)>>2];f=2;if((h|0)==65535){break l}i=h;f=O[a+10|0]|O[a+11|0]<<8;h=o+((f<<8|f>>>8)&65535)|0;f=O[h|0]|O[h+1|0]<<8;i=i-((f<<8|f>>>8)&65535)|0;k=O[h+2|0]|O[h+3|0]<<8;f=1;if(i>>>0>=((k<<8|k>>>8)&65535)>>>0){break l}f=O[(h+i|0)+4|0]}h=f;m=O[o|0]|O[o+1|0]<<8;k=(m<<8|m>>>8)&65535;y=f>>>0>>0;if(y){t=f}else{t=1}i=n;x=T(k,i);f=O[a+12|0]|O[a+13|0]<<8;u=(f<<8|f>>>8)&65535;w=u+o|0;f=O[a+14|0]|O[a+15|0]<<8;v=o+((f<<8|f>>>8)&65535)|0;f=(O[(t+x|0)+w|0]<<3)+v|0;n=O[f|0]|O[f+1|0]<<8;n=(((n<<8|n>>>8)&65535)-u|0)/(k|0)|0;A=l&255;t=!A&(c|0)==(d|0);m:{n:{if(!t&((O[f+4|0]|O[f+5|0]<<8)!=65535|(O[f+6|0]|O[f+7|0]<<8)!=65535)){break n}o:{if(!i){break o}i=O[f+2|0]|O[f+3|0]<<8;if(!(i&64?n:1)){break o}h=v+(O[w+(y?h:1)|0]<<3)|0;if(!t&((O[h+4|0]|O[h+5|0]<<8)!=65535|(O[h+6|0]|O[h+7|0]<<8)!=65535)){break n}y=O[h|0]|O[h+1|0]<<8;if((i^(O[h+2|0]|O[h+3|0]<<8))&64|((((y<<8|y>>>8)&65535)-u|0)/(k|0)|0)!=(n|0)){break n}}h=!m;if(t){c=d;break m}h=v+(O[w+(h+x|0)|0]<<3)|0;if((O[h+4|0]|O[h+5|0]<<8)!=65535){break n}if((O[h+6|0]|O[h+7|0]<<8)==65535){break m}}if(z){break m}h=O[e+62|0]?N[e+72>>2]:d;if(!h){break m}wb(e,3,h-1|0,d+1|0,1,1);c=N[e+68>>2];d=N[e+64>>2]}if(A|(c|0)!=(d|0)){v=T(g,20);c=O[f+4|0]|O[f+5|0]<<8;c=N[v+N[e+80>>2]>>2]+((c<<8|c>>>8)&65535)<<1;c=p+((c>>>0>>0?1073741823:c-q>>>1|0)<<1)|0;p:{if(c>>>0>2]){break p}d=N[b+28>>2];if(d>>>0>>0|d-c>>>0<2){break p}d=N[b+32>>2]-2|0;N[b+32>>2]=d;if((d|0)<=0){break p}t=O[c|0]|O[c+1|0]<<8;if(!t){break p}c=N[e+64>>2]+1|0;d=N[e+68>>2];u=c>>>0>>0?c:d;w=u-g|0;q:{if(w>>>0<=1){i=N[e+80>>2];break q}k=N[e+144>>2]|32;N[e+144>>2]=k;i=N[e+80>>2];if(g>>>0>=u>>>0){break q}c=-1;d=g;z=u+(d^-1)|0;if(z>>>0>=3){y=w&-4;m=0;while(1){h=T(d,20)+i|0;x=N[h+8>>2];c=c>>>0>>0?c:x;x=N[h+28>>2];c=c>>>0>>0?c:x;x=N[h+48>>2];c=c>>>0>>0?c:x;h=N[h+68>>2];c=c>>>0>>0?c:h;d=d+4|0;m=m+4|0;if((y|0)!=(m|0)){continue}break}}h=0;m=w&3;if(m){while(1){y=N[(T(d,20)+i|0)+8>>2];c=c>>>0>>0?c:y;d=d+1|0;h=h+1|0;if((m|0)!=(h|0)){continue}break}}d=g;if(w&1){d=i+v|0;if(N[d+8>>2]!=(c|0)){N[d+4>>2]=N[d+4>>2]|3}d=g+1|0}if(!z){break q}while(1){h=T(d,20)+i|0;if(N[h+8>>2]!=(c|0)){k=k|32;N[e+144>>2]=k;N[h+4>>2]=N[h+4>>2]|3}h=T(d+1|0,20)+i|0;if(N[h+8>>2]!=(c|0)){k=k|32;N[e+144>>2]=k;N[h+4>>2]=N[h+4>>2]|3}d=d+2|0;if((u|0)!=(d|0)){continue}break}}c=i+v|0;d=(t<<8|t>>>8)&65535;N[c>>2]=d;if(s){break p}C=c,D=Uc(r,d),M[C+12>>1]=D}c=N[e+64>>2];d=N[e+68>>2]-1|0;d=T(c>>>0>>0?c:d,20);c=O[f+6|0]|O[f+7|0]<<8;c=N[d+N[e+80>>2]>>2]+((c<<8|c>>>8)&65535)<<1;c=p+((c>>>0>>0?1073741823:c-q>>>1|0)<<1)|0;r:{if(c>>>0>2]){break r}h=N[b+28>>2];if(h>>>0>>0|h-c>>>0<2){break r}h=N[b+32>>2]-2|0;N[b+32>>2]=h;if((h|0)<=0){break r}c=O[c|0]|O[c+1|0]<<8;if(!c){break r}d=d+N[e+80>>2]|0;c=(c<<8|c>>>8)&65535;N[d>>2]=c;if(s){break r}C=d,D=Uc(r,c),M[C+12>>1]=D}c=N[e+64>>2];d=O[f+2|0]&128;g=d?c:g;l=d?1:l}else{l=0}if(!O[e+60|0]|N[e+68>>2]==(c|0)){break c}s:{if(O[f+2|0]&64){d=N[e+152>>2];N[e+152>>2]=d-1;if((d|0)>0){break s}}if(O[e+62|0]){i=N[e+72>>2];d=N[e+84>>2];f=N[e+80>>2];t:{if((d|0)==(f|0)){h=c;if((c|0)==(i|0)){break t}}c=i+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break s}f=N[e+80>>2];d=N[e+84>>2]}u:{if((d|0)!=(f|0)){break u}c=N[e+72>>2];if(c+1>>>0<=N[e+64>>2]+1>>>0){d=f;break u}if(!O[e+62|0]){break b}d=N[e+88>>2];N[e+84>>2]=d;c=T(c,20);if(!c){break u}F(d,f,c);d=N[e+84>>2];f=N[e+80>>2]}c=T(N[e+72>>2],20)+d|0;d=T(N[e+64>>2],20)+f|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;c=N[e+64>>2];h=N[e+72>>2]}N[e+72>>2]=h+1}N[e+64>>2]=c+1}if(O[e+60|0]){continue}break};break c;case 2:L[j|0]=0;n=a+8|0;N[j+8>>2]=n;N[j+4>>2]=b;c=O[a+16|0]|O[a+17|0]<<8;N[j+12>>2]=n+((c<<8|c>>>8)&65535);c=O[a+18|0]|O[a+19|0]<<8;N[j+16>>2]=n+((c<<8|c>>>8)&65535);c=O[a+20|0]|O[a+21|0]<<8;N[j+24>>2]=0;N[j+20>>2]=n+((c<<8|c>>>8)&65535);g=N[b+16>>2];b=N[b+12>>2];if(N[b+32>>2]==-1){c=b;b=sb(b+56|0);b=O[b+4|0]|O[b+5|0]<<8;N[c+32>>2]=(b<<8|b>>>8)&65535}N[g+72>>2]=0;M[g+62>>1]=1;N[g+64>>2]=0;N[g+84>>2]=N[g+80>>2];v:{if(!O[g+60|0]){break v}b=0;while(1){h=N[g+64>>2];o=h>>>0>=Q[g+68>>2];c=0;w:{if(o){break w}d=N[N[g+80>>2]+T(h,20)>>2];c=2;if((d|0)==65535){break w}f=d;c=O[a+10|0]|O[a+11|0]<<8;d=n+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;f=f-((c<<8|c>>>8)&65535)|0;e=O[d+2|0]|O[d+3|0]<<8;c=1;if(f>>>0>=((e<<8|e>>>8)&65535)>>>0){break w}c=O[(d+f|0)+4|0]}d=c;l=O[n|0]|O[n+1|0]<<8;i=(l<<8|l>>>8)&65535;q=c>>>0>>0;if(!q){d=1}f=b;u=T(f,i);b=O[a+12|0]|O[a+13|0]<<8;k=(b<<8|b>>>8)&65535;m=k+n|0;b=O[a+14|0]|O[a+15|0]<<8;r=n+((b<<8|b>>>8)&65535)|0;e=(O[(d+u|0)+m|0]<<2)+r|0;b=O[e|0]|O[e+1|0]<<8;b=(((b<<8|b>>>8)&65535)-k|0)/(i|0)|0;d=O[e+2|0]|O[e+3|0]<<8;x:{y:{if(d&65343){break y}if(!(!f|!(d&64?b:1))){c=r+(O[m+(q?c:1)|0]<<2)|0;f=O[c+2|0]|O[c+3|0]<<8;if(f&65343){break y}c=O[c|0]|O[c+1|0]<<8;if((d^f)&64|((((c<<8|c>>>8)&65535)-k|0)/(i|0)|0)!=(b|0)){break y}}c=r+(O[m+(u+!l|0)|0]<<2)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65343)){break x}}if(o){break x}c=O[g+62|0]?N[g+72>>2]:h;if(!c){break x}wb(g,3,c-1|0,h+1|0,1,1);d=O[e+2|0]|O[e+3|0]<<8}if(d&128){c=N[j+24>>2];z:{if(!c){f=N[g+72>>2];c=0;break z}f=N[g+72>>2];c=c-((f|0)==N[(((c-1&63)<<2)+j|0)+28>>2])|0}N[j+24>>2]=c+1;N[(((c&63)<<2)+j|0)+28>>2]=f}c=d&65343;A:{if(!c){break A}l=N[j+24>>2];if(!l|Q[g+64>>2]>=Q[g+68>>2]){break A}r=N[g+72>>2];f=N[j+12>>2];d=f-N[j+8>>2]|0;c=(c<<8|c>>>8)&65535;h=((c>>>0>>0?536870911:c-d>>>2|0)<<2)+f|0;k=0;B:{while(1){if(!l){N[j+24>>2]=0;ec(g,r);break A}l=l-1|0;o=((l&63)<<2)+j|0;if(!ec(g,N[o+28>>2])){break A}c=N[j+4>>2];C:{if(Q[c+24>>2]>h>>>0){break C}d=N[c+28>>2];if(d>>>0>>0|d-h>>>0<4){break C}d=c;c=N[c+32>>2]-4|0;N[d+32>>2]=c;if((c|0)<=0){break C}c=O[h|0]|O[h+1|0]<<8|(O[h+2|0]<<16|O[h+3|0]<<24);m=c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24);i=N[j+16>>2];f=i-N[j+8>>2]|0;c=N[N[g+80>>2]+T(N[g+64>>2],20)>>2]+(c<<25&1073741824|m&1073741823)<<1;c=((c>>>0>>0?1073741823:c-f>>>1|0)<<1)+i|0;d=N[j+4>>2];if(c>>>0>2]){break C}f=N[d+28>>2];if(f>>>0>>0|f-c>>>0<2){break C}f=d;d=N[d+32>>2]-2|0;N[f+32>>2]=d;if((d|0)<=0){break C}c=O[c|0]|O[c+1|0]<<8;k=((c<<8|c>>>8)&65535)+k|0;if(m>>>0>=1073741824){c=N[j+20>>2];d=c-N[j+8>>2]|0;k=d>>>0>k>>>0?1073741823:k-d>>>1|0;c=(k<<1)+c|0;d=N[j+4>>2];if(c>>>0>2]){break C}f=N[d+28>>2];if(f>>>0>>0|f-c>>>0<2){break C}f=d;d=N[d+32>>2]-2|0;N[f+32>>2]=d;if((d|0)<=0){break C}c=O[c|0]|O[c+1|0]<<8;d=N[g+72>>2]+1|0;if(!(!d|d>>>0>2])){if(!gb(g,d)){break A}}d=N[g+84>>2];D:{if((d|0)!=N[g+80>>2]){break D}f=N[g+72>>2];if(f+1>>>0<=N[g+64>>2]+1>>>0){break D}if(!O[g+62|0]){break b}i=N[g+88>>2];N[g+84>>2]=i;f=T(f,20);if(!f){break D}F(i,d,f)}d=N[g+68>>2];i=N[g+64>>2];if(d>>>0>>0){break a}q=(c<<8|c>>>8)&65535;E:{if(d>>>0>i>>>0){d=N[g+72>>2];f=N[g+84>>2];c=N[g+80>>2]+T(i,20)|0;break E}f=N[g+84>>2];d=N[g+72>>2];c=d-1|0;c=f+T(c>>>0<=d>>>0?c:0,20)|0}d=T(d,20)+f|0;f=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=f;N[d+16>>2]=N[c+16>>2];f=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=f;N[d>>2]=q;N[g+64>>2]=N[g+64>>2]+1;N[g+72>>2]=N[g+72>>2]+1;c=N[j+24>>2]-1|0;q=N[(((c&63)<<2)+j|0)+28>>2];if(c>>>0>l>>>0){while(1){f=c;if(!ec(g,N[(((c&63)<<2)+j|0)+28>>2])){break B}c=N[g+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(g,c)){break B}}c=N[g+84>>2];F:{if((c|0)!=N[g+80>>2]){break F}d=N[g+72>>2];if(d+1>>>0<=N[g+64>>2]+1>>>0){break F}if(!O[g+62|0]){break b}i=N[g+88>>2];N[g+84>>2]=i;d=T(d,20);if(!d){break F}F(i,c,d)}d=N[g+68>>2];c=N[g+64>>2];if(d>>>0>>0){break a}G:{if(c>>>0>>0){d=N[g+72>>2];i=N[g+84>>2];c=N[g+80>>2]+T(c,20)|0;break G}i=N[g+84>>2];d=N[g+72>>2];c=d-1|0;c=i+T(c>>>0<=d>>>0?c:0,20)|0}d=T(d,20)+i|0;i=N[c+4>>2];N[d>>2]=N[c>>2];N[d+4>>2]=i;N[d+16>>2]=N[c+16>>2];i=N[c+12>>2];N[d+8>>2]=N[c+8>>2];N[d+12>>2]=i;N[d>>2]=65535;N[g+64>>2]=N[g+64>>2]+1;N[g+72>>2]=N[g+72>>2]+1;c=f-1|0;if(l>>>0>>0){continue}break}N[j+24>>2]=f}if(!ec(g,q+1|0)){break A}wd(g,N[o+28>>2],N[g+72>>2])}h=h+4|0;if((m|0)>=0){continue}}break}ec(g,r);break A}N[j+24>>2]=f}c=N[g+64>>2];if(!O[g+60|0]|(c|0)==N[g+68>>2]){break v}H:{if(O[e+2|0]&64){d=N[g+152>>2];N[g+152>>2]=d-1;if((d|0)>0){break H}}if(O[g+62|0]){h=N[g+72>>2];d=N[g+84>>2];f=N[g+80>>2];I:{if((d|0)==(f|0)){e=c;if((c|0)==(h|0)){break I}}c=h+1|0;if(!(!c|c>>>0>2])){if(!gb(g,c)){break H}f=N[g+80>>2];d=N[g+84>>2]}J:{if((d|0)!=(f|0)){break J}c=N[g+72>>2];if(c+1>>>0<=N[g+64>>2]+1>>>0){d=f;break J}if(!O[g+62|0]){break b}d=N[g+88>>2];N[g+84>>2]=d;c=T(c,20);if(!c){break J}F(d,f,c);d=N[g+84>>2];f=N[g+80>>2]}c=T(N[g+72>>2],20)+d|0;d=T(N[g+64>>2],20)+f|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;c=N[g+64>>2];e=N[g+72>>2]}N[g+72>>2]=e+1}N[g+64>>2]=c+1}if(O[g+60|0]){continue}break}}Ac(g);break c;case 4:f=N[b+68>>2];e=O[f+4|0]|O[f+5|0]<<8;h=O[f|0]|O[f+1|0]<<8;c=N[b+12>>2];d=N[c+32>>2];if((d|0)==-1){g=c;c=sb(c+56|0);c=O[c+4|0]|O[c+5|0]<<8;d=(c<<8|c>>>8)&65535;N[g+32>>2]=d}c=N[b+16>>2];b=N[c+68>>2];if(!b){break c}a=a+8|0;g=N[c+80>>2];c=0;if((h|0)==256&(e|0)!=0){while(1){e=g+T(c,20)|0;h=cc(a,N[e>>2],d);if(h){h=O[h|0]|O[h+1|0]<<8;h=(h<<8|h>>>8)&65535;N[e>>2]=h;C=e,D=Uc(f,h),M[C+12>>1]=D}c=c+1|0;if((b|0)!=(c|0)){continue}break c}}while(1){e=g+T(c,20)|0;f=cc(a,N[e>>2],d);if(f){f=O[f|0]|O[f+1|0]<<8;N[e>>2]=(f<<8|f>>>8)&65535}c=c+1|0;if((b|0)!=(c|0)){continue}break};break c;case 5:break d;default:break c}}c=O[a+16|0]|O[a+17|0]<<8;e=N[b+16>>2];d=N[b+12>>2];if(N[d+32>>2]==-1){f=d;d=sb(d+56|0);d=O[d+4|0]|O[d+5|0]<<8;N[f+32>>2]=(d<<8|d>>>8)&65535}N[e+72>>2]=0;M[e+62>>1]=1;N[e+64>>2]=0;N[e+84>>2]=N[e+80>>2];K:{if(!O[e+60|0]){break K}r=a+8|0;u=r+((c<<8|c>>>8)&65535)|0;while(1){h=N[e+64>>2];w=h>>>0>=Q[e+68>>2];c=0;L:{if(w){break L}d=N[N[e+80>>2]+T(h,20)>>2];c=2;if((d|0)==65535){break L}f=d;c=O[a+10|0]|O[a+11|0]<<8;d=r+((c<<8|c>>>8)&65535)|0;c=O[d|0]|O[d+1|0]<<8;f=f-((c<<8|c>>>8)&65535)|0;i=O[d+2|0]|O[d+3|0]<<8;c=1;if(f>>>0>=((i<<8|i>>>8)&65535)>>>0){break L}c=O[(d+f|0)+4|0]}d=c;n=O[r|0]|O[r+1|0]<<8;l=(n<<8|n>>>8)&65535;p=c>>>0>>0;if(!p){d=1}f=g;s=T(g,l);g=s+d|0;d=O[a+12|0]|O[a+13|0]<<8;k=(d<<8|d>>>8)&65535;m=k+r|0;d=O[a+14|0]|O[a+15|0]<<8;o=r+((d<<8|d>>>8)&65535)|0;i=(O[g+m|0]<<3)+o|0;d=O[i|0]|O[i+1|0]<<8;g=(((d<<8|d>>>8)&65535)-k|0)/(l|0)|0;d=O[i+2|0]|O[i+3|0]<<8;M:{N:{if((O[i+4|0]|O[i+5|0]<<8)!=65535|(O[i+6|0]|O[i+7|0]<<8)!=65535?d&65283:0){break N}if(!(!f|!(d&64?g:1))){c=o+(O[m+(p?c:1)|0]<<3)|0;f=O[c+2|0]|O[c+3|0]<<8;if((O[c+4|0]|O[c+5|0]<<8)!=65535|(O[c+6|0]|O[c+7|0]<<8)!=65535?f&65283:0){break N}c=O[c|0]|O[c+1|0]<<8;if((d^f)&64|((((c<<8|c>>>8)&65535)-k|0)/(l|0)|0)!=(g|0)){break N}}c=o+(O[m+(s+!n|0)|0]<<3)|0;if(!((O[c+2|0]|O[c+3|0]<<8)&65283)){break M}if((O[c+4|0]|O[c+5|0]<<8)!=65535){break N}if((O[c+6|0]|O[c+7|0]<<8)==65535){break M}}if(w){break M}c=O[e+62|0]?N[e+72>>2]:h;if(!c){break M}wb(e,3,c-1|0,h+1|0,1,1);d=O[i+2|0]|O[i+3|0]<<8}k=d<<8|(d&65280)>>>8;o=k&65535;w=N[e+72>>2];c=O[i+6|0]|O[i+7|0]<<8;O:{if((c|0)!=65535){m=o&31;d=N[e+152>>2]-m|0;N[e+152>>2]=d;if((d|0)<=0){break O}n=u+(((c<<8|c>>>8)&65535)<<1)|0;P:{Q:{if(!m|n>>>0>2]){break Q}c=N[b+28>>2];if(c>>>0>>0){break Q}d=c-n|0;c=m<<1;if(d>>>0>>0){break Q}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break P}}m=0}p=N[e+72>>2];if(!ec(e,q)){break O}R:{S:{s=o&1024;if(!s){c=N[e+64>>2];if(c>>>0>2]){break S}}c=N[e+72>>2];break R}d=N[e+80>>2];c=d+T(c,20)|0;N[j+16>>2]=N[c+16>>2];f=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=f;f=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=f;c=N[e+72>>2]+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}d=N[e+80>>2]}c=N[e+84>>2];T:{if((d|0)!=(c|0)){break T}f=N[e+72>>2];if(Q[e+64>>2]>=f+1>>>0){c=d;break T}if(!O[e+62|0]){break b}c=N[e+88>>2];N[e+84>>2]=c;f=T(f,20);if(!f){break T}F(c,d,f);c=N[e+84>>2]}d=N[j+4>>2];c=T(N[e+72>>2],20)+c|0;N[c>>2]=N[j>>2];N[c+4>>2]=d;N[c+16>>2]=N[j+16>>2];d=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=d;c=N[e+72>>2]+1|0;N[e+72>>2]=c}c=c+m|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}}c=N[e+84>>2];U:{if((c|0)!=N[e+80>>2]){break U}d=N[e+72>>2];if(Q[e+64>>2]>=d+m>>>0){break U}if(!O[e+62|0]){break b}f=N[e+88>>2];N[e+84>>2]=f;d=T(d,20);if(!d){break U}F(f,c,d)}c=N[e+64>>2];f=N[e+68>>2];if(c>>>0>f>>>0){break a}V:{if(c>>>0>>0){l=N[e+72>>2];h=N[e+84>>2];d=N[e+80>>2]+T(c,20)|0;break V}h=N[e+84>>2];l=N[e+72>>2];d=l-1|0;d=h+T(d>>>0<=l>>>0?d:0,20)|0}W:{if(!m){N[e+72>>2]=l;break W}c=T(l,20)+h|0;f=0;X:{if((m|0)!=1){h=m&1;l=m&30;while(1){v=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=v;N[c+16>>2]=N[d+16>>2];v=d+8|0;t=N[v+4>>2];N[c+8>>2]=N[v>>2];N[c+12>>2]=t;v=f<<1;t=v+n|0;t=O[t|0]|O[t+1|0]<<8;N[c>>2]=(t<<8|t>>>8)&65535;N[c+36>>2]=N[d+16>>2];t=N[d+12>>2];N[c+28>>2]=N[d+8>>2];N[c+32>>2]=t;t=N[d+4>>2];N[c+20>>2]=N[d>>2];N[c+24>>2]=t;v=n+(v|2)|0;v=O[v|0]|O[v+1|0]<<8;N[c+20>>2]=(v<<8|v>>>8)&65535;c=c+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break X}}h=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=h;N[c+16>>2]=N[d+16>>2];h=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=h;d=c;c=n+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[d>>2]=(c<<8|c>>>8)&65535}N[e+72>>2]=N[e+72>>2]+m;f=N[e+68>>2];c=N[e+64>>2]}if(!(c>>>0>=f>>>0|s)){N[e+64>>2]=c+1}if(!ec(e,m+p|0)){break O}c=N[e+64>>2]+1|0;d=N[e+68>>2];wb(e,3,q,c>>>0>>0?c:d,1,1)}q=k<<16>>16<0?w:q;c=O[i+4|0]|O[i+5|0]<<8;if((c|0)==65535){break O}k=o>>>5&31;d=N[e+152>>2]-k|0;N[e+152>>2]=d;if((d|0)<=0){break O}n=u+(((c<<8|c>>>8)&65535)<<1)|0;Y:{Z:{if(!k|n>>>0>2]){break Z}c=N[b+28>>2];if(c>>>0>>0){break Z}d=c-n|0;c=k<<1;if(d>>>0>>0){break Z}c=N[b+32>>2]-c|0;N[b+32>>2]=c;if((c|0)>0){break Y}}k=0}m=N[e+72>>2];c=m;w=o&2048;_:{if(w){break _}d=N[e+64>>2];if(d>>>0>=Q[e+68>>2]){break _}f=N[e+80>>2];c=f+T(d,20)|0;N[j+16>>2]=N[c+16>>2];d=N[c+12>>2];N[j+8>>2]=N[c+8>>2];N[j+12>>2]=d;d=N[c+4>>2];N[j>>2]=N[c>>2];N[j+4>>2]=d;c=m+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}f=N[e+80>>2]}c=N[e+84>>2];$:{if((f|0)!=(c|0)){break $}d=N[e+72>>2];if(Q[e+64>>2]>=d+1>>>0){c=f;break $}if(!O[e+62|0]){break b}c=N[e+88>>2];N[e+84>>2]=c;d=T(d,20);if(!d){break $}F(c,f,d);c=N[e+84>>2]}d=N[j+4>>2];c=T(N[e+72>>2],20)+c|0;N[c>>2]=N[j>>2];N[c+4>>2]=d;N[c+16>>2]=N[j+16>>2];d=N[j+12>>2];N[c+8>>2]=N[j+8>>2];N[c+12>>2]=d;c=N[e+72>>2]+1|0;N[e+72>>2]=c}c=c+k|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break O}}c=N[e+84>>2];aa:{if((c|0)!=N[e+80>>2]){break aa}d=N[e+72>>2];if(Q[e+64>>2]>=d+k>>>0){break aa}if(!O[e+62|0]){break b}f=N[e+88>>2];N[e+84>>2]=f;d=T(d,20);if(!d){break aa}F(f,c,d)}c=N[e+64>>2];f=N[e+68>>2];if(c>>>0>f>>>0){break a}ba:{if(c>>>0>>0){l=N[e+72>>2];h=N[e+84>>2];d=N[e+80>>2]+T(c,20)|0;break ba}h=N[e+84>>2];l=N[e+72>>2];d=l-1|0;d=h+T(d>>>0<=l>>>0?d:0,20)|0}ca:{if(!k){N[e+72>>2]=l;break ca}c=T(l,20)+h|0;f=0;da:{if((k|0)!=1){h=k&1;l=k&30;while(1){p=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=p;N[c+16>>2]=N[d+16>>2];p=d+8|0;s=N[p+4>>2];N[c+8>>2]=N[p>>2];N[c+12>>2]=s;p=f<<1;s=p+n|0;s=O[s|0]|O[s+1|0]<<8;N[c>>2]=(s<<8|s>>>8)&65535;N[c+36>>2]=N[d+16>>2];s=N[d+12>>2];N[c+28>>2]=N[d+8>>2];N[c+32>>2]=s;s=N[d+4>>2];N[c+20>>2]=N[d>>2];N[c+24>>2]=s;p=n+(p|2)|0;p=O[p|0]|O[p+1|0]<<8;N[c+20>>2]=(p<<8|p>>>8)&65535;c=c+40|0;f=f+2|0;if((l|0)!=(f|0)){continue}break}if(!h){break da}}h=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=h;N[c+16>>2]=N[d+16>>2];h=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=h;d=c;c=n+(f<<1)|0;c=O[c|0]|O[c+1|0]<<8;N[d>>2]=(c<<8|c>>>8)&65535}N[e+72>>2]=N[e+72>>2]+k;f=N[e+68>>2];c=N[e+64>>2]}if(!(c>>>0>=f>>>0|w)){N[e+64>>2]=c+1}ec(e,m+(o&16384?0:k)|0)}c=N[e+64>>2];if(!O[e+60|0]|(c|0)==N[e+68>>2]){break K}ea:{if(O[i+2|0]&64){d=N[e+152>>2];N[e+152>>2]=d-1;if((d|0)>0){break ea}}if(O[e+62|0]){i=N[e+72>>2];d=N[e+84>>2];f=N[e+80>>2];fa:{if((d|0)==(f|0)){h=c;if((c|0)==(i|0)){break fa}}c=i+1|0;if(!(!c|c>>>0>2])){if(!gb(e,c)){break ea}f=N[e+80>>2];d=N[e+84>>2]}ga:{if((d|0)!=(f|0)){break ga}c=N[e+72>>2];if(c+1>>>0<=N[e+64>>2]+1>>>0){d=f;break ga}if(!O[e+62|0]){break b}d=N[e+88>>2];N[e+84>>2]=d;c=T(c,20);if(!c){break ga}F(d,f,c);d=N[e+84>>2];f=N[e+80>>2]}c=T(N[e+72>>2],20)+d|0;d=T(N[e+64>>2],20)+f|0;f=N[d+4>>2];N[c>>2]=N[d>>2];N[c+4>>2]=f;N[c+16>>2]=N[d+16>>2];f=N[d+12>>2];N[c+8>>2]=N[d+8>>2];N[c+12>>2]=f;c=N[e+64>>2];h=N[e+72>>2]}N[e+72>>2]=h+1}N[e+64>>2]=c+1}if(O[e+60|0]){continue}break}}Ac(e)}La=j+288|0;return}ba(8694,17855,209,11932);B()}ba(13080,14165,312,10949);B()}function mc(a){var 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,t=0,u=0,v=0;b=N[a>>2];if(!b){u=a-100|0;while(1){b=N[u>>2];if(!b){return 275552}o=db(1,12);if(!o){N[a>>2]=275552;return 275552}r=0;j=La-48|0;La=j;N[o>>2]=0;N[j+16>>2]=0;N[j+20>>2]=0;N[j+32>>2]=0;c=N[b+32>>2];if((c|0)==-1){c=sb(b+56|0);c=O[c+4|0]|O[c+5|0]<<8;c=(c<<8|c>>>8)&65535;N[b+32>>2]=c}L[j+44|0]=1;N[j+40>>2]=c;c=N[b+12>>2];a:{if(c){i=Qa[c|0](b,1196445523,N[b+16>>2])|0;if(i){break a}}i=275552}b:{c:{d:{e:{f:{g:{h:{i:{j:{c=N[i>>2];if(c){if((c|0)<=0){break j}N[i>>2]=c+1}L[j+28|0]=0;N[j+36>>2]=i;c=N[i+12>>2];N[j+8>>2]=c;d=N[i+16>>2];N[j+12>>2]=d+c;if((d|0)<0){break i}if(d>>>0>67108863){e=1073741819}else{b=d<<6;b=b>>>0<=16384?16384:b;e=(b>>>0>=1073741823?1073741823:b)-4|0}N[j+24>>2]=0;N[j+4>>2]=0;N[j+32>>2]=0;b=i;if(!c){break c}if(d>>>0<4){break g}N[j+16>>2]=e;if((O[c|0]|O[c+1|0]<<8)!=256){break h}if(bh(c,j+4|0)){break h}if(O[j+28|0]|!N[j+32>>2]){break g}if(!zb(i)){break g}while(1){L[j+28|0]=1;b=N[j+36>>2];c=N[b+12>>2];N[j+8>>2]=c;d=N[b+16>>2];N[j+12>>2]=d+c;if((d|0)<0){break i}if(d>>>0>67108863){e=1073741823}else{e=d<<6;e=e>>>0<=16384?16384:e;e=e>>>0>=1073741823?1073741823:e}N[j+24>>2]=0;N[j+4>>2]=0;N[j+32>>2]=0;if(!c){break c}if(d>>>0<4){break g}N[j+16>>2]=e-4;if((O[c|0]|O[c+1|0]<<8)!=256){break h}if(bh(c,j+4|0)){break h}if(O[j+28|0]|!N[j+32>>2]){break g}c=zb(i);N[j+8>>2]=c;N[j+12>>2]=c+N[i+16>>2];if(c){continue}break}break g}ba(23506,14099,260,16403);B()}ba(16656,14279,195,9642);B()}if(!N[j+32>>2]){break f}N[j+32>>2]=0;if(Q[j+8>>2]>c>>>0){break g}b=N[j+12>>2];if(b>>>0>>0|b-c>>>0<4){break g}b=N[j+16>>2]-4|0;N[j+16>>2]=b;if((b|0)<=0){break g}if((O[c|0]|O[c+1|0]<<8)!=256){break f}c=bh(c,j+4|0);if(N[j+32>>2]){break g}ab(N[j+36>>2]);N[j+36>>2]=0;if(c){break e}break d}ab(N[j+36>>2]);break d}ab(N[j+36>>2]);N[j+36>>2]=0}if(!N[i+4>>2]){break b}N[i+4>>2]=0;break b}ab(i);i=275552;break b}ab(b)}N[o>>2]=i;c=0;b=Q[i+16>>2]<4?275552:N[i+12>>2];if((O[b|0]|O[b+1|0]<<8)==256){c=O[b+8|0]|O[b+9|0]<<8;if(c){c=b+((c<<8|c>>>8)&65535)|0}else{c=275552}c=O[c|0]|O[c+1|0]<<8;c=(c<<8|c>>>8)&65535}N[o+4>>2]=c;b=db(c,28);N[o+8>>2]=b;if(!b){N[o+4>>2]=0;ab(i);N[o>>2]=275552;c=N[o+4>>2]}if(c){while(1){p=275552;n=N[o+8>>2]+T(r,28)|0;c=N[o>>2];c=c?c:275552;c=Q[c+16>>2]<4?275552:N[c+12>>2];k:{if((O[c|0]|O[c+1|0]<<8)!=256){break k}i=275552;b=O[c+8|0]|O[c+9|0]<<8;if(b){i=c+((b<<8|b>>>8)&65535)|0}c=O[i|0]|O[i+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break k}c=(r<<1)+i|0;c=O[c+2|0]|O[c+3|0]<<8;if(!c){break k}p=((c<<8|c>>>8)&65535)+i|0}N[n+20>>2]=0;c=n+12|0;N[c>>2]=0;N[c+4>>2]=0;N[j+12>>2]=-1;N[j+16>>2]=0;N[j+8>>2]=c;N[j+4>>2]=0;c=O[p+4|0]|O[p+5|0]<<8;l:{if(!c){N[n>>2]=0;N[n+4>>2]=0;N[n+8>>2]=0;N[n+24>>2]=-1;break l}b=O[p|0]|O[p+1|0]<<8;s=(b<<8|b>>>8)&65535;t=p+4|0;c=(c<<8|c>>>8)&65535;v=c>>>0<=1?1:c;i=0;while(1){c=O[t|0]|O[t+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=i>>>0?275552:((i<<1)+t|0)+2|0;c=O[c|0]|O[c+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+p|0}else{c=275552}q=j+4|0;b=s;g=0;e=La-32|0;La=e;m:{n:{o:{p:{q:{r:{s:{t:{u:{v:{w:{x:{y:{z:{A:{B:{C:{while(1){D:{if((b|0)!=9){E:{switch(b-1|0){case 0:F:{G:{b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break F;case 0:break G;default:break m}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=204;N[e+12>>2]=205;N[e+8>>2]=206;N[e+4>>2]=c;H:{I:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break H;case 0:break I;default:break n}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break n}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;J:{if((b|0)==256){d=0;b=c;break J}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break o}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break o}Ub(c,e+20|0);break n}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=207;N[e+12>>2]=208;N[e+8>>2]=209;N[e+4>>2]=c;K:{L:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break K;case 0:break L;default:break p}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break p}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;M:{if((b|0)==256){d=0;b=c;break M}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break q}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break q}Ub(c,e+20|0);break p;case 1:N:{O:{b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break N;case 0:break O;default:break m}}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=210;N[e+12>>2]=211;N[e+8>>2]=212;N[e+4>>2]=c;P:{Q:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break P;case 0:break Q;default:break r}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break r}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;R:{if((b|0)==256){d=0;b=c;break R}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break s}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break s}Ub(c,e+20|0);break r}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=213;N[e+12>>2]=214;N[e+8>>2]=215;N[e+4>>2]=c;S:{T:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break S;case 0:break T;default:break t}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break t}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;U:{if((b|0)==256){d=0;b=c;break U}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break u}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break u}Ub(c,e+20|0);break t;case 2:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=216;N[e+12>>2]=217;N[e+8>>2]=218;N[e+4>>2]=c;V:{W:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break V;case 0:break W;default:break v}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break v}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;X:{if((b|0)==256){d=0;b=c;break X}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break w}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break w}Ub(c,e+20|0);break v;case 3:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=219;N[e+12>>2]=220;N[e+8>>2]=221;N[e+4>>2]=c;Y:{Z:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break Y;case 0:break Z;default:break x}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break x}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;_:{if((b|0)==256){d=0;b=c;break _}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break y}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break y}Ub(c,e+20|0);break x;case 4:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=222;N[e+12>>2]=223;N[e+8>>2]=224;N[e+4>>2]=c;$:{aa:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break $;case 0:break aa;default:break z}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break z}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;ba:{if((b|0)==256){d=0;b=c;break ba}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break A}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break A}Ub(c,e+20|0);break z;case 5:if((O[c|0]|O[c+1|0]<<8)!=256){break m}N[e+28>>2]=0;N[e+20>>2]=0;N[e+24>>2]=0;N[e+16>>2]=225;N[e+12>>2]=226;N[e+8>>2]=227;N[e+4>>2]=c;ca:{da:{b=O[c+2|0]|O[c+3|0]<<8;if(b){c=((b<<8|b>>>8)&65535)+c|0}else{c=275552}b=O[c|0]|O[c+1|0]<<8;switch(((b<<8|b>>>8)&65535)-1|0){case 1:break ca;case 0:break da;default:break B}}b=O[c+2|0]|O[c+3|0]<<8;if(!b){break B}c=c+4|0;m=b<<8|b>>>8;k=m&65535;f=k&1;ea:{if((b|0)==256){d=0;b=c;break ea}h=k&65534;d=0;b=c;while(1){l=d;d=O[b|0]|O[b+1|0]<<8;l=l|1<<(d>>>12|d<<4);d=O[b+2|0]|O[b+3|0]<<8;d=l|1<<(d>>>12|d<<4);b=b+4|0;g=g+2|0;if((h|0)!=(g|0)){continue}break}}if(f){b=O[b|0]|O[b+1|0]<<8;d=1<<(b>>>12|b<<4)|d}N[e+20>>2]=d;h=k&3;g=0;b=c;d=0;if((m&65535)>>>0>=4){l=k&65532;f=0;while(1){d=1<>2]=d;d=0;if((m&65535)>>>0<4){b=0;break C}f=k&65532;b=0;g=0;while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b|1<<((O[c+2|0]|O[c+3|0]<<8)>>>1)|1<<((O[c+4|0]|O[c+5|0]<<8)>>>1)|1<<((O[c+6|0]|O[c+7|0]<<8)>>>1);c=c+8|0;g=g+4|0;if((f|0)!=(g|0)){continue}break}break C}Ub(c,e+20|0);break B;case 6:break D;case 7:break E;default:break m}}Wk(c,q);break m}if((O[c|0]|O[c+1|0]<<8)!=256){break m}b=O[c+2|0]|O[c+3|0]<<8;b=(b<<8|b>>>8)&65535;d=O[c+4|0]|O[c+5|0]<<8|(O[c+6|0]<<16|O[c+7|0]<<24);if(d){c=(d<<24|(d&65280)<<8|(d>>>8&65280|d>>>24))+c|0}else{c=275552}continue}break}Vk(c,q);break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}fa:{ga:{ha:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ga}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break fa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ia:{ja:{ka:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ja}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ia}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}la:{ma:{na:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ma}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break la}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}oa:{pa:{qa:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break pa}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break oa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ra:{sa:{ta:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break sa}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ra}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}ua:{va:{wa:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break va}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break ua}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}xa:{ya:{za:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break za}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break ya}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break xa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b;break m}if(h){while(1){b=1<<((O[c|0]|O[c+1|0]<<8)>>>1)|b;c=c+2|0;d=d+1|0;if((h|0)!=(d|0)){continue}break}}N[e+28>>2]=b}Aa:{Ba:{Ca:{f=N[q+4>>2];b=N[f>>2];if((b|0)>=0){c=N[f+4>>2];d=c+1|0;if(d>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){g=$a(N[f+8>>2],T(b,28));if(g){break Ba}}N[f>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;break m}g=N[f+8>>2];break Aa}N[f>>2]=b;N[f+8>>2]=g;c=N[f+4>>2];d=c+1|0}N[f+4>>2]=d;b=N[e+8>>2];c=T(c,28)+g|0;N[c>>2]=N[e+4>>2];N[c+4>>2]=b;N[c+24>>2]=N[e+28>>2];b=N[e+24>>2];N[c+16>>2]=N[e+20>>2];N[c+20>>2]=b;b=N[e+16>>2];N[c+8>>2]=N[e+12>>2];N[c+12>>2]=b}La=e+32|0;i=i+1|0;if((v|0)!=(i|0)){continue}break}i=N[n+20>>2];c=N[n+16>>2];N[n+8>>2]=0;N[n>>2]=0;N[n+4>>2]=0;if(!c){N[n+24>>2]=N[j+12>>2];break l}d=T(c,28)-28|0;e=((d>>>0)/28|0)+1|0;s=e&1;b=0;Da:{if(d>>>0<28){e=0;d=0;break Da}g=e&536870910;e=0;d=0;p=0;while(1){b=N[i+16>>2]|b;N[n>>2]=b;e=N[i+20>>2]|e;N[n+4>>2]=e;d=N[i+24>>2]|d;N[n+8>>2]=d;b=b|N[i+44>>2];N[n>>2]=b;e=e|N[i+48>>2];N[n+4>>2]=e;d=d|N[i+52>>2];N[n+8>>2]=d;i=i+56|0;p=p+2|0;if((g|0)!=(p|0)){continue}break}}if(s){N[n>>2]=N[i+16>>2]|b;N[n+4>>2]=N[i+20>>2]|e;N[n+8>>2]=N[i+24>>2]|d}N[n+24>>2]=N[j+12>>2];i=0;while(1){if(N[n+24>>2]!=(i|0)){Ea:{if(c>>>0<=i>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=N[n+16>>2];b=0;break Ea}b=N[(N[n+20>>2]+T(i,28)|0)+4>>2]}Fa:{if(c>>>0<=i>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;c=N[n+16>>2];d=589824;break Fa}d=N[n+20>>2]+T(i,28)|0}N[d+8>>2]=b}i=i+1|0;if(i>>>0>>0){continue}break}}r=r+1|0;if(r>>>0>2]){continue}break}}La=j+48|0;if(!N[a>>2]){N[a>>2]=o;return o}if(N[o+4>>2]){b=0;while(1){c=N[o+8>>2]+T(b,28)|0;if(N[c+16>>2]){N[c+16>>2]=0}_a(N[c+20>>2]);N[c+16>>2]=0;N[c+20>>2]=0;N[c+12>>2]=0;b=b+1|0;if(b>>>0>2]){continue}break}}_a(N[o+8>>2]);ab(N[o>>2]);_a(o);b=N[a>>2];if(!b){continue}break}}return b}function Kg(a){var 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,t=0,u=0;b=N[a>>2];if(!b){t=a+-64|0;while(1){f=N[t>>2];if(!f){return 275552}c=db(1,224);if(!c){N[a>>2]=275552;return 275552}N[c+36>>2]=65536;g=La-8304|0;La=g;N[c+88>>2]=0;N[c+92>>2]=0;N[c+104>>2]=0;N[c+108>>2]=0;N[c+96>>2]=0;N[c+100>>2]=0;h=c+112|0;b=h;N[b>>2]=-1;N[b+4>>2]=-1;N[c+120>>2]=-1;N[c+124>>2]=-1;N[c+128>>2]=-1;N[c+132>>2]=-1;N[c+136>>2]=-1;N[c+140>>2]=-1;N[c+144>>2]=-1;N[c+148>>2]=-1;N[c+152>>2]=-1;N[c+168>>2]=0;N[c+172>>2]=0;N[c+160>>2]=0;N[c+164>>2]=8720;N[c+176>>2]=0;N[c+180>>2]=0;N[c+184>>2]=0;N[c+188>>2]=0;n=c+192|0;b=n;N[b>>2]=0;N[b+4>>2]=0;N[c+200>>2]=0;N[c+204>>2]=0;N[c+208>>2]=0;N[c+212>>2]=0;if(!O[c+40|0]){i=N[f+32>>2];if((i|0)==-1){b=sb(f+56|0);b=O[b+4|0]|O[b+5|0]<<8;i=(b<<8|b>>>8)&65535;N[f+32>>2]=i}L[c+40|0]=1;N[c+36>>2]=i}b=N[f+12>>2];a:{if(b){e=Qa[b|0](f,1128678944,N[f+16>>2])|0;if(e){break a}}e=275552}b:{c:{b=N[e>>2];if(b){if((b|0)<=0){break c}N[e>>2]=b+1}L[c+24|0]=0;N[c+32>>2]=e;f=N[e+12>>2];N[c+4>>2]=f;d=N[e+16>>2];N[c+8>>2]=d+f;if((d|0)>=0){d:{N[c+28>>2]=0;if(d>>>0>67108863){b=1073741823}else{b=d<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[c+12>>2]=b;N[c+20>>2]=0;N[c>>2]=0;e:{if(!f){ab(e);N[c+32>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;break e}f:{if(d>>>0>=4){N[c+12>>2]=b-4;b=O[f|0];ab(e);N[c+32>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0;if((b|0)!=1){break f}if(!N[e+4>>2]){break e}N[e+4>>2]=0;break e}ab(e);N[c+32>>2]=0;N[c+4>>2]=0;N[c+8>>2]=0}ab(e);e=275552}N[c+44>>2]=e;g:{b=N[e>>2];if(b){if((b|0)<=0){break g}N[e>>2]=b+1}L[c+24|0]=0;N[c+32>>2]=e;b=N[e+12>>2];N[c+4>>2]=b;f=b;b=N[e+16>>2];N[c+8>>2]=f+b;if((b|0)>=0){N[c+28>>2]=0;if(b>>>0>67108863){b=1073741823}else{b=b<<6;b=b>>>0<=16384?16384:b;b=b>>>0>=1073741823?1073741823:b}N[c+12>>2]=b;N[c+20>>2]=0;N[c>>2]=0;h:{i:{if(Q[e+16>>2]<4){break i}q=N[e+12>>2];if((q|0)==275552){break i}b=O[q+2|0]+q|0;N[c+56>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}j=N[c+56>>2];b=O[j|0]|O[j+1|0]<<8;if(b){d=O[j+2|0];b=(b<<8|b>>>8)&65535;e=T(d,b+1|0);b=j+T(b,d)|0;f=0;j:{k:{switch(d-1|0){case 0:f=O[b+3|0];break j;case 1:b=O[b+3|0]|O[b+4|0]<<8;f=(b<<8|b>>>8)&65535;break j;case 2:f=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break j;case 3:break k;default:break j}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(e+f|0)+2|0}else{b=2}b=b+j|0;N[c+60>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}b=N[c+60>>2];if(!(O[b|0]|O[b+1|0]<<8)){break i}gd(g+16|0,b,0);e=N[g+20>>2];if(e){f=N[g+16>>2];if(f>>>0>2]){break i}b=N[c+8>>2];if(b>>>0>>0|e>>>0>b-f>>>0){break i}b=N[c+12>>2]-e|0;N[c+12>>2]=b;if((b|0)<=0){break i}}j=c+204|0;L[g+4184|0]=0;C(g+4188|0,0,4108);N[g+8296>>2]=0;N[g+8300>>2]=0;N[g+4176>>2]=0;f=N[g+20>>2];b=N[g+16>>2];N[g+4168>>2]=b;N[g+4172>>2]=f;N[c+104>>2]=0;N[c+108>>2]=0;N[c+96>>2]=0;N[c+100>>2]=0;N[c+88>>2]=0;N[c+92>>2]=0;N[h+40>>2]=-1;N[h+32>>2]=-1;N[h+36>>2]=-1;N[h+24>>2]=-1;N[h+28>>2]=-1;N[h+16>>2]=-1;N[h+20>>2]=-1;N[h+8>>2]=-1;N[h+12>>2]=-1;N[h>>2]=-1;N[h+4>>2]=-1;N[c+160>>2]=0;N[c+164>>2]=8720;N[c+184>>2]=0;N[c+188>>2]=0;N[c+176>>2]=0;N[c+180>>2]=0;N[c+168>>2]=0;N[c+172>>2]=0;i=f;p=g+4184|0;e=0;while(1){l:{m:{n:{f=e+1|0;if(f>>>0<=i>>>0){d=N[g+4168>>2];b=O[d+e|0];N[g+4176>>2]=f;o:{if((b|0)!=12){e=f;break o}e=e+2|0;if(i>>>0>>0){e=N[c+88>>2];b=N[g+8300>>2];N[g+8300>>2]=f;m=b+(e^-1)|0;b=65535;break n}b=O[d+f|0];N[g+4176>>2]=e;b=b|256}m=N[g+8300>>2]+(N[c+88>>2]^-1)|0;f=0;p:{q:{switch(b|0){case 0:case 1:case 2:case 3:case 4:case 256:case 277:case 278:case 294:f=N[g+4188>>2];r:{if(!f){d=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break r}l=S[p+(f<<3)>>3];s:{if(V(l)<2147483648){d=~~l;break s}d=-2147483648}f=0;if((d|0)>=0){break r}L[g+4184|0]=1;d=0;f=1}t:{u:{v:{w:{x:{y:{z:{A:{B:{switch(b-1|0){default:k=0;switch(b-256|0){case 22:break u;case 38:break v;case 21:break w;case 0:break A;default:break t};case 3:break x;case 2:break y;case 1:break z;case 0:break B}}k=1;break t}k=2;break t}k=3;break t}k=4;break t}k=5;break t}k=6;break t}k=7;break t}k=8}N[h+(k<<2)>>2]=d;break p;case 290:b=N[g+4188>>2];C:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break C}l=S[p+(b<<3)>>3];D:{if(V(l)<2147483648){b=~~l;break D}b=-2147483648}f=0;if((b|0)>=0){break C}L[g+4184|0]=1;b=0;f=1}N[c+164>>2]=b;b=290;break p;case 286:E:{F:{G:{H:{k=N[g+4188>>2];I:{if(!k){N[c+160>>2]=0;break I}d=k-1|0;l=S[(p+(d<<3)|0)+8>>3];J:{if(V(l)<2147483648){b=~~l;break J}b=-2147483648}if((b|0)<0){L[g+4184|0]=1;f=1;b=0}N[c+160>>2]=b;if(d){break H}}N[147456]=0;N[147457]=0;L[g+4184|0]=1;N[c+152>>2]=0;break G}k=k-2|0;N[g+4188>>2]=k;d=p+(k<<3)|0;l=S[d+8>>3];K:{if(V(l)<2147483648){b=~~l;break K}b=-2147483648}if((b|0)<0){L[g+4184|0]=1;f=1;b=0}N[c+152>>2]=b;if(k){break F}}b=0;N[147456]=0;N[147457]=0;f=1;L[g+4184|0]=1;break E}l=S[d>>3];L:{if(V(l)<2147483648){b=~~l;break L}b=-2147483648}if((b|0)>=0){break E}f=1;L[g+4184|0]=1;b=0}N[c+148>>2]=b;b=286;break p;case 16:M:{b=N[g+4188>>2];N:{if(!b){N[147456]=0;N[147457]=0;break N}l=S[p+(b<<3)>>3];O:{if(V(l)<2147483648){d=~~l;break O}d=-2147483648}if((d|0)>=0){break M}}L[g+4184|0]=1;N[c+168>>2]=0;N[g+4188>>2]=0;break l}N[c+168>>2]=d;N[g+4188>>2]=0;b=16;if(d){break m}break l;case 15:P:{b=N[g+4188>>2];Q:{if(!b){N[147456]=0;N[147457]=0;break Q}l=S[p+(b<<3)>>3];R:{if(V(l)<2147483648){d=~~l;break R}d=-2147483648}if((d|0)>=0){break P}}L[g+4184|0]=1;N[c+172>>2]=0;N[g+4188>>2]=0;break l}N[c+172>>2]=d;N[g+4188>>2]=0;b=15;if(d){break m}break l;case 293:b=N[g+4188>>2];S:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break S}l=S[p+(b<<3)>>3];T:{if(V(l)<2147483648){b=~~l;break T}b=-2147483648}f=0;if((b|0)>=0){break S}L[g+4184|0]=1;b=0;f=1}N[c+176>>2]=b;b=293;break p;case 18:U:{V:{k=N[g+4188>>2];W:{if(!k){N[c+180>>2]=0;break W}d=k-1|0;l=S[(p+(d<<3)|0)+8>>3];X:{if(V(l)<2147483648){b=~~l;break X}b=-2147483648}if((b|0)<0){L[g+4184|0]=1;f=1;b=0}N[c+180>>2]=b;if(d){break V}}b=0;N[147456]=0;N[147457]=0;f=1;L[g+4184|0]=1;break U}l=S[(p+(k<<3)|0)-8>>3];Y:{if(V(l)<2147483648){b=~~l;break Y}b=-2147483648}if((b|0)>=0){break U}f=1;L[g+4184|0]=1;b=0}N[c+184>>2]=b;b=18;break p;case 5:case 13:case 14:case 257:case 258:case 259:case 260:case 261:case 262:case 264:case 276:case 279:case 287:case 288:case 289:case 291:break p;default:break q}}N[g+8300>>2]=e;if((b|0)!=292){if((b|0)==263){break p}if((b|0)!=17){break n}b=N[g+4188>>2];Z:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break Z}l=S[p+(b<<3)>>3];_:{if(V(l)<2147483648){b=~~l;break _}b=-2147483648}f=0;if((b|0)>=0){break Z}L[g+4184|0]=1;b=0;f=1}N[c+104>>2]=b;b=17;break p}b=N[g+4188>>2];$:{if(!b){b=0;N[147456]=0;N[147457]=0;L[g+4184|0]=1;f=1;break $}l=S[p+(b<<3)>>3];aa:{if(V(l)<2147483648){b=~~l;break aa}b=-2147483648}f=0;if((b|0)>=0){break $}L[g+4184|0]=1;b=0;f=1}N[c+108>>2]=b;b=292}N[g+4188>>2]=0;break m}b=N[c+172>>2];ba:{if(b>>>0<=2){N[c+52>>2]=275552;break ba}d=b+q|0;N[c+52>>2]=d;if((d|0)==275552){break i}k=0;ca:{da:{m=N[c+4>>2];ea:{if(m>>>0>d>>>0){break ea}o=N[c+8>>2];if(o>>>0<=d>>>0){break ea}b=N[c+12>>2];e=b-1|0;N[c+12>>2]=e;if((e|0)<=0){break ea}fa:{switch(O[d|0]){case 0:f=(d+(N[c+36>>2]<<1)|0)-1|0;if(f>>>0>>0|f>>>0>o>>>0|o-f>>>0<2){break ea}b=b-3|0;N[c+12>>2]=b;k=(b|0)>0;break ca;case 1:k=1;f=N[c+36>>2]-1|0;if(!f){break ea}i=d+1|0;b=0;while(1){h=i+T(b,3)|0;if(h>>>0>>0|h>>>0>o>>>0|o-h>>>0<3){break da}d=e-3|0;N[c+12>>2]=d;if((e|0)<4){break da}h=O[h+2|0];if(h>>>0>=f>>>0){break da}b=b+1|0;e=d;f=(h^-1)+f|0;if(f){continue}break};break ea;case 2:break fa;default:break ea}}k=1;f=N[c+36>>2]-1|0;if(!f){break ea}i=d+1|0;b=0;while(1){h=i+(b<<2)|0;if(h>>>0>>0|h>>>0>o>>>0|o-h>>>0<4){break da}d=e-4|0;N[c+12>>2]=d;if((e|0)<5){break da}e=O[h+2|0]|O[h+3|0]<<8;h=(e<<8|e>>>8)&65535;if(h>>>0>=f>>>0){break da}b=b+1|0;e=d;f=(h^-1)+f|0;if(f){continue}break}}break ca}k=0}if(!k){break i}}N[c+84>>2]=1;ga:{ha:{if(N[c+148>>2]!=-1){b=N[c+108>>2];f=b?b+q|0:275552;N[c+76>>2]=f;b=N[c+176>>2];N[c+80>>2]=b?b+q|0:275552;if((f|0)==275552){break i}if(!Fd(f,c)){break i}h=N[c+80>>2];if((h|0)==275552){break i}b=N[c+76>>2];b=O[b|0]|O[b+1|0]<<8;f=(b<<8|b>>>8)&65535;d=0;ia:{if(h>>>0>2]){break ia}b=N[c+8>>2];if(b>>>0<=h>>>0){break ia}e=N[c+12>>2]-1|0;N[c+12>>2]=e;if((e|0)<=0){break ia}ja:{switch(O[h|0]){case 0:f=N[c+36>>2];if(f){if(f>>>0>b+(h^-1)>>>0){break ia}b=e-f|0;N[c+12>>2]=b;if((b|0)<=0){break ia}}d=1;break ia;case 3:break ja;default:break ia}}d=Yp(h+1|0,c,f)}if(!d){break i}b=N[c+76>>2];b=O[b|0]|O[b+1|0]<<8;N[c+48>>2]=275552;N[c+84>>2]=(b<<8|b>>>8)&65535;f=c+48|0;if(N[c+148>>2]==-1){break ha}if(N[c+52>>2]!=275552){break ga}break i}N[c+80>>2]=275552;N[c+76>>2]=275552;N[c+48>>2]=275552;f=c+48|0}b=N[c+168>>2];if(b>>>0<2){break ga}k=b+q|0;N[f>>2]=k;if((k|0)==275552){break i}ka:{la:{if(k>>>0>2]){break la}i=N[c+8>>2];if(i>>>0<=k>>>0){break la}h=N[c+12>>2];b=h-1|0;N[c+12>>2]=b;if((b|0)<=0){break la}d=0;ma:{na:{oa:{pa:{qa:{e=O[k|0];f=e&127;switch(f|0){case 1:break pa;case 0:break qa;default:break ma}}if(i>>>0<=k+1>>>0){break la}d=h-2|0;N[c+12>>2]=d;if(!d){break la}b=O[k+1|0];if(!b){break na}if(b>>>0<=i+(k+1^-1)>>>0){break oa}break la}if(i>>>0<=k+1>>>0){break la}d=h-2|0;N[c+12>>2]=d;if(!d){break la}b=O[k+1|0];if(!b){break na}b=b<<1;if(b>>>0>i+(k+1^-1)>>>0){break la}b=d-b|0;N[c+12>>2]=b;if((b|0)>0){break na}break la}b=d-b|0;N[c+12>>2]=b;d=0;if((b|0)<=0){break ma}}d=1;if(e<<24>>24>=0){break ma}d=275552;ra:{sa:{switch(f|0){case 0:b=O[k+1|0];if(!b){d=275553;break ra}d=(b+k|0)+2|0;break ra;case 1:break sa;default:break ra}}b=O[k+1|0];if(b){b=k+(b<<1)|0}else{b=275552}d=b+2|0}if(Q[c+4>>2]>d>>>0){break la}f=N[c+8>>2];if(f>>>0<=d>>>0){break la}e=N[c+12>>2]-1|0;N[c+12>>2]=e;if((e|0)<=0){break la}b=O[d|0];if(b){b=T(b,3);if(b>>>0>f+(d^-1)>>>0){break la}b=e-b|0;N[c+12>>2]=b;d=0;if((b|0)<=0){break ma}}d=1}break ka}d=0}if(!d){break i}}h=N[c+60>>2];b=O[h|0]|O[h+1|0]<<8;if(b){d=O[h+2|0];b=(b<<8|b>>>8)&65535;e=T(d,b+1|0);b=h+T(b,d)|0;f=0;ta:{ua:{switch(d-1|0){case 0:f=O[b+3|0];break ta;case 1:b=O[b+3|0]|O[b+4|0]<<8;f=(b<<8|b>>>8)&65535;break ta;case 2:f=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break ta;case 3:break ua;default:break ta}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);f=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(e+f|0)+2|0}else{b=2}b=b+h|0;N[c+64>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}e=N[c+64>>2];b=O[e|0]|O[e+1|0]<<8;if(b){h=O[e+2|0];b=(b<<8|b>>>8)&65535;f=T(h,b+1|0);b=e+T(b,h)|0;d=0;va:{wa:{switch(h-1|0){case 0:d=O[b+3|0];break va;case 1:b=O[b+3|0]|O[b+4|0]<<8;d=(b<<8|b>>>8)&65535;break va;case 2:d=O[b+5|0]|(O[b+4|0]<<8|O[b+3|0]<<16);break va;case 3:break wa;default:break va}}b=O[b+3|0]|O[b+4|0]<<8|(O[b+5|0]<<16|O[b+6|0]<<24);d=b<<24|(b&65280)<<8|(b>>>8&65280|b>>>24)}b=(d+f|0)+2|0}else{b=2}b=b+e|0;N[c+68>>2]=b;if((b|0)!=275552){if(!Fd(b,c)){break i}}b=N[c+104>>2];b=b?b+q|0:275552;N[c+72>>2]=b;if((b|0)==275552){break i}if(!Fd(b,c)){break i}b=N[c+72>>2];b=O[b|0]|O[b+1|0]<<8;b=(b<<8|b>>>8)&65535;N[c+216>>2]=b;if((b|0)!=N[c+36>>2]){break i}b=N[c+84>>2];k=0;m=N[j>>2];xa:{if((m|0)>=0){h=(b|0)>0?b:0;if(h>>>0>m>>>0){while(1){m=((m>>>1|0)+m|0)+8|0;if(h>>>0>=m>>>0){continue}break}ya:{if(m>>>0<=178956970){e=kb(T(m,24));if(e){if(N[j+4>>2]){while(1){f=T(k,24);d=f+e|0;i=f+N[j+8>>2]|0;N[d>>2]=N[i>>2];N[d+4>>2]=N[i+4>>2];N[i+4>>2]=0;N[d+8>>2]=N[i+8>>2];N[i+8>>2]=0;N[d+12>>2]=N[i+12>>2];N[i+12>>2]=0;b=N[i+20>>2];N[d+16>>2]=N[i+16>>2];N[d+20>>2]=b;b=f+N[j+8>>2]|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;k=k+1|0;if(k>>>0>2]){continue}break}}_a(N[j+8>>2])}if(e){break ya}}N[j>>2]=-1;b=0;break xa}N[j>>2]=m;N[j+8>>2]=e}d=N[j+4>>2];za:{if(h>>>0>d>>>0){while(1){N[j+4>>2]=d+1;b=N[j+8>>2]+T(d,24)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;d=N[j+4>>2];if(h>>>0>d>>>0){continue}break za}}if(d>>>0<=h>>>0){break za}while(1){b=(N[j+8>>2]+T(d,24)|0)-24|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;d=N[j+4>>2]-1|0;N[j+4>>2]=d;if(d>>>0>h>>>0){continue}break}}N[j+4>>2]=h;b=1}else{b=0}}if(!b){break i}Aa:{if(N[c+84>>2]){i=0;while(1){Ba:{if(Q[c+208>>2]<=i>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break Ba}b=N[c+212>>2]+T(i,24)|0}N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;i=i+1|0;b=N[c+84>>2];if(i>>>0>>0){continue}break}if(N[c+148>>2]==-1){break Aa}if(!b){break h}u=g+36|0;p=g+4188|0;f=0;while(1){gd(g+4152|0,N[c+76>>2],f);d=N[g+4156>>2];if(d){e=N[g+4152>>2];if(e>>>0>2]){break i}b=N[c+8>>2];if(b>>>0>>0|d>>>0>b-e>>>0){break i}b=N[c+12>>2]-d|0;N[c+12>>2]=b;if((b|0)<=0){break i}}L[g+4184|0]=0;C(p,0,4108);N[g+8296>>2]=0;N[g+8300>>2]=0;N[g+4176>>2]=0;b=N[g+4156>>2];N[g+4168>>2]=N[g+4152>>2];N[g+4172>>2]=b;N[g+4148>>2]=g+4168;k=0;Ca:{Da:{Ea:{m=N[n>>2];if((m|0)>=0){e=N[n+4>>2];b=e+1|0;h=(b|0)>0?b:0;if(h>>>0<=m>>>0){break Da}while(1){m=((m>>>1|0)+m|0)+8|0;if(h>>>0>=m>>>0){continue}break}if(m>>>0<=134217727){d=kb(m<<5);if(d){if(N[n+4>>2]){while(1){e=k<<5;j=e+d|0;i=e+N[n+8>>2]|0;N[j>>2]=N[i>>2];N[j+4>>2]=N[i+4>>2];N[i+4>>2]=0;N[j+8>>2]=N[i+8>>2];N[i+8>>2]=0;N[j+12>>2]=N[i+12>>2];N[i+12>>2]=0;b=N[i+28>>2];N[j+24>>2]=N[i+24>>2];N[j+28>>2]=b;b=N[i+20>>2];N[j+16>>2]=N[i+16>>2];N[j+20>>2]=b;b=e+N[n+8>>2]|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;k=k+1|0;if(k>>>0>2]){continue}break}}_a(N[n+8>>2])}if(d){break Ea}}N[n>>2]=-1}N[147462]=0;N[147463]=0;N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;e=589824;break Ca}N[n>>2]=m;N[n+8>>2]=d;e=N[n+4>>2]}Fa:{if(e>>>0>>0){while(1){N[n+4>>2]=e+1;b=N[n+8>>2]+(e<<5)|0;N[b>>2]=0;N[b+4>>2]=0;N[b+24>>2]=0;N[b+28>>2]=0;N[b+16>>2]=0;N[b+20>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;e=N[n+4>>2];if(h>>>0>e>>>0){continue}break Fa}}if(e>>>0<=h>>>0){break Fa}while(1){b=(N[n+8>>2]+(e<<5)|0)-32|0;if(N[b+8>>2]){N[b+8>>2]=0}_a(N[b+12>>2]);N[b+12>>2]=0;N[b+4>>2]=0;N[b+8>>2]=0;e=N[n+4>>2]-1|0;N[n+4>>2]=e;if(e>>>0>h>>>0){continue}break}}N[n+4>>2]=h;e=(N[n+8>>2]+(h<<5)|0)-32|0}if(N[n>>2]<0){break i}N[e>>2]=0;N[e+4>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;N[e+24>>2]=0;N[e+28>>2]=-1;N[e>>2]=0;N[e+4>>2]=0;N[e+16>>2]=0;N[e+20>>2]=0;N[e+8>>2]=0;N[e+12>>2]=0;N[e+24>>2]=0;N[e+28>>2]=-1;o=g+4148|0;b=N[o>>2];i=N[b+4>>2];d=N[b+8>>2];while(1){Ga:{j=d+1|0;m=j>>>0>i>>>0;if(m){break Ga}h=N[b>>2];k=O[h+d|0];N[b+8>>2]=j;Ha:{Ia:{Ja:{Ka:{if((k|0)!=12){d=j;break Ka}d=d+2|0;if(i>>>0>>0){k=65535;break Ja}j=O[h+j|0];N[b+8>>2]=d;k=j|256}La:{Ma:{switch(k-261|0){default:if((k|0)!=18){if((k|0)!=294){break Ja}h=b+16|0;i=b+20|0;j=N[i>>2];if(!j){L[h|0]=1;N[147456]=0;N[147457]=0;N[e+28>>2]=0;break La}l=S[h+(j<<3)>>3];Na:{if(V(l)<2147483648){j=~~l;break Na}j=-2147483648}if((j|0)<0){L[h|0]=1;j=0}N[e+28>>2]=j;break La}r=b+16|0;Oa:{i=b+20|0;s=N[i>>2];Pa:{if(!s){N[e+16>>2]=0;break Pa}h=s-1|0;l=S[(r+(h<<3)|0)+8>>3];Qa:{if(V(l)<2147483648){j=~~l;break Qa}j=-2147483648}if((j|0)<0){L[r|0]=1;j=0}N[e+16>>2]=j;if(h){break Oa}}L[r|0]=1;N[147456]=0;N[147457]=0;N[e+20>>2]=0;break La}l=S[(r+(s<<3)|0)-8>>3];Ra:{if(V(l)<2147483648){j=~~l;break Ra}j=-2147483648}if((j|0)<0){L[r|0]=1;j=0}N[e+20>>2]=j;break La;case 1:break Ja;case 0:case 2:break Ma}}i=b+20|0}N[i>>2]=0;break Ia}Je(k,b);if(N[b+20>>2]){break Ha}d=N[b+8>>2]}if(O[b+16|0]|Q[b+4>>2]>>0){break Ha}Sa:{Ta:{Ua:{i=N[e+4>>2];if((i|0)>=0){d=N[e+8>>2];j=d+1|0;j=(j|0)>0?j:0;if(j>>>0<=i>>>0){break Ta}while(1){i=((i>>>1|0)+i|0)+8|0;if(j>>>0>=i>>>0){continue}break}if(i>>>0<=357913941){d=$a(N[e+12>>2],T(i,12));if(d){break Ua}}N[e+4>>2]=-1}N[147456]=0;N[147457]=0;N[147458]=0;i=589824;break Sa}N[e+4>>2]=i;N[e+12>>2]=d;d=N[e+8>>2]}if(d>>>0>>0){while(1){N[e+8>>2]=d+1;d=N[e+12>>2]+T(d,12)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+8>>2]=0;d=N[e+8>>2];if(j>>>0>d>>>0){continue}break}}N[e+8>>2]=j;i=(N[e+12>>2]+T(j,12)|0)-12|0}N[i+4>>2]=k;h=N[b+8>>2];d=N[b+4>>2];j=N[e>>2];N[i>>2]=j+N[b>>2];b=d-j|0;d=b>>>0<=d>>>0?b:0;b=h-j|0;L[i+8|0]=b>>>0>d>>>0?d:b;N[e>>2]=h}b=N[o>>2];d=N[b+8>>2];i=N[b+4>>2];if(d>>>0>i>>>0){break Ga}if(!O[b+16|0]){continue}}break}if(!m){break i}Va:{if(Q[c+208>>2]<=f>>>0){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break Va}b=N[c+212>>2]+T(f,24)|0}j=N[e+16>>2]+q|0;d=N[e+20>>2];if(d){if(j>>>0>2]){break i}e=N[c+8>>2];if(e>>>0>>0|d>>>0>e-j>>>0){break i}e=N[c+12>>2]-d|0;N[c+12>>2]=e;if((e|0)<=0){break i}}L[g+32|0]=0;C(u,0,4108);N[g+24>>2]=0;N[g+20>>2]=d;N[g+16>>2]=j;N[g+12>>2]=g+16;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;if(!Zp(g+12|0,b)){break i}d=b;b=N[b+16>>2];b=b?b+j|0:275552;N[d+20>>2]=b;if((b|0)!=275552){if(!Fd(b,c)){break i}}f=f+1|0;if(f>>>0>2]){continue}break}break h}if(N[c+148>>2]!=-1){break h}}Wa:{if(!N[c+208>>2]){N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;b=589824;break Wa}b=N[c+212>>2]}d=N[c+180>>2]+q|0;e=N[c+184>>2];if(e){if(d>>>0>2]){break i}f=N[c+8>>2];if(f>>>0>>0|e>>>0>f-d>>>0){break i}f=N[c+12>>2]-e|0;N[c+12>>2]=f;if((f|0)<=0){break i}}L[g+4184|0]=0;C(g+4188|0,0,4108);N[g+4176>>2]=0;N[g+4172>>2]=e;N[g+4168>>2]=d;N[g+16>>2]=g+4168;N[b+16>>2]=0;N[b+8>>2]=0;N[b+12>>2]=0;N[b>>2]=0;N[b+4>>2]=0;N[b+20>>2]=275552;if(!Zp(g+16|0,b)){break i}f=b;b=N[b+16>>2];b=b?b+d|0:275552;N[f+20>>2]=b;if((b|0)==275552){break h}if(Fd(b,c)){break h}break i}Je(b,g+4168|0);i=N[g+4172>>2];e=N[g+4176>>2];if(N[g+4188>>2]){break l}f=O[g+4184|0]}if(f&255|e>>>0>i>>>0){break l}Xa:{Ya:{Za:{f=N[c+92>>2];if((f|0)>=0){k=N[c+96>>2];d=k+1|0;if(f>>>0>=d>>>0){o=N[c+100>>2];break Ya}while(1){f=((f>>>1|0)+f|0)+8|0;if(f>>>0<=d>>>0){continue}break}if(f>>>0<=268435455){o=$a(N[c+100>>2],f<<4);if(o){break Za}}N[c+92>>2]=-1}N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;f=589824;break Xa}N[c+92>>2]=f;N[c+100>>2]=o;k=N[c+96>>2];d=k+1|0}N[c+96>>2]=d;f=(k<<4)+o|0;N[f+12>>2]=m;L[f+8|0]=0;N[f>>2]=0;i=N[g+4172>>2];e=N[g+4176>>2]}N[f+4>>2]=b;d=N[c+88>>2];N[f>>2]=d+N[g+4168>>2];k=f;b=i-d|0;f=b>>>0<=i>>>0?b:0;b=e-d|0;L[k+8|0]=b>>>0>f>>>0?f:b;N[c+88>>2]=e}if(e>>>0>i>>>0){break i}if(!O[g+4184|0]){continue}break}}mj(c)}La=g+8304|0;break b}break d}break c}}ba(16656,14279,195,9642);B()}ba(23506,14099,260,16403);B()}N[c+220>>2]=0;if(!N[a>>2]){N[a>>2]=c;return c}mj(c);_a(nq(c));b=N[a>>2];if(!b){continue}break}}return b}function CE(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=279;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];j:{k:{l:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break k}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break l}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break j}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=280;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1853188980;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1634429038;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];v:{w:{x:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break w}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break x}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break v}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];y:{z:{A:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break z}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break A}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break y}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];B:{C:{D:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break C}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break D}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break B}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];E:{F:{G:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break F}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break G}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break E}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1919644262;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];H:{I:{J:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break I}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break J}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break H}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];N:{O:{P:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break O}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break P}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break N}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break S}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];T:{U:{V:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break U}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break V}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break T}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];Z:{_:{$:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break _}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break $}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break Z}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];aa:{ba:{ca:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ba}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ca}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break aa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1751215206;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];da:{ea:{fa:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break ea}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break fa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break da}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ga:{ha:{ia:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ia}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ga}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];ja:{ka:{la:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break ka}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break la}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break ja}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ma:{na:{oa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break oa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ma}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1986098293;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];pa:{qa:{ra:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break qa}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break ra}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break pa}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];sa:{ta:{ua:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ta}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ua}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break sa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1667916660;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];va:{wa:{xa:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break wa}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break xa}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break va}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;ya:{za:{Aa:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break za}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break Aa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break ya}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=281;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];Ba:{Ca:{Da:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Da}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ba}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=76;N[b+4>>2]=c;N[b>>2]=1768843636;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ea:{Fa:{Ga:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ga}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ea}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ha:{Ia:{Ja:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ja}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ha}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ka:{La:{Ma:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break La}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ma}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ka}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Na:{Oa:{Pa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Oa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Pa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Na}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Qa:{Ra:{Sa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ra}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Sa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Qa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=77;N[b+4>>2]=c;N[b>>2]=1751215214;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Oq(a,b,c){a=a|0;b=b|0;c=c|0;var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,D=0,E=0,G=0,H=0;w=La-176|0;La=w;a:{v=N[a+112>>2];x=L[v+36|0]&1;if(!x){break a}while(1){b:{e=N[v+32>>2];if(!e){s=0;t=0;d=La-6752|0;La=d;u=275552;c:{d:{e:{f:{g:{h:{q=db(1,260);i:{if(!q){break i}j:{f=N[a+44>>2];if((f|0)<=0){break j}z=d+1132|0;n=d+4988|0;A=d+464|0;D=d+4448|0;E=d+496|0;r=d+4476|0;while(1){k:{l:{if((f|0)>0){k=N[(t<<2)+239840>>2];j=N[a+48>>2];f=f-1|0;g=0;while(1){i=f+g>>>1|0;h=j+T(i,36)|0;e=N[h>>2];m:{if(e>>>0>k>>>0){f=i-1|0;break m}if(e>>>0>=k>>>0){break l}g=i+1|0}if((f|0)>=(g|0)){continue}break}}N[((s<<2)+q|0)+8>>2]=0;break k}y=(s<<2)+q|0;e=N[h+28>>2];N[y+8>>2]=e;if(!e){break k}n:{o:{p:{q:{r:{if(t>>>0<=3){f=1569;j=0;while(1){e=P[((f<<3)+(t<<1)|0)+227320>>1];s:{if(!e){break s}N[d+288>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];l=d+288|0;h=N[h+12>>2];if(h){g=N[h+8>>2]}else{g=0}if(!(Qa[k|0](b,i,f,l,g)|0)){break s}N[d+4448>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];l=d+4448|0;h=N[h+12>>2];if(h){g=N[h+8>>2]}else{g=0}if(!(Qa[k|0](b,i,e,l,g)|0)){break s}g=N[d+288>>2];h=N[d+4448>>2];if((g|0)==(h|0)|(g|h)>>>0>65535){break s}e=j<<1;M[e+(d+5968|0)>>1]=h<<8|(h&65280)>>>8;M[e+(d+4960|0)>>1]=g<<8|(g&65280)>>>8;j=j+1|0}f=f+1|0;if((f|0)!=1748){continue}break}h=1;e=0;t:{switch(j|0){default:while(1){k=h<<1;l=k+(d+4960|0)|0;f=h;while(1){u:{e=f;if(!e){e=0;break u}f=e-1|0;i=P[(d+4960|0)+(f<<1)>>1];g=P[l>>1];if(((i<<8|i>>>8)&65535)>>>0<((g<<8|g>>>8)&65535)>>>0){break u}if((g|0)!=(i|0)){continue}}break}if((e|0)!=(h|0)){i=P[l>>1];m=e<<1;p=m+2|0;f=d+4960|0;l=f+m|0;g=h-e<<1;F(f+p|0,l,g);M[l>>1]=i;e=d+5968|0;f=P[e+k>>1];i=e+p|0;e=e+m|0;F(i,e,g);M[e>>1]=f}h=h+1|0;if((j|0)!=(h|0)){continue}break};break;case 0:break n;case 1:break t}}N[d+4460>>2]=z;N[d+4448>>2]=d+288;N[r+24>>2]=0;N[r+28>>2]=0;N[r+16>>2]=0;N[r+20>>2]=0;N[r+8>>2]=0;N[r+12>>2]=0;N[r>>2]=0;N[r+4>>2]=0;N[d+4524>>2]=0;N[d+4508>>2]=1;N[d+4512>>2]=1;N[d+4536>>2]=0;N[d+4528>>2]=0;N[d+4532>>2]=0;N[d+4516>>2]=0;N[d+4520>>2]=1;zf(d+4448|0);if(N[d+4492>>2]){break h}o=1;e=d+4448|0;p=ad(e);if(!Bf(p,e,1,8)){break o}m=ad(d+4448|0);if(N[d+4472>>2]){break p}if(m>>>0>2]){break g}g=N[d+4452>>2];if(m>>>0>g>>>0){break f}if(g-m>>>0>=3){break e}l=m+2|0;e=l-g|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-g|0)){break q}if((g|0)!=(l|0)){C(g,0,e);g=N[d+4452>>2]}N[d+4452>>2]=e+g;if(!g|!m){break p}v:{w:{if(!j){break w}e=P[d+5968>>1];f=e<<8|e>>>8;e=P[d+4960>>1];i=f-(e<<8|e>>>8)|0;f=j-1|0;if(f){g=d+4960|0;e=d+5968|0;while(1){h=O[e+2|0]|O[e+3|0]<<8;k=h<<8|h>>>8;h=O[g+2|0]|O[g+3|0]<<8;if((i&65535)!=(k-(h<<8|h>>>8)&65535)){break w}e=e+2|0;g=g+2|0;f=f-1|0;if(f){continue}break}}L[m|0]=0;L[m+1|0]=1;N[d+216>>2]=241304;N[d+212>>2]=0;N[d+208>>2]=j;N[d+200>>2]=0;N[d+196>>2]=j;N[d+204>>2]=d+5968;N[d+192>>2]=d+4960;if(N[d+4472>>2]){break p}if(m>>>0>2]){break g}h=N[d+4452>>2];if(h>>>0>>0){break f}if(h-m>>>0>=7){break e}e=m+6|0;f=e-h|0;if((f|0)<0|(f|0)>(N[d+4456>>2]-h|0)){break q}if((e|0)!=(h|0)){C(h,0,f);e=N[d+4452>>2]}N[d+4452>>2]=e+f;if(!e){break p}if(!uj(l,d+4448|0,d+192|0)){break p}e=i<<8|(i&65280)>>>8;L[m+4|0]=e;L[m+5|0]=e>>>8;break v}L[m|0]=0;L[m+1|0]=2;N[d+216>>2]=241304;N[d+212>>2]=0;N[d+208>>2]=j;N[d+200>>2]=0;N[d+196>>2]=j;N[d+204>>2]=d+5968;N[d+192>>2]=d+4960;if(N[d+4472>>2]){break p}if(m>>>0>2]){break g}g=N[d+4452>>2];if(m>>>0>g>>>0){break f}if(g-m>>>0>=7){break e}h=4;e=m+6|0;f=e-g|0;if((f|0)<0|(f|0)>(N[d+4456>>2]-g|0)){break r}if((e|0)!=(g|0)){C(g,0,f);g=N[d+4452>>2]}i=f+g|0;N[d+4452>>2]=i;if(N[d+4472>>2]|!g){break p}g=m+4|0;if(g>>>0>2]){break g}if(g>>>0>i>>>0){break f}if(i-g>>>0>=3){break e}f=e-i|0;if((f|0)<0|(f|0)>(N[d+4456>>2]-i|0)){break r}if((e|0)!=(i|0)){C(i,0,f);e=N[d+4452>>2]}N[d+4452>>2]=e+f;if(!e){break p}e=j<<8|(j&65280)>>>8;L[g|0]=e;L[g+1|0]=e>>>8;e=N[d+4472>>2];if(j>>>0>=65536){h=e|16;break r}if(e){break p}if(g>>>0>2]){break g}f=N[d+4452>>2];if(f>>>0>>0){break f}e=(j<<1&131070)+2|0;if(e>>>0>>0){break e}e=(e+g|0)-f|0;if((e|0)<0|(e|0)>(N[d+4456>>2]-f|0)){break r}N[d+4452>>2]=e+f;if(!f){break p}if(j){f=0;h=d+5968|0;g=j;e=g;while(1){i=g?h:589824;x:{if(!(!g|!e)){k=m+(f<<1)|0;i=O[i|0]|O[i+1|0]<<8;L[k+6|0]=i;L[k+7|0]=i>>>8;e=e-1|0;i=1;break x}M[294912]=0;k=m+(f<<1)|0;i=O[i|0]|O[i+1|0]<<8;L[k+6|0]=i;L[k+7|0]=i>>>8;e=(e?-1:0)+e|0;i=1;if(g){break x}i=0}g=g-i|0;h=(i<<1)+h|0;f=f+1|0;if((j|0)!=(f|0)){continue}break}}if(!uj(l,d+4448|0,d+192|0)){break p}}e=d+4448|0;y:{if(!(O[p+4|0]|O[p+5|0]<<8)){M[294912]=0;f=589824;break y}f=p+6|0}de(e,f,Cc(e,1));o=0;break o}z:{A:{B:{C:{D:{E:{switch(t-4|0){case 0:f=0;N[d+288>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[j|0](b,g,65247,h,e)|0)){e=0;break n}N[d+6720>>2]=0;e=P[d+288>>1];M[d+6704>>1]=e<<8|e>>>8;N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];g=0;h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64904,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[j|0](b,g,65252,h,e)|0){e=P[d+4960>>1];M[d+6640>>1]=e<<8|e>>>8;f=1}N[d+4960>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[j|0](b,g,65188,h,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[d+6480>>2]=3;N[d+6720>>2]=1;e=P[d+288>>1];M[d+6736>>1]=e<<8|e>>>8;g=1}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,61953,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65248,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65258,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[(d+6480|0)+(g<<2)>>2]=3;e=P[d+288>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0;N[d+6720>>2]=g}e=0;N[d+288>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];j=d+288|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}F:{if(!(Qa[k|0](b,i,61969,j,h)|0)){if(g){break F}break n}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65252,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,65184,j,e)|0){e=P[d+4960>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0}N[(d+6480|0)+(g<<2)>>2]=3;e=P[d+288>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0;N[d+6720>>2]=g}N[d+4972>>2]=A;N[d+4960>>2]=d+288;N[n+24>>2]=0;N[n+28>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[n+8>>2]=0;N[n+12>>2]=0;N[n>>2]=0;N[n+4>>2]=0;N[d+5036>>2]=0;N[d+5020>>2]=1;N[d+5024>>2]=1;N[d+5048>>2]=0;N[d+5040>>2]=0;N[d+5044>>2]=0;N[d+5028>>2]=0;N[d+5032>>2]=1;zf(d+4960|0);if(N[d+5004>>2]){break h}h=1;e=d+4960|0;j=ad(e);if(!Bf(j,e,4,8)){break z}i=ad(d+4960|0);N[d+6564>>2]=1;N[d+6568>>2]=0;N[d+6560>>2]=d+6704;N[d+200>>2]=0;N[d+196>>2]=g;N[d+192>>2]=d+6736;N[d+4456>>2]=0;N[d+4452>>2]=g;N[d+4448>>2]=d+6480;N[d+5976>>2]=0;N[d+5972>>2]=f;N[d+5968>>2]=d+6640;if(N[d+4984>>2]){break A}if(i>>>0>2]){break g}f=N[d+4964>>2];if(i>>>0>f>>>0){break f}if(f-i>>>0>=3){break e}e=i+2|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[d+4968>>2]-f|0))){N[d+4984>>2]=4;break A}if((e|0)!=(f|0)){C(f,0,g);f=N[d+4964>>2]}N[d+4964>>2]=f+g;if(!i|!f){break A}L[i|0]=0;L[i+1|0]=1;N[d+56>>2]=N[d+6568>>2];N[d+40>>2]=N[d+200>>2];N[d+24>>2]=N[d+4456>>2];N[d+8>>2]=N[d+5976>>2];e=N[d+6564>>2];N[d+48>>2]=N[d+6560>>2];N[d+52>>2]=e;e=N[d+196>>2];N[d+32>>2]=N[d+192>>2];N[d+36>>2]=e;e=N[d+4452>>2];N[d+16>>2]=N[d+4448>>2];N[d+20>>2]=e;e=N[d+5972>>2];N[d>>2]=N[d+5968>>2];N[d+4>>2]=e;if(!Pg(i,d+4960|0,d+48|0,d+6720|0,1,d+32|0,d+16|0,d)){break A}e=d+4960|0;G:{if(!(O[j+4|0]|O[j+5|0]<<8)){M[294912]=0;f=589824;break G}f=j+6|0}de(e,f,Cc(e,1));h=0;break z;case 1:o=0;f=0;while(1){N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];g=N[b+100>>2];h=P[T(f,58)+241328>>1];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,g,h,j,e)|0){e=P[d+288>>1];M[(d+6640|0)+(o<<1)>>1]=e<<8|e>>>8;e=o<<2;N[e+(d+6480|0)>>2]=0;N[e+(d+6560|0)>>2]=f;o=o+1|0}f=f+1|0;if((f|0)!=18){continue}break};break B;case 2:f=0;N[d+288>>2]=0;e=N[b+96>>2];j=N[e+28>>2];g=N[b+100>>2];h=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(!(Qa[j|0](b,g,1617,h,e)|0)){e=0;break n}g=0;N[d+6720>>2]=0;e=P[d+288>>1];M[d+6704>>1]=e<<8|e>>>8;N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64606,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];j=N[e+28>>2];f=N[b+100>>2];h=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[j|0](b,f,1612,h,e)|0){e=P[d+4960>>1];M[d+6736>>1]=e<<8|e>>>8;g=1}N[d+5968>>2]=2;N[d+6720>>2]=1;e=P[d+288>>1];M[d+6640>>1]=e<<8|e>>>8;f=1}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64608,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1614,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64609,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1615,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}N[d+288>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+288|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,64610,j,e)|0){N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1616,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|0)+(f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}e=0;N[d+288>>2]=0;h=N[b+96>>2];k=N[h+28>>2];i=N[b+100>>2];j=d+288|0;h=N[h+12>>2];if(h){h=N[h+8>>2]}else{h=0}H:{if(!(Qa[k|0](b,i,62190,j,h)|0)){if(f){break H}break n}N[d+4960>>2]=0;e=N[b+96>>2];i=N[e+28>>2];h=N[b+100>>2];j=d+4960|0;e=N[e+12>>2];if(e){e=N[e+8>>2]}else{e=0}if(Qa[i|0](b,h,1611,j,e)|0){e=P[d+4960>>1];M[(d+6736|0)+(g<<1)>>1]=e<<8|e>>>8;g=g+1|0}N[(d+5968|0)+(f<<2)>>2]=2;e=P[d+288>>1];M[(d+6640|0)+(f<<1)>>1]=e<<8|e>>>8;f=f+1|0;N[d+6720>>2]=f}N[d+4972>>2]=E;N[d+4960>>2]=d+288;N[n+24>>2]=0;N[n+28>>2]=0;N[n+16>>2]=0;N[n+20>>2]=0;N[n+8>>2]=0;N[n+12>>2]=0;N[n>>2]=0;N[n+4>>2]=0;N[d+5036>>2]=0;N[d+5020>>2]=1;N[d+5024>>2]=1;N[d+5048>>2]=0;N[d+5040>>2]=0;N[d+5044>>2]=0;N[d+5028>>2]=0;N[d+5032>>2]=1;zf(d+4960|0);if(N[d+5004>>2]){break h}h=1;e=d+4960|0;j=ad(e);if(!Bf(j,e,4,0)){break C}i=ad(d+4960|0);N[d+6484>>2]=1;N[d+6488>>2]=0;N[d+6480>>2]=d+6704;N[d+6568>>2]=0;N[d+6564>>2]=f;N[d+6560>>2]=d+6640;N[d+200>>2]=0;N[d+196>>2]=f;N[d+192>>2]=d+5968;N[d+4456>>2]=0;N[d+4452>>2]=g;N[d+4448>>2]=d+6736;if(N[d+4984>>2]){break D}if(i>>>0>2]){break g}f=N[d+4964>>2];if(i>>>0>f>>>0){break f}if(f-i>>>0>=3){break e}e=i+2|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[d+4968>>2]-f|0))){N[d+4984>>2]=4;break D}if((e|0)!=(f|0)){C(f,0,g);f=N[d+4964>>2]}N[d+4964>>2]=f+g;if(!i|!f){break D}L[i|0]=0;L[i+1|0]=1;N[d+184>>2]=N[d+6488>>2];N[d+168>>2]=N[d+6568>>2];N[d+152>>2]=N[d+200>>2];N[d+136>>2]=N[d+4456>>2];e=N[d+6484>>2];N[d+176>>2]=N[d+6480>>2];N[d+180>>2]=e;e=N[d+6564>>2];N[d+160>>2]=N[d+6560>>2];N[d+164>>2]=e;e=N[d+196>>2];N[d+144>>2]=N[d+192>>2];N[d+148>>2]=e;e=N[d+4452>>2];N[d+128>>2]=N[d+4448>>2];N[d+132>>2]=e;if(!Pg(i,d+4960|0,d+176|0,d+6720|0,1,d+160|0,d+144|0,d+128|0)){break D}e=d+4960|0;I:{if(!(O[j+4|0]|O[j+5|0]<<8)){M[294912]=0;f=589824;break I}f=j+6|0}de(e,f,Cc(e,1));h=0;break C;default:break E}}ba(15473,14202,212,12255);B()}$c(d+4960|0)}J:{K:{f=N[d+4984>>2];if(!f&N[d+5008>>2]<0){break K}if(!f){if(!(L[d+5032|0]&1)){break K}e=0;f=N[d+5004>>2];g=0;L:{if(!f){break L}if(N[f+32>>2]){break d}g=0;if(Q[d+5012>>2]<2){break L}f=d+4960|0;Cc(f,0);yf(f);g=N[d+4984>>2]}if(g|h){break J}j=N[d+4972>>2];l=N[d+4968>>2];g=j-l|0;h=N[d+4964>>2];k=N[d+4960>>2];i=h-k|0;f=g+i|0;if(!f){break J}f=kb(f);if(!f){break J}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break J}e=0;if(!(f&2)|!N[d+5004>>2]){break J}N[d+4984>>2]=f|1;break J}N[d+4984>>2]=1;e=0}xf(d+4960|0);break n}h=1;if(o>>>0>=2){while(1){i=(d+6640|0)+(h<<1)|0;f=h;while(1){M:{e=f;if(!e){e=0;break M}f=e-1|0;j=P[(d+6640|0)+(f<<1)>>1];g=P[i>>1];if(((j<<8|j>>>8)&65535)>>>0<((g<<8|g>>>8)&65535)>>>0){break M}if((g|0)!=(j|0)){continue}}break}if((e|0)!=(h|0)){i=P[i>>1];f=d+6640|0;k=f+(e<<1)|0;j=e+1|0;g=h-e|0;F(f+(j<<1)|0,k,g<<1);M[k>>1]=i;i=d+6560|0;f=N[i+(h<<2)>>2];e=i+(e<<2)|0;F(i+(j<<2)|0,e,g<<2);N[e>>2]=f}h=h+1|0;if((o|0)!=(h|0)){continue}break}}e=0;j=0;h=0;if(!o){break n}while(1){f=h<<2;k=f+(d+6480|0)|0;G=N[f+(d+6560|0)>>2];f=0;while(1){N[d+288>>2]=0;g=N[b+96>>2];m=N[g+28>>2];i=N[b+100>>2];l=T(G,58)+(f<<2)|0;p=P[l+241332>>1];H=d+288|0;g=N[g+12>>2];if(g){g=N[g+8>>2]}else{g=0}if(Qa[m|0](b,i,p,H,g)|0){g=P[l+241330>>1];N:{if(!g){break N}N[d+192>>2]=0;i=N[b+96>>2];p=N[i+28>>2];l=N[b+100>>2];m=d+192|0;i=N[i+12>>2];if(i){i=N[i+8>>2]}else{i=0}if(!(Qa[p|0](b,l,g,m,i)|0)){break N}g=P[d+192>>1];M[(d+4448|0)+(j<<1)>>1]=g<<8|g>>>8;j=j+1|0}N[(d+4960|0)+(e<<2)>>2]=2;g=P[d+288>>1];M[(d+5968|0)+(e<<1)>>1]=g<<8|g>>>8;N[k>>2]=N[k>>2]+1;e=e+1|0}f=f+1|0;if((f|0)!=14){continue}break}h=h+1|0;if((o|0)!=(h|0)){continue}break}if(!e){e=0;break n}N[d+204>>2]=D;N[d+192>>2]=d+288;N[d+244>>2]=0;N[d+248>>2]=0;N[d+236>>2]=0;N[d+240>>2]=0;N[d+228>>2]=0;N[d+232>>2]=0;N[d+220>>2]=0;N[d+224>>2]=0;N[d+268>>2]=0;N[d+252>>2]=1;N[d+256>>2]=1;N[d+280>>2]=0;N[d+272>>2]=0;N[d+276>>2]=0;N[d+260>>2]=0;N[d+264>>2]=1;zf(d+192|0);O:{P:{if(!N[d+236>>2]){h=1;f=d+192|0;i=ad(f);if(!Bf(i,f,4,8)){break O}k=ad(d+192|0);N[d+6696>>2]=0;N[d+6692>>2]=o;N[d+6688>>2]=d+6640;N[d+6712>>2]=0;N[d+6708>>2]=e;N[d+6704>>2]=d+5968;N[d+6728>>2]=0;N[d+6724>>2]=e;N[d+6720>>2]=d+4960;N[d+6744>>2]=0;N[d+6740>>2]=j;N[d+6736>>2]=d+4448;if(N[d+216>>2]){break P}if(k>>>0>2]){break g}f=N[d+196>>2];if(k>>>0>f>>>0){break f}if(f-k>>>0>=3){break e}e=k+2|0;g=e-f|0;if(!((g|0)>=0&(g|0)<=(N[d+200>>2]-f|0))){N[d+216>>2]=4;break P}if((e|0)!=(f|0)){C(f,0,g);f=N[d+196>>2]}N[d+196>>2]=f+g;if(!k|!f){break P}L[k|0]=0;L[k+1|0]=1;N[d+120>>2]=N[d+6696>>2];N[d+104>>2]=N[d+6712>>2];N[d+88>>2]=N[d+6728>>2];N[d+72>>2]=N[d+6744>>2];e=N[d+6692>>2];N[d+112>>2]=N[d+6688>>2];N[d+116>>2]=e;e=N[d+6708>>2];N[d+96>>2]=N[d+6704>>2];N[d+100>>2]=e;e=N[d+6724>>2];N[d+80>>2]=N[d+6720>>2];N[d+84>>2]=e;e=N[d+6740>>2];N[d+64>>2]=N[d+6736>>2];N[d+68>>2]=e;if(!Pg(k,d+192|0,d+112|0,d+6480|0,o,d+96|0,d+80|0,d- -64|0)){break P}e=d+192|0;Q:{if(!(O[i+4|0]|O[i+5|0]<<8)){M[294912]=0;f=589824;break Q}f=i+6|0}de(e,f,Cc(e,1));h=0;break O}break h}$c(d+192|0)}R:{S:{f=N[d+216>>2];if(!f&N[d+240>>2]<0){break S}if(!f){if(!(L[d+264|0]&1)){break S}e=0;f=N[d+236>>2];g=0;T:{if(!f){break T}if(N[f+32>>2]){break d}g=0;if(Q[d+244>>2]<2){break T}f=d+192|0;Cc(f,0);yf(f);g=N[d+216>>2]}if(g|h){break R}j=N[d+204>>2];l=N[d+200>>2];g=j-l|0;h=N[d+196>>2];k=N[d+192>>2];i=h-k|0;f=g+i|0;if(!f){break R}f=kb(f);if(!f){break R}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break R}e=0;if(!(f&2)|!N[d+236>>2]){break R}N[d+216>>2]=f|1;break R}N[d+216>>2]=1;e=0}xf(d+192|0);break n}$c(d+4960|0)}U:{V:{f=N[d+4984>>2];if(!f&N[d+5008>>2]<0){break V}if(!f){if(!(L[d+5032|0]&1)){break V}e=0;f=N[d+5004>>2];g=0;W:{if(!f){break W}if(N[f+32>>2]){break d}g=0;if(Q[d+5012>>2]<2){break W}f=d+4960|0;Cc(f,0);yf(f);g=N[d+4984>>2]}if(g|h){break U}j=N[d+4972>>2];l=N[d+4968>>2];g=j-l|0;h=N[d+4964>>2];k=N[d+4960>>2];i=h-k|0;f=g+i|0;if(!f){break U}f=kb(f);if(!f){break U}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break U}e=0;if(!(f&2)|!N[d+5004>>2]){break U}N[d+4984>>2]=f|1;break U}N[d+4984>>2]=1;e=0}xf(d+4960|0);break n}N[d+4472>>2]=h;break p}N[d+4472>>2]=4}$c(d+4448|0)}X:{Y:{f=N[d+4472>>2];if(!f&N[d+4496>>2]<0){break Y}if(!f){if(!(L[d+4520|0]&1)){break Y}e=0;f=N[d+4492>>2];g=0;Z:{if(!f){break Z}if(N[f+32>>2]){break d}g=0;if(Q[d+4500>>2]<2){break Z}f=d+4448|0;Cc(f,0);yf(f);g=N[d+4472>>2]}if(g|o){break X}j=N[d+4460>>2];l=N[d+4456>>2];g=j-l|0;h=N[d+4452>>2];k=N[d+4448>>2];i=h-k|0;f=g+i|0;if(!f){break X}f=kb(f);if(!f){break X}if((h|0)!=(k|0)){F(f,k,i)}if((j|0)!=(l|0)){F(f+i|0,l,g)}e=f;break X}e=0;if(!(f&2)|!N[d+4492>>2]){break X}N[d+4472>>2]=f|1;break X}N[d+4472>>2]=1;e=0}xf(d+4448|0)}N[y+36>>2]=e;if(!e){break k}sk((T(s,28)+q|0)- -64|0,e);s=s+1|0}t=t+1|0;if((t|0)!=7){f=N[a+44>>2];continue}break}L[q+4|0]=1;N[q>>2]=s;if(!s){break j}u=q;break i}_a(q)}La=d+6752|0;e=u;break c}ba(9270,14296,271,15396);B()}ba(13866,14296,669,15286);B()}ba(16941,14296,670,15286);B()}ba(15351,14296,671,15286);B()}ba(8458,14296,293,15412);B()}if(N[v+32>>2]){break b}N[v+32>>2]=e}a=Ec(w+12|0,0,b,c);b=N[e>>2];if(b){c=0;while(1){f=(c<<2)+e|0;u=N[f+36>>2];if(u){b=N[f+8>>2];N[a+32>>2]=0;N[a+132>>2]=b;N[a+24>>2]=0;N[a+28>>2]=0;n=N[a+140>>2];N[a+12>>2]=n;f=N[a+84>>2]==1;L[a+20|0]=f;L[a+21|0]=O[a+150|0];N[a+16>>2]=b;N[a+72>>2]=0;b=O[a+151|0];L[a+22|0]=b;N[a+64>>2]=0;N[a+68>>2]=0;N[a+52>>2]=n;N[a+8>>2]=a;N[a+48>>2]=a;L[a+61|0]=1;N[a+56>>2]=-1;L[a+62|0]=b;L[a+60|0]=f|O[a+149|0]!=0;Mj(a,u,(T(c,28)+e|0)- -64|0);b=N[e>>2]}c=c+1|0;if(c>>>0>>0){continue}break}}_a(N[a+112>>2]);break a}h=0;if(!(!e|!N[e>>2])){while(1){f=(h<<2)+e|0;_:{if(!N[f+36>>2]){break _}n=T(h,28)+e|0;if(N[n+80>>2]){N[n+80>>2]=0}_a(N[n+84>>2]);N[n+80>>2]=0;N[n+84>>2]=0;N[n+76>>2]=0;if(!O[e+4|0]){break _}_a(N[f+36>>2])}h=h+1|0;if(h>>>0>2]){continue}break}_a(e)}continue}}La=w+176|0;return x|0}function Xj(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,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0;a:{b:{c:{d:{e:{while(1){f:{if((c|0)!=7){g:{switch(c-1|0){case 0:h:{i:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 1:break h;case 0:break i;default:break a}}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){d=((c<<8|c>>>8)&65535)+a|0}else{d=275552}f=O[a+4|0]|O[a+5|0]<<8;c=0;j:{k:{l:{m:{a=d;d=O[d|0]|O[d+1|0]<<8;k=d<<8|d>>>8;d=(k&65535)-1|0;switch(d|0){case 0:break l;case 1:break m;default:break k}}e=241305;h=256;n:{if(!(O[a+2|0]|O[a+3|0]<<8)){d=0;break n}e=a+4|0;d=O[e|0]|O[e+1|0]<<8;d=d<<8|d>>>8;if(O[a+2|0]|O[a+3|0]<<8){j=O[a+4|0]|O[a+5|0]<<8;h=j<<8|j>>>8;if(O[a+2|0]|O[a+3|0]<<8){break n}}e=241305}j=O[e+2|0]|O[e+3|0]<<8;if((h&65535)>>>0<=((j<<8|j>>>8)&65535)>>>0){e=d&65535;break l}c=O[a+2|0]|O[a+3|0]<<8;c=(c<<8|c>>>8)&65535;e=0}a=a+2|0;break j}if(d>>>0>1){break a}a=2}d=f<<8|f>>>8;h=d&65535;j=N[b+20>>2];o:{switch((k&65535)-1|0){case 1:b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}d=0;while(1){tc(j,e+h&65535);b=O[a|0]|O[a+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=c>>>0?241305:(a+T(c,6)|0)+2|0;b=O[b+2|0]|O[b+3|0]<<8;p:{if(((b<<8|b>>>8)&65535)>>>0<=e>>>0){e=0;c=c+1|0;b=O[a|0]|O[a+1|0]<<8;if(c>>>0>=((b<<8|b>>>8)&65535)>>>0){break p}b=(a+T(c,6)|0)+2|0;k=d+1|0;f=O[a|0]|O[a+1|0]<<8;f=((f<<8|f>>>8)&65535)>>>0<=c>>>0?241305:b;d=O[f+4|0]|O[f+5|0]<<8;d=(d<<8|d>>>8)&65535;if((k|0)==(d|0)){b=O[b|0]|O[b+1|0]<<8;e=(b<<8|b>>>8)&65535;break p}b=O[a|0]|O[a+1|0]<<8;c=(b<<8|b>>>8)&65535;break p}e=e+1|0;d=d+1|0}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){continue}break};break a;case 0:break b;default:break o}}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}while(1){tc(j,h);b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0>c>>>0){continue}break}break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){f=((c<<8|c>>>8)&65535)+a|0}else{f=275552}c=0;q:{r:{s:{t:{k=O[f|0]|O[f+1|0]<<8;j=((k<<8|(k&65280)>>>8)&65535)-1|0;switch(j|0){case 1:break s;case 0:break t;default:break q}}d=0;break r}e=241305;h=256;u:{if(!(O[f+2|0]|O[f+3|0]<<8)){break u}e=f+4|0;d=O[e|0]|O[e+1|0]<<8;d=d<<8|d>>>8;if(O[f+2|0]|O[f+3|0]<<8){h=O[f+4|0]|O[f+5|0]<<8;h=h<<8|h>>>8;if(O[f+2|0]|O[f+3|0]<<8){break u}}e=241305}e=O[e+2|0]|O[e+3|0]<<8;d=d&65535;if((h&65535)>>>0<=((e<<8|e>>>8)&65535)>>>0){break r}c=O[f+2|0]|O[f+3|0]<<8;c=(c<<8|c>>>8)&65535;d=0}h=d;e=f}if(j>>>0>1){break a}d=O[a+4|0]|O[a+5|0]<<8;g=(d<<8|(d&65280)>>>8)&65535;i=a+6|0;f=N[b+20>>2];j=0;b=(d|0)!=0;d=e+2|0;a=O[d|0]|O[d+1|0]<<8;a=b&((a<<8|a>>>8)&65535)>>>0>c>>>0;if((k|0)==256){break c}if(!a){break a}while(1){a=O[i|0]|O[i+1|0]<<8;tc(f,(a<<8|a>>>8)&65535);a=O[d|0]|O[d+1|0]<<8;a=((a<<8|a>>>8)&65535)>>>0<=c>>>0?241305:(d+T(c,6)|0)+2|0;a=O[a+2|0]|O[a+3|0]<<8;v:{if(((a<<8|a>>>8)&65535)>>>0<=h>>>0){h=0;c=c+1|0;a=O[d|0]|O[d+1|0]<<8;if(c>>>0>=((a<<8|a>>>8)&65535)>>>0){break v}a=(d+T(c,6)|0)+2|0;k=j+1|0;b=O[d|0]|O[d+1|0]<<8;b=((b<<8|b>>>8)&65535)>>>0<=c>>>0?241305:a;b=O[b+4|0]|O[b+5|0]<<8;j=(b<<8|b>>>8)&65535;if((k|0)==(j|0)){a=O[a|0]|O[a+1|0]<<8;h=(a<<8|a>>>8)&65535;break v}a=O[d|0]|O[d+1|0]<<8;c=(a<<8|a>>>8)&65535;break v}h=h+1|0;j=j+1|0}a=O[d|0]|O[d+1|0]<<8;if(((a<<8|a>>>8)&65535)>>>0<=c>>>0){break a}i=i+2|0;g=g-1|0;if(g){continue}break};break a;case 1:if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}w:{x:{y:{z:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;t=d<<8|d>>>8;d=(t&65535)-1|0;switch(d|0){case 0:break y;case 1:break z;default:break x}}e=241305;g=256;A:{if(!(O[c+2|0]|O[c+3|0]<<8)){break A}e=c+4|0;d=O[e|0]|O[e+1|0]<<8;h=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){d=O[c+4|0]|O[c+5|0]<<8;g=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){break A}}e=241305}d=O[e+2|0]|O[e+3|0]<<8;if((g&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){f=h&65535;break y}d=O[c+2|0]|O[c+3|0]<<8;j=(d<<8|d>>>8)&65535}h=c+2|0;break w}if(d>>>0>1){break a}h=2}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}s=(c<<8|(c&65280)>>>8)&65535;g=a+6|0;d=0;while(1){c=O[g|0]|O[g+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}k=O[c|0]|O[c+1|0]<<8;e=(k<<8|k>>>8)&65535;i=c+2|0;c=N[b+20>>2];n=c+12|0;B:{if(O[c+48|0]){Ef(n,i,e,2);break B}if(!k|!O[n|0]){break B}N[c+16>>2]=-1;c=O[i|0]|O[i+1|0]<<8;c=(c<<8|c>>>8)&65535;C:while(1){o=wc(n,c);if(!o){break B}p=c&65024;l=p+512|0;while(1){k=o+(c>>>3&56)|0;r=N[k+4>>2];m=c&63;c=m&31;if((m&63)>>>0>=32){m=1<>>32-c}N[k>>2]=q|N[k>>2];N[k+4>>2]=m|r;e=e-1|0;if(!e){break B}c=O[i+2|0]|O[i+3|0]<<8;i=i+2|0;c=(c<<8|c>>>8)&65535;if(p>>>0>c>>>0){continue C}if(c>>>0>>0){continue}break}continue}}D:{E:{switch((t&65535)-1|0){case 0:j=j+1|0;break D;case 1:break E;default:break D}}c=O[h|0]|O[h+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=j>>>0?241305:(h+T(j,6)|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=f>>>0){f=0;j=j+1|0;c=O[h|0]|O[h+1|0]<<8;if(j>>>0>=((c<<8|c>>>8)&65535)>>>0){break D}c=(h+T(j,6)|0)+2|0;k=d+1|0;e=O[h|0]|O[h+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=j>>>0?241305:c;d=O[e+4|0]|O[e+5|0]<<8;d=(d<<8|d>>>8)&65535;if((k|0)==(d|0)){c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)&65535;break D}c=O[h|0]|O[h+1|0]<<8;j=(c<<8|c>>>8)&65535;break D}f=f+1|0;d=d+1|0}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}g=g+2|0;s=s-1|0;if(s){continue}break};break a;case 4:Wj(a,b);break a;case 2:break d;case 3:break e;case 5:break f;case 7:break g;default:break a}}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}c=0;f=a+4|0;j=O[a+4|0]|O[a+5|0]<<8;if(j){c=(j<<8|j>>>8)&65535;e=c>>>0<=1?1:c;c=0;while(1){j=O[f|0]|O[f+1|0]<<8;j=((j<<8|j>>>8)&65535)>>>0<=c>>>0?275552:((c<<1)+a|0)+6|0;j=O[j|0]|O[j+1|0]<<8;if(j){k=((j<<8|j>>>8)&65535)+a|0}else{k=275552}if(!Ob(k,N[b+8>>2])){break a}c=c+1|0;if((e|0)!=(c|0)){continue}break}c=O[f|0]|O[f+1|0]<<8}f=(f+(((c<<8|(c&65280)>>>8)&65535)<<1)|0)+2|0;c=O[f|0]|O[f+1|0]<<8;if(c){c=(c<<8|c>>>8)&65535;j=c>>>0<=1?1:c;c=0;while(1){d=O[f|0]|O[f+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=c>>>0?275552:(f+(c<<1)|0)+2|0;d=O[d|0]|O[d+1|0]<<8;if(d){d=((d<<8|d>>>8)&65535)+a|0}else{d=275552}if(!Ob(d,N[b+16>>2])){break a}c=c+1|0;if((j|0)!=(c|0)){continue}break}d=O[f|0]|O[f+1|0]<<8}a=f+(((d<<8|(d&65280)>>>8)&65535)<<1)|0;c=O[a+2|0]|O[a+3|0]<<8;e=(c<<8|c>>>8)&65535;i=a+4|0;a=N[b+20>>2];d=a+12|0;if(O[a+48|0]){Ef(d,i,e,2);return}if(!c|!O[d|0]){break a}N[a+16>>2]=-1;a=O[i|0]|O[i+1|0]<<8;c=(a<<8|a>>>8)&65535;F:while(1){f=wc(d,c);if(!f){break a}j=c&65024;h=j+512|0;while(1){a=f+(c>>>3&56)|0;g=N[a+4>>2];c=c&63;b=c&31;if((c&63)>>>0>=32){k=1<>>32-b}N[a>>2]=c|N[a>>2];N[a+4>>2]=g|k;e=e-1|0;if(!e){break a}a=O[i+2|0]|O[i+3|0]<<8;i=i+2|0;c=(a<<8|a>>>8)&65535;if(j>>>0>c>>>0){continue F}if(c>>>0>>0){continue}break}continue}}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+4|0]|O[a+5|0]<<8|(O[a+6|0]<<16|O[a+7|0]<<24);if(c){k=(c<<24|(c&65280)<<8|(c>>>8&65280|c>>>24))+a|0}else{k=275552}a=O[a+2|0]|O[a+3|0]<<8;c=(a<<8|a>>>8)&65535;a=k;continue}break}G:{H:{I:{c=O[a|0]|O[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break G;case 1:break H;case 0:break I;default:break a}}Vj(a,b);return}Tj(a,b);return}Sj(a,b);return}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}J:{K:{L:{M:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;B=d<<8|d>>>8;d=(B&65535)-1|0;switch(d|0){case 0:break L;case 1:break M;default:break K}}e=241305;g=256;N:{if(!(O[c+2|0]|O[c+3|0]<<8)){break N}e=c+4|0;d=O[e|0]|O[e+1|0]<<8;h=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){d=O[c+4|0]|O[c+5|0]<<8;g=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){break N}}e=241305}d=O[e+2|0]|O[e+3|0]<<8;if((g&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){u=h&65535;break L}d=O[c+2|0]|O[c+3|0]<<8;r=(d<<8|d>>>8)&65535}n=c+2|0;break J}if(d>>>0>1){break a}n=2}c=O[n|0]|O[n+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}z=(c<<8|(c&65280)>>>8)&65535;y=a+6|0;while(1){c=O[y|0]|O[y+1|0]<<8;if(c){t=((c<<8|c>>>8)&65535)+a|0}else{t=275552}c=O[t|0]|O[t+1|0]<<8;if(c){A=(c<<8|c>>>8)&65535;s=t+2|0;while(1){l=N[b+12>>2];d=O[l+12|0]!=0;c=O[s|0]|O[s+1|0]<<8;if(c){m=((c<<8|c>>>8)&65535)+t|0}else{m=275552}c=O[m+2|0]|O[m+3|0]<<8;i=c?((c<<8|c>>>8)&65535)-1|0:0;d=d&(i|0)!=0;c=m+4|0;O:{if(O[l+48|0]){if(!d){break O}N[l+16>>2]=-1;d=O[c|0]|O[c+1|0]<<8;e=(d<<8|d>>>8)&65535;q=N[l+28>>2];k=q-1|0;v=N[l+44>>2];f=N[l+20>>2];o=N[l+32>>2];P:while(1){Q:{p=e>>>9|0;R:{S:{if(!((p|0)!=N[o+(f<<3)>>2]|f>>>0>=q>>>0)){d=f;break S}h=0;g=k;T:{if((q|0)>0){while(1){d=g+h>>>1|0;w=N[o+(d<<3)>>2];U:{if((p|0)<(w|0)){g=d-1|0;break U}if((p|0)==(w|0)){break T}h=d+1|0}if((g|0)>=(h|0)){continue}break}}g=e&65024;h=g+512|0;break R}N[l+20>>2]=d}g=e&65024;h=g+512|0;if(v){break Q}f=d}while(1){i=i-1|0;if(!i){break O}d=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(d<<8|d>>>8)&65535;if(g>>>0>e>>>0){continue P}if(e>>>0>>0){continue}break}continue}p=v+(N[(o+(d<<3)|0)+4>>2]<<6)|0;while(1){f=p+(e>>>3&56)|0;w=N[f>>2];x=N[f+4>>2];D=f,E=_E(-2,-1,e)&w,N[D>>2]=E;N[f+4>>2]=Pa&x;i=i-1|0;if(!i){break O}f=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(f<<8|f>>>8)&65535;if(g>>>0>e>>>0){f=d;continue P}if(e>>>0>>0){continue}break}f=d;continue}}if(!d){break O}N[l+16>>2]=-1;d=O[c|0]|O[c+1|0]<<8;e=(d<<8|d>>>8)&65535;p=l+24|0;o=l+36|0;f=N[l+32>>2];h=N[l+20>>2];V:{W:{X:{Y:while(1){Z:{q=e>>>9|0;_:{$:{d=N[l+28>>2];if(d>>>0<=h>>>0){break $}k=(h<<3)+f|0;if((q|0)!=N[k>>2]){break $}d=k+4|0;break _}k=N[l+40>>2];aa:{ba:{if((d|0)<=0){h=0;break ba}g=d-1|0;h=0;while(1){d=g+h>>>1|0;v=N[(d<<3)+f>>2];ca:{if((v|0)>(q|0)){g=d-1|0;break ca}if((q|0)==(v|0)){h=d;break aa}h=d+1|0}if((g|0)>=(h|0)){continue}break}}if(!O[l+12|0]){break O}g=N[o>>2];if((g|0)<0){break V}d=k;f=d+1|0;f=(f|0)>0?f:0;if(f>>>0>g>>>0){while(1){g=((g>>>1|0)+g|0)+8|0;if(f>>>0>=g>>>0){continue}break}if(g>>>0>67108863){break Z}d=$a(N[l+44>>2],g<<6);if(!d){break Z}N[l+36>>2]=g;N[l+44>>2]=d;d=N[l+40>>2]}if(d>>>0>>0){C(N[l+44>>2]+(d<<6)|0,0,f-d<<6)}N[l+40>>2]=f;d=N[l+24>>2];if((d|0)<0){break W}if(d>>>0>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(f>>>0>=d>>>0){continue}break}if(d>>>0>536870911){break X}g=$a(N[l+32>>2],d<<3);if(!g){break X}N[l+24>>2]=d;N[l+32>>2]=g}d=N[l+28>>2];if(d>>>0>>0){C(N[l+32>>2]+(d<<3)|0,0,f-d<<3)}N[l+28>>2]=f;d=N[l+44>>2]+(k<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=h<<3;f=d+N[l+32>>2]|0;F(f+8|0,f,N[l+28>>2]+(h^-1)<<3);da:{if(Q[l+28>>2]<=h>>>0){N[147456]=0;N[147457]=0;d=589824;break da}d=d+N[l+32>>2]|0}N[d>>2]=q;N[d+4>>2]=k;f=N[l+32>>2]}N[l+20>>2]=h;d=((h<<3)+f|0)+4|0}k=N[l+44>>2];if(!k){break O}g=k+(N[d>>2]<<6)|0;q=e&65024;v=q+512|0;while(1){d=g+(e>>>3&56)|0;w=N[d+4>>2];k=e&63;e=k&31;if((k&63)>>>0>=32){k=1<>>32-e}N[d>>2]=x|N[d>>2];N[d+4>>2]=k|w;i=i-1|0;if(!i){break O}d=O[c+2|0]|O[c+3|0]<<8;c=c+2|0;e=(d<<8|d>>>8)&65535;if(q>>>0>e>>>0){continue Y}if(e>>>0>>0){continue}break}continue}break}p=o}N[p>>2]=-1}i=N[l+36>>2];if((i|0)<0){break V}c=N[l+28>>2];c=(c|0)>0?c:0;if(c>>>0>i>>>0){while(1){i=((i>>>1|0)+i|0)+8|0;if(c>>>0>=i>>>0){continue}break}ea:{if(i>>>0<=67108863){d=$a(N[l+44>>2],i<<6);if(d){break ea}}N[o>>2]=-1;break V}N[l+36>>2]=i;N[l+44>>2]=d}d=N[l+40>>2];if(d>>>0>>0){C(N[l+44>>2]+(d<<6)|0,0,c-d<<6)}N[l+40>>2]=c}L[l+12|0]=0}c=O[m|0]|O[m+1|0]<<8;o=(c<<8|c>>>8)&65535;g=N[b+20>>2];c=O[g+12|0];fa:{if(O[g+48|0]){if(!c){break fa}e=N[g+20>>2];c=N[g+28>>2];d=o>>>9|0;f=N[g+32>>2];if(!(e>>>0>>0&(d|0)==N[f+(e<<3)>>2])){if((c|0)<=0){break fa}c=c-1|0;i=0;while(1){ga:{e=c+i>>>1|0;h=N[f+(e<<3)>>2];ha:{if((h|0)>(d|0)){c=e-1|0;break ha}if((d|0)==(h|0)){break ga}i=e+1|0}if((c|0)>=(i|0)){continue}break fa}break}N[g+20>>2]=e}c=N[g+44>>2];if(!c){break fa}d=N[(f+(e<<3)|0)+4>>2];N[g+16>>2]=-1;c=(c+(d<<6)|0)+(o>>>3&56)|0;d=N[c>>2];f=N[c+4>>2];D=c,E=_E(-2,-1,o)&d,N[D>>2]=E;N[c+4>>2]=Pa&f;break fa}if(!c){break fa}N[g+16>>2]=-1;p=o>>>9|0;d=N[g+32>>2];ia:{ja:{f=N[g+20>>2];c=N[g+28>>2];if(f>>>0>=c>>>0){break ja}f=(f<<3)+d|0;if((p|0)!=N[f>>2]){break ja}c=f+4|0;break ia}h=N[g+40>>2];ka:{la:{if((c|0)<=0){c=0;break la}i=c-1|0;c=0;while(1){f=c+i>>>1|0;e=N[(f<<3)+d>>2];ma:{if((e|0)>(p|0)){i=f-1|0;break ma}if((e|0)==(p|0)){c=f;break ka}c=f+1|0}if((c|0)<=(i|0)){continue}break}}na:{oa:{k=g+36|0;d=N[k>>2];pa:{if((d|0)<0){break pa}qa:{ra:{e=h;f=e+1|0;m=(f|0)>0?f:0;if(m>>>0>d>>>0){while(1){d=((d>>>1|0)+d|0)+8|0;if(m>>>0>=d>>>0){continue}break}f=k;if(d>>>0>67108863){break ra}e=$a(N[g+44>>2],d<<6);if(!e){break ra}N[g+36>>2]=d;N[g+44>>2]=e;e=N[g+40>>2]}if(e>>>0>>0){C(N[g+44>>2]+(e<<6)|0,0,m-e<<6)}N[g+40>>2]=m;f=g+24|0;e=N[f>>2];if((e|0)<0){break qa}if(e>>>0>>0){while(1){e=((e>>>1|0)+e|0)+8|0;if(m>>>0>=e>>>0){continue}break}if(e>>>0>536870911){break ra}d=$a(N[g+32>>2],e<<3);if(!d){break ra}N[g+24>>2]=e;N[g+32>>2]=d}d=N[g+28>>2];if(d>>>0>>0){C(N[g+32>>2]+(d<<3)|0,0,m-d<<3)}N[g+28>>2]=m;d=N[g+44>>2]+(h<<6)|0;N[d>>2]=0;N[d+4>>2]=0;N[d+56>>2]=0;N[d+60>>2]=0;N[d+48>>2]=0;N[d+52>>2]=0;N[d+40>>2]=0;N[d+44>>2]=0;N[d+32>>2]=0;N[d+36>>2]=0;N[d+24>>2]=0;N[d+28>>2]=0;N[d+16>>2]=0;N[d+20>>2]=0;N[d+8>>2]=0;N[d+12>>2]=0;d=c<<3;f=d+N[g+32>>2]|0;F(f+8|0,f,N[g+28>>2]+(c^-1)<<3);if(Q[g+28>>2]>c>>>0){break oa}N[147456]=0;N[147457]=0;d=589824;break na}N[f>>2]=-1}i=N[g+36>>2];if((i|0)<0){break pa}c=N[g+28>>2];c=(c|0)>0?c:0;if(c>>>0>i>>>0){while(1){i=((i>>>1|0)+i|0)+8|0;if(c>>>0>=i>>>0){continue}break}sa:{if(i>>>0<=67108863){d=$a(N[g+44>>2],i<<6);if(d){break sa}}N[k>>2]=-1;L[g+12|0]=0;break fa}N[g+36>>2]=i;N[g+44>>2]=d}d=N[g+40>>2];if(d>>>0>>0){C(N[g+44>>2]+(d<<6)|0,0,c-d<<6)}N[g+40>>2]=c}L[g+12|0]=0;break fa}d=d+N[g+32>>2]|0}N[d>>2]=p;N[d+4>>2]=h;d=N[g+32>>2]}N[g+20>>2]=c;c=((c<<3)+d|0)+4|0}d=N[g+44>>2];if(!d){break fa}c=(d+(N[c>>2]<<6)|0)+(o>>>3&56)|0;e=N[c+4>>2];f=o&63;d=f&31;if((f&63)>>>0>=32){m=1<>>32-d}N[c>>2]=f|N[c>>2];N[c+4>>2]=e|m}s=s+2|0;A=A-1|0;if(A){continue}break}}ta:{ua:{switch((B&65535)-1|0){case 0:r=r+1|0;break ta;case 1:break ua;default:break ta}}c=O[n|0]|O[n+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=r>>>0?241305:(T(r,6)+n|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=u>>>0){u=0;r=r+1|0;c=O[n|0]|O[n+1|0]<<8;if(r>>>0>=((c<<8|c>>>8)&65535)>>>0){break ta}c=(T(r,6)+n|0)+2|0;f=j+1|0;d=O[n|0]|O[n+1|0]<<8;d=((d<<8|d>>>8)&65535)>>>0<=r>>>0?241305:c;d=O[d+4|0]|O[d+5|0]<<8;j=(d<<8|d>>>8)&65535;if((f|0)==(j|0)){c=O[c|0]|O[c+1|0]<<8;u=(c<<8|c>>>8)&65535;break ta}c=O[n|0]|O[n+1|0]<<8;r=(c<<8|c>>>8)&65535;break ta}u=u+1|0;j=j+1|0}c=O[n|0]|O[n+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=r>>>0){break a}y=y+2|0;z=z-1|0;if(z){continue}break}break a}if((O[a|0]|O[a+1|0]<<8)!=256){break a}c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}if(!Ob(c,N[b+12>>2])){break a}va:{wa:{xa:{ya:{c=O[a+2|0]|O[a+3|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}d=O[c|0]|O[c+1|0]<<8;o=d<<8|d>>>8;d=(o&65535)-1|0;switch(d|0){case 0:break xa;case 1:break ya;default:break wa}}e=241305;g=256;za:{if(!(O[c+2|0]|O[c+3|0]<<8)){break za}e=c+4|0;d=O[e|0]|O[e+1|0]<<8;h=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){d=O[c+4|0]|O[c+5|0]<<8;g=d<<8|d>>>8;if(O[c+2|0]|O[c+3|0]<<8){break za}}e=241305}d=O[e+2|0]|O[e+3|0]<<8;if((g&65535)>>>0<=((d<<8|d>>>8)&65535)>>>0){f=h&65535;break xa}d=O[c+2|0]|O[c+3|0]<<8;j=(d<<8|d>>>8)&65535}h=c+2|0;break va}if(d>>>0>1){break a}h=2}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}c=O[a+4|0]|O[a+5|0]<<8;if(!c){break a}s=(c<<8|(c&65280)>>>8)&65535;g=a+6|0;d=0;while(1){c=O[g|0]|O[g+1|0]<<8;if(c){c=((c<<8|c>>>8)&65535)+a|0}else{c=275552}k=O[c|0]|O[c+1|0]<<8;e=(k<<8|k>>>8)&65535;i=c+2|0;c=N[b+20>>2];m=c+12|0;Aa:{if(O[c+48|0]){Ef(m,i,e,2);break Aa}if(!k|!O[m|0]){break Aa}N[c+16>>2]=-1;c=O[i|0]|O[i+1|0]<<8;c=(c<<8|c>>>8)&65535;Ba:while(1){p=wc(m,c);if(!p){break Aa}l=c&65024;r=l+512|0;while(1){k=p+(c>>>3&56)|0;u=N[k+4>>2];t=c&63;n=t&31;c=k;if((t&63)>>>0>=32){k=1<>>32-n}N[c>>2]=q|N[c>>2];N[c+4>>2]=k|u;e=e-1|0;if(!e){break Aa}c=O[i+2|0]|O[i+3|0]<<8;i=i+2|0;c=(c<<8|c>>>8)&65535;if(l>>>0>c>>>0){continue Ba}if(c>>>0>>0){continue}break}continue}}Ca:{Da:{switch((o&65535)-1|0){case 0:j=j+1|0;break Ca;case 1:break Da;default:break Ca}}c=O[h|0]|O[h+1|0]<<8;c=((c<<8|c>>>8)&65535)>>>0<=j>>>0?241305:(h+T(j,6)|0)+2|0;c=O[c+2|0]|O[c+3|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=f>>>0){f=0;j=j+1|0;c=O[h|0]|O[h+1|0]<<8;if(j>>>0>=((c<<8|c>>>8)&65535)>>>0){break Ca}c=(h+T(j,6)|0)+2|0;k=d+1|0;e=O[h|0]|O[h+1|0]<<8;e=((e<<8|e>>>8)&65535)>>>0<=j>>>0?241305:c;d=O[e+4|0]|O[e+5|0]<<8;d=(d<<8|d>>>8)&65535;if((k|0)==(d|0)){c=O[c|0]|O[c+1|0]<<8;f=(c<<8|c>>>8)&65535;break Ca}c=O[h|0]|O[h+1|0]<<8;j=(c<<8|c>>>8)&65535;break Ca}f=f+1|0;d=d+1|0}c=O[h|0]|O[h+1|0]<<8;if(((c<<8|c>>>8)&65535)>>>0<=j>>>0){break a}g=g+2|0;s=s-1|0;if(s){continue}break}break a}if(!a){break a}while(1){a=O[i|0]|O[i+1|0]<<8;tc(f,(a<<8|a>>>8)&65535);c=c+1|0;a=O[d|0]|O[d+1|0]<<8;if(c>>>0>=((a<<8|a>>>8)&65535)>>>0){break a}i=i+2|0;g=g-1|0;if(g){continue}break}break a}b=O[a|0]|O[a+1|0]<<8;if(((b<<8|b>>>8)&65535)>>>0<=c>>>0){break a}while(1){b=a+(c<<1)|0;b=O[b+2|0]|O[b+3|0]<<8;tc(j,d+(b<<8|b>>>8)&65535);c=c+1|0;b=O[a|0]|O[a+1|0]<<8;if(c>>>0<((b<<8|b>>>8)&65535)>>>0){continue}break}}}function km(a,b){var 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,t=0,u=0,v=0;p=La-32|0;La=p;f=-2;a:{if(!a){break a}e=N[a+28>>2];if(!e|!N[a>>2]){break a}i=-5;q=(b|0)==4?-5:0;while(1){b=-3;f=1;b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{switch(N[e>>2]){case 0:f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;b=O[b|0];N[e+4>>2]=b;e=N[a+28>>2];if((b&15)!=8){N[e>>2]=13;N[a+24>>2]=16520;break c}if(Q[e+16>>2]<(N[e+4>>2]>>>4|0)+8>>>0){N[e>>2]=13;N[a+24>>2]=15309;break c}N[e>>2]=1;i=q;case 1:f=i;b=N[a+4>>2];if(!b){break a}b=b-1|0;N[a+4>>2]=b;N[a+8>>2]=N[a+8>>2]+1;d=N[a>>2];N[a>>2]=d+1;d=O[d|0];if(((d|N[e+4>>2]<<8)>>>0)%31|0){N[e>>2]=13;N[a+24>>2]=13716;break c}if(!(d&32)){N[e>>2]=7;break b}N[e>>2]=2;i=q;break s;case 12:break a;case 6:break n;case 7:break o;case 5:break p;case 4:break q;case 3:break r;case 2:break t;case 13:break d;case 11:break e;case 10:break f;case 9:break g;case 8:break h;default:break m}}b=N[a+4>>2]}f=i;if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=O[b|0]<<24;e=N[a+28>>2];N[e>>2]=3;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<16);e=N[a+28>>2];N[e>>2]=4;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<8);e=N[a+28>>2];N[e>>2]=5;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+O[b|0];b=a;a=N[a+28>>2];N[b+48>>2]=N[a+8>>2];N[a>>2]=6;f=2;break a}c=N[e+20>>2];l=N[c+52>>2];b=N[c+48>>2];u:{if(l>>>0>>0){b=b+(l^-1)|0;break u}b=N[c+44>>2]-l|0}g=N[a+4>>2];e=N[a>>2];j=N[c+28>>2];f=N[c+32>>2];u=c+20|0;s=c+16|0;d=N[c>>2];v:{w:{while(1){h=i;x:{y:{z:{A:{B:{C:{D:{E:{F:{G:{H:{I:{J:{K:{L:{M:{N:{O:{P:{Q:{R:{S:{T:{switch(d|0){case 2:if(!g){break O}U:{if(b){d=l;break U}V:{if(N[c+44>>2]!=(l|0)){d=l;break V}d=N[c+40>>2];b=N[c+48>>2];if((d|0)==(b|0)){d=l;break V}b=b>>>0>d>>>0?b+(d^-1)|0:l-d|0;if(b){break U}}N[c+52>>2]=d;k=Yb(c,a,i);i=N[c+52>>2];h=N[c+48>>2];W:{if(i>>>0>=h>>>0){d=N[c+44>>2];b=d-i|0;break W}d=N[c+44>>2];b=h+(i^-1)|0}X:{if((d|0)!=(i|0)){d=i;break X}d=N[c+40>>2];if((h|0)==(d|0)){d=i;break X}b=d>>>0>>0?h+(d^-1)|0:i-d|0}if(!b){break P}}i=N[c+4>>2];i=g>>>0>i>>>0?i:g;i=b>>>0>i>>>0?i:b;F(d,e,i);h=N[c+4>>2];k=h-i|0;N[c+4>>2]=k;b=b-i|0;l=d+i|0;g=g-i|0;e=e+i|0;if((h|0)!=(i|0)){while(1){h=N[c>>2];if((h|0)!=2){i=0;switch(h|0){case 8:break v;case 7:break w;case 6:break E;case 5:break G;case 3:break L;case 1:break M;case 0:break N;case 9:break R;case 4:break S;default:break Q}}if(!g){i=0;break O}Y:{if(b){d=l;break Y}Z:{if(N[c+44>>2]!=(l|0)){d=l;break Z}d=N[c+40>>2];b=N[c+48>>2];if((d|0)==(b|0)){d=l;break Z}b=b>>>0>d>>>0?b+(d^-1)|0:l-d|0;if(b){break Y}}N[c+52>>2]=d;k=Yb(c,a,0);i=N[c+52>>2];h=N[c+48>>2];_:{if(i>>>0>>0){d=N[c+44>>2];b=h+(i^-1)|0;break _}d=N[c+44>>2];b=d-i|0}$:{if((d|0)!=(i|0)){d=i;break $}d=N[c+40>>2];if((h|0)==(d|0)){d=i;break $}b=d>>>0>>0?h+(d^-1)|0:i-d|0}if(!b){break P}k=N[c+4>>2]}i=g>>>0>k>>>0?k:g;i=b>>>0>i>>>0?i:b;F(d,e,i);h=N[c+4>>2];k=h-i|0;N[c+4>>2]=k;b=b-i|0;l=d+i|0;g=g-i|0;e=e+i|0;if((h|0)!=(i|0)){continue}break}}i=0;d=N[c+24>>2]?7:0;N[c>>2]=d;continue;case 8:break v;case 7:break w;case 6:break E;case 5:break G;case 3:break L;case 1:break M;case 0:break N;case 9:break R;case 4:break T;default:break Q}}k=N[c+4>>2]}b=N[c+8>>2];if(b>>>0<(k>>>10|0)+4>>>0){break I}break H}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break D}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,-2);break i}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=d;b=Yb(c,a,k);break i}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break j}aa:{ba:{if(j>>>0>2){k=e;i=h;d=j;break ba}if(!g){break aa}k=e+1|0;g=g-1|0;f=O[e|0]<>2]=f&1;ca:{da:{switch((f>>>1&3)-1|0){case 0:e=Qa[N[a+32>>2]](N[a+40>>2],1,28)|0;if(!e){N[c+32>>2]=f;N[c+4>>2]=0;N[c+28>>2]=d;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=k;N[a+8>>2]=N[a+8>>2]+(k-b|0);break K}N[e+24>>2]=42352;N[e+20>>2]=38256;M[e+16>>1]=1289;N[e>>2]=0;N[c+4>>2]=e;j=d-3|0;f=f>>>3|0;d=6;break ca;case 1:j=d-3|0;f=f>>>3|0;d=3;break ca;case 2:N[c>>2]=9;N[a+24>>2]=15513;N[c+28>>2]=d-3;N[c+32>>2]=f>>>3;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=k;N[a+8>>2]=N[a+8>>2]+(k-b|0);break D;default:break da}}d=d-3|0;f=f>>>3>>>(d&7)|0;j=d&-8;d=1}e=k;N[c>>2]=d;continue}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,h);break i}ea:{if(j>>>0>31){h=e;break ea}fa:{ga:{if(!g){h=e;d=j;break ga}d=j+8|0;h=e+1|0;k=g-1|0;f=O[e|0]<>>0>=24){j=d;g=k;break ea}if(k){k=j+16|0;h=e+2|0;n=g-2|0;f=O[e+1|0]<>>0>15){j=k;g=n;break ea}if(!n){d=k;break ga}d=j+24|0;h=e+3|0;n=g-3|0;f=O[e+2|0]<>>0>7){j=d;g=n;break ea}if(n){break fa}}}N[c+28>>2]=d;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-b|0);break j}j=j+32|0;h=e+4|0;g=g-4|0;f=O[e+3|0]<>>16|0;if((d|0)!=(f&65535)){N[c>>2]=9;N[a+24>>2]=10861;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-b|0);break D}N[c+4>>2]=d;j=0;e=h;ha:{if(f>>>0<4294901760){f=0;d=2;break ha}f=0;d=N[c+24>>2]?7:0}N[c>>2]=d;continue}ia:{if(j>>>0>13){d=e;break ia}ja:{ka:{if(!g){d=e;b=j;break ka}b=j+8|0;d=e+1|0;h=g-1|0;f=O[e|0]<>>0>=6){j=b;g=h;break ia}if(h){break ja}}N[c+28>>2]=b;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);break j}g=g-2|0;d=e+2|0;j=j+16|0;f=O[e+1|0]<>2]=f&16383;la:{b=f&31;if(b>>>0<=29){e=f>>>5&31;if(e>>>0<30){break la}}N[c>>2]=9;N[a+24>>2]=10793;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);break D}b=Qa[N[a+32>>2]](N[a+40>>2],(b+e|0)+258|0,4)|0;N[c+12>>2]=b;if(b){break J}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0)}N[c+52>>2]=l;b=Yb(c,a,-4);break i}N[c>>2]=4;b=0;N[c+8>>2]=0;j=j-14|0;f=f>>>14|0;e=d}while(1){ma:{if(j>>>0<=2){if(!g){break ma}g=g-1|0;f=O[e|0]<>2]=b+1;N[N[c+12>>2]+(N[(b<<2)+38096>>2]<<2)>>2]=f&7;j=j-3|0;f=f>>>3|0;b=N[c+8>>2];if(b>>>0<(N[c+4>>2]>>>10|0)+4>>>0){continue}break H}break}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=0;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break j}if(b>>>0<19){while(1){N[c+8>>2]=b+1;N[N[c+12>>2]+(N[(b<<2)+38096>>2]<<2)>>2]=0;b=N[c+8>>2];if(b>>>0<19){continue}break}}N[c+16>>2]=7;d=N[c+12>>2];h=N[c+36>>2];N[p+28>>2]=0;na:{b=Qa[N[a+32>>2]](N[a+40>>2],19,4)|0;oa:{if(!b){d=-4;break oa}k=16173;pa:{qa:{ra:{sa:{ta:{d=Ah(d,19,19,0,0,u,s,h,p+28|0,b);switch(d+5|0){case 2:break ra;case 0:break sa;default:break ta}}if(N[s>>2]){break qa}}k=16137}N[a+24>>2]=k;Qa[N[a+36>>2]](N[a+40>>2],b);break pa}Qa[N[a+36>>2]](N[a+40>>2],b);if(!d){break na}if((d|0)!=-3){break oa}}Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=9;d=-3}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,d);break i}N[c>>2]=5;N[c+8>>2]=0;b=0;break F}b=N[c+8>>2]}h=N[c+4>>2];d=h&31;h=h>>>5&31;n=(d+h|0)+258|0;if(b>>>0>>0){while(1){o=N[s>>2];ua:{if(o>>>0<=j>>>0){d=j;k=e;h=g;break ua}if(!g){g=0;break k}k=e+1|0;h=g-1|0;f=O[e|0]<>>0<=d>>>0){break ua}while(1){if(!h){break k}h=h-1|0;f=O[k|0]<>>0>d>>>0){continue}break}}e=N[u>>2]+((N[(o<<2)+38176>>2]&f)<<3)|0;m=O[e+1|0];o=N[e+4>>2];va:{if(o>>>0<=15){N[c+8>>2]=b+1;N[N[c+12>>2]+(b<<2)>>2]=o;j=d-m|0;f=f>>>m|0;b=N[c+8>>2];e=k;g=h;break va}v=(o|0)==18;t=v?7:o-14|0;r=m+t|0;wa:{if(r>>>0<=d>>>0){j=d;e=k;g=h;break wa}if(!h){h=0;break l}e=k+1|0;g=h-1|0;f=O[k|0]<>>0<=j>>>0){break wa}while(1){if(!g){break l}g=g-1|0;f=O[e|0]<>>0>j>>>0){continue}break}}j=j-r|0;d=f>>>m|0;f=d>>>t|0;h=d&N[(t<<2)+38176>>2];m=v?11:3;k=h+m|0;if(!((o|0)!=16|b?k+b>>>0<=n>>>0:0)){Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=9;N[a+24>>2]=9688;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break D}d=0;d=(o|0)==16?N[(N[c+12>>2]+(b<<2)|0)-4>>2]:d;o=k-1|0;n=k&3;if(n){k=h+m|0;h=0;while(1){N[N[c+12>>2]+(b<<2)>>2]=d;b=b+1|0;h=h+1|0;if((n|0)!=(h|0)){continue}break}k=k-n|0}if(o>>>0>=3){while(1){h=b<<2;N[h+N[c+12>>2]>>2]=d;N[(h+N[c+12>>2]|0)+4>>2]=d;N[(h+N[c+12>>2]|0)+8>>2]=d;N[(h+N[c+12>>2]|0)+12>>2]=d;b=b+4|0;k=k-4|0;if(k){continue}break}}N[c+8>>2]=b}h=N[c+4>>2];d=h&31;h=h>>>5&31;n=(d+h|0)+258|0;if(n>>>0>b>>>0){continue}break}}N[c+20>>2]=0;N[p+24>>2]=9;N[p+20>>2]=6;k=N[c+36>>2];o=N[c+12>>2];N[p+28>>2]=0;xa:{b=Qa[N[a+32>>2]](N[a+40>>2],288,4)|0;ya:{za:{if(!b){break za}n=16213;Aa:{Ba:{Ca:{Da:{m=d+257|0;r=Ah(o,m,257,42608,42736,p+16|0,p+24|0,k,p+28|0,b);if(r){d=16244;switch(r+4|0){case 1:break Ba;case 0:break Da;default:break Ca}}r=N[p+24>>2];if(!r){break Ca}h=Ah(o+(m<<2)|0,h+1|0,0,42864,42992,p+12|0,p+20|0,k,p+28|0,b);Ea:{if(h){n=16279;d=16304;switch(h+5|0){case 2:break Ba;case 0:break Ca;case 1:break Da;default:break Ea}}h=N[p+20>>2];if(h|!d){break Aa}}d=10890;break Ba}Qa[N[a+36>>2]](N[a+40>>2],b);break za}d=n}N[a+24>>2]=d;Qa[N[a+36>>2]](N[a+40>>2],b);Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=9;b=-3;break ya}Qa[N[a+36>>2]](N[a+40>>2],b);d=N[p+12>>2];k=N[p+16>>2];b=Qa[N[a+32>>2]](N[a+40>>2],1,28)|0;if(b){break xa}}b=-4}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;d=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-d|0);N[c+52>>2]=l;b=Yb(c,a,b);break i}N[b+24>>2]=d;N[b+20>>2]=k;L[b+17|0]=h;L[b+16|0]=r;N[b>>2]=0;N[c+4>>2]=b;Qa[N[a+36>>2]](N[a+40>>2],N[c+12>>2]);N[c>>2]=6}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;m=N[c+4>>2];b=N[c+48>>2];Fa:{if(b>>>0>l>>>0){d=b+(l^-1)|0;break Fa}d=N[c+44>>2]-l|0}n=N[m>>2];while(1){Ga:{Ha:{Ia:{Ja:{Ka:{La:{Ma:{Na:{Oa:{Pa:{Qa:{Ra:{Sa:{switch(n|0){case 1:o=N[m+12>>2];break Ra;case 3:o=N[m+12>>2];h=e;k=g;break Pa;case 5:n=N[m+12>>2];h=e;o=g;break Na;case 9:break Ja;case 8:break Ka;case 7:break La;case 6:break Ma;case 4:break Oa;case 2:break Qa;case 0:break Sa;default:break Ha}}N[m>>2]=1;o=O[m+16|0];N[m+12>>2]=o;N[m+8>>2]=N[m+20>>2]}Ta:{if(j>>>0>=o>>>0){h=j;b=e;k=g;break Ta}if(!g){g=0;n=i;break y}b=e+1|0;k=g-1|0;f=O[e|0]<>>0<=h>>>0){break Ta}while(1){if(!k){n=0;break y}k=k-1|0;f=O[b|0]<>>0>h>>>0){continue}break}}e=N[m+8>>2]+((N[(o<<2)+38176>>2]&f)<<3)|0;g=O[e+1|0];j=h-g|0;f=f>>>g|0;Ua:{g=O[e|0];Va:{if(!g){e=N[e+4>>2];N[m>>2]=6;N[m+8>>2]=e;n=6;break Va}if(g&16){N[m+8>>2]=g&15;e=N[e+4>>2];N[m>>2]=2;N[m+4>>2]=e;n=2;break Va}if(!(g&64)){N[m+12>>2]=g;N[m+8>>2]=e+(N[e+4>>2]<<3);n=1;break Va}if(!(g&32)){break Ua}N[m>>2]=7;n=7}e=b;g=k;continue}N[m>>2]=9;N[a+24>>2]=16348;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=k;d=N[a>>2];N[a>>2]=b;N[a+8>>2]=N[a+8>>2]+(b-d|0);break Ia}n=N[m+8>>2];Wa:{if(n>>>0<=j>>>0){b=j;h=e;k=g;break Wa}if(!g){g=0;n=i;break z}h=e+1|0;k=g-1|0;f=O[e|0]<>>0<=b>>>0){break Wa}while(1){if(!k){n=0;break z}k=k-1|0;f=O[h|0]<>>0>b>>>0){continue}break}}N[m>>2]=3;o=O[m+17|0];N[m+12>>2]=o;N[m+8>>2]=N[m+24>>2];N[m+4>>2]=N[m+4>>2]+(N[(n<<2)+38176>>2]&f);j=b-n|0;f=f>>>n|0}Xa:{if(j>>>0>=o>>>0){b=j;e=h;g=k;break Xa}if(!k){k=0;n=i;break A}e=h+1|0;g=k-1|0;f=O[h|0]<>>0<=b>>>0){break Xa}while(1){if(!g){n=0;break A}g=g-1|0;f=O[e|0]<>>0>b>>>0){continue}break}}j=b;k=N[(o<<2)+38176>>2]&f;o=N[m+8>>2];b=(k<<3)+o|0;h=O[b+1|0];j=j-h|0;f=f>>>h|0;h=O[b|0];if(h&16){N[m+8>>2]=h&15;b=N[b+4>>2];n=4;N[m>>2]=4;N[m+12>>2]=b;continue}if(!(h&64)){N[m+12>>2]=h;n=3;N[m+8>>2]=b+(N[(o+(k<<3)|0)+4>>2]<<3);continue}N[m>>2]=9;N[a+24>>2]=16376;N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break Ia}k=N[m+8>>2];Ya:{if(k>>>0<=j>>>0){b=j;h=e;o=g;break Ya}if(!g){g=0;n=i;break B}h=e+1|0;o=g-1|0;f=O[e|0]<>>0<=b>>>0){break Ya}while(1){if(!o){n=0;break B}o=o-1|0;f=O[h|0]<>>0>b>>>0){continue}break}}N[m>>2]=5;n=N[m+12>>2]+(N[(k<<2)+38176>>2]&f)|0;N[m+12>>2]=n;j=b-k|0;f=f>>>k|0}b=N[c+40>>2];e=l-n|0;if(b>>>0>e>>>0){g=N[c+44>>2]-b|0;while(1){e=e+g|0;if(e>>>0>>0){continue}break}}if(N[m+4>>2]){Za:{if(d){b=l;break Za}_a:{if(N[c+44>>2]!=(l|0)){b=l;break _a}d=N[c+48>>2];if((d|0)==(b|0)){b=l;break _a}d=b>>>0>>0?d+(b^-1)|0:l-b|0;if(d){break Za}}N[c+52>>2]=b;n=Yb(c,a,i);i=N[c+52>>2];g=N[c+48>>2];$a:{if(i>>>0>=g>>>0){b=N[c+44>>2];d=b-i|0;break $a}b=N[c+44>>2];d=g+(i^-1)|0}ab:{if((b|0)!=(i|0)){b=i;break ab}b=N[c+40>>2];if((g|0)==(b|0)){b=i;break ab}d=b>>>0>>0?g+(b^-1)|0:i-b|0}if(!d){break C}}L[b|0]=O[e|0];e=e+1|0;k=N[c+44>>2];if((e|0)==(k|0)){e=N[c+40>>2]}d=d-1|0;b=b+1|0;g=N[m+4>>2]-1|0;N[m+4>>2]=g;i=0;if(g){while(1){bb:{if(d){break bb}cb:{if((b|0)!=(k|0)){break cb}b=N[c+40>>2];d=N[c+48>>2];if((b|0)==(d|0)){b=k;break cb}d=b>>>0>>0?d+(b^-1)|0:k-b|0;if(d){break bb}}N[c+52>>2]=b;n=Yb(c,a,0);g=N[c+52>>2];l=N[c+48>>2];db:{if(g>>>0>>0){b=N[c+44>>2];d=l+(g^-1)|0;break db}b=N[c+44>>2];d=b-g|0}eb:{if((b|0)!=(g|0)){b=g;break eb}b=N[c+40>>2];if((l|0)==(b|0)){b=g;break eb}d=b>>>0>>0?l+(b^-1)|0:g-b|0}if(!d){break C}}L[b|0]=O[e|0];e=e+1|0;k=N[c+44>>2];if((e|0)==(k|0)){e=N[c+40>>2]}d=d-1|0;b=b+1|0;g=N[m+4>>2]-1|0;N[m+4>>2]=g;if(g){continue}break}}l=b}n=0;N[m>>2]=0;e=h;g=o;continue}if(d){b=l;break Ga}fb:{if(N[c+44>>2]!=(l|0)){b=l;break fb}b=N[c+40>>2];d=N[c+48>>2];if((b|0)==(d|0)){b=l;break fb}d=b>>>0>>0?d+(b^-1)|0:l-b|0;if(d){break Ga}}N[c+52>>2]=b;n=Yb(c,a,i);i=N[c+52>>2];h=N[c+48>>2];gb:{if(i>>>0>>0){b=N[c+44>>2];d=h+(i^-1)|0;break gb}b=N[c+44>>2];d=b-i|0}hb:{if((b|0)!=(i|0)){b=i;break hb}b=N[c+40>>2];if((h|0)==(b|0)){b=i;break hb}d=b>>>0>>0?h+(b^-1)|0:i-b|0}if(d){break Ga}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;d=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-d|0);N[c+52>>2]=b;break x}N[c+52>>2]=l;b=j>>>0>7;j=b?j-8|0:j;g=b+g|0;e=e-b|0;n=Yb(c,a,i);l=N[c+52>>2];if((l|0)!=N[c+48>>2]){N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);break x}N[m>>2]=8}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;n=1;break x}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0)}N[c+52>>2]=l;n=-3;break x}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;n=-2;break x}L[b|0]=N[m+8>>2];n=0;N[m>>2]=0;d=d-1|0;l=b+1|0;i=0;continue}}N[c+52>>2]=l;b=Yb(c,a,-3);break i}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=o;d=N[a>>2];N[a>>2]=h;N[a+8>>2]=N[a+8>>2]+(h-d|0);N[c+52>>2]=b;break x}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l;break x}N[c+32>>2]=f;N[c+28>>2]=(k<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=h+k|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l;break x}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l;break x}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);N[c+52>>2]=l}b=Yb(c,a,n);if((b|0)!=1){b=Yb(c,a,b);break i}Qa[N[a+36>>2]](N[a+40>>2],N[c+4>>2]);l=N[c+52>>2];b=N[c+48>>2];ib:{if(l>>>0>>0){b=b+(l^-1)|0;break ib}b=N[c+44>>2]-l|0}j=N[c+28>>2];f=N[c+32>>2];g=N[a+4>>2];e=N[a>>2];d=0;if(!N[c+24>>2]){i=0;N[c>>2]=0;continue}break}N[c>>2]=7;i=0}N[c+52>>2]=l;b=Yb(c,a,i);l=N[c+52>>2];if((l|0)!=N[c+48>>2]){N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;d=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-d|0);b=Yb(c,a,b);break i}N[c>>2]=8}N[c+28>>2]=j;N[c+32>>2]=f;N[a+4>>2]=g;b=N[a>>2];N[a>>2]=e;N[a+8>>2]=N[a+8>>2]+(e-b|0);N[c+52>>2]=l;b=Yb(c,a,1);break i}N[e>>2]=13;N[a+24>>2]=7902;N[e+4>>2]=0}f=-2;break a}N[c+32>>2]=f;N[c+28>>2]=(h<<3)+d;N[a+4>>2]=0;b=N[a>>2];d=h+k|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0);break j}N[c+32>>2]=f;N[c+28>>2]=(g<<3)+j;N[a+4>>2]=0;b=N[a>>2];d=e+g|0;N[a>>2]=d;N[a+8>>2]=N[a+8>>2]+(d-b|0)}N[c+52>>2]=l;b=Yb(c,a,i)}f=q;jb:{switch(b+3|0){case 0:b=N[a+28>>2];N[b>>2]=13;N[b+4>>2]=0;i=-3;e=N[a+28>>2];continue;case 3:break a;case 4:break jb;default:break d}}b=N[a+28>>2];d=N[b+20>>2];N[b+4>>2]=N[d+60>>2];b=N[d>>2];if((b&-2)==4){Qa[N[a+36>>2]](N[a+40>>2],N[d+12>>2]);b=N[d>>2]}if((b|0)==6){Qa[N[a+36>>2]](N[a+40>>2],N[d+4>>2])}N[d+28>>2]=0;N[d+32>>2]=0;N[d>>2]=0;b=N[d+40>>2];N[d+52>>2]=b;N[d+48>>2]=b;b=N[d+56>>2];if(b){b=Qa[b|0](0,0,0)|0;N[d+60>>2]=b;N[a+48>>2]=b}e=N[a+28>>2];if(N[e+12>>2]){N[e>>2]=12;break b}N[e>>2]=8;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=O[b|0]<<24;e=N[a+28>>2];N[e>>2]=9;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<16);e=N[a+28>>2];N[e>>2]=10;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+(O[b|0]<<8);e=N[a+28>>2];N[e>>2]=11;i=q}f=i;b=N[a+4>>2];if(!b){break a}N[a+4>>2]=b-1;N[a+8>>2]=N[a+8>>2]+1;b=N[a>>2];N[a>>2]=b+1;N[e+8>>2]=N[e+8>>2]+O[b|0];b=N[a+28>>2];if(N[b+4>>2]!=N[b+8>>2]){N[b>>2]=13;N[a+24>>2]=13739;N[b+4>>2]=5;break b}N[b>>2]=12;f=1;break a}f=b;break a}N[e+4>>2]=5}e=N[a+28>>2];i=q;continue}}La=p+32|0;return f}function NE(a){a=a|0;var b=0,c=0,d=0;a:{b:{c:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break b}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break c}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break a}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=273;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];d:{e:{f:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break e}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break f}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break d}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1819239276;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];g:{h:{i:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break h}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break i}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break g}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1667460464;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];j:{k:{l:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break k}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break l}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break j}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=65;N[b+4>>2]=c;N[b>>2]=1853188980;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];m:{n:{o:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break n}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break o}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break m}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1634429038;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];p:{q:{r:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break q}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break r}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break p}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=274;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];s:{t:{u:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break t}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break u}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break s}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=72;N[b+4>>2]=c;N[b>>2]=1919969382;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];v:{w:{x:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break w}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break x}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break v}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=275;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;y:{z:{A:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break z}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break A}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break y}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=274;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];B:{C:{D:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break C}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break D}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break B}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886545254;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];E:{F:{G:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break F}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break G}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break E}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=276;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];H:{I:{J:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break I}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break J}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break H}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1919644262;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];K:{L:{M:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break L}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break M}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break K}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1633842790;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];N:{O:{P:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break O}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break P}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break N}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1651275622;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Q:{R:{S:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break R}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break S}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Q}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1751215206;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];T:{U:{V:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break U}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break V}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break T}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1886614630;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];W:{X:{Y:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break X}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Y}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break W}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1986098293;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Z:{_:{$:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break _}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break $}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Z}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=73;N[b+4>>2]=c;N[b>>2]=1667916660;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];b=N[a+100>>2];aa:{ba:{ca:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break ba}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break ca}b=N[a+100>>2]}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break aa}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;b=c;c=(N[a+104>>2]+(b<<3)|0)-8|0}d=N[a+76>>2];N[c+4>>2]=277;N[c>>2]=d;N[a+76>>2]=N[a+76>>2]+1;da:{ea:{fa:{d=N[a+96>>2];if((d|0)>=0){c=b+1|0;c=(c|0)>0?c:0;if(c>>>0<=d>>>0){break ea}while(1){d=((d>>>1|0)+d|0)+8|0;if(c>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){b=$a(N[a+104>>2],d<<3);if(b){break fa}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break da}N[a+96>>2]=d;N[a+104>>2]=b;b=N[a+100>>2]}if(b>>>0>>0){C(N[a+104>>2]+(b<<3)|0,0,c-b<<3)}N[a+100>>2]=c;c=(N[a+104>>2]+(c<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=278;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];ga:{ha:{ia:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ha}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ia}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ga}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1769172844;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];ja:{ka:{la:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break ka}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break la}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ja}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1768843636;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];ma:{na:{oa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break na}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break oa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ma}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1835361385;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];pa:{qa:{ra:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break qa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break ra}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break pa}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=0;N[b+8>>2]=1;N[b+12>>2]=0;N[b+4>>2]=c;N[b>>2]=1718185569;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];sa:{ta:{ua:{d=N[a+96>>2];if((d|0)>=0){c=N[a+100>>2];b=c+1|0;b=(b|0)>0?b:0;if(b>>>0<=d>>>0){break ta}while(1){d=((d>>>1|0)+d|0)+8|0;if(b>>>0>=d>>>0){continue}break}if(d>>>0<=536870911){c=$a(N[a+104>>2],d<<3);if(c){break ua}}N[a+96>>2]=-1}N[147456]=0;N[147457]=0;c=589824;break sa}N[a+96>>2]=d;N[a+104>>2]=c;c=N[a+100>>2]}if(b>>>0>c>>>0){C(N[a+104>>2]+(c<<3)|0,0,b-c<<3)}N[a+100>>2]=b;c=(N[a+104>>2]+(b<<3)|0)-8|0}b=N[a+76>>2];N[c+4>>2]=0;N[c>>2]=b;N[a+76>>2]=N[a+76>>2]+1;c=N[a+88>>2];va:{wa:{xa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break wa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break xa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break va}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1633842803;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];ya:{za:{Aa:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break za}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Aa}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break ya}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1651275635;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ba:{Ca:{Da:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ca}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Da}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ba}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1751215214;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ea:{Fa:{Ga:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Fa}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ga}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ea}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886545267;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2];c=N[a+88>>2];Ha:{Ia:{Ja:{b=N[a+84>>2];if((b|0)>=0){d=c+1|0;d=(d|0)>0?d:0;if(d>>>0<=b>>>0){break Ia}while(1){b=((b>>>1|0)+b|0)+8|0;if(d>>>0>=b>>>0){continue}break}if(b>>>0<=153391689){c=$a(N[a+92>>2],T(b,28));if(c){break Ja}c=N[a+88>>2]}N[a+84>>2]=-1}N[147460]=0;N[147461]=0;N[147458]=0;N[147459]=0;N[147456]=0;N[147457]=0;N[147462]=0;b=589824;break Ha}N[a+84>>2]=b;N[a+92>>2]=c;c=N[a+88>>2]}if(c>>>0>>0){C(N[a+92>>2]+T(c,28)|0,0,T(d-c|0,28))}N[a+88>>2]=d;c=d;b=(N[a+92>>2]+T(c,28)|0)-28|0}N[b+16>>2]=1;N[b+8>>2]=1;N[b+12>>2]=9;N[b+4>>2]=c;N[b>>2]=1886614643;N[b+20>>2]=N[a+76>>2];N[b+24>>2]=N[a+80>>2]}function Vh(a,b,c,d){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,D=0,E=0,G=0,H=0,I=0,J=0;g=La-176|0;La=g;N[g+172>>2]=0;x=N[a+12>>2];t=N[a>>2];if(P[t+290>>1]>>0){M[t+290>>1]=c}N[a+20>>2]=b;o=65536;v=65536;if(!(L[a+16|0]&1)){e=N[N[a+4>>2]+44>>2];o=N[e+8>>2];v=N[e+4>>2]}H=N[N[t+128>>2]+52>>2];a:{b:{if(H){e=Qa[N[N[H>>2]>>2]](N[H+4>>2],b,g+124|0)|0;if(e){break a}e=N[g+128>>2];N[a+28>>2]=e;N[g+152>>2]=0;N[g+156>>2]=0;N[g+168>>2]=0;N[g+160>>2]=0;N[g+164>>2]=0;N[g+152>>2]=0;N[g+144>>2]=0;N[g+148>>2]=0;N[g+140>>2]=0;N[g+136>>2]=e;N[g+132>>2]=N[g+124>>2];N[a+24>>2]=g+132;break b}n=bg(t,b,a+28|0);e=N[a+28>>2]}c:{if((e|0)>0){f=N[t+728>>2];if(!(f|N[N[t+128>>2]+52>>2])){e=8;break c}e=Qa[N[t+520>>2]](a,b,f+n|0,e)|0;if(e){break c}e=Qa[N[t+528>>2]](a)|0;N[g+172>>2]=e;Qa[N[t+524>>2]](a);if(e){break c}e=N[a+28>>2]}if(!(P[a+32>>1]?e:0)){N[a+36>>2]=0;N[a+40>>2]=0;N[a+44>>2]=0;N[a+48>>2]=0}k=N[a>>2];r=N[a+24>>2];M[g+80>>1]=0;M[g>>1]=0;M[g+44>>1]=0;M[g+64>>1]=0;h=N[r+8>>2];Qa[N[N[k+540>>2]+156>>2]](k,0,b,g+80|0,g+44|0);d:{if(O[k+292|0]){Qa[N[N[k+540>>2]+156>>2]](k,1,b,g,g- -64|0);break d}f=N[a+48>>2];if(P[k+372>>1]!=65535){e=M[k+442>>1];M[g>>1]=e-f;e=e-M[k+444>>1]|0;f=e>>31;M[g+64>>1]=(e^f)-f;break d}e=M[k+220>>1];M[g>>1]=e-f;e=e-M[k+222>>1]|0;f=e>>31;M[g+64>>1]=(e^f)-f}e:{e=N[r+20>>2];f:{if(e){if(Qa[e|0](r,h,0,0)|0){break f}break e}if(h>>>0<=Q[r+4>>2]){break e}}e=85;break c}N[r+8>>2]=h;h=M[g+80>>1];N[a+52>>2]=h;r=P[g+44>>1];N[a+56>>2]=r;N[a+172>>2]=M[g>>1];N[a+176>>2]=P[g+64>>1];if(!(N[N[k+128>>2]+52>>2]|O[a+64|0])){N[a+60>>2]=r;L[a+64|0]=1}e=0;N[g+172>>2]=0;if(d){break c}if(!(P[a+32>>1]?N[a+28>>2]:0)){e=N[a>>2];d=N[N[e+128>>2]+52>>2];g:{if(!d){break g}c=N[N[d>>2]+8>>2];if(!c){break g}N[g+92>>2]=0;N[g+88>>2]=r;N[g+84>>2]=0;N[g+80>>2]=h;h:{if(Qa[c|0](N[d+4>>2],b,0,g+80|0)|0){break h}c=M[g+80>>1];d=P[g+88>>1];N[a+172>>2]=0;N[a+176>>2]=0;N[a+56>>2]=d;N[a+52>>2]=c;if(O[a+64|0]){break h}N[a+60>>2]=d;L[a+64|0]=1}e=N[a>>2]}d=0;i:{if(N[N[e+96>>2]+64>>2]!=40){break i}c=N[a+156>>2];d=0;if(!c){break i}d=O[c+641|0]!=0&O[c+646|0]!=0}N[a+72>>2]=0;N[a+80>>2]=0;f=N[a+36>>2]-N[a+52>>2]|0;N[a+68>>2]=f;c=N[a+56>>2];j=c+f|0;N[a+76>>2]=j;c=d&1?(c|0)/2|0:0;N[a+188>>2]=c;d=N[a+172>>2]+N[a+48>>2]|0;N[a+184>>2]=d;N[a+180>>2]=c;n=d-N[a+176>>2]|0;N[a+192>>2]=n;j:{if(!(P[t+6>>1]&32767|O[t+9|0]&128)){b=c;break j}N[g+108>>2]=n;N[g+100>>2]=d;N[g+76>>2]=16843009;N[g+64>>2]=65536;N[g+68>>2]=196610;N[g+24>>2]=0;N[g+28>>2]=0;N[g+16>>2]=0;N[g+20>>2]=0;N[g+104>>2]=c;N[g+96>>2]=c;N[g+92>>2]=0;N[g+88>>2]=j;N[g+84>>2]=0;N[g+80>>2]=f;N[g+44>>2]=262148;N[g+8>>2]=0;N[g+12>>2]=0;N[g>>2]=0;N[g+4>>2]=0;N[g+56>>2]=g- -64;N[g+52>>2]=g+76;N[g+48>>2]=g+80;e=Sh(e,b,g+44|0,g,4);if(e){break c}f=N[g+80>>2];N[a+68>>2]=f;N[a+72>>2]=N[g+84>>2];j=N[g+88>>2];N[a+76>>2]=j;N[a+80>>2]=N[g+92>>2];b=N[g+96>>2];N[a+180>>2]=b;d=N[g+100>>2];N[a+184>>2]=d;c=N[g+104>>2];N[a+188>>2]=c;n=N[g+108>>2];N[a+192>>2]=n;e=N[N[a>>2]+740>>2];if(!(e&2)){N[a+60>>2]=(N[g+8>>2]-N[g>>2]|0)+32>>6}if(e&16){break j}N[a+176>>2]=(N[g+24>>2]-N[g+16>>2]|0)+32>>6}e=0;if(L[a+16|0]&1){break c}I=a,J=ob(f,v),N[I+68>>2]=J;I=a,J=ob(j,v),N[I+76>>2]=J;I=a,J=ob(b,v),N[I+180>>2]=J;I=a,J=ob(d,o),N[I+184>>2]=J;I=a,J=ob(c,v),N[I+188>>2]=J;I=a,J=ob(n,o),N[I+192>>2]=J;break c}d=N[a>>2];f=N[N[d+128>>2]+52>>2];k:{if(!f){break k}e=N[N[f>>2]+8>>2];if(!e){break k}N[g+92>>2]=0;N[g+88>>2]=r;N[g+84>>2]=0;N[g+80>>2]=h;l:{if(Qa[e|0](N[f+4>>2],b,0,g+80|0)|0){break l}d=M[g+80>>1];e=P[g+88>>1];N[a+172>>2]=0;N[a+176>>2]=0;N[a+56>>2]=e;N[a+52>>2]=d;if(O[a+64|0]){break l}N[a+60>>2]=e;L[a+64|0]=1}d=N[a>>2]}e=0;m:{if(N[N[d+96>>2]+64>>2]!=40){break m}d=N[a+156>>2];e=0;if(!d){break m}e=O[d+641|0]!=0&O[d+646|0]!=0}N[a+72>>2]=0;N[a+80>>2]=0;d=N[a+36>>2]-N[a+52>>2]|0;N[a+68>>2]=d;f=d;d=N[a+56>>2];N[a+76>>2]=f+d;e=e?(d|0)/2|0:0;N[a+188>>2]=e;d=N[a+172>>2]+N[a+48>>2]|0;N[a+184>>2]=d;N[a+180>>2]=e;N[a+192>>2]=d-N[a+176>>2];e=Qa[N[t+520>>2]](a,b,(N[t+728>>2]+n|0)+10|0,N[a+28>>2]-10|0)|0;if(e){break c}d=M[a+32>>1];n:{if((d|0)>0){e=Qa[N[t+532>>2]](a)|0;if(e){break n}Qa[N[t+524>>2]](a);E=N[N[a>>2]+100>>2];b=N[a+72>>2];s=N[a+12>>2];y=M[s+58>>1];c=N[s+60>>2]+(y<<3)|0;N[c>>2]=N[a+68>>2];N[c+4>>2]=b;b=N[a+80>>2];G=y+1|0;c=N[s+60>>2]+(G<<3)|0;N[c>>2]=N[a+76>>2];N[c+4>>2]=b;b=N[a+184>>2];u=y+2|0;c=N[s+60>>2]+(u<<3)|0;N[c>>2]=N[a+180>>2];N[c+4>>2]=b;b=N[a+192>>2];j=y+3|0;c=N[s+60>>2]+(j<<3)|0;N[c>>2]=N[a+188>>2];N[c+4>>2]=b;b=0;c=s- -64|0;L[y+N[c>>2]|0]=0;L[G+N[c>>2]|0]=0;L[u+N[c>>2]|0]=0;L[j+N[c>>2]|0]=0;h=y+4|0;d=6;c=N[a>>2];o:{p:{if(P[c+6>>1]&32767|O[c+9|0]&128){if((y|0)<-4){break o}q:{if(!h){break q}c=h<<3;b=Qa[N[E+4>>2]](E,c)|0;if(!(!b|(y|0)<-3)){C(b,0,c);break q}if(b){break q}d=!b<<6;break o}d=Sh(N[a>>2],N[a+20>>2],s+56|0,b,h);c=N[N[a>>2]+740>>2];if(!(c&2)){N[a+60>>2]=(N[(G<<3)+b>>2]-N[(y<<3)+b>>2]|0)+32>>6}if(!(c&16)){N[a+176>>2]=(N[(j<<3)+b>>2]-N[(u<<3)+b>>2]|0)+32>>6}if(d){break p}}p=N[a+16>>2];if(!(p&2)){f=P[s+58>>1];M[a+128>>1]=f;M[a+130>>1]=P[s+56>>1];N[a+132>>2]=N[s+76>>2];e=N[s+60>>2];N[a+136>>2]=e;d=N[s+80>>2];N[a+140>>2]=d;N[a+144>>2]=N[s+64>>2];c=N[s+68>>2];M[a+152>>1]=0;N[a+148>>2]=c;F(d,e,(f<<3)+32|0);p=N[a+16>>2]}r:{if(p&1){B=N[a>>2];n=0;f=0;break r}d=N[s+60>>2];w=d+(h<<3)|0;c=N[N[a+4>>2]+44>>2];n=N[c+8>>2];f=N[c+4>>2];B=N[a>>2];if(!(P[B+6>>1]&32767|O[B+9|0]&128)){if((y|0)<-3){break r}c=n>>31;z=(c^n)-c|0;A=z&65535;i=z>>>16|0;k=z>>>8|0;c=f>>31;l=(c^f)-c|0;r=l&65535;h=l>>>16|0;e=l>>>8|0;while(1){q=N[d>>2];c=q>>31;o=(c^q)-c|0;s:{if(o+e>>>0<=8190){m=T(l,o)+32768>>>16|0;break s}c=o&65535;m=T(c,h)+T(l,o>>>16|0)+(T(c,r)+32768>>>16)|0}c=m;o=0-c|0;c=q>>31|1;N[d>>2]=(((f|0)<0?0-c|0:c)|0)<0?o:m;q=N[d+4>>2];c=q>>31;o=(c^q)-c|0;t:{if(o+k>>>0<=8190){m=T(o,z)+32768>>>16|0;break t}c=o&65535;m=T(c,i)+T(z,o>>>16|0)+(T(c,A)+32768>>>16)|0}c=m;o=0-c|0;c=q>>31|1;N[d+4>>2]=(((n|0)<0?0-c|0:c)|0)<0?o:m;d=d+8|0;if(w>>>0>d>>>0){continue}break}break r}if((y|0)<-3){break r}c=n>>31;D=(c^n)-c|0;q=D&65535;A=D>>>16|0;i=D>>>8|0;c=f>>31;z=(c^f)-c|0;k=z&65535;r=z>>>16|0;h=z>>>8|0;c=b;while(1){o=N[c>>2];e=o>>31;l=(e^o)-e|0;u:{if(l+h>>>0<=8190){m=T(l,z)+32768>>>16|0;break u}e=l&65535;m=T(e,r)+T(z,l>>>16|0)+(T(e,k)+32768>>>16)|0}e=m;l=0-e|0;e=o>>31|1;N[d>>2]=((((f|0)<0?0-e|0:e)|0)<0?l:m)+32>>6;o=N[c+4>>2];e=o>>31;l=(e^o)-e|0;v:{if(l+i>>>0<=8190){m=T(l,D)+32768>>>16|0;break v}e=l&65535;m=T(e,A)+T(D,l>>>16|0)+(T(e,q)+32768>>>16)|0}e=m;l=0-e|0;e=o>>31|1;N[d+4>>2]=((((n|0)<0?0-e|0:e)|0)<0?l:m)+32>>6;c=c+8|0;d=d+8|0;if(w>>>0>d>>>0){continue}break}}d=N[B+740>>2];w:{if(!(!(d&2)|p&2)){r=N[a+68>>2];h=r>>31;c=f>>31;k=(c^f)-c|0;e=k>>>8|0;h=(h^r)-h|0;x:{if(e+h>>>0<=8190){m=T(h,k)+32768>>>16|0;break x}c=h&65535;m=T(c,k>>>16|0)+T(k,h>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=m;h=0-c|0;c=r>>31|1;N[a+68>>2]=(((f|0)<0?0-c|0:c)|0)<0?h:m;h=N[a+76>>2];c=h>>31;m=e;e=(c^h)-c|0;y:{if(m+e>>>0<=8190){e=T(e,k)+32768>>>16|0;break y}c=e&65535;e=T(c,k>>>16|0)+T(k,e>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=e;k=0-c|0;c=h>>31|1;N[a+76>>2]=(((f|0)<0?0-c|0:c)|0)<0?k:e;break w}d=N[s+60>>2]+(y<<3)|0;c=N[d+4>>2];N[a+68>>2]=N[d>>2];N[a+72>>2]=c;d=N[s+60>>2]+(G<<3)|0;c=N[d+4>>2];N[a+76>>2]=N[d>>2];N[a+80>>2]=c;d=N[B+740>>2]}e=p&2;z:{if(!(e|!(d&16))){h=N[a+180>>2];d=h>>31;c=f>>31;i=(c^f)-c|0;e=i>>>8|0;d=(d^h)-d|0;A:{if(e+d>>>0<=8190){d=T(d,i)+32768>>>16|0;break A}c=d&65535;d=T(c,i>>>16|0)+T(i,d>>>16|0)+(T(c,i&65535)+32768>>>16)|0}c=d;k=0-c|0;c=h>>31|1;N[a+180>>2]=(((f|0)<0?0-c|0:c)|0)<0?k:d;r=N[a+184>>2];h=r>>31;c=n>>31;k=(c^n)-c|0;d=k>>>8|0;h=(h^r)-h|0;B:{if(d+h>>>0<=8190){m=T(h,k)+32768>>>16|0;break B}c=h&65535;m=T(c,k>>>16|0)+T(k,h>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=m;h=0-c|0;c=r>>31|1;N[a+184>>2]=(((n|0)<0?0-c|0:c)|0)<0?h:m;h=N[a+188>>2];c=h>>31;m=e;e=(c^h)-c|0;C:{if(m+e>>>0<=8190){e=T(e,i)+32768>>>16|0;break C}c=e&65535;e=T(c,i>>>16|0)+T(i,e>>>16|0)+(T(c,i&65535)+32768>>>16)|0}c=e;m=0-c|0;c=h>>31|1;N[a+188>>2]=(((f|0)<0?0-c|0:c)|0)<0?m:e;e=N[a+192>>2];c=e>>31;f=d;d=(c^e)-c|0;D:{if(f+d>>>0<=8190){d=T(d,k)+32768>>>16|0;break D}c=d&65535;d=T(c,k>>>16|0)+T(k,d>>>16|0)+(T(c,k&65535)+32768>>>16)|0}c=d;f=0-c|0;c=e>>31|1;N[a+192>>2]=(((n|0)<0?0-c|0:c)|0)<0?f:d;break z}d=N[s+60>>2]+(u<<3)|0;c=N[d+4>>2];N[a+180>>2]=N[d>>2];N[a+184>>2]=c;d=N[s+60>>2]+(j<<3)|0;c=N[d+4>>2];N[a+188>>2]=N[d>>2];N[a+192>>2]=c;d=0;if(e){break p}}M[a+128>>1]=P[a+128>>1]+4;d=_m(a,0)}if(!b){break o}Qa[N[E+8>>2]](E,b)}e=d;if(d){break c}af(x);e=0;break c}e=0;if((d|0)>=0){break n}u=N[t+100>>2];M[a+32>>1]=65535;h=a+204|0;E:{d=N[a+204>>2];F:{if(d){f=d;e=c;while(1){if(!e){e=f;while(1){N[e+8>>2]=-1;e=N[e+4>>2];if(e){continue}break}e=N[h>>2];if(e){while(1){if(N[e+8>>2]==(b|0)){break E}e=N[e+4>>2];if(e){continue}break}}N[f+8>>2]=b;break F}e=e-1|0;f=N[f+4>>2];if(f){continue}break}while(1){if(N[d+8>>2]==(b|0)){break E}d=N[d+4>>2];if(d){continue}break}}e=Qa[N[u+4>>2]](u,12)|0;if(!e){e=64;break n}L[e|0]=0;L[e+1|0]=0;L[e+2|0]=0;L[e+3|0]=0;L[e+4|0]=0;L[e+5|0]=0;L[e+6|0]=0;L[e+7|0]=0;N[e+8>>2]=b;d=N[a+208>>2];N[e>>2]=d;N[e+4>>2]=0;N[(d?d+4|0:h)>>2]=e;N[a+208>>2]=e}k=M[x+22>>1];r=M[x+20>>1];e=Qa[N[t+536>>2]](a)|0;N[g+172>>2]=e;if(e){break n}E=N[a+164>>2];Qa[N[t+524>>2]](a);if(P[t+6>>1]&32767|O[t+9|0]&128){h=N[x+84>>2];d=h+4|0;M[g+80>>1]=d;M[g+82>>1]=d;j=d<<16>>16;l=lb(u,8,0,j,0,g+172|0);e=N[g+172>>2];if(e){break c}if((j|0)<0){e=6;break c}f=0;G:{H:{if(j){f=Qa[N[u+4>>2]](u,j)|0;if(!f|(j|0)<=0){break H}C(f,0,j)}N[g+172>>2]=0;break G}d=!f;e=d<<6;N[g+172>>2]=e;if(d){break c}}w=lb(u,2,0,j,0,g+172|0);e=N[g+172>>2];if(e){break c}q=lb(u,8,0,j,0,g+172|0);e=N[g+172>>2];I:{if(e){break I}A=h<<16;i=A>>16;J:{if((A|0)<=0){e=0;break J}h=N[x+88>>2];e=0;while(1){d=l+(e<<3)|0;N[d>>2]=N[h+8>>2];N[d+4>>2]=N[h+12>>2];L[e+f|0]=1;M[w+(e<<1)>>1]=p;h=h+32|0;p=p+1|0;e=p<<16>>16;if((i|0)>(e|0)){continue}break}}d=l+(e<<3)|0;N[d>>2]=N[a+68>>2];N[d+4>>2]=N[a+72>>2];L[e+f|0]=1;M[w+(e<<1)>>1]=p;e=p+1|0;h=e<<16>>16;d=l+(h<<3)|0;N[d>>2]=N[a+76>>2];N[d+4>>2]=N[a+80>>2];L[f+h|0]=1;M[w+(h<<1)>>1]=e;e=p+2|0;h=e<<16>>16;d=l+(h<<3)|0;N[d>>2]=N[a+180>>2];N[d+4>>2]=N[a+184>>2];L[f+h|0]=1;M[w+(h<<1)>>1]=e;e=p+3|0;h=e<<16>>16;d=l+(h<<3)|0;N[d>>2]=N[a+188>>2];N[d+4>>2]=N[a+192>>2];L[f+h|0]=1;M[w+(h<<1)>>1]=e;N[g+92>>2]=w;N[g+88>>2]=f;N[g+84>>2]=l;e=Sh(t,b,g+80|0,q,j);K:{L:{if(e){Qa[N[u+8>>2]](u,l);break L}M:{if((A|0)<=0){p=0;break M}b=N[x+88>>2];p=0;h=0;while(1){if(O[b+4|0]&2){d=l+(p<<3)|0;N[b+8>>2]=M[d>>1];N[b+12>>2]=M[d+4>>1]}b=b+32|0;h=h+1|0;p=h<<16>>16;if((i|0)>(p|0)){continue}break}}b=l+(p<<3)|0;N[a+68>>2]=N[b>>2];N[a+72>>2]=N[b+4>>2];N[a+76>>2]=N[b+8>>2];N[a+80>>2]=N[b+12>>2];N[a+180>>2]=N[b+16>>2];N[a+184>>2]=N[b+20>>2];N[a+188>>2]=N[b+24>>2];N[a+192>>2]=N[b+28>>2];d=N[t+740>>2];if(!(d&2)){b=q+(j<<3)|0;N[a+60>>2]=(N[b-24>>2]-N[b-32>>2]|0)+32>>6}if(!(d&16)){b=q+(j<<3)|0;N[a+176>>2]=(N[b-8>>2]-N[b-16>>2]|0)+32>>6}Qa[N[u+8>>2]](u,l);if(!f){break K}}Qa[N[u+8>>2]](u,f)}if(!w){break I}Qa[N[u+8>>2]](u,w)}if(q){Qa[N[u+8>>2]](u,q)}if(e){break c}}b=N[a+16>>2];if(!(b&1)){I=a,J=ob(N[a+68>>2],v),N[I+68>>2]=J;I=a,J=ob(N[a+76>>2],v),N[I+76>>2]=J;I=a,J=ob(N[a+180>>2],v),N[I+180>>2]=J;I=a,J=ob(N[a+184>>2],o),N[I+184>>2]=J;I=a,J=ob(N[a+188>>2],v),N[I+188>>2]=J;I=a,J=ob(N[a+192>>2],o),N[I+192>>2]=J}if(b&1024){af(x);N[N[a+8>>2]+72>>2]=1668246896;e=0;break c}B=N[x+48>>2];y=N[x+84>>2];D=N[a+28>>2];z=N[a+24>>2];af(x);N:{if(!y){v=0;b=k;break N}G=c+1|0;b=0;while(1){s=M[x+22>>1];u=N[a+176>>2];j=N[a+60>>2];h=N[a+188>>2];l=N[a+192>>2];f=N[a+180>>2];w=N[a+184>>2];d=N[a+76>>2];o=N[a+80>>2];c=N[a+68>>2];q=N[a+72>>2];i=b<<5;A=B<<5;e=Vh(a,N[i+(A+N[x+52>>2]|0)>>2],G,0);if(e){break c}v=i+(A+N[x+52>>2]|0)|0;if(!(O[v+5|0]&2)){N[a+188>>2]=h;N[a+192>>2]=l;N[a+180>>2]=f;N[a+184>>2]=w;N[a+76>>2]=d;N[a+80>>2]=o;N[a+68>>2]=c;N[a+72>>2]=q;N[a+176>>2]=u;N[a+60>>2]=j}A=P[x+22>>1];if((A|0)!=(s&65535)){d=0;l=La-16|0;La=l;q=N[a+12>>2];e=N[q+24>>2];c=e+(s<<3)|0;w=P[q+22>>1]-s<<16>>16;p=P[v+4>>1];i=p&200;if(!(!i|!e|(w|0)<=0)){h=v+16|0;f=(w<<3)+c|0;e=c;while(1){id(e,h);e=e+8|0;if(f>>>0>e>>>0){continue}break}p=P[v+4>>1]}j=N[v+12>>2];e=N[v+8>>2];O:{P:{if(!(p&2)){d=21;e=e+k|0;if(e>>>0>=s>>>0){break O}f=j+s|0;if(f>>>0>=M[q+22>>1]>>>0){break O}d=N[q+24>>2];e=d+(e<<3)|0;d=d+(f<<3)|0;j=N[e+4>>2]-N[d+4>>2]|0;e=N[e>>2]-N[d>>2]|0;break P}if(!(e|j)){break O}if(!(!i|!(p&2048))){d=N[v+20>>2];N[l+8>>2]=N[v+16>>2];N[l+12>>2]=d;i=Wb(l+8|0);I=l,J=_E(N[v+24>>2],N[v+28>>2],32),N[I+8>>2]=J;N[l+12>>2]=Pa;h=Wb(l+8|0);d=i>>31;q=(d^i)-d|0;d=e>>31;f=(d^e)-d|0;Q:{if((q>>>8|0)+f>>>0<=8190){f=T(f,q)+32768>>>16|0;break Q}d=f&65535;f=T(d,q>>>16|0)+T(q,f>>>16|0)+(T(d,q&65535)+32768>>>16)|0}d=f;m=0-d|0;d=e>>31|1;e=(((i|0)<0?0-d|0:d)|0)<0?m:f;d=h>>31;i=(d^h)-d|0;d=j>>31;f=(d^j)-d|0;R:{if((i>>>8|0)+f>>>0<=8190){f=T(f,i)+32768>>>16|0;break R}d=f&65535;f=T(d,i>>>16|0)+T(i,f>>>16|0)+(T(d,i&65535)+32768>>>16)|0}d=f;m=0-d|0;d=j>>31|1;j=(((h|0)<0?0-d|0:d)|0)<0?m:f}f=N[a+16>>2];if(f&1){break P}d=N[N[a+4>>2]+44>>2];q=N[d+8>>2];h=N[d+4>>2];d=h>>31;o=(d^h)-d|0;d=e>>31;i=(d^e)-d|0;S:{if((o>>>8|0)+i>>>0<=8190){m=T(i,o)+32768>>>16|0;break S}d=i&65535;m=T(d,o>>>16|0)+T(o,i>>>16|0)+(T(d,o&65535)+32768>>>16)|0}d=m;i=0-d|0;d=e>>31|1;e=(((h|0)<0?0-d|0:d)|0)<0?i:m;d=q>>31;i=(d^q)-d|0;d=j>>31;h=(d^j)-d|0;T:{if((i>>>8|0)+h>>>0<=8190){m=T(h,i)+32768>>>16|0;break T}d=h&65535;m=T(d,i>>>16|0)+T(i,h>>>16|0)+(T(d,i&65535)+32768>>>16)|0}d=m;h=0-d|0;d=j>>31|1;j=(((q|0)<0?0-d|0:d)|0)<0?h:m;if(!(p&4)|f&2){break P}e=N[N[N[a>>2]+96>>2]+64>>2]==35?e+32&-64:e;j=j+32&-64}d=0;if(!(e|j)|(w|0)<=0){break O}if(w>>>0>=4){f=w&-4;p=0;while(1){N[c>>2]=N[c>>2]+e;N[c+4>>2]=N[c+4>>2]+j;N[c+8>>2]=N[c+8>>2]+e;N[c+16>>2]=N[c+16>>2]+e;N[c+24>>2]=N[c+24>>2]+e;N[c+12>>2]=N[c+12>>2]+j;N[c+20>>2]=N[c+20>>2]+j;N[c+28>>2]=N[c+28>>2]+j;c=c+32|0;p=p+4|0;if((f|0)!=(p|0)){continue}break}}f=w&3;if(!f){break O}p=0;while(1){N[c>>2]=N[c>>2]+e;N[c+4>>2]=N[c+4>>2]+j;c=c+8|0;p=p+1|0;if((f|0)!=(p|0)){continue}break}}La=l+16|0;e=d;if(d){break c}}b=b+1|0;if((y|0)!=(b|0)){continue}break}b=A<<16>>16}N[a+164>>2]=E;N[a+28>>2]=D;N[a+24>>2]=z;if(!(!v|N[a+16>>2]&2|(!(L[v+5|0]&1)|b>>>0<=k>>>0))){h=La-16|0;La=h;d=N[a+12>>2];f=M[d+22>>1];b=f+4|0;U:{if(!(!b|Q[d+4>>2]>=M[d+58>>1]+(b+f|0)>>>0)){f=Sb(d,b,0);if(f){break U}f=M[d+22>>1]}b=N[a+72>>2];c=N[d+24>>2]+(f<<3)|0;N[c>>2]=N[a+68>>2];N[c+4>>2]=b;b=N[a+80>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+8>>2]=N[a+76>>2];N[c+12>>2]=b;b=N[a+184>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+16>>2]=N[a+180>>2];N[c+20>>2]=b;b=N[a+192>>2];c=N[d+24>>2]+(M[d+22>>1]<<3)|0;N[c+24>>2]=N[a+188>>2];N[c+28>>2]=b;L[N[d+28>>2]+M[d+22>>1]|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+1|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+2|0]=0;L[(M[d+22>>1]+N[d+28>>2]|0)+3|0]=0;b=N[a+164>>2];i=N[a+24>>2];c=N[i+20>>2];V:{if(c){f=85;if(Qa[c|0](i,b,0,0)|0){break U}n=N[i+4>>2];break V}f=85;n=N[i+4>>2];if(n>>>0>>0){break U}}N[i+8>>2]=b;if(b+1>>>0>=n>>>0){break U}W:{c=N[i+20>>2];if(c){if((Qa[c|0](i,b,h+14|0,2)|0)!=2){break U}b=N[i+8>>2];f=h+14|0;break W}c=N[i>>2];if(c){f=b+c|0;break W}N[i+8>>2]=b+2;f=0;break U}c=O[f|0]|O[f+1|0]<<8;n=b+2|0;N[i+8>>2]=n;X:{c=c<<8|c>>>8;b=c&65535;Y:{if(b>>>0>P[N[a>>2]+286>>1]){f=22;if((b|0)>N[a+28>>2]){break U}j=N[a+156>>2];c=N[j+408>>2];if(b>>>0>c>>>0){e=N[j+412>>2];if((c|0)<0){N[j+412>>2]=e;f=6;break X}d=N[j+8>>2];Z:{if(!c){n=Qa[N[d+4>>2]](d,b)|0;f=!n<<6;break Z}d=Qa[N[d+12>>2]](d,c,b,e)|0;n=d?d:e;f=!d<<6}_:{if(!(f|(b|0)<=(c|0)|!n)){C(c+n|0,0,b-c|0);N[j+412>>2]=n;break _}N[j+412>>2]=n;if(f){break X}}n=N[i+8>>2];j=N[a+156>>2];c=b}N[j+408>>2]=c&65535;break Y}if(!(c&65535)){f=0;break U}j=N[a+156>>2]}f=85;d=N[i+4>>2];if(d>>>0<=n>>>0){break U}e=N[j+412>>2];c=N[i+20>>2];$:{if(c){j=Qa[c|0](i,n,e,b)|0;break $}c=d-n|0;j=b>>>0>c>>>0?c:b;F(e,N[i>>2]+n|0,j)}N[i+8>>2]=j+n;if(b>>>0>j>>>0){break U}d=N[N[a+156>>2]+412>>2];c=N[a+8>>2];N[c+140>>2]=b;N[c+136>>2]=d;d=N[a+12>>2];c=P[d+22>>1];M[a+128>>1]=c-k;M[a+130>>1]=P[d+20>>1]-r;b=k<<3;N[a+132>>2]=b+N[d+40>>2];N[a+136>>2]=b+N[d+24>>2];N[a+140>>2]=b+N[d+44>>2];N[a+144>>2]=k+N[d+28>>2];b=N[d+32>>2];M[a+152>>1]=k;N[a+148>>2]=b+(r<<1);if((c|0)!=(k&65535)){b=0;while(1){c=N[a+144>>2]+b|0;L[c|0]=O[c|0]&231;b=b+1|0;c=P[a+128>>1];if(b>>>0>>0){continue}break}b=c+4|0}else{b=4}M[a+128>>1]=b;f=_m(a,1);break U}N[N[a+156>>2]+408>>2]=c&65535}La=h+16|0;e=f;if(e){break c}}e=0;if(!N[x+48>>2]|!(O[N[x+52>>2]+5|0]&4)){break c}N[x+36>>2]=N[x+36>>2]|64;break c}e=21}Qa[N[t+524>>2]](a)}if(!H){break a}a=N[N[t+128>>2]+52>>2];Qa[N[N[a>>2]+4>>2]](N[a+4>>2],g+124|0)}La=g+176|0;return e}function Qf(a,b,c,d,e){var 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,t=0,u=0,v=0,w=0;j=La-112|0;s=e+2378|0;f=-31;a:{b:{c:{d:{e:{f:{g:{h:{i:{j:{k:{l:{m:{n:{o:{p:{q:{r:{s:{t:{switch(N[e+632>>2]){case 1:f=N[e+12>>2];break s;case 5:break j;case 4:break o;case 3:break q;case 2:break r;case 0:break t;default:break a}}f=2;g=N[e+12>>2];u:{if(g-31>>>0>=2){h=N[e+8>>2];break u}h=N[e+20>>2];if(!h){break a}f=N[e+8>>2]>>>8|0;N[e+8>>2]=f;i=N[e+16>>2];l=O[i|0];N[e+20>>2]=h-1;N[e+16>>2]=i+1;h=f|l<<24;N[e+8>>2]=h;g=g-8|0}f=g+2|0;N[e+12>>2]=f;h=h>>>g&3;N[e+636>>2]=h;if((h|0)!=1){break p}}v:{if(f-31>>>0>=2){g=N[e+8>>2];break v}h=N[e+20>>2];if(!h){break k}g=N[e+8>>2]>>>8|0;N[e+8>>2]=g;i=N[e+16>>2];j=O[i|0];N[e+20>>2]=h-1;N[e+16>>2]=i+1;g=g|j<<24;N[e+8>>2]=g;f=f-8|0}N[e+636>>2]=0;N[e+12>>2]=f+2;N[e+648>>2]=g>>>f&3}g=0;f=a-1|0;if(f){while(1){g=g+1|0;a=f>>>0>1;f=f>>>1|0;if(a){continue}break}}h=N[e+648>>2];l=N[e+636>>2];if(h>>>0>>0){break g}k=(g<<2)+169392|0;f=N[e+12>>2];while(1){w:{if(32-f>>>0>=g>>>0){m=N[e+8>>2];a=f;break w}j=N[e+20>>2];if(!j){break l}o=N[e+8>>2]>>>8|0;N[e+8>>2]=o;i=N[e+16>>2];n=O[i|0];p=j-1|0;N[e+20>>2]=p;a=f-8|0;N[e+12>>2]=a;N[e+16>>2]=i+1;m=o|n<<24;N[e+8>>2]=m;if(40-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+1|0];p=j-2|0;N[e+20>>2]=p;a=f-16|0;N[e+12>>2]=a;N[e+16>>2]=i+2;m=o|n<<24;N[e+8>>2]=m;if(48-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+2|0];p=j-3|0;N[e+20>>2]=p;a=f-24|0;N[e+12>>2]=a;N[e+16>>2]=i+3;m=o|n<<24;N[e+8>>2]=m;if(56-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+3|0];p=j-4|0;N[e+20>>2]=p;a=f-32|0;N[e+12>>2]=a;N[e+16>>2]=i+4;m=o|n<<24;N[e+8>>2]=m;if(64-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+4|0];p=j-5|0;N[e+20>>2]=p;a=f-40|0;N[e+12>>2]=a;N[e+16>>2]=i+5;m=o|n<<24;N[e+8>>2]=m;if(72-f>>>0>=g>>>0){break w}if(!p){break l}o=m>>>8|0;N[e+8>>2]=o;n=O[i+5|0];N[e+20>>2]=j-6;a=f-48|0;N[e+12>>2]=a;N[e+16>>2]=i+6;m=o|n<<24;N[e+8>>2]=m}f=a+g|0;N[e+12>>2]=f;a=N[k>>2]&m>>>a;if(a>>>0>>0){M[((l<<1)+e|0)+792>>1]=a;l=l+1|0;if(l>>>0>h>>>0){break g}continue}break}return-4}h=N[e+648>>2];break f}N[e+652>>2]=0;N[e+656>>2]=32;a=e+2360|0;M[a+22>>1]=0;M[a+24>>1]=0;M[a+26>>1]=0;M[a+28>>1]=0;N[a+16>>2]=0;N[a+20>>2]=0;N[a+8>>2]=0;N[a+12>>2]=0;N[a>>2]=0;N[a+4>>2]=0;N[e+632>>2]=4;n=32;i=0;break n}n=N[e+656>>2];i=N[e+652>>2];h=N[e+636>>2];if(h>>>0>17){break m}f=N[e+12>>2]}while(1){a=O[h+169216|0];x:{y:{z:{if(f-29>>>0>=4){g=N[e+8>>2];break z}g=N[e+20>>2];if(!g){break y}l=N[e+8>>2]>>>8|0;N[e+8>>2]=l;k=N[e+16>>2];o=O[k|0];N[e+20>>2]=g-1;N[e+16>>2]=k+1;g=l|o<<24;N[e+8>>2]=g;f=f-8|0}g=g>>>f&15;m=O[g+169248|0];break x}g=0;g=(f|0)!=32?N[e+8>>2]>>>f|0:g;m=O[g+169248|0];if(m>>>0<=32-f>>>0){break x}N[e+656>>2]=n;N[e+652>>2]=i;N[e+636>>2]=h;N[e+632>>2]=4;return 2}f=f+m|0;N[e+12>>2]=f;l=(a+e|0)+2360|0;a=O[g+169264|0];L[l|0]=a;if(!(4369>>>g&1)){g=((a<<1)+e|0)+2378|0;M[g>>1]=P[g>>1]+1;i=i+1|0;n=n-(32>>>a|0)|0;if(n-33>>>0<4294967264){break m}}h=h+1|0;if((h|0)!=18){continue}break}}if((i|0)!=1){f=-6;if(n){break a}}a=P[e+2380>>1]-1|0;N[j+4>>2]=a;a=a+P[e+2382>>1]|0;N[j+8>>2]=a;a=a+P[e+2384>>1]|0;N[j+12>>2]=a;a=a+P[e+2386>>1]|0;N[j+16>>2]=a;f=P[e+2388>>1];N[j>>2]=17;N[j+20>>2]=a+f;f=j+(O[e+2377|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=17;f=j+(O[e+2376|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=16;f=j+(O[e+2375|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=15;f=j+(O[e+2374|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=14;f=j+(O[e+2373|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=13;f=j+(O[e+2372|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=12;f=j+(O[e+2371|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=11;f=j+(O[e+2370|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=10;f=j+(O[e+2369|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=9;f=j+(O[e+2368|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=8;f=j+(O[e+2367|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=7;f=j+(O[e+2366|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=6;f=j+(O[e+2365|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=5;f=j+(O[e+2364|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=4;f=j+(O[e+2363|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=3;f=j+(O[e+2362|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=2;f=j+(O[e+2361|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;N[(j+32|0)+(a<<2)>>2]=1;f=j+(O[e+2360|0]<<2)|0;a=N[f>>2];N[f>>2]=a-1;h=0;N[(j+32|0)+(a<<2)>>2]=0;if(N[j>>2]){l=e+660|0;a=0;i=P[e+2380>>1];if(i){while(1){f=l+(O[h+168960|0]<<2)|0;g=N[(j+32|0)+(a<<2)>>2]<<16|1;M[f+112>>1]=g;k=g>>>16|0;M[f+114>>1]=k;M[f+120>>1]=g;M[f+122>>1]=k;M[f+104>>1]=g;M[f+106>>1]=k;M[f+96>>1]=g;M[f+98>>1]=k;M[f+88>>1]=g;M[f+90>>1]=k;M[f+80>>1]=g;M[f+82>>1]=k;M[f+72>>1]=g;M[f+74>>1]=k;M[f+64>>1]=g;M[f+66>>1]=k;M[f+56>>1]=g;M[f+58>>1]=k;M[f+48>>1]=g;M[f+50>>1]=k;M[f+40>>1]=g;M[f+42>>1]=k;M[f+32>>1]=g;M[f+34>>1]=k;M[f+24>>1]=g;M[f+26>>1]=k;M[f+16>>1]=g;M[f+18>>1]=k;M[f+8>>1]=g;M[f+10>>1]=k;M[f>>1]=g;M[f+2>>1]=k;h=h+128|0;a=a+1|0;i=i-1|0;if(i){continue}break}}i=P[e+2382>>1];if(i){while(1){f=l+(O[h+168960|0]<<2)|0;g=N[(j+32|0)+(a<<2)>>2]<<16|2;M[f+96>>1]=g;k=g>>>16|0;M[f+98>>1]=k;M[f+112>>1]=g;M[f+114>>1]=k;M[f+80>>1]=g;M[f+82>>1]=k;M[f+64>>1]=g;M[f+66>>1]=k;M[f+48>>1]=g;M[f+50>>1]=k;M[f+32>>1]=g;M[f+34>>1]=k;M[f+16>>1]=g;M[f+18>>1]=k;M[f>>1]=g;M[f+2>>1]=k;h=h- -64|0;a=a+1|0;i=i-1|0;if(i){continue}break}}f=P[e+2384>>1];A:{if(!f){break A}if(f&1){g=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|3;M[g+64>>1]=i;k=i>>>16|0;M[g+66>>1]=k;M[g+96>>1]=i;M[g+98>>1]=k;M[g+32>>1]=i;M[g+34>>1]=k;M[g>>1]=i;M[g+2>>1]=k;h=h+32|0;a=a+1|0;i=f-1|0}else{i=f}if((f|0)==1){break A}while(1){f=l+(O[h+168960|0]<<2)|0;k=(j+32|0)+(a<<2)|0;g=N[k>>2]<<16|3;M[f+64>>1]=g;o=g>>>16|0;M[f+66>>1]=o;M[f+96>>1]=g;M[f+98>>1]=o;M[f+32>>1]=g;M[f+34>>1]=o;M[f>>1]=g;M[f+2>>1]=o;f=l+(O[h+168992|0]<<2)|0;g=N[k+4>>2]<<16|3;M[f+64>>1]=g;M[f+66>>1]=g>>>16;M[f+96>>1]=g;M[f+98>>1]=g>>>16;M[f+32>>1]=g;M[f+34>>1]=g>>>16;M[f>>1]=g;M[f+2>>1]=g>>>16;h=h- -64|0;a=a+2|0;i=i-2|0;if(i){continue}break}}g=P[e+2386>>1];B:{if(!g){break B}if(g&1){f=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|4;M[f>>1]=i;k=i>>>16|0;M[f+2>>1]=k;M[f+64>>1]=i;M[f+66>>1]=k;h=h+16|0;a=a+1|0;f=g-1|0}else{f=g}if((g|0)==1){break B}while(1){g=l+(O[h+168960|0]<<2)|0;k=(j+32|0)+(a<<2)|0;i=N[k>>2]<<16|4;M[g>>1]=i;o=i>>>16|0;M[g+2>>1]=o;M[g+64>>1]=i;M[g+66>>1]=o;g=l+(O[h+168976|0]<<2)|0;i=N[k+4>>2]<<16|4;M[g>>1]=i;M[g+2>>1]=i>>>16;M[g+64>>1]=i;M[g+66>>1]=i>>>16;h=h+32|0;a=a+2|0;f=f-2|0;if(f){continue}break}}g=P[e+2388>>1];if(!g){break i}if(g&1){f=l+(O[h+168960|0]<<2)|0;i=N[(j+32|0)+(a<<2)>>2]<<16|5;M[f>>1]=i;M[f+2>>1]=i>>>16;h=h+8|0;a=a+1|0;f=g-1|0}else{f=g}if((g|0)==1){break i}while(1){g=l+(O[h+168960|0]<<2)|0;i=(j+32|0)+(a<<2)|0;k=N[i>>2]<<16|5;M[g>>1]=k;M[g+2>>1]=k>>>16;g=l+(O[h+168968|0]<<2)|0;i=N[i+4>>2]<<16|5;M[g>>1]=i;M[g+2>>1]=i>>>16;h=h+16|0;a=a+2|0;f=f-2|0;if(f){continue}break}break i}a=N[j+32>>2]<<16;M[e+784>>1]=a;f=a>>>16|0;M[e+786>>1]=f;M[e+780>>1]=a;M[e+782>>1]=f;M[e+776>>1]=a;M[e+778>>1]=f;M[e+772>>1]=a;M[e+774>>1]=f;M[e+768>>1]=a;M[e+770>>1]=f;M[e+764>>1]=a;M[e+766>>1]=f;M[e+760>>1]=a;M[e+762>>1]=f;M[e+756>>1]=a;M[e+758>>1]=f;M[e+752>>1]=a;M[e+754>>1]=f;M[e+748>>1]=a;M[e+750>>1]=f;M[e+744>>1]=a;M[e+746>>1]=f;M[e+740>>1]=a;M[e+742>>1]=f;M[e+736>>1]=a;M[e+738>>1]=f;M[e+732>>1]=a;M[e+734>>1]=f;M[e+728>>1]=a;M[e+730>>1]=f;M[e+724>>1]=a;M[e+726>>1]=f;M[e+720>>1]=a;M[e+722>>1]=f;M[e+716>>1]=a;M[e+718>>1]=f;M[e+712>>1]=a;M[e+714>>1]=f;M[e+708>>1]=a;M[e+710>>1]=f;M[e+704>>1]=a;M[e+706>>1]=f;M[e+700>>1]=a;M[e+702>>1]=f;M[e+696>>1]=a;M[e+698>>1]=f;M[e+692>>1]=a;M[e+694>>1]=f;M[e+688>>1]=a;M[e+690>>1]=f;M[e+684>>1]=a;M[e+686>>1]=f;M[e+680>>1]=a;M[e+682>>1]=f;M[e+676>>1]=a;M[e+678>>1]=f;M[e+672>>1]=a;M[e+674>>1]=f;M[e+668>>1]=a;M[e+670>>1]=f;M[e+664>>1]=a;M[e+666>>1]=f;M[e+660>>1]=a;M[e+662>>1]=f;break i}N[e+632>>2]=2;N[e+636>>2]=l;return 2}N[e+632>>2]=1;return 2}m=N[e+788>>2];i=N[e+640>>2];o=N[e+644>>2];n=N[e+656>>2];p=N[e+652>>2];f=N[e+648>>2];break h}a=s;M[a+24>>1]=0;M[a+26>>1]=0;M[a+28>>1]=0;M[a+30>>1]=0;M[a+16>>1]=0;M[a+18>>1]=0;M[a+20>>1]=0;M[a+22>>1]=0;o=8;M[a+8>>1]=0;M[a+10>>1]=0;M[a+12>>1]=0;M[a+14>>1]=0;M[a>>1]=0;M[a+2>>1]=0;M[a+4>>1]=0;M[a+6>>1]=0;N[e+2232>>2]=-16;m=N[e+788>>2];M[m-32>>1]=65535;N[e+2236>>2]=-15;M[m-30>>1]=65535;N[e+2240>>2]=-14;M[m-28>>1]=65535;N[e+2244>>2]=-13;M[m-26>>1]=65535;N[e+2248>>2]=-12;M[m-24>>1]=65535;N[e+2252>>2]=-11;M[m-22>>1]=65535;N[e+2256>>2]=-10;M[m-20>>1]=65535;N[e+2260>>2]=-9;M[m-18>>1]=65535;N[e+2264>>2]=-8;M[m-16>>1]=65535;N[e+2268>>2]=-7;M[m-14>>1]=65535;N[e+2272>>2]=-6;M[m-12>>1]=65535;N[e+2276>>2]=-5;M[m-10>>1]=65535;N[e+2280>>2]=-4;M[m-8>>1]=65535;N[e+2284>>2]=-3;M[m-6>>1]=65535;N[e+2288>>2]=-2;M[m-4>>1]=65535;N[e+2292>>2]=-1;M[m-2>>1]=65535;N[e+648>>2]=0;N[e+652>>2]=0;n=32768;N[e+656>>2]=32768;N[e+640>>2]=0;N[e+644>>2]=8;N[e+632>>2]=5;i=0;f=0}r=e+2232|0;C:{D:{a=N[e+12>>2];E:{if((a|0)!=32){q=N[e+16>>2];a=a-8|0;break E}a=N[e+20>>2];if(!a){j=0;break D}h=N[e+8>>2]>>>8|0;N[e+8>>2]=h;g=N[e+16>>2];j=O[g|0];N[e+20>>2]=a-1;N[e+12>>2]=24;q=g+1|0;N[e+16>>2]=q;N[e+8>>2]=h|j<<24;a=16}F:{if(!(q&1)){break F}h=N[e+20>>2];if(!h){break F}g=N[e+8>>2]>>>8|0;N[e+8>>2]=g;j=O[q|0];N[e+20>>2]=h-1;N[e+12>>2]=a;q=q+1|0;N[e+16>>2]=q;N[e+8>>2]=g|j<<24}G:{if(!n|b>>>0<=f>>>0){break G}v=e+660|0;j=N[e+20>>2];while(1){if(j>>>0<=1){N[e+652>>2]=p;N[e+648>>2]=f;N[e+644>>2]=o;N[e+656>>2]=n;N[e+640>>2]=i;break D}h=N[e+8>>2];g=N[e+12>>2];if(g>>>0>=16){g=g^16;N[e+12>>2]=g;a=h>>>16|0;N[e+8>>2]=a;h=O[q|0]|O[q+1|0]<<8;j=j-2|0;N[e+20>>2]=j;q=q+2|0;N[e+16>>2]=q;h=a|h<<16;N[e+8>>2]=h}a=v+((h>>>g&31)<<2)|0;g=O[a|0]+g|0;N[e+12>>2]=g;a=P[a+2>>1];H:{if(a>>>0<=15){if(a){h=r+(a<<2)|0;M[(N[h>>2]<<1)+m>>1]=f;N[h>>2]=f;h=(a<<1)+s|0;M[h>>1]=P[h>>1]+1;n=n-(32768>>>a|0)|0;o=a}l=f+1|0;p=0;break H}l=(a|0)==16;a=l?2:3;N[e+12>>2]=a+g;h=N[(a<<2)+169392>>2]&h>>>g;I:{J:{k=l?o:0;if((k|0)==(i|0)){if(p){break J}k=i}g=0;a=0;break I}k=i;g=p;a=g-2<>>0>b>>>0){n=1048575;N[e+656>>2]=1048575;break C}if(!k){i=0;break H}t=h-g|0;u=t+2|0;w=r+(k<<2)|0;g=N[w>>2];a=0;t=t+3&7;if(t){while(1){h=f;M[(g<<1)+m>>1]=f;f=f+1|0;g=h;a=a+1|0;if((t|0)!=(a|0)){continue}break}}if(u>>>0>=7){while(1){M[(g<<1)+m>>1]=f;a=f+1|0;M[(f<<1)+m>>1]=a;h=(a<<1)+m|0;a=f+2|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+3|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+4|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+5|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+6|0;M[h>>1]=a;g=f+7|0;M[(a<<1)+m>>1]=g;h=g;f=f+8|0;if((l|0)!=(f|0)){continue}break}}N[w>>2]=h;a=(k<<1)+s|0;M[a>>1]=i+P[a>>1];n=n-(i<<15-k)|0;i=k}if(b>>>0<=l>>>0){break G}f=l;if(n){continue}break}}N[e+656>>2]=n;break C}if(b>>>0<=f>>>0){break C}o=e+660|0;a=0;while(1){if(n){K:{if(!a){g=N[e+12>>2];break K}if(!j){return 2}a=N[e+8>>2]>>>8|0;N[e+8>>2]=a;h=N[e+16>>2];l=O[h|0];g=N[e+12>>2]-8|0;N[e+12>>2]=g;j=j-1|0;N[e+20>>2]=j;N[e+16>>2]=h+1;N[e+8>>2]=a|l<<24}h=0;a=1;h=(g|0)!=32?N[e+8>>2]>>>g|0:h;l=o+((h&31)<<2)|0;k=O[l|0];p=32-g|0;L:{if(k>>>0>p>>>0){break L}l=P[l+2>>1];M:{if(l>>>0<=15){N[e+652>>2]=0;N[e+12>>2]=g+k;if(l){a=r+(l<<2)|0;M[(N[a>>2]<<1)+m>>1]=f;N[a>>2]=f;n=n-(32768>>>l|0)|0;N[e+656>>2]=n;N[e+644>>2]=l;a=(l<<1)+s|0;M[a>>1]=P[a>>1]+1}f=f+1|0;N[e+648>>2]=f;break M}w=p;p=l-14|0;q=p+k|0;if(w>>>0>>0){break L}N[e+12>>2]=g+q;k=N[(p<<2)+169392>>2]&h>>>k;N:{O:{P:{if((l|0)!=16){l=3;a=0;break P}l=2;a=N[e+644>>2]}if((a|0)!=(i|0)){N[e+640>>2]=a;break O}h=N[e+652>>2];if(!h){break O}g=h-2<>2]=i;k=i-h|0;l=k+f|0;if(l>>>0>b>>>0){N[e+656>>2]=1048575;N[e+648>>2]=b;return-7}if(a){i=g-h|0;n=i+2|0;p=r+(a<<2)|0;g=N[p>>2];a=0;i=i+3&7;if(i){while(1){h=f;M[(g<<1)+m>>1]=f;f=f+1|0;g=h;a=a+1|0;if((i|0)!=(a|0)){continue}break}}if(n>>>0>=7){while(1){M[(g<<1)+m>>1]=f;a=f+1|0;M[(f<<1)+m>>1]=a;h=(a<<1)+m|0;a=f+2|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+3|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+4|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+5|0;M[h>>1]=a;h=(a<<1)+m|0;a=f+6|0;M[h>>1]=a;g=f+7|0;M[(a<<1)+m>>1]=g;h=g;f=f+8|0;if((l|0)!=(f|0)){continue}break}}N[e+648>>2]=l;N[p>>2]=h;i=N[e+640>>2];n=N[e+656>>2]-(k<<15-i)|0;N[e+656>>2]=n;a=(i<<1)+s|0;M[a>>1]=k+P[a>>1];f=N[e+648>>2];break M}N[e+648>>2]=l;i=0;f=l}a=0}if(b>>>0>f>>>0){continue}}break}n=N[e+656>>2]}f=-7;if(n){break a}f=-1;g=15;while(1){h=g;g=g-1|0;k=f;f=f-1|0;if(P[(k<<1)+m>>1]==65535){continue}break}j=k>>>0>=4294967288?256:1<=8?8:h;o=(a|0)<=1?1:a;q=128;l=0;a=2;n=1;while(1){i=P[(n<<1)+s>>1];if(i){b=n-16|0;while(1){p=(O[l+168960|0]<<2)+c|0;b=P[(b<<1)+m>>1];g=b<<16|n;f=j;while(1){f=f-a|0;r=p+(f<<2)|0;M[r>>1]=g;M[r+2>>1]=g>>>16;if((f|0)>0){continue}break}l=l+q|0;i=i-1|0;if(i){continue}break}}q=q>>>1|0;a=a<<1;b=(n|0)!=(o|0);n=n+1|0;if(b){continue}break}p=256;if((j|0)!=256){while(1){a=j<<2;F(a+c|0,c,a);j=j<<1;if((j|0)!=256){continue}break}}if(k>>>0>=4294967289){t=(h|0)<=9?9:h;o=8;k=128;j=256;g=2;i=256;b=c;while(1){a=o;o=a+1|0;r=(o<<1)+s|0;Q:{if(!P[r>>1]){break Q}q=a-15|0;v=a-7|0;n=1<>>0<=13){while(1){if((i|0)==256){b=(j<<2)+b|0;h=n;f=o;while(1){R:{a=h-P[(f<<1)+s>>1]|0;if((a|0)<=0){a=f;break R}h=a<<1;a=15;f=f+1|0;if((f|0)!=15){continue}}break}f=O[l+168960|0];h=(f<<2)+c|0;f=a&255|(b-c>>>2|0)-f<<16;M[h>>1]=f;M[h+2>>1]=f>>>16;l=l+1|0;j=1<>1];a=v|q<<16;f=j;while(1){f=f-g|0;u=h+(f<<2)|0;M[u>>1]=a;M[u+2>>1]=a>>>16;if((f|0)>0){continue}break}a=P[r>>1]-1|0;M[r>>1]=a;i=i+k|0;if(a&65535){continue}break Q}}while(1){if((i|0)==256){a=O[l+168960|0];f=(a<<2)+c|0;b=(j<<2)+b|0;a=(b-c>>>2|0)-a<<16|o;M[f>>1]=a;M[f+2>>1]=a>>>16;l=l+1|0;p=n+p|0;j=n;i=0}h=(O[i+168960|0]<<2)+b|0;q=P[(q<<1)+m>>1];a=v|q<<16;f=j;while(1){f=f-g|0;u=h+(f<<2)|0;M[u>>1]=a;M[u+2>>1]=a>>>16;if((f|0)>0){continue}break}a=P[r>>1]-1|0;M[r>>1]=a;i=i+k|0;if(a&65535){continue}break}}k=k>>>1|0;g=g<<1;if((o|0)!=(t|0)){continue}break}}if(d){N[d>>2]=p}break b}if(!h){break e}a=0;while(1){b=P[((a<<1)+e|0)+792>>1];a=a+1|0;f=a;S:{while(1){if((b|0)!=P[((f<<1)+e|0)+792>>1]){f=f+1|0;if(h>>>0>=f>>>0){continue}break S}break}return-5}if((a|0)!=(h|0)){continue}break}}if((h|0)==3){f=N[e+12>>2];T:{if((f|0)!=32){g=N[e+8>>2];break T}a=N[e+20>>2];if(!a){N[e+632>>2]=3;return 2}b=N[e+8>>2]>>>8|0;N[e+8>>2]=b;f=N[e+16>>2];h=O[f|0];N[e+20>>2]=a-1;N[e+16>>2]=f+1;f=24;g=b|h<<24;N[e+8>>2]=g}N[e+12>>2]=f+1;h=(g>>>f&1)+3|0;N[e+648>>2]=h}g=e+792|0;f=1;U:{V:{W:{switch(h|0){case 1:a=P[e+794>>1];b=P[e+792>>1];if(a>>>0>b>>>0){a=b<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|1;M[c+4>>1]=a;M[c+6>>1]=a>>>16;f=2;break c}a=a<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+4>>1]=a;M[c+6>>1]=a>>>16;f=2;break c;case 2:a=P[e+792>>1]<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1];b=P[e+794>>1];if(a>>>0>b>>>0){a=b<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+796>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c}a=a<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c;case 3:h=P[e+794>>1];b=P[e+792>>1];X:{if(h>>>0>=b>>>0){a=h;h=b;break X}M[e+792>>1]=h;M[e+794>>1]=b;a=b}g=P[e+796>>1];Y:{if(h>>>0<=g>>>0){f=g;g=h;break Y}M[e+792>>1]=g;M[e+796>>1]=h;f=h}b=P[e+798>>1];if(b>>>0>>0){break V}l=g;g=b;break U;case 4:break W;case 0:break d;default:break c}}a=P[e+798>>1];b=P[e+796>>1];if(a>>>0>>0){M[e+796>>1]=a;M[e+798>>1]=b}a=P[e+792>>1]<<16|1;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1]<<16|3;M[c+12>>1]=a;M[c+14>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+16>>1]=a;M[c+18>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+20>>1]=a;M[c+22>>1]=a>>>16;a=P[e+792>>1]<<16|1;M[c+24>>1]=a;M[c+26>>1]=a>>>16;a=P[e+798>>1]<<16|3;M[c+28>>1]=a;M[c+30>>1]=a>>>16;f=8;break c}M[e+792>>1]=b;M[e+798>>1]=g;l=b}Z:{if(a>>>0<=f>>>0){h=f;f=a;break Z}M[e+794>>1]=f;M[e+796>>1]=a;h=a}_:{if(f>>>0<=g>>>0){f=g;break _}M[e+794>>1]=g;M[e+798>>1]=f}if(f>>>0>>0){M[e+796>>1]=f;M[e+798>>1]=h}a=l<<16|2;M[c>>1]=a;M[c+2>>1]=a>>>16;a=P[e+794>>1]<<16|2;M[c+8>>1]=a;M[c+10>>1]=a>>>16;a=P[e+796>>1]<<16|2;M[c+4>>1]=a;M[c+6>>1]=a>>>16;a=P[e+798>>1]<<16|2;M[c+12>>1]=a;M[c+14>>1]=a>>>16;f=4;break c}g=e+792|0}a=P[g>>1]<<16;M[c>>1]=a;M[c+2>>1]=a>>>16;f=1}while(1){a=f<<2;F(a+c|0,c,a);f=f<<1;if((f|0)!=256){continue}break}if(d){N[d>>2]=256}}N[e+632>>2]=0;f=1}return f}function bh(a,b){var 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,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;u=La-16|0;La=u;a:{if(!Dk(a+4|0,b,a)){break a}c=a+6|0;if(c>>>0>2]){break a}d=N[b+8>>2];if(d>>>0>>0|d-c>>>0<2){break a}d=N[b+12>>2]-2|0;N[b+12>>2]=d;if((d|0)<=0){break a}d=O[c|0]|O[c+1|0]<<8;b:{if(!d){break b}d=((d<<8|d>>>8)&65535)+a|0;N[u+12>>2]=d;if(Ck(d,b,u+12|0)){break b}d=N[b+28>>2];if(d>>>0>31){break a}N[b+28>>2]=d+1;if(!O[b+24|0]){break a}L[c|0]=0;L[c+1|0]=0}p=a+8|0;f=N[b+4>>2];if(p>>>0>>0){break a}c=N[b+8>>2];if(c>>>0