@openheart/tavio-renderer 2.3.28-with-wasm → 2.3.30-with-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.
Files changed (42) hide show
  1. package/build/esm/assets/tavio-JUxSmuMi.js +602 -0
  2. package/build/esm/assets/{workerHelpers-B4q432Go.js → workerHelpers-yS8SNwfU.js} +1 -1
  3. package/build/esm/index.js +8817 -12148
  4. package/build/esm/types/module.d.ts +6 -0
  5. package/build/esm/types/{src/viewer → viewer}/canvas.d.ts +190 -25
  6. package/build/esm/types/{src/viewer → viewer}/materialGenerator.d.ts +13 -10
  7. package/build/esm/types/{src/viewer → viewer}/renderView.d.ts +1 -1
  8. package/build/esm/types/{src/viewer → viewer}/tavioMesh.d.ts +88 -6
  9. package/build/esm/wasm/pkg/no-thread/tavio.d.ts +11 -11
  10. package/build/esm/wasm/pkg/no-thread/tavio.js +119 -117
  11. package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm +0 -0
  12. package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm.d.ts +10 -10
  13. package/build/esm/wasm/pkg/thread/tavio.d.ts +7 -7
  14. package/build/esm/wasm/pkg/thread/tavio.js +145 -143
  15. package/build/esm/wasm/pkg/thread/tavio_bg.wasm +0 -0
  16. package/build/esm/wasm/pkg/thread/tavio_bg.wasm.d.ts +6 -6
  17. package/package.json +1 -1
  18. package/build/esm/assets/tavio-Do_DMzbT.js +0 -601
  19. package/build/esm/types/src/module.d.ts +0 -5
  20. /package/build/esm/types/{src/animation → animation}/animationController.d.ts +0 -0
  21. /package/build/esm/types/{src/camera → camera}/cameraCollider.d.ts +0 -0
  22. /package/build/esm/types/{src/camera → camera}/cameraPath.d.ts +0 -0
  23. /package/build/esm/types/{src/camera → camera}/cameraPathControls.d.ts +0 -0
  24. /package/build/esm/types/{src/camera → camera}/cameraPathManager.d.ts +0 -0
  25. /package/build/esm/types/{src/camera → camera}/flightControls.d.ts +0 -0
  26. /package/build/esm/types/{src/camera → camera}/orbitControls.d.ts +0 -0
  27. /package/build/esm/types/{src/camera → camera}/transferControls.d.ts +0 -0
  28. /package/build/esm/types/{src/editor → editor}/selector/boxSelector.d.ts +0 -0
  29. /package/build/esm/types/{src/editor → editor}/selector/selector.d.ts +0 -0
  30. /package/build/esm/types/{src/editor → editor}/selector/sphereSelector.d.ts +0 -0
  31. /package/build/esm/types/{src/extension → extension}/InstancedMeshEX.d.ts +0 -0
  32. /package/build/esm/types/{src/loader → loader}/streamLoader.d.ts +0 -0
  33. /package/build/esm/types/{src/math → math}/easing.d.ts +0 -0
  34. /package/build/esm/types/{src/math → math}/interpolation.d.ts +0 -0
  35. /package/build/esm/types/{src/utility → utility}/console.d.ts +0 -0
  36. /package/build/esm/types/{src/utility → utility}/plyDecoder.d.ts +0 -0
  37. /package/build/esm/types/{src/utility → utility}/utility.d.ts +0 -0
  38. /package/build/esm/types/{src/wasm-bindings → wasm-bindings}/wasm-handlers.d.ts +0 -0
  39. /package/build/esm/types/{src/wasm-bindings → wasm-bindings}/wasm-worker-client.d.ts +0 -0
  40. /package/build/esm/types/{src/wasm-bindings → wasm-bindings}/wasm-worker.d.ts +0 -0
  41. /package/build/esm/types/{src/wasm-bindings → wasm-bindings}/wasm.d.ts +0 -0
  42. /package/build/esm/types/{src/worker → worker}/tavioWorker.d.ts +0 -0
