var webp_enc = (function() { var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename; return ( function(webp_enc) { webp_enc = webp_enc || {}; var d;d||(d=typeof webp_enc !== 'undefined' ? webp_enc : {});var n={},q;for(q in d)d.hasOwnProperty(q)&&(n[q]=d[q]);var r=!1,t=!1,aa=!1,ba=!1,ca=!1;r="object"===typeof window;t="function"===typeof importScripts;aa=(ba="object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node)&&!r&&!t;ca=!r&&!aa&&!t;var u="",v,x,fa,ha; if(aa)u=__dirname+"/",v=function(a,b){fa||(fa=require("fs"));ha||(ha=require("path"));a=ha.normalize(a);return fa.readFileSync(a,b?null:"utf8")},x=function(a){a=v(a,!0);a.buffer||(a=new Uint8Array(a));a.buffer||y("Assertion failed: undefined");return a},1=e);)++c;if(16f?e+=String.fromCharCode(f):(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else e+=String.fromCharCode(f)}return e} function oa(a,b,c){var e=D;if(0=g){var k=a.charCodeAt(++f);g=65536+((g&1023)<<10)|k&1023}if(127>=g){if(b>=c)break;e[b++]=g}else{if(2047>=g){if(b+1>=c)break;e[b++]=192|g>>6}else{if(65535>=g){if(b+2>=c)break;e[b++]=224|g>>12}else{if(b+3>=c)break;e[b++]=240|g>>18;e[b++]=128|g>>12&63}e[b++]=128|g>>6&63}e[b++]=128|g&63}}e[b]=0}}"undefined"!==typeof TextDecoder&&new TextDecoder("utf-16le"); function pa(a){0>2],h=H[b+(8*g+4)>>2],p=0;p>2]=f;return 0}catch(B){return"undefined"!==typeof FS&&B instanceof FS.ta||y(B),B.ua}}var P={};function La(a){for(;a.length;){var b=a.pop();a.pop()(b)}}function Q(a){return this.fromWireType(I[a>>2])}var R={},S={},Ma={}; function Na(a){if(void 0===a)return"_unknown";a=a.replace(/[^a-zA-Z0-9_]/g,"$");var b=a.charCodeAt(0);return 48<=b&&57>=b?"_"+a:a}function Oa(a,b){a=Na(a);return(new Function("body","return function "+a+'() {\n "use strict"; return body.apply(this, arguments);\n};\n'))(b)} function Pa(a){var b=Error,c=Oa(a,function(b){this.name=a;this.message=b;b=Error(b).stack;void 0!==b&&(this.stack=this.toString()+"\n"+b.replace(/^Error(:[^\n]*)?\n/,""))});c.prototype=Object.create(b.prototype);c.prototype.constructor=c;c.prototype.toString=function(){return void 0===this.message?this.name:this.name+": "+this.message};return c}var Qa=void 0; function Ra(a,b,c){function e(b){b=c(b);if(b.length!==a.length)throw new Qa("Mismatched type converter count");for(var e=0;e>1])};case 2:return function(a){return this.fromWireType((c?H:I)[a>>2])};default:throw new TypeError("Unknown integer type: "+a);}}function bb(a){a=cb(a);var b=U(a);X(a);return b}function db(a,b){var c=S[a];void 0===c&&V(b+" has unknown type "+bb(a));return c} function eb(a){if(null===a)return"null";var b=typeof a;return"object"===b||"array"===b||"function"===b?a.toString():""+a}function fb(a,b){switch(b){case 2:return function(a){return this.fromWireType(qa[a>>2])};case 3:return function(a){return this.fromWireType(ra[a>>3])};default:throw new TypeError("Unknown float type: "+a);}} function gb(a){var b=Function;if(!(b instanceof Function))throw new TypeError("new_ called with constructor type "+typeof b+" which is not a function");var c=Oa(b.name||"unknownFunctionName",function(){});c.prototype=b.prototype;c=new c;a=b.apply(c,a);return a instanceof Object?a:c}function hb(a,b){for(var c=[],e=0;e>2)+e]);return c} function Y(a,b){a=U(a);if(void 0!==d["FUNCTION_TABLE_"+a])var c=d["FUNCTION_TABLE_"+a][b];else if("undefined"!==typeof FUNCTION_TABLE)c=FUNCTION_TABLE[b];else{c=d["dynCall_"+a];void 0===c&&(c=d["dynCall_"+a.replace(/f/g,"d")],void 0===c&&V("No dynCall invoker for signature: "+a));for(var e=[],f=1;f>1]}:function(a){return G[a>>1]};case 2:return c?function(a){return H[a>>2]}:function(a){return I[a>>2]};default:throw new TypeError("Unknown integer type: "+a);}}function lb(){return E.length}Qa=d.InternalError=Pa("InternalError");for(var mb=Array(256),nb=0;256>nb;++nb)mb[nb]=String.fromCharCode(nb);Ta=mb;Ua=d.BindingError=Pa("BindingError"); d.count_emval_handles=function(){for(var a=0,b=5;b>g])},aa:null})},m:function(a,b){b=U(b);T(a,{name:b,fromWireType:function(a){var b=W[a].value;Wa(a);return b},toWireType:function(a,b){return Ya(b)},argPackAdvance:8,readValueFromPointer:Q,aa:null})},l:function(a,b,c,e){function f(){}c=Sa(c);b=U(b);f.values={};T(a,{name:b,constructor:f,fromWireType:function(a){return this.constructor.values[a]}, toWireType:function(a,b){return b.value},argPackAdvance:8,readValueFromPointer:ab(b,c,e),aa:null});$a(b,f)},k:function(a,b,c){var e=db(a,"enum");b=U(b);a=e.constructor;e=Object.create(e.constructor.prototype,{value:{value:c},constructor:{value:Oa(e.name+"_"+b,function(){})}});a.values[c]=e;a[b]=e},i:function(a,b,c){c=Sa(c);b=U(b);T(a,{name:b,fromWireType:function(a){return a},toWireType:function(a,b){if("number"!==typeof b&&"boolean"!==typeof b)throw new TypeError('Cannot convert "'+eb(b)+'" to '+ this.name);return b},argPackAdvance:8,readValueFromPointer:fb(b,c),aa:null})},e:function(a,b,c,e,f,g){var k=hb(b,c);a=U(a);f=Y(e,f);$a(a,function(){jb("Cannot call "+a+" due to unbound types",k)},b-1);Ra([],k,function(c){var e=[c[0],null].concat(c.slice(1)),l=c=a,k=f,h=e.length;2>h&&V("argTypes array size mismatch! Must at least get return value and 'this' types!");for(var sa=null!==e[1]&&!1,da=!1,m=1;m>>h}}var p=-1!=b.indexOf("unsigned");T(a,{name:b,fromWireType:g,toWireType:function(a,c){if("number"!==typeof c&&"boolean"!==typeof c)throw new TypeError('Cannot convert "'+ eb(c)+'" to '+this.name);if(cf)throw new TypeError('Passing a number "'+eb(c)+'" from JS side to C/C++ side to an argument of type "'+b+'", which is outside the valid range ['+e+", "+f+"]!");return p?c>>>0:c|0},argPackAdvance:8,readValueFromPointer:kb(b,k,0!==e),aa:null})},b:function(a,b,c){function e(a){a>>=2;var b=I;return new f(b.buffer,b[a+1],b[a])}var f=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][b];c=U(c);T(a,{name:c,fromWireType:e,argPackAdvance:8, readValueFromPointer:e},{na:!0})},h:function(a,b){b=U(b);var c="std::string"===b;T(a,{name:b,fromWireType:function(a){var b=I[a>>2];if(c){var e=D[a+4+b],k=0;0!=e&&(k=e,D[a+4+b]=0);var h=a+4;for(e=0;e<=b;++e){var p=a+4+e;if(0==D[p]){h=h?na(D,h,void 0):"";if(void 0===l)var l=h;else l+=String.fromCharCode(0),l+=h;h=p+1}}0!=k&&(D[a+4+b]=k)}else{l=Array(b);for(e=0;e=e&&(e=65536+((e&1023)<<10)|b.charCodeAt(++c)&1023);127>=e?++a:a=2047>=e?a+2:65535>=e?a+3:a+4}return a}:function(){return b.length})(),h=ob(4+f+1);I[h>>2]=f;if(c&&e)oa(b,h+4,f+1);else if(e)for(e=0;e>2],g=Array(c),l=a+4>>f,w=0;w>2]=g;for(var w=k+4>>f,B=0;B=b?b=pa(2*b):b=Math.min(pa((3*b+2147483648)/4),2147418112);a:{try{C.grow(b-buffer.byteLength+65535>>16);ta(C.buffer);var c=1;break a}catch(e){}c=void 0}return c?!0:!1},t:function(a){return Math.log(a)/Math.LN10},a:y,memory:C,s:function(){},table:ka},qb=d.asm({},Fa,buffer);d.asm=qb; var pb=d.__ZSt18uncaught_exceptionv=function(){return d.asm.D.apply(null,arguments)};d.___embind_register_native_and_builtin_types=function(){return d.asm.E.apply(null,arguments)};var cb=d.___getTypeName=function(){return d.asm.F.apply(null,arguments)},X=d._free=function(){return d.asm.G.apply(null,arguments)},ob=d._malloc=function(){return d.asm.H.apply(null,arguments)},Ga=d.globalCtors=function(){return d.asm.$.apply(null,arguments)};d.dynCall_diiii=function(){return d.asm.I.apply(null,arguments)}; d.dynCall_fii=function(){return d.asm.J.apply(null,arguments)};d.dynCall_i=function(){return d.asm.K.apply(null,arguments)};d.dynCall_ii=function(){return d.asm.L.apply(null,arguments)};d.dynCall_iidiiii=function(){return d.asm.M.apply(null,arguments)};d.dynCall_iii=function(){return d.asm.N.apply(null,arguments)};d.dynCall_iiii=function(){return d.asm.O.apply(null,arguments)};d.dynCall_iiiiii=function(){return d.asm.P.apply(null,arguments)}; d.dynCall_iiiiiii=function(){return d.asm.Q.apply(null,arguments)};d.dynCall_jiji=function(){return d.asm.R.apply(null,arguments)};d.dynCall_v=function(){return d.asm.S.apply(null,arguments)};d.dynCall_vi=function(){return d.asm.T.apply(null,arguments)};d.dynCall_vii=function(){return d.asm.U.apply(null,arguments)};d.dynCall_viif=function(){return d.asm.V.apply(null,arguments)};d.dynCall_viii=function(){return d.asm.W.apply(null,arguments)};d.dynCall_viiii=function(){return d.asm.X.apply(null,arguments)}; d.dynCall_viiiii=function(){return d.asm.Y.apply(null,arguments)};d.dynCall_viiiiii=function(){return d.asm.Z.apply(null,arguments)};d.dynCall_viiiiiiiii=function(){return d.asm._.apply(null,arguments)};d.asm=qb;var Z;d.then=function(a){if(Z)a(d);else{var b=d.onRuntimeInitialized;d.onRuntimeInitialized=function(){b&&b();a(d)}}return d};N=function rb(){Z||sb();Z||(N=rb)}; function sb(){function a(){if(!Z&&(Z=!0,!la)){K(wa);K(xa);if(d.onRuntimeInitialized)d.onRuntimeInitialized();if(d.postRun)for("function"==typeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;){var a=d.postRun.shift();ya.unshift(a)}K(ya)}}if(!(0