diff --git a/beat-detector-594cac6e242750e6.js b/beat-detector-594cac6e242750e6.js deleted file mode 100644 index d5c8d4c..0000000 --- a/beat-detector-594cac6e242750e6.js +++ /dev/null @@ -1 +0,0 @@ -let a7=460,X=`function`,R=`undefined`,_=`boolean`,a2=16,$=`string`,S=`utf-8`,Q=null,a0=`Object`,W=1,Z=`number`,U=0,a3=4,O=Array,T=Error,a1=FinalizationRegistry,Y=Int32Array,a4=Object,a5=Promise,a6=Reflect,V=Uint8Array,P=undefined;var I=(async(a,b)=>{if(typeof Response===X&&a instanceof Response){if(typeof WebAssembly.instantiateStreaming===X){try{return await WebAssembly.instantiateStreaming(a,b)}catch(b){if(a.headers.get(`Content-Type`)!=`application/wasm`){console.warn(`\`WebAssembly.instantiateStreaming\` failed because your server does not serve wasm with \`application/wasm\` MIME type. Falling back to \`WebAssembly.instantiate\` which is slower. Original error:\\n`,b)}else{throw b}}};const c=await a.arrayBuffer();return await WebAssembly.instantiate(c,b)}else{const c=await WebAssembly.instantiate(a,b);if(c instanceof WebAssembly.Instance){return {instance:c,module:a}}else{return c}}});var u=(a=>{const b=typeof a;if(b==Z||b==_||a==Q){return `${a}`};if(b==$){return `"${a}"`};if(b==`symbol`){const b=a.description;if(b==Q){return `Symbol`}else{return `Symbol(${b})`}};if(b==X){const b=a.name;if(typeof b==$&&b.length>U){return `Function(${b})`}else{return `Function`}};if(O.isArray(a)){const b=a.length;let c=`[`;if(b>U){c+=u(a[U])};for(let d=W;dW){d=c[W]}else{return toString.call(a)};if(d==a0){try{return `Object(`+ JSON.stringify(a)+ `)`}catch(a){return a0}};if(a instanceof T){return `${a.name}: ${a.message}\n${a.stack}`};return d});var x=((b,c,d)=>{a._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1ea357d1135e86cf(b,c,k(d))});var K=((a,b)=>{});var z=((b,c,d)=>{a.wasm_bindgen__convert__closures__invoke1_mut__h8b023bc9c0b8cc0d(b,c,k(d))});var k=(a=>{if(d===b.length)b.push(b.length+ W);const c=d;d=b[c];b[c]=a;return c});var f=(a=>{const b=c(a);e(a);return b});var N=(async(b)=>{if(a!==P)return a;if(typeof b===R){b=new URL(`beat-detector_bg.wasm`,import.meta.url)};const c=J();if(typeof b===$||typeof Request===X&&b instanceof Request||typeof URL===X&&b instanceof URL){b=fetch(b)};K(c);const {instance:d,module:e}=await I(await b,c);return L(d,e)});var M=(b=>{if(a!==P)return a;const c=J();K(c);if(!(b instanceof WebAssembly.Module)){b=new WebAssembly.Module(b)};const d=new WebAssembly.Instance(b,c);return L(d,b)});var B=((b,c,d)=>{a.wasm_bindgen__convert__closures__invoke1_mut__h7c1a9c076361cbab(b,c,k(d))});function D(b,c){try{return b.apply(this,c)}catch(b){a.__wbindgen_exn_store(k(b))}}var J=(()=>{const b={};b.wbg={};b.wbg.__wbg_guiremotewrapper_new=(a=>{const b=H.__wrap(a);return k(b)});b.wbg.__wbg_start_2eaa068d8a373d93=(a=>{start(f(a))});b.wbg.__wbindgen_object_drop_ref=(a=>{f(a)});b.wbg.__wbindgen_string_new=((a,b)=>{const c=j(a,b);return k(c)});b.wbg.__wbindgen_cb_drop=(a=>{const b=f(a).original;if(b.cnt--==W){b.a=U;return !0};const c=!1;return c});b.wbg.__wbindgen_object_clone_ref=(a=>{const b=c(a);return k(b)});b.wbg.__wbg_open_d8aa5d034d159b82=(a=>{const b=c(a).open();return k(b)});b.wbg.__wbg_setonmidimessage_722e4ddf3f1bf3da=((a,b)=>{c(a).onmidimessage=c(b)});b.wbg.__wbg_timeStamp_2862d0055bbcb336=(a=>{const b=c(a).timeStamp;return b});b.wbg.__wbg_data_4be33c0f63b7c5a0=function(){return D(((b,d)=>{const e=c(d).data;const f=F(e,a.__wbindgen_malloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f}),arguments)};b.wbg.__wbg_new_70828a4353259d4b=((a,b)=>{try{var c={a:a,b:b};var d=(a,b)=>{const d=c.a;c.a=U;try{return E(d,c.b,a,b)}finally{c.a=d}};const e=new a5(d);return k(e)}finally{c.a=c.b=U}});b.wbg.__wbg_instanceof_Window_cee7a886d55e7df5=(a=>{let b;try{b=c(a) instanceof Window}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_setTimeout_6ed7182ebad5d297=function(){return D(((a,b,d)=>{const e=c(a).setTimeout(c(b),d);return e}),arguments)};b.wbg.__wbg_name_dfbc89e58e2717c0=((b,d)=>{const e=c(d).name;var f=p(e)?U:o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);var g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f});b.wbg.__wbg_id_2a8935f3fc97f959=((b,d)=>{const e=c(d).id;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f});b.wbg.__wbg_get_3fddfed2c83f434c=function(){return D(((a,b)=>{const d=a6.get(c(a),c(b));return k(d)}),arguments)};b.wbg.__wbg_now_ef71656beb948bc8=(a=>{const b=c(a).now();return b});b.wbg.__wbg_preventDefault_657cbf753df1396c=(a=>{c(a).preventDefault()});b.wbg.__wbg_stopPropagation_806520d93e80bcf7=(a=>{c(a).stopPropagation()});b.wbg.__wbg_new_b1f2d6842d615181=(a=>{const b=new V(c(a));return k(b)});b.wbg.__wbg_removeEventListener_acfc154b998d806b=function(){return D(((a,b,d,e)=>{c(a).removeEventListener(j(b,d),c(e))}),arguments)};b.wbg.__wbg_clearInterval_0216ca540cb1ad00=((a,b)=>{c(a).clearInterval(b)});b.wbg.__wbindgen_string_get=((b,d)=>{const e=c(d);const f=typeof e===$?e:P;var g=p(f)?U:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/a3+ W]=h;r()[b/a3+ U]=g});b.wbg.__wbg_addEventListener_f984e99465a6a7f4=function(){return D(((a,b,d,e)=>{c(a).addEventListener(j(b,d),c(e))}),arguments)};b.wbg.__wbg_matches_b18b6193e5512cde=(a=>{const b=c(a).matches;return b});b.wbg.__wbg_altKey_580c95fbc9461164=(a=>{const b=c(a).altKey;return b});b.wbg.__wbg_ctrlKey_032bd6905bacba55=(a=>{const b=c(a).ctrlKey;return b});b.wbg.__wbg_shiftKey_a84ea8856781bd54=(a=>{const b=c(a).shiftKey;return b});b.wbg.__wbg_metaKey_fe405998712e46a0=(a=>{const b=c(a).metaKey;return b});b.wbg.__wbg_key_0527970a852413ca=((b,d)=>{const e=c(d).key;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f});b.wbg.__wbg_setvalue_bba31de32cdbb32c=((a,b,d)=>{c(a).value=j(b,d)});b.wbg.__wbg_data_bb29dff4a6557791=((b,d)=>{const e=c(d).data;var f=p(e)?U:o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);var g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f});b.wbg.__wbg_button_43d11b000a7126cf=(a=>{const b=c(a).button;return b});b.wbg.__wbg_deltaMode_ed2d0b2e0a547b92=(a=>{const b=c(a).deltaMode;return b});b.wbg.__wbg_deltaX_5ddc4c69f2887db9=(a=>{const b=c(a).deltaX;return b});b.wbg.__wbg_deltaY_0ba2dcd707862292=(a=>{const b=c(a).deltaY;return b});b.wbg.__wbg_ctrlKey_2817108375a63e7c=(a=>{const b=c(a).ctrlKey;return b});b.wbg.__wbg_metaKey_35f1fd33c4e0c5df=(a=>{const b=c(a).metaKey;return b});b.wbg.__wbg_shiftKey_87d2a9527cefdf3d=(a=>{const b=c(a).shiftKey;return b});b.wbg.__wbg_value_99f5294791d62576=((b,d)=>{const e=c(d).value;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f});b.wbg.__wbg_dataTransfer_c3dfe779ef079bcc=(a=>{const b=c(a).dataTransfer;return p(b)?U:k(b)});b.wbg.__wbg_items_622c348119794691=(a=>{const b=c(a).items;return k(b)});b.wbg.__wbg_length_e5ff7777627bc19e=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_0aa6219f7b9f2100=((a,b)=>{const d=c(a)[b>>>U];return p(d)?U:k(d)});b.wbg.__wbg_type_023f810f636fd950=((b,d)=>{const e=c(d).type;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f});b.wbg.__wbg_files_00ec146c4eb7c254=(a=>{const b=c(a).files;return p(b)?U:k(b)});b.wbg.__wbg_length_29ed7aaf6bb5a432=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_a5a83ff42873c81d=((a,b)=>{const d=c(a)[b>>>U];return p(d)?U:k(d)});b.wbg.__wbg_name_9762a5bb951e00c1=((b,d)=>{const e=c(d).name;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f});b.wbg.__wbg_type_6c31bd72c3383cba=((b,d)=>{const e=c(d).type;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f});b.wbg.__wbg_lastModified_679a43283963f658=(a=>{const b=c(a).lastModified;return b});b.wbg.__wbg_size_97217f6c840f58b2=(a=>{const b=c(a).size;return b});b.wbg.__wbg_arrayBuffer_800ebf8dca614366=(a=>{const b=c(a).arrayBuffer();return k(b)});b.wbg.__wbg_isComposing_750f53009cbfb833=(a=>{const b=c(a).isComposing;return b});b.wbg.__wbg_keyCode_8c7511bf92389868=(a=>{const b=c(a).keyCode;return b});b.wbg.__wbg_hidden_2366c29a55a4c50a=(a=>{const b=c(a).hidden;return b});b.wbg.__wbg_focus_d1373017540aae66=function(){return D((a=>{c(a).focus()}),arguments)};b.wbg.__wbg_blur_3bef2a6e3b1f9734=function(){return D((a=>{c(a).blur()}),arguments)};b.wbg.__wbg_sethidden_04acac3815d1ba64=((a,b)=>{c(a).hidden=b!==U});b.wbg.__wbg_setProperty_5144ddce66bbde41=function(){return D(((a,b,d,e,f)=>{c(a).setProperty(j(b,d),j(e,f))}),arguments)};b.wbg.__wbg_document_eb7fd66bde3ee213=(a=>{const b=c(a).document;return p(b)?U:k(b)});b.wbg.__wbg_getElementById_77f2dfdddee12e05=((a,b,d)=>{const e=c(a).getElementById(j(b,d));return p(e)?U:k(e)});b.wbg.__wbg_instanceof_HtmlInputElement_189f182751dc1f5e=(a=>{let b;try{b=c(a) instanceof HTMLInputElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_body_874ccb42daaab363=(a=>{const b=c(a).body;return p(b)?U:k(b)});b.wbg.__wbg_createElement_03cf347ddad1c8c0=function(){return D(((a,b,d)=>{const e=c(a).createElement(j(b,d));return k(e)}),arguments)};b.wbg.__wbg_setid_7daec2ce740ea365=((a,b,d)=>{c(a).id=j(b,d)});b.wbg.__wbg_style_ca229e3326b3c3fb=(a=>{const b=c(a).style;return k(b)});b.wbg.__wbg_setsize_c0546cf8c51a0e77=((a,b)=>{c(a).size=b>>>U});b.wbg.__wbg_setautofocus_3ac9b87146e5cd21=((a,b)=>{c(a).autofocus=b!==U});b.wbg.__wbindgen_number_get=((a,b)=>{const d=c(b);const e=typeof d===Z?d:P;t()[a/8+ W]=p(e)?U:e;r()[a/a3+ U]=!p(e)});b.wbg.__wbg_navigator_b1003b77e05fcee9=(a=>{const b=c(a).navigator;return k(b)});b.wbg.__wbg_userAgent_6dbd12d01f988f5f=function(){return D(((b,d)=>{const e=c(d).userAgent;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f}),arguments)};b.wbg.__wbg_getBoundingClientRect_3b6c47996a55427e=(a=>{const b=c(a).getBoundingClientRect();return k(b)});b.wbg.__wbg_scrollTop_6f07539d4534a820=(a=>{const b=c(a).scrollTop;return b});b.wbg.__wbg_offsetTop_0636b250f8d731f3=(a=>{const b=c(a).offsetTop;return b});b.wbg.__wbg_clientHeight_2b2a9874084502db=(a=>{const b=c(a).clientHeight;return b});b.wbg.__wbg_height_bdf3f02c617ef055=(a=>{const b=c(a).height;return b});b.wbg.__wbg_scrollLeft_c2f39ef7a0b36f55=(a=>{const b=c(a).scrollLeft;return b});b.wbg.__wbg_offsetLeft_0150ee05891dfb7e=(a=>{const b=c(a).offsetLeft;return b});b.wbg.__wbg_offsetWidth_b5af4d8ba15fa071=(a=>{const b=c(a).offsetWidth;return b});b.wbg.__wbg_clientWidth_7a325bdb8c723d9f=(a=>{const b=c(a).clientWidth;return b});b.wbg.__wbg_width_faa64c8759fdff80=(a=>{const b=c(a).width;return b});b.wbg.__wbg_requestAnimationFrame_fdbeaff9e8f3f77d=function(){return D(((a,b)=>{const d=c(a).requestAnimationFrame(c(b));return d}),arguments)};b.wbg.__wbg_matchMedia_d9cdff718d3e526e=function(){return D(((a,b,d)=>{const e=c(a).matchMedia(j(b,d));return p(e)?U:k(e)}),arguments)};b.wbg.__wbg_parentElement_45a9756dc74ff48b=(a=>{const b=c(a).parentElement;return p(b)?U:k(b)});b.wbg.__wbg_devicePixelRatio_3ced5021c4480dd9=(a=>{const b=c(a).devicePixelRatio;return b});b.wbg.__wbg_setwidth_233645b297bb3318=((a,b)=>{c(a).width=b>>>U});b.wbg.__wbg_setheight_fcb491cf54e3527c=((a,b)=>{c(a).height=b>>>U});b.wbg.__wbg_performance_4ca1873776fdb3d2=(a=>{const b=c(a).performance;return p(b)?U:k(b)});b.wbg.__wbg_matches_f58a5f0b7cbb150c=(a=>{const b=c(a).matches;return b});b.wbg.__wbg_instanceof_HtmlCanvasElement_1e81f71f630e46bc=(a=>{let b;try{b=c(a) instanceof HTMLCanvasElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_left_52377628791ffcf6=(a=>{const b=c(a).left;return b});b.wbg.__wbg_top_44a8c250dcea0251=(a=>{const b=c(a).top;return b});b.wbg.__wbg_width_aa1ac55fb41db6ae=(a=>{const b=c(a).width;return b});b.wbg.__wbg_height_bea901cd16645fb7=(a=>{const b=c(a).height;return b});b.wbg.__wbg_open_8db78e14935e215b=function(){return D(((a,b,d,e,f)=>{const g=c(a).open(j(b,d),j(e,f));return p(g)?U:k(g)}),arguments)};b.wbg.__wbg_location_b17760ac7977a47a=(a=>{const b=c(a).location;return k(b)});b.wbg.__wbg_hash_163703b5971e593c=function(){return D(((b,d)=>{const e=c(d).hash;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f}),arguments)};b.wbg.__wbg_getContext_dfc91ab0837db1d1=function(){return D(((a,b,d)=>{const e=c(a).getContext(j(b,d));return p(e)?U:k(e)}),arguments)};b.wbg.__wbg_instanceof_WebGlRenderingContext_468d6182819ad4c3=(a=>{let b;try{b=c(a) instanceof WebGLRenderingContext}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_getExtension_695813f4264a3da5=function(){return D(((a,b,d)=>{const e=c(a).getExtension(j(b,d));return p(e)?U:k(e)}),arguments)};b.wbg.__wbg_getParameter_d866a888cb0448b3=function(){return D(((a,b)=>{const d=c(a).getParameter(b>>>U);return k(d)}),arguments)};b.wbg.__wbg_instanceof_WebGl2RenderingContext_b1bbc94623ae057f=(a=>{let b;try{b=c(a) instanceof WebGL2RenderingContext}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_clientX_2d1be024f35f3981=(a=>{const b=c(a).clientX;return b});b.wbg.__wbg_clientY_967af1c2b0177a9f=(a=>{const b=c(a).clientY;return b});b.wbg.__wbg_touches_156ae51fb3534e87=(a=>{const b=c(a).touches;return k(b)});b.wbg.__wbg_length_82b5ad246042df8b=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_1a995928c199f987=((a,b)=>{const d=c(a)[b>>>U];return p(d)?U:k(d)});b.wbg.__wbg_identifier_1bbeeef4f8c3644c=(a=>{const b=c(a).identifier;return b});b.wbg.__wbg_pageX_1a662c5236b65a8c=(a=>{const b=c(a).pageX;return b});b.wbg.__wbg_pageY_7d28263e3ca120f8=(a=>{const b=c(a).pageY;return b});b.wbg.__wbg_changedTouches_2a84bde1dd7ea44a=(a=>{const b=c(a).changedTouches;return k(b)});b.wbg.__wbg_item_f29aac628e55f885=((a,b)=>{const d=c(a).item(b>>>U);return p(d)?U:k(d)});b.wbg.__wbg_force_a23dc68752bbd295=(a=>{const b=c(a).force;return b});b.wbg.__wbg_error_fef71bc9b670aec4=((b,c)=>{let d;let e;try{d=b;e=c;console.error(j(b,c))}finally{a.__wbindgen_free(d,e,W)}});b.wbg.__wbg_new_17c866ad40da987b=(()=>{const a=new T();return k(a)});b.wbg.__wbg_stack_1c1cef4675b9e0ca=((b,d)=>{const e=c(d).stack;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f});b.wbg.__wbindgen_debug_string=((b,d)=>{const e=u(c(d));const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f});b.wbg.__wbg_search_40927d5af164fdfe=function(){return D(((b,d)=>{const e=c(d).search;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f}),arguments)};b.wbg.__wbg_href_a5b902312c18d121=function(){return D(((b,d)=>{const e=c(d).href;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f}),arguments)};b.wbg.__wbg_protocol_85fb404fceb30ff2=function(){return D(((b,d)=>{const e=c(d).protocol;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f}),arguments)};b.wbg.__wbg_host_3f37d9558f3919b9=function(){return D(((b,d)=>{const e=c(d).host;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f}),arguments)};b.wbg.__wbg_hostname_0a8eb31c4e0261e9=function(){return D(((b,d)=>{const e=c(d).hostname;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f}),arguments)};b.wbg.__wbg_port_be2aeb97d2bf49c7=function(){return D(((b,d)=>{const e=c(d).port;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f}),arguments)};b.wbg.__wbg_origin_305402044aa148ce=function(){return D(((b,d)=>{const e=c(d).origin;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a3+ W]=g;r()[b/a3+ U]=f}),arguments)};b.wbg.__wbg_localStorage_3d538af21ea07fcc=function(){return D((a=>{const b=c(a).localStorage;return p(b)?U:k(b)}),arguments)};b.wbg.__wbg_getItem_5c179cd36e9529e8=function(){return D(((b,d,e,f)=>{const g=c(d).getItem(j(e,f));var h=p(g)?U:o(g,a.__wbindgen_malloc,a.__wbindgen_realloc);var i=l;r()[b/a3+ W]=i;r()[b/a3+ U]=h}),arguments)};b.wbg.__wbg_setItem_7b55989efb4d45f7=function(){return D(((a,b,d,e,f)=>{c(a).setItem(j(b,d),j(e,f))}),arguments)};b.wbg.__wbg_warn_9f342193aba78ade=((a,b)=>{console.warn(j(a,b))});b.wbg.__wbg_info_5f81499bedfbb5bc=((a,b)=>{console.info(j(a,b))});b.wbg.__wbg_debug_3f054bbe0f3dac7b=((a,b)=>{console.debug(j(a,b))});b.wbg.__wbg_trace_a77d5b4727abe1a2=((a,b)=>{console.trace(j(a,b))});b.wbg.__wbg_getUniformLocation_2890393c80bc543b=((a,b,d,e)=>{const f=c(a).getUniformLocation(c(b),j(d,e));return p(f)?U:k(f)});b.wbg.__wbg_getUniformLocation_009db1591e93ef17=((a,b,d,e)=>{const f=c(a).getUniformLocation(c(b),j(d,e));return p(f)?U:k(f)});b.wbg.__wbg_getAttribLocation_5394f71d757b6847=((a,b,d,e)=>{const f=c(a).getAttribLocation(c(b),j(d,e));return f});b.wbg.__wbg_getAttribLocation_08f436d8fc4fe68d=((a,b,d,e)=>{const f=c(a).getAttribLocation(c(b),j(d,e));return f});b.wbg.__wbg_enable_f6bb861e15562c7d=((a,b)=>{c(a).enable(b>>>U)});b.wbg.__wbg_enable_98a8863abbaa7bd2=((a,b)=>{c(a).enable(b>>>U)});b.wbg.__wbg_disable_d9f43aa105b2d999=((a,b)=>{c(a).disable(b>>>U)});b.wbg.__wbg_disable_3598de08841268c2=((a,b)=>{c(a).disable(b>>>U)});b.wbg.__wbg_colorMask_d8a9ecfb82a480cf=((a,b,d,e,f)=>{c(a).colorMask(b!==U,d!==U,e!==U,f!==U)});b.wbg.__wbg_colorMask_ae97e907cdf41404=((a,b,d,e,f)=>{c(a).colorMask(b!==U,d!==U,e!==U,f!==U)});b.wbg.__wbg_blendEquationSeparate_483c9bbff12702e9=((a,b,d)=>{c(a).blendEquationSeparate(b>>>U,d>>>U)});b.wbg.__wbg_blendEquationSeparate_46b6aa4bdcf2d9ef=((a,b,d)=>{c(a).blendEquationSeparate(b>>>U,d>>>U)});b.wbg.__wbg_blendFuncSeparate_2f3d44b3bd3604e9=((a,b,d,e,f)=>{c(a).blendFuncSeparate(b>>>U,d>>>U,e>>>U,f>>>U)});b.wbg.__wbg_blendFuncSeparate_0490d8414b0a2e98=((a,b,d,e,f)=>{c(a).blendFuncSeparate(b>>>U,d>>>U,e>>>U,f>>>U)});b.wbg.__wbg_viewport_037ea26b4fcd0cb2=((a,b,d,e,f)=>{c(a).viewport(b,d,e,f)});b.wbg.__wbg_viewport_f542dcd30d88e69d=((a,b,d,e,f)=>{c(a).viewport(b,d,e,f)});b.wbg.__wbg_useProgram_1532661e648379ca=((a,b)=>{c(a).useProgram(c(b))});b.wbg.__wbg_useProgram_b28955d541019a7a=((a,b)=>{c(a).useProgram(c(b))});b.wbg.__wbg_uniform2f_766ce5b04d89a3d8=((a,b,d,e)=>{c(a).uniform2f(c(b),d,e)});b.wbg.__wbg_uniform2f_cf18347e12a5f103=((a,b,d,e)=>{c(a).uniform2f(c(b),d,e)});b.wbg.__wbg_uniform1i_76ac1d17923cb752=((a,b,d)=>{c(a).uniform1i(c(b),d)});b.wbg.__wbg_uniform1i_3f1af04af82891ff=((a,b,d)=>{c(a).uniform1i(c(b),d)});b.wbg.__wbg_activeTexture_5d70c5bfb1e18433=((a,b)=>{c(a).activeTexture(b>>>U)});b.wbg.__wbg_activeTexture_5f08f4188abc9410=((a,b)=>{c(a).activeTexture(b>>>U)});b.wbg.__wbg_bindBuffer_8721bd9c00cbc8b8=((a,b,d)=>{c(a).bindBuffer(b>>>U,c(d))});b.wbg.__wbg_bindBuffer_0285be79ac8a4f9f=((a,b,d)=>{c(a).bindBuffer(b>>>U,c(d))});b.wbg.__wbg_scissor_1a003e68fc69d37d=((a,b,d,e,f)=>{c(a).scissor(b,d,e,f)});b.wbg.__wbg_scissor_b2312f494abc5032=((a,b,d,e,f)=>{c(a).scissor(b,d,e,f)});b.wbg.__wbg_bindVertexArrayOES_fd441111fdf91a30=((a,b)=>{c(a).bindVertexArrayOES(c(b))});b.wbg.__wbg_disableVertexAttribArray_415331ebeb20bf62=((a,b)=>{c(a).disableVertexAttribArray(b>>>U)});b.wbg.__wbg_disableVertexAttribArray_2550e62f2714837b=((a,b)=>{c(a).disableVertexAttribArray(b>>>U)});b.wbg.__wbg_bindVertexArray_68196ec68ffa5d9c=((a,b)=>{c(a).bindVertexArray(c(b))});b.wbg.__wbg_bindTexture_17a55d9204f92347=((a,b,d)=>{c(a).bindTexture(b>>>U,c(d))});b.wbg.__wbg_bindTexture_20fd21916229a80c=((a,b,d)=>{c(a).bindTexture(b>>>U,c(d))});b.wbg.__wbg_drawElements_201a313e5ea8a1c4=((a,b,d,e,f)=>{c(a).drawElements(b>>>U,d,e>>>U,f)});b.wbg.__wbg_drawElements_77b947be75fe30f4=((a,b,d,e,f)=>{c(a).drawElements(b>>>U,d,e>>>U,f)});b.wbg.__wbg_texParameteri_ee2fc6b9f304c84a=((a,b,d,e)=>{c(a).texParameteri(b>>>U,d>>>U,e)});b.wbg.__wbg_texParameteri_b747d8d506fcd0d2=((a,b,d,e)=>{c(a).texParameteri(b>>>U,d>>>U,e)});b.wbg.__wbg_pixelStorei_98d826c8b851ed4f=((a,b,d)=>{c(a).pixelStorei(b>>>U,d)});b.wbg.__wbg_pixelStorei_8848825419f61cec=((a,b,d)=>{c(a).pixelStorei(b>>>U,d)});b.wbg.__wbg_clearColor_6d87cdad9936f445=((a,b,d,e,f)=>{c(a).clearColor(b,d,e,f)});b.wbg.__wbg_clearColor_e4c61a3089043306=((a,b,d,e,f)=>{c(a).clearColor(b,d,e,f)});b.wbg.__wbg_clear_617b292bb8360c4a=((a,b)=>{c(a).clear(b>>>U)});b.wbg.__wbg_clear_ceb93ecc4e5d5e06=((a,b)=>{c(a).clear(b>>>U)});b.wbg.__wbg_vertexAttribPointer_88b31f05ae55b02c=((a,b,d,e,f,g,h)=>{c(a).vertexAttribPointer(b>>>U,d,e>>>U,f!==U,g,h)});b.wbg.__wbg_vertexAttribPointer_df897e1c10d6b71b=((a,b,d,e,f,g,h)=>{c(a).vertexAttribPointer(b>>>U,d,e>>>U,f!==U,g,h)});b.wbg.__wbg_enableVertexAttribArray_1e31054271daee48=((a,b)=>{c(a).enableVertexAttribArray(b>>>U)});b.wbg.__wbg_enableVertexAttribArray_5f8e190ba41f4f30=((a,b)=>{c(a).enableVertexAttribArray(b>>>U)});b.wbg.__wbg_shaderSource_17ebc5d747730d79=((a,b,d,e)=>{c(a).shaderSource(c(b),j(d,e))});b.wbg.__wbg_shaderSource_d241264f221df907=((a,b,d,e)=>{c(a).shaderSource(c(b),j(d,e))});b.wbg.__wbg_compileShader_349b2f1607e1b7e9=((a,b)=>{c(a).compileShader(c(b))});b.wbg.__wbg_compileShader_2191687ded033138=((a,b)=>{c(a).compileShader(c(b))});b.wbg.__wbg_getShaderInfoLog_9534d164ba660552=((b,d,e)=>{const f=c(d).getShaderInfoLog(c(e));var g=p(f)?U:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/a3+ W]=h;r()[b/a3+ U]=g});b.wbg.__wbg_getShaderInfoLog_63c64bf03382de2d=((b,d,e)=>{const f=c(d).getShaderInfoLog(c(e));var g=p(f)?U:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/a3+ W]=h;r()[b/a3+ U]=g});b.wbg.__wbg_linkProgram_5bd18d4ebd77a2ea=((a,b)=>{c(a).linkProgram(c(b))});b.wbg.__wbg_linkProgram_578651eb0388616a=((a,b)=>{c(a).linkProgram(c(b))});b.wbg.__wbg_getProgramInfoLog_5bbd3c3298d235e3=((b,d,e)=>{const f=c(d).getProgramInfoLog(c(e));var g=p(f)?U:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/a3+ W]=h;r()[b/a3+ U]=g});b.wbg.__wbg_getProgramInfoLog_a9fede9be1e3a6ce=((b,d,e)=>{const f=c(d).getProgramInfoLog(c(e));var g=p(f)?U:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/a3+ W]=h;r()[b/a3+ U]=g});b.wbg.__wbg_getError_418a1642da6ca6b5=(a=>{const b=c(a).getError();return b});b.wbg.__wbg_getError_4f4b3a8c71d4c39e=(a=>{const b=c(a).getError();return b});b.wbg.__wbg_getSupportedExtensions_69c26850565e0ddc=(a=>{const b=c(a).getSupportedExtensions();return p(b)?U:k(b)});b.wbg.__wbg_length_161c0d89c6535c1d=(a=>{const b=c(a).length;return b});b.wbg.__wbg_getExtension_e64ba7e30e8a6eae=function(){return D(((a,b,d)=>{const e=c(a).getExtension(j(b,d));return p(e)?U:k(e)}),arguments)};b.wbg.__wbg_getSupportedExtensions_3d93fae4cd24d995=(a=>{const b=c(a).getSupportedExtensions();return p(b)?U:k(b)});b.wbg.__wbg_getParameter_4d51a40deebd7a8c=function(){return D(((a,b)=>{const d=c(a).getParameter(b>>>U);return k(d)}),arguments)};b.wbg.__wbg_createShader_6b7a22e75c6d4cc4=((a,b)=>{const d=c(a).createShader(b>>>U);return p(d)?U:k(d)});b.wbg.__wbg_createShader_eceb4217c94a1056=((a,b)=>{const d=c(a).createShader(b>>>U);return p(d)?U:k(d)});b.wbg.__wbg_createTexture_af9c1894db4f1ff4=(a=>{const b=c(a).createTexture();return p(b)?U:k(b)});b.wbg.__wbg_createTexture_084c9c8b377793c3=(a=>{const b=c(a).createTexture();return p(b)?U:k(b)});b.wbg.__wbg_deleteShader_13c4ae9a9c93c31f=((a,b)=>{c(a).deleteShader(c(b))});b.wbg.__wbg_deleteShader_1d9cfbdc150762cb=((a,b)=>{c(a).deleteShader(c(b))});b.wbg.__wbg_getShaderParameter_0cfb9e3e9f43693a=((a,b,d)=>{const e=c(a).getShaderParameter(c(b),d>>>U);return k(e)});b.wbg.__wbg_getShaderParameter_0fb2d525889d5a24=((a,b,d)=>{const e=c(a).getShaderParameter(c(b),d>>>U);return k(e)});b.wbg.__wbindgen_boolean_get=(a=>{const b=c(a);const d=typeof b===_?(b?W:U):2;return d});b.wbg.__wbg_createProgram_eb0e7dfb7c89e9b8=(a=>{const b=c(a).createProgram();return p(b)?U:k(b)});b.wbg.__wbg_createProgram_869004e7019cca34=(a=>{const b=c(a).createProgram();return p(b)?U:k(b)});b.wbg.__wbg_deleteProgram_655d072ee71efb0c=((a,b)=>{c(a).deleteProgram(c(b))});b.wbg.__wbg_deleteProgram_af78790615a2a7d7=((a,b)=>{c(a).deleteProgram(c(b))});b.wbg.__wbg_attachShader_877aa4ad5f81f5fb=((a,b,d)=>{c(a).attachShader(c(b),c(d))});b.wbg.__wbg_attachShader_427e1d01a628e522=((a,b,d)=>{c(a).attachShader(c(b),c(d))});b.wbg.__wbg_detachShader_480c7fff77236016=((a,b,d)=>{c(a).detachShader(c(b),c(d))});b.wbg.__wbg_detachShader_83214b1314cfc677=((a,b,d)=>{c(a).detachShader(c(b),c(d))});b.wbg.__wbg_getProgramParameter_9f11dae51c820ff9=((a,b,d)=>{const e=c(a).getProgramParameter(c(b),d>>>U);return k(e)});b.wbg.__wbg_getProgramParameter_a13e6d88ec9e039a=((a,b,d)=>{const e=c(a).getProgramParameter(c(b),d>>>U);return k(e)});b.wbg.__wbg_createBuffer_c48fee40bffd1848=(a=>{const b=c(a).createBuffer();return p(b)?U:k(b)});b.wbg.__wbg_createBuffer_ee6e74ae50f1fbc8=(a=>{const b=c(a).createBuffer();return p(b)?U:k(b)});b.wbg.__wbg_createVertexArrayOES_51189386ff9903a2=(a=>{const b=c(a).createVertexArrayOES();return p(b)?U:k(b)});b.wbg.__wbg_createVertexArray_aa1c03bf14f520f1=(a=>{const b=c(a).createVertexArray();return p(b)?U:k(b)});b.wbg.__wbindgen_memory=(()=>{const b=a.memory;return k(b)});b.wbg.__wbg_buffer_b914fb8b50ebbc3e=(a=>{const b=c(a).buffer;return k(b)});b.wbg.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e=((a,b,d)=>{const e=new V(c(a),b>>>U,d>>>U);return k(e)});b.wbg.__wbg_bufferData_560eedbff09bce24=((a,b,d,e)=>{c(a).bufferData(b>>>U,c(d),e>>>U)});b.wbg.__wbg_bufferData_325ab331c8e0735f=((a,b,d,e)=>{c(a).bufferData(b>>>U,c(d),e>>>U)});b.wbg.__wbg_deleteBuffer_0788cfe1724454e7=((a,b)=>{c(a).deleteBuffer(c(b))});b.wbg.__wbg_deleteBuffer_c66740fb719fb9a7=((a,b)=>{c(a).deleteBuffer(c(b))});b.wbg.__wbg_deleteTexture_38664338ad2770e7=((a,b)=>{c(a).deleteTexture(c(b))});b.wbg.__wbg_deleteTexture_547a7269a7254d2a=((a,b)=>{c(a).deleteTexture(c(b))});b.wbg.__wbg_texImage2D_480bb656acf1c931=function(){return D(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texImage2D(b>>>U,d,e,f,g,h,i>>>U,j>>>U,c(k))}),arguments)};b.wbg.__wbg_texImage2D_a907a9e673209a09=function(){return D(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texImage2D(b>>>U,d,e,f,g,h,i>>>U,j>>>U,c(k))}),arguments)};b.wbg.__wbg_texSubImage2D_ace8ef3e5beb9c66=function(){return D(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>U,d,e,f,g,h,i>>>U,j>>>U,c(k))}),arguments)};b.wbg.__wbg_texSubImage2D_01a3d1b8ac6e4702=function(){return D(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>U,d,e,f,g,h,i>>>U,j>>>U,c(k))}),arguments)};b.wbg.__wbg_texSubImage2D_c96538f70e56e139=function(){return D(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>U,d,e,f,g,h,i>>>U,j>>>U,k)}),arguments)};b.wbg.__wbg_newwithbyteoffsetandlength_42904a72cefa1e00=((a,b,d)=>{const e=new Int8Array(c(a),b>>>U,d>>>U);return k(e)});b.wbg.__wbg_newwithbyteoffsetandlength_0aafe9b39ed85f71=((a,b,d)=>{const e=new Int16Array(c(a),b>>>U,d>>>U);return k(e)});b.wbg.__wbg_newwithbyteoffsetandlength_8c2171d5a9b7f791=((a,b,d)=>{const e=new Uint16Array(c(a),b>>>U,d>>>U);return k(e)});b.wbg.__wbg_newwithbyteoffsetandlength_9ca2c1faeb430732=((a,b,d)=>{const e=new Y(c(a),b>>>U,d>>>U);return k(e)});b.wbg.__wbg_newwithbyteoffsetandlength_7f2d9491ea8c746e=((a,b,d)=>{const e=new Uint32Array(c(a),b>>>U,d>>>U);return k(e)});b.wbg.__wbg_newwithbyteoffsetandlength_5fd0a60d38f47fa6=((a,b,d)=>{const e=new Float32Array(c(a),b>>>U,d>>>U);return k(e)});b.wbg.__wbg_get_0ee8ea3c7c984c45=((a,b)=>{const d=c(a)[b>>>U];return k(d)});b.wbg.__wbg_new_632630b5cec17f21=(()=>{const a=new a4();return k(a)});b.wbg.__wbg_self_05040bd9523805b9=function(){return D((()=>{const a=self.self;return k(a)}),arguments)};b.wbg.__wbg_window_adc720039f2cb14f=function(){return D((()=>{const a=window.window;return k(a)}),arguments)};b.wbg.__wbg_globalThis_622105db80c1457d=function(){return D((()=>{const a=globalThis.globalThis;return k(a)}),arguments)};b.wbg.__wbg_global_f56b013ed9bcf359=function(){return D((()=>{const a=global.global;return k(a)}),arguments)};b.wbg.__wbindgen_is_undefined=(a=>{const b=c(a)===P;return b});b.wbg.__wbg_newnoargs_cfecb3965268594c=((a,b)=>{const c=new Function(j(a,b));return k(c)});b.wbg.__wbg_call_3f093dd26d5569f8=function(){return D(((a,b)=>{const d=c(a).call(c(b));return k(d)}),arguments)};b.wbg.__wbg_forEach_ac8aed4c78e46bd1=((a,b,d)=>{try{var e={a:b,b:d};var f=(a,b)=>{const c=e.a;e.a=U;try{return E(c,e.b,a,b)}finally{e.a=c}};c(a).forEach(f)}finally{e.a=e.b=U}});b.wbg.__wbg_resolve_5da6faf2c96fd1d5=(a=>{const b=a5.resolve(c(a));return k(b)});b.wbg.__wbg_then_f9e58f5a50f43eae=((a,b)=>{const d=c(a).then(c(b));return k(d)});b.wbg.__wbg_then_20a5920e447d1cb1=((a,b,d)=>{const e=c(a).then(c(b),c(d));return k(e)});b.wbg.__wbg_length_21c4b0ae73cba59d=(a=>{const b=c(a).length;return b});b.wbg.__wbg_set_7d988c98e6ced92d=((a,b,d)=>{c(a).set(c(b),d>>>U)});b.wbg.__wbg_set_961700853a212a39=function(){return D(((a,b,d)=>{const e=a6.set(c(a),c(b),c(d));return e}),arguments)};b.wbg.__wbg_instanceof_MidiInput_d15e2d5b9a1f1137=(a=>{let b;try{b=c(a) instanceof MIDIInput}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_instanceof_MidiAccess_d55aee502522ce36=(a=>{let b;try{b=c(a) instanceof MIDIAccess}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_inputs_a5dd0bfbe57ef19b=(a=>{const b=c(a).inputs;return k(b)});b.wbg.__wbg_requestMIDIAccess_3934ed0264c6869a=function(){return D(((a,b)=>{const d=c(a).requestMIDIAccess(c(b));return k(d)}),arguments)};b.wbg.__wbindgen_throw=((a,b)=>{throw new T(j(a,b))});b.wbg.__wbg_queueMicrotask_f61ee94ee663068b=(a=>{queueMicrotask(c(a))});b.wbg.__wbg_queueMicrotask_f82fc5d1e8f816ae=(a=>{const b=c(a).queueMicrotask;return k(b)});b.wbg.__wbindgen_is_function=(a=>{const b=typeof c(a)===X;return b});b.wbg.__wbg_innerHeight_a9719febb72ddaf3=function(){return D((a=>{const b=c(a).innerHeight;return k(b)}),arguments)};b.wbg.__wbg_appendChild_4153ba1b5d54d73b=function(){return D(((a,b)=>{const d=c(a).appendChild(c(b));return k(d)}),arguments)};b.wbg.__wbg_performance_eeefc685c9bc38b4=(a=>{const b=c(a).performance;return k(b)});b.wbg.__wbg_now_e0d8ec93dd25766a=(a=>{const b=c(a).now();return b});b.wbg.__wbindgen_closure_wrapper763=((a,b,c)=>{const d=w(a,b,221,x);return k(d)});b.wbg.__wbindgen_closure_wrapper1244=((a,b,c)=>{const d=w(a,b,a7,y);return k(d)});b.wbg.__wbindgen_closure_wrapper1246=((a,b,c)=>{const d=w(a,b,a7,z);return k(d)});b.wbg.__wbindgen_closure_wrapper1248=((a,b,c)=>{const d=w(a,b,a7,A);return k(d)});b.wbg.__wbindgen_closure_wrapper2942=((a,b,c)=>{const d=w(a,b,813,B);return k(d)});b.wbg.__wbindgen_closure_wrapper3558=((a,b,c)=>{const d=w(a,b,1050,C);return k(d)});return b});var F=((a,b)=>{const c=b(a.length*W,W)>>>U;i().set(a,c/W);l=a.length;return c});var r=(()=>{if(q===Q||q.byteLength===U){q=new Y(a.memory.buffer)};return q});var p=(a=>a===P||a===Q);var c=(a=>b[a]);var E=((b,c,d,e)=>{a.wasm_bindgen__convert__closures__invoke2_mut__h30d0d202e4128892(b,c,k(d),k(e))});var C=((b,c,d)=>{a._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h17b663a3a5805645(b,c,k(d))});var A=((b,c)=>{try{const g=a.__wbindgen_add_to_stack_pointer(-a2);a.wasm_bindgen__convert__closures__invoke0_mut__h3786ba71e491e96c(g,b,c);var d=r()[g/a3+ U];var e=r()[g/a3+ W];if(e){throw f(d)}}finally{a.__wbindgen_add_to_stack_pointer(a2)}});var t=(()=>{if(s===Q||s.byteLength===U){s=new Float64Array(a.memory.buffer)};return s});var y=((b,c)=>{a.wasm_bindgen__convert__closures__invoke0_mut__h62098379bf7bf10f(b,c)});var e=(a=>{if(a<132)return;b[a]=d;d=a});var w=((b,c,d,e)=>{const f={a:b,b:c,cnt:W,dtor:d};const g=(...b)=>{f.cnt++;const c=f.a;f.a=U;try{return e(c,f.b,...b)}finally{if(--f.cnt===U){a.__wbindgen_export_2.get(f.dtor)(c,f.b);v.unregister(f)}else{f.a=c}}};g.original=f;v.register(g,f,f);return g});var o=((a,b,c)=>{if(c===P){const c=m.encode(a);const d=b(c.length,W)>>>U;i().subarray(d,d+ c.length).set(c);l=c.length;return d};let d=a.length;let e=b(d,W)>>>U;const f=i();let g=U;for(;g127)break;f[e+ g]=b};if(g!==d){if(g!==U){a=a.slice(g)};e=c(e,d,d=g+ a.length*3,W)>>>U;const b=i().subarray(e+ g,e+ d);const f=n(a,b);g+=f.written;e=c(e,d,g,W)>>>U};l=g;return e});var i=(()=>{if(h===Q||h.byteLength===U){h=new V(a.memory.buffer)};return h});var j=((a,b)=>{a=a>>>U;return g.decode(i().subarray(a,a+ b))});var L=((b,c)=>{a=b.exports;N.__wbindgen_wasm_module=c;s=Q;q=Q;h=Q;a.__wbindgen_start();return a});let a;const b=new O(128).fill(P);b.push(P,Q,!0,!1);let d=b.length;const g=typeof TextDecoder!==R?new TextDecoder(S,{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw T(`TextDecoder not available`)}};if(typeof TextDecoder!==R){g.decode()};let h=Q;let l=U;const m=typeof TextEncoder!==R?new TextEncoder(S):{encode:()=>{throw T(`TextEncoder not available`)}};const n=typeof m.encodeInto===X?((a,b)=>m.encodeInto(a,b)):((a,b)=>{const c=m.encode(a);b.set(c);return {read:a.length,written:c.length}});let q=Q;let s=Q;const v=typeof a1===R?{register:()=>{},unregister:()=>{}}:new a1(b=>{a.__wbindgen_export_2.get(b.dtor)(b.a,b.b)});const G=typeof a1===R?{register:()=>{},unregister:()=>{}}:new a1(b=>a.__wbg_guiremotewrapper_free(b>>>U));class H{static __wrap(a){a=a>>>U;const b=a4.create(H.prototype);b.__wbg_ptr=a;G.register(b,b.__wbg_ptr,b);return b}__destroy_into_raw(){const a=this.__wbg_ptr;this.__wbg_ptr=U;G.unregister(this);return a}free(){const b=this.__destroy_into_raw();a.__wbg_guiremotewrapper_free(b)}}export default N;export{H as GuiRemoteWrapper,M as initSync} \ No newline at end of file diff --git a/beat-detector-6195d6ca7a8cbbe2.js b/beat-detector-6195d6ca7a8cbbe2.js new file mode 100644 index 0000000..8944c8b --- /dev/null +++ b/beat-detector-6195d6ca7a8cbbe2.js @@ -0,0 +1 @@ +let S=0,N=null,P=`undefined`,X=`boolean`,a2=450,Y=`string`,O=1,Z=`Object`,Q=`utf-8`,W=`number`,a0=4,U=`function`,$=16,L=Array,R=Error,_=FinalizationRegistry,V=Int32Array,a1=Promise,T=Uint8Array,M=undefined;var F=(async(a,b)=>{if(typeof Response===U&&a instanceof Response){if(typeof WebAssembly.instantiateStreaming===U){try{return await WebAssembly.instantiateStreaming(a,b)}catch(b){if(a.headers.get(`Content-Type`)!=`application/wasm`){console.warn(`\`WebAssembly.instantiateStreaming\` failed because your server does not serve wasm with \`application/wasm\` MIME type. Falling back to \`WebAssembly.instantiate\` which is slower. Original error:\\n`,b)}else{throw b}}};const c=await a.arrayBuffer();return await WebAssembly.instantiate(c,b)}else{const c=await WebAssembly.instantiate(a,b);if(c instanceof WebAssembly.Instance){return {instance:c,module:a}}else{return c}}});var C=((b,c,d,e)=>{a.wasm_bindgen__convert__closures__invoke2_mut__h30d0d202e4128892(b,c,g(d),g(e))});var u=(a=>{const b=typeof a;if(b==W||b==X||a==N){return `${a}`};if(b==Y){return `"${a}"`};if(b==`symbol`){const b=a.description;if(b==N){return `Symbol`}else{return `Symbol(${b})`}};if(b==U){const b=a.name;if(typeof b==Y&&b.length>S){return `Function(${b})`}else{return `Function`}};if(L.isArray(a)){const b=a.length;let c=`[`;if(b>S){c+=u(a[S])};for(let d=O;dO){d=c[O]}else{return toString.call(a)};if(d==Z){try{return `Object(`+ JSON.stringify(a)+ `)`}catch(a){return Z}};if(a instanceof R){return `${a.name}: ${a.message}\n${a.stack}`};return d});var x=((b,c)=>{a.wasm_bindgen__convert__closures__invoke0_mut__h62098379bf7bf10f(b,c)});var H=((a,b)=>{});var z=((b,c)=>{try{const g=a.__wbindgen_add_to_stack_pointer(-$);a.wasm_bindgen__convert__closures__invoke0_mut__h3786ba71e491e96c(g,b,c);var d=r()[g/a0+ S];var e=r()[g/a0+ O];if(e){throw f(d)}}finally{a.__wbindgen_add_to_stack_pointer($)}});var g=(a=>{if(d===b.length)b.push(b.length+ O);const c=d;d=b[c];b[c]=a;return c});var f=(a=>{const b=c(a);e(a);return b});function B(b,c){try{return b.apply(this,c)}catch(b){a.__wbindgen_exn_store(g(b))}}var K=(async(b)=>{if(a!==M)return a;if(typeof b===P){b=new URL(`beat-detector_bg.wasm`,import.meta.url)};const c=G();if(typeof b===Y||typeof Request===U&&b instanceof Request||typeof URL===U&&b instanceof URL){b=fetch(b)};H(c);const {instance:d,module:e}=await F(await b,c);return I(d,e)});var r=(()=>{if(q===N||q.byteLength===S){q=new V(a.memory.buffer)};return q});var p=(a=>a===M||a===N);var c=(a=>b[a]);var J=(b=>{if(a!==M)return a;const c=G();H(c);if(!(b instanceof WebAssembly.Module)){b=new WebAssembly.Module(b)};const d=new WebAssembly.Instance(b,c);return I(d,b)});var G=(()=>{const b={};b.wbg={};b.wbg.__wbg_guiremotewrapper_new=(a=>{const b=E.__wrap(a);return g(b)});b.wbg.__wbg_start_2eaa068d8a373d93=(a=>{start(f(a))});b.wbg.__wbindgen_object_drop_ref=(a=>{f(a)});b.wbg.__wbg_call_67f2111acd2dfdb6=function(){return B(((a,b,d)=>{const e=c(a).call(c(b),c(d));return g(e)}),arguments)};b.wbg.__wbindgen_cb_drop=(a=>{const b=f(a).original;if(b.cnt--==O){b.a=S;return !0};const c=!1;return c});b.wbg.__wbg_new_70828a4353259d4b=((a,b)=>{try{var c={a:a,b:b};var d=(a,b)=>{const d=c.a;c.a=S;try{return C(d,c.b,a,b)}finally{c.a=d}};const e=new a1(d);return g(e)}finally{c.a=c.b=S}});b.wbg.__wbindgen_object_clone_ref=(a=>{const b=c(a);return g(b)});b.wbg.__wbg_instanceof_Window_cee7a886d55e7df5=(a=>{let b;try{b=c(a) instanceof Window}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_setTimeout_6ed7182ebad5d297=function(){return B(((a,b,d)=>{const e=c(a).setTimeout(c(b),d);return e}),arguments)};b.wbg.__wbindgen_string_new=((a,b)=>{const c=k(a,b);return g(c)});b.wbg.__wbg_get_3fddfed2c83f434c=function(){return B(((a,b)=>{const d=Reflect.get(c(a),c(b));return g(d)}),arguments)};b.wbg.__wbg_now_ef71656beb948bc8=(a=>{const b=c(a).now();return b});b.wbg.__wbg_preventDefault_657cbf753df1396c=(a=>{c(a).preventDefault()});b.wbg.__wbg_stopPropagation_806520d93e80bcf7=(a=>{c(a).stopPropagation()});b.wbg.__wbg_new_b1f2d6842d615181=(a=>{const b=new T(c(a));return g(b)});b.wbg.__wbg_removeEventListener_acfc154b998d806b=function(){return B(((a,b,d,e)=>{c(a).removeEventListener(k(b,d),c(e))}),arguments)};b.wbg.__wbg_clearInterval_0216ca540cb1ad00=((a,b)=>{c(a).clearInterval(b)});b.wbg.__wbindgen_string_get=((b,d)=>{const e=c(d);const f=typeof e===Y?e:M;var g=p(f)?S:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/a0+ O]=h;r()[b/a0+ S]=g});b.wbg.__wbg_addEventListener_f984e99465a6a7f4=function(){return B(((a,b,d,e)=>{c(a).addEventListener(k(b,d),c(e))}),arguments)};b.wbg.__wbg_matches_b18b6193e5512cde=(a=>{const b=c(a).matches;return b});b.wbg.__wbg_altKey_580c95fbc9461164=(a=>{const b=c(a).altKey;return b});b.wbg.__wbg_ctrlKey_032bd6905bacba55=(a=>{const b=c(a).ctrlKey;return b});b.wbg.__wbg_shiftKey_a84ea8856781bd54=(a=>{const b=c(a).shiftKey;return b});b.wbg.__wbg_metaKey_fe405998712e46a0=(a=>{const b=c(a).metaKey;return b});b.wbg.__wbg_key_0527970a852413ca=((b,d)=>{const e=c(d).key;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f});b.wbg.__wbg_setvalue_bba31de32cdbb32c=((a,b,d)=>{c(a).value=k(b,d)});b.wbg.__wbg_data_bb29dff4a6557791=((b,d)=>{const e=c(d).data;var f=p(e)?S:o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);var g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f});b.wbg.__wbg_button_43d11b000a7126cf=(a=>{const b=c(a).button;return b});b.wbg.__wbg_deltaMode_ed2d0b2e0a547b92=(a=>{const b=c(a).deltaMode;return b});b.wbg.__wbg_deltaX_5ddc4c69f2887db9=(a=>{const b=c(a).deltaX;return b});b.wbg.__wbg_deltaY_0ba2dcd707862292=(a=>{const b=c(a).deltaY;return b});b.wbg.__wbg_ctrlKey_2817108375a63e7c=(a=>{const b=c(a).ctrlKey;return b});b.wbg.__wbg_metaKey_35f1fd33c4e0c5df=(a=>{const b=c(a).metaKey;return b});b.wbg.__wbg_shiftKey_87d2a9527cefdf3d=(a=>{const b=c(a).shiftKey;return b});b.wbg.__wbg_value_99f5294791d62576=((b,d)=>{const e=c(d).value;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f});b.wbg.__wbg_dataTransfer_c3dfe779ef079bcc=(a=>{const b=c(a).dataTransfer;return p(b)?S:g(b)});b.wbg.__wbg_items_622c348119794691=(a=>{const b=c(a).items;return g(b)});b.wbg.__wbg_length_e5ff7777627bc19e=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_0aa6219f7b9f2100=((a,b)=>{const d=c(a)[b>>>S];return p(d)?S:g(d)});b.wbg.__wbg_type_023f810f636fd950=((b,d)=>{const e=c(d).type;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f});b.wbg.__wbg_files_00ec146c4eb7c254=(a=>{const b=c(a).files;return p(b)?S:g(b)});b.wbg.__wbg_length_29ed7aaf6bb5a432=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_a5a83ff42873c81d=((a,b)=>{const d=c(a)[b>>>S];return p(d)?S:g(d)});b.wbg.__wbg_name_9762a5bb951e00c1=((b,d)=>{const e=c(d).name;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f});b.wbg.__wbg_type_6c31bd72c3383cba=((b,d)=>{const e=c(d).type;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f});b.wbg.__wbg_lastModified_679a43283963f658=(a=>{const b=c(a).lastModified;return b});b.wbg.__wbg_size_97217f6c840f58b2=(a=>{const b=c(a).size;return b});b.wbg.__wbg_arrayBuffer_800ebf8dca614366=(a=>{const b=c(a).arrayBuffer();return g(b)});b.wbg.__wbg_isComposing_750f53009cbfb833=(a=>{const b=c(a).isComposing;return b});b.wbg.__wbg_keyCode_8c7511bf92389868=(a=>{const b=c(a).keyCode;return b});b.wbg.__wbg_hidden_2366c29a55a4c50a=(a=>{const b=c(a).hidden;return b});b.wbg.__wbg_focus_d1373017540aae66=function(){return B((a=>{c(a).focus()}),arguments)};b.wbg.__wbg_blur_3bef2a6e3b1f9734=function(){return B((a=>{c(a).blur()}),arguments)};b.wbg.__wbg_sethidden_04acac3815d1ba64=((a,b)=>{c(a).hidden=b!==S});b.wbg.__wbg_setProperty_5144ddce66bbde41=function(){return B(((a,b,d,e,f)=>{c(a).setProperty(k(b,d),k(e,f))}),arguments)};b.wbg.__wbg_document_eb7fd66bde3ee213=(a=>{const b=c(a).document;return p(b)?S:g(b)});b.wbg.__wbg_getElementById_77f2dfdddee12e05=((a,b,d)=>{const e=c(a).getElementById(k(b,d));return p(e)?S:g(e)});b.wbg.__wbg_instanceof_HtmlInputElement_189f182751dc1f5e=(a=>{let b;try{b=c(a) instanceof HTMLInputElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_body_874ccb42daaab363=(a=>{const b=c(a).body;return p(b)?S:g(b)});b.wbg.__wbg_createElement_03cf347ddad1c8c0=function(){return B(((a,b,d)=>{const e=c(a).createElement(k(b,d));return g(e)}),arguments)};b.wbg.__wbg_setid_7daec2ce740ea365=((a,b,d)=>{c(a).id=k(b,d)});b.wbg.__wbg_style_ca229e3326b3c3fb=(a=>{const b=c(a).style;return g(b)});b.wbg.__wbg_setsize_c0546cf8c51a0e77=((a,b)=>{c(a).size=b>>>S});b.wbg.__wbg_setautofocus_3ac9b87146e5cd21=((a,b)=>{c(a).autofocus=b!==S});b.wbg.__wbindgen_number_get=((a,b)=>{const d=c(b);const e=typeof d===W?d:M;t()[a/8+ O]=p(e)?S:e;r()[a/a0+ S]=!p(e)});b.wbg.__wbg_navigator_b1003b77e05fcee9=(a=>{const b=c(a).navigator;return g(b)});b.wbg.__wbg_userAgent_6dbd12d01f988f5f=function(){return B(((b,d)=>{const e=c(d).userAgent;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f}),arguments)};b.wbg.__wbg_getBoundingClientRect_3b6c47996a55427e=(a=>{const b=c(a).getBoundingClientRect();return g(b)});b.wbg.__wbg_scrollTop_6f07539d4534a820=(a=>{const b=c(a).scrollTop;return b});b.wbg.__wbg_offsetTop_0636b250f8d731f3=(a=>{const b=c(a).offsetTop;return b});b.wbg.__wbg_clientHeight_2b2a9874084502db=(a=>{const b=c(a).clientHeight;return b});b.wbg.__wbg_height_bdf3f02c617ef055=(a=>{const b=c(a).height;return b});b.wbg.__wbg_scrollLeft_c2f39ef7a0b36f55=(a=>{const b=c(a).scrollLeft;return b});b.wbg.__wbg_offsetLeft_0150ee05891dfb7e=(a=>{const b=c(a).offsetLeft;return b});b.wbg.__wbg_offsetWidth_b5af4d8ba15fa071=(a=>{const b=c(a).offsetWidth;return b});b.wbg.__wbg_clientWidth_7a325bdb8c723d9f=(a=>{const b=c(a).clientWidth;return b});b.wbg.__wbg_width_faa64c8759fdff80=(a=>{const b=c(a).width;return b});b.wbg.__wbg_requestAnimationFrame_fdbeaff9e8f3f77d=function(){return B(((a,b)=>{const d=c(a).requestAnimationFrame(c(b));return d}),arguments)};b.wbg.__wbg_matchMedia_d9cdff718d3e526e=function(){return B(((a,b,d)=>{const e=c(a).matchMedia(k(b,d));return p(e)?S:g(e)}),arguments)};b.wbg.__wbg_parentElement_45a9756dc74ff48b=(a=>{const b=c(a).parentElement;return p(b)?S:g(b)});b.wbg.__wbg_devicePixelRatio_3ced5021c4480dd9=(a=>{const b=c(a).devicePixelRatio;return b});b.wbg.__wbg_setwidth_233645b297bb3318=((a,b)=>{c(a).width=b>>>S});b.wbg.__wbg_setheight_fcb491cf54e3527c=((a,b)=>{c(a).height=b>>>S});b.wbg.__wbg_performance_4ca1873776fdb3d2=(a=>{const b=c(a).performance;return p(b)?S:g(b)});b.wbg.__wbg_matches_f58a5f0b7cbb150c=(a=>{const b=c(a).matches;return b});b.wbg.__wbg_instanceof_HtmlCanvasElement_1e81f71f630e46bc=(a=>{let b;try{b=c(a) instanceof HTMLCanvasElement}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_left_52377628791ffcf6=(a=>{const b=c(a).left;return b});b.wbg.__wbg_top_44a8c250dcea0251=(a=>{const b=c(a).top;return b});b.wbg.__wbg_width_aa1ac55fb41db6ae=(a=>{const b=c(a).width;return b});b.wbg.__wbg_height_bea901cd16645fb7=(a=>{const b=c(a).height;return b});b.wbg.__wbg_open_8db78e14935e215b=function(){return B(((a,b,d,e,f)=>{const h=c(a).open(k(b,d),k(e,f));return p(h)?S:g(h)}),arguments)};b.wbg.__wbg_location_b17760ac7977a47a=(a=>{const b=c(a).location;return g(b)});b.wbg.__wbg_hash_163703b5971e593c=function(){return B(((b,d)=>{const e=c(d).hash;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f}),arguments)};b.wbg.__wbg_getContext_dfc91ab0837db1d1=function(){return B(((a,b,d)=>{const e=c(a).getContext(k(b,d));return p(e)?S:g(e)}),arguments)};b.wbg.__wbg_instanceof_WebGlRenderingContext_468d6182819ad4c3=(a=>{let b;try{b=c(a) instanceof WebGLRenderingContext}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_getExtension_695813f4264a3da5=function(){return B(((a,b,d)=>{const e=c(a).getExtension(k(b,d));return p(e)?S:g(e)}),arguments)};b.wbg.__wbg_getParameter_d866a888cb0448b3=function(){return B(((a,b)=>{const d=c(a).getParameter(b>>>S);return g(d)}),arguments)};b.wbg.__wbg_instanceof_WebGl2RenderingContext_b1bbc94623ae057f=(a=>{let b;try{b=c(a) instanceof WebGL2RenderingContext}catch(a){b=!1}const d=b;return d});b.wbg.__wbg_clientX_2d1be024f35f3981=(a=>{const b=c(a).clientX;return b});b.wbg.__wbg_clientY_967af1c2b0177a9f=(a=>{const b=c(a).clientY;return b});b.wbg.__wbg_touches_156ae51fb3534e87=(a=>{const b=c(a).touches;return g(b)});b.wbg.__wbg_length_82b5ad246042df8b=(a=>{const b=c(a).length;return b});b.wbg.__wbg_get_1a995928c199f987=((a,b)=>{const d=c(a)[b>>>S];return p(d)?S:g(d)});b.wbg.__wbg_identifier_1bbeeef4f8c3644c=(a=>{const b=c(a).identifier;return b});b.wbg.__wbg_pageX_1a662c5236b65a8c=(a=>{const b=c(a).pageX;return b});b.wbg.__wbg_pageY_7d28263e3ca120f8=(a=>{const b=c(a).pageY;return b});b.wbg.__wbg_changedTouches_2a84bde1dd7ea44a=(a=>{const b=c(a).changedTouches;return g(b)});b.wbg.__wbg_item_f29aac628e55f885=((a,b)=>{const d=c(a).item(b>>>S);return p(d)?S:g(d)});b.wbg.__wbg_force_a23dc68752bbd295=(a=>{const b=c(a).force;return b});b.wbg.__wbg_error_fef71bc9b670aec4=((b,c)=>{let d;let e;try{d=b;e=c;console.error(k(b,c))}finally{a.__wbindgen_free(d,e,O)}});b.wbg.__wbg_new_17c866ad40da987b=(()=>{const a=new R();return g(a)});b.wbg.__wbg_stack_1c1cef4675b9e0ca=((b,d)=>{const e=c(d).stack;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f});b.wbg.__wbindgen_debug_string=((b,d)=>{const e=u(c(d));const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f});b.wbg.__wbg_search_40927d5af164fdfe=function(){return B(((b,d)=>{const e=c(d).search;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f}),arguments)};b.wbg.__wbg_href_a5b902312c18d121=function(){return B(((b,d)=>{const e=c(d).href;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f}),arguments)};b.wbg.__wbg_protocol_85fb404fceb30ff2=function(){return B(((b,d)=>{const e=c(d).protocol;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f}),arguments)};b.wbg.__wbg_host_3f37d9558f3919b9=function(){return B(((b,d)=>{const e=c(d).host;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f}),arguments)};b.wbg.__wbg_hostname_0a8eb31c4e0261e9=function(){return B(((b,d)=>{const e=c(d).hostname;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f}),arguments)};b.wbg.__wbg_port_be2aeb97d2bf49c7=function(){return B(((b,d)=>{const e=c(d).port;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f}),arguments)};b.wbg.__wbg_origin_305402044aa148ce=function(){return B(((b,d)=>{const e=c(d).origin;const f=o(e,a.__wbindgen_malloc,a.__wbindgen_realloc);const g=l;r()[b/a0+ O]=g;r()[b/a0+ S]=f}),arguments)};b.wbg.__wbg_localStorage_3d538af21ea07fcc=function(){return B((a=>{const b=c(a).localStorage;return p(b)?S:g(b)}),arguments)};b.wbg.__wbg_getItem_5c179cd36e9529e8=function(){return B(((b,d,e,f)=>{const g=c(d).getItem(k(e,f));var h=p(g)?S:o(g,a.__wbindgen_malloc,a.__wbindgen_realloc);var i=l;r()[b/a0+ O]=i;r()[b/a0+ S]=h}),arguments)};b.wbg.__wbg_setItem_7b55989efb4d45f7=function(){return B(((a,b,d,e,f)=>{c(a).setItem(k(b,d),k(e,f))}),arguments)};b.wbg.__wbg_warn_9f342193aba78ade=((a,b)=>{console.warn(k(a,b))});b.wbg.__wbg_info_5f81499bedfbb5bc=((a,b)=>{console.info(k(a,b))});b.wbg.__wbg_debug_3f054bbe0f3dac7b=((a,b)=>{console.debug(k(a,b))});b.wbg.__wbg_trace_a77d5b4727abe1a2=((a,b)=>{console.trace(k(a,b))});b.wbg.__wbg_getUniformLocation_2890393c80bc543b=((a,b,d,e)=>{const f=c(a).getUniformLocation(c(b),k(d,e));return p(f)?S:g(f)});b.wbg.__wbg_getUniformLocation_009db1591e93ef17=((a,b,d,e)=>{const f=c(a).getUniformLocation(c(b),k(d,e));return p(f)?S:g(f)});b.wbg.__wbg_getAttribLocation_5394f71d757b6847=((a,b,d,e)=>{const f=c(a).getAttribLocation(c(b),k(d,e));return f});b.wbg.__wbg_getAttribLocation_08f436d8fc4fe68d=((a,b,d,e)=>{const f=c(a).getAttribLocation(c(b),k(d,e));return f});b.wbg.__wbg_enable_f6bb861e15562c7d=((a,b)=>{c(a).enable(b>>>S)});b.wbg.__wbg_enable_98a8863abbaa7bd2=((a,b)=>{c(a).enable(b>>>S)});b.wbg.__wbg_disable_d9f43aa105b2d999=((a,b)=>{c(a).disable(b>>>S)});b.wbg.__wbg_disable_3598de08841268c2=((a,b)=>{c(a).disable(b>>>S)});b.wbg.__wbg_colorMask_d8a9ecfb82a480cf=((a,b,d,e,f)=>{c(a).colorMask(b!==S,d!==S,e!==S,f!==S)});b.wbg.__wbg_colorMask_ae97e907cdf41404=((a,b,d,e,f)=>{c(a).colorMask(b!==S,d!==S,e!==S,f!==S)});b.wbg.__wbg_blendEquationSeparate_483c9bbff12702e9=((a,b,d)=>{c(a).blendEquationSeparate(b>>>S,d>>>S)});b.wbg.__wbg_blendEquationSeparate_46b6aa4bdcf2d9ef=((a,b,d)=>{c(a).blendEquationSeparate(b>>>S,d>>>S)});b.wbg.__wbg_blendFuncSeparate_2f3d44b3bd3604e9=((a,b,d,e,f)=>{c(a).blendFuncSeparate(b>>>S,d>>>S,e>>>S,f>>>S)});b.wbg.__wbg_blendFuncSeparate_0490d8414b0a2e98=((a,b,d,e,f)=>{c(a).blendFuncSeparate(b>>>S,d>>>S,e>>>S,f>>>S)});b.wbg.__wbg_viewport_037ea26b4fcd0cb2=((a,b,d,e,f)=>{c(a).viewport(b,d,e,f)});b.wbg.__wbg_viewport_f542dcd30d88e69d=((a,b,d,e,f)=>{c(a).viewport(b,d,e,f)});b.wbg.__wbg_useProgram_1532661e648379ca=((a,b)=>{c(a).useProgram(c(b))});b.wbg.__wbg_useProgram_b28955d541019a7a=((a,b)=>{c(a).useProgram(c(b))});b.wbg.__wbg_uniform2f_766ce5b04d89a3d8=((a,b,d,e)=>{c(a).uniform2f(c(b),d,e)});b.wbg.__wbg_uniform2f_cf18347e12a5f103=((a,b,d,e)=>{c(a).uniform2f(c(b),d,e)});b.wbg.__wbg_uniform1i_76ac1d17923cb752=((a,b,d)=>{c(a).uniform1i(c(b),d)});b.wbg.__wbg_uniform1i_3f1af04af82891ff=((a,b,d)=>{c(a).uniform1i(c(b),d)});b.wbg.__wbg_activeTexture_5d70c5bfb1e18433=((a,b)=>{c(a).activeTexture(b>>>S)});b.wbg.__wbg_activeTexture_5f08f4188abc9410=((a,b)=>{c(a).activeTexture(b>>>S)});b.wbg.__wbg_bindBuffer_8721bd9c00cbc8b8=((a,b,d)=>{c(a).bindBuffer(b>>>S,c(d))});b.wbg.__wbg_bindBuffer_0285be79ac8a4f9f=((a,b,d)=>{c(a).bindBuffer(b>>>S,c(d))});b.wbg.__wbg_scissor_1a003e68fc69d37d=((a,b,d,e,f)=>{c(a).scissor(b,d,e,f)});b.wbg.__wbg_scissor_b2312f494abc5032=((a,b,d,e,f)=>{c(a).scissor(b,d,e,f)});b.wbg.__wbg_bindVertexArrayOES_fd441111fdf91a30=((a,b)=>{c(a).bindVertexArrayOES(c(b))});b.wbg.__wbg_disableVertexAttribArray_415331ebeb20bf62=((a,b)=>{c(a).disableVertexAttribArray(b>>>S)});b.wbg.__wbg_disableVertexAttribArray_2550e62f2714837b=((a,b)=>{c(a).disableVertexAttribArray(b>>>S)});b.wbg.__wbg_bindVertexArray_68196ec68ffa5d9c=((a,b)=>{c(a).bindVertexArray(c(b))});b.wbg.__wbg_bindTexture_17a55d9204f92347=((a,b,d)=>{c(a).bindTexture(b>>>S,c(d))});b.wbg.__wbg_bindTexture_20fd21916229a80c=((a,b,d)=>{c(a).bindTexture(b>>>S,c(d))});b.wbg.__wbg_drawElements_201a313e5ea8a1c4=((a,b,d,e,f)=>{c(a).drawElements(b>>>S,d,e>>>S,f)});b.wbg.__wbg_drawElements_77b947be75fe30f4=((a,b,d,e,f)=>{c(a).drawElements(b>>>S,d,e>>>S,f)});b.wbg.__wbg_texParameteri_ee2fc6b9f304c84a=((a,b,d,e)=>{c(a).texParameteri(b>>>S,d>>>S,e)});b.wbg.__wbg_texParameteri_b747d8d506fcd0d2=((a,b,d,e)=>{c(a).texParameteri(b>>>S,d>>>S,e)});b.wbg.__wbg_pixelStorei_98d826c8b851ed4f=((a,b,d)=>{c(a).pixelStorei(b>>>S,d)});b.wbg.__wbg_pixelStorei_8848825419f61cec=((a,b,d)=>{c(a).pixelStorei(b>>>S,d)});b.wbg.__wbg_clearColor_6d87cdad9936f445=((a,b,d,e,f)=>{c(a).clearColor(b,d,e,f)});b.wbg.__wbg_clearColor_e4c61a3089043306=((a,b,d,e,f)=>{c(a).clearColor(b,d,e,f)});b.wbg.__wbg_clear_617b292bb8360c4a=((a,b)=>{c(a).clear(b>>>S)});b.wbg.__wbg_clear_ceb93ecc4e5d5e06=((a,b)=>{c(a).clear(b>>>S)});b.wbg.__wbg_vertexAttribPointer_88b31f05ae55b02c=((a,b,d,e,f,g,h)=>{c(a).vertexAttribPointer(b>>>S,d,e>>>S,f!==S,g,h)});b.wbg.__wbg_vertexAttribPointer_df897e1c10d6b71b=((a,b,d,e,f,g,h)=>{c(a).vertexAttribPointer(b>>>S,d,e>>>S,f!==S,g,h)});b.wbg.__wbg_enableVertexAttribArray_1e31054271daee48=((a,b)=>{c(a).enableVertexAttribArray(b>>>S)});b.wbg.__wbg_enableVertexAttribArray_5f8e190ba41f4f30=((a,b)=>{c(a).enableVertexAttribArray(b>>>S)});b.wbg.__wbg_shaderSource_17ebc5d747730d79=((a,b,d,e)=>{c(a).shaderSource(c(b),k(d,e))});b.wbg.__wbg_shaderSource_d241264f221df907=((a,b,d,e)=>{c(a).shaderSource(c(b),k(d,e))});b.wbg.__wbg_compileShader_349b2f1607e1b7e9=((a,b)=>{c(a).compileShader(c(b))});b.wbg.__wbg_compileShader_2191687ded033138=((a,b)=>{c(a).compileShader(c(b))});b.wbg.__wbg_getShaderInfoLog_9534d164ba660552=((b,d,e)=>{const f=c(d).getShaderInfoLog(c(e));var g=p(f)?S:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/a0+ O]=h;r()[b/a0+ S]=g});b.wbg.__wbg_getShaderInfoLog_63c64bf03382de2d=((b,d,e)=>{const f=c(d).getShaderInfoLog(c(e));var g=p(f)?S:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/a0+ O]=h;r()[b/a0+ S]=g});b.wbg.__wbg_linkProgram_5bd18d4ebd77a2ea=((a,b)=>{c(a).linkProgram(c(b))});b.wbg.__wbg_linkProgram_578651eb0388616a=((a,b)=>{c(a).linkProgram(c(b))});b.wbg.__wbg_getProgramInfoLog_5bbd3c3298d235e3=((b,d,e)=>{const f=c(d).getProgramInfoLog(c(e));var g=p(f)?S:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/a0+ O]=h;r()[b/a0+ S]=g});b.wbg.__wbg_getProgramInfoLog_a9fede9be1e3a6ce=((b,d,e)=>{const f=c(d).getProgramInfoLog(c(e));var g=p(f)?S:o(f,a.__wbindgen_malloc,a.__wbindgen_realloc);var h=l;r()[b/a0+ O]=h;r()[b/a0+ S]=g});b.wbg.__wbg_getError_418a1642da6ca6b5=(a=>{const b=c(a).getError();return b});b.wbg.__wbg_getError_4f4b3a8c71d4c39e=(a=>{const b=c(a).getError();return b});b.wbg.__wbg_getSupportedExtensions_69c26850565e0ddc=(a=>{const b=c(a).getSupportedExtensions();return p(b)?S:g(b)});b.wbg.__wbg_length_161c0d89c6535c1d=(a=>{const b=c(a).length;return b});b.wbg.__wbg_getExtension_e64ba7e30e8a6eae=function(){return B(((a,b,d)=>{const e=c(a).getExtension(k(b,d));return p(e)?S:g(e)}),arguments)};b.wbg.__wbg_getSupportedExtensions_3d93fae4cd24d995=(a=>{const b=c(a).getSupportedExtensions();return p(b)?S:g(b)});b.wbg.__wbg_getParameter_4d51a40deebd7a8c=function(){return B(((a,b)=>{const d=c(a).getParameter(b>>>S);return g(d)}),arguments)};b.wbg.__wbg_createShader_6b7a22e75c6d4cc4=((a,b)=>{const d=c(a).createShader(b>>>S);return p(d)?S:g(d)});b.wbg.__wbg_createShader_eceb4217c94a1056=((a,b)=>{const d=c(a).createShader(b>>>S);return p(d)?S:g(d)});b.wbg.__wbg_createTexture_af9c1894db4f1ff4=(a=>{const b=c(a).createTexture();return p(b)?S:g(b)});b.wbg.__wbg_createTexture_084c9c8b377793c3=(a=>{const b=c(a).createTexture();return p(b)?S:g(b)});b.wbg.__wbg_deleteShader_13c4ae9a9c93c31f=((a,b)=>{c(a).deleteShader(c(b))});b.wbg.__wbg_deleteShader_1d9cfbdc150762cb=((a,b)=>{c(a).deleteShader(c(b))});b.wbg.__wbg_getShaderParameter_0cfb9e3e9f43693a=((a,b,d)=>{const e=c(a).getShaderParameter(c(b),d>>>S);return g(e)});b.wbg.__wbg_getShaderParameter_0fb2d525889d5a24=((a,b,d)=>{const e=c(a).getShaderParameter(c(b),d>>>S);return g(e)});b.wbg.__wbindgen_boolean_get=(a=>{const b=c(a);const d=typeof b===X?(b?O:S):2;return d});b.wbg.__wbg_createProgram_eb0e7dfb7c89e9b8=(a=>{const b=c(a).createProgram();return p(b)?S:g(b)});b.wbg.__wbg_createProgram_869004e7019cca34=(a=>{const b=c(a).createProgram();return p(b)?S:g(b)});b.wbg.__wbg_deleteProgram_655d072ee71efb0c=((a,b)=>{c(a).deleteProgram(c(b))});b.wbg.__wbg_deleteProgram_af78790615a2a7d7=((a,b)=>{c(a).deleteProgram(c(b))});b.wbg.__wbg_attachShader_877aa4ad5f81f5fb=((a,b,d)=>{c(a).attachShader(c(b),c(d))});b.wbg.__wbg_attachShader_427e1d01a628e522=((a,b,d)=>{c(a).attachShader(c(b),c(d))});b.wbg.__wbg_detachShader_480c7fff77236016=((a,b,d)=>{c(a).detachShader(c(b),c(d))});b.wbg.__wbg_detachShader_83214b1314cfc677=((a,b,d)=>{c(a).detachShader(c(b),c(d))});b.wbg.__wbg_getProgramParameter_9f11dae51c820ff9=((a,b,d)=>{const e=c(a).getProgramParameter(c(b),d>>>S);return g(e)});b.wbg.__wbg_getProgramParameter_a13e6d88ec9e039a=((a,b,d)=>{const e=c(a).getProgramParameter(c(b),d>>>S);return g(e)});b.wbg.__wbg_createBuffer_c48fee40bffd1848=(a=>{const b=c(a).createBuffer();return p(b)?S:g(b)});b.wbg.__wbg_createBuffer_ee6e74ae50f1fbc8=(a=>{const b=c(a).createBuffer();return p(b)?S:g(b)});b.wbg.__wbg_createVertexArrayOES_51189386ff9903a2=(a=>{const b=c(a).createVertexArrayOES();return p(b)?S:g(b)});b.wbg.__wbg_createVertexArray_aa1c03bf14f520f1=(a=>{const b=c(a).createVertexArray();return p(b)?S:g(b)});b.wbg.__wbindgen_memory=(()=>{const b=a.memory;return g(b)});b.wbg.__wbg_buffer_b914fb8b50ebbc3e=(a=>{const b=c(a).buffer;return g(b)});b.wbg.__wbg_newwithbyteoffsetandlength_0de9ee56e9f6ee6e=((a,b,d)=>{const e=new T(c(a),b>>>S,d>>>S);return g(e)});b.wbg.__wbg_bufferData_560eedbff09bce24=((a,b,d,e)=>{c(a).bufferData(b>>>S,c(d),e>>>S)});b.wbg.__wbg_bufferData_325ab331c8e0735f=((a,b,d,e)=>{c(a).bufferData(b>>>S,c(d),e>>>S)});b.wbg.__wbg_deleteBuffer_0788cfe1724454e7=((a,b)=>{c(a).deleteBuffer(c(b))});b.wbg.__wbg_deleteBuffer_c66740fb719fb9a7=((a,b)=>{c(a).deleteBuffer(c(b))});b.wbg.__wbg_deleteTexture_38664338ad2770e7=((a,b)=>{c(a).deleteTexture(c(b))});b.wbg.__wbg_deleteTexture_547a7269a7254d2a=((a,b)=>{c(a).deleteTexture(c(b))});b.wbg.__wbg_texImage2D_480bb656acf1c931=function(){return B(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texImage2D(b>>>S,d,e,f,g,h,i>>>S,j>>>S,c(k))}),arguments)};b.wbg.__wbg_texImage2D_a907a9e673209a09=function(){return B(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texImage2D(b>>>S,d,e,f,g,h,i>>>S,j>>>S,c(k))}),arguments)};b.wbg.__wbg_texSubImage2D_ace8ef3e5beb9c66=function(){return B(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>S,d,e,f,g,h,i>>>S,j>>>S,c(k))}),arguments)};b.wbg.__wbg_texSubImage2D_01a3d1b8ac6e4702=function(){return B(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>S,d,e,f,g,h,i>>>S,j>>>S,c(k))}),arguments)};b.wbg.__wbg_texSubImage2D_c96538f70e56e139=function(){return B(((a,b,d,e,f,g,h,i,j,k)=>{c(a).texSubImage2D(b>>>S,d,e,f,g,h,i>>>S,j>>>S,k)}),arguments)};b.wbg.__wbg_newwithbyteoffsetandlength_42904a72cefa1e00=((a,b,d)=>{const e=new Int8Array(c(a),b>>>S,d>>>S);return g(e)});b.wbg.__wbg_newwithbyteoffsetandlength_0aafe9b39ed85f71=((a,b,d)=>{const e=new Int16Array(c(a),b>>>S,d>>>S);return g(e)});b.wbg.__wbg_newwithbyteoffsetandlength_8c2171d5a9b7f791=((a,b,d)=>{const e=new Uint16Array(c(a),b>>>S,d>>>S);return g(e)});b.wbg.__wbg_newwithbyteoffsetandlength_9ca2c1faeb430732=((a,b,d)=>{const e=new V(c(a),b>>>S,d>>>S);return g(e)});b.wbg.__wbg_newwithbyteoffsetandlength_7f2d9491ea8c746e=((a,b,d)=>{const e=new Uint32Array(c(a),b>>>S,d>>>S);return g(e)});b.wbg.__wbg_newwithbyteoffsetandlength_5fd0a60d38f47fa6=((a,b,d)=>{const e=new Float32Array(c(a),b>>>S,d>>>S);return g(e)});b.wbg.__wbg_get_0ee8ea3c7c984c45=((a,b)=>{const d=c(a)[b>>>S];return g(d)});b.wbg.__wbg_self_05040bd9523805b9=function(){return B((()=>{const a=self.self;return g(a)}),arguments)};b.wbg.__wbg_window_adc720039f2cb14f=function(){return B((()=>{const a=window.window;return g(a)}),arguments)};b.wbg.__wbg_globalThis_622105db80c1457d=function(){return B((()=>{const a=globalThis.globalThis;return g(a)}),arguments)};b.wbg.__wbg_global_f56b013ed9bcf359=function(){return B((()=>{const a=global.global;return g(a)}),arguments)};b.wbg.__wbindgen_is_undefined=(a=>{const b=c(a)===M;return b});b.wbg.__wbg_newnoargs_cfecb3965268594c=((a,b)=>{const c=new Function(k(a,b));return g(c)});b.wbg.__wbg_call_3f093dd26d5569f8=function(){return B(((a,b)=>{const d=c(a).call(c(b));return g(d)}),arguments)};b.wbg.__wbg_resolve_5da6faf2c96fd1d5=(a=>{const b=a1.resolve(c(a));return g(b)});b.wbg.__wbg_then_f9e58f5a50f43eae=((a,b)=>{const d=c(a).then(c(b));return g(d)});b.wbg.__wbg_then_20a5920e447d1cb1=((a,b,d)=>{const e=c(a).then(c(b),c(d));return g(e)});b.wbg.__wbg_length_21c4b0ae73cba59d=(a=>{const b=c(a).length;return b});b.wbg.__wbg_set_7d988c98e6ced92d=((a,b,d)=>{c(a).set(c(b),d>>>S)});b.wbg.__wbindgen_throw=((a,b)=>{throw new R(k(a,b))});b.wbg.__wbg_queueMicrotask_f61ee94ee663068b=(a=>{queueMicrotask(c(a))});b.wbg.__wbg_queueMicrotask_f82fc5d1e8f816ae=(a=>{const b=c(a).queueMicrotask;return g(b)});b.wbg.__wbindgen_is_function=(a=>{const b=typeof c(a)===U;return b});b.wbg.__wbg_innerHeight_a9719febb72ddaf3=function(){return B((a=>{const b=c(a).innerHeight;return g(b)}),arguments)};b.wbg.__wbg_appendChild_4153ba1b5d54d73b=function(){return B(((a,b)=>{const d=c(a).appendChild(c(b));return g(d)}),arguments)};b.wbg.__wbg_performance_eeefc685c9bc38b4=(a=>{const b=c(a).performance;return g(b)});b.wbg.__wbg_now_e0d8ec93dd25766a=(a=>{const b=c(a).now();return b});b.wbg.__wbindgen_closure_wrapper1217=((a,b,c)=>{const d=w(a,b,a2,x);return g(d)});b.wbg.__wbindgen_closure_wrapper1219=((a,b,c)=>{const d=w(a,b,a2,y);return g(d)});b.wbg.__wbindgen_closure_wrapper1221=((a,b,c)=>{const d=w(a,b,a2,z);return g(d)});b.wbg.__wbindgen_closure_wrapper3510=((a,b,c)=>{const d=w(a,b,1025,A);return g(d)});return b});var A=((b,c,d)=>{a._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h17b663a3a5805645(b,c,g(d))});var t=(()=>{if(s===N||s.byteLength===S){s=new Float64Array(a.memory.buffer)};return s});var y=((b,c,d)=>{a.wasm_bindgen__convert__closures__invoke1_mut__h8b023bc9c0b8cc0d(b,c,g(d))});var e=(a=>{if(a<132)return;b[a]=d;d=a});var w=((b,c,d,e)=>{const f={a:b,b:c,cnt:O,dtor:d};const g=(...b)=>{f.cnt++;const c=f.a;f.a=S;try{return e(c,f.b,...b)}finally{if(--f.cnt===S){a.__wbindgen_export_2.get(f.dtor)(c,f.b);v.unregister(f)}else{f.a=c}}};g.original=f;v.register(g,f,f);return g});var o=((a,b,c)=>{if(c===M){const c=m.encode(a);const d=b(c.length,O)>>>S;j().subarray(d,d+ c.length).set(c);l=c.length;return d};let d=a.length;let e=b(d,O)>>>S;const f=j();let g=S;for(;g127)break;f[e+ g]=b};if(g!==d){if(g!==S){a=a.slice(g)};e=c(e,d,d=g+ a.length*3,O)>>>S;const b=j().subarray(e+ g,e+ d);const f=n(a,b);g+=f.written;e=c(e,d,g,O)>>>S};l=g;return e});var j=(()=>{if(i===N||i.byteLength===S){i=new T(a.memory.buffer)};return i});var k=((a,b)=>{a=a>>>S;return h.decode(j().subarray(a,a+ b))});var I=((b,c)=>{a=b.exports;K.__wbindgen_wasm_module=c;s=N;q=N;i=N;a.__wbindgen_start();return a});let a;const b=new L(128).fill(M);b.push(M,N,!0,!1);let d=b.length;const h=typeof TextDecoder!==P?new TextDecoder(Q,{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw R(`TextDecoder not available`)}};if(typeof TextDecoder!==P){h.decode()};let i=N;let l=S;const m=typeof TextEncoder!==P?new TextEncoder(Q):{encode:()=>{throw R(`TextEncoder not available`)}};const n=typeof m.encodeInto===U?((a,b)=>m.encodeInto(a,b)):((a,b)=>{const c=m.encode(a);b.set(c);return {read:a.length,written:c.length}});let q=N;let s=N;const v=typeof _===P?{register:()=>{},unregister:()=>{}}:new _(b=>{a.__wbindgen_export_2.get(b.dtor)(b.a,b.b)});const D=typeof _===P?{register:()=>{},unregister:()=>{}}:new _(b=>a.__wbg_guiremotewrapper_free(b>>>S));class E{static __wrap(a){a=a>>>S;const b=Object.create(E.prototype);b.__wbg_ptr=a;D.register(b,b.__wbg_ptr,b);return b}__destroy_into_raw(){const a=this.__wbg_ptr;this.__wbg_ptr=S;D.unregister(this);return a}free(){const b=this.__destroy_into_raw();a.__wbg_guiremotewrapper_free(b)}event_in(b,c,d,e){const g=a.guiremotewrapper_event_in(this.__wbg_ptr,b,c,d,e);return f(g)}}export default K;export{E as GuiRemoteWrapper,J as initSync} \ No newline at end of file diff --git a/beat-detector-594cac6e242750e6_bg.wasm b/beat-detector-6195d6ca7a8cbbe2_bg.wasm similarity index 70% rename from beat-detector-594cac6e242750e6_bg.wasm rename to beat-detector-6195d6ca7a8cbbe2_bg.wasm index 647834b..4865d70 100644 Binary files a/beat-detector-594cac6e242750e6_bg.wasm and b/beat-detector-6195d6ca7a8cbbe2_bg.wasm differ diff --git a/index.html b/index.html index 7a79a7d..aa30f5e 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Midi beat detector

Beat detector demo. Just tap some keys on your computer keyboard or MIDI device. Pitch and velocity related parameters won't have any effect with computer keyboard.

\ No newline at end of file +Midi beat detector

Beat detector demo. Just tap some keys on your computer keyboard or MIDI device. Pitch and velocity related parameters won't have any effect with computer keyboard.

\ No newline at end of file