@@ -0,0 +1,602 @@
1
+ import { s as n } from "./workerHelpers-yS8SNwfU.js";
2
+ class e {
3
+ static __wrap(n2) {
4
+ const t2 = Object.create(e.prototype);
5
+ return t2.__wbg_ptr = n2, a.register(t2, t2.__wbg_ptr, t2), t2;
6
+ }
7
+ __destroy_into_raw() {
8
+ const n2 = this.__wbg_ptr;
9
+ return this.__wbg_ptr = 0, a.unregister(this), n2;
10
+ }
11
+ free() {
12
+ const n2 = this.__destroy_into_raw();
13
+ z.__wbg_wbg_rayon_poolbuilder_free(n2, 0);
14
+ }
15
+ build() {
16
+ z.wbg_rayon_poolbuilder_build(this.__wbg_ptr);
17
+ }
18
+ numThreads() {
19
+ return z.wbg_rayon_poolbuilder_numThreads(this.__wbg_ptr) >>> 0;
20
+ }
21
+ receiver() {
22
+ return z.wbg_rayon_poolbuilder_receiver(this.__wbg_ptr) >>> 0;
23
+ }
24
+ }
25
+ function t(n2) {
26
+ z.wbg_rayon_start_worker(n2);
27
+ }
28
+ function _(t2) {
29
+ const _2 = { __proto__: null, __wbg___wbindgen_boolean_get_c9c83ebd41b34df3: function(n2) {
30
+ const e2 = x(n2), t3 = "boolean" == typeof e2 ? e2 : void 0;
31
+ return O(t3) ? 16777215 : t3 ? 1 : 0;
32
+ }, __wbg___wbindgen_debug_string_a57024b9c6e4a48b: function(n2, e2) {
33
+ const t3 = j(b(x(e2)), z.__wbindgen_export, z.__wbindgen_export2), _3 = M;
34
+ l().setInt32(n2 + 4, _3, true), l().setInt32(n2 + 0, t3, true);
35
+ }, __wbg___wbindgen_is_function_5e4570eb24ffa122: function(n2) {
36
+ return "function" == typeof x(n2);
37
+ }, __wbg___wbindgen_is_null_7d13f41e1a2d5140: function(n2) {
38
+ return null === x(n2);
39
+ }, __wbg___wbindgen_is_object_a2790eb24c211ea0: function(n2) {
40
+ const e2 = x(n2);
41
+ return "object" == typeof e2 && null !== e2;
42
+ }, __wbg___wbindgen_is_undefined_6cff064c44e0d823: function(n2) {
43
+ return void 0 === x(n2);
44
+ }, __wbg___wbindgen_memory_5dc2a138835b0f8e: function() {
45
+ return u(z.memory);
46
+ }, __wbg___wbindgen_module_d70c256490b5f616: function() {
47
+ return u(T);
48
+ }, __wbg___wbindgen_number_get_136b9679cab35cfb: function(n2, e2) {
49
+ const t3 = x(e2), _3 = "number" == typeof t3 ? t3 : void 0;
50
+ l().setFloat64(n2 + 8, O(_3) ? 0 : _3, true), l().setInt32(n2 + 0, !O(_3), true);
51
+ }, __wbg___wbindgen_rethrow_fbd2dcd7d2b9ac5f: function(n2) {
52
+ throw F(n2);
53
+ }, __wbg___wbindgen_string_get_d154f1e671052120: function(n2, e2) {
54
+ const t3 = x(e2), _3 = "string" == typeof t3 ? t3 : void 0;
55
+ var r2 = O(_3) ? 0 : j(_3, z.__wbindgen_export, z.__wbindgen_export2), o2 = M;
56
+ l().setInt32(n2 + 4, o2, true), l().setInt32(n2 + 0, r2, true);
57
+ }, __wbg___wbindgen_throw_bb96b2010945f0bc: function(n2, e2) {
58
+ throw new Error(p(n2, e2));
59
+ }, __wbg__wbg_cb_unref_be22cc64ae6946a0: function(n2) {
60
+ x(n2)._wbg_cb_unref();
61
+ }, __wbg_allocateSharedArrayBuffer_6fe46699bf03ba1c: function(n2, e2) {
62
+ return u(allocateSharedArrayBuffer(F(n2), e2 >>> 0));
63
+ }, __wbg_arrayBuffer_16433f17fbd74397: function() {
64
+ return R(function(n2) {
65
+ return u(x(n2).arrayBuffer());
66
+ }, arguments);
67
+ }, __wbg_async_a8daea0f547e8eaa: function(n2) {
68
+ return x(n2).async;
69
+ }, __wbg_body_eb2e7e7701fa47ae: function(n2) {
70
+ const e2 = x(n2).body;
71
+ return O(e2) ? 0 : u(e2);
72
+ }, __wbg_buffer_78291c0e094ccf99: function(n2) {
73
+ return u(x(n2).buffer);
74
+ }, __wbg_buffer_8117fe4dab119813: function(n2) {
75
+ return u(x(n2).buffer);
76
+ }, __wbg_byobRequest_f8b1c89429b77545: function(n2) {
77
+ const e2 = x(n2).byobRequest;
78
+ return O(e2) ? 0 : u(e2);
79
+ }, __wbg_byteLength_336bc7d303511ba0: function(n2) {
80
+ return x(n2).byteLength;
81
+ }, __wbg_byteOffset_2b1d5b10453ce198: function(n2) {
82
+ return x(n2).byteOffset;
83
+ }, __wbg_call_35dba3c747ad7521: function() {
84
+ return R(function(n2, e2, t3) {
85
+ return u(x(n2).call(x(e2), x(t3)));
86
+ }, arguments);
87
+ }, __wbg_cancel_9610ed0dbe990e64: function(n2) {
88
+ return u(x(n2).cancel());
89
+ }, __wbg_catch_8094577c3f159ad5: function(n2, e2) {
90
+ return u(x(n2).catch(x(e2)));
91
+ }, __wbg_close_72f69f5f2de2bc73: function() {
92
+ return R(function(n2) {
93
+ x(n2).close();
94
+ }, arguments);
95
+ }, __wbg_close_97cdb44c3a7878f6: function() {
96
+ return R(function(n2) {
97
+ x(n2).close();
98
+ }, arguments);
99
+ }, __wbg_data_e8364fec9b39caa4: function(n2) {
100
+ return u(x(n2).data);
101
+ }, __wbg_enqueue_7d68a21eda78e72f: function() {
102
+ return R(function(n2, e2) {
103
+ x(n2).enqueue(x(e2));
104
+ }, arguments);
105
+ }, __wbg_error_757e9472f8410341: function(n2, e2) {
106
+ let t3, _3;
107
+ try {
108
+ t3 = n2, _3 = e2, console.error(p(n2, e2));
109
+ } finally {
110
+ z.__wbindgen_export4(t3, _3, 1);
111
+ }
112
+ }, __wbg_error_8bcce74c74c5a1ab: function(n2, e2) {
113
+ console.error(p(n2, e2));
114
+ }, __wbg_getContext_c5236e0057b35024: function() {
115
+ return R(function(n2, e2, t3) {
116
+ const _3 = x(n2).getContext(p(e2, t3));
117
+ return O(_3) ? 0 : u(_3);
118
+ }, arguments);
119
+ }, __wbg_getReader_b4b1868fbca77dbe: function() {
120
+ return R(function(n2) {
121
+ return u(x(n2).getReader());
122
+ }, arguments);
123
+ }, __wbg_get_7473564f5d9fdd2a: function() {
124
+ return R(function(n2, e2, t3, _3) {
125
+ const r2 = x(e2).get(p(t3, _3));
126
+ var o2 = O(r2) ? 0 : j(r2, z.__wbindgen_export, z.__wbindgen_export2), c2 = M;
127
+ l().setInt32(n2 + 4, c2, true), l().setInt32(n2 + 0, o2, true);
128
+ }, arguments);
129
+ }, __wbg_get_971a0c45d172643f: function() {
130
+ return R(function(n2, e2) {
131
+ return u(Reflect.get(x(n2), x(e2)));
132
+ }, arguments);
133
+ }, __wbg_get_done_ce5b5691b59c07f2: function(n2) {
134
+ const e2 = x(n2).done;
135
+ return O(e2) ? 16777215 : e2 ? 1 : 0;
136
+ }, __wbg_get_value_58309ba057b715e1: function(n2) {
137
+ return u(x(n2).value);
138
+ }, __wbg_headers_92567b07014384b9: function(n2) {
139
+ return u(x(n2).headers);
140
+ }, __wbg_instanceof_OffscreenCanvasRenderingContext2d_bf5c11dbcfe648e6: function(n2) {
141
+ let e2;
142
+ try {
143
+ e2 = x(n2) instanceof OffscreenCanvasRenderingContext2D;
144
+ } catch (n3) {
145
+ e2 = false;
146
+ }
147
+ return e2;
148
+ }, __wbg_instanceof_Promise_e6e764b945c3128a: function(n2) {
149
+ let e2;
150
+ try {
151
+ e2 = x(n2) instanceof Promise;
152
+ } catch (n3) {
153
+ e2 = false;
154
+ }
155
+ return e2;
156
+ }, __wbg_instanceof_Response_8f49efbd4bfd76d6: function(n2) {
157
+ let e2;
158
+ try {
159
+ e2 = x(n2) instanceof Response;
160
+ } catch (n3) {
161
+ e2 = false;
162
+ }
163
+ return e2;
164
+ }, __wbg_instanceof_SharedArrayBuffer_c734e76df6d827cb: function(n2) {
165
+ let e2;
166
+ try {
167
+ e2 = x(n2) instanceof SharedArrayBuffer;
168
+ } catch (n3) {
169
+ e2 = false;
170
+ }
171
+ return e2;
172
+ }, __wbg_instanceof_Uint8Array_f935dbb0aa7cdeed: function(n2) {
173
+ let e2;
174
+ try {
175
+ e2 = x(n2) instanceof Uint8Array;
176
+ } catch (n3) {
177
+ e2 = false;
178
+ }
179
+ return e2;
180
+ }, __wbg_instanceof_Window_5625ff9937037a38: function(n2) {
181
+ let e2;
182
+ try {
183
+ e2 = x(n2) instanceof Window;
184
+ } catch (n3) {
185
+ e2 = false;
186
+ }
187
+ return e2;
188
+ }, __wbg_length_1009454859bb3e03: function(n2) {
189
+ return x(n2).length;
190
+ }, __wbg_length_13032799523c5735: function(n2) {
191
+ return x(n2).length;
192
+ }, __wbg_length_36bd29c6848c2144: function(n2) {
193
+ return x(n2).length;
194
+ }, __wbg_length_7528cf2a241bef97: function(n2) {
195
+ return x(n2).length;
196
+ }, __wbg_length_dba09af5a8c29b92: function(n2) {
197
+ return x(n2).length;
198
+ }, __wbg_log_d9d25e056abe7dcd: function(n2, e2) {
199
+ console.log(p(n2, e2));
200
+ }, __wbg_new_116be93542d39019: function() {
201
+ return u(new Array());
202
+ }, __wbg_new_227d7c05414eb861: function() {
203
+ return u(new Error());
204
+ }, __wbg_new_358857d90afd5a2d: function(n2, e2) {
205
+ return u(new Error(p(n2, e2)));
206
+ }, __wbg_new_418fb92a013d5930: function(n2, e2) {
207
+ try {
208
+ var t3 = { a: n2, b: e2 };
209
+ const _3 = new Promise((n3, e3) => {
210
+ const _4 = t3.a;
211
+ t3.a = 0;
212
+ try {
213
+ return i(_4, t3.b, n3, e3);
214
+ } finally {
215
+ t3.a = _4;
216
+ }
217
+ });
218
+ return u(_3);
219
+ } finally {
220
+ t3.a = 0;
221
+ }
222
+ }, __wbg_new_652118cdee90118f: function() {
223
+ return R(function(n2, e2) {
224
+ return u(new OffscreenCanvas(n2 >>> 0, e2 >>> 0));
225
+ }, arguments);
226
+ }, __wbg_new_77cc4f4f472aeb81: function(n2) {
227
+ return u(new Uint8Array(x(n2)));
228
+ }, __wbg_new_ebe3e0f6837f0879: function() {
229
+ return u(new Object());
230
+ }, __wbg_new_f545e2e1ea609f29: function(n2) {
231
+ return u(new Int32Array(x(n2)));
232
+ }, __wbg_new_from_slice_3eea173078478cfe: function(n2, e2) {
233
+ return u(new Uint8Array(g(n2, e2)));
234
+ }, __wbg_new_from_slice_709ab7061ebcc5da: function(n2, e2) {
235
+ return u(new Float32Array(s(n2, e2)));
236
+ }, __wbg_new_typed_cceaf62d8d95e9f2: function(n2, e2) {
237
+ try {
238
+ var t3 = { a: n2, b: e2 };
239
+ const _3 = new Promise((n3, e3) => {
240
+ const _4 = t3.a;
241
+ t3.a = 0;
242
+ try {
243
+ return i(_4, t3.b, n3, e3);
244
+ } finally {
245
+ t3.a = _4;
246
+ }
247
+ });
248
+ return u(_3);
249
+ } finally {
250
+ t3.a = 0;
251
+ }
252
+ }, __wbg_new_with_byte_offset_and_length_ff6e927f8d72f0c3: function(n2, e2, t3) {
253
+ return u(new Uint8Array(x(n2), e2 >>> 0, t3 >>> 0));
254
+ }, __wbg_new_with_js_u8_clamped_array_and_sh_f73ed7bddccdab21: function() {
255
+ return R(function(n2, e2, t3) {
256
+ return u(new ImageData(x(n2), e2 >>> 0, t3 >>> 0));
257
+ }, arguments);
258
+ }, __wbg_new_with_length_5d351ffdb6e3397d: function(n2) {
259
+ return u(new Uint8ClampedArray(n2 >>> 0));
260
+ }, __wbg_new_worker_b0d92a7c5ee3d84d: function(n2, e2) {
261
+ return u(new Worker(p(n2, e2)));
262
+ }, __wbg_of_79747c3f25a53502: function(n2, e2, t3) {
263
+ return u(Array.of(x(n2), x(e2), x(t3)));
264
+ }, __wbg_postMessage_99ea49fc49d53c0b: function() {
265
+ return R(function(n2, e2) {
266
+ x(n2).postMessage(x(e2));
267
+ }, arguments);
268
+ }, __wbg_prototypesetcall_10722f4fde830f07: function(n2, e2, t3) {
269
+ Float32Array.prototype.set.call(s(n2, e2), x(t3));
270
+ }, __wbg_prototypesetcall_44c18567096b467d: function(n2, e2, t3) {
271
+ var _3, r2;
272
+ Uint16Array.prototype.set.call((_3 = n2, r2 = e2, _3 >>>= 0, (null !== m && m.buffer === z.memory.buffer || (m = new Uint16Array(z.memory.buffer)), m).subarray(_3 / 2, _3 / 2 + r2)), x(t3));
273
+ }, __wbg_prototypesetcall_8cddc0588056dcdb: function(n2, e2, t3) {
274
+ Uint32Array.prototype.set.call(d(n2, e2), x(t3));
275
+ }, __wbg_prototypesetcall_de8e0d9553586985: function(n2, e2, t3) {
276
+ Uint8Array.prototype.set.call(g(n2, e2), x(t3));
277
+ }, __wbg_push_adb0107829f02d75: function(n2, e2) {
278
+ return x(n2).push(x(e2));
279
+ }, __wbg_putImageData_d59d670c03c504e2: function() {
280
+ return R(function(n2, e2, t3, _3) {
281
+ x(n2).putImageData(x(e2), t3, _3);
282
+ }, arguments);
283
+ }, __wbg_queueMicrotask_ac694eae12e92dfb: function(n2) {
284
+ queueMicrotask(x(n2));
285
+ }, __wbg_queueMicrotask_be5fe34a8f4cad4d: function(n2) {
286
+ return u(x(n2).queueMicrotask);
287
+ }, __wbg_read_ae34ffedeb11f034: function(n2) {
288
+ return u(x(n2).read());
289
+ }, __wbg_releaseLock_f38d2d1c08212a8a: function(n2) {
290
+ x(n2).releaseLock();
291
+ }, __wbg_resolve_020f95d838c6ef25: function(n2) {
292
+ return u(Promise.resolve(x(n2)));
293
+ }, __wbg_respond_f88cbcebace42068: function() {
294
+ return R(function(n2, e2) {
295
+ x(n2).respond(e2 >>> 0);
296
+ }, arguments);
297
+ }, __wbg_set_5c15d3c5973de97a: function(n2, e2, t3) {
298
+ x(n2).set(g(e2, t3));
299
+ }, __wbg_set_8155bb79a948541b: function() {
300
+ return R(function(n2, e2, t3) {
301
+ return Reflect.set(x(n2), x(e2), x(t3));
302
+ }, arguments);
303
+ }, __wbg_set_862c439a342a8818: function(n2, e2, t3) {
304
+ x(n2).set(x(e2), t3 >>> 0);
305
+ }, __wbg_set_b9b5b5cb7b495037: function(n2, e2, t3) {
306
+ x(n2).set(g(e2, t3));
307
+ }, __wbg_set_e575799cdfbae72f: function(n2, e2, t3) {
308
+ x(n2).set(d(e2, t3));
309
+ }, __wbg_set_onmessage_ed4e5288e2e3af6f: function(n2, e2) {
310
+ x(n2).onmessage = x(e2);
311
+ }, __wbg_stack_3b0d974bbf31e44f: function(n2, e2) {
312
+ const t3 = j(x(e2).stack, z.__wbindgen_export, z.__wbindgen_export2), _3 = M;
313
+ l().setInt32(n2 + 4, _3, true), l().setInt32(n2 + 0, t3, true);
314
+ }, __wbg_startWorkers_8b582d57e92bd2d4: function(t3, _3, r2) {
315
+ return u(n(F(t3), F(_3), e.__wrap(r2)));
316
+ }, __wbg_static_accessor_GLOBAL_THIS_466428f93b4eaa76: function() {
317
+ const n2 = "undefined" == typeof globalThis ? null : globalThis;
318
+ return O(n2) ? 0 : u(n2);
319
+ }, __wbg_static_accessor_GLOBAL_c7aea38d4de089bc: function() {
320
+ const n2 = "undefined" == typeof global ? null : global;
321
+ return O(n2) ? 0 : u(n2);
322
+ }, __wbg_static_accessor_SELF_42d4fae05e59267a: function() {
323
+ const n2 = "undefined" == typeof self ? null : self;
324
+ return O(n2) ? 0 : u(n2);
325
+ }, __wbg_static_accessor_WINDOW_e0db14a0eba6a812: function() {
326
+ const n2 = "undefined" == typeof window ? null : window;
327
+ return O(n2) ? 0 : u(n2);
328
+ }, __wbg_subarray_095365bb46f94afd: function(n2, e2, t3) {
329
+ return u(x(n2).subarray(e2 >>> 0, t3 >>> 0));
330
+ }, __wbg_subarray_a4cc58201c7359fd: function(n2, e2, t3) {
331
+ return u(x(n2).subarray(e2 >>> 0, t3 >>> 0));
332
+ }, __wbg_subarray_c08acc355b325c86: function(n2, e2, t3) {
333
+ return u(x(n2).subarray(e2 >>> 0, t3 >>> 0));
334
+ }, __wbg_subarray_e3ceefdfcd5100ac: function(n2, e2, t3) {
335
+ return u(x(n2).subarray(e2 >>> 0, t3 >>> 0));
336
+ }, __wbg_then_03887f33d8da4f96: function(n2, e2) {
337
+ return u(x(n2).then(x(e2)));
338
+ }, __wbg_then_7026b513a94278a8: function(n2, e2) {
339
+ return u(x(n2).then(x(e2)));
340
+ }, __wbg_then_72819b8d4e081fb5: function(n2, e2, t3) {
341
+ return u(x(n2).then(x(e2), x(t3)));
342
+ }, __wbg_transferToImageBitmap_4c01399ad9e94dff: function() {
343
+ return R(function(n2) {
344
+ return u(x(n2).transferToImageBitmap());
345
+ }, arguments);
346
+ }, __wbg_value_542338ffd3de015d: function(n2) {
347
+ return u(x(n2).value);
348
+ }, __wbg_view_7685fe4b2845c5b6: function(n2) {
349
+ const e2 = x(n2).view;
350
+ return O(e2) ? 0 : u(e2);
351
+ }, __wbg_waitAsync_442a13a06eeeb381: function() {
352
+ return u(Atomics.waitAsync);
353
+ }, __wbg_waitAsync_ea6a3c85af0d1191: function(n2, e2, t3) {
354
+ return u(Atomics.waitAsync(x(n2), e2 >>> 0, t3));
355
+ }, __wbg_warn_660349d377654750: function(n2, e2) {
356
+ console.warn(p(n2, e2));
357
+ }, __wbindgen_cast_0000000000000001: function(n2, e2) {
358
+ return u(U(n2, e2, r));
359
+ }, __wbindgen_cast_0000000000000002: function(n2, e2) {
360
+ return u(U(n2, e2, c));
361
+ }, __wbindgen_cast_0000000000000003: function(n2, e2) {
362
+ return u(U(n2, e2, o));
363
+ }, __wbindgen_cast_0000000000000004: function(n2) {
364
+ return u(n2);
365
+ }, __wbindgen_cast_0000000000000005: function(n2, e2) {
366
+ return u(g(n2, e2));
367
+ }, __wbindgen_cast_0000000000000006: function(n2, e2) {
368
+ return u(p(n2, e2));
369
+ }, __wbindgen_cast_0000000000000007: function(n2) {
370
+ return u(BigInt.asUintN(64, n2));
371
+ }, __wbindgen_cast_0000000000000008: function(n2, e2) {
372
+ var t3 = s(n2, e2).slice();
373
+ z.__wbindgen_export4(n2, 4 * e2, 4);
374
+ return u(t3);
375
+ }, __wbindgen_cast_0000000000000009: function(n2, e2) {
376
+ var t3 = (function(n3, e3) {
377
+ n3 >>>= 0;
378
+ const t4 = l(), _3 = [];
379
+ for (let r2 = n3; r2 < n3 + 4 * e3; r2 += 4) _3.push(F(t4.getUint32(r2, true)));
380
+ return _3;
381
+ })(n2, e2);
382
+ z.__wbindgen_export4(n2, 4 * e2, 4);
383
+ return u(t3);
384
+ }, __wbindgen_cast_000000000000000a: function(n2, e2) {
385
+ var t3 = d(n2, e2).slice();
386
+ z.__wbindgen_export4(n2, 4 * e2, 4);
387
+ return u(t3);
388
+ }, __wbindgen_cast_000000000000000b: function(n2, e2) {
389
+ var t3 = g(n2, e2).slice();
390
+ z.__wbindgen_export4(n2, 1 * e2, 1);
391
+ return u(t3);
392
+ }, __wbindgen_link_5a1fa9a05318ea21: function(n2) {
393
+ const e2 = "onmessage = function (ev) {\n let [ia, index, value] = ev.data;\n ia = new Int32Array(ia.buffer);\n let result = Atomics.wait(ia, index, value);\n postMessage(result);\n };\n ", t3 = j(void 0 === URL.createObjectURL ? "data:application/javascript," + encodeURIComponent(e2) : URL.createObjectURL(new Blob([e2], { type: "text/javascript" })), z.__wbindgen_export, z.__wbindgen_export2), _3 = M;
394
+ l().setInt32(n2 + 4, _3, true), l().setInt32(n2 + 0, t3, true);
395
+ }, __wbindgen_object_clone_ref: function(n2) {
396
+ return u(x(n2));
397
+ }, __wbindgen_object_drop_ref: function(n2) {
398
+ F(n2);
399
+ }, memory: t2 || new WebAssembly.Memory({ initial: 21, maximum: 32768, shared: true }) };
400
+ return { __proto__: null, "./tavio_bg.js": _2 };
401
+ }
402
+ function r(n2, e2, t2) {
403
+ z.__wasm_bindgen_func_elem_1242(n2, e2, u(t2));
404
+ }
405
+ function o(n2, e2, t2) {
406
+ z.__wasm_bindgen_func_elem_3145(n2, e2, u(t2));
407
+ }
408
+ function c(n2, e2, t2) {
409
+ try {
410
+ const r2 = z.__wbindgen_add_to_stack_pointer(-16);
411
+ z.__wasm_bindgen_func_elem_3143(r2, n2, e2, u(t2));
412
+ var _2 = l().getInt32(r2 + 0, true);
413
+ if (l().getInt32(r2 + 4, true)) throw F(_2);
414
+ } finally {
415
+ z.__wbindgen_add_to_stack_pointer(16);
416
+ }
417
+ }
418
+ function i(n2, e2, t2, _2) {
419
+ z.__wasm_bindgen_func_elem_3146(n2, e2, u(t2), u(_2));
420
+ }
421
+ Symbol.dispose && (e.prototype[Symbol.dispose] = e.prototype.free), "undefined" == typeof FinalizationRegistry || new FinalizationRegistry((n2) => z.__wbg_intounderlyingbytesource_free(n2, 1)), "undefined" == typeof FinalizationRegistry || new FinalizationRegistry((n2) => z.__wbg_intounderlyingsink_free(n2, 1)), "undefined" == typeof FinalizationRegistry || new FinalizationRegistry((n2) => z.__wbg_intounderlyingsource_free(n2, 1));
422
+ const a = "undefined" == typeof FinalizationRegistry ? { register: () => {
423
+ }, unregister: () => {
424
+ } } : new FinalizationRegistry((n2) => z.__wbg_wbg_rayon_poolbuilder_free(n2, 1));
425
+ function u(n2) {
426
+ k === I.length && I.push(I.length + 1);
427
+ const e2 = k;
428
+ return k = I[e2], I[e2] = n2, e2;
429
+ }
430
+ const f = "undefined" == typeof FinalizationRegistry ? { register: () => {
431
+ }, unregister: () => {
432
+ } } : new FinalizationRegistry((n2) => z.__wbindgen_export5(n2.a, n2.b));
433
+ function b(n2) {
434
+ const e2 = typeof n2;
435
+ if ("number" == e2 || "boolean" == e2 || null == n2) return `${n2}`;
436
+ if ("string" == e2) return `"${n2}"`;
437
+ if ("symbol" == e2) {
438
+ const e3 = n2.description;
439
+ return null == e3 ? "Symbol" : `Symbol(${e3})`;
440
+ }
441
+ if ("function" == e2) {
442
+ const e3 = n2.name;
443
+ return "string" == typeof e3 && e3.length > 0 ? `Function(${e3})` : "Function";
444
+ }
445
+ if (Array.isArray(n2)) {
446
+ const e3 = n2.length;
447
+ let t3 = "[";
448
+ e3 > 0 && (t3 += b(n2[0]));
449
+ for (let _3 = 1; _3 < e3; _3++) t3 += ", " + b(n2[_3]);
450
+ return t3 += "]", t3;
451
+ }
452
+ const t2 = /\[object ([^\]]+)\]/.exec(toString.call(n2));
453
+ let _2;
454
+ if (!(t2 && t2.length > 1)) return toString.call(n2);
455
+ if (_2 = t2[1], "Object" == _2) try {
456
+ return "Object(" + JSON.stringify(n2) + ")";
457
+ } catch (n3) {
458
+ return "Object";
459
+ }
460
+ return n2 instanceof Error ? `${n2.name}: ${n2.message}
461
+ ${n2.stack}` : _2;
462
+ }
463
+ function s(n2, e2) {
464
+ return n2 >>>= 0, (function() {
465
+ null !== y && y.buffer === z.memory.buffer || (y = new Float32Array(z.memory.buffer));
466
+ return y;
467
+ })().subarray(n2 / 4, n2 / 4 + e2);
468
+ }
469
+ function d(n2, e2) {
470
+ return n2 >>>= 0, (function() {
471
+ null !== h && h.buffer === z.memory.buffer || (h = new Uint32Array(z.memory.buffer));
472
+ return h;
473
+ })().subarray(n2 / 4, n2 / 4 + e2);
474
+ }
475
+ function g(n2, e2) {
476
+ return n2 >>>= 0, A().subarray(n2 / 1, n2 / 1 + e2);
477
+ }
478
+ let w = null;
479
+ function l() {
480
+ return null !== w && w.buffer === z.memory.buffer || (w = new DataView(z.memory.buffer)), w;
481
+ }
482
+ let y = null;
483
+ function p(n2, e2) {
484
+ return (function(n3, e3) {
485
+ B += e3, B >= W && (S = new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }), S.decode(), B = e3);
486
+ return S.decode(A().slice(n3, n3 + e3));
487
+ })(n2 >>> 0, e2);
488
+ }
489
+ let m = null;
490
+ let h = null;
491
+ let v = null;
492
+ function A() {
493
+ return null !== v && v.buffer === z.memory.buffer || (v = new Uint8Array(z.memory.buffer)), v;
494
+ }
495
+ function x(n2) {
496
+ return I[n2];
497
+ }
498
+ function R(n2, e2) {
499
+ try {
500
+ return n2.apply(this, e2);
501
+ } catch (n3) {
502
+ z.__wbindgen_export3(u(n3));
503
+ }
504
+ }
505
+ let I = new Array(1024).fill(void 0);
506
+ I.push(void 0, null, true, false);
507
+ let k = I.length;
508
+ function O(n2) {
509
+ return null == n2;
510
+ }
511
+ function U(n2, e2, t2) {
512
+ const _2 = { a: n2, b: e2, cnt: 1 }, r2 = (...n3) => {
513
+ _2.cnt++;
514
+ const e3 = _2.a;
515
+ _2.a = 0;
516
+ try {
517
+ return t2(e3, _2.b, ...n3);
518
+ } finally {
519
+ _2.a = e3, r2._wbg_cb_unref();
520
+ }
521
+ };
522
+ return r2._wbg_cb_unref = () => {
523
+ 0 === --_2.cnt && (z.__wbindgen_export5(_2.a, _2.b), _2.a = 0, f.unregister(_2));
524
+ }, f.register(r2, _2, _2), r2;
525
+ }
526
+ function j(n2, e2, t2) {
527
+ if (void 0 === t2) {
528
+ const t3 = L.encode(n2), _3 = e2(t3.length, 1) >>> 0;
529
+ return A().subarray(_3, _3 + t3.length).set(t3), M = t3.length, _3;
530
+ }
531
+ let _2 = n2.length, r2 = e2(_2, 1) >>> 0;
532
+ const o2 = A();
533
+ let c2 = 0;
534
+ for (; c2 < _2; c2++) {
535
+ const e3 = n2.charCodeAt(c2);
536
+ if (e3 > 127) break;
537
+ o2[r2 + c2] = e3;
538
+ }
539
+ if (c2 !== _2) {
540
+ 0 !== c2 && (n2 = n2.slice(c2)), r2 = t2(r2, _2, _2 = c2 + 3 * n2.length, 1) >>> 0;
541
+ const e3 = A().subarray(r2 + c2, r2 + _2);
542
+ c2 += L.encodeInto(n2, e3).written, r2 = t2(r2, _2, c2, 1) >>> 0;
543
+ }
544
+ return M = c2, r2;
545
+ }
546
+ function F(n2) {
547
+ const e2 = x(n2);
548
+ return (function(n3) {
549
+ n3 < 1028 || (I[n3] = k, k = n3);
550
+ })(n2), e2;
551
+ }
552
+ let S = "undefined" != typeof TextDecoder ? new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }) : void 0;
553
+ S && S.decode();
554
+ const W = 2146435072;
555
+ let B = 0;
556
+ const L = "undefined" != typeof TextEncoder ? new TextEncoder() : void 0;
557
+ L && (L.encodeInto = function(n2, e2) {
558
+ const t2 = L.encode(n2);
559
+ return e2.set(t2), { read: n2.length, written: t2.length };
560
+ });
561
+ let T, z, M = 0;
562
+ async function C(n2, e2) {
563
+ if (void 0 !== z) return z;
564
+ let t2;
565
+ void 0 !== n2 && (Object.getPrototypeOf(n2) === Object.prototype ? { module_or_path: n2, memory: e2, thread_stack_size: t2 } = n2 : console.warn("using deprecated parameters for the initialization function; pass a single object instead"));
566
+ const r2 = _(e2);
567
+ ("string" == typeof n2 || "function" == typeof Request && n2 instanceof Request || "function" == typeof URL && n2 instanceof URL) && (n2 = fetch(n2));
568
+ const { instance: o2, module: c2 } = await (async function(n3, e3) {
569
+ if ("function" == typeof Response && n3 instanceof Response) {
570
+ if (!n3.ok) throw new Error(`failed to fetch Wasm: ${n3.status} ${n3.statusText} fetching '${n3.url}'`);
571
+ if ("function" == typeof WebAssembly.instantiateStreaming) try {
572
+ return await WebAssembly.instantiateStreaming(n3, e3);
573
+ } catch (e4) {
574
+ if (!(function(n4) {
575
+ switch (n4) {
576
+ case "basic":
577
+ case "cors":
578
+ case "default":
579
+ return true;
580
+ }
581
+ return false;
582
+ })(n3.type) || "application/wasm" === n3.headers.get("Content-Type")) throw e4;
583
+ 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", e4);
584
+ }
585
+ const t3 = await n3.arrayBuffer();
586
+ return await WebAssembly.instantiate(t3, e3);
587
+ }
588
+ {
589
+ const t3 = await WebAssembly.instantiate(n3, e3);
590
+ return t3 instanceof WebAssembly.Instance ? { instance: t3, module: n3 } : t3;
591
+ }
592
+ })(await n2, r2);
593
+ return (function(n3, e3, t3) {
594
+ if (z = n3.exports, T = e3, w = null, y = null, m = null, h = null, v = null, void 0 !== t3 && ("number" != typeof t3 || 0 === t3 || t3 % 65536 != 0)) throw new Error("invalid stack size");
595
+ return z.__wbindgen_start(t3), z;
596
+ })(o2, c2, t2);
597
+ }
598
+ export {
599
+ C as default,
600
+ e as wbg_rayon_PoolBuilder,
601
+ t as wbg_rayon_start_worker
602
+ };
@@ -14,7 +14,7 @@ async function r(r2, n, t) {
14
14
  })), t.build();
15
15
  }
16
16
  e(self, "wasm_bindgen_worker_init").then(async ({ init: e2, receiver: r2 }) => {
17
- const n = await import("./tavio-Do_DMzbT.js");
17
+ const n = await import("./tavio-JUxSmuMi.js");
18
18
  await n.default(e2), postMessage({ type: "wasm_bindgen_worker_ready" }), n.wbg_rayon_start_worker(r2);
19
19
  });
20
20
  export {