@aduh95/viz.js
Advanced tools
Comparing version 3.5.0 to 3.6.0
# Changelog | ||
### @aduh95/Viz.js v3.6.0 (2022-05-07) | ||
- Upgrade Emscripten version to | ||
[3.1.10](https://github.com/emscripten-core/emscripten/blob/main/ChangeLog.md#3110---05022022). | ||
- Bump Expat version to | ||
[2.4.8](https://github.com/libexpat/libexpat/blob/R_2_4_8/expat/Changes). | ||
- Upgrade Graphviz version to | ||
[3.0.0](https://gitlab.com/graphviz/graphviz/-/blob/main/CHANGELOG.md#300-2022-02-26). | ||
### @aduh95/Viz.js v3.5.0 (2021-07-06) | ||
@@ -4,0 +13,0 @@ |
/** | ||
* Viz.js 3.5.0 (Graphviz 2.47.3, Expat 2.4.1, Emscripten 2.0.25) | ||
* Viz.js 3.6.0 (Graphviz 3.0.0, Expat 2.4.8, Emscripten 3.1.10) | ||
* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT licensed | ||
@@ -10,2 +10,2 @@ * | ||
*/ | ||
var n=function(n){var t,e,r;n=n||{},t||(t=void 0!==n?n:{}),t.ready=new Promise((function(n,t){e=n,r=t}));var a,i={};for(a in t)t.hasOwnProperty(a)&&(i[a]=t[a]);var o="./this.program";function u(n,t){throw t}var f,c="";c=0!==(c=self.location.href).indexOf("blob:")?c.substr(0,c.lastIndexOf("/")+1):"",f=function(n){var t=new XMLHttpRequest;return t.open("GET",n,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)};var s=t.print||console.log.bind(console),l=t.printErr||console.warn.bind(console);for(a in i)i.hasOwnProperty(a)&&(t[a]=i[a]);i=null,t.thisProgram&&(o=t.thisProgram),t.quit&&(u=t.quit);var h,d=0;t.wasmBinary&&(h=t.wasmBinary);var p=t.noExitRuntime||!0;"object"!=typeof WebAssembly&&G("no native wasm support detected");var v,w=!1,m="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function y(n,t,e){var r=t+e;for(e=t;n[e]&&!(e>=r);)++e;if(16<e-t&&n.subarray&&m)return m.decode(n.subarray(t,e));for(r="";t<e;){var a=n[t++];if(128&a){var i=63&n[t++];if(192==(224&a))r+=String.fromCharCode((31&a)<<6|i);else{var o=63&n[t++];65536>(a=224==(240&a)?(15&a)<<12|i<<6|o:(7&a)<<18|i<<12|o<<6|63&n[t++])?r+=String.fromCharCode(a):(a-=65536,r+=String.fromCharCode(55296|a>>10,56320|1023&a))}}else r+=String.fromCharCode(a)}return r}function g(n,t){return n?y(_,n,t):""}function b(n,t,e,r){if(!(0<r))return 0;var a=e;r=e+r-1;for(var i=0;i<n.length;++i){var o=n.charCodeAt(i);if(55296<=o&&57343>=o&&(o=65536+((1023&o)<<10)|1023&n.charCodeAt(++i)),127>=o){if(e>=r)break;t[e++]=o}else{if(2047>=o){if(e+1>=r)break;t[e++]=192|o>>6}else{if(65535>=o){if(e+2>=r)break;t[e++]=224|o>>12}else{if(e+3>=r)break;t[e++]=240|o>>18,t[e++]=128|o>>12&63}t[e++]=128|o>>6&63}t[e++]=128|63&o}}return t[e]=0,e-a}function k(n){for(var t=0,e=0;e<n.length;++e){var r=n.charCodeAt(e);55296<=r&&57343>=r&&(r=65536+((1023&r)<<10)|1023&n.charCodeAt(++e)),127>=r?++t:t=2047>=r?t+2:65535>=r?t+3:t+4}return t}var A,D,_,j,C,E,F,T,M,S="undefined"==typeof TextDecoder&&void 0;function P(n,t){for(var e=n>>1,r=e+t/2;!(e>=r)&&C[e];)++e;if(32<(e<<=1)-n&&S)return S.decode(_.subarray(n,e));for(e="",r=0;!(r>=t/2);++r){var a=j[n+2*r>>1];if(0==a)break;e+=String.fromCharCode(a)}return e}function W(n,t,e){if(void 0===e&&(e=2147483647),2>e)return 0;var r=t;e=(e-=2)<2*n.length?e/2:n.length;for(var a=0;a<e;++a)j[t>>1]=n.charCodeAt(a),t+=2;return j[t>>1]=0,t-r}function x(n){return 2*n.length}function O(n,t){for(var e=0,r="";!(e>=t/4);){var a=E[n+4*e>>2];if(0==a)break;++e,65536<=a?(a-=65536,r+=String.fromCharCode(55296|a>>10,56320|1023&a)):r+=String.fromCharCode(a)}return r}function R(n,t,e){if(void 0===e&&(e=2147483647),4>e)return 0;var r=t;e=r+e-4;for(var a=0;a<n.length;++a){var i=n.charCodeAt(a);if(55296<=i&&57343>=i&&(i=65536+((1023&i)<<10)|1023&n.charCodeAt(++a)),E[t>>2]=i,(t+=4)+4>e)break}return E[t>>2]=0,t-r}function U(n){for(var t=0,e=0;e<n.length;++e){var r=n.charCodeAt(e);55296<=r&&57343>=r&&++e,t+=4}return t}function I(){var n=v.buffer;A=n,t.HEAP8=D=new Int8Array(n),t.HEAP16=j=new Int16Array(n),t.HEAP32=E=new Int32Array(n),t.HEAPU8=_=new Uint8Array(n),t.HEAPU16=C=new Uint16Array(n),t.HEAPU32=F=new Uint32Array(n),t.HEAPF32=T=new Float32Array(n),t.HEAPF64=M=new Float64Array(n)}var z,Y=[],H=[],N=[];function B(){var n=t.preRun.shift();Y.unshift(n)}var q,V=0,L=null;function G(n){throw t.onAbort&&t.onAbort(n),l(n),w=!0,n=new WebAssembly.RuntimeError("abort("+n+"). Build with -s ASSERTIONS=1 for more info."),r(n),n}function J(){return q.startsWith("data:application/octet-stream;base64,")}if(t.preloadedImages={},t.preloadedAudios={},t.locateFile){if(q="render.wasm",!J()){var K=q;q=t.locateFile?t.locateFile(K,c):c+K}}else q=new URL("render.wasm",!1).toString();function X(){var n=q;try{if(n==q&&h)return new Uint8Array(h);if(f)return f(n);throw"both async and sync fetching of the wasm failed"}catch(n){G(n)}}var $,Z,Q,nn={149668:function(n,t){n=g(n),t=g(t);var e="/";e="string"==typeof e?e:Cn(e);for(var r=on(n).split("/").reverse();r.length;){var a=r.pop();if(a){e=an(e+"/"+a);try{Yn(e)}catch(n){}}}n=function(){return an(Array.prototype.slice.call(arguments,0).join("/"))}("/",n);var i=i||{};if(i.flags=i.flags||577,n=qn(n,i.flags,i.mode),"string"==typeof t)Gn(n,r=new Uint8Array(k(t)+1),0,t=b(t,r,0,r.length),i.jb);else{if(!ArrayBuffer.isView(t))throw Error("Unsupported data type");Gn(n,t,0,t.byteLength,i.jb)}Vn(n)}};function tn(n){for(;0<n.length;){var e=n.shift();if("function"==typeof e)e(t);else{var r=e.Jb;"number"==typeof r?void 0===e.Ra?z.get(r)():z.get(r)(e.Ra):r(void 0===e.Ra?null:e.Ra)}}}function en(n){this.ya=n-16,this.Db=function(n){E[this.ya+4>>2]=n},this.Ab=function(n){E[this.ya+8>>2]=n},this.Bb=function(){E[this.ya>>2]=0},this.zb=function(){D[this.ya+12>>0]=0},this.Cb=function(){D[this.ya+13>>0]=0},this.ob=function(n,t){this.Db(n),this.Ab(t),this.Bb(),this.zb(),this.Cb()}}function rn(n,t){for(var e=0,r=n.length-1;0<=r;r--){var a=n[r];"."===a?n.splice(r,1):".."===a?(n.splice(r,1),e++):e&&(n.splice(r,1),e--)}if(t)for(;e;e--)n.unshift("..");return n}function an(n){var t="/"===n.charAt(0),e="/"===n.substr(-1);return(n=rn(n.split("/").filter((function(n){return!!n})),!t).join("/"))||t||(n="."),n&&e&&(n+="/"),(t?"/":"")+n}function on(n){var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(n).slice(1);return n=t[0],t=t[1],n||t?(t&&(t=t.substr(0,t.length-1)),n+t):"."}function un(n){if("/"===n)return"/";var t=(n=(n=an(n)).replace(/\/$/,"")).lastIndexOf("/");return-1===t?n:n.substr(t+1)}function fn(){for(var n="",t=!1,e=arguments.length-1;-1<=e&&!t;e--){if("string"!=typeof(t=0<=e?arguments[e]:"/"))throw new TypeError("Arguments to path.resolve must be strings");if(!t)return"";n=t+"/"+n,t="/"===t.charAt(0)}return(t?"/":"")+(n=rn(n.split("/").filter((function(n){return!!n})),!t).join("/"))||"."}Q=function(){return performance.now()};var cn=[];function sn(n,t){cn[n]={input:[],oa:[],Aa:t},Un(n,ln)}var ln={open:function(n){var t=cn[n.node.Ea];if(!t)throw new Dn(43);n.la=t,n.seekable=!1},close:function(n){n.la.Aa.flush(n.la)},flush:function(n){n.la.Aa.flush(n.la)},read:function(n,t,e,r){if(!n.la||!n.la.Aa.$a)throw new Dn(60);for(var a=0,i=0;i<r;i++){try{var o=n.la.Aa.$a(n.la)}catch(n){throw new Dn(29)}if(void 0===o&&0===a)throw new Dn(6);if(null==o)break;a++,t[e+i]=o}return a&&(n.node.timestamp=Date.now()),a},write:function(n,t,e,r){if(!n.la||!n.la.Aa.Ua)throw new Dn(60);try{for(var a=0;a<r;a++)n.la.Aa.Ua(n.la,t[e+a])}catch(n){throw new Dn(29)}return r&&(n.node.timestamp=Date.now()),a}},hn={$a:function(n){if(!n.input.length){var t=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?null!==(t=window.prompt("Input: "))&&(t+="\n"):"function"==typeof readline&&null!==(t=readline())&&(t+="\n"),!t)return null;n.input=Ht(t,!0)}return n.input.shift()},Ua:function(n,t){null===t||10===t?(s(y(n.oa,0)),n.oa=[]):0!=t&&n.oa.push(t)},flush:function(n){n.oa&&0<n.oa.length&&(s(y(n.oa,0)),n.oa=[])}},dn={Ua:function(n,t){null===t||10===t?(l(y(n.oa,0)),n.oa=[]):0!=t&&n.oa.push(t)},flush:function(n){n.oa&&0<n.oa.length&&(l(y(n.oa,0)),n.oa=[])}};function pn(n){n=65536*Math.ceil(n/65536);var t=$t(65536,n);return t?(_.fill(0,t,t+n),t):0}var vn={sa:null,va:function(){return vn.createNode(null,"/",16895,0)},createNode:function(n,t,e,r){if(24576==(61440&e)||4096==(61440&e))throw new Dn(63);return vn.sa||(vn.sa={dir:{node:{ra:vn.ia.ra,ua:vn.ia.ua,Ca:vn.ia.Ca,Ia:vn.ia.Ia,cb:vn.ia.cb,Pa:vn.ia.Pa,eb:vn.ia.eb,bb:vn.ia.bb,La:vn.ia.La},stream:{xa:vn.ja.xa}},file:{node:{ra:vn.ia.ra,ua:vn.ia.ua},stream:{xa:vn.ja.xa,read:vn.ja.read,write:vn.ja.write,Wa:vn.ja.Wa,Ja:vn.ja.Ja,Ka:vn.ja.Ka}},link:{node:{ra:vn.ia.ra,ua:vn.ia.ua,Fa:vn.ia.Fa},stream:{}},Xa:{node:{ra:vn.ia.ra,ua:vn.ia.ua},stream:Rn}}),16384==(61440&(e=Tn(n,t,e,r)).mode)?(e.ia=vn.sa.dir.node,e.ja=vn.sa.dir.stream,e.ka={}):32768==(61440&e.mode)?(e.ia=vn.sa.file.node,e.ja=vn.sa.file.stream,e.ma=0,e.ka=null):40960==(61440&e.mode)?(e.ia=vn.sa.link.node,e.ja=vn.sa.link.stream):8192==(61440&e.mode)&&(e.ia=vn.sa.Xa.node,e.ja=vn.sa.Xa.stream),e.timestamp=Date.now(),n&&(n.ka[t]=e,n.timestamp=e.timestamp),e},Kb:function(n){return n.ka?n.ka.subarray?n.ka.subarray(0,n.ma):new Uint8Array(n.ka):new Uint8Array(0)},Ya:function(n,t){var e=n.ka?n.ka.length:0;e>=t||(t=Math.max(t,e*(1048576>e?2:1.125)>>>0),0!=e&&(t=Math.max(t,256)),e=n.ka,n.ka=new Uint8Array(t),0<n.ma&&n.ka.set(e.subarray(0,n.ma),0))},xb:function(n,t){if(n.ma!=t)if(0==t)n.ka=null,n.ma=0;else{var e=n.ka;n.ka=new Uint8Array(t),e&&n.ka.set(e.subarray(0,Math.min(t,n.ma))),n.ma=t}},ia:{ra:function(n){var t={};return t.lb=8192==(61440&n.mode)?n.id:1,t.Ta=n.id,t.mode=n.mode,t.ub=1,t.uid=0,t.mb=0,t.Ea=n.Ea,16384==(61440&n.mode)?t.size=4096:32768==(61440&n.mode)?t.size=n.ma:40960==(61440&n.mode)?t.size=n.link.length:t.size=0,t.gb=new Date(n.timestamp),t.tb=new Date(n.timestamp),t.kb=new Date(n.timestamp),t.hb=4096,t.ib=Math.ceil(t.size/t.hb),t},ua:function(n,t){void 0!==t.mode&&(n.mode=t.mode),void 0!==t.timestamp&&(n.timestamp=t.timestamp),void 0!==t.size&&vn.xb(n,t.size)},Ca:function(){throw _n[44]},Ia:function(n,t,e,r){return vn.createNode(n,t,e,r)},cb:function(n,t,e){if(16384==(61440&n.mode)){try{var r=Fn(t,e)}catch(n){}if(r)for(var a in r.ka)throw new Dn(55)}delete n.parent.ka[n.name],n.parent.timestamp=Date.now(),n.name=e,t.ka[e]=n,t.timestamp=n.parent.timestamp,n.parent=t},Pa:function(n,t){delete n.ka[t],n.timestamp=Date.now()},eb:function(n,t){var e,r=Fn(n,t);for(e in r.ka)throw new Dn(55);delete n.ka[t],n.timestamp=Date.now()},bb:function(n){var t,e=[".",".."];for(t in n.ka)n.ka.hasOwnProperty(t)&&e.push(t);return e},La:function(n,t,e){return(n=vn.createNode(n,t,41471,0)).link=e,n},Fa:function(n){if(40960!=(61440&n.mode))throw new Dn(28);return n.link}},ja:{read:function(n,t,e,r,a){var i=n.node.ka;if(a>=n.node.ma)return 0;if(8<(n=Math.min(n.node.ma-a,r))&&i.subarray)t.set(i.subarray(a,a+n),e);else for(r=0;r<n;r++)t[e+r]=i[a+r];return n},write:function(n,t,e,r,a,i){if(t.buffer===D.buffer&&(i=!1),!r)return 0;if((n=n.node).timestamp=Date.now(),t.subarray&&(!n.ka||n.ka.subarray)){if(i)return n.ka=t.subarray(e,e+r),n.ma=r;if(0===n.ma&&0===a)return n.ka=t.slice(e,e+r),n.ma=r;if(a+r<=n.ma)return n.ka.set(t.subarray(e,e+r),a),r}if(vn.Ya(n,a+r),n.ka.subarray&&t.subarray)n.ka.set(t.subarray(e,e+r),a);else for(i=0;i<r;i++)n.ka[a+i]=t[e+i];return n.ma=Math.max(n.ma,a+r),r},xa:function(n,t,e){if(1===e?t+=n.position:2===e&&32768==(61440&n.node.mode)&&(t+=n.node.ma),0>t)throw new Dn(28);return t},Wa:function(n,t,e){vn.Ya(n.node,t+e),n.node.ma=Math.max(n.node.ma,t+e)},Ja:function(n,t,e,r,a,i){if(0!==t)throw new Dn(28);if(32768!=(61440&n.node.mode))throw new Dn(43);if(n=n.node.ka,2&i||n.buffer!==A){if((0<r||r+e<n.length)&&(n=n.subarray?n.subarray(r,r+e):Array.prototype.slice.call(n,r,r+e)),r=!0,!(e=pn(e)))throw new Dn(48);D.set(n,e)}else r=!1,e=n.byteOffset;return{ya:e,Qa:r}},Ka:function(n,t,e,r,a){if(32768!=(61440&n.node.mode))throw new Dn(43);return 2&a||vn.ja.write(n,t,0,r,e,!1),0}}},wn=null,mn={},yn=[],gn=1,bn=null,kn=!0,An={},Dn=null,_n={};function jn(n,t){if(t=t||{},!(n=fn("/",n)))return{path:"",node:null};var e,r={Za:!0,Va:0};for(e in r)void 0===t[e]&&(t[e]=r[e]);if(8<t.Va)throw new Dn(32);n=rn(n.split("/").filter((function(n){return!!n})),!1);var a=wn;for(r="/",e=0;e<n.length;e++){var i=e===n.length-1;if(i&&t.parent)break;if(a=Fn(a,n[e]),r=an(r+"/"+n[e]),a.Da&&(!i||i&&t.Za)&&(a=a.Da.root),!i||t.Ha)for(i=0;40960==(61440&a.mode);)if(a=Bn(r),a=jn(r=fn(on(r),a),{Va:t.Va}).node,40<i++)throw new Dn(32)}return{path:r,node:a}}function Cn(n){for(var t;;){if(n===n.parent)return n=n.va.ab,t?"/"!==n[n.length-1]?n+"/"+t:n+t:n;t=t?n.name+"/"+t:n.name,n=n.parent}}function En(n,t){for(var e=0,r=0;r<t.length;r++)e=(e<<5)-e+t.charCodeAt(r)|0;return(n+e>>>0)%bn.length}function Fn(n,t){var e;if(e=(e=Pn(n,"x"))?e:n.ia.Ca?0:2)throw new Dn(e,n);for(e=bn[En(n.id,t)];e;e=e.za){var r=e.name;if(e.parent.id===n.id&&r===t)return e}return n.ia.Ca(n,t)}function Tn(n,t,e,r){return t=En((n=new It(n,t,e,r)).parent.id,n.name),n.za=bn[t],bn[t]=n}var Mn={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090};function Sn(n){var t=["r","w","rw"][3&n];return 512&n&&(t+="w"),t}function Pn(n,t){return kn?0:!t.includes("r")||292&n.mode?t.includes("w")&&!(146&n.mode)||t.includes("x")&&!(73&n.mode)?2:0:2}function Wn(n,t){try{return Fn(n,t),20}catch(n){}return Pn(n,"wx")}function xn(n,t){$n||(($n=function(){}).prototype={});var e,r=new $n;for(e in n)r[e]=n[e];return n=r,t=function(n){for(n=n||0;n<=4096;n++)if(!yn[n])return n;throw new Dn(33)}(t),n.qa=t,yn[t]=n}var On,Rn={open:function(n){n.ja=mn[n.node.Ea].ja,n.ja.open&&n.ja.open(n)},xa:function(){throw new Dn(70)}};function Un(n,t){mn[n]={ja:t}}function In(n,t){var e="/"===t,r=!t;if(e&&wn)throw new Dn(10);if(!e&&!r){var a=jn(t,{Za:!1});if(t=a.path,(a=a.node).Da)throw new Dn(10);if(16384!=(61440&a.mode))throw new Dn(54)}t={type:n,Nb:{},ab:t,sb:[]},(n=n.va(t)).va=t,t.root=n,e?wn=n:a&&(a.Da=t,a.va&&a.va.sb.push(t))}function zn(n,t,e){var r=jn(n,{parent:!0}).node;if(!(n=un(n))||"."===n||".."===n)throw new Dn(28);var a=Wn(r,n);if(a)throw new Dn(a);if(!r.ia.Ia)throw new Dn(63);return r.ia.Ia(r,n,t,e)}function Yn(n){return zn(n,16895,0)}function Hn(n,t,e){void 0===e&&(e=t,t=438),zn(n,8192|t,e)}function Nn(n,t){if(!fn(n))throw new Dn(44);var e=jn(t,{parent:!0}).node;if(!e)throw new Dn(44);var r=Wn(e,t=un(t));if(r)throw new Dn(r);if(!e.ia.La)throw new Dn(63);e.ia.La(e,t,n)}function Bn(n){if(!(n=jn(n).node))throw new Dn(44);if(!n.ia.Fa)throw new Dn(28);return fn(Cn(n.parent),n.ia.Fa(n))}function qn(n,e,r,a){if(""===n)throw new Dn(44);if("string"==typeof e){var i=Mn[e];if(void 0===i)throw Error("Unknown file open mode: "+e);e=i}if(r=64&e?4095&(void 0===r?438:r)|32768:0,"object"==typeof n)var o=n;else{n=an(n);try{o=jn(n,{Ha:!(131072&e)}).node}catch(n){}}if(i=!1,64&e)if(o){if(128&e)throw new Dn(20)}else o=zn(n,r,0),i=!0;if(!o)throw new Dn(44);if(8192==(61440&o.mode)&&(e&=-513),65536&e&&16384!=(61440&o.mode))throw new Dn(54);if(!i&&(r=o?40960==(61440&o.mode)?32:16384==(61440&o.mode)&&("r"!==Sn(e)||512&e)?31:Pn(o,Sn(e)):44))throw new Dn(r);if(512&e){if(!(r="string"==typeof(r=o)?jn(r,{Ha:!0}).node:r).ia.ua)throw new Dn(63);if(16384==(61440&r.mode))throw new Dn(31);if(32768!=(61440&r.mode))throw new Dn(28);if(i=Pn(r,"w"))throw new Dn(i);r.ia.ua(r,{size:0,timestamp:Date.now()})}e&=-131713,(a=xn({node:o,path:Cn(o),flags:e,seekable:!0,position:0,ja:o.ja,Ib:[],error:!1},a)).ja.open&&a.ja.open(a),!t.logReadFiles||1&e||(Zn||(Zn={}),n in Zn||(Zn[n]=1,l("FS.trackingDelegate error on read file: "+n)));try{An.onOpenFile&&(o=0,1!=(2097155&e)&&(o|=1),0!=(2097155&e)&&(o|=2),An.onOpenFile(n,o))}catch(t){l("FS.trackingDelegate['onOpenFile']('"+n+"', flags) threw an exception: "+t.message)}return a}function Vn(n){if(null===n.qa)throw new Dn(8);n.Sa&&(n.Sa=null);try{n.ja.close&&n.ja.close(n)}catch(n){throw n}finally{yn[n.qa]=null}n.qa=null}function Ln(n,t,e){if(null===n.qa)throw new Dn(8);if(!n.seekable||!n.ja.xa)throw new Dn(70);if(0!=e&&1!=e&&2!=e)throw new Dn(28);n.position=n.ja.xa(n,t,e),n.Ib=[]}function Gn(n,t,e,r,a){var i=void 0;if(0>r||0>i)throw new Dn(28);if(null===n.qa)throw new Dn(8);if(0==(2097155&n.flags))throw new Dn(8);if(16384==(61440&n.node.mode))throw new Dn(31);if(!n.ja.write)throw new Dn(28);n.seekable&&1024&n.flags&&Ln(n,0,2);var o=void 0!==i;if(o){if(!n.seekable)throw new Dn(70)}else i=n.position;t=n.ja.write(n,t,e,r,i,a),o||(n.position+=t);try{n.path&&An.onWriteToFile&&An.onWriteToFile(n.path)}catch(t){l("FS.trackingDelegate['onWriteToFile']('"+n.path+"') threw an exception: "+t.message)}return t}function Jn(){Dn||((Dn=function(n,t){this.node=t,this.yb=function(n){this.na=n},this.yb(n),this.message="FS error"}).prototype=Error(),Dn.prototype.constructor=Dn,[44].forEach((function(n){_n[n]=new Dn(n),_n[n].stack="<generic error, no stack>"})))}function Kn(n,t,e){n=an("/dev/"+n);var r=function(n,t){var e=0;return n&&(e|=365),t&&(e|=146),e}(!!t,!!e);Xn||(Xn=64);var a=Xn++<<8|0;Un(a,{open:function(n){n.seekable=!1},close:function(){e&&e.buffer&&e.buffer.length&&e(10)},read:function(n,e,r,a){for(var i=0,o=0;o<a;o++){try{var u=t()}catch(n){throw new Dn(29)}if(void 0===u&&0===i)throw new Dn(6);if(null==u)break;i++,e[r+o]=u}return i&&(n.node.timestamp=Date.now()),i},write:function(n,t,r,a){for(var i=0;i<a;i++)try{e(t[r+i])}catch(n){throw new Dn(29)}return a&&(n.node.timestamp=Date.now()),i}}),Hn(n,r,a)}var Xn,$n,Zn,Qn={},nt={};function tt(n,t){try{var e=jn(n,{Ha:!0}).node;if(!e)throw new Dn(44);if(!e.ia.ra)throw new Dn(63);var r=e.ia.ra(e)}catch(t){if(t&&t.node&&an(n)!==an(Cn(t.node)))return-54;throw t}return E[t>>2]=r.lb,E[t+4>>2]=0,E[t+8>>2]=r.Ta,E[t+12>>2]=r.mode,E[t+16>>2]=r.ub,E[t+20>>2]=r.uid,E[t+24>>2]=r.mb,E[t+28>>2]=r.Ea,E[t+32>>2]=0,Z=[r.size>>>0,($=r.size,1<=+Math.abs($)?0<$?(0|Math.min(+Math.floor($/4294967296),4294967295))>>>0:~~+Math.ceil(($-+(~~$>>>0))/4294967296)>>>0:0)],E[t+40>>2]=Z[0],E[t+44>>2]=Z[1],E[t+48>>2]=4096,E[t+52>>2]=r.ib,E[t+56>>2]=r.gb.getTime()/1e3|0,E[t+60>>2]=0,E[t+64>>2]=r.tb.getTime()/1e3|0,E[t+68>>2]=0,E[t+72>>2]=r.kb.getTime()/1e3|0,E[t+76>>2]=0,Z=[r.Ta>>>0,($=r.Ta,1<=+Math.abs($)?0<$?(0|Math.min(+Math.floor($/4294967296),4294967295))>>>0:~~+Math.ceil(($-+(~~$>>>0))/4294967296)>>>0:0)],E[t+80>>2]=Z[0],E[t+84>>2]=Z[1],0}var et=void 0;function rt(){return E[(et+=4)-4>>2]}function at(n){if(!(n=yn[n]))throw new Dn(8);return n}function it(n){switch(n){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+n)}}var ot=void 0;function ut(n){for(var t="";_[n];)t+=ot[_[n++]];return t}var ft={},ct={},st={};function lt(n){if(void 0===n)return"_unknown";var t=(n=n.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=t&&57>=t?"_"+n:n}function ht(n,t){return n=lt(n),new Function("body","return function "+n+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(t)}function dt(n){var t=Error,e=ht(n,(function(t){this.name=n,this.message=t,void 0!==(t=Error(t).stack)&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))}));return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},e}var pt=void 0;function vt(n){throw new pt(n)}var wt=void 0;function mt(n,t,e){if(e=e||{},!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");var r=t.name;if(n||vt('type "'+r+'" must have a positive integer typeid pointer'),ct.hasOwnProperty(n)){if(e.nb)return;vt("Cannot register type '"+r+"' twice")}ct[n]=t,delete st[n],ft.hasOwnProperty(n)&&(t=ft[n],delete ft[n],t.forEach((function(n){n()})))}var yt=[],gt=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function bt(n){return this.fromWireType(F[n>>2])}function kt(n){if(null===n)return"null";var t=typeof n;return"object"===t||"array"===t||"function"===t?n.toString():""+n}function At(n,t){switch(t){case 2:return function(n){return this.fromWireType(T[n>>2])};case 3:return function(n){return this.fromWireType(M[n>>3])};default:throw new TypeError("Unknown float type: "+n)}}function Dt(n){for(;n.length;){var t=n.pop();n.pop()(t)}}function _t(n,e,r){t.hasOwnProperty(n)?((void 0===r||void 0!==t[n].ta&&void 0!==t[n].ta[r])&&vt("Cannot register public name '"+n+"' twice"),function(n,e){var r=t;if(void 0===r[n].ta){var a=r[n];r[n]=function(){return r[n].ta.hasOwnProperty(arguments.length)||vt("Function '"+e+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+r[n].ta+")!"),r[n].ta[arguments.length].apply(this,arguments)},r[n].ta=[],r[n].ta[a.fb]=a}}(n,n),t.hasOwnProperty(r)&&vt("Cannot register multiple overloads of a function with the same number of arguments ("+r+")!"),t[n].ta[r]=e):(t[n]=e,void 0!==r&&(t[n].Mb=r))}function jt(n,e){var r=(n=ut(n)).includes("j")?function(n,e){var r=[];return function(){r.length=arguments.length;for(var a=0;a<arguments.length;a++)r[a]=arguments[a];return n.includes("j")?(a=t["dynCall_"+n],a=r&&r.length?a.apply(null,[e].concat(r)):a.call(null,e)):a=z.get(e).apply(null,r),a}}(n,e):z.get(e);return"function"!=typeof r&&vt("unknown function pointer with signature "+n+": "+e),r}var Ct=void 0;function Et(n){var t=ut(n=Lt(n));return qt(n),t}function Ft(n,t,e){switch(t){case 0:return e?function(n){return D[n]}:function(n){return _[n]};case 1:return e?function(n){return j[n>>1]}:function(n){return C[n>>1]};case 2:return e?function(n){return E[n>>2]}:function(n){return F[n>>2]};default:throw new TypeError("Unknown integer type: "+n)}}var Tt,Mt=[],St={};function Pt(){if(!Tt){var n,t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:o||"./this.program"};for(n in St)void 0===St[n]?delete t[n]:t[n]=St[n];var e=[];for(n in t)e.push(n+"="+t[n]);Tt=e}return Tt}function Wt(n){return 0==n%4&&(0!=n%100||0==n%400)}function xt(n,t){for(var e=0,r=0;r<=t;e+=n[r++]);return e}var Ot=[31,29,31,30,31,30,31,31,30,31,30,31],Rt=[31,28,31,30,31,30,31,31,30,31,30,31];function Ut(n,t){for(n=new Date(n.getTime());0<t;){var e=n.getMonth(),r=(Wt(n.getFullYear())?Ot:Rt)[e];if(!(t>r-n.getDate())){n.setDate(n.getDate()+t);break}t-=r-n.getDate()+1,n.setDate(1),11>e?n.setMonth(e+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1))}return n}function It(n,t,e,r){n||(n=this),this.parent=n,this.va=n.va,this.Da=null,this.id=gn++,this.name=t,this.mode=e,this.ia={},this.ja={},this.Ea=r}Object.defineProperties(It.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(n){n?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(n){n?this.mode|=146:this.mode&=-147}}}),Jn(),bn=Array(4096),In(vn,"/"),Yn("/tmp"),Yn("/home"),Yn("/home/web_user"),function(){Yn("/dev"),Un(259,{read:function(){return 0},write:function(n,t,e,r){return r}}),Hn("/dev/null",259),sn(1280,hn),sn(1536,dn),Hn("/dev/tty",1280),Hn("/dev/tty1",1536);var n=function(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){var n=new Uint8Array(1);return function(){return crypto.getRandomValues(n),n[0]}}return function(){G("randomDevice")}}();Kn("random",n),Kn("urandom",n),Yn("/dev/shm"),Yn("/dev/shm/tmp")}(),function(){Yn("/proc");var n=Yn("/proc/self");Yn("/proc/self/fd"),In({va:function(){var t=Tn(n,"fd",16895,73);return t.ia={Ca:function(n,t){var e=yn[+t];if(!e)throw new Dn(8);return(n={parent:null,va:{ab:"fake"},ia:{Fa:function(){return e.path}}}).parent=n}},t}},"/proc/self/fd")}();for(var zt=Array(256),Yt=0;256>Yt;++Yt)zt[Yt]=String.fromCharCode(Yt);function Ht(n,t){var e=Array(k(n)+1);return n=b(n,e,0,e.length),t&&(e.length=n),e}ot=zt,pt=t.BindingError=dt("BindingError"),wt=t.InternalError=dt("InternalError"),t.count_emval_handles=function(){for(var n=0,t=5;t<gt.length;++t)void 0!==gt[t]&&++n;return n},t.get_first_emval=function(){for(var n=5;n<gt.length;++n)if(void 0!==gt[n])return gt[n];return null},Ct=t.UnboundTypeError=dt("UnboundTypeError");var Nt={a:function(n,t,e,r){G("Assertion failed: "+g(n)+", at: "+[t?g(t):"unknown filename",e,r?g(r):"unknown function"])},J:function(n,t){n:{if(0===n)n=Date.now();else{if(1!==n&&4!==n){E[Vt()>>2]=28,t=-1;break n}n=Q()}E[t>>2]=n/1e3|0,E[t+4>>2]=n%1e3*1e6|0,t=0}return t},g:function(n){return Bt(n+16)+16},f:function(n,t,e){throw new en(n).ob(t,e),n},K:function(n,t){try{var e;if(n=g(n),-8&t)var r=-28;else(e=jn(n,{Ha:!0}).node)?(n="",4&t&&(n+="r"),2&t&&(n+="w"),1&t&&(n+="x"),r=n&&Pn(e,n)?-2:0):r=-44;return r}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),-n.na}},o:function(n,t,e){et=e;try{var r=at(n);switch(t){case 0:var a=rt();return 0>a?-28:qn(r.path,r.flags,0,a).qa;case 1:case 2:return 0;case 3:return r.flags;case 4:return a=rt(),r.flags|=a,0;case 12:return a=rt(),j[a+0>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return E[Vt()>>2]=28,-1;default:return-28}}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),-n.na}},F:function(n,t){try{return tt(at(n).path,t)}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),-n.na}},r:function(){return 42},H:function(n,t,e){et=e;try{var r=at(n);switch(t){case 21509:case 21505:return r.la?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return r.la?0:-59;case 21519:if(!r.la)return-59;var a=rt();return E[a>>2]=0;case 21520:return r.la?-28:-59;case 21531:if(n=a=rt(),!r.ja.pb)throw new Dn(59);return r.ja.pb(r,t,n);case 21523:case 21524:return r.la?0:-59;default:G("bad ioctl syscall "+t)}}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),-n.na}},D:function(n,t,e,r,a,i){try{n:{i<<=12;var o=!1;if(0!=(16&r)&&0!=n%65536)var u=-28;else{if(0!=(32&r)){var f=pn(t);if(!f){u=-48;break n}o=!0}else{var c=yn[a];if(!c){u=-8;break n}var s=i;if(0!=(2&e)&&0==(2&r)&&2!=(2097155&c.flags))throw new Dn(2);if(1==(2097155&c.flags))throw new Dn(2);if(!c.ja.Ja)throw new Dn(43);var l=c.ja.Ja(c,n,t,s,e,r);f=l.ya,o=l.Qa}nt[f]={rb:f,qb:t,Qa:o,qa:a,vb:e,flags:r,offset:i},u=f}}return u}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),-n.na}},C:function(n,t){try{var e=nt[n];if(0!==t&&e){if(t===e.qb){var r=yn[e.qa];r&&2&e.vb&&r&&r.ja.Ka&&r.ja.Ka(r,_.slice(n,n+t),e.offset,t,e.flags),nt[n]=null,e.Qa&&qt(e.rb)}var a=0}else a=-28;return a}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),-n.na}},q:function(n,t,e){et=e;try{return qn(g(n),t,e?rt():0).qa}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),-n.na}},E:function(n,t){try{return tt(n=g(n),t)}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),-n.na}},I:function(n){try{var t=jn(n=g(n),{parent:!0}).node,e=un(n),r=Fn(t,e);n:{try{var a=Fn(t,e)}catch(n){var i=n.na;break n}var o=Pn(t,"wx");i=o||(16384==(61440&a.mode)?31:0)}if(i)throw new Dn(i);if(!t.ia.Pa)throw new Dn(63);if(r.Da)throw new Dn(10);try{An.willDeletePath&&An.willDeletePath(n)}catch(t){l("FS.trackingDelegate['willDeletePath']('"+n+"') threw an exception: "+t.message)}t.ia.Pa(t,e);var u=En(r.parent.id,r.name);if(bn[u]===r)bn[u]=r.za;else for(var f=bn[u];f;){if(f.za===r){f.za=r.za;break}f=f.za}try{An.onDeletePath}catch(t){l("FS.trackingDelegate['onDeletePath']('"+n+"') threw an exception: "+t.message)}return 0}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),-n.na}},v:function(){},M:function(n,t,e,r,a){var i=it(e);mt(n,{name:t=ut(t),fromWireType:function(n){return!!n},toWireType:function(n,t){return t?r:a},argPackAdvance:8,readValueFromPointer:function(n){if(1===e)var r=D;else if(2===e)r=j;else{if(4!==e)throw new TypeError("Unknown boolean type size: "+t);r=E}return this.fromWireType(r[n>>i])},wa:null})},L:function(n,t){mt(n,{name:t=ut(t),fromWireType:function(n){var t=gt[n].value;return 4<n&&0==--gt[n].wb&&(gt[n]=void 0,yt.push(n)),t},toWireType:function(n,t){return function(n){switch(n){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var t=yt.length?yt.pop():gt.length;return gt[t]={wb:1,value:n},t}}(t)},argPackAdvance:8,readValueFromPointer:bt,wa:null})},s:function(n,t,e){e=it(e),mt(n,{name:t=ut(t),fromWireType:function(n){return n},toWireType:function(n,t){if("number"!=typeof t&&"boolean"!=typeof t)throw new TypeError('Cannot convert "'+kt(t)+'" to '+this.name);return t},argPackAdvance:8,readValueFromPointer:At(t,e),wa:null})},i:function(n,e,r,a,i,o){var u=function(n,t){for(var e=[],r=0;r<n;r++)e.push(E[(t>>2)+r]);return e}(e,r);n=ut(n),i=jt(a,i),_t(n,(function(){!function(n,t){var e=[],r={};throw t.forEach((function n(t){r[t]||ct[t]||(st[t]?st[t].forEach(n):(e.push(t),r[t]=!0))})),new Ct(n+": "+e.map(Et).join([", "]))}("Cannot call "+n+" due to unbound types",u)}),e-1),function(n,t){function e(n){if((n=t(n)).length!==r.length)throw new wt("Mismatched type converter count");for(var e=0;e<r.length;++e)mt(r[e],n[e])}var r=[];r.forEach((function(t){st[t]=n}));var a=Array(n.length),i=[],o=0;n.forEach((function(n,t){ct.hasOwnProperty(n)?a[t]=ct[n]:(i.push(n),ft.hasOwnProperty(n)||(ft[n]=[]),ft[n].push((function(){a[t]=ct[n],++o===i.length&&e(a)})))})),0===i.length&&e(a)}(u,(function(r){var a=n,u=n;r=[r[0],null].concat(r.slice(1));var f=i,c=r.length;2>c&&vt("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var s=null!==r[1]&&!1,l=!1,h=1;h<r.length;++h)if(null!==r[h]&&void 0===r[h].wa){l=!0;break}var d="void"!==r[0].name,p="",v="";for(h=0;h<c-2;++h)p+=(0!==h?", ":"")+"arg"+h,v+=(0!==h?", ":"")+"arg"+h+"Wired";u="return function "+lt(u)+"("+p+") {\nif (arguments.length !== "+(c-2)+") {\nthrowBindingError('function "+u+" called with ' + arguments.length + ' arguments, expected "+(c-2)+" args!');\n}\n",l&&(u+="var destructors = [];\n");var w=l?"destructors":"null";for(p="throwBindingError invoker fn runDestructors retType classParam".split(" "),f=[vt,f,o,Dt,r[0],r[1]],s&&(u+="var thisWired = classParam.toWireType("+w+", this);\n"),h=0;h<c-2;++h)u+="var arg"+h+"Wired = argType"+h+".toWireType("+w+", arg"+h+"); // "+r[h+2].name+"\n",p.push("argType"+h),f.push(r[h+2]);if(s&&(v="thisWired"+(0<v.length?", ":"")+v),u+=(d?"var rv = ":"")+"invoker(fn"+(0<v.length?", ":"")+v+");\n",l)u+="runDestructors(destructors);\n";else for(h=s?1:2;h<r.length;++h)c=1===h?"thisWired":"arg"+(h-2)+"Wired",null!==r[h].wa&&(u+=c+"_dtor("+c+"); // "+r[h].name+"\n",p.push(c+"_dtor"),f.push(r[h].wa));if(d&&(u+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p.push(u+"}\n"),r=function(n){var t=Function;if(!(t instanceof Function))throw new TypeError("new_ called with constructor type "+typeof t+" which is not a function");var e=ht(t.name||"unknownFunctionName",(function(){}));return e.prototype=t.prototype,e=new e,(n=t.apply(e,n))instanceof Object?n:e}(p).apply(null,f),h=e-1,!t.hasOwnProperty(a))throw new wt("Replacing nonexistant public symbol");return void 0!==t[a].ta&&void 0!==h?t[a].ta[h]=r:(t[a]=r,t[a].fb=h),[]}))},d:function(n,t,e,r,a){function i(n){return n}t=ut(t),-1===a&&(a=4294967295);var o=it(e);if(0===r){var u=32-8*e;i=function(n){return n<<u>>>u}}var f=t.includes("unsigned");mt(n,{name:t,fromWireType:i,toWireType:function(n,e){if("number"!=typeof e&&"boolean"!=typeof e)throw new TypeError('Cannot convert "'+kt(e)+'" to '+this.name);if(e<r||e>a)throw new TypeError('Passing a number "'+kt(e)+'" from JS side to C/C++ side to an argument of type "'+t+'", which is outside the valid range ['+r+", "+a+"]!");return f?e>>>0:0|e},argPackAdvance:8,readValueFromPointer:Ft(t,o,0!==r),wa:null})},c:function(n,t,e){function r(n){var t=F;return new a(A,t[1+(n>>=2)],t[n])}var a=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];mt(n,{name:e=ut(e),fromWireType:r,argPackAdvance:8,readValueFromPointer:r},{nb:!0})},t:function(n,t){var e="std::string"===(t=ut(t));mt(n,{name:t,fromWireType:function(n){var t=F[n>>2];if(e)for(var r=n+4,a=0;a<=t;++a){var i=n+4+a;if(a==t||0==_[i]){if(r=g(r,i-r),void 0===o)var o=r;else o+=String.fromCharCode(0),o+=r;r=i+1}}else{for(o=Array(t),a=0;a<t;++a)o[a]=String.fromCharCode(_[n+4+a]);o=o.join("")}return qt(n),o},toWireType:function(n,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var r="string"==typeof t;r||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array||vt("Cannot pass non-string to std::string");var a=(e&&r?function(){return k(t)}:function(){return t.length})(),i=Bt(4+a+1);if(F[i>>2]=a,e&&r)b(t,_,i+4,a+1);else if(r)for(r=0;r<a;++r){var o=t.charCodeAt(r);255<o&&(qt(i),vt("String has UTF-16 code units that do not fit in 8 bits")),_[i+4+r]=o}else for(r=0;r<a;++r)_[i+4+r]=t[r];return null!==n&&n.push(qt,i),i},argPackAdvance:8,readValueFromPointer:bt,wa:function(n){qt(n)}})},k:function(n,t,e){if(e=ut(e),2===t)var r=P,a=W,i=x,o=function(){return C},u=1;else 4===t&&(r=O,a=R,i=U,o=function(){return F},u=2);mt(n,{name:e,fromWireType:function(n){for(var e,a=F[n>>2],i=o(),f=n+4,c=0;c<=a;++c){var s=n+4+c*t;c!=a&&0!=i[s>>u]||(f=r(f,s-f),void 0===e?e=f:(e+=String.fromCharCode(0),e+=f),f=s+t)}return qt(n),e},toWireType:function(n,r){"string"!=typeof r&&vt("Cannot pass non-string to C++ string type "+e);var o=i(r),f=Bt(4+o+t);return F[f>>2]=o>>u,a(r,f+4,o+t),null!==n&&n.push(qt,f),f},argPackAdvance:8,readValueFromPointer:bt,wa:function(n){qt(n)}})},N:function(n,t){mt(n,{Lb:!0,name:t=ut(t),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},y:function(){throw"longjmp"},n:function(){G()},Q:function(n,t,e){var r;for(Mt.length=0,e>>=2;r=_[t++];)(r=105>r)&&1&e&&e++,Mt.push(r?M[e++>>1]:E[e]),++e;return nn[n].apply(null,Mt)},w:function(n){var t=_.length;if(2147483648<(n>>>=0))return!1;for(var e=1;4>=e;e*=2){var r=t*(1+.2/e);r=Math.min(r,n+100663296),0<(r=Math.max(n,r))%65536&&(r+=65536-r%65536);n:{try{v.grow(Math.min(2147483648,r)-A.byteLength+65535>>>16),I();var a=1;break n}catch(n){}a=void 0}if(a)return!0}return!1},A:function(n,t){try{var e=0;return Pt().forEach((function(r,a){var i=t+e;for(a=E[n+4*a>>2]=i,i=0;i<r.length;++i)D[a++>>0]=r.charCodeAt(i);D[a>>0]=0,e+=r.length+1})),0}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),n.na}},B:function(n,t){try{var e=Pt();E[n>>2]=e.length;var r=0;return e.forEach((function(n){r+=n.length+1})),E[t>>2]=r,0}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),n.na}},b:function(n){p||(t.onExit&&t.onExit(n),w=!0),u(n,new Zt(n))},j:function(n){try{return Vn(at(n)),0}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),n.na}},z:function(n,t){try{var e=at(n);return D[t>>0]=e.la?2:16384==(61440&e.mode)?3:40960==(61440&e.mode)?7:4,0}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),n.na}},G:function(n,t,e,r){try{n:{for(var a=at(n),i=n=0;i<e;i++){var o=E[t+(8*i+4)>>2],u=a,f=E[t+8*i>>2],c=o,s=void 0,l=D;if(0>c||0>s)throw new Dn(28);if(null===u.qa)throw new Dn(8);if(1==(2097155&u.flags))throw new Dn(8);if(16384==(61440&u.node.mode))throw new Dn(31);if(!u.ja.read)throw new Dn(28);var h=void 0!==s;if(h){if(!u.seekable)throw new Dn(70)}else s=u.position;var d=u.ja.read(u,l,f,c,s);h||(u.position+=d);var p=d;if(0>p){var v=-1;break n}if(n+=p,p<o)break}v=n}return E[r>>2]=v,0}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),n.na}},u:function(n,t,e,r,a){try{var i=at(n);return-9007199254740992>=(n=4294967296*e+(t>>>0))||9007199254740992<=n?-61:(Ln(i,n,r),Z=[i.position>>>0,($=i.position,1<=+Math.abs($)?0<$?(0|Math.min(+Math.floor($/4294967296),4294967295))>>>0:~~+Math.ceil(($-+(~~$>>>0))/4294967296)>>>0:0)],E[a>>2]=Z[0],E[a+4>>2]=Z[1],i.Sa&&0===n&&0===r&&(i.Sa=null),0)}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),n.na}},p:function(n,t,e,r){try{n:{for(var a=at(n),i=n=0;i<e;i++){var o=Gn(a,D,E[t+8*i>>2],E[t+(8*i+4)>>2]);if(0>o){var u=-1;break n}n+=o}u=n}return E[r>>2]=u,0}catch(n){return void 0!==Qn&&n instanceof Dn||G(n),n.na}},h:function(){return d},O:function(n,t,e,r,a,i,o){var u=Jt();try{return z.get(n)(t,e,r,a,i,o)}catch(n){if(Kt(u),n!==n+0&&"longjmp"!==n)throw n;Xt(1,0)}},P:function(n,t){var e=Jt();try{z.get(n)(t)}catch(n){if(Kt(e),n!==n+0&&"longjmp"!==n)throw n;Xt(1,0)}},e:function(n){d=n},x:function(n,t,e,r){return function(n,t,e,r){function a(n,t,e){for(n="number"==typeof n?n.toString():n||"";n.length<t;)n=e[0]+n;return n}function i(n,t){return a(n,t,"0")}function o(n,t){function e(n){return 0>n?-1:0<n?1:0}var r;return 0===(r=e(n.getFullYear()-t.getFullYear()))&&0===(r=e(n.getMonth()-t.getMonth()))&&(r=e(n.getDate()-t.getDate())),r}function u(n){switch(n.getDay()){case 0:return new Date(n.getFullYear()-1,11,29);case 1:return n;case 2:return new Date(n.getFullYear(),0,3);case 3:return new Date(n.getFullYear(),0,2);case 4:return new Date(n.getFullYear(),0,1);case 5:return new Date(n.getFullYear()-1,11,31);case 6:return new Date(n.getFullYear()-1,11,30)}}function f(n){n=Ut(new Date(n.pa+1900,0,1),n.Oa);var t=new Date(n.getFullYear()+1,0,4),e=u(new Date(n.getFullYear(),0,4));return t=u(t),0>=o(e,n)?0>=o(t,n)?n.getFullYear()+1:n.getFullYear():n.getFullYear()-1}var c=E[r+40>>2];for(var s in r={Gb:E[r>>2],Fb:E[r+4>>2],Ma:E[r+8>>2],Ga:E[r+12>>2],Ba:E[r+16>>2],pa:E[r+20>>2],Na:E[r+24>>2],Oa:E[r+28>>2],Ob:E[r+32>>2],Eb:E[r+36>>2],Hb:c?g(c):""},e=g(e),c={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})e=e.replace(new RegExp(s,"g"),c[s]);var l="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),h="January February March April May June July August September October November December".split(" ");for(s in c={"%a":function(n){return l[n.Na].substring(0,3)},"%A":function(n){return l[n.Na]},"%b":function(n){return h[n.Ba].substring(0,3)},"%B":function(n){return h[n.Ba]},"%C":function(n){return i((n.pa+1900)/100|0,2)},"%d":function(n){return i(n.Ga,2)},"%e":function(n){return a(n.Ga,2," ")},"%g":function(n){return f(n).toString().substring(2)},"%G":function(n){return f(n)},"%H":function(n){return i(n.Ma,2)},"%I":function(n){return 0==(n=n.Ma)?n=12:12<n&&(n-=12),i(n,2)},"%j":function(n){return i(n.Ga+xt(Wt(n.pa+1900)?Ot:Rt,n.Ba-1),3)},"%m":function(n){return i(n.Ba+1,2)},"%M":function(n){return i(n.Fb,2)},"%n":function(){return"\n"},"%p":function(n){return 0<=n.Ma&&12>n.Ma?"AM":"PM"},"%S":function(n){return i(n.Gb,2)},"%t":function(){return"\t"},"%u":function(n){return n.Na||7},"%U":function(n){var t=new Date(n.pa+1900,0,1),e=0===t.getDay()?t:Ut(t,7-t.getDay());return 0>o(e,n=new Date(n.pa+1900,n.Ba,n.Ga))?i(Math.ceil((31-e.getDate()+(xt(Wt(n.getFullYear())?Ot:Rt,n.getMonth()-1)-31)+n.getDate())/7),2):0===o(e,t)?"01":"00"},"%V":function(n){var t=new Date(n.pa+1901,0,4),e=u(new Date(n.pa+1900,0,4));t=u(t);var r=Ut(new Date(n.pa+1900,0,1),n.Oa);return 0>o(r,e)?"53":0>=o(t,r)?"01":i(Math.ceil((e.getFullYear()<n.pa+1900?n.Oa+32-e.getDate():n.Oa+1-e.getDate())/7),2)},"%w":function(n){return n.Na},"%W":function(n){var t=new Date(n.pa,0,1),e=1===t.getDay()?t:Ut(t,0===t.getDay()?1:7-t.getDay()+1);return 0>o(e,n=new Date(n.pa+1900,n.Ba,n.Ga))?i(Math.ceil((31-e.getDate()+(xt(Wt(n.getFullYear())?Ot:Rt,n.getMonth()-1)-31)+n.getDate())/7),2):0===o(e,t)?"01":"00"},"%y":function(n){return(n.pa+1900).toString().substring(2)},"%Y":function(n){return n.pa+1900},"%z":function(n){var t=0<=(n=n.Eb);return n=Math.abs(n)/60,(t?"+":"-")+String("0000"+(n/60*100+n%60)).slice(-4)},"%Z":function(n){return n.Hb},"%%":function(){return"%"}})e.includes(s)&&(e=e.replace(new RegExp(s,"g"),c[s](r)));return(s=Ht(e,!1)).length>t?0:(D.set(s,n),s.length-1)}(n,t,e,r)},m:function(n){var t=Date.now()/1e3|0;return n&&(E[n>>2]=t),t},l:function(n){return 0!==n&&_.fill(0,n,n+16),0}};!function(){function n(n){t.asm=n.exports,v=t.asm.R,I(),z=t.asm.U,H.unshift(t.asm.S),V--,t.monitorRunDependencies&&t.monitorRunDependencies(V),0==V&&L&&(n=L,L=null,n())}function e(t){n(t.instance)}function a(n){return(h||"function"!=typeof fetch?Promise.resolve().then((function(){return X()})):fetch(q,{credentials:"same-origin"}).then((function(n){if(!n.ok)throw"failed to load wasm binary file at '"+q+"'";return n.arrayBuffer()})).catch((function(){return X()}))).then((function(n){return WebAssembly.instantiate(n,i)})).then(n,(function(n){l("failed to asynchronously prepare wasm: "+n),G(n)}))}var i={a:Nt};if(V++,t.monitorRunDependencies&&t.monitorRunDependencies(V),t.instantiateWasm)try{return t.instantiateWasm(i,n)}catch(n){return l("Module.instantiateWasm callback failed with error: "+n),!1}(h||"function"!=typeof WebAssembly.instantiateStreaming||J()||"function"!=typeof fetch?a(e):fetch(q,{credentials:"same-origin"}).then((function(n){return WebAssembly.instantiateStreaming(n,i).then(e,(function(n){return l("wasm streaming compile failed: "+n),l("falling back to ArrayBuffer instantiation"),a(e)}))}))).catch(r)}(),t.___wasm_call_ctors=function(){return(t.___wasm_call_ctors=t.asm.S).apply(null,arguments)};var Bt=t._malloc=function(){return(Bt=t._malloc=t.asm.T).apply(null,arguments)},qt=t._free=function(){return(qt=t._free=t.asm.V).apply(null,arguments)},Vt=t.___errno_location=function(){return(Vt=t.___errno_location=t.asm.W).apply(null,arguments)},Lt=t.___getTypeName=function(){return(Lt=t.___getTypeName=t.asm.X).apply(null,arguments)};t.___embind_register_native_and_builtin_types=function(){return(t.___embind_register_native_and_builtin_types=t.asm.Y).apply(null,arguments)};var Gt,Jt=t.stackSave=function(){return(Jt=t.stackSave=t.asm.Z).apply(null,arguments)},Kt=t.stackRestore=function(){return(Kt=t.stackRestore=t.asm._).apply(null,arguments)},Xt=t._setThrew=function(){return(Xt=t._setThrew=t.asm.$).apply(null,arguments)},$t=t._memalign=function(){return($t=t._memalign=t.asm.aa).apply(null,arguments)};function Zt(n){this.name="ExitStatus",this.message="Program terminated with exit("+n+")",this.status=n}function Qt(){function n(){if(!Gt&&(Gt=!0,t.calledRun=!0,!w)){if(t.noFSInit||On||(On=!0,Jn(),t.stdin=t.stdin,t.stdout=t.stdout,t.stderr=t.stderr,t.stdin?Kn("stdin",t.stdin):Nn("/dev/tty","/dev/stdin"),t.stdout?Kn("stdout",null,t.stdout):Nn("/dev/tty","/dev/stdout"),t.stderr?Kn("stderr",null,t.stderr):Nn("/dev/tty1","/dev/stderr"),qn("/dev/stdin",0),qn("/dev/stdout",1),qn("/dev/stderr",1)),kn=!1,tn(H),e(t),t.onRuntimeInitialized&&t.onRuntimeInitialized(),t.postRun)for("function"==typeof t.postRun&&(t.postRun=[t.postRun]);t.postRun.length;){var n=t.postRun.shift();N.unshift(n)}tn(N)}}if(!(0<V)){if(t.preRun)for("function"==typeof t.preRun&&(t.preRun=[t.preRun]);t.preRun.length;)B();tn(Y),0<V||(t.setStatus?(t.setStatus("Running..."),setTimeout((function(){setTimeout((function(){t.setStatus("")}),1),n()}),1)):n())}}if(t.dynCall_iiij=function(){return(t.dynCall_iiij=t.asm.ba).apply(null,arguments)},t.dynCall_viij=function(){return(t.dynCall_viij=t.asm.ca).apply(null,arguments)},t.dynCall_jiji=function(){return(t.dynCall_jiji=t.asm.da).apply(null,arguments)},t.dynCall_iiiiij=function(){return(t.dynCall_iiiiij=t.asm.ea).apply(null,arguments)},t.dynCall_iiiiijj=function(){return(t.dynCall_iiiiijj=t.asm.fa).apply(null,arguments)},t.dynCall_iiiiiijj=function(){return(t.dynCall_iiiiiijj=t.asm.ga).apply(null,arguments)},t.dynCall_viijii=function(){return(t.dynCall_viijii=t.asm.ha).apply(null,arguments)},L=function n(){Gt||Qt(),Gt||(L=n)},t.run=Qt,t.preInit)for("function"==typeof t.preInit&&(t.preInit=[t.preInit]);0<t.preInit.length;)t.preInit.pop()();return Qt(),n.ready};let t,e,r;function a(t){const{id:a,src:i,options:o}=t.data;return async function(){return void 0===r&&(r=await e.then(n)),r}().then((n=>{const t=function(n,t,e){for(const{path:t,data:r}of e.files)n.vizCreateFile(t,r);n.vizSetY_invert(e.yInvert?1:0),n.vizSetNop(e.nop||0);const r=n.vizRenderFromString(t,e.format,e.engine),a=n.vizLastErrorMessage();if(""!==a)throw new Error(a);return r}(n,i,o);postMessage({id:a,result:t})})).catch((n=>{const t=n instanceof Error?{message:n.message,fileName:n.fileName,lineNumber:n.lineNumber,stack:n.stack}:{message:n.toString()};postMessage({id:a,error:t})}))}e=Promise.resolve({}),t=n=>e=Promise.resolve(n),addEventListener("message",a);var i=t;export default i;export{a as onmessage}; | ||
var n=function(n){var r,t,e;n=n||{},r||(r=void 0!==n?n:{}),r.ready=new Promise((function(n,r){t=n,e=r}));var a,i=Object.assign({},r),o="./this.program",u=(n,r)=>{throw r},f="";f=0!==(f=self.location.href).indexOf("blob:")?f.substr(0,f.replace(/[?#].*/,"").lastIndexOf("/")+1):"",a=n=>{var r=new XMLHttpRequest;return r.open("GET",n,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)};var s=r.print||console.log.bind(console),c=r.printErr||console.warn.bind(console);Object.assign(r,i),i=null,r.thisProgram&&(o=r.thisProgram),r.quit&&(u=r.quit);var l,h=0;r.wasmBinary&&(l=r.wasmBinary);var d=r.noExitRuntime||!0;"object"!=typeof WebAssembly&&L("no native wasm support detected");var p,w=!1,v="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function m(n,r,t){var e=r+t;for(t=r;n[t]&&!(t>=e);)++t;if(16<t-r&&n.buffer&&v)return v.decode(n.subarray(r,t));for(e="";r<t;){var a=n[r++];if(128&a){var i=63&n[r++];if(192==(224&a))e+=String.fromCharCode((31&a)<<6|i);else{var o=63&n[r++];65536>(a=224==(240&a)?(15&a)<<12|i<<6|o:(7&a)<<18|i<<12|o<<6|63&n[r++])?e+=String.fromCharCode(a):(a-=65536,e+=String.fromCharCode(55296|a>>10,56320|1023&a))}}else e+=String.fromCharCode(a)}return e}function y(n,r){return n?m(k,n,r):""}function g(n,r,t,e){if(!(0<e))return 0;var a=t;e=t+e-1;for(var i=0;i<n.length;++i){var o=n.charCodeAt(i);if(55296<=o&&57343>=o&&(o=65536+((1023&o)<<10)|1023&n.charCodeAt(++i)),127>=o){if(t>=e)break;r[t++]=o}else{if(2047>=o){if(t+1>=e)break;r[t++]=192|o>>6}else{if(65535>=o){if(t+2>=e)break;r[t++]=224|o>>12}else{if(t+3>=e)break;r[t++]=240|o>>18,r[t++]=128|o>>12&63}r[t++]=128|o>>6&63}r[t++]=128|63&o}}return r[t]=0,t-a}function b(n){for(var r=0,t=0;t<n.length;++t){var e=n.charCodeAt(t);55296<=e&&57343>=e&&(e=65536+((1023&e)<<10)|1023&n.charCodeAt(++t)),127>=e?++r:r=2047>=e?r+2:65535>=e?r+3:r+4}return r}var A,_,k,j,C,E,T,M,F,D="undefined"==typeof TextDecoder&&void 0;function S(n,r){for(var t=n>>1,e=t+r/2;!(t>=e)&&C[t];)++t;if(32<(t<<=1)-n&&D)return D.decode(k.subarray(n,t));for(t="",e=0;!(e>=r/2);++e){var a=j[n+2*e>>1];if(0==a)break;t+=String.fromCharCode(a)}return t}function P(n,r,t){if(void 0===t&&(t=2147483647),2>t)return 0;var e=r;t=(t-=2)<2*n.length?t/2:n.length;for(var a=0;a<t;++a)j[r>>1]=n.charCodeAt(a),r+=2;return j[r>>1]=0,r-e}function W(n){return 2*n.length}function x(n,r){for(var t=0,e="";!(t>=r/4);){var a=E[n+4*t>>2];if(0==a)break;++t,65536<=a?(a-=65536,e+=String.fromCharCode(55296|a>>10,56320|1023&a)):e+=String.fromCharCode(a)}return e}function O(n,r,t){if(void 0===t&&(t=2147483647),4>t)return 0;var e=r;t=e+t-4;for(var a=0;a<n.length;++a){var i=n.charCodeAt(a);if(55296<=i&&57343>=i&&(i=65536+((1023&i)<<10)|1023&n.charCodeAt(++a)),E[r>>2]=i,(r+=4)+4>t)break}return E[r>>2]=0,r-e}function R(n){for(var r=0,t=0;t<n.length;++t){var e=n.charCodeAt(t);55296<=e&&57343>=e&&++t,r+=4}return r}function U(){var n=p.buffer;A=n,r.HEAP8=_=new Int8Array(n),r.HEAP16=j=new Int16Array(n),r.HEAP32=E=new Int32Array(n),r.HEAPU8=k=new Uint8Array(n),r.HEAPU16=C=new Uint16Array(n),r.HEAPU32=T=new Uint32Array(n),r.HEAPF32=M=new Float32Array(n),r.HEAPF64=F=new Float64Array(n)}var I,z=[],H=[],Y=[];function N(){var n=r.preRun.shift();z.unshift(n)}var B,q=0,V=null;function L(n){throw r.onAbort&&r.onAbort(n),c(n="Aborted("+n+")"),w=!0,n=new WebAssembly.RuntimeError(n+". Build with -sASSERTIONS for more info."),e(n),n}function G(){return B.startsWith("data:application/octet-stream;base64,")}if(r.locateFile){if(B="render.wasm",!G()){var J=B;B=r.locateFile?r.locateFile(J,f):f+J}}else B=new URL("render.wasm",!1).toString();function K(){var n=B;try{if(n==B&&l)return new Uint8Array(l);if(a)return a(n);throw"both async and sync fetching of the wasm failed"}catch(n){L(n)}}var X,$,Q={158136:function(n,r){n=y(n),r=y(r);var t="/";t="string"==typeof t?t:En(t);for(var e=en(n).split("/").reverse();e.length;){var a=e.pop();if(a){t=tn(t+"/"+a);try{Hn(t,16895,0)}catch(n){}}}if(e=function(){return tn(Array.prototype.slice.call(arguments,0).join("/"))}("/",n),(n={}).flags=n.flags||577,e=Ln(e,n.flags,n.mode),"string"==typeof r)r=g(r,t=new Uint8Array(b(r)+1),0,t.length),Kn(e,t,0,r,n.jb);else{if(!ArrayBuffer.isView(r))throw Error("Unsupported data type");Kn(e,r,0,r.byteLength,n.jb)}Gn(e)}};function Z(n){for(;0<n.length;){var t=n.shift();if("function"==typeof t)t(r);else{var e=t.Hb;"number"==typeof e?void 0===t.Qa?I.get(e)():I.get(e)(t.Qa):e(void 0===t.Qa?null:t.Qa)}}}function nn(n){this.wa=n-24,this.xb=function(n){T[this.wa+4>>2]=n},this.sb=function(n){T[this.wa+8>>2]=n},this.tb=function(){E[this.wa>>2]=0},this.rb=function(){_[this.wa+12>>0]=0},this.ub=function(){_[this.wa+13>>0]=0},this.nb=function(n,r){this.ob(),this.xb(n),this.sb(r),this.tb(),this.rb(),this.ub()},this.ob=function(){T[this.wa+16>>2]=0}}var rn=(n,r)=>{for(var t=0,e=n.length-1;0<=e;e--){var a=n[e];"."===a?n.splice(e,1):".."===a?(n.splice(e,1),t++):t&&(n.splice(e,1),t--)}if(r)for(;t;t--)n.unshift("..");return n},tn=n=>{var r="/"===n.charAt(0),t="/"===n.substr(-1);return(n=rn(n.split("/").filter((n=>!!n)),!r).join("/"))||r||(n="."),n&&t&&(n+="/"),(r?"/":"")+n},en=n=>{var r=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(n).slice(1);return n=r[0],r=r[1],n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."},an=n=>{if("/"===n)return"/";var r=(n=(n=tn(n)).replace(/\/$/,"")).lastIndexOf("/");return-1===r?n:n.substr(r+1)};function on(){for(var n="",r=!1,t=arguments.length-1;-1<=t&&!r;t--){if("string"!=typeof(r=0<=t?arguments[t]:"/"))throw new TypeError("Arguments to path.resolve must be strings");if(!r)return"";n=r+"/"+n,r="/"===r.charAt(0)}return(r?"/":"")+(n=rn(n.split("/").filter((n=>!!n)),!r).join("/"))||"."}var un=[];function fn(n,r){un[n]={input:[],na:[],Ca:r},In(n,dn)}var sn,cn,ln,hn,dn={open:function(n){var r=un[n.node.Ea];if(!r)throw new kn(43);n.la=r,n.seekable=!1},close:function(n){n.la.Ca.flush(n.la)},flush:function(n){n.la.Ca.flush(n.la)},read:function(n,r,t,e){if(!n.la||!n.la.Ca.$a)throw new kn(60);for(var a=0,i=0;i<e;i++){try{var o=n.la.Ca.$a(n.la)}catch(n){throw new kn(29)}if(void 0===o&&0===a)throw new kn(6);if(null==o)break;a++,r[t+i]=o}return a&&(n.node.timestamp=Date.now()),a},write:function(n,r,t,e){if(!n.la||!n.la.Ca.Ta)throw new kn(60);try{for(var a=0;a<e;a++)n.la.Ca.Ta(n.la,r[t+a])}catch(n){throw new kn(29)}return e&&(n.node.timestamp=Date.now()),a}},pn={$a:function(n){if(!n.input.length){var r=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?null!==(r=window.prompt("Input: "))&&(r+="\n"):"function"==typeof readline&&null!==(r=readline())&&(r+="\n"),!r)return null;n.input=Ur(r,!0)}return n.input.shift()},Ta:function(n,r){null===r||10===r?(s(m(n.na,0)),n.na=[]):0!=r&&n.na.push(r)},flush:function(n){n.na&&0<n.na.length&&(s(m(n.na,0)),n.na=[])}},wn={Ta:function(n,r){null===r||10===r?(c(m(n.na,0)),n.na=[]):0!=r&&n.na.push(r)},flush:function(n){n.na&&0<n.na.length&&(c(m(n.na,0)),n.na=[])}},vn={pa:null,ta:function(){return vn.createNode(null,"/",16895,0)},createNode:function(n,r,t,e){if(24576==(61440&t)||4096==(61440&t))throw new kn(63);return vn.pa||(vn.pa={dir:{node:{oa:vn.ha.oa,ra:vn.ha.ra,Da:vn.ha.Da,Ha:vn.ha.Ha,cb:vn.ha.cb,Pa:vn.ha.Pa,Ka:vn.ha.Ka,bb:vn.ha.bb,Ma:vn.ha.Ma},stream:{xa:vn.ia.xa}},file:{node:{oa:vn.ha.oa,ra:vn.ha.ra},stream:{xa:vn.ia.xa,read:vn.ia.read,write:vn.ia.write,Wa:vn.ia.Wa,Ia:vn.ia.Ia,Ja:vn.ia.Ja}},link:{node:{oa:vn.ha.oa,ra:vn.ha.ra,Fa:vn.ha.Fa},stream:{}},Xa:{node:{oa:vn.ha.oa,ra:vn.ha.ra},stream:Un}}),16384==(61440&(t=Dn(n,r,t,e)).mode)?(t.ha=vn.pa.dir.node,t.ia=vn.pa.dir.stream,t.ja={}):32768==(61440&t.mode)?(t.ha=vn.pa.file.node,t.ia=vn.pa.file.stream,t.ka=0,t.ja=null):40960==(61440&t.mode)?(t.ha=vn.pa.link.node,t.ia=vn.pa.link.stream):8192==(61440&t.mode)&&(t.ha=vn.pa.Xa.node,t.ia=vn.pa.Xa.stream),t.timestamp=Date.now(),n&&(n.ja[r]=t,n.timestamp=t.timestamp),t},Jb:function(n){return n.ja?n.ja.subarray?n.ja.subarray(0,n.ka):new Uint8Array(n.ja):new Uint8Array(0)},Ya:function(n,r){var t=n.ja?n.ja.length:0;t>=r||(r=Math.max(r,t*(1048576>t?2:1.125)>>>0),0!=t&&(r=Math.max(r,256)),t=n.ja,n.ja=new Uint8Array(r),0<n.ka&&n.ja.set(t.subarray(0,n.ka),0))},Ab:function(n,r){if(n.ka!=r)if(0==r)n.ja=null,n.ka=0;else{var t=n.ja;n.ja=new Uint8Array(r),t&&n.ja.set(t.subarray(0,Math.min(r,n.ka))),n.ka=r}},ha:{oa:function(n){var r={};return r.lb=8192==(61440&n.mode)?n.id:1,r.Sa=n.id,r.mode=n.mode,r.yb=1,r.uid=0,r.mb=0,r.Ea=n.Ea,16384==(61440&n.mode)?r.size=4096:32768==(61440&n.mode)?r.size=n.ka:40960==(61440&n.mode)?r.size=n.link.length:r.size=0,r.gb=new Date(n.timestamp),r.wb=new Date(n.timestamp),r.kb=new Date(n.timestamp),r.hb=4096,r.ib=Math.ceil(r.size/r.hb),r},ra:function(n,r){void 0!==r.mode&&(n.mode=r.mode),void 0!==r.timestamp&&(n.timestamp=r.timestamp),void 0!==r.size&&vn.Ab(n,r.size)},Da:function(){throw jn[44]},Ha:function(n,r,t,e){return vn.createNode(n,r,t,e)},cb:function(n,r,t){if(16384==(61440&n.mode)){try{var e=Fn(r,t)}catch(n){}if(e)for(var a in e.ja)throw new kn(55)}delete n.parent.ja[n.name],n.parent.timestamp=Date.now(),n.name=t,r.ja[t]=n,r.timestamp=n.parent.timestamp,n.parent=r},Pa:function(n,r){delete n.ja[r],n.timestamp=Date.now()},Ka:function(n,r){var t,e=Fn(n,r);for(t in e.ja)throw new kn(55);delete n.ja[r],n.timestamp=Date.now()},bb:function(n){var r,t=[".",".."];for(r in n.ja)n.ja.hasOwnProperty(r)&&t.push(r);return t},Ma:function(n,r,t){return(n=vn.createNode(n,r,41471,0)).link=t,n},Fa:function(n){if(40960!=(61440&n.mode))throw new kn(28);return n.link}},ia:{read:function(n,r,t,e,a){var i=n.node.ja;if(a>=n.node.ka)return 0;if(8<(n=Math.min(n.node.ka-a,e))&&i.subarray)r.set(i.subarray(a,a+n),t);else for(e=0;e<n;e++)r[t+e]=i[a+e];return n},write:function(n,r,t,e,a,i){if(r.buffer===_.buffer&&(i=!1),!e)return 0;if((n=n.node).timestamp=Date.now(),r.subarray&&(!n.ja||n.ja.subarray)){if(i)return n.ja=r.subarray(t,t+e),n.ka=e;if(0===n.ka&&0===a)return n.ja=r.slice(t,t+e),n.ka=e;if(a+e<=n.ka)return n.ja.set(r.subarray(t,t+e),a),e}if(vn.Ya(n,a+e),n.ja.subarray&&r.subarray)n.ja.set(r.subarray(t,t+e),a);else for(i=0;i<e;i++)n.ja[a+i]=r[t+i];return n.ka=Math.max(n.ka,a+e),e},xa:function(n,r,t){if(1===t?r+=n.position:2===t&&32768==(61440&n.node.mode)&&(r+=n.node.ka),0>r)throw new kn(28);return r},Wa:function(n,r,t){vn.Ya(n.node,r+t),n.node.ka=Math.max(n.node.ka,r+t)},Ia:function(n,r,t,e,a,i){if(0!==r)throw new kn(28);if(32768!=(61440&n.node.mode))throw new kn(43);if(n=n.node.ja,2&i||n.buffer!==A){if((0<e||e+t<n.length)&&(n=n.subarray?n.subarray(e,e+t):Array.prototype.slice.call(n,e,e+t)),e=!0,t=65536*Math.ceil(t/65536),(i=qr(65536,t))?(k.fill(0,i,i+t),t=i):t=0,!t)throw new kn(48);_.set(n,t)}else e=!1,t=n.byteOffset;return{wa:t,eb:e}},Ja:function(n,r,t,e,a){if(32768!=(61440&n.node.mode))throw new kn(43);return 2&a||vn.ia.write(n,r,0,e,t,!1),0}}},mn=null,yn={},gn=[],bn=1,An=null,_n=!0,kn=null,jn={},Cn=(n,r={})=>{if(!(n=on("/",n)))return{path:"",node:null};if(8<(r=Object.assign({Za:!0,Ua:0},r)).Ua)throw new kn(32);n=rn(n.split("/").filter((n=>!!n)),!1);for(var t=mn,e="/",a=0;a<n.length;a++){var i=a===n.length-1;if(i&&r.parent)break;if(t=Fn(t,n[a]),e=tn(e+"/"+n[a]),t.Aa&&(!i||i&&r.Za)&&(t=t.Aa.root),!i||r.Ga)for(i=0;40960==(61440&t.mode);)if(t=Bn(e),e=on(en(e),t),t=Cn(e,{Ua:r.Ua+1}).node,40<i++)throw new kn(32)}return{path:e,node:t}},En=n=>{for(var r;;){if(n===n.parent)return n=n.ta.ab,r?"/"!==n[n.length-1]?n+"/"+r:n+r:n;r=r?n.name+"/"+r:n.name,n=n.parent}},Tn=(n,r)=>{for(var t=0,e=0;e<r.length;e++)t=(t<<5)-t+r.charCodeAt(e)|0;return(n+t>>>0)%An.length},Mn=n=>{var r=Tn(n.parent.id,n.name);if(An[r]===n)An[r]=n.Ba;else for(r=An[r];r;){if(r.Ba===n){r.Ba=n.Ba;break}r=r.Ba}},Fn=(n,r)=>{var t;if(t=(t=Wn(n,"x"))?t:n.ha.Da?0:2)throw new kn(t,n);for(t=An[Tn(n.id,r)];t;t=t.Ba){var e=t.name;if(t.parent.id===n.id&&e===r)return t}return n.ha.Da(n,r)},Dn=(n,r,t,e)=>(n=new xr(n,r,t,e),r=Tn(n.parent.id,n.name),n.Ba=An[r],An[r]=n),Sn={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},Pn=n=>{var r=["r","w","rw"][3&n];return 512&n&&(r+="w"),r},Wn=(n,r)=>_n?0:!r.includes("r")||292&n.mode?r.includes("w")&&!(146&n.mode)||r.includes("x")&&!(73&n.mode)?2:0:2,xn=(n,r)=>{try{return Fn(n,r),20}catch(n){}return Wn(n,"wx")},On=(n,r,t)=>{try{var e=Fn(n,r)}catch(n){return n.ma}if(n=Wn(n,"wx"))return n;if(t){if(16384!=(61440&e.mode))return 54;if(e===e.parent||"/"===En(e))return 10}else if(16384==(61440&e.mode))return 31;return 0},Rn=(n,r)=>(ln||((ln=function(){this.La={}}).prototype={flags:{get:function(){return this.La.flags},set:function(n){this.La.flags=n}},position:{get Ib(){return this.La.position},set:function(n){this.La.position=n}}}),n=Object.assign(new ln,n),r=((n=0)=>{for(;4096>=n;n++)if(!gn[n])return n;throw new kn(33)})(r),n.va=r,gn[r]=n),Un={open:n=>{n.ia=yn[n.node.Ea].ia,n.ia.open&&n.ia.open(n)},xa:()=>{throw new kn(70)}},In=(n,r)=>{yn[n]={ia:r}},zn=(n,r)=>{var t="/"===r,e=!r;if(t&&mn)throw new kn(10);if(!t&&!e){var a=Cn(r,{Za:!1});if(r=a.path,(a=a.node).Aa)throw new kn(10);if(16384!=(61440&a.mode))throw new kn(54)}r={type:n,Mb:{},ab:r,vb:[]},(n=n.ta(r)).ta=r,r.root=n,t?mn=n:a&&(a.Aa=r,a.ta&&a.ta.vb.push(r))},Hn=(n,r,t)=>{var e=Cn(n,{parent:!0}).node;if(!(n=an(n))||"."===n||".."===n)throw new kn(28);var a=xn(e,n);if(a)throw new kn(a);if(!e.ha.Ha)throw new kn(63);return e.ha.Ha(e,n,r,t)},Yn=(n,r,t)=>{void 0===t&&(t=r,r=438),Hn(n,8192|r,t)},Nn=(n,r)=>{if(!on(n))throw new kn(44);var t=Cn(r,{parent:!0}).node;if(!t)throw new kn(44);r=an(r);var e=xn(t,r);if(e)throw new kn(e);if(!t.ha.Ma)throw new kn(63);t.ha.Ma(t,r,n)},Bn=n=>{if(!(n=Cn(n).node))throw new kn(44);if(!n.ha.Fa)throw new kn(28);return on(En(n.parent),n.ha.Fa(n))},qn=(n,r)=>{if(!(n=Cn(n,{Ga:!r}).node))throw new kn(44);if(!n.ha.oa)throw new kn(63);return n.ha.oa(n)},Vn=n=>qn(n,!0),Ln=(n,t,e)=>{if(""===n)throw new kn(44);if("string"==typeof t){var a=Sn[t];if(void 0===a)throw Error("Unknown file open mode: "+t);t=a}if(e=64&t?4095&(void 0===e?438:e)|32768:0,"object"==typeof n)var i=n;else{n=tn(n);try{i=Cn(n,{Ga:!(131072&t)}).node}catch(n){}}if(a=!1,64&t)if(i){if(128&t)throw new kn(20)}else i=Hn(n,e,0),a=!0;if(!i)throw new kn(44);if(8192==(61440&i.mode)&&(t&=-513),65536&t&&16384!=(61440&i.mode))throw new kn(54);if(!a&&(e=i?40960==(61440&i.mode)?32:16384==(61440&i.mode)&&("r"!==Pn(t)||512&t)?31:Wn(i,Pn(t)):44))throw new kn(e);if(512&t&&!a){if(!(e="string"==typeof(e=i)?Cn(e,{Ga:!0}).node:e).ha.ra)throw new kn(63);if(16384==(61440&e.mode))throw new kn(31);if(32768!=(61440&e.mode))throw new kn(28);if(a=Wn(e,"w"))throw new kn(a);e.ha.ra(e,{size:0,timestamp:Date.now()})}return t&=-131713,(i=Rn({node:i,path:En(i),flags:t,seekable:!0,position:0,ia:i.ia,Gb:[],error:!1})).ia.open&&i.ia.open(i),!r.logReadFiles||1&t||(hn||(hn={}),n in hn||(hn[n]=1)),i},Gn=n=>{if(null===n.va)throw new kn(8);n.Ra&&(n.Ra=null);try{n.ia.close&&n.ia.close(n)}catch(n){throw n}finally{gn[n.va]=null}n.va=null},Jn=(n,r,t)=>{if(null===n.va)throw new kn(8);if(!n.seekable||!n.ia.xa)throw new kn(70);if(0!=t&&1!=t&&2!=t)throw new kn(28);n.position=n.ia.xa(n,r,t),n.Gb=[]},Kn=(n,r,t,e,a)=>{var i=void 0;if(0>e||0>i)throw new kn(28);if(null===n.va)throw new kn(8);if(0==(2097155&n.flags))throw new kn(8);if(16384==(61440&n.node.mode))throw new kn(31);if(!n.ia.write)throw new kn(28);n.seekable&&1024&n.flags&&Jn(n,0,2);var o=void 0!==i;if(o){if(!n.seekable)throw new kn(70)}else i=n.position;return r=n.ia.write(n,r,t,e,i,a),o||(n.position+=r),r},Xn=()=>{kn||((kn=function(n,r){this.node=r,this.Bb=function(n){this.ma=n},this.Bb(n),this.message="FS error"}).prototype=Error(),kn.prototype.constructor=kn,[44].forEach((n=>{jn[n]=new kn(n),jn[n].stack="<generic error, no stack>"})))},$n=(n,r,t)=>{n=tn("/dev/"+n);var e=((n,r)=>{var t=0;return n&&(t|=365),r&&(t|=146),t})(!!r,!!t);cn||(cn=64);var a=cn++<<8|0;In(a,{open:n=>{n.seekable=!1},close:()=>{t&&t.buffer&&t.buffer.length&&t(10)},read:(n,t,e,a)=>{for(var i=0,o=0;o<a;o++){try{var u=r()}catch(n){throw new kn(29)}if(void 0===u&&0===i)throw new kn(6);if(null==u)break;i++,t[e+o]=u}return i&&(n.node.timestamp=Date.now()),i},write:(n,r,e,a)=>{for(var i=0;i<a;i++)try{t(r[e+i])}catch(n){throw new kn(29)}return a&&(n.node.timestamp=Date.now()),i}}),Yn(n,e,a)},Qn={};function Zn(n,r,t){if("/"===r.charAt(0))return r;if(-100===n)n="/";else{if(!(n=gn[n]))throw new kn(8);n=n.path}if(0==r.length){if(!t)throw new kn(44);return n}return tn(n+"/"+r)}function nr(n,r,t){try{var e=n(r)}catch(n){if(n&&n.node&&tn(r)!==tn(En(n.node)))return-54;throw n}return E[t>>2]=e.lb,E[t+4>>2]=0,E[t+8>>2]=e.Sa,E[t+12>>2]=e.mode,E[t+16>>2]=e.yb,E[t+20>>2]=e.uid,E[t+24>>2]=e.mb,E[t+28>>2]=e.Ea,E[t+32>>2]=0,$=[e.size>>>0,(X=e.size,1<=+Math.abs(X)?0<X?(0|Math.min(+Math.floor(X/4294967296),4294967295))>>>0:~~+Math.ceil((X-+(~~X>>>0))/4294967296)>>>0:0)],E[t+40>>2]=$[0],E[t+44>>2]=$[1],E[t+48>>2]=4096,E[t+52>>2]=e.ib,E[t+56>>2]=e.gb.getTime()/1e3|0,E[t+60>>2]=0,E[t+64>>2]=e.wb.getTime()/1e3|0,E[t+68>>2]=0,E[t+72>>2]=e.kb.getTime()/1e3|0,E[t+76>>2]=0,$=[e.Sa>>>0,(X=e.Sa,1<=+Math.abs(X)?0<X?(0|Math.min(+Math.floor(X/4294967296),4294967295))>>>0:~~+Math.ceil((X-+(~~X>>>0))/4294967296)>>>0:0)],E[t+80>>2]=$[0],E[t+84>>2]=$[1],0}var rr=void 0;function tr(){return E[(rr+=4)-4>>2]}function er(n){if(!(n=gn[n]))throw new kn(8);return n}function ar(n){switch(n){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw new TypeError("Unknown type size: "+n)}}var ir=void 0;function or(n){for(var r="";k[n];)r+=ir[k[n++]];return r}var ur={},fr={},sr={};function cr(n){if(void 0===n)return"_unknown";var r=(n=n.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=r&&57>=r?"_"+n:n}function lr(n,r){return n=cr(n),new Function("body","return function "+n+'() {\n "use strict"; return body.apply(this, arguments);\n};\n')(r)}function hr(n){var r=Error,t=lr(n,(function(r){this.name=n,this.message=r,void 0!==(r=Error(r).stack)&&(this.stack=this.toString()+"\n"+r.replace(/^Error(:[^\n]*)?\n/,""))}));return t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message},t}var dr=void 0;function pr(n){throw new dr(n)}var wr=void 0;function vr(n,r,t={}){if(!("argPackAdvance"in r))throw new TypeError("registerType registeredInstance requires argPackAdvance");var e=r.name;if(n||pr('type "'+e+'" must have a positive integer typeid pointer'),fr.hasOwnProperty(n)){if(t.pb)return;pr("Cannot register type '"+e+"' twice")}fr[n]=r,delete sr[n],ur.hasOwnProperty(n)&&(r=ur[n],delete ur[n],r.forEach((n=>n())))}var mr=[],yr=[{},{value:void 0},{value:null},{value:!0},{value:!1}];function gr(n){return this.fromWireType(T[n>>2])}function br(n,r){switch(r){case 2:return function(n){return this.fromWireType(M[n>>2])};case 3:return function(n){return this.fromWireType(F[n>>3])};default:throw new TypeError("Unknown float type: "+n)}}function Ar(n){for(;n.length;){var r=n.pop();n.pop()(r)}}function _r(n,t,e){r.hasOwnProperty(n)?((void 0===e||void 0!==r[n].qa&&void 0!==r[n].qa[e])&&pr("Cannot register public name '"+n+"' twice"),function(n,t){var e=r;if(void 0===e[n].qa){var a=e[n];e[n]=function(){return e[n].qa.hasOwnProperty(arguments.length)||pr("Function '"+t+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+e[n].qa+")!"),e[n].qa[arguments.length].apply(this,arguments)},e[n].qa=[],e[n].qa[a.fb]=a}}(n,n),r.hasOwnProperty(e)&&pr("Cannot register multiple overloads of a function with the same number of arguments ("+e+")!"),r[n].qa[e]=t):(r[n]=t,void 0!==e&&(r[n].Lb=e))}function kr(n,t){var e=(n=or(n)).includes("j")?function(n,t){var e=[];return function(){if(e.length=0,Object.assign(e,arguments),n.includes("j")){var a=r["dynCall_"+n];a=e&&e.length?a.apply(null,[t].concat(e)):a.call(null,t)}else a=I.get(t).apply(null,e);return a}}(n,t):I.get(t);return"function"!=typeof e&&pr("unknown function pointer with signature "+n+": "+t),e}var jr=void 0;function Cr(n){var r=or(n=Nr(n));return Hr(n),r}function Er(n,r,t){switch(r){case 0:return t?function(n){return _[n]}:function(n){return k[n]};case 1:return t?function(n){return j[n>>1]}:function(n){return C[n>>1]};case 2:return t?function(n){return E[n>>2]}:function(n){return T[n>>2]};default:throw new TypeError("Unknown integer type: "+n)}}var Tr,Mr=[],Fr={};function Dr(){if(!Tr){var n,r={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:o||"./this.program"};for(n in Fr)void 0===Fr[n]?delete r[n]:r[n]=Fr[n];var t=[];for(n in r)t.push(n+"="+r[n]);Tr=t}return Tr}function Sr(n){return 0==n%4&&(0!=n%100||0==n%400)}var Pr=[31,29,31,30,31,30,31,31,30,31,30,31],Wr=[31,28,31,30,31,30,31,31,30,31,30,31];function xr(n,r,t,e){n||(n=this),this.parent=n,this.ta=n.ta,this.Aa=null,this.id=bn++,this.name=r,this.mode=t,this.ha={},this.ia={},this.Ea=e}Object.defineProperties(xr.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(n){n?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(n){n?this.mode|=146:this.mode&=-147}}}),Xn(),An=Array(4096),zn(vn,"/"),Hn("/tmp",16895,0),Hn("/home",16895,0),Hn("/home/web_user",16895,0),(()=>{Hn("/dev",16895,0),In(259,{read:()=>0,write:(n,r,t,e)=>e}),Yn("/dev/null",259),fn(1280,pn),fn(1536,wn),Yn("/dev/tty",1280),Yn("/dev/tty1",1536);var n=function(){if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues){var n=new Uint8Array(1);return function(){return crypto.getRandomValues(n),n[0]}}return function(){L("randomDevice")}}();$n("random",n),$n("urandom",n),Hn("/dev/shm",16895,0),Hn("/dev/shm/tmp",16895,0)})(),(()=>{Hn("/proc",16895,0);var n=Hn("/proc/self",16895,0);Hn("/proc/self/fd",16895,0),zn({ta:()=>{var r=Dn(n,"fd",16895,73);return r.ha={Da:(n,r)=>{var t=gn[+r];if(!t)throw new kn(8);return(n={parent:null,ta:{ab:"fake"},ha:{Fa:()=>t.path}}).parent=n}},r}},"/proc/self/fd")})();for(var Or=Array(256),Rr=0;256>Rr;++Rr)Or[Rr]=String.fromCharCode(Rr);function Ur(n,r){var t=Array(b(n)+1);return n=g(n,t,0,t.length),r&&(t.length=n),t}ir=Or,dr=r.BindingError=hr("BindingError"),wr=r.InternalError=hr("InternalError"),r.count_emval_handles=function(){for(var n=0,r=5;r<yr.length;++r)void 0!==yr[r]&&++n;return n},r.get_first_emval=function(){for(var n=5;n<yr.length;++n)if(void 0!==yr[n])return yr[n];return null},jr=r.UnboundTypeError=hr("UnboundTypeError");var Ir={a:function(n,r,t,e){L("Assertion failed: "+y(n)+", at: "+[r?y(r):"unknown filename",t,e?y(e):"unknown function"])},f:function(n){return zr(n+24)+24},e:function(n,r,t){throw new nn(n).nb(r,t),n},K:function(n,r,t){try{if(r=Zn(n,r=y(r)),-8&t)return-28;var e=Cn(r,{Ga:!0}).node;return e?(n="",4&t&&(n+="r"),2&t&&(n+="w"),1&t&&(n+="x"),n&&Wn(e,n)?-2:0):-44}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return-n.ma}},n:function(n,r,t){rr=t;try{var e=er(n);switch(r){case 0:var a=tr();return 0>a?-28:Rn(e,a).va;case 1:case 2:case 6:case 7:return 0;case 3:return e.flags;case 4:return a=tr(),e.flags|=a,0;case 5:return a=tr(),j[a+0>>1]=2,0;case 16:case 8:default:return-28;case 9:return E[Yr()>>2]=28,-1}}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return-n.ma}},G:function(n,r){try{var t=er(n);return nr(qn,t.path,r)}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return-n.ma}},I:function(n,r,t){rr=t;try{var e=er(n);switch(r){case 21509:case 21505:case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:case 21523:case 21524:return e.la?0:-59;case 21519:if(!e.la)return-59;var a=tr();return E[a>>2]=0;case 21520:return e.la?-28:-59;case 21531:if(n=a=tr(),!e.ia.qb)throw new kn(59);return e.ia.qb(e,r,n);default:L("bad ioctl syscall "+r)}}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return-n.ma}},E:function(n,r,t,e){try{r=y(r);var a=256&e;return r=Zn(n,r,4096&e),nr(a?Vn:qn,r,t)}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return-n.ma}},o:function(n,r,t,e){rr=e;try{r=Zn(n,r=y(r));var a=e?tr():0;return Ln(r,t,a).va}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return-n.ma}},F:function(n,r){try{return n=y(n),nr(qn,n,r)}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return-n.ma}},z:function(n,r,t){try{if(r=Zn(n,r=y(r)),0===t){var e=r,a=Cn(e,{parent:!0}).node;if(!a)throw new kn(44);var i=an(e),o=Fn(a,i),u=On(a,i,!1);if(u)throw new kn(u);if(!a.ha.Pa)throw new kn(63);if(o.Aa)throw new kn(10);a.ha.Pa(a,i),Mn(o)}else if(512===t){e=Cn(a=r,{parent:!0}).node;var f=an(a),s=Fn(e,f),c=On(e,f,!0);if(c)throw new kn(c);if(!e.ha.Ka)throw new kn(63);if(s.Aa)throw new kn(10);e.ha.Ka(e,f),Mn(s)}else L("Invalid flags passed to unlinkat");return 0}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return-n.ma}},v:function(){},M:function(n,r,t,e,a){var i=ar(t);vr(n,{name:r=or(r),fromWireType:function(n){return!!n},toWireType:function(n,r){return r?e:a},argPackAdvance:8,readValueFromPointer:function(n){if(1===t)var e=_;else if(2===t)e=j;else{if(4!==t)throw new TypeError("Unknown boolean type size: "+r);e=E}return this.fromWireType(e[n>>i])},ua:null})},L:function(n,r){vr(n,{name:r=or(r),fromWireType:function(n){n||pr("Cannot use deleted val. handle = "+n);var r=yr[n].value;return 4<n&&0==--yr[n].zb&&(yr[n]=void 0,mr.push(n)),r},toWireType:function(n,r){return(n=>{switch(n){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var r=mr.length?mr.pop():yr.length;return yr[r]={zb:1,value:n},r}})(r)},argPackAdvance:8,readValueFromPointer:gr,ua:null})},r:function(n,r,t){t=ar(t),vr(n,{name:r=or(r),fromWireType:function(n){return n},toWireType:function(n,r){return r},argPackAdvance:8,readValueFromPointer:br(r,t),ua:null})},h:function(n,t,e,a,i,o){var u=function(n,r){for(var t=[],e=0;e<n;e++)t.push(E[(r>>2)+e]);return t}(t,e);n=or(n),i=kr(a,i),_r(n,(function(){!function(n,r){var t=[],e={};throw r.forEach((function n(r){e[r]||fr[r]||(sr[r]?sr[r].forEach(n):(t.push(r),e[r]=!0))})),new jr(n+": "+t.map(Cr).join([", "]))}("Cannot call "+n+" due to unbound types",u)}),t-1),function(n,r){function t(n){if((n=r(n)).length!==e.length)throw new wr("Mismatched type converter count");for(var t=0;t<e.length;++t)vr(e[t],n[t])}var e=[];e.forEach((function(r){sr[r]=n}));var a=Array(n.length),i=[],o=0;n.forEach(((n,r)=>{fr.hasOwnProperty(n)?a[r]=fr[n]:(i.push(n),ur.hasOwnProperty(n)||(ur[n]=[]),ur[n].push((()=>{a[r]=fr[n],++o===i.length&&t(a)})))})),0===i.length&&t(a)}(u,(function(e){var a=n,u=n;e=[e[0],null].concat(e.slice(1));var f=i,s=e.length;2>s&&pr("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var c=null!==e[1]&&!1,l=!1,h=1;h<e.length;++h)if(null!==e[h]&&void 0===e[h].ua){l=!0;break}var d="void"!==e[0].name,p="",w="";for(h=0;h<s-2;++h)p+=(0!==h?", ":"")+"arg"+h,w+=(0!==h?", ":"")+"arg"+h+"Wired";u="return function "+cr(u)+"("+p+") {\nif (arguments.length !== "+(s-2)+") {\nthrowBindingError('function "+u+" called with ' + arguments.length + ' arguments, expected "+(s-2)+" args!');\n}\n",l&&(u+="var destructors = [];\n");var v=l?"destructors":"null";for(p="throwBindingError invoker fn runDestructors retType classParam".split(" "),f=[pr,f,o,Ar,e[0],e[1]],c&&(u+="var thisWired = classParam.toWireType("+v+", this);\n"),h=0;h<s-2;++h)u+="var arg"+h+"Wired = argType"+h+".toWireType("+v+", arg"+h+"); // "+e[h+2].name+"\n",p.push("argType"+h),f.push(e[h+2]);if(c&&(w="thisWired"+(0<w.length?", ":"")+w),u+=(d?"var rv = ":"")+"invoker(fn"+(0<w.length?", ":"")+w+");\n",l)u+="runDestructors(destructors);\n";else for(h=c?1:2;h<e.length;++h)s=1===h?"thisWired":"arg"+(h-2)+"Wired",null!==e[h].ua&&(u+=s+"_dtor("+s+"); // "+e[h].name+"\n",p.push(s+"_dtor"),f.push(e[h].ua));if(d&&(u+="var ret = retType.fromWireType(rv);\nreturn ret;\n"),p.push(u+"}\n"),e=function(n){var r=Function;if(!(r instanceof Function))throw new TypeError("new_ called with constructor type "+typeof r+" which is not a function");var t=lr(r.name||"unknownFunctionName",(function(){}));return t.prototype=r.prototype,t=new t,(n=r.apply(t,n))instanceof Object?n:t}(p).apply(null,f),h=t-1,!r.hasOwnProperty(a))throw new wr("Replacing nonexistant public symbol");return void 0!==r[a].qa&&void 0!==h?r[a].qa[h]=e:(r[a]=e,r[a].fb=h),[]}))},c:function(n,r,t,e,a){r=or(r),-1===a&&(a=4294967295),a=ar(t);var i=n=>n;if(0===e){var o=32-8*t;i=n=>n<<o>>>o}t=r.includes("unsigned")?function(n,r){return r>>>0}:function(n,r){return r},vr(n,{name:r,fromWireType:i,toWireType:t,argPackAdvance:8,readValueFromPointer:Er(r,a,0!==e),ua:null})},b:function(n,r,t){function e(n){var r=T;return new a(A,r[1+(n>>=2)],r[n])}var a=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][r];vr(n,{name:t=or(t),fromWireType:e,argPackAdvance:8,readValueFromPointer:e},{pb:!0})},q:function(n,r){var t="std::string"===(r=or(r));vr(n,{name:r,fromWireType:function(n){var r=T[n>>2];if(t)for(var e=n+4,a=0;a<=r;++a){var i=n+4+a;if(a==r||0==k[i]){if(e=y(e,i-e),void 0===o)var o=e;else o+=String.fromCharCode(0),o+=e;e=i+1}}else{for(o=Array(r),a=0;a<r;++a)o[a]=String.fromCharCode(k[n+4+a]);o=o.join("")}return Hr(n),o},toWireType:function(n,r){r instanceof ArrayBuffer&&(r=new Uint8Array(r));var e="string"==typeof r;e||r instanceof Uint8Array||r instanceof Uint8ClampedArray||r instanceof Int8Array||pr("Cannot pass non-string to std::string");var a=(t&&e?()=>b(r):()=>r.length)(),i=zr(4+a+1);if(T[i>>2]=a,t&&e)g(r,k,i+4,a+1);else if(e)for(e=0;e<a;++e){var o=r.charCodeAt(e);255<o&&(Hr(i),pr("String has UTF-16 code units that do not fit in 8 bits")),k[i+4+e]=o}else for(e=0;e<a;++e)k[i+4+e]=r[e];return null!==n&&n.push(Hr,i),i},argPackAdvance:8,readValueFromPointer:gr,ua:function(n){Hr(n)}})},k:function(n,r,t){if(t=or(t),2===r)var e=S,a=P,i=W,o=()=>C,u=1;else 4===r&&(e=x,a=O,i=R,o=()=>T,u=2);vr(n,{name:t,fromWireType:function(n){for(var t,a=T[n>>2],i=o(),f=n+4,s=0;s<=a;++s){var c=n+4+s*r;s!=a&&0!=i[c>>u]||(f=e(f,c-f),void 0===t?t=f:(t+=String.fromCharCode(0),t+=f),f=c+r)}return Hr(n),t},toWireType:function(n,e){"string"!=typeof e&&pr("Cannot pass non-string to C++ string type "+t);var o=i(e),f=zr(4+o+r);return T[f>>2]=o>>u,a(e,f+4,o+r),null!==n&&n.push(Hr,f),f},argPackAdvance:8,readValueFromPointer:gr,ua:function(n){Hr(n)}})},N:function(n,r){vr(n,{Kb:!0,name:r=or(r),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},p:function(){return Date.now()},J:function(){return!0},x:function(){throw 1/0},A:function(n,r,t,e,a,i,o){try{var u=gn[a];if(!u)return-8;if(0!=(2&t)&&0==(2&e)&&2!=(2097155&u.flags))throw new kn(2);if(1==(2097155&u.flags))throw new kn(2);if(!u.ia.Ia)throw new kn(43);var f=u.ia.Ia(u,n,r,i,t,e),s=f.wa;return E[o>>2]=f.eb,s}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return-n.ma}},B:function(n,r,t,e,a,i){try{var o=gn[a];o&&2&t&&o&&o.ia.Ja&&o.ia.Ja(o,k.slice(n,n+r),i,r,e)}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return-n.ma}},l:function(){L("")},O:function(n,r,t){var e;for(Mr.length=0,t>>=2;e=k[r++];)t+=105!=e&t,Mr.push(105==e?E[t]:F[t++>>1]),++t;return Q[n].apply(null,Mr)},y:function(n){var r=k.length;if(2147483648<(n>>>=0))return!1;for(var t=1;4>=t;t*=2){var e=r*(1+.2/t);e=Math.min(e,n+100663296);var a=Math;e=Math.max(n,e),a=a.min.call(a,2147483648,e+(65536-e%65536)%65536);n:{try{p.grow(a-A.byteLength+65535>>>16),U();var i=1;break n}catch(n){}i=void 0}if(i)return!0}return!1},C:function(n,r){var t=0;return Dr().forEach((function(e,a){var i=r+t;for(a=E[n+4*a>>2]=i,i=0;i<e.length;++i)_[a++>>0]=e.charCodeAt(i);_[a>>0]=0,t+=e.length+1})),0},D:function(n,r){var t=Dr();E[n>>2]=t.length;var e=0;return t.forEach((function(n){e+=n.length+1})),E[r>>2]=e,0},i:function(n){d||(r.onExit&&r.onExit(n),w=!0),u(n,new Jr(n))},j:function(n){try{var r=er(n);return Gn(r),0}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return n.ma}},H:function(n,r,t,e){try{n:{var a=er(n);n=r;for(var i=r=0;i<t;i++){var o=T[n>>2],u=T[n+4>>2];n+=8;var f=a,s=o,c=u,l=void 0,h=_;if(0>c||0>l)throw new kn(28);if(null===f.va)throw new kn(8);if(1==(2097155&f.flags))throw new kn(8);if(16384==(61440&f.node.mode))throw new kn(31);if(!f.ia.read)throw new kn(28);var d=void 0!==l;if(d){if(!f.seekable)throw new kn(70)}else l=f.position;var p=f.ia.read(f,h,s,c,l);d||(f.position+=p);var w=p;if(0>w){var v=-1;break n}if(r+=w,w<u)break}v=r}return E[e>>2]=v,0}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return n.ma}},u:function(n,r,t,e,a){try{var i=er(n);return-9007199254740992>=(n=4294967296*t+(r>>>0))||9007199254740992<=n?61:(Jn(i,n,e),$=[i.position>>>0,(X=i.position,1<=+Math.abs(X)?0<X?(0|Math.min(+Math.floor(X/4294967296),4294967295))>>>0:~~+Math.ceil((X-+(~~X>>>0))/4294967296)>>>0:0)],E[a>>2]=$[0],E[a+4>>2]=$[1],i.Ra&&0===n&&0===e&&(i.Ra=null),0)}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return n.ma}},m:function(n,r,t,e){try{n:{var a=er(n);n=r;for(var i=r=0;i<t;i++){var o=T[n>>2],u=T[n+4>>2];n+=8;var f=Kn(a,_,o,u);if(0>f){var s=-1;break n}r+=f}s=r}return E[e>>2]=s,0}catch(n){if(void 0===Qn||!(n instanceof kn))throw n;return n.ma}},g:function(){return h},s:function(n,r,t,e,a,i,o){var u=Lr();try{return I.get(n)(r,t,e,a,i,o)}catch(n){if(Gr(u),n!==n+0)throw n;Vr(1,0)}},t:function(n,r){var t=Lr();try{I.get(n)(r)}catch(n){if(Gr(t),n!==n+0)throw n;Vr(1,0)}},d:function(n){h=n},w:function(n,r,t,e){return function(n,r,t,e){function a(n,r,t){for(n="number"==typeof n?n.toString():n||"";n.length<r;)n=t[0]+n;return n}function i(n,r){return a(n,r,"0")}function o(n,r){function t(n){return 0>n?-1:0<n?1:0}var e;return 0===(e=t(n.getFullYear()-r.getFullYear()))&&0===(e=t(n.getMonth()-r.getMonth()))&&(e=t(n.getDate()-r.getDate())),e}function u(n){switch(n.getDay()){case 0:return new Date(n.getFullYear()-1,11,29);case 1:return n;case 2:return new Date(n.getFullYear(),0,3);case 3:return new Date(n.getFullYear(),0,2);case 4:return new Date(n.getFullYear(),0,1);case 5:return new Date(n.getFullYear()-1,11,31);case 6:return new Date(n.getFullYear()-1,11,30)}}function f(n){var r=n.ya;for(n=new Date(new Date(n.za+1900,0,1).getTime());0<r;){var t=n.getMonth(),e=(Sr(n.getFullYear())?Pr:Wr)[t];if(!(r>e-n.getDate())){n.setDate(n.getDate()+r);break}r-=e-n.getDate()+1,n.setDate(1),11>t?n.setMonth(t+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1))}return t=new Date(n.getFullYear()+1,0,4),r=u(new Date(n.getFullYear(),0,4)),t=u(t),0>=o(r,n)?0>=o(t,n)?n.getFullYear()+1:n.getFullYear():n.getFullYear()-1}var s=E[e+40>>2];for(var c in e={Eb:E[e>>2],Db:E[e+4>>2],Na:E[e+8>>2],Va:E[e+12>>2],Oa:E[e+16>>2],za:E[e+20>>2],sa:E[e+24>>2],ya:E[e+28>>2],Nb:E[e+32>>2],Cb:E[e+36>>2],Fb:s?y(s):""},t=y(t),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})t=t.replace(new RegExp(c,"g"),s[c]);var l="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),h="January February March April May June July August September October November December".split(" ");for(c in s={"%a":function(n){return l[n.sa].substring(0,3)},"%A":function(n){return l[n.sa]},"%b":function(n){return h[n.Oa].substring(0,3)},"%B":function(n){return h[n.Oa]},"%C":function(n){return i((n.za+1900)/100|0,2)},"%d":function(n){return i(n.Va,2)},"%e":function(n){return a(n.Va,2," ")},"%g":function(n){return f(n).toString().substring(2)},"%G":function(n){return f(n)},"%H":function(n){return i(n.Na,2)},"%I":function(n){return 0==(n=n.Na)?n=12:12<n&&(n-=12),i(n,2)},"%j":function(n){for(var r=0,t=0;t<=n.Oa-1;r+=(Sr(n.za+1900)?Pr:Wr)[t++]);return i(n.Va+r,3)},"%m":function(n){return i(n.Oa+1,2)},"%M":function(n){return i(n.Db,2)},"%n":function(){return"\n"},"%p":function(n){return 0<=n.Na&&12>n.Na?"AM":"PM"},"%S":function(n){return i(n.Eb,2)},"%t":function(){return"\t"},"%u":function(n){return n.sa||7},"%U":function(n){return i(Math.floor((n.ya+7-n.sa)/7),2)},"%V":function(n){var r=Math.floor((n.ya+7-(n.sa+6)%7)/7);if(2>=(n.sa+371-n.ya-2)%7&&r++,r)53==r&&(4==(t=(n.sa+371-n.ya)%7)||3==t&&Sr(n.za)||(r=1));else{r=52;var t=(n.sa+7-n.ya-1)%7;(4==t||5==t&&Sr(n.za%400-1))&&r++}return i(r,2)},"%w":function(n){return n.sa},"%W":function(n){return i(Math.floor((n.ya+7-(n.sa+6)%7)/7),2)},"%y":function(n){return(n.za+1900).toString().substring(2)},"%Y":function(n){return n.za+1900},"%z":function(n){var r=0<=(n=n.Cb);return n=Math.abs(n)/60,(r?"+":"-")+String("0000"+(n/60*100+n%60)).slice(-4)},"%Z":function(n){return n.Fb},"%%":function(){return"%"}},t=t.replace(/%%/g,"\0\0"),s)t.includes(c)&&(t=t.replace(new RegExp(c,"g"),s[c](e)));return(c=Ur(t=t.replace(/\0\0/g,"%"),!1)).length>r?0:(_.set(c,n),c.length-1)}(n,r,t,e)}};!function(){function n(n){r.asm=n.exports,p=r.asm.P,U(),I=r.asm.S,H.unshift(r.asm.Q),q--,r.monitorRunDependencies&&r.monitorRunDependencies(q),0==q&&V&&(n=V,V=null,n())}function t(r){n(r.instance)}function a(n){return(l||"function"!=typeof fetch?Promise.resolve().then((function(){return K()})):fetch(B,{credentials:"same-origin"}).then((function(n){if(!n.ok)throw"failed to load wasm binary file at '"+B+"'";return n.arrayBuffer()})).catch((function(){return K()}))).then((function(n){return WebAssembly.instantiate(n,i)})).then((function(n){return n})).then(n,(function(n){c("failed to asynchronously prepare wasm: "+n),L(n)}))}var i={a:Ir};if(q++,r.monitorRunDependencies&&r.monitorRunDependencies(q),r.instantiateWasm)try{return r.instantiateWasm(i,n)}catch(n){return c("Module.instantiateWasm callback failed with error: "+n),!1}(l||"function"!=typeof WebAssembly.instantiateStreaming||G()||"function"!=typeof fetch?a(t):fetch(B,{credentials:"same-origin"}).then((function(n){return WebAssembly.instantiateStreaming(n,i).then(t,(function(n){return c("wasm streaming compile failed: "+n),c("falling back to ArrayBuffer instantiation"),a(t)}))}))).catch(e)}(),r.___wasm_call_ctors=function(){return(r.___wasm_call_ctors=r.asm.Q).apply(null,arguments)};var zr=r._malloc=function(){return(zr=r._malloc=r.asm.R).apply(null,arguments)},Hr=r._free=function(){return(Hr=r._free=r.asm.T).apply(null,arguments)},Yr=r.___errno_location=function(){return(Yr=r.___errno_location=r.asm.U).apply(null,arguments)},Nr=r.___getTypeName=function(){return(Nr=r.___getTypeName=r.asm.V).apply(null,arguments)};r.___embind_register_native_and_builtin_types=function(){return(r.___embind_register_native_and_builtin_types=r.asm.W).apply(null,arguments)};var Br,qr=r._emscripten_builtin_memalign=function(){return(qr=r._emscripten_builtin_memalign=r.asm.X).apply(null,arguments)},Vr=r._setThrew=function(){return(Vr=r._setThrew=r.asm.Y).apply(null,arguments)},Lr=r.stackSave=function(){return(Lr=r.stackSave=r.asm.Z).apply(null,arguments)},Gr=r.stackRestore=function(){return(Gr=r.stackRestore=r.asm._).apply(null,arguments)};function Jr(n){this.name="ExitStatus",this.message="Program terminated with exit("+n+")",this.status=n}function Kr(){function n(){if(!Br&&(Br=!0,r.calledRun=!0,!w)){if(r.noFSInit||sn||(sn=!0,Xn(),r.stdin=r.stdin,r.stdout=r.stdout,r.stderr=r.stderr,r.stdin?$n("stdin",r.stdin):Nn("/dev/tty","/dev/stdin"),r.stdout?$n("stdout",null,r.stdout):Nn("/dev/tty","/dev/stdout"),r.stderr?$n("stderr",null,r.stderr):Nn("/dev/tty1","/dev/stderr"),Ln("/dev/stdin",0),Ln("/dev/stdout",1),Ln("/dev/stderr",1)),_n=!1,Z(H),t(r),r.onRuntimeInitialized&&r.onRuntimeInitialized(),r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;){var n=r.postRun.shift();Y.unshift(n)}Z(Y)}}if(!(0<q)){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)N();Z(z),0<q||(r.setStatus?(r.setStatus("Running..."),setTimeout((function(){setTimeout((function(){r.setStatus("")}),1),n()}),1)):n())}}if(r.___cxa_is_pointer_type=function(){return(r.___cxa_is_pointer_type=r.asm.$).apply(null,arguments)},r.dynCall_iiij=function(){return(r.dynCall_iiij=r.asm.aa).apply(null,arguments)},r.dynCall_viij=function(){return(r.dynCall_viij=r.asm.ba).apply(null,arguments)},r.dynCall_jiji=function(){return(r.dynCall_jiji=r.asm.ca).apply(null,arguments)},r.dynCall_viijii=function(){return(r.dynCall_viijii=r.asm.da).apply(null,arguments)},r.dynCall_iiiiij=function(){return(r.dynCall_iiiiij=r.asm.ea).apply(null,arguments)},r.dynCall_iiiiijj=function(){return(r.dynCall_iiiiijj=r.asm.fa).apply(null,arguments)},r.dynCall_iiiiiijj=function(){return(r.dynCall_iiiiiijj=r.asm.ga).apply(null,arguments)},V=function n(){Br||Kr(),Br||(V=n)},r.run=Kr,r.preInit)for("function"==typeof r.preInit&&(r.preInit=[r.preInit]);0<r.preInit.length;)r.preInit.pop()();return Kr(),n.ready};let r,t,e;function a(r){const{id:a,src:i,options:o}=r.data;return async function(){return void 0===e&&(e=await t.then(n)),e}().then((n=>{const r=function(n,r,t){for(const{path:r,data:e}of t.files)n.vizCreateFile(r,e);n.vizSetY_invert(t.yInvert?1:0),n.vizSetNop(t.nop||0);const e=n.vizRenderFromString(r,t.format,t.engine),a=n.vizLastErrorMessage();if(""!==a)throw new Error(a);return e}(n,i,o);postMessage({id:a,result:r})})).catch((n=>{const r=n instanceof Error?{message:n.message,fileName:n.fileName,lineNumber:n.lineNumber,stack:n.stack}:{message:n.toString()};postMessage({id:a,error:r})}))}t=Promise.resolve({}),r=n=>t=Promise.resolve(n),addEventListener("message",a);var i=r;export{i as default,a as onmessage}; |
{ | ||
"name": "@aduh95/viz.js", | ||
"version": "3.5.0", | ||
"version": "3.6.0", | ||
"description": "A hack to put Graphviz on the web.", | ||
@@ -59,12 +59,13 @@ "main": "./dist/index.cjs", | ||
"homepage": "https://github.com/aduh95/viz.js", | ||
"packageManager": "yarn@3.2.0", | ||
"devDependencies": { | ||
"@types/node": "^16.0.0", | ||
"@typescript-eslint/eslint-plugin": "^4.1.0", | ||
"@typescript-eslint/parser": "^4.1.0", | ||
"eslint": "^7.0.0", | ||
"@types/node": "^17.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.0.0", | ||
"@typescript-eslint/parser": "^5.0.0", | ||
"eslint": "^8.0.0", | ||
"eslint-config-prettier": "^8.0.0", | ||
"eslint-plugin-prettier": "^3.1.3", | ||
"mocha": "^9.0.1", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"mocha": "^10.0.0", | ||
"prettier": "^2.0.4", | ||
"puppeteer": "^10.0.0", | ||
"puppeteer": "^13.0.0", | ||
"rollup": "^2.4.0", | ||
@@ -71,0 +72,0 @@ "semver": "^7.3.2", |
@@ -265,5 +265,6 @@ # Viz.js | ||
To build from source, first | ||
[install the Emscripten SDK](https://emscripten.org/docs/getting_started/index.html). | ||
You'll also need [Node.js 13+](https://nodejs.org/) and | ||
[Deno](https://deno.land/) to run the tests. | ||
[install the Emscripten SDK](https://emscripten.org/docs/getting_started/index.html) | ||
and [Corepack](https://github.com/nodejs/corepack). You'll also need | ||
[Node.js 14+](https://nodejs.org/) and [Deno](https://deno.land/) to run the | ||
tests. | ||
@@ -270,0 +271,0 @@ Using Homebrew (macOS or GNU/Linux): |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
289
2700156
7085