wallet-core/lib/emscripten/taler-emscripten-lib.js

25 lines
1.3 MiB
JavaScript
Raw Normal View History

2016-10-14 02:13:06 +02:00
var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_IS_SHELL=false;if(Module["ENVIRONMENT"]){if(Module["ENVIRONMENT"]==="WEB"){ENVIRONMENT_IS_WEB=true}else if(Module["ENVIRONMENT"]==="WORKER"){ENVIRONMENT_IS_WORKER=true}else if(Module["ENVIRONMENT"]==="NODE"){ENVIRONMENT_IS_NODE=true}else if(Module["ENVIRONMENT"]==="SHELL"){ENVIRONMENT_IS_SHELL=true}else{throw new Error("The provided Module['ENVIRONMENT'] value is not valid. It must be one of: WEB|WORKER|NODE|SHELL.")}}else{ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER}if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=console.log;if(!Module["printErr"])Module["printErr"]=console.warn;var nodeFS;var nodePath;Module["read"]=function read(filename,binary){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);var 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};Module["load"]=function load(f){globalEval(read(f))};if(!Module["thisProgram"]){if(process["argv"].length>1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=read}else{Module["read"]=function read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}var 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}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function read(url){var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText};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)}else{onerror()}};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(ENVIRONMENT_IS_WORKER){Module["load"]=importScripts}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw"Unknown runtime environment. Where are we?"}function globalEval(x){abort("NO_DYNAMIC_EXECUTION=1 was set, cannot eval")}if(!Module["load"]&&Module["read"]){Module["load"]=function load(f){globalEval(Module["read"](f))}}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./thi
2016-04-05 14:52:59 +02:00
var asm=(function(global,env,buffer) {
2016-10-13 18:23:11 +02:00
"use asm";var a=new global.Int8Array(buffer);var b=new global.Int16Array(buffer);var c=new global.Int32Array(buffer);var d=new global.Uint8Array(buffer);var e=new global.Uint16Array(buffer);var f=new global.Uint32Array(buffer);var g=new global.Float32Array(buffer);var h=new global.Float64Array(buffer);var i=env.STACKTOP|0;var j=env.STACK_MAX|0;var k=env.DYNAMICTOP_PTR|0;var l=env.tempDoublePtr|0;var m=env.ABORT|0;var n=env.cttz_i8|0;var o=0;var p=0;var q=0;var r=0;var s=global.NaN,t=global.Infinity;var u=0,v=0,w=0,x=0,y=0.0,z=0,A=0,B=0,C=0.0;var D=0;var E=global.Math.floor;var F=global.Math.abs;var G=global.Math.sqrt;var H=global.Math.pow;var I=global.Math.cos;var J=global.Math.sin;var K=global.Math.tan;var L=global.Math.acos;var M=global.Math.asin;var N=global.Math.atan;var O=global.Math.atan2;var P=global.Math.exp;var Q=global.Math.log;var R=global.Math.ceil;var S=global.Math.imul;var T=global.Math.min;var U=global.Math.max;var V=global.Math.clz32;var W=env.abort;var X=env.assert;var Y=env.enlargeMemory;var Z=env.getTotalMemory;var _=env.abortOnCannotGrowMemory;var $=env.abortStackOverflow;var aa=env.nullFunc_iiii;var ba=env.nullFunc_viiiii;var ca=env.nullFunc_vi;var da=env.nullFunc_vii;var ea=env.nullFunc_ii;var fa=env.nullFunc_viii;var ga=env.nullFunc_v;var ha=env.nullFunc_iiiii;var ia=env.nullFunc_viiiiii;var ja=env.nullFunc_iii;var ka=env.nullFunc_viiii;var la=env.invoke_iiii;var ma=env.invoke_viiiii;var na=env.invoke_vi;var oa=env.invoke_vii;var pa=env.invoke_ii;var qa=env.invoke_viii;var ra=env.invoke_v;var sa=env.invoke_iiiii;var ta=env.invoke_viiiiii;var ua=env.invoke_iii;var va=env.invoke_viiii;var wa=env._pthread_cleanup_pop;var xa=env.___syscall221;var ya=env._pthread_mutex_init;var za=env.___syscall64;var Aa=env._abort;var Ba=env.___syscall202;var Ca=env._pthread_cleanup_push;var Da=env.___syscall20;var Ea=env._llvm_stackrestore;var Fa=env.___assert_fail;var Ga=env.___buildEnvironment;var Ha=env.__addDays;var Ia=env._localtime_r;var Ja=env._tzset;var Ka=env.___setErrNo;var La=env.___syscall192;var Ma=env.___syscall191;var Na=env.___syscall197;var Oa=env.___syscall195;var Pa=env.___syscall194;var Qa=env.___syscall199;var Ra=env._sysconf;var Sa=env._strftime;var Ta=env._clock;var Ua=env.__arraySum;var Va=env._emscripten_memcpy_big;var Wa=env.___syscall91;var Xa=env.___syscall75;var Ya=env._pthread_mutex_destroy;var Za=env._llvm_stacksave;var _a=env.___syscall77;var $a=env._getenv;var ab=env.___syscall33;var bb=env.___syscall54;var cb=env.___unlock;var db=env.__isLeapYear;var eb=env.___syscall3;var fb=env.___syscall340;var gb=env.___lock;var hb=env.___syscall6;var ib=env.___syscall5;var jb=env.___syscall4;var kb=env._time;var lb=env._gettimeofday;var mb=env.___syscall201;var nb=env._atexit;var ob=env.___syscall140;var pb=env._localtime;var qb=env.___syscall142;var rb=env.___syscall145;var sb=env.___syscall146;var tb=0.0;
// EMSCRIPTEN_START_FUNCS
2016-10-14 02:13:06 +02:00
function Fb(a){a=a|0;var b=0;b=i;i=i+a|0;i=i+15&-16;if((i|0)>=(j|0))$(a|0);return b|0}function Gb(){return i|0}function Hb(a){a=a|0;i=a}function Ib(a,b){a=a|0;b=b|0;i=a;j=b}function Jb(a,b){a=a|0;b=b|0;if(!o){o=a;p=b}}function Kb(a){a=a|0;D=a}function Lb(){return D|0}function Mb(a){a=a|0;var b=0;b=Ub(32,19158,38)|0;oc(a,b);return b|0}function Nb(a){a=a|0;var b=0;b=Ub(32,19158,55)|0;qc(a,b);return b|0}function Ob(a){a=a|0;var b=0;b=Ub(32,19158,71)|0;mc(a,b);return b|0}function Pb(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;e=d+8|0;f=Ub(e,19158,85)|0;Yw(f+8|0,c|0,d|0)|0;d=Iv(b)|0;b=f+4|0;a[b>>0]=d;a[b+1>>0]=d>>8;a[b+2>>0]=d>>16;a[b+3>>0]=d>>24;d=Iv(e)|0;a[f>>0]=d;a[f+1>>0]=d>>8;a[f+2>>0]=d>>16;a[f+3>>0]=d>>24;return f|0}function Qb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=i;i=i+32|0;if((i|0)>=(j|0))$(32);g=f;if((iu(e,g)|0)!=1){h=0;i=f;return h|0}e=g;c[e>>2]=a;c[e+4>>2]=b;c[g+8>>2]=d;d=Ub(24,19158,115)|0;c[d>>2]=c[g>>2];c[d+4>>2]=c[g+4>>2];c[d+8>>2]=c[g+8>>2];c[d+12>>2]=c[g+12>>2];c[d+16>>2]=c[g+16>>2];c[d+20>>2]=c[g+20>>2];h=d;i=f;return h|0}function Rb(a){a=a|0;var b=0;b=a;D=c[b+4>>2]|0;return c[b>>2]|0}function Sb(a){a=a|0;return c[a+8>>2]|0}function Tb(a){a=a|0;return a+12|0}function Ub(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;e=i;i=i+64|0;if((i|0)>=(j|0))$(64);f=e+24|0;g=e+8|0;h=e;k=e+56|0;l=e+52|0;m=e+48|0;n=e+44|0;o=e+40|0;p=e+36|0;q=e+32|0;c[k>>2]=a;c[l>>2]=b;c[m>>2]=d;if((c[k>>2]|0)>>>0>41943040){c[o>>2]=74;if((c[182]|0)==-1)c[182]=$b(1,0,19165,19185,c[o>>2]|0)|0;if((ac()|0)>0){bc(-1,0);_b()}if(!(c[182]|0))_b();o=c[m>>2]|0;c[h>>2]=c[l>>2];c[h+4>>2]=o;cc(1,61746,h);_b()}c[n>>2]=Vb(c[k>>2]|0,c[l>>2]|0,c[m>>2]|0)|0;if(c[n>>2]|0){i=e;return c[n>>2]|0}c[p>>2]=81;if((c[183]|0)==-1)c[183]=$b(1,21128,19165,19185,c[p>>2]|0)|0;if((ac()|0)<=0){if(c[183]|0){p=Nu(c[(xu()|0)>>2]|0)|0;c[g>>2]=19201;c[g+4>>2]=19165;c[g+8>>2]=81;c[g+12>>2]=p;hc(1,21128,20679,g)}}else bc(-1,0);c[q>>2]=82;if((c[184]|0)==-1)c[184]=$b(1,0,19165,19185,c[q>>2]|0)|0;if((ac()|0)>0){bc(-1,0);_b()}if(!(c[184]|0))_b();c[f>>2]=19165;c[f+4>>2]=82;cc(1,61746,f);_b();return 0}function Vb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0;e=i;i=i+32|0;if((i|0)>=(j|0))$(32);f=e+16|0;g=e+12|0;h=e;c[g>>2]=a;c[e+8>>2]=b;c[e+4>>2]=d;c[h>>2]=Kw(c[g>>2]|0)|0;if(!(c[h>>2]|0)){c[f>>2]=0;k=c[f>>2]|0;i=e;return k|0}else{Sw(c[h>>2]|0,0,c[g>>2]|0)|0;c[f>>2]=c[h>>2];k=c[f>>2]|0;i=e;return k|0}return 0}function Wb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;e=i;i=i+32|0;if((i|0)>=(j|0))$(32);f=e;g=e+20|0;h=e+16|0;k=e+12|0;l=e+8|0;c[g>>2]=a;c[h>>2]=b;c[k>>2]=d;if(c[g>>2]|0){Lw(c[g>>2]|0);i=e;return}c[l>>2]=311;if((c[185]|0)==-1)c[185]=$b(1,0,19165,19208,c[l>>2]|0)|0;if((ac()|0)>0){bc(-1,0);_b()}if(!(c[185]|0))_b();l=c[k>>2]|0;c[f>>2]=c[h>>2];c[f+4>>2]=l;cc(1,61746,f);_b()}function Xb(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;f=i;i=i+48|0;if((i|0)>=(j|0))$(48);g=f;h=f+44|0;k=f+40|0;l=f+36|0;m=f+32|0;n=f+16|0;o=f+8|0;c[h>>2]=a;c[k>>2]=b;c[l>>2]=d;c[n>>2]=e;c[m>>2]=Tu(c[h>>2]|0,c[k>>2]|0,c[l>>2]|0,n)|0;if((c[m>>2]|0)>>>0<(c[k>>2]|0)>>>0){i=f;return c[m>>2]|0}c[o>>2]=506;if((c[186]|0)==-1)c[186]=$b(1,0,19165,19222,c[o>>2]|0)|0;if((ac()|0)>0){bc(-1,0);_b()}if(!(c[186]|0))_b();c[g>>2]=19165;c[g+4>>2]=506;cc(1,61746,g);_b();return 0}function Yb(){c[17680]=c[3977];return}function Zb(){return}function _b(){Aa()}function $b(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;g=i;i=i+48|0;if((i|0)>=(j|0))$(48);h=g+32|0;k=g+28|0;l=g+24|0;m=g+20|0;n=g+16|0;o=g+12|0;p=g+8|0;q=g+4|0;r=g;c[k>>2]=a;c[l>>2]=b;c[m>>2]=d;c[n>>2]=e;c[o>>2]=f;if(!(c[l>>2]|0))c[l>>2]=c[17681];if((c[17682]|0)>=0&0==(c[17683]|0)){c[h>>2]=(c[k>>2]|0)<=(c[17682]|0)&1;s=c[h>>2]|0;i=g;return s|0}c[r>>2]=(c[17682]|0)>=0&1;c[q>>2]=0;while(1){if((c[q>>2]|0)>=(c[17684]|0))break;c[p>>2]=(c[17685]|0)+((c[q>>2]|0)*112|0);if(!(c[r>>2]|0?!(c[(c[p>>2]|0)+108>>2]|0):0))t=9;if((((((t|0)==9?(t=0,(c[o>>2]|0)>=(c[(c[p>>2]|0)+96>>2]|0)):0)?(c[o>>2]|0)<=(c[(c[p>>2]|0)+100>>2]|0):0)?0==(Gw(c[p>>2]|0,c[l>>2]|0,0,0,0)|0):0)?0==(Gw((c[p
function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=i;i=i+16|0;if((i|0)>=(j|0))$(16);e=d+4|0;f=d;c[e>>2]=a;c[f>>2]=b;Kp(c[c[e>>2]>>2]|0,c[c[f>>2]>>2]|0)|0;Kp(c[(c[e>>2]|0)+4>>2]|0,c[(c[f>>2]|0)+4>>2]|0)|0;Kp(c[(c[e>>2]|0)+8>>2]|0,c[(c[f>>2]|0)+8>>2]|0)|0;i=d;return}function $n(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;f=i;i=i+176|0;if((i|0)>=(j|0))$(176);g=f+168|0;h=f+164|0;k=f+160|0;l=f+156|0;m=f+152|0;n=f+148|0;o=f+144|0;p=f+140|0;q=f+136|0;r=f+132|0;s=f+128|0;t=f+124|0;u=f+112|0;v=f+100|0;w=f+88|0;x=f+84|0;y=f+80|0;z=f+68|0;A=f+64|0;B=f+60|0;C=f+48|0;D=f+36|0;E=f+32|0;F=f+28|0;G=f+24|0;H=f+20|0;I=f+16|0;J=f+12|0;K=f+8|0;L=f+4|0;M=f;c[g>>2]=a;c[h>>2]=b;c[k>>2]=d;c[l>>2]=e;if((c[c[l>>2]>>2]|0)==2){c[x>>2]=lo(c[h>>2]|0)|0;Op(c[c[g>>2]>>2]|0,0)|0;Op(c[
function fg(b,f,g,h){b=b|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;k=i;i=i+80|0;if((i|0)>=(j|0))$(80);l=k;m=k+48|0;n=k+44|0;o=k+40|0;p=k+36|0;q=k+32|0;r=k+28|0;s=k+24|0;t=k+52|0;u=k+56|0;v=k+20|0;w=k+16|0;x=k+12|0;y=k+8|0;z=k+4|0;c[n>>2]=b;c[o>>2]=f;c[p>>2]=g;c[q>>2]=h;c[v>>2]=0;c[x>>2]=0;c[r>>2]=c[n>>2]|0?c[n>>2]|0:22772;c[s>>2]=c[p>>2];a:while(1){if(!(d[c[r>>2]>>0]|0)){A=55;break}switch(d[c[r>>2]>>0]|0|0){case 3:{c[r>>2]=(c[r>>2]|0)+1;if((c[o>>2]|0)!=1){if(c[x>>2]|0)c[v>>2]=(c[v>>2]|0)+1;c[v>>2]=(c[v>>2]|0)+(c[x>>2]|0)}c[v>>2]=(c[v>>2]|0)+1;if(c[p>>2]|0){if((c[v>>2]|0)>>>0>=(c[q>>2]|0)>>>0){A=10;break a}b:do if((c[o>>2]|0)!=1){if(c[x>>2]|0){n=c[s>>2]|0;c[s>>2]=n+1;a[n>>0]=10}c[w>>2]=0;while(1){if((c[w>>2]|0)>=(c[x>>2]|0))break b;n=c[s>>2]|0;c[s>>2]=n+1;a[n>>0]=32;c[w>>2]=(c[w>>2]|0)+1}}while(0);n=c[s>>2]|0;c[s>>2]=n+1;a[n>>0]=40}c[x>>2]=(c[x>>2]|0)+1;continue a;break}case 4:{c[r>>2]=(c[r>>2]|0)+1;c[v>>2]=(c[v>>2]|0)+1;if(c[p>>2]|0){if((c[v>>2]|0)>>>0>=(c[q>>2]|0)>>>0){A=21;break a}n=c[s>>2]|0;c[s>>2]=n+1;a[n>>0]=41}c[x>>2]=(c[x>>2]|0)+-1;if((d[c[r>>2]>>0]|0|0)==3)continue a;if(!((c[o>>2]|0)!=1?(d[c[r>>2]>>0]|0|0)!=0:0))continue a;c[v>>2]=(c[v>>2]|0)+1;c[v>>2]=(c[v>>2]|0)+(c[x>>2]|0);if(!(c[p>>2]|0))continue a;if((c[v>>2]|0)>>>0>=(c[q>>2]|0)>>>0){A=27;break a}n=c[s>>2]|0;c[s>>2]=n+1;a[n>>0]=10;c[w>>2]=0;while(1){if((c[w>>2]|0)>=(c[x>>2]|0))continue a;n=c[s>>2]|0;c[s>>2]=n+1;a[n>>0]=32;c[w>>2]=(c[w>>2]|0)+1}break}case 1:{c[r>>2]=(c[r>>2]|0)+1;n=c[r>>2]|0;a[t>>0]=a[n>>0]|0;a[t+1>>0]=a[n+1>>0]|0;c[r>>2]=(c[r>>2]|0)+2;if((c[o>>2]|0)==3){n=gg(c[r>>2]|0,e[t>>1]|0)|0;c[y>>2]=n;switch(n|0){case 1:{c[z>>2]=hg(c[r>>2]|0,e[t>>1]|0,0)|0;break}case 2:{c[z>>2]=ig(c[r>>2]|0,e[t>>1]|0,0)|0;break}default:c[z>>2]=jg(c[r>>2]|0,e[t>>1]|0,0)|0}c[v>>2]=(c[v>>2]|0)+(c[z>>2]|0);if(c[p>>2]|0){if((c[v>>2]|0)>>>0>=(c[q>>2]|0)>>>0){A=38;break a}switch(c[y>>2]|0){case 1:{hg(c[r>>2]|0,e[t>>1]|0,c[s>>2]|0)|0;break}case 2:{ig(c[r>>2]|0,e[t>>1]|0,c[s>>2]|0)|0;break}default:jg(c[r>>2]|0,e[t>>1]|0,c[s>>2]|0)|0}c[s>>2]=(c[s>>2]|0)+(c[z>>2]|0)}if((d[(c[r>>2]|0)+(e[t>>1]|0)>>0]|0|0)!=4?(c[v>>2]=(c[v>>2]|0)+1,c[p>>2]|0):0){if((c[v>>2]|0)>>>0>=(c[q>>2]|0)>>>0){A=47;break a}n=c[s>>2]|0;c[s>>2]=n+1;a[n>>0]=32}}else{c[l>>2]=e[t>>1];Dv(u,22775,l)|0;n=hv(u)|0;c[v>>2]=(c[v>>2]|0)+(n+(e[t>>1]|0));if(c[p>>2]|0){if((c[v>>2]|0)>>>0>=(c[q>>2]|0)>>>0){A=51;break a}c[s>>2]=uv(c[s>>2]|0,u)|0;Yw(c[s>>2]|0,c[r>>2]|0,e[t>>1]|0|0)|0;c[s>>2]=(c[s>>2]|0)+(e[t>>1]|0)}}c[r>>2]=(c[r>>2]|0)+(e[t>>1]|0);continue a;break}default:{A=54;break a}}}if((A|0)==10){c[m>>2]=0;B=c[m>>2]|0;i=k;return B|0}else if((A|0)==21){c[m>>2]=0;B=c[m>>2]|0;i=k;return B|0}else if((A|0)==27){c[m>>2]=0;B=c[m>>2]|0;i=k;return B|0}else if((A|0)==38){c[m>>2]=0;B=c[m>>2]|0;i=k;return B|0}else if((A|0)==47){c[m>>2]=0;B=c[m>>2]|0;i=k;return B|0}else if((A|0)==51){c[m>>2]=0;B=c[m>>2]|0;i=k;return B|0}else if((A|0)==54)Re(22704,2008,22779);else if((A|0)==55){do if((c[o>>2]|0)!=1?(c[v>>2]=(c[v>>2]|0)+1,c[p>>2]|0):0){if((c[v>>2]|0)>>>0<(c[q>>2]|0)>>>0){A=c[s>>2]|0;c[s>>2]=A+1;a[A>>0]=10;break}c[m>>2]=0;B=c[m>>2]|0;i=k;return B|0}while(0);o=c[v>>2]|0;do if(c[p>>2]|0){if(o>>>0<(c[q>>2]|0)>>>0){A=c[s>>2]|0;c[s>>2]=A+1;a[A>>0]=0;break}c[m>>2]=0;B=c[m>>2]|0;i=k;return B|0}else c[v>>2]=o+1;while(0);c[m>>2]=c[v>>2];B=c[m>>2]|0;i=k;return B|0}return 0}function gg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;f=i;i=i+32|0;if((i|0)>=(j|0))$(32);g=f+16|0;h=f+12|0;k=f+8|0;l=f+4|0;m=f;c[h>>2]=b;c[k>>2]=e;c[m>>2]=1;if(!(c[k>>2]|0)){c[g>>2]=1;n=c[g>>2]|0;i=f;return n|0}if(d[c[h>>2]>>0]&128|0){c[g>>2]=0;n=c[g>>2]|0;i=f;return n|0}if(!(a[c[h>>2]>>0]|0)){c[g>>2]=0;n=c[g>>2]|0;i=f;return n|0}c[l>>2]=c[h>>2];while(1){if(!(c[k>>2]|0))break;if((d[c[l>>2]>>0]|0)>=32){if((d[c[l>>2]>>0]|0)>=127?(d[c[l>>2]>>0]|0)<=160:0)o=12}else o=12;if((o|0)==12?(o=0,(Vv(22802,d[c[l>>2]>>0]|0)|0)==0):0){o=13;break}do if(c[m>>2]|0){if((d[c[l>>2]>>0]|0)>=65?(d[c[l>>2]>>0]|0)<=90:0)break;if((d[c[l>>2]>>0]|0)>=97?(d[c[l>>2]>>0]|0)<=122:0)break;if((d[c[l>>2]>>0]|0)>=48?(d[c[l>>2]>>0]|0)<=57:0)break;if(!
function gq(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;k=i;i=i+64|0;if((i|0)>=(j|0))$(64);l=k+56|0;m=k+52|0;n=k+48|0;o=k+44|0;p=k+40|0;q=k+36|0;r=k+32|0;s=k+28|0;t=k+24|0;u=k+20|0;v=k+16|0;w=k+12|0;x=k+8|0;y=k+4|0;z=k;A=k+60|0;c[m>>2]=b;c[n>>2]=e;c[o>>2]=f;c[p>>2]=g;c[q>>2]=h;c[u>>2]=c[(c[(c[m>>2]|0)+12>>2]|0)+20>>2];c[v>>2]=c[(c[(c[m>>2]|0)+12>>2]|0)+36>>2];c[w>>2]=((c[q>>2]|0)>>>0)/((c[u>>2]|0)>>>0)|0;if((c[o>>2]|0)>>>0<(c[(c[m>>2]|0)+52>>2]&8|0?c[u>>2]|0:c[q>>2]|0)>>>0){c[l>>2]=200;B=c[l>>2]|0;i=k;return B|0}do if(((c[q>>2]|0)>>>0)%((c[u>>2]|0)>>>0)|0|0){if((c[q>>2]|0)>>>0>(c[u>>2]|0)>>>0?c[(c[m>>2]|0)+52>>2]&4|0:0)break;c[l>>2]=139;B=c[l>>2]|0;i=k;return B|0}while(0);c[x>>2]=0;if((c[(c[m>>2]|0)+52>>2]&4|0?(c[q>>2]|0)>>>0>(c[u>>2]|0)>>>0:0)?(((c[q>>2]|0)>>>0)%((c[u>>2]|0)>>>0)|0|0)==0:0)c[w>>2]=(c[w>>2]|0)+-1;o=c[m>>2]|0;if(c[(c[m>>2]|0)+20+8>>2]|0){Cb[c[o+20+8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,R=0,S=0,T=0;e=i;i=i+160|0;if((i|0)>=(j|0))$(160);f=e+144|0;g=e+140|0;h=e+136|0;k=e+132|0;l=e+128|0;m=e+124|0;n=e+120|0;o=e+116|0;p=e+112|0;q=e+108|0;r=e+104|0;s=e+100|0;t=e+96|0;u=e+92|0;v=e+88|0;w=e+84|0;x=e+80|0;y=e+76|0;z=e+72|0;A=e+68|0;B=e+64|0;C=e+60|0;D=e+56|0;E=e+52|0;F=e+48|0;G=e+44|0;H=e+40|0;I=e+36|0;J=e+32|0;K=e+28|0;L=e+24|0;M=e+20|0;N=e+16|0;O=e+12|0;P=e+8|0;Q=e+4|0;R=e;c[g>>2]=a;c[h>>2]=b;c[k>>2]=d;c[l>>2]=0;c[r>>2]=0;c[s>>2]=0;c[c[h>>2]>>2]=0;c[m>>2]=Tf(c[g>>2]|0,37953,0)|0;if(!(c[m>>2]|0)){d=$f(c[g>>2]|0,0,0)|0;c[c[h>>2]>>2]=d;c[f>>2]=c[c[h>>2]>>2]|0?0:65;S=c[f>>2]|0;i=e;return S|0}c[t>>2]=Tf(c[m>>2]|0,47177,0)|0;if(c[t>>2]|0){if(Fj(c[t>>2]|0,s,(c[k>>2]|0)+8|0)|0)c[r>>2]=1;Rf(c[t>>2]|0)}if((c[(c[k>>2]|0)+8>>2]|0)==5)c[(c[k>>2]|0)+8>>2]=0;c[n>>2]=Tf(c[m>>2]|0,37958,0)|0;if(c[n>>2]|0)T=0;else T=Tf(c[m>>2]|0,40906,0)|0;c[o>>2]=T;a:do if(((c[n>>2]|0)!=0^1)&1^((c[o>>2]|0)!=0^1)&1|0){if(c[r>>2]|0){c[l>>2]=72;break}if((c[(c[k>>2]|0)+8>>2]|0)==0?c[s>>2]&4096|0:0){if(!(c[o>>2]|0)){c[l>>2]=65;break}c[u>>2]=Tf(c[m>>2]|0,37847,0)|0;if(c[u>>2]|0){c[q>>2]=Xf(c[u>>2]|0,1,p)|0;if(c[q>>2]|0){T=Kj(c[q>>2]|0,c[p>>2]|0)|0;c[(c[k>>2]|0)+16>>2]=T;if(!(c[(c[k>>2]|0)+16>>2]|0))c[l>>2]=5}else c[l>>2]=68;Rf(c[u>>2]|0)}else c[l>>2]=65;if(c[l>>2]|0)break;c[v>>2]=Zf(c[o>>2]|0,1,w)|0;if(c[v>>2]|0){if(c[w>>2]<<3>>>0<(c[w>>2]|0)>>>0){vf(c[v>>2]|0);c[l>>2]=67}}else{c[w>>2]=0;c[v>>2]=pf(1)|0;if(!(c[v>>2]|0))c[l>>2]=Et()|0}if(c[l>>2]|0)break;T=Ep(0,c[v>>2]|0,c[w>>2]<<3)|0;c[c[h>>2]>>2]=T;break}do if(c[n>>2]|0?(c[(c[k>>2]|0)+8>>2]|0)==0:0){if((c[s>>2]&16|0)==0?(c[s>>2]&2|0)==0:0)break;if((Uf(c[n>>2]|0)|0)!=3){c[l>>2]=65;break a}T=Xf(c[n>>2]|0,1,p)|0;c[q>>2]=T;if(!((T|0)!=0&(c[p>>2]|0)!=0)){c[l>>2]=65;break a}T=Kj(c[q>>2]|0,c[p>>2]|0)|0;c[(c[k>>2]|0)+16>>2]=T;if(!(c[(c[k>>2]|0)+16>>2]|0)){c[l>>2]=5;break a}T=Zf(c[n>>2]|0,2,y)|0;c[x>>2]=T;if(!T){c[l>>2]=65;break a}T=c[x>>2]|0;if(c[y>>2]<<3>>>0<(c[y>>2]|0)>>>0){vf(T);c[l>>2]=67;break a}else{t=Ep(0,T,c[y>>2]<<3)|0;c[c[h>>2]>>2]=t;break a}}while(0);if(c[o>>2]|0?(c[(c[k>>2]|0)+8>>2]|0)==0:0){if(c[s>>2]&2|0){c[l>>2]=70;break}t=$f(c[o>>2]|0,1,5)|0;c[c[h>>2]>>2]=t;if(c[c[h>>2]>>2]|0)break;c[l>>2]=65;break}if((c[o>>2]|0?(c[(c[k>>2]|0)+8>>2]|0)==1:0)?(c[c[k>>2]>>2]|0)==0:0){c[C>>2]=0;c[D>>2]=0;t=Xf(c[o>>2]|0,1,A)|0;c[z>>2]=t;if(!((t|0)!=0&(c[A>>2]|0)!=0)){c[l>>2]=65;break}c[B>>2]=Tf(c[m>>2]|0,37863,0)|0;if(c[B>>2]|0){c[q>>2]=Xf(c[B>>2]|0,1,p)|0;do if(c[q>>2]|0){if((c[p>>2]|0)>>>0>0){c[C>>2]=pf(c[p>>2]|0)|0;if(c[C>>2]|0){Yw(c[C>>2]|0,c[q>>2]|0,c[p>>2]|0)|0;c[D>>2]=c[p>>2];break}else{c[l>>2]=Et()|0;break}}}else c[l>>2]=68;while(0);Rf(c[B>>2]|0);if(c[l>>2]|0)break}c[l>>2]=cl(c[h>>2]|0,c[(c[k>>2]|0)+4>>2]|0,c[z>>2]|0,c[A>>2]|0,c[C>>2]|0,c[D>>2]|0)|0;vf(c[C>>2]|0);break}do if(c[n>>2]|0?(c[(c[k>>2]|0)+8>>2]|0)==1:0){if((c[c[k>>2]>>2]|0)!=2?(c[c[k>>2]>>2]|0)!=3:0)break;if((Uf(c[n>>2]|0)|0)!=3){c[l>>2]=65;break a}t=Xf(c[n>>2]|0,1,p)|0;c[q>>2]=t;if(!((t|0)!=0&(c[p>>2]|0)!=0)){c[l>>2]=65;break a}t=Kj(c[q>>2]|0,c[p>>2]|0)|0;c[(c[k>>2]|0)+16>>2]=t;if(!(c[(c[k>>2]|0)+16>>2]|0)){c[l>>2]=5;break a}t=Xf(c[n>>2]|0,2,F)|0;c[E>>2]=t;if((t|0)!=0&(c[F>>2]|0)!=0){c[l>>2]=gl(c[h>>2]|0,c[(c[k>>2]|0)+4>>2]|0,c[E>>2]|0,c[F>>2]|0,c[(c[k>>2]|0)+16>>2]|0)|0;break a}else{c[l>>2]=65;break a}}while(0);do if(c[o>>2]|0?(c[(c[k>>2]|0)+8>>2]|0)==2:0){if((c[c[k>>2]>>2]|0)!=2?(c[c[k>>2]>>2]|0)!=3:0)break;if((Uf(c[o>>2]|0)|0)!=2){c[l>>2]=65;break a}t=Xf(c[o>>2]|0,1,H)|0;c[G>>2]=t;if((t|0)!=0&(c[H>>2]|0)!=0){c[l>>2]=hl(c[h>>2]|0,c[(c[k>>2]|0)+4>>2]|0,c[G>>2]|0,c[H>>2]|0)|0;break a}else{c[l>>2]=65;break a}}while(0);if((c[o>>2]|0?(c[(c[k>>2]|0)+8>>2]|0)==3:0)?(c[c[k>>2]>>2]|0)==0:0){t=Xf(c[o>>2]|0,1,J)|0;c[I>>2]=t;if(!((t|0)!=0&(c[J>>2]|0)!=0)){c[l>>2]=65;break}c[L>>2]=0;c[M>>2]=0;c[K>>2]=Tf(c[m>>2]|0,37847,0)|0;if(c[K>>2]|0){c[q>>2]=Xf(c[K>>2]|0,1,p)|0;do if(c[q>>2]|0){t=Kj(c[q>>2]|0,c[p>>2]|0)|0;c[(c[k>>2]|0)+16>>2]=t;if(c[(c[k>>2]|0)+16>>2]|0)break;c[l
function Ks(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,k=0,l=0;f=i;i=i+16|0;if((i|0)>=(j|0))$(16);g=f;h=f+12|0;k=f+8|0;l=f+4|0;c[h>>2]=b;c[k>>2]=d;c[l>>2]=e;if(!(c[h>>2]|0))Se(52739,51404,685,52762);if(!(c[l>>2]|0))Se(51624,51404,686,52762);Es(c[l>>2]|0);do if(!(c[(c[l>>2]|0)+4>>2]|0)){if((c[l>>2]|0)==(c[17790]|0)){e=Ls(1)|0;c[(c[l>>2]|0)+4>>2]=e}else{e=Ls(0)|0;c[(c[l>>2]|0)+4>>2]=e}if(c[(c[l>>2]|0)+4>>2]|0){e=_v()|0;c[(c[l>>2]|0)+60>>2]=e;break}else We(51686,g)}while(0);if(!((a[(c[l>>2]|0)+8>>0]<<7&255)<<24>>24>>7<<24>>24))Ms(c[l>>2]|0);e=c[(c[l>>2]|0)+60>>2]|0;if((e|0)==(_v()|0)?(e=c[(c[l>>2]|0)+64>>2]|0,(e|0)==(_v()|0)):0)if(Ns(c[h>>2]|0,c[k>>2]|0,c[l>>2]|0)|0)We(51686,g);else{Es(c[l>>2]|0);i=f;return}dh(51404,714,52762,0,51632);We(51686,g)}function Ls(b){b=b|0;var e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;e=i;i=i+64|0;if((i|0)>=(j|0))$(64);f=e+16|0;g=e+8|0;h=e+48|0;k=e+44|0;l=e+40|0;m=e+36|0;n=e+32|0;o=e+28|0;p=e+24|0;q=e+52|0;r=e;s=e+20|0;c[k>>2]=b;if(!(c[17793]|0))Se(51715,51404,596,52093);c[m>>2]=wh(l,7,1,1)|0;if(c[m>>2]|0){c[g>>2]=Ss(c[m>>2]|0)|0;Ve(52111,g);c[h>>2]=0;t=c[h>>2]|0;i=e;return t|0}if(c[k>>2]|0){c[n>>2]=zf(16)|0;Ks(c[n>>2]|0,16,c[17791]|0)}else c[n>>2]=Us(16)|0;c[m>>2]=Jh(c[l>>2]|0,c[n>>2]|0,16)|0;c[o>>2]=c[n>>2];c[p>>2]=16;a[q>>0]=0;k=r;c[k>>2]=d[q>>0];c[k+4>>2]=0;while(1){if(!(c[o>>2]&7|0?(c[p>>2]|0)!=0:0))break;a[c[o>>2]>>0]=a[q>>0]|0;c[o>>2]=(c[o>>2]|0)+1;c[p>>2]=(c[p>>2]|0)+-1}if((c[p>>2]|0)>>>0>=8){k=r;g=ex(c[k>>2]|0,c[k+4>>2]|0,16843009,16843009)|0;k=r;c[k>>2]=g;c[k+4>>2]=D;do{c[s>>2]=c[o>>2];k=r;g=c[k+4>>2]|0;b=c[s>>2]|0;c[b>>2]=c[k>>2];c[b+4>>2]=g;c[p>>2]=(c[p>>2]|0)-8;c[o>>2]=(c[o>>2]|0)+8}while((c[p>>2]|0)>>>0>=8)}while(1){if(!(c[p>>2]|0))break;a[c[o>>2]>>0]=a[q>>0]|0;c[o>>2]=(c[o>>2]|0)+1;c[p>>2]=(c[p>>2]|0)+-1}vf(c[n>>2]|0);if(c[m>>2]|0){c[f>>2]=Ss(c[m>>2]|0)|0;Ve(52154,f);Bh(c[l>>2]|0);c[h>>2]=0;t=c[h>>2]|0;i=e;return t|0}else{c[h>>2]=c[l>>2];t=c[h>>2]|0;i=e;return t|0}return 0}function Ms(b){b=b|0;var d=0,e=0,f=0;d=i;i=i+16|0;if((i|0)>=(j|0))$(16);e=d;c[e>>2]=b;if(!(c[17793]|0))Se(51715,51404,658,51956);b=(c[e>>2]|0)+17|0;if((c[e>>2]|0)==(c[17790]|0)){Ks(b,16,c[17791]|0);f=(c[e>>2]|0)+8|0;a[f>>0]=a[f>>0]&-2|1;f=_v()|0;c[(c[e>>2]|0)+64>>2]=f;i=d;return}else{Ts(b,16);b=(c[e>>2]|0)+8|0;a[b>>0]=a[b>>0]&-2|1;b=_v()|0;c[(c[e>>2]|0)+64>>2]=b;i=d;return}}function Ns(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;g=i;i=i+80|0;if((i|0)>=(j|0))$(80);h=g+48|0;k=g+44|0;l=g+40|0;m=g+36|0;n=g+56|0;o=g+32|0;p=g+28|0;q=g+24|0;r=g+20|0;s=g+16|0;t=g+12|0;u=g+52|0;v=g;w=g+8|0;c[k>>2]=b;c[l>>2]=e;c[m>>2]=f;if(!(c[17793]|0))Se(51715,51404,444,51734);if(!(c[(c[m>>2]|0)+4>>2]|0))Se(51750,51404,445,51734);if(!((a[(c[m>>2]|0)+8>>0]<<7&255)<<24>>24>>7<<24>>24))Se(51769,51404,446,51734);if(!(c[17789]|0))Se(51788,51404,448,51734);c[o>>2]=c[17789];c[p>>2]=(c[17789]|0)+16;c[q>>2]=(c[17789]|0)+32;while(1){if(!(c[l>>2]|0)){x=33;break}if((c[(c[m>>2]|0)+52>>2]|0)==0?(c[(c[m>>2]|0)+12>>2]|0)>>>0>1e3:0){Ms(c[m>>2]|0);c[(c[m>>2]|0)+12>>2]=0}c[r>>2]=(c[l>>2]|0)>>>0<16?c[l>>2]|0:16;Os(n,16,c[m>>2]|0);Ps(c[q>>2]|0,n,(c[m>>2]|0)+17|0,c[(c[m>>2]|0)+4>>2]|0,c[o>>2]|0,c[p>>2]|0);f=(c[m>>2]|0)+12|0;c[f>>2]=(c[f>>2]|0)+1;if(!((((d[(c[m>>2]|0)+51>>0]|0|0?c[(c[m>>2]|0)+52>>2]|0:0)?(c[m>>2]|0)!=(c[17790]|0):0)?(c[m>>2]|0)!=(c[17791]|0):0)?(c[m>>2]|0)!=(c[17792]|0):0)){f=(c[m>>2]|0)+34|0;e=c[q>>2]|0;if(!((a[(c[m>>2]|0)+8>>0]<<6&255)<<24>>24>>7<<24>>24)){y=f;z=e;A=y+16|0;do{a[y>>0]=a[z>>0]|0;y=y+1|0;z=z+1|0}while((y|0)<(A|0));b=(c[m>>2]|0)+8|0;a[b>>0]=a[b>>0]&-3|2;continue}if(!(Jv(f,e,16)|0)){x=22;break}y=(c[m>>2]|0)+34|0;z=c[q>>2]|0;A=y+16|0;do{a[y>>0]=a[z>>0]|0;y=y+1|0;z=z+1|0}while((y|0)<(A|0))}Yw(c[k>>2]|0,c[q>>2]|0,c[r>>2]|0)|0;c[s>>2]=c[q>>2];c[t>>2]=16;a[u>>0]=0;e=v;c[e>>2]=d[u>>0];c[e+4>>2]=0;while(1){if(!(c[s>>2]&7|0?(c[t>>2]|0)!=0:0))break;a[c[s>>2]>>0]=a[u>>0]|0;c[s>>2]=(c[s>>2]|0)+1;c[t>>2]=(c[t>>2]|0)+-1}if((c[t>>2]|0)>>>0>=8){e=v;f=ex(c[e>>2]|0,c[e+4>>2]|0,16843009,16843009)|0;e=v;c[e>>2]=f;c[e+4>>2]=D;do{c[w>>2]=c[s>>2];e=v;f=c[e+4>>2]|0;b=c[w>>2]|
function Ol(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0;d=i;i=i+32|0;if((i|0)>=(j|0))$(32);e=d+28|0;f=d+24|0;g=d+20|0;h=d+16|0;k=d+12|0;l=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m>>2]|0)+4;Sl(c[m>>2]|0,c[(c[f>>2]|0)+172>>2]|0);c[m>>2]=(c[m>>2]|0)+4;Sl(c[m>>2]|0,c[(c[f>>2]|0)+176>>2]|0);c[m>>2]=(c[m>>2]|0)+4;i=d;return}function Pl(a){a=a|0;var b=0,d=0,e=0;b=i;i=i+16|0;if((i|0)>=(j|0))$(16);d=b+4|0;e=b;c[d>>2]=a;c[e>>2]=c[d>>2];i=b;return c[e>>2]|0}function Ql(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,k=0,l=0;e=i;i=i+16|0;if((i|0)>=(j|0))$(16);f=e+12|0;g=e+8|0;h=e+4|0;k=e;c[f>>2]=a;c[g>>2]=b;c[h>>2]=d;if((c[f>>2]|0)==2){c[k>>2]=Rl(c[g>>2]|0,c[h>>2]|0)|0;l=c[k>>2]|0;i=e;return l|0}else{c[k>>2]=5;l=c[k>>2]|0;i=e;return l|0}return 0}function Rl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,k=0,l=0;d=i;i=i+32|0;if((i|0)>=(j|0))$(32);e=d+16|0;f=d+12|0;g=d+8|0;h=d+4|0;k=d;c[f>>2]=a;c[g>>2]=b;c[h>>2]=42861;c[k>>2]=Mr(2,0,42874,3,42324,20)|0;do if(!(c[k>>2]|0)){if(c[f>>2]|0){c[h>>2]=42943;c[k>>2]=Mr(2,0,42531,56,42345,20)|0;if(c[k>>2]|0)break;c[h>>2]=43133;c[k>>2]=Mr(2,1,0,0,42366,20)|0;if(c[k>>2]|0)break}c[e>>2]=0;l=c[e>>2]|0;i=d;return l|0}while(0);if(c[g>>2]|0)Eb[c[g>>2]&1](43214,2,c[h>>2]|0,c[k>>2]|0);c[e>>2]=50;l=c[e>>2]|0;i=d;return l|0}function Sl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;e=i;i=i+16|0;if((i|0)>=(j|0))$(16);f=e+8|0;g=e+4|0;h=e;c[f>>2]=b;c[g>>2]=d;c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=0;a[F>>0]=0;a[G>>0]=0;a[H>>0]=0;a[I>>0]=0;if(((c[n>>2]|0)-16|16|0)!=16){c[k>>2]=44;K=c[k>>2]|0;i=g;return K|0}if((c[17740]|0)==0?(c[17740]=1,c[17741]=Lm()|0,c[17741]|0):0){c[h>>2]=c[17741];Ve(43492,h)}if(c[17741]|0){c[k>>2]=50;K=c[k>>2]|0;i=g;return K|0}if(a[c[m>>2]>>0]|0){a[J>>0]=a[43496+((d[c[m>>2]>>0]|0)-1)>>0]|0;a[t>>0]=d[t>>0]^d[43751+((d[J>>0]|0)+0)>>0];a[u>>0]=d[u>>0]^d[43751+((d[J>>0]|0)+45)>>0];a[v>>0]=d[v>>0]^d[43751+((d[J>>0]|0)+1)>>0];a[w>>0]=d[w>>0]^d[43751+((d[J>>0]|0)+45)>>0]}if(a[(c[m>>2]|0)+1>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+1>>0]|0)-1)>>0]|0;a[t>>0]=d[t>>0]^d[43751+((d[J>>0]|0)+45)>>0];a[u>>0]=d[u>>0]^d[43751+((d[J>>0]|0)+164)>>0];a[v>>0]=d[v>>0]^d[43751+((d[J>>0]|0)+68)>>0];a[w>>0]=d[w>>0]^d[43751+((d[J>>0]|0)+138)>>0]}if(a[(c[m>>2]|0)+2>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+2>>0]|0)-1)>>0]|0;a[t>>0]=d[t>>0]^d[43751+((d[J>>0]|0)+138)>>0];a[u>>0]=d[u>>0]^d[43751+((d[J>>0]|0)+213)>>0];a[v>>0]=d[v>>0]^d[43751+((d[J>>0]|0)+191)>>0];a[w>>0]=d[w>>0]^d[43751+((d[J>>0]|0)+209)>>0]}if(a[(c[m>>2]|0)+3>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+3>>0]|0)-1)>>0]|0;a[t>>0]=d[t>>0]^d[43751+((d[J>>0]|0)+209)>>0];a[u>>0]=d[u>>0]^d[43751+((d[J>>0]|0)+127)>>0];a[v>>0]=d[v>>0]^d[43751+((d[J>>0]|0)+61)>>0];a[w>>0]=d[w>>0]^d[43751+((d[J>>0]|0)+153)>>0]}if(a[(c[m>>2]|0)+4>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+4>>0]|0)-1)>>0]|0;a[t>>0]=d[t>>0]^d[43751+((d[J>>0]|0)+153)>>0];a[u>>0]=d[u>>0]^d[43751+((d[J>>0]|0)+70)>>0];a[v>>0]=d[v>>0]^d[43751+((d[J>>0]|0)+102)>>0];a[w>>0]=d[w>>0]^d[43751+((d[J>>0]|0)+150)>>0]}if(a[(c[m>>2]|0)+5>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+5>>0]|0)-1)>>0]|0;a[t>>0]=d[t>>0]^d[43751+((d[J>>0]|0)+150)>>0];a[u>>0]=d[u>>0]^d[43751+((d[J>>0]|0)+60)>>0];a[v>>0]=d[v>>0]^d[43751+((d[J>>0]|0)+91)>>0];a[w>>0]=d[w>>0]^d[43751+((d[J>>0]|0)+237)>>0]}if(a[(c[m>>2]|0)+6>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+6>>0]|0)-1)>>0]|0;a[t>>0]=d[t>>0]^d[43751+((d[J>>0]|0)+237)>>0];a[u>>0]=d[u>>0]^d[43751+((d[J>>0]|0)+55)>>0];a[v>>0]=d[v>>0]^d[43751+((d[J>>0]|0)+79)>>0];a[w>>0]=d[w>>0]^d[43751+((d[J>>0]|0)+224)>>0]}if(a[(c[m>>2]|0)+7>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+7>>0]|0)-1)>>0]|0;a[t>>0]=d[t>>0]^d[43751+((d[J>>0]|0)+224)>>0];a[u>>0]=d[u>>0]^d[43751+((d[J>>0]|0)+208)>>0];a[v>>0]=d[v>>0]^d[43751+((d[J>>0]|0)+140)>>0];a[w>>0]=d[w>>0]^d[43751+((d[J>>0]|0)+23)>>0]}if(a[(c[m>>2]|0)+8>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+8>>0]|0)-1)>>0]|0;a[x>>0]=d[x>>0]^d[43751+((d[J>>0]|0)+0)>>0];a[y>>0]=d[y>>0]^d[43751+((d[J>>0]|0)+45)>>0];a[z>>0]=d[z>>0]^d[43751+((d[J>>0]|0)+1)>>0];a[A>>0]=d[A>>0]^d[43751+((d[J>>0]|0)+45)>>0]}if(a[(c[m>>2]|0)+9>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+9>>0]|0)-1)>>0]|0;a[x>>0]=d[x>>0]^d[43751+((d[J>>0]|0)+45)>>0];a[y>>0]=d[y>>0]^d[43751+((d[J>>0]|0)+164)>>0];a[z>>0]=d[z>>0]^d[43751+((d[J>>0]|0)+68)>>0];a[A>>0]=d[A>>0]^d[43751+((d[J>>0]|0)+138)>>0]}if(a[(c[m>>2]|0)+10>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+10>>0]|0)-1)>>0]|0;a[x>>0]=d[x>>0]^d[43751+((d[J>>0]|0)+138)>>0];a[y>>0]=d[y>>0]^d[43751+((d[J>>0]|0)+213)>>0];a[z>>0]=d[z>>0]^d[43751+((d[J>>0]|0)+191)>>0];a[A>>0]=d[A>>0]^d[43751+((d[J>>0]|0)+209)>>0]}if(a[(c[m>>2]|0)+11>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+11>>0]|0)-1)>>0]|0;a[x>>0]=d[x>>0]^d[43751+((d[J>>0]|0)+209)>>0];a[y>>0]=d[y>>0]^d[43751+((d[J>>0]|0)+127)>>0];a[z>>0]=d[z>>0]^d[43751+((d[J>>0]|0)+61)>>0];a[A>>0]=d[A>>0]^d[43751+((d[J>>0]|0)+153)>>0]}if(a[(c[m>>2]|0)+12>>0]|0){a[J>>0]=a[43496+((d[(c[m>>2]|0)+12>>0]|0)-1)>>0]|0;a[x>>0]=d[x>>0]^d[43751+((d[J>>0]|0)+153)>>0];a[y>>0]=d[y>>0]^d[43751+((d[J>>0]|0)+70)>>0];a[z>>0]=
function Kw(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,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,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Ba=0,Ca=0,Da=0;b=i;i=i+16|0;if((i|0)>=(j|0))$(16);d=b;do if(a>>>0<245){e=a>>>0<11?16:a+11&-8;f=e>>>3;g=c[17827]|0;h=g>>>f;if(h&3|0){k=(h&1^1)+f|0;l=71348+(k<<1<<2)|0;m=l+8|0;n=c[m>>2]|0;o=n+8|0;p=c[o>>2]|0;do if((l|0)!=(p|0)){if(p>>>0<(c[17831]|0)>>>0)Aa();q=p+12|0;if((c[q>>2]|0)==(n|0)){c[q>>2]=l;c[m>>2]=p;break}else Aa()}else c[17827]=g&~(1<<k);while(0);p=k<<3;c[n+4>>2]=p|3;m=n+p+4|0;c[m>>2]=c[m>>2]|1;r=o;i=b;return r|0}m=c[17829]|0;if(e>>>0>m>>>0){if(h|0){p=2<<f;l=h<<f&(p|0-p);p=(l&0-l)+-1|0;l=p>>>12&16;q=p>>>l;p=q>>>5&8;s=q>>>p;q=s>>>2&4;t=s>>>q;s=t>>>1&2;u=t>>>s;t=u>>>1&1;v=(p|l|q|s|t)+(u>>>t)|0;t=71348+(v<<1<<2)|0;u=t+8|0;s=c[u>>2]|0;q=s+8|0;l=c[q>>2]|0;do if((t|0)!=(l|0)){if(l>>>0<(c[17831]|0)>>>0)Aa();p=l+12|0;if((c[p>>2]|0)==(s|0)){c[p>>2]=t;c[u>>2]=l;w=g;break}else Aa()}else{p=g&~(1<<v);c[17827]=p;w=p}while(0);l=(v<<3)-e|0;c[s+4>>2]=e|3;u=s+e|0;c[u+4>>2]=l|1;c[u+l>>2]=l;if(m|0){t=c[17832]|0;f=m>>>3;h=71348+(f<<1<<2)|0;o=1<<f;if(w&o){f=h+8|0;n=c[f>>2]|0;if(n>>>0<(c[17831]|0)>>>0)Aa();else{x=n;y=f}}else{c[17827]=w|o;x=h;y=h+8|0}c[y>>2]=t;c[x+12>>2]=t;c[t+8>>2]=x;c[t+12>>2]=h}c[17829]=l;c[17832]=u;r=q;i=b;return r|0}u=c[17828]|0;if(u){l=(u&0-u)+-1|0;h=l>>>12&16;t=l>>>h;l=t>>>5&8;o=t>>>l;t=o>>>2&4;f=o>>>t;o=f>>>1&2;n=f>>>o;f=n>>>1&1;k=c[71612+((l|h|t|o|f)+(n>>>f)<<2)>>2]|0;f=k;n=k;o=(c[k+4>>2]&-8)-e|0;while(1){k=c[f+16>>2]|0;if(!k){t=c[f+20>>2]|0;if(!t)break;else z=t}else z=k;k=(c[z+4>>2]&-8)-e|0;t=k>>>0<o>>>0;f=z;n=t?z:n;o=t?k:o}f=c[17831]|0;if(n>>>0<f>>>0)Aa();q=n+e|0;if(n>>>0>=q>>>0)Aa();s=c[n+24>>2]|0;v=c[n+12>>2]|0;do if((v|0)==(n|0)){k=n+20|0;t=c[k>>2]|0;if(!t){h=n+16|0;l=c[h>>2]|0;if(!l){A=0;break}else{B=l;C=h}}else{B=t;C=k}while(1){k=B+20|0;t=c[k>>2]|0;if(t|0){B=t;C=k;continue}k=B+16|0;t=c[k>>2]|0;if(!t)break;else{B=t;C=k}}if(C>>>0<f>>>0)Aa();else{c[C>>2]=0;A=B;break}}else{k=c[n+8>>2]|0;if(k>>>0<f>>>0)Aa();t=k+12|0;if((c[t>>2]|0)!=(n|0))Aa();h=v+8|0;if((c[h>>2]|0)==(n|0)){c[t>>2]=v;c[h>>2]=k;A=v;break}else Aa()}while(0);do if(s|0){v=c[n+28>>2]|0;f=71612+(v<<2)|0;if((n|0)==(c[f>>2]|0)){c[f>>2]=A;if(!A){c[17828]=u&~(1<<v);break}}else{if(s>>>0<(c[17831]|0)>>>0)Aa();v=s+16|0;if((c[v>>2]|0)==(n|0))c[v>>2]=A;else c[s+20>>2]=A;if(!A)break}v=c[17831]|0;if(A>>>0<v>>>0)Aa();c[A+24>>2]=s;f=c[n+16>>2]|0;do if(f|0)if(f>>>0<v>>>0)Aa();else{c[A+16>>2]=f;c[f+24>>2]=A;break}while(0);f=c[n+20>>2]|0;if(f|0)if(f>>>0<(c[17831]|0)>>>0)Aa();else{c[A+20>>2]=f;c[f+24>>2]=A;break}}while(0);if(o>>>0<16){s=o+e|0;c[n+4>>2]=s|3;u=n+s+4|0;c[u>>2]=c[u>>2]|1}else{c[n+4>>2]=e|3;c[q+4>>2]=o|1;c[q+o>>2]=o;if(m|0){u=c[17832]|0;s=m>>>3;f=71348+(s<<1<<2)|0;v=1<<s;if(g&v){s=f+8|0;k=c[s>>2]|0;if(k>>>0<(c[17831]|0)>>>0)Aa();else{D=k;E=s}}else{c[17827]=g|v;D=f;E=f+8|0}c[E>>2]=u;c[D+12>>2]=u;c[u+8>>2]=D;c[u+12>>2]=f}c[17829]=o;c[17832]=q}r=n+8|0;i=b;return r|0}else F=e}else F=e}else if(a>>>0<=4294967231){f=a+11|0;u=f&-8;v=c[17828]|0;if(v){s=0-u|0;k=f>>>8;if(k)if(u>>>0>16777215)G=31;else{f=(k+1048320|0)>>>16&8;h=k<<f;k=(h+520192|0)>>>16&4;t=h<<k;h=(t+245760|0)>>>16&2;l=14-(k|f|h)+(t<<h>>>15)|0;G=u>>>(l+7|0)&1|l<<1}else G=0;l=c[71612+(G<<2)>>2]|0;a:do if(!l){H=0;I=0;J=s;K=86}else{h=0;t=s;f=l;k=u<<((G|0)==31?0:25-(G>>>1)|0);p=0;while(1){L=(c[f+4>>2]&-8)-u|0;if(L>>>0<t>>>0)if(!L){M=f;N=0;O=f;K=90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k];var Db=[Ex,ol,wl,xr,Fr,Oj,Jl,Ex];var Eb=[Fx,nh];return{_GNUNET_CRYPTO_rsa_signature_encode:ed,_GNUNET_CRYPTO_rsa_private_key_free:Yc,_GNUNET_CRYPTO_rsa_verify:pd,_bitshift64Shl:gx,_GNUNET_CRYPTO_hash_context_start:Dc,_bitshift64Lshr:ax,_TALER_setup_fresh_coin:su,_GNUNET_STRINGS_string_to_data:td,_GNUNET_CRYPTO_rsa_private_key_get_public:$c,_memset:Sw,_GNUNET_CRYPTO_eddsa_verify:yc,_TALER_amount_normalize:mu,_GNUNET_CRYPTO_hash_context_finish:Fc,_GNUNET_CRYPTO_symmetric_encrypt:ic,_TALER_WR_get_fraction:Sb,_GNUNET_CRYPTO_hash_context_read:Ec,_TALER_amount_cmp:lu,_GNUNET_CRYPTO_rsa_blind:fd,_TALER_WR_get_currency:Tb,_GNUNET_CRYPTO_random_block:Wc,_fflush:Rv,_GNUNET_CRYPTO_hash_create_random:Cc,_GNUNET_CRYPTO_rsa_unblind:od,_bitshift64Ashr:$w,_TALER_WRALL_get_amount:Qb,_sbrk:fx,_GNUNET_CRYPTO_eddsa_key_create:vc,_TALER_WRALL_eddsa_public_key_from_private:Mb,_llvm_bswap_i32:_w,___muldi3:ex,_GNUNET_CRYPTO_ecc_ecdh:zc,_GNUNET_CRYPTO_rsa_private_key_decode:_c,_GNUNET_CRYPTO_symmetric_decrypt:lc,_GNUNET_CRYPTO_rsa_signature_free:md,___divdi3:Xw,_TALER_amount_ntoh:hu,_pthread_self:ix,_GNUNET_CRYPTO_ecdhe_key_create:sc,_TALER_amount_subtract:ou,___udivmoddi4:Ww,_GNUNET_CRYPTO_rsa_private_key_create:Xc,_i64Add:Uw,_GNUNET_CRYPTO_ecdhe_key_get_public:qc,_TALER_WRALL_purpose_create:Pb,_GNUNET_CRYPTO_ecdh_eddsa:Ac,_pthread_mutex_unlock:bx,_GNUNET_CRYPTO_rsa_public_key_free:bd,_GNUNET_CRYPTO_kdf:Mc,_GNUNET_CRYPTO_eddsa_sign:wc,_TALER_amount_hton:gu,_i64Subtract:Rw,_pthread_mutex_lock:Tw,_GNUNET_CRYPTO_rsa_private_key_encode:Zc,_GNUNET_CRYPTO_eddsa_key_get_public:oc,___udivdi3:cx,_TALER_amount_add:pu,___errno_location:xu,___muldsi3:dx,_TALER_WR_get_value:Rb,_TALER_WRALL_ecdhe_public_key_from_private:Nb,_free:Lw,_GNUNET_STRINGS_data_to_string_alloc:sd,_GNUNET_CRYPTO_hash_context_abort:Gc,_memmove:Zw,_llvm_cttz_i32:Vw,_malloc:Kw,_memcpy:Yw,_TALER_amount_get_zero:iu,_GNUNET_CRYPTO_hkdf:Kc,_GNUNET_CRYPTO_rsa_public_key_decode:dd,_GNUNET_CRYPTO_ecdsa_key_create:uc,_TALER_WRALL_ecdsa_public_key_from_private:Ob,_GNUNET_CRYPTO_rsa_public_key_encode:cd,___remdi3:jx,_GNUNET_CRYPTO_hash:Bc,_GNUNET_CRYPTO_rsa_signature_decode:nd,___uremdi3:hx,_GNUNET_util_cl_init:Yb,_GNUNET_CRYPTO_random_init:Rc,_gpg_err_init:At,_TALER_gcrypt_init:qu,runPostSets:Qw,stackAlloc:Fb,stackSave:Gb,stackRestore:Hb,establishStackSpace:Ib,setThrew:Jb,setTempRet0:Kb,getTempRet0:Lb,dynCall_iiii:kx,dynCall_viiiii:lx,dynCall_vi:mx,dynCall_vii:nx,dynCall_ii:ox,dynCall_viii:px,dynCall_v:qx,dynCall_iiiii:rx,dynCall_viiiiii:sx,dynCall_iii:tx,dynCall_viiii:ux}})
2016-02-19 13:03:45 +01:00
2016-04-05 14:52:59 +02:00
// EMSCRIPTEN_END_ASM
2016-10-14 02:13:06 +02:00
(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var real__GNUNET_CRYPTO_rsa_signature_encode=asm["_GNUNET_CRYPTO_rsa_signature_encode"];asm["_GNUNET_CRYPTO_rsa_signature_encode"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__GNUNET_CRYPTO_rsa_signature_encode.apply(null,arguments)});var real__GNUNET_CRYPTO_rsa_verify=asm["_GNUNET_CRYPTO_rsa_verify"];asm["_GNUNET_CRYPTO_rsa_verify"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__GNUNET_CRYPTO_rsa_verify.apply(null,arguments)});var real__GNUNET_CRYPTO_hash_context_start=asm["_GNUNET_CRYPTO_hash_context_start"];asm["_GNUNET_CRYPTO_hash_context_start"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__GNUNET_CRYPTO_hash_context_start.apply(null,arguments)});var real____uremdi3=asm["___uremdi3"];asm["___uremdi3"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real____uremdi3.apply(null,arguments)});var real__TALER_setup_fresh_coin=asm["_TALER_setup_fresh_coin"];asm["_TALER_setup_fresh_coin"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__TALER_setup_fresh_coin.apply(null,arguments)});var real__GNUNET_STRINGS_string_to_data=asm["_GNUNET_STRINGS_string_to_data"];asm["_GNUNET_STRINGS_string_to_data"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__GNUNET_STRINGS_string_to_data.apply(null,arguments)});var real__i64Subtract=asm["_i64Subtract"];asm["_i64Subtract"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__i64Subtract.apply(null,arguments)});var real__GNUNET_CRYPTO_rsa_private_key_get_public=asm["_GNUNET_CRYPTO_rsa_private_key_get_public"];asm["_GNUNET_CRYPTO_rsa_private_key_get_public"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__GNUNET_CRYPTO_rsa_private_key_get_public.apply(null,arguments)});var real__TALER_WRALL_get_amount=asm["_TALER_WRALL_get_amount"];asm["_TALER_WRALL_get_amount"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__TALER_WRALL_get_amount.apply(null,arguments)});var real__GNUNET_CRYPTO_eddsa_verify=asm["_GNUNET_CRYPTO_eddsa_verify"];asm["_GNUNET_CRYPTO_eddsa_verify"]=(function(){assert(runtimeInitialized,"you need to wait for the runtime to be ready (e.g. wait for main() to be called)");assert(!runtimeExited,"the runtime was exited (use NO_EXIT_RUNTIME to keep it alive after main() exits)");return real__GNUNET_CRYPTO_eddsa_verify.apply(null,arguments)});var real__GNUNET_util_cl_init=asm["_GNUNET_util_cl_init"];asm["_GNUNET_util_cl_init"]=(function(){a