@dcl-regenesislabs/bevy-explorer-web 0.1.0-18286584387.commit-ebe570a → 0.1.0-18292430673.commit-e417a13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env +1 -1
- package/index.html +1 -1
- package/package.json +3 -3
- package/scripts/prebuild.js +19 -0
- package/pkg/package.json +0 -15
- package/pkg/snippets/comms-53217a45365bb5fa/livekit_web_bindings.js +0 -270
- package/pkg/webgpu_build.d.ts +0 -235
- package/pkg/webgpu_build.js +0 -4637
- package/pkg/webgpu_build_bg.wasm +0 -0
- package/pkg/webgpu_build_bg.wasm.d.ts +0 -114
package/pkg/webgpu_build.js
DELETED
|
@@ -1,4637 +0,0 @@
|
|
|
1
|
-
import { close_room, connect_room, is_microphone_available, publish_data, set_microphone_enabled, set_room_event_handler } from './snippets/comms-53217a45365bb5fa/livekit_web_bindings.js';
|
|
2
|
-
|
|
3
|
-
const lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : (typeof webkitAudioContext !== 'undefined' ? webkitAudioContext : undefined));
|
|
4
|
-
let wasm;
|
|
5
|
-
|
|
6
|
-
function isLikeNone(x) {
|
|
7
|
-
return x === undefined || x === null;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
function addToExternrefTable0(obj) {
|
|
11
|
-
const idx = wasm.__externref_table_alloc();
|
|
12
|
-
wasm.__wbindgen_export_1.set(idx, obj);
|
|
13
|
-
return idx;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
|
17
|
-
|
|
18
|
-
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
|
19
|
-
|
|
20
|
-
let cachedUint8ArrayMemory0 = null;
|
|
21
|
-
|
|
22
|
-
function getUint8ArrayMemory0() {
|
|
23
|
-
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.buffer !== wasm.memory.buffer) {
|
|
24
|
-
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
25
|
-
}
|
|
26
|
-
return cachedUint8ArrayMemory0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
function getStringFromWasm0(ptr, len) {
|
|
30
|
-
ptr = ptr >>> 0;
|
|
31
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().slice(ptr, ptr + len));
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function handleError(f, args) {
|
|
35
|
-
try {
|
|
36
|
-
return f.apply(this, args);
|
|
37
|
-
} catch (e) {
|
|
38
|
-
const idx = addToExternrefTable0(e);
|
|
39
|
-
wasm.__wbindgen_exn_store(idx);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
let WASM_VECTOR_LEN = 0;
|
|
44
|
-
|
|
45
|
-
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
|
|
46
|
-
|
|
47
|
-
const encodeString = function (arg, view) {
|
|
48
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
49
|
-
view.set(buf);
|
|
50
|
-
return {
|
|
51
|
-
read: arg.length,
|
|
52
|
-
written: buf.length
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
function passStringToWasm0(arg, malloc, realloc) {
|
|
57
|
-
|
|
58
|
-
if (realloc === undefined) {
|
|
59
|
-
const buf = cachedTextEncoder.encode(arg);
|
|
60
|
-
const ptr = malloc(buf.length, 1) >>> 0;
|
|
61
|
-
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
62
|
-
WASM_VECTOR_LEN = buf.length;
|
|
63
|
-
return ptr;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
let len = arg.length;
|
|
67
|
-
let ptr = malloc(len, 1) >>> 0;
|
|
68
|
-
|
|
69
|
-
const mem = getUint8ArrayMemory0();
|
|
70
|
-
|
|
71
|
-
let offset = 0;
|
|
72
|
-
|
|
73
|
-
for (; offset < len; offset++) {
|
|
74
|
-
const code = arg.charCodeAt(offset);
|
|
75
|
-
if (code > 0x7F) break;
|
|
76
|
-
mem[ptr + offset] = code;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
if (offset !== len) {
|
|
80
|
-
if (offset !== 0) {
|
|
81
|
-
arg = arg.slice(offset);
|
|
82
|
-
}
|
|
83
|
-
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
84
|
-
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
85
|
-
const ret = encodeString(arg, view);
|
|
86
|
-
|
|
87
|
-
offset += ret.written;
|
|
88
|
-
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
WASM_VECTOR_LEN = offset;
|
|
92
|
-
return ptr;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
let cachedDataViewMemory0 = null;
|
|
96
|
-
|
|
97
|
-
function getDataViewMemory0() {
|
|
98
|
-
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer !== wasm.memory.buffer) {
|
|
99
|
-
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
100
|
-
}
|
|
101
|
-
return cachedDataViewMemory0;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
105
|
-
ptr = ptr >>> 0;
|
|
106
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
let cachedUint32ArrayMemory0 = null;
|
|
110
|
-
|
|
111
|
-
function getUint32ArrayMemory0() {
|
|
112
|
-
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.buffer !== wasm.memory.buffer) {
|
|
113
|
-
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
114
|
-
}
|
|
115
|
-
return cachedUint32ArrayMemory0;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
function getArrayU32FromWasm0(ptr, len) {
|
|
119
|
-
ptr = ptr >>> 0;
|
|
120
|
-
return getUint32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
124
|
-
? { register: () => {}, unregister: () => {} }
|
|
125
|
-
: new FinalizationRegistry(state => {
|
|
126
|
-
wasm.__wbindgen_export_7.get(state.dtor)(state.a, state.b)
|
|
127
|
-
});
|
|
128
|
-
|
|
129
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
130
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
131
|
-
const real = (...args) => {
|
|
132
|
-
// First up with a closure we increment the internal reference
|
|
133
|
-
// count. This ensures that the Rust closure environment won't
|
|
134
|
-
// be deallocated while we're invoking it.
|
|
135
|
-
state.cnt++;
|
|
136
|
-
const a = state.a;
|
|
137
|
-
state.a = 0;
|
|
138
|
-
try {
|
|
139
|
-
return f(a, state.b, ...args);
|
|
140
|
-
} finally {
|
|
141
|
-
if (--state.cnt === 0) {
|
|
142
|
-
wasm.__wbindgen_export_7.get(state.dtor)(a, state.b);
|
|
143
|
-
CLOSURE_DTORS.unregister(state);
|
|
144
|
-
} else {
|
|
145
|
-
state.a = a;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
real.original = state;
|
|
150
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
151
|
-
return real;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
function debugString(val) {
|
|
155
|
-
// primitive types
|
|
156
|
-
const type = typeof val;
|
|
157
|
-
if (type == 'number' || type == 'boolean' || val == null) {
|
|
158
|
-
return `${val}`;
|
|
159
|
-
}
|
|
160
|
-
if (type == 'string') {
|
|
161
|
-
return `"${val}"`;
|
|
162
|
-
}
|
|
163
|
-
if (type == 'symbol') {
|
|
164
|
-
const description = val.description;
|
|
165
|
-
if (description == null) {
|
|
166
|
-
return 'Symbol';
|
|
167
|
-
} else {
|
|
168
|
-
return `Symbol(${description})`;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
if (type == 'function') {
|
|
172
|
-
const name = val.name;
|
|
173
|
-
if (typeof name == 'string' && name.length > 0) {
|
|
174
|
-
return `Function(${name})`;
|
|
175
|
-
} else {
|
|
176
|
-
return 'Function';
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
// objects
|
|
180
|
-
if (Array.isArray(val)) {
|
|
181
|
-
const length = val.length;
|
|
182
|
-
let debug = '[';
|
|
183
|
-
if (length > 0) {
|
|
184
|
-
debug += debugString(val[0]);
|
|
185
|
-
}
|
|
186
|
-
for(let i = 1; i < length; i++) {
|
|
187
|
-
debug += ', ' + debugString(val[i]);
|
|
188
|
-
}
|
|
189
|
-
debug += ']';
|
|
190
|
-
return debug;
|
|
191
|
-
}
|
|
192
|
-
// Test for built-in
|
|
193
|
-
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
194
|
-
let className;
|
|
195
|
-
if (builtInMatches && builtInMatches.length > 1) {
|
|
196
|
-
className = builtInMatches[1];
|
|
197
|
-
} else {
|
|
198
|
-
// Failed to match the standard '[object ClassName]'
|
|
199
|
-
return toString.call(val);
|
|
200
|
-
}
|
|
201
|
-
if (className == 'Object') {
|
|
202
|
-
// we're a user defined class or Object
|
|
203
|
-
// JSON.stringify avoids problems with cycles, and is generally much
|
|
204
|
-
// easier than looping through ownProperties of `val`.
|
|
205
|
-
try {
|
|
206
|
-
return 'Object(' + JSON.stringify(val) + ')';
|
|
207
|
-
} catch (_) {
|
|
208
|
-
return 'Object';
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
// errors
|
|
212
|
-
if (val instanceof Error) {
|
|
213
|
-
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
214
|
-
}
|
|
215
|
-
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
216
|
-
return className;
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* call from a separate worker to initialize a channel for asset load processing
|
|
220
|
-
*/
|
|
221
|
-
export function init_asset_load_thread() {
|
|
222
|
-
wasm.init_asset_load_thread();
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
/**
|
|
226
|
-
* @returns {Promise<any>}
|
|
227
|
-
*/
|
|
228
|
-
export function engine_init() {
|
|
229
|
-
const ret = wasm.engine_init();
|
|
230
|
-
return ret;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* @param {string} platform
|
|
235
|
-
* @param {string} realm
|
|
236
|
-
* @param {string} location
|
|
237
|
-
* @param {string} system_scene
|
|
238
|
-
* @param {boolean} with_thread_loader
|
|
239
|
-
* @param {number} rabpf
|
|
240
|
-
*/
|
|
241
|
-
export function engine_run(platform, realm, location, system_scene, with_thread_loader, rabpf) {
|
|
242
|
-
const ptr0 = passStringToWasm0(platform, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
243
|
-
const len0 = WASM_VECTOR_LEN;
|
|
244
|
-
const ptr1 = passStringToWasm0(realm, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
245
|
-
const len1 = WASM_VECTOR_LEN;
|
|
246
|
-
const ptr2 = passStringToWasm0(location, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
247
|
-
const len2 = WASM_VECTOR_LEN;
|
|
248
|
-
const ptr3 = passStringToWasm0(system_scene, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
249
|
-
const len3 = WASM_VECTOR_LEN;
|
|
250
|
-
wasm.engine_run(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, with_thread_loader, rabpf);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
function _assertClass(instance, klass) {
|
|
254
|
-
if (!(instance instanceof klass)) {
|
|
255
|
-
throw new Error(`expected instance of ${klass.name}`);
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* @param {WorkerContext} state
|
|
260
|
-
* @returns {number}
|
|
261
|
-
*/
|
|
262
|
-
export function op_webstorage_length(state) {
|
|
263
|
-
_assertClass(state, WorkerContext);
|
|
264
|
-
const ret = wasm.op_webstorage_length(state.__wbg_ptr);
|
|
265
|
-
return ret >>> 0;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* @param {WorkerContext} state
|
|
270
|
-
* @param {number} index
|
|
271
|
-
* @returns {string | undefined}
|
|
272
|
-
*/
|
|
273
|
-
export function op_webstorage_key(state, index) {
|
|
274
|
-
_assertClass(state, WorkerContext);
|
|
275
|
-
const ret = wasm.op_webstorage_key(state.__wbg_ptr, index);
|
|
276
|
-
let v1;
|
|
277
|
-
if (ret[0] !== 0) {
|
|
278
|
-
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
279
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
280
|
-
}
|
|
281
|
-
return v1;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* @param {WorkerContext} state
|
|
286
|
-
* @param {string} key_name
|
|
287
|
-
* @param {string} value
|
|
288
|
-
*/
|
|
289
|
-
export function op_webstorage_set(state, key_name, value) {
|
|
290
|
-
_assertClass(state, WorkerContext);
|
|
291
|
-
const ptr0 = passStringToWasm0(key_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
292
|
-
const len0 = WASM_VECTOR_LEN;
|
|
293
|
-
const ptr1 = passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
294
|
-
const len1 = WASM_VECTOR_LEN;
|
|
295
|
-
wasm.op_webstorage_set(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* @param {WorkerContext} state
|
|
300
|
-
* @param {string} key_name
|
|
301
|
-
* @returns {string | undefined}
|
|
302
|
-
*/
|
|
303
|
-
export function op_webstorage_get(state, key_name) {
|
|
304
|
-
_assertClass(state, WorkerContext);
|
|
305
|
-
const ptr0 = passStringToWasm0(key_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
306
|
-
const len0 = WASM_VECTOR_LEN;
|
|
307
|
-
const ret = wasm.op_webstorage_get(state.__wbg_ptr, ptr0, len0);
|
|
308
|
-
let v2;
|
|
309
|
-
if (ret[0] !== 0) {
|
|
310
|
-
v2 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
311
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
312
|
-
}
|
|
313
|
-
return v2;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* @param {WorkerContext} state
|
|
318
|
-
* @param {string} key_name
|
|
319
|
-
*/
|
|
320
|
-
export function op_webstorage_remove(state, key_name) {
|
|
321
|
-
_assertClass(state, WorkerContext);
|
|
322
|
-
const ptr0 = passStringToWasm0(key_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
323
|
-
const len0 = WASM_VECTOR_LEN;
|
|
324
|
-
wasm.op_webstorage_remove(state.__wbg_ptr, ptr0, len0);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
* @param {WorkerContext} state
|
|
329
|
-
*/
|
|
330
|
-
export function op_webstorage_clear(state) {
|
|
331
|
-
_assertClass(state, WorkerContext);
|
|
332
|
-
wasm.op_webstorage_clear(state.__wbg_ptr);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
function getArrayJsValueFromWasm0(ptr, len) {
|
|
336
|
-
ptr = ptr >>> 0;
|
|
337
|
-
const mem = getDataViewMemory0();
|
|
338
|
-
const result = [];
|
|
339
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
340
|
-
result.push(wasm.__wbindgen_export_1.get(mem.getUint32(i, true)));
|
|
341
|
-
}
|
|
342
|
-
wasm.__externref_drop_slice(ptr, len);
|
|
343
|
-
return result;
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* @param {WorkerContext} state
|
|
347
|
-
* @returns {string[]}
|
|
348
|
-
*/
|
|
349
|
-
export function op_webstorage_iterate_keys(state) {
|
|
350
|
-
_assertClass(state, WorkerContext);
|
|
351
|
-
const ret = wasm.op_webstorage_iterate_keys(state.__wbg_ptr);
|
|
352
|
-
var v1 = getArrayJsValueFromWasm0(ret[0], ret[1]).slice();
|
|
353
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 4, 4);
|
|
354
|
-
return v1;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
/**
|
|
358
|
-
* @param {WorkerContext} state
|
|
359
|
-
* @param {string} key_name
|
|
360
|
-
* @returns {boolean}
|
|
361
|
-
*/
|
|
362
|
-
export function op_webstorage_has(state, key_name) {
|
|
363
|
-
_assertClass(state, WorkerContext);
|
|
364
|
-
const ptr0 = passStringToWasm0(key_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
365
|
-
const len0 = WASM_VECTOR_LEN;
|
|
366
|
-
const ret = wasm.op_webstorage_has(state.__wbg_ptr, ptr0, len0);
|
|
367
|
-
return ret !== 0;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* @param {WorkerContext} state
|
|
372
|
-
* @param {string} src
|
|
373
|
-
* @returns {Promise<any>}
|
|
374
|
-
*/
|
|
375
|
-
export function op_get_texture_size(state, src) {
|
|
376
|
-
_assertClass(state, WorkerContext);
|
|
377
|
-
const ptr0 = passStringToWasm0(src, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
378
|
-
const len0 = WASM_VECTOR_LEN;
|
|
379
|
-
const ret = wasm.op_get_texture_size(state.__wbg_ptr, ptr0, len0);
|
|
380
|
-
return ret;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
/**
|
|
384
|
-
* @param {WorkerContext} state
|
|
385
|
-
* @param {string} message
|
|
386
|
-
* @returns {Promise<void>}
|
|
387
|
-
*/
|
|
388
|
-
export function op_comms_send_string(state, message) {
|
|
389
|
-
_assertClass(state, WorkerContext);
|
|
390
|
-
const ptr0 = passStringToWasm0(message, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
391
|
-
const len0 = WASM_VECTOR_LEN;
|
|
392
|
-
const ret = wasm.op_comms_send_string(state.__wbg_ptr, ptr0, len0);
|
|
393
|
-
return ret;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* @param {WorkerContext} state
|
|
398
|
-
* @param {ArrayBuffer} message
|
|
399
|
-
* @param {string | null} [recipient]
|
|
400
|
-
* @returns {Promise<void>}
|
|
401
|
-
*/
|
|
402
|
-
export function op_comms_send_binary_single(state, message, recipient) {
|
|
403
|
-
_assertClass(state, WorkerContext);
|
|
404
|
-
var ptr0 = isLikeNone(recipient) ? 0 : passStringToWasm0(recipient, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
405
|
-
var len0 = WASM_VECTOR_LEN;
|
|
406
|
-
const ret = wasm.op_comms_send_binary_single(state.__wbg_ptr, message, ptr0, len0);
|
|
407
|
-
return ret;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* @param {WorkerContext} state
|
|
412
|
-
* @returns {Promise<Array<any>>}
|
|
413
|
-
*/
|
|
414
|
-
export function op_comms_recv_binary(state) {
|
|
415
|
-
_assertClass(state, WorkerContext);
|
|
416
|
-
const ret = wasm.op_comms_recv_binary(state.__wbg_ptr);
|
|
417
|
-
return ret;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
/**
|
|
421
|
-
* @param {WorkerContext} op_state
|
|
422
|
-
* @param {ArrayBuffer} messages
|
|
423
|
-
*/
|
|
424
|
-
export function op_crdt_send_to_renderer(op_state, messages) {
|
|
425
|
-
_assertClass(op_state, WorkerContext);
|
|
426
|
-
wasm.op_crdt_send_to_renderer(op_state.__wbg_ptr, messages);
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* @param {WorkerContext} op_state
|
|
431
|
-
* @returns {Promise<Array<any>>}
|
|
432
|
-
*/
|
|
433
|
-
export function op_crdt_recv_from_renderer(op_state) {
|
|
434
|
-
_assertClass(op_state, WorkerContext);
|
|
435
|
-
const ret = wasm.op_crdt_recv_from_renderer(op_state.__wbg_ptr);
|
|
436
|
-
return ret;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
/**
|
|
440
|
-
* @param {WorkerContext} state
|
|
441
|
-
* @param {string} method
|
|
442
|
-
* @param {string} params
|
|
443
|
-
* @returns {Promise<any>}
|
|
444
|
-
*/
|
|
445
|
-
export function op_send_async(state, method, params) {
|
|
446
|
-
_assertClass(state, WorkerContext);
|
|
447
|
-
const ptr0 = passStringToWasm0(method, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
448
|
-
const len0 = WASM_VECTOR_LEN;
|
|
449
|
-
const ptr1 = passStringToWasm0(params, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
450
|
-
const len1 = WASM_VECTOR_LEN;
|
|
451
|
-
const ret = wasm.op_send_async(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
452
|
-
return ret;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* @param {WorkerContext} state
|
|
457
|
-
* @param {string} id
|
|
458
|
-
*/
|
|
459
|
-
export function op_subscribe(state, id) {
|
|
460
|
-
_assertClass(state, WorkerContext);
|
|
461
|
-
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
462
|
-
const len0 = WASM_VECTOR_LEN;
|
|
463
|
-
wasm.op_subscribe(state.__wbg_ptr, ptr0, len0);
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* @param {WorkerContext} state
|
|
468
|
-
* @param {string} id
|
|
469
|
-
*/
|
|
470
|
-
export function op_unsubscribe(state, id) {
|
|
471
|
-
_assertClass(state, WorkerContext);
|
|
472
|
-
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
473
|
-
const len0 = WASM_VECTOR_LEN;
|
|
474
|
-
wasm.op_unsubscribe(state.__wbg_ptr, ptr0, len0);
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* @param {WorkerContext} state
|
|
479
|
-
* @returns {Array<any>}
|
|
480
|
-
*/
|
|
481
|
-
export function op_send_batch(state) {
|
|
482
|
-
_assertClass(state, WorkerContext);
|
|
483
|
-
const ret = wasm.op_send_batch(state.__wbg_ptr);
|
|
484
|
-
return ret;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* @param {WorkerContext} state
|
|
489
|
-
* @returns {Promise<string[]>}
|
|
490
|
-
*/
|
|
491
|
-
export function op_get_connected_players(state) {
|
|
492
|
-
_assertClass(state, WorkerContext);
|
|
493
|
-
const ret = wasm.op_get_connected_players(state.__wbg_ptr);
|
|
494
|
-
return ret;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* @param {WorkerContext} state
|
|
499
|
-
* @returns {Promise<string[]>}
|
|
500
|
-
*/
|
|
501
|
-
export function op_get_players_in_scene(state) {
|
|
502
|
-
_assertClass(state, WorkerContext);
|
|
503
|
-
const ret = wasm.op_get_players_in_scene(state.__wbg_ptr);
|
|
504
|
-
return ret;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* @param {WorkerContext} state
|
|
509
|
-
* @param {string | null} [pid]
|
|
510
|
-
* @param {string | null} [ens]
|
|
511
|
-
* @returns {Promise<any>}
|
|
512
|
-
*/
|
|
513
|
-
export function op_portable_spawn(state, pid, ens) {
|
|
514
|
-
_assertClass(state, WorkerContext);
|
|
515
|
-
var ptr0 = isLikeNone(pid) ? 0 : passStringToWasm0(pid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
516
|
-
var len0 = WASM_VECTOR_LEN;
|
|
517
|
-
var ptr1 = isLikeNone(ens) ? 0 : passStringToWasm0(ens, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
518
|
-
var len1 = WASM_VECTOR_LEN;
|
|
519
|
-
const ret = wasm.op_portable_spawn(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
520
|
-
return ret;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
/**
|
|
524
|
-
* @param {WorkerContext} state
|
|
525
|
-
* @param {string} pid
|
|
526
|
-
* @returns {Promise<boolean>}
|
|
527
|
-
*/
|
|
528
|
-
export function op_portable_kill(state, pid) {
|
|
529
|
-
_assertClass(state, WorkerContext);
|
|
530
|
-
const ptr0 = passStringToWasm0(pid, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
531
|
-
const len0 = WASM_VECTOR_LEN;
|
|
532
|
-
const ret = wasm.op_portable_kill(state.__wbg_ptr, ptr0, len0);
|
|
533
|
-
return ret;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
|
-
/**
|
|
537
|
-
* @param {WorkerContext} state
|
|
538
|
-
* @returns {Promise<any[]>}
|
|
539
|
-
*/
|
|
540
|
-
export function op_portable_list(state) {
|
|
541
|
-
_assertClass(state, WorkerContext);
|
|
542
|
-
const ret = wasm.op_portable_list(state.__wbg_ptr);
|
|
543
|
-
return ret;
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* @param {WorkerContext} op_state
|
|
548
|
-
* @param {number} position_x
|
|
549
|
-
* @param {number} position_y
|
|
550
|
-
* @param {number} position_z
|
|
551
|
-
* @param {boolean} camera
|
|
552
|
-
* @param {number} maybe_camera_x
|
|
553
|
-
* @param {number} maybe_camera_y
|
|
554
|
-
* @param {number} maybe_camera_z
|
|
555
|
-
* @param {boolean} looking_at
|
|
556
|
-
* @param {number} maybe_looking_at_x
|
|
557
|
-
* @param {number} maybe_looking_at_y
|
|
558
|
-
* @param {number} maybe_looking_at_z
|
|
559
|
-
*/
|
|
560
|
-
export function op_move_player_to(op_state, position_x, position_y, position_z, camera, maybe_camera_x, maybe_camera_y, maybe_camera_z, looking_at, maybe_looking_at_x, maybe_looking_at_y, maybe_looking_at_z) {
|
|
561
|
-
_assertClass(op_state, WorkerContext);
|
|
562
|
-
wasm.op_move_player_to(op_state.__wbg_ptr, position_x, position_y, position_z, camera, maybe_camera_x, maybe_camera_y, maybe_camera_z, looking_at, maybe_looking_at_x, maybe_looking_at_y, maybe_looking_at_z);
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
/**
|
|
566
|
-
* @param {WorkerContext} state
|
|
567
|
-
* @param {number} position_x
|
|
568
|
-
* @param {number} position_y
|
|
569
|
-
* @returns {Promise<boolean>}
|
|
570
|
-
*/
|
|
571
|
-
export function op_teleport_to(state, position_x, position_y) {
|
|
572
|
-
_assertClass(state, WorkerContext);
|
|
573
|
-
const ret = wasm.op_teleport_to(state.__wbg_ptr, position_x, position_y);
|
|
574
|
-
return ret;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
/**
|
|
578
|
-
* @param {WorkerContext} state
|
|
579
|
-
* @param {string} realm
|
|
580
|
-
* @param {string | null} [message]
|
|
581
|
-
* @returns {Promise<boolean>}
|
|
582
|
-
*/
|
|
583
|
-
export function op_change_realm(state, realm, message) {
|
|
584
|
-
_assertClass(state, WorkerContext);
|
|
585
|
-
const ptr0 = passStringToWasm0(realm, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
586
|
-
const len0 = WASM_VECTOR_LEN;
|
|
587
|
-
var ptr1 = isLikeNone(message) ? 0 : passStringToWasm0(message, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
588
|
-
var len1 = WASM_VECTOR_LEN;
|
|
589
|
-
const ret = wasm.op_change_realm(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
590
|
-
return ret;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
/**
|
|
594
|
-
* @param {WorkerContext} state
|
|
595
|
-
* @param {string} url
|
|
596
|
-
* @returns {Promise<boolean>}
|
|
597
|
-
*/
|
|
598
|
-
export function op_external_url(state, url) {
|
|
599
|
-
_assertClass(state, WorkerContext);
|
|
600
|
-
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
601
|
-
const len0 = WASM_VECTOR_LEN;
|
|
602
|
-
const ret = wasm.op_external_url(state.__wbg_ptr, ptr0, len0);
|
|
603
|
-
return ret;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
/**
|
|
607
|
-
* @param {WorkerContext} op_state
|
|
608
|
-
* @param {string} emote
|
|
609
|
-
*/
|
|
610
|
-
export function op_emote(op_state, emote) {
|
|
611
|
-
_assertClass(op_state, WorkerContext);
|
|
612
|
-
const ptr0 = passStringToWasm0(emote, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
613
|
-
const len0 = WASM_VECTOR_LEN;
|
|
614
|
-
wasm.op_emote(op_state.__wbg_ptr, ptr0, len0);
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
/**
|
|
618
|
-
* @param {WorkerContext} op_state
|
|
619
|
-
* @param {string} emote
|
|
620
|
-
* @param {boolean} looping
|
|
621
|
-
* @returns {Promise<void>}
|
|
622
|
-
*/
|
|
623
|
-
export function op_scene_emote(op_state, emote, looping) {
|
|
624
|
-
_assertClass(op_state, WorkerContext);
|
|
625
|
-
const ptr0 = passStringToWasm0(emote, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
626
|
-
const len0 = WASM_VECTOR_LEN;
|
|
627
|
-
const ret = wasm.op_scene_emote(op_state.__wbg_ptr, ptr0, len0, looping);
|
|
628
|
-
return ret;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
* @param {WorkerContext} op_state
|
|
633
|
-
* @param {string} urn
|
|
634
|
-
* @returns {Promise<void>}
|
|
635
|
-
*/
|
|
636
|
-
export function op_open_nft_dialog(op_state, urn) {
|
|
637
|
-
_assertClass(op_state, WorkerContext);
|
|
638
|
-
const ptr0 = passStringToWasm0(urn, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
639
|
-
const len0 = WASM_VECTOR_LEN;
|
|
640
|
-
const ret = wasm.op_open_nft_dialog(op_state.__wbg_ptr, ptr0, len0);
|
|
641
|
-
return ret;
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
/**
|
|
645
|
-
* @param {WorkerContext} op_state
|
|
646
|
-
* @param {string} element_id
|
|
647
|
-
* @returns {Promise<void>}
|
|
648
|
-
*/
|
|
649
|
-
export function op_set_ui_focus(op_state, element_id) {
|
|
650
|
-
_assertClass(op_state, WorkerContext);
|
|
651
|
-
const ptr0 = passStringToWasm0(element_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
652
|
-
const len0 = WASM_VECTOR_LEN;
|
|
653
|
-
const ret = wasm.op_set_ui_focus(op_state.__wbg_ptr, ptr0, len0);
|
|
654
|
-
return ret;
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
/**
|
|
658
|
-
* @param {WorkerContext} op_state
|
|
659
|
-
* @param {string} text
|
|
660
|
-
* @returns {Promise<void>}
|
|
661
|
-
*/
|
|
662
|
-
export function op_copy_to_clipboard(op_state, text) {
|
|
663
|
-
_assertClass(op_state, WorkerContext);
|
|
664
|
-
const ptr0 = passStringToWasm0(text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
665
|
-
const len0 = WASM_VECTOR_LEN;
|
|
666
|
-
const ret = wasm.op_copy_to_clipboard(op_state.__wbg_ptr, ptr0, len0);
|
|
667
|
-
return ret;
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* @param {WorkerContext} op_state
|
|
672
|
-
* @param {string} filename
|
|
673
|
-
* @returns {Promise<any>}
|
|
674
|
-
*/
|
|
675
|
-
export function op_read_file(op_state, filename) {
|
|
676
|
-
_assertClass(op_state, WorkerContext);
|
|
677
|
-
const ptr0 = passStringToWasm0(filename, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
678
|
-
const len0 = WASM_VECTOR_LEN;
|
|
679
|
-
const ret = wasm.op_read_file(op_state.__wbg_ptr, ptr0, len0);
|
|
680
|
-
return ret;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
/**
|
|
684
|
-
* @param {WorkerContext} op_state
|
|
685
|
-
* @returns {Promise<any>}
|
|
686
|
-
*/
|
|
687
|
-
export function op_scene_information(op_state) {
|
|
688
|
-
_assertClass(op_state, WorkerContext);
|
|
689
|
-
const ret = wasm.op_scene_information(op_state.__wbg_ptr);
|
|
690
|
-
return ret;
|
|
691
|
-
}
|
|
692
|
-
|
|
693
|
-
/**
|
|
694
|
-
* @param {WorkerContext} op_state
|
|
695
|
-
* @returns {Promise<any>}
|
|
696
|
-
*/
|
|
697
|
-
export function op_realm_information(op_state) {
|
|
698
|
-
_assertClass(op_state, WorkerContext);
|
|
699
|
-
const ret = wasm.op_realm_information(op_state.__wbg_ptr);
|
|
700
|
-
return ret;
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
/**
|
|
704
|
-
* @param {WorkerContext} state
|
|
705
|
-
* @returns {Promise<any>}
|
|
706
|
-
*/
|
|
707
|
-
export function op_check_for_update(state) {
|
|
708
|
-
_assertClass(state, WorkerContext);
|
|
709
|
-
const ret = wasm.op_check_for_update(state.__wbg_ptr);
|
|
710
|
-
return ret;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
/**
|
|
714
|
-
* @param {WorkerContext} state
|
|
715
|
-
* @returns {Promise<string>}
|
|
716
|
-
*/
|
|
717
|
-
export function op_motd(state) {
|
|
718
|
-
_assertClass(state, WorkerContext);
|
|
719
|
-
const ret = wasm.op_motd(state.__wbg_ptr);
|
|
720
|
-
return ret;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
/**
|
|
724
|
-
* @param {WorkerContext} state
|
|
725
|
-
* @returns {string | undefined}
|
|
726
|
-
*/
|
|
727
|
-
export function op_get_current_login(state) {
|
|
728
|
-
_assertClass(state, WorkerContext);
|
|
729
|
-
const ret = wasm.op_get_current_login(state.__wbg_ptr);
|
|
730
|
-
let v1;
|
|
731
|
-
if (ret[0] !== 0) {
|
|
732
|
-
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
733
|
-
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
734
|
-
}
|
|
735
|
-
return v1;
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
/**
|
|
739
|
-
* @param {WorkerContext} state
|
|
740
|
-
* @returns {Promise<string | undefined>}
|
|
741
|
-
*/
|
|
742
|
-
export function op_get_previous_login(state) {
|
|
743
|
-
_assertClass(state, WorkerContext);
|
|
744
|
-
const ret = wasm.op_get_previous_login(state.__wbg_ptr);
|
|
745
|
-
return ret;
|
|
746
|
-
}
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* @param {WorkerContext} state
|
|
750
|
-
* @returns {Promise<void>}
|
|
751
|
-
*/
|
|
752
|
-
export function op_login_previous(state) {
|
|
753
|
-
_assertClass(state, WorkerContext);
|
|
754
|
-
const ret = wasm.op_login_previous(state.__wbg_ptr);
|
|
755
|
-
return ret;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
* @param {WorkerContext} state
|
|
760
|
-
* @returns {Promise<string | undefined>}
|
|
761
|
-
*/
|
|
762
|
-
export function op_login_new_code(state) {
|
|
763
|
-
_assertClass(state, WorkerContext);
|
|
764
|
-
const ret = wasm.op_login_new_code(state.__wbg_ptr);
|
|
765
|
-
return ret;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
/**
|
|
769
|
-
* @param {WorkerContext} state
|
|
770
|
-
* @returns {Promise<void>}
|
|
771
|
-
*/
|
|
772
|
-
export function op_login_new_success(state) {
|
|
773
|
-
_assertClass(state, WorkerContext);
|
|
774
|
-
const ret = wasm.op_login_new_success(state.__wbg_ptr);
|
|
775
|
-
return ret;
|
|
776
|
-
}
|
|
777
|
-
|
|
778
|
-
/**
|
|
779
|
-
* @param {WorkerContext} state
|
|
780
|
-
*/
|
|
781
|
-
export function op_login_guest(state) {
|
|
782
|
-
_assertClass(state, WorkerContext);
|
|
783
|
-
wasm.op_login_guest(state.__wbg_ptr);
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* @param {WorkerContext} state
|
|
788
|
-
*/
|
|
789
|
-
export function op_login_cancel(state) {
|
|
790
|
-
_assertClass(state, WorkerContext);
|
|
791
|
-
wasm.op_login_cancel(state.__wbg_ptr);
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
/**
|
|
795
|
-
* @param {WorkerContext} state
|
|
796
|
-
*/
|
|
797
|
-
export function op_logout(state) {
|
|
798
|
-
_assertClass(state, WorkerContext);
|
|
799
|
-
wasm.op_logout(state.__wbg_ptr);
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
/**
|
|
803
|
-
* @param {WorkerContext} state
|
|
804
|
-
* @returns {Promise<Array<any>>}
|
|
805
|
-
*/
|
|
806
|
-
export function op_settings(state) {
|
|
807
|
-
_assertClass(state, WorkerContext);
|
|
808
|
-
const ret = wasm.op_settings(state.__wbg_ptr);
|
|
809
|
-
return ret;
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
/**
|
|
813
|
-
* @param {WorkerContext} state
|
|
814
|
-
* @param {string} name
|
|
815
|
-
* @param {number} val
|
|
816
|
-
* @returns {Promise<void>}
|
|
817
|
-
*/
|
|
818
|
-
export function op_set_setting(state, name, val) {
|
|
819
|
-
_assertClass(state, WorkerContext);
|
|
820
|
-
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
821
|
-
const len0 = WASM_VECTOR_LEN;
|
|
822
|
-
const ret = wasm.op_set_setting(state.__wbg_ptr, ptr0, len0, val);
|
|
823
|
-
return ret;
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
/**
|
|
827
|
-
* @param {WorkerContext} state
|
|
828
|
-
* @param {string} uri
|
|
829
|
-
* @param {string | null} [method]
|
|
830
|
-
* @param {string | null} [meta]
|
|
831
|
-
* @returns {Promise<Array<any>>}
|
|
832
|
-
*/
|
|
833
|
-
export function op_kernel_fetch_headers(state, uri, method, meta) {
|
|
834
|
-
_assertClass(state, WorkerContext);
|
|
835
|
-
const ptr0 = passStringToWasm0(uri, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
836
|
-
const len0 = WASM_VECTOR_LEN;
|
|
837
|
-
var ptr1 = isLikeNone(method) ? 0 : passStringToWasm0(method, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
838
|
-
var len1 = WASM_VECTOR_LEN;
|
|
839
|
-
var ptr2 = isLikeNone(meta) ? 0 : passStringToWasm0(meta, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
840
|
-
var len2 = WASM_VECTOR_LEN;
|
|
841
|
-
const ret = wasm.op_kernel_fetch_headers(state.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
842
|
-
return ret;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
* @param {WorkerContext} state
|
|
847
|
-
* @param {any} base
|
|
848
|
-
* @param {any} equip
|
|
849
|
-
* @param {boolean | null | undefined} has_claimed_name
|
|
850
|
-
* @param {any} profile_extras
|
|
851
|
-
* @returns {Promise<number>}
|
|
852
|
-
*/
|
|
853
|
-
export function op_set_avatar(state, base, equip, has_claimed_name, profile_extras) {
|
|
854
|
-
_assertClass(state, WorkerContext);
|
|
855
|
-
const ret = wasm.op_set_avatar(state.__wbg_ptr, base, equip, isLikeNone(has_claimed_name) ? 0xFFFFFF : has_claimed_name ? 1 : 0, profile_extras);
|
|
856
|
-
return ret;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* @param {WorkerContext} state
|
|
861
|
-
* @returns {Promise<string>}
|
|
862
|
-
*/
|
|
863
|
-
export function op_native_input(state) {
|
|
864
|
-
_assertClass(state, WorkerContext);
|
|
865
|
-
const ret = wasm.op_native_input(state.__wbg_ptr);
|
|
866
|
-
return ret;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
/**
|
|
870
|
-
* @param {WorkerContext} state
|
|
871
|
-
* @returns {Promise<any>}
|
|
872
|
-
*/
|
|
873
|
-
export function op_get_bindings(state) {
|
|
874
|
-
_assertClass(state, WorkerContext);
|
|
875
|
-
const ret = wasm.op_get_bindings(state.__wbg_ptr);
|
|
876
|
-
return ret;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
/**
|
|
880
|
-
* @param {WorkerContext} state
|
|
881
|
-
* @param {any} bindings
|
|
882
|
-
* @returns {Promise<void>}
|
|
883
|
-
*/
|
|
884
|
-
export function op_set_bindings(state, bindings) {
|
|
885
|
-
_assertClass(state, WorkerContext);
|
|
886
|
-
const ret = wasm.op_set_bindings(state.__wbg_ptr, bindings);
|
|
887
|
-
return ret;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
function passArrayJsValueToWasm0(array, malloc) {
|
|
891
|
-
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
892
|
-
for (let i = 0; i < array.length; i++) {
|
|
893
|
-
const add = addToExternrefTable0(array[i]);
|
|
894
|
-
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
895
|
-
}
|
|
896
|
-
WASM_VECTOR_LEN = array.length;
|
|
897
|
-
return ptr;
|
|
898
|
-
}
|
|
899
|
-
/**
|
|
900
|
-
* @param {WorkerContext} state
|
|
901
|
-
* @param {string} cmd
|
|
902
|
-
* @param {string[]} args
|
|
903
|
-
* @returns {Promise<string>}
|
|
904
|
-
*/
|
|
905
|
-
export function op_console_command(state, cmd, args) {
|
|
906
|
-
_assertClass(state, WorkerContext);
|
|
907
|
-
const ptr0 = passStringToWasm0(cmd, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
908
|
-
const len0 = WASM_VECTOR_LEN;
|
|
909
|
-
const ptr1 = passArrayJsValueToWasm0(args, wasm.__wbindgen_malloc);
|
|
910
|
-
const len1 = WASM_VECTOR_LEN;
|
|
911
|
-
const ret = wasm.op_console_command(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
912
|
-
return ret;
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
/**
|
|
916
|
-
* @param {WorkerContext} state
|
|
917
|
-
* @returns {Promise<Array<any>>}
|
|
918
|
-
*/
|
|
919
|
-
export function op_live_scene_info(state) {
|
|
920
|
-
_assertClass(state, WorkerContext);
|
|
921
|
-
const ret = wasm.op_live_scene_info(state.__wbg_ptr);
|
|
922
|
-
return ret;
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
/**
|
|
926
|
-
* @param {WorkerContext} state
|
|
927
|
-
* @returns {Promise<any>}
|
|
928
|
-
*/
|
|
929
|
-
export function op_get_home_scene(state) {
|
|
930
|
-
_assertClass(state, WorkerContext);
|
|
931
|
-
const ret = wasm.op_get_home_scene(state.__wbg_ptr);
|
|
932
|
-
return ret;
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* @param {WorkerContext} state
|
|
937
|
-
* @param {string} realm
|
|
938
|
-
* @param {any} parcel
|
|
939
|
-
*/
|
|
940
|
-
export function op_set_home_scene(state, realm, parcel) {
|
|
941
|
-
_assertClass(state, WorkerContext);
|
|
942
|
-
const ptr0 = passStringToWasm0(realm, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
943
|
-
const len0 = WASM_VECTOR_LEN;
|
|
944
|
-
wasm.op_set_home_scene(state.__wbg_ptr, ptr0, len0, parcel);
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
* @param {WorkerContext} state
|
|
949
|
-
* @returns {Promise<number>}
|
|
950
|
-
*/
|
|
951
|
-
export function op_get_system_action_stream(state) {
|
|
952
|
-
_assertClass(state, WorkerContext);
|
|
953
|
-
const ret = wasm.op_get_system_action_stream(state.__wbg_ptr);
|
|
954
|
-
return ret;
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
/**
|
|
958
|
-
* @param {WorkerContext} state
|
|
959
|
-
* @param {number} rid
|
|
960
|
-
* @returns {Promise<any>}
|
|
961
|
-
*/
|
|
962
|
-
export function op_read_system_action_stream(state, rid) {
|
|
963
|
-
_assertClass(state, WorkerContext);
|
|
964
|
-
const ret = wasm.op_read_system_action_stream(state.__wbg_ptr, rid);
|
|
965
|
-
return ret;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
/**
|
|
969
|
-
* @param {WorkerContext} state
|
|
970
|
-
* @returns {Promise<number>}
|
|
971
|
-
*/
|
|
972
|
-
export function op_get_chat_stream(state) {
|
|
973
|
-
_assertClass(state, WorkerContext);
|
|
974
|
-
const ret = wasm.op_get_chat_stream(state.__wbg_ptr);
|
|
975
|
-
return ret;
|
|
976
|
-
}
|
|
977
|
-
|
|
978
|
-
/**
|
|
979
|
-
* @param {WorkerContext} state
|
|
980
|
-
* @param {number} rid
|
|
981
|
-
* @returns {Promise<any>}
|
|
982
|
-
*/
|
|
983
|
-
export function op_read_chat_stream(state, rid) {
|
|
984
|
-
_assertClass(state, WorkerContext);
|
|
985
|
-
const ret = wasm.op_read_chat_stream(state.__wbg_ptr, rid);
|
|
986
|
-
return ret;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
|
-
/**
|
|
990
|
-
* @param {WorkerContext} state
|
|
991
|
-
* @param {string} message
|
|
992
|
-
* @param {string} channel
|
|
993
|
-
*/
|
|
994
|
-
export function op_send_chat(state, message, channel) {
|
|
995
|
-
_assertClass(state, WorkerContext);
|
|
996
|
-
const ptr0 = passStringToWasm0(message, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
997
|
-
const len0 = WASM_VECTOR_LEN;
|
|
998
|
-
const ptr1 = passStringToWasm0(channel, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
999
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1000
|
-
wasm.op_send_chat(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
/**
|
|
1004
|
-
* @param {WorkerContext} state
|
|
1005
|
-
* @returns {Promise<any>}
|
|
1006
|
-
*/
|
|
1007
|
-
export function op_get_profile_extras(state) {
|
|
1008
|
-
_assertClass(state, WorkerContext);
|
|
1009
|
-
const ret = wasm.op_get_profile_extras(state.__wbg_ptr);
|
|
1010
|
-
return ret;
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
/**
|
|
1014
|
-
* @param {WorkerContext} state
|
|
1015
|
-
*/
|
|
1016
|
-
export function op_quit(state) {
|
|
1017
|
-
_assertClass(state, WorkerContext);
|
|
1018
|
-
wasm.op_quit(state.__wbg_ptr);
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* @param {WorkerContext} state
|
|
1023
|
-
* @returns {Promise<number>}
|
|
1024
|
-
*/
|
|
1025
|
-
export function op_get_permission_request_stream(state) {
|
|
1026
|
-
_assertClass(state, WorkerContext);
|
|
1027
|
-
const ret = wasm.op_get_permission_request_stream(state.__wbg_ptr);
|
|
1028
|
-
return ret;
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
/**
|
|
1032
|
-
* @param {WorkerContext} state
|
|
1033
|
-
* @param {number} rid
|
|
1034
|
-
* @returns {Promise<any>}
|
|
1035
|
-
*/
|
|
1036
|
-
export function op_read_permission_request_stream(state, rid) {
|
|
1037
|
-
_assertClass(state, WorkerContext);
|
|
1038
|
-
const ret = wasm.op_read_permission_request_stream(state.__wbg_ptr, rid);
|
|
1039
|
-
return ret;
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
/**
|
|
1043
|
-
* @param {WorkerContext} state
|
|
1044
|
-
* @returns {Promise<number>}
|
|
1045
|
-
*/
|
|
1046
|
-
export function op_get_permission_used_stream(state) {
|
|
1047
|
-
_assertClass(state, WorkerContext);
|
|
1048
|
-
const ret = wasm.op_get_permission_used_stream(state.__wbg_ptr);
|
|
1049
|
-
return ret;
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
/**
|
|
1053
|
-
* @param {WorkerContext} state
|
|
1054
|
-
* @param {number} rid
|
|
1055
|
-
* @returns {Promise<any>}
|
|
1056
|
-
*/
|
|
1057
|
-
export function op_read_permission_used_stream(state, rid) {
|
|
1058
|
-
_assertClass(state, WorkerContext);
|
|
1059
|
-
const ret = wasm.op_read_permission_used_stream(state.__wbg_ptr, rid);
|
|
1060
|
-
return ret;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* @param {WorkerContext} state
|
|
1065
|
-
* @param {number} id
|
|
1066
|
-
* @param {boolean} allow
|
|
1067
|
-
*/
|
|
1068
|
-
export function op_set_single_permission(state, id, allow) {
|
|
1069
|
-
_assertClass(state, WorkerContext);
|
|
1070
|
-
wasm.op_set_single_permission(state.__wbg_ptr, id, allow);
|
|
1071
|
-
}
|
|
1072
|
-
|
|
1073
|
-
function takeFromExternrefTable0(idx) {
|
|
1074
|
-
const value = wasm.__wbindgen_export_1.get(idx);
|
|
1075
|
-
wasm.__externref_table_dealloc(idx);
|
|
1076
|
-
return value;
|
|
1077
|
-
}
|
|
1078
|
-
/**
|
|
1079
|
-
* @param {WorkerContext} state
|
|
1080
|
-
* @param {string} level
|
|
1081
|
-
* @param {string | null | undefined} value
|
|
1082
|
-
* @param {any} permission_type
|
|
1083
|
-
* @param {any} allow
|
|
1084
|
-
*/
|
|
1085
|
-
export function op_set_permanent_permission(state, level, value, permission_type, allow) {
|
|
1086
|
-
_assertClass(state, WorkerContext);
|
|
1087
|
-
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1088
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1089
|
-
var ptr1 = isLikeNone(value) ? 0 : passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1090
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1091
|
-
const ret = wasm.op_set_permanent_permission(state.__wbg_ptr, ptr0, len0, ptr1, len1, permission_type, allow);
|
|
1092
|
-
if (ret[1]) {
|
|
1093
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
1094
|
-
}
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
|
-
/**
|
|
1098
|
-
* @param {WorkerContext} state
|
|
1099
|
-
* @param {string} level
|
|
1100
|
-
* @param {string | null} [value]
|
|
1101
|
-
* @returns {Promise<Array<any>>}
|
|
1102
|
-
*/
|
|
1103
|
-
export function op_get_permanent_permissions(state, level, value) {
|
|
1104
|
-
_assertClass(state, WorkerContext);
|
|
1105
|
-
const ptr0 = passStringToWasm0(level, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1106
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1107
|
-
var ptr1 = isLikeNone(value) ? 0 : passStringToWasm0(value, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1108
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1109
|
-
const ret = wasm.op_get_permanent_permissions(state.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
1110
|
-
return ret;
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
/**
|
|
1114
|
-
* @param {WorkerContext} arg0
|
|
1115
|
-
* @returns {Array<any>}
|
|
1116
|
-
*/
|
|
1117
|
-
export function op_get_permission_types(arg0) {
|
|
1118
|
-
_assertClass(arg0, WorkerContext);
|
|
1119
|
-
const ret = wasm.op_get_permission_types(arg0.__wbg_ptr);
|
|
1120
|
-
return ret;
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
/**
|
|
1124
|
-
* @param {WorkerContext} op_state
|
|
1125
|
-
* @returns {boolean}
|
|
1126
|
-
*/
|
|
1127
|
-
export function op_testing_enabled(op_state) {
|
|
1128
|
-
_assertClass(op_state, WorkerContext);
|
|
1129
|
-
const ret = wasm.op_testing_enabled(op_state.__wbg_ptr);
|
|
1130
|
-
return ret !== 0;
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
/**
|
|
1134
|
-
* @param {WorkerContext} state
|
|
1135
|
-
* @param {any} body
|
|
1136
|
-
*/
|
|
1137
|
-
export function op_log_test_plan(state, body) {
|
|
1138
|
-
_assertClass(state, WorkerContext);
|
|
1139
|
-
wasm.op_log_test_plan(state.__wbg_ptr, body);
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
/**
|
|
1143
|
-
* @param {WorkerContext} state
|
|
1144
|
-
* @param {any} body
|
|
1145
|
-
*/
|
|
1146
|
-
export function op_log_test_result(state, body) {
|
|
1147
|
-
_assertClass(state, WorkerContext);
|
|
1148
|
-
wasm.op_log_test_result(state.__wbg_ptr, body);
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1151
|
-
/**
|
|
1152
|
-
* @param {WorkerContext} state
|
|
1153
|
-
* @param {string} name
|
|
1154
|
-
* @param {any} camera_position
|
|
1155
|
-
* @param {any} camera_target
|
|
1156
|
-
* @param {any} snapshot_size
|
|
1157
|
-
* @param {any} method
|
|
1158
|
-
* @returns {any}
|
|
1159
|
-
*/
|
|
1160
|
-
export function op_take_and_compare_snapshot(state, name, camera_position, camera_target, snapshot_size, method) {
|
|
1161
|
-
_assertClass(state, WorkerContext);
|
|
1162
|
-
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1163
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1164
|
-
const ret = wasm.op_take_and_compare_snapshot(state.__wbg_ptr, ptr0, len0, camera_position, camera_target, snapshot_size, method);
|
|
1165
|
-
if (ret[2]) {
|
|
1166
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
1167
|
-
}
|
|
1168
|
-
return takeFromExternrefTable0(ret[0]);
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
/**
|
|
1172
|
-
* @param {WorkerContext} state
|
|
1173
|
-
* @returns {Promise<any>}
|
|
1174
|
-
*/
|
|
1175
|
-
export function op_get_user_data(state) {
|
|
1176
|
-
_assertClass(state, WorkerContext);
|
|
1177
|
-
const ret = wasm.op_get_user_data(state.__wbg_ptr);
|
|
1178
|
-
return ret;
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
/**
|
|
1182
|
-
* @param {WorkerContext} state
|
|
1183
|
-
* @param {string} id
|
|
1184
|
-
* @returns {Promise<any>}
|
|
1185
|
-
*/
|
|
1186
|
-
export function op_get_player_data(state, id) {
|
|
1187
|
-
_assertClass(state, WorkerContext);
|
|
1188
|
-
const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1189
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1190
|
-
const ret = wasm.op_get_player_data(state.__wbg_ptr, ptr0, len0);
|
|
1191
|
-
return ret;
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
/**
|
|
1195
|
-
* @returns {Promise<WorkerContext>}
|
|
1196
|
-
*/
|
|
1197
|
-
export function wasm_init_scene() {
|
|
1198
|
-
const ret = wasm.wasm_init_scene();
|
|
1199
|
-
return ret;
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
/**
|
|
1203
|
-
* @param {WorkerContext} state
|
|
1204
|
-
* @returns {boolean}
|
|
1205
|
-
*/
|
|
1206
|
-
export function op_continue_running(state) {
|
|
1207
|
-
_assertClass(state, WorkerContext);
|
|
1208
|
-
const ret = wasm.op_continue_running(state.__wbg_ptr);
|
|
1209
|
-
return ret !== 0;
|
|
1210
|
-
}
|
|
1211
|
-
|
|
1212
|
-
/**
|
|
1213
|
-
* @param {WorkerContext} state
|
|
1214
|
-
*/
|
|
1215
|
-
export function drop_context(state) {
|
|
1216
|
-
_assertClass(state, WorkerContext);
|
|
1217
|
-
var ptr0 = state.__destroy_into_raw();
|
|
1218
|
-
wasm.drop_context(ptr0);
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
/**
|
|
1222
|
-
* @param {WorkerContext} state
|
|
1223
|
-
* @param {string} path
|
|
1224
|
-
* @returns {string}
|
|
1225
|
-
*/
|
|
1226
|
-
export function builtin_module(state, path) {
|
|
1227
|
-
let deferred3_0;
|
|
1228
|
-
let deferred3_1;
|
|
1229
|
-
try {
|
|
1230
|
-
_assertClass(state, WorkerContext);
|
|
1231
|
-
const ptr0 = passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1232
|
-
const len0 = WASM_VECTOR_LEN;
|
|
1233
|
-
const ret = wasm.builtin_module(state.__wbg_ptr, ptr0, len0);
|
|
1234
|
-
var ptr2 = ret[0];
|
|
1235
|
-
var len2 = ret[1];
|
|
1236
|
-
if (ret[3]) {
|
|
1237
|
-
ptr2 = 0; len2 = 0;
|
|
1238
|
-
throw takeFromExternrefTable0(ret[2]);
|
|
1239
|
-
}
|
|
1240
|
-
deferred3_0 = ptr2;
|
|
1241
|
-
deferred3_1 = len2;
|
|
1242
|
-
return getStringFromWasm0(ptr2, len2);
|
|
1243
|
-
} finally {
|
|
1244
|
-
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
1245
|
-
}
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* @param {WorkerContext} state
|
|
1250
|
-
* @returns {boolean}
|
|
1251
|
-
*/
|
|
1252
|
-
export function is_super(state) {
|
|
1253
|
-
_assertClass(state, WorkerContext);
|
|
1254
|
-
const ret = wasm.is_super(state.__wbg_ptr);
|
|
1255
|
-
return ret !== 0;
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
function __wbg_adapter_62(arg0, arg1, arg2, arg3) {
|
|
1259
|
-
wasm.closure15202_externref_shim(arg0, arg1, arg2, arg3);
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
|
-
function __wbg_adapter_65(arg0, arg1, arg2) {
|
|
1263
|
-
wasm.closure47494_externref_shim(arg0, arg1, arg2);
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
function __wbg_adapter_68(arg0, arg1) {
|
|
1267
|
-
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__haf6d1d6eca19ebd1(arg0, arg1);
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
function __wbg_adapter_71(arg0, arg1) {
|
|
1271
|
-
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h88ef16e697def3fb(arg0, arg1);
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
function __wbg_adapter_74(arg0, arg1, arg2) {
|
|
1275
|
-
wasm.closure51397_externref_shim(arg0, arg1, arg2);
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
function __wbg_adapter_81(arg0, arg1) {
|
|
1279
|
-
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heedd0a6395901798(arg0, arg1);
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
function __wbg_adapter_84(arg0, arg1) {
|
|
1283
|
-
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h9bfa50ac2770910f(arg0, arg1);
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
function __wbg_adapter_87(arg0, arg1, arg2, arg3) {
|
|
1287
|
-
wasm.closure56358_externref_shim(arg0, arg1, arg2, arg3);
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
function __wbg_adapter_90(arg0, arg1, arg2) {
|
|
1291
|
-
wasm.closure56362_externref_shim(arg0, arg1, arg2);
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
function __wbg_adapter_97(arg0, arg1) {
|
|
1295
|
-
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h704fbbb35af0f5c1(arg0, arg1);
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
function __wbg_adapter_108(arg0, arg1, arg2) {
|
|
1299
|
-
wasm.closure116406_externref_shim(arg0, arg1, arg2);
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
function __wbg_adapter_111(arg0, arg1, arg2) {
|
|
1303
|
-
wasm.closure131338_externref_shim(arg0, arg1, arg2);
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
function __wbg_adapter_1510(arg0, arg1, arg2, arg3) {
|
|
1307
|
-
wasm.closure134242_externref_shim(arg0, arg1, arg2, arg3);
|
|
1308
|
-
}
|
|
1309
|
-
|
|
1310
|
-
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
1311
|
-
|
|
1312
|
-
const __wbindgen_enum_GamepadMappingType = ["", "standard"];
|
|
1313
|
-
|
|
1314
|
-
const __wbindgen_enum_GpuAddressMode = ["clamp-to-edge", "repeat", "mirror-repeat"];
|
|
1315
|
-
|
|
1316
|
-
const __wbindgen_enum_GpuBlendFactor = ["zero", "one", "src", "one-minus-src", "src-alpha", "one-minus-src-alpha", "dst", "one-minus-dst", "dst-alpha", "one-minus-dst-alpha", "src-alpha-saturated", "constant", "one-minus-constant", "src1", "one-minus-src1", "src1-alpha", "one-minus-src1-alpha"];
|
|
1317
|
-
|
|
1318
|
-
const __wbindgen_enum_GpuBlendOperation = ["add", "subtract", "reverse-subtract", "min", "max"];
|
|
1319
|
-
|
|
1320
|
-
const __wbindgen_enum_GpuBufferBindingType = ["uniform", "storage", "read-only-storage"];
|
|
1321
|
-
|
|
1322
|
-
const __wbindgen_enum_GpuCanvasAlphaMode = ["opaque", "premultiplied"];
|
|
1323
|
-
|
|
1324
|
-
const __wbindgen_enum_GpuCompareFunction = ["never", "less", "equal", "less-equal", "greater", "not-equal", "greater-equal", "always"];
|
|
1325
|
-
|
|
1326
|
-
const __wbindgen_enum_GpuCullMode = ["none", "front", "back"];
|
|
1327
|
-
|
|
1328
|
-
const __wbindgen_enum_GpuErrorFilter = ["validation", "out-of-memory", "internal"];
|
|
1329
|
-
|
|
1330
|
-
const __wbindgen_enum_GpuFilterMode = ["nearest", "linear"];
|
|
1331
|
-
|
|
1332
|
-
const __wbindgen_enum_GpuFrontFace = ["ccw", "cw"];
|
|
1333
|
-
|
|
1334
|
-
const __wbindgen_enum_GpuIndexFormat = ["uint16", "uint32"];
|
|
1335
|
-
|
|
1336
|
-
const __wbindgen_enum_GpuLoadOp = ["load", "clear"];
|
|
1337
|
-
|
|
1338
|
-
const __wbindgen_enum_GpuMipmapFilterMode = ["nearest", "linear"];
|
|
1339
|
-
|
|
1340
|
-
const __wbindgen_enum_GpuPowerPreference = ["low-power", "high-performance"];
|
|
1341
|
-
|
|
1342
|
-
const __wbindgen_enum_GpuPrimitiveTopology = ["point-list", "line-list", "line-strip", "triangle-list", "triangle-strip"];
|
|
1343
|
-
|
|
1344
|
-
const __wbindgen_enum_GpuQueryType = ["occlusion", "timestamp"];
|
|
1345
|
-
|
|
1346
|
-
const __wbindgen_enum_GpuSamplerBindingType = ["filtering", "non-filtering", "comparison"];
|
|
1347
|
-
|
|
1348
|
-
const __wbindgen_enum_GpuStencilOperation = ["keep", "zero", "replace", "invert", "increment-clamp", "decrement-clamp", "increment-wrap", "decrement-wrap"];
|
|
1349
|
-
|
|
1350
|
-
const __wbindgen_enum_GpuStorageTextureAccess = ["write-only", "read-only", "read-write"];
|
|
1351
|
-
|
|
1352
|
-
const __wbindgen_enum_GpuStoreOp = ["store", "discard"];
|
|
1353
|
-
|
|
1354
|
-
const __wbindgen_enum_GpuTextureAspect = ["all", "stencil-only", "depth-only"];
|
|
1355
|
-
|
|
1356
|
-
const __wbindgen_enum_GpuTextureDimension = ["1d", "2d", "3d"];
|
|
1357
|
-
|
|
1358
|
-
const __wbindgen_enum_GpuTextureFormat = ["r8unorm", "r8snorm", "r8uint", "r8sint", "r16uint", "r16sint", "r16float", "rg8unorm", "rg8snorm", "rg8uint", "rg8sint", "r32uint", "r32sint", "r32float", "rg16uint", "rg16sint", "rg16float", "rgba8unorm", "rgba8unorm-srgb", "rgba8snorm", "rgba8uint", "rgba8sint", "bgra8unorm", "bgra8unorm-srgb", "rgb9e5ufloat", "rgb10a2uint", "rgb10a2unorm", "rg11b10ufloat", "rg32uint", "rg32sint", "rg32float", "rgba16uint", "rgba16sint", "rgba16float", "rgba32uint", "rgba32sint", "rgba32float", "stencil8", "depth16unorm", "depth24plus", "depth24plus-stencil8", "depth32float", "depth32float-stencil8", "bc1-rgba-unorm", "bc1-rgba-unorm-srgb", "bc2-rgba-unorm", "bc2-rgba-unorm-srgb", "bc3-rgba-unorm", "bc3-rgba-unorm-srgb", "bc4-r-unorm", "bc4-r-snorm", "bc5-rg-unorm", "bc5-rg-snorm", "bc6h-rgb-ufloat", "bc6h-rgb-float", "bc7-rgba-unorm", "bc7-rgba-unorm-srgb", "etc2-rgb8unorm", "etc2-rgb8unorm-srgb", "etc2-rgb8a1unorm", "etc2-rgb8a1unorm-srgb", "etc2-rgba8unorm", "etc2-rgba8unorm-srgb", "eac-r11unorm", "eac-r11snorm", "eac-rg11unorm", "eac-rg11snorm", "astc-4x4-unorm", "astc-4x4-unorm-srgb", "astc-5x4-unorm", "astc-5x4-unorm-srgb", "astc-5x5-unorm", "astc-5x5-unorm-srgb", "astc-6x5-unorm", "astc-6x5-unorm-srgb", "astc-6x6-unorm", "astc-6x6-unorm-srgb", "astc-8x5-unorm", "astc-8x5-unorm-srgb", "astc-8x6-unorm", "astc-8x6-unorm-srgb", "astc-8x8-unorm", "astc-8x8-unorm-srgb", "astc-10x5-unorm", "astc-10x5-unorm-srgb", "astc-10x6-unorm", "astc-10x6-unorm-srgb", "astc-10x8-unorm", "astc-10x8-unorm-srgb", "astc-10x10-unorm", "astc-10x10-unorm-srgb", "astc-12x10-unorm", "astc-12x10-unorm-srgb", "astc-12x12-unorm", "astc-12x12-unorm-srgb"];
|
|
1359
|
-
|
|
1360
|
-
const __wbindgen_enum_GpuTextureSampleType = ["float", "unfilterable-float", "depth", "sint", "uint"];
|
|
1361
|
-
|
|
1362
|
-
const __wbindgen_enum_GpuTextureViewDimension = ["1d", "2d", "2d-array", "cube", "cube-array", "3d"];
|
|
1363
|
-
|
|
1364
|
-
const __wbindgen_enum_GpuVertexFormat = ["uint8", "uint8x2", "uint8x4", "sint8", "sint8x2", "sint8x4", "unorm8", "unorm8x2", "unorm8x4", "snorm8", "snorm8x2", "snorm8x4", "uint16", "uint16x2", "uint16x4", "sint16", "sint16x2", "sint16x4", "unorm16", "unorm16x2", "unorm16x4", "snorm16", "snorm16x2", "snorm16x4", "float16", "float16x2", "float16x4", "float32", "float32x2", "float32x3", "float32x4", "uint32", "uint32x2", "uint32x3", "uint32x4", "sint32", "sint32x2", "sint32x3", "sint32x4", "unorm10-10-10-2", "unorm8x4-bgra"];
|
|
1365
|
-
|
|
1366
|
-
const __wbindgen_enum_GpuVertexStepMode = ["vertex", "instance"];
|
|
1367
|
-
|
|
1368
|
-
const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
1369
|
-
|
|
1370
|
-
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
1371
|
-
|
|
1372
|
-
const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "device-pixel-content-box"];
|
|
1373
|
-
|
|
1374
|
-
const __wbindgen_enum_VisibilityState = ["hidden", "visible"];
|
|
1375
|
-
|
|
1376
|
-
const WorkerContextFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1377
|
-
? { register: () => {}, unregister: () => {} }
|
|
1378
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_workercontext_free(ptr >>> 0, 1));
|
|
1379
|
-
|
|
1380
|
-
export class WorkerContext {
|
|
1381
|
-
|
|
1382
|
-
static __wrap(ptr) {
|
|
1383
|
-
ptr = ptr >>> 0;
|
|
1384
|
-
const obj = Object.create(WorkerContext.prototype);
|
|
1385
|
-
obj.__wbg_ptr = ptr;
|
|
1386
|
-
WorkerContextFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1387
|
-
return obj;
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
__destroy_into_raw() {
|
|
1391
|
-
const ptr = this.__wbg_ptr;
|
|
1392
|
-
this.__wbg_ptr = 0;
|
|
1393
|
-
WorkerContextFinalization.unregister(this);
|
|
1394
|
-
return ptr;
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
free() {
|
|
1398
|
-
const ptr = this.__destroy_into_raw();
|
|
1399
|
-
wasm.__wbg_workercontext_free(ptr, 0);
|
|
1400
|
-
}
|
|
1401
|
-
/**
|
|
1402
|
-
* @returns {any}
|
|
1403
|
-
*/
|
|
1404
|
-
get_source() {
|
|
1405
|
-
const ret = wasm.workercontext_get_source(this.__wbg_ptr);
|
|
1406
|
-
return ret;
|
|
1407
|
-
}
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
async function __wbg_load(module, imports) {
|
|
1411
|
-
if (typeof Response === 'function' && module instanceof Response) {
|
|
1412
|
-
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
1413
|
-
try {
|
|
1414
|
-
return await WebAssembly.instantiateStreaming(module, imports);
|
|
1415
|
-
|
|
1416
|
-
} catch (e) {
|
|
1417
|
-
if (module.headers.get('Content-Type') != 'application/wasm') {
|
|
1418
|
-
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);
|
|
1419
|
-
|
|
1420
|
-
} else {
|
|
1421
|
-
throw e;
|
|
1422
|
-
}
|
|
1423
|
-
}
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
const bytes = await module.arrayBuffer();
|
|
1427
|
-
return await WebAssembly.instantiate(bytes, imports);
|
|
1428
|
-
|
|
1429
|
-
} else {
|
|
1430
|
-
const instance = await WebAssembly.instantiate(module, imports);
|
|
1431
|
-
|
|
1432
|
-
if (instance instanceof WebAssembly.Instance) {
|
|
1433
|
-
return { instance, module };
|
|
1434
|
-
|
|
1435
|
-
} else {
|
|
1436
|
-
return instance;
|
|
1437
|
-
}
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
|
|
1441
|
-
function __wbg_get_imports() {
|
|
1442
|
-
const imports = {};
|
|
1443
|
-
imports.wbg = {};
|
|
1444
|
-
imports.wbg.__wbg_Window_2b9b35492d4b2d63 = function(arg0) {
|
|
1445
|
-
const ret = arg0.Window;
|
|
1446
|
-
return ret;
|
|
1447
|
-
};
|
|
1448
|
-
imports.wbg.__wbg_Window_55c1917ecbe4e3f0 = function(arg0) {
|
|
1449
|
-
const ret = arg0.Window;
|
|
1450
|
-
return ret;
|
|
1451
|
-
};
|
|
1452
|
-
imports.wbg.__wbg_Window_930673242d8411f8 = function(arg0) {
|
|
1453
|
-
const ret = arg0.Window;
|
|
1454
|
-
return ret;
|
|
1455
|
-
};
|
|
1456
|
-
imports.wbg.__wbg_WorkerGlobalScope_2931fecaab888060 = function(arg0) {
|
|
1457
|
-
const ret = arg0.WorkerGlobalScope;
|
|
1458
|
-
return ret;
|
|
1459
|
-
};
|
|
1460
|
-
imports.wbg.__wbg_WorkerGlobalScope_b4fb13f0ba6527ab = function(arg0) {
|
|
1461
|
-
const ret = arg0.WorkerGlobalScope;
|
|
1462
|
-
return ret;
|
|
1463
|
-
};
|
|
1464
|
-
imports.wbg.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
|
|
1465
|
-
arg0.abort(arg1);
|
|
1466
|
-
};
|
|
1467
|
-
imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
|
|
1468
|
-
arg0.abort();
|
|
1469
|
-
};
|
|
1470
|
-
imports.wbg.__wbg_activeElement_367599fdfa7ad115 = function(arg0) {
|
|
1471
|
-
const ret = arg0.activeElement;
|
|
1472
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1473
|
-
};
|
|
1474
|
-
imports.wbg.__wbg_addEventListener_90e553fdce254421 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1475
|
-
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
1476
|
-
}, arguments) };
|
|
1477
|
-
imports.wbg.__wbg_addListener_2982bb811b6385c5 = function() { return handleError(function (arg0, arg1) {
|
|
1478
|
-
arg0.addListener(arg1);
|
|
1479
|
-
}, arguments) };
|
|
1480
|
-
imports.wbg.__wbg_altKey_c33c03aed82e4275 = function(arg0) {
|
|
1481
|
-
const ret = arg0.altKey;
|
|
1482
|
-
return ret;
|
|
1483
|
-
};
|
|
1484
|
-
imports.wbg.__wbg_altKey_d7495666df921121 = function(arg0) {
|
|
1485
|
-
const ret = arg0.altKey;
|
|
1486
|
-
return ret;
|
|
1487
|
-
};
|
|
1488
|
-
imports.wbg.__wbg_animate_c6fe7566daf35422 = function(arg0, arg1, arg2) {
|
|
1489
|
-
const ret = arg0.animate(arg1, arg2);
|
|
1490
|
-
return ret;
|
|
1491
|
-
};
|
|
1492
|
-
imports.wbg.__wbg_appendChild_8204974b7328bf98 = function() { return handleError(function (arg0, arg1) {
|
|
1493
|
-
const ret = arg0.appendChild(arg1);
|
|
1494
|
-
return ret;
|
|
1495
|
-
}, arguments) };
|
|
1496
|
-
imports.wbg.__wbg_append_8c7dd8d641a5f01b = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1497
|
-
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1498
|
-
}, arguments) };
|
|
1499
|
-
imports.wbg.__wbg_arrayBuffer_d1b44c4390db422f = function() { return handleError(function (arg0) {
|
|
1500
|
-
const ret = arg0.arrayBuffer();
|
|
1501
|
-
return ret;
|
|
1502
|
-
}, arguments) };
|
|
1503
|
-
imports.wbg.__wbg_async_9ff6d9e405f13772 = function(arg0) {
|
|
1504
|
-
const ret = arg0.async;
|
|
1505
|
-
return ret;
|
|
1506
|
-
};
|
|
1507
|
-
imports.wbg.__wbg_axes_b1da727bd9ea422d = function(arg0) {
|
|
1508
|
-
const ret = arg0.axes;
|
|
1509
|
-
return ret;
|
|
1510
|
-
};
|
|
1511
|
-
imports.wbg.__wbg_beginComputePass_2061bb5db1032a35 = function(arg0, arg1) {
|
|
1512
|
-
const ret = arg0.beginComputePass(arg1);
|
|
1513
|
-
return ret;
|
|
1514
|
-
};
|
|
1515
|
-
imports.wbg.__wbg_beginRenderPass_f36cfdd5825e0c2e = function() { return handleError(function (arg0, arg1) {
|
|
1516
|
-
const ret = arg0.beginRenderPass(arg1);
|
|
1517
|
-
return ret;
|
|
1518
|
-
}, arguments) };
|
|
1519
|
-
imports.wbg.__wbg_blockSize_1490803190b57a34 = function(arg0) {
|
|
1520
|
-
const ret = arg0.blockSize;
|
|
1521
|
-
return ret;
|
|
1522
|
-
};
|
|
1523
|
-
imports.wbg.__wbg_blur_c2ad8cc71bac3974 = function() { return handleError(function (arg0) {
|
|
1524
|
-
arg0.blur();
|
|
1525
|
-
}, arguments) };
|
|
1526
|
-
imports.wbg.__wbg_body_942ea927546a04ba = function(arg0) {
|
|
1527
|
-
const ret = arg0.body;
|
|
1528
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1529
|
-
};
|
|
1530
|
-
imports.wbg.__wbg_brand_0d0be99ea957c63c = function(arg0, arg1) {
|
|
1531
|
-
const ret = arg1.brand;
|
|
1532
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1533
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1534
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1535
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1536
|
-
};
|
|
1537
|
-
imports.wbg.__wbg_brands_f09f6c82504b5473 = function(arg0) {
|
|
1538
|
-
const ret = arg0.brands;
|
|
1539
|
-
return ret;
|
|
1540
|
-
};
|
|
1541
|
-
imports.wbg.__wbg_buffer_09165b52af8c5237 = function(arg0) {
|
|
1542
|
-
const ret = arg0.buffer;
|
|
1543
|
-
return ret;
|
|
1544
|
-
};
|
|
1545
|
-
imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
1546
|
-
const ret = arg0.buffer;
|
|
1547
|
-
return ret;
|
|
1548
|
-
};
|
|
1549
|
-
imports.wbg.__wbg_button_f75c56aec440ea04 = function(arg0) {
|
|
1550
|
-
const ret = arg0.button;
|
|
1551
|
-
return ret;
|
|
1552
|
-
};
|
|
1553
|
-
imports.wbg.__wbg_buttons_b6346af6f04e4686 = function(arg0) {
|
|
1554
|
-
const ret = arg0.buttons;
|
|
1555
|
-
return ret;
|
|
1556
|
-
};
|
|
1557
|
-
imports.wbg.__wbg_buttons_c4b2b5a0c27f0743 = function(arg0) {
|
|
1558
|
-
const ret = arg0.buttons;
|
|
1559
|
-
return ret;
|
|
1560
|
-
};
|
|
1561
|
-
imports.wbg.__wbg_call_672a4d21634d4a24 = function() { return handleError(function (arg0, arg1) {
|
|
1562
|
-
const ret = arg0.call(arg1);
|
|
1563
|
-
return ret;
|
|
1564
|
-
}, arguments) };
|
|
1565
|
-
imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1566
|
-
const ret = arg0.call(arg1, arg2);
|
|
1567
|
-
return ret;
|
|
1568
|
-
}, arguments) };
|
|
1569
|
-
imports.wbg.__wbg_cancelAnimationFrame_089b48301c362fde = function() { return handleError(function (arg0, arg1) {
|
|
1570
|
-
arg0.cancelAnimationFrame(arg1);
|
|
1571
|
-
}, arguments) };
|
|
1572
|
-
imports.wbg.__wbg_cancelIdleCallback_669eb1ed294c8b8b = function(arg0, arg1) {
|
|
1573
|
-
arg0.cancelIdleCallback(arg1 >>> 0);
|
|
1574
|
-
};
|
|
1575
|
-
imports.wbg.__wbg_cancel_2a516934f42e16f2 = function(arg0) {
|
|
1576
|
-
arg0.cancel();
|
|
1577
|
-
};
|
|
1578
|
-
imports.wbg.__wbg_catch_a6e601879b2610e9 = function(arg0, arg1) {
|
|
1579
|
-
const ret = arg0.catch(arg1);
|
|
1580
|
-
return ret;
|
|
1581
|
-
};
|
|
1582
|
-
imports.wbg.__wbg_clearBuffer_72d29b2edf7e9197 = function(arg0, arg1, arg2, arg3) {
|
|
1583
|
-
arg0.clearBuffer(arg1, arg2, arg3);
|
|
1584
|
-
};
|
|
1585
|
-
imports.wbg.__wbg_clearBuffer_e5013de8c63d4e3f = function(arg0, arg1, arg2) {
|
|
1586
|
-
arg0.clearBuffer(arg1, arg2);
|
|
1587
|
-
};
|
|
1588
|
-
imports.wbg.__wbg_clearTimeout_5a54f8841c30079a = function(arg0) {
|
|
1589
|
-
const ret = clearTimeout(arg0);
|
|
1590
|
-
return ret;
|
|
1591
|
-
};
|
|
1592
|
-
imports.wbg.__wbg_clearTimeout_86721db0036bea98 = function(arg0) {
|
|
1593
|
-
const ret = clearTimeout(arg0);
|
|
1594
|
-
return ret;
|
|
1595
|
-
};
|
|
1596
|
-
imports.wbg.__wbg_clearTimeout_b2651b7485c58446 = function(arg0, arg1) {
|
|
1597
|
-
arg0.clearTimeout(arg1);
|
|
1598
|
-
};
|
|
1599
|
-
imports.wbg.__wbg_clipboard_93f8aa8cc426db44 = function(arg0) {
|
|
1600
|
-
const ret = arg0.clipboard;
|
|
1601
|
-
return ret;
|
|
1602
|
-
};
|
|
1603
|
-
imports.wbg.__wbg_close_2893b7d056a0627d = function() { return handleError(function (arg0) {
|
|
1604
|
-
arg0.close();
|
|
1605
|
-
}, arguments) };
|
|
1606
|
-
imports.wbg.__wbg_close_414b379454494b29 = function(arg0) {
|
|
1607
|
-
arg0.close();
|
|
1608
|
-
};
|
|
1609
|
-
imports.wbg.__wbg_close_5a97ef05b337f8ce = function() { return handleError(function (arg0) {
|
|
1610
|
-
const ret = arg0.close();
|
|
1611
|
-
return ret;
|
|
1612
|
-
}, arguments) };
|
|
1613
|
-
imports.wbg.__wbg_closeroom_78ef813dc48aa38f = function() { return handleError(function (arg0) {
|
|
1614
|
-
const ret = close_room(arg0);
|
|
1615
|
-
return ret;
|
|
1616
|
-
}, arguments) };
|
|
1617
|
-
imports.wbg.__wbg_code_459c120478e1ab6e = function(arg0, arg1) {
|
|
1618
|
-
const ret = arg1.code;
|
|
1619
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1620
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1621
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1622
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1623
|
-
};
|
|
1624
|
-
imports.wbg.__wbg_code_cfd8f6868bdaed9b = function(arg0) {
|
|
1625
|
-
const ret = arg0.code;
|
|
1626
|
-
return ret;
|
|
1627
|
-
};
|
|
1628
|
-
imports.wbg.__wbg_code_f4ec1e6e2e1b0417 = function(arg0) {
|
|
1629
|
-
const ret = arg0.code;
|
|
1630
|
-
return ret;
|
|
1631
|
-
};
|
|
1632
|
-
imports.wbg.__wbg_configure_ad5aa321838c8e3b = function() { return handleError(function (arg0, arg1) {
|
|
1633
|
-
arg0.configure(arg1);
|
|
1634
|
-
}, arguments) };
|
|
1635
|
-
imports.wbg.__wbg_connect_b22945d106632a36 = function() { return handleError(function (arg0, arg1) {
|
|
1636
|
-
const ret = arg0.connect(arg1);
|
|
1637
|
-
return ret;
|
|
1638
|
-
}, arguments) };
|
|
1639
|
-
imports.wbg.__wbg_connected_18470c3ee82326ee = function(arg0) {
|
|
1640
|
-
const ret = arg0.connected;
|
|
1641
|
-
return ret;
|
|
1642
|
-
};
|
|
1643
|
-
imports.wbg.__wbg_connectroom_663acb09066a2ceb = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1644
|
-
const ret = connect_room(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
1645
|
-
return ret;
|
|
1646
|
-
}, arguments) };
|
|
1647
|
-
imports.wbg.__wbg_contains_3361c7eda6c95afd = function(arg0, arg1) {
|
|
1648
|
-
const ret = arg0.contains(arg1);
|
|
1649
|
-
return ret;
|
|
1650
|
-
};
|
|
1651
|
-
imports.wbg.__wbg_contentRect_81407eb60e52248f = function(arg0) {
|
|
1652
|
-
const ret = arg0.contentRect;
|
|
1653
|
-
return ret;
|
|
1654
|
-
};
|
|
1655
|
-
imports.wbg.__wbg_copyBufferToBuffer_e5b6f95a75ade65d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1656
|
-
arg0.copyBufferToBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
1657
|
-
}, arguments) };
|
|
1658
|
-
imports.wbg.__wbg_copyExternalImageToTexture_f48edea9b3d70a69 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1659
|
-
arg0.copyExternalImageToTexture(arg1, arg2, arg3);
|
|
1660
|
-
}, arguments) };
|
|
1661
|
-
imports.wbg.__wbg_copyTextureToBuffer_beaf38ed0c92f265 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1662
|
-
arg0.copyTextureToBuffer(arg1, arg2, arg3);
|
|
1663
|
-
}, arguments) };
|
|
1664
|
-
imports.wbg.__wbg_copyTextureToTexture_d61a384c5788aaa1 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1665
|
-
arg0.copyTextureToTexture(arg1, arg2, arg3);
|
|
1666
|
-
}, arguments) };
|
|
1667
|
-
imports.wbg.__wbg_copyToChannel_68b578649a067c04 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1668
|
-
arg0.copyToChannel(arg1, arg2);
|
|
1669
|
-
}, arguments) };
|
|
1670
|
-
imports.wbg.__wbg_copyToChannel_82f62bcbfc51fc3c = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1671
|
-
arg0.copyToChannel(arg1, arg2);
|
|
1672
|
-
}, arguments) };
|
|
1673
|
-
imports.wbg.__wbg_createBindGroupLayout_b87a1f26ed22bd5d = function() { return handleError(function (arg0, arg1) {
|
|
1674
|
-
const ret = arg0.createBindGroupLayout(arg1);
|
|
1675
|
-
return ret;
|
|
1676
|
-
}, arguments) };
|
|
1677
|
-
imports.wbg.__wbg_createBindGroup_dfdadbbcf4dcae54 = function(arg0, arg1) {
|
|
1678
|
-
const ret = arg0.createBindGroup(arg1);
|
|
1679
|
-
return ret;
|
|
1680
|
-
};
|
|
1681
|
-
imports.wbg.__wbg_createBufferSource_f7860a96f709acbd = function() { return handleError(function (arg0) {
|
|
1682
|
-
const ret = arg0.createBufferSource();
|
|
1683
|
-
return ret;
|
|
1684
|
-
}, arguments) };
|
|
1685
|
-
imports.wbg.__wbg_createBuffer_926beeec3ff39b5a = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1686
|
-
const ret = arg0.createBuffer(arg1 >>> 0, arg2 >>> 0, arg3);
|
|
1687
|
-
return ret;
|
|
1688
|
-
}, arguments) };
|
|
1689
|
-
imports.wbg.__wbg_createBuffer_fb1752eab5cb2a7f = function() { return handleError(function (arg0, arg1) {
|
|
1690
|
-
const ret = arg0.createBuffer(arg1);
|
|
1691
|
-
return ret;
|
|
1692
|
-
}, arguments) };
|
|
1693
|
-
imports.wbg.__wbg_createCommandEncoder_92b1c283a0372974 = function(arg0, arg1) {
|
|
1694
|
-
const ret = arg0.createCommandEncoder(arg1);
|
|
1695
|
-
return ret;
|
|
1696
|
-
};
|
|
1697
|
-
imports.wbg.__wbg_createComputePipeline_4cdc84e4d346bd71 = function(arg0, arg1) {
|
|
1698
|
-
const ret = arg0.createComputePipeline(arg1);
|
|
1699
|
-
return ret;
|
|
1700
|
-
};
|
|
1701
|
-
imports.wbg.__wbg_createElement_8c9931a732ee2fea = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1702
|
-
const ret = arg0.createElement(getStringFromWasm0(arg1, arg2));
|
|
1703
|
-
return ret;
|
|
1704
|
-
}, arguments) };
|
|
1705
|
-
imports.wbg.__wbg_createGain_3f9db7a6e248669f = function() { return handleError(function (arg0) {
|
|
1706
|
-
const ret = arg0.createGain();
|
|
1707
|
-
return ret;
|
|
1708
|
-
}, arguments) };
|
|
1709
|
-
imports.wbg.__wbg_createObjectURL_6e98d2f9c7bd9764 = function() { return handleError(function (arg0, arg1) {
|
|
1710
|
-
const ret = URL.createObjectURL(arg1);
|
|
1711
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1712
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1713
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1714
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1715
|
-
}, arguments) };
|
|
1716
|
-
imports.wbg.__wbg_createPipelineLayout_c97169a1a177450e = function(arg0, arg1) {
|
|
1717
|
-
const ret = arg0.createPipelineLayout(arg1);
|
|
1718
|
-
return ret;
|
|
1719
|
-
};
|
|
1720
|
-
imports.wbg.__wbg_createQuerySet_2cc2699149de9cc4 = function() { return handleError(function (arg0, arg1) {
|
|
1721
|
-
const ret = arg0.createQuerySet(arg1);
|
|
1722
|
-
return ret;
|
|
1723
|
-
}, arguments) };
|
|
1724
|
-
imports.wbg.__wbg_createRenderPipeline_ab453ccc40539bc0 = function() { return handleError(function (arg0, arg1) {
|
|
1725
|
-
const ret = arg0.createRenderPipeline(arg1);
|
|
1726
|
-
return ret;
|
|
1727
|
-
}, arguments) };
|
|
1728
|
-
imports.wbg.__wbg_createSampler_fdf4c92b3a0a4810 = function(arg0, arg1) {
|
|
1729
|
-
const ret = arg0.createSampler(arg1);
|
|
1730
|
-
return ret;
|
|
1731
|
-
};
|
|
1732
|
-
imports.wbg.__wbg_createShaderModule_159013272c1b4c4c = function(arg0, arg1) {
|
|
1733
|
-
const ret = arg0.createShaderModule(arg1);
|
|
1734
|
-
return ret;
|
|
1735
|
-
};
|
|
1736
|
-
imports.wbg.__wbg_createStereoPanner_a9cf3ad3025368ac = function() { return handleError(function (arg0) {
|
|
1737
|
-
const ret = arg0.createStereoPanner();
|
|
1738
|
-
return ret;
|
|
1739
|
-
}, arguments) };
|
|
1740
|
-
imports.wbg.__wbg_createTexture_092a9cf5106b1805 = function() { return handleError(function (arg0, arg1) {
|
|
1741
|
-
const ret = arg0.createTexture(arg1);
|
|
1742
|
-
return ret;
|
|
1743
|
-
}, arguments) };
|
|
1744
|
-
imports.wbg.__wbg_createView_e743725c577bafe5 = function() { return handleError(function (arg0, arg1) {
|
|
1745
|
-
const ret = arg0.createView(arg1);
|
|
1746
|
-
return ret;
|
|
1747
|
-
}, arguments) };
|
|
1748
|
-
imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
|
|
1749
|
-
const ret = arg0.crypto;
|
|
1750
|
-
return ret;
|
|
1751
|
-
};
|
|
1752
|
-
imports.wbg.__wbg_ctrlKey_1e826e468105ac11 = function(arg0) {
|
|
1753
|
-
const ret = arg0.ctrlKey;
|
|
1754
|
-
return ret;
|
|
1755
|
-
};
|
|
1756
|
-
imports.wbg.__wbg_ctrlKey_cdbe8154dfb00d1f = function(arg0) {
|
|
1757
|
-
const ret = arg0.ctrlKey;
|
|
1758
|
-
return ret;
|
|
1759
|
-
};
|
|
1760
|
-
imports.wbg.__wbg_currentTime_adef4d803f58eb66 = function(arg0) {
|
|
1761
|
-
const ret = arg0.currentTime;
|
|
1762
|
-
return ret;
|
|
1763
|
-
};
|
|
1764
|
-
imports.wbg.__wbg_data_432d9c3df2630942 = function(arg0) {
|
|
1765
|
-
const ret = arg0.data;
|
|
1766
|
-
return ret;
|
|
1767
|
-
};
|
|
1768
|
-
imports.wbg.__wbg_data_e77bd5c125ecc8a8 = function(arg0, arg1) {
|
|
1769
|
-
const ret = arg1.data;
|
|
1770
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1771
|
-
var len1 = WASM_VECTOR_LEN;
|
|
1772
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1773
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1774
|
-
};
|
|
1775
|
-
imports.wbg.__wbg_debug_3cb59063b29f58c1 = function(arg0) {
|
|
1776
|
-
console.debug(arg0);
|
|
1777
|
-
};
|
|
1778
|
-
imports.wbg.__wbg_deltaMode_9bfd9fe3f6b4b240 = function(arg0) {
|
|
1779
|
-
const ret = arg0.deltaMode;
|
|
1780
|
-
return ret;
|
|
1781
|
-
};
|
|
1782
|
-
imports.wbg.__wbg_deltaX_5c1121715746e4b7 = function(arg0) {
|
|
1783
|
-
const ret = arg0.deltaX;
|
|
1784
|
-
return ret;
|
|
1785
|
-
};
|
|
1786
|
-
imports.wbg.__wbg_deltaY_f9318542caea0c36 = function(arg0) {
|
|
1787
|
-
const ret = arg0.deltaY;
|
|
1788
|
-
return ret;
|
|
1789
|
-
};
|
|
1790
|
-
imports.wbg.__wbg_destination_6400091abd6f01b3 = function(arg0) {
|
|
1791
|
-
const ret = arg0.destination;
|
|
1792
|
-
return ret;
|
|
1793
|
-
};
|
|
1794
|
-
imports.wbg.__wbg_devicePixelContentBoxSize_a6de82cb30d70825 = function(arg0) {
|
|
1795
|
-
const ret = arg0.devicePixelContentBoxSize;
|
|
1796
|
-
return ret;
|
|
1797
|
-
};
|
|
1798
|
-
imports.wbg.__wbg_devicePixelRatio_68c391265f05d093 = function(arg0) {
|
|
1799
|
-
const ret = arg0.devicePixelRatio;
|
|
1800
|
-
return ret;
|
|
1801
|
-
};
|
|
1802
|
-
imports.wbg.__wbg_disconnect_2118016d75479985 = function(arg0) {
|
|
1803
|
-
arg0.disconnect();
|
|
1804
|
-
};
|
|
1805
|
-
imports.wbg.__wbg_disconnect_ac3f4ba550970c76 = function(arg0) {
|
|
1806
|
-
arg0.disconnect();
|
|
1807
|
-
};
|
|
1808
|
-
imports.wbg.__wbg_dispatchWorkgroupsIndirect_722ddd2d9f82bf8f = function(arg0, arg1, arg2) {
|
|
1809
|
-
arg0.dispatchWorkgroupsIndirect(arg1, arg2);
|
|
1810
|
-
};
|
|
1811
|
-
imports.wbg.__wbg_dispatchWorkgroups_89c6778d0518442a = function(arg0, arg1, arg2, arg3) {
|
|
1812
|
-
arg0.dispatchWorkgroups(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0);
|
|
1813
|
-
};
|
|
1814
|
-
imports.wbg.__wbg_document_d249400bd7bd996d = function(arg0) {
|
|
1815
|
-
const ret = arg0.document;
|
|
1816
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1817
|
-
};
|
|
1818
|
-
imports.wbg.__wbg_done_769e5ede4b31c67b = function(arg0) {
|
|
1819
|
-
const ret = arg0.done;
|
|
1820
|
-
return ret;
|
|
1821
|
-
};
|
|
1822
|
-
imports.wbg.__wbg_drawIndexedIndirect_48b8253de8bf530c = function(arg0, arg1, arg2) {
|
|
1823
|
-
arg0.drawIndexedIndirect(arg1, arg2);
|
|
1824
|
-
};
|
|
1825
|
-
imports.wbg.__wbg_drawIndexed_bf8f6537c7ff1b95 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1826
|
-
arg0.drawIndexed(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
1827
|
-
};
|
|
1828
|
-
imports.wbg.__wbg_drawIndirect_8bef8992f379d2b5 = function(arg0, arg1, arg2) {
|
|
1829
|
-
arg0.drawIndirect(arg1, arg2);
|
|
1830
|
-
};
|
|
1831
|
-
imports.wbg.__wbg_draw_e8c430e7254c6215 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
1832
|
-
arg0.draw(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
1833
|
-
};
|
|
1834
|
-
imports.wbg.__wbg_duration_4d32c501d87796c1 = function(arg0) {
|
|
1835
|
-
const ret = arg0.duration;
|
|
1836
|
-
return ret;
|
|
1837
|
-
};
|
|
1838
|
-
imports.wbg.__wbg_duration_565c591afbce80ca = function(arg0) {
|
|
1839
|
-
const ret = arg0.duration;
|
|
1840
|
-
return ret;
|
|
1841
|
-
};
|
|
1842
|
-
imports.wbg.__wbg_end_56b2d6d0610f9131 = function(arg0) {
|
|
1843
|
-
arg0.end();
|
|
1844
|
-
};
|
|
1845
|
-
imports.wbg.__wbg_end_7ad26f2083234d67 = function(arg0) {
|
|
1846
|
-
arg0.end();
|
|
1847
|
-
};
|
|
1848
|
-
imports.wbg.__wbg_entries_3265d4158b33e5dc = function(arg0) {
|
|
1849
|
-
const ret = Object.entries(arg0);
|
|
1850
|
-
return ret;
|
|
1851
|
-
};
|
|
1852
|
-
imports.wbg.__wbg_error_1004b8c64097413f = function(arg0, arg1) {
|
|
1853
|
-
console.error(arg0, arg1);
|
|
1854
|
-
};
|
|
1855
|
-
imports.wbg.__wbg_error_142536f834546311 = function(arg0) {
|
|
1856
|
-
const ret = arg0.error;
|
|
1857
|
-
return ret;
|
|
1858
|
-
};
|
|
1859
|
-
imports.wbg.__wbg_error_524f506f44df1645 = function(arg0) {
|
|
1860
|
-
console.error(arg0);
|
|
1861
|
-
};
|
|
1862
|
-
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
1863
|
-
let deferred0_0;
|
|
1864
|
-
let deferred0_1;
|
|
1865
|
-
try {
|
|
1866
|
-
deferred0_0 = arg0;
|
|
1867
|
-
deferred0_1 = arg1;
|
|
1868
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
1869
|
-
} finally {
|
|
1870
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
1871
|
-
}
|
|
1872
|
-
};
|
|
1873
|
-
imports.wbg.__wbg_eval_e10dc02e9547f640 = function() { return handleError(function (arg0, arg1) {
|
|
1874
|
-
const ret = eval(getStringFromWasm0(arg0, arg1));
|
|
1875
|
-
return ret;
|
|
1876
|
-
}, arguments) };
|
|
1877
|
-
imports.wbg.__wbg_exec_3e2d2d0644c927df = function(arg0, arg1, arg2) {
|
|
1878
|
-
const ret = arg0.exec(getStringFromWasm0(arg1, arg2));
|
|
1879
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1880
|
-
};
|
|
1881
|
-
imports.wbg.__wbg_exitFullscreen_909f35c20d9db949 = function(arg0) {
|
|
1882
|
-
arg0.exitFullscreen();
|
|
1883
|
-
};
|
|
1884
|
-
imports.wbg.__wbg_exitPointerLock_7b6e7252c7133f69 = function(arg0) {
|
|
1885
|
-
arg0.exitPointerLock();
|
|
1886
|
-
};
|
|
1887
|
-
imports.wbg.__wbg_features_79e62ac35510384d = function(arg0) {
|
|
1888
|
-
const ret = arg0.features;
|
|
1889
|
-
return ret;
|
|
1890
|
-
};
|
|
1891
|
-
imports.wbg.__wbg_features_7f655fc5b99a8d35 = function(arg0) {
|
|
1892
|
-
const ret = arg0.features;
|
|
1893
|
-
return ret;
|
|
1894
|
-
};
|
|
1895
|
-
imports.wbg.__wbg_fetch_1b7e793ab8320753 = function(arg0, arg1, arg2) {
|
|
1896
|
-
const ret = arg0.fetch(getStringFromWasm0(arg1, arg2));
|
|
1897
|
-
return ret;
|
|
1898
|
-
};
|
|
1899
|
-
imports.wbg.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
1900
|
-
const ret = arg0.fetch(arg1);
|
|
1901
|
-
return ret;
|
|
1902
|
-
};
|
|
1903
|
-
imports.wbg.__wbg_fetch_6fed924f7801d8f3 = function(arg0, arg1, arg2) {
|
|
1904
|
-
const ret = arg0.fetch(getStringFromWasm0(arg1, arg2));
|
|
1905
|
-
return ret;
|
|
1906
|
-
};
|
|
1907
|
-
imports.wbg.__wbg_fetch_d36a73832f0a45e8 = function(arg0) {
|
|
1908
|
-
const ret = fetch(arg0);
|
|
1909
|
-
return ret;
|
|
1910
|
-
};
|
|
1911
|
-
imports.wbg.__wbg_finish_ac8e8f8408208d93 = function(arg0) {
|
|
1912
|
-
const ret = arg0.finish();
|
|
1913
|
-
return ret;
|
|
1914
|
-
};
|
|
1915
|
-
imports.wbg.__wbg_finish_b79779da004ef346 = function(arg0, arg1) {
|
|
1916
|
-
const ret = arg0.finish(arg1);
|
|
1917
|
-
return ret;
|
|
1918
|
-
};
|
|
1919
|
-
imports.wbg.__wbg_focus_7d08b55eba7b368d = function() { return handleError(function (arg0) {
|
|
1920
|
-
arg0.focus();
|
|
1921
|
-
}, arguments) };
|
|
1922
|
-
imports.wbg.__wbg_fullscreenElement_a2f691b04c3b3de5 = function(arg0) {
|
|
1923
|
-
const ret = arg0.fullscreenElement;
|
|
1924
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1925
|
-
};
|
|
1926
|
-
imports.wbg.__wbg_gain_a9e77ad6f0f8f187 = function(arg0) {
|
|
1927
|
-
const ret = arg0.gain;
|
|
1928
|
-
return ret;
|
|
1929
|
-
};
|
|
1930
|
-
imports.wbg.__wbg_getBoundingClientRect_9073b0ff7574d76b = function(arg0) {
|
|
1931
|
-
const ret = arg0.getBoundingClientRect();
|
|
1932
|
-
return ret;
|
|
1933
|
-
};
|
|
1934
|
-
imports.wbg.__wbg_getCoalescedEvents_7c0f5fb94594226f = function(arg0) {
|
|
1935
|
-
const ret = arg0.getCoalescedEvents;
|
|
1936
|
-
return ret;
|
|
1937
|
-
};
|
|
1938
|
-
imports.wbg.__wbg_getCoalescedEvents_a7d49de30111f6b8 = function(arg0) {
|
|
1939
|
-
const ret = arg0.getCoalescedEvents();
|
|
1940
|
-
return ret;
|
|
1941
|
-
};
|
|
1942
|
-
imports.wbg.__wbg_getComputedStyle_046dd6472f8e7f1d = function() { return handleError(function (arg0, arg1) {
|
|
1943
|
-
const ret = arg0.getComputedStyle(arg1);
|
|
1944
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1945
|
-
}, arguments) };
|
|
1946
|
-
imports.wbg.__wbg_getContext_e9cf379449413580 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1947
|
-
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
1948
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1949
|
-
}, arguments) };
|
|
1950
|
-
imports.wbg.__wbg_getContext_f65a0debd1e8f8e8 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1951
|
-
const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
|
|
1952
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1953
|
-
}, arguments) };
|
|
1954
|
-
imports.wbg.__wbg_getCurrentTexture_3c8710ca6e0019fc = function() { return handleError(function (arg0) {
|
|
1955
|
-
const ret = arg0.getCurrentTexture();
|
|
1956
|
-
return ret;
|
|
1957
|
-
}, arguments) };
|
|
1958
|
-
imports.wbg.__wbg_getDirectoryHandle_c48a138373d79b3d = function(arg0, arg1, arg2, arg3) {
|
|
1959
|
-
const ret = arg0.getDirectoryHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
1960
|
-
return ret;
|
|
1961
|
-
};
|
|
1962
|
-
imports.wbg.__wbg_getDirectory_c206b0540c9acc0f = function(arg0) {
|
|
1963
|
-
const ret = arg0.getDirectory();
|
|
1964
|
-
return ret;
|
|
1965
|
-
};
|
|
1966
|
-
imports.wbg.__wbg_getElementById_f827f0d6648718a8 = function(arg0, arg1, arg2) {
|
|
1967
|
-
const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
|
|
1968
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1969
|
-
};
|
|
1970
|
-
imports.wbg.__wbg_getFileHandle_5fb877d1ecc74d52 = function(arg0, arg1, arg2, arg3) {
|
|
1971
|
-
const ret = arg0.getFileHandle(getStringFromWasm0(arg1, arg2), arg3);
|
|
1972
|
-
return ret;
|
|
1973
|
-
};
|
|
1974
|
-
imports.wbg.__wbg_getGamepads_1f997cef580c9088 = function() { return handleError(function (arg0) {
|
|
1975
|
-
const ret = arg0.getGamepads();
|
|
1976
|
-
return ret;
|
|
1977
|
-
}, arguments) };
|
|
1978
|
-
imports.wbg.__wbg_getMappedRange_86d4a434bceeb7fc = function() { return handleError(function (arg0, arg1, arg2) {
|
|
1979
|
-
const ret = arg0.getMappedRange(arg1, arg2);
|
|
1980
|
-
return ret;
|
|
1981
|
-
}, arguments) };
|
|
1982
|
-
imports.wbg.__wbg_getOwnPropertyDescriptor_9dd936a3c0cbd368 = function(arg0, arg1) {
|
|
1983
|
-
const ret = Object.getOwnPropertyDescriptor(arg0, arg1);
|
|
1984
|
-
return ret;
|
|
1985
|
-
};
|
|
1986
|
-
imports.wbg.__wbg_getPreferredCanvasFormat_0988752050c788b0 = function(arg0) {
|
|
1987
|
-
const ret = arg0.getPreferredCanvasFormat();
|
|
1988
|
-
return (__wbindgen_enum_GpuTextureFormat.indexOf(ret) + 1 || 96) - 1;
|
|
1989
|
-
};
|
|
1990
|
-
imports.wbg.__wbg_getPropertyValue_e623c23a05dfb30c = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1991
|
-
const ret = arg1.getPropertyValue(getStringFromWasm0(arg2, arg3));
|
|
1992
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1993
|
-
const len1 = WASM_VECTOR_LEN;
|
|
1994
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1995
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1996
|
-
}, arguments) };
|
|
1997
|
-
imports.wbg.__wbg_getRandomValues_268247272a798588 = function() { return handleError(function (arg0) {
|
|
1998
|
-
globalThis.crypto.getRandomValues(arg0);
|
|
1999
|
-
}, arguments) };
|
|
2000
|
-
imports.wbg.__wbg_getRandomValues_80578b2ff2a093ba = function() { return handleError(function (arg0) {
|
|
2001
|
-
globalThis.crypto.getRandomValues(arg0);
|
|
2002
|
-
}, arguments) };
|
|
2003
|
-
imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
|
|
2004
|
-
arg0.getRandomValues(arg1);
|
|
2005
|
-
}, arguments) };
|
|
2006
|
-
imports.wbg.__wbg_get_67b2ba62fc30de12 = function() { return handleError(function (arg0, arg1) {
|
|
2007
|
-
const ret = Reflect.get(arg0, arg1);
|
|
2008
|
-
return ret;
|
|
2009
|
-
}, arguments) };
|
|
2010
|
-
imports.wbg.__wbg_get_85c3d71662a108c8 = function() { return handleError(function (arg0, arg1) {
|
|
2011
|
-
const ret = Reflect.get(arg0, arg1 >>> 0);
|
|
2012
|
-
return ret;
|
|
2013
|
-
}, arguments) };
|
|
2014
|
-
imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
2015
|
-
const ret = arg0[arg1 >>> 0];
|
|
2016
|
-
return ret;
|
|
2017
|
-
};
|
|
2018
|
-
imports.wbg.__wbg_get_e27dfaeb6f46bd45 = function(arg0, arg1) {
|
|
2019
|
-
const ret = arg0[arg1 >>> 0];
|
|
2020
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2021
|
-
};
|
|
2022
|
-
imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
2023
|
-
const ret = arg0[arg1];
|
|
2024
|
-
return ret;
|
|
2025
|
-
};
|
|
2026
|
-
imports.wbg.__wbg_gpu_051bdce6489ddf6a = function(arg0) {
|
|
2027
|
-
const ret = arg0.gpu;
|
|
2028
|
-
return ret;
|
|
2029
|
-
};
|
|
2030
|
-
imports.wbg.__wbg_has_79b2afbf87cac46a = function(arg0, arg1, arg2) {
|
|
2031
|
-
const ret = arg0.has(getStringFromWasm0(arg1, arg2));
|
|
2032
|
-
return ret;
|
|
2033
|
-
};
|
|
2034
|
-
imports.wbg.__wbg_has_a5ea9117f258a0ec = function() { return handleError(function (arg0, arg1) {
|
|
2035
|
-
const ret = Reflect.has(arg0, arg1);
|
|
2036
|
-
return ret;
|
|
2037
|
-
}, arguments) };
|
|
2038
|
-
imports.wbg.__wbg_headers_9cb51cfd2ac780a4 = function(arg0) {
|
|
2039
|
-
const ret = arg0.headers;
|
|
2040
|
-
return ret;
|
|
2041
|
-
};
|
|
2042
|
-
imports.wbg.__wbg_height_1f8226c8f6875110 = function(arg0) {
|
|
2043
|
-
const ret = arg0.height;
|
|
2044
|
-
return ret;
|
|
2045
|
-
};
|
|
2046
|
-
imports.wbg.__wbg_hidden_44035768fde1148a = function(arg0) {
|
|
2047
|
-
const ret = arg0.hidden;
|
|
2048
|
-
return ret;
|
|
2049
|
-
};
|
|
2050
|
-
imports.wbg.__wbg_id_290cc18d62a31d87 = function(arg0, arg1) {
|
|
2051
|
-
const ret = arg1.id;
|
|
2052
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2053
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2054
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2055
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2056
|
-
};
|
|
2057
|
-
imports.wbg.__wbg_index_ff9a331b48fca2da = function(arg0) {
|
|
2058
|
-
const ret = arg0.index;
|
|
2059
|
-
return ret;
|
|
2060
|
-
};
|
|
2061
|
-
imports.wbg.__wbg_info_3daf2e093e091b66 = function(arg0) {
|
|
2062
|
-
console.info(arg0);
|
|
2063
|
-
};
|
|
2064
|
-
imports.wbg.__wbg_inlineSize_8ff96b3ec1b24423 = function(arg0) {
|
|
2065
|
-
const ret = arg0.inlineSize;
|
|
2066
|
-
return ret;
|
|
2067
|
-
};
|
|
2068
|
-
imports.wbg.__wbg_instanceof_ArrayBuffer_e14585432e3737fc = function(arg0) {
|
|
2069
|
-
let result;
|
|
2070
|
-
try {
|
|
2071
|
-
result = arg0 instanceof ArrayBuffer;
|
|
2072
|
-
} catch (_) {
|
|
2073
|
-
result = false;
|
|
2074
|
-
}
|
|
2075
|
-
const ret = result;
|
|
2076
|
-
return ret;
|
|
2077
|
-
};
|
|
2078
|
-
imports.wbg.__wbg_instanceof_Blob_ca721ef3bdab15d1 = function(arg0) {
|
|
2079
|
-
let result;
|
|
2080
|
-
try {
|
|
2081
|
-
result = arg0 instanceof Blob;
|
|
2082
|
-
} catch (_) {
|
|
2083
|
-
result = false;
|
|
2084
|
-
}
|
|
2085
|
-
const ret = result;
|
|
2086
|
-
return ret;
|
|
2087
|
-
};
|
|
2088
|
-
imports.wbg.__wbg_instanceof_DomException_ed1ccb7aaf39034c = function(arg0) {
|
|
2089
|
-
let result;
|
|
2090
|
-
try {
|
|
2091
|
-
result = arg0 instanceof DOMException;
|
|
2092
|
-
} catch (_) {
|
|
2093
|
-
result = false;
|
|
2094
|
-
}
|
|
2095
|
-
const ret = result;
|
|
2096
|
-
return ret;
|
|
2097
|
-
};
|
|
2098
|
-
imports.wbg.__wbg_instanceof_FileSystemDirectoryHandle_0906fc139d75557b = function(arg0) {
|
|
2099
|
-
let result;
|
|
2100
|
-
try {
|
|
2101
|
-
result = arg0 instanceof FileSystemDirectoryHandle;
|
|
2102
|
-
} catch (_) {
|
|
2103
|
-
result = false;
|
|
2104
|
-
}
|
|
2105
|
-
const ret = result;
|
|
2106
|
-
return ret;
|
|
2107
|
-
};
|
|
2108
|
-
imports.wbg.__wbg_instanceof_FileSystemFileHandle_d3d037cf85ee546c = function(arg0) {
|
|
2109
|
-
let result;
|
|
2110
|
-
try {
|
|
2111
|
-
result = arg0 instanceof FileSystemFileHandle;
|
|
2112
|
-
} catch (_) {
|
|
2113
|
-
result = false;
|
|
2114
|
-
}
|
|
2115
|
-
const ret = result;
|
|
2116
|
-
return ret;
|
|
2117
|
-
};
|
|
2118
|
-
imports.wbg.__wbg_instanceof_GpuAdapter_aff4b0f95a6c1c3e = function(arg0) {
|
|
2119
|
-
let result;
|
|
2120
|
-
try {
|
|
2121
|
-
result = arg0 instanceof GPUAdapter;
|
|
2122
|
-
} catch (_) {
|
|
2123
|
-
result = false;
|
|
2124
|
-
}
|
|
2125
|
-
const ret = result;
|
|
2126
|
-
return ret;
|
|
2127
|
-
};
|
|
2128
|
-
imports.wbg.__wbg_instanceof_GpuCanvasContext_dc8dc7061b962990 = function(arg0) {
|
|
2129
|
-
let result;
|
|
2130
|
-
try {
|
|
2131
|
-
result = arg0 instanceof GPUCanvasContext;
|
|
2132
|
-
} catch (_) {
|
|
2133
|
-
result = false;
|
|
2134
|
-
}
|
|
2135
|
-
const ret = result;
|
|
2136
|
-
return ret;
|
|
2137
|
-
};
|
|
2138
|
-
imports.wbg.__wbg_instanceof_GpuOutOfMemoryError_c9077369f40e8df6 = function(arg0) {
|
|
2139
|
-
let result;
|
|
2140
|
-
try {
|
|
2141
|
-
result = arg0 instanceof GPUOutOfMemoryError;
|
|
2142
|
-
} catch (_) {
|
|
2143
|
-
result = false;
|
|
2144
|
-
}
|
|
2145
|
-
const ret = result;
|
|
2146
|
-
return ret;
|
|
2147
|
-
};
|
|
2148
|
-
imports.wbg.__wbg_instanceof_GpuValidationError_6f92e479d86616a6 = function(arg0) {
|
|
2149
|
-
let result;
|
|
2150
|
-
try {
|
|
2151
|
-
result = arg0 instanceof GPUValidationError;
|
|
2152
|
-
} catch (_) {
|
|
2153
|
-
result = false;
|
|
2154
|
-
}
|
|
2155
|
-
const ret = result;
|
|
2156
|
-
return ret;
|
|
2157
|
-
};
|
|
2158
|
-
imports.wbg.__wbg_instanceof_HtmlCanvasElement_2ea67072a7624ac5 = function(arg0) {
|
|
2159
|
-
let result;
|
|
2160
|
-
try {
|
|
2161
|
-
result = arg0 instanceof HTMLCanvasElement;
|
|
2162
|
-
} catch (_) {
|
|
2163
|
-
result = false;
|
|
2164
|
-
}
|
|
2165
|
-
const ret = result;
|
|
2166
|
-
return ret;
|
|
2167
|
-
};
|
|
2168
|
-
imports.wbg.__wbg_instanceof_HtmlElement_51378c201250b16c = function(arg0) {
|
|
2169
|
-
let result;
|
|
2170
|
-
try {
|
|
2171
|
-
result = arg0 instanceof HTMLElement;
|
|
2172
|
-
} catch (_) {
|
|
2173
|
-
result = false;
|
|
2174
|
-
}
|
|
2175
|
-
const ret = result;
|
|
2176
|
-
return ret;
|
|
2177
|
-
};
|
|
2178
|
-
imports.wbg.__wbg_instanceof_HtmlInputElement_12d71bf2d15dd19e = function(arg0) {
|
|
2179
|
-
let result;
|
|
2180
|
-
try {
|
|
2181
|
-
result = arg0 instanceof HTMLInputElement;
|
|
2182
|
-
} catch (_) {
|
|
2183
|
-
result = false;
|
|
2184
|
-
}
|
|
2185
|
-
const ret = result;
|
|
2186
|
-
return ret;
|
|
2187
|
-
};
|
|
2188
|
-
imports.wbg.__wbg_instanceof_HtmlMediaElement_dfdb010481a98e04 = function(arg0) {
|
|
2189
|
-
let result;
|
|
2190
|
-
try {
|
|
2191
|
-
result = arg0 instanceof HTMLMediaElement;
|
|
2192
|
-
} catch (_) {
|
|
2193
|
-
result = false;
|
|
2194
|
-
}
|
|
2195
|
-
const ret = result;
|
|
2196
|
-
return ret;
|
|
2197
|
-
};
|
|
2198
|
-
imports.wbg.__wbg_instanceof_HtmlVideoElement_7f414b32f362e317 = function(arg0) {
|
|
2199
|
-
let result;
|
|
2200
|
-
try {
|
|
2201
|
-
result = arg0 instanceof HTMLVideoElement;
|
|
2202
|
-
} catch (_) {
|
|
2203
|
-
result = false;
|
|
2204
|
-
}
|
|
2205
|
-
const ret = result;
|
|
2206
|
-
return ret;
|
|
2207
|
-
};
|
|
2208
|
-
imports.wbg.__wbg_instanceof_Map_f3469ce2244d2430 = function(arg0) {
|
|
2209
|
-
let result;
|
|
2210
|
-
try {
|
|
2211
|
-
result = arg0 instanceof Map;
|
|
2212
|
-
} catch (_) {
|
|
2213
|
-
result = false;
|
|
2214
|
-
}
|
|
2215
|
-
const ret = result;
|
|
2216
|
-
return ret;
|
|
2217
|
-
};
|
|
2218
|
-
imports.wbg.__wbg_instanceof_Object_7f2dcef8f78644a4 = function(arg0) {
|
|
2219
|
-
let result;
|
|
2220
|
-
try {
|
|
2221
|
-
result = arg0 instanceof Object;
|
|
2222
|
-
} catch (_) {
|
|
2223
|
-
result = false;
|
|
2224
|
-
}
|
|
2225
|
-
const ret = result;
|
|
2226
|
-
return ret;
|
|
2227
|
-
};
|
|
2228
|
-
imports.wbg.__wbg_instanceof_Response_f2cc20d9f7dfd644 = function(arg0) {
|
|
2229
|
-
let result;
|
|
2230
|
-
try {
|
|
2231
|
-
result = arg0 instanceof Response;
|
|
2232
|
-
} catch (_) {
|
|
2233
|
-
result = false;
|
|
2234
|
-
}
|
|
2235
|
-
const ret = result;
|
|
2236
|
-
return ret;
|
|
2237
|
-
};
|
|
2238
|
-
imports.wbg.__wbg_instanceof_Uint8Array_17156bcf118086a9 = function(arg0) {
|
|
2239
|
-
let result;
|
|
2240
|
-
try {
|
|
2241
|
-
result = arg0 instanceof Uint8Array;
|
|
2242
|
-
} catch (_) {
|
|
2243
|
-
result = false;
|
|
2244
|
-
}
|
|
2245
|
-
const ret = result;
|
|
2246
|
-
return ret;
|
|
2247
|
-
};
|
|
2248
|
-
imports.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(arg0) {
|
|
2249
|
-
let result;
|
|
2250
|
-
try {
|
|
2251
|
-
result = arg0 instanceof Window;
|
|
2252
|
-
} catch (_) {
|
|
2253
|
-
result = false;
|
|
2254
|
-
}
|
|
2255
|
-
const ret = result;
|
|
2256
|
-
return ret;
|
|
2257
|
-
};
|
|
2258
|
-
imports.wbg.__wbg_instanceof_WorkerGlobalScope_dbdbdea7e3b56493 = function(arg0) {
|
|
2259
|
-
let result;
|
|
2260
|
-
try {
|
|
2261
|
-
result = arg0 instanceof WorkerGlobalScope;
|
|
2262
|
-
} catch (_) {
|
|
2263
|
-
result = false;
|
|
2264
|
-
}
|
|
2265
|
-
const ret = result;
|
|
2266
|
-
return ret;
|
|
2267
|
-
};
|
|
2268
|
-
imports.wbg.__wbg_isArray_a1eab7e0d067391b = function(arg0) {
|
|
2269
|
-
const ret = Array.isArray(arg0);
|
|
2270
|
-
return ret;
|
|
2271
|
-
};
|
|
2272
|
-
imports.wbg.__wbg_isComposing_36511555ff1869a4 = function(arg0) {
|
|
2273
|
-
const ret = arg0.isComposing;
|
|
2274
|
-
return ret;
|
|
2275
|
-
};
|
|
2276
|
-
imports.wbg.__wbg_isComposing_6e36768c82fd5a4f = function(arg0) {
|
|
2277
|
-
const ret = arg0.isComposing;
|
|
2278
|
-
return ret;
|
|
2279
|
-
};
|
|
2280
|
-
imports.wbg.__wbg_isIntersecting_e68706dac9c5f2e9 = function(arg0) {
|
|
2281
|
-
const ret = arg0.isIntersecting;
|
|
2282
|
-
return ret;
|
|
2283
|
-
};
|
|
2284
|
-
imports.wbg.__wbg_isSafeInteger_343e2beeeece1bb0 = function(arg0) {
|
|
2285
|
-
const ret = Number.isSafeInteger(arg0);
|
|
2286
|
-
return ret;
|
|
2287
|
-
};
|
|
2288
|
-
imports.wbg.__wbg_isSecureContext_aedcf3816338189a = function(arg0) {
|
|
2289
|
-
const ret = arg0.isSecureContext;
|
|
2290
|
-
return ret;
|
|
2291
|
-
};
|
|
2292
|
-
imports.wbg.__wbg_is_c7481c65e7e5df9e = function(arg0, arg1) {
|
|
2293
|
-
const ret = Object.is(arg0, arg1);
|
|
2294
|
-
return ret;
|
|
2295
|
-
};
|
|
2296
|
-
imports.wbg.__wbg_ismicrophoneavailable_14ddfbe0bae2e955 = function() { return handleError(function () {
|
|
2297
|
-
const ret = is_microphone_available();
|
|
2298
|
-
return ret;
|
|
2299
|
-
}, arguments) };
|
|
2300
|
-
imports.wbg.__wbg_iterator_9a24c88df860dc65 = function() {
|
|
2301
|
-
const ret = Symbol.iterator;
|
|
2302
|
-
return ret;
|
|
2303
|
-
};
|
|
2304
|
-
imports.wbg.__wbg_keyCode_237a8d1a040910b8 = function(arg0) {
|
|
2305
|
-
const ret = arg0.keyCode;
|
|
2306
|
-
return ret;
|
|
2307
|
-
};
|
|
2308
|
-
imports.wbg.__wbg_key_7b5c6cb539be8e13 = function(arg0, arg1) {
|
|
2309
|
-
const ret = arg1.key;
|
|
2310
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2311
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2312
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2313
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2314
|
-
};
|
|
2315
|
-
imports.wbg.__wbg_label_c3a930571192f18e = function(arg0, arg1) {
|
|
2316
|
-
const ret = arg1.label;
|
|
2317
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2318
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2319
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2320
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2321
|
-
};
|
|
2322
|
-
imports.wbg.__wbg_length_3b4f022188ae8db6 = function(arg0) {
|
|
2323
|
-
const ret = arg0.length;
|
|
2324
|
-
return ret;
|
|
2325
|
-
};
|
|
2326
|
-
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
2327
|
-
const ret = arg0.length;
|
|
2328
|
-
return ret;
|
|
2329
|
-
};
|
|
2330
|
-
imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
|
|
2331
|
-
const ret = arg0.length;
|
|
2332
|
-
return ret;
|
|
2333
|
-
};
|
|
2334
|
-
imports.wbg.__wbg_limits_12dd06e895d48466 = function(arg0) {
|
|
2335
|
-
const ret = arg0.limits;
|
|
2336
|
-
return ret;
|
|
2337
|
-
};
|
|
2338
|
-
imports.wbg.__wbg_limits_4c117fe92a378b1a = function(arg0) {
|
|
2339
|
-
const ret = arg0.limits;
|
|
2340
|
-
return ret;
|
|
2341
|
-
};
|
|
2342
|
-
imports.wbg.__wbg_linearRampToValueAtTime_dba9d8ef6825bee4 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2343
|
-
const ret = arg0.linearRampToValueAtTime(arg1, arg2);
|
|
2344
|
-
return ret;
|
|
2345
|
-
}, arguments) };
|
|
2346
|
-
imports.wbg.__wbg_location_9b435486be8f98c2 = function(arg0) {
|
|
2347
|
-
const ret = arg0.location;
|
|
2348
|
-
return ret;
|
|
2349
|
-
};
|
|
2350
|
-
imports.wbg.__wbg_log_0cc1b7768397bcfe = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
|
|
2351
|
-
let deferred0_0;
|
|
2352
|
-
let deferred0_1;
|
|
2353
|
-
try {
|
|
2354
|
-
deferred0_0 = arg0;
|
|
2355
|
-
deferred0_1 = arg1;
|
|
2356
|
-
console.log(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5), getStringFromWasm0(arg6, arg7));
|
|
2357
|
-
} finally {
|
|
2358
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2359
|
-
}
|
|
2360
|
-
};
|
|
2361
|
-
imports.wbg.__wbg_log_c222819a41e063d3 = function(arg0) {
|
|
2362
|
-
console.log(arg0);
|
|
2363
|
-
};
|
|
2364
|
-
imports.wbg.__wbg_log_cb9e190acc5753fb = function(arg0, arg1) {
|
|
2365
|
-
let deferred0_0;
|
|
2366
|
-
let deferred0_1;
|
|
2367
|
-
try {
|
|
2368
|
-
deferred0_0 = arg0;
|
|
2369
|
-
deferred0_1 = arg1;
|
|
2370
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
2371
|
-
} finally {
|
|
2372
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2373
|
-
}
|
|
2374
|
-
};
|
|
2375
|
-
imports.wbg.__wbg_mapAsync_0d9cf9d11808b275 = function(arg0, arg1, arg2, arg3) {
|
|
2376
|
-
const ret = arg0.mapAsync(arg1 >>> 0, arg2, arg3);
|
|
2377
|
-
return ret;
|
|
2378
|
-
};
|
|
2379
|
-
imports.wbg.__wbg_mapping_4346bd44a2f56d13 = function(arg0) {
|
|
2380
|
-
const ret = arg0.mapping;
|
|
2381
|
-
return (__wbindgen_enum_GamepadMappingType.indexOf(ret) + 1 || 3) - 1;
|
|
2382
|
-
};
|
|
2383
|
-
imports.wbg.__wbg_mark_7438147ce31e9d4b = function(arg0, arg1) {
|
|
2384
|
-
performance.mark(getStringFromWasm0(arg0, arg1));
|
|
2385
|
-
};
|
|
2386
|
-
imports.wbg.__wbg_matchMedia_bf8807a841d930c1 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2387
|
-
const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
|
|
2388
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2389
|
-
}, arguments) };
|
|
2390
|
-
imports.wbg.__wbg_matches_e9ca73fbf8a3a104 = function(arg0) {
|
|
2391
|
-
const ret = arg0.matches;
|
|
2392
|
-
return ret;
|
|
2393
|
-
};
|
|
2394
|
-
imports.wbg.__wbg_maxBindGroups_060f2b40f8a292b1 = function(arg0) {
|
|
2395
|
-
const ret = arg0.maxBindGroups;
|
|
2396
|
-
return ret;
|
|
2397
|
-
};
|
|
2398
|
-
imports.wbg.__wbg_maxBindingsPerBindGroup_3e4b03bbed2da128 = function(arg0) {
|
|
2399
|
-
const ret = arg0.maxBindingsPerBindGroup;
|
|
2400
|
-
return ret;
|
|
2401
|
-
};
|
|
2402
|
-
imports.wbg.__wbg_maxBufferSize_deda0fa7852420cb = function(arg0) {
|
|
2403
|
-
const ret = arg0.maxBufferSize;
|
|
2404
|
-
return ret;
|
|
2405
|
-
};
|
|
2406
|
-
imports.wbg.__wbg_maxChannelCount_a06f8ca4190698ed = function(arg0) {
|
|
2407
|
-
const ret = arg0.maxChannelCount;
|
|
2408
|
-
return ret;
|
|
2409
|
-
};
|
|
2410
|
-
imports.wbg.__wbg_maxColorAttachmentBytesPerSample_4a4a0e04d76eaf2a = function(arg0) {
|
|
2411
|
-
const ret = arg0.maxColorAttachmentBytesPerSample;
|
|
2412
|
-
return ret;
|
|
2413
|
-
};
|
|
2414
|
-
imports.wbg.__wbg_maxColorAttachments_db4883eeb9e8aeae = function(arg0) {
|
|
2415
|
-
const ret = arg0.maxColorAttachments;
|
|
2416
|
-
return ret;
|
|
2417
|
-
};
|
|
2418
|
-
imports.wbg.__wbg_maxComputeInvocationsPerWorkgroup_d050c461ebc92998 = function(arg0) {
|
|
2419
|
-
const ret = arg0.maxComputeInvocationsPerWorkgroup;
|
|
2420
|
-
return ret;
|
|
2421
|
-
};
|
|
2422
|
-
imports.wbg.__wbg_maxComputeWorkgroupSizeX_48153a1b779879ad = function(arg0) {
|
|
2423
|
-
const ret = arg0.maxComputeWorkgroupSizeX;
|
|
2424
|
-
return ret;
|
|
2425
|
-
};
|
|
2426
|
-
imports.wbg.__wbg_maxComputeWorkgroupSizeY_7f73d3d16fdea180 = function(arg0) {
|
|
2427
|
-
const ret = arg0.maxComputeWorkgroupSizeY;
|
|
2428
|
-
return ret;
|
|
2429
|
-
};
|
|
2430
|
-
imports.wbg.__wbg_maxComputeWorkgroupSizeZ_9fcad0f0dfcffb05 = function(arg0) {
|
|
2431
|
-
const ret = arg0.maxComputeWorkgroupSizeZ;
|
|
2432
|
-
return ret;
|
|
2433
|
-
};
|
|
2434
|
-
imports.wbg.__wbg_maxComputeWorkgroupStorageSize_9fe29e00c7d166a6 = function(arg0) {
|
|
2435
|
-
const ret = arg0.maxComputeWorkgroupStorageSize;
|
|
2436
|
-
return ret;
|
|
2437
|
-
};
|
|
2438
|
-
imports.wbg.__wbg_maxComputeWorkgroupsPerDimension_f8321761bc8e8feb = function(arg0) {
|
|
2439
|
-
const ret = arg0.maxComputeWorkgroupsPerDimension;
|
|
2440
|
-
return ret;
|
|
2441
|
-
};
|
|
2442
|
-
imports.wbg.__wbg_maxDynamicStorageBuffersPerPipelineLayout_55e1416c376721db = function(arg0) {
|
|
2443
|
-
const ret = arg0.maxDynamicStorageBuffersPerPipelineLayout;
|
|
2444
|
-
return ret;
|
|
2445
|
-
};
|
|
2446
|
-
imports.wbg.__wbg_maxDynamicUniformBuffersPerPipelineLayout_17ff0903196c41a7 = function(arg0) {
|
|
2447
|
-
const ret = arg0.maxDynamicUniformBuffersPerPipelineLayout;
|
|
2448
|
-
return ret;
|
|
2449
|
-
};
|
|
2450
|
-
imports.wbg.__wbg_maxSampledTexturesPerShaderStage_59e5fc159e536f0d = function(arg0) {
|
|
2451
|
-
const ret = arg0.maxSampledTexturesPerShaderStage;
|
|
2452
|
-
return ret;
|
|
2453
|
-
};
|
|
2454
|
-
imports.wbg.__wbg_maxSamplersPerShaderStage_84f119909016576b = function(arg0) {
|
|
2455
|
-
const ret = arg0.maxSamplersPerShaderStage;
|
|
2456
|
-
return ret;
|
|
2457
|
-
};
|
|
2458
|
-
imports.wbg.__wbg_maxStorageBufferBindingSize_f9c3b3d285375ee0 = function(arg0) {
|
|
2459
|
-
const ret = arg0.maxStorageBufferBindingSize;
|
|
2460
|
-
return ret;
|
|
2461
|
-
};
|
|
2462
|
-
imports.wbg.__wbg_maxStorageBuffersPerShaderStage_f84b702138ac86a4 = function(arg0) {
|
|
2463
|
-
const ret = arg0.maxStorageBuffersPerShaderStage;
|
|
2464
|
-
return ret;
|
|
2465
|
-
};
|
|
2466
|
-
imports.wbg.__wbg_maxStorageTexturesPerShaderStage_226be46cbf594437 = function(arg0) {
|
|
2467
|
-
const ret = arg0.maxStorageTexturesPerShaderStage;
|
|
2468
|
-
return ret;
|
|
2469
|
-
};
|
|
2470
|
-
imports.wbg.__wbg_maxTextureArrayLayers_a8bf77269db7b94e = function(arg0) {
|
|
2471
|
-
const ret = arg0.maxTextureArrayLayers;
|
|
2472
|
-
return ret;
|
|
2473
|
-
};
|
|
2474
|
-
imports.wbg.__wbg_maxTextureDimension1D_8e69ba5596959195 = function(arg0) {
|
|
2475
|
-
const ret = arg0.maxTextureDimension1D;
|
|
2476
|
-
return ret;
|
|
2477
|
-
};
|
|
2478
|
-
imports.wbg.__wbg_maxTextureDimension2D_5a7a17047785cba5 = function(arg0) {
|
|
2479
|
-
const ret = arg0.maxTextureDimension2D;
|
|
2480
|
-
return ret;
|
|
2481
|
-
};
|
|
2482
|
-
imports.wbg.__wbg_maxTextureDimension3D_1ea793f1095d392a = function(arg0) {
|
|
2483
|
-
const ret = arg0.maxTextureDimension3D;
|
|
2484
|
-
return ret;
|
|
2485
|
-
};
|
|
2486
|
-
imports.wbg.__wbg_maxUniformBufferBindingSize_4b41f90d6914a995 = function(arg0) {
|
|
2487
|
-
const ret = arg0.maxUniformBufferBindingSize;
|
|
2488
|
-
return ret;
|
|
2489
|
-
};
|
|
2490
|
-
imports.wbg.__wbg_maxUniformBuffersPerShaderStage_c5db04bf022a0c83 = function(arg0) {
|
|
2491
|
-
const ret = arg0.maxUniformBuffersPerShaderStage;
|
|
2492
|
-
return ret;
|
|
2493
|
-
};
|
|
2494
|
-
imports.wbg.__wbg_maxVertexAttributes_e94e6c887b993b6c = function(arg0) {
|
|
2495
|
-
const ret = arg0.maxVertexAttributes;
|
|
2496
|
-
return ret;
|
|
2497
|
-
};
|
|
2498
|
-
imports.wbg.__wbg_maxVertexBufferArrayStride_92c15a2c2f0faf82 = function(arg0) {
|
|
2499
|
-
const ret = arg0.maxVertexBufferArrayStride;
|
|
2500
|
-
return ret;
|
|
2501
|
-
};
|
|
2502
|
-
imports.wbg.__wbg_maxVertexBuffers_db05674c76ef98c9 = function(arg0) {
|
|
2503
|
-
const ret = arg0.maxVertexBuffers;
|
|
2504
|
-
return ret;
|
|
2505
|
-
};
|
|
2506
|
-
imports.wbg.__wbg_measure_fb7825c11612c823 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2507
|
-
let deferred0_0;
|
|
2508
|
-
let deferred0_1;
|
|
2509
|
-
let deferred1_0;
|
|
2510
|
-
let deferred1_1;
|
|
2511
|
-
try {
|
|
2512
|
-
deferred0_0 = arg0;
|
|
2513
|
-
deferred0_1 = arg1;
|
|
2514
|
-
deferred1_0 = arg2;
|
|
2515
|
-
deferred1_1 = arg3;
|
|
2516
|
-
performance.measure(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2517
|
-
} finally {
|
|
2518
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
2519
|
-
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
2520
|
-
}
|
|
2521
|
-
}, arguments) };
|
|
2522
|
-
imports.wbg.__wbg_media_552eec81313ef78b = function(arg0, arg1) {
|
|
2523
|
-
const ret = arg1.media;
|
|
2524
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2525
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2526
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2527
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2528
|
-
};
|
|
2529
|
-
imports.wbg.__wbg_message_5c5d919204d42400 = function(arg0, arg1) {
|
|
2530
|
-
const ret = arg1.message;
|
|
2531
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2532
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2533
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2534
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2535
|
-
};
|
|
2536
|
-
imports.wbg.__wbg_message_bb4702d5b877f6db = function(arg0, arg1) {
|
|
2537
|
-
const ret = arg1.message;
|
|
2538
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2539
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2540
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2541
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2542
|
-
};
|
|
2543
|
-
imports.wbg.__wbg_metaKey_0b25f7848e014cc8 = function(arg0) {
|
|
2544
|
-
const ret = arg0.metaKey;
|
|
2545
|
-
return ret;
|
|
2546
|
-
};
|
|
2547
|
-
imports.wbg.__wbg_metaKey_e1dd47d709a80ce5 = function(arg0) {
|
|
2548
|
-
const ret = arg0.metaKey;
|
|
2549
|
-
return ret;
|
|
2550
|
-
};
|
|
2551
|
-
imports.wbg.__wbg_minStorageBufferOffsetAlignment_2c9fb697a4aedb8b = function(arg0) {
|
|
2552
|
-
const ret = arg0.minStorageBufferOffsetAlignment;
|
|
2553
|
-
return ret;
|
|
2554
|
-
};
|
|
2555
|
-
imports.wbg.__wbg_minUniformBufferOffsetAlignment_6357875312bfd2f0 = function(arg0) {
|
|
2556
|
-
const ret = arg0.minUniformBufferOffsetAlignment;
|
|
2557
|
-
return ret;
|
|
2558
|
-
};
|
|
2559
|
-
imports.wbg.__wbg_movementX_1aa05f864931369b = function(arg0) {
|
|
2560
|
-
const ret = arg0.movementX;
|
|
2561
|
-
return ret;
|
|
2562
|
-
};
|
|
2563
|
-
imports.wbg.__wbg_movementY_8acfedb38a70e624 = function(arg0) {
|
|
2564
|
-
const ret = arg0.movementY;
|
|
2565
|
-
return ret;
|
|
2566
|
-
};
|
|
2567
|
-
imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
|
|
2568
|
-
const ret = arg0.msCrypto;
|
|
2569
|
-
return ret;
|
|
2570
|
-
};
|
|
2571
|
-
imports.wbg.__wbg_name_f2d27098bfd843e7 = function(arg0, arg1) {
|
|
2572
|
-
const ret = arg1.name;
|
|
2573
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2574
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2575
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2576
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2577
|
-
};
|
|
2578
|
-
imports.wbg.__wbg_navigator_0a9bf1120e24fec2 = function(arg0) {
|
|
2579
|
-
const ret = arg0.navigator;
|
|
2580
|
-
return ret;
|
|
2581
|
-
};
|
|
2582
|
-
imports.wbg.__wbg_navigator_1577371c070c8947 = function(arg0) {
|
|
2583
|
-
const ret = arg0.navigator;
|
|
2584
|
-
return ret;
|
|
2585
|
-
};
|
|
2586
|
-
imports.wbg.__wbg_new_018dcc2d6c8c2f6a = function() { return handleError(function () {
|
|
2587
|
-
const ret = new Headers();
|
|
2588
|
-
return ret;
|
|
2589
|
-
}, arguments) };
|
|
2590
|
-
imports.wbg.__wbg_new_18b1151f3a6a9280 = function() { return handleError(function (arg0) {
|
|
2591
|
-
const ret = new IntersectionObserver(arg0);
|
|
2592
|
-
return ret;
|
|
2593
|
-
}, arguments) };
|
|
2594
|
-
imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
2595
|
-
try {
|
|
2596
|
-
var state0 = {a: arg0, b: arg1};
|
|
2597
|
-
var cb0 = (arg0, arg1) => {
|
|
2598
|
-
const a = state0.a;
|
|
2599
|
-
state0.a = 0;
|
|
2600
|
-
try {
|
|
2601
|
-
return __wbg_adapter_1510(a, state0.b, arg0, arg1);
|
|
2602
|
-
} finally {
|
|
2603
|
-
state0.a = a;
|
|
2604
|
-
}
|
|
2605
|
-
};
|
|
2606
|
-
const ret = new Promise(cb0);
|
|
2607
|
-
return ret;
|
|
2608
|
-
} finally {
|
|
2609
|
-
state0.a = state0.b = 0;
|
|
2610
|
-
}
|
|
2611
|
-
};
|
|
2612
|
-
imports.wbg.__wbg_new_24b2c5b645cded8d = function() { return handleError(function () {
|
|
2613
|
-
const ret = new MessageChannel();
|
|
2614
|
-
return ret;
|
|
2615
|
-
}, arguments) };
|
|
2616
|
-
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
2617
|
-
const ret = new Object();
|
|
2618
|
-
return ret;
|
|
2619
|
-
};
|
|
2620
|
-
imports.wbg.__wbg_new_4b3dfb29a594e831 = function() { return handleError(function () {
|
|
2621
|
-
const ret = new lAudioContext();
|
|
2622
|
-
return ret;
|
|
2623
|
-
}, arguments) };
|
|
2624
|
-
imports.wbg.__wbg_new_5e0be73521bc8c17 = function() {
|
|
2625
|
-
const ret = new Map();
|
|
2626
|
-
return ret;
|
|
2627
|
-
};
|
|
2628
|
-
imports.wbg.__wbg_new_5f34cc0c99fcc488 = function() { return handleError(function (arg0) {
|
|
2629
|
-
const ret = new ResizeObserver(arg0);
|
|
2630
|
-
return ret;
|
|
2631
|
-
}, arguments) };
|
|
2632
|
-
imports.wbg.__wbg_new_63847613cde5d4bc = function(arg0, arg1, arg2, arg3) {
|
|
2633
|
-
const ret = new RegExp(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3));
|
|
2634
|
-
return ret;
|
|
2635
|
-
};
|
|
2636
|
-
imports.wbg.__wbg_new_757fd34d47ff40d2 = function(arg0) {
|
|
2637
|
-
const ret = new ArrayBuffer(arg0 >>> 0);
|
|
2638
|
-
return ret;
|
|
2639
|
-
};
|
|
2640
|
-
imports.wbg.__wbg_new_780abee5c1739fd7 = function(arg0) {
|
|
2641
|
-
const ret = new Float32Array(arg0);
|
|
2642
|
-
return ret;
|
|
2643
|
-
};
|
|
2644
|
-
imports.wbg.__wbg_new_78feb108b6472713 = function() {
|
|
2645
|
-
const ret = new Array();
|
|
2646
|
-
return ret;
|
|
2647
|
-
};
|
|
2648
|
-
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
2649
|
-
const ret = new Error();
|
|
2650
|
-
return ret;
|
|
2651
|
-
};
|
|
2652
|
-
imports.wbg.__wbg_new_92c54fc74574ef55 = function() { return handleError(function (arg0, arg1) {
|
|
2653
|
-
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
|
2654
|
-
return ret;
|
|
2655
|
-
}, arguments) };
|
|
2656
|
-
imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
|
|
2657
|
-
const ret = new Uint8Array(arg0);
|
|
2658
|
-
return ret;
|
|
2659
|
-
};
|
|
2660
|
-
imports.wbg.__wbg_new_b1a33e5095abf678 = function() { return handleError(function (arg0, arg1) {
|
|
2661
|
-
const ret = new Worker(getStringFromWasm0(arg0, arg1));
|
|
2662
|
-
return ret;
|
|
2663
|
-
}, arguments) };
|
|
2664
|
-
imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
|
|
2665
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2666
|
-
return ret;
|
|
2667
|
-
};
|
|
2668
|
-
imports.wbg.__wbg_new_e25e5aab09ff45db = function() { return handleError(function () {
|
|
2669
|
-
const ret = new AbortController();
|
|
2670
|
-
return ret;
|
|
2671
|
-
}, arguments) };
|
|
2672
|
-
imports.wbg.__wbg_new_e9a4a67dbababe57 = function(arg0) {
|
|
2673
|
-
const ret = new Int32Array(arg0);
|
|
2674
|
-
return ret;
|
|
2675
|
-
};
|
|
2676
|
-
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
2677
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
2678
|
-
return ret;
|
|
2679
|
-
};
|
|
2680
|
-
imports.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(arg0, arg1, arg2) {
|
|
2681
|
-
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
2682
|
-
return ret;
|
|
2683
|
-
};
|
|
2684
|
-
imports.wbg.__wbg_newwithbyteoffsetandlength_e6b7e69acd4c7354 = function(arg0, arg1, arg2) {
|
|
2685
|
-
const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
2686
|
-
return ret;
|
|
2687
|
-
};
|
|
2688
|
-
imports.wbg.__wbg_newwithcontextoptions_b62c06fed7900366 = function() { return handleError(function (arg0) {
|
|
2689
|
-
const ret = new lAudioContext(arg0);
|
|
2690
|
-
return ret;
|
|
2691
|
-
}, arguments) };
|
|
2692
|
-
imports.wbg.__wbg_newwithlength_5a5efe313cfd59f1 = function(arg0) {
|
|
2693
|
-
const ret = new Float32Array(arg0 >>> 0);
|
|
2694
|
-
return ret;
|
|
2695
|
-
};
|
|
2696
|
-
imports.wbg.__wbg_newwithlength_a381634e90c276d4 = function(arg0) {
|
|
2697
|
-
const ret = new Uint8Array(arg0 >>> 0);
|
|
2698
|
-
return ret;
|
|
2699
|
-
};
|
|
2700
|
-
imports.wbg.__wbg_newwithstrandinit_06c535e0a867c635 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2701
|
-
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
2702
|
-
return ret;
|
|
2703
|
-
}, arguments) };
|
|
2704
|
-
imports.wbg.__wbg_newwithstrsequence_6e9d6479e1cf978d = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2705
|
-
const ret = new WebSocket(getStringFromWasm0(arg0, arg1), arg2);
|
|
2706
|
-
return ret;
|
|
2707
|
-
}, arguments) };
|
|
2708
|
-
imports.wbg.__wbg_newwithstrsequenceandoptions_aaff55b467c81b63 = function() { return handleError(function (arg0, arg1) {
|
|
2709
|
-
const ret = new Blob(arg0, arg1);
|
|
2710
|
-
return ret;
|
|
2711
|
-
}, arguments) };
|
|
2712
|
-
imports.wbg.__wbg_next_25feadfc0913fea9 = function(arg0) {
|
|
2713
|
-
const ret = arg0.next;
|
|
2714
|
-
return ret;
|
|
2715
|
-
};
|
|
2716
|
-
imports.wbg.__wbg_next_6574e1a8a62d1055 = function() { return handleError(function (arg0) {
|
|
2717
|
-
const ret = arg0.next();
|
|
2718
|
-
return ret;
|
|
2719
|
-
}, arguments) };
|
|
2720
|
-
imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
|
|
2721
|
-
const ret = arg0.node;
|
|
2722
|
-
return ret;
|
|
2723
|
-
};
|
|
2724
|
-
imports.wbg.__wbg_now_2c95c9de01293173 = function(arg0) {
|
|
2725
|
-
const ret = arg0.now();
|
|
2726
|
-
return ret;
|
|
2727
|
-
};
|
|
2728
|
-
imports.wbg.__wbg_now_807e54c39636c349 = function() {
|
|
2729
|
-
const ret = Date.now();
|
|
2730
|
-
return ret;
|
|
2731
|
-
};
|
|
2732
|
-
imports.wbg.__wbg_observe_d2e7378f15f7ca72 = function(arg0, arg1) {
|
|
2733
|
-
arg0.observe(arg1);
|
|
2734
|
-
};
|
|
2735
|
-
imports.wbg.__wbg_observe_eafddfc5a0c60e02 = function(arg0, arg1) {
|
|
2736
|
-
arg0.observe(arg1);
|
|
2737
|
-
};
|
|
2738
|
-
imports.wbg.__wbg_observe_ed4adb1c245103c5 = function(arg0, arg1, arg2) {
|
|
2739
|
-
arg0.observe(arg1, arg2);
|
|
2740
|
-
};
|
|
2741
|
-
imports.wbg.__wbg_of_2eaf5a02d443ef03 = function(arg0) {
|
|
2742
|
-
const ret = Array.of(arg0);
|
|
2743
|
-
return ret;
|
|
2744
|
-
};
|
|
2745
|
-
imports.wbg.__wbg_of_4a05197bfc89556f = function(arg0, arg1, arg2) {
|
|
2746
|
-
const ret = Array.of(arg0, arg1, arg2);
|
|
2747
|
-
return ret;
|
|
2748
|
-
};
|
|
2749
|
-
imports.wbg.__wbg_of_66b3ee656cbd962b = function(arg0, arg1) {
|
|
2750
|
-
const ret = Array.of(arg0, arg1);
|
|
2751
|
-
return ret;
|
|
2752
|
-
};
|
|
2753
|
-
imports.wbg.__wbg_offsetX_b1b9d9e846d150ae = function(arg0) {
|
|
2754
|
-
const ret = arg0.offsetX;
|
|
2755
|
-
return ret;
|
|
2756
|
-
};
|
|
2757
|
-
imports.wbg.__wbg_offsetY_9c341c6a9924f449 = function(arg0) {
|
|
2758
|
-
const ret = arg0.offsetY;
|
|
2759
|
-
return ret;
|
|
2760
|
-
};
|
|
2761
|
-
imports.wbg.__wbg_open_6c3f5ef5a0204c5d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2762
|
-
const ret = arg0.open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2763
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2764
|
-
}, arguments) };
|
|
2765
|
-
imports.wbg.__wbg_pan_5930a94ad553ed22 = function(arg0) {
|
|
2766
|
-
const ret = arg0.pan;
|
|
2767
|
-
return ret;
|
|
2768
|
-
};
|
|
2769
|
-
imports.wbg.__wbg_pause_b74c96d69f769518 = function() { return handleError(function (arg0) {
|
|
2770
|
-
arg0.pause();
|
|
2771
|
-
}, arguments) };
|
|
2772
|
-
imports.wbg.__wbg_performance_7a3ffd0b17f663ad = function(arg0) {
|
|
2773
|
-
const ret = arg0.performance;
|
|
2774
|
-
return ret;
|
|
2775
|
-
};
|
|
2776
|
-
imports.wbg.__wbg_persisted_d32ce73b8e522062 = function(arg0) {
|
|
2777
|
-
const ret = arg0.persisted;
|
|
2778
|
-
return ret;
|
|
2779
|
-
};
|
|
2780
|
-
imports.wbg.__wbg_play_7aa7df4e12b40820 = function(arg0) {
|
|
2781
|
-
arg0.play();
|
|
2782
|
-
};
|
|
2783
|
-
imports.wbg.__wbg_play_f6ec5fc4e84b0d26 = function() { return handleError(function (arg0) {
|
|
2784
|
-
const ret = arg0.play();
|
|
2785
|
-
return ret;
|
|
2786
|
-
}, arguments) };
|
|
2787
|
-
imports.wbg.__wbg_playbackRate_0ab53ad1e585e1e4 = function(arg0) {
|
|
2788
|
-
const ret = arg0.playbackRate;
|
|
2789
|
-
return ret;
|
|
2790
|
-
};
|
|
2791
|
-
imports.wbg.__wbg_pointerId_585e63ee80a49927 = function(arg0) {
|
|
2792
|
-
const ret = arg0.pointerId;
|
|
2793
|
-
return ret;
|
|
2794
|
-
};
|
|
2795
|
-
imports.wbg.__wbg_pointerLockElement_4e5150cbf7338524 = function(arg0) {
|
|
2796
|
-
const ret = arg0.pointerLockElement;
|
|
2797
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2798
|
-
};
|
|
2799
|
-
imports.wbg.__wbg_pointerType_6bd934aa20d9db49 = function(arg0, arg1) {
|
|
2800
|
-
const ret = arg1.pointerType;
|
|
2801
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2802
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2803
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2804
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2805
|
-
};
|
|
2806
|
-
imports.wbg.__wbg_popErrorScope_84f82ae47ac5821d = function(arg0) {
|
|
2807
|
-
const ret = arg0.popErrorScope();
|
|
2808
|
-
return ret;
|
|
2809
|
-
};
|
|
2810
|
-
imports.wbg.__wbg_port1_70af0ea6e4a96f9d = function(arg0) {
|
|
2811
|
-
const ret = arg0.port1;
|
|
2812
|
-
return ret;
|
|
2813
|
-
};
|
|
2814
|
-
imports.wbg.__wbg_port2_0584c7f0938b6fe6 = function(arg0) {
|
|
2815
|
-
const ret = arg0.port2;
|
|
2816
|
-
return ret;
|
|
2817
|
-
};
|
|
2818
|
-
imports.wbg.__wbg_postMessage_6edafa8f7b9c2f52 = function() { return handleError(function (arg0, arg1) {
|
|
2819
|
-
arg0.postMessage(arg1);
|
|
2820
|
-
}, arguments) };
|
|
2821
|
-
imports.wbg.__wbg_postMessage_e55d059efb191dc5 = function() { return handleError(function (arg0, arg1) {
|
|
2822
|
-
arg0.postMessage(arg1);
|
|
2823
|
-
}, arguments) };
|
|
2824
|
-
imports.wbg.__wbg_postMessage_f961e53b9731ca83 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2825
|
-
arg0.postMessage(arg1, arg2);
|
|
2826
|
-
}, arguments) };
|
|
2827
|
-
imports.wbg.__wbg_postTask_62a4b94ee65c66c5 = function(arg0, arg1, arg2) {
|
|
2828
|
-
const ret = arg0.postTask(arg1, arg2);
|
|
2829
|
-
return ret;
|
|
2830
|
-
};
|
|
2831
|
-
imports.wbg.__wbg_pressed_b3de5f0878ceb06e = function(arg0) {
|
|
2832
|
-
const ret = arg0.pressed;
|
|
2833
|
-
return ret;
|
|
2834
|
-
};
|
|
2835
|
-
imports.wbg.__wbg_pressure_adda5a83a9cec94d = function(arg0) {
|
|
2836
|
-
const ret = arg0.pressure;
|
|
2837
|
-
return ret;
|
|
2838
|
-
};
|
|
2839
|
-
imports.wbg.__wbg_preventDefault_c2314fd813c02b3c = function(arg0) {
|
|
2840
|
-
arg0.preventDefault();
|
|
2841
|
-
};
|
|
2842
|
-
imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
|
|
2843
|
-
const ret = arg0.process;
|
|
2844
|
-
return ret;
|
|
2845
|
-
};
|
|
2846
|
-
imports.wbg.__wbg_prototype_e5ca21a1dfc16f8d = function() {
|
|
2847
|
-
const ret = ResizeObserverEntry.prototype;
|
|
2848
|
-
return ret;
|
|
2849
|
-
};
|
|
2850
|
-
imports.wbg.__wbg_publishdata_3fc24fe60e8da7fb = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2851
|
-
const ret = publish_data(arg0, getArrayU8FromWasm0(arg1, arg2), arg3 !== 0, arg4);
|
|
2852
|
-
return ret;
|
|
2853
|
-
}, arguments) };
|
|
2854
|
-
imports.wbg.__wbg_pushErrorScope_362761ef41b4d8f9 = function(arg0, arg1) {
|
|
2855
|
-
arg0.pushErrorScope(__wbindgen_enum_GpuErrorFilter[arg1]);
|
|
2856
|
-
};
|
|
2857
|
-
imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
|
|
2858
|
-
const ret = arg0.push(arg1);
|
|
2859
|
-
return ret;
|
|
2860
|
-
};
|
|
2861
|
-
imports.wbg.__wbg_querySelectorAll_40998fd748f057ef = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2862
|
-
const ret = arg0.querySelectorAll(getStringFromWasm0(arg1, arg2));
|
|
2863
|
-
return ret;
|
|
2864
|
-
}, arguments) };
|
|
2865
|
-
imports.wbg.__wbg_querySelector_c69f8b573958906b = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2866
|
-
const ret = arg0.querySelector(getStringFromWasm0(arg1, arg2));
|
|
2867
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2868
|
-
}, arguments) };
|
|
2869
|
-
imports.wbg.__wbg_queueMicrotask_65a6c48ee9790d40 = function(arg0, arg1) {
|
|
2870
|
-
arg0.queueMicrotask(arg1);
|
|
2871
|
-
};
|
|
2872
|
-
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
|
2873
|
-
queueMicrotask(arg0);
|
|
2874
|
-
};
|
|
2875
|
-
imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
|
|
2876
|
-
const ret = arg0.queueMicrotask;
|
|
2877
|
-
return ret;
|
|
2878
|
-
};
|
|
2879
|
-
imports.wbg.__wbg_queue_1f589e8194b004a6 = function(arg0) {
|
|
2880
|
-
const ret = arg0.queue;
|
|
2881
|
-
return ret;
|
|
2882
|
-
};
|
|
2883
|
-
imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
|
|
2884
|
-
arg0.randomFillSync(arg1);
|
|
2885
|
-
}, arguments) };
|
|
2886
|
-
imports.wbg.__wbg_readText_c5c32cada2022712 = function(arg0) {
|
|
2887
|
-
const ret = arg0.readText();
|
|
2888
|
-
return ret;
|
|
2889
|
-
};
|
|
2890
|
-
imports.wbg.__wbg_readyState_7ef6e63c349899ed = function(arg0) {
|
|
2891
|
-
const ret = arg0.readyState;
|
|
2892
|
-
return ret;
|
|
2893
|
-
};
|
|
2894
|
-
imports.wbg.__wbg_reason_49f1cede8bcf23dd = function(arg0, arg1) {
|
|
2895
|
-
const ret = arg1.reason;
|
|
2896
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2897
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2898
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2899
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2900
|
-
};
|
|
2901
|
-
imports.wbg.__wbg_removeEventListener_056dfe8c3d6c58f9 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2902
|
-
arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
2903
|
-
}, arguments) };
|
|
2904
|
-
imports.wbg.__wbg_removeListener_e55db581b73ccf65 = function() { return handleError(function (arg0, arg1) {
|
|
2905
|
-
arg0.removeListener(arg1);
|
|
2906
|
-
}, arguments) };
|
|
2907
|
-
imports.wbg.__wbg_removeProperty_0e85471f4dfc00ae = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2908
|
-
const ret = arg1.removeProperty(getStringFromWasm0(arg2, arg3));
|
|
2909
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2910
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2911
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2912
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2913
|
-
}, arguments) };
|
|
2914
|
-
imports.wbg.__wbg_remove_e2d2659f3128c045 = function(arg0) {
|
|
2915
|
-
arg0.remove();
|
|
2916
|
-
};
|
|
2917
|
-
imports.wbg.__wbg_repeat_1882aa0d0072c705 = function(arg0) {
|
|
2918
|
-
const ret = arg0.repeat;
|
|
2919
|
-
return ret;
|
|
2920
|
-
};
|
|
2921
|
-
imports.wbg.__wbg_requestAdapter_51be7e8ee7d08b87 = function(arg0, arg1) {
|
|
2922
|
-
const ret = arg0.requestAdapter(arg1);
|
|
2923
|
-
return ret;
|
|
2924
|
-
};
|
|
2925
|
-
imports.wbg.__wbg_requestAnimationFrame_d7fd890aaefc3246 = function() { return handleError(function (arg0, arg1) {
|
|
2926
|
-
const ret = arg0.requestAnimationFrame(arg1);
|
|
2927
|
-
return ret;
|
|
2928
|
-
}, arguments) };
|
|
2929
|
-
imports.wbg.__wbg_requestDevice_338f0085866d40a2 = function(arg0, arg1) {
|
|
2930
|
-
const ret = arg0.requestDevice(arg1);
|
|
2931
|
-
return ret;
|
|
2932
|
-
};
|
|
2933
|
-
imports.wbg.__wbg_requestFullscreen_5baa37ee77f5e149 = function(arg0) {
|
|
2934
|
-
const ret = arg0.requestFullscreen;
|
|
2935
|
-
return ret;
|
|
2936
|
-
};
|
|
2937
|
-
imports.wbg.__wbg_requestFullscreen_6a55f0ffc2773be2 = function(arg0) {
|
|
2938
|
-
const ret = arg0.requestFullscreen();
|
|
2939
|
-
return ret;
|
|
2940
|
-
};
|
|
2941
|
-
imports.wbg.__wbg_requestIdleCallback_a56d4deec1b072f1 = function(arg0) {
|
|
2942
|
-
const ret = arg0.requestIdleCallback;
|
|
2943
|
-
return ret;
|
|
2944
|
-
};
|
|
2945
|
-
imports.wbg.__wbg_requestIdleCallback_e3eefd34962470e1 = function() { return handleError(function (arg0, arg1) {
|
|
2946
|
-
const ret = arg0.requestIdleCallback(arg1);
|
|
2947
|
-
return ret;
|
|
2948
|
-
}, arguments) };
|
|
2949
|
-
imports.wbg.__wbg_requestPointerLock_304dd9ccfe548767 = function(arg0) {
|
|
2950
|
-
arg0.requestPointerLock();
|
|
2951
|
-
};
|
|
2952
|
-
imports.wbg.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
|
|
2953
|
-
const ret = module.require;
|
|
2954
|
-
return ret;
|
|
2955
|
-
}, arguments) };
|
|
2956
|
-
imports.wbg.__wbg_resolveQuerySet_c16c80271705f23e = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2957
|
-
arg0.resolveQuerySet(arg1, arg2 >>> 0, arg3 >>> 0, arg4, arg5 >>> 0);
|
|
2958
|
-
};
|
|
2959
|
-
imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
|
|
2960
|
-
const ret = Promise.resolve(arg0);
|
|
2961
|
-
return ret;
|
|
2962
|
-
};
|
|
2963
|
-
imports.wbg.__wbg_resume_35efdc4ffe13bf18 = function() { return handleError(function (arg0) {
|
|
2964
|
-
const ret = arg0.resume();
|
|
2965
|
-
return ret;
|
|
2966
|
-
}, arguments) };
|
|
2967
|
-
imports.wbg.__wbg_revokeObjectURL_27267efebeb457c7 = function() { return handleError(function (arg0, arg1) {
|
|
2968
|
-
URL.revokeObjectURL(getStringFromWasm0(arg0, arg1));
|
|
2969
|
-
}, arguments) };
|
|
2970
|
-
imports.wbg.__wbg_scheduler_5d1a241fa963f672 = function(arg0) {
|
|
2971
|
-
const ret = arg0.scheduler;
|
|
2972
|
-
return ret;
|
|
2973
|
-
};
|
|
2974
|
-
imports.wbg.__wbg_scheduler_b7dd1b4a0e2e7347 = function(arg0) {
|
|
2975
|
-
const ret = arg0.scheduler;
|
|
2976
|
-
return ret;
|
|
2977
|
-
};
|
|
2978
|
-
imports.wbg.__wbg_send_0293179ba074ffb4 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
2979
|
-
arg0.send(getStringFromWasm0(arg1, arg2));
|
|
2980
|
-
}, arguments) };
|
|
2981
|
-
imports.wbg.__wbg_send_d55d26081ff539d1 = function() { return handleError(function (arg0, arg1) {
|
|
2982
|
-
arg0.send(arg1);
|
|
2983
|
-
}, arguments) };
|
|
2984
|
-
imports.wbg.__wbg_setAttribute_2704501201f15687 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2985
|
-
arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2986
|
-
}, arguments) };
|
|
2987
|
-
imports.wbg.__wbg_setBindGroup_306b5f43159153da = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2988
|
-
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
2989
|
-
}, arguments) };
|
|
2990
|
-
imports.wbg.__wbg_setBindGroup_43392eaf8ea524fa = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
2991
|
-
arg0.setBindGroup(arg1 >>> 0, arg2, getArrayU32FromWasm0(arg3, arg4), arg5, arg6 >>> 0);
|
|
2992
|
-
}, arguments) };
|
|
2993
|
-
imports.wbg.__wbg_setBindGroup_b90f6f79c7be4f96 = function(arg0, arg1, arg2) {
|
|
2994
|
-
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
2995
|
-
};
|
|
2996
|
-
imports.wbg.__wbg_setBindGroup_d3cd0c65d5718e66 = function(arg0, arg1, arg2) {
|
|
2997
|
-
arg0.setBindGroup(arg1 >>> 0, arg2);
|
|
2998
|
-
};
|
|
2999
|
-
imports.wbg.__wbg_setBlendConstant_a366f5322551d206 = function() { return handleError(function (arg0, arg1) {
|
|
3000
|
-
arg0.setBlendConstant(arg1);
|
|
3001
|
-
}, arguments) };
|
|
3002
|
-
imports.wbg.__wbg_setIndexBuffer_30e80db5e2d70b3f = function(arg0, arg1, arg2, arg3, arg4) {
|
|
3003
|
-
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
3004
|
-
};
|
|
3005
|
-
imports.wbg.__wbg_setIndexBuffer_cf65b9a3b9ae2921 = function(arg0, arg1, arg2, arg3) {
|
|
3006
|
-
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3);
|
|
3007
|
-
};
|
|
3008
|
-
imports.wbg.__wbg_setPipeline_e7c896fa93c7f292 = function(arg0, arg1) {
|
|
3009
|
-
arg0.setPipeline(arg1);
|
|
3010
|
-
};
|
|
3011
|
-
imports.wbg.__wbg_setPipeline_f44bbc63b7455235 = function(arg0, arg1) {
|
|
3012
|
-
arg0.setPipeline(arg1);
|
|
3013
|
-
};
|
|
3014
|
-
imports.wbg.__wbg_setPointerCapture_c04dafaf4d00ffad = function() { return handleError(function (arg0, arg1) {
|
|
3015
|
-
arg0.setPointerCapture(arg1);
|
|
3016
|
-
}, arguments) };
|
|
3017
|
-
imports.wbg.__wbg_setProperty_f2cf326652b9a713 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3018
|
-
arg0.setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
3019
|
-
}, arguments) };
|
|
3020
|
-
imports.wbg.__wbg_setScissorRect_b3ae2865d79457e5 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
3021
|
-
arg0.setScissorRect(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
|
|
3022
|
-
};
|
|
3023
|
-
imports.wbg.__wbg_setStencilReference_ef250211a9d58f7e = function(arg0, arg1) {
|
|
3024
|
-
arg0.setStencilReference(arg1 >>> 0);
|
|
3025
|
-
};
|
|
3026
|
-
imports.wbg.__wbg_setTimeout_2e707715f8cc9497 = function(arg0, arg1) {
|
|
3027
|
-
const ret = setTimeout(arg0, arg1);
|
|
3028
|
-
return ret;
|
|
3029
|
-
};
|
|
3030
|
-
imports.wbg.__wbg_setTimeout_461fec76662b35ea = function() { return handleError(function (arg0, arg1) {
|
|
3031
|
-
const ret = arg0.setTimeout(arg1);
|
|
3032
|
-
return ret;
|
|
3033
|
-
}, arguments) };
|
|
3034
|
-
imports.wbg.__wbg_setTimeout_db2dbaeefb6f39c7 = function() { return handleError(function (arg0, arg1) {
|
|
3035
|
-
const ret = setTimeout(arg0, arg1);
|
|
3036
|
-
return ret;
|
|
3037
|
-
}, arguments) };
|
|
3038
|
-
imports.wbg.__wbg_setTimeout_f2fe5af8e3debeb3 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3039
|
-
const ret = arg0.setTimeout(arg1, arg2);
|
|
3040
|
-
return ret;
|
|
3041
|
-
}, arguments) };
|
|
3042
|
-
imports.wbg.__wbg_setVertexBuffer_5e5ec203042c0564 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
3043
|
-
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3, arg4);
|
|
3044
|
-
};
|
|
3045
|
-
imports.wbg.__wbg_setVertexBuffer_950908f301fc83b4 = function(arg0, arg1, arg2, arg3) {
|
|
3046
|
-
arg0.setVertexBuffer(arg1 >>> 0, arg2, arg3);
|
|
3047
|
-
};
|
|
3048
|
-
imports.wbg.__wbg_setVideoSource_148a6b34e2561635 = function(arg0, arg1, arg2) {
|
|
3049
|
-
window.setVideoSource(arg0, getStringFromWasm0(arg1, arg2));
|
|
3050
|
-
};
|
|
3051
|
-
imports.wbg.__wbg_setViewport_7969bb1aebd9c210 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3052
|
-
arg0.setViewport(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
3053
|
-
};
|
|
3054
|
-
imports.wbg.__wbg_set_10bad9bee0e9c58b = function(arg0, arg1, arg2) {
|
|
3055
|
-
arg0.set(arg1, arg2 >>> 0);
|
|
3056
|
-
};
|
|
3057
|
-
imports.wbg.__wbg_set_37837023f3d740e8 = function(arg0, arg1, arg2) {
|
|
3058
|
-
arg0[arg1 >>> 0] = arg2;
|
|
3059
|
-
};
|
|
3060
|
-
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
3061
|
-
arg0[arg1] = arg2;
|
|
3062
|
-
};
|
|
3063
|
-
imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
3064
|
-
arg0.set(arg1, arg2 >>> 0);
|
|
3065
|
-
};
|
|
3066
|
-
imports.wbg.__wbg_set_8fc6bf8a5b1071d1 = function(arg0, arg1, arg2) {
|
|
3067
|
-
const ret = arg0.set(arg1, arg2);
|
|
3068
|
-
return ret;
|
|
3069
|
-
};
|
|
3070
|
-
imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3071
|
-
const ret = Reflect.set(arg0, arg1, arg2);
|
|
3072
|
-
return ret;
|
|
3073
|
-
}, arguments) };
|
|
3074
|
-
imports.wbg.__wbg_seta_6ca4b80abcaa9bb0 = function(arg0, arg1) {
|
|
3075
|
-
arg0.a = arg1;
|
|
3076
|
-
};
|
|
3077
|
-
imports.wbg.__wbg_setaccess_c17e0a436ed1d78e = function(arg0, arg1) {
|
|
3078
|
-
arg0.access = __wbindgen_enum_GpuStorageTextureAccess[arg1];
|
|
3079
|
-
};
|
|
3080
|
-
imports.wbg.__wbg_setaddressmodeu_9a2648489304b6c3 = function(arg0, arg1) {
|
|
3081
|
-
arg0.addressModeU = __wbindgen_enum_GpuAddressMode[arg1];
|
|
3082
|
-
};
|
|
3083
|
-
imports.wbg.__wbg_setaddressmodev_911f607ff1319cf6 = function(arg0, arg1) {
|
|
3084
|
-
arg0.addressModeV = __wbindgen_enum_GpuAddressMode[arg1];
|
|
3085
|
-
};
|
|
3086
|
-
imports.wbg.__wbg_setaddressmodew_b7c68665b89d5500 = function(arg0, arg1) {
|
|
3087
|
-
arg0.addressModeW = __wbindgen_enum_GpuAddressMode[arg1];
|
|
3088
|
-
};
|
|
3089
|
-
imports.wbg.__wbg_setalpha_eb6e37beb08f6a6a = function(arg0, arg1) {
|
|
3090
|
-
arg0.alpha = arg1;
|
|
3091
|
-
};
|
|
3092
|
-
imports.wbg.__wbg_setalphamode_2a9be051489d8bbd = function(arg0, arg1) {
|
|
3093
|
-
arg0.alphaMode = __wbindgen_enum_GpuCanvasAlphaMode[arg1];
|
|
3094
|
-
};
|
|
3095
|
-
imports.wbg.__wbg_setalphatocoverageenabled_1f594c6ef9ae4caa = function(arg0, arg1) {
|
|
3096
|
-
arg0.alphaToCoverageEnabled = arg1 !== 0;
|
|
3097
|
-
};
|
|
3098
|
-
imports.wbg.__wbg_setarraylayercount_93d58eca9387b84c = function(arg0, arg1) {
|
|
3099
|
-
arg0.arrayLayerCount = arg1 >>> 0;
|
|
3100
|
-
};
|
|
3101
|
-
imports.wbg.__wbg_setarraystride_5ace211a6c31af55 = function(arg0, arg1) {
|
|
3102
|
-
arg0.arrayStride = arg1;
|
|
3103
|
-
};
|
|
3104
|
-
imports.wbg.__wbg_setaspect_c01d5b5b8d0d9b9b = function(arg0, arg1) {
|
|
3105
|
-
arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
3106
|
-
};
|
|
3107
|
-
imports.wbg.__wbg_setaspect_e3aa9cad44e6338f = function(arg0, arg1) {
|
|
3108
|
-
arg0.aspect = __wbindgen_enum_GpuTextureAspect[arg1];
|
|
3109
|
-
};
|
|
3110
|
-
imports.wbg.__wbg_setattributes_8cfe8a349778ff6d = function(arg0, arg1) {
|
|
3111
|
-
arg0.attributes = arg1;
|
|
3112
|
-
};
|
|
3113
|
-
imports.wbg.__wbg_setautofocus_6ca6f0ab5a566c21 = function() { return handleError(function (arg0, arg1) {
|
|
3114
|
-
arg0.autofocus = arg1 !== 0;
|
|
3115
|
-
}, arguments) };
|
|
3116
|
-
imports.wbg.__wbg_setb_52915cc78721cadb = function(arg0, arg1) {
|
|
3117
|
-
arg0.b = arg1;
|
|
3118
|
-
};
|
|
3119
|
-
imports.wbg.__wbg_setbasearraylayer_798dcd012d28aafd = function(arg0, arg1) {
|
|
3120
|
-
arg0.baseArrayLayer = arg1 >>> 0;
|
|
3121
|
-
};
|
|
3122
|
-
imports.wbg.__wbg_setbasemiplevel_ff05f0742029fbd7 = function(arg0, arg1) {
|
|
3123
|
-
arg0.baseMipLevel = arg1 >>> 0;
|
|
3124
|
-
};
|
|
3125
|
-
imports.wbg.__wbg_setbeginningofpasswriteindex_90fab5f12cddf335 = function(arg0, arg1) {
|
|
3126
|
-
arg0.beginningOfPassWriteIndex = arg1 >>> 0;
|
|
3127
|
-
};
|
|
3128
|
-
imports.wbg.__wbg_setbeginningofpasswriteindex_ad07a73147217513 = function(arg0, arg1) {
|
|
3129
|
-
arg0.beginningOfPassWriteIndex = arg1 >>> 0;
|
|
3130
|
-
};
|
|
3131
|
-
imports.wbg.__wbg_setbinaryType_92fa1ffd873b327c = function(arg0, arg1) {
|
|
3132
|
-
arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
|
|
3133
|
-
};
|
|
3134
|
-
imports.wbg.__wbg_setbindgrouplayouts_9eff5e187a1db39e = function(arg0, arg1) {
|
|
3135
|
-
arg0.bindGroupLayouts = arg1;
|
|
3136
|
-
};
|
|
3137
|
-
imports.wbg.__wbg_setbinding_3ada8a83c514d419 = function(arg0, arg1) {
|
|
3138
|
-
arg0.binding = arg1 >>> 0;
|
|
3139
|
-
};
|
|
3140
|
-
imports.wbg.__wbg_setbinding_9a389db987313ca9 = function(arg0, arg1) {
|
|
3141
|
-
arg0.binding = arg1 >>> 0;
|
|
3142
|
-
};
|
|
3143
|
-
imports.wbg.__wbg_setblend_15fcdb6fca391aa3 = function(arg0, arg1) {
|
|
3144
|
-
arg0.blend = arg1;
|
|
3145
|
-
};
|
|
3146
|
-
imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
|
3147
|
-
arg0.body = arg1;
|
|
3148
|
-
};
|
|
3149
|
-
imports.wbg.__wbg_setbox_2786f3ccea97cac4 = function(arg0, arg1) {
|
|
3150
|
-
arg0.box = __wbindgen_enum_ResizeObserverBoxOptions[arg1];
|
|
3151
|
-
};
|
|
3152
|
-
imports.wbg.__wbg_setbuffer_10a9ee2a05c73896 = function(arg0, arg1) {
|
|
3153
|
-
arg0.buffer = arg1;
|
|
3154
|
-
};
|
|
3155
|
-
imports.wbg.__wbg_setbuffer_1fbf10c9c273bb39 = function(arg0, arg1) {
|
|
3156
|
-
arg0.buffer = arg1;
|
|
3157
|
-
};
|
|
3158
|
-
imports.wbg.__wbg_setbuffer_581ee8422928bd0d = function(arg0, arg1) {
|
|
3159
|
-
arg0.buffer = arg1;
|
|
3160
|
-
};
|
|
3161
|
-
imports.wbg.__wbg_setbuffer_ac25c198252221bd = function(arg0, arg1) {
|
|
3162
|
-
arg0.buffer = arg1;
|
|
3163
|
-
};
|
|
3164
|
-
imports.wbg.__wbg_setbuffers_4515e14c72e1bc45 = function(arg0, arg1) {
|
|
3165
|
-
arg0.buffers = arg1;
|
|
3166
|
-
};
|
|
3167
|
-
imports.wbg.__wbg_setbytesperrow_4c52e94a64f7b18a = function(arg0, arg1) {
|
|
3168
|
-
arg0.bytesPerRow = arg1 >>> 0;
|
|
3169
|
-
};
|
|
3170
|
-
imports.wbg.__wbg_setbytesperrow_dada68f168446660 = function(arg0, arg1) {
|
|
3171
|
-
arg0.bytesPerRow = arg1 >>> 0;
|
|
3172
|
-
};
|
|
3173
|
-
imports.wbg.__wbg_setchannelCount_876fcf5798895180 = function(arg0, arg1) {
|
|
3174
|
-
arg0.channelCount = arg1 >>> 0;
|
|
3175
|
-
};
|
|
3176
|
-
imports.wbg.__wbg_setclearvalue_9fd25161e3ff7358 = function(arg0, arg1) {
|
|
3177
|
-
arg0.clearValue = arg1;
|
|
3178
|
-
};
|
|
3179
|
-
imports.wbg.__wbg_setcode_1d146372551ab97f = function(arg0, arg1, arg2) {
|
|
3180
|
-
arg0.code = getStringFromWasm0(arg1, arg2);
|
|
3181
|
-
};
|
|
3182
|
-
imports.wbg.__wbg_setcolor_63a788c8828014d8 = function(arg0, arg1) {
|
|
3183
|
-
arg0.color = arg1;
|
|
3184
|
-
};
|
|
3185
|
-
imports.wbg.__wbg_setcolorattachments_b56ec268556eb0af = function(arg0, arg1) {
|
|
3186
|
-
arg0.colorAttachments = arg1;
|
|
3187
|
-
};
|
|
3188
|
-
imports.wbg.__wbg_setcompare_986db63daac4c337 = function(arg0, arg1) {
|
|
3189
|
-
arg0.compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
3190
|
-
};
|
|
3191
|
-
imports.wbg.__wbg_setcompare_b6bd133fd1c7206a = function(arg0, arg1) {
|
|
3192
|
-
arg0.compare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
3193
|
-
};
|
|
3194
|
-
imports.wbg.__wbg_setcompute_edb2d4dd43759577 = function(arg0, arg1) {
|
|
3195
|
-
arg0.compute = arg1;
|
|
3196
|
-
};
|
|
3197
|
-
imports.wbg.__wbg_setcount_10918449429e6bc2 = function(arg0, arg1) {
|
|
3198
|
-
arg0.count = arg1 >>> 0;
|
|
3199
|
-
};
|
|
3200
|
-
imports.wbg.__wbg_setcount_6b3574238f446a02 = function(arg0, arg1) {
|
|
3201
|
-
arg0.count = arg1 >>> 0;
|
|
3202
|
-
};
|
|
3203
|
-
imports.wbg.__wbg_setcreate_139bad94b2874fb5 = function(arg0, arg1) {
|
|
3204
|
-
arg0.create = arg1 !== 0;
|
|
3205
|
-
};
|
|
3206
|
-
imports.wbg.__wbg_setcreate_4ca762e23d9f78da = function(arg0, arg1) {
|
|
3207
|
-
arg0.create = arg1 !== 0;
|
|
3208
|
-
};
|
|
3209
|
-
imports.wbg.__wbg_setcredentials_c3a22f1cd105a2c6 = function(arg0, arg1) {
|
|
3210
|
-
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
3211
|
-
};
|
|
3212
|
-
imports.wbg.__wbg_setcrossOrigin_999029ac31b6f930 = function(arg0, arg1, arg2) {
|
|
3213
|
-
arg0.crossOrigin = arg1 === 0 ? undefined : getStringFromWasm0(arg1, arg2);
|
|
3214
|
-
};
|
|
3215
|
-
imports.wbg.__wbg_setcullmode_f1cc439f208cf7d2 = function(arg0, arg1) {
|
|
3216
|
-
arg0.cullMode = __wbindgen_enum_GpuCullMode[arg1];
|
|
3217
|
-
};
|
|
3218
|
-
imports.wbg.__wbg_setdepthbias_0c225de07a2372b1 = function(arg0, arg1) {
|
|
3219
|
-
arg0.depthBias = arg1;
|
|
3220
|
-
};
|
|
3221
|
-
imports.wbg.__wbg_setdepthbiasclamp_bd34181bc74b8a65 = function(arg0, arg1) {
|
|
3222
|
-
arg0.depthBiasClamp = arg1;
|
|
3223
|
-
};
|
|
3224
|
-
imports.wbg.__wbg_setdepthbiasslopescale_d43ddce65f19c9be = function(arg0, arg1) {
|
|
3225
|
-
arg0.depthBiasSlopeScale = arg1;
|
|
3226
|
-
};
|
|
3227
|
-
imports.wbg.__wbg_setdepthclearvalue_eb76fedd34b20053 = function(arg0, arg1) {
|
|
3228
|
-
arg0.depthClearValue = arg1;
|
|
3229
|
-
};
|
|
3230
|
-
imports.wbg.__wbg_setdepthcompare_491947ed2f6065b9 = function(arg0, arg1) {
|
|
3231
|
-
arg0.depthCompare = __wbindgen_enum_GpuCompareFunction[arg1];
|
|
3232
|
-
};
|
|
3233
|
-
imports.wbg.__wbg_setdepthfailop_4983b01413b9f743 = function(arg0, arg1) {
|
|
3234
|
-
arg0.depthFailOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
3235
|
-
};
|
|
3236
|
-
imports.wbg.__wbg_setdepthloadop_c7deb718c4129a2c = function(arg0, arg1) {
|
|
3237
|
-
arg0.depthLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
3238
|
-
};
|
|
3239
|
-
imports.wbg.__wbg_setdepthorarraylayers_5686e74657700bc2 = function(arg0, arg1) {
|
|
3240
|
-
arg0.depthOrArrayLayers = arg1 >>> 0;
|
|
3241
|
-
};
|
|
3242
|
-
imports.wbg.__wbg_setdepthreadonly_18602250b14fa638 = function(arg0, arg1) {
|
|
3243
|
-
arg0.depthReadOnly = arg1 !== 0;
|
|
3244
|
-
};
|
|
3245
|
-
imports.wbg.__wbg_setdepthstencil_e6069a8b511d1004 = function(arg0, arg1) {
|
|
3246
|
-
arg0.depthStencil = arg1;
|
|
3247
|
-
};
|
|
3248
|
-
imports.wbg.__wbg_setdepthstencilattachment_90d13c414095197d = function(arg0, arg1) {
|
|
3249
|
-
arg0.depthStencilAttachment = arg1;
|
|
3250
|
-
};
|
|
3251
|
-
imports.wbg.__wbg_setdepthstoreop_55f84f2f9039c453 = function(arg0, arg1) {
|
|
3252
|
-
arg0.depthStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
3253
|
-
};
|
|
3254
|
-
imports.wbg.__wbg_setdepthwriteenabled_e419ffe553654371 = function(arg0, arg1) {
|
|
3255
|
-
arg0.depthWriteEnabled = arg1 !== 0;
|
|
3256
|
-
};
|
|
3257
|
-
imports.wbg.__wbg_setdevice_91facdf766d51abf = function(arg0, arg1) {
|
|
3258
|
-
arg0.device = arg1;
|
|
3259
|
-
};
|
|
3260
|
-
imports.wbg.__wbg_setdimension_47ad758bb7805028 = function(arg0, arg1) {
|
|
3261
|
-
arg0.dimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
3262
|
-
};
|
|
3263
|
-
imports.wbg.__wbg_setdimension_500c3bec57e8ac12 = function(arg0, arg1) {
|
|
3264
|
-
arg0.dimension = __wbindgen_enum_GpuTextureDimension[arg1];
|
|
3265
|
-
};
|
|
3266
|
-
imports.wbg.__wbg_setdstfactor_abdf4d85b8f742b5 = function(arg0, arg1) {
|
|
3267
|
-
arg0.dstFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
3268
|
-
};
|
|
3269
|
-
imports.wbg.__wbg_setendofpasswriteindex_82a42f6ec7d55754 = function(arg0, arg1) {
|
|
3270
|
-
arg0.endOfPassWriteIndex = arg1 >>> 0;
|
|
3271
|
-
};
|
|
3272
|
-
imports.wbg.__wbg_setendofpasswriteindex_bd98b6c885176c21 = function(arg0, arg1) {
|
|
3273
|
-
arg0.endOfPassWriteIndex = arg1 >>> 0;
|
|
3274
|
-
};
|
|
3275
|
-
imports.wbg.__wbg_setentries_136baaaafb25087f = function(arg0, arg1) {
|
|
3276
|
-
arg0.entries = arg1;
|
|
3277
|
-
};
|
|
3278
|
-
imports.wbg.__wbg_setentries_7c41d594195ebe78 = function(arg0, arg1) {
|
|
3279
|
-
arg0.entries = arg1;
|
|
3280
|
-
};
|
|
3281
|
-
imports.wbg.__wbg_setentrypoint_6f3d3792022065f4 = function(arg0, arg1, arg2) {
|
|
3282
|
-
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
3283
|
-
};
|
|
3284
|
-
imports.wbg.__wbg_setentrypoint_913e091cc9a07667 = function(arg0, arg1, arg2) {
|
|
3285
|
-
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
3286
|
-
};
|
|
3287
|
-
imports.wbg.__wbg_setentrypoint_96944272d50efb55 = function(arg0, arg1, arg2) {
|
|
3288
|
-
arg0.entryPoint = getStringFromWasm0(arg1, arg2);
|
|
3289
|
-
};
|
|
3290
|
-
imports.wbg.__wbg_setfailop_fd94b46d0cd7c4f2 = function(arg0, arg1) {
|
|
3291
|
-
arg0.failOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
3292
|
-
};
|
|
3293
|
-
imports.wbg.__wbg_setflipy_c824364488d416c2 = function(arg0, arg1) {
|
|
3294
|
-
arg0.flipY = arg1 !== 0;
|
|
3295
|
-
};
|
|
3296
|
-
imports.wbg.__wbg_setformat_29126ee763612515 = function(arg0, arg1) {
|
|
3297
|
-
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3298
|
-
};
|
|
3299
|
-
imports.wbg.__wbg_setformat_450c4be578985cb4 = function(arg0, arg1) {
|
|
3300
|
-
arg0.format = __wbindgen_enum_GpuVertexFormat[arg1];
|
|
3301
|
-
};
|
|
3302
|
-
imports.wbg.__wbg_setformat_582f639b8a79115c = function(arg0, arg1) {
|
|
3303
|
-
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3304
|
-
};
|
|
3305
|
-
imports.wbg.__wbg_setformat_6ac892268eeef402 = function(arg0, arg1) {
|
|
3306
|
-
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3307
|
-
};
|
|
3308
|
-
imports.wbg.__wbg_setformat_a622a57e42ae23e4 = function(arg0, arg1) {
|
|
3309
|
-
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3310
|
-
};
|
|
3311
|
-
imports.wbg.__wbg_setformat_bdfc7be2aa989382 = function(arg0, arg1) {
|
|
3312
|
-
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3313
|
-
};
|
|
3314
|
-
imports.wbg.__wbg_setformat_c3ba1e26468014ae = function(arg0, arg1) {
|
|
3315
|
-
arg0.format = __wbindgen_enum_GpuTextureFormat[arg1];
|
|
3316
|
-
};
|
|
3317
|
-
imports.wbg.__wbg_setfragment_84f03cfa83c432b2 = function(arg0, arg1) {
|
|
3318
|
-
arg0.fragment = arg1;
|
|
3319
|
-
};
|
|
3320
|
-
imports.wbg.__wbg_setfrontface_1c87b2e21f85a97f = function(arg0, arg1) {
|
|
3321
|
-
arg0.frontFace = __wbindgen_enum_GpuFrontFace[arg1];
|
|
3322
|
-
};
|
|
3323
|
-
imports.wbg.__wbg_setg_b94c63958617b86c = function(arg0, arg1) {
|
|
3324
|
-
arg0.g = arg1;
|
|
3325
|
-
};
|
|
3326
|
-
imports.wbg.__wbg_sethasdynamicoffset_9dc29179158975e4 = function(arg0, arg1) {
|
|
3327
|
-
arg0.hasDynamicOffset = arg1 !== 0;
|
|
3328
|
-
};
|
|
3329
|
-
imports.wbg.__wbg_setheaders_834c0bdb6a8949ad = function(arg0, arg1) {
|
|
3330
|
-
arg0.headers = arg1;
|
|
3331
|
-
};
|
|
3332
|
-
imports.wbg.__wbg_setheight_080fa3e226a83750 = function(arg0, arg1) {
|
|
3333
|
-
arg0.height = arg1 >>> 0;
|
|
3334
|
-
};
|
|
3335
|
-
imports.wbg.__wbg_setheight_433680330c9420c3 = function(arg0, arg1) {
|
|
3336
|
-
arg0.height = arg1 >>> 0;
|
|
3337
|
-
};
|
|
3338
|
-
imports.wbg.__wbg_setheight_da683a33fa99843c = function(arg0, arg1) {
|
|
3339
|
-
arg0.height = arg1 >>> 0;
|
|
3340
|
-
};
|
|
3341
|
-
imports.wbg.__wbg_sethidden_c9dddd5ae4b3314f = function(arg0, arg1) {
|
|
3342
|
-
arg0.hidden = arg1 !== 0;
|
|
3343
|
-
};
|
|
3344
|
-
imports.wbg.__wbg_setid_d1300d55a412791b = function(arg0, arg1, arg2) {
|
|
3345
|
-
arg0.id = getStringFromWasm0(arg1, arg2);
|
|
3346
|
-
};
|
|
3347
|
-
imports.wbg.__wbg_setlabel_034d85243342ac5c = function(arg0, arg1, arg2) {
|
|
3348
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3349
|
-
};
|
|
3350
|
-
imports.wbg.__wbg_setlabel_1e2e0069cbf2bd78 = function(arg0, arg1, arg2) {
|
|
3351
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3352
|
-
};
|
|
3353
|
-
imports.wbg.__wbg_setlabel_21544401e31cd317 = function(arg0, arg1, arg2) {
|
|
3354
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3355
|
-
};
|
|
3356
|
-
imports.wbg.__wbg_setlabel_2312a64e22934a2b = function(arg0, arg1, arg2) {
|
|
3357
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3358
|
-
};
|
|
3359
|
-
imports.wbg.__wbg_setlabel_2c7607867e103fe3 = function(arg0, arg1, arg2) {
|
|
3360
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3361
|
-
};
|
|
3362
|
-
imports.wbg.__wbg_setlabel_2ed86217d97ea3d5 = function(arg0, arg1, arg2) {
|
|
3363
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3364
|
-
};
|
|
3365
|
-
imports.wbg.__wbg_setlabel_3f988ca8291e319f = function(arg0, arg1, arg2) {
|
|
3366
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3367
|
-
};
|
|
3368
|
-
imports.wbg.__wbg_setlabel_4e4cb7e7f8cc2b59 = function(arg0, arg1, arg2) {
|
|
3369
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3370
|
-
};
|
|
3371
|
-
imports.wbg.__wbg_setlabel_73d706a16d13a23c = function(arg0, arg1, arg2) {
|
|
3372
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3373
|
-
};
|
|
3374
|
-
imports.wbg.__wbg_setlabel_81dd67dee9cd4287 = function(arg0, arg1, arg2) {
|
|
3375
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3376
|
-
};
|
|
3377
|
-
imports.wbg.__wbg_setlabel_8f9ebe053f8da7a0 = function(arg0, arg1, arg2) {
|
|
3378
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3379
|
-
};
|
|
3380
|
-
imports.wbg.__wbg_setlabel_a96e4bdaec7882ee = function(arg0, arg1, arg2) {
|
|
3381
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3382
|
-
};
|
|
3383
|
-
imports.wbg.__wbg_setlabel_bfbd23fc748f8f94 = function(arg0, arg1, arg2) {
|
|
3384
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3385
|
-
};
|
|
3386
|
-
imports.wbg.__wbg_setlabel_d400966bd7759b26 = function(arg0, arg1, arg2) {
|
|
3387
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3388
|
-
};
|
|
3389
|
-
imports.wbg.__wbg_setlabel_e1499888d936ca3f = function(arg0, arg1, arg2) {
|
|
3390
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3391
|
-
};
|
|
3392
|
-
imports.wbg.__wbg_setlabel_ecb2c1eab1d46433 = function(arg0, arg1, arg2) {
|
|
3393
|
-
arg0.label = getStringFromWasm0(arg1, arg2);
|
|
3394
|
-
};
|
|
3395
|
-
imports.wbg.__wbg_setlayout_0770a97fe3411616 = function(arg0, arg1) {
|
|
3396
|
-
arg0.layout = arg1;
|
|
3397
|
-
};
|
|
3398
|
-
imports.wbg.__wbg_setlayout_0e88cce0b3d76c31 = function(arg0, arg1) {
|
|
3399
|
-
arg0.layout = arg1;
|
|
3400
|
-
};
|
|
3401
|
-
imports.wbg.__wbg_setlayout_640caab7a290275b = function(arg0, arg1) {
|
|
3402
|
-
arg0.layout = arg1;
|
|
3403
|
-
};
|
|
3404
|
-
imports.wbg.__wbg_setloadop_6725bf0c5b509ae7 = function(arg0, arg1) {
|
|
3405
|
-
arg0.loadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
3406
|
-
};
|
|
3407
|
-
imports.wbg.__wbg_setlodmaxclamp_3a51dd81fde72c8d = function(arg0, arg1) {
|
|
3408
|
-
arg0.lodMaxClamp = arg1;
|
|
3409
|
-
};
|
|
3410
|
-
imports.wbg.__wbg_setlodminclamp_f48943c1f01e12f9 = function(arg0, arg1) {
|
|
3411
|
-
arg0.lodMinClamp = arg1;
|
|
3412
|
-
};
|
|
3413
|
-
imports.wbg.__wbg_setloop_6114bf6d45b0e550 = function(arg0, arg1) {
|
|
3414
|
-
arg0.loop = arg1 !== 0;
|
|
3415
|
-
};
|
|
3416
|
-
imports.wbg.__wbg_setloop_624f75cdf1baa040 = function(arg0, arg1) {
|
|
3417
|
-
arg0.loop = arg1 !== 0;
|
|
3418
|
-
};
|
|
3419
|
-
imports.wbg.__wbg_setmagfilter_5794fd33d3902192 = function(arg0, arg1) {
|
|
3420
|
-
arg0.magFilter = __wbindgen_enum_GpuFilterMode[arg1];
|
|
3421
|
-
};
|
|
3422
|
-
imports.wbg.__wbg_setmappedatcreation_e0c884a30f64323b = function(arg0, arg1) {
|
|
3423
|
-
arg0.mappedAtCreation = arg1 !== 0;
|
|
3424
|
-
};
|
|
3425
|
-
imports.wbg.__wbg_setmask_9094d3e3f6f3a7dc = function(arg0, arg1) {
|
|
3426
|
-
arg0.mask = arg1 >>> 0;
|
|
3427
|
-
};
|
|
3428
|
-
imports.wbg.__wbg_setmaxanisotropy_1377b74addad8758 = function(arg0, arg1) {
|
|
3429
|
-
arg0.maxAnisotropy = arg1;
|
|
3430
|
-
};
|
|
3431
|
-
imports.wbg.__wbg_setmethod_3c5280fe5d890842 = function(arg0, arg1, arg2) {
|
|
3432
|
-
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
3433
|
-
};
|
|
3434
|
-
imports.wbg.__wbg_setmicrophoneenabled_1aa7e476e29d890d = function() { return handleError(function (arg0) {
|
|
3435
|
-
set_microphone_enabled(arg0 !== 0);
|
|
3436
|
-
}, arguments) };
|
|
3437
|
-
imports.wbg.__wbg_setminbindingsize_4a9f4d0d9ee579af = function(arg0, arg1) {
|
|
3438
|
-
arg0.minBindingSize = arg1;
|
|
3439
|
-
};
|
|
3440
|
-
imports.wbg.__wbg_setminfilter_32dc39202a18cd7b = function(arg0, arg1) {
|
|
3441
|
-
arg0.minFilter = __wbindgen_enum_GpuFilterMode[arg1];
|
|
3442
|
-
};
|
|
3443
|
-
imports.wbg.__wbg_setmiplevel_4ada5ca671ae4f87 = function(arg0, arg1) {
|
|
3444
|
-
arg0.mipLevel = arg1 >>> 0;
|
|
3445
|
-
};
|
|
3446
|
-
imports.wbg.__wbg_setmiplevel_992f82e991b163b8 = function(arg0, arg1) {
|
|
3447
|
-
arg0.mipLevel = arg1 >>> 0;
|
|
3448
|
-
};
|
|
3449
|
-
imports.wbg.__wbg_setmiplevelcount_1d13855f7726190c = function(arg0, arg1) {
|
|
3450
|
-
arg0.mipLevelCount = arg1 >>> 0;
|
|
3451
|
-
};
|
|
3452
|
-
imports.wbg.__wbg_setmiplevelcount_a5a0102e4248e5bb = function(arg0, arg1) {
|
|
3453
|
-
arg0.mipLevelCount = arg1 >>> 0;
|
|
3454
|
-
};
|
|
3455
|
-
imports.wbg.__wbg_setmipmapfilter_00493c30d94b571e = function(arg0, arg1) {
|
|
3456
|
-
arg0.mipmapFilter = __wbindgen_enum_GpuMipmapFilterMode[arg1];
|
|
3457
|
-
};
|
|
3458
|
-
imports.wbg.__wbg_setmode_5dc300b865044b65 = function(arg0, arg1) {
|
|
3459
|
-
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
3460
|
-
};
|
|
3461
|
-
imports.wbg.__wbg_setmodule_3b5d2caf4d494fba = function(arg0, arg1) {
|
|
3462
|
-
arg0.module = arg1;
|
|
3463
|
-
};
|
|
3464
|
-
imports.wbg.__wbg_setmodule_882651860e912779 = function(arg0, arg1) {
|
|
3465
|
-
arg0.module = arg1;
|
|
3466
|
-
};
|
|
3467
|
-
imports.wbg.__wbg_setmodule_b46c4a937ee89c3b = function(arg0, arg1) {
|
|
3468
|
-
arg0.module = arg1;
|
|
3469
|
-
};
|
|
3470
|
-
imports.wbg.__wbg_setmultisample_0a38af2e310bacc6 = function(arg0, arg1) {
|
|
3471
|
-
arg0.multisample = arg1;
|
|
3472
|
-
};
|
|
3473
|
-
imports.wbg.__wbg_setmultisampled_f2de771b3ad62ff3 = function(arg0, arg1) {
|
|
3474
|
-
arg0.multisampled = arg1 !== 0;
|
|
3475
|
-
};
|
|
3476
|
-
imports.wbg.__wbg_setoffset_2f662a67531a826b = function(arg0, arg1) {
|
|
3477
|
-
arg0.offset = arg1;
|
|
3478
|
-
};
|
|
3479
|
-
imports.wbg.__wbg_setoffset_31c0a660f535c545 = function(arg0, arg1) {
|
|
3480
|
-
arg0.offset = arg1;
|
|
3481
|
-
};
|
|
3482
|
-
imports.wbg.__wbg_setoffset_3eb0797dcc9c9464 = function(arg0, arg1) {
|
|
3483
|
-
arg0.offset = arg1;
|
|
3484
|
-
};
|
|
3485
|
-
imports.wbg.__wbg_setoffset_a675629849c5f3b4 = function(arg0, arg1) {
|
|
3486
|
-
arg0.offset = arg1;
|
|
3487
|
-
};
|
|
3488
|
-
imports.wbg.__wbg_setonabort_761199119900910c = function(arg0, arg1) {
|
|
3489
|
-
arg0.onabort = arg1;
|
|
3490
|
-
};
|
|
3491
|
-
imports.wbg.__wbg_setoncanplay_4d09fddda73ed61a = function(arg0, arg1) {
|
|
3492
|
-
arg0.oncanplay = arg1;
|
|
3493
|
-
};
|
|
3494
|
-
imports.wbg.__wbg_setonclose_14fc475a49d488fc = function(arg0, arg1) {
|
|
3495
|
-
arg0.onclose = arg1;
|
|
3496
|
-
};
|
|
3497
|
-
imports.wbg.__wbg_setonended_00ff85c70a4f819f = function(arg0, arg1) {
|
|
3498
|
-
arg0.onended = arg1;
|
|
3499
|
-
};
|
|
3500
|
-
imports.wbg.__wbg_setonended_febd19db79b73e2e = function(arg0, arg1) {
|
|
3501
|
-
arg0.onended = arg1;
|
|
3502
|
-
};
|
|
3503
|
-
imports.wbg.__wbg_setonerror_8639efe354b947cd = function(arg0, arg1) {
|
|
3504
|
-
arg0.onerror = arg1;
|
|
3505
|
-
};
|
|
3506
|
-
imports.wbg.__wbg_setonerror_e94ca1221abc457f = function(arg0, arg1) {
|
|
3507
|
-
arg0.onerror = arg1;
|
|
3508
|
-
};
|
|
3509
|
-
imports.wbg.__wbg_setonmessage_23d122da701b8ddb = function(arg0, arg1) {
|
|
3510
|
-
arg0.onmessage = arg1;
|
|
3511
|
-
};
|
|
3512
|
-
imports.wbg.__wbg_setonmessage_5a885b16bdc6dca6 = function(arg0, arg1) {
|
|
3513
|
-
arg0.onmessage = arg1;
|
|
3514
|
-
};
|
|
3515
|
-
imports.wbg.__wbg_setonmessage_6eccab530a8fb4c7 = function(arg0, arg1) {
|
|
3516
|
-
arg0.onmessage = arg1;
|
|
3517
|
-
};
|
|
3518
|
-
imports.wbg.__wbg_setonopen_2da654e1f39745d5 = function(arg0, arg1) {
|
|
3519
|
-
arg0.onopen = arg1;
|
|
3520
|
-
};
|
|
3521
|
-
imports.wbg.__wbg_setonpause_32f41394f1c808d8 = function(arg0, arg1) {
|
|
3522
|
-
arg0.onpause = arg1;
|
|
3523
|
-
};
|
|
3524
|
-
imports.wbg.__wbg_setonplaying_134c3b5a8a8a7e61 = function(arg0, arg1) {
|
|
3525
|
-
arg0.onplaying = arg1;
|
|
3526
|
-
};
|
|
3527
|
-
imports.wbg.__wbg_setonuncapturederror_d9ff108b09bfe410 = function(arg0, arg1) {
|
|
3528
|
-
arg0.onuncapturederror = arg1;
|
|
3529
|
-
};
|
|
3530
|
-
imports.wbg.__wbg_setonwaiting_50b79cdf7528ab16 = function(arg0, arg1) {
|
|
3531
|
-
arg0.onwaiting = arg1;
|
|
3532
|
-
};
|
|
3533
|
-
imports.wbg.__wbg_setoperation_879618283d591339 = function(arg0, arg1) {
|
|
3534
|
-
arg0.operation = __wbindgen_enum_GpuBlendOperation[arg1];
|
|
3535
|
-
};
|
|
3536
|
-
imports.wbg.__wbg_setorigin_11de57058b4d23fb = function(arg0, arg1) {
|
|
3537
|
-
arg0.origin = arg1;
|
|
3538
|
-
};
|
|
3539
|
-
imports.wbg.__wbg_setorigin_422f42e15b6ed23a = function(arg0, arg1) {
|
|
3540
|
-
arg0.origin = arg1;
|
|
3541
|
-
};
|
|
3542
|
-
imports.wbg.__wbg_setorigin_b60c336116473e0b = function(arg0, arg1) {
|
|
3543
|
-
arg0.origin = arg1;
|
|
3544
|
-
};
|
|
3545
|
-
imports.wbg.__wbg_setpassop_238c7cbc20505ae9 = function(arg0, arg1) {
|
|
3546
|
-
arg0.passOp = __wbindgen_enum_GpuStencilOperation[arg1];
|
|
3547
|
-
};
|
|
3548
|
-
imports.wbg.__wbg_setpowerpreference_f4cead100f48bab0 = function(arg0, arg1) {
|
|
3549
|
-
arg0.powerPreference = __wbindgen_enum_GpuPowerPreference[arg1];
|
|
3550
|
-
};
|
|
3551
|
-
imports.wbg.__wbg_setpremultipliedalpha_51c5972e16f83bc3 = function(arg0, arg1) {
|
|
3552
|
-
arg0.premultipliedAlpha = arg1 !== 0;
|
|
3553
|
-
};
|
|
3554
|
-
imports.wbg.__wbg_setprimitive_01150af3e98fb372 = function(arg0, arg1) {
|
|
3555
|
-
arg0.primitive = arg1;
|
|
3556
|
-
};
|
|
3557
|
-
imports.wbg.__wbg_setqueryset_8441106911a3af36 = function(arg0, arg1) {
|
|
3558
|
-
arg0.querySet = arg1;
|
|
3559
|
-
};
|
|
3560
|
-
imports.wbg.__wbg_setqueryset_9921033bb33d882c = function(arg0, arg1) {
|
|
3561
|
-
arg0.querySet = arg1;
|
|
3562
|
-
};
|
|
3563
|
-
imports.wbg.__wbg_setr_08c1678b22216ee0 = function(arg0, arg1) {
|
|
3564
|
-
arg0.r = arg1;
|
|
3565
|
-
};
|
|
3566
|
-
imports.wbg.__wbg_setrequiredfeatures_e9ee2e22feba0db3 = function(arg0, arg1) {
|
|
3567
|
-
arg0.requiredFeatures = arg1;
|
|
3568
|
-
};
|
|
3569
|
-
imports.wbg.__wbg_setresolvetarget_d00e2ef5a7388503 = function(arg0, arg1) {
|
|
3570
|
-
arg0.resolveTarget = arg1;
|
|
3571
|
-
};
|
|
3572
|
-
imports.wbg.__wbg_setresource_5a4cc69a127b394e = function(arg0, arg1) {
|
|
3573
|
-
arg0.resource = arg1;
|
|
3574
|
-
};
|
|
3575
|
-
imports.wbg.__wbg_setroomeventhandler_2ae9ef9b4b073965 = function() { return handleError(function (arg0, arg1) {
|
|
3576
|
-
set_room_event_handler(arg0, arg1);
|
|
3577
|
-
}, arguments) };
|
|
3578
|
-
imports.wbg.__wbg_setrowsperimage_678794ed5e8f43cd = function(arg0, arg1) {
|
|
3579
|
-
arg0.rowsPerImage = arg1 >>> 0;
|
|
3580
|
-
};
|
|
3581
|
-
imports.wbg.__wbg_setrowsperimage_f456122723767189 = function(arg0, arg1) {
|
|
3582
|
-
arg0.rowsPerImage = arg1 >>> 0;
|
|
3583
|
-
};
|
|
3584
|
-
imports.wbg.__wbg_setsamplecount_c44a2a6eebe72dcc = function(arg0, arg1) {
|
|
3585
|
-
arg0.sampleCount = arg1 >>> 0;
|
|
3586
|
-
};
|
|
3587
|
-
imports.wbg.__wbg_setsampler_ab33334fb83c5a17 = function(arg0, arg1) {
|
|
3588
|
-
arg0.sampler = arg1;
|
|
3589
|
-
};
|
|
3590
|
-
imports.wbg.__wbg_setsamplerate_8bc3fd769a6db02b = function(arg0, arg1) {
|
|
3591
|
-
arg0.sampleRate = arg1;
|
|
3592
|
-
};
|
|
3593
|
-
imports.wbg.__wbg_setsampletype_89fd8e71274ee6c2 = function(arg0, arg1) {
|
|
3594
|
-
arg0.sampleType = __wbindgen_enum_GpuTextureSampleType[arg1];
|
|
3595
|
-
};
|
|
3596
|
-
imports.wbg.__wbg_setshaderlocation_b905e964144cc9ad = function(arg0, arg1) {
|
|
3597
|
-
arg0.shaderLocation = arg1 >>> 0;
|
|
3598
|
-
};
|
|
3599
|
-
imports.wbg.__wbg_setsignal_75b21ef3a81de905 = function(arg0, arg1) {
|
|
3600
|
-
arg0.signal = arg1;
|
|
3601
|
-
};
|
|
3602
|
-
imports.wbg.__wbg_setsize_82b7ca70126e94d1 = function(arg0, arg1) {
|
|
3603
|
-
arg0.size = arg1 >>> 0;
|
|
3604
|
-
};
|
|
3605
|
-
imports.wbg.__wbg_setsize_a877ed6f434871bd = function(arg0, arg1) {
|
|
3606
|
-
arg0.size = arg1;
|
|
3607
|
-
};
|
|
3608
|
-
imports.wbg.__wbg_setsize_b2cab7e432ec25dc = function(arg0, arg1) {
|
|
3609
|
-
arg0.size = arg1;
|
|
3610
|
-
};
|
|
3611
|
-
imports.wbg.__wbg_setsize_c167af29ed0f618c = function(arg0, arg1) {
|
|
3612
|
-
arg0.size = arg1;
|
|
3613
|
-
};
|
|
3614
|
-
imports.wbg.__wbg_setsource_294b963fd6ba437b = function(arg0, arg1) {
|
|
3615
|
-
arg0.source = arg1;
|
|
3616
|
-
};
|
|
3617
|
-
imports.wbg.__wbg_setsrc_3a759736e2659904 = function(arg0, arg1, arg2) {
|
|
3618
|
-
arg0.src = getStringFromWasm0(arg1, arg2);
|
|
3619
|
-
};
|
|
3620
|
-
imports.wbg.__wbg_setsrcfactor_3bf35cc93f12e8c2 = function(arg0, arg1) {
|
|
3621
|
-
arg0.srcFactor = __wbindgen_enum_GpuBlendFactor[arg1];
|
|
3622
|
-
};
|
|
3623
|
-
imports.wbg.__wbg_setstencilback_6d0e3812c09eb489 = function(arg0, arg1) {
|
|
3624
|
-
arg0.stencilBack = arg1;
|
|
3625
|
-
};
|
|
3626
|
-
imports.wbg.__wbg_setstencilclearvalue_53b51b80af22b8a4 = function(arg0, arg1) {
|
|
3627
|
-
arg0.stencilClearValue = arg1 >>> 0;
|
|
3628
|
-
};
|
|
3629
|
-
imports.wbg.__wbg_setstencilfront_223b59e436e04d2d = function(arg0, arg1) {
|
|
3630
|
-
arg0.stencilFront = arg1;
|
|
3631
|
-
};
|
|
3632
|
-
imports.wbg.__wbg_setstencilloadop_d88ff17c1f14f3b3 = function(arg0, arg1) {
|
|
3633
|
-
arg0.stencilLoadOp = __wbindgen_enum_GpuLoadOp[arg1];
|
|
3634
|
-
};
|
|
3635
|
-
imports.wbg.__wbg_setstencilreadmask_f7b2d22f2682c8f6 = function(arg0, arg1) {
|
|
3636
|
-
arg0.stencilReadMask = arg1 >>> 0;
|
|
3637
|
-
};
|
|
3638
|
-
imports.wbg.__wbg_setstencilreadonly_6fba8956bae14007 = function(arg0, arg1) {
|
|
3639
|
-
arg0.stencilReadOnly = arg1 !== 0;
|
|
3640
|
-
};
|
|
3641
|
-
imports.wbg.__wbg_setstencilstoreop_9637a0cb039fc7bb = function(arg0, arg1) {
|
|
3642
|
-
arg0.stencilStoreOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
3643
|
-
};
|
|
3644
|
-
imports.wbg.__wbg_setstencilwritemask_fc2b202439c71444 = function(arg0, arg1) {
|
|
3645
|
-
arg0.stencilWriteMask = arg1 >>> 0;
|
|
3646
|
-
};
|
|
3647
|
-
imports.wbg.__wbg_setstepmode_953dbc499c2ea5db = function(arg0, arg1) {
|
|
3648
|
-
arg0.stepMode = __wbindgen_enum_GpuVertexStepMode[arg1];
|
|
3649
|
-
};
|
|
3650
|
-
imports.wbg.__wbg_setstoragetexture_0634dd6c87ac1132 = function(arg0, arg1) {
|
|
3651
|
-
arg0.storageTexture = arg1;
|
|
3652
|
-
};
|
|
3653
|
-
imports.wbg.__wbg_setstoreop_d6e36afb7a3bc15a = function(arg0, arg1) {
|
|
3654
|
-
arg0.storeOp = __wbindgen_enum_GpuStoreOp[arg1];
|
|
3655
|
-
};
|
|
3656
|
-
imports.wbg.__wbg_setstripindexformat_6813dd6e867de4f2 = function(arg0, arg1) {
|
|
3657
|
-
arg0.stripIndexFormat = __wbindgen_enum_GpuIndexFormat[arg1];
|
|
3658
|
-
};
|
|
3659
|
-
imports.wbg.__wbg_settargets_0ab03a33d2c15ccd = function(arg0, arg1) {
|
|
3660
|
-
arg0.targets = arg1;
|
|
3661
|
-
};
|
|
3662
|
-
imports.wbg.__wbg_settexture_3c4e951a8df5a370 = function(arg0, arg1) {
|
|
3663
|
-
arg0.texture = arg1;
|
|
3664
|
-
};
|
|
3665
|
-
imports.wbg.__wbg_settexture_72c4d60403590233 = function(arg0, arg1) {
|
|
3666
|
-
arg0.texture = arg1;
|
|
3667
|
-
};
|
|
3668
|
-
imports.wbg.__wbg_settexture_9dc3759e93cfbb84 = function(arg0, arg1) {
|
|
3669
|
-
arg0.texture = arg1;
|
|
3670
|
-
};
|
|
3671
|
-
imports.wbg.__wbg_settimestampwrites_736aa6c2c69ccaea = function(arg0, arg1) {
|
|
3672
|
-
arg0.timestampWrites = arg1;
|
|
3673
|
-
};
|
|
3674
|
-
imports.wbg.__wbg_settimestampwrites_be461aab39b4e744 = function(arg0, arg1) {
|
|
3675
|
-
arg0.timestampWrites = arg1;
|
|
3676
|
-
};
|
|
3677
|
-
imports.wbg.__wbg_settopology_84962f44b37e8986 = function(arg0, arg1) {
|
|
3678
|
-
arg0.topology = __wbindgen_enum_GpuPrimitiveTopology[arg1];
|
|
3679
|
-
};
|
|
3680
|
-
imports.wbg.__wbg_settype_2a902a4a235bb64a = function(arg0, arg1, arg2) {
|
|
3681
|
-
arg0.type = getStringFromWasm0(arg1, arg2);
|
|
3682
|
-
};
|
|
3683
|
-
imports.wbg.__wbg_settype_39ed370d3edd403c = function(arg0, arg1, arg2) {
|
|
3684
|
-
arg0.type = getStringFromWasm0(arg1, arg2);
|
|
3685
|
-
};
|
|
3686
|
-
imports.wbg.__wbg_settype_43e708431dc3ab19 = function(arg0, arg1) {
|
|
3687
|
-
arg0.type = __wbindgen_enum_GpuQueryType[arg1];
|
|
3688
|
-
};
|
|
3689
|
-
imports.wbg.__wbg_settype_4ff365ea9ad896aa = function(arg0, arg1) {
|
|
3690
|
-
arg0.type = __wbindgen_enum_GpuBufferBindingType[arg1];
|
|
3691
|
-
};
|
|
3692
|
-
imports.wbg.__wbg_settype_b4b2fc6fbad39aeb = function(arg0, arg1) {
|
|
3693
|
-
arg0.type = __wbindgen_enum_GpuSamplerBindingType[arg1];
|
|
3694
|
-
};
|
|
3695
|
-
imports.wbg.__wbg_setusage_3bf7bce356282919 = function(arg0, arg1) {
|
|
3696
|
-
arg0.usage = arg1 >>> 0;
|
|
3697
|
-
};
|
|
3698
|
-
imports.wbg.__wbg_setusage_48c9e7b82b575c9a = function(arg0, arg1) {
|
|
3699
|
-
arg0.usage = arg1 >>> 0;
|
|
3700
|
-
};
|
|
3701
|
-
imports.wbg.__wbg_setusage_a102e6844c6a65de = function(arg0, arg1) {
|
|
3702
|
-
arg0.usage = arg1 >>> 0;
|
|
3703
|
-
};
|
|
3704
|
-
imports.wbg.__wbg_setusage_ea5e5efc19daea09 = function(arg0, arg1) {
|
|
3705
|
-
arg0.usage = arg1 >>> 0;
|
|
3706
|
-
};
|
|
3707
|
-
imports.wbg.__wbg_setvalue_6ad9ef6c692ea746 = function(arg0, arg1, arg2) {
|
|
3708
|
-
arg0.value = getStringFromWasm0(arg1, arg2);
|
|
3709
|
-
};
|
|
3710
|
-
imports.wbg.__wbg_setvalue_6e2359a688310f7f = function(arg0, arg1) {
|
|
3711
|
-
arg0.value = arg1;
|
|
3712
|
-
};
|
|
3713
|
-
imports.wbg.__wbg_setvertex_96327c405a801524 = function(arg0, arg1) {
|
|
3714
|
-
arg0.vertex = arg1;
|
|
3715
|
-
};
|
|
3716
|
-
imports.wbg.__wbg_setview_2d2806aa6c5822ca = function(arg0, arg1) {
|
|
3717
|
-
arg0.view = arg1;
|
|
3718
|
-
};
|
|
3719
|
-
imports.wbg.__wbg_setview_b7216eb00b7f584a = function(arg0, arg1) {
|
|
3720
|
-
arg0.view = arg1;
|
|
3721
|
-
};
|
|
3722
|
-
imports.wbg.__wbg_setviewdimension_c6aedf84f79e2593 = function(arg0, arg1) {
|
|
3723
|
-
arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
3724
|
-
};
|
|
3725
|
-
imports.wbg.__wbg_setviewdimension_ccb64a21a1495106 = function(arg0, arg1) {
|
|
3726
|
-
arg0.viewDimension = __wbindgen_enum_GpuTextureViewDimension[arg1];
|
|
3727
|
-
};
|
|
3728
|
-
imports.wbg.__wbg_setviewformats_65a3ce6335913be2 = function(arg0, arg1) {
|
|
3729
|
-
arg0.viewFormats = arg1;
|
|
3730
|
-
};
|
|
3731
|
-
imports.wbg.__wbg_setviewformats_d7be9eae49a0933b = function(arg0, arg1) {
|
|
3732
|
-
arg0.viewFormats = arg1;
|
|
3733
|
-
};
|
|
3734
|
-
imports.wbg.__wbg_setvisibility_3445d21752d17ded = function(arg0, arg1) {
|
|
3735
|
-
arg0.visibility = arg1 >>> 0;
|
|
3736
|
-
};
|
|
3737
|
-
imports.wbg.__wbg_setvolume_3895e06a030ca4f7 = function(arg0, arg1) {
|
|
3738
|
-
arg0.volume = arg1;
|
|
3739
|
-
};
|
|
3740
|
-
imports.wbg.__wbg_setwidth_660ca581e3fbe279 = function(arg0, arg1) {
|
|
3741
|
-
arg0.width = arg1 >>> 0;
|
|
3742
|
-
};
|
|
3743
|
-
imports.wbg.__wbg_setwidth_c5fed9f5e7f0b406 = function(arg0, arg1) {
|
|
3744
|
-
arg0.width = arg1 >>> 0;
|
|
3745
|
-
};
|
|
3746
|
-
imports.wbg.__wbg_setwidth_ff3dae6ae4838a9e = function(arg0, arg1) {
|
|
3747
|
-
arg0.width = arg1 >>> 0;
|
|
3748
|
-
};
|
|
3749
|
-
imports.wbg.__wbg_setwritemask_b94f0c67654d5b00 = function(arg0, arg1) {
|
|
3750
|
-
arg0.writeMask = arg1 >>> 0;
|
|
3751
|
-
};
|
|
3752
|
-
imports.wbg.__wbg_setx_4c418a8d36398e74 = function(arg0, arg1) {
|
|
3753
|
-
arg0.x = arg1 >>> 0;
|
|
3754
|
-
};
|
|
3755
|
-
imports.wbg.__wbg_setx_cb03e4f7e9c6b588 = function(arg0, arg1) {
|
|
3756
|
-
arg0.x = arg1 >>> 0;
|
|
3757
|
-
};
|
|
3758
|
-
imports.wbg.__wbg_sety_4bd2dd9c05d05dcb = function(arg0, arg1) {
|
|
3759
|
-
arg0.y = arg1 >>> 0;
|
|
3760
|
-
};
|
|
3761
|
-
imports.wbg.__wbg_sety_ca78b7606a8f2c0c = function(arg0, arg1) {
|
|
3762
|
-
arg0.y = arg1 >>> 0;
|
|
3763
|
-
};
|
|
3764
|
-
imports.wbg.__wbg_setz_5389d800d9ef03b4 = function(arg0, arg1) {
|
|
3765
|
-
arg0.z = arg1 >>> 0;
|
|
3766
|
-
};
|
|
3767
|
-
imports.wbg.__wbg_shiftKey_2bebb3b703254f47 = function(arg0) {
|
|
3768
|
-
const ret = arg0.shiftKey;
|
|
3769
|
-
return ret;
|
|
3770
|
-
};
|
|
3771
|
-
imports.wbg.__wbg_shiftKey_86e737105bab1a54 = function(arg0) {
|
|
3772
|
-
const ret = arg0.shiftKey;
|
|
3773
|
-
return ret;
|
|
3774
|
-
};
|
|
3775
|
-
imports.wbg.__wbg_signal_aaf9ad74119f20a4 = function(arg0) {
|
|
3776
|
-
const ret = arg0.signal;
|
|
3777
|
-
return ret;
|
|
3778
|
-
};
|
|
3779
|
-
imports.wbg.__wbg_size_8941b2db62b81e4f = function(arg0) {
|
|
3780
|
-
const ret = arg0.size;
|
|
3781
|
-
return ret;
|
|
3782
|
-
};
|
|
3783
|
-
imports.wbg.__wbg_slice_9272f90890997145 = function(arg0, arg1, arg2) {
|
|
3784
|
-
const ret = arg0.slice(arg1 >>> 0, arg2 >>> 0);
|
|
3785
|
-
return ret;
|
|
3786
|
-
};
|
|
3787
|
-
imports.wbg.__wbg_spawnandinitsandbox_26590b6df1571086 = function() {
|
|
3788
|
-
const ret = window.spawn_and_init_sandbox();
|
|
3789
|
-
return ret;
|
|
3790
|
-
};
|
|
3791
|
-
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
3792
|
-
const ret = arg1.stack;
|
|
3793
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3794
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3795
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3796
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3797
|
-
};
|
|
3798
|
-
imports.wbg.__wbg_start_2c099369ce831bf1 = function(arg0) {
|
|
3799
|
-
arg0.start();
|
|
3800
|
-
};
|
|
3801
|
-
imports.wbg.__wbg_start_72e84dc1b0fb75cd = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3802
|
-
arg0.start(arg1, arg2);
|
|
3803
|
-
}, arguments) };
|
|
3804
|
-
imports.wbg.__wbg_start_95543bccc645f5b8 = function() { return handleError(function (arg0) {
|
|
3805
|
-
arg0.start();
|
|
3806
|
-
}, arguments) };
|
|
3807
|
-
imports.wbg.__wbg_start_e81f89e130c3c86e = function() { return handleError(function (arg0, arg1) {
|
|
3808
|
-
arg0.start(arg1);
|
|
3809
|
-
}, arguments) };
|
|
3810
|
-
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
3811
|
-
const ret = typeof global === 'undefined' ? null : global;
|
|
3812
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3813
|
-
};
|
|
3814
|
-
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
|
|
3815
|
-
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
3816
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3817
|
-
};
|
|
3818
|
-
imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
|
|
3819
|
-
const ret = typeof self === 'undefined' ? null : self;
|
|
3820
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3821
|
-
};
|
|
3822
|
-
imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
|
|
3823
|
-
const ret = typeof window === 'undefined' ? null : window;
|
|
3824
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3825
|
-
};
|
|
3826
|
-
imports.wbg.__wbg_status_f6360336ca686bf0 = function(arg0) {
|
|
3827
|
-
const ret = arg0.status;
|
|
3828
|
-
return ret;
|
|
3829
|
-
};
|
|
3830
|
-
imports.wbg.__wbg_stop_01a459cd7ddf1b54 = function() { return handleError(function (arg0, arg1) {
|
|
3831
|
-
arg0.stop(arg1);
|
|
3832
|
-
}, arguments) };
|
|
3833
|
-
imports.wbg.__wbg_storage_07eb754b88898955 = function(arg0) {
|
|
3834
|
-
const ret = arg0.storage;
|
|
3835
|
-
return ret;
|
|
3836
|
-
};
|
|
3837
|
-
imports.wbg.__wbg_storage_89a3fec18b19e1aa = function(arg0) {
|
|
3838
|
-
const ret = arg0.storage;
|
|
3839
|
-
return ret;
|
|
3840
|
-
};
|
|
3841
|
-
imports.wbg.__wbg_string_BUF_eb8165df45a3ba53 = function() {
|
|
3842
|
-
const ret = `buf`;
|
|
3843
|
-
return ret;
|
|
3844
|
-
};
|
|
3845
|
-
imports.wbg.__wbg_string_CURSOR_feda14d83b77c2f6 = function() {
|
|
3846
|
-
const ret = `cursor`;
|
|
3847
|
-
return ret;
|
|
3848
|
-
};
|
|
3849
|
-
imports.wbg.__wbg_string_DROP_a42503e4bb133406 = function() {
|
|
3850
|
-
const ret = `Drop`;
|
|
3851
|
-
return ret;
|
|
3852
|
-
};
|
|
3853
|
-
imports.wbg.__wbg_string_ERROR_1a03b6b1c5009446 = function() {
|
|
3854
|
-
const ret = `error`;
|
|
3855
|
-
return ret;
|
|
3856
|
-
};
|
|
3857
|
-
imports.wbg.__wbg_string_FD_a2152051344a82aa = function() {
|
|
3858
|
-
const ret = `fd`;
|
|
3859
|
-
return ret;
|
|
3860
|
-
};
|
|
3861
|
-
imports.wbg.__wbg_string_HANDLE_728998d915e52960 = function() {
|
|
3862
|
-
const ret = `handle`;
|
|
3863
|
-
return ret;
|
|
3864
|
-
};
|
|
3865
|
-
imports.wbg.__wbg_string_INDEX_552a02fa19db950c = function() {
|
|
3866
|
-
const ret = `index`;
|
|
3867
|
-
return ret;
|
|
3868
|
-
};
|
|
3869
|
-
imports.wbg.__wbg_string_OPEN_099434b2b34f8a23 = function() {
|
|
3870
|
-
const ret = `Open`;
|
|
3871
|
-
return ret;
|
|
3872
|
-
};
|
|
3873
|
-
imports.wbg.__wbg_string_OPTIONS_0551aa12b2537ebc = function() {
|
|
3874
|
-
const ret = `options`;
|
|
3875
|
-
return ret;
|
|
3876
|
-
};
|
|
3877
|
-
imports.wbg.__wbg_string_READ_5802db20af19cdba = function() {
|
|
3878
|
-
const ret = `Read`;
|
|
3879
|
-
return ret;
|
|
3880
|
-
};
|
|
3881
|
-
imports.wbg.__wbg_string_SIZE_95426088f18b8820 = function() {
|
|
3882
|
-
const ret = `size`;
|
|
3883
|
-
return ret;
|
|
3884
|
-
};
|
|
3885
|
-
imports.wbg.__wbg_string_WRITE_fd56b0704f438ea4 = function() {
|
|
3886
|
-
const ret = `Write`;
|
|
3887
|
-
return ret;
|
|
3888
|
-
};
|
|
3889
|
-
imports.wbg.__wbg_stringify_f7ed6987935b4a24 = function() { return handleError(function (arg0) {
|
|
3890
|
-
const ret = JSON.stringify(arg0);
|
|
3891
|
-
return ret;
|
|
3892
|
-
}, arguments) };
|
|
3893
|
-
imports.wbg.__wbg_style_fb30c14e5815805c = function(arg0) {
|
|
3894
|
-
const ret = arg0.style;
|
|
3895
|
-
return ret;
|
|
3896
|
-
};
|
|
3897
|
-
imports.wbg.__wbg_subarray_aa9065fa9dc5df96 = function(arg0, arg1, arg2) {
|
|
3898
|
-
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
3899
|
-
return ret;
|
|
3900
|
-
};
|
|
3901
|
-
imports.wbg.__wbg_submit_522f9e0b9d7e22fd = function(arg0, arg1) {
|
|
3902
|
-
arg0.submit(arg1);
|
|
3903
|
-
};
|
|
3904
|
-
imports.wbg.__wbg_text_7805bea50de2af49 = function() { return handleError(function (arg0) {
|
|
3905
|
-
const ret = arg0.text();
|
|
3906
|
-
return ret;
|
|
3907
|
-
}, arguments) };
|
|
3908
|
-
imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
|
|
3909
|
-
const ret = arg0.then(arg1);
|
|
3910
|
-
return ret;
|
|
3911
|
-
};
|
|
3912
|
-
imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
|
|
3913
|
-
const ret = arg0.then(arg1, arg2);
|
|
3914
|
-
return ret;
|
|
3915
|
-
};
|
|
3916
|
-
imports.wbg.__wbg_timeOrigin_9f29a08704a944d0 = function(arg0) {
|
|
3917
|
-
const ret = arg0.timeOrigin;
|
|
3918
|
-
return ret;
|
|
3919
|
-
};
|
|
3920
|
-
imports.wbg.__wbg_toString_5285597960676b7b = function(arg0) {
|
|
3921
|
-
const ret = arg0.toString();
|
|
3922
|
-
return ret;
|
|
3923
|
-
};
|
|
3924
|
-
imports.wbg.__wbg_unmap_a7fc4fb3238304a4 = function(arg0) {
|
|
3925
|
-
arg0.unmap();
|
|
3926
|
-
};
|
|
3927
|
-
imports.wbg.__wbg_unobserve_02f53d1ca2d1d801 = function(arg0, arg1) {
|
|
3928
|
-
arg0.unobserve(arg1);
|
|
3929
|
-
};
|
|
3930
|
-
imports.wbg.__wbg_url_ae10c34ca209681d = function(arg0, arg1) {
|
|
3931
|
-
const ret = arg1.url;
|
|
3932
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3933
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3934
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3935
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3936
|
-
};
|
|
3937
|
-
imports.wbg.__wbg_url_ce9ab75bf9627ae4 = function(arg0, arg1) {
|
|
3938
|
-
const ret = arg1.url;
|
|
3939
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3940
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3941
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3942
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3943
|
-
};
|
|
3944
|
-
imports.wbg.__wbg_usage_6897a048c0133c6d = function(arg0) {
|
|
3945
|
-
const ret = arg0.usage;
|
|
3946
|
-
return ret;
|
|
3947
|
-
};
|
|
3948
|
-
imports.wbg.__wbg_userAgentData_dbca1fdd89f06698 = function(arg0) {
|
|
3949
|
-
const ret = arg0.userAgentData;
|
|
3950
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3951
|
-
};
|
|
3952
|
-
imports.wbg.__wbg_userAgent_12e9d8e62297563f = function() { return handleError(function (arg0, arg1) {
|
|
3953
|
-
const ret = arg1.userAgent;
|
|
3954
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3955
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3956
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3957
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3958
|
-
}, arguments) };
|
|
3959
|
-
imports.wbg.__wbg_valueOf_39a18758c25e8b95 = function(arg0) {
|
|
3960
|
-
const ret = arg0.valueOf();
|
|
3961
|
-
return ret;
|
|
3962
|
-
};
|
|
3963
|
-
imports.wbg.__wbg_value_91cbf0dd3ab84c1e = function(arg0, arg1) {
|
|
3964
|
-
const ret = arg1.value;
|
|
3965
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3966
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3967
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3968
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3969
|
-
};
|
|
3970
|
-
imports.wbg.__wbg_value_cd1ffa7b1ab794f1 = function(arg0) {
|
|
3971
|
-
const ret = arg0.value;
|
|
3972
|
-
return ret;
|
|
3973
|
-
};
|
|
3974
|
-
imports.wbg.__wbg_value_dab73d3d5d4abaaf = function(arg0) {
|
|
3975
|
-
const ret = arg0.value;
|
|
3976
|
-
return ret;
|
|
3977
|
-
};
|
|
3978
|
-
imports.wbg.__wbg_value_f992786d714424bd = function(arg0) {
|
|
3979
|
-
const ret = arg0.value;
|
|
3980
|
-
return ret;
|
|
3981
|
-
};
|
|
3982
|
-
imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
|
|
3983
|
-
const ret = arg0.versions;
|
|
3984
|
-
return ret;
|
|
3985
|
-
};
|
|
3986
|
-
imports.wbg.__wbg_videoHeight_3a43327a766c1f03 = function(arg0) {
|
|
3987
|
-
const ret = arg0.videoHeight;
|
|
3988
|
-
return ret;
|
|
3989
|
-
};
|
|
3990
|
-
imports.wbg.__wbg_videoWidth_4b400cf6f4744a4d = function(arg0) {
|
|
3991
|
-
const ret = arg0.videoWidth;
|
|
3992
|
-
return ret;
|
|
3993
|
-
};
|
|
3994
|
-
imports.wbg.__wbg_visibilityState_f3cc18a6f3831137 = function(arg0) {
|
|
3995
|
-
const ret = arg0.visibilityState;
|
|
3996
|
-
return (__wbindgen_enum_VisibilityState.indexOf(ret) + 1 || 3) - 1;
|
|
3997
|
-
};
|
|
3998
|
-
imports.wbg.__wbg_waitAsync_61f0a081053dd3c2 = function(arg0, arg1, arg2) {
|
|
3999
|
-
const ret = Atomics.waitAsync(arg0, arg1 >>> 0, arg2);
|
|
4000
|
-
return ret;
|
|
4001
|
-
};
|
|
4002
|
-
imports.wbg.__wbg_waitAsync_7ce6c8a047c752c3 = function() {
|
|
4003
|
-
const ret = Atomics.waitAsync;
|
|
4004
|
-
return ret;
|
|
4005
|
-
};
|
|
4006
|
-
imports.wbg.__wbg_warn_4ca3906c248c47c4 = function(arg0) {
|
|
4007
|
-
console.warn(arg0);
|
|
4008
|
-
};
|
|
4009
|
-
imports.wbg.__wbg_wasClean_605b4fd66d44354a = function(arg0) {
|
|
4010
|
-
const ret = arg0.wasClean;
|
|
4011
|
-
return ret;
|
|
4012
|
-
};
|
|
4013
|
-
imports.wbg.__wbg_webkitExitFullscreen_04d8814d22e12f66 = function(arg0) {
|
|
4014
|
-
arg0.webkitExitFullscreen();
|
|
4015
|
-
};
|
|
4016
|
-
imports.wbg.__wbg_webkitFullscreenElement_d2d0834cc237348d = function(arg0) {
|
|
4017
|
-
const ret = arg0.webkitFullscreenElement;
|
|
4018
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
4019
|
-
};
|
|
4020
|
-
imports.wbg.__wbg_webkitRequestFullscreen_fe6181fae8e7477c = function(arg0) {
|
|
4021
|
-
arg0.webkitRequestFullscreen();
|
|
4022
|
-
};
|
|
4023
|
-
imports.wbg.__wbg_width_cdaf02311c1621d1 = function(arg0) {
|
|
4024
|
-
const ret = arg0.width;
|
|
4025
|
-
return ret;
|
|
4026
|
-
};
|
|
4027
|
-
imports.wbg.__wbg_workercontext_new = function(arg0) {
|
|
4028
|
-
const ret = WorkerContext.__wrap(arg0);
|
|
4029
|
-
return ret;
|
|
4030
|
-
};
|
|
4031
|
-
imports.wbg.__wbg_writeBuffer_b3540dd159ff60f1 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
4032
|
-
arg0.writeBuffer(arg1, arg2, arg3, arg4, arg5);
|
|
4033
|
-
}, arguments) };
|
|
4034
|
-
imports.wbg.__wbg_writeText_51c338e8ae4b85b9 = function(arg0, arg1, arg2) {
|
|
4035
|
-
const ret = arg0.writeText(getStringFromWasm0(arg1, arg2));
|
|
4036
|
-
return ret;
|
|
4037
|
-
};
|
|
4038
|
-
imports.wbg.__wbg_writeTexture_2f9937d7cf0d5da0 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
4039
|
-
arg0.writeTexture(arg1, arg2, arg3, arg4);
|
|
4040
|
-
}, arguments) };
|
|
4041
|
-
imports.wbg.__wbg_x_2bc3f61e11d9f2e1 = function(arg0) {
|
|
4042
|
-
const ret = arg0.x;
|
|
4043
|
-
return ret;
|
|
4044
|
-
};
|
|
4045
|
-
imports.wbg.__wbg_y_be10a4f665290032 = function(arg0) {
|
|
4046
|
-
const ret = arg0.y;
|
|
4047
|
-
return ret;
|
|
4048
|
-
};
|
|
4049
|
-
imports.wbg.__wbindgen_array_new = function() {
|
|
4050
|
-
const ret = [];
|
|
4051
|
-
return ret;
|
|
4052
|
-
};
|
|
4053
|
-
imports.wbg.__wbindgen_array_push = function(arg0, arg1) {
|
|
4054
|
-
arg0.push(arg1);
|
|
4055
|
-
};
|
|
4056
|
-
imports.wbg.__wbindgen_as_number = function(arg0) {
|
|
4057
|
-
const ret = +arg0;
|
|
4058
|
-
return ret;
|
|
4059
|
-
};
|
|
4060
|
-
imports.wbg.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
4061
|
-
const ret = arg0;
|
|
4062
|
-
return ret;
|
|
4063
|
-
};
|
|
4064
|
-
imports.wbg.__wbindgen_bigint_from_u64 = function(arg0) {
|
|
4065
|
-
const ret = BigInt.asUintN(64, arg0);
|
|
4066
|
-
return ret;
|
|
4067
|
-
};
|
|
4068
|
-
imports.wbg.__wbindgen_bigint_get_as_i64 = function(arg0, arg1) {
|
|
4069
|
-
const v = arg1;
|
|
4070
|
-
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
4071
|
-
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
4072
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
4073
|
-
};
|
|
4074
|
-
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
4075
|
-
const v = arg0;
|
|
4076
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
4077
|
-
return ret;
|
|
4078
|
-
};
|
|
4079
|
-
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
4080
|
-
const obj = arg0.original;
|
|
4081
|
-
if (obj.cnt-- == 1) {
|
|
4082
|
-
obj.a = 0;
|
|
4083
|
-
return true;
|
|
4084
|
-
}
|
|
4085
|
-
const ret = false;
|
|
4086
|
-
return ret;
|
|
4087
|
-
};
|
|
4088
|
-
imports.wbg.__wbindgen_closure_wrapper149059 = function(arg0, arg1, arg2) {
|
|
4089
|
-
const ret = makeMutClosure(arg0, arg1, 116407, __wbg_adapter_108);
|
|
4090
|
-
return ret;
|
|
4091
|
-
};
|
|
4092
|
-
imports.wbg.__wbindgen_closure_wrapper169391 = function(arg0, arg1, arg2) {
|
|
4093
|
-
const ret = makeMutClosure(arg0, arg1, 131339, __wbg_adapter_111);
|
|
4094
|
-
return ret;
|
|
4095
|
-
};
|
|
4096
|
-
imports.wbg.__wbindgen_closure_wrapper169393 = function(arg0, arg1, arg2) {
|
|
4097
|
-
const ret = makeMutClosure(arg0, arg1, 131339, __wbg_adapter_111);
|
|
4098
|
-
return ret;
|
|
4099
|
-
};
|
|
4100
|
-
imports.wbg.__wbindgen_closure_wrapper20071 = function(arg0, arg1, arg2) {
|
|
4101
|
-
const ret = makeMutClosure(arg0, arg1, 15203, __wbg_adapter_62);
|
|
4102
|
-
return ret;
|
|
4103
|
-
};
|
|
4104
|
-
imports.wbg.__wbindgen_closure_wrapper63768 = function(arg0, arg1, arg2) {
|
|
4105
|
-
const ret = makeMutClosure(arg0, arg1, 47495, __wbg_adapter_65);
|
|
4106
|
-
return ret;
|
|
4107
|
-
};
|
|
4108
|
-
imports.wbg.__wbindgen_closure_wrapper63956 = function(arg0, arg1, arg2) {
|
|
4109
|
-
const ret = makeMutClosure(arg0, arg1, 47600, __wbg_adapter_68);
|
|
4110
|
-
return ret;
|
|
4111
|
-
};
|
|
4112
|
-
imports.wbg.__wbindgen_closure_wrapper68149 = function(arg0, arg1, arg2) {
|
|
4113
|
-
const ret = makeMutClosure(arg0, arg1, 50751, __wbg_adapter_71);
|
|
4114
|
-
return ret;
|
|
4115
|
-
};
|
|
4116
|
-
imports.wbg.__wbindgen_closure_wrapper70187 = function(arg0, arg1, arg2) {
|
|
4117
|
-
const ret = makeMutClosure(arg0, arg1, 51398, __wbg_adapter_74);
|
|
4118
|
-
return ret;
|
|
4119
|
-
};
|
|
4120
|
-
imports.wbg.__wbindgen_closure_wrapper70189 = function(arg0, arg1, arg2) {
|
|
4121
|
-
const ret = makeMutClosure(arg0, arg1, 51398, __wbg_adapter_74);
|
|
4122
|
-
return ret;
|
|
4123
|
-
};
|
|
4124
|
-
imports.wbg.__wbindgen_closure_wrapper70191 = function(arg0, arg1, arg2) {
|
|
4125
|
-
const ret = makeMutClosure(arg0, arg1, 51398, __wbg_adapter_74);
|
|
4126
|
-
return ret;
|
|
4127
|
-
};
|
|
4128
|
-
imports.wbg.__wbindgen_closure_wrapper72946 = function(arg0, arg1, arg2) {
|
|
4129
|
-
const ret = makeMutClosure(arg0, arg1, 53748, __wbg_adapter_81);
|
|
4130
|
-
return ret;
|
|
4131
|
-
};
|
|
4132
|
-
imports.wbg.__wbindgen_closure_wrapper74281 = function(arg0, arg1, arg2) {
|
|
4133
|
-
const ret = makeMutClosure(arg0, arg1, 54706, __wbg_adapter_84);
|
|
4134
|
-
return ret;
|
|
4135
|
-
};
|
|
4136
|
-
imports.wbg.__wbindgen_closure_wrapper76923 = function(arg0, arg1, arg2) {
|
|
4137
|
-
const ret = makeMutClosure(arg0, arg1, 56359, __wbg_adapter_87);
|
|
4138
|
-
return ret;
|
|
4139
|
-
};
|
|
4140
|
-
imports.wbg.__wbindgen_closure_wrapper76925 = function(arg0, arg1, arg2) {
|
|
4141
|
-
const ret = makeMutClosure(arg0, arg1, 56359, __wbg_adapter_90);
|
|
4142
|
-
return ret;
|
|
4143
|
-
};
|
|
4144
|
-
imports.wbg.__wbindgen_closure_wrapper76927 = function(arg0, arg1, arg2) {
|
|
4145
|
-
const ret = makeMutClosure(arg0, arg1, 56359, __wbg_adapter_90);
|
|
4146
|
-
return ret;
|
|
4147
|
-
};
|
|
4148
|
-
imports.wbg.__wbindgen_closure_wrapper76929 = function(arg0, arg1, arg2) {
|
|
4149
|
-
const ret = makeMutClosure(arg0, arg1, 56359, __wbg_adapter_90);
|
|
4150
|
-
return ret;
|
|
4151
|
-
};
|
|
4152
|
-
imports.wbg.__wbindgen_closure_wrapper76931 = function(arg0, arg1, arg2) {
|
|
4153
|
-
const ret = makeMutClosure(arg0, arg1, 56359, __wbg_adapter_97);
|
|
4154
|
-
return ret;
|
|
4155
|
-
};
|
|
4156
|
-
imports.wbg.__wbindgen_closure_wrapper76933 = function(arg0, arg1, arg2) {
|
|
4157
|
-
const ret = makeMutClosure(arg0, arg1, 56359, __wbg_adapter_90);
|
|
4158
|
-
return ret;
|
|
4159
|
-
};
|
|
4160
|
-
imports.wbg.__wbindgen_closure_wrapper76935 = function(arg0, arg1, arg2) {
|
|
4161
|
-
const ret = makeMutClosure(arg0, arg1, 56359, __wbg_adapter_90);
|
|
4162
|
-
return ret;
|
|
4163
|
-
};
|
|
4164
|
-
imports.wbg.__wbindgen_closure_wrapper76937 = function(arg0, arg1, arg2) {
|
|
4165
|
-
const ret = makeMutClosure(arg0, arg1, 56359, __wbg_adapter_90);
|
|
4166
|
-
return ret;
|
|
4167
|
-
};
|
|
4168
|
-
imports.wbg.__wbindgen_closure_wrapper76939 = function(arg0, arg1, arg2) {
|
|
4169
|
-
const ret = makeMutClosure(arg0, arg1, 56359, __wbg_adapter_90);
|
|
4170
|
-
return ret;
|
|
4171
|
-
};
|
|
4172
|
-
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
4173
|
-
const ret = debugString(arg1);
|
|
4174
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4175
|
-
const len1 = WASM_VECTOR_LEN;
|
|
4176
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4177
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4178
|
-
};
|
|
4179
|
-
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
4180
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
4181
|
-
return ret;
|
|
4182
|
-
};
|
|
4183
|
-
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
4184
|
-
const ret = arg0 in arg1;
|
|
4185
|
-
return ret;
|
|
4186
|
-
};
|
|
4187
|
-
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
4188
|
-
const table = wasm.__wbindgen_export_1;
|
|
4189
|
-
const offset = table.grow(4);
|
|
4190
|
-
table.set(0, undefined);
|
|
4191
|
-
table.set(offset + 0, undefined);
|
|
4192
|
-
table.set(offset + 1, null);
|
|
4193
|
-
table.set(offset + 2, true);
|
|
4194
|
-
table.set(offset + 3, false);
|
|
4195
|
-
;
|
|
4196
|
-
};
|
|
4197
|
-
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
|
4198
|
-
const ret = typeof(arg0) === 'bigint';
|
|
4199
|
-
return ret;
|
|
4200
|
-
};
|
|
4201
|
-
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
4202
|
-
const ret = typeof(arg0) === 'function';
|
|
4203
|
-
return ret;
|
|
4204
|
-
};
|
|
4205
|
-
imports.wbg.__wbindgen_is_null = function(arg0) {
|
|
4206
|
-
const ret = arg0 === null;
|
|
4207
|
-
return ret;
|
|
4208
|
-
};
|
|
4209
|
-
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
4210
|
-
const val = arg0;
|
|
4211
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
4212
|
-
return ret;
|
|
4213
|
-
};
|
|
4214
|
-
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
4215
|
-
const ret = typeof(arg0) === 'string';
|
|
4216
|
-
return ret;
|
|
4217
|
-
};
|
|
4218
|
-
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
4219
|
-
const ret = arg0 === undefined;
|
|
4220
|
-
return ret;
|
|
4221
|
-
};
|
|
4222
|
-
imports.wbg.__wbindgen_jsval_eq = function(arg0, arg1) {
|
|
4223
|
-
const ret = arg0 === arg1;
|
|
4224
|
-
return ret;
|
|
4225
|
-
};
|
|
4226
|
-
imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
4227
|
-
const ret = arg0 == arg1;
|
|
4228
|
-
return ret;
|
|
4229
|
-
};
|
|
4230
|
-
imports.wbg.__wbindgen_link_10fe0f7d4570c8f7 = function(arg0) {
|
|
4231
|
-
const val = `"use strict";
|
|
4232
|
-
|
|
4233
|
-
// Changes to this file is automatically copied to worker_static.js using build script.
|
|
4234
|
-
// The build script runs before running wasm-bindgen, so changes will to this file will always take effect.
|
|
4235
|
-
|
|
4236
|
-
/**
|
|
4237
|
-
* @class
|
|
4238
|
-
* @constructor
|
|
4239
|
-
* @public
|
|
4240
|
-
* @template T
|
|
4241
|
-
*/
|
|
4242
|
-
class Arena {
|
|
4243
|
-
constructor() {
|
|
4244
|
-
/**
|
|
4245
|
-
* @type {(T | null)[]}
|
|
4246
|
-
* @private
|
|
4247
|
-
*/
|
|
4248
|
-
this.inner = [];
|
|
4249
|
-
/**
|
|
4250
|
-
* @type {number | null}
|
|
4251
|
-
* @private
|
|
4252
|
-
*/
|
|
4253
|
-
this.lastRemove = null;
|
|
4254
|
-
}
|
|
4255
|
-
/**
|
|
4256
|
-
* @param {T} e
|
|
4257
|
-
* @returns {number}
|
|
4258
|
-
*/
|
|
4259
|
-
insert(e) {
|
|
4260
|
-
if(this.lastRemove != null) {
|
|
4261
|
-
let vacancy = this.lastRemove;
|
|
4262
|
-
this.inner[vacancy] = e;
|
|
4263
|
-
this.lastRemove = null;
|
|
4264
|
-
return vacancy;
|
|
4265
|
-
} else {
|
|
4266
|
-
for(let i = 0; i < this.inner.length; i++) {
|
|
4267
|
-
if(this.inner[i] == null) {
|
|
4268
|
-
this.inner[i] = e;
|
|
4269
|
-
return i;
|
|
4270
|
-
}
|
|
4271
|
-
}
|
|
4272
|
-
return this.inner.push(e) - 1;
|
|
4273
|
-
}
|
|
4274
|
-
}
|
|
4275
|
-
/**
|
|
4276
|
-
* @param {number} i
|
|
4277
|
-
* @returns {T | null}
|
|
4278
|
-
*/
|
|
4279
|
-
remove(i) {
|
|
4280
|
-
if(i >= this.inner.length) {
|
|
4281
|
-
return null;
|
|
4282
|
-
}
|
|
4283
|
-
let result = this.inner[i];
|
|
4284
|
-
this.inner[i] = null;
|
|
4285
|
-
return result;
|
|
4286
|
-
}
|
|
4287
|
-
/**
|
|
4288
|
-
* @param {number} i
|
|
4289
|
-
* @returns {T | null}
|
|
4290
|
-
*/
|
|
4291
|
-
get(i) {
|
|
4292
|
-
if(i >= this.inner.length) {
|
|
4293
|
-
return null;
|
|
4294
|
-
}
|
|
4295
|
-
return this.inner[i];
|
|
4296
|
-
}
|
|
4297
|
-
}
|
|
4298
|
-
|
|
4299
|
-
const APPEND = 0b0000_0001;
|
|
4300
|
-
const CREATE = 0b0000_0010;
|
|
4301
|
-
const CREATE_NEW = 0b0000_0100;
|
|
4302
|
-
const READ = 0b0000_1000;
|
|
4303
|
-
const TRUNCATE = 0b0001_0000;
|
|
4304
|
-
const WRITE = 0b0010_0000;
|
|
4305
|
-
|
|
4306
|
-
let opened = new Arena();
|
|
4307
|
-
|
|
4308
|
-
onmessage = async (e) => {
|
|
4309
|
-
let msg = e.data;
|
|
4310
|
-
if(msg.Open != undefined) {
|
|
4311
|
-
/**
|
|
4312
|
-
* @typedef InOpenMsg
|
|
4313
|
-
* @type {object}
|
|
4314
|
-
* @property {number} options
|
|
4315
|
-
* @property {FileSystemFileHandle} handle
|
|
4316
|
-
* @property {number} index
|
|
4317
|
-
*/
|
|
4318
|
-
/**
|
|
4319
|
-
* @type {InOpenMsg}
|
|
4320
|
-
*/
|
|
4321
|
-
let openMsg = msg.Open;
|
|
4322
|
-
|
|
4323
|
-
let openOptions;
|
|
4324
|
-
if((openMsg.options & WRITE) > 0) {
|
|
4325
|
-
openOptions = {
|
|
4326
|
-
mode: "readwrite"
|
|
4327
|
-
}
|
|
4328
|
-
} else {
|
|
4329
|
-
openOptions = {
|
|
4330
|
-
mode: "read-only"
|
|
4331
|
-
}
|
|
4332
|
-
}
|
|
4333
|
-
|
|
4334
|
-
let response = {
|
|
4335
|
-
0: {
|
|
4336
|
-
index: openMsg.index,
|
|
4337
|
-
}
|
|
4338
|
-
};
|
|
4339
|
-
try {
|
|
4340
|
-
let accessHandle = await openMsg.handle.createSyncAccessHandle(openOptions);
|
|
4341
|
-
let fd = opened.insert(accessHandle);
|
|
4342
|
-
|
|
4343
|
-
if(openMsg.options & TRUNCATE | openMsg.options & CREATE_NEW | openMsg.options & CREATE) {
|
|
4344
|
-
accessHandle.truncate(0);
|
|
4345
|
-
}
|
|
4346
|
-
|
|
4347
|
-
let size = accessHandle.getSize();
|
|
4348
|
-
response[0].fd = fd;
|
|
4349
|
-
response[0].size = size;
|
|
4350
|
-
} catch (error) {
|
|
4351
|
-
response.error = error.toString() + JSON.stringify(openMsg);
|
|
4352
|
-
} finally {
|
|
4353
|
-
postMessage(response);
|
|
4354
|
-
}
|
|
4355
|
-
} else if(msg.Drop != undefined) {
|
|
4356
|
-
/**
|
|
4357
|
-
* @typedef InDropMsg
|
|
4358
|
-
* @type {object}
|
|
4359
|
-
* @property {number} fd
|
|
4360
|
-
*/
|
|
4361
|
-
/**
|
|
4362
|
-
* @type {InDropMsg}
|
|
4363
|
-
*/
|
|
4364
|
-
let dropMsg = msg.Drop;
|
|
4365
|
-
let accessHandle = opened.remove(dropMsg.fd);
|
|
4366
|
-
accessHandle.close();
|
|
4367
|
-
} else if(msg.Read != undefined) {
|
|
4368
|
-
/**
|
|
4369
|
-
* @typedef InReadMsg
|
|
4370
|
-
* @type {object}
|
|
4371
|
-
* @property {number} fd
|
|
4372
|
-
* @property {number} size
|
|
4373
|
-
* @property {number} index
|
|
4374
|
-
* @property {number} cursor
|
|
4375
|
-
*/
|
|
4376
|
-
/**
|
|
4377
|
-
* @type {InReadMsg}
|
|
4378
|
-
*/
|
|
4379
|
-
let readMsg = msg.Read;
|
|
4380
|
-
|
|
4381
|
-
let response = {
|
|
4382
|
-
1: {
|
|
4383
|
-
index: readMsg.index,
|
|
4384
|
-
}
|
|
4385
|
-
};
|
|
4386
|
-
try {
|
|
4387
|
-
let accessHandle = opened.get(readMsg.fd);
|
|
4388
|
-
let buffer = new Uint8Array(readMsg.size);
|
|
4389
|
-
let size = accessHandle.read(buffer, { at: readMsg.cursor });
|
|
4390
|
-
response[1].buf = buffer.buffer;
|
|
4391
|
-
response[1].size = size;
|
|
4392
|
-
} catch (error) {
|
|
4393
|
-
response.error = error.toString();
|
|
4394
|
-
} finally {
|
|
4395
|
-
postMessage(response);
|
|
4396
|
-
}
|
|
4397
|
-
} else if(msg.Write != undefined) {
|
|
4398
|
-
/**
|
|
4399
|
-
* @typedef InWriteMsg
|
|
4400
|
-
* @type {object}
|
|
4401
|
-
* @property {number} fd
|
|
4402
|
-
* @property {ArrayBuffer} buf
|
|
4403
|
-
* @property {number} index
|
|
4404
|
-
* @property {number} cursor
|
|
4405
|
-
*/
|
|
4406
|
-
/**
|
|
4407
|
-
* @type {InWriteMsg}
|
|
4408
|
-
*/
|
|
4409
|
-
let writeMsg = msg.Write;
|
|
4410
|
-
|
|
4411
|
-
let response = {
|
|
4412
|
-
2: {
|
|
4413
|
-
index: writeMsg.index,
|
|
4414
|
-
}
|
|
4415
|
-
};
|
|
4416
|
-
try {
|
|
4417
|
-
let accessHandle = opened.get(writeMsg.fd);
|
|
4418
|
-
let dataView = new DataView(writeMsg.buf);
|
|
4419
|
-
let size = accessHandle.write(dataView, { at: writeMsg.cursor });
|
|
4420
|
-
response[2].size = size;
|
|
4421
|
-
} catch (error) {
|
|
4422
|
-
response.error = error.toString();
|
|
4423
|
-
} finally {
|
|
4424
|
-
postMessage(response);
|
|
4425
|
-
}
|
|
4426
|
-
} else if(msg.Flush != undefined) {
|
|
4427
|
-
/**
|
|
4428
|
-
* @typedef InFlushMsg
|
|
4429
|
-
* @type {object}
|
|
4430
|
-
* @property {number} fd
|
|
4431
|
-
* @property {number} index
|
|
4432
|
-
*/
|
|
4433
|
-
/**
|
|
4434
|
-
* @type {InFlushMsg}
|
|
4435
|
-
*/
|
|
4436
|
-
let flushMsg = msg.Flush;
|
|
4437
|
-
|
|
4438
|
-
let response = {
|
|
4439
|
-
3: {
|
|
4440
|
-
index: flushMsg.index,
|
|
4441
|
-
}
|
|
4442
|
-
};
|
|
4443
|
-
try {
|
|
4444
|
-
let accessHandle = opened.get(flushMsg.fd);
|
|
4445
|
-
accessHandle.flush();
|
|
4446
|
-
} catch (error) {
|
|
4447
|
-
response.error = error.toString();
|
|
4448
|
-
} finally {
|
|
4449
|
-
postMessage(response);
|
|
4450
|
-
}
|
|
4451
|
-
} else if(msg.Close != undefined) {
|
|
4452
|
-
/**
|
|
4453
|
-
* @typedef InCloseMsg
|
|
4454
|
-
* @type {object}
|
|
4455
|
-
* @property {number} fd
|
|
4456
|
-
* @property {number} index
|
|
4457
|
-
*/
|
|
4458
|
-
/**
|
|
4459
|
-
* @type {InCloseMsg}
|
|
4460
|
-
*/
|
|
4461
|
-
let closeMsg = msg.Close;
|
|
4462
|
-
|
|
4463
|
-
let response = {
|
|
4464
|
-
4: {
|
|
4465
|
-
index: closeMsg.index
|
|
4466
|
-
}
|
|
4467
|
-
};
|
|
4468
|
-
try {
|
|
4469
|
-
let accessHandle = opened.get(closeMsg.fd);
|
|
4470
|
-
accessHandle.close();
|
|
4471
|
-
} catch (error) {
|
|
4472
|
-
response.error = error.toString();
|
|
4473
|
-
} finally {
|
|
4474
|
-
postMessage(response);
|
|
4475
|
-
}
|
|
4476
|
-
} else if(msg.Truncate != undefined) {
|
|
4477
|
-
/**
|
|
4478
|
-
* @typedef InTruncateMsg
|
|
4479
|
-
* @type {object}
|
|
4480
|
-
* @property {number} fd
|
|
4481
|
-
* @property {number} size
|
|
4482
|
-
* @property {number} index
|
|
4483
|
-
*/
|
|
4484
|
-
/**
|
|
4485
|
-
* @type {InTruncateMsg}
|
|
4486
|
-
*/
|
|
4487
|
-
let truncateMsg = msg.Truncate;
|
|
4488
|
-
|
|
4489
|
-
let response = {
|
|
4490
|
-
5: {
|
|
4491
|
-
index: truncateMsg.index
|
|
4492
|
-
}
|
|
4493
|
-
}
|
|
4494
|
-
try {
|
|
4495
|
-
let accessHandle = opened.get(truncateMsg.fd);
|
|
4496
|
-
accessHandle.truncate(truncateMsg.size);
|
|
4497
|
-
} catch (error) {
|
|
4498
|
-
response.error = error.toString();
|
|
4499
|
-
} finally {
|
|
4500
|
-
postMessage(response);
|
|
4501
|
-
}
|
|
4502
|
-
}
|
|
4503
|
-
}
|
|
4504
|
-
`;
|
|
4505
|
-
const ret = typeof URL.createObjectURL === 'undefined' ? "data:application/javascript," + encodeURIComponent(val) : URL.createObjectURL(new Blob([val], { type: "text/javascript" }));
|
|
4506
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4507
|
-
const len1 = WASM_VECTOR_LEN;
|
|
4508
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4509
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4510
|
-
};
|
|
4511
|
-
imports.wbg.__wbindgen_link_9579f016b4522a24 = function(arg0) {
|
|
4512
|
-
const val = `onmessage = function (ev) {
|
|
4513
|
-
let [ia, index, value] = ev.data;
|
|
4514
|
-
ia = new Int32Array(ia.buffer);
|
|
4515
|
-
let result = Atomics.wait(ia, index, value);
|
|
4516
|
-
postMessage(result);
|
|
4517
|
-
};
|
|
4518
|
-
`;
|
|
4519
|
-
const ret = typeof URL.createObjectURL === 'undefined' ? "data:application/javascript," + encodeURIComponent(val) : URL.createObjectURL(new Blob([val], { type: "text/javascript" }));
|
|
4520
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4521
|
-
const len1 = WASM_VECTOR_LEN;
|
|
4522
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4523
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4524
|
-
};
|
|
4525
|
-
imports.wbg.__wbindgen_memory = function() {
|
|
4526
|
-
const ret = wasm.memory;
|
|
4527
|
-
return ret;
|
|
4528
|
-
};
|
|
4529
|
-
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
4530
|
-
const obj = arg1;
|
|
4531
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
4532
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
4533
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
4534
|
-
};
|
|
4535
|
-
imports.wbg.__wbindgen_number_new = function(arg0) {
|
|
4536
|
-
const ret = arg0;
|
|
4537
|
-
return ret;
|
|
4538
|
-
};
|
|
4539
|
-
imports.wbg.__wbindgen_rethrow = function(arg0) {
|
|
4540
|
-
throw arg0;
|
|
4541
|
-
};
|
|
4542
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
4543
|
-
const obj = arg1;
|
|
4544
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
4545
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4546
|
-
var len1 = WASM_VECTOR_LEN;
|
|
4547
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4548
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4549
|
-
};
|
|
4550
|
-
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
4551
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
4552
|
-
return ret;
|
|
4553
|
-
};
|
|
4554
|
-
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
4555
|
-
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
4556
|
-
};
|
|
4557
|
-
imports.wbg.__wbindgen_uint8_array_new = function(arg0, arg1) {
|
|
4558
|
-
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
4559
|
-
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
4560
|
-
const ret = v0;
|
|
4561
|
-
return ret;
|
|
4562
|
-
};
|
|
4563
|
-
|
|
4564
|
-
return imports;
|
|
4565
|
-
}
|
|
4566
|
-
|
|
4567
|
-
function __wbg_init_memory(imports, memory) {
|
|
4568
|
-
imports.wbg.memory = memory || new WebAssembly.Memory({initial:336,maximum:65536,shared:true});
|
|
4569
|
-
}
|
|
4570
|
-
|
|
4571
|
-
function __wbg_finalize_init(instance, module, thread_stack_size) {
|
|
4572
|
-
wasm = instance.exports;
|
|
4573
|
-
__wbg_init.__wbindgen_wasm_module = module;
|
|
4574
|
-
cachedDataViewMemory0 = null;
|
|
4575
|
-
cachedUint32ArrayMemory0 = null;
|
|
4576
|
-
cachedUint8ArrayMemory0 = null;
|
|
4577
|
-
|
|
4578
|
-
if (typeof thread_stack_size !== 'undefined' && (typeof thread_stack_size !== 'number' || thread_stack_size === 0 || thread_stack_size % 65536 !== 0)) { throw 'invalid stack size' }
|
|
4579
|
-
wasm.__wbindgen_start(thread_stack_size);
|
|
4580
|
-
return wasm;
|
|
4581
|
-
}
|
|
4582
|
-
|
|
4583
|
-
function initSync(module, memory) {
|
|
4584
|
-
if (wasm !== undefined) return wasm;
|
|
4585
|
-
|
|
4586
|
-
let thread_stack_size
|
|
4587
|
-
if (typeof module !== 'undefined') {
|
|
4588
|
-
if (Object.getPrototypeOf(module) === Object.prototype) {
|
|
4589
|
-
({module, memory, thread_stack_size} = module)
|
|
4590
|
-
} else {
|
|
4591
|
-
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
4592
|
-
}
|
|
4593
|
-
}
|
|
4594
|
-
|
|
4595
|
-
const imports = __wbg_get_imports();
|
|
4596
|
-
|
|
4597
|
-
__wbg_init_memory(imports, memory);
|
|
4598
|
-
|
|
4599
|
-
if (!(module instanceof WebAssembly.Module)) {
|
|
4600
|
-
module = new WebAssembly.Module(module);
|
|
4601
|
-
}
|
|
4602
|
-
|
|
4603
|
-
const instance = new WebAssembly.Instance(module, imports);
|
|
4604
|
-
|
|
4605
|
-
return __wbg_finalize_init(instance, module, thread_stack_size);
|
|
4606
|
-
}
|
|
4607
|
-
|
|
4608
|
-
async function __wbg_init(module_or_path, memory) {
|
|
4609
|
-
if (wasm !== undefined) return wasm;
|
|
4610
|
-
|
|
4611
|
-
let thread_stack_size
|
|
4612
|
-
if (typeof module_or_path !== 'undefined') {
|
|
4613
|
-
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
4614
|
-
({module_or_path, memory, thread_stack_size} = module_or_path)
|
|
4615
|
-
} else {
|
|
4616
|
-
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
|
|
4617
|
-
}
|
|
4618
|
-
}
|
|
4619
|
-
|
|
4620
|
-
if (typeof module_or_path === 'undefined') {
|
|
4621
|
-
module_or_path = new URL('webgpu_build_bg.wasm', import.meta.url);
|
|
4622
|
-
}
|
|
4623
|
-
const imports = __wbg_get_imports();
|
|
4624
|
-
|
|
4625
|
-
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
|
|
4626
|
-
module_or_path = fetch(module_or_path);
|
|
4627
|
-
}
|
|
4628
|
-
|
|
4629
|
-
__wbg_init_memory(imports, memory);
|
|
4630
|
-
|
|
4631
|
-
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
4632
|
-
|
|
4633
|
-
return __wbg_finalize_init(instance, module, thread_stack_size);
|
|
4634
|
-
}
|
|
4635
|
-
|
|
4636
|
-
export { initSync };
|
|
4637
|
-
export default __wbg_init;
|