{"version":3,"sources":["webpack://ruffle-selfhosted/../core/pkg/ruffle_web_bg.wasm","webpack://ruffle-selfhosted/../core/pkg/ruffle-imports.js","webpack://ruffle-selfhosted/../core/pkg/ruffle_web.js","webpack://ruffle-selfhosted/../core/pkg/js-polyfills.js","webpack://ruffle-selfhosted/../core/pkg/load-ruffle.js","webpack://ruffle-selfhosted/../core/pkg/plugin-polyfill.js","webpack://ruffle-selfhosted/../core/pkg/shadow-template.js","webpack://ruffle-selfhosted/../core/pkg/register-element.js","webpack://ruffle-selfhosted/../core/pkg/load-options.js","webpack://ruffle-selfhosted/../core/pkg/ruffle-player.js","webpack://ruffle-selfhosted/../core/pkg/ruffle-embed.js","webpack://ruffle-selfhosted/../core/pkg/ruffle-object.js","webpack://ruffle-selfhosted/../core/pkg/public-path.js","webpack://ruffle-selfhosted/../core/pkg/polyfills.js","webpack://ruffle-selfhosted/../core/pkg/version.js","webpack://ruffle-selfhosted/../core/pkg/version-range.js","webpack://ruffle-selfhosted/../core/pkg/public-api.js","webpack://ruffle-selfhosted/../core/pkg/source-api.js","webpack://ruffle-selfhosted/webpack/bootstrap","webpack://ruffle-selfhosted/webpack/runtime/define property getters","webpack://ruffle-selfhosted/webpack/runtime/global","webpack://ruffle-selfhosted/webpack/runtime/hasOwnProperty shorthand","webpack://ruffle-selfhosted/webpack/runtime/make namespace object","webpack://ruffle-selfhosted/webpack/runtime/publicPath","webpack://ruffle-selfhosted/./js/ruffle.js"],"names":["copyToAudioBuffer","audioBuffer","leftData","rightData","getChannelData","set","lAudioContext","AudioContext","webkitAudioContext","wasm","heap","Array","fill","undefined","getObject","idx","push","WASM_VECTOR_LEN","cachegetUint8Memory0","getUint8Memory0","buffer","memory","Uint8Array","cachedTextEncoder","TextEncoder","encodeString","encodeInto","arg","view","buf","encode","read","length","written","passStringToWasm0","malloc","realloc","ptr","subarray","len","mem","offset","code","charCodeAt","slice","cachegetInt32Memory0","getInt32Memory0","Int32Array","heap_next","takeObject","ret","dropObject","addHeapObject","obj","cachedTextDecoder","TextDecoder","ignoreBOM","fatal","getStringFromWasm0","decode","isLikeNone","x","cachegetFloat64Memory0","debugString","val","type","description","name","isArray","debug","i","builtInMatches","exec","toString","call","className","JSON","stringify","_","Error","message","stack","makeMutClosure","arg0","arg1","dtor","f","state","a","b","cnt","real","args","__wbindgen_export_2","get","original","__wbg_adapter_32","arg2","_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hef4f765648aac733","__wbg_adapter_35","_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1c9b256bef969e15","__wbg_adapter_38","__wbg_adapter_41","__wbg_adapter_44","_dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbfc3deeea95df544","__wbg_adapter_47","__wbg_adapter_50","__wbg_adapter_53","__wbg_adapter_56","_dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb9fdbc20f190ab6a","cachegetFloat32Memory0","getArrayF32FromWasm0","Float32Array","handleError","apply","this","arguments","e","__wbindgen_exn_store","stack_pointer","addBorrowedObject","cachegetUint32Memory0","getArrayU8FromWasm0","Ruffle","Object","create","prototype","__wbg_ruffle_free","parent","js_player","config","ruffle_new","__wrap","movie_url","parameters","ptr0","__wbindgen_malloc","__wbindgen_realloc","len0","ruffle_stream_from","swf_data","ruffle_load_data","ruffle_play","ruffle_pause","ruffle_is_playing","ruffle_destroy","ptr1","array","Uint32Array","passArrayJsValueToWasm0","len1","ruffle_call_exposed_callback","observer","ruffle_set_trace_observer","ruffle_audio_context","async","init","input","replace","imports","wbg","__wbindgen_is_function","__wbindgen_json_serialize","__wbindgen_object_drop_ref","__wbindgen_object_clone_ref","__wbindgen_cb_drop","__wbindgen_string_new","__wbg_isFullscreen_96b85640554e160d","isFullscreen","__wbg_displayUnsupportedMessage_a8f81a8e054e5e91","displayUnsupportedMessage","__wbg_displayMessage_c57c20204892da2b","displayMessage","__wbg_copyToAudioBuffer_58f244be94bac1d2","arg3","arg4","__wbg_new_df6e6ab7a65c4c4d","__wbg_panic_bbc809dd04a12c60","panic","__wbg_onCallbackAvailable_3a48fae397926c96","onCallbackAvailable","__wbg_onFSCommand_fb2f94653f71796e","onFSCommand","__wbindgen_number_new","__wbg_new_59cb74e423758ede","__wbg_stack_558ba5917b466edd","__wbg_error_4bb6c2a97407129a","console","error","__wbindgen_free","__wbindgen_is_undefined","__wbg_instanceof_WebGl2RenderingContext_9818b789249374d3","WebGL2RenderingContext","__wbg_bindVertexArray_569f8b5466293fb0","bindVertexArray","__wbg_blitFramebuffer_4b472bb45062bd6e","arg5","arg6","arg7","arg8","arg9","arg10","blitFramebuffer","__wbg_createVertexArray_1f35f6d163bbae13","createVertexArray","__wbg_renderbufferStorageMultisample_0426ba65de4885db","renderbufferStorageMultisample","__wbg_texImage2D_79c0e000ef5e1b0a","texImage2D","__wbg_bindFramebuffer_4a37c2a7678c0994","bindFramebuffer","__wbg_bindRenderbuffer_203ad50a30ad3c0d","bindRenderbuffer","__wbg_bindTexture_f3ab6393f75a763f","bindTexture","__wbg_createFramebuffer_d01ac1b4f7c704e5","createFramebuffer","__wbg_createRenderbuffer_c008c3bb50dfff9d","createRenderbuffer","__wbg_createTexture_151a385cd028c893","createTexture","__wbg_deleteFramebuffer_acd92acda81356e9","deleteFramebuffer","__wbg_deleteRenderbuffer_b67ff9026d2be0fd","deleteRenderbuffer","__wbg_deleteTexture_125ab82d8330e268","deleteTexture","__wbg_framebufferRenderbuffer_5293612146bd869a","framebufferRenderbuffer","__wbg_framebufferTexture2D_5b8575bda5aeceeb","framebufferTexture2D","__wbg_getError_609a7fa815fd3d84","getError","__wbg_getParameter_be1e4b3ba2c0c339","getParameter","__wbg_texParameteri_6e7ba8c54bb639f2","texParameteri","__wbg_instanceof_Window_49f532f06a9786ee","Window","__wbg_document_c0366b39e4f4c89a","document","__wbg_location_c1e50a6e4c53d45c","location","__wbg_navigator_95ba9cd684cf90aa","navigator","__wbg_devicePixelRatio_268c49438a600d53","devicePixelRatio","__wbg_performance_87e4f3b6f966469f","performance","__wbg_localStorage_a6fd83fc300473fc","localStorage","__wbg_cancelAnimationFrame_60f9cf59ec1c0125","cancelAnimationFrame","__wbg_focus_ab7792954990fdb9","focus","__wbg_open_f355af0fd051a9d8","open","__wbg_requestAnimationFrame_ef0e2294dc8b1088","requestAnimationFrame","__wbg_fetch_f532e04b8fe49aa0","fetch","__wbg_destination_4b8bc48ce4ebcd6c","destination","__wbg_sampleRate_0d2637cc084b2eaf","sampleRate","__wbg_currentTime_1bc83619afbf9e72","currentTime","__wbg_new_2f70ca6da1976429","__wbg_suspend_ad6a97ee4bac3247","suspend","__wbg_createBuffer_48e051aa20c4ba3e","createBuffer","__wbg_createBufferSource_0e160528349a924b","createBufferSource","__wbg_createChannelMerger_8e8d29d53323df91","createChannelMerger","__wbg_createChannelSplitter_10fc5fe404818afc","createChannelSplitter","__wbg_createGain_a6211e4c615a1141","createGain","__wbg_createScriptProcessor_e755612398f80dd4","createScriptProcessor","__wbg_decodeAudioData_1a1e91ec5cd60d59","decodeAudioData","__wbg_resume_6dd89ae2f9b0bef3","resume","__wbg_setvalue_cc85088ad32e56b0","value","__wbg_linearRampToValueAtTime_02ce948b9b4323e0","linearRampToValueAtTime","__wbg_setValueAtTime_788b65cf85b7ba6a","setValueAtTime","__wbg_gain_688543a4eee1eece","gain","__wbg_userAgent_b9c7a338061adca8","userAgent","__wbg_get_29a9ce40981b8710","__wbg_set_13ecdf3c7967382d","__wbg_delete_2c0adda5d0edea03","__wbg_protocol_791396029743ce88","protocol","__wbg_assign_8948549eb7c584b7","assign","__wbg_baseURI_1fe61dc0a39a61ed","baseURI","__wbg_appendChild_7c45aeccd496f2a5","appendChild","__wbg_instanceof_SvgsvgElement_aa3f79a2638c5f44","SVGSVGElement","__wbg_createSVGMatrix_9088b605b3cbb935","createSVGMatrix","__wbg_length_da24898717a463e0","__wbg_setProperty_46b9bd1b0fad730b","setProperty","__wbg_offsetX_4bd8c9fcb457cf0b","offsetX","__wbg_offsetY_0dde12490e8ebfba","offsetY","__wbg_button_9e74bd912190b055","button","__wbg_new_0af3e1641443f13d","Path2D","__wbg_addPath_0b9c6299797f0772","addPath","__wbg_closePath_6e9529e4d6da5e83","closePath","__wbg_lineTo_2157bf4d1b0ce0d3","lineTo","__wbg_moveTo_fb2215902520c649","moveTo","__wbg_quadraticCurveTo_9c392c57a794a2d2","quadraticCurveTo","__wbg_connect_607a0c51b546a3db","connect","__wbg_connect_a4236fe1b645b8fb","__wbg_connect_db97a7bc9cd258c6","__wbg_disconnect_1f5d0443b0bca9c8","disconnect","__wbg_outputBuffer_1fc843f5ddfd743b","outputBuffer","__wbg_setTransform_041d67e3d6972fd7","setTransform","__wbg_bindVertexArrayOES_17e98f43d896f40b","bindVertexArrayOES","__wbg_createVertexArrayOES_393e00fa6f931f59","createVertexArrayOES","__wbg_seta_6c309b33d9a4fb29","__wbg_setb_378147d7ba767ab1","__wbg_setc_cc36b264b7a1ae60","c","__wbg_setd_998c5989f5780653","d","__wbg_sete_42bf2f390f25e536","__wbg_setf_df5aef1469b0c50b","__wbg_deltaY_2722120e563d3160","deltaY","__wbg_deltaMode_3db3c9c4bedf191d","deltaMode","__wbg_setbuffer_8c396e74724eda12","__wbg_setloop_1e141edefc26db22","loop","__wbg_setloopStart_4162b0a533fbc0d5","loopStart","__wbg_setloopEnd_e81eb72ea2277d88","loopEnd","__wbg_setonended_f6f3e04e13c07db4","onended","__wbg_start_f5e66921db9afaee","start","__wbg_start_0237410bb20c6213","__wbg_stop_5765c7cac3ec1564","stop","__wbg_instanceof_HtmlFormElement_26283084b0956b17","HTMLFormElement","__wbg_submit_121b8e3bd960f229","submit","__wbg_pointerId_602db5c989b38cc0","pointerId","__wbg_instanceof_Response_f52c65c389890639","Response","__wbg_ok_c20643e0a45dc5a0","ok","__wbg_statusText_76ce672b84096caf","statusText","__wbg_arrayBuffer_0ba17dfaad804b6f","arrayBuffer","__wbg_key_d9b602f48baca7bc","key","__wbg_code_cbf76ad384ae1179","__wbg_now_7628760b7b640632","now","__wbg_newwithstrandinit_11debb554792e043","Request","__wbg_setonaudioprocess_66d0b1fa0dd39606","onaudioprocess","__wbg_body_c8cb19d760637268","body","__wbg_createElement_99351c8bf0efac6e","createElement","__wbg_createElementNS_a7ef126eff5022c2","createElementNS","__wbg_setid_f33ce4e43b43f57a","id","__wbg_clientWidth_2c84a7ebc75dd4f0","clientWidth","__wbg_clientHeight_f56dfe03d1c42f3e","clientHeight","__wbg_querySelector_155b00165b78a12f","querySelector","__wbg_releasePointerCapture_4b78cb9c51d4a539","releasePointerCapture","__wbg_setAttribute_e71b9086539f06a1","setAttribute","__wbg_setAttributeNS_a66240d5c750d0fa","setAttributeNS","__wbg_setPointerCapture_54ee987062d42d03","setPointerCapture","__wbg_remove_0639495587b1aaeb","remove","__wbg_instanceof_WebGlRenderingContext_ef4e51c6e4133d85","WebGLRenderingContext","__wbg_drawingBufferWidth_fab3e20dd1ba5d4e","drawingBufferWidth","__wbg_drawingBufferHeight_31bc93d4dc3a0dcc","drawingBufferHeight","__wbg_bufferData_d47c8467e443121d","bufferData","__wbg_texImage2D_a4011abffe0229fb","__wbg_uniform1fv_cd9d2dea0641919d","uniform1fv","__wbg_uniform4fv_24ef46675c137552","uniform4fv","__wbg_uniformMatrix3fv_a0a261980af4587d","uniformMatrix3fv","__wbg_uniformMatrix4fv_088c96db8ee28c1d","uniformMatrix4fv","__wbg_activeTexture_a51ec6273de88bc6","activeTexture","__wbg_attachShader_0dd248f6ab98fcf2","attachShader","__wbg_bindBuffer_1ceb83e9674e812a","bindBuffer","__wbg_bindFramebuffer_d8f98d1a7f6d67d1","__wbg_bindRenderbuffer_1ba9206d5f319ae1","__wbg_bindTexture_6121e6db3f879582","__wbg_blendFunc_34a6bb31770822c5","blendFunc","__wbg_clear_f6b2dd48aeed2752","clear","__wbg_clearColor_89f7819aa9f80129","clearColor","__wbg_colorMask_88ebee15531b14ef","colorMask","__wbg_compileShader_28bdbafe4445d24b","compileShader","__wbg_createBuffer_acedc3831832a280","__wbg_createProgram_7e2f44b7b74694d4","createProgram","__wbg_createShader_64c474f1d1d0c1f8","createShader","__wbg_createTexture_0a156dab1efc3499","__wbg_disable_5b9c6f74d5efd3a5","disable","__wbg_disableVertexAttribArray_ba8f39ecd28c601b","disableVertexAttribArray","__wbg_drawElements_3eb5ba8a511ce0f0","drawElements","__wbg_enable_87f39f6396535e1f","enable","__wbg_enableVertexAttribArray_f29c8dde9c8c5cf5","enableVertexAttribArray","__wbg_getAttribLocation_ba61f837da80e249","getAttribLocation","__wbg_getExtension_c6863c255090d82f","getExtension","__wbg_getParameter_ff687a6ea303e551","__wbg_getProgramInfoLog_aacf06c959070653","getProgramInfoLog","__wbg_getProgramParameter_a89bf14502c109f7","getProgramParameter","__wbg_getShaderInfoLog_1eb885f2468e2429","getShaderInfoLog","__wbg_getUniformLocation_ca853de4f2f9270d","getUniformLocation","__wbg_linkProgram_46a36cb158f10676","linkProgram","__wbg_pixelStorei_31f6dc244bf4cd5b","pixelStorei","__wbg_shaderSource_700ae72fca39850d","shaderSource","__wbg_stencilFunc_cc85d77d2098446b","stencilFunc","__wbg_stencilMask_ed2cded2c2b0b72c","stencilMask","__wbg_stencilOp_1b3529546c1fdcc2","stencilOp","__wbg_texParameteri_e45f3977eb998137","__wbg_uniform1f_3eb09312a513b94a","uniform1f","__wbg_uniform1i_e76b668973ae0655","uniform1i","__wbg_useProgram_d63a57db0571e803","useProgram","__wbg_vertexAttribPointer_b4b829a4f5a3778e","vertexAttribPointer","__wbg_viewport_54305c74f5668b33","viewport","__wbg_debug_146b863607d79e9d","__wbg_error_e325755affc8634b","__wbg_info_d60054f760c729cc","info","__wbg_log_f2e13ca55da8bad3","log","__wbg_warn_9e92ccdc67085e1b","warn","__wbg_style_9b773f0fc441eddc","style","__wbg_newwithbuffersourcesequenceandoptions_03294a518a0bd99a","Blob","__wbg_currentTarget_b545d0d803b3a62e","currentTarget","__wbg_preventDefault_9aab6c264e5df3ee","preventDefault","__wbg_addEventListener_6a37bc32387cb66d","addEventListener","__wbg_addEventListener_a422088e686210b5","__wbg_addEventListener_50b4229556ab0b83","__wbg_removeEventListener_70dfb387da1982ac","removeEventListener","__wbg_removeEventListener_4448b273b47328f8","__wbg_instanceof_HtmlCanvasElement_7bd3ee7838f11fc3","HTMLCanvasElement","__wbg_width_0efa4604d41c58c5","width","__wbg_setwidth_1d0e975feecff3ef","__wbg_height_aa24e3fef658c4a8","height","__wbg_setheight_7758ee3ff5c65474","__wbg_getContext_3db9399e6dc524ff","getContext","__wbg_getContext_93be69215ea9dbbf","__wbg_setsrc_ca894d724570195d","src","__wbg_new_1f2ded01c889cd38","Image","__wbg_newwithwidthandheight_0f3a13502ca94c49","__wbg_data_55e064fddf34cf3b","passArray8ToWasm0","data","__wbg_instanceof_CanvasRenderingContext2d_1d38418d1d6c8b34","CanvasRenderingContext2D","__wbg_setglobalAlpha_b4134dbd884b4d37","globalAlpha","__wbg_setglobalCompositeOperation_557a59a0ccf673d6","globalCompositeOperation","__wbg_setstrokeStyle_7f507e0d838e3dcf","strokeStyle","__wbg_setfillStyle_bbe97cb93eb1b55c","fillStyle","__wbg_setfilter_df75805bea0a8415","filter","__wbg_setlineWidth_61de9d1eb4e9f8a6","lineWidth","__wbg_setlineCap_bff1a8858c9f067e","lineCap","__wbg_setlineJoin_de47815c918d7874","lineJoin","__wbg_setmiterLimit_84b1a1dbddcd456a","miterLimit","__wbg_drawImage_b8dec9034bf1d116","drawImage","__wbg_drawImage_801ad094f4734689","__wbg_fill_6c721ab8eec90f70","__wbg_stroke_e25cf47e0d9a36c3","stroke","__wbg_createPattern_006b6402db95df36","createPattern","__wbg_getImageData_dd3caac873bf461f","getImageData","__wbg_clearRect_6af85454d06df5fa","clearRect","__wbg_fillRect_c79d1b386c04efed","fillRect","__wbg_resetTransform_f78edb82fd1f7239","resetTransform","__wbg_setTransform_5f5f19301b76a8d6","__wbg_get_5fa3f454aa041e6e","__wbg_next_373211328013f949","next","__wbg_done_49c598117f977077","done","__wbg_value_c9ae6368b110a068","__wbg_get_85e0a3b459845fe2","Reflect","__wbg_call_951bd0c6d815d6f1","__wbg_new_9dff83a08f5994f3","__wbg_isArray_cf56c8363b1b35d9","__wbg_of_3a4bb382824dd437","of","__wbg_push_3ddd8187ff2ff82d","__wbg_instanceof_ArrayBuffer_3a0fa134e6809d57","ArrayBuffer","__wbg_new_24c0ca5f23ee2dd9","__wbg_slice_a498e5bb17f253f3","__wbg_values_f28e313e2260a03a","values","__wbg_newnoargs_7c6bd521992b4022","Function","__wbg_apply_4e68243803368d89","__wbg_call_bf745b1758bb6693","__wbg_getTime_cf686ab22ab03a3e","getTime","__wbg_getTimezoneOffset_b9f3c4664b1a35ae","getTimezoneOffset","__wbg_new0_abd359df4aeb5b55","Date","__wbg_instanceof_Object_cdaa71ad2ca2f4c5","__wbg_entries_7144a7309b22df64","entries","__wbg_fromEntries_cc1186a09f1ec7f2","fromEntries","__wbg_is_049b1aece40b5301","is","__wbg_new_ba07d0daa0e4677e","__wbg_resolve_6e61e640925a0db9","Promise","resolve","__wbg_then_dd3785597974798a","then","__wbg_then_0f957e0f4c3e537a","__wbg_self_6baf3a3aa7b63415","self","__wbg_window_63fc4027b66c265b","window","__wbg_globalThis_513fb247e8e4e6d2","globalThis","__wbg_global_b87245cd886d7113","g","global","__wbg_buffer_3f12a1c608c6d04e","__wbg_newwithbyteoffsetandlength_4c51342f87299c5a","__wbg_length_c645e7c02233b440","__wbg_new_c6c0228e6d22a2f9","__wbg_set_b91afac9fd216d99","__wbg_fill_f49407f577541856","__wbg_buffer_c385539cb4060297","__wbg_byteLength_11e6bdc2fac53a3c","byteLength","__wbg_byteOffset_5db4e07752c85395","byteOffset","__wbg_ownKeys_d44c25f33e28bfab","ownKeys","__wbg_set_9bdd413385146137","__wbindgen_number_get","Float64Array","__wbindgen_string_get","__wbindgen_boolean_get","v","__wbindgen_debug_string","__wbindgen_throw","__wbindgen_rethrow","__wbindgen_memory","__wbindgen_closure_wrapper1219","__wbindgen_closure_wrapper1221","__wbindgen_closure_wrapper1223","__wbindgen_closure_wrapper1225","__wbindgen_closure_wrapper1227","__wbindgen_closure_wrapper1229","__wbindgen_closure_wrapper1231","__wbindgen_closure_wrapper1233","__wbindgen_closure_wrapper1738","URL","instance","module","WebAssembly","instantiateStreaming","headers","bytes","instantiate","Instance","load","exports","__wbindgen_wasm_module","isNativeFunction","func","indexOf","lastLoaded","loadRuffle","thisArg","_arguments","generator","reduce","defineProperty","Prototype","Version","callback","TypeError","o","k","constructor","target","ruffleWasm","default","P","reject","fulfilled","step","rejected","result","fetchRuffle","RuffleMimeTypeArray","native_mimetype_array","__mimetypes","__named_mimetypes","install","mimetype","index","Symbol","iterator","RufflePlugin","filename","mimetypes","super","RufflePluginArray","native_plugin_array","__plugins","__named_plugins","plugin","FLASH_PLUGIN","installPlugin","plugins","writable","mimeTypes","suffixes","enabledPlugin","ruffleShadowTemplate","innerHTML","privateRegistry","lookupElement","elementName","internalName","class","registerElement","elementClass","tries","externalName","customElements","define","AutoPlay","Letterbox","UnmuteOverlay","LogLevel","FLASH_MIMETYPE","FUTURESPLASH_MIMETYPE","FLASH7_AND_8_MIMETYPE","FLASH_MOVIE_MIMETYPE","FLASH_ACTIVEX_CLASSID","RUFFLE_ORIGIN","DIMENSION_REGEX","PanicError","sanitizeParameters","URLSearchParams","output","RufflePlayer","HTMLElement","hasContextMenu","panicked","shadow","attachShadow","mode","content","cloneNode","dynamicStyles","getElementById","container","playButton","playButtonClicked","bind","unmuteOverlay","unmuteOverlayClicked","contextMenuElement","showContextMenu","hideContextMenu","options","_trace_observer","ruffleConstructor","lastActivePlayingState","setupPauseOnTabHidden","hidden","is_playing","pause","play","updateStyles","_oldValue","_newValue","destroy","sheet","rules","deleteRule","widthAttr","attributes","getNamedItem","htmlDimensionToCssDimension","insertRule","heightAttr","parentNode","element","nodeName","_a","catch","ruffleIndexError","FileProtocol","WasmNotFound","String","toLowerCase","includes","WasmMimeType","WasmCors","JavascriptConflict","audioState","visibility","setTimeout","autoplay","Auto","unmuteVisibility","Visible","On","display","childNodes","forEach","node","audioContext","audio_context","onstatechange","_b","optionsError","url","JavascriptConfiguration","isConnected","isUnusedFallbackObject","allowScriptAccess","contextMenu","backgroundColor","ensureFreshInstance","swfUrl","href","_c","substring","stream_from","load_data","err","fullscreenEnabled","webkitFullscreenEnabled","fullscreenElement","webkitFullscreenElement","navigationUI","requestFullscreen","webkitRequestFullscreen","webkitRequestFullScreen","exitFullscreen","webkitExitFullscreen","webkitCancelFullScreen","items","text","onClick","enterFullscreen","separator","firstChild","removeChild","contextMenuItems","menuItem","textContent","menuSeparator","hr","left","top","rect","getBoundingClientRect","clientX","y","clientY","maxX","maxY","Math","floor","min","elem","attrib","specified","from","children","attribute","match","out","call_exposed_callback","set_trace_observer","errorIndex","Unknown","errorArray","stackIndex","debugPlayerInfo","platform","errorText","join","pageUrl","split","errorBody","errorFooter","issueLink","encodeURIComponent","issueBody","viewDetails","onclick","panicBody","classList","add","div","prepend","isScriptAccessAllowed","access","origin","isSwfFilename","pathname","extension","RuffleEmbed","_d","connectedCallback","srcval","attr","createAttribute","setNamedItem","removeNamedItem","oldValue","newValue","attributeChangedCallback","flashvars","getAttribute","ruffleObj","copyElement","findCaseInsensitive","defaultValue","hasOwnProperty","paramsOf","params","param","HTMLParamElement","RuffleObject","movie","keys","getElementsByTagName","isSwf","classid","some","isInterdictable","embedElem","objectElem","publicPath","source_name","path","publicPaths","currentScript","endsWith","isExtension","globalConfig","jsScriptUrl","objects","iframes","polyfillFlashInstances","ruffleObject","fromNativeObjectElement","replaceWith","ruffleEmbed","fromNativeEmbedElement","polyfillFrames","elementsList","dataset","rufflePolyfilled","elementWindow","contentWindow","errorMessage","tagName","readyState","injectRuffle","elementDocument","documentElement","ruffleOptout","script","onload","head","pluginPolyfill","polyfill","isExt","MutationObserver","mutationsList","mutation","addedNodes","observe","childList","subtree","major","minor","patch","prIdent","buildIdent","versionString","buildSplit","prSplit","versionSplit","parseInt","other","isNumeric","test","VersionRange","requirements","fver","matches","j","comparator","version","isStableOrCompatiblePrerelease","isEqual","hasPrecedenceOver","isCompatibleWith","requirement","components","trim","fromSemver","PublicAPI","prev","sources","invoked","newestName","conflict","superseded","api","newestVersion","kVersion","newestSourceName","polyfills","ver_requirement","fromRequirementString","valid","satisfiedBy","local","satisfying","newest","prevRuffle","sourceName","sourceAPI","publicAPI","registerSource","SourceAPI","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","definition","enumerable","prop","r","toStringTag","p","negotiate"],"mappings":"sEAAA,QAAe,IAA0B,yC,2BCYlC,SAASA,EAAkBC,EAAaC,EAAUC,GACjDD,GACkBD,EAAYG,eAAe,GACnCC,IAAIH,GAEdC,GACkBF,EAAYG,eAAe,GACnCC,IAAIF,G,+lBCjBtB,MAAMG,EAAyC,oBAAjBC,aAA+BA,aAAeC,mBAC5E,IAAIC,EAEJ,MAAMC,EAAO,IAAIC,MAAM,IAAIC,UAAKC,GAIhC,SAASC,EAAUC,GAAO,OAAOL,EAAKK,GAFtCL,EAAKM,UAAKH,EAAW,MAAM,GAAM,GAIjC,IAAII,EAAkB,EAElBC,EAAuB,KAC3B,SAASC,IAIL,OAH6B,OAAzBD,GAAiCA,EAAqBE,SAAWX,EAAKY,OAAOD,SAC7EF,EAAuB,IAAII,WAAWb,EAAKY,OAAOD,SAE/CF,EAGX,IAAIK,EAAoB,IAAIC,YAAY,SAExC,MAAMC,EAAwD,mBAAjCF,EAAkBG,WACzC,SAAUC,EAAKC,GACjB,OAAOL,EAAkBG,WAAWC,EAAKC,IAEvC,SAAUD,EAAKC,GACjB,MAAMC,EAAMN,EAAkBO,OAAOH,GAErC,OADAC,EAAKvB,IAAIwB,GACF,CACHE,KAAMJ,EAAIK,OACVC,QAASJ,EAAIG,SAIrB,SAASE,EAAkBP,EAAKQ,EAAQC,GAEpC,QAAgBvB,IA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vDlCy9B,EAA2B,GAG/B,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBjhC,IAAjBkhC,EACH,OAAOA,EAAatX,QAGrB,IAAIR,EAAS2X,EAAyBE,GAAY,CAGjDrX,QAAS,IAOV,OAHAuX,EAAoBF,GAAU7X,EAAQA,EAAOQ,QAASoX,GAG/C5X,EAAOQ,QCpBfoX,EAAoB9rB,EAAI,CAAC0U,EAASwX,KACjC,IAAI,IAAI9pB,KAAO8pB,EACXJ,EAAoBpW,EAAEwW,EAAY9pB,KAAS0pB,EAAoBpW,EAAEhB,EAAStS,IAC5EvQ,OAAOwjB,eAAeX,EAAStS,EAAK,CAAE+pB,YAAY,EAAMp8B,IAAKm8B,EAAW9pB,MCJ3E0pB,EAAoBha,EAAI,WACvB,GAA0B,iBAAfF,WAAyB,OAAOA,WAC3C,IACC,OAAOxgB,MAAQ,IAAI4e,SAAS,cAAb,GACd,MAAO1e,GACR,GAAsB,iBAAXogB,OAAqB,OAAOA,QALjB,GCAxBoa,EAAoBpW,EAAI,CAACpoB,EAAK8+B,IAAUv6B,OAAOE,UAAU+yB,eAAen2B,KAAKrB,EAAK8+B,GCClFN,EAAoBO,EAAK3X,IACH,oBAAXoC,QAA0BA,OAAOwV,aAC1Cz6B,OAAOwjB,eAAeX,EAASoC,OAAOwV,YAAa,CAAEtwB,MAAO,WAE7DnK,OAAOwjB,eAAeX,EAAS,aAAc,CAAE1Y,OAAO,KCLvD8vB,EAAoBS,EAAI,G,MCAxB,MAAM,UAAEnC,EAAS,UAAEwB,EAAS,WAAE/F,GAAe,EAAQ,KAErDnU,OAAOkI,aAAewQ,EAAUoC,UAC5B9a,OAAOkI,aACP,QACA,IAAIgS,EAAU,UAElB,IAA0B/F,EAAWnU,OAAOkI,aAAaznB,OAAQ,U","file":"ruffle.js","sourcesContent":["export default __webpack_public_path__ + \"3fcb75a862dab7eab72ad475f7480344.wasm\";","/**\n * Functions imported from JS into Ruffle.\n *\n * @ignore\n * @internal\n */\n/**\n * Copies data into the given audio channel.\n * This is necessary because Safari does not support `AudioBuffer.copyToChannel`.\n *\n * @internal\n */\nexport function copyToAudioBuffer(audioBuffer, leftData, rightData) {\n if (leftData) {\n const dstBuffer = audioBuffer.getChannelData(0);\n dstBuffer.set(leftData);\n }\n if (rightData) {\n const dstBuffer = audioBuffer.getChannelData(1);\n dstBuffer.set(rightData);\n }\n}\n","import { copyToAudioBuffer } from './ruffle-imports.js';\n\nconst lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : webkitAudioContext);\nlet wasm;\n\nconst heap = new Array(32).fill(undefined);\n\nheap.push(undefined, null, true, false);\n\nfunction getObject(idx) { return heap[idx]; }\n\nlet WASM_VECTOR_LEN = 0;\n\nlet cachegetUint8Memory0 = null;\nfunction getUint8Memory0() {\n if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {\n cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachegetUint8Memory0;\n}\n\nlet cachedTextEncoder = new TextEncoder('utf-8');\n\nconst encodeString = (typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n}\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length\n };\n});\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length);\n getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len);\n\n const mem = getUint8Memory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7F) break;\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, len = offset + arg.length * 3);\n const view = getUint8Memory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nlet cachegetInt32Memory0 = null;\nfunction getInt32Memory0() {\n if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {\n cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);\n }\n return cachegetInt32Memory0;\n}\n\nlet heap_next = heap.length;\n\nfunction dropObject(idx) {\n if (idx < 36) return;\n heap[idx] = heap_next;\n heap_next = idx;\n}\n\nfunction takeObject(idx) {\n const ret = getObject(idx);\n dropObject(idx);\n return ret;\n}\n\nfunction addHeapObject(obj) {\n if (heap_next === heap.length) heap.push(heap.length + 1);\n const idx = heap_next;\n heap_next = heap[idx];\n\n heap[idx] = obj;\n return idx;\n}\n\nlet cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });\n\ncachedTextDecoder.decode();\n\nfunction getStringFromWasm0(ptr, len) {\n return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nlet cachegetFloat64Memory0 = null;\nfunction getFloat64Memory0() {\n if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) {\n cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer);\n }\n return cachegetFloat64Memory0;\n}\n\nfunction debugString(val) {\n // primitive types\n const type = typeof val;\n if (type == 'number' || type == 'boolean' || val == null) {\n return `${val}`;\n }\n if (type == 'string') {\n return `\"${val}\"`;\n }\n if (type == 'symbol') {\n const description = val.description;\n if (description == null) {\n return 'Symbol';\n } else {\n return `Symbol(${description})`;\n }\n }\n if (type == 'function') {\n const name = val.name;\n if (typeof name == 'string' && name.length > 0) {\n return `Function(${name})`;\n } else {\n return 'Function';\n }\n }\n // objects\n if (Array.isArray(val)) {\n const length = val.length;\n let debug = '[';\n if (length > 0) {\n debug += debugString(val[0]);\n }\n for(let i = 1; i < length; i++) {\n debug += ', ' + debugString(val[i]);\n }\n debug += ']';\n return debug;\n }\n // Test for built-in\n const builtInMatches = /\\[object ([^\\]]+)\\]/.exec(toString.call(val));\n let className;\n if (builtInMatches.length > 1) {\n className = builtInMatches[1];\n } else {\n // Failed to match the standard '[object ClassName]'\n return toString.call(val);\n }\n if (className == 'Object') {\n // we're a user defined class or Object\n // JSON.stringify avoids problems with cycles, and is generally much\n // easier than looping through ownProperties of `val`.\n try {\n return 'Object(' + JSON.stringify(val) + ')';\n } catch (_) {\n return 'Object';\n }\n }\n // errors\n if (val instanceof Error) {\n return `${val.name}: ${val.message}\\n${val.stack}`;\n }\n // TODO we could test for more things here, like `Set`s and `Map`s.\n return className;\n}\n\nfunction makeMutClosure(arg0, arg1, dtor, f) {\n const state = { a: arg0, b: arg1, cnt: 1, dtor };\n const real = (...args) => {\n // First up with a closure we increment the internal reference\n // count. This ensures that the Rust closure environment won't\n // be deallocated while we're invoking it.\n state.cnt++;\n const a = state.a;\n state.a = 0;\n try {\n return f(a, state.b, ...args);\n } finally {\n if (--state.cnt === 0) {\n wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);\n\n } else {\n state.a = a;\n }\n }\n };\n real.original = state;\n\n return real;\n}\nfunction __wbg_adapter_32(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hef4f765648aac733(arg0, arg1, arg2);\n}\n\nfunction __wbg_adapter_35(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1c9b256bef969e15(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_38(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1c9b256bef969e15(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_41(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1c9b256bef969e15(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_44(arg0, arg1) {\n wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbfc3deeea95df544(arg0, arg1);\n}\n\nfunction __wbg_adapter_47(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1c9b256bef969e15(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_50(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1c9b256bef969e15(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_53(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1c9b256bef969e15(arg0, arg1, addHeapObject(arg2));\n}\n\nfunction __wbg_adapter_56(arg0, arg1, arg2) {\n wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hb9fdbc20f190ab6a(arg0, arg1, addHeapObject(arg2));\n}\n\nlet cachegetFloat32Memory0 = null;\nfunction getFloat32Memory0() {\n if (cachegetFloat32Memory0 === null || cachegetFloat32Memory0.buffer !== wasm.memory.buffer) {\n cachegetFloat32Memory0 = new Float32Array(wasm.memory.buffer);\n }\n return cachegetFloat32Memory0;\n}\n\nfunction getArrayF32FromWasm0(ptr, len) {\n return getFloat32Memory0().subarray(ptr / 4, ptr / 4 + len);\n}\n\nfunction handleError(f) {\n return function () {\n try {\n return f.apply(this, arguments);\n\n } catch (e) {\n wasm.__wbindgen_exn_store(addHeapObject(e));\n }\n };\n}\n\nlet stack_pointer = 32;\n\nfunction addBorrowedObject(obj) {\n if (stack_pointer == 1) throw new Error('out of js stack');\n heap[--stack_pointer] = obj;\n return stack_pointer;\n}\n\nlet cachegetUint32Memory0 = null;\nfunction getUint32Memory0() {\n if (cachegetUint32Memory0 === null || cachegetUint32Memory0.buffer !== wasm.memory.buffer) {\n cachegetUint32Memory0 = new Uint32Array(wasm.memory.buffer);\n }\n return cachegetUint32Memory0;\n}\n\nfunction passArrayJsValueToWasm0(array, malloc) {\n const ptr = malloc(array.length * 4);\n const mem = getUint32Memory0();\n for (let i = 0; i < array.length; i++) {\n mem[ptr / 4 + i] = addHeapObject(array[i]);\n }\n WASM_VECTOR_LEN = array.length;\n return ptr;\n}\n\nfunction getArrayU8FromWasm0(ptr, len) {\n return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);\n}\n\nfunction passArray8ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 1);\n getUint8Memory0().set(arg, ptr / 1);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n/**\n* An opaque handle to a `RuffleInstance` inside the pool.\n*\n* This type is exported to JS, and is used to interact with the library.\n*/\nexport class Ruffle {\n\n static __wrap(ptr) {\n const obj = Object.create(Ruffle.prototype);\n obj.ptr = ptr;\n\n return obj;\n }\n\n free() {\n const ptr = this.ptr;\n this.ptr = 0;\n\n wasm.__wbg_ruffle_free(ptr);\n }\n /**\n * @param {HTMLElement} parent\n * @param {any} js_player\n * @param {any} config\n */\n constructor(parent, js_player, config) {\n try {\n var ret = wasm.ruffle_new(addHeapObject(parent), addHeapObject(js_player), addBorrowedObject(config));\n return Ruffle.__wrap(ret);\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n * Stream an arbitrary movie file from (presumably) the Internet.\n *\n * This method should only be called once per player.\n * @param {string} movie_url\n * @param {any} parameters\n */\n stream_from(movie_url, parameters) {\n try {\n var ptr0 = passStringToWasm0(movie_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.ruffle_stream_from(this.ptr, ptr0, len0, addBorrowedObject(parameters));\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n * Play an arbitrary movie on this instance.\n *\n * This method should only be called once per player.\n * @param {Uint8Array} swf_data\n * @param {any} parameters\n */\n load_data(swf_data, parameters) {\n try {\n wasm.ruffle_load_data(this.ptr, addHeapObject(swf_data), addBorrowedObject(parameters));\n } finally {\n heap[stack_pointer++] = undefined;\n }\n }\n /**\n */\n play() {\n wasm.ruffle_play(this.ptr);\n }\n /**\n */\n pause() {\n wasm.ruffle_pause(this.ptr);\n }\n /**\n * @returns {boolean}\n */\n is_playing() {\n var ret = wasm.ruffle_is_playing(this.ptr);\n return ret !== 0;\n }\n /**\n */\n destroy() {\n wasm.ruffle_destroy(this.ptr);\n }\n /**\n * @param {string} name\n * @param {any[]} args\n * @returns {any}\n */\n call_exposed_callback(name, args) {\n var ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n var ptr1 = passArrayJsValueToWasm0(args, wasm.__wbindgen_malloc);\n var len1 = WASM_VECTOR_LEN;\n var ret = wasm.ruffle_call_exposed_callback(this.ptr, ptr0, len0, ptr1, len1);\n return takeObject(ret);\n }\n /**\n * @param {any} observer\n */\n set_trace_observer(observer) {\n wasm.ruffle_set_trace_observer(this.ptr, addHeapObject(observer));\n }\n /**\n * Returns the web AudioContext used by this player.\n * Returns `None` if the audio backend does not use Web Audio.\n * @returns {AudioContext | undefined}\n */\n audio_context() {\n var ret = wasm.ruffle_audio_context(this.ptr);\n return takeObject(ret);\n }\n}\n\nasync function load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n\n } catch (e) {\n if (module.headers.get('Content-Type') != 'application/wasm') {\n 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\", e);\n\n } else {\n throw e;\n }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n\n } else {\n\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n\n } else {\n return instance;\n }\n }\n}\n\nasync function init(input) {\n if (typeof input === 'undefined') {\n input = import.meta.url.replace(/\\.js$/, '_bg.wasm');\n }\n const imports = {};\n imports.wbg = {};\n imports.wbg.__wbindgen_is_function = function(arg0) {\n var ret = typeof(getObject(arg0)) === 'function';\n return ret;\n };\n imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {\n const obj = getObject(arg1);\n var ret = JSON.stringify(obj === undefined ? null : obj);\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbindgen_object_drop_ref = function(arg0) {\n takeObject(arg0);\n };\n imports.wbg.__wbindgen_object_clone_ref = function(arg0) {\n var ret = getObject(arg0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_cb_drop = function(arg0) {\n const obj = takeObject(arg0).original;\n if (obj.cnt-- == 1) {\n obj.a = 0;\n return true;\n }\n var ret = false;\n return ret;\n };\n imports.wbg.__wbindgen_string_new = function(arg0, arg1) {\n var ret = getStringFromWasm0(arg0, arg1);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_isFullscreen_96b85640554e160d = function(arg0) {\n var ret = getObject(arg0).isFullscreen;\n return ret;\n };\n imports.wbg.__wbg_displayUnsupportedMessage_a8f81a8e054e5e91 = function(arg0) {\n getObject(arg0).displayUnsupportedMessage();\n };\n imports.wbg.__wbg_displayMessage_c57c20204892da2b = function(arg0, arg1, arg2) {\n getObject(arg0).displayMessage(getStringFromWasm0(arg1, arg2));\n };\n imports.wbg.__wbg_copyToAudioBuffer_58f244be94bac1d2 = function(arg0, arg1, arg2, arg3, arg4) {\n copyToAudioBuffer(getObject(arg0), arg1 === 0 ? undefined : getArrayF32FromWasm0(arg1, arg2), arg3 === 0 ? undefined : getArrayF32FromWasm0(arg3, arg4));\n };\n imports.wbg.__wbg_new_df6e6ab7a65c4c4d = function(arg0, arg1) {\n var ret = new Error(getStringFromWasm0(arg0, arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_panic_bbc809dd04a12c60 = function(arg0, arg1) {\n getObject(arg0).panic(getObject(arg1));\n };\n imports.wbg.__wbg_onCallbackAvailable_3a48fae397926c96 = function(arg0, arg1, arg2) {\n getObject(arg0).onCallbackAvailable(getStringFromWasm0(arg1, arg2));\n };\n imports.wbg.__wbg_onFSCommand_fb2f94653f71796e = handleError(function(arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).onFSCommand(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n return ret;\n });\n imports.wbg.__wbindgen_number_new = function(arg0) {\n var ret = arg0;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_new_59cb74e423758ede = function() {\n var ret = new Error();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_stack_558ba5917b466edd = function(arg0, arg1) {\n var ret = getObject(arg1).stack;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_error_4bb6c2a97407129a = function(arg0, arg1) {\n try {\n console.error(getStringFromWasm0(arg0, arg1));\n } finally {\n wasm.__wbindgen_free(arg0, arg1);\n }\n };\n imports.wbg.__wbindgen_is_undefined = function(arg0) {\n var ret = getObject(arg0) === undefined;\n return ret;\n };\n imports.wbg.__wbg_instanceof_WebGl2RenderingContext_9818b789249374d3 = function(arg0) {\n var ret = getObject(arg0) instanceof WebGL2RenderingContext;\n return ret;\n };\n imports.wbg.__wbg_bindVertexArray_569f8b5466293fb0 = function(arg0, arg1) {\n getObject(arg0).bindVertexArray(getObject(arg1));\n };\n imports.wbg.__wbg_blitFramebuffer_4b472bb45062bd6e = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {\n getObject(arg0).blitFramebuffer(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 >>> 0, arg10 >>> 0);\n };\n imports.wbg.__wbg_createVertexArray_1f35f6d163bbae13 = function(arg0) {\n var ret = getObject(arg0).createVertexArray();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_renderbufferStorageMultisample_0426ba65de4885db = function(arg0, arg1, arg2, arg3, arg4, arg5) {\n getObject(arg0).renderbufferStorageMultisample(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);\n };\n imports.wbg.__wbg_texImage2D_79c0e000ef5e1b0a = handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {\n getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9 === 0 ? undefined : getArrayU8FromWasm0(arg9, arg10));\n });\n imports.wbg.__wbg_bindFramebuffer_4a37c2a7678c0994 = function(arg0, arg1, arg2) {\n getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindRenderbuffer_203ad50a30ad3c0d = function(arg0, arg1, arg2) {\n getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindTexture_f3ab6393f75a763f = function(arg0, arg1, arg2) {\n getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_createFramebuffer_d01ac1b4f7c704e5 = function(arg0) {\n var ret = getObject(arg0).createFramebuffer();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createRenderbuffer_c008c3bb50dfff9d = function(arg0) {\n var ret = getObject(arg0).createRenderbuffer();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createTexture_151a385cd028c893 = function(arg0) {\n var ret = getObject(arg0).createTexture();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_deleteFramebuffer_acd92acda81356e9 = function(arg0, arg1) {\n getObject(arg0).deleteFramebuffer(getObject(arg1));\n };\n imports.wbg.__wbg_deleteRenderbuffer_b67ff9026d2be0fd = function(arg0, arg1) {\n getObject(arg0).deleteRenderbuffer(getObject(arg1));\n };\n imports.wbg.__wbg_deleteTexture_125ab82d8330e268 = function(arg0, arg1) {\n getObject(arg0).deleteTexture(getObject(arg1));\n };\n imports.wbg.__wbg_framebufferRenderbuffer_5293612146bd869a = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).framebufferRenderbuffer(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4));\n };\n imports.wbg.__wbg_framebufferTexture2D_5b8575bda5aeceeb = function(arg0, arg1, arg2, arg3, arg4, arg5) {\n getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);\n };\n imports.wbg.__wbg_getError_609a7fa815fd3d84 = function(arg0) {\n var ret = getObject(arg0).getError();\n return ret;\n };\n imports.wbg.__wbg_getParameter_be1e4b3ba2c0c339 = handleError(function(arg0, arg1) {\n var ret = getObject(arg0).getParameter(arg1 >>> 0);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_texParameteri_6e7ba8c54bb639f2 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);\n };\n imports.wbg.__wbg_instanceof_Window_49f532f06a9786ee = function(arg0) {\n var ret = getObject(arg0) instanceof Window;\n return ret;\n };\n imports.wbg.__wbg_document_c0366b39e4f4c89a = function(arg0) {\n var ret = getObject(arg0).document;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_location_c1e50a6e4c53d45c = function(arg0) {\n var ret = getObject(arg0).location;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_navigator_95ba9cd684cf90aa = function(arg0) {\n var ret = getObject(arg0).navigator;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_devicePixelRatio_268c49438a600d53 = function(arg0) {\n var ret = getObject(arg0).devicePixelRatio;\n return ret;\n };\n imports.wbg.__wbg_performance_87e4f3b6f966469f = function(arg0) {\n var ret = getObject(arg0).performance;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_localStorage_a6fd83fc300473fc = handleError(function(arg0) {\n var ret = getObject(arg0).localStorage;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n });\n imports.wbg.__wbg_cancelAnimationFrame_60f9cf59ec1c0125 = handleError(function(arg0, arg1) {\n getObject(arg0).cancelAnimationFrame(arg1);\n });\n imports.wbg.__wbg_focus_ab7792954990fdb9 = handleError(function(arg0) {\n getObject(arg0).focus();\n });\n imports.wbg.__wbg_open_f355af0fd051a9d8 = handleError(function(arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n });\n imports.wbg.__wbg_requestAnimationFrame_ef0e2294dc8b1088 = handleError(function(arg0, arg1) {\n var ret = getObject(arg0).requestAnimationFrame(getObject(arg1));\n return ret;\n });\n imports.wbg.__wbg_fetch_f532e04b8fe49aa0 = function(arg0, arg1) {\n var ret = getObject(arg0).fetch(getObject(arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_destination_4b8bc48ce4ebcd6c = function(arg0) {\n var ret = getObject(arg0).destination;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_sampleRate_0d2637cc084b2eaf = function(arg0) {\n var ret = getObject(arg0).sampleRate;\n return ret;\n };\n imports.wbg.__wbg_currentTime_1bc83619afbf9e72 = function(arg0) {\n var ret = getObject(arg0).currentTime;\n return ret;\n };\n imports.wbg.__wbg_new_2f70ca6da1976429 = handleError(function() {\n var ret = new lAudioContext();\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_suspend_ad6a97ee4bac3247 = handleError(function(arg0) {\n var ret = getObject(arg0).suspend();\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_createBuffer_48e051aa20c4ba3e = handleError(function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createBuffer(arg1 >>> 0, arg2 >>> 0, arg3);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_createBufferSource_0e160528349a924b = handleError(function(arg0) {\n var ret = getObject(arg0).createBufferSource();\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_createChannelMerger_8e8d29d53323df91 = handleError(function(arg0, arg1) {\n var ret = getObject(arg0).createChannelMerger(arg1 >>> 0);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_createChannelSplitter_10fc5fe404818afc = handleError(function(arg0, arg1) {\n var ret = getObject(arg0).createChannelSplitter(arg1 >>> 0);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_createGain_a6211e4c615a1141 = handleError(function(arg0) {\n var ret = getObject(arg0).createGain();\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_createScriptProcessor_e755612398f80dd4 = handleError(function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createScriptProcessor(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_decodeAudioData_1a1e91ec5cd60d59 = handleError(function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).decodeAudioData(getObject(arg1), getObject(arg2), getObject(arg3));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_resume_6dd89ae2f9b0bef3 = handleError(function(arg0) {\n var ret = getObject(arg0).resume();\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_setvalue_cc85088ad32e56b0 = function(arg0, arg1) {\n getObject(arg0).value = arg1;\n };\n imports.wbg.__wbg_linearRampToValueAtTime_02ce948b9b4323e0 = handleError(function(arg0, arg1, arg2) {\n var ret = getObject(arg0).linearRampToValueAtTime(arg1, arg2);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_setValueAtTime_788b65cf85b7ba6a = handleError(function(arg0, arg1, arg2) {\n var ret = getObject(arg0).setValueAtTime(arg1, arg2);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_gain_688543a4eee1eece = function(arg0) {\n var ret = getObject(arg0).gain;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_userAgent_b9c7a338061adca8 = handleError(function(arg0, arg1) {\n var ret = getObject(arg1).userAgent;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n });\n imports.wbg.__wbg_get_29a9ce40981b8710 = handleError(function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg1)[getStringFromWasm0(arg2, arg3)];\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n });\n imports.wbg.__wbg_set_13ecdf3c7967382d = handleError(function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0)[getStringFromWasm0(arg1, arg2)] = getStringFromWasm0(arg3, arg4);\n });\n imports.wbg.__wbg_delete_2c0adda5d0edea03 = handleError(function(arg0, arg1, arg2) {\n delete getObject(arg0)[getStringFromWasm0(arg1, arg2)];\n });\n imports.wbg.__wbg_protocol_791396029743ce88 = handleError(function(arg0, arg1) {\n var ret = getObject(arg1).protocol;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n });\n imports.wbg.__wbg_assign_8948549eb7c584b7 = handleError(function(arg0, arg1, arg2) {\n getObject(arg0).assign(getStringFromWasm0(arg1, arg2));\n });\n imports.wbg.__wbg_baseURI_1fe61dc0a39a61ed = handleError(function(arg0, arg1) {\n var ret = getObject(arg1).baseURI;\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n });\n imports.wbg.__wbg_appendChild_7c45aeccd496f2a5 = handleError(function(arg0, arg1) {\n var ret = getObject(arg0).appendChild(getObject(arg1));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_instanceof_SvgsvgElement_aa3f79a2638c5f44 = function(arg0) {\n var ret = getObject(arg0) instanceof SVGSVGElement;\n return ret;\n };\n imports.wbg.__wbg_createSVGMatrix_9088b605b3cbb935 = function(arg0) {\n var ret = getObject(arg0).createSVGMatrix();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_length_da24898717a463e0 = function(arg0) {\n var ret = getObject(arg0).length;\n return ret;\n };\n imports.wbg.__wbg_setProperty_46b9bd1b0fad730b = handleError(function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n });\n imports.wbg.__wbg_offsetX_4bd8c9fcb457cf0b = function(arg0) {\n var ret = getObject(arg0).offsetX;\n return ret;\n };\n imports.wbg.__wbg_offsetY_0dde12490e8ebfba = function(arg0) {\n var ret = getObject(arg0).offsetY;\n return ret;\n };\n imports.wbg.__wbg_button_9e74bd912190b055 = function(arg0) {\n var ret = getObject(arg0).button;\n return ret;\n };\n imports.wbg.__wbg_new_0af3e1641443f13d = handleError(function() {\n var ret = new Path2D();\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_addPath_0b9c6299797f0772 = function(arg0, arg1, arg2) {\n getObject(arg0).addPath(getObject(arg1), getObject(arg2));\n };\n imports.wbg.__wbg_closePath_6e9529e4d6da5e83 = function(arg0) {\n getObject(arg0).closePath();\n };\n imports.wbg.__wbg_lineTo_2157bf4d1b0ce0d3 = function(arg0, arg1, arg2) {\n getObject(arg0).lineTo(arg1, arg2);\n };\n imports.wbg.__wbg_moveTo_fb2215902520c649 = function(arg0, arg1, arg2) {\n getObject(arg0).moveTo(arg1, arg2);\n };\n imports.wbg.__wbg_quadraticCurveTo_9c392c57a794a2d2 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).quadraticCurveTo(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_connect_607a0c51b546a3db = handleError(function(arg0, arg1) {\n var ret = getObject(arg0).connect(getObject(arg1));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_connect_a4236fe1b645b8fb = handleError(function(arg0, arg1, arg2) {\n var ret = getObject(arg0).connect(getObject(arg1), arg2 >>> 0);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_connect_db97a7bc9cd258c6 = handleError(function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).connect(getObject(arg1), arg2 >>> 0, arg3 >>> 0);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_disconnect_1f5d0443b0bca9c8 = handleError(function(arg0) {\n getObject(arg0).disconnect();\n });\n imports.wbg.__wbg_outputBuffer_1fc843f5ddfd743b = handleError(function(arg0) {\n var ret = getObject(arg0).outputBuffer;\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_setTransform_041d67e3d6972fd7 = function(arg0, arg1) {\n getObject(arg0).setTransform(getObject(arg1));\n };\n imports.wbg.__wbg_bindVertexArrayOES_17e98f43d896f40b = function(arg0, arg1) {\n getObject(arg0).bindVertexArrayOES(getObject(arg1));\n };\n imports.wbg.__wbg_createVertexArrayOES_393e00fa6f931f59 = function(arg0) {\n var ret = getObject(arg0).createVertexArrayOES();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_seta_6c309b33d9a4fb29 = function(arg0, arg1) {\n getObject(arg0).a = arg1;\n };\n imports.wbg.__wbg_setb_378147d7ba767ab1 = function(arg0, arg1) {\n getObject(arg0).b = arg1;\n };\n imports.wbg.__wbg_setc_cc36b264b7a1ae60 = function(arg0, arg1) {\n getObject(arg0).c = arg1;\n };\n imports.wbg.__wbg_setd_998c5989f5780653 = function(arg0, arg1) {\n getObject(arg0).d = arg1;\n };\n imports.wbg.__wbg_sete_42bf2f390f25e536 = function(arg0, arg1) {\n getObject(arg0).e = arg1;\n };\n imports.wbg.__wbg_setf_df5aef1469b0c50b = function(arg0, arg1) {\n getObject(arg0).f = arg1;\n };\n imports.wbg.__wbg_deltaY_2722120e563d3160 = function(arg0) {\n var ret = getObject(arg0).deltaY;\n return ret;\n };\n imports.wbg.__wbg_deltaMode_3db3c9c4bedf191d = function(arg0) {\n var ret = getObject(arg0).deltaMode;\n return ret;\n };\n imports.wbg.__wbg_setbuffer_8c396e74724eda12 = function(arg0, arg1) {\n getObject(arg0).buffer = getObject(arg1);\n };\n imports.wbg.__wbg_setloop_1e141edefc26db22 = function(arg0, arg1) {\n getObject(arg0).loop = arg1 !== 0;\n };\n imports.wbg.__wbg_setloopStart_4162b0a533fbc0d5 = function(arg0, arg1) {\n getObject(arg0).loopStart = arg1;\n };\n imports.wbg.__wbg_setloopEnd_e81eb72ea2277d88 = function(arg0, arg1) {\n getObject(arg0).loopEnd = arg1;\n };\n imports.wbg.__wbg_setonended_f6f3e04e13c07db4 = function(arg0, arg1) {\n getObject(arg0).onended = getObject(arg1);\n };\n imports.wbg.__wbg_start_f5e66921db9afaee = handleError(function(arg0) {\n getObject(arg0).start();\n });\n imports.wbg.__wbg_start_0237410bb20c6213 = handleError(function(arg0, arg1, arg2) {\n getObject(arg0).start(arg1, arg2);\n });\n imports.wbg.__wbg_stop_5765c7cac3ec1564 = handleError(function(arg0, arg1) {\n getObject(arg0).stop(arg1);\n });\n imports.wbg.__wbg_instanceof_HtmlFormElement_26283084b0956b17 = function(arg0) {\n var ret = getObject(arg0) instanceof HTMLFormElement;\n return ret;\n };\n imports.wbg.__wbg_submit_121b8e3bd960f229 = handleError(function(arg0) {\n getObject(arg0).submit();\n });\n imports.wbg.__wbg_pointerId_602db5c989b38cc0 = function(arg0) {\n var ret = getObject(arg0).pointerId;\n return ret;\n };\n imports.wbg.__wbg_instanceof_Response_f52c65c389890639 = function(arg0) {\n var ret = getObject(arg0) instanceof Response;\n return ret;\n };\n imports.wbg.__wbg_ok_c20643e0a45dc5a0 = function(arg0) {\n var ret = getObject(arg0).ok;\n return ret;\n };\n imports.wbg.__wbg_statusText_76ce672b84096caf = function(arg0, arg1) {\n var ret = getObject(arg1).statusText;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_arrayBuffer_0ba17dfaad804b6f = handleError(function(arg0) {\n var ret = getObject(arg0).arrayBuffer();\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_key_d9b602f48baca7bc = function(arg0, arg1) {\n var ret = getObject(arg1).key;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_code_cbf76ad384ae1179 = function(arg0, arg1) {\n var ret = getObject(arg1).code;\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_now_7628760b7b640632 = function(arg0) {\n var ret = getObject(arg0).now();\n return ret;\n };\n imports.wbg.__wbg_newwithstrandinit_11debb554792e043 = handleError(function(arg0, arg1, arg2) {\n var ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_setonaudioprocess_66d0b1fa0dd39606 = function(arg0, arg1) {\n getObject(arg0).onaudioprocess = getObject(arg1);\n };\n imports.wbg.__wbg_body_c8cb19d760637268 = function(arg0) {\n var ret = getObject(arg0).body;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createElement_99351c8bf0efac6e = handleError(function(arg0, arg1, arg2) {\n var ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_createElementNS_a7ef126eff5022c2 = handleError(function(arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).createElementNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_setid_f33ce4e43b43f57a = function(arg0, arg1, arg2) {\n getObject(arg0).id = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_clientWidth_2c84a7ebc75dd4f0 = function(arg0) {\n var ret = getObject(arg0).clientWidth;\n return ret;\n };\n imports.wbg.__wbg_clientHeight_f56dfe03d1c42f3e = function(arg0) {\n var ret = getObject(arg0).clientHeight;\n return ret;\n };\n imports.wbg.__wbg_querySelector_155b00165b78a12f = handleError(function(arg0, arg1, arg2) {\n var ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n });\n imports.wbg.__wbg_releasePointerCapture_4b78cb9c51d4a539 = handleError(function(arg0, arg1) {\n getObject(arg0).releasePointerCapture(arg1);\n });\n imports.wbg.__wbg_setAttribute_e71b9086539f06a1 = handleError(function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));\n });\n imports.wbg.__wbg_setAttributeNS_a66240d5c750d0fa = handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {\n getObject(arg0).setAttributeNS(arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));\n });\n imports.wbg.__wbg_setPointerCapture_54ee987062d42d03 = handleError(function(arg0, arg1) {\n getObject(arg0).setPointerCapture(arg1);\n });\n imports.wbg.__wbg_remove_0639495587b1aaeb = function(arg0) {\n getObject(arg0).remove();\n };\n imports.wbg.__wbg_instanceof_WebGlRenderingContext_ef4e51c6e4133d85 = function(arg0) {\n var ret = getObject(arg0) instanceof WebGLRenderingContext;\n return ret;\n };\n imports.wbg.__wbg_drawingBufferWidth_fab3e20dd1ba5d4e = function(arg0) {\n var ret = getObject(arg0).drawingBufferWidth;\n return ret;\n };\n imports.wbg.__wbg_drawingBufferHeight_31bc93d4dc3a0dcc = function(arg0) {\n var ret = getObject(arg0).drawingBufferHeight;\n return ret;\n };\n imports.wbg.__wbg_bufferData_d47c8467e443121d = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).bufferData(arg1 >>> 0, getArrayU8FromWasm0(arg2, arg3), arg4 >>> 0);\n };\n imports.wbg.__wbg_texImage2D_a4011abffe0229fb = handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {\n getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9 === 0 ? undefined : getArrayU8FromWasm0(arg9, arg10));\n });\n imports.wbg.__wbg_uniform1fv_cd9d2dea0641919d = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).uniform1fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));\n };\n imports.wbg.__wbg_uniform4fv_24ef46675c137552 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));\n };\n imports.wbg.__wbg_uniformMatrix3fv_a0a261980af4587d = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));\n };\n imports.wbg.__wbg_uniformMatrix4fv_088c96db8ee28c1d = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));\n };\n imports.wbg.__wbg_activeTexture_a51ec6273de88bc6 = function(arg0, arg1) {\n getObject(arg0).activeTexture(arg1 >>> 0);\n };\n imports.wbg.__wbg_attachShader_0dd248f6ab98fcf2 = function(arg0, arg1, arg2) {\n getObject(arg0).attachShader(getObject(arg1), getObject(arg2));\n };\n imports.wbg.__wbg_bindBuffer_1ceb83e9674e812a = function(arg0, arg1, arg2) {\n getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindFramebuffer_d8f98d1a7f6d67d1 = function(arg0, arg1, arg2) {\n getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindRenderbuffer_1ba9206d5f319ae1 = function(arg0, arg1, arg2) {\n getObject(arg0).bindRenderbuffer(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_bindTexture_6121e6db3f879582 = function(arg0, arg1, arg2) {\n getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));\n };\n imports.wbg.__wbg_blendFunc_34a6bb31770822c5 = function(arg0, arg1, arg2) {\n getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);\n };\n imports.wbg.__wbg_clear_f6b2dd48aeed2752 = function(arg0, arg1) {\n getObject(arg0).clear(arg1 >>> 0);\n };\n imports.wbg.__wbg_clearColor_89f7819aa9f80129 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).clearColor(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_colorMask_88ebee15531b14ef = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);\n };\n imports.wbg.__wbg_compileShader_28bdbafe4445d24b = function(arg0, arg1) {\n getObject(arg0).compileShader(getObject(arg1));\n };\n imports.wbg.__wbg_createBuffer_acedc3831832a280 = function(arg0) {\n var ret = getObject(arg0).createBuffer();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createProgram_7e2f44b7b74694d4 = function(arg0) {\n var ret = getObject(arg0).createProgram();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createShader_64c474f1d1d0c1f8 = function(arg0, arg1) {\n var ret = getObject(arg0).createShader(arg1 >>> 0);\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_createTexture_0a156dab1efc3499 = function(arg0) {\n var ret = getObject(arg0).createTexture();\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_disable_5b9c6f74d5efd3a5 = function(arg0, arg1) {\n getObject(arg0).disable(arg1 >>> 0);\n };\n imports.wbg.__wbg_disableVertexAttribArray_ba8f39ecd28c601b = function(arg0, arg1) {\n getObject(arg0).disableVertexAttribArray(arg1 >>> 0);\n };\n imports.wbg.__wbg_drawElements_3eb5ba8a511ce0f0 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);\n };\n imports.wbg.__wbg_enable_87f39f6396535e1f = function(arg0, arg1) {\n getObject(arg0).enable(arg1 >>> 0);\n };\n imports.wbg.__wbg_enableVertexAttribArray_f29c8dde9c8c5cf5 = function(arg0, arg1) {\n getObject(arg0).enableVertexAttribArray(arg1 >>> 0);\n };\n imports.wbg.__wbg_getAttribLocation_ba61f837da80e249 = function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return ret;\n };\n imports.wbg.__wbg_getExtension_c6863c255090d82f = handleError(function(arg0, arg1, arg2) {\n var ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n });\n imports.wbg.__wbg_getParameter_ff687a6ea303e551 = handleError(function(arg0, arg1) {\n var ret = getObject(arg0).getParameter(arg1 >>> 0);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_getProgramInfoLog_aacf06c959070653 = function(arg0, arg1, arg2) {\n var ret = getObject(arg1).getProgramInfoLog(getObject(arg2));\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_getProgramParameter_a89bf14502c109f7 = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_getShaderInfoLog_1eb885f2468e2429 = function(arg0, arg1, arg2) {\n var ret = getObject(arg1).getShaderInfoLog(getObject(arg2));\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_getUniformLocation_ca853de4f2f9270d = function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_linkProgram_46a36cb158f10676 = function(arg0, arg1) {\n getObject(arg0).linkProgram(getObject(arg1));\n };\n imports.wbg.__wbg_pixelStorei_31f6dc244bf4cd5b = function(arg0, arg1, arg2) {\n getObject(arg0).pixelStorei(arg1 >>> 0, arg2);\n };\n imports.wbg.__wbg_shaderSource_700ae72fca39850d = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));\n };\n imports.wbg.__wbg_stencilFunc_cc85d77d2098446b = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).stencilFunc(arg1 >>> 0, arg2, arg3 >>> 0);\n };\n imports.wbg.__wbg_stencilMask_ed2cded2c2b0b72c = function(arg0, arg1) {\n getObject(arg0).stencilMask(arg1 >>> 0);\n };\n imports.wbg.__wbg_stencilOp_1b3529546c1fdcc2 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).stencilOp(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);\n };\n imports.wbg.__wbg_texParameteri_e45f3977eb998137 = function(arg0, arg1, arg2, arg3) {\n getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);\n };\n imports.wbg.__wbg_uniform1f_3eb09312a513b94a = function(arg0, arg1, arg2) {\n getObject(arg0).uniform1f(getObject(arg1), arg2);\n };\n imports.wbg.__wbg_uniform1i_e76b668973ae0655 = function(arg0, arg1, arg2) {\n getObject(arg0).uniform1i(getObject(arg1), arg2);\n };\n imports.wbg.__wbg_useProgram_d63a57db0571e803 = function(arg0, arg1) {\n getObject(arg0).useProgram(getObject(arg1));\n };\n imports.wbg.__wbg_vertexAttribPointer_b4b829a4f5a3778e = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {\n getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);\n };\n imports.wbg.__wbg_viewport_54305c74f5668b33 = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).viewport(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_debug_146b863607d79e9d = function(arg0) {\n console.debug(getObject(arg0));\n };\n imports.wbg.__wbg_error_e325755affc8634b = function(arg0) {\n console.error(getObject(arg0));\n };\n imports.wbg.__wbg_info_d60054f760c729cc = function(arg0) {\n console.info(getObject(arg0));\n };\n imports.wbg.__wbg_log_f2e13ca55da8bad3 = function(arg0) {\n console.log(getObject(arg0));\n };\n imports.wbg.__wbg_warn_9e92ccdc67085e1b = function(arg0) {\n console.warn(getObject(arg0));\n };\n imports.wbg.__wbg_style_9b773f0fc441eddc = function(arg0) {\n var ret = getObject(arg0).style;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_newwithbuffersourcesequenceandoptions_03294a518a0bd99a = handleError(function(arg0, arg1) {\n var ret = new Blob(getObject(arg0), getObject(arg1));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_currentTarget_b545d0d803b3a62e = function(arg0) {\n var ret = getObject(arg0).currentTarget;\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n };\n imports.wbg.__wbg_preventDefault_9aab6c264e5df3ee = function(arg0) {\n getObject(arg0).preventDefault();\n };\n imports.wbg.__wbg_addEventListener_6a37bc32387cb66d = handleError(function(arg0, arg1, arg2, arg3) {\n getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));\n });\n imports.wbg.__wbg_addEventListener_a422088e686210b5 = handleError(function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));\n });\n imports.wbg.__wbg_addEventListener_50b4229556ab0b83 = handleError(function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), arg4 !== 0);\n });\n imports.wbg.__wbg_removeEventListener_70dfb387da1982ac = handleError(function(arg0, arg1, arg2, arg3) {\n getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));\n });\n imports.wbg.__wbg_removeEventListener_4448b273b47328f8 = handleError(function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), arg4 !== 0);\n });\n imports.wbg.__wbg_instanceof_HtmlCanvasElement_7bd3ee7838f11fc3 = function(arg0) {\n var ret = getObject(arg0) instanceof HTMLCanvasElement;\n return ret;\n };\n imports.wbg.__wbg_width_0efa4604d41c58c5 = function(arg0) {\n var ret = getObject(arg0).width;\n return ret;\n };\n imports.wbg.__wbg_setwidth_1d0e975feecff3ef = function(arg0, arg1) {\n getObject(arg0).width = arg1 >>> 0;\n };\n imports.wbg.__wbg_height_aa24e3fef658c4a8 = function(arg0) {\n var ret = getObject(arg0).height;\n return ret;\n };\n imports.wbg.__wbg_setheight_7758ee3ff5c65474 = function(arg0, arg1) {\n getObject(arg0).height = arg1 >>> 0;\n };\n imports.wbg.__wbg_getContext_3db9399e6dc524ff = handleError(function(arg0, arg1, arg2) {\n var ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n });\n imports.wbg.__wbg_getContext_93be69215ea9dbbf = handleError(function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2), getObject(arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n });\n imports.wbg.__wbg_setsrc_ca894d724570195d = function(arg0, arg1, arg2) {\n getObject(arg0).src = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_new_1f2ded01c889cd38 = handleError(function() {\n var ret = new Image();\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_newwithwidthandheight_0f3a13502ca94c49 = handleError(function(arg0, arg1) {\n var ret = new Image(arg0 >>> 0, arg1 >>> 0);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_data_55e064fddf34cf3b = function(arg0, arg1) {\n var ret = getObject(arg1).data;\n var ptr0 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbg_instanceof_CanvasRenderingContext2d_1d38418d1d6c8b34 = function(arg0) {\n var ret = getObject(arg0) instanceof CanvasRenderingContext2D;\n return ret;\n };\n imports.wbg.__wbg_setglobalAlpha_b4134dbd884b4d37 = function(arg0, arg1) {\n getObject(arg0).globalAlpha = arg1;\n };\n imports.wbg.__wbg_setglobalCompositeOperation_557a59a0ccf673d6 = handleError(function(arg0, arg1, arg2) {\n getObject(arg0).globalCompositeOperation = getStringFromWasm0(arg1, arg2);\n });\n imports.wbg.__wbg_setstrokeStyle_7f507e0d838e3dcf = function(arg0, arg1) {\n getObject(arg0).strokeStyle = getObject(arg1);\n };\n imports.wbg.__wbg_setfillStyle_bbe97cb93eb1b55c = function(arg0, arg1) {\n getObject(arg0).fillStyle = getObject(arg1);\n };\n imports.wbg.__wbg_setfilter_df75805bea0a8415 = function(arg0, arg1, arg2) {\n getObject(arg0).filter = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_setlineWidth_61de9d1eb4e9f8a6 = function(arg0, arg1) {\n getObject(arg0).lineWidth = arg1;\n };\n imports.wbg.__wbg_setlineCap_bff1a8858c9f067e = function(arg0, arg1, arg2) {\n getObject(arg0).lineCap = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_setlineJoin_de47815c918d7874 = function(arg0, arg1, arg2) {\n getObject(arg0).lineJoin = getStringFromWasm0(arg1, arg2);\n };\n imports.wbg.__wbg_setmiterLimit_84b1a1dbddcd456a = function(arg0, arg1) {\n getObject(arg0).miterLimit = arg1;\n };\n imports.wbg.__wbg_drawImage_b8dec9034bf1d116 = handleError(function(arg0, arg1, arg2, arg3) {\n getObject(arg0).drawImage(getObject(arg1), arg2, arg3);\n });\n imports.wbg.__wbg_drawImage_801ad094f4734689 = handleError(function(arg0, arg1, arg2, arg3) {\n getObject(arg0).drawImage(getObject(arg1), arg2, arg3);\n });\n imports.wbg.__wbg_fill_6c721ab8eec90f70 = function(arg0, arg1) {\n getObject(arg0).fill(getObject(arg1));\n };\n imports.wbg.__wbg_stroke_e25cf47e0d9a36c3 = function(arg0, arg1) {\n getObject(arg0).stroke(getObject(arg1));\n };\n imports.wbg.__wbg_createPattern_006b6402db95df36 = handleError(function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).createPattern(getObject(arg1), getStringFromWasm0(arg2, arg3));\n return isLikeNone(ret) ? 0 : addHeapObject(ret);\n });\n imports.wbg.__wbg_getImageData_dd3caac873bf461f = handleError(function(arg0, arg1, arg2, arg3, arg4) {\n var ret = getObject(arg0).getImageData(arg1, arg2, arg3, arg4);\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_clearRect_6af85454d06df5fa = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).clearRect(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_fillRect_c79d1b386c04efed = function(arg0, arg1, arg2, arg3, arg4) {\n getObject(arg0).fillRect(arg1, arg2, arg3, arg4);\n };\n imports.wbg.__wbg_resetTransform_f78edb82fd1f7239 = handleError(function(arg0) {\n getObject(arg0).resetTransform();\n });\n imports.wbg.__wbg_setTransform_5f5f19301b76a8d6 = handleError(function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {\n getObject(arg0).setTransform(arg1, arg2, arg3, arg4, arg5, arg6);\n });\n imports.wbg.__wbg_get_5fa3f454aa041e6e = function(arg0, arg1) {\n var ret = getObject(arg0)[arg1 >>> 0];\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_next_373211328013f949 = handleError(function(arg0) {\n var ret = getObject(arg0).next();\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_done_49c598117f977077 = function(arg0) {\n var ret = getObject(arg0).done;\n return ret;\n };\n imports.wbg.__wbg_value_c9ae6368b110a068 = function(arg0) {\n var ret = getObject(arg0).value;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_get_85e0a3b459845fe2 = handleError(function(arg0, arg1) {\n var ret = Reflect.get(getObject(arg0), getObject(arg1));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_call_951bd0c6d815d6f1 = handleError(function(arg0, arg1) {\n var ret = getObject(arg0).call(getObject(arg1));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_new_9dff83a08f5994f3 = function() {\n var ret = new Array();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_isArray_cf56c8363b1b35d9 = function(arg0) {\n var ret = Array.isArray(getObject(arg0));\n return ret;\n };\n imports.wbg.__wbg_of_3a4bb382824dd437 = function(arg0, arg1) {\n var ret = Array.of(getObject(arg0), getObject(arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_push_3ddd8187ff2ff82d = function(arg0, arg1) {\n var ret = getObject(arg0).push(getObject(arg1));\n return ret;\n };\n imports.wbg.__wbg_instanceof_ArrayBuffer_3a0fa134e6809d57 = function(arg0) {\n var ret = getObject(arg0) instanceof ArrayBuffer;\n return ret;\n };\n imports.wbg.__wbg_new_24c0ca5f23ee2dd9 = function(arg0) {\n var ret = new ArrayBuffer(arg0 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_slice_a498e5bb17f253f3 = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).slice(arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_values_f28e313e2260a03a = function(arg0) {\n var ret = getObject(arg0).values();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_newnoargs_7c6bd521992b4022 = function(arg0, arg1) {\n var ret = new Function(getStringFromWasm0(arg0, arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_apply_4e68243803368d89 = handleError(function(arg0, arg1, arg2) {\n var ret = getObject(arg0).apply(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_call_bf745b1758bb6693 = handleError(function(arg0, arg1, arg2) {\n var ret = getObject(arg0).call(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_getTime_cf686ab22ab03a3e = function(arg0) {\n var ret = getObject(arg0).getTime();\n return ret;\n };\n imports.wbg.__wbg_getTimezoneOffset_b9f3c4664b1a35ae = function(arg0) {\n var ret = getObject(arg0).getTimezoneOffset();\n return ret;\n };\n imports.wbg.__wbg_new0_abd359df4aeb5b55 = function() {\n var ret = new Date();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_instanceof_Object_cdaa71ad2ca2f4c5 = function(arg0) {\n var ret = getObject(arg0) instanceof Object;\n return ret;\n };\n imports.wbg.__wbg_entries_7144a7309b22df64 = function(arg0) {\n var ret = Object.entries(getObject(arg0));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_fromEntries_cc1186a09f1ec7f2 = handleError(function(arg0) {\n var ret = Object.fromEntries(getObject(arg0));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_is_049b1aece40b5301 = function(arg0, arg1) {\n var ret = Object.is(getObject(arg0), getObject(arg1));\n return ret;\n };\n imports.wbg.__wbg_new_ba07d0daa0e4677e = function() {\n var ret = new Object();\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_resolve_6e61e640925a0db9 = function(arg0) {\n var ret = Promise.resolve(getObject(arg0));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_then_dd3785597974798a = function(arg0, arg1) {\n var ret = getObject(arg0).then(getObject(arg1));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_then_0f957e0f4c3e537a = function(arg0, arg1, arg2) {\n var ret = getObject(arg0).then(getObject(arg1), getObject(arg2));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_self_6baf3a3aa7b63415 = handleError(function() {\n var ret = self.self;\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_window_63fc4027b66c265b = handleError(function() {\n var ret = window.window;\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_globalThis_513fb247e8e4e6d2 = handleError(function() {\n var ret = globalThis.globalThis;\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_global_b87245cd886d7113 = handleError(function() {\n var ret = global.global;\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_buffer_3f12a1c608c6d04e = function(arg0) {\n var ret = getObject(arg0).buffer;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_newwithbyteoffsetandlength_4c51342f87299c5a = function(arg0, arg1, arg2) {\n var ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_length_c645e7c02233b440 = function(arg0) {\n var ret = getObject(arg0).length;\n return ret;\n };\n imports.wbg.__wbg_new_c6c0228e6d22a2f9 = function(arg0) {\n var ret = new Uint8Array(getObject(arg0));\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_set_b91afac9fd216d99 = function(arg0, arg1, arg2) {\n getObject(arg0).set(getObject(arg1), arg2 >>> 0);\n };\n imports.wbg.__wbg_fill_f49407f577541856 = function(arg0, arg1, arg2, arg3) {\n var ret = getObject(arg0).fill(arg1, arg2 >>> 0, arg3 >>> 0);\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_buffer_c385539cb4060297 = function(arg0) {\n var ret = getObject(arg0).buffer;\n return addHeapObject(ret);\n };\n imports.wbg.__wbg_byteLength_11e6bdc2fac53a3c = function(arg0) {\n var ret = getObject(arg0).byteLength;\n return ret;\n };\n imports.wbg.__wbg_byteOffset_5db4e07752c85395 = function(arg0) {\n var ret = getObject(arg0).byteOffset;\n return ret;\n };\n imports.wbg.__wbg_ownKeys_d44c25f33e28bfab = handleError(function(arg0) {\n var ret = Reflect.ownKeys(getObject(arg0));\n return addHeapObject(ret);\n });\n imports.wbg.__wbg_set_9bdd413385146137 = handleError(function(arg0, arg1, arg2) {\n var ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));\n return ret;\n });\n imports.wbg.__wbindgen_number_get = function(arg0, arg1) {\n const obj = getObject(arg1);\n var ret = typeof(obj) === 'number' ? obj : undefined;\n getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;\n getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);\n };\n imports.wbg.__wbindgen_string_get = function(arg0, arg1) {\n const obj = getObject(arg1);\n var ret = typeof(obj) === 'string' ? obj : undefined;\n var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbindgen_boolean_get = function(arg0) {\n const v = getObject(arg0);\n var ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;\n return ret;\n };\n imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {\n var ret = debugString(getObject(arg1));\n var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n getInt32Memory0()[arg0 / 4 + 1] = len0;\n getInt32Memory0()[arg0 / 4 + 0] = ptr0;\n };\n imports.wbg.__wbindgen_throw = function(arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n };\n imports.wbg.__wbindgen_rethrow = function(arg0) {\n throw takeObject(arg0);\n };\n imports.wbg.__wbindgen_memory = function() {\n var ret = wasm.memory;\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1219 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_32);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1221 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_35);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1223 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_38);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1225 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_41);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1227 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_44);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1229 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_47);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1231 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_50);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1233 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 509, __wbg_adapter_53);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_closure_wrapper1738 = function(arg0, arg1, arg2) {\n var ret = makeMutClosure(arg0, arg1, 829, __wbg_adapter_56);\n return addHeapObject(ret);\n };\n\n if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {\n input = fetch(input);\n }\n\n const { instance, module } = await load(await input, imports);\n\n wasm = instance.exports;\n init.__wbindgen_wasm_module = module;\n\n return wasm;\n}\n\nexport default init;\n\n","/* eslint @typescript-eslint/no-explicit-any: \"off\" */\n/* eslint @typescript-eslint/ban-types: \"off\" */\n/**\n * Polyfills the `Array.prototype.reduce` method.\n *\n * Production steps of ECMA-262, Edition 5, 15.4.4.21\n * Reference: https://es5.github.io/#x15.4.4.21\n * https://tc39.github.io/ecma262/#sec-array.prototype.reduce\n *\n */\nfunction polyfillArrayPrototypeReduce() {\n Object.defineProperty(Array.prototype, \"reduce\", {\n value: function (...args) {\n if (args.length === 0 &&\n window.Prototype &&\n window.Prototype.Version &&\n window.Prototype.Version < \"1.6.1\") {\n // Off-spec: compatibility with prototype.js\n return this.length > 1 ? this : this[0];\n }\n const callback = args[0];\n if (this === null) {\n throw new TypeError(\"Array.prototype.reduce called on null or undefined\");\n }\n if (typeof callback !== \"function\") {\n throw new TypeError(`${callback} is not a function`);\n }\n const o = Object(this);\n const len = o.length >>> 0;\n let k = 0;\n let value;\n if (args.length >= 2) {\n value = args[1];\n }\n else {\n while (k < len && !(k in o)) {\n k++;\n }\n if (k >= len) {\n throw new TypeError(\"Reduce of empty array with no initial value\");\n }\n value = o[k++];\n }\n while (k < len) {\n if (k in o) {\n value = callback(value, o[k], k, o);\n }\n k++;\n }\n return value;\n },\n });\n}\n/**\n * Polyfills the `Window` function.\n *\n */\nfunction polyfillWindow() {\n if (typeof window.constructor !== \"function\" ||\n !isNativeFunction(window.constructor)) {\n // Don't polyfill `Window` if `window.constructor` has been overridden.\n return;\n }\n // @ts-expect-error: `Function not assignable to { new (): Window; prototype: Window; }`\n window.Window = window.constructor;\n}\n/**\n * Polyfills the `Reflect` object and members.\n *\n * Currently it's a minimal implementation with only `get` and `set`\n * just enough for wasm-bindgen's stdlib to not crash on pages I've found.\n *\n */\nfunction tryPolyfillReflect() {\n if (window.Reflect == undefined) {\n // @ts-expect-error: {} indeed doesn't implement Reflect's interface.\n window.Reflect = {};\n }\n if (typeof Reflect.get !== \"function\") {\n Object.defineProperty(Reflect, \"get\", {\n value: function (target, key) {\n return target[key];\n },\n });\n }\n if (typeof Reflect.set !== \"function\") {\n Object.defineProperty(Reflect, \"set\", {\n value: function (target, key, value) {\n target[key] = value;\n },\n });\n }\n}\n/**\n * Determines whether a function is native or not.\n *\n * @param func The function to test.\n * @returns True if the function hasn't been overridden.\n */\nfunction isNativeFunction(func) {\n const val = typeof Function.prototype.toString === \"function\"\n ? Function.prototype.toString()\n : null;\n if (typeof val === \"string\" && val.indexOf(\"[native code]\") >= 0) {\n return (Function.prototype.toString.call(func).indexOf(\"[native code]\") >= 0);\n }\n return false;\n}\n/**\n * Checks and applies the polyfills to the current window, if needed.\n *\n */\nexport function setPolyfillsOnLoad() {\n if (typeof Array.prototype.reduce !== \"function\" ||\n !isNativeFunction(Array.prototype.reduce)) {\n // Some external libraries override the `Array.prototype.reduce` method in a way\n // that causes Webpack to crash (#1507, #1865), so we need to override it again.\n polyfillArrayPrototypeReduce();\n }\n if (typeof Window !== \"function\" || !isNativeFunction(Window)) {\n // Overriding the native `Window` function causes issues in wasm-bindgen, as a\n // code like `window instanceof Window` will no longer work.\n polyfillWindow();\n }\n // Some pages override native `Reflect` with a new object without some properties,\n // which causes issues for wasm-bindgen's stdlib implementation.\n tryPolyfillReflect();\n}\n","/* eslint @typescript-eslint/no-explicit-any: \"off\" */\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\n/**\n * Conditional ruffle loader\n */\nimport init, { Ruffle } from \"../pkg/ruffle_web\";\nimport { setPolyfillsOnLoad } from \"./js-polyfills\";\n/**\n * Load ruffle from an automatically-detected location.\n *\n * This function returns a new instance of Ruffle and downloads it every time.\n * You should not use it directly; this module will memoize the resource\n * download.\n *\n * @returns A ruffle constructor that may be used to create new Ruffle\n * instances.\n */\nfunction fetchRuffle() {\n return __awaiter(this, void 0, void 0, function* () {\n // Apply some pure JavaScript polyfills to prevent conflicts with external\n // libraries, if needed.\n setPolyfillsOnLoad();\n // wasm files are set to use file-loader,\n // so this package will resolve to the URL of the wasm file.\n const ruffleWasm = yield import(\n /* webpackMode: \"eager\" */\n \"../pkg/ruffle_web_bg.wasm\");\n yield init(ruffleWasm.default);\n return Ruffle;\n });\n}\nlet lastLoaded = null;\n/**\n * Obtain an instance of `Ruffle`.\n *\n * This function returns a promise which yields `Ruffle` asynchronously.\n *\n * @returns A ruffle constructor that may be used to create new Ruffle\n * instances.\n */\nexport function loadRuffle() {\n if (lastLoaded == null) {\n lastLoaded = fetchRuffle();\n }\n return lastLoaded;\n}\n","/**\n * Replacement object for `MimeTypeArray` that lets us install new fake mime\n * types.\n *\n * Unlike plugins we can at least enumerate mime types in Firefox, so we don't\n * lose data.\n *\n * We also expose a method called `install` which adds a new plugin. This is\n * used to falsify Flash detection. If the existing `navigator.mimeTypes` has an\n * `install` method, you should not use `RuffleMimeTypeArray` as some other\n * plugin emulator is already present.\n */\nclass RuffleMimeTypeArray {\n constructor(native_mimetype_array) {\n this.__mimetypes = [];\n this.__named_mimetypes = {};\n if (native_mimetype_array) {\n for (let i = 0; i < native_mimetype_array.length; i++) {\n this.install(native_mimetype_array[i]);\n }\n }\n }\n /**\n * Install a MIME Type into the array.\n *\n * @param mimetype The mimetype to install\n */\n install(mimetype) {\n const id = this.__mimetypes.length;\n this.__mimetypes.push(mimetype);\n this.__named_mimetypes[mimetype.type] = mimetype;\n this[mimetype.type] = mimetype;\n this[id] = mimetype;\n }\n item(index) {\n return this.__mimetypes[index];\n }\n namedItem(name) {\n return this.__named_mimetypes[name];\n }\n get length() {\n return this.__mimetypes.length;\n }\n [Symbol.iterator]() {\n return this.__mimetypes[Symbol.iterator]();\n }\n}\n/**\n * Equivalent object to `Plugin` that allows us to falsify plugins.\n */\nclass RufflePlugin extends RuffleMimeTypeArray {\n constructor(name, description, filename, mimetypes) {\n super(mimetypes);\n this.name = name;\n this.description = description;\n this.filename = filename;\n }\n install(mimetype) {\n super.install(mimetype);\n }\n [Symbol.iterator]() {\n return super[Symbol.iterator]();\n }\n}\n/**\n * Replacement object for `PluginArray` that lets us install new fake plugins.\n *\n * This object needs to wrap the native plugin array, since the user might have\n * actual plugins installed. Firefox doesn't let us enumerate the array, though,\n * which has some consequences. Namely, we can't actually perfectly wrap the\n * native plugin array, at least unless there's some secret \"unresolved object\n * property name handler\" that I've never known before in JS...\n *\n * We can still wrap `namedItem` perfectly at least.\n *\n * We also expose a method called `install` which adds a new plugin. This is\n * used to falsify Flash detection. If the existing `navigator.plugins` has an\n * `install` method, you should not use `RufflePluginArray` as some other plugin\n * emulator is already present.\n */\nclass RufflePluginArray {\n constructor(native_plugin_array) {\n this.__plugins = [];\n this.__named_plugins = {};\n for (let i = 0; i < native_plugin_array.length; i++) {\n this.install(native_plugin_array[i]);\n }\n }\n install(plugin) {\n const id = this.__plugins.length;\n this.__plugins.push(plugin);\n this.__named_plugins[plugin.name] = plugin;\n this[plugin.name] = plugin;\n this[id] = plugin;\n }\n item(index) {\n return this.__plugins[index];\n }\n namedItem(name) {\n return this.__named_plugins[name];\n }\n get length() {\n return this.__plugins.length;\n }\n}\n/**\n * A fake plugin designed to trigger Flash detection scripts.\n */\nexport const FLASH_PLUGIN = new RufflePlugin(\"Shockwave Flash\", \"Shockwave Flash 32.0 r0\", \"ruffle.js\", null);\nFLASH_PLUGIN.install({\n type: \"application/futuresplash\",\n description: \"Shockwave Flash\",\n suffixes: \"spl\",\n enabledPlugin: FLASH_PLUGIN,\n});\nFLASH_PLUGIN.install({\n type: \"application/x-shockwave-flash\",\n description: \"Shockwave Flash\",\n suffixes: \"swf\",\n enabledPlugin: FLASH_PLUGIN,\n});\nFLASH_PLUGIN.install({\n type: \"application/x-shockwave-flash2-preview\",\n description: \"Shockwave Flash\",\n suffixes: \"swf\",\n enabledPlugin: FLASH_PLUGIN,\n});\nFLASH_PLUGIN.install({\n type: \"application/vnd.adobe.flash-movie\",\n description: \"Shockwave Flash\",\n suffixes: \"swf\",\n enabledPlugin: FLASH_PLUGIN,\n});\n/**\n * Install a fake plugin such that detectors will see it in `navigator.plugins`.\n *\n * This function takes care to check if the existing implementation of\n * `navigator.plugins` already accepts fake plugin entries. If so, it will use\n * that version of the plugin array. This allows the plugin polyfill to compose\n * across multiple plugin emulators with the first emulator's polyfill winning.\n *\n * @param plugin The plugin to install\n */\nexport function installPlugin(plugin) {\n if (!(\"install\" in navigator.plugins) || !navigator.plugins[\"install\"]) {\n Object.defineProperty(navigator, \"plugins\", {\n value: new RufflePluginArray(navigator.plugins),\n writable: false,\n });\n }\n const plugins = navigator.plugins;\n plugins.install(plugin);\n if (plugin.length > 0 &&\n (!(\"install\" in navigator.mimeTypes) || !navigator.mimeTypes[\"install\"])) {\n Object.defineProperty(navigator, \"mimeTypes\", {\n value: new RuffleMimeTypeArray(navigator.mimeTypes),\n writable: false,\n });\n }\n const mimeTypes = navigator.mimeTypes;\n for (let i = 0; i < plugin.length; i += 1) {\n mimeTypes.install(plugin[i]);\n }\n}\n","/**\n * The shadow template which is used to fill the actual Ruffle player element\n * on the page.\n */\nexport const ruffleShadowTemplate = document.createElement(\"template\");\nruffleShadowTemplate.innerHTML = `\n \n \n\n
\n
\n
Click to unmute
\n
\n\n \n`;\n","/**\n * A mapping between internal element IDs and DOM element IDs.\n */\nconst privateRegistry = {};\n/**\n * Lookup a previously registered custom element.\n *\n * The returned object will have `name`, `class`, and `internal_name`\n * properties listing the external name, implementing class, and internal name\n * respectively.\n *\n * @param elementName The internal element name, previously used to\n * register the element with the private registry.\n *\n * @returns The element data in the registry, or null if there is\n * no such element name registered.\n */\nexport function lookupElement(elementName) {\n const data = privateRegistry[elementName];\n if (data !== undefined) {\n return {\n internalName: elementName,\n name: data.name,\n class: data.class,\n };\n }\n else {\n return null;\n }\n}\n/**\n * Register a custom element.\n *\n * This function is designed to be tolerant of naming conflicts. If\n * registration fails, we modify the name, and try again. As a result, this\n * function returns the real element name to use.\n *\n * Calling this function multiple times will *not* register multiple elements.\n * We store a private registry mapping internal element names to DOM names.\n * Thus, the proper way to use this function is to call it every time you are\n * about to work with custom element names.\n *\n * @param elementName The internal name of the element.\n * @param elementClass The class of the element.\n *\n * You must call this function with the same class every time.\n *\n * @returns The actual element name.\n * @throws Throws an error if two different elements were registered with the\n * same internal name.\n */\nexport function registerElement(elementName, elementClass) {\n if (privateRegistry[elementName] !== undefined) {\n if (privateRegistry[elementName].class !== elementClass) {\n throw new Error(\"Internal naming conflict on \" + elementName);\n }\n else {\n return privateRegistry[elementName].name;\n }\n }\n let tries = 0;\n while (true) {\n try {\n let externalName = elementName;\n if (tries > 0) {\n externalName = externalName + \"-\" + tries;\n }\n window.customElements.define(externalName, elementClass);\n privateRegistry[elementName] = {\n class: elementClass,\n name: externalName,\n internalName: elementName,\n };\n return externalName;\n }\n catch (e) {\n if (e.name === \"NotSupportedError\") {\n tries += 1;\n }\n }\n }\n}\n","export var AutoPlay;\n(function (AutoPlay) {\n /**\n * The player should automatically play the movie as soon as it is loaded.\n *\n * If the browser does not support automatic audio, the movie will begin\n * muted.\n */\n AutoPlay[\"On\"] = \"on\";\n /**\n * The player should not attempt to automatically play the movie.\n *\n * This will leave it to the user or API to actually play when appropriate.\n */\n AutoPlay[\"Off\"] = \"off\";\n /**\n * The player should automatically play the movie as soon as it is deemed\n * \"appropriate\" to do so.\n *\n * The exact behaviour depends on the browser, but commonly requires some\n * form of user interaction on the page in order to allow auto playing videos\n * with sound.\n */\n AutoPlay[\"Auto\"] = \"auto\";\n})(AutoPlay || (AutoPlay = {}));\n/**\n * Controls whether the content is letterboxed or pillarboxed when the\n * player's aspect ratio does not match the movie's aspect ratio.\n *\n * When letterboxed, black bars will be rendered around the exterior\n * margins of the content.\n */\nexport var Letterbox;\n(function (Letterbox) {\n /**\n * The content will never be letterboxed.\n */\n Letterbox[\"Off\"] = \"off\";\n /**\n * The content will only be letterboxed if the content is running fullscreen.\n */\n Letterbox[\"Fullscreen\"] = \"fullscreen\";\n /**\n * The content will always be letterboxed.\n */\n Letterbox[\"On\"] = \"on\";\n})(Letterbox || (Letterbox = {}));\n/**\n * When the player is muted, this controls whether or not Ruffle will show a\n * \"click to unmute\" overlay on top of the movie.\n */\nexport var UnmuteOverlay;\n(function (UnmuteOverlay) {\n /**\n * Show an overlay explaining that the movie is muted.\n */\n UnmuteOverlay[\"Visible\"] = \"visible\";\n /**\n * Don't show an overlay and pretend that everything is fine.\n */\n UnmuteOverlay[\"Hidden\"] = \"hidden\";\n})(UnmuteOverlay || (UnmuteOverlay = {}));\n/**\n * Console logging level.\n */\nexport var LogLevel;\n(function (LogLevel) {\n LogLevel[\"Error\"] = \"error\";\n LogLevel[\"Warn\"] = \"warn\";\n LogLevel[\"Info\"] = \"info\";\n LogLevel[\"Debug\"] = \"debug\";\n LogLevel[\"Trace\"] = \"trace\";\n})(LogLevel || (LogLevel = {}));\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nimport { loadRuffle } from \"./load-ruffle\";\nimport { ruffleShadowTemplate } from \"./shadow-template\";\nimport { lookupElement } from \"./register-element\";\nimport { AutoPlay, UnmuteOverlay, } from \"./load-options\";\nexport const FLASH_MIMETYPE = \"application/x-shockwave-flash\";\nexport const FUTURESPLASH_MIMETYPE = \"application/futuresplash\";\nexport const FLASH7_AND_8_MIMETYPE = \"application/x-shockwave-flash2-preview\";\nexport const FLASH_MOVIE_MIMETYPE = \"application/vnd.adobe.flash-movie\";\nexport const FLASH_ACTIVEX_CLASSID = \"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\";\nconst RUFFLE_ORIGIN = \"https://ruffle.rs\";\nconst DIMENSION_REGEX = /^\\s*(\\d+(\\.\\d+)?(%)?)/;\nvar PanicError;\n(function (PanicError) {\n PanicError[PanicError[\"Unknown\"] = 0] = \"Unknown\";\n PanicError[PanicError[\"FileProtocol\"] = 1] = \"FileProtocol\";\n PanicError[PanicError[\"JavascriptConfiguration\"] = 2] = \"JavascriptConfiguration\";\n PanicError[PanicError[\"JavascriptConflict\"] = 3] = \"JavascriptConflict\";\n PanicError[PanicError[\"WasmCors\"] = 4] = \"WasmCors\";\n PanicError[PanicError[\"WasmMimeType\"] = 5] = \"WasmMimeType\";\n PanicError[PanicError[\"WasmNotFound\"] = 6] = \"WasmNotFound\";\n})(PanicError || (PanicError = {}));\n/**\n * Converts arbitrary input to an easy to use record object.\n *\n * @param parameters Parameters to sanitize\n * @returns A sanitized map of param name to param value\n */\nfunction sanitizeParameters(parameters) {\n if (parameters === null || parameters === undefined) {\n return {};\n }\n if (!(parameters instanceof URLSearchParams)) {\n parameters = new URLSearchParams(parameters);\n }\n const output = {};\n for (const [key, value] of parameters) {\n // Every value must be type of string\n output[key] = value.toString();\n }\n return output;\n}\n/**\n * The ruffle player element that should be inserted onto the page.\n *\n * This element will represent the rendered and intractable flash movie.\n */\nexport class RufflePlayer extends HTMLElement {\n /**\n * Constructs a new Ruffle flash player for insertion onto the page.\n */\n constructor() {\n super();\n this.hasContextMenu = false;\n this.panicked = false;\n /**\n * Any configuration that should apply to this specific player.\n * This will be defaulted with any global configuration.\n */\n this.config = {};\n this.shadow = this.attachShadow({ mode: \"open\" });\n this.shadow.appendChild(ruffleShadowTemplate.content.cloneNode(true));\n this.dynamicStyles = (this.shadow.getElementById(\"dynamic_styles\"));\n this.container = this.shadow.getElementById(\"container\");\n this.playButton = this.shadow.getElementById(\"play_button\");\n if (this.playButton) {\n this.playButton.addEventListener(\"click\", this.playButtonClicked.bind(this));\n }\n this.unmuteOverlay = this.shadow.getElementById(\"unmute_overlay\");\n this.unmuteOverlay.addEventListener(\"click\", this.unmuteOverlayClicked.bind(this));\n this.contextMenuElement = this.shadow.getElementById(\"context-menu\");\n this.addEventListener(\"contextmenu\", this.showContextMenu.bind(this));\n window.addEventListener(\"click\", this.hideContextMenu.bind(this));\n this.instance = null;\n this.options = null;\n this.onFSCommand = null;\n this._trace_observer = null;\n this.ruffleConstructor = loadRuffle();\n this.lastActivePlayingState = false;\n this.setupPauseOnTabHidden();\n return this;\n }\n /**\n * Setup event listener to detect when tab is not active to pause instance playback.\n * this.instance.play() is called when the tab becomes visible only if the\n * the instance was not paused before tab became hidden.\n *\n * See:\n * https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API\n * @ignore\n * @internal\n */\n setupPauseOnTabHidden() {\n document.addEventListener(\"visibilitychange\", () => {\n if (!this.instance)\n return;\n // Tab just changed to be inactive. Record whether instance was playing.\n if (document.hidden) {\n this.lastActivePlayingState = this.instance.is_playing();\n this.instance.pause();\n }\n // Play only if instance was playing originally.\n if (!document.hidden && this.lastActivePlayingState === true) {\n this.instance.play();\n }\n }, false);\n }\n /**\n * @ignore\n * @internal\n */\n connectedCallback() {\n this.updateStyles();\n }\n /**\n * @ignore\n * @internal\n */\n static get observedAttributes() {\n return [\"width\", \"height\"];\n }\n /**\n * @ignore\n * @internal\n */\n attributeChangedCallback(name, _oldValue, _newValue) {\n if (name === \"width\" || name === \"height\") {\n this.updateStyles();\n }\n }\n /**\n * @ignore\n * @internal\n */\n disconnectedCallback() {\n if (this.instance) {\n this.instance.destroy();\n this.instance = null;\n console.log(\"Ruffle instance destroyed.\");\n }\n }\n /**\n * Updates the internal shadow DOM to reflect any set attributes from\n * this element.\n *\n * @protected\n */\n updateStyles() {\n if (this.dynamicStyles.sheet) {\n if (this.dynamicStyles.sheet.rules) {\n for (let i = 0; i < this.dynamicStyles.sheet.rules.length; i++) {\n this.dynamicStyles.sheet.deleteRule(i);\n }\n }\n const widthAttr = this.attributes.getNamedItem(\"width\");\n if (widthAttr !== undefined && widthAttr !== null) {\n const width = RufflePlayer.htmlDimensionToCssDimension(widthAttr.value);\n if (width !== null) {\n this.dynamicStyles.sheet.insertRule(`:host { width: ${width}; }`);\n }\n }\n const heightAttr = this.attributes.getNamedItem(\"height\");\n if (heightAttr !== undefined && heightAttr !== null) {\n const height = RufflePlayer.htmlDimensionToCssDimension(heightAttr.value);\n if (height !== null) {\n this.dynamicStyles.sheet.insertRule(`:host { height: ${height}; }`);\n }\n }\n }\n }\n /**\n * Determine if this element is the fallback content of another Ruffle\n * player.\n *\n * This heuristic assumes Ruffle objects will never use their fallback\n * content. If this changes, then this code also needs to change.\n *\n * @private\n */\n isUnusedFallbackObject() {\n let parent = this.parentNode;\n const element = lookupElement(\"ruffle-object\");\n if (element !== null) {\n while (parent != document && parent != null) {\n if (parent.nodeName === element.name) {\n return true;\n }\n parent = parent.parentNode;\n }\n }\n return false;\n }\n /**\n * Ensure a fresh Ruffle instance is ready on this player before continuing.\n *\n * @throws Any exceptions generated by loading Ruffle Core will be logged\n * and passed on.\n *\n * @private\n */\n ensureFreshInstance(config) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n if (this.instance) {\n this.instance.destroy();\n this.instance = null;\n console.log(\"Ruffle instance destroyed.\");\n }\n const ruffleConstructor = yield this.ruffleConstructor.catch((e) => {\n console.error(`Serious error loading Ruffle: ${e}`);\n // Serious duck typing. In error conditions, let's not make assumptions.\n if (window.location.protocol === \"file:\") {\n e.ruffleIndexError = PanicError.FileProtocol;\n }\n else {\n e.ruffleIndexError = PanicError.WasmNotFound;\n const message = String(e.message).toLowerCase();\n if (message.includes(\"mime\")) {\n e.ruffleIndexError = PanicError.WasmMimeType;\n }\n else if (message.includes(\"networkerror\") ||\n message.includes(\"failed to fetch\")) {\n e.ruffleIndexError = PanicError.WasmCors;\n }\n else if (!message.includes(\"magic\") &&\n (e.name === \"CompileError\" || e.name === \"TypeError\")) {\n e.ruffleIndexError = PanicError.JavascriptConflict;\n }\n }\n this.panic(e);\n throw e;\n });\n this.instance = new ruffleConstructor(this.container, this, config);\n console.log(\"New Ruffle instance created.\");\n // In Firefox, AudioContext.state is always \"suspended\" when the object has just been created.\n // It may change by itself to \"running\" some milliseconds later. So we need to wait a little\n // bit before checking if autoplay is supported and applying the instance config.\n if (this.audioState() !== \"running\") {\n this.container.style.visibility = \"hidden\";\n yield new Promise((resolve) => {\n window.setTimeout(() => {\n resolve();\n }, 200);\n });\n this.container.style.visibility = \"\";\n }\n const autoplay = Object.values(Object(AutoPlay)).includes(config.autoplay)\n ? config.autoplay\n : AutoPlay.Auto;\n const unmuteVisibility = Object.values(Object(UnmuteOverlay)).includes(config.unmuteOverlay)\n ? config.unmuteOverlay\n : UnmuteOverlay.Visible;\n if (autoplay == AutoPlay.On ||\n (autoplay == AutoPlay.Auto && this.audioState() === \"running\")) {\n this.play();\n if (this.audioState() !== \"running\") {\n this.unmuteOverlay.style.display = \"block\";\n // We need to mark each child as hidden or visible, as we want an overlay even if it's \"hidden\".\n // We need to undo this later if the config changed back to visible, but we already hid them.\n this.unmuteOverlay.childNodes.forEach((node) => {\n if (\"style\" in node) {\n const style = node.style;\n style.visibility =\n unmuteVisibility == UnmuteOverlay.Visible\n ? \"\"\n : \"hidden\";\n }\n });\n const audioContext = (_a = this.instance) === null || _a === void 0 ? void 0 : _a.audio_context();\n if (audioContext) {\n audioContext.onstatechange = () => {\n if (audioContext.state === \"running\") {\n this.unmuteOverlayClicked();\n }\n audioContext.onstatechange = null;\n };\n }\n }\n }\n else {\n this.playButton.style.display = \"block\";\n }\n });\n }\n /**\n * Loads a specified movie into this player.\n *\n * This will replace any existing movie that may be playing.\n *\n * @param options One of the following:\n * - A URL, passed as a string, which will load a URL with default options.\n * - A [[URLLoadOptions]] object, to load a URL with options.\n * - A [[DataLoadOptions]] object, to load data with options.\n *\n * The options will be defaulted by the [[config]] field, which itself\n * is defaulted by a global `window.RufflePlayer.config`.\n */\n load(options) {\n var _a, _b;\n return __awaiter(this, void 0, void 0, function* () {\n let optionsError = \"\";\n switch (typeof options) {\n case \"string\":\n options = { url: options };\n break;\n case \"object\":\n if (options === null) {\n optionsError = \"Argument 0 must be a string or object\";\n }\n else if (!(\"url\" in options) && !(\"data\" in options)) {\n optionsError =\n \"Argument 0 must contain a `url` or `data` key\";\n }\n else if (\"url\" in options &&\n typeof options.url !== \"string\") {\n optionsError = \"`url` must be a string\";\n }\n break;\n default:\n optionsError = \"Argument 0 must be a string or object\";\n break;\n }\n if (optionsError.length > 0) {\n const error = new TypeError(optionsError);\n error.ruffleIndexError = PanicError.JavascriptConfiguration;\n this.panic(error);\n throw error;\n }\n if (!this.isConnected || this.isUnusedFallbackObject()) {\n console.warn(\"Ignoring attempt to play a disconnected or suspended Ruffle element\");\n return;\n }\n try {\n const config = Object.assign(Object.assign(Object.assign({}, ((_b = (_a = window.RufflePlayer) === null || _a === void 0 ? void 0 : _a.config) !== null && _b !== void 0 ? _b : {})), this.config), options);\n // `allowScriptAccess` can only be set in `options`.\n config.allowScriptAccess = options.allowScriptAccess;\n this.options = options;\n this.hasContextMenu = config.contextMenu !== false;\n // Pre-emptively set background color of container while Ruffle/SWF loads.\n if (config.backgroundColor) {\n this.container.style.backgroundColor = config.backgroundColor;\n }\n yield this.ensureFreshInstance(config);\n if (\"url\" in options) {\n console.log(`Loading SWF file ${options.url}`);\n try {\n this.swfUrl = new URL(options.url, document.location.href).href;\n }\n catch (_c) {\n this.swfUrl = options.url;\n }\n const parameters = Object.assign(Object.assign({}, sanitizeParameters(options.url.substring(options.url.indexOf(\"?\")))), sanitizeParameters(options.parameters));\n this.instance.stream_from(options.url, parameters);\n }\n else if (\"data\" in options) {\n console.log(\"Loading SWF data\");\n this.instance.load_data(new Uint8Array(options.data), sanitizeParameters(options.parameters));\n }\n }\n catch (err) {\n console.error(`Serious error occurred loading SWF file: ${err}`);\n throw err;\n }\n });\n }\n playButtonClicked() {\n this.play();\n }\n /**\n * Plays or resumes the movie.\n */\n play() {\n if (this.instance) {\n this.instance.play();\n if (this.playButton) {\n this.playButton.style.display = \"none\";\n }\n }\n }\n /**\n * Checks if this player is allowed to be fullscreen by the browser.\n *\n * @returns True if you may call [[enterFullscreen]].\n */\n get fullscreenEnabled() {\n return !!(document.fullscreenEnabled || document.webkitFullscreenEnabled);\n }\n /**\n * Checks if this player is currently fullscreen inside the browser.\n *\n * @returns True if it is fullscreen.\n */\n get isFullscreen() {\n return ((document.fullscreenElement || document.webkitFullscreenElement) ===\n this);\n }\n /**\n * Requests the browser to make this player fullscreen.\n *\n * This is not guaranteed to succeed, please check [[fullscreenEnabled]] first.\n */\n enterFullscreen() {\n const options = {\n navigationUI: \"hide\",\n };\n if (this.requestFullscreen) {\n this.requestFullscreen(options);\n }\n else if (this.webkitRequestFullscreen) {\n this.webkitRequestFullscreen(options);\n }\n else if (this.webkitRequestFullScreen) {\n this.webkitRequestFullScreen(options);\n }\n }\n /**\n * Requests the browser to no longer make this player fullscreen.\n */\n exitFullscreen() {\n if (document.exitFullscreen) {\n document.exitFullscreen();\n }\n else if (document.webkitExitFullscreen) {\n document.webkitExitFullscreen();\n }\n else if (document.webkitCancelFullScreen) {\n document.webkitCancelFullScreen();\n }\n }\n contextMenuItems() {\n const items = [];\n if (this.fullscreenEnabled) {\n if (this.isFullscreen) {\n items.push({\n text: \"Exit fullscreen\",\n onClick: this.exitFullscreen.bind(this),\n });\n }\n else {\n items.push({\n text: \"Enter fullscreen\",\n onClick: this.enterFullscreen.bind(this),\n });\n }\n }\n items.push({\n text: `About Ruffle (nightly 2021-04-09)`,\n onClick() {\n window.open(RUFFLE_ORIGIN, \"_blank\");\n },\n separator: false,\n });\n return items;\n }\n showContextMenu(e) {\n e.preventDefault();\n if (!this.hasContextMenu) {\n return;\n }\n // Clear all context menu items.\n while (this.contextMenuElement.firstChild) {\n this.contextMenuElement.removeChild(this.contextMenuElement.firstChild);\n }\n // Populate context menu items.\n for (const { text, onClick, separator } of this.contextMenuItems()) {\n const menuItem = document.createElement(\"li\");\n menuItem.className = \"menu_item active\";\n menuItem.textContent = text;\n menuItem.addEventListener(\"click\", onClick);\n this.contextMenuElement.appendChild(menuItem);\n if (separator !== false) {\n const menuSeparator = document.createElement(\"li\");\n menuSeparator.className = \"menu_separator\";\n const hr = document.createElement(\"hr\");\n menuSeparator.appendChild(hr);\n this.contextMenuElement.appendChild(menuSeparator);\n }\n }\n // Place a context menu in the top-left corner, so\n // its `clientWidth` and `clientHeight` are not clamped.\n this.contextMenuElement.style.left = \"0\";\n this.contextMenuElement.style.top = \"0\";\n this.contextMenuElement.style.display = \"block\";\n const rect = this.getBoundingClientRect();\n const x = e.clientX - rect.x;\n const y = e.clientY - rect.y;\n const maxX = rect.width - this.contextMenuElement.clientWidth - 1;\n const maxY = rect.height - this.contextMenuElement.clientHeight - 1;\n this.contextMenuElement.style.left =\n Math.floor(Math.min(x, maxX)) + \"px\";\n this.contextMenuElement.style.top =\n Math.floor(Math.min(y, maxY)) + \"px\";\n }\n hideContextMenu() {\n this.contextMenuElement.style.display = \"none\";\n }\n /**\n * Pauses this player.\n *\n * No more frames, scripts or sounds will be executed.\n * This movie will be considered inactive and will not wake up until resumed.\n */\n pause() {\n if (this.instance) {\n this.instance.pause();\n if (this.playButton) {\n this.playButton.style.display = \"block\";\n }\n }\n }\n audioState() {\n if (this.instance) {\n const audioContext = this.instance.audio_context();\n return (audioContext && audioContext.state) || \"running\";\n }\n return \"suspended\";\n }\n unmuteOverlayClicked() {\n if (this.instance) {\n if (this.audioState() !== \"running\") {\n const audioContext = this.instance.audio_context();\n if (audioContext) {\n audioContext.resume();\n }\n }\n if (this.unmuteOverlay) {\n this.unmuteOverlay.style.display = \"none\";\n }\n }\n }\n /**\n * Copies attributes and children from another element to this player element.\n * Used by the polyfill elements, RuffleObject and RuffleEmbed.\n *\n * @param elem The element to copy all attributes from.\n *\n * @protected\n */\n copyElement(elem) {\n if (elem) {\n for (let i = 0; i < elem.attributes.length; i++) {\n const attrib = elem.attributes[i];\n if (attrib.specified) {\n // Issue 468: Chrome \"Click to Active Flash\" box stomps on title attribute\n if (attrib.name === \"title\" &&\n attrib.value === \"Adobe Flash Player\") {\n continue;\n }\n try {\n this.setAttribute(attrib.name, attrib.value);\n }\n catch (err) {\n // The embed may have invalid attributes, so handle these gracefully.\n console.warn(`Unable to set attribute ${attrib.name} on Ruffle instance`);\n }\n }\n }\n for (const node of Array.from(elem.children)) {\n this.appendChild(node);\n }\n }\n }\n /**\n * Converts a dimension attribute on an HTML embed/object element to a valid CSS dimension.\n * HTML element dimensions are unitless, but can also be percentages.\n * Add a 'px' unit unless the value is a percentage.\n * Returns null if this is not a valid dimension.\n *\n * @param attribute The attribute to convert\n *\n * @private\n */\n static htmlDimensionToCssDimension(attribute) {\n if (attribute) {\n const match = attribute.match(DIMENSION_REGEX);\n if (match) {\n let out = match[1];\n if (!match[3]) {\n // Unitless -- add px for CSS.\n out += \"px\";\n }\n return out;\n }\n }\n return null;\n }\n /**\n * When a movie presents a new callback through `ExternalInterface.addCallback`,\n * we are informed so that we can expose the method on any relevant DOM element.\n *\n * This should only be called by Ruffle itself and not by users.\n *\n * @param name The name of the callback that is now available.\n *\n * @internal\n * @ignore\n */\n onCallbackAvailable(name) {\n const instance = this.instance;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this[name] = (...args) => {\n return instance === null || instance === void 0 ? void 0 : instance.call_exposed_callback(name, args);\n };\n }\n /**\n * Sets a trace observer on this flash player.\n *\n * The observer will be called, as a function, for each message that the playing movie will \"trace\" (output).\n *\n * @param observer The observer that will be called for each trace.\n */\n set traceObserver(observer) {\n var _a;\n (_a = this.instance) === null || _a === void 0 ? void 0 : _a.set_trace_observer(observer);\n }\n /**\n * Panics this specific player, forcefully destroying all resources and displays an error message to the user.\n *\n * This should be called when something went absolutely, incredibly and disastrously wrong and there is no chance\n * of recovery.\n *\n * Ruffle will attempt to isolate all damage to this specific player instance, but no guarantees can be made if there\n * was a core issue which triggered the panic. If Ruffle is unable to isolate the cause to a specific player, then\n * all players will panic and Ruffle will become \"poisoned\" - no more players will run on this page until it is\n * reloaded fresh.\n *\n * @param error The error, if any, that triggered this panic.\n */\n panic(error) {\n var _a;\n if (this.panicked) {\n // Only show the first major error, not any repeats - they aren't as important\n return;\n }\n this.panicked = true;\n if (error instanceof Error &&\n (error.name === \"AbortError\" ||\n error.message.includes(\"AbortError\"))) {\n // Firefox: Don't display the panic screen if the user leaves the page while something is still loading\n return;\n }\n const errorIndex = (_a = error === null || error === void 0 ? void 0 : error.ruffleIndexError) !== null && _a !== void 0 ? _a : PanicError.Unknown;\n const errorArray = Object.assign([], {\n stackIndex: -1,\n });\n errorArray.push(\"# Error Info\\n\");\n if (error instanceof Error) {\n errorArray.push(`Error name: ${error.name}\\n`);\n errorArray.push(`Error message: ${error.message}\\n`);\n if (error.stack) {\n const stackIndex = errorArray.push(`Error stack:\\n\\`\\`\\`\\n${error.stack}\\n\\`\\`\\`\\n`) - 1;\n errorArray.stackIndex = stackIndex;\n }\n }\n else {\n errorArray.push(`Error: ${error}\\n`);\n }\n errorArray.push(\"\\n# Player Info\\n\");\n errorArray.push(this.debugPlayerInfo());\n errorArray.push(\"\\n# Page Info\\n\");\n errorArray.push(`Page URL: ${document.location.href}\\n`);\n if (this.swfUrl)\n errorArray.push(`SWF URL: ${this.swfUrl}\\n`);\n errorArray.push(\"\\n# Browser Info\\n\");\n errorArray.push(`Useragent: ${window.navigator.userAgent}\\n`);\n errorArray.push(`OS: ${window.navigator.platform}\\n`);\n errorArray.push(\"\\n# Ruffle Info\\n\");\n errorArray.push(`Version: 0.1.0\\n`);\n errorArray.push(`Name: nightly 2021-04-09\\n`);\n errorArray.push(`Channel: nightly\\n`);\n errorArray.push(`Built: 2021-04-09T00:39:28.452Z\\n`);\n errorArray.push(`Commit: ed6fe86e31d6dbef47aebdef71a95ddfb1ca6172\\n`);\n const errorText = errorArray.join(\"\");\n // Remove query params for the issue title.\n const pageUrl = document.location.href.split(/[?#]/)[0];\n const issueTitle = `Error on ${pageUrl}`;\n let issueLink = `https://github.com/ruffle-rs/ruffle/issues/new?title=${encodeURIComponent(issueTitle)}&body=`;\n let issueBody = encodeURIComponent(errorText);\n if (errorArray.stackIndex > -1 &&\n String(issueLink + issueBody).length > 8195) {\n // Strip the stack error from the array when the produced URL is way too long.\n // This should prevent \"414 Request-URI Too Large\" errors on Github.\n errorArray[errorArray.stackIndex] = null;\n issueBody = encodeURIComponent(errorArray.join(\"\"));\n }\n issueLink += issueBody;\n // Clears out any existing content (ie play button or canvas) and replaces it with the error screen\n let errorBody, errorFooter;\n switch (errorIndex) {\n case PanicError.FileProtocol:\n // General error: Running on the `file:` protocol\n errorBody = `\n

It appears you are running Ruffle on the \"file:\" protocol.

\n

This doesn't work as browsers block many features from working for security reasons.

\n

Instead, we invite you to setup a local server or either use the web demo or the desktop application.

\n `;\n errorFooter = `\n
  • Web Demo
  • \n
  • Desktop Application
  • \n `;\n break;\n case PanicError.JavascriptConfiguration:\n // General error: Incorrect JavaScript configuration\n errorBody = `\n

    Ruffle has encountered a major issue due to an incorrect JavaScript configuration.

    \n

    If you are the server administrator, we invite you to check the error details to find out which parameter is at fault.

    \n

    You can also consult the Ruffle wiki for help.

    \n `;\n errorFooter = `\n
  • View Ruffle Wiki
  • \n
  • View Error Details
  • \n `;\n break;\n case PanicError.WasmNotFound:\n // Self hosted: Cannot load `.wasm` file - file not found\n errorBody = `\n

    Ruffle failed to load the required \".wasm\" file component.

    \n

    If you are the server administrator, please ensure the file has correctly been uploaded.

    \n

    If the issue persists, you may need to use the \"publicPath\" setting: please consult the Ruffle wiki for help.

    \n `;\n errorFooter = `\n
  • View Ruffle Wiki
  • \n
  • View Error Details
  • \n `;\n break;\n case PanicError.WasmMimeType:\n // Self hosted: Cannot load `.wasm` file - incorrect MIME type\n errorBody = `\n

    Ruffle has encountered a major issue whilst trying to initialize.

    \n

    This web server is not serving \".wasm\" files with the correct MIME type.

    \n

    If you are the server administrator, please consult the Ruffle wiki for help.

    \n `;\n errorFooter = `\n
  • View Ruffle Wiki
  • \n
  • View Error Details
  • \n `;\n break;\n case PanicError.WasmCors:\n // Self hosted: Cannot load `.wasm` file - CORS issues\n errorBody = `\n

    Ruffle failed to load the required \".wasm\" file component.

    \n

    Access to fetch has likely been blocked by CORS policy.

    \n

    If you are the server administrator, please consult the Ruffle wiki for help.

    \n `;\n errorFooter = `\n
  • View Ruffle Wiki
  • \n
  • View Error Details
  • \n `;\n break;\n case PanicError.JavascriptConflict:\n // Self hosted: Cannot load `.wasm` file - a native object / function is overriden\n errorBody = `\n

    Ruffle has encountered a major issue whilst trying to initialize.

    \n

    It seems like this page uses JavaScript code that conflicts with Ruffle.

    \n

    If you are the server administrator, we invite you to try loading the file on a blank page.

    \n `;\n errorFooter = `\n
  • Report Bug
  • \n
  • View Error Details
  • \n `;\n break;\n default:\n // Unknown error\n errorBody = `\n

    Ruffle has encountered a major issue whilst trying to display this Flash content.

    \n

    This isn't supposed to happen, so we'd really appreciate if you could file a bug!

    \n `;\n errorFooter = `\n
  • Report Bug
  • \n
  • View Error Details
  • \n `;\n break;\n }\n this.container.innerHTML = `\n
    \n
    Something went wrong :(
    \n
    ${errorBody}
    \n
    \n \n
    \n
    \n `;\n const viewDetails = (this.container.querySelector(\"#panic-view-details\"));\n if (viewDetails) {\n viewDetails.onclick = () => {\n const panicBody = (this.container.querySelector(\"#panic-body\"));\n panicBody.classList.add(\"details\");\n panicBody.innerHTML = ``;\n return false;\n };\n }\n // Do this last, just in case it causes any cascading issues.\n if (this.instance) {\n this.instance.destroy();\n this.instance = null;\n }\n }\n displayUnsupportedMessage() {\n const div = document.createElement(\"div\");\n div.id = \"message_overlay\";\n // TODO: Change link to https://ruffle.rs/faq or similar\n // TODO: Pause content until message is dismissed\n div.innerHTML = `
    \n

    Flash Player has been removed from browsers in 2021.

    \n

    This content is not yet supported by the Ruffle emulator and will likely not run as intended.

    \n
    \n More info\n \n
    \n
    `;\n this.container.prepend(div);\n const button = div.querySelector(\"#run-anyway-btn\");\n button.onclick = () => {\n div.parentNode.removeChild(div);\n };\n }\n displayMessage(message) {\n // Show a dismissible message in front of the player\n const div = document.createElement(\"div\");\n div.id = \"message_overlay\";\n div.innerHTML = `
    \n

    ${message}

    \n
    \n \n
    \n
    `;\n this.container.prepend(div);\n (this.container.querySelector(\"#continue-btn\")).onclick = () => {\n div.parentNode.removeChild(div);\n };\n }\n debugPlayerInfo() {\n var _a, _b;\n return `Allows script access: ${(_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.allowScriptAccess) !== null && _b !== void 0 ? _b : false}\\n`;\n }\n}\n/**\n * Returns whether a SWF file can call JavaScript code in the surrounding HTML file.\n *\n * @param access The value of the `allowScriptAccess` attribute.\n * @param url The URL of the SWF file.\n * @returns True if script access is allowed.\n */\nexport function isScriptAccessAllowed(access, url) {\n if (!access) {\n access = \"sameDomain\";\n }\n switch (access.toLowerCase()) {\n case \"always\":\n return true;\n case \"never\":\n return false;\n case \"samedomain\":\n default:\n try {\n return (new URL(window.location.href).origin ===\n new URL(url, window.location.href).origin);\n }\n catch (_a) {\n return false;\n }\n }\n}\n/**\n * Returns whether the given filename ends in a known flash extension.\n *\n * @param filename The filename to test.\n * @returns True if the filename is a flash movie (swf or spl).\n */\nexport function isSwfFilename(filename) {\n if (filename) {\n let pathname = \"\";\n try {\n // A base URL is required if `filename` is a relative URL, but we don't need to detect the real URL origin.\n pathname = new URL(filename, RUFFLE_ORIGIN).pathname;\n }\n catch (err) {\n // Some invalid filenames, like `///`, could raise a TypeError. Let's fail silently in this situation.\n }\n if (pathname && pathname.length >= 4) {\n const extension = pathname.slice(-4).toLowerCase();\n if (extension === \".swf\" || extension === \".spl\") {\n return true;\n }\n }\n }\n return false;\n}\n","import { FLASH_MIMETYPE, FUTURESPLASH_MIMETYPE, FLASH7_AND_8_MIMETYPE, FLASH_MOVIE_MIMETYPE, isScriptAccessAllowed, isSwfFilename, RufflePlayer, } from \"./ruffle-player\";\nimport { registerElement } from \"./register-element\";\n/**\n * A polyfill html element.\n *\n * This specific class tries to polyfill existing `` tags,\n * and should not be used. Prefer [[RufflePlayer]] instead.\n *\n * @internal\n */\nexport class RuffleEmbed extends RufflePlayer {\n /**\n * Constructs a new Ruffle flash player for insertion onto the page.\n *\n * This specific class tries to polyfill existing `` tags,\n * and should not be used. Prefer [[RufflePlayer]] instead.\n */\n constructor() {\n super();\n }\n /**\n * @ignore\n * @internal\n */\n connectedCallback() {\n var _a, _b, _c, _d;\n super.connectedCallback();\n const src = this.attributes.getNamedItem(\"src\");\n if (src) {\n const allowScriptAccess = (_b = (_a = this.attributes.getNamedItem(\"allowScriptAccess\")) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : null;\n // Kick off the SWF download.\n this.load({\n url: src.value,\n allowScriptAccess: isScriptAccessAllowed(allowScriptAccess, src.value),\n parameters: (_c = this.attributes.getNamedItem(\"flashvars\")) === null || _c === void 0 ? void 0 : _c.value,\n backgroundColor: (_d = this.attributes.getNamedItem(\"bgcolor\")) === null || _d === void 0 ? void 0 : _d.value,\n });\n }\n }\n /**\n * Polyfill of HTMLObjectElement.\n *\n * @ignore\n * @internal\n */\n get src() {\n var _a;\n return (_a = this.attributes.getNamedItem(\"src\")) === null || _a === void 0 ? void 0 : _a.value;\n }\n /**\n * Polyfill of HTMLObjectElement.\n *\n * @ignore\n * @internal\n */\n set src(srcval) {\n if (srcval != undefined) {\n const attr = document.createAttribute(\"src\");\n attr.value = srcval;\n this.attributes.setNamedItem(attr);\n }\n else {\n this.attributes.removeNamedItem(\"src\");\n }\n }\n /**\n * @ignore\n * @internal\n */\n static get observedAttributes() {\n return [\"src\", \"width\", \"height\"];\n }\n /**\n * @ignore\n * @internal\n */\n attributeChangedCallback(name, oldValue, newValue) {\n super.attributeChangedCallback(name, oldValue, newValue);\n if (this.isConnected && name === \"src\") {\n let parameters;\n const flashvars = this.attributes.getNamedItem(\"flashvars\");\n if (flashvars) {\n parameters = flashvars.value;\n }\n const src = this.attributes.getNamedItem(\"src\");\n if (src) {\n this.load({ url: src.value, parameters });\n }\n }\n }\n /**\n * Checks if the given element may be polyfilled with this one.\n *\n * @param elem Element to check.\n * @returns True if the element looks like a flash embed.\n */\n static isInterdictable(elem) {\n var _a;\n if (!elem.getAttribute(\"src\")) {\n return false;\n }\n const type = (_a = elem.getAttribute(\"type\")) === null || _a === void 0 ? void 0 : _a.toLowerCase();\n if (type === FLASH_MIMETYPE.toLowerCase() ||\n type === FUTURESPLASH_MIMETYPE.toLowerCase() ||\n type === FLASH7_AND_8_MIMETYPE.toLowerCase() ||\n type === FLASH_MOVIE_MIMETYPE.toLowerCase()) {\n return true;\n }\n else if (type == null || type === \"\") {\n return isSwfFilename(elem.getAttribute(\"src\"));\n }\n return false;\n }\n /**\n * Creates a RuffleEmbed that will polyfill and replace the given element.\n *\n * @param elem Element to replace.\n * @returns Created RuffleEmbed.\n */\n static fromNativeEmbedElement(elem) {\n const externalName = registerElement(\"ruffle-embed\", RuffleEmbed);\n const ruffleObj = document.createElement(externalName);\n ruffleObj.copyElement(elem);\n return ruffleObj;\n }\n}\n","import { FLASH_MIMETYPE, FUTURESPLASH_MIMETYPE, FLASH7_AND_8_MIMETYPE, FLASH_MOVIE_MIMETYPE, FLASH_ACTIVEX_CLASSID, isScriptAccessAllowed, isSwfFilename, RufflePlayer, } from \"./ruffle-player\";\nimport { registerElement } from \"./register-element\";\nimport { RuffleEmbed } from \"./ruffle-embed\";\n/**\n * Find and return the first value in obj with the given key.\n * Many Flash params were case insensitive, so we use this when checking for them.\n *\n * @param obj Object to check\n * @param key Key to find\n * @param defaultValue Value if not found\n * @returns Value if found, else [[defaultValue]]\n */\nfunction findCaseInsensitive(obj, key, defaultValue) {\n key = key.toLowerCase();\n for (const k in obj) {\n if (Object.hasOwnProperty.call(obj, k) && key === k.toLowerCase()) {\n return obj[k];\n }\n }\n return defaultValue;\n}\n/**\n * Returns all flash params ([[HTMLParamElement]]) that are for the given object.\n *\n * @param elem Element to check.\n * @returns A record of every parameter.\n */\nfunction paramsOf(elem) {\n var _a, _b;\n const params = {};\n for (const param of elem.children) {\n if (param instanceof HTMLParamElement) {\n const key = (_a = param.attributes.getNamedItem(\"name\")) === null || _a === void 0 ? void 0 : _a.value;\n const value = (_b = param.attributes.getNamedItem(\"value\")) === null || _b === void 0 ? void 0 : _b.value;\n if (key && value) {\n params[key] = value;\n }\n }\n }\n return params;\n}\n/**\n * A polyfill html element.\n *\n * This specific class tries to polyfill existing `` tags,\n * and should not be used. Prefer [[RufflePlayer]] instead.\n *\n * @internal\n */\nexport class RuffleObject extends RufflePlayer {\n /**\n * Constructs a new Ruffle flash player for insertion onto the page.\n *\n * This specific class tries to polyfill existing `` tags,\n * and should not be used. Prefer [[RufflePlayer]] instead.\n */\n constructor() {\n super();\n this.params = {};\n }\n /**\n * @ignore\n * @internal\n */\n connectedCallback() {\n var _a;\n super.connectedCallback();\n this.params = paramsOf(this);\n let url = null;\n if (this.attributes.getNamedItem(\"data\")) {\n url = (_a = this.attributes.getNamedItem(\"data\")) === null || _a === void 0 ? void 0 : _a.value;\n }\n else if (this.params.movie) {\n url = this.params.movie;\n }\n const allowScriptAccess = findCaseInsensitive(this.params, \"allowScriptAccess\", null);\n const parameters = findCaseInsensitive(this.params, \"flashvars\", this.getAttribute(\"flashvars\"));\n const backgroundColor = findCaseInsensitive(this.params, \"bgcolor\", this.getAttribute(\"bgcolor\"));\n if (url) {\n const options = { url };\n options.allowScriptAccess = isScriptAccessAllowed(allowScriptAccess, url);\n if (parameters) {\n options.parameters = parameters;\n }\n if (backgroundColor) {\n options.backgroundColor = backgroundColor;\n }\n // Kick off the SWF download.\n this.load(options);\n }\n }\n debugPlayerInfo() {\n var _a;\n let errorText = super.debugPlayerInfo();\n errorText += \"Player type: Object\\n\";\n let url = null;\n if (this.attributes.getNamedItem(\"data\")) {\n url = (_a = this.attributes.getNamedItem(\"data\")) === null || _a === void 0 ? void 0 : _a.value;\n }\n else if (this.params.movie) {\n url = this.params.movie;\n }\n errorText += `SWF URL: ${url}\\n`;\n Object.keys(this.params).forEach((key) => {\n errorText += `Param ${key}: ${this.params[key]}\\n`;\n });\n Object.keys(this.attributes).forEach((key) => {\n var _a;\n errorText += `Attribute ${key}: ${(_a = this.attributes.getNamedItem(key)) === null || _a === void 0 ? void 0 : _a.value}\\n`;\n });\n return errorText;\n }\n /**\n * Polyfill of HTMLObjectElement.\n *\n * @ignore\n * @internal\n */\n get data() {\n return this.getAttribute(\"data\");\n }\n /**\n * Polyfill of HTMLObjectElement.\n *\n * @ignore\n * @internal\n */\n set data(href) {\n if (href != undefined) {\n const attr = document.createAttribute(\"data\");\n attr.value = href;\n this.attributes.setNamedItem(attr);\n }\n else {\n this.attributes.removeNamedItem(\"data\");\n }\n }\n /**\n * Checks if the given element may be polyfilled with this one.\n *\n * @param elem Element to check.\n * @returns True if the element looks like a flash object.\n */\n static isInterdictable(elem) {\n var _a, _b, _c;\n // Don't polyfill if there's already a inside the .\n if (elem.getElementsByTagName(\"ruffle-embed\").length > 0) {\n return false;\n }\n // Don't polyfill if no movie specified.\n const data = (_a = elem.attributes.getNamedItem(\"data\")) === null || _a === void 0 ? void 0 : _a.value.toLowerCase();\n const params = paramsOf(elem);\n let isSwf;\n // Check for SWF file.\n if (data) {\n isSwf = isSwfFilename(data);\n }\n else if (params && params.movie) {\n isSwf = isSwfFilename(params.movie);\n }\n else {\n // Don't polyfill when no file is specified.\n return false;\n }\n // Check ActiveX class ID.\n const classid = (_b = elem.attributes\n .getNamedItem(\"classid\")) === null || _b === void 0 ? void 0 : _b.value.toLowerCase();\n if (classid === FLASH_ACTIVEX_CLASSID.toLowerCase()) {\n // classid is an old-IE style embed that would not work on modern browsers.\n // Often there will be an inside the that would take precedence.\n // Only polyfill this if it doesn't contain a polyfillable .\n return !Array.from(elem.getElementsByTagName(\"embed\")).some(RuffleEmbed.isInterdictable);\n }\n else if (classid != null && classid !== \"\") {\n // Non-Flash classid.\n return false;\n }\n // Check for MIME type.\n const type = (_c = elem.attributes.getNamedItem(\"type\")) === null || _c === void 0 ? void 0 : _c.value.toLowerCase();\n if (type === FLASH_MIMETYPE.toLowerCase() ||\n type === FUTURESPLASH_MIMETYPE.toLowerCase() ||\n type === FLASH7_AND_8_MIMETYPE.toLowerCase() ||\n type === FLASH_MOVIE_MIMETYPE.toLowerCase()) {\n return true;\n }\n else if (type != null && type !== \"\") {\n return false;\n }\n // If no MIME/class type is specified, polyfill if movie is an SWF file.\n return isSwf;\n }\n /**\n * Creates a RuffleObject that will polyfill and replace the given element.\n *\n * @param elem Element to replace.\n * @returns Created RuffleObject.\n */\n static fromNativeObjectElement(elem) {\n const externalName = registerElement(\"ruffle-object\", RuffleObject);\n const ruffleObj = (document.createElement(externalName));\n // Avoid copying embeds-inside-objects to avoid double polyfilling.\n for (const embedElem of Array.from(elem.getElementsByTagName(\"embed\"))) {\n if (RuffleEmbed.isInterdictable(embedElem)) {\n embedElem.remove();\n }\n }\n // Avoid copying objects-inside-objects to avoid double polyfilling.\n // This may happen when Internet Explorer's conditional comments are used.\n for (const objectElem of Array.from(elem.getElementsByTagName(\"object\"))) {\n if (RuffleObject.isInterdictable(objectElem)) {\n objectElem.remove();\n }\n }\n ruffleObj.copyElement(elem);\n return ruffleObj;\n }\n}\n","/**\n * Attempt to discover the public path of the current Ruffle source. This can\n * be used to configure Webpack.\n *\n * We have several points of configuration for how the Ruffle public path can\n * be determined:\n *\n * 1. The public path can be specified on a per-source basis using the\n * RufflePlayer config, for example:\n * `window.RufflePlayer.config.publicPaths.local = \"/dist/\";`\n * 2. A global public path can be specified for all sources, also in config.\n * `window.RufflePlayer.config.publicPath = \"/dist/\";`\n * 3. If there is absolutely no configuration that yields a public path then we\n * return the parent path of where this script is hosted, which should be\n * the correct default in most cases.\n *\n * @param config The `window.RufflePlayer.config` object.\n * @param source_name The name of the source.\n * @returns The public path for the given source.\n */\nexport function publicPath(config, source_name) {\n let path = \"\";\n if (config !== undefined &&\n config.publicPaths !== undefined &&\n config.publicPaths[source_name] !== undefined) {\n path = config.publicPaths[source_name];\n }\n else if (config !== undefined && config.publicPath !== undefined) {\n path = config.publicPath;\n }\n else if (document.currentScript !== undefined &&\n document.currentScript !== null &&\n \"src\" in document.currentScript &&\n document.currentScript.src !== \"\") {\n // Default to the directory where this script resides.\n try {\n path = new URL(\".\", document.currentScript.src).href;\n }\n catch (e) {\n console.warn(\"Unable to get currentScript URL\");\n }\n }\n // Webpack expects the paths to end with a /.\n if (path !== \"\" && !path.endsWith(\"/\")) {\n path += \"/\";\n }\n return path;\n}\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar _a, _b;\nimport { RuffleObject } from \"./ruffle-object\";\nimport { RuffleEmbed } from \"./ruffle-embed\";\nimport { installPlugin, FLASH_PLUGIN } from \"./plugin-polyfill\";\nimport { publicPath } from \"./public-path\";\nlet isExtension;\nconst globalConfig = (_b = (_a = window.RufflePlayer) === null || _a === void 0 ? void 0 : _a.config) !== null && _b !== void 0 ? _b : {};\nconst jsScriptUrl = publicPath(globalConfig, \"ruffle.js\") + \"ruffle.js\";\n/**\n * Polyfill native Flash elements with Ruffle equivalents.\n *\n * This polyfill isn't fool-proof: If there's a chance site JavaScript has\n * access to a pre-polyfill element, then this will break horribly. We can\n * keep native objects out of the DOM, and thus out of JavaScript's grubby\n * little hands, but only if we load first.\n */\nlet objects;\nlet embeds;\n/**\n *\n */\nfunction polyfillFlashInstances() {\n try {\n // Create live collections to track embed tags.\n objects = objects !== null && objects !== void 0 ? objects : document.getElementsByTagName(\"object\");\n embeds = embeds !== null && embeds !== void 0 ? embeds : document.getElementsByTagName(\"embed\");\n // Replace first, because often wraps .\n for (const elem of Array.from(objects)) {\n if (RuffleObject.isInterdictable(elem)) {\n const ruffleObject = RuffleObject.fromNativeObjectElement(elem);\n elem.replaceWith(ruffleObject);\n }\n }\n for (const elem of Array.from(embeds)) {\n if (RuffleEmbed.isInterdictable(elem)) {\n const ruffleEmbed = RuffleEmbed.fromNativeEmbedElement(elem);\n elem.replaceWith(ruffleEmbed);\n }\n }\n }\n catch (err) {\n console.error(`Serious error encountered when polyfilling native Flash elements: ${err}`);\n }\n}\n/**\n * Inject Ruffle into