sync/www/js/octopus/subtitles-octopus-worker-le...

36 lines
3.3 MiB
JavaScript
Raw Normal View History

2022-02-13 01:46:28 +00:00
var Module=typeof Module!=="undefined"?Module:{};var Promise=function(){function noop(){}function bind(fn,thisArg){return function(){fn.apply(thisArg,arguments)}}function Promise(fn){if(!(this instanceof Promise))throw new TypeError("Promises must be constructed via new");if(typeof fn!=="function")throw new TypeError("not a function");this._state=0;this._handled=false;this._value=undefined;this._deferreds=[];doResolve(fn,this)}function handle(self,deferred){while(self._state===3){self=self._value}if(self._state===0){self._deferreds.push(deferred);return}self._handled=true;Promise._immediateFn(function(){var cb=self._state===1?deferred.onFulfilled:deferred.onRejected;if(cb===null){(self._state===1?resolve:reject)(deferred.promise,self._value);return}var ret;try{ret=cb(self._value)}catch(e){reject(deferred.promise,e);return}resolve(deferred.promise,ret)})}function resolve(self,newValue){try{if(newValue===self)throw new TypeError("A promise cannot be resolved with itself.");if(newValue&&(typeof newValue==="object"||typeof newValue==="function")){var then=newValue.then;if(newValue instanceof Promise){self._state=3;self._value=newValue;finale(self);return}else if(typeof then==="function"){doResolve(bind(then,newValue),self);return}}self._state=1;self._value=newValue;finale(self)}catch(e){reject(self,e)}}function reject(self,newValue){self._state=2;self._value=newValue;finale(self)}function finale(self){if(self._state===2&&self._deferreds.length===0){Promise._immediateFn(function(){if(!self._handled){Promise._unhandledRejectionFn(self._value)}})}for(var i=0,len=self._deferreds.length;i<len;i++){handle(self,self._deferreds[i])}self._deferreds=null}function Handler(onFulfilled,onRejected,promise){this.onFulfilled=typeof onFulfilled==="function"?onFulfilled:null;this.onRejected=typeof onRejected==="function"?onRejected:null;this.promise=promise}function doResolve(fn,self){var done=false;try{fn(function(value){if(done)return;done=true;resolve(self,value)},function(reason){if(done)return;done=true;reject(self,reason)})}catch(ex){if(done)return;done=true;reject(self,ex)}}Promise.prototype["catch"]=function(onRejected){return this.then(null,onRejected)};Promise.prototype.then=function(onFulfilled,onRejected){var prom=new this.constructor(noop);handle(this,new Handler(onFulfilled,onRejected,prom));return prom};Promise.all=function(arr){return new Promise(function(resolve,reject){if(!Array.isArray(arr)){return reject(new TypeError("Promise.all accepts an array"))}var args=Array.prototype.slice.call(arr);if(args.length===0)return resolve([]);var remaining=args.length;function res(i,val){try{if(val&&(typeof val==="object"||typeof val==="function")){var then=val.then;if(typeof then==="function"){then.call(val,function(val){res(i,val)},reject);return}}args[i]=val;if(--remaining===0){resolve(args)}}catch(ex){reject(ex)}}for(var i=0;i<args.length;i++){res(i,args[i])}})};Promise.resolve=function(value){if(value&&typeof value==="object"&&value.constructor===Promise){return value}return new Promise(function(resolve){resolve(value)})};Promise.reject=function(value){return new Promise(function(resolve,reject){reject(value)})};Promise.race=function(arr){return new Promise(function(resolve,reject){if(!Array.isArray(arr)){return reject(new TypeError("Promise.race accepts an array"))}for(var i=0,len=arr.length;i<len;i++){Promise.resolve(arr[i]).then(resolve,reject)}})};Promise._immediateFn=typeof setImmediate==="function"&&function(fn){setImmediate(fn)}||function(fn){setTimeout(fn,0)};Promise._unhandledRejectionFn=function _unhandledRejectionFn(err){if(typeof console!=="undefined"&&console){console.warn("Possible Unhandled Promise Rejection:",err)}};return Promise}();if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH;if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof location!=="undefined"){
// EMSCRIPTEN_START_ASM
function instantiate(Oa){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 ArrayBuffer(16);var g=new Int32Array(f);var h=new Float32Array(f);var i=new Float64Array(f);function j(k){return g[k]}function l(k,m){g[k]=m}function n(){return i[0]}function o(m){i[0]=m}function p(){return h[2]}function q(m){h[2]=m}function Ma(Na){var r=Na.a;var s=r.buffer;r.grow=Ka;var t=new Int8Array(s);var u=new Int16Array(s);var v=new Int32Array(s);var w=new Uint8Array(s);var x=new Uint16Array(s);var y=new Uint32Array(s);var z=new Float32Array(s);var A=new Float64Array(s);var B=Math.imul;var C=Math.fround;var D=Math.abs;var E=Math.clz32;var F=Math.min;var G=Math.max;var H=Math.floor;var I=Math.ceil;var J=Math.trunc;var K=Math.sqrt;var L=Na.abort;var M=NaN;var N=Infinity;var O=Na.b;var P=Na.c;var Q=Na.d;var R=Na.e;var S=Na.f;var T=Na.g;var U=Na.h;var V=Na.i;var W=Na.j;var X=Na.k;var Y=Na.l;var Z=Na.m;var _=Na.n;var $=Na.o;var aa=Na.p;var ba=Na.q;var ca=Na.r;var da=Na.s;var ea=Na.t;var fa=Na.u;var ga=Na.v;var ha=Na.w;var ia=Na.x;var ja=Na.y;var ka=Na.z;var la=Na.A;var ma=Na.B;var na=Na.C;var oa=Na.D;var pa=Na.E;var qa=Na.F;var ra=Na.G;var sa=Na.H;var ta=Na.I;var ua=Na.J;var va=Na.K;var wa=Na.L;var xa=Na.M;var ya=Na.N;var za=Na.O;var Aa=Na.P;var Ba=Na.Q;var Ca=5901136;var Da=0;
// EMSCRIPTEN_START_FUNCS
function IP(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,m=0,o=0,p=0,q=0,r=0,s=0,u=0,x=0,E=0,F=0,G=0,I=C(0),J=0,K=0,M=0,N=C(0),P=0,Q=0,R=0,S=0,T=0,U=C(0),V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0;a:{e=v[b+140>>2];b:{if(e){break b}while(1){j=v[b>>2];if(!j){e=280448;break b}K=Ca-48|0;Ca=K;e=eb(1,8);if(e){x=K;v[x+16>>2]=0;v[x+20>>2]=0;t[x+21|0]=0;t[x+22|0]=0;t[x+23|0]=0;t[x+24|0]=0;t[x+25|0]=0;t[x+26|0]=0;t[x+27|0]=0;t[x+28|0]=0;v[x+32>>2]=0;v[x+36>>2]=0;v[x+8>>2]=0;v[x+12>>2]=0;g=Nb(j);t[x+44|0]=1;v[x+40>>2]=g;h=e;g=Jb(j,1935829368);p=0;P=Ca-16|0;Ca=P;x=x+8|0;i=Hb(g);v[x+28>>2]=i;c:{d:{e:{f:{g:{h:{while(1){t[x+20|0]=p;p=v[i+12>>2];v[x+4>>2]=p;o=v[i+16>>2];v[x+8>>2]=o+p;if((o|0)<=-1){break a}v[x+24>>2]=0;M=x;if(o>>>0>67108862){f=1073741823}else{f=o<<6;f=f>>>0>16384?f:16384;f=f>>>0<1073741823?f:1073741823}v[M+12>>2]=f;v[x>>2]=0;if(!p){Sa(i);v[x+28>>2]=0;v[x+4>>2]=0;v[x+8>>2]=0;break d}if(o>>>0<=7){break g}v[x+12>>2]=f-8;if(!(w[p+1|0]|w[p|0]<<8)){break g}v[P+8>>2]=p;i:{f=p+4|0;if(sx(f,x,P+8|0)){if(!v[x+24>>2]){break i}v[x+24>>2]=0;if(p>>>0<y[x+4>>2]){break g}J=v[x+8>>2];if(J>>>0<p>>>0|J-p>>>0<=7){break g}J=v[x+12>>2]-8|0;v[x+12>>2]=J;if(!(w[p+1|0]|w[p|0]<<8)|(J|0)<1){break g}v[P+12>>2]=p;f=sx(f,x,P+12|0);i=v[x+28>>2];if(v[x+24>>2]){break f}Sa(i);v[x+28>>2]=0;v[x+4>>2]=0;v[x+8>>2]=0;if(f){break h}break e}if(w[x+20|0]|!v[x+24>>2]){break g}f=xc(g);v[x+4>>2]=f;v[x+8>>2]=f+v[g+16>>2];i=v[x+28>>2];p=1;if(f){continue}break f}break}Sa(v[x+28>>2]);v[x+28>>2]=0;v[x+4>>2]=0;v[x+8>>2]=0}if(v[g+4>>2]){v[g+4>>2]=0}break d}i=v[x+28>>2]}Sa(i);v[x+28>>2]=0;v[x+4>>2]=0;v[x+8>>2]=0}Sa(g);g=280448}Ca=P+16|0;break c}v[h>>2]=g;g=e;x=v[j+32>>2];if((x|0)==-1){x=Xc(j)}v[g+4>>2]=x}Ca=K+48|0;x=e?e:280448;e=v[b+140>>2];if(!e){v[b+140>>2]=x;e=x;break b}if((x|0)!=280448){e=v[x>>2];Sa(e?e:280448);Pa(x);e=v[b+140>>2]}if(!e){continue}break}}P=1;J=a;K=c;h=Ca-16|0;Ca=h;a=v[e>>2];a=a?a:280448;a=y[a+16>>2]<8?280448:v[a+12>>2];if(w[a|0]<<8|w[a+1|0]){v[h+12>>2]=0;v[h+8>>2]=0;v[h+4>>2]=0;a=K;p=v[e>>2];s=v[e+4>>2];c=v[e>>2];c=c?c:280448;f=y[c+16>>2]<8?280448:v[c+12>>2];c=w[f+4|0]|w[f+5|0]<<8|(w[f+6|0]<<16|w[f+7|0]<<24);i=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if(i){g=0;if((i|0)!=1){c=v[J+52>>2];e=v[J+48>>2];c=c>>>0>e>>>0?c:e;j=c?c:1073741824;c=w[f+8|0]|w[f+9|0]<<8|(w[f+10|0]<<16|w[f+11|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);c=c?c+f|0:280448;e=w[c|0]<<8|w[c+1|0];c=1;while(1){x=c>>>0<i>>>0?(f+(c<<2)|0)+8|0:280448;x=w[x|0]|w[x+1|0]<<8|(w[x+2|0]<<16|w[x+3|0]<<24);x=x<<24|x<<8&16711680|(x>>>8&65280|x>>>24);x=x?x+f|0:280448;x=w[x|0]<<8|w[x+1|0];if(e>>>0>=j>>>0|e>>>0>=x>>>0?e>>>0>x>>>0?x>>>0>=j>>>0:0:1){g=c;e=x}c=c+1|0;if((i|0)!=(c|0)){continue}break}}c=g>>>0<i>>>0?(f+(g<<2)|0)+8|0:280448;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);e=c?c+f|0:280448}else{e=280448}c=280448;j:{E=w[e+1|0]|w[e|0]<<8;if(!E){break j}f=h+12|0;i=h+8|0;j=h+4|0;c=v[p+16>>2];o=e-v[p+12>>2]|0;if(c>>>0>o>>>0){F=c-o|0;m=e+4|0;c=8;k:{while(1){x=c;l:{m:{if(a>>>0>=s>>>0){break m}c=a+1|0;c=(c|0)<0?280448:m+(c<<2)|0;c=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=(a|0)<0?280448:m+(a<<2)|0;a=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);g=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);if(c>>>0<=g>>>0){break m}a=c-g|0;if(a>>>0<9){break m}if(c>>>0<=F>>>0){break l}}c=280448;break j}q=a-8|0;a=g?e+g|0:280448;c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);G=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);if((G|0)!=1685418085){break k}if(q>>>0>=2){a=w[a+9|0]|w[a+8|0]<<8;c=x-1|0;if(x){continue}}break}c=280448;break j}c=280448;if((G|0)!=1886283552){break j}if(j){v[j>>2]=E}if(f){c=w[a|0]|w[a+1|0]<<8;v[f>>2]=(c<<8|c>>>8)<<16>>16}if(i){a=w[a+2|0]|w[a+3|0]<<8;v[i>>2]=(a<<8|a>>>8)<<16>>16}c=Sp(p,(g+o|0)+8|0,q);break j}O(248855,248880,106,248908);L()}x=c;a=v[c+12>>2];c=v[c+16>>2];i=v[h+12>>2];v[d>>2]=i;c=c>>>0<29?280448:a;a=w[c+20|0]|w[c+21|0]<<8|(w[c+22|0]<<16|w[c+23|0]<<24);a=v[h+8>>2]+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24))|0;v[d+4>>2]=a;e=w[c+16|0]|w[c+17|0]<<8|(w[c+18|0]<<16|w[c+19|0]<<24);e=e<<24|e<<8&
function Bw(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,A=0,E=0,F=0,G=0,I=0,J=0,K=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=C(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;P=Ca-16|0;Ca=P;v[c+32>>2]=0;f=v[c+76>>2];a:{if(f>>>0>67108862){break a}i=f<<6;v[c+36>>2]=i>>>0>16384?i:16384;if(f>>>0>4194302){break a}f=f<<10;v[c+40>>2]=f>>>0>16384?f:16384}t[c+168|0]=48;ea=v[c+48>>2];v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];k=v[c+76>>2];if(k){h=v[a+96>>2];i=k&7;j=v[c+88>>2];f=0;if(k-1>>>0>=7){g=k&-8;while(1){v[(j+B(f,20)|0)+4>>2]=h;v[(j+B(f|1,20)|0)+4>>2]=h;v[(j+B(f|2,20)|0)+4>>2]=h;v[(j+B(f|3,20)|0)+4>>2]=h;v[(j+B(f|4,20)|0)+4>>2]=h;v[(j+B(f|5,20)|0)+4>>2]=h;v[(j+B(f|6,20)|0)+4>>2]=h;v[(j+B(f|7,20)|0)+4>>2]=h;f=f+8|0;g=g-8|0;if(g){continue}break}}if(i){while(1){v[(j+B(f,20)|0)+4>>2]=h;f=f+1|0;i=i-1|0;if(i){continue}break}}h=0;while(1){f=j+B(h,20)|0;Aw(f,c);g=f+16|0;i=x[f+16>>1];b:{c:{if(v[f>>2]-127995>>>0<5?(i&31)==24:0){break c}if(!(!h|v[f>>2]-127462>>>0>25)){f=j+B(h-1|0,20)|0;if(v[f>>2]-127462>>>0>25){break b}if(!(w[f+16|0]&128)){break c}break b}if((i&287)==257){u[f+16>>1]=i|128;f=h+1|0;if(f>>>0>=k>>>0){break b}n=j+B(f,20)|0;i=v[n>>2];if(i>>>0<=131069){i=w[((i&56|w[((w[(i>>>11|0)+281184|0]>>>(i>>>8&4)<<4&240)+(i>>>6&15|64)|0)+281184|0]<<6)>>>3|0)+281408|0]>>>(i&7)&1}else{i=0}if(!i){break b}Aw(n,c);g=n+16|0;i=x[n+16>>1];h=f;break c}if(v[f>>2]-917536>>>0>95){break b}}u[g>>1]=i|128}h=h+1|0;if(k>>>0>h>>>0){continue}break}}d:{if(!(1<<x[v[c+88>>2]+16>>1]&7168)|(v[c+144>>2]|(v[c+16>>2]&17)!=1)){break d}v[P+12>>2]=0;f=v[b+72>>2];if(!(Ea[v[f+156>>2]](b,v[b+76>>2],9676,P+12|0,v[f+20>>2])|0)){break d}f=v[c+12>>2];g=Ea[v[f+24>>2]](f,9676,v[f+56>>2])|0;v[c+32>>2]=v[c+32>>2]|1;if(!(!(1<<g&7168)|g>>>0>31)){g=w[(Ea[v[f+16>>2]](f,9676,v[f+48>>2])|0)+280928|0]<<8|g|128}v[c+80>>2]=0;t[c+69|0]=1;t[c+70|0]=0;v[c+92>>2]=v[c+88>>2];v[c+72>>2]=0;f=v[c+88>>2];i=v[f+4>>2];h=v[f+8>>2];if(cb(c,0,1)){f=v[c+92>>2]+B(v[c+80>>2],20)|0;u[f+18>>1]=0;u[f+16>>1]=g;v[f+12>>2]=0;v[f+8>>2]=h;v[f+4>>2]=i;v[f>>2]=9676;v[c+80>>2]=v[c+80>>2]+1}td(c)}e:{if(!(t[c+32|0]&1)){break e}k=v[c+76>>2];if(!v[c+20>>2]){if(!k){break e}f=k-1|0;h=v[c+88>>2];i=0;while(1){f:{if((f|0)==(i|0)){i=k;break f}i=i+1|0;if(w[(B(i,20)+h|0)+16|0]&128){continue}}break}g=0;j=k;while(1){if(i-g>>>0>=2){rc(c,g,i);j=v[c+76>>2];h=v[c+88>>2]}f=i+1|0;g=f>>>0<j>>>0?j:f;n=g-1|0;f=i;while(1){g:{if((f|0)==(n|0)){f=g;break g}f=f+1|0;if(w[(B(f,20)+h|0)+16|0]&128){continue}}break}n=i>>>0<k>>>0;g=i;i=f;if(n){continue}break}break e}if(!k){break e}i=k-1|0;h=v[c+88>>2];f=0;while(1){h:{if((f|0)==(i|0)){f=k;break h}f=f+1|0;if(w[(B(f,20)+h|0)+16|0]&128){continue}}break}g=0;j=k;while(1){i=f;if(f-g>>>0>=2){Mb(c,g,i);j=v[c+76>>2];h=v[c+88>>2]}f=i+1|0;g=f>>>0<j>>>0?j:f;n=g-1|0;f=i;while(1){i:{if((f|0)==(n|0)){f=g;break i}f=f+1|0;if(w[(B(f,20)+h|0)+16|0]&128){continue}}break}g=i;if(g>>>0<k>>>0){continue}break}}f=v[c+48>>2];j:{k:{l:{g=ck(v[c+52>>2]);m:{if(!((g|0)!=5|(f|0)!=4)){k=v[c+76>>2];if(!k){g=5;break m}n=v[c+88>>2];j=0;i=1;g=0;while(1){n:{h=1;m=x[(n+B(g,20)|0)+16>>1]&31;if((m|0)!=13){h=j;if(1<<m&992){break n}}g=g+1|0;i=k>>>0>g>>>0;j=h;if((g|0)!=(k|0)){continue}}break}g=h&1?i&1?5:4:5}i=f&-2;if((i|0)!=4){break l}}if((f|0)==(g|0)){break j}if(g){break k}break j}if((f|0)==6|(i|0)!=6){break j}}h=v[c+76>>2];o:{if(v[c+20>>2]==1){if(!h){break o}i=h-1|0;g=v[c+88>>2];f=0;while(1){p:{if((f|0)==(i|0)){f=h;break p}f=f+1|0;if(w[(g+B(f,20)|0)+16|0]&128){continue}}break}g=0;while(1){i=f;if(f-g>>>0>=2){rc(c,g,i)}jw(c,g,i);f=v[c+76>>2];g=i+1|0;g=f>>>0>g>>>0?f:g;j=g-1|0;k=v[c+88>>2];f=i;while(1){q:{if((f|0)==(j|0)){f=g;break q}f=f+1|0;if(w[(k+B(f,20)|0)+16|0]&128){continue}}break}g=i;if(g>>>0<h>>>0){continue}break}break o}if(!h){break o}i=h-1|0;g=v[c+88>>2];f=0;while(1){r:{if((f|0)==(i|0)){f=h;break r}f=f+1|0;if(w[(g+B(f,20)|0)+16|0]&128){continue}}break}i=0;while(1){g=i;i=f;jw(c,g,f);g=v[c+76>>2];j=f+1|0;g=g>>>0>j>>>0?g:j;j=g-1|0;k=v[c+88>>2];while(1){s:{if((f|0)==(j|0)){f=g;break s}f=f+1|0;if(w[(k+B(f,20)|0)+16|0]&128){continue}}break}if(h>>
function Dp(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=v[b+48>>2];h=v[c+12>>2];v[b+24>>2]=h;f=v[c+16>>2];c=f+h|0;v[b+28>>2]=c;if((f|0)>-1){a:{b:{if(!(a>>>0<c>>>0?a>>>0>=h>>>0:0)){v[b+24>>2]=0;v[b+28>>2]=0;break b}v[b+24>>2]=a;h=w[a|0]|w[a+1|0]<<8|(w[a+2|0]<<16|w[a+3|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);c=c-a|0;v[b+28>>2]=(c>>>0>h>>>0?h:c)+a}h=Ca-48|0;Ca=h;c:{d:{switch(w[a+7|0]){case 0:v[h+4>>2]=0;v[h+8>>2]=0;t[h|0]=0;f=v[b+12>>2];v[h+36>>2]=v[b+16>>2];v[h+32>>2]=a+12;c=h;a=v[f+32>>2];if((a|0)==-1){a=Xc(f)}v[c+40>>2]=a;a=0;i=h+32|0;c=v[i+4>>2];v[c+72>>2]=0;e:{if(!w[c+68|0]){break e}while(1){j=0;f:{if(y[c+76>>2]<=e>>>0){break f}g=v[v[c+88>>2]+B(e,20)>>2];j=2;if((g|0)==65535){break f}c=v[i>>2];d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=od((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+c|0,g,v[i+8>>2]);j=1;if(!c){break f}j=w[c+1|0]|w[c|0]<<8}c=v[i>>2];d=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);g=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);l=j>>>0<e>>>0?j:1;k=B(a,e);f=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);c=c+(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))|0;f=(l+k<<1)+c|0;d=g+((w[f|0]<<8|w[f+1|0])<<2)|0;f=w[d|0]<<8|w[d+1|0];g:{h:{if(y[h+4>>2]<y[h+8>>2]?w[d+3|0]&15:0){break h}i:{if(!a){break i}m=w[d+2|0];if(f?0:m&64){break i}a=c+(l<<1)|0;a=g+((w[a|0]<<8|w[a+1|0])<<2)|0;if((y[h+4>>2]<y[h+8>>2]?w[a+3|0]&15:0)|(f|0)!=(w[a+1|0]|w[a|0]<<8)|(m^w[a+2|0])&64){break h}}a=c+(k+!e<<1)|0;if(!(w[(g+(w[a|0]<<10|w[a+1|0]<<2)|0)+3|0]&15)|y[h+4>>2]>=y[h+8>>2]){break g}}a=v[i+4>>2];c=v[(w[a+69|0]?80:72)+a>>2];if(!c){break g}g=v[a+72>>2];if(g>>>0>=y[a+76>>2]){break g}md(a,c-1|0,g+1|0)}Bp(h,i,d);c=v[i+4>>2];a=v[c+72>>2];if((a|0)==v[c+76>>2]|!w[c+68|0]){break e}j:{if(w[d+2|0]&64){d=v[c+40>>2];v[c+40>>2]=d-1;if((d|0)>0){break j}}if(w[c+69|0]){g=c;k:{if(v[c+92>>2]==v[c+88>>2]){d=a;if(v[c+80>>2]==(a|0)){break k}}if(!cb(c,1,1)){break j}d=v[c+88>>2]+B(v[c+72>>2],20)|0;e=v[d+4>>2];a=v[c+92>>2]+B(v[c+80>>2],20)|0;v[a>>2]=v[d>>2];v[a+4>>2]=e;v[a+16>>2]=v[d+16>>2];e=v[d+12>>2];v[a+8>>2]=v[d+8>>2];v[a+12>>2]=e;a=v[c+72>>2];d=v[c+80>>2]}v[g+80>>2]=d+1}v[c+72>>2]=a+1}c=v[i+4>>2];if(!w[c+68|0]){break e}e=v[c+72>>2];a=f;continue}}break c;case 1:t[h|0]=0;v[h+4>>2]=b;c=v[b+64>>2];t[h+12|0]=0;v[h+8>>2]=c;f=w[c+5|0];g=w[c+4|0];c=a+12|0;v[h+20>>2]=c;v[h+16>>2]=0;t[h+13|0]=(f|g<<8)!=0;a=w[a+28|0]|w[a+29|0]<<8|(w[a+30|0]<<16|w[a+31|0]<<24);v[h+24>>2]=c+(a<<24|a<<8&16711680|(a>>>8&65280|a>>>24));f=v[b+12>>2];v[h+36>>2]=v[b+16>>2];v[h+32>>2]=c;c=h;a=v[f+32>>2];if((a|0)==-1){a=Xc(f)}v[c+40>>2]=a;a=0;c=v[h+36>>2];v[c+72>>2]=0;l:{if(!w[c+68|0]){break l}while(1){j=0;m:{if(y[c+76>>2]<=d>>>0){break m}g=v[v[c+88>>2]+B(d,20)>>2];j=2;if((g|0)==65535){break m}c=v[h+32>>2];d=w[c+4|0]|w[c+5|0]<<8|(w[c+6|0]<<16|w[c+7|0]<<24);c=od((d<<8&16711680|d<<24|(d>>>8&65280|d>>>24))+c|0,g,v[h+40>>2]);j=1;if(!c){break m}j=w[c+1|0]|w[c|0]<<8}c=v[h+32>>2];d=w[c+12|0]|w[c+13|0]<<8|(w[c+14|0]<<16|w[c+15|0]<<24);d=(d<<24|d<<8&16711680|(d>>>8&65280|d>>>24))+c|0;f=w[c|0]|w[c+1|0]<<8|(w[c+2|0]<<16|w[c+3|0]<<24);e=f<<24|f<<8&16711680|(f>>>8&65280|f>>>24);m=j>>>0<e>>>0?j:1;n=B(a,e);f=w[c+8|0]|w[c+9|0]<<8|(w[c+10|0]<<16|w[c+11|0]<<24);i=c+(f<<24|f<<8&16711680|(f>>>8&65280|f>>>24))|0;c=(m+n<<1)+i|0;c=d+((w[c|0]<<8|w[c+1|0])<<3)|0;f=w[c|0]<<8|w[c+1|0];g=v[h+36>>2];l=v[g+72>>2];j=v[g+76>>2];k=(l|0)!=(j|0);n:{o:{if(!((w[c+5|0]|w[c+4|0]<<8)!=65535|(w[c+7|0]|w[c+6|0]<<8)!=65535?!(w[h+12|0]?1:k):1)){break o}p:{if(!a){break p}o=w[c+2|0];if(f?0:o&64){break p}a=i+(m<<1)|0;m=w[a|0]<<8|w[a+1|0];if(w[h+12|0]?1:k){a=d+(m<<3)|0;if((w[a+4|0]<<8|w[a+5|0])!=65535|(w[a+7|0]|w[a+6|0]<<8)!=65535){break o}}a=d+(m<<3)|0;if((f|0)!=(w[a|0]<<8|w[a+1|0])|(o^w[a+2|0])&64){break o}}a=i+(n+!e<<1)|0;e=w[a|0];a=w[a+1|0];if(!(w[h+12|0]?1:k)){break n}a=d+((a|e<<8)<<3)|0;if((w[a+4|0]<<8|w[a+5|0])!=65535){break o}if((w[a+7|0]|w[a+6|0]<<8)==65535){break n}}a=v[g+(w[g+69|0]?80:72)>>2];if(!a|l>>>0>=j>>>0){break n}md(g,a-1|0,l+1|0)}a=v[h+36>>2];q:{if(w[h+12|0]?0:v[a+72>>2]==
function Lh(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,y=0,z=0,A=0,C=0,D=0;m=Ca-16|0;Ca=m;v[m+12>>2]=0;v[a+1404>>2]=0;v[a+1392>>2]=0;v[a+56>>2]=0;v[a+44>>2]=0;v[a+36>>2]=0;v[a+24>>2]=0;e=v[a>>2];j=v[a+16>>2];n=v[a+8>>2];l=v[a+12>>2];o=v[a+4>>2];d=u[b>>1];a:{b:{c:{if(d>>>0<=8){if(v[a+40>>2]){break b}v[a+40>>2]=a+2752;c=8;break c}c=v[a+32>>2];if(c>>>0>=d>>>0){break b}h=a;g=e;f=c;c=d+3&-4;k=c;d=v[a+40>>2];if((d|0)==(a+2752|0)){v[a+40>>2]=0;d=0}C=h,D=Ua(g,4,f,k,d,m+12|0),v[C+40>>2]=D;if(v[m+12>>2]){break a}}v[a+32>>2]=c}c=u[b+2>>1];d=c+2|0;d:{if(d>>>0<=96){if(v[a+28>>2]){break d}v[a+20>>2]=96;v[a+28>>2]=a+2784;break d}g=d;d=v[a+20>>2];if(g>>>0<=d>>>0){break d}h=a;g=c+11&-8;f=g;c=v[a+28>>2];if((c|0)==(a+2784|0)){v[a+28>>2]=0;c=0}C=h,D=Ua(e,40,d,f,c,m+12|0),v[C+28>>2]=D;if(v[m+12>>2]){break a}v[a+20>>2]=g;c=u[b+2>>1]}v[a+24>>2]=c;c=u[b>>1];v[a+1416>>2]=-1;v[a+68>>2]=2;v[a+36>>2]=c;if((pi(b)|0)==1){v[a+1416>>2]=1;v[a+68>>2]=-2}v[a+12>>2]=l;v[a+4>>2]=o;v[a+16>>2]=j;v[a+8>>2]=n;p=v[a+24>>2];if(!p){break a}h=v[a+28>>2];r=h+B(p,40)|0;e=v[b+12>>2];s=B(x[v[v[a+2748>>2]+4>>2]+68>>1],20)>>>11|0;if((p|0)>=1){d=v[b+4>>2];k=v[b+8>>2];c=h;f=u[e>>1];g=c+B(f,40)|0;e=g;while(1){u[c+2>>1]=1028;i=v[d>>2];u[c+12>>1]=i;u[c+14>>1]=v[d+4>>2];i=Qa(i,o)+n|0;v[c+4>>2]=i;v[c+16>>2]=i;i=Qa(v[d+4>>2],l)+j|0;v[c+8>>2]=i;v[c+20>>2]=i;i=v[b+4>>2]+(f<<16>>16<<3)|0;u[g+12>>1]=v[i>>2];u[g+14>>1]=v[i+4>>2];i=w[k|0]&3;u[c>>1]=i?((i|0)==2)<<1:1;z=u[c+14>>1]-u[e+14>>1]|0;i=z>>31;A=u[c+12>>1]-u[e+12>>1]|0;q=A>>31;if((i^i+z)+(q^q+A)>>>0<s>>>0){u[e>>1]=x[e>>1]|32}v[c+36>>2]=e;v[e+32>>2]=c;e:{if((c|0)!=(g|0)){e=c;break e}y=y+1|0;if((y|0)>=u[b>>1]){e=c;g=c;break e}f=u[v[b+12>>2]+(y<<1)>>1];e=B(f,40)+h|0;g=e}k=k+1|0;d=d+8|0;c=c+40|0;if(r>>>0>c>>>0){continue}break}e=v[b+12>>2]}b=v[a+36>>2];f:{if((b|0)<1){break f}c=v[a+40>>2];g=c+(b<<2)|0;d=0;while(1){v[c>>2]=B(d>>16,40)+h;c=c+4|0;if(c>>>0<g>>>0){d=x[e>>1]+1<<16;e=e+2|0;continue}break}if((b|0)<=0){break f}n=v[a+40>>2];i=n+(b<<2)|0;q=(s<<1)-1|0;while(1){d=v[n>>2];c=d;while(1){g:{g=c;k=u[c+12>>1];c=v[c+36>>2];if((d|0)==(c|0)){b=x[g+14>>1];break g}b=u[g+14>>1];f=b-u[c+14>>1]|0;a=f>>31;j=k-u[c+12>>1]|0;e=j>>31;if((q|0)>((a^a+f)+(e^e+j)|0)){continue}}break}v[g+24>>2]=0;v[g+28>>2]=0;c=0;d=g;a=d;e=0;while(1){j=k<<16;f=b<<16;d=v[d+32>>2];b=u[d+14>>1];e=(b-(f>>16)|0)+e|0;f=e>>31;k=u[d+12>>1];c=(k-(j>>16)|0)+c|0;j=c>>31;f=f^e+f;j=j^c+j;h:{if(f+j>>>0<s>>>0){u[d>>1]=x[d>>1]|16;break h}l=(d-a|0)/40|0;v[a+24>>2]=l;v[d+28>>2]=0-l;l=0-c|0;i:{if((c|0)<=(e|0)){f=c;c=(e|0)<(l|0);j=c?e:f;f=j>>31;f=f^f+j;o=c?-1:2;c=c?l:e;break i}o=1;if((e|0)>=(l|0)){break i}c=0-e|0;o=254;f=j}e=(B(f,14)|0)<(c|0)?o:4;t[a+3|0]=e;c=v[a+32>>2];if((d|0)!=(c|0)){while(1){t[c+3|0]=e;t[c+2|0]=e;c=v[c+32>>2];if((d|0)!=(c|0)){continue}break}}t[d+2|0]=e;a=(g-d|0)/40|0;v[d+24>>2]=a;c=0;v[g+28>>2]=0-a;a=d;e=0}if((d|0)!=(g|0)){continue}break}n=n+4|0;if(i>>>0>n>>>0){continue}break}}if((p|0)<=0){break a}c=h;while(1){e=x[c>>1];j:{if(e&16|w[c+2|0]!=4|w[c+3|0]!=4){break j}d=v[c+24>>2];a=B(d,40)+c|0;b=u[c+12>>1];j=u[a+12>>1]-b|0;f=b;g=v[c+28>>2];b=B(g,40)+c|0;if((j^f-u[b+12>>1])<0){break j}f=u[c+14>>1];if((f-u[b+14>>1]^u[a+14>>1]-f)<0){break j}u[c>>1]=e|16;e=b;b=(B(d-g|0,40)|0)/40|0;v[e+24>>2]=b;v[a+28>>2]=0-b}c=c+40|0;if(r>>>0>c>>>0){continue}break}if((p|0)<=0){break a}while(1){c=x[h>>1];k:{if(c&16){break k}l:{if(c&3){break l}a=w[h+3|0];b=w[h+2|0];if((a|0)==(b|0)){if((a|0)!=4){break l}c=u[h+12>>1];e=v[h+28>>2];a=B(e,40)+h|0;d=u[h+14>>1];g=v[h+24>>2];b=B(g,40)+h|0;if(!ct(c-u[a+12>>1]|0,d-u[a+14>>1]|0,u[b+12>>1]-c|0,u[b+14>>1]-d|0)){break k}c=a;a=(B(g-e|0,40)|0)/40|0;v[c+24>>2]=a;v[b+28>>2]=0-a;c=x[h>>1];break l}if((0-(a<<24>>24)|0)!=b<<24>>24){break k}}u[h>>1]=c|16}h=h+40|0;if(r>>>0>h>>>0){continue}break}}Ca=m+16|0;return v[m+12>>2]}function Tv(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,u=0,x=0;d=B(b,1348)+a|0;j=v[d- -64>>2];p=v[d+56>>2];r=j+B(p,44)|0;m=1;n=1;a:{if((b|0)==1){if((p|0)<1){break a}k=w[v[(v[v[v[a+2748>>2]>>2]+8>>2]<<2)+293504>>2]+12|0];d=j;while(1){n=w[d+12|0];b:{if(n&4){break b}c:{d:{f=v[d+20>>2];c
function Ui(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;f=Ca-16|0;Ca=f;v[f+12>>2]=b;i=-1;g=c-b|0;a:{if((g|0)<1){break a}j=a+72|0;while(1){b:{c:{d:{e:{f:{k=f;g:{h:{i:{j:{k:{l:{m:{n:{e=b;switch(w[w[b|0]+j|0]-5|0){case 9:break i;case 4:case 5:case 16:break j;case 18:break k;case 2:break l;case 1:break m;case 0:break n;case 17:case 19:case 20:case 21:case 22:break h;default:break e}}if((g|0)<2){i=-2;break a}if(!(Ea[v[a+328>>2]](a,b)|0)){break e}b=b+2|0;break g}if((g|0)<3){i=-2;break a}if(!(Ea[v[a+332>>2]](a,b)|0)){break e}b=b+3|0;break g}if((g|0)<4){i=-2;break a}if(!(Ea[v[a+336>>2]](a,b)|0)){break e}b=b+4|0;break g}if(h){break e}e=b+1|0;v[f+12>>2]=e;h=c-e|0;if((h|0)<1){break a}o:{switch(w[w[e|0]+j|0]-5|0){case 17:case 19:b=b+2|0;break c;case 0:if((h|0)<2){i=-2;break a}if(!(Ea[v[a+340>>2]](a,e)|0)){break e}b=b+3|0;break c;case 1:if((h|0)<3){i=-2;break a}if(!(Ea[v[a+344>>2]](a,e)|0)){break e}b=b+4|0;break c;case 2:break o;default:break e}}if((h|0)<4){i=-2;break a}if(!(Ea[v[a+348>>2]](a,e)|0)){break e}b=b+5|0;break c}e=b+1|0;v[f+12>>2]=e;if((c-e|0)<1){break a}while(1){p:{switch(w[w[e|0]+j|0]-9|0){case 5:break i;case 0:case 1:case 12:break p;default:break e}}e=e+1|0;v[f+12>>2]=e;if((c-e|0)>0){continue}break}break a}b=e+1|0;v[f+12>>2]=b;if((c-b|0)<1){break a}g=w[w[b|0]+j|0];if((g&254)==12){break f}while(1){e=b;b=g&255;if(b>>>0>21|!(1<<b&2098688)){break e}b=e+1|0;v[f+12>>2]=b;if((c-b|0)<=0){break a}g=w[w[b|0]+j|0];if((g&254)!=12){continue}break}break f}b=b+1|0}v[k+12>>2]=b;break b}b=e+2|0;v[f+12>>2]=b;h=c-b|0;if((h|0)<1){break a}while(1){l=w[w[b|0]+j|0];if((l|0)!=(g|0)){e=b;k=f;q:{r:{s:{switch(l|0){case 5:if((h|0)<2){i=-2;break a}if(Ea[v[a+352>>2]](a,e)|0){break e}b=e+2|0;break r;case 6:if((h|0)<3){i=-2;break a}if(Ea[v[a+356>>2]](a,e)|0){break e}b=e+3|0;break r;case 7:if((h|0)<4){i=-2;break a}if(Ea[v[a+360>>2]](a,e)|0){break e}b=e+4|0;break r;case 3:b=Ti(a,e+1|0,c,f+12|0);if((b|0)>=1){b=v[f+12>>2];break q}i=b;if(b){break a}e=v[f+12>>2];break e;case 0:case 1:case 2:case 8:break e;default:break s}}b=e+1|0}v[k+12>>2]=b}h=c-b|0;if((h|0)>0){continue}break a}break}e=b+1|0;v[f+12>>2]=e;if((c-e|0)<1){break a}t:{u:{v:{switch(w[w[e|0]+j|0]-9|0){case 2:break t;case 8:break u;case 0:case 1:case 12:break v;default:break e}}b=b+2|0;v[f+12>>2]=b;h=e;g=c-b|0;if((g|0)<1){break a}while(1){w:{x:{y:{z:{A:{e=b;switch(w[w[b|0]+j|0]-5|0){case 6:break t;case 12:break u;case 4:case 5:case 16:break w;case 2:break x;case 1:break y;case 0:break z;case 17:case 19:break A;default:break e}}b=h+2|0;break d}if((g|0)<2){i=-2;break a}if(!(Ea[v[a+340>>2]](a,e)|0)){break e}b=e+2|0;break d}if((g|0)<3){i=-2;break a}if(!(Ea[v[a+344>>2]](a,e)|0)){break e}b=e+3|0;break d}if((g|0)<4){i=-2;break a}if(!(Ea[v[a+348>>2]](a,e)|0)){break e}b=e+4|0;break d}b=e+1|0;v[f+12>>2]=b;h=e;g=c-b|0;if((g|0)>0){continue}break}break a}a=e+1|0;v[f+12>>2]=a;if((c-a|0)<1){break a}b=a;a=w[e+1|0]==62;e=a?e+2|0:b;m=a?3:0;break e}m=1;e=e+1|0}v[d>>2]=e;i=m;break a}v[f+12>>2]=b;h=0;break b}v[f+12>>2]=b;h=1}g=c-b|0;if((g|0)>0){continue}break}}Ca=f+16|0;return i}function to(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{h=v[b+4>>2];if(h>>>0>a>>>0){break a}e=v[b+8>>2];if(e>>>0<a>>>0|e-a>>>0<2){break a}f=v[b+12>>2];c=f-2|0;v[b+12>>2]=c;d=1;if((c|0)<1){break a}b:{c:{d:{e:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break c;case 1:break d;case 0:break e;default:break b}}d=a+2|0;if(d>>>0<h>>>0|d>>>0>e>>>0|e-d>>>0<2){break a}c=f-4|0;v[b+12>>2]=c;if((c|0)<1){break a}c=w[a+3|0]|w[a+2|0]<<8;f:{if(!c){break f}if(nc(a+c|0,b)){break f}c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[d|0]=0;t[d+1|0]=0}f=v[b+4>>2];g=a+4|0;if(f>>>0>g>>>0){break a}e=v[b+8>>2];if(e>>>0<g>>>0|e-g>>>0<2){break a}h=v[b+12>>2]-2|0;v[b+12>>2]=h;d=1;if((h|0)<1){break a}c=w[a+5|0]|w[a+4|0]<<8;if(!c){break b}d=g+2|0;if(d>>>0<f>>>0|d>>>0>e>>>0){break a}c=c<<1;if(c>>>0>e-d>>>0){break a}c=h-c|0;v[b+12>>2]=c;d=0;if((c|0)<1){break b}d=1;c=w[a+5|0]|w[a+4|0]<<8;if(!c){break b}f=0;while(1){d=ro((g+(f<<1)|0)+2|0,b,a);if(!d){break b}f=f+1|0;if((c|0)!=(f|0)){continue}break}break b}d=0;f=a+2|0;g:{h:{if(f>>>0<y[b+4>
function Pn(a,b,c){var d=0,e=0,f=0,g=0;a:{b:{switch(c-1|0){case 0:c=0;c:{d:{e:{d=w[a|0]|w[a+1|0]<<8;switch(((d<<8|d>>>8)&65535)-1|0){case 1:break d;case 0:break e;default:break c}}c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];c=v[v[c+88>>2]+B(v[c+72>>2],20)>>2];d=xb(e,c);if((d|0)!=-1){jf(b,c+(w[a+5|0]|w[a+4|0]<<8)&65535)}c=(d|0)!=-1;break c}d=w[a+3|0]|w[a+2|0]<<8;e=d?d+a|0:280448;d=v[b+100>>2];d=xb(e,v[v[d+88>>2]+B(v[d+72>>2],20)>>2]);if((d|0)==-1|d>>>0>=(w[a+5|0]|w[a+4|0]<<8)>>>0){break c}c=1;a=(d<<1)+a|0;jf(b,w[a+6|0]<<8|w[a+7|0])}return c;case 1:if((w[a+1|0]|w[a|0]<<8)!=1){break a}c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];c=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((c|0)==-1){break a}e=a;a=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];return io(a?e+a|0:280448,b);case 2:if((w[a+1|0]|w[a|0]<<8)!=1){break a}c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];c=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((c|0)==-1){break a}e=a;a=c>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((c<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];a=a?e+a|0:280448;f=w[a+1|0]|w[a|0]<<8;f:{if(!f){break f}c=v[b+100>>2];e=v[(v[c+88>>2]+B(v[c+72>>2],20)|0)+4>>2];c=v[b+120>>2];c=(e&c)>>>cQ(c)|0;g:{if((c|0)!=255){break g}c=255;if(!w[b+143|0]){break g}c=(B(v[b+144>>2],48271)>>>0)%2147483647|0;v[b+144>>2]=c;c=((c>>>0)%(f>>>0)|0)+1|0}c=c-1|0;if(c>>>0>=f>>>0){break f}d=1;a=c>>>0<(w[a+1|0]|w[a|0]<<8)>>>0?(a+(c<<1)|0)+2|0:280448;jf(b,w[a|0]<<8|w[a+1|0])}return d;case 3:if((w[a+1|0]|w[a|0]<<8)!=1){break a}h:{c=w[a+3|0]|w[a+2|0]<<8;e=c?c+a|0:280448;c=v[b+100>>2];f=xb(e,v[v[c+88>>2]+B(v[c+72>>2],20)>>2]);if((f|0)==-1){break h}d=1;c=0;e=a;a=f>>>0<(w[a+5|0]|w[a+4|0]<<8)>>>0?((f<<1)+a|0)+6|0:280448;a=w[a|0]<<8|w[a+1|0];a=a?e+a|0:280448;f=w[a|0];e=w[a+1|0];g=e|f<<8;if(!g){d=0;break h}while(1){f=(f<<8|e)>>>0>c>>>0?(a+(c<<1)|0)+2|0:280448;f=w[f|0]<<8|w[f+1|0];if(ho(f?f+a|0:280448,b)){break h}c=c+1|0;d=g>>>0>c>>>0;if((c|0)==(g|0)){break h}e=w[a+1|0];f=w[a|0];continue}}return d;case 4:i:{j:{k:{c=w[a|0]|w[a+1|0]<<8;switch(((c<<8|c>>>8)&65535)-1|0){case 2:break i;case 1:break j;case 0:break k;default:break a}}return On(b,a)}return Rj(a,b)}return Nn(b,a);case 5:return Mn(a,b);case 6:if((w[a+1|0]|w[a|0]<<8)==1){c=w[a+4|0]|w[a+5|0]<<8|(w[a+6|0]<<16|w[a+7|0]<<24);c=c<<24|c<<8&16711680|(c>>>8&65280|c>>>24);a=Pn(c?c+a|0:280448,b,w[a+3|0]|w[a+2|0]<<8)}else{a=0}return a;case 7:break b;default:break a}}if((w[a+1|0]|w[a|0]<<8)!=1){break a}d=co(a,b)}return d}function vl(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;h=Ca-32|0;Ca=h;a:{b:{if(!a){be();while(1){c:{a=v[164112];if(a){break c}a=_f();if(!a){continue}be();e=v[164112];v[164112]=e?e:a;if(!e){break c}ac(a);continue}break}v[a+68>>2]=v[a+68>>2]+1;if(!a){break a}break b}v[a+68>>2]=v[a+68>>2]+1}i=v[a+76>>2];if(!(w[b|0]?b:0)){b=Yb(515800);b=b?b:515816}d:{if(w[b|0]==47){if(!i){f=wg(0,b);break d}f=wg($a(b,i,Xa(i))?i:0,b);break d}if(w[b|0]==126){if(!v[163728]){break d}e=Yb(515686);if(!e){break d}if(!i){f=wg(e,b+1|0);break d}v[h+4>>2]=0;v[h>>2]=e;e=dc(i,h);f=wg(e,b+1|0);Pa(e);break d}e:{f:{g:{h:{d=Yb(516190);if(d){f=w[d|0];if(f){e=3;c=d;while(1){e=((f&255)==58)+e|0;f=w[c+1|0];c=c+1|0;if(f){continue}break}f=0;e=eb(e,4);if(!e){break d}while(1){k=(f<<2)+e|0;c=Tb(d,58);if(!c){c=Xa(d)+d|0}g=c-d|0;j=Va(g+1|0);v[k>>2]=j;if(!j){break f}l=ve(j,d,g)+g|0,m=0,t[l|0]=m;f=f+1|0;d=w[c|0]?c+1|0:c;if(w[d|0]){continue}break}c=(f<<2)+e|0;break g}e=eb(3,4);if(e){break h}f=0;break d}e=eb(2,4);if(e){break h}break d}c=e}d=Va(31);v[c>>2]=d;if(d){break e}}i:{c=v[e>>2];if(!c){break i}f=1;while(1){Pa(c);c=v[(f<<2)+e>>2];if(!c){break i}f=f+1|0;continue}}Pa(e);f=0;break d}f=0;c=w[516233]|w[516234]<<8|(w[516235]<<16|w[516236]<<24);g=w[516229]|w[516230]<<8|(w[516231]<<16|w[516232]<<24);t[d+23|0]=g;t[d+24|0]=g>>>8;t[d+25|0]=g>>>16;t[d+26|0]=g>>>24;t[d+27|0]=c;t[d+28|0]=c>>>8;t[d+29|0]=c>>>16;t[d+30|0]=c>>>24;c=w[516226]|w[516227]<<8|(w[516228]<<16|w[516229]<<24);g=w[516222]|w[516223]<<8|(w[516224]<<16|w[516225]<<24);t[d+16|0]=g;t[d+17|0]=g>>>8;t[d+18|0]=g>>>16;t[d+19|0]=g>>>24;t[d+20|0]=c;t[d+21|0]=c>>>8;t[d+22|0]=c>>>16;t[d+
function jn(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;p=b+48|0;l=c;q=v[a+64>>2];r=v[a+60>>2];f=Ca-48|0;Ca=f;a:{b:{i=v[a+16>>2];c:{if(v[i>>2]){while(1){k=v[i+200>>2];if(!zw(f,0,i,p,l,d,q,r)){e=280448;break c}c=k;if(c){while(1){d:{h=v[c>>2];if(!lw(h+16|0,f)){break d}n=v[h+40>>2];if((n|0)!=v[f+24>>2]){break d}if(n){o=v[h+36>>2];m=v[f+20>>2];if(v[o>>2]!=v[m>>2]|v[o+4>>2]!=v[m+4>>2]){break d}e=0;s=1;while(1){e:{f:{g:{g=e<<4;j=g+o|0;if(!v[j+8>>2]){j=v[j+12>>2];g=g+m|0;if(!v[g+8>>2]){break g}if((j|0)!=-1){break f}break e}g=g+m|0;if(v[g+8>>2]|v[g+12>>2]!=-1){break f}break e}if((j|0)==-1^v[g+12>>2]==-1){break e}}e=e+1|0;s=n>>>0>e>>>0;if((e|0)==(n|0)){break e}g=e<<4;j=g+o|0;g=g+m|0;if(v[j>>2]!=v[g>>2]){break e}if(v[j+4>>2]==v[g+4>>2]){continue}}break}if(s){break d}}if((w[h+44|0]|w[h+45|0]<<8|(w[h+46|0]<<16|w[h+47|0]<<24))!=(w[f+28|0]|w[f+29|0]<<8|(w[f+30|0]<<16|w[f+31|0]<<24))|(w[h+48|0]|w[h+49|0]<<8|(w[h+50|0]<<16|w[h+51|0]<<24))!=(w[f+32|0]|w[f+33|0]<<8|(w[f+34|0]<<16|w[f+35|0]<<24))|v[h+52>>2]!=v[f+36>>2]){break d}e=v[c>>2];if(!e){e=0;break c}c=v[e>>2];if(!c){break c}if((c|0)<=0){break b}v[e>>2]=c+1;break c}c=v[c+4>>2];if(c){continue}break}}e=yw(i,p,l,d,q,r);c=eb(1,8);if(!c){break c}v[c+4>>2]=k;v[c>>2]=e;if((k|0)==v[i+200>>2]){v[i+200>>2]=c;if(!e){e=0;break c}c=v[e>>2];if(!c){break c}if((c|0)<=0){break b}v[e>>2]=c+1;break c}pn(e);Pa(c);if(v[i>>2]){continue}break}}e=yw(i,p,l,d,q,r)}Ca=f+48|0;c=e;break a}O(279868,279893,262,279908);L()}h:{i:{if(!v[b+76>>2]){break i}j:{k:{if(v[b+4>>2]){if(v[b+44>>2]==1){if(!v[e>>2]){break h}if(v[e+12>>2]==v[a+16>>2]){if(lw(e+16|0,b+48|0)){k=v[e+52>>2];if((k|0)!=568){break k}if(v[a+88>>2]){break j}while(1){if(!v[a+84>>2]){break h}if(!v[a+88>>2]){v[a+88>>2]=1;break j}if(!v[a+88>>2]){continue}break}break j}O(279658,279516,411,279588);L()}O(279620,279516,410,279588);L()}O(279727,279838,356,279853);L()}O(279555,279516,403,279588);L()}if((k|0)!=569){break h}l:{if(v[a+92>>2]){break l}while(1){if(!v[a+84>>2]){break h}if(!v[a+92>>2]){v[a+92>>2]=1;break l}if(!v[a+92>>2]){continue}break}}if(!gx(e,a,b,l,d)){break h}break i}if(!Bw(e,a,b,l,d)){break h}}if(v[b+44>>2]!=1){break h}v[b+44>>2]=2}pn(c)}function kN(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=Ca-48|0;Ca=e;a:{b:{if(!Wa(b,298564)){f=6;if(d){break b}d=v[c>>2];b=0;c=291660;while(1){if(!((d|0)!=v[c+8>>2]|v[c+16>>2]!=10)){c=b;break a}c=b+1|0;g=v[(c<<2)+293760>>2];if(v[g+16>>2]==10?(d|0)==v[g+8>>2]:0){break a}c=b+2|0;g=v[(c<<2)+293760>>2];if(v[g+16>>2]==10?(d|0)==v[g+8>>2]:0){break a}b=b+3|0;c=v[(b<<2)+293760>>2];if((b|0)!=87){continue}break}break b}c:{d:{if(!Wa(b,298580)){f=6;if(d){break b}v[a+16>>2]=v[c>>2];break d}if(!Wa(b,298595)){f=6;if(d){break b}b=v[c>>2];if(!b){f=35;break b}d=v[b+116>>2];v[e+16>>2]=d;if(!d){f=yj(b,e+16|0,a);if(f){break b}d=v[e+16>>2];v[b+116>>2]=d;v[b+120>>2]=598}v[d+20>>2]=v[c+4>>2];break d}e:{f:{if(!Wa(b,298613)){if(d){b=jc(c,e+12|0,10);d=v[e+12>>2];if(w[d|0]!=44|(c|0)==(d|0)){break c}d=d+1|0;l=e,m=jc(d,e+12|0,10),v[l+20>>2]=m;c=v[e+12>>2];if(w[c|0]!=44){break c}if((c|0)!=(d|0)){break f}break c}b=v[c>>2];break e}f=12;if(Wa(b,298634)){break b}if(d){f=0;if(!jc(c,0,10)){t[a+20|0]=0;break b}t[a+20|0]=1;break b}t[a+20|0]=w[c|0];break d}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+24>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break c}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+28>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break c}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+32>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break c}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+36>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break c}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+40>>2]=m;c=v[e+12>>2];if(w[c|0]!=44|(c|0)==(d|0)){break c}d=c+1|0;l=e,m=jc(d,e+12|0,10),v[l+44>>2]=m;f=v[e+12>>2];if((w[f|0]|32)!=32){break c}c=e+16|0;if((d|0)!=(f|0)){break e}f=6;break b}f=6;if((b|0)<0){break b}d=v[c+8>>2];if((d|0)<0){break b}g=v[c+16>>2];if((g|0)<0){break b}h=v[c+24>>2];if((h|0)<0){break b}i=v[c+4>>2];if((i|0)<0){break b}j=v[c+12>>2];if((j|0)<0){break b}k=v[c+20>>2];if((k|0)<0){break b}c=v[c+28>>2];if((c|0)<0|(b|0)>(d|0)|((d|0)>(g|
function Nu(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;k=Ca-16|0;Ca=k;a:{b:{f=Qu(a,b,k+12|0);if(f){if(!c){break b}h=f;d=v[k+12>>2];e=Ca-16|0;Ca=e;c:{d:{e:{f:{if(c){g:{h:{f=as(3366);i:{if((f|0)==-1){break i}c=as(c);if((c|0)==-1){break i}if(w[f+524384|0]<208){break h}}v[164114]=28;i=-1;break g}i=f|c<<16}if((i|0)==-1){break f}hb(a,6,3392,0);v[e+12>>2]=d;v[e+8>>2]=d-1;c=0;j=Va(d);if(!j){break d}v[e>>2]=j;v[e+4>>2]=h;f=d;g=d;c=j;j:{while(1){k:{if(f){if((al(i,e+4|0,e+12|0,e,e+8|0)|0)==-1){break k}if(l){break j}l=0;f=v[e+12>>2];continue}l=1;if((al(i,0,0,e,e+8|0)|0)!=-1){break j}}if(v[164114]==1){j=v[e>>2];g=d+g|0;f=gb(c,g);if(!f){break e}v[e+8>>2]=d+v[e+8>>2];v[e>>2]=f+(j-c|0);c=f;f=v[e+12>>2];continue}break}hb(a,2,3447,0);break e}t[((v[e+8>>2]^-1)+g|0)+c|0]=0;break d}O(3372,1319,1172,3381);L()}c=0;hb(a,1,3416,0);break c}Pa(c);c=0}hb(a,6,3467,0)}Ca=e+16|0;f=c;Pa(h);if(c){break b}}g=0;break a}l:{g=Mm(a);if(g){av(g,f);d=v[g+8>>2];m:{if((d|0)<1){break m}i=d&7;h=v[g+20>>2];c=0;if(d-1>>>0>=7){j=d&-8;while(1){v[(h+B(c,56)|0)+16>>2]=c;d=c|1;v[(h+B(d,56)|0)+16>>2]=d;d=c|2;v[(h+B(d,56)|0)+16>>2]=d;d=c|3;v[(h+B(d,56)|0)+16>>2]=d;d=c|4;v[(h+B(d,56)|0)+16>>2]=d;d=c|5;v[(h+B(d,56)|0)+16>>2]=d;d=c|6;v[(h+B(d,56)|0)+16>>2]=d;d=c|7;v[(h+B(d,56)|0)+16>>2]=d;c=c+8|0;j=j-8|0;if(j){continue}break}}if(!i){break m}while(1){v[(h+B(c,56)|0)+16>>2]=c;c=c+1|0;i=i-1|0;if(i){continue}break}}if(v[g+32>>2]){break l}Ff(g)}Pa(f);g=0;break a}Rm(g);Pa(f);m=g,n=ib(b),v[m+80>>2]=n;c=v[g>>2];v[k+8>>2]=v[g+8>>2];v[k+4>>2]=c;v[k>>2]=b;hb(a,4,1872,k)}Ca=k+16|0;return g}function Kv(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;h=Ca+-64|0;Ca=h;g=v[a>>2];a:{if((g|0)<1){break a}e=v[a+24>>2];c=B(b,204);k=v[a+16>>2];d=v[a+8>>2];l=d+B(g,40)|0;b=0;a=d;while(1){b=(v[a+16>>2]>>>4&1)+b|0;a=a+40|0;if(l>>>0>a>>>0){continue}break}if(!b){break a}m=v[(e+c|0)+200>>2];b:{if(b>>>0<=16){e=h;break b}e=Ua(k,4,0,b,0,h);if(v[h>>2]){break a}}c:{if((g|0)<=0){break c}c=d;while(1){if(w[c+16|0]&16){a=(f<<2)+e|0;d:{if((f|0)<1){b=a;break d}i=v[c+28>>2];while(1){b=a-4|0;j=v[b>>2];if((i|0)>=v[j+28>>2]){b=a;break d}v[a>>2]=j;a=b;if(e>>>0<a>>>0){continue}break}}v[b>>2]=c;f=f+1|0}c=c+40|0;if(l>>>0>c>>>0){continue}break}if((g|0)<1){break c}j=((f<<2)+e|0)-4|0;while(1){b=v[d+16>>2];e:{if(b&16){break e}a=v[d+12>>2];if(a&2){c=w[d+20|0];if(!(b&64|a&4)|((c|0)==4|(c|0)!=w[d+21|0])){break e}v[d+12>>2]=a&-3}n=d;f:{g:{if(f){b=v[d+28>>2];a=0;h:{while(1){if((b|0)<v[v[(a<<2)+e>>2]+28>>2]){break h}a=a+1|0;if((f|0)!=(a|0)){continue}break}a=f}if(a){break g}}a=v[e>>2];c=v[a+36>>2]+Qa(v[d+28>>2]-v[a+28>>2]|0,m)|0;break f}g=v[((a<<2)+e|0)-4>>2];b=f;while(1){a=b;if(a){b=a-1|0;if(v[v[(b<<2)+e>>2]+28>>2]>=v[d+28>>2]){continue}}break}if((a|0)==(f|0)){a=v[j>>2];c=v[a+36>>2]+Qa(v[d+28>>2]-v[a+28>>2]|0,m)|0;break f}b=v[d+28>>2];i=v[g+28>>2];c=v[g+36>>2];if((b|0)==(i|0)){break f}a=v[(a<<2)+e>>2];c=v[a+28>>2];if((c|0)==(b|0)){c=v[a+36>>2];break f}o=v[a+36>>2];a=v[g+36>>2];c=fb(b-i|0,o-a|0,c-i|0)+a|0}v[n+36>>2]=c;v[d+16>>2]=v[d+16>>2]|32}d=d+40|0;if(l>>>0>d>>>0){continue}break}}if((e|0)==(h|0)){break a}if(e){Ea[v[k+8>>2]](k,e)}}Ca=h- -64|0}function KP(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=C(0),l=0,m=0,n=0;h=Gn(b+44|0);a:{if(!c){break a}b=1;while(1){n=Ca-128|0;Ca=n;m=v[d>>2];j=v[h>>2];b:{if(m>>>0>=j>>>0){i=0;if(j){break b}i=v[h+8>>2];break b}i=v[h+12>>2];j=v[(i?i:280448)+12>>2];i=v[h+4>>2]-1|0;i=i>>>0<m>>>0?i:m;i=(i|0)<0?280448:j+(i<<2)|0;j=w[i|0]<<8|w[i+1|0];i=j;if(!v[a+60>>2]){break b}c:{i=v[h+16>>2];i=i?i:280448;l=v[i+16>>2];if(l){k=C(C(H(C(zx(l>>>0<20?280448:v[i+12>>2],m,a)+C(.5))))+C(j>>>0));if(!(k<C(4294967296)&k>=C(0))){break c}i=~~k>>>0;break b}j=Uh(v[a+16>>2]+96|0);if(m>>>0>=y[j+16>>2]){break c}d:{i=v[v[j>>2]>>2];i=i?i:280448;i=y[i+16>>2]<20?280448:v[i+12>>2];if(v[a+60>>2]==(w[i+4|0]<<8|w[i+5|0])){i=n;v[i+48>>2]=2139095039;v[i+52>>2]=-8388609;v[i+56>>2]=-8388609;v[i+16>>2]=2139095039;v[i+20>>2]=-8388609;v[i+24>>2]=-8388609;v[i+44>>2]=2139095039;v[i+40>>2]=i- -64;l=v[i+44>>2];v[i+8>>2]=v[i+40>>2];v[i+12>>2]=l;v[i+36>>2]=0;v[i+32>>2]=a;l=v[i+36>>2];v[i>>2]=v
function kp(a,b,c,d,e,f){var g=0,h=0,i=0,j=0,k=0;a:{if((b|0)!=1196445523){g=280448;if((b|0)!=1196643650){break a}a=v[Ic(a+136|0)>>2];a=a?a:280448;g=y[a+16>>2]<10?280448:v[a+12>>2];break a}a=v[ad(a+140|0)>>2];a=a?a:280448;g=y[a+16>>2]<10?280448:v[a+12>>2]}a=w[g+5|0]|w[g+4|0]<<8;a=a?g+a|0:280448;b=(w[a+1|0]|w[a|0]<<8)>>>0>c>>>0?(a+B(c,6)|0)+2|0:280448;b=w[b+4|0]<<8|w[b+5|0];i=b?a+b|0:280448;b:{c:{if(!d){break c}if(f){while(1){a=w[i+3|0]|w[i+2|0]<<8;if(a){h=v[(j<<2)+e>>2];b=a-1|0;a=0;while(1){c=a+b>>>1|0;g=B(c,6)+i|0;g=w[g+4|0]|w[g+5|0]<<8|(w[g+6|0]<<16|w[g+7|0]<<24);g=g<<24|g<<8&16711680|(g>>>8&65280|g>>>24);d:{if(g>>>0>h>>>0){b=c-1|0;break d}if((g|0)==(h|0)){break b}a=c+1|0}if((a|0)<=(b|0)){continue}break}}v[f>>2]=65535;j=j+1|0;if((j|0)!=(d|0)){continue}break}break c}a=w[i+3|0]|w[i+2|0]<<8;if(!a){break c}g=a-1|0;while(1){k=v[(j<<2)+e>>2];a=0;b=g;while(1){c=a+b>>>1|0;h=B(c,6)+i|0;h=w[h+4|0]|w[h+5|0]<<8|(w[h+6|0]<<16|w[h+7|0]<<24);h=h<<24|h<<8&16711680|(h>>>8&65280|h>>>24);e:{if(h>>>0<=k>>>0){if((h|0)==(k|0)){break b}a=c+1|0;break e}b=c-1|0}if((a|0)<=(b|0)){continue}break}j=j+1|0;if((j|0)!=(d|0)){continue}break}}a=w[i+3|0]|w[i+2|0]<<8;if(a){b=a-1|0;a=0;while(1){c=a+b>>>1|0;d=B(c,6)+i|0;d=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24);f:{if(d>>>0>=1684434037){b=c-1|0;break f}if((d|0)==1684434036){break b}a=c+1|0}if((a|0)<=(b|0)){continue}break}}if(!f){return}v[f>>2]=65535;return}if(f){v[f>>2]=c}}function Ph(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=1;a:{if(!w[a+12|0]){break a}i=0;if((c|0)==-1|(b|0)==-1|b>>>0>c>>>0){break a}v[a+16>>2]=-1;h=ec(a,b);j=c>>>9|0;k=b>>>9|0;b:{if((j|0)==(k|0)){if(!h){break a}g=-1;e=-1;d=b&63;a=d&31;if((d&63)>>>0>=32){d=-1<<a;a=0}else{d=(1<<a)-1&-1>>>32-a|-1<<a;a=-1<<a}f=b>>>6&7;b=h+(f<<3)|0;i=f;f=c>>>6&7;c:{if((i|0)==(f|0)){g=a;e=d;break c}d=d|v[b+4>>2];v[b>>2]=a|v[b>>2];v[b+4>>2]=d;a=b+8|0;b=h+(f<<3)|0;Ra(a,255,b-a|0)}f=g;a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<<c;g=0}else{a=(1<<c)-1&2>>>32-c;g=2<<c}c=f+g|0;a=a+e|0;a=c>>>0<g>>>0?a+1|0:a;break b}if(!h){break a}g=-1;e=-1;d=b&63;f=d&31;if((d&63)>>>0>=32){d=-1<<f;f=0}else{d=(1<<f)-1&-1>>>32-f|-1<<f;f=-1<<f}l=b>>>6&7;b=h+(l<<3)|0;d:{if((l|0)==7){g=f;e=d;break d}d=d|v[b+4>>2];v[b>>2]=f|v[b>>2];v[b+4>>2]=d;d=b+8|0;b=h+56|0;Ra(d,255,b-d|0)}e=e|v[b+4>>2];v[b>>2]=g|v[b>>2];v[b+4>>2]=e;e=k+1|0;if(j>>>0>e>>>0){while(1){b=ec(a,e<<9);if(!b){break a}v[b>>2]=-1;v[b+4>>2]=-1;v[b+56>>2]=-1;v[b+60>>2]=-1;v[b+48>>2]=-1;v[b+52>>2]=-1;v[b+40>>2]=-1;v[b+44>>2]=-1;v[b+32>>2]=-1;v[b+36>>2]=-1;v[b+24>>2]=-1;v[b+28>>2]=-1;v[b+16>>2]=-1;v[b+20>>2]=-1;v[b+8>>2]=-1;v[b+12>>2]=-1;e=e+1|0;if((j|0)!=(e|0)){continue}break}}b=ec(a,c);if(!b){break a}a=c>>>6&7;if(a){v[b>>2]=-1;v[b+4>>2]=-1;a=a<<3;Ra(b+8|0,255,a-8|0);b=a+b|0}a=c&63;c=a&31;if((a&63)>>>0>=32){a=2<<c;e=0}else{a=(1<<c)-1&2>>>32-c;e=2<<c}c=e-1|0;a=a-(e>>>0<1)|0}a=a|v[b+4>>2];v[b>>2]=c|v[b>>2];v[b+4>>2]=a;i=1}return i}function gi(a,b,c,d){var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=Ca-16|0;Ca=i;f=6;a:{if(!a){break a}j=v[a+12>>2];if(j>>>0<=b>>>0){break a}l=v[a>>2];b:{c:{d:{e:{f:{g=v[a+28>>2];if(!g){f=Ya(l,(v[a+8>>2]+v[a+4>>2]|0)+B(w[a+16|0],b)|0);if(f){break a}f=Vb(v[a>>2],i+8|0,w[a+16|0]);if(f){break a}g:{f=w[a+16|0];if(f){g=f&3;if(f-1>>>0<3){h=0}else{k=f&252;while(1){h=e;e=h+4|0;k=k-4|0;if(k){continue}break}h=w[(i+8|0)+(h|3)|0]|(w[(i+8|0)+(h|2)|0]|(w[h+(i+8|0)|0]<<16|w[(i+8|0)+(h|1)|0]<<8))<<8}if(g){while(1){h=w[(i+8|0)+e|0]|h<<8;e=e+1|0;g=g-1|0;if(g){continue}break}}if(h){break g}}h=0;f=0;break e}while(1){f=Vb(v[a>>2],i+12|0,f&255);h:{if(f){break h}j=w[a+16|0];if(!j){break h}k=j&3;g=0;e=0;if(j-1>>>0>=3){e=j&252;while(1){j=g;g=g+4|0;e=e-4|0;if(e){continue}break}e=w[(i+12|0)+(j|3)|0]|(w[(i+12|0)+(j|2)|0]|(w[j+(i+12|0)|0]<<16|w[(i+12|0)+(j|1)|0]<<8))<<8}if(k){while(1){e=w[(i+12|0)+g|0]|e<<8;g=g+1|0;k=k-1|0;if(k){continue}break}}if(e){break f}}b=b+1|0;if(b>>>0>=y[a+12>>2]){break e}f=w[a+16|0];continue}}f=0;h=v[g+(b<<2)>>2];if(!h){break e}while(1){b=b+1|0;e=v[g+(b<<2)>>2];if(e){break f}if((b|0)!=(j|0)){continue}break}break e}f=0;b=v[l+4>>2];g=b+1|0;if(g>>>0>=e>>>0){break d}k=v[a+20>>2
function ot(a,b,c,d){var e=0,f=0,g=0,h=0;g=-1;a:{if((c-b|0)<2){break a}b:{if(w[b+1|0]|w[b|0]!=45){break b}e=b+2|0;f=c-e|0;if((f|0)<2){break a}a=a+72|0;while(1){c:{d:{e:{f:{g:{h:{i:{b=e;e=w[b+1|0];switch(e-216|0){case 39:break i;case 4:case 5:case 6:case 7:break b;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:case 36:case 37:case 38:break e;case 0:case 1:case 2:case 3:break g;default:break h}}if(w[b|0]<=253){break e}break b}if(e){break e}j:{switch(w[a+w[b|0]|0]){case 6:break j;case 0:case 1:case 8:break b;case 27:break f;case 7:break g;default:break e}}if((f|0)<3){return-2}e=b+3|0;break d}if((f|0)<4){return-2}e=b+4|0;break d}e=b+2|0;if((c-e|0)<2){break a}if(w[b+3|0]|w[e|0]!=45){break d}a=b+4|0;if((c-a|0)<2){break a}if(!w[b+5|0]){break c}b=a;break b}e=b+2|0}f=c-e|0;if((f|0)>1){continue}break a}break}c=a;a=w[b+4|0]==62;b=a?b+6|0:c;h=a?13:0}v[d>>2]=b;g=h}return g}function Dn(a,b,c){var d=0,e=0,f=0,g=0;f=Ca-16|0;Ca=f;a:{if(y[b+16>>2]<=c>>>0){v[a+16>>2]=280448;v[a+8>>2]=0;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;b=x[140224];b=b<<8|b>>>8;if(!(b&65535)){v[a+20>>2]=0;break a}if(b<<16>>16>=1){v[a+20>>2]=1;break a}v[a+20>>2]=2;break a}d=v[b+20>>2];d=d?d:280448;b:{if(w[b+12|0]){d=v[d+12>>2]+(c<<1)|0;e=w[d+1|0]<<1|w[d|0]<<9;d=w[d+3|0]<<1|w[d+2|0]<<9;break b}d=v[d+12>>2]+(c<<2)|0;e=w[d|0]|w[d+1|0]<<8|(w[d+2|0]<<16|w[d+3|0]<<24);e=e<<24|e<<8&16711680|(e>>>8&65280|e>>>24);d=w[d+4|0]|w[d+5|0]<<8|(w[d+6|0]<<16|w[d+7|0]<<24);d=d<<24|d<<8&16711680|(d>>>8&65280|d>>>24)}c:{if(d>>>0>=e>>>0){b=v[b+24>>2];b=b?b:280448;if(d>>>0<=y[b+16>>2]){break c}}v[a+16>>2]=280448;v[a+8>>2]=0;v[a+12>>2]=-1;v[a>>2]=0;v[a+4>>2]=0;b=x[140224];b=b<<8|b>>>8;if(!(b&65535)){v[a+20>>2]=0;break a}if(b<<16>>16>=1){v[a+20>>2]=1;break a}v[a+20>>2]=2;break a}g=v[b+12>>2]+e|0;d=d-e|0;b=d>>>0<10?280448:g;e=w[b|0]|w[b+1|0]<<8;e=e<<8|e>>>8;v[a+20>>2]=e&65535?e<<16>>16>0?1:2:0;v[a+16>>2]=b;v[a+12>>2]=c;v[a+8>>2]=0;v[a+4>>2]=d;v[a>>2]=g}Ca=f+16|0}function wK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0,i=0;a:{if(!a){if(v[b+20>>2]){while(1){c=v[b+24>>2];e=B(h,24);a=v[c+e>>2];b:{if(!a){break b}f=v[a-8>>2];if(!f){break a}d=a-4|0;g=v[d>>2];if(!g){break a}i=d;d=g-1|0;v[i>>2]=d;if(d){break b}g=a-32|0;c=v[g>>2];if(c){d=v[a-24>>2];if(d){v[d+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=d;v[c+32>>2]=v[c+32>>2]-1;v[c+20>>2]=v[c+20>>2]-f}c=v[a-28>>2];Ea[v[c+16>>2]](a+(v[c+24>>2]+7&-8)|0,a);Pa(g);c=v[b+24>>2]}a=v[(c+e|0)+4>>2];c:{if(!a){break c}e=v[a-8>>2];if(!e){break a}c=a-4|0;d=v[c>>2];if(!d){break a}i=c;c=d-1|0;v[i>>2]=c;if(c){break c}f=a-32|0;c=v[f>>2];if(c){d=v[a-24>>2];if(d){v[d+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=d;v[c+32>>2]=v[c+32>>2]-1;v[c+20>>2]=v[c+20>>2]-e}c=v[a-28>>2];Ea[v[c+16>>2]](a+(v[c+24>>2]+7&-8)|0,a);Pa(f)}h=h+1|0;if(h>>>0<y[b+20>>2]){continue}break}}Pa(v[b+24>>2]);return 1}c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+24>>2]=v[b+24>>2];c=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;return 1}O(364907,364851,432,364955);L()}function ld(a,b,c){var d=0,e=0,f=0,g=0;e=v[a+16>>2];f=v[e+24>>2]+39&-8;g=(Ea[v[e>>2]](b,-2128831035)>>>0)%y[a>>2]|0;a:{b:{d=v[v[a+4>>2]+(g<<2)>>2];if(d){while(1){if(Ea[v[e+4>>2]](b,d+f|0)|0){if(!v[d+24>>2]){break b}f=v[d+20>>2];c:{d:{if(f){c=v[d+16>>2];if(!c){break c}v[c+20>>2]=f;v[v[d+20>>2]>>2]=c;break d}v[d+28>>2]=v[d+28>>2]+1}v[v[a+12>>2]>>2]=d;v[d+20>>2]=v[a+12>>2];v[a+12>>2]=d+16;v[d+16>>2]=0}v[a+24>>2]=v[a+24>>2]+1;Ea[v[e+8>>2]](0,b)|0;v[d+28>>2]=v[d+28>>2]+1;return d+32|0}d=v[d+8>>2];if(d){continue}break}}v[a+28>>2]=v[a+28>>2]+1;d=Va(f+v[e+20>>2]|0);if(!d){Ea[v[e+8>>2]](0,b)|0;return 0}v[d+4>>2]=e;v[d>>2]=a;f=d+f|0;if(!(Ea[v[e+8>>2]](f,b)|0)){Pa(d);return 0}b=f;f=d+32|0;c=Ea[v[e+12>>2]](b,f,c)|0;v[d+24>>2]=c;if(!c){break a}b=v[a+4>>2]+(g<<2)|0;e=v[b>>2];if(e){v[e+12>>2]=d+8}v[d+12>>2]=b;v[d+8>>2]=v[b>>2];v[b>>2]=d;v[v[a+12>>2]>>2]=d;v[d+20>>2]=v[a+12>>2];v[a+12>>2]=d+16;v[d+28>>2]=2;v[d+16>>2]=0;v[a+20>>2]=c+v[a+20>>2];v[a+32>>2]=v[a+32>>2]+
function fM(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;i=Ca-16|0;Ca=i;e=6;a:{if((b|0)<0|v[a+16>>2]<=(b|0)){break a}f=v[a+8>>2];e=v[a+4>>2]+d|0;b:{if(f>>>0>=e>>>0){break b}g=v[a>>2];j=c-g|0;m=(j|0)>-1&f>>>0>j>>>0;while(1){f=((f>>>2|0)+f|0)+1024&-1024;if(e>>>0>f>>>0){continue}break}k=v[a+32>>2];h=wb(k,f,i+12|0);v[a>>2]=h;e=v[i+12>>2];if(e){v[a>>2]=g;break a}if(g){Ta(h,g,v[a+8>>2]);h=v[a+16>>2];if((h|0)>=1){e=v[a+24>>2];h=e+(h<<2)|0;n=v[a>>2]-g|0;while(1){l=v[e>>2];if(l){v[e>>2]=n+l}e=e+4|0;if(h>>>0>e>>>0){continue}break}}if(g){Ea[v[k+8>>2]](k,g)}}v[a+8>>2]=f;e=m?j:-1;if((e|0)<0){break b}c=e+v[a>>2]|0}e=0;b=b<<2;f=v[a>>2];g=v[a+4>>2];v[b+v[a+24>>2]>>2]=f?f+g|0:0;v[b+v[a+28>>2]>>2]=d;Ta(g+v[a>>2]|0,c,d);v[a+4>>2]=v[a+4>>2]+d}Ca=i+16|0;return e|0}function Ze(){var a=0,b=0,c=0,d=0,e=0,f=0,g=0;a:{if(!w[656320]){b=W(0)|0;f=v[163739]-4|0;v[f>>2]=v[164117]|(v[163740]<<8|v[163738]<<16);v[163738]=63;v[163739]=656068;d=v[163738];b:{if(!d){v[v[163739]>>2]=b;break b}v[163740]=(d|0)==31?3:(d|0)==7?3:1;v[164117]=0;g=v[163739];if((d|0)>=1){while(1){b=eQ(b,e,1284865837,1481765933)+1|0;c=Da;c=b>>>0<1?c+1|0:c;e=c;v[g+(a<<2)>>2]=c;a=a+1|0;if((d|0)!=(a|0)){continue}break}}v[g>>2]=v[g>>2]|1}v[v[163739]-4>>2]=v[164117]|(v[163740]<<8|v[163738]<<16);t[656320]=1;break a}f=us(656064)}b=v[163739];c=v[163738];c:{if(!c){a=B(v[b>>2],1103515245)+12345&2147483647;v[b>>2]=a;break c}e=v[163740];a=b+(e<<2)|0;d=v[164117];b=v[a>>2]+v[b+(d<<2)>>2]|0;v[a>>2]=b;a=d+1|0;v[164117]=(a|0)==(c|0)?0:a;e=e+1|0;v[163740]=(c|0)==(e|0)?0:e;a=b>>>1|0}us(f);return a}function qD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;g=Ca-16|0;Ca=g;f=v[a+712>>2];v[g+12>>2]=0;a:{if(!f){break a}e=v[f+3132>>2];if(!e){e=wb(v[a+100>>2],2,g+12|0);c=v[g+12>>2];if(c){break a}u[e>>1]=0;a=v[f+1500>>2];b:{if((a|0)==65535){break b}c:{if(a>>>0>=391){a=a-391|0;if(a>>>0>=y[f+1356>>2]){break b}a=v[v[f+1360>>2]+(a<<2)>>2];break c}c=v[f+3084>>2];if(!c){break b}a=Ea[v[c+20>>2]](a)|0}if(!a){break b}a=rb(a,10296);if(!a){break b}c=a+7|0;a=rb(c,10304);if(!a|(a|0)==(c|0)){break b}while(1){d:{d=w[c|0];e:{if((d-48&255)>>>0<=9){d=x[e>>1];if(d>>>0>6551){break d}d=B(d,10);u[e>>1]=d;u[e>>1]=(d+t[c|0]|0)-48;break e}d=d-10|0;if(d>>>0>22|!(1<<d&4194313)){break d}}c=c+1|0;if((a|0)!=(c|0)){continue}break b}break}u[e>>1]=0}v[f+3132>>2]=e;c=v[g+12>>2]}u[b>>1]=x[e>>1]}Ca=g+16|0;return c|0}function Rc(a){var b=0,c=0,d=0,e=0,f=0;c=v[a+36>>2];if(c){b=v[a>>2];a:{if(y[a+40>>2]<=c+b>>>0){break a}while(1){b=b+1|0;v[a>>2]=b;b:{d=v[a+8>>2];e=v[a+4>>2];b=v[v[e+100>>2]+88>>2]+B(b,20)|0;c=x[b+12>>1];if(d&c&14){break b}if(c&8){if(!Of(e,v[b>>2],c,d)){break b}}c=0;d=x[b+16>>1];if(!(w[b+12|0]&16|(d&96)!=32|!((d&543)==513?w[a+12|0]:1))){c=w[a+13|0]?2:((d&287)!=257)<<1}c:{d:{e:{if(!(v[a+16>>2]&v[b+4>>2])){break e}d=v[a+32>>2];e=w[a+20|0];if((e|0)!=w[b+15|0]?e:0){break e}e=v[a+24>>2];if(!e){break d}if(Ea[e|0](v[b>>2],d,v[a+28>>2])|0){d=v[a+32>>2];break c}if(c){break b}return 0}if(c){break b}return 0}if(c){break b}}v[a+36>>2]=v[a+36>>2]-1;f=1;if(!d){break a}v[a+32>>2]=d+2;return 1}b=v[a>>2];if(y[a+40>>2]>b+v[a+36>>2]>>>0){continue}break}}return f}O(229841,229855,510,229882);L()}function KI(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=v[b>>2];h=f>>>0<c>>>0;g=v[d>>2];a:{b:{if(c>>>0<=f>>>0|g>>>0>=e>>>0){break b}i=a+72|0;while(1){c:{d:{e:{f:{g:{h=w[f|0];switch(w[h+i|0]-5|0){case 2:break e;case 1:break f;case 0:break g;default:break d}}a=1;if((c-f|0)<2){break a}u[g>>1]=w[f+1|0]&63|(h&31)<<6;g=g+2|0;f=f+2|0;break c}a=1;if((c-f|0)<3){break a}u[g>>1]=w[f+2|0]&63|((w[f+1|0]&63)<<6|h<<12);g=g+2|0;f=f+3|0;break c}a=2;if((e-g|0)<4){break a}a=1;if((c-f|0)<4){break a}a=w[f+3|0]&63|((w[f+1|0]&63)<<12|(h&7)<<18|(w[f+2|0]&63)<<6);u[g+2>>1]=a&1023|56320;u[g>>1]=a+16711680>>>10|55296;g=g+4|0;f=f+4|0;break c}u[g>>1]=h<<24>>24;g=g+2|0;f=f+1|0}h=f>>>0<c>>>0;if(c>>>0<=f>>>0){break b}if(e>>>0>g>>>0){continue}break}}a=h?2:0}v[b>>2]=f;v[d>>2]=g;return a|0}function qr(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;h=Ea[v[a+624>>2]](a)|0;f=v[b>>2];a:{if(!f){break a}g=a+36|0;e=1;while(1){b=v[a+28>>2];if((b|0)<=1){if(w[a+593|0]){v[a+12>>2
function Io(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=Ca-16|0;Ca=f;h=v[b+4>>2];a:{if(h>>>0>a>>>0){break a}g=v[b+8>>2];if(g>>>0<a>>>0|g-a>>>0<4){break a}i=v[b+12>>2];e=i-4|0;v[b+12>>2]=e;if((e|0)<1){break a}d=t[a|0];e=w[a+3|0]|(w[a+1|0]<<16|d<<24|w[a+2|0]<<8);j=(e|0)!=0&(d|0)<0;d=!j;if(!e|j){break a}c=c+e|0;b:{if(c>>>0<h>>>0|c>>>0>g>>>0|g-c>>>0<=7){break b}d=i-12|0;v[b+12>>2]=d;if((w[c+1|0]|w[c|0]<<8)!=1|(d|0)<1){break b}if(!Uj(c+2|0,b,c)){break b}v[f+12>>2]=c;d=1;if(Tj(c+6|0,b,f+12|0)){break a}}d=0;c=v[b+24>>2];if(c>>>0>31){break a}v[b+24>>2]=c+1;if(!w[b+20|0]){break a}t[a|0]=0;t[a+1|0]=0;t[a+2|0]=0;t[a+3|0]=0;d=1}Ca=f+16|0;return d}function oP(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;d=v[a+12>>2];b=c;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;b=v[d+72>>2];g=Ea[v[b+148>>2]](d,v[d+76>>2],c,v[b+12>>2])|0;if(g){a:{b:{b=v[a+12>>2];if(b){b=v[b+24>>2];a=v[a+24>>2];if((b|0)!=(a|0)){break b}a=c+8|0;b=v[c+8>>2];break a}a=c+8|0;b=v[c+8>>2];break a}d=a;e=a>>31;a=v[c>>2];f=b;b=b>>31;h=c,i=fQ(eQ(d,e,a,a>>31),Da,f,b),v[h>>2]=i;a=v[c+4>>2];h=c,i=fQ(eQ(d,e,a,a>>31),Da,f,b),v[h+4>>2]=i;a=c+8|0;c=v[c+8>>2];b=fQ(eQ(d,e,c,c>>31),Da,f,b)}v[a>>2]=b}return g|0}function nP(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;d=v[a+12>>2];b=c;v[b+40>>2]=0;v[b+44>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=0;v[b+4>>2]=0;b=v[d+72>>2];g=Ea[v[b+152>>2]](d,v[d+76>>2],c,v[b+16>>2])|0;if(g){a:{b:{b=v[a+12>>2];if(b){b=v[b+20>>2];a=v[a+20>>2];if((b|0)!=(a|0)){break b}a=c+8|0;b=v[c+8>>2];break a}a=c+8|0;b=v[c+8>>2];break a}d=a;e=a>>31;a=v[c>>2];f=b;b=b>>31;h=c,i=fQ(eQ(d,e,a,a>>31),Da,f,b),v[h>>2]=i;a=v[c+4>>2];h=c,i=fQ(eQ(d,e,a,a>>31),Da,f,b),v[h+4>>2]=i;a=c+8|0;c=v[c+8>>2];b=fQ(eQ(d,e,c,c>>31),Da,f,b)}v[a>>2]=b}return g|0}function To(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;a:{if(w[c+12|0]!=1){break a}a=w[a+2|0]|w[a+3|0]<<8|(w[a+4|0]<<16|w[a+5|0]<<24);a=a<<24|a<<8&16711680|(a>>>8&65280|a>>>24);b=a?a+b|0:280448;f=w[b+2|0]<<8|w[b+3|0];if(!f){break a}v[c+16>>2]=-1;a=w[b+5|0]|w[b+4|0]<<8;g=ec(c,a);if(!g){break a}e=b+4|0;while(1){h=a&-512;i=a+512&-512;b=e;while(1){d=(a>>>3&56)+g|0;e=d;j=v[d+4>>2];k=d;l=v[d>>2];d=a&63;a=d&31;if((d&63)>>>0>=32){d=1<<a;a=0}else{d=(1<<a)-1&1>>>32-a;a=1<<a}v[k>>2]=l|a;v[e+4>>2]=d|j;f=f-1|0;if(!f){break a}e=b+2|0;a=w[b+3|0]|w[b+2|0]<<8;if(h>>>0<=a>>>0){b=e;if(a>>>0<i>>>0){continue}}break}g=ec(c,a);if(g){continue}break}}}function sc(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=v[b+12>>2];g=b;e=v[b+16>>2];j=e;f=e;h=v[a+48>>2];d=v[a+52>>2];if(h>>>0>d>>>0){d=v[a+44>>2]}d=d-h|0;e=d>>>0>e>>>0?f:d;v[g+16>>2]=j-e;v[b+20>>2]=e+v[b+20>>2];d=v[a+56>>2];if(d){d=Ea[d|0](v[a+60>>2],h,e)|0;v[a+60>>2]=d;v[b+48>>2]=d}c=e?(c|0)==-5?0:c:c;g=Ta(i,h,e)+e|0;f=e+h|0;if((f|0)==v[a+44>>2]){e=v[a+40>>2];d=v[a+52>>2];if((f|0)==(d|0)){v[a+52>>2]=e;d=e}f=v[b+16>>2];d=d-e|0;d=d>>>0>f>>>0?f:d;v[b+16>>2]=f-d;v[b+20>>2]=d+v[b+20>>2];f=v[a+56>>2];if(f){f=Ea[f|0](v[a+60>>2],e,d)|0;v[a+60>>2]=f;v[b+48>>2]=f}f=d+e|0;g=Ta(g,e,d)+d|0;c=d?(c|0)==-5?0:c:c}v[b+12>>2]=g;v[a+48>>2]=f;return c}function wr(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(t[a+741|0]&1){a:{g=v[a+736>>2];c=v[g+56>>2];e=x[c>>1];if(!e){break a}b=v[c+24>>2];i=b+B(e,12)|0;e=0;while(1){h=ir(a,v[b>>2]);d=xk(a,c+4|0,x[b+4>>1],x[b+6>>1]);b:{c:{if(!h){break c}u[h>>1]=x[b+8>>1]+d;c=v[b>>2];if((c|0)==1751216995){break b}if((c|0)!=1751934832){if((c|0)!=1751413603){break c}f=d;break c}j=d}d=e}b=b+12|0;if(i>>>0<=b>>>0){break a}c=v[g+56>>2];e=d;continue}}e=x[a+72>>1];f=e+f|0;u[a+72>>1]=f;b=d;d=x[a+70>>1];b=b+d|0;u[a+70>>1]=b;c=u[a+486>>1];u[a+82>>1]=c;u[a+80>>1]=x[a+484>>1]+((c|0)/-2|0);u[a+74>>1]=(b+(e+((x[a+74>>1]+j|0)-d|0)|0)|0)-f;Dr(a+108|0,28)}}function Jl(a,b,c,d){var e=0,f=0;a:{if(!v[a+68>>2]){if(!v[a+80>>2]){break a}Ni(a,b,c,d);return 1}e=b;b=v[b+64>>2];e=_s(a+412|0,e,(b<<2)+c|0,B(b,-3)+d|0);if(!e){return 0}b=e;b:{while(1){c=b;d=w[b|0];f=d;if(!d){break b}if(!((f|0)==13)){b=b+1|0;continue}break}while(1
function AK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;if(a){c=v[b+4>>2];v[a>>2]=v[b>>2];v[a+4>>2]=c;v[a+32>>2]=v[b+32>>2];c=v[b+28>>2];v[a+24>>2]=v[b+24>>2];v[a+28>>2]=c;c=v[b+20>>2];v[a+16>>2]=v[b+16>>2];v[a+20>>2]=c;c=v[b+12>>2];v[a+8>>2]=v[b+8>>2];v[a+12>>2]=c;return 1}a:{a=v[b>>2];b:{if(!a){break b}e=v[a-8>>2];if(!e){break a}b=a-4|0;c=v[b>>2];if(!c){break a}d=b;b=c-1|0;v[d>>2]=b;if(b){break b}d=a-32|0;b=v[d>>2];if(b){c=v[a-24>>2];if(c){v[c+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=c;v[b+32>>2]=v[b+32>>2]-1;v[b+20>>2]=v[b+20>>2]-e}b=v[a-28>>2];Ea[v[b+16>>2]](a+(v[b+24>>2]+7&-8)|0,a);Pa(d)}return 1}O(364907,364851,432,364955);L()}function kl(a,b){var c=0,d=0;d=Ca-32|0;Ca=d;a:{b:{c:{if(!Tb(522960,t[b|0])){v[164114]=28;break c}c=Va(1176);if(c){break b}}c=0;break a}Ra(c,0,144);if(!Tb(b,43)){v[c>>2]=w[b|0]==114?8:4}d:{if(w[b|0]!=97){b=v[c>>2];break d}b=Q(a|0,3,0)|0;if(!(b&1024)){v[d+16>>2]=b|1024;Q(a|0,4,d+16|0)|0}b=v[c>>2]|128;v[c>>2]=b}t[c+75|0]=255;v[c+48>>2]=1024;v[c+60>>2]=a;v[c+44>>2]=c+152;e:{if(b&8){break e}v[d>>2]=d+24;if(la(a|0,21523,d|0)|0){break e}t[c+75|0]=10}v[c+40>>2]=1029;v[c+36>>2]=1030;v[c+32>>2]=1031;v[c+12>>2]=1032;if(!v[164119]){v[c+76>>2]=-1}v[c+56>>2]=v[164399];a=v[164399];if(a){v[a+52>>2]=c}v[164399]=c}Ca=d+32|0;return c}function Cd(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;g=v[a+4>>2];b=g>>31;c=b^b+g;h=v[a>>2];b=h>>31;d=b^b+h;if(!d){if(!c){return}v[a+4>>2]=(g|0)<0?-65536:65536;return}if(!c){v[a>>2]=(h|0)<0?-65536:65536;return}e=c>>>0<d>>>0?d+(c>>>1|0)|0:c+(d>>>1|0)|0;b=E(e);b=(-1431655766>>>b>>>0>e>>>0?-15:-16)+b|0;a:{if((b|0)>=1){d=d<<b;c=c<<b;b=c>>>0<d>>>0?d+(c>>>1|0)|0:(d>>>1|0)+c|0;break a}f=e;e=0-b|0;b=f>>>e|0;c=c>>>e|0;d=d>>>e|0}b=65536-b|0;while(1){e=(B(b,d)>>16)+d|0;f=(B(b,c)>>16)+c|0;i=B((B(e,e)+B(f,f)|0)/-512|0,b+65536>>8);b=((i|0)/65536|0)+b|0;if((i|0)>65535){continue}break}v[a+4>>2]=(g|0)<0?0-f|0:f;v[a>>2]=(h|0)<0?0-e|0:e}function rx(a,b,c){var d=0;a:{b:{if(b>>>0>=c>>>0){break b}c:{switch(w[a|0]){case 0:if(!b){break b}a=((b<<1)+a|0)-1|0;return w[a|0]<<8|w[a+1|0];case 1:if(!b){break b}d=a+1|0;c=0;a=w[a+3|0];b=b-1|0;if(a>>>0>=b>>>0){break a}c=1;while(1){b=(a^-1)+b|0;a=w[(d+B(c,3)|0)+2|0];if(b>>>0<=a>>>0){break a}c=c+1|0;continue};case 2:break c;default:break b}}if(!b){break b}c=0;d:{b=b-1|0;d=w[a+4|0]|w[a+3|0]<<8;if(b>>>0<=d>>>0){break d}c=1;while(1){b=(d^-1)+b|0;d=(c<<2)+a|0;d=w[d+3|0]<<8|w[d+4|0];if(b>>>0<=d>>>0){break d}c=c+1|0;continue}}a=(c<<2)+a|0;d=(w[a+1|0]<<8|w[a+2|0])+b|0}return d}a=d+B(c,3)|0;return(w[a|0]<<8|w[a+1|0])+b|0}function qI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;if((c-b|0)>=2){e=a+72|0;while(1){a:{b:{c:{d:{e:{f:{a=w[b+1|0];if(a-216>>>0<4){break f}if(a){break c}g:{switch(w[w[b|0]+e|0]-5|0){case 0:v[d+4>>2]=v[d+4>>2]+1;break b;case 4:break d;case 5:break e;case 2:break f;case 1:break g;default:break c}}v[d+4>>2]=v[d+4>>2]+1;b=b+3|0;break a}v[d+4>>2]=v[d+4>>2]+1;b=b+4|0;break a}v[d+4>>2]=0;v[d>>2]=v[d>>2]+1;break b}v[d>>2]=v[d>>2]+1;a=b+2|0;if((c-a|0)<2){b=a;v[d+4>>2]=0;break a}if(w[b+3|0]){b=a;v[d+4>>2]=0;break a}b=w[w[b+2|0]+e|0]==10?b+4|0:a;v[d+4>>2]=0;break a}v[d+4>>2]=v[d+4>>2]+1}b=b+2|0}if((c-b|0)>1){continue}break}}}function bi(a,b,c,d,e){var f=0,g=0,h=0,i=0,j=0,k=0;if(v[a+184>>2]<0){return-9}g=v[a+64>>2];f=v[a+52>>2];h=v[a+276>>2];j=(((g|0)<(f|0)?g:f)-h|0)+B(g,v[a+272>>2])|0;g=v[b>>2];i=g>>>0>j>>>0?j:g;k=b;f=g;a:{if(!c){break a}h=v[a+96>>2]+(h&v[a+68>>2])|0;f=v[c>>2];if(!f){v[c>>2]=h;f=g;break a}Ta(f,h,i);v[c>>2]=v[c>>2]+i;f=v[b>>2]}v[k>>2]=f-i;b=v[a+276>>2]+i|0;v[a+276>>2]=b;if(d){v[d>>2]=b}b=1<<v[a+564>>2];c=v[a+64>>2];if(g>>>0<j>>>0){return(b|0)==(c|0)?3:e?3:1}b:{if((b|0)!=(c|0)){break b}b=v[a+52>>2];if((b|0)<(c|0)){break b}b=b-c|0;v[a+52>>2]=b;v[a+272>>2]=v[a+272>>2]+1;u[a+560>>1]=x[a+560>>1]&65527|((b|0)!=0)<<3}return 1}function gl(a,b,c,d,e){var f=0,g=0,h=0;f=Ca-208|0;Ca=f;v[f+204>>2]=c;Ra(f+160|0,0,40);v[f+200>>2]=v[f+204>>2];a:{if((fl(0,b,f+200|0,f+80|0,f+160|0,d,e)|0)<0){b=-1;break a}g=v[a+76>>2]>=0;c=v[a>>2];if(t[a+74|0]<=0){v[a>>2]=c&-33}h=c&32;b:{if(v[a+48>>2]){b=fl(a,b,f+200|0,f+80|0,f+160|0,d,e);break b}v[a+48>>2]=80;v[a+16>>2]=f+80;v[a+28>>2]=f;v[a+20>>2]=f;c=v[a
function pe(a,b){var c=0,d=0,e=0,f=0,g=0;a:{b:{c:{d:{c=a;a=w[a+5|0]|w[a+4|0]<<8;c=a?c+a|0:280448;a=w[c|0]|w[c+1|0]<<8;switch(((a<<8|a>>>8)&65535)-1|0){case 1:break c;case 0:break d;default:break a}}a=b-(w[c+3|0]|w[c+2|0]<<8)|0;a=a>>>0<(w[c+5|0]|w[c+4|0]<<8)>>>0?(c+(a<<1)|0)+6|0:280448;b=a+1|0;break b}g=280840;a=w[c+3|0]|w[c+2|0]<<8;e:{if(!a){break e}a=a-1|0;while(1){e=a+d>>>1|0;f=c+B(e,6)|0;f:{if((w[f+4|0]<<8|w[f+5|0])>>>0<=b>>>0){if((w[f+7|0]|w[f+6|0]<<8)>>>0<b>>>0){d=e+1|0;break f}g=(c+B(e,6)|0)+4|0;break e}a=e-1|0}if((a|0)>=(d|0)){continue}break}}a=g+4|0;b=g+5|0}d=w[b|0]|w[a|0]<<8}return d}function Gb(a,b,c){var d=0,e=0,f=0,g=0,h=0;f=v[b>>2];d=f>>31;a:{if((d^d+f)>>>0>268435455){break a}f=v[b+4>>2];d=f>>31;if((d^d+f)>>>0>268435455){break a}e=v[a>>2];d=v[a+4>>2];if(e>>>0>=d>>>0){e=0;v[164114]=0;d=d<<1;g=a,h=Xb(v[a+16>>2],d,8),v[g+16>>2]=h;if(v[164114]){break a}v[a+4>>2]=d;e=v[a>>2]}d=v[b+4>>2];e=v[a+16>>2]+(e<<3)|0;v[e>>2]=v[b>>2];v[e+4>>2]=d;e=1;v[a>>2]=v[a>>2]+1;if(!c){break a}b=v[a+8>>2];d=v[a+12>>2];if(b>>>0>=d>>>0){e=0;v[164114]=0;b=d<<1;g=a,h=Xb(v[a+20>>2],b,1),v[g+20>>2]=h;if(v[164114]){break a}v[a+12>>2]=b;b=v[a+8>>2]}t[v[a+20>>2]+b|0]=c;e=1;v[a+8>>2]=v[a+8>>2]+1}return e}function dA(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;f=Ca-16|0;Ca=f;c=v[a+28>>2];g=v[a+16>>2];e=v[a+24>>2];v[f+12>>2]=0;a:{b:{d=e+1|0;c:{if(d>>>0<=c>>>0){b=v[a+32>>2];break c}v[a+36>>2]=b;b=Ua(b,4,c,d,v[a+32>>2],f+12|0);v[a+32>>2]=b;if(v[f+12>>2]){break b}v[a+28>>2]=d}d:{if(!e){break d}a=g+10|0;c=0;if((e|0)!=1){d=e&-2;while(1){g=c<<2;v[g+b>>2]=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16);v[(g|4)+b>>2]=w[a+13|0]|(w[a+12|0]<<8|w[a+11|0]<<16);c=c+2|0;a=a+22|0;d=d-2|0;if(d){continue}break}}if(!(e&1)){break d}v[(c<<2)+b>>2]=w[a+2|0]|(w[a+1|0]<<8|w[a|0]<<16)}v[(e<<2)+b>>2]=0;break a}b=0}Ca=f+16|0;return b|0}function PM(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0,h=0;g=v[a>>2];a:{b:{c:{h=v[a+4>>2];a=(h>>6)-v[b+164>>2]|0;if(!((a|0)<0|(a|0)>=v[b+172>>2])){c=g>>6;if((c|0)<v[b+160>>2]){break c}}a=v[b+192>>2];break b}d=v[b+188>>2]+(a<<2)|0;e=v[d>>2];f=v[e>>2];a=v[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=v[a+12>>2];f=v[e>>2];if((c|0)>=(f|0)){continue}break}d=a+12|0}a=v[b+180>>2];v[b+180>>2]=a+16;if(y[b+184>>2]<=a>>>0){break a}v[a>>2]=c;v[a+4>>2]=0;v[a+8>>2]=0;v[a+12>>2]=v[d>>2];v[d>>2]=a}v[b+176>>2]=a;v[b+204>>2]=h<<2;v[b+200>>2]=g<<2;return 0}S(b|0,1);L()}function KD(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;e=v[v[a+40>>2]>>2];if(e){b=v[a>>2];g=v[b+100>>2];c=v[b+712>>2];a=v[c+3080>>2];b=pc(v[v[b+96>>2]+4>>2],13048);a:{if(!b|!a){break a}a=v[a>>2];if(!a){break a}d=Ea[a|0](b)|0;if(!d){break a}Ea[v[d+8>>2]](v[e>>2]);a=v[c+2024>>2];if(!a){break a}f=e+4|0;b=a-1|0;c=a&3;if(c){while(1){a=a-1|0;Ea[v[d+8>>2]](v[f+(a<<2)>>2]);c=c-1|0;if(c){continue}break}}if(b>>>0<3){break a}while(1){b=f+(a<<2)|0;Ea[v[d+8>>2]](v[b-4>>2]);Ea[v[d+8>>2]](v[b-8>>2]);Ea[v[d+8>>2]](v[b-12>>2]);a=a-4|0;Ea[v[d+8>>2]](v[f+(a<<2)>>2]);if(a){continue}break}}if(e){Ea[v[g+8>>2]](g,e)}}}function WB(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0,g=0;c=Ca-32|0;Ca=c;a:{if((Ea[v[b+52>>2]](b,6,c,0)|0)<=5){v[b+12>>2]=3;break a}e=v[c+12>>2];if(!e){v[b+12>>2]=3;break a}d=e>>31;d=d+e^d;if((d|0)!=65536){f=c,g=ab(v[c>>2],d),v[f>>2]=g;f=c,g=ab(v[c+4>>2],d),v[f+4>>2]=g;f=c,g=ab(v[c+8>>2],d),v[f+8>>2]=g;f=c,g=ab(v[c+16>>2],d),v[f+16>>2]=g;f=c,g=ab(v[c+20>>2],d),v[f+20>>2]=g;e=v[c+12>>2]<0?-65536:65536;v[c+12>>2]=e}v[a+440>>2]=v[c>>2];v[a+448>>2]=v[c+4>>2];d=v[c+8>>2];v[a+452>>2]=e;v[a+444>>2]=d;if(!Oi(a+440|0)){v[b+12>>2]=3;break a}v[a+456>>2]=v[c+16>>2]>>16;v[a+460>>2]=v[c+20>>2]>>16}Ca=c+32|0}function Bn(a,b){var c=0,d=0,e=0;e=v[b+4>>2];c=a;v[c>>2]=v[b>>2];v[c+4>>2]=e;v[c+8>>2]=v[b+8>>2];v[c+24>>2]=0;v[c+28>>2]=0;t[c+20|0]=0;t[c+16|0]=0;v[c+12>>2]=0;v[c+32>>2]=0;v[c+36>>2]=0;b=Va(4744);a:{if(!b){v[a+28>>2]=-1;break a}v[a+28>>2]=593;v[a+36>>2]=b;c=Ra(b,0,4104);v[a+32>>2]=513;while(1){b=(d<<3)+c|0;v[b>>2]=0;v[b+4>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+24>>2]=0;v[b+28>>2]=0;v[b+32>>2]=0;v[b+36>>2]=0;v[b+40>>2]=0;v[b+44>>2]=0;v[b+48>>2]=0;v[b+52>>2]=0;v[b+56>>2]=0;v[b+60>
function Gg(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;e=-1;a:{f=v[a+12>>2]+a|0;if(!f){break a}g=v[a+4>>2];c=g-1|0;b:{c:{d:{if((g|0)<1){break d}i=b>>>8|0;j=i&65535;while(1){d=c+h|0;e=d>>1;d=x[(d&-2)+f>>1];if((d|0)==(j|0)){break b}d=d>>>0<j>>>0;h=d?e+1|0:h;c=d?c:e-1|0;if((h|0)<=(c|0)){continue}break}if((c|0)<0){break d}if((c|0)>=(g|0)|x[(c<<1)+f>>1]>=(i&65535)>>>0){break c}}c=c+1|0}e=c^-1}if((e|0)<0){break a}a=v[a+8>>2]+a|0;return v[a+(e<<2)>>2]+a|0}c=eb(1,32);e:{if(c){if(bu(a,b,c,e^-1)){break e}Pa(c)}c=0}return c}function vF(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0,g=0,h=0;f=Ca-16|0;Ca=f;a:{if(v[a+356>>2]!=3){break a}d=v[a+392>>2];if((d|0)!=v[a+404>>2]){break a}b:{g=v[a+388>>2];e=v[a+396>>2];c:{if(g>>>0<=e>>>0){e=e<<2;h=v[a+400>>2];break c}d=e<<2;e=g<<2;h=Ua(v[a+8>>2],1,d,e,v[a+400>>2],f+12|0);v[a+400>>2]=h;d=v[f+12>>2];if(d){break b}v[a+396>>2]=g;d=v[a+392>>2]}v[a+12>>2]=0;Ta(h,d,e);v[a+392>>2]=v[a+400>>2];break a}v[a+12>>2]=d}if(!v[a+12>>2]){b=b<<2;d=v[b+v[a+392>>2]>>2];c=ab(c,mi(a));v[b+v[a+392>>2]>>2]=c+d}Ca=f+16|0}function Fe(a){var b=0,c=0,d=0,e=0,f=0,g=0,h=0,i=0;v[a+112>>2]=v[a+112>>2]+1;Lg(v[a+748>>2]);Lg(v[a+744>>2]);Lg(v[a+740>>2]);b=v[a+16>>2];v[a+136>>2]=b;c=v[a+20>>2];v[a+140>>2]=c;d=b-(v[a- -64>>2]+v[a+68>>2]|0)|0;v[a+148>>2]=d;e=c-(v[a+56>>2]+v[a+60>>2]|0)|0;v[a+144>>2]=e;h=eQ(d,d>>31,c,c>>31);f=Da;i=eQ(e,e>>31,b,b>>31);g=Da;A[a+160>>3]=((f|0)>(g|0)?1:(g|0)<=(f|0)?i>>>0<=h>>>0:0)?+(b|0):+(c|0)*+(d|0)/+(e|0);if((f|0)<(g|0)?1:(f|0)<=(g|0)?h>>>0<=i>>>0:0){A[a+152>>3]=c|0;return}A[a+152>>3]=+(b|0)*+(e|0)/+(d|0)}function lD(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=v[a+712>>2];a:{if(w[d+24|0]==2){c=xd(pc(v[v[a+96>>2]+4>>2],9992),10192,0);if(!c){break a}c=v[c+4>>2];if(!c){break a}return Ea[c|0](a,b)|0}e=xd(v[a+96>>2],10308,1);if(!e){return 0}if(!v[d+20>>2]){break a}a=0;while(1){b:{c=x[v[d+1188>>2]+(a<<1)>>1];c:{if(c>>>0>=391){c=c-391|0;if(c>>>0>=y[d+1356>>2]){break b}c=v[v[d+1360>>2]+(c<<2)>>2];break c}c=Ea[v[e+20>>2]](c)|0}if(!c){break b}if(Wa(b,c)){break b}return a|0}a=a+1|0;if(a>>>0<y[d+20>>2]){continue}break}}return 0}function nj(a){var b=0,c=0,d=0,e=0;c=Ca-32|0;Ca=c;d=v[a+644>>2];e=d;b=v[a+640>>2];v[c+8>>2]=b;v[c+12>>2]=d;d=b;if(b){b=e;a:{if(!(!b|w[d|0]!=64)){v[c+12>>2]=b-1;v[c+24>>2]=1;v[c+8>>2]=d+1;break a}v[c+24>>2]=0}d=c;b=v[a+648>>2];e=b+1|0;if(e>>>0<=2){b=v[(e<<2)+366028>>2]}v[d+16>>2]=b;b=100;b:{c:{d:{d=v[a+652>>2];switch(d|0){case 1:break b;case 0:break d;default:break c}}b=0;break b}b=d}v[c+20>>2]=b;Ib(v[a+224>>2]);b=a;a=ld(v[a+736>>2],c+8|0,a);e:{if(a){if(v[a+20>>2]){break e}Ib(a)}a=0}v[b+224>>2]=a}Ca=c+32|0}function ej(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;a:{if(!a){break a}f=v[a+12>>2]+a|0;if(!f){break a}g=v[a+4>>2];c=g-1|0;b:{c:{d:{if((g|0)<1){break d}i=b>>>8|0;j=i&65535;while(1){d=c+h|0;e=d>>1;d=x[(d&-2)+f>>1];if((d|0)==(j|0)){break b}d=d>>>0<j>>>0;h=d?e+1|0:h;c=d?c:e-1|0;if((h|0)<=(c|0)){continue}break}if((c|0)<0){break d}if((c|0)>=(g|0)|x[(c<<1)+f>>1]>=(i&65535)>>>0){break c}}c=c+1|0}e=c^-1}c=0;if((e|0)<0){break a}a=v[a+8>>2]+a|0;a=v[a+(e<<2)>>2]+a|0;if(!a){break a}c=v[a+(b>>>3&28)>>2]>>>b&1}return c}function rg(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)-1&e)<<32-b|d>>>b}d=0;e=0;break a}if(!f){break a}h=e;i=d;j=64-f|0;g=j&31;if((j&63)>>>0>=32){h=i<<g;j=0}else{h=(1<<g)-1&i>>>32-g|h<<g;j=i<<g}i=b;g=f;b=g&31;if((g&63)>>>0>=32){g=0;b=c>>>b|0}else{g=c>>>b|0;b=((1<<b)-1&c)<<32-b|i>>>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)-1&e)<<32-d|g>>>d}e=h}v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e}function eo(a,b){var c=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;d=Ca-16|0;Ca=d;c=(a+2|0)+(w[a+3|0]<<1|w[a+2|0]<<9)|0;e=c+2|0;c=w[c+3|0]|w[e|0]<<8?c+4|0:280448;c=w[c|0]<<8|w[c+1|0];f=c?c+a|0:280448;c=v[b+100>>2];if((xb(f,v[v[c+88>>2]+B(v[c+72>>2],20)>>2])|0)!=-1){f=w[e+1|0];h=w[e|0];c=e+(f<<1|h<<9)|0;g=w[c+3|0];i=c+2|0;j=w[i|0];v[d+12>>2]=a;v[d+8>>2]=a;v[d+4>>2]=a;v[d>>2]=452;k=w[a+3|0]|w[a+2|0]<<8;l=a+4|0;a=(g<<1|j<<9)+i|0;g=go(b,k,l,h<<8|f,e+4|0,g|j<<8,c+4|0,w[a+2|0]<<8|w[a+3|0],a+4|0,d)}Ca=d+16|0;retu
function _H(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{e=c-2|0;c=b+2|0;if((e-c|0)>=2){g=a+72|0;while(1){a=b;b=c;if(w[a+2|0]){break a}c=w[a+3|0];a=c<<24>>24;c=w[c+g|0]-9|0;b:{c:{if(c>>>0>26){break c}f=1<<c;if(f&132499443){break b}if(!(f&139264)){if((c|0)!=12){break c}if((a|0)!=9){break b}break a}if((a|0)>-1){break b}}if((a|0)==64){break b}if((a|0)!=36){break a}}c=b+2|0;if((e-c|0)>1){continue}break}}return 1}v[d>>2]=b;return 0}function pI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0;a:{e=c-2|0;c=b+2|0;if((e-c|0)>=2){g=a+72|0;while(1){a=b;b=c;if(w[a+3|0]){break a}c=w[b|0];a=c<<24>>24;c=w[c+g|0]-9|0;b:{c:{if(c>>>0>26){break c}f=1<<c;if(f&132499443){break b}if(!(f&139264)){if((c|0)!=12){break c}if((a|0)!=9){break b}break a}if((a|0)>-1){break b}}if((a|0)==64){break b}if((a|0)!=36){break a}}c=b+2|0;if((e-c|0)>1){continue}break}}return 1}v[d>>2]=b;return 0}function jj(a,b,c){var d=0,e=0,f=0;a:{if(!v[c+20>>2]){v[b>>2]=0;v[b+4>>2]=0;v[b+16>>2]=0;v[b+20>>2]=0;v[b+8>>2]=0;v[b+12>>2]=0;break a}a=1<<v[a>>2];d=0-a|0;e=v[c+8>>2];f=d>>>0<e>>>0?e:d&(a+e|0)-1;d=v[c+12>>2];if(f>>>0>(2147483647-a>>>0)/(((d|0)>1?d:1)>>>0)>>>0){break a}a=Ee(a,a+B(d,f)|0,0);if(!a){break a}v[b+20>>2]=a;v[b+16>>2]=f;v[b+12>>2]=d;v[b+8>>2]=e;v[b>>2]=v[c>>2];v[b+4>>2]=v[c+4>>2];Ta(a,v[c+20>>2],B(v[c+12>>2],v[c+16>>2]))}}function Hs(){var a=0,b=0,c=0,d=0;c=Yb(515691);a:{if(!v[163728]){break a}if(!(!c|!w[c|0])){return ib(c)}a=Yb(515686);if(a){d=Xa(a)}c=Va(d+8|0);if(!c){break a}if(a){Ta(c,a,d)}b=c+d|0;a=w[515706]|w[515707]<<8|(w[515708]<<16|w[515709]<<24);t[b|0]=a;t[b+1|0]=a>>>8;t[b+2|0]=a>>>16;t[b+3|0]=a>>>24;a=w[515709]|w[515710]<<8|(w[515711]<<16|w[515712]<<24);t[b+3|0]=a;t[b+4|0]=a>>>8;t[b+5|0]=a>>>16;t[b+6|0]=a>>>24;t[c+(d+7|0)|0]=0;b=c}return b}function kk(a){a=a|0;var b=0,c=0;if(a){c=v[a+100>>2];vq(v[a+140>>2]);b=v[a+144>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+144>>2]=0;b=v[a+132>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+132>>2]=0;b=v[a+136>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+136>>2]=0;b=v[a+20>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+20>>2]=0;b=v[a+24>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+24>>2]=0;b=v[a+32>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+32>>2]=0;b=v[a+140>>2];if(b){Ea[v[c+8>>2]](c,b)}v[a+140>>2]=0}}function FF(a){a=a|0;var b=0,c=0,d=0,e=0,f=0;if(a){b=v[a+540>>2];d=v[a+104>>2];e=v[a+100>>2];c=v[a+716>>2];if(c){Ea[c|0](v[a+712>>2])}if(b){Ea[v[b+12>>2]](a)}Qb(v[a+104>>2],a+764|0);v[a+760>>2]=0;c=v[a+104>>2];b=v[c+28>>2];f=v[a+784>>2];if(f){Ea[v[b+8>>2]](b,f)}v[a+784>>2]=0;Qb(c,a+768|0);b=v[a+704>>2];if(b){Ea[v[e+8>>2]](e,b)}v[a+700>>2]=0;v[a+704>>2]=0;Qb(d,a+688|0);Qb(d,a+696|0);v[a+692>>2]=0;v[a+684>>2]=0;vr(a);v[a+736>>2]=0}}function Il(a,b,c){var d=0,e=0,f=0,g=0,h=0,i=0;d=Ca-48|0;Ca=d;while(1){e=a;a=v[e+472>>2];if(a){continue}break}if(v[e+540>>2]>=1){f=v[e+536>>2];a=v[e+532>>2];g=v[e+528>>2];h=w[b+33|0];i=v[b>>2];b=v[b+8>>2];v[d+40>>2]=c;v[d+36>>2]=b;v[d+32>>2]=509449;v[d+28>>2]=i;v[d+24>>2]=h?508104:508106;v[d+20>>2]=509099;v[d+16>>2]=(a<<1)-2;v[d+12>>2]=f;v[d+8>>2]=a;v[d+4>>2]=g;v[d>>2]=e;$b(v[130915],509364,d)}v[e+532>>2]=v[e+532>>2]-1;Ca=d+48|0}function th(a,b){var c=0,d=0,e=0,f=0,g=0,h=0;d=v[a+8>>2]+a|0;c=v[a>>2];a:{if((c|0)<=0){b=0}else{e=c-1|0;while(1){c=e+f>>1;g=v[(c<<3)+d>>2]-b|0;if(!g){break a}h=(g|0)<0;f=h?c+1|0:f;e=h?e:c-1|0;if((f|0)<=(e|0)){continue}break}b=(g>>>31|0)+c|0}c=b^-1}if(!(!d|(c|0)<0)){dg(v[((c<<3)+d|0)+4>>2]);c=(c<<3)+d|0;b=c+8|0;mb(c,b,((v[a+8>>2]+a|0)+(v[a>>2]<<3)|0)-b|0);b=v[a>>2]-1|0;v[a>>2]=b;a=(v[a+8>>2]+a|0)+(b<<3)|0;v[a>>2]=0;v[a+4>>2]=0}}function rE(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;f=v[a+496>>2];if(!f){return 6}g=v[f+32>>2];if(g){a=0;while(1){e=v[f+28>>2]+B(a,20)|0;a:{if(v[e>>2]!=(c|0)){break a}h=v[e+4>>2];if((h|0)>(b|0)){v[d>>2]=v[e+8>>2];break a}i=v[e+12>>2];if((i|0)<(b|0)){v[d>>2]=v[e+16>>2];break a}j=d,k=fb(b-h|0,v[e+16>>2]-v[e+8>>2]|0,i-h|0)+v[e+8>>2]|0,v[j>>2]=k;g=v[f+32>>2]}a=a+1|0;if(g>>>0>a>>>0){continue}break}}return 0}function Yu(a,b,c,d,e){var f=0,g=0;f=Ca-32|0;Ca=f;a:{if(ri(b,c,e,f+28|0)){v[f+20>>2]=e;v[f+16>>2]=c;hb(a,2,364349,f+16|0);a=0;break a}b:{c:{if(!d|(e|0)>-1){break c}g=v[f+28>>2];if(v[g>>
function xg(a,b){var c=0,d=0,e=0,f=0;e=((Ea[v[a+908>>2]](b)>>>0)%227<<2)+a|0;a:{while(1){c=v[e>>2];if(!c){break a}d=e;if(Ea[v[a+912>>2]](v[c+4>>2],b)|0){while(1){d=c;c=v[c>>2];if(!c){break a}if(Ea[v[a+912>>2]](v[c+4>>2],b)|0){continue}break}}f=d;d=v[d>>2];v[f>>2]=(c|0)==(d|0)?v[c>>2]:d;if((c|0)!=(d|0)){continue}break}b=v[a+924>>2];if(b){Ea[b|0](v[c+4>>2])}a=v[a+928>>2];if(a){Ea[a|0](v[c+8>>2])}Pa(c)}}function nK(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;a:{a=v[a>>2];b:{if(!a){break b}e=v[a-8>>2];if(!e){break a}b=a-4|0;c=v[b>>2];if(!c){break a}d=b;b=c-1|0;v[d>>2]=b;if(b){break b}d=a-32|0;b=v[d>>2];if(b){c=v[a-24>>2];if(c){v[c+12>>2]=v[a-20>>2]}v[v[a-20>>2]>>2]=c;v[b+32>>2]=v[b+32>>2]-1;v[b+20>>2]=v[b+20>>2]-e}b=v[a-28>>2];Ea[v[b+16>>2]](a+(v[b+24>>2]+7&-8)|0,a);Pa(d)}return}O(364907,364851,432,364955);L()}function ml(a){var b=0,c=0,d=0;b=Ca-16|0;Ca=b;o(+a);d=j(1)|0;j(0)|0;d=d&2147483647;a:{if(d>>>0<=1072243195){c=1;if(d>>>0<1044816030){break a}c=gh(a,0);break a}c=a-a;if(d>>>0>=2146435072){break a}b:{switch(vs(a,b)&3){case 0:c=gh(A[b>>3],A[b+8>>3]);break a;case 1:c=-hh(A[b>>3],A[b+8>>3],1);break a;case 2:c=-gh(A[b>>3],A[b+8>>3]);break a;default:break b}}c=hh(A[b>>3],A[b+8>>3],1)}a=c;Ca=b+16|0;return a}function zM(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=v[a+4>>2];e=0-f|0;a:{if((e&(c+f|0)-1)!=(c|0)){break a}c=c>>v[a>>2];if((c|0)<0|c>>>0>=y[a+96>>2]){break a}c=(v[a+52>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[c|0]=w[c|0]|128>>>(b&7);e=0-v[a+4>>2]|0}b:{if((d&e)!=(d|0)){break b}c=d>>v[a>>2];if((c|0)<0|c>>>0>=y[a+96>>2]){break b}a=(v[a+52>>2]+(b>>3)|0)-B(c,v[a+104>>2])|0;t[a|0]=w[a|0]|128>>>(b&7)}}function kn(a){if(v[a+4>>2]){v[a+44>>2]=0;v[a+48>>2]=0;v[a+32>>2]=0;v[a+80>>2]=0;v[a+72>>2]=0;v[a+76>>2]=0;t[a+70|0]=0;u[a+68>>1]=1;t[a+168|0]=0;v[a+100>>2]=0;v[a+104>>2]=0;v[a+52>>2]=0;v[a+56>>2]=0;v[a+60>>2]=0;v[a+64>>2]=0;v[a+92>>2]=v[a+88>>2];v[a+108>>2]=0;v[a+112>>2]=0;v[a+116>>2]=0;v[a+120>>2]=0;v[a+124>>2]=0;v[a+128>>2]=0;v[a+132>>2]=0;v[a+136>>2]=0;v[a+140>>2]=0;v[a+144>>2]=0;v[a+148>>2]=0}}function Qz(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:{if(b){h=142;g=x[a+152>>1];if(!g){break b}f=v[a+156>>2];i=f+(g<<4)|0;while(1){d:{if(v[f>>2]==(b|0)){g=v[f+12>>2];if(g){break d}}f=f+16|0;if(i>>>0>f>>>0){continue}break b}break}c=v[f+8>>2]+c|0;break c}g=v[v[a+104>>2]+4>>2]}if(!e){f=g;break a}f=v[e>>2];if(f){break a}v[e>>2]=g;h=0}return h|0}return ni(v[a+104>>2],c,d,f)|0}function KG(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,f=0;d=Ca-16|0;Ca=d;f=-1;a:{b:{c:{switch(v[a>>2]-1|0){case 0:e=+v[a+8>>2];break b;case 1:break c;default:break a}}e=A[a+8>>3]}d:{e:{switch(v[b>>2]-1|0){case 0:f=+v[b+8>>2];break d;case 1:break e;default:break a}}f=A[b+8>>3]}Gc(d,b);a=v[d+12>>2];v[c+8>>2]=v[d+8>>2];v[c+12>>2]=a;a=v[d+4>>2];v[c>>2]=v[d>>2];v[c+4>>2]=a;e=f-e;f=e<0?-e:e}Ca=d+16|0;return+f}function YH(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;a=v[b>>2];c=c-a&-2;f=a+c|0;g=c;c=v[d>>2];if((g|0)>(e-c|0)){g=f-2|0;h=(w[g|0]&248)==216;f=h?g:f}a:{if(a>>>0>=f>>>0){break a}if(c>>>0<e>>>0){while(1){a=w[a|0]|w[a+1|0]<<8;v[d>>2]=c+2;u[c>>1]=a<<8|a>>>8;a=v[b>>2]+2|0;v[b>>2]=a;if(a>>>0>=f>>>0){break a}c=v[d>>2];if(e>>>0>c>>>0){continue}break}}if((c|0)!=(e|0)){break a}h=2}return h|0}function GH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;f=39;a:{b:{c:{switch(b-15|0){case 3:if(Ea[v[e+24>>2]](e,c,d,506482)|0){v[a+8>>2]=39;v[a>>2]=957;return 42}if(!(Ea[v[e+24>>2]](e,c,d,506488)|0)){break b}v[a+8>>2]=39;v[a>>2]=957;return 41;case 8:v[a+4>>2]=1;v[a>>2]=960;return 44;case 0:break a;default:break c}}if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=936;f=-1}return f|0}function XH(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=934;a:{b:{c:{d:{e:{switch(b-11|0){case 1:f=1;break b;case 0:f=55;break b;case 2:f=56;break b;case 5:if(!(Ea[v[e+24>>2]](e,(v[e+64>>2]<<1)+c|0,d,506336)|0)){break d}f=3;g=935;break b;case 18:f=2;break c;case 3:break a;case 4:break b;default:break e}}if(v[a+16>>2]){break d}f=59;if((b|0)==28){break a}}f=-1}g=936}v[a>>2]=g}return f|0}function xl(a){var b=0,c=0;a:{b:{if(!a){be();while(1){c:{a=v[164112];if(a){bre
function oC(a){a=a|0;var b=0;b=v[v[a+156>>2]>>2];v[a+184>>2]=0;v[a+188>>2]=0;v[a+192>>2]=0;v[a+160>>2]=0;v[a+164>>2]=0;v[a+168>>2]=0;v[a+172>>2]=0;v[a+176>>2]=0;v[a+180>>2]=0;v[a+188>>2]=b;t[a+192|0]=0;tf(b);return 0}function BG(a){a=a|0;var b=0,c=0;b=Ca-16|0;Ca=b;a:{if(Ed(a,517460,0,b+12|0)){break a}c=1;a=v[b+12>>2];if(!Wa(a,517471)){break a}if(!Wa(a,517478)){break a}if(!Wa(a,517486)){break a}c=!Wa(a,517497)}Ca=b+16|0;return c|0}function zH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=14;e=963;c=b-15|0;f=11;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function oH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=38;e=951;c=b-15|0;f=33;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function eQ(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=B(e,f);g=c&65535;h=a&65535;i=B(g,h);f=(i>>>16|0)+B(f,g)|0;e=(f&65535)+B(e,h)|0;Da=(B(b,c)+j|0)+B(a,d)+(f>>>16)+(e>>>16)|0;return i&65535|e<<16}function dH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=21;e=982;c=b-15|0;f=17;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function bw(a,b){a=a|0;b=b|0;var c=0;c=v[b+4>>2];v[a+4>>2]=v[b>>2];v[a+8>>2]=c;v[a+28>>2]=v[b+24>>2];c=v[b+20>>2];v[a+20>>2]=v[b+16>>2];v[a+24>>2]=c;c=v[b+12>>2];v[a+12>>2]=v[b+8>>2];v[a+16>>2]=c;aw(a,b,0);aw(a,b,1)}function KK(a,b){a=a|0;b=b|0;var c=0,d=0;v[b+72>>2]=1869968492;d=v[a+36>>2];v[b+124>>2]=d;c=v[a+24>>2];v[b+108>>2]=v[a+20>>2];v[b+112>>2]=c;c=v[a+32>>2];v[b+116>>2]=v[a+28>>2];v[b+120>>2]=c;v[b+124>>2]=d&-2;return 0}function Jx(a,b){var c=0,d=0,e=0;if(cb(a,0,1)){e=v[b+4>>2];d=v[a+92>>2]+B(v[a+80>>2],20)|0;c=d;v[c>>2]=v[b>>2];v[c+4>>2]=e;v[c+16>>2]=v[b+16>>2];c=v[b+12>>2];v[d+8>>2]=v[b+8>>2];v[d+12>>2]=c;v[a+80>>2]=v[a+80>>2]+1}}function DH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=13;e=965;c=b-15|0;f=11;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function CH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=14;e=955;c=b-15|0;f=11;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function AH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=13;e=966;c=b-15|0;f=11;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function Uy(a,b){a=a|0;b=b|0;var c=0,d=0,e=0;d=Ca-16|0;Ca=d;e=v[a+16>>2];a:{if((e|0)>=1){while(1){if(!_h(a,c,d+12|0)){if(!Wa(b,v[d+12>>2])){break a}}c=c+1|0;if((e|0)!=(c|0)){continue}break}}c=0}Ca=d+16|0;return c|0}function ME(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0;e=12;a:{if(Wa(b,5631)){break a}e=7;b:{c:{if(d){b=jc(c,0,10);break c}b=v[c>>2]}switch(b-35|0){case 0:case 5:break b;default:break a}}v[a- -64>>2]=b;e=0}return e|0}function ni(a,b,c,d){var e=0,f=0;f=v[a+4>>2];if(f>>>0>b>>>0){e=v[a+20>>2];a:{if(e){c=Ea[e|0](a,b,c,d)|0;break a}e=c;c=f-b|0;c=c>>>0>d>>>0?d:c;Ta(e,v[a>>2]+b|0,c)}v[a+8>>2]=b+c;a=c>>>0<d>>>0?85:0}else{a=85}return a}function RH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=5;e=948;c=b-15|0;f=3;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function QH(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;var f=0;d=6;e=941;c=b-15|0;f=3;a:{if(!c){break a}b:{if((c|0)==12){break b}d=-1;e=936;if(v[a+16>>2]){break b}f=59;if((b|0)==28){break a}}v[a>>2]=e;f=d}return f|0}function NF(a,b){a=a|0;b=b|0;var c=0,d=0;d=Bd(5216,b);a:{if(d){break a}d=0;if(!a){break a}c=v[a+4>>2];if(!c){break a}c=pc(c,5272);if(!c){break a}c=v[v[c>>2]+20>>2];if(!c){break a}d=Ea[v[c+16>>2]](a,b)|0}return d|0}function lP(a,b){a=a|0;b=b|0;var c=0;a=0;if(v[b+16>>2]){while(1){c=B(a,12);Pa(v[c+v[b+12>>2]>>2]);Pa(v[(v[b+12>>2]+c|0)+4>>2]);a=a+1|0;if(a>>>0<y[b+16>>2]){continue}break}}Pa(v[b+12>>2]);v[b+12>>2]=0;v[b+16>>2]=0}fu
function Px(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;Pa(v[b+828>>2]);Ta(b+824|0,c,144);d=b,e=ib(v[b+828>>2]),v[d+828>>2]=e}function Vq(a,b){a=a|0;b=b|0;a=v[a+4>>2]|v[a>>2]<<16;b=v[b+4>>2]|v[b>>2]<<16;return(a>>>0>b>>>0?1:a>>>0<b>>>0?-1:0)|0}function rk(a){a=a|0;var b=0,c=0;b=v[v[a>>2]+100>>2];c=v[a+20>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+16>>2]=0;v[a+20>>2]=0}function pz(a){a=a|0;var b=0,c=0;b=v[a+868>>2];if(b){c=v[a+100>>2];Qb(v[a+104>>2],b+12|0);if(b){Ea[v[c+8>>2]](c,b)}}}function oz(a){a=a|0;var b=0,c=0;b=v[a+872>>2];if(b){c=v[a+100>>2];Qb(v[a+104>>2],b+36|0);if(b){Ea[v[c+8>>2]](c,b)}}}function Zl(a){var b=0;b=Va(20);if(!b){return 0}v[b+16>>2]=a;v[b+8>>2]=0;v[b+12>>2]=0;v[b>>2]=1;v[b+4>>2]=0;return b}function NG(a,b){a=a|0;b=b|0;a:{a=v[a>>2];b=v[b>>2];if(w[a|0]!=w[b|0]){break a}if(Wa(a,b)){break a}return 1}return 0}function FI(a,b){a=a|0;b=b|0;a=1;a:{if(w[b|0]<194){break a}b=w[b+1|0];if(!(b&128)){break a}a=(b&192)==192}return a|0}function ks(a,b,c,d,e,f,g,h,i){v[a>>2]=b;v[a+4>>2]=c;v[a+8>>2]=d;v[a+12>>2]=e&65535|(i>>>16&32768|e>>>16&32767)<<16}function gd(){var a=0;a=Va(20);if(!a){return 0}v[a+4>>2]=0;v[a+8>>2]=0;v[a>>2]=1;v[a+12>>2]=0;v[a+16>>2]=0;return a}function YF(a){a=a|0;var b=0,c=0;b=v[a>>2];if(b){c=v[a+28>>2];Ea[v[c+8>>2]](c,b)}v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=0}function Pz(a,b){a=a|0;b=b|0;var c=0;c=Ea[v[a+516>>2]](a,1751474532,b,0)|0;if(!c){c=ub(b,162640,a+160|0)}return c|0}function LN(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=Pr(v[b+4>>2],c,d);if(!a){return 0}v[e>>2]=a;return 1}function Hc(a){var b=0,c=0;b=v[a>>2];while(1){c=w[b|0];if(!((c|0)!=9?(c|0)!=32:0)){b=b+1|0;continue}break}v[a>>2]=b}function Ez(a,b){a=a|0;b=b|0;var c=0;c=Ea[v[a+516>>2]](a,1346587732,b,0)|0;if(!c){c=ub(b,163264,a+568|0)}return c|0}function Dz(a,b){a=a|0;b=b|0;var c=0;c=Ea[v[a+516>>2]](a,1651008868,b,0)|0;if(!c){c=ub(b,162640,a+160|0)}return c|0}function $p(a){a=a|0;var b=0,c=0;b=v[a+28>>2];c=v[a>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a>>2]=0;v[a+4>>2]=0;v[a+24>>2]=0}function fP(){var a=0;a=$r(80);v[a>>2]=0;v[a+4>>2]=0;v[a+16>>2]=0;v[a+20>>2]=0;v[a+8>>2]=0;v[a+12>>2]=0;return a|0}function NK(a,b){a=a|0;b=b|0;var c=0;b=b+20|0;c=Lr(v[a>>2],u[a+22>>1],u[a+20>>1],b);if(!c){Kr(a+20|0,b)}return c|0}function EN(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=Lk(v[b+4>>2],c,d,e);c=!a;return(!e|a?c:w[d|0]!=0)|0}function Xb(a,b,c){eQ(c,0,b,0);a:{if(!Da){b=B(b,c);c=gb(a,b?b:1);b=0;if(c){break a}}c=a;b=48}v[164114]=b;return c}function hQ(a){var b=0,c=0;b=H(a);c=a-b;if(!(c<.5)){a=I(a);if(c>.5){return a}c=a;a=b*.5;b=a-H(a)==0?b:c}return b}function Oc(a){var b=0;b=Va(8);if(!b){return 0}v[b>>2]=a;if(v[a>>2]!=-1){v[a>>2]=v[a>>2]+1}v[b+4>>2]=0;return b}function Iy(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;a:{Pa(v[b>>2]);if(!c){v[b>>2]=0;break a}d=b,e=ib(c),v[d>>2]=e}}function uN(a,b){a=a|0;b=b|0;v[a+24>>2]=v[b+20>>2];v[a+4>>2]=v[b>>2];v[a+28>>2]=v[b+24>>2];Vv(a,b,0);Vv(a,b,1)}function VE(a,b,c){a=a|0;b=b|0;c=c|0;c=li(a,b,c,1);if(!c){v[a+8>>2]=v[a+8>>2]&-32769|((b|0)!=0)<<15}return c|0}function pl(a){var b=0;a=kh(a,589824,0);if((a|0)>=0){b=eb(1,2080);if(!b){T(a|0)|0;return 0}v[b>>2]=a}return b}function Tt(a){var b=0;a:{if(!a){break a}a=v[a>>2];if(!a){break a}b=a;a=v[a+4>>2];b=a&1?b+(a&-2)|0:a}return b}function Fb(a){var b=0;b=a;a=nw(a+52|0);a=w[a+18|0]<<8|w[a+19|0];a=a-16>>>0<16369?a:1e3;v[b+28>>2]=a;return a}function rP(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;v[d>>2]=0;v[d+4>>2]=0;v[d+8>>2]=0;v[d+12>>2]=0;return 0}function xn(){var a=0;a=eb(1,216);if(!a){return 654144}v[a>>2]=1;v[a+4>>2]=1;Ta(a+148|0,654292,68);return a}function nb(a,b){var c=0;c=b;b=Xa(b);if($a(a,c,b)){a=0}else{a=w[a+b|0];if(!a){return 1}a=(a|0)==45}return a}function hd(a,b){var c=0;b=ib(b);c=0;a:{if(!b){break a}c=1;if(wf(a,b,v[a+4>>2])){break a}Pa(b);c=0}return c}function Yz(a,b){a=a|0;b=b|0;var c=0;c=Ca-16|0;Ca=c;v[c+12>>2]=0;_h(a,b,c+12|0);Ca=c+16|0;return v[c+12>>2]}function Yl(a,b){var c=0;b=fe(b);c=0;a:{if(!b){break a}c=1;if(wf(a,b,v[a+4>>2])){break a}Pa(b);c=0}return c}function aq(a,b){a=a|0;b=b|0;a=v[v[a>>2]+4>>2];b=v[v[b>>2]+4>>2];return(a>>>0>b>>>0?1:a>>>0<b>>>0?-1:0)|0}function
function Hm(a,b,c){if(!(v[a+20>>2]==(c|0)?v[a+16>>2]==(b|0):0)){v[a+16>>2]=b;v[a+20>>2]=c;Fe(a)}}function At(a){var b=0;b=Ca-96|0;Ca=b;a=Hg(a,b+8|0);Ca=b+96|0;return!a&(v[b+20>>2]&61440)==32768}function Ag(a){var b=0;b=Ca-96|0;Ca=b;a=Hg(a,b+8|0);Ca=b+96|0;return!a&(v[b+20>>2]&61440)==16384}function jE(a,b){a=a|0;b=b|0;b=tk(v[a+532>>2],0,0);if(!b){v[a+8>>2]=v[a+8>>2]&-32769}return b|0}function hC(a){a=a|0;var b=0;b=pc(v[a+4>>2],18079);if(!b){return 11}v[a+28>>2]=v[b>>2];return 0}function zG(a){a=a|0;var b=0;b=v[a+8>>2];if(b){jd(b)}b=v[a+4>>2];if(b){le(b)}ac(v[a>>2]);Pa(a)}function ry(a,b,c){a=a|0;b=b|0;c=c|0;b=w[b+1|0]|w[b|0]<<8;return(xb(b?b+c|0:280448,a)|0)!=-1|0}function qm(a){var b=0,c=0;b=A[a+8>>3];c=A[a>>3];a=Va(16);if(a){A[a+8>>3]=b;A[a>>3]=c}return a}function _m(a,b,c){a=a|0;b=b|0;c=c|0;return Ea[v[v[v[a+12>>2]+56>>2]+12>>2]](v[a+52>>2],b,c)|0}function bC(a){a=a|0;if(Rk(v[v[a>>2]+504>>2]+108|0,v[a+44>>2])){Tr(v[a+44>>2]);v[a+44>>2]=0}}function QO(a){a=a|0;a=a+24|0;bb(a,1818914159,0,1);bb(a,1986686319,0,1);bb(a,1953131887,0,1)}function Cg(a,b,c){v[a+12>>2]=0;v[a+4>>2]=0;v[a+8>>2]=0;v[a+16>>2]=b?c:64;v[a>>2]=b?b:a+20|0}function sN(a,b,c){a=a|0;b=b|0;c=c|0;if(b){v[b>>2]=v[a+10056>>2]}if(c){v[c>>2]=v[a+252>>2]}}function YL(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;wc(a,v[a+8>>2]);return Ng(a,v[a+8>>2],b,c,d)|0}function QA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=0;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function MK(a,b,c){a=a|0;b=b|0;c=c|0;if(b){ee(a+20|0,b)}if(c){ic(a+20|0,v[c>>2],v[c+4>>2])}}function MA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=2;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function GA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=4;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function DL(a){a=a|0;var b=0,c=0;b=v[a>>2];c=v[a+4>>2];if(c){Ea[v[b+8>>2]](b,c)}v[a+4>>2]=0}function CA(a,b){a=a|0;b=b|0;a=v[a+16>>2];v[b+4>>2]=6;v[b>>2]=w[a+5|0]|w[a+4|0]<<8;return 0}function FO(a,b){a=a|0;b=b|0;a=w[a+19|0];b=w[b+19|0];return(a>>>0<b>>>0?-1:(a|0)!=(b|0))|0}function $v(a,b,c){a=a|0;b=b|0;c=c|0;if(b){v[b>>2]=v[a+7928>>2]}if(c){v[c>>2]=v[a+252>>2]}}function zf(){var a=0;a=Va(12);if(!a){return 0}v[a+8>>2]=0;v[a>>2]=0;v[a+4>>2]=0;return a}function uP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[e>>2]=0;v[d>>2]=0;return 1}function tP(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;v[e>>2]=0;v[d>>2]=0;return 0}function aJ(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=zt(a,b,c,d);if(a){t[a+130|0]=23}return a|0}function aB(a,b){a=a|0;b=b|0;a=v[a+4>>2];b=v[b+4>>2];return(a>>>0<b>>>0?-1:a>>>0>b>>>0)|0}function Jc(a,b,c){b=vb(a,b);if(!b){v[c>>2]=v[a+32>>2];v[a+32>>2]=0;v[a+36>>2]=0}return b}function ol(a,b,c){a=ra(a|0,b|0,c|0)|0;if(a>>>0>=4294963201){v[164114]=0-a;a=-1}return a}function eF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b+12>>2]+(c<<3)|0;v[a+4>>2]=v[a+4>>2]+d}function jQ(a,b){var c=0,d=0;c=b&31;d=(-1>>>c&a)<<c;c=a;a=0-b&31;return d|(c&-1<<a)>>>a}function EF(a){a=a|0;v[a+304>>2]=-1;v[a+308>>2]=-1;v[a+116>>2]=-1;t[a+112|0]=0;return 0}function vz(a){a=a|0;Qb(v[a+104>>2],a+788|0);v[a+800>>2]=0;v[a+792>>2]=0;v[a+796>>2]=0}function oy(a,b,c,d){a=a|0;b=b|0;c=+c;d=+d;c=c/d;if(c!=A[b+80>>3]){A[b+80>>3]=c;Fe(b)}}function YD(a,b){a=a|0;b=b|0;var c=0,d=0;c=a,d=Ea[v[b+52>>2]](b,0,0,0)|0,v[c+544>>2]=d}function EP(a,b,c){a=a|0;b=b|0;c=c|0;a=v[b+16>>2]+B(c,144)|0;Pa(v[a>>2]);Pa(v[a+4>>2])}function $q(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;Gk(c,v[v[a+424>>2]+(b<<2)>>2],d);return 0}function uB(a,b,c){a=a|0;b=b|0;c=c|0;v[b>>2]=v[a+176>>2];v[c>>2]=v[a+180>>2];return 0}function iQ(a){var b=0,c=0;while(1){c=b;if(a){a=a-1&a;b=b+1|0;continue}break}return c}function fB(a,b,c){a=a|0;b=b|0;c=c|0;v[b>>2]=v[a+132>>2];v[c>>2]=v[a+136>>2];return 0}function $b(a,b,c){var d=0;d=Ca-16|0;Ca=d;v[d+12>>2]=c;a=el(a,b,c);Ca=d+16|0;return a}function $P(a,b){a=a|0;b=b|0;a=x[a>>1];b=x[b>>1];return(a>>>0<b>>>0?-1:a>>>0>b>>>0)|0}function pP(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){t[d|0]=0}return 0}function gF(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;a=v[b+12>>2]+(c<<3)|0;v[a>>2]=v[a>>2]+d}function QD(a,b){a=a|0;b=b|0;return Ea[v[v[v[v[a>>2]+712>>2]+3084>>2]+12>>2]](a,b)|0}function bG(a,b,c,d,e
function wh(a,b){a=a|0;b=b|0;v[a+24>>2]=b}function sB(a,b){a=a|0;b=b|0;v[a+48>>2]=b}function rz(a,b){a=a|0;b=b|0;v[a+76>>2]=b}function rA(a,b){a=a|0;b=b|0;v[a+60>>2]=b}function pj(a,b){a=a|0;b=b|0;v[a+20>>2]=b}function nh(a,b){a=a|0;b=b|0;v[a+28>>2]=b}function ih(a,b){Ac(Xa(a)+a|0,b);return a}function gr(a,b){a=a|0;b=b|0;v[a+80>>2]=b}function cx(a,b){a=a|0;b=b|0;v[a+12>>2]=b}function Zz(a,b){a=a|0;b=b|0;v[a+64>>2]=b}function Ur(a,b,c,d){return qi(a,b,c,d,1)}function TB(a,b){a=a|0;b=+b;A[a+128>>3]=b}function Sk(a,b){a=a|0;b=b|0;v[a+32>>2]=b}function Mk(a,b){a=a|0;b=b|0;v[a+36>>2]=b}function LK(a,b){a=a|0;b=b|0;pf(a+20|0,b)}function Jz(a,b){a=a|0;b=b|0;v[a+68>>2]=b}function JK(a){a=a|0;Pa(v[a+12>>2]);Pa(a)}function JA(a,b){a=a|0;b=b|0;v[a+56>>2]=b}function Ik(a,b){a=a|0;b=b|0;v[a+40>>2]=b}function Er(a,b){a=a|0;b=b|0;v[a+44>>2]=b}function zr(a,b){a=a|0;b=+b;A[a+48>>3]=b}function wl(a,b){return Yl(v[a+12>>2],b)}function nE(a,b){a=a|0;b=+b;A[a+96>>3]=b}function hF(a,b){a=a|0;b=+b;A[a+64>>3]=b}function Vj(a,b){a=a|0;b=b|0;v[a+8>>2]=b}function UK(a){a=a|0;zd(v[a+4>>2]);Pa(a)}function TE(a,b){a=a|0;b=+b;A[a+72>>3]=b}function Kg(a){Lg(a);Pa(v[a+4>>2]);Pa(a)}function AE(a,b){a=a|0;b=+b;A[a+88>>3]=b}function $h(a,b){a=a|0;b=b|0;v[a+4>>2]=b}function $O(a,b){a=a|0;b=b|0;v[163456]=b}function xD(a){a=a|0;return v[a+112>>2]}function ws(a,b){a=a|0;b=+b;A[a+8>>3]=b}function vm(a){if((a|0)!=448128){Pa(a)}}function vC(a){a=a|0;return v[a+124>>2]}function nF(a){a=a|0;return x[a+256>>1]}function el(a,b,c){return gl(a,b,c,0,0)}function dE(a){a=a|0;return v[a+104>>2]}function dD(a){a=a|0;return v[a+116>>2]}function cl(a,b){return yi(a,b,10,-1,0)}function cC(a){a=a|0;return+A[a+128>>3]}function ar(a){a=a|0;return v[a+364>>2]}function Tz(a){a=a|0;return v[a+68>>2]}
function SK(a){a=a|0;jq(v[a>>2],a+28|0)}function PC(a){a=a|0;return v[a+120>>2]}function ND(a){a=a|0;return v[a+108>>2]}function JB(a){a=a|0;return v[a+136>>2]}function Hr(a){a=a|0;return v[a+44>>2]}
function DF(a){a=a|0;ur(a);t[a+112|0]=0}function zi(a,b,c){gl(a,b,c,1034,1035)}function tE(a){a=a|0;return+A[a+96>>3]}function sj(a){a=a|0;return v[a+20>>2]}function rF(a){a=a|0;return+A[a+64>>3]}function ph(a){a=a|0;return v[a+28>>2]}function kr(a){a=a|0;return v[a+80>>2]}function iA(a){a=a|0;return v[a+64>>2]}function eO(a){a=a|0;Sa(v[a>>2]);Pa(a)}function ZE(a){a=a|0;return+A[a+72>>3]}function Xk(a){a=a|0;return v[a+32>>2]}function TA(a){a=a|0;return v[a+56>>2]}function Qk(a){a=a|0;return v[a+36>>2]}function Kx(a){a=a|0;return v[a+12>>2]}function Jk(a){a=a|0;return v[a+40>>2]}function IE(a){a=a|0;return+A[a+88>>3]}function GF(a){a=a|0;return+A[a+56>>3]}function Fj(a){a=a|0;return v[a+16>>2]}function Dh(a){a=a|0;return v[a+24>>2]}function Bz(a){a=a|0;return v[a+76>>2]}function Ar(a){a=a|0;return+A[a+48>>3]}function AB(a){a=a|0;return v[a+48>>2]}function AA(a){a=a|0;return v[a+60>>2]}function $g(a,b){a=a|0;b=b|0;v[a>>2]=b}function sh(a,b,c){return Be(a,b,0,c)}function ei(a){a=a|0;return v[a+4>>2]}function ak(a){a=a|0;return v[a+8>>2]}function _t(a,b){return $t(a,b,858,0)}function Ws(a){a=a|0;return+A[a+8>>3]}function Gl(a,b){a=a|0;b=b|0;return 0}function cM(a){a=a|0;wc(a,v[a+8>>2])}function Zy(a){a=a|0;return 22028288}function Hh(a,b,c){a=a|0;b=b|0;c=c|0}function ls(a,b,c){gl(a,b,c,1034,0)}function ch(a){a=a|0;return v[a>>2]}function VM(a){a=a|0;return a+100|0}function Us(a,b){return Ki(a,b,1,1)}function UM(a){a=a|0;return a+112|0}function TM(a){a=a|0;return a+140|0}function HF(a){a=a|0;pb(v[a+24>>2])}function Gd(a){if(a){Pa(v[a-4>>2])}}function yt(a,b){a=a|0;b=b|0;Pa(b)}function tN(a){a=a|0;Ru(v[a+8>>2])}function SP(a,b){a=a|0;b=b|0;Ff(b)}function Ry(a){a=a|0;return Vt()|0}function Ky(a,b){a=a|0;b=b|0;bm(b)}function Ey(a,b){a=a|0;b=b|0;Rm(b)}function Cy(a,b){a=a|0;b=b|0;oj(b)}function CP(a,b){a=a|0;b=b|0;Ru(b)}function Uq(a){a=a|0;v[a+16>>2]=0}function Br(a){a=a|0;if(a){Pa(a)}}function Hi(a){rd(v[a>>2]);Pa(a)}function rf(a,b){return _d(a,b)}function Hg(a,b){return ql(a,b)}function Rb(a){Re(a,v[130914])}function yq(a){a=a|0;return 0}function kj(a){Gd(v[a+20>>2])}function Yq(a){a=a|0;return 1}function gz(){return $r(1)|0}function AC(a,b){a=a|0;b=b|0}function vG(){return 656456}function Rl(a){a=a|0;Pa(a)}function RG(a){a=a|0;zl(a)}function Jy(a){a=a|0;Sa(a)}function iG(){return Ca|0}function hG(a){a=a|0;Ca=a}function BL(){return 1024}function XL(){return 128}function RL(){return 256}function HL(){return 512}function qM(){return 16}function jM(){return 32}function bM(){return 64}function yM(){return 8}function dn(){return 0}function cn(){return 1}function bn(){return 2}function OM(){return 3}function FM(){return 4}function Zd(a){a=a|0}function Fv(){}
// EMSCRIPTEN_END_FUNCS
e=w;var Ea=c([null,bQ,yJ,tJ,sJ,rJ,Bt,yt,NG,DG,wG,uG,ZF,YF,XF,WF,VF,UF,TF,SF,RF,QF,PF,LF,KF,JF,IF,HF,NE,AF,vF,uF,tF,sF,qF,pF,oF,nF,rr,mF,lF,kF,jF,iF,gF,fF,eF,dF,cF,bF,aF,$E,_E,YE,XE,WE,QE,OF,Zd,NF,MF,FF,EF,DF,CF,BF,sr,yF,xF,wF,VE,UE,ng,Ak,SE,xr,RE,vr,PE,OE,wr,wk,ME,LE,HE,xE,Vq,uk,Zd,KE,JE,GE,FE,EE,DE,CE,BE,zE,yE,wE,vE,ar,$q,uE,_q,Zq,Yq,Xq,sE,$F,_F,rE,qE,Wq,pE,oE,mE,lE,kE,jE,iE,hE,bh,gE,fE,eE,cE,bE,aE,$D,_D,ZD,YD,SD,VC,UC,XD,Uq,VD,UD,TD,rk,RD,QD,uk,Zd,PD,OD,MD,LD,KD,JD,Qq,ID,sr,GD,FD,Pq,ED,DD,CD,BD,AD,zD,yD,wD,vD,uD,tD,sD,rD,qD,pD,oD,nD,lD,kD,jD,iD,hD,gD,Oq,fD,eD,Mq,cD,bD,aD,$C,_C,ZC,YC,XC,Kq,uk,Zd,TC,SC,RC,QC,OC,NC,Qq,MC,LC,KC,JC,IC,HC,GC,EC,DC,CC,BC,AC,tC,sC,rC,qC,zC,Jq,yC,xC,wC,uC,pC,oC,nC,mC,kC,jC,Gq,iC,hC,Zd,gC,fC,eC,dC,bC,aC,$B,_B,ZB,YB,$q,XB,ar,_q,Zq,Yq,Xq,WB,VB,UB,SB,RB,QB,PB,OB,NB,MB,LB,KB,IB,HB,Eq,Dq,GB,FB,Dq,Eq,DB,CB,BB,yq,Zd,zB,yB,di,xB,wB,vB,uB,tB,rB,qB,pB,Uq,oB,nB,kB,cB,bB,aB,Qf,mB,lB,kk,iB,hB,gB,fB,eB,_A,Jq,ZA,YA,yt,Bt,Yz,aq,$p,aq,$p,fz,ez,qG,yd,cz,bz,az,Xy,Wy,Vz,Uz,Sz,Rz,WA,Qz,Pz,Oz,Nz,Mz,Lz,Kz,Iz,Hz,Gz,Fz,Ez,Dz,Cz,_h,Az,zz,yz,xz,wz,vz,uz,tz,sz,qz,pz,oz,Yp,nz,mz,lz,kz,jz,iz,hz,Yd,dz,VA,UA,SA,RA,QA,PA,OA,NA,MA,LA,KA,IA,HA,GA,FA,EA,DA,CA,BA,zA,yA,xA,wA,vA,uA,tA,fq,sA,qA,pA,oA,fq,nA,mA,lA,kA,jA,hA,Gl,gA,fA,eA,dA,cA,bA,aA,$z,_z,rk,Xz,Wz,$y,_y,Yy,Vy,Uy,Ty,fk,Sy,Qy,Py,Oy,Ny,My,Ly,Pa,Jy,Hy,By,zy,xy,uy,Ko,my,ly,ky,jy,hy,gy,fy,ey,dy,cy,ay,$x,sy,ry,Zx,Yx,Wx,Vx,Ux,Tx,Rx,Qx,ty,Ox,Nx,Mx,$P,ZP,YP,Mj,_P,XP,VP,Rl,UP,Ix,TP,RP,QP,PP,NP,MP,LP,KP,JP,IP,HP,GP,oP,nP,mP,zP,kP,jP,iP,wP,vP,hP,gP,eP,dP,cP,bP,aP,_O,fx,fx,AP,ex,yP,xP,uP,tP,Qf,Qf,rP,qP,pP,ex,XO,WO,YO,Rw,Qw,VO,UO,TO,RO,QO,PO,OO,Rl,NO,MO,LO,IO,HO,Mj,FO,JO,GO,DO,CO,BO,zO,yO,Mj,EO,xO,wO,Fw,Ix,vO,tO,rO,qO,Mj,uO,pO,oO,Rl,Fw,nO,mO,lO,kO,iO,hO,gO,Bw,gx,eO,dO,bO,$N,_N,ZN,Nh,XN,WN,rr,VN,Qf,Qf,UN,PN,QN,ON,NN,MN,LN,KN,JN,IN,HN,GN,FN,EN,DN,oN,CN,bw,$v,_v,Zv,zN,yN,vN,uN,sN,rN,qN,xN,bw,$v,_v,wN,pN,mN,Zd,lN,kN,jN,iN,fN,eN,dN,cN,bN,aN,en,$M,_M,ZM,YM,XM,VM,UM,TM,gN,WM,KM,JM,Mr,Fv,Fv,Ev,Hh,Nh,SM,vj,RM,QM,an,$m,_m,PM,NM,MM,LM,EM,DM,CM,BM,Zd,AM,zM,Hh,xM,wM,Ev,Hh,Nh,IM,vj,HM,GM,an,$m,_m,zv,Hh,Nh,pM,vj,vM,Zd,uM,tM,an,$m,_m,zv,Hh,Nh,rM,vj,sM,oM,nM,mM,lM,kM,iM,JL,IL,GL,FL,Vq,jL,hM,gM,fM,eM,dM,Zd,cM,Vm,aM,$L,_L,ZL,YL,Gf,WL,tv,VL,UL,Tm,TL,Tm,sv,SL,QL,PL,OL,rv,NL,ML,LL,KL,EL,DL,CL,tL,sL,rL,qL,pL,oL,nL,mL,lL,kL,rk,iL,hL,AL,Tm,sv,zL,yL,xL,wL,rv,vL,uL,gL,fL,eL,dL,aL,iv,bL,$K,_K,ZK,YK,cL,CG,XK,WK,VK,UK,TK,SK,RK,QK,PK,OK,NK,MK,LK,KK,JK,IK,GK,FK,EK,HK,DK,CK,BK,AK,lK,zK,yK,xK,wK,kK,vK,uK,tK,sK,mK,rK,qK,pK,oK,hK,nK,jK,iK,gK,fK,eK,dK,cK,bK,aK,$J,Qf,_J,ZJ,YJ,XJ,WJ,VJ,UJ,TJ,SJ,RJ,QJ,PJ,OJ,NJ,MJ,LJ,JJ,HJ,FJ,DJ,KJ,IJ,GJ,EJ,CJ,BJ,AJ,zJ,xJ,wJ,qJ,pJ,oJ,nJ,mJ,lJ,kJ,jJ,iJ,gJ,eJ,dJ,bJ,$I,_I,ZI,YI,XI,WI,VI,UI,TI,SI,RI,QI,PI,OI,NI,MI,LI,KI,JI,II,Gl,HI,GI,FI,EI,DI,lI,kI,jI,iI,hI,gI,fI,eI,dI,cI,bI,aI,$H,_H,ZH,YH,CI,BI,AI,zI,yI,xI,wI,vI,uI,tI,sI,rI,qI,pI,oI,nI,mI,XH,WH,VH,Qf,TH,xH,jt,SH,RH,QH,PH,OH,NH,MH,LH,KH,JH,IH,HH,GH,FH,EH,DH,CH,BH,sH,UH,kH,eH,dH,AH,zH,uH,yH,wH,vH,tH,rH,qH,pH,mH,oH,nH,lH,jH,iH,hH,gH,fH,cH,Va,gb,bH,fJ,xt,aJ,zt,$G,aH,_G,ZG,cJ,hJ,Hl,XG,YG,Xs,WG,VG,Zd,UG,TG,SG,RG,uJ,Db,QG,vJ,id,PG,OG,MG,LG,KG,JG,IG,HG,GG,FG,Cs,EG,BG,AG,zG,yG,xG,rG,kG,tG,nG,sG,pG,oG,yq,mG,lG]);function Fa(){return s.byteLength/65536|0}function Ka(La){La=La|0;var Ga=Fa()|0;var Ha=Ga+La|0;if(Ga<Ha&&Ha<65536){var Ia=new ArrayBuffer(B(Ha,65536));var Ja=new Int8Array(Ia);Ja.set(t);t=new Int8Array(Ia);u=new Int16Array(Ia);v=new Int32Array(Ia);w=new Uint8Array(Ia);x=new Uint16Array(Ia);y=new Uint32Array(Ia);z=new Float32Array(Ia);A=new Float64Array(Ia);s=Ia;r.buffer=s;e=w}return Ga}return{"R":Lx,"S":Va,"T":Pa,"U":Gl,"V":Br,"W":ch,"X":$g,"Y":ei,"Z":$h,"_":ak,"$":Vj,"aa":Kx,"ba":cx,"ca":Fj,"da":zj,"ea":sj,"fa":pj,"ga":Dh,"ha":wh,"ia":ph,"ja":nh,"ka":ch,"la":$g,"ma":ei,"na":$h,"oa":Ws,"pa":ws,"qa":Fj,"ra":zj,"sa":sj,"ta":pj,"ua":Dh,"va":wh,"wa":ph,"xa":nh,"ya":Xk,"za":Sk,"Aa":Qk,"Ba":Mk,"Ca":Jk,"Da":Ik,"Ea":Hr,"Fa":Er,"Ga":Ar,"Ha":zr,"Ia":GF,"Ja":zF,"Ka":rF,"La":hF,"Ma":ZE,"Na":TE,"Oa":kr,"Pa":gr,"Qa":IE,"Ra":AE,"Sa":tE,"Ta":nE,"Ua":dE,"Va":WD,"Wa":ND,"Xa":HD,"Ya":xD,"Za":mD,"_a":dD,"$a":WC,"ab":PC,"bb":FC,"cb":vC,"db":lC,"eb":cC,"fb":TB,"gb":JB
// EMSCRIPTEN_END_ASM
)(asmLibraryArg)},instantiate:function(binary,info){return{then:function(ok){var module=new WebAssembly.Module(binary);ok({"instance":new WebAssembly.Instance(module)})}}},RuntimeError:Error};wasmBinary=[];if(typeof WebAssembly!=="object"){abort("no native wasm support detected")}function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var wasmMemory;var ABORT=false;var EXITSTATUS;function assert(condition,text){if(!condition){abort("Assertion failed: "+text)}}function getCFunc(ident){var func=Module["_"+ident];assert(func,"Cannot call unknown function "+ident+", make sure it is exported");return func}function ccall(ident,returnType,argTypes,args,opts){var toC={"string":function(str){var ret=0;if(str!==null&&str!==undefined&&str!==0){var len=(str.length<<2)+1;ret=stackAlloc(len);stringToUTF8(str,ret,len)}return ret},"array":function(arr){var ret=stackAlloc(arr.length);writeArrayToMemory(arr,ret);return ret}};function convertReturnValue(ret){if(returnType==="string")return UTF8ToString(ret);if(returnType==="boolean")return Boolean(ret);return ret}var func=getCFunc(ident);var cArgs=[];var stack=0;if(args){for(var i=0;i<args.length;i++){var converter=toC[argTypes[i]];if(converter){if(stack===0)stack=stackSave();cArgs[i]=converter(args[i])}else{cArgs[i]=args[i]}}}var ret=func.apply(null,cArgs);ret=convertReturnValue(ret);if(stack!==0)stackRestore(stack);return ret}function cwrap(ident,returnType,argTypes,opts){argTypes=argTypes||[];var numericArgs=argTypes.every(function(type){return type==="number"});var numericRet=returnType!=="string";if(numericRet&&numericArgs&&!opts){return getCFunc(ident)}return function(){return ccall(ident,returnType,argTypes,arguments,opts)}}var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(heap,idx,maxBytesToRead){var endIdx=idx+maxBytesToRead;var endPtr=idx;while(heap[endPtr]&&!(endPtr>=endIdx))++endPtr;if(endPtr-idx>16&&heap.subarray&&UTF8Decoder){return UTF8Decoder.decode(heap.subarray(idx,endPtr))}else{var str="";while(idx<endPtr){var u0=heap[idx++];if(!(u0&128)){str+=String.fromCharCode(u0);continue}var u1=heap[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}var u2=heap[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u0=(u0&7)<<18|u1<<12|u2<<6|heap[idx++]&63}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}return str}function UTF8ToString(ptr,maxBytesToRead){return ptr?UTF8ArrayToString(HEAPU8,ptr,maxBytesToRead):""}function stringToUTF8Array(str,heap,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343){var u1=str.charCodeAt(++i);u=65536+((u&1023)<<10)|u1&1023}if(u<=127){if(outIdx>=endIdx)break;heap[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;heap[outIdx++]=192|u>>6;heap[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;heap[outIdx++]=224|u>>12;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}else{if(outIdx+3>=endIdx)break;heap[outIdx++]=240|u>>18;heap[outIdx++]=128|u>>12&63;heap[outIdx++]=128|u>>6&63;heap[outIdx++]=128|u&63}}heap[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i<str.length;++i){var u=str.charCodeAt(i);if(u>=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127)++len;else if(u<=2047)len+=2;else if(u<=65535)len+=3;else len+=4}return len}function allocateUTF8OnStack(str){var size=lengthBytesUTF8(str)+1;var ret=stackAlloc(size);stringToUTF8Array(str,HEAP8