text: 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 cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
  
  cachedTextDecoder.decode();
  
  let cachegetUint8Memory0 = null;
  function getUint8Memory0() {
      if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== wasm.memory.buffer) {
          cachegetUint8Memory0 = new Uint8Array(wasm.memory.buffer);
      }
      return cachegetUint8Memory0;
  }
  
  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;
  }
  
  function isLikeNone(x) {
      return x === undefined || x === null;
  }
  
  let cachegetFloat64Memory0 = null;
  function getFloat64Memory0() {
      if (cachegetFloat64Memory0 === null || cachegetFloat64Memory0.buffer !== wasm.memory.buffer) {
          cachegetFloat64Memory0 = new Float64Array(wasm.memory.buffer);
      }
      return cachegetFloat64Memory0;
  }
  
  let cachegetInt32Memory0 = null;
  function getInt32Memory0() {
      if (cachegetInt32Memory0 === null || cachegetInt32Memory0.buffer !== wasm.memory.buffer) {
          cachegetInt32Memory0 = new Int32Array(wasm.memory.buffer);
      }
      return cachegetInt32Memory0;
  }
  
  let WASM_VECTOR_LEN = 0;
  
  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 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_24(arg0, arg1) {
      try {
          const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
          wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0f334cbc2ad53ba6(retptr, arg0, arg1);
          var r0 = getInt32Memory0()[retptr / 4 + 0];
          var r1 = getInt32Memory0()[retptr / 4 + 1];
          if (r1) {
              throw takeObject(r0);
          }
      } finally {
          wasm.__wbindgen_add_to_stack_pointer(16);
      }
  }
  
  function __wbg_adapter_27(arg0, arg1, arg2) {
      wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b182722273a7761(arg0, arg1, addHeapObject(arg2));
  }
  
  function __wbg_adapter_30(arg0, arg1, arg2) {
      wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b182722273a7761(arg0, arg1, addHeapObject(arg2));
  }
  
  function __wbg_adapter_33(arg0, arg1) {
      wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1701c98aa6bcf495(arg0, arg1);
  }
  
  function __wbg_adapter_36(arg0, arg1, arg2) {
      wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h3b182722273a7761(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__h3b182722273a7761(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__h3b182722273a7761(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__h3b182722273a7761(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__h3b182722273a7761(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__h4a1fa0a5c9e9b528(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) {
      try {
          const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
          var ptr0 = passStringToWasm0(canvas_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
          var len0 = WASM_VECTOR_LEN;
          wasm.start(retptr, ptr0, len0);
          var r0 = getInt32Memory0()[retptr / 4 + 0];
          var r1 = getInt32Memory0()[retptr / 4 + 1];
          if (r1) {
              throw takeObject(r0);
          }
      } finally {
          wasm.__wbindgen_add_to_stack_pointer(16);
      }
  };
  
  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_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_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_object_clone_ref = function(arg0) {
          var ret = getObject(arg0);
          return addHeapObject(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_boolean_get = function(arg0) {
          const v = getObject(arg0);
          var ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
          return ret;
      };
      imports.wbg.__wbg_instanceof_WebGl2RenderingContext_df519ebc1fd4a55f = function(arg0) {
          var ret = getObject(arg0) instanceof WebGL2RenderingContext;
          return ret;
      };
      imports.wbg.__wbg_drawingBufferWidth_71d8fc09f0e9f69f = function(arg0) {
          var ret = getObject(arg0).drawingBufferWidth;
          return ret;
      };
      imports.wbg.__wbg_drawingBufferHeight_6eb26c267e6b86e7 = function(arg0) {
          var ret = getObject(arg0).drawingBufferHeight;
          return ret;
      };
      imports.wbg.__wbg_bindVertexArray_8020efc46272d6b1 = function(arg0, arg1) {
          getObject(arg0).bindVertexArray(getObject(arg1));
      };
      imports.wbg.__wbg_bufferData_17b90d9499ee7889 = function(arg0, arg1, arg2, arg3) {
          getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
      };
      imports.wbg.__wbg_bufferData_2b2006d269bd7f65 = function(arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).bufferData(arg1 >>> 0, getArrayU8FromWasm0(arg2, arg3), arg4 >>> 0);
      };
      imports.wbg.__wbg_createVertexArray_ccfd68f784dda58d = function(arg0) {
          var ret = getObject(arg0).createVertexArray();
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_deleteVertexArray_431b44dad4d908dc = function(arg0, arg1) {
          getObject(arg0).deleteVertexArray(getObject(arg1));
      };
      imports.wbg.__wbg_texImage2D_8e3d1e2fc4b9cf89 = 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_e07e910acea70faa = function(arg0, arg1) {
          getObject(arg0).activeTexture(arg1 >>> 0);
      };
      imports.wbg.__wbg_attachShader_2e252ab2fda53d9b = function(arg0, arg1, arg2) {
          getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
      };
      imports.wbg.__wbg_bindBuffer_612af2c0d1623df9 = function(arg0, arg1, arg2) {
          getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
      };
      imports.wbg.__wbg_bindFramebuffer_f79f98a252b25421 = function(arg0, arg1, arg2) {
          getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
      };
      imports.wbg.__wbg_bindTexture_5de299363180ad48 = function(arg0, arg1, arg2) {
          getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
      };
      imports.wbg.__wbg_blendFunc_a1fda75b5cf06b09 = function(arg0, arg1, arg2) {
          getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
      };
      imports.wbg.__wbg_clear_4c5eed385310e256 = function(arg0, arg1) {
          getObject(arg0).clear(arg1 >>> 0);
      };
      imports.wbg.__wbg_clearColor_d9d486c5ff20404c = function(arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).clearColor(arg1, arg2, arg3, arg4);
      };
      imports.wbg.__wbg_compileShader_e224e94272352503 = function(arg0, arg1) {
          getObject(arg0).compileShader(getObject(arg1));
      };
      imports.wbg.__wbg_createBuffer_564dc1c3c3f058b7 = function(arg0) {
          var ret = getObject(arg0).createBuffer();
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_createFramebuffer_ca860b7155b412f2 = function(arg0) {
          var ret = getObject(arg0).createFramebuffer();
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_createProgram_e9fa1d7669773667 = function(arg0) {
          var ret = getObject(arg0).createProgram();
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_createShader_03233922e9b5ebf2 = function(arg0, arg1) {
          var ret = getObject(arg0).createShader(arg1 >>> 0);
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_createTexture_7ee50a5b223f0511 = function(arg0) {
          var ret = getObject(arg0).createTexture();
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_deleteBuffer_50cb909fb6b297dd = function(arg0, arg1) {
          getObject(arg0).deleteBuffer(getObject(arg1));
      };
      imports.wbg.__wbg_deleteFramebuffer_72ef4c95df2569e4 = function(arg0, arg1) {
          getObject(arg0).deleteFramebuffer(getObject(arg1));
      };
      imports.wbg.__wbg_deleteProgram_0d4952ded7ec132a = function(arg0, arg1) {
          getObject(arg0).deleteProgram(getObject(arg1));
      };
      imports.wbg.__wbg_deleteTexture_b4643da89823c0c1 = function(arg0, arg1) {
          getObject(arg0).deleteTexture(getObject(arg1));
      };
      imports.wbg.__wbg_disable_e61fb08d6c7131e4 = function(arg0, arg1) {
          getObject(arg0).disable(arg1 >>> 0);
      };
      imports.wbg.__wbg_drawElements_8f3cfd28610fd46e = function(arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
      };
      imports.wbg.__wbg_enable_8e888a63831a3fe5 = function(arg0, arg1) {
          getObject(arg0).enable(arg1 >>> 0);
      };
      imports.wbg.__wbg_enableVertexAttribArray_d1b2636395bdaa7a = function(arg0, arg1) {
          getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
      };
      imports.wbg.__wbg_framebufferTexture2D_ceadbfd128a6e565 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
          getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);
      };
      imports.wbg.__wbg_getAttribLocation_7f79c73e983e47cd = function(arg0, arg1, arg2, arg3) {
          var ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
          return ret;
      };
      imports.wbg.__wbg_getProgramInfoLog_dbd8d8cedcc8cdcc = 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_4b9d43902599c2d2 = function(arg0, arg1, arg2) {
          var ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_getShaderInfoLog_5aab05280bd0fe1b = 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_e5f7e371d4eec000 = function(arg0, arg1, arg2) {
          var ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_getUniformLocation_9541edb0d39d1646 = 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_116382e2dc17af64 = function(arg0, arg1) {
          getObject(arg0).linkProgram(getObject(arg1));
      };
      imports.wbg.__wbg_pixelStorei_ea8cf13cf2f14a47 = function(arg0, arg1, arg2) {
          getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
      };
      imports.wbg.__wbg_scissor_826e824cb569eebc = function(arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).scissor(arg1, arg2, arg3, arg4);
      };
      imports.wbg.__wbg_shaderSource_0066bb6817bf9e88 = function(arg0, arg1, arg2, arg3) {
          getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
      };
      imports.wbg.__wbg_texParameteri_52fb3e85a6d2c636 = function(arg0, arg1, arg2, arg3) {
          getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
      };
      imports.wbg.__wbg_uniform1i_a6ce351ee8cef296 = function(arg0, arg1, arg2) {
          getObject(arg0).uniform1i(getObject(arg1), arg2);
      };
      imports.wbg.__wbg_uniform2f_84c79c4f8bb2428e = function(arg0, arg1, arg2, arg3) {
          getObject(arg0).uniform2f(getObject(arg1), arg2, arg3);
      };
      imports.wbg.__wbg_useProgram_de22d1e01c430663 = function(arg0, arg1) {
          getObject(arg0).useProgram(getObject(arg1));
      };
      imports.wbg.__wbg_vertexAttribPointer_4e139167926d5080 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
          getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
      };
      imports.wbg.__wbg_viewport_caffbaa3e8b9568b = function(arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).viewport(arg1, arg2, arg3, arg4);
      };
      imports.wbg.__wbg_instanceof_Window_434ce1849eb4e0fc = function(arg0) {
          var ret = getObject(arg0) instanceof Window;
          return ret;
      };
      imports.wbg.__wbg_document_5edd43643d1060d9 = function(arg0) {
          var ret = getObject(arg0).document;
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_location_11472bb76bf5bbca = function(arg0) {
          var ret = getObject(arg0).location;
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_navigator_0e0588c949560476 = function(arg0) {
          var ret = getObject(arg0).navigator;
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_innerWidth_405786923c1d2641 = function() { return handleError(function (arg0) {
          var ret = getObject(arg0).innerWidth;
          return addHeapObject(ret);
      }, arguments) };
      imports.wbg.__wbg_innerHeight_25d3be0d129329c3 = function() { return handleError(function (arg0) {
          var ret = getObject(arg0).innerHeight;
          return addHeapObject(ret);
      }, arguments) };
      imports.wbg.__wbg_devicePixelRatio_9632545370d525ae = function(arg0) {
          var ret = getObject(arg0).devicePixelRatio;
          return ret;
      };
      imports.wbg.__wbg_performance_bbca4ccfaef860b2 = function(arg0) {
          var ret = getObject(arg0).performance;
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_localStorage_2b7091e6919605e2 = function() { return handleError(function (arg0) {
          var ret = getObject(arg0).localStorage;
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      }, arguments) };
      imports.wbg.__wbg_matchMedia_646cf522f15a60a9 = 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_67fbcd7373a90ddc = 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_0c71cd3c6779a371 = function() { return handleError(function (arg0, arg1) {
          var ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
          return ret;
      }, arguments) };
      imports.wbg.__wbg_setInterval_fcb622396840b607 = function() { return handleError(function (arg0, arg1, arg2) {
          var ret = getObject(arg0).setInterval(getObject(arg1), arg2);
          return ret;
      }, arguments) };
      imports.wbg.__wbg_setTimeout_1c75092906446b91 = function() { return handleError(function (arg0, arg1, arg2) {
          var ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
          return ret;
      }, arguments) };
      imports.wbg.__wbg_type_e32f387f5584c765 = 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_fa00541ff125b78c = function(arg0) {
          getObject(arg0).preventDefault();
      };
      imports.wbg.__wbg_stopPropagation_da586180676fa914 = function(arg0) {
          getObject(arg0).stopPropagation();
      };
      imports.wbg.__wbg_instanceof_HtmlCanvasElement_a6157e470d06b638 = function(arg0) {
          var ret = getObject(arg0) instanceof HTMLCanvasElement;
          return ret;
      };
      imports.wbg.__wbg_width_cfa982e2a6ad6297 = function(arg0) {
          var ret = getObject(arg0).width;
          return ret;
      };
      imports.wbg.__wbg_setwidth_362e8db8cbadbe96 = function(arg0, arg1) {
          getObject(arg0).width = arg1 >>> 0;
      };
      imports.wbg.__wbg_height_1b399500ca683487 = function(arg0) {
          var ret = getObject(arg0).height;
          return ret;
      };
      imports.wbg.__wbg_setheight_28f53831182cc410 = function(arg0, arg1) {
          getObject(arg0).height = arg1 >>> 0;
      };
      imports.wbg.__wbg_getContext_bd4e9445094eda84 = 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_8a05b1390fced3c8 = function(arg0) {
          var ret = getObject(arg0).keyCode;
          return ret;
      };
      imports.wbg.__wbg_altKey_773e7f8151c49bb1 = function(arg0) {
          var ret = getObject(arg0).altKey;
          return ret;
      };
      imports.wbg.__wbg_ctrlKey_8c7ff99be598479e = function(arg0) {
          var ret = getObject(arg0).ctrlKey;
          return ret;
      };
      imports.wbg.__wbg_shiftKey_894b631364d8db13 = function(arg0) {
          var ret = getObject(arg0).shiftKey;
          return ret;
      };
      imports.wbg.__wbg_metaKey_99a7d3732e1b7856 = function(arg0) {
          var ret = getObject(arg0).metaKey;
          return ret;
      };
      imports.wbg.__wbg_isComposing_b892666abf384da9 = function(arg0) {
          var ret = getObject(arg0).isComposing;
          return ret;
      };
      imports.wbg.__wbg_key_7f10b1291a923361 = 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_name_9a61dbbdbfb2d0de = 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_0de23a8c5214f2fb = function(arg0) {
          var ret = getObject(arg0).lastModified;
          return ret;
      };
      imports.wbg.__wbg_touches_7397ce4df4dceded = function(arg0) {
          var ret = getObject(arg0).touches;
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_changedTouches_363278e8a9a95419 = function(arg0) {
          var ret = getObject(arg0).changedTouches;
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_width_079617995a2466be = function(arg0) {
          var ret = getObject(arg0).width;
          return ret;
      };
      imports.wbg.__wbg_height_ece90b0809f44f4d = function(arg0) {
          var ret = getObject(arg0).height;
          return ret;
      };
      imports.wbg.__wbg_top_a24b8b81afea659b = function(arg0) {
          var ret = getObject(arg0).top;
          return ret;
      };
      imports.wbg.__wbg_left_0e681cb8fd277739 = function(arg0) {
          var ret = getObject(arg0).left;
          return ret;
      };
      imports.wbg.__wbg_userAgent_3f63af8b4fe2331c = 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_appendChild_3fe5090c665d3bb4 = function() { return handleError(function (arg0, arg1) {
          var ret = getObject(arg0).appendChild(getObject(arg1));
          return addHeapObject(ret);
      }, arguments) };
      imports.wbg.__wbg_getItem_f92ef607397e96b1 = 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_279b13e5ad0b82cb = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
      }, arguments) };
      imports.wbg.__wbg_size_20c167ba9040b895 = function(arg0) {
          var ret = getObject(arg0).size;
          return ret;
      };
      imports.wbg.__wbg_arrayBuffer_8b5364ee9b393098 = function(arg0) {
          var ret = getObject(arg0).arrayBuffer();
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_hash_2f90ddae1e6efe5f = 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_data_9562112603a9aa89 = 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_setProperty_ebb06e7fa941d6a8 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
      }, arguments) };
      imports.wbg.__wbg_type_8bc3e57acd2158c9 = 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_clientX_849ccdf456d662ac = function(arg0) {
          var ret = getObject(arg0).clientX;
          return ret;
      };
      imports.wbg.__wbg_clientY_1aaff30fe0cd0876 = function(arg0) {
          var ret = getObject(arg0).clientY;
          return ret;
      };
      imports.wbg.__wbg_ctrlKey_4e536bedb069129f = function(arg0) {
          var ret = getObject(arg0).ctrlKey;
          return ret;
      };
      imports.wbg.__wbg_metaKey_0b396e35a4941247 = function(arg0) {
          var ret = getObject(arg0).metaKey;
          return ret;
      };
      imports.wbg.__wbg_button_a18f33eb55774d89 = function(arg0) {
          var ret = getObject(arg0).button;
          return ret;
      };
      imports.wbg.__wbg_deltaX_df228181f4d1a561 = function(arg0) {
          var ret = getObject(arg0).deltaX;
          return ret;
      };
      imports.wbg.__wbg_deltaY_afa6edde136e1500 = function(arg0) {
          var ret = getObject(arg0).deltaY;
          return ret;
      };
      imports.wbg.__wbg_deltaMode_ed9d7974a0c11323 = function(arg0) {
          var ret = getObject(arg0).deltaMode;
          return ret;
      };
      imports.wbg.__wbg_body_7538539844356c1c = function(arg0) {
          var ret = getObject(arg0).body;
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_createElement_d017b8d2af99bab9 = function() { return handleError(function (arg0, arg1, arg2) {
          var ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
          return addHeapObject(ret);
      }, arguments) };
      imports.wbg.__wbg_getElementById_b30e88aff96f66a1 = function(arg0, arg1, arg2) {
          var ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_setid_73be37238eaa05be = function(arg0, arg1, arg2) {
          getObject(arg0).id = getStringFromWasm0(arg1, arg2);
      };
      imports.wbg.__wbg_scrollLeft_e8aba47a94d12290 = function(arg0) {
          var ret = getObject(arg0).scrollLeft;
          return ret;
      };
      imports.wbg.__wbg_clientWidth_4c903f82634f2159 = function(arg0) {
          var ret = getObject(arg0).clientWidth;
          return ret;
      };
      imports.wbg.__wbg_clientHeight_cddbd2cef19a2cb1 = function(arg0) {
          var ret = getObject(arg0).clientHeight;
          return ret;
      };
      imports.wbg.__wbg_getBoundingClientRect_534c1b96b6e612d3 = function(arg0) {
          var ret = getObject(arg0).getBoundingClientRect();
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_instanceof_WebGlRenderingContext_2be4c068bf5f8362 = function(arg0) {
          var ret = getObject(arg0) instanceof WebGLRenderingContext;
          return ret;
      };
      imports.wbg.__wbg_drawingBufferWidth_0bffb3bee322d4ff = function(arg0) {
          var ret = getObject(arg0).drawingBufferWidth;
          return ret;
      };
      imports.wbg.__wbg_drawingBufferHeight_4ca7b7b942d7e887 = function(arg0) {
          var ret = getObject(arg0).drawingBufferHeight;
          return ret;
      };
      imports.wbg.__wbg_bufferData_85d635f32a990208 = function(arg0, arg1, arg2, arg3) {
          getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
      };
      imports.wbg.__wbg_bufferData_b6f1f72e6ee3e8c1 = function(arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).bufferData(arg1 >>> 0, getArrayU8FromWasm0(arg2, arg3), arg4 >>> 0);
      };
      imports.wbg.__wbg_texImage2D_d26bd916ff0956a1 = 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_74ed11a5c5d5af90 = function(arg0, arg1) {
          getObject(arg0).activeTexture(arg1 >>> 0);
      };
      imports.wbg.__wbg_attachShader_55dbe770f3ee32ca = function(arg0, arg1, arg2) {
          getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
      };
      imports.wbg.__wbg_bindBuffer_29d52e7bc48650c3 = function(arg0, arg1, arg2) {
          getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
      };
      imports.wbg.__wbg_bindFramebuffer_bd35ddd23765c7b6 = function(arg0, arg1, arg2) {
          getObject(arg0).bindFramebuffer(arg1 >>> 0, getObject(arg2));
      };
      imports.wbg.__wbg_bindTexture_198c816345baca83 = function(arg0, arg1, arg2) {
          getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
      };
      imports.wbg.__wbg_blendFunc_c8f1e0fb4467f57c = function(arg0, arg1, arg2) {
          getObject(arg0).blendFunc(arg1 >>> 0, arg2 >>> 0);
      };
      imports.wbg.__wbg_clear_2af1271959ec83d7 = function(arg0, arg1) {
          getObject(arg0).clear(arg1 >>> 0);
      };
      imports.wbg.__wbg_clearColor_51c4f69c743c3252 = function(arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).clearColor(arg1, arg2, arg3, arg4);
      };
      imports.wbg.__wbg_compileShader_3b5f9ef4c67a0777 = function(arg0, arg1) {
          getObject(arg0).compileShader(getObject(arg1));
      };
      imports.wbg.__wbg_createBuffer_c40f37e1348bb91f = function(arg0) {
          var ret = getObject(arg0).createBuffer();
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_createFramebuffer_410b12a5cc5a8f13 = function(arg0) {
          var ret = getObject(arg0).createFramebuffer();
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_createProgram_245520da1fb9e47b = function(arg0) {
          var ret = getObject(arg0).createProgram();
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_createShader_4d8818a13cb825b3 = function(arg0, arg1) {
          var ret = getObject(arg0).createShader(arg1 >>> 0);
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_createTexture_f3a6a715d6bada45 = function(arg0) {
          var ret = getObject(arg0).createTexture();
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_deleteBuffer_c708688b9e1b3518 = function(arg0, arg1) {
          getObject(arg0).deleteBuffer(getObject(arg1));
      };
      imports.wbg.__wbg_deleteFramebuffer_ca006f8649d4550a = function(arg0, arg1) {
          getObject(arg0).deleteFramebuffer(getObject(arg1));
      };
      imports.wbg.__wbg_deleteProgram_61cc7923289d1bbc = function(arg0, arg1) {
          getObject(arg0).deleteProgram(getObject(arg1));
      };
      imports.wbg.__wbg_deleteTexture_9159fb5927ed32c0 = function(arg0, arg1) {
          getObject(arg0).deleteTexture(getObject(arg1));
      };
      imports.wbg.__wbg_disable_2b63b75dc6c27537 = function(arg0, arg1) {
          getObject(arg0).disable(arg1 >>> 0);
      };
      imports.wbg.__wbg_drawElements_6e26500a25ecf478 = function(arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
      };
      imports.wbg.__wbg_enable_8f6dd779ccb8e1de = function(arg0, arg1) {
          getObject(arg0).enable(arg1 >>> 0);
      };
      imports.wbg.__wbg_enableVertexAttribArray_4ed5f91d0718bee1 = function(arg0, arg1) {
          getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
      };
      imports.wbg.__wbg_framebufferTexture2D_31643260e5b0b294 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
          getObject(arg0).framebufferTexture2D(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, getObject(arg4), arg5);
      };
      imports.wbg.__wbg_getAttribLocation_da5df7094096113d = function(arg0, arg1, arg2, arg3) {
          var ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
          return ret;
      };
      imports.wbg.__wbg_getExtension_c6ceee3244ee7f20 = 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_cf7a00ba1cbac0d3 = function() { return handleError(function (arg0, arg1) {
          var ret = getObject(arg0).getParameter(arg1 >>> 0);
          return addHeapObject(ret);
      }, arguments) };
      imports.wbg.__wbg_getProgramInfoLog_c253042b64e86027 = 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_4f698af0dda0a2d4 = function(arg0, arg1, arg2) {
          var ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_getShaderInfoLog_584794e3bcf1e19b = 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_64b1ffe576e5fa25 = function(arg0, arg1, arg2) {
          var ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_getUniformLocation_703972f150a46500 = 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_5fdd57237c761833 = function(arg0, arg1) {
          getObject(arg0).linkProgram(getObject(arg1));
      };
      imports.wbg.__wbg_pixelStorei_fab41fe53c557df3 = function(arg0, arg1, arg2) {
          getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
      };
      imports.wbg.__wbg_scissor_fb094c7db856e2a7 = function(arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).scissor(arg1, arg2, arg3, arg4);
      };
      imports.wbg.__wbg_shaderSource_173ab97288934a60 = function(arg0, arg1, arg2, arg3) {
          getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
      };
      imports.wbg.__wbg_texParameteri_caec5468f2a850c3 = function(arg0, arg1, arg2, arg3) {
          getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
      };
      imports.wbg.__wbg_uniform1i_a0275676828a22b6 = function(arg0, arg1, arg2) {
          getObject(arg0).uniform1i(getObject(arg1), arg2);
      };
      imports.wbg.__wbg_uniform2f_b0af46ba675f2c0d = function(arg0, arg1, arg2, arg3) {
          getObject(arg0).uniform2f(getObject(arg1), arg2, arg3);
      };
      imports.wbg.__wbg_useProgram_d5898a40ebe88916 = function(arg0, arg1) {
          getObject(arg0).useProgram(getObject(arg1));
      };
      imports.wbg.__wbg_vertexAttribPointer_0d097efa33e3f45f = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
          getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
      };
      imports.wbg.__wbg_viewport_19577064127daf83 = function(arg0, arg1, arg2, arg3, arg4) {
          getObject(arg0).viewport(arg1, arg2, arg3, arg4);
      };
      imports.wbg.__wbg_error_ca520cb687b085a1 = function(arg0) {
          console.error(getObject(arg0));
      };
      imports.wbg.__wbg_log_fbd13631356d44e4 = function(arg0) {
          console.log(getObject(arg0));
      };
      imports.wbg.__wbg_warn_97f10a6b0dbb8c5c = function(arg0) {
          console.warn(getObject(arg0));
      };
      imports.wbg.__wbg_scrollTop_5ebd5c6591748d6e = function(arg0) {
          var ret = getObject(arg0).scrollTop;
          return ret;
      };
      imports.wbg.__wbg_hidden_f7a620ec4ab18ce5 = function(arg0) {
          var ret = getObject(arg0).hidden;
          return ret;
      };
      imports.wbg.__wbg_sethidden_fdaefd7e7da7e4c0 = function(arg0, arg1) {
          getObject(arg0).hidden = arg1 !== 0;
      };
      imports.wbg.__wbg_style_16f5dd9624687c8f = function(arg0) {
          var ret = getObject(arg0).style;
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_offsetTop_45111254e7b26a1f = function(arg0) {
          var ret = getObject(arg0).offsetTop;
          return ret;
      };
      imports.wbg.__wbg_offsetLeft_be5393bf9eec5766 = function(arg0) {
          var ret = getObject(arg0).offsetLeft;
          return ret;
      };
      imports.wbg.__wbg_offsetWidth_bc683e2f57ea2d6b = function(arg0) {
          var ret = getObject(arg0).offsetWidth;
          return ret;
      };
      imports.wbg.__wbg_blur_2156876090506146 = function() { return handleError(function (arg0) {
          getObject(arg0).blur();
      }, arguments) };
      imports.wbg.__wbg_focus_4434360545ac99cf = function() { return handleError(function (arg0) {
          getObject(arg0).focus();
      }, arguments) };
      imports.wbg.__wbg_dataTransfer_bc4c0501385a0c8e = function(arg0) {
          var ret = getObject(arg0).dataTransfer;
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_addEventListener_6bdba88519fdc1c9 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
          getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
      }, arguments) };
      imports.wbg.__wbg_matches_a375878271bc2ba5 = function(arg0) {
          var ret = getObject(arg0).matches;
          return ret;
      };
      imports.wbg.__wbg_instanceof_HtmlInputElement_8969541a2a0bded0 = function(arg0) {
          var ret = getObject(arg0) instanceof HTMLInputElement;
          return ret;
      };
      imports.wbg.__wbg_setautofocus_a2ae37091dfbe4af = function(arg0, arg1) {
          getObject(arg0).autofocus = arg1 !== 0;
      };
      imports.wbg.__wbg_setsize_90d1034a7a757a50 = function(arg0, arg1) {
          getObject(arg0).size = arg1 >>> 0;
      };
      imports.wbg.__wbg_value_fc1c354d1a0e9714 = 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_ce4a23f487065c07 = function(arg0, arg1, arg2) {
          getObject(arg0).value = getStringFromWasm0(arg1, arg2);
      };
      imports.wbg.__wbg_items_d571f433ef73ee49 = function(arg0) {
          var ret = getObject(arg0).items;
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_files_a4192b4f5967317b = function(arg0) {
          var ret = getObject(arg0).files;
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_length_41b205f6892bf9d9 = function(arg0) {
          var ret = getObject(arg0).length;
          return ret;
      };
      imports.wbg.__wbg_get_bdec89fd60d07530 = function(arg0, arg1) {
          var ret = getObject(arg0)[arg1 >>> 0];
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_length_a2882c668bdf6488 = function(arg0) {
          var ret = getObject(arg0).length;
          return ret;
      };
      imports.wbg.__wbg_get_1c01a7682a9775bb = function(arg0, arg1) {
          var ret = getObject(arg0)[arg1 >>> 0];
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_now_5fa0ca001e042f8a = function(arg0) {
          var ret = getObject(arg0).now();
          return ret;
      };
      imports.wbg.__wbg_identifier_afa8b01d4d901685 = function(arg0) {
          var ret = getObject(arg0).identifier;
          return ret;
      };
      imports.wbg.__wbg_pageX_e0c8221ecfdb73d0 = function(arg0) {
          var ret = getObject(arg0).pageX;
          return ret;
      };
      imports.wbg.__wbg_pageY_32100ad7039a744e = function(arg0) {
          var ret = getObject(arg0).pageY;
          return ret;
      };
      imports.wbg.__wbg_force_8e51e1fec066aade = function(arg0) {
          var ret = getObject(arg0).force;
          return ret;
      };
      imports.wbg.__wbg_length_01a613025b5ffd74 = function(arg0) {
          var ret = getObject(arg0).length;
          return ret;
      };
      imports.wbg.__wbg_item_b192ab411bbfbb09 = function(arg0, arg1) {
          var ret = getObject(arg0).item(arg1 >>> 0);
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_get_a765dab923455e0d = function(arg0, arg1) {
          var ret = getObject(arg0)[arg1 >>> 0];
          return isLikeNone(ret) ? 0 : addHeapObject(ret);
      };
      imports.wbg.__wbg_newnoargs_f579424187aa1717 = function(arg0, arg1) {
          var ret = new Function(getStringFromWasm0(arg0, arg1));
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_call_89558c3e96703ca1 = function() { return handleError(function (arg0, arg1) {
          var ret = getObject(arg0).call(getObject(arg1));
          return addHeapObject(ret);
      }, arguments) };
      imports.wbg.__wbg_resolve_4f8f547f26b30b27 = function(arg0) {
          var ret = Promise.resolve(getObject(arg0));
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_then_a6860c82b90816ca = function(arg0, arg1) {
          var ret = getObject(arg0).then(getObject(arg1));
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_then_58a04e42527f52c6 = function(arg0, arg1, arg2) {
          var ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_self_e23d74ae45fb17d1 = function() { return handleError(function () {
          var ret = self.self;
          return addHeapObject(ret);
      }, arguments) };
      imports.wbg.__wbg_window_b4be7f48b24ac56e = function() { return handleError(function () {
          var ret = window.window;
          return addHeapObject(ret);
      }, arguments) };
      imports.wbg.__wbg_globalThis_d61b1f48a57191ae = function() { return handleError(function () {
          var ret = globalThis.globalThis;
          return addHeapObject(ret);
      }, arguments) };
      imports.wbg.__wbg_global_e7669da72fd7f239 = 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_5e74a88a1424a2e0 = function(arg0) {
          var ret = getObject(arg0).buffer;
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_new_15838c56ccce47ea = function(arg0) {
          var ret = new Int16Array(getObject(arg0));
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_new_e3b800e570795b3c = function(arg0) {
          var ret = new Uint8Array(getObject(arg0));
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_set_5b8081e9d002f0df = function(arg0, arg1, arg2) {
          getObject(arg0).set(getObject(arg1), arg2 >>> 0);
      };
      imports.wbg.__wbg_length_30803400a8f15c59 = function(arg0) {
          var ret = getObject(arg0).length;
          return ret;
      };
      imports.wbg.__wbg_new_f5438c0cea22a3aa = function(arg0) {
          var ret = new Float32Array(getObject(arg0));
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_subarray_3c3c0c910552e67a = function(arg0, arg1, arg2) {
          var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_subarray_a68f835ca2af506f = function(arg0, arg1, arg2) {
          var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_subarray_e729e242fb317565 = function(arg0, arg1, arg2) {
          var ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
          return addHeapObject(ret);
      };
      imports.wbg.__wbg_instanceof_Memory_1538207757858c9c = function(arg0) {
          var ret = getObject(arg0) instanceof WebAssembly.Memory;
          return ret;
      };
      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_memory = function() {
          var ret = wasm.memory;
          return addHeapObject(ret);
      };
      imports.wbg.__wbindgen_closure_wrapper599 = function(arg0, arg1, arg2) {
          var ret = makeMutClosure(arg0, arg1, 168, __wbg_adapter_24);
          return addHeapObject(ret);
      };
      imports.wbg.__wbindgen_closure_wrapper600 = function(arg0, arg1, arg2) {
          var ret = makeMutClosure(arg0, arg1, 168, __wbg_adapter_27);
          return addHeapObject(ret);
      };
      imports.wbg.__wbindgen_closure_wrapper602 = function(arg0, arg1, arg2) {
          var ret = makeMutClosure(arg0, arg1, 168, __wbg_adapter_30);
          return addHeapObject(ret);
      };
      imports.wbg.__wbindgen_closure_wrapper604 = function(arg0, arg1, arg2) {
          var ret = makeMutClosure(arg0, arg1, 168, __wbg_adapter_33);
          return addHeapObject(ret);
      };
      imports.wbg.__wbindgen_closure_wrapper606 = function(arg0, arg1, arg2) {
          var ret = makeMutClosure(arg0, arg1, 168, __wbg_adapter_36);
          return addHeapObject(ret);
      };
      imports.wbg.__wbindgen_closure_wrapper608 = function(arg0, arg1, arg2) {
          var ret = makeMutClosure(arg0, arg1, 168, __wbg_adapter_39);
          return addHeapObject(ret);
      };
      imports.wbg.__wbindgen_closure_wrapper610 = function(arg0, arg1, arg2) {
          var ret = makeMutClosure(arg0, arg1, 168, __wbg_adapter_42);
          return addHeapObject(ret);
      };
      imports.wbg.__wbindgen_closure_wrapper613 = function(arg0, arg1, arg2) {
          var ret = makeMutClosure(arg0, arg1, 168, __wbg_adapter_45);
          return addHeapObject(ret);
      };
      imports.wbg.__wbindgen_closure_wrapper615 = function(arg0, arg1, arg2) {
          var ret = makeMutClosure(arg0, arg1, 168, __wbg_adapter_48);
          return addHeapObject(ret);
      };
      imports.wbg.__wbindgen_closure_wrapper687 = function(arg0, arg1, arg2) {
          var ret = makeMutClosure(arg0, arg1, 199, __wbg_adapter_51);
          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);
  
  })();
  