glassjar 0.6.0 → 0.7.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.
@@ -1,12 +1,12 @@
1
- class S {
1
+ class h {
2
2
  static __wrap(A) {
3
3
  A = A >>> 0;
4
- const g = Object.create(S.prototype);
5
- return g.__wbg_ptr = A, O.register(g, g.__wbg_ptr, g), g;
4
+ const g = Object.create(h.prototype);
5
+ return g.__wbg_ptr = A, T.register(g, g.__wbg_ptr, g), g;
6
6
  }
7
7
  __destroy_into_raw() {
8
8
  const A = this.__wbg_ptr;
9
- return this.__wbg_ptr = 0, O.unregister(this), A;
9
+ return this.__wbg_ptr = 0, T.unregister(this), A;
10
10
  }
11
11
  free() {
12
12
  const A = this.__destroy_into_raw();
@@ -20,18 +20,18 @@ class S {
20
20
  B.trap___wbg_wasmer_trap();
21
21
  }
22
22
  }
23
- Symbol.dispose && (S.prototype[Symbol.dispose] = S.prototype.free);
24
- function b(C, A, g, I, Q, E) {
25
- const w = j(C, B.__wbindgen_malloc), i = k, N = j(A, B.__wbindgen_malloc), q = k, h = M(g, B.__wbindgen_malloc, B.__wbindgen_realloc), p = k, V = M(I, B.__wbindgen_malloc, B.__wbindgen_realloc), z = k, f = M(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), X = k;
26
- B.configure_compiler_toolchain(w, i, N, q, h, p, V, z, f, X, E);
23
+ Symbol.dispose && (h.prototype[Symbol.dispose] = h.prototype.free);
24
+ function l(C, A, g, I, Q, E) {
25
+ const w = Z(C, B.__wbindgen_malloc), i = F, o = Z(A, B.__wbindgen_malloc), q = F, L = G(g, B.__wbindgen_malloc, B.__wbindgen_realloc), j = F, V = G(I, B.__wbindgen_malloc, B.__wbindgen_realloc), z = F, f = G(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), P = F;
26
+ B.configure_compiler_toolchain(w, i, o, q, L, j, V, z, f, P, E);
27
27
  }
28
- function m() {
28
+ function b() {
29
29
  B.main();
30
30
  }
31
- function l(C) {
31
+ function X(C) {
32
32
  B.set_compiler_instance_observer(C);
33
33
  }
34
- function P(C) {
34
+ function m(C) {
35
35
  B.set_compiler_module_constructor(C);
36
36
  }
37
37
  function r(C) {
@@ -46,26 +46,26 @@ function n() {
46
46
  return BigInt(A);
47
47
  },
48
48
  __wbg_Error_8c4e43fe74559d73: function(A, g) {
49
- return Error(F(A, g));
49
+ return Error(k(A, g));
50
50
  },
51
51
  __wbg_Number_04624de7d0e8332d: function(A) {
52
52
  return Number(A);
53
53
  },
54
54
  __wbg_String_8f0eb39a4a4c2f66: function(A, g) {
55
- const I = String(g), Q = M(I, B.__wbindgen_malloc, B.__wbindgen_realloc), E = k;
56
- o().setInt32(A + 4, E, !0), o().setInt32(A + 0, Q, !0);
55
+ const I = String(g), Q = G(I, B.__wbindgen_malloc, B.__wbindgen_realloc), E = F;
56
+ N().setInt32(A + 4, E, !0), N().setInt32(A + 0, Q, !0);
57
57
  },
58
58
  __wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: function(A, g) {
59
59
  const I = g, Q = typeof I == "bigint" ? I : void 0;
60
- o().setBigInt64(A + 8, G(Q) ? BigInt(0) : Q, !0), o().setInt32(A + 0, !G(Q), !0);
60
+ N().setBigInt64(A + 8, M(Q) ? BigInt(0) : Q, !0), N().setInt32(A + 0, !M(Q), !0);
61
61
  },
62
62
  __wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: function(A) {
63
63
  const g = A, I = typeof g == "boolean" ? g : void 0;
64
- return G(I) ? 16777215 : I ? 1 : 0;
64
+ return M(I) ? 16777215 : I ? 1 : 0;
65
65
  },
66
66
  __wbg___wbindgen_debug_string_0bc8482c6e3508ae: function(A, g) {
67
- const I = T(g), Q = M(I, B.__wbindgen_malloc, B.__wbindgen_realloc), E = k;
68
- o().setInt32(A + 4, E, !0), o().setInt32(A + 0, Q, !0);
67
+ const I = O(g), Q = G(I, B.__wbindgen_malloc, B.__wbindgen_realloc), E = F;
68
+ N().setInt32(A + 4, E, !0), N().setInt32(A + 0, Q, !0);
69
69
  },
70
70
  __wbg___wbindgen_function_table_5ae7216dfcbcc506: function() {
71
71
  return B.__wbindgen_export;
@@ -103,7 +103,7 @@ function n() {
103
103
  },
104
104
  __wbg___wbindgen_number_get_8ff4255516ccad3e: function(A, g) {
105
105
  const I = g, Q = typeof I == "number" ? I : void 0;
106
- o().setFloat64(A + 8, G(Q) ? 0 : Q, !0), o().setInt32(A + 0, !G(Q), !0);
106
+ N().setFloat64(A + 8, M(Q) ? 0 : Q, !0), N().setInt32(A + 0, !M(Q), !0);
107
107
  },
108
108
  __wbg___wbindgen_rethrow_05525c567f154472: function(A) {
109
109
  throw A;
@@ -113,18 +113,18 @@ function n() {
113
113
  },
114
114
  __wbg___wbindgen_string_get_72fb696202c56729: function(A, g) {
115
115
  const I = g, Q = typeof I == "string" ? I : void 0;
116
- var E = G(Q) ? 0 : M(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), w = k;
117
- o().setInt32(A + 4, w, !0), o().setInt32(A + 0, E, !0);
116
+ var E = M(Q) ? 0 : G(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), w = F;
117
+ N().setInt32(A + 4, w, !0), N().setInt32(A + 0, E, !0);
118
118
  },
119
119
  __wbg___wbindgen_throw_be289d5034ed271b: function(A, g) {
120
- throw new Error(F(A, g));
120
+ throw new Error(k(A, g));
121
121
  },
122
122
  __wbg__wbg_cb_unref_d9b87ff7982e3b21: function(A) {
123
123
  A._wbg_cb_unref();
124
124
  },
125
125
  __wbg_addEventListener_3acb0aad4483804c: function() {
126
126
  return D(function(A, g, I, Q) {
127
- A.addEventListener(F(g, I), Q);
127
+ A.addEventListener(k(g, I), Q);
128
128
  }, arguments);
129
129
  },
130
130
  __wbg_apply_2e22c45cb4f12415: function() {
@@ -179,7 +179,7 @@ function n() {
179
179
  return A.crypto;
180
180
  },
181
181
  __wbg_customSections_193491b069139fb1: function(A, g, I) {
182
- return WebAssembly.Module.customSections(A, F(g, I));
182
+ return WebAssembly.Module.customSections(A, k(g, I));
183
183
  },
184
184
  __wbg_data_5330da50312d0bc1: function(A) {
185
185
  return A.data;
@@ -193,7 +193,7 @@ function n() {
193
193
  __wbg_error_7534b8e9a36f1ab4: function(A, g) {
194
194
  let I, Q;
195
195
  try {
196
- I = A, Q = g, console.error(F(A, g));
196
+ I = A, Q = g, console.error(k(A, g));
197
197
  } finally {
198
198
  B.__wbindgen_free(I, Q, 1);
199
199
  }
@@ -205,7 +205,7 @@ function n() {
205
205
  return A.exports;
206
206
  },
207
207
  __wbg_fetch_d1488f40cef1e210: function(A, g, I) {
208
- return A.fetch(F(g, I));
208
+ return A.fetch(k(g, I));
209
209
  },
210
210
  __wbg_from_bddd64e7d5ff6941: function(A) {
211
211
  return Array.from(A);
@@ -473,12 +473,12 @@ function n() {
473
473
  __wbg_new_b5d9e2fb389fef91: function(A, g) {
474
474
  try {
475
475
  var I = { a: A, b: g }, Q = (w, i) => {
476
- const N = I.a;
476
+ const o = I.a;
477
477
  I.a = 0;
478
478
  try {
479
- return $(N, I.b, w, i);
479
+ return $(o, I.b, w, i);
480
480
  } finally {
481
- I.a = N;
481
+ I.a = o;
482
482
  }
483
483
  };
484
484
  return new Promise(Q);
@@ -496,13 +496,13 @@ function n() {
496
496
  return new Uint8Array(A);
497
497
  },
498
498
  __wbg_new_from_slice_a3d2629dc1826784: function(A, g) {
499
- return new Uint8Array(s(A, g));
499
+ return new Uint8Array(c(A, g));
500
500
  },
501
501
  __wbg_new_no_args_1c7c842f08d00ebb: function(A, g) {
502
- return new Function(F(A, g));
502
+ return new Function(k(A, g));
503
503
  },
504
504
  __wbg_new_with_args_7bba34e94b1cfa40: function(A, g, I, Q) {
505
- return new Function(F(A, g), F(I, Q));
505
+ return new Function(k(A, g), k(I, Q));
506
506
  },
507
507
  __wbg_new_with_byte_offset_9120ba79e057895b: function(A, g) {
508
508
  return new Uint8Array(A, g >>> 0);
@@ -553,7 +553,7 @@ function n() {
553
553
  return A.process;
554
554
  },
555
555
  __wbg_prototypesetcall_bdcdcc5842e4d77d: function(A, g, I) {
556
- Uint8Array.prototype.set.call(s(A, g), I);
556
+ Uint8Array.prototype.set.call(c(A, g), I);
557
557
  },
558
558
  __wbg_push_8ffdcb2063340ba5: function(A, g) {
559
559
  return A.push(g);
@@ -571,7 +571,7 @@ function n() {
571
571
  },
572
572
  __wbg_removeEventListener_e63328781a5b9af9: function() {
573
573
  return D(function(A, g, I, Q) {
574
- A.removeEventListener(F(g, I), Q);
574
+ A.removeEventListener(k(g, I), Q);
575
575
  }, arguments);
576
576
  },
577
577
  __wbg_require_b74f47fc2d022fd6: function() {
@@ -610,7 +610,7 @@ function n() {
610
610
  }, arguments);
611
611
  },
612
612
  __wbg_set_cc56eefd2dd91957: function(A, g, I) {
613
- A.set(s(g, I));
613
+ A.set(c(g, I));
614
614
  },
615
615
  __wbg_set_f43e577aea94465b: function(A, g, I) {
616
616
  A[g >>> 0] = I;
@@ -631,24 +631,24 @@ function n() {
631
631
  return A.slice(g >>> 0, I >>> 0);
632
632
  },
633
633
  __wbg_stack_0ed75d68575b0f3c: function(A, g) {
634
- const I = g.stack, Q = M(I, B.__wbindgen_malloc, B.__wbindgen_realloc), E = k;
635
- o().setInt32(A + 4, E, !0), o().setInt32(A + 0, Q, !0);
634
+ const I = g.stack, Q = G(I, B.__wbindgen_malloc, B.__wbindgen_realloc), E = F;
635
+ N().setInt32(A + 4, E, !0), N().setInt32(A + 0, Q, !0);
636
636
  },
637
637
  __wbg_static_accessor_GLOBAL_12837167ad935116: function() {
638
638
  const A = typeof global > "u" ? null : global;
639
- return G(A) ? 0 : U(A);
639
+ return M(A) ? 0 : U(A);
640
640
  },
641
641
  __wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f: function() {
642
642
  const A = typeof globalThis > "u" ? null : globalThis;
643
- return G(A) ? 0 : U(A);
643
+ return M(A) ? 0 : U(A);
644
644
  },
645
645
  __wbg_static_accessor_SELF_a621d3dfbb60d0ce: function() {
646
646
  const A = typeof self > "u" ? null : self;
647
- return G(A) ? 0 : U(A);
647
+ return M(A) ? 0 : U(A);
648
648
  },
649
649
  __wbg_static_accessor_WINDOW_f8727f0cf888e0bd: function() {
650
650
  const A = typeof window > "u" ? null : window;
651
- return G(A) ? 0 : U(A);
651
+ return M(A) ? 0 : U(A);
652
652
  },
653
653
  __wbg_store_d1d951c98d9bed41: function() {
654
654
  return D(function(A, g, I) {
@@ -665,14 +665,14 @@ function n() {
665
665
  return A.then(g);
666
666
  },
667
667
  __wbg_toString_56d946daff83867b: function(A, g, I) {
668
- const Q = g.toString(I), E = M(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), w = k;
669
- o().setInt32(A + 4, w, !0), o().setInt32(A + 0, E, !0);
668
+ const Q = g.toString(I), E = G(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), w = F;
669
+ N().setInt32(A + 4, w, !0), N().setInt32(A + 0, E, !0);
670
670
  },
671
671
  __wbg_toString_964ff7fe6eca8362: function(A) {
672
672
  return A.toString();
673
673
  },
674
674
  __wbg_trap_new: function(A) {
675
- return S.__wrap(A);
675
+ return h.__wrap(A);
676
676
  },
677
677
  __wbg_validate_71c2d02a71bda62f: function() {
678
678
  return D(function(A) {
@@ -697,10 +697,10 @@ function n() {
697
697
  console.warn(A, g, I);
698
698
  },
699
699
  __wbindgen_cast_0000000000000001: function(A, g) {
700
- return Y(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___, d);
700
+ return Y(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___, W);
701
701
  },
702
702
  __wbindgen_cast_0000000000000002: function(A, g) {
703
- return Y(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___, d);
703
+ return Y(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___, W);
704
704
  },
705
705
  __wbindgen_cast_0000000000000003: function(A, g) {
706
706
  return Y(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___, _);
@@ -721,10 +721,10 @@ function n() {
721
721
  return A;
722
722
  },
723
723
  __wbindgen_cast_0000000000000009: function(A, g) {
724
- return s(A, g);
724
+ return c(A, g);
725
725
  },
726
726
  __wbindgen_cast_000000000000000a: function(A, g) {
727
- return F(A, g);
727
+ return k(A, g);
728
728
  },
729
729
  __wbindgen_cast_000000000000000b: function(A, g) {
730
730
  return BigInt.asUintN(64, A) | BigInt.asUintN(64, g) << BigInt(64);
@@ -757,7 +757,7 @@ function _(C, A, g) {
757
757
  if (I[1])
758
758
  throw x(I[0]);
759
759
  }
760
- function d(C, A, g) {
760
+ function W(C, A, g) {
761
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
762
  if (I[2])
763
763
  throw x(I[1]);
@@ -767,7 +767,7 @@ function $(C, A, g, I) {
767
767
  B.wasm_bindgen_36932265c58943ab___convert__closures_____invoke___wasm_bindgen_36932265c58943ab___JsValue__wasm_bindgen_36932265c58943ab___JsValue_____(C, A, g, I);
768
768
  }
769
769
  typeof FinalizationRegistry > "u" || new FinalizationRegistry((C) => B.__wbg_dapadapter_free(C >>> 0, 1));
770
- const O = typeof FinalizationRegistry > "u" ? { register: () => {
770
+ const T = typeof FinalizationRegistry > "u" ? { register: () => {
771
771
  }, unregister: () => {
772
772
  } } : new FinalizationRegistry((C) => B.__wbg_trap_free(C >>> 0, 1));
773
773
  function U(C) {
@@ -777,7 +777,7 @@ function U(C) {
777
777
  const H = typeof FinalizationRegistry > "u" ? { register: () => {
778
778
  }, unregister: () => {
779
779
  } } : new FinalizationRegistry((C) => C.dtor(C.a, C.b));
780
- function T(C) {
780
+ function O(C) {
781
781
  const A = typeof C;
782
782
  if (A == "number" || A == "boolean" || C == null)
783
783
  return `${C}`;
@@ -794,9 +794,9 @@ function T(C) {
794
794
  if (Array.isArray(C)) {
795
795
  const Q = C.length;
796
796
  let E = "[";
797
- Q > 0 && (E += T(C[0]));
797
+ Q > 0 && (E += O(C[0]));
798
798
  for (let w = 1; w < Q; w++)
799
- E += ", " + T(C[w]);
799
+ E += ", " + O(C[w]);
800
800
  return E += "]", E;
801
801
  }
802
802
  const g = /\[object ([^\]]+)\]/.exec(toString.call(C));
@@ -816,19 +816,19 @@ ${C.stack}` : I;
816
816
  }
817
817
  function AA(C, A) {
818
818
  C = C >>> 0;
819
- const g = o(), I = [];
819
+ const g = N(), I = [];
820
820
  for (let Q = C; Q < C + 4 * A; Q += 4)
821
821
  I.push(B.__wbindgen_externrefs.get(g.getUint32(Q, !0)));
822
822
  return B.__externref_drop_slice(C, A), I;
823
823
  }
824
- function s(C, A) {
824
+ function c(C, A) {
825
825
  return C = C >>> 0, R().subarray(C / 1, C / 1 + A);
826
826
  }
827
- let y = null;
828
- function o() {
829
- return (y === null || y.buffer.detached === !0 || y.buffer.detached === void 0 && y.buffer !== B.memory.buffer) && (y = new DataView(B.memory.buffer)), y;
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
830
  }
831
- function F(C, A) {
831
+ function k(C, A) {
832
832
  return C = C >>> 0, CA(C, A);
833
833
  }
834
834
  let J = null;
@@ -843,7 +843,7 @@ function D(C, A) {
843
843
  B.__wbindgen_exn_store(I);
844
844
  }
845
845
  }
846
- function G(C) {
846
+ function M(C) {
847
847
  return C == null;
848
848
  }
849
849
  function gA(C, A, g, I) {
@@ -874,14 +874,14 @@ function Y(C, A, g, I) {
874
874
  --Q.cnt === 0 && (Q.dtor(Q.a, Q.b), Q.a = 0, H.unregister(Q));
875
875
  }, H.register(E, Q, Q), E;
876
876
  }
877
- function j(C, A) {
877
+ function Z(C, A) {
878
878
  const g = A(C.length * 1, 1) >>> 0;
879
- return R().set(C, g / 1), k = C.length, g;
879
+ return R().set(C, g / 1), F = C.length, g;
880
880
  }
881
- function M(C, A, g) {
881
+ function G(C, A, g) {
882
882
  if (g === void 0) {
883
- const i = L.encode(C), N = A(i.length, 1) >>> 0;
884
- return R().subarray(N, N + i.length).set(i), k = i.length, N;
883
+ const i = S.encode(C), o = A(i.length, 1) >>> 0;
884
+ return R().subarray(o, o + i.length).set(i), F = i.length, o;
885
885
  }
886
886
  let I = C.length, Q = A(I, 1) >>> 0;
887
887
  const E = R();
@@ -893,33 +893,33 @@ function M(C, A, g) {
893
893
  }
894
894
  if (w !== I) {
895
895
  w !== 0 && (C = C.slice(w)), Q = g(Q, I, I = w + C.length * 3, 1) >>> 0;
896
- const i = R().subarray(Q + w, Q + I), N = L.encodeInto(C, i);
897
- w += N.written, Q = g(Q, I, w, 1) >>> 0;
896
+ const i = R().subarray(Q + w, Q + I), o = S.encodeInto(C, i);
897
+ w += o.written, Q = g(Q, I, w, 1) >>> 0;
898
898
  }
899
- return k = w, Q;
899
+ return F = w, Q;
900
900
  }
901
901
  function x(C) {
902
902
  const A = B.__wbindgen_externrefs.get(C);
903
903
  return B.__externref_table_dealloc(C), A;
904
904
  }
905
- let c = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
906
- c.decode();
905
+ let s = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
906
+ s.decode();
907
907
  const IA = 2146435072;
908
- let Z = 0;
908
+ let p = 0;
909
909
  function CA(C, A) {
910
- return Z += A, Z >= IA && (c = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), c.decode(), Z = A), c.decode(R().subarray(C, C + A));
910
+ return p += A, p >= IA && (s = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), s.decode(), p = A), s.decode(R().subarray(C, C + A));
911
911
  }
912
- const L = new TextEncoder();
913
- "encodeInto" in L || (L.encodeInto = function(C, A) {
914
- const g = L.encode(C);
912
+ const S = new TextEncoder();
913
+ "encodeInto" in S || (S.encodeInto = function(C, A) {
914
+ const g = S.encode(C);
915
915
  return A.set(g), {
916
916
  read: C.length,
917
917
  written: g.length
918
918
  };
919
919
  });
920
- let k = 0, B;
920
+ let F = 0, B;
921
921
  function QA(C, A) {
922
- return B = C.exports, y = null, J = null, B.__wbindgen_start(), B;
922
+ return B = C.exports, K = null, J = null, B.__wbindgen_start(), B;
923
923
  }
924
924
  async function BA(C, A) {
925
925
  if (typeof Response == "function" && C instanceof Response) {
@@ -956,7 +956,7 @@ async function EA(C) {
956
956
  const { instance: g, module: I } = await BA(await C, A);
957
957
  return QA(g);
958
958
  }
959
- var DA = new URL("https://cdn.jsdelivr.net/npm/glassjar@0.6.0/dist/engine_bg.wasm");
959
+ var DA = new URL("https://cdn.jsdelivr.net/npm/glassjar@0.7.0/dist/engine_bg.wasm");
960
960
  class wA {
961
961
  enabled = !1;
962
962
  verified;
@@ -993,21 +993,21 @@ class wA {
993
993
  let E;
994
994
  const w = performance.now();
995
995
  try {
996
- const p = await crypto.subtle.digest("SHA-256", Q);
996
+ const j = await crypto.subtle.digest("SHA-256", Q);
997
997
  E = Array.from(
998
- new Uint8Array(p),
998
+ new Uint8Array(j),
999
999
  (V) => V.toString(16).padStart(2, "0")
1000
1000
  ).join("");
1001
1001
  } catch {
1002
1002
  return I.hashMs += performance.now() - w, I.bypasses++, g === this.generation && (this.retained = void 0), this.compile(Q, I);
1003
1003
  }
1004
1004
  if (I.hashMs += performance.now() - w, g !== this.generation) return this.compile(Q, I);
1005
- const i = performance.now(), N = this.retained, q = N?.sha256 === E && N.bytes.length === Q.length && iA(N.bytes, Q);
1005
+ const i = performance.now(), o = this.retained, q = o?.sha256 === E && o.bytes.length === Q.length && iA(o.bytes, Q);
1006
1006
  if (this.stats.compareMs += performance.now() - i, q)
1007
- return this.stats.hits++, this.publishStats(), N.module;
1007
+ return this.stats.hits++, this.publishStats(), o.module;
1008
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;
1009
+ const L = this.compile(Q);
1010
+ return this.retained = { module: L, bytes: Q, sha256: E }, this.send({ type: "compiler_module", value: this.retained }), this.publishStats(), L;
1011
1011
  }
1012
1012
  /** Called after a fresh compiler WASI environment and Instance have been created. */
1013
1013
  instantiated(A) {
@@ -1055,15 +1055,15 @@ function iA(C, A) {
1055
1055
  return !0;
1056
1056
  }
1057
1057
  const t = "glassjar-wasm:";
1058
- function NA(C, A) {
1058
+ function oA(C, A) {
1059
1059
  const g = new URL(String(C), A);
1060
1060
  if (g.protocol !== "https:" && g.protocol !== "http:")
1061
1061
  throw new TypeError(`Engine Wasm must be served over http(s), not ${g.protocol}`);
1062
1062
  return g.href;
1063
1063
  }
1064
- let K = { scopeEpoch: 0, operationId: 0, cacheEpoch: 0 }, W;
1064
+ let y = { scopeEpoch: 0, operationId: 0, cacheEpoch: 0 }, d;
1065
1065
  const a = new wA(
1066
- (C) => postMessage({ ...C, ...K })
1066
+ (C) => postMessage({ ...C, ...y })
1067
1067
  );
1068
1068
  addEventListener(
1069
1069
  "message",
@@ -1071,7 +1071,7 @@ addEventListener(
1071
1071
  const A = C.data;
1072
1072
  if (A?.type === "configure_cpp") {
1073
1073
  if (C.stopImmediatePropagation(), !A.toolchain) throw new Error("Missing verified compiler seed");
1074
- a.configureVerified(A.toolchain, A.cacheCompilerModule), b(
1074
+ a.configureVerified(A.toolchain, A.cacheCompilerModule), l(
1075
1075
  A.toolchain.compiler,
1076
1076
  A.toolchain.sysroot,
1077
1077
  A.toolchain.compilerHash,
@@ -1082,11 +1082,11 @@ addEventListener(
1082
1082
  } else if (A?.type === "object_build_ack") {
1083
1083
  C.stopImmediatePropagation();
1084
1084
  const g = A;
1085
- if (g.scopeEpoch === K.scopeEpoch && g.operationId === K.operationId && g.cacheEpoch === K.cacheEpoch) {
1086
- const I = W;
1087
- W = void 0, I?.();
1085
+ if (g.scopeEpoch === y.scopeEpoch && g.operationId === y.operationId && g.cacheEpoch === y.cacheEpoch) {
1086
+ const I = d;
1087
+ d = void 0, I?.();
1088
1088
  }
1089
- } else typeof A?.operation_id == "number" && (a.beginOperation(), K = {
1089
+ } else typeof A?.operation_id == "number" && (a.beginOperation(), y = {
1090
1090
  scopeEpoch: A.scope_epoch,
1091
1091
  operationId: A.operation_id,
1092
1092
  cacheEpoch: A.cache_epoch
@@ -1094,16 +1094,16 @@ addEventListener(
1094
1094
  }
1095
1095
  );
1096
1096
  try {
1097
- const C = self.name ?? "", A = C.startsWith(t) ? NA(C.slice(t.length)) : void 0;
1098
- await EA({ module_or_path: A ?? DA }), P(
1097
+ const C = self.name ?? "", A = C.startsWith(t) ? oA(C.slice(t.length)) : void 0;
1098
+ await EA({ module_or_path: A ?? DA }), m(
1099
1099
  (g) => a.constructVerified(g)
1100
1100
  ), r(
1101
1101
  () => new Promise((g) => {
1102
- W = g, postMessage({ type: "object_build_complete", ...K });
1102
+ d = g, postMessage({ type: "object_build_complete", ...y });
1103
1103
  })
1104
- ), l(
1104
+ ), X(
1105
1105
  (g) => a.instantiated(g)
1106
- ), m();
1106
+ ), b();
1107
1107
  } catch (C) {
1108
1108
  postMessage({
1109
1109
  type: "error",
Binary file