// Generated by js_of_ocaml 3.8.0 (function(i){"use strict";var gP="Invalid_argument",g5=",",dP=1255,gs=255,g4=0x800,gr="range",dO="jsError",an=0x8000,gO="%ni",bT=256,hm=-646333223,dN=180.,gp="unsupported bigarray kind",gq="End_of_file",go="Failure",aA=0xff,hl=122,gN=224465929,g3=-577755674,gM="height",S="0",dV=0xf,gn=30.,d2=0.66666666666666663,bV=128,gl=-48,gm=0xdc00,gK="Sys_blocked_io",gL="p",hk="fd ",bQ=781515427,v=248,hj=0.017453292519943295,gJ=3954798,gk="bigarray kind can't be represented by a Gg.Ba.scalar_type",A="camlinternalFormat.ml",g2="Division_by_zero",hi=">",hh=1027,gj="Sys_error",dT=246,gH="Column out of bounds.",gI="%u",g1="%d",aX="shapes/matrix/Matrix.ml",g0="buffer.ml",cv="int_of_string",hg="_bigarray",dS=127,bP=1024,hf="1",d1="e",gh=120,gi=103,gG=" : flags Open_rdonly and Open_wronly are not compatible",he="d",hd="([^/]*)",dM=512,a0="-",gg=0x7ff0,gF=" : file already exists",gZ="min",bS="#eceff4",bO=-280577236,az=0xffffff,gY=-5.,gf="0x",ge=527250507,hc="Out_of_memory",T=254,hb="fas",d0="index out of bounds",cx=100,dZ="_bigarr02",gd="%Li",gX=" : flags Open_text and Open_binary are not compatible",gE="#81a1c1",bR=0.5,ao=0xffff,aZ=10.,gc="input",gD=12520,gW="Unix.Unix_error",ha="infinity",bN=1000,gC="Row out of bounds.",f="",gV="Stack_overflow",gb=278237447,dR="^",gB="fill",bm=0x3f,gU=-97,gT="Not_found",gA="Match_failure",ga="static/",dY="src/note.ml",gS=736757319,dX=252,aY=848053268,gR=1000.,f$="stroke",a1=".",bl="+",g$=0xf0,bU=0.3,g_="width",gz="%li",gQ=1026,g9="max",gy=-641915856,g8=-32,ae=" ",af=0x80,f_="Undefined_recursive_module",dQ="nan",g7="100%",gx="#2e3440",dW="value",gw=0xe0,gv=906998707,cu="Set.bal",gu=0xdfff,ay="/",dU="compare: functional value",g6="Assert_failure",f9="%i",gt=1073741823,cw=250;function hO(b,a){throw[0,b,a]}var u=[0];function n0(b,c){function f(a){hO(u.Undefined_recursive_module,b)}function e(b,c,a){if(typeof b==="number")switch(b){case 0:c[a]={fun:f};break;case 1:c[a]=[dT,f];break;default:c[a]=[]}else switch(b[0]){case 0:c[a]=[0];for(var d=1;d>=1;if(b==0)return d;a+=a;c++;if(c==9)a.slice(0,1)}}function cF(c,b,a){var d=String.fromCharCode;if(b==0&&a<=4096&&a==c.length)return d.apply(null,c);var e=f;for(;0dS)return false;return true}else return!/[^\x00-\x7f]/.test(a)}function ef(e){for(var k=f,c=f,h,g,i,a,b=0,j=e.length;bdM){c.substr(0,1);k+=c;c=f;k+=e.slice(b,d)}else c+=e.slice(b,d);if(d==j)break;b=d}a=1;if(++b=0xd7ff&&a<0xe000)a=2}else{a=3;if(++b0x10ffff)a=3}}}}}if(a<4){b-=a;c+="\ufffd"}else if(a>ao)c+=String.fromCharCode(0xd7c0+(a>>10),gm+(a&0x3FF));else c+=String.fromCharCode(a);if(c.length>bP){c.substr(0,1);k+=c;c=f}}return k+c}function aB(c,a,b){this.t=c;this.c=a;this.l=b}aB.prototype.toString=function(){switch(this.t){case 9:return this.c;default:aN(this);case 0:if(hU(this.c)){this.t=9;return this.c}this.t=8;case 8:return this.c}};aB.prototype.toUtf16=function(){var a=this.toString();if(this.t==9)return a;return ef(a)};aB.prototype.slice=function(){var a=this.t==4?this.c.slice():this.c;return new aB(this.t,a,this.l)};function hy(a){return new aB(0,a,a.length)}function b(a){return hy(a)}function ed(c,a){hO(c,b(a))}function C(a){ed(u.Invalid_argument,a)}function bo(){C(d0)}function hp(b,a){if(a<0||a>=b.length-1)bo();return b[a+1]}function n3(e,f,d){var a=new Array(d+1);a[0]=0;for(var b=1,c=f+1;b<=d;b++,c++)a[b]=e[c];return a}function cy(b){if(i.Uint8Array)var c=new(i.Uint8Array)(b.l);else var c=new Array(b.l);var e=b.c,d=e.length,a=0;for(;a=b.l||b.t==2&&c>=b.c.length)){b.c=d.t==4?cF(d.c,e,c):e==0&&d.c.length==c?d.c:d.c.substr(e,c);b.t=b.c.length==b.l?0:2}else if(b.t==2&&f==b.c.length){b.c+=d.t==4?cF(d.c,e,c):e==0&&d.c.length==c?d.c:d.c.substr(e,c);b.t=b.c.length==b.l?0:2}else{if(b.t!=4)cy(b);var g=d.c,h=b.c;if(d.t==4)if(f<=e)for(var a=0;a=0;a--)h[f+a]=g[e+a];else{var i=Math.min(c,g.length-e);for(var a=0;a>>0>=b.l)hw();return w(b,a,c)}function bW(a,b){switch(a.t&6){default:if(b>=a.c.length)return 0;case 0:return a.c.charCodeAt(b);case 4:return a.c[b]}}function aM(c,a){if(c.fun)return aM(c.fun,a);if(typeof c!=="function")return c;var b=c.length|0;if(b===0)return c.apply(null,a);var e=a.length|0,d=b-e|0;if(d==0)return c.apply(null,a);else if(d<0)return aM(c.apply(null,a.slice(0,b)),a.slice(b));else return function(){var e=arguments.length==0?1:arguments.length,d=new Array(a.length+e);for(var b=0;b>>0>=a.length-1)bo();return a}function n_(a){if(isFinite(a)){if(Math.abs(a)>=2.2250738585072014e-308)return 0;if(a!=0)return 1;return 2}return isNaN(a)?4:3}function B(a){if(a<0)C("Bytes.create");return new aB(a?2:9,f,a)}function as(a){if((a.t&6)!=0)aN(a);return a.c}var o1=Math.log2&&Math.log2(1.1235582092889474E+307)==1020;function o0(a){if(o1)return Math.floor(Math.log2(a));var b=0;if(a==0)return-Infinity;if(a>=1)while(a>=2){a/=2;b++}else while(a<1){a*=2;b--}return b}function d8(c){var a=new(i.Float32Array)(1);a[0]=c;var b=new(i.Int32Array)(a.buffer);return b[0]|0}var hE=Math.pow(2,-24);function hN(a){throw a}function ee(){hN(u.Division_by_zero)}function g(b,c,a){this.lo=b&az;this.mi=c&az;this.hi=a&ao}g.prototype.caml_custom="_j";g.prototype.copy=function(){return new g(this.lo,this.mi,this.hi)};g.prototype.ucompare=function(a){if(this.hi>a.hi)return 1;if(this.hia.mi)return 1;if(this.mia.lo)return 1;if(this.loc)return 1;if(ba.mi)return 1;if(this.mia.lo)return 1;if(this.lo>24),c=-this.hi+(b>>24);return new g(a,b,c)};g.prototype.add=function(a){var b=this.lo+a.lo,c=this.mi+a.mi+(b>>24),d=this.hi+a.hi+(c>>24);return new g(b,c,d)};g.prototype.sub=function(a){var b=this.lo-a.lo,c=this.mi-a.mi+(b>>24),d=this.hi-a.hi+(c>>24);return new g(b,c,d)};g.prototype.mul=function(a){var b=this.lo*a.lo,c=(b*hE|0)+this.mi*a.lo+this.lo*a.mi,d=(c*hE|0)+this.hi*a.lo+this.mi*a.mi+this.lo*a.hi;return new g(b,c,d)};g.prototype.isZero=function(){return(this.lo|this.mi|this.hi)==0};g.prototype.isNeg=function(){return this.hi<<16<0};g.prototype.and=function(a){return new g(this.lo&a.lo,this.mi&a.mi,this.hi&a.hi)};g.prototype.or=function(a){return new g(this.lo|a.lo,this.mi|a.mi,this.hi|a.hi)};g.prototype.xor=function(a){return new g(this.lo^a.lo,this.mi^a.mi,this.hi^a.hi)};g.prototype.shift_left=function(a){a=a&63;if(a==0)return this;if(a<24)return new g(this.lo<>24-a,this.hi<>24-a);if(a<48)return new g(0,this.lo<>48-a);return new g(0,0,this.lo<>a|this.mi<<24-a,this.mi>>a|this.hi<<24-a,this.hi>>a);if(a<48)return new g(this.mi>>a-24|this.hi<<48-a,this.hi>>a-24,0);return new g(this.hi>>a-48,0,0)};g.prototype.shift_right=function(a){a=a&63;if(a==0)return this;var c=this.hi<<16>>16;if(a<24)return new g(this.lo>>a|this.mi<<24-a,this.mi>>a|c<<24-a,this.hi<<16>>a>>>16);var b=this.hi<<16>>31;if(a<48)return new g(this.mi>>a-24|this.hi<<48-a,this.hi<<16>>a-24>>16,b&ao);return new g(this.hi<<16>>a-32,b,b)};g.prototype.lsl1=function(){this.hi=this.hi<<1|this.mi>>23;this.mi=(this.mi<<1|this.lo>>23)&az;this.lo=this.lo<<1&az};g.prototype.lsr1=function(){this.lo=(this.lo>>>1|this.mi<<23)&az;this.mi=(this.mi>>>1|this.hi<<23)&az;this.hi=this.hi>>>1};g.prototype.udivmod=function(e){var c=0,b=this.copy(),a=e.copy(),d=new g(0,0,0);while(b.ucompare(a)>0){c++;a.lsl1()}while(c>=0){c--;d.lsl1();if(b.ucompare(a)>=0){d.lo++;b=b.sub(a)}a.lsr1()}return{quotient:d,modulus:b}};g.prototype.div=function(a){var b=this;if(a.isZero())ee();var d=b.hi^a.hi;if(b.hi&an)b=b.neg();if(a.hi&an)a=a.neg();var c=b.udivmod(a).quotient;if(d&an)c=c.neg();return c};g.prototype.mod=function(b){var a=this;if(b.isZero())ee();var d=a.hi;if(a.hi&an)a=a.neg();if(b.hi&an)b=b.neg();var c=a.udivmod(b).modulus;if(d&an)c=c.neg();return c};g.prototype.toInt=function(){return this.lo|this.mi<<24};g.prototype.toFloat=function(){return(this.hi<<16)*Math.pow(2,32)+this.mi*Math.pow(2,24)+this.lo};g.prototype.toArray=function(){return[this.hi>>8,this.hi&aA,this.mi>>16,this.mi>>8&aA,this.mi&aA,this.lo>>16,this.lo>>8&aA,this.lo&aA]};g.prototype.lo32=function(){return this.lo|(this.mi&aA)<<24};g.prototype.hi32=function(){return this.mi>>>8&ao|this.hi<<16};function cB(b,c,a){return new g(b,c,a)}function cA(a){if(!isFinite(a)){if(isNaN(a))return cB(1,0,gg);return a>0?cB(0,0,gg):cB(0,0,0xfff0)}var f=a==0&&1/a==-Infinity?an:a>=0?0:an;if(f)a=-a;var b=o0(a)+1023;if(b<=0){b=0;a/=Math.pow(2,-gQ)}else{a/=Math.pow(2,b-hh);if(a<16){a*=2;b-=1}if(b==0)a/=2}var d=Math.pow(2,24),c=a|0;a=(a-c)*d;var e=a|0;a=(a-e)*d;var g=a|0;c=c&dV|f|b<<4;return cB(g,e,c)}function b1(a){return a.toArray()}function hv(c,b,g){c.write(32,b.dims.length);c.write(32,b.kind|b.layout<<8);if(b.caml_custom==dZ)for(var a=0;a>4;if(c==2047)return(f|g|b&dV)==0?b&an?-Infinity:Infinity:NaN;var e=Math.pow(2,-24),a=(f*e+g)*e+(b&dV);if(c>0){a+=16;a*=Math.pow(2,c-hh)}else a*=Math.pow(2,-gQ);if(b&an)a=-a;return a}function d3(b){var d=b.length,c=1;for(var a=0;a>>24&aA|(a&ao)<<8,a>>>16&ao)}function d$(a){return a.hi32()}function ea(a){return a.lo32()}var n5=hg;function aJ(c,d,b,a){this.kind=c;this.layout=d;this.dims=b;this.data=a}aJ.prototype.caml_custom=n5;aJ.prototype.offset=function(b){var c=0;if(typeof b==="number")b=[b];if(!(b instanceof Array))C("bigarray.js: invalid offset");if(this.dims.length!=b.length)C("Bigarray.get/set: bad number of dimensions");if(this.layout==0)for(var a=0;a=this.dims[a])bo();c=c*this.dims[a]+b[a]}else for(var a=this.dims.length-1;a>=0;a--){if(b[a]<1||b[a]>this.dims[a])bo();c=c*this.dims[a]+(b[a]-1)}return c};aJ.prototype.get=function(a){switch(this.kind){case 7:var d=this.data[a*2+0],b=this.data[a*2+1];return om(d,b);case 10:case 11:var e=this.data[a*2+0],c=this.data[a*2+1];return[T,e,c];default:return this.data[a]}};aJ.prototype.set=function(a,b){switch(this.kind){case 7:this.data[a*2+0]=ea(b);this.data[a*2+1]=d$(b);break;case 10:case 11:this.data[a*2+0]=b[1];this.data[a*2+1]=b[2];break;default:this.data[a]=b;break}return 0};aJ.prototype.fill=function(b){switch(this.kind){case 7:var c=ea(b),e=d$(b);if(c==e)this.data.fill(c);else for(var a=0;ad)return 1;if(c!=d){if(!g)return NaN;if(c==c)return 1;if(d==d)return-1}}break;case 7:for(var a=0;ab.data[a+1])return 1;if(this.data[a]>>>0>>0)return-1;if(this.data[a]>>>0>b.data[a]>>>0)return 1}break;case 2:case 3:case 4:case 5:case 6:case 8:case 9:case 12:for(var a=0;ab.data[a])return 1}break}return 0};function bn(c,d,b,a){this.kind=c;this.layout=d;this.dims=b;this.data=a}bn.prototype=new aJ();bn.prototype.offset=function(a){if(typeof a!=="number")if(a instanceof Array&&a.length==1)a=a[0];else C("Ml_Bigarray_c_1_1.offset");if(a<0||a>=this.dims[0])bo();return a};bn.prototype.get=function(a){return this.data[a]};bn.prototype.set=function(a,b){this.data[a]=b;return 0};bn.prototype.fill=function(a){this.data.fill(a);return 0};function hr(c,d,a,b){var e=ht(c);if(d3(a)*e!=b.length)C("length doesn't match dims");if(d==0&&a.length==1&&e==1)return new bn(c,d,a,b);return new aJ(c,d,a,b)}function ar(a){ed(u.Failure,a)}function hs(b,v,r){var i=b.read32s();if(i<0||i>16)ar("input_value: wrong number of bigarray dimensions");var p=b.read32s(),j=p&aA,o=p>>8&1,h=[];if(r==dZ)for(var a=0;a>>32-15;a=cE(a,0x1b873593);b^=a;b=b<<13|b>>>32-13;return(b+(b<<2)|0)+(0xe6546b64|0)|0}function og(a,b){a=L(a,ea(b));a=L(a,d$(b));return a}function d6(a,b){return og(a,cA(b))}function hu(c){var b=d3(c.dims),d=0;switch(c.kind){case 2:case 3:case 12:if(b>bT)b=bT;var e=0,a=0;for(a=0;a+4<=c.data.length;a+=4){e=c.data[a+0]|c.data[a+1]<<8|c.data[a+2]<<16|c.data[a+3]<<24;d=L(d,e)}e=0;switch(b&3){case 3:e=c.data[a+2]<<16;case 2:e|=c.data[a+1]<<8;case 1:e|=c.data[a+0];d=L(d,e)}break;case 4:case 5:if(b>bV)b=bV;var e=0,a=0;for(a=0;a+2<=c.data.length;a+=2){e=c.data[a+0]|c.data[a+1]<<16;d=L(d,e)}if((b&1)!=0)d=L(d,c.data[a]);break;case 6:if(b>64)b=64;for(var a=0;a64)b=64;for(var a=0;a32)b=32;b*=2;for(var a=0;a64)b=64;for(var a=0;a32)b=32;for(var a=0;a0?b(c,f,e):b(f,c,e);if(e&&a!=a)return d;if(+a!=+a)return+a;if((a|0)!=0)return a|0}return d}function b2(a){return a instanceof aB}function cC(a){return b2(a)}function hA(a){if(typeof a==="number")return bN;else if(b2(a))return dX;else if(cC(a))return 1252;else if(a instanceof Array&&a[0]===a[0]>>>0&&a[0]<=gs){var b=a[0]|0;return b==T?0:b}else if(a instanceof String)return gD;else if(typeof a=="string")return gD;else if(a instanceof Number)return bN;else if(a&&a.caml_custom)return dP;else if(a&&a.compare)return 1256;else if(typeof a=="function")return 1247;else if(typeof a=="symbol")return 1251;return 1001}function hF(a,b){if(ab.c?1:0}function o3(a,b){return hx(a,b)}function bX(a,b,d){var e=[];for(;;){if(!(d&&a===b)){var f=hA(a);if(f==cw){a=a[1];continue}var g=hA(b);if(g==cw){b=b[1];continue}if(f!==g){if(f==bN){if(g==dP)return hz(a,b,-1,d);return-1}if(g==bN){if(f==dP)return hz(b,a,1,d);return 1}return fb)return 1;if(a!=b){if(!d)return NaN;if(a==a)return 1;if(b==b)return-1}break;case 1001:if(ab)return 1;if(a!=b){if(!d)return NaN;if(a==a)return 1;if(b==b)return-1}break;case 1251:if(a!==b){if(!d)return NaN;return 1}break;case 1252:var a=as(a),b=as(b);if(a!==b){if(ab)return 1}break;case 12520:var a=a.toString(),b=b.toString();if(a!==b){if(ab)return 1}break;case 246:case 254:default:if(a.length!=b.length)return a.length1)e.push(a,b,1);break}}if(e.length==0)return 0;var h=e.pop();b=e.pop();a=e.pop();if(h+10)if(c==0&&(b>=a.l||a.t==2&&b>=a.c.length))if(d==0){a.c=f;a.t=2}else{a.c=br(b,String.fromCharCode(d));a.t=b==a.l?0:2}else{if(a.t!=4)cy(a);for(b+=c;cb)return 1;if(a===a)return 1;if(b===b)return-1;return 0}function ec(d){d=as(d);var e=d.length;if(e>31)C("format_int: format too long");var a={justify:bl,signstyle:a0,filler:ae,alternate:false,base:0,signedconv:false,width:0,uppercase:false,sign:1,prec:-1,conv:"f"};for(var c=0;c=0&&b<=9){a.width=a.width*10+b;c++}c--;break;case".":a.prec=0;c++;while(b=d.charCodeAt(c)-48,b>=0&&b<=9){a.prec=a.prec*10+b;c++}c--;case"d":case"i":a.signedconv=true;case"u":a.base=10;break;case"x":a.base=16;break;case"X":a.base=16;a.uppercase=true;break;case"o":a.base=8;break;case"e":case"f":case"g":a.signedconv=true;a.conv=b;break;case"E":case"F":case"G":a.signedconv=true;a.uppercase=true;a.conv=b.toLowerCase();break}}return a}function d5(a,g){if(a.uppercase)g=g.toUpperCase();var e=g.length;if(a.signedconv&&(a.sign<0||a.signstyle!=a0))e++;if(a.alternate){if(a.base==8)e+=1;if(a.base==16)e+=2}var c=f;if(a.justify==bl&&a.filler==ae)for(var d=e;d20){c-=20;a/=Math.pow(10,c);a+=new Array(c+1).join(S);if(b>0)a=a+a1+new Array(b+1).join(S);return a}else return a.toFixed(b)}}var a,e=ec(i),d=e.prec<0?6:e.prec;if(c<0||c==0&&1/c==-Infinity){e.sign=-1;c=-c}if(isNaN(c)){a=dQ;e.filler=ae}else if(!isFinite(c)){a="inf";e.filler=ae}else switch(e.conv){case"e":var a=c.toExponential(d),b=a.length;if(a.charAt(b-3)==d1)a=a.slice(0,b-1)+S+a.slice(b-1);break;case"f":a=j(c,d);break;case"g":d=d?d:1;a=c.toExponential(d-1);var h=a.indexOf(d1),g=+a.slice(h+1);if(g<-4||c>=1e21||c.toFixed(0).length>d){var b=h-1;while(a.charAt(b)==S)b--;if(a.charAt(b)==a1)b--;a=a.slice(0,b+1)+a.slice(h);b=a.length;if(a.charAt(b-3)==d1)a=a.slice(0,b-1)+S+a.slice(b-1);break}else{var f=d;if(g<0){f-=g+1;a=c.toFixed(f)}else while(a=c.toFixed(f),a.length>d+1)f--;if(f){var b=a.length-1;while(a.charAt(b)==S)b--;if(a.charAt(b)==a1)b--;a=a.slice(0,b+1)}}break}return d5(e,a)}function cz(e,c){if(as(e)==g1)return b(f+c);var a=ec(e);if(c<0)if(a.signedconv){a.sign=-1;c=-c}else c>>>=0;var d=c.toString(a.base);if(a.prec>=0){a.filler=ae;var g=a.prec-d.length;if(g>0)d=br(g,S)+d}return d5(a,d)}var oL=0;function K(){return oL++}function cD(a){return a.toUtf16()}if(i.process&&i.process.cwd)var bY=i.process.cwd().replace(/\\/g,ay);else var bY="/static";if(bY.slice(-1)!==ay)bY+=ay;function oB(a){a=cD(a);if(a.charCodeAt(0)!=47)a=bY+a;var d=a.split(ay),b=[];for(var c=0;c1)b.pop();break;case".":break;case"":if(b.length==0)b.push(f);break;default:b.push(d[c]);break}b.orig=a;return b}function n8(a){return new aB(4,a,a.length)}function oW(e){for(var g=f,b=g,a,i,c=0,h=e.length;cdM){b.substr(0,1);g+=b;b=f;g+=e.slice(c,d)}else b+=e.slice(c,d);if(d==h)break;c=d}if(a>6);b+=String.fromCharCode(af|a&bm)}else if(a<0xd800||a>=gu)b+=String.fromCharCode(gw|a>>12,af|a>>6&bm,af|a&bm);else if(a>=0xdbff||c+1==h||(i=e.charCodeAt(c+1))gu)b+="\xef\xbf\xbd";else{c++;a=(a<<10)+i-0x35fdc00;b+=String.fromCharCode(g$|a>>18,af|a>>12&bm,af|a>>6&bm,af|a&bm)}if(b.length>bP){b.substr(0,1);g+=b;b=f}}return g+b}function n9(a){var b=9;if(!hU(a))b=8,a=oW(a);return new aB(b,a,a.length)}function a3(a){return n9(a)}function s(a){ed(u.Sys_error,a)}function oN(a){a=as(a);s(a+": No such file or directory")}function n7(b,a){if(a>>>0>=b.l)hw();return bW(b,a)}function _(a){return a.l}function hn(){}function G(a){this.data=a}G.prototype=new hn();G.prototype.truncate=function(a){var b=this.data;this.data=B(a|0);aK(b,0,this.data,0,a)};G.prototype.length=function(){return _(this.data)};G.prototype.write=function(b,d,g,a){var c=this.length();if(b+a>=c){var e=B(b+a),f=this.data;this.data=e;aK(f,0,this.data,0,c)}aL(d,g,this.data,b,a);return 0};G.prototype.read=function(c,a,d,b){var e=this.length();aK(this.data,c,a,d,b);return 0};G.prototype.read_one=function(a){return n7(this.data,a)};G.prototype.close=function(){};G.prototype.constructor=G;function ag(b,a){this.content={};this.root=b;this.lookupFun=a}ag.prototype.nm=function(a){return this.root+a};ag.prototype.lookup=function(a){if(!this.content[a]&&this.lookupFun){var c=this.lookupFun(b(this.root),b(a));if(c!==0)this.content[a]=new G(aC(c[1]))}};ag.prototype.exists=function(a){if(a==f)return 1;var c=a+ay,d=new RegExp(dR+c);for(var b in this.content)if(b.match(d))return 1;this.lookup(a);return this.content[a]?1:0};ag.prototype.readdir=function(c){var g=c==f?f:c+ay,h=new RegExp(dR+g+hd),d={},b=[];for(var e in this.content){var a=e.match(h);if(a&&!d[a[1]]){d[a[1]]=true;b.push(a[1])}}return b};ag.prototype.is_dir=function(a){var d=a==f?f:a+ay,e=new RegExp(dR+d+hd),g=[];for(var c in this.content){var b=c.match(e);if(b)return 1}return 0};ag.prototype.unlink=function(a){var b=this.content[a]?true:false;delete this.content[a];return b};ag.prototype.open=function(a,b){if(b.rdonly&&b.wronly)s(this.nm(a)+gG);if(b.text&&b.binary)s(this.nm(a)+gX);this.lookup(a);if(this.content[a]){if(this.is_dir(a))s(this.nm(a)+" : is a directory");if(b.create&&b.excl)s(this.nm(a)+gF);var c=this.content[a];if(b.truncate)c.truncate();return c}else if(b.create){this.content[a]=new G(B(0));return this.content[a]}else oN(this.nm(a))};ag.prototype.register=function(b,a){if(this.content[b])s(this.nm(b)+gF);if(b2(a))this.content[b]=new G(a);if(cC(a))this.content[b]=new G(aC(a));else if(a instanceof Array)this.content[b]=new G(n8(a));else if(typeof a==="string")this.content[b]=new G(hy(a));else if(a.toString){var c=aC(a3(a.toString()));this.content[b]=new G(c)}else s(this.nm(b)+" : registering file with invalid content type")};ag.prototype.constructor=ag;function m(a){return _(a)}function ak(b,a){return bW(b,a)}function n2(d){var c=m(d),b=new Array(c),a=0;for(;a=0)}function d7(d,b){var e=b.length,a,c;for(a=0;a+4<=e;a+=4){c=b.charCodeAt(a)|b.charCodeAt(a+1)<<8|b.charCodeAt(a+2)<<16|b.charCodeAt(a+3)<<24;d=L(d,c)}c=0;switch(e&3){case 3:c=b.charCodeAt(a+2)<<16;case 2:c|=b.charCodeAt(a+1)<<8;case 1:c|=b.charCodeAt(a);d=L(d,c)}d^=e;return d}function oh(a,b){return d7(a,as(b))}function oe(d,b){var e=b.length,a,c;for(a=0;a+4<=e;a+=4){c=b[a]|b[a+1]<<8|b[a+2]<<16|b[a+3]<<24;d=L(d,c)}c=0;switch(e&3){case 3:c=b[a+2]<<16;case 2:c|=b[a+1]<<8;case 1:c|=b[a];d=L(d,c)}d^=e;return d}function od(a,b){switch(b.t&6){default:aN(b);case 0:a=d7(a,b.c);break;case 2:a=oe(a,b.c)}return a}function of(a){a^=a>>>16;a=cE(a,0x85ebca6b|0);a^=a>>>13;a=cE(a,0xc2b2ae35|0);a^=a>>>16;return a}function hD(j,l,n,m){var f,g,h,d,c,b,a,e,i;d=l;if(d<0||d>bT)d=bT;c=j;b=n;f=[m];g=0;h=1;while(g0){a=f[g++];if(a&&a.caml_custom){if(bZ[a.caml_custom]&&bZ[a.caml_custom].hash){var k=bZ[a.caml_custom].hash(a);b=L(b,k);c--}}else if(a instanceof Array&&a[0]===(a[0]|0))switch(a[0]){case 248:b=L(b,a[2]);c--;break;case 250:f[--g]=a[1];break;default:var o=a.length-1<<10|a[0];b=L(b,o);for(e=1,i=a.length;e=d)break;f[h++]=a[e]}break}else if(b2(a)){b=od(b,a);c--}else if(cC(a)){b=oh(b,a);c--}else if(typeof a==="string"){b=d7(b,a);c--}else if(a===(a|0)){b=L(b,a+a+1);c--}else if(a===+a){b=d6(b,a);c--}}b=of(b);return b&0x3FFFFFFF}function oi(a,c,l){if(!isFinite(a)){if(isNaN(a))return a3(dQ);return a3(a>0?ha:"-infinity")}var j=a==0&&1/a==-Infinity?1:a>=0?0:1;if(j)a=-a;var d=0;if(a==0);else if(a<1)while(a<1&&d>-1022){a*=2;d--}else while(a>=2){a/=2;d++}var k=d<0?f:bl,e=f;if(j)e=a0;else switch(l){case 43:e=bl;break;case 32:e=ae;break;default:break}if(c>=0&&c<13){var h=Math.pow(2,c*4);a=Math.round(a*h)/h}var b=a.toString(16);if(c>=0){var i=b.indexOf(a1);if(i<0)b+=a1+br(c,S);else{var g=i+1+c;if(b.length>24&az,a>>31&ao)}function ou(a){return a.toInt()}function op(a){return+a.isNeg()}function os(a){return a.neg()}function on(h,c){var a=ec(h);if(a.signedconv&&op(c)){a.sign=-1;c=os(c)}var b=f,i=ot(a.base),g="0123456789abcdef";do{var e=c.udivmod(i);c=e.quotient;b=g.charAt(ou(e.modulus))+b}while(!oq(c));if(a.prec>=0){a.filler=ae;var d=a.prec-b.length;if(d>0)b=br(d,S)+b}return d5(a,b)}function oM(c){var a=0,e=m(c),b=10,d=1;if(e>0)switch(ak(c,a)){case 45:a++;d=-1;break;case 43:a++;d=1;break}if(a+1=48&&a<=57)return a-48;if(a>=65&&a<=90)return a-55;if(a>=97&&a<=hl)return a-87;return-1}function ow(f){var h=oM(f),c=h[0],i=h[1],d=h[2],g=m(f),j=-1>>>0,e=c=d)ar(cv);var a=b;for(c++;c=d)break;a=d*a+b;if(a>j)ar(cv)}if(c!=g)ar(cv);a=i*a;if(d==10&&(a|0)!=a)ar(cv);return a|0}function ox(a){return a.slice(1)}function hG(a,c,b){return a[cD(c)].apply(a,ox(b))}function oy(c){var d=c.length,b=new Array(d+1);b[0]=0;for(var a=0;a>>32-b,c)}function g(c,b,d,e,h,f,g){return a(b&d|~b&e,c,b,h,f,g)}function h(d,b,e,c,h,f,g){return a(b&c|e&~c,d,b,h,f,g)}function i(c,b,d,e,h,f,g){return a(b^d^e,c,b,h,f,g)}function j(c,b,d,e,h,f,g){return a(d^(b|~e),c,b,h,f,g)}function k(f,n){var e=n;f[e>>2]|=af<<8*(e&3);for(e=(e&~0x3)+8;(e&0x3F)<60;e+=4)f[(e>>2)-1]=0;f[(e>>2)-1]=n<<3;f[e>>2]=n>>29&0x1FFFFFFF;var k=[0x67452301,0xEFCDAB89,0x98BADCFE,0x10325476];for(e=0;e>8*m&0xFF;return o}return function(h,g,f){var e=[];switch(h.t&6){default:aN(h);case 0:var d=h.c;for(var a=0;a>2]=d.charCodeAt(b)|d.charCodeAt(b+1)<<8|d.charCodeAt(b+2)<<16|d.charCodeAt(b+3)<<24}for(;a>2]|=d.charCodeAt(a+g)<<8*(a&3);break;case 4:var c=h.c;for(var a=0;a>2]=c[b]|c[b+1]<<8|c[b+2]<<16|c[b+3]<<24}for(;a>2]|=c[a+g]<<8*(a&3)}return oR(k(e,f))}}();function oD(c,b,a){return oC(aC(c),b,a)}var at=new Array();function eb(c){var a=at[c];if(!a.opened)s("Cannot flush a closed channel");if(!a.buffer||a.buffer==f)return 0;if(a.fd&&u.fds[a.fd]&&u.fds[a.fd].output){var b=u.fds[a.fd].output;switch(b.length){case 2:b(c,a.buffer);break;default:b(a.buffer)}}a.buffer=f;return 0}function hR(e,f){var a=at[e],d=b(f),c=m(d);a.file.write(a.offset,d,0,c);a.offset+=c;return 0}function oY(a){var a=ef(a),b=i;if(b.process&&b.process.stdout&&b.process.stdout.write)b.process.stderr.write(a);else{if(a.charCodeAt(a.length-1)==10)a=a.substr(0,a.length-1);var c=b.console;c&&c.error&&c.error(a)}}function oZ(a){var a=ef(a),b=i;if(b.process&&b.process.stdout&&b.process.stdout.write)b.process.stdout.write(a);else{if(a.charCodeAt(a.length-1)==10)a=a.substr(0,a.length-1);var c=b.console;c&&c.log&&c.log(a)}}function cH(c,e,d,a){if(u.fds===undefined)u.fds=new Array();a=a?a:{};var b={};b.file=d;b.offset=a.append?d.length():0;b.flags=a;b.output=e;u.fds[c]=b;if(!u.fd_last_idx||c>u.fd_last_idx)u.fd_last_idx=c;return c}function o4(c,b,g){var a={};while(b){switch(b[1]){case 0:a.rdonly=1;break;case 1:a.wronly=1;break;case 2:a.append=1;break;case 3:a.create=1;break;case 4:a.truncate=1;break;case 5:a.excl=1;break;case 6:a.binary=1;break;case 7:a.text=1;break;case 8:a.nonblock=1;break}b=b[2]}if(a.rdonly&&a.wronly)s(as(c)+gG);if(a.text&&a.binary)s(as(c)+gX);var d=hV(c),e=d.device.open(d.rest,a),f=u.fd_last_idx?u.fd_last_idx:0;return cH(f+1,hR,e,a)}cH(0,hR,new G(B(0)));cH(1,oZ,new G(B(0)));cH(2,oY,new G(B(0)));function oE(c){var b=u.fds[c];if(b.flags.wronly)s(hk+c+" is writeonly");var a={file:b.file,offset:b.offset,fd:c,opened:true,out:false,refill:null};at[a.fd]=a;return a.fd}function hI(c){var b=u.fds[c];if(b.flags.rdonly)s(hk+c+" is readonly");var a={file:b.file,offset:b.offset,fd:c,opened:true,out:true,buffer:f};at[a.fd]=a;return a.fd}function oF(){var b=0;for(var a=0;a>>0)return a[0];else if(b2(a))return dX;else if(cC(a))return dX;else if(a instanceof Function||typeof a=="function")return 247;else if(a&&a.caml_custom)return gs;else return bN}function ah(b,c,a){if(a&&i.toplevelReloc)b=i.toplevelReloc(a);u[b+1]=c;if(a)u[a]=c}var hK={};function oP(a,b){hK[as(a)]=b;return 0}function hQ(a){return Math.round(a)}function n6(a,b){if(a===b)return 1;a.t&6&&aN(a);b.t&6&&aN(b);return a.c==b.c?1:0}function hS(a,b){return n6(a,b)}function oQ(){C(d0)}function D(b,a){if(a>>>0>=m(b))oQ();return ak(b,a)}function aE(a,b){return 1-hS(a,b)}function oS(){return[0,b("js_of_ocaml")]}function oT(){return 0x7FFFFFFF/4|0}function oU(){return[0,b("Unix"),32,0]}function oO(){hN(u.Not_found)}function cG(c){var a=i,b=cD(c);if(a.process&&a.process.env&&a.process.env[b]!=undefined)return a3(a.process.env[b]);if(i.jsoo_static_env&&i.jsoo_static_env[b])return a3(i.jsoo_static_env[b]);oO()}function oV(){var a=new Date().getTime(),b=a^0xffffffff*Math.random();return[0,b]}function b3(a){var b=1;while(a&&a.joo_tramp){a=a.joo_tramp.apply(null,a.joo_args);b++}return a}function y(b,a){return{joo_tramp:b,joo_args:a}}function hP(a){return a}function hJ(a){return hK[a]}function $(a){if(a instanceof Array)return a;if(i.RangeError&&a instanceof i.RangeError&&a.message&&a.message.match(/maximum call stack/i))return hP(u.Stack_overflow);if(i.InternalError&&a instanceof i.InternalError&&a.message&&a.message.match(/too much recursion/i))return hP(u.Stack_overflow);if(a instanceof i.Error&&hJ(dO))return[0,hJ(dO),a];return[0,u.Failure,a3(String(a))]}function cI(){return 0}function o2(){}function a(a,b){return a.length==1?a(b):aM(a,[b])}function c(a,b,c){return a.length==2?a(b,c):aM(a,[b,c])}function h(a,b,c,d){return a.length==3?a(b,c,d):aM(a,[b,c,d])}function ax(a,b,c,d,e){return a.length==4?a(b,c,d,e):aM(a,[b,c,d,e])}function ct(a,b,c,d,e,f){return a.length==5?a(b,c,d,e,f):aM(a,[b,c,d,e,f])}ob();var eh=[v,b(gj),-2],au=[v,b(go),-3],eg=[v,b(gP),-4],N=[v,b(gT),-7],n=[v,b(g6),-11],ex=[0,gi],dH=b("No element with id '%s' found"),f5=[0,0];ah(11,[v,b(f_),-12],f_);ah(10,n,g6);ah(9,[v,b(gK),-10],gK);ah(8,[v,b(gV),-9],gV);ah(7,[v,b(gA),-8],gA);ah(6,N,gT);ah(5,[v,b(g2),-6],g2);ah(4,[v,b(gq),-5],gq);ah(3,eg,gP);ah(2,au,go);ah(1,eh,gj);ah(0,[v,b(hc),-1],hc);var h2=b("output_substring"),hY=b("true"),hZ=b("false"),h4=b("\\\\"),h5=b("\\'"),h6=b("\\b"),h7=b("\\t"),h8=b("\\n"),h9=b("\\r"),ib=b("List.fold_left2"),ia=b("List.init"),ie=b("String.blit / Bytes.blit_string"),id=b("Bytes.blit"),ic=b("String.sub / Bytes.sub"),ii=b("String.contains_from / Bytes.contains_from"),im=b("Array.map2: arrays must have the same length"),ik=b("Array.init"),iu=b("Set.remove_min_elt"),iv=[0,0,0,0],iw=[0,0,0],ix=[0,b("set.ml"),547,18],iq=b(cu),ir=b(cu),is=b(cu),it=b(cu),iz=b("Stdlib.Queue.Empty"),iB=b("CamlinternalLazy.Undefined"),iJ=b("Buffer.add_substring/add_subbytes"),iI=b("Buffer.add: cannot grow buffer"),iH=[0,b(g0),93,2],iG=[0,b(g0),94,2],iF=b("Buffer.sub"),iS=b("%c"),iT=b("%s"),iU=b(f9),iV=b(gz),iW=b(gO),iX=b(gd),iY=b("%f"),iZ=b("%B"),i0=b("%{"),i1=b("%}"),i2=b("%("),i3=b("%)"),i4=b("%a"),i5=b("%t"),i6=b("%?"),i7=b("%r"),i8=b("%_r"),i9=[0,b(A),850,23],ji=[0,b(A),814,21],ja=[0,b(A),815,21],jj=[0,b(A),818,21],jb=[0,b(A),819,21],jk=[0,b(A),822,19],jc=[0,b(A),823,19],jl=[0,b(A),826,22],jd=[0,b(A),827,22],jm=[0,b(A),831,30],je=[0,b(A),832,30],jg=[0,b(A),836,26],i_=[0,b(A),837,26],jh=[0,b(A),846,28],i$=[0,b(A),847,28],jf=[0,b(A),851,23],ko=b(gI),km=[0,b(A),1558,4],kn=b("Printf: bad conversion %["),kp=[0,b(A),1626,39],kq=[0,b(A),1649,31],kr=[0,b(A),1650,31],ks=b("Printf: bad conversion %_"),kt=b("@{"),ku=b("@["),ky=[0,[11,b("invalid box description "),[3,0,0]],b("invalid box description %S")],kw=b(f),kx=[0,0,4],kz=b(f),kA=b("b"),kB=b("h"),kC=b("hov"),kD=b("hv"),kE=b("v"),kk=b(dQ),ki=b("neg_infinity"),kj=b(ha),kh=b(a1),j3=b("%+nd"),j4=b("% nd"),j6=b("%+ni"),j7=b("% ni"),j8=b("%nx"),j9=b("%#nx"),j_=b("%nX"),j$=b("%#nX"),ka=b("%no"),kb=b("%#no"),j2=b("%nd"),j5=b(gO),kc=b("%nu"),jQ=b("%+ld"),jR=b("% ld"),jT=b("%+li"),jU=b("% li"),jV=b("%lx"),jW=b("%#lx"),jX=b("%lX"),jY=b("%#lX"),jZ=b("%lo"),j0=b("%#lo"),jP=b("%ld"),jS=b(gz),j1=b("%lu"),jD=b("%+Ld"),jE=b("% Ld"),jG=b("%+Li"),jH=b("% Li"),jI=b("%Lx"),jJ=b("%#Lx"),jK=b("%LX"),jL=b("%#LX"),jM=b("%Lo"),jN=b("%#Lo"),jC=b("%Ld"),jF=b(gd),jO=b("%Lu"),jq=b("%+d"),jr=b("% d"),jt=b("%+i"),ju=b("% i"),jv=b("%x"),jw=b("%#x"),jx=b("%X"),jy=b("%#X"),jz=b("%o"),jA=b("%#o"),jp=b(g1),js=b(f9),jB=b(gI),iK=b("@]"),iL=b("@}"),iM=b("@?"),iN=b("@\n"),iO=b("@."),iP=b("@@"),iQ=b("@%"),iR=b("@"),jn=b("CamlinternalFormat.Type_mismatch"),kF=b("x"),nY=b("OCAMLRUNPARAM"),nW=b("CAMLRUNPARAM"),kG=b(f),k8=[3,0,3],k9=b(a1),k3=b(hi),k4=b("<\/"),k5=b(f),kZ=b(hi),k0=b("<"),k1=b(f),kX=b("\n"),kR=b(f),kS=b(f),kT=b(f),kU=b(f),kQ=[0,b(f)],kM=b(f),kN=b(f),kO=b(f),kP=b(f),kL=[0,b(f),0,b(f)],kK=b(f),kJ=b("Stdlib.Format.String_tag"),nV=b("TMPDIR"),nU=b("TEMP"),lc=b("Cygwin"),ld=b("Win32"),lh=b(dO),lg=b("Jv.Error"),lS=b("warn"),lR=b("error"),lQ=b("log"),lz=b("append"),li=b("capture"),lj=b("once"),lk=b("passive"),mD=[0,[18,[1,[0,0,b(f)]],[12,123,[15,[12,125,[17,0,0]]]]],b("@[{%a}@]")],mA=b("TOOD"),l7=b("step already executed"),l0=[0,[0,0,0,0,0,0,0,0,0,0,0]],l1=[0,b(dY),19,6],l2=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],l3=[0,b(dY),99,6],l4=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0]],l5=[0,b(dY),232,6],me=b("Note.Src.Step"),mg=[0,[0,0,0,0,0,0,0,0,0,0,0]],mE=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]],mJ=[0,[0,0,0,0,0,0,0,0,0,0,0,0,0]],mP=b("brr_add"),mO=b("brr_rem"),mR=[0,0.,0.],mU=b(gW),mV=b(f),mW=b(f),mX=b(gW),mY=b("0.0.0.0"),mZ=b("127.0.0.1"),nT=b("::"),nS=b("::1"),m0=[0,[11,b(gp),0],b(gp)],m1=[0,[11,b(gk),0],b(gk)],nf=[0,b(aX),422,10],ne=[0,b(aX),433,16],nd=[0,b(aX),409,4],nc=[0,b(aX),348,12],nb=[0,b(aX),339,12],m$=[0,b(aX),92,8],na=b(gH),m9=[0,b(aX),80,8],m_=b(gC),m8=b(gH),m7=b(gC),m3=b("Matrix.NonSquare"),m5=b("Matrix.ImproperDimensions"),nl=b("NonElt"),np=[0,0.,0.],nu=[0,0,0],nw=[0,0,0],nR=b("Width : "),nP=b("\xc2\xb0"),nQ=b("Angle : "),nL=[0,bO,bQ],nM=[0,bO,aY],nN=[0,bO,-806423680],nK=[0,bO,bQ],nF=b("Delete "),nG=b("Download"),nH=b("Ductus"),nI=b("Fill"),nJ=b("Rendering : ");function t(a){if(typeof a==="number")return 0;else switch(a[0]){case 0:return[0,t(a[1])];case 1:return[1,t(a[1])];case 2:return[2,t(a[1])];case 3:return[3,t(a[1])];case 4:return[4,t(a[1])];case 5:return[5,t(a[1])];case 6:return[6,t(a[1])];case 7:return[7,t(a[1])];case 8:var c=a[1];return[8,c,t(a[2])];case 9:var b=a[1];return[9,b,b,t(a[3])];case 10:return[10,t(a[1])];case 11:return[11,t(a[1])];case 12:return[12,t(a[1])];case 13:return[13,t(a[1])];default:return[14,t(a[1])]}}function M(a,b){if(typeof a==="number")return b;else switch(a[0]){case 0:return[0,M(a[1],b)];case 1:return[1,M(a[1],b)];case 2:return[2,M(a[1],b)];case 3:return[3,M(a[1],b)];case 4:return[4,M(a[1],b)];case 5:return[5,M(a[1],b)];case 6:return[6,M(a[1],b)];case 7:return[7,M(a[1],b)];case 8:var c=a[1];return[8,c,M(a[2],b)];case 9:var d=a[2],e=a[1];return[9,e,d,M(a[3],b)];case 10:return[10,M(a[1],b)];case 11:return[11,M(a[1],b)];case 12:return[12,M(a[1],b)];case 13:return[13,M(a[1],b)];default:return[14,M(a[1],b)]}}function q(a,b){if(typeof a==="number")return b;else switch(a[0]){case 0:return[0,q(a[1],b)];case 1:return[1,q(a[1],b)];case 2:var c=a[1];return[2,c,q(a[2],b)];case 3:var d=a[1];return[3,d,q(a[2],b)];case 4:var e=a[3],f=a[2],g=a[1];return[4,g,f,e,q(a[4],b)];case 5:var h=a[3],i=a[2],j=a[1];return[5,j,i,h,q(a[4],b)];case 6:var k=a[3],l=a[2],m=a[1];return[6,m,l,k,q(a[4],b)];case 7:var n=a[3],o=a[2],p=a[1];return[7,p,o,n,q(a[4],b)];case 8:var r=a[3],s=a[2],t=a[1];return[8,t,s,r,q(a[4],b)];case 9:var u=a[1];return[9,u,q(a[2],b)];case 10:return[10,q(a[1],b)];case 11:var v=a[1];return[11,v,q(a[2],b)];case 12:var w=a[1];return[12,w,q(a[2],b)];case 13:var x=a[2],y=a[1];return[13,y,x,q(a[3],b)];case 14:var z=a[2],A=a[1];return[14,A,z,q(a[3],b)];case 15:return[15,q(a[1],b)];case 16:return[16,q(a[1],b)];case 17:var B=a[1];return[17,B,q(a[2],b)];case 18:var C=a[1];return[18,C,q(a[2],b)];case 19:return[19,q(a[1],b)];case 20:var D=a[2],E=a[1];return[20,E,D,q(a[3],b)];case 21:var F=a[1];return[21,F,q(a[2],b)];case 22:return[22,q(a[1],b)];case 23:var G=a[1];return[23,G,q(a[2],b)];default:var H=a[2],I=a[1];return[24,I,H,q(a[3],b)]}}function cJ(a){throw[0,au,a]}function E(a){throw[0,eg,a]}K(0);function cK(b,a){return oc(b,a)?b:a}function cL(a){return 0<=a?a:-a|0}var hW=2147483647;function aO(d,c){var a=m(d),e=m(c),b=B(a+e|0);aL(d,0,b,0,a);aL(c,0,b,a,e);return P(b)}function hX(a){return a?hY:hZ}oE(0);var h0=hI(1),h1=hI(2),cM=[0,function(b){function a(b){var a=b;for(;;){if(a){var c=a[2],d=a[1];try{eb(d)}catch(a){a=$(a);if(a[1]!==eh)throw a;var e=a}var a=c;continue}return 0}}return a(oF(0))}];function ei(c){var b=[0,0],d=cM[1];cM[1]=function(e){if(1-b[1]){b[1]=1;a(c,0)}return a(d,0)};return 0}function h3(b){return a(cM[1],0)}function b5(c,b){return b?[0,a(c,b[1])]:0}var ej=oU(0)[1],ek=oT(0),bs=(4*ek|0)-1|0;K(0);var h_=oS(0);function a4(c){var b=0,a=c;for(;;){if(a){var b=b+1|0,a=a[2];continue}return b}}function aP(d,c){var a=d,b=c;for(;;){if(a){var e=[0,a[1],b],a=a[2],b=e;continue}return b}}function cN(a){return aP(a,0)}function el(b,d,c){if(d<=b)return 0;var e=a(c,b);return[0,e,el(b+1|0,d,c)]}var h$=typeof h_==="number"?10000:50;function aQ(c,b){if(b){var d=b[2],e=a(c,b[1]);return[0,e,aQ(c,d)]}return 0}function U(d,c){var b=c;for(;;){if(b){var e=b[2];a(d,b[1]);var b=e;continue}return 0}}function cO(f,e){var b=0,a=e;for(;;){if(a){var d=a[2];c(f,b,a[1]);var b=b+1|0,a=d;continue}return 0}}function aF(f,e,d){var b=e,a=d;for(;;){if(a){var g=a[2],b=c(f,b,a[1]),a=g;continue}return b}}function bt(g,f,e,d){var c=f,b=e,a=d;for(;;){if(b){if(a){var i=a[2],j=b[2],c=h(g,c,b[1],a[1]),b=j,a=i;continue}}else if(!a)return c;return E(ib)}}function em(e,d){var b=d;for(;;){if(b){var c=b[1],f=b[2];if(a(e,c))return c;var b=f;continue}throw N}}function en(e,d){var b=d;for(;;){if(b){var c=b[1],f=b[2];if(a(e,c))return[0,c];var b=f;continue}return 0}}function eo(f){var g=0;return function(h){var c=g,b=h;for(;;){if(b){var d=b[2],e=b[1];if(a(f,e)){var c=[0,e,c],b=d;continue}var b=d;continue}return cN(c)}}}function aR(a,c){var b=B(a);n$(b,0,a,c);return b}function ep(c,b,a){if(0<=b&&0<=a&&!((_(c)-a|0)>1,A=m(z,g),L=A[1],B=m(j-z|0,A[2]),i=L,h=B[1],f=0,M=B[2];for(;;){if(i){if(h){var u=h[2],v=h[1],w=i[2],l=i[1],x=c(d,l,v);if(0===x){var i=w,h=u,f=[0,l,f];continue}if(0<=x){var h=u,f=[0,v,f];continue}var i=w,f=[0,l,f];continue}var C=aP(i,f)}else var C=aP(h,f);return[0,C,M]}},m=function(j,g){if(2===j){if(g){var m=g[2];if(m){var n=m[1],k=g[1],J=m[2],y=c(d,k,n),K=0===y?[0,k,0]:0<=y?[0,n,[0,k,0]]:[0,k,[0,n,0]];return[0,K,J]}}}else if(3===j&&g){var o=g[2];if(o){var p=o[2];if(p){var b=p[1],a=o[1],e=g[1],N=p[2],D=c(d,e,a);if(0===D)var E=c(d,a,b),O=0===E?[0,a,0]:0<=E?[0,b,[0,a,0]]:[0,a,[0,b,0]],q=O;else if(0<=D){var F=c(d,e,b);if(0===F)var r=[0,a,[0,e,0]];else if(0<=F)var G=c(d,a,b),P=0===G?[0,a,[0,e,0]]:0<=G?[0,b,[0,a,[0,e,0]]]:[0,a,[0,b,[0,e,0]]],r=P;else var r=[0,a,[0,e,[0,b,0]]];var q=r}else{var H=c(d,a,b);if(0===H)var s=[0,e,[0,a,0]];else if(0<=H)var I=c(d,e,b),Q=0===I?[0,e,[0,a,0]]:0<=I?[0,b,[0,e,[0,a,0]]]:[0,e,[0,b,[0,a,0]]],s=Q;else var s=[0,e,[0,a,[0,b,0]]];var q=s}return[0,q,N]}}}var z=j>>1,A=x(z,g),L=A[1],B=x(j-z|0,A[2]),i=L,h=B[1],f=0,M=B[2];for(;;){if(i){if(h){var t=h[2],u=h[1],v=i[2],l=i[1],w=c(d,l,u);if(0===w){var i=v,h=t,f=[0,l,f];continue}if(0>>0))switch(b){case 0:return[0,0,a];case 1:if(a)return[0,[0,0,a[1],0,1],a[2]];break;case 2:if(a){var d=a[2];if(d)return[0,[0,[0,0,a[1],0,1],d[1],0,2],d[2]]}break;default:if(a){var e=a[2];if(e){var g=e[2];if(g)return[0,[0,[0,0,a[1],0,1],e[1],[0,0,g[1],0,1],2],g[2]]}}}var h=b/2|0,i=j(h,a),c=i[2],l=i[1];if(c){var m=c[1],k=j((b-h|0)-1|0,c[2]),o=k[2];return[0,f(l,m,k[1]),o]}throw[0,n,ix]};return j(a4(u),u)[1]}var v=q[1];return b(v,b(s,b(p,b(i,h(g)))))}return b(s,b(p,b(i,h(g))))}return b(p,b(i,h(g)))}return b(i,h(g))}return h(g)}return t}function O(h,g){var c=g,e=h;for(;;){var d=a(e,0);if(d){var f=d[2],c=b(d[1],c),e=f;continue}return c}}function $(a){return O(a,t)}function A(a,d){if(a){var b=a[1],c=k(a[2],a[3]);return[0,b,function(a){return A(c,a)}]}return 0}function aa(a){var b=k(a,0);return function(a){return A(b,a)}}return[0,t,Q,R,b,h,u,j,o,G,p,H,S,r,I,z,J,K,L,w,x,y,T,l,D,F,P,l,D,i,U,Z,V,W,X,Y,_,function(j,i){var a=i,b=0;for(;;){if(a){var d=a[3],f=a[2],k=a[1],g=c(e[1],f,j);if(0!==g){if(0<=g){var a=k,b=[0,f,d,b];continue}var a=d;continue}var h=[0,f,d,b]}else var h=b;return function(a){return A(h,a)}}},aa,O,$]}K(0);function bu(a){return[0,0,0]}function bv(a){a[1]=0;a[2]=0;return 0}function aS(b,a){a[1]=[0,b,a[1]];a[2]=a[2]+1|0;return 0}function a7(a){var b=a[1];if(b){var c=b[1];a[1]=b[2];a[2]=a[2]-1|0;return[0,c]}return 0}function a8(b){var a=b[1];return a?[0,a[1]]:0}var iA=[v,iz,K(0)];function cS(a){a[1]=0;a[2]=0;a[3]=0;return 0}function es(d,a){var b=[0,d,0],c=a[3];return c?(a[1]=a[1]+1|0,c[2]=b,a[3]=b,0):(a[1]=1,a[2]=b,a[3]=b,0)}var iC=[v,iB,K(0)];function iD(a){throw iC}function iE(b){var d=b[1];b[1]=iD;try{var c=a(d,0);oK(b,c);return c}catch(a){a=$(a);b[1]=function(b){throw a};throw a}}function cT(a){var b=1<=a?a:1,c=bs>>0))e=1}else if(65<=d)e=1}else{var f=0;if(32!==d)if(43<=d)switch(d-43|0){case 5:if(a<(c+2|0)&&1>>0){if(33<(o-61|0)>>>0)q=1}else if(2===o)q=1;if(!q){var j=j+1|0;continue}var e=aC(k),a=[0,0],u=_(e)-1|0,A=0;if(!(u<0)){var i=A;for(;;){var f=bW(e,i),g=0;if(32<=f){var l=f-34|0,r=0;if(58>>0){if(93<=l)r=1}else if(56<(l-1|0)>>>0){g=1;r=1}if(!r){var n=1;g=2}}else if(11<=f){if(13===f)g=1}else if(8<=f)g=1;switch(g){case 0:var n=4;break;case 1:var n=2;break}a[1]=a[1]+n|0;var E=i+1|0;if(u!==i){var i=E;continue}break}}if(a[1]===_(e)){var s=_(e),t=B(s);aK(e,0,t,0,s);var x=t}else{var b=B(a[1]);a[1]=0;var v=_(e)-1|0,C=0;if(!(v<0)){var h=C;for(;;){var c=bW(e,h),d=0;if(35<=c)if(92===c)d=2;else if(dS<=c)d=1;else d=3;else if(32<=c)if(34<=c)d=2;else d=3;else if(14<=c)d=1;else switch(c){case 8:w(b,a[1],92);a[1]++;w(b,a[1],98);break;case 9:w(b,a[1],92);a[1]++;w(b,a[1],116);break;case 10:w(b,a[1],92);a[1]++;w(b,a[1],110);break;case 13:w(b,a[1],92);a[1]++;w(b,a[1],114);break;default:d=1}switch(d){case 1:w(b,a[1],92);a[1]++;w(b,a[1],48+(c/cx|0)|0);a[1]++;w(b,a[1],48+((c/10|0)%10|0)|0);a[1]++;w(b,a[1],48+(c%10|0)|0);break;case 2:w(b,a[1],92);a[1]++;w(b,a[1],c);break;case 3:w(b,a[1],c);break}a[1]++;var D=h+1|0;if(v!==h){var h=D;continue}break}}var x=b}var p=P(x)}var y=m(p),z=aR(y+2|0,34);aL(p,0,z,1,y);return P(z)}}function ew(d,g){var h=cL(g),e=ex?ex[1]:70;switch(d[2]){case 0:var a=102;break;case 1:var a=101;break;case 2:var a=69;break;case 3:var a=gi;break;case 4:var a=71;break;case 5:var a=e;break;case 6:var a=104;break;case 7:var a=72;break;default:var a=70}var c=et(16);a9(c,37);switch(d[1]){case 0:break;case 1:a9(c,43);break;default:a9(c,32)}if(8<=d[2])a9(c,35);a9(c,46);H(c,b(f+h));a9(c,a);return ev(c)}function b_(n,a){if(13<=n){var g=[0,0],h=m(a)-1|0,o=0;if(!(h<0)){var c=o;for(;;){if(!(9<(ak(a,c)+gl|0)>>>0))g[1]++;var r=c+1|0;if(h!==c){var c=r;continue}break}}var i=g[1],j=B(m(a)+((i-1|0)/3|0)|0),k=[0,0],d=function(a){a2(j,k[1],a);k[1]++;return 0},e=[0,((i-1|0)%3|0)+1|0],l=m(a)-1|0,p=0;if(!(l<0)){var b=p;for(;;){var f=ak(a,b);if(9<(f+gl|0)>>>0)d(f);else{if(0===e[1]){d(95);e[1]=3}e[1]+=-1;d(f)}var q=b+1|0;if(l!==b){var b=q;continue}break}}return P(j)}return a}function kd(b,c){switch(b){case 1:var a=jq;break;case 2:var a=jr;break;case 4:var a=jt;break;case 5:var a=ju;break;case 6:var a=jv;break;case 7:var a=jw;break;case 8:var a=jx;break;case 9:var a=jy;break;case 10:var a=jz;break;case 11:var a=jA;break;case 0:case 13:var a=jp;break;case 3:case 14:var a=js;break;default:var a=jB}return b_(b,cz(a,c))}function ke(b,c){switch(b){case 1:var a=jQ;break;case 2:var a=jR;break;case 4:var a=jT;break;case 5:var a=jU;break;case 6:var a=jV;break;case 7:var a=jW;break;case 8:var a=jX;break;case 9:var a=jY;break;case 10:var a=jZ;break;case 11:var a=j0;break;case 0:case 13:var a=jP;break;case 3:case 14:var a=jS;break;default:var a=j1}return b_(b,cz(a,c))}function kf(b,c){switch(b){case 1:var a=j3;break;case 2:var a=j4;break;case 4:var a=j6;break;case 5:var a=j7;break;case 6:var a=j8;break;case 7:var a=j9;break;case 8:var a=j_;break;case 9:var a=j$;break;case 10:var a=ka;break;case 11:var a=kb;break;case 0:case 13:var a=j2;break;case 3:case 14:var a=j5;break;default:var a=kc}return b_(b,cz(a,c))}function kg(b,c){switch(b){case 1:var a=jD;break;case 2:var a=jE;break;case 4:var a=jG;break;case 5:var a=jH;break;case 6:var a=jI;break;case 7:var a=jJ;break;case 8:var a=jK;break;case 9:var a=jL;break;case 10:var a=jM;break;case 11:var a=jN;break;case 0:case 13:var a=jC;break;case 3:case 14:var a=jF;break;default:var a=jO}return b_(b,on(a,c))}function aw(d,i,b){function j(c){switch(d[1]){case 0:var a=45;break;case 1:var a=43;break;default:var a=32}return oi(b,i,a)}function s(c){var a=n_(b);return 3===a?b<0.?ki:kj:4<=a?kk:c}switch(d[2]){case 5:var f=hC(ew(d,i),b),e=0,x=m(f);for(;;){if(e===x)var r=0;else{var k=D(f,e)-46|0,l=0;if(23>>0){if(55===k)l=1}else if(21<(k-1|0)>>>0)l=1;if(!l){var e=e+1|0;continue}var r=1}var y=r?f:aO(f,kh);return s(y)}case 6:return j(0);case 7:var h=aC(j(0)),g=_(h);if(0===g)var q=h;else{var n=B(g),o=g-1|0,u=0;if(!(o<0)){var a=u;for(;;){var c=bW(h,a),t=0;if(97<=c&&!(hl>>0)return a;var a=a+1|0;continue}}function q(g,f){var a=f;for(;;){if(a===e)return a;var c=D(b,a),d=0;if(48<=c){if(!(58<=c))d=1}else if(45===c)d=1;if(d){var a=a+1|0;continue}return a}}var f=h(0),l=p(f,f),c=er(b,f,l-f|0),d=h(l),i=q(d,d);if(d===i)var j=0;else try{var r=ow(er(b,d,i-d|0)),j=r}catch(a){a=$(a);if(a[1]!==au)throw a;var j=g(0)}if(h(i)!==e)g(0);var o=0;if(aE(c,kz)&&aE(c,kA))var n=aE(c,kB)?aE(c,kC)?aE(c,kD)?aE(c,kE)?g(0):1:2:3:0;else o=1;if(o)var n=4;return[0,j,n]}K(0);try{var nZ=cG(nY),ez=nZ}catch(a){a=$(a);if(a!==N)throw a;try{var nX=cG(nW),ey=nX}catch(a){a=$(a);if(a!==N)throw a;var ey=kG}var ez=ey}var kH=ij(ez,82),ca=[dT,function(z){var p=oV(0),c=[0,ac(55,0),0],k=0===p.length-1?[0,0]:p,l=k.length-1,a=0;for(;;){e(c[1],a)[1+a]=a;var y=a+1|0;if(54!==a){var a=y;continue}var i=[0,kF],n=54+cK(55,l)|0,u=0;if(!(n<0)){var d=u;for(;;){var g=d%55|0,o=oI(d,l),v=e(k,o)[1+o],j=aO(i[1],b(f+v));i[1]=oD(j,0,m(j));var h=i[1],q=D(h,3)<<24,r=D(h,2)<<16,s=D(h,1)<<8,t=((D(h,0)+s|0)+r|0)+q|0,w=(e(c[1],g)[1+g]^t)>e(c[1],g)[1+g]=w;var x=d+1|0;if(n!==d){var d=x;continue}break}}c[2]=0;return c}}];function kI(i,l){var m=i?i[1]:kH,b=16;for(;;){if(!(l<=b)&&!(ek<(b*2|0))){var b=b*2|0;continue}if(m){var j=hL(ca),a=cw===j?ca[1]:dT===j?iE(ca):ca;a[2]=(a[2]+1|0)%55|0;var c=a[2],d=e(a[1],c)[1+c],f=(a[2]+24|0)%55|0,g=(e(a[1],f)[1+f]+(d^(d>>>25|0)&31)|0)>,h=a[2];e(a[1],h)[1+h]=g;var k=g}else var k=0;return[0,0,ac(b,0),k,b]}}var cZ=[v,kJ,K(0)],cb=0,eA=-1;function by(a,b){a[13]=a[13]+b[3]|0;return es(b,a[28])}var eB=1000000010;function c0(b,a){return h(b[17],a,0,m(a))}function cc(b){return a(b[19],0)}function eC(a,c,b){a[9]=a[9]-c|0;c0(a,b);a[11]=0;return 0}function cd(c,a){var b=aE(a,kK);return b?eC(c,m(a),a):b}function a$(b,c,f){var g=c[3],h=c[2];cd(b,c[1]);cc(b);b[11]=1;var d=(b[6]-f|0)+h|0,e=b[8],i=oz(e,d)?e:d;b[10]=i;b[9]=b[6]-b[10]|0;a(b[21],b[10]);return cd(b,g)}function eD(b,a){return a$(b,kL,a)}function bz(b,c){var d=c[2],e=c[3];cd(b,c[1]);b[9]=b[9]-d|0;a(b[20],d);return cd(b,e)}function eE(b){for(;;){var s=b[28][2],O=s?[0,s[1]]:0;if(O){var q=O[1],r=q[1],c=q[2],ac=0<=r?1:0,aa=q[3],ab=b[13]-b[12]|0,P=ac||(b[9]<=ab?1:0);if(P){var g=b[28],n=g[2];if(n){if(n[2]){var Q=n[2];g[1]=g[1]-1|0;g[2]=Q}else cS(g);var l=0<=r?r:eB;if(typeof c==="number")switch(c){case 0:var y=a8(b[3]);if(y){var z=y[1][1],A=function(b,a){if(a){var c=a[1],d=a[2];return oA(b,c)?[0,b,a]:[0,c,A(b,d)]}return[0,b,0]};z[1]=A(b[6]-b[9]|0,z[1])}break;case 1:a7(b[2]);break;case 2:a7(b[3]);break;case 3:var B=a8(b[2]);if(B)eD(b,B[1][2]);else cc(b);break;case 4:if(b[10]!==(b[6]-b[9]|0)){var e=b[28],h=e[2];if(h){var t=h[1];if(h[2]){var R=h[2];e[1]=e[1]-1|0;e[2]=R;var i=[0,t]}else{cS(e);var i=[0,t]}}else var i=0;if(i){var x=i[1],T=x[1];b[12]=b[12]-x[3]|0;b[9]=b[9]+T|0}}break;default:var C=a7(b[5]);if(C)c0(b,a(b[25],C[1]))}else switch(c[0]){case 0:eC(b,l,c[1]);break;case 1:var d=c[2],j=c[1],D=d[1],U=d[2],E=a8(b[2]);if(E){var F=E[1],f=F[2];switch(F[1]){case 0:bz(b,j);break;case 1:a$(b,d,f);break;case 2:a$(b,d,f);break;case 3:if(b[9]<(l+m(D)|0))a$(b,d,f);else bz(b,j);break;case 4:if(b[11]||!(b[9]<(l+m(D)|0)||((b[6]-f|0)+U|0)>>0))eD(b,w)}else cc(b)}var _=b[9]-Z|0,$=1===M?1:b[9]>>0){fC(0);var h=a[17],g=a[13]}else{switch(f){case 0:var d=[0,a[13],a[17]];break;case 1:var d=[0,a[19],a[23]];break;default:var d=[0,a[25],a[29]]}var h=d[2],g=d[1]}c(g,[0,b],0);c(h,[0,b],i);return bd(b)}function fF(c){var a=al.fullscreenElement,b=cf(a)?0:[0,a];return b?1:0}var mS=be(0,fF(0))[2];bD(0,ln,function(a){return c(mS,0,fF(0))},al);var mT=ai(0)[2];bD(0,lt,function(a){return c(mT,0,0)},al);function dw(a){return lT.now()/gR}dw(0);function fG(a){return dw(0)}function fH(a){return dw(0)-a}ei(function(a){return o2(a)});eV(mX,[0,[v,mU,K(0)],0,mW,mV]);cI(mY);cI(mZ);try{cI(nT)}catch(a){a=$(a);if(a[1]!==au)throw a}try{cI(nS)}catch(a){a=$(a);if(a[1]!==au)throw a}kI(0,7);eU(m0);eU(m1);var m2=[T,1.,0.];function J(a){return[T,a[1],a[2]]}function ad(a){return[0,a[1],a[2]]}function bg(b,a){return[T,b[1]+a[1],b[2]+a[2]]}function ab(b,a){return[T,b[1]-a[1],b[2]-a[2]]}function bG(b,a){return[T,b*a[1],b*a[2]]}function aU(a){return oj(a[1],a[2])}function aV(a,c,b){return[T,a[1]+b*(c[1]-a[1]),a[2]+b*(c[2]-a[2])]}function fI(b,a){return bG(1./a,b)}var m4=[v,m3,K(0)],O=[v,m5,K(0)];function m6(b){function d(c,a){if(0>>0)return 0.;switch(a){case 0:return 1.;case 1:return 4.;default:return 1.}})}),l=a(bi[3],y),q=b-1|0,z=0;if(!(q<0)){var f=z;for(;;){if(0===f)var G=e(d,0)[1],j=ab(bG(6.,e(d,1)[2]),G);else if((f+1|0)===b)var t=b+1|0,J=e(d,b)[1+b],K=e(d,t)[1+t],j=ab(bG(6.,J),K);else var u=f+1|0,j=bG(6.,e(d,u)[1+u]);var H=j[2];h(bi[10],l,[0,f+1|0,b+1|0],j[1]);h(bi[10],l,[0,f+1|0,b+2|0],H);var I=f+1|0;if(q!==f){var f=I;continue}break}}var r=a(bi[12],l),A=c(bi[6],r,b+1|0)[2],s=b+1|0,B=c(bi[6],r,b+2|0)[2],m=ac(b+2|0,e(d,s)[1+s]),C=1;if(!(b<1)){var g=C;for(;;){var E=[T,hp(A,g-1|0),hp(B,g-1|0)];e(m,g)[1+g]=E;var F=g+1|0;if(b!==g){var g=F;continue}break}}var D=e(d,0)[1];e(m,0)[1]=D;var k=[0,m]}else var k=[1,378784796];if(0===k[0]){var i=k[1],x=o?2:1,M=n?i.length-1-2|0:i.length-1-1|0;return[0,a5((M-x|0)+1|0,function(h){var a=h+x|0,b=a-1|0,c=e(i,b)[1+b],f=e(i,a)[1+a],g=a-1|0,j=e(d,g)[1+g],k=e(d,a)[1+a],l=aV(c,f,0.33333333333333331);return[0,j,k,l,aV(c,f,d2)]})]}return k}function dz(a,b){var d=a[1],e=a[2];a[3]=fG(0);fg(d);a[1]=R.setInterval(function(b){return c(e,0,fH(a[3]))},b*gR|0);return 0}function cp(a){return fH(a[3])}var nm=cj("offsetWidth"),nn=cj("offsetHeight"),no=dc("outerHTML"),fK=dc(dW);function fL(b){var a=e$(lM,0,[0,b],0),c=eX(bb(dd,a));return[0,a,fu(0,c,dv(0,0,0,lo,function(b){return eX(bb(dd,a))},a))]}function fM(a){var b=e8(0,a);return U(function(a){if(!ci("nav",a)&&!ci("ul",a))return fM(a);a.remove(a);return 0},b)}var cq=gx,dA=[0,0],nq=[0,J(np),0.,0.,0.,0];function dB(e,d,c,b,a){dA[1]++;return[0,[T,b,a],d,(dN-e)*hj,c,dA[1]]}function aW(a,b){return[0,b,a[2],a[3],a[4],a[5]]}function nr(a,b){return[0,a[1],a[2],(dN-b)*hj,a[4],a[5]]}function fN(a){return dN-a[3]*57.295779513082323}function ns(a,b){return[0,a[1],b,a[3],a[4],a[5]]}function fO(a){return a[1]}function fP(a){var b=a[3],c=a[2];return bg(a[1],[T,c*Math.cos(b),c*Math.sin(b)])}function dC(c,g,b,a){var d=b[3],e=b[2],f=b[4];return[0,g,e+c*(a[2]-e),d+c*(a[3]-d),f+c*(a[4]-f),dA[1]]}function nt(a){return a[5]}function nv(b){function d(f,k){var c=k[2],d=k[1],v=c?[0,a(b[2],c[1][2])]:0;if(d){var g=d[2];if(g){var h=g[2];if(h){var n=h[2];if(n){var o=n[1],i=h[1],p=g[1],q=d[1],r=a(b[2],f),s=a(b[2],q),t=a(b[2],p),u=a(b[2],i),j=co(v,0,[0,a(b[2],o),[0,u,[0,t,[0,s,[0,r,0]]]]]);if(0===j[0]){var l=j[1];if(0>>0){var t=function(d){var f=g(e(c,d)[1+d]);return a(b[1],f)},i=c.length-1;if(0<=i)if(h$>>0){var q=o(d,h);if(q){var f=q[1],n=h.length-1,c=0===n?[0]:n3(h,0,n);if(f>>0))switch(c){case 0:return nL;case 1:return nM;default:return nN}}return nK},au),cE=[0,ak,[0,an,[0,au,[0,fb(0,0,0),[0,aq,[0,ap,[0,at,[0,as,0]]]]]]]];hG(av,lz,b8([0,fb(0,0,0),cE]));var x=[0,[0,cu,cy,cl,ce,cD],cz,cv]}else var x=da(0,"No sidebar");var aw=x[3],ay=x[2],q=x[1],cF=q[4],cG=am(function(a){return ge},cF),cH=q[3],cI=am(function(a){return-116259436},cH),cJ=du(q[2]),cK=am(function(a){return[0,gv,a]},cJ),cL=du(q[1]),cM=am(function(a){return[0,g3,a]},cL);if(cf(e)){var cN=[0,e,0],cO=c_(dH)?"null":bC(dH)?"undefined":dH.toString();return dh(di,lR,dj([0,cO,cN]))}var B=nO(0);if(0===B[0]){var s=B[1],az=ai(0),aA=az[1],cP=az[2];if(hD(10,cx,0,e2(fe(ff)))===gN)bD(0,lU,function(a){return c(cP,0,a.data)},s);df(0,e_,g7,e);df(0,lE,g7,e);de(lD,bb(nm,e),e);de(lC,bb(nn,e),e);df(0,e_,f,e);var ag=ci(lI,e)?e:da(0,"Expected canvas element but found: ".concat(e7(e))),b6=function(b,a){return[0,b,a]},t=0,u=0,v=0,bh=f5?f5[1]:1,M=be(0,[0,0.,0.]),bi=M[2],bj=M[1],O=ai(0),bl=O[2],bm=O[1],P=be(0,0),bn=P[2],bo=P[1],Q=be(0,0),bp=Q[2],bq=Q[1],T=ai(0),br=T[2],bs=T[1],V=ai(0),bu=V[2],bv=V[1],W=be(0,0),bw=W[2],bx=W[1],X=ai(0),by=X[2],bz=X[1],_=ai(0),bA=_[2],bB=_[1],$=be(0,0),bG=$[2],bH=$[1],aa=ai(0),bI=aa[2],bJ=aa[1],ac=ai(0),b=[0,e,bh,b6,mR,0,bj,bi,bm,bl,bo,bn,bq,bp,bs,br,bv,bu,bx,bw,bz,by,bB,bA,bH,bG,bJ,bI,ac[1],ac[2]],bM=0,bN=[0,bf(v,u,t,al,e1,function(d){if(!a(bF,b[10])){var c=0;if(!a(bF,b[12])&&!a(bF,b[18])&&!a(bF,b[24]))c=1;if(!c)return fE(b,d)}return 0}),bM],bP=0,bR=function(a){return fD(bP,b,a)},bS=[0,bf(v,u,t,b[1],lr,bR),bN],bT=1,bV=function(a){return fD(bT,b,a)},bW=[0,bf(v,u,t,b[1],lq,bV),bS],bX=function(c){var a=aI(0);cn(a,b,c);return bd(a)},bY=[0,bf(v,u,t,b[1],ls,bX),bW],bZ=function(a){return fE(b,a)},b0=[0,bf(v,u,t,b[1],e1,bZ),bY],b1=function(h){var a=aI(0),i=cn(a,b,h),e=h.button;if(2>>0){fC(0);var g=b[15],f=b[13]}else{switch(e){case 0:var d=[0,b[13],b[15]];break;case 1:var d=[0,b[19],b[21]];break;default:var d=[0,b[25],b[27]]}var g=d[2],f=d[1]}c(f,[0,a],1);c(g,[0,a],i);return bd(a)};b[5]=[0,bf(v,u,t,b[1],lp,b1),b0];fx(function(d){var c=b[5];return U(function(b){return a(b,0)},c)},e);var b7=b[14],b9=am(function(a){return[0,gb,a]},b7),b_=b[16],b$=am(function(a){return[0,gJ,a]},b_),i=b[6],k=b[12],ah=function(b,a){return b?[0,a]:0},ca=0,a4=function(e,b){c(d[15],e,k);c(d[15],e,i);var g=a(d[9],k),h=g||a(d[9],i);if(h){var j=a(d[8],i),m=a(d[8],k),n=c(l[7],m,j);c(d[10],b,n)}var o=a(d[13],k),f=o||a(d[13],i);if(f){var p=a(d[12],i),q=ah(a(d[12],k),p);return c(d[14],b,q)}return f},a5=a(d[8],k),a6=c(j[9],r,a5),a7=a(d[8],i),A=c(j[9],a6,a7);c(d[15],A,k);c(d[15],A,i);var a8=a(d[8],i),a9=a(d[8],k),a_=c(l[7],a9,a8),a$=a(d[12],i),bg=ah(a(d[12],k),a$),g=ct(d[1],ca,A,a_,bg,a4),cb=dr([0,b9,[0,b$,0]]),aB=function(b,a){return b5(function(b){return[0,gy,[0,a,b]]},b)},aU=function(b,e){c(d[15],b,n);c(d[15],b,g);var i=a(d[9],n),j=i||a(d[9],g);if(j){var k=a(d[8],n),m=a(d[8],g),o=c(l[7],m,k);c(d[10],e,o)}var f=a(d[12],n);if(f){var p=f[1],q=[0,aB(a(d[12],g),p)];return h(d[21],b,e,q)}return 0},aV=a(d[8],g),aX=c(j[9],r,aV),aZ=a(d[8],n),z=c(j[9],aX,aZ);c(d[15],z,n);c(d[15],z,g);var a0=a(d[8],n),a1=a(d[8],g),a2=c(l[7],a1,a0),K=a(d[12],n);if(K)var a3=K[1],L=[0,aB(a(d[12],g),a3)];else var L=0;var m=ax(d[19],z,a2,L,aU),I=function(a){return a},E=function(c,b){return b?a(c,b[1]):0},aJ=function(e,b){c(d[15],e,m);if(a(d[9],m)){var f=a(d[8],m);c(d[10],b,f)}var g=E(I,a(d[12],m));return h(d[21],e,b,g)},aK=a(d[8],m),F=c(j[9],r,aK);c(d[15],F,m);var aL=E(I,a(d[12],m)),aM=a(d[8],m),aN=ax(d[19],F,aM,aL,aJ),cQ=dr([0,aA,[0,cb,[0,aN,[0,cK,[0,cM,[0,cG,[0,cI,[0,q[5],0]]]]]]]]),p=am(function(e,b){var f=b[1];if(typeof e==="number"){if(ge<=e){var p=b[1];if(typeof p==="number")return b;var j=p[1];if(0===j[0]){var aa=j[1],ac=b[2],ae=a(eo(function(a){return a[1]!==aa?1:0}),ac);return[0,1,ae,b[3],b[4],b[5],b[6],b[7]]}var q=j[1],r=q[1],af=q[2],ag=b[2];U(function(b){return b[1]===r?a(bk(s),[0,985104389,[0,af,b]]):0},ag);return[0,[0,[0,r]],b[2],b[3],b[4],b[5],b[6],b[7]]}if(hD(10,cx,0,e2(fe(ff)))===gN){var am=b[2],an=bb(no,bE(0,[0,[0,[0,"xmlns","http://www.w3.org/2000/svg"],[0,[0,"xmlns:xlink","http://www.w3.org/1999/xlink"],0]]],"svg",aQ(function(g){var i=b[6],d=fZ([0,Z[2]],g[2],g[3]),e=d[2],f=d[1];if(bQ===i){var c=[0,0],j=function(a){var b=fQ(0,[0,[0,[0,he,a],0]],0);c[1]=[0,b,c[1]];return ba},k=a(cr[2],j);bt(function(c,b,a){switch(b[0]){case 0:var d=b[1];if(0===a[0])return h(cr[3],d,a[1],c);break;case 1:var e=b[1];if(1===a[0])return h(cr[4],e,a[1],c);break;default:var f=b[1];if(2===a[0])return h(cr[5],f,a[1],c)}return c},k,f,e);return bE(0,[0,[0,[0,gB,cq],[0,[0,f$,cq],0]]],"g",c[1])}if(aY<=i)throw N;function l(a){return ba}var m=a(bK[2],l),n=bt(function(c,b,a){switch(b[0]){case 0:var d=b[1];if(0===a[0])return h(bK[3],d,a[1],c);break;case 1:var e=b[1];if(1===a[0])return h(bK[4],e,a[1],c);break;default:var f=b[1];if(2===a[0])return h(bK[5],f,a[1],c)}return c},m,f,e);return fQ(0,[0,[0,[0,gB,cq],[0,[0,f$,cq],[0,[0,he,a(bK[1],n)],0]]]],0)},am)));aT(lF,0,[0,[0,[0,lw,"data:image/svg+xml;base64,".concat(R.btoa(an))],[0,[0,"download","out.svg"],0]]],0).click()}return b}var g=e[1];if(bO<=g){if(gb<=g){if(gv<=g){var l=e[2],w=b[1];if(typeof w==="number")return[0,b[1],b[2],b[3],b[4],l,b[6],b[7]];var x=[0,b[1],b[2],b[3],b[4],l,b[6],b[7]];return f4(s,x,l,nr,cs(w[1],x[2]))}var d=e[2],D=d[2],E=d[1];if(typeof f==="number"){if(f){dz(o,bU);var F=b[4],G=b[5],I=dF(d,b[2])[2],H=0.;if(I)var K=ad(I[1][1]),L=dB(G,F,H,K[1],K[2]);else var L=dB(G,F,H,E,D);var ao=c(aj[2],L,b[3]),ap=J([0,E,D]);return[0,0,b[2],ao,b[4],b[5],b[6],ap]}return b}var m=f[1],M=0===m[0]?m[1]:m[1][1],O=function(q){var c=dF(d,b[2]),e=c[2],i=c[1];if(e){var f=e[1],g=f[2];if(g[1]!==M){var j=J(d);return f3(d,f,[0,b[1],b[2],b[3],b[4],b[5],b[6],j],i)}var a=f2(g,J(d));if(0===a[0]){var k=J(d);return[0,[0,a],b[2],b[3],b[4],b[5],b[6],k]}var h=a[1][2];dz(o,bU);var l=J(d),m=b[6],n=fN(h);return[0,[0,a],b[2],b[3],h[2],n,m,l]}var p=J(d);return[0,1,b[2],b[3],b[4],b[5],b[6],p]},P=dE(b[2],M);if(P){var aq=P[1],Q=f2(aq,J(d));if(0===Q[0])return O(0);dz(o,bU);var ar=J(d);return[0,[0,Q],b[2],b[3],b[4],b[5],b[6],ar]}return O(0)}if(gJ<=g){var i=e[2];if(typeof f==="number"&&!f){var as=cp(o);fg(o[1]);if(a(aj[5],b[3])){var at=dG(b,i,as,b[3]),S=c(Z[1],[0,aj[6]],at),au=function(a){return aW(a,fP(a))},av=c(Z[5],S,au),$=f0[1];f0[1]++;var T=[0,$,S,av];a(bk(s),[0,hm,T]);return[0,1,[0,T,b[2]],aj[1],b[4],b[5],b[6],b[7]]}var V=aj[1],W=dF(i,b[2]),X=W[2],aw=W[1];return X?f3(i,X[1],[0,b[1],b[2],V,b[4],b[5],b[6],b[7]],aw):[0,1,b[2],V,b[4],b[5],b[6],b[7]]}if(cp(o)