diff --git a/out/viewer.d.ts b/out/viewer.d.ts index e17ed99c..0be9428d 100644 --- a/out/viewer.d.ts +++ b/out/viewer.d.ts @@ -9,14 +9,14 @@ 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__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5236ea3dc9c0683b: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0b9283235beb4116: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h68c0df676b7a79f6: (a: number, b: number) => void; - readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h69c59dff166c4fe5: (a: number, b: number, c: number, d: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5684c7c464516349: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6415da95665282b7: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0d161f41e6da44f2: (a: number, b: number, c: number) => void; - readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h093bea355fc93399: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf3c3ee9248f8db90: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he3ec49e7b027ca2c: (a: number, b: number, c: number, d: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f267e459678c1fa: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h59ec50822c9fcd00: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6b3aeca10211c07c: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h28ee92001b6c7b0b: (a: number, b: number, c: number) => void; + readonly _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c3eafc559b6bb20: (a: number, b: number) => void; + readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h064e1c95db1703ec: (a: number, b: number, c: number) => void; readonly __wbindgen_free: (a: number, b: number, c: number) => void; readonly __wbindgen_exn_store: (a: number) => void; readonly __wbindgen_start: () => void; diff --git a/out/viewer.js b/out/viewer.js index a963c92b..3c744cc6 100644 --- a/out/viewer.js +++ b/out/viewer.js @@ -212,35 +212,35 @@ function makeMutClosure(arg0, arg1, dtor, f) { return real; } function __wbg_adapter_28(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5236ea3dc9c0683b(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf3c3ee9248f8db90(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_31(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0b9283235beb4116(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_31(arg0, arg1, arg2, arg3) { + wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he3ec49e7b027ca2c(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); } -function __wbg_adapter_34(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h68c0df676b7a79f6(arg0, arg1); +function __wbg_adapter_34(arg0, arg1, arg2) { + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f267e459678c1fa(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_45(arg0, arg1, arg2, arg3) { - wasm._dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h69c59dff166c4fe5(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3)); +function __wbg_adapter_43(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h59ec50822c9fcd00(arg0, arg1); } function __wbg_adapter_48(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5684c7c464516349(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6b3aeca10211c07c(arg0, arg1, addHeapObject(arg2)); } function __wbg_adapter_51(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6415da95665282b7(arg0, arg1, addHeapObject(arg2)); + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h28ee92001b6c7b0b(arg0, arg1, addHeapObject(arg2)); } -function __wbg_adapter_56(arg0, arg1, arg2) { - wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0d161f41e6da44f2(arg0, arg1, addHeapObject(arg2)); +function __wbg_adapter_56(arg0, arg1) { + wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c3eafc559b6bb20(arg0, arg1); } -function __wbg_adapter_67(arg0, arg1) { - wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h093bea355fc93399(arg0, arg1); +function __wbg_adapter_59(arg0, arg1, arg2) { + wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h064e1c95db1703ec(arg0, arg1, addHeapObject(arg2)); } function handleError(f, args) { @@ -449,10 +449,6 @@ function __wbg_get_imports() { imports.wbg.__wbg_requestPointerLock_78b2a4a24cb69366 = function(arg0) { getObject(arg0).requestPointerLock(); }; - imports.wbg.__wbg_matchMedia_66bb21e3ef19270c = function() { return handleError(function (arg0, arg1, arg2) { - const ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2)); - return isLikeNone(ret) ? 0 : addHeapObject(ret); - }, arguments) }; imports.wbg.__wbg_matches_e14ed9ff8291cf24 = function(arg0) { const ret = getObject(arg0).matches; return ret; @@ -461,6 +457,10 @@ function __wbg_get_imports() { const ret = getObject(arg0).devicePixelRatio; return ret; }; + imports.wbg.__wbg_matchMedia_66bb21e3ef19270c = function() { return handleError(function (arg0, arg1, arg2) { + const ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2)); + return isLikeNone(ret) ? 0 : addHeapObject(ret); + }, arguments) }; imports.wbg.__wbg_focus_39d4b8ba8ff9df14 = function() { return handleError(function (arg0) { getObject(arg0).focus(); }, arguments) }; @@ -1616,76 +1616,76 @@ function __wbg_get_imports() { const ret = getObject(arg0).webkitFullscreenElement; return isLikeNone(ret) ? 0 : addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper6818 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 4806, __wbg_adapter_28); + imports.wbg.__wbindgen_closure_wrapper6789 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 4775, __wbg_adapter_28); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper34378 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28357, __wbg_adapter_31); + imports.wbg.__wbindgen_closure_wrapper34291 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 28255, __wbg_adapter_31); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper34380 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28357, __wbg_adapter_34); + imports.wbg.__wbindgen_closure_wrapper34293 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 28255, __wbg_adapter_34); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper34382 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28357, __wbg_adapter_31); + imports.wbg.__wbindgen_closure_wrapper34295 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 28255, __wbg_adapter_34); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper34384 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28357, __wbg_adapter_31); + imports.wbg.__wbindgen_closure_wrapper34297 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 28255, __wbg_adapter_34); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper34386 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28357, __wbg_adapter_31); + imports.wbg.__wbindgen_closure_wrapper34299 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 28255, __wbg_adapter_34); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper34388 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28357, __wbg_adapter_31); + imports.wbg.__wbindgen_closure_wrapper34301 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 28255, __wbg_adapter_43); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper34390 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 28357, __wbg_adapter_45); + imports.wbg.__wbindgen_closure_wrapper34303 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 28255, __wbg_adapter_34); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper40290 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30672, __wbg_adapter_48); + imports.wbg.__wbindgen_closure_wrapper40124 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30489, __wbg_adapter_48); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41056 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30696, __wbg_adapter_51); + imports.wbg.__wbindgen_closure_wrapper40889 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30512, __wbg_adapter_51); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41058 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30696, __wbg_adapter_51); + imports.wbg.__wbindgen_closure_wrapper40891 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30512, __wbg_adapter_51); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41784 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30979, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41614 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30792, __wbg_adapter_56); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41786 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30979, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41616 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30792, __wbg_adapter_59); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41788 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30979, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41618 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30792, __wbg_adapter_59); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41790 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30979, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41620 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30792, __wbg_adapter_59); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41792 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30979, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41622 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30792, __wbg_adapter_59); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41794 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30979, __wbg_adapter_67); + imports.wbg.__wbindgen_closure_wrapper41624 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30792, __wbg_adapter_59); return addHeapObject(ret); }; - imports.wbg.__wbindgen_closure_wrapper41796 = function(arg0, arg1, arg2) { - const ret = makeMutClosure(arg0, arg1, 30979, __wbg_adapter_56); + imports.wbg.__wbindgen_closure_wrapper41626 = function(arg0, arg1, arg2) { + const ret = makeMutClosure(arg0, arg1, 30792, __wbg_adapter_59); return addHeapObject(ret); }; diff --git a/out/viewer_bg.wasm b/out/viewer_bg.wasm index b54168db..e5cfea26 100644 Binary files a/out/viewer_bg.wasm and b/out/viewer_bg.wasm differ diff --git a/out/viewer_bg.wasm.d.ts b/out/viewer_bg.wasm.d.ts index 289cfc69..bfb7de45 100644 --- a/out/viewer_bg.wasm.d.ts +++ b/out/viewer_bg.wasm.d.ts @@ -5,14 +5,14 @@ export function main(a: number, b: number): number; 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__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5236ea3dc9c0683b(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0b9283235beb4116(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h68c0df676b7a79f6(a: number, b: number): void; -export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h69c59dff166c4fe5(a: number, b: number, c: number, d: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h5684c7c464516349(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6415da95665282b7(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0d161f41e6da44f2(a: number, b: number, c: number): void; -export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h093bea355fc93399(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf3c3ee9248f8db90(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A_B___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he3ec49e7b027ca2c(a: number, b: number, c: number, d: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f267e459678c1fa(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h59ec50822c9fcd00(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h6b3aeca10211c07c(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h28ee92001b6c7b0b(a: number, b: number, c: number): void; +export function _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3c3eafc559b6bb20(a: number, b: number): void; +export function _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h064e1c95db1703ec(a: number, b: number, c: number): void; export function __wbindgen_free(a: number, b: number, c: number): void; export function __wbindgen_exn_store(a: number): void; export function __wbindgen_start(): void;