text: var e,r=(e="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,function(r){var n,t=void 0!==(r=r||{})?r:{},o={};for(n in t)t.hasOwnProperty(n)&&(o[n]=t[n]);t.arguments=[],t.thisProgram="./this.program",t.quit=function(e,r){throw r},t.preRun=[],t.postRun=[];var i,a,s=!1,c=!1;s="object"==typeof window,c="function"==typeof importScripts,i="object"==typeof process&&"function"==typeof require&&!s&&!c,a=!s&&!i&&!c;var u,l,f="";function d(e){return t.locateFile?t.locateFile(e,f):f+e}i?(f=__dirname+"/",t.read=function(e,r){var n;return u||(u=require("fs")),l||(l=require("path")),e=l.normalize(e),n=u.readFileSync(e),r?n:n.toString()},t.readBinary=function(e){var r=t.read(e,!0);return r.buffer||(r=new Uint8Array(r)),g(r.buffer),r},process.argv.length>1&&(t.thisProgram=process.argv[1].replace(/\\/g,"/")),t.arguments=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof Gr))throw e}),process.on("unhandledRejection",Yr),t.quit=function(e){process.exit(e)},t.inspect=function(){return"[Emscripten Module object]"}):a?("undefined"!=typeof read&&(t.read=function(e){return read(e)}),t.readBinary=function(e){var r;return"function"==typeof readbuffer?new Uint8Array(readbuffer(e)):(g("object"==typeof(r=read(e,"binary"))),r)},"undefined"!=typeof scriptArgs?t.arguments=scriptArgs:void 0!==arguments&&(t.arguments=arguments),"function"==typeof quit&&(t.quit=function(e){quit(e)})):(s||c)&&(c?f=self.location.href:document.currentScript&&(f=document.currentScript.src),e&&(f=e),f=0!==f.indexOf("blob:")?f.substr(0,f.lastIndexOf("/")+1):"",t.read=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.send(null),r.responseText},c&&(t.readBinary=function(e){var r=new XMLHttpRequest;return r.open("GET",e,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),t.readAsync=function(e,r,n){var t=new XMLHttpRequest;t.open("GET",e,!0),t.responseType="arraybuffer",t.onload=function(){200==t.status||0==t.status&&t.response?r(t.response):n()},t.onerror=n,t.send(null)},t.setWindowTitle=function(e){document.title=e});var p=t.print||("undefined"!=typeof console?console.log.bind(console):"undefined"!=typeof print?print:null),m=t.printErr||("undefined"!=typeof printErr?printErr:"undefined"!=typeof console&&console.warn.bind(console)||p);for(n in o)o.hasOwnProperty(n)&&(t[n]=o[n]);o=void 0;var h=16;function E(e,r){return r||(r=h),e=Math.ceil(e/r)*r}var v={"f64-rem":function(e,r){return e%r},debugger:function(){}},y=0,w=!1;function g(e,r){e||Yr("Assertion failed: "+r)}var b="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function _(e,r){for(var n=r;e[n];)++n;if(n-r>16&&e.subarray&&b)return b.decode(e.subarray(r,n));for(var t,o,i,a,s,c="";;){if(!(t=e[r++]))return c;if(128&t)if(o=63&e[r++],192!=(224&t))if(i=63&e[r++],224==(240&t)?t=(15&t)<<12|o<<6|i:(a=63&e[r++],240==(248&t)?t=(7&t)<<18|o<<12|i<<6|a:(s=63&e[r++],t=248==(252&t)?(3&t)<<24|o<<18|i<<12|a<<6|s:(1&t)<<30|o<<24|i<<18|a<<12|s<<6|63&e[r++])),t<65536)c+=String.fromCharCode(t);else{var u=t-65536;c+=String.fromCharCode(55296|u>>10,56320|1023&u)}else c+=String.fromCharCode((31&t)<<6|o);else c+=String.fromCharCode(t)}}function T(e){return _(A,e)}function k(e,r,n,t){if(!(t>0))return 0;for(var o=n,i=n+t-1,a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s>=55296&&s<=57343&&(s=65536+((1023&s)<<10)|1023&e.charCodeAt(++a)),s<=127){if(n>=i)break;r[n++]=s}else if(s<=2047){if(n+1>=i)break;r[n++]=192|s>>6,r[n++]=128|63&s}else if(s<=65535){if(n+2>=i)break;r[n++]=224|s>>12,r[n++]=128|s>>6&63,r[n++]=128|63&s}else if(s<=2097151){if(n+3>=i)break;r[n++]=240|s>>18,r[n++]=128|s>>12&63,r[n++]=128|s>>6&63,r[n++]=128|63&s}else if(s<=67108863){if(n+4>=i)break;r[n++]=248|s>>24,r[n++]=128|s>>18&63,r[n++]=128|s>>12&63,r[n++]=128|s>>6&63,r[n++]=128|63&s}else{if(n+5>=i)break;r[n++]=252|s>>30,r[n++]=128|s>>24&63,r[n++]=128|s>>18&63,r[n++]=128|s>>12&63,r[n++]=128|s>>6&63,r[n++]=128|63&s}}return r[n]=0,n-o}function N(e,r,n){return k(e,A,r,n)}function D(e){for(var r=0,n=0;n<e.length;++n){var t=e.charCodeAt(n);t>=55296&&t<=57343&&(t=65536+((1023&t)<<10)|1023&e.charCodeAt(++n)),t<=127?++r:r+=t<=2047?2:t<=65535?3:t<=2097151?4:t<=67108863?5:6}return r}function O(){var e=function(){var e=new Error;if(!e.stack){try{throw new Error(0)}catch(r){e=r}if(!e.stack)return"(no stack trace available)"}return e.stack.toString()}();return t.extraStackTrace&&(e+="\n"+t.extraStackTrace()),e.replace(/__Z[\w\d_]+/g,function(e){var r=e;return e===r?e:r+" ["+e+"]"})}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var P,S,A,C,F,M,R,L,I,B,j,$,W,z,V=16384,q=65536,G=16777216,U=16777216;function Y(e,r){return e%r>0&&(e+=r-e%r),e}function X(e){t.buffer=P=e}function H(){t.HEAP8=S=new Int8Array(P),t.HEAP16=C=new Int16Array(P),t.HEAP32=M=new Int32Array(P),t.HEAPU8=A=new Uint8Array(P),t.HEAPU16=F=new Uint16Array(P),t.HEAPU32=R=new Uint32Array(P),t.HEAPF32=L=new Float32Array(P),t.HEAPF64=I=new Float64Array(P)}B=z=0,t.reallocBuffer||(t.reallocBuffer=function(e){var r;try{var n=S;r=new ArrayBuffer(e),new Int8Array(r).set(n)}catch(e){return!1}return!!$r(r)&&r});try{Function.prototype.call.bind(Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get)(new ArrayBuffer(4))}catch(e){}var x=t.TOTAL_STACK||5242880,K=t.TOTAL_MEMORY||16777216;function Q(e){for(;e.length>0;){var r=e.shift();if("function"!=typeof r){var n=r.func;"number"==typeof n?void 0===r.arg?t.dynCall_v(n):t.dynCall_vi(n,r.arg):n(void 0===r.arg?null:r.arg)}else r()}}K<x&&m("TOTAL_MEMORY should be larger than TOTAL_STACK, was "+K+"! (TOTAL_STACK="+x+")"),t.buffer?P=t.buffer:("object"==typeof WebAssembly&&"function"==typeof WebAssembly.Memory?(t.wasmMemory=new WebAssembly.Memory({initial:K/q}),P=t.wasmMemory.buffer):P=new ArrayBuffer(K),t.buffer=P),H();var Z=[],J=[],ee=[],re=[],ne=!1,te=0,oe=null,ie=null;function ae(e){te++,t.monitorRunDependencies&&t.monitorRunDependencies(te)}function se(e){if(te--,t.monitorRunDependencies&&t.monitorRunDependencies(te),0==te&&(null!==oe&&(clearInterval(oe),oe=null),ie)){var r=ie;ie=null,r()}}t.preloadedImages={},t.preloadedAudios={};var ce="data:application/octet-stream;base64,";function ue(e){return String.prototype.startsWith?e.startsWith(ce):0===e.indexOf(ce)}!function(){var e="webm-wasm.wast",r="webm-wasm.wasm",n="webm-wasm.temp.asm.js";ue(e)||(e=d(e)),ue(r)||(r=d(r)),ue(n)||(n=d(n));var o={global:null,env:null,asm2wasm:v,parent:t},i=null;function a(){try{if(t.wasmBinary)return new Uint8Array(t.wasmBinary);if(t.readBinary)return t.readBinary(r);throw"both async and sync fetching of the wasm failed"}catch(e){Yr(e)}}function u(e,n,u){if("object"!=typeof WebAssembly)return m("no native wasm support detected"),!1;if(!(t.wasmMemory instanceof WebAssembly.Memory))return m("no native wasm Memory in use"),!1;function l(e,r){(i=e.exports).memory&&function(e){var r=t.buffer;e.byteLength<r.byteLength&&m("the new buffer in mergeMemory is smaller than the previous one. in native wasm, we should grow memory here");var n=new Int8Array(r);new Int8Array(e).set(n),X(e),H()}(i.memory),t.asm=i,t.usingWasm=!0,se()}if(n.memory=t.wasmMemory,o.global={NaN:NaN,Infinity:Infinity},o["global.Math"]=Math,o.env=n,ae(),t.instantiateWasm)try{return t.instantiateWasm(o,l)}catch(e){return m("Module.instantiateWasm callback failed with error: "+e),!1}function f(e){l(e.instance)}function d(e){(t.wasmBinary||!s&&!c||"function"!=typeof fetch?new Promise(function(e,r){e(a())}):fetch(r,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+r+"'";return e.arrayBuffer()}).catch(function(){return a()})).then(function(e){return WebAssembly.instantiate(e,o)}).then(e,function(e){m("failed to asynchronously prepare wasm: "+e),Yr(e)})}return t.wasmBinary||"function"!=typeof WebAssembly.instantiateStreaming||ue(r)||"function"!=typeof fetch?d(f):WebAssembly.instantiateStreaming(fetch(r,{credentials:"same-origin"}),o).then(f,function(e){m("wasm streaming compile failed: "+e),m("falling back to ArrayBuffer instantiation"),d(f)}),{}}t.asmPreload=t.asm,t.reallocBuffer=function(e){return function(e){e=Y(e,t.usingWasm?q:G);var r=t.buffer.byteLength;if(t.usingWasm)try{return-1!==t.wasmMemory.grow((e-r)/65536)?t.buffer=t.wasmMemory.buffer:null}catch(e){return null}}(e)},t.asm=function(e,r,n){if(!r.table){var o=t.wasmTableSize;void 0===o&&(o=1024);var i=t.wasmMaxTableSize;r.table="object"==typeof WebAssembly&&"function"==typeof WebAssembly.Table?void 0!==i?new WebAssembly.Table({initial:o,maximum:i,element:"anyfunc"}):new WebAssembly.Table({initial:o,element:"anyfunc"}):new Array(o),t.wasmTable=r.table}var a;return r.__memory_base||(r.__memory_base=t.STATIC_BASE),r.__table_base||(r.__table_base=0),g(a=u(0,r),"no binaryen method succeeded."),a}}(),B=62048,J.push({func:function(){Br()}},{func:function(){Ir()}}),t.STATIC_BASE=1024,t.STATIC_BUMP=61024,B+=16;var le={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86},fe={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can   access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"};function de(e){return t.___errno_location&&(M[t.___errno_location()>>2]=e),e}var pe={splitPath:function(e){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1)},normalizeArray:function(e,r){for(var n=0,t=e.length-1;t>=0;t--){var o=e[t];"."===o?e.splice(t,1):".."===o?(e.splice(t,1),n++):n&&(e.splice(t,1),n--)}if(r)for(;n;n--)e.unshift("..");return e},normalize:function(e){var r="/"===e.charAt(0),n="/"===e.substr(-1);return(e=pe.normalizeArray(e.split("/").filter(function(e){return!!e}),!r).join("/"))||r||(e="."),e&&n&&(e+="/"),(r?"/":"")+e},dirname:function(e){var r=pe.splitPath(e),n=r[0],t=r[1];return n||t?(t&&(t=t.substr(0,t.length-1)),n+t):"."},basename:function(e){if("/"===e)return"/";var r=e.lastIndexOf("/");return-1===r?e:e.substr(r+1)},extname:function(e){return pe.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return pe.normalize(e.join("/"))},join2:function(e,r){return pe.normalize(e+"/"+r)},resolve:function(){for(var e=arguments,r="",n=!1,t=arguments.length-1;t>=-1&&!n;t--){var o=t>=0?e[t]:we.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");if(!o)return"";r=o+"/"+r,n="/"===o.charAt(0)}return(n?"/":"")+(r=pe.normalizeArray(r.split("/").filter(function(e){return!!e}),!n).join("/"))||"."},relative:function(e,r){function n(e){for(var r=0;r<e.length&&""===e[r];r++);for(var n=e.length-1;n>=0&&""===e[n];n--);return r>n?[]:e.slice(r,n-r+1)}e=pe.resolve(e).substr(1),r=pe.resolve(r).substr(1);for(var t=n(e.split("/")),o=n(r.split("/")),i=Math.min(t.length,o.length),a=i,s=0;s<i;s++)if(t[s]!==o[s]){a=s;break}var c=[];for(s=a;s<t.length;s++)c.push("..");return(c=c.concat(o.slice(a))).join("/")}},me={ttys:[],init:function(){},shutdown:function(){},register:function(e,r){me.ttys[e]={input:[],output:[],ops:r},we.registerDevice(e,me.stream_ops)},stream_ops:{open:function(e){var r=me.ttys[e.node.rdev];if(!r)throw new we.ErrnoError(le.ENODEV);e.tty=r,e.seekable=!1},close:function(e){e.tty.ops.flush(e.tty)},flush:function(e){e.tty.ops.flush(e.tty)},read:function(e,r,n,t,o){if(!e.tty||!e.tty.ops.get_char)throw new we.ErrnoError(le.ENXIO);for(var i=0,a=0;a<t;a++){var s;try{s=e.tty.ops.get_char(e.tty)}catch(e){throw new we.ErrnoError(le.EIO)}if(void 0===s&&0===i)throw new we.ErrnoError(le.EAGAIN);if(null==s)break;i++,r[n+a]=s}return i&&(e.node.timestamp=Date.now()),i},write:function(e,r,n,t,o){if(!e.tty||!e.tty.ops.put_char)throw new we.ErrnoError(le.ENXIO);try{for(var i=0;i<t;i++)e.tty.ops.put_char(e.tty,r[n+i])}catch(e){throw new we.ErrnoError(le.EIO)}return t&&(e.node.timestamp=Date.now()),i}},default_tty_ops:{get_char:function(e){if(!e.input.length){var r=null;if(i){var n=new Buffer(256),t=0,o="win32"!=process.platform,a=process.stdin.fd;if(o){var s=!1;try{a=Fr.openSync("/dev/stdin","r"),s=!0}catch(e){}}try{t=Fr.readSync(a,n,0,256,null)}catch(e){if(-1==e.toString().indexOf("EOF"))throw e;t=0}s&&Fr.closeSync(a),r=t>0?n.slice(0,t).toString("utf-8"):null}else"undefined"!=typeof window&&"function"==typeof window.prompt?null!==(r=window.prompt("Input: "))&&(r+="\n"):"function"==typeof readline&&null!==(r=readline())&&(r+="\n");if(!r)return null;e.input=Rr(r,!0)}return e.input.shift()},put_char:function(e,r){null===r||10===r?(p(_(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},flush:function(e){e.output&&e.output.length>0&&(p(_(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,r){null===r||10===r?(m(_(e.output,0)),e.output=[]):0!=r&&e.output.push(r)},flush:function(e){e.output&&e.output.length>0&&(m(_(e.output,0)),e.output=[])}}},he={ops_table:null,mount:function(e){return he.createNode(null,"/",16895,0)},createNode:function(e,r,n,t){if(we.isBlkdev(n)||we.isFIFO(n))throw new we.ErrnoError(le.EPERM);he.ops_table||(he.ops_table={dir:{node:{getattr:he.node_ops.getattr,setattr:he.node_ops.setattr,lookup:he.node_ops.lookup,mknod:he.node_ops.mknod,rename:he.node_ops.rename,unlink:he.node_ops.unlink,rmdir:he.node_ops.rmdir,readdir:he.node_ops.readdir,symlink:he.node_ops.symlink},stream:{llseek:he.stream_ops.llseek}},file:{node:{getattr:he.node_ops.getattr,setattr:he.node_ops.setattr},stream:{llseek:he.stream_ops.llseek,read:he.stream_ops.read,write:he.stream_ops.write,allocate:he.stream_ops.allocate,mmap:he.stream_ops.mmap,msync:he.stream_ops.msync}},link:{node:{getattr:he.node_ops.getattr,setattr:he.node_ops.setattr,readlink:he.node_ops.readlink},stream:{}},chrdev:{node:{getattr:he.node_ops.getattr,setattr:he.node_ops.setattr},stream:we.chrdev_stream_ops}});var o=we.createNode(e,r,n,t);return we.isDir(o.mode)?(o.node_ops=he.ops_table.dir.node,o.stream_ops=he.ops_table.dir.stream,o.contents={}):we.isFile(o.mode)?(o.node_ops=he.ops_table.file.node,o.stream_ops=he.ops_table.file.stream,o.usedBytes=0,o.contents=null):we.isLink(o.mode)?(o.node_ops=he.ops_table.link.node,o.stream_ops=he.ops_table.link.stream):we.isChrdev(o.mode)&&(o.node_ops=he.ops_table.chrdev.node,o.stream_ops=he.ops_table.chrdev.stream),o.timestamp=Date.now(),e&&(e.contents[r]=o),o},getFileDataAsRegularArray:function(e){if(e.contents&&e.contents.subarray){for(var r=[],n=0;n<e.usedBytes;++n)r.push(e.contents[n]);return r}return e.contents},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array},expandFileStorage:function(e,r){if(e.contents&&e.contents.subarray&&r>e.contents.length&&(e.contents=he.getFileDataAsRegularArray(e),e.usedBytes=e.contents.length),!e.contents||e.contents.subarray){var n=e.contents?e.contents.length:0;if(n>=r)return;r=Math.max(r,n*(n<1048576?2:1.125)|0),0!=n&&(r=Math.max(r,256));var t=e.contents;return e.contents=new Uint8Array(r),void(e.usedBytes>0&&e.contents.set(t.subarray(0,e.usedBytes),0))}for(!e.contents&&r>0&&(e.contents=[]);e.contents.length<r;)e.contents.push(0)},resizeFileStorage:function(e,r){if(e.usedBytes!=r){if(0==r)return e.contents=null,void(e.usedBytes=0);if(!e.contents||e.contents.subarray){var n=e.contents;return e.contents=new Uint8Array(new ArrayBuffer(r)),n&&e.contents.set(n.subarray(0,Math.min(r,e.usedBytes))),void(e.usedBytes=r)}if(e.contents||(e.contents=[]),e.contents.length>r)e.contents.length=r;else for(;e.contents.length<r;)e.contents.push(0);e.usedBytes=r}},node_ops:{getattr:function(e){var r={};return r.dev=we.isChrdev(e.mode)?e.id:1,r.ino=e.id,r.mode=e.mode,r.nlink=1,r.uid=0,r.gid=0,r.rdev=e.rdev,r.size=we.isDir(e.mode)?4096:we.isFile(e.mode)?e.usedBytes:we.isLink(e.mode)?e.link.length:0,r.atime=new Date(e.timestamp),r.mtime=new Date(e.timestamp),r.ctime=new Date(e.timestamp),r.blksize=4096,r.blocks=Math.ceil(r.size/r.blksize),r},setattr:function(e,r){void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp),void 0!==r.size&&he.resizeFileStorage(e,r.size)},lookup:function(e,r){throw we.genericErrors[le.ENOENT]},mknod:function(e,r,n,t){return he.createNode(e,r,n,t)},rename:function(e,r,n){if(we.isDir(e.mode)){var t;try{t=we.lookupNode(r,n)}catch(e){}if(t)for(var o in t.contents)throw new we.ErrnoError(le.ENOTEMPTY)}delete e.parent.contents[e.name],e.name=n,r.contents[n]=e,e.parent=r},unlink:function(e,r){delete e.contents[r]},rmdir:function(e,r){var n=we.lookupNode(e,r);for(var t in n.contents)throw new we.ErrnoError(le.ENOTEMPTY);delete e.contents[r]},readdir:function(e){var r=[".",".."];for(var n in e.contents)e.contents.hasOwnProperty(n)&&r.push(n);return r},symlink:function(e,r,n){var t=he.createNode(e,r,41471,0);return t.link=n,t},readlink:function(e){if(!we.isLink(e.mode))throw new we.ErrnoError(le.EINVAL);return e.link}},stream_ops:{read:function(e,r,n,t,o){var i=e.node.contents;if(o>=e.node.usedBytes)return 0;var a=Math.min(e.node.usedBytes-o,t);if(g(a>=0),a>8&&i.subarray)r.set(i.subarray(o,o+a),n);else for(var s=0;s<a;s++)r[n+s]=i[o+s];return a},write:function(e,r,n,t,o,i){if(!t)return 0;var a=e.node;if(a.timestamp=Date.now(),r.subarray&&(!a.contents||a.contents.subarray)){if(0===a.usedBytes&&0===o)return a.contents=new Uint8Array(r.subarray(n,n+t)),a.usedBytes=t,t;if(o+t<=a.usedBytes)return a.contents.set(r.subarray(n,n+t),o),t}if(he.expandFileStorage(a,o+t),a.contents.subarray&&r.subarray)a.contents.set(r.subarray(n,n+t),o);else for(var s=0;s<t;s++)a.contents[o+s]=r[n+s];return a.usedBytes=Math.max(a.usedBytes,o+t),t},llseek:function(e,r,n){var t=r;if(1===n?t+=e.position:2===n&&we.isFile(e.node.mode)&&(t+=e.node.usedBytes),t<0)throw new we.ErrnoError(le.EINVAL);return t},allocate:function(e,r,n){he.expandFileStorage(e.node,r+n),e.node.usedBytes=Math.max(e.node.usedBytes,r+n)},mmap:function(e,r,n,t,o,i,a){if(!we.isFile(e.node.mode))throw new we.ErrnoError(le.ENODEV);var s,c,u=e.node.contents;if(2&a||u.buffer!==r&&u.buffer!==r.buffer){if((o>0||o+t<e.node.usedBytes)&&(u=u.subarray?u.subarray(o,o+t):Array.prototype.slice.call(u,o,o+t)),c=!0,!(s=zr(t)))throw new we.ErrnoError(le.ENOMEM);r.set(u,s)}else c=!1,s=u.byteOffset;return{ptr:s,allocated:c}},msync:function(e,r,n,t,o){if(!we.isFile(e.node.mode))throw new we.ErrnoError(le.ENODEV);return 2&o?0:(he.stream_ops.write(e,r,0,t,n,!1),0)}}},Ee={dbs:{},indexedDB:function(){if("undefined"!=typeof indexedDB)return indexedDB;var e=null;return"object"==typeof window&&(e=window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB),g(e,"IDBFS used, but indexedDB not supported"),e},DB_VERSION:21,DB_STORE_NAME:"FILE_DATA",mount:function(e){return he.mount.apply(null,arguments)},syncfs:function(e,r,n){Ee.getLocalSet(e,function(t,o){if(t)return n(t);Ee.getRemoteSet(e,function(e,t){if(e)return n(e);Ee.reconcile(r?t:o,r?o:t,n)})})},getDB:function(e,r){var n,t=Ee.dbs[e];if(t)return r(null,t);try{n=Ee.indexedDB().open(e,Ee.DB_VERSION)}catch(e){return r(e)}if(!n)return r("Unable to connect to IndexedDB");n.onupgradeneeded=function(e){var r,n=e.target.result,t=e.target.transaction;(r=n.objectStoreNames.contains(Ee.DB_STORE_NAME)?t.objectStore(Ee.DB_STORE_NAME):n.createObjectStore(Ee.DB_STORE_NAME)).indexNames.contains("timestamp")||r.createIndex("timestamp","timestamp",{unique:!1})},n.onsuccess=function(){Ee.dbs[e]=t=n.result,r(null,t)},n.onerror=function(e){r(this.error),e.preventDefault()}},getLocalSet:function(e,r){var n={};function t(e){return"."!==e&&".."!==e}function o(e){return function(r){return pe.join2(e,r)}}for(var i=we.readdir(e.mountpoint).filter(t).map(o(e.mountpoint));i.length;){var a,s=i.pop();try{a=we.stat(s)}catch(e){return r(e)}we.isDir(a.mode)&&i.push.apply(i,we.readdir(s).filter(t).map(o(s))),n[s]={timestamp:a.mtime}}return r(null,{type:"local",entries:n})},getRemoteSet:function(e,r){var n={};Ee.getDB(e.mountpoint,function(e,t){if(e)return r(e);try{var o=t.transaction([Ee.DB_STORE_NAME],"readonly");o.onerror=function(e){r(this.error),e.preventDefault()},o.objectStore(Ee.DB_STORE_NAME).index("timestamp").openKeyCursor().onsuccess=function(e){var o=e.target.result;if(!o)return r(null,{type:"remote",db:t,entries:n});n[o.primaryKey]={timestamp:o.key},o.continue()}}catch(e){return r(e)}})},loadLocalEntry:function(e,r){var n,t;try{t=we.lookupPath(e).node,n=we.stat(e)}catch(e){return r(e)}return we.isDir(n.mode)?r(null,{timestamp:n.mtime,mode:n.mode}):we.isFile(n.mode)?(t.contents=he.getFileDataAsTypedArray(t),r(null,{timestamp:n.mtime,mode:n.mode,contents:t.contents})):r(new Error("node type not supported"))},storeLocalEntry:function(e,r,n){try{if(we.isDir(r.mode))we.mkdir(e,r.mode);else{if(!we.isFile(r.mode))return n(new Error("node type not supported"));we.writeFile(e,r.contents,{canOwn:!0})}we.chmod(e,r.mode),we.utime(e,r.timestamp,r.timestamp)}catch(e){return n(e)}n(null)},removeLocalEntry:function(e,r){try{we.lookupPath(e);var n=we.stat(e);we.isDir(n.mode)?we.rmdir(e):we.isFile(n.mode)&&we.unlink(e)}catch(e){return r(e)}r(null)},loadRemoteEntry:function(e,r,n){var t=e.get(r);t.onsuccess=function(e){n(null,e.target.result)},t.onerror=function(e){n(this.error),e.preventDefault()}},storeRemoteEntry:function(e,r,n,t){var o=e.put(n,r);o.onsuccess=function(){t(null)},o.onerror=function(e){t(this.error),e.preventDefault()}},removeRemoteEntry:function(e,r,n){var t=e.delete(r);t.onsuccess=function(){n(null)},t.onerror=function(e){n(this.error),e.preventDefault()}},reconcile:function(e,r,n){var t=0,o=[];Object.keys(e.entries).forEach(function(n){var i=r.entries[n];(!i||e.entries[n].timestamp>i.timestamp)&&(o.push(n),t++)});var i=[];if(Object.keys(r.entries).forEach(function(r){e.entries[r]||(i.push(r),t++)}),!t)return n(null);var a=0,s=("remote"===e.type?e.db:r.db).transaction([Ee.DB_STORE_NAME],"readwrite"),c=s.objectStore(Ee.DB_STORE_NAME);function u(e){return e?u.errored?void 0:(u.errored=!0,n(e)):++a>=t?n(null):void 0}s.onerror=function(e){u(this.error),e.preventDefault()},o.sort().forEach(function(e){"local"===r.type?Ee.loadRemoteEntry(c,e,function(r,n){if(r)return u(r);Ee.storeLocalEntry(e,n,u)}):Ee.loadLocalEntry(e,function(r,n){if(r)return u(r);Ee.storeRemoteEntry(c,e,n,u)})}),i.sort().reverse().forEach(function(e){"local"===r.type?Ee.removeLocalEntry(e,u):Ee.removeRemoteEntry(c,e,u)})}},ve={isWindows:!1,staticInit:function(){ve.isWindows=!!process.platform.match(/^win/);var e=process.binding("constants");e.fs&&(e=e.fs),ve.flagsForNodeMap={1024:e.O_APPEND,64:e.O_CREAT,128:e.O_EXCL,0:e.O_RDONLY,2:e.O_RDWR,4096:e.O_SYNC,512:e.O_TRUNC,1:e.O_WRONLY}},bufferFrom:function(e){return Buffer.alloc?Buffer.from(e):new Buffer(e)},mount:function(e){return g(i),ve.createNode(null,"/",ve.getMode(e.opts.root),0)},createNode:function(e,r,n,t){if(!we.isDir(n)&&!we.isFile(n)&&!we.isLink(n))throw new we.ErrnoError(le.EINVAL);var o=we.createNode(e,r,n);return o.node_ops=ve.node_ops,o.stream_ops=ve.stream_ops,o},getMode:function(e){var r;try{r=Fr.lstatSync(e),ve.isWindows&&(r.mode=r.mode|(292&r.mode)>>2)}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}return r.mode},realPath:function(e){for(var r=[];e.parent!==e;)r.push(e.name),e=e.parent;return r.push(e.mount.opts.root),r.reverse(),pe.join.apply(null,r)},flagsForNode:function(e){e&=-2097153,e&=-2049,e&=-32769,e&=-524289;var r=0;for(var n in ve.flagsForNodeMap)e&n&&(r|=ve.flagsForNodeMap[n],e^=n);if(e)throw new we.ErrnoError(le.EINVAL);return r},node_ops:{getattr:function(e){var r,n=ve.realPath(e);try{r=Fr.lstatSync(n)}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}return ve.isWindows&&!r.blksize&&(r.blksize=4096),ve.isWindows&&!r.blocks&&(r.blocks=(r.size+r.blksize-1)/r.blksize|0),{dev:r.dev,ino:r.ino,mode:r.mode,nlink:r.nlink,uid:r.uid,gid:r.gid,rdev:r.rdev,size:r.size,atime:r.atime,mtime:r.mtime,ctime:r.ctime,blksize:r.blksize,blocks:r.blocks}},setattr:function(e,r){var n=ve.realPath(e);try{if(void 0!==r.mode&&(Fr.chmodSync(n,r.mode),e.mode=r.mode),void 0!==r.timestamp){var t=new Date(r.timestamp);Fr.utimesSync(n,t,t)}void 0!==r.size&&Fr.truncateSync(n,r.size)}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}},lookup:function(e,r){var n=pe.join2(ve.realPath(e),r),t=ve.getMode(n);return ve.createNode(e,r,t)},mknod:function(e,r,n,t){var o=ve.createNode(e,r,n,t),i=ve.realPath(o);try{we.isDir(o.mode)?Fr.mkdirSync(i,o.mode):Fr.writeFileSync(i,"",{mode:o.mode})}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}return o},rename:function(e,r,n){var t=ve.realPath(e),o=pe.join2(ve.realPath(r),n);try{Fr.renameSync(t,o)}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}},unlink:function(e,r){var n=pe.join2(ve.realPath(e),r);try{Fr.unlinkSync(n)}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}},rmdir:function(e,r){var n=pe.join2(ve.realPath(e),r);try{Fr.rmdirSync(n)}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}},readdir:function(e){var r=ve.realPath(e);try{return Fr.readdirSync(r)}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}},symlink:function(e,r,n){var t=pe.join2(ve.realPath(e),r);try{Fr.symlinkSync(n,t)}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}},readlink:function(e){var r=ve.realPath(e);try{return r=Fr.readlinkSync(r),r=Mr.relative(Mr.resolve(e.mount.opts.root),r)}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}}},stream_ops:{open:function(e){var r=ve.realPath(e.node);try{we.isFile(e.node.mode)&&(e.nfd=Fr.openSync(r,ve.flagsForNode(e.flags)))}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}},close:function(e){try{we.isFile(e.node.mode)&&e.nfd&&Fr.closeSync(e.nfd)}catch(e){if(!e.code)throw e;throw new we.ErrnoError(le[e.code])}},read:function(e,r,n,t,o){if(0===t)return 0;try{return Fr.readSync(e.nfd,ve.bufferFrom(r.buffer),n,t,o)}catch(e){throw new we.ErrnoError(le[e.code])}},write:function(e,r,n,t,o){try{return Fr.writeSync(e.nfd,ve.bufferFrom(r.buffer),n,t,o)}catch(e){throw new we.ErrnoError(le[e.code])}},llseek:function(e,r,n){var t=r;if(1===n)t+=e.position;else if(2===n&&we.isFile(e.node.mode))try{t+=Fr.fstatSync(e.nfd).size}catch(e){throw new we.ErrnoError(le[e.code])}if(t<0)throw new we.ErrnoError(le.EINVAL);return t}}},ye={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:function(e){g(c),ye.reader||(ye.reader=new FileReaderSync);var r=ye.createNode(null,"/",ye.DIR_MODE,0),n={};function t(e){for(var t=e.split("/"),o=r,i=0;i<t.length-1;i++){var a=t.slice(0,i+1).join("/");n[a]||(n[a]=ye.createNode(o,t[i],ye.DIR_MODE,0)),o=n[a]}return o}function o(e){var r=e.split("/");return r[r.length-1]}return Array.prototype.forEach.call(e.opts.files||[],function(e){ye.createNode(t(e.name),o(e.name),ye.FILE_MODE,0,e,e.lastModifiedDate)}),(e.opts.blobs||[]).forEach(function(e){ye.createNode(t(e.name),o(e.name),ye.FILE_MODE,0,e.data)}),(e.opts.packages||[]).forEach(function(e){e.metadata.files.forEach(function(r){var n=r.filename.substr(1);ye.createNode(t(n),o(n),ye.FILE_MODE,0,e.blob.slice(r.start,r.end))})}),r},createNode:function(e,r,n,t,o,i){var a=we.createNode(e,r,n);return a.mode=n,a.node_ops=ye.node_ops,a.stream_ops=ye.stream_ops,a.timestamp=(i||new Date).getTime(),g(ye.FILE_MODE!==ye.DIR_MODE),n===ye.FILE_MODE?(a.size=o.size,a.contents=o):(a.size=4096,a.contents={}),e&&(e.contents[r]=a),a},node_ops:{getattr:function(e){return{dev:1,ino:void 0,mode:e.mode,nlink:1,uid:0,gid:0,rdev:void 0,size:e.size,atime:new Date(e.timestamp),mtime:new Date(e.timestamp),ctime:new Date(e.timestamp),blksize:4096,blocks:Math.ceil(e.size/4096)}},setattr:function(e,r){void 0!==r.mode&&(e.mode=r.mode),void 0!==r.timestamp&&(e.timestamp=r.timestamp)},lookup:function(e,r){throw new we.ErrnoError(le.ENOENT)},mknod:function(e,r,n,t){throw new we.ErrnoError(le.EPERM)},rename:function(e,r,n){throw new we.ErrnoError(le.EPERM)},unlink:function(e,r){throw new we.ErrnoError(le.EPERM)},rmdir:function(e,r){throw new we.ErrnoError(le.EPERM)},readdir:function(e){var r=[".",".."];for(var n in e.contents)e.contents.hasOwnProperty(n)&&r.push(n);return r},symlink:function(e,r,n){throw new we.ErrnoError(le.EPERM)},readlink:function(e){throw new we.ErrnoError(le.EPERM)}},stream_ops:{read:function(e,r,n,t,o){if(o>=e.node.size)return 0;var i=e.node.contents.slice(o,o+t),a=ye.reader.readAsArrayBuffer(i);return r.set(new Uint8Array(a),n),i.size},write:function(e,r,n,t,o){throw new we.ErrnoError(le.EIO)},llseek:function(e,r,n){var t=r;if(1===n?t+=e.position:2===n&&we.isFile(e.node.mode)&&(t+=e.node.size),t<0)throw new we.ErrnoError(le.EINVAL);return t}}};B+=16,B+=16,B+=16;var we={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:function(e){if(!(e instanceof we.ErrnoError))throw e+" : "+O();return de(e.errno)},lookupPath:function(e,r){if(r=r||{},!(e=pe.resolve(we.cwd(),e)))return{path:"",node:null};var n={follow_mount:!0,recurse_count:0};for(var t in n)void 0===r[t]&&(r[t]=n[t]);if(r.recurse_count>8)throw new we.ErrnoError(le.ELOOP);for(var o=pe.normalizeArray(e.split("/").filter(function(e){return!!e}),!1),i=we.root,a="/",s=0;s<o.length;s++){var c=s===o.length-1;if(c&&r.parent)break;if(i=we.lookupNode(i,o[s]),a=pe.join2(a,o[s]),we.isMountpoint(i)&&(!c||c&&r.follow_mount)&&(i=i.mounted.root),!c||r.follow)for(var u=0;we.isLink(i.mode);){var l=we.readlink(a);if(a=pe.resolve(pe.dirname(a),l),i=we.lookupPath(a,{recurse_count:r.recurse_count}).node,u++>40)throw new we.ErrnoError(le.ELOOP)}}return{path:a,node:i}},getPath:function(e){for(var r;;){if(we.isRoot(e)){var n=e.mount.mountpoint;return r?"/"!==n[n.length-1]?n+"/"+r:n+r:n}r=r?e.name+"/"+r:e.name,e=e.parent}},hashName:function(e,r){for(var n=0,t=0;t<r.length;t++)n=(n<<5)-n+r.charCodeAt(t)|0;return(e+n>>>0)%we.nameTable.length},hashAddNode:function(e){var r=we.hashName(e.parent.id,e.name);e.name_next=we.nameTable[r],we.nameTable[r]=e},hashRemoveNode:function(e){var r=we.hashName(e.parent.id,e.name);if(we.nameTable[r]===e)we.nameTable[r]=e.name_next;else for(var n=we.nameTable[r];n;){if(n.name_next===e){n.name_next=e.name_next;break}n=n.name_next}},lookupNode:function(e,r){var n=we.mayLookup(e);if(n)throw new we.ErrnoError(n,e);for(var t=we.hashName(e.id,r),o=we.nameTable[t];o;o=o.name_next)if(o.parent.id===e.id&&o.name===r)return o;return we.lookup(e,r)},createNode:function(e,r,n,t){we.FSNode||(we.FSNode=function(e,r,n,t){e||(e=this),this.parent=e,this.mount=e.mount,this.mounted=null,this.id=we.nextInode++,this.name=r,this.mode=n,this.node_ops={},this.stream_ops={},this.rdev=t},we.FSNode.prototype={},Object.defineProperties(we.FSNode.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(e){e?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(e){e?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return we.isDir(this.mode)}},isDevice:{get:function(){return we.isChrdev(this.mode)}}}));var o=new we.FSNode(e,r,n,t);return we.hashAddNode(o),o},destroyNode:function(e){we.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768==(61440&e)},isDir:function(e){return 16384==(61440&e)},isLink:function(e){return 40960==(61440&e)},isChrdev:function(e){return 8192==(61440&e)},isBlkdev:function(e){return 24576==(61440&e)},isFIFO:function(e){return 4096==(61440&e)},isSocket:function(e){return 49152==(49152&e)},flagModes:{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},modeStringToFlags:function(e){var r=we.flagModes[e];if(void 0===r)throw new Error("Unknown file open mode: "+e);return r},flagsToPermissionString:function(e){var r=["r","w","rw"][3&e];return 512&e&&(r+="w"),r},nodePermissions:function(e,r){return we.ignorePermissions?0:(-1===r.indexOf("r")||292&e.mode)&&(-1===r.indexOf("w")||146&e.mode)&&(-1===r.indexOf("x")||73&e.mode)?0:le.EACCES},mayLookup:function(e){var r=we.nodePermissions(e,"x");return r||(e.node_ops.lookup?0:le.EACCES)},mayCreate:function(e,r){try{return we.lookupNode(e,r),le.EEXIST}catch(e){}return we.nodePermissions(e,"wx")},mayDelete:function(e,r,n){var t;try{t=we.lookupNode(e,r)}catch(e){return e.errno}var o=we.nodePermissions(e,"wx");if(o)return o;if(n){if(!we.isDir(t.mode))return le.ENOTDIR;if(we.isRoot(t)||we.getPath(t)===we.cwd())return le.EBUSY}else if(we.isDir(t.mode))return le.EISDIR;return 0},mayOpen:function(e,r){return e?we.isLink(e.mode)?le.ELOOP:we.isDir(e.mode)&&("r"!==we.flagsToPermissionString(r)||512&r)?le.EISDIR:we.nodePermissions(e,we.flagsToPermissionString(r)):le.ENOENT},MAX_OPEN_FDS:4096,nextfd:function(e,r){r=r||we.MAX_OPEN_FDS;for(var n=e=e||0;n<=r;n++)if(!we.streams[n])return n;throw new we.ErrnoError(le.EMFILE)},getStream:function(e){return we.streams[e]},createStream:function(e,r,n){we.FSStream||(we.FSStream=function(){},we.FSStream.prototype={},Object.defineProperties(we.FSStream.prototype,{object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}}));var t=new we.FSStream;for(var o in e)t[o]=e[o];e=t;var i=we.nextfd(r,n);return e.fd=i,we.streams[i]=e,e},closeStream:function(e){we.streams[e]=null},chrdev_stream_ops:{open:function(e){var r=we.getDevice(e.node.rdev);e.stream_ops=r.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new we.ErrnoError(le.ESPIPE)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,r){return e<<8|r},registerDevice:function(e,r){we.devices[e]={stream_ops:r}},getDevice:function(e){return we.devices[e]},getMounts:function(e){for(var r=[],n=[e];n.length;){var t=n.pop();r.push(t),n.push.apply(n,t.mounts)}return r},syncfs:function(e,r){"function"==typeof e&&(r=e,e=!1),we.syncFSRequests++,we.syncFSRequests>1&&console.log("warning: "+we.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=we.getMounts(we.root.mount),t=0;function o(e){return g(we.syncFSRequests>0),we.syncFSRequests--,r(e)}function i(e){if(e)return i.errored?void 0:(i.errored=!0,o(e));++t>=n.length&&o(null)}n.forEach(function(r){if(!r.type.syncfs)return i(null);r.type.syncfs(r,e,i)})},mount:function(e,r,n){var t,o="/"===n,i=!n;if(o&&we.root)throw new we.ErrnoError(le.EBUSY);if(!o&&!i){var a=we.lookupPath(n,{follow_mount:!1});if(n=a.path,we.isMountpoint(t=a.node))throw new we.ErrnoError(le.EBUSY);if(!we.isDir(t.mode))throw new we.ErrnoError(le.ENOTDIR)}var s={type:e,opts:r,mountpoint:n,mounts:[]},c=e.mount(s);return c.mount=s,s.root=c,o?we.root=c:t&&(t.mounted=s,t.mount&&t.mount.mounts.push(s)),c},unmount:function(e){var r=we.lookupPath(e,{follow_mount:!1});if(!we.isMountpoint(r.node))throw new we.ErrnoError(le.EINVAL);var n=r.node,t=n.mounted,o=we.getMounts(t);Object.keys(we.nameTable).forEach(function(e){for(var r=we.nameTable[e];r;){var n=r.name_next;-1!==o.indexOf(r.mount)&&we.destroyNode(r),r=n}}),n.mounted=null;var i=n.mount.mounts.indexOf(t);g(-1!==i),n.mount.mounts.splice(i,1)},lookup:function(e,r){return e.node_ops.lookup(e,r)},mknod:function(e,r,n){var t=we.lookupPath(e,{parent:!0}).node,o=pe.basename(e);if(!o||"."===o||".."===o)throw new we.ErrnoError(le.EINVAL);var i=we.mayCreate(t,o);if(i)throw new we.ErrnoError(i);if(!t.node_ops.mknod)throw new we.ErrnoError(le.EPERM);return t.node_ops.mknod(t,o,r,n)},create:function(e,r){return r=void 0!==r?r:438,r&=4095,we.mknod(e,r|=32768,0)},mkdir:function(e,r){return r=void 0!==r?r:511,r&=1023,we.mknod(e,r|=16384,0)},mkdirTree:function(e,r){for(var n=e.split("/"),t="",o=0;o<n.length;++o)if(n[o]){t+="/"+n[o];try{we.mkdir(t,r)}catch(e){if(e.errno!=le.EEXIST)throw e}}},mkdev:function(e,r,n){return void 0===n&&(n=r,r=438),we.mknod(e,r|=8192,n)},symlink:function(e,r){if(!pe.resolve(e))throw new we.ErrnoError(le.ENOENT);var n=we.lookupPath(r,{parent:!0}).node;if(!n)throw new we.ErrnoError(le.ENOENT);var t=pe.basename(r),o=we.mayCreate(n,t);if(o)throw new we.ErrnoError(o);if(!n.node_ops.symlink)throw new we.ErrnoError(le.EPERM);return n.node_ops.symlink(n,t,e)},rename:function(e,r){var n,t,o=pe.dirname(e),i=pe.dirname(r),a=pe.basename(e),s=pe.basename(r);try{n=we.lookupPath(e,{parent:!0}).node,t=we.lookupPath(r,{parent:!0}).node}catch(e){throw new we.ErrnoError(le.EBUSY)}if(!n||!t)throw new we.ErrnoError(le.ENOENT);if(n.mount!==t.mount)throw new we.ErrnoError(le.EXDEV);var c,u=we.lookupNode(n,a),l=pe.relative(e,i);if("."!==l.charAt(0))throw new we.ErrnoError(le.EINVAL);if("."!==(l=pe.relative(r,o)).charAt(0))throw new we.ErrnoError(le.ENOTEMPTY);try{c=we.lookupNode(t,s)}catch(e){}if(u!==c){var f=we.isDir(u.mode),d=we.mayDelete(n,a,f);if(d)throw new we.ErrnoError(d);if(d=c?we.mayDelete(t,s,f):we.mayCreate(t,s))throw new we.ErrnoError(d);if(!n.node_ops.rename)throw new we.ErrnoError(le.EPERM);if(we.isMountpoint(u)||c&&we.isMountpoint(c))throw new we.ErrnoError(le.EBUSY);if(t!==n&&(d=we.nodePermissions(n,"w")))throw new we.ErrnoError(d);we.hashRemoveNode(u);try{n.node_ops.rename(u,t,s)}catch(e){throw e}finally{we.hashAddNode(u)}}},rmdir:function(e){var r=we.lookupPath(e,{parent:!0}).node,n=pe.basename(e),t=we.lookupNode(r,n),o=we.mayDelete(r,n,!0);if(o)throw new we.ErrnoError(o);if(!r.node_ops.rmdir)throw new we.ErrnoError(le.EPERM);if(we.isMountpoint(t))throw new we.ErrnoError(le.EBUSY);r.node_ops.rmdir(r,n),we.destroyNode(t)},readdir:function(e){var r=we.lookupPath(e,{follow:!0}).node;if(!r.node_ops.readdir)throw new we.ErrnoError(le.ENOTDIR);return r.node_ops.readdir(r)},unlink:function(e){var r=we.lookupPath(e,{parent:!0}).node,n=pe.basename(e),t=we.lookupNode(r,n),o=we.mayDelete(r,n,!1);if(o)throw new we.ErrnoError(o);if(!r.node_ops.unlink)throw new we.ErrnoError(le.EPERM);if(we.isMountpoint(t))throw new we.ErrnoError(le.EBUSY);r.node_ops.unlink(r,n),we.destroyNode(t)},readlink:function(e){var r=we.lookupPath(e).node;if(!r)throw new we.ErrnoError(le.ENOENT);if(!r.node_ops.readlink)throw new we.ErrnoError(le.EINVAL);return pe.resolve(we.getPath(r.parent),r.node_ops.readlink(r))},stat:function(e,r){var n=we.lookupPath(e,{follow:!r}).node;if(!n)throw new we.ErrnoError(le.ENOENT);if(!n.node_ops.getattr)throw new we.ErrnoError(le.EPERM);return n.node_ops.getattr(n)},lstat:function(e){return we.stat(e,!0)},chmod:function(e,r,n){var t;if(!(t="string"==typeof e?we.lookupPath(e,{follow:!n}).node:e).node_ops.setattr)throw new we.ErrnoError(le.EPERM);t.node_ops.setattr(t,{mode:4095&r|-4096&t.mode,timestamp:Date.now()})},lchmod:function(e,r){we.chmod(e,r,!0)},fchmod:function(e,r){var n=we.getStream(e);if(!n)throw new we.ErrnoError(le.EBADF);we.chmod(n.node,r)},chown:function(e,r,n,t){var o;if(!(o="string"==typeof e?we.lookupPath(e,{follow:!t}).node:e).node_ops.setattr)throw new we.ErrnoError(le.EPERM);o.node_ops.setattr(o,{timestamp:Date.now()})},lchown:function(e,r,n){we.chown(e,r,n,!0)},fchown:function(e,r,n){var t=we.getStream(e);if(!t)throw new we.ErrnoError(le.EBADF);we.chown(t.node,r,n)},truncate:function(e,r){if(r<0)throw new we.ErrnoError(le.EINVAL);var n;if(!(n="string"==typeof e?we.lookupPath(e,{follow:!0}).node:e).node_ops.setattr)throw new we.ErrnoError(le.EPERM);if(we.isDir(n.mode))throw new we.ErrnoError(le.EISDIR);if(!we.isFile(n.mode))throw new we.ErrnoError(le.EINVAL);var t=we.nodePermissions(n,"w");if(t)throw new we.ErrnoError(t);n.node_ops.setattr(n,{size:r,timestamp:Date.now()})},ftruncate:function(e,r){var n=we.getStream(e);if(!n)throw new we.ErrnoError(le.EBADF);if(0==(2097155&n.flags))throw new we.ErrnoError(le.EINVAL);we.truncate(n.node,r)},utime:function(e,r,n){var t=we.lookupPath(e,{follow:!0}).node;t.node_ops.setattr(t,{timestamp:Math.max(r,n)})},open:function(e,r,n,o,i){if(""===e)throw new we.ErrnoError(le.ENOENT);var a;if(n=void 0===n?438:n,n=64&(r="string"==typeof r?we.modeStringToFlags(r):r)?4095&n|32768:0,"object"==typeof e)a=e;else{e=pe.normalize(e);try{a=we.lookupPath(e,{follow:!(131072&r)}).node}catch(e){}}var s=!1;if(64&r)if(a){if(128&r)throw new we.ErrnoError(le.EEXIST)}else a=we.mknod(e,n,0),s=!0;if(!a)throw new we.ErrnoError(le.ENOENT);if(we.isChrdev(a.mode)&&(r&=-513),65536&r&&!we.isDir(a.mode))throw new we.ErrnoError(le.ENOTDIR);if(!s){var c=we.mayOpen(a,r);if(c)throw new we.ErrnoError(c)}512&r&&we.truncate(a,0),r&=-641;var u=we.createStream({node:a,path:we.getPath(a),flags:r,seekable:!0,position:0,stream_ops:a.stream_ops,ungotten:[],error:!1},o,i);return u.stream_ops.open&&u.stream_ops.open(u),!t.logReadFiles||1&r||(we.readFiles||(we.readFiles={}),e in we.readFiles||(we.readFiles[e]=1,console.log("FS.trackingDelegate error on read file: "+e))),u},close:function(e){if(we.isClosed(e))throw new we.ErrnoError(le.EBADF);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{we.closeStream(e.fd)}e.fd=null},isClosed:function(e){return null===e.fd},llseek:function(e,r,n){if(we.isClosed(e))throw new we.ErrnoError(le.EBADF);if(!e.seekable||!e.stream_ops.llseek)throw new we.ErrnoError(le.ESPIPE);return e.position=e.stream_ops.llseek(e,r,n),e.ungotten=[],e.position},read:function(e,r,n,t,o){if(t<0||o<0)throw new we.ErrnoError(le.EINVAL);if(we.isClosed(e))throw new we.ErrnoError(le.EBADF);if(1==(2097155&e.flags))throw new we.ErrnoError(le.EBADF);if(we.isDir(e.node.mode))throw new we.ErrnoError(le.EISDIR);if(!e.stream_ops.read)throw new we.ErrnoError(le.EINVAL);var i=void 0!==o;if(i){if(!e.seekable)throw new we.ErrnoError(le.ESPIPE)}else o=e.position;var a=e.stream_ops.read(e,r,n,t,o);return i||(e.position+=a),a},write:function(e,r,n,t,o,i){if(t<0||o<0)throw new we.ErrnoError(le.EINVAL);if(we.isClosed(e))throw new we.ErrnoError(le.EBADF);if(0==(2097155&e.flags))throw new we.ErrnoError(le.EBADF);if(we.isDir(e.node.mode))throw new we.ErrnoError(le.EISDIR);if(!e.stream_ops.write)throw new we.ErrnoError(le.EINVAL);1024&e.flags&&we.llseek(e,0,2);var a=void 0!==o;if(a){if(!e.seekable)throw new we.ErrnoError(le.ESPIPE)}else o=e.position;var s=e.stream_ops.write(e,r,n,t,o,i);a||(e.position+=s);try{e.path&&we.trackingDelegate.onWriteToFile&&we.trackingDelegate.onWriteToFile(e.path)}catch(e){console.log("FS.trackingDelegate['onWriteToFile']('"+path+"') threw an exception: "+e.message)}return s},allocate:function(e,r,n){if(we.isClosed(e))throw new we.ErrnoError(le.EBADF);if(r<0||n<=0)throw new we.ErrnoError(le.EINVAL);if(0==(2097155&e.flags))throw new we.ErrnoError(le.EBADF);if(!we.isFile(e.node.mode)&&!we.isDir(e.node.mode))throw new we.ErrnoError(le.ENODEV);if(!e.stream_ops.allocate)throw new we.ErrnoError(le.EOPNOTSUPP);e.stream_ops.allocate(e,r,n)},mmap:function(e,r,n,t,o,i,a){if(1==(2097155&e.flags))throw new we.ErrnoError(le.EACCES);if(!e.stream_ops.mmap)throw new we.ErrnoError(le.ENODEV);return e.stream_ops.mmap(e,r,n,t,o,i,a)},msync:function(e,r,n,t,o){return e&&e.stream_ops.msync?e.stream_ops.msync(e,r,n,t,o):0},munmap:function(e){return 0},ioctl:function(e,r,n){if(!e.stream_ops.ioctl)throw new we.ErrnoError(le.ENOTTY);return e.stream_ops.ioctl(e,r,n)},readFile:function(e,r){if((r=r||{}).flags=r.flags||"r",r.encoding=r.encoding||"binary","utf8"!==r.encoding&&"binary"!==r.encoding)throw new Error('Invalid encoding type "'+r.encoding+'"');var n,t=we.open(e,r.flags),o=we.stat(e).size,i=new Uint8Array(o);return we.read(t,i,0,o,0),"utf8"===r.encoding?n=_(i,0):"binary"===r.encoding&&(n=i),we.close(t),n},writeFile:function(e,r,n){(n=n||{}).flags=n.flags||"w";var t=we.open(e,n.flags,n.mode);if("string"==typeof r){var o=new Uint8Array(D(r)+1),i=k(r,o,0,o.length);we.write(t,o,0,i,void 0,n.canOwn)}else{if(!ArrayBuffer.isView(r))throw new Error("Unsupported data type");we.write(t,r,0,r.byteLength,void 0,n.canOwn)}we.close(t)},cwd:function(){return we.currentPath},chdir:function(e){var r=we.lookupPath(e,{follow:!0});if(null===r.node)throw new we.ErrnoError(le.ENOENT);if(!we.isDir(r.node.mode))throw new we.ErrnoError(le.ENOTDIR);var n=we.nodePermissions(r.node,"x");if(n)throw new we.ErrnoError(n);we.currentPath=r.path},createDefaultDirectories:function(){we.mkdir("/tmp"),we.mkdir("/home"),we.mkdir("/home/web_user")},createDefaultDevices:function(){var e;if(we.mkdir("/dev"),we.registerDevice(we.makedev(1,3),{read:function(){return 0},write:function(e,r,n,t,o){return t}}),we.mkdev("/dev/null",we.makedev(1,3)),me.register(we.makedev(5,0),me.default_tty_ops),me.register(we.makedev(6,0),me.default_tty1_ops),we.mkdev("/dev/tty",we.makedev(5,0)),we.mkdev("/dev/tty1",we.makedev(6,0)),"undefined"!=typeof crypto){var r=new Uint8Array(1);e=function(){return crypto.getRandomValues(r),r[0]}}else e=i?function(){return require("crypto").randomBytes(1)[0]}:function(){Yr("random_device")};we.createDevice("/dev","random",e),we.createDevice("/dev","urandom",e),we.mkdir("/dev/shm"),we.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){we.mkdir("/proc"),we.mkdir("/proc/self"),we.mkdir("/proc/self/fd"),we.mount({mount:function(){var e=we.createNode("/proc/self","fd",16895,73);return e.node_ops={lookup:function(e,r){var n=we.getStream(+r);if(!n)throw new we.ErrnoError(le.EBADF);var t={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return n.path}}};return t.parent=t,t}},e}},{},"/proc/self/fd")},createStandardStreams:function(){t.stdin?we.createDevice("/dev","stdin",t.stdin):we.symlink("/dev/tty","/dev/stdin"),t.stdout?we.createDevice("/dev","stdout",null,t.stdout):we.symlink("/dev/tty","/dev/stdout"),t.stderr?we.createDevice("/dev","stderr",null,t.stderr):we.symlink("/dev/tty1","/dev/stderr");var e=we.open("/dev/stdin","r");g(0===e.fd,"invalid handle for stdin ("+e.fd+")");var r=we.open("/dev/stdout","w");g(1===r.fd,"invalid handle for stdout ("+r.fd+")");var n=we.open("/dev/stderr","w");g(2===n.fd,"invalid handle for stderr ("+n.fd+")")},ensureErrnoError:function(){we.ErrnoError||(we.ErrnoError=function(e,r){this.node=r,this.setErrno=function(e){for(var r in this.errno=e,le)if(le[r]===e){this.code=r;break}},this.setErrno(e),this.message=fe[e],this.stack&&Object.defineProperty(this,"stack",{value:(new Error).stack,writable:!0})},we.ErrnoError.prototype=new Error,we.ErrnoError.prototype.constructor=we.ErrnoError,[le.ENOENT].forEach(function(e){we.genericErrors[e]=new we.ErrnoError(e),we.genericErrors[e].stack="<generic error, no stack>"}))},staticInit:function(){we.ensureErrnoError(),we.nameTable=new Array(4096),we.mount(he,{},"/"),we.createDefaultDirectories(),we.createDefaultDevices(),we.createSpecialDirectories(),we.filesystems={MEMFS:he,IDBFS:Ee,NODEFS:ve,WORKERFS:ye}},init:function(e,r,n){g(!we.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),we.init.initialized=!0,we.ensureErrnoError(),t.stdin=e||t.stdin,t.stdout=r||t.stdout,t.stderr=n||t.stderr,we.createStandardStreams()},quit:function(){we.init.initialized=!1;var e=t._fflush;e&&e(0);for(var r=0;r<we.streams.length;r++){var n=we.streams[r];n&&we.close(n)}},getMode:function(e,r){var n=0;return e&&(n|=365),r&&(n|=146),n},joinPath:function(e,r){var n=pe.join.apply(null,e);return r&&"/"==n[0]&&(n=n.substr(1)),n},absolutePath:function(e,r){return pe.resolve(r,e)},standardizePath:function(e){return pe.normalize(e)},findObject:function(e,r){var n=we.analyzePath(e,r);return n.exists?n.object:(de(n.error),null)},analyzePath:function(e,r){try{e=(t=we.lookupPath(e,{follow:!r})).path}catch(e){}var n={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var t=we.lookupPath(e,{parent:!0});n.parentExists=!0,n.parentPath=t.path,n.parentObject=t.node,n.name=pe.basename(e),t=we.lookupPath(e,{follow:!r}),n.exists=!0,n.path=t.path,n.object=t.node,n.name=t.node.name,n.isRoot="/"===t.path}catch(e){n.error=e.errno}return n},createFolder:function(e,r,n,t){var o=pe.join2("string"==typeof e?e:we.getPath(e),r),i=we.getMode(n,t);return we.mkdir(o,i)},createPath:function(e,r,n,t){e="string"==typeof e?e:we.getPath(e);for(var o=r.split("/").reverse();o.length;){var i=o.pop();if(i){var a=pe.join2(e,i);try{we.mkdir(a)}catch(e){}e=a}}return a},createFile:function(e,r,n,t,o){var i=pe.join2("string"==typeof e?e:we.getPath(e),r),a=we.getMode(t,o);return we.create(i,a)},createDataFile:function(e,r,n,t,o,i){var a=r?pe.join2("string"==typeof e?e:we.getPath(e),r):e,s=we.getMode(t,o),c=we.create(a,s);if(n){if("string"==typeof n){for(var u=new Array(n.length),l=0,f=n.length;l<f;++l)u[l]=n.charCodeAt(l);n=u}we.chmod(c,146|s);var d=we.open(c,"w");we.write(d,n,0,n.length,0,i),we.close(d),we.chmod(c,s)}return c},createDevice:function(e,r,n,t){var o=pe.join2("string"==typeof e?e:we.getPath(e),r),i=we.getMode(!!n,!!t);we.createDevice.major||(we.createDevice.major=64);var a=we.makedev(we.createDevice.major++,0);return we.registerDevice(a,{open:function(e){e.seekable=!1},close:function(e){t&&t.buffer&&t.buffer.length&&t(10)},read:function(e,r,t,o,i){for(var a=0,s=0;s<o;s++){var c;try{c=n()}catch(e){throw new we.ErrnoError(le.EIO)}if(void 0===c&&0===a)throw new we.ErrnoError(le.EAGAIN);if(null==c)break;a++,r[t+s]=c}return a&&(e.node.timestamp=Date.now()),a},write:function(e,r,n,o,i){for(var a=0;a<o;a++)try{t(r[n+a])}catch(e){throw new we.ErrnoError(le.EIO)}return o&&(e.node.timestamp=Date.now()),a}}),we.mkdev(o,i,a)},createLink:function(e,r,n,t,o){var i=pe.join2("string"==typeof e?e:we.getPath(e),r);return we.symlink(n,i)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;var r=!0;if("undefined"!=typeof XMLHttpRequest)throw new 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(!t.read)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=Rr(t.read(e.url),!0),e.usedBytes=e.contents.length}catch(e){r=!1}return r||de(le.EIO),r},createLazyFile:function(e,r,n,t,o){function i(){this.lengthKnown=!1,this.chunks=[]}if(i.prototype.get=function(e){if(!(e>this.length-1||e<0)){var r=e%this.chunkSize;return this.getter(e/this.chunkSize|0)[r]}},i.prototype.setDataGetter=function(e){this.getter=e},i.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",n,!1),e.send(null),!(e.status>=200&&e.status<300||304===e.status))throw new Error("Couldn't load "+n+". Status: "+e.status);var r,t=Number(e.getResponseHeader("Content-length")),o=(r=e.getResponseHeader("Accept-Ranges"))&&"bytes"===r,i=(r=e.getResponseHeader("Content-Encoding"))&&"gzip"===r,a=1048576;o||(a=t);var s=this;s.setDataGetter(function(e){var r=e*a,o=(e+1)*a-1;if(o=Math.min(o,t-1),void 0===s.chunks[e]&&(s.chunks[e]=function(e,r){if(e>r)throw new Error("invalid range ("+e+", "+r+") or no bytes requested!");if(r>t-1)throw new Error("only "+t+" bytes available! programmer error!");var o=new XMLHttpRequest;if(o.open("GET",n,!1),t!==a&&o.setRequestHeader("Range","bytes="+e+"-"+r),"undefined"!=typeof Uint8Array&&(o.responseType="arraybuffer"),o.overrideMimeType&&o.overrideMimeType("text/plain; charset=x-user-defined"),o.send(null),!(o.status>=200&&o.status<300||304===o.status))throw new Error("Couldn't load "+n+". Status: "+o.status);return void 0!==o.response?new Uint8Array(o.response||[]):Rr(o.responseText||"",!0)}(r,o)),void 0===s.chunks[e])throw new Error("doXHR failed!");return s.chunks[e]}),!i&&t||(a=t=1,t=this.getter(0).length,a=t,console.log("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=t,this._chunkSize=a,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!c)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var a=new i;Object.defineProperties(a,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}});var s={isDevice:!1,contents:a}}else s={isDevice:!1,url:n};var u=we.createFile(e,r,s,t,o);s.contents?u.contents=s.contents:s.url&&(u.contents=null,u.url=s.url),Object.defineProperties(u,{usedBytes:{get:function(){return this.contents.length}}});var l={};return Object.keys(u.stream_ops).forEach(function(e){var r=u.stream_ops[e];l[e]=function(){if(!we.forceLoadFile(u))throw new we.ErrnoError(le.EIO);return r.apply(null,arguments)}}),l.read=function(e,r,n,t,o){if(!we.forceLoadFile(u))throw new we.ErrnoError(le.EIO);var i=e.node.contents;if(o>=i.length)return 0;var a=Math.min(i.length-o,t);if(g(a>=0),i.slice)for(var s=0;s<a;s++)r[n+s]=i[o+s];else for(s=0;s<a;s++)r[n+s]=i.get(o+s);return a},u.stream_ops=l,u},createPreloadedFile:function(e,r,n,o,i,a,s,c,u,l){Browser.init();var f=r?pe.resolve(pe.join2(e,r)):e;function d(n){function d(n){l&&l(),c||we.createDataFile(e,r,n,o,i,u),a&&a(),se()}var p=!1;t.preloadPlugins.forEach(function(e){p||e.canHandle(f)&&(e.handle(n,f,d,function(){s&&s(),se()}),p=!0)}),p||d(n)}ae(),"string"==typeof n?Browser.asyncLoad(n,function(e){d(e)},s):d(n)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(e,r,n){r=r||function(){},n=n||function(){};var t=we.indexedDB();try{var o=t.open(we.DB_NAME(),we.DB_VERSION)}catch(e){return n(e)}o.onupgradeneeded=function(){console.log("creating db"),o.result.createObjectStore(we.DB_STORE_NAME)},o.onsuccess=function(){var t=o.result.transaction([we.DB_STORE_NAME],"readwrite"),i=t.objectStore(we.DB_STORE_NAME),a=0,s=0,c=e.length;function u(){0==s?r():n()}e.forEach(function(e){var r=i.put(we.analyzePath(e).object.contents,e);r.onsuccess=function(){++a+s==c&&u()},r.onerror=function(){a+ ++s==c&&u()}}),t.onerror=n},o.onerror=n},loadFilesFromDB:function(e,r,n){r=r||function(){},n=n||function(){};var t=we.indexedDB();try{var o=t.open(we.DB_NAME(),we.DB_VERSION)}catch(e){return n(e)}o.onupgradeneeded=n,o.onsuccess=function(){var t=o.result;try{var i=t.transaction([we.DB_STORE_NAME],"readonly")}catch(e){return void n(e)}var a=i.objectStore(we.DB_STORE_NAME),s=0,c=0,u=e.length;function l(){0==c?r():n()}e.forEach(function(e){var r=a.get(e);r.onsuccess=function(){we.analyzePath(e).exists&&we.unlink(e),we.createDataFile(pe.dirname(e),pe.basename(e),r.result,!0,!0,!0),++s+c==u&&l()},r.onerror=function(){s+ ++c==u&&l()}}),i.onerror=n},o.onerror=n}},ge={DEFAULT_POLLMASK:5,mappings:{},umask:511,calculateAt:function(e,r){if("/"!==r[0]){var n;if(-100===e)n=we.cwd();else{var t=we.getStream(e);if(!t)throw new we.ErrnoError(le.EBADF);n=t.path}r=pe.join2(n,r)}return r},doStat:function(e,r,n){try{var t=e(r)}catch(e){if(e&&e.node&&pe.normalize(r)!==pe.normalize(we.getPath(e.node)))return-le.ENOTDIR;throw e}return M[n>>2]=t.dev,M[n+4>>2]=0,M[n+8>>2]=t.ino,M[n+12>>2]=t.mode,M[n+16>>2]=t.nlink,M[n+20>>2]=t.uid,M[n+24>>2]=t.gid,M[n+28>>2]=t.rdev,M[n+32>>2]=0,M[n+36>>2]=t.size,M[n+40>>2]=4096,M[n+44>>2]=t.blocks,M[n+48>>2]=t.atime.getTime()/1e3|0,M[n+52>>2]=0,M[n+56>>2]=t.mtime.getTime()/1e3|0,M[n+60>>2]=0,M[n+64>>2]=t.ctime.getTime()/1e3|0,M[n+68>>2]=0,M[n+72>>2]=t.ino,0},doMsync:function(e,r,n,t){var o=new Uint8Array(A.subarray(e,e+n));we.msync(r,o,0,n,t)},doMkdir:function(e,r){return"/"===(e=pe.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),we.mkdir(e,r,0),0},doMknod:function(e,r,n){switch(61440&r){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-le.EINVAL}return we.mknod(e,r,n),0},doReadlink:function(e,r,n){if(n<=0)return-le.EINVAL;var t=we.readlink(e),o=Math.min(n,D(t)),i=S[r+o];return N(t,r,n+1),S[r+o]=i,o},doAccess:function(e,r){if(-8&r)return-le.EINVAL;var n=we.lookupPath(e,{follow:!0}),t="";return 4&r&&(t+="r"),2&r&&(t+="w"),1&r&&(t+="x"),t&&we.nodePermissions(n.node,t)?-le.EACCES:0},doDup:function(e,r,n){var t=we.getStream(n);return t&&we.close(t),we.open(e,r,0,n,n).fd},doReadv:function(e,r,n,t){for(var o=0,i=0;i<n;i++){var a=M[r+(8*i+4)>>2],s=we.read(e,S,M[r+8*i>>2],a,t);if(s<0)return-1;if(o+=s,s<a)break}return o},doWritev:function(e,r,n,t){for(var o=0,i=0;i<n;i++){var a=we.write(e,S,M[r+8*i>>2],M[r+(8*i+4)>>2],t);if(a<0)return-1;o+=a}return o},varargs:0,get:function(e){return ge.varargs+=4,M[ge.varargs-4>>2]},getStr:function(){return function(e,r){if(0===r||!e)return"";for(var n,t=0,o=0;t|=n=A[e+o>>0],(0!=n||r)&&(o++,!r||o!=r););r||(r=o);var i="";if(t<128){for(var a;r>0;)a=String.fromCharCode.apply(String,A.subarray(e,e+Math.min(r,1024))),i=i?i+a:a,e+=1024,r-=1024;return i}return T(e)}(ge.get())},getStreamFromFD:function(){var e=we.getStream(ge.get());if(!e)throw new we.ErrnoError(le.EBADF);return e},getSocketFromFD:function(){var e=SOCKFS.getSocket(ge.get());if(!e)throw new we.ErrnoError(le.EBADF);return e},getSocketAddress:function(e){var r=ge.get(),n=ge.get();if(e&&0===r)return null;var t=__read_sockaddr(r,n);if(t.errno)throw new we.ErrnoError(t.errno);return t.addr=DNS.lookup_addr(t.addr)||t.addr,t},get64:function(){var e=ge.get(),r=ge.get();return g(e>=0?0===r:-1===r),e},getZero:function(){g(0===ge.get())}};function be(e){switch(e){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+e)}}var _e=void 0;function Te(e){for(var r="",n=e;A[n];)r+=_e[A[n++]];return r}var ke={},Ne={},De={},Oe=48,Pe=57;function Se(e){if(void 0===e)return"_unknown";var r=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return r>=Oe&&r<=Pe?"_"+e:e}function Ae(e,r){return e=Se(e),new Function("body","return function "+e+'() {\n    "use strict";    return body.apply(this, arguments);\n};\n')(r)}function Ce(e,r){var n=Ae(r,function(e){this.name=r,this.message=e;var n=new Error(e).stack;void 0!==n&&(this.stack=this.toString()+"\n"+n.replace(/^Error(:[^\n]*)?\n/,""))});return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},n}var Fe=void 0;function Me(e){throw new Fe(e)}var Re=void 0;function Le(e){throw new Re(e)}function Ie(e,r,n){function t(r){var t=n(r);t.length!==e.length&&Le("Mismatched type converter count");for(var o=0;o<e.length;++o)Be(e[o],t[o])}e.forEach(function(e){De[e]=r});var o=new Array(r.length),i=[],a=0;r.forEach(function(e,r){Ne.hasOwnProperty(e)?o[r]=Ne[e]:(i.push(e),ke.hasOwnProperty(e)||(ke[e]=[]),ke[e].push(function(){o[r]=Ne[e],++a===i.length&&t(o)}))}),0===i.length&&t(o)}function Be(e,r,n){if(n=n||{},!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");var t=r.name;if(e||Me('type "'+t+'" must have a positive integer typeid pointer'),Ne.hasOwnProperty(e)){if(n.ignoreDuplicateRegistrations)return;Me("Cannot register type '"+t+"' twice")}if(Ne[e]=r,delete De[e],ke.hasOwnProperty(e)){var o=ke[e];delete ke[e],o.forEach(function(e){e()})}}function je(e){if(!(this instanceof Xe))return!1;if(!(e instanceof Xe))return!1;for(var r=this.$$.ptrType.registeredClass,n=this.$$.ptr,t=e.$$.ptrType.registeredClass,o=e.$$.ptr;r.baseClass;)n=r.upcast(n),r=r.baseClass;for(;t.baseClass;)o=t.upcast(o),t=t.baseClass;return r===t&&n===o}function $e(e){Me(e.$$.ptrType.registeredClass.name+" instance already deleted")}function We(){if(this.$$.ptr||$e(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e,r=Object.create(Object.getPrototypeOf(this),{$$:{value:(e=this.$$,{count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType})}});return r.$$.count.value+=1,r.$$.deleteScheduled=!1,r}function ze(){var e;this.$$.ptr||$e(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Me("Object already scheduled for deletion"),this.$$.count.value-=1,0===this.$$.count.value&&((e=this.$$).smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)}function Ve(){return!this.$$.ptr}var qe=void 0,Ge=[];function Ue(){for(;Ge.length;){var e=Ge.pop();e.$$.deleteScheduled=!1,e.delete()}}function Ye(){return this.$$.ptr||$e(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&Me("Object already scheduled for deletion"),Ge.push(this),1===Ge.length&&qe&&qe(Ue),this.$$.deleteScheduled=!0,this}function Xe(){}var He={};function xe(e,r,n){if(void 0===e[r].overloadTable){var t=e[r];e[r]=function(){return e[r].overloadTable.hasOwnProperty(arguments.length)||Me("Function '"+n+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[r].overloadTable+")!"),e[r].overloadTable[arguments.length].apply(this,arguments)},e[r].overloadTable=[],e[r].overloadTable[t.argCount]=t}}function Ke(e,r,n,t,o,i,a,s){this.name=e,this.constructor=r,this.instancePrototype=n,this.rawDestructor=t,this.baseClass=o,this.getActualType=i,this.upcast=a,this.downcast=s,this.pureVirtualFunctions=[]}function Qe(e,r,n){for(;r!==n;)r.upcast||Me("Expected null or instance of "+n.name+", got an instance of "+r.name),e=r.upcast(e),r=r.baseClass;return e}function Ze(e,r){return null===r?(this.isReference&&Me("null is not a valid "+this.name),0):(r.$$||Me('Cannot pass "'+Dr(r)+'" as a '+this.name),r.$$.ptr||Me("Cannot pass deleted object as a pointer of type "+this.name),Qe(r.$$.ptr,r.$$.ptrType.registeredClass,this.registeredClass))}function Je(e,r){var n;if(null===r)return this.isReference&&Me("null is not a valid "+this.name),this.isSmartPointer?(n=this.rawConstructor(),null!==e&&e.push(this.rawDestructor,n),n):0;if(r.$$||Me('Cannot pass "'+Dr(r)+'" as a '+this.name),r.$$.ptr||Me("Cannot pass deleted object as a pointer of type "+this.name),!this.isConst&&r.$$.ptrType.isConst&&Me("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name),n=Qe(r.$$.ptr,r.$$.ptrType.registeredClass,this.registeredClass),this.isSmartPointer)switch(void 0===r.$$.smartPtr&&Me("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:r.$$.smartPtrType===this?n=r.$$.smartPtr:Me("Cannot convert argument of type "+(r.$$.smartPtrType?r.$$.smartPtrType.name:r.$$.ptrType.name)+" to parameter type "+this.name);break;case 1:n=r.$$.smartPtr;break;case 2:if(r.$$.smartPtrType===this)n=r.$$.smartPtr;else{var t=r.clone();n=this.rawShare(n,Nr(function(){t.delete()})),null!==e&&e.push(this.rawDestructor,n)}break;default:Me("Unsupporting sharing policy")}return n}function er(e,r){return null===r?(this.isReference&&Me("null is not a valid "+this.name),0):(r.$$||Me('Cannot pass "'+Dr(r)+'" as a '+this.name),r.$$.ptr||Me("Cannot pass deleted object as a pointer of type "+this.name),r.$$.ptrType.isConst&&Me("Cannot convert argument of type "+r.$$.ptrType.name+" to parameter type "+this.name),Qe(r.$$.ptr,r.$$.ptrType.registeredClass,this.registeredClass))}function rr(e){return this.fromWireType(R[e>>2])}function nr(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e}function tr(e){this.rawDestructor&&this.rawDestructor(e)}function or(e){null!==e&&e.delete()}function ir(){return Object.keys(cr).length}function ar(){var e=[];for(var r in cr)cr.hasOwnProperty(r)&&e.push(cr[r]);return e}function sr(e){qe=e,Ge.length&&qe&&qe(Ue)}var cr={};function ur(e,r){return r=function(e,r){for(void 0===r&&Me("ptr should not be undefined");e.baseClass;)r=e.upcast(r),e=e.baseClass;return r}(e,r),cr[r]}function lr(e,r){return r.ptrType&&r.ptr||Le("makeClassHandle requires ptr and ptrType"),!!r.smartPtrType!=!!r.smartPtr&&Le("Both smartPtrType and smartPtr must be specified"),r.count={value:1},Object.create(e,{$$:{value:r}})}function fr(e){var r=this.getPointee(e);if(!r)return this.destructor(e),null;var n=ur(this.registeredClass,r);if(void 0!==n){if(0===n.$$.count.value)return n.$$.ptr=r,n.$$.smartPtr=e,n.clone();var t=n.clone();return this.destructor(e),t}function o(){return lr(this.registeredClass.instancePrototype,this.isSmartPointer?{ptrType:this.pointeeType,ptr:r,smartPtrType:this,smartPtr:e}:{ptrType:this,ptr:e})}var i,a=this.registeredClass.getActualType(r),s=He[a];if(!s)return o.call(this);var c=function e(r,n,t){if(n===t)return r;if(void 0===t.baseClass)return null;var o=e(r,n,t.baseClass);return null===o?null:t.downcast(o)}(r,this.registeredClass,(i=this.isConst?s.constPointerType:s.pointerType).registeredClass);return null===c?o.call(this):lr(i.registeredClass.instancePrototype,this.isSmartPointer?{ptrType:i,ptr:c,smartPtrType:this,smartPtr:e}:{ptrType:i,ptr:c})}function dr(e,r,n,t,o,i,a,s,c,u,l){this.name=e,this.registeredClass=r,this.isReference=n,this.isConst=t,this.isSmartPointer=o,this.pointeeType=i,this.sharingPolicy=a,this.rawGetPointee=s,this.rawConstructor=c,this.rawShare=u,this.rawDestructor=l,o||void 0!==r.baseClass?this.toWireType=Je:t?(this.toWireType=Ze,this.destructorFunction=null):(this.toWireType=er,this.destructorFunction=null)}function pr(e,r){var n;if(e=Te(e),void 0!==t["FUNCTION_TABLE_"+e])n=t["FUNCTION_TABLE_"+e][r];else if("undefined"!=typeof FUNCTION_TABLE)n=FUNCTION_TABLE[r];else{var o=t["dynCall_"+e];void 0===o&&void 0===(o=t["dynCall_"+e.replace(/f/g,"d")])&&Me("No dynCall invoker for signature: "+e),n=function(n){for(var t=[],o=1;o<e.length;++o)t.push("a"+o);var i="return function dynCall_"+e+"_"+r+"("+t.join(", ")+") {\n";return i+="    return dynCall(rawFunction"+(t.length?", ":"")+t.join(", ")+");\n",i+="};\n",new Function("dynCall","rawFunction",i)(n,r)}(o)}return"function"!=typeof n&&Me("unknown function pointer with signature "+e+": "+r),n}var mr=void 0;function hr(e){var r=jr(e),n=Te(r);return Wr(r),n}function Er(e,r){var n=[],t={};throw r.forEach(function e(r){t[r]||Ne[r]||(De[r]?De[r].forEach(e):(n.push(r),t[r]=!0))}),new mr(e+": "+n.map(hr).join([", "]))}function vr(e,r){for(var n=[],t=0;t<e;t++)n.push(M[(r>>2)+t]);return n}function yr(e){for(;e.length;){var r=e.pop();e.pop()(r)}}function wr(e,r,n,t,o){var i=r.length;i<2&&Me("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var a=null!==r[1]&&null!==n,s=!1,c=1;c<r.length;++c)if(null!==r[c]&&void 0===r[c].destructorFunction){s=!0;break}var u="void"!==r[0].name,l="",f="";for(c=0;c<i-2;++c)l+=(0!==c?", ":"")+"arg"+c,f+=(0!==c?", ":"")+"arg"+c+"Wired";var d="return function "+Se(e)+"("+l+") {\nif (arguments.length !== "+(i-2)+") {\nthrowBindingError('function "+e+" called with ' + arguments.length + ' arguments, expected "+(i-2)+" args!');\n}\n";s&&(d+="var destructors = [];\n");var p=s?"destructors":"null",m=["throwBindingError","invoker","fn","runDestructors","retType","classParam"],h=[Me,t,o,yr,r[0],r[1]];for(a&&(d+="var thisWired = classParam.toWireType("+p+", this);\n"),c=0;c<i-2;++c)d+="var arg"+c+"Wired = argType"+c+".toWireType("+p+", arg"+c+"); // "+r[c+2].name+"\n",m.push("argType"+c),h.push(r[c+2]);if(a&&(f="thisWired"+(f.length>0?", ":"")+f),d+=(u?"var rv = ":"")+"invoker(fn"+(f.length>0?", ":"")+f+");\n",s)d+="runDestructors(destructors);\n";else for(c=a?1:2;c<r.length;++c){var E=1===c?"thisWired":"arg"+(c-2)+"Wired";null!==r[c].destructorFunction&&(d+=E+"_dtor("+E+"); // "+r[c].name+"\n",m.push(E+"_dtor"),h.push(r[c].destructorFunction))}return u&&(d+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),m.push(d+="}\n"),function(e,r){if(!(e instanceof Function))throw new TypeError("new_ called with constructor type "+typeof e+" which is not a function");var n=Ae(e.name||"unknownFunctionName",function(){});n.prototype=e.prototype;var t=new n,o=e.apply(t,r);return o instanceof Object?o:t}(Function,m).apply(null,h)}var gr=[],br=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function _r(e){e>4&&0==--br[e].refcount&&(br[e]=void 0,gr.push(e))}function Tr(){for(var e=0,r=5;r<br.length;++r)void 0!==br[r]&&++e;return e}function kr(){for(var e=5;e<br.length;++e)if(void 0!==br[e])return br[e];return null}function Nr(e){switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var r=gr.length?gr.pop():br.length;return br[r]={refcount:1,value:e},r}}function Dr(e){if(null===e)return"null";var r=typeof e;return"object"===r||"array"===r||"function"===r?e.toString():""+e}function Or(e,r){switch(r){case 2:return function(e){return this.fromWireType(L[e>>2])};case 3:return function(e){return this.fromWireType(I[e>>3])};default:throw new TypeError("Unknown float type: "+e)}}function Pr(e,r,n){switch(r){case 0:return n?function(e){return S[e]}:function(e){return A[e]};case 1:return n?function(e){return C[e>>1]}:function(e){return F[e>>1]};case 2:return n?function(e){return M[e>>2]}:function(e){return R[e>>2]};default:throw new TypeError("Unknown integer type: "+e)}}function Sr(e,r){var n=Ne[e];return void 0===n&&Me(r+" has unknown type "+hr(e)),n}var Ar={},Cr=1;if(we.staticInit(),J.unshift(function(){t.noFSInit||we.init.initialized||we.init()}),ee.push(function(){we.ignorePermissions=!1}),J.unshift(function(){}),i){var Fr=require("fs"),Mr=require("path");ve.staticInit()}function Rr(e,r,n){var t=n>0?n:D(e)+1,o=new Array(t),i=k(e,o,0,o.length);return r&&(o.length=i),o}!function(){for(var e=new Array(256),r=0;r<256;++r)e[r]=String.fromCharCode(r);_e=e}(),Fe=t.BindingError=Ce(Error,"BindingError"),Re=t.InternalError=Ce(Error,"InternalError"),Xe.prototype.isAliasOf=je,Xe.prototype.clone=We,Xe.prototype.delete=ze,Xe.prototype.isDeleted=Ve,Xe.prototype.deleteLater=Ye,dr.prototype.getPointee=nr,dr.prototype.destructor=tr,dr.prototype.argPackAdvance=8,dr.prototype.readValueFromPointer=rr,dr.prototype.deleteObject=or,dr.prototype.fromWireType=fr,t.getInheritedInstanceCount=ir,t.getLiveInheritedInstances=ar,t.flushPendingDeletes=Ue,t.setDelayFunction=sr,mr=t.UnboundTypeError=Ce(Error,"UnboundTypeError"),t.count_emval_handles=Tr,t.get_first_emval=kr,z=B,j=$=E(B=B+4+15&-16),W=E(j+x),M[z>>2]=W,t.wasmTableSize=338,t.wasmMaxTableSize=338,t.asmGlobalArg={},t.asmLibraryArg={f:Yr,la:function(){var e=t.usingWasm?q:G,r=2147483648-e;if(M[z>>2]>r)return!1;var n=K;for(K=Math.max(K,U);K<M[z>>2];)K=K<=536870912?Y(2*K,e):Math.min(Y((3*K+2147483648)/4,e),r);var o=t.reallocBuffer(K);return o&&o.byteLength==K?(X(o),H(),!0):(K=n,!1)},ia:function(){return K},c:function(e){y=e},d:function(){return y},V:function(){Yr("Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value "+K+", (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with  -s ABORTING_MALLOC=0 ")},R:function(e,r){var n=qr();try{return t.dynCall_dd(e,r)}catch(e){if(Vr(n),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},q:function(e,r,n,o){var i=qr();try{return t.dynCall_dddd(e,r,n,o)}catch(e){if(Vr(i),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},A:function(e,r){var n=qr();try{return t.dynCall_ii(e,r)}catch(e){if(Vr(n),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},h:function(e,r,n){var o=qr();try{return t.dynCall_iii(e,r,n)}catch(e){if(Vr(o),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},M:function(e,r,n,o){var i=qr();try{return t.dynCall_iiii(e,r,n,o)}catch(e){if(Vr(i),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},O:function(e,r,n,o,i,a,s){var c=qr();try{return t.dynCall_jiiiiii(e,r,n,o,i,a,s)}catch(e){if(Vr(c),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},g:function(e,r){var n=qr();try{t.dynCall_vi(e,r)}catch(e){if(Vr(n),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},z:function(e,r,n){var o=qr();try{t.dynCall_vii(e,r,n)}catch(e){if(Vr(o),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},p:function(e,r,n,o,i){var a=qr();try{t.dynCall_viiii(e,r,n,o,i)}catch(e){if(Vr(a),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},L:function(e,r,n,o,i,a){var s=qr();try{t.dynCall_viiiii(e,r,n,o,i,a)}catch(e){if(Vr(s),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},N:function(e,r,n,o,i,a,s,c,u,l){var f=qr();try{t.dynCall_vijjjid(e,r,n,o,i,a,s,c,u,l)}catch(e){if(Vr(f),"number"!=typeof e&&"longjmp"!==e)throw e;t.setThrew(1,0)}},y:function(e){return zr(e)},ka:function(){throw w=!0,"Pure virtual function called!"},x:function(e,r,n){throw e+" - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch."},ja:function(){},K:de,ha:function(e,r){ge.varargs=r;try{var n=ge.getStreamFromFD(),t=(ge.get(),ge.get()),o=ge.get(),i=ge.get(),a=t;return we.llseek(n,a,i),M[o>>2]=n.position,n.getdents&&0===a&&0===i&&(n.getdents=null),0}catch(e){return void 0!==we&&e instanceof we.ErrnoError||Yr(e),-e.errno}},ga:function(e,r){ge.varargs=r;try{var n=ge.getStreamFromFD(),t=ge.get(),o=ge.get();return ge.doReadv(n,t,o)}catch(e){return void 0!==we&&e instanceof we.ErrnoError||Yr(e),-e.errno}},J:function(e,r){ge.varargs=r;try{var n=ge.getStreamFromFD(),t=ge.get(),o=ge.get();return ge.doWritev(n,t,o)}catch(e){return void 0!==we&&e instanceof we.ErrnoError||Yr(e),-e.errno}},t:function(e,r){ge.varargs=r;try{var n=ge.getStreamFromFD();switch(ge.get()){case 0:return(t=ge.get())<0?-le.EINVAL:we.open(n.path,n.flags,0,t).fd;case 1:case 2:return 0;case 3:return n.flags;case 4:var t=ge.get();return n.flags|=t,0;case 12:case 12:return t=ge.get(),C[t+0>>1]=2,0;case 13:case 14:case 13:case 14:return 0;case 16:case 8:return-le.EINVAL;case 9:return de(le.EINVAL),-1;default:return-le.EINVAL}}catch(e){return void 0!==we&&e instanceof we.ErrnoError||Yr(e),-e.errno}},fa:function(e,r){ge.varargs=r;try{var n=ge.getStr(),t=ge.get(),o=ge.get();return we.open(n,t,o).fd}catch(e){return void 0!==we&&e instanceof we.ErrnoError||Yr(e),-e.errno}},I:function(e,r){ge.varargs=r;try{var n=ge.getStreamFromFD(),t=ge.get();switch(t){case 21509:case 21505:return n.tty?0:-le.ENOTTY;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return n.tty?0:-le.ENOTTY;case 21519:if(!n.tty)return-le.ENOTTY;var o=ge.get();return M[o>>2]=0,0;case 21520:return n.tty?-le.EINVAL:-le.ENOTTY;case 21531:return o=ge.get(),we.ioctl(n,t,o);case 21523:case 21524:return n.tty?0:-le.ENOTTY;default:Yr("bad ioctl syscall "+t)}}catch(e){return void 0!==we&&e instanceof we.ErrnoError||Yr(e),-e.errno}},H:function(e,r){ge.varargs=r;try{var n=ge.getStreamFromFD();return we.close(n),0}catch(e){return void 0!==we&&e instanceof we.ErrnoError||Yr(e),-e.errno}},w:function(){},ea:function(e,r,n,t,o){var i=be(n);Be(e,{name:r=Te(r),fromWireType:function(e){return!!e},toWireType:function(e,r){return r?t:o},argPackAdvance:8,readValueFromPointer:function(e){var t;if(1===n)t=S;else if(2===n)t=C;else{if(4!==n)throw new TypeError("Unknown boolean type size: "+r);t=M}return this.fromWireType(t[e>>i])},destructorFunction:null})},da:function(e,r,n,o,i,a,s,c,u,l,f,d,p){f=Te(f),a=pr(i,a),c&&(c=pr(s,c)),l&&(l=pr(u,l)),p=pr(d,p);var m=Se(f);!function(e,r,n){t.hasOwnProperty(e)?((void 0===n||void 0!==t[e].overloadTable&&void 0!==t[e].overloadTable[n])&&Me("Cannot register public name '"+e+"' twice"),xe(t,e,e),t.hasOwnProperty(n)&&Me("Cannot register multiple overloads of a function with the same number of arguments ("+n+")!"),t[e].overloadTable[n]=r):(t[e]=r,void 0!==n&&(t[e].numArguments=n))}(m,function(){Er("Cannot construct "+f+" due to unbound types",[o])}),Ie([e,r,n],o?[o]:[],function(r){var n,i;r=r[0],i=o?(n=r.registeredClass).instancePrototype:Xe.prototype;var s=Ae(m,function(){if(Object.getPrototypeOf(this)!==u)throw new Fe("Use 'new' to construct "+f);if(void 0===d.constructor_body)throw new Fe(f+" has no accessible constructor");var e=d.constructor_body[arguments.length];if(void 0===e)throw new Fe("Tried to invoke ctor of "+f+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(d.constructor_body).toString()+") parameters instead!");return e.apply(this,arguments)}),u=Object.create(i,{constructor:{value:s}});s.prototype=u;var d=new Ke(f,s,u,p,n,a,c,l),h=new dr(f,d,!0,!1,!1),E=new dr(f+"*",d,!1,!1,!1),v=new dr(f+" const*",d,!1,!0,!1);return He[e]={pointerType:E,constPointerType:v},function(e,r,n){t.hasOwnProperty(e)||Le("Replacing nonexistant public symbol"),void 0!==t[e].overloadTable&&void 0!==n?t[e].overloadTable[n]=r:(t[e]=r,t[e].argCount=n)}(m,s),[h,E,v]})},ca:function(e,r,n,t,o,i){var a=vr(r,n);o=pr(t,o),Ie([],[e],function(e){var n="constructor "+(e=e[0]).name;if(void 0===e.registeredClass.constructor_body&&(e.registeredClass.constructor_body=[]),void 0!==e.registeredClass.constructor_body[r-1])throw new Fe("Cannot register multiple constructors with identical number of parameters ("+(r-1)+") for class '"+e.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return e.registeredClass.constructor_body[r-1]=function(){Er("Cannot construct "+e.name+" due to unbound types",a)},Ie([],a,function(t){return e.registeredClass.constructor_body[r-1]=function(){var e=arguments;arguments.length!==r-1&&Me(n+" called with "+arguments.length+" arguments, expected "+(r-1));var a=[],s=new Array(r);s[0]=i;for(var c=1;c<r;++c)s[c]=t[c].toWireType(a,e[c-1]);var u=o.apply(null,s);return yr(a),t[0].fromWireType(u)},[]}),[]})},v:function(e,r,n,t,o,i,a,s){var c=vr(n,t);r=Te(r),i=pr(o,i),Ie([],[e],function(e){var t=(e=e[0]).name+"."+r;function o(){Er("Cannot call "+t+" due to unbound types",c)}s&&e.registeredClass.pureVirtualFunctions.push(r);var u=e.registeredClass.instancePrototype,l=u[r];return void 0===l||void 0===l.overloadTable&&l.className!==e.name&&l.argCount===n-2?(o.argCount=n-2,o.className=e.name,u[r]=o):(xe(u,r,t),u[r].overloadTable[n-2]=o),Ie([],c,function(o){var s=wr(t,o,e,i,a);return void 0===u[r].overloadTable?(s.argCount=n-2,u[r]=s):u[r].overloadTable[n-2]=s,[]}),[]})},ba:function(e,r){Be(e,{name:r=Te(r),fromWireType:function(e){var r=br[e].value;return _r(e),r},toWireType:function(e,r){return Nr(r)},argPackAdvance:8,readValueFromPointer:rr,destructorFunction:null})},G:function(e,r,n){var t=be(n);Be(e,{name:r=Te(r),fromWireType:function(e){return e},toWireType:function(e,r){if("number"!=typeof r&&"boolean"!=typeof r)throw new TypeError('Cannot convert "'+Dr(r)+'" to '+this.name);return r},argPackAdvance:8,readValueFromPointer:Or(r,t),destructorFunction:null})},l:function(e,r,n,t,o){r=Te(r),-1===o&&(o=4294967295);var i=be(n),a=function(e){return e};if(0===t){var s=32-8*n;a=function(e){return e<<s>>>s}}var c=-1!=r.indexOf("unsigned");Be(e,{name:r,fromWireType:a,toWireType:function(e,n){if("number"!=typeof n&&"boolean"!=typeof n)throw new TypeError('Cannot convert "'+Dr(n)+'" to '+this.name);if(n<t||n>o)throw new TypeError('Passing a number "'+Dr(n)+'" from JS side to C/C++ side to an argument of type "'+r+'", which is outside the valid range ['+t+", "+o+"]!");return c?n>>>0:0|n},argPackAdvance:8,readValueFromPointer:Pr(r,i,0!==t),destructorFunction:null})},i:function(e,r,n){var t=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];function o(e){return new t(R.buffer,R[1+(e>>=2)],R[e])}Be(e,{name:n=Te(n),fromWireType:o,argPackAdvance:8,readValueFromPointer:o},{ignoreDuplicateRegistrations:!0})},F:function(e,r){var n="std::string"===(r=Te(r));Be(e,{name:r,fromWireType:function(e){var r,t=R[e>>2];if(n){var o=A[e+4+t],i=0;0!=o&&(i=o,A[e+4+t]=0);for(var a=e+4,s=0;s<=t;++s){var c=e+4+s;if(0==A[c]){var u=T(a);void 0===r?r=u:(r+=String.fromCharCode(0),r+=u),a=c+1}}0!=i&&(A[e+4+t]=i)}else{var l=new Array(t);for(s=0;s<t;++s)l[s]=String.fromCharCode(A[e+4+s]);r=l.join("")}return Wr(e),r},toWireType:function(e,r){r instanceof ArrayBuffer&&(r=new Uint8Array(r));var t="string"==typeof r;t||r instanceof Uint8Array||r instanceof Uint8ClampedArray||r instanceof Int8Array||Me("Cannot pass non-string to std::string");var o=(n&&t?function(){return D(r)}:function(){return r.length})(),i=zr(4+o+1);if(R[i>>2]=o,n&&t)N(r,i+4,o+1);else if(t)for(var a=0;a<o;++a){var s=r.charCodeAt(a);s>255&&(Wr(i),Me("String has UTF-16 code units that do not fit in 8 bits")),A[i+4+a]=s}else for(a=0;a<o;++a)A[i+4+a]=r[a];return null!==e&&e.push(Wr,i),i},argPackAdvance:8,readValueFromPointer:rr,destructorFunction:function(e){Wr(e)}})},aa:function(e,r,n){var t,o;n=Te(n),2===r?(t=function(){return F},o=1):4===r&&(t=function(){return R},o=2),Be(e,{name:n,fromWireType:function(e){for(var r=t(),n=R[e>>2],i=new Array(n),a=e+4>>o,s=0;s<n;++s)i[s]=String.fromCharCode(r[a+s]);return Wr(e),i.join("")},toWireType:function(e,n){var i=t(),a=n.length,s=zr(4+a*r);R[s>>2]=a;for(var c=s+4>>o,u=0;u<a;++u)i[c+u]=n.charCodeAt(u);return null!==e&&e.push(Wr,s),s},argPackAdvance:8,readValueFromPointer:rr,destructorFunction:function(e){Wr(e)}})},$:function(e,r){Be(e,{isVoid:!0,name:r=Te(r),argPackAdvance:0,fromWireType:function(){},toWireType:function(e,r){}})},_:function(e,r,n,t){e=function(e){return e||Me("Cannot use deleted val. handle = "+e),br[e].value}(e);for(var o=function(e,r,n){for(var t=new Array(e),o=0;o<e;++o)t[o]=Sr(M[(r>>2)+o],"parameter "+o);return t}(r,n),i=new Array(r),a=0;a<r;++a){var s=o[a];i[a]=s.readValueFromPointer(t),t+=s.argPackAdvance}return Nr(e.apply(void 0,i))},Z:_r,E:function(e){e>4&&(br[e].refcount+=1)},D:function(e,r){return Nr((e=Sr(e,"_emval_take_value")).readValueFromPointer(r))},u:function(){t.abort()},Y:function(e,r,n){return A.set(A.subarray(r,r+n),e),e},m:function(e){var r=Date.now();return M[e>>2]=r/1e3|0,M[e+4>>2]=r%1e3*1e3|0,0},X:function(){return function(e){return Math.log(e)/Math.LN10}.apply(null,arguments)},W:function(){Yr("trap!")},e:function(e,r){throw t.setThrew(e,r||1),"longjmp"},C:function(){return 11},U:function(e){return Ar[e]||0},s:function(){},T:function(e,r){return 0==e?le.EINVAL:(M[e>>2]=Cr,Ar[Cr]=0,Cr++,0)},n:function e(r,n){e.seen||(e.seen={}),r in e.seen||(t.dynCall_v(n),e.seen[r]=1)},S:function(e,r){return e in Ar?(Ar[e]=r,0):le.EINVAL},B:function(){return 0},k:function(){},r:function(){},j:function(){},o:function(){},Q:function(e){switch(e){case 30:return V;case 85:return 2147418112/V;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:return 200809;case 79:return 0;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:return"object"==typeof navigator&&navigator.hardwareConcurrency||1}return de(le.EINVAL),-1},P:function(e){var r=Date.now()/1e3|0;return e&&(M[e>>2]=r),r},a:z,b:$};var Lr=t.asm(t.asmGlobalArg,t.asmLibraryArg,P);t.asm=Lr;var Ir=t.__GLOBAL__sub_I_bind_cpp=function(){return t.asm.ma.apply(null,arguments)},Br=t.__GLOBAL__sub_I_webm_wasm_cpp=function(){return t.asm.na.apply(null,arguments)},jr=(t.___errno_location=function(){return t.asm.oa.apply(null,arguments)},t.___getTypeName=function(){return t.asm.pa.apply(null,arguments)}),$r=t._emscripten_replace_memory=function(){return t.asm._emscripten_replace_memory.apply(null,arguments)},Wr=t._free=function(){return t.asm.qa.apply(null,arguments)},zr=t._malloc=function(){return t.asm.ra.apply(null,arguments)},Vr=(t.setThrew=function(){return t.asm.Sa.apply(null,arguments)},t.stackRestore=function(){return t.asm.Ta.apply(null,arguments)}),qr=t.stackSave=function(){return t.asm.Ua.apply(null,arguments)};function Gr(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function Ur(e){function r(){t.calledRun||(t.calledRun=!0,w||(ne||(ne=!0,Q(J)),Q(ee),t.onRuntimeInitialized&&t.onRuntimeInitialized(),function(){if(t.postRun)for("function"==typeof t.postRun&&(t.postRun=[t.postRun]);t.postRun.length;)e=t.postRun.shift(),re.unshift(e);var e;Q(re)}()))}e=e||t.arguments,te>0||(function(){if(t.preRun)for("function"==typeof t.preRun&&(t.preRun=[t.preRun]);t.preRun.length;)e=t.preRun.shift(),Z.unshift(e);var e;Q(Z)}(),te>0||t.calledRun||(t.setStatus?(t.setStatus("Running..."),setTimeout(function(){setTimeout(function(){t.setStatus("")},1),r()},1)):r()))}function Yr(e){throw t.onAbort&&t.onAbort(e),void 0!==e?(p(e),m(e),e=JSON.stringify(e)):e="",w=!0,"abort("+e+"). Build with -s ASSERTIONS=1 for more info."}if(t.dynCall_dd=function(){return t.asm.sa.apply(null,arguments)},t.dynCall_dddd=function(){return t.asm.ta.apply(null,arguments)},t.dynCall_ii=function(){return t.asm.ua.apply(null,arguments)},t.dynCall_iii=function(){return t.asm.va.apply(null,arguments)},t.dynCall_iiii=function(){return t.asm.wa.apply(null,arguments)},t.dynCall_iiiii=function(){return t.asm.xa.apply(null,arguments)},t.dynCall_iiiiii=function(){return t.asm.ya.apply(null,arguments)},t.dynCall_iiiiiiii=function(){return t.asm.za.apply(null,arguments)},t.dynCall_iiiiiiiii=function(){return t.asm.Aa.apply(null,arguments)},t.dynCall_iiiiiiiiii=function(){return t.asm.Ba.apply(null,arguments)},t.dynCall_iiiiiiiiiii=function(){return t.asm.Ca.apply(null,arguments)},t.dynCall_iiiiiiiiiiii=function(){return t.asm.Da.apply(null,arguments)},t.dynCall_iiijiii=function(){return t.asm.Ea.apply(null,arguments)},t.dynCall_iij=function(){return t.asm.Fa.apply(null,arguments)},t.dynCall_ji=function(){return t.asm.Ga.apply(null,arguments)},t.dynCall_jiiiiii=function(){return t.asm.Ha.apply(null,arguments)},t.dynCall_v=function(){return t.asm.Ia.apply(null,arguments)},t.dynCall_vi=function(){return t.asm.Ja.apply(null,arguments)},t.dynCall_vii=function(){return t.asm.Ka.apply(null,arguments)},t.dynCall_viii=function(){return t.asm.La.apply(null,arguments)},t.dynCall_viiii=function(){return t.asm.Ma.apply(null,arguments)},t.dynCall_viiiii=function(){return t.asm.Na.apply(null,arguments)},t.dynCall_viiiiii=function(){return t.asm.Oa.apply(null,arguments)},t.dynCall_viiiiiiii=function(){return t.asm.Pa.apply(null,arguments)},t.dynCall_vijj=function(){return t.asm.Qa.apply(null,arguments)},t.dynCall_vijjjid=function(){return t.asm.Ra.apply(null,arguments)},t.asm=Lr,t.then=function(e){if(t.calledRun)e(t);else{var r=t.onRuntimeInitialized;t.onRuntimeInitialized=function(){r&&r(),e(t)}}return t},(Gr.prototype=new Error).constructor=Gr,ie=function e(){t.calledRun||Ur(),t.calledRun||(ie=e)},t.run=Ur,t.abort=Yr,t.preInit)for("function"==typeof t.preInit&&(t.preInit=[t.preInit]);t.preInit.length>0;)t.preInit.pop()();return t.noExitRuntime=!0,Ur(),r});"object"==typeof exports&&"object"==typeof module?module.exports=r:"function"==typeof define&&define.amd?define([],function(){return r}):"object"==typeof exports&&(exports.webmWasm=r);var n,t,o={width:300,height:150,timebaseNum:1,timebaseDen:30,bitrate:200,realtime:!1,kLive:!0};try{n=require("worker_threads"),t=n.parentPort}catch(e){t=self}function i(e){return new Promise(function(r){return"once"in e?e.once("message",r):e.addEventListener("message",function(e){return r(e.data)},{once:!0})})}function a(e,r){return new Promise(function(n){var t=e({noInitialRun:!0,locateFile:function(e){return e.endsWith(".wasm")?r:e},onRuntimeInitialized:function(){delete t.then,n(t)}})})}!function(){try{Promise.resolve(i(t)).then(function(e){return Promise.resolve(a(r,e)).then(function(e){return t.postMessage("READY"),Promise.resolve(i(t)).then(function(r){var n=Object.assign({},o,r),i=new e.WebmEncoder(n.timebaseNum,n.timebaseDen,n.width,n.height,n.bitrate,n.realtime,n.kLive,function(e){var r=new Uint8Array(e);t.postMessage(r.buffer,[r.buffer])});!function(e,r){if("on"in e)return e.on("message",r);e.addEventListener("message",function(e){return r(e.data)})}(t,function(e){if(!e)return i.finalize(),t.postMessage(null),void i.delete();i.addRGBAFrame(e)})})})})}catch(e){return Promise.reject(e)}}(),exports.initWasmModule=a;
  //# sourceMappingURL=webm-worker.js.map
  