mini.css/docs/sass.worker.js

841 lines
3.7 MiB
JavaScript
Raw Permalink Normal View History

2018-08-04 07:11:52 +00:00
/*! sass.js - v0.10.10 (4ca6ca1) - built 2018-07-07
providing libsass 3.5.4 (1e52b743)
via emscripten 1.37.35 ()
2018-05-26 10:46:26 +00:00
*/
2018-08-04 07:11:52 +00:00
var Module=typeof Module!=="undefined"?Module:{};var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}Module["arguments"]=[];Module["thisProgram"]="./this.program";Module["quit"]=(function(status,toThrow){throw toThrow});Module["preRun"]=[];Module["postRun"]=[];var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("Module['ENVIRONMENT'] value is not valid. must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){var nodeFS;var nodePath;Module["read"]=function shell_read(filename,binary){var ret;ret=tryParseAsDataURI(filename);if(!ret){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);ret=nodeFS["readFileSync"](filename)}return binary?ret:ret.toString()};Module["readBinary"]=function readBinary(filename){var ret=Module["read"](filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));process["on"]("unhandledRejection",(function(reason,p){process["exit"](1)}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){Module["read"]=function shell_read(f){var data=tryParseAsDataURI(f);if(data){return intArrayToString(data)}return read(f)}}Module["readBinary"]=function readBinary(f){var data;data=tryParseAsDataURI(f);if(data){return data}if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof quit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function shell_read(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}Module["setWindowTitle"]=(function(title){document.title=title})}Module["print"]=typeof console!=="undefined"?console.log.bind(console):typeof print!=="undefined"?print:null;Module["printErr"]=typeof printErr!=="undefined"?printErr:typeof console!=="undefined"&&console.warn.bind(console)||Module["print"];Module.print=Module["print"];Module.printErr=Module["printErr"];for(key in module
2018-05-26 10:46:26 +00:00
var asm=(/** @suppress {uselessCode} */ function(global,env,buffer) {
"almost asm";var a=global.Int8Array;var b=new a(buffer);var c=global.Int16Array;var d=new c(buffer);var e=global.Int32Array;var f=new e(buffer);var g=global.Uint8Array;var h=new g(buffer);var i=global.Uint16Array;var j=new i(buffer);var k=global.Uint32Array;var l=new k(buffer);var m=global.Float32Array;var n=new m(buffer);var o=global.Float64Array;var p=new o(buffer);var q=global.byteLength;var r=env.DYNAMICTOP_PTR|0;var s=env.tempDoublePtr|0;var t=env.ABORT|0;var u=env.STACKTOP|0;var v=env.STACK_MAX|0;var w=env.cttz_i8|0;var x=0;var y=0;var z=0;var A=0;var B=global.NaN,C=global.Infinity;var D=0,E=0,F=0,G=0,H=0.0;var I=0;var J=global.Math.floor;var K=global.Math.abs;var L=global.Math.sqrt;var M=global.Math.pow;var N=global.Math.cos;var O=global.Math.sin;var P=global.Math.tan;var Q=global.Math.acos;var R=global.Math.asin;var S=global.Math.atan;var T=global.Math.atan2;var U=global.Math.exp;var V=global.Math.log;var W=global.Math.ceil;var X=global.Math.imul;var Y=global.Math.min;var Z=global.Math.max;var _=global.Math.clz32;var $=env.abort;var aa=env.assert;var ba=env.enlargeMemory;var ca=env.getTotalMemory;var da=env.abortOnCannotGrowMemory;var ea=env.invoke_ddd;var fa=env.invoke_ddi;var ga=env.invoke_di;var ha=env.invoke_dii;var ia=env.invoke_diii;var ja=env.invoke_diiiii;var ka=env.invoke_diiiiidd;var la=env.invoke_i;var ma=env.invoke_id;var na=env.invoke_iddd;var oa=env.invoke_iddddii;var pa=env.invoke_idi;var qa=env.invoke_ii;var ra=env.invoke_iid;var sa=env.invoke_iii;var ta=env.invoke_iiii;var ua=env.invoke_iiiii;var va=env.invoke_iiiiid;var wa=env.invoke_iiiiii;var xa=env.invoke_iiiiiid;var ya=env.invoke_iiiiiii;var za=env.invoke_iiiiiiii;var Aa=env.invoke_iiiiiiiii;var Ba=env.invoke_iiiiiiiiiii;var Ca=env.invoke_iiiiiiiiiiii;var Da=env.invoke_iiiiiiiiiiiii;var Ea=env.invoke_v;var Fa=env.invoke_vi;var Ga=env.invoke_vii;var Ha=env.invoke_viidii;var Ia=env.invoke_viii;var Ja=env.invoke_viiii;var Ka=env.invoke_viiiii;var La=env.invoke_viiiiii;var Ma=env.invoke_viiiiiii;var Na=env.invoke_viiiiiiii;var Oa=env.invoke_viiiiiiiiii;var Pa=env.invoke_viiiiiiiiiiiiiii;var Qa=env.__ZSt18uncaught_exceptionv;var Ra=env.___assert_fail;var Sa=env.___buildEnvironment;var Ta=env.___cxa_allocate_exception;var Ua=env.___cxa_begin_catch;var Va=env.___cxa_call_unexpected;var Wa=env.___cxa_end_catch;var Xa=env.___cxa_find_matching_catch;var Ya=env.___cxa_find_matching_catch_2;var Za=env.___cxa_find_matching_catch_3;var _a=env.___cxa_find_matching_catch_4;var $a=env.___cxa_find_matching_catch_6;var ab=env.___cxa_find_matching_catch_8;var bb=env.___cxa_free_exception;var cb=env.___cxa_get_exception_ptr;var db=env.___cxa_pure_virtual;var eb=env.___cxa_rethrow;var fb=env.___cxa_throw;var gb=env.___gxx_personality_v0;var hb=env.___lock;var ib=env.___map_file;var jb=env.___resumeException;var kb=env.___setErrNo;var lb=env.___syscall140;var mb=env.___syscall145;var nb=env.___syscall146;var ob=env.___syscall183;var pb=env.___syscall195;var qb=env.___syscall220;var rb=env.___syscall221;var sb=env.___syscall3;var tb=env.___syscall5;var ub=env.___syscall54;var vb=env.___syscall6;var wb=env.___syscall91;var xb=env.___unlock;var yb=env.__addDays;var zb=env.__arraySum;var Ab=env.__exit;var Bb=env.__isLeapYear;var Cb=env._abort;var Db=env._dlclose;var Eb=env._dlerror;var Fb=env._dlopen;var Gb=env._dlsym;var Hb=env._emscripten_asm_const_ii;var Ib=env._emscripten_asm_const_iii;var Jb=env._emscripten_asm_const_iiii;var Kb=env._emscripten_get_now;var Lb=env._emscripten_memcpy_big;var Mb=env._emscripten_set_main_loop;var Nb=env._emscripten_set_main_loop_timing;var Ob=env._emscripten_sleep;var Pb=env._exit;var Qb=env._getenv;var Rb=env._llvm_ceil_f64;var Sb=env._llvm_eh_typeid_for;var Tb=env._llvm_fabs_f64;var Ub=env._llvm_floor_f64;var Vb=env._llvm_pow_f64;var Wb=env._llvm_trap;var Xb=env._llvm_trunc_f64;var Yb=env._pthread_cond_wait;var Zb=env._pthread_getspecific;var _b=env._pthread_key_create;var $b=env._pthread_once;var ac=env._pthread_setspecific;var bc=env._strftime;var cc=env._strftime_l;var dc=0.0;var ec=0;var fc=env.EMTSTACKTOP|0;var gc=env.EMT_STA
// EMSCRIPTEN_START_FUNCS
2018-08-04 07:11:52 +00:00
function cl(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;r=u;u=u+48|0;m=r+32|0;n=r+24|0;o=r+16|0;q=r+8|0;p=r;if((f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)!=32680){q=0;u=r;return q|0}g=a+60|0;d=c+60|0;e=b[g+11>>0]|0;i=e<<24>>24<0;e=e&255;j=i?f[a+64>>2]|0:e;l=b[d+11>>0]|0;h=l<<24>>24<0;if((j|0)!=((h?f[c+64>>2]|0:l&255)|0)){q=0;u=r;return q|0}k=f[g>>2]|0;l=i?k:g;d=h?f[d>>2]|0:d;h=(j|0)==0;a:do if(i){if(!h)if(lO(l,d,j)|0){q=0;u=r;return q|0}}else if(!h){if((b[d>>0]|0)!=(k&255)<<24>>24){q=0;u=r;return q|0}while(1){e=e+-1|0;g=g+1|0;if(!e)break a;d=d+1|0;if((b[g>>0]|0)!=(b[d>>0]|0)){d=0;break}}u=r;return d|0}while(0);l=a+76|0;x=0;Ga(462,m|0,f[l>>2]|0);a=x;x=0;b:do if(a&1){e=_a(6240,0)|0;d=I}else{f[m>>2]=9376;e=f[m+4>>2]|0;d=f[e+68>>2]|0;e=f[e+64>>2]|0;k=c+76|0;x=0;Ga(462,n|0,f[k>>2]|0);c=x;x=0;if(c&1){e=_a(6240,0)|0;d=I;_P(m);break}f[n>>2]=9376;c=f[n+4>>2]|0;c=(d-e|0)==((f[c+68>>2]|0)-(f[c+64>>2]|0)|0);_P(n);_P(m);if(!c){q=0;u=r;return q|0}x=0;Ga(462,o|0,f[l>>2]|0);n=x;x=0;c:do if(!(n&1)){f[o>>2]=9376;j=f[o+4>>2]|0;j=(f[j+68>>2]|0)-(f[j+64>>2]|0)>>3;_P(o);if(!j){q=1;u=r;return q|0}h=q+4|0;i=p+4|0;g=0;while(1){x=0;Ga(462,q|0,f[l>>2]|0);o=x;x=0;if(o&1)break c;f[q>>2]=9376;e=f[(f[(f[h>>2]|0)+64>>2]|0)+(g<<3)+4>>2]|0;d=f[(f[e>>2]|0)+92>>2]|0;x=0;Ga(462,p|0,f[k>>2]|0);o=x;x=0;if(o&1){g=24;break}f[p>>2]=9376;x=0;d=sa(d|0,e|0,f[(f[(f[i>>2]|0)+64>>2]|0)+(g<<3)+4>>2]|0)|0;o=x;x=0;if(o&1){g=25;break}_P(p);_P(q);g=g+1|0;if(!d){d=0;g=27;break}if(g>>>0>=j>>>0){d=1;g=27;break}}if((g|0)==24){e=_a(6240,0)|0;d=I}else if((g|0)==25){e=_a(6240,0)|0;d=I;_P(p)}else if((g|0)==27){u=r;return d|0}_P(q);break b}while(0);e=_a(6240,0)|0;d=I}while(0);q=(d|0)==(Sb(6240)|0);Ua(e|0)|0;if(q){Wa();q=0;u=r;return q|0}x=0;Ea(3);x=0;d=Ya()|0;x=0;Ea(4);r=x;x=0;if(r&1){r=Za(0)|0;soa(r)}else jb(d|0);return 0}function dl(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;g=0;h=u;u=u+80|0;i=h+16|0;e=h;c=f[c+4>>2]|0;if(!c){i=0;u=h;return i|0}d=a+72|0;Lc[f[(f[c>>2]|0)+44>>2]&1023](c,d);TP(a+76|0,1);Ge(i,d);c=f[a+16>>2]|0;a:do if(!(b[c+24>>0]|0)){if(b[c+21>>0]|0){j=a+424|0;d=b[j+11>>0]|0;c=d<<24>>24<0;x=0;ta(41,i|0,(c?f[j>>2]|0:j)|0,(c?f[a+428>>2]|0:d&255)|0)|0;d=x;x=0;if(d&1){g=10;break}x=0;Ga(530,e|0,a|0);j=x;x=0;do if(j&1)c=Ya()|0;else{d=e+11|0;j=b[d>>0]|0;a=j<<24>>24<0;x=0;ta(41,i|0,(a?f[e>>2]|0:e)|0,(a?f[e+4>>2]|0:j&255)|0)|0;j=x;x=0;if(j&1){c=Ya()|0;if((b[d>>0]|0)>=0)break;Hta(f[e>>2]|0);break}if((b[d>>0]|0)<0)Hta(f[e>>2]|0);g=29;break a}while(0);break}c=a+460|0;j=b[c+11>>0]|0;do if(!((j<<24>>24<0?f[a+464>>2]|0:j&255)|0)){x=0;d=wa(21,c|0,0,-1,89823,0)|0;j=x;x=0;if(j&1){j=Za(0)|0;soa(j)}else if(!d){g=29;break a}else break}while(0);k=a+424|0;j=b[k+11>>0]|0;d=j<<24>>24<0;x=0;ta(41,i|0,(d?f[k>>2]|0:k)|0,(d?f[a+428>>2]|0:j&255)|0)|0;j=x;x=0;if(j&1)g=10;else{x=0;Ia(90,e|0,a|0,c|0);k=x;x=0;do if(k&1)c=Ya()|0;else{d=e+11|0;k=b[d>>0]|0;j=k<<24>>24<0;x=0;ta(41,i|0,(j?f[e>>2]|0:e)|0,(j?f[e+4>>2]|0:k&255)|0)|0;k=x;x=0;if(k&1){c=Ya()|0;if((b[d>>0]|0)>=0)break;Hta(f[e>>2]|0);break}if((b[d>>0]|0)<0)Hta(f[e>>2]|0);g=29;break a}while(0)}}else g=29;while(0);if((g|0)==29){e=i+11|0;x=0;g=qa(325,((b[e>>0]|0)<0?f[i>>2]|0:i)|0)|0;k=x;x=0;if(k&1)g=10;else{c=i+48|0;if((b[c+11>>0]|0)<0)Hta(f[c>>2]|0);c=f[i+24>>2]|0;if(c|0){d=i+28|0;a=f[d>>2]|0;if((a|0)!=(c|0))f[d>>2]=a+(~(((a+-24-c|0)>>>0)/24|0)*24|0);Hta(c)}c=f[i+12>>2]|0;if(c|0){d=i+16|0;a=f[d>>2]|0;if((a|0)!=(c|0))f[d>>2]=a+(~((a+-4-c|0)>>>2)<<2);Hta(c)}if((b[e>>0]|0)<0)Hta(f[i>>2]|0);k=g;u=h;return k|0}}if((g|0)==10)c=Ya()|0;d=i+48|0;if((b[d+11>>0]|0)<0)Hta(f[d>>2]|0);d=f[i+24>>2]|0;if(d|0){a=i+28|0;e=f[a>>2]|0;if((e|0)!=(d|0))f[a>>2]=e+(~(((e+-24-d|0)>>>0)/24|0)*24|0);Hta(d)}d=f[i+12>>2]|0;if(d|0){a=i+16|0;e=f[a>>2]|0;if((e|0)!=(d|0))f[a>>2]=e+(~((e+-4-d|0)>>>2)<<2);Hta(d)}if((b[i+11>>0]|0)>=0)jb(c|0);Hta(f[i>>2]|0);jb(c|0);return 0}function el(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0.0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=u;u=u+128|0;o=n;m=n+116|0;k=n+104|0;Gv(m,g);x=0;i=o;g=i+40|0;do{f[i>>2]=f[e>>2];i=i+4|0;e=e+4|0}while((i|0)<(g|0));c=wa(24,a|0,c|0,d|0,o|0,m|0)|0;d=x;x=0;if(d&1){d=Ya()|0;a=I;g=f[m>>2]|0;if(!
function KB(a,b,c,d,e,g,h){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0;i=u;u=u+416|0;c=i+8|0;d=i;f[d>>2]=c+400;cA(a+8|0,c,d,e,g,h);h=f[d>>2]|0;g=c;c=f[b>>2]|0;while(1){if((g|0)==(h|0))break;d=f[g>>2]|0;if(!c)c=0;else{a=c+24|0;e=f[a>>2]|0;if((e|0)==(f[c+28>>2]|0)){b=f[(f[c>>2]|0)+52>>2]|0;d=mra(d)|0;d=xc[b&2047](c,d)|0}else{f[a>>2]=e+4;f[e>>2]=d;d=mra(d)|0}b=vja(d,Jta()|0)|0;c=b?0:c}g=g+4|0}u=i;return c|0}function LB(a){a=a|0;var c=0,d=0;if(!(R5(a)|0))c=0;else{d=a+1|0;if(!(R5(d)|0)){c=1;a=d}else{d=a+2|0;if(!(R5(d)|0)){c=2;a=d}else{d=a+3|0;if(!(R5(d)|0)){c=3;a=d}else{d=a+4|0;if(!(R5(d)|0)){c=4;a=d}else{d=a+5|0;if(!(R5(d)|0)){c=5;a=d}else{d=a+6|0;c=6;c=(c|0)!=0;d=c?d:0;return d|0}}}}}}while(1){if((b[a>>0]|0)!=63){d=6;break}a=a+1|0;c=c+1|0;if(c>>>0>=6){d=6;break}}if((d|0)==6){d=(c|0)!=0;d=d?a:0;return d|0}return 0}function MB(a,c,d,e,g,h,i){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0;j=u;u=u+112|0;d=j+4|0;e=j;f[e>>2]=d+100;wI(a+8|0,d,e,g,h,i);i=f[e>>2]|0;h=d;d=f[c>>2]|0;while(1){if((h|0)==(i|0))break;e=b[h>>0]|0;if(!d)d=0;else{a=d+24|0;g=f[a>>2]|0;if((g|0)==(f[d+28>>2]|0)){c=f[(f[d>>2]|0)+52>>2]|0;e=mqa(e)|0;e=xc[c&2047](d,e)|0}else{f[a>>2]=g+1;b[g>>0]=e;e=mqa(e)|0}c=wja(e,Kta()|0)|0;d=c?0:d}h=h+1|0}u=j;return d|0}function NB(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0;if((f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)!=32768){k=0;return k|0}e=a+60|0;i=c+60|0;d=b[e+11>>0]|0;k=d<<24>>24<0;d=d&255;j=k?f[a+64>>2]|0:d;h=b[i+11>>0]|0;a=h<<24>>24<0;if((j|0)!=((a?f[c+64>>2]|0:h&255)|0)){k=0;return k|0}g=f[e>>2]|0;h=k?g:e;a=a?f[i>>2]|0:i;c=(j|0)==0;if(k){if(c){k=1;return k|0}k=(lO(h,a,j)|0)==0;return k|0}if(c){k=1;return k|0}if((b[a>>0]|0)!=(g&255)<<24>>24){k=0;return k|0}while(1){d=d+-1|0;e=e+1|0;if(!d){a=1;d=10;break}a=a+1|0;if((b[e>>0]|0)!=(b[a>>0]|0)){a=0;d=10;break}}if((d|0)==10)return a|0;return 0}function OB(a){a=a|0;var c=0;c=WF(a)|0;if(!c){c=0;return c|0}a=XF(c)|0;if(!a){if((b[c>>0]|0)==45)a=c;else return c|0;do a=a+1|0;while((b[a>>0]|0)==45);a=WF(a)|0;if(!a)return c|0}while(1){c=XF(a)|0;if(c|0){a=c;continue}if((b[a>>0]|0)==45)c=a;else{c=10;break}do c=c+1|0;while((b[c>>0]|0)==45);c=WF(c)|0;if(!c){c=10;break}else a=c}if((c|0)==10)return a|0;return 0}function PB(a){a=a|0;var c=0,d=0,e=0,g=0;g=VN(88)|0;x=0;Fa(427,g|0);e=x;x=0;if(e&1){a=Ya()|0;Hta(g);jb(a|0)}c=g+12|0;d=a+12|0;e=c+40|0;do{f[c>>2]=f[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));b[g+52>>0]=b[a+52>>0]|0;b[g+53>>0]=b[a+53>>0]|0;b[g+54>>0]=b[a+54>>0]|0;c=g+56|0;f[g>>2]=11536;f[c>>2]=4;d=g+60|0;f[d>>2]=9660;x=0;Ga(471,g+64|0,a+64|0);e=x;x=0;if(!(e&1)){f[g+76>>2]=f[a+76>>2];f[g>>2]=11364;f[d>>2]=11496;b[g+80>>0]=b[a+80>>0]|0;f[g+84>>2]=f[a+84>>2];f[c>>2]=4;return g|0}a=Ya()|0;Hta(g);jb(a|0);return 0}function QB(a){a=a|0;var b=0,c=0,d=0,e=0;if(!a)return;switch(f[a>>2]|0){case 8:{$h(f[a+4>>2]|0);break}case 7:{$h(f[a+4>>2]|0);break}case 1:{$h(f[a+16>>2]|0);break}case 5:{e=a+4|0;d=a+8|0;b=f[d>>2]|0;if(f[e>>2]|0){c=0;do{QB(f[b+(c<<3)>>2]|0);QB(f[(f[d>>2]|0)+(c<<3)+4>>2]|0);c=c+1|0;b=f[d>>2]|0}while(c>>>0<(f[e>>2]|0)>>>0)}$h(b);break}case 3:{$h(f[a+8>>2]|0);break}case 4:{d=a+12|0;e=a+16|0;b=f[e>>2]|0;if(f[d>>2]|0){c=0;do{QB(f[b+(c<<2)>>2]|0);c=c+1|0;b=f[e>>2]|0}while(c>>>0<(f[d>>2]|0)>>>0)}$h(b);break}default:{}}$h(a);return}function RB(a){a=a|0;var b=0,c=0,d=0;if(!a)return;sS(f[a+68>>2]|0);VT(f[a+72>>2]|0);VT(f[a+76>>2]|0);b=f[a+56>>2]|0;if(b|0)do{c=b;b=f[b>>2]|0;$h(f[c+4>>2]|0);$h(c)}while((b|0)!=0);b=f[a+52>>2]|0;if(b|0)do{c=b;b=f[b>>2]|0;$h(f[c+4>>2]|0);$h(c)}while((b|0)!=0);b=f[a+48>>2]|0;if(b|0)do{c=b;b=f[b>>2]|0;$h(f[c+4>>2]|0);$h(c)}while((b|0)!=0);d=a+28|0;$h(f[d>>2]|0);c=a+32|0;$h(f[c>>2]|0);$h(f[a+44>>2]|0);b=a+40|0;$h(f[b>>2]|0);$h(f[a+60>>2]|0);$h(f[a+64>>2]|0);f[d>>2]=0;f[c>>2]=0;a=b+40|0;do{f[b>>2]=0;b=b+4|0}while((b|0)<(a|0));return}function SB(a,c){a=a|0;c=c|0;var d=0,e=0,g=0;efa(a);f[a>>2]=6696;d=a+12|0;e=c+12|0;g=d+40|0;do{f[d>>2]=f[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(g|0));e=a+52|0;f[e>>2]=f[c+52>>2];f[a+56>>2]=f[c+56>>2];b[a+60>>0]=b[c+60>>0]|0;f[a>>2]=7184;d=a+64|0;x=0;Ga(462,d|0,f[c+68>>2]|0);g=x;x=0;if(g&1){c=Ya()|0;jb(c|0)}f[d>>2]=7280;f[a>>2]=7072;
function Hq(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0;h=u;u=u+112|0;i=h;AF(i,c);x=0;Ga(456,a|0,i|0);g=x;x=0;if(g&1){g=Ya()|0;f[i>>2]=6680;a=i+4|0;c=i+52|0;if((b[c+11>>0]|0)<0)Hta(f[c>>2]|0);c=f[i+28>>2]|0;if(c|0){d=i+32|0;e=f[d>>2]|0;if((e|0)!=(c|0))f[d>>2]=e+(~(((e+-24-c|0)>>>0)/24|0)*24|0);Hta(c)}e=f[i+16>>2]|0;if(e|0){c=i+20|0;d=f[c>>2]|0;if((d|0)!=(e|0))f[c>>2]=d+(~((d+-4-e|0)>>>2)<<2);Hta(e)}if((b[a+11>>0]|0)>=0)jb(g|0);Hta(f[a>>2]|0);jb(g|0)}else{f[i>>2]=6680;g=i+4|0;c=i+52|0;if((b[c+11>>0]|0)<0)Hta(f[c>>2]|0);c=f[i+28>>2]|0;if(c|0){d=i+32|0;e=f[d>>2]|0;if((e|0)!=(c|0))f[d>>2]=e+(~(((e+-24-c|0)>>>0)/24|0)*24|0);Hta(c)}e=f[i+16>>2]|0;if(e|0){c=i+20|0;d=f[c>>2]|0;if((d|0)!=(e|0))f[c>>2]=d+(~((d+-4-e|0)>>>2)<<2);Hta(e)}if((b[g+11>>0]|0)>=0){f[a>>2]=18928;i=a+4|0;f[i>>2]=19224;i=a+108|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;g=i+11|0;b[g>>0]=0;b[i>>0]=0;i=a+120|0;f[i>>2]=0;i=a+124|0;f[i>>2]=0;i=a+128|0;f[i>>2]=0;u=h;return}Hta(f[g>>2]|0);f[a>>2]=18928;i=a+4|0;f[i>>2]=19224;i=a+108|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;g=i+11|0;b[g>>0]=0;b[i>>0]=0;i=a+120|0;f[i>>2]=0;i=a+124|0;f[i>>2]=0;i=a+128|0;f[i>>2]=0;u=h;return}}function Iq(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;l=u;u=u+16|0;k=l+4|0;h=l;a:do if(!(f[d+4>>2]&1)){j=f[(f[a>>2]|0)+24>>2]|0;f[h>>2]=f[c>>2];f[k>>2]=f[h>>2];a=Bc[j&63](a,k,d,e,g&1)|0}else{kha(k,d);x=0;a=sa(994,k|0,83336)|0;j=x;x=0;do if(j&1){a=Ya()|0;uga(k)}else{uga(k);d=f[a>>2]|0;if(g)Lc[f[d+24>>2]&1023](k,a);else Lc[f[d+28>>2]&1023](k,a);i=k+11|0;a=b[i>>0]|0;d=f[k>>2]|0;j=k+4|0;g=a<<24>>24<0?d:k;while(1){h=a<<24>>24<0;if((g|0)==((h?d:k)+(h?f[j>>2]|0:a&255)|0)){d=9;break}a=b[g>>0]|0;d=f[c>>2]|0;if(d|0){e=d+24|0;h=f[e>>2]|0;if((h|0)==(f[d+28>>2]|0)){h=f[(f[d>>2]|0)+52>>2]|0;a=mqa(a)|0;x=0;a=sa(h|0,d|0,a|0)|0;h=x;x=0;if(h&1){d=18;break}}else{f[e>>2]=h+1;b[h>>0]=a;a=mqa(a)|0}if(wja(a,Kta()|0)|0)f[c>>2]=0}g=g+1|0;a=b[i>>0]|0;d=f[k>>2]|0}if((d|0)==9){a=f[c>>2]|0;Aaa(k);break a}else if((d|0)==18){a=Ya()|0;Aaa(k);break}}while(0);jb(a|0)}while(0);u=l;return a|0}function Jq(a){a=a|0;var b=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=0;k=u;u=u+32|0;i=k+24|0;g=k+16|0;l=k+8|0;j=k;b=a+80|0;qV(i,f[b>>2]|0);f[i>>2]=15572;a:do if(!(f[i+4>>2]|0))_P(i);else{x=0;Ga(462,g|0,f[b>>2]|0);e=x;x=0;b:do if(e&1)b=Ya()|0;else{f[g>>2]=15572;b=f[g+4>>2]|0;c=f[b+76>>2]|0;e=(f[b+80>>2]|0)-c>>3;c:do if(e|0){d=b+76|0;b=0;while(1){c=f[c+(b<<3)+4>>2]|0;x=0;c=qa(f[(f[c>>2]|0)+144>>2]|0,c|0)|0;m=x;x=0;if(m&1){h=12;break}b=b+1|0;if(c)break;if(b>>>0>=e>>>0)break c;c=f[d>>2]|0}if((h|0)==12){b=Ya()|0;_P(g);break b}_P(g);_P(i);m=1;u=k;return m|0}while(0);_P(g);_P(i);break a}while(0);_P(i);m=b;jb(m|0)}while(0);b=a+88|0;qV(l,f[b>>2]|0);f[l>>2]=15556;if(!(f[l+4>>2]|0)){_P(l);m=0;u=k;return m|0}x=0;Ga(462,j|0,f[b>>2]|0);m=x;x=0;do if(m&1)b=Ya()|0;else{f[j>>2]=15556;x=0;b=qa(401,f[j+4>>2]|0)|0;m=x;x=0;if(m&1){b=Ya()|0;_P(j);break}else{_P(j);_P(l);u=k;return b|0}}while(0);_P(l);m=b;jb(m|0);return 0}function Kq(a){a=a|0;var c=0,d=0,e=0,f=0;f=0;d=a+1|0;do if((b[a>>0]|0)==45){c=Ufa(d)|0;if(!c){e=b[d>>0]|0;c=a+2|0;e=e<<24>>24|0;c=(e|0)!=43?((e|0)==45?c:0):c;if(!c){c=0;break}}while(1){d=Ufa(c)|0;if(d|0){c=d;continue}e=b[c>>0]|0;d=c+1|0;e=e<<24>>24|0;d=(e|0)!=43?((e|0)==45?d:0):d;if(!d)break;else c=d}}else c=0;while(0);c=c|0?c:a;if(!c){f=0;return f|0}a=b[48519]|0;a:do if(!(a<<24>>24)){d=c;f=10}else{d=c;e=48519;while(1){if((b[d>>0]|0)!=a<<24>>24)break a;d=d+1|0;e=e+1|0;a=b[e>>0]|0;if(!(a<<24>>24)){f=10;break}}}while(0);if((f|0)==10){d=sR(d)|0;if(d|0){f=d;return f|0}}d=b[36362]|0;b:do if(d<<24>>24){a=36362;while(1){if((b[c>>0]|0)!=d<<24>>24){c=0;break}c=c+1|0;a=a+1|0;d=b[a>>0]|0;if(!(d<<24>>24))break b}return c|0}while(0);d=c+1|0;if((b[c>>0]|0)!=58){f=0;return f|0}f=b[d>>0]|0;c=c+2|0;c=(f+-97&255)>25?(f<<24>>24==46?c:0):c;if(!c){f=d;return f|0}while(1){f=b[c>>0]|0;d=c+1|0;d=(f+-97&255)>25?(f<<24>>24==46?d:0):d;if(!d)break;else c=d}return c|0}function Lq(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;j=a+4|0;c=f[a>>2]|0;e=((f[j>>2]|0)-c|0)/12|0;d=e+1|0;if(d>>>0>357913941)EO(a);k=a+8|0;l=((f[k>>2]|0)-c|0)/12|0;m=l<<1;d=l>>>0<17
function rv(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=u;u=u+64|0;j=m+48|0;e=m;k=m+40|0;l=a+76|0;h=f[l>>2]|0;g=b[h>>0]|0;if(!(g<<24>>24)){l=0;u=m;return l|0}if(c){g=VX(h)|0;g=g|0?g:h;h=g;g=b[g>>0]|0}i=g<<24>>24==40?h+1|0:0;if(i>>>0>(f[a+80>>2]|0)>>>0){l=0;u=m;return l|0}if(!d)if((i|0)==0|(i|0)==(h|0)){l=0;u=m;return l|0}c=f[l>>2]|0;f[a+168>>2]=c;f[a+172>>2]=h;f[a+176>>2]=i;n=a+96|0;vG(j,n,c,h);c=a+84|0;f[c>>2]=f[j>>2];f[c+4>>2]=f[j+4>>2];f[c+8>>2]=f[j+8>>2];vG(j,n,h,i);d=f[a+12>>2]|0;g=f[a+72>>2]|0;PQ(k,n,c);f[j>>2]=f[k>>2];f[j+4>>2]=f[k+4>>2];UI(e,d,g,a+168|0,c,j);c=a+108|0;g=c+40|0;do{f[c>>2]=f[e>>2];c=c+4|0;e=e+4|0}while((c|0)<(g|0));f[l>>2]=i;n=i;u=m;return n|0}function sv(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=u;u=u+64|0;j=m+48|0;e=m;k=m+40|0;l=a+76|0;h=f[l>>2]|0;g=b[h>>0]|0;if(!(g<<24>>24)){l=0;u=m;return l|0}if(c){g=VX(h)|0;g=g|0?g:h;h=g;g=b[g>>0]|0}i=g<<24>>24==38?h+1|0:0;if(i>>>0>(f[a+80>>2]|0)>>>0){l=0;u=m;return l|0}if(!d)if((i|0)==0|(i|0)==(h|0)){l=0;u=m;return l|0}c=f[l>>2]|0;f[a+168>>2]=c;f[a+172>>2]=h;f[a+176>>2]=i;n=a+96|0;vG(j,n,c,h);c=a+84|0;f[c>>2]=f[j>>2];f[c+4>>2]=f[j+4>>2];f[c+8>>2]=f[j+8>>2];vG(j,n,h,i);d=f[a+12>>2]|0;g=f[a+72>>2]|0;PQ(k,n,c);f[j>>2]=f[k>>2];f[j+4>>2]=f[k+4>>2];UI(e,d,g,a+168|0,c,j);c=a+108|0;g=c+40|0;do{f[c>>2]=f[e>>2];c=c+4|0;e=e+4|0}while((c|0)<(g|0));f[l>>2]=i;n=i;u=m;return n|0}function tv(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=u;u=u+64|0;j=m+48|0;e=m;k=m+40|0;l=a+76|0;h=f[l>>2]|0;g=b[h>>0]|0;if(!(g<<24>>24)){l=0;u=m;return l|0}if(c){g=VX(h)|0;g=g|0?g:h;h=g;g=b[g>>0]|0}i=g<<24>>24==36?h+1|0:0;if(i>>>0>(f[a+80>>2]|0)>>>0){l=0;u=m;return l|0}if(!d)if((i|0)==0|(i|0)==(h|0)){l=0;u=m;return l|0}c=f[l>>2]|0;f[a+168>>2]=c;f[a+172>>2]=h;f[a+176>>2]=i;n=a+96|0;vG(j,n,c,h);c=a+84|0;f[c>>2]=f[j>>2];f[c+4>>2]=f[j+4>>2];f[c+8>>2]=f[j+8>>2];vG(j,n,h,i);d=f[a+12>>2]|0;g=f[a+72>>2]|0;PQ(k,n,c);f[j>>2]=f[k>>2];f[j+4>>2]=f[k+4>>2];UI(e,d,g,a+168|0,c,j);c=a+108|0;g=c+40|0;do{f[c>>2]=f[e>>2];c=c+4|0;e=e+4|0}while((c|0)<(g|0));f[l>>2]=i;n=i;u=m;return n|0}function uv(){var a=0,c=0;if(!(b[78600]|0))if(lda(78600)|0){c=84836;do{f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[c+(a<<2)>>2]=0;a=a+1|0}c=c+12|0}while((c|0)!=85004)}YT(84836,27888)|0;YT(84848,27916)|0;YT(84860,27944)|0;YT(84872,27976)|0;YT(84884,28016)|0;YT(84896,28052)|0;YT(84908,28080)|0;YT(84920,28116)|0;YT(84932,28132)|0;YT(84944,28148)|0;YT(84956,28164)|0;YT(84968,28180)|0;YT(84980,28196)|0;YT(84992,28212)|0;return}function vv(){var a=0,c=0;if(!(b[78520]|0))if(lda(78520)|0){c=84024;do{f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[c+(a<<2)>>2]=0;a=a+1|0}c=c+12|0}while((c|0)!=84192)}ZT(84024,58358)|0;ZT(84036,58365)|0;ZT(84048,58372)|0;ZT(84060,58380)|0;ZT(84072,58390)|0;ZT(84084,58399)|0;ZT(84096,58406)|0;ZT(84108,58415)|0;ZT(84120,58419)|0;ZT(84132,58423)|0;ZT(84144,58427)|0;ZT(84156,58431)|0;ZT(84168,58435)|0;ZT(84180,58439)|0;return}function wv(a){a=a|0;var c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=u;u=u+16|0;m=l;k=a+68|0;h=f[k>>2]|0;if((f[h>>2]&-2|0)==2){u=l;return}if(b[a+100>>0]|0)if(b[a+102>>0]|0){u=l;return}c=a+80|0;j=a+72|0;e=f[j>>2]|0;do if(!(f[c>>2]|0)){d=m+11|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;if(!e)i=10;else{g=m;i=9}}else if(!e){f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;d=m+11|0;i=10;break}else{f[c>>2]=1;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;d=m+11|0;g=m;i=9;break}while(0);a:do if((i|0)==9){c=0;e=h;while(1){x=0;sa(991,m|0,f[e+12>>2]|0)|0;h=x;x=0;if(h&1)break a;c=c+1|0;if(c>>>0>=(f[j>>2]|0)>>>0){i=10;break a}e=f[k>>2]|0}}while(0);if((i|0)==10){x=0;Ga(682,a|0,m|0);a=x;x=0;if(!(a&1)){if((b[d>>0]|0)<0)Hta(f[m>>2]|0);u=l;return}}c=Ya()|0;if((b[d>>0]|0)>=0)jb(c|0);Hta(f[m>>2]|0);jb(c|0)}function xv(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;g=u;u=u+32|0;d=g+16|0;c=g;e=g+8|0;qV(c,f[a+56>>2]|0);f[c>>2]=7904;a=f[c+4>>2]|0;if(!a)a=0;else a=(f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0)==32815?a:0;x=0;Ga(462,d|0,a|0);a=x;x=0;if(a&1){g=Ya()|0;_P(c);jb(g|0)}f[d>>2]=13648;_P(c);c=d+4|0;a=f[c>>2]|0;if(!a){_P(d);e=0;u=g;return e|0}a=a+60|0;x=0;a=sa(f[(
function xn(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=0;j=u;u=u+112|0;e=j;o=j+56|0;h=j+64|0;k=j+48|0;l=j+40|0;if(!(Rw(c,1,0)|0)){qV(a,0);f[a>>2]=12372;u=j;return}g=c+168|0;f[e>>2]=f[g>>2];f[e+4>>2]=f[g+4>>2];f[e+8>>2]=f[g+8>>2];Md(o,c,e,0,1);g=f[o+4>>2]|0;a:do if(!g){x=0;Ga(462,a|0,0);n=x;x=0;if(n&1)m=6;else{f[a>>2]=12372;m=20}}else{x=0;n=qa(318,68)|0;i=x;x=0;if(i&1)m=6;else{i=h;c=c+108|0;d=i+40|0;do{f[i>>2]=f[c>>2];i=i+4|0;c=c+4|0}while((i|0)<(d|0));x=0;Ga(462,l|0,g|0);i=x;x=0;do if(i&1)c=Ya()|0;else{f[l>>2]=7904;x=0;Ga(462,k|0,f[l+4>>2]|0);i=x;x=0;if(i&1){c=Ya()|0;_P(l);break}f[k>>2]=7696;i=e;c=h;d=i+40|0;do{f[i>>2]=f[c>>2];i=i+4|0;c=c+4|0}while((i|0)<(d|0));x=0;Fa(427,n|0);i=x;x=0;do if(i&1){c=1;m=17}else{i=n+12|0;c=e;d=i+40|0;do{f[i>>2]=f[c>>2];i=i+4|0;c=c+4|0}while((i|0)<(d|0));b[n+52>>0]=0;b[n+53>>0]=0;b[n+54>>0]=0;f[n+56>>2]=0;f[n>>2]=12788;c=n+60|0;x=0;Ga(462,c|0,f[k+4>>2]|0);i=x;x=0;if(i&1){c=Ya()|0;d=1;break}f[c>>2]=7696;x=0;Ga(462,a|0,n|0);m=x;x=0;if(m&1){c=0;m=17}else{f[a>>2]=12372;_P(k);_P(l);m=20;break a}}while(0);if((m|0)==17){m=Ya()|0;d=c;c=m}_P(k);_P(l);if(!d){n=c;_P(o);jb(n|0)}}while(0);Hta(n);n=c;_P(o);jb(n|0)}}while(0);if((m|0)==6){n=Ya()|0;_P(o);jb(n|0)}else if((m|0)==20){_P(o);u=j;return}}function yn(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=u;u=u+112|0;j=l;g=l+64|0;n=l+52|0;m=l+40|0;k=g;i=k+40|0;do{f[k>>2]=f[c>>2];k=k+4|0;c=c+4|0}while((k|0)<(i|0));ND(n,e);x=0;Ga(511,m|0,d|0);k=x;x=0;if(k&1)c=Ya()|0;else{k=j;c=g;i=k+40|0;do{f[k>>2]=f[c>>2];k=k+4|0;c=c+4|0}while((k|0)<(i|0));x=0;Ga(538,a|0,n|0);k=x;x=0;if(k&1){c=Ya()|0;i=I}else{f[a>>2]=16212;e=a+8|0;x=0;Ga(459,e|0,n|0);k=x;x=0;do if(k&1){c=Ya()|0;d=I}else{g=a+20|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;h=g+11|0;b[h>>0]=5;b[g>>0]=b[53005]|0;b[g+1>>0]=b[53006]|0;b[g+2>>0]=b[53007]|0;b[g+3>>0]=b[53008]|0;b[g+4>>0]=b[53009]|0;b[g+5>>0]=0;k=a+32|0;c=j;i=k+40|0;do{f[k>>2]=f[c>>2];k=k+4|0;c=c+4|0}while((k|0)<(i|0));x=0;Ga(511,a+72|0,m|0);k=x;x=0;if(k&1){c=Ya()|0;d=I;if((b[h>>0]|0)<0)Hta(f[g>>2]|0);if((b[e+11>>0]|0)>=0)break;Hta(f[e>>2]|0);break}c=f[m>>2]|0;if(c|0){g=m+4|0;d=f[g>>2]|0;if((d|0)!=(c|0)){do{e=d+-52|0;f[g>>2]=e;d=d+-12|0;if((b[d+11>>0]|0)<0){Hta(f[d>>2]|0);d=f[g>>2]|0}else d=e}while((d|0)!=(c|0));c=f[m>>2]|0}Hta(c)}if((b[n+11>>0]|0)>=0){f[a>>2]=21092;u=l;return}Hta(f[n>>2]|0);f[a>>2]=21092;u=l;return}while(0);dfa(a);i=d}d=f[m>>2]|0;if(d){h=m+4|0;e=f[h>>2]|0;if((e|0)!=(d|0)){do{g=e+-52|0;f[h>>2]=g;e=e+-12|0;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[h>>2]|0}else e=g}while((e|0)!=(d|0));d=f[m>>2]|0}Hta(d)}}if((b[n+11>>0]|0)>=0)jb(c|0);Hta(f[n>>2]|0);jb(c|0)}function zn(a,c,d,e){a=a|0;c=c|0;d=d|0;e=e|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=u;u=u+112|0;j=l;g=l+64|0;n=l+52|0;m=l+40|0;k=g;i=k+40|0;do{f[k>>2]=f[c>>2];k=k+4|0;c=c+4|0}while((k|0)<(i|0));ND(n,e);x=0;Ga(511,m|0,d|0);k=x;x=0;if(k&1)c=Ya()|0;else{k=j;c=g;i=k+40|0;do{f[k>>2]=f[c>>2];k=k+4|0;c=c+4|0}while((k|0)<(i|0));x=0;Ga(538,a|0,n|0);k=x;x=0;if(k&1){c=Ya()|0;i=I}else{f[a>>2]=16212;e=a+8|0;x=0;Ga(459,e|0,n|0);k=x;x=0;do if(k&1){c=Ya()|0;d=I}else{g=a+20|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;h=g+11|0;b[h>>0]=5;b[g>>0]=b[53005]|0;b[g+1>>0]=b[53006]|0;b[g+2>>0]=b[53007]|0;b[g+3>>0]=b[53008]|0;b[g+4>>0]=b[53009]|0;b[g+5>>0]=0;k=a+32|0;c=j;i=k+40|0;do{f[k>>2]=f[c>>2];k=k+4|0;c=c+4|0}while((k|0)<(i|0));x=0;Ga(511,a+72|0,m|0);k=x;x=0;if(k&1){c=Ya()|0;d=I;if((b[h>>0]|0)<0)Hta(f[g>>2]|0);if((b[e+11>>0]|0)>=0)break;Hta(f[e>>2]|0);break}c=f[m>>2]|0;if(c|0){g=m+4|0;d=f[g>>2]|0;if((d|0)!=(c|0)){do{e=d+-52|0;f[g>>2]=e;d=d+-12|0;if((b[d+11>>0]|0)<0){Hta(f[d>>2]|0);d=f[g>>2]|0}else d=e}while((d|0)!=(c|0));c=f[m>>2]|0}Hta(c)}if((b[n+11>>0]|0)>=0){f[a>>2]=21044;u=l;return}Hta(f[n>>2]|0);f[a>>2]=21044;u=l;return}while(0);dfa(a);i=d}d=f[m>>2]|0;if(d){h=m+4|0;e=f[h>>2]|0;if((e|0)!=(d|0)){do{g=e+-52|0;f[h>>2]=g;e=e+-12|0;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[h>>2]|0}else e=g}while((e|0)!=(d|0));d=f[m>>2]|0}Hta(d)}}if((b[n+11>>0]|0)>=0)jb(c|0);Hta(f[n>>2]|0);jb(c|0)}function An(a,c,d,e,g,h){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0.0,j=0.0,k=0.0,l=0.0,m=0,n=0,o=0,q
function nj(a,c,d,e,g,h,i){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=0;s=u;u=u+176|0;m=s+136|0;t=s+120|0;c=s+80|0;l=s+68|0;o=s+56|0;n=s+16|0;p=s;f[t+8>>2]=0;q=t+11|0;b[q>>0]=7;b[t>>0]=b[39749]|0;b[t+1>>0]=b[39750]|0;b[t+2>>0]=b[39751]|0;b[t+3>>0]=b[39752]|0;b[t+4>>0]=b[39753]|0;b[t+5>>0]=b[39754]|0;b[t+6>>0]=b[39755]|0;b[t+7>>0]=0;i=c;j=g;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));x=0;Ga(511,l|0,h|0);h=x;x=0;do if(h&1)c=Ya()|0;else{x=0;i=m;j=c;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));k=wa(27,t|0,a|0,e|0,m|0,l|0)|0;h=x;x=0;if(h&1){c=Ya()|0;k=I;d=f[l>>2]|0;if(!d)break;a=l+4|0;i=f[a>>2]|0;if((i|0)!=(d|0)){do{j=i+-52|0;f[a>>2]=j;i=i+-12|0;if((b[i+11>>0]|0)<0){Hta(f[i>>2]|0);i=f[a>>2]|0}else i=j}while((i|0)!=(d|0));d=f[l>>2]|0}Hta(d);break}c=f[l>>2]|0;if(c|0){j=l+4|0;d=f[j>>2]|0;if((d|0)!=(c|0)){do{i=d+-52|0;f[j>>2]=i;d=d+-12|0;if((b[d+11>>0]|0)<0){Hta(f[d>>2]|0);d=f[j>>2]|0}else d=i}while((d|0)!=(c|0));c=f[l>>2]|0}Hta(c)}if((b[q>>0]|0)<0)Hta(f[t>>2]|0);ND(t,k+64|0);a=t+11|0;d=b[a>>0]|0;i=d<<24>>24<0?f[t+4>>2]|0:d&255;a:do if(!i)r=14;else{c=0;while(1){x=0;d=qa(337,b[(d<<24>>24<0?f[t>>2]|0:t)+c>>0]|0)|0;q=x;x=0;if(q&1)break;if(d){q=((b[a>>0]|0)<0?f[t>>2]|0:t)+c|0;l=(Dma(b[q>>0]|0)|0)&255;b[q>>0]=l}c=c+1|0;if(c>>>0>=i>>>0){r=14;break a}d=b[a>>0]|0}c=Ya()|0}while(0);b:do if((r|0)==14){do if(!k)r=43;else{c=f[k>>2]|0;if((f[343]|0)==(f[(f[c+-4>>2]|0)+4>>2]|0)){x=0;c=qa(f[c+12>>2]|0,k|0)|0;g=x;x=0;if(!(g&1)){x=0;Ga(459,o|0,t|0);g=x;x=0;if(!(g&1)){f[c+76>>2]=0;x=0;sa(986,c+64|0,o|0)|0;g=x;x=0;if(g&1){c=Ya()|0;if((b[o+11>>0]|0)>=0)break b;Hta(f[o>>2]|0);break b}if((b[o+11>>0]|0)<0)Hta(f[o>>2]|0);break}}c=Ya()|0;break b}else r=43}while(0);c:do if((r|0)==43){x=0;d=qa(318,80)|0;r=x;x=0;if(r&1){c=Ya()|0;break b}i=n;j=g;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));x=0;Ga(459,p|0,t|0);g=x;x=0;do if(g&1)c=Ya()|0;else{x=0;i=m;j=n;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));Na(1,d|0,m|0,p|0,0,0,0,1,1);g=x;x=0;if(g&1){c=Ya()|0;if((b[p+11>>0]|0)>=0)break;Hta(f[p>>2]|0);break}else{if((b[p+11>>0]|0)>=0){c=d;break c}Hta(f[p>>2]|0);c=d;break c}}while(0);Hta(d);break b}while(0);if((b[a>>0]|0)>=0){u=s;return c|0}Hta(f[t>>2]|0);u=s;return c|0}while(0);if((b[a>>0]|0)<0)Hta(f[t>>2]|0);t=c;jb(t|0)}while(0);if((b[q>>0]|0)<0)Hta(f[t>>2]|0);t=c;jb(t|0);return 0}function oj(a,c,d,e,g,h,i){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=0;s=u;u=u+176|0;m=s+136|0;t=s+120|0;c=s+80|0;l=s+68|0;o=s+56|0;n=s+16|0;p=s;f[t+8>>2]=0;q=t+11|0;b[q>>0]=7;b[t>>0]=b[39749]|0;b[t+1>>0]=b[39750]|0;b[t+2>>0]=b[39751]|0;b[t+3>>0]=b[39752]|0;b[t+4>>0]=b[39753]|0;b[t+5>>0]=b[39754]|0;b[t+6>>0]=b[39755]|0;b[t+7>>0]=0;i=c;j=g;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));x=0;Ga(511,l|0,h|0);h=x;x=0;do if(h&1)c=Ya()|0;else{x=0;i=m;j=c;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));k=wa(27,t|0,a|0,e|0,m|0,l|0)|0;h=x;x=0;if(h&1){c=Ya()|0;k=I;d=f[l>>2]|0;if(!d)break;a=l+4|0;i=f[a>>2]|0;if((i|0)!=(d|0)){do{j=i+-52|0;f[a>>2]=j;i=i+-12|0;if((b[i+11>>0]|0)<0){Hta(f[i>>2]|0);i=f[a>>2]|0}else i=j}while((i|0)!=(d|0));d=f[l>>2]|0}Hta(d);break}c=f[l>>2]|0;if(c|0){j=l+4|0;d=f[j>>2]|0;if((d|0)!=(c|0)){do{i=d+-52|0;f[j>>2]=i;d=d+-12|0;if((b[d+11>>0]|0)<0){Hta(f[d>>2]|0);d=f[j>>2]|0}else d=i}while((d|0)!=(c|0));c=f[l>>2]|0}Hta(c)}if((b[q>>0]|0)<0)Hta(f[t>>2]|0);ND(t,k+64|0);a=t+11|0;d=b[a>>0]|0;i=d<<24>>24<0?f[t+4>>2]|0:d&255;a:do if(!i)r=14;else{c=0;while(1){x=0;d=qa(337,b[(d<<24>>24<0?f[t>>2]|0:t)+c>>0]|0)|0;q=x;x=0;if(q&1)break;if(d){q=((b[a>>0]|0)<0?f[t>>2]|0:t)+c|0;l=(Ema(b[q>>0]|0)|0)&255;b[q>>0]=l}c=c+1|0;if(c>>>0>=i>>>0){r=14;break a}d=b[a>>0]|0}c=Ya()|0}while(0);b:do if((r|0)==14){do if(!k)r=43;else{c=f[k>>2]|0;if((f[343]|0)==(f[(f[c+-4>>2]|0)+4>>2]|0)){x=0;c=qa(f[c+12>>2]|0,k|0)|0;g=x;x=0;if(!(g&1)){x=0;Ga(459,o|0,t|0);g=x;x=0;if(!(g&1)){f[c+76>>2]=0;x=0;sa(986,c+64|0,o|0)|0;g=x;x=0;if(g&1){c=Ya()|0;if((b[o+11>>0]|0)>=0)break b;Hta(f[o>>2]|0);break b}if((b[o+11>>0]|0)<0)Hta(f[o>>2]|0);b
function Sh(a,c,e,g){a=a|0;c=c|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0;p=0;o=u;u=u+32|0;n=o+24|0;j=o+20|0;i=o+16|0;h=o+12|0;k=o+8|0;l=o+4|0;m=o;f[h>>2]=e;f[a>>2]=17712;f[a+4>>2]=c;f[a+8>>2]=c+300;C=a+12|0;x=0;Ga(660,C|0,a|0);D=x;x=0;if(D&1){D=Ya()|0;jb(D|0)}c=a+48|0;A=a+56|0;D=a+60|0;z=a+68|0;B=a+72|0;w=a+80|0;y=a+84|0;t=a+92|0;v=a+96|0;r=a+104|0;s=a+108|0;q=a+116|0;f[c>>2]=0;d[c+4>>1]=0;b[c+6>>0]=0;c=A;e=c+60|0;do{f[c>>2]=0;c=c+4|0}while((c|0)<(e|0));x=0;Ga(462,q|0,0);e=x;x=0;if(e&1){i=Ya()|0;h=I}else{f[q>>2]=16864;f[n>>2]=0;c=f[D>>2]|0;e=a+64|0;do if(c>>>0<(f[e>>2]|0)>>>0){f[c>>2]=0;c=(f[D>>2]|0)+4|0;f[D>>2]=c;p=7}else{x=0;Ga(646,A|0,n|0);c=x;x=0;if(c&1){c=Ya()|0;e=I;break}else{c=f[D>>2]|0;p=7;break}}while(0);a:do if((p|0)==7){if((c|0)==(f[e>>2]|0)){x=0;Ga(661,A|0,h|0);h=x;x=0;if(h&1){c=Ya()|0;e=I;break}}else{f[c>>2]=f[h>>2];f[D>>2]=(f[D>>2]|0)+4}f[n>>2]=0;c=f[B>>2]|0;if(c>>>0<(f[a+76>>2]|0)>>>0){f[c>>2]=0;f[B>>2]=(f[B>>2]|0)+4}else{x=0;Ga(655,z|0,n|0);h=x;x=0;if(h&1){c=Ya()|0;e=I;break}}x=0;Ga(462,n|0,0);h=x;x=0;do if(h&1){c=Ya()|0;e=I}else{f[n>>2]=6664;c=f[y>>2]|0;if(c>>>0<(f[a+88>>2]|0)>>>0){x=0;Ga(462,c|0,f[n+4>>2]|0);h=x;x=0;if(h&1)p=31;else{f[c>>2]=6664;f[y>>2]=(f[y>>2]|0)+8}}else{x=0;Ga(657,w|0,n|0);h=x;x=0;if(h&1)p=31}if((p|0)==31){c=Ya()|0;e=I;_P(n);break}_P(n);b:do if(!g){x=0;Ga(462,n|0,0);p=x;x=0;do if(p&1){c=Ya()|0;e=I}else{f[n>>2]=7168;c=f[v>>2]|0;if(c>>>0<(f[a+100>>2]|0)>>>0){x=0;Ga(462,c|0,f[n+4>>2]|0);p=x;x=0;if(p&1)p=34;else{f[c>>2]=7168;f[v>>2]=(f[v>>2]|0)+8;p=24}}else{x=0;Ga(651,t|0,n|0);p=x;x=0;if(p&1)p=34;else p=24}if((p|0)==24){_P(n);break b}else if((p|0)==34){c=Ya()|0;e=I;_P(n);break}}while(0);break a}else{f[k>>2]=f[v>>2];f[l>>2]=f[g>>2];f[m>>2]=f[g+4>>2];x=0;f[i>>2]=f[k>>2];f[j>>2]=f[l>>2];f[n>>2]=f[m>>2];ua(15,t|0,i|0,j|0,n|0)|0;p=x;x=0;if(p&1){c=Ya()|0;e=I;break a}}while(0);f[n>>2]=0;c=f[s>>2]|0;if(c>>>0<(f[a+112>>2]|0)>>>0){f[c>>2]=0;f[s>>2]=(f[s>>2]|0)+4;u=o;return}x=0;Ga(658,r|0,n|0);p=x;x=0;if(p&1){c=Ya()|0;e=I;break a}else{u=o;return}}while(0)}while(0);_P(q);i=c;h=e}c=f[r>>2]|0;if(c|0){e=f[s>>2]|0;if((e|0)!=(c|0))f[s>>2]=e+(~((e+-4-c|0)>>>2)<<2);Hta(c)}c=f[t>>2]|0;if(c|0){e=f[v>>2]|0;if((e|0)!=(c|0)){do{s=e+-8|0;f[v>>2]=s;Kc[f[f[s>>2]>>2]&511](s);e=f[v>>2]|0}while((e|0)!=(c|0));c=f[t>>2]|0}Hta(c)}c=f[w>>2]|0;if(c|0){e=f[y>>2]|0;if((e|0)!=(c|0)){do{v=e+-8|0;f[y>>2]=v;Kc[f[f[v>>2]>>2]&511](v);e=f[y>>2]|0}while((e|0)!=(c|0));c=f[w>>2]|0}Hta(c)}c=f[z>>2]|0;if(c|0){e=f[B>>2]|0;if((e|0)!=(c|0))f[B>>2]=e+(~((e+-4-c|0)>>>2)<<2);Hta(c)}c=f[A>>2]|0;if(c|0){e=f[D>>2]|0;if((e|0)!=(c|0))f[D>>2]=e+(~((e+-4-c|0)>>>2)<<2);Hta(c)}Gba(C);D=i;jb(D|0)}function Th(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0;y=0;v=u;u=u+160|0;w=v+120|0;j=v+80|0;q=v+64|0;o=v+56|0;l=v+48|0;k=v+40|0;m=v+32|0;n=v+24|0;p=v+16|0;s=v+8|0;t=v;r=VN(100)|0;d=j;e=c+108|0;g=d+40|0;do{f[d>>2]=f[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(g|0));e=f[c+172>>2]|0;h=f[c+176>>2]|0;f[q>>2]=0;f[q+4>>2]=0;f[q+8>>2]=0;i=h-e|0;do if(i>>>0>4294967279){x=0;Fa(428,q|0);x=0;y=32}else{if(i>>>0<11){b[q+11>>0]=i;d=q}else{g=i+16&-16;x=0;d=qa(318,g|0)|0;z=x;x=0;if(z&1){y=32;break}f[q>>2]=d;f[q+8>>2]=g|-2147483648;f[q+4>>2]=i}if((e|0)!=(h|0)){g=d;while(1){b[g>>0]=b[e>>0]|0;e=e+1|0;if((e|0)==(h|0))break;else g=g+1|0}d=d+i|0}b[d>>0]=0;x=0;Ga(462,o|0,0);z=x;x=0;if(z&1){d=Ya()|0;e=1}else{f[o>>2]=7168;x=0;Ga(462,l|0,0);z=x;x=0;if(z&1){d=Ya()|0;e=1}else{f[l>>2]=7280;x=0;Ga(462,k|0,0);z=x;x=0;if(z&1){d=Ya()|0;e=1}else{f[k>>2]=7696;x=0;d=w;e=j;g=d+40|0;do{f[d>>2]=f[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(g|0));La(22,r|0,w|0,q|0,o|0,l|0,k|0);z=x;x=0;if(z&1)e=1;else{x=0;Ga(462,a|0,r|0);z=x;x=0;if(z&1)e=0;else{f[a>>2]=17128;_P(k);_P(l);_P(o);if((b[q+11>>0]|0)<0)Hta(f[q>>2]|0);x=0;Ga(626,w|0,c|0);z=x;x=0;if(z&1)d=Ya()|0;else{g=a+4|0;d=f[g>>2]|0;x=0;Ga(462,p|0,f[w+4>>2]|0);z=x;x=0;a:do if(z&1)y=44;else{f[p>>2]=13648;x=0;Ga(462,n|0,f[p+4>>2]|0);z=x;x=0;if(z&1)d=Ya()|0;else{f[n>>2]=7696;e=d+92|0;d=d+96|0;if(!(f[d>>2]|0))y=22;else{x=0;Fa(429,e|0);z=x;x=0;if(!(z&1))y=22}do
function Gg(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0,q=0,r=0,s=0,t=0,v=0;q=0;r=u;u=u+208|0;t=r+104|0;n=r;d=t+4|0;e=a+4|0;f[d>>2]=f[e>>2];b[d+4>>0]=b[e+4>>0]|0;d=t+12|0;e=a+12|0;g=d+40|0;do{f[d>>2]=f[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(g|0));o=a+52|0;s=f[o+4>>2]|0;v=t+52|0;f[v>>2]=f[o>>2];f[v+4>>2]=s;f[t>>2]=6516;v=t+60|0;x=0;Ga(458,v|0,a+60|0);s=x;x=0;if(s&1){v=Ya()|0;jb(v|0)}h=t+72|0;x=0;Ga(458,h|0,a+72|0);s=x;x=0;if(s&1){a=Ya()|0;h=I;d=f[v>>2]|0;if(!d){v=a;jb(v|0)}g=t+64|0;e=f[g>>2]|0;if((e|0)!=(d|0)){do{e=e+-12|0;f[g>>2]=e;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[g>>2]|0}}while((e|0)!=(d|0));d=f[v>>2]|0}Hta(d);v=a;jb(v|0)}f[t>>2]=6384;j=t+88|0;d=a+88|0;f[j>>2]=f[d>>2];f[j+4>>2]=f[d+4>>2];f[j+8>>2]=f[d+8>>2];f[j+12>>2]=f[d+12>>2];d=n+4|0;e=c+4|0;f[d>>2]=f[e>>2];b[d+4>>0]=b[e+4>>0]|0;d=n+12|0;e=c+12|0;g=d+40|0;do{f[d>>2]=f[e>>2];d=d+4|0;e=e+4|0}while((d|0)<(g|0));m=c+52|0;o=f[m+4>>2]|0;s=n+52|0;f[s>>2]=f[m>>2];f[s+4>>2]=o;f[n>>2]=6516;s=n+60|0;x=0;Ga(458,s|0,c+60|0);o=x;x=0;do if(o&1){d=Ya()|0;q=25}else{d=n+72|0;x=0;Ga(458,d|0,c+72|0);o=x;x=0;if(o&1){a=Ya()|0;h=I;d=f[s>>2]|0;if(!d){d=a;q=25;break}g=n+64|0;e=f[g>>2]|0;if((e|0)!=(d|0)){do{e=e+-12|0;f[g>>2]=e;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[g>>2]|0}}while((e|0)!=(d|0));d=f[s>>2]|0}Hta(d);d=a;q=25;break}f[n>>2]=6384;e=n+88|0;o=c+88|0;f[e>>2]=f[o>>2];f[e+4>>2]=f[o+4>>2];f[e+8>>2]=f[o+8>>2];f[e+12>>2]=f[o+12>>2];x=0;i=+ga(1,v|0);o=x;x=0;a:do if(o&1)q=26;else{p[j>>3]=i*+p[j>>3];x=0;i=+ga(1,s|0);o=x;x=0;if(o&1)q=26;else{i=i*+p[e>>3];p[e>>3]=i;o=t+64|0;m=t+76|0;l=n+64|0;k=n+76|0;b:do if((((f[o>>2]|0)-(f[v>>2]|0)|0)/12|0|0)!=(((f[m>>2]|0)-(f[h>>2]|0)|0)/-12|0|0)?(((f[l>>2]|0)-(f[s>>2]|0)|0)/12|0|0)!=(((f[k>>2]|0)-(f[d>>2]|0)|0)/-12|0|0):0){x=0;i=+ga(2,v|0);h=x;x=0;if(!(h&1)){p[j>>3]=i*+p[j>>3];x=0;i=+ga(2,s|0);h=x;x=0;if(!(h&1)){p[e>>3]=i*+p[e>>3];x=0;d=sa(984,v|0,s|0)|0;h=x;x=0;do if(!(h&1))if(d){x=0;d=sa(985,v|0,s|0)|0;c=x;x=0;if(c&1)break;if(d){h=1;break b}i=+p[e>>3];q=39;break b}else{d=Ta(20)|0;x=0;Ia(76,d|0,c+60|0,a+60|0);r=x;x=0;if(r&1){a=Ya()|0;c=I;bb(d|0);break a}else{x=0;Ia(77,d|0,240,6);x=0;break}}while(0);a=Ya()|0;c=I;break a}}a=Ya()|0;c=I;break a}else q=39;while(0);if((q|0)==39)h=+p[j>>3]<i;g=n+72|0;d=f[g>>2]|0;if(d|0){e=f[k>>2]|0;if((e|0)!=(d|0)){do{e=e+-12|0;f[k>>2]=e;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[k>>2]|0}}while((e|0)!=(d|0));d=f[g>>2]|0}Hta(d)}d=f[s>>2]|0;if(d|0){e=f[l>>2]|0;if((e|0)!=(d|0)){do{e=e+-12|0;f[l>>2]=e;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[l>>2]|0}}while((e|0)!=(d|0));d=f[s>>2]|0}Hta(d)}g=t+72|0;d=f[g>>2]|0;if(d|0){e=f[m>>2]|0;if((e|0)!=(d|0)){do{e=e+-12|0;f[m>>2]=e;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[m>>2]|0}}while((e|0)!=(d|0));d=f[g>>2]|0}Hta(d)}d=f[v>>2]|0;if(!d){u=r;return h|0}e=f[o>>2]|0;if((e|0)!=(d|0)){do{e=e+-12|0;f[o>>2]=e;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[o>>2]|0}}while((e|0)!=(d|0));d=f[v>>2]|0}Hta(d);u=r;return h|0}}while(0);if((q|0)==26){a=Ya()|0;c=I}g=n+72|0;d=f[g>>2]|0;if(d|0){h=n+76|0;e=f[h>>2]|0;if((e|0)!=(d|0)){do{e=e+-12|0;f[h>>2]=e;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[h>>2]|0}}while((e|0)!=(d|0));d=f[g>>2]|0}Hta(d)}d=f[s>>2]|0;if(d|0){g=n+64|0;e=f[g>>2]|0;if((e|0)!=(d|0)){do{e=e+-12|0;f[g>>2]=e;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[g>>2]|0}}while((e|0)!=(d|0));d=f[s>>2]|0}Hta(d)}}while(0);if((q|0)==25)a=d;g=t+72|0;d=f[g>>2]|0;if(d|0){h=t+76|0;e=f[h>>2]|0;if((e|0)!=(d|0)){do{e=e+-12|0;f[h>>2]=e;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[h>>2]|0}}while((e|0)!=(d|0));d=f[g>>2]|0}Hta(d)}d=f[v>>2]|0;if(!d)jb(a|0);g=t+64|0;e=f[g>>2]|0;if((e|0)!=(d|0)){do{e=e+-12|0;f[g>>2]=e;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[g>>2]|0}}while((e|0)!=(d|0));d=f[v>>2]|0}Hta(d);jb(a|0);return 0}function Hg(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0;t=0;s=u;u=u+96|0;z=s+56|0;w=s+28|0;v=s;UE(z);q=z+20|0;j=f[q>>2]|0;y=z+24|0;o=f[y>>2]|0;p=(o|0)==0;if(!p)ega(o);x=0;Fa(453,w|0);r=x;x=0;do if(r&1){g=Ya()|0;t=55}else{l=j+8|0;h=f[l>>2]|0;m=j+4|0;g=f[m>>2]|0;r=h-g>>2;k=j+16|0;i=f[k>>2]|0;n=j+20|0;e=f[n>>2]|0;if((((r|0)==0?0:(r*146|0)+-1
function Jf(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0;y=0;C=u;u=u+16|0;B=C;r=B+4|0;s=B+4|0;t=B+4|0;v=B+4|0;w=B+4|0;a:while(1){q=b;z=b+-8|0;o=b+-16|0;A=b+-4|0;p=(B|0)==(z|0);while(1){n=a;b:while(1){m=n;a=q-m|0;d=a>>3;switch(d|0){case 2:{y=5;break a}case 3:{y=18;break a}case 4:{y=19;break a}case 5:{y=20;break a}case 1:case 0:{y=108;break a}default:{}}if((a|0)<56){y=22;break a}g=(d|0)/2|0;j=n+(g<<3)|0;if((a|0)>7992){a=(d|0)/4|0;a=pk(n,n+(a<<3)|0,j,j+(a<<3)|0,z,c)|0}else a=Bj(n,j,z,c)|0;k=n+4|0;d=f[k>>2]|0;if(d|0){e=f[n+(g<<3)+4>>2]|0;if(e|0)if(xc[f[(f[d>>2]|0)+156>>2]&2047](d,e)|0){d=z;break}}if((n|0)!=(o|0)){i=n+(g<<3)+4|0;d=z;h=o;while(1){d=d+-4|0;e=f[d>>2]|0;if(e|0){g=f[i>>2]|0;if(g|0)if(xc[f[(f[e>>2]|0)+156>>2]&2047](e,g)|0){y=65;break b}}d=h+-8|0;if((n|0)==(d|0))break;else{l=h;h=d;d=l}}}a=n+8|0;d=f[k>>2]|0;if(!d)y=34;else{e=f[A>>2]|0;if(!e)y=34;else if(!(xc[f[(f[d>>2]|0)+156>>2]&2047](d,e)|0))y=34}if((y|0)==34){y=0;if((a|0)==(z|0)){y=108;break a}while(1){d=f[k>>2]|0;if(d|0){e=a+4|0;g=f[e>>2]|0;if(g|0)if(xc[f[(f[d>>2]|0)+156>>2]&2047](d,g)|0)break}a=a+8|0;if((a|0)==(z|0)){y=108;break a}}qV(B,f[e>>2]|0);f[B>>2]=15556;if(f[e>>2]|0){x=0;Fa(429,a|0);n=x;x=0;if(n&1){y=42;break a}}f[e>>2]=f[A>>2];f[A>>2]=0;if(!p){f[A>>2]=f[s>>2];f[s>>2]=0}_P(B);a=a+8|0}if((a|0)==(z|0)){y=108;break a}else g=z;while(1){while(1){d=f[k>>2]|0;if(d|0){i=a+4|0;e=f[i>>2]|0;if(e|0)if(xc[f[(f[d>>2]|0)+156>>2]&2047](d,e)|0){d=g;break}}a=a+8|0}while(1){h=d+-8|0;e=f[k>>2]|0;if(!e)break;g=f[d+-4>>2]|0;if(!g)break;if(xc[f[(f[e>>2]|0)+156>>2]&2047](e,g)|0)d=h;else break}if(a>>>0>=h>>>0){n=a;continue b}qV(B,f[i>>2]|0);f[B>>2]=15556;if(f[i>>2]|0){x=0;Fa(429,a|0);n=x;x=0;if(n&1){y=59;break a}}d=d+-4|0;f[i>>2]=f[d>>2];f[d>>2]=0;if((B|0)!=(h|0)){f[d>>2]=f[r>>2];f[r>>2]=0}_P(B);g=h;a=a+8|0}}if((y|0)==65){y=0;qV(B,f[k>>2]|0);f[B>>2]=15556;if(f[k>>2]|0){x=0;Fa(429,n|0);l=x;x=0;if(l&1){y=69;break a}}f[k>>2]=f[d>>2];f[d>>2]=0;if((B|0)!=(h|0)){f[d>>2]=f[w>>2];f[w>>2]=0}_P(B);d=h;a=a+1|0}e=n+8|0;c:do if(e>>>0<d>>>0){l=j;while(1){k=l+4|0;i=e+4|0;g=f[i>>2]|0;d:do if(g)while(1){h=f[k>>2]|0;if(!h)break d;if(!(xc[f[(f[g>>2]|0)+156>>2]&2047](g,h)|0))break d;h=e+8|0;i=e+12|0;g=f[i>>2]|0;if(!g){e=h;break}else e=h}while(0);while(1){g=d;d=d+-8|0;g=g+-4|0;h=f[g>>2]|0;if(!h)continue;j=f[k>>2]|0;if(!j)continue;if(xc[f[(f[h>>2]|0)+156>>2]&2047](h,j)|0)break}if(e>>>0>d>>>0){i=l;j=e;break c}qV(B,f[i>>2]|0);f[B>>2]=15556;if((e|0)!=(d|0)){if(f[i>>2]|0){x=0;Fa(429,e|0);k=x;x=0;if(k&1){y=89;break a}}f[i>>2]=f[g>>2];f[g>>2]=0}if((B|0)!=(d|0)){if(f[g>>2]|0){x=0;Fa(429,d|0);k=x;x=0;if(k&1){y=89;break a}}f[g>>2]=f[v>>2];f[v>>2]=0}_P(B);l=(l|0)==(e|0)?d:l;e=e+8|0;a=a+1|0}}else{i=j;j=e}while(0);if((j|0)!=(i|0)){d=i+4|0;e=f[d>>2]|0;if(e){g=j+4|0;h=f[g>>2]|0;if(h)if(xc[f[(f[e>>2]|0)+156>>2]&2047](e,h)|0){qV(B,f[g>>2]|0);f[B>>2]=15556;if(f[g>>2]|0){x=0;Fa(429,j|0);l=x;x=0;if(l&1){y=99;break a}}f[g>>2]=f[d>>2];f[d>>2]=0;if((B|0)!=(i|0)){f[d>>2]=f[t>>2];f[t>>2]=0}_P(B);a=a+1|0}}}if(!a){d=Dk(n,j,c)|0;a=j+8|0;if(Dk(a,b,c)|0){y=107;break}if(d)continue}l=j;if((l-m|0)>=(q-l|0)){y=106;break}Jf(n,j,c);a=j+8|0}if((y|0)==106){y=0;Jf(j+8|0,b,c);a=n;b=j;continue}else if((y|0)==107){y=0;if(d){y=108;break}else{a=n;b=j;continue}}}switch(y|0){case 5:{a=f[A>>2]|0;if(!a){u=C;return}b=n+4|0;d=f[b>>2]|0;if(!d){u=C;return}if(!(xc[f[(f[a>>2]|0)+156>>2]&2047](a,d)|0)){u=C;return}qV(B,f[b>>2]|0);f[B>>2]=15556;if((n|0)!=(z|0)){if(f[b>>2]|0){x=0;Fa(429,n|0);y=x;x=0;if(y&1){C=Ya()|0;_P(B);jb(C|0)}}f[b>>2]=f[A>>2];f[A>>2]=0}if((B|0)!=(z|0)){if(f[A>>2]|0){x=0;Fa(429,z|0);z=x;x=0;if(z&1){C=Ya()|0;_P(B);jb(C|0)}}z=B+4|0;f[A>>2]=f[z>>2];f[z>>2]=0}_P(B);u=C;return}case 18:{Bj(n,n+8|0,z,c)|0;u=C;return}case 19:{tm(n,n+8|0,n+16|0,z,c)|0;u=C;return}case 20:{pk(n,n+8|0,n+16|0,n+24|0,z,c)|0;u=C;return}case 22:{Gr(n,b,c);u=C;return}case 42:{C=Ya()|0;_P(B);jb(C|0)}case 59:{C=Ya()|0;_P(B);jb(C|0)}case 69:{C=Ya()|0;_P(B);jb(C|0)}case 89:{C=Ya()|0;_P(B);jb(C|0)}case 99:{C=Ya()|0;_P(B);jb(C|0)}case 108:{u=C;return}}}function Kf(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0
function We(a,c,d,e,g,h){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;B=u;u=u+288|0;y=B+80|0;C=B+40|0;o=B+264|0;n=B;G=B+252|0;F=B+240|0;D=B+188|0;m=B+200|0;r=B+176|0;z=B+136|0;A=B+120|0;w=f[a>>2]|0;i=f[c>>2]|0;v=f[343]|0;s=(v|0)==(f[(f[i+-4>>2]|0)+4>>2]|0);p=s?c:0;v=(v|0)==(f[(f[(f[d>>2]|0)+-4>>2]|0)+4>>2]|0);t=v?d:0;if(s)ND(G,p+64|0);else{i=f[i+28>>2]|0;j=y;k=e;l=j+12|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));Nc[i&255](G,c,y)}if(v){x=0;Ga(459,F|0,t+64|0);E=x;x=0;if(E&1)E=10;else E=7}else{i=f[(f[d>>2]|0)+28>>2]|0;x=0;j=y;k=e;l=j+12|0;do{b[j>>0]=b[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(l|0));Ia(i|0,F|0,d|0,y|0);E=x;x=0;if(E&1)E=10;else E=7}if((E|0)==7){i=f[417]|0;do if((i|0)==(f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)){i=Ta(32)|0;x=0;Ja(57,i|0,c|0,d|0,w|0);D=x;x=0;if(D&1){D=Ya()|0;bb(i|0);i=D;break}else{x=0;Ia(77,i|0,4400,6);x=0;E=11;break}}else{if((i|0)==(f[(f[(f[d>>2]|0)+-4>>2]|0)+4>>2]|0)){i=Ta(32)|0;x=0;Ja(57,i|0,c|0,d|0,w|0);D=x;x=0;if(D&1){D=Ya()|0;bb(i|0);i=D;break}else{x=0;Ia(77,i|0,4400,6);x=0;E=11;break}}f[D>>2]=0;f[D+4>>2]=0;f[D+8>>2]=0;a:do switch(w|0){case 8:{x=0;sa(1032,D|0,89823)|0;A=x;x=0;if(A&1)E=19;else{x=0;e=qa(318,80)|0;A=x;x=0;if(A&1)E=19;else{j=m;k=g;l=j+40|0;do{f[j>>2]=f[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(l|0));x=0;Ia(80,r|0,G|0,F|0);A=x;x=0;if(A&1)i=Ya()|0;else{j=n;k=m;l=j+40|0;do{f[j>>2]=f[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(l|0));x=0;Ga(459,o|0,r|0);A=x;x=0;if(A&1)i=Ya()|0;else{j=C;k=n;l=j+40|0;do{f[j>>2]=f[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(l|0));x=0;Fa(427,e|0);A=x;x=0;do if(A&1)i=Ya()|0;else{j=e+12|0;k=C;l=j+40|0;do{f[j>>2]=f[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(l|0));b[e+52>>0]=0;b[e+53>>0]=0;b[e+54>>0]=0;f[e+56>>2]=4;f[e>>2]=11668;b[e+60>>0]=0;b[e+61>>0]=0;x=0;Ia(101,e+64|0,o|0,1);C=x;x=0;if(C&1){i=Ya()|0;break}f[e+76>>2]=0;if((b[o+11>>0]|0)<0)Hta(f[o>>2]|0);f[e>>2]=11800;if((b[r+11>>0]|0)>=0){i=e;E=112;break a}Hta(f[r>>2]|0);i=e;E=112;break a}while(0);if((b[o+11>>0]|0)<0)Hta(f[o>>2]|0)}if((b[r+11>>0]|0)<0)Hta(f[r>>2]|0)}Hta(e)}}break}case 9:{x=0;sa(1032,D|0,52295)|0;E=x;x=0;if(E&1)E=19;else E=49;break}case 11:{x=0;sa(1032,D|0,52297)|0;E=x;x=0;if(E&1)E=19;else E=49;break}case 2:{x=0;sa(1032,D|0,52299)|0;E=x;x=0;if(E&1)E=19;else E=49;break}case 3:{x=0;sa(1032,D|0,52302)|0;E=x;x=0;if(E&1)E=19;else E=49;break}case 6:{x=0;sa(1032,D|0,52305)|0;E=x;x=0;if(E&1)E=19;else E=49;break}case 4:{x=0;sa(1032,D|0,52307)|0;E=x;x=0;if(E&1)E=19;else E=49;break}case 7:{x=0;sa(1032,D|0,52309)|0;E=x;x=0;if(E&1)E=19;else E=49;break}case 5:{x=0;sa(1032,D|0,52312)|0;E=x;x=0;if(E&1)E=19;else E=49;break}default:{i=Ta(32)|0;x=0;Ja(56,i|0,c|0,d|0,w|0);C=x;x=0;if(C&1){C=Ya()|0;bb(i|0);i=C;break a}else{x=0;Ia(77,i|0,4384,6);x=0;E=19;break a}}}while(0);b:do if((E|0)==49){i=D+11|0;d=b[i>>0]|0;e=D+4|0;do if(!((d<<24>>24<0?f[e>>2]|0:d&255)|0)){x=0;j=wa(21,D|0,0,-1,89823,0)|0;d=x;x=0;if(d&1){d=Za(0)|0;soa(d)}else{q=(j|0)!=0;break}}else q=1;while(0);do if(!(q^1|h)){do if(b[a+4>>0]|0){x=0;Ia(92,y|0,53148,D|0);h=x;x=0;if(h&1){i=Ya()|0;break b}if((b[i>>0]|0)<0){b[f[D>>2]>>0]=0;f[e>>2]=0}else{b[D>>0]=0;b[i>>0]=0}x=0;Ga(501,D|0,0);h=x;x=0;if(h&1){h=Za(0)|0;soa(h)}else{f[D>>2]=f[y>>2];f[D+4>>2]=f[y+4>>2];f[D+8>>2]=f[y+8>>2];break}}while(0);if(b[a+5>>0]|0){x=0;Ia(79,y|0,D|0,53148);h=x;x=0;if(h&1){i=Ya()|0;break b}if((b[i>>0]|0)<0){b[f[D>>2]>>0]=0;f[e>>2]=0}else{b[D>>0]=0;b[i>>0]=0}x=0;Ga(501,D|0,0);h=x;x=0;if(h&1){h=Za(0)|0;soa(h)}else{f[D>>2]=f[y>>2];f[D+4>>2]=f[y+4>>2];f[D+8>>2]=f[y+8>>2];break}}}while(0);do if((w|2|0)==11){do if(s)if(b[p+60>>0]|0){x=0;Ia(105,y|0,G|0,0);w=x;x=0;if(w&1){i=Ya()|0;break b}i=G+11|0;if((b[i>>0]|0)<0){b[f[G>>2]>>0]=0;f[G+4>>2]=0}else{b[G>>0]=0;b[i>>0]=0}x=0;Ga(501,G|0,0);w=x;x=0;if(w&1){w=Za(0)|0;soa(w)}else{f[G>>2]=f[y>>2];f[G+4>>2]=f[y+4>>2];f[G+8>>2]=f[y+8>>2];break}}while(0);if(v)if(b[t+60>>0]|0){x=0;Ia(105,y|0,F|0,0);w=x;x=0;if(w&1){i=Ya()|0;break b}i=F+11|0;if((b[i>>0]|0)<0){b[f[F>>2]>>0]=0;f[F+4>>2]=0}else{b[F>>0]=0;b[i>>0]=0}x=0;Ga(501,F|0,0);w=x;x=0;if(w&1){w=Za(0)|0;soa(w)}else{f[F>>2]=f[y>>2];f[F+4>>2]=
function te(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;L=0;I=u;u=u+272|0;E=I+232|0;P=I+216|0;Q=I+196|0;O=I+184|0;N=I+164|0;k=I+208|0;j=I+176|0;M=I+152|0;K=I+128|0;q=I+144|0;l=I+120|0;C=I+80|0;D=I+72|0;G=I+64|0;H=I+56|0;F=I+16|0;J=I;f[P>>2]=0;f[P+4>>2]=0;f[P+8>>2]=0;f[Q>>2]=0;f[Q+4>>2]=0;f[Q+8>>2]=0;if(!(b[c+89>>0]|0))h=b[c+88>>0]|0?49860:89823;else h=49204;f[O>>2]=0;f[O+4>>2]=0;f[O+8>>2]=0;i=hL(h)|0;do if(i>>>0>4294967279){x=0;Fa(428,O|0);x=0;L=33}else{if(i>>>0<11){b[O+11>>0]=i;if(!i)e=O;else{e=O;L=9}}else{g=i+16&-16;x=0;e=qa(318,g|0)|0;L=x;x=0;if(L&1){L=33;break}f[O>>2]=e;f[O+8>>2]=g|-2147483648;f[O+4>>2]=i;L=9}if((L|0)==9)Lu(e|0,h|0,i|0)|0;b[e+i>>0]=0;e=c+84|0;x=0;Ga(462,k|0,f[e>>2]|0);w=x;x=0;a:do if(w&1)e=Ya()|0;else{f[k>>2]=7904;b:do if(!(f[k+4>>2]|0)){f[N>>2]=0;f[N+4>>2]=0;f[N+8>>2]=0}else{x=0;Ga(462,j|0,f[e>>2]|0);w=x;x=0;do if(w&1)e=Ya()|0;else{f[j>>2]=7904;e=f[j+4>>2]|0;g=f[(f[e>>2]|0)+28>>2]|0;x=0;h=E;o=f[(f[a+4>>2]|0)+16>>2]|0;p=h+12|0;do{b[h>>0]=b[o>>0]|0;h=h+1|0;o=o+1|0}while((h|0)<(p|0));Ia(g|0,N|0,e|0,E|0);w=x;x=0;if(w&1){e=Ya()|0;_P(j);break}else{_P(j);break b}}while(0);_P(k);break a}while(0);_P(k);if(!(b[d+89>>0]|0))h=b[d+88>>0]|0?49860:89823;else h=49204;f[M>>2]=0;f[M+4>>2]=0;f[M+8>>2]=0;i=hL(h)|0;do if(i>>>0>4294967279){x=0;Fa(428,M|0);x=0;L=38}else{if(i>>>0<11){b[M+11>>0]=i;if(!i)e=M;else{e=M;L=24}}else{g=i+16&-16;x=0;e=qa(318,g|0)|0;L=x;x=0;if(L&1){L=38;break}f[M>>2]=e;f[M+8>>2]=g|-2147483648;f[M+4>>2]=i;L=24}if((L|0)==24)Lu(e|0,h|0,i|0)|0;b[e+i>>0]=0;e=d+84|0;x=0;Ga(462,q|0,f[e>>2]|0);w=x;x=0;c:do if(w&1)e=Ya()|0;else{f[q>>2]=7904;d:do if(!(f[q+4>>2]|0)){f[K>>2]=0;f[K+4>>2]=0;f[K+8>>2]=0}else{x=0;Ga(462,l|0,f[e>>2]|0);w=x;x=0;do if(w&1)e=Ya()|0;else{f[l>>2]=7904;g=f[l+4>>2]|0;e=f[(f[g>>2]|0)+28>>2]|0;x=0;h=E;o=f[(f[a+4>>2]|0)+16>>2]|0;p=h+12|0;do{b[h>>0]=b[o>>0]|0;h=h+1|0;o=o+1|0}while((h|0)<(p|0));Ia(e|0,K|0,g|0,E|0);w=x;x=0;if(w&1){e=Ya()|0;_P(l);break}else{_P(l);break d}}while(0);_P(q);break c}while(0);_P(q);v=N+11|0;L=b[v>>0]|0;i=N+4|0;if(!((L<<24>>24<0?f[i>>2]|0:L&255)|0)){x=0;sa(986,N|0,K|0)|0;L=x;x=0;if(L&1)L=43;else L=44}else L=44;e:do if((L|0)==44){g=K+11|0;w=b[g>>0]|0;j=K+4|0;if(!((w<<24>>24<0?f[j>>2]|0:w&255)|0)){x=0;sa(986,K|0,N|0)|0;w=x;x=0;if(w&1){L=43;break}}w=O+11|0;q=b[w>>0]|0;o=O+4|0;do if(((q<<24>>24<0?f[o>>2]|0:q&255)|0)==3){x=0;e=wa(21,O|0,0,-1,49860,3)|0;q=x;x=0;if(q&1){q=Za(0)|0;soa(q)}else{r=(e|0)==0;break}}else r=0;while(0);q=M+11|0;p=b[q>>0]|0;h=M+4|0;do if(((p<<24>>24<0?f[h>>2]|0:p&255)|0)==3){x=0;e=wa(21,M|0,0,-1,49860,3)|0;p=x;x=0;if(p&1){J=Za(0)|0;soa(J)}else if(r^(e|0)==0){L=55;break}else{L=73;break}}else if(r)L=55;else L=73;while(0);f:do if((L|0)==55){h=b[v>>0]|0;l=h<<24>>24<0;h=h&255;a=l?f[i>>2]|0:h;m=b[g>>0]|0;e=m<<24>>24<0;do if((a|0)==((e?f[j>>2]|0:m&255)|0)){j=f[N>>2]|0;k=l?j:N;e=e?f[K>>2]|0:K;i=(a|0)==0;if(l){if(i){n=0;break f}if(!(lO(k,e,a)|0)){n=0;break f}else break}if(i){n=0;break f}if((b[e>>0]|0)==(j&255)<<24>>24)i=N;else break;do{h=h+-1|0;i=i+1|0;if(!h){n=0;break f}e=e+1|0}while((b[i>>0]|0)==(b[e>>0]|0))}while(0);L=b[w>>0]|0;do if(((L<<24>>24<0?f[o>>2]|0:L&255)|0)==3){x=0;e=wa(21,O|0,0,-1,49860,3)|0;L=x;x=0;if(L&1){L=Za(0)|0;soa(L)}else{s=(e|0)==0?K:N;break}}else s=N;while(0);x=0;sa(986,P|0,s|0)|0;L=x;x=0;if(L&1){L=43;break e}L=b[w>>0]|0;do if(((L<<24>>24<0?f[o>>2]|0:L&255)|0)==3){x=0;e=wa(21,O|0,0,-1,49860,3)|0;L=x;x=0;if(L&1){L=Za(0)|0;soa(L)}else{t=(e|0)==0?M:O;break}}else t=O;while(0);x=0;sa(986,Q|0,t|0)|0;L=x;x=0;if(L&1){L=43;break e}else L=101}else if((L|0)==73){t=b[w>>0]|0;do if(((t<<24>>24<0?f[o>>2]|0:t&255)|0)==3){x=0;e=wa(21,O|0,0,-1,49860,3)|0;t=x;x=0;if(t&1){t=Za(0)|0;soa(t)}if(e|0)break;t=b[q>>0]|0;if(((t<<24>>24<0?f[h>>2]|0:t&255)|0)!=3)break;x=0;e=wa(21,M|0,0,-1,49860,3)|0;t=x;x=0;if(t&1){t=Za(0)|0;soa(t)}if(e|0)break;h=b[v>>0]|0;l=h<<24>>24<0;h=h&255;a=l?f[i>>2]|0:h;m=b[g>>0]|0;e=m<<24>>24<0;if((a|0)!=((e?f[j>>2]|0:m&255)|0)){n=0;break f}j=f[N>>2]|0;k=l?j:N;e=e?f[K>>2]|0:K;i=(a|0)==0;g:do if(l){if(i)break;if(lO(k
function Fd(a,c,d,e,g,h,i){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;h=h|0;i=i|0;var j=0,k=0.0,l=0,m=0,n=0.0,o=0.0,q=0.0,r=0.0,s=0.0,t=0.0,v=0.0,w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,J=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;ba=u;u=u+656|0;$=ba+40|0;ca=ba;c=ba+616|0;w=ba+604|0;z=ba+592|0;A=ba+552|0;M=ba+536|0;E=ba+496|0;Q=ba+480|0;N=ba+440|0;U=ba+424|0;S=ba+384|0;Y=ba+368|0;X=ba+328|0;_=ba+312|0;L=ba+272|0;R=ba+256|0;P=ba+216|0;V=ba+200|0;T=ba+160|0;Z=ba+144|0;C=ba+104|0;D=ba+92|0;B=ba+80|0;f[ca>>2]=0;f[ca+4>>2]=0;f[ca+8>>2]=0;y=ca+11|0;b[y>>0]=6;b[ca>>0]=b[39245]|0;b[ca+1>>0]=b[39246]|0;b[ca+2>>0]=b[39247]|0;b[ca+3>>0]=b[39248]|0;b[ca+4>>0]=b[39249]|0;b[ca+5>>0]=b[39250]|0;b[ca+6>>0]=0;F=c;G=g;H=F+40|0;do{f[F>>2]=f[G>>2];F=F+4|0;G=G+4|0}while((F|0)<(H|0));x=0;Ga(511,w|0,h|0);aa=x;x=0;do if(aa&1)c=Ya()|0;else{x=0;F=$;G=c;H=F+40|0;do{f[F>>2]=f[G>>2];F=F+4|0;G=G+4|0}while((F|0)<(H|0));aa=wa(26,ca|0,a|0,e|0,$|0,w|0)|0;W=x;x=0;if(W&1){c=Ya()|0;l=I;d=f[w>>2]|0;if(!d)break;m=w+4|0;i=f[m>>2]|0;if((i|0)!=(d|0)){do{j=i+-52|0;f[m>>2]=j;i=i+-12|0;if((b[i+11>>0]|0)<0){Hta(f[i>>2]|0);i=f[m>>2]|0}else i=j}while((i|0)!=(d|0));d=f[w>>2]|0}Hta(d);break}c=f[w>>2]|0;if(c|0){j=w+4|0;d=f[j>>2]|0;if((d|0)!=(c|0)){do{i=d+-52|0;f[j>>2]=i;d=d+-12|0;if((b[d+11>>0]|0)<0){Hta(f[d>>2]|0);d=f[j>>2]|0}else d=i}while((d|0)!=(c|0));c=f[w>>2]|0}Hta(c)}if((b[y>>0]|0)<0)Hta(f[ca>>2]|0);f[$>>2]=0;f[$+4>>2]=0;f[$+8>>2]=0;d=$+11|0;b[d>>0]=4;f[$>>2]=1684369956;b[$+4>>0]=0;x=0;c=sa(992,a|0,$|0)|0;W=x;x=0;if(W&1){c=Ya()|0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);ca=c;jb(ca|0)}c=f[c+4>>2]|0;if(!c)j=0;else j=(f[49]|0)==(f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)?c:0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);f[$>>2]=0;f[$+4>>2]=0;f[$+8>>2]=0;d=$+11|0;b[d>>0]=6;b[$>>0]=b[39214]|0;b[$+1>>0]=b[39215]|0;b[$+2>>0]=b[39216]|0;b[$+3>>0]=b[39217]|0;b[$+4>>0]=b[39218]|0;b[$+5>>0]=b[39219]|0;b[$+6>>0]=0;x=0;c=sa(992,a|0,$|0)|0;W=x;x=0;if(W&1){c=Ya()|0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);ca=c;jb(ca|0)}c=f[c+4>>2]|0;if(!c)i=0;else i=(f[49]|0)==(f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)?c:0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);f[$>>2]=0;f[$+4>>2]=0;f[$+8>>2]=0;d=$+11|0;b[d>>0]=5;b[$>>0]=b[39221]|0;b[$+1>>0]=b[39222]|0;b[$+2>>0]=b[39223]|0;b[$+3>>0]=b[39224]|0;b[$+4>>0]=b[39225]|0;b[$+5>>0]=0;x=0;c=sa(992,a|0,$|0)|0;W=x;x=0;if(W&1){c=Ya()|0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);ca=c;jb(ca|0)}c=f[c+4>>2]|0;if(!c)y=0;else y=(f[49]|0)==(f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)?c:0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);f[$>>2]=0;f[$+4>>2]=0;f[$+8>>2]=0;d=$+11|0;b[d>>0]=4;f[$>>2]=1702193188;b[$+4>>0]=0;x=0;c=sa(992,a|0,$|0)|0;W=x;x=0;if(W&1){c=Ya()|0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);ca=c;jb(ca|0)}c=f[c+4>>2]|0;if(!c)O=0;else O=(f[49]|0)==(f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)?c:0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);c=VN(16)|0;f[$>>2]=c;f[$+8>>2]=-2147483632;f[$+4>>2]=11;F=c;G=39298;H=F+11|0;do{b[F>>0]=b[G>>0]|0;F=F+1|0;G=G+1|0}while((F|0)<(H|0));b[c+11>>0]=0;x=0;c=sa(992,a|0,$|0)|0;W=x;x=0;if(W&1){c=Ya()|0;if((b[$+11>>0]|0)<0)Hta(f[$>>2]|0);ca=c;jb(ca|0)}c=f[c+4>>2]|0;if(!c)l=0;else l=(f[49]|0)==(f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)?c:0;if((b[$+11>>0]|0)<0)Hta(f[$>>2]|0);d=$+11|0;b[d>>0]=10;F=$;G=39310;H=F+10|0;do{b[F>>0]=b[G>>0]|0;F=F+1|0;G=G+1|0}while((F|0)<(H|0));b[$+10>>0]=0;x=0;c=sa(992,a|0,$|0)|0;W=x;x=0;if(W&1){c=Ya()|0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);ca=c;jb(ca|0)}c=f[c+4>>2]|0;if(!c)w=0;else w=(f[49]|0)==(f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)?c:0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);f[$>>2]=0;f[$+4>>2]=0;f[$+8>>2]=0;d=$+11|0;b[d>>0]=6;b[$>>0]=b[39238]|0;b[$+1>>0]=b[39239]|0;b[$+2>>0]=b[39240]|0;b[$+3>>0]=b[39241]|0;b[$+4>>0]=b[39242]|0;b[$+5>>0]=b[39243]|0;b[$+6>>0]=0;x=0;c=sa(992,a|0,$|0)|0;W=x;x=0;if(W&1){c=Ya()|0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);ca=c;jb(ca|0)}c=f[c+4>>2]|0;if(!c)W=0;else W=(f[49]|0)==(f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)?c:0;if((b[d>>0]|0)<0)Hta(f[$>>2]|0);j=(j|0)!=0;m=(i|0)!=0;i=j|m|(y|0)!=0;J=(O|0)!=0;l=(l|0)!=0;c=J|l|(w|0)!=0;do if(i&c){d=VN(96)|0;f[z>>2]=d;f[z+8>>2]=-2147483552;f[z+4>>2]=81;F=d;G=39385;H=F+81|0;do{b[F>>0]=b[G>>0]|0;F=F+1|0;G=G+1|0}while((F|0)<(H|0));b[d+81>>0]=0;x=0;F=
function Xd(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0.0,l=0.0,m=0.0,n=0.0,o=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0;K=0;M=u;u=u+576|0;L=M+160|0;A=M+120|0;i=M+80|0;s=M+40|0;j=M;h=M+536|0;y=M+496|0;z=M+480|0;o=M+440|0;v=M+424|0;t=M+384|0;w=M+368|0;g=M+328|0;e=M+288|0;B=M+280|0;D=M+264|0;C=M+248|0;J=M+236|0;H=M+224|0;q=M+212|0;r=M+200|0;do switch(csa(a)|0){case 0:{g=VN(68)|0;E=h;F=d;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));x=0;e=qa(394,a|0)|0;L=x;x=0;if(!(L&1)){E=j;F=h;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));x=0;Fa(427,g|0);L=x;x=0;if(!(L&1)){e=e&1;E=g+12|0;F=j;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));b[g+52>>0]=0;b[g+53>>0]=0;b[g+54>>0]=0;f[g>>2]=11240;b[g+60>>0]=e;f[g+64>>2]=0;f[g+56>>2]=1;L=g;u=M;return L|0}}M=Ya()|0;Hta(g);jb(M|0)}case 1:{j=VN(104)|0;E=y;F=d;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));x=0;k=+ga(4,a|0);d=x;x=0;do if(d&1)K=18;else{x=0;h=qa(395,a|0)|0;d=x;x=0;if(d&1)K=18;else{f[z>>2]=0;f[z+4>>2]=0;f[z+8>>2]=0;i=hL(h)|0;if(i>>>0>4294967279){x=0;Fa(428,z|0);x=0;K=18;break}if(i>>>0<11){b[z+11>>0]=i;if(!i)e=z;else{e=z;K=14}}else{g=i+16&-16;x=0;e=qa(318,g|0)|0;d=x;x=0;if(d&1){K=18;break}f[z>>2]=e;f[z+8>>2]=g|-2147483648;f[z+4>>2]=i;K=14}if((K|0)==14)Lu(e|0,h|0,i|0)|0;b[e+i>>0]=0;x=0;E=L;F=y;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));Ha(1,j|0,L|0,+k,z|0,1);L=x;x=0;if(L&1){e=Ya()|0;if((b[z+11>>0]|0)>=0)break;Hta(f[z>>2]|0);break}if((b[z+11>>0]|0)>=0){L=j;u=M;return L|0}Hta(f[z>>2]|0);L=j;u=M;return L|0}}while(0);if((K|0)==18)e=Ya()|0;Hta(j);M=e;jb(M|0)}case 2:{h=VN(112)|0;E=o;F=d;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));x=0;l=+ga(5,a|0);L=x;x=0;do if(L&1)K=30;else{x=0;m=+ga(6,a|0);L=x;x=0;if(L&1)K=30;else{x=0;n=+ga(7,a|0);L=x;x=0;if(L&1)K=30;else{x=0;k=+ga(8,a|0);L=x;x=0;if(L&1)K=30;else{g=v+11|0;f[v>>2]=0;f[v+4>>2]=0;f[v+8>>2]=0;E=s;F=o;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));x=0;Fa(427,h|0);L=x;x=0;if(L&1){e=Ya()|0;break}E=h+12|0;F=s;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));b[h+52>>0]=0;b[h+53>>0]=0;b[h+54>>0]=0;e=h+56|0;f[e>>2]=0;f[h>>2]=11116;p[h+64>>3]=l;p[h+72>>3]=m;p[h+80>>3]=n;p[h+88>>3]=k;x=0;Ga(459,h+96|0,v|0);L=x;x=0;if(L&1){e=Ya()|0;if((b[g>>0]|0)>=0)break;Hta(f[v>>2]|0);break}f[h+108>>2]=0;f[e>>2]=3;if((b[g>>0]|0)>=0){L=h;u=M;return L|0}Hta(f[v>>2]|0);L=h;u=M;return L|0}}}}while(0);if((K|0)==30)e=Ya()|0;Hta(h);M=e;jb(M|0)}case 3:{c=Vpa(a)|0;j=VN(80)|0;if(!c){E=g;F=d;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));x=0;e=qa(396,a|0)|0;d=x;x=0;if(!(d&1)){x=0;E=L;F=g;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));Ja(33,j|0,L|0,e|0,1);L=x;x=0;if(!(L&1)){L=j;u=M;return L|0}}M=Ya()|0;Hta(j);jb(M|0)}E=t;F=d;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));x=0;h=qa(396,a|0)|0;d=x;x=0;do if(d&1)K=47;else{f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;i=hL(h)|0;if(i>>>0>4294967279){x=0;Fa(428,w|0);x=0;K=47;break}if(i>>>0<11){b[w+11>>0]=i;if(!i)e=w;else{e=w;K=43}}else{g=i+16&-16;x=0;e=qa(318,g|0)|0;d=x;x=0;if(d&1){K=47;break}f[w>>2]=e;f[w+8>>2]=g|-2147483648;f[w+4>>2]=i;K=43}if((K|0)==43)Lu(e|0,h|0,i|0)|0;b[e+i>>0]=0;x=0;E=L;F=t;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));Na(1,j|0,L|0,w|0,0,0,0,1,1);L=x;x=0;if(L&1){e=Ya()|0;if((b[w+11>>0]|0)>=0)break;Hta(f[w>>2]|0);break}if((b[w+11>>0]|0)>=0){L=j;u=M;return L|0}Hta(f[w>>2]|0);L=j;u=M;return L|0}while(0);if((K|0)==47)e=Ya()|0;Hta(j);M=e;jb(M|0)}case 4:{s=VN(88)|0;E=e;F=d;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));x=0;g=qa(397,a|0)|0;J=x;x=0;do if(J&1)K=68;else{x=0;h=qa(398,a|0)|0;J=x;x=0;if(J&1)K=68;else{E=i;F=e;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));x=0;Fa(427,s|0);J=x;x=0;if(J&1)K=68;else{E=s+12|0;F=i;G=E+40|0;do{f[E>>2]=f[F>>2];E=E+4|0;F=F+4|0}while((E|0)<(G|0));b[s+52>>0]=0;b[s+53>>0]=0;b[s+54>>0]=0;e=s+56|0;f[e>>2]=0;f[s>>2]=6516;q=s+60|0;f[q>>2]=9660;j=s+64|0;o=s+68|0;f[j>>2]=0;f[j+4>>2]=0;f[j+8>>2]=0;f[j+12>>2]=0;x=0;Ga(516,j|0,g|0);J=x;x=0
function rd(a,c,d,e,g){a=a|0;c=c|0;d=d|0;e=e|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0;ha=0;ga=u;u=u+368|0;ca=ga+312|0;ia=ga+280|0;fa=ga+272|0;ea=ga+264|0;da=ga+252|0;S=ga+248|0;_=ga+40|0;aa=ga;na=ga+236|0;i=ga+352|0;ma=ga+224|0;ka=ga+200|0;ba=ga+192|0;$=ga+128|0;O=ga+216|0;Z=ga+104|0;Y=ga+96|0;P=ga+152|0;U=ga+144|0;V=ga+136|0;T=ga+120|0;Q=ga+112|0;X=ga+80|0;UE(a);h=f[c+4>>2]|0;x=0;Ga(462,ca|0,d|0);la=x;x=0;do if(la&1){h=Ya()|0;ha=10}else{f[ca>>2]=15572;x=0;Ia(141,na|0,h|0,ca|0);la=x;x=0;if(la&1){h=Ya()|0;_P(ca);ha=10;break}_P(ca);f[ma>>2]=0;la=ma+4|0;f[la>>2]=0;f[ma+8>>2]=0;x=0;Ia(144,na|0,i|0,ma|0);ja=x;x=0;a:do if(ja&1){h=Ya()|0;o=I}else{f[ka>>2]=0;ja=ka+4|0;f[ja>>2]=0;f[ka+8>>2]=0;h=f[ma>>2]|0;p=f[la>>2]|0;b:do if((h|0)!=(p|0)){q=d+12|0;r=ia+4|0;s=ba+4|0;t=O+4|0;v=$+4|0;w=ca+4|0;y=aa+4|0;z=_+4|0;A=Z+4|0;B=Y+4|0;C=X+4|0;D=X+8|0;W=X+4|0;E=d+92|0;F=d+96|0;G=ca+8|0;H=ka+8|0;J=ca+4|0;K=ca+12|0;R=ca+8|0;L=fa+4|0;M=ea+4|0;N=W;c:while(1){x=0;Ga(462,ia|0,f[h+4>>2]|0);ha=x;x=0;if(ha&1){ha=25;break}f[ia>>2]=15556;x=0;n=qa(318,108)|0;ha=x;x=0;if(ha&1){ha=26;break}i=aa;j=q;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));x=0;Fa(427,n|0);ha=x;x=0;if(ha&1){ha=27;break}i=n+12|0;j=aa;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));b[n+52>>0]=0;b[n+53>>0]=0;b[n+54>>0]=0;f[n>>2]=15620;b[n+60>>0]=0;b[n+61>>0]=0;b[n+62>>0]=0;f[n+64>>2]=0;f[n+68>>2]=0;f[n+56>>2]=7;i=n+72|0;f[i>>2]=15516;m=n+76|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;x=0;Ga(513,m|0,0);ha=x;x=0;if(ha&1){ha=16;break}f[n>>2]=15300;f[i>>2]=15476;ha=n+96|0;f[ha>>2]=0;f[n+100>>2]=0;f[n+92>>2]=ha;b[n+104>>0]=0;b[n+105>>0]=0;x=0;Ga(462,ba|0,n|0);ha=x;x=0;if(ha&1){ha=26;break}f[ba>>2]=15572;i=f[h+8>>2]|0;j=f[h+12>>2]|0;if((i|0)!=(j|0))do{ha=f[i+12>>2]|0;b[ha+104>>0]=1;o=(f[s>>2]|0)+72|0;x=0;Ga(f[(f[o>>2]|0)+24>>2]|0,o|0,((ha|0)==0?0:ha+72|0)|0);ha=x;x=0;if(ha&1){ha=31;break c}i=i+16|0}while((i|0)!=(j|0));o=f[r>>2]|0;x=0;i=sa(1051,d|0,f[s>>2]|0)|0;ha=x;x=0;if(ha&1){ha=49;break}x=0;Ga(462,aa|0,i|0);ha=x;x=0;if(ha&1){ha=49;break}f[aa>>2]=15572;x=0;Ga(566,O|0,o|0);ha=x;x=0;if(ha&1){ha=50;break}x=0;Ga(462,$|0,f[(f[t>>2]|0)+80>>2]|0);ha=x;x=0;if(ha&1){ha=51;break}f[$>>2]=15572;_P(O);i=f[v>>2]|0;if(!i){x=0;n=qa(318,108)|0;ha=x;x=0;if(ha&1){ha=52;break}i=_;j=q;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));x=0;Fa(427,n|0);ha=x;x=0;if(ha&1){ha=53;break}i=n+12|0;j=_;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));b[n+52>>0]=0;b[n+53>>0]=0;b[n+54>>0]=0;f[n>>2]=15620;b[n+60>>0]=0;b[n+61>>0]=0;b[n+62>>0]=0;f[n+64>>2]=0;f[n+68>>2]=0;f[n+56>>2]=7;i=n+72|0;f[i>>2]=15516;m=n+76|0;f[m>>2]=0;f[m+4>>2]=0;f[m+8>>2]=0;f[m+12>>2]=0;x=0;Ga(513,m|0,0);ha=x;x=0;if(ha&1){ha=39;break}f[n>>2]=15300;f[i>>2]=15476;ha=n+96|0;f[ha>>2]=0;f[n+100>>2]=0;f[n+92>>2]=ha;b[n+104>>0]=0;b[n+105>>0]=0;x=0;Ga(462,ca|0,n|0);ha=x;x=0;if(ha&1){ha=52;break}f[ca>>2]=15572;if(f[v>>2]|0){x=0;Fa(429,$|0);ha=x;x=0;if(ha&1){ha=55;break}}f[v>>2]=f[w>>2];f[w>>2]=0;_P(ca);i=f[v>>2]|0}x=0;i=sa(988,i|0,f[y>>2]|0)|0;ha=x;x=0;if(ha&1){ha=61;break}x=0;Ga(462,_|0,i|0);ha=x;x=0;if(ha&1){ha=61;break}f[_>>2]=15572;i=f[z>>2]|0;do if(i|0){if((f[i+80>>2]|0)==(f[i+76>>2]|0))break;x=0;i=qa(f[(f[o>>2]|0)+16>>2]|0,o|0)|0;ha=x;x=0;if(ha&1){ha=91;break c}x=0;Ga(462,Z|0,i|0);ha=x;x=0;if(ha&1){ha=91;break c}f[Z>>2]=15556;x=0;l=qa(318,100)|0;ha=x;x=0;if(ha&1){ha=92;break c}i=P;j=q;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));x=0;Ga(462,U|0,f[z>>2]|0);ha=x;x=0;if(ha&1){ha=93;break c}f[U>>2]=15572;x=0;Ga(462,V|0,0);ha=x;x=0;if(ha&1){ha=94;break c}f[V>>2]=15556;x=0;Ga(462,T|0,0);ha=x;x=0;if(ha&1){ha=95;break c}f[T>>2]=7904;x=0;i=ca;j=P;k=i+40|0;do{f[i>>2]=f[j>>2];i=i+4|0;j=j+4|0}while((i|0)<(k|0));La(10,l|0,ca|0,0,U|0,V|0,T|0);ha=x;x=0;if(ha&1){h=1;ha=96;break c}x=0;Ga(462,Y|0,l|0);ha=x;x=0;if(ha&1){h=0;ha=96;break c}f[Y>>2]=15556;_P(T);_P(V);_P(U);x=0;i=qa(322,f
function Vc(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0.0;f[fc>>2]=a;c=fc+8|0;g=j[a+2>>1]|0;fc=fc+(g+1<<3)|0;if((ec|0)!=2){}else{a=(f[c-4>>2]|0)-8|0}a=a+4|0;while(1){a=a+4|0;e=f[a>>2]|0;g=e>>8&255;i=e>>16&255;k=e>>>24;switch(e&255){case 0:f[c+(g<<3)>>2]=f[c+(i<<3)>>2]|0;break;case 1:f[c+(g<<3)>>2]=e>>16;break;case 2:a=a+4|0;f[c+(g<<3)>>2]=f[a>>2]|0;break;case 3:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)+(f[c+(k<<3)>>2]|0)|0;break;case 4:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)-(f[c+(k<<3)>>2]|0)|0;break;case 11:f[c+(g<<3)>>2]=~(f[c+(i<<3)>>2]|0);break;case 13:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)==(f[c+(k<<3)>>2]|0)|0;break;case 16:f[c+(g<<3)>>2]=f[c+(i<<3)>>2]>>>0<f[c+(k<<3)>>2]>>>0|0;break;case 19:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)&(f[c+(k<<3)>>2]|0);break;case 20:f[c+(g<<3)>>2]=f[c+(i<<3)>>2]|0|(f[c+(k<<3)>>2]|0);break;case 25:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)+(e>>24)|0;break;case 26:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)-(e>>24)|0;break;case 27:i=X(f[c+(i<<3)>>2]|0,e>>24)|0;f[c+(g<<3)>>2]=i;break;case 28:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)/(e>>24)|0;break;case 32:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)==e>>24|0;break;case 33:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)!=e>>24|0;break;case 34:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)<e>>24|0;break;case 35:f[c+(g<<3)>>2]=f[c+(i<<3)>>2]>>>0<k>>>0|0;break;case 38:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)&e>>24;break;case 39:f[c+(g<<3)>>2]=f[c+(i<<3)>>2]|0|e>>24;break;case 40:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)^e>>24;break;case 41:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)<<k;break;case 42:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)>>k;break;case 43:f[c+(g<<3)>>2]=(f[c+(i<<3)>>2]|0)>>>k;break;case 45:if((f[c+(i<<3)>>2]|0)==(f[c+(k<<3)>>2]|0)){a=a+4|0}else{a=f[a+4>>2]|0;a=a-4|0;continue}break;case 46:if((f[c+(i<<3)>>2]|0)!=(f[c+(k<<3)>>2]|0)){a=a+4|0}else{a=f[a+4>>2]|0;a=a-4|0;continue}break;case 47:if((f[c+(i<<3)>>2]|0)<(f[c+(k<<3)>>2]|0)){a=a+4|0}else{a=f[a+4>>2]|0;a=a-4|0;continue}break;case 48:if(f[c+(i<<3)>>2]>>>0<f[c+(k<<3)>>2]>>>0){a=a+4|0}else{a=f[a+4>>2]|0;a=a-4|0;continue}break;case 49:if((f[c+(i<<3)>>2]|0)<=(f[c+(k<<3)>>2]|0)){a=a+4|0}else{a=f[a+4>>2]|0;a=a-4|0;continue}break;case 50:if(f[c+(i<<3)>>2]>>>0<=f[c+(k<<3)>>2]>>>0){a=a+4|0}else{a=f[a+4>>2]|0;a=a-4|0;continue}break;case 52:if((f[c+(i<<3)>>2]|0)==(f[c+(k<<3)>>2]|0)){a=f[a+4>>2]|0;a=a-4|0;continue}else{a=a+4|0}break;case 53:if((f[c+(i<<3)>>2]|0)!=(f[c+(k<<3)>>2]|0)){a=f[a+4>>2]|0;a=a-4|0;continue}else{a=a+4|0}break;case 54:if((f[c+(i<<3)>>2]|0)<(f[c+(k<<3)>>2]|0)){a=f[a+4>>2]|0;a=a-4|0;continue}else{a=a+4|0}break;case 55:if(f[c+(i<<3)>>2]>>>0<f[c+(k<<3)>>2]>>>0){a=f[a+4>>2]|0;a=a-4|0;continue}else{a=a+4|0}break;case 56:if((f[c+(i<<3)>>2]|0)<=(f[c+(k<<3)>>2]|0)){a=f[a+4>>2]|0;a=a-4|0;continue}else{a=a+4|0}break;case 57:if(f[c+(i<<3)>>2]>>>0<=f[c+(k<<3)>>2]>>>0){a=f[a+4>>2]|0;a=a-4|0;continue}else{a=a+4|0}break;case 59:p[c+(g<<3)>>3]=+(e>>16);break;case 78:f[c+(g<<3)>>2]=b[f[c+(i<<3)>>2]>>0];break;case 82:f[c+(g<<3)>>2]=f[f[c+(i<<3)>>2]>>2];break;case 83:b[f[c+(g<<3)>>2]>>0]=f[c+(i<<3)>>2]|0;break;case 85:f[f[c+(g<<3)>>2]>>2]=f[c+(i<<3)>>2]|0;break;case 94:f[c+(g<<3)>>2]=f[(f[c+(i<<3)>>2]|0)+(f[c+(k<<3)>>2]|0)>>2];break;case 95:b[(f[c+(g<<3)>>2]|0)+(f[c+(i<<3)>>2]|0)>>0]=f[c+(k<<3)>>2]|0;break;case 97:f[(f[c+(g<<3)>>2]|0)+(f[c+(i<<3)>>2]|0)>>2]=f[c+(k<<3)>>2]|0;break;case 102:f[c+(g<<3)>>2]=b[(f[c+(i<<3)>>2]|0)+(e>>24)>>0];break;case 104:f[c+(g<<3)>>2]=d[(f[c+(i<<3)>>2]|0)+(e>>24)>>1];break;case 106:f[c+(g<<3)>>2]=f[(f[c+(i<<3)>>2]|0)+(e>>24)>>2];break;case 107:b[(f[c+(g<<3)>>2]|0)+(i<<24>>24)>>0]=f[c+(k<<3)>>2]|0;break;case 108:d[(f[c+(g<<3)>>2]|0)+(i<<24>>24)>>1]=f[c+(k<<3)>>2]|0;break;case 109:f[(f[c+(g<<3)>>2]|0)+(i<<24>>24)>>2]=f[c+(k<<3)>>2]|0;break;case 116:f[f[c+(g<<3)>>2]>>2]=f[f[c+(i<<3)>>2]>>2]|0;break;case 119:a=a+(e>>16<<2)|0;a=a-4|0;continue;break;case 120:if(f[c+(g<<3)>>2]|0){a=a+(e>>16<<2)|0;a=a-4|0;continue}break;case 121:if(!(f[c+(g<<3)>>2]|0)){a=a+(e>>16<<2)|0;a=a-4|0;continue}break;case 125:a=a+4|0;f[c+(g<<3)>>2]=f[c+(i<<3)>>2]|0?f[c+(k<<3)>>2]|0:f[c+((h[a>>0]|0)<<3)>>2]|0;break;case 128:f[c+(g<<3)>>2]=I;break;case 130:switch(i|0){case 0:{f[c+(g<<3)>>2]=x;continue}default:
function aP(a,b,c,e){a=a|0;b=b|0;c=c|0;e=e|0;while(1){if((c|0)==(e|0)){c=e;break}if((f[c>>2]|0)>>>0<128){a=gT()|0;if((d[a+(f[c>>2]<<1)>>1]&b)<<16>>16)break}c=c+4|0}return c|0}function bP(a,b){a=a|0;b=b|0;var c=0;f[a+4>>2]=b+-1;f[a>>2]=28972;x=0;b=la(3)|0;c=x;x=0;if(c&1){c=Ya()|0;$sa(a);jb(c|0)}else{f[a+8>>2]=b;return}}function cP(a,c){a=a|0;c=c|0;b[a>>0]=0;f[a+4>>2]=c;c=c+(f[(f[c>>2]|0)+-12>>2]|0)|0;if(!(f[c+16>>2]|0)){c=f[c+72>>2]|0;if(c|0)Pv(c)|0;b[a>>0]=1}return}function dP(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=d;f[a+12>>2]=b;f[a+16>>2]=c;d=a+20|0;f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;f[d+12>>2]=0;f[d+16>>2]=0;return}function eP(a,c){a=a|0;c=c|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;b[a+11>>0]=5;b[a>>0]=b[39252]|0;b[a+1>>0]=b[39253]|0;b[a+2>>0]=b[39254]|0;b[a+3>>0]=b[39255]|0;b[a+4>>0]=b[39256]|0;b[a+5>>0]=0;return}function fP(a){a=a|0;var c=0,d=0,e=0.0,g=0;c=hua()|0;c=b[f[c>>2]>>0]|0;if(c<<24>>24!=46){d=aca(a,46)|0;if(d|0){g=wR(a)|0;b[g+(d-a)>>0]=c;e=+jra(g,0);$h(g);return +e}}e=+jra(a,0);return +e}function gP(a){a=a|0;var b=0;b=Rd((hL(a)|0)+1|0)|0;if(!b){vO(50780,15,1,f[5414]|0)|0;Pb(1)}Upa(b,a)|0;a=YP(1,32)|0;if(!a){vO(50780,15,1,f[5414]|0)|0;Pb(1)}else{f[a+16>>2]=2;f[a+24>>2]=b;return a|0}return 0}function hP(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=f[b+8>>2]|0;e=f[c>>2]|0;if(!e)c=(f[c+4>>2]|0)+(f[b+4>>2]|0)|0;else c=f[c+4>>2]|0;f[a>>2]=e+(f[b>>2]|0);f[a+4>>2]=c;f[a+8>>2]=d;return}function iP(a,b){a=a|0;b=b|0;var c=0,d=0;d=hL(b)|0;c=VN(d+13|0)|0;f[c>>2]=d;f[c+4>>2]=d;f[c+8>>2]=0;c=uja(c)|0;Lu(c|0,b|0,d+1|0)|0;f[a>>2]=c;return}function jP(a,b,c,d,e,f,g,h,i,j,k,l){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;return Hc[a&3](b|0,c|0,d|0,e|0,f|0,g|0,h|0,i|0,j|0,k|0,l|0)|0}function kP(a,b){a=a|0;b=b|0;f[a+4>>2]=b+-1;f[a>>2]=29132;f[a+8>>2]=46;f[a+12>>2]=44;b=a+16|0;f[b>>2]=0;f[b+4>>2]=0;f[b+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[b+(a<<2)>>2]=0;a=a+1|0}return}function lP(a){a=a|0;do if(!(b[78576]|0))if(lda(78576)|0){x=0;Ea(11);a=x;x=0;if(a&1){a=Ya()|0;jb(a|0)}else{f[21208]=84544;break}}while(0);return f[21208]|0}function mP(a){a=a|0;do if(!(b[78592]|0))if(lda(78592)|0){x=0;Ea(10);a=x;x=0;if(a&1){a=Ya()|0;jb(a|0)}else{f[21251]=84836;break}}while(0);return f[21251]|0}function nP(a){a=a|0;do if(!(b[78560]|0))if(lda(78560)|0){x=0;Ea(12);a=x;x=0;if(a&1){a=Ya()|0;jb(a|0)}else{f[21135]=84252;break}}while(0);return f[21135]|0}function oP(a){a=a|0;do if(!(b[78496]|0))if(lda(78496)|0){x=0;Ea(8);a=x;x=0;if(a&1){a=Ya()|0;jb(a|0)}else{f[21005]=83732;break}}while(0);return f[21005]|0}function pP(a){a=a|0;var b=0,c=0;b=a+68|0;c=f[b>>2]|0;if(c|0)return c|0;a=f[a+56>>2]|0;a=(vc[f[(f[a>>2]|0)+8>>2]&511](a)|0)+-1640531527|0;c=f[b>>2]|0;c=a+(c<<6)+(c>>>2)^c;f[b>>2]=c;return c|0}function qP(a){a=a|0;do if(!(b[78512]|0))if(lda(78512)|0){x=0;Ea(7);a=x;x=0;if(a&1){a=Ya()|0;jb(a|0)}else{f[21048]=84024;break}}while(0);return f[21048]|0}function rP(a){a=a|0;do if(!(b[78480]|0))if(lda(78480)|0){x=0;Ea(9);a=x;x=0;if(a&1){a=Ya()|0;jb(a|0)}else{f[20932]=83440;break}}while(0);return f[20932]|0}function sP(a,c){a=a|0;c=c|0;f[a+4>>2]=c+-1;f[a>>2]=29092;b[a+8>>0]=46;b[a+9>>0]=44;c=a+12|0;f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[c+(a<<2)>>2]=0;a=a+1|0}return}function tP(a,b){a=a|0;b=b|0;a=Ta(8)|0;x=0;Ga(496,a|0,52563);b=x;x=0;if(b&1){b=Ya()|0;bb(a|0);jb(b|0)}else fb(a|0,6176,414);return 0}function uP(a){a=a|0;var c=0;f[a>>2]=15112;_P(a+104|0);f[a>>2]=13680;c=a+84|0;if((b[c+11>>0]|0)<0)Hta(f[c>>2]|0);c=a+72|0;if((b[c+11>>0]|0)>=0){Hta(a);return}Hta(f[c>>2]|0);Hta(a);return}function vP(a){a=a|0;var c=0;f[a>>2]=14928;_P(a+104|0);f[a>>2]=13680;c=a+84|0;if((b[c+11>>0]|0)<0)Hta(f[c>>2]|0);c=a+72|0;if((b[c+11>>0]|0)>=0){Hta(a);return}Hta(f[c>>2]|0);Hta(a);return}function wP(a,c,d){a=a|0;c=c|0;d=d|0;var e=0;e=YP(1,40)|0;if(!e){e=0;return e|0}f[e>>2]=4;f[e+12>>2]=a;f[e+4>>2]=c;b[e+8>>0]=d&1;d=YP(a,4)|0;f[e+16>>2]=d;if(d|0)return e|0;$h(e);e=0;return e|0}function xP(a,c,d){a=a|0;c=c|0;d=d|0;while(1){if((c|0)==(d|0))break;a=b[c>>0]|0;if(a<<24>>24>-1){a=MS()|0;a=f[a+(b[c>>0]<<2)>>2]&255}b[c>>0]=a
function fd(a,c,d){a=a|0;c=c|0;d=d|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,ra=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0;Aa=0;za=u;u=u+784|0;fa=za;Q=za+736|0;O=za+728|0;P=za+688|0;R=za+680|0;S=za+640|0;K=za+632|0;z=za+624|0;W=za+616|0;t=za+608|0;M=za+600|0;N=za+560|0;U=za+552|0;X=za+544|0;ka=za+536|0;aa=za+528|0;p=za+520|0;k=za+512|0;j=za+504|0;ia=za+496|0;h=za+488|0;la=za+480|0;va=za+472|0;Ca=za+464|0;Da=za+456|0;Ba=za+448|0;i=za+440|0;o=za+428|0;A=za+416|0;m=za+408|0;n=za+400|0;q=za+392|0;s=za+384|0;v=za+376|0;D=za+360|0;y=za+352|0;G=za+336|0;B=za+328|0;H=za+312|0;E=za+304|0;J=za+288|0;L=za+280|0;C=za+272|0;r=za+264|0;w=za+256|0;V=za+248|0;Y=za+240|0;Z=za+200|0;ba=za+192|0;$=za+184|0;_=za+176|0;ca=za+168|0;da=za+160|0;ga=za+152|0;ha=za+144|0;na=za+136|0;pa=za+128|0;oa=za+120|0;ea=za+112|0;ja=za+104|0;ra=za+96|0;ua=za+88|0;ta=za+80|0;wa=za+72|0;ya=za+64|0;xa=za+56|0;l=c+4|0;qV(Ca,f[(f[l>>2]|0)+88>>2]|0);f[Ca>>2]=15556;T=f[l>>2]|0;ma=f[T+72>>2]|0;x=0;Ga(462,Da|0,f[T+96>>2]|0);T=x;x=0;if(T&1){Da=Ya()|0;_P(Ca);jb(Da|0)}f[Da>>2]=7904;x=0;Ga(462,Ba|0,f[(f[l>>2]|0)+80>>2]|0);T=x;x=0;if(T&1)a=Ya()|0;else{f[Ba>>2]=15572;c=f[l>>2]|0;if(b[c+60>>0]|0)b[a+60>>0]=1;if(b[c+61>>0]|0)b[a+61>>0]=1;T=Ba+4|0;c=f[T>>2]|0;a:do if(!c)Aa=224;else if((f[c+80>>2]|0)==(f[c+76>>2]|0))Aa=224;else{F=(a|0)==0;if(F)c=0;else{e=h+4|0;c=a;while(1){x=0;Ga(462,h|0,f[c+88>>2]|0);g=x;x=0;if(g&1){Aa=7;break a}f[h>>2]=15556;g=f[e>>2]|0;_P(h);if(!g)break;else c=g}}x=0;Ga(462,i|0,c|0);h=x;x=0;if(h&1)Aa=7;else{f[i>>2]=15556;h=ma|0?(f[(f[i+4>>2]|0)+72>>2]|0)!=0:0;_P(i);if(h){h=o+11|0;f[o>>2]=0;f[o+4>>2]=0;f[o+8>>2]=0;k=fa;i=a+12|0;j=k+40|0;do{f[k>>2]=f[i>>2];k=k+4|0;i=i+4|0}while((k|0)<(j|0));g=fa+40|0;x=0;Ga(459,g|0,o|0);za=x;x=0;b:do if(za&1)a=Ya()|0;else{c=d+4|0;e=f[c>>2]|0;do if(e>>>0<(f[d+8>>2]|0)>>>0){k=e;i=fa;j=k+40|0;do{f[k>>2]=f[i>>2];k=k+4|0;i=i+4|0}while((k|0)<(j|0));za=e+40|0;f[za>>2]=f[g>>2];f[za+4>>2]=f[g+4>>2];f[za+8>>2]=f[g+8>>2];f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;f[c>>2]=(f[c>>2]|0)+52}else{x=0;Ga(510,d|0,fa|0);za=x;x=0;if(za&1){a=Ya()|0;if((b[g+11>>0]|0)>=0)break b;Hta(f[g>>2]|0);break b}else{if((b[g+11>>0]|0)>=0)break;Hta(f[g>>2]|0);break}}while(0);if((b[h>>0]|0)<0)Hta(f[o>>2]|0);k=Ta(92)|0;x=0;Ga(511,A|0,d|0);za=x;x=0;do if(za&1)a=Ya()|0;else{x=0;Ja(12,k|0,a|0,A|0,f[l>>2]|0);za=x;x=0;if(za&1)j=1;else{x=0;Ia(77,k|0,2128,181);x=0;j=0}a=Ya()|0;h=I;c=f[A>>2]|0;if(!c)if(j)break;else break a;i=A+4|0;e=f[i>>2]|0;if((e|0)!=(c|0)){do{g=e+-52|0;f[i>>2]=g;e=e+-12|0;if((b[e+11>>0]|0)<0){Hta(f[e>>2]|0);e=f[i>>2]|0}else e=g}while((e|0)!=(c|0));c=f[A>>2]|0}Hta(c);if(!j)break a}while(0);bb(k|0);break a}while(0);if((b[h>>0]|0)<0)Hta(f[o>>2]|0);break}if(F)c=0;else{e=j+4|0;c=a;while(1){x=0;Ga(462,j|0,f[c+88>>2]|0);A=x;x=0;if(A&1){Aa=7;break a}f[j>>2]=15556;g=f[e>>2]|0;_P(j);if(!g)break;else c=g}}x=0;Ga(462,m|0,c|0);A=x;x=0;if(A&1)Aa=7;else{f[m>>2]=15556;do if(!(f[(f[m+4>>2]|0)+80>>2]|0))_P(m);else{c:do if(F){c=0;Aa=56}else{e=k+4|0;c=a;while(1){x=0;Ga(462,k|0,f[c+88>>2]|0);A=x;x=0;if(A&1)break c;f[k>>2]=15556;g=f[e>>2]|0;_P(k);if(!g){Aa=56;break}else c=g}}while(0);if((Aa|0)==56){x=0;Ga(462,n|0,c|0);A=x;x=0;if(!(A&1)){f[n>>2]=15556;A=f[(f[n+4>>2]|0)+80>>2]|0;A=(f[A+80>>2]|0)==(f[A+76>>2]|0);_P(n);_P(m);if(A)break;d:do if(F){c=0;Aa=62}else{e=p+4|0;c=a;while(1){x=0;Ga(462,p|0,f[c+88>>2]|0);Aa=x;x=0;if(Aa&1){Aa=91;break d}f[p>>2]=15556;g=f[e>>2]|0;_P(p);if(!g){Aa=62;break}else c=g}}while(0);do if((Aa|0)==62){x=0;Ga(462,q|0,c|0);A=x;x=0;if(A&1){Aa=91;break}f[q>>2]=15556;x=0;Ga(462,W|0,f[(f[q+4>>2]|0)+80>>2]|0);A=x;x=0;if(A&1){a=Ya()|0;_P(q);break}f[W>>2]=15572;_P(q);d=f[T>>2]|0;A=f[d+76>>2]|0;d=(f[d+80>>2]|0)-A>>3;x=0;Ga(462,s|0,f[A+4>>2]|0);A=x;x=0;e:do if(A&1)Aa=93;else{f[s>>2]=13852;c=f[s+4>>2]|0;f:do if(!c)Aa=67;else{if((f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)!=30898){Aa=67;break}_P(s);l=W+4|0;x=0;Ga(462,v|0,f[(f[(f[l>>2]|0)+80>
function $c(a,c,e){a=a|0;c=c|0;e=e|0;var g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,va=0,xa=0,ya=0;pa=u;u=u+96|0;ra=pa+84|0;qa=pa+72|0;da=pa+60|0;xa=pa+48|0;va=pa+36|0;ca=pa+24|0;ba=pa+12|0;aa=pa;ya=a+11|0;f[a>>2]=0;f[a+4>>2]=0;f[a+8>>2]=0;a:do if(!(f[e>>2]&64))ma=59;else{A=qa+11|0;y=c+11|0;z=c+4|0;v=ra+11|0;t=ra+4|0;f[qa>>2]=0;f[qa+4>>2]=0;f[qa+8>>2]=0;k=0;q=0;r=0;j=0;i=0;o=0;b:while(1){ma=b[y>>0]|0;n=ma<<24>>24<0;l=n?f[c>>2]|0:c;ma=n?f[z>>2]|0:ma&255;n=l+ma|0;m=l;if(ma>>>0<=o>>>0){ma=30;break}l=l+o|0;c:while(1){switch(b[l>>0]|0){case 42:case 92:case 47:case 39:case 34:break c;default:{}}l=l+1|0;if((l|0)==(n|0)){ma=30;break b}}o=l-m|0;if((l|0)==(n|0)|(o|0)==-1){ma=30;break}x=0;l=sa(1055,c|0,o|0)|0;ma=x;x=0;if(ma&1){ma=10;break}switch(b[l>>0]|0){case 34:{l=k;n=q^((k|r)^1);p=r;k=o;break}case 39:{l=k;n=q;p=r^((k|q)^1);k=o;break}case 47:{if(k&(o|0)!=0){x=0;k=sa(1055,c|0,o+-1|0)|0;ma=x;x=0;if(ma&1){ma=10;break b}k=(b[k>>0]|0)==42;l=k^1;n=q;p=r;j=k?o+1|0:j;k=o}else{l=k;n=q;p=r;k=o}break}case 92:{l=k;n=q;p=r;k=o+((q|r)&1)|0;break}case 42:{if(q){l=k;n=1;p=r;k=o}else if((o|0)!=0&(r^1)){m=o+-1|0;x=0;l=sa(1055,c|0,m|0)|0;ma=x;x=0;if(ma&1){ma=10;break b}if((b[l>>0]|0)==47){x=0;Ka(4,ra|0,c|0,j|0,m-j|0,c|0);ma=x;x=0;if(ma&1){ma=25;break b}ma=b[v>>0]|0;la=ma<<24>>24<0;x=0;ta(41,qa|0,(la?f[ra>>2]|0:ra)|0,(la?f[t>>2]|0:ma&255)|0)|0;ma=x;x=0;if(ma&1){ma=26;break b}if((b[v>>0]|0)<0)Hta(f[ra>>2]|0);l=1;n=0;p=r;i=m;k=o}else{l=k;n=0;p=r;k=o}}else{l=k;n=0;p=r;k=o}break}default:{l=k;n=q;p=r;k=o}}o=k+1|0;if((o|0)==-1){k=l;ma=30;break}else{k=l;q=n;r=p}}d:do if((ma|0)==10)w=Ya()|0;else if((ma|0)==25){g=Ya()|0;ma=28}else if((ma|0)==26){g=Ya()|0;if((b[v>>0]|0)<0){Hta(f[ra>>2]|0);ma=28}else ma=28}else if((ma|0)==30){e:do if(k){x=0;Ka(4,ra|0,c|0,i|0,-1,c|0);la=x;x=0;do if(la&1)g=Ya()|0;else{i=ra+11|0;la=b[i>>0]|0;ka=la<<24>>24<0;x=0;ta(41,qa|0,(ka?f[ra>>2]|0:ra)|0,(ka?f[ra+4>>2]|0:la&255)|0)|0;la=x;x=0;if(la&1){g=Ya()|0;if((b[i>>0]|0)>=0)break;Hta(f[ra>>2]|0);break}if((b[i>>0]|0)<0)Hta(f[ra>>2]|0);break e}while(0);w=g;break d}else{x=0;Ka(4,ra|0,c|0,j|0,-1,c|0);la=x;x=0;do if(la&1)g=Ya()|0;else{i=ra+11|0;la=b[i>>0]|0;ka=la<<24>>24<0;x=0;ta(41,qa|0,(ka?f[ra>>2]|0:ra)|0,(ka?f[ra+4>>2]|0:la&255)|0)|0;la=x;x=0;if(la&1){g=Ya()|0;if((b[i>>0]|0)>=0)break;Hta(f[ra>>2]|0);break}if((b[i>>0]|0)<0)Hta(f[ra>>2]|0);break e}while(0);w=g;break d}while(0);if((b[y>>0]|0)<0){b[f[c>>2]>>0]=0;f[z>>2]=0}else{b[c>>0]=0;b[y>>0]=0}x=0;Ga(501,c|0,0);la=x;x=0;if(la&1){xa=Za(0)|0;soa(xa)}else{f[c>>2]=f[qa>>2];f[c+4>>2]=f[qa+4>>2];f[c+8>>2]=f[qa+8>>2];ma=59;break a}}while(0);if((ma|0)==28)w=g;if((b[A>>0]|0)<0)Hta(f[qa>>2]|0);g=w}while(0);do if((ma|0)==59){x=0;Ga(699,ra|0,c|0);ma=x;x=0;if(ma&1){g=Ya()|0;break}ia=c+11|0;if((b[ia>>0]|0)<0){b[f[c>>2]>>0]=0;f[c+4>>2]=0}else{b[c>>0]=0;b[ia>>0]=0}x=0;Ga(501,c|0,0);ma=x;x=0;if(ma&1){ma=Za(0)|0;soa(ma)}f[c>>2]=f[ra>>2];f[c+4>>2]=f[ra+4>>2];f[c+8>>2]=f[ra+8>>2];i=b[ia>>0]|0;ja=c+4|0;l=b[81207]|0;ma=i<<24>>24<0;m=ma?f[c>>2]|0:c;i=ma?f[ja>>2]|0:i&255;ma=l<<24>>24<0;k=ma?f[20299]|0:81196;l=ma?f[20300]|0:l&255;f:do if(!i)i=-1;else{j=m+i|0;g:do if(!l)i=m;else{i=m;while(1){if(!(HB(k,h[i>>0]|0,l)|0))break g;i=i+1|0;if((i|0)==(j|0)){i=-1;break f}}}while(0);i=i-m|0}while(0);ga=b[e+20>>0]|0?0:i;if((ga|0)==-1){x=0;Ia(79,ra|0,c|0,51444);xa=x;x=0;do if(xa&1)g=Ya()|0;else{i=ra+11|0;xa=b[i>>0]|0;va=xa<<24>>24<0;x=0;ta(41,e+24|0,(va?f[ra>>2]|0:ra)|0,(va?f[ra+4>>2]|0:xa&255)|0)|0;xa=x;x=0;if(xa&1){g=Ya()|0;if((b[i>>0]|0)>=0)break;Hta(f[ra>>2]|0);break}if((b[i>>0]|0)<0)Hta(f[ra>>2]|0);u=pa;return}while(0);break}x=0;Ka(4,xa|0,c|0,0,ga|0,c|0);ma=x;x=0;if(ma&1)g=Ya()|0;else{x=0;Ka(4,va|0,c|0,ga|0,2,c|0);ma=x;x=0;if(ma&1){g=Ya()|0;i=xa+11|0}else{i=xa+11|0;m=b[i>>0]|0;z=xa+4|0;A=e+56|0;ea=e+52|0;k=(f[A>>2]|0)+-1+(f[ea>>2]|0)|0;fa=e+40|0;j=f[(f[fa>>2]|0)+(((k>>>0)/341|0)<<2)>>2]|0;k=(k>>>0)%341|0;l=b[j+(k*12|0)+11>>0]|0;if(l<<24>>24<0)j=f[
function Yc(a,c){a=a|0;c=c|0;var e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,v=0,w=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,ra=0,ua=0,va=0,wa=0,xa=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ha=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Va=0,Wa=0,Xa=0,_a=0,$a=0,ab=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0;qb=0;hb=u;u=u+1536|0;ib=hb+448|0;Sa=hb+1488|0;gb=hb+408|0;Wa=hb+368|0;Na=hb+328|0;ab=hb+288|0;pb=hb+248|0;nb=hb+208|0;$a=hb+168|0;wa=hb+128|0;ma=hb+88|0;ob=hb+48|0;mb=hb+8|0;tb=hb+1320|0;ub=hb+1296|0;sb=hb+1216|0;j=hb+1480|0;k=hb+1472|0;l=hb+1464|0;n=hb+1456|0;o=hb+1448|0;p=hb+1440|0;s=hb+1424|0;t=hb+1412|0;v=hb+1400|0;m=hb+1388|0;q=hb+1376|0;r=hb+1364|0;D=hb+1352|0;E=hb+1340|0;G=hb+1328|0;w=hb+1304|0;y=hb+1284|0;C=hb+1272|0;rb=hb+1080|0;J=hb+1264|0;O=hb+1224|0;X=hb+1208|0;Y=hb+1200|0;S=hb+1192|0;T=hb+1184|0;aa=hb+1176|0;ba=hb+1168|0;K=hb+1160|0;Q=hb+1120|0;_=hb+1112|0;$=hb+1104|0;V=hb+1096|0;W=hb+1088|0;Z=hb+1072|0;ca=hb+1064|0;L=hb+1056|0;M=hb+1048|0;N=hb+1040|0;P=hb+1032|0;lb=hb+952|0;R=hb+1024|0;kb=hb+896|0;U=hb+1016|0;da=hb+976|0;fa=hb+960|0;ea=hb+944|0;ga=hb+904|0;xa=hb+888|0;na=hb+880|0;ha=hb+840|0;za=hb+832|0;oa=hb+824|0;ia=hb+784|0;Aa=hb+776|0;pa=hb+768|0;ja=hb+728|0;Ba=hb+720|0;ra=hb+712|0;ka=hb+672|0;Ca=hb+664|0;ua=hb+656|0;la=hb+616|0;Da=hb+608|0;va=hb+600|0;Va=hb+584|0;Xa=hb+572|0;Ka=hb+560|0;Pa=hb+548|0;La=hb+536|0;Qa=hb+524|0;Ha=hb;cb=hb+512|0;db=hb+500|0;qV(tb,f[c+72>>2]|0);f[tb>>2]=7696;x=0;Ga(462,ub|0,f[c+80>>2]|0);Ra=x;x=0;if(Ra&1){ub=Ya()|0;_P(tb);jb(ub|0)}f[ub>>2]=7696;Ra=f[c+60>>2]|0;a:do switch(Ra|0){case 0:{g=tb+4|0;e=f[g>>2]|0;x=0;e=sa(f[(f[e>>2]|0)+56>>2]|0,e|0,a|0)|0;sb=x;x=0;do if(sb&1)qb=15;else{x=0;Ga(462,ib|0,e|0);sb=x;x=0;if(sb&1)qb=15;else{f[ib>>2]=7696;if(f[g>>2]|0){x=0;Fa(429,tb|0);sb=x;x=0;if(sb&1){e=Ya()|0;g=I;_P(ib);break}}e=ib+4|0;f[g>>2]=f[e>>2];f[e>>2]=0;_P(ib);e=f[g>>2]|0;x=0;e=qa(f[(f[e>>2]|0)+76>>2]|0,e|0)|0;sb=x;x=0;if(sb&1){qb=14;break a}if(e){e=f[ub+4>>2]|0;x=0;e=sa(f[(f[e>>2]|0)+56>>2]|0,e|0,a|0)|0;sb=x;x=0;if(sb&1){qb=14;break a}_P(ub);_P(tb);u=hb;return e|0}e=f[g>>2]|0;if(!e){sb=0;_P(ub);_P(tb);u=hb;return sb|0}b[e+8>>0]=1;sb=e;_P(ub);_P(tb);u=hb;return sb|0}}while(0);if((qb|0)==15){e=Ya()|0;g=I}break}case 1:{g=tb+4|0;e=f[g>>2]|0;x=0;e=sa(f[(f[e>>2]|0)+56>>2]|0,e|0,a|0)|0;sb=x;x=0;do if(sb&1)qb=27;else{x=0;Ga(462,ib|0,e|0);sb=x;x=0;if(sb&1)qb=27;else{f[ib>>2]=7696;if(f[g>>2]|0){x=0;Fa(429,tb|0);sb=x;x=0;if(sb&1){e=Ya()|0;g=I;_P(ib);break}}e=ib+4|0;f[g>>2]=f[e>>2];f[e>>2]=0;_P(ib);e=f[g>>2]|0;x=0;e=qa(f[(f[e>>2]|0)+76>>2]|0,e|0)|0;sb=x;x=0;if(sb&1){qb=14;break a}if(!e){e=f[ub+4>>2]|0;x=0;e=sa(f[(f[e>>2]|0)+56>>2]|0,e|0,a|0)|0;sb=x;x=0;if(sb&1){qb=14;break a}_P(ub);_P(tb);u=hb;return e|0}e=f[g>>2]|0;if(!e){sb=0;_P(ub);_P(tb);u=hb;return sb|0}b[e+8>>0]=1;sb=e;_P(ub);_P(tb);u=hb;return sb|0}}while(0);if((qb|0)==27){e=Ya()|0;g=I}break}default:{Ma=tb+4|0;e=f[Ma>>2]|0;b:do if(e|0){g=f[315]|0;h=ib+4|0;while(1){if((g|0)!=(f[(f[(f[e>>2]|0)+-4>>2]|0)+4>>2]|0))break b;x=0;e=sa(f[(f[a>>2]|0)+152>>2]|0,a|0,e|0)|0;Oa=x;x=0;if(Oa&1){qb=39;break}x=0;Ga(462,ib|0,e|0);Oa=x;x=0;if(Oa&1){qb=39;break}f[ib>>2]=7696;if(f[Ma>>2]|0){x=0;Fa(429,tb|0);Oa=x;x=0;if(Oa&1){qb=40;break}}f[Ma>>2]=f[h>>2];f[h>>2]=0;_P(ib);e=f[Ma>>2]|0;if(!e)break b}if((qb|0)==39)e=Ya()|0;else if((qb|0)==40){e=Ya()|0;_P(ib)}break a}while(0);Oa=ub+4|0;e=f[Oa>>2]|0;c:do if(e|0){g=f[315]|0;h=ib+4|0;while(1){if((g|0)!=(f[(f[(f[e>>2]|0)+-4>>2]|0)+4>>2]|0))break c;x=0;e=sa(f[(f[a>>2]|0)+152>>2]|0,a|0,e|0)|0;H=x;x=0;if(H&1){qb=48;break}x=0;Ga(462,ib|0,e|0);H=x;x=0;if(H&1){qb=48;break}f[ib>>2]=7696;if(f[Oa>>2]|0){x=0;Fa(429,ub|0);H=x;x=0;if(H&1){qb=49;break}}f[Oa>>2]=f[h>>2];f[h>>2]=0;_P(ib);e=f[Oa>>2]|0;if(!e)break c}if((qb|0)==48)e=Ya()|0;else if((qb|0)==49){e=Ya()|0;_P(ib)}break a}while(0);x=0;Ga(462,sb|0,c|0);H=x;x=0;if(H&1){e=Ya()|0;g=I}else{f[sb>>2]=17672;e=f[Ma>>2]|0;d:do if(!e)qb=58;else{g=f[259]|0;h=a+16|0;i=ib+4|0
2018-05-26 10:46:26 +00:00
// EMSCRIPTEN_END_FUNCS
2018-08-04 07:11:52 +00:00
var jc=[Xsa,gra,dra,era,fra,cX,Xsa,Xsa];var kc=[Msa,lQ];var lc=[Sta,Ti,Ui,fP,rra,Vra,Nra,Ora,Pra,Sta,Sta,Sta,Sta,Sta,Sta,Sta];var mc=[zsa,cf];var nc=[Bqa,zG,BG,AG];var oc=[ria,el,gl,gn];var pc=[fca,Ig];var qc=[iua,HY,XY,$O,Cda,$ta,_ta,fua,Lca,zfa,KP,qT,iua,iua,iua,iua];var rc=[Xta,qJ,pV,Xta];var sc=[Tra,mF];var tc=[rga,Wo];var uc=[Hsa,HQ];var vc=[Ota,Ll,ZR,RX,Zsa,bsa,Csa,Fma,Cla,gla,Usa,rZ,Hqa,bta,nD,fY,gsa,Nsa,_H,ZI,aoa,YR,IX,IB,US,qE,TX,Ysa,cS,bY,LR,eX,Bu,Bsa,TR,yX,bC,CR,VW,MR,hX,TU,SR,qX,aS,SX,gF,fX,wE,HX,zE,cY,AE,dY,YD,KX,qsa,gS,tY,KN,eS,qY,dS,iY,bS,aY,yE,QX,tE,xX,NR,pX,RR,oX,aI,JX,xr,mB,hY,ZY,nz,Aoa,YI,kr,QD,pY,Dha,Uz,oR,tW,TS,kC,jC,IF,gD,xW,qt,VR,DX,DB,zX,aJ,lD,CX,msa,Cq,AR,WW,dR,gW,FA,xE,BX,Nr,JB,eY,jY,pG,LX,Tpa,bpa,oC,PB,SW,lH,iH,VB,AA,rD,CW,zS,dD,TW,KR,dX,LI,_Q,XV,yR,JW,osa,nR,qW,lE,rW,cR,eW,gE,WV,DR,XW,ER,YW,tsa,kta,$H,gY,Ata,Fsa,dta,UC,wX,nE,nX,_I,pP,KE,DW,Kz,xv,Jra,tq,vra,Iqa,zra,Uqa,QO,FW,Kra,wra,ija,fQ,fW,_oa,Kqa,hQ,yW,sM,nQ,KW,Kpa,uQ,gX,gqa,ou,hR,mW,dpa,fJ,oG,EW,fZ,NM,dJ,nG,wW,IV,FF,BF,uE,rz,sW,KI,ZB,WB,LF,jE,PI,dsa,Ira,uG,pR,zW,ey,eq,dq,AO,uF,zR,UW,xI,$B,YB,ED,$E,NI,_1,K$,QC,Bpa,Zoa,fK,PN,Qra,asa,lsa,Jo,hn,Sqa,fqa,Tqa,ora,eqa,kT,Oea,Apa,Yoa,Nea,LN,Fra,xja,yF,zF,gja,Jka,hja,Kka,Wha,qP,oP,rP,$C,_C,ZC,aD,Vha,mP,lP,nP,Gx,Fx,Ex,Hx,sqa,rqa,Rqa,qqa,pqa,Qqa,kpa,jpa,Pqa,ipa,hpa,Oqa,oqa,Dpa,_pa,pu,Ipa,yC,Ooa,Noa,Joa,voa,zqa,Jpa,dqa,nqa,Cpa,Zpa,Nqa,cra,Tsa,Ssa,pka,Vsa,Jsa,VN,iaa,qG,fe,pq,Xca,Rca,wR,rh,VO,Dqa,kqa,_qa,bqa,EF,$qa,$7,ht,Hba,pra,RW,sca,Dca,Pv,Bma,hla,Aba,H2,Wba,gL,VX,Gma,jp,Ey,JQ,by,pF,RC,bW,UF,JF,EN,zN,BN,DN,AN,CN,b5,gJ,Tx,MG,nH,CD,HI,HO,Jy,GY,jH,ym,KC,PO,rL,_q,XH,ZH,bX,NW,Mqa,pC,zA,csa,tra,Yqa,K6,eI,AU,Ppa,Bra,Ara,Cra,kra,wna,_z,Jq,bd,gP,XN,mh,Rn,LV,Xoa,qpa,poa,fT,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota,Ota];var wc=[Gsa,vo];var xc=[usa,UL,I4,_3,N2,H4,j5,A6,fS,Waa,Gg,ch,Caa,W8,n8,f9,s9,L9,g6,u5,d4,f6,F6,E7,AQ,DQ,z4,U3,L2,y4,f5,y6,n5,K4,r3,m5,X5,a7,$5,p5,a4,_5,C6,B7,N1,k1,i0,M1,r2,I3,f3,D2,t1,e3,O3,$4,J0,c0,i$,I0,g1,p2,S1,o1,k0,R1,t2,K3,y2,Z1,Q0,x2,$2,s4,l5,J4,q3,k5,W5,$6,P1,l1,j0,O1,s2,J3,x4,T3,K2,w4,e5,x6,b6,q5,b4,a6,D6,C7,d6,r5,c4,c6,E6,D7,D4,X3,M2,C4,g5,z6,J7,h7,n6,I7,b8,J8,g7,N6,x5,f7,H7,p8,J6,l6,M4,I6,c7,_7,Z5,o5,$3,Y5,B6,A7,i5,F4,p3,h5,V5,_6,C2,a2,W0,B2,d3,u4,Y1,r1,n0,X1,w2,N3,W1,q1,m0,V1,v2,M3,W3,n3,c2,V3,B4,T5,k6,w5,f4,j6,H6,G7,uq,xQ,yQ,M6,m6,N4,L6,e7,a8,So,o_,WZ,BZ,n_,y_,s$,zk,C_,q_,MZ,B_,W_,N$,$m,m3,J2,x1,l3,S3,d5,Tp,F2,b2,X0,E2,g3,v4,Vqa,CQ,GQ,k3,I2,w1,j3,R3,c5,JC,e0,G$,R_,d0,K0,J1,cl,xZ,kZ,VY,wZ,JZ,f_,i3,G2,u1,h3,P3,a5,NB,t5,L4,s3,s5,e6,b7,SL,Z3,o3,d2,Y3,E4,U5,CS,Z$,D$,O_,Y$,F0,G1,ws,wA,E9,t9,X8,D9,M9,_9,__,H_,XZ,Z_,t$,y0,vr,$$,E$,P_,_$,G0,H1,yr,j1,O0,I$,i1,L1,Z2,cQ,gQ,bZ,SY,EY,aZ,hZ,GZ,R$,x$,L_,Q$,C0,z1,i_,TZ,yZ,h_,v_,p$,tF,k_,UZ,zZ,j_,w_,q$,GO,tZ,iZ,TY,sZ,HZ,d_,qda,$Y,RY,DY,_Y,gZ,FZ,Zca,g0,H$,S_,f0,L0,K1,N0,h0,j$,M0,h1,q2,i6,v5,e4,h6,G6,F7,Xha,A2,$1,V0,z2,c3,t4,U1,p1,l0,T1,u2,L3,BQ,EQ,a$,I_,YZ,$_,u$,z0,lC,mC,q6,A5,h4,p6,T6,M7,mT,XR,kk,tda,mx,e$,K_,_Z,d$,w$,B0,vZ,jZ,UY,uZ,IZ,e_,E_,r_,NZ,D_,X_,O$,Oh,DA,Ul,TB,Yy,qA,C$,h$,t_,B$,X$,f1,OV,n1,P0,J$,m1,Q1,_2,Pt,SZ,KZ,lZ,RZ,g_,U_,CA,Zj,Uy,fl,c$,J_,ZZ,b$,v$,A0,ts,lA,Lr,Zy,_n,kH,A_,p_,LZ,z_,V_,M$,kA,lk,vs,Xy,wo,Nz,m_,VZ,AZ,l_,x_,r$,eC,fC,Wq,Ek,oQ,sQ,VE,G_,s_,OZ,F_,Y_,P$,gC,hC,Pm,Rm,Qz,b0,F$,Q_,a0,H0,I1,uN,_R,QI,SE,xk,kQ,pQ,Lka,dl,SF,Dq,kI,Vm,Gga,XI,Wga,gha,tha,Hea,rfa,$ea,qga,_ea,ufa,Ye,fha,sfa,Ze,Mh,bf,Wqa,ri,Ad,nd,tj,tJ,Xga,pga,Nfa,Mfa,Rf,ag,Fga,Yc,ze,ad,zl,Iea,hfa,si,tqa,Aqa,iqa,Of,nu,$oa,Xda,on,Kr,Ko,zs,Tk,$f,Pj,Jqa,gp,oga,Lfa,Rh,ce,og,Jda,qea,Jea,tfa,Yda,Bea,uj,cv,ik,nk,u8,Yj,Wd,Z8,g9,Jm,xe,Xg,pj,E5,Gf,of,Ph,Me,F9,U9,V9,Qp,dk,xd,kd,Tj,JA,ui,Vi,ai,id,v9,G9,s8,R2,w3,F5,$0,R4,r6,r8,Y8,h9,K8,B5,C5,i4,f2,O2,P2,Z0,S$,U6,T$,G5,u9,l4,c8,n7,t8,d8,j4,_0,x3,S4,V6,g2,k4,v3,Q2,y3,D5,v7,D8,T7,l8,z8,V2,U4,G3,Y
2018-05-26 10:46:26 +00:00
// EMSCRIPTEN_END_ASM
2018-08-04 07:11:52 +00:00
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var __GLOBAL__I_000101=Module["__GLOBAL__I_000101"]=asm["__GLOBAL__I_000101"];var __GLOBAL__sub_I_ast_cpp=Module["__GLOBAL__sub_I_ast_cpp"]=asm["__GLOBAL__sub_I_ast_cpp"];var __GLOBAL__sub_I_ast_fwd_decl_cpp=Module["__GLOBAL__sub_I_ast_fwd_decl_cpp"]=asm["__GLOBAL__sub_I_ast_fwd_decl_cpp"];var __GLOBAL__sub_I_backtrace_cpp=Module["__GLOBAL__sub_I_backtrace_cpp"]=asm["__GLOBAL__sub_I_backtrace_cpp"];var __GLOBAL__sub_I_bind_cpp=Module["__GLOBAL__sub_I_bind_cpp"]=asm["__GLOBAL__sub_I_bind_cpp"];var __GLOBAL__sub_I_check_nesting_cpp=Module["__GLOBAL__sub_I_check_nesting_cpp"]=asm["__GLOBAL__sub_I_check_nesting_cpp"];var __GLOBAL__sub_I_color_maps_cpp=Module["__GLOBAL__sub_I_color_maps_cpp"]=asm["__GLOBAL__sub_I_color_maps_cpp"];var __GLOBAL__sub_I_context_cpp=Module["__GLOBAL__sub_I_context_cpp"]=asm["__GLOBAL__sub_I_context_cpp"];var __GLOBAL__sub_I_cssize_cpp=Module["__GLOBAL__sub_I_cssize_cpp"]=asm["__GLOBAL__sub_I_cssize_cpp"];var __GLOBAL__sub_I_emitter_cpp=Module["__GLOBAL__sub_I_emitter_cpp"]=asm["__GLOBAL__sub_I_emitter_cpp"];var __GLOBAL__sub_I_environment_cpp=Module["__GLOBAL__sub_I_environment_cpp"]=asm["__GLOBAL__sub_I_environment_cpp"];var __GLOBAL__sub_I_error_handling_cpp=Module["__GLOBAL__sub_I_error_handling_cpp"]=asm["__GLOBAL__sub_I_error_handling_cpp"];var __GLOBAL__sub_I_eval_cpp=Module["__GLOBAL__sub_I_eval_cpp"]=asm["__GLOBAL__sub_I_eval_cpp"];var __GLOBAL__sub_I_expand_cpp=Module["__GLOBAL__sub_I_expand_cpp"]=asm["__GLOBAL__sub_I_expand_cpp"];var __GLOBAL__sub_I_extend_cpp=Module["__GLOBAL__sub_I_extend_cpp"]=asm["__GLOBAL__sub_I_extend_cpp"];var __GLOBAL__sub_I_file_cpp=Module["__GLOBAL__sub_I_file_cpp"]=asm["__GLOBAL__sub_I_file_cpp"];var __GLOBAL__sub_I_functions_cpp=Module["__GLOBAL__sub_I_functions_cpp"]=asm["__GLOBAL__sub_I_functions_cpp"];var __GLOBAL__sub_I_inspect_cpp=Module["__GLOBAL__sub_I_inspect_cpp"]=asm["__GLOBAL__sub_I_inspect_cpp"];var __GLOBAL__sub_I_iostream_cpp=Module["__GLOBAL__sub_I_iostream_cpp"]=asm["__GLOBAL__sub_I_iostream_cpp"];var __GLOBAL__sub_I_listize_cpp=Module["__GLOBAL__sub_I_listize_cpp"]=asm["__GLOBAL__sub_I_listize_cpp"];var __GLOBAL__sub_I_node_cpp=Module["__GLOBAL__sub_I_node_cpp"]=asm["__GLOBAL__sub_I_node_cpp"];var __GLOBAL__sub_I_operators_cpp=Module["__GLOBAL__sub_I_operators_cpp"]=asm["__GLOBAL__sub_I_operators_cpp"];var __GLOBAL__sub_I_output_cpp=Module["__GLOBAL__sub_I_output_cpp"]=asm["__GLOBAL__sub_I_output_cpp"];var __GLOBAL__sub_I_parser_cpp=Module["__GLOBAL__sub_I_parser_cpp"]=asm["__GLOBAL__sub_I_parser_cpp"];var __GLOBAL__sub_I_remove_placeholders_cpp=Module["__GLOBAL__sub_I_remove_placeholders_cpp"]=asm["__GLOBAL__sub_I_remove_placeholders_cpp"];var __GLOBAL__sub_I_sass2scss_cpp=Module["__GLOBAL__sub_I_sass2scss_cpp"]=asm["__GLOBAL__sub_I_sass2scss_cpp"];var __GLOBAL__sub_I_sass_context_cpp=Module["__GLOBAL__sub_I_sass_context_cpp"]=asm["__GLOBAL__sub_I_sass_context_cpp"];var __GLOBAL__sub_I_sass_cpp=Module["__GLOBAL__sub_I_sass_cpp"]=asm["__GLOBAL__sub_I_sass_cpp"];var __GLOBAL__sub_I_sass_functions_cpp=Module["__GLOBAL__sub_I_sass_functions_cpp"]=asm["__GLOBAL__sub_I_sass_functions_cpp"];var __GLOBAL__sub_I_sass_util_cpp=Module["__GLOBAL__sub_I_sass_util_cpp"]=asm["__GLOBAL__sub_I_sass_util_cpp"];var __GLOBAL__sub_I_sass_values_cpp=Module["__GLOBAL__sub_I_sass_values_cpp"]=asm["__GLOBAL__sub_I_sass_values_cpp"];var __GLOBAL__sub_I_source_map_cpp=Module["__GLOBAL__sub_I_source_map_cpp"]=asm["__GLOBAL__sub_I_source_map_cpp"];var __GLOBAL__sub_I_subset_map_cpp=Module["__GLOBAL__sub_I_subset_map_cpp"]=asm["__GLOBAL__sub_I_subset_map_cpp"];var __GLOBAL__sub_I_to_c_cpp=Module["__GLOBAL__sub_I_to_c_cpp"]=asm["__GLOBAL__sub_I_to_c_cpp"];var __GLOBAL__sub_I_to_value_cpp=Module["__GLOBAL__sub_I_to_value_cpp"]=asm["__GLOBAL__sub_I_to_value_cpp"];var __GLOBAL__sub_I_units_cpp=Module["__GLOBAL__sub_I_units_cpp"]=asm["__GLOBAL__sub_I_units_cpp"];var __GLOBAL__sub_I_util_cpp=Module["__GLOBAL__sub_I_util_cpp"]=asm["__GLOBAL__sub_I_util_cpp"];var __GLOBAL__sub_I_values_cpp=Module["__GLOBAL__sub_I_values_cpp"]=as
2018-05-26 10:46:26 +00:00
/*global Module*/
/*jshint strict:false, unused:false*/
function noop(){}
function stripLeadingSlash(text) {
return text.slice(0, 1) === '/' ? text.slice(1) : text;
}
function addLeadingSlash(text) {
return text.slice(0, 1) !== '/' ? ('/' + text) : text;
}
function stripTrailingSlash(text) {
return text.slice(-1) === '/' ? text.slice(0, -1) : text;
}
function addTrailingSlash(text) {
return text.slice(-1) !== '/' ? (text + '/') : text;
}
function pointerToString(pointer) {
/*jshint camelcase:false*/
return pointer && Module.Pointer_stringify(pointer) || null;
}
function stringToPointer(text) {
// a character like ” takes 3 bytes, while .length would return 1
// see https://github.com/medialize/sass.js/issues/72#issuecomment-263916386
var bytes = Module.lengthBytesUTF8(text);
var buffer = Module._malloc(bytes + 1);
Module.stringToUTF8(text, buffer, bytes + 1);
return buffer;
}
function pointerToJson(pointer) {
var test = pointerToString(pointer);
return test && JSON.parse(test) || null;
}
function pointerToStringArray(pointer) {
var list = [];
if (!pointer) {
return list;
}
// TODO: are we limited to 32bit?
for (var i=0; true; i+=4) {
var _pointer = Module.getValue(pointer + i, '*');
if (!_pointer) {
break;
}
var _item = pointerToString(_pointer);
_item && list.push(_item);
}
return list;
}
/*jshint strict:false, unused:false*/
var BooleanNumber = function(input) {
// in emscripten you pass booleans as integer 0 and 1
return Number(Boolean(input));
};
// map of arguments required by the emscripten wrapper (order relevant!)
// to not have to touch various different spots in this file,
// everything is defined here and registered in the appropriate places.
var options = [
{
// int output_style,
type: 'number',
// Output style for the generated css code
// using Sass.style.*
key: 'style',
initial: 0,
coerce: Number,
},
{
// int precision,
type: 'number',
// Precision for outputting fractional numbers
// 0: use libsass default
key: 'precision',
initial: -1,
coerce: Number,
},
{
// bool source_comments,
type: 'number',
// If you want inline source comments
key: 'comments',
initial: 0,
coerce: BooleanNumber,
},
{
// bool is_indented_syntax_src,
type: 'number',
// Treat source_string as SASS (as opposed to SCSS)
key: 'indentedSyntax',
initial: 0,
coerce: BooleanNumber,
},
{
// bool source_map_contents,
type: 'number',
// embed include contents in maps
key: 'sourceMapContents',
initial: 1,
coerce: BooleanNumber,
},
{
// bool source_map_embed,
type: 'number',
// embed sourceMappingUrl as data uri
key: 'sourceMapEmbed',
initial: 0,
coerce: BooleanNumber,
},
{
// bool omit_source_map_url,
type: 'number',
// Disable sourceMappingUrl in css output
key: 'sourceMapOmitUrl',
initial: 1,
coerce: BooleanNumber,
},
{
// char *source_map_root,
type: 'string',
// Pass-through as sourceRoot property
key: 'sourceMapRoot',
initial: 'root',
coerce: String,
},
{
// char *source_map_file,
type: 'string',
// Path to source map file
// Enables the source map generating
// Used to create sourceMappingUrl
key: 'sourceMapFile',
initial: 'file',
coerce: String,
},
{
// char *input_path,
type: 'string',
// The input path is used for source map generation.
// It can be used to define something with string
// compilation or to overload the input file path.
// It is set to "stdin" for data contexts
// and to the input file on file contexts.
key: 'inputPath',
initial: 'stdin',
coerce: String,
},
{
// char *output_path,
type: 'string',
// The output path is used for source map generation.
// Libsass will not write to this file, it is just
// used to create information in source-maps etc.
key: 'outputPath',
initial: 'stdout',
coerce: String,
},
{
// char *indent,
type: 'string',
// String to be used for indentation
key: 'indent',
initial: ' ',
coerce: String,
},
{
// char *linefeed,
type: 'string',
// String to be used to for line feeds
key: 'linefeed',
initial: '\n',
coerce: String,
},
];
/*global FS, PATH, Sass, stringToPointer*/
/*jshint strict:false*/
var Importer = {
_running: false,
_result: null,
find: function(current, previous) {
if (!Sass._importer) {
Importer._running = false;
return;
}
Importer._running = true;
Importer._result = null;
var resolved = PATH.resolve(previous === 'stdin' ? Sass._path : PATH.dirname(previous), current);
var found = Sass.findPathVariation(FS.stat, resolved);
var done = function done(result) {
Importer._result = result;
Importer._running = false;
};
try {
Sass._importer({
current: current,
previous: previous,
resolved: resolved,
path: found,
options: Sass._options.importer || null,
}, done);
} catch(e) {
// allow emscripten to resume libsass,
// if only to have it stop gracefully
done({ error: e.message });
// but don't just swallow the JS error
console.error(e.stack);
}
},
finished: function() {
return !Importer._running;
},
path: function() {
return Importer._resultPointer('path');
},
content: function() {
return Importer._resultPointer('content');
},
error: function() {
return Importer._resultPointer('error');
},
_resultPointer: function(key) {
return Importer._result && Importer._result[key] !== undefined && stringToPointer(Importer._result[key]) || 0;
},
};
/*global Module, FS, PATH, stripLeadingSlash, addTrailingSlash, XMLHttpRequest, noop, options*/
/*jshint strict:false*/
var Sass = {
style: {
nested: 0,
expanded: 1,
compact: 2,
compressed: 3,
},
comments: {
'none': 0,
'default': 1,
},
_options: {
// filled by sass.options.js
},
_defaultOptions: {
// filled by sass.options.js
},
_optionTypes: {
// filled by sass.options.js
},
_files: {},
_path: '/sass/',
FS: FS,
PATH: PATH,
Module: Module,
// track if emscripten is initialized
_initialized: false,
// allow calling .compile() before emscripten is ready by "buffering" the call
// (i.e. have the client not care about its asynchronous init)
_ready: function() {
Sass._initialized = true;
// we may have buffered compile() calls during execution,
Sass._compileNext();
},
_compileNext: function() {
if (!Sass._compileQueue.length) {
return;
}
// first in first out
var args = Sass._compileQueue.shift();
Sass.compile.apply(Sass, args);
},
options: function(options, callback) {
if (options === 'defaults') {
Sass.options(Sass._defaultOptions, callback);
return;
}
if (typeof options !== 'object') {
return;
}
Object.keys(options).forEach(function(key) {
var _type = Sass._optionTypes[key];
if (key === 'importer') {
// allow passing compile() time options
// to the importer callback
Sass._options[key] = options[key];
return;
}
// no need to import crap
if (!_type) {
throw new Error('Unknown option "' + key + '"');
}
// force expected data type
Sass._options[key] = _type(options[key]);
});
callback && callback();
},
_cloneOptions: function() {
var o = {};
Object.keys(Sass._options).forEach(function(key) {
o[key] = Sass._options[key];
});
return o;
},
importer: function(importerCallback, callback) {
if (typeof importerCallback !== 'function' && importerCallback !== null) {
throw new Error('importer callback must either be a function or null');
}
Sass._importer = importerCallback;
callback && callback();
},
_absolutePath: function(filename) {
return Sass._path + stripLeadingSlash(filename);
},
_createPath: function(parts) {
var base = [];
while (parts.length) {
var directory = parts.shift();
try {
FS.createFolder(base.join('/'), directory, true, true);
} catch(e) {
// IGNORE file exists errors
}
base.push(directory);
}
},
_ensurePath: function(filename) {
var parts = filename.split('/');
parts.pop();
if (!parts.length) {
return;
}
try {
FS.stat(parts.join('/'));
return;
} catch(e) {
Sass._createPath(parts);
}
},
writeFile: function(filename, text, callback) {
if (typeof filename === 'object') {
callback = text;
text = null;
var map = {};
Object.keys(filename).forEach(function(file) {
Sass.writeFile(file, filename[file], function(result) {
map[file] = result;
});
});
callback && callback(map);
return;
}
var _absolute = filename.slice(0, 1) === '/';
var path = Sass._absolutePath(filename);
try {
Sass._ensurePath(path);
FS.writeFile(path, text);
Sass._files[path] = filename;
// create symlink for absolute path resolution
if (_absolute) {
Sass._ensurePath(filename);
FS.symlink(path, filename);
}
callback && callback(true);
} catch(e) {
callback && callback(false);
}
},
readFile: function(filename, callback) {
if (Array.isArray(filename)) {
var map = {};
filename.forEach(function(file) {
Sass.readFile(file, function(result) {
map[file] = result;
});
});
callback && callback(map);
return;
}
var path = Sass._absolutePath(filename);
var result;
try {
result = FS.readFile(path, {encoding: 'utf8'});
} catch(e) {}
callback && callback(result);
},
listFiles: function(callback) {
var list = Object.keys(Sass._files).map(function(path) {
return Sass._files[path];
});
callback && callback(list);
},
removeFile: function(filename, callback) {
if (Array.isArray(filename)) {
var map = {};
filename.forEach(function(file) {
Sass.removeFile(file, function(result) {
map[file] = result;
});
});
callback && callback(map);
return;
}
var _absolute = filename.slice(0, 1) === '/';
var path = Sass._absolutePath(filename);
try {
FS.unlink(path);
delete Sass._files[path];
// undo symlink for absolute path resolution
if (_absolute && FS.lstat(filename)) {
FS.unlink(filename);
}
callback && callback(true);
} catch(e) {
callback && callback(false);
}
},
clearFiles: function(callback) {
Sass.listFiles(function(list) {
list.forEach(function(file) {
Sass.removeFile(file);
});
callback && callback();
});
},
_handleFiles: function(base, directory, files, callback) {
var _root = Sass._absolutePath(directory || '');
_root = addTrailingSlash(_root);
base = addTrailingSlash(base);
return files.map(function(file) {
file = stripLeadingSlash(file);
var parts = file.split('/');
var _file = parts.pop();
var _path = _root + parts.join('/');
_path = addTrailingSlash(_path);
return callback(_path, _file, base + file);
}, Sass);
},
_handleLazyFile: function(path, file, url) {
Sass._ensurePath(path + file);
FS.createLazyFile(path, file, url, true, false);
},
_preloadingFiles: 0,
_preloadingFilesCallback: null,
_handlePreloadFile: function(path, file, url) {
Sass._ensurePath(path + file);
Sass._preloadingFiles++;
var request = new XMLHttpRequest();
request.onload = function() {
Sass.writeFile(path.slice(Sass._path.length) + file, this.responseText);
Sass._preloadingFiles--;
if (!Sass._preloadingFiles) {
Sass._preloadingFilesCallback();
Sass._preloadingFilesCallback = null;
}
};
request.open('get', url, true);
request.send();
},
lazyFiles: function(base, directory, files, callback) {
Sass._handleFiles(base, directory, files, Sass._handleLazyFile);
callback && callback();
},
preloadFiles: function(base, directory, files, callback) {
Sass._preloadingFilesCallback = callback || noop;
Sass._handleFiles(base, directory, files, Sass._handlePreloadFile);
},
// allow concurrent task registration, even though we can only execute them in sequence
_compileQueue: [],
compile: function(text, _options, callback, _compileFile) {
if (typeof _options === 'function') {
callback = _options;
_options = null;
}
if (!callback) {
throw new Error('Sass.compile() requires callback function as second (or third) parameter!');
}
if (_options !== null && typeof _options !== 'object') {
throw new Error('Sass.compile() requires second argument to be an object (options) or a function (callback)');
}
var done = function done(result) {
var _cleanup = function() {
// we're done, the next invocation may come
Sass._sassCompileEmscriptenSuccess = null;
Sass._sassCompileEmscriptenError = null;
// we may have buffered compile() calls during execution,
Sass._compileNext();
};
var _done = function() {
// reset options to what they were before they got temporarily overwritten
_previousOptions && Sass.options(_previousOptions);
// make sure we cleanup regardless of what happenes in the callback
(typeof setImmediate !== 'undefined' ? setImmediate : setTimeout)(_cleanup);
// announce we're done while still buffering incoming compile() calls
callback(result);
};
// give emscripten a chance to finish the C function and clean up
// before we resume our JavaScript duties
(typeof setImmediate !== 'undefined' ? setImmediate : setTimeout)(_done);
};
// only one Sass.compile() can run concurrently, wait for the currently running task to finish!
// Also we need to delay .compile() to when emscripten is ready (if not already the case)
// doing this *after* the initial sanity checks to maintain API behavior
// in respect to when/how exceptions are thrown
if (Sass._sassCompileEmscriptenSuccess || !Sass._initialized) {
Sass._compileQueue.push([text, _options, callback, _compileFile]);
return;
}
try {
// temporarily - for the duration of this .compile() - overwrite options
var _previousOptions = null;
if (_options) {
_previousOptions = Sass._cloneOptions();
Sass.options(_options);
}
Sass._sassCompileEmscriptenSuccess = function(result, map, files) {
done({
status: 0,
text: result,
map: map,
files: files,
});
};
Sass._sassCompileEmscriptenError = function(error, message) {
var result = error || {};
result.formatted = message;
done(result);
};
Module.ccall(
// C function to call
'sass_compile_emscripten',
// return type
null,
// parameter types
[
'string',
'string',
'bool',
'bool',
].concat(options.map(function(option) {
return option.type;
})),
// arguments for invocation
[
text,
Sass._path,
Number(Boolean(_compileFile)),
Number(Boolean(Sass._importer)),
].concat(options.map(function(option) {
return Sass._options[option.key];
})),
// we're not expecting synchronous return value
{ async: true }
);
} catch(e) {
done({
status: 99,
line: null,
message: e.message,
error: e
});
}
},
compileFile: function(filename, _options, callback) {
var path = Sass._absolutePath(filename);
if (typeof _options === 'function') {
callback = _options;
_options = {};
}
_options.sourceMapRoot = path;
_options.inputPath = path;
return Sass.compile(path, _options, callback, true);
},
};
// register options maintained in sass.options.js
options.forEach(function(option) {
Sass._options[option.key] = Sass._defaultOptions[option.key] = option.initial;
Sass._optionTypes[option.key] = option.coerce;
});
// until 0.9.6 we used a weird hacky way to get informed by Module.onRuntimeInitialized
// when emscripten was fully loaded. But since 0.9.5 we're not using a separate .mem file
// anymore and emscripten doesn't preload any files for us, so this became irrelevant.
// initialize after emscripten is loaded and the event loop cleared
setTimeout(Sass._ready);
/*global PATH, Sass*/
/*jshint strict:false*/
function isAbsolutePath (path) {
return path[0] === '/';
}
Sass.getPathVariations = function(path) {
// [importer,include_path] this is where we would add the ability to
// examine the include_path (if we ever use that in Sass.js)
path = PATH.normalize(path);
var directory = PATH.dirname(path);
var basename = PATH.basename(path);
var extensions = ['.scss', '.sass', '.css'];
// basically what is done by resolve_and_load() in file.cpp
// Resolution order for ambiguous imports:
var list = [
// (1) filename as given
path,
// (2) underscore + given
PATH.resolve(directory, '_' + basename)
].concat(extensions.map(function(extension) {
// (3) underscore + given + extension
return PATH.resolve(directory, '_' + basename + extension);
})).concat(extensions.map(function(extension) {
// (4) given + extension
return PATH.resolve(directory, basename + extension);
}));
if (!isAbsolutePath(path)) {
// PATH.resolve() makes everything absolute, revert that
list = list.map(function(item) {
return isAbsolutePath(item)
? item.slice(1)
: item;
});
}
return list;
};
Sass.findPathVariation = function(stat, path) {
return Sass.getPathVariations(path).reduce(function(found, path) {
if (found) {
return found;
}
try {
stat(path);
return path;
} catch(e) {
return null;
}
}, null);
};
'use strict';
/*global Sass, postMessage, onmessage:true, importScripts*/
var _importerDone;
var _importerInit = function(request, done) {
_importerDone = done;
postMessage({
command: '_importerInit',
args: [request]
});
};
var methods = {
_importerFinish: function(result) {
_importerDone && _importerDone(result);
_importerDone = null;
},
importer: function(callback) {
// an importer was un/set
// we need to register a callback that will pipe
// things through the worker
Sass.importer(callback ? _importerInit : null);
},
};
onmessage = function (event) {
function done(result) {
try {
// may throw DataCloneError: Failed to execute 'postMessage' on 'WorkerGlobalScope': An object could not be cloned.
// because of Error instances not being clonable (wtf?)
postMessage({
id: event.data.id,
result: result
});
} catch (e) {
if (!result.error) {
// unless we're dealing with a DataCloneError because of an Error instance,
// we have no idea what is going on, so give up.
throw e;
} else {
// for whatever reason Error instances may not always be serializable,
// in which case we simply return the error data as a plain object
result.error = {
code: result.error.code,
message: result.error.message,
stack: result.error.stack,
};
}
postMessage({
id: event.data.id,
result: result
});
}
}
var method = methods[event.data.command] || Sass[event.data.command];
if (!method) {
return done({
line: 0,
message: 'Unknown command ' + event.action
});
}
method.apply(Sass, (event.data.args || []).concat([done]));
};