webminidisc/public/ffmpeg-core.js

189 lines
2.8 MiB
JavaScript
Raw Normal View History

2020-03-20 17:21:53 +00:00
var Module = (function() {
var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
return (
function(Module) {
Module = Module || {};
var e;e||(e=typeof Module !== 'undefined' ? Module : {});function aa(){}e.setLogger=function(a){aa=a};e.print=function(a){aa(a,"stdout")};e.printErr=function(a){aa(a,"stderr")};var ba={},ca;for(ca in e)e.hasOwnProperty(ca)&&(ba[ca]=e[ca]);var da="./this.program";function ea(a,b){throw b;}var fa=!1,h=!1,l=!1,ha=!1,ia=!1;fa="object"===typeof window;h="function"===typeof importScripts;
l=(ha="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node)&&!fa&&!h;ia=!fa&&!l&&!h;var m="",ja,la,ma;
if(l){m=__dirname+"/";var na,oa;ja=function(a,b){var c=pa(a);c||(na||(na=require("fs")),oa||(oa=require("path")),a=oa.normalize(a),c=na.readFileSync(a));return b?c:c.toString()};la=function(a){a=ja(a,!0);a.buffer||(a=new Uint8Array(a));assert(a.buffer);return a};1<process.argv.length&&(da=process.argv[1].replace(/\\/g,"/"));process.argv.slice(2);process.on("uncaughtException",function(a){if(!(a instanceof qa))throw a;});process.on("unhandledRejection",p);ea=function(a){process.exit(a)};e.inspect=
function(){return"[Emscripten Module object]"}}else if(ia)"undefined"!=typeof read&&(ja=function(a){var b=pa(a);return b?ra(b):read(a)}),la=function(a){var b;if(b=pa(a))return b;if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));b=read(a,"binary");assert("object"===typeof b);return b},"function"===typeof quit&&(ea=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(fa||h)h?m=self.location.href:document.currentScript&&(m=document.currentScript.src),_scriptDir&&(m=_scriptDir),0!==m.indexOf("blob:")?m=m.substr(0,m.lastIndexOf("/")+1):m="",ja=function(a){try{var b=new XMLHttpRequest;b.open("GET",a,!1);b.send(null);return b.responseText}catch(c){if(a=pa(a))return ra(a);throw c;}},h&&(la=function(a){try{var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}catch(c){if(a=pa(a))return a;
throw c;}}),ma=function(a){document.title=a};var ta=e.print||console.log.bind(console),r=e.printErr||console.warn.bind(console);for(ca in ba)ba.hasOwnProperty(ca)&&(e[ca]=ba[ca]);ba=null;e.thisProgram&&(da=e.thisProgram);e.quit&&(ea=e.quit);e.setWindowTitle=ma;function ua(a){var b=t[va>>2];a=b+a+15&-16;a>wa()&&p();t[va>>2]=a;return b}var xa={"f64-rem":function(a,b){return a%b},"debugger":function(){}},ya;e.wasmBinary&&(ya=e.wasmBinary);var za;e.noExitRuntime&&(za=e.noExitRuntime);
2020-03-31 18:05:42 +01:00
"object"!==typeof WebAssembly&&r("no native wasm support detected");var Aa,Ba=new WebAssembly.Table({initial:1980,maximum:1980,element:"anyfunc"}),Ca=!1;function assert(a,b){a||p("Assertion failed: "+b)}function Da(a){var b=e["_"+a];assert(b,"Cannot call unknown function "+a+", make sure it is exported");return b}
2020-03-20 17:21:53 +00:00
function Ea(a,b,c,d){var f={string:function(a){var b=0;if(null!==a&&void 0!==a&&0!==a){var c=(a.length<<2)+1;b=Fa(c);v(a,x,b,c)}return b},array:function(a){var b=Fa(a.length);y.set(a,b);return b}},g=Da(a),k=[];a=0;if(d)for(var n=0;n<d.length;n++){var q=f[c[n]];q?(0===a&&(a=Ga()),k[n]=q(d[n])):k[n]=d[n]}c=g.apply(null,k);c=function(a){return"string"===b?z(a):"boolean"===b?!!a:a}(c);0!==a&&Ha(a);return c}
function Ia(a){if("number"===typeof a){var b=!0;var c=a}else b=!1,c=a.length;var d=Ja(Math.max(c,1));if(b){a=d;assert(0==(d&3));for(b=d+(c&-4);a<b;a+=4)t[a>>2]=0;for(b=d+c;a<b;)y[a++>>0]=0;return d}a.subarray||a.slice?x.set(a,d):x.set(new Uint8Array(a),d);return d}var Ka="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0;
function La(a,b,c){var d=b+c;for(c=b;a[c]&&!(c>=d);)++c;if(16<c-b&&a.subarray&&Ka)return Ka.decode(a.subarray(b,c));for(d="";b<c;){var f=a[b++];if(f&128){var g=a[b++]&63;if(192==(f&224))d+=String.fromCharCode((f&31)<<6|g);else{var k=a[b++]&63;f=224==(f&240)?(f&15)<<12|g<<6|k:(f&7)<<18|g<<12|k<<6|a[b++]&63;65536>f?d+=String.fromCharCode(f):(f-=65536,d+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else d+=String.fromCharCode(f)}return d}function z(a,b){return a?La(x,a,b):""}
function v(a,b,c,d){if(!(0<d))return 0;var f=c;d=c+d-1;for(var g=0;g<a.length;++g){var k=a.charCodeAt(g);if(55296<=k&&57343>=k){var n=a.charCodeAt(++g);k=65536+((k&1023)<<10)|n&1023}if(127>=k){if(c>=d)break;b[c++]=k}else{if(2047>=k){if(c+1>=d)break;b[c++]=192|k>>6}else{if(65535>=k){if(c+2>=d)break;b[c++]=224|k>>12}else{if(c+3>=d)break;b[c++]=240|k>>18;b[c++]=128|k>>12&63}b[c++]=128|k>>6&63}b[c++]=128|k&63}}b[c]=0;return c-f}
function Ma(a){for(var b=0,c=0;c<a.length;++c){var d=a.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<10)|a.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}return b}"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le");function Na(a){0<a%65536&&(a+=65536-a%65536);return a}var buffer,y,x,Oa,Pa,t,Qa,A,Ra;
2020-03-31 18:05:42 +01:00
function Sa(a){buffer=a;e.HEAP8=y=new Int8Array(a);e.HEAP16=Oa=new Int16Array(a);e.HEAP32=t=new Int32Array(a);e.HEAPU8=x=new Uint8Array(a);e.HEAPU16=Pa=new Uint16Array(a);e.HEAPU32=Qa=new Uint32Array(a);e.HEAPF32=A=new Float32Array(a);e.HEAPF64=Ra=new Float64Array(a)}var va=1924224,Ta=e.TOTAL_MEMORY||33554432;e.wasmMemory?Aa=e.wasmMemory:Aa=new WebAssembly.Memory({initial:Ta/65536});Aa&&(buffer=Aa.buffer);Ta=buffer.byteLength;Sa(buffer);t[va>>2]=7167296;
2020-03-20 17:21:53 +00:00
function Ua(a){for(;0<a.length;){var b=a.shift();if("function"==typeof b)b();else{var c=b.Ff;"number"===typeof c?void 0===b.ye?e.dynCall_v(c):e.dynCall_vi(c,b.ye):c(void 0===b.ye?null:b.ye)}}}var Va=[],Ya=[],Za=[],$a=[],ab=!1;function bb(){var a=e.preRun.shift();Va.unshift(a)}var B=Math.abs,C=Math.ceil,D=Math.floor,E=Math.min,cb=Math.trunc,db=0,eb=null,fb=null;function gb(){db++;e.monitorRunDependencies&&e.monitorRunDependencies(db)}
2020-03-31 18:05:42 +01:00
function hb(){db--;e.monitorRunDependencies&&e.monitorRunDependencies(db);if(0==db&&(null!==eb&&(clearInterval(eb),eb=null),fb)){var a=fb;fb=null;a()}}e.preloadedImages={};e.preloadedAudios={};function p(a){if(e.onAbort)e.onAbort(a);ta(a);r(a);Ca=!0;throw"abort("+a+"). Build with -s ASSERTIONS=1 for more info.";}var ib="data:application/octet-stream;base64,";function jb(a){return String.prototype.startsWith?a.startsWith(ib):0===a.indexOf(ib)}var kb="data:application/octet-stream;base64,AGFzbQEAAAABzgmWAWACf38Bf2ABfwBgA39/fwF/YAF/AX9gBn9/f39/fwF/YAR/f39/AX9gBX9/f399AGACfHwBfGAJf398f39/f39/AX9gBH9/f38AYAV/f39/fwBgBn9/f39/fwBgCH9/f39/fn5/AGAHf39/f39/fwBgBH9/fX8AYAR/f3x/AGAOf39/f39/f398fHx8fH8AYAd/f39/f31/AGADf39/AX1gBX9/f35/AGACf3wBfGACf3wAYAh/fX19fX19fwBgCn99fX19fX19fX8AYAl/fX19fX19fX8AYBB/fX19fX19fX19fX19fX1/AGASf319fX19fX19fX19fX19fX1/AGADf35/AX5gBX9/f39+AX9gBH9/fn8BfmACf38AYAR/f39+AX5gBH9/fn8Bf2AGf39+fn5/AX9gA39/fwBgAABgBH5/f38Bf2AHf39/f31/fwBgAn9/AX1gCH9/f39/f39/AGAQf39/f39/f39/f39/f31/fwF/YAh/f39/f399fwBgDX9/f39/f3x/f3x8f38Bf2ACf34BfmAFf39/fn4AYAF8AXxgA398fAF8YAZ/fH9/f38Bf2AEf39/fwF9YAABf2ACf38BfmABfQBgAn19AGAEfX19fQBgAn1/AGACf30AYAN/fX0AYAR/fX19AGAFf319fX0AYAN/f30AYAl/f39/f39/f38AYAR8fHx8AGABfABgAnx8AGACfH8AYAN/f3wAYAN/fHwAYAR/fHx8AGAFf3x8fHwAYAV/f39/fwF/YAV+fn9/fwF/YAV/f398fAF8YAN/f38BfmABfwF8YAJ/fgBgAX4Bf2ADf35+AGACf34Bf2ADf35/AX9gBH9/f3wAYAF+AGAFf35/f38AYAABfmADf39+AGAHf39/f39/fwF/YAV/f39/fAF/YAF/AX5gA39+fgF8YAl/f39/f3x8f38AYAV/f3x8fgBgA39/fwF8YAl/f39/f39/f38Bf2ACf38BfGACf30BfWAHf39/f3x8fABgBn9/f39/fgBgBX9/f35/AX9gCn9/f39+fn9/f38Bf2AEf39/fgF/YAR/f35+AGAHf39/fn5/fwF/YAZ/f39/fn4AYAV/f35+fwBgA39/fgF+YAV/fn5/fwF/YAt/f35+fn5+fn9/fwF+YAZ/f39+fn8Bf2AEf39+fgF/YAl/f39/f39+fn4Bf2AKf39/f39/fn9/fwF/YAp/f39/f39/f39/AGANf39/f39/f39/f39/fwF/YAN/fX8AYAN/f3wBf2AMf39/f39/f39/f39/AX9gCn5+fHx8fHx/f38Bf2AIf35/f35/f38Bf2AJf398f39/f398AX9gBH9/f34AYAJ+fgF/YAJ+fwF+YAN+f38BfmAFf39+f38Bf2ACfn4BfmAEfn5+fwF+YAN+fn4BfmAEfn9/fwF+YAR+f35/AX9gBn9+f39/fwF+YAZ/f398f34Bf2AFf39+fn4Bf2ADf3x/AGACfX0BfWADfn9/AX9gAn5/AX9gAnx/AXxgBX9/f39/AXxgBn9/f39/fwF8YAF8AX1gAnx/AX9gAn1/AX9gA3x8fwF8YAF9AX1gAX8BfWACfX8BfWABfAF+YAF9AX5gAXwBf2ABfQF/YAR/fn9/AX8CsQ/bAQNlbnYBYQAjA2VudgFiAAEDZW52AWMALQNlbnYBZAAtA2VudgFlAC0DZW52AWYAAwhhc20yd2FzbQdmNjQtcmVtAAcDZW52AWcAAANlbnYBaAADA2VudgFpAC0DZW52AWoACQNlbnYBawAFA2VudgFsAAEDZW52AW0ALQNlbnYBbgAAA2VudgFvAAADZW52AXAAAwNlbnYBcQAAA2VudgFyAAADZW52AXMAAwNlbnYBdAAAA2VudgF1AAADZW52AXYAAANlbnYBdwAiA2VudgF4AB4DZW52AXkAAANlbnYBegAJA2VudgFBAA0DZW52AUIADQNlbnYBQwABA2VudgFEAB4DZW52AUUAHgNlbnYBRgAeA2VudgFHAAADZW52AUgAHgNlbnYBSQAeA2VudgFKAB4DZW52AUsAAQNlbnYBTAAKA2VudgFNAAkDZW52AU4AIwNlbnYBTwAjA2VudgFQAAEDZW52AVEAAQNlbnYBUgAAA2VudgFTAAEDZW52AVQACgNlbnYBVQAJA2VudgFWAB4DZW52AVcACQNlbnYBWAAiA2VudgFZAAEDZW52AVoAAQNlbnYBXwAeA2VudgEkAD8DZW52AmFhAAADZW52AmJhAAEDZW52AmNhAAEDZW52AmRhAB4DZW52AmVhAB4DZW52AmZhAAEDZW52AmdhAB4DZW52AmhhAB4DZW52AmlhAAEDZW52AmphAB4DZW52AmthAB4DZW52AmxhAAADZW52Am1hAAEDZW52Am5hAAMDZW52Am9hADEDZW52AnBhACcDZW52AnFhACcDZW52AnJhADwDZW52AnNhACcDZW52AnRhAAEDZW52AnVhAAkDZW52AnZhAAEDZW52AndhAAADZW52AnhhAD4DZW52AnlhAD0DZW52AnphAAEDZW52AkFhAAMDZW52AkJhAAkDZW52AkNhAAkDZW52AkRhAAkDZW52AkVhAB4DZW52AkZhAB4DZW52AkdhAAEDZW52AkhhAAADZW52AklhAD0DZW52AkphAAEDZW52AkthAB4DZW52AkxhAB4DZW52Ak1hAB4DZW52Ak5hAB4DZW52Ak9hACIDZW52AlBhAB4DZW52AlFhAB4DZW52AlJhAAEDZW52AlNhAAEDZW52AlRhADEDZW52AlVhAAADZW52AlZhADEDZW52AldhAAUDZW52AlhhAAUDZW52AllhAEUDZW52AlphAAMDZW52Al9hAC0DZW52AiRhAAADZW52AmFiAAEDZW52AmJiAAMDZW52AmNiAAADZW52AmRiAC0DZW52AmViAAEDZW52AmZiAAMDZW52AmdiAAIDZW52AmhiAAkDZW52AmliAAADZW52AmpiAAsDZW52AmtiAB4DZW52AmxiAB4DZW52Am1iAEQDZW52Am5iAB4DZW52Am9iAEMDZW52AnBiAB4DZW52AnFiAEIDZW52AnJiAB4DZW52AnNiABUDZW52AnRiAAEDZW52AnViAAEDZW52AnZiAAkDZW52AndiAAkDZW52AnhiAAkDZW52AnliACIDZW52AnpiAAoDZW52AkFiACIDZW52AkJiAEQDZW52AkNiACIDZW52AkRiAAkDZW52AkViACIDZW52AkZiAEMDZW52AkdiACIDZW52AkhiACIDZW52AkliACIDZW52AkpiAEIDZW52AktiACIDZW52AkxiAB4DZW52Ak1iACIDZW52Ak5iAAADZW52Ak9iABUDZW52AlBiADwDZW52AlFiACIDZW52AlJiACIDZW52AlNiACIDZW52AlRiAEEDZW52AlViADwDZW52AlZiAAkDZW52AldiACIDZW52AlhiAB4DZW52AlliAAADZW52AlpiAAEDZW52Al9iAAkDZW52AiRiACIDZW52AmFjAAkDZW52AmJjAAoDZW52AmNjAAkDZW52AmRj
2020-03-20 17:21:53 +00:00
if(!jb(kb)){var lb=kb;kb=e.locateFile?e.locateFile(lb,m):m+lb}function mb(){try{if(ya)return new Uint8Array(ya);var a=pa(kb);if(a)return a;if(la)return la(kb);throw"both async and sync fetching of the wasm failed";}catch(b){p(b)}}function nb(){return ya||!fa&&!h||"function"!==typeof fetch?new Promise(function(a){a(mb())}):fetch(kb,{credentials:"same-origin"}).then(function(a){if(!a.ok)throw"failed to load wasm binary file at '"+kb+"'";return a.arrayBuffer()}).catch(function(){return mb()})}
e.asm=function(){function a(a){e.asm=a.exports;hb()}function b(b){a(b.instance)}function c(a){return nb().then(function(a){return WebAssembly.instantiate(a,d)}).then(a,function(a){r("failed to asynchronously prepare wasm: "+a);p(a)})}var d={env:ob,wasi_unstable:ob,global:{NaN:NaN,Infinity:Infinity},"global.Math":Math,asm2wasm:xa};gb();if(e.instantiateWasm)try{return e.instantiateWasm(d,a)}catch(f){return r("Module.instantiateWasm callback failed with error: "+f),!1}(function(){if(ya||"function"!==
typeof WebAssembly.instantiateStreaming||jb(kb)||"function"!==typeof fetch)return c(b);fetch(kb,{credentials:"same-origin"}).then(function(a){return WebAssembly.instantiateStreaming(a,d).then(b,function(a){r("wasm streaming compile failed: "+a);r("falling back to ArrayBuffer instantiation");c(b)})})})();return{}};var F,G;Ya.push({Ff:function(){pb()}});function qb(a){return a.replace(/\b__Z[\w\d_]+/g,function(a){return a===a?a:a+" ["+a+"]"})}var H={};
function rb(a){if(rb.Qd){var b=t[a>>2];var c=t[b>>2]}else rb.Qd=!0,H.USER="web_user",H.LOGNAME="web_user",H.PATH="/",H.PWD="/",H.HOME="/home/web_user",H.LANG=("object"===typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",H._=da,c=ab?Ja(1024):ua(1024),b=ab?Ja(256):ua(256),t[b>>2]=c,t[a>>2]=b;a=[];var d=0,f;for(f in H)if("string"===typeof H[f]){var g=f+"="+H[f];a.push(g);d+=g.length}if(1024<d)throw Error("Environment size exceeded TOTAL_ENV_SIZE!");for(f=0;f<
a.length;f++){d=g=a[f];for(var k=c,n=0;n<d.length;++n)y[k++>>0]=d.charCodeAt(n);y[k>>0]=0;t[b+4*f>>2]=c;c+=g.length+1}t[b+4*a.length>>2]=0}function sb(a,b){for(var c=0,d=a.length-1;0<=d;d--){var f=a[d];"."===f?a.splice(d,1):".."===f?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");return a}function tb(a){var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=sb(a.split("/").filter(function(a){return!!a}),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a}
function ub(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 vb(a){if("/"===a)return"/";var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)}function xb(){var a=Array.prototype.slice.call(arguments,0);return tb(a.join("/"))}function I(a,b){return tb(a+"/"+b)}function yb(a){e.___errno_location&&(t[e.___errno_location()>>2]=a);return a}
function zb(){for(var a="",b=!1,c=arguments.length-1;-1<=c&&!b;c--){b=0<=c?arguments[c]:J.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=sb(a.split("/").filter(function(a){return!!a}),!b).join("/");return(b?"/":"")+a||"."}
function Ab(a,b){function c(a){for(var b=0;b<a.length&&""===a[b];b++);for(var c=a.length-1;0<=c&&""===a[c];c--);return b>c?[]:a.slice(b,c-b+1)}a=zb(a).substr(1);b=zb(b).substr(1);a=c(a.split("/"));b=c(b.split("/"));for(var d=Math.min(a.length,b.length),f=d,g=0;g<d;g++)if(a[g]!==b[g]){f=g;break}d=[];for(g=f;g<a.length;g++)d.push("..");d=d.concat(b.slice(f));return d.join("/")}var Bb=[];function Cb(a,b){Bb[a]={input:[],output:[],Ud:b};J.Oe(a,Db)}
var Db={open:function(a){var b=Bb[a.node.rdev];if(!b)throw new J.ld(43);a.tty=b;a.seekable=!1},close:function(a){a.tty.Ud.flush(a.tty)},flush:function(a){a.tty.Ud.flush(a.tty)},read:function(a,b,c,d){if(!a.tty||!a.tty.Ud.ff)throw new J.ld(60);for(var f=0,g=0;g<d;g++){try{var k=a.tty.Ud.ff(a.tty)}catch(n){throw new J.ld(29);}if(void 0===k&&0===f)throw new J.ld(6);if(null===k||void 0===k)break;f++;b[c+g]=k}f&&(a.node.timestamp=Date.now());return f},write:function(a,b,c,d){if(!a.tty||!a.tty.Ud.Ke)throw new J.ld(60);
try{for(var f=0;f<d;f++)a.tty.Ud.Ke(a.tty,b[c+f])}catch(g){throw new J.ld(29);}d&&(a.node.timestamp=Date.now());return f}},Fb={ff:function(a){if(!a.input.length){var b=null;if(l){var c=Buffer.Qd?Buffer.Qd(256):new Buffer(256),d=0;try{d=fs.readSync(process.stdin.fd,c,0,256,null)}catch(f){if(-1!=f.toString().indexOf("EOF"))d=0;else throw f;}0<d?b=c.slice(0,d).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=Eb(b,!0)}return a.input.shift()},Ke:function(a,b){null===b||10===b?(ta(La(a.output,0)),a.output=[]):0!=b&&a.output.push(b)},flush:function(a){a.output&&0<a.output.length&&(ta(La(a.output,0)),a.output=[])}},Gb={Ke:function(a,b){null===b||10===b?(r(La(a.output,0)),a.output=[]):0!=b&&a.output.push(b)},flush:function(a){a.output&&0<a.output.length&&(r(La(a.output,0)),a.output=[])}},M={Id:null,rd:function(){return M.createNode(null,
"/",16895,0)},createNode:function(a,b,c,d){if(J.Lf(c)||J.isFIFO(c))throw new J.ld(63);M.Id||(M.Id={dir:{node:{Ad:M.nd.Ad,ud:M.nd.ud,lookup:M.nd.lookup,Dd:M.nd.Dd,rename:M.nd.rename,unlink:M.nd.unlink,rmdir:M.nd.rmdir,readdir:M.nd.readdir,symlink:M.nd.symlink},stream:{xd:M.od.xd}},file:{node:{Ad:M.nd.Ad,ud:M.nd.ud},stream:{xd:M.od.xd,read:M.od.read,write:M.od.write,Yd:M.od.Yd,de:M.od.de,he:M.od.he}},link:{node:{Ad:M.nd.Ad,ud:M.nd.ud,readlink:M.nd.readlink},stream:{}},Ve:{node:{Ad:M.nd.Ad,ud:M.nd.ud},
stream:J.uf}});c=J.createNode(a,b,c,d);J.sd(c.mode)?(c.nd=M.Id.dir.node,c.od=M.Id.dir.stream,c.md={}):J.isFile(c.mode)?(c.nd=M.Id.file.node,c.od=M.Id.file.stream,c.td=0,c.md=null):J.Ld(c.mode)?(c.nd=M.Id.link.node,c.od=M.Id.link.stream):J.$d(c.mode)&&(c.nd=M.Id.Ve.node,c.od=M.Id.Ve.stream);c.timestamp=Date.now();a&&(a.md[b]=c);return c},Ni:function(a){if(a.md&&a.md.subarray){for(var b=[],c=0;c<a.td;++c)b.push(a.md[c]);return b}return a.md},If:function(a){return a.md?a.md.subarray?a.md.subarray(0,
a.td):new Uint8Array(a.md):new Uint8Array},af:function(a,b){var c=a.md?a.md.length:0;c>=b||(b=Math.max(b,c*(1048576>c?2:1.125)|0),0!=c&&(b=Math.max(b,256)),c=a.md,a.md=new Uint8Array(b),0<a.td&&a.md.set(c.subarray(0,a.td),0))},bg:function(a,b){if(a.td!=b)if(0==b)a.md=null,a.td=0;else{if(!a.md||a.md.subarray){var c=a.md;a.md=new Uint8Array(new ArrayBuffer(b));c&&a.md.set(c.subarray(0,Math.min(b,a.td)))}else if(a.md||(a.md=[]),a.md.length>b)a.md.length=b;else for(;a.md.length<b;)a.md.push(0);a.td=b}},
nd:{Ad:function(a){var b={};b.dev=J.$d(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;J.sd(a.mode)?b.size=4096:J.isFile(a.mode)?b.size=a.td:J.Ld(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.Jd=4096;b.blocks=Math.ceil(b.size/b.Jd);return b},ud:function(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);void 0!==b.size&&M.bg(a,b.size)},lookup:function(){throw J.Be[44];
},Dd:function(a,b,c,d){return M.createNode(a,b,c,d)},rename:function(a,b,c){if(J.sd(a.mode)){try{var d=J.Gd(b,c)}catch(g){}if(d)for(var f in d.md)throw new J.ld(55);}delete a.parent.md[a.name];a.name=c;b.md[c]=a;a.parent=b},unlink:function(a,b){delete a.md[b]},rmdir:function(a,b){var c=J.Gd(a,b),d;for(d in c.md)throw new J.ld(55);delete a.md[b]},readdir:function(a){var b=[".",".."],c;for(c in a.md)a.md.hasOwnProperty(c)&&b.push(c);return b},symlink:function(a,b,c){a=M.createNode(a,b,41471,0);a.link=
c;return a},readlink:function(a){if(!J.Ld(a.mode))throw new J.ld(28);return a.link}},od:{read:function(a,b,c,d,f){var g=a.node.md;if(f>=a.node.td)return 0;a=Math.min(a.node.td-f,d);if(8<a&&g.subarray)b.set(g.subarray(f,f+a),c);else for(d=0;d<a;d++)b[c+d]=g[f+d];return a},write:function(a,b,c,d,f,g){g=!1;if(!d)return 0;a=a.node;a.timestamp=Date.now();if(b.subarray&&(!a.md||a.md.subarray)){if(g)return a.md=b.subarray(c,c+d),a.td=d;if(0===a.td&&0===f)return a.md=new Uint8Array(b.subarray(c,c+d)),a.td=
d;if(f+d<=a.td)return a.md.set(b.subarray(c,c+d),f),d}M.af(a,f+d);if(a.md.subarray&&b.subarray)a.md.set(b.subarray(c,c+d),f);else for(g=0;g<d;g++)a.md[f+g]=b[c+g];a.td=Math.max(a.td,f+d);return d},xd:function(a,b,c){1===c?b+=a.position:2===c&&J.isFile(a.node.mode)&&(b+=a.node.td);if(0>b)throw new J.ld(28);return b},Yd:function(a,b,c){M.af(a.node,b+c);a.node.td=Math.max(a.node.td,b+c)},de:function(a,b,c,d,f,g,k){if(!J.isFile(a.node.mode))throw new J.ld(43);c=a.node.md;if(k&2||c.buffer!==b&&c.buffer!==
b.buffer){if(0<f||f+d<a.node.td)c.subarray?c=c.subarray(f,f+d):c=Array.prototype.slice.call(c,f,f+d);a=!0;f=b.buffer==y.buffer;d=Ja(d);if(!d)throw new J.ld(48);(f?y:b).set(c,d)}else a=!1,d=c.byteOffset;return{Ui:d,Ei:a}},he:function(a,b,c,d,f){if(!J.isFile(a.node.mode))throw new J.ld(43);if(f&2)return 0;M.od.write(a,b,0,d,c,!1);return 0}}},N={Ye:{},indexedDB:function(){if("undefined"!==typeof indexedDB)return indexedDB;var a=null;"object"===typeof window&&(a=window.indexedDB||window.mozIndexedDB||
window.webkitIndexedDB||window.msIndexedDB);assert(a,"IDBFS used, but indexedDB not supported");return a},ke:21,yd:"FILE_DATA",rd:function(a){return M.rd.apply(null,arguments)},Qe:function(a,b,c){N.Jf(a,function(d,f){if(d)return c(d);N.Kf(a,function(a,d){if(a)return c(a);N.Zf(b?d:f,b?f:d,c)})})},Gf:function(a,b){var c=N.Ye[a];if(c)return b(null,c);try{var d=N.indexedDB().open(a,N.ke)}catch(f){return b(f)}if(!d)return b("Unable to connect to IndexedDB");d.onupgradeneeded=function(a){var b=a.target.result;
a=a.target.transaction;b=b.objectStoreNames.contains(N.yd)?a.objectStore(N.yd):b.createObjectStore(N.yd);b.indexNames.contains("timestamp")||b.createIndex("timestamp","timestamp",{unique:!1})};d.onsuccess=function(){c=d.result;N.Ye[a]=c;b(null,c)};d.onerror=function(a){b(this.error);a.preventDefault()}},Jf:function(a,b){function c(a){return"."!==a&&".."!==a}function d(a){return function(b){return I(a,b)}}var f={};for(a=J.readdir(a.fe).filter(c).map(d(a.fe));a.length;){var g=a.pop();try{var k=J.stat(g)}catch(n){return b(n)}J.sd(k.mode)&&
a.push.apply(a,J.readdir(g).filter(c).map(d(g)));f[g]={timestamp:k.mtime}}return b(null,{type:"local",entries:f})},Kf:function(a,b){var c={};N.Gf(a.fe,function(a,f){if(a)return b(a);try{var d=f.transaction([N.yd],"readonly");d.onerror=function(a){b(this.error);a.preventDefault()};d.objectStore(N.yd).index("timestamp").openKeyCursor().onsuccess=function(a){a=a.target.result;if(!a)return b(null,{type:"remote",db:f,entries:c});c[a.primaryKey]={timestamp:a.key};a.continue()}}catch(k){return b(k)}})},
Nf:function(a,b){try{var c=J.qd(a).node;var d=J.stat(a)}catch(f){return b(f)}return J.sd(d.mode)?b(null,{timestamp:d.mtime,mode:d.mode}):J.isFile(d.mode)?(c.md=M.If(c),b(null,{timestamp:d.mtime,mode:d.mode,md:c.md})):b(Error("node type not supported"))},eg:function(a,b,c){try{if(J.sd(b.mode))J.mkdir(a,b.mode);else if(J.isFile(b.mode))J.writeFile(a,b.md,{Ue:!0});else return c(Error("node type not supported"));J.chmod(a,b.mode);J.lg(a,b.timestamp,b.timestamp)}catch(d){return c(d)}c(null)},$f:function(a,
b){try{J.qd(a);var c=J.stat(a);J.sd(c.mode)?J.rmdir(a):J.isFile(c.mode)&&J.unlink(a)}catch(d){return b(d)}b(null)},Of:function(a,b,c){a=a.get(b);a.onsuccess=function(a){c(null,a.target.result)};a.onerror=function(a){c(this.error);a.preventDefault()}},fg:function(a,b,c,d){a=a.put(c,b);a.onsuccess=function(){d(null)};a.onerror=function(a){d(this.error);a.preventDefault()}},ag:function(a,b,c){a=a.delete(b);a.onsuccess=function(){c(null)};a.onerror=function(a){c(this.error);a.preventDefault()}},Zf:function(a,
b,c){function d(a){if(a&&!n)return n=!0,c(a)}var f=0,g=[];Object.keys(a.entries).forEach(function(c){var d=a.entries[c],k=b.entries[c];if(!k||d.timestamp>k.timestamp)g.push(c),f++});var k=[];Object.keys(b.entries).forEach(function(b){a.entries[b]||(k.push(b),f++)});if(!f)return c(null);var n=!1,q=("remote"===a.type?a.db:b.db).transaction([N.yd],"readwrite"),u=q.objectStore(N.yd);q.onerror=function(a){d(this.error);a.preventDefault()};q.oncomplete=function(){n||c(null)};g.sort().forEach(function(a){"local"===
b.type?N.Of(u,a,function(b,c){if(b)return d(b);N.eg(a,c,d)}):N.Nf(a,function(b,c){if(b)return d(b);N.fg(u,a,c,d)})});k.sort().reverse().forEach(function(a){"local"===b.type?N.$f(a,d):N.ag(u,a,d)})}},Hb={ci:63,Ch:44,pi:71,Yg:27,$g:29,Zh:60,mg:1,Dh:45,vg:8,Eg:12,sg:6,Ai:6,Hh:48,ng:2,Rg:21,Qh:105,Cg:10,Qg:20,Bi:75,Bh:43,Sh:54,bh:31,Zg:28,wh:41,oh:33,Xh:59,xi:74,Sg:22,Mh:51,oi:70,li:69,ph:34,ei:64,Ng:18,ii:68,Ih:49,Vg:24,Fg:106,eh:156,fh:107,gh:108,mh:109,yi:110,zh:111,dh:112,Kg:16,Eh:46,ug:113,yg:114,
Ci:115,xh:104,zg:103,Ag:102,Lg:16,Bg:101,Oh:100,Ah:116,ui:117,Nh:118,Jh:119,Kh:120,ki:121,Fh:47,qg:122,ri:123,Gg:124,fi:65,rh:36,Og:125,xg:9,Yh:126,wg:127,ji:128,hh:129,ih:130,lh:131,kh:132,jh:133,Ph:52,Th:55,sh:37,nh:32,$h:138,di:139,Jg:15,yh:42,rg:5,hi:67,Vh:57,Lh:50,mi:140,Ig:14,og:3,Hg:13,vh:40,th:38,vi:73,Tg:142,Ug:23,Xg:26,tg:7,Mg:17,qh:35,gi:66,ni:137,pg:4,uh:39,ah:30,Rh:53,wi:141,zi:136,Pg:19,si:72,Wh:138,Gh:148,Wg:25,ai:61,Dg:11,Uh:56,bi:62,ti:135},O={pe:!1,Pe:function(){O.pe=!!process.platform.match(/^win/);
var a=process.binding("constants");a.fs&&(a=a.fs);O.bf={1024:a.O_APPEND,64:a.O_CREAT,128:a.O_EXCL,0:a.O_RDONLY,2:a.O_RDWR,4096:a.O_SYNC,512:a.O_TRUNC,1:a.O_WRONLY}},Se:function(a){return Buffer.alloc?Buffer.from(a):new Buffer(a)},wd:function(a){a=a.code;assert(a in Hb);return Hb[a]},rd:function(a){assert(ha);return O.createNode(null,"/",O.Nd(a.Vd.root),0)},createNode:function(a,b,c){if(!J.sd(c)&&!J.isFile(c)&&!J.Ld(c))throw new J.ld(28);a=J.createNode(a,b,c);a.nd=O.nd;a.od=O.od;return a},Nd:function(a){try{var b=
fs.lstatSync(a);O.pe&&(b.mode=b.mode|(b.mode&292)>>2)}catch(c){if(!c.code)throw c;throw new J.ld(O.wd(c));}return b.mode},Bd:function(a){for(var b=[];a.parent!==a;)b.push(a.name),a=a.parent;b.push(a.rd.Vd.root);b.reverse();return xb.apply(null,b)},Ef:function(a){a&=-2656257;var b=0,c;for(c in O.bf)a&c&&(b|=O.bf[c],a^=c);if(a)throw new J.ld(28);return b},nd:{Ad:function(a){a=O.Bd(a);try{var b=fs.lstatSync(a)}catch(c){if(!c.code)throw c;throw new J.ld(O.wd(c));}O.pe&&!b.Jd&&(b.Jd=4096);O.pe&&!b.blocks&&
(b.blocks=(b.size+b.Jd-1)/b.Jd|0);return{dev:b.dev,ino:b.ino,mode:b.mode,nlink:b.nlink,uid:b.uid,gid:b.gid,rdev:b.rdev,size:b.size,atime:b.atime,mtime:b.mtime,ctime:b.ctime,Jd:b.Jd,blocks:b.blocks}},ud:function(a,b){var c=O.Bd(a);try{void 0!==b.mode&&(fs.chmodSync(c,b.mode),a.mode=b.mode),void 0!==b.size&&fs.truncateSync(c,b.size)}catch(d){if(!d.code)throw d;throw new J.ld(O.wd(d));}},lookup:function(a,b){var c=I(O.Bd(a),b);c=O.Nd(c);return O.createNode(a,b,c)},Dd:function(a,b,c,d){a=O.createNode(a,
b,c,d);b=O.Bd(a);try{J.sd(a.mode)?fs.mkdirSync(b,a.mode):fs.writeFileSync(b,"",{mode:a.mode})}catch(f){if(!f.code)throw f;throw new J.ld(O.wd(f));}return a},rename:function(a,b,c){a=O.Bd(a);b=I(O.Bd(b),c);try{fs.renameSync(a,b)}catch(d){if(!d.code)throw d;throw new J.ld(O.wd(d));}},unlink:function(a,b){a=I(O.Bd(a),b);try{fs.unlinkSync(a)}catch(c){if(!c.code)throw c;throw new J.ld(O.wd(c));}},rmdir:function(a,b){a=I(O.Bd(a),b);try{fs.rmdirSync(a)}catch(c){if(!c.code)throw c;throw new J.ld(O.wd(c));
}},readdir:function(a){a=O.Bd(a);try{return fs.readdirSync(a)}catch(b){if(!b.code)throw b;throw new J.ld(O.wd(b));}},symlink:function(a,b,c){a=I(O.Bd(a),b);try{fs.symlinkSync(c,a)}catch(d){if(!d.code)throw d;throw new J.ld(O.wd(d));}},readlink:function(a){var b=O.Bd(a);try{return b=fs.readlinkSync(b),b=Ib.relative(Ib.resolve(a.rd.Vd.root),b)}catch(c){if(!c.code)throw c;throw new J.ld(O.wd(c));}}},od:{open:function(a){var b=O.Bd(a.node);try{J.isFile(a.node.mode)&&(a.ie=fs.openSync(b,O.Ef(a.flags)))}catch(c){if(!c.code)throw c;
throw new J.ld(O.wd(c));}},close:function(a){try{J.isFile(a.node.mode)&&a.ie&&fs.closeSync(a.ie)}catch(b){if(!b.code)throw b;throw new J.ld(O.wd(b));}},read:function(a,b,c,d,f){if(0===d)return 0;try{return fs.readSync(a.ie,O.Se(b.buffer),c,d,f)}catch(g){throw new J.ld(O.wd(g));}},write:function(a,b,c,d,f){try{return fs.writeSync(a.ie,O.Se(b.buffer),c,d,f)}catch(g){throw new J.ld(O.wd(g));}},xd:function(a,b,c){if(1===c)b+=a.position;else if(2===c&&J.isFile(a.node.mode))try{b+=fs.fstatSync(a.ie).size}catch(d){throw new J.ld(O.wd(d));
}if(0>b)throw new J.ld(28);return b}}},P={we:16895,Xd:33279,Me:null,rd:function(a){function b(a){a=a.split("/");for(var b=d,c=0;c<a.length-1;c++){var g=a.slice(0,c+1).join("/");f[g]||(f[g]=P.createNode(b,a[c],P.we,0));b=f[g]}return b}function c(a){a=a.split("/");return a[a.length-1]}assert(h);P.Me||(P.Me=new FileReaderSync);var d=P.createNode(null,"/",P.we,0),f={};Array.prototype.forEach.call(a.Vd.files||[],function(a){P.createNode(b(a.name),c(a.name),P.Xd,0,a,a.lastModifiedDate)});(a.Vd.blobs||[]).forEach(function(a){P.createNode(b(a.name),
c(a.name),P.Xd,0,a.data)});(a.Vd.packages||[]).forEach(function(a){a.metadata.files.forEach(function(d){var f=d.filename.substr(1);P.createNode(b(f),c(f),P.Xd,0,a.blob.slice(d.start,d.end))})});return d},createNode:function(a,b,c,d,f,g){d=J.createNode(a,b,c);d.mode=c;d.nd=P.nd;d.od=P.od;d.timestamp=(g||new Date).getTime();assert(P.Xd!==P.we);c===P.Xd?(d.size=f.size,d.md=f):(d.size=4096,d.md={});a&&(a.md[b]=d);return d},nd:{Ad:function(a){return{dev:1,ino:void 0,mode:a.mode,nlink:1,uid:0,gid:0,rdev:void 0,
size:a.size,atime:new Date(a.timestamp),mtime:new Date(a.timestamp),ctime:new Date(a.timestamp),Jd:4096,blocks:Math.ceil(a.size/4096)}},ud:function(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp)},lookup:function(){throw new J.ld(44);},Dd:function(){throw new J.ld(63);},rename:function(){throw new J.ld(63);},unlink:function(){throw new J.ld(63);},rmdir:function(){throw new J.ld(63);},readdir:function(a){var b=[".",".."],c;for(c in a.md)a.md.hasOwnProperty(c)&&
b.push(c);return b},symlink:function(){throw new J.ld(63);},readlink:function(){throw new J.ld(63);}},od:{read:function(a,b,c,d,f){if(f>=a.node.size)return 0;a=a.node.md.slice(f,f+d);d=P.Me.readAsArrayBuffer(a);b.set(new Uint8Array(d),c);return a.size},write:function(){throw new J.ld(29);},xd:function(a,b,c){1===c?b+=a.position:2===c&&J.isFile(a.node.mode)&&(b+=a.node.size);if(0>b)throw new J.ld(28);return b}}},J={root:null,ge:[],Ze:{},streams:[],Tf:1,Hd:null,Xe:"/",De:!1,kf:!0,vd:{},mf:{lf:{qf:1,
rf:2}},ld:null,Be:{},Cf:null,se:0,Oi:function(a){if(!(a instanceof J.ld)){a:{var b=Error();if(!b.stack){try{throw Error(0);}catch(c){b=c}if(!b.stack){b="(no stack trace available)";break a}}b=b.stack.toString()}e.extraStackTrace&&(b+="\n"+e.extraStackTrace());b=qb(b);throw a+" : "+b;}return yb(a.pd)},qd:function(a,b){a=zb(J.cwd(),a);b=b||{};if(!a)return{path:"",node:null};var c={Ae:!0,Ne:0},d;for(d in c)void 0===b[d]&&(b[d]=c[d]);if(8<b.Ne)throw new J.ld(32);a=sb(a.split("/").filter(function(a){return!!a}),
!1);var f=J.root;c="/";for(d=0;d<a.length;d++){var g=d===a.length-1;if(g&&b.parent)break;f=J.Gd(f,a[d]);c=I(c,a[d]);J.Pd(f)&&(!g||g&&b.Ae)&&(f=f.ee.root);if(!g||b.Cd)for(g=0;J.Ld(f.mode);)if(f=J.readlink(c),c=zb(ub(c),f),f=J.qd(c,{Ne:b.Ne}).node,40<g++)throw new J.ld(32);}return{path:c,node:f}},Fd:function(a){for(var b;;){if(J.oe(a))return a=a.rd.fe,b?"/"!==a[a.length-1]?a+"/"+b:a+b:a;b=b?a.name+"/"+b:a.name;a=a.parent}},Ce:function(a,b){for(var c=0,d=0;d<b.length;d++)c=(c<<5)-c+b.charCodeAt(d)|0;
return(a+c>>>0)%J.Hd.length},hf:function(a){var b=J.Ce(a.parent.id,a.name);a.Sd=J.Hd[b];J.Hd[b]=a},jf:function(a){var b=J.Ce(a.parent.id,a.name);if(J.Hd[b]===a)J.Hd[b]=a.Sd;else for(b=J.Hd[b];b;){if(b.Sd===a){b.Sd=a.Sd;break}b=b.Sd}},Gd:function(a,b){var c=J.Pf(a);if(c)throw new J.ld(c,a);for(c=J.Hd[J.Ce(a.id,b)];c;c=c.Sd){var d=c.name;if(c.parent.id===a.id&&d===b)return c}return J.lookup(a,b)},createNode:function(a,b,c,d){J.le||(J.le=function(a,b,c,d){a||(a=this);this.parent=a;this.rd=a.rd;this.ee=
null;this.id=J.Tf++;this.name=b;this.mode=c;this.nd={};this.od={};this.rdev=d},J.le.prototype={},Object.defineProperties(J.le.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}},Mf:{get:function(){return J.sd(this.mode)}},Fe:{get:function(){return J.$d(this.mode)}}}));a=new J.le(a,b,c,d);J.hf(a);return a},ze:function(a){J.jf(a)},oe:function(a){return a===
a.parent},Pd:function(a){return!!a.ee},isFile:function(a){return 32768===(a&61440)},sd:function(a){return 16384===(a&61440)},Ld:function(a){return 40960===(a&61440)},$d:function(a){return 8192===(a&61440)},Lf:function(a){return 24576===(a&61440)},isFIFO:function(a){return 4096===(a&61440)},isSocket:function(a){return 49152===(a&49152)},Df:{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},Sf:function(a){var b=J.Df[a];if("undefined"===
typeof b)throw Error("Unknown file open mode: "+a);return b},cf:function(a){var b=["r","w","rw"][a&3];a&512&&(b+="w");return b},Md:function(a,b){if(J.kf)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},Pf:function(a){var b=J.Md(a,"x");return b?b:a.nd.lookup?0:2},Je:function(a,b){try{return J.Gd(a,b),20}catch(c){}return J.Md(a,"wx")},qe:function(a,b,c){try{var d=J.Gd(a,b)}catch(f){return f.pd}if(a=
J.Md(a,"wx"))return a;if(c){if(!J.sd(d.mode))return 54;if(J.oe(d)||J.Fd(d)===J.cwd())return 10}else if(J.sd(d.mode))return 31;return 0},Qf:function(a,b){return a?J.Ld(a.mode)?32:J.sd(a.mode)&&("r"!==J.cf(b)||b&512)?31:J.Md(a,J.cf(b)):44},pf:4096,Uf:function(a,b){b=b||J.pf;for(a=a||0;a<=b;a++)if(!J.streams[a])return a;throw new J.ld(33);},Td:function(a){return J.streams[a]},Bf:function(a,b,c){J.me||(J.me=function(){},J.me.prototype={},Object.defineProperties(J.me.prototype,{object:{get:function(){return this.node},
set:function(a){this.node=a}}}));var d=new J.me,f;for(f in a)d[f]=a[f];a=d;b=J.Uf(b,c);a.fd=b;return J.streams[b]=a},vf:function(a){J.streams[a]=null},uf:{open:function(a){a.od=J.Hf(a.node.rdev).od;a.od.open&&a.od.open(a)},xd:function(){throw new J.ld(70);}},He:function(a){return a>>8},Ri:function(a){return a&255},Rd:function(a,b){return a<<8|b},Oe:function(a,b){J.Ze[a]={od:b}},Hf:function(a){return J.Ze[a]},ef:function(a){var b=[];for(a=[a];a.length;){var c=a.pop();b.push(c);a.push.apply(a,c.ge)}return b},
Qe:function(a,b){function c(a){J.se--;return b(a)}function d(a){if(a){if(!d.Rf)return d.Rf=!0,c(a)}else++g>=f.length&&c(null)}"function"===typeof a&&(b=a,a=!1);J.se++;1<J.se&&console.log("warning: "+J.se+" FS.syncfs operations in flight at once, probably just doing extra work");var f=J.ef(J.root.rd),g=0;f.forEach(function(b){if(!b.type.Qe)return d(null);b.type.Qe(b,a,d)})},rd:function(a,b,c){var d="/"===c,f=!c;if(d&&J.root)throw new J.ld(10);if(!d&&!f){var g=J.qd(c,{Ae:!1});c=g.path;g=g.node;if(J.Pd(g))throw new J.ld(10);
if(!J.sd(g.mode))throw new J.ld(54);}b={type:a,Vd:b,fe:c,ge:[]};a=a.rd(b);a.rd=b;b.root=a;d?J.root=a:g&&(g.ee=b,g.rd&&g.rd.ge.push(b));return a},Yi:function(a){a=J.qd(a,{Ae:!1});if(!J.Pd(a.node))throw new J.ld(28);a=a.node;var b=a.ee,c=J.ef(b);Object.keys(J.Hd).forEach(function(a){for(a=J.Hd[a];a;){var b=a.Sd;-1!==c.indexOf(a.rd)&&J.ze(a);a=b}});a.ee=null;a.rd.ge.splice(a.rd.ge.indexOf(b),1)},lookup:function(a,b){return a.nd.lookup(a,b)},Dd:function(a,b,c){var d=J.qd(a,{parent:!0}).node;a=vb(a);if(!a||
"."===a||".."===a)throw new J.ld(28);var f=J.Je(d,a);if(f)throw new J.ld(f);if(!d.nd.Dd)throw new J.ld(63);return d.nd.Dd(d,a,b,c)},create:function(a,b){return J.Dd(a,(void 0!==b?b:438)&4095|32768,0)},mkdir:function(a,b){return J.Dd(a,(void 0!==b?b:511)&1023|16384,0)},Si:function(a,b){a=a.split("/");for(var c="",d=0;d<a.length;++d)if(a[d]){c+="/"+a[d];try{J.mkdir(c,b)}catch(f){if(20!=f.pd)throw f;}}},re:function(a,b,c){"undefined"===typeof c&&(c=b,b=438);return J.Dd(a,b|8192,c)},symlink:function(a,
b){if(!zb(a))throw new J.ld(44);var c=J.qd(b,{parent:!0}).node;if(!c)throw new J.ld(44);b=vb(b);var d=J.Je(c,b);if(d)throw new J.ld(d);if(!c.nd.symlink)throw new J.ld(63);return c.nd.symlink(c,b,a)},rename:function(a,b){var c=ub(a),d=ub(b),f=vb(a),g=vb(b);try{var k=J.qd(a,{parent:!0});var n=k.node;k=J.qd(b,{parent:!0});var q=k.node}catch(w){throw new J.ld(10);}if(!n||!q)throw new J.ld(44);if(n.rd!==q.rd)throw new J.ld(75);k=J.Gd(n,f);d=Ab(a,d);if("."!==d.charAt(0))throw new J.ld(28);d=Ab(b,c);if("."!==
d.charAt(0))throw new J.ld(55);try{var u=J.Gd(q,g)}catch(w){}if(k!==u){c=J.sd(k.mode);if(f=J.qe(n,f,c))throw new J.ld(f);if(f=u?J.qe(q,g,c):J.Je(q,g))throw new J.ld(f);if(!n.nd.rename)throw new J.ld(63);if(J.Pd(k)||u&&J.Pd(u))throw new J.ld(10);if(q!==n&&(f=J.Md(n,"w")))throw new J.ld(f);try{J.vd.willMovePath&&J.vd.willMovePath(a,b)}catch(w){console.log("FS.trackingDelegate['willMovePath']('"+a+"', '"+b+"') threw an exception: "+w.message)}J.jf(k);try{n.nd.rename(k,q,g)}catch(w){throw w;}finally{J.hf(k)}try{if(J.vd.onMovePath)J.vd.onMovePath(a,
b)}catch(w){console.log("FS.trackingDelegate['onMovePath']('"+a+"', '"+b+"') threw an exception: "+w.message)}}},rmdir:function(a){var b=J.qd(a,{parent:!0}).node,c=vb(a),d=J.Gd(b,c),f=J.qe(b,c,!0);if(f)throw new J.ld(f);if(!b.nd.rmdir)throw new J.ld(63);if(J.Pd(d))throw new J.ld(10);try{J.vd.willDeletePath&&J.vd.willDeletePath(a)}catch(g){console.log("FS.trackingDelegate['willDeletePath']('"+a+"') threw an exception: "+g.message)}b.nd.rmdir(b,c);J.ze(d);try{if(J.vd.onDeletePath)J.vd.onDeletePath(a)}catch(g){console.log("FS.trackingDelegate['onDeletePath']('"+
a+"') threw an exception: "+g.message)}},readdir:function(a){a=J.qd(a,{Cd:!0}).node;if(!a.nd.readdir)throw new J.ld(54);return a.nd.readdir(a)},unlink:function(a){var b=J.qd(a,{parent:!0}).node,c=vb(a),d=J.Gd(b,c),f=J.qe(b,c,!1);if(f)throw new J.ld(f);if(!b.nd.unlink)throw new J.ld(63);if(J.Pd(d))throw new J.ld(10);try{J.vd.willDeletePath&&J.vd.willDeletePath(a)}catch(g){console.log("FS.trackingDelegate['willDeletePath']('"+a+"') threw an exception: "+g.message)}b.nd.unlink(b,c);J.ze(d);try{if(J.vd.onDeletePath)J.vd.onDeletePath(a)}catch(g){console.log("FS.trackingDelegate['onDeletePath']('"+
a+"') threw an exception: "+g.message)}},readlink:function(a){a=J.qd(a).node;if(!a)throw new J.ld(44);if(!a.nd.readlink)throw new J.ld(28);return zb(J.Fd(a.parent),a.nd.readlink(a))},stat:function(a,b){a=J.qd(a,{Cd:!b}).node;if(!a)throw new J.ld(44);if(!a.nd.Ad)throw new J.ld(63);return a.nd.Ad(a)},lstat:function(a){return J.stat(a,!0)},chmod:function(a,b,c){var d;"string"===typeof a?d=J.qd(a,{Cd:!c}).node:d=a;if(!d.nd.ud)throw new J.ld(63);d.nd.ud(d,{mode:b&4095|d.mode&-4096,timestamp:Date.now()})},
lchmod:function(a,b){J.chmod(a,b,!0)},fchmod:function(a,b){a=J.Td(a);if(!a)throw new J.ld(8);J.chmod(a.node,b)},chown:function(a,b,c,d){var f;"string"===typeof a?f=J.qd(a,{Cd:!d}).node:f=a;if(!f.nd.ud)throw new J.ld(63);f.nd.ud(f,{timestamp:Date.now()})},lchown:function(a,b,c){J.chown(a,b,c,!0)},fchown:function(a,b,c){a=J.Td(a);if(!a)throw new J.ld(8);J.chown(a.node,b,c)},truncate:function(a,b){if(0>b)throw new J.ld(28);var c;"string"===typeof a?c=J.qd(a,{Cd:!0}).node:c=a;if(!c.nd.ud)throw new J.ld(63);
if(J.sd(c.mode))throw new J.ld(31);if(!J.isFile(c.mode))throw new J.ld(28);if(a=J.Md(c,"w"))throw new J.ld(a);c.nd.ud(c,{size:b,timestamp:Date.now()})},Mi:function(a,b){a=J.Td(a);if(!a)throw new J.ld(8);if(0===(a.flags&2097155))throw new J.ld(28);J.truncate(a.node,b)},lg:function(a,b,c){a=J.qd(a,{Cd:!0}).node;a.nd.ud(a,{timestamp:Math.max(b,c)})},open:function(a,b,c,d,f){if(""===a)throw new J.ld(44);b="string"===typeof b?J.Sf(b):b;c=b&64?("undefined"===typeof c?438:c)&4095|32768:0;if("object"===typeof a)var g=
a;else{a=tb(a);try{g=J.qd(a,{Cd:!(b&131072)}).node}catch(n){}}var k=!1;if(b&64)if(g){if(b&128)throw new J.ld(20);}else g=J.Dd(a,c,0),k=!0;if(!g)throw new J.ld(44);J.$d(g.mode)&&(b&=-513);if(b&65536&&!J.sd(g.mode))throw new J.ld(54);if(!k&&(c=J.Qf(g,b)))throw new J.ld(c);b&512&&J.truncate(g,0);b&=-641;d=J.Bf({node:g,path:J.Fd(g),flags:b,seekable:!0,position:0,od:g.od,kg:[],error:!1},d,f);d.od.open&&d.od.open(d);!e.logReadFiles||b&1||(J.Le||(J.Le={}),a in J.Le||(J.Le[a]=1,console.log("FS.trackingDelegate error on read file: "+
a)));try{J.vd.onOpenFile&&(f=0,1!==(b&2097155)&&(f|=J.mf.lf.qf),0!==(b&2097155)&&(f|=J.mf.lf.rf),J.vd.onOpenFile(a,f))}catch(n){console.log("FS.trackingDelegate['onOpenFile']('"+a+"', flags) threw an exception: "+n.message)}return d},close:function(a){if(J.ae(a))throw new J.ld(8);a.Od&&(a.Od=null);try{a.od.close&&a.od.close(a)}catch(b){throw b;}finally{J.vf(a.fd)}a.fd=null},ae:function(a){return null===a.fd},xd:function(a,b,c){if(J.ae(a))throw new J.ld(8);if(!a.seekable||!a.od.xd)throw new J.ld(70);
if(0!=c&&1!=c&&2!=c)throw new J.ld(28);a.position=a.od.xd(a,b,c);a.kg=[];return a.position},read:function(a,b,c,d,f){if(0>d||0>f)throw new J.ld(28);if(J.ae(a))throw new J.ld(8);if(1===(a.flags&2097155))throw new J.ld(8);if(J.sd(a.node.mode))throw new J.ld(31);if(!a.od.read)throw new J.ld(28);var g="undefined"!==typeof f;if(!g)f=a.position;else if(!a.seekable)throw new J.ld(70);b=a.od.read(a,b,c,d,f);g||(a.position+=b);return b},write:function(a,b,c,d,f,g){if(0>d||0>f)throw new J.ld(28);if(J.ae(a))throw new J.ld(8);
if(0===(a.flags&2097155))throw new J.ld(8);if(J.sd(a.node.mode))throw new J.ld(31);if(!a.od.write)throw new J.ld(28);a.flags&1024&&J.xd(a,0,2);var k="undefined"!==typeof f;if(!k)f=a.position;else if(!a.seekable)throw new J.ld(70);b=a.od.write(a,b,c,d,f,g);k||(a.position+=b);try{if(a.path&&J.vd.onWriteToFile)J.vd.onWriteToFile(a.path)}catch(n){console.log("FS.trackingDelegate['onWriteToFile']('"+a.path+"') threw an exception: "+n.message)}return b},Yd:function(a,b,c){if(J.ae(a))throw new J.ld(8);if(0>
b||0>=c)throw new J.ld(28);if(0===(a.flags&2097155))throw new J.ld(8);if(!J.isFile(a.node.mode)&&!J.sd(a.node.mode))throw new J.ld(43);if(!a.od.Yd)throw new J.ld(138);a.od.Yd(a,b,c)},de:function(a,b,c,d,f,g,k){if(0!==(g&2)&&0===(k&2)&&2!==(a.flags&2097155))throw new J.ld(2);if(1===(a.flags&2097155))throw new J.ld(2);if(!a.od.de)throw new J.ld(43);return a.od.de(a,b,c,d,f,g,k)},he:function(a,b,c,d,f){return a&&a.od.he?a.od.he(a,b,c,d,f):0},Ti:function(){return 0},Ee:function(a,b,c){if(!a.od.Ee)throw new J.ld(59);
return a.od.Ee(a,b,c)},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 c,d=J.open(a,b.flags);a=J.stat(a).size;var f=new Uint8Array(a);J.read(d,f,0,a,0);"utf8"===b.encoding?c=La(f,0):"binary"===b.encoding&&(c=f);J.close(d);return c},writeFile:function(a,b,c){c=c||{};c.flags=c.flags||"w";a=J.open(a,c.flags,c.mode);if("string"===typeof b){var d=new Uint8Array(Ma(b)+
1);b=v(b,d,0,d.length);J.write(a,d,0,b,void 0,c.Ue)}else if(ArrayBuffer.isView(b))J.write(a,b,0,b.byteLength,void 0,c.Ue);else throw Error("Unsupported data type");J.close(a)},cwd:function(){return J.Xe},chdir:function(a){a=J.qd(a,{Cd:!0});if(null===a.node)throw new J.ld(44);if(!J.sd(a.node.mode))throw new J.ld(54);var b=J.Md(a.node,"x");if(b)throw new J.ld(b);J.Xe=a.path},xf:function(){J.mkdir("/tmp");J.mkdir("/home");J.mkdir("/home/web_user")},wf:function(){J.mkdir("/dev");J.Oe(J.Rd(1,3),{read:function(){return 0},
write:function(a,b,c,k){return k}});J.re("/dev/null",J.Rd(1,3));Cb(J.Rd(5,0),Fb);Cb(J.Rd(6,0),Gb);J.re("/dev/tty",J.Rd(5,0));J.re("/dev/tty1",J.Rd(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(l)try{var c=require("crypto");b=function(){return c.randomBytes(1)[0]}}catch(d){}b||(b=function(){p("random_device")});J.Kd("/dev","random",b);J.Kd("/dev","urandom",b);J.mkdir("/dev/shm");
J.mkdir("/dev/shm/tmp")},zf:function(){J.mkdir("/proc");J.mkdir("/proc/self");J.mkdir("/proc/self/fd");J.rd({rd:function(){var a=J.createNode("/proc/self","fd",16895,73);a.nd={lookup:function(a,c){var b=J.Td(+c);if(!b)throw new J.ld(8);a={parent:null,rd:{fe:"fake"},nd:{readlink:function(){return b.path}}};return a.parent=a}};return a}},{},"/proc/self/fd")},Af:function(){e.stdin?J.Kd("/dev","stdin",e.stdin):J.symlink("/dev/tty","/dev/stdin");e.stdout?J.Kd("/dev","stdout",null,e.stdout):J.symlink("/dev/tty",
"/dev/stdout");e.stderr?J.Kd("/dev","stderr",null,e.stderr):J.symlink("/dev/tty1","/dev/stderr");J.open("/dev/stdin","r");J.open("/dev/stdout","w");J.open("/dev/stderr","w")},$e:function(){J.ld||(J.ld=function(a,b){this.node=b;this.dg=function(a){this.pd=a};this.dg(a);this.message="FS error"},J.ld.prototype=Error(),J.ld.prototype.constructor=J.ld,[44].forEach(function(a){J.Be[a]=new J.ld(a);J.Be[a].stack="<generic error, no stack>"}))},Pe:function(){J.$e();J.Hd=Array(4096);J.rd(M,{},"/");J.xf();J.wf();
J.zf();J.Cf={MEMFS:M,IDBFS:N,NODEFS:O,WORKERFS:P}},Zd:function(a,b,c){J.Zd.De=!0;J.$e();e.stdin=a||e.stdin;e.stdout=b||e.stdout;e.stderr=c||e.stderr;J.Af()},quit:function(){J.Zd.De=!1;var a=e._fflush;a&&a(0);for(a=0;a<J.streams.length;a++){var b=J.streams[a];b&&J.close(b)}},Nd:function(a,b){var c=0;a&&(c|=365);b&&(c|=146);return c},Pi:function(a,b){a=xb.apply(null,a);b&&"/"==a[0]&&(a=a.substr(1));return a},Di:function(a,b){return zb(b,a)},Wi:function(a){return tb(a)},Li:function(a,b){a=J.xe(a,b);
if(a.exists)return a.object;yb(a.error);return null},xe:function(a,b){try{var c=J.qd(a,{Cd:!b});a=c.path}catch(f){}var d={oe:!1,exists:!1,error:0,name:null,path:null,object:null,Vf:!1,Xf:null,Wf:null};try{c=J.qd(a,{parent:!0}),d.Vf=!0,d.Xf=c.path,d.Wf=c.node,d.name=vb(a),c=J.qd(a,{Cd:!b}),d.exists=!0,d.path=c.path,d.object=c.node,d.name=c.node.name,d.oe="/"===c.path}catch(f){d.error=f.pd}return d},Gi:function(a,b,c,d){a=I("string"===typeof a?a:J.Fd(a),b);c=J.Nd(c,d);return J.mkdir(a,c)},Ji:function(a,
b){a="string"===typeof a?a:J.Fd(a);for(b=b.split("/").reverse();b.length;){var c=b.pop();if(c){var d=I(a,c);try{J.mkdir(d)}catch(f){}a=d}}return d},yf:function(a,b,c,d,f){a=I("string"===typeof a?a:J.Fd(a),b);d=J.Nd(d,f);return J.create(a,d)},We:function(a,b,c,d,f,g){a=b?I("string"===typeof a?a:J.Fd(a),b):a;d=J.Nd(d,f);f=J.create(a,d);if(c){if("string"===typeof c){a=Array(c.length);b=0;for(var k=c.length;b<k;++b)a[b]=c.charCodeAt(b);c=a}J.chmod(f,d|146);a=J.open(f,"w");J.write(a,c,0,c.length,0,g);
J.close(a);J.chmod(f,d)}return f},Kd:function(a,b,c,d){a=I("string"===typeof a?a:J.Fd(a),b);b=J.Nd(!!c,!!d);J.Kd.He||(J.Kd.He=64);var f=J.Rd(J.Kd.He++,0);J.Oe(f,{open:function(a){a.seekable=!1},close:function(){d&&d.buffer&&d.buffer.length&&d(10)},read:function(a,b,d,f){for(var g=0,k=0;k<f;k++){try{var n=c()}catch(sa){throw new J.ld(29);}if(void 0===n&&0===g)throw new J.ld(6);if(null===n||void 0===n)break;g++;b[d+k]=n}g&&(a.node.timestamp=Date.now());return g},write:function(a,b,c,f){for(var g=0;g<
f;g++)try{d(b[c+g])}catch(w){throw new J.ld(29);}f&&(a.node.timestamp=Date.now());return g}});return J.re(a,b,f)},Ii:function(a,b,c){a=I("string"===typeof a?a:J.Fd(a),b);return J.symlink(c,a)},df:function(a){if(a.Fe||a.Mf||a.link||a.md)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(ja)try{a.md=Eb(ja(a.url),!0),a.td=a.md.length}catch(c){b=!1}else throw Error("Cannot load without read() or XMLHttpRequest.");b||yb(29);return b},Hi:function(a,b,c,d,f){function g(){this.Ge=!1;this.ne=[]}g.prototype.get=function(a){if(!(a>this.length-1||0>a)){var b=a%this.chunkSize;return this.gf(a/this.chunkSize|0)[b]}};g.prototype.cg=function(a){this.gf=a};g.prototype.Te=function(){var a=new XMLHttpRequest;a.open("HEAD",c,!1);a.send(null);if(!(200<=a.status&&300>a.status||304===a.status))throw Error("Couldn't load "+
c+". Status: "+a.status);var b=Number(a.getResponseHeader("Content-length")),d,f=(d=a.getResponseHeader("Accept-Ranges"))&&"bytes"===d;a=(d=a.getResponseHeader("Content-Encoding"))&&"gzip"===d;var g=1048576;f||(g=b);var k=this;k.cg(function(a){var d=a*g,f=(a+1)*g-1;f=Math.min(f,b-1);if("undefined"===typeof k.ne[a]){var ka=k.ne;if(d>f)throw Error("invalid range ("+d+", "+f+") or no bytes requested!");if(f>b-1)throw Error("only "+b+" bytes available! programmer error!");var n=new XMLHttpRequest;n.open("GET",
c,!1);b!==g&&n.setRequestHeader("Range","bytes="+d+"-"+f);"undefined"!=typeof Uint8Array&&(n.responseType="arraybuffer");n.overrideMimeType&&n.overrideMimeType("text/plain; charset=x-user-defined");n.send(null);if(!(200<=n.status&&300>n.status||304===n.status))throw Error("Couldn't load "+c+". Status: "+n.status);d=void 0!==n.response?new Uint8Array(n.response||[]):Eb(n.responseText||"",!0);ka[a]=d}if("undefined"===typeof k.ne[a])throw Error("doXHR failed!");return k.ne[a]});if(a||!b)g=b=1,g=b=this.gf(0).length,
console.log("LazyFiles on gzip forces download of the whole file when length is accessed");this.tf=b;this.sf=g;this.Ge=!0};if("undefined"!==typeof XMLHttpRequest){if(!h)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var k=new g;Object.defineProperties(k,{length:{get:function(){this.Ge||this.Te();return this.tf}},chunkSize:{get:function(){this.Ge||this.Te();return this.sf}}});k={Fe:!1,md:k}}else k={Fe:!1,url:c};var n=J.yf(a,
b,k,d,f);k.md?n.md=k.md:k.url&&(n.md=null,n.url=k.url);Object.defineProperties(n,{td:{get:function(){return this.md.length}}});var q={};Object.keys(n.od).forEach(function(a){var b=n.od[a];q[a]=function(){if(!J.df(n))throw new J.ld(29);return b.apply(null,arguments)}});q.read=function(a,b,c,d,f){if(!J.df(n))throw new J.ld(29);a=a.node.md;if(f>=a.length)return 0;d=Math.min(a.length-f,d);if(a.slice)for(var g=0;g<d;g++)b[c+g]=a[f+g];else for(g=0;g<d;g++)b[c+g]=a.get(f+g);return d};n.od=q;return n},Ki:function(a,
b,c,d,f,g,k,n,q,u){function w(c){function ka(c){u&&u();n||J.We(a,b,c,d,f,q);g&&g();hb()}var w=!1;e.preloadPlugins.forEach(function(a){!w&&a.canHandle(L)&&(a.handle(c,L,ka,function(){k&&k();hb()}),w=!0)});w||ka(c)}(void 0).Zd();var L=b?zb(I(a,b)):a;gb();"string"==typeof c?(void 0).Fi(c,function(a){w(a)},k):w(c)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},Re:function(){return"EM_FS_"+window.location.pathname},ke:20,yd:"FILE_DATA",Vi:function(a,
b,c){b=b||function(){};c=c||function(){};var d=J.indexedDB();try{var f=d.open(J.Re(),J.ke)}catch(g){return c(g)}f.onupgradeneeded=function(){console.log("creating db");f.result.createObjectStore(J.yd)};f.onsuccess=function(){var d=f.result.transaction([J.yd],"readwrite"),k=d.objectStore(J.yd),n=0,q=0,u=a.length;a.forEach(function(a){a=k.put(J.xe(a).object.md,a);a.onsuccess=function(){n++;n+q==u&&(0==q?b():c())};a.onerror=function(){q++;n+q==u&&(0==q?b():c())}});d.onerror=c};f.onerror=c},Qi:function(a,
b,c){b=b||function(){};c=c||function(){};var d=J.indexedDB();try{var f=d.open(J.Re(),J.ke)}catch(g){return c(g)}f.onupgradeneeded=c;f.onsuccess=function(){var d=f.result;try{var k=d.transaction([J.yd],"readonly")}catch(L){c(L);return}var n=k.objectStore(J.yd),q=0,u=0,w=a.length;a.forEach(function(a){var d=n.get(a);d.onsuccess=function(){J.xe(a).exists&&J.unlink(a);J.We(ub(a),vb(a),d.result,!0,!0,!0);q++;q+u==w&&(0==u?b():c())};d.onerror=function(){u++;q+u==w&&(0==u?b():c())}});k.onerror=c};f.onerror=
c}};
function Jb(a,b,c){try{var d=a(b)}catch(f){if(f&&f.node&&tb(b)!==tb(J.Fd(f.node)))return-54;throw f;}t[c>>2]=d.dev;t[c+4>>2]=0;t[c+8>>2]=d.ino;t[c+12>>2]=d.mode;t[c+16>>2]=d.nlink;t[c+20>>2]=d.uid;t[c+24>>2]=d.gid;t[c+28>>2]=d.rdev;t[c+32>>2]=0;G=[d.size>>>0,(F=d.size,1<=+B(F)?0<F?(E(+D(F/4294967296),4294967295)|0)>>>0:~~+C((F-+(~~F>>>0))/4294967296)>>>0:0)];t[c+40>>2]=G[0];t[c+44>>2]=G[1];t[c+48>>2]=4096;t[c+52>>2]=d.blocks;t[c+56>>2]=d.atime.getTime()/1E3|0;t[c+60>>2]=0;t[c+64>>2]=d.mtime.getTime()/1E3|
0;t[c+68>>2]=0;t[c+72>>2]=d.ctime.getTime()/1E3|0;t[c+76>>2]=0;G=[d.ino>>>0,(F=d.ino,1<=+B(F)?0<F?(E(+D(F/4294967296),4294967295)|0)>>>0:~~+C((F-+(~~F>>>0))/4294967296)>>>0:0)];t[c+80>>2]=G[0];t[c+84>>2]=G[1];return 0}var R=0;function S(){R+=4;return t[R-4>>2]}function Kb(){return z(S())}function T(a){void 0===a&&(a=S());a=J.Td(a);if(!a)throw new J.ld(8);return a}function Lb(a){try{var b=T(a);J.close(b);return 0}catch(c){return"undefined"!==typeof J&&c instanceof J.ld||p(c),c.pd}}
function Mb(a,b){try{var c=T(a);y[b>>0]=c.tty?2:J.sd(c.mode)?3:J.Ld(c.mode)?7:4;return 0}catch(d){return"undefined"!==typeof J&&d instanceof J.ld||p(d),d.pd}}function Nb(a,b,c,d){try{a:{for(var f=T(a),g=a=0;g<c;g++){var k=t[b+(8*g+4)>>2],n=J.read(f,y,t[b+8*g>>2],k,void 0);if(0>n){var q=-1;break a}a+=n;if(n<k)break}q=a}t[d>>2]=q;return 0}catch(u){return"undefined"!==typeof J&&u instanceof J.ld||p(u),u.pd}}
function Ob(a,b,c,d,f){try{var g=T(a);a=4294967296*c+(b>>>0);if(-9007199254740992>=a||9007199254740992<=a)return-61;J.xd(g,a,d);G=[g.position>>>0,(F=g.position,1<=+B(F)?0<F?(E(+D(F/4294967296),4294967295)|0)>>>0:~~+C((F-+(~~F>>>0))/4294967296)>>>0:0)];t[f>>2]=G[0];t[f+4>>2]=G[1];g.Od&&0===a&&0===d&&(g.Od=null);return 0}catch(k){return"undefined"!==typeof J&&k instanceof J.ld||p(k),k.pd}}
function Pb(a,b,c,d){try{a:{for(var f=T(a),g=a=0;g<c;g++){var k=J.write(f,y,t[b+8*g>>2],t[b+(8*g+4)>>2],void 0);if(0>k){var n=-1;break a}a+=k}n=a}t[d>>2]=n;return 0}catch(q){return"undefined"!==typeof J&&q instanceof J.ld||p(q),q.pd}}function Qb(){void 0===Qb.start&&(Qb.start=Date.now());return 1E3*(Date.now()-Qb.start)|0}function Rb(){p()}function wa(){return y.length}var Sb=1,Tb=0,Ub=[],U=[],Vb=[],Wb=[],Xb=[],V=[],W=[],ac=[],X=[],bc={},cc={},dc=4;function Y(a){Tb||(Tb=a)}
function ec(a){for(var b=Sb++,c=a.length;c<b;c++)a[c]=null;return b}var fc=null,hc=[0],ic,jc,kc=[];function lc(a,b,c,d){for(var f=0;f<a;f++){var g=Z[c](),k=g&&ec(d);g?(g.name=k,d[k]=g):Y(1282);t[b+4*f>>2]=k}}
function mc(a,b,c){if(b){var d=void 0;switch(a){case 36346:d=1;break;case 36344:0!=c&&1!=c&&Y(1280);return;case 36345:d=0;break;case 34466:var f=Z.getParameter(34467);d=f?f.length:0}if(void 0===d)switch(f=Z.getParameter(a),typeof f){case "number":d=f;break;case "boolean":d=f?1:0;break;case "string":Y(1280);return;case "object":if(null===f)switch(a){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 34068:d=0;break;default:Y(1280);return}else{if(f instanceof Float32Array||
f instanceof Uint32Array||f instanceof Int32Array||f instanceof Array){for(a=0;a<f.length;++a)switch(c){case 0:t[b+4*a>>2]=f[a];break;case 2:A[b+4*a>>2]=f[a];break;case 4:y[b+a>>0]=f[a]?1:0}return}try{d=f.name|0}catch(g){Y(1280);r("GL_INVALID_ENUM in glGet"+c+"v: Unknown object returned from WebGL getParameter("+a+")! (error: "+g+")");return}}break;default:Y(1280);r("GL_INVALID_ENUM in glGet"+c+"v: Native code calling glGet"+c+"v("+a+") and it returns "+f+" of type "+typeof f+"!");return}switch(c){case 1:G=
[d>>>0,(F=d,1<=+B(F)?0<F?(E(+D(F/4294967296),4294967295)|0)>>>0:~~+C((F-+(~~F>>>0))/4294967296)>>>0:0)];t[b>>2]=G[0];t[b+4>>2]=G[1];break;case 0:t[b>>2]=d;break;case 2:A[b>>2]=d;break;case 4:y[b>>0]=d?1:0}}else Y(1281)}function nc(a){var b=Ma(a)+1,c=Ja(b);v(a,x,c,b);return c}
function oc(a,b,c,d){if(c)if(a=Z.getUniform(U[a],V[b]),"number"==typeof a||"boolean"==typeof a)switch(d){case 0:t[c>>2]=a;break;case 2:A[c>>2]=a;break;default:throw"internal emscriptenWebGLGetUniform() error, bad type: "+d;}else for(b=0;b<a.length;b++)switch(d){case 0:t[c+4*b>>2]=a[b];break;case 2:A[c+4*b>>2]=a[b];break;default:throw"internal emscriptenWebGLGetUniform() error, bad type: "+d;}else Y(1281)}
function pc(a,b,c,d){if(c)if(a=Z.getVertexAttrib(a,b),34975==b)t[c>>2]=a.name;else if("number"==typeof a||"boolean"==typeof a)switch(d){case 0:t[c>>2]=a;break;case 2:A[c>>2]=a;break;case 5:t[c>>2]=Math.fround(a);break;default:throw"internal emscriptenWebGLGetVertexAttrib() error, bad type: "+d;}else for(b=0;b<a.length;b++)switch(d){case 0:t[c+4*b>>2]=a[b];break;case 2:A[c+4*b>>2]=a[b];break;case 5:t[c+4*b>>2]=Math.fround(a[b]);break;default:throw"internal emscriptenWebGLGetVertexAttrib() error, bad type: "+
d;}else Y(1281)}var qc={6402:1,6406:1,6407:3,6408:4,6409:1,6410:2,35904:3,35906:4},rc={5121:1,5123:2,5125:4,5126:4,32819:2,32820:2,33635:2,34042:4,36193:2};function sc(a,b,c,d,f){if(b=qc[b]*rc[a]){var g=dc;c=f+d*(c*b+g-1&-g);switch(a){case 5121:return x.subarray(f,c);case 5126:return A.subarray(f>>2,c>>2);case 5125:case 34042:return Qa.subarray(f>>2,c>>2);case 5123:case 33635:case 32819:case 32820:case 36193:return Pa.subarray(f>>1,c>>1);default:Y(1280)}}else Y(1280)}
2020-03-31 18:05:42 +01:00
function tc(a){if(0===a)return 0;a=z(a);if(!H.hasOwnProperty(a))return 0;tc.Qd&&uc(tc.Qd);a=H[a];var b=Ma(a)+1,c=Ja(b);c&&v(a,y,c,b);tc.Qd=c;return tc.Qd}var vc=(v("GMT",x,1924304,4),1924304);
2020-03-20 17:21:53 +00:00
function wc(a,b){a=new Date(1E3*t[a>>2]);t[b>>2]=a.getUTCSeconds();t[b+4>>2]=a.getUTCMinutes();t[b+8>>2]=a.getUTCHours();t[b+12>>2]=a.getUTCDate();t[b+16>>2]=a.getUTCMonth();t[b+20>>2]=a.getUTCFullYear()-1900;t[b+24>>2]=a.getUTCDay();t[b+36>>2]=0;t[b+32>>2]=0;t[b+28>>2]=(a.getTime()-Date.UTC(a.getUTCFullYear(),0,1,0,0,0,0))/864E5|0;t[b+40>>2]=vc;return b}function xc(a){return Math.pow(2,a)}function yc(a){return Math.log(a)/Math.LN2}
function zc(){function a(a){return(a=a.toTimeString().match(/\(([A-Za-z ]+)\)$/))?a[1]:"GMT"}if(!Ac){Ac=!0;t[Bc()>>2]=60*(new Date).getTimezoneOffset();var b=(new Date).getFullYear(),c=new Date(b,0,1);b=new Date(b,6,1);t[Cc()>>2]=Number(c.getTimezoneOffset()!=b.getTimezoneOffset());var d=a(c),f=a(b);d=Ia(Eb(d));f=Ia(Eb(f));b.getTimezoneOffset()<c.getTimezoneOffset()?(t[Dc()>>2]=d,t[Dc()+4>>2]=f):(t[Dc()>>2]=f,t[Dc()+4>>2]=d)}}var Ac;
function Gc(a,b){zc();a=new Date(1E3*t[a>>2]);t[b>>2]=a.getSeconds();t[b+4>>2]=a.getMinutes();t[b+8>>2]=a.getHours();t[b+12>>2]=a.getDate();t[b+16>>2]=a.getMonth();t[b+20>>2]=a.getFullYear()-1900;t[b+24>>2]=a.getDay();var c=new Date(a.getFullYear(),0,1);t[b+28>>2]=(a.getTime()-c.getTime())/864E5|0;t[b+36>>2]=-(60*a.getTimezoneOffset());var d=(new Date(a.getFullYear(),6,1)).getTimezoneOffset();c=c.getTimezoneOffset();a=(d!=c&&a.getTimezoneOffset()==Math.min(c,d))|0;t[b+32>>2]=a;a=t[Dc()+(a?4:0)>>2];
t[b+40>>2]=a;return b}function Hc(a){return 0===a%4&&(0!==a%100||0===a%400)}function Ic(a,b){for(var c=0,d=0;d<=b;c+=a[d++]);return c}var Jc=[31,29,31,30,31,30,31,31,30,31,30,31],Kc=[31,28,31,30,31,30,31,31,30,31,30,31];function Lc(a,b){for(a=new Date(a.getTime());0<b;){var c=a.getMonth(),d=(Hc(a.getFullYear())?Jc:Kc)[c];if(b>d-a.getDate())b-=d-a.getDate()+1,a.setDate(1),11>c?a.setMonth(c+1):(a.setMonth(0),a.setFullYear(a.getFullYear()+1));else{a.setDate(a.getDate()+b);break}}return a}J.Pe();
if(ha){var fs=require("fs"),Ib=require("path");O.Pe()}l?Rb=function(){var a=process.hrtime();return 1E3*a[0]+a[1]/1E6}:"undefined"!==typeof dateNow?Rb=dateNow:"object"===typeof performance&&performance&&"function"===typeof performance.now?Rb=function(){return performance.now()}:Rb=Date.now;var Z;fc=new Float32Array(256);for(var Mc=0;256>Mc;Mc++)hc[Mc]=fc.subarray(0,Mc+1);for(var Nc=0;32>Nc;Nc++)kc.push(Array(Nc));var Oc=!1;
function Eb(a,b){var c=Array(Ma(a)+1);a=v(a,c,0,c.length);b&&(c.length=a);return c}function ra(a){for(var b=[],c=0;c<a.length;c++){var d=a[c];255<d&&(Oc&&assert(!1,"Character code "+d+" ("+String.fromCharCode(d)+") at offset "+c+" not in 0x00-0xFF."),d&=255);b.push(String.fromCharCode(d))}return b.join("")}
var Pc="function"===typeof atob?atob:function(a){var b="",c=0;a=a.replace(/[^A-Za-z0-9\+\/=]/g,"");do{var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(c++));var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(c++));var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(c++));var k="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(a.charAt(c++));d=d<<2|f>>4;
f=(f&15)<<4|g>>2;var n=(g&3)<<6|k;b+=String.fromCharCode(d);64!==g&&(b+=String.fromCharCode(f));64!==k&&(b+=String.fromCharCode(n))}while(c<a.length);return b};
function pa(a){if(jb(a)){a=a.slice(ib.length);if("boolean"===typeof l&&l){try{var b=Buffer.from(a,"base64")}catch(g){b=new Buffer(a,"base64")}var c=new Uint8Array(b.buffer,b.byteOffset,b.byteLength)}else try{var d=Pc(a),f=new Uint8Array(d.length);for(b=0;b<d.length;++b)f[b]=d.charCodeAt(b);c=f}catch(g){throw Error("Converting base64 string to bytes failed.");}return c}}
2020-03-31 18:05:42 +01:00
var ob={j:function(a,b,c,d){p("Assertion failed: "+z(a)+", at: "+[b?z(b):"unknown filename",c,d?z(d):"unknown function"])},ab:rb,Sa:function(){},Ha:function(a,b){R=b;try{var c=Kb();J.unlink(c);return 0}catch(d){return"undefined"!==typeof J&&d instanceof J.ld||p(d),-d.pd}},wa:function(a,b){R=b;try{var c=S(),d=S(),f=S(),g=S();S();a=0;for(var k=d?t[d>>2]:0,n=d?t[d+4>>2]:0,q=f?t[f>>2]:0,u=f?t[f+4>>2]:0,w=g?t[g>>2]:0,L=g?t[g+4>>2]:0,sa=b=0,ka=0,Yb=0,Zb=0,$b=0,Ec=(d?t[d>>2]:0)|(f?t[f>>2]:0)|(g?t[g>>2]:
0),Fc=(d?t[d+4>>2]:0)|(f?t[f+4>>2]:0)|(g?t[g+4>>2]:0),Q=0;Q<c;Q++){var K=1<<Q%32;if(32>Q?Ec&K:Fc&K){var Wa=J.Td(Q);if(!Wa)throw new J.ld(8);var Xa=5;Wa.od.Yf&&(Xa=Wa.od.Yf(Wa));Xa&1&&(32>Q?k&K:n&K)&&(32>Q?b|=K:sa|=K,a++);Xa&4&&(32>Q?q&K:u&K)&&(32>Q?ka|=K:Yb|=K,a++);Xa&2&&(32>Q?w&K:L&K)&&(32>Q?Zb|=K:$b|=K,a++)}}d&&(t[d>>2]=b,t[d+4>>2]=sa);f&&(t[f>>2]=ka,t[f+4>>2]=Yb);g&&(t[g>>2]=Zb,t[g+4>>2]=$b);return a}catch(wb){return"undefined"!==typeof J&&wb instanceof J.ld||p(wb),-wb.pd}},la:function(a,b){R=
b;try{var c=Kb(),d=S();return Jb(J.stat,c,d)}catch(f){return"undefined"!==typeof J&&f instanceof J.ld||p(f),-f.pd}},aa:function(a,b){R=b;try{var c=Kb(),d=S();return Jb(J.lstat,c,d)}catch(f){return"undefined"!==typeof J&&f instanceof J.ld||p(f),-f.pd}},R:function(a,b){R=b;try{var c=T(),d=S();return Jb(J.stat,c.path,d)}catch(f){return"undefined"!==typeof J&&f instanceof J.ld||p(f),-f.pd}},G:function(a,b){R=b;try{var c=T(),d=S(),f=S();c.Od||(c.Od=J.readdir(c.path));a=0;for(var g=J.xd(c,0,1),k=Math.floor(g/
2020-03-20 17:21:53 +00:00
280);k<c.Od.length&&a+280<=f;){var n=c.Od[k];if("."===n[0]){var q=1;var u=4}else{var w=J.Gd(c.node,n);q=w.id;u=J.$d(w.mode)?2:J.sd(w.mode)?4:J.Ld(w.mode)?10:8}G=[q>>>0,(F=q,1<=+B(F)?0<F?(E(+D(F/4294967296),4294967295)|0)>>>0:~~+C((F-+(~~F>>>0))/4294967296)>>>0:0)];t[d+a>>2]=G[0];t[d+a+4>>2]=G[1];G=[280*(k+1)>>>0,(F=280*(k+1),1<=+B(F)?0<F?(E(+D(F/4294967296),4294967295)|0)>>>0:~~+C((F-+(~~F>>>0))/4294967296)>>>0:0)];t[d+a+8>>2]=G[0];t[d+a+12>>2]=G[1];Oa[d+a+16>>1]=280;y[d+a+18>>0]=u;v(n,x,d+a+19,256);
2020-03-31 18:05:42 +01:00
a+=280;k+=1}J.xd(c,280*k,0);return a}catch(L){return"undefined"!==typeof J&&L instanceof J.ld||p(L),-L.pd}},n:function(a,b){R=b;try{var c=T();switch(S()){case 0:var d=S();return 0>d?-28:J.open(c.path,c.flags,0,d).fd;case 1:case 2:return 0;case 3:return c.flags;case 4:return d=S(),c.flags|=d,0;case 12:return d=S(),Oa[d+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return yb(28),-1;default:return-28}}catch(f){return"undefined"!==typeof J&&f instanceof J.ld||p(f),-f.pd}},Oc:function(a,
2020-03-20 17:21:53 +00:00
b){R=b;try{var c=T(),d=S(),f=S();return J.read(c,y,d,f)}catch(g){return"undefined"!==typeof J&&g instanceof J.ld||p(g),-g.pd}},Dc:function(a,b){R=b;try{var c=Kb();var d=S();if(d&-8)var f=-28;else{var g;(g=J.qd(c,{Cd:!0}).node)?(a="",d&4&&(a+="r"),d&2&&(a+="w"),d&1&&(a+="x"),f=a&&J.Md(g,a)?-2:0):f=-44}return f}catch(k){return"undefined"!==typeof J&&k instanceof J.ld||p(k),-k.pd}},sc:function(a,b){R=b;try{S();S();S();var c=S();c&&(t[c>>2]=-1,t[c+4>>2]=-1,t[c+8>>2]=-1,t[c+12>>2]=-1);return 0}catch(d){return"undefined"!==
2020-03-31 18:05:42 +01:00
typeof J&&d instanceof J.ld||p(d),-d.pd}},hc:function(a,b){R=b;try{var c=Kb(),d=Kb();J.rename(c,d);return 0}catch(f){return"undefined"!==typeof J&&f instanceof J.ld||p(f),-f.pd}},Yb:function(a,b){R=b;try{var c=T(),d=S(),f=S();return J.write(c,y,d,f)}catch(g){return"undefined"!==typeof J&&g instanceof J.ld||p(g),-g.pd}},Nb:function(a,b){R=b;try{var c=Kb();J.rmdir(c);return 0}catch(d){return"undefined"!==typeof J&&d instanceof J.ld||p(d),-d.pd}},v:function(a,b){R=b;try{var c=Kb(),d=S(),f=S();return J.open(c,
d,f).fd}catch(g){return"undefined"!==typeof J&&g instanceof J.ld||p(g),-g.pd}},u:function(a,b){R=b;try{var c=T(),d=S();switch(d){case 21509:case 21505:return c.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return c.tty?0:-59;case 21519:if(!c.tty)return-59;var f=S();return t[f>>2]=0;case 21520:return c.tty?-28:-59;case 21531:return f=S(),J.Ee(c,d,f);case 21523:return c.tty?0:-59;case 21524:return c.tty?0:-59;default:p("bad ioctl syscall "+d)}}catch(g){return"undefined"!==
typeof J&&g instanceof J.ld||p(g),-g.pd}},ib:function(a,b){R=b;return 0},$a:function(a,b){R=b;try{S();var c=S();Qc(c,0,136);t[c>>2]=1;t[c+4>>2]=2;t[c+8>>2]=3;t[c+12>>2]=4;return 0}catch(d){return"undefined"!==typeof J&&d instanceof J.ld||p(d),-d.pd}},l:function(){},h:function(){return Lb.apply(null,arguments)},o:function(){return Mb.apply(null,arguments)},Xa:function(){return Nb.apply(null,arguments)},Ya:function(){return Ob.apply(null,arguments)},Wa:function(){return Pb.apply(null,arguments)},__memory_base:1024,
__table_base:0,a:function(){p()},Va:Qb,Ua:function(a,b){if(0===a)a=Date.now();else if(1===a&&(l||"undefined"!==typeof dateNow||"object"===typeof performance&&performance&&"function"===typeof performance.now))a=Rb();else return yb(28),-1;t[b>>2]=a/1E3|0;t[b+4>>2]=a%1E3*1E6|0;return 0},Ta:wa,Ra:function(a){Z.activeTexture(a)},Qa:function(a,b){Z.attachShader(U[a],W[b])},Pa:function(a,b){Z.Ed.beginQueryEXT(a,X[b])},Oa:function(a,b,c){Z.bindAttribLocation(U[a],b,z(c))},Na:function(a,b){Z.bindBuffer(a,
Ub[b])},Ma:function(a,b){Z.bindFramebuffer(a,Vb[b])},La:function(a,b){Z.bindRenderbuffer(a,Wb[b])},Ka:function(a,b){Z.bindTexture(a,Xb[b])},Ja:function(a){Z.bindVertexArray(ac[a])},Ia:function(a,b,c,d){Z.blendColor(a,b,c,d)},Ga:function(a){Z.blendEquation(a)},Fa:function(a,b){Z.blendEquationSeparate(a,b)},Ea:function(a,b){Z.blendFunc(a,b)},Da:function(a,b,c,d){Z.blendFuncSeparate(a,b,c,d)},Ca:function(a,b,c,d){Z.bufferData(a,c?x.subarray(c,c+b):b,d)},Ba:function(a,b,c,d){Z.bufferSubData(a,b,x.subarray(d,
d+c))},Aa:function(a){return Z.checkFramebufferStatus(a)},za:function(a){Z.clear(a)},ya:function(a,b,c,d){Z.clearColor(a,b,c,d)},xa:function(a){Z.clearDepth(a)},va:function(a){Z.clearStencil(a)},ua:function(a,b,c,d){Z.colorMask(!!a,!!b,!!c,!!d)},ta:function(a){Z.compileShader(W[a])},sa:function(a,b,c,d,f,g,k,n){Z.compressedTexImage2D(a,b,c,d,f,g,n?x.subarray(n,n+k):null)},ra:function(a,b,c,d,f,g,k,n,q){Z.compressedTexSubImage2D(a,b,c,d,f,g,k,q?x.subarray(q,q+n):null)},qa:function(a,b,c,d,f,g,k,n){Z.copyTexImage2D(a,
b,c,d,f,g,k,n)},pa:function(a,b,c,d,f,g,k,n){Z.copyTexSubImage2D(a,b,c,d,f,g,k,n)},oa:function(){var a=ec(U),b=Z.createProgram();b.name=a;U[a]=b;return a},na:function(a){var b=ec(W);W[b]=Z.createShader(a);return b},ma:function(a){Z.cullFace(a)},ka:function(a,b){for(var c=0;c<a;c++){var d=t[b+4*c>>2],f=Ub[d];f&&(Z.deleteBuffer(f),f.name=0,Ub[d]=null,d==ic&&(ic=0),d==jc&&(jc=0))}},ja:function(a,b){for(var c=0;c<a;++c){var d=t[b+4*c>>2],f=Vb[d];f&&(Z.deleteFramebuffer(f),f.name=0,Vb[d]=null)}},ia:function(a){if(a){var b=
U[a];b?(Z.deleteProgram(b),b.name=0,U[a]=null,bc[a]=null):Y(1281)}},ha:function(a,b){for(var c=0;c<a;c++){var d=t[b+4*c>>2],f=X[d];f&&(Z.Ed.deleteQueryEXT(f),X[d]=null)}},ga:function(a,b){for(var c=0;c<a;c++){var d=t[b+4*c>>2],f=Wb[d];f&&(Z.deleteRenderbuffer(f),f.name=0,Wb[d]=null)}},fa:function(a){if(a){var b=W[a];b?(Z.deleteShader(b),W[a]=null):Y(1281)}},ea:function(a,b){for(var c=0;c<a;c++){var d=t[b+4*c>>2],f=Xb[d];f&&(Z.deleteTexture(f),f.name=0,Xb[d]=null)}},da:function(a,b){for(var c=0;c<
a;c++){var d=t[b+4*c>>2];Z.deleteVertexArray(ac[d]);ac[d]=null}},ca:function(a){Z.depthFunc(a)},ba:function(a){Z.depthMask(!!a)},$:function(a,b){Z.depthRange(a,b)},_:function(a,b){Z.detachShader(U[a],W[b])},Z:function(a){Z.disable(a)},Y:function(a){Z.disableVertexAttribArray(a)},X:function(a,b,c){Z.drawArrays(a,b,c)},W:function(a,b,c,d){Z.drawArraysInstanced(a,b,c,d)},V:function(a,b){for(var c=kc[a],d=0;d<a;d++)c[d]=t[b+4*d>>2];Z.drawBuffers(c)},U:function(a,b,c,d){Z.drawElements(a,b,c,d)},T:function(a,
b,c,d,f){Z.drawElementsInstanced(a,b,c,d,f)},S:function(a){Z.enable(a)},Q:function(a){Z.enableVertexAttribArray(a)},P:function(a){Z.Ed.endQueryEXT(a)},O:function(){Z.finish()},N:function(){Z.flush()},M:function(a,b,c,d){Z.framebufferRenderbuffer(a,b,c,Wb[d])},L:function(a,b,c,d,f){Z.framebufferTexture2D(a,b,c,Xb[d],f)},K:function(a){Z.frontFace(a)},J:function(a,b){lc(a,b,"createBuffer",Ub)},I:function(a,b){lc(a,b,"createFramebuffer",Vb)},H:function(a,b){for(var c=0;c<a;c++){var d=Z.Ed.createQueryEXT();
if(!d){for(Y(1282);c<a;)t[b+4*c++>>2]=0;break}var f=ec(X);d.name=f;X[f]=d;t[b+4*c>>2]=f}},F:function(a,b){lc(a,b,"createRenderbuffer",Wb)},E:function(a,b){lc(a,b,"createTexture",Xb)},D:function(a,b){lc(a,b,"createVertexArray",ac)},C:function(a){Z.generateMipmap(a)},B:function(a,b,c,d,f,g,k){a=U[a];if(a=Z.getActiveAttrib(a,b))c=0<c&&k?v(a.name,x,k,c):0,d&&(t[d>>2]=c),f&&(t[f>>2]=a.size),g&&(t[g>>2]=a.type)},A:function(a,b,c,d,f,g,k){a=U[a];if(a=Z.getActiveUniform(a,b))c=0<c&&k?v(a.name,x,k,c):0,d&&
(t[d>>2]=c),f&&(t[f>>2]=a.size),g&&(t[g>>2]=a.type)},z:function(a,b,c,d){a=Z.getAttachedShaders(U[a]);var f=a.length;f>b&&(f=b);t[c>>2]=f;for(b=0;b<f;++b)t[d+4*b>>2]=W.indexOf(a[b])},y:function(a,b){return Z.getAttribLocation(U[a],z(b))},x:function(a,b){mc(a,b,4)},w:function(a,b,c){c?t[c>>2]=Z.getBufferParameter(a,b):Y(1281)},Yc:function(){var a=Z.getError()||Tb;Tb=0;return a},Xc:function(a,b){mc(a,b,2)},Wc:function(a,b,c,d){a=Z.getFramebufferAttachmentParameter(a,b,c);if(a instanceof WebGLRenderbuffer||
2020-03-20 17:21:53 +00:00
a instanceof WebGLTexture)a=a.name|0;t[d>>2]=a},Vc:function(a,b){mc(a,b,0)},Uc:function(a,b,c,d){a=Z.getProgramInfoLog(U[a]);null===a&&(a="(unknown error)");b=0<b&&d?v(a,x,d,b):0;c&&(t[c>>2]=b)},Tc:function(a,b,c){if(c)if(a>=Sb)Y(1281);else{var d=bc[a];if(d)if(35716==b)a=Z.getProgramInfoLog(U[a]),null===a&&(a="(unknown error)"),t[c>>2]=a.length+1;else if(35719==b)t[c>>2]=d.Ie;else if(35722==b){if(-1==d.be){a=U[a];var f=Z.getProgramParameter(a,35721);for(b=d.be=0;b<f;++b)d.be=Math.max(d.be,Z.getActiveAttrib(a,
b).name.length+1)}t[c>>2]=d.be}else if(35381==b){if(-1==d.ce)for(a=U[a],f=Z.getProgramParameter(a,35382),b=d.ce=0;b<f;++b)d.ce=Math.max(d.ce,Z.getActiveUniformBlockName(a,b).length+1);t[c>>2]=d.ce}else t[c>>2]=Z.getProgramParameter(U[a],b);else Y(1282)}else Y(1281)},Sc:function(a,b,c){if(c){a=Z.Ed.getQueryObjectEXT(X[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;G=[d>>>0,(F=d,1<=+B(F)?0<F?(E(+D(F/4294967296),4294967295)|0)>>>0:~~+C((F-+(~~F>>>0))/4294967296)>>>0:0)];t[c>>2]=G[0];t[c+4>>2]=G[1]}else Y(1281)},
Rc:function(a,b,c){if(c){a=Z.Ed.getQueryObjectEXT(X[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;t[c>>2]=d}else Y(1281)},Qc:function(a,b,c){if(c){a=Z.Ed.getQueryObjectEXT(X[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;G=[d>>>0,(F=d,1<=+B(F)?0<F?(E(+D(F/4294967296),4294967295)|0)>>>0:~~+C((F-+(~~F>>>0))/4294967296)>>>0:0)];t[c>>2]=G[0];t[c+4>>2]=G[1]}else Y(1281)},Pc:function(a,b,c){if(c){a=Z.Ed.getQueryObjectEXT(X[a],b);var d;"boolean"==typeof a?d=a?1:0:d=a;t[c>>2]=d}else Y(1281)},Nc:function(a,b,c){c?
t[c>>2]=Z.Ed.getQueryEXT(a,b):Y(1281)},Mc:function(a,b,c){c?t[c>>2]=Z.getRenderbufferParameter(a,b):Y(1281)},Lc:function(a,b,c,d){a=Z.getShaderInfoLog(W[a]);null===a&&(a="(unknown error)");b=0<b&&d?v(a,x,d,b):0;c&&(t[c>>2]=b)},Kc:function(a,b,c,d){a=Z.getShaderPrecisionFormat(a,b);t[c>>2]=a.rangeMin;t[c+4>>2]=a.rangeMax;t[d>>2]=a.precision},Jc:function(a,b,c,d){if(a=Z.getShaderSource(W[a]))b=0<b&&d?v(a,x,d,b):0,c&&(t[c>>2]=b)},Ic:function(a,b,c){c?35716==b?(a=Z.getShaderInfoLog(W[a]),null===a&&(a=
"(unknown error)"),t[c>>2]=a.length+1):35720==b?(a=Z.getShaderSource(W[a]),t[c>>2]=null===a||0==a.length?0:a.length+1):t[c>>2]=Z.getShaderParameter(W[a],b):Y(1281)},Hc:function(a){if(cc[a])return cc[a];switch(a){case 7939:var b=Z.getSupportedExtensions()||[];b=b.concat(b.map(function(a){return"GL_"+a}));b=nc(b.join(" "));break;case 7936:case 7937:case 37445:case 37446:(b=Z.getParameter(a))||Y(1280);b=nc(b);break;case 7938:b=nc("OpenGL ES 2.0 ("+Z.getParameter(Z.VERSION)+")");break;case 35724:b=Z.getParameter(Z.SHADING_LANGUAGE_VERSION);
var c=b.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==c&&(3==c[1].length&&(c[1]+="0"),b="OpenGL ES GLSL ES "+c[1]+" ("+b+")");b=nc(b);break;default:return Y(1280),0}return cc[a]=b},Gc:function(a,b,c){c?A[c>>2]=Z.getTexParameter(a,b):Y(1281)},Fc:function(a,b,c){c?t[c>>2]=Z.getTexParameter(a,b):Y(1281)},Ec:function(a,b){b=z(b);var c=0;if("]"==b[b.length-1]){var d=b.lastIndexOf("[");c="]"!=b[d+1]?parseInt(b.slice(d+1)):0;b=b.slice(0,d)}return(a=bc[a]&&bc[a].nf[b])&&0<=c&&c<a[0]?a[1]+c:
-1},Cc:function(a,b,c){oc(a,b,c,2)},Bc:function(a,b,c){oc(a,b,c,0)},Ac:function(a,b,c){c?t[c>>2]=Z.getVertexAttribOffset(a,b):Y(1281)},zc:function(a,b,c){pc(a,b,c,2)},yc:function(a,b,c){pc(a,b,c,5)},xc:function(a,b){Z.hint(a,b)},wc:function(a){return(a=Ub[a])?Z.isBuffer(a):0},vc:function(a){return Z.isEnabled(a)},uc:function(a){return(a=Vb[a])?Z.isFramebuffer(a):0},tc:function(a){return(a=U[a])?Z.isProgram(a):0},rc:function(a){return(a=X[a])?Z.Ed.isQueryEXT(a):0},qc:function(a){return(a=Wb[a])?Z.isRenderbuffer(a):
0},pc:function(a){return(a=W[a])?Z.isShader(a):0},oc:function(a){return(a=Xb[a])?Z.isTexture(a):0},nc:function(a){return(a=ac[a])?Z.isVertexArray(a):0},mc:function(a){Z.lineWidth(a)},lc:function(a){Z.linkProgram(U[a]);var b=U[a];a=bc[a]={nf:{},Ie:0,be:-1,ce:-1};for(var c=a.nf,d=Z.getProgramParameter(b,35718),f=0;f<d;++f){var g=Z.getActiveUniform(b,f),k=g.name;a.Ie=Math.max(a.Ie,k.length+1);"]"==k.slice(-1)&&(k=k.slice(0,k.lastIndexOf("[")));var n=Z.getUniformLocation(b,k);if(n){var q=ec(V);c[k]=[g.size,
q];V[q]=n;for(var u=1;u<g.size;++u)n=Z.getUniformLocation(b,k+"["+u+"]"),q=ec(V),V[q]=n}}},kc:function(a,b){3317==a&&(dc=b);Z.pixelStorei(a,b)},jc:function(a,b){Z.polygonOffset(a,b)},ic:function(a,b){Z.Ed.queryCounterEXT(X[a],b)},gc:function(a,b,c,d,f,g,k){(k=sc(g,f,c,d,k))?Z.readPixels(a,b,c,d,f,g,k):Y(1280)},fc:function(){},ec:function(a,b,c,d){Z.renderbufferStorage(a,b,c,d)},dc:function(a,b){Z.sampleCoverage(a,!!b)},cc:function(a,b,c,d){Z.scissor(a,b,c,d)},bc:function(){Y(1280)},ac:function(a,
b,c,d){for(var f="",g=0;g<b;++g){var k=d?t[d+4*g>>2]:-1;f+=z(t[c+4*g>>2],0>k?void 0:k)}Z.shaderSource(W[a],f)},$b:function(a,b,c){Z.stencilFunc(a,b,c)},_b:function(a,b,c,d){Z.stencilFuncSeparate(a,b,c,d)},Zb:function(a){Z.stencilMask(a)},Xb:function(a,b){Z.stencilMaskSeparate(a,b)},Wb:function(a,b,c){Z.stencilOp(a,b,c)},Vb:function(a,b,c,d){Z.stencilOpSeparate(a,b,c,d)},Ub:function(a,b,c,d,f,g,k,n,q){Z.texImage2D(a,b,c,d,f,g,k,n,q?sc(n,k,d,f,q):null)},Tb:function(a,b,c){Z.texParameterf(a,b,c)},Sb:function(a,
b,c){Z.texParameterf(a,b,A[c>>2])},Rb:function(a,b,c){Z.texParameteri(a,b,c)},Qb:function(a,b,c){Z.texParameteri(a,b,t[c>>2])},Pb:function(a,b,c,d,f,g,k,n,q){var u=null;q&&(u=sc(n,k,f,g,q));Z.texSubImage2D(a,b,c,d,f,g,k,n,u)},Ob:function(a,b){Z.uniform1f(V[a],b)},Mb:function(a,b,c){if(256>=b)for(var d=hc[b-1],f=0;f<b;++f)d[f]=A[c+4*f>>2];else d=A.subarray(c>>2,c+4*b>>2);Z.uniform1fv(V[a],d)},Lb:function(a,b){Z.uniform1i(V[a],b)},Kb:function(a,b,c){Z.uniform1iv(V[a],t.subarray(c>>2,c+4*b>>2))},Jb:function(a,
b,c){Z.uniform2f(V[a],b,c)},Ib:function(a,b,c){if(256>=2*b)for(var d=hc[2*b-1],f=0;f<2*b;f+=2)d[f]=A[c+4*f>>2],d[f+1]=A[c+(4*f+4)>>2];else d=A.subarray(c>>2,c+8*b>>2);Z.uniform2fv(V[a],d)},Hb:function(a,b,c){Z.uniform2i(V[a],b,c)},Gb:function(a,b,c){Z.uniform2iv(V[a],t.subarray(c>>2,c+8*b>>2))},Fb:function(a,b,c,d){Z.uniform3f(V[a],b,c,d)},Eb:function(a,b,c){if(256>=3*b)for(var d=hc[3*b-1],f=0;f<3*b;f+=3)d[f]=A[c+4*f>>2],d[f+1]=A[c+(4*f+4)>>2],d[f+2]=A[c+(4*f+8)>>2];else d=A.subarray(c>>2,c+12*b>>
2);Z.uniform3fv(V[a],d)},Db:function(a,b,c,d){Z.uniform3i(V[a],b,c,d)},Cb:function(a,b,c){Z.uniform3iv(V[a],t.subarray(c>>2,c+12*b>>2))},Bb:function(a,b,c,d,f){Z.uniform4f(V[a],b,c,d,f)},Ab:function(a,b,c){if(256>=4*b)for(var d=hc[4*b-1],f=0;f<4*b;f+=4)d[f]=A[c+4*f>>2],d[f+1]=A[c+(4*f+4)>>2],d[f+2]=A[c+(4*f+8)>>2],d[f+3]=A[c+(4*f+12)>>2];else d=A.subarray(c>>2,c+16*b>>2);Z.uniform4fv(V[a],d)},zb:function(a,b,c,d,f){Z.uniform4i(V[a],b,c,d,f)},yb:function(a,b,c){Z.uniform4iv(V[a],t.subarray(c>>2,c+
16*b>>2))},xb:function(a,b,c,d){if(256>=4*b)for(var f=hc[4*b-1],g=0;g<4*b;g+=4)f[g]=A[d+4*g>>2],f[g+1]=A[d+(4*g+4)>>2],f[g+2]=A[d+(4*g+8)>>2],f[g+3]=A[d+(4*g+12)>>2];else f=A.subarray(d>>2,d+16*b>>2);Z.uniformMatrix2fv(V[a],!!c,f)},wb:function(a,b,c,d){if(256>=9*b)for(var f=hc[9*b-1],g=0;g<9*b;g+=9)f[g]=A[d+4*g>>2],f[g+1]=A[d+(4*g+4)>>2],f[g+2]=A[d+(4*g+8)>>2],f[g+3]=A[d+(4*g+12)>>2],f[g+4]=A[d+(4*g+16)>>2],f[g+5]=A[d+(4*g+20)>>2],f[g+6]=A[d+(4*g+24)>>2],f[g+7]=A[d+(4*g+28)>>2],f[g+8]=A[d+(4*g+32)>>
2];else f=A.subarray(d>>2,d+36*b>>2);Z.uniformMatrix3fv(V[a],!!c,f)},vb:function(a,b,c,d){if(256>=16*b)for(var f=hc[16*b-1],g=0;g<16*b;g+=16)f[g]=A[d+4*g>>2],f[g+1]=A[d+(4*g+4)>>2],f[g+2]=A[d+(4*g+8)>>2],f[g+3]=A[d+(4*g+12)>>2],f[g+4]=A[d+(4*g+16)>>2],f[g+5]=A[d+(4*g+20)>>2],f[g+6]=A[d+(4*g+24)>>2],f[g+7]=A[d+(4*g+28)>>2],f[g+8]=A[d+(4*g+32)>>2],f[g+9]=A[d+(4*g+36)>>2],f[g+10]=A[d+(4*g+40)>>2],f[g+11]=A[d+(4*g+44)>>2],f[g+12]=A[d+(4*g+48)>>2],f[g+13]=A[d+(4*g+52)>>2],f[g+14]=A[d+(4*g+56)>>2],f[g+
15]=A[d+(4*g+60)>>2];else f=A.subarray(d>>2,d+64*b>>2);Z.uniformMatrix4fv(V[a],!!c,f)},ub:function(a){Z.useProgram(U[a])},tb:function(a){Z.validateProgram(U[a])},sb:function(a,b){Z.vertexAttrib1f(a,b)},rb:function(a,b){Z.vertexAttrib1f(a,A[b>>2])},qb:function(a,b,c){Z.vertexAttrib2f(a,b,c)},pb:function(a,b){Z.vertexAttrib2f(a,A[b>>2],A[b+4>>2])},ob:function(a,b,c,d){Z.vertexAttrib3f(a,b,c,d)},nb:function(a,b){Z.vertexAttrib3f(a,A[b>>2],A[b+4>>2],A[b+8>>2])},mb:function(a,b,c,d,f){Z.vertexAttrib4f(a,
b,c,d,f)},lb:function(a,b){Z.vertexAttrib4f(a,A[b>>2],A[b+4>>2],A[b+8>>2],A[b+12>>2])},kb:function(a,b){Z.vertexAttribDivisor(a,b)},jb:function(a,b,c,d,f,g){Z.vertexAttribPointer(a,b,c,!!d,f,g)},hb:function(a,b,c,d){Z.viewport(a,b,c,d)},gb:function(a,b,c){x.set(x.subarray(b,b+c),a)},fb:function(a){if(2147418112<a)return!1;for(var b=Math.max(wa(),16777216);b<a;)536870912>=b?b=Na(2*b):b=Math.min(Na((3*b+2147483648)/4),2147418112);a:{try{Aa.grow(b-buffer.byteLength+65535>>16);Sa(Aa.buffer);var c=1;break a}catch(d){}c=
2020-03-31 18:05:42 +01:00
void 0}return c?!0:!1},eb:function(a){if(!za&&(Ca=!0,e.onExit))e.onExit(a);ea(a,new qa(a))},db:B,f:tc,cb:function(a){var b=Date.now();t[a>>2]=b/1E3|0;t[a+4>>2]=b%1E3*1E3|0;return 0},bb:function(a){return wc(a,1924256)},t:wc,i:xc,d:function(a){return xc(a)},c:function(a){return Math.log(a)/Math.LN10},m:yc,e:function(a){return yc(a)},_a:cb,s:function(a){return Gc(a,1924256)},r:Gc,Za:function(a){zc();var b=new Date(t[a+20>>2]+1900,t[a+16>>2],t[a+12>>2],t[a+8>>2],t[a+4>>2],t[a>>2],0),c=t[a+32>>2],d=b.getTimezoneOffset(),
f=new Date(b.getFullYear(),0,1),g=(new Date(b.getFullYear(),6,1)).getTimezoneOffset(),k=f.getTimezoneOffset(),n=Math.min(k,g);0>c?t[a+32>>2]=Number(g!=k&&n==d):0<c!=(n==d)&&(g=Math.max(k,g),b.setTime(b.getTime()+6E4*((0<c?n:g)-d)));t[a+24>>2]=b.getDay();t[a+28>>2]=(b.getTime()-f.getTime())/864E5|0;return b.getTime()/1E3|0},q:function(a,b){if(0===a)return yb(28),-1;var c=t[a>>2];a=t[a+4>>2];if(0>a||999999999<a||0>c)return yb(28),-1;0!==b&&(t[b>>2]=0,t[b+4>>2]=0);b=(1E6*c+a/1E3)/1E3;if((fa||h)&&self.performance&&
self.performance.now)for(c=self.performance.now();self.performance.now()-c<b;);else for(c=Date.now();Date.now()-c<b;);return 0},g:function(){return 0},k:function(a,b,c,d){function f(a,b,c){for(a="number"===typeof a?a.toString():a||"";a.length<b;)a=c[0]+a;return a}function g(a,b){return f(a,b,"0")}function k(a,b){function c(a){return 0>a?-1:0<a?1:0}var d;0===(d=c(a.getFullYear()-b.getFullYear()))&&0===(d=c(a.getMonth()-b.getMonth()))&&(d=c(a.getDate()-b.getDate()));return d}function n(a){switch(a.getDay()){case 0:return new Date(a.getFullYear()-
1,11,29);case 1:return a;case 2:return new Date(a.getFullYear(),0,3);case 3:return new Date(a.getFullYear(),0,2);case 4:return new Date(a.getFullYear(),0,1);case 5:return new Date(a.getFullYear()-1,11,31);case 6:return new Date(a.getFullYear()-1,11,30)}}function q(a){a=Lc(new Date(a.zd+1900,0,1),a.ve);var b=n(new Date(a.getFullYear()+1,0,4));return 0>=k(n(new Date(a.getFullYear(),0,4)),a)?0>=k(b,a)?a.getFullYear()+1:a.getFullYear():a.getFullYear()-1}var u=t[d+40>>2];d={ig:t[d>>2],hg:t[d+4>>2],te:t[d+
8>>2],je:t[d+12>>2],Wd:t[d+16>>2],zd:t[d+20>>2],ue:t[d+24>>2],ve:t[d+28>>2],Xi:t[d+32>>2],gg:t[d+36>>2],jg:u?z(u):""};c=z(c);u={"%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 w in u)c=
c.replace(new RegExp(w,"g"),u[w]);var L="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),sa="January February March April May June July August September October November December".split(" ");u={"%a":function(a){return L[a.ue].substring(0,3)},"%A":function(a){return L[a.ue]},"%b":function(a){return sa[a.Wd].substring(0,3)},"%B":function(a){return sa[a.Wd]},"%C":function(a){return g((a.zd+1900)/100|0,2)},"%d":function(a){return g(a.je,2)},"%e":function(a){return f(a.je,2," ")},
"%g":function(a){return q(a).toString().substring(2)},"%G":function(a){return q(a)},"%H":function(a){return g(a.te,2)},"%I":function(a){a=a.te;0==a?a=12:12<a&&(a-=12);return g(a,2)},"%j":function(a){return g(a.je+Ic(Hc(a.zd+1900)?Jc:Kc,a.Wd-1),3)},"%m":function(a){return g(a.Wd+1,2)},"%M":function(a){return g(a.hg,2)},"%n":function(){return"\n"},"%p":function(a){return 0<=a.te&&12>a.te?"AM":"PM"},"%S":function(a){return g(a.ig,2)},"%t":function(){return"\t"},"%u":function(a){return a.ue||7},"%U":function(a){var b=
new Date(a.zd+1900,0,1),c=0===b.getDay()?b:Lc(b,7-b.getDay());a=new Date(a.zd+1900,a.Wd,a.je);return 0>k(c,a)?g(Math.ceil((31-c.getDate()+(Ic(Hc(a.getFullYear())?Jc:Kc,a.getMonth()-1)-31)+a.getDate())/7),2):0===k(c,b)?"01":"00"},"%V":function(a){var b=n(new Date(a.zd+1900,0,4)),c=n(new Date(a.zd+1901,0,4)),d=Lc(new Date(a.zd+1900,0,1),a.ve);return 0>k(d,b)?"53":0>=k(c,d)?"01":g(Math.ceil((b.getFullYear()<a.zd+1900?a.ve+32-b.getDate():a.ve+1-b.getDate())/7),2)},"%w":function(a){return a.ue},"%W":function(a){var b=
new Date(a.zd,0,1),c=1===b.getDay()?b:Lc(b,0===b.getDay()?1:7-b.getDay()+1);a=new Date(a.zd+1900,a.Wd,a.je);return 0>k(c,a)?g(Math.ceil((31-c.getDate()+(Ic(Hc(a.getFullYear())?Jc:Kc,a.getMonth()-1)-31)+a.getDate())/7),2):0===k(c,b)?"01":"00"},"%y":function(a){return(a.zd+1900).toString().substring(2)},"%Y":function(a){return a.zd+1900},"%z":function(a){a=a.gg;var b=0<=a;a=Math.abs(a)/60;return(b?"+":"-")+String("0000"+(a/60*100+a%60)).slice(-4)},"%Z":function(a){return a.jg},"%%":function(){return"%"}};
for(w in u)0<=c.indexOf(w)&&(c=c.replace(new RegExp(w,"g"),u[w](d)));w=Eb(c,!1);if(w.length>b)return 0;y.set(w,a);return w.length-1},p:function(a){var b=Date.now()/1E3|0;a&&(t[a>>2]=b);return b},b:p,memory:Aa,table:Ba},Rc=e.asm({},ob,buffer);e.asm=Rc;var pb=e.___emscripten_environ_constructor=function(){return e.asm.Zc.apply(null,arguments)};e.___errno_location=function(){return e.asm._c.apply(null,arguments)};
var Cc=e.__get_daylight=function(){return e.asm.$c.apply(null,arguments)},Bc=e.__get_timezone=function(){return e.asm.ad.apply(null,arguments)},Dc=e.__get_tzname=function(){return e.asm.bd.apply(null,arguments)};e._ffmpeg=function(){return e.asm.cd.apply(null,arguments)};
2020-03-20 17:21:53 +00:00
var uc=e._free=function(){return e.asm.dd.apply(null,arguments)},Ja=e._malloc=function(){return e.asm.ed.apply(null,arguments)},Qc=e._memset=function(){return e.asm.fd.apply(null,arguments)},Fa=e.stackAlloc=function(){return e.asm.id.apply(null,arguments)},Ha=e.stackRestore=function(){return e.asm.jd.apply(null,arguments)},Ga=e.stackSave=function(){return e.asm.kd.apply(null,arguments)};e.dynCall_v=function(){return e.asm.gd.apply(null,arguments)};
e.dynCall_vi=function(){return e.asm.hd.apply(null,arguments)};e.asm=Rc;e.cwrap=function(a,b,c,d){c=c||[];var f=c.every(function(a){return"number"===a});return"string"!==b&&f&&!d?Da(a):function(){return Ea(a,b,c,arguments)}};
e.setValue=function(a,b,c){c=c||"i8";"*"===c.charAt(c.length-1)&&(c="i32");switch(c){case "i1":y[a>>0]=b;break;case "i8":y[a>>0]=b;break;case "i16":Oa[a>>1]=b;break;case "i32":t[a>>2]=b;break;case "i64":G=[b>>>0,(F=b,1<=+B(F)?0<F?(E(+D(F/4294967296),4294967295)|0)>>>0:~~+C((F-+(~~F>>>0))/4294967296)>>>0:0)];t[a>>2]=G[0];t[a+4>>2]=G[1];break;case "float":A[a>>2]=b;break;case "double":Ra[a>>3]=b;break;default:p("invalid type for setValue: "+c)}};
e.getValue=function(a,b){b=b||"i8";"*"===b.charAt(b.length-1)&&(b="i32");switch(b){case "i1":return y[a>>0];case "i8":return y[a>>0];case "i16":return Oa[a>>1];case "i32":return t[a>>2];case "i64":return t[a>>2];case "float":return A[a>>2];case "double":return Ra[a>>3];default:p("invalid type for getValue: "+b)}return null};e.FS=J;var Sc;e.then=function(a){if(Sc)a(e);else{var b=e.onRuntimeInitialized;e.onRuntimeInitialized=function(){b&&b();a(e)}}return e};
function qa(a){this.name="ExitStatus";this.message="Program terminated with exit("+a+")";this.status=a}fb=function Tc(){Sc||Uc();Sc||(fb=Tc)};
function Uc(){function a(){if(!Sc&&(Sc=!0,!Ca)){ab=!0;e.noFSInit||J.Zd.De||J.Zd();Ua(Ya);J.kf=!1;Ua(Za);if(e.onRuntimeInitialized)e.onRuntimeInitialized();if(e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;){var a=e.postRun.shift();$a.unshift(a)}Ua($a)}}if(!(0<db)){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)bb();Ua(Va);0<db||(e.setStatus?(e.setStatus("Running..."),setTimeout(function(){setTimeout(function(){e.setStatus("")},
1);a()},1)):a())}}e.run=Uc;if(e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);0<e.preInit.length;)e.preInit.pop()();za=!0;Uc();
return Module
}
);
})();
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;