diff --git a/extensions/RoboScapeOnline2/index.js b/extensions/RoboScapeOnline2/index.js index ad522e7..fa5e302 100644 --- a/extensions/RoboScapeOnline2/index.js +++ b/extensions/RoboScapeOnline2/index.js @@ -189,6 +189,147 @@ var scriptElement = document.createElement('script'); scriptElement.async = false; + if(isRetinaEnabled()){ + disableRetinaSupport(); + + // This is a hack until NetsBlox has the changes to support retina displays for the 3D view + function enableRetinaSupport() { + function a(g) { + return g.isRetinaEnabled ? (d || 1) / c : 1 + } + var b = document.createElement("canvas").getContext("2d") + , c = b.webkitBackingStorePixelRatio || b.mozBackingStorePixelRatio || b.msBackingStorePixelRatio || b.oBackingStorePixelRatio || b.backingStorePixelRatio || 1 + , d = Math.ceil(window.devicePixelRatio); + b = HTMLCanvasElement.prototype; + var e = CanvasRenderingContext2D.prototype + , f = { + drawImage: e.drawImage, + getImageData: e.getImageData, + width: Object.getOwnPropertyDescriptor(b, "width"), + height: Object.getOwnPropertyDescriptor(b, "height"), + shadowOffsetX: Object.getOwnPropertyDescriptor(e, "shadowOffsetX"), + shadowOffsetY: Object.getOwnPropertyDescriptor(e, "shadowOffsetY"), + shadowBlur: Object.getOwnPropertyDescriptor(e, "shadowBlur") + }; + c === d || Object.keys(f).some(g=>{ + g = f[g]; + return g.hasOwnProperty("configurable") && !g.configurable + } + ) || (b._isRetinaEnabled = !0, + b._bak = f, + Object.defineProperty(b, "isRetinaEnabled", { + get: function() { + return this._isRetinaEnabled + }, + set: function(g) { + var h = a(this) + , m = this.width + , l = this.height; + this._isRetinaEnabled = g; + a(this) != h && (this.width = m, + this.height = l) + }, + configurable: !0 + }), + Object.defineProperty(b, "width", { + get: function() { + return f.width.get.call(this) / a(this) + }, + set: function(g) { + try { + var h = a(this); + f.width.set.call(this, g * h); + this.getContext("2d")?.scale(h, h) // This line is the only change, a null check was added + } catch (m) { + console.log("Retina Display Support Problem", m), + f.width.set.call(this, g) + } + } + }), + Object.defineProperty(b, "height", { + get: function() { + return f.height.get.call(this) / a(this) + }, + set: function(g) { + var h = a(this); + f.height.set.call(this, g * h); + this.getContext("2d")?.scale(h, h) // This line is the only change, a null check was added + } + }), + e.drawImage = function(g) { + var h = a(g); + switch (arguments.length) { + case 9: + var m = arguments[1]; + var l = arguments[2]; + var k = arguments[3]; + var n = arguments[4]; + var p = arguments[5]; + var q = arguments[6]; + var r = arguments[7]; + var t = arguments[8]; + break; + case 5: + l = m = 0; + k = g.width; + n = g.height; + p = arguments[1]; + q = arguments[2]; + r = arguments[3]; + t = arguments[4]; + break; + case 3: + l = m = 0; + k = g.width; + n = g.height; + p = arguments[1]; + q = arguments[2]; + r = g.width; + t = g.height; + break; + default: + throw Error("Called drawImage() with " + arguments.length + " arguments"); + } + f.drawImage.call(this, g, m * h, l * h, k * h, n * h, p, q, r, t) + } + , + e.getImageData = function(g, h, m, l) { + var k = a(this.canvas); + return f.getImageData.call(this, g * k, h * k, m * k, l * k) + } + , + Object.defineProperty(e, "shadowOffsetX", { + get: function() { + return f.shadowOffsetX.get.call(this) / a(this.canvas) + }, + set: function(g) { + var h = a(this.canvas); + f.shadowOffsetX.set.call(this, g * h) + } + }), + Object.defineProperty(e, "shadowOffsetY", { + get: function() { + return f.shadowOffsetY.get.call(this) / a(this.canvas) + }, + set: function(g) { + var h = a(this.canvas); + f.shadowOffsetY.set.call(this, g * h) + } + }), + Object.defineProperty(e, "shadowBlur", { + get: function() { + return f.shadowBlur.get.call(this) / a(this.canvas) + }, + set: function(g) { + var h = a(this.canvas); + f.shadowBlur.set.call(this, g * h) + } + })) + } + + enableRetinaSupport(); + } + scriptElement.onload = () => { var loaderScriptElement = document.createElement('script'); loaderScriptElement.async = false; diff --git a/extensions/RoboScapeOnline2/pkg/roboscapesim_client.d.ts b/extensions/RoboScapeOnline2/pkg/roboscapesim_client.d.ts index 1431614..d7dc999 100644 --- a/extensions/RoboScapeOnline2/pkg/roboscapesim_client.d.ts +++ b/extensions/RoboScapeOnline2/pkg/roboscapesim_client.d.ts @@ -144,15 +144,15 @@ export interface InitOutput { readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; readonly __wbindgen_export_2: WebAssembly.Table; - readonly _dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc848945a3d0bd193: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7b29029e76c159c7: (a: number, b: number) => void; - readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h75ed84272e5c0cbe: (a: number, b: number, c: number) => void; - readonly wasm_bindgen__convert__closures__invoke0_mut__hbd98963ae49dd62b: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h333c5b7209145e6f: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h50fbf020e7550799: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha77510dd7d25b564: (a: number, b: number) => void; + readonly _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hafe85d1da8295a10: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58a54247c44d5a16: (a: number, b: number) => void; + readonly wasm_bindgen__convert__closures__invoke0_mut__ha204ea0aa77d1d1c: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2f48bc7cb1c39ec5: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4dc266bd3929c8bd: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_add_to_stack_pointer: (a: number) => number; - readonly wasm_bindgen__convert__closures__invoke2_mut__h741a8a0a4379930d: (a: number, b: number, c: number, d: number) => void; + readonly wasm_bindgen__convert__closures__invoke2_mut__h18f41ff999320e94: (a: number, b: number, c: number, d: number) => void; readonly __wbindgen_free: (a: number, b: number, c: number) => void; readonly __wbindgen_start: () => void; } diff --git a/extensions/RoboScapeOnline2/pkg/roboscapesim_client.js b/extensions/RoboScapeOnline2/pkg/roboscapesim_client.js index f02e980..ff45f88 100644 --- a/extensions/RoboScapeOnline2/pkg/roboscapesim_client.js +++ b/extensions/RoboScapeOnline2/pkg/roboscapesim_client.js @@ -96,6 +96,7 @@ function passStringToWasm0(arg, malloc, realloc) { const ret = encodeString(arg, view); offset += ret.written; + ptr = realloc(ptr, len, offset, 1) >>> 0; } WASM_VECTOR_LEN = offset; @@ -189,6 +190,12 @@ function debugString(val) { return className; } +const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(state => { + wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b) +}); + function makeClosure(arg0, arg1, dtor, f) { const state = { a: arg0, b: arg1, cnt: 1, dtor }; const real = (...args) => { @@ -202,16 +209,20 @@ function makeClosure(arg0, arg1, dtor, f) { if (--state.cnt === 0) { wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b); state.a = 0; - + CLOSURE_DTORS.unregister(state); } } }; real.original = state; - + CLOSURE_DTORS.register(real, state, state); return real; } function __wbg_adapter_30(arg0, arg1) { - wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc848945a3d0bd193(arg0, arg1); + wasm._dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha77510dd7d25b564(arg0, arg1); +} + +function __wbg_adapter_33(arg0, arg1, arg2) { + wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hafe85d1da8295a10(arg0, arg1, addHeapObject(arg2)); } function makeMutClosure(arg0, arg1, dtor, f) { @@ -228,34 +239,30 @@ function makeMutClosure(arg0, arg1, dtor, f) { } finally { if (--state.cnt === 0) { wasm.__wbindgen_export_2.get(state.dtor)(a, state.b); - + CLOSURE_DTORS.unregister(state); } else { state.a = a; } } }; real.original = state; - + CLOSURE_DTORS.register(real, state, state); return real; } -function __wbg_adapter_33(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7b29029e76c159c7(arg0, arg1); -} - -function __wbg_adapter_36(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h75ed84272e5c0cbe(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_38(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58a54247c44d5a16(arg0, arg1); } function __wbg_adapter_41(arg0, arg1) { - wasm.wasm_bindgen__convert__closures__invoke0_mut__hbd98963ae49dd62b(arg0, arg1); + wasm.wasm_bindgen__convert__closures__invoke0_mut__ha204ea0aa77d1d1c(arg0, arg1); } function __wbg_adapter_44(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h333c5b7209145e6f(arg0, arg1); + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2f48bc7cb1c39ec5(arg0, arg1); } function __wbg_adapter_47(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h50fbf020e7550799(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4dc266bd3929c8bd(arg0, arg1, addHeapObject(arg2)); } /** @@ -324,9 +331,12 @@ function getArrayU8FromWasm0(ptr, len) { return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len); } function __wbg_adapter_291(arg0, arg1, arg2, arg3) { - wasm.wasm_bindgen__convert__closures__invoke2_mut__h741a8a0a4379930d(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); + wasm.wasm_bindgen__convert__closures__invoke2_mut__h18f41ff999320e94(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } +const BoxOptionsFinalization = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(ptr => wasm.__wbg_boxoptions_free(ptr >>> 0)); /** */ export class BoxOptions { @@ -335,14 +345,14 @@ export class BoxOptions { ptr = ptr >>> 0; const obj = Object.create(BoxOptions.prototype); obj.__wbg_ptr = ptr; - + BoxOptionsFinalization.register(obj, obj.__wbg_ptr, obj); return obj; } __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; - + BoxOptionsFinalization.unregister(this); return ptr; } @@ -517,6 +527,10 @@ export class BoxOptions { wasm.__wbg_set_boxoptions_wrap(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0); } } + +const SphereOptionsFinalization = (typeof FinalizationRegistry === 'undefined') + ? { register: () => {}, unregister: () => {} } + : new FinalizationRegistry(ptr => wasm.__wbg_sphereoptions_free(ptr >>> 0)); /** */ export class SphereOptions { @@ -525,14 +539,14 @@ export class SphereOptions { ptr = ptr >>> 0; const obj = Object.create(SphereOptions.prototype); obj.__wbg_ptr = ptr; - + SphereOptionsFinalization.register(obj, obj.__wbg_ptr, obj); return obj; } __destroy_into_raw() { const ptr = this.__wbg_ptr; this.__wbg_ptr = 0; - + SphereOptionsFinalization.unregister(this); return ptr; } @@ -799,7 +813,7 @@ function __wbg_get_imports() { const ret = setTimeout(getObject(arg0), arg1); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_fetch_6a2624d7f767e331 = function(arg0) { + imports.wbg.__wbg_fetch_bc7c8e27076a5c84 = function(arg0) { const ret = fetch(getObject(arg0)); return addHeapObject(ret); }; @@ -900,10 +914,10 @@ function __wbg_get_imports() { const ret = new BABYLON.Texture(getStringFromWasm0(arg0, arg1)); return addHeapObject(ret); }; - imports.wbg.__wbg_queueMicrotask_118eeb525d584d9a = function(arg0) { + imports.wbg.__wbg_queueMicrotask_481971b0d87f3dd4 = function(arg0) { queueMicrotask(getObject(arg0)); }; - imports.wbg.__wbg_queueMicrotask_26a89c14c53809c0 = function(arg0) { + imports.wbg.__wbg_queueMicrotask_3cbae2ec6b6cd3d6 = function(arg0) { const ret = getObject(arg0).queueMicrotask; return addHeapObject(ret); }; @@ -911,7 +925,7 @@ function __wbg_get_imports() { const ret = typeof(getObject(arg0)) === 'function'; return ret; }; - imports.wbg.__wbg_instanceof_Window_99dc9805eaa2614b = function(arg0) { + imports.wbg.__wbg_instanceof_Window_f401953a2cf86220 = function(arg0) { let result; try { result = getObject(arg0) instanceof Window; @@ -921,91 +935,91 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_document_5257b70811e953c0 = function(arg0) { + imports.wbg.__wbg_document_5100775d18896c16 = function(arg0) { const ret = getObject(arg0).document; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_setonresize_862d01deb25a20bb = function(arg0, arg1) { + imports.wbg.__wbg_setonresize_8883ecf5f6193931 = function(arg0, arg1) { getObject(arg0).onresize = getObject(arg1); }; - imports.wbg.__wbg_localStorage_318b1c4f106a46f9 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_localStorage_e381d34d0c40c761 = function() { return handleError(function (arg0) { const ret = getObject(arg0).localStorage; return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_clearTimeout_cf250b4eed087f7b = function(arg0, arg1) { + imports.wbg.__wbg_clearTimeout_ba63ae54a36e111e = function(arg0, arg1) { getObject(arg0).clearTimeout(arg1); }; - imports.wbg.__wbg_setTimeout_bd20251bb242e262 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_setTimeout_c172d5704ef82276 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).setTimeout(getObject(arg1), arg2); return ret; }, arguments) }; - imports.wbg.__wbg_setinnerHTML_99deeacfff0ae4cc = function(arg0, arg1, arg2) { + imports.wbg.__wbg_setinnerHTML_26d69b59e1af99c7 = function(arg0, arg1, arg2) { getObject(arg0).innerHTML = getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_querySelectorAll_9447fb14c5e5924c = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_querySelectorAll_2dc2b23a07bee926 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).querySelectorAll(getStringFromWasm0(arg1, arg2)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_setAttribute_0918ea45d5a1c663 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_setAttribute_3c9f6c303b696daa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments) }; - imports.wbg.__wbg_createElement_1a136faad4101f43 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_createElement_8bae7856a4bb7411 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_getElementById_00904c7c4a32c23b = function(arg0, arg1, arg2) { + imports.wbg.__wbg_getElementById_c369ff43f0db99cf = function(arg0, arg1, arg2) { const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_querySelector_d86f889797c65e88 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_querySelector_a5f74efc5fa193dd = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).querySelector(getStringFromWasm0(arg1, arg2)); return isLikeNone(ret) ? 0 : addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_setinnerText_50a32710b8f1b7b6 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_setinnerText_087b7e3f90d97466 = function(arg0, arg1, arg2) { getObject(arg0).innerText = getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_style_b32d5cb9a6bd4720 = function(arg0) { + imports.wbg.__wbg_style_c3fc3dd146182a2d = function(arg0) { const ret = getObject(arg0).style; return addHeapObject(ret); }; - imports.wbg.__wbg_setonchange_c5bfe04ab7cf0910 = function(arg0, arg1) { + imports.wbg.__wbg_setonchange_8f887c27a2d4469d = function(arg0, arg1) { getObject(arg0).onchange = getObject(arg1); }; - imports.wbg.__wbg_fetch_06d656a1b748ac0d = function(arg0, arg1) { + imports.wbg.__wbg_fetch_921fad6ef9e883dd = function(arg0, arg1) { const ret = getObject(arg0).fetch(getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbg_value_c93cb4b4d352228e = function(arg0, arg1) { + imports.wbg.__wbg_value_47fe6384562f52ab = function(arg0, arg1) { const ret = getObject(arg1).value; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbg_setvalue_9bd3f93b3864ddbf = function(arg0, arg1, arg2) { + imports.wbg.__wbg_setvalue_78cb4f1fef58ae98 = function(arg0, arg1, arg2) { getObject(arg0).value = getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_removeProperty_569b8c8469084b23 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_removeProperty_fa6d48e2923dcfac = function() { return handleError(function (arg0, arg1, arg2, arg3) { const ret = getObject(arg1).removeProperty(getStringFromWasm0(arg2, arg3)); const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_setProperty_a763529f4ef8ac76 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_setProperty_ea7d15a2b591aa97 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments) }; - imports.wbg.__wbg_addEventListener_2f891d22985fd3c8 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_addEventListener_53b787075bd5e003 = function() { return handleError(function (arg0, arg1, arg2, arg3) { getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3)); }, arguments) }; - imports.wbg.__wbg_newwithstrandinit_9fd2fc855c6327eb = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_newwithstrandinit_3fd6fba4083ff2d0 = function() { return handleError(function (arg0, arg1, arg2) { const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_preventDefault_d2c7416966cb0632 = function(arg0) { + imports.wbg.__wbg_preventDefault_b1a4aafc79409429 = function(arg0) { getObject(arg0).preventDefault(); }; - imports.wbg.__wbg_instanceof_Response_0d25bb8436a9cefe = function(arg0) { + imports.wbg.__wbg_instanceof_Response_849eb93e75734b6e = function(arg0) { let result; try { result = getObject(arg0) instanceof Response; @@ -1015,129 +1029,129 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_url_47f8307501523859 = function(arg0, arg1) { + imports.wbg.__wbg_url_5f6dc4009ac5f99d = function(arg0, arg1) { const ret = getObject(arg1).url; const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); const len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbg_status_351700a30c61ba61 = function(arg0) { + imports.wbg.__wbg_status_61a01141acd3cf74 = function(arg0) { const ret = getObject(arg0).status; return ret; }; - imports.wbg.__wbg_headers_e38c00d713e8888c = function(arg0) { + imports.wbg.__wbg_headers_9620bfada380764a = function(arg0) { const ret = getObject(arg0).headers; return addHeapObject(ret); }; - imports.wbg.__wbg_arrayBuffer_ec4617b29bb0f61c = function() { return handleError(function (arg0) { + imports.wbg.__wbg_arrayBuffer_29931d52c7206b02 = function() { return handleError(function (arg0) { const ret = getObject(arg0).arrayBuffer(); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_getItem_f7e7a061bbdabefe = function() { return handleError(function (arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_getItem_164e8e5265095b87 = function() { return handleError(function (arg0, arg1, arg2, arg3) { const ret = getObject(arg1).getItem(getStringFromWasm0(arg2, arg3)); var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }, arguments) }; - imports.wbg.__wbg_signal_7876560d9d0f914c = function(arg0) { + imports.wbg.__wbg_signal_a61f78a3478fd9bc = function(arg0) { const ret = getObject(arg0).signal; return addHeapObject(ret); }; - imports.wbg.__wbg_new_fa36281638875de8 = function() { return handleError(function () { + imports.wbg.__wbg_new_0d76b0581eca6298 = function() { return handleError(function () { const ret = new AbortController(); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_abort_7792bf3f664d7bb3 = function(arg0) { + imports.wbg.__wbg_abort_2aa7521d5690750e = function(arg0) { getObject(arg0).abort(); }; - imports.wbg.__wbg_firstChild_c3dac19eb85cc526 = function(arg0) { + imports.wbg.__wbg_firstChild_a10db88beca6812e = function(arg0) { const ret = getObject(arg0).firstChild; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_nextSibling_13e9454ef5323f1a = function(arg0) { + imports.wbg.__wbg_nextSibling_709614fdb0fb7a66 = function(arg0) { const ret = getObject(arg0).nextSibling; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_textContent_efe8338af53ddf62 = function(arg0, arg1) { + imports.wbg.__wbg_textContent_8e392d624539e731 = function(arg0, arg1) { const ret = getObject(arg1).textContent; var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); var len1 = WASM_VECTOR_LEN; getInt32Memory0()[arg0 / 4 + 1] = len1; getInt32Memory0()[arg0 / 4 + 0] = ptr1; }; - imports.wbg.__wbg_settextContent_1fec240f77aa3dc4 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_settextContent_d271bab459cbb1ba = function(arg0, arg1, arg2) { getObject(arg0).textContent = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2); }; - imports.wbg.__wbg_appendChild_bd383ec5356c0bdb = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_appendChild_580ccb11a660db68 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).appendChild(getObject(arg1)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_removeChild_14b08321b677677a = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_removeChild_96bbfefd2f5a0261 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).removeChild(getObject(arg1)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_get_de3ed10a49ff9959 = function(arg0, arg1) { + imports.wbg.__wbg_get_8cd5eba00ab6304f = function(arg0, arg1) { const ret = getObject(arg0)[arg1 >>> 0]; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbg_log_9dfb3879776dd797 = function(arg0) { + imports.wbg.__wbg_log_5bb5f88f245d7762 = function(arg0) { console.log(getObject(arg0)); }; - imports.wbg.__wbg_new_a979e9eedc5e81a3 = function() { return handleError(function () { + imports.wbg.__wbg_new_ab6fd82b10560829 = function() { return handleError(function () { const ret = new Headers(); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_append_047382169b61373d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { + imports.wbg.__wbg_append_7bfcb4937d1d5e29 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { getObject(arg0).append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); }, arguments) }; - imports.wbg.__wbg_readyState_f57ac8451584c7a2 = function(arg0) { + imports.wbg.__wbg_readyState_1c157e4ea17c134a = function(arg0) { const ret = getObject(arg0).readyState; return ret; }; - imports.wbg.__wbg_setonopen_04738360055ee4a5 = function(arg0, arg1) { + imports.wbg.__wbg_setonopen_ce7a4c51e5cf5788 = function(arg0, arg1) { getObject(arg0).onopen = getObject(arg1); }; - imports.wbg.__wbg_setonerror_7434a4dce811f083 = function(arg0, arg1) { + imports.wbg.__wbg_setonerror_39a785302b0cd2e9 = function(arg0, arg1) { getObject(arg0).onerror = getObject(arg1); }; - imports.wbg.__wbg_setonclose_dabb00f27f00be8f = function(arg0, arg1) { + imports.wbg.__wbg_setonclose_b9929b1c1624dff3 = function(arg0, arg1) { getObject(arg0).onclose = getObject(arg1); }; - imports.wbg.__wbg_setonmessage_4acb1c5c244f296d = function(arg0, arg1) { + imports.wbg.__wbg_setonmessage_2af154ce83a3dc94 = function(arg0, arg1) { getObject(arg0).onmessage = getObject(arg1); }; - imports.wbg.__wbg_setbinaryType_0d9ce182e4788f87 = function(arg0, arg1) { + imports.wbg.__wbg_setbinaryType_b0cf5103cd561959 = function(arg0, arg1) { getObject(arg0).binaryType = takeObject(arg1); }; - imports.wbg.__wbg_new_bfaf72641458d8ec = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_new_6c74223c77cfabad = function() { return handleError(function (arg0, arg1) { const ret = new WebSocket(getStringFromWasm0(arg0, arg1)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_close_fcf8af3a8d758756 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_close_acd9532ff5c093ea = function() { return handleError(function (arg0) { getObject(arg0).close(); }, arguments) }; - imports.wbg.__wbg_send_069a6e5ee1ec8535 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_send_5fcd7bab9777194e = function() { return handleError(function (arg0, arg1, arg2) { getObject(arg0).send(getArrayU8FromWasm0(arg1, arg2)); }, arguments) }; - imports.wbg.__wbg_now_65ff8ec2b863300c = function(arg0) { + imports.wbg.__wbg_now_4e659b3d15f470d9 = function(arg0) { const ret = getObject(arg0).now(); return ret; }; - imports.wbg.__wbg_get_c43534c00f382c8a = function(arg0, arg1) { + imports.wbg.__wbg_get_bd8e338fbd5f5cc8 = function(arg0, arg1) { const ret = getObject(arg0)[arg1 >>> 0]; return addHeapObject(ret); }; - imports.wbg.__wbg_length_d99b680fd68bf71b = function(arg0) { + imports.wbg.__wbg_length_cd7af8117672b8b8 = function(arg0) { const ret = getObject(arg0).length; return ret; }; - imports.wbg.__wbg_new_34c624469fb1d4fd = function() { + imports.wbg.__wbg_new_16b304a2cfa7ff4a = function() { const ret = new Array(); return addHeapObject(ret); }; - imports.wbg.__wbg_newnoargs_5859b6d41c6fe9f7 = function(arg0, arg1) { + imports.wbg.__wbg_newnoargs_e258087cd0daa0ea = function(arg0, arg1) { const ret = new Function(getStringFromWasm0(arg0, arg1)); return addHeapObject(ret); }; @@ -1146,51 +1160,51 @@ function __wbg_get_imports() { const ret = typeof(val) === 'object' && val !== null; return ret; }; - imports.wbg.__wbg_next_1938cf110c9491d4 = function(arg0) { + imports.wbg.__wbg_next_40fc327bfc8770e6 = function(arg0) { const ret = getObject(arg0).next; return addHeapObject(ret); }; - imports.wbg.__wbg_next_267398d0e0761bf9 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_next_196c84450b364254 = function() { return handleError(function (arg0) { const ret = getObject(arg0).next(); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_done_506b44765ba84b9c = function(arg0) { + imports.wbg.__wbg_done_298b57d23c0fc80c = function(arg0) { const ret = getObject(arg0).done; return ret; }; - imports.wbg.__wbg_value_31485d8770eb06ab = function(arg0) { + imports.wbg.__wbg_value_d93c65011f51a456 = function(arg0) { const ret = getObject(arg0).value; return addHeapObject(ret); }; - imports.wbg.__wbg_iterator_364187e1ee96b750 = function() { + imports.wbg.__wbg_iterator_2cee6dadfd956dfa = function() { const ret = Symbol.iterator; return addHeapObject(ret); }; - imports.wbg.__wbg_get_5027b32da70f39b1 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_get_e3c254076557e348 = function() { return handleError(function (arg0, arg1) { const ret = Reflect.get(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_call_a79f1973a4f07d5e = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_call_27c0f87801dedf93 = function() { return handleError(function (arg0, arg1) { const ret = getObject(arg0).call(getObject(arg1)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_new_87d841e70661f6e9 = function() { + imports.wbg.__wbg_new_72fb9a18b5ae2624 = function() { const ret = new Object(); return addHeapObject(ret); }; - imports.wbg.__wbg_self_086b5302bcafb962 = function() { return handleError(function () { + imports.wbg.__wbg_self_ce0dbfc45cf2f5be = function() { return handleError(function () { const ret = self.self; return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_window_132fa5d7546f1de5 = function() { return handleError(function () { + imports.wbg.__wbg_window_c6fb939a7f436783 = function() { return handleError(function () { const ret = window.window; return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_globalThis_e5f801a37ad7d07b = function() { return handleError(function () { + imports.wbg.__wbg_globalThis_d1e6af4856ba331b = function() { return handleError(function () { const ret = globalThis.globalThis; return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_global_f9a61fce4af6b7c1 = function() { return handleError(function () { + imports.wbg.__wbg_global_207b558942527489 = function() { return handleError(function () { const ret = global.global; return addHeapObject(ret); }, arguments) }; @@ -1198,15 +1212,15 @@ function __wbg_get_imports() { const ret = getObject(arg0) === undefined; return ret; }; - imports.wbg.__wbg_eval_6c93b88a4b3be0eb = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_eval_020a6ea487e91ede = function() { return handleError(function (arg0, arg1) { const ret = eval(getStringFromWasm0(arg0, arg1)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_push_906164999551d793 = function(arg0, arg1) { + imports.wbg.__wbg_push_a5b05aedc7234f9f = function(arg0, arg1) { const ret = getObject(arg0).push(getObject(arg1)); return ret; }; - imports.wbg.__wbg_instanceof_ArrayBuffer_f4521cec1b99ee35 = function(arg0) { + imports.wbg.__wbg_instanceof_ArrayBuffer_836825be07d4c9d2 = function(arg0) { let result; try { result = getObject(arg0) instanceof ArrayBuffer; @@ -1216,15 +1230,15 @@ function __wbg_get_imports() { const ret = result; return ret; }; - imports.wbg.__wbg_call_f6a2bc58c19c53c6 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_call_b3ca7c6051f9bec1 = function() { return handleError(function (arg0, arg1, arg2) { const ret = getObject(arg0).call(getObject(arg1), getObject(arg2)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_call_5830eb5e103aa772 = function() { return handleError(function (arg0, arg1, arg2, arg3) { + imports.wbg.__wbg_call_8e7cb608789c2528 = function() { return handleError(function (arg0, arg1, arg2, arg3) { const ret = getObject(arg0).call(getObject(arg1), getObject(arg2), getObject(arg3)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_new_1d93771b84541aa5 = function(arg0, arg1) { + imports.wbg.__wbg_new_81740750da40724f = function(arg0, arg1) { try { var state0 = {a: arg0, b: arg1}; var cb0 = (arg0, arg1) => { @@ -1242,54 +1256,54 @@ function __wbg_get_imports() { state0.a = state0.b = 0; } }; - imports.wbg.__wbg_resolve_97ecd55ee839391b = function(arg0) { + imports.wbg.__wbg_resolve_b0083a7967828ec8 = function(arg0) { const ret = Promise.resolve(getObject(arg0)); return addHeapObject(ret); }; - imports.wbg.__wbg_then_7aeb7c5f1536640f = function(arg0, arg1) { + imports.wbg.__wbg_then_0c86a60e8fcfe9f6 = function(arg0, arg1) { const ret = getObject(arg0).then(getObject(arg1)); return addHeapObject(ret); }; - imports.wbg.__wbg_then_5842e4e97f7beace = function(arg0, arg1, arg2) { + imports.wbg.__wbg_then_a73caa9a87991566 = function(arg0, arg1, arg2) { const ret = getObject(arg0).then(getObject(arg1), getObject(arg2)); return addHeapObject(ret); }; - imports.wbg.__wbg_buffer_5d1b598a01b41a42 = function(arg0) { + imports.wbg.__wbg_buffer_12d079cc21e14bdb = function(arg0) { const ret = getObject(arg0).buffer; return addHeapObject(ret); }; - imports.wbg.__wbg_newwithbyteoffsetandlength_d695c7957788f922 = function(arg0, arg1, arg2) { + imports.wbg.__wbg_newwithbyteoffsetandlength_aa4a17c33a06e5cb = function(arg0, arg1, arg2) { const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0); return addHeapObject(ret); }; - imports.wbg.__wbg_new_ace717933ad7117f = function(arg0) { + imports.wbg.__wbg_new_63b92bc8671ed464 = function(arg0) { const ret = new Uint8Array(getObject(arg0)); return addHeapObject(ret); }; - imports.wbg.__wbg_set_74906aa30864df5a = function(arg0, arg1, arg2) { + imports.wbg.__wbg_set_a47bac70306a19a7 = function(arg0, arg1, arg2) { getObject(arg0).set(getObject(arg1), arg2 >>> 0); }; - imports.wbg.__wbg_length_f0764416ba5bb237 = function(arg0) { + imports.wbg.__wbg_length_c20a40f15020d68a = function(arg0) { const ret = getObject(arg0).length; return ret; }; - imports.wbg.__wbg_stringify_daa6661e90c04140 = function() { return handleError(function (arg0) { + imports.wbg.__wbg_stringify_8887fe74e1c50d81 = function() { return handleError(function (arg0) { const ret = JSON.stringify(getObject(arg0)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_apply_2ea5e74f79738d8f = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_apply_0a5aa603881e6d79 = function() { return handleError(function (arg0, arg1, arg2) { const ret = Reflect.apply(getObject(arg0), getObject(arg1), getObject(arg2)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_construct_1786e09bf244e47d = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_construct_597527ea0f9286ea = function() { return handleError(function (arg0, arg1) { const ret = Reflect.construct(getObject(arg0), getObject(arg1)); return addHeapObject(ret); }, arguments) }; - imports.wbg.__wbg_has_a2919659b7b645b3 = function() { return handleError(function (arg0, arg1) { + imports.wbg.__wbg_has_0af94d20077affa2 = function() { return handleError(function (arg0, arg1) { const ret = Reflect.has(getObject(arg0), getObject(arg1)); return ret; }, arguments) }; - imports.wbg.__wbg_set_37a50e901587b477 = function() { return handleError(function (arg0, arg1, arg2) { + imports.wbg.__wbg_set_1f9b04f170055d33 = function() { return handleError(function (arg0, arg1, arg2) { const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2)); return ret; }, arguments) }; @@ -1329,32 +1343,32 @@ function __wbg_get_imports() { const ret = wasm.memory; return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper340 = function(arg0, arg1, arg2) { + imports.wbg.__wbindgen_closure_wrapper378 = function(arg0, arg1, arg2) { const ret = makeClosure(arg0, arg1, 87, __wbg_adapter_30); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper341 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 87, __wbg_adapter_33); + imports.wbg.__wbindgen_closure_wrapper379 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 87, __wbg_adapter_33); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper342 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 87, __wbg_adapter_36); + imports.wbg.__wbindgen_closure_wrapper380 = function(arg0, arg1, arg2) { + const ret = makeClosure(arg0, arg1, 87, __wbg_adapter_33); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper343 = function(arg0, arg1, arg2) { - const ret = makeClosure(arg0, arg1, 87, __wbg_adapter_36); + imports.wbg.__wbindgen_closure_wrapper381 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 87, __wbg_adapter_38); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper729 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 242, __wbg_adapter_41); + imports.wbg.__wbindgen_closure_wrapper761 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 244, __wbg_adapter_41); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1188 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 397, __wbg_adapter_44); + imports.wbg.__wbindgen_closure_wrapper1226 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 406, __wbg_adapter_44); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper1246 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 409, __wbg_adapter_47); + imports.wbg.__wbindgen_closure_wrapper1284 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 418, __wbg_adapter_47); return addHeapObject(ret); }; diff --git a/extensions/RoboScapeOnline2/pkg/roboscapesim_client_bg.wasm b/extensions/RoboScapeOnline2/pkg/roboscapesim_client_bg.wasm index 42cf717..3de5fb0 100644 Binary files a/extensions/RoboScapeOnline2/pkg/roboscapesim_client_bg.wasm and b/extensions/RoboScapeOnline2/pkg/roboscapesim_client_bg.wasm differ diff --git a/extensions/RoboScapeOnline2/pkg/roboscapesim_client_bg.wasm.d.ts b/extensions/RoboScapeOnline2/pkg/roboscapesim_client_bg.wasm.d.ts index 99049a6..64205f0 100644 --- a/extensions/RoboScapeOnline2/pkg/roboscapesim_client_bg.wasm.d.ts +++ b/extensions/RoboScapeOnline2/pkg/roboscapesim_client_bg.wasm.d.ts @@ -49,14 +49,14 @@ export function __wbg_set_sphereoptions_sideOrientation(a: number, b: number, c: export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; export const __wbindgen_export_2: WebAssembly.Table; -export function _dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc848945a3d0bd193(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7b29029e76c159c7(a: number, b: number): void; -export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h75ed84272e5c0cbe(a: number, b: number, c: number): void; -export function wasm_bindgen__convert__closures__invoke0_mut__hbd98963ae49dd62b(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h333c5b7209145e6f(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h50fbf020e7550799(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__Fn_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha77510dd7d25b564(a: number, b: number): void; +export function _dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hafe85d1da8295a10(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h58a54247c44d5a16(a: number, b: number): void; +export function wasm_bindgen__convert__closures__invoke0_mut__ha204ea0aa77d1d1c(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2f48bc7cb1c39ec5(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4dc266bd3929c8bd(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_add_to_stack_pointer(a: number): number; -export function wasm_bindgen__convert__closures__invoke2_mut__h741a8a0a4379930d(a: number, b: number, c: number, d: number): void; +export function wasm_bindgen__convert__closures__invoke2_mut__h18f41ff999320e94(a: number, b: number, c: number, d: number): void; export function __wbindgen_free(a: number, b: number, c: number): void; export function __wbindgen_start(): void;