@openheart/tavio-renderer 2.3.30-with-wasm → 2.5.0

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 (40) hide show
  1. package/build/esm/assets/{tavio-JUxSmuMi.js → tavio-2ixVQ2OF.js} +149 -149
  2. package/build/esm/assets/{workerHelpers-yS8SNwfU.js → workerHelpers-DfEuvGGn.js} +1 -1
  3. package/build/esm/index.js +8609 -6542
  4. package/build/esm/types/camera/cameraPath.d.ts +37 -3
  5. package/build/esm/types/editor/selector/boxSelector.d.ts +4 -3
  6. package/build/esm/types/editor/selector/cameraSelector.d.ts +57 -0
  7. package/build/esm/types/editor/selector/selector.d.ts +25 -1
  8. package/build/esm/types/editor/selector/sphereSelector.d.ts +1 -0
  9. package/build/esm/types/module.d.ts +5 -4
  10. package/build/esm/types/viewer/canvas.d.ts +159 -1560
  11. package/build/esm/types/viewer/constants.d.ts +99 -0
  12. package/build/esm/types/viewer/driver/coreDriver.d.ts +1474 -0
  13. package/build/esm/types/viewer/driver/iCoreDriver.d.ts +224 -0
  14. package/build/esm/types/viewer/driver/offscreenDriver.d.ts +231 -0
  15. package/build/esm/types/viewer/driver/rpcBridge.d.ts +39 -0
  16. package/build/esm/types/viewer/driver/workerElementAdapter.d.ts +66 -0
  17. package/build/esm/types/viewer/materialGenerator.d.ts +24 -27
  18. package/build/esm/types/viewer/renderView.d.ts +4 -3
  19. package/build/esm/types/viewer/shaderRegistry.d.ts +22 -0
  20. package/build/esm/types/viewer/tavioMesh/localTransform.d.ts +65 -0
  21. package/build/esm/types/viewer/tavioMesh/minMaxRange.d.ts +47 -0
  22. package/build/esm/types/viewer/tavioMesh/parsers/imageParser.d.ts +14 -0
  23. package/build/esm/types/{utility/plyDecoder.d.ts → viewer/tavioMesh/parsers/plyParser.d.ts} +4 -15
  24. package/build/esm/types/viewer/tavioMesh/parsers/splatParser.d.ts +12 -0
  25. package/build/esm/types/viewer/tavioMesh/selection.d.ts +39 -0
  26. package/build/esm/types/viewer/{tavioMesh.d.ts → tavioMesh/tavioMesh.d.ts} +73 -62
  27. package/build/esm/types/viewer/types.d.ts +376 -0
  28. package/build/esm/types/wasm-bindings/wasm-worker-client.d.ts +10 -0
  29. package/build/esm/types/worker/renderingWorker.d.ts +8 -0
  30. package/build/esm/types/worker/tavioWorker.d.ts +1 -1
  31. package/build/esm/wasm/pkg/no-thread/tavio.d.ts +13 -13
  32. package/build/esm/wasm/pkg/no-thread/tavio.js +123 -123
  33. package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm +0 -0
  34. package/build/esm/wasm/pkg/no-thread/tavio_bg.wasm.d.ts +13 -13
  35. package/build/esm/wasm/pkg/thread/tavio.d.ts +17 -17
  36. package/build/esm/wasm/pkg/thread/tavio.js +151 -151
  37. package/build/esm/wasm/pkg/thread/tavio_bg.wasm +0 -0
  38. package/build/esm/wasm/pkg/thread/tavio_bg.wasm.d.ts +17 -17
  39. package/package.json +1 -1
  40. package/build/esm/types/animation/animationController.d.ts +0 -146
