glassjar 0.2.0 → 0.3.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.
@@ -0,0 +1,1112 @@
1
+ class S {
2
+ static __wrap(A) {
3
+ A = A >>> 0;
4
+ const g = Object.create(S.prototype);
5
+ return g.__wbg_ptr = A, W.register(g, g.__wbg_ptr, g), g;
6
+ }
7
+ __destroy_into_raw() {
8
+ const A = this.__wbg_ptr;
9
+ return this.__wbg_ptr = 0, W.unregister(this), A;
10
+ }
11
+ free() {
12
+ const A = this.__destroy_into_raw();
13
+ B.__wbg_trap_free(A, 0);
14
+ }
15
+ /**
16
+ * A marker method to indicate that an object is an instance of the `Trap`
17
+ * class.
18
+ */
19
+ static __wbg_wasmer_trap() {
20
+ B.trap___wbg_wasmer_trap();
21
+ }
22
+ }
23
+ Symbol.dispose && (S.prototype[Symbol.dispose] = S.prototype.free);
24
+ function X(C, A, g, I, Q, E) {
25
+ const w = T(C, B.__wbindgen_malloc), i = G, o = T(A, B.__wbindgen_malloc), q = G, h = k(g, B.__wbindgen_malloc, B.__wbindgen_realloc), p = G, d = k(I, B.__wbindgen_malloc, B.__wbindgen_realloc), z = G, f = k(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), l = G;
26
+ B.configure_compiler_toolchain(w, i, o, q, h, p, d, z, f, l, E);
27
+ }
28
+ function m() {
29
+ B.main();
30
+ }
31
+ function b(C) {
32
+ B.set_compiler_instance_observer(C);
33
+ }
34
+ function P(C) {
35
+ B.set_compiler_module_constructor(C);
36
+ }
37
+ function r(C) {
38
+ B.set_object_build_observer(C);
39
+ }
40
+ function n() {
41
+ return {
42
+ __proto__: null,
43
+ "./engine_bg.js": {
44
+ __proto__: null,
45
+ __wbg_BigInt_b7bbccdff258c9f2: function(A) {
46
+ return BigInt(A);
47
+ },
48
+ __wbg_Error_8c4e43fe74559d73: function(A, g) {
49
+ return Error(M(A, g));
50
+ },
51
+ __wbg_Number_04624de7d0e8332d: function(A) {
52
+ return Number(A);
53
+ },
54
+ __wbg_String_8f0eb39a4a4c2f66: function(A, g) {
55
+ const I = String(g), Q = k(I, B.__wbindgen_malloc, B.__wbindgen_realloc), E = G;
56
+ N().setInt32(A + 4, E, !0), N().setInt32(A + 0, Q, !0);
57
+ },
58
+ __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: function(A, g) {
59
+ const I = g, Q = typeof I == "bigint" ? I : void 0;
60
+ N().setBigInt64(A + 8, F(Q) ? BigInt(0) : Q, !0), N().setInt32(A + 0, !F(Q), !0);
61
+ },
62
+ __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: function(A) {
63
+ const g = A, I = typeof g == "boolean" ? g : void 0;
64
+ return F(I) ? 16777215 : I ? 1 : 0;
65
+ },
66
+ __wbg___wbindgen_debug_string_0bc8482c6e3508ae: function(A, g) {
67
+ const I = t(g), Q = k(I, B.__wbindgen_malloc, B.__wbindgen_realloc), E = G;
68
+ N().setInt32(A + 4, E, !0), N().setInt32(A + 0, Q, !0);
69
+ },
70
+ __wbg___wbindgen_function_table_5ae7216dfcbcc506: function() {
71
+ return B.__wbindgen_export;
72
+ },
73
+ __wbg___wbindgen_in_47fa6863be6f2f25: function(A, g) {
74
+ return A in g;
75
+ },
76
+ __wbg___wbindgen_is_bigint_31b12575b56f32fc: function(A) {
77
+ return typeof A == "bigint";
78
+ },
79
+ __wbg___wbindgen_is_function_0095a73b8b156f76: function(A) {
80
+ return typeof A == "function";
81
+ },
82
+ __wbg___wbindgen_is_object_5ae8e5880f2c1fbd: function(A) {
83
+ const g = A;
84
+ return typeof g == "object" && g !== null;
85
+ },
86
+ __wbg___wbindgen_is_string_cd444516edc5b180: function(A) {
87
+ return typeof A == "string";
88
+ },
89
+ __wbg___wbindgen_is_undefined_9e4d92534c42d778: function(A) {
90
+ return A === void 0;
91
+ },
92
+ __wbg___wbindgen_jsval_eq_11888390b0186270: function(A, g) {
93
+ return A === g;
94
+ },
95
+ __wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: function(A, g) {
96
+ return A == g;
97
+ },
98
+ __wbg___wbindgen_lt_bb59cc3d23526e0d: function(A, g) {
99
+ return A < g;
100
+ },
101
+ __wbg___wbindgen_neg_6b4d356dff49dcc6: function(A) {
102
+ return -A;
103
+ },
104
+ __wbg___wbindgen_number_get_8ff4255516ccad3e: function(A, g) {
105
+ const I = g, Q = typeof I == "number" ? I : void 0;
106
+ N().setFloat64(A + 8, F(Q) ? 0 : Q, !0), N().setInt32(A + 0, !F(Q), !0);
107
+ },
108
+ __wbg___wbindgen_rethrow_05525c567f154472: function(A) {
109
+ throw A;
110
+ },
111
+ __wbg___wbindgen_shr_ef8e07cce709eb54: function(A, g) {
112
+ return A >> g;
113
+ },
114
+ __wbg___wbindgen_string_get_72fb696202c56729: function(A, g) {
115
+ const I = g, Q = typeof I == "string" ? I : void 0;
116
+ var E = F(Q) ? 0 : k(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), w = G;
117
+ N().setInt32(A + 4, w, !0), N().setInt32(A + 0, E, !0);
118
+ },
119
+ __wbg___wbindgen_throw_be289d5034ed271b: function(A, g) {
120
+ throw new Error(M(A, g));
121
+ },
122
+ __wbg__wbg_cb_unref_d9b87ff7982e3b21: function(A) {
123
+ A._wbg_cb_unref();
124
+ },
125
+ __wbg_addEventListener_3acb0aad4483804c: function() {
126
+ return D(function(A, g, I, Q) {
127
+ A.addEventListener(M(g, I), Q);
128
+ }, arguments);
129
+ },
130
+ __wbg_apply_2e22c45cb4f12415: function() {
131
+ return D(function(A, g, I) {
132
+ return Reflect.apply(A, g, I);
133
+ }, arguments);
134
+ },
135
+ __wbg_apply_ada2ee1a60ac7b3c: function() {
136
+ return D(function(A, g, I) {
137
+ return A.apply(g, I);
138
+ }, arguments);
139
+ },
140
+ __wbg_arrayBuffer_bb54076166006c39: function() {
141
+ return D(function(A) {
142
+ return A.arrayBuffer();
143
+ }, arguments);
144
+ },
145
+ __wbg_bind_1dc37de2b9939128: function(A, g, I, Q) {
146
+ return A.bind(g, I, Q);
147
+ },
148
+ __wbg_bind_29ba380591735d8c: function(A, g, I) {
149
+ return A.bind(g, I);
150
+ },
151
+ __wbg_buffer_7b5f53e46557d8f1: function(A) {
152
+ return A.buffer;
153
+ },
154
+ __wbg_byteLength_7b03c17ff1e4037f: function(A) {
155
+ return A.byteLength;
156
+ },
157
+ __wbg_byteLength_b5d783d06792ed2c: function(A) {
158
+ return A.byteLength;
159
+ },
160
+ __wbg_call_389efe28435a9388: function() {
161
+ return D(function(A, g) {
162
+ return A.call(g);
163
+ }, arguments);
164
+ },
165
+ __wbg_call_4708e0c13bdc8e95: function() {
166
+ return D(function(A, g, I) {
167
+ return A.call(g, I);
168
+ }, arguments);
169
+ },
170
+ __wbg_compareExchange_b578410c358e695e: function() {
171
+ return D(function(A, g, I, Q) {
172
+ return Atomics.compareExchange(A, g >>> 0, I, Q);
173
+ }, arguments);
174
+ },
175
+ __wbg_constructor_ad6c0ed428f55d34: function(A) {
176
+ return A.constructor;
177
+ },
178
+ __wbg_crypto_86f2631e91b51511: function(A) {
179
+ return A.crypto;
180
+ },
181
+ __wbg_customSections_193491b069139fb1: function(A, g, I) {
182
+ return WebAssembly.Module.customSections(A, M(g, I));
183
+ },
184
+ __wbg_data_5330da50312d0bc1: function(A) {
185
+ return A.data;
186
+ },
187
+ __wbg_done_57b39ecd9addfe81: function(A) {
188
+ return A.done;
189
+ },
190
+ __wbg_entries_58c7934c745daac7: function(A) {
191
+ return Object.entries(A);
192
+ },
193
+ __wbg_error_7534b8e9a36f1ab4: function(A, g) {
194
+ let I, Q;
195
+ try {
196
+ I = A, Q = g, console.error(M(A, g));
197
+ } finally {
198
+ B.__wbindgen_free(I, Q, 1);
199
+ }
200
+ },
201
+ __wbg_exports_794a42000dacd046: function(A) {
202
+ return WebAssembly.Module.exports(A);
203
+ },
204
+ __wbg_exports_86b4926134c40288: function(A) {
205
+ return A.exports;
206
+ },
207
+ __wbg_fetch_d1488f40cef1e210: function(A, g, I) {
208
+ return A.fetch(M(g, I));
209
+ },
210
+ __wbg_from_bddd64e7d5ff6941: function(A) {
211
+ return Array.from(A);
212
+ },
213
+ __wbg_getPrototypeOf_2653517f1dc884d5: function() {
214
+ return D(function(A) {
215
+ return Reflect.getPrototypeOf(A);
216
+ }, arguments);
217
+ },
218
+ __wbg_getRandomValues_b3f15fcbfabb0f8b: function() {
219
+ return D(function(A, g) {
220
+ A.getRandomValues(g);
221
+ }, arguments);
222
+ },
223
+ __wbg_getTime_1e3cd1391c5c3995: function(A) {
224
+ return A.getTime();
225
+ },
226
+ __wbg_getTimezoneOffset_81776d10a4ec18a8: function(A) {
227
+ return A.getTimezoneOffset();
228
+ },
229
+ __wbg_getUint32_bb6f5a401408e7fa: function(A, g, I) {
230
+ return A.getUint32(g >>> 0, I !== 0);
231
+ },
232
+ __wbg_get_7efbcc3819719b0f: function() {
233
+ return D(function(A, g) {
234
+ return A.get(g >>> 0);
235
+ }, arguments);
236
+ },
237
+ __wbg_get_9b94d73e6221f75c: function(A, g) {
238
+ return A[g >>> 0];
239
+ },
240
+ __wbg_get_b3ed3ad4be2bc8ac: function() {
241
+ return D(function(A, g) {
242
+ return Reflect.get(A, g);
243
+ }, arguments);
244
+ },
245
+ __wbg_get_index_253dd2a9e007656d: function(A, g) {
246
+ return A[g >>> 0];
247
+ },
248
+ __wbg_get_index_9a5bfdd2ca49c65f: function(A, g) {
249
+ return A[g >>> 0];
250
+ },
251
+ __wbg_get_with_ref_key_1dc361bd10053bfe: function(A, g) {
252
+ return A[g];
253
+ },
254
+ __wbg_grow_5d42bf28c2da22cb: function() {
255
+ return D(function(A, g) {
256
+ return A.grow(g >>> 0);
257
+ }, arguments);
258
+ },
259
+ __wbg_grow_d034989fce14cc8e: function() {
260
+ return D(function(A, g) {
261
+ return A.grow(g >>> 0);
262
+ }, arguments);
263
+ },
264
+ __wbg_imports_8333d40ab24779ad: function(A) {
265
+ return WebAssembly.Module.imports(A);
266
+ },
267
+ __wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: function(A) {
268
+ let g;
269
+ try {
270
+ g = A instanceof ArrayBuffer;
271
+ } catch {
272
+ g = !1;
273
+ }
274
+ return g;
275
+ },
276
+ __wbg_instanceof_Error_8573fe0b0b480f46: function(A) {
277
+ let g;
278
+ try {
279
+ g = A instanceof Error;
280
+ } catch {
281
+ g = !1;
282
+ }
283
+ return g;
284
+ },
285
+ __wbg_instanceof_Function_2a29eec978bb3b11: function(A) {
286
+ let g;
287
+ try {
288
+ g = A instanceof Function;
289
+ } catch {
290
+ g = !1;
291
+ }
292
+ return g;
293
+ },
294
+ __wbg_instanceof_Global_2db767b6b2347f01: function(A) {
295
+ let g;
296
+ try {
297
+ g = A instanceof WebAssembly.Global;
298
+ } catch {
299
+ g = !1;
300
+ }
301
+ return g;
302
+ },
303
+ __wbg_instanceof_Map_53af74335dec57f4: function(A) {
304
+ let g;
305
+ try {
306
+ g = A instanceof Map;
307
+ } catch {
308
+ g = !1;
309
+ }
310
+ return g;
311
+ },
312
+ __wbg_instanceof_Memory_dc8c61e3f831ee37: function(A) {
313
+ let g;
314
+ try {
315
+ g = A instanceof WebAssembly.Memory;
316
+ } catch {
317
+ g = !1;
318
+ }
319
+ return g;
320
+ },
321
+ __wbg_instanceof_Module_d0d412b14363ba9a: function(A) {
322
+ let g;
323
+ try {
324
+ g = A instanceof WebAssembly.Module;
325
+ } catch {
326
+ g = !1;
327
+ }
328
+ return g;
329
+ },
330
+ __wbg_instanceof_Object_1c6af87502b733ed: function(A) {
331
+ let g;
332
+ try {
333
+ g = A instanceof Object;
334
+ } catch {
335
+ g = !1;
336
+ }
337
+ return g;
338
+ },
339
+ __wbg_instanceof_RangeError_0b0dd056bc557b89: function(A) {
340
+ let g;
341
+ try {
342
+ g = A instanceof RangeError;
343
+ } catch {
344
+ g = !1;
345
+ }
346
+ return g;
347
+ },
348
+ __wbg_instanceof_Response_ee1d54d79ae41977: function(A) {
349
+ let g;
350
+ try {
351
+ g = A instanceof Response;
352
+ } catch {
353
+ g = !1;
354
+ }
355
+ return g;
356
+ },
357
+ __wbg_instanceof_SharedArrayBuffer_91d8a2fa16a2cc26: function(A) {
358
+ let g;
359
+ try {
360
+ g = A instanceof SharedArrayBuffer;
361
+ } catch {
362
+ g = !1;
363
+ }
364
+ return g;
365
+ },
366
+ __wbg_instanceof_Table_127f216e592f4159: function(A) {
367
+ let g;
368
+ try {
369
+ g = A instanceof WebAssembly.Table;
370
+ } catch {
371
+ g = !1;
372
+ }
373
+ return g;
374
+ },
375
+ __wbg_instanceof_Tag_f1d6b24a98b95210: function(A) {
376
+ let g;
377
+ try {
378
+ g = A instanceof WebAssembly.Tag;
379
+ } catch {
380
+ g = !1;
381
+ }
382
+ return g;
383
+ },
384
+ __wbg_instanceof_Uint8Array_9b9075935c74707c: function(A) {
385
+ let g;
386
+ try {
387
+ g = A instanceof Uint8Array;
388
+ } catch {
389
+ g = !1;
390
+ }
391
+ return g;
392
+ },
393
+ __wbg_isArray_d314bb98fcf08331: function(A) {
394
+ return Array.isArray(A);
395
+ },
396
+ __wbg_isSafeInteger_bfbc7332a9768d2a: function(A) {
397
+ return Number.isSafeInteger(A);
398
+ },
399
+ __wbg_is_f29129f676e5410c: function(A, g) {
400
+ return Object.is(A, g);
401
+ },
402
+ __wbg_iterator_6ff6560ca1568e55: function() {
403
+ return Symbol.iterator;
404
+ },
405
+ __wbg_length_32ed9a279acd054c: function(A) {
406
+ return A.length;
407
+ },
408
+ __wbg_length_35a7bace40f36eac: function(A) {
409
+ return A.length;
410
+ },
411
+ __wbg_length_aeb94ff17a8a8556: function(A) {
412
+ return A.length;
413
+ },
414
+ __wbg_load_eff64ff5e429a422: function() {
415
+ return D(function(A, g) {
416
+ return Atomics.load(A, g >>> 0);
417
+ }, arguments);
418
+ },
419
+ __wbg_message_9ddc4b9a62a7c379: function(A) {
420
+ return A.message;
421
+ },
422
+ __wbg_msCrypto_d562bbe83e0d4b91: function(A) {
423
+ return A.msCrypto;
424
+ },
425
+ __wbg_new_0728bd2d4c5d41dd: function() {
426
+ return D(function(A) {
427
+ return new WebAssembly.Tag(A);
428
+ }, arguments);
429
+ },
430
+ __wbg_new_0_73afc35eb544e539: function() {
431
+ return /* @__PURE__ */ new Date();
432
+ },
433
+ __wbg_new_245cd5c49157e602: function(A) {
434
+ return new Date(A);
435
+ },
436
+ __wbg_new_2ac7fa8be584d280: function(A, g, I) {
437
+ return new DataView(A, g >>> 0, I >>> 0);
438
+ },
439
+ __wbg_new_361308b2356cecd0: function() {
440
+ return new Object();
441
+ },
442
+ __wbg_new_3eb36ae241fe6f44: function() {
443
+ return new Array();
444
+ },
445
+ __wbg_new_4a996a46a82782b6: function() {
446
+ return D(function(A, g) {
447
+ return new WebAssembly.Global(A, g);
448
+ }, arguments);
449
+ },
450
+ __wbg_new_57c27ff3ddf5b62c: function() {
451
+ return D(function(A) {
452
+ return new WebAssembly.Module(A);
453
+ }, arguments);
454
+ },
455
+ __wbg_new_67274f72d5abea37: function() {
456
+ return D(function(A) {
457
+ return new WebAssembly.Table(A);
458
+ }, arguments);
459
+ },
460
+ __wbg_new_8a6f238a6ece86ea: function() {
461
+ return new Error();
462
+ },
463
+ __wbg_new_a4e3cab1cdd635ba: function() {
464
+ return D(function(A, g) {
465
+ return new WebAssembly.Instance(A, g);
466
+ }, arguments);
467
+ },
468
+ __wbg_new_b061c0550d9f3281: function() {
469
+ return D(function(A) {
470
+ return new WebAssembly.Memory(A);
471
+ }, arguments);
472
+ },
473
+ __wbg_new_b5d9e2fb389fef91: function(A, g) {
474
+ try {
475
+ var I = { a: A, b: g }, Q = (w, i) => {
476
+ const o = I.a;
477
+ I.a = 0;
478
+ try {
479
+ return $(o, I.b, w, i);
480
+ } finally {
481
+ I.a = o;
482
+ }
483
+ };
484
+ return new Promise(Q);
485
+ } finally {
486
+ I.a = I.b = 0;
487
+ }
488
+ },
489
+ __wbg_new_ca409f861989e0c5: function(A) {
490
+ return new SharedArrayBuffer(A >>> 0);
491
+ },
492
+ __wbg_new_dca287b076112a51: function() {
493
+ return /* @__PURE__ */ new Map();
494
+ },
495
+ __wbg_new_dd2b680c8bf6ae29: function(A) {
496
+ return new Uint8Array(A);
497
+ },
498
+ __wbg_new_from_slice_a3d2629dc1826784: function(A, g) {
499
+ return new Uint8Array(s(A, g));
500
+ },
501
+ __wbg_new_no_args_1c7c842f08d00ebb: function(A, g) {
502
+ return new Function(M(A, g));
503
+ },
504
+ __wbg_new_with_args_7bba34e94b1cfa40: function(A, g, I, Q) {
505
+ return new Function(M(A, g), M(I, Q));
506
+ },
507
+ __wbg_new_with_byte_offset_9120ba79e057895b: function(A, g) {
508
+ return new Uint8Array(A, g >>> 0);
509
+ },
510
+ __wbg_new_with_byte_offset_and_length_aa261d9c9da49eb1: function(A, g, I) {
511
+ return new Uint8Array(A, g >>> 0, I >>> 0);
512
+ },
513
+ __wbg_new_with_byte_offset_and_length_bc2e7b72cc96d1c1: function(A, g, I) {
514
+ return new Int32Array(A, g >>> 0, I >>> 0);
515
+ },
516
+ __wbg_new_with_length_1763c527b2923202: function(A) {
517
+ return new Array(A >>> 0);
518
+ },
519
+ __wbg_new_with_length_a2c39cbe88fd8ff1: function(A) {
520
+ return new Uint8Array(A >>> 0);
521
+ },
522
+ __wbg_next_3482f54c49e8af19: function() {
523
+ return D(function(A) {
524
+ return A.next();
525
+ }, arguments);
526
+ },
527
+ __wbg_next_418f80d8f5303233: function(A) {
528
+ return A.next;
529
+ },
530
+ __wbg_node_e1f24f89a7336c2e: function(A) {
531
+ return A.node;
532
+ },
533
+ __wbg_notify_78a90977fab74963: function() {
534
+ return D(function(A, g) {
535
+ return Atomics.notify(A, g >>> 0);
536
+ }, arguments);
537
+ },
538
+ __wbg_now_a3af9a2f4bbaa4d1: function() {
539
+ return Date.now();
540
+ },
541
+ __wbg_now_ebffdf7e580f210d: function(A) {
542
+ return A.now();
543
+ },
544
+ __wbg_ok_87f537440a0acf85: function(A) {
545
+ return A.ok;
546
+ },
547
+ __wbg_postMessage_2041f4e90af61318: function() {
548
+ return D(function(A, g) {
549
+ A.postMessage(g);
550
+ }, arguments);
551
+ },
552
+ __wbg_process_3975fd6c72f520aa: function(A) {
553
+ return A.process;
554
+ },
555
+ __wbg_prototypesetcall_bdcdcc5842e4d77d: function(A, g, I) {
556
+ Uint8Array.prototype.set.call(s(A, g), I);
557
+ },
558
+ __wbg_push_8ffdcb2063340ba5: function(A, g) {
559
+ return A.push(g);
560
+ },
561
+ __wbg_queueMicrotask_0aa0a927f78f5d98: function(A) {
562
+ return A.queueMicrotask;
563
+ },
564
+ __wbg_queueMicrotask_5bb536982f78a56f: function(A) {
565
+ queueMicrotask(A);
566
+ },
567
+ __wbg_randomFillSync_f8c153b79f285817: function() {
568
+ return D(function(A, g) {
569
+ A.randomFillSync(g);
570
+ }, arguments);
571
+ },
572
+ __wbg_removeEventListener_e63328781a5b9af9: function() {
573
+ return D(function(A, g, I, Q) {
574
+ A.removeEventListener(M(g, I), Q);
575
+ }, arguments);
576
+ },
577
+ __wbg_require_b74f47fc2d022fd6: function() {
578
+ return D(function() {
579
+ return module.require;
580
+ }, arguments);
581
+ },
582
+ __wbg_resolve_002c4b7d9d8f6b64: function(A) {
583
+ return Promise.resolve(A);
584
+ },
585
+ __wbg_setTimeout_e0aacd5a637418a6: function() {
586
+ return D(function(A, g, I) {
587
+ return A.setTimeout(g, I);
588
+ }, arguments);
589
+ },
590
+ __wbg_setUint32_d168af7751a8557e: function(A, g, I, Q) {
591
+ A.setUint32(g >>> 0, I >>> 0, Q !== 0);
592
+ },
593
+ __wbg_set_0af2522656c2a71b: function() {
594
+ return D(function(A, g, I) {
595
+ A.set(g >>> 0, I);
596
+ }, arguments);
597
+ },
598
+ __wbg_set_1eb0999cf5d27fc8: function(A, g, I) {
599
+ return A.set(g, I);
600
+ },
601
+ __wbg_set_25cf9deff6bf0ea8: function(A, g, I) {
602
+ A.set(g, I >>> 0);
603
+ },
604
+ __wbg_set_3f1d0b984ed272ed: function(A, g, I) {
605
+ A[g] = I;
606
+ },
607
+ __wbg_set_6cb8631f80447a67: function() {
608
+ return D(function(A, g, I) {
609
+ return Reflect.set(A, g, I);
610
+ }, arguments);
611
+ },
612
+ __wbg_set_cc56eefd2dd91957: function(A, g, I) {
613
+ A.set(s(g, I));
614
+ },
615
+ __wbg_set_f43e577aea94465b: function(A, g, I) {
616
+ A[g >>> 0] = I;
617
+ },
618
+ __wbg_set_index_b3244a6c458021e4: function(A, g, I) {
619
+ A[g >>> 0] = I;
620
+ },
621
+ __wbg_set_index_f259b54e97f7b177: function(A, g, I) {
622
+ A[g >>> 0] = I;
623
+ },
624
+ __wbg_set_onmessage_ea7cc2ba099021cd: function(A, g) {
625
+ A.onmessage = g;
626
+ },
627
+ __wbg_set_value_fc06e541de098215: function(A, g) {
628
+ A.value = g;
629
+ },
630
+ __wbg_slice_8bbd46adb2100583: function(A, g, I) {
631
+ return A.slice(g >>> 0, I >>> 0);
632
+ },
633
+ __wbg_stack_0ed75d68575b0f3c: function(A, g) {
634
+ const I = g.stack, Q = k(I, B.__wbindgen_malloc, B.__wbindgen_realloc), E = G;
635
+ N().setInt32(A + 4, E, !0), N().setInt32(A + 0, Q, !0);
636
+ },
637
+ __wbg_static_accessor_GLOBAL_12837167ad935116: function() {
638
+ const A = typeof global > "u" ? null : global;
639
+ return F(A) ? 0 : U(A);
640
+ },
641
+ __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f: function() {
642
+ const A = typeof globalThis > "u" ? null : globalThis;
643
+ return F(A) ? 0 : U(A);
644
+ },
645
+ __wbg_static_accessor_SELF_a621d3dfbb60d0ce: function() {
646
+ const A = typeof self > "u" ? null : self;
647
+ return F(A) ? 0 : U(A);
648
+ },
649
+ __wbg_static_accessor_WINDOW_f8727f0cf888e0bd: function() {
650
+ const A = typeof window > "u" ? null : window;
651
+ return F(A) ? 0 : U(A);
652
+ },
653
+ __wbg_store_d1d951c98d9bed41: function() {
654
+ return D(function(A, g, I) {
655
+ return Atomics.store(A, g >>> 0, I);
656
+ }, arguments);
657
+ },
658
+ __wbg_subarray_a96e1fef17ed23cb: function(A, g, I) {
659
+ return A.subarray(g >>> 0, I >>> 0);
660
+ },
661
+ __wbg_then_0d9fe2c7b1857d32: function(A, g, I) {
662
+ return A.then(g, I);
663
+ },
664
+ __wbg_then_b9e7b3b5f1a9e1b5: function(A, g) {
665
+ return A.then(g);
666
+ },
667
+ __wbg_toString_56d946daff83867b: function(A, g, I) {
668
+ const Q = g.toString(I), E = k(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), w = G;
669
+ N().setInt32(A + 4, w, !0), N().setInt32(A + 0, E, !0);
670
+ },
671
+ __wbg_toString_964ff7fe6eca8362: function(A) {
672
+ return A.toString();
673
+ },
674
+ __wbg_trap_new: function(A) {
675
+ return S.__wrap(A);
676
+ },
677
+ __wbg_validate_71c2d02a71bda62f: function() {
678
+ return D(function(A) {
679
+ return WebAssembly.validate(A);
680
+ }, arguments);
681
+ },
682
+ __wbg_value_0546255b415e96c1: function(A) {
683
+ return A.value;
684
+ },
685
+ __wbg_value_ce37a60e576310ff: function(A) {
686
+ return A.value;
687
+ },
688
+ __wbg_versions_4e31226f5e8dc909: function(A) {
689
+ return A.versions;
690
+ },
691
+ __wbg_wait_be5dae1e53f590f1: function() {
692
+ return D(function(A, g, I) {
693
+ return Atomics.wait(A, g >>> 0, I);
694
+ }, arguments);
695
+ },
696
+ __wbg_warn_81ab00e6e16e886d: function(A, g, I) {
697
+ console.warn(A, g, I);
698
+ },
699
+ __wbindgen_cast_0000000000000001: function(A, g) {
700
+ return R(A, g, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_for__a__core_37ee0ce0c4cd57d5___ops__function__FnMut____a_js_sys_9eaf8169b8189500___Array____Output___core_37ee0ce0c4cd57d5___result__Result_js_sys_9eaf8169b8189500___Array__wasm_bindgen_36932265c58943ab___JsValue___, Z);
701
+ },
702
+ __wbindgen_cast_0000000000000002: function(A, g) {
703
+ return R(A, g, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_for__a__core_37ee0ce0c4cd57d5___ops__function__FnMut____a_js_sys_9eaf8169b8189500___Array____Output___core_37ee0ce0c4cd57d5___result__Result_js_sys_9eaf8169b8189500___Array__wasm_bindgen_36932265c58943ab___JsValue___, Z);
704
+ },
705
+ __wbindgen_cast_0000000000000003: function(A, g) {
706
+ return R(A, g, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_for__a__core_37ee0ce0c4cd57d5___ops__function__FnMut____a_js_sys_9eaf8169b8189500___Array____Output___core_37ee0ce0c4cd57d5___result__Result_js_sys_9eaf8169b8189500___Array__wasm_bindgen_36932265c58943ab___JsValue___, _);
707
+ },
708
+ __wbindgen_cast_0000000000000004: function(A, g) {
709
+ return R(A, g, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_core_37ee0ce0c4cd57d5___ops__function__FnMut__wasm_bindgen_36932265c58943ab___JsValue____Output_______, v);
710
+ },
711
+ __wbindgen_cast_0000000000000005: function(A, g) {
712
+ return gA(A, g, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_core_37ee0ce0c4cd57d5___ops__function__Fn__web_sys_ca373f7aaf47173f___features__gen_MessageEvent__MessageEvent____Output_______, u);
713
+ },
714
+ __wbindgen_cast_0000000000000006: function(A, g) {
715
+ return R(A, g, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_core_37ee0ce0c4cd57d5___ops__function__Fn__web_sys_ca373f7aaf47173f___features__gen_MessageEvent__MessageEvent____Output_______, e);
716
+ },
717
+ __wbindgen_cast_0000000000000007: function(A) {
718
+ return A;
719
+ },
720
+ __wbindgen_cast_0000000000000008: function(A) {
721
+ return A;
722
+ },
723
+ __wbindgen_cast_0000000000000009: function(A, g) {
724
+ return s(A, g);
725
+ },
726
+ __wbindgen_cast_000000000000000a: function(A, g) {
727
+ return M(A, g);
728
+ },
729
+ __wbindgen_cast_000000000000000b: function(A, g) {
730
+ return BigInt.asUintN(64, A) | BigInt.asUintN(64, g) << BigInt(64);
731
+ },
732
+ __wbindgen_cast_000000000000000c: function(A) {
733
+ return BigInt.asUintN(64, A);
734
+ },
735
+ __wbindgen_cast_000000000000000d: function(A, g) {
736
+ var I = AA(A, g).slice();
737
+ return B.__wbindgen_free(A, g * 4, 4), I;
738
+ },
739
+ __wbindgen_init_externref_table: function() {
740
+ const A = B.__wbindgen_externrefs, g = A.grow(4);
741
+ A.set(0, void 0), A.set(g + 0, void 0), A.set(g + 1, null), A.set(g + 2, !0), A.set(g + 3, !1);
742
+ }
743
+ }
744
+ };
745
+ }
746
+ function v(C, A, g) {
747
+ B.wasm_bindgen_36932265c58943ab___convert__closures_____invoke___wasm_bindgen_36932265c58943ab___JsValue_____(C, A, g);
748
+ }
749
+ function u(C, A, g) {
750
+ B.wasm_bindgen_36932265c58943ab___convert__closures_____invoke___web_sys_ca373f7aaf47173f___features__gen_MessageEvent__MessageEvent_____(C, A, g);
751
+ }
752
+ function e(C, A, g) {
753
+ B.wasm_bindgen_36932265c58943ab___convert__closures_____invoke___web_sys_ca373f7aaf47173f___features__gen_MessageEvent__MessageEvent______1_(C, A, g);
754
+ }
755
+ function _(C, A, g) {
756
+ const I = B.wasm_bindgen_36932265c58943ab___convert__closures________invoke___js_sys_9eaf8169b8189500___Array__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_36932265c58943ab___JsValue__(C, A, g);
757
+ if (I[1])
758
+ throw V(I[0]);
759
+ }
760
+ function Z(C, A, g) {
761
+ const I = B.wasm_bindgen_36932265c58943ab___convert__closures________invoke___js_sys_9eaf8169b8189500___Array__core_37ee0ce0c4cd57d5___result__Result_js_sys_9eaf8169b8189500___Array__wasm_bindgen_36932265c58943ab___JsValue__(C, A, g);
762
+ if (I[2])
763
+ throw V(I[1]);
764
+ return V(I[0]);
765
+ }
766
+ function $(C, A, g, I) {
767
+ B.wasm_bindgen_36932265c58943ab___convert__closures_____invoke___wasm_bindgen_36932265c58943ab___JsValue__wasm_bindgen_36932265c58943ab___JsValue_____(C, A, g, I);
768
+ }
769
+ typeof FinalizationRegistry > "u" || new FinalizationRegistry((C) => B.__wbg_dapadapter_free(C >>> 0, 1));
770
+ const W = typeof FinalizationRegistry > "u" ? { register: () => {
771
+ }, unregister: () => {
772
+ } } : new FinalizationRegistry((C) => B.__wbg_trap_free(C >>> 0, 1));
773
+ function U(C) {
774
+ const A = B.__externref_table_alloc();
775
+ return B.__wbindgen_externrefs.set(A, C), A;
776
+ }
777
+ const a = typeof FinalizationRegistry > "u" ? { register: () => {
778
+ }, unregister: () => {
779
+ } } : new FinalizationRegistry((C) => C.dtor(C.a, C.b));
780
+ function t(C) {
781
+ const A = typeof C;
782
+ if (A == "number" || A == "boolean" || C == null)
783
+ return `${C}`;
784
+ if (A == "string")
785
+ return `"${C}"`;
786
+ if (A == "symbol") {
787
+ const Q = C.description;
788
+ return Q == null ? "Symbol" : `Symbol(${Q})`;
789
+ }
790
+ if (A == "function") {
791
+ const Q = C.name;
792
+ return typeof Q == "string" && Q.length > 0 ? `Function(${Q})` : "Function";
793
+ }
794
+ if (Array.isArray(C)) {
795
+ const Q = C.length;
796
+ let E = "[";
797
+ Q > 0 && (E += t(C[0]));
798
+ for (let w = 1; w < Q; w++)
799
+ E += ", " + t(C[w]);
800
+ return E += "]", E;
801
+ }
802
+ const g = /\[object ([^\]]+)\]/.exec(toString.call(C));
803
+ let I;
804
+ if (g && g.length > 1)
805
+ I = g[1];
806
+ else
807
+ return toString.call(C);
808
+ if (I == "Object")
809
+ try {
810
+ return "Object(" + JSON.stringify(C) + ")";
811
+ } catch {
812
+ return "Object";
813
+ }
814
+ return C instanceof Error ? `${C.name}: ${C.message}
815
+ ${C.stack}` : I;
816
+ }
817
+ function AA(C, A) {
818
+ C = C >>> 0;
819
+ const g = N(), I = [];
820
+ for (let Q = C; Q < C + 4 * A; Q += 4)
821
+ I.push(B.__wbindgen_externrefs.get(g.getUint32(Q, !0)));
822
+ return B.__externref_drop_slice(C, A), I;
823
+ }
824
+ function s(C, A) {
825
+ return C = C >>> 0, Y().subarray(C / 1, C / 1 + A);
826
+ }
827
+ let K = null;
828
+ function N() {
829
+ return (K === null || K.buffer.detached === !0 || K.buffer.detached === void 0 && K.buffer !== B.memory.buffer) && (K = new DataView(B.memory.buffer)), K;
830
+ }
831
+ function M(C, A) {
832
+ return C = C >>> 0, CA(C, A);
833
+ }
834
+ let J = null;
835
+ function Y() {
836
+ return (J === null || J.byteLength === 0) && (J = new Uint8Array(B.memory.buffer)), J;
837
+ }
838
+ function D(C, A) {
839
+ try {
840
+ return C.apply(this, A);
841
+ } catch (g) {
842
+ const I = U(g);
843
+ B.__wbindgen_exn_store(I);
844
+ }
845
+ }
846
+ function F(C) {
847
+ return C == null;
848
+ }
849
+ function gA(C, A, g, I) {
850
+ const Q = { a: C, b: A, cnt: 1, dtor: g }, E = (...w) => {
851
+ Q.cnt++;
852
+ try {
853
+ return I(Q.a, Q.b, ...w);
854
+ } finally {
855
+ E._wbg_cb_unref();
856
+ }
857
+ };
858
+ return E._wbg_cb_unref = () => {
859
+ --Q.cnt === 0 && (Q.dtor(Q.a, Q.b), Q.a = 0, a.unregister(Q));
860
+ }, a.register(E, Q, Q), E;
861
+ }
862
+ function R(C, A, g, I) {
863
+ const Q = { a: C, b: A, cnt: 1, dtor: g }, E = (...w) => {
864
+ Q.cnt++;
865
+ const i = Q.a;
866
+ Q.a = 0;
867
+ try {
868
+ return I(i, Q.b, ...w);
869
+ } finally {
870
+ Q.a = i, E._wbg_cb_unref();
871
+ }
872
+ };
873
+ return E._wbg_cb_unref = () => {
874
+ --Q.cnt === 0 && (Q.dtor(Q.a, Q.b), Q.a = 0, a.unregister(Q));
875
+ }, a.register(E, Q, Q), E;
876
+ }
877
+ function T(C, A) {
878
+ const g = A(C.length * 1, 1) >>> 0;
879
+ return Y().set(C, g / 1), G = C.length, g;
880
+ }
881
+ function k(C, A, g) {
882
+ if (g === void 0) {
883
+ const i = L.encode(C), o = A(i.length, 1) >>> 0;
884
+ return Y().subarray(o, o + i.length).set(i), G = i.length, o;
885
+ }
886
+ let I = C.length, Q = A(I, 1) >>> 0;
887
+ const E = Y();
888
+ let w = 0;
889
+ for (; w < I; w++) {
890
+ const i = C.charCodeAt(w);
891
+ if (i > 127) break;
892
+ E[Q + w] = i;
893
+ }
894
+ if (w !== I) {
895
+ w !== 0 && (C = C.slice(w)), Q = g(Q, I, I = w + C.length * 3, 1) >>> 0;
896
+ const i = Y().subarray(Q + w, Q + I), o = L.encodeInto(C, i);
897
+ w += o.written, Q = g(Q, I, w, 1) >>> 0;
898
+ }
899
+ return G = w, Q;
900
+ }
901
+ function V(C) {
902
+ const A = B.__wbindgen_externrefs.get(C);
903
+ return B.__externref_table_dealloc(C), A;
904
+ }
905
+ let c = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
906
+ c.decode();
907
+ const IA = 2146435072;
908
+ let x = 0;
909
+ function CA(C, A) {
910
+ return x += A, x >= IA && (c = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), c.decode(), x = A), c.decode(Y().subarray(C, C + A));
911
+ }
912
+ const L = new TextEncoder();
913
+ "encodeInto" in L || (L.encodeInto = function(C, A) {
914
+ const g = L.encode(C);
915
+ return A.set(g), {
916
+ read: C.length,
917
+ written: g.length
918
+ };
919
+ });
920
+ let G = 0, B;
921
+ function QA(C, A) {
922
+ return B = C.exports, K = null, J = null, B.__wbindgen_start(), B;
923
+ }
924
+ async function BA(C, A) {
925
+ if (typeof Response == "function" && C instanceof Response) {
926
+ if (typeof WebAssembly.instantiateStreaming == "function")
927
+ try {
928
+ return await WebAssembly.instantiateStreaming(C, A);
929
+ } catch (Q) {
930
+ if (C.ok && g(C.type) && C.headers.get("Content-Type") !== "application/wasm")
931
+ 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", Q);
932
+ else
933
+ throw Q;
934
+ }
935
+ const I = await C.arrayBuffer();
936
+ return await WebAssembly.instantiate(I, A);
937
+ } else {
938
+ const I = await WebAssembly.instantiate(C, A);
939
+ return I instanceof WebAssembly.Instance ? { instance: I, module: C } : I;
940
+ }
941
+ function g(I) {
942
+ switch (I) {
943
+ case "basic":
944
+ case "cors":
945
+ case "default":
946
+ return !0;
947
+ }
948
+ return !1;
949
+ }
950
+ }
951
+ async function EA(C) {
952
+ if (B !== void 0) return B;
953
+ C !== void 0 && (Object.getPrototypeOf(C) === Object.prototype ? { module_or_path: C } = C : console.warn("using deprecated parameters for the initialization function; pass a single object instead")), C === void 0 && (C = new URL("", import.meta.url));
954
+ const A = n();
955
+ (typeof C == "string" || typeof Request == "function" && C instanceof Request || typeof URL == "function" && C instanceof URL) && (C = fetch(C));
956
+ const { instance: g, module: I } = await BA(await C, A);
957
+ return QA(g);
958
+ }
959
+ var DA = new URL("https://cdn.jsdelivr.net/npm/glassjar@0.3.0/dist/engine_bg.wasm");
960
+ class wA {
961
+ enabled = !1;
962
+ verified;
963
+ verifiedBytes = 0;
964
+ generation = 0;
965
+ retained;
966
+ stats = this.emptyStats();
967
+ emit;
968
+ constructor(A) {
969
+ this.emit = A;
970
+ }
971
+ configure({ cacheCompilerModule: A, compilerModule: g }) {
972
+ this.generation++, this.enabled = A, this.retained = void 0, this.stats = this.emptyStats(), A && g?.module instanceof WebAssembly.Module && g.bytes instanceof Uint8Array && /^[a-f0-9]{64}$/.test(g.sha256) && (this.retained = { ...g, bytes: new Uint8Array(g.bytes) });
973
+ }
974
+ /** Private worker seed received only from the engine's verified owner. */
975
+ configureVerified(A, g) {
976
+ this.enabled = g, this.verifiedBytes = A.compiler.byteLength, this.verified = { ...A, compiler: new Uint8Array(), sysroot: new Uint8Array() }, this.retained = void 0, this.stats = this.emptyStats();
977
+ }
978
+ beginOperation() {
979
+ this.stats = this.emptyStats();
980
+ }
981
+ constructVerified(A) {
982
+ const g = this.verified;
983
+ if (!g) throw new Error("Compiler toolchain is not configured");
984
+ if (g.module && this.enabled)
985
+ return this.stats.hits++, this.publishStats(), g.module;
986
+ this.stats.misses++;
987
+ const I = this.compile(A);
988
+ return this.enabled && (g.module = I), this.publishStats(), I;
989
+ }
990
+ async construct(A) {
991
+ if (!this.enabled) return this.compile(A);
992
+ const g = this.generation, I = this.stats, Q = new Uint8Array(A);
993
+ let E;
994
+ const w = performance.now();
995
+ try {
996
+ const p = await crypto.subtle.digest("SHA-256", Q);
997
+ E = Array.from(
998
+ new Uint8Array(p),
999
+ (d) => d.toString(16).padStart(2, "0")
1000
+ ).join("");
1001
+ } catch {
1002
+ return I.hashMs += performance.now() - w, I.bypasses++, g === this.generation && (this.retained = void 0), this.compile(Q, I);
1003
+ }
1004
+ if (I.hashMs += performance.now() - w, g !== this.generation) return this.compile(Q, I);
1005
+ const i = performance.now(), o = this.retained, q = o?.sha256 === E && o.bytes.length === Q.length && iA(o.bytes, Q);
1006
+ if (this.stats.compareMs += performance.now() - i, q)
1007
+ return this.stats.hits++, this.publishStats(), o.module;
1008
+ this.stats.misses++, this.retained = void 0;
1009
+ const h = this.compile(Q);
1010
+ return this.retained = { module: h, bytes: Q, sha256: E }, this.send({ type: "compiler_module", value: this.retained }), this.publishStats(), h;
1011
+ }
1012
+ /** Called after a fresh compiler WASI environment and Instance have been created. */
1013
+ instantiated(A) {
1014
+ Number.isFinite(A) && A >= 0 && (this.stats.instantiateMs += A), this.publishStats();
1015
+ }
1016
+ compile(A, g = this.stats) {
1017
+ const I = performance.now();
1018
+ try {
1019
+ return new WebAssembly.Module(A);
1020
+ } finally {
1021
+ g.compileMs += performance.now() - I;
1022
+ }
1023
+ }
1024
+ publishStats() {
1025
+ this.send({
1026
+ type: "compiler_module_stats",
1027
+ ...this.stats,
1028
+ identityBytes: this.verified ? this.verifiedBytes : this.retained?.bytes.byteLength ?? 0,
1029
+ sha256: this.verified?.compilerHash ?? this.retained?.sha256
1030
+ });
1031
+ }
1032
+ emptyStats() {
1033
+ return {
1034
+ hits: 0,
1035
+ misses: 0,
1036
+ bypasses: 0,
1037
+ hashMs: 0,
1038
+ compareMs: 0,
1039
+ compileMs: 0,
1040
+ instantiateMs: 0,
1041
+ identityBytes: 0
1042
+ };
1043
+ }
1044
+ send(A) {
1045
+ try {
1046
+ this.emit(A);
1047
+ } catch {
1048
+ this.stats.bypasses++;
1049
+ }
1050
+ }
1051
+ }
1052
+ function iA(C, A) {
1053
+ for (let g = 0; g < C.length; g++)
1054
+ if (C[g] !== A[g]) return !1;
1055
+ return !0;
1056
+ }
1057
+ const O = "glassjar-wasm:";
1058
+ function oA(C, A) {
1059
+ const g = new URL(String(C), A);
1060
+ if (g.protocol !== "https:" && g.protocol !== "http:")
1061
+ throw new TypeError(`Engine Wasm must be served over http(s), not ${g.protocol}`);
1062
+ return g.href;
1063
+ }
1064
+ let y = { scopeEpoch: 0, operationId: 0, cacheEpoch: 0 }, j;
1065
+ const H = new wA(
1066
+ (C) => postMessage({ ...C, ...y })
1067
+ );
1068
+ addEventListener(
1069
+ "message",
1070
+ (C) => {
1071
+ const A = C.data;
1072
+ if (A?.type === "configure_cpp") {
1073
+ if (C.stopImmediatePropagation(), !A.toolchain) throw new Error("Missing verified compiler seed");
1074
+ H.configureVerified(A.toolchain, A.cacheCompilerModule), X(
1075
+ A.toolchain.compiler,
1076
+ A.toolchain.sysroot,
1077
+ A.toolchain.compilerHash,
1078
+ A.toolchain.sysrootHash,
1079
+ A.toolchain.exceptionsHash,
1080
+ A.toolchain.stockProfile === !0
1081
+ );
1082
+ } else if (A?.type === "object_build_ack") {
1083
+ C.stopImmediatePropagation();
1084
+ const g = A;
1085
+ if (g.scopeEpoch === y.scopeEpoch && g.operationId === y.operationId && g.cacheEpoch === y.cacheEpoch) {
1086
+ const I = j;
1087
+ j = void 0, I?.();
1088
+ }
1089
+ } else typeof A?.operation_id == "number" && (H.beginOperation(), y = {
1090
+ scopeEpoch: A.scope_epoch,
1091
+ operationId: A.operation_id,
1092
+ cacheEpoch: A.cache_epoch
1093
+ });
1094
+ }
1095
+ );
1096
+ try {
1097
+ const C = self.name.startsWith(O) ? oA(self.name.slice(O.length)) : void 0;
1098
+ await EA({ module_or_path: C ?? DA }), P(
1099
+ (A) => H.constructVerified(A)
1100
+ ), r(
1101
+ () => new Promise((A) => {
1102
+ j = A, postMessage({ type: "object_build_complete", ...y });
1103
+ })
1104
+ ), b(
1105
+ (A) => H.instantiated(A)
1106
+ ), m();
1107
+ } catch (C) {
1108
+ postMessage({
1109
+ type: "error",
1110
+ message: C instanceof Error ? C.message : String(C)
1111
+ });
1112
+ }