diff options
| author | Tolmachev Igor <me@igorek.dev> | 2025-12-23 04:58:29 +0300 |
|---|---|---|
| committer | Tolmachev Igor <me@igorek.dev> | 2025-12-23 04:58:29 +0300 |
| commit | bfb5f7f25d4df103c2e34c334b7efb1d308f3df9 (patch) | |
| tree | 8bd1b6987eb7590157070e7682b53c8797a02cd4 | |
| parent | 23b87f51b39c76c768c58c3355597018ff884222 (diff) | |
| download | pages-bfb5f7f25d4df103c2e34c334b7efb1d308f3df9.tar.gz pages-bfb5f7f25d4df103c2e34c334b7efb1d308f3df9.zip | |
Year progress bar added
| -rw-r--r-- | year/index.html | 70 | ||||
| -rw-r--r-- | year/year_progress-d70083732ec3f92e.js | 1705 | ||||
| -rw-r--r-- | year/year_progress-d70083732ec3f92e_bg.wasm | bin | 0 -> 3091338 bytes |
3 files changed, 1775 insertions, 0 deletions
diff --git a/year/index.html b/year/index.html new file mode 100644 index 0000000..87e45a5 --- /dev/null +++ b/year/index.html | |||
| @@ -0,0 +1,70 @@ | |||
| 1 | <!doctype html> | ||
| 2 | <html lang="en"> | ||
| 3 | <head> | ||
| 4 | <meta charset="UTF-8" /> | ||
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| 6 | <title>Year progress</title> | ||
| 7 | |||
| 8 | <style> | ||
| 9 | html { | ||
| 10 | touch-action: manipulation; | ||
| 11 | } | ||
| 12 | |||
| 13 | @media (prefers-color-scheme: light) { | ||
| 14 | body { | ||
| 15 | background: #fff; | ||
| 16 | color: #000; | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | @media (prefers-color-scheme: dark) { | ||
| 21 | body { | ||
| 22 | background: #000; | ||
| 23 | color: #fff; | ||
| 24 | } | ||
| 25 | } | ||
| 26 | |||
| 27 | html, | ||
| 28 | body { | ||
| 29 | overflow: hidden; | ||
| 30 | margin: 0 !important; | ||
| 31 | padding: 0 !important; | ||
| 32 | height: 100%; | ||
| 33 | width: 100%; | ||
| 34 | } | ||
| 35 | |||
| 36 | canvas { | ||
| 37 | margin-right: auto; | ||
| 38 | margin-left: auto; | ||
| 39 | display: block; | ||
| 40 | position: absolute; | ||
| 41 | top: 0; | ||
| 42 | left: 0; | ||
| 43 | width: 100%; | ||
| 44 | height: 100%; | ||
| 45 | } | ||
| 46 | |||
| 47 | span { | ||
| 48 | position: absolute; | ||
| 49 | top: 50%; | ||
| 50 | left: 50%; | ||
| 51 | transform: translate(-50%, -50%); | ||
| 52 | } | ||
| 53 | </style> | ||
| 54 | <link rel="modulepreload" href="/year/year_progress-d70083732ec3f92e.js" crossorigin="anonymous" integrity="sha384-4isYq2LzlsmVmX6AOvUEX71JJnApZjv/FMzEaY8cykKkM1/zI1HScwDTPbn+X5tn"><link rel="preload" href="/year/year_progress-d70083732ec3f92e_bg.wasm" crossorigin="anonymous" integrity="sha384-9FQLwEOOqi455qswhml6h27RbL4iF53QEVv8Ckg72F2PoAO8r2ez1zZ8mUcBAFKo" as="fetch" type="application/wasm"></head> | ||
| 55 | <body> | ||
| 56 | <span>Loading...</span> | ||
| 57 | <canvas id="canvas"></canvas> | ||
| 58 | |||
| 59 | <script type="module"> | ||
| 60 | import init, * as bindings from '/year/year_progress-d70083732ec3f92e.js'; | ||
| 61 | const wasm = await init({ module_or_path: '/year/year_progress-d70083732ec3f92e_bg.wasm' }); | ||
| 62 | |||
| 63 | |||
| 64 | window.wasmBindings = bindings; | ||
| 65 | |||
| 66 | |||
| 67 | dispatchEvent(new CustomEvent("TrunkApplicationStarted", {detail: {wasm}})); | ||
| 68 | |||
| 69 | </script></body> | ||
| 70 | </html> | ||
diff --git a/year/year_progress-d70083732ec3f92e.js b/year/year_progress-d70083732ec3f92e.js new file mode 100644 index 0000000..2dae56b --- /dev/null +++ b/year/year_progress-d70083732ec3f92e.js | |||
| @@ -0,0 +1,1705 @@ | |||
| 1 | let wasm; | ||
| 2 | |||
| 3 | function addToExternrefTable0(obj) { | ||
| 4 | const idx = wasm.__externref_table_alloc(); | ||
| 5 | wasm.__wbindgen_externrefs.set(idx, obj); | ||
| 6 | return idx; | ||
| 7 | } | ||
| 8 | |||
| 9 | const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined') | ||
| 10 | ? { register: () => {}, unregister: () => {} } | ||
| 11 | : new FinalizationRegistry(state => state.dtor(state.a, state.b)); | ||
| 12 | |||
| 13 | function debugString(val) { | ||
| 14 | // primitive types | ||
| 15 | const type = typeof val; | ||
| 16 | if (type == 'number' || type == 'boolean' || val == null) { | ||
| 17 | return `${val}`; | ||
| 18 | } | ||
| 19 | if (type == 'string') { | ||
| 20 | return `"${val}"`; | ||
| 21 | } | ||
| 22 | if (type == 'symbol') { | ||
| 23 | const description = val.description; | ||
| 24 | if (description == null) { | ||
| 25 | return 'Symbol'; | ||
| 26 | } else { | ||
| 27 | return `Symbol(${description})`; | ||
| 28 | } | ||
| 29 | } | ||
| 30 | if (type == 'function') { | ||
| 31 | const name = val.name; | ||
| 32 | if (typeof name == 'string' && name.length > 0) { | ||
| 33 | return `Function(${name})`; | ||
| 34 | } else { | ||
| 35 | return 'Function'; | ||
| 36 | } | ||
| 37 | } | ||
| 38 | // objects | ||
| 39 | if (Array.isArray(val)) { | ||
| 40 | const length = val.length; | ||
| 41 | let debug = '['; | ||
| 42 | if (length > 0) { | ||
| 43 | debug += debugString(val[0]); | ||
| 44 | } | ||
| 45 | for(let i = 1; i < length; i++) { | ||
| 46 | debug += ', ' + debugString(val[i]); | ||
| 47 | } | ||
| 48 | debug += ']'; | ||
| 49 | return debug; | ||
| 50 | } | ||
| 51 | // Test for built-in | ||
| 52 | const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val)); | ||
| 53 | let className; | ||
| 54 | if (builtInMatches && builtInMatches.length > 1) { | ||
| 55 | className = builtInMatches[1]; | ||
| 56 | } else { | ||
| 57 | // Failed to match the standard '[object ClassName]' | ||
| 58 | return toString.call(val); | ||
| 59 | } | ||
| 60 | if (className == 'Object') { | ||
| 61 | // we're a user defined class or Object | ||
| 62 | // JSON.stringify avoids problems with cycles, and is generally much | ||
| 63 | // easier than looping through ownProperties of `val`. | ||
| 64 | try { | ||
| 65 | return 'Object(' + JSON.stringify(val) + ')'; | ||
| 66 | } catch (_) { | ||
| 67 | return 'Object'; | ||
| 68 | } | ||
| 69 | } | ||
| 70 | // errors | ||
| 71 | if (val instanceof Error) { | ||
| 72 | return `${val.name}: ${val.message}\n${val.stack}`; | ||
| 73 | } | ||
| 74 | // TODO we could test for more things here, like `Set`s and `Map`s. | ||
| 75 | return className; | ||
| 76 | } | ||
| 77 | |||
| 78 | function getArrayF32FromWasm0(ptr, len) { | ||
| 79 | ptr = ptr >>> 0; | ||
| 80 | return getFloat32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len); | ||
| 81 | } | ||
| 82 | |||
| 83 | function getArrayI16FromWasm0(ptr, len) { | ||
| 84 | ptr = ptr >>> 0; | ||
| 85 | return getInt16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len); | ||
| 86 | } | ||
| 87 | |||
| 88 | function getArrayI32FromWasm0(ptr, len) { | ||
| 89 | ptr = ptr >>> 0; | ||
| 90 | return getInt32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len); | ||
| 91 | } | ||
| 92 | |||
| 93 | function getArrayI8FromWasm0(ptr, len) { | ||
| 94 | ptr = ptr >>> 0; | ||
| 95 | return getInt8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len); | ||
| 96 | } | ||
| 97 | |||
| 98 | function getArrayU16FromWasm0(ptr, len) { | ||
| 99 | ptr = ptr >>> 0; | ||
| 100 | return getUint16ArrayMemory0().subarray(ptr / 2, ptr / 2 + len); | ||
| 101 | } | ||
| 102 | |||
| 103 | function getArrayU32FromWasm0(ptr, len) { | ||
| 104 | ptr = ptr >>> 0; | ||
| 105 | return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len); | ||
| 106 | } | ||
| 107 | |||
| 108 | function getArrayU8FromWasm0(ptr, len) { | ||
| 109 | ptr = ptr >>> 0; | ||
| 110 | return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len); | ||
| 111 | } | ||
| 112 | |||
| 113 | let cachedDataViewMemory0 = null; | ||
| 114 | function getDataViewMemory0() { | ||
| 115 | if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) { | ||
| 116 | cachedDataViewMemory0 = new DataView(wasm.memory.buffer); | ||
| 117 | } | ||
| 118 | return cachedDataViewMemory0; | ||
| 119 | } | ||
| 120 | |||
| 121 | let cachedFloat32ArrayMemory0 = null; | ||
| 122 | function getFloat32ArrayMemory0() { | ||
| 123 | if (cachedFloat32ArrayMemory0 === null || cachedFloat32ArrayMemory0.byteLength === 0) { | ||
| 124 | cachedFloat32ArrayMemory0 = new Float32Array(wasm.memory.buffer); | ||
| 125 | } | ||
| 126 | return cachedFloat32ArrayMemory0; | ||
| 127 | } | ||
| 128 | |||
| 129 | let cachedInt16ArrayMemory0 = null; | ||
| 130 | function getInt16ArrayMemory0() { | ||
| 131 | if (cachedInt16ArrayMemory0 === null || cachedInt16ArrayMemory0.byteLength === 0) { | ||
| 132 | cachedInt16ArrayMemory0 = new Int16Array(wasm.memory.buffer); | ||
| 133 | } | ||
| 134 | return cachedInt16ArrayMemory0; | ||
| 135 | } | ||
| 136 | |||
| 137 | let cachedInt32ArrayMemory0 = null; | ||
| 138 | function getInt32ArrayMemory0() { | ||
| 139 | if (cachedInt32ArrayMemory0 === null || cachedInt32ArrayMemory0.byteLength === 0) { | ||
| 140 | cachedInt32ArrayMemory0 = new Int32Array(wasm.memory.buffer); | ||
| 141 | } | ||
| 142 | return cachedInt32ArrayMemory0; | ||
| 143 | } | ||
| 144 | |||
| 145 | let cachedInt8ArrayMemory0 = null; | ||
| 146 | function getInt8ArrayMemory0() { | ||
| 147 | if (cachedInt8ArrayMemory0 === null || cachedInt8ArrayMemory0.byteLength === 0) { | ||
| 148 | cachedInt8ArrayMemory0 = new Int8Array(wasm.memory.buffer); | ||
| 149 | } | ||
| 150 | return cachedInt8ArrayMemory0; | ||
| 151 | } | ||
| 152 | |||
| 153 | function getStringFromWasm0(ptr, len) { | ||
| 154 | ptr = ptr >>> 0; | ||
| 155 | return decodeText(ptr, len); | ||
| 156 | } | ||
| 157 | |||
| 158 | let cachedUint16ArrayMemory0 = null; | ||
| 159 | function getUint16ArrayMemory0() { | ||
| 160 | if (cachedUint16ArrayMemory0 === null || cachedUint16ArrayMemory0.byteLength === 0) { | ||
| 161 | cachedUint16ArrayMemory0 = new Uint16Array(wasm.memory.buffer); | ||
| 162 | } | ||
| 163 | return cachedUint16ArrayMemory0; | ||
| 164 | } | ||
| 165 | |||
| 166 | let cachedUint32ArrayMemory0 = null; | ||
| 167 | function getUint32ArrayMemory0() { | ||
| 168 | if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) { | ||
| 169 | cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer); | ||
| 170 | } | ||
| 171 | return cachedUint32ArrayMemory0; | ||
| 172 | } | ||
| 173 | |||
| 174 | let cachedUint8ArrayMemory0 = null; | ||
| 175 | function getUint8ArrayMemory0() { | ||
| 176 | if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) { | ||
| 177 | cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer); | ||
| 178 | } | ||
| 179 | return cachedUint8ArrayMemory0; | ||
| 180 | } | ||
| 181 | |||
| 182 | function handleError(f, args) { | ||
| 183 | try { | ||
| 184 | return f.apply(this, args); | ||
| 185 | } catch (e) { | ||
| 186 | const idx = addToExternrefTable0(e); | ||
| 187 | wasm.__wbindgen_exn_store(idx); | ||
| 188 | } | ||
| 189 | } | ||
| 190 | |||
| 191 | function isLikeNone(x) { | ||
| 192 | return x === undefined || x === null; | ||
| 193 | } | ||
| 194 | |||
| 195 | function makeMutClosure(arg0, arg1, dtor, f) { | ||
| 196 | const state = { a: arg0, b: arg1, cnt: 1, dtor }; | ||
| 197 | const real = (...args) => { | ||
| 198 | |||
| 199 | // First up with a closure we increment the internal reference | ||
| 200 | // count. This ensures that the Rust closure environment won't | ||
| 201 | // be deallocated while we're invoking it. | ||
| 202 | state.cnt++; | ||
| 203 | const a = state.a; | ||
| 204 | state.a = 0; | ||
| 205 | try { | ||
| 206 | return f(a, state.b, ...args); | ||
| 207 | } finally { | ||
| 208 | state.a = a; | ||
| 209 | real._wbg_cb_unref(); | ||
| 210 | } | ||
| 211 | }; | ||
| 212 | real._wbg_cb_unref = () => { | ||
| 213 | if (--state.cnt === 0) { | ||
| 214 | state.dtor(state.a, state.b); | ||
| 215 | state.a = 0; | ||
| 216 | CLOSURE_DTORS.unregister(state); | ||
| 217 | } | ||
| 218 | }; | ||
| 219 | CLOSURE_DTORS.register(real, state, state); | ||
| 220 | return real; | ||
| 221 | } | ||
| 222 | |||
| 223 | function passStringToWasm0(arg, malloc, realloc) { | ||
| 224 | if (realloc === undefined) { | ||
| 225 | const buf = cachedTextEncoder.encode(arg); | ||
| 226 | const ptr = malloc(buf.length, 1) >>> 0; | ||
| 227 | getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf); | ||
| 228 | WASM_VECTOR_LEN = buf.length; | ||
| 229 | return ptr; | ||
| 230 | } | ||
| 231 | |||
| 232 | let len = arg.length; | ||
| 233 | let ptr = malloc(len, 1) >>> 0; | ||
| 234 | |||
| 235 | const mem = getUint8ArrayMemory0(); | ||
| 236 | |||
| 237 | let offset = 0; | ||
| 238 | |||
| 239 | for (; offset < len; offset++) { | ||
| 240 | const code = arg.charCodeAt(offset); | ||
| 241 | if (code > 0x7F) break; | ||
| 242 | mem[ptr + offset] = code; | ||
| 243 | } | ||
| 244 | if (offset !== len) { | ||
| 245 | if (offset !== 0) { | ||
| 246 | arg = arg.slice(offset); | ||
| 247 | } | ||
| 248 | ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0; | ||
| 249 | const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len); | ||
| 250 | const ret = cachedTextEncoder.encodeInto(arg, view); | ||
| 251 | |||
| 252 | offset += ret.written; | ||
| 253 | ptr = realloc(ptr, len, offset, 1) >>> 0; | ||
| 254 | } | ||
| 255 | |||
| 256 | WASM_VECTOR_LEN = offset; | ||
| 257 | return ptr; | ||
| 258 | } | ||
| 259 | |||
| 260 | function takeFromExternrefTable0(idx) { | ||
| 261 | const value = wasm.__wbindgen_externrefs.get(idx); | ||
| 262 | wasm.__externref_table_dealloc(idx); | ||
| 263 | return value; | ||
| 264 | } | ||
| 265 | |||
| 266 | let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
| 267 | cachedTextDecoder.decode(); | ||
| 268 | const MAX_SAFARI_DECODE_BYTES = 2146435072; | ||
| 269 | let numBytesDecoded = 0; | ||
| 270 | function decodeText(ptr, len) { | ||
| 271 | numBytesDecoded += len; | ||
| 272 | if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) { | ||
| 273 | cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }); | ||
| 274 | cachedTextDecoder.decode(); | ||
| 275 | numBytesDecoded = len; | ||
| 276 | } | ||
| 277 | return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len)); | ||
| 278 | } | ||
| 279 | |||
| 280 | const cachedTextEncoder = new TextEncoder(); | ||
| 281 | |||
| 282 | if (!('encodeInto' in cachedTextEncoder)) { | ||
| 283 | cachedTextEncoder.encodeInto = function (arg, view) { | ||
| 284 | const buf = cachedTextEncoder.encode(arg); | ||
| 285 | view.set(buf); | ||
| 286 | return { | ||
| 287 | read: arg.length, | ||
| 288 | written: buf.length | ||
| 289 | }; | ||
| 290 | } | ||
| 291 | } | ||
| 292 | |||
| 293 | let WASM_VECTOR_LEN = 0; | ||
| 294 | |||
| 295 | function wasm_bindgen__convert__closures_____invoke__h4c3dfc33db0f0560(arg0, arg1, arg2) { | ||
| 296 | wasm.wasm_bindgen__convert__closures_____invoke__h4c3dfc33db0f0560(arg0, arg1, arg2); | ||
| 297 | } | ||
| 298 | |||
| 299 | function wasm_bindgen__convert__closures_____invoke__hdef1addf9aa6cca2(arg0, arg1) { | ||
| 300 | const ret = wasm.wasm_bindgen__convert__closures_____invoke__hdef1addf9aa6cca2(arg0, arg1); | ||
| 301 | if (ret[1]) { | ||
| 302 | throw takeFromExternrefTable0(ret[0]); | ||
| 303 | } | ||
| 304 | } | ||
| 305 | |||
| 306 | function wasm_bindgen__convert__closures_____invoke__hc6bab89b21a44a5b(arg0, arg1, arg2) { | ||
| 307 | wasm.wasm_bindgen__convert__closures_____invoke__hc6bab89b21a44a5b(arg0, arg1, arg2); | ||
| 308 | } | ||
| 309 | |||
| 310 | const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"]; | ||
| 311 | |||
| 312 | const EXPECTED_RESPONSE_TYPES = new Set(['basic', 'cors', 'default']); | ||
| 313 | |||
| 314 | async function __wbg_load(module, imports) { | ||
| 315 | if (typeof Response === 'function' && module instanceof Response) { | ||
| 316 | if (typeof WebAssembly.instantiateStreaming === 'function') { | ||
| 317 | try { | ||
| 318 | return await WebAssembly.instantiateStreaming(module, imports); | ||
| 319 | } catch (e) { | ||
| 320 | const validResponse = module.ok && EXPECTED_RESPONSE_TYPES.has(module.type); | ||
| 321 | |||
| 322 | if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') { | ||
| 323 | 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); | ||
| 324 | |||
| 325 | } else { | ||
| 326 | throw e; | ||
| 327 | } | ||
| 328 | } | ||
| 329 | } | ||
| 330 | |||
| 331 | const bytes = await module.arrayBuffer(); | ||
| 332 | return await WebAssembly.instantiate(bytes, imports); | ||
| 333 | } else { | ||
| 334 | const instance = await WebAssembly.instantiate(module, imports); | ||
| 335 | |||
| 336 | if (instance instanceof WebAssembly.Instance) { | ||
| 337 | return { instance, module }; | ||
| 338 | } else { | ||
| 339 | return instance; | ||
| 340 | } | ||
| 341 | } | ||
| 342 | } | ||
| 343 | |||
| 344 | function __wbg_get_imports() { | ||
| 345 | const imports = {}; | ||
| 346 | imports.wbg = {}; | ||
| 347 | imports.wbg.__wbg___wbindgen_boolean_get_dea25b33882b895b = function(arg0) { | ||
| 348 | const v = arg0; | ||
| 349 | const ret = typeof(v) === 'boolean' ? v : undefined; | ||
| 350 | return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0; | ||
| 351 | }; | ||
| 352 | imports.wbg.__wbg___wbindgen_debug_string_adfb662ae34724b6 = function(arg0, arg1) { | ||
| 353 | const ret = debugString(arg1); | ||
| 354 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 355 | const len1 = WASM_VECTOR_LEN; | ||
| 356 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 357 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 358 | }; | ||
| 359 | imports.wbg.__wbg___wbindgen_in_0d3e1e8f0c669317 = function(arg0, arg1) { | ||
| 360 | const ret = arg0 in arg1; | ||
| 361 | return ret; | ||
| 362 | }; | ||
| 363 | imports.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd = function(arg0) { | ||
| 364 | const ret = typeof(arg0) === 'function'; | ||
| 365 | return ret; | ||
| 366 | }; | ||
| 367 | imports.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269 = function(arg0) { | ||
| 368 | const ret = arg0 === undefined; | ||
| 369 | return ret; | ||
| 370 | }; | ||
| 371 | imports.wbg.__wbg___wbindgen_number_get_9619185a74197f95 = function(arg0, arg1) { | ||
| 372 | const obj = arg1; | ||
| 373 | const ret = typeof(obj) === 'number' ? obj : undefined; | ||
| 374 | getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true); | ||
| 375 | getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true); | ||
| 376 | }; | ||
| 377 | imports.wbg.__wbg___wbindgen_string_get_a2a31e16edf96e42 = function(arg0, arg1) { | ||
| 378 | const obj = arg1; | ||
| 379 | const ret = typeof(obj) === 'string' ? obj : undefined; | ||
| 380 | var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 381 | var len1 = WASM_VECTOR_LEN; | ||
| 382 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 383 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 384 | }; | ||
| 385 | imports.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e = function(arg0, arg1) { | ||
| 386 | throw new Error(getStringFromWasm0(arg0, arg1)); | ||
| 387 | }; | ||
| 388 | imports.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7 = function(arg0) { | ||
| 389 | arg0._wbg_cb_unref(); | ||
| 390 | }; | ||
| 391 | imports.wbg.__wbg_activeElement_6c18eb1d0e808cec = function(arg0) { | ||
| 392 | const ret = arg0.activeElement; | ||
| 393 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 394 | }; | ||
| 395 | imports.wbg.__wbg_activeElement_b3e6b135325e4d5f = function(arg0) { | ||
| 396 | const ret = arg0.activeElement; | ||
| 397 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 398 | }; | ||
| 399 | imports.wbg.__wbg_activeTexture_1db0722f00c3f843 = function(arg0, arg1) { | ||
| 400 | arg0.activeTexture(arg1 >>> 0); | ||
| 401 | }; | ||
| 402 | imports.wbg.__wbg_activeTexture_59810c16ea8d6e34 = function(arg0, arg1) { | ||
| 403 | arg0.activeTexture(arg1 >>> 0); | ||
| 404 | }; | ||
| 405 | imports.wbg.__wbg_addEventListener_82cddc614107eb45 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
| 406 | arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3, arg4); | ||
| 407 | }, arguments) }; | ||
| 408 | imports.wbg.__wbg_altKey_56d1d642f3a28c92 = function(arg0) { | ||
| 409 | const ret = arg0.altKey; | ||
| 410 | return ret; | ||
| 411 | }; | ||
| 412 | imports.wbg.__wbg_altKey_e13fae92dfebca3e = function(arg0) { | ||
| 413 | const ret = arg0.altKey; | ||
| 414 | return ret; | ||
| 415 | }; | ||
| 416 | imports.wbg.__wbg_appendChild_7465eba84213c75f = function() { return handleError(function (arg0, arg1) { | ||
| 417 | const ret = arg0.appendChild(arg1); | ||
| 418 | return ret; | ||
| 419 | }, arguments) }; | ||
| 420 | imports.wbg.__wbg_arrayBuffer_3356d392ef2d2aa9 = function(arg0) { | ||
| 421 | const ret = arg0.arrayBuffer(); | ||
| 422 | return ret; | ||
| 423 | }; | ||
| 424 | imports.wbg.__wbg_at_505937f1c4b80bfa = function(arg0, arg1) { | ||
| 425 | const ret = arg0.at(arg1); | ||
| 426 | return ret; | ||
| 427 | }; | ||
| 428 | imports.wbg.__wbg_attachShader_bc2b53790fd12d3a = function(arg0, arg1, arg2) { | ||
| 429 | arg0.attachShader(arg1, arg2); | ||
| 430 | }; | ||
| 431 | imports.wbg.__wbg_attachShader_ce575704294db9cc = function(arg0, arg1, arg2) { | ||
| 432 | arg0.attachShader(arg1, arg2); | ||
| 433 | }; | ||
| 434 | imports.wbg.__wbg_bindBuffer_110b128c65a97376 = function(arg0, arg1, arg2) { | ||
| 435 | arg0.bindBuffer(arg1 >>> 0, arg2); | ||
| 436 | }; | ||
| 437 | imports.wbg.__wbg_bindBuffer_c24c31cbec41cb21 = function(arg0, arg1, arg2) { | ||
| 438 | arg0.bindBuffer(arg1 >>> 0, arg2); | ||
| 439 | }; | ||
| 440 | imports.wbg.__wbg_bindTexture_4537240b278f1d53 = function(arg0, arg1, arg2) { | ||
| 441 | arg0.bindTexture(arg1 >>> 0, arg2); | ||
| 442 | }; | ||
| 443 | imports.wbg.__wbg_bindTexture_6ed714c0afe8b8d1 = function(arg0, arg1, arg2) { | ||
| 444 | arg0.bindTexture(arg1 >>> 0, arg2); | ||
| 445 | }; | ||
| 446 | imports.wbg.__wbg_bindVertexArrayOES_fdb7e747e386f55a = function(arg0, arg1) { | ||
| 447 | arg0.bindVertexArrayOES(arg1); | ||
| 448 | }; | ||
| 449 | imports.wbg.__wbg_bindVertexArray_ced27387a0718508 = function(arg0, arg1) { | ||
| 450 | arg0.bindVertexArray(arg1); | ||
| 451 | }; | ||
| 452 | imports.wbg.__wbg_blendEquationSeparate_403e2a62d6e0d67f = function(arg0, arg1, arg2) { | ||
| 453 | arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); | ||
| 454 | }; | ||
| 455 | imports.wbg.__wbg_blendEquationSeparate_e1eb0d0f32ef91af = function(arg0, arg1, arg2) { | ||
| 456 | arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0); | ||
| 457 | }; | ||
| 458 | imports.wbg.__wbg_blendFuncSeparate_4cca29476893cc61 = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 459 | arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); | ||
| 460 | }; | ||
| 461 | imports.wbg.__wbg_blendFuncSeparate_e5a1bacf4a0700cd = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 462 | arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0); | ||
| 463 | }; | ||
| 464 | imports.wbg.__wbg_blockSize_6456aaf09f0ab287 = function(arg0) { | ||
| 465 | const ret = arg0.blockSize; | ||
| 466 | return ret; | ||
| 467 | }; | ||
| 468 | imports.wbg.__wbg_blur_ca11f751d4c09d3f = function() { return handleError(function (arg0) { | ||
| 469 | arg0.blur(); | ||
| 470 | }, arguments) }; | ||
| 471 | imports.wbg.__wbg_body_544738f8b03aef13 = function(arg0) { | ||
| 472 | const ret = arg0.body; | ||
| 473 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 474 | }; | ||
| 475 | imports.wbg.__wbg_bottom_7d2cabadf8c452a8 = function(arg0) { | ||
| 476 | const ret = arg0.bottom; | ||
| 477 | return ret; | ||
| 478 | }; | ||
| 479 | imports.wbg.__wbg_bufferData_69dbeea8e1d79f7b = function(arg0, arg1, arg2, arg3) { | ||
| 480 | arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0); | ||
| 481 | }; | ||
| 482 | imports.wbg.__wbg_bufferData_ac5c7900b06f1517 = function(arg0, arg1, arg2, arg3) { | ||
| 483 | arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0); | ||
| 484 | }; | ||
| 485 | imports.wbg.__wbg_button_a54acd25bab5d442 = function(arg0) { | ||
| 486 | const ret = arg0.button; | ||
| 487 | return ret; | ||
| 488 | }; | ||
| 489 | imports.wbg.__wbg_call_abb4ff46ce38be40 = function() { return handleError(function (arg0, arg1) { | ||
| 490 | const ret = arg0.call(arg1); | ||
| 491 | return ret; | ||
| 492 | }, arguments) }; | ||
| 493 | imports.wbg.__wbg_cancelAnimationFrame_1c2a3faf7be5aedd = function() { return handleError(function (arg0, arg1) { | ||
| 494 | arg0.cancelAnimationFrame(arg1); | ||
| 495 | }, arguments) }; | ||
| 496 | imports.wbg.__wbg_cancel_415141db05feda3f = function(arg0) { | ||
| 497 | arg0.cancel(); | ||
| 498 | }; | ||
| 499 | imports.wbg.__wbg_changedTouches_002fee0da4489efe = function(arg0) { | ||
| 500 | const ret = arg0.changedTouches; | ||
| 501 | return ret; | ||
| 502 | }; | ||
| 503 | imports.wbg.__wbg_clearColor_66e5dad6393f32ec = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 504 | arg0.clearColor(arg1, arg2, arg3, arg4); | ||
| 505 | }; | ||
| 506 | imports.wbg.__wbg_clearColor_fe8de7e582b77e40 = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 507 | arg0.clearColor(arg1, arg2, arg3, arg4); | ||
| 508 | }; | ||
| 509 | imports.wbg.__wbg_clearInterval_45ac4607741420fd = function(arg0, arg1) { | ||
| 510 | arg0.clearInterval(arg1); | ||
| 511 | }; | ||
| 512 | imports.wbg.__wbg_clear_00ac71df5db8ab17 = function(arg0, arg1) { | ||
| 513 | arg0.clear(arg1 >>> 0); | ||
| 514 | }; | ||
| 515 | imports.wbg.__wbg_clear_52caf9271911674b = function(arg0, arg1) { | ||
| 516 | arg0.clear(arg1 >>> 0); | ||
| 517 | }; | ||
| 518 | imports.wbg.__wbg_clientX_2ea1e898842f21ed = function(arg0) { | ||
| 519 | const ret = arg0.clientX; | ||
| 520 | return ret; | ||
| 521 | }; | ||
| 522 | imports.wbg.__wbg_clientX_c17906c33ea43025 = function(arg0) { | ||
| 523 | const ret = arg0.clientX; | ||
| 524 | return ret; | ||
| 525 | }; | ||
| 526 | imports.wbg.__wbg_clientY_70eb66d231a332a3 = function(arg0) { | ||
| 527 | const ret = arg0.clientY; | ||
| 528 | return ret; | ||
| 529 | }; | ||
| 530 | imports.wbg.__wbg_clientY_d12086a5a6a3a9d5 = function(arg0) { | ||
| 531 | const ret = arg0.clientY; | ||
| 532 | return ret; | ||
| 533 | }; | ||
| 534 | imports.wbg.__wbg_clipboardData_11e9a33a8f4d9552 = function(arg0) { | ||
| 535 | const ret = arg0.clipboardData; | ||
| 536 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 537 | }; | ||
| 538 | imports.wbg.__wbg_clipboard_c210ce30f20907dd = function(arg0) { | ||
| 539 | const ret = arg0.clipboard; | ||
| 540 | return ret; | ||
| 541 | }; | ||
| 542 | imports.wbg.__wbg_colorMask_27d9f83dd2189ed6 = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 543 | arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); | ||
| 544 | }; | ||
| 545 | imports.wbg.__wbg_colorMask_f000b510fac0bd7c = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 546 | arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0); | ||
| 547 | }; | ||
| 548 | imports.wbg.__wbg_compileShader_ac0bf6f0837881c3 = function(arg0, arg1) { | ||
| 549 | arg0.compileShader(arg1); | ||
| 550 | }; | ||
| 551 | imports.wbg.__wbg_compileShader_ba337110bed419e1 = function(arg0, arg1) { | ||
| 552 | arg0.compileShader(arg1); | ||
| 553 | }; | ||
| 554 | imports.wbg.__wbg_contentBoxSize_252a34474a67b3bb = function(arg0) { | ||
| 555 | const ret = arg0.contentBoxSize; | ||
| 556 | return ret; | ||
| 557 | }; | ||
| 558 | imports.wbg.__wbg_contentRect_1806147dfdc380d8 = function(arg0) { | ||
| 559 | const ret = arg0.contentRect; | ||
| 560 | return ret; | ||
| 561 | }; | ||
| 562 | imports.wbg.__wbg_createBuffer_465b645a46535184 = function(arg0) { | ||
| 563 | const ret = arg0.createBuffer(); | ||
| 564 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 565 | }; | ||
| 566 | imports.wbg.__wbg_createBuffer_8601b8ec330ab49d = function(arg0) { | ||
| 567 | const ret = arg0.createBuffer(); | ||
| 568 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 569 | }; | ||
| 570 | imports.wbg.__wbg_createElement_da4ed2b219560fc6 = function() { return handleError(function (arg0, arg1, arg2) { | ||
| 571 | const ret = arg0.createElement(getStringFromWasm0(arg1, arg2)); | ||
| 572 | return ret; | ||
| 573 | }, arguments) }; | ||
| 574 | imports.wbg.__wbg_createProgram_023ba0fc6ff6efd6 = function(arg0) { | ||
| 575 | const ret = arg0.createProgram(); | ||
| 576 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 577 | }; | ||
| 578 | imports.wbg.__wbg_createProgram_ffe9d4a2cba210f4 = function(arg0) { | ||
| 579 | const ret = arg0.createProgram(); | ||
| 580 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 581 | }; | ||
| 582 | imports.wbg.__wbg_createShader_4626088b63c33727 = function(arg0, arg1) { | ||
| 583 | const ret = arg0.createShader(arg1 >>> 0); | ||
| 584 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 585 | }; | ||
| 586 | imports.wbg.__wbg_createShader_f88f9b82748ef6c0 = function(arg0, arg1) { | ||
| 587 | const ret = arg0.createShader(arg1 >>> 0); | ||
| 588 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 589 | }; | ||
| 590 | imports.wbg.__wbg_createTexture_41211a4e8ae0afec = function(arg0) { | ||
| 591 | const ret = arg0.createTexture(); | ||
| 592 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 593 | }; | ||
| 594 | imports.wbg.__wbg_createTexture_4d5934eb9772b5fe = function(arg0) { | ||
| 595 | const ret = arg0.createTexture(); | ||
| 596 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 597 | }; | ||
| 598 | imports.wbg.__wbg_createVertexArrayOES_7bcc20082143e8f2 = function(arg0) { | ||
| 599 | const ret = arg0.createVertexArrayOES(); | ||
| 600 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 601 | }; | ||
| 602 | imports.wbg.__wbg_createVertexArray_997b3c5b1091afd9 = function(arg0) { | ||
| 603 | const ret = arg0.createVertexArray(); | ||
| 604 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 605 | }; | ||
| 606 | imports.wbg.__wbg_ctrlKey_487597b9069da036 = function(arg0) { | ||
| 607 | const ret = arg0.ctrlKey; | ||
| 608 | return ret; | ||
| 609 | }; | ||
| 610 | imports.wbg.__wbg_ctrlKey_b391e5105c3f6e76 = function(arg0) { | ||
| 611 | const ret = arg0.ctrlKey; | ||
| 612 | return ret; | ||
| 613 | }; | ||
| 614 | imports.wbg.__wbg_dataTransfer_3653d4b679b026b2 = function(arg0) { | ||
| 615 | const ret = arg0.dataTransfer; | ||
| 616 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 617 | }; | ||
| 618 | imports.wbg.__wbg_data_ba1e638a3b5a1da7 = function(arg0, arg1) { | ||
| 619 | const ret = arg1.data; | ||
| 620 | var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 621 | var len1 = WASM_VECTOR_LEN; | ||
| 622 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 623 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 624 | }; | ||
| 625 | imports.wbg.__wbg_deleteBuffer_5ed1698208181e1f = function(arg0, arg1) { | ||
| 626 | arg0.deleteBuffer(arg1); | ||
| 627 | }; | ||
| 628 | imports.wbg.__wbg_deleteBuffer_ba7f1164cc23b2ca = function(arg0, arg1) { | ||
| 629 | arg0.deleteBuffer(arg1); | ||
| 630 | }; | ||
| 631 | imports.wbg.__wbg_deleteProgram_3bf297a31d0e6e48 = function(arg0, arg1) { | ||
| 632 | arg0.deleteProgram(arg1); | ||
| 633 | }; | ||
| 634 | imports.wbg.__wbg_deleteProgram_62774baacb13ff2b = function(arg0, arg1) { | ||
| 635 | arg0.deleteProgram(arg1); | ||
| 636 | }; | ||
| 637 | imports.wbg.__wbg_deleteShader_c357bb8fbede8370 = function(arg0, arg1) { | ||
| 638 | arg0.deleteShader(arg1); | ||
| 639 | }; | ||
| 640 | imports.wbg.__wbg_deleteShader_c686dd351de5a068 = function(arg0, arg1) { | ||
| 641 | arg0.deleteShader(arg1); | ||
| 642 | }; | ||
| 643 | imports.wbg.__wbg_deleteTexture_2a9b703dc2df5657 = function(arg0, arg1) { | ||
| 644 | arg0.deleteTexture(arg1); | ||
| 645 | }; | ||
| 646 | imports.wbg.__wbg_deleteTexture_875f8d84e74610a0 = function(arg0, arg1) { | ||
| 647 | arg0.deleteTexture(arg1); | ||
| 648 | }; | ||
| 649 | imports.wbg.__wbg_deltaMode_d74ec093e23ffeec = function(arg0) { | ||
| 650 | const ret = arg0.deltaMode; | ||
| 651 | return ret; | ||
| 652 | }; | ||
| 653 | imports.wbg.__wbg_deltaX_41f7678c94b10355 = function(arg0) { | ||
| 654 | const ret = arg0.deltaX; | ||
| 655 | return ret; | ||
| 656 | }; | ||
| 657 | imports.wbg.__wbg_deltaY_3f10fd796fae2a0f = function(arg0) { | ||
| 658 | const ret = arg0.deltaY; | ||
| 659 | return ret; | ||
| 660 | }; | ||
| 661 | imports.wbg.__wbg_detachShader_678bb6c64268535d = function(arg0, arg1, arg2) { | ||
| 662 | arg0.detachShader(arg1, arg2); | ||
| 663 | }; | ||
| 664 | imports.wbg.__wbg_detachShader_6dca9ecdeb9bbcd3 = function(arg0, arg1, arg2) { | ||
| 665 | arg0.detachShader(arg1, arg2); | ||
| 666 | }; | ||
| 667 | imports.wbg.__wbg_devicePixelContentBoxSize_4312b643ce19dcae = function(arg0) { | ||
| 668 | const ret = arg0.devicePixelContentBoxSize; | ||
| 669 | return ret; | ||
| 670 | }; | ||
| 671 | imports.wbg.__wbg_devicePixelRatio_390dee26c70aa30f = function(arg0) { | ||
| 672 | const ret = arg0.devicePixelRatio; | ||
| 673 | return ret; | ||
| 674 | }; | ||
| 675 | imports.wbg.__wbg_disableVertexAttribArray_4c5c7214724209d0 = function(arg0, arg1) { | ||
| 676 | arg0.disableVertexAttribArray(arg1 >>> 0); | ||
| 677 | }; | ||
| 678 | imports.wbg.__wbg_disableVertexAttribArray_bcf2272b428ec9fc = function(arg0, arg1) { | ||
| 679 | arg0.disableVertexAttribArray(arg1 >>> 0); | ||
| 680 | }; | ||
| 681 | imports.wbg.__wbg_disable_3af3e194392b0a83 = function(arg0, arg1) { | ||
| 682 | arg0.disable(arg1 >>> 0); | ||
| 683 | }; | ||
| 684 | imports.wbg.__wbg_disable_c05809e00765548d = function(arg0, arg1) { | ||
| 685 | arg0.disable(arg1 >>> 0); | ||
| 686 | }; | ||
| 687 | imports.wbg.__wbg_disconnect_0078fed2ab427a04 = function(arg0) { | ||
| 688 | arg0.disconnect(); | ||
| 689 | }; | ||
| 690 | imports.wbg.__wbg_document_5b745e82ba551ca5 = function(arg0) { | ||
| 691 | const ret = arg0.document; | ||
| 692 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 693 | }; | ||
| 694 | imports.wbg.__wbg_drawElements_2a3619292860fa19 = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 695 | arg0.drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4); | ||
| 696 | }; | ||
| 697 | imports.wbg.__wbg_drawElements_738773baf3df000e = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 698 | arg0.drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4); | ||
| 699 | }; | ||
| 700 | imports.wbg.__wbg_elementFromPoint_3e36e942ea9d1a54 = function(arg0, arg1, arg2) { | ||
| 701 | const ret = arg0.elementFromPoint(arg1, arg2); | ||
| 702 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 703 | }; | ||
| 704 | imports.wbg.__wbg_elementFromPoint_8a2969ab5273b90a = function(arg0, arg1, arg2) { | ||
| 705 | const ret = arg0.elementFromPoint(arg1, arg2); | ||
| 706 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 707 | }; | ||
| 708 | imports.wbg.__wbg_enableVertexAttribArray_2898de871f949393 = function(arg0, arg1) { | ||
| 709 | arg0.enableVertexAttribArray(arg1 >>> 0); | ||
| 710 | }; | ||
| 711 | imports.wbg.__wbg_enableVertexAttribArray_def9952d8426be95 = function(arg0, arg1) { | ||
| 712 | arg0.enableVertexAttribArray(arg1 >>> 0); | ||
| 713 | }; | ||
| 714 | imports.wbg.__wbg_enable_2d8bb952637ad17a = function(arg0, arg1) { | ||
| 715 | arg0.enable(arg1 >>> 0); | ||
| 716 | }; | ||
| 717 | imports.wbg.__wbg_enable_52598759008d46ee = function(arg0, arg1) { | ||
| 718 | arg0.enable(arg1 >>> 0); | ||
| 719 | }; | ||
| 720 | imports.wbg.__wbg_error_541113e32ba1ecbd = function(arg0, arg1) { | ||
| 721 | let deferred0_0; | ||
| 722 | let deferred0_1; | ||
| 723 | try { | ||
| 724 | deferred0_0 = arg0; | ||
| 725 | deferred0_1 = arg1; | ||
| 726 | console.error(getStringFromWasm0(arg0, arg1)); | ||
| 727 | } finally { | ||
| 728 | wasm.__wbindgen_free(deferred0_0, deferred0_1, 1); | ||
| 729 | } | ||
| 730 | }; | ||
| 731 | imports.wbg.__wbg_files_d5264787ebe0eb8e = function(arg0) { | ||
| 732 | const ret = arg0.files; | ||
| 733 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 734 | }; | ||
| 735 | imports.wbg.__wbg_focus_220a53e22147dc0f = function() { return handleError(function (arg0) { | ||
| 736 | arg0.focus(); | ||
| 737 | }, arguments) }; | ||
| 738 | imports.wbg.__wbg_force_ec61071358a7ae6f = function(arg0) { | ||
| 739 | const ret = arg0.force; | ||
| 740 | return ret; | ||
| 741 | }; | ||
| 742 | imports.wbg.__wbg_generateMipmap_85452cd8f350f404 = function(arg0, arg1) { | ||
| 743 | arg0.generateMipmap(arg1 >>> 0); | ||
| 744 | }; | ||
| 745 | imports.wbg.__wbg_generateMipmap_bfd04ca851518e7c = function(arg0, arg1) { | ||
| 746 | arg0.generateMipmap(arg1 >>> 0); | ||
| 747 | }; | ||
| 748 | imports.wbg.__wbg_getAttribLocation_5917620b3c9497e6 = function(arg0, arg1, arg2, arg3) { | ||
| 749 | const ret = arg0.getAttribLocation(arg1, getStringFromWasm0(arg2, arg3)); | ||
| 750 | return ret; | ||
| 751 | }; | ||
| 752 | imports.wbg.__wbg_getAttribLocation_e56db0839c7627ca = function(arg0, arg1, arg2, arg3) { | ||
| 753 | const ret = arg0.getAttribLocation(arg1, getStringFromWasm0(arg2, arg3)); | ||
| 754 | return ret; | ||
| 755 | }; | ||
| 756 | imports.wbg.__wbg_getBoundingClientRect_25e44a78507968b0 = function(arg0) { | ||
| 757 | const ret = arg0.getBoundingClientRect(); | ||
| 758 | return ret; | ||
| 759 | }; | ||
| 760 | imports.wbg.__wbg_getComputedStyle_bbcd5e3d08077b71 = function() { return handleError(function (arg0, arg1) { | ||
| 761 | const ret = arg0.getComputedStyle(arg1); | ||
| 762 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 763 | }, arguments) }; | ||
| 764 | imports.wbg.__wbg_getContext_01f42b234e833f0a = function() { return handleError(function (arg0, arg1, arg2) { | ||
| 765 | const ret = arg0.getContext(getStringFromWasm0(arg1, arg2)); | ||
| 766 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 767 | }, arguments) }; | ||
| 768 | imports.wbg.__wbg_getData_0c18014d58e42433 = function() { return handleError(function (arg0, arg1, arg2, arg3) { | ||
| 769 | const ret = arg1.getData(getStringFromWasm0(arg2, arg3)); | ||
| 770 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 771 | const len1 = WASM_VECTOR_LEN; | ||
| 772 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 773 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 774 | }, arguments) }; | ||
| 775 | imports.wbg.__wbg_getElementById_e05488d2143c2b21 = function(arg0, arg1, arg2) { | ||
| 776 | const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2)); | ||
| 777 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 778 | }; | ||
| 779 | imports.wbg.__wbg_getError_1512d8f11d3dce17 = function(arg0) { | ||
| 780 | const ret = arg0.getError(); | ||
| 781 | return ret; | ||
| 782 | }; | ||
| 783 | imports.wbg.__wbg_getError_86b51f8a9c7debb3 = function(arg0) { | ||
| 784 | const ret = arg0.getError(); | ||
| 785 | return ret; | ||
| 786 | }; | ||
| 787 | imports.wbg.__wbg_getExtension_2078be640f482416 = function() { return handleError(function (arg0, arg1, arg2) { | ||
| 788 | const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2)); | ||
| 789 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 790 | }, arguments) }; | ||
| 791 | imports.wbg.__wbg_getExtension_49a13df0dc150fab = function() { return handleError(function (arg0, arg1, arg2) { | ||
| 792 | const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2)); | ||
| 793 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 794 | }, arguments) }; | ||
| 795 | imports.wbg.__wbg_getItem_1340bfc9a10d5991 = function() { return handleError(function (arg0, arg1, arg2, arg3) { | ||
| 796 | const ret = arg1.getItem(getStringFromWasm0(arg2, arg3)); | ||
| 797 | var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 798 | var len1 = WASM_VECTOR_LEN; | ||
| 799 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 800 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 801 | }, arguments) }; | ||
| 802 | imports.wbg.__wbg_getParameter_08df3cb47d357cca = function() { return handleError(function (arg0, arg1) { | ||
| 803 | const ret = arg0.getParameter(arg1 >>> 0); | ||
| 804 | return ret; | ||
| 805 | }, arguments) }; | ||
| 806 | imports.wbg.__wbg_getParameter_1dfd667c33169fab = function() { return handleError(function (arg0, arg1) { | ||
| 807 | const ret = arg0.getParameter(arg1 >>> 0); | ||
| 808 | return ret; | ||
| 809 | }, arguments) }; | ||
| 810 | imports.wbg.__wbg_getProgramInfoLog_a0ff8b0971fcaf48 = function(arg0, arg1, arg2) { | ||
| 811 | const ret = arg1.getProgramInfoLog(arg2); | ||
| 812 | var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 813 | var len1 = WASM_VECTOR_LEN; | ||
| 814 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 815 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 816 | }; | ||
| 817 | imports.wbg.__wbg_getProgramInfoLog_ea3064b153e4542a = function(arg0, arg1, arg2) { | ||
| 818 | const ret = arg1.getProgramInfoLog(arg2); | ||
| 819 | var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 820 | var len1 = WASM_VECTOR_LEN; | ||
| 821 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 822 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 823 | }; | ||
| 824 | imports.wbg.__wbg_getProgramParameter_c777611a448a6ccd = function(arg0, arg1, arg2) { | ||
| 825 | const ret = arg0.getProgramParameter(arg1, arg2 >>> 0); | ||
| 826 | return ret; | ||
| 827 | }; | ||
| 828 | imports.wbg.__wbg_getProgramParameter_ff1aee3815d6a8f9 = function(arg0, arg1, arg2) { | ||
| 829 | const ret = arg0.getProgramParameter(arg1, arg2 >>> 0); | ||
| 830 | return ret; | ||
| 831 | }; | ||
| 832 | imports.wbg.__wbg_getPropertyValue_dcded91357966805 = function() { return handleError(function (arg0, arg1, arg2, arg3) { | ||
| 833 | const ret = arg1.getPropertyValue(getStringFromWasm0(arg2, arg3)); | ||
| 834 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 835 | const len1 = WASM_VECTOR_LEN; | ||
| 836 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 837 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 838 | }, arguments) }; | ||
| 839 | imports.wbg.__wbg_getRootNode_c2316085ca42cd67 = function(arg0) { | ||
| 840 | const ret = arg0.getRootNode(); | ||
| 841 | return ret; | ||
| 842 | }; | ||
| 843 | imports.wbg.__wbg_getShaderInfoLog_1affea8c74bd191c = function(arg0, arg1, arg2) { | ||
| 844 | const ret = arg1.getShaderInfoLog(arg2); | ||
| 845 | var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 846 | var len1 = WASM_VECTOR_LEN; | ||
| 847 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 848 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 849 | }; | ||
| 850 | imports.wbg.__wbg_getShaderInfoLog_862d8c35c68d02c8 = function(arg0, arg1, arg2) { | ||
| 851 | const ret = arg1.getShaderInfoLog(arg2); | ||
| 852 | var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 853 | var len1 = WASM_VECTOR_LEN; | ||
| 854 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 855 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 856 | }; | ||
| 857 | imports.wbg.__wbg_getShaderParameter_1f86483b99db3dcc = function(arg0, arg1, arg2) { | ||
| 858 | const ret = arg0.getShaderParameter(arg1, arg2 >>> 0); | ||
| 859 | return ret; | ||
| 860 | }; | ||
| 861 | imports.wbg.__wbg_getShaderParameter_b8a41abb0d7d23c3 = function(arg0, arg1, arg2) { | ||
| 862 | const ret = arg0.getShaderParameter(arg1, arg2 >>> 0); | ||
| 863 | return ret; | ||
| 864 | }; | ||
| 865 | imports.wbg.__wbg_getSupportedExtensions_bc23bc19c9dac45d = function(arg0) { | ||
| 866 | const ret = arg0.getSupportedExtensions(); | ||
| 867 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 868 | }; | ||
| 869 | imports.wbg.__wbg_getSupportedExtensions_e1652e64b15aff85 = function(arg0) { | ||
| 870 | const ret = arg0.getSupportedExtensions(); | ||
| 871 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 872 | }; | ||
| 873 | imports.wbg.__wbg_getTime_ad1e9878a735af08 = function(arg0) { | ||
| 874 | const ret = arg0.getTime(); | ||
| 875 | return ret; | ||
| 876 | }; | ||
| 877 | imports.wbg.__wbg_getTimezoneOffset_45389e26d6f46823 = function(arg0) { | ||
| 878 | const ret = arg0.getTimezoneOffset(); | ||
| 879 | return ret; | ||
| 880 | }; | ||
| 881 | imports.wbg.__wbg_getUniformLocation_21ac12bfc569cbbf = function(arg0, arg1, arg2, arg3) { | ||
| 882 | const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3)); | ||
| 883 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 884 | }; | ||
| 885 | imports.wbg.__wbg_getUniformLocation_2a4ddf8dd8285373 = function(arg0, arg1, arg2, arg3) { | ||
| 886 | const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3)); | ||
| 887 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 888 | }; | ||
| 889 | imports.wbg.__wbg_get_6b7bd52aca3f9671 = function(arg0, arg1) { | ||
| 890 | const ret = arg0[arg1 >>> 0]; | ||
| 891 | return ret; | ||
| 892 | }; | ||
| 893 | imports.wbg.__wbg_get_84957f57555c0874 = function(arg0, arg1) { | ||
| 894 | const ret = arg0[arg1 >>> 0]; | ||
| 895 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 896 | }; | ||
| 897 | imports.wbg.__wbg_get_89bca58298277b24 = function(arg0, arg1) { | ||
| 898 | const ret = arg0[arg1 >>> 0]; | ||
| 899 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 900 | }; | ||
| 901 | imports.wbg.__wbg_get_af9dab7e9603ea93 = function() { return handleError(function (arg0, arg1) { | ||
| 902 | const ret = Reflect.get(arg0, arg1); | ||
| 903 | return ret; | ||
| 904 | }, arguments) }; | ||
| 905 | imports.wbg.__wbg_get_e8e8a591c89f67f6 = function(arg0, arg1) { | ||
| 906 | const ret = arg0[arg1 >>> 0]; | ||
| 907 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 908 | }; | ||
| 909 | imports.wbg.__wbg_hash_979a7861415bf1f8 = function() { return handleError(function (arg0, arg1) { | ||
| 910 | const ret = arg1.hash; | ||
| 911 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 912 | const len1 = WASM_VECTOR_LEN; | ||
| 913 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 914 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 915 | }, arguments) }; | ||
| 916 | imports.wbg.__wbg_height_5d22b94a936fae9f = function(arg0) { | ||
| 917 | const ret = arg0.height; | ||
| 918 | return ret; | ||
| 919 | }; | ||
| 920 | imports.wbg.__wbg_height_a07787f693c253d2 = function(arg0) { | ||
| 921 | const ret = arg0.height; | ||
| 922 | return ret; | ||
| 923 | }; | ||
| 924 | imports.wbg.__wbg_hidden_63c9db3ea5c1e10a = function(arg0) { | ||
| 925 | const ret = arg0.hidden; | ||
| 926 | return ret; | ||
| 927 | }; | ||
| 928 | imports.wbg.__wbg_host_d33d7c53a6d98060 = function() { return handleError(function (arg0, arg1) { | ||
| 929 | const ret = arg1.host; | ||
| 930 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 931 | const len1 = WASM_VECTOR_LEN; | ||
| 932 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 933 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 934 | }, arguments) }; | ||
| 935 | imports.wbg.__wbg_hostname_4d06d0f997fded29 = function() { return handleError(function (arg0, arg1) { | ||
| 936 | const ret = arg1.hostname; | ||
| 937 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 938 | const len1 = WASM_VECTOR_LEN; | ||
| 939 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 940 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 941 | }, arguments) }; | ||
| 942 | imports.wbg.__wbg_href_0a387dfdb6abe7e5 = function() { return handleError(function (arg0, arg1) { | ||
| 943 | const ret = arg1.href; | ||
| 944 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 945 | const len1 = WASM_VECTOR_LEN; | ||
| 946 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 947 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 948 | }, arguments) }; | ||
| 949 | imports.wbg.__wbg_id_0cd70c3a5517c880 = function(arg0, arg1) { | ||
| 950 | const ret = arg1.id; | ||
| 951 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 952 | const len1 = WASM_VECTOR_LEN; | ||
| 953 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 954 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 955 | }; | ||
| 956 | imports.wbg.__wbg_identifier_4045753259aef15d = function(arg0) { | ||
| 957 | const ret = arg0.identifier; | ||
| 958 | return ret; | ||
| 959 | }; | ||
| 960 | imports.wbg.__wbg_inlineSize_65c8cd0ecc54c605 = function(arg0) { | ||
| 961 | const ret = arg0.inlineSize; | ||
| 962 | return ret; | ||
| 963 | }; | ||
| 964 | imports.wbg.__wbg_instanceof_Document_90b941f0297459fe = function(arg0) { | ||
| 965 | let result; | ||
| 966 | try { | ||
| 967 | result = arg0 instanceof Document; | ||
| 968 | } catch (_) { | ||
| 969 | result = false; | ||
| 970 | } | ||
| 971 | const ret = result; | ||
| 972 | return ret; | ||
| 973 | }; | ||
| 974 | imports.wbg.__wbg_instanceof_Element_6f7ba982258cfc0f = function(arg0) { | ||
| 975 | let result; | ||
| 976 | try { | ||
| 977 | result = arg0 instanceof Element; | ||
| 978 | } catch (_) { | ||
| 979 | result = false; | ||
| 980 | } | ||
| 981 | const ret = result; | ||
| 982 | return ret; | ||
| 983 | }; | ||
| 984 | imports.wbg.__wbg_instanceof_HtmlCanvasElement_c4251b1b6a15edcc = function(arg0) { | ||
| 985 | let result; | ||
| 986 | try { | ||
| 987 | result = arg0 instanceof HTMLCanvasElement; | ||
| 988 | } catch (_) { | ||
| 989 | result = false; | ||
| 990 | } | ||
| 991 | const ret = result; | ||
| 992 | return ret; | ||
| 993 | }; | ||
| 994 | imports.wbg.__wbg_instanceof_HtmlElement_20a3acb594113d73 = function(arg0) { | ||
| 995 | let result; | ||
| 996 | try { | ||
| 997 | result = arg0 instanceof HTMLElement; | ||
| 998 | } catch (_) { | ||
| 999 | result = false; | ||
| 1000 | } | ||
| 1001 | const ret = result; | ||
| 1002 | return ret; | ||
| 1003 | }; | ||
| 1004 | imports.wbg.__wbg_instanceof_HtmlInputElement_46b31917ce88698f = function(arg0) { | ||
| 1005 | let result; | ||
| 1006 | try { | ||
| 1007 | result = arg0 instanceof HTMLInputElement; | ||
| 1008 | } catch (_) { | ||
| 1009 | result = false; | ||
| 1010 | } | ||
| 1011 | const ret = result; | ||
| 1012 | return ret; | ||
| 1013 | }; | ||
| 1014 | imports.wbg.__wbg_instanceof_ResizeObserverEntry_598d7b7088f31bb9 = function(arg0) { | ||
| 1015 | let result; | ||
| 1016 | try { | ||
| 1017 | result = arg0 instanceof ResizeObserverEntry; | ||
| 1018 | } catch (_) { | ||
| 1019 | result = false; | ||
| 1020 | } | ||
| 1021 | const ret = result; | ||
| 1022 | return ret; | ||
| 1023 | }; | ||
| 1024 | imports.wbg.__wbg_instanceof_ResizeObserverSize_1631a4523f7b848b = function(arg0) { | ||
| 1025 | let result; | ||
| 1026 | try { | ||
| 1027 | result = arg0 instanceof ResizeObserverSize; | ||
| 1028 | } catch (_) { | ||
| 1029 | result = false; | ||
| 1030 | } | ||
| 1031 | const ret = result; | ||
| 1032 | return ret; | ||
| 1033 | }; | ||
| 1034 | imports.wbg.__wbg_instanceof_ShadowRoot_acbbcc2231ef8a7b = function(arg0) { | ||
| 1035 | let result; | ||
| 1036 | try { | ||
| 1037 | result = arg0 instanceof ShadowRoot; | ||
| 1038 | } catch (_) { | ||
| 1039 | result = false; | ||
| 1040 | } | ||
| 1041 | const ret = result; | ||
| 1042 | return ret; | ||
| 1043 | }; | ||
| 1044 | imports.wbg.__wbg_instanceof_WebGl2RenderingContext_121e4c8c95b128ef = function(arg0) { | ||
| 1045 | let result; | ||
| 1046 | try { | ||
| 1047 | result = arg0 instanceof WebGL2RenderingContext; | ||
| 1048 | } catch (_) { | ||
| 1049 | result = false; | ||
| 1050 | } | ||
| 1051 | const ret = result; | ||
| 1052 | return ret; | ||
| 1053 | }; | ||
| 1054 | imports.wbg.__wbg_instanceof_WebGlRenderingContext_f2a36a2d31de185f = function(arg0) { | ||
| 1055 | let result; | ||
| 1056 | try { | ||
| 1057 | result = arg0 instanceof WebGLRenderingContext; | ||
| 1058 | } catch (_) { | ||
| 1059 | result = false; | ||
| 1060 | } | ||
| 1061 | const ret = result; | ||
| 1062 | return ret; | ||
| 1063 | }; | ||
| 1064 | imports.wbg.__wbg_instanceof_Window_b5cf7783caa68180 = function(arg0) { | ||
| 1065 | let result; | ||
| 1066 | try { | ||
| 1067 | result = arg0 instanceof Window; | ||
| 1068 | } catch (_) { | ||
| 1069 | result = false; | ||
| 1070 | } | ||
| 1071 | const ret = result; | ||
| 1072 | return ret; | ||
| 1073 | }; | ||
| 1074 | imports.wbg.__wbg_isComposing_f44397d3c48338be = function(arg0) { | ||
| 1075 | const ret = arg0.isComposing; | ||
| 1076 | return ret; | ||
| 1077 | }; | ||
| 1078 | imports.wbg.__wbg_isComposing_fcde9aa6cddb1f42 = function(arg0) { | ||
| 1079 | const ret = arg0.isComposing; | ||
| 1080 | return ret; | ||
| 1081 | }; | ||
| 1082 | imports.wbg.__wbg_isSecureContext_0defe0b227a0ff2a = function(arg0) { | ||
| 1083 | const ret = arg0.isSecureContext; | ||
| 1084 | return ret; | ||
| 1085 | }; | ||
| 1086 | imports.wbg.__wbg_is_928aa29d71e75457 = function(arg0, arg1) { | ||
| 1087 | const ret = Object.is(arg0, arg1); | ||
| 1088 | return ret; | ||
| 1089 | }; | ||
| 1090 | imports.wbg.__wbg_item_2c9f4df896e24628 = function(arg0, arg1) { | ||
| 1091 | const ret = arg0.item(arg1 >>> 0); | ||
| 1092 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 1093 | }; | ||
| 1094 | imports.wbg.__wbg_items_7724bf0013e68df2 = function(arg0) { | ||
| 1095 | const ret = arg0.items; | ||
| 1096 | return ret; | ||
| 1097 | }; | ||
| 1098 | imports.wbg.__wbg_keyCode_9a2cb918794208e5 = function(arg0) { | ||
| 1099 | const ret = arg0.keyCode; | ||
| 1100 | return ret; | ||
| 1101 | }; | ||
| 1102 | imports.wbg.__wbg_key_505d33c50799526a = function(arg0, arg1) { | ||
| 1103 | const ret = arg1.key; | ||
| 1104 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1105 | const len1 = WASM_VECTOR_LEN; | ||
| 1106 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1107 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1108 | }; | ||
| 1109 | imports.wbg.__wbg_lastModified_0b523634ff1e63fc = function(arg0) { | ||
| 1110 | const ret = arg0.lastModified; | ||
| 1111 | return ret; | ||
| 1112 | }; | ||
| 1113 | imports.wbg.__wbg_left_d52bfa3824286825 = function(arg0) { | ||
| 1114 | const ret = arg0.left; | ||
| 1115 | return ret; | ||
| 1116 | }; | ||
| 1117 | imports.wbg.__wbg_length_22ac23eaec9d8053 = function(arg0) { | ||
| 1118 | const ret = arg0.length; | ||
| 1119 | return ret; | ||
| 1120 | }; | ||
| 1121 | imports.wbg.__wbg_length_5548a3a9b927d0af = function(arg0) { | ||
| 1122 | const ret = arg0.length; | ||
| 1123 | return ret; | ||
| 1124 | }; | ||
| 1125 | imports.wbg.__wbg_length_7226f74c66ca4a9d = function(arg0) { | ||
| 1126 | const ret = arg0.length; | ||
| 1127 | return ret; | ||
| 1128 | }; | ||
| 1129 | imports.wbg.__wbg_length_b3a710c4ed3e081c = function(arg0) { | ||
| 1130 | const ret = arg0.length; | ||
| 1131 | return ret; | ||
| 1132 | }; | ||
| 1133 | imports.wbg.__wbg_length_d45040a40c570362 = function(arg0) { | ||
| 1134 | const ret = arg0.length; | ||
| 1135 | return ret; | ||
| 1136 | }; | ||
| 1137 | imports.wbg.__wbg_linkProgram_2f770464e69099dc = function(arg0, arg1) { | ||
| 1138 | arg0.linkProgram(arg1); | ||
| 1139 | }; | ||
| 1140 | imports.wbg.__wbg_linkProgram_93f76a2f5030041e = function(arg0, arg1) { | ||
| 1141 | arg0.linkProgram(arg1); | ||
| 1142 | }; | ||
| 1143 | imports.wbg.__wbg_localStorage_e7a9e9fee8fc608d = function() { return handleError(function (arg0) { | ||
| 1144 | const ret = arg0.localStorage; | ||
| 1145 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 1146 | }, arguments) }; | ||
| 1147 | imports.wbg.__wbg_location_962e75c1c1b3ebed = function(arg0) { | ||
| 1148 | const ret = arg0.location; | ||
| 1149 | return ret; | ||
| 1150 | }; | ||
| 1151 | imports.wbg.__wbg_matchMedia_29904c79dbaba90b = function() { return handleError(function (arg0, arg1, arg2) { | ||
| 1152 | const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2)); | ||
| 1153 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 1154 | }, arguments) }; | ||
| 1155 | imports.wbg.__wbg_matches_9cef9b7c722bd7c8 = function(arg0) { | ||
| 1156 | const ret = arg0.matches; | ||
| 1157 | return ret; | ||
| 1158 | }; | ||
| 1159 | imports.wbg.__wbg_metaKey_0572b1cbcb5b272b = function(arg0) { | ||
| 1160 | const ret = arg0.metaKey; | ||
| 1161 | return ret; | ||
| 1162 | }; | ||
| 1163 | imports.wbg.__wbg_metaKey_448c751accad2eba = function(arg0) { | ||
| 1164 | const ret = arg0.metaKey; | ||
| 1165 | return ret; | ||
| 1166 | }; | ||
| 1167 | imports.wbg.__wbg_name_13bb9dc8b6e6e67c = function(arg0, arg1) { | ||
| 1168 | const ret = arg1.name; | ||
| 1169 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1170 | const len1 = WASM_VECTOR_LEN; | ||
| 1171 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1172 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1173 | }; | ||
| 1174 | imports.wbg.__wbg_navigator_b49edef831236138 = function(arg0) { | ||
| 1175 | const ret = arg0.navigator; | ||
| 1176 | return ret; | ||
| 1177 | }; | ||
| 1178 | imports.wbg.__wbg_new_0_23cedd11d9b40c9d = function() { | ||
| 1179 | const ret = new Date(); | ||
| 1180 | return ret; | ||
| 1181 | }; | ||
| 1182 | imports.wbg.__wbg_new_1ba21ce319a06297 = function() { | ||
| 1183 | const ret = new Object(); | ||
| 1184 | return ret; | ||
| 1185 | }; | ||
| 1186 | imports.wbg.__wbg_new_25f239778d6112b9 = function() { | ||
| 1187 | const ret = new Array(); | ||
| 1188 | return ret; | ||
| 1189 | }; | ||
| 1190 | imports.wbg.__wbg_new_358bba68c164c0c7 = function() { | ||
| 1191 | const ret = new Error(); | ||
| 1192 | return ret; | ||
| 1193 | }; | ||
| 1194 | imports.wbg.__wbg_new_6421f6084cc5bc5a = function(arg0) { | ||
| 1195 | const ret = new Uint8Array(arg0); | ||
| 1196 | return ret; | ||
| 1197 | }; | ||
| 1198 | imports.wbg.__wbg_new_a25bd305a87faf63 = function() { return handleError(function (arg0) { | ||
| 1199 | const ret = new ResizeObserver(arg0); | ||
| 1200 | return ret; | ||
| 1201 | }, arguments) }; | ||
| 1202 | imports.wbg.__wbg_new_b2db8aa2650f793a = function(arg0) { | ||
| 1203 | const ret = new Date(arg0); | ||
| 1204 | return ret; | ||
| 1205 | }; | ||
| 1206 | imports.wbg.__wbg_new_from_slice_f9c22b9153b26992 = function(arg0, arg1) { | ||
| 1207 | const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1)); | ||
| 1208 | return ret; | ||
| 1209 | }; | ||
| 1210 | imports.wbg.__wbg_new_no_args_cb138f77cf6151ee = function(arg0, arg1) { | ||
| 1211 | const ret = new Function(getStringFromWasm0(arg0, arg1)); | ||
| 1212 | return ret; | ||
| 1213 | }; | ||
| 1214 | imports.wbg.__wbg_new_with_record_from_str_to_blob_promise_44de1087288de77b = function() { return handleError(function (arg0) { | ||
| 1215 | const ret = new ClipboardItem(arg0); | ||
| 1216 | return ret; | ||
| 1217 | }, arguments) }; | ||
| 1218 | imports.wbg.__wbg_new_with_text_2d31e9c1398b8958 = function() { return handleError(function (arg0, arg1) { | ||
| 1219 | const ret = new SpeechSynthesisUtterance(getStringFromWasm0(arg0, arg1)); | ||
| 1220 | return ret; | ||
| 1221 | }, arguments) }; | ||
| 1222 | imports.wbg.__wbg_new_with_u8_array_sequence_and_options_d4def9ec0588c7ec = function() { return handleError(function (arg0, arg1) { | ||
| 1223 | const ret = new Blob(arg0, arg1); | ||
| 1224 | return ret; | ||
| 1225 | }, arguments) }; | ||
| 1226 | imports.wbg.__wbg_new_with_year_month_day_hr_min_sec_b77701fa8c756a9f = function(arg0, arg1, arg2, arg3, arg4, arg5) { | ||
| 1227 | const ret = new Date(arg0 >>> 0, arg1, arg2, arg3, arg4, arg5); | ||
| 1228 | return ret; | ||
| 1229 | }; | ||
| 1230 | imports.wbg.__wbg_now_2c95c9de01293173 = function(arg0) { | ||
| 1231 | const ret = arg0.now(); | ||
| 1232 | return ret; | ||
| 1233 | }; | ||
| 1234 | imports.wbg.__wbg_now_8cf15d6e317793e1 = function(arg0) { | ||
| 1235 | const ret = arg0.now(); | ||
| 1236 | return ret; | ||
| 1237 | }; | ||
| 1238 | imports.wbg.__wbg_observe_ce343c3f1701b1f1 = function(arg0, arg1, arg2) { | ||
| 1239 | arg0.observe(arg1, arg2); | ||
| 1240 | }; | ||
| 1241 | imports.wbg.__wbg_of_6505a0eb509da02e = function(arg0) { | ||
| 1242 | const ret = Array.of(arg0); | ||
| 1243 | return ret; | ||
| 1244 | }; | ||
| 1245 | imports.wbg.__wbg_offsetTop_cea3f2bb4eff1df7 = function(arg0) { | ||
| 1246 | const ret = arg0.offsetTop; | ||
| 1247 | return ret; | ||
| 1248 | }; | ||
| 1249 | imports.wbg.__wbg_open_c565053c17d497bd = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
| 1250 | const ret = arg0.open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); | ||
| 1251 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 1252 | }, arguments) }; | ||
| 1253 | imports.wbg.__wbg_origin_c4ac149104b9ebad = function() { return handleError(function (arg0, arg1) { | ||
| 1254 | const ret = arg1.origin; | ||
| 1255 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1256 | const len1 = WASM_VECTOR_LEN; | ||
| 1257 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1258 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1259 | }, arguments) }; | ||
| 1260 | imports.wbg.__wbg_performance_7a3ffd0b17f663ad = function(arg0) { | ||
| 1261 | const ret = arg0.performance; | ||
| 1262 | return ret; | ||
| 1263 | }; | ||
| 1264 | imports.wbg.__wbg_performance_c77a440eff2efd9b = function(arg0) { | ||
| 1265 | const ret = arg0.performance; | ||
| 1266 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 1267 | }; | ||
| 1268 | imports.wbg.__wbg_pixelStorei_1956db9ae4b22c29 = function(arg0, arg1, arg2) { | ||
| 1269 | arg0.pixelStorei(arg1 >>> 0, arg2); | ||
| 1270 | }; | ||
| 1271 | imports.wbg.__wbg_pixelStorei_5449c87f83f25694 = function(arg0, arg1, arg2) { | ||
| 1272 | arg0.pixelStorei(arg1 >>> 0, arg2); | ||
| 1273 | }; | ||
| 1274 | imports.wbg.__wbg_port_3b339e96d336d1a4 = function() { return handleError(function (arg0, arg1) { | ||
| 1275 | const ret = arg1.port; | ||
| 1276 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1277 | const len1 = WASM_VECTOR_LEN; | ||
| 1278 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1279 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1280 | }, arguments) }; | ||
| 1281 | imports.wbg.__wbg_preventDefault_e97663aeeb9709d3 = function(arg0) { | ||
| 1282 | arg0.preventDefault(); | ||
| 1283 | }; | ||
| 1284 | imports.wbg.__wbg_protocol_9d5f5cf57103846e = function() { return handleError(function (arg0, arg1) { | ||
| 1285 | const ret = arg1.protocol; | ||
| 1286 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1287 | const len1 = WASM_VECTOR_LEN; | ||
| 1288 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1289 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1290 | }, arguments) }; | ||
| 1291 | imports.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd = function(arg0, arg1, arg2) { | ||
| 1292 | Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2); | ||
| 1293 | }; | ||
| 1294 | imports.wbg.__wbg_push_7d9be8f38fc13975 = function(arg0, arg1) { | ||
| 1295 | const ret = arg0.push(arg1); | ||
| 1296 | return ret; | ||
| 1297 | }; | ||
| 1298 | imports.wbg.__wbg_queueMicrotask_9b549dfce8865860 = function(arg0) { | ||
| 1299 | const ret = arg0.queueMicrotask; | ||
| 1300 | return ret; | ||
| 1301 | }; | ||
| 1302 | imports.wbg.__wbg_queueMicrotask_fca69f5bfad613a5 = function(arg0) { | ||
| 1303 | queueMicrotask(arg0); | ||
| 1304 | }; | ||
| 1305 | imports.wbg.__wbg_readPixels_031b1d4c916fc4f9 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { | ||
| 1306 | arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); | ||
| 1307 | }, arguments) }; | ||
| 1308 | imports.wbg.__wbg_readPixels_3288aabda6ab89ff = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { | ||
| 1309 | arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); | ||
| 1310 | }, arguments) }; | ||
| 1311 | imports.wbg.__wbg_readPixels_bc06772e95599959 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) { | ||
| 1312 | arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7); | ||
| 1313 | }, arguments) }; | ||
| 1314 | imports.wbg.__wbg_removeEventListener_565e273024b68b75 = function() { return handleError(function (arg0, arg1, arg2, arg3) { | ||
| 1315 | arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3); | ||
| 1316 | }, arguments) }; | ||
| 1317 | imports.wbg.__wbg_remove_32f69ffabcbc4072 = function(arg0) { | ||
| 1318 | arg0.remove(); | ||
| 1319 | }; | ||
| 1320 | imports.wbg.__wbg_requestAnimationFrame_994dc4ebde22b8d9 = function() { return handleError(function (arg0, arg1) { | ||
| 1321 | const ret = arg0.requestAnimationFrame(arg1); | ||
| 1322 | return ret; | ||
| 1323 | }, arguments) }; | ||
| 1324 | imports.wbg.__wbg_resolve_fd5bfbaa4ce36e1e = function(arg0) { | ||
| 1325 | const ret = Promise.resolve(arg0); | ||
| 1326 | return ret; | ||
| 1327 | }; | ||
| 1328 | imports.wbg.__wbg_right_b7a0dcdcec0301e1 = function(arg0) { | ||
| 1329 | const ret = arg0.right; | ||
| 1330 | return ret; | ||
| 1331 | }; | ||
| 1332 | imports.wbg.__wbg_scissor_04e903bd18e45083 = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 1333 | arg0.scissor(arg1, arg2, arg3, arg4); | ||
| 1334 | }; | ||
| 1335 | imports.wbg.__wbg_scissor_988df87f9cf85e7e = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 1336 | arg0.scissor(arg1, arg2, arg3, arg4); | ||
| 1337 | }; | ||
| 1338 | imports.wbg.__wbg_search_856af82f9dccb2ef = function() { return handleError(function (arg0, arg1) { | ||
| 1339 | const ret = arg1.search; | ||
| 1340 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1341 | const len1 = WASM_VECTOR_LEN; | ||
| 1342 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1343 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1344 | }, arguments) }; | ||
| 1345 | imports.wbg.__wbg_setAttribute_34747dd193f45828 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
| 1346 | arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); | ||
| 1347 | }, arguments) }; | ||
| 1348 | imports.wbg.__wbg_setItem_1167ad38996d6426 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
| 1349 | arg0.setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); | ||
| 1350 | }, arguments) }; | ||
| 1351 | imports.wbg.__wbg_setProperty_f27b2c05323daf8a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) { | ||
| 1352 | arg0.setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4)); | ||
| 1353 | }, arguments) }; | ||
| 1354 | imports.wbg.__wbg_set_781438a03c0c3c81 = function() { return handleError(function (arg0, arg1, arg2) { | ||
| 1355 | const ret = Reflect.set(arg0, arg1, arg2); | ||
| 1356 | return ret; | ||
| 1357 | }, arguments) }; | ||
| 1358 | imports.wbg.__wbg_set_autofocus_ae8f5acfea79d602 = function() { return handleError(function (arg0, arg1) { | ||
| 1359 | arg0.autofocus = arg1 !== 0; | ||
| 1360 | }, arguments) }; | ||
| 1361 | imports.wbg.__wbg_set_box_d724bbbe6354cf86 = function(arg0, arg1) { | ||
| 1362 | arg0.box = __wbindgen_enum_ResizeObserverBoxOptions[arg1]; | ||
| 1363 | }; | ||
| 1364 | imports.wbg.__wbg_set_height_6f8f8ef4cb40e496 = function(arg0, arg1) { | ||
| 1365 | arg0.height = arg1 >>> 0; | ||
| 1366 | }; | ||
| 1367 | imports.wbg.__wbg_set_once_cb88c6a887803dfa = function(arg0, arg1) { | ||
| 1368 | arg0.once = arg1 !== 0; | ||
| 1369 | }; | ||
| 1370 | imports.wbg.__wbg_set_pitch_b6ac5b18de730cfb = function(arg0, arg1) { | ||
| 1371 | arg0.pitch = arg1; | ||
| 1372 | }; | ||
| 1373 | imports.wbg.__wbg_set_rate_54ffd45620f3724f = function(arg0, arg1) { | ||
| 1374 | arg0.rate = arg1; | ||
| 1375 | }; | ||
| 1376 | imports.wbg.__wbg_set_tabIndex_10b13c5f00904478 = function(arg0, arg1) { | ||
| 1377 | arg0.tabIndex = arg1; | ||
| 1378 | }; | ||
| 1379 | imports.wbg.__wbg_set_type_466673d0a1ab874b = function(arg0, arg1, arg2) { | ||
| 1380 | arg0.type = getStringFromWasm0(arg1, arg2); | ||
| 1381 | }; | ||
| 1382 | imports.wbg.__wbg_set_type_7ce650670a34c68f = function(arg0, arg1, arg2) { | ||
| 1383 | arg0.type = getStringFromWasm0(arg1, arg2); | ||
| 1384 | }; | ||
| 1385 | imports.wbg.__wbg_set_value_8f487a4f7d71c024 = function(arg0, arg1, arg2) { | ||
| 1386 | arg0.value = getStringFromWasm0(arg1, arg2); | ||
| 1387 | }; | ||
| 1388 | imports.wbg.__wbg_set_volume_07ac95f2a6270504 = function(arg0, arg1) { | ||
| 1389 | arg0.volume = arg1; | ||
| 1390 | }; | ||
| 1391 | imports.wbg.__wbg_set_width_7ff7a22c6e9f423e = function(arg0, arg1) { | ||
| 1392 | arg0.width = arg1 >>> 0; | ||
| 1393 | }; | ||
| 1394 | imports.wbg.__wbg_shaderSource_8a7a30baeaf655d5 = function(arg0, arg1, arg2, arg3) { | ||
| 1395 | arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3)); | ||
| 1396 | }; | ||
| 1397 | imports.wbg.__wbg_shaderSource_aea71cfa376fc985 = function(arg0, arg1, arg2, arg3) { | ||
| 1398 | arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3)); | ||
| 1399 | }; | ||
| 1400 | imports.wbg.__wbg_shiftKey_a6df227a917d203b = function(arg0) { | ||
| 1401 | const ret = arg0.shiftKey; | ||
| 1402 | return ret; | ||
| 1403 | }; | ||
| 1404 | imports.wbg.__wbg_shiftKey_d2640abcfa98acec = function(arg0) { | ||
| 1405 | const ret = arg0.shiftKey; | ||
| 1406 | return ret; | ||
| 1407 | }; | ||
| 1408 | imports.wbg.__wbg_size_82fbdb656de23326 = function(arg0) { | ||
| 1409 | const ret = arg0.size; | ||
| 1410 | return ret; | ||
| 1411 | }; | ||
| 1412 | imports.wbg.__wbg_speak_afeecbe1bfe3c0fd = function(arg0, arg1) { | ||
| 1413 | arg0.speak(arg1); | ||
| 1414 | }; | ||
| 1415 | imports.wbg.__wbg_speechSynthesis_13a10279945dd882 = function() { return handleError(function (arg0) { | ||
| 1416 | const ret = arg0.speechSynthesis; | ||
| 1417 | return ret; | ||
| 1418 | }, arguments) }; | ||
| 1419 | imports.wbg.__wbg_stack_d87a83f5bc721084 = function(arg0, arg1) { | ||
| 1420 | const ret = arg1.stack; | ||
| 1421 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1422 | const len1 = WASM_VECTOR_LEN; | ||
| 1423 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1424 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1425 | }; | ||
| 1426 | imports.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335 = function() { | ||
| 1427 | const ret = typeof global === 'undefined' ? null : global; | ||
| 1428 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 1429 | }; | ||
| 1430 | imports.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1 = function() { | ||
| 1431 | const ret = typeof globalThis === 'undefined' ? null : globalThis; | ||
| 1432 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 1433 | }; | ||
| 1434 | imports.wbg.__wbg_static_accessor_SELF_08f5a74c69739274 = function() { | ||
| 1435 | const ret = typeof self === 'undefined' ? null : self; | ||
| 1436 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 1437 | }; | ||
| 1438 | imports.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024 = function() { | ||
| 1439 | const ret = typeof window === 'undefined' ? null : window; | ||
| 1440 | return isLikeNone(ret) ? 0 : addToExternrefTable0(ret); | ||
| 1441 | }; | ||
| 1442 | imports.wbg.__wbg_stopPropagation_611935c25ee35a3c = function(arg0) { | ||
| 1443 | arg0.stopPropagation(); | ||
| 1444 | }; | ||
| 1445 | imports.wbg.__wbg_style_521a717da50e53c6 = function(arg0) { | ||
| 1446 | const ret = arg0.style; | ||
| 1447 | return ret; | ||
| 1448 | }; | ||
| 1449 | imports.wbg.__wbg_texImage2D_9626e500f8562784 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { | ||
| 1450 | arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); | ||
| 1451 | }, arguments) }; | ||
| 1452 | imports.wbg.__wbg_texImage2D_d2480404caf2a35b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { | ||
| 1453 | arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); | ||
| 1454 | }, arguments) }; | ||
| 1455 | imports.wbg.__wbg_texImage2D_d37b35cd7e971b0d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { | ||
| 1456 | arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); | ||
| 1457 | }, arguments) }; | ||
| 1458 | imports.wbg.__wbg_texParameteri_035e104616b395e0 = function(arg0, arg1, arg2, arg3) { | ||
| 1459 | arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); | ||
| 1460 | }; | ||
| 1461 | imports.wbg.__wbg_texParameteri_3a52bfd2ef280632 = function(arg0, arg1, arg2, arg3) { | ||
| 1462 | arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3); | ||
| 1463 | }; | ||
| 1464 | imports.wbg.__wbg_texSubImage2D_1f2ed8e2272ea41a = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { | ||
| 1465 | arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); | ||
| 1466 | }, arguments) }; | ||
| 1467 | imports.wbg.__wbg_texSubImage2D_b3a850c16797a6b2 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { | ||
| 1468 | arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); | ||
| 1469 | }, arguments) }; | ||
| 1470 | imports.wbg.__wbg_texSubImage2D_dc6a2bd41673ac84 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) { | ||
| 1471 | arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9); | ||
| 1472 | }, arguments) }; | ||
| 1473 | imports.wbg.__wbg_then_429f7caf1026411d = function(arg0, arg1, arg2) { | ||
| 1474 | const ret = arg0.then(arg1, arg2); | ||
| 1475 | return ret; | ||
| 1476 | }; | ||
| 1477 | imports.wbg.__wbg_then_4f95312d68691235 = function(arg0, arg1) { | ||
| 1478 | const ret = arg0.then(arg1); | ||
| 1479 | return ret; | ||
| 1480 | }; | ||
| 1481 | imports.wbg.__wbg_top_7d5b82a2c5d7f13f = function(arg0) { | ||
| 1482 | const ret = arg0.top; | ||
| 1483 | return ret; | ||
| 1484 | }; | ||
| 1485 | imports.wbg.__wbg_touches_1cf6f6e3e2a7e85d = function(arg0) { | ||
| 1486 | const ret = arg0.touches; | ||
| 1487 | return ret; | ||
| 1488 | }; | ||
| 1489 | imports.wbg.__wbg_type_498349ffaacc608d = function(arg0, arg1) { | ||
| 1490 | const ret = arg1.type; | ||
| 1491 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1492 | const len1 = WASM_VECTOR_LEN; | ||
| 1493 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1494 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1495 | }; | ||
| 1496 | imports.wbg.__wbg_type_cb833fc71b5282fb = function(arg0, arg1) { | ||
| 1497 | const ret = arg1.type; | ||
| 1498 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1499 | const len1 = WASM_VECTOR_LEN; | ||
| 1500 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1501 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1502 | }; | ||
| 1503 | imports.wbg.__wbg_uniform1i_85131b7388bc8e3f = function(arg0, arg1, arg2) { | ||
| 1504 | arg0.uniform1i(arg1, arg2); | ||
| 1505 | }; | ||
| 1506 | imports.wbg.__wbg_uniform1i_e48736e68cd30ed1 = function(arg0, arg1, arg2) { | ||
| 1507 | arg0.uniform1i(arg1, arg2); | ||
| 1508 | }; | ||
| 1509 | imports.wbg.__wbg_uniform2f_191d769606542c31 = function(arg0, arg1, arg2, arg3) { | ||
| 1510 | arg0.uniform2f(arg1, arg2, arg3); | ||
| 1511 | }; | ||
| 1512 | imports.wbg.__wbg_uniform2f_d0f7977f54aed068 = function(arg0, arg1, arg2, arg3) { | ||
| 1513 | arg0.uniform2f(arg1, arg2, arg3); | ||
| 1514 | }; | ||
| 1515 | imports.wbg.__wbg_useProgram_142dd02d095f80f1 = function(arg0, arg1) { | ||
| 1516 | arg0.useProgram(arg1); | ||
| 1517 | }; | ||
| 1518 | imports.wbg.__wbg_useProgram_4632a62f19deea67 = function(arg0, arg1) { | ||
| 1519 | arg0.useProgram(arg1); | ||
| 1520 | }; | ||
| 1521 | imports.wbg.__wbg_userAgent_e18bc0cc9ad38ec1 = function() { return handleError(function (arg0, arg1) { | ||
| 1522 | const ret = arg1.userAgent; | ||
| 1523 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1524 | const len1 = WASM_VECTOR_LEN; | ||
| 1525 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1526 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1527 | }, arguments) }; | ||
| 1528 | imports.wbg.__wbg_value_2c75ca481407d038 = function(arg0, arg1) { | ||
| 1529 | const ret = arg1.value; | ||
| 1530 | const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc); | ||
| 1531 | const len1 = WASM_VECTOR_LEN; | ||
| 1532 | getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true); | ||
| 1533 | getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true); | ||
| 1534 | }; | ||
| 1535 | imports.wbg.__wbg_vertexAttribPointer_5c516f4c675103bf = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { | ||
| 1536 | arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); | ||
| 1537 | }; | ||
| 1538 | imports.wbg.__wbg_vertexAttribPointer_880223685613a791 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) { | ||
| 1539 | arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6); | ||
| 1540 | }; | ||
| 1541 | imports.wbg.__wbg_viewport_1b0f7b63c424b52f = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 1542 | arg0.viewport(arg1, arg2, arg3, arg4); | ||
| 1543 | }; | ||
| 1544 | imports.wbg.__wbg_viewport_ceaa5c1a061b76df = function(arg0, arg1, arg2, arg3, arg4) { | ||
| 1545 | arg0.viewport(arg1, arg2, arg3, arg4); | ||
| 1546 | }; | ||
| 1547 | imports.wbg.__wbg_width_30d712cfe70e4fae = function(arg0) { | ||
| 1548 | const ret = arg0.width; | ||
| 1549 | return ret; | ||
| 1550 | }; | ||
| 1551 | imports.wbg.__wbg_width_dd0cfe94d42f5143 = function(arg0) { | ||
| 1552 | const ret = arg0.width; | ||
| 1553 | return ret; | ||
| 1554 | }; | ||
| 1555 | imports.wbg.__wbg_writeText_c9776abb6826901c = function(arg0, arg1, arg2) { | ||
| 1556 | const ret = arg0.writeText(getStringFromWasm0(arg1, arg2)); | ||
| 1557 | return ret; | ||
| 1558 | }; | ||
| 1559 | imports.wbg.__wbg_write_b6b51422643b0ba7 = function(arg0, arg1) { | ||
| 1560 | const ret = arg0.write(arg1); | ||
| 1561 | return ret; | ||
| 1562 | }; | ||
| 1563 | imports.wbg.__wbindgen_cast_03638aa9005b6df5 = function(arg0, arg1) { | ||
| 1564 | // Cast intrinsic for `Closure(Closure { dtor_idx: 175, function: Function { arguments: [NamedExternref("Event")], shim_idx: 176, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. | ||
| 1565 | const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h49cbec99e928a4db, wasm_bindgen__convert__closures_____invoke__hc6bab89b21a44a5b); | ||
| 1566 | return ret; | ||
| 1567 | }; | ||
| 1568 | imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) { | ||
| 1569 | // Cast intrinsic for `Ref(String) -> Externref`. | ||
| 1570 | const ret = getStringFromWasm0(arg0, arg1); | ||
| 1571 | return ret; | ||
| 1572 | }; | ||
| 1573 | imports.wbg.__wbindgen_cast_5c71f2941e71441c = function(arg0, arg1) { | ||
| 1574 | // Cast intrinsic for `Closure(Closure { dtor_idx: 175, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 176, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. | ||
| 1575 | const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h49cbec99e928a4db, wasm_bindgen__convert__closures_____invoke__hc6bab89b21a44a5b); | ||
| 1576 | return ret; | ||
| 1577 | }; | ||
| 1578 | imports.wbg.__wbindgen_cast_7c316abdc43840a3 = function(arg0, arg1) { | ||
| 1579 | // Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`. | ||
| 1580 | const ret = getArrayU32FromWasm0(arg0, arg1); | ||
| 1581 | return ret; | ||
| 1582 | }; | ||
| 1583 | imports.wbg.__wbindgen_cast_9575fb55a66c262b = function(arg0, arg1) { | ||
| 1584 | // Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`. | ||
| 1585 | const ret = getArrayI32FromWasm0(arg0, arg1); | ||
| 1586 | return ret; | ||
| 1587 | }; | ||
| 1588 | imports.wbg.__wbindgen_cast_b98f8fc7fd4d03d3 = function(arg0, arg1) { | ||
| 1589 | // Cast intrinsic for `Closure(Closure { dtor_idx: 175, function: Function { arguments: [], shim_idx: 179, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`. | ||
| 1590 | const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h49cbec99e928a4db, wasm_bindgen__convert__closures_____invoke__hdef1addf9aa6cca2); | ||
| 1591 | return ret; | ||
| 1592 | }; | ||
| 1593 | imports.wbg.__wbindgen_cast_bbb4883c6389f1de = function(arg0, arg1) { | ||
| 1594 | // Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`. | ||
| 1595 | const ret = getArrayU16FromWasm0(arg0, arg1); | ||
| 1596 | return ret; | ||
| 1597 | }; | ||
| 1598 | imports.wbg.__wbindgen_cast_cb9088102bce6b30 = function(arg0, arg1) { | ||
| 1599 | // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`. | ||
| 1600 | const ret = getArrayU8FromWasm0(arg0, arg1); | ||
| 1601 | return ret; | ||
| 1602 | }; | ||
| 1603 | imports.wbg.__wbindgen_cast_cd07b1914aa3d62c = function(arg0, arg1) { | ||
| 1604 | // Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`. | ||
| 1605 | const ret = getArrayF32FromWasm0(arg0, arg1); | ||
| 1606 | return ret; | ||
| 1607 | }; | ||
| 1608 | imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) { | ||
| 1609 | // Cast intrinsic for `F64 -> Externref`. | ||
| 1610 | const ret = arg0; | ||
| 1611 | return ret; | ||
| 1612 | }; | ||
| 1613 | imports.wbg.__wbindgen_cast_e47ceb6027f5c92c = function(arg0, arg1) { | ||
| 1614 | // Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`. | ||
| 1615 | const ret = getArrayI16FromWasm0(arg0, arg1); | ||
| 1616 | return ret; | ||
| 1617 | }; | ||
| 1618 | imports.wbg.__wbindgen_cast_f83f4667ab6bf7f9 = function(arg0, arg1) { | ||
| 1619 | // Cast intrinsic for `Closure(Closure { dtor_idx: 241, function: Function { arguments: [Externref], shim_idx: 242, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`. | ||
| 1620 | const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h65082910899e8512, wasm_bindgen__convert__closures_____invoke__h4c3dfc33db0f0560); | ||
| 1621 | return ret; | ||
| 1622 | }; | ||
| 1623 | imports.wbg.__wbindgen_cast_feefb5fadd6457fd = function(arg0, arg1) { | ||
| 1624 | // Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`. | ||
| 1625 | const ret = getArrayI8FromWasm0(arg0, arg1); | ||
| 1626 | return ret; | ||
| 1627 | }; | ||
| 1628 | imports.wbg.__wbindgen_init_externref_table = function() { | ||
| 1629 | const table = wasm.__wbindgen_externrefs; | ||
| 1630 | const offset = table.grow(4); | ||
| 1631 | table.set(0, undefined); | ||
| 1632 | table.set(offset + 0, undefined); | ||
| 1633 | table.set(offset + 1, null); | ||
| 1634 | table.set(offset + 2, true); | ||
| 1635 | table.set(offset + 3, false); | ||
| 1636 | }; | ||
| 1637 | |||
| 1638 | return imports; | ||
| 1639 | } | ||
| 1640 | |||
| 1641 | function __wbg_finalize_init(instance, module) { | ||
| 1642 | wasm = instance.exports; | ||
| 1643 | __wbg_init.__wbindgen_wasm_module = module; | ||
| 1644 | cachedDataViewMemory0 = null; | ||
| 1645 | cachedFloat32ArrayMemory0 = null; | ||
| 1646 | cachedInt16ArrayMemory0 = null; | ||
| 1647 | cachedInt32ArrayMemory0 = null; | ||
| 1648 | cachedInt8ArrayMemory0 = null; | ||
| 1649 | cachedUint16ArrayMemory0 = null; | ||
| 1650 | cachedUint32ArrayMemory0 = null; | ||
| 1651 | cachedUint8ArrayMemory0 = null; | ||
| 1652 | |||
| 1653 | |||
| 1654 | wasm.__wbindgen_start(); | ||
| 1655 | return wasm; | ||
| 1656 | } | ||
| 1657 | |||
| 1658 | function initSync(module) { | ||
| 1659 | if (wasm !== undefined) return wasm; | ||
| 1660 | |||
| 1661 | |||
| 1662 | if (typeof module !== 'undefined') { | ||
| 1663 | if (Object.getPrototypeOf(module) === Object.prototype) { | ||
| 1664 | ({module} = module) | ||
| 1665 | } else { | ||
| 1666 | console.warn('using deprecated parameters for `initSync()`; pass a single object instead') | ||
| 1667 | } | ||
| 1668 | } | ||
| 1669 | |||
| 1670 | const imports = __wbg_get_imports(); | ||
| 1671 | if (!(module instanceof WebAssembly.Module)) { | ||
| 1672 | module = new WebAssembly.Module(module); | ||
| 1673 | } | ||
| 1674 | const instance = new WebAssembly.Instance(module, imports); | ||
| 1675 | return __wbg_finalize_init(instance, module); | ||
| 1676 | } | ||
| 1677 | |||
| 1678 | async function __wbg_init(module_or_path) { | ||
| 1679 | if (wasm !== undefined) return wasm; | ||
| 1680 | |||
| 1681 | |||
| 1682 | if (typeof module_or_path !== 'undefined') { | ||
| 1683 | if (Object.getPrototypeOf(module_or_path) === Object.prototype) { | ||
| 1684 | ({module_or_path} = module_or_path) | ||
| 1685 | } else { | ||
| 1686 | console.warn('using deprecated parameters for the initialization function; pass a single object instead') | ||
| 1687 | } | ||
| 1688 | } | ||
| 1689 | |||
| 1690 | if (typeof module_or_path === 'undefined') { | ||
| 1691 | module_or_path = new URL('year_progress_bg.wasm', import.meta.url); | ||
| 1692 | } | ||
| 1693 | const imports = __wbg_get_imports(); | ||
| 1694 | |||
| 1695 | if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) { | ||
| 1696 | module_or_path = fetch(module_or_path); | ||
| 1697 | } | ||
| 1698 | |||
| 1699 | const { instance, module } = await __wbg_load(await module_or_path, imports); | ||
| 1700 | |||
| 1701 | return __wbg_finalize_init(instance, module); | ||
| 1702 | } | ||
| 1703 | |||
| 1704 | export { initSync }; | ||
| 1705 | export default __wbg_init; | ||
diff --git a/year/year_progress-d70083732ec3f92e_bg.wasm b/year/year_progress-d70083732ec3f92e_bg.wasm new file mode 100644 index 0000000..5c02742 --- /dev/null +++ b/year/year_progress-d70083732ec3f92e_bg.wasm | |||
| Binary files differ | |||