@@ -1,4 +1,4 @@
1
- import { s as n } from "./workerHelpers-yS8SNwfU.js";
1
+ import { s as n } from "./workerHelpers-DfEuvGGn.js";
2
2
  class e {
3
3
  static __wrap(n2) {
4
4
  const t2 = Object.create(e.prototype);
@@ -26,79 +26,79 @@ function t(n2) {
26
26
  z.wbg_rayon_start_worker(n2);
27
27
  }
28
28
  function _(t2) {
29
- const _2 = { __proto__: null, __wbg___wbindgen_boolean_get_c9c83ebd41b34df3: function(n2) {
29
+ const _2 = { __proto__: null, __wbg___wbindgen_boolean_get_5b446f51afd21013: function(n2) {
30
30
  const e2 = x(n2), t3 = "boolean" == typeof e2 ? e2 : void 0;
31
31
  return O(t3) ? 16777215 : t3 ? 1 : 0;
32
- }, __wbg___wbindgen_debug_string_a57024b9c6e4a48b: function(n2, e2) {
32
+ }, __wbg___wbindgen_debug_string_4687d8d8c2017d52: function(n2, e2) {
33
33
  const t3 = j(b(x(e2)), z.__wbindgen_export, z.__wbindgen_export2), _3 = M;
34
34
  l().setInt32(n2 + 4, _3, true), l().setInt32(n2 + 0, t3, true);
35
- }, __wbg___wbindgen_is_function_5e4570eb24ffa122: function(n2) {
35
+ }, __wbg___wbindgen_is_function_1f9d30630b8b1d3d: function(n2) {
36
36
  return "function" == typeof x(n2);
37
- }, __wbg___wbindgen_is_null_7d13f41e1a2d5140: function(n2) {
37
+ }, __wbg___wbindgen_is_null_e343b7d08827ba72: function(n2) {
38
38
  return null === x(n2);
39
- }, __wbg___wbindgen_is_object_a2790eb24c211ea0: function(n2) {
39
+ }, __wbg___wbindgen_is_object_3c45d4f2dde4e749: function(n2) {
40
40
  const e2 = x(n2);
41
41
  return "object" == typeof e2 && null !== e2;
42
- }, __wbg___wbindgen_is_undefined_6cff064c44e0d823: function(n2) {
42
+ }, __wbg___wbindgen_is_undefined_8865fb403f8fe9d8: function(n2) {
43
43
  return void 0 === x(n2);
44
- }, __wbg___wbindgen_memory_5dc2a138835b0f8e: function() {
44
+ }, __wbg___wbindgen_memory_caa4a6165639c8b5: function() {
45
45
  return u(z.memory);
46
- }, __wbg___wbindgen_module_d70c256490b5f616: function() {
46
+ }, __wbg___wbindgen_module_7115fb14045f9891: function() {
47
47
  return u(T);
48
- }, __wbg___wbindgen_number_get_136b9679cab35cfb: function(n2, e2) {
48
+ }, __wbg___wbindgen_number_get_2e0e7dee9f701a71: function(n2, e2) {
49
49
  const t3 = x(e2), _3 = "number" == typeof t3 ? t3 : void 0;
50
50
  l().setFloat64(n2 + 8, O(_3) ? 0 : _3, true), l().setInt32(n2 + 0, !O(_3), true);
51
- }, __wbg___wbindgen_rethrow_fbd2dcd7d2b9ac5f: function(n2) {
51
+ }, __wbg___wbindgen_rethrow_cb2e88c6b2a16733: function(n2) {
52
52
  throw F(n2);
53
- }, __wbg___wbindgen_string_get_d154f1e671052120: function(n2, e2) {
53
+ }, __wbg___wbindgen_string_get_0380ccaa2f57f0d9: function(n2, e2) {
54
54
  const t3 = x(e2), _3 = "string" == typeof t3 ? t3 : void 0;
55
55
  var r2 = O(_3) ? 0 : j(_3, z.__wbindgen_export, z.__wbindgen_export2), o2 = M;
56
56
  l().setInt32(n2 + 4, o2, true), l().setInt32(n2 + 0, r2, true);
57
- }, __wbg___wbindgen_throw_bb96b2010945f0bc: function(n2, e2) {
57
+ }, __wbg___wbindgen_throw_41e9ee4f547fc59a: function(n2, e2) {
58
58
  throw new Error(p(n2, e2));
59
- }, __wbg__wbg_cb_unref_be22cc64ae6946a0: function(n2) {
59
+ }, __wbg__wbg_cb_unref_dcc1a90847f04c41: function(n2) {
60
60
  x(n2)._wbg_cb_unref();
61
61
  }, __wbg_allocateSharedArrayBuffer_6fe46699bf03ba1c: function(n2, e2) {
62
62
  return u(allocateSharedArrayBuffer(F(n2), e2 >>> 0));
63
- }, __wbg_arrayBuffer_16433f17fbd74397: function() {
63
+ }, __wbg_arrayBuffer_f07be74819944ea2: function() {
64
64
  return R(function(n2) {
65
65
  return u(x(n2).arrayBuffer());
66
66
  }, arguments);
67
- }, __wbg_async_a8daea0f547e8eaa: function(n2) {
67
+ }, __wbg_async_9c5ef1f056e09ade: function(n2) {
68
68
  return x(n2).async;
69
- }, __wbg_body_eb2e7e7701fa47ae: function(n2) {
69
+ }, __wbg_body_4e088733babc630d: function(n2) {
70
70
  const e2 = x(n2).body;
71
71
  return O(e2) ? 0 : u(e2);
72
- }, __wbg_buffer_78291c0e094ccf99: function(n2) {
72
+ }, __wbg_buffer_56ec2905a66f58b9: function(n2) {
73
73
  return u(x(n2).buffer);
74
- }, __wbg_buffer_8117fe4dab119813: function(n2) {
74
+ }, __wbg_buffer_7afc7cca4d0cf036: function(n2) {
75
75
  return u(x(n2).buffer);
76
- }, __wbg_byobRequest_f8b1c89429b77545: function(n2) {
76
+ }, __wbg_byobRequest_54f7ce41d584549a: function(n2) {
77
77
  const e2 = x(n2).byobRequest;
78
78
  return O(e2) ? 0 : u(e2);
79
- }, __wbg_byteLength_336bc7d303511ba0: function(n2) {
79
+ }, __wbg_byteLength_9f985b8373f1f3fe: function(n2) {
80
80
  return x(n2).byteLength;
81
- }, __wbg_byteOffset_2b1d5b10453ce198: function(n2) {
81
+ }, __wbg_byteOffset_0bd5a6a03553639c: function(n2) {
82
82
  return x(n2).byteOffset;
83
- }, __wbg_call_35dba3c747ad7521: function() {
83
+ }, __wbg_call_187d372bd5fdd4aa: function() {
84
84
  return R(function(n2, e2, t3) {
85
85
  return u(x(n2).call(x(e2), x(t3)));
86
86
  }, arguments);
87
- }, __wbg_cancel_9610ed0dbe990e64: function(n2) {
87
+ }, __wbg_cancel_7c2a08c8db4c73f3: function(n2) {
88
88
  return u(x(n2).cancel());
89
- }, __wbg_catch_8094577c3f159ad5: function(n2, e2) {
89
+ }, __wbg_catch_92594c2d17f55f12: function(n2, e2) {
90
90
  return u(x(n2).catch(x(e2)));
91
- }, __wbg_close_72f69f5f2de2bc73: function() {
91
+ }, __wbg_close_185286988f30f252: function() {
92
92
  return R(function(n2) {
93
93
  x(n2).close();
94
94
  }, arguments);
95
- }, __wbg_close_97cdb44c3a7878f6: function() {
95
+ }, __wbg_close_748f26698dabe269: function() {
96
96
  return R(function(n2) {
97
97
  x(n2).close();
98
98
  }, arguments);
99
- }, __wbg_data_e8364fec9b39caa4: function(n2) {
99
+ }, __wbg_data_1eb88471f3ec41b4: function(n2) {
100
100
  return u(x(n2).data);
101
- }, __wbg_enqueue_7d68a21eda78e72f: function() {
101
+ }, __wbg_enqueue_4a01c128f9a0de16: function() {
102
102
  return R(function(n2, e2) {
103
103
  x(n2).enqueue(x(e2));
104
104
  }, arguments);
@@ -111,7 +111,7 @@ function _(t2) {
111
111
  }
112
112
  }, __wbg_error_8bcce74c74c5a1ab: function(n2, e2) {
113
113
  console.error(p(n2, e2));
114
- }, __wbg_getContext_c5236e0057b35024: function() {
114
+ }, __wbg_getContext_e567868594d2e0c6: function() {
115
115
  return R(function(n2, e2, t3) {
116
116
  const _3 = x(n2).getContext(p(e2, t3));
117
117
  return O(_3) ? 0 : u(_3);
@@ -120,24 +120,24 @@ function _(t2) {
120
120
  return R(function(n2) {
121
121
  return u(x(n2).getReader());
122
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() {
123
+ }, __wbg_get_31af05bd4842a84f: function() {
130
124
  return R(function(n2, e2) {
131
125
  return u(Reflect.get(x(n2), x(e2)));
132
126
  }, arguments);
133
- }, __wbg_get_done_ce5b5691b59c07f2: function(n2) {
127
+ }, __wbg_get_done_7020b91c987365c7: function(n2) {
134
128
  const e2 = x(n2).done;
135
129
  return O(e2) ? 16777215 : e2 ? 1 : 0;
136
- }, __wbg_get_value_58309ba057b715e1: function(n2) {
130
+ }, __wbg_get_f75619e20cb68514: function() {
131
+ return R(function(n2, e2, t3, _3) {
132
+ const r2 = x(e2).get(p(t3, _3));
133
+ var o2 = O(r2) ? 0 : j(r2, z.__wbindgen_export, z.__wbindgen_export2), i2 = M;
134
+ l().setInt32(n2 + 4, i2, true), l().setInt32(n2 + 0, o2, true);
135
+ }, arguments);
136
+ }, __wbg_get_value_87fbd6ad1283f2e7: function(n2) {
137
137
  return u(x(n2).value);
138
- }, __wbg_headers_92567b07014384b9: function(n2) {
138
+ }, __wbg_headers_eba93595f8944c2f: function(n2) {
139
139
  return u(x(n2).headers);
140
- }, __wbg_instanceof_OffscreenCanvasRenderingContext2d_bf5c11dbcfe648e6: function(n2) {
140
+ }, __wbg_instanceof_OffscreenCanvasRenderingContext2d_957f1a991324c9dc: function(n2) {
141
141
  let e2;
142
142
  try {
143
143
  e2 = x(n2) instanceof OffscreenCanvasRenderingContext2D;
@@ -145,7 +145,7 @@ function _(t2) {
145
145
  e2 = false;
146
146
  }
147
147
  return e2;
148
- }, __wbg_instanceof_Promise_e6e764b945c3128a: function(n2) {
148
+ }, __wbg_instanceof_Promise_e1dc6893aa1ece28: function(n2) {
149
149
  let e2;
150
150
  try {
151
151
  e2 = x(n2) instanceof Promise;
@@ -153,7 +153,7 @@ function _(t2) {
153
153
  e2 = false;
154
154
  }
155
155
  return e2;
156
- }, __wbg_instanceof_Response_8f49efbd4bfd76d6: function(n2) {
156
+ }, __wbg_instanceof_Response_b8758567269c30b2: function(n2) {
157
157
  let e2;
158
158
  try {
159
159
  e2 = x(n2) instanceof Response;
@@ -161,7 +161,7 @@ function _(t2) {
161
161
  e2 = false;
162
162
  }
163
163
  return e2;
164
- }, __wbg_instanceof_SharedArrayBuffer_c734e76df6d827cb: function(n2) {
164
+ }, __wbg_instanceof_SharedArrayBuffer_6370d767dfea8938: function(n2) {
165
165
  let e2;
166
166
  try {
167
167
  e2 = x(n2) instanceof SharedArrayBuffer;
@@ -169,7 +169,7 @@ function _(t2) {
169
169
  e2 = false;
170
170
  }
171
171
  return e2;
172
- }, __wbg_instanceof_Uint8Array_f935dbb0aa7cdeed: function(n2) {
172
+ }, __wbg_instanceof_Uint8Array_828cef2aaacafc31: function(n2) {
173
173
  let e2;
174
174
  try {
175
175
  e2 = x(n2) instanceof Uint8Array;
@@ -177,7 +177,7 @@ function _(t2) {
177
177
  e2 = false;
178
178
  }
179
179
  return e2;
180
- }, __wbg_instanceof_Window_5625ff9937037a38: function(n2) {
180
+ }, __wbg_instanceof_Window_82d71df4eddf88bc: function(n2) {
181
181
  let e2;
182
182
  try {
183
183
  e2 = x(n2) instanceof Window;
@@ -185,25 +185,27 @@ function _(t2) {
185
185
  e2 = false;
186
186
  }
187
187
  return e2;
188
- }, __wbg_length_1009454859bb3e03: function(n2) {
188
+ }, __wbg_length_3035e53132b7a991: function(n2) {
189
189
  return x(n2).length;
190
- }, __wbg_length_13032799523c5735: function(n2) {
190
+ }, __wbg_length_511b1f84719d3462: function(n2) {
191
191
  return x(n2).length;
192
- }, __wbg_length_36bd29c6848c2144: function(n2) {
192
+ }, __wbg_length_58572db4c38f3c3e: function(n2) {
193
193
  return x(n2).length;
194
- }, __wbg_length_7528cf2a241bef97: function(n2) {
194
+ }, __wbg_length_7f3c00c40364105e: function(n2) {
195
195
  return x(n2).length;
196
- }, __wbg_length_dba09af5a8c29b92: function(n2) {
196
+ }, __wbg_length_b5d0ffc9b832763b: function(n2) {
197
197
  return x(n2).length;
198
198
  }, __wbg_log_d9d25e056abe7dcd: function(n2, e2) {
199
199
  console.log(p(n2, e2));
200
- }, __wbg_new_116be93542d39019: function() {
201
- return u(new Array());
200
+ }, __wbg_new_1dbf7428bba60a42: function(n2) {
201
+ return u(new Uint8Array(x(n2)));
202
202
  }, __wbg_new_227d7c05414eb861: function() {
203
203
  return u(new Error());
204
- }, __wbg_new_358857d90afd5a2d: function(n2, e2) {
204
+ }, __wbg_new_320e2e208176b20f: function(n2) {
205
+ return u(new Int32Array(x(n2)));
206
+ }, __wbg_new_343a093a3c2ffb4e: function(n2, e2) {
205
207
  return u(new Error(p(n2, e2)));
206
- }, __wbg_new_418fb92a013d5930: function(n2, e2) {
208
+ }, __wbg_new_5502aad30c185fc8: function(n2, e2) {
207
209
  try {
208
210
  var t3 = { a: n2, b: e2 };
209
211
  const _3 = new Promise((n3, e3) => {
@@ -219,21 +221,19 @@ function _(t2) {
219
221
  } finally {
220
222
  t3.a = 0;
221
223
  }
222
- }, __wbg_new_652118cdee90118f: function() {
224
+ }, __wbg_new_617a8cdb8bb1130e: function() {
225
+ return u(new Object());
226
+ }, __wbg_new_a217df4351db4b9b: function() {
223
227
  return R(function(n2, e2) {
224
228
  return u(new OffscreenCanvas(n2 >>> 0, e2 >>> 0));
225
229
  }, 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) {
230
+ }, __wbg_new_ee2291f50781bf1d: function() {
231
+ return u(new Array());
232
+ }, __wbg_new_from_slice_9a868026ffa4208a: function(n2, e2) {
233
+ return u(new Uint8Array(d(n2, e2)));
234
+ }, __wbg_new_from_slice_ca6ad97db1f4779a: function(n2, e2) {
235
235
  return u(new Float32Array(s(n2, e2)));
236
- }, __wbg_new_typed_cceaf62d8d95e9f2: function(n2, e2) {
236
+ }, __wbg_new_typed_b01cb72a8af741a3: function(n2, e2) {
237
237
  try {
238
238
  var t3 = { a: n2, b: e2 };
239
239
  const _3 = new Promise((n3, e3) => {
@@ -249,130 +249,130 @@ function _(t2) {
249
249
  } finally {
250
250
  t3.a = 0;
251
251
  }
252
- }, __wbg_new_with_byte_offset_and_length_ff6e927f8d72f0c3: function(n2, e2, t3) {
252
+ }, __wbg_new_with_byte_offset_and_length_2f5d7fc2a828b74d: function(n2, e2, t3) {
253
253
  return u(new Uint8Array(x(n2), e2 >>> 0, t3 >>> 0));
254
- }, __wbg_new_with_js_u8_clamped_array_and_sh_f73ed7bddccdab21: function() {
254
+ }, __wbg_new_with_js_u8_clamped_array_and_sh_35a446049f728881: function() {
255
255
  return R(function(n2, e2, t3) {
256
256
  return u(new ImageData(x(n2), e2 >>> 0, t3 >>> 0));
257
257
  }, arguments);
258
- }, __wbg_new_with_length_5d351ffdb6e3397d: function(n2) {
258
+ }, __wbg_new_with_length_cd84da398f2a287d: function(n2) {
259
259
  return u(new Uint8ClampedArray(n2 >>> 0));
260
- }, __wbg_new_worker_b0d92a7c5ee3d84d: function(n2, e2) {
260
+ }, __wbg_new_worker_a8233ca9ce254a09: function(n2, e2) {
261
261
  return u(new Worker(p(n2, e2)));
262
- }, __wbg_of_79747c3f25a53502: function(n2, e2, t3) {
262
+ }, __wbg_of_dde0b9d3265685ee: function(n2, e2, t3) {
263
263
  return u(Array.of(x(n2), x(e2), x(t3)));
264
- }, __wbg_postMessage_99ea49fc49d53c0b: function() {
264
+ }, __wbg_postMessage_46095c3ed2a3651d: function() {
265
265
  return R(function(n2, e2) {
266
266
  x(n2).postMessage(x(e2));
267
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) {
268
+ }, __wbg_prototypesetcall_06eb15da165dee8f: function(n2, e2, t3) {
269
+ Uint32Array.prototype.set.call(g(n2, e2), x(t3));
270
+ }, __wbg_prototypesetcall_2ee09b855e324444: function(n2, e2, t3) {
271
271
  var _3, r2;
272
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) {
273
+ }, __wbg_prototypesetcall_8b03c01e2c0f8066: function(n2, e2, t3) {
274
+ Float32Array.prototype.set.call(s(n2, e2), x(t3));
275
+ }, __wbg_prototypesetcall_bc27214492979395: function(n2, e2, t3) {
276
+ Uint8Array.prototype.set.call(d(n2, e2), x(t3));
277
+ }, __wbg_push_2baf45db356cf468: function(n2, e2) {
278
278
  return x(n2).push(x(e2));
279
- }, __wbg_putImageData_d59d670c03c504e2: function() {
279
+ }, __wbg_putImageData_7bf1e9dea494ea50: function() {
280
280
  return R(function(n2, e2, t3, _3) {
281
281
  x(n2).putImageData(x(e2), t3, _3);
282
282
  }, arguments);
283
- }, __wbg_queueMicrotask_ac694eae12e92dfb: function(n2) {
284
- queueMicrotask(x(n2));
285
- }, __wbg_queueMicrotask_be5fe34a8f4cad4d: function(n2) {
283
+ }, __wbg_queueMicrotask_9833f9a49df95a49: function(n2) {
286
284
  return u(x(n2).queueMicrotask);
287
- }, __wbg_read_ae34ffedeb11f034: function(n2) {
285
+ }, __wbg_queueMicrotask_a72f977e97f23c5f: function(n2) {
286
+ queueMicrotask(x(n2));
287
+ }, __wbg_read_2a943774344c9728: function(n2) {
288
288
  return u(x(n2).read());
289
- }, __wbg_releaseLock_f38d2d1c08212a8a: function(n2) {
289
+ }, __wbg_releaseLock_eb64cd83aa9fcfe4: function(n2) {
290
290
  x(n2).releaseLock();
291
- }, __wbg_resolve_020f95d838c6ef25: function(n2) {
291
+ }, __wbg_resolve_0076e10020304ede: function(n2) {
292
292
  return u(Promise.resolve(x(n2)));
293
- }, __wbg_respond_f88cbcebace42068: function() {
293
+ }, __wbg_respond_c102fabcc79e5ef0: function() {
294
294
  return R(function(n2, e2) {
295
295
  x(n2).respond(e2 >>> 0);
296
296
  }, arguments);
297
- }, __wbg_set_5c15d3c5973de97a: function(n2, e2, t3) {
298
- x(n2).set(g(e2, t3));
299
- }, __wbg_set_8155bb79a948541b: function() {
297
+ }, __wbg_set_145a351398b48c65: function() {
300
298
  return R(function(n2, e2, t3) {
301
299
  return Reflect.set(x(n2), x(e2), x(t3));
302
300
  }, arguments);
303
- }, __wbg_set_862c439a342a8818: function(n2, e2, t3) {
301
+ }, __wbg_set_34d08fd992d43d61: function(n2, e2, t3) {
304
302
  x(n2).set(x(e2), t3 >>> 0);
305
- }, __wbg_set_b9b5b5cb7b495037: function(n2, e2, t3) {
303
+ }, __wbg_set_448fbc824992c3fd: function(n2, e2, t3) {
306
304
  x(n2).set(g(e2, t3));
307
- }, __wbg_set_e575799cdfbae72f: function(n2, e2, t3) {
305
+ }, __wbg_set_575d3ddb70fe831d: function(n2, e2, t3) {
306
+ x(n2).set(d(e2, t3));
307
+ }, __wbg_set_c2baa06365903d3b: function(n2, e2, t3) {
308
308
  x(n2).set(d(e2, t3));
309
- }, __wbg_set_onmessage_ed4e5288e2e3af6f: function(n2, e2) {
309
+ }, __wbg_set_onmessage_6f8cd76e1fcb9e4e: function(n2, e2) {
310
310
  x(n2).onmessage = x(e2);
311
311
  }, __wbg_stack_3b0d974bbf31e44f: function(n2, e2) {
312
312
  const t3 = j(x(e2).stack, z.__wbindgen_export, z.__wbindgen_export2), _3 = M;
313
313
  l().setInt32(n2 + 4, _3, true), l().setInt32(n2 + 0, t3, true);
314
314
  }, __wbg_startWorkers_8b582d57e92bd2d4: function(t3, _3, r2) {
315
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() {
316
+ }, __wbg_static_accessor_GLOBAL_266715b9d96ba635: function() {
320
317
  const n2 = "undefined" == typeof global ? null : global;
321
318
  return O(n2) ? 0 : u(n2);
322
- }, __wbg_static_accessor_SELF_42d4fae05e59267a: function() {
319
+ }, __wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179: function() {
320
+ const n2 = "undefined" == typeof globalThis ? null : globalThis;
321
+ return O(n2) ? 0 : u(n2);
322
+ }, __wbg_static_accessor_SELF_0b583911f537483a: function() {
323
323
  const n2 = "undefined" == typeof self ? null : self;
324
324
  return O(n2) ? 0 : u(n2);
325
- }, __wbg_static_accessor_WINDOW_e0db14a0eba6a812: function() {
325
+ }, __wbg_static_accessor_WINDOW_d7f903d1508cbdc4: function() {
326
326
  const n2 = "undefined" == typeof window ? null : window;
327
327
  return O(n2) ? 0 : u(n2);
328
- }, __wbg_subarray_095365bb46f94afd: function(n2, e2, t3) {
328
+ }, __wbg_subarray_002b94d5e13d1411: function(n2, e2, t3) {
329
329
  return u(x(n2).subarray(e2 >>> 0, t3 >>> 0));
330
- }, __wbg_subarray_a4cc58201c7359fd: function(n2, e2, t3) {
330
+ }, __wbg_subarray_054dd444c5222d66: function(n2, e2, t3) {
331
331
  return u(x(n2).subarray(e2 >>> 0, t3 >>> 0));
332
- }, __wbg_subarray_c08acc355b325c86: function(n2, e2, t3) {
332
+ }, __wbg_subarray_8a56c92643c071e0: function(n2, e2, t3) {
333
333
  return u(x(n2).subarray(e2 >>> 0, t3 >>> 0));
334
- }, __wbg_subarray_e3ceefdfcd5100ac: function(n2, e2, t3) {
334
+ }, __wbg_subarray_bb23bc0b23af26d9: function(n2, e2, t3) {
335
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) {
336
+ }, __wbg_then_c8a35d4ad59c6b8e: function(n2, e2) {
339
337
  return u(x(n2).then(x(e2)));
340
- }, __wbg_then_72819b8d4e081fb5: function(n2, e2, t3) {
338
+ }, __wbg_then_c949d5a25a4e78f8: function(n2, e2, t3) {
341
339
  return u(x(n2).then(x(e2), x(t3)));
342
- }, __wbg_transferToImageBitmap_4c01399ad9e94dff: function() {
340
+ }, __wbg_then_e71170d78fcf8954: function(n2, e2) {
341
+ return u(x(n2).then(x(e2)));
342
+ }, __wbg_transferToImageBitmap_c2dae3e64c90a2a8: function() {
343
343
  return R(function(n2) {
344
344
  return u(x(n2).transferToImageBitmap());
345
345
  }, arguments);
346
- }, __wbg_value_542338ffd3de015d: function(n2) {
346
+ }, __wbg_value_eb2310383eee615b: function(n2) {
347
347
  return u(x(n2).value);
348
- }, __wbg_view_7685fe4b2845c5b6: function(n2) {
348
+ }, __wbg_view_9c570f33e8d6ab96: function(n2) {
349
349
  const e2 = x(n2).view;
350
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) {
351
+ }, __wbg_waitAsync_69490d345f4be40f: function(n2, e2, t3) {
354
352
  return u(Atomics.waitAsync(x(n2), e2 >>> 0, t3));
353
+ }, __wbg_waitAsync_7bc2e34d9ddb004b: function() {
354
+ return u(Atomics.waitAsync);
355
355
  }, __wbg_warn_660349d377654750: function(n2, e2) {
356
356
  console.warn(p(n2, e2));
357
- }, __wbindgen_cast_0000000000000001: function(n2, e2) {
357
+ }, __wbindgen_generic_0000000000000001: function(n2, e2) {
358
358
  return u(U(n2, e2, r));
359
- }, __wbindgen_cast_0000000000000002: function(n2, e2) {
359
+ }, __wbindgen_generic_0000000000000002: function(n2, e2) {
360
360
  return u(U(n2, e2, c));
361
- }, __wbindgen_cast_0000000000000003: function(n2, e2) {
361
+ }, __wbindgen_generic_0000000000000003: function(n2, e2) {
362
362
  return u(U(n2, e2, o));
363
- }, __wbindgen_cast_0000000000000004: function(n2) {
363
+ }, __wbindgen_generic_0000000000000004: function(n2) {
364
364
  return u(n2);
365
- }, __wbindgen_cast_0000000000000005: function(n2, e2) {
366
- return u(g(n2, e2));
367
- }, __wbindgen_cast_0000000000000006: function(n2, e2) {
365
+ }, __wbindgen_generic_0000000000000005: function(n2, e2) {
366
+ return u(d(n2, e2));
367
+ }, __wbindgen_generic_0000000000000006: function(n2, e2) {
368
368
  return u(p(n2, e2));
369
- }, __wbindgen_cast_0000000000000007: function(n2) {
369
+ }, __wbindgen_generic_0000000000000007: function(n2) {
370
370
  return u(BigInt.asUintN(64, n2));
371
- }, __wbindgen_cast_0000000000000008: function(n2, e2) {
371
+ }, __wbindgen_generic_0000000000000008: function(n2, e2) {
372
372
  var t3 = s(n2, e2).slice();
373
373
  z.__wbindgen_export4(n2, 4 * e2, 4);
374
374
  return u(t3);
375
- }, __wbindgen_cast_0000000000000009: function(n2, e2) {
375
+ }, __wbindgen_generic_0000000000000009: function(n2, e2) {
376
376
  var t3 = (function(n3, e3) {
377
377
  n3 >>>= 0;
378
378
  const t4 = l(), _3 = [];
@@ -381,15 +381,15 @@ function _(t2) {
381
381
  })(n2, e2);
382
382
  z.__wbindgen_export4(n2, 4 * e2, 4);
383
383
  return u(t3);
384
- }, __wbindgen_cast_000000000000000a: function(n2, e2) {
385
- var t3 = d(n2, e2).slice();
384
+ }, __wbindgen_generic_000000000000000a: function(n2, e2) {
385
+ var t3 = g(n2, e2).slice();
386
386
  z.__wbindgen_export4(n2, 4 * e2, 4);
387
387
  return u(t3);
388
- }, __wbindgen_cast_000000000000000b: function(n2, e2) {
389
- var t3 = g(n2, e2).slice();
388
+ }, __wbindgen_generic_000000000000000b: function(n2, e2) {
389
+ var t3 = d(n2, e2).slice();
390
390
  z.__wbindgen_export4(n2, 1 * e2, 1);
391
391
  return u(t3);
392
- }, __wbindgen_link_5a1fa9a05318ea21: function(n2) {
392
+ }, __wbindgen_link_e38beab8ec056ba2: function(n2) {
393
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
394
  l().setInt32(n2 + 4, _3, true), l().setInt32(n2 + 0, t3, true);
395
395
  }, __wbindgen_object_clone_ref: function(n2) {
@@ -400,24 +400,24 @@ function _(t2) {
400
400
  return { __proto__: null, "./tavio_bg.js": _2 };
401
401
  }
402
402
  function r(n2, e2, t2) {
403
- z.__wasm_bindgen_func_elem_1242(n2, e2, u(t2));
403
+ z.__wasm_bindgen_func_elem_1221(n2, e2, u(t2));
404
404
  }
405
405
  function o(n2, e2, t2) {
406
- z.__wasm_bindgen_func_elem_3145(n2, e2, u(t2));
406
+ z.__wasm_bindgen_func_elem_3146(n2, e2, u(t2));
407
+ }
408
+ function i(n2, e2, t2, _2) {
409
+ z.__wasm_bindgen_func_elem_3147(n2, e2, u(t2), u(_2));
407
410
  }
408
411
  function c(n2, e2, t2) {
409
412
  try {
410
413
  const r2 = z.__wbindgen_add_to_stack_pointer(-16);
411
- z.__wasm_bindgen_func_elem_3143(r2, n2, e2, u(t2));
414
+ z.__wasm_bindgen_func_elem_3144(r2, n2, e2, u(t2));
412
415
  var _2 = l().getInt32(r2 + 0, true);
413
416
  if (l().getInt32(r2 + 4, true)) throw F(_2);
414
417
  } finally {
415
418
  z.__wbindgen_add_to_stack_pointer(16);
416
419
  }
417
420
  }
418
- function i(n2, e2, t2, _2) {
419
- z.__wasm_bindgen_func_elem_3146(n2, e2, u(t2), u(_2));
420
- }
421
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
422
  const a = "undefined" == typeof FinalizationRegistry ? { register: () => {
423
423
  }, unregister: () => {
@@ -466,13 +466,13 @@ function s(n2, e2) {
466
466
  return y;
467
467
  })().subarray(n2 / 4, n2 / 4 + e2);
468
468
  }
469
- function d(n2, e2) {
469
+ function g(n2, e2) {
470
470
  return n2 >>>= 0, (function() {
471
471
  null !== h && h.buffer === z.memory.buffer || (h = new Uint32Array(z.memory.buffer));
472
472
  return h;
473
473
  })().subarray(n2 / 4, n2 / 4 + e2);
474
474
  }
475
- function g(n2, e2) {
475
+ function d(n2, e2) {
476
476
  return n2 >>>= 0, A().subarray(n2 / 1, n2 / 1 + e2);
477
477
  }
478
478
  let w = null;
@@ -530,18 +530,18 @@ function j(n2, e2, t2) {
530
530
  }
531
531
  let _2 = n2.length, r2 = e2(_2, 1) >>> 0;
532
532
  const o2 = A();
533
- let c2 = 0;
534
- for (; c2 < _2; c2++) {
535
- const e3 = n2.charCodeAt(c2);
533
+ let i2 = 0;
534
+ for (; i2 < _2; i2++) {
535
+ const e3 = n2.charCodeAt(i2);
536
536
  if (e3 > 127) break;
537
- o2[r2 + c2] = e3;
537
+ o2[r2 + i2] = e3;
538
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;
539
+ if (i2 !== _2) {
540
+ 0 !== i2 && (n2 = n2.slice(i2)), r2 = t2(r2, _2, _2 = i2 + 3 * n2.length, 1) >>> 0;
541
+ const e3 = A().subarray(r2 + i2, r2 + _2);
542
+ i2 += L.encodeInto(n2, e3).written, r2 = t2(r2, _2, i2, 1) >>> 0;
543
543
  }
544
- return M = c2, r2;
544
+ return M = i2, r2;
545
545
  }
546
546
  function F(n2) {
547
547
  const e2 = x(n2);
@@ -565,7 +565,7 @@ async function C(n2, e2) {
565
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
566
  const r2 = _(e2);
567
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) {
568
+ const { instance: o2, module: i2 } = await (async function(n3, e3) {
569
569
  if ("function" == typeof Response && n3 instanceof Response) {
570
570
  if (!n3.ok) throw new Error(`failed to fetch Wasm: ${n3.status} ${n3.statusText} fetching '${n3.url}'`);
571
571
  if ("function" == typeof WebAssembly.instantiateStreaming) try {
@@ -593,7 +593,7 @@ async function C(n2, e2) {
593
593
  return (function(n3, e3, t3) {
594
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
595
  return z.__wbindgen_start(t3), z;
596
- })(o2, c2, t2);
596
+ })(o2, i2, t2);
597
597
  }
598
598
  export {
599
599
  C as default,
@@ -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-JUxSmuMi.js");
17
+ const n = await import("./tavio-2ixVQ2OF.js");
18
18
  await n.default(e2), postMessage({ type: "wasm_bindgen_worker_ready" }), n.wbg_rayon_start_worker(r2);
19
19
  });
20
20
  export {