2 lines
94 KiB
JavaScript
2 lines
94 KiB
JavaScript
|
"use strict";(self.webpackChunkruffle_selfhosted=self.webpackChunkruffle_selfhosted||[]).push([[655],{693:(e,n,t)=>{function _(e,n){const t=e.length,_=e.getChannelData(0),r=e.getChannelData(1);let b=0,c=0;for(;c<t;)_[c]=n[b],r[c]=n[b+1],c++,b+=2}function r(e,n){return new Function(`return (${e})(...arguments);`)(...n)}t.d(n,{A:()=>_,V:()=>r})},655:(e,n,t)=>{t.r(n),t.d(n,{IntoUnderlyingByteSource:()=>re,IntoUnderlyingSink:()=>ce,IntoUnderlyingSource:()=>ue,RuffleHandle:()=>ae,RuffleInstanceBuilder:()=>ge,ZipWriter:()=>de,default:()=>ye,global_init:()=>M,initSync:()=>me});var _=t(693);e=t.hmd(e);const r="undefined"!=typeof AudioContext?AudioContext:"undefined"!=typeof webkitAudioContext?webkitAudioContext:void 0;let b;const c=new Array(128).fill(void 0);function f(e){return c[e]}c.push(void 0,null,!0,!1);let u=c.length;function o(e){const n=f(e);return function(e){e<132||(c[e]=u,u=e)}(e),n}function a(e){u===c.length&&c.push(c.length+1);const n=u;return u=c[n],c[n]=e,n}let i=0,g=null;function w(){return null!==g&&0!==g.byteLength||(g=new Uint8Array(b.memory.buffer)),g}const d="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},s="function"==typeof d.encodeInto?function(e,n){return d.encodeInto(e,n)}:function(e,n){const t=d.encode(e);return n.set(t),{read:e.length,written:t.length}};function l(e,n,t){if(void 0===t){const t=d.encode(e),_=n(t.length,1)>>>0;return w().subarray(_,_+t.length).set(t),i=t.length,_}let _=e.length,r=n(_,1)>>>0;const b=w();let c=0;for(;c<_;c++){const n=e.charCodeAt(c);if(n>127)break;b[r+c]=n}if(c!==_){0!==c&&(e=e.slice(c)),r=t(r,_,_=c+3*e.length,1)>>>0;const n=w().subarray(r+c,r+_);c+=s(e,n).written,r=t(r,_,c,1)>>>0}return i=c,r}function m(e){return null==e}let p=null;function y(){return(null===p||!0===p.buffer.detached||void 0===p.buffer.detached&&p.buffer!==b.memory.buffer)&&(p=new DataView(b.memory.buffer)),p}const h="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};function x(e,n){return e>>>=0,h.decode(w().subarray(e,e+n))}function S(e){const n=typeof e;if("number"==n||"boolean"==n||null==e)return`${e}`;if("string"==n)return`"${e}"`;if("symbol"==n){const n=e.description;return null==n?"Symbol":`Symbol(${n})`}if("function"==n){const n=e.name;return"string"==typeof n&&n.length>0?`Function(${n})`:"Function"}if(Array.isArray(e)){const n=e.length;let t="[";n>0&&(t+=S(e[0]));for(let _=1;_<n;_++)t+=", "+S(e[_]);return t+="]",t}const t=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(!(t.length>1))return toString.call(e);if(_=t[1],"Object"==_)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:_}"undefined"!=typeof TextDecoder&&h.decode();const v="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>{b.__wbindgen_export_2.get(e.dtor)(e.a,e.b)}));function I(e,n,t,_){const r={a:e,b:n,cnt:1,dtor:t},c=(...e)=>{r.cnt++;const n=r.a;r.a=0;try{return _(n,r.b,...e)}finally{0==--r.cnt?(b.__wbindgen_export_2.get(r.dtor)(n,r.b),v.unregister(r)):r.a=n}};return c.original=r,v.register(c,r,r),c}function A(e,n,t){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h26654056af8ad834(e,n,a(t))}function B(e,n,t){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7135246bf8a7abcb(e,n,t)}function D(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he9a8b74c224da54b(e,n)}function P(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hff606f9f7e1cbb92(e,n)}function T(e,n,t){b._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h549f384c8e9f3d5b(e,n,a(t))}function C(e,n){b._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___des
|
||
|
//# sourceMappingURL=core.ruffle.3453b18337ead3dd1fa0.js.map
|