function Da(){var a=e.preRun.shift();Aa.unshift(a)}var Ea=0,Fa=null,Ha=null;function Ia(){Ea++;e.monitorRunDependencies&&e.monitorRunDependencies(Ea)}function Ja(){Ea--;e.monitorRunDependencies&&e.monitorRunDependencies(Ea);if(0==Ea&&(null!==Fa&&(clearInterval(Fa),Fa=null),Ha)){var a=Ha;Ha=null;a()}}function v(a){if(e.onAbort)e.onAbort(a);a="Aborted("+a+")";r(a);qa=!0;a=new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info.");ba(a);throw a;}var Ka;Ka="comm-query-executor.wasm";
function Ma(a){var b=Ka;try{a:{try{if(b==Ka&&oa){var c=new Uint8Array(oa);break a}if(ka){c=ka(b);break a}throw"sync fetching of the wasm failed: you can preload it to Module['wasmBinary'] manually, or emcc.py will do that for you when generating HTML (but not JS)";}catch(g){v(g)}c=void 0}var d=new WebAssembly.Module(c);var f=new WebAssembly.Instance(d,a)}catch(g){throw a=g.toString(),r("failed to compile wasm module: "+a),(a.includes("imported Memory")||a.includes("memory import"))&&r("Memory size incompatibility issues may be due to changing INITIAL_MEMORY at runtime to something too large. Use ALLOW_MEMORY_GROWTH to allow any size memory (and also make sure not to set INITIAL_MEMORY at runtime to something smaller than it was at compile time)."),
function Ua(){for(var a="",b=!1,c=arguments.length-1;-1<=c&&!b;c--){b=0<=c?arguments[c]:N.cwd();if("string"!=typeof b)throw new TypeError("Arguments to path.resolve must be strings");if(!b)return"";a=b+"/"+a;b="/"===b.charAt(0)}a=Qa(a.split("/").filter(d=>!!d),!b).join("/");return(b?"/":"")+a||"."}
-var Za={open:function(a){var b=Xa[a.node.rdev];if(!b)throw new N.Ma(43);a.tty=b;a.seekable=!1},close:function(a){a.tty.Gb.flush(a.tty)},flush:function(a){a.tty.Gb.flush(a.tty)},read:function(a,b,c,d){if(!a.tty||!a.tty.Gb.Oc)throw new N.Ma(60);for(var f=0,g=0;g<d;g++){try{var k=a.tty.Gb.Oc(a.tty)}catch(h){throw new N.Ma(29);}if(void 0===k&&0===f)throw new N.Ma(6);if(null===k||void 0===k)break;f++;b[c+g]=k}f&&(a.node.timestamp=Date.now());return f},write:function(a,b,c,d){if(!a.tty||!a.tty.Gb.qc)throw new N.Ma(60);
+var Za={open:function(a){var b=Xa[a.node.rdev];if(!b)throw new N.Na(43);a.tty=b;a.seekable=!1},close:function(a){a.tty.Hb.flush(a.tty)},flush:function(a){a.tty.Hb.flush(a.tty)},read:function(a,b,c,d){if(!a.tty||!a.tty.Hb.Pc)throw new N.Na(60);for(var f=0,g=0;g<d;g++){try{var k=a.tty.Hb.Pc(a.tty)}catch(h){throw new N.Na(29);}if(void 0===k&&0===f)throw new N.Na(6);if(null===k||void 0===k)break;f++;b[c+g]=k}f&&(a.node.timestamp=Date.now());return f},write:function(a,b,c,d){if(!a.tty||!a.tty.Hb.rc)throw new N.Na(60);
function bb(a){a=65536*Math.ceil(a/65536);var b=cb(65536,a);if(!b)return 0;z.fill(0,b,b+a);return b}
-var O={mb:null,Wa:function(){return O.createNode(null,"/",16895,0)},createNode:function(a,b,c,d){if(N.Bd(c)||N.isFIFO(c))throw new N.Ma(63);O.mb||(O.mb={dir:{node:{jb:O.Oa.jb,Za:O.Oa.Za,lookup:O.Oa.lookup,ob:O.Oa.ob,rename:O.Oa.rename,unlink:O.Oa.unlink,rmdir:O.Oa.rmdir,readdir:O.Oa.readdir,symlink:O.Oa.symlink},stream:{bb:O.Qa.bb}},file:{node:{jb:O.Oa.jb,Za:O.Oa.Za},stream:{bb:O.Qa.bb,read:O.Qa.read,write:O.Qa.write,Ib:O.Qa.Ib,yb:O.Qa.yb,Fb:O.Qa.Fb}},link:{node:{jb:O.Oa.jb,Za:O.Oa.Za,readlink:O.Oa.readlink},
-N.vb(a.mode)?b.size=a.link.length:b.size=0;b.atime=new Date(a.timestamp);b.mtime=new Date(a.timestamp);b.ctime=new Date(a.timestamp);b.cd=4096;b.blocks=Math.ceil(b.size/b.cd);return b},Za:function(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);void 0!==b.size&&O.Pd(a,b.size)},lookup:function(){throw N.fc[44];},ob:function(a,b,c,d){return O.createNode(a,b,c,d)},rename:function(a,b,c){if(N.Ya(a.mode)){try{var d=N.kb(b,c)}catch(g){}if(d)for(var f in d.Pa)throw new N.Ma(55);
-}delete a.parent.Pa[a.name];a.parent.timestamp=Date.now();a.name=c;b.Pa[c]=a;b.timestamp=a.parent.timestamp;a.parent=b},unlink:function(a,b){delete a.Pa[b];a.timestamp=Date.now()},rmdir:function(a,b){var c=N.kb(a,b),d;for(d in c.Pa)throw new N.Ma(55);delete a.Pa[b];a.timestamp=Date.now()},readdir:function(a){var b=[".",".."],c;for(c in a.Pa)a.Pa.hasOwnProperty(c)&&b.push(c);return b},symlink:function(a,b,c){a=O.createNode(a,b,41471,0);a.link=c;return a},readlink:function(a){if(!N.vb(a.mode))throw new N.Ma(28);
-d);if(a.Pa.subarray&&b.subarray)a.Pa.set(b.subarray(c,c+d),f);else for(g=0;g<d;g++)a.Pa[f+g]=b[c+g];a.Va=Math.max(a.Va,f+d);return d},bb:function(a,b,c){1===c?b+=a.position:2===c&&N.isFile(a.node.mode)&&(b+=a.node.Va);if(0>b)throw new N.Ma(28);return b},Ib:function(a,b,c){O.Kc(a.node,b+c);a.node.Va=Math.max(a.node.Va,b+c)},yb:function(a,b,c,d,f){if(!N.isFile(a.node.mode))throw new N.Ma(43);a=a.node.Pa;if(f&2||a.buffer!==ua){if(0<c||c+b<a.length)a.subarray?a=a.subarray(c,c+b):a=Array.prototype.slice.call(a,
-c,c+b);c=!0;b=bb(b);if(!b)throw new N.Ma(48);B.set(a,b)}else c=!1,b=a.byteOffset;return{Sa:b,zc:c}},Fb:function(a,b,c,d,f){if(!N.isFile(a.node.mode))throw new N.Ma(43);if(f&2)return 0;O.Qa.write(a,b,0,d,c,!1);return 0}}};function db(a,b,c){var d="al "+a;ja(a,f=>{f||v('Loading data file "'+a+'" failed (no arrayBuffer).');b(new Uint8Array(f));d&&Ja(d)},()=>{if(c)c();else throw'Loading data file "'+a+'" failed.';});d&&Ia(d)}
-var N={root:null,Mb:[],Ic:{},streams:[],Hd:1,lb:null,Gc:"/",jc:!1,Rc:!0,Ma:null,fc:{},sd:null,Yb:0,Ua:(a,b={})=>{a=Ua(N.cwd(),a);if(!a)return{path:"",node:null};b=Object.assign({dc:!0,tc:0},b);if(8<b.tc)throw new N.Ma(32);a=Qa(a.split("/").filter(k=>!!k),!1);for(var c=N.root,d="/",f=0;f<a.length;f++){var g=f===a.length-1;if(g&&b.parent)break;c=N.kb(c,a[f]);d=L(d+"/"+a[f]);N.wb(c)&&(!g||g&&b.dc)&&(c=c.Lb.root);if(!g||b.eb)for(g=0;N.vb(c.mode);)if(c=N.readlink(d),d=Ua(Ra(d),c),c=N.Ua(d,{tc:b.tc+1}).node,
-40<g++)throw new N.Ma(32);}return{path:d,node:c}},qb:a=>{for(var b;;){if(N.Ub(a))return a=a.Wa.Sc,b?"/"!==a[a.length-1]?a+"/"+b:a+b:a;b=b?a.name+"/"+b:a.name;a=a.parent}},ic:(a,b)=>{for(var c=0,d=0;d<b.length;d++)c=(c<<5)-c+b.charCodeAt(d)|0;return(a+c>>>0)%N.lb.length},Pc:a=>{var b=N.ic(a.parent.id,a.name);a.zb=N.lb[b];N.lb[b]=a},Qc:a=>{var b=N.ic(a.parent.id,a.name);if(N.lb[b]===a)N.lb[b]=a.zb;else for(b=N.lb[b];b;){if(b.zb===a){b.zb=a.zb;break}b=b.zb}},kb:(a,b)=>{var c=N.Ed(a);if(c)throw new N.Ma(c,
-f.length&&c(null)}"function"==typeof a&&(b=a,a=!1);N.Yb++;1<N.Yb&&r("warning: "+N.Yb+" FS.syncfs operations in flight at once, probably just doing extra work");var f=N.Nc(N.root.Wa),g=0;f.forEach(k=>{if(!k.type.Uc)return d(null);k.type.Uc(k,a,d)})},Wa:(a,b,c)=>{var d="/"===c,f=!c;if(d&&N.root)throw new N.Ma(10);if(!d&&!f){var g=N.Ua(c,{dc:!1});c=g.path;g=g.node;if(N.wb(g))throw new N.Ma(10);if(!N.Ya(g.mode))throw new N.Ma(54);}b={type:a,je:b,Sc:c,Mb:[]};a=a.Wa(b);a.Wa=b;b.root=a;d?N.root=a:g&&(g.Lb=
-b,g.Wa&&g.Wa.Mb.push(b));return a},ne:a=>{a=N.Ua(a,{dc:!1});if(!N.wb(a.node))throw new N.Ma(28);a=a.node;var b=a.Lb,c=N.Nc(b);Object.keys(N.lb).forEach(d=>{for(d=N.lb[d];d;){var f=d.zb;c.includes(d.Wa)&&N.cc(d);d=f}});a.Lb=null;a.Wa.Mb.splice(a.Wa.Mb.indexOf(b),1)},lookup:(a,b)=>a.Oa.lookup(a,b),ob:(a,b,c)=>{var d=N.Ua(a,{parent:!0}).node;a=M(a);if(!a||"."===a||".."===a)throw new N.Ma(28);var f=N.pc(d,a);if(f)throw new N.Ma(f);if(!d.Oa.ob)throw new N.Ma(63);return d.Oa.ob(d,a,b,c)},create:(a,b)=>
-N.ob(a,(void 0!==b?b:438)&4095|32768,0),mkdir:(a,b)=>N.ob(a,(void 0!==b?b:511)&1023|16384,0),ge:(a,b)=>{a=a.split("/");for(var c="",d=0;d<a.length;++d)if(a[d]){c+="/"+a[d];try{N.mkdir(c,b)}catch(f){if(20!=f.Ra)throw f;}}},Xb:(a,b,c)=>{"undefined"==typeof c&&(c=b,b=438);return N.ob(a,b|8192,c)},symlink:(a,b)=>{if(!Ua(a))throw new N.Ma(44);var c=N.Ua(b,{parent:!0}).node;if(!c)throw new N.Ma(44);b=M(b);var d=N.pc(c,b);if(d)throw new N.Ma(d);if(!c.Oa.symlink)throw new N.Ma(63);return c.Oa.symlink(c,b,
-a)},rename:(a,b)=>{var c=Ra(a),d=Ra(b),f=M(a),g=M(b);var k=N.Ua(a,{parent:!0});var h=k.node;k=N.Ua(b,{parent:!0});k=k.node;if(!h||!k)throw new N.Ma(44);if(h.Wa!==k.Wa)throw new N.Ma(75);var n=N.kb(h,f);a=Va(a,d);if("."!==a.charAt(0))throw new N.Ma(28);a=Va(b,c);if("."!==a.charAt(0))throw new N.Ma(55);try{var q=N.kb(k,g)}catch(p){}if(n!==q){b=N.Ya(n.mode);if(f=N.Wb(h,f,b))throw new N.Ma(f);if(f=q?N.Wb(k,g,b):N.pc(k,g))throw new N.Ma(f);if(!h.Oa.rename)throw new N.Ma(63);if(N.wb(n)||q&&N.wb(q))throw new N.Ma(10);
-if(k!==h&&(f=N.sb(h,"w")))throw new N.Ma(f);N.Qc(n);try{h.Oa.rename(n,k,g)}catch(p){throw p;}finally{N.Pc(n)}}},rmdir:a=>{var b=N.Ua(a,{parent:!0}).node;a=M(a);var c=N.kb(b,a),d=N.Wb(b,a,!0);if(d)throw new N.Ma(d);if(!b.Oa.rmdir)throw new N.Ma(63);if(N.wb(c))throw new N.Ma(10);b.Oa.rmdir(b,a);N.cc(c)},readdir:a=>{a=N.Ua(a,{eb:!0}).node;if(!a.Oa.readdir)throw new N.Ma(54);return a.Oa.readdir(a)},unlink:a=>{var b=N.Ua(a,{parent:!0}).node;if(!b)throw new N.Ma(44);a=M(a);var c=N.kb(b,a),d=N.Wb(b,a,!1);
-if(d)throw new N.Ma(d);if(!b.Oa.unlink)throw new N.Ma(63);if(N.wb(c))throw new N.Ma(10);b.Oa.unlink(b,a);N.cc(c)},readlink:a=>{a=N.Ua(a).node;if(!a)throw new N.Ma(44);if(!a.Oa.readlink)throw new N.Ma(28);return Ua(N.qb(a.parent),a.Oa.readlink(a))},stat:(a,b)=>{a=N.Ua(a,{eb:!b}).node;if(!a)throw new N.Ma(44);if(!a.Oa.jb)throw new N.Ma(63);return a.Oa.jb(a)},lstat:a=>N.stat(a,!0),chmod:(a,b,c)=>{a="string"==typeof a?N.Ua(a,{eb:!c}).node:a;if(!a.Oa.Za)throw new N.Ma(63);a.Oa.Za(a,{mode:b&4095|a.mode&
--4096,timestamp:Date.now()})},lchmod:(a,b)=>{N.chmod(a,b,!0)},fchmod:(a,b)=>{a=N.rb(a);if(!a)throw new N.Ma(8);N.chmod(a.node,b)},chown:(a,b,c,d)=>{a="string"==typeof a?N.Ua(a,{eb:!d}).node:a;if(!a.Oa.Za)throw new N.Ma(63);a.Oa.Za(a,{timestamp:Date.now()})},lchown:(a,b,c)=>{N.chown(a,b,c,!0)},fchown:(a,b,c)=>{a=N.rb(a);if(!a)throw new N.Ma(8);N.chown(a.node,b,c)},truncate:(a,b)=>{if(0>b)throw new N.Ma(28);a="string"==typeof a?N.Ua(a,{eb:!0}).node:a;if(!a.Oa.Za)throw new N.Ma(63);if(N.Ya(a.mode))throw new N.Ma(31);
-if(!N.isFile(a.mode))throw new N.Ma(28);var c=N.sb(a,"w");if(c)throw new N.Ma(c);a.Oa.Za(a,{size:b,timestamp:Date.now()})},ud:(a,b)=>{a=N.rb(a);if(!a)throw new N.Ma(8);if(0===(a.flags&2097155))throw new N.Ma(28);N.truncate(a.node,b)},ae:(a,b,c)=>{a=N.Ua(a,{eb:!0}).node;a.Oa.Za(a,{timestamp:Math.max(b,c)})},open:(a,b,c)=>{if(""===a)throw new N.Ma(44);b="string"==typeof b?N.Gd(b):b;c=b&64?("undefined"==typeof c?438:c)&4095|32768:0;if("object"==typeof a)var d=a;else{a=L(a);try{d=N.Ua(a,{eb:!(b&131072)}).node}catch(g){}}var f=
-!1;if(b&64)if(d){if(b&128)throw new N.Ma(20);}else d=N.ob(a,c,0),f=!0;if(!d)throw new N.Ma(44);N.Jb(d.mode)&&(b&=-513);if(b&65536&&!N.Ya(d.mode))throw new N.Ma(54);if(!f&&(c=N.Fd(d,b)))throw new N.Ma(c);b&512&&!f&&N.truncate(d,0);b&=-131713;d=N.Fc({node:d,path:N.qb(d),flags:b,seekable:!0,position:0,Qa:d.Qa,$d:[],error:!1});d.Qa.open&&d.Qa.open(d);!e.logReadFiles||b&1||(N.sc||(N.sc={}),a in N.sc||(N.sc[a]=1));return d},close:a=>{if(N.Kb(a))throw new N.Ma(8);a.ub&&(a.ub=null);try{a.Qa.close&&a.Qa.close(a)}catch(b){throw b;
-}finally{N.hd(a.fd)}a.fd=null},Kb:a=>null===a.fd,bb:(a,b,c)=>{if(N.Kb(a))throw new N.Ma(8);if(!a.seekable||!a.Qa.bb)throw new N.Ma(70);if(0!=c&&1!=c&&2!=c)throw new N.Ma(28);a.position=a.Qa.bb(a,b,c);a.$d=[];return a.position},read:(a,b,c,d,f)=>{if(0>d||0>f)throw new N.Ma(28);if(N.Kb(a))throw new N.Ma(8);if(1===(a.flags&2097155))throw new N.Ma(8);if(N.Ya(a.node.mode))throw new N.Ma(31);if(!a.Qa.read)throw new N.Ma(28);var g="undefined"!=typeof f;if(!g)f=a.position;else if(!a.seekable)throw new N.Ma(70);
-b=a.Qa.read(a,b,c,d,f);g||(a.position+=b);return b},write:(a,b,c,d,f,g)=>{if(0>d||0>f)throw new N.Ma(28);if(N.Kb(a))throw new N.Ma(8);if(0===(a.flags&2097155))throw new N.Ma(8);if(N.Ya(a.node.mode))throw new N.Ma(31);if(!a.Qa.write)throw new N.Ma(28);a.seekable&&a.flags&1024&&N.bb(a,0,2);var k="undefined"!=typeof f;if(!k)f=a.position;else if(!a.seekable)throw new N.Ma(70);b=a.Qa.write(a,b,c,d,f,g);k||(a.position+=b);return b},Ib:(a,b,c)=>{if(N.Kb(a))throw new N.Ma(8);if(0>b||0>=c)throw new N.Ma(28);
-if(0===(a.flags&2097155))throw new N.Ma(8);if(!N.isFile(a.node.mode)&&!N.Ya(a.node.mode))throw new N.Ma(43);if(!a.Qa.Ib)throw new N.Ma(138);a.Qa.Ib(a,b,c)},yb:(a,b,c,d,f)=>{if(0!==(d&2)&&0===(f&2)&&2!==(a.flags&2097155))throw new N.Ma(2);if(1===(a.flags&2097155))throw new N.Ma(2);if(!a.Qa.yb)throw new N.Ma(43);return a.Qa.yb(a,b,c,d,f)},Fb:(a,b,c,d,f)=>a&&a.Qa.Fb?a.Qa.Fb(a,b,c,d,f):0,he:()=>0,kc:(a,b,c)=>{if(!a.Qa.kc)throw new N.Ma(59);return a.Qa.kc(a,b,c)},readFile:(a,b={})=>{b.flags=b.flags||0;
-b,0,b.byteLength,void 0,c.ed);else throw Error("Unsupported data type");N.close(a)},cwd:()=>N.Gc,chdir:a=>{a=N.Ua(a,{eb:!0});if(null===a.node)throw new N.Ma(44);if(!N.Ya(a.node.mode))throw new N.Ma(54);var b=N.sb(a.node,"x");if(b)throw new N.Ma(b);N.Gc=a.path},ld:()=>{N.mkdir("/tmp");N.mkdir("/home");N.mkdir("/home/web_user")},kd:()=>{N.mkdir("/dev");N.vc(N.xb(1,3),{read:()=>0,write:(b,c,d,f)=>f});N.Xb("/dev/null",N.xb(1,3));Ya(N.xb(5,0),$a);Ya(N.xb(6,0),ab);N.Xb("/dev/tty",N.xb(5,0));N.Xb("/dev/tty1",
-N.xb(6,0));var a=Ta();N.hb("/dev","random",a);N.hb("/dev","urandom",a);N.mkdir("/dev/shm");N.mkdir("/dev/shm/tmp")},nd:()=>{N.mkdir("/proc");var a=N.mkdir("/proc/self");N.mkdir("/proc/self/fd");N.Wa({Wa:()=>{var b=N.createNode(a,"fd",16895,73);b.Oa={lookup:(c,d)=>{var f=N.rb(+d);if(!f)throw new N.Ma(8);c={parent:null,Wa:{Sc:"fake"},Oa:{readlink:()=>f.path}};return c.parent=c}};return b}},{},"/proc/self/fd")},od:()=>{e.stdin?N.hb("/dev","stdin",e.stdin):N.symlink("/dev/tty","/dev/stdin");e.stdout?
-N.hb("/dev","stdout",null,e.stdout):N.symlink("/dev/tty","/dev/stdout");e.stderr?N.hb("/dev","stderr",null,e.stderr):N.symlink("/dev/tty1","/dev/stderr");N.open("/dev/stdin",0);N.open("/dev/stdout",1);N.open("/dev/stderr",1)},Jc:()=>{N.Ma||(N.Ma=function(a,b){this.node=b;this.Qd=function(c){this.Ra=c};this.Qd(a);this.message="FS error"},N.Ma.prototype=Error(),N.Ma.prototype.constructor=N.Ma,[44].forEach(a=>{N.fc[a]=new N.Ma(a);N.fc[a].stack="<generic error, no stack>"}))},Vd:()=>{N.Jc();N.lb=Array(4096);
-L(a+"/"+b):a);a=N.hc(d,f);k=N.create(k,a);if(c){if("string"==typeof c){b=Array(c.length);d=0;for(f=c.length;d<f;++d)b[d]=c.charCodeAt(d);c=b}N.chmod(k,a|146);b=N.open(k,577);N.write(b,c,0,c.length,0,g);N.close(b);N.chmod(k,a)}return k},hb:(a,b,c,d)=>{a=Sa("string"==typeof a?a:N.qb(a),b);b=N.hc(!!c,!!d);N.hb.oc||(N.hb.oc=64);var f=N.xb(N.hb.oc++,0);N.vc(f,{open:g=>{g.seekable=!1},close:()=>{d&&d.buffer&&d.buffer.length&&d(10)},read:(g,k,h,n)=>{for(var q=0,p=0;p<n;p++){try{var t=c()}catch(x){throw new N.Ma(29);
-}if(void 0===t&&0===q)throw new N.Ma(6);if(null===t||void 0===t)break;q++;k[h+p]=t}q&&(g.node.timestamp=Date.now());return q},write:(g,k,h,n)=>{for(var q=0;q<n;q++)try{d(k[h+q])}catch(p){throw new N.Ma(29);}n&&(g.node.timestamp=Date.now());return q}});return N.Xb(a,b,f)},ec:a=>{if(a.lc||a.Cd||a.link||a.Pa)return!0;if("undefined"!=typeof XMLHttpRequest)throw Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");
-if(ia)try{a.Pa=Wa(ia(a.url),!0),a.Va=a.Pa.length}catch(b){throw new N.Ma(29);}else throw Error("Cannot load without read() or XMLHttpRequest.");},Cc:(a,b,c,d,f)=>{function g(){this.nc=!1;this.cb=[]}function k(p,t,x,l,u){p=p.node.Pa;if(u>=p.length)return 0;l=Math.min(p.length-u,l);if(p.slice)for(var w=0;w<l;w++)t[x+w]=p[u+w];else for(w=0;w<l;w++)t[x+w]=p.get(u+w);return l}g.prototype.get=function(p){if(!(p>this.length-1||0>p)){var t=p%this.chunkSize;return this.Sb(p/this.chunkSize|0)[t]}};g.prototype.ac=
-w.cb;if(K>H)throw Error("invalid range ("+K+", "+H+") or no bytes requested!");if(H>t-1)throw Error("only "+t+" bytes available! programmer error!");var I=new XMLHttpRequest;I.open("GET",c,!1);t!==u&&I.setRequestHeader("Range","bytes="+K+"-"+H);I.responseType="arraybuffer";I.overrideMimeType&&I.overrideMimeType("text/plain; charset=x-user-defined");I.send(null);if(!(200<=I.status&&300>I.status||304===I.status))throw Error("Couldn't load "+c+". Status: "+I.status);K=void 0!==I.response?new Uint8Array(I.response||
-[]):Wa(I.responseText||"",!0);Ga[C]=K}if("undefined"==typeof w.cb[C])throw Error("doXHR failed!");return w.cb[C]});if(p||!t)u=t=1,u=t=this.Sb(0).length,na("LazyFiles on gzip forces download of the whole file when length is accessed");this.bd=t;this.ad=u;this.nc=!0};if("undefined"!=typeof XMLHttpRequest){if(!fa)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var h=new g;Object.defineProperties(h,{length:{get:function(){this.nc||
+var O={nb:null,Xa:function(){return O.createNode(null,"/",16895,0)},createNode:function(a,b,c,d){if(N.Cd(c)||N.isFIFO(c))throw new N.Na(63);O.nb||(O.nb={dir:{node:{kb:O.Pa.kb,$a:O.Pa.$a,lookup:O.Pa.lookup,pb:O.Pa.pb,rename:O.Pa.rename,unlink:O.Pa.unlink,rmdir:O.Pa.rmdir,readdir:O.Pa.readdir,symlink:O.Pa.symlink},stream:{cb:O.Ra.cb}},file:{node:{kb:O.Pa.kb,$a:O.Pa.$a},stream:{cb:O.Ra.cb,read:O.Ra.read,write:O.Ra.write,Jb:O.Ra.Jb,zb:O.Ra.zb,Gb:O.Ra.Gb}},link:{node:{kb:O.Pa.kb,$a:O.Pa.$a,readlink:O.Pa.readlink},
+N.wb(a.mode)?b.size=a.link.length:b.size=0;b.atime=new Date(a.timestamp);b.mtime=new Date(a.timestamp);b.ctime=new Date(a.timestamp);b.dd=4096;b.blocks=Math.ceil(b.size/b.dd);return b},$a:function(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);void 0!==b.size&&O.Qd(a,b.size)},lookup:function(){throw N.hc[44];},pb:function(a,b,c,d){return O.createNode(a,b,c,d)},rename:function(a,b,c){if(N.Za(a.mode)){try{var d=N.lb(b,c)}catch(g){}if(d)for(var f in d.Qa)throw new N.Na(55);
+}delete a.parent.Qa[a.name];a.parent.timestamp=Date.now();a.name=c;b.Qa[c]=a;b.timestamp=a.parent.timestamp;a.parent=b},unlink:function(a,b){delete a.Qa[b];a.timestamp=Date.now()},rmdir:function(a,b){var c=N.lb(a,b),d;for(d in c.Qa)throw new N.Na(55);delete a.Qa[b];a.timestamp=Date.now()},readdir:function(a){var b=[".",".."],c;for(c in a.Qa)a.Qa.hasOwnProperty(c)&&b.push(c);return b},symlink:function(a,b,c){a=O.createNode(a,b,41471,0);a.link=c;return a},readlink:function(a){if(!N.wb(a.mode))throw new N.Na(28);
+d);if(a.Qa.subarray&&b.subarray)a.Qa.set(b.subarray(c,c+d),f);else for(g=0;g<d;g++)a.Qa[f+g]=b[c+g];a.Wa=Math.max(a.Wa,f+d);return d},cb:function(a,b,c){1===c?b+=a.position:2===c&&N.isFile(a.node.mode)&&(b+=a.node.Wa);if(0>b)throw new N.Na(28);return b},Jb:function(a,b,c){O.Lc(a.node,b+c);a.node.Wa=Math.max(a.node.Wa,b+c)},zb:function(a,b,c,d,f){if(!N.isFile(a.node.mode))throw new N.Na(43);a=a.node.Qa;if(f&2||a.buffer!==ua){if(0<c||c+b<a.length)a.subarray?a=a.subarray(c,c+b):a=Array.prototype.slice.call(a,
+c,c+b);c=!0;b=bb(b);if(!b)throw new N.Na(48);B.set(a,b)}else c=!1,b=a.byteOffset;return{Ta:b,Ac:c}},Gb:function(a,b,c,d,f){if(!N.isFile(a.node.mode))throw new N.Na(43);if(f&2)return 0;O.Ra.write(a,b,0,d,c,!1);return 0}}};function db(a,b,c){var d="al "+a;ja(a,f=>{f||v('Loading data file "'+a+'" failed (no arrayBuffer).');b(new Uint8Array(f));d&&Ja(d)},()=>{if(c)c();else throw'Loading data file "'+a+'" failed.';});d&&Ia(d)}
+var N={root:null,Nb:[],Jc:{},streams:[],Id:1,mb:null,Hc:"/",kc:!1,Sc:!0,Na:null,hc:{},td:null,Zb:0,Va:(a,b={})=>{a=Ua(N.cwd(),a);if(!a)return{path:"",node:null};b=Object.assign({ec:!0,uc:0},b);if(8<b.uc)throw new N.Na(32);a=Qa(a.split("/").filter(k=>!!k),!1);for(var c=N.root,d="/",f=0;f<a.length;f++){var g=f===a.length-1;if(g&&b.parent)break;c=N.lb(c,a[f]);d=L(d+"/"+a[f]);N.xb(c)&&(!g||g&&b.ec)&&(c=c.Mb.root);if(!g||b.fb)for(g=0;N.wb(c.mode);)if(c=N.readlink(d),d=Ua(Ra(d),c),c=N.Va(d,{uc:b.uc+1}).node,
+40<g++)throw new N.Na(32);}return{path:d,node:c}},rb:a=>{for(var b;;){if(N.Vb(a))return a=a.Xa.Tc,b?"/"!==a[a.length-1]?a+"/"+b:a+b:a;b=b?a.name+"/"+b:a.name;a=a.parent}},jc:(a,b)=>{for(var c=0,d=0;d<b.length;d++)c=(c<<5)-c+b.charCodeAt(d)|0;return(a+c>>>0)%N.mb.length},Qc:a=>{var b=N.jc(a.parent.id,a.name);a.Ab=N.mb[b];N.mb[b]=a},Rc:a=>{var b=N.jc(a.parent.id,a.name);if(N.mb[b]===a)N.mb[b]=a.Ab;else for(b=N.mb[b];b;){if(b.Ab===a){b.Ab=a.Ab;break}b=b.Ab}},lb:(a,b)=>{var c=N.Fd(a);if(c)throw new N.Na(c,
+f.length&&c(null)}"function"==typeof a&&(b=a,a=!1);N.Zb++;1<N.Zb&&r("warning: "+N.Zb+" FS.syncfs operations in flight at once, probably just doing extra work");var f=N.Oc(N.root.Xa),g=0;f.forEach(k=>{if(!k.type.Vc)return d(null);k.type.Vc(k,a,d)})},Xa:(a,b,c)=>{var d="/"===c,f=!c;if(d&&N.root)throw new N.Na(10);if(!d&&!f){var g=N.Va(c,{ec:!1});c=g.path;g=g.node;if(N.xb(g))throw new N.Na(10);if(!N.Za(g.mode))throw new N.Na(54);}b={type:a,ke:b,Tc:c,Nb:[]};a=a.Xa(b);a.Xa=b;b.root=a;d?N.root=a:g&&(g.Mb=
+b,g.Xa&&g.Xa.Nb.push(b));return a},oe:a=>{a=N.Va(a,{ec:!1});if(!N.xb(a.node))throw new N.Na(28);a=a.node;var b=a.Mb,c=N.Oc(b);Object.keys(N.mb).forEach(d=>{for(d=N.mb[d];d;){var f=d.Ab;c.includes(d.Xa)&&N.dc(d);d=f}});a.Mb=null;a.Xa.Nb.splice(a.Xa.Nb.indexOf(b),1)},lookup:(a,b)=>a.Pa.lookup(a,b),pb:(a,b,c)=>{var d=N.Va(a,{parent:!0}).node;a=M(a);if(!a||"."===a||".."===a)throw new N.Na(28);var f=N.qc(d,a);if(f)throw new N.Na(f);if(!d.Pa.pb)throw new N.Na(63);return d.Pa.pb(d,a,b,c)},create:(a,b)=>
+N.pb(a,(void 0!==b?b:438)&4095|32768,0),mkdir:(a,b)=>N.pb(a,(void 0!==b?b:511)&1023|16384,0),he:(a,b)=>{a=a.split("/");for(var c="",d=0;d<a.length;++d)if(a[d]){c+="/"+a[d];try{N.mkdir(c,b)}catch(f){if(20!=f.Sa)throw f;}}},Yb:(a,b,c)=>{"undefined"==typeof c&&(c=b,b=438);return N.pb(a,b|8192,c)},symlink:(a,b)=>{if(!Ua(a))throw new N.Na(44);var c=N.Va(b,{parent:!0}).node;if(!c)throw new N.Na(44);b=M(b);var d=N.qc(c,b);if(d)throw new N.Na(d);if(!c.Pa.symlink)throw new N.Na(63);return c.Pa.symlink(c,b,
+a)},rename:(a,b)=>{var c=Ra(a),d=Ra(b),f=M(a),g=M(b);var k=N.Va(a,{parent:!0});var h=k.node;k=N.Va(b,{parent:!0});k=k.node;if(!h||!k)throw new N.Na(44);if(h.Xa!==k.Xa)throw new N.Na(75);var n=N.lb(h,f);a=Va(a,d);if("."!==a.charAt(0))throw new N.Na(28);a=Va(b,c);if("."!==a.charAt(0))throw new N.Na(55);try{var q=N.lb(k,g)}catch(p){}if(n!==q){b=N.Za(n.mode);if(f=N.Xb(h,f,b))throw new N.Na(f);if(f=q?N.Xb(k,g,b):N.qc(k,g))throw new N.Na(f);if(!h.Pa.rename)throw new N.Na(63);if(N.xb(n)||q&&N.xb(q))throw new N.Na(10);
+if(k!==h&&(f=N.tb(h,"w")))throw new N.Na(f);N.Rc(n);try{h.Pa.rename(n,k,g)}catch(p){throw p;}finally{N.Qc(n)}}},rmdir:a=>{var b=N.Va(a,{parent:!0}).node;a=M(a);var c=N.lb(b,a),d=N.Xb(b,a,!0);if(d)throw new N.Na(d);if(!b.Pa.rmdir)throw new N.Na(63);if(N.xb(c))throw new N.Na(10);b.Pa.rmdir(b,a);N.dc(c)},readdir:a=>{a=N.Va(a,{fb:!0}).node;if(!a.Pa.readdir)throw new N.Na(54);return a.Pa.readdir(a)},unlink:a=>{var b=N.Va(a,{parent:!0}).node;if(!b)throw new N.Na(44);a=M(a);var c=N.lb(b,a),d=N.Xb(b,a,!1);
+if(d)throw new N.Na(d);if(!b.Pa.unlink)throw new N.Na(63);if(N.xb(c))throw new N.Na(10);b.Pa.unlink(b,a);N.dc(c)},readlink:a=>{a=N.Va(a).node;if(!a)throw new N.Na(44);if(!a.Pa.readlink)throw new N.Na(28);return Ua(N.rb(a.parent),a.Pa.readlink(a))},stat:(a,b)=>{a=N.Va(a,{fb:!b}).node;if(!a)throw new N.Na(44);if(!a.Pa.kb)throw new N.Na(63);return a.Pa.kb(a)},lstat:a=>N.stat(a,!0),chmod:(a,b,c)=>{a="string"==typeof a?N.Va(a,{fb:!c}).node:a;if(!a.Pa.$a)throw new N.Na(63);a.Pa.$a(a,{mode:b&4095|a.mode&
+-4096,timestamp:Date.now()})},lchmod:(a,b)=>{N.chmod(a,b,!0)},fchmod:(a,b)=>{a=N.sb(a);if(!a)throw new N.Na(8);N.chmod(a.node,b)},chown:(a,b,c,d)=>{a="string"==typeof a?N.Va(a,{fb:!d}).node:a;if(!a.Pa.$a)throw new N.Na(63);a.Pa.$a(a,{timestamp:Date.now()})},lchown:(a,b,c)=>{N.chown(a,b,c,!0)},fchown:(a,b,c)=>{a=N.sb(a);if(!a)throw new N.Na(8);N.chown(a.node,b,c)},truncate:(a,b)=>{if(0>b)throw new N.Na(28);a="string"==typeof a?N.Va(a,{fb:!0}).node:a;if(!a.Pa.$a)throw new N.Na(63);if(N.Za(a.mode))throw new N.Na(31);
+if(!N.isFile(a.mode))throw new N.Na(28);var c=N.tb(a,"w");if(c)throw new N.Na(c);a.Pa.$a(a,{size:b,timestamp:Date.now()})},vd:(a,b)=>{a=N.sb(a);if(!a)throw new N.Na(8);if(0===(a.flags&2097155))throw new N.Na(28);N.truncate(a.node,b)},be:(a,b,c)=>{a=N.Va(a,{fb:!0}).node;a.Pa.$a(a,{timestamp:Math.max(b,c)})},open:(a,b,c)=>{if(""===a)throw new N.Na(44);b="string"==typeof b?N.Hd(b):b;c=b&64?("undefined"==typeof c?438:c)&4095|32768:0;if("object"==typeof a)var d=a;else{a=L(a);try{d=N.Va(a,{fb:!(b&131072)}).node}catch(g){}}var f=
+!1;if(b&64)if(d){if(b&128)throw new N.Na(20);}else d=N.pb(a,c,0),f=!0;if(!d)throw new N.Na(44);N.Kb(d.mode)&&(b&=-513);if(b&65536&&!N.Za(d.mode))throw new N.Na(54);if(!f&&(c=N.Gd(d,b)))throw new N.Na(c);b&512&&!f&&N.truncate(d,0);b&=-131713;d=N.Gc({node:d,path:N.rb(d),flags:b,seekable:!0,position:0,Ra:d.Ra,ae:[],error:!1});d.Ra.open&&d.Ra.open(d);!e.logReadFiles||b&1||(N.tc||(N.tc={}),a in N.tc||(N.tc[a]=1));return d},close:a=>{if(N.Lb(a))throw new N.Na(8);a.vb&&(a.vb=null);try{a.Ra.close&&a.Ra.close(a)}catch(b){throw b;
+}finally{N.jd(a.fd)}a.fd=null},Lb:a=>null===a.fd,cb:(a,b,c)=>{if(N.Lb(a))throw new N.Na(8);if(!a.seekable||!a.Ra.cb)throw new N.Na(70);if(0!=c&&1!=c&&2!=c)throw new N.Na(28);a.position=a.Ra.cb(a,b,c);a.ae=[];return a.position},read:(a,b,c,d,f)=>{if(0>d||0>f)throw new N.Na(28);if(N.Lb(a))throw new N.Na(8);if(1===(a.flags&2097155))throw new N.Na(8);if(N.Za(a.node.mode))throw new N.Na(31);if(!a.Ra.read)throw new N.Na(28);var g="undefined"!=typeof f;if(!g)f=a.position;else if(!a.seekable)throw new N.Na(70);
+b=a.Ra.read(a,b,c,d,f);g||(a.position+=b);return b},write:(a,b,c,d,f,g)=>{if(0>d||0>f)throw new N.Na(28);if(N.Lb(a))throw new N.Na(8);if(0===(a.flags&2097155))throw new N.Na(8);if(N.Za(a.node.mode))throw new N.Na(31);if(!a.Ra.write)throw new N.Na(28);a.seekable&&a.flags&1024&&N.cb(a,0,2);var k="undefined"!=typeof f;if(!k)f=a.position;else if(!a.seekable)throw new N.Na(70);b=a.Ra.write(a,b,c,d,f,g);k||(a.position+=b);return b},Jb:(a,b,c)=>{if(N.Lb(a))throw new N.Na(8);if(0>b||0>=c)throw new N.Na(28);
+if(0===(a.flags&2097155))throw new N.Na(8);if(!N.isFile(a.node.mode)&&!N.Za(a.node.mode))throw new N.Na(43);if(!a.Ra.Jb)throw new N.Na(138);a.Ra.Jb(a,b,c)},zb:(a,b,c,d,f)=>{if(0!==(d&2)&&0===(f&2)&&2!==(a.flags&2097155))throw new N.Na(2);if(1===(a.flags&2097155))throw new N.Na(2);if(!a.Ra.zb)throw new N.Na(43);return a.Ra.zb(a,b,c,d,f)},Gb:(a,b,c,d,f)=>a&&a.Ra.Gb?a.Ra.Gb(a,b,c,d,f):0,ie:()=>0,lc:(a,b,c)=>{if(!a.Ra.lc)throw new N.Na(59);return a.Ra.lc(a,b,c)},readFile:(a,b={})=>{b.flags=b.flags||0;
+b,0,b.byteLength,void 0,c.gd);else throw Error("Unsupported data type");N.close(a)},cwd:()=>N.Hc,chdir:a=>{a=N.Va(a,{fb:!0});if(null===a.node)throw new N.Na(44);if(!N.Za(a.node.mode))throw new N.Na(54);var b=N.tb(a.node,"x");if(b)throw new N.Na(b);N.Hc=a.path},md:()=>{N.mkdir("/tmp");N.mkdir("/home");N.mkdir("/home/web_user")},ld:()=>{N.mkdir("/dev");N.wc(N.yb(1,3),{read:()=>0,write:(b,c,d,f)=>f});N.Yb("/dev/null",N.yb(1,3));Ya(N.yb(5,0),$a);Ya(N.yb(6,0),ab);N.Yb("/dev/tty",N.yb(5,0));N.Yb("/dev/tty1",
+N.yb(6,0));var a=Ta();N.ib("/dev","random",a);N.ib("/dev","urandom",a);N.mkdir("/dev/shm");N.mkdir("/dev/shm/tmp")},od:()=>{N.mkdir("/proc");var a=N.mkdir("/proc/self");N.mkdir("/proc/self/fd");N.Xa({Xa:()=>{var b=N.createNode(a,"fd",16895,73);b.Pa={lookup:(c,d)=>{var f=N.sb(+d);if(!f)throw new N.Na(8);c={parent:null,Xa:{Tc:"fake"},Pa:{readlink:()=>f.path}};return c.parent=c}};return b}},{},"/proc/self/fd")},pd:()=>{e.stdin?N.ib("/dev","stdin",e.stdin):N.symlink("/dev/tty","/dev/stdin");e.stdout?
+N.ib("/dev","stdout",null,e.stdout):N.symlink("/dev/tty","/dev/stdout");e.stderr?N.ib("/dev","stderr",null,e.stderr):N.symlink("/dev/tty1","/dev/stderr");N.open("/dev/stdin",0);N.open("/dev/stdout",1);N.open("/dev/stderr",1)},Kc:()=>{N.Na||(N.Na=function(a,b){this.node=b;this.Rd=function(c){this.Sa=c};this.Rd(a);this.message="FS error"},N.Na.prototype=Error(),N.Na.prototype.constructor=N.Na,[44].forEach(a=>{N.hc[a]=new N.Na(a);N.hc[a].stack="<generic error, no stack>"}))},Wd:()=>{N.Kc();N.mb=Array(4096);
+L(a+"/"+b):a);a=N.ic(d,f);k=N.create(k,a);if(c){if("string"==typeof c){b=Array(c.length);d=0;for(f=c.length;d<f;++d)b[d]=c.charCodeAt(d);c=b}N.chmod(k,a|146);b=N.open(k,577);N.write(b,c,0,c.length,0,g);N.close(b);N.chmod(k,a)}return k},ib:(a,b,c,d)=>{a=Sa("string"==typeof a?a:N.rb(a),b);b=N.ic(!!c,!!d);N.ib.pc||(N.ib.pc=64);var f=N.yb(N.ib.pc++,0);N.wc(f,{open:g=>{g.seekable=!1},close:()=>{d&&d.buffer&&d.buffer.length&&d(10)},read:(g,k,h,n)=>{for(var q=0,p=0;p<n;p++){try{var t=c()}catch(x){throw new N.Na(29);
+}if(void 0===t&&0===q)throw new N.Na(6);if(null===t||void 0===t)break;q++;k[h+p]=t}q&&(g.node.timestamp=Date.now());return q},write:(g,k,h,n)=>{for(var q=0;q<n;q++)try{d(k[h+q])}catch(p){throw new N.Na(29);}n&&(g.node.timestamp=Date.now());return q}});return N.Yb(a,b,f)},fc:a=>{if(a.mc||a.Dd||a.link||a.Qa)return!0;if("undefined"!=typeof XMLHttpRequest)throw Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");
+if(ia)try{a.Qa=Wa(ia(a.url),!0),a.Wa=a.Qa.length}catch(b){throw new N.Na(29);}else throw Error("Cannot load without read() or XMLHttpRequest.");},Dc:(a,b,c,d,f)=>{function g(){this.oc=!1;this.eb=[]}function k(p,t,x,l,u){p=p.node.Qa;if(u>=p.length)return 0;l=Math.min(p.length-u,l);if(p.slice)for(var w=0;w<l;w++)t[x+w]=p[u+w];else for(w=0;w<l;w++)t[x+w]=p.get(u+w);return l}g.prototype.get=function(p){if(!(p>this.length-1||0>p)){var t=p%this.chunkSize;return this.Tb(p/this.chunkSize|0)[t]}};g.prototype.bc=
+w.eb;if(K>H)throw Error("invalid range ("+K+", "+H+") or no bytes requested!");if(H>t-1)throw Error("only "+t+" bytes available! programmer error!");var I=new XMLHttpRequest;I.open("GET",c,!1);t!==u&&I.setRequestHeader("Range","bytes="+K+"-"+H);I.responseType="arraybuffer";I.overrideMimeType&&I.overrideMimeType("text/plain; charset=x-user-defined");I.send(null);if(!(200<=I.status&&300>I.status||304===I.status))throw Error("Couldn't load "+c+". Status: "+I.status);K=void 0!==I.response?new Uint8Array(I.response||
+[]):Wa(I.responseText||"",!0);Ga[C]=K}if("undefined"==typeof w.eb[C])throw Error("doXHR failed!");return w.eb[C]});if(p||!t)u=t=1,u=t=this.Tb(0).length,na("LazyFiles on gzip forces download of the whole file when length is accessed");this.cd=t;this.bd=u;this.oc=!0};if("undefined"!=typeof XMLHttpRequest){if(!fa)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var h=new g;Object.defineProperties(h,{length:{get:function(){this.oc||
function rb(a){var b=Error,c=qb(a,function(d){this.name=a;this.message=d;d=Error(d).stack;void 0!==d&&(this.stack=this.toString()+"\n"+d.replace(/^Error(:[^\n]*)?\n/,""))});c.prototype=Object.create(b.prototype);c.prototype.constructor=c;c.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message};return c}var sb=void 0;function tb(a){throw new sb(a);}
function ub(a,b,c){function d(h){h=c(h);h.length!==a.length&&tb("Mismatched type converter count");for(var n=0;n<a.length;++n)R(a[n],h[n])}a.forEach(function(h){ob[h]=b});var f=Array(b.length),g=[],k=0;b.forEach((h,n)=>{nb.hasOwnProperty(h)?f[n]=nb[h]:(g.push(h),mb.hasOwnProperty(h)||(mb[h]=[]),mb[h].push(()=>{f[n]=nb[h];++k;k===g.length&&d(f)}))});0===g.length&&d(f)}
function vb(a){switch(a){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+a);}}var wb=void 0;function S(a){for(var b="";z[a];)b+=wb[z[a++]];return b}var xb=void 0;function T(a){throw new xb(a);}
-function R(a,b,c={}){if(!("argPackAdvance"in b))throw new TypeError("registerType registeredInstance requires argPackAdvance");var d=b.name;a||T('type "'+d+'" must have a positive integer typeid pointer');if(nb.hasOwnProperty(a)){if(c.Ad)return;T("Cannot register type '"+d+"' twice")}nb[a]=b;delete ob[a];mb.hasOwnProperty(a)&&(b=mb[a],delete mb[a],b.forEach(f=>f()))}function yb(a){T(a.Na.Xa.Ta.name+" instance already deleted")}var zb=!1;function Ab(){}
-function Bb(a){--a.count.value;0===a.count.value&&(a.ab?a.fb.pb(a.ab):a.Xa.Ta.pb(a.Sa))}function Cb(a,b,c){if(b===c)return a;if(void 0===c.gb)return null;a=Cb(a,b,c.gb);return null===a?null:c.pd(a)}var Db={},Eb=[];function Fb(){for(;Eb.length;){var a=Eb.pop();a.Na.Cb=!1;a["delete"]()}}var Gb=void 0,Hb={};function Ib(a,b){for(void 0===b&&T("ptr should not be undefined");a.gb;)b=a.Ob(b),a=a.gb;return Hb[b]}
-function Jb(a,b){b.Xa&&b.Sa||tb("makeClassHandle requires ptr and ptrType");!!b.fb!==!!b.ab&&tb("Both smartPtrType and smartPtr must be specified");b.count={value:1};return Kb(Object.create(a,{Na:{value:b}}))}function Kb(a){if("undefined"===typeof FinalizationRegistry)return Kb=b=>b,a;zb=new FinalizationRegistry(b=>{Bb(b.Na)});Kb=b=>{var c=b.Na;c.ab&&zb.register(b,{Na:c},b);return b};Ab=b=>{zb.unregister(b)};return Kb(a)}function U(){}
-function Lb(a,b,c){if(void 0===a[b].$a){var d=a[b];a[b]=function(){a[b].$a.hasOwnProperty(arguments.length)||T("Function '"+c+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+a[b].$a+")!");return a[b].$a[arguments.length].apply(this,arguments)};a[b].$a=[];a[b].$a[d.Qb]=d}}
-function Mb(a,b,c){e.hasOwnProperty(a)?((void 0===c||void 0!==e[a].$a&&void 0!==e[a].$a[c])&&T("Cannot register public name '"+a+"' twice"),Lb(e,a,a),e.hasOwnProperty(c)&&T("Cannot register multiple overloads of a function with the same number of arguments ("+c+")!"),e[a].$a[c]=b):(e[a]=b,void 0!==c&&(e[a].ie=c))}function Nb(a,b,c,d,f,g,k,h){this.name=a;this.constructor=b;this.Eb=c;this.pb=d;this.gb=f;this.vd=g;this.Ob=k;this.pd=h;this.Nd=[]}
-function Ob(a,b,c){for(;b!==c;)b.Ob||T("Expected null or instance of "+c.name+", got an instance of "+b.name),a=b.Ob(a),b=b.gb;return a}function Pb(a,b){if(null===b)return this.mc&&T("null is not a valid "+this.name),0;b.Na||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Na.Sa||T("Cannot pass deleted object as a pointer of type "+this.name);return Ob(b.Na.Sa,b.Na.Xa.Ta,this.Ta)}
-function Rb(a,b){if(null===b){this.mc&&T("null is not a valid "+this.name);if(this.Vb){var c=this.rc();null!==a&&a.push(this.pb,c);return c}return 0}b.Na||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Na.Sa||T("Cannot pass deleted object as a pointer of type "+this.name);!this.Tb&&b.Na.Xa.Tb&&T("Cannot convert argument of type "+(b.Na.fb?b.Na.fb.name:b.Na.Xa.name)+" to parameter type "+this.name);c=Ob(b.Na.Sa,b.Na.Xa.Ta,this.Ta);if(this.Vb)switch(void 0===b.Na.ab&&T("Passing raw pointer to smart pointer is illegal"),
-this.Ud){case 0:b.Na.fb===this?c=b.Na.ab:T("Cannot convert argument of type "+(b.Na.fb?b.Na.fb.name:b.Na.Xa.name)+" to parameter type "+this.name);break;case 1:c=b.Na.ab;break;case 2:if(b.Na.fb===this)c=b.Na.ab;else{var d=b.clone();c=this.Od(c,Sb(function(){d["delete"]()}));null!==a&&a.push(this.pb,c)}break;default:T("Unsupporting sharing policy")}return c}
-function Tb(a,b){if(null===b)return this.mc&&T("null is not a valid "+this.name),0;b.Na||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Na.Sa||T("Cannot pass deleted object as a pointer of type "+this.name);b.Na.Xa.Tb&&T("Cannot convert argument of type "+b.Na.Xa.name+" to parameter type "+this.name);return Ob(b.Na.Sa,b.Na.Xa.Ta,this.Ta)}
-function V(a,b,c,d){this.name=a;this.Ta=b;this.mc=c;this.Tb=d;this.Vb=!1;this.pb=this.Od=this.rc=this.Tc=this.Ud=this.Md=void 0;void 0!==b.gb?this.toWireType=Rb:(this.toWireType=d?Pb:Tb,this.ib=null)}function Ub(a,b,c){e.hasOwnProperty(a)||tb("Replacing nonexistant public symbol");void 0!==e[a].$a&&void 0!==c?e[a].$a[c]=b:(e[a]=b,e[a].Qb=c)}
+function R(a,b,c={}){if(!("argPackAdvance"in b))throw new TypeError("registerType registeredInstance requires argPackAdvance");var d=b.name;a||T('type "'+d+'" must have a positive integer typeid pointer');if(nb.hasOwnProperty(a)){if(c.Bd)return;T("Cannot register type '"+d+"' twice")}nb[a]=b;delete ob[a];mb.hasOwnProperty(a)&&(b=mb[a],delete mb[a],b.forEach(f=>f()))}function yb(a){T(a.Oa.Ya.Ua.name+" instance already deleted")}var zb=!1;function Ab(){}
+function Bb(a){--a.count.value;0===a.count.value&&(a.bb?a.gb.qb(a.bb):a.Ya.Ua.qb(a.Ta))}function Cb(a,b,c){if(b===c)return a;if(void 0===c.hb)return null;a=Cb(a,b,c.hb);return null===a?null:c.qd(a)}var Db={},Eb=[];function Fb(){for(;Eb.length;){var a=Eb.pop();a.Oa.Db=!1;a["delete"]()}}var Gb=void 0,Hb={};function Ib(a,b){for(void 0===b&&T("ptr should not be undefined");a.hb;)b=a.Pb(b),a=a.hb;return Hb[b]}
+function Jb(a,b){b.Ya&&b.Ta||tb("makeClassHandle requires ptr and ptrType");!!b.gb!==!!b.bb&&tb("Both smartPtrType and smartPtr must be specified");b.count={value:1};return Kb(Object.create(a,{Oa:{value:b}}))}function Kb(a){if("undefined"===typeof FinalizationRegistry)return Kb=b=>b,a;zb=new FinalizationRegistry(b=>{Bb(b.Oa)});Kb=b=>{var c=b.Oa;c.bb&&zb.register(b,{Oa:c},b);return b};Ab=b=>{zb.unregister(b)};return Kb(a)}function U(){}
+function Lb(a,b,c){if(void 0===a[b].ab){var d=a[b];a[b]=function(){a[b].ab.hasOwnProperty(arguments.length)||T("Function '"+c+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+a[b].ab+")!");return a[b].ab[arguments.length].apply(this,arguments)};a[b].ab=[];a[b].ab[d.Rb]=d}}
+function Mb(a,b,c){e.hasOwnProperty(a)?((void 0===c||void 0!==e[a].ab&&void 0!==e[a].ab[c])&&T("Cannot register public name '"+a+"' twice"),Lb(e,a,a),e.hasOwnProperty(c)&&T("Cannot register multiple overloads of a function with the same number of arguments ("+c+")!"),e[a].ab[c]=b):(e[a]=b,void 0!==c&&(e[a].je=c))}function Nb(a,b,c,d,f,g,k,h){this.name=a;this.constructor=b;this.Fb=c;this.qb=d;this.hb=f;this.wd=g;this.Pb=k;this.qd=h;this.Od=[]}
+function Ob(a,b,c){for(;b!==c;)b.Pb||T("Expected null or instance of "+c.name+", got an instance of "+b.name),a=b.Pb(a),b=b.hb;return a}function Pb(a,b){if(null===b)return this.nc&&T("null is not a valid "+this.name),0;b.Oa||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Oa.Ta||T("Cannot pass deleted object as a pointer of type "+this.name);return Ob(b.Oa.Ta,b.Oa.Ya.Ua,this.Ua)}
+function Rb(a,b){if(null===b){this.nc&&T("null is not a valid "+this.name);if(this.Wb){var c=this.sc();null!==a&&a.push(this.qb,c);return c}return 0}b.Oa||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Oa.Ta||T("Cannot pass deleted object as a pointer of type "+this.name);!this.Ub&&b.Oa.Ya.Ub&&T("Cannot convert argument of type "+(b.Oa.gb?b.Oa.gb.name:b.Oa.Ya.name)+" to parameter type "+this.name);c=Ob(b.Oa.Ta,b.Oa.Ya.Ua,this.Ua);if(this.Wb)switch(void 0===b.Oa.bb&&T("Passing raw pointer to smart pointer is illegal"),
+this.Vd){case 0:b.Oa.gb===this?c=b.Oa.bb:T("Cannot convert argument of type "+(b.Oa.gb?b.Oa.gb.name:b.Oa.Ya.name)+" to parameter type "+this.name);break;case 1:c=b.Oa.bb;break;case 2:if(b.Oa.gb===this)c=b.Oa.bb;else{var d=b.clone();c=this.Pd(c,Sb(function(){d["delete"]()}));null!==a&&a.push(this.qb,c)}break;default:T("Unsupporting sharing policy")}return c}
+function Tb(a,b){if(null===b)return this.nc&&T("null is not a valid "+this.name),0;b.Oa||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Oa.Ta||T("Cannot pass deleted object as a pointer of type "+this.name);b.Oa.Ya.Ub&&T("Cannot convert argument of type "+b.Oa.Ya.name+" to parameter type "+this.name);return Ob(b.Oa.Ta,b.Oa.Ya.Ua,this.Ua)}
+function V(a,b,c,d){this.name=a;this.Ua=b;this.nc=c;this.Ub=d;this.Wb=!1;this.qb=this.Pd=this.sc=this.Uc=this.Vd=this.Nd=void 0;void 0!==b.hb?this.toWireType=Rb:(this.toWireType=d?Pb:Tb,this.jb=null)}function Ub(a,b,c){e.hasOwnProperty(a)||tb("Replacing nonexistant public symbol");void 0!==e[a].ab&&void 0!==c?e[a].ab[c]=b:(e[a]=b,e[a].Rb=c)}
function Vb(a,b){var c=[];return function(){c.length=0;Object.assign(c,arguments);if(a.includes("j")){var d=e["dynCall_"+a];d=c&&c.length?d.apply(null,[b].concat(c)):d.call(null,b)}else d=za.get(b).apply(null,c);return d}}function W(a,b){a=S(a);var c=a.includes("j")?Vb(a,b):za.get(b);"function"!=typeof c&&T("unknown function pointer with signature "+a+": "+b);return c}var Wb=void 0;function Xb(a){a=Yb(a);var b=S(a);X(a);return b}
function Zb(a,b){function c(g){f[g]||nb[g]||(ob[g]?ob[g].forEach(c):(d.push(g),f[g]=!0))}var d=[],f={};b.forEach(c);throw new Wb(a+": "+d.map(Xb).join([", "]));}function $b(a,b){for(var c=[],d=0;d<a;d++)c.push(F[b+4*d>>2]);return c}
function ac(a){var b=Function;if(!(b instanceof Function))throw new TypeError("new_ called with constructor type "+typeof b+" which is not a function");var c=qb(b.name||"unknownFunctionName",function(){});c.prototype=b.prototype;c=new c;a=b.apply(c,a);return a instanceof Object?a:c}
-function bc(a,b,c,d,f){var g=b.length;2>g&&T("argTypes array size mismatch! Must at least get return value and 'this' types!");var k=null!==b[1]&&null!==c,h=!1;for(c=1;c<b.length;++c)if(null!==b[c]&&void 0===b[c].ib){h=!0;break}var n="void"!==b[0].name,q="",p="";for(c=0;c<g-2;++c)q+=(0!==c?", ":"")+"arg"+c,p+=(0!==c?", ":"")+"arg"+c+"Wired";a="return function "+pb(a)+"("+q+") {\nif (arguments.length !== "+(g-2)+") {\nthrowBindingError('function "+a+" called with ' + arguments.length + ' arguments, expected "+
+function bc(a,b,c,d,f){var g=b.length;2>g&&T("argTypes array size mismatch! Must at least get return value and 'this' types!");var k=null!==b[1]&&null!==c,h=!1;for(c=1;c<b.length;++c)if(null!==b[c]&&void 0===b[c].jb){h=!0;break}var n="void"!==b[0].name,q="",p="";for(c=0;c<g-2;++c)q+=(0!==c?", ":"")+"arg"+c,p+=(0!==c?", ":"")+"arg"+c+"Wired";a="return function "+pb(a)+"("+q+") {\nif (arguments.length !== "+(g-2)+") {\nthrowBindingError('function "+a+" called with ' + arguments.length + ' arguments, expected "+
-"%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var p in q)c=c.replace(new RegExp(p,"g"),q[p]);var t="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),x="January February March April May June July August September October November December".split(" ");q={"%a":function(l){return t[l.nb].substring(0,3)},"%A":function(l){return t[l.nb]},"%b":function(l){return x[l.$b].substring(0,3)},"%B":function(l){return x[l.$b]},
-e:function(a){var b=jb[a];delete jb[a];var c=b.rc,d=b.pb,f=b.Lc,g=f.map(k=>k.zd).concat(f.map(k=>k.Sd));ub([a],g,k=>{var h={};f.forEach((n,q)=>{var p=k[q],t=n.Sb,x=n.yd,l=k[q+f.length],u=n.Rd,w=n.Td;h[n.rd]={read:C=>p.fromWireType(t(x,C)),write:(C,K)=>{var H=[];u(w,C,l.toWireType(H,K));kb(H)}}});return[{name:b.name,fromWireType:function(n){var q={},p;for(p in h)q[p]=h[p].read(n);d(n);return q},toWireType:function(n,q){for(var p in h)if(!(p in q))throw new TypeError('Missing field: "'+p+'"');var t=
-c();for(p in h)h[p].write(t,q[p]);null!==n&&n.push(d,t);return t},argPackAdvance:8,readValueFromPointer:lb,ib:d}]})},F:function(){},fa:function(a,b,c,d,f){var g=vb(c);b=S(b);R(a,{name:b,fromWireType:function(k){return!!k},toWireType:function(k,h){return h?d:f},argPackAdvance:8,readValueFromPointer:function(k){if(1===c)var h=B;else if(2===c)h=D;else if(4===c)h=E;else throw new TypeError("Unknown boolean type size: "+b);return this.fromWireType(h[k>>g])},ib:null})},ka:function(a,b,c,d,f,g,k,h,n,q,p,
-t,x){p=S(p);g=W(f,g);h&&(h=W(k,h));q&&(q=W(n,q));x=W(t,x);var l=pb(p);Mb(l,function(){Zb("Cannot construct "+p+" due to unbound types",[d])});ub([a,b,c],d?[d]:[],function(u){u=u[0];if(d){var w=u.Ta;var C=w.Eb}else C=U.prototype;u=qb(l,function(){if(Object.getPrototypeOf(this)!==K)throw new xb("Use 'new' to construct "+p);if(void 0===H.tb)throw new xb(p+" has no accessible constructor");var I=H.tb[arguments.length];if(void 0===I)throw new xb("Tried to invoke ctor of "+p+" with invalid number of parameters ("+
-1])throw new xb("Cannot register multiple constructors with identical number of parameters ("+(b-1)+") for class '"+h.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");h.Ta.tb[b-1]=()=>{Zb("Cannot construct "+h.name+" due to unbound types",k)};ub([],k,function(q){q.splice(1,0,null);h.Ta.tb[b-1]=bc(n,q,null,f,g);return[]});return[]})},a:function(a,b,c,d,f,g,k,h){var n=$b(c,d);b=S(b);g=W(f,g);ub([],[a],function(q){function p(){Zb("Cannot call "+
-t+" due to unbound types",n)}q=q[0];var t=q.name+"."+b;b.startsWith("@@")&&(b=Symbol[b.substring(2)]);h&&q.Ta.Nd.push(b);var x=q.Ta.Eb,l=x[b];void 0===l||void 0===l.$a&&l.className!==q.name&&l.Qb===c-2?(p.Qb=c-2,p.className=q.name,x[b]=p):(Lb(x,b,t),x[b].$a[c-2]=p);ub([],n,function(u){u=bc(t,u,q,g,k);void 0===x[b].$a?(u.Qb=c-2,x[b]=u):x[b].$a[c-2]=u;return[]});return[]})},ea:function(a,b){b=S(b);R(a,{name:b,fromWireType:function(c){var d=ec(c);dc(c);return d},toWireType:function(c,d){return Sb(d)},
-argPackAdvance:8,readValueFromPointer:lb,ib:null})},x:function(a,b,c){c=vb(c);b=S(b);R(a,{name:b,fromWireType:function(d){return d},toWireType:function(d,f){return f},argPackAdvance:8,readValueFromPointer:fc(b,c),ib:null})},ha:function(a,b,c,d,f,g){var k=$b(b,c);a=S(a);f=W(d,f);Mb(a,function(){Zb("Cannot call "+a+" due to unbound types",k)},b-1);ub([],k,function(h){h=[h[0],null].concat(h.slice(1));Ub(a,bc(a,h,null,f,g),b-1);return[]})},j:function(a,b,c,d,f){b=S(b);-1===f&&(f=4294967295);f=vb(c);var g=
-h=>h;if(0===d){var k=32-8*c;g=h=>h<<k>>>k}c=b.includes("unsigned")?function(h,n){return n>>>0}:function(h,n){return n};R(a,{name:b,fromWireType:g,toWireType:c,argPackAdvance:8,readValueFromPointer:gc(b,f,0!==d),ib:null})},g:function(a,b,c){function d(g){g>>=2;var k=F;return new f(ua,k[g+1],k[g])}var f=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][b];c=S(c);R(a,{name:c,fromWireType:d,argPackAdvance:8,readValueFromPointer:d},{Ad:!0})},y:function(a,b){b=
+0,2);case 4:return new Date(l.getFullYear(),0,1);case 5:return new Date(l.getFullYear()-1,11,31);case 6:return new Date(l.getFullYear()-1,11,30)}}function n(l){var u=l.Bb;for(l=new Date((new Date(l.Cb+1900,0,1)).getTime());0<u;){var w=l.getMonth(),C=(Dc(l.getFullYear())?Ec:Fc)[w];if(u>C-l.getDate())u-=C-l.getDate()+1,l.setDate(1),11>w?l.setMonth(w+1):(l.setMonth(0),l.setFullYear(l.getFullYear()+1));else{l.setDate(l.getDate()+u);break}}w=new Date(l.getFullYear()+1,0,4);u=h(new Date(l.getFullYear(),
+"%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var p in q)c=c.replace(new RegExp(p,"g"),q[p]);var t="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),x="January February March April May June July August September October November December".split(" ");q={"%a":function(l){return t[l.ob].substring(0,3)},"%A":function(l){return t[l.ob]},"%b":function(l){return x[l.ac].substring(0,3)},"%B":function(l){return x[l.ac]},
+e:function(a){var b=jb[a];delete jb[a];var c=b.sc,d=b.qb,f=b.Mc,g=f.map(k=>k.Ad).concat(f.map(k=>k.Td));ub([a],g,k=>{var h={};f.forEach((n,q)=>{var p=k[q],t=n.Tb,x=n.zd,l=k[q+f.length],u=n.Sd,w=n.Ud;h[n.sd]={read:C=>p.fromWireType(t(x,C)),write:(C,K)=>{var H=[];u(w,C,l.toWireType(H,K));kb(H)}}});return[{name:b.name,fromWireType:function(n){var q={},p;for(p in h)q[p]=h[p].read(n);d(n);return q},toWireType:function(n,q){for(var p in h)if(!(p in q))throw new TypeError('Missing field: "'+p+'"');var t=
+c();for(p in h)h[p].write(t,q[p]);null!==n&&n.push(d,t);return t},argPackAdvance:8,readValueFromPointer:lb,jb:d}]})},F:function(){},fa:function(a,b,c,d,f){var g=vb(c);b=S(b);R(a,{name:b,fromWireType:function(k){return!!k},toWireType:function(k,h){return h?d:f},argPackAdvance:8,readValueFromPointer:function(k){if(1===c)var h=B;else if(2===c)h=D;else if(4===c)h=E;else throw new TypeError("Unknown boolean type size: "+b);return this.fromWireType(h[k>>g])},jb:null})},ka:function(a,b,c,d,f,g,k,h,n,q,p,
+t,x){p=S(p);g=W(f,g);h&&(h=W(k,h));q&&(q=W(n,q));x=W(t,x);var l=pb(p);Mb(l,function(){Zb("Cannot construct "+p+" due to unbound types",[d])});ub([a,b,c],d?[d]:[],function(u){u=u[0];if(d){var w=u.Ua;var C=w.Fb}else C=U.prototype;u=qb(l,function(){if(Object.getPrototypeOf(this)!==K)throw new xb("Use 'new' to construct "+p);if(void 0===H.ub)throw new xb(p+" has no accessible constructor");var I=H.ub[arguments.length];if(void 0===I)throw new xb("Tried to invoke ctor of "+p+" with invalid number of parameters ("+
+1])throw new xb("Cannot register multiple constructors with identical number of parameters ("+(b-1)+") for class '"+h.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");h.Ua.ub[b-1]=()=>{Zb("Cannot construct "+h.name+" due to unbound types",k)};ub([],k,function(q){q.splice(1,0,null);h.Ua.ub[b-1]=bc(n,q,null,f,g);return[]});return[]})},a:function(a,b,c,d,f,g,k,h){var n=$b(c,d);b=S(b);g=W(f,g);ub([],[a],function(q){function p(){Zb("Cannot call "+
+t+" due to unbound types",n)}q=q[0];var t=q.name+"."+b;b.startsWith("@@")&&(b=Symbol[b.substring(2)]);h&&q.Ua.Od.push(b);var x=q.Ua.Fb,l=x[b];void 0===l||void 0===l.ab&&l.className!==q.name&&l.Rb===c-2?(p.Rb=c-2,p.className=q.name,x[b]=p):(Lb(x,b,t),x[b].ab[c-2]=p);ub([],n,function(u){u=bc(t,u,q,g,k);void 0===x[b].ab?(u.Rb=c-2,x[b]=u):x[b].ab[c-2]=u;return[]});return[]})},ea:function(a,b){b=S(b);R(a,{name:b,fromWireType:function(c){var d=ec(c);dc(c);return d},toWireType:function(c,d){return Sb(d)},
+argPackAdvance:8,readValueFromPointer:lb,jb:null})},x:function(a,b,c){c=vb(c);b=S(b);R(a,{name:b,fromWireType:function(d){return d},toWireType:function(d,f){return f},argPackAdvance:8,readValueFromPointer:fc(b,c),jb:null})},ha:function(a,b,c,d,f,g){var k=$b(b,c);a=S(a);f=W(d,f);Mb(a,function(){Zb("Cannot call "+a+" due to unbound types",k)},b-1);ub([],k,function(h){h=[h[0],null].concat(h.slice(1));Ub(a,bc(a,h,null,f,g),b-1);return[]})},j:function(a,b,c,d,f){b=S(b);-1===f&&(f=4294967295);f=vb(c);var g=
+h=>h;if(0===d){var k=32-8*c;g=h=>h<<k>>>k}c=b.includes("unsigned")?function(h,n){return n>>>0}:function(h,n){return n};R(a,{name:b,fromWireType:g,toWireType:c,argPackAdvance:8,readValueFromPointer:gc(b,f,0!==d),jb:null})},g:function(a,b,c){function d(g){g>>=2;var k=F;return new f(ua,k[g+1],k[g])}var f=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][b];c=S(c);R(a,{name:c,fromWireType:d,argPackAdvance:8,readValueFromPointer:d},{Bd:!0})},y:function(a,b){b=
-var k=c&&g?ta(f):f.length;var h=wc(4+k+1),n=h+4;F[h>>2]=k;if(c&&g)A(f,z,n,k+1);else if(g)for(g=0;g<k;++g){var q=f.charCodeAt(g);255<q&&(X(n),T("String has UTF-16 code units that do not fit in 8 bits"));z[n+g]=q}else for(g=0;g<k;++g)z[n+g]=f[g];null!==d&&d.push(X,h);return h},argPackAdvance:8,readValueFromPointer:lb,ib:function(d){X(d)}})},p:function(a,b,c){c=S(c);if(2===b){var d=ic;var f=jc;var g=kc;var k=()=>va;var h=1}else 4===b&&(d=lc,f=mc,g=nc,k=()=>F,h=2);R(a,{name:c,fromWireType:function(n){for(var q=
-F[n>>2],p=k(),t,x=n+4,l=0;l<=q;++l){var u=n+4+l*b;if(l==q||0==p[u>>h])x=d(x,u-x),void 0===t?t=x:(t+=String.fromCharCode(0),t+=x),x=u+b}X(n);return t},toWireType:function(n,q){"string"!=typeof q&&T("Cannot pass non-string to C++ string type "+c);var p=g(q),t=wc(4+p+b);F[t>>2]=p>>h;f(q,t+4,p+b);null!==n&&n.push(X,t);return t},argPackAdvance:8,readValueFromPointer:lb,ib:function(n){X(n)}})},f:function(a,b,c,d,f,g){jb[a]={name:S(b),rc:W(c,d),pb:W(f,g),Lc:[]}},d:function(a,b,c,d,f,g,k,h,n,q){jb[a].Lc.push({rd:S(b),
+var k=c&&g?ta(f):f.length;var h=wc(4+k+1),n=h+4;F[h>>2]=k;if(c&&g)A(f,z,n,k+1);else if(g)for(g=0;g<k;++g){var q=f.charCodeAt(g);255<q&&(X(n),T("String has UTF-16 code units that do not fit in 8 bits"));z[n+g]=q}else for(g=0;g<k;++g)z[n+g]=f[g];null!==d&&d.push(X,h);return h},argPackAdvance:8,readValueFromPointer:lb,jb:function(d){X(d)}})},p:function(a,b,c){c=S(c);if(2===b){var d=ic;var f=jc;var g=kc;var k=()=>va;var h=1}else 4===b&&(d=lc,f=mc,g=nc,k=()=>F,h=2);R(a,{name:c,fromWireType:function(n){for(var q=
+F[n>>2],p=k(),t,x=n+4,l=0;l<=q;++l){var u=n+4+l*b;if(l==q||0==p[u>>h])x=d(x,u-x),void 0===t?t=x:(t+=String.fromCharCode(0),t+=x),x=u+b}X(n);return t},toWireType:function(n,q){"string"!=typeof q&&T("Cannot pass non-string to C++ string type "+c);var p=g(q),t=wc(4+p+b);F[t>>2]=p>>h;f(q,t+4,p+b);null!==n&&n.push(X,t);return t},argPackAdvance:8,readValueFromPointer:lb,jb:function(n){X(n)}})},f:function(a,b,c,d,f,g){jb[a]={name:S(b),sc:W(c,d),qb:W(f,g),Mc:[]}},d:function(a,b,c,d,f,g,k,h,n,q){jb[a].Mc.push({sd:S(b),