scss-to-css/lib/sass.lib.js

827 lines
3.5 MiB
JavaScript
Raw Normal View History

2018-12-27 18:44:32 +08:00
/*! sass.js - v0.10.13 (7209593) - built 2018-11-19
providing libsass 3.5.5 (39e30874)
via emscripten 1.38.18 (7a0e274)
*/
(function (root, factory) {
'use strict';
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof exports === 'object') {
module.exports = factory();
} else {
root.Sass = factory();
}
}(this, function () {/*global document*/
// identify the path sass.js is located at in case we're loaded by a simple
// <script src="path/to/sass.js"></script>
// this path can be used to identify the location of
// * sass.worker.js from sass.js
// * libsass.js.mem from sass.sync.js
// see https://github.com/medialize/sass.js/pull/32#issuecomment-103142214
// see https://github.com/medialize/sass.js/issues/33
var SASSJS_RELATIVE_PATH = (function() {
'use strict';
// in Node things are rather simple
var hasDir = typeof __dirname !== 'undefined';
if (hasDir) {
return __dirname;
}
// we can only run this test in the browser,
// so make sure we actually have a DOM to work with.
if (typeof document === 'undefined' || !document.getElementsByTagName) {
return null;
}
// http://www.2ality.com/2014/05/current-script.html
var currentScript = document.currentScript || (function() {
var scripts = document.getElementsByTagName('script');
return scripts[scripts.length - 1];
})();
var path = currentScript && currentScript.src;
if (!path) {
return null;
}
// [worker] make sure we're not running in some concatenated thing
if (path.slice(-8) === '/sass.js') {
return path.slice(0, -8);
}
// [sync] make sure we're not running in some concatenated thing
if (path.slice(-13) === '/sass.sync.js') {
return path.slice(0, -13);
}
return null;
})() || '.';
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;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;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}else{return scriptDirectory+path}}if(ENVIRONMENT_IS_NODE){scriptDirectory=__dirname+"/";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",abort);Module["quit"]=(function(status){process["exit"](status)});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){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){if(ENVIRONMENT_IS_WORKER){scriptDirectory=self.location.href}else if(document.currentScript){scriptDirectory=document.currentScript.src}if(scriptDirectory.indexOf("blob:")!==0){scriptDirectory=scriptDirectory.substr(0,scriptDirectory.lastIndexOf("/")+1)}else{scriptDirectory=""}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)};Module["setWindowTitle"]=(function(title){document.title=title})}else{}var out=Module["print"]||(typeof console!=="undefined"?console.log.bind(console):typeof print!=="undefined"?print:null);var err=Module["printErr"]||(typeof printErr!=="undefined"?printErr:typeof console!=="undefined"&&console.warn.bind(console)||out);for(key in moduleOverrides){if(moduleOverri
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.STACKTOP|0;var u=env.STACK_MAX|0;var v=env.EMTSTACKTOP|0;var w=env.EMT_STACK_MAX|0;var x=env.eb|0;var y=0;var z=0;var A=0;var B=0;var C=global.NaN,D=global.Infinity;var E=0,F=0,G=0,H=0,I=0.0;var J=0;var K=global.Math.floor;var L=global.Math.abs;var M=global.Math.sqrt;var N=global.Math.pow;var O=global.Math.cos;var P=global.Math.sin;var Q=global.Math.tan;var R=global.Math.acos;var S=global.Math.asin;var T=global.Math.atan;var U=global.Math.atan2;var V=global.Math.exp;var W=global.Math.log;var X=global.Math.ceil;var Y=global.Math.imul;var Z=global.Math.min;var _=global.Math.max;var $=global.Math.clz32;var aa=env.abort;var ba=env.assert;var ca=env.enlargeMemory;var da=env.getTotalMemory;var ea=env.abortOnCannotGrowMemory;var fa=env.abortStackOverflowEmterpreter;var ga=env.invoke_ddd;var ha=env.invoke_di;var ia=env.invoke_dii;var ja=env.invoke_diii;var ka=env.invoke_diiiii;var la=env.invoke_diiiiidd;var ma=env.invoke_i;var na=env.invoke_id;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.___assert_fail;var Ra=env.___cxa_allocate_exception;var Sa=env.___cxa_begin_catch;var Ta=env.___cxa_call_unexpected;var Ua=env.___cxa_end_catch;var Va=env.___cxa_find_matching_catch;var Wa=env.___cxa_find_matching_catch_2;var Xa=env.___cxa_find_matching_catch_3;var Ya=env.___cxa_find_matching_catch_4;var Za=env.___cxa_find_matching_catch_6;var _a=env.___cxa_find_matching_catch_8;var $a=env.___cxa_free_exception;var ab=env.___cxa_get_exception_ptr;var bb=env.___cxa_pure_virtual;var cb=env.___cxa_rethrow;var db=env.___cxa_throw;var eb=env.___cxa_uncaught_exception;var fb=env.___gxx_personality_v0;var gb=env.___lock;var hb=env.___map_file;var ib=env.___resumeException;var jb=env.___setErrNo;var kb=env.___syscall140;var lb=env.___syscall145;var mb=env.___syscall146;var nb=env.___syscall183;var ob=env.___syscall195;var pb=env.___syscall220;var qb=env.___syscall221;var rb=env.___syscall3;var sb=env.___syscall5;var tb=env.___syscall54;var ub=env.___syscall6;var vb=env.___syscall91;var wb=env.___unlock;var xb=env.__addDays;var yb=env.__arraySum;var zb=env.__exit;var Ab=env.__isLeapYear;var Bb=env._abort;var Cb=env._dlclose;var Db=env._dlerror;var Eb=env._dlopen;var Fb=env._dlsym;var Gb=env._emscripten_asm_const_ii;var Hb=env._emscripten_asm_const_iii;var Ib=env._emscripten_asm_const_iiii;var Jb=env._emscripten_get_now;var Kb=env._emscripten_memcpy_big;var Lb=env._emscripten_set_main_loop;var Mb=env._emscripten_set_main_loop_timing;var Nb=env._emscripten_sleep;var Ob=env._exit;var Pb=env._getenv;var Qb=env._llvm_eh_typeid_for;var Rb=env._llvm_stackrestore;var Sb=env._llvm_stacksave;var Tb=env._llvm_trap;var Ub=env._llvm_trunc_f64;var Vb=env._pthread_cond_wait;var Wb=env._pthread_getspecific;var Xb=env._pthread_key_create;var Yb=env._pthread_once;var Zb=env._pthread_setspecific;var _b=env._strftime;var $b=env._strftime_l;var ac=0.0;var bc=0;function cc(newBuffer){if(q(newBuffer)&16777215||q(newBuffer)<=16777215||q(newBuffer)>2147483648)r
// EMSCRIPTEN_START_FUNCS
function Ui(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;r=t;t=t+176|0;m=r+136|0;s=r+80|0;c=r+96|0;l=r+68|0;n=r+56|0;o=r+16|0;p=r;f[s+8>>2]=0;q=s+11|0;b[q>>0]=7;b[s>>0]=b[42567]|0;b[s+1>>0]=b[42568]|0;b[s+2>>0]=b[42569]|0;b[s+3>>0]=b[42570]|0;b[s+4>>0]=b[42571]|0;b[s+5>>0]=b[42572]|0;b[s+6>>0]=b[42573]|0;b[s+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));y=0;Ga(510,l|0,h|0);h=y;y=0;do if(h&1)c=Wa()|0;else{y=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,s|0,a|0,e|0,m|0,l|0)|0;h=y;y=0;if(h&1){c=Wa()|0;j=J;k=f[l>>2]|0;if(!k)break;a=l+4|0;d=f[a>>2]|0;if((d|0)==(k|0))d=k;else{do{i=d+-12|0;d=d+-52|0;if((b[i+11>>0]|0)<0)qta(f[i>>2]|0)}while((d|0)!=(k|0));d=f[l>>2]|0}f[a>>2]=k;qta(d);break}i=f[l>>2]|0;if(i|0){j=l+4|0;c=f[j>>2]|0;if((c|0)==(i|0))c=i;else{do{d=c+-12|0;c=c+-52|0;if((b[d+11>>0]|0)<0)qta(f[d>>2]|0)}while((c|0)!=(i|0));c=f[l>>2]|0}f[j>>2]=i;qta(c)}if((b[q>>0]|0)<0)qta(f[s>>2]|0);EL(s,k+64|0);a=s+11|0;d=b[a>>0]|0;i=d<<24>>24<0?f[s+4>>2]|0:d&255;a:do if(i|0){c=0;while(1){if(Zqa(b[(d<<24>>24<0?f[s>>2]|0:s)+c>>0]|0)|0){q=((b[a>>0]|0)<0?f[s>>2]|0:s)+c|0;l=(mma(b[q>>0]|0)|0)&255;b[q>>0]=l}c=c+1|0;if(c>>>0>=i>>>0)break a;d=b[a>>0]|0}}while(0);do if(!k)d=43;else{c=f[k>>2]|0;if((f[2375]|0)==(f[(f[c+-4>>2]|0)+4>>2]|0)){y=0;c=qa(f[c+12>>2]|0,k|0)|0;g=y;y=0;if(!(g&1)){y=0;Ga(459,n|0,s|0);g=y;y=0;if(!(g&1)){f[c+76>>2]=0;y=0;sa(988,c+64|0,n|0)|0;g=y;y=0;if(g&1){c=Wa()|0;if((b[n+11>>0]|0)>=0){d=55;break}qta(f[n>>2]|0);d=55;break}if((b[n+11>>0]|0)<0)qta(f[n>>2]|0);d=52;break}}c=Wa()|0;d=55}else d=43}while(0);b:do if((d|0)==43){y=0;d=qa(318,80)|0;q=y;y=0;if(q&1){c=Wa()|0;d=55;break}i=o;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));y=0;Ga(459,p|0,s|0);g=y;y=0;do if(g&1)c=Wa()|0;else{y=0;i=m;j=o;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=y;y=0;if(g&1){c=Wa()|0;if((b[p+11>>0]|0)>=0)break;qta(f[p>>2]|0);break}else{if((b[p+11>>0]|0)>=0){c=d;d=52;break b}qta(f[p>>2]|0);c=d;d=52;break b}}while(0);qta(d);d=55}while(0);if((d|0)==52){if((b[a>>0]|0)>=0){t=r;return c|0}qta(f[s>>2]|0);t=r;return c|0}else if((d|0)==55){if((b[a>>0]|0)<0)qta(f[s>>2]|0);s=c;ib(s|0)}}while(0);if((b[q>>0]|0)<0)qta(f[s>>2]|0);s=c;ib(s|0);return 0}function Vi(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;p=t;t=t+64|0;m=p+48|0;e=p;n=p+40|0;o=a+76|0;h=f[o>>2]|0;g=b[h>>0]|0;if(!(g<<24>>24)){o=0;t=p;return o|0}if(c){g=uX(h)|0;g=(g|0)==0?h:g;h=g;g=b[g>>0]|0}if(g<<24>>24==92){g=Uka(h+1|0)|0;if(!g)l=6;else l=21}else l=6;a:do if((l|0)==6){do if(h|0){c=b[51127]|0;b:do if(!(c<<24>>24)){g=h;l=11}else{g=h;i=51127;while(1){if((b[g>>0]|0)!=c<<24>>24)break b;g=g+1|0;i=i+1|0;c=b[i>>0]|0;if(!(c<<24>>24)){l=11;break}}}while(0);if((l|0)==11)if((b[g>>0]|0)==40)break;c=b[h>>0]|0;if(!(c<<24>>24)){i=0;break a}g=39192;while(1){k=b[g>>0]|0;i=k<<24>>24==0;if(c<<24>>24!=k<<24>>24&(i^1))g=g+1|0;else break}if(i){g=h+1|0;l=21;break a}}while(0);g=h+1|0;switch(b[h>>0]|0){case 47:switch(b[g>>0]|0){case 42:case 47:{i=0;break a}default:{l=21;break a}}case 92:{c=h+2|0;if((b[g>>0]|0)!=35){i=0;break a}if((b[c>>0]|0)==123){i=0;break a}else{g=c;l=21;break a}}case 33:if(!(Nca(g)|0)){l=21;break a}else{i=0;break a}default:{i=0;break a}}}while(0);if((l|0)==21){c:while(1){if((b[g>>0]|0)==92){c=Uka(g+1|0)|0;if(!c)l=24;else g=c}else l=24;d:do if((l|0)==24){i=b[51127]|0;e:do if(!(i<<24>>24)){c=g;l=28}else{c=g;j=51127;while(1){if((b[c>>0]|0)!=i<<24>>24){l=30;break e}c=c+1|0;j=j+1|0;i=b[j>>0]|0;if(!(i<<24>>24)){l=28;break}}}while(0);if((l|0)==28){l=0;if((b[c>>0]|0)==40){c=b[g>>0]|0;i=g+1|0}else l=30}if((l|0)==30){l=0;j=b[g>>0]|0;if(!(j<<24>>24))break c;c=39192;while(1){i=b[c>>0]|0;k=i<<24>>24==0;if(j<<24>>24!=i<<24>>24&(k^1))c=c+1|0;else break}i=g+1|0;if(k){g=i;break}else c=j}switch(c<<24>>24){case 47:switch(b[i>>0]|0){case 42:case 47:break c;default:{g=i;break d}}case 92:{c=g+2|0;if((b[i>>0]|0)!=35)break c;if((b[c>>0]|0)==123)break c;else{g=c;break d}}case 33:if(!(Nca(i)|0)){g=i;break d}else break c;de
function IC(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;g=t;t=t+16|0;i=Ra(88)|0;f[g>>2]=0;j=g+4|0;f[j>>2]=0;f[g+8>>2]=0;y=0;Ia(126,i|0,g|0,c|0);h=y;y=0;if(h&1)d=1;else{y=0;Ia(77,i|0,11560,181);y=0;d=0}h=Wa()|0;e=f[g>>2]|0;if(e|0){a=f[j>>2]|0;if((a|0)==(e|0))a=e;else{do{c=a+-12|0;a=a+-52|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0)}while((a|0)!=(e|0));a=f[g>>2]|0}f[j>>2]=e;qta(a)}if(!d)ib(h|0);$a(i|0);ib(h|0)}function JC(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;k=t;t=t+16|0;i=k;j=a+11|0;e=b[j>>0]|0;g=e<<24>>24<0;if(g){h=f[a+4>>2]|0;e=(f[a+8>>2]&2147483647)+-1|0}else{h=e&255;e=10}if((e-h|0)>>>0<d>>>0)$z(a,e,h+d-e|0,h,h,0,d,c);else if(d|0){if(g)g=f[a>>2]|0;else g=a;Iaa(g+h|0,c,d)|0;e=h+d|0;if((b[j>>0]|0)<0)f[a+4>>2]=e;else b[j>>0]=e;b[i>>0]=0;mga(g+e|0,i)}t=k;return a|0}function KC(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;k=t;t=t+16|0;i=k;j=a+11|0;e=b[j>>0]|0;g=e<<24>>24<0;if(g)h=(f[a+8>>2]&2147483647)+-1|0;else h=10;do if(h>>>0<d>>>0){if(g)e=f[a+4>>2]|0;else e=e&255;$z(a,h,d-h|0,e,0,e,d,c)}else{if(g)e=f[a>>2]|0;else e=a;Faa(e,c,d)|0;b[i>>0]=0;mga(e+d|0,i);if((b[j>>0]|0)<0){f[a+4>>2]=d;break}else{b[j>>0]=d;break}}while(0);t=k;return a|0}function LC(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;j=t;t=t+32|0;i=j;a:do if(!($ja(c)|0)){h=(c|0)!=0;e=0;g=0;do{d=1<<g&a;if(h&(d|0)==0)d=f[c+(g<<2)>>2]|0;else d=tn(g,(d|0)==0?90024:b)|0;e=e+((d|0)!=0&1)|0;f[i+(g<<2)>>2]=d;g=g+1|0}while((g|0)!=6);switch(e&2147483647|0){case 0:{c=87968;break a}case 1:{if((f[i>>2]|0)==29072){c=29100;break a}break}default:{}}}else{d=0;do{if(1<<d&a|0){i=tn(d,b)|0;f[c+(d<<2)>>2]=i}d=d+1|0}while((d|0)!=6)}while(0);t=j;return c|0}function MC(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;f[a>>2]=23684;e=a+72|0;f[e>>2]=23860;d=a+100|0;g=f[d>>2]|0;if(g|0){h=a+104|0;c=f[h>>2]|0;if((c|0)==(g|0))c=g;else{do{c=c+-12|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0)}while((c|0)!=(g|0));c=f[d>>2]|0}f[h>>2]=g;qta(c)}JP(a+92|0);f[e>>2]=23900;d=a+76|0;e=f[d>>2]|0;if(!e){qta(a);return}g=a+80|0;c=f[g>>2]|0;if((c|0)==(e|0))c=e;else{do{c=c+-8|0;Cc[f[f[c>>2]>>2]&511](c)}while((c|0)!=(e|0));c=f[d>>2]|0}f[g>>2]=e;qta(c);qta(a);return}function NC(a){a=a|0;var b=0,c=0,d=0,e=0,g=0;c=a+-72|0;e=c+68|0;a=f[e>>2]|0;if(a|0){e=a;return e|0}f[e>>2]=-1640531520;g=f[c+80>>2]|0;a=f[c+76>>2]|0;b=a;d=g;if((g|0)==(a|0)){g=-1640531520;return g|0}c=c+88|0;a=f[c>>2]|0;if(!a)if((b|0)==(d|0)){a=0;b=-1640531520}else{do{g=f[b+4>>2]|0;g=(nc[f[(f[g>>2]|0)+8>>2]&511](g)|0)+-1640531527|0;a=f[c>>2]|0;a=g+(a<<6)+(2?a>>>2:a)^a;f[c>>2]=a;b=b+8|0}while((b|0)!=(d|0));b=f[e>>2]|0}else b=-1640531520;g=a+-1640531527+(b<<6)+(2?b>>>2:b)^b;f[e>>2]=g;return g|0}function OC(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,g=0,h=0;h=t;t=t+16|0;g=h;f[a+64>>2]=b;c=f[a+76>>2]|0;d=f[a+80>>2]|0;if((c|0)==(d|0)){t=h;return}e=g+4|0;a=c;while(1){TU(g,f[a+4>>2]|0);f[g>>2]=23300;c=f[e>>2]|0;y=0;Ga(f[(f[c>>2]|0)+120>>2]|0,c|0,b|0);c=y;y=0;if(c&1){a=6;break}JP(g);a=a+8|0;if((a|0)==(d|0)){a=3;break}}if((a|0)==3){t=h;return}else if((a|0)==6){h=Wa()|0;JP(g);ib(h|0)}}function PC(a){a=a|0;var c=0,d=0,e=0,g=0;e=t;t=t+16|0;d=e+8|0;c=e;if(b[a+54>>0]|0){d=1;t=e;return d|0}a=a+80|0;TU(d,f[a>>2]|0);f[d>>2]=15440;do if(!(f[d+4>>2]|0))a=0;else{TU(c,f[a>>2]|0);f[c>>2]=15440;a=f[c+4>>2]|0;y=0;a=qa(f[(f[a>>2]|0)+112>>2]|0,a|0)|0;g=y;y=0;if(g&1){g=Wa()|0;JP(c);JP(d);ib(g|0)}else{JP(c);break}}while(0);JP(d);g=a;t=e;return g|0}function QC(a){a=a|0;var c=0,d=0,e=0,g=0;e=t;t=t+16|0;d=e+8|0;c=e;if(b[a+54>>0]|0){d=1;t=e;return d|0}a=a+72|0;TU(d,f[a>>2]|0);f[d>>2]=15440;do if(!(f[d+4>>2]|0))a=0;else{TU(c,f[a>>2]|0);f[c>>2]=15440;a=f[c+4>>2]|0;y=0;a=qa(f[(f[a>>2]|0)+108>>2]|0,a|0)|0;g=y;y=0;if(g&1){g=Wa()|0;JP(c);JP(d);ib(g|0)}else{JP(c);break}}while(0);JP(d);g=a;t=e;return g|0}function RC(a){a=a|0;var c=0,d=0,e=0,g=0,h=0;h=a+-72|0;f[h>>2]=23684;d=h+72|0;f[d>>2]=23860;c=h+100|0;e=f[c>>2]|0;if(e|0){g=h+104|0;a=f[g>>2]|0;if((a|0)==(e|0))a=e;else{do{a=a+-12|0;if((b[a+11>>0]|0)<0)qta(f[a>>2]|0)}while((a|0)!=(e|0));a=f[c>>2]|0}f[g>>2]=e;qta(a)}JP(h+92|0);f[d>>2]=23900;c=h+76|0;e=f[c>>2]|0;if(!e)return;d=h+80|0;a=f[d>>2]|0;if((a|0)==(e|0))a=e;else{do{a=a+-8|0;Cc[f[f[a>>2]>>2]&51
function jn(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,u=0;s=t;t=t+64|0;g=s;u=s+48|0;r=s+40|0;q=gN(88)|0;o=c+64|0;p=c+68|0;e=f[p>>2]|0;d=f[o>>2]|0;l=f[c+80>>2]|0;m=b[c+84>>0]|0;n=b[c+85>>0]|0;h=g;i=c+12|0;j=h+40|0;do{f[h>>2]=f[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(j|0));Wea(q);k=e-d|0;k=3?k>>3:k;h=q+12|0;i=g;j=h+40|0;do{f[h>>2]=f[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(j|0));b[q+52>>0]=0;b[q+53>>0]=0;b[q+54>>0]=0;d=q+56|0;f[d>>2]=0;f[q>>2]=14260;e=q+60|0;f[e>>2]=17404;i=q+64|0;j=q+68|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;y=0;Ga(514,i|0,k|0);k=y;y=0;if(k&1){g=Wa()|0;e=J;h=f[i>>2]|0;if(h|0){d=f[j>>2]|0;if((d|0)==(h|0))d=h;else{do{d=d+-8|0;Cc[f[f[d>>2]>>2]&511](d)}while((d|0)!=(h|0));d=f[i>>2]|0}f[j>>2]=h;qta(d)}qta(q);u=g;ib(u|0)}f[q>>2]=17232;f[e>>2]=17364;f[q+80>>2]=l;b[q+84>>0]=m;b[q+85>>0]=n;b[q+86>>0]=0;f[d>>2]=5;TU(u,q);f[u>>2]=15328;e=f[o>>2]|0;q=(f[p>>2]|0)-e|0;j=3?q>>3:q;k=u+4|0;a:do if(q|0){i=c+64|0;d=0;while(1){g=(f[k>>2]|0)+60|0;h=f[(f[g>>2]|0)+20>>2]|0;e=f[e+(d<<3)+4>>2]|0;y=0;e=sa(f[(f[e>>2]|0)+72>>2]|0,e|0,a|0)|0;q=y;y=0;if(q&1){e=13;break}TU(r,e);f[r>>2]=15440;y=0;Ga(h|0,g|0,r|0);q=y;y=0;if(q&1){e=18;break}JP(r);d=d+1|0;if(d>>>0>=j>>>0)break a;e=f[i>>2]|0}if((e|0)==13)d=Wa()|0;else if((e|0)==18){d=Wa()|0;JP(r)}JP(u);u=d;ib(u|0)}while(0);d=f[k>>2]|0;if(!d){r=0;JP(u);t=s;return r|0}b[d+8>>0]=1;r=d;JP(u);t=s;return r|0}function kn(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,o=0,p=0,q=0;o=t;t=t+128|0;i=o+88|0;g=o+80|0;m=o+72|0;k=o+32|0;p=o+24|0;l=o+16|0;q=o+8|0;n=o;h=b+68|0;TU(g,f[h>>2]|0);f[g>>2]=15024;j=f[g+4>>2]|0;j=(f[j+72>>2]|0)==(f[j+68>>2]|0);JP(g);if(j){q=b;t=o;return q|0}d=a+24|0;j=a+28|0;e=f[j>>2]|0;g=e;if((e|0)==(f[d>>2]|0))c=f[a+12>>2]|0;else c=g+-4|0;if((f[(f[c>>2]|0)+52>>2]|0)==1){q=fg(a,b)|0;t=o;return q|0}f[i>>2]=b;if((f[a+32>>2]|0)>>>0>g>>>0){f[e>>2]=b;f[j>>2]=(f[j>>2]|0)+4}else uz(d,i);g=gN(80)|0;c=k;d=b+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));TU(p,f[b+76>>2]|0);f[p>>2]=20116;c=f[(f[a>>2]|0)+12>>2]|0;TU(q,f[h>>2]|0);f[q>>2]=15024;y=0;c=sa(c|0,a|0,f[q+4>>2]|0)|0;h=y;y=0;do if(h&1){c=Wa()|0;d=1}else{TU(l,c);f[l>>2]=15024;y=0;c=i;d=k;e=c+40|0;do{f[c>>2]=f[d>>2];c=c+4|0;d=d+4|0}while((c|0)<(e|0));Ja(40,g|0,i|0,p|0,l|0);k=y;y=0;if(k&1){c=Wa()|0;JP(l);d=1;break}TU(m,g);f[m>>2]=24888;JP(l);JP(q);JP(p);c=m+4|0;q=f[c>>2]|0;f[q+56>>2]=f[b+56>>2];f[j>>2]=(f[j>>2]|0)+-4;TU(n,f[q+68>>2]|0);f[n>>2]=15024;y=0;c=ta(159,a|0,f[n+4>>2]|0,f[c>>2]|0)|0;q=y;y=0;if(q&1){q=Wa()|0;JP(n);JP(m);ib(q|0)}else{JP(n);JP(m);q=c;t=o;return q|0}}while(0);JP(q);JP(p);if(!d){q=c;ib(q|0)}qta(g);q=c;ib(q|0);return 0}function ln(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;s=t;t=t+48|0;r=s+28|0;q=s+16|0;o=s+8|0;p=s;if((f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)!=35246){r=0;t=s;return r|0}y=0;Ga(f[(f[a>>2]|0)+80>>2]|0,r|0,a|0);n=y;y=0;if(n&1){d=Ya(13984,0)|0;e=J}else{y=0;Ga(f[(f[c>>2]|0)+80>>2]|0,q|0,c|0);n=y;y=0;a:do if(n&1){d=Ya(13984,0)|0;e=J;g=r+11|0}else{g=r+11|0;h=b[g>>0]|0;k=h<<24>>24<0;h=h&255;l=k?f[r+4>>2]|0:h;n=q+11|0;e=b[n>>0]|0;d=e<<24>>24<0;b:do if((l|0)==((d?f[q+4>>2]|0:e&255)|0)){j=f[r>>2]|0;m=k?j:r;d=d?f[q>>2]|0:q;i=(l|0)==0;j=j&255;c:do if(k){if(!i)if(yN(m,d,l)|0){d=0;break b}}else if(!i){if((b[d>>0]|0)!=j<<24>>24){d=0;break b}i=r;while(1){h=h+-1|0;i=i+1|0;if(!h)break c;d=d+1|0;if((b[i>>0]|0)!=(b[d>>0]|0)){d=0;break b}}}while(0);TU(o,f[a+68>>2]|0);f[o>>2]=15440;d=f[o+4>>2]|0;a=f[(f[d>>2]|0)+92>>2]|0;TU(p,f[c+68>>2]|0);f[p>>2]=15440;y=0;d=sa(a|0,d|0,f[p+4>>2]|0)|0;c=y;y=0;if(!(c&1)){JP(p);JP(o);e=b[n>>0]|0;break}d=Ya(13984,0)|0;e=J;JP(p);JP(o);if((b[n>>0]|0)>=0)break a;qta(f[q>>2]|0);break a}else d=0;while(0);if(e<<24>>24<0)qta(f[q>>2]|0);if((b[g>>0]|0)<0)qta(f[r>>2]|0);r=d;t=s;return r|0}while(0);if((b[g>>0]|0)<0)qta(f[r>>2]|0)}r=(e|0)==(Qb(13984)|0);Sa(d|0)|0;if(r){Ua();r=0;t=s;return r|0}y=0;Ea(3);y=0;d=Wa()|0;y=0;Ea(4);s=y;y=0;if(s&1){s=Xa(0)|0;$na(s)}else ib(d|0);return 0}function mn(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,o=0;c=f[a+20>>2]|0;d=f[a+24>>2]|0;if(!d)a=c;els
function Ok(){var a=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=t;t=t+48|0;i=m;p[10267]=3.141592653589793;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;j=i+11|0;b[j>>0]=5;b[i>>0]=b[55709]|0;b[i+1>>0]=b[55710]|0;b[i+2>>0]=b[55711]|0;b[i+3>>0]=b[55712]|0;b[i+4>>0]=b[55713]|0;b[i+5>>0]=0;g=i+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;k=g+11|0;b[k>>0]=5;b[g>>0]=b[55715]|0;b[g+1>>0]=b[55716]|0;b[g+2>>0]=b[55717]|0;b[g+3>>0]=b[55718]|0;b[g+4>>0]=b[55719]|0;b[g+5>>0]=0;h=i+24|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;l=h+11|0;b[l>>0]=4;f[h>>2]=1936941870;b[i+28>>0]=0;f[21886]=0;f[21887]=0;f[21888]=0;y=0;a=qa(318,36)|0;e=y;y=0;if(e&1)a=Wa()|0;else{f[21887]=a;f[21886]=a;f[21888]=a+36;y=0;Ga(459,a|0,i|0);e=y;y=0;if(!(e&1)){e=(f[21887]|0)+12|0;f[21887]=e;y=0;Ga(459,e|0,g|0);e=y;y=0;if(!(e&1)){e=(f[21887]|0)+12|0;f[21887]=e;y=0;Ga(459,e|0,h|0);e=y;y=0;if(!(e&1)){f[21887]=(f[21887]|0)+12;if((b[l>>0]|0)<0)qta(f[h>>2]|0);if((b[k>>0]|0)<0)qta(f[g>>2]|0);if((b[j>>0]|0)<0)qta(f[i>>2]|0);f[21889]=0;f[21890]=0;f[21891]=0;a=gN(32)|0;f[21889]=a;f[21891]=-2147483616;f[21890]=21;c=a;d=55721;e=c+21|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+21>>0]=0;f[21892]=0;f[21893]=0;f[21894]=0;a=gN(32)|0;f[21892]=a;f[21894]=-2147483616;f[21893]=19;c=a;d=55743;e=c+19|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+19>>0]=0;f[21895]=0;f[21896]=0;f[21897]=0;a=gN(32)|0;f[21895]=a;f[21897]=-2147483616;f[21896]=22;c=a;d=55763;e=c+22|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+22>>0]=0;f[21898]=0;f[21899]=0;f[21900]=0;a=gN(32)|0;f[21898]=a;f[21900]=-2147483616;f[21899]=23;c=a;d=55786;e=c+23|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+23>>0]=0;f[21901]=0;f[21902]=0;f[21903]=0;b[87615]=6;b[87604]=b[55810]|0;b[87605]=b[55811]|0;b[87606]=b[55812]|0;b[87607]=b[55813]|0;b[87608]=b[55814]|0;b[87609]=b[55815]|0;b[87610]=0;t=m;return}}}a=Wa()|0;d=J;e=f[21886]|0;if(e){c=f[21887]|0;if((c|0)==(e|0))c=e;else{do{c=c+-12|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0)}while((c|0)!=(e|0));c=f[21886]|0}f[21887]=e;qta(c)}}if((b[l>>0]|0)<0)qta(f[h>>2]|0);if((b[k>>0]|0)<0)qta(f[g>>2]|0);if((b[j>>0]|0)>=0)ib(a|0);qta(f[i>>2]|0);ib(a|0)}function Pk(){var a=0,c=0,d=0,e=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=t;t=t+48|0;i=m;p[10245]=3.141592653589793;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;j=i+11|0;b[j>>0]=5;b[i>>0]=b[55709]|0;b[i+1>>0]=b[55710]|0;b[i+2>>0]=b[55711]|0;b[i+3>>0]=b[55712]|0;b[i+4>>0]=b[55713]|0;b[i+5>>0]=0;g=i+12|0;f[g>>2]=0;f[g+4>>2]=0;f[g+8>>2]=0;k=g+11|0;b[k>>0]=5;b[g>>0]=b[55715]|0;b[g+1>>0]=b[55716]|0;b[g+2>>0]=b[55717]|0;b[g+3>>0]=b[55718]|0;b[g+4>>0]=b[55719]|0;b[g+5>>0]=0;h=i+24|0;f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;l=h+11|0;b[l>>0]=4;f[h>>2]=1936941870;b[i+28>>0]=0;f[21501]=0;f[21502]=0;f[21503]=0;y=0;a=qa(318,36)|0;e=y;y=0;if(e&1)a=Wa()|0;else{f[21502]=a;f[21501]=a;f[21503]=a+36;y=0;Ga(459,a|0,i|0);e=y;y=0;if(!(e&1)){e=(f[21502]|0)+12|0;f[21502]=e;y=0;Ga(459,e|0,g|0);e=y;y=0;if(!(e&1)){e=(f[21502]|0)+12|0;f[21502]=e;y=0;Ga(459,e|0,h|0);e=y;y=0;if(!(e&1)){f[21502]=(f[21502]|0)+12;if((b[l>>0]|0)<0)qta(f[h>>2]|0);if((b[k>>0]|0)<0)qta(f[g>>2]|0);if((b[j>>0]|0)<0)qta(f[i>>2]|0);f[21504]=0;f[21505]=0;f[21506]=0;a=gN(32)|0;f[21504]=a;f[21506]=-2147483616;f[21505]=21;c=a;d=55721;e=c+21|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+21>>0]=0;f[21507]=0;f[21508]=0;f[21509]=0;a=gN(32)|0;f[21507]=a;f[21509]=-2147483616;f[21508]=19;c=a;d=55743;e=c+19|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+19>>0]=0;f[21510]=0;f[21511]=0;f[21512]=0;a=gN(32)|0;f[21510]=a;f[21512]=-2147483616;f[21511]=22;c=a;d=55763;e=c+22|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+22>>0]=0;f[21513]=0;f[21514]=0;f[21515]=0;a=gN(32)|0;f[21513]=a;f[21515]=-2147483616;f[21514]=23;c=a;d=55786;e=c+23|0;do{b[c>>0]=b[d>>0]|0;c=c+1|0;d=d+1|0}while((c|0)<(e|0));b[a+23>>0]=0;f[21516]=0;f[21517]=0;f[21518]=0;b[86075]=6;b[86064]=b[55810]|0;b[86065]=b[55811]|0;b[86066]=b[55812]|0;b[86067]=b[55813]|0;b[86068]=b[55814]|0;b[86069]=b[55815]|0;b[86070]=0;t=m;return}}}a=Wa()|0;d=J;e=f[21501]|0;if(e){c=f[21502]|0;if((c|0)==(e|0))c=e;else{do{c=c+-12|0;if((b
function Cv(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;l=t;t=t+64|0;h=l+48|0;e=l;i=l+40|0;k=a+76|0;g=f[k>>2]|0;if(!(b[g>>0]|0)){k=0;t=l;return k|0}if(c){j=uX(g)|0;g=(j|0)==0?g:j}j=Es(g)|0;if(j>>>0>(f[a+80>>2]|0)>>>0){k=0;t=l;return k|0}if(!d)if((j|0)==0|(j|0)==(g|0)){k=0;t=l;return k|0}c=f[k>>2]|0;f[a+168>>2]=c;f[a+172>>2]=g;f[a+176>>2]=j;m=a+96|0;lD(h,m,c,g);c=a+84|0;f[c>>2]=f[h>>2];f[c+4>>2]=f[h+4>>2];f[c+8>>2]=f[h+8>>2];lD(h,m,g,j);d=f[a+12>>2]|0;g=f[a+72>>2]|0;pQ(i,m,c);f[h>>2]=f[i>>2];f[h+4>>2]=f[i+4>>2];fI(e,d,g,a+168|0,c,h);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[k>>2]=j;m=j;t=l;return m|0}function Dv(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;l=t;t=t+64|0;h=l+48|0;e=l;i=l+40|0;k=a+76|0;g=f[k>>2]|0;if(!(b[g>>0]|0)){k=0;t=l;return k|0}if(c){j=uX(g)|0;g=(j|0)==0?g:j}j=wF(g)|0;if(j>>>0>(f[a+80>>2]|0)>>>0){k=0;t=l;return k|0}if(!d)if((j|0)==0|(j|0)==(g|0)){k=0;t=l;return k|0}c=f[k>>2]|0;f[a+168>>2]=c;f[a+172>>2]=g;f[a+176>>2]=j;m=a+96|0;lD(h,m,c,g);c=a+84|0;f[c>>2]=f[h>>2];f[c+4>>2]=f[h+4>>2];f[c+8>>2]=f[h+8>>2];lD(h,m,g,j);d=f[a+12>>2]|0;g=f[a+72>>2]|0;pQ(i,m,c);f[h>>2]=f[i>>2];f[h+4>>2]=f[i+4>>2];fI(e,d,g,a+168|0,c,h);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[k>>2]=j;m=j;t=l;return m|0}function Ev(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;l=t;t=t+64|0;h=l+48|0;e=l;i=l+40|0;k=a+76|0;g=f[k>>2]|0;if(!(b[g>>0]|0)){k=0;t=l;return k|0}if(c){j=uX(g)|0;g=(j|0)==0?g:j}j=QN(g)|0;if(j>>>0>(f[a+80>>2]|0)>>>0){k=0;t=l;return k|0}if(!d)if((j|0)==0|(j|0)==(g|0)){k=0;t=l;return k|0}c=f[k>>2]|0;f[a+168>>2]=c;f[a+172>>2]=g;f[a+176>>2]=j;m=a+96|0;lD(h,m,c,g);c=a+84|0;f[c>>2]=f[h>>2];f[c+4>>2]=f[h+4>>2];f[c+8>>2]=f[h+8>>2];lD(h,m,g,j);d=f[a+12>>2]|0;g=f[a+72>>2]|0;pQ(i,m,c);f[h>>2]=f[i>>2];f[h+4>>2]=f[i+4>>2];fI(e,d,g,a+168|0,c,h);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[k>>2]=j;m=j;t=l;return m|0}function Fv(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;l=t;t=t+64|0;h=l+48|0;e=l;i=l+40|0;k=a+76|0;g=f[k>>2]|0;if(!(b[g>>0]|0)){k=0;t=l;return k|0}if(c){j=uX(g)|0;g=(j|0)==0?g:j}j=uK(g)|0;if(j>>>0>(f[a+80>>2]|0)>>>0){k=0;t=l;return k|0}if(!d)if((j|0)==0|(j|0)==(g|0)){k=0;t=l;return k|0}c=f[k>>2]|0;f[a+168>>2]=c;f[a+172>>2]=g;f[a+176>>2]=j;m=a+96|0;lD(h,m,c,g);c=a+84|0;f[c>>2]=f[h>>2];f[c+4>>2]=f[h+4>>2];f[c+8>>2]=f[h+8>>2];lD(h,m,g,j);d=f[a+12>>2]|0;g=f[a+72>>2]|0;pQ(i,m,c);f[h>>2]=f[i>>2];f[h+4>>2]=f[i+4>>2];fI(e,d,g,a+168|0,c,h);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[k>>2]=j;m=j;t=l;return m|0}function Gv(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;j=t;t=t+16|0;i=j;d=a+8|0;g=a+4|0;e=pc[f[c>>2]&2047](g,a)|0;h=pc[f[c>>2]&2047](d,g)|0;do if(e){e=f[a>>2]|0;if(h){f[a>>2]=f[d>>2];f[d>>2]=e;break}f[a>>2]=f[g>>2];f[g>>2]=e;if(pc[f[c>>2]&2047](d,g)|0){h=f[g>>2]|0;f[g>>2]=f[d>>2];f[d>>2]=h}}else if(h){h=f[g>>2]|0;f[g>>2]=f[d>>2];f[d>>2]=h;if(pc[f[c>>2]&2047](g,a)|0){h=f[a>>2]|0;f[a>>2]=f[g>>2];f[g>>2]=h}}while(0);e=a+12|0;if((e|0)==(b|0)){t=j;return}while(1){if(pc[f[c>>2]&2047](e,d)|0){f[i>>2]=f[e>>2];g=e;while(1){f[g>>2]=f[d>>2];if((d|0)==(a|0)){d=a;break}g=d+-4|0;if(pc[f[c>>2]&2047](i,g)|0){h=d;d=g;g=h}else break}f[d>>2]=f[i>>2]}d=e+4|0;if((d|0)==(b|0))break;else{h=e;e=d;d=h}}t=j;return}function Hv(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;l=t;t=t+64|0;h=l+48|0;e=l;i=l+40|0;k=a+76|0;g=f[k>>2]|0;if(!(b[g>>0]|0)){k=0;t=l;return k|0}if(c){j=uX(g)|0;g=(j|0)==0?g:j}j=YZ(g)|0;if(j>>>0>(f[a+80>>2]|0)>>>0){k=0;t=l;return k|0}if(!d)if((j|0)==0|(j|0)==(g|0)){k=0;t=l;return k|0}c=f[k>>2]|0;f[a+168>>2]=c;f[a+172>>2]=g;f[a+176>>2]=j;m=a+96|0;lD(h,m,c,g);c=a+84|0;f[c>>2]=f[h>>2];f[c+4>>2]=f[h+4>>2];f[c+8>>2]=f[h+8>>2];lD(h,m,g,j);d=f[a+12>>2]|0;g=f[a+72>>2]|0;pQ(i,m,c);f[h>>2]=f[i>>2];f[h+4>>2]=f[i+4>>2];fI(e,d,g,a+168|0,c,h);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[k>>2]=j;m=j;t=l;return m|0}function Iv(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;l=t;t=t+64|0;h=l+48|0;e=l;i=l
function Dq(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;k=t;t=t+16|0;l=k;j=a+4|0;f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;g=l+11|0;b[g>>0]=1;b[l>>0]=40;b[l+1>>0]=0;y=0;Ga(667,j|0,l|0);i=y;y=0;if(i&1){e=Wa()|0;if((b[g>>0]|0)<0)qta(f[l>>2]|0);l=e;ib(l|0)}if((b[g>>0]|0)<0)qta(f[l>>2]|0);i=c+64|0;e=f[i>>2]|0;g=c+68|0;a:do if((e|0)!=(f[g>>2]|0)){h=f[e+4>>2]|0;Dc[f[(f[h>>2]|0)+44>>2]&1023](h,a);g=(f[g>>2]|0)-(f[c+64>>2]|0)|0;g=3?g>>3:g;if(g>>>0>1){h=l+11|0;c=l+2|0;e=1;while(1){f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;b[h>>0]=2;d[l>>1]=8236;b[c>>0]=0;y=0;Ga(667,j|0,l|0);m=y;y=0;if(m&1)break;if((b[h>>0]|0)<0)qta(f[l>>2]|0);m=f[(f[i>>2]|0)+(e<<3)+4>>2]|0;Dc[f[(f[m>>2]|0)+44>>2]&1023](m,a);e=e+1|0;if(e>>>0>=g>>>0)break a}e=Wa()|0;if((b[h>>0]|0)<0)qta(f[l>>2]|0);m=e;ib(m|0)}}while(0);f[l>>2]=0;f[l+4>>2]=0;f[l+8>>2]=0;g=l+11|0;b[g>>0]=1;b[l>>0]=41;b[l+1>>0]=0;y=0;Ga(667,j|0,l|0);m=y;y=0;if(m&1){e=Wa()|0;if((b[g>>0]|0)<0)qta(f[l>>2]|0);m=e;ib(m|0)}else{if((b[g>>0]|0)>=0){t=k;return}qta(f[l>>2]|0);t=k;return}}function Eq(a,c){a=a|0;c=c|0;var d=0,e=0,g=0,h=0,i=0,j=0;i=t;t=t+32|0;j=i+12|0;h=i;if(c|0){g=f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0;if((f[2231]|0)==(g|0)|(f[2227]|0)==(g|0)|(f[2223]|0)==(g|0)|(f[2235]|0)==(g|0)|(f[2157]|0)==(g|0)|(f[2219]|0)==(g|0)|(f[2185]|0)==(g|0)|(f[2257]|0)==(g|0)){t=i;return}}gt(j,a+16|0);f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;y=0;a=qa(318,80)|0;g=y;y=0;do if(g&1)a=Wa()|0;else{f[h>>2]=a;f[h+8>>2]=-2147483568;f[h+4>>2]=66;d=a;e=52699;g=d+66|0;do{b[d>>0]=b[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(g|0));b[a+66>>0]=0;y=0;Ia(142,c|0,j|0,h|0);c=y;y=0;if(c&1){a=Wa()|0;if((b[h+11>>0]|0)>=0)break;qta(f[h>>2]|0);break}if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);e=f[j>>2]|0;if(!e){t=i;return}g=j+4|0;a=f[g>>2]|0;if((a|0)==(e|0))a=e;else{do{d=a+-12|0;a=a+-52|0;if((b[d+11>>0]|0)<0)qta(f[d>>2]|0)}while((a|0)!=(e|0));a=f[j>>2]|0}f[g>>2]=e;qta(a);t=i;return}while(0);g=f[j>>2]|0;if(!g)ib(a|0);c=j+4|0;d=f[c>>2]|0;if((d|0)==(g|0))d=g;else{do{e=d+-12|0;d=d+-52|0;if((b[e+11>>0]|0)<0)qta(f[e>>2]|0)}while((d|0)!=(g|0));d=f[j>>2]|0}f[c>>2]=g;qta(d);ib(a|0)}function Fq(a){a=a|0;var c=0;a=Lu(a)|0;if(!a){c=0;return c|0}if((b[a>>0]|0)!=44){c=0;return c|0}a=Lu(a+1|0)|0;if(!a){c=0;return c|0}a=Ur(a)|0;if(!a){c=0;return c|0}a=Lu(a)|0;if(!a){c=0;return c|0}if((b[a>>0]|0)!=61){c=0;return c|0}c=Lu(a+1|0)|0;if(!c){c=0;return c|0}a=c+1|0;if((b[c>>0]|0)==36){if((b[a>>0]|0)==45)do a=a+1|0;while((b[a>>0]|0)==45);a=Oy(a)|0;if(a|0){a=My(a)|0;if(a|0){c=a;return c|0}}}c=En(c)|0;return c|0}function Gq(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;k=t;t=t+112|0;m=k+72|0;a=k+32|0;h=k+8|0;i=k;l=k+20|0;j=gN(120)|0;vO(a,41787,0,-1);y=0;Ga(459,h|0,c|0);g=y;y=0;do if(g&1)a=Wa()|0;else{TU(i,0);f[i>>2]=17008;y=0;g=m;e=g+40|0;do{f[g>>2]=f[a>>2];g=g+4|0;a=a+4|0}while((g|0)<(e|0));Ma(1,j|0,m|0,0,h|0,i|0,0,1);g=y;y=0;if(g&1){a=Wa()|0;JP(i);if((b[h+11>>0]|0)>=0)break;qta(f[h>>2]|0);break}JP(i);if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);TU(m,j);f[m>>2]=14408;y=0;Ia(79,l|0,c|0,51104);j=y;y=0;do if(j&1)a=Wa()|0;else{y=0;a=sa(994,d|0,l|0)|0;j=y;y=0;if(j&1){a=Wa()|0;if((b[l+11>>0]|0)>=0)break;qta(f[l>>2]|0);break}if((a|0)!=(m|0)){e=a+4|0;if(f[e>>2]|0)YP(a);j=m+4|0;f[e>>2]=f[j>>2];f[j>>2]=0}if((b[l+11>>0]|0)>=0){JP(m);t=k;return}qta(f[l>>2]|0);JP(m);t=k;return}while(0);JP(m);m=a;ib(m|0)}while(0);qta(j);m=a;ib(m|0)}function Hq(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;o=t;t=t+48|0;i=o+32|0;j=o+24|0;k=o+16|0;m=o+8|0;n=o;d=a+4|0;gu(d);f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;l=i+11|0;b[l>>0]=9;e=i;g=52561;h=e+9|0;do{b[e>>0]=b[g>>0]|0;e=e+1|0;g=g+1|0}while((e|0)<(h|0));b[i+9>>0]=0;y=0;Ia(140,d|0,i|0,c|0);h=y;y=0;if(h&1){d=Wa()|0;if((b[l>>0]|0)<0)qta(f[i>>2]|0);o=d;ib(o|0)}if((b[l>>0]|0)<0)qta(f[i>>2]|0);Jna(d);d=c+76|0;TU(j,f[d>>2]|0);f[j>>2]=20880;l=(f[j+4>>2]|0)==0;JP(j);do if(!l){TU(k,f[d>>2]|0);f[k>>2]=20880;l=f[k+4>>2]|0;y=0;Ga(f[(f[l>>2]|0)+44>>2]|0,l|0,a|0);l=y;y=0;if(!(l&1)){JP(k);break}o=Wa()|0;JP(k);ib(o|0)}while(0);d=c+68|0;TU(m,f[d>>2]|0);f[m>>2]=15024;l=(f[m+4>>2]|0)==0;JP(m);if(l){t=o;return}TU(n,f[d>>2]|0);f[n>>2]=15024;m=f[n+4>>2]|0;y=0;Ga(f[(f[m>>2]|0)+44>>2]|0
function uh(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;m=0;k=t;t=t+32|0;n=k+16|0;l=k+8|0;j=k;if(!a){n=0;t=k;return n|0}TU(n,f[a+68>>2]|0);f[n>>2]=15024;i=n+4|0;a=f[i>>2]|0;a:do if(!a)a=0;else{h=(f[a+72>>2]|0)-(f[a+68>>2]|0)|0;g=3?h>>3:h;if(!h)a=0;else{h=l+4|0;do if((c|0)==3){e=0;b:while(1){a=a+64|0;y=0;a=sa(f[(f[a>>2]|0)+16>>2]|0,a|0,e|0)|0;c=y;y=0;if(c&1){m=28;break}TU(l,f[a+4>>2]|0);f[l>>2]=14664;a=f[h>>2]|0;do if(!a)m=23;else{d=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;if((f[2171]|0)==(d|0)|(f[2185]|0)==(d|0))d=0;else{if((f[2219]|0)==(d|0))if(!(b[a+72>>0]|0)){m=26;break}else{d=0;break}if((f[2133]|0)==(d|0)){y=0;a=sa(1023,a|0,3)|0;c=y;y=0;if(c&1){m=31;break b}if(a){d=0;break}else{m=26;break}}if((f[2399]|0)==(d|0)){y=0;a=sa(1022,a|0,3)|0;c=y;y=0;if(c&1){m=30;break b}if(a){d=0;break}else{m=26;break}}if((f[2161]|0)==(d|0)){y=0;a=sa(1021,a|0,3)|0;c=y;y=0;if(c&1){m=29;break b}if(a)d=0;else m=26}else m=23}}while(0);if((m|0)==23){m=0;a=k9(a)|0;if(!a)m=26;else{TU(j,f[a+68>>2]|0);f[j>>2]=15024;y=0;a=sa(1020,j|0,3)|0;c=y;y=0;if(c&1){m=32;break}JP(j);if(a)d=0;else m=26}}if((m|0)==26){m=0;d=1}JP(l);a=e+1|0;if(!d){a=1;break a}if(a>>>0>=g>>>0){a=0;break a}e=a;a=f[i>>2]|0}if((m|0)==28){a=Wa()|0;m=39;break}else if((m|0)==29){a=Wa()|0;m=54;break}else if((m|0)==30){a=Wa()|0;m=49;break}else if((m|0)==31){a=Wa()|0;m=44;break}else if((m|0)==32){a=Wa()|0;m=59;break}}else{e=0;c:while(1){a=a+64|0;y=0;a=sa(f[(f[a>>2]|0)+16>>2]|0,a|0,e|0)|0;d=y;y=0;if(d&1){m=38;break}TU(l,f[a+4>>2]|0);f[l>>2]=14664;a=f[h>>2]|0;do if(!a)m=55;else{d=f[(f[(f[a>>2]|0)+-4>>2]|0)+4>>2]|0;if((f[2171]|0)==(d|0)|(f[2185]|0)==(d|0)|(f[2219]|0)==(d|0))d=0;else{if((f[2133]|0)==(d|0)){y=0;a=sa(1023,a|0,c|0)|0;d=y;y=0;if(d&1){m=43;break c}if(a){d=0;break}else{m=60;break}}if((f[2399]|0)==(d|0)){y=0;a=sa(1022,a|0,c|0)|0;d=y;y=0;if(d&1){m=48;break c}if(a){d=0;break}else{m=60;break}}if((f[2161]|0)==(d|0)){y=0;a=sa(1021,a|0,c|0)|0;d=y;y=0;if(d&1){m=53;break c}if(a)d=0;else m=60}else m=55}}while(0);if((m|0)==55){m=0;a=k9(a)|0;if(!a)m=60;else{TU(j,f[a+68>>2]|0);f[j>>2]=15024;y=0;a=sa(1020,j|0,c|0)|0;d=y;y=0;if(d&1){m=58;break}JP(j);if(a)d=0;else m=60}}if((m|0)==60){m=0;d=1}JP(l);a=e+1|0;if(!d){a=1;break a}if(a>>>0>=g>>>0){a=0;break a}e=a;a=f[i>>2]|0}if((m|0)==38){a=Wa()|0;m=39;break}else if((m|0)==43){a=Wa()|0;m=44;break}else if((m|0)==48){a=Wa()|0;m=49;break}else if((m|0)==53){a=Wa()|0;m=54;break}else if((m|0)==58){a=Wa()|0;m=59;break}}while(0);if((m|0)==39){m=a;JP(n);ib(m|0)}else if((m|0)!=44)if((m|0)!=49)if((m|0)!=54)if((m|0)==59)JP(j);JP(l);m=a;JP(n);ib(m|0)}}while(0);JP(n);n=a;t=k;return n|0}function vh(a,c,e,g,h,i){a=a|0;c=c|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,u=0,v=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0;B=0;A=t;t=t+304|0;s=A+300|0;C=A+288|0;D=A+276|0;u=A+272|0;x=A;z=A+268|0;v=A+264|0;w=NS(g)|0;r=JY(a,g,A+160|0)|0;pE(C,g,s);f[D>>2]=0;f[D+4>>2]=0;f[D+8>>2]=0;a=0;while(1){if((a|0)==3)break;f[D+(a<<2)>>2]=0;a=a+1|0}p=D+11|0;if((b[p>>0]|0)<0)a=(f[D+8>>2]&2147483647)+-1|0;else a=10;y=0;Ia(93,D|0,a|0,0);q=y;y=0;if(q&1)a=Wa()|0;else{g=(b[p>>0]|0)<0?f[D>>2]|0:D;f[u>>2]=g;f[z>>2]=x;f[v>>2]=0;m=D+4|0;n=D+8|0;k=f[c>>2]|0;j=k;a:while(1){if(!k){o=0;l=1;q=0}else{a=f[k+12>>2]|0;if((a|0)==(f[k+16>>2]|0)){y=0;a=qa(f[(f[k>>2]|0)+36>>2]|0,k|0)|0;q=y;y=0;if(q&1){B=29;break}}else a=Wqa(f[a>>2]|0)|0;if(jja(a,sta()|0)|0){f[c>>2]=0;o=0;l=1;q=0}else{o=j;l=0;q=k}}j=f[e>>2]|0;do if(!j)B=20;else{a=f[j+12>>2]|0;if((a|0)==(f[j+16>>2]|0)){y=0;a=qa(f[(f[j>>2]|0)+36>>2]|0,j|0)|0;k=y;y=0;if(k&1){B=29;break a}}else a=Wqa(f[a>>2]|0)|0;if(jja(a,sta()|0)|0){f[e>>2]=0;B=20;break}else if(l)break;else{B=41;break a}}while(0);if((B|0)==20){B=0;if(l){j=0;B=41;break}else j=0}k=b[p>>0]|0;k=k<<24>>24<0?f[m>>2]|0:k&255;if((f[u>>2]|0)==(g+k|0)){y=0;Ia(93,D|0,k<<1|0,0);l=y;y=0;if(l&1){B=31;break}if((b[p>>0]|0)<0)a=(f[n>>2]&2147483647)+-1|0;else a=10;y=0;Ia(93,D|0,a|0,0);l=y;y=0;if(l&1){B=31;break}g=(b[p>>0]|0)<0?f[D>>2]|0:D;f[u>>2]=g+k}l=q+12|0;a=f[l>>2]|0;k=q+16|0;if((a|0)==(f[k>>2]|0)){y=0;a=qa(f[(f[q>>2]|0)+36>>2]|0,q|0)|0;E=y;y=0;if(E&1){B=29;break}}else a=Wqa(f[a>>2]|0)|0;y=0;a=B
function ig(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.0,o=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,z=0,A=0,B=0;z=t;t=t+288|0;x=z+240|0;j=z+200|0;k=z+184|0;B=z+120|0;r=z+144|0;s=z+132|0;v=z+12|0;u=z+80|0;l=z+40|0;A=z+24|0;w=z;f[x>>2]=0;f[x+4>>2]=0;f[x+8>>2]=0;i=x+11|0;b[i>>0]=6;b[x>>0]=b[42063]|0;b[x+1>>0]=b[42064]|0;b[x+2>>0]=b[42065]|0;b[x+3>>0]=b[42066]|0;b[x+4>>0]=b[42067]|0;b[x+5>>0]=b[42068]|0;b[x+6>>0]=0;y=0;c=sa(994,a|0,x|0)|0;q=y;y=0;if(q&1){c=Wa()|0;if((b[i>>0]|0)<0)qta(f[x>>2]|0);B=c;ib(B|0)}c=S6(f[c+4>>2]|0)|0;if((b[i>>0]|0)<0)qta(f[x>>2]|0);if(c|0){i=gN(80)|0;m=j;o=g;q=m+40|0;do{f[m>>2]=f[o>>2];m=m+4|0;o=o+4|0}while((m|0)<(q|0));y=0;Ia(92,B|0,42187,c+64|0);A=y;y=0;if(A&1)c=Wa()|0;else{y=0;c=sa(993,B|0,52433)|0;A=y;y=0;do if(A&1)c=Wa()|0;else{f[k>>2]=f[c>>2];f[k+4>>2]=f[c+4>>2];f[k+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;y=0;m=x;o=j;q=m+40|0;do{f[m>>2]=f[o>>2];m=m+4|0;o=o+4|0}while((m|0)<(q|0));Na(1,i|0,x|0,k|0,0,0,0,1,1);A=y;y=0;if(A&1){c=Wa()|0;if((b[k+11>>0]|0)>=0)break;qta(f[k>>2]|0);break}if((b[k+11>>0]|0)<0)qta(f[k>>2]|0);if((b[B+11>>0]|0)<0)qta(f[B>>2]|0);B=i;t=z;return B|0}while(0);if((b[B+11>>0]|0)<0)qta(f[B>>2]|0)}qta(i);B=c;ib(B|0)}f[x>>2]=0;f[x+4>>2]=0;f[x+8>>2]=0;i=x+11|0;b[i>>0]=6;b[x>>0]=b[42063]|0;b[x+1>>0]=b[42064]|0;b[x+2>>0]=b[42065]|0;b[x+3>>0]=b[42066]|0;b[x+4>>0]=b[42067]|0;b[x+5>>0]=b[42068]|0;b[x+6>>0]=0;y=0;c=sa(994,a|0,x|0)|0;q=y;y=0;if(q&1){c=Wa()|0;if((b[i>>0]|0)<0)qta(f[x>>2]|0);B=c;ib(B|0)}c=f[c+4>>2]|0;if(!c)j=0;else j=(f[2081]|0)==(f[(f[(f[c>>2]|0)+-4>>2]|0)+4>>2]|0)?c:0;if((b[i>>0]|0)<0)qta(f[x>>2]|0);if(j|0){i=gN(80)|0;m=r;o=g;q=m+40|0;do{f[m>>2]=f[o>>2];m=m+4|0;o=o+4|0}while((m|0)<(q|0));c=f[(f[j>>2]|0)+28>>2]|0;y=0;m=x;o=f[d+16>>2]|0;q=m+12|0;do{b[m>>0]=b[o>>0]|0;m=m+1|0;o=o+1|0}while((m|0)<(q|0));Ia(c|0,v|0,j|0,x|0);A=y;y=0;if(A&1)c=Wa()|0;else{y=0;Ia(92,B|0,42194,v|0);A=y;y=0;if(A&1)c=Wa()|0;else{y=0;c=sa(993,B|0,52433)|0;A=y;y=0;do if(A&1)c=Wa()|0;else{f[s>>2]=f[c>>2];f[s+4>>2]=f[c+4>>2];f[s+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;y=0;m=x;o=r;q=m+40|0;do{f[m>>2]=f[o>>2];m=m+4|0;o=o+4|0}while((m|0)<(q|0));Na(1,i|0,x|0,s|0,0,0,0,1,1);A=y;y=0;if(A&1){c=Wa()|0;if((b[s+11>>0]|0)>=0)break;qta(f[s>>2]|0);break}if((b[s+11>>0]|0)<0)qta(f[s>>2]|0);if((b[B+11>>0]|0)<0)qta(f[B>>2]|0);if((b[v+11>>0]|0)<0)qta(f[v>>2]|0);B=i;t=z;return B|0}while(0);if((b[B+11>>0]|0)<0)qta(f[B>>2]|0)}if((b[v+11>>0]|0)<0)qta(f[v>>2]|0)}qta(i);B=c;ib(B|0)}r=gN(104)|0;m=u;o=g;q=m+40|0;do{f[m>>2]=f[o>>2];m=m+4|0;o=o+4|0}while((m|0)<(q|0));f[B>>2]=0;f[B+4>>2]=0;f[B+8>>2]=0;s=B+11|0;b[s>>0]=6;b[B>>0]=b[42063]|0;b[B+1>>0]=b[42064]|0;b[B+2>>0]=b[42065]|0;b[B+3>>0]=b[42066]|0;b[B+4>>0]=b[42067]|0;b[B+5>>0]=b[42068]|0;b[B+6>>0]=0;m=l;o=g;q=m+40|0;do{f[m>>2]=f[o>>2];m=m+4|0;o=o+4|0}while((m|0)<(q|0));y=0;Ga(510,A|0,h|0);g=y;y=0;if(g&1)c=Wa()|0;else{y=0;m=x;o=l;q=m+40|0;do{f[m>>2]=f[o>>2];m=m+4|0;o=o+4|0}while((m|0)<(q|0));c=wa(26,B|0,a|0,e|0,x|0,A|0)|0;g=y;y=0;do if(g&1){c=Wa()|0;i=J}else{n=+p[c+88>>3];j=w+11|0;f[w>>2]=0;f[w+4>>2]=0;f[w+8>>2]=0;y=0;m=x;o=u;q=m+40|0;do{f[m>>2]=f[o>>2];m=m+4|0;o=o+4|0}while((m|0)<(q|0));Ha(1,r|0,x|0,+n,w|0,1);x=y;y=0;if(x&1){c=Wa()|0;i=J;if((b[j>>0]|0)>=0)break;qta(f[w>>2]|0);break}if((b[j>>0]|0)<0)qta(f[w>>2]|0);j=f[A>>2]|0;if(j|0){k=A+4|0;c=f[k>>2]|0;if((c|0)==(j|0))c=j;else{do{i=c+-12|0;c=c+-52|0;if((b[i+11>>0]|0)<0)qta(f[i>>2]|0)}while((c|0)!=(j|0));c=f[A>>2]|0}f[k>>2]=j;qta(c)}if((b[s>>0]|0)<0)qta(f[B>>2]|0);B=r;t=z;return B|0}while(0);l=f[A>>2]|0;if(l){m=A+4|0;j=f[m>>2]|0;if((j|0)==(l|0))i=l;else{do{k=j+-12|0;j=j+-52|0;if((b[k+11>>0]|0)<0)qta(f[k>>2]|0)}while((j|0)!=(l|0));i=f[A>>2]|0}f[m>>2]=l;qta(i)}}if((b[s>>0]|0)<0)qta(f[B>>2]|0);qta(r);B=c;ib(B|0);return 0}function jg(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0;s=t;t=t+32|0;q=s;j=f[a>>2]|0;k=j;l=(f[c>>2]|0)-k|0;c=j+(((l|0)/48|0)*48|0)|0;o=f[d>>2]|0;h=f[e>>2]|0;r=h-o|0;m=(r|0)/48|0;if((r|0)<=0){r=c;t=s;return r|0}p=a+8|0;e=f[p>>2]|0;r=a+4|0;n=f[r>>2]|0;i=n;if((m|0)<=((e-i|0)/48|0|0)){k=i-c|0;e=(k|0)/48|0;do if((m|0)>(e|0)){
function xe(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,u=0,v=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=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;ca=0;U=t;t=t+352|0;_=U+304|0;pa=U+296|0;oa=U+288|0;ma=U+272|0;la=U+256|0;R=U+248|0;S=U+96|0;T=U+88|0;fa=U+104|0;V=U+56|0;da=U+76|0;$=U+64|0;W=U+40|0;p=U;TU(pa,c);f[pa>>2]=23300;q=pa+4|0;r=oa+4|0;s=a+4|0;na=ma+4|0;u=_+4|0;v=la+8|0;w=la+12|0;ka=la+8|0;ga=fa+64|0;x=fa+8|0;ha=fa+12|0;z=fa+4|0;A=fa+64|0;B=fa+136|0;C=fa+140|0;D=R+4|0;ia=fa+44|0;E=fa+60|0;F=S+4|0;X=_+11|0;G=T+4|0;H=_+8|0;I=_+4|0;ja=fa+8|0;K=V+4|0;Y=_+11|0;L=_+4|0;M=fa+11|0;N=fa+4|0;Z=_+11|0;O=_+4|0;aa=$+11|0;P=$+4|0;o=c+12|0;n=a+8|0;Q=W+11|0;ba=da+11|0;ea=ia+11|0;a:while(1){d=f[q>>2]|0;if(!d){d=0;ca=108;break}TU(oa,f[d+80>>2]|0);f[oa>>2]=23316;if(!(f[r>>2]|0))d=0;else{y=0;Ia(134,ma|0,f[s>>2]|0,oa|0);m=y;y=0;if(m&1){ca=15;break}d=f[ma>>2]|0;a=f[na>>2]|0;if((d|0)==(a|0)){e=d;c=d}else{m=d;do{TU(la,f[m+4>>2]|0);f[la>>2]=23300;TU(v,f[m+12>>2]|0);f[v>>2]=23316;d=f[(f[w>>2]|0)+64>>2]|0;b:do if(d|0){do if(f[(f[r>>2]|0)+64>>2]|0){TU(R,f[d+76>>2]|0);f[R>>2]=15328;if(!(f[D>>2]|0)){JP(R);break}TU(S,f[(f[(f[r>>2]|0)+64>>2]|0)+76>>2]|0);f[S>>2]=15328;l=(f[F>>2]|0)==0;JP(S);JP(R);if(!l){TU(T,f[(f[(f[w>>2]|0)+64>>2]|0)+76>>2]|0);f[T>>2]=15328;l=f[G>>2]|0;y=0;Ga(f[(f[l>>2]|0)+32>>2]|0,_|0,l|0);l=y;y=0;if(l&1){ca=38;break a}JP(T);TU(V,f[(f[(f[r>>2]|0)+64>>2]|0)+76>>2]|0);f[V>>2]=15328;l=f[K>>2]|0;y=0;Ga(f[(f[l>>2]|0)+32>>2]|0,fa|0,l|0);l=y;y=0;if(l&1){ca=39;break a}JP(V);d=b[Y>>0]|0;g=d<<24>>24<0;e=d&255;h=g?f[L>>2]|0:e;k=b[M>>0]|0;l=k<<24>>24<0;c:do if((h|0)==((l?f[N>>2]|0:k&255)|0)){k=f[_>>2]|0;i=g?k:_;c=l?f[fa>>2]|0:fa;j=(h|0)==0;k=k&255;d:do if(g){if(j)break;if(yN(i,c,h)|0){c=1;break c}}else{if(j)break;if((b[c>>0]|0)!=k<<24>>24){c=1;break c}g=_;while(1){e=e+-1|0;g=g+1|0;if(!e)break d;c=c+1|0;if((b[g>>0]|0)!=(b[c>>0]|0)){c=1;break c}}}while(0);c=0}else c=1;while(0);if(l){qta(f[fa>>2]|0);d=b[Y>>0]|0}if(d<<24>>24<0)qta(f[_>>2]|0);if(!c)break b}}while(0);f[x>>2]=24240;f[fa>>2]=10412;f[ga>>2]=10432;f[z>>2]=0;tN(A,ha);f[B>>2]=0;f[C>>2]=-1;f[fa>>2]=24220;f[ga>>2]=24260;f[x>>2]=24240;CQ(ha);f[ha>>2]=24080;f[ia>>2]=0;f[ia+4>>2]=0;f[ia+8>>2]=0;f[ia+12>>2]=0;f[E>>2]=24;y=0;Fa(434,da|0);l=y;y=0;if(l&1){ca=78;break a}e=f[w>>2]|0;h=f[e+12>>2]|0;e=f[e+24>>2]|0;f[_>>2]=0;f[_+4>>2]=0;f[_+8>>2]=0;g=kK(e)|0;if(g>>>0>4294967279){ca=44;break a}if(g>>>0<11){b[X>>0]=g;if(!g)d=_;else{d=_;ca=49}}else{c=g+16&-16;y=0;d=qa(318,c|0)|0;ca=y;y=0;if(ca&1){ca=79;break a}f[_>>2]=d;f[H>>2]=c|-2147483648;f[I>>2]=g;ca=49}if((ca|0)==49){ca=0;Yt(d|0,e|0,g|0)|0}b[d+g>>0]=0;y=0;Ja(18,$|0,_|0,da|0,da|0);l=y;y=0;if(l&1){ca=81;break a}if((b[X>>0]|0)<0)qta(f[_>>2]|0);y=0;ta(46,ja|0,52049,58)|0;l=y;y=0;if(l&1){ca=84;break a}y=0;ta(46,ja|0,52108,58)|0;l=y;y=0;if(l&1){ca=84;break a}y=0;d=ta(46,ja|0,52167,14)|0;l=y;y=0;if(l&1){ca=84;break a}l=f[w>>2]|0;y=0;Ga(f[(f[l>>2]|0)+32>>2]|0,_|0,l|0);l=y;y=0;if(l&1){ca=85;break a}l=b[Z>>0]|0;k=l<<24>>24<0;y=0;d=ta(46,d|0,(k?f[_>>2]|0:_)|0,(k?f[O>>2]|0:l&255)|0)|0;l=y;y=0;if(l&1){ca=86;break a}y=0;ta(46,d|0,55858,1)|0;l=y;y=0;if(l&1){ca=86;break a}if((b[Z>>0]|0)<0)qta(f[_>>2]|0);y=0;d=ta(46,ja|0,53737,9)|0;l=y;y=0;if(l&1){ca=84;break a}y=0;d=sa(995,d|0,h+1|0)|0;l=y;y=0;if(l&1){ca=84;break a}y=0;d=ta(46,d|0,56261,4)|0;l=y;y=0;if(l&1){ca=84;break a}l=b[aa>>0]|0;k=l<<24>>24<0;y=0;d=ta(46,d|0,(k?f[$>>2]|0:$)|0,(k?f[P>>2]|0:l&255)|0)|0;l=y;y=0;if(l&1){ca=84;break a}y=0;ta(46,d|0,54041,1)|0;l=y;y=0;if(l&1){ca=84;break a}y=0;Ga(525,W|0,ha|0);l=y;y=0;if(l&1){ca=84;break a}c=p;e=o;g=c+40|0;do{f[c>>2]=f[e>>2];c=c+4|0;e=e+4|0}while((c|0)<(g|0));d=f[(f[(f[n>>2]|0)+4>>2]|0)+8>>2]|0;y=0;c=_;e=p;g=c+40|0;do{f[c>>2]=f[e>>2];c=c+4|0;e=e+4|0}while((c|0)<(g|0));Ia(99,W|0,_|0,d|0);l=y;y=0;if(l&1){ca=89;break a}if((b[Q>>0]|0)<0)qta(f[W>>2]|0);if((b[aa>>0]|0)<0)qta(f[$>>2]|0);if((b[ba>>0]|0)<0)qta(f[da>>2]|0);f[fa>>2]=24220;f[ga>>2]=24260;f[ja>>2]=24240;f[ha>>2]=24080;if((b[ea>>0]|0)<0)qta(f[ia>>2]|0);fca
function jf(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,u=0,v=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0,P=0;N=t;t=t+368|0;G=N+40|0;P=N;k=N+360|0;l=N+352|0;p=N+344|0;q=N+328|0;O=N+336|0;d=N+280|0;F=N+272|0;E=N+264|0;s=N+256|0;u=N+248|0;H=N+320|0;v=N+208|0;w=N+192|0;x=N+184|0;z=N+176|0;A=N+168|0;B=N+160|0;C=N+152|0;D=N+144|0;I=N+104|0;K=N+96|0;L=N+88|0;M=N+80|0;o=gN(88)|0;n=a+24|0;m=a+28|0;e=f[m>>2]|0;if((e|0)==(f[n>>2]|0))e=f[a+12>>2]|0;else e=e+-4|0;i=P;g=(f[e>>2]|0)+12|0;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));Wea(o);i=o+12|0;g=P;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));f[o>>2]=14720;f[o+52>>2]=0;f[o+56>>2]=0;b[o+60>>0]=0;e=o+64|0;f[e>>2]=14680;i=o+68|0;j=o+72|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;y=0;Ga(556,i|0,0);r=y;y=0;if(r&1){g=Wa()|0;e=J;h=f[i>>2]|0;if(h|0){d=f[j>>2]|0;if((d|0)==(h|0))d=h;else{do{d=d+-8|0;Cc[f[f[d>>2]>>2]&511](d)}while((d|0)!=(h|0));d=f[i>>2]|0}f[j>>2]=h;qta(d)}qta(o);P=g;ib(P|0)}f[o>>2]=14524;f[e>>2]=14624;b[o+84>>0]=0;e=f[m>>2]|0;if((e|0)==(f[n>>2]|0))e=f[a+12>>2]|0;else e=e+-4|0;r=f[e>>2]|0;TU(P,k9(nc[f[(f[r>>2]|0)+12>>2]&511](r)|0)|0);f[P>>2]=26352;r=P+4|0;g=f[r>>2]|0;TU(l,o);f[l>>2]=15024;e=g+64|0;g=g+68|0;if(f[g>>2]|0)YP(e);f[g>>2]=f[l+4>>2];cX(e);TU(k,f[g>>2]|0);f[k>>2]=15024;JP(k);JP(l);g=f[r>>2]|0;e=f[m>>2]|0;if((e|0)==(f[n>>2]|0))e=f[a+12>>2]|0;else e=e+-4|0;f[g+56>>2]=f[(f[e>>2]|0)+56>>2];TU(p,f[g+68>>2]|0);f[p>>2]=15024;n=(f[p+4>>2]|0)+64|0;a=f[(f[n>>2]|0)+24>>2]|0;e=c+68|0;TU(q,f[e>>2]|0);f[q>>2]=15024;o=f[q+4>>2]|0;y=0;Ga(a|0,n|0,((o|0)==0?0:o+64|0)|0);o=y;y=0;if(o&1){d=Wa()|0;JP(q);JP(p)}else{JP(q);JP(p);y=0;l=qa(318,88)|0;q=y;y=0;do if(q&1)d=Wa()|0;else{TU(F,f[e>>2]|0);f[F>>2]=15024;if(!(f[F+4>>2]|0)){i=d;g=c+12|0;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));k=0}else{TU(E,f[e>>2]|0);f[E>>2]=15024;i=d;g=(f[E+4>>2]|0)+12|0;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));k=1}i=G;g=d;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));Wea(l);i=l+12|0;g=G;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));f[l>>2]=14720;f[l+52>>2]=0;f[l+56>>2]=0;b[l+60>>0]=0;d=l+64|0;f[d>>2]=14680;i=l+68|0;j=l+72|0;f[i>>2]=0;f[i+4>>2]=0;f[i+8>>2]=0;f[i+12>>2]=0;y=0;Ga(556,i|0,0);q=y;y=0;if(q&1){d=Wa()|0;g=J;h=f[i>>2]|0;if(h|0){e=f[j>>2]|0;if((e|0)==(h|0))e=h;else{do{e=e+-8|0;Cc[f[f[e>>2]>>2]&511](e)}while((e|0)!=(h|0));e=f[i>>2]|0}f[j>>2]=h;qta(e)}if(k){JP(E);JP(F)}else JP(F);qta(l);break}f[l>>2]=14524;f[d>>2]=14624;b[l+84>>0]=0;TU(O,l);f[O>>2]=15024;if(k)JP(E);JP(F);d=O+4|0;F=(f[d>>2]|0)+64|0;E=f[(f[F>>2]|0)+20>>2]|0;TU(u,f[r>>2]|0);f[u>>2]=26352;TU(s,f[u+4>>2]|0);f[s>>2]=14664;y=0;Ga(E|0,F|0,s|0);F=y;y=0;if(F&1){d=Wa()|0;JP(s);JP(u)}else{JP(s);JP(u);y=0;e=qa(318,100)|0;F=y;y=0;a:do if(F&1)d=Wa()|0;else{i=v;g=c+12|0;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));y=0;Ga(459,w|0,c+72|0);F=y;y=0;do if(F&1)d=Wa()|0;else{TU(x,f[c+88>>2]|0);f[x>>2]=14912;TU(z,f[d>>2]|0);f[z>>2]=15024;TU(A,0);f[A>>2]=15440;y=0;i=G;g=v;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));La(22,e|0,G|0,w|0,x|0,z|0,A|0);F=y;y=0;if(F&1){d=Wa()|0;JP(A);JP(z);JP(x);if((b[w+11>>0]|0)>=0)break;qta(f[w>>2]|0);break}TU(H,e);f[H>>2]=24872;JP(A);JP(z);JP(x);if((b[w+11>>0]|0)<0)qta(f[w>>2]|0);d=c+96|0;TU(B,f[d>>2]|0);f[B>>2]=15440;F=(f[B+4>>2]|0)==0;JP(B);if(!F){e=f[H+4>>2]|0;TU(D,f[d>>2]|0);f[D>>2]=15440;d=e+92|0;e=e+96|0;if(f[e>>2]|0)YP(d);f[e>>2]=f[D+4>>2];cX(d);TU(C,f[e>>2]|0);f[C>>2]=15440;JP(C);JP(D)}y=0;d=qa(318,76)|0;F=y;y=0;if(F&1){d=Wa()|0;JP(H);break a}else{e=f[H+4>>2]|0;i=I;g=e+12|0;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));TU(L,e);f[L>>2]=24872;TU(K,f[L+4>>2]|0);f[K>>2]=14664;TU(M,0);f[M>>2]=14664;i=G;g=I;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));Wea(d);i=d+12|0;g=G;h=i+40|0;do{f[i>>2]=f[g>>2];i=i+4|0;g=g+4|0}while((i|0)<(h|0));f[d+52>>2]=6;f[d+56>>2]=0;b[d+60>>0]=0;f[d>>2]=15040;I=d+64|0;TU(I,f[K+4>>2]|0);f[I>>2]=14664;b[d+72>>0]=(f[M+4>>2]|0)==0&1;JP(M);JP(K);JP(L);JP(H);JP(O);JP(P);
function hd(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,u=0,v=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=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;aa=0;W=t;t=t+640|0;X=W+56|0;Z=W+608|0;Y=W+600|0;U=W+576|0;B=W+16|0;m=W+620|0;ga=W+520|0;g=W+584|0;e=W+536|0;da=W+512|0;ea=W+504|0;fa=W+488|0;h=W+496|0;j=W+472|0;i=W+424|0;ba=W+464|0;k=W+392|0;ca=W+416|0;$=W+400|0;n=W+352|0;v=W+320|0;_=W+332|0;w=W+304|0;C=W+312|0;x=W+264|0;I=W;z=W+256|0;A=W+248|0;D=W+240|0;K=W+228|0;E=W+216|0;F=W+208|0;G=W+200|0;M=W+160|0;N=W+144|0;O=W+136|0;P=W+128|0;S=W+120|0;T=W+112|0;V=a+48|0;d=f[V>>2]|0;if(d>>>0>500){l=Ra(88)|0;y=0;Ga(510,m|0,f[a+8>>2]|0);ga=y;y=0;do if(ga&1)d=Wa()|0;else{y=0;Ia(131,l|0,m|0,c|0);ga=y;y=0;if(ga&1)i=1;else{y=0;Ia(77,l|0,11688,181);y=0;i=0}d=Wa()|0;h=J;j=f[m>>2]|0;if(!j){if(i)break;ib(d|0)}k=m+4|0;e=f[k>>2]|0;if((e|0)==(j|0))e=j;else{do{g=e+-12|0;e=e+-52|0;if((b[g+11>>0]|0)<0)qta(f[g>>2]|0)}while((e|0)!=(j|0));e=f[m>>2]|0}f[k>>2]=j;qta(e);if(!i){ga=d;ib(ga|0)}}while(0);$a(l|0);ga=d;ib(ga|0)}f[V>>2]=d+1;m=a+56|0;R=a+60|0;d=f[R>>2]|0;if((d|0)==(f[m>>2]|0))Q=0;else Q=f[d+-4>>2]|0;L=c+72|0;Xz(ga,L,50934);y=0;d=sa(1008,Q|0,ga|0)|0;H=y;y=0;a:do if(H&1)aa=24;else{do if(!d){y=0;Ia(92,g|0,50938,L|0);H=y;y=0;if(H&1){aa=24;break a}o=e;p=c+12|0;q=o+40|0;do{f[o>>2]=f[p>>2];o=o+4|0;p=p+4|0}while((o|0)<(q|0));d=f[a+8>>2]|0;y=0;o=X;p=e;q=o+40|0;do{f[o>>2]=f[p>>2];o=o+4|0;p=p+4|0}while((o|0)<(q|0));Ia(99,g|0,X|0,d|0);H=y;y=0;if(H&1){d=Wa()|0;if((b[g+11>>0]|0)>=0)break a;qta(f[g>>2]|0);break a}else{if((b[g+11>>0]|0)>=0)break;qta(f[g>>2]|0);break}}while(0);y=0;d=sa(994,Q|0,ga|0)|0;H=y;y=0;if(H&1)d=Wa()|0;else{d=f[d+4>>2]|0;if(!d)d=0;else d=(f[2247]|0)==(f[(f[(f[d>>2]|0)+-4>>2]|0)+4>>2]|0)?d:0;TU(da,d);f[da>>2]=18456;l=da+4|0;TU(ea,f[(f[l>>2]|0)+68>>2]|0);f[ea>>2]=15024;TU(fa,f[(f[l>>2]|0)+88>>2]|0);f[fa>>2]=17008;u=c+68|0;TU(h,f[u>>2]|0);f[h>>2]=15024;b:do if(!(f[h+4>>2]|0)){JP(h);aa=56}else{H=b[L+11>>0]|0;if(((H<<24>>24<0?f[c+76>>2]|0:H&255)|0)==8){y=0;d=wa(21,L|0,0,-1,54816,8)|0;H=y;y=0;if(H&1){H=Xa(0)|0;$na(H)}if(!d){JP(h);aa=56;break}}d=f[ea+4>>2]|0;y=0;d=qa(f[(f[d>>2]|0)+84>>2]|0,d|0)|0;H=y;y=0;if(H&1){d=Wa()|0;JP(h);break}JP(h);if(d)aa=56;else{y=0;Ia(92,Z|0,50954,L|0);H=y;y=0;if(H&1)d=Wa()|0;else{y=0;d=sa(993,Z|0,50962)|0;H=y;y=0;do if(H&1)d=Wa()|0;else{f[j>>2]=f[d>>2];f[j+4>>2]=f[d+4>>2];f[j+8>>2]=f[d+8>>2];f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;o=i;p=c+12|0;q=o+40|0;do{f[o>>2]=f[p>>2];o=o+4|0;p=p+4|0}while((o|0)<(q|0));d=f[a+8>>2]|0;y=0;o=X;p=i;q=o+40|0;do{f[o>>2]=f[p>>2];o=o+4|0;p=p+4|0}while((o|0)<(q|0));Ia(99,j|0,X|0,d|0);H=y;y=0;if(H&1){d=Wa()|0;if((b[j+11>>0]|0)>=0)break;qta(f[j>>2]|0);break}if((b[j+11>>0]|0)<0)qta(f[j>>2]|0);if((b[Z+11>>0]|0)<0)qta(f[Z>>2]|0);aa=56;break b}while(0);if((b[Z+11>>0]|0)<0)qta(f[Z>>2]|0)}}}while(0);if((aa|0)==56){TU(k,f[c+88>>2]|0);f[k>>2]=17120;d=f[k+4>>2]|0;r=a+12|0;y=0;d=sa(f[(f[d>>2]|0)+56>>2]|0,d|0,r|0)|0;H=y;y=0;if(H&1){d=Wa()|0;JP(k)}else{TU(ba,d);f[ba>>2]=15440;JP(k);d=f[ba+4>>2]|0;if(!d)d=0;else d=(f[2307]|0)==(f[(f[(f[d>>2]|0)+-4>>2]|0)+4>>2]|0)?d:0;TU(ca,d);f[ca>>2]=17120;y=0;Ia(92,X|0,50997,L|0);H=y;y=0;do if(H&1){d=Wa()|0;aa=108}else{y=0;d=sa(993,X|0,51010)|0;H=y;y=0;if(H&1){d=Wa()|0;if((b[X+11>>0]|0)>=0){aa=108;break}qta(f[X>>2]|0);aa=108;break}f[$>>2]=f[d>>2];f[$+4>>2]=f[d+4>>2];f[$+8>>2]=f[d+8>>2];f[d>>2]=0;f[d+4>>2]=0;f[d+8>>2]=0;if((b[X+11>>0]|0)<0)qta(f[X>>2]|0);H=a+8|0;g=f[H>>2]|0;s=c+12|0;o=n;p=s;q=o+40|0;do{f[o>>2]=f[p>>2];o=o+4|0;p=p+4|0}while((o|0)<(q|0));y=0;Ga(459,v|0,$|0);q=y;y=0;c:do if(q&1){d=Wa()|0;aa=115}else{o=X;p=n;q=o+40|0;do{f[o>>2]=f[p>>2];o=o+4|0;p=p+4|0}while((o|0)<(q|0));h=X+40|0;y=0;Ga(459,h|0,v|0);q=y;y=0;d:do if(q&1)d=Wa()|0;else{d=g+4|0;e=f[d>>2]|0;do if(e>>>0<(f[g+8>>2]|0)>>>0){o=e;p=X;q=o+40|0;do{f[o>>2]=f[p>>2];o=o+4|0;p=p+4|0}while((o|0)<(q|0));q=e+40|0;f[q>>2]=f[h>>2];f[q+4>>2]=f[h+4>>2];f[q+8>>2]=f[h+8>>2];f[h>>2]=0;f[h+4>>2]=0;f[h+8>>2]=0;f[d>>2]=(f[d>>2]|0)+52}else{y=0;Ga(509,g|0,X|0);q=y;y=0;if(!(q&1))break;d=Wa()|0;if((b[h+11>>0]|0)>=0)break d;qta
function Wd(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.0,n=0.0,o=0.0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,K=0,L=0,M=0,N=0,O=0;H=0;K=t;t=t+400|0;E=K;O=K+324|0;N=K+312|0;u=K+352|0;v=K+336|0;L=K+300|0;C=K+288|0;D=K+276|0;F=K+264|0;G=K+208|0;A=K+184|0;B=K+128|0;w=K+104|0;x=K+52|0;i=K+224|0;M=K+196|0;j=K+144|0;I=K+116|0;s=K+64|0;z=K+40|0;f[E>>2]=0;f[E+4>>2]=0;f[E+8>>2]=0;k=E+11|0;b[k>>0]=4;f[E>>2]=1702193188;b[E+4>>0]=0;y=0;c=sa(994,a|0,E|0)|0;r=y;y=0;a:do if(r&1)H=59;else{c=S6(f[c+4>>2]|0)|0;y=0;c=qa(326,c|0)|0;r=y;y=0;if(r&1)H=59;else{b:do if(c)c=1;else{f[O>>2]=0;f[O+4>>2]=0;f[O+8>>2]=0;y=0;c=qa(318,16)|0;r=y;y=0;if(r&1)c=Wa()|0;else{f[O>>2]=c;f[O+8>>2]=-2147483632;f[O+4>>2]=11;l=c;q=42116;r=l+11|0;do{b[l>>0]=b[q>>0]|0;l=l+1|0;q=q+1|0}while((l|0)<(r|0));b[c+11>>0]=0;y=0;c=sa(994,a|0,O|0)|0;r=y;y=0;c:do if(r&1)H=61;else{c=S6(f[c+4>>2]|0)|0;y=0;c=qa(326,c|0)|0;r=y;y=0;if(r&1)H=61;else{do if(c)c=1;else{d=N+11|0;b[d>>0]=10;l=N;q=42128;r=l+10|0;do{b[l>>0]=b[q>>0]|0;l=l+1|0;q=q+1|0}while((l|0)<(r|0));b[N+10>>0]=0;y=0;c=sa(994,a|0,N|0)|0;r=y;y=0;if(!(r&1)){c=S6(f[c+4>>2]|0)|0;y=0;c=qa(326,c|0)|0;r=y;y=0;if(!(r&1)){if((b[d>>0]|0)<0)qta(f[N>>2]|0);break}}c=Wa()|0;if((b[d>>0]|0)<0)qta(f[N>>2]|0);break c}while(0);if((b[O+11>>0]|0)<0)qta(f[O>>2]|0);break b}}while(0);if((H|0)==61)c=Wa()|0;if((b[O+11>>0]|0)<0)qta(f[O>>2]|0)}break a}while(0);if((b[k>>0]|0)<0)qta(f[E>>2]|0);if(c){p=gN(80)|0;l=u;q=g;r=l+40|0;do{f[l>>2]=f[q>>2];l=l+4|0;q=q+4|0}while((l|0)<(r|0));f[G>>2]=0;f[G+4>>2]=0;f[G+8>>2]=0;k=G+11|0;b[k>>0]=4;f[G>>2]=1702193188;b[G+4>>0]=0;y=0;c=sa(994,a|0,G|0)|0;M=y;y=0;if(M&1)H=71;else{M=f[c+4>>2]|0;y=0;Ga(f[(f[M>>2]|0)+32>>2]|0,F|0,M|0);M=y;y=0;if(M&1)H=71;else{y=0;Ia(92,D|0,42139,F|0);M=y;y=0;if(M&1)c=Wa()|0;else{y=0;c=sa(993,D|0,52397)|0;M=y;y=0;if(M&1)c=Wa()|0;else{f[C>>2]=f[c>>2];f[C+4>>2]=f[c+4>>2];f[C+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;f[B>>2]=0;f[B+4>>2]=0;f[B+8>>2]=0;y=0;c=qa(318,16)|0;M=y;y=0;if(M&1)c=Wa()|0;else{f[B>>2]=c;f[B+8>>2]=-2147483632;f[B+4>>2]=11;l=c;q=42116;r=l+11|0;do{b[l>>0]=b[q>>0]|0;l=l+1|0;q=q+1|0}while((l|0)<(r|0));b[c+11>>0]=0;y=0;c=sa(994,a|0,B|0)|0;M=y;y=0;do if(M&1)H=75;else{M=f[c+4>>2]|0;y=0;Ga(f[(f[M>>2]|0)+32>>2]|0,A|0,M|0);M=y;y=0;if(M&1)H=75;else{j=A+11|0;c=b[j>>0]|0;M=c<<24>>24<0;y=0;c=ta(43,C|0,(M?f[A>>2]|0:A)|0,(M?f[A+4>>2]|0:c&255)|0)|0;M=y;y=0;do if(M&1)c=Wa()|0;else{f[L>>2]=f[c>>2];f[L+4>>2]=f[c+4>>2];f[L+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;y=0;c=sa(993,L|0,52397)|0;M=y;y=0;do if(M&1)c=Wa()|0;else{f[N>>2]=f[c>>2];f[N+4>>2]=f[c+4>>2];f[N+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;i=x+11|0;b[i>>0]=10;l=x;q=42128;r=l+10|0;do{b[l>>0]=b[q>>0]|0;l=l+1|0;q=q+1|0}while((l|0)<(r|0));b[x+10>>0]=0;y=0;c=sa(994,a|0,x|0)|0;M=y;y=0;do if(M&1)H=78;else{M=f[c+4>>2]|0;y=0;Ga(f[(f[M>>2]|0)+32>>2]|0,w|0,M|0);M=y;y=0;if(M&1){H=78;break}d=w+11|0;c=b[d>>0]|0;M=c<<24>>24<0;y=0;c=ta(43,N|0,(M?f[w>>2]|0:w)|0,(M?f[w+4>>2]|0:c&255)|0)|0;M=y;y=0;do if(M&1)c=Wa()|0;else{f[O>>2]=f[c>>2];f[O+4>>2]=f[c+4>>2];f[O+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;y=0;c=sa(993,O|0,52433)|0;M=y;y=0;do if(M&1)c=Wa()|0;else{f[v>>2]=f[c>>2];f[v+4>>2]=f[c+4>>2];f[v+8>>2]=f[c+8>>2];f[c>>2]=0;f[c+4>>2]=0;f[c+8>>2]=0;l=E;q=u;r=l+40|0;do{f[l>>2]=f[q>>2];l=l+4|0;q=q+4|0}while((l|0)<(r|0));Wea(p);l=p+12|0;q=E;r=l+40|0;do{f[l>>2]=f[q>>2];l=l+4|0;q=q+4|0}while((l|0)<(r|0));b[p+52>>0]=0;b[p+53>>0]=0;b[p+54>>0]=0;f[p+56>>2]=4;f[p>>2]=19412;b[p+60>>0]=0;b[p+61>>0]=0;y=0;Ia(100,p+64|0,v|0,1);M=y;y=0;if(M&1){c=Wa()|0;if((b[v+11>>0]|0)>=0)break;qta(f[v>>2]|0);break}f[p+76>>2]=0;if((b[v+11>>0]|0)<0)qta(f[v>>2]|0);if((b[O+11>>0]|0)<0)qta(f[O>>2]|0);if((b[d>>0]|0)<0)qta(f[w>>2]|0);if((b[i>>0]|0)<0)qta(f[x>>2]|0);if((b[N+11>>0]|0)<0)qta(f[N>>2]|0);if((b[L+11>>0]|0)<0)qta(f[L>>2]|0);if((b[j>>0]|0)<0)qta(f[A>>2]|0);if((b[B+11>>0]|0)<0)qta(f[B>>2]|0);if((b[C+11>>0]|0)<0)qta(f[C>>2]|0);if((b[D+11>>0]|0)<0)qta(f[D>>2]|0);if((b[F+11>>0]|0)<0)qta(f[F>>2]|0);if((b[k>>0]|0)<0)qta(f[G>>2]|0);O=p;t=K;return O|0}while(0);if((b[O+11>>0]|0)>=0)break;qta(f[O>>
function yd(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=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,sa=0;oa=0;ja=t;t=t+592|0;ma=ja+80|0;ka=ja+40|0;pa=ja;g=ja+544|0;n=ja+532|0;j=ja+520|0;m=ja+480|0;i=ja+472|0;ia=ja+288|0;T=ja+248|0;Z=ja+232|0;V=ja+224|0;W=ja+216|0;na=ja+200|0;X=ja+192|0;ca=ja+152|0;ha=ja+136|0;da=ja+128|0;ea=ja+120|0;ra=c+164|0;sa=f[ra>>2]|0;la=sa+1|0;f[ra>>2]=la;if(la>>>0>512){e=Ra(84)|0;k=g;l=c+108|0;o=k+40|0;do{f[k>>2]=f[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(o|0));y=0;Ga(510,n|0,c+148|0);pa=y;y=0;do if(pa&1)g=Wa()|0;else{y=0;Ga(459,j|0,86400);pa=y;y=0;if(pa&1){g=Wa()|0;h=J;i=1}else{y=0;k=ma;l=g;o=k+40|0;do{f[k>>2]=f[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(o|0));Ja(28,e|0,ma|0,n|0,j|0);pa=y;y=0;if(pa&1)i=1;else{y=0;Ia(77,e|0,11032,181);y=0;i=0}g=Wa()|0;h=J;if((b[j+11>>0]|0)<0)qta(f[j>>2]|0)}l=f[n>>2]|0;if(!l){if(i)break;f[ra>>2]=sa;ib(g|0)}m=n+4|0;j=f[m>>2]|0;if((j|0)==(l|0))h=l;else{do{k=j+-12|0;j=j+-52|0;if((b[k+11>>0]|0)<0)qta(f[k>>2]|0)}while((j|0)!=(l|0));h=f[n>>2]|0}f[m>>2]=l;qta(h);if(!i){pa=g;f[ra>>2]=sa;ib(pa|0)}}while(0);$a(e|0);pa=g;f[ra>>2]=sa;ib(pa|0)}y=0;ta(94,c|0,1,0)|0;la=y;y=0;if(la&1){pa=Wa()|0;f[ra>>2]=sa;ib(pa|0)}fa=c+76|0;g=f[fa>>2]|0;y=0;la=qa(318,88)|0;ga=y;y=0;if(ga&1){pa=Wa()|0;f[ra>>2]=sa;ib(pa|0)}ga=c+108|0;k=pa;l=ga;o=k+40|0;do{f[k>>2]=f[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(o|0));Wea(la);k=la+12|0;l=pa;o=k+40|0;do{f[k>>2]=f[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(o|0));b[la+52>>0]=0;b[la+53>>0]=0;b[la+54>>0]=0;h=la+56|0;f[la>>2]=19280;f[h>>2]=4;aa=la+60|0;f[aa>>2]=17404;k=la+64|0;l=la+68|0;f[k>>2]=0;f[k+4>>2]=0;f[k+8>>2]=0;f[k+12>>2]=0;y=0;Ga(514,k|0,0);ba=y;y=0;if(ba&1){i=Wa()|0;h=J;j=f[k>>2]|0;if(j|0){g=f[l>>2]|0;if((g|0)==(j|0))g=j;else{do{g=g+-8|0;Cc[f[f[g>>2]>>2]&511](g)}while((g|0)!=(j|0));g=f[k>>2]|0}f[l>>2]=j;qta(g)}qta(la);pa=i;f[ra>>2]=sa;ib(pa|0)}f[la>>2]=19108;f[aa>>2]=19240;b[la+80>>0]=1;f[la+84>>2]=0;f[h>>2]=4;y=0;h=qa(318,72)|0;ba=y;y=0;if(ba&1)g=Wa()|0;else{k=m;l=ga;o=k+40|0;do{f[k>>2]=f[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(o|0));TU(i,la);f[i>>2]=15648;k=ma;l=m;o=k+40|0;do{f[k>>2]=f[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(o|0));Wea(h);k=h+12|0;l=ma;o=k+40|0;do{f[k>>2]=f[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(o|0));f[h>>2]=21288;$=h+52|0;TU($,f[i+4>>2]|0);f[$>>2]=15648;b[h+60>>0]=1;f[h+64>>2]=0;f[h+68>>2]=0;TU(pa,h);f[pa>>2]=23940;JP(i);$=pa+4|0;h=f[$>>2]|0;b[h+60>>0]=(e^1)&1;f[h+64>>2]=f[c+68>>2];a:do if(g>>>0<d>>>0){e=d;Y=ka+11|0;I=ka+8|0;K=ka+4|0;S=ha+11|0;L=ma+11|0;n=ma+8|0;p=ma+4|0;G=ka+11|0;q=ka+7|0;r=c+40|0;s=c+148|0;u=ma+8|0;v=ma+4|0;w=ia+8|0;x=ia+4|0;P=ia+4|0;E=ia+11|0;z=c+80|0;M=ia+148|0;Q=ea+4|0;H=ma+11|0;N=ia+56|0;O=ia+152|0;U=ia+44|0;R=ia+60|0;F=Z+11|0;_=ia+48|0;A=ka+4|0;ba=na+4|0;B=ia+4|0;C=W+4|0;D=ka+8|0;b:while(1){j=0;h=g;c:while(1){i=b[h>>0]|0;if(!(i<<24>>24)){oa=170;break b}d:do if(j)j=0;else if(i<<24>>24==92)j=1;else{y=0;i=qa(334,h|0)|0;o=y;y=0;if(o&1){oa=71;break b}if(!i){i=b[39215]|0;if(!(i<<24>>24))break c;j=h;k=39215;while(1){if((b[j>>0]|0)!=i<<24>>24){j=0;break d}k=k+1|0;i=b[k>>0]|0;if(!(i<<24>>24))break c;else j=j+1|0}}else{j=0;h=i}}while(0);h=h+1|0;if(h>>>0>=d>>>0){oa=170;break b}}if(!h){oa=170;break}if(g>>>0<h>>>0){f[ma>>2]=0;f[ma+4>>2]=0;f[ma+8>>2]=0;k=h-g|0;if(k>>>0>4294967279){oa=47;break}if(k>>>0<11){b[L>>0]=k;j=ma}else{i=k+16&-16;y=0;j=qa(318,i|0)|0;o=y;y=0;if(o&1){oa=72;break}f[ma>>2]=j;f[u>>2]=i|-2147483648;f[v>>2]=k}if((g|0)==(h|0))g=j;else{i=j;while(1){b[i>>0]=b[g>>0]|0;g=g+1|0;if((g|0)==(h|0))break;else i=i+1|0}g=j+k|0}b[g>>0]=0;y=0;i=qa(318,80)|0;o=y;y=0;if(o&1){oa=74;break}k=T;l=ga;o=k+40|0;do{f[k>>2]=f[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(o|0));y=0;Ga(459,Z|0,ma|0);o=y;y=0;if(o&1){oa=75;break}k=ka;l=T;o=k+40|0;do{f[k>>2]=f[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(o|0));Wea(i);k=i+12|0;l=ka;o=k+40|0;do{f[k>>2]=f[l>>2];k=k+4|0;l=l+4|0}while((k|0)<(o|0));b[i+52>>0]=0;b[i+53>>0]=0;b[i+54>>0]=0;f[i+56>>2]=4;f[i>>2]=19412;b[i+60>>0]=0;b[i+61>>0]=0;y=
function Wc(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,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;fa=0;Y=t;t=t+576|0;ga=Y+492|0;na=Y+456|0;i=Y+480|0;h=Y+468|0;ma=Y+444|0;la=Y+432|0;ka=Y+408|0;l=Y+420|0;j=Y+384|0;ja=Y+396|0;m=Y+336|0;k=Y+324|0;ha=Y+348|0;v=Y+312|0;s=Y+300|0;p=Y+288|0;q=Y+276|0;n=Y+228|0;r=Y+216|0;o=Y+204|0;x=Y+192|0;w=Y+180|0;u=Y+168|0;Q=Y+156|0;M=Y+144|0;ea=Y+240|0;O=Y+132|0;N=Y+120|0;S=Y+108|0;R=Y+96|0;P=Y+84|0;$=Y+72|0;Z=Y+60|0;aa=Y+48|0;_=Y+36|0;da=Y+24|0;ca=Y+12|0;ba=Y;EL(i,c);y=0;Ga(459,h|0,d|0);ia=y;y=0;do if(ia&1)g=Wa()|0;else{y=0;Ia(107,na|0,i|0,h|0);ia=y;y=0;if(ia&1){g=Wa()|0;if((b[h+11>>0]|0)>=0)break;qta(f[h>>2]|0);break}if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);if((b[i+11>>0]|0)<0)qta(f[i>>2]|0);h=UI(d,47,-1)|0;if((h|0)==-1){f[ma>>2]=0;f[ma+4>>2]=0;f[ma+8>>2]=0;fa=10}else{y=0;Ka(4,ma|0,d|0,0,h+1|0,d|0);ia=y;y=0;if(ia&1)g=Wa()|0;else fa=10}if((fa|0)==10){h=UI(d,47,-1)|0;if((h|0)==-1){y=0;Ga(459,la|0,d|0);ia=y;y=0;if(ia&1)fa=65;else fa=13}else{y=0;Ka(4,la|0,d|0,h+1|0,-1,d|0);ia=y;y=0;if(ia&1)fa=65;else fa=13}if((fa|0)==13){f[a>>2]=0;U=a+4|0;f[U>>2]=0;V=a+8|0;f[V>>2]=0;y=0;Ga(459,l|0,ma|0);ia=y;y=0;a:do if(ia&1)g=Wa()|0;else{y=0;Ga(459,j|0,la|0);ia=y;y=0;do if(ia&1)g=Wa()|0;else{y=0;Ia(107,ka|0,l|0,j|0);ia=y;y=0;if(ia&1){g=Wa()|0;if((b[j+11>>0]|0)>=0)break;qta(f[j>>2]|0);break}if((b[j+11>>0]|0)<0)qta(f[j>>2]|0);if((b[l+11>>0]|0)<0)qta(f[l>>2]|0);y=0;Ga(459,m|0,c|0);ia=y;y=0;b:do if(ia&1)g=Wa()|0;else{y=0;Ga(459,k|0,ka|0);ia=y;y=0;do if(ia&1)g=Wa()|0;else{y=0;Ia(107,ja|0,m|0,k|0);ia=y;y=0;if(ia&1){g=Wa()|0;if((b[k+11>>0]|0)>=0)break;qta(f[k>>2]|0);break}if((b[k+11>>0]|0)<0)qta(f[k>>2]|0);if((b[m+11>>0]|0)<0)qta(f[m>>2]|0);ia=ja+11|0;c:do if(!(gT((b[ia>>0]|0)<0?f[ja>>2]|0:ja,ga)|0)){if((f[ga+12>>2]&61440|0)==16384){fa=104;break}y=0;Ga(459,v|0,ka|0);T=y;y=0;do if(T&1)g=Wa()|0;else{y=0;Ga(459,s|0,c|0);T=y;y=0;do if(T&1)g=Wa()|0;else{y=0;Ia(95,ha|0,v|0,s|0);T=y;y=0;do if(T&1)g=Wa()|0;else{y=0;Ga(459,p|0,ja|0);T=y;y=0;do if(T&1)g=Wa()|0;else{y=0;Ia(96,ga|0,ha|0,p|0);T=y;y=0;d:do if(T&1)g=Wa()|0;else{h=f[U>>2]|0;do if(h>>>0<(f[V>>2]|0)>>>0){f[h>>2]=f[ga>>2];f[h+4>>2]=f[ga+4>>2];f[h+8>>2]=f[ga+8>>2];f[ga>>2]=0;f[ga+4>>2]=0;f[ga+8>>2]=0;T=h+12|0;fa=ga+12|0;f[T>>2]=f[fa>>2];f[T+4>>2]=f[fa+4>>2];f[T+8>>2]=f[fa+8>>2];f[fa>>2]=0;f[fa+4>>2]=0;f[fa+8>>2]=0;fa=h+24|0;T=ga+24|0;f[fa>>2]=f[T>>2];f[fa+4>>2]=f[T+4>>2];f[fa+8>>2]=f[T+8>>2];f[T>>2]=0;f[T+4>>2]=0;f[T+8>>2]=0;T=h+36|0;fa=ga+36|0;f[T>>2]=f[fa>>2];f[T+4>>2]=f[fa+4>>2];f[T+8>>2]=f[fa+8>>2];f[fa>>2]=0;f[fa+4>>2]=0;f[fa+8>>2]=0;f[U>>2]=(f[U>>2]|0)+48}else{y=0;Ga(558,a|0,ga|0);T=y;y=0;if(!(T&1)){if((b[ga+36+11>>0]|0)>=0)break;qta(f[ga+36>>2]|0);break}g=Wa()|0;h=ga+36|0;if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);h=ga+24|0;if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);h=ga+12|0;if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);if((b[ga+11>>0]|0)>=0)break d;qta(f[ga>>2]|0);break d}while(0);h=ga+24|0;if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);h=ga+12|0;if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);if((b[ga+11>>0]|0)<0)qta(f[ga>>2]|0);if((b[p+11>>0]|0)<0)qta(f[p>>2]|0);h=ha+24|0;if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);h=ha+12|0;if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);if((b[ha+11>>0]|0)<0)qta(f[ha>>2]|0);if((b[s+11>>0]|0)<0)qta(f[s>>2]|0);if((b[v+11>>0]|0)<0)qta(f[v>>2]|0);fa=104;break c}while(0);if((b[p+11>>0]|0)>=0)break;qta(f[p>>2]|0)}while(0);h=ha+24|0;if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);h=ha+12|0;if((b[h+11>>0]|0)<0)qta(f[h>>2]|0);if((b[ha+11>>0]|0)>=0)break;qta(f[ha>>2]|0)}while(0);if((b[s+11>>0]|0)>=0)break;qta(f[s>>2]|0)}while(0);if((b[v+11>>0]|0)>=0)break;qta(f[v>>2]|0)}while(0)}else fa=104;while(0);e:do if((fa|0)==104){y=0;Ga(459,q|0,ma|0);fa=y;y=0;do if(fa&1)g=Wa()|0;else{y=0;Ia(92,n|0,46277,la|0);fa=y;y=0;do if(fa&1)g=Wa()|0;else{y=0;Ia(107,ga|0,q|0,n|0);fa=y;y=0;if(fa&1){g=Wa()|0;if((b[n+11>>0]|0)>=0)break;qta(f[n>>2]|0);break}T=ka+11|0;if((b[T>>0]|0)<0){b[f[ka>>2]>>0]=0;f[ka+4>>2]=0}else{b[ka>>0]=0;b[T>>0]=0}y=0;Ga(50
function Rc(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,u=0,v=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=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,Ta=0,Ua=0,Va=0,Ya=0,Za=0,_a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,jb=0,kb=0,lb=0,mb=0,nb=0,ob=0,pb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0;kb=0;mb=t;t=t+1264|0;lb=mb+88|0;db=mb+48|0;sb=mb+8|0;vb=mb+976|0;wb=mb+960|0;ub=mb+880|0;j=mb+1256|0;k=mb+1248|0;l=mb+1240|0;o=mb+1232|0;m=mb+1224|0;n=mb+1216|0;s=mb+1204|0;v=mb+1192|0;w=mb+1180|0;p=mb+1168|0;q=mb+1156|0;r=mb+1144|0;E=mb+1132|0;K=mb+1120|0;M=mb+1108|0;z=mb+1096|0;C=mb+1084|0;D=mb+1072|0;tb=mb+816|0;N=mb+1064|0;S=mb+1024|0;T=mb+1016|0;U=mb+1008|0;W=mb+1e3|0;X=mb+992|0;ea=mb+984|0;fa=mb+968|0;O=mb+952|0;Y=mb+912|0;Z=mb+904|0;_=mb+896|0;aa=mb+888|0;ba=mb+872|0;da=mb+864|0;ga=mb+856|0;P=mb+848|0;nb=mb+728|0;Q=mb+840|0;ob=mb+680|0;R=mb+832|0;pb=mb+664|0;V=mb+824|0;qb=mb+648|0;$=mb+808|0;rb=mb+600|0;ca=mb+800|0;jb=mb+504|0;ab=mb+352|0;La=mb+328|0;cb=mb+304|0;ha=mb+760|0;ia=mb+744|0;ja=mb+736|0;ka=mb+688|0;ra=mb+672|0;ua=mb+656|0;la=mb+608|0;va=mb+592|0;wa=mb+584|0;ma=mb+544|0;xa=mb+496|0;za=mb+488|0;na=mb+448|0;Aa=mb+440|0;Ba=mb+432|0;oa=mb+392|0;Ca=mb+344|0;Da=mb+320|0;pa=mb+264|0;Ha=mb+256|0;Ka=mb+248|0;Na=mb+232|0;Ya=mb+220|0;bb=mb+152|0;Pa=mb+208|0;Ua=mb+196|0;Qa=mb+184|0;Va=mb+172|0;Ma=mb;eb=mb+160|0;gb=mb+140|0;TU(vb,f[c+72>>2]|0);f[vb>>2]=15440;TU(wb,f[c+80>>2]|0);f[wb>>2]=15440;_a=f[c+60>>2]|0;a:do switch(_a|0){case 0:{g=vb+4|0;e=f[g>>2]|0;y=0;e=sa(f[(f[e>>2]|0)+56>>2]|0,e|0,a|0)|0;ub=y;y=0;if(ub&1){ub=Wa()|0;JP(wb);JP(vb);ib(ub|0)}TU(lb,e);f[lb>>2]=15440;if(f[g>>2]|0)YP(vb);e=lb+4|0;f[g>>2]=f[e>>2];f[e>>2]=0;JP(lb);e=f[g>>2]|0;y=0;e=qa(f[(f[e>>2]|0)+76>>2]|0,e|0)|0;ub=y;y=0;if(!(ub&1)){if(e){e=f[wb+4>>2]|0;y=0;e=sa(f[(f[e>>2]|0)+56>>2]|0,e|0,a|0)|0;ub=y;y=0;if(ub&1)break a;JP(wb);JP(vb);t=mb;return e|0}e=f[g>>2]|0;if(!e){ub=0;JP(wb);JP(vb);t=mb;return ub|0}b[e+8>>0]=1;ub=e;JP(wb);JP(vb);t=mb;return ub|0}break}case 1:{g=vb+4|0;e=f[g>>2]|0;y=0;e=sa(f[(f[e>>2]|0)+56>>2]|0,e|0,a|0)|0;ub=y;y=0;if(ub&1){ub=Wa()|0;JP(wb);JP(vb);ib(ub|0)}TU(lb,e);f[lb>>2]=15440;if(f[g>>2]|0)YP(vb);e=lb+4|0;f[g>>2]=f[e>>2];f[e>>2]=0;JP(lb);e=f[g>>2]|0;y=0;e=qa(f[(f[e>>2]|0)+76>>2]|0,e|0)|0;ub=y;y=0;if(!(ub&1)){if(!e){e=f[wb+4>>2]|0;y=0;e=sa(f[(f[e>>2]|0)+56>>2]|0,e|0,a|0)|0;ub=y;y=0;if(ub&1)break a;JP(wb);JP(vb);t=mb;return e|0}e=f[g>>2]|0;if(!e){ub=0;JP(wb);JP(vb);t=mb;return ub|0}b[e+8>>0]=1;ub=e;JP(wb);JP(vb);t=mb;return ub|0}break}default:{Oa=vb+4|0;e=f[Oa>>2]|0;b:do if(e|0){g=f[2347]|0;h=lb+4|0;while(1){if((g|0)!=(f[(f[(f[e>>2]|0)+-4>>2]|0)+4>>2]|0))break b;y=0;e=sa(f[(f[a>>2]|0)+152>>2]|0,a|0,e|0)|0;Ta=y;y=0;if(Ta&1)break;TU(lb,e);f[lb>>2]=15440;if(f[Oa>>2]|0)YP(vb);f[Oa>>2]=f[h>>2];f[h>>2]=0;JP(lb);e=f[Oa>>2]|0;if(!e)break b}ub=Wa()|0;JP(wb);JP(vb);ib(ub|0)}while(0);Ta=wb+4|0;e=f[Ta>>2]|0;c:do if(e|0){g=f[2347]|0;h=lb+4|0;while(1){if((g|0)!=(f[(f[(f[e>>2]|0)+-4>>2]|0)+4>>2]|0))break c;y=0;e=sa(f[(f[a>>2]|0)+152>>2]|0,a|0,e|0)|0;L=y;y=0;if(L&1)break;TU(lb,e);f[lb>>2]=15440;if(f[Ta>>2]|0)YP(wb);f[Ta>>2]=f[h>>2];f[h>>2]=0;JP(lb);e=f[Ta>>2]|0;if(!e)break c}ub=Wa()|0;JP(wb);JP(vb);ib(ub|0)}while(0);TU(ub,c);f[ub>>2]=25416;e=f[Oa>>2]|0;d:do if(!e)kb=47;else{g=f[2291]|0;h=a+16|0;i=lb+4|0;while(1){if((g|0)!=(f[(f[(f[e>>2]|0)+-4>>2]|0)+4>>2]|0)){kb=47;break d}if(!(b[h>>0]|0))if(b[e+52>>0]|0){kb=47;break d}y=0;e=sa(f[(f[a>>2]|0)+128>>2]|0,a|0,e|0)|0;L=y;y=0;if(L&1)break;TU(lb,e);f[lb>>2]=15440;if(f[Oa>>2]|0)YP(vb);f[Oa>>2]=f[i>>2];f[i>>2]=0;JP(lb);e=f[Oa>>2]|0;if(!e){kb=47;break d}}e=Wa()|0}while(0);e:do if((kb|0)==47){e=f[Ta>>2]|0;f:do if(!e){u=1;B=0;L=a+16|0}else{g=f[2291]|0;i=a+16|0;h=lb+4|0;while(1){if((g|0)!=(f[(f[(f[e>>2]|0)+-4>>2]|0)+4>>2]|0)){u=0;B=e;L=i;break f}if(!(b[i>>0]|0))if(b[e+52>>0]|0){u=0;B=e;L=i;break f}y=0;e=sa(f[(f[a>>2]|0)+128>>2]|0,a|0,e|0)|0;L=y;y=0;if(L&1)break;TU(lb,e);f[lb>>2]=15440;if
function Pc(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,o=0,p=0,q=0,r=0,s=0,u=0,v=0,w=0,x=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,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,ya=0,za=0,Aa=0;xa=0;wa=t;t=t+832|0;ya=wa+804|0;ua=wa+776|0;ra=wa+748|0;Aa=wa+720|0;za=wa+680|0;pa=wa+632|0;ma=wa+584|0;F=wa+712|0;G=wa+664|0;B=wa+616|0;la=wa+556|0;C=wa+520|0;D=wa+504|0;E=wa+488|0;ka=wa+528|0;l=wa+480|0;m=wa+472|0;n=wa+456|0;p=wa+448|0;v=wa+408|0;I=wa+368|0;J=wa+360|0;O=wa+352|0;P=wa+344|0;Q=wa+336|0;R=wa+296|0;U=wa+288|0;V=wa+280|0;ja=wa+416|0;ia=wa+380|0;ha=wa+304|0;ga=wa+248|0;W=wa+240|0;X=wa+232|0;Y=wa+216|0;Z=wa+208|0;_=wa+200|0;$=wa+192|0;aa=wa+184|0;ba=wa+144|0;ca=wa+136|0;da=wa+128|0;fa=wa+152|0;ea=wa+104|0;o=wa+120|0;K=wa+112|0;L=wa+96|0;M=wa+88|0;N=wa+80|0;S=wa+72|0;T=wa+64|0;s=wa+56|0;u=wa+48|0;w=wa+32|0;x=wa+24|0;z=wa+16|0;A=wa;Ty(Aa);y=0;Fa(431,za|0);va=y;y=0;if(va&1)g=Wa()|0;else{y=0;Ga(660,c|0,Aa|0);va=y;y=0;a:do if(va&1)xa=18;else{y=0;Ga(660,d|0,za|0);va=y;y=0;if(va&1)xa=18;else{H=Aa+20|0;g=f[H>>2]|0;va=Aa+24|0;i=f[va>>2]|0;j=(i|0)==0;if(!j){oa=i+4|0;f[oa>>2]=(f[oa>>2]|0)+1}do if(!(f[g+20>>2]|0)){g=f[za+20>>2]|0;h=f[za+24>>2]|0;if(!h){g=(f[g+20>>2]|0)==0;break}na=h+4|0;f[na>>2]=(f[na>>2]|0)+1;g=(f[g+20>>2]|0)==0;oa=f[na>>2]|0;f[na>>2]=oa+-1;if(!oa){Cc[f[(f[h>>2]|0)+8>>2]&511](h);pP(h)}}else g=0;while(0);if(!j){na=i+4|0;oa=f[na>>2]|0;f[na>>2]=oa+-1;if(!oa){Cc[f[(f[i>>2]|0)+8>>2]&511](i);pP(i)}}b:do if(g){f[a>>2]=f[e>>2];f[a+4>>2]=f[e+4>>2];f[a+8>>2]=f[e+8>>2];g=a+12|0;TU(g,f[e+16>>2]|0);f[g>>2]=23300;f[a+20>>2]=f[e+20>>2];g=f[e+24>>2]|0;f[a+24>>2]=g;if(g|0){ya=g+4|0;f[ya>>2]=(f[ya>>2]|0)+1}}else{g=f[H>>2]|0;i=f[va>>2]|0;j=(i|0)==0;if(!j){oa=i+4|0;f[oa>>2]=(f[oa>>2]|0)+1}do if((f[g+20>>2]|0)>>>0>1)g=1;else{g=f[za+20>>2]|0;h=f[za+24>>2]|0;if(!h){g=(f[g+20>>2]|0)>>>0>1;break}na=h+4|0;f[na>>2]=(f[na>>2]|0)+1;g=(f[g+20>>2]|0)>>>0>1;oa=f[na>>2]|0;f[na>>2]=oa+-1;if(!oa){Cc[f[(f[h>>2]|0)+8>>2]&511](h);pP(h)}}while(0);if(!j){na=i+4|0;oa=f[na>>2]|0;f[na>>2]=oa+-1;if(!oa){Cc[f[(f[i>>2]|0)+8>>2]&511](i);pP(i)}}if(g){y=0;Ja(49,ma|0,Aa|0,za|0,pa|0);d=y;y=0;if(d&1)g=Wa()|0;else{y=0;g=sa(1050,ma|0,Aa|0)|0;d=y;y=0;c:do if(d&1)xa=37;else{do if(g)xa=38;else{y=0;g=sa(1050,ma|0,za|0)|0;d=y;y=0;if(d&1){xa=37;break c}if(g){xa=38;break}y=0;Fa(441,a|0);ya=y;y=0;if(ya&1){xa=37;break c}}while(0);do if((xa|0)==38){g=f[H>>2]|0;j=f[va>>2]|0;k=(j|0)==0;if(!k){d=j+4|0;f[d>>2]=(f[d>>2]|0)+1}g=f[g+20>>2]|0;m=za+20|0;h=f[m>>2]|0;n=za+24|0;i=f[n>>2]|0;do if(!i)g=g>>>0>(f[h+20>>2]|0)>>>0;else{c=i+4|0;f[c>>2]=(f[c>>2]|0)+1;g=g>>>0>(f[h+20>>2]|0)>>>0;d=f[c>>2]|0;f[c>>2]=d+-1;if(d|0)break;Cc[f[(f[i>>2]|0)+8>>2]&511](i);pP(i)}while(0);do if(!k){c=j+4|0;d=f[c>>2]|0;f[c>>2]=d+-1;if(d|0)break;Cc[f[(f[j>>2]|0)+8>>2]&511](j);pP(j)}while(0);r=e+20|0;h=f[r>>2]|0;s=e+24|0;u=f[s>>2]|0;v=(u|0)==0;do if(g){do if(v){g=h;i=0;q=1}else{i=u+4|0;f[i>>2]=(f[i>>2]|0)+1;i=f[s>>2]|0;g=f[r>>2]|0;if(!i){i=0;q=1;break}q=i+4|0;f[q>>2]=(f[q>>2]|0)+1;q=0}while(0);c=g;d=f[c+4>>2]|0;g=f[c+16>>2]|0;j=(g>>>0)/146|0;k=d+(j<<2)|0;if((f[c+8>>2]|0)==(d|0))g=0;else g=(f[k>>2]|0)+((g-(j*146|0)|0)*28|0)|0;f[F>>2]=k;f[F+4>>2]=g;g=f[H>>2]|0;o=f[va>>2]|0;p=(o|0)==0;if(!p){d=o+4|0;f[d>>2]=(f[d>>2]|0)+1}j=(f[g+16>>2]|0)+(f[g+20>>2]|0)|0;d=f[g+4>>2]|0;k=(j>>>0)/146|0;l=d+(k<<2)|0;if((f[g+8>>2]|0)==(d|0))g=0;else g=(f[l>>2]|0)+((j-(k*146|0)|0)*28|0)|0;m=l;f[G>>2]=m;f[G+4>>2]=g;f[G+8>>2]=m;f[G+12>>2]=g;g=f[H>>2]|0;m=f[va>>2]|0;n=(m|0)==0;if(!n){d=m+4|0;f[d>>2]=(f[d>>2]|0)+1}d=f[g+4>>2]|0;j=f[g+16>>2]|0;k=(j>>>0)/146|0;l=d+(k<<2)|0;if((f[g+8>>2]|0)==(d|0))g=0;else g=(f[l>>2]|0)+((j-(k*146|0)|0)*28|0)|0;d=l;f[B>>2]=d;f[B+4>>2]=g;f[B+8>>2]=d;f[B+12>>2]=g;y=0;f[ra>>2]=f[F>>2];f[ra+4>>2]=f[F+4>>2];f[ua>>2]=f[G>>2];f[ua+4>>2]=f[G+4>>2];f[ua+8>>2]=f[G+8>>2];f[ua+12>>2]=f[G+12>>2];f[ya>>2]=f[B>>2];f[ya+4>>2]=f[B+4>>2];f[ya+8>>2]=f[B+8>>2];f[ya+12>>2]=f[B+12>>2];La(27,la|0,h|0,ra|0,ua|0,ya|0,0);ya=y;y=0;if(ya&1){g=Wa()|0;do if(!n){wa=m+4|0;ya=f[wa>>2]
function XU(a,b,c){a=a|0;b=b|0;c=c|0;Fc[f[f[c>>2]>>2]&255](a,c,b);return}function YU(a){a=a|0;var b=0,c=0;b=wta()|0;f[a+56>>2]=f[b>>2];c=f[b>>2]|0;if(c|0)f[c+52>>2]=a;f[b>>2]=a;Dta();return a|0}function ZU(a){a=a|0;var c=0;f[a>>2]=14384;c=a+8|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0);Vea(a);qta(a);return}function _U(a,b){a=a|0;b=b|0;kO(a+52|0,b)|0;return}function $U(a,b,c){a=a|0;b=b|0;c=c|0;Fc[f[f[c>>2]>>2]&255](a,c,b);return}function aV(a){a=a|0;var c=0;f[a>>2]=14384;c=a+8|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0);Vea(a);qta(a);return}function bV(a){a=a|0;var c=0;f[a>>2]=14384;c=a+8|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0);Vea(a);qta(a);return}function cV(a,b){a=a|0;b=b|0;return hp(a,b,kK(b)|0)|0}function dV(a){a=a|0;var c=0;f[a>>2]=25432;c=a+88|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0);DF(a);qta(a);return}function eV(a,b){a=a|0;b=b|0;if(b<<24>>24>-1){b=(lga()|0)+(b<<24>>24<<2)|0;b=f[b>>2]&255}return b|0}function fV(a,c){a=a|0;c=c|0;f[a+4>>2]=0;f[a+8>>2]=0;f[a>>2]=a+4;f[a+12>>2]=0;b[a+16>>0]=0;return}function gV(a){a=a|0;f[a>>2]=15552;JP(a+80|0);JP(a+72|0);f[a>>2]=14928;JP(a+64|0);qta(a);return}function hV(a){a=a|0;var c=0;f[a>>2]=14384;c=a+8|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0);Vea(a);qta(a);return}function iV(a){a=a|0;var c=0;f[a>>2]=15136;c=a+76|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0);f[a>>2]=14928;JP(a+64|0);return}function jV(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return vc[a&63](b|0,c|0,d|0,e|0,f|0,g|0)|0}function kV(a){a=a|0;a=f[a+108>>2]|0;if(!a){a=0;return a|0}a=nc[f[(f[a>>2]|0)+116>>2]&511](a)|0;return a|0}function lV(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]=4;f[a>>2]=1953720684;b[a+4>>0]=0;return}function mV(a){a=a|0;var b=0,c=0;b=(ata()|0)+188|0;c=f[b>>2]|0;if(a|0)f[b>>2]=(a|0)==(-1|0)?87944:a;return ((c|0)==87944?-1:c)|0}function nV(a,b){a=a|0;b=b|0;if(b<<24>>24>-1){b=(kga()|0)+((b&255)<<2)|0;b=f[b>>2]&255}return b|0}function oV(a,b){a=a|0;b=b|0;EH(a+4|0,b+64|0,b);return}function pV(a,c){a=a|0;c=c|0;b[c+61>>0]=b[a+61>>0]|0;return dk(a,c)|0}function qV(a,b,c,d,e,f,g,h,i,j,k){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;aa(22);return 0}function rV(a,b){a=a|0;b=b|0;EH(a+4|0,b+60|0,b);return}function sV(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=t;t=t+16|0;e=d;f[e>>2]=c;c=Hja(a,b,e)|0;t=d;return c|0}function tV(a){a=a|0;var c=0;f[a>>2]=24648;c=a+84|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0);DF(a);return}function uV(a){a=a|0;if((b[a>>0]|0)!=37){a=0;return a|0}a=Py(a+1|0)|0;return a|0}function vV(a,b){a=a|0;b=b|0;EH(a+4|0,b+60|0,b);return}function wV(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=+g;return uc[a&3](b|0,c|0,d|0,e|0,f|0,+g)|0}function xV(a){a=a|0;a=nc[f[(f[a>>2]|0)+12>>2]&511](a)|0;Cc[f[(f[a>>2]|0)+36>>2]&511](a);return a|0}function yV(a){a=a|0;a=nc[f[(f[a>>2]|0)+12>>2]&511](a)|0;Cc[f[(f[a>>2]|0)+36>>2]&511](a);return a|0}function zV(a){a=a|0;var c=0;f[a>>2]=19412;c=a+64|0;if((b[c+11>>0]|0)>=0){qta(a);return}qta(f[c>>2]|0);qta(a);return}function AV(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;d=t;t=t+16|0;e=d;f[e>>2]=c;c=fN(a,b,e)|0;t=d;return c|0}function BV(a,c,d){a=a|0;c=c|0;d=d|0;if(!c)a=0;else a=mA(a,Vpa(b[d>>0]|0)|0,c)|0;return a|0}function CV(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]=4;f[a>>2]=1819242338;b[a+4>>0]=0;return}function DV(a){a=a|0;a=b[a>>0]|0;if(((a<<24>>24)+-48|0)>>>0<10)return 1;else{a=a<<24>>24|0;return (a|0)==45|(a|0)==43|0}return 0}function EV(a){a=a|0;var c=0;f[a>>2]=17860;c=a+68|0;if((b[c+11>>0]|0)<0)qta(f[c>>2]|0);JP(a+60|0);qta(a);return}function FV(a){a=a|0;f[a>>2]=16336;JP(a+80|0);JP(a+72|0);f[a>>2]=14928;JP(a+64|0);qta(a);return}function GV(a,b,c){a=a|0;b=b|0;c=c|0;var d=0;if(c|0){d=a;while(1){c=c+-1|0;f[d>>2]=b;if(!c)break;else d=d+4|0}}return a|0}function HV(a){a=a|0;a=nc[f[(f[a>>2]|0)+12>>2]&511](a)|0;Cc[f[(f[a>>2]|0)+36>>2]&511](a);return a|0}function IV(a){a=a|0;a=nc[f[(f[a>>2]|0)+12>>2]&511](a)|0;Cc[f[(f[a>>2]|0)+36>>2]&511](a);return a|0}function JV(a){a=a|0;a=nc[f[(f[a>>2]|0)+12>>2]&511](a)|0;Cc[f[(f[a>>2]|0)+36>>2]&511](a);return a|0}function KV(a){a=a|0;var c=0;f[a>>2]=19412;c=a+64|0;if((b[c+11>>0]|0)>=0){qta(a)
function Nc(a){a=a|0;var c=0,e=0,g=0,i=0,k=0,l=0.0;f[v>>2]=a;c=v+8|0;g=j[a+2>>1]|0;v=v+(g+1<<3)|0;if((bc|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 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=Y(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]=J;break;case 130:switch(i|0){case 0:{f[c+(g<<3)>>2]=y;continue}default:}break;case 132:switch(e>>8&255){case 0:{y=f[c+(k<<3)>>2]|0;continue}default:}break;case 134:k=h[(f[a+4>>2]|0)+1|0]|0;i=0;i
// EMSCRIPTEN_END_FUNCS
var dc=[Gsa,Qqa,Nqa,Oqa,Pqa,_X,Gsa,Gsa];var ec=[Cta,zi,ni,xO];var fc=[jsa,Je];var gc=[jqa,rF,uF,tF];var hc=[eia,sl,tl,Xm];var ic=[Uba,Sg];var jc=[Uta,iY,zY,BY,yca,rfa,iP,RS];var kc=[Hta,sL,SU,Hta];var lc=[Sga,Go];var mc=[ysa,eQ];var nc=[yta,ul,wR,qX,Isa,Lra,msa,nma,nla,Tka,Dsa,WY,pqa,Msa,JD,FX,Sra,vsa,kG,UH,Ina,vR,iX,sA,oS,KH,sX,Hsa,DR,BX,iR,EW,pu,lsa,oR,YW,ZA,cR,uW,jR,HW,wU,nR,QW,BR,rX,MF,FW,ZH,hX,cI,CX,dI,DX,aH,kX,asa,JR,UX,TM,FR,QX,ER,IX,CR,AX,_H,pX,TH,XW,kR,PW,mR,OW,hL,jX,pq,VA,HX,CY,uy,ioa,RH,ur,jE,PX,tha,wy,TQ,VV,nS,QC,PC,gE,LF,_V,hs,qR,bX,UB,ZW,XH,XF,aX,Yra,Op,aR,vW,JQ,JV,Sy,eF,$W,Up,ZB,EX,JX,zI,lX,ypa,Koa,aB,gC,rW,hG,fG,LA,Vy,RD,eW,WR,xD,sW,hR,DW,HH,EQ,yV,_Q,jW,_ra,SQ,SV,AH,TV,IQ,HV,uH,xV,dR,wW,eR,xW,dsa,Vsa,gL,GX,jta,psa,Osa,WF,WW,SE,NW,VH,uO,AI,fW,rA,dy,sra,Ep,dra,qqa,hra,Cqa,$N,hW,tra,era,Xia,NP,IV,Goa,sqa,OP,$V,tL,TP,kW,rpa,XP,GW,Opa,Ps,NQ,OV,Noa,QH,qL,gW,KY,QL,PH,oL,ZV,kV,mE,iE,_C,tz,UV,vH,SA,OA,vE,NC,MH,Nra,rra,ZE,UQ,aW,_w,zr,xr,LN,UD,$Q,tW,$G,UA,RA,nC,BD,LH,I1,p$,EB,jpa,Foa,xJ,$M,zra,Kra,Xra,fo,fm,Aqa,Npa,Bqa,Yqa,Mpa,GS,Gea,ipa,Eoa,Fea,WM,ora,lja,eE,fE,Via,vka,Wia,wka,Jha,IO,HO,JO,tM,sM,rM,uM,Iha,FO,EO,GO,pM,oM,nM,qM,$pa,_pa,zqa,Zpa,Ypa,yqa,Uoa,Toa,xqa,Soa,Roa,wqa,Xpa,lpa,Gpa,RM,ppa,oT,voa,uoa,qoa,doa,hqa,qpa,Lpa,Wpa,kpa,Fpa,vqa,Mqa,Csa,Bsa,dka,Esa,ssa,gN,dF,Fe,Jt,ZQ,Xg,XO,nE,xs,$u,KK,uX,Tn,Px,fH,tE,QB,RE,EE,kI,lm,nB,cG,mC,mI,QN,Ux,Pw,YF,Ql,DB,HM,_K,Wo,QG,SG,DE,kz,WG,jA,rr,Vc,yO,hN,Eh,Fn,Doa,_oa,Yna,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta,yta];var oc=[qsa,Ln];var pc=[esa,RK,t4,L3,y2,s4,V4,o6,IR,Raa,qg,Mg,xaa,I8,a8,U8,h9,C9,R5,e5,Q3,Q5,t6,t7,wP,zP,k4,F3,w2,j4,R4,m6,Z4,v4,c3,Y4,G5,P6,K5,$4,N3,J5,q6,q7,u1,R0,P$,t1,a2,t3,S2,o2,$0,R2,z3,L4,o0,J$,N_,n0,N0,Z1,z1,V0,R$,y1,c2,v3,h2,G1,v0,g2,L2,d4,X4,u4,b3,W4,F5,O6,w1,S0,Q$,v1,b2,u3,i4,E3,v2,h4,Q4,k6,M5,a5,O3,L5,r6,r7,O5,b5,P3,N5,s6,s7,o4,I3,x2,n4,S4,n6,y7,X6,_5,x7,Q7,v8,W6,A6,i5,V6,w7,b8,x6,W5,x4,w6,R6,O7,I5,_4,M3,H5,p6,p7,U4,q4,a3,T4,E5,N6,n2,K1,B0,m2,Q2,f4,F1,Y0,U$,E1,f2,y3,D1,X0,T$,C1,e2,x3,H3,_2,M1,G3,m4,C5,V5,g5,S3,U5,v6,v7,Aq,qP,uP,z6,Z5,y4,y6,U6,P7,Hp,SZ,yZ,eZ,RZ,b_,Y_,wl,f_,UZ,qZ,e_,z_,s$,ln,Z2,u2,d1,Y2,D3,P4,rq,q2,L1,C0,p2,T2,g4,Dqa,yP,BP,X2,t2,c1,W2,C3,O4,uB,L$,k$,u_,K$,p0,q1,im,aZ,PY,wY,$Y,nZ,JZ,V2,r2,a1,U2,A3,M4,yA,d5,w4,d3,c5,P5,Q6,QK,K3,$2,N1,J3,p4,D5,ZR,E$,h$,r_,D$,k0,n1,Ct,lz,v9,i9,J8,u9,D9,U9,D_,k_,zZ,C_,Z_,d0,Yq,G$,i$,s_,F$,l0,o1,Zq,Q0,t0,m$,P0,s1,J2,SO,ZO,GY,tY,fY,FY,MY,kZ,w$,b$,o_,v$,h0,g1,MZ,vZ,bZ,LZ,_Z,V_,_D,OZ,wZ,cZ,NZ,$Z,W_,oQ,YY,NY,uY,XY,lZ,HZ,fda,EY,sY,eY,DY,LY,jZ,Mca,N$,l$,v_,M$,q0,r1,s0,O$,O_,r0,O0,$1,T5,f5,R3,S5,u6,u7,Kha,l2,J1,A0,k2,P2,e4,B1,W0,S$,A1,d2,w3,xP,AP,F_,l_,AZ,E_,__,e0,gB,hB,b6,l5,U3,a6,G6,A7,IS,sR,dk,hda,pw,J_,n_,CZ,I_,a$,g0,_Y,OY,vY,ZY,mZ,IZ,h_,VZ,rZ,g_,A_,t$,Mh,oz,Jl,KA,Nx,ez,g$,M_,XZ,f$,C$,M0,pV,U0,u0,n$,T0,x1,K2,Js,uZ,oZ,QY,tZ,KZ,x_,nz,pj,Kx,ql,H_,m_,BZ,G_,$_,f0,Ar,Zy,Hr,Ox,Kn,gG,d_,TZ,pZ,c_,y_,r$,Yy,bl,Gs,Mx,qo,Cy,QZ,xZ,dZ,PZ,a_,X_,bB,cB,Nq,il,gP,kP,ID,j_,WZ,sZ,i_,B_,u$,dB,eB,Zl,cm,Fy,I$,j$,t_,H$,m0,p1,EM,xR,$H,bD,cl,eP,hP,xka,Ll,FE,Yp,gH,Wl,xga,FH,Nga,_ga,lha,zea,jfa,Rea,gga,Qea,mfa,hf,Zga,kfa,Xe,wi,Te,Eqa,Yj,Bd,Ed,$j,yI,Oga,fga,Ffa,Efa,Gf,Vf,wga,Rc,Ge,Uc,_l,Aea,$ea,Uj,aqa,iqa,Qpa,zf,yt,Hoa,Kda,Zp,Vu,Iq,Jw,mm,Oh,qn,rqa,oq,ega,Dfa,ej,fe,pg,vda,hea,Bea,lfa,Lda,sea,Qi,Kw,yl,el,g8,Ij,be,M8,W8,To,ef,aj,jk,p5,Kg,sf,Zk,Qe,w9,M9,N9,ys,hl,Ad,wd,ok,Hz,Wi,lj,yi,hd,m9,x9,e8,C2,h3,q5,G0,C4,c6,d8,L8,X8,w8,m5,n5,V3,O1,z2,A2,E0,x$,H6,y$,r5,l9,Y3,R7,c7,f8,S7,W3,F0,i3,D4,I6,P1,X3,g3,B2,j3,o5,k7,p8,H7,_7,l8,G2,F4,r3,L6,o3,I4,A5,Z7,G4,G7,m8,n8,J7,Z8,P8,E8,k8,X7,I7,K6,z5,y5,D8,O8,i7,L0,l1,p3,e$,H2,c4,h7,Y7,o8,K7
// EMSCRIPTEN_END_ASM
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var __GLOBAL__I_000101=Module["__GLOBAL__I_000101"]=asm["__GLOBAL__I_000101"];var __GLOBAL__I_000101_3060=Module["__GLOBAL__I_000101_3060"]=asm["__GLOBAL__I_000101_3060"];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_memory_resource_cpp=Module["__GLOBAL__sub_I_memory_resource_cpp"]=asm["__GLOBAL__sub_I_memory_resource_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["__GLO
/*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);
};
return Sass;
}));