-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){x(g)}c=void 0}var d=new WebAssembly.Module(c);var f=new WebAssembly.Instance(d,a)}catch(g){throw a=g.toString(),u("failed to compile wasm module: "+a),(a.includes("imported Memory")||a.includes("memory import"))&&u("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 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.Ga(43);a.tty=b;a.seekable=!1},close:function(a){a.tty.zb.flush(a.tty)},flush:function(a){a.tty.zb.flush(a.tty)},read:function(a,b,c,d){if(!a.tty||!a.tty.zb.Ic)throw new N.Ga(60);for(var f=0,g=0;g<d;g++){try{var k=a.tty.zb.Ic(a.tty)}catch(h){throw new N.Ga(29);}if(void 0===k&&0===f)throw new N.Ga(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.zb.kc)throw new N.Ga(60);
+var Za={open:function(a){var b=Xa[a.node.rdev];if(!b)throw new N.La(43);a.tty=b;a.seekable=!1},close:function(a){a.tty.Fb.flush(a.tty)},flush:function(a){a.tty.Fb.flush(a.tty)},read:function(a,b,c,d){if(!a.tty||!a.tty.Fb.Nc)throw new N.La(60);for(var f=0,g=0;g<d;g++){try{var k=a.tty.Fb.Nc(a.tty)}catch(h){throw new N.La(29);}if(void 0===k&&0===f)throw new N.La(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.Fb.pc)throw new N.La(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={fb:null,Qa:function(){return O.createNode(null,"/",16895,0)},createNode:function(a,b,c,d){if(N.vd(c)||N.isFIFO(c))throw new N.Ga(63);O.fb||(O.fb={dir:{node:{bb:O.Ia.bb,Ta:O.Ia.Ta,lookup:O.Ia.lookup,ib:O.Ia.ib,rename:O.Ia.rename,unlink:O.Ia.unlink,rmdir:O.Ia.rmdir,readdir:O.Ia.readdir,symlink:O.Ia.symlink},stream:{cb:O.Ka.cb}},file:{node:{bb:O.Ia.bb,Ta:O.Ia.Ta},stream:{cb:O.Ka.cb,read:O.Ka.read,write:O.Ka.write,Bb:O.Ka.Bb,qb:O.Ka.qb,yb:O.Ka.yb}},link:{node:{bb:O.Ia.bb,Ta:O.Ia.Ta,readlink:O.Ia.readlink},
-N.xb(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.Xc=4096;b.blocks=Math.ceil(b.size/b.Xc);return b},Ta:function(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);void 0!==b.size&&O.Jd(a,b.size)},lookup:function(){throw N.Zb[44];},ib:function(a,b,c,d){return O.createNode(a,b,c,d)},rename:function(a,b,c){if(N.Sa(a.mode)){try{var d=N.hb(b,c)}catch(g){}if(d)for(var f in d.Ja)throw new N.Ga(55);
-}delete a.parent.Ja[a.name];a.parent.timestamp=Date.now();a.name=c;b.Ja[c]=a;b.timestamp=a.parent.timestamp;a.parent=b},unlink:function(a,b){delete a.Ja[b];a.timestamp=Date.now()},rmdir:function(a,b){var c=N.hb(a,b),d;for(d in c.Ja)throw new N.Ga(55);delete a.Ja[b];a.timestamp=Date.now()},readdir:function(a){var b=[".",".."],c;for(c in a.Ja)a.Ja.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.xb(a.mode))throw new N.Ga(28);
-d);if(a.Ja.subarray&&b.subarray)a.Ja.set(b.subarray(c,c+d),f);else for(g=0;g<d;g++)a.Ja[f+g]=b[c+g];a.Pa=Math.max(a.Pa,f+d);return d},cb:function(a,b,c){1===c?b+=a.position:2===c&&N.isFile(a.node.mode)&&(b+=a.node.Pa);if(0>b)throw new N.Ga(28);return b},Bb:function(a,b,c){O.Ec(a.node,b+c);a.node.Pa=Math.max(a.node.Pa,b+c)},qb:function(a,b,c,d,f){if(!N.isFile(a.node.mode))throw new N.Ga(43);a=a.node.Ja;if(f&2||a.buffer!==va){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.Ga(48);A.set(a,b)}else c=!1,b=a.byteOffset;return{La:b,tc:c}},yb:function(a,b,c,d,f){if(!N.isFile(a.node.mode))throw new N.Ga(43);if(f&2)return 0;O.Ka.write(a,b,0,d,c,!1);return 0}}};function db(a,b,c){var d="al "+a;ja(a,f=>{f||x('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,Eb:[],Cc:{},streams:[],Bd:1,eb:null,Ac:"/",cc:!1,Lc:!0,Ga:null,Zb:{},md:null,Rb:0,Oa:(a,b={})=>{a=Ua(N.cwd(),a);if(!a)return{path:"",node:null};b=Object.assign({Xb:!0,nc:0},b);if(8<b.nc)throw new N.Ga(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.hb(c,a[f]);d=L(d+"/"+a[f]);N.ob(c)&&(!g||g&&b.Xb)&&(c=c.Db.root);if(!g||b.Xa)for(g=0;N.xb(c.mode);)if(c=N.readlink(d),d=Ua(Ra(d),c),c=N.Oa(d,{nc:b.nc+1}).node,
-40<g++)throw new N.Ga(32);}return{path:d,node:c}},kb:a=>{for(var b;;){if(N.Nb(a))return a=a.Qa.Mc,b?"/"!==a[a.length-1]?a+"/"+b:a+b:a;b=b?a.name+"/"+b:a.name;a=a.parent}},bc:(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.eb.length},Jc:a=>{var b=N.bc(a.parent.id,a.name);a.rb=N.eb[b];N.eb[b]=a},Kc:a=>{var b=N.bc(a.parent.id,a.name);if(N.eb[b]===a)N.eb[b]=a.rb;else for(b=N.eb[b];b;){if(b.rb===a){b.rb=a.rb;break}b=b.rb}},hb:(a,b)=>{var c=N.yd(a);if(c)throw new N.Ga(c,
-f.length&&c(null)}"function"==typeof a&&(b=a,a=!1);N.Rb++;1<N.Rb&&u("warning: "+N.Rb+" FS.syncfs operations in flight at once, probably just doing extra work");var f=N.Hc(N.root.Qa),g=0;f.forEach(k=>{if(!k.type.Oc)return d(null);k.type.Oc(k,a,d)})},Qa:(a,b,c)=>{var d="/"===c,f=!c;if(d&&N.root)throw new N.Ga(10);if(!d&&!f){var g=N.Oa(c,{Xb:!1});c=g.path;g=g.node;if(N.ob(g))throw new N.Ga(10);if(!N.Sa(g.mode))throw new N.Ga(54);}b={type:a,de:b,Mc:c,Eb:[]};a=a.Qa(b);a.Qa=b;b.root=a;d?N.root=a:g&&(g.Db=
-b,g.Qa&&g.Qa.Eb.push(b));return a},he:a=>{a=N.Oa(a,{Xb:!1});if(!N.ob(a.node))throw new N.Ga(28);a=a.node;var b=a.Db,c=N.Hc(b);Object.keys(N.eb).forEach(d=>{for(d=N.eb[d];d;){var f=d.rb;c.includes(d.Qa)&&N.Wb(d);d=f}});a.Db=null;a.Qa.Eb.splice(a.Qa.Eb.indexOf(b),1)},lookup:(a,b)=>a.Ia.lookup(a,b),ib:(a,b,c)=>{var d=N.Oa(a,{parent:!0}).node;a=M(a);if(!a||"."===a||".."===a)throw new N.Ga(28);var f=N.jc(d,a);if(f)throw new N.Ga(f);if(!d.Ia.ib)throw new N.Ga(63);return d.Ia.ib(d,a,b,c)},create:(a,b)=>
-N.ib(a,(void 0!==b?b:438)&4095|32768,0),mkdir:(a,b)=>N.ib(a,(void 0!==b?b:511)&1023|16384,0),ae:(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.Ma)throw f;}}},Qb:(a,b,c)=>{"undefined"==typeof c&&(c=b,b=438);return N.ib(a,b|8192,c)},symlink:(a,b)=>{if(!Ua(a))throw new N.Ga(44);var c=N.Oa(b,{parent:!0}).node;if(!c)throw new N.Ga(44);b=M(b);var d=N.jc(c,b);if(d)throw new N.Ga(d);if(!c.Ia.symlink)throw new N.Ga(63);return c.Ia.symlink(c,b,
-a)},rename:(a,b)=>{var c=Ra(a),d=Ra(b),f=M(a),g=M(b);var k=N.Oa(a,{parent:!0});var h=k.node;k=N.Oa(b,{parent:!0});k=k.node;if(!h||!k)throw new N.Ga(44);if(h.Qa!==k.Qa)throw new N.Ga(75);var n=N.hb(h,f);a=Va(a,d);if("."!==a.charAt(0))throw new N.Ga(28);a=Va(b,c);if("."!==a.charAt(0))throw new N.Ga(55);try{var q=N.hb(k,g)}catch(p){}if(n!==q){b=N.Sa(n.mode);if(f=N.Pb(h,f,b))throw new N.Ga(f);if(f=q?N.Pb(k,g,b):N.jc(k,g))throw new N.Ga(f);if(!h.Ia.rename)throw new N.Ga(63);if(N.ob(n)||q&&N.ob(q))throw new N.Ga(10);
-if(k!==h&&(f=N.mb(h,"w")))throw new N.Ga(f);N.Kc(n);try{h.Ia.rename(n,k,g)}catch(p){throw p;}finally{N.Jc(n)}}},rmdir:a=>{var b=N.Oa(a,{parent:!0}).node;a=M(a);var c=N.hb(b,a),d=N.Pb(b,a,!0);if(d)throw new N.Ga(d);if(!b.Ia.rmdir)throw new N.Ga(63);if(N.ob(c))throw new N.Ga(10);b.Ia.rmdir(b,a);N.Wb(c)},readdir:a=>{a=N.Oa(a,{Xa:!0}).node;if(!a.Ia.readdir)throw new N.Ga(54);return a.Ia.readdir(a)},unlink:a=>{var b=N.Oa(a,{parent:!0}).node;if(!b)throw new N.Ga(44);a=M(a);var c=N.hb(b,a),d=N.Pb(b,a,!1);
-if(d)throw new N.Ga(d);if(!b.Ia.unlink)throw new N.Ga(63);if(N.ob(c))throw new N.Ga(10);b.Ia.unlink(b,a);N.Wb(c)},readlink:a=>{a=N.Oa(a).node;if(!a)throw new N.Ga(44);if(!a.Ia.readlink)throw new N.Ga(28);return Ua(N.kb(a.parent),a.Ia.readlink(a))},stat:(a,b)=>{a=N.Oa(a,{Xa:!b}).node;if(!a)throw new N.Ga(44);if(!a.Ia.bb)throw new N.Ga(63);return a.Ia.bb(a)},lstat:a=>N.stat(a,!0),chmod:(a,b,c)=>{a="string"==typeof a?N.Oa(a,{Xa:!c}).node:a;if(!a.Ia.Ta)throw new N.Ga(63);a.Ia.Ta(a,{mode:b&4095|a.mode&
--4096,timestamp:Date.now()})},lchmod:(a,b)=>{N.chmod(a,b,!0)},fchmod:(a,b)=>{a=N.lb(a);if(!a)throw new N.Ga(8);N.chmod(a.node,b)},chown:(a,b,c,d)=>{a="string"==typeof a?N.Oa(a,{Xa:!d}).node:a;if(!a.Ia.Ta)throw new N.Ga(63);a.Ia.Ta(a,{timestamp:Date.now()})},lchown:(a,b,c)=>{N.chown(a,b,c,!0)},fchown:(a,b,c)=>{a=N.lb(a);if(!a)throw new N.Ga(8);N.chown(a.node,b,c)},truncate:(a,b)=>{if(0>b)throw new N.Ga(28);a="string"==typeof a?N.Oa(a,{Xa:!0}).node:a;if(!a.Ia.Ta)throw new N.Ga(63);if(N.Sa(a.mode))throw new N.Ga(31);
-if(!N.isFile(a.mode))throw new N.Ga(28);var c=N.mb(a,"w");if(c)throw new N.Ga(c);a.Ia.Ta(a,{size:b,timestamp:Date.now()})},od:(a,b)=>{a=N.lb(a);if(!a)throw new N.Ga(8);if(0===(a.flags&2097155))throw new N.Ga(28);N.truncate(a.node,b)},Vd:(a,b,c)=>{a=N.Oa(a,{Xa:!0}).node;a.Ia.Ta(a,{timestamp:Math.max(b,c)})},open:(a,b,c)=>{if(""===a)throw new N.Ga(44);b="string"==typeof b?N.Ad(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.Oa(a,{Xa:!(b&131072)}).node}catch(g){}}var f=
-!1;if(b&64)if(d){if(b&128)throw new N.Ga(20);}else d=N.ib(a,c,0),f=!0;if(!d)throw new N.Ga(44);N.Lb(d.mode)&&(b&=-513);if(b&65536&&!N.Sa(d.mode))throw new N.Ga(54);if(!f&&(c=N.zd(d,b)))throw new N.Ga(c);b&512&&!f&&N.truncate(d,0);b&=-131713;d=N.zc({node:d,path:N.kb(d),flags:b,seekable:!0,position:0,Ka:d.Ka,Ud:[],error:!1});d.Ka.open&&d.Ka.open(d);!e.logReadFiles||b&1||(N.mc||(N.mc={}),a in N.mc||(N.mc[a]=1));return d},close:a=>{if(N.Cb(a))throw new N.Ga(8);a.ac&&(a.ac=null);try{a.Ka.close&&a.Ka.close(a)}catch(b){throw b;
-}finally{N.ad(a.fd)}a.fd=null},Cb:a=>null===a.fd,cb:(a,b,c)=>{if(N.Cb(a))throw new N.Ga(8);if(!a.seekable||!a.Ka.cb)throw new N.Ga(70);if(0!=c&&1!=c&&2!=c)throw new N.Ga(28);a.position=a.Ka.cb(a,b,c);a.Ud=[];return a.position},read:(a,b,c,d,f)=>{if(0>d||0>f)throw new N.Ga(28);if(N.Cb(a))throw new N.Ga(8);if(1===(a.flags&2097155))throw new N.Ga(8);if(N.Sa(a.node.mode))throw new N.Ga(31);if(!a.Ka.read)throw new N.Ga(28);var g="undefined"!=typeof f;if(!g)f=a.position;else if(!a.seekable)throw new N.Ga(70);
-b=a.Ka.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.Ga(28);if(N.Cb(a))throw new N.Ga(8);if(0===(a.flags&2097155))throw new N.Ga(8);if(N.Sa(a.node.mode))throw new N.Ga(31);if(!a.Ka.write)throw new N.Ga(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.Ga(70);b=a.Ka.write(a,b,c,d,f,g);k||(a.position+=b);return b},Bb:(a,b,c)=>{if(N.Cb(a))throw new N.Ga(8);if(0>b||0>=c)throw new N.Ga(28);
-if(0===(a.flags&2097155))throw new N.Ga(8);if(!N.isFile(a.node.mode)&&!N.Sa(a.node.mode))throw new N.Ga(43);if(!a.Ka.Bb)throw new N.Ga(138);a.Ka.Bb(a,b,c)},qb:(a,b,c,d,f)=>{if(0!==(d&2)&&0===(f&2)&&2!==(a.flags&2097155))throw new N.Ga(2);if(1===(a.flags&2097155))throw new N.Ga(2);if(!a.Ka.qb)throw new N.Ga(43);return a.Ka.qb(a,b,c,d,f)},yb:(a,b,c,d,f)=>a&&a.Ka.yb?a.Ka.yb(a,b,c,d,f):0,be:()=>0,dc:(a,b,c)=>{if(!a.Ka.dc)throw new N.Ga(59);return a.Ka.dc(a,b,c)},readFile:(a,b={})=>{b.flags=b.flags||0;
-b,0,b.byteLength,void 0,c.Zc);else throw Error("Unsupported data type");N.close(a)},cwd:()=>N.Ac,chdir:a=>{a=N.Oa(a,{Xa:!0});if(null===a.node)throw new N.Ga(44);if(!N.Sa(a.node.mode))throw new N.Ga(54);var b=N.mb(a.node,"x");if(b)throw new N.Ga(b);N.Ac=a.path},dd:()=>{N.mkdir("/tmp");N.mkdir("/home");N.mkdir("/home/web_user")},cd:()=>{N.mkdir("/dev");N.pc(N.pb(1,3),{read:()=>0,write:(b,c,d,f)=>f});N.Qb("/dev/null",N.pb(1,3));Ya(N.pb(5,0),$a);Ya(N.pb(6,0),ab);N.Qb("/dev/tty",N.pb(5,0));N.Qb("/dev/tty1",
-N.pb(6,0));var a=Ta();N.$a("/dev","random",a);N.$a("/dev","urandom",a);N.mkdir("/dev/shm");N.mkdir("/dev/shm/tmp")},gd:()=>{N.mkdir("/proc");var a=N.mkdir("/proc/self");N.mkdir("/proc/self/fd");N.Qa({Qa:()=>{var b=N.createNode(a,"fd",16895,73);b.Ia={lookup:(c,d)=>{var f=N.lb(+d);if(!f)throw new N.Ga(8);c={parent:null,Qa:{Mc:"fake"},Ia:{readlink:()=>f.path}};return c.parent=c}};return b}},{},"/proc/self/fd")},hd:()=>{e.stdin?N.$a("/dev","stdin",e.stdin):N.symlink("/dev/tty","/dev/stdin");e.stdout?
-N.$a("/dev","stdout",null,e.stdout):N.symlink("/dev/tty","/dev/stdout");e.stderr?N.$a("/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)},Dc:()=>{N.Ga||(N.Ga=function(a,b){this.node=b;this.Kd=function(c){this.Ma=c};this.Kd(a);this.message="FS error"},N.Ga.prototype=Error(),N.Ga.prototype.constructor=N.Ga,[44].forEach(a=>{N.Zb[a]=new N.Ga(a);N.Zb[a].stack="<generic error, no stack>"}))},Pd:()=>{N.Dc();N.eb=Array(4096);
-L(a+"/"+b):a);a=N.$b(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},$a:(a,b,c,d)=>{a=Sa("string"==typeof a?a:N.kb(a),b);b=N.$b(!!c,!!d);N.$a.ic||(N.$a.ic=64);var f=N.pb(N.$a.ic++,0);N.pc(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 r=c()}catch(w){throw new N.Ga(29);
-}if(void 0===r&&0===q)throw new N.Ga(6);if(null===r||void 0===r)break;q++;k[h+p]=r}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.Ga(29);}n&&(g.node.timestamp=Date.now());return q}});return N.Qb(a,b,f)},Yb:a=>{if(a.ec||a.wd||a.link||a.Ja)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.Ja=Wa(ia(a.url),!0),a.Pa=a.Ja.length}catch(b){throw new N.Ga(29);}else throw Error("Cannot load without read() or XMLHttpRequest.");},wc:(a,b,c,d,f)=>{function g(){this.hc=!1;this.Wa=[]}function k(p,r,w,l,t){p=p.node.Ja;if(t>=p.length)return 0;l=Math.min(p.length-t,l);if(p.slice)for(var v=0;v<l;v++)r[w+v]=p[t+v];else for(v=0;v<l;v++)r[w+v]=p.get(t+v);return l}g.prototype.get=function(p){if(!(p>this.length-1||0>p)){var r=p%this.chunkSize;return this.Kb(p/this.chunkSize|0)[r]}};g.prototype.Ub=
-v.Wa;if(K>H)throw Error("invalid range ("+K+", "+H+") or no bytes requested!");if(H>r-1)throw Error("only "+r+" bytes available! programmer error!");var I=new XMLHttpRequest;I.open("GET",c,!1);r!==t&&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[B]=K}if("undefined"==typeof v.Wa[B])throw Error("doXHR failed!");return v.Wa[B]});if(p||!r)t=r=1,t=r=this.Kb(0).length,na("LazyFiles on gzip forces download of the whole file when length is accessed");this.Wc=r;this.Vc=t;this.hc=!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.hc||
+var O={lb:null,Va:function(){return O.createNode(null,"/",16895,0)},createNode:function(a,b,c,d){if(N.Ad(c)||N.isFIFO(c))throw new N.La(63);O.lb||(O.lb={dir:{node:{ib:O.Na.ib,Ya:O.Na.Ya,lookup:O.Na.lookup,nb:O.Na.nb,rename:O.Na.rename,unlink:O.Na.unlink,rmdir:O.Na.rmdir,readdir:O.Na.readdir,symlink:O.Na.symlink},stream:{ab:O.Pa.ab}},file:{node:{ib:O.Na.ib,Ya:O.Na.Ya},stream:{ab:O.Pa.ab,read:O.Pa.read,write:O.Pa.write,Hb:O.Pa.Hb,xb:O.Pa.xb,Eb:O.Pa.Eb}},link:{node:{ib:O.Na.ib,Ya:O.Na.Ya,readlink:O.Na.readlink},
+N.ub(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.bd=4096;b.blocks=Math.ceil(b.size/b.bd);return b},Ya:function(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);void 0!==b.size&&O.Od(a,b.size)},lookup:function(){throw N.ec[44];},nb:function(a,b,c,d){return O.createNode(a,b,c,d)},rename:function(a,b,c){if(N.Xa(a.mode)){try{var d=N.jb(b,c)}catch(g){}if(d)for(var f in d.Oa)throw new N.La(55);
+}delete a.parent.Oa[a.name];a.parent.timestamp=Date.now();a.name=c;b.Oa[c]=a;b.timestamp=a.parent.timestamp;a.parent=b},unlink:function(a,b){delete a.Oa[b];a.timestamp=Date.now()},rmdir:function(a,b){var c=N.jb(a,b),d;for(d in c.Oa)throw new N.La(55);delete a.Oa[b];a.timestamp=Date.now()},readdir:function(a){var b=[".",".."],c;for(c in a.Oa)a.Oa.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.ub(a.mode))throw new N.La(28);
+d);if(a.Oa.subarray&&b.subarray)a.Oa.set(b.subarray(c,c+d),f);else for(g=0;g<d;g++)a.Oa[f+g]=b[c+g];a.Ua=Math.max(a.Ua,f+d);return d},ab:function(a,b,c){1===c?b+=a.position:2===c&&N.isFile(a.node.mode)&&(b+=a.node.Ua);if(0>b)throw new N.La(28);return b},Hb:function(a,b,c){O.Jc(a.node,b+c);a.node.Ua=Math.max(a.node.Ua,b+c)},xb:function(a,b,c,d,f){if(!N.isFile(a.node.mode))throw new N.La(43);a=a.node.Oa;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.La(48);B.set(a,b)}else c=!1,b=a.byteOffset;return{Ra:b,yc:c}},Eb:function(a,b,c,d,f){if(!N.isFile(a.node.mode))throw new N.La(43);if(f&2)return 0;O.Pa.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,Lb:[],Hc:{},streams:[],Gd:1,kb:null,Fc:"/",ic:!1,Qc:!0,La:null,ec:{},rd:null,Xb:0,Ta:(a,b={})=>{a=Ua(N.cwd(),a);if(!a)return{path:"",node:null};b=Object.assign({cc:!0,sc:0},b);if(8<b.sc)throw new N.La(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.jb(c,a[f]);d=L(d+"/"+a[f]);N.vb(c)&&(!g||g&&b.cc)&&(c=c.Kb.root);if(!g||b.cb)for(g=0;N.ub(c.mode);)if(c=N.readlink(d),d=Ua(Ra(d),c),c=N.Ta(d,{sc:b.sc+1}).node,
+40<g++)throw new N.La(32);}return{path:d,node:c}},pb:a=>{for(var b;;){if(N.Tb(a))return a=a.Va.Rc,b?"/"!==a[a.length-1]?a+"/"+b:a+b:a;b=b?a.name+"/"+b:a.name;a=a.parent}},hc:(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.kb.length},Oc:a=>{var b=N.hc(a.parent.id,a.name);a.yb=N.kb[b];N.kb[b]=a},Pc:a=>{var b=N.hc(a.parent.id,a.name);if(N.kb[b]===a)N.kb[b]=a.yb;else for(b=N.kb[b];b;){if(b.yb===a){b.yb=a.yb;break}b=b.yb}},jb:(a,b)=>{var c=N.Dd(a);if(c)throw new N.La(c,
+f.length&&c(null)}"function"==typeof a&&(b=a,a=!1);N.Xb++;1<N.Xb&&r("warning: "+N.Xb+" FS.syncfs operations in flight at once, probably just doing extra work");var f=N.Mc(N.root.Va),g=0;f.forEach(k=>{if(!k.type.Tc)return d(null);k.type.Tc(k,a,d)})},Va:(a,b,c)=>{var d="/"===c,f=!c;if(d&&N.root)throw new N.La(10);if(!d&&!f){var g=N.Ta(c,{cc:!1});c=g.path;g=g.node;if(N.vb(g))throw new N.La(10);if(!N.Xa(g.mode))throw new N.La(54);}b={type:a,ie:b,Rc:c,Lb:[]};a=a.Va(b);a.Va=b;b.root=a;d?N.root=a:g&&(g.Kb=
+b,g.Va&&g.Va.Lb.push(b));return a},me:a=>{a=N.Ta(a,{cc:!1});if(!N.vb(a.node))throw new N.La(28);a=a.node;var b=a.Kb,c=N.Mc(b);Object.keys(N.kb).forEach(d=>{for(d=N.kb[d];d;){var f=d.yb;c.includes(d.Va)&&N.bc(d);d=f}});a.Kb=null;a.Va.Lb.splice(a.Va.Lb.indexOf(b),1)},lookup:(a,b)=>a.Na.lookup(a,b),nb:(a,b,c)=>{var d=N.Ta(a,{parent:!0}).node;a=M(a);if(!a||"."===a||".."===a)throw new N.La(28);var f=N.oc(d,a);if(f)throw new N.La(f);if(!d.Na.nb)throw new N.La(63);return d.Na.nb(d,a,b,c)},create:(a,b)=>
+N.nb(a,(void 0!==b?b:438)&4095|32768,0),mkdir:(a,b)=>N.nb(a,(void 0!==b?b:511)&1023|16384,0),fe:(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.Qa)throw f;}}},Wb:(a,b,c)=>{"undefined"==typeof c&&(c=b,b=438);return N.nb(a,b|8192,c)},symlink:(a,b)=>{if(!Ua(a))throw new N.La(44);var c=N.Ta(b,{parent:!0}).node;if(!c)throw new N.La(44);b=M(b);var d=N.oc(c,b);if(d)throw new N.La(d);if(!c.Na.symlink)throw new N.La(63);return c.Na.symlink(c,b,
+a)},rename:(a,b)=>{var c=Ra(a),d=Ra(b),f=M(a),g=M(b);var k=N.Ta(a,{parent:!0});var h=k.node;k=N.Ta(b,{parent:!0});k=k.node;if(!h||!k)throw new N.La(44);if(h.Va!==k.Va)throw new N.La(75);var n=N.jb(h,f);a=Va(a,d);if("."!==a.charAt(0))throw new N.La(28);a=Va(b,c);if("."!==a.charAt(0))throw new N.La(55);try{var q=N.jb(k,g)}catch(p){}if(n!==q){b=N.Xa(n.mode);if(f=N.Vb(h,f,b))throw new N.La(f);if(f=q?N.Vb(k,g,b):N.oc(k,g))throw new N.La(f);if(!h.Na.rename)throw new N.La(63);if(N.vb(n)||q&&N.vb(q))throw new N.La(10);
+if(k!==h&&(f=N.rb(h,"w")))throw new N.La(f);N.Pc(n);try{h.Na.rename(n,k,g)}catch(p){throw p;}finally{N.Oc(n)}}},rmdir:a=>{var b=N.Ta(a,{parent:!0}).node;a=M(a);var c=N.jb(b,a),d=N.Vb(b,a,!0);if(d)throw new N.La(d);if(!b.Na.rmdir)throw new N.La(63);if(N.vb(c))throw new N.La(10);b.Na.rmdir(b,a);N.bc(c)},readdir:a=>{a=N.Ta(a,{cb:!0}).node;if(!a.Na.readdir)throw new N.La(54);return a.Na.readdir(a)},unlink:a=>{var b=N.Ta(a,{parent:!0}).node;if(!b)throw new N.La(44);a=M(a);var c=N.jb(b,a),d=N.Vb(b,a,!1);
+if(d)throw new N.La(d);if(!b.Na.unlink)throw new N.La(63);if(N.vb(c))throw new N.La(10);b.Na.unlink(b,a);N.bc(c)},readlink:a=>{a=N.Ta(a).node;if(!a)throw new N.La(44);if(!a.Na.readlink)throw new N.La(28);return Ua(N.pb(a.parent),a.Na.readlink(a))},stat:(a,b)=>{a=N.Ta(a,{cb:!b}).node;if(!a)throw new N.La(44);if(!a.Na.ib)throw new N.La(63);return a.Na.ib(a)},lstat:a=>N.stat(a,!0),chmod:(a,b,c)=>{a="string"==typeof a?N.Ta(a,{cb:!c}).node:a;if(!a.Na.Ya)throw new N.La(63);a.Na.Ya(a,{mode:b&4095|a.mode&
+-4096,timestamp:Date.now()})},lchmod:(a,b)=>{N.chmod(a,b,!0)},fchmod:(a,b)=>{a=N.qb(a);if(!a)throw new N.La(8);N.chmod(a.node,b)},chown:(a,b,c,d)=>{a="string"==typeof a?N.Ta(a,{cb:!d}).node:a;if(!a.Na.Ya)throw new N.La(63);a.Na.Ya(a,{timestamp:Date.now()})},lchown:(a,b,c)=>{N.chown(a,b,c,!0)},fchown:(a,b,c)=>{a=N.qb(a);if(!a)throw new N.La(8);N.chown(a.node,b,c)},truncate:(a,b)=>{if(0>b)throw new N.La(28);a="string"==typeof a?N.Ta(a,{cb:!0}).node:a;if(!a.Na.Ya)throw new N.La(63);if(N.Xa(a.mode))throw new N.La(31);
+if(!N.isFile(a.mode))throw new N.La(28);var c=N.rb(a,"w");if(c)throw new N.La(c);a.Na.Ya(a,{size:b,timestamp:Date.now()})},td:(a,b)=>{a=N.qb(a);if(!a)throw new N.La(8);if(0===(a.flags&2097155))throw new N.La(28);N.truncate(a.node,b)},$d:(a,b,c)=>{a=N.Ta(a,{cb:!0}).node;a.Na.Ya(a,{timestamp:Math.max(b,c)})},open:(a,b,c)=>{if(""===a)throw new N.La(44);b="string"==typeof b?N.Fd(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.Ta(a,{cb:!(b&131072)}).node}catch(g){}}var f=
+!1;if(b&64)if(d){if(b&128)throw new N.La(20);}else d=N.nb(a,c,0),f=!0;if(!d)throw new N.La(44);N.Ib(d.mode)&&(b&=-513);if(b&65536&&!N.Xa(d.mode))throw new N.La(54);if(!f&&(c=N.Ed(d,b)))throw new N.La(c);b&512&&!f&&N.truncate(d,0);b&=-131713;d=N.Ec({node:d,path:N.pb(d),flags:b,seekable:!0,position:0,Pa:d.Pa,Zd:[],error:!1});d.Pa.open&&d.Pa.open(d);!e.logReadFiles||b&1||(N.rc||(N.rc={}),a in N.rc||(N.rc[a]=1));return d},close:a=>{if(N.Jb(a))throw new N.La(8);a.tb&&(a.tb=null);try{a.Pa.close&&a.Pa.close(a)}catch(b){throw b;
+}finally{N.gd(a.fd)}a.fd=null},Jb:a=>null===a.fd,ab:(a,b,c)=>{if(N.Jb(a))throw new N.La(8);if(!a.seekable||!a.Pa.ab)throw new N.La(70);if(0!=c&&1!=c&&2!=c)throw new N.La(28);a.position=a.Pa.ab(a,b,c);a.Zd=[];return a.position},read:(a,b,c,d,f)=>{if(0>d||0>f)throw new N.La(28);if(N.Jb(a))throw new N.La(8);if(1===(a.flags&2097155))throw new N.La(8);if(N.Xa(a.node.mode))throw new N.La(31);if(!a.Pa.read)throw new N.La(28);var g="undefined"!=typeof f;if(!g)f=a.position;else if(!a.seekable)throw new N.La(70);
+b=a.Pa.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.La(28);if(N.Jb(a))throw new N.La(8);if(0===(a.flags&2097155))throw new N.La(8);if(N.Xa(a.node.mode))throw new N.La(31);if(!a.Pa.write)throw new N.La(28);a.seekable&&a.flags&1024&&N.ab(a,0,2);var k="undefined"!=typeof f;if(!k)f=a.position;else if(!a.seekable)throw new N.La(70);b=a.Pa.write(a,b,c,d,f,g);k||(a.position+=b);return b},Hb:(a,b,c)=>{if(N.Jb(a))throw new N.La(8);if(0>b||0>=c)throw new N.La(28);
+if(0===(a.flags&2097155))throw new N.La(8);if(!N.isFile(a.node.mode)&&!N.Xa(a.node.mode))throw new N.La(43);if(!a.Pa.Hb)throw new N.La(138);a.Pa.Hb(a,b,c)},xb:(a,b,c,d,f)=>{if(0!==(d&2)&&0===(f&2)&&2!==(a.flags&2097155))throw new N.La(2);if(1===(a.flags&2097155))throw new N.La(2);if(!a.Pa.xb)throw new N.La(43);return a.Pa.xb(a,b,c,d,f)},Eb:(a,b,c,d,f)=>a&&a.Pa.Eb?a.Pa.Eb(a,b,c,d,f):0,ge:()=>0,jc:(a,b,c)=>{if(!a.Pa.jc)throw new N.La(59);return a.Pa.jc(a,b,c)},readFile:(a,b={})=>{b.flags=b.flags||0;
+b,0,b.byteLength,void 0,c.dd);else throw Error("Unsupported data type");N.close(a)},cwd:()=>N.Fc,chdir:a=>{a=N.Ta(a,{cb:!0});if(null===a.node)throw new N.La(44);if(!N.Xa(a.node.mode))throw new N.La(54);var b=N.rb(a.node,"x");if(b)throw new N.La(b);N.Fc=a.path},kd:()=>{N.mkdir("/tmp");N.mkdir("/home");N.mkdir("/home/web_user")},jd:()=>{N.mkdir("/dev");N.uc(N.wb(1,3),{read:()=>0,write:(b,c,d,f)=>f});N.Wb("/dev/null",N.wb(1,3));Ya(N.wb(5,0),$a);Ya(N.wb(6,0),ab);N.Wb("/dev/tty",N.wb(5,0));N.Wb("/dev/tty1",
+N.wb(6,0));var a=Ta();N.gb("/dev","random",a);N.gb("/dev","urandom",a);N.mkdir("/dev/shm");N.mkdir("/dev/shm/tmp")},md:()=>{N.mkdir("/proc");var a=N.mkdir("/proc/self");N.mkdir("/proc/self/fd");N.Va({Va:()=>{var b=N.createNode(a,"fd",16895,73);b.Na={lookup:(c,d)=>{var f=N.qb(+d);if(!f)throw new N.La(8);c={parent:null,Va:{Rc:"fake"},Na:{readlink:()=>f.path}};return c.parent=c}};return b}},{},"/proc/self/fd")},nd:()=>{e.stdin?N.gb("/dev","stdin",e.stdin):N.symlink("/dev/tty","/dev/stdin");e.stdout?
+N.gb("/dev","stdout",null,e.stdout):N.symlink("/dev/tty","/dev/stdout");e.stderr?N.gb("/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)},Ic:()=>{N.La||(N.La=function(a,b){this.node=b;this.Pd=function(c){this.Qa=c};this.Pd(a);this.message="FS error"},N.La.prototype=Error(),N.La.prototype.constructor=N.La,[44].forEach(a=>{N.ec[a]=new N.La(a);N.ec[a].stack="<generic error, no stack>"}))},Ud:()=>{N.Ic();N.kb=Array(4096);
+L(a+"/"+b):a);a=N.fc(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},gb:(a,b,c,d)=>{a=Sa("string"==typeof a?a:N.pb(a),b);b=N.fc(!!c,!!d);N.gb.nc||(N.gb.nc=64);var f=N.wb(N.gb.nc++,0);N.uc(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.La(29);
+}if(void 0===t&&0===q)throw new N.La(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.La(29);}n&&(g.node.timestamp=Date.now());return q}});return N.Wb(a,b,f)},dc:a=>{if(a.kc||a.Bd||a.link||a.Oa)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.Oa=Wa(ia(a.url),!0),a.Ua=a.Oa.length}catch(b){throw new N.La(29);}else throw Error("Cannot load without read() or XMLHttpRequest.");},Bc:(a,b,c,d,f)=>{function g(){this.mc=!1;this.bb=[]}function k(p,t,x,l,u){p=p.node.Oa;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.Rb(p/this.chunkSize|0)[t]}};g.prototype.$b=
+w.bb;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.bb[C])throw Error("doXHR failed!");return w.bb[C]});if(p||!t)u=t=1,u=t=this.Rb(0).length,na("LazyFiles on gzip forces download of the whole file when length is accessed");this.ad=t;this.$c=u;this.mc=!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.mc||
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.ud)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.Ha.Ra.Na.name+" instance already deleted")}var zb=!1;function Ab(){}
-function Bb(a){--a.count.value;0===a.count.value&&(a.Va?a.Ya.jb(a.Va):a.Ra.Na.jb(a.La))}function Cb(a,b,c){if(b===c)return a;if(void 0===c.Za)return null;a=Cb(a,b,c.Za);return null===a?null:c.jd(a)}var Db={},Eb=[];function Fb(){for(;Eb.length;){var a=Eb.pop();a.Ha.ub=!1;a["delete"]()}}var Gb=void 0,Hb={};function Ib(a,b){for(void 0===b&&T("ptr should not be undefined");a.Za;)b=a.Gb(b),a=a.Za;return Hb[b]}
-function Jb(a,b){b.Ra&&b.La||tb("makeClassHandle requires ptr and ptrType");!!b.Ya!==!!b.Va&&tb("Both smartPtrType and smartPtr must be specified");b.count={value:1};return Kb(Object.create(a,{Ha:{value:b}}))}function Kb(a){if("undefined"===typeof FinalizationRegistry)return Kb=b=>b,a;zb=new FinalizationRegistry(b=>{Bb(b.Ha)});Kb=b=>{var c=b.Ha;c.Va&&zb.register(b,{Ha:c},b);return b};Ab=b=>{zb.unregister(b)};return Kb(a)}function U(){}
-function Lb(a,b,c){if(void 0===a[b].Ua){var d=a[b];a[b]=function(){a[b].Ua.hasOwnProperty(arguments.length)||T("Function '"+c+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+a[b].Ua+")!");return a[b].Ua[arguments.length].apply(this,arguments)};a[b].Ua=[];a[b].Ua[d.Ib]=d}}
-function Mb(a,b,c){e.hasOwnProperty(a)?((void 0===c||void 0!==e[a].Ua&&void 0!==e[a].Ua[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].Ua[c]=b):(e[a]=b,void 0!==c&&(e[a].ce=c))}function Nb(a,b,c,d,f,g,k,h){this.name=a;this.constructor=b;this.wb=c;this.jb=d;this.Za=f;this.pd=g;this.Gb=k;this.jd=h;this.Hd=[]}
-function Ob(a,b,c){for(;b!==c;)b.Gb||T("Expected null or instance of "+c.name+", got an instance of "+b.name),a=b.Gb(a),b=b.Za;return a}function Pb(a,b){if(null===b)return this.fc&&T("null is not a valid "+this.name),0;b.Ha||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Ha.La||T("Cannot pass deleted object as a pointer of type "+this.name);return Ob(b.Ha.La,b.Ha.Ra.Na,this.Na)}
-function Rb(a,b){if(null===b){this.fc&&T("null is not a valid "+this.name);if(this.Ob){var c=this.lc();null!==a&&a.push(this.jb,c);return c}return 0}b.Ha||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Ha.La||T("Cannot pass deleted object as a pointer of type "+this.name);!this.Mb&&b.Ha.Ra.Mb&&T("Cannot convert argument of type "+(b.Ha.Ya?b.Ha.Ya.name:b.Ha.Ra.name)+" to parameter type "+this.name);c=Ob(b.Ha.La,b.Ha.Ra.Na,this.Na);if(this.Ob)switch(void 0===b.Ha.Va&&T("Passing raw pointer to smart pointer is illegal"),
-this.Od){case 0:b.Ha.Ya===this?c=b.Ha.Va:T("Cannot convert argument of type "+(b.Ha.Ya?b.Ha.Ya.name:b.Ha.Ra.name)+" to parameter type "+this.name);break;case 1:c=b.Ha.Va;break;case 2:if(b.Ha.Ya===this)c=b.Ha.Va;else{var d=b.clone();c=this.Id(c,Sb(function(){d["delete"]()}));null!==a&&a.push(this.jb,c)}break;default:T("Unsupporting sharing policy")}return c}
-function Tb(a,b){if(null===b)return this.fc&&T("null is not a valid "+this.name),0;b.Ha||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Ha.La||T("Cannot pass deleted object as a pointer of type "+this.name);b.Ha.Ra.Mb&&T("Cannot convert argument of type "+b.Ha.Ra.name+" to parameter type "+this.name);return Ob(b.Ha.La,b.Ha.Ra.Na,this.Na)}
-function V(a,b,c,d){this.name=a;this.Na=b;this.fc=c;this.Mb=d;this.Ob=!1;this.jb=this.Id=this.lc=this.Nc=this.Od=this.Gd=void 0;void 0!==b.Za?this.toWireType=Rb:(this.toWireType=d?Pb:Tb,this.ab=null)}function Ub(a,b,c){e.hasOwnProperty(a)||tb("Replacing nonexistant public symbol");void 0!==e[a].Ua&&void 0!==c?e[a].Ua[c]=b:(e[a]=b,e[a].Ib=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.zd)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.Ma.Wa.Sa.name+" instance already deleted")}var zb=!1;function Ab(){}
+function Bb(a){--a.count.value;0===a.count.value&&(a.$a?a.eb.ob(a.$a):a.Wa.Sa.ob(a.Ra))}function Cb(a,b,c){if(b===c)return a;if(void 0===c.fb)return null;a=Cb(a,b,c.fb);return null===a?null:c.od(a)}var Db={},Eb=[];function Fb(){for(;Eb.length;){var a=Eb.pop();a.Ma.Bb=!1;a["delete"]()}}var Gb=void 0,Hb={};function Ib(a,b){for(void 0===b&&T("ptr should not be undefined");a.fb;)b=a.Nb(b),a=a.fb;return Hb[b]}
+function Jb(a,b){b.Wa&&b.Ra||tb("makeClassHandle requires ptr and ptrType");!!b.eb!==!!b.$a&&tb("Both smartPtrType and smartPtr must be specified");b.count={value:1};return Kb(Object.create(a,{Ma:{value:b}}))}function Kb(a){if("undefined"===typeof FinalizationRegistry)return Kb=b=>b,a;zb=new FinalizationRegistry(b=>{Bb(b.Ma)});Kb=b=>{var c=b.Ma;c.$a&&zb.register(b,{Ma:c},b);return b};Ab=b=>{zb.unregister(b)};return Kb(a)}function U(){}
+function Lb(a,b,c){if(void 0===a[b].Za){var d=a[b];a[b]=function(){a[b].Za.hasOwnProperty(arguments.length)||T("Function '"+c+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+a[b].Za+")!");return a[b].Za[arguments.length].apply(this,arguments)};a[b].Za=[];a[b].Za[d.Pb]=d}}
+function Mb(a,b,c){e.hasOwnProperty(a)?((void 0===c||void 0!==e[a].Za&&void 0!==e[a].Za[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].Za[c]=b):(e[a]=b,void 0!==c&&(e[a].he=c))}function Nb(a,b,c,d,f,g,k,h){this.name=a;this.constructor=b;this.Db=c;this.ob=d;this.fb=f;this.ud=g;this.Nb=k;this.od=h;this.Md=[]}
+function Ob(a,b,c){for(;b!==c;)b.Nb||T("Expected null or instance of "+c.name+", got an instance of "+b.name),a=b.Nb(a),b=b.fb;return a}function Pb(a,b){if(null===b)return this.lc&&T("null is not a valid "+this.name),0;b.Ma||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Ma.Ra||T("Cannot pass deleted object as a pointer of type "+this.name);return Ob(b.Ma.Ra,b.Ma.Wa.Sa,this.Sa)}
+function Rb(a,b){if(null===b){this.lc&&T("null is not a valid "+this.name);if(this.Ub){var c=this.qc();null!==a&&a.push(this.ob,c);return c}return 0}b.Ma||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Ma.Ra||T("Cannot pass deleted object as a pointer of type "+this.name);!this.Sb&&b.Ma.Wa.Sb&&T("Cannot convert argument of type "+(b.Ma.eb?b.Ma.eb.name:b.Ma.Wa.name)+" to parameter type "+this.name);c=Ob(b.Ma.Ra,b.Ma.Wa.Sa,this.Sa);if(this.Ub)switch(void 0===b.Ma.$a&&T("Passing raw pointer to smart pointer is illegal"),
+this.Td){case 0:b.Ma.eb===this?c=b.Ma.$a:T("Cannot convert argument of type "+(b.Ma.eb?b.Ma.eb.name:b.Ma.Wa.name)+" to parameter type "+this.name);break;case 1:c=b.Ma.$a;break;case 2:if(b.Ma.eb===this)c=b.Ma.$a;else{var d=b.clone();c=this.Nd(c,Sb(function(){d["delete"]()}));null!==a&&a.push(this.ob,c)}break;default:T("Unsupporting sharing policy")}return c}
+function Tb(a,b){if(null===b)return this.lc&&T("null is not a valid "+this.name),0;b.Ma||T('Cannot pass "'+Qb(b)+'" as a '+this.name);b.Ma.Ra||T("Cannot pass deleted object as a pointer of type "+this.name);b.Ma.Wa.Sb&&T("Cannot convert argument of type "+b.Ma.Wa.name+" to parameter type "+this.name);return Ob(b.Ma.Ra,b.Ma.Wa.Sa,this.Sa)}
+function V(a,b,c,d){this.name=a;this.Sa=b;this.lc=c;this.Sb=d;this.Ub=!1;this.ob=this.Nd=this.qc=this.Sc=this.Td=this.Ld=void 0;void 0!==b.fb?this.toWireType=Rb:(this.toWireType=d?Pb:Tb,this.hb=null)}function Ub(a,b,c){e.hasOwnProperty(a)||tb("Replacing nonexistant public symbol");void 0!==e[a].Za&&void 0!==c?e[a].Za[c]=b:(e[a]=b,e[a].Pb=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].ab){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].hb){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 r="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),w="January February March April May June July August September October November December".split(" ");q={"%a":function(l){return r[l.gb].substring(0,3)},"%A":function(l){return r[l.gb]},"%b":function(l){return w[l.Tb].substring(0,3)},"%B":function(l){return w[l.Tb]},
-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 r=c();for(p in h)h[p].write(r,q[p]);null!==n&&n.push(d,r);return r},argPackAdvance:8,readValueFromPointer:lb,ab:d}]})},C:function(){},ca: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=A;else if(2===c)h=C;else if(4===c)h=D;else throw new TypeError("Unknown boolean type size: "+b);return this.fromWireType(h[k>>g])},ab:null})},F:function(a,b,c,d,f,g,k,h,n,q,p,r,w){p=S(p);g=W(f,g);h&&(h=W(k,h));q&&(q=W(n,q));w=W(r,w);var l=pb(p);Mb(l,function(){Zb("Cannot construct "+p+" due to unbound types",[d])});ub([a,b,c],d?[d]:[],function(t){t=t[0];if(d){var v=t.Na;var B=v.wb}else B=U.prototype;t=qb(l,function(){if(Object.getPrototypeOf(this)!==K)throw new xb("Use 'new' to construct "+
-p);if(void 0===H.nb)throw new xb(p+" has no accessible constructor");var I=H.nb[arguments.length];if(void 0===I)throw new xb("Tried to invoke ctor of "+p+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(H.nb).toString()+") parameters instead!");return I.apply(this,arguments)});var K=Object.create(B,{constructor:{value:t}});t.prototype=K;var H=new Nb(p,t,K,w,v,g,h,q);v=new V(p,H,!0,!1);B=new V(p+"*",H,!1,!1);var Ga=new V(p+" const*",H,!1,!0);Db[a]={pointerType:B,
-bd:Ga};Ub(l,t);return[v,B,Ga]})},z:function(a,b,c,d,f,g){0<b||x();var k=$b(b,c);f=W(d,f);ub([],[a],function(h){h=h[0];var n="constructor "+h.name;void 0===h.Na.nb&&(h.Na.nb=[]);if(void 0!==h.Na.nb[b-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.Na.nb[b-1]=()=>{Zb("Cannot construct "+h.name+" due to unbound types",k)};
-ub([],k,function(q){q.splice(1,0,null);h.Na.nb[b-1]=bc(n,q,null,f,g);return[]});return[]})},d: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 "+r+" due to unbound types",n)}q=q[0];var r=q.name+"."+b;b.startsWith("@@")&&(b=Symbol[b.substring(2)]);h&&q.Na.Hd.push(b);var w=q.Na.wb,l=w[b];void 0===l||void 0===l.Ua&&l.className!==q.name&&l.Ib===c-2?(p.Ib=c-2,p.className=q.name,w[b]=p):(Lb(w,b,r),w[b].Ua[c-2]=p);ub([],n,function(t){t=bc(r,t,q,g,
-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[]})},g: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),ab:null})},c:function(a,b,c){function d(g){g>>=2;var k=E;return new f(va,k[g+1],k[g])}var f=[Int8Array,
-toWireType:function(d,f){f instanceof ArrayBuffer&&(f=new Uint8Array(f));var g="string"==typeof f;g||f instanceof Uint8Array||f instanceof Uint8ClampedArray||f instanceof Int8Array||T("Cannot pass non-string to std::string");var k=c&&g?ua(f):f.length;var h=wc(4+k+1),n=h+4;E[h>>2]=k;if(c&&g)ta(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,ab:function(d){X(d)}})},n:function(a,b,c){c=S(c);if(2===b){var d=ic;var f=jc;var g=kc;var k=()=>wa;var h=1}else 4===b&&(d=lc,f=mc,g=nc,k=()=>E,h=2);R(a,{name:c,fromWireType:function(n){for(var q=E[n>>2],p=k(),r,w=n+4,l=0;l<=q;++l){var t=n+4+l*b;if(l==q||0==p[t>>h])w=d(w,t-w),void 0===r?r=w:(r+=String.fromCharCode(0),r+=w),w=t+b}X(n);return r},toWireType:function(n,q){"string"!=typeof q&&T("Cannot pass non-string to C++ string type "+c);var p=g(q),r=wc(4+p+
+"%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.mb].substring(0,3)},"%A":function(l){return t[l.mb]},"%b":function(l){return x[l.Zb].substring(0,3)},"%B":function(l){return x[l.Zb]},
+h:function(a){var b=jb[a];delete jb[a];var c=b.qc,d=b.ob,f=b.Kc,g=f.map(k=>k.yd).concat(f.map(k=>k.Rd));ub([a],g,k=>{var h={};f.forEach((n,q)=>{var p=k[q],t=n.Rb,x=n.xd,l=k[q+f.length],u=n.Qd,w=n.Sd;h[n.qd]={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,hb:d}]})},A:function(){},ea: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])},hb:null})},G: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.Sa;var C=w.Db}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.sb)throw new xb(p+" has no accessible constructor");var I=H.sb[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.Sa.sb[b-1]=()=>{Zb("Cannot construct "+h.name+" due to unbound types",k)};ub([],k,function(q){q.splice(1,0,null);h.Sa.sb[b-1]=bc(n,q,null,f,g);return[]});return[]})},d: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.Sa.Md.push(b);var x=q.Sa.Db,l=x[b];void 0===l||void 0===l.Za&&l.className!==q.name&&l.Pb===c-2?(p.Pb=c-2,p.className=q.name,x[b]=p):(Lb(x,b,t),x[b].Za[c-2]=p);ub([],n,function(u){u=bc(t,u,q,g,k);void 0===x[b].Za?(u.Pb=c-2,x[b]=u):x[b].Za[c-2]=u;return[]});return[]})},da: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,hb:null})},t: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),hb:null})},ga: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[]})},g: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),hb:null})},c: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},{zd:!0})},u: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,hb:function(d){X(d)}})},o: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,hb:function(n){X(n)}})},i:function(a,b,c,d,f,g){jb[a]={name:S(b),qc:W(c,d),ob:W(f,g),Kc:[]}},f:function(a,b,c,d,f,g,k,h,n,q){jb[a].Kc.push({qd:S(b),