
var Module = (function() {
  var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
  if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename;
  return (
function(Module) {
  Module = Module || {};


var c;c||(c=typeof Module !== 'undefined' ? Module : {});var aa;c.ready=new Promise(function(a){aa=a});var k={},n;for(n in c)c.hasOwnProperty(n)&&(k[n]=c[n]);var ba=[],ca="./this.program";function da(a,b){throw b;}var ea=!1,u=!1,x=!1,fa=!1;ea="object"===typeof window;u="function"===typeof importScripts;x="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node;fa=!ea&&!x&&!u;var z="",A,ha,ia,ja;
if(x)z=u?require("path").dirname(z)+"/":__dirname+"/",A=function(a,b){var d=D(a);if(d)return b?d:d.toString();ia||(ia=require("fs"));ja||(ja=require("path"));a=ja.normalize(a);return ia.readFileSync(a,b?null:"utf8")},ha=function(a){a=A(a,!0);a.buffer||(a=new Uint8Array(a));assert(a.buffer);return a},1<process.argv.length&&(ca=process.argv[1].replace(/\\/g,"/")),ba=process.argv.slice(2),process.on("uncaughtException",function(a){if(!(a instanceof ka))throw a;}),process.on("unhandledRejection",E),da=
function(a){process.exit(a)},c.inspect=function(){return"[Emscripten Module object]"};else if(fa)"undefined"!=typeof read&&(A=function(a){var b=D(a);return b?la(b):read(a)}),ha=function(a){var b;if(b=D(a))return b;if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));b=read(a,"binary");assert("object"===typeof b);return b},"undefined"!=typeof scriptArgs?ba=scriptArgs:"undefined"!=typeof arguments&&(ba=arguments),"function"===typeof quit&&(da=function(a){quit(a)}),"undefined"!==typeof print&&
("undefined"===typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!==typeof printErr?printErr:print);else if(ea||u)u?z=self.location.href:document.currentScript&&(z=document.currentScript.src),_scriptDir&&(z=_scriptDir),0!==z.indexOf("blob:")?z=z.substr(0,z.lastIndexOf("/")+1):z="",A=function(a){try{var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText}catch(d){if(a=D(a))return la(a);throw d;}},u&&(ha=function(a){try{var b=new XMLHttpRequest;
b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}catch(d){if(a=D(a))return a;throw d;}});var ma=c.print||console.log.bind(console),F=c.printErr||console.warn.bind(console);for(n in k)k.hasOwnProperty(n)&&(c[n]=k[n]);k=null;c.arguments&&(ba=c.arguments);c.thisProgram&&(ca=c.thisProgram);c.quit&&(da=c.quit);var na;c.wasmBinary&&(na=c.wasmBinary);var noExitRuntime;c.noExitRuntime&&(noExitRuntime=c.noExitRuntime);"object"!==typeof WebAssembly&&F("no native wasm support detected");
var G,oa=new WebAssembly.Table({initial:848,maximum:848,element:"anyfunc"}),pa=!1;function assert(a,b){a||E("Assertion failed: "+b)}var qa="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;
function H(a,b,d){var e=b+d;for(d=b;a[d]&&!(d>=e);)++d;if(16<d-b&&a.subarray&&qa)return qa.decode(a.subarray(b,d));for(e="";b<d;){var f=a[b++];if(f&128){var g=a[b++]&63;if(192==(f&224))e+=String.fromCharCode((f&31)<<6|g);else{var l=a[b++]&63;f=224==(f&240)?(f&15)<<12|g<<6|l:(f&7)<<18|g<<12|l<<6|a[b++]&63;65536>f?e+=String.fromCharCode(f):(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else e+=String.fromCharCode(f)}return e}function J(a){return a?H(K,a,void 0):""}
function ra(a,b,d,e){if(!(0<e))return 0;var f=d;e=d+e-1;for(var g=0;g<a.length;++g){var l=a.charCodeAt(g);if(55296<=l&&57343>=l){var p=a.charCodeAt(++g);l=65536+((l&1023)<<10)|p&1023}if(127>=l){if(d>=e)break;b[d++]=l}else{if(2047>=l){if(d+1>=e)break;b[d++]=192|l>>6}else{if(65535>=l){if(d+2>=e)break;b[d++]=224|l>>12}else{if(d+3>=e)break;b[d++]=240|l>>18;b[d++]=128|l>>12&63}b[d++]=128|l>>6&63}b[d++]=128|l&63}}b[d]=0;return d-f}
function sa(a){for(var b=0,d=0;d<a.length;++d){var e=a.charCodeAt(d);55296<=e&&57343>=e&&(e=65536+((e&1023)<<10)|a.charCodeAt(++d)&1023);127>=e?++b:b=2047>=e?b+2:65535>=e?b+3:b+4}return b}function ta(a){var b=sa(a)+1,d=ua(b);ra(a,L,d,b);return d}var M,L,K,va,N;
function wa(a){M=a;c.HEAP8=L=new Int8Array(a);c.HEAP16=va=new Int16Array(a);c.HEAP32=N=new Int32Array(a);c.HEAPU8=K=new Uint8Array(a);c.HEAPU16=new Uint16Array(a);c.HEAPU32=new Uint32Array(a);c.HEAPF32=new Float32Array(a);c.HEAPF64=new Float64Array(a)}var xa=c.INITIAL_MEMORY||16777216;c.wasmMemory?G=c.wasmMemory:G=new WebAssembly.Memory({initial:xa/65536,maximum:32768});G&&(M=G.buffer);xa=M.byteLength;wa(M);N[28592]=5357408;
function ya(a){for(;0<a.length;){var b=a.shift();if("function"==typeof b)b(c);else{var d=b.Tb;"number"===typeof d?void 0===b.Na?c.dynCall_v(d):c.dynCall_vi(d,b.Na):d(void 0===b.Na?null:b.Na)}}}var za=[],Aa=[],Ba=[],Ca=[];function Da(){var a=c.preRun.shift();za.unshift(a)}var Ea=Math.abs,Fa=Math.ceil,Ga=Math.floor,Ha=Math.min,O=0,Ia=null,Ja=null;function Ka(){O++;c.monitorRunDependencies&&c.monitorRunDependencies(O)}
function La(){O--;c.monitorRunDependencies&&c.monitorRunDependencies(O);if(0==O&&(null!==Ia&&(clearInterval(Ia),Ia=null),Ja)){var a=Ja;Ja=null;a()}}c.preloadedImages={};c.preloadedAudios={};function E(a){if(c.onAbort)c.onAbort(a);ma(a);F(a);pa=!0;throw new WebAssembly.RuntimeError("abort("+a+"). Build with -s ASSERTIONS=1 for more info.");}function Ma(a,b){return String.prototype.startsWith?a.startsWith(b):0===a.indexOf(b)}var Na="data:application/octet-stream;base64,",P="data:application/octet-stream;base64,[encoded data, 962064 characters]";
if(!Ma(P,Na)){var Oa=P;P=c.locateFile?c.locateFile(Oa,z):z+Oa}function Pa(){try{if(na)return new Uint8Array(na);var a=D(P);if(a)return a;if(ha)return ha(P);throw"both async and sync fetching of the wasm failed";}catch(b){E(b)}}
function Qa(){return na||!ea&&!u||"function"!==typeof fetch||Ma(P,"file://")?new Promise(function(a){a(Pa())}):fetch(P,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+P+"'";return a.arrayBuffer()}).catch(function(){return Pa()})}var Q,R;Aa.push({Tb:function(){Ra()}});function Sa(a){return a.replace(/\b_Z[\w\d_]+/g,function(b){return b===b?b:b+" ["+b+"]"})}function Ta(){return 0<Ta.$}function Ua(a){return N[Va()>>2]=a}
function Wa(a,b){for(var d=0,e=a.length-1;0<=e;e--){var f=a[e];"."===f?a.splice(e,1):".."===f?(a.splice(e,1),d++):d&&(a.splice(e,1),d--)}if(b)for(;d;d--)a.unshift("..");return a}function S(a){var b="/"===a.charAt(0),d="/"===a.substr(-1);(a=Wa(a.split("/").filter(function(e){return!!e}),!b).join("/"))||b||(a=".");a&&d&&(a+="/");return(b?"/":"")+a}
function Xa(a){var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&(b=b.substr(0,b.length-1));return a+b}function T(a){if("/"===a)return"/";var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)}function Ya(){var a=Array.prototype.slice.call(arguments,0);return S(a.join("/"))}function U(a,b){return S(a+"/"+b)}
function V(){for(var a="",b=!1,d=arguments.length-1;-1<=d&&!b;d--){b=0<=d?arguments[d]:W.cwd();if("string"!==typeof b)throw new TypeError("Arguments to path.resolve must be strings");if(!b)return"";a=b+"/"+a;b="/"===b.charAt(0)}a=Wa(a.split("/").filter(function(e){return!!e}),!b).join("/");return(b?"/":"")+a||"."}
function Za(a,b){function d(l){for(var p=0;p<l.length&&""===l[p];p++);for(var t=l.length-1;0<=t&&""===l[t];t--);return p>t?[]:l.slice(p,t-p+1)}a=V(a).substr(1);b=V(b).substr(1);a=d(a.split("/"));b=d(b.split("/"));for(var e=Math.min(a.length,b.length),f=e,g=0;g<e;g++)if(a[g]!==b[g]){f=g;break}e=[];for(g=f;g<a.length;g++)e.push("..");e=e.concat(b.slice(f));return e.join("/")}var $a=[];function ab(a,b){$a[a]={input:[],output:[],ra:b};W.bb(a,bb)}
var bb={open:function(a){var b=$a[a.node.rdev];if(!b)throw new W.N(43);a.tty=b;a.seekable=!1},close:function(a){a.tty.ra.flush(a.tty)},flush:function(a){a.tty.ra.flush(a.tty)},read:function(a,b,d,e){if(!a.tty||!a.tty.ra.pb)throw new W.N(60);for(var f=0,g=0;g<e;g++){try{var l=a.tty.ra.pb(a.tty)}catch(p){throw new W.N(29);}if(void 0===l&&0===f)throw new W.N(6);if(null===l||void 0===l)break;f++;b[d+g]=l}f&&(a.node.timestamp=Date.now());return f},write:function(a,b,d,e){if(!a.tty||!a.tty.ra.Za)throw new W.N(60);
try{for(var f=0;f<e;f++)a.tty.ra.Za(a.tty,b[d+f])}catch(g){throw new W.N(29);}e&&(a.node.timestamp=Date.now());return f}},db={pb:function(a){if(!a.input.length){var b=null;if(x){var d=Buffer.$?Buffer.$(256):new Buffer(256),e=0;try{e=ia.readSync(process.stdin.fd,d,0,256,null)}catch(f){if(-1!=f.toString().indexOf("EOF"))e=0;else throw f;}0<e?b=d.slice(0,e).toString("utf-8"):b=null}else"undefined"!=typeof window&&"function"==typeof window.prompt?(b=window.prompt("Input: "),null!==b&&(b+="\n")):"function"==
typeof readline&&(b=readline(),null!==b&&(b+="\n"));if(!b)return null;a.input=cb(b,!0)}return a.input.shift()},Za:function(a,b){null===b||10===b?(ma(H(a.output,0)),a.output=[]):0!=b&&a.output.push(b)},flush:function(a){a.output&&0<a.output.length&&(ma(H(a.output,0)),a.output=[])}},eb={Za:function(a,b){null===b||10===b?(F(H(a.output,0)),a.output=[]):0!=b&&a.output.push(b)},flush:function(a){a.output&&0<a.output.length&&(F(H(a.output,0)),a.output=[])}},X={ga:null,V:function(){return X.createNode(null,
"/",16895,0)},createNode:function(a,b,d,e){if(W.Vb(d)||W.isFIFO(d))throw new W.N(63);X.ga||(X.ga={dir:{node:{da:X.P.da,Y:X.P.Y,lookup:X.P.lookup,ia:X.P.ia,rename:X.P.rename,unlink:X.P.unlink,rmdir:X.P.rmdir,readdir:X.P.readdir,symlink:X.P.symlink},stream:{ea:X.R.ea}},file:{node:{da:X.P.da,Y:X.P.Y},stream:{ea:X.R.ea,read:X.R.read,write:X.R.write,ua:X.R.ua,ya:X.R.ya,qa:X.R.qa}},link:{node:{da:X.P.da,Y:X.P.Y,readlink:X.P.readlink},stream:{}},gb:{node:{da:X.P.da,Y:X.P.Y},stream:W.Ib}});d=W.createNode(a,
b,d,e);W.W(d.mode)?(d.P=X.ga.dir.node,d.R=X.ga.dir.stream,d.O={}):W.isFile(d.mode)?(d.P=X.ga.file.node,d.R=X.ga.file.stream,d.T=0,d.O=null):W.pa(d.mode)?(d.P=X.ga.link.node,d.R=X.ga.link.stream):W.Da(d.mode)&&(d.P=X.ga.gb.node,d.R=X.ga.gb.stream);d.timestamp=Date.now();a&&(a.O[b]=d);return d},vc:function(a){if(a.O&&a.O.subarray){for(var b=[],d=0;d<a.T;++d)b.push(a.O[d]);return b}return a.O},wc:function(a){return a.O?a.O.subarray?a.O.subarray(0,a.T):new Uint8Array(a.O):new Uint8Array(0)},lb:function(a,
b){var d=a.O?a.O.length:0;d>=b||(b=Math.max(b,d*(1048576>d?2:1.125)>>>0),0!=d&&(b=Math.max(b,256)),d=a.O,a.O=new Uint8Array(b),0<a.T&&a.O.set(d.subarray(0,a.T),0))},ec:function(a,b){if(a.T!=b)if(0==b)a.O=null,a.T=0;else{if(!a.O||a.O.subarray){var d=a.O;a.O=new Uint8Array(b);d&&a.O.set(d.subarray(0,Math.min(b,a.T)))}else if(a.O||(a.O=[]),a.O.length>b)a.O.length=b;else for(;a.O.length<b;)a.O.push(0);a.T=b}},P:{da:function(a){var b={};b.dev=W.Da(a.mode)?a.id:1;b.ino=a.id;b.mode=a.mode;b.nlink=1;b.uid=
0;b.gid=0;b.rdev=a.rdev;W.W(a.mode)?b.size=4096:W.isFile(a.mode)?b.size=a.T:W.pa(a.mode)?b.size=a.link.length:b.size=0;b.atime=new Date(a.timestamp);b.mtime=new Date(a.timestamp);b.ctime=new Date(a.timestamp);b.Gb=4096;b.blocks=Math.ceil(b.size/b.Gb);return b},Y:function(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);void 0!==b.size&&X.ec(a,b.size)},lookup:function(){throw W.Qa[44];},ia:function(a,b,d,e){return X.createNode(a,b,d,e)},rename:function(a,b,d){if(W.W(a.mode)){try{var e=
W.ha(b,d)}catch(g){}if(e)for(var f in e.O)throw new W.N(55);}delete a.parent.O[a.name];a.name=d;b.O[d]=a;a.parent=b},unlink:function(a,b){delete a.O[b]},rmdir:function(a,b){var d=W.ha(a,b),e;for(e in d.O)throw new W.N(55);delete a.O[b]},readdir:function(a){var b=[".",".."],d;for(d in a.O)a.O.hasOwnProperty(d)&&b.push(d);return b},symlink:function(a,b,d){a=X.createNode(a,b,41471,0);a.link=d;return a},readlink:function(a){if(!W.pa(a.mode))throw new W.N(28);return a.link}},R:{read:function(a,b,d,e,f){var g=
a.node.O;if(f>=a.node.T)return 0;a=Math.min(a.node.T-f,e);if(8<a&&g.subarray)b.set(g.subarray(f,f+a),d);else for(e=0;e<a;e++)b[d+e]=g[f+e];return a},write:function(a,b,d,e,f,g){b.buffer===L.buffer&&(g=!1);if(!e)return 0;a=a.node;a.timestamp=Date.now();if(b.subarray&&(!a.O||a.O.subarray)){if(g)return a.O=b.subarray(d,d+e),a.T=e;if(0===a.T&&0===f)return a.O=b.slice(d,d+e),a.T=e;if(f+e<=a.T)return a.O.set(b.subarray(d,d+e),f),e}X.lb(a,f+e);if(a.O.subarray&&b.subarray)a.O.set(b.subarray(d,d+e),f);else for(g=
0;g<e;g++)a.O[f+g]=b[d+g];a.T=Math.max(a.T,f+e);return e},ea:function(a,b,d){1===d?b+=a.position:2===d&&W.isFile(a.node.mode)&&(b+=a.node.T);if(0>b)throw new W.N(28);return b},ua:function(a,b,d){X.lb(a.node,b+d);a.node.T=Math.max(a.node.T,b+d)},ya:function(a,b,d,e,f,g){assert(0===b);if(!W.isFile(a.node.mode))throw new W.N(43);a=a.node.O;if(g&2||a.buffer!==M){if(0<e||e+d<a.length)a.subarray?a=a.subarray(e,e+d):a=Array.prototype.slice.call(a,e,e+d);e=!0;d=fb(d);if(!d)throw new W.N(48);L.set(a,d)}else e=
!1,d=a.byteOffset;return{Hc:d,Fb:e}},qa:function(a,b,d,e,f){if(!W.isFile(a.node.mode))throw new W.N(43);if(f&2)return 0;X.R.write(a,b,0,e,d,!1);return 0}}},W={root:null,Aa:[],jb:{},streams:[],$b:1,fa:null,ib:"/",Ta:!1,tb:!0,X:{},xb:{vb:{Bb:1,Cb:2}},N:null,Qa:{},Qb:null,Ha:0,xc:function(a){if(!(a instanceof W.N)){a:{var b=Error();if(!b.stack){try{throw Error();}catch(d){b=d}if(!b.stack){b="(no stack trace available)";break a}}b=b.stack.toString()}c.extraStackTrace&&(b+="\n"+c.extraStackTrace());b=
Sa(b);throw a+" : "+b;}return Ua(a.U)},S:function(a,b){a=V(W.cwd(),a);b=b||{};if(!a)return{path:"",node:null};var d={Pa:!0,ab:0},e;for(e in d)void 0===b[e]&&(b[e]=d[e]);if(8<b.ab)throw new W.N(32);a=Wa(a.split("/").filter(function(l){return!!l}),!1);var f=W.root;d="/";for(e=0;e<a.length;e++){var g=e===a.length-1;if(g&&b.parent)break;f=W.ha(f,a[e]);d=U(d,a[e]);W.la(f)&&(!g||g&&b.Pa)&&(f=f.za.root);if(!g||b.aa)for(g=0;W.pa(f.mode);)if(f=W.readlink(d),d=V(Xa(d),f),f=W.S(d,{ab:b.ab}).node,40<g++)throw new W.N(32);
}return{path:d,node:f}},ba:function(a){for(var b;;){if(W.Ea(a))return a=a.V.ub,b?"/"!==a[a.length-1]?a+"/"+b:a+b:a;b=b?a.name+"/"+b:a.name;a=a.parent}},Sa:function(a,b){for(var d=0,e=0;e<b.length;e++)d=(d<<5)-d+b.charCodeAt(e)|0;return(a+d>>>0)%W.fa.length},rb:function(a){var b=W.Sa(a.parent.id,a.name);a.na=W.fa[b];W.fa[b]=a},sb:function(a){var b=W.Sa(a.parent.id,a.name);if(W.fa[b]===a)W.fa[b]=a.na;else for(b=W.fa[b];b;){if(b.na===a){b.na=a.na;break}b=b.na}},ha:function(a,b){var d=W.Xb(a);if(d)throw new W.N(d,
a);for(d=W.fa[W.Sa(a.id,b)];d;d=d.na){var e=d.name;if(d.parent.id===a.id&&e===b)return d}return W.lookup(a,b)},createNode:function(a,b,d,e){a=new W.yb(a,b,d,e);W.rb(a);return a},Oa:function(a){W.sb(a)},Ea:function(a){return a===a.parent},la:function(a){return!!a.za},isFile:function(a){return 32768===(a&61440)},W:function(a){return 16384===(a&61440)},pa:function(a){return 40960===(a&61440)},Da:function(a){return 8192===(a&61440)},Vb:function(a){return 24576===(a&61440)},isFIFO:function(a){return 4096===
(a&61440)},isSocket:function(a){return 49152===(a&49152)},Rb:{r:0,rs:1052672,"r+":2,w:577,wx:705,xw:705,"w+":578,"wx+":706,"xw+":706,a:1089,ax:1217,xa:1217,"a+":1090,"ax+":1218,"xa+":1218},Zb:function(a){var b=W.Rb[a];if("undefined"===typeof b)throw Error("Unknown file open mode: "+a);return b},mb:function(a){var b=["r","w","rw"][a&3];a&512&&(b+="w");return b},ka:function(a,b){if(W.tb)return 0;if(-1===b.indexOf("r")||a.mode&292){if(-1!==b.indexOf("w")&&!(a.mode&146)||-1!==b.indexOf("x")&&!(a.mode&
73))return 2}else return 2;return 0},Xb:function(a){var b=W.ka(a,"x");return b?b:a.P.lookup?0:2},Ya:function(a,b){try{return W.ha(a,b),20}catch(d){}return W.ka(a,"wx")},Fa:function(a,b,d){try{var e=W.ha(a,b)}catch(f){return f.U}if(a=W.ka(a,"wx"))return a;if(d){if(!W.W(e.mode))return 54;if(W.Ea(e)||W.ba(e)===W.cwd())return 10}else if(W.W(e.mode))return 31;return 0},Yb:function(a,b){return a?W.pa(a.mode)?32:W.W(a.mode)&&("r"!==W.mb(b)||b&512)?31:W.ka(a,W.mb(b)):44},zb:4096,ac:function(a,b){b=b||W.zb;
for(a=a||0;a<=b;a++)if(!W.streams[a])return a;throw new W.N(33);},oa:function(a){return W.streams[a]},Pb:function(a,b,d){W.La||(W.La=function(){},W.La.prototype={object:{get:function(){return this.node},set:function(g){this.node=g}}});var e=new W.La,f;for(f in a)e[f]=a[f];a=e;b=W.ac(b,d);a.fd=b;return W.streams[b]=a},Jb:function(a){W.streams[a]=null},Ib:{open:function(a){a.R=W.Ub(a.node.rdev).R;a.R.open&&a.R.open(a)},ea:function(){throw new W.N(70);}},Xa:function(a){return a>>8},Cc:function(a){return a&
255},ma:function(a,b){return a<<8|b},bb:function(a,b){W.jb[a]={R:b}},Ub:function(a){return W.jb[a]},ob:function(a){var b=[];for(a=[a];a.length;){var d=a.pop();b.push(d);a.push.apply(a,d.Aa)}return b},wb:function(a,b){function d(l){W.Ha--;return b(l)}function e(l){if(l){if(!e.$)return e.$=!0,d(l)}else++g>=f.length&&d(null)}"function"===typeof a&&(b=a,a=!1);W.Ha++;1<W.Ha&&F("warning: "+W.Ha+" FS.syncfs operations in flight at once, probably just doing extra work");var f=W.ob(W.root.V),g=0;f.forEach(function(l){if(!l.type.wb)return e(null);
l.type.wb(l,a,e)})},V:function(a,b,d){var e="/"===d,f=!d;if(e&&W.root)throw new W.N(10);if(!e&&!f){var g=W.S(d,{Pa:!1});d=g.path;g=g.node;if(W.la(g))throw new W.N(10);if(!W.W(g.mode))throw new W.N(54);}b={type:a,Fc:b,ub:d,Aa:[]};a=a.V(b);a.V=b;b.root=a;e?W.root=a:g&&(g.za=b,g.V&&g.V.Aa.push(b));return a},Lc:function(a){a=W.S(a,{Pa:!1});if(!W.la(a.node))throw new W.N(28);a=a.node;var b=a.za,d=W.ob(b);Object.keys(W.fa).forEach(function(e){for(e=W.fa[e];e;){var f=e.na;-1!==d.indexOf(e.V)&&W.Oa(e);e=
f}});a.za=null;a.V.Aa.splice(a.V.Aa.indexOf(b),1)},lookup:function(a,b){return a.P.lookup(a,b)},ia:function(a,b,d){var e=W.S(a,{parent:!0}).node;a=T(a);if(!a||"."===a||".."===a)throw new W.N(28);var f=W.Ya(e,a);if(f)throw new W.N(f);if(!e.P.ia)throw new W.N(63);return e.P.ia(e,a,b,d)},create:function(a,b){return W.ia(a,(void 0!==b?b:438)&4095|32768,0)},mkdir:function(a,b){return W.ia(a,(void 0!==b?b:511)&1023|16384,0)},Dc:function(a,b){a=a.split("/");for(var d="",e=0;e<a.length;++e)if(a[e]){d+="/"+
a[e];try{W.mkdir(d,b)}catch(f){if(20!=f.U)throw f;}}},Ga:function(a,b,d){"undefined"===typeof d&&(d=b,b=438);return W.ia(a,b|8192,d)},symlink:function(a,b){if(!V(a))throw new W.N(44);var d=W.S(b,{parent:!0}).node;if(!d)throw new W.N(44);b=T(b);var e=W.Ya(d,b);if(e)throw new W.N(e);if(!d.P.symlink)throw new W.N(63);return d.P.symlink(d,b,a)},rename:function(a,b){var d=Xa(a),e=Xa(b),f=T(a),g=T(b);try{var l=W.S(a,{parent:!0});var p=l.node;l=W.S(b,{parent:!0});var t=l.node}catch(q){throw new W.N(10);
}if(!p||!t)throw new W.N(44);if(p.V!==t.V)throw new W.N(75);l=W.ha(p,f);e=Za(a,e);if("."!==e.charAt(0))throw new W.N(28);e=Za(b,d);if("."!==e.charAt(0))throw new W.N(55);try{var m=W.ha(t,g)}catch(q){}if(l!==m){d=W.W(l.mode);if(f=W.Fa(p,f,d))throw new W.N(f);if(f=m?W.Fa(t,g,d):W.Ya(t,g))throw new W.N(f);if(!p.P.rename)throw new W.N(63);if(W.la(l)||m&&W.la(m))throw new W.N(10);if(t!==p&&(f=W.ka(p,"w")))throw new W.N(f);try{W.X.willMovePath&&W.X.willMovePath(a,b)}catch(q){F("FS.trackingDelegate['willMovePath']('"+
a+"', '"+b+"') threw an exception: "+q.message)}W.sb(l);try{p.P.rename(l,t,g)}catch(q){throw q;}finally{W.rb(l)}try{if(W.X.onMovePath)W.X.onMovePath(a,b)}catch(q){F("FS.trackingDelegate['onMovePath']('"+a+"', '"+b+"') threw an exception: "+q.message)}}},rmdir:function(a){var b=W.S(a,{parent:!0}).node,d=T(a),e=W.ha(b,d),f=W.Fa(b,d,!0);if(f)throw new W.N(f);if(!b.P.rmdir)throw new W.N(63);if(W.la(e))throw new W.N(10);try{W.X.willDeletePath&&W.X.willDeletePath(a)}catch(g){F("FS.trackingDelegate['willDeletePath']('"+
a+"') threw an exception: "+g.message)}b.P.rmdir(b,d);W.Oa(e);try{if(W.X.onDeletePath)W.X.onDeletePath(a)}catch(g){F("FS.trackingDelegate['onDeletePath']('"+a+"') threw an exception: "+g.message)}},readdir:function(a){a=W.S(a,{aa:!0}).node;if(!a.P.readdir)throw new W.N(54);return a.P.readdir(a)},unlink:function(a){var b=W.S(a,{parent:!0}).node,d=T(a),e=W.ha(b,d),f=W.Fa(b,d,!1);if(f)throw new W.N(f);if(!b.P.unlink)throw new W.N(63);if(W.la(e))throw new W.N(10);try{W.X.willDeletePath&&W.X.willDeletePath(a)}catch(g){F("FS.trackingDelegate['willDeletePath']('"+
a+"') threw an exception: "+g.message)}b.P.unlink(b,d);W.Oa(e);try{if(W.X.onDeletePath)W.X.onDeletePath(a)}catch(g){F("FS.trackingDelegate['onDeletePath']('"+a+"') threw an exception: "+g.message)}},readlink:function(a){a=W.S(a).node;if(!a)throw new W.N(44);if(!a.P.readlink)throw new W.N(28);return V(W.ba(a.parent),a.P.readlink(a))},stat:function(a,b){a=W.S(a,{aa:!b}).node;if(!a)throw new W.N(44);if(!a.P.da)throw new W.N(63);return a.P.da(a)},lstat:function(a){return W.stat(a,!0)},chmod:function(a,
b,d){var e;"string"===typeof a?e=W.S(a,{aa:!d}).node:e=a;if(!e.P.Y)throw new W.N(63);e.P.Y(e,{mode:b&4095|e.mode&-4096,timestamp:Date.now()})},lchmod:function(a,b){W.chmod(a,b,!0)},fchmod:function(a,b){a=W.oa(a);if(!a)throw new W.N(8);W.chmod(a.node,b)},chown:function(a,b,d,e){var f;"string"===typeof a?f=W.S(a,{aa:!e}).node:f=a;if(!f.P.Y)throw new W.N(63);f.P.Y(f,{timestamp:Date.now()})},lchown:function(a,b,d){W.chown(a,b,d,!0)},fchown:function(a,b,d){a=W.oa(a);if(!a)throw new W.N(8);W.chown(a.node,
b,d)},truncate:function(a,b){if(0>b)throw new W.N(28);var d;"string"===typeof a?d=W.S(a,{aa:!0}).node:d=a;if(!d.P.Y)throw new W.N(63);if(W.W(d.mode))throw new W.N(31);if(!W.isFile(d.mode))throw new W.N(28);if(a=W.ka(d,"w"))throw new W.N(a);d.P.Y(d,{size:b,timestamp:Date.now()})},Sb:function(a,b){a=W.oa(a);if(!a)throw new W.N(8);if(0===(a.flags&2097155))throw new W.N(28);W.truncate(a.node,b)},Mc:function(a,b,d){a=W.S(a,{aa:!0}).node;a.P.Y(a,{timestamp:Math.max(b,d)})},open:function(a,b,d,e,f){if(""===
a)throw new W.N(44);b="string"===typeof b?W.Zb(b):b;d=b&64?("undefined"===typeof d?438:d)&4095|32768:0;if("object"===typeof a)var g=a;else{a=S(a);try{g=W.S(a,{aa:!(b&131072)}).node}catch(p){}}var l=!1;if(b&64)if(g){if(b&128)throw new W.N(20);}else g=W.ia(a,d,0),l=!0;if(!g)throw new W.N(44);W.Da(g.mode)&&(b&=-513);if(b&65536&&!W.W(g.mode))throw new W.N(54);if(!l&&(d=W.Yb(g,b)))throw new W.N(d);b&512&&W.truncate(g,0);b&=-131713;e=W.Pb({node:g,path:W.ba(g),flags:b,seekable:!0,position:0,R:g.R,mc:[],
error:!1},e,f);e.R.open&&e.R.open(e);!c.logReadFiles||b&1||(W.$a||(W.$a={}),a in W.$a||(W.$a[a]=1,F("FS.trackingDelegate error on read file: "+a)));try{W.X.onOpenFile&&(f=0,1!==(b&2097155)&&(f|=W.xb.vb.Bb),0!==(b&2097155)&&(f|=W.xb.vb.Cb),W.X.onOpenFile(a,f))}catch(p){F("FS.trackingDelegate['onOpenFile']('"+a+"', flags) threw an exception: "+p.message)}return e},close:function(a){if(W.wa(a))throw new W.N(8);a.Ra&&(a.Ra=null);try{a.R.close&&a.R.close(a)}catch(b){throw b;}finally{W.Jb(a.fd)}a.fd=null},
wa:function(a){return null===a.fd},ea:function(a,b,d){if(W.wa(a))throw new W.N(8);if(!a.seekable||!a.R.ea)throw new W.N(70);if(0!=d&&1!=d&&2!=d)throw new W.N(28);a.position=a.R.ea(a,b,d);a.mc=[];return a.position},read:function(a,b,d,e,f){if(0>e||0>f)throw new W.N(28);if(W.wa(a))throw new W.N(8);if(1===(a.flags&2097155))throw new W.N(8);if(W.W(a.node.mode))throw new W.N(31);if(!a.R.read)throw new W.N(28);var g="undefined"!==typeof f;if(!g)f=a.position;else if(!a.seekable)throw new W.N(70);b=a.R.read(a,
b,d,e,f);g||(a.position+=b);return b},write:function(a,b,d,e,f,g){if(0>e||0>f)throw new W.N(28);if(W.wa(a))throw new W.N(8);if(0===(a.flags&2097155))throw new W.N(8);if(W.W(a.node.mode))throw new W.N(31);if(!a.R.write)throw new W.N(28);a.seekable&&a.flags&1024&&W.ea(a,0,2);var l="undefined"!==typeof f;if(!l)f=a.position;else if(!a.seekable)throw new W.N(70);b=a.R.write(a,b,d,e,f,g);l||(a.position+=b);try{if(a.path&&W.X.onWriteToFile)W.X.onWriteToFile(a.path)}catch(p){F("FS.trackingDelegate['onWriteToFile']('"+
a.path+"') threw an exception: "+p.message)}return b},ua:function(a,b,d){if(W.wa(a))throw new W.N(8);if(0>b||0>=d)throw new W.N(28);if(0===(a.flags&2097155))throw new W.N(8);if(!W.isFile(a.node.mode)&&!W.W(a.node.mode))throw new W.N(43);if(!a.R.ua)throw new W.N(138);a.R.ua(a,b,d)},ya:function(a,b,d,e,f,g){if(0!==(f&2)&&0===(g&2)&&2!==(a.flags&2097155))throw new W.N(2);if(1===(a.flags&2097155))throw new W.N(2);if(!a.R.ya)throw new W.N(43);return a.R.ya(a,b,d,e,f,g)},qa:function(a,b,d,e,f){return a&&
a.R.qa?a.R.qa(a,b,d,e,f):0},Ec:function(){return 0},Ua:function(a,b,d){if(!a.R.Ua)throw new W.N(59);return a.R.Ua(a,b,d)},readFile:function(a,b){b=b||{};b.flags=b.flags||"r";b.encoding=b.encoding||"binary";if("utf8"!==b.encoding&&"binary"!==b.encoding)throw Error('Invalid encoding type "'+b.encoding+'"');var d,e=W.open(a,b.flags);a=W.stat(a).size;var f=new Uint8Array(a);W.read(e,f,0,a,0);"utf8"===b.encoding?d=H(f,0):"binary"===b.encoding&&(d=f);W.close(e);return d},writeFile:function(a,b,d){d=d||
{};d.flags=d.flags||"w";a=W.open(a,d.flags,d.mode);if("string"===typeof b){var e=new Uint8Array(sa(b)+1);b=ra(b,e,0,e.length);W.write(a,e,0,b,void 0,d.Hb)}else if(ArrayBuffer.isView(b))W.write(a,b,0,b.byteLength,void 0,d.Hb);else throw Error("Unsupported data type");W.close(a)},cwd:function(){return W.ib},chdir:function(a){a=W.S(a,{aa:!0});if(null===a.node)throw new W.N(44);if(!W.W(a.node.mode))throw new W.N(54);var b=W.ka(a.node,"x");if(b)throw new W.N(b);W.ib=a.path},Lb:function(){W.mkdir("/tmp");
W.mkdir("/home");W.mkdir("/home/web_user")},Kb:function(){W.mkdir("/dev");W.bb(W.ma(1,3),{read:function(){return 0},write:function(e,f,g,l){return l}});W.Ga("/dev/null",W.ma(1,3));ab(W.ma(5,0),db);ab(W.ma(6,0),eb);W.Ga("/dev/tty",W.ma(5,0));W.Ga("/dev/tty1",W.ma(6,0));if("object"===typeof crypto&&"function"===typeof crypto.getRandomValues){var a=new Uint8Array(1);var b=function(){crypto.getRandomValues(a);return a[0]}}else if(x)try{var d=require("crypto");b=function(){return d.randomBytes(1)[0]}}catch(e){}b||
(b=function(){E("random_device")});W.ja("/dev","random",b);W.ja("/dev","urandom",b);W.mkdir("/dev/shm");W.mkdir("/dev/shm/tmp")},Nb:function(){W.mkdir("/proc");W.mkdir("/proc/self");W.mkdir("/proc/self/fd");W.V({V:function(){var a=W.createNode("/proc/self","fd",16895,73);a.P={lookup:function(b,d){var e=W.oa(+d);if(!e)throw new W.N(8);b={parent:null,V:{ub:"fake"},P:{readlink:function(){return e.path}}};return b.parent=b}};return a}},{},"/proc/self/fd")},Ob:function(){c.stdin?W.ja("/dev","stdin",c.stdin):
W.symlink("/dev/tty","/dev/stdin");c.stdout?W.ja("/dev","stdout",null,c.stdout):W.symlink("/dev/tty","/dev/stdout");c.stderr?W.ja("/dev","stderr",null,c.stderr):W.symlink("/dev/tty1","/dev/stderr");W.open("/dev/stdin","r");W.open("/dev/stdout","w");W.open("/dev/stderr","w")},kb:function(){W.N||(W.N=function(a,b){this.node=b;this.fc=function(d){this.U=d};this.fc(a);this.message="FS error"},W.N.prototype=Error(),W.N.prototype.constructor=W.N,[44].forEach(function(a){W.Qa[a]=new W.N(a);W.Qa[a].stack=
"<generic error, no stack>"}))},hc:function(){W.kb();W.fa=Array(4096);W.V(X,{},"/");W.Lb();W.Kb();W.Nb();W.Qb={MEMFS:X}},va:function(a,b,d){W.va.Ta=!0;W.kb();c.stdin=a||c.stdin;c.stdout=b||c.stdout;c.stderr=d||c.stderr;W.Ob()},quit:function(){W.va.Ta=!1;var a=c._fflush;a&&a(0);for(a=0;a<W.streams.length;a++){var b=W.streams[a];b&&W.close(b)}},Ca:function(a,b){var d=0;a&&(d|=365);b&&(d|=146);return d},yc:function(a,b){a=Ya.apply(null,a);b&&"/"==a[0]&&(a=a.substr(1));return a},nc:function(a,b){return V(b,
a)},Jc:function(a){return S(a)},uc:function(a,b){a=W.Ma(a,b);if(a.exists)return a.object;Ua(a.error);return null},Ma:function(a,b){try{var d=W.S(a,{aa:!b});a=d.path}catch(f){}var e={Ea:!1,exists:!1,error:0,name:null,path:null,object:null,bc:!1,dc:null,cc:null};try{d=W.S(a,{parent:!0}),e.bc=!0,e.dc=d.path,e.cc=d.node,e.name=T(a),d=W.S(a,{aa:!b}),e.exists=!0,e.path=d.path,e.object=d.node,e.name=d.node.name,e.Ea="/"===d.path}catch(f){e.error=f.U}return e},pc:function(a,b,d,e){a=U("string"===typeof a?
a:W.ba(a),b);return W.mkdir(a,W.Ca(d,e))},sc:function(a,b){a="string"===typeof a?a:W.ba(a);for(b=b.split("/").reverse();b.length;){var d=b.pop();if(d){var e=U(a,d);try{W.mkdir(e)}catch(f){}a=e}}return e},Mb:function(a,b,d,e,f){a=U("string"===typeof a?a:W.ba(a),b);return W.create(a,W.Ca(e,f))},hb:function(a,b,d,e,f,g){a=b?U("string"===typeof a?a:W.ba(a),b):a;e=W.Ca(e,f);f=W.create(a,e);if(d){if("string"===typeof d){a=Array(d.length);b=0;for(var l=d.length;b<l;++b)a[b]=d.charCodeAt(b);d=a}W.chmod(f,
e|146);a=W.open(f,"w");W.write(a,d,0,d.length,0,g);W.close(a);W.chmod(f,e)}return f},ja:function(a,b,d,e){a=U("string"===typeof a?a:W.ba(a),b);b=W.Ca(!!d,!!e);W.ja.Xa||(W.ja.Xa=64);var f=W.ma(W.ja.Xa++,0);W.bb(f,{open:function(g){g.seekable=!1},close:function(){e&&e.buffer&&e.buffer.length&&e(10)},read:function(g,l,p,t){for(var m=0,q=0;q<t;q++){try{var w=d()}catch(y){throw new W.N(29);}if(void 0===w&&0===m)throw new W.N(6);if(null===w||void 0===w)break;m++;l[p+q]=w}m&&(g.node.timestamp=Date.now());
return m},write:function(g,l,p,t){for(var m=0;m<t;m++)try{e(l[p+m])}catch(q){throw new W.N(29);}t&&(g.node.timestamp=Date.now());return m}});return W.Ga(a,b,f)},rc:function(a,b,d){a=U("string"===typeof a?a:W.ba(a),b);return W.symlink(d,a)},nb:function(a){if(a.Va||a.Wb||a.link||a.O)return!0;var b=!0;if("undefined"!==typeof XMLHttpRequest)throw Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");
if(A)try{a.O=cb(A(a.url),!0),a.T=a.O.length}catch(d){b=!1}else throw Error("Cannot load without read() or XMLHttpRequest.");b||Ua(29);return b},qc:function(a,b,d,e,f){function g(){this.Wa=!1;this.$=[]}g.prototype.get=function(m){if(!(m>this.length-1||0>m)){var q=m%this.chunkSize;return this.qb(m/this.chunkSize|0)[q]}};g.prototype.Ab=function(m){this.qb=m};g.prototype.fb=function(){var m=new XMLHttpRequest;m.open("HEAD",d,!1);m.send(null);if(!(200<=m.status&&300>m.status||304===m.status))throw Error("Couldn't load "+
d+". Status: "+m.status);var q=Number(m.getResponseHeader("Content-length")),w,y=(w=m.getResponseHeader("Accept-Ranges"))&&"bytes"===w;m=(w=m.getResponseHeader("Content-Encoding"))&&"gzip"===w;var h=1048576;y||(h=q);var r=this;r.Ab(function(v){var B=v*h,I=(v+1)*h-1;I=Math.min(I,q-1);if("undefined"===typeof r.$[v]){var yb=r.$;if(B>I)throw Error("invalid range ("+B+", "+I+") or no bytes requested!");if(I>q-1)throw Error("only "+q+" bytes available! programmer error!");var C=new XMLHttpRequest;C.open("GET",
d,!1);q!==h&&C.setRequestHeader("Range","bytes="+B+"-"+I);"undefined"!=typeof Uint8Array&&(C.responseType="arraybuffer");C.overrideMimeType&&C.overrideMimeType("text/plain; charset=x-user-defined");C.send(null);if(!(200<=C.status&&300>C.status||304===C.status))throw Error("Couldn't load "+d+". Status: "+C.status);B=void 0!==C.response?new Uint8Array(C.response||[]):cb(C.responseText||"",!0);yb[v]=B}if("undefined"===typeof r.$[v])throw Error("doXHR failed!");return r.$[v]});if(m||!q)h=q=1,h=q=this.qb(0).length,
ma("LazyFiles on gzip forces download of the whole file when length is accessed");this.Eb=q;this.Db=h;this.Wa=!0};if("undefined"!==typeof XMLHttpRequest){if(!u)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var l=new g;Object.defineProperties(l,{length:{get:function(){this.Wa||this.fb();return this.Eb}},chunkSize:{get:function(){this.Wa||this.fb();return this.Db}}});l={Va:!1,O:l}}else l={Va:!1,url:d};var p=W.Mb(a,b,l,e,f);
l.O?p.O=l.O:l.url&&(p.O=null,p.url=l.url);Object.defineProperties(p,{T:{get:function(){return this.O.length}}});var t={};Object.keys(p.R).forEach(function(m){var q=p.R[m];t[m]=function(){if(!W.nb(p))throw new W.N(29);return q.apply(null,arguments)}});t.read=function(m,q,w,y,h){if(!W.nb(p))throw new W.N(29);m=m.node.O;if(h>=m.length)return 0;y=Math.min(m.length-h,y);if(m.slice)for(var r=0;r<y;r++)q[w+r]=m[h+r];else for(r=0;r<y;r++)q[w+r]=m.get(h+r);return y};p.R=t;return p},tc:function(a,b,d,e,f,g,
l,p,t,m){function q(y){function h(v){m&&m();p||W.hb(a,b,v,e,f,t);g&&g();La()}var r=!1;c.preloadPlugins.forEach(function(v){!r&&v.canHandle(w)&&(v.handle(y,w,h,function(){l&&l();La()}),r=!0)});r||h(y)}gb.va();var w=b?V(U(a,b)):a;Ka();"string"==typeof d?gb.oc(d,function(y){q(y)},l):q(d)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},cb:function(){return"EM_FS_"+window.location.pathname},eb:20,ta:"FILE_DATA",Ic:function(a,b,d){b=b||function(){};
d=d||function(){};var e=W.indexedDB();try{var f=e.open(W.cb(),W.eb)}catch(g){return d(g)}f.onupgradeneeded=function(){ma("creating db");f.result.createObjectStore(W.ta)};f.onsuccess=function(){var g=f.result.transaction([W.ta],"readwrite"),l=g.objectStore(W.ta),p=0,t=0,m=a.length;a.forEach(function(q){q=l.put(W.Ma(q).object.O,q);q.onsuccess=function(){p++;p+t==m&&(0==t?b():d())};q.onerror=function(){t++;p+t==m&&(0==t?b():d())}});g.onerror=d};f.onerror=d},Ac:function(a,b,d){b=b||function(){};d=d||
function(){};var e=W.indexedDB();try{var f=e.open(W.cb(),W.eb)}catch(g){return d(g)}f.onupgradeneeded=d;f.onsuccess=function(){var g=f.result;try{var l=g.transaction([W.ta],"readonly")}catch(w){d(w);return}var p=l.objectStore(W.ta),t=0,m=0,q=a.length;a.forEach(function(w){var y=p.get(w);y.onsuccess=function(){W.Ma(w).exists&&W.unlink(w);W.hb(Xa(w),T(w),y.result,!0,!0,!0);t++;t+m==q&&(0==m?b():d())};y.onerror=function(){m++;t+m==q&&(0==m?b():d())}});l.onerror=d};f.onerror=d}},hb={};
function ib(a,b){var d=W.stat;try{var e=d(a)}catch(f){if(f&&f.node&&S(a)!==S(W.ba(f.node)))return-54;throw f;}N[b>>2]=e.dev;N[b+4>>2]=0;N[b+8>>2]=e.ino;N[b+12>>2]=e.mode;N[b+16>>2]=e.nlink;N[b+20>>2]=e.uid;N[b+24>>2]=e.gid;N[b+28>>2]=e.rdev;N[b+32>>2]=0;R=[e.size>>>0,(Q=e.size,1<=+Ea(Q)?0<Q?(Ha(+Ga(Q/4294967296),4294967295)|0)>>>0:~~+Fa((Q-+(~~Q>>>0))/4294967296)>>>0:0)];N[b+40>>2]=R[0];N[b+44>>2]=R[1];N[b+48>>2]=4096;N[b+52>>2]=e.blocks;N[b+56>>2]=e.atime.getTime()/1E3|0;N[b+60>>2]=0;N[b+64>>2]=
e.mtime.getTime()/1E3|0;N[b+68>>2]=0;N[b+72>>2]=e.ctime.getTime()/1E3|0;N[b+76>>2]=0;R=[e.ino>>>0,(Q=e.ino,1<=+Ea(Q)?0<Q?(Ha(+Ga(Q/4294967296),4294967295)|0)>>>0:~~+Fa((Q-+(~~Q>>>0))/4294967296)>>>0:0)];N[b+80>>2]=R[0];N[b+84>>2]=R[1];return 0}var jb=void 0;function Y(){jb+=4;return N[jb-4>>2]}function Z(a){a=W.oa(a);if(!a)throw new W.N(8);return a}var kb={};
function lb(){if(!mb){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"===typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:ca||"./this.program"},b;for(b in kb)a[b]=kb[b];var d=[];for(b in a)d.push(b+"="+a[b]);mb=d}return mb}var mb,nb=(ra("GMT",K,114432,4),114432);function ob(a){return 0===a%4&&(0!==a%100||0===a%400)}function pb(a,b){for(var d=0,e=0;e<=b;d+=a[e++]);return d}
var qb=[31,29,31,30,31,30,31,31,30,31,30,31],rb=[31,28,31,30,31,30,31,31,30,31,30,31];function sb(a,b){for(a=new Date(a.getTime());0<b;){var d=a.getMonth(),e=(ob(a.getFullYear())?qb:rb)[d];if(b>e-a.getDate())b-=e-a.getDate()+1,a.setDate(1),11>d?a.setMonth(d+1):(a.setMonth(0),a.setFullYear(a.getFullYear()+1));else{a.setDate(a.getDate()+b);break}}return a}
function tb(a,b,d,e){function f(h,r,v){for(h="number"===typeof h?h.toString():h||"";h.length<r;)h=v[0]+h;return h}function g(h,r){return f(h,r,"0")}function l(h,r){function v(I){return 0>I?-1:0<I?1:0}var B;0===(B=v(h.getFullYear()-r.getFullYear()))&&0===(B=v(h.getMonth()-r.getMonth()))&&(B=v(h.getDate()-r.getDate()));return B}function p(h){switch(h.getDay()){case 0:return new Date(h.getFullYear()-1,11,29);case 1:return h;case 2:return new Date(h.getFullYear(),0,3);case 3:return new Date(h.getFullYear(),
0,2);case 4:return new Date(h.getFullYear(),0,1);case 5:return new Date(h.getFullYear()-1,11,31);case 6:return new Date(h.getFullYear()-1,11,30)}}function t(h){h=sb(new Date(h.Z+1900,0,1),h.Ka);var r=new Date(h.getFullYear()+1,0,4),v=p(new Date(h.getFullYear(),0,4));r=p(r);return 0>=l(v,h)?0>=l(r,h)?h.getFullYear()+1:h.getFullYear():h.getFullYear()-1}var m=N[e+40>>2];e={kc:N[e>>2],jc:N[e+4>>2],Ia:N[e+8>>2],Ba:N[e+12>>2],sa:N[e+16>>2],Z:N[e+20>>2],Ja:N[e+24>>2],Ka:N[e+28>>2],Kc:N[e+32>>2],ic:N[e+36>>
2],lc:m?J(m):""};d=J(d);m={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var q in m)d=d.replace(new RegExp(q,"g"),m[q]);var w="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
y="January February March April May June July August September October November December".split(" ");m={"%a":function(h){return w[h.Ja].substring(0,3)},"%A":function(h){return w[h.Ja]},"%b":function(h){return y[h.sa].substring(0,3)},"%B":function(h){return y[h.sa]},"%C":function(h){return g((h.Z+1900)/100|0,2)},"%d":function(h){return g(h.Ba,2)},"%e":function(h){return f(h.Ba,2," ")},"%g":function(h){return t(h).toString().substring(2)},"%G":function(h){return t(h)},"%H":function(h){return g(h.Ia,
2)},"%I":function(h){h=h.Ia;0==h?h=12:12<h&&(h-=12);return g(h,2)},"%j":function(h){return g(h.Ba+pb(ob(h.Z+1900)?qb:rb,h.sa-1),3)},"%m":function(h){return g(h.sa+1,2)},"%M":function(h){return g(h.jc,2)},"%n":function(){return"\n"},"%p":function(h){return 0<=h.Ia&&12>h.Ia?"AM":"PM"},"%S":function(h){return g(h.kc,2)},"%t":function(){return"\t"},"%u":function(h){return h.Ja||7},"%U":function(h){var r=new Date(h.Z+1900,0,1),v=0===r.getDay()?r:sb(r,7-r.getDay());h=new Date(h.Z+1900,h.sa,h.Ba);return 0>
l(v,h)?g(Math.ceil((31-v.getDate()+(pb(ob(h.getFullYear())?qb:rb,h.getMonth()-1)-31)+h.getDate())/7),2):0===l(v,r)?"01":"00"},"%V":function(h){var r=new Date(h.Z+1901,0,4),v=p(new Date(h.Z+1900,0,4));r=p(r);var B=sb(new Date(h.Z+1900,0,1),h.Ka);return 0>l(B,v)?"53":0>=l(r,B)?"01":g(Math.ceil((v.getFullYear()<h.Z+1900?h.Ka+32-v.getDate():h.Ka+1-v.getDate())/7),2)},"%w":function(h){return h.Ja},"%W":function(h){var r=new Date(h.Z,0,1),v=1===r.getDay()?r:sb(r,0===r.getDay()?1:7-r.getDay()+1);h=new Date(h.Z+
1900,h.sa,h.Ba);return 0>l(v,h)?g(Math.ceil((31-v.getDate()+(pb(ob(h.getFullYear())?qb:rb,h.getMonth()-1)-31)+h.getDate())/7),2):0===l(v,r)?"01":"00"},"%y":function(h){return(h.Z+1900).toString().substring(2)},"%Y":function(h){return h.Z+1900},"%z":function(h){h=h.ic;var r=0<=h;h=Math.abs(h)/60;return(r?"+":"-")+String("0000"+(h/60*100+h%60)).slice(-4)},"%Z":function(h){return h.lc},"%%":function(){return"%"}};for(q in m)0<=d.indexOf(q)&&(d=d.replace(new RegExp(q,"g"),m[q](e)));q=cb(d,!1);if(q.length>
b)return 0;L.set(q,a);return q.length-1}function ub(a,b,d,e){a||(a=this);this.parent=a;this.V=a.V;this.za=null;this.id=W.$b++;this.name=b;this.mode=d;this.P={};this.R={};this.rdev=e}Object.defineProperties(ub.prototype,{read:{get:function(){return 365===(this.mode&365)},set:function(a){a?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146===(this.mode&146)},set:function(a){a?this.mode|=146:this.mode&=-147}},Wb:{get:function(){return W.W(this.mode)}},Va:{get:function(){return W.Da(this.mode)}}});
W.yb=ub;W.hc();var gb,vb=!1;function cb(a,b){var d=Array(sa(a)+1);a=ra(a,d,0,d.length);b&&(d.length=a);return d}function la(a){for(var b=[],d=0;d<a.length;d++){var e=a[d];255<e&&(vb&&assert(!1,"Character code "+e+" ("+String.fromCharCode(e)+")  at offset "+d+" not in 0x00-0xFF."),e&=255);b.push(String.fromCharCode(e))}return b.join("")}
var wb="function"===typeof atob?atob:function(a){var b="",d=0;a=a.replace(/[^A-Za-z0-9\+\/=]/g,"");do{var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(d++));var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(d++));var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(d++));var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(d++));e=e<<2|f>>4;
f=(f&15)<<4|g>>2;var p=(g&3)<<6|l;b+=String.fromCharCode(e);64!==g&&(b+=String.fromCharCode(f));64!==l&&(b+=String.fromCharCode(p))}while(d<a.length);return b};
function D(a){if(Ma(a,Na)){a=a.slice(Na.length);if("boolean"===typeof x&&x){try{var b=Buffer.from(a,"base64")}catch(g){b=new Buffer(a,"base64")}var d=new Uint8Array(b.buffer,b.byteOffset,b.byteLength)}else try{var e=wb(a),f=new Uint8Array(e.length);for(b=0;b<e.length;++b)f[b]=e.charCodeAt(b);d=f}catch(g){throw Error("Converting base64 string to bytes failed.");}return d}}
var zb={a:function(a,b,d,e){E("Assertion failed: "+J(a)+", at: "+[b?J(b):"unknown filename",d,e?J(e):"unknown function"])},c:function(a){return fb(a)},d:function(a){"uncaught_exception"in Ta?Ta.$++:Ta.$=1;throw a;},s:function(){Ua(63);return-1},y:function(a,b){try{a=J(a);if(b&-8)var d=-28;else{var e;(e=W.S(a,{aa:!0}).node)?(a="",b&4&&(a+="r"),b&2&&(a+="w"),b&1&&(a+="x"),d=a&&W.ka(e,a)?-2:0):d=-44}return d}catch(f){return"undefined"!==typeof W&&f instanceof W.N||E(f),-f.U}},j:function(a,b,d){jb=d;
try{var e=Z(a);switch(b){case 0:var f=Y();return 0>f?-28:W.open(e.path,e.flags,0,f).fd;case 1:case 2:return 0;case 3:return e.flags;case 4:return f=Y(),e.flags|=f,0;case 12:return f=Y(),va[f+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return Ua(28),-1;default:return-28}}catch(g){return"undefined"!==typeof W&&g instanceof W.N||E(g),-g.U}},k:function(a,b){try{var d=Z(a);return ib(d.path,b)}catch(e){return"undefined"!==typeof W&&e instanceof W.N||E(e),-e.U}},x:function(a,b,d){try{return W.Sb(a,
d),0}catch(e){return"undefined"!==typeof W&&e instanceof W.N||E(e),-e.U}},C:function(a,b,d){jb=d;try{var e=Z(a);switch(b){case 21509:case 21505:return e.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return e.tty?0:-59;case 21519:if(!e.tty)return-59;var f=Y();return N[f>>2]=0;case 21520:return e.tty?-28:-59;case 21531:return f=Y(),W.Ua(e,b,f);case 21523:return e.tty?0:-59;case 21524:return e.tty?0:-59;default:E("bad ioctl syscall "+b)}}catch(g){return"undefined"!==typeof W&&
g instanceof W.N||E(g),-g.U}},r:function(a,b){try{if(-1===(a|0)||0===b)var d=-28;else{var e=hb[a];if(e&&b===e.zc){var f=W.oa(e.fd);if(e.Gc&2){var g=e.flags,l=e.offset,p=K.slice(a,a+b);W.qa(f,p,l,b,g)}hb[a]=null;e.Fb&&xb(e.Bc)}d=0}return d}catch(t){return"undefined"!==typeof W&&t instanceof W.N||E(t),-t.U}},i:function(a,b,d){jb=d;try{var e=J(a),f=Y();return W.open(e,b,f).fd}catch(g){return"undefined"!==typeof W&&g instanceof W.N||E(g),-g.U}},w:function(a,b,d){try{var e=Z(a);return W.read(e,L,b,d)}catch(f){return"undefined"!==
typeof W&&f instanceof W.N||E(f),-f.U}},z:function(a){try{return a=J(a),W.rmdir(a),0}catch(b){return"undefined"!==typeof W&&b instanceof W.N||E(b),-b.U}},E:function(a,b){try{return a=J(a),ib(a,b)}catch(d){return"undefined"!==typeof W&&d instanceof W.N||E(d),-d.U}},A:function(a){try{return a=J(a),W.unlink(a),0}catch(b){return"undefined"!==typeof W&&b instanceof W.N||E(b),-b.U}},D:function(){},b:function(){E()},e:Ea,o:function(a,b,d){K.copyWithin(a,b,b+d)},p:function(a){a>>>=0;var b=K.length;if(2147483648<
a)return!1;for(var d=1;4>=d;d*=2){var e=b*(1+.2/d);e=Math.min(e,a+100663296);e=Math.max(16777216,a,e);0<e%65536&&(e+=65536-e%65536);a:{try{G.grow(Math.min(2147483648,e)-M.byteLength+65535>>>16);wa(G.buffer);var f=1;break a}catch(g){}f=void 0}if(f)return!0}return!1},u:function(a,b){var d=0;lb().forEach(function(e,f){var g=b+d;f=N[a+4*f>>2]=g;for(g=0;g<e.length;++g)L[f++>>0]=e.charCodeAt(g);L[f>>0]=0;d+=e.length+1});return 0},v:function(a,b){var d=lb();N[a>>2]=d.length;var e=0;d.forEach(function(f){e+=
f.length+1});N[b>>2]=e;return 0},g:function(a){try{var b=Z(a);W.close(b);return 0}catch(d){return"undefined"!==typeof W&&d instanceof W.N||E(d),d.U}},t:function(a,b){try{var d=Z(a);L[b>>0]=d.tty?2:W.W(d.mode)?3:W.pa(d.mode)?7:4;return 0}catch(e){return"undefined"!==typeof W&&e instanceof W.N||E(e),e.U}},B:function(a,b,d,e){try{a:{for(var f=Z(a),g=a=0;g<d;g++){var l=N[b+(8*g+4)>>2],p=W.read(f,L,N[b+8*g>>2],l,void 0);if(0>p){var t=-1;break a}a+=p;if(p<l)break}t=a}N[e>>2]=t;return 0}catch(m){return"undefined"!==
typeof W&&m instanceof W.N||E(m),m.U}},n:function(a,b,d,e,f){try{var g=Z(a);a=4294967296*d+(b>>>0);if(-9007199254740992>=a||9007199254740992<=a)return-61;W.ea(g,a,e);R=[g.position>>>0,(Q=g.position,1<=+Ea(Q)?0<Q?(Ha(+Ga(Q/4294967296),4294967295)|0)>>>0:~~+Fa((Q-+(~~Q>>>0))/4294967296)>>>0:0)];N[f>>2]=R[0];N[f+4>>2]=R[1];g.Ra&&0===a&&0===e&&(g.Ra=null);return 0}catch(l){return"undefined"!==typeof W&&l instanceof W.N||E(l),l.U}},h:function(a,b,d,e){try{a:{for(var f=Z(a),g=a=0;g<d;g++){var l=W.write(f,
L,N[b+8*g>>2],N[b+(8*g+4)>>2],void 0);if(0>l){var p=-1;break a}a+=l}p=a}N[e>>2]=p;return 0}catch(t){return"undefined"!==typeof W&&t instanceof W.N||E(t),t.U}},l:function(a){var b=Date.now();N[a>>2]=b/1E3|0;N[a+4>>2]=b%1E3*1E3|0;return 0},m:function(a,b){a=new Date(1E3*N[a>>2]);N[b>>2]=a.getUTCSeconds();N[b+4>>2]=a.getUTCMinutes();N[b+8>>2]=a.getUTCHours();N[b+12>>2]=a.getUTCDate();N[b+16>>2]=a.getUTCMonth();N[b+20>>2]=a.getUTCFullYear()-1900;N[b+24>>2]=a.getUTCDay();N[b+36>>2]=0;N[b+32>>2]=0;N[b+
28>>2]=(a.getTime()-Date.UTC(a.getUTCFullYear(),0,1,0,0,0,0))/864E5|0;N[b+40>>2]=nb;return b},memory:G,q:function(a,b,d,e){return tb(a,b,d,e)},table:oa,f:function(a){var b=Date.now()/1E3|0;a&&(N[a>>2]=b);return b}};
(function(){function a(f){c.asm=f.exports;La()}function b(f){a(f.instance)}function d(f){return Qa().then(function(g){return WebAssembly.instantiate(g,e)}).then(f,function(g){F("failed to asynchronously prepare wasm: "+g);E(g)})}var e={a:zb};Ka();if(c.instantiateWasm)try{return c.instantiateWasm(e,a)}catch(f){return F("Module.instantiateWasm callback failed with error: "+f),!1}(function(){if(na||"function"!==typeof WebAssembly.instantiateStreaming||Ma(P,Na)||Ma(P,"file://")||"function"!==typeof fetch)return d(b);
fetch(P,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,e).then(b,function(g){F("wasm streaming compile failed: "+g);F("falling back to ArrayBuffer instantiation");return d(b)})})})();return{}})();var Ra=c.___wasm_call_ctors=function(){return(Ra=c.___wasm_call_ctors=c.asm.F).apply(null,arguments)};c._main=function(){return(c._main=c.asm.G).apply(null,arguments)};
var Va=c.___errno_location=function(){return(Va=c.___errno_location=c.asm.H).apply(null,arguments)},fb=c._malloc=function(){return(fb=c._malloc=c.asm.I).apply(null,arguments)},xb=c._free=function(){return(xb=c._free=c.asm.J).apply(null,arguments)},ua=c.stackAlloc=function(){return(ua=c.stackAlloc=c.asm.K).apply(null,arguments)};c.dynCall_vi=function(){return(c.dynCall_vi=c.asm.L).apply(null,arguments)};c.dynCall_v=function(){return(c.dynCall_v=c.asm.M).apply(null,arguments)};c.callMain=Ab;c.FS=W;
var Bb;function ka(a){this.name="ExitStatus";this.message="Program terminated with exit("+a+")";this.status=a}Ja=function Cb(){Bb||Db();Bb||(Ja=Cb)};
function Ab(a){var b=c._main;a=a||[];var d=a.length+1,e=ua(4*(d+1));N[e>>2]=ta(ca);for(var f=1;f<d;f++)N[(e>>2)+f]=ta(a[f-1]);N[(e>>2)+d]=0;try{var g=b(d,e);if(!noExitRuntime||0!==g){if(!noExitRuntime&&(pa=!0,c.onExit))c.onExit(g);da(g,new ka(g))}}catch(l){l instanceof ka||("unwind"==l?noExitRuntime=!0:((a=l)&&"object"===typeof l&&l.stack&&(a=[l,l.stack]),F("exception thrown: "+a),da(1,l)))}finally{}}
function Db(a){function b(){if(!Bb&&(Bb=!0,c.calledRun=!0,!pa)){c.noFSInit||W.va.Ta||W.va();ya(Aa);W.tb=!1;ya(Ba);aa(c);if(c.onRuntimeInitialized)c.onRuntimeInitialized();Eb&&Ab(a);if(c.postRun)for("function"==typeof c.postRun&&(c.postRun=[c.postRun]);c.postRun.length;){var d=c.postRun.shift();Ca.unshift(d)}ya(Ca)}}a=a||ba;if(!(0<O)){if(c.preRun)for("function"==typeof c.preRun&&(c.preRun=[c.preRun]);c.preRun.length;)Da();ya(za);0<O||(c.setStatus?(c.setStatus("Running..."),setTimeout(function(){setTimeout(function(){c.setStatus("")},
1);b()},1)):b())}}c.run=Db;if(c.preInit)for("function"==typeof c.preInit&&(c.preInit=[c.preInit]);0<c.preInit.length;)c.preInit.pop()();var Eb=!1;c.noInitialRun&&(Eb=!1);noExitRuntime=!0;Db();


  return Module.ready
}
);
})();
if (typeof exports === 'object' && typeof module === 'object')
      module.exports = Module;
    else if (typeof define === 'function' && define['amd'])
      define([], function() { return Module; });
    else if (typeof exports === 'object')
      exports["Module"] = Module;
    