@openheart/tavio-renderer 2.2.11-without-wasm → 2.2.13-without-wasm
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/build/esm/index.js +1085 -204
- package/build/esm/types/camera/orbitControls.d.ts +29 -5
- package/build/esm/types/utility/utility.d.ts +11 -0
- package/build/esm/types/viewer/canvas.d.ts +81 -34
- package/build/esm/types/viewer/tavioMesh.d.ts +68 -6
- package/build/esm/types/worker/tavioWorker.d.ts +2 -0
- package/build/esm/wasm/pkg/no-thread/tavio.d.ts +11 -8
- package/build/esm/wasm/pkg/no-thread/tavio.js +121 -110
- package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm +0 -0
- package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm.d.ts +11 -8
- package/build/esm/wasm/pkg/thread/tavio.d.ts +15 -11
- package/build/esm/wasm/pkg/thread/tavio.js +167 -129
- package/build/esm/wasm/pkg/thread/tavio_bg.wasm +0 -0
- package/build/esm/wasm/pkg/thread/tavio_bg.wasm.d.ts +15 -11
- package/package.json +1 -1
|
@@ -150,33 +150,33 @@ export function sort(depths, ordering, splat_count) {
|
|
|
150
150
|
function __wbg_get_imports() {
|
|
151
151
|
const import0 = {
|
|
152
152
|
__proto__: null,
|
|
153
|
-
|
|
153
|
+
__wbg___wbindgen_boolean_get_c0f3f60bac5a78d1: function(arg0) {
|
|
154
154
|
const v = getObject(arg0);
|
|
155
155
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
156
156
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
157
157
|
},
|
|
158
|
-
|
|
158
|
+
__wbg___wbindgen_debug_string_5398f5bb970e0daa: function(arg0, arg1) {
|
|
159
159
|
const ret = debugString(getObject(arg1));
|
|
160
160
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
161
161
|
const len1 = WASM_VECTOR_LEN;
|
|
162
162
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
163
163
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
164
164
|
},
|
|
165
|
-
|
|
165
|
+
__wbg___wbindgen_is_function_3c846841762788c1: function(arg0) {
|
|
166
166
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
167
167
|
return ret;
|
|
168
168
|
},
|
|
169
|
-
|
|
169
|
+
__wbg___wbindgen_is_undefined_52709e72fb9f179c: function(arg0) {
|
|
170
170
|
const ret = getObject(arg0) === undefined;
|
|
171
171
|
return ret;
|
|
172
172
|
},
|
|
173
|
-
|
|
173
|
+
__wbg___wbindgen_number_get_34bb9d9dcfa21373: function(arg0, arg1) {
|
|
174
174
|
const obj = getObject(arg1);
|
|
175
175
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
176
176
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
177
177
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
178
178
|
},
|
|
179
|
-
|
|
179
|
+
__wbg___wbindgen_string_get_395e606bd0ee4427: function(arg0, arg1) {
|
|
180
180
|
const obj = getObject(arg1);
|
|
181
181
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
182
182
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -184,61 +184,57 @@ function __wbg_get_imports() {
|
|
|
184
184
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
185
185
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
186
186
|
},
|
|
187
|
-
|
|
187
|
+
__wbg___wbindgen_throw_6ddd609b62940d55: function(arg0, arg1) {
|
|
188
188
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
189
189
|
},
|
|
190
|
-
|
|
190
|
+
__wbg__wbg_cb_unref_6b5b6b8576d35cb1: function(arg0) {
|
|
191
191
|
getObject(arg0)._wbg_cb_unref();
|
|
192
192
|
},
|
|
193
|
-
|
|
193
|
+
__wbg_body_ac1dad652946e6da: function(arg0) {
|
|
194
194
|
const ret = getObject(arg0).body;
|
|
195
195
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
196
196
|
},
|
|
197
|
-
|
|
197
|
+
__wbg_buffer_60b8043cd926067d: function(arg0) {
|
|
198
198
|
const ret = getObject(arg0).buffer;
|
|
199
199
|
return addHeapObject(ret);
|
|
200
200
|
},
|
|
201
|
-
|
|
201
|
+
__wbg_byobRequest_6342e5f2b232c0f9: function(arg0) {
|
|
202
202
|
const ret = getObject(arg0).byobRequest;
|
|
203
203
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
204
204
|
},
|
|
205
|
-
|
|
205
|
+
__wbg_byteLength_607b856aa6c5a508: function(arg0) {
|
|
206
206
|
const ret = getObject(arg0).byteLength;
|
|
207
207
|
return ret;
|
|
208
208
|
},
|
|
209
|
-
|
|
209
|
+
__wbg_byteOffset_b26b63681c83856c: function(arg0) {
|
|
210
210
|
const ret = getObject(arg0).byteOffset;
|
|
211
211
|
return ret;
|
|
212
212
|
},
|
|
213
|
-
|
|
214
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
215
|
-
return addHeapObject(ret);
|
|
216
|
-
}, arguments); },
|
|
217
|
-
__wbg_call_4708e0c13bdc8e95: function() { return handleError(function (arg0, arg1, arg2) {
|
|
213
|
+
__wbg_call_2d781c1f4d5c0ef8: function() { return handleError(function (arg0, arg1, arg2) {
|
|
218
214
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
219
215
|
return addHeapObject(ret);
|
|
220
216
|
}, arguments); },
|
|
221
|
-
|
|
217
|
+
__wbg_cancel_79b3bea07a1028e7: function(arg0) {
|
|
222
218
|
const ret = getObject(arg0).cancel();
|
|
223
219
|
return addHeapObject(ret);
|
|
224
220
|
},
|
|
225
|
-
|
|
221
|
+
__wbg_catch_d7ed0375ab6532a5: function(arg0, arg1) {
|
|
226
222
|
const ret = getObject(arg0).catch(getObject(arg1));
|
|
227
223
|
return addHeapObject(ret);
|
|
228
224
|
},
|
|
229
|
-
|
|
225
|
+
__wbg_close_690d36108c557337: function() { return handleError(function (arg0) {
|
|
230
226
|
getObject(arg0).close();
|
|
231
227
|
}, arguments); },
|
|
232
|
-
|
|
228
|
+
__wbg_close_737b4b1fbc658540: function() { return handleError(function (arg0) {
|
|
233
229
|
getObject(arg0).close();
|
|
234
230
|
}, arguments); },
|
|
235
|
-
|
|
231
|
+
__wbg_drawImage_322eeb8916170efc: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
236
232
|
getObject(arg0).drawImage(getObject(arg1), arg2, arg3);
|
|
237
233
|
}, arguments); },
|
|
238
|
-
|
|
234
|
+
__wbg_enqueue_ec3552838b4b7fbf: function() { return handleError(function (arg0, arg1) {
|
|
239
235
|
getObject(arg0).enqueue(getObject(arg1));
|
|
240
236
|
}, arguments); },
|
|
241
|
-
|
|
237
|
+
__wbg_error_a6fa202b58aa1cd3: function(arg0, arg1) {
|
|
242
238
|
let deferred0_0;
|
|
243
239
|
let deferred0_1;
|
|
244
240
|
try {
|
|
@@ -249,45 +245,45 @@ function __wbg_get_imports() {
|
|
|
249
245
|
wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
|
|
250
246
|
}
|
|
251
247
|
},
|
|
252
|
-
|
|
248
|
+
__wbg_error_ea6decbec50643d2: function(arg0, arg1) {
|
|
253
249
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
254
250
|
},
|
|
255
|
-
|
|
251
|
+
__wbg_getContext_a9236f98f1f7fe7c: function() { return handleError(function (arg0, arg1, arg2) {
|
|
256
252
|
const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
|
|
257
253
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
258
254
|
}, arguments); },
|
|
259
|
-
|
|
255
|
+
__wbg_getReader_b4b1868fbca77dbe: function() { return handleError(function (arg0) {
|
|
260
256
|
const ret = getObject(arg0).getReader();
|
|
261
257
|
return addHeapObject(ret);
|
|
262
258
|
}, arguments); },
|
|
263
|
-
|
|
259
|
+
__wbg_get_3ef1eba1850ade27: function() { return handleError(function (arg0, arg1) {
|
|
260
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
261
|
+
return addHeapObject(ret);
|
|
262
|
+
}, arguments); },
|
|
263
|
+
__wbg_get_a867a94064ecd263: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
264
264
|
const ret = getObject(arg1).get(getStringFromWasm0(arg2, arg3));
|
|
265
265
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
266
266
|
var len1 = WASM_VECTOR_LEN;
|
|
267
267
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
268
268
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
269
269
|
}, arguments); },
|
|
270
|
-
|
|
271
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
272
|
-
return addHeapObject(ret);
|
|
273
|
-
}, arguments); },
|
|
274
|
-
__wbg_get_done_1ad1c16537f444c6: function(arg0) {
|
|
270
|
+
__wbg_get_done_d0ab690f8df5501f: function(arg0) {
|
|
275
271
|
const ret = getObject(arg0).done;
|
|
276
272
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
277
273
|
},
|
|
278
|
-
|
|
274
|
+
__wbg_get_value_548ae6adf5a174e4: function(arg0) {
|
|
279
275
|
const ret = getObject(arg0).value;
|
|
280
276
|
return addHeapObject(ret);
|
|
281
277
|
},
|
|
282
|
-
|
|
278
|
+
__wbg_headers_eb2234545f9ff993: function(arg0) {
|
|
283
279
|
const ret = getObject(arg0).headers;
|
|
284
280
|
return addHeapObject(ret);
|
|
285
281
|
},
|
|
286
|
-
|
|
282
|
+
__wbg_height_ee9ea840e5499878: function(arg0) {
|
|
287
283
|
const ret = getObject(arg0).height;
|
|
288
284
|
return ret;
|
|
289
285
|
},
|
|
290
|
-
|
|
286
|
+
__wbg_instanceof_ImageBitmap_633c8e1f13eaf295: function(arg0) {
|
|
291
287
|
let result;
|
|
292
288
|
try {
|
|
293
289
|
result = getObject(arg0) instanceof ImageBitmap;
|
|
@@ -297,7 +293,7 @@ function __wbg_get_imports() {
|
|
|
297
293
|
const ret = result;
|
|
298
294
|
return ret;
|
|
299
295
|
},
|
|
300
|
-
|
|
296
|
+
__wbg_instanceof_OffscreenCanvasRenderingContext2d_0ee7d4ca3a88ef2d: function(arg0) {
|
|
301
297
|
let result;
|
|
302
298
|
try {
|
|
303
299
|
result = getObject(arg0) instanceof OffscreenCanvasRenderingContext2D;
|
|
@@ -307,7 +303,7 @@ function __wbg_get_imports() {
|
|
|
307
303
|
const ret = result;
|
|
308
304
|
return ret;
|
|
309
305
|
},
|
|
310
|
-
|
|
306
|
+
__wbg_instanceof_Promise_7c3bdd7805c2c6e6: function(arg0) {
|
|
311
307
|
let result;
|
|
312
308
|
try {
|
|
313
309
|
result = getObject(arg0) instanceof Promise;
|
|
@@ -317,7 +313,7 @@ function __wbg_get_imports() {
|
|
|
317
313
|
const ret = result;
|
|
318
314
|
return ret;
|
|
319
315
|
},
|
|
320
|
-
|
|
316
|
+
__wbg_instanceof_Response_9b4d9fd451e051b1: function(arg0) {
|
|
321
317
|
let result;
|
|
322
318
|
try {
|
|
323
319
|
result = getObject(arg0) instanceof Response;
|
|
@@ -327,46 +323,50 @@ function __wbg_get_imports() {
|
|
|
327
323
|
const ret = result;
|
|
328
324
|
return ret;
|
|
329
325
|
},
|
|
330
|
-
|
|
326
|
+
__wbg_length_27280eca2d70010e: function(arg0) {
|
|
331
327
|
const ret = getObject(arg0).length;
|
|
332
328
|
return ret;
|
|
333
329
|
},
|
|
334
|
-
|
|
330
|
+
__wbg_length_b34ac2b4c6202959: function(arg0) {
|
|
335
331
|
const ret = getObject(arg0).length;
|
|
336
332
|
return ret;
|
|
337
333
|
},
|
|
338
|
-
|
|
334
|
+
__wbg_length_ea16607d7b61445b: function(arg0) {
|
|
339
335
|
const ret = getObject(arg0).length;
|
|
340
336
|
return ret;
|
|
341
337
|
},
|
|
342
|
-
|
|
343
|
-
const ret = new
|
|
338
|
+
__wbg_new_227d7c05414eb861: function() {
|
|
339
|
+
const ret = new Error();
|
|
344
340
|
return addHeapObject(ret);
|
|
345
|
-
},
|
|
346
|
-
|
|
347
|
-
const ret = new
|
|
341
|
+
},
|
|
342
|
+
__wbg_new_5f486cdf45a04d78: function(arg0) {
|
|
343
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
348
344
|
return addHeapObject(ret);
|
|
349
345
|
},
|
|
350
|
-
|
|
346
|
+
__wbg_new_a70fbab9066b301f: function() {
|
|
351
347
|
const ret = new Array();
|
|
352
348
|
return addHeapObject(ret);
|
|
353
349
|
},
|
|
354
|
-
|
|
355
|
-
const ret = new
|
|
350
|
+
__wbg_new_ab79df5bd7c26067: function() {
|
|
351
|
+
const ret = new Object();
|
|
356
352
|
return addHeapObject(ret);
|
|
357
353
|
},
|
|
358
|
-
|
|
359
|
-
const ret = new
|
|
354
|
+
__wbg_new_bd6c634574cbafea: function() { return handleError(function (arg0, arg1) {
|
|
355
|
+
const ret = new OffscreenCanvas(arg0 >>> 0, arg1 >>> 0);
|
|
356
|
+
return addHeapObject(ret);
|
|
357
|
+
}, arguments); },
|
|
358
|
+
__wbg_new_d15cb560a6a0e5f0: function(arg0, arg1) {
|
|
359
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
360
360
|
return addHeapObject(ret);
|
|
361
361
|
},
|
|
362
|
-
|
|
362
|
+
__wbg_new_typed_aaaeaf29cf802876: function(arg0, arg1) {
|
|
363
363
|
try {
|
|
364
364
|
var state0 = {a: arg0, b: arg1};
|
|
365
365
|
var cb0 = (arg0, arg1) => {
|
|
366
366
|
const a = state0.a;
|
|
367
367
|
state0.a = 0;
|
|
368
368
|
try {
|
|
369
|
-
return
|
|
369
|
+
return __wasm_bindgen_func_elem_1574(a, state0.b, arg0, arg1);
|
|
370
370
|
} finally {
|
|
371
371
|
state0.a = a;
|
|
372
372
|
}
|
|
@@ -377,157 +377,154 @@ function __wbg_get_imports() {
|
|
|
377
377
|
state0.a = state0.b = 0;
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
|
-
|
|
381
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
382
|
-
return addHeapObject(ret);
|
|
383
|
-
},
|
|
384
|
-
__wbg_new_no_args_1c7c842f08d00ebb: function(arg0, arg1) {
|
|
385
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
386
|
-
return addHeapObject(ret);
|
|
387
|
-
},
|
|
388
|
-
__wbg_new_with_byte_offset_and_length_aa261d9c9da49eb1: function(arg0, arg1, arg2) {
|
|
380
|
+
__wbg_new_with_byte_offset_and_length_b2ec5bf7b2f35743: function(arg0, arg1, arg2) {
|
|
389
381
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
390
382
|
return addHeapObject(ret);
|
|
391
383
|
},
|
|
392
|
-
|
|
384
|
+
__wbg_new_with_u8_array_sequence_1366bd1ced0ec6b9: function() { return handleError(function (arg0) {
|
|
393
385
|
const ret = new Blob(getObject(arg0));
|
|
394
386
|
return addHeapObject(ret);
|
|
395
387
|
}, arguments); },
|
|
396
|
-
|
|
388
|
+
__wbg_prototypesetcall_461d7b16ae92489e: function(arg0, arg1, arg2) {
|
|
397
389
|
Uint16Array.prototype.set.call(getArrayU16FromWasm0(arg0, arg1), getObject(arg2));
|
|
398
390
|
},
|
|
399
|
-
|
|
391
|
+
__wbg_prototypesetcall_d62e5099504357e6: function(arg0, arg1, arg2) {
|
|
400
392
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
401
393
|
},
|
|
402
|
-
|
|
394
|
+
__wbg_push_e87b0e732085a946: function(arg0, arg1) {
|
|
403
395
|
const ret = getObject(arg0).push(getObject(arg1));
|
|
404
396
|
return ret;
|
|
405
397
|
},
|
|
406
|
-
|
|
398
|
+
__wbg_queueMicrotask_0c399741342fb10f: function(arg0) {
|
|
407
399
|
const ret = getObject(arg0).queueMicrotask;
|
|
408
400
|
return addHeapObject(ret);
|
|
409
401
|
},
|
|
410
|
-
|
|
402
|
+
__wbg_queueMicrotask_a082d78ce798393e: function(arg0) {
|
|
411
403
|
queueMicrotask(getObject(arg0));
|
|
412
404
|
},
|
|
413
|
-
|
|
405
|
+
__wbg_read_7f593a961a7f80ed: function(arg0) {
|
|
414
406
|
const ret = getObject(arg0).read();
|
|
415
407
|
return addHeapObject(ret);
|
|
416
408
|
},
|
|
417
|
-
|
|
409
|
+
__wbg_releaseLock_ef7766a5da654ff8: function(arg0) {
|
|
418
410
|
getObject(arg0).releaseLock();
|
|
419
411
|
},
|
|
420
|
-
|
|
412
|
+
__wbg_resolve_ae8d83246e5bcc12: function(arg0) {
|
|
421
413
|
const ret = Promise.resolve(getObject(arg0));
|
|
422
414
|
return addHeapObject(ret);
|
|
423
415
|
},
|
|
424
|
-
|
|
416
|
+
__wbg_respond_e286ee502e7cf7e4: function() { return handleError(function (arg0, arg1) {
|
|
425
417
|
getObject(arg0).respond(arg1 >>> 0);
|
|
426
418
|
}, arguments); },
|
|
427
|
-
|
|
419
|
+
__wbg_setTransform_93279c7c6cf78b08: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
428
420
|
getObject(arg0).setTransform(arg1, arg2, arg3, arg4, arg5, arg6);
|
|
429
421
|
}, arguments); },
|
|
430
|
-
|
|
422
|
+
__wbg_set_1be21701d704e71d: function(arg0, arg1, arg2) {
|
|
423
|
+
getObject(arg0).set(getArrayU32FromWasm0(arg1, arg2));
|
|
424
|
+
},
|
|
425
|
+
__wbg_set_7eaa4f96924fd6b3: function() { return handleError(function (arg0, arg1, arg2) {
|
|
431
426
|
const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
|
|
432
427
|
return ret;
|
|
433
428
|
}, arguments); },
|
|
434
|
-
|
|
435
|
-
getObject(arg0).set(getArrayU32FromWasm0(arg1, arg2));
|
|
436
|
-
},
|
|
437
|
-
__wbg_set_cc56eefd2dd91957: function(arg0, arg1, arg2) {
|
|
429
|
+
__wbg_set_8c0b3ffcf05d61c2: function(arg0, arg1, arg2) {
|
|
438
430
|
getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
|
|
439
431
|
},
|
|
440
|
-
|
|
432
|
+
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
441
433
|
const ret = getObject(arg1).stack;
|
|
442
434
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
443
435
|
const len1 = WASM_VECTOR_LEN;
|
|
444
436
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
445
437
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
446
438
|
},
|
|
447
|
-
|
|
439
|
+
__wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
|
|
448
440
|
const ret = typeof global === 'undefined' ? null : global;
|
|
449
441
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
450
442
|
},
|
|
451
|
-
|
|
443
|
+
__wbg_static_accessor_GLOBAL_THIS_ad356e0db91c7913: function() {
|
|
452
444
|
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
453
445
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
454
446
|
},
|
|
455
|
-
|
|
447
|
+
__wbg_static_accessor_SELF_f207c857566db248: function() {
|
|
456
448
|
const ret = typeof self === 'undefined' ? null : self;
|
|
457
449
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
458
450
|
},
|
|
459
|
-
|
|
451
|
+
__wbg_static_accessor_WINDOW_bb9f1ba69d61b386: function() {
|
|
460
452
|
const ret = typeof window === 'undefined' ? null : window;
|
|
461
453
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
462
454
|
},
|
|
463
|
-
|
|
455
|
+
__wbg_subarray_0fc7892f987bb62d: function(arg0, arg1, arg2) {
|
|
464
456
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
465
457
|
return addHeapObject(ret);
|
|
466
458
|
},
|
|
467
|
-
|
|
459
|
+
__wbg_subarray_9644cfcb73f22ddb: function(arg0, arg1, arg2) {
|
|
468
460
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
469
461
|
return addHeapObject(ret);
|
|
470
462
|
},
|
|
471
|
-
|
|
472
|
-
const ret = getObject(arg0).then(getObject(arg1)
|
|
463
|
+
__wbg_then_098abe61755d12f6: function(arg0, arg1) {
|
|
464
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
473
465
|
return addHeapObject(ret);
|
|
474
466
|
},
|
|
475
|
-
|
|
476
|
-
const ret = getObject(arg0).then(getObject(arg1));
|
|
467
|
+
__wbg_then_9e335f6dd892bc11: function(arg0, arg1, arg2) {
|
|
468
|
+
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
477
469
|
return addHeapObject(ret);
|
|
478
470
|
},
|
|
479
|
-
|
|
471
|
+
__wbg_transferToImageBitmap_ccbead2735a31520: function() { return handleError(function (arg0) {
|
|
480
472
|
const ret = getObject(arg0).transferToImageBitmap();
|
|
481
473
|
return addHeapObject(ret);
|
|
482
474
|
}, arguments); },
|
|
483
|
-
|
|
475
|
+
__wbg_view_f68a712e7315f8b2: function(arg0) {
|
|
484
476
|
const ret = getObject(arg0).view;
|
|
485
477
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
486
478
|
},
|
|
487
|
-
|
|
479
|
+
__wbg_width_e0981c16dad36a72: function(arg0) {
|
|
488
480
|
const ret = getObject(arg0).width;
|
|
489
481
|
return ret;
|
|
490
482
|
},
|
|
491
483
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
492
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
493
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
484
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 132, function: Function { arguments: [Externref], shim_idx: 133, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
485
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_398, __wasm_bindgen_func_elem_407);
|
|
486
|
+
return addHeapObject(ret);
|
|
487
|
+
},
|
|
488
|
+
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
489
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 150, function: Function { arguments: [Externref], shim_idx: 151, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
490
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_747, __wasm_bindgen_func_elem_737);
|
|
494
491
|
return addHeapObject(ret);
|
|
495
492
|
},
|
|
496
|
-
|
|
493
|
+
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
497
494
|
// Cast intrinsic for `F64 -> Externref`.
|
|
498
495
|
const ret = arg0;
|
|
499
496
|
return addHeapObject(ret);
|
|
500
497
|
},
|
|
501
|
-
|
|
498
|
+
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
502
499
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
503
500
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
504
501
|
return addHeapObject(ret);
|
|
505
502
|
},
|
|
506
|
-
|
|
503
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
507
504
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
508
505
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
509
506
|
return addHeapObject(ret);
|
|
510
507
|
},
|
|
511
|
-
|
|
508
|
+
__wbindgen_cast_0000000000000006: function(arg0) {
|
|
512
509
|
// Cast intrinsic for `U64 -> Externref`.
|
|
513
510
|
const ret = BigInt.asUintN(64, arg0);
|
|
514
511
|
return addHeapObject(ret);
|
|
515
512
|
},
|
|
516
|
-
|
|
513
|
+
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
517
514
|
var v0 = getArrayF32FromWasm0(arg0, arg1).slice();
|
|
518
515
|
wasm.__wbindgen_export4(arg0, arg1 * 4, 4);
|
|
519
516
|
// Cast intrinsic for `Vector(F32) -> Externref`.
|
|
520
517
|
const ret = v0;
|
|
521
518
|
return addHeapObject(ret);
|
|
522
519
|
},
|
|
523
|
-
|
|
520
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
524
521
|
var v0 = getArrayU32FromWasm0(arg0, arg1).slice();
|
|
525
522
|
wasm.__wbindgen_export4(arg0, arg1 * 4, 4);
|
|
526
523
|
// Cast intrinsic for `Vector(U32) -> Externref`.
|
|
527
524
|
const ret = v0;
|
|
528
525
|
return addHeapObject(ret);
|
|
529
526
|
},
|
|
530
|
-
|
|
527
|
+
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
531
528
|
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
532
529
|
wasm.__wbindgen_export4(arg0, arg1 * 1, 1);
|
|
533
530
|
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
@@ -548,12 +545,26 @@ function __wbg_get_imports() {
|
|
|
548
545
|
};
|
|
549
546
|
}
|
|
550
547
|
|
|
551
|
-
function
|
|
552
|
-
wasm.
|
|
548
|
+
function __wasm_bindgen_func_elem_407(arg0, arg1, arg2) {
|
|
549
|
+
wasm.__wasm_bindgen_func_elem_407(arg0, arg1, addHeapObject(arg2));
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
function __wasm_bindgen_func_elem_737(arg0, arg1, arg2) {
|
|
553
|
+
try {
|
|
554
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
555
|
+
wasm.__wasm_bindgen_func_elem_737(retptr, arg0, arg1, addHeapObject(arg2));
|
|
556
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
557
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
558
|
+
if (r1) {
|
|
559
|
+
throw takeObject(r0);
|
|
560
|
+
}
|
|
561
|
+
} finally {
|
|
562
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
563
|
+
}
|
|
553
564
|
}
|
|
554
565
|
|
|
555
|
-
function
|
|
556
|
-
wasm.
|
|
566
|
+
function __wasm_bindgen_func_elem_1574(arg0, arg1, arg2, arg3) {
|
|
567
|
+
wasm.__wasm_bindgen_func_elem_1574(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
557
568
|
}
|
|
558
569
|
|
|
559
570
|
|
|
@@ -647,7 +658,7 @@ function debugString(val) {
|
|
|
647
658
|
}
|
|
648
659
|
|
|
649
660
|
function dropObject(idx) {
|
|
650
|
-
if (idx <
|
|
661
|
+
if (idx < 1028) return;
|
|
651
662
|
heap[idx] = heap_next;
|
|
652
663
|
heap_next = idx;
|
|
653
664
|
}
|
|
@@ -727,7 +738,7 @@ function handleError(f, args) {
|
|
|
727
738
|
}
|
|
728
739
|
}
|
|
729
740
|
|
|
730
|
-
let heap = new Array(
|
|
741
|
+
let heap = new Array(1024).fill(undefined);
|
|
731
742
|
heap.push(undefined, null, true, false);
|
|
732
743
|
|
|
733
744
|
let heap_next = heap.length;
|
|
Binary file
|
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const decodeTavio: (a: number, b: number, c: number) => number;
|
|
5
4
|
export const main: () => void;
|
|
6
5
|
export const registerEventHandler: (a: number) => number;
|
|
7
6
|
export const sort: (a: number, b: number, c: number) => number;
|
|
7
|
+
export const decodeTavio: (a: number, b: number, c: number) => number;
|
|
8
|
+
export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
9
|
+
export const intounderlyingsink_abort: (a: number, b: number) => number;
|
|
10
|
+
export const intounderlyingsink_close: (a: number) => number;
|
|
11
|
+
export const intounderlyingsink_write: (a: number, b: number) => number;
|
|
8
12
|
export const __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
9
13
|
export const intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
10
14
|
export const intounderlyingbytesource_cancel: (a: number) => void;
|
|
11
15
|
export const intounderlyingbytesource_pull: (a: number, b: number) => number;
|
|
12
16
|
export const intounderlyingbytesource_start: (a: number, b: number) => void;
|
|
13
17
|
export const intounderlyingbytesource_type: (a: number) => number;
|
|
14
|
-
export const __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
15
|
-
export const intounderlyingsink_abort: (a: number, b: number) => number;
|
|
16
|
-
export const intounderlyingsink_close: (a: number) => number;
|
|
17
|
-
export const intounderlyingsink_write: (a: number, b: number) => number;
|
|
18
18
|
export const __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
19
19
|
export const intounderlyingsource_cancel: (a: number) => void;
|
|
20
20
|
export const intounderlyingsource_pull: (a: number, b: number) => number;
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
export const
|
|
21
|
+
export const __wasm_bindgen_func_elem_398: (a: number, b: number) => void;
|
|
22
|
+
export const __wasm_bindgen_func_elem_747: (a: number, b: number) => void;
|
|
23
|
+
export const __wasm_bindgen_func_elem_737: (a: number, b: number, c: number, d: number) => void;
|
|
24
|
+
export const __wasm_bindgen_func_elem_1574: (a: number, b: number, c: number, d: number) => void;
|
|
25
|
+
export const __wasm_bindgen_func_elem_407: (a: number, b: number, c: number) => void;
|
|
24
26
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
25
27
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
26
28
|
export const __wbindgen_export3: (a: number) => void;
|
|
27
29
|
export const __wbindgen_export4: (a: number, b: number, c: number) => void;
|
|
30
|
+
export const __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
28
31
|
export const __wbindgen_start: () => void;
|
|
@@ -68,37 +68,41 @@ export function wbg_rayon_start_worker(receiver: number): void;
|
|
|
68
68
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
69
69
|
|
|
70
70
|
export interface InitOutput {
|
|
71
|
-
readonly sort: (a: number, b: number, c: number) => number;
|
|
72
71
|
readonly decodeTavio: (a: number, b: number, c: number) => number;
|
|
73
72
|
readonly registerEventHandler: (a: number) => number;
|
|
73
|
+
readonly sort: (a: number, b: number, c: number) => number;
|
|
74
74
|
readonly main: () => void;
|
|
75
|
+
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
76
|
+
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
77
|
+
readonly intounderlyingsource_pull: (a: number, b: number) => number;
|
|
78
|
+
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
79
|
+
readonly intounderlyingsink_abort: (a: number, b: number) => number;
|
|
80
|
+
readonly intounderlyingsink_close: (a: number) => number;
|
|
81
|
+
readonly intounderlyingsink_write: (a: number, b: number) => number;
|
|
75
82
|
readonly __wbg_intounderlyingbytesource_free: (a: number, b: number) => void;
|
|
76
83
|
readonly intounderlyingbytesource_autoAllocateChunkSize: (a: number) => number;
|
|
77
84
|
readonly intounderlyingbytesource_cancel: (a: number) => void;
|
|
78
85
|
readonly intounderlyingbytesource_pull: (a: number, b: number) => number;
|
|
79
86
|
readonly intounderlyingbytesource_start: (a: number, b: number) => void;
|
|
80
87
|
readonly intounderlyingbytesource_type: (a: number) => number;
|
|
81
|
-
readonly __wbg_intounderlyingsink_free: (a: number, b: number) => void;
|
|
82
|
-
readonly intounderlyingsink_abort: (a: number, b: number) => number;
|
|
83
|
-
readonly intounderlyingsink_close: (a: number) => number;
|
|
84
|
-
readonly intounderlyingsink_write: (a: number, b: number) => number;
|
|
85
|
-
readonly __wbg_intounderlyingsource_free: (a: number, b: number) => void;
|
|
86
|
-
readonly intounderlyingsource_cancel: (a: number) => void;
|
|
87
|
-
readonly intounderlyingsource_pull: (a: number, b: number) => number;
|
|
88
88
|
readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
|
|
89
89
|
readonly initThreadPool: (a: number) => number;
|
|
90
90
|
readonly wbg_rayon_poolbuilder_build: (a: number) => void;
|
|
91
91
|
readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
|
|
92
92
|
readonly wbg_rayon_poolbuilder_receiver: (a: number) => number;
|
|
93
93
|
readonly wbg_rayon_start_worker: (a: number) => void;
|
|
94
|
-
readonly
|
|
95
|
-
readonly
|
|
96
|
-
readonly
|
|
94
|
+
readonly __wasm_bindgen_func_elem_629: (a: number, b: number) => void;
|
|
95
|
+
readonly __wasm_bindgen_func_elem_664: (a: number, b: number) => void;
|
|
96
|
+
readonly __wasm_bindgen_func_elem_694: (a: number, b: number, c: number, d: number) => void;
|
|
97
|
+
readonly __wasm_bindgen_func_elem_1613: (a: number, b: number, c: number, d: number) => void;
|
|
98
|
+
readonly __wasm_bindgen_func_elem_570: (a: number, b: number, c: number) => void;
|
|
99
|
+
readonly __wasm_bindgen_func_elem_695: (a: number, b: number, c: number) => void;
|
|
97
100
|
readonly memory: WebAssembly.Memory;
|
|
98
101
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
99
102
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
100
103
|
readonly __wbindgen_export3: (a: number) => void;
|
|
101
104
|
readonly __wbindgen_export4: (a: number, b: number, c: number) => void;
|
|
105
|
+
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
102
106
|
readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
103
107
|
readonly __wbindgen_start: (a: number) => void;
|
|
104
108
|
}
|