snake-mods/ruffle.js

3 lines
71 KiB
JavaScript
Raw Normal View History

2023-05-14 04:20:29 +02:00
(()=>{var e={918:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=n.p+"c2b443b5d3c1e95c719f5c7fa8f05fa4.wasm"},240:(e,t,n)=>{"use strict";function r(e,t,n){t&&e.getChannelData(0).set(t),n&&e.getChannelData(1).set(n)}n.r(t),n.d(t,{AutoPlay:()=>te,FLASH7_AND_8_MIMETYPE:()=>se,FLASH_ACTIVEX_CLASSID:()=>le,FLASH_MIMETYPE:()=>ae,FLASH_MOVIE_MIMETYPE:()=>ue,FLASH_PLUGIN:()=>Y,FUTURESPLASH_MIMETYPE:()=>ce,Letterbox:()=>ne,LogLevel:()=>ie,PublicAPI:()=>Be,RuffleEmbed:()=>pe,RuffleObject:()=>ve,RufflePlayer:()=>ge,SourceAPI:()=>De,UnmuteOverlay:()=>re,Version:()=>Ne,VersionRange:()=>We,copyToAudioBuffer:()=>r,installPlugin:()=>X,isScriptAccessAllowed:()=>we,isSwfFilename:()=>he,loadRuffle:()=>H,lookupElement:()=>Z,pluginPolyfill:()=>Le,polyfill:()=>je,publicPath:()=>xe,registerElement:()=>ee,ruffleShadowTemplate:()=>K});const i="undefined"!=typeof AudioContext?AudioContext:webkitAudioContext;let o;const a=new Array(32).fill(void 0);function c(e){return a[e]}a.push(void 0,null,!0,!1);let s=a.length;function u(e){const t=c(e);return function(e){e<36||(a[e]=s,s=e)}(e),t}function l(e){s===a.length&&a.push(a.length+1);const t=s;return s=a[t],a[t]=e,t}let _=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});_.decode();let f=null;function b(){return null!==f&&f.buffer===o.memory.buffer||(f=new Uint8Array(o.memory.buffer)),f}function d(e,t){return _.decode(b().subarray(e,e+t))}let g=0,w=new TextEncoder("utf-8");const h="function"==typeof w.encodeInto?function(e,t){return w.encodeInto(e,t)}:function(e,t){const n=w.encode(e);return t.set(n),{read:e.length,written:n.length}};function p(e,t,n){if(void 0===n){const n=w.encode(e),r=t(n.length);return b().subarray(r,r+n.length).set(n),g=n.length,r}let r=e.length,i=t(r);const o=b();let a=0;for(;a<r;a++){const t=e.charCodeAt(a);if(t>127)break;o[i+a]=t}if(a!==r){0!==a&&(e=e.slice(a)),i=n(i,r,r=a+3*e.length);const t=b().subarray(i+a,i+r);a+=h(e,t).written}return g=a,i}let m=null;function y(){return null!==m&&m.buffer===o.memory.buffer||(m=new Int32Array(o.memory.buffer)),m}function v(e){return null==e}let x=null;function k(e){const t=typeof e;if("number"==t||"boolean"==t||null==e)return`${e}`;if("string"==t)return`"${e}"`;if("symbol"==t){const t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==t){const t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){const t=e.length;let n="[";t>0&&(n+=k(e[0]));for(let r=1;r<t;r++)n+=", "+k(e[r]);return n+="]",n}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let r;if(!(n.length>1))return toString.call(e);if(r=n[1],"Object"==r)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:r}function E(e,t,n,r){const i={a:e,b:t,cnt:1,dtor:n},a=(...e)=>{i.cnt++;const t=i.a;i.a=0;try{return r(t,i.b,...e)}finally{0==--i.cnt?o.__wbindgen_export_2.get(i.dtor)(t,i.b):i.a=t}};return a.original=i,a}function A(e,t,n){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06cb9cc7d40dbec5(e,t,l(n))}function S(e,t,n){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06cb9cc7d40dbec5(e,t,l(n))}function C(e,t,n){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06cb9cc7d40dbec5(e,t,l(n))}function I(e,t,n){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06cb9cc7d40dbec5(e,t,l(n))}function P(e,t){o._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hfeb071c9e4462c18(e,t)}function F(e,t,n){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06cb9cc7d40dbec5(e,t,l(n))}function R(e,t,n){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h06cb9cc7d40dbec5(e,t,l(n))}function O(e,t,n){o._dyn_core__ops__function__FnMut__A____Output___R_as_wasm
//# sourceMappingURL=ruffle.js.map