mirror of https://github.com/emilk/egui.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1463 lines
61 KiB
1463 lines
61 KiB
let wasm_bindgen;
|
|
(function() {
|
|
const __exports = {};
|
|
let wasm;
|
|
|
|
const heap = new Array(32).fill(undefined);
|
|
|
|
heap.push(undefined, null, true, false);
|
|
|
|
function getObject(idx) { return heap[idx]; }
|
|
|
|
let heap_next = heap.length;
|
|
|
|
function dropObject(idx) {
|
|
if (idx < 36) return;
|
|
heap[idx] = heap_next;
|
|
heap_next = idx;
|
|
}
|
|
|
|
function takeObject(idx) {
|
|
const ret = getObject(idx);
|
|
dropObject(idx);
|
|
return ret;
|
|
}
|
|
|
|
let WASM_VECTOR_LEN = 0;
|
|
|
|
let cachegetUint8Memory0 = null;
|
|
function getUint8Memory0() {
|
|
if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {
|
|
cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);
|
|
}
|
|
return cachegetUint8Memory0;
|
|
}
|
|
|
|
let cachedTextEncoder = new TextEncoder('utf-8');
|
|
|
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
? function (arg, view) {
|
|
return cachedTextEncoder.encodeInto(arg, view);
|
|
}
|
|
: function (arg, view) {
|
|
const buf = cachedTextEncoder.encode(arg);
|
|
view.set(buf);
|
|
return {
|
|
read: arg.length,
|
|
written: buf.length
|
|
};
|
|
});
|
|
|
|
function passStringToWasm0(arg, malloc, realloc) {
|
|
|
|
if (realloc === undefined) {
|
|
const buf = cachedTextEncoder.encode(arg);
|
|
const ptr = malloc(buf.length);
|
|
getUint8Memory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
WASM_VECTOR_LEN = buf.length;
|
|
return ptr;
|
|
}
|
|
|
|
let len = arg.length;
|
|
let ptr = malloc(len);
|
|
|
|
const mem = getUint8Memory0();
|
|
|
|
let offset = 0;
|
|
|
|
for (; offset < len; offset++) {
|
|
const code = arg.charCodeAt(offset);
|
|
if (code > 0x7F) break;
|
|
mem[ptr + offset] = code;
|
|
}
|
|
|
|
if (offset !== len) {
|
|
if (offset !== 0) {
|
|
arg = arg.slice(offset);
|
|
}
|
|
ptr = realloc(ptr, len, len = offset + arg.length * 3);
|
|
const view = getUint8Memory0().subarray(ptr + offset, ptr + len);
|
|
const ret = encodeString(arg, view);
|
|
|
|
offset += ret.written;
|
|
}
|
|
|
|
WASM_VECTOR_LEN = offset;
|
|
return ptr;
|
|
}
|
|
|
|
function isLikeNone(x) {
|
|
return x === undefined || x === null;
|
|
}
|
|
|
|
let cachegetInt32Memory0 = null;
|
|
function getInt32Memory0() {
|
|
if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {
|
|
cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
}
|
|
return cachegetInt32Memory0;
|
|
}
|
|
|
|
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
|
|
cachedTextDecoder.decode();
|
|
|
|
function getStringFromWasm0(ptr, len) {
|
|
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
}
|
|
|
|
function addHeapObject(obj) {
|
|
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
const idx = heap_next;
|
|
heap_next = heap[idx];
|
|
|
|
heap[idx] = obj;
|
|
return idx;
|
|
}
|
|
|
|
let cachegetFloat64Memory0 = null;
|
|
function getFloat64Memory0() {
|
|
if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) {
|
|
cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
}
|
|
return cachegetFloat64Memory0;
|
|
}
|
|
|
|
function debugString(val) {
|
|
// primitive types
|
|
const type = typeof val;
|
|
if (type == 'number' || type == 'boolean' || val == null) {
|
|
return `${val}`;
|
|
}
|
|
if (type == 'string') {
|
|
return `"${val}"`;
|
|
}
|
|
if (type == 'symbol') {
|
|
const description = val.description;
|
|
if (description == null) {
|
|
return 'Symbol';
|
|
} else {
|
|
return `Symbol(${description})`;
|
|
}
|
|
}
|
|
if (type == 'function') {
|
|
const name = val.name;
|
|
if (typeof name == 'string' && name.length > 0) {
|
|
return `Function(${name})`;
|
|
} else {
|
|
return 'Function';
|
|
}
|
|
}
|
|
// objects
|
|
if (Array.isArray(val)) {
|
|
const length = val.length;
|
|
let debug = '[';
|
|
if (length > 0) {
|
|
debug += debugString(val[0]);
|
|
}
|
|
for(let i = 1; i < length; i++) {
|
|
debug += ', ' + debugString(val[i]);
|
|
}
|
|
debug += ']';
|
|
return debug;
|
|
}
|
|
// Test for built-in
|
|
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
let className;
|
|
if (builtInMatches.length > 1) {
|
|
className = builtInMatches[1];
|
|
} else {
|
|
// Failed to match the standard '[object ClassName]'
|
|
return toString.call(val);
|
|
}
|
|
if (className == 'Object') {
|
|
// we're a user defined class or Object
|
|
// JSON.stringify avoids problems with cycles, and is generally much
|
|
// easier than looping through ownProperties of `val`.
|
|
try {
|
|
return 'Object(' + JSON.stringify(val) + ')';
|
|
} catch (_) {
|
|
return 'Object';
|
|
}
|
|
}
|
|
// errors
|
|
if (val instanceof Error) {
|
|
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
}
|
|
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
return className;
|
|
}
|
|
|
|
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
const real = (...args) => {
|
|
// First up with a closure we increment the internal reference
|
|
// count. This ensures that the Rust closure environment won't
|
|
// be deallocated while we're invoking it.
|
|
state.cnt++;
|
|
const a = state.a;
|
|
state.a = 0;
|
|
try {
|
|
return f(a, state.b, ...args);
|
|
} finally {
|
|
if (--state.cnt === 0) {
|
|
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
|
|
|
|
} else {
|
|
state.a = a;
|
|
}
|
|
}
|
|
};
|
|
real.original = state;
|
|
|
|
return real;
|
|
}
|
|
function __wbg_adapter_30(arg0, arg1) {
|
|
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hedff1e3c1ca6c71c(arg0, arg1);
|
|
}
|
|
|
|
function __wbg_adapter_33(arg0, arg1, arg2) {
|
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d2f25dc91669030(arg0, arg1, addHeapObject(arg2));
|
|
}
|
|
|
|
function __wbg_adapter_36(arg0, arg1, arg2) {
|
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d2f25dc91669030(arg0, arg1, addHeapObject(arg2));
|
|
}
|
|
|
|
function __wbg_adapter_39(arg0, arg1, arg2) {
|
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d2f25dc91669030(arg0, arg1, addHeapObject(arg2));
|
|
}
|
|
|
|
function __wbg_adapter_42(arg0, arg1, arg2) {
|
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d2f25dc91669030(arg0, arg1, addHeapObject(arg2));
|
|
}
|
|
|
|
function __wbg_adapter_45(arg0, arg1, arg2) {
|
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d2f25dc91669030(arg0, arg1, addHeapObject(arg2));
|
|
}
|
|
|
|
function __wbg_adapter_48(arg0, arg1, arg2) {
|
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d2f25dc91669030(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__h1d2f25dc91669030(arg0, arg1, addHeapObject(arg2));
|
|
}
|
|
|
|
function __wbg_adapter_54(arg0, arg1) {
|
|
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he78f81eace0d019f(arg0, arg1);
|
|
}
|
|
|
|
function __wbg_adapter_57(arg0, arg1, arg2) {
|
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d2f25dc91669030(arg0, arg1, addHeapObject(arg2));
|
|
}
|
|
|
|
function __wbg_adapter_60(arg0, arg1, arg2) {
|
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h84e1489b515e3492(arg0, arg1, addHeapObject(arg2));
|
|
}
|
|
|
|
function makeClosure(arg0, arg1, dtor, f) {
|
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
const real = (...args) => {
|
|
// First up with a closure we increment the internal reference
|
|
// count. This ensures that the Rust closure environment won't
|
|
// be deallocated while we're invoking it.
|
|
state.cnt++;
|
|
try {
|
|
return f(state.a, state.b, ...args);
|
|
} finally {
|
|
if (--state.cnt === 0) {
|
|
wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
|
|
state.a = 0;
|
|
|
|
}
|
|
}
|
|
};
|
|
real.original = state;
|
|
|
|
return real;
|
|
}
|
|
function __wbg_adapter_63(arg0, arg1, arg2) {
|
|
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h72e381f5228369dd(arg0, arg1, addHeapObject(arg2));
|
|
}
|
|
|
|
function __wbg_adapter_66(arg0, arg1, arg2) {
|
|
wasm._dyn_core__ops__function__Fn__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h72e381f5228369dd(arg0, arg1, addHeapObject(arg2));
|
|
}
|
|
|
|
/**
|
|
* This is the entry-point for all the web-assembly.
|
|
* This is called once from the HTML.
|
|
* It loads the app, installs some callbacks, then returns.
|
|
* You can add more callbacks like this if you want to call in to your code.
|
|
* @param {string} canvas_id
|
|
*/
|
|
__exports.start = function(canvas_id) {
|
|
var ptr0 = passStringToWasm0(canvas_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
wasm.start(ptr0, len0);
|
|
};
|
|
|
|
function getArrayU8FromWasm0(ptr, len) {
|
|
return getUint8Memory0().subarray(ptr / 1, ptr / 1 + len);
|
|
}
|
|
|
|
function handleError(f, args) {
|
|
try {
|
|
return f.apply(this, args);
|
|
} catch (e) {
|
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
}
|
|
}
|
|
|
|
async function load(module, imports) {
|
|
if (typeof Response === 'function' && module instanceof Response) {
|
|
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
try {
|
|
return await WebAssembly.instantiateStreaming(module, imports);
|
|
|
|
} catch (e) {
|
|
if (module.headers.get('Content-Type') != 'application/wasm') {
|
|
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);
|
|
|
|
} else {
|
|
throw e;
|
|
}
|
|
}
|
|
}
|
|
|
|
const bytes = await module.arrayBuffer();
|
|
return await WebAssembly.instantiate(bytes, imports);
|
|
|
|
} else {
|
|
const instance = await WebAssembly.instantiate(module, imports);
|
|
|
|
if (instance instanceof WebAssembly.Instance) {
|
|
return { instance, module };
|
|
|
|
} else {
|
|
return instance;
|
|
}
|
|
}
|
|
}
|
|
|
|
async function init(input) {
|
|
if (typeof input === 'undefined') {
|
|
let src;
|
|
if (typeof document === 'undefined') {
|
|
src = location.href;
|
|
} else {
|
|
src = document.currentScript.src;
|
|
}
|
|
input = src.replace(/\.js$/, '_bg.wasm');
|
|
}
|
|
const imports = {};
|
|
imports.wbg = {};
|
|
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
takeObject(arg0);
|
|
};
|
|
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
const obj = takeObject(arg0).original;
|
|
if (obj.cnt-- == 1) {
|
|
obj.a = 0;
|
|
return true;
|
|
}
|
|
var ret = false;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
const obj = getObject(arg1);
|
|
var ret = typeof(obj) === 'string' ? obj : undefined;
|
|
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
var ret = getStringFromWasm0(arg0, arg1);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
const obj = getObject(arg1);
|
|
var ret = typeof(obj) === 'number' ? obj : undefined;
|
|
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
};
|
|
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
|
|
var ret = getObject(arg0);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
const v = getObject(arg0);
|
|
var ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_instanceof_WebGl2RenderingContext_56ad96bfac3f5531 = function(arg0) {
|
|
var ret = getObject(arg0) instanceof WebGL2RenderingContext;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_drawingBufferWidth_561b8beaef3111f5 = function(arg0) {
|
|
var ret = getObject(arg0).drawingBufferWidth;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_drawingBufferHeight_aa35759c7f962358 = function(arg0) {
|
|
var ret = getObject(arg0).drawingBufferHeight;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_bindVertexArray_52b8b2f5fd93d81d = function(arg0, arg1) {
|
|
getObject(arg0).bindVertexArray(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_bufferData_bba22fbe5dd1f1d6 = function(arg0, arg1, arg2, arg3) {
|
|
getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_bufferData_794d61d3c392fafd = function(arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).bufferData(arg1 >>> 0, getArrayU8FromWasm0(arg2, arg3), arg4 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_createVertexArray_d59135c0a43c410b = function(arg0) {
|
|
var ret = getObject(arg0).createVertexArray();
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_deleteVertexArray_385874f9e1499a3f = function(arg0, arg1) {
|
|
getObject(arg0).deleteVertexArray(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_texImage2D_29ea0a7f026e239b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9 === 0 ? undefined : getArrayU8FromWasm0(arg9, arg10));
|
|
}, arguments) };
|
|
imports.wbg.__wbg_activeTexture_0092956fa2eefd8c = function(arg0, arg1) {
|
|
getObject(arg0).activeTexture(arg1 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_attachShader_7faccaa7b5ac28a6 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
|
|
};
|
|
imports.wbg.__wbg_bindBuffer_4ece833dd10cac2f = function(arg0, arg1, arg2) {
|
|
getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
|
|
};
|
|
imports.wbg.__wbg_bindFramebuffer_48c4bf8ff82bf7e9 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
|
|
};
|
|
imports.wbg.__wbg_bindTexture_9d8ed0fcd83eb0a9 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
|
|
};
|
|
imports.wbg.__wbg_blendFunc_b254bb91838df1dd = function(arg0, arg1, arg2) {
|
|
getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_clear_4ce66c813d66e77d = function(arg0, arg1) {
|
|
getObject(arg0).clear(arg1 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_clearColor_71f96fd72a7646a6 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).clearColor(arg1, arg2, arg3, arg4);
|
|
};
|
|
imports.wbg.__wbg_compileShader_dd66d66a5a6481f3 = function(arg0, arg1) {
|
|
getObject(arg0).compileShader(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_createBuffer_5c5caa16032a81b7 = function(arg0) {
|
|
var ret = getObject(arg0).createBuffer();
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_createFramebuffer_9818fc04b4a38c18 = function(arg0) {
|
|
var ret = getObject(arg0).createFramebuffer();
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_createProgram_32d01a55e144b9fc = function(arg0) {
|
|
var ret = getObject(arg0).createProgram();
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_createShader_6e8eed55567fe1a6 = function(arg0, arg1) {
|
|
var ret = getObject(arg0).createShader(arg1 >>> 0);
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_createTexture_8f31e7386e22fc37 = function(arg0) {
|
|
var ret = getObject(arg0).createTexture();
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_deleteBuffer_de80b51d8166fddb = function(arg0, arg1) {
|
|
getObject(arg0).deleteBuffer(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_deleteFramebuffer_5f58ccb548438c57 = function(arg0, arg1) {
|
|
getObject(arg0).deleteFramebuffer(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_deleteProgram_3ec3c43f2cddde7f = function(arg0, arg1) {
|
|
getObject(arg0).deleteProgram(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_deleteTexture_a0632c71429795ac = function(arg0, arg1) {
|
|
getObject(arg0).deleteTexture(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_disable_b05e075ae54fa448 = function(arg0, arg1) {
|
|
getObject(arg0).disable(arg1 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_drawElements_a41bb53d39cd6297 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
|
|
};
|
|
imports.wbg.__wbg_enable_766e546395da5a5d = function(arg0, arg1) {
|
|
getObject(arg0).enable(arg1 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_enableVertexAttribArray_91da8d3cbe0c2bbd = function(arg0, arg1) {
|
|
getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_framebufferTexture2D_3da41a7f38e2c523 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);
|
|
};
|
|
imports.wbg.__wbg_getAttribLocation_5d304d390c7273f5 = function(arg0, arg1, arg2, arg3) {
|
|
var ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_getProgramInfoLog_18c849a5fa54e7b1 = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
|
|
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_getProgramParameter_80edd3cfbcf7cf1d = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_getShaderInfoLog_ba1de20c14b6fb63 = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
|
|
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_getShaderParameter_264d9ab5c13ece4d = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_getUniformLocation_77b2d89291f84289 = function(arg0, arg1, arg2, arg3) {
|
|
var ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_linkProgram_b84796e37364e5c9 = function(arg0, arg1) {
|
|
getObject(arg0).linkProgram(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_pixelStorei_a9b9b42ef01616b2 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
|
|
};
|
|
imports.wbg.__wbg_scissor_5802aaee71f2eb0e = function(arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).scissor(arg1, arg2, arg3, arg4);
|
|
};
|
|
imports.wbg.__wbg_shaderSource_18f45f93c05a8311 = function(arg0, arg1, arg2, arg3) {
|
|
getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
};
|
|
imports.wbg.__wbg_texParameteri_c54aab65b2f8cf6d = function(arg0, arg1, arg2, arg3) {
|
|
getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
};
|
|
imports.wbg.__wbg_uniform1i_e287345af4468e22 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).uniform1i(getObject(arg1), arg2);
|
|
};
|
|
imports.wbg.__wbg_uniform2f_f8d8e7662e0e0eb6 = function(arg0, arg1, arg2, arg3) {
|
|
getObject(arg0).uniform2f(getObject(arg1), arg2, arg3);
|
|
};
|
|
imports.wbg.__wbg_useProgram_c2fdf4a953d1128a = function(arg0, arg1) {
|
|
getObject(arg0).useProgram(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_vertexAttribPointer_76d558694fe81cd7 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
};
|
|
imports.wbg.__wbg_viewport_da0901eee69b9909 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).viewport(arg1, arg2, arg3, arg4);
|
|
};
|
|
imports.wbg.__wbg_instanceof_Window_c4b70662a0d2c5ec = function(arg0) {
|
|
var ret = getObject(arg0) instanceof Window;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_document_1c64944725c0d81d = function(arg0) {
|
|
var ret = getObject(arg0).document;
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_location_f98ad02632f88c43 = function(arg0) {
|
|
var ret = getObject(arg0).location;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_navigator_480e592af6ad365b = function(arg0) {
|
|
var ret = getObject(arg0).navigator;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_innerWidth_ef25c730fca132cf = function() { return handleError(function (arg0) {
|
|
var ret = getObject(arg0).innerWidth;
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_innerHeight_1b1217a63a77bf61 = function() { return handleError(function (arg0) {
|
|
var ret = getObject(arg0).innerHeight;
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_devicePixelRatio_d8c3852bb37f76bf = function(arg0) {
|
|
var ret = getObject(arg0).devicePixelRatio;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_performance_947628766699c5bb = function(arg0) {
|
|
var ret = getObject(arg0).performance;
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_speechSynthesis_c60292416ffe4406 = function() { return handleError(function (arg0) {
|
|
var ret = getObject(arg0).speechSynthesis;
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_localStorage_6775414303ab5085 = function() { return handleError(function (arg0) {
|
|
var ret = getObject(arg0).localStorage;
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_matchMedia_b95c474c6db67a60 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2));
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_open_5416e4448a959cfa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
var ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_requestAnimationFrame_71638ca922068239 = function() { return handleError(function (arg0, arg1) {
|
|
var ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
|
|
return ret;
|
|
}, arguments) };
|
|
imports.wbg.__wbg_fetch_cfe0d1dd786e9cd4 = function(arg0, arg1) {
|
|
var ret = getObject(arg0).fetch(getObject(arg1));
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_setInterval_ec2d9dc4a54a6566 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).setInterval(getObject(arg1), arg2);
|
|
return ret;
|
|
}, arguments) };
|
|
imports.wbg.__wbg_setTimeout_df66d951b1726b78 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
|
|
return ret;
|
|
}, arguments) };
|
|
imports.wbg.__wbg_addEventListener_52721772cc0a7f30 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
|
|
}, arguments) };
|
|
imports.wbg.__wbg_matches_76fae292b8cd60a6 = function(arg0) {
|
|
var ret = getObject(arg0).matches;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_now_559193109055ebad = function(arg0) {
|
|
var ret = getObject(arg0).now();
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_headers_4764f5445b6a6c89 = function(arg0) {
|
|
var ret = getObject(arg0).headers;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_newwithstrandinit_9b0fa00478c37287 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
var ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_identifier_87ee1c4654593a75 = function(arg0) {
|
|
var ret = getObject(arg0).identifier;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_pageX_e47dc88281930930 = function(arg0) {
|
|
var ret = getObject(arg0).pageX;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_pageY_b6b579adcea2948f = function(arg0) {
|
|
var ret = getObject(arg0).pageY;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_force_c47d39a3ad56c12f = function(arg0) {
|
|
var ret = getObject(arg0).force;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_instanceof_HtmlInputElement_8cafe5f30dfdb6bc = function(arg0) {
|
|
var ret = getObject(arg0) instanceof HTMLInputElement;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_setautofocus_5d3aec51de5021e2 = function(arg0, arg1) {
|
|
getObject(arg0).autofocus = arg1 !== 0;
|
|
};
|
|
imports.wbg.__wbg_setsize_9ec16303ce038acb = function(arg0, arg1) {
|
|
getObject(arg0).size = arg1 >>> 0;
|
|
};
|
|
imports.wbg.__wbg_value_0627d4b1c27534e6 = function(arg0, arg1) {
|
|
var ret = getObject(arg1).value;
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_setvalue_2459f62386b6967f = function(arg0, arg1, arg2) {
|
|
getObject(arg0).value = getStringFromWasm0(arg1, arg2);
|
|
};
|
|
imports.wbg.__wbg_items_0e0d8664cb0c227c = function(arg0) {
|
|
var ret = getObject(arg0).items;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_files_d148fafe4f8ef096 = function(arg0) {
|
|
var ret = getObject(arg0).files;
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_getData_a4934f84b4074e8b = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
var ret = getObject(arg1).getData(getStringFromWasm0(arg2, arg3));
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
}, arguments) };
|
|
imports.wbg.__wbg_length_b3892c671bcff0a9 = function(arg0) {
|
|
var ret = getObject(arg0).length;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_get_eb708b1d3ad92ce5 = function(arg0, arg1) {
|
|
var ret = getObject(arg0)[arg1 >>> 0];
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_type_7a49279491e15d0a = function(arg0, arg1) {
|
|
var ret = getObject(arg1).type;
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_preventDefault_9866c9fd51eecfb6 = function(arg0) {
|
|
getObject(arg0).preventDefault();
|
|
};
|
|
imports.wbg.__wbg_stopPropagation_ae76be6b0f664ee8 = function(arg0) {
|
|
getObject(arg0).stopPropagation();
|
|
};
|
|
imports.wbg.__wbg_length_a2870b8b80e120c3 = function(arg0) {
|
|
var ret = getObject(arg0).length;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_get_b84d80d476cf15e4 = function(arg0, arg1) {
|
|
var ret = getObject(arg0)[arg1 >>> 0];
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_speaking_6ee7e15af03f4ade = function(arg0) {
|
|
var ret = getObject(arg0).speaking;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_cancel_db8fc22aeb60a627 = function(arg0) {
|
|
getObject(arg0).cancel();
|
|
};
|
|
imports.wbg.__wbg_speak_a2c1dfdf7b0927fc = function(arg0, arg1) {
|
|
getObject(arg0).speak(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_length_1d27563e3515722e = function(arg0) {
|
|
var ret = getObject(arg0).length;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_item_a23b382195352a8a = function(arg0, arg1) {
|
|
var ret = getObject(arg0).item(arg1 >>> 0);
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_get_20b719b18767c76e = function(arg0, arg1) {
|
|
var ret = getObject(arg0)[arg1 >>> 0];
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_name_6af1a38f3edc1522 = function(arg0, arg1) {
|
|
var ret = getObject(arg1).name;
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_lastModified_c61609c3c6a0bd88 = function(arg0) {
|
|
var ret = getObject(arg0).lastModified;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_instanceof_HtmlCanvasElement_25d964a0dde6717e = function(arg0) {
|
|
var ret = getObject(arg0) instanceof HTMLCanvasElement;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_width_555f63ab09ba7d3f = function(arg0) {
|
|
var ret = getObject(arg0).width;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_setwidth_c1a7061891b71f25 = function(arg0, arg1) {
|
|
getObject(arg0).width = arg1 >>> 0;
|
|
};
|
|
imports.wbg.__wbg_height_7153faec70fbaf7b = function(arg0) {
|
|
var ret = getObject(arg0).height;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_setheight_88894b05710ff752 = function(arg0, arg1) {
|
|
getObject(arg0).height = arg1 >>> 0;
|
|
};
|
|
imports.wbg.__wbg_getContext_f701d0231ae22393 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_keyCode_490ed69472addfdc = function(arg0) {
|
|
var ret = getObject(arg0).keyCode;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_altKey_3dcb50d5afbc5036 = function(arg0) {
|
|
var ret = getObject(arg0).altKey;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_ctrlKey_fb62ba10b63b34a4 = function(arg0) {
|
|
var ret = getObject(arg0).ctrlKey;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_shiftKey_bd2875540e5db840 = function(arg0) {
|
|
var ret = getObject(arg0).shiftKey;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_metaKey_94ca09e07f21f240 = function(arg0) {
|
|
var ret = getObject(arg0).metaKey;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_isComposing_d05ebca75d81bc30 = function(arg0) {
|
|
var ret = getObject(arg0).isComposing;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_key_10dcaa4bb6d5449f = function(arg0, arg1) {
|
|
var ret = getObject(arg1).key;
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_clipboard_3dff7cff084c4be2 = function(arg0) {
|
|
var ret = getObject(arg0).clipboard;
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_userAgent_bdd46cceef222f52 = function() { return handleError(function (arg0, arg1) {
|
|
var ret = getObject(arg1).userAgent;
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
}, arguments) };
|
|
imports.wbg.__wbg_touches_3bcd168150040d19 = function(arg0) {
|
|
var ret = getObject(arg0).touches;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_changedTouches_d84714496e7f4712 = function(arg0) {
|
|
var ret = getObject(arg0).changedTouches;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_size_3d49b94127cdd6ed = function(arg0) {
|
|
var ret = getObject(arg0).size;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_arrayBuffer_e857fb358de5f814 = function(arg0) {
|
|
var ret = getObject(arg0).arrayBuffer();
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_width_d55d3698a2514ec1 = function(arg0) {
|
|
var ret = getObject(arg0).width;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_height_df08a93b45ce76ec = function(arg0) {
|
|
var ret = getObject(arg0).height;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_top_3946f8347860b55c = function(arg0) {
|
|
var ret = getObject(arg0).top;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_left_31cce57341292712 = function(arg0) {
|
|
var ret = getObject(arg0).left;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_appendChild_d318db34c4559916 = function() { return handleError(function (arg0, arg1) {
|
|
var ret = getObject(arg0).appendChild(getObject(arg1));
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_error_da56814eacf0ed82 = function(arg0) {
|
|
var ret = getObject(arg0).error;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_body_78ae4fd43b446013 = function(arg0) {
|
|
var ret = getObject(arg0).body;
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_createElement_86c152812a141a62 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_getElementById_f3e94458ce77f0d0 = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_setid_681bb5a14c3d5850 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).id = getStringFromWasm0(arg1, arg2);
|
|
};
|
|
imports.wbg.__wbg_scrollLeft_e79152b1f5d86671 = function(arg0) {
|
|
var ret = getObject(arg0).scrollLeft;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_clientWidth_4d9e01af2b5b9f21 = function(arg0) {
|
|
var ret = getObject(arg0).clientWidth;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_clientHeight_87c209f0cacf2e97 = function(arg0) {
|
|
var ret = getObject(arg0).clientHeight;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_getBoundingClientRect_2fba0402ea2a6ec4 = function(arg0) {
|
|
var ret = getObject(arg0).getBoundingClientRect();
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_instanceof_WebGlRenderingContext_101b938bec1286a3 = function(arg0) {
|
|
var ret = getObject(arg0) instanceof WebGLRenderingContext;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_drawingBufferWidth_8b0c2b31d9d6eee7 = function(arg0) {
|
|
var ret = getObject(arg0).drawingBufferWidth;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_drawingBufferHeight_f62678018bab567c = function(arg0) {
|
|
var ret = getObject(arg0).drawingBufferHeight;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_bufferData_6beb22ecb30c1316 = function(arg0, arg1, arg2, arg3) {
|
|
getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_bufferData_2f9be23b37e5a1a4 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).bufferData(arg1 >>> 0, getArrayU8FromWasm0(arg2, arg3), arg4 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_texImage2D_712c56fe5a9825ed = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10) {
|
|
getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9 === 0 ? undefined : getArrayU8FromWasm0(arg9, arg10));
|
|
}, arguments) };
|
|
imports.wbg.__wbg_activeTexture_b34aca0c2110966c = function(arg0, arg1) {
|
|
getObject(arg0).activeTexture(arg1 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_attachShader_eaa824fd5b37a770 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
|
|
};
|
|
imports.wbg.__wbg_bindBuffer_2ca7e1c18819ecb2 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
|
|
};
|
|
imports.wbg.__wbg_bindFramebuffer_c9f468afa9d42a5f = function(arg0, arg1, arg2) {
|
|
getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
|
|
};
|
|
imports.wbg.__wbg_bindTexture_edd827f3dba6038e = function(arg0, arg1, arg2) {
|
|
getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
|
|
};
|
|
imports.wbg.__wbg_blendFunc_d5ab9f0ff5a40a48 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_clear_da26620d46f0a11a = function(arg0, arg1) {
|
|
getObject(arg0).clear(arg1 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_clearColor_cbf22f8faa5a52c1 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).clearColor(arg1, arg2, arg3, arg4);
|
|
};
|
|
imports.wbg.__wbg_compileShader_8fb70a472f32552c = function(arg0, arg1) {
|
|
getObject(arg0).compileShader(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_createBuffer_4802e2f0e1b1acdf = function(arg0) {
|
|
var ret = getObject(arg0).createBuffer();
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_createFramebuffer_0157699cdc720b46 = function(arg0) {
|
|
var ret = getObject(arg0).createFramebuffer();
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_createProgram_b1d94f4c7554d3a1 = function(arg0) {
|
|
var ret = getObject(arg0).createProgram();
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_createShader_da09e167692f0dc7 = function(arg0, arg1) {
|
|
var ret = getObject(arg0).createShader(arg1 >>> 0);
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_createTexture_bafc7c08393ae59d = function(arg0) {
|
|
var ret = getObject(arg0).createTexture();
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_deleteBuffer_9c31f3452ba32db1 = function(arg0, arg1) {
|
|
getObject(arg0).deleteBuffer(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_deleteFramebuffer_0f43513bd6c6d986 = function(arg0, arg1) {
|
|
getObject(arg0).deleteFramebuffer(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_deleteProgram_a2c849932f79e7af = function(arg0, arg1) {
|
|
getObject(arg0).deleteProgram(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_deleteTexture_82d755a5ac828346 = function(arg0, arg1) {
|
|
getObject(arg0).deleteTexture(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_disable_b07faddb7d04349f = function(arg0, arg1) {
|
|
getObject(arg0).disable(arg1 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_drawElements_8e8af4b6757fedce = function(arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
|
|
};
|
|
imports.wbg.__wbg_enable_d3d210aeb08eff52 = function(arg0, arg1) {
|
|
getObject(arg0).enable(arg1 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_enableVertexAttribArray_d539e547495bea44 = function(arg0, arg1) {
|
|
getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_framebufferTexture2D_923c6fc6645661bc = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);
|
|
};
|
|
imports.wbg.__wbg_getAttribLocation_706a0beabcdaebcf = function(arg0, arg1, arg2, arg3) {
|
|
var ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_getExtension_045789240c50a108 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_getParameter_6412bd2d0602696d = function() { return handleError(function (arg0, arg1) {
|
|
var ret = getObject(arg0).getParameter(arg1 >>> 0);
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_getProgramInfoLog_b60e82d52c200cbd = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
|
|
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_getProgramParameter_229c193895936bbe = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_getShaderInfoLog_ba51160c01b98360 = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
|
|
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_getShaderParameter_dadc55c10928575d = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_getUniformLocation_c3b3570b4632cc5c = function(arg0, arg1, arg2, arg3) {
|
|
var ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_linkProgram_7080c84b0233cea2 = function(arg0, arg1) {
|
|
getObject(arg0).linkProgram(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_pixelStorei_3cd96723ae22a5c6 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
|
|
};
|
|
imports.wbg.__wbg_scissor_35fe98c7da06091c = function(arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).scissor(arg1, arg2, arg3, arg4);
|
|
};
|
|
imports.wbg.__wbg_shaderSource_67b991301db003d0 = function(arg0, arg1, arg2, arg3) {
|
|
getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
|
|
};
|
|
imports.wbg.__wbg_texParameteri_bd724f6a5ad0cbbc = function(arg0, arg1, arg2, arg3) {
|
|
getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
};
|
|
imports.wbg.__wbg_uniform1i_0811c29c0eebe191 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).uniform1i(getObject(arg1), arg2);
|
|
};
|
|
imports.wbg.__wbg_uniform2f_c4c110dee7f069e7 = function(arg0, arg1, arg2, arg3) {
|
|
getObject(arg0).uniform2f(getObject(arg1), arg2, arg3);
|
|
};
|
|
imports.wbg.__wbg_useProgram_b72b0bfcbc720fa9 = function(arg0, arg1) {
|
|
getObject(arg0).useProgram(getObject(arg1));
|
|
};
|
|
imports.wbg.__wbg_vertexAttribPointer_b5cb524c6fe9eec8 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
|
|
};
|
|
imports.wbg.__wbg_viewport_89af3aceb7036a2c = function(arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).viewport(arg1, arg2, arg3, arg4);
|
|
};
|
|
imports.wbg.__wbg_error_cc38ce2b4b661e1d = function(arg0) {
|
|
console.error(getObject(arg0));
|
|
};
|
|
imports.wbg.__wbg_log_3445347661d4505e = function(arg0) {
|
|
console.log(getObject(arg0));
|
|
};
|
|
imports.wbg.__wbg_warn_5ec7c7c02d0b3841 = function(arg0) {
|
|
console.warn(getObject(arg0));
|
|
};
|
|
imports.wbg.__wbg_scrollTop_14114fee3506489f = function(arg0) {
|
|
var ret = getObject(arg0).scrollTop;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_hidden_cf2bd9859a26899c = function(arg0) {
|
|
var ret = getObject(arg0).hidden;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_sethidden_8e35dd2030c5f20a = function(arg0, arg1) {
|
|
getObject(arg0).hidden = arg1 !== 0;
|
|
};
|
|
imports.wbg.__wbg_style_c88e323890d3a091 = function(arg0) {
|
|
var ret = getObject(arg0).style;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_offsetTop_83b2934370041fae = function(arg0) {
|
|
var ret = getObject(arg0).offsetTop;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_offsetLeft_d6d050965faa87a8 = function(arg0) {
|
|
var ret = getObject(arg0).offsetLeft;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_offsetWidth_69cd6669725b154f = function(arg0) {
|
|
var ret = getObject(arg0).offsetWidth;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_blur_0bae1ed9ffb0b918 = function() { return handleError(function (arg0) {
|
|
getObject(arg0).blur();
|
|
}, arguments) };
|
|
imports.wbg.__wbg_focus_00530e359f44fc6e = function() { return handleError(function (arg0) {
|
|
getObject(arg0).focus();
|
|
}, arguments) };
|
|
imports.wbg.__wbg_setProperty_1460c660bc329763 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
}, arguments) };
|
|
imports.wbg.__wbg_hash_0fff5255cf3c317c = function() { return handleError(function (arg0, arg1) {
|
|
var ret = getObject(arg1).hash;
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
}, arguments) };
|
|
imports.wbg.__wbg_clientX_97ff0f5c7b19e687 = function(arg0) {
|
|
var ret = getObject(arg0).clientX;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_clientY_cacd4a7e44b9719b = function(arg0) {
|
|
var ret = getObject(arg0).clientY;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_ctrlKey_9761d22fa42f09c0 = function(arg0) {
|
|
var ret = getObject(arg0).ctrlKey;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_metaKey_e6b9e0aa35aa2974 = function(arg0) {
|
|
var ret = getObject(arg0).metaKey;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_button_a02c0467d38e8338 = function(arg0) {
|
|
var ret = getObject(arg0).button;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_getItem_77fb9d4666f3b93a = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
var ret = getObject(arg1).getItem(getStringFromWasm0(arg2, arg3));
|
|
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
}, arguments) };
|
|
imports.wbg.__wbg_setItem_b0c4561489dffecd = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
}, arguments) };
|
|
imports.wbg.__wbg_data_dbff09eb89176161 = function(arg0, arg1) {
|
|
var ret = getObject(arg1).data;
|
|
var ptr0 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_type_a6fcda966902940d = function(arg0, arg1) {
|
|
var ret = getObject(arg1).type;
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_set_5357fedb30848723 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
getObject(arg0).set(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
}, arguments) };
|
|
imports.wbg.__wbg_setvolume_44690b04c6d36880 = function(arg0, arg1) {
|
|
getObject(arg0).volume = arg1;
|
|
};
|
|
imports.wbg.__wbg_setrate_d7dded444361b3d7 = function(arg0, arg1) {
|
|
getObject(arg0).rate = arg1;
|
|
};
|
|
imports.wbg.__wbg_setpitch_43555959c1427b9f = function(arg0, arg1) {
|
|
getObject(arg0).pitch = arg1;
|
|
};
|
|
imports.wbg.__wbg_setonstart_69c389399994b82f = function(arg0, arg1) {
|
|
getObject(arg0).onstart = getObject(arg1);
|
|
};
|
|
imports.wbg.__wbg_setonend_e5383b79c37801e0 = function(arg0, arg1) {
|
|
getObject(arg0).onend = getObject(arg1);
|
|
};
|
|
imports.wbg.__wbg_setonerror_9a2a8daff49cf41b = function(arg0, arg1) {
|
|
getObject(arg0).onerror = getObject(arg1);
|
|
};
|
|
imports.wbg.__wbg_newwithtext_c86b8374216fcadc = function() { return handleError(function (arg0, arg1) {
|
|
var ret = new SpeechSynthesisUtterance(getStringFromWasm0(arg0, arg1));
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_deltaX_8cfc6cd15e97d97c = function(arg0) {
|
|
var ret = getObject(arg0).deltaX;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_deltaY_080604c20160c0e8 = function(arg0) {
|
|
var ret = getObject(arg0).deltaY;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_deltaMode_c5ec1ee518ea0a08 = function(arg0) {
|
|
var ret = getObject(arg0).deltaMode;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_writeText_3b86a6dbc18b261b = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).writeText(getStringFromWasm0(arg1, arg2));
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_clipboardData_d717f7cf398c0dd9 = function(arg0) {
|
|
var ret = getObject(arg0).clipboardData;
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_dataTransfer_ebba35c1049e694f = function(arg0) {
|
|
var ret = getObject(arg0).dataTransfer;
|
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_instanceof_Response_e1b11afbefa5b563 = function(arg0) {
|
|
var ret = getObject(arg0) instanceof Response;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_url_50e0bdb6051741be = function(arg0, arg1) {
|
|
var ret = getObject(arg1).url;
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_status_6d8bb444ddc5a7b2 = function(arg0) {
|
|
var ret = getObject(arg0).status;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_ok_270f6d403efe7e7b = function(arg0) {
|
|
var ret = getObject(arg0).ok;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_statusText_97740db9b8bb12e3 = function(arg0, arg1) {
|
|
var ret = getObject(arg1).statusText;
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbg_headers_5ffa990806e04cfc = function(arg0) {
|
|
var ret = getObject(arg0).headers;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_arrayBuffer_b8937ed04beb0d36 = function() { return handleError(function (arg0) {
|
|
var ret = getObject(arg0).arrayBuffer();
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_get_67189fe0b323d288 = function(arg0, arg1) {
|
|
var ret = getObject(arg0)[arg1 >>> 0];
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_length_42e02f5a04d67464 = function(arg0) {
|
|
var ret = getObject(arg0).length;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
var ret = typeof(getObject(arg0)) === 'function';
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_newnoargs_be86524d73f67598 = function(arg0, arg1) {
|
|
var ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
const val = getObject(arg0);
|
|
var ret = typeof(val) === 'object' && val !== null;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_next_c4151d46d5fa7097 = function(arg0) {
|
|
var ret = getObject(arg0).next;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_next_7720502039b96d00 = function() { return handleError(function (arg0) {
|
|
var ret = getObject(arg0).next();
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_done_b06cf0578e89ff68 = function(arg0) {
|
|
var ret = getObject(arg0).done;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_value_e74a542443d92451 = function(arg0) {
|
|
var ret = getObject(arg0).value;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_iterator_4fc4ce93e6b92958 = function() {
|
|
var ret = Symbol.iterator;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_get_4d0f21c2f823742e = function() { return handleError(function (arg0, arg1) {
|
|
var ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_call_888d259a5fefc347 = function() { return handleError(function (arg0, arg1) {
|
|
var ret = getObject(arg0).call(getObject(arg1));
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_new_0b83d3df67ecb33e = function() {
|
|
var ret = new Object();
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_getTime_10d33f4f2959e5dd = function(arg0) {
|
|
var ret = getObject(arg0).getTime();
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_getTimezoneOffset_d3e5a22a1b7fb1d8 = function(arg0) {
|
|
var ret = getObject(arg0).getTimezoneOffset();
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_new0_fd3a3a290b25cdac = function() {
|
|
var ret = new Date();
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_resolve_d23068002f584f22 = function(arg0) {
|
|
var ret = Promise.resolve(getObject(arg0));
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_then_2fcac196782070cc = function(arg0, arg1) {
|
|
var ret = getObject(arg0).then(getObject(arg1));
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_then_8c2d62e8ae5978f7 = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_self_c6fbdfc2918d5e58 = function() { return handleError(function () {
|
|
var ret = self.self;
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_window_baec038b5ab35c54 = function() { return handleError(function () {
|
|
var ret = window.window;
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_globalThis_3f735a5746d41fbd = function() { return handleError(function () {
|
|
var ret = globalThis.globalThis;
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbg_global_1bc0b39582740e95 = function() { return handleError(function () {
|
|
var ret = global.global;
|
|
return addHeapObject(ret);
|
|
}, arguments) };
|
|
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
var ret = getObject(arg0) === undefined;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_buffer_397eaa4d72ee94dd = function(arg0) {
|
|
var ret = getObject(arg0).buffer;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_new_99c38feff948285c = function(arg0) {
|
|
var ret = new Int16Array(getObject(arg0));
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_newwithbyteoffsetandlength_4b9b8c4e3f5adbff = function(arg0, arg1, arg2) {
|
|
var ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_new_a7ce447f15ff496f = function(arg0) {
|
|
var ret = new Uint8Array(getObject(arg0));
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_set_969ad0a60e51d320 = function(arg0, arg1, arg2) {
|
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
};
|
|
imports.wbg.__wbg_length_1eb8fc608a0d4cdb = function(arg0) {
|
|
var ret = getObject(arg0).length;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_new_8b45a9becdb89691 = function(arg0) {
|
|
var ret = new Float32Array(getObject(arg0));
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_subarray_5208d7c1876d9ee7 = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_subarray_8b658422a224f479 = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_subarray_9e3273b330900f8c = function(arg0, arg1, arg2) {
|
|
var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbg_instanceof_Memory_625744f21df3a5ec = function(arg0) {
|
|
var ret = getObject(arg0) instanceof WebAssembly.Memory;
|
|
return ret;
|
|
};
|
|
imports.wbg.__wbg_set_82a4e8a85e31ac42 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
var ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
return ret;
|
|
}, arguments) };
|
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
var ret = debugString(getObject(arg1));
|
|
var ptr0 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
var len0 = WASM_VECTOR_LEN;
|
|
getInt32Memory0()[arg0 / 4 + 1] = len0;
|
|
getInt32Memory0()[arg0 / 4 + 0] = ptr0;
|
|
};
|
|
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
};
|
|
imports.wbg.__wbindgen_rethrow = function(arg0) {
|
|
throw takeObject(arg0);
|
|
};
|
|
imports.wbg.__wbindgen_memory = function() {
|
|
var ret = wasm.memory;
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper1901 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_30);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper1902 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_33);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper1904 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_36);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper1906 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_39);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper1908 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_42);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper1911 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_45);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper1913 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_48);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper1915 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_51);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper1917 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_54);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper1919 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 720, __wbg_adapter_57);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper2113 = function(arg0, arg1, arg2) {
|
|
var ret = makeMutClosure(arg0, arg1, 823, __wbg_adapter_60);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper2179 = function(arg0, arg1, arg2) {
|
|
var ret = makeClosure(arg0, arg1, 871, __wbg_adapter_63);
|
|
return addHeapObject(ret);
|
|
};
|
|
imports.wbg.__wbindgen_closure_wrapper2181 = function(arg0, arg1, arg2) {
|
|
var ret = makeClosure(arg0, arg1, 871, __wbg_adapter_66);
|
|
return addHeapObject(ret);
|
|
};
|
|
|
|
if (typeof input === 'string' || (typeof Request === 'function' && input instanceof Request) || (typeof URL === 'function' && input instanceof URL)) {
|
|
input = fetch(input);
|
|
}
|
|
|
|
|
|
|
|
const { instance, module } = await load(await input, imports);
|
|
|
|
wasm = instance.exports;
|
|
init.__wbindgen_wasm_module = module;
|
|
|
|
return wasm;
|
|
}
|
|
|
|
wasm_bindgen = Object.assign(init, __exports);
|
|
|
|
})();
|
|
|