pianoverse_client/bundle.js

1 line
315 KiB
JavaScript
Raw Normal View History

2024-11-25 15:45:53 +00:00
(()=>{"use strict";var __webpack_modules__={8045:e=>{e.exports=function(e,t){for(var i=new Array(arguments.length-1),o=0,a=2,s=!0;a<arguments.length;)i[o++]=arguments[a++];return new Promise((function(a,n){i[o]=function(e){if(s)if(s=!1,e)n(e);else{for(var t=new Array(arguments.length-1),i=0;i<t.length;)t[i++]=arguments[i];a.apply(null,t)}};try{e.apply(t||null,i)}catch(e){s&&(s=!1,n(e))}}))}},8839:(e,t)=>{var i=t;i.length=function(e){var t=e.length;if(!t)return 0;for(var i=0;--t%4>1&&"="===e.charAt(t);)++i;return Math.ceil(3*e.length)/4-i};for(var o=new Array(64),a=new Array(123),s=0;s<64;)a[o[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;i.encode=function(e,t,i){for(var a,s=null,n=[],r=0,l=0;t<i;){var c=e[t++];switch(l){case 0:n[r++]=o[c>>2],a=(3&c)<<4,l=1;break;case 1:n[r++]=o[a|c>>4],a=(15&c)<<2,l=2;break;case 2:n[r++]=o[a|c>>6],n[r++]=o[63&c],l=0}r>8191&&((s||(s=[])).push(String.fromCharCode.apply(String,n)),r=0)}return l&&(n[r++]=o[a],n[r++]=61,1===l&&(n[r++]=61)),s?(r&&s.push(String.fromCharCode.apply(String,n.slice(0,r))),s.join("")):String.fromCharCode.apply(String,n.slice(0,r))};var n="invalid encoding";i.decode=function(e,t,i){for(var o,s=i,r=0,l=0;l<e.length;){var c=e.charCodeAt(l++);if(61===c&&r>1)break;if(void 0===(c=a[c]))throw Error(n);switch(r){case 0:o=c,r=1;break;case 1:t[i++]=o<<2|(48&c)>>4,o=c,r=2;break;case 2:t[i++]=(15&o)<<4|(60&c)>>2,o=c,r=3;break;case 3:t[i++]=(3&o)<<6|c,r=0}}if(1===r)throw Error(n);return i-s},i.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},4358:e=>{function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,i){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:i||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var i=this._listeners[e],o=0;o<i.length;)i[o].fn===t?i.splice(o,1):++o;return this},t.prototype.emit=function(e){var t=this._listeners[e];if(t){for(var i=[],o=1;o<arguments.length;)i.push(arguments[o++]);for(o=0;o<t.length;)t[o].fn.apply(t[o++].ctx,i)}return this}},9410:e=>{function t(e){return"undefined"!=typeof Float32Array?function(){var t=new Float32Array([-0]),i=new Uint8Array(t.buffer),o=128===i[3];function a(e,o,a){t[0]=e,o[a]=i[0],o[a+1]=i[1],o[a+2]=i[2],o[a+3]=i[3]}function s(e,o,a){t[0]=e,o[a]=i[3],o[a+1]=i[2],o[a+2]=i[1],o[a+3]=i[0]}function n(e,o){return i[0]=e[o],i[1]=e[o+1],i[2]=e[o+2],i[3]=e[o+3],t[0]}function r(e,o){return i[3]=e[o],i[2]=e[o+1],i[1]=e[o+2],i[0]=e[o+3],t[0]}e.writeFloatLE=o?a:s,e.writeFloatBE=o?s:a,e.readFloatLE=o?n:r,e.readFloatBE=o?r:n}():function(){function t(e,t,i,o){var a=t<0?1:0;if(a&&(t=-t),0===t)e(1/t>0?0:2147483648,i,o);else if(isNaN(t))e(2143289344,i,o);else if(t>34028234663852886e22)e((a<<31|2139095040)>>>0,i,o);else if(t<11754943508222875e-54)e((a<<31|Math.round(t/1401298464324817e-60))>>>0,i,o);else{var s=Math.floor(Math.log(t)/Math.LN2);e((a<<31|s+127<<23|8388607&Math.round(t*Math.pow(2,-s)*8388608))>>>0,i,o)}}function n(e,t,i){var o=e(t,i),a=2*(o>>31)+1,s=o>>>23&255,n=8388607&o;return 255===s?n?NaN:a*(1/0):0===s?1401298464324817e-60*a*n:a*Math.pow(2,s-150)*(n+8388608)}e.writeFloatLE=t.bind(null,i),e.writeFloatBE=t.bind(null,o),e.readFloatLE=n.bind(null,a),e.readFloatBE=n.bind(null,s)}(),"undefined"!=typeof Float64Array?function(){var t=new Float64Array([-0]),i=new Uint8Array(t.buffer),o=128===i[7];function a(e,o,a){t[0]=e,o[a]=i[0],o[a+1]=i[1],o[a+2]=i[2],o[a+3]=i[3],o[a+4]=i[4],o[a+5]=i[5],o[a+6]=i[6],o[a+7]=i[7]}function s(e,o,a){t[0]=e,o[a]=i[7],o[a+1]=i[6],o[a+2]=i[5],o[a+3]=i[4],o[a+4]=i[3],o[a+5]=i[2],o[a+6]=i[1],o[a+7]=i[0]}function n(e,o){return i[0]=e[o],i[1]=e[o+1],i[2]=e[o+2],i[3]=e[o+3],i[4]=e[o+4],i[5]=e[o+5],i[6]=e[o+6],i[7]=e[o+7],t[0]}function r(e,o){return i[7]=e[o],i[6]=e[o+1],i[5]=e[o+2],i[4]=e[o+3],i[3]=e[o+4],i[2]=e[o+5],i[1]=e[o+6],i[0]=e[o+7],t[0]}e.writeDoubleLE=o?a:s,e.writeDoubleBE=o?s:a,e.readDoubleLE=o?n:r,e.readDoubleBE=o?r:n}():function(){function t(e,t,i,o,a,s){var n=o<0?1:0;if(n&&(o=-o),0===o)e(0,a,s+t),e(1/o>0?0:2147483648,a,s+i);else if(