@rive-app/webgl2-advanced 2.26.2 → 2.26.4

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 (3) hide show
  1. package/package.json +1 -1
  2. package/rive.wasm +0 -0
  3. package/webgl2_advanced.mjs +1467 -1460
@@ -5,54 +5,54 @@ var Rive = (() => {
5
5
  return (
6
6
  function(moduleArg = {}) {
7
7
 
8
- var m = moduleArg, aa, ba;
9
- m.ready = new Promise((a, b) => {
10
- aa = a;
11
- ba = b;
8
+ var k = moduleArg, ba, ca;
9
+ k.ready = new Promise((a, b) => {
10
+ ba = a;
11
+ ca = b;
12
12
  });
13
- function ca() {
13
+ function da() {
14
14
  function a(g) {
15
- const n = d;
15
+ const l = d;
16
16
  c = b = 0;
17
17
  d = new Map();
18
- n.forEach(p => {
18
+ l.forEach(p => {
19
19
  try {
20
20
  p(g);
21
- } catch (l) {
22
- console.error(l);
21
+ } catch (m) {
22
+ console.error(m);
23
23
  }
24
24
  });
25
25
  this.kb();
26
- e && e.Mb();
26
+ e && e.Nb();
27
27
  }
28
28
  let b = 0, c = 0, d = new Map(), e = null, f = null;
29
29
  this.requestAnimationFrame = function(g) {
30
30
  b || (b = requestAnimationFrame(a.bind(this)));
31
- const n = ++c;
32
- d.set(n, g);
33
- return n;
31
+ const l = ++c;
32
+ d.set(l, g);
33
+ return l;
34
34
  };
35
35
  this.cancelAnimationFrame = function(g) {
36
36
  d.delete(g);
37
37
  b && 0 == d.size && (cancelAnimationFrame(b), b = 0);
38
38
  };
39
- this.Kb = function(g) {
39
+ this.Lb = function(g) {
40
40
  f && (document.body.remove(f), f = null);
41
- g || (f = document.createElement("div"), f.style.backgroundColor = "black", f.style.position = "fixed", f.style.right = 0, f.style.top = 0, f.style.color = "white", f.style.padding = "4px", f.innerHTML = "RIVE FPS", g = function(n) {
42
- f.innerHTML = "RIVE FPS " + n.toFixed(1);
41
+ g || (f = document.createElement("div"), f.style.backgroundColor = "black", f.style.position = "fixed", f.style.right = 0, f.style.top = 0, f.style.color = "white", f.style.padding = "4px", f.innerHTML = "RIVE FPS", g = function(l) {
42
+ f.innerHTML = "RIVE FPS " + l.toFixed(1);
43
43
  }, document.body.appendChild(f));
44
44
  e = new function() {
45
- let n = 0, p = 0;
46
- this.Mb = function() {
47
- var l = performance.now();
48
- p ? (++n, l -= p, 1000 < l && (g(1000 * n / l), n = p = 0)) : (p = l, n = 0);
45
+ let l = 0, p = 0;
46
+ this.Nb = function() {
47
+ var m = performance.now();
48
+ p ? (++l, m -= p, 1000 < m && (g(1000 * l / m), l = p = 0)) : (p = m, l = 0);
49
49
  };
50
50
  }();
51
51
  };
52
52
  this.kb = function() {
53
53
  };
54
54
  }
55
- function da() {
55
+ function ea() {
56
56
  console.assert(!0);
57
57
  const a = new Map();
58
58
  let b = -Infinity;
@@ -67,44 +67,44 @@ function da() {
67
67
  return b << 8;
68
68
  };
69
69
  }
70
- const ea = m.onRuntimeInitialized;
71
- m.onRuntimeInitialized = function() {
72
- ea && ea();
73
- let a = m.decodeAudio;
74
- m.decodeAudio = function(e, f) {
70
+ const fa = k.onRuntimeInitialized;
71
+ k.onRuntimeInitialized = function() {
72
+ fa && fa();
73
+ let a = k.decodeAudio;
74
+ k.decodeAudio = function(e, f) {
75
75
  e = a(e);
76
76
  f(e);
77
77
  };
78
- let b = m.decodeFont;
79
- m.decodeFont = function(e, f) {
78
+ let b = k.decodeFont;
79
+ k.decodeFont = function(e, f) {
80
80
  e = b(e);
81
81
  f(e);
82
82
  };
83
- const c = m.FileAssetLoader;
84
- m.ptrToAsset = e => {
85
- let f = m.ptrToFileAsset(e);
86
- return f.isImage ? m.ptrToImageAsset(e) : f.isFont ? m.ptrToFontAsset(e) : f.isAudio ? m.ptrToAudioAsset(e) : f;
83
+ const c = k.FileAssetLoader;
84
+ k.ptrToAsset = e => {
85
+ let f = k.ptrToFileAsset(e);
86
+ return f.isImage ? k.ptrToImageAsset(e) : f.isFont ? k.ptrToFontAsset(e) : f.isAudio ? k.ptrToAudioAsset(e) : f;
87
87
  };
88
- m.CustomFileAssetLoader = c.extend("CustomFileAssetLoader", {__construct:function({loadContents:e}) {
88
+ k.CustomFileAssetLoader = c.extend("CustomFileAssetLoader", {__construct:function({loadContents:e}) {
89
89
  this.__parent.__construct.call(this);
90
90
  this.Bb = e;
91
91
  }, loadContents:function(e, f) {
92
- e = m.ptrToAsset(e);
92
+ e = k.ptrToAsset(e);
93
93
  return this.Bb(e, f);
94
94
  },});
95
- m.CDNFileAssetLoader = c.extend("CDNFileAssetLoader", {__construct:function() {
95
+ k.CDNFileAssetLoader = c.extend("CDNFileAssetLoader", {__construct:function() {
96
96
  this.__parent.__construct.call(this);
97
97
  }, loadContents:function(e) {
98
- let f = m.ptrToAsset(e);
98
+ let f = k.ptrToAsset(e);
99
99
  e = f.cdnUuid;
100
100
  if ("" === e) {
101
101
  return !1;
102
102
  }
103
- (function(g, n) {
103
+ (function(g, l) {
104
104
  var p = new XMLHttpRequest();
105
105
  p.responseType = "arraybuffer";
106
106
  p.onreadystatechange = function() {
107
- 4 == p.readyState && 200 == p.status && n(p);
107
+ 4 == p.readyState && 200 == p.status && l(p);
108
108
  };
109
109
  p.open("GET", g, !0);
110
110
  p.send(null);
@@ -113,7 +113,7 @@ m.onRuntimeInitialized = function() {
113
113
  });
114
114
  return !0;
115
115
  },});
116
- m.FallbackFileAssetLoader = c.extend("FallbackFileAssetLoader", {__construct:function() {
116
+ k.FallbackFileAssetLoader = c.extend("FallbackFileAssetLoader", {__construct:function() {
117
117
  this.__parent.__construct.call(this);
118
118
  this.gb = [];
119
119
  }, addLoader:function(e) {
@@ -126,16 +126,16 @@ m.onRuntimeInitialized = function() {
126
126
  }
127
127
  return !1;
128
128
  },});
129
- let d = m.computeAlignment;
130
- m.computeAlignment = function(e, f, g, n, p = 1.0) {
131
- return d.call(this, e, f, g, n, p);
129
+ let d = k.computeAlignment;
130
+ k.computeAlignment = function(e, f, g, l, p = 1.0) {
131
+ return d.call(this, e, f, g, l, p);
132
132
  };
133
133
  };
134
- const fa = m.onRuntimeInitialized;
135
- m.onRuntimeInitialized = function() {
136
- function a(k) {
137
- this.F = k;
138
- this.Ab = k.getContext("2d");
134
+ const ha = k.onRuntimeInitialized;
135
+ k.onRuntimeInitialized = function() {
136
+ function a(q) {
137
+ this.F = q;
138
+ this.Ab = q.getContext("2d");
139
139
  this.Db = d;
140
140
  this.S = [];
141
141
  this.la = 0;
@@ -151,11 +151,11 @@ m.onRuntimeInitialized = function() {
151
151
  this.restore = function() {
152
152
  0 < this.la && (this.S.push(d.restore.bind(d)), --this.la);
153
153
  };
154
- this.transform = function(q) {
155
- this.S.push(d.transform.bind(d, q));
154
+ this.transform = function(u) {
155
+ this.S.push(d.transform.bind(d, u));
156
156
  };
157
- this.align = function(q, v, y, C, z = 1.0) {
158
- this.S.push(d.align.bind(d, q, v, y, C, z));
157
+ this.align = function(u, y, z, A, G = 1.0) {
158
+ this.S.push(d.align.bind(d, u, y, z, A, G));
159
159
  };
160
160
  this.flush = function() {
161
161
  console.assert(0 == this.la);
@@ -165,158 +165,165 @@ m.onRuntimeInitialized = function() {
165
165
  this["delete"] = function() {
166
166
  };
167
167
  }
168
- function b(k, q = !1) {
169
- var v = {alpha:!0, depth:q, stencil:q, antialias:q, premultipliedAlpha:!0, preserveDrawingBuffer:0, powerPreference:"high-performance", failIfMajorPerformanceCaveat:0, enableExtensionsByDefault:!1, explicitSwapControl:0, renderViaOffscreenBackBuffer:0,};
170
- q = k.getContext("webgl2", v);
171
- if (!q) {
168
+ function b(q, u = !1) {
169
+ var y = {alpha:!0, depth:u, stencil:u, antialias:u, premultipliedAlpha:!0, preserveDrawingBuffer:0, powerPreference:"high-performance", failIfMajorPerformanceCaveat:0, enableExtensionsByDefault:!1, explicitSwapControl:0, renderViaOffscreenBackBuffer:0,};
170
+ u = q.getContext("webgl2", y);
171
+ if (!u) {
172
172
  return null;
173
173
  }
174
- v = ha(q, v);
175
- ia(v);
176
- const y = f(k.width, k.height);
177
- y.Ka = v;
178
- y.F = k;
179
- y.La = k.width;
180
- y.Wa = k.height;
181
- y.T = q;
182
- var C = y.delete;
183
- y.delete = function() {
184
- C.call(this);
185
- var z = this.Ka;
186
- r === w[z] && (r = null);
187
- "object" == typeof JSEvents && JSEvents.Nc(w[z].D.canvas);
188
- w[z] && w[z].D.canvas && (w[z].D.canvas.zb = void 0);
189
- this.Ka = this.F = this.La = this.T = w[z] = null;
174
+ y = ia(u, y);
175
+ ja(y);
176
+ const z = f(q.width, q.height);
177
+ z.Ka = y;
178
+ z.F = q;
179
+ z.La = q.width;
180
+ z.Wa = q.height;
181
+ z.T = u;
182
+ var A = z.delete;
183
+ z.delete = function() {
184
+ A.call(this);
185
+ var G = this.Ka;
186
+ r === w[G] && (r = null);
187
+ "object" == typeof JSEvents && JSEvents.Oc(w[G].D.canvas);
188
+ w[G] && w[G].D.canvas && (w[G].D.canvas.zb = void 0);
189
+ this.Ka = this.F = this.La = this.T = w[G] = null;
190
190
  };
191
- return y;
191
+ return z;
192
192
  }
193
193
  function c() {
194
194
  if (d) {
195
- var k = d.Cb, q = 0, v = 0, y = 0, C = Array(e.size), z = 0;
196
- for (var E of e) {
197
- E.fa = Math.min(E.F.width, k), E.ea = Math.min(E.F.height, k), E.Ia = E.ea * E.fa, q = Math.max(q, E.fa), v = Math.max(v, E.ea), y += E.Ia, C[z++] = E;
195
+ var q = d.Cb, u = 0, y = 0, z = 0, A = Array(e.size), G = 0;
196
+ for (var I of e) {
197
+ I.fa = Math.min(I.F.width, q), I.ea = Math.min(I.F.height, q), I.Ia = I.ea * I.fa, u = Math.max(u, I.fa), y = Math.max(y, I.ea), z += I.Ia, A[G++] = I;
198
198
  }
199
199
  e.clear();
200
- if (!(0 >= y)) {
201
- q = 1 << (0 >= q ? 0 : 32 - Math.clz32(q - 1));
202
- for (v = 1 << (0 >= v ? 0 : 32 - Math.clz32(v - 1)); v * q < y;) {
203
- q <= v ? q *= 2 : v *= 2;
200
+ if (!(0 >= z)) {
201
+ u = 1 << (0 >= u ? 0 : 32 - Math.clz32(u - 1));
202
+ for (y = 1 << (0 >= y ? 0 : 32 - Math.clz32(y - 1)); y * u < z;) {
203
+ u <= y ? u *= 2 : y *= 2;
204
204
  }
205
- q = Math.min(q, k);
206
- q = Math.min(v, k);
207
- C.sort((Z, rb) => rb.Ia - Z.Ia);
208
- y = new m.DynamicRectanizer(k);
209
- for (E = 0; E < C.length;) {
210
- y.reset(q, v);
211
- for (z = E; z < C.length; ++z) {
212
- var H = C[z], F = y.addRect(H.fa, H.ea);
213
- if (0 > F) {
214
- console.assert(z > E);
205
+ u = Math.min(u, q);
206
+ u = Math.min(y, q);
207
+ A.sort((aa, sb) => sb.Ia - aa.Ia);
208
+ z = new k.DynamicRectanizer(q);
209
+ for (I = 0; I < A.length;) {
210
+ z.reset(u, y);
211
+ for (G = I; G < A.length; ++G) {
212
+ var L = A[G], E = z.addRect(L.fa, L.ea);
213
+ if (0 > E) {
214
+ console.assert(G > I);
215
215
  break;
216
216
  }
217
- H.ra = F & 65535;
218
- H.sa = F >> 16;
217
+ L.ra = E & 65535;
218
+ L.sa = E >> 16;
219
219
  }
220
- H = n.push(y.drawWidth());
221
- F = p.push(y.drawHeight());
222
- console.assert(H >= y.drawWidth());
223
- console.assert(F >= y.drawHeight());
224
- console.assert(H <= k);
225
- console.assert(F <= k);
226
- d.F.width != H && (d.F.width = H);
227
- d.F.height != F && (d.F.height = F);
220
+ L = p.push(z.drawWidth());
221
+ E = m.push(z.drawHeight());
222
+ console.assert(L >= z.drawWidth());
223
+ console.assert(E >= z.drawHeight());
224
+ console.assert(L <= q);
225
+ console.assert(E <= q);
226
+ d.F.width != L && (d.F.width = L);
227
+ d.F.height != E && (d.F.height = E);
228
228
  d.clear();
229
- for (H = E; H < z; ++H) {
230
- F = C[H];
231
- d.saveClipRect(F.ra, F.sa, F.ra + F.fa, F.sa + F.ea);
232
- let Z = new m.Mat2D();
233
- Z.xx = F.fa / F.F.width;
234
- Z.yy = F.ea / F.F.height;
235
- Z.xy = Z.yx = 0;
236
- Z.tx = F.ra;
237
- Z.ty = F.sa;
238
- d.transform(Z);
239
- for (const rb of F.S) {
240
- rb();
229
+ for (L = I; L < G; ++L) {
230
+ E = A[L];
231
+ d.saveClipRect(E.ra, E.sa, E.ra + E.fa, E.sa + E.ea);
232
+ let aa = new k.Mat2D();
233
+ aa.xx = E.fa / E.F.width;
234
+ aa.yy = E.ea / E.F.height;
235
+ aa.xy = aa.yx = 0;
236
+ aa.tx = E.ra;
237
+ aa.ty = E.sa;
238
+ d.transform(aa);
239
+ for (const sb of E.S) {
240
+ sb();
241
241
  }
242
242
  d.restoreClipRect();
243
- F.S = [];
243
+ E.S = [];
244
244
  }
245
- for (d.flush(); E < z; ++E) {
246
- H = C[E], F = H.Ab, F.globalCompositeOperation = "copy", F.drawImage(d.F, H.ra, H.sa, H.fa, H.ea, 0, 0, H.F.width, H.F.height);
245
+ for (d.flush(); I < G; ++I) {
246
+ L = A[I], E = L.Ab, E.globalCompositeOperation = "copy", E.drawImage(d.F, L.ra, L.sa, L.fa, L.ea, 0, 0, L.F.width, L.F.height);
247
247
  }
248
- E = z;
248
+ I = G;
249
249
  }
250
250
  }
251
251
  }
252
252
  }
253
- fa && fa();
253
+ ha && ha();
254
254
  let d = null;
255
- const e = new Set(), f = m.makeRenderer;
256
- m.makeRenderer = function(k, q) {
255
+ const e = new Set(), f = k.makeRenderer;
256
+ k.makeRenderer = function(q, u) {
257
257
  if (!d) {
258
- function v(y) {
259
- var C = document.createElement("canvas");
260
- C.width = 1;
261
- C.height = 1;
262
- d = b(C, y);
258
+ function y(z) {
259
+ var A = document.createElement("canvas");
260
+ A.width = 1;
261
+ A.height = 1;
262
+ d = b(A, z);
263
263
  d.Va = !!d.T.getExtension("WEBGL_shader_pixel_local_storage");
264
264
  d.Cb = Math.min(d.T.getParameter(d.T.MAX_RENDERBUFFER_SIZE), d.T.getParameter(d.T.MAX_TEXTURE_SIZE));
265
265
  d.Ja = !d.Va;
266
- if (y = d.T.getExtension("WEBGL_debug_renderer_info")) {
267
- C = d.T.getParameter(y.UNMASKED_RENDERER_WEBGL), d.T.getParameter(y.UNMASKED_VENDOR_WEBGL).includes("Google") && C.includes("ANGLE Metal Renderer") && (d.Ja = !1);
266
+ if (z = d.T.getExtension("WEBGL_debug_renderer_info")) {
267
+ A = d.T.getParameter(z.UNMASKED_RENDERER_WEBGL), d.T.getParameter(z.UNMASKED_VENDOR_WEBGL).includes("Google") && A.includes("ANGLE Metal Renderer") && (d.Ja = !1);
268
268
  }
269
269
  return d;
270
270
  }
271
- d = v(!0);
272
- d.Ja || (d = v(!1));
271
+ d = y(!0);
272
+ d.Ja || (d = y(!1));
273
273
  }
274
- return q ? new a(k) : b(k, d.Ja);
274
+ return u ? new a(q) : b(q, d.Ja);
275
+ };
276
+ const g = k.Artboard.prototype["delete"];
277
+ k.Artboard.prototype["delete"] = function() {
278
+ this.Eb = !0;
279
+ g.call(this);
275
280
  };
276
- const g = m.Artboard.prototype.draw;
277
- m.Artboard.prototype.draw = function(k) {
278
- k.S ? k.S.push(g.bind(this, k.Db)) : g.call(this, k);
281
+ const l = k.Artboard.prototype.draw;
282
+ k.Artboard.prototype.draw = function(q) {
283
+ q.S ? q.S.push(() => {
284
+ this.Eb || l.call(this, q.Db);
285
+ }) : l.call(this, q);
279
286
  };
280
- const n = new da(), p = new da(), l = new ca();
281
- m.requestAnimationFrame = l.requestAnimationFrame.bind(l);
282
- m.cancelAnimationFrame = l.cancelAnimationFrame.bind(l);
283
- m.enableFPSCounter = l.Kb.bind(l);
284
- l.kb = c;
285
- m.resolveAnimationFrame = c;
286
- let t = m.load;
287
- m.load = function(k, q, v = !0) {
288
- const y = new m.FallbackFileAssetLoader();
289
- void 0 !== q && y.addLoader(q);
290
- v && (q = new m.CDNFileAssetLoader(), y.addLoader(q));
291
- return Promise.resolve(t(k, y));
287
+ const p = new ea(), m = new ea(), t = new da();
288
+ k.requestAnimationFrame = t.requestAnimationFrame.bind(t);
289
+ k.cancelAnimationFrame = t.cancelAnimationFrame.bind(t);
290
+ k.enableFPSCounter = t.Lb.bind(t);
291
+ t.kb = c;
292
+ k.resolveAnimationFrame = c;
293
+ let v = k.load;
294
+ k.load = function(q, u, y = !0) {
295
+ const z = new k.FallbackFileAssetLoader();
296
+ void 0 !== u && z.addLoader(u);
297
+ y && (u = new k.CDNFileAssetLoader(), z.addLoader(u));
298
+ return Promise.resolve(v(q, z));
292
299
  };
293
- const u = m.WebGL2Renderer.prototype.clear;
294
- m.WebGL2Renderer.prototype.clear = function() {
295
- ia(this.Ka);
296
- const k = this.F;
297
- if (this.La != k.width || this.Wa != k.height) {
298
- this.resize(k.width, k.height), this.La = k.width, this.Wa = k.height;
299
- }
300
- u.call(this);
300
+ const x = k.WebGL2Renderer.prototype.clear;
301
+ k.WebGL2Renderer.prototype.clear = function() {
302
+ ja(this.Ka);
303
+ const q = this.F;
304
+ if (this.La != q.width || this.Wa != q.height) {
305
+ this.resize(q.width, q.height), this.La = q.width, this.Wa = q.height;
306
+ }
307
+ x.call(this);
301
308
  };
302
- m.decodeImage = function(k, q) {
303
- k = m.decodeWebGL2Image(k);
304
- q(k);
309
+ k.decodeImage = function(q, u) {
310
+ q = k.decodeWebGL2Image(q);
311
+ u(q);
305
312
  };
306
- let x = m.Renderer.prototype.align;
307
- m.Renderer.prototype.align = function(k, q, v, y, C = 1.0) {
308
- x.call(this, k, q, v, y, C);
313
+ let n = k.Renderer.prototype.align;
314
+ k.Renderer.prototype.align = function(q, u, y, z, A = 1.0) {
315
+ n.call(this, q, u, y, z, A);
309
316
  };
310
317
  };
311
- var ja = Object.assign({}, m), ka = "./this.program", la = "object" == typeof window, ma = "function" == typeof importScripts, A = "", na, oa;
312
- if (la || ma) {
313
- ma ? A = self.location.href : "undefined" != typeof document && document.currentScript && (A = document.currentScript.src), _scriptDir && (A = _scriptDir), 0 !== A.indexOf("blob:") ? A = A.substr(0, A.replace(/[?#].*/, "").lastIndexOf("/") + 1) : A = "", ma && (oa = a => {
318
+ var ka = Object.assign({}, k), la = "./this.program", ma = "object" == typeof window, na = "function" == typeof importScripts, B = "", oa, pa;
319
+ if (ma || na) {
320
+ na ? B = self.location.href : "undefined" != typeof document && document.currentScript && (B = document.currentScript.src), _scriptDir && (B = _scriptDir), 0 !== B.indexOf("blob:") ? B = B.substr(0, B.replace(/[?#].*/, "").lastIndexOf("/") + 1) : B = "", na && (pa = a => {
314
321
  var b = new XMLHttpRequest();
315
322
  b.open("GET", a, !1);
316
323
  b.responseType = "arraybuffer";
317
324
  b.send(null);
318
325
  return new Uint8Array(b.response);
319
- }), na = (a, b, c) => {
326
+ }), oa = (a, b, c) => {
320
327
  var d = new XMLHttpRequest();
321
328
  d.open("GET", a, !0);
322
329
  d.responseType = "arraybuffer";
@@ -327,94 +334,94 @@ if (la || ma) {
327
334
  d.send(null);
328
335
  };
329
336
  }
330
- var pa = m.print || console.log.bind(console), qa = m.printErr || console.error.bind(console);
331
- Object.assign(m, ja);
332
- ja = null;
333
- m.thisProgram && (ka = m.thisProgram);
334
- var ra;
335
- m.wasmBinary && (ra = m.wasmBinary);
336
- var noExitRuntime = m.noExitRuntime || !0;
337
- "object" != typeof WebAssembly && sa("no native wasm support detected");
338
- var ta, B, ua = !1, D, G, I, va, J, K, wa, xa;
339
- function ya() {
340
- var a = ta.buffer;
341
- m.HEAP8 = D = new Int8Array(a);
342
- m.HEAP16 = I = new Int16Array(a);
343
- m.HEAP32 = J = new Int32Array(a);
344
- m.HEAPU8 = G = new Uint8Array(a);
345
- m.HEAPU16 = va = new Uint16Array(a);
346
- m.HEAPU32 = K = new Uint32Array(a);
347
- m.HEAPF32 = wa = new Float32Array(a);
348
- m.HEAPF64 = xa = new Float64Array(a);
349
- }
350
- var za, Aa = [], Ba = [], Ca = [];
351
- function Da() {
352
- var a = m.preRun.shift();
353
- Aa.unshift(a);
354
- }
355
- var Ea = 0, Fa = null, Ga = null;
356
- function sa(a) {
357
- if (m.onAbort) {
358
- m.onAbort(a);
337
+ var qa = k.print || console.log.bind(console), ra = k.printErr || console.error.bind(console);
338
+ Object.assign(k, ka);
339
+ ka = null;
340
+ k.thisProgram && (la = k.thisProgram);
341
+ var sa;
342
+ k.wasmBinary && (sa = k.wasmBinary);
343
+ var noExitRuntime = k.noExitRuntime || !0;
344
+ "object" != typeof WebAssembly && ta("no native wasm support detected");
345
+ var ua, C, va = !1, D, F, H, wa, J, K, xa, ya;
346
+ function za() {
347
+ var a = ua.buffer;
348
+ k.HEAP8 = D = new Int8Array(a);
349
+ k.HEAP16 = H = new Int16Array(a);
350
+ k.HEAP32 = J = new Int32Array(a);
351
+ k.HEAPU8 = F = new Uint8Array(a);
352
+ k.HEAPU16 = wa = new Uint16Array(a);
353
+ k.HEAPU32 = K = new Uint32Array(a);
354
+ k.HEAPF32 = xa = new Float32Array(a);
355
+ k.HEAPF64 = ya = new Float64Array(a);
356
+ }
357
+ var Aa, Ba = [], Ca = [], Da = [];
358
+ function Ea() {
359
+ var a = k.preRun.shift();
360
+ Ba.unshift(a);
361
+ }
362
+ var Fa = 0, Ga = null, Ha = null;
363
+ function ta(a) {
364
+ if (k.onAbort) {
365
+ k.onAbort(a);
359
366
  }
360
367
  a = "Aborted(" + a + ")";
361
- qa(a);
362
- ua = !0;
368
+ ra(a);
369
+ va = !0;
363
370
  a = new WebAssembly.RuntimeError(a + ". Build with -sASSERTIONS for more info.");
364
- ba(a);
371
+ ca(a);
365
372
  throw a;
366
373
  }
367
- function Ha(a) {
374
+ function Ia(a) {
368
375
  return a.startsWith("data:application/octet-stream;base64,");
369
376
  }
370
- var Ia;
371
- Ia = "webgl2_advanced.wasm";
372
- if (!Ha(Ia)) {
373
- var Ja = Ia;
374
- Ia = m.locateFile ? m.locateFile(Ja, A) : A + Ja;
377
+ var Ja;
378
+ Ja = "webgl2_advanced.wasm";
379
+ if (!Ia(Ja)) {
380
+ var Ka = Ja;
381
+ Ja = k.locateFile ? k.locateFile(Ka, B) : B + Ka;
375
382
  }
376
- function Ka(a) {
377
- if (a == Ia && ra) {
378
- return new Uint8Array(ra);
383
+ function La(a) {
384
+ if (a == Ja && sa) {
385
+ return new Uint8Array(sa);
379
386
  }
380
- if (oa) {
381
- return oa(a);
387
+ if (pa) {
388
+ return pa(a);
382
389
  }
383
390
  throw "both async and sync fetching of the wasm failed";
384
391
  }
385
- function La(a) {
386
- if (!ra && (la || ma)) {
392
+ function Ma(a) {
393
+ if (!sa && (ma || na)) {
387
394
  if ("function" == typeof fetch && !a.startsWith("file://")) {
388
395
  return fetch(a, {credentials:"same-origin"}).then(b => {
389
396
  if (!b.ok) {
390
397
  throw "failed to load wasm binary file at '" + a + "'";
391
398
  }
392
399
  return b.arrayBuffer();
393
- }).catch(() => Ka(a));
400
+ }).catch(() => La(a));
394
401
  }
395
- if (na) {
402
+ if (oa) {
396
403
  return new Promise((b, c) => {
397
- na(a, d => b(new Uint8Array(d)), c);
404
+ oa(a, d => b(new Uint8Array(d)), c);
398
405
  });
399
406
  }
400
407
  }
401
- return Promise.resolve().then(() => Ka(a));
408
+ return Promise.resolve().then(() => La(a));
402
409
  }
403
- function Ma(a, b, c) {
404
- return La(a).then(d => WebAssembly.instantiate(d, b)).then(d => d).then(c, d => {
405
- qa("failed to asynchronously prepare wasm: " + d);
406
- sa(d);
410
+ function Na(a, b, c) {
411
+ return Ma(a).then(d => WebAssembly.instantiate(d, b)).then(d => d).then(c, d => {
412
+ ra("failed to asynchronously prepare wasm: " + d);
413
+ ta(d);
407
414
  });
408
415
  }
409
- function Na(a, b) {
410
- var c = Ia;
411
- return ra || "function" != typeof WebAssembly.instantiateStreaming || Ha(c) || c.startsWith("file://") || "function" != typeof fetch ? Ma(c, a, b) : fetch(c, {credentials:"same-origin"}).then(d => WebAssembly.instantiateStreaming(d, a).then(b, function(e) {
412
- qa("wasm streaming compile failed: " + e);
413
- qa("falling back to ArrayBuffer instantiation");
414
- return Ma(c, a, b);
416
+ function Oa(a, b) {
417
+ var c = Ja;
418
+ return sa || "function" != typeof WebAssembly.instantiateStreaming || Ia(c) || c.startsWith("file://") || "function" != typeof fetch ? Na(c, a, b) : fetch(c, {credentials:"same-origin"}).then(d => WebAssembly.instantiateStreaming(d, a).then(b, function(e) {
419
+ ra("wasm streaming compile failed: " + e);
420
+ ra("falling back to ArrayBuffer instantiation");
421
+ return Na(c, a, b);
415
422
  }));
416
423
  }
417
- var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
424
+ var Pa, Qa, Ua = {507918:(a, b, c, d, e) => {
418
425
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
419
426
  return 0;
420
427
  }
@@ -429,10 +436,10 @@ var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
429
436
  window.h.ia.tb = e;
430
437
  let f = window.h;
431
438
  f.C = [];
432
- f.nc = function(g) {
433
- for (var n = 0; n < f.C.length; ++n) {
434
- if (null == f.C[n]) {
435
- return f.C[n] = g, n;
439
+ f.oc = function(g) {
440
+ for (var l = 0; l < f.C.length; ++l) {
441
+ if (null == f.C[l]) {
442
+ return f.C[l] = g, l;
436
443
  }
437
444
  }
438
445
  f.C.push(g);
@@ -447,10 +454,10 @@ var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
447
454
  }
448
455
  }
449
456
  };
450
- f.Pc = function(g) {
451
- for (var n = 0; n < f.C.length; ++n) {
452
- if (f.C[n] == g) {
453
- return f.yb(n);
457
+ f.Qc = function(g) {
458
+ for (var l = 0; l < f.C.length; ++l) {
459
+ if (f.C[l] == g) {
460
+ return f.yb(l);
454
461
  }
455
462
  }
456
463
  };
@@ -460,9 +467,9 @@ var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
460
467
  f.xb = ["touchend", "click"];
461
468
  f.unlock = function() {
462
469
  for (var g = 0; g < f.C.length; ++g) {
463
- var n = f.C[g];
464
- null != n && null != n.J && n.state === f.ia.tb && n.J.resume().then(() => {
465
- Qa(n.lb);
470
+ var l = f.C[g];
471
+ null != l && null != l.J && l.state === f.ia.tb && l.J.resume().then(() => {
472
+ Ra(l.lb);
466
473
  }, p => {
467
474
  console.error("Failed to resume audiocontext", p);
468
475
  });
@@ -477,9 +484,9 @@ var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
477
484
  }
478
485
  window.h.Da += 1;
479
486
  return 1;
480
- }, 507488:() => {
487
+ }, 510096:() => {
481
488
  "undefined" !== typeof window.h && (--window.h.Da, 0 === window.h.Da && delete window.h);
482
- }, 507652:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 507756:() => {
489
+ }, 510260:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 510364:() => {
483
490
  try {
484
491
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
485
492
  a.close();
@@ -487,13 +494,13 @@ var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
487
494
  } catch (c) {
488
495
  return 0;
489
496
  }
490
- }, 507927:(a, b, c, d, e, f) => {
497
+ }, 510535:(a, b, c, d, e, f) => {
491
498
  if ("undefined" === typeof window.h) {
492
499
  return -1;
493
500
  }
494
- var g = {}, n = {};
495
- a == window.h.I.Ba && 0 != c && (n.sampleRate = c);
496
- g.J = new (window.AudioContext || window.webkitAudioContext)(n);
501
+ var g = {}, l = {};
502
+ a == window.h.I.Ba && 0 != c && (l.sampleRate = c);
503
+ g.J = new (window.AudioContext || window.webkitAudioContext)(l);
497
504
  g.J.suspend();
498
505
  g.state = window.h.ia.stopped;
499
506
  c = 0;
@@ -501,25 +508,25 @@ var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
501
508
  g.Z = g.J.createScriptProcessor(d, c, b);
502
509
  g.Z.onaudioprocess = function(p) {
503
510
  if (null == g.wa || 0 == g.wa.length) {
504
- g.wa = new Float32Array(wa.buffer, e, d * b);
511
+ g.wa = new Float32Array(xa.buffer, e, d * b);
505
512
  }
506
513
  if (a == window.h.I.capture || a == window.h.I.Na) {
507
- for (var l = 0; l < b; l += 1) {
508
- for (var t = p.inputBuffer.getChannelData(l), u = g.wa, x = 0; x < d; x += 1) {
509
- u[x * b + l] = t[x];
514
+ for (var m = 0; m < b; m += 1) {
515
+ for (var t = p.inputBuffer.getChannelData(m), v = g.wa, x = 0; x < d; x += 1) {
516
+ v[x * b + m] = t[x];
510
517
  }
511
518
  }
512
- Ra(f, d, e);
519
+ Sa(f, d, e);
513
520
  }
514
521
  if (a == window.h.I.Ba || a == window.h.I.Na) {
515
- for (Sa(f, d, e), l = 0; l < p.outputBuffer.numberOfChannels; ++l) {
516
- for (t = p.outputBuffer.getChannelData(l), u = g.wa, x = 0; x < d; x += 1) {
517
- t[x] = u[x * b + l];
522
+ for (Ta(f, d, e), m = 0; m < p.outputBuffer.numberOfChannels; ++m) {
523
+ for (t = p.outputBuffer.getChannelData(m), v = g.wa, x = 0; x < d; x += 1) {
524
+ t[x] = v[x * b + m];
518
525
  }
519
526
  }
520
527
  } else {
521
- for (l = 0; l < p.outputBuffer.numberOfChannels; ++l) {
522
- p.outputBuffer.getChannelData(l).fill(0.0);
528
+ for (m = 0; m < p.outputBuffer.numberOfChannels; ++m) {
529
+ p.outputBuffer.getChannelData(m).fill(0.0);
523
530
  }
524
531
  }
525
532
  };
@@ -532,8 +539,8 @@ var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
532
539
  });
533
540
  a == window.h.I.Ba && g.Z.connect(g.J.destination);
534
541
  g.lb = f;
535
- return window.h.nc(g);
536
- }, 510804:a => window.h.va(a).J.sampleRate, 510877:a => {
542
+ return window.h.oc(g);
543
+ }, 513412:a => window.h.va(a).J.sampleRate, 513485:a => {
537
544
  a = window.h.va(a);
538
545
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
539
546
  }, a.Z.disconnect(), a.Z = void 0);
@@ -541,21 +548,21 @@ var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
541
548
  a.J.close();
542
549
  a.J = void 0;
543
550
  a.lb = void 0;
544
- }, 511277:a => {
551
+ }, 513885:a => {
545
552
  window.h.yb(a);
546
- }, 511327:a => {
553
+ }, 513935:a => {
547
554
  a = window.h.va(a);
548
555
  a.J.resume();
549
556
  a.state = window.h.ia.tb;
550
- }, 511466:a => {
557
+ }, 514074:a => {
551
558
  a = window.h.va(a);
552
559
  a.J.suspend();
553
560
  a.state = window.h.ia.stopped;
554
- }}, Ua = a => {
561
+ }}, Va = a => {
555
562
  for (; 0 < a.length;) {
556
- a.shift()(m);
563
+ a.shift()(k);
557
564
  }
558
- }, Va = (a, b) => {
565
+ }, Wa = (a, b) => {
559
566
  for (var c = 0, d = a.length - 1; 0 <= d; d--) {
560
567
  var e = a[d];
561
568
  "." === e ? a.splice(d, 1) : ".." === e ? (a.splice(d, 1), c++) : c && (a.splice(d, 1), c--);
@@ -566,12 +573,12 @@ var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
566
573
  }
567
574
  }
568
575
  return a;
569
- }, Wa = a => {
576
+ }, Xa = a => {
570
577
  var b = "/" === a.charAt(0), c = "/" === a.substr(-1);
571
- (a = Va(a.split("/").filter(d => !!d), !b).join("/")) || b || (a = ".");
578
+ (a = Wa(a.split("/").filter(d => !!d), !b).join("/")) || b || (a = ".");
572
579
  a && c && (a += "/");
573
580
  return (b ? "/" : "") + a;
574
- }, Xa = a => {
581
+ }, Ya = a => {
575
582
  var b = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);
576
583
  a = b[0];
577
584
  b = b[1];
@@ -580,21 +587,21 @@ var Oa, Pa, Ta = {505310:(a, b, c, d, e) => {
580
587
  }
581
588
  b && (b = b.substr(0, b.length - 1));
582
589
  return a + b;
583
- }, Ya = a => {
590
+ }, Za = a => {
584
591
  if ("/" === a) {
585
592
  return "/";
586
593
  }
587
- a = Wa(a);
594
+ a = Xa(a);
588
595
  a = a.replace(/\/$/, "");
589
596
  var b = a.lastIndexOf("/");
590
597
  return -1 === b ? a : a.substr(b + 1);
591
- }, Za = () => {
598
+ }, $a = () => {
592
599
  if ("object" == typeof crypto && "function" == typeof crypto.getRandomValues) {
593
600
  return a => crypto.getRandomValues(a);
594
601
  }
595
- sa("initRandomDevice");
596
- }, $a = a => ($a = Za())(a);
597
- function ab() {
602
+ ta("initRandomDevice");
603
+ }, ab = a => (ab = $a())(a);
604
+ function bb() {
598
605
  for (var a = "", b = !1, c = arguments.length - 1; -1 <= c && !b; c--) {
599
606
  b = 0 <= c ? arguments[c] : "/";
600
607
  if ("string" != typeof b) {
@@ -606,16 +613,16 @@ function ab() {
606
613
  a = b + "/" + a;
607
614
  b = "/" === b.charAt(0);
608
615
  }
609
- a = Va(a.split("/").filter(d => !!d), !b).join("/");
616
+ a = Wa(a.split("/").filter(d => !!d), !b).join("/");
610
617
  return (b ? "/" : "") + a || ".";
611
618
  }
612
- var bb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, L = (a, b, c) => {
619
+ var cb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, M = (a, b, c) => {
613
620
  var d = b + c;
614
621
  for (c = b; a[c] && !(c >= d);) {
615
622
  ++c;
616
623
  }
617
- if (16 < c - b && a.buffer && bb) {
618
- return bb.decode(a.subarray(b, c));
624
+ if (16 < c - b && a.buffer && cb) {
625
+ return cb.decode(a.subarray(b, c));
619
626
  }
620
627
  for (d = ""; b < c;) {
621
628
  var e = a[b++];
@@ -633,13 +640,13 @@ var bb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, L
633
640
  }
634
641
  }
635
642
  return d;
636
- }, cb = [], db = a => {
643
+ }, db = [], eb = a => {
637
644
  for (var b = 0, c = 0; c < a.length; ++c) {
638
645
  var d = a.charCodeAt(c);
639
646
  127 >= d ? b++ : 2047 >= d ? b += 2 : 55296 <= d && 57343 >= d ? (b += 4, ++c) : b += 3;
640
647
  }
641
648
  return b;
642
- }, eb = (a, b, c, d) => {
649
+ }, fb = (a, b, c, d) => {
643
650
  if (!(0 < d)) {
644
651
  return 0;
645
652
  }
@@ -648,8 +655,8 @@ var bb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, L
648
655
  for (var f = 0; f < a.length; ++f) {
649
656
  var g = a.charCodeAt(f);
650
657
  if (55296 <= g && 57343 >= g) {
651
- var n = a.charCodeAt(++f);
652
- g = 65536 + ((g & 1023) << 10) | n & 1023;
658
+ var l = a.charCodeAt(++f);
659
+ g = 65536 + ((g & 1023) << 10) | l & 1023;
653
660
  }
654
661
  if (127 >= g) {
655
662
  if (c >= d) {
@@ -683,21 +690,21 @@ var bb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, L
683
690
  b[c] = 0;
684
691
  return c - e;
685
692
  };
686
- function fb(a, b) {
687
- var c = Array(db(a) + 1);
688
- a = eb(a, c, 0, c.length);
693
+ function gb(a, b) {
694
+ var c = Array(eb(a) + 1);
695
+ a = fb(a, c, 0, c.length);
689
696
  b && (c.length = a);
690
697
  return c;
691
698
  }
692
- var gb = [];
693
- function hb(a, b) {
694
- gb[a] = {input:[], G:[], V:b};
695
- ib(a, jb);
699
+ var hb = [];
700
+ function ib(a, b) {
701
+ hb[a] = {input:[], G:[], V:b};
702
+ jb(a, kb);
696
703
  }
697
- var jb = {open:function(a) {
698
- var b = gb[a.node.Ca];
704
+ var kb = {open:function(a) {
705
+ var b = hb[a.node.Ca];
699
706
  if (!b) {
700
- throw new M(43);
707
+ throw new N(43);
701
708
  }
702
709
  a.s = b;
703
710
  a.seekable = !1;
@@ -707,16 +714,16 @@ var jb = {open:function(a) {
707
714
  a.s.V.ua(a.s);
708
715
  }, read:function(a, b, c, d) {
709
716
  if (!a.s || !a.s.V.fb) {
710
- throw new M(60);
717
+ throw new N(60);
711
718
  }
712
719
  for (var e = 0, f = 0; f < d; f++) {
713
720
  try {
714
721
  var g = a.s.V.fb(a.s);
715
- } catch (n) {
716
- throw new M(29);
722
+ } catch (l) {
723
+ throw new N(29);
717
724
  }
718
725
  if (void 0 === g && 0 === e) {
719
- throw new M(6);
726
+ throw new N(6);
720
727
  }
721
728
  if (null === g || void 0 === g) {
722
729
  break;
@@ -728,79 +735,79 @@ var jb = {open:function(a) {
728
735
  return e;
729
736
  }, write:function(a, b, c, d) {
730
737
  if (!a.s || !a.s.V.Qa) {
731
- throw new M(60);
738
+ throw new N(60);
732
739
  }
733
740
  try {
734
741
  for (var e = 0; e < d; e++) {
735
742
  a.s.V.Qa(a.s, b[c + e]);
736
743
  }
737
744
  } catch (f) {
738
- throw new M(29);
745
+ throw new N(29);
739
746
  }
740
747
  d && (a.node.timestamp = Date.now());
741
748
  return e;
742
- },}, kb = {fb:function() {
749
+ },}, lb = {fb:function() {
743
750
  a: {
744
- if (!cb.length) {
751
+ if (!db.length) {
745
752
  var a = null;
746
753
  "undefined" != typeof window && "function" == typeof window.prompt ? (a = window.prompt("Input: "), null !== a && (a += "\n")) : "function" == typeof readline && (a = readline(), null !== a && (a += "\n"));
747
754
  if (!a) {
748
755
  a = null;
749
756
  break a;
750
757
  }
751
- cb = fb(a, !0);
758
+ db = gb(a, !0);
752
759
  }
753
- a = cb.shift();
760
+ a = db.shift();
754
761
  }
755
762
  return a;
756
763
  }, Qa:function(a, b) {
757
- null === b || 10 === b ? (pa(L(a.G, 0)), a.G = []) : 0 != b && a.G.push(b);
764
+ null === b || 10 === b ? (qa(M(a.G, 0)), a.G = []) : 0 != b && a.G.push(b);
758
765
  }, ua:function(a) {
759
- a.G && 0 < a.G.length && (pa(L(a.G, 0)), a.G = []);
760
- }, Wb:function() {
761
- return {tc:25856, vc:5, sc:191, uc:35387, rc:[3, 28, 127, 21, 4, 0, 1, 0, 17, 19, 26, 0, 18, 15, 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]};
766
+ a.G && 0 < a.G.length && (qa(M(a.G, 0)), a.G = []);
762
767
  }, Xb:function() {
763
- return 0;
768
+ return {uc:25856, wc:5, tc:191, vc:35387, sc:[3, 28, 127, 21, 4, 0, 1, 0, 17, 19, 26, 0, 18, 15, 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]};
764
769
  }, Yb:function() {
770
+ return 0;
771
+ }, Zb:function() {
765
772
  return [24, 80];
766
- },}, lb = {Qa:function(a, b) {
767
- null === b || 10 === b ? (qa(L(a.G, 0)), a.G = []) : 0 != b && a.G.push(b);
773
+ },}, mb = {Qa:function(a, b) {
774
+ null === b || 10 === b ? (ra(M(a.G, 0)), a.G = []) : 0 != b && a.G.push(b);
768
775
  }, ua:function(a) {
769
- a.G && 0 < a.G.length && (qa(L(a.G, 0)), a.G = []);
776
+ a.G && 0 < a.G.length && (ra(M(a.G, 0)), a.G = []);
770
777
  },};
771
- function mb(a, b) {
778
+ function nb(a, b) {
772
779
  var c = a.j ? a.j.length : 0;
773
780
  c >= b || (b = Math.max(b, c * (1048576 > c ? 2.0 : 1.125) >>> 0), 0 != c && (b = Math.max(b, 256)), c = a.j, a.j = new Uint8Array(b), 0 < a.v && a.j.set(c.subarray(0, a.v), 0));
774
781
  }
775
- var N = {O:null, U() {
776
- return N.createNode(null, "/", 16895, 0);
782
+ var O = {O:null, U() {
783
+ return O.createNode(null, "/", 16895, 0);
777
784
  }, createNode(a, b, c, d) {
778
785
  if (24576 === (c & 61440) || 4096 === (c & 61440)) {
779
- throw new M(63);
786
+ throw new N(63);
780
787
  }
781
- N.O || (N.O = {dir:{node:{Y:N.l.Y, P:N.l.P, ma:N.l.ma, za:N.l.za, rb:N.l.rb, wb:N.l.wb, sb:N.l.sb, pb:N.l.pb, Fa:N.l.Fa}, stream:{ba:N.m.ba}}, file:{node:{Y:N.l.Y, P:N.l.P}, stream:{ba:N.m.ba, read:N.m.read, write:N.m.write, ta:N.m.ta, hb:N.m.hb, jb:N.m.jb}}, link:{node:{Y:N.l.Y, P:N.l.P, na:N.l.na}, stream:{}}, Xa:{node:{Y:N.l.Y, P:N.l.P}, stream:nb}});
782
- c = ob(a, b, c, d);
783
- 16384 === (c.mode & 61440) ? (c.l = N.O.dir.node, c.m = N.O.dir.stream, c.j = {}) : 32768 === (c.mode & 61440) ? (c.l = N.O.file.node, c.m = N.O.file.stream, c.v = 0, c.j = null) : 40960 === (c.mode & 61440) ? (c.l = N.O.link.node, c.m = N.O.link.stream) : 8192 === (c.mode & 61440) && (c.l = N.O.Xa.node, c.m = N.O.Xa.stream);
788
+ O.O || (O.O = {dir:{node:{Y:O.l.Y, P:O.l.P, ma:O.l.ma, za:O.l.za, rb:O.l.rb, wb:O.l.wb, sb:O.l.sb, pb:O.l.pb, Fa:O.l.Fa}, stream:{ba:O.m.ba}}, file:{node:{Y:O.l.Y, P:O.l.P}, stream:{ba:O.m.ba, read:O.m.read, write:O.m.write, ta:O.m.ta, hb:O.m.hb, jb:O.m.jb}}, link:{node:{Y:O.l.Y, P:O.l.P, na:O.l.na}, stream:{}}, Xa:{node:{Y:O.l.Y, P:O.l.P}, stream:ob}});
789
+ c = pb(a, b, c, d);
790
+ 16384 === (c.mode & 61440) ? (c.l = O.O.dir.node, c.m = O.O.dir.stream, c.j = {}) : 32768 === (c.mode & 61440) ? (c.l = O.O.file.node, c.m = O.O.file.stream, c.v = 0, c.j = null) : 40960 === (c.mode & 61440) ? (c.l = O.O.link.node, c.m = O.O.link.stream) : 8192 === (c.mode & 61440) && (c.l = O.O.Xa.node, c.m = O.O.Xa.stream);
784
791
  c.timestamp = Date.now();
785
792
  a && (a.j[b] = c, a.timestamp = c.timestamp);
786
793
  return c;
787
- }, Ac(a) {
794
+ }, Bc(a) {
788
795
  return a.j ? a.j.subarray ? a.j.subarray(0, a.v) : new Uint8Array(a.j) : new Uint8Array(0);
789
796
  }, l:{Y(a) {
790
797
  var b = {};
791
- b.yc = 8192 === (a.mode & 61440) ? a.id : 1;
792
- b.Cc = a.id;
798
+ b.zc = 8192 === (a.mode & 61440) ? a.id : 1;
799
+ b.Dc = a.id;
793
800
  b.mode = a.mode;
794
- b.Kc = 1;
801
+ b.Lc = 1;
795
802
  b.uid = 0;
796
- b.Bc = 0;
803
+ b.Cc = 0;
797
804
  b.Ca = a.Ca;
798
805
  16384 === (a.mode & 61440) ? b.size = 4096 : 32768 === (a.mode & 61440) ? b.size = a.v : 40960 === (a.mode & 61440) ? b.size = a.link.length : b.size = 0;
799
- b.pc = new Date(a.timestamp);
800
- b.Ic = new Date(a.timestamp);
801
- b.wc = new Date(a.timestamp);
802
- b.Eb = 4096;
803
- b.qc = Math.ceil(b.size / b.Eb);
806
+ b.qc = new Date(a.timestamp);
807
+ b.Jc = new Date(a.timestamp);
808
+ b.xc = new Date(a.timestamp);
809
+ b.Fb = 4096;
810
+ b.rc = Math.ceil(b.size / b.Fb);
804
811
  return b;
805
812
  }, P(a, b) {
806
813
  void 0 !== b.mode && (a.mode = b.mode);
@@ -816,18 +823,18 @@ var N = {O:null, U() {
816
823
  }
817
824
  }
818
825
  }, ma() {
819
- throw pb[44];
826
+ throw qb[44];
820
827
  }, za(a, b, c, d) {
821
- return N.createNode(a, b, c, d);
828
+ return O.createNode(a, b, c, d);
822
829
  }, rb(a, b, c) {
823
830
  if (16384 === (a.mode & 61440)) {
824
831
  try {
825
- var d = qb(b, c);
832
+ var d = rb(b, c);
826
833
  } catch (f) {
827
834
  }
828
835
  if (d) {
829
836
  for (var e in d.j) {
830
- throw new M(55);
837
+ throw new N(55);
831
838
  }
832
839
  }
833
840
  }
@@ -841,9 +848,9 @@ var N = {O:null, U() {
841
848
  delete a.j[b];
842
849
  a.timestamp = Date.now();
843
850
  }, sb(a, b) {
844
- var c = qb(a, b), d;
851
+ var c = rb(a, b), d;
845
852
  for (d in c.j) {
846
- throw new M(55);
853
+ throw new N(55);
847
854
  }
848
855
  delete a.j[b];
849
856
  a.timestamp = Date.now();
@@ -854,12 +861,12 @@ var N = {O:null, U() {
854
861
  }
855
862
  return b;
856
863
  }, Fa(a, b, c) {
857
- a = N.createNode(a, b, 41471, 0);
864
+ a = O.createNode(a, b, 41471, 0);
858
865
  a.link = c;
859
866
  return a;
860
867
  }, na(a) {
861
868
  if (40960 !== (a.mode & 61440)) {
862
- throw new M(28);
869
+ throw new N(28);
863
870
  }
864
871
  return a.link;
865
872
  },}, m:{read(a, b, c, d, e) {
@@ -894,7 +901,7 @@ var N = {O:null, U() {
894
901
  return a.j.set(b.subarray(c, c + d), e), d;
895
902
  }
896
903
  }
897
- mb(a, e + d);
904
+ nb(a, e + d);
898
905
  if (a.j.subarray && b.subarray) {
899
906
  a.j.set(b.subarray(c, c + d), e);
900
907
  } else {
@@ -907,15 +914,15 @@ var N = {O:null, U() {
907
914
  }, ba(a, b, c) {
908
915
  1 === c ? b += a.position : 2 === c && 32768 === (a.node.mode & 61440) && (b += a.node.v);
909
916
  if (0 > b) {
910
- throw new M(28);
917
+ throw new N(28);
911
918
  }
912
919
  return b;
913
920
  }, ta(a, b, c) {
914
- mb(a.node, b + c);
921
+ nb(a.node, b + c);
915
922
  a.node.v = Math.max(a.node.v, b + c);
916
923
  }, hb(a, b, c, d, e) {
917
924
  if (32768 !== (a.node.mode & 61440)) {
918
- throw new M(43);
925
+ throw new N(43);
919
926
  }
920
927
  a = a.node.j;
921
928
  if (e & 2 || a.buffer !== D.buffer) {
@@ -923,10 +930,10 @@ var N = {O:null, U() {
923
930
  a.subarray ? a = a.subarray(c, c + b) : a = Array.prototype.slice.call(a, c, c + b);
924
931
  }
925
932
  c = !0;
926
- sa();
933
+ ta();
927
934
  b = void 0;
928
935
  if (!b) {
929
- throw new M(48);
936
+ throw new N(48);
930
937
  }
931
938
  D.set(a, b);
932
939
  } else {
@@ -934,43 +941,43 @@ var N = {O:null, U() {
934
941
  }
935
942
  return {o:b, M:c};
936
943
  }, jb(a, b, c, d) {
937
- N.m.write(a, b, 0, d, c, !1);
944
+ O.m.write(a, b, 0, d, c, !1);
938
945
  return 0;
939
946
  },},};
940
- function sb(a, b) {
947
+ function tb(a, b) {
941
948
  var c = 0;
942
949
  a && (c |= 365);
943
950
  b && (c |= 146);
944
951
  return c;
945
952
  }
946
- var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {}, Ab = (a, b = {}) => {
947
- a = ab(a);
953
+ var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, N = null, qb = {}, Bb = (a, b = {}) => {
954
+ a = bb(a);
948
955
  if (!a) {
949
956
  return {path:"", node:null};
950
957
  }
951
958
  b = Object.assign({cb:!0, Sa:0}, b);
952
959
  if (8 < b.Sa) {
953
- throw new M(32);
960
+ throw new N(32);
954
961
  }
955
962
  a = a.split("/").filter(g => !!g);
956
- for (var c = tb, d = "/", e = 0; e < a.length; e++) {
963
+ for (var c = ub, d = "/", e = 0; e < a.length; e++) {
957
964
  var f = e === a.length - 1;
958
965
  if (f && b.parent) {
959
966
  break;
960
967
  }
961
- c = qb(c, a[e]);
962
- d = Wa(d + "/" + a[e]);
968
+ c = rb(c, a[e]);
969
+ d = Xa(d + "/" + a[e]);
963
970
  c.Aa && (!f || f && b.cb) && (c = c.Aa.root);
964
971
  if (!f || b.bb) {
965
972
  for (f = 0; 40960 === (c.mode & 61440);) {
966
- if (c = zb(d), d = ab(Xa(d), c), c = Ab(d, {Sa:b.Sa + 1}).node, 40 < f++) {
967
- throw new M(32);
973
+ if (c = Ab(d), d = bb(Ya(d), c), c = Bb(d, {Sa:b.Sa + 1}).node, 40 < f++) {
974
+ throw new N(32);
968
975
  }
969
976
  }
970
977
  }
971
978
  }
972
979
  return {path:d, node:c};
973
- }, Bb = a => {
980
+ }, Cb = a => {
974
981
  for (var b;;) {
975
982
  if (a === a.parent) {
976
983
  return a = a.U.ib, b ? "/" !== a[a.length - 1] ? `${a}/${b}` : a + b : a;
@@ -978,34 +985,34 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
978
985
  b = b ? `${a.name}/${b}` : a.name;
979
986
  a = a.parent;
980
987
  }
981
- }, Cb = (a, b) => {
988
+ }, Db = (a, b) => {
982
989
  for (var c = 0, d = 0; d < b.length; d++) {
983
990
  c = (c << 5) - c + b.charCodeAt(d) | 0;
984
991
  }
985
- return (a + c >>> 0) % xb.length;
986
- }, qb = (a, b) => {
992
+ return (a + c >>> 0) % yb.length;
993
+ }, rb = (a, b) => {
987
994
  var c;
988
- if (c = (c = Db(a, "x")) ? c : a.l.ma ? 0 : 2) {
989
- throw new M(c, a);
995
+ if (c = (c = Eb(a, "x")) ? c : a.l.ma ? 0 : 2) {
996
+ throw new N(c, a);
990
997
  }
991
- for (c = xb[Cb(a.id, b)]; c; c = c.ac) {
998
+ for (c = yb[Db(a.id, b)]; c; c = c.bc) {
992
999
  var d = c.name;
993
1000
  if (c.parent.id === a.id && d === b) {
994
1001
  return c;
995
1002
  }
996
1003
  }
997
1004
  return a.l.ma(a, b);
998
- }, ob = (a, b, c, d) => {
999
- a = new Eb(a, b, c, d);
1000
- b = Cb(a.parent.id, a.name);
1001
- a.ac = xb[b];
1002
- return xb[b] = a;
1003
- }, Fb = a => {
1005
+ }, pb = (a, b, c, d) => {
1006
+ a = new Fb(a, b, c, d);
1007
+ b = Db(a.parent.id, a.name);
1008
+ a.bc = yb[b];
1009
+ return yb[b] = a;
1010
+ }, Gb = a => {
1004
1011
  var b = ["r", "w", "rw"][a & 3];
1005
1012
  a & 512 && (b += "w");
1006
1013
  return b;
1007
- }, Db = (a, b) => {
1008
- if (yb) {
1014
+ }, Eb = (a, b) => {
1015
+ if (zb) {
1009
1016
  return 0;
1010
1017
  }
1011
1018
  if (!b.includes("r") || a.mode & 292) {
@@ -1016,29 +1023,29 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1016
1023
  return 2;
1017
1024
  }
1018
1025
  return 0;
1019
- }, Gb = (a, b) => {
1026
+ }, Hb = (a, b) => {
1020
1027
  try {
1021
- return qb(a, b), 20;
1028
+ return rb(a, b), 20;
1022
1029
  } catch (c) {
1023
1030
  }
1024
- return Db(a, "wx");
1025
- }, Hb = () => {
1031
+ return Eb(a, "wx");
1032
+ }, Ib = () => {
1026
1033
  for (var a = 0; 4096 >= a; a++) {
1027
- if (!vb[a]) {
1034
+ if (!wb[a]) {
1028
1035
  return a;
1029
1036
  }
1030
1037
  }
1031
- throw new M(33);
1032
- }, Ib = a => {
1033
- a = vb[a];
1038
+ throw new N(33);
1039
+ }, Jb = a => {
1040
+ a = wb[a];
1034
1041
  if (!a) {
1035
- throw new M(8);
1042
+ throw new N(8);
1036
1043
  }
1037
1044
  return a;
1038
- }, Kb = (a, b = -1) => {
1039
- Jb || (Jb = function() {
1045
+ }, Lb = (a, b = -1) => {
1046
+ Kb || (Kb = function() {
1040
1047
  this.h = {};
1041
- }, Jb.prototype = {}, Object.defineProperties(Jb.prototype, {object:{get() {
1048
+ }, Kb.prototype = {}, Object.defineProperties(Kb.prototype, {object:{get() {
1042
1049
  return this.node;
1043
1050
  }, set(c) {
1044
1051
  this.node = c;
@@ -1051,84 +1058,84 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1051
1058
  }, set(c) {
1052
1059
  this.h.position = c;
1053
1060
  },},}));
1054
- a = Object.assign(new Jb(), a);
1055
- -1 == b && (b = Hb());
1061
+ a = Object.assign(new Kb(), a);
1062
+ -1 == b && (b = Ib());
1056
1063
  a.X = b;
1057
- return vb[b] = a;
1058
- }, nb = {open:a => {
1059
- a.m = ub[a.node.Ca].m;
1064
+ return wb[b] = a;
1065
+ }, ob = {open:a => {
1066
+ a.m = vb[a.node.Ca].m;
1060
1067
  a.m.open && a.m.open(a);
1061
1068
  }, ba:() => {
1062
- throw new M(70);
1063
- },}, ib = (a, b) => {
1064
- ub[a] = {m:b};
1065
- }, Lb = (a, b) => {
1069
+ throw new N(70);
1070
+ },}, jb = (a, b) => {
1071
+ vb[a] = {m:b};
1072
+ }, Mb = (a, b) => {
1066
1073
  var c = "/" === b, d = !b;
1067
- if (c && tb) {
1068
- throw new M(10);
1074
+ if (c && ub) {
1075
+ throw new N(10);
1069
1076
  }
1070
1077
  if (!c && !d) {
1071
- var e = Ab(b, {cb:!1});
1078
+ var e = Bb(b, {cb:!1});
1072
1079
  b = e.path;
1073
1080
  e = e.node;
1074
1081
  if (e.Aa) {
1075
- throw new M(10);
1082
+ throw new N(10);
1076
1083
  }
1077
1084
  if (16384 !== (e.mode & 61440)) {
1078
- throw new M(54);
1085
+ throw new N(54);
1079
1086
  }
1080
1087
  }
1081
- b = {type:a, Mc:{}, ib:b, $b:[]};
1088
+ b = {type:a, Nc:{}, ib:b, ac:[]};
1082
1089
  a = a.U(b);
1083
1090
  a.U = b;
1084
1091
  b.root = a;
1085
- c ? tb = a : e && (e.Aa = b, e.U && e.U.$b.push(b));
1086
- }, O = (a, b, c) => {
1087
- var d = Ab(a, {parent:!0}).node;
1088
- a = Ya(a);
1092
+ c ? ub = a : e && (e.Aa = b, e.U && e.U.ac.push(b));
1093
+ }, P = (a, b, c) => {
1094
+ var d = Bb(a, {parent:!0}).node;
1095
+ a = Za(a);
1089
1096
  if (!a || "." === a || ".." === a) {
1090
- throw new M(28);
1097
+ throw new N(28);
1091
1098
  }
1092
- var e = Gb(d, a);
1099
+ var e = Hb(d, a);
1093
1100
  if (e) {
1094
- throw new M(e);
1101
+ throw new N(e);
1095
1102
  }
1096
1103
  if (!d.l.za) {
1097
- throw new M(63);
1104
+ throw new N(63);
1098
1105
  }
1099
1106
  return d.l.za(d, a, b, c);
1100
- }, Mb = (a, b, c) => {
1107
+ }, Nb = (a, b, c) => {
1101
1108
  "undefined" == typeof c && (c = b, b = 438);
1102
- O(a, b | 8192, c);
1103
- }, Nb = (a, b) => {
1104
- if (!ab(a)) {
1105
- throw new M(44);
1109
+ P(a, b | 8192, c);
1110
+ }, Ob = (a, b) => {
1111
+ if (!bb(a)) {
1112
+ throw new N(44);
1106
1113
  }
1107
- var c = Ab(b, {parent:!0}).node;
1114
+ var c = Bb(b, {parent:!0}).node;
1108
1115
  if (!c) {
1109
- throw new M(44);
1116
+ throw new N(44);
1110
1117
  }
1111
- b = Ya(b);
1112
- var d = Gb(c, b);
1118
+ b = Za(b);
1119
+ var d = Hb(c, b);
1113
1120
  if (d) {
1114
- throw new M(d);
1121
+ throw new N(d);
1115
1122
  }
1116
1123
  if (!c.l.Fa) {
1117
- throw new M(63);
1124
+ throw new N(63);
1118
1125
  }
1119
1126
  c.l.Fa(c, b, a);
1120
- }, zb = a => {
1121
- a = Ab(a).node;
1127
+ }, Ab = a => {
1128
+ a = Bb(a).node;
1122
1129
  if (!a) {
1123
- throw new M(44);
1130
+ throw new N(44);
1124
1131
  }
1125
1132
  if (!a.l.na) {
1126
- throw new M(28);
1133
+ throw new N(28);
1127
1134
  }
1128
- return ab(Bb(a.parent), a.l.na(a));
1129
- }, Pb = (a, b, c) => {
1135
+ return bb(Cb(a.parent), a.l.na(a));
1136
+ }, Qb = (a, b, c) => {
1130
1137
  if ("" === a) {
1131
- throw new M(44);
1138
+ throw new N(44);
1132
1139
  }
1133
1140
  if ("string" == typeof b) {
1134
1141
  var d = {r:0, "r+":2, w:577, "w+":578, a:1089, "a+":1090,}[b];
@@ -1141,9 +1148,9 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1141
1148
  if ("object" == typeof a) {
1142
1149
  var e = a;
1143
1150
  } else {
1144
- a = Wa(a);
1151
+ a = Xa(a);
1145
1152
  try {
1146
- e = Ab(a, {bb:!(b & 131072)}).node;
1153
+ e = Bb(a, {bb:!(b & 131072)}).node;
1147
1154
  } catch (f) {
1148
1155
  }
1149
1156
  }
@@ -1151,114 +1158,114 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1151
1158
  if (b & 64) {
1152
1159
  if (e) {
1153
1160
  if (b & 128) {
1154
- throw new M(20);
1161
+ throw new N(20);
1155
1162
  }
1156
1163
  } else {
1157
- e = O(a, c, 0), d = !0;
1164
+ e = P(a, c, 0), d = !0;
1158
1165
  }
1159
1166
  }
1160
1167
  if (!e) {
1161
- throw new M(44);
1168
+ throw new N(44);
1162
1169
  }
1163
1170
  8192 === (e.mode & 61440) && (b &= -513);
1164
1171
  if (b & 65536 && 16384 !== (e.mode & 61440)) {
1165
- throw new M(54);
1172
+ throw new N(54);
1166
1173
  }
1167
- if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Fb(b) || b & 512) ? 31 : Db(e, Fb(b)) : 44)) {
1168
- throw new M(c);
1174
+ if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Gb(b) || b & 512) ? 31 : Eb(e, Gb(b)) : 44)) {
1175
+ throw new N(c);
1169
1176
  }
1170
1177
  if (b & 512 && !d) {
1171
1178
  c = e;
1172
- c = "string" == typeof c ? Ab(c, {bb:!0}).node : c;
1179
+ c = "string" == typeof c ? Bb(c, {bb:!0}).node : c;
1173
1180
  if (!c.l.P) {
1174
- throw new M(63);
1181
+ throw new N(63);
1175
1182
  }
1176
1183
  if (16384 === (c.mode & 61440)) {
1177
- throw new M(31);
1184
+ throw new N(31);
1178
1185
  }
1179
1186
  if (32768 !== (c.mode & 61440)) {
1180
- throw new M(28);
1187
+ throw new N(28);
1181
1188
  }
1182
- if (d = Db(c, "w")) {
1183
- throw new M(d);
1189
+ if (d = Eb(c, "w")) {
1190
+ throw new N(d);
1184
1191
  }
1185
1192
  c.l.P(c, {size:0, timestamp:Date.now()});
1186
1193
  }
1187
1194
  b &= -131713;
1188
- e = Kb({node:e, path:Bb(e), flags:b, seekable:!0, position:0, m:e.m, oc:[], error:!1});
1195
+ e = Lb({node:e, path:Cb(e), flags:b, seekable:!0, position:0, m:e.m, pc:[], error:!1});
1189
1196
  e.m.open && e.m.open(e);
1190
- !m.logReadFiles || b & 1 || (Ob || (Ob = {}), a in Ob || (Ob[a] = 1));
1197
+ !k.logReadFiles || b & 1 || (Pb || (Pb = {}), a in Pb || (Pb[a] = 1));
1191
1198
  return e;
1192
- }, Qb = (a, b, c) => {
1199
+ }, Rb = (a, b, c) => {
1193
1200
  if (null === a.X) {
1194
- throw new M(8);
1201
+ throw new N(8);
1195
1202
  }
1196
1203
  if (!a.seekable || !a.m.ba) {
1197
- throw new M(70);
1204
+ throw new N(70);
1198
1205
  }
1199
1206
  if (0 != c && 1 != c && 2 != c) {
1200
- throw new M(28);
1207
+ throw new N(28);
1201
1208
  }
1202
1209
  a.position = a.m.ba(a, b, c);
1203
- a.oc = [];
1204
- }, Rb = () => {
1205
- M || (M = function(a, b) {
1210
+ a.pc = [];
1211
+ }, Sb = () => {
1212
+ N || (N = function(a, b) {
1206
1213
  this.name = "ErrnoError";
1207
1214
  this.node = b;
1208
- this.dc = function(c) {
1215
+ this.ec = function(c) {
1209
1216
  this.aa = c;
1210
1217
  };
1211
- this.dc(a);
1218
+ this.ec(a);
1212
1219
  this.message = "FS error";
1213
- }, M.prototype = Error(), M.prototype.constructor = M, [44].forEach(a => {
1214
- pb[a] = new M(a);
1215
- pb[a].stack = "<generic error, no stack>";
1220
+ }, N.prototype = Error(), N.prototype.constructor = N, [44].forEach(a => {
1221
+ qb[a] = new N(a);
1222
+ qb[a].stack = "<generic error, no stack>";
1216
1223
  }));
1217
- }, Sb, Ub = (a, b, c) => {
1218
- a = Wa("/dev/" + a);
1219
- var d = sb(!!b, !!c);
1220
- Tb || (Tb = 64);
1221
- var e = Tb++ << 8 | 0;
1222
- ib(e, {open:f => {
1224
+ }, Tb, Vb = (a, b, c) => {
1225
+ a = Xa("/dev/" + a);
1226
+ var d = tb(!!b, !!c);
1227
+ Ub || (Ub = 64);
1228
+ var e = Ub++ << 8 | 0;
1229
+ jb(e, {open:f => {
1223
1230
  f.seekable = !1;
1224
1231
  }, close:() => {
1225
1232
  c && c.buffer && c.buffer.length && c(10);
1226
- }, read:(f, g, n, p) => {
1227
- for (var l = 0, t = 0; t < p; t++) {
1233
+ }, read:(f, g, l, p) => {
1234
+ for (var m = 0, t = 0; t < p; t++) {
1228
1235
  try {
1229
- var u = b();
1236
+ var v = b();
1230
1237
  } catch (x) {
1231
- throw new M(29);
1238
+ throw new N(29);
1232
1239
  }
1233
- if (void 0 === u && 0 === l) {
1234
- throw new M(6);
1240
+ if (void 0 === v && 0 === m) {
1241
+ throw new N(6);
1235
1242
  }
1236
- if (null === u || void 0 === u) {
1243
+ if (null === v || void 0 === v) {
1237
1244
  break;
1238
1245
  }
1239
- l++;
1240
- g[n + t] = u;
1246
+ m++;
1247
+ g[l + t] = v;
1241
1248
  }
1242
- l && (f.node.timestamp = Date.now());
1243
- return l;
1244
- }, write:(f, g, n, p) => {
1245
- for (var l = 0; l < p; l++) {
1249
+ m && (f.node.timestamp = Date.now());
1250
+ return m;
1251
+ }, write:(f, g, l, p) => {
1252
+ for (var m = 0; m < p; m++) {
1246
1253
  try {
1247
- c(g[n + l]);
1254
+ c(g[l + m]);
1248
1255
  } catch (t) {
1249
- throw new M(29);
1256
+ throw new N(29);
1250
1257
  }
1251
1258
  }
1252
1259
  p && (f.node.timestamp = Date.now());
1253
- return l;
1260
+ return m;
1254
1261
  }});
1255
- Mb(a, d, e);
1256
- }, Tb, Vb = {}, Jb, Ob, Wb = void 0;
1257
- function Xb() {
1258
- Wb += 4;
1259
- return J[Wb - 4 >> 2];
1262
+ Nb(a, d, e);
1263
+ }, Ub, Wb = {}, Kb, Pb, Xb = void 0;
1264
+ function Yb() {
1265
+ Xb += 4;
1266
+ return J[Xb - 4 >> 2];
1260
1267
  }
1261
- function Yb(a) {
1268
+ function Zb(a) {
1262
1269
  if (void 0 === a) {
1263
1270
  return "_unknown";
1264
1271
  }
@@ -1266,24 +1273,24 @@ function Yb(a) {
1266
1273
  var b = a.charCodeAt(0);
1267
1274
  return 48 <= b && 57 >= b ? `_${a}` : a;
1268
1275
  }
1269
- function Zb(a, b) {
1270
- a = Yb(a);
1276
+ function $b(a, b) {
1277
+ a = Zb(a);
1271
1278
  return {[a]:function() {
1272
1279
  return b.apply(this, arguments);
1273
1280
  }}[a];
1274
1281
  }
1275
- function $b() {
1282
+ function ac() {
1276
1283
  this.M = [void 0];
1277
1284
  this.eb = [];
1278
1285
  }
1279
- var P = new $b(), ac = void 0;
1280
- function Q(a) {
1281
- throw new ac(a);
1286
+ var Q = new ac(), bc = void 0;
1287
+ function R(a) {
1288
+ throw new bc(a);
1282
1289
  }
1283
- var R = a => {
1284
- a || Q("Cannot use deleted val. handle = " + a);
1285
- return P.get(a).value;
1286
- }, bc = a => {
1290
+ var S = a => {
1291
+ a || R("Cannot use deleted val. handle = " + a);
1292
+ return Q.get(a).value;
1293
+ }, cc = a => {
1287
1294
  switch(a) {
1288
1295
  case void 0:
1289
1296
  return 1;
@@ -1294,11 +1301,11 @@ var R = a => {
1294
1301
  case !1:
1295
1302
  return 4;
1296
1303
  default:
1297
- return P.ta({qb:1, value:a});
1304
+ return Q.ta({qb:1, value:a});
1298
1305
  }
1299
1306
  };
1300
- function cc(a) {
1301
- var b = Error, c = Zb(a, function(d) {
1307
+ function dc(a) {
1308
+ var b = Error, c = $b(a, function(d) {
1302
1309
  this.name = a;
1303
1310
  this.message = d;
1304
1311
  d = Error(d).stack;
@@ -1311,122 +1318,122 @@ function cc(a) {
1311
1318
  };
1312
1319
  return c;
1313
1320
  }
1314
- var dc = void 0, ec = void 0;
1315
- function S(a) {
1316
- for (var b = ""; G[a];) {
1317
- b += ec[G[a++]];
1321
+ var ec = void 0, fc = void 0;
1322
+ function T(a) {
1323
+ for (var b = ""; F[a];) {
1324
+ b += fc[F[a++]];
1318
1325
  }
1319
1326
  return b;
1320
1327
  }
1321
- var fc = [];
1322
- function gc() {
1323
- for (; fc.length;) {
1324
- var a = fc.pop();
1328
+ var gc = [];
1329
+ function hc() {
1330
+ for (; gc.length;) {
1331
+ var a = gc.pop();
1325
1332
  a.g.ha = !1;
1326
1333
  a["delete"]();
1327
1334
  }
1328
1335
  }
1329
- var hc = void 0, ic = {};
1330
- function jc(a, b) {
1331
- for (void 0 === b && Q("ptr should not be undefined"); a.A;) {
1336
+ var ic = void 0, jc = {};
1337
+ function kc(a, b) {
1338
+ for (void 0 === b && R("ptr should not be undefined"); a.A;) {
1332
1339
  b = a.pa(b), a = a.A;
1333
1340
  }
1334
1341
  return b;
1335
1342
  }
1336
- var kc = {};
1337
- function lc(a) {
1338
- a = mc(a);
1339
- var b = S(a);
1340
- nc(a);
1343
+ var lc = {};
1344
+ function mc(a) {
1345
+ a = nc(a);
1346
+ var b = T(a);
1347
+ oc(a);
1341
1348
  return b;
1342
1349
  }
1343
- function oc(a, b) {
1344
- var c = kc[a];
1345
- void 0 === c && Q(b + " has unknown type " + lc(a));
1350
+ function pc(a, b) {
1351
+ var c = lc[a];
1352
+ void 0 === c && R(b + " has unknown type " + mc(a));
1346
1353
  return c;
1347
1354
  }
1348
- function pc() {
1355
+ function qc() {
1349
1356
  }
1350
- var qc = !1;
1351
- function rc(a) {
1357
+ var rc = !1;
1358
+ function sc(a) {
1352
1359
  --a.count.value;
1353
1360
  0 === a.count.value && (a.H ? a.L.W(a.H) : a.u.i.W(a.o));
1354
1361
  }
1355
- function sc(a, b, c) {
1362
+ function tc(a, b, c) {
1356
1363
  if (b === c) {
1357
1364
  return a;
1358
1365
  }
1359
1366
  if (void 0 === c.A) {
1360
1367
  return null;
1361
1368
  }
1362
- a = sc(a, b, c.A);
1363
- return null === a ? null : c.Ib(a);
1369
+ a = tc(a, b, c.A);
1370
+ return null === a ? null : c.Jb(a);
1364
1371
  }
1365
- var tc = {};
1366
- function uc(a, b) {
1367
- b = jc(a, b);
1368
- return ic[b];
1372
+ var uc = {};
1373
+ function vc(a, b) {
1374
+ b = kc(a, b);
1375
+ return jc[b];
1369
1376
  }
1370
- var vc = void 0;
1371
- function wc(a) {
1372
- throw new vc(a);
1377
+ var wc = void 0;
1378
+ function xc(a) {
1379
+ throw new wc(a);
1373
1380
  }
1374
- function xc(a, b) {
1375
- b.u && b.o || wc("makeClassHandle requires ptr and ptrType");
1376
- !!b.L !== !!b.H && wc("Both smartPtrType and smartPtr must be specified");
1381
+ function yc(a, b) {
1382
+ b.u && b.o || xc("makeClassHandle requires ptr and ptrType");
1383
+ !!b.L !== !!b.H && xc("Both smartPtrType and smartPtr must be specified");
1377
1384
  b.count = {value:1};
1378
- return yc(Object.create(a, {g:{value:b,},}));
1385
+ return zc(Object.create(a, {g:{value:b,},}));
1379
1386
  }
1380
- function yc(a) {
1387
+ function zc(a) {
1381
1388
  if ("undefined" === typeof FinalizationRegistry) {
1382
- return yc = b => b, a;
1389
+ return zc = b => b, a;
1383
1390
  }
1384
- qc = new FinalizationRegistry(b => {
1385
- rc(b.g);
1391
+ rc = new FinalizationRegistry(b => {
1392
+ sc(b.g);
1386
1393
  });
1387
- yc = b => {
1394
+ zc = b => {
1388
1395
  var c = b.g;
1389
- c.H && qc.register(b, {g:c}, b);
1396
+ c.H && rc.register(b, {g:c}, b);
1390
1397
  return b;
1391
1398
  };
1392
- pc = b => {
1393
- qc.unregister(b);
1399
+ qc = b => {
1400
+ rc.unregister(b);
1394
1401
  };
1395
- return yc(a);
1402
+ return zc(a);
1396
1403
  }
1397
- var zc = {};
1398
- function Ac(a) {
1404
+ var Ac = {};
1405
+ function Bc(a) {
1399
1406
  for (; a.length;) {
1400
1407
  var b = a.pop();
1401
1408
  a.pop()(b);
1402
1409
  }
1403
1410
  }
1404
- function Bc(a) {
1411
+ function Cc(a) {
1405
1412
  return this.fromWireType(J[a >> 2]);
1406
1413
  }
1407
- var Cc = {}, Dc = {};
1408
- function T(a, b, c) {
1409
- function d(n) {
1410
- n = c(n);
1411
- n.length !== a.length && wc("Mismatched type converter count");
1414
+ var Dc = {}, Ec = {};
1415
+ function U(a, b, c) {
1416
+ function d(l) {
1417
+ l = c(l);
1418
+ l.length !== a.length && xc("Mismatched type converter count");
1412
1419
  for (var p = 0; p < a.length; ++p) {
1413
- U(a[p], n[p]);
1420
+ V(a[p], l[p]);
1414
1421
  }
1415
1422
  }
1416
- a.forEach(function(n) {
1417
- Dc[n] = b;
1423
+ a.forEach(function(l) {
1424
+ Ec[l] = b;
1418
1425
  });
1419
1426
  var e = Array(b.length), f = [], g = 0;
1420
- b.forEach((n, p) => {
1421
- kc.hasOwnProperty(n) ? e[p] = kc[n] : (f.push(n), Cc.hasOwnProperty(n) || (Cc[n] = []), Cc[n].push(() => {
1422
- e[p] = kc[n];
1427
+ b.forEach((l, p) => {
1428
+ lc.hasOwnProperty(l) ? e[p] = lc[l] : (f.push(l), Dc.hasOwnProperty(l) || (Dc[l] = []), Dc[l].push(() => {
1429
+ e[p] = lc[l];
1423
1430
  ++g;
1424
1431
  g === f.length && d(e);
1425
1432
  }));
1426
1433
  });
1427
1434
  0 === f.length && d(e);
1428
1435
  }
1429
- function Ec(a) {
1436
+ function Fc(a) {
1430
1437
  switch(a) {
1431
1438
  case 1:
1432
1439
  return 0;
@@ -1440,72 +1447,72 @@ function Ec(a) {
1440
1447
  throw new TypeError(`Unknown type size: ${a}`);
1441
1448
  }
1442
1449
  }
1443
- function Fc(a, b, c = {}) {
1450
+ function Gc(a, b, c = {}) {
1444
1451
  var d = b.name;
1445
- a || Q(`type "${d}" must have a positive integer typeid pointer`);
1446
- if (kc.hasOwnProperty(a)) {
1447
- if (c.Tb) {
1452
+ a || R(`type "${d}" must have a positive integer typeid pointer`);
1453
+ if (lc.hasOwnProperty(a)) {
1454
+ if (c.Ub) {
1448
1455
  return;
1449
1456
  }
1450
- Q(`Cannot register type '${d}' twice`);
1457
+ R(`Cannot register type '${d}' twice`);
1451
1458
  }
1452
- kc[a] = b;
1453
- delete Dc[a];
1454
- Cc.hasOwnProperty(a) && (b = Cc[a], delete Cc[a], b.forEach(e => e()));
1459
+ lc[a] = b;
1460
+ delete Ec[a];
1461
+ Dc.hasOwnProperty(a) && (b = Dc[a], delete Dc[a], b.forEach(e => e()));
1455
1462
  }
1456
- function U(a, b, c = {}) {
1463
+ function V(a, b, c = {}) {
1457
1464
  if (!("argPackAdvance" in b)) {
1458
1465
  throw new TypeError("registerType registeredInstance requires argPackAdvance");
1459
1466
  }
1460
- Fc(a, b, c);
1467
+ Gc(a, b, c);
1461
1468
  }
1462
- function Gc(a) {
1463
- Q(a.g.u.i.name + " instance already deleted");
1469
+ function Hc(a) {
1470
+ R(a.g.u.i.name + " instance already deleted");
1464
1471
  }
1465
- function Hc() {
1472
+ function Ic() {
1466
1473
  }
1467
- function Ic(a, b, c) {
1474
+ function Jc(a, b, c) {
1468
1475
  if (void 0 === a[b].B) {
1469
1476
  var d = a[b];
1470
1477
  a[b] = function() {
1471
- a[b].B.hasOwnProperty(arguments.length) || Q(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[b].B})!`);
1478
+ a[b].B.hasOwnProperty(arguments.length) || R(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[b].B})!`);
1472
1479
  return a[b].B[arguments.length].apply(this, arguments);
1473
1480
  };
1474
1481
  a[b].B = [];
1475
1482
  a[b].B[d.ga] = d;
1476
1483
  }
1477
1484
  }
1478
- function Jc(a, b, c) {
1479
- m.hasOwnProperty(a) ? ((void 0 === c || void 0 !== m[a].B && void 0 !== m[a].B[c]) && Q(`Cannot register public name '${a}' twice`), Ic(m, a, a), m.hasOwnProperty(c) && Q(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`), m[a].B[c] = b) : (m[a] = b, void 0 !== c && (m[a].Lc = c));
1485
+ function Kc(a, b, c) {
1486
+ k.hasOwnProperty(a) ? ((void 0 === c || void 0 !== k[a].B && void 0 !== k[a].B[c]) && R(`Cannot register public name '${a}' twice`), Jc(k, a, a), k.hasOwnProperty(c) && R(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`), k[a].B[c] = b) : (k[a] = b, void 0 !== c && (k[a].Mc = c));
1480
1487
  }
1481
- function Kc(a, b, c, d, e, f, g, n) {
1488
+ function Lc(a, b, c, d, e, f, g, l) {
1482
1489
  this.name = a;
1483
1490
  this.constructor = b;
1484
1491
  this.N = c;
1485
1492
  this.W = d;
1486
1493
  this.A = e;
1487
- this.Nb = f;
1494
+ this.Ob = f;
1488
1495
  this.pa = g;
1489
- this.Ib = n;
1496
+ this.Jb = l;
1490
1497
  this.mb = [];
1491
1498
  }
1492
- function Lc(a, b, c) {
1499
+ function Mc(a, b, c) {
1493
1500
  for (; b !== c;) {
1494
- b.pa || Q(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.pa(a), b = b.A;
1501
+ b.pa || R(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.pa(a), b = b.A;
1495
1502
  }
1496
1503
  return a;
1497
1504
  }
1498
- function Mc(a, b) {
1505
+ function Nc(a, b) {
1499
1506
  if (null === b) {
1500
- return this.Pa && Q(`null is not a valid ${this.name}`), 0;
1507
+ return this.Pa && R(`null is not a valid ${this.name}`), 0;
1501
1508
  }
1502
- b.g || Q(`Cannot pass "${Nc(b)}" as a ${this.name}`);
1503
- b.g.o || Q(`Cannot pass deleted object as a pointer of type ${this.name}`);
1504
- return Lc(b.g.o, b.g.u.i, this.i);
1509
+ b.g || R(`Cannot pass "${Oc(b)}" as a ${this.name}`);
1510
+ b.g.o || R(`Cannot pass deleted object as a pointer of type ${this.name}`);
1511
+ return Mc(b.g.o, b.g.u.i, this.i);
1505
1512
  }
1506
- function Oc(a, b) {
1513
+ function Pc(a, b) {
1507
1514
  if (null === b) {
1508
- this.Pa && Q(`null is not a valid ${this.name}`);
1515
+ this.Pa && R(`null is not a valid ${this.name}`);
1509
1516
  if (this.ya) {
1510
1517
  var c = this.Ra();
1511
1518
  null !== a && a.push(this.W, c);
@@ -1513,14 +1520,14 @@ function Oc(a, b) {
1513
1520
  }
1514
1521
  return 0;
1515
1522
  }
1516
- b.g || Q(`Cannot pass "${Nc(b)}" as a ${this.name}`);
1517
- b.g.o || Q(`Cannot pass deleted object as a pointer of type ${this.name}`);
1518
- !this.xa && b.g.u.xa && Q(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1519
- c = Lc(b.g.o, b.g.u.i, this.i);
1523
+ b.g || R(`Cannot pass "${Oc(b)}" as a ${this.name}`);
1524
+ b.g.o || R(`Cannot pass deleted object as a pointer of type ${this.name}`);
1525
+ !this.xa && b.g.u.xa && R(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1526
+ c = Mc(b.g.o, b.g.u.i, this.i);
1520
1527
  if (this.ya) {
1521
- switch(void 0 === b.g.H && Q("Passing raw pointer to smart pointer is illegal"), this.ic) {
1528
+ switch(void 0 === b.g.H && R("Passing raw pointer to smart pointer is illegal"), this.jc) {
1522
1529
  case 0:
1523
- b.g.L === this ? c = b.g.H : Q(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1530
+ b.g.L === this ? c = b.g.H : R(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1524
1531
  break;
1525
1532
  case 1:
1526
1533
  c = b.g.H;
@@ -1530,133 +1537,133 @@ function Oc(a, b) {
1530
1537
  c = b.g.H;
1531
1538
  } else {
1532
1539
  var d = b.clone();
1533
- c = this.cc(c, bc(function() {
1540
+ c = this.dc(c, cc(function() {
1534
1541
  d["delete"]();
1535
1542
  }));
1536
1543
  null !== a && a.push(this.W, c);
1537
1544
  }
1538
1545
  break;
1539
1546
  default:
1540
- Q("Unsupporting sharing policy");
1547
+ R("Unsupporting sharing policy");
1541
1548
  }
1542
1549
  }
1543
1550
  return c;
1544
1551
  }
1545
- function Pc(a, b) {
1552
+ function Qc(a, b) {
1546
1553
  if (null === b) {
1547
- return this.Pa && Q(`null is not a valid ${this.name}`), 0;
1554
+ return this.Pa && R(`null is not a valid ${this.name}`), 0;
1548
1555
  }
1549
- b.g || Q(`Cannot pass "${Nc(b)}" as a ${this.name}`);
1550
- b.g.o || Q(`Cannot pass deleted object as a pointer of type ${this.name}`);
1551
- b.g.u.xa && Q(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
1552
- return Lc(b.g.o, b.g.u.i, this.i);
1556
+ b.g || R(`Cannot pass "${Oc(b)}" as a ${this.name}`);
1557
+ b.g.o || R(`Cannot pass deleted object as a pointer of type ${this.name}`);
1558
+ b.g.u.xa && R(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
1559
+ return Mc(b.g.o, b.g.u.i, this.i);
1553
1560
  }
1554
- function Qc(a, b, c, d) {
1561
+ function Rc(a, b, c, d) {
1555
1562
  this.name = a;
1556
1563
  this.i = b;
1557
1564
  this.Pa = c;
1558
1565
  this.xa = d;
1559
1566
  this.ya = !1;
1560
- this.W = this.cc = this.Ra = this.ob = this.ic = this.bc = void 0;
1561
- void 0 !== b.A ? this.toWireType = Oc : (this.toWireType = d ? Mc : Pc, this.K = null);
1567
+ this.W = this.dc = this.Ra = this.ob = this.jc = this.cc = void 0;
1568
+ void 0 !== b.A ? this.toWireType = Pc : (this.toWireType = d ? Nc : Qc, this.K = null);
1562
1569
  }
1563
- function Rc(a, b, c) {
1564
- m.hasOwnProperty(a) || wc("Replacing nonexistant public symbol");
1565
- void 0 !== m[a].B && void 0 !== c ? m[a].B[c] = b : (m[a] = b, m[a].ga = c);
1570
+ function Sc(a, b, c) {
1571
+ k.hasOwnProperty(a) || xc("Replacing nonexistant public symbol");
1572
+ void 0 !== k[a].B && void 0 !== c ? k[a].B[c] = b : (k[a] = b, k[a].ga = c);
1566
1573
  }
1567
- var Sc = [], Tc = a => {
1568
- var b = Sc[a];
1569
- b || (a >= Sc.length && (Sc.length = a + 1), Sc[a] = b = za.get(a));
1574
+ var Tc = [], Uc = a => {
1575
+ var b = Tc[a];
1576
+ b || (a >= Tc.length && (Tc.length = a + 1), Tc[a] = b = Aa.get(a));
1570
1577
  return b;
1571
- }, Uc = (a, b) => {
1578
+ }, Vc = (a, b) => {
1572
1579
  var c = [];
1573
1580
  return function() {
1574
1581
  c.length = 0;
1575
1582
  Object.assign(c, arguments);
1576
1583
  if (a.includes("j")) {
1577
- var d = m["dynCall_" + a];
1584
+ var d = k["dynCall_" + a];
1578
1585
  d = c && c.length ? d.apply(null, [b].concat(c)) : d.call(null, b);
1579
1586
  } else {
1580
- d = Tc(b).apply(null, c);
1587
+ d = Uc(b).apply(null, c);
1581
1588
  }
1582
1589
  return d;
1583
1590
  };
1584
1591
  };
1585
- function V(a, b) {
1586
- a = S(a);
1587
- var c = a.includes("j") ? Uc(a, b) : Tc(b);
1588
- "function" != typeof c && Q(`unknown function pointer with signature ${a}: ${b}`);
1592
+ function W(a, b) {
1593
+ a = T(a);
1594
+ var c = a.includes("j") ? Vc(a, b) : Uc(b);
1595
+ "function" != typeof c && R(`unknown function pointer with signature ${a}: ${b}`);
1589
1596
  return c;
1590
1597
  }
1591
- var Vc = void 0;
1592
- function Wc(a, b) {
1598
+ var Wc = void 0;
1599
+ function Xc(a, b) {
1593
1600
  function c(f) {
1594
- e[f] || kc[f] || (Dc[f] ? Dc[f].forEach(c) : (d.push(f), e[f] = !0));
1601
+ e[f] || lc[f] || (Ec[f] ? Ec[f].forEach(c) : (d.push(f), e[f] = !0));
1595
1602
  }
1596
1603
  var d = [], e = {};
1597
1604
  b.forEach(c);
1598
- throw new Vc(`${a}: ` + d.map(lc).join([", "]));
1605
+ throw new Wc(`${a}: ` + d.map(mc).join([", "]));
1599
1606
  }
1600
- function Xc(a, b, c, d, e) {
1607
+ function Yc(a, b, c, d, e) {
1601
1608
  var f = b.length;
1602
- 2 > f && Q("argTypes array size mismatch! Must at least get return value and 'this' types!");
1603
- var g = null !== b[1] && null !== c, n = !1;
1609
+ 2 > f && R("argTypes array size mismatch! Must at least get return value and 'this' types!");
1610
+ var g = null !== b[1] && null !== c, l = !1;
1604
1611
  for (c = 1; c < b.length; ++c) {
1605
1612
  if (null !== b[c] && void 0 === b[c].K) {
1606
- n = !0;
1613
+ l = !0;
1607
1614
  break;
1608
1615
  }
1609
1616
  }
1610
- var p = "void" !== b[0].name, l = f - 2, t = Array(l), u = [], x = [];
1617
+ var p = "void" !== b[0].name, m = f - 2, t = Array(m), v = [], x = [];
1611
1618
  return function() {
1612
- arguments.length !== l && Q(`function ${a} called with ${arguments.length} arguments, expected ${l} args!`);
1619
+ arguments.length !== m && R(`function ${a} called with ${arguments.length} arguments, expected ${m} args!`);
1613
1620
  x.length = 0;
1614
- u.length = g ? 2 : 1;
1615
- u[0] = e;
1621
+ v.length = g ? 2 : 1;
1622
+ v[0] = e;
1616
1623
  if (g) {
1617
- var k = b[1].toWireType(x, this);
1618
- u[1] = k;
1624
+ var n = b[1].toWireType(x, this);
1625
+ v[1] = n;
1619
1626
  }
1620
- for (var q = 0; q < l; ++q) {
1621
- t[q] = b[q + 2].toWireType(x, arguments[q]), u.push(t[q]);
1627
+ for (var q = 0; q < m; ++q) {
1628
+ t[q] = b[q + 2].toWireType(x, arguments[q]), v.push(t[q]);
1622
1629
  }
1623
- q = d.apply(null, u);
1624
- if (n) {
1625
- Ac(x);
1630
+ q = d.apply(null, v);
1631
+ if (l) {
1632
+ Bc(x);
1626
1633
  } else {
1627
- for (var v = g ? 1 : 2; v < b.length; v++) {
1628
- var y = 1 === v ? k : t[v - 2];
1629
- null !== b[v].K && b[v].K(y);
1634
+ for (var u = g ? 1 : 2; u < b.length; u++) {
1635
+ var y = 1 === u ? n : t[u - 2];
1636
+ null !== b[u].K && b[u].K(y);
1630
1637
  }
1631
1638
  }
1632
- k = p ? b[0].fromWireType(q) : void 0;
1633
- return k;
1639
+ n = p ? b[0].fromWireType(q) : void 0;
1640
+ return n;
1634
1641
  };
1635
1642
  }
1636
- function Yc(a, b) {
1643
+ function Zc(a, b) {
1637
1644
  for (var c = [], d = 0; d < a; d++) {
1638
1645
  c.push(K[b + 4 * d >> 2]);
1639
1646
  }
1640
1647
  return c;
1641
1648
  }
1642
- function Zc(a, b, c) {
1643
- a instanceof Object || Q(`${c} with invalid "this": ${a}`);
1644
- a instanceof b.i.constructor || Q(`${c} incompatible with "this" of type ${a.constructor.name}`);
1645
- a.g.o || Q(`cannot call emscripten binding method ${c} on deleted object`);
1646
- return Lc(a.g.o, a.g.u.i, b.i);
1649
+ function $c(a, b, c) {
1650
+ a instanceof Object || R(`${c} with invalid "this": ${a}`);
1651
+ a instanceof b.i.constructor || R(`${c} incompatible with "this" of type ${a.constructor.name}`);
1652
+ a.g.o || R(`cannot call emscripten binding method ${c} on deleted object`);
1653
+ return Mc(a.g.o, a.g.u.i, b.i);
1647
1654
  }
1648
- function $c(a) {
1649
- a >= P.h && 0 === --P.get(a).qb && P.Sb(a);
1655
+ function ad(a) {
1656
+ a >= Q.h && 0 === --Q.get(a).qb && Q.Tb(a);
1650
1657
  }
1651
- function ad(a, b, c) {
1658
+ function bd(a, b, c) {
1652
1659
  switch(b) {
1653
1660
  case 0:
1654
1661
  return function(d) {
1655
- return this.fromWireType((c ? D : G)[d]);
1662
+ return this.fromWireType((c ? D : F)[d]);
1656
1663
  };
1657
1664
  case 1:
1658
1665
  return function(d) {
1659
- return this.fromWireType((c ? I : va)[d >> 1]);
1666
+ return this.fromWireType((c ? H : wa)[d >> 1]);
1660
1667
  };
1661
1668
  case 2:
1662
1669
  return function(d) {
@@ -1666,40 +1673,40 @@ function ad(a, b, c) {
1666
1673
  throw new TypeError("Unknown integer type: " + a);
1667
1674
  }
1668
1675
  }
1669
- function Nc(a) {
1676
+ function Oc(a) {
1670
1677
  if (null === a) {
1671
1678
  return "null";
1672
1679
  }
1673
1680
  var b = typeof a;
1674
1681
  return "object" === b || "array" === b || "function" === b ? a.toString() : "" + a;
1675
1682
  }
1676
- function bd(a, b) {
1683
+ function cd(a, b) {
1677
1684
  switch(b) {
1678
1685
  case 2:
1679
1686
  return function(c) {
1680
- return this.fromWireType(wa[c >> 2]);
1687
+ return this.fromWireType(xa[c >> 2]);
1681
1688
  };
1682
1689
  case 3:
1683
1690
  return function(c) {
1684
- return this.fromWireType(xa[c >> 3]);
1691
+ return this.fromWireType(ya[c >> 3]);
1685
1692
  };
1686
1693
  default:
1687
1694
  throw new TypeError("Unknown float type: " + a);
1688
1695
  }
1689
1696
  }
1690
- function cd(a, b, c) {
1697
+ function dd(a, b, c) {
1691
1698
  switch(b) {
1692
1699
  case 0:
1693
1700
  return c ? function(d) {
1694
1701
  return D[d];
1695
1702
  } : function(d) {
1696
- return G[d];
1703
+ return F[d];
1697
1704
  };
1698
1705
  case 1:
1699
1706
  return c ? function(d) {
1700
- return I[d >> 1];
1707
+ return H[d >> 1];
1701
1708
  } : function(d) {
1702
- return va[d >> 1];
1709
+ return wa[d >> 1];
1703
1710
  };
1704
1711
  case 2:
1705
1712
  return c ? function(d) {
@@ -1711,25 +1718,25 @@ function cd(a, b, c) {
1711
1718
  throw new TypeError("Unknown integer type: " + a);
1712
1719
  }
1713
1720
  }
1714
- var dd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void 0, ed = (a, b) => {
1721
+ var ed = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void 0, fd = (a, b) => {
1715
1722
  var c = a >> 1;
1716
- for (var d = c + b / 2; !(c >= d) && va[c];) {
1723
+ for (var d = c + b / 2; !(c >= d) && wa[c];) {
1717
1724
  ++c;
1718
1725
  }
1719
1726
  c <<= 1;
1720
- if (32 < c - a && dd) {
1721
- return dd.decode(G.subarray(a, c));
1727
+ if (32 < c - a && ed) {
1728
+ return ed.decode(F.subarray(a, c));
1722
1729
  }
1723
1730
  c = "";
1724
1731
  for (d = 0; !(d >= b / 2); ++d) {
1725
- var e = I[a + 2 * d >> 1];
1732
+ var e = H[a + 2 * d >> 1];
1726
1733
  if (0 == e) {
1727
1734
  break;
1728
1735
  }
1729
1736
  c += String.fromCharCode(e);
1730
1737
  }
1731
1738
  return c;
1732
- }, fd = (a, b, c) => {
1739
+ }, gd = (a, b, c) => {
1733
1740
  void 0 === c && (c = 2147483647);
1734
1741
  if (2 > c) {
1735
1742
  return 0;
@@ -1738,11 +1745,11 @@ var dd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1738
1745
  var d = b;
1739
1746
  c = c < 2 * a.length ? c / 2 : a.length;
1740
1747
  for (var e = 0; e < c; ++e) {
1741
- I[b >> 1] = a.charCodeAt(e), b += 2;
1748
+ H[b >> 1] = a.charCodeAt(e), b += 2;
1742
1749
  }
1743
- I[b >> 1] = 0;
1750
+ H[b >> 1] = 0;
1744
1751
  return b - d;
1745
- }, gd = a => 2 * a.length, hd = (a, b) => {
1752
+ }, hd = a => 2 * a.length, jd = (a, b) => {
1746
1753
  for (var c = 0, d = ""; !(c >= b / 4);) {
1747
1754
  var e = J[a + 4 * c >> 2];
1748
1755
  if (0 == e) {
@@ -1752,7 +1759,7 @@ var dd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1752
1759
  65536 <= e ? (e -= 65536, d += String.fromCharCode(55296 | e >> 10, 56320 | e & 1023)) : d += String.fromCharCode(e);
1753
1760
  }
1754
1761
  return d;
1755
- }, jd = (a, b, c) => {
1762
+ }, kd = (a, b, c) => {
1756
1763
  void 0 === c && (c = 2147483647);
1757
1764
  if (4 > c) {
1758
1765
  return 0;
@@ -1773,102 +1780,102 @@ var dd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1773
1780
  }
1774
1781
  J[b >> 2] = 0;
1775
1782
  return b - d;
1776
- }, kd = a => {
1783
+ }, ld = a => {
1777
1784
  for (var b = 0, c = 0; c < a.length; ++c) {
1778
1785
  var d = a.charCodeAt(c);
1779
1786
  55296 <= d && 57343 >= d && ++c;
1780
1787
  b += 4;
1781
1788
  }
1782
1789
  return b;
1783
- }, ld = {};
1784
- function md(a) {
1785
- var b = ld[a];
1786
- return void 0 === b ? S(a) : b;
1787
- }
1788
- var nd = [];
1789
- function od(a) {
1790
- var b = nd.length;
1791
- nd.push(a);
1790
+ }, md = {};
1791
+ function nd(a) {
1792
+ var b = md[a];
1793
+ return void 0 === b ? T(a) : b;
1794
+ }
1795
+ var od = [];
1796
+ function pd(a) {
1797
+ var b = od.length;
1798
+ od.push(a);
1792
1799
  return b;
1793
1800
  }
1794
- function pd(a, b) {
1801
+ function qd(a, b) {
1795
1802
  for (var c = Array(a), d = 0; d < a; ++d) {
1796
- c[d] = oc(K[b + 4 * d >> 2], "parameter " + d);
1803
+ c[d] = pc(K[b + 4 * d >> 2], "parameter " + d);
1797
1804
  }
1798
1805
  return c;
1799
1806
  }
1800
- var qd = [], rd = [];
1801
- function sd(a) {
1802
- a.zc = a.getExtension("WEBGL_draw_instanced_base_vertex_base_instance");
1803
- }
1807
+ var rd = [], sd = [];
1804
1808
  function td(a) {
1805
- a.Hc = a.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance");
1809
+ a.Ac = a.getExtension("WEBGL_draw_instanced_base_vertex_base_instance");
1810
+ }
1811
+ function ud(a) {
1812
+ a.Ic = a.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance");
1806
1813
  }
1807
- var ud = 1, vd = [], W = [], wd = [], xd = [], yd = [], zd = [], Ad = [], w = [], Bd = {};
1808
- function X(a) {
1809
- Cd || (Cd = a);
1814
+ var vd = 1, wd = [], X = [], xd = [], yd = [], zd = [], Ad = [], Bd = [], w = [], Cd = {};
1815
+ function Y(a) {
1816
+ Dd || (Dd = a);
1810
1817
  }
1811
- function Dd(a) {
1812
- for (var b = ud++, c = a.length; c < b; c++) {
1818
+ function Ed(a) {
1819
+ for (var b = vd++, c = a.length; c < b; c++) {
1813
1820
  a[c] = null;
1814
1821
  }
1815
1822
  return b;
1816
1823
  }
1817
- function ha(a, b) {
1818
- var c = Dd(w), d = {handle:c, attributes:b, version:b.Dc, D:a};
1824
+ function ia(a, b) {
1825
+ var c = Ed(w), d = {handle:c, attributes:b, version:b.Ec, D:a};
1819
1826
  a.canvas && (a.canvas.zb = d);
1820
1827
  w[c] = d;
1821
- ("undefined" == typeof b.Jb || b.Jb) && Ed(d);
1828
+ ("undefined" == typeof b.Kb || b.Kb) && Fd(d);
1822
1829
  return c;
1823
1830
  }
1824
- function ia(a) {
1831
+ function ja(a) {
1825
1832
  r = w[a];
1826
- m.xc = Y = r && r.D;
1827
- return !(a && !Y);
1833
+ k.yc = Z = r && r.D;
1834
+ return !(a && !Z);
1828
1835
  }
1829
- function Ed(a) {
1836
+ function Fd(a) {
1830
1837
  a || (a = r);
1831
- if (!a.Ub) {
1832
- a.Ub = !0;
1838
+ if (!a.Vb) {
1839
+ a.Vb = !0;
1833
1840
  var b = a.D;
1834
- sd(b);
1835
1841
  td(b);
1842
+ ud(b);
1836
1843
  2 <= a.version && (b.$a = b.getExtension("EXT_disjoint_timer_query_webgl2"));
1837
1844
  if (2 > a.version || !b.$a) {
1838
1845
  b.$a = b.getExtension("EXT_disjoint_timer_query");
1839
1846
  }
1840
- Fd(b);
1847
+ Gd(b);
1841
1848
  (b.getSupportedExtensions() || []).forEach(function(c) {
1842
1849
  c.includes("lose_context") || c.includes("debug") || b.getExtension(c);
1843
1850
  });
1844
1851
  }
1845
1852
  }
1846
- var Cd, r;
1847
- function Fd(a) {
1848
- a.Jc = a.getExtension("WEBGL_multi_draw");
1853
+ var Dd, r;
1854
+ function Gd(a) {
1855
+ a.Kc = a.getExtension("WEBGL_multi_draw");
1849
1856
  }
1850
- var Gd = {}, Id = () => {
1851
- if (!Hd) {
1852
- var a = {USER:"web_user", LOGNAME:"web_user", PATH:"/", PWD:"/", HOME:"/home/web_user", LANG:("object" == typeof navigator && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", _:ka || "./this.program"}, b;
1853
- for (b in Gd) {
1854
- void 0 === Gd[b] ? delete a[b] : a[b] = Gd[b];
1857
+ var Hd = {}, Jd = () => {
1858
+ if (!Id) {
1859
+ var a = {USER:"web_user", LOGNAME:"web_user", PATH:"/", PWD:"/", HOME:"/home/web_user", LANG:("object" == typeof navigator && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", _:la || "./this.program"}, b;
1860
+ for (b in Hd) {
1861
+ void 0 === Hd[b] ? delete a[b] : a[b] = Hd[b];
1855
1862
  }
1856
1863
  var c = [];
1857
1864
  for (b in a) {
1858
1865
  c.push(`${b}=${a[b]}`);
1859
1866
  }
1860
- Hd = c;
1867
+ Id = c;
1861
1868
  }
1862
- return Hd;
1863
- }, Hd, Jd = [];
1864
- function Kd(a, b, c, d) {
1869
+ return Id;
1870
+ }, Id, Kd = [];
1871
+ function Ld(a, b, c, d) {
1865
1872
  for (var e = 0; e < a; e++) {
1866
- var f = Y[c](), g = f && Dd(d);
1867
- f ? (f.name = g, d[g] = f) : X(1282);
1873
+ var f = Z[c](), g = f && Ed(d);
1874
+ f ? (f.name = g, d[g] = f) : Y(1282);
1868
1875
  J[b + 4 * e >> 2] = g;
1869
1876
  }
1870
1877
  }
1871
- function Ld(a, b) {
1878
+ function Md(a, b) {
1872
1879
  if (b) {
1873
1880
  var c = void 0;
1874
1881
  switch(a) {
@@ -1882,26 +1889,26 @@ function Ld(a, b) {
1882
1889
  c = 0;
1883
1890
  break;
1884
1891
  case 34466:
1885
- var d = Y.getParameter(34467);
1892
+ var d = Z.getParameter(34467);
1886
1893
  c = d ? d.length : 0;
1887
1894
  break;
1888
1895
  case 33309:
1889
1896
  if (2 > r.version) {
1890
- X(1282);
1897
+ Y(1282);
1891
1898
  return;
1892
1899
  }
1893
- c = 2 * (Y.getSupportedExtensions() || []).length;
1900
+ c = 2 * (Z.getSupportedExtensions() || []).length;
1894
1901
  break;
1895
1902
  case 33307:
1896
1903
  case 33308:
1897
1904
  if (2 > r.version) {
1898
- X(1280);
1905
+ Y(1280);
1899
1906
  return;
1900
1907
  }
1901
1908
  c = 33307 == a ? 3 : 0;
1902
1909
  }
1903
1910
  if (void 0 === c) {
1904
- switch(d = Y.getParameter(a), typeof d) {
1911
+ switch(d = Z.getParameter(a), typeof d) {
1905
1912
  case "number":
1906
1913
  c = d;
1907
1914
  break;
@@ -1909,7 +1916,7 @@ function Ld(a, b) {
1909
1916
  c = d ? 1 : 0;
1910
1917
  break;
1911
1918
  case "string":
1912
- X(1280);
1919
+ Y(1280);
1913
1920
  return;
1914
1921
  case "object":
1915
1922
  if (null === d) {
@@ -1936,7 +1943,7 @@ function Ld(a, b) {
1936
1943
  c = 0;
1937
1944
  break;
1938
1945
  default:
1939
- X(1280);
1946
+ Y(1280);
1940
1947
  return;
1941
1948
  }
1942
1949
  } else {
@@ -1949,141 +1956,141 @@ function Ld(a, b) {
1949
1956
  try {
1950
1957
  c = d.name | 0;
1951
1958
  } catch (e) {
1952
- X(1280);
1953
- qa("GL_INVALID_ENUM in glGet0v: Unknown object returned from WebGL getParameter(" + a + ")! (error: " + e + ")");
1959
+ Y(1280);
1960
+ ra("GL_INVALID_ENUM in glGet0v: Unknown object returned from WebGL getParameter(" + a + ")! (error: " + e + ")");
1954
1961
  return;
1955
1962
  }
1956
1963
  }
1957
1964
  break;
1958
1965
  default:
1959
- X(1280);
1960
- qa("GL_INVALID_ENUM in glGet0v: Native code calling glGet0v(" + a + ") and it returns " + d + " of type " + typeof d + "!");
1966
+ Y(1280);
1967
+ ra("GL_INVALID_ENUM in glGet0v: Native code calling glGet0v(" + a + ") and it returns " + d + " of type " + typeof d + "!");
1961
1968
  return;
1962
1969
  }
1963
1970
  }
1964
1971
  J[b >> 2] = c;
1965
1972
  } else {
1966
- X(1281);
1973
+ Y(1281);
1967
1974
  }
1968
1975
  }
1969
- var Nd = a => {
1970
- var b = db(a) + 1, c = Md(b);
1971
- c && eb(a, G, c, b);
1976
+ var Od = a => {
1977
+ var b = eb(a) + 1, c = Nd(b);
1978
+ c && fb(a, F, c, b);
1972
1979
  return c;
1973
1980
  };
1974
- function Od(a) {
1981
+ function Pd(a) {
1975
1982
  return "]" == a.slice(-1) && a.lastIndexOf("[");
1976
1983
  }
1977
- var Pd = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), Qd = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Rd = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Sd = (a, b, c, d) => {
1978
- function e(k, q, v) {
1979
- for (k = "number" == typeof k ? k.toString() : k || ""; k.length < q;) {
1980
- k = v[0] + k;
1984
+ var Qd = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), Rd = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Sd = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Td = (a, b, c, d) => {
1985
+ function e(n, q, u) {
1986
+ for (n = "number" == typeof n ? n.toString() : n || ""; n.length < q;) {
1987
+ n = u[0] + n;
1981
1988
  }
1982
- return k;
1989
+ return n;
1983
1990
  }
1984
- function f(k, q) {
1985
- return e(k, q, "0");
1991
+ function f(n, q) {
1992
+ return e(n, q, "0");
1986
1993
  }
1987
- function g(k, q) {
1988
- function v(C) {
1989
- return 0 > C ? -1 : 0 < C ? 1 : 0;
1994
+ function g(n, q) {
1995
+ function u(z) {
1996
+ return 0 > z ? -1 : 0 < z ? 1 : 0;
1990
1997
  }
1991
1998
  var y;
1992
- 0 === (y = v(k.getFullYear() - q.getFullYear())) && 0 === (y = v(k.getMonth() - q.getMonth())) && (y = v(k.getDate() - q.getDate()));
1999
+ 0 === (y = u(n.getFullYear() - q.getFullYear())) && 0 === (y = u(n.getMonth() - q.getMonth())) && (y = u(n.getDate() - q.getDate()));
1993
2000
  return y;
1994
2001
  }
1995
- function n(k) {
1996
- switch(k.getDay()) {
2002
+ function l(n) {
2003
+ switch(n.getDay()) {
1997
2004
  case 0:
1998
- return new Date(k.getFullYear() - 1, 11, 29);
2005
+ return new Date(n.getFullYear() - 1, 11, 29);
1999
2006
  case 1:
2000
- return k;
2007
+ return n;
2001
2008
  case 2:
2002
- return new Date(k.getFullYear(), 0, 3);
2009
+ return new Date(n.getFullYear(), 0, 3);
2003
2010
  case 3:
2004
- return new Date(k.getFullYear(), 0, 2);
2011
+ return new Date(n.getFullYear(), 0, 2);
2005
2012
  case 4:
2006
- return new Date(k.getFullYear(), 0, 1);
2013
+ return new Date(n.getFullYear(), 0, 1);
2007
2014
  case 5:
2008
- return new Date(k.getFullYear() - 1, 11, 31);
2015
+ return new Date(n.getFullYear() - 1, 11, 31);
2009
2016
  case 6:
2010
- return new Date(k.getFullYear() - 1, 11, 30);
2017
+ return new Date(n.getFullYear() - 1, 11, 30);
2011
2018
  }
2012
2019
  }
2013
- function p(k) {
2014
- var q = k.ca;
2015
- for (k = new Date((new Date(k.da + 1900, 0, 1)).getTime()); 0 < q;) {
2016
- var v = k.getMonth(), y = (Pd(k.getFullYear()) ? Qd : Rd)[v];
2017
- if (q > y - k.getDate()) {
2018
- q -= y - k.getDate() + 1, k.setDate(1), 11 > v ? k.setMonth(v + 1) : (k.setMonth(0), k.setFullYear(k.getFullYear() + 1));
2020
+ function p(n) {
2021
+ var q = n.ca;
2022
+ for (n = new Date((new Date(n.da + 1900, 0, 1)).getTime()); 0 < q;) {
2023
+ var u = n.getMonth(), y = (Qd(n.getFullYear()) ? Rd : Sd)[u];
2024
+ if (q > y - n.getDate()) {
2025
+ q -= y - n.getDate() + 1, n.setDate(1), 11 > u ? n.setMonth(u + 1) : (n.setMonth(0), n.setFullYear(n.getFullYear() + 1));
2019
2026
  } else {
2020
- k.setDate(k.getDate() + q);
2027
+ n.setDate(n.getDate() + q);
2021
2028
  break;
2022
2029
  }
2023
2030
  }
2024
- v = new Date(k.getFullYear() + 1, 0, 4);
2025
- q = n(new Date(k.getFullYear(), 0, 4));
2026
- v = n(v);
2027
- return 0 >= g(q, k) ? 0 >= g(v, k) ? k.getFullYear() + 1 : k.getFullYear() : k.getFullYear() - 1;
2028
- }
2029
- var l = J[d + 40 >> 2];
2030
- d = {lc:J[d >> 2], kc:J[d + 4 >> 2], Ga:J[d + 8 >> 2], Ta:J[d + 12 >> 2], Ha:J[d + 16 >> 2], da:J[d + 20 >> 2], R:J[d + 24 >> 2], ca:J[d + 28 >> 2], Oc:J[d + 32 >> 2], jc:J[d + 36 >> 2], mc:l ? l ? L(G, l) : "" : ""};
2031
- c = c ? L(G, c) : "";
2032
- l = {"%c":"%a %b %d %H:%M:%S %Y", "%D":"%m/%d/%y", "%F":"%Y-%m-%d", "%h":"%b", "%r":"%I:%M:%S %p", "%R":"%H:%M", "%T":"%H:%M:%S", "%x":"%m/%d/%y", "%X":"%H:%M:%S", "%Ec":"%c", "%EC":"%C", "%Ex":"%m/%d/%y", "%EX":"%H:%M:%S", "%Ey":"%y", "%EY":"%Y", "%Od":"%d", "%Oe":"%e", "%OH":"%H", "%OI":"%I", "%Om":"%m", "%OM":"%M", "%OS":"%S", "%Ou":"%u", "%OU":"%U", "%OV":"%V", "%Ow":"%w", "%OW":"%W", "%Oy":"%y",};
2033
- for (var t in l) {
2034
- c = c.replace(new RegExp(t, "g"), l[t]);
2035
- }
2036
- var u = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), x = "January February March April May June July August September October November December".split(" ");
2037
- l = {"%a":k => u[k.R].substring(0, 3), "%A":k => u[k.R], "%b":k => x[k.Ha].substring(0, 3), "%B":k => x[k.Ha], "%C":k => f((k.da + 1900) / 100 | 0, 2), "%d":k => f(k.Ta, 2), "%e":k => e(k.Ta, 2, " "), "%g":k => p(k).toString().substring(2), "%G":k => p(k), "%H":k => f(k.Ga, 2), "%I":k => {
2038
- k = k.Ga;
2039
- 0 == k ? k = 12 : 12 < k && (k -= 12);
2040
- return f(k, 2);
2041
- }, "%j":k => {
2042
- for (var q = 0, v = 0; v <= k.Ha - 1; q += (Pd(k.da + 1900) ? Qd : Rd)[v++]) {
2043
- }
2044
- return f(k.Ta + q, 3);
2045
- }, "%m":k => f(k.Ha + 1, 2), "%M":k => f(k.kc, 2), "%n":() => "\n", "%p":k => 0 <= k.Ga && 12 > k.Ga ? "AM" : "PM", "%S":k => f(k.lc, 2), "%t":() => "\t", "%u":k => k.R || 7, "%U":k => f(Math.floor((k.ca + 7 - k.R) / 7), 2), "%V":k => {
2046
- var q = Math.floor((k.ca + 7 - (k.R + 6) % 7) / 7);
2047
- 2 >= (k.R + 371 - k.ca - 2) % 7 && q++;
2031
+ u = new Date(n.getFullYear() + 1, 0, 4);
2032
+ q = l(new Date(n.getFullYear(), 0, 4));
2033
+ u = l(u);
2034
+ return 0 >= g(q, n) ? 0 >= g(u, n) ? n.getFullYear() + 1 : n.getFullYear() : n.getFullYear() - 1;
2035
+ }
2036
+ var m = J[d + 40 >> 2];
2037
+ d = {mc:J[d >> 2], lc:J[d + 4 >> 2], Ga:J[d + 8 >> 2], Ta:J[d + 12 >> 2], Ha:J[d + 16 >> 2], da:J[d + 20 >> 2], R:J[d + 24 >> 2], ca:J[d + 28 >> 2], Pc:J[d + 32 >> 2], kc:J[d + 36 >> 2], nc:m ? m ? M(F, m) : "" : ""};
2038
+ c = c ? M(F, c) : "";
2039
+ m = {"%c":"%a %b %d %H:%M:%S %Y", "%D":"%m/%d/%y", "%F":"%Y-%m-%d", "%h":"%b", "%r":"%I:%M:%S %p", "%R":"%H:%M", "%T":"%H:%M:%S", "%x":"%m/%d/%y", "%X":"%H:%M:%S", "%Ec":"%c", "%EC":"%C", "%Ex":"%m/%d/%y", "%EX":"%H:%M:%S", "%Ey":"%y", "%EY":"%Y", "%Od":"%d", "%Oe":"%e", "%OH":"%H", "%OI":"%I", "%Om":"%m", "%OM":"%M", "%OS":"%S", "%Ou":"%u", "%OU":"%U", "%OV":"%V", "%Ow":"%w", "%OW":"%W", "%Oy":"%y",};
2040
+ for (var t in m) {
2041
+ c = c.replace(new RegExp(t, "g"), m[t]);
2042
+ }
2043
+ var v = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), x = "January February March April May June July August September October November December".split(" ");
2044
+ m = {"%a":n => v[n.R].substring(0, 3), "%A":n => v[n.R], "%b":n => x[n.Ha].substring(0, 3), "%B":n => x[n.Ha], "%C":n => f((n.da + 1900) / 100 | 0, 2), "%d":n => f(n.Ta, 2), "%e":n => e(n.Ta, 2, " "), "%g":n => p(n).toString().substring(2), "%G":n => p(n), "%H":n => f(n.Ga, 2), "%I":n => {
2045
+ n = n.Ga;
2046
+ 0 == n ? n = 12 : 12 < n && (n -= 12);
2047
+ return f(n, 2);
2048
+ }, "%j":n => {
2049
+ for (var q = 0, u = 0; u <= n.Ha - 1; q += (Qd(n.da + 1900) ? Rd : Sd)[u++]) {
2050
+ }
2051
+ return f(n.Ta + q, 3);
2052
+ }, "%m":n => f(n.Ha + 1, 2), "%M":n => f(n.lc, 2), "%n":() => "\n", "%p":n => 0 <= n.Ga && 12 > n.Ga ? "AM" : "PM", "%S":n => f(n.mc, 2), "%t":() => "\t", "%u":n => n.R || 7, "%U":n => f(Math.floor((n.ca + 7 - n.R) / 7), 2), "%V":n => {
2053
+ var q = Math.floor((n.ca + 7 - (n.R + 6) % 7) / 7);
2054
+ 2 >= (n.R + 371 - n.ca - 2) % 7 && q++;
2048
2055
  if (q) {
2049
- 53 == q && (v = (k.R + 371 - k.ca) % 7, 4 == v || 3 == v && Pd(k.da) || (q = 1));
2056
+ 53 == q && (u = (n.R + 371 - n.ca) % 7, 4 == u || 3 == u && Qd(n.da) || (q = 1));
2050
2057
  } else {
2051
2058
  q = 52;
2052
- var v = (k.R + 7 - k.ca - 1) % 7;
2053
- (4 == v || 5 == v && Pd(k.da % 400 - 1)) && q++;
2059
+ var u = (n.R + 7 - n.ca - 1) % 7;
2060
+ (4 == u || 5 == u && Qd(n.da % 400 - 1)) && q++;
2054
2061
  }
2055
2062
  return f(q, 2);
2056
- }, "%w":k => k.R, "%W":k => f(Math.floor((k.ca + 7 - (k.R + 6) % 7) / 7), 2), "%y":k => (k.da + 1900).toString().substring(2), "%Y":k => k.da + 1900, "%z":k => {
2057
- k = k.jc;
2058
- var q = 0 <= k;
2059
- k = Math.abs(k) / 60;
2060
- return (q ? "+" : "-") + String("0000" + (k / 60 * 100 + k % 60)).slice(-4);
2061
- }, "%Z":k => k.mc, "%%":() => "%"};
2063
+ }, "%w":n => n.R, "%W":n => f(Math.floor((n.ca + 7 - (n.R + 6) % 7) / 7), 2), "%y":n => (n.da + 1900).toString().substring(2), "%Y":n => n.da + 1900, "%z":n => {
2064
+ n = n.kc;
2065
+ var q = 0 <= n;
2066
+ n = Math.abs(n) / 60;
2067
+ return (q ? "+" : "-") + String("0000" + (n / 60 * 100 + n % 60)).slice(-4);
2068
+ }, "%Z":n => n.nc, "%%":() => "%"};
2062
2069
  c = c.replace(/%%/g, "\x00\x00");
2063
- for (t in l) {
2064
- c.includes(t) && (c = c.replace(new RegExp(t, "g"), l[t](d)));
2070
+ for (t in m) {
2071
+ c.includes(t) && (c = c.replace(new RegExp(t, "g"), m[t](d)));
2065
2072
  }
2066
2073
  c = c.replace(/\0\0/g, "%");
2067
- t = fb(c, !1);
2074
+ t = gb(c, !1);
2068
2075
  if (t.length > b) {
2069
2076
  return 0;
2070
2077
  }
2071
2078
  D.set(t, a);
2072
2079
  return t.length - 1;
2073
2080
  };
2074
- function Eb(a, b, c, d) {
2081
+ function Fb(a, b, c, d) {
2075
2082
  a || (a = this);
2076
2083
  this.parent = a;
2077
2084
  this.U = a.U;
2078
2085
  this.Aa = null;
2079
- this.id = wb++;
2086
+ this.id = xb++;
2080
2087
  this.name = b;
2081
2088
  this.mode = c;
2082
2089
  this.l = {};
2083
2090
  this.m = {};
2084
2091
  this.Ca = d;
2085
2092
  }
2086
- Object.defineProperties(Eb.prototype, {read:{get:function() {
2093
+ Object.defineProperties(Fb.prototype, {read:{get:function() {
2087
2094
  return 365 === (this.mode & 365);
2088
2095
  }, set:function(a) {
2089
2096
  a ? this.mode |= 365 : this.mode &= -366;
@@ -2092,44 +2099,44 @@ Object.defineProperties(Eb.prototype, {read:{get:function() {
2092
2099
  }, set:function(a) {
2093
2100
  a ? this.mode |= 146 : this.mode &= -147;
2094
2101
  }}});
2095
- Rb();
2096
- xb = Array(4096);
2097
- Lb(N, "/");
2098
- O("/tmp", 16895, 0);
2099
- O("/home", 16895, 0);
2100
- O("/home/web_user", 16895, 0);
2102
+ Sb();
2103
+ yb = Array(4096);
2104
+ Mb(O, "/");
2105
+ P("/tmp", 16895, 0);
2106
+ P("/home", 16895, 0);
2107
+ P("/home/web_user", 16895, 0);
2101
2108
  (() => {
2102
- O("/dev", 16895, 0);
2103
- ib(259, {read:() => 0, write:(d, e, f, g) => g,});
2104
- Mb("/dev/null", 259);
2105
- hb(1280, kb);
2106
- hb(1536, lb);
2107
- Mb("/dev/tty", 1280);
2108
- Mb("/dev/tty1", 1536);
2109
+ P("/dev", 16895, 0);
2110
+ jb(259, {read:() => 0, write:(d, e, f, g) => g,});
2111
+ Nb("/dev/null", 259);
2112
+ ib(1280, lb);
2113
+ ib(1536, mb);
2114
+ Nb("/dev/tty", 1280);
2115
+ Nb("/dev/tty1", 1536);
2109
2116
  var a = new Uint8Array(1024), b = 0, c = () => {
2110
- 0 === b && (b = $a(a).byteLength);
2117
+ 0 === b && (b = ab(a).byteLength);
2111
2118
  return a[--b];
2112
2119
  };
2113
- Ub("random", c);
2114
- Ub("urandom", c);
2115
- O("/dev/shm", 16895, 0);
2116
- O("/dev/shm/tmp", 16895, 0);
2120
+ Vb("random", c);
2121
+ Vb("urandom", c);
2122
+ P("/dev/shm", 16895, 0);
2123
+ P("/dev/shm/tmp", 16895, 0);
2117
2124
  })();
2118
2125
  (() => {
2119
- O("/proc", 16895, 0);
2120
- var a = O("/proc/self", 16895, 0);
2121
- O("/proc/self/fd", 16895, 0);
2122
- Lb({U:() => {
2123
- var b = ob(a, "fd", 16895, 73);
2126
+ P("/proc", 16895, 0);
2127
+ var a = P("/proc/self", 16895, 0);
2128
+ P("/proc/self/fd", 16895, 0);
2129
+ Mb({U:() => {
2130
+ var b = pb(a, "fd", 16895, 73);
2124
2131
  b.l = {ma:(c, d) => {
2125
- var e = Ib(+d);
2132
+ var e = Jb(+d);
2126
2133
  c = {parent:null, U:{ib:"fake"}, l:{na:() => e.path},};
2127
2134
  return c.parent = c;
2128
2135
  }};
2129
2136
  return b;
2130
2137
  }}, "/proc/self/fd");
2131
2138
  })();
2132
- Object.assign($b.prototype, {get(a) {
2139
+ Object.assign(ac.prototype, {get(a) {
2133
2140
  return this.M[a];
2134
2141
  }, has(a) {
2135
2142
  return void 0 !== this.M[a];
@@ -2137,52 +2144,52 @@ Object.assign($b.prototype, {get(a) {
2137
2144
  var b = this.eb.pop() || this.M.length;
2138
2145
  this.M[b] = a;
2139
2146
  return b;
2140
- }, Sb(a) {
2147
+ }, Tb(a) {
2141
2148
  this.M[a] = void 0;
2142
2149
  this.eb.push(a);
2143
2150
  }});
2144
- ac = m.BindingError = class extends Error {
2151
+ bc = k.BindingError = class extends Error {
2145
2152
  constructor(a) {
2146
2153
  super(a);
2147
2154
  this.name = "BindingError";
2148
2155
  }
2149
2156
  };
2150
- P.M.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2151
- P.h = P.M.length;
2152
- m.count_emval_handles = function() {
2153
- for (var a = 0, b = P.h; b < P.M.length; ++b) {
2154
- void 0 !== P.M[b] && ++a;
2157
+ Q.M.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2158
+ Q.h = Q.M.length;
2159
+ k.count_emval_handles = function() {
2160
+ for (var a = 0, b = Q.h; b < Q.M.length; ++b) {
2161
+ void 0 !== Q.M[b] && ++a;
2155
2162
  }
2156
2163
  return a;
2157
2164
  };
2158
- dc = m.PureVirtualError = cc("PureVirtualError");
2159
- for (var Td = Array(256), Ud = 0; 256 > Ud; ++Ud) {
2160
- Td[Ud] = String.fromCharCode(Ud);
2165
+ ec = k.PureVirtualError = dc("PureVirtualError");
2166
+ for (var Ud = Array(256), Vd = 0; 256 > Vd; ++Vd) {
2167
+ Ud[Vd] = String.fromCharCode(Vd);
2161
2168
  }
2162
- ec = Td;
2163
- m.getInheritedInstanceCount = function() {
2164
- return Object.keys(ic).length;
2169
+ fc = Ud;
2170
+ k.getInheritedInstanceCount = function() {
2171
+ return Object.keys(jc).length;
2165
2172
  };
2166
- m.getLiveInheritedInstances = function() {
2173
+ k.getLiveInheritedInstances = function() {
2167
2174
  var a = [], b;
2168
- for (b in ic) {
2169
- ic.hasOwnProperty(b) && a.push(ic[b]);
2175
+ for (b in jc) {
2176
+ jc.hasOwnProperty(b) && a.push(jc[b]);
2170
2177
  }
2171
2178
  return a;
2172
2179
  };
2173
- m.flushPendingDeletes = gc;
2174
- m.setDelayFunction = function(a) {
2175
- hc = a;
2176
- fc.length && hc && hc(gc);
2180
+ k.flushPendingDeletes = hc;
2181
+ k.setDelayFunction = function(a) {
2182
+ ic = a;
2183
+ gc.length && ic && ic(hc);
2177
2184
  };
2178
- vc = m.InternalError = class extends Error {
2185
+ wc = k.InternalError = class extends Error {
2179
2186
  constructor(a) {
2180
2187
  super(a);
2181
2188
  this.name = "InternalError";
2182
2189
  }
2183
2190
  };
2184
- Hc.prototype.isAliasOf = function(a) {
2185
- if (!(this instanceof Hc && a instanceof Hc)) {
2191
+ Ic.prototype.isAliasOf = function(a) {
2192
+ if (!(this instanceof Ic && a instanceof Ic)) {
2186
2193
  return !1;
2187
2194
  }
2188
2195
  var b = this.g.u.i, c = this.g.o, d = a.g.u.i;
@@ -2194,58 +2201,58 @@ Hc.prototype.isAliasOf = function(a) {
2194
2201
  }
2195
2202
  return b === d && c === a;
2196
2203
  };
2197
- Hc.prototype.clone = function() {
2198
- this.g.o || Gc(this);
2204
+ Ic.prototype.clone = function() {
2205
+ this.g.o || Hc(this);
2199
2206
  if (this.g.ka) {
2200
2207
  return this.g.count.value += 1, this;
2201
2208
  }
2202
- var a = yc, b = Object, c = b.create, d = Object.getPrototypeOf(this), e = this.g;
2209
+ var a = zc, b = Object, c = b.create, d = Object.getPrototypeOf(this), e = this.g;
2203
2210
  a = a(c.call(b, d, {g:{value:{count:e.count, ha:e.ha, ka:e.ka, o:e.o, u:e.u, H:e.H, L:e.L,},}}));
2204
2211
  a.g.count.value += 1;
2205
2212
  a.g.ha = !1;
2206
2213
  return a;
2207
2214
  };
2208
- Hc.prototype["delete"] = function() {
2209
- this.g.o || Gc(this);
2210
- this.g.ha && !this.g.ka && Q("Object already scheduled for deletion");
2211
- pc(this);
2212
- rc(this.g);
2215
+ Ic.prototype["delete"] = function() {
2216
+ this.g.o || Hc(this);
2217
+ this.g.ha && !this.g.ka && R("Object already scheduled for deletion");
2218
+ qc(this);
2219
+ sc(this.g);
2213
2220
  this.g.ka || (this.g.H = void 0, this.g.o = void 0);
2214
2221
  };
2215
- Hc.prototype.isDeleted = function() {
2222
+ Ic.prototype.isDeleted = function() {
2216
2223
  return !this.g.o;
2217
2224
  };
2218
- Hc.prototype.deleteLater = function() {
2219
- this.g.o || Gc(this);
2220
- this.g.ha && !this.g.ka && Q("Object already scheduled for deletion");
2221
- fc.push(this);
2222
- 1 === fc.length && hc && hc(gc);
2225
+ Ic.prototype.deleteLater = function() {
2226
+ this.g.o || Hc(this);
2227
+ this.g.ha && !this.g.ka && R("Object already scheduled for deletion");
2228
+ gc.push(this);
2229
+ 1 === gc.length && ic && ic(hc);
2223
2230
  this.g.ha = !0;
2224
2231
  return this;
2225
2232
  };
2226
- Qc.prototype.Ob = function(a) {
2233
+ Rc.prototype.Pb = function(a) {
2227
2234
  this.ob && (a = this.ob(a));
2228
2235
  return a;
2229
2236
  };
2230
- Qc.prototype.Za = function(a) {
2237
+ Rc.prototype.Za = function(a) {
2231
2238
  this.W && this.W(a);
2232
2239
  };
2233
- Qc.prototype.argPackAdvance = 8;
2234
- Qc.prototype.readValueFromPointer = Bc;
2235
- Qc.prototype.deleteObject = function(a) {
2240
+ Rc.prototype.argPackAdvance = 8;
2241
+ Rc.prototype.readValueFromPointer = Cc;
2242
+ Rc.prototype.deleteObject = function(a) {
2236
2243
  if (null !== a) {
2237
2244
  a["delete"]();
2238
2245
  }
2239
2246
  };
2240
- Qc.prototype.fromWireType = function(a) {
2247
+ Rc.prototype.fromWireType = function(a) {
2241
2248
  function b() {
2242
- return this.ya ? xc(this.i.N, {u:this.bc, o:c, L:this, H:a,}) : xc(this.i.N, {u:this, o:a,});
2249
+ return this.ya ? yc(this.i.N, {u:this.cc, o:c, L:this, H:a,}) : yc(this.i.N, {u:this, o:a,});
2243
2250
  }
2244
- var c = this.Ob(a);
2251
+ var c = this.Pb(a);
2245
2252
  if (!c) {
2246
2253
  return this.Za(a), null;
2247
2254
  }
2248
- var d = uc(this.i, c);
2255
+ var d = vc(this.i, c);
2249
2256
  if (void 0 !== d) {
2250
2257
  if (0 === d.g.count.value) {
2251
2258
  return d.g.o = c, d.g.H = a, d.clone();
@@ -2254,36 +2261,36 @@ Qc.prototype.fromWireType = function(a) {
2254
2261
  this.Za(a);
2255
2262
  return d;
2256
2263
  }
2257
- d = this.i.Nb(c);
2258
- d = tc[d];
2264
+ d = this.i.Ob(c);
2265
+ d = uc[d];
2259
2266
  if (!d) {
2260
2267
  return b.call(this);
2261
2268
  }
2262
- d = this.xa ? d.Fb : d.pointerType;
2263
- var e = sc(c, this.i, d.i);
2264
- return null === e ? b.call(this) : this.ya ? xc(d.i.N, {u:d, o:e, L:this, H:a,}) : xc(d.i.N, {u:d, o:e,});
2269
+ d = this.xa ? d.Gb : d.pointerType;
2270
+ var e = tc(c, this.i, d.i);
2271
+ return null === e ? b.call(this) : this.ya ? yc(d.i.N, {u:d, o:e, L:this, H:a,}) : yc(d.i.N, {u:d, o:e,});
2265
2272
  };
2266
- Vc = m.UnboundTypeError = cc("UnboundTypeError");
2267
- for (var Y, Vd = 0; 32 > Vd; ++Vd) {
2268
- Jd.push(Array(Vd));
2273
+ Wc = k.UnboundTypeError = dc("UnboundTypeError");
2274
+ for (var Z, Wd = 0; 32 > Wd; ++Wd) {
2275
+ Kd.push(Array(Wd));
2269
2276
  }
2270
- var Xd = {__syscall_fcntl64:function(a, b, c) {
2271
- Wb = c;
2277
+ var Yd = {__syscall_fcntl64:function(a, b, c) {
2278
+ Xb = c;
2272
2279
  try {
2273
- var d = Ib(a);
2280
+ var d = Jb(a);
2274
2281
  switch(b) {
2275
2282
  case 0:
2276
- var e = Xb();
2277
- return 0 > e ? -28 : Kb(d, e).X;
2283
+ var e = Yb();
2284
+ return 0 > e ? -28 : Lb(d, e).X;
2278
2285
  case 1:
2279
2286
  case 2:
2280
2287
  return 0;
2281
2288
  case 3:
2282
2289
  return d.flags;
2283
2290
  case 4:
2284
- return e = Xb(), d.flags |= e, 0;
2291
+ return e = Yb(), d.flags |= e, 0;
2285
2292
  case 5:
2286
- return e = Xb(), I[e + 0 >> 1] = 2, 0;
2293
+ return e = Yb(), H[e + 0 >> 1] = 2, 0;
2287
2294
  case 6:
2288
2295
  case 7:
2289
2296
  return 0;
@@ -2291,20 +2298,20 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2291
2298
  case 8:
2292
2299
  return -28;
2293
2300
  case 9:
2294
- return J[Wd() >> 2] = 28, -1;
2301
+ return J[Xd() >> 2] = 28, -1;
2295
2302
  default:
2296
2303
  return -28;
2297
2304
  }
2298
2305
  } catch (f) {
2299
- if ("undefined" == typeof Vb || "ErrnoError" !== f.name) {
2306
+ if ("undefined" == typeof Wb || "ErrnoError" !== f.name) {
2300
2307
  throw f;
2301
2308
  }
2302
2309
  return -f.aa;
2303
2310
  }
2304
2311
  }, __syscall_ioctl:function(a, b, c) {
2305
- Wb = c;
2312
+ Xb = c;
2306
2313
  try {
2307
- var d = Ib(a);
2314
+ var d = Jb(a);
2308
2315
  switch(b) {
2309
2316
  case 21509:
2310
2317
  return d.s ? 0 : -59;
@@ -2312,9 +2319,9 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2312
2319
  if (!d.s) {
2313
2320
  return -59;
2314
2321
  }
2315
- if (d.s.V.Wb) {
2322
+ if (d.s.V.Xb) {
2316
2323
  b = [3, 28, 127, 21, 4, 0, 1, 0, 17, 19, 26, 0, 18, 15, 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,];
2317
- var e = Xb();
2324
+ var e = Yb();
2318
2325
  J[e >> 2] = 25856;
2319
2326
  J[e + 4 >> 2] = 5;
2320
2327
  J[e + 8 >> 2] = 191;
@@ -2334,8 +2341,8 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2334
2341
  if (!d.s) {
2335
2342
  return -59;
2336
2343
  }
2337
- if (d.s.V.Xb) {
2338
- for (e = Xb(), b = [], f = 0; 32 > f; f++) {
2344
+ if (d.s.V.Yb) {
2345
+ for (e = Yb(), b = [], f = 0; 32 > f; f++) {
2339
2346
  b.push(D[e + f + 17 >> 0]);
2340
2347
  }
2341
2348
  }
@@ -2344,21 +2351,21 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2344
2351
  if (!d.s) {
2345
2352
  return -59;
2346
2353
  }
2347
- e = Xb();
2354
+ e = Yb();
2348
2355
  return J[e >> 2] = 0;
2349
2356
  case 21520:
2350
2357
  return d.s ? -28 : -59;
2351
2358
  case 21531:
2352
- e = Xb();
2353
- if (!d.m.Vb) {
2354
- throw new M(59);
2359
+ e = Yb();
2360
+ if (!d.m.Wb) {
2361
+ throw new N(59);
2355
2362
  }
2356
- return d.m.Vb(d, b, e);
2363
+ return d.m.Wb(d, b, e);
2357
2364
  case 21523:
2358
2365
  if (!d.s) {
2359
2366
  return -59;
2360
2367
  }
2361
- d.s.V.Yb && (f = [24, 80], e = Xb(), I[e >> 1] = f[0], I[e + 2 >> 1] = f[1]);
2368
+ d.s.V.Zb && (f = [24, 80], e = Yb(), H[e >> 1] = f[0], H[e + 2 >> 1] = f[1]);
2362
2369
  return 0;
2363
2370
  case 21524:
2364
2371
  return d.s ? 0 : -59;
@@ -2368,217 +2375,217 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2368
2375
  return -28;
2369
2376
  }
2370
2377
  } catch (g) {
2371
- if ("undefined" == typeof Vb || "ErrnoError" !== g.name) {
2378
+ if ("undefined" == typeof Wb || "ErrnoError" !== g.name) {
2372
2379
  throw g;
2373
2380
  }
2374
2381
  return -g.aa;
2375
2382
  }
2376
2383
  }, __syscall_openat:function(a, b, c, d) {
2377
- Wb = d;
2384
+ Xb = d;
2378
2385
  try {
2379
- b = b ? L(G, b) : "";
2386
+ b = b ? M(F, b) : "";
2380
2387
  var e = b;
2381
2388
  if ("/" === e.charAt(0)) {
2382
2389
  b = e;
2383
2390
  } else {
2384
- var f = -100 === a ? "/" : Ib(a).path;
2391
+ var f = -100 === a ? "/" : Jb(a).path;
2385
2392
  if (0 == e.length) {
2386
- throw new M(44);
2393
+ throw new N(44);
2387
2394
  }
2388
- b = Wa(f + "/" + e);
2395
+ b = Xa(f + "/" + e);
2389
2396
  }
2390
- var g = d ? Xb() : 0;
2391
- return Pb(b, c, g).X;
2392
- } catch (n) {
2393
- if ("undefined" == typeof Vb || "ErrnoError" !== n.name) {
2394
- throw n;
2397
+ var g = d ? Yb() : 0;
2398
+ return Qb(b, c, g).X;
2399
+ } catch (l) {
2400
+ if ("undefined" == typeof Wb || "ErrnoError" !== l.name) {
2401
+ throw l;
2395
2402
  }
2396
- return -n.aa;
2403
+ return -l.aa;
2397
2404
  }
2398
2405
  }, _embind_create_inheriting_constructor:function(a, b, c) {
2399
- a = S(a);
2400
- b = oc(b, "wrapper");
2401
- c = R(c);
2402
- var d = [].slice, e = b.i, f = e.N, g = e.A.N, n = e.A.constructor;
2403
- a = Zb(a, function() {
2404
- e.A.mb.forEach(function(l) {
2405
- if (this[l] === g[l]) {
2406
- throw new dc(`Pure virtual function ${l} must be implemented in JavaScript`);
2406
+ a = T(a);
2407
+ b = pc(b, "wrapper");
2408
+ c = S(c);
2409
+ var d = [].slice, e = b.i, f = e.N, g = e.A.N, l = e.A.constructor;
2410
+ a = $b(a, function() {
2411
+ e.A.mb.forEach(function(m) {
2412
+ if (this[m] === g[m]) {
2413
+ throw new ec(`Pure virtual function ${m} must be implemented in JavaScript`);
2407
2414
  }
2408
2415
  }.bind(this));
2409
2416
  Object.defineProperty(this, "__parent", {value:f});
2410
2417
  this.__construct.apply(this, d.call(arguments));
2411
2418
  });
2412
2419
  f.__construct = function() {
2413
- this === f && Q("Pass correct 'this' to __construct");
2414
- var l = n.implement.apply(void 0, [this].concat(d.call(arguments)));
2415
- pc(l);
2416
- var t = l.g;
2417
- l.notifyOnDestruction();
2420
+ this === f && R("Pass correct 'this' to __construct");
2421
+ var m = l.implement.apply(void 0, [this].concat(d.call(arguments)));
2422
+ qc(m);
2423
+ var t = m.g;
2424
+ m.notifyOnDestruction();
2418
2425
  t.ka = !0;
2419
2426
  Object.defineProperties(this, {g:{value:t}});
2420
- yc(this);
2421
- l = t.o;
2422
- l = jc(e, l);
2423
- ic.hasOwnProperty(l) ? Q(`Tried to register registered instance: ${l}`) : ic[l] = this;
2427
+ zc(this);
2428
+ m = t.o;
2429
+ m = kc(e, m);
2430
+ jc.hasOwnProperty(m) ? R(`Tried to register registered instance: ${m}`) : jc[m] = this;
2424
2431
  };
2425
2432
  f.__destruct = function() {
2426
- this === f && Q("Pass correct 'this' to __destruct");
2427
- pc(this);
2428
- var l = this.g.o;
2429
- l = jc(e, l);
2430
- ic.hasOwnProperty(l) ? delete ic[l] : Q(`Tried to unregister unregistered instance: ${l}`);
2433
+ this === f && R("Pass correct 'this' to __destruct");
2434
+ qc(this);
2435
+ var m = this.g.o;
2436
+ m = kc(e, m);
2437
+ jc.hasOwnProperty(m) ? delete jc[m] : R(`Tried to unregister unregistered instance: ${m}`);
2431
2438
  };
2432
2439
  a.prototype = Object.create(f);
2433
2440
  for (var p in c) {
2434
2441
  a.prototype[p] = c[p];
2435
2442
  }
2436
- return bc(a);
2443
+ return cc(a);
2437
2444
  }, _embind_finalize_value_object:function(a) {
2438
- var b = zc[a];
2439
- delete zc[a];
2440
- var c = b.Ra, d = b.W, e = b.ab, f = e.map(g => g.Rb).concat(e.map(g => g.fc));
2441
- T([a], f, g => {
2442
- var n = {};
2443
- e.forEach((p, l) => {
2444
- var t = g[l], u = p.Pb, x = p.Qb, k = g[l + e.length], q = p.ec, v = p.hc;
2445
- n[p.Lb] = {read:y => t.fromWireType(u(x, y)), write:(y, C) => {
2446
- var z = [];
2447
- q(v, y, k.toWireType(z, C));
2448
- Ac(z);
2445
+ var b = Ac[a];
2446
+ delete Ac[a];
2447
+ var c = b.Ra, d = b.W, e = b.ab, f = e.map(g => g.Sb).concat(e.map(g => g.hc));
2448
+ U([a], f, g => {
2449
+ var l = {};
2450
+ e.forEach((p, m) => {
2451
+ var t = g[m], v = p.Qb, x = p.Rb, n = g[m + e.length], q = p.fc, u = p.ic;
2452
+ l[p.Mb] = {read:y => t.fromWireType(v(x, y)), write:(y, z) => {
2453
+ var A = [];
2454
+ q(u, y, n.toWireType(A, z));
2455
+ Bc(A);
2449
2456
  }};
2450
2457
  });
2451
2458
  return [{name:b.name, fromWireType:function(p) {
2452
- var l = {}, t;
2453
- for (t in n) {
2454
- l[t] = n[t].read(p);
2459
+ var m = {}, t;
2460
+ for (t in l) {
2461
+ m[t] = l[t].read(p);
2455
2462
  }
2456
2463
  d(p);
2457
- return l;
2458
- }, toWireType:function(p, l) {
2459
- for (var t in n) {
2460
- if (!(t in l)) {
2464
+ return m;
2465
+ }, toWireType:function(p, m) {
2466
+ for (var t in l) {
2467
+ if (!(t in m)) {
2461
2468
  throw new TypeError(`Missing field: "${t}"`);
2462
2469
  }
2463
2470
  }
2464
- var u = c();
2465
- for (t in n) {
2466
- n[t].write(u, l[t]);
2471
+ var v = c();
2472
+ for (t in l) {
2473
+ l[t].write(v, m[t]);
2467
2474
  }
2468
- null !== p && p.push(d, u);
2469
- return u;
2470
- }, argPackAdvance:8, readValueFromPointer:Bc, K:d,}];
2475
+ null !== p && p.push(d, v);
2476
+ return v;
2477
+ }, argPackAdvance:8, readValueFromPointer:Cc, K:d,}];
2471
2478
  });
2472
2479
  }, _embind_register_bigint:function() {
2473
2480
  }, _embind_register_bool:function(a, b, c, d, e) {
2474
- var f = Ec(c);
2475
- b = S(b);
2476
- U(a, {name:b, fromWireType:function(g) {
2481
+ var f = Fc(c);
2482
+ b = T(b);
2483
+ V(a, {name:b, fromWireType:function(g) {
2477
2484
  return !!g;
2478
- }, toWireType:function(g, n) {
2479
- return n ? d : e;
2485
+ }, toWireType:function(g, l) {
2486
+ return l ? d : e;
2480
2487
  }, argPackAdvance:8, readValueFromPointer:function(g) {
2481
2488
  if (1 === c) {
2482
- var n = D;
2489
+ var l = D;
2483
2490
  } else if (2 === c) {
2484
- n = I;
2491
+ l = H;
2485
2492
  } else if (4 === c) {
2486
- n = J;
2493
+ l = J;
2487
2494
  } else {
2488
2495
  throw new TypeError("Unknown boolean type size: " + b);
2489
2496
  }
2490
- return this.fromWireType(n[g >> f]);
2497
+ return this.fromWireType(l[g >> f]);
2491
2498
  }, K:null,});
2492
- }, _embind_register_class:function(a, b, c, d, e, f, g, n, p, l, t, u, x) {
2493
- t = S(t);
2494
- f = V(e, f);
2495
- n && (n = V(g, n));
2496
- l && (l = V(p, l));
2497
- x = V(u, x);
2498
- var k = Yb(t);
2499
- Jc(k, function() {
2500
- Wc(`Cannot construct ${t} due to unbound types`, [d]);
2499
+ }, _embind_register_class:function(a, b, c, d, e, f, g, l, p, m, t, v, x) {
2500
+ t = T(t);
2501
+ f = W(e, f);
2502
+ l && (l = W(g, l));
2503
+ m && (m = W(p, m));
2504
+ x = W(v, x);
2505
+ var n = Zb(t);
2506
+ Kc(n, function() {
2507
+ Xc(`Cannot construct ${t} due to unbound types`, [d]);
2501
2508
  });
2502
- T([a, b, c], d ? [d] : [], function(q) {
2509
+ U([a, b, c], d ? [d] : [], function(q) {
2503
2510
  q = q[0];
2504
2511
  if (d) {
2505
- var v = q.i;
2506
- var y = v.N;
2512
+ var u = q.i;
2513
+ var y = u.N;
2507
2514
  } else {
2508
- y = Hc.prototype;
2515
+ y = Ic.prototype;
2509
2516
  }
2510
- q = Zb(k, function() {
2511
- if (Object.getPrototypeOf(this) !== C) {
2512
- throw new ac("Use 'new' to construct " + t);
2517
+ q = $b(n, function() {
2518
+ if (Object.getPrototypeOf(this) !== z) {
2519
+ throw new bc("Use 'new' to construct " + t);
2513
2520
  }
2514
- if (void 0 === z.$) {
2515
- throw new ac(t + " has no accessible constructor");
2521
+ if (void 0 === A.$) {
2522
+ throw new bc(t + " has no accessible constructor");
2516
2523
  }
2517
- var H = z.$[arguments.length];
2518
- if (void 0 === H) {
2519
- throw new ac(`Tried to invoke ctor of ${t} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(z.$).toString()}) parameters instead!`);
2524
+ var I = A.$[arguments.length];
2525
+ if (void 0 === I) {
2526
+ throw new bc(`Tried to invoke ctor of ${t} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(A.$).toString()}) parameters instead!`);
2520
2527
  }
2521
- return H.apply(this, arguments);
2528
+ return I.apply(this, arguments);
2522
2529
  });
2523
- var C = Object.create(y, {constructor:{value:q},});
2524
- q.prototype = C;
2525
- var z = new Kc(t, q, C, x, v, f, n, l);
2526
- z.A && (void 0 === z.A.qa && (z.A.qa = []), z.A.qa.push(z));
2527
- v = new Qc(t, z, !0, !1);
2528
- y = new Qc(t + "*", z, !1, !1);
2529
- var E = new Qc(t + " const*", z, !1, !0);
2530
- tc[a] = {pointerType:y, Fb:E};
2531
- Rc(k, q);
2532
- return [v, y, E];
2530
+ var z = Object.create(y, {constructor:{value:q},});
2531
+ q.prototype = z;
2532
+ var A = new Lc(t, q, z, x, u, f, l, m);
2533
+ A.A && (void 0 === A.A.qa && (A.A.qa = []), A.A.qa.push(A));
2534
+ u = new Rc(t, A, !0, !1);
2535
+ y = new Rc(t + "*", A, !1, !1);
2536
+ var G = new Rc(t + " const*", A, !1, !0);
2537
+ uc[a] = {pointerType:y, Gb:G};
2538
+ Sc(n, q);
2539
+ return [u, y, G];
2533
2540
  });
2534
2541
  }, _embind_register_class_class_function:function(a, b, c, d, e, f, g) {
2535
- var n = Yc(c, d);
2536
- b = S(b);
2537
- f = V(e, f);
2538
- T([], [a], function(p) {
2539
- function l() {
2540
- Wc(`Cannot call ${t} due to unbound types`, n);
2542
+ var l = Zc(c, d);
2543
+ b = T(b);
2544
+ f = W(e, f);
2545
+ U([], [a], function(p) {
2546
+ function m() {
2547
+ Xc(`Cannot call ${t} due to unbound types`, l);
2541
2548
  }
2542
2549
  p = p[0];
2543
2550
  var t = `${p.name}.${b}`;
2544
2551
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2545
- var u = p.i.constructor;
2546
- void 0 === u[b] ? (l.ga = c - 1, u[b] = l) : (Ic(u, b, t), u[b].B[c - 1] = l);
2547
- T([], n, function(x) {
2548
- x = Xc(t, [x[0], null].concat(x.slice(1)), null, f, g);
2549
- void 0 === u[b].B ? (x.ga = c - 1, u[b] = x) : u[b].B[c - 1] = x;
2552
+ var v = p.i.constructor;
2553
+ void 0 === v[b] ? (m.ga = c - 1, v[b] = m) : (Jc(v, b, t), v[b].B[c - 1] = m);
2554
+ U([], l, function(x) {
2555
+ x = Yc(t, [x[0], null].concat(x.slice(1)), null, f, g);
2556
+ void 0 === v[b].B ? (x.ga = c - 1, v[b] = x) : v[b].B[c - 1] = x;
2550
2557
  if (p.i.qa) {
2551
- for (const k of p.i.qa) {
2552
- k.constructor.hasOwnProperty(b) || (k.constructor[b] = x);
2558
+ for (const n of p.i.qa) {
2559
+ n.constructor.hasOwnProperty(b) || (n.constructor[b] = x);
2553
2560
  }
2554
2561
  }
2555
2562
  return [];
2556
2563
  });
2557
2564
  return [];
2558
2565
  });
2559
- }, _embind_register_class_class_property:function(a, b, c, d, e, f, g, n) {
2560
- b = S(b);
2561
- f = V(e, f);
2562
- T([], [a], function(p) {
2566
+ }, _embind_register_class_class_property:function(a, b, c, d, e, f, g, l) {
2567
+ b = T(b);
2568
+ f = W(e, f);
2569
+ U([], [a], function(p) {
2563
2570
  p = p[0];
2564
- var l = `${p.name}.${b}`, t = {get() {
2565
- Wc(`Cannot access ${l} due to unbound types`, [c]);
2571
+ var m = `${p.name}.${b}`, t = {get() {
2572
+ Xc(`Cannot access ${m} due to unbound types`, [c]);
2566
2573
  }, enumerable:!0, configurable:!0};
2567
- t.set = n ? () => {
2568
- Wc(`Cannot access ${l} due to unbound types`, [c]);
2574
+ t.set = l ? () => {
2575
+ Xc(`Cannot access ${m} due to unbound types`, [c]);
2569
2576
  } : () => {
2570
- Q(`${l} is a read-only property`);
2577
+ R(`${m} is a read-only property`);
2571
2578
  };
2572
2579
  Object.defineProperty(p.i.constructor, b, t);
2573
- T([], [c], function(u) {
2574
- u = u[0];
2580
+ U([], [c], function(v) {
2581
+ v = v[0];
2575
2582
  var x = {get() {
2576
- return u.fromWireType(f(d));
2583
+ return v.fromWireType(f(d));
2577
2584
  }, enumerable:!0};
2578
- n && (n = V(g, n), x.set = k => {
2585
+ l && (l = W(g, l), x.set = n => {
2579
2586
  var q = [];
2580
- n(d, u.toWireType(q, k));
2581
- Ac(q);
2587
+ l(d, v.toWireType(q, n));
2588
+ Bc(q);
2582
2589
  });
2583
2590
  Object.defineProperty(p.i.constructor, b, x);
2584
2591
  return [];
@@ -2586,142 +2593,142 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2586
2593
  return [];
2587
2594
  });
2588
2595
  }, _embind_register_class_constructor:function(a, b, c, d, e, f) {
2589
- var g = Yc(b, c);
2590
- e = V(d, e);
2591
- T([], [a], function(n) {
2592
- n = n[0];
2593
- var p = `constructor ${n.name}`;
2594
- void 0 === n.i.$ && (n.i.$ = []);
2595
- if (void 0 !== n.i.$[b - 1]) {
2596
- throw new ac(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${n.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
2597
- }
2598
- n.i.$[b - 1] = () => {
2599
- Wc(`Cannot construct ${n.name} due to unbound types`, g);
2596
+ var g = Zc(b, c);
2597
+ e = W(d, e);
2598
+ U([], [a], function(l) {
2599
+ l = l[0];
2600
+ var p = `constructor ${l.name}`;
2601
+ void 0 === l.i.$ && (l.i.$ = []);
2602
+ if (void 0 !== l.i.$[b - 1]) {
2603
+ throw new bc(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${l.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
2604
+ }
2605
+ l.i.$[b - 1] = () => {
2606
+ Xc(`Cannot construct ${l.name} due to unbound types`, g);
2600
2607
  };
2601
- T([], g, function(l) {
2602
- l.splice(1, 0, null);
2603
- n.i.$[b - 1] = Xc(p, l, null, e, f);
2608
+ U([], g, function(m) {
2609
+ m.splice(1, 0, null);
2610
+ l.i.$[b - 1] = Yc(p, m, null, e, f);
2604
2611
  return [];
2605
2612
  });
2606
2613
  return [];
2607
2614
  });
2608
- }, _embind_register_class_function:function(a, b, c, d, e, f, g, n) {
2609
- var p = Yc(c, d);
2610
- b = S(b);
2611
- f = V(e, f);
2612
- T([], [a], function(l) {
2615
+ }, _embind_register_class_function:function(a, b, c, d, e, f, g, l) {
2616
+ var p = Zc(c, d);
2617
+ b = T(b);
2618
+ f = W(e, f);
2619
+ U([], [a], function(m) {
2613
2620
  function t() {
2614
- Wc(`Cannot call ${u} due to unbound types`, p);
2621
+ Xc(`Cannot call ${v} due to unbound types`, p);
2615
2622
  }
2616
- l = l[0];
2617
- var u = `${l.name}.${b}`;
2623
+ m = m[0];
2624
+ var v = `${m.name}.${b}`;
2618
2625
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2619
- n && l.i.mb.push(b);
2620
- var x = l.i.N, k = x[b];
2621
- void 0 === k || void 0 === k.B && k.className !== l.name && k.ga === c - 2 ? (t.ga = c - 2, t.className = l.name, x[b] = t) : (Ic(x, b, u), x[b].B[c - 2] = t);
2622
- T([], p, function(q) {
2623
- q = Xc(u, q, l, f, g);
2626
+ l && m.i.mb.push(b);
2627
+ var x = m.i.N, n = x[b];
2628
+ void 0 === n || void 0 === n.B && n.className !== m.name && n.ga === c - 2 ? (t.ga = c - 2, t.className = m.name, x[b] = t) : (Jc(x, b, v), x[b].B[c - 2] = t);
2629
+ U([], p, function(q) {
2630
+ q = Yc(v, q, m, f, g);
2624
2631
  void 0 === x[b].B ? (q.ga = c - 2, x[b] = q) : x[b].B[c - 2] = q;
2625
2632
  return [];
2626
2633
  });
2627
2634
  return [];
2628
2635
  });
2629
- }, _embind_register_class_property:function(a, b, c, d, e, f, g, n, p, l) {
2630
- b = S(b);
2631
- e = V(d, e);
2632
- T([], [a], function(t) {
2636
+ }, _embind_register_class_property:function(a, b, c, d, e, f, g, l, p, m) {
2637
+ b = T(b);
2638
+ e = W(d, e);
2639
+ U([], [a], function(t) {
2633
2640
  t = t[0];
2634
- var u = `${t.name}.${b}`, x = {get() {
2635
- Wc(`Cannot access ${u} due to unbound types`, [c, g]);
2641
+ var v = `${t.name}.${b}`, x = {get() {
2642
+ Xc(`Cannot access ${v} due to unbound types`, [c, g]);
2636
2643
  }, enumerable:!0, configurable:!0};
2637
2644
  x.set = p ? () => {
2638
- Wc(`Cannot access ${u} due to unbound types`, [c, g]);
2645
+ Xc(`Cannot access ${v} due to unbound types`, [c, g]);
2639
2646
  } : () => {
2640
- Q(u + " is a read-only property");
2647
+ R(v + " is a read-only property");
2641
2648
  };
2642
2649
  Object.defineProperty(t.i.N, b, x);
2643
- T([], p ? [c, g] : [c], function(k) {
2644
- var q = k[0], v = {get() {
2645
- var C = Zc(this, t, u + " getter");
2646
- return q.fromWireType(e(f, C));
2650
+ U([], p ? [c, g] : [c], function(n) {
2651
+ var q = n[0], u = {get() {
2652
+ var z = $c(this, t, v + " getter");
2653
+ return q.fromWireType(e(f, z));
2647
2654
  }, enumerable:!0};
2648
2655
  if (p) {
2649
- p = V(n, p);
2650
- var y = k[1];
2651
- v.set = function(C) {
2652
- var z = Zc(this, t, u + " setter"), E = [];
2653
- p(l, z, y.toWireType(E, C));
2654
- Ac(E);
2656
+ p = W(l, p);
2657
+ var y = n[1];
2658
+ u.set = function(z) {
2659
+ var A = $c(this, t, v + " setter"), G = [];
2660
+ p(m, A, y.toWireType(G, z));
2661
+ Bc(G);
2655
2662
  };
2656
2663
  }
2657
- Object.defineProperty(t.i.N, b, v);
2664
+ Object.defineProperty(t.i.N, b, u);
2658
2665
  return [];
2659
2666
  });
2660
2667
  return [];
2661
2668
  });
2662
2669
  }, _embind_register_emval:function(a, b) {
2663
- b = S(b);
2664
- U(a, {name:b, fromWireType:function(c) {
2665
- var d = R(c);
2666
- $c(c);
2670
+ b = T(b);
2671
+ V(a, {name:b, fromWireType:function(c) {
2672
+ var d = S(c);
2673
+ ad(c);
2667
2674
  return d;
2668
2675
  }, toWireType:function(c, d) {
2669
- return bc(d);
2670
- }, argPackAdvance:8, readValueFromPointer:Bc, K:null,});
2676
+ return cc(d);
2677
+ }, argPackAdvance:8, readValueFromPointer:Cc, K:null,});
2671
2678
  }, _embind_register_enum:function(a, b, c, d) {
2672
2679
  function e() {
2673
2680
  }
2674
- c = Ec(c);
2675
- b = S(b);
2681
+ c = Fc(c);
2682
+ b = T(b);
2676
2683
  e.values = {};
2677
- U(a, {name:b, constructor:e, fromWireType:function(f) {
2684
+ V(a, {name:b, constructor:e, fromWireType:function(f) {
2678
2685
  return this.constructor.values[f];
2679
2686
  }, toWireType:function(f, g) {
2680
2687
  return g.value;
2681
- }, argPackAdvance:8, readValueFromPointer:ad(b, c, d), K:null,});
2682
- Jc(b, e);
2688
+ }, argPackAdvance:8, readValueFromPointer:bd(b, c, d), K:null,});
2689
+ Kc(b, e);
2683
2690
  }, _embind_register_enum_value:function(a, b, c) {
2684
- var d = oc(a, "enum");
2685
- b = S(b);
2691
+ var d = pc(a, "enum");
2692
+ b = T(b);
2686
2693
  a = d.constructor;
2687
- d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:Zb(`${d.name}_${b}`, function() {
2694
+ d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:$b(`${d.name}_${b}`, function() {
2688
2695
  })},});
2689
2696
  a.values[c] = d;
2690
2697
  a[b] = d;
2691
2698
  }, _embind_register_float:function(a, b, c) {
2692
- c = Ec(c);
2693
- b = S(b);
2694
- U(a, {name:b, fromWireType:function(d) {
2699
+ c = Fc(c);
2700
+ b = T(b);
2701
+ V(a, {name:b, fromWireType:function(d) {
2695
2702
  return d;
2696
2703
  }, toWireType:function(d, e) {
2697
2704
  return e;
2698
- }, argPackAdvance:8, readValueFromPointer:bd(b, c), K:null,});
2705
+ }, argPackAdvance:8, readValueFromPointer:cd(b, c), K:null,});
2699
2706
  }, _embind_register_function:function(a, b, c, d, e, f) {
2700
- var g = Yc(b, c);
2701
- a = S(a);
2702
- e = V(d, e);
2703
- Jc(a, function() {
2704
- Wc(`Cannot call ${a} due to unbound types`, g);
2707
+ var g = Zc(b, c);
2708
+ a = T(a);
2709
+ e = W(d, e);
2710
+ Kc(a, function() {
2711
+ Xc(`Cannot call ${a} due to unbound types`, g);
2705
2712
  }, b - 1);
2706
- T([], g, function(n) {
2707
- Rc(a, Xc(a, [n[0], null].concat(n.slice(1)), null, e, f), b - 1);
2713
+ U([], g, function(l) {
2714
+ Sc(a, Yc(a, [l[0], null].concat(l.slice(1)), null, e, f), b - 1);
2708
2715
  return [];
2709
2716
  });
2710
2717
  }, _embind_register_integer:function(a, b, c, d, e) {
2711
- b = S(b);
2718
+ b = T(b);
2712
2719
  -1 === e && (e = 4294967295);
2713
- e = Ec(c);
2714
- var f = n => n;
2720
+ e = Fc(c);
2721
+ var f = l => l;
2715
2722
  if (0 === d) {
2716
2723
  var g = 32 - 8 * c;
2717
- f = n => n << g >>> g;
2724
+ f = l => l << g >>> g;
2718
2725
  }
2719
- c = b.includes("unsigned") ? function(n, p) {
2726
+ c = b.includes("unsigned") ? function(l, p) {
2720
2727
  return p >>> 0;
2721
- } : function(n, p) {
2728
+ } : function(l, p) {
2722
2729
  return p;
2723
2730
  };
2724
- U(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:cd(b, e, 0 !== d), K:null,});
2731
+ V(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:dd(b, e, 0 !== d), K:null,});
2725
2732
  }, _embind_register_memory_view:function(a, b, c) {
2726
2733
  function d(f) {
2727
2734
  f >>= 2;
@@ -2729,195 +2736,195 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2729
2736
  return new e(g.buffer, g[f + 1], g[f]);
2730
2737
  }
2731
2738
  var e = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array,][b];
2732
- c = S(c);
2733
- U(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {Tb:!0,});
2739
+ c = T(c);
2740
+ V(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {Ub:!0,});
2734
2741
  }, _embind_register_std_string:function(a, b) {
2735
- b = S(b);
2742
+ b = T(b);
2736
2743
  var c = "std::string" === b;
2737
- U(a, {name:b, fromWireType:function(d) {
2744
+ V(a, {name:b, fromWireType:function(d) {
2738
2745
  var e = K[d >> 2], f = d + 4;
2739
2746
  if (c) {
2740
- for (var g = f, n = 0; n <= e; ++n) {
2741
- var p = f + n;
2742
- if (n == e || 0 == G[p]) {
2743
- g = g ? L(G, g, p - g) : "";
2744
- if (void 0 === l) {
2745
- var l = g;
2747
+ for (var g = f, l = 0; l <= e; ++l) {
2748
+ var p = f + l;
2749
+ if (l == e || 0 == F[p]) {
2750
+ g = g ? M(F, g, p - g) : "";
2751
+ if (void 0 === m) {
2752
+ var m = g;
2746
2753
  } else {
2747
- l += String.fromCharCode(0), l += g;
2754
+ m += String.fromCharCode(0), m += g;
2748
2755
  }
2749
2756
  g = p + 1;
2750
2757
  }
2751
2758
  }
2752
2759
  } else {
2753
- l = Array(e);
2754
- for (n = 0; n < e; ++n) {
2755
- l[n] = String.fromCharCode(G[f + n]);
2760
+ m = Array(e);
2761
+ for (l = 0; l < e; ++l) {
2762
+ m[l] = String.fromCharCode(F[f + l]);
2756
2763
  }
2757
- l = l.join("");
2764
+ m = m.join("");
2758
2765
  }
2759
- nc(d);
2760
- return l;
2766
+ oc(d);
2767
+ return m;
2761
2768
  }, toWireType:function(d, e) {
2762
2769
  e instanceof ArrayBuffer && (e = new Uint8Array(e));
2763
2770
  var f = "string" == typeof e;
2764
- f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || Q("Cannot pass non-string to std::string");
2765
- var g = c && f ? db(e) : e.length;
2766
- var n = Md(4 + g + 1), p = n + 4;
2767
- K[n >> 2] = g;
2771
+ f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || R("Cannot pass non-string to std::string");
2772
+ var g = c && f ? eb(e) : e.length;
2773
+ var l = Nd(4 + g + 1), p = l + 4;
2774
+ K[l >> 2] = g;
2768
2775
  if (c && f) {
2769
- eb(e, G, p, g + 1);
2776
+ fb(e, F, p, g + 1);
2770
2777
  } else {
2771
2778
  if (f) {
2772
2779
  for (f = 0; f < g; ++f) {
2773
- var l = e.charCodeAt(f);
2774
- 255 < l && (nc(p), Q("String has UTF-16 code units that do not fit in 8 bits"));
2775
- G[p + f] = l;
2780
+ var m = e.charCodeAt(f);
2781
+ 255 < m && (oc(p), R("String has UTF-16 code units that do not fit in 8 bits"));
2782
+ F[p + f] = m;
2776
2783
  }
2777
2784
  } else {
2778
2785
  for (f = 0; f < g; ++f) {
2779
- G[p + f] = e[f];
2786
+ F[p + f] = e[f];
2780
2787
  }
2781
2788
  }
2782
2789
  }
2783
- null !== d && d.push(nc, n);
2784
- return n;
2785
- }, argPackAdvance:8, readValueFromPointer:Bc, K:function(d) {
2786
- nc(d);
2790
+ null !== d && d.push(oc, l);
2791
+ return l;
2792
+ }, argPackAdvance:8, readValueFromPointer:Cc, K:function(d) {
2793
+ oc(d);
2787
2794
  },});
2788
2795
  }, _embind_register_std_wstring:function(a, b, c) {
2789
- c = S(c);
2796
+ c = T(c);
2790
2797
  if (2 === b) {
2791
- var d = ed;
2792
- var e = fd;
2793
- var f = gd;
2794
- var g = () => va;
2795
- var n = 1;
2798
+ var d = fd;
2799
+ var e = gd;
2800
+ var f = hd;
2801
+ var g = () => wa;
2802
+ var l = 1;
2796
2803
  } else {
2797
- 4 === b && (d = hd, e = jd, f = kd, g = () => K, n = 2);
2804
+ 4 === b && (d = jd, e = kd, f = ld, g = () => K, l = 2);
2798
2805
  }
2799
- U(a, {name:c, fromWireType:function(p) {
2800
- for (var l = K[p >> 2], t = g(), u, x = p + 4, k = 0; k <= l; ++k) {
2801
- var q = p + 4 + k * b;
2802
- if (k == l || 0 == t[q >> n]) {
2803
- x = d(x, q - x), void 0 === u ? u = x : (u += String.fromCharCode(0), u += x), x = q + b;
2806
+ V(a, {name:c, fromWireType:function(p) {
2807
+ for (var m = K[p >> 2], t = g(), v, x = p + 4, n = 0; n <= m; ++n) {
2808
+ var q = p + 4 + n * b;
2809
+ if (n == m || 0 == t[q >> l]) {
2810
+ x = d(x, q - x), void 0 === v ? v = x : (v += String.fromCharCode(0), v += x), x = q + b;
2804
2811
  }
2805
2812
  }
2806
- nc(p);
2807
- return u;
2808
- }, toWireType:function(p, l) {
2809
- "string" != typeof l && Q(`Cannot pass non-string to C++ string type ${c}`);
2810
- var t = f(l), u = Md(4 + t + b);
2811
- K[u >> 2] = t >> n;
2812
- e(l, u + 4, t + b);
2813
- null !== p && p.push(nc, u);
2814
- return u;
2815
- }, argPackAdvance:8, readValueFromPointer:Bc, K:function(p) {
2816
- nc(p);
2813
+ oc(p);
2814
+ return v;
2815
+ }, toWireType:function(p, m) {
2816
+ "string" != typeof m && R(`Cannot pass non-string to C++ string type ${c}`);
2817
+ var t = f(m), v = Nd(4 + t + b);
2818
+ K[v >> 2] = t >> l;
2819
+ e(m, v + 4, t + b);
2820
+ null !== p && p.push(oc, v);
2821
+ return v;
2822
+ }, argPackAdvance:8, readValueFromPointer:Cc, K:function(p) {
2823
+ oc(p);
2817
2824
  },});
2818
2825
  }, _embind_register_value_object:function(a, b, c, d, e, f) {
2819
- zc[a] = {name:S(b), Ra:V(c, d), W:V(e, f), ab:[],};
2820
- }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, n, p, l) {
2821
- zc[a].ab.push({Lb:S(b), Rb:c, Pb:V(d, e), Qb:f, fc:g, ec:V(n, p), hc:l,});
2826
+ Ac[a] = {name:T(b), Ra:W(c, d), W:W(e, f), ab:[],};
2827
+ }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, l, p, m) {
2828
+ Ac[a].ab.push({Mb:T(b), Sb:c, Qb:W(d, e), Rb:f, hc:g, fc:W(l, p), ic:m,});
2822
2829
  }, _embind_register_void:function(a, b) {
2823
- b = S(b);
2824
- U(a, {Zb:!0, name:b, argPackAdvance:0, fromWireType:function() {
2830
+ b = T(b);
2831
+ V(a, {$b:!0, name:b, argPackAdvance:0, fromWireType:function() {
2825
2832
  }, toWireType:function() {
2826
2833
  },});
2827
2834
  }, _emscripten_get_now_is_monotonic:() => !0, _emval_as:function(a, b, c) {
2828
- a = R(a);
2829
- b = oc(b, "emval::as");
2830
- var d = [], e = bc(d);
2835
+ a = S(a);
2836
+ b = pc(b, "emval::as");
2837
+ var d = [], e = cc(d);
2831
2838
  K[c >> 2] = e;
2832
2839
  return b.toWireType(d, a);
2833
2840
  }, _emval_call_method:function(a, b, c, d, e) {
2834
- a = nd[a];
2835
- b = R(b);
2836
- c = md(c);
2841
+ a = od[a];
2842
+ b = S(b);
2843
+ c = nd(c);
2837
2844
  var f = [];
2838
- K[d >> 2] = bc(f);
2845
+ K[d >> 2] = cc(f);
2839
2846
  return a(b, c, f, e);
2840
2847
  }, _emval_call_void_method:function(a, b, c, d) {
2841
- a = nd[a];
2842
- b = R(b);
2843
- c = md(c);
2848
+ a = od[a];
2849
+ b = S(b);
2850
+ c = nd(c);
2844
2851
  a(b, c, null, d);
2845
- }, _emval_decref:$c, _emval_get_method_caller:function(a, b) {
2846
- var c = pd(a, b), d = c[0];
2852
+ }, _emval_decref:ad, _emval_get_method_caller:function(a, b) {
2853
+ var c = qd(a, b), d = c[0];
2847
2854
  b = d.name + "_$" + c.slice(1).map(function(g) {
2848
2855
  return g.name;
2849
2856
  }).join("_") + "$";
2850
- var e = qd[b];
2857
+ var e = rd[b];
2851
2858
  if (void 0 !== e) {
2852
2859
  return e;
2853
2860
  }
2854
2861
  var f = Array(a - 1);
2855
- e = od((g, n, p, l) => {
2856
- for (var t = 0, u = 0; u < a - 1; ++u) {
2857
- f[u] = c[u + 1].readValueFromPointer(l + t), t += c[u + 1].argPackAdvance;
2862
+ e = pd((g, l, p, m) => {
2863
+ for (var t = 0, v = 0; v < a - 1; ++v) {
2864
+ f[v] = c[v + 1].readValueFromPointer(m + t), t += c[v + 1].argPackAdvance;
2858
2865
  }
2859
- g = g[n].apply(g, f);
2860
- for (u = 0; u < a - 1; ++u) {
2861
- c[u + 1].Hb && c[u + 1].Hb(f[u]);
2866
+ g = g[l].apply(g, f);
2867
+ for (v = 0; v < a - 1; ++v) {
2868
+ c[v + 1].Ib && c[v + 1].Ib(f[v]);
2862
2869
  }
2863
- if (!d.Zb) {
2870
+ if (!d.$b) {
2864
2871
  return d.toWireType(p, g);
2865
2872
  }
2866
2873
  });
2867
- return qd[b] = e;
2874
+ return rd[b] = e;
2868
2875
  }, _emval_get_property:function(a, b) {
2869
- a = R(a);
2870
- b = R(b);
2871
- return bc(a[b]);
2876
+ a = S(a);
2877
+ b = S(b);
2878
+ return cc(a[b]);
2872
2879
  }, _emval_incref:function(a) {
2873
- 4 < a && (P.get(a).qb += 1);
2880
+ 4 < a && (Q.get(a).qb += 1);
2874
2881
  }, _emval_new_cstring:function(a) {
2875
- return bc(md(a));
2882
+ return cc(nd(a));
2876
2883
  }, _emval_new_object:function() {
2877
- return bc({});
2884
+ return cc({});
2878
2885
  }, _emval_run_destructors:function(a) {
2879
- var b = R(a);
2880
- Ac(b);
2881
- $c(a);
2886
+ var b = S(a);
2887
+ Bc(b);
2888
+ ad(a);
2882
2889
  }, _emval_set_property:function(a, b, c) {
2883
- a = R(a);
2884
- b = R(b);
2885
- c = R(c);
2890
+ a = S(a);
2891
+ b = S(b);
2892
+ c = S(c);
2886
2893
  a[b] = c;
2887
2894
  }, _emval_take_value:function(a, b) {
2888
- a = oc(a, "_emval_take_value");
2895
+ a = pc(a, "_emval_take_value");
2889
2896
  a = a.readValueFromPointer(b);
2890
- return bc(a);
2897
+ return cc(a);
2891
2898
  }, abort:() => {
2892
- sa("");
2899
+ ta("");
2893
2900
  }, beginPixelLocalStorageWEBGL:function(a, b, c) {
2894
- (a = w[a].D.ja) && a.beginPixelLocalStorageWEBGL(m.HEAPU32.subarray(c, c + b));
2901
+ (a = w[a].D.ja) && a.beginPixelLocalStorageWEBGL(k.HEAPU32.subarray(c, c + b));
2895
2902
  }, decode_image:function(a, b, c) {
2896
- var d = m.images;
2897
- d || (d = new Map(), m.images = d);
2903
+ var d = k.images;
2904
+ d || (d = new Map(), k.images = d);
2898
2905
  var e = new Image();
2899
2906
  d.set(a, e);
2900
- b = m.HEAP8.subarray(b, b + c);
2907
+ b = k.HEAP8.subarray(b, b + c);
2901
2908
  c = new Uint8Array(c);
2902
2909
  c.set(b);
2903
2910
  e.src = URL.createObjectURL(new Blob([c], {type:"image/png"}));
2904
2911
  e.onload = function() {
2905
- m._setWebImage(a, e.width, e.height);
2912
+ k._setWebImage(a, e.width, e.height);
2906
2913
  };
2907
2914
  }, delete_image:function(a) {
2908
- var b = m.images;
2915
+ var b = k.images;
2909
2916
  b && b.get(a) && b.delete(a);
2910
2917
  }, emscripten_asm_const_int:(a, b, c) => {
2911
- rd.length = 0;
2918
+ sd.length = 0;
2912
2919
  var d;
2913
- for (c >>= 2; d = G[b++];) {
2914
- c += 105 != d & c, rd.push(105 == d ? J[c] : xa[c++ >> 1]), ++c;
2920
+ for (c >>= 2; d = F[b++];) {
2921
+ c += 105 != d & c, sd.push(105 == d ? J[c] : ya[c++ >> 1]), ++c;
2915
2922
  }
2916
- return Ta[a].apply(null, rd);
2923
+ return Ua[a].apply(null, sd);
2917
2924
  }, emscripten_date_now:function() {
2918
2925
  return Date.now();
2919
- }, emscripten_get_now:() => performance.now(), emscripten_memcpy_big:(a, b, c) => G.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
2920
- var b = G.length;
2926
+ }, emscripten_get_now:() => performance.now(), emscripten_memcpy_big:(a, b, c) => F.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
2927
+ var b = F.length;
2921
2928
  a >>>= 0;
2922
2929
  if (2147483648 < a) {
2923
2930
  return !1;
@@ -2928,10 +2935,10 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2928
2935
  var e = Math;
2929
2936
  d = Math.max(a, d);
2930
2937
  a: {
2931
- e = e.min.call(e, 2147483648, d + (65536 - d % 65536) % 65536) - ta.buffer.byteLength + 65535 >>> 16;
2938
+ e = e.min.call(e, 2147483648, d + (65536 - d % 65536) % 65536) - ua.buffer.byteLength + 65535 >>> 16;
2932
2939
  try {
2933
- ta.grow(e);
2934
- ya();
2940
+ ua.grow(e);
2941
+ za();
2935
2942
  var f = 1;
2936
2943
  break a;
2937
2944
  } catch (g) {
@@ -2945,16 +2952,16 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2945
2952
  return !1;
2946
2953
  }, emscripten_webgl_enable_extension:function(a, b) {
2947
2954
  a = w[a];
2948
- b = b ? L(G, b) : "";
2955
+ b = b ? M(F, b) : "";
2949
2956
  b.startsWith("GL_") && (b = b.substr(3));
2950
- "WEBGL_draw_instanced_base_vertex_base_instance" == b && sd(Y);
2951
- "WEBGL_multi_draw_instanced_base_vertex_base_instance" == b && td(Y);
2952
- "WEBGL_multi_draw" == b && Fd(Y);
2957
+ "WEBGL_draw_instanced_base_vertex_base_instance" == b && td(Z);
2958
+ "WEBGL_multi_draw_instanced_base_vertex_base_instance" == b && ud(Z);
2959
+ "WEBGL_multi_draw" == b && Gd(Z);
2953
2960
  return !!a.D.getExtension(b);
2954
2961
  }, emscripten_webgl_get_current_context:function() {
2955
2962
  return r ? r.handle : 0;
2956
2963
  }, emscripten_webgl_make_context_current:function(a) {
2957
- return ia(a) ? 0 : -5;
2964
+ return ja(a) ? 0 : -5;
2958
2965
  }, enable_WEBGL_provoking_vertex:function(a) {
2959
2966
  a = w[a].D;
2960
2967
  a.nb = a.getExtension("WEBGL_provoking_vertex");
@@ -2964,10 +2971,10 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2964
2971
  a.ja = a.getExtension("WEBGL_shader_pixel_local_storage");
2965
2972
  return !(!a.ja || !a.ja.isCoherent());
2966
2973
  }, endPixelLocalStorageWEBGL:function(a, b, c) {
2967
- (a = w[a].D.ja) && a.endPixelLocalStorageWEBGL(m.HEAPU32.subarray(c, c + b));
2974
+ (a = w[a].D.ja) && a.endPixelLocalStorageWEBGL(k.HEAPU32.subarray(c, c + b));
2968
2975
  }, environ_get:(a, b) => {
2969
2976
  var c = 0;
2970
- Id().forEach(function(d, e) {
2977
+ Jd().forEach(function(d, e) {
2971
2978
  var f = b + c;
2972
2979
  e = K[a + 4 * e >> 2] = f;
2973
2980
  for (f = 0; f < d.length; ++f) {
@@ -2978,7 +2985,7 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2978
2985
  });
2979
2986
  return 0;
2980
2987
  }, environ_sizes_get:(a, b) => {
2981
- var c = Id();
2988
+ var c = Jd();
2982
2989
  K[a >> 2] = c.length;
2983
2990
  var d = 0;
2984
2991
  c.forEach(function(e) {
@@ -2988,9 +2995,9 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2988
2995
  return 0;
2989
2996
  }, fd_close:function(a) {
2990
2997
  try {
2991
- var b = Ib(a);
2998
+ var b = Jb(a);
2992
2999
  if (null === b.X) {
2993
- throw new M(8);
3000
+ throw new N(8);
2994
3001
  }
2995
3002
  b.Oa && (b.Oa = null);
2996
3003
  try {
@@ -2998,12 +3005,12 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2998
3005
  } catch (c) {
2999
3006
  throw c;
3000
3007
  } finally {
3001
- vb[b.X] = null;
3008
+ wb[b.X] = null;
3002
3009
  }
3003
3010
  b.X = null;
3004
3011
  return 0;
3005
3012
  } catch (c) {
3006
- if ("undefined" == typeof Vb || "ErrnoError" !== c.name) {
3013
+ if ("undefined" == typeof Wb || "ErrnoError" !== c.name) {
3007
3014
  throw c;
3008
3015
  }
3009
3016
  return c.aa;
@@ -3011,38 +3018,38 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
3011
3018
  }, fd_read:function(a, b, c, d) {
3012
3019
  try {
3013
3020
  a: {
3014
- var e = Ib(a);
3021
+ var e = Jb(a);
3015
3022
  a = b;
3016
3023
  for (var f, g = b = 0; g < c; g++) {
3017
- var n = K[a >> 2], p = K[a + 4 >> 2];
3024
+ var l = K[a >> 2], p = K[a + 4 >> 2];
3018
3025
  a += 8;
3019
- var l = e, t = n, u = p, x = f, k = D;
3020
- if (0 > u || 0 > x) {
3021
- throw new M(28);
3026
+ var m = e, t = l, v = p, x = f, n = D;
3027
+ if (0 > v || 0 > x) {
3028
+ throw new N(28);
3022
3029
  }
3023
- if (null === l.X) {
3024
- throw new M(8);
3030
+ if (null === m.X) {
3031
+ throw new N(8);
3025
3032
  }
3026
- if (1 === (l.flags & 2097155)) {
3027
- throw new M(8);
3033
+ if (1 === (m.flags & 2097155)) {
3034
+ throw new N(8);
3028
3035
  }
3029
- if (16384 === (l.node.mode & 61440)) {
3030
- throw new M(31);
3036
+ if (16384 === (m.node.mode & 61440)) {
3037
+ throw new N(31);
3031
3038
  }
3032
- if (!l.m.read) {
3033
- throw new M(28);
3039
+ if (!m.m.read) {
3040
+ throw new N(28);
3034
3041
  }
3035
3042
  var q = "undefined" != typeof x;
3036
3043
  if (!q) {
3037
- x = l.position;
3038
- } else if (!l.seekable) {
3039
- throw new M(70);
3044
+ x = m.position;
3045
+ } else if (!m.seekable) {
3046
+ throw new N(70);
3040
3047
  }
3041
- var v = l.m.read(l, k, t, u, x);
3042
- q || (l.position += v);
3043
- var y = v;
3048
+ var u = m.m.read(m, n, t, v, x);
3049
+ q || (m.position += u);
3050
+ var y = u;
3044
3051
  if (0 > y) {
3045
- var C = -1;
3052
+ var z = -1;
3046
3053
  break a;
3047
3054
  }
3048
3055
  b += y;
@@ -3051,15 +3058,15 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
3051
3058
  }
3052
3059
  "undefined" !== typeof f && (f += y);
3053
3060
  }
3054
- C = b;
3061
+ z = b;
3055
3062
  }
3056
- K[d >> 2] = C;
3063
+ K[d >> 2] = z;
3057
3064
  return 0;
3058
- } catch (z) {
3059
- if ("undefined" == typeof Vb || "ErrnoError" !== z.name) {
3060
- throw z;
3065
+ } catch (A) {
3066
+ if ("undefined" == typeof Wb || "ErrnoError" !== A.name) {
3067
+ throw A;
3061
3068
  }
3062
- return z.aa;
3069
+ return A.aa;
3063
3070
  }
3064
3071
  }, fd_seek:function(a, b, c, d, e) {
3065
3072
  b = c + 2097152 >>> 0 < 4194305 - !!b ? (b >>> 0) + 4294967296 * c : NaN;
@@ -3067,15 +3074,15 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
3067
3074
  if (isNaN(b)) {
3068
3075
  return 61;
3069
3076
  }
3070
- var f = Ib(a);
3071
- Qb(f, b, d);
3072
- Pa = [f.position >>> 0, (Oa = f.position, 1.0 <= +Math.abs(Oa) ? 0.0 < Oa ? +Math.floor(Oa / 4294967296.0) >>> 0 : ~~+Math.ceil((Oa - +(~~Oa >>> 0)) / 4294967296.0) >>> 0 : 0)];
3073
- J[e >> 2] = Pa[0];
3074
- J[e + 4 >> 2] = Pa[1];
3077
+ var f = Jb(a);
3078
+ Rb(f, b, d);
3079
+ Qa = [f.position >>> 0, (Pa = f.position, 1.0 <= +Math.abs(Pa) ? 0.0 < Pa ? +Math.floor(Pa / 4294967296.0) >>> 0 : ~~+Math.ceil((Pa - +(~~Pa >>> 0)) / 4294967296.0) >>> 0 : 0)];
3080
+ J[e >> 2] = Qa[0];
3081
+ J[e + 4 >> 2] = Qa[1];
3075
3082
  f.Oa && 0 === b && 0 === d && (f.Oa = null);
3076
3083
  return 0;
3077
3084
  } catch (g) {
3078
- if ("undefined" == typeof Vb || "ErrnoError" !== g.name) {
3085
+ if ("undefined" == typeof Wb || "ErrnoError" !== g.name) {
3079
3086
  throw g;
3080
3087
  }
3081
3088
  return g.aa;
@@ -3083,432 +3090,432 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
3083
3090
  }, fd_write:function(a, b, c, d) {
3084
3091
  try {
3085
3092
  a: {
3086
- var e = Ib(a);
3093
+ var e = Jb(a);
3087
3094
  a = b;
3088
3095
  for (var f, g = b = 0; g < c; g++) {
3089
- var n = K[a >> 2], p = K[a + 4 >> 2];
3096
+ var l = K[a >> 2], p = K[a + 4 >> 2];
3090
3097
  a += 8;
3091
- var l = e, t = n, u = p, x = f, k = D;
3092
- if (0 > u || 0 > x) {
3093
- throw new M(28);
3098
+ var m = e, t = l, v = p, x = f, n = D;
3099
+ if (0 > v || 0 > x) {
3100
+ throw new N(28);
3094
3101
  }
3095
- if (null === l.X) {
3096
- throw new M(8);
3102
+ if (null === m.X) {
3103
+ throw new N(8);
3097
3104
  }
3098
- if (0 === (l.flags & 2097155)) {
3099
- throw new M(8);
3105
+ if (0 === (m.flags & 2097155)) {
3106
+ throw new N(8);
3100
3107
  }
3101
- if (16384 === (l.node.mode & 61440)) {
3102
- throw new M(31);
3108
+ if (16384 === (m.node.mode & 61440)) {
3109
+ throw new N(31);
3103
3110
  }
3104
- if (!l.m.write) {
3105
- throw new M(28);
3111
+ if (!m.m.write) {
3112
+ throw new N(28);
3106
3113
  }
3107
- l.seekable && l.flags & 1024 && Qb(l, 0, 2);
3114
+ m.seekable && m.flags & 1024 && Rb(m, 0, 2);
3108
3115
  var q = "undefined" != typeof x;
3109
3116
  if (!q) {
3110
- x = l.position;
3111
- } else if (!l.seekable) {
3112
- throw new M(70);
3117
+ x = m.position;
3118
+ } else if (!m.seekable) {
3119
+ throw new N(70);
3113
3120
  }
3114
- var v = l.m.write(l, k, t, u, x, void 0);
3115
- q || (l.position += v);
3116
- var y = v;
3121
+ var u = m.m.write(m, n, t, v, x, void 0);
3122
+ q || (m.position += u);
3123
+ var y = u;
3117
3124
  if (0 > y) {
3118
- var C = -1;
3125
+ var z = -1;
3119
3126
  break a;
3120
3127
  }
3121
3128
  b += y;
3122
3129
  "undefined" !== typeof f && (f += y);
3123
3130
  }
3124
- C = b;
3131
+ z = b;
3125
3132
  }
3126
- K[d >> 2] = C;
3133
+ K[d >> 2] = z;
3127
3134
  return 0;
3128
- } catch (z) {
3129
- if ("undefined" == typeof Vb || "ErrnoError" !== z.name) {
3130
- throw z;
3135
+ } catch (A) {
3136
+ if ("undefined" == typeof Wb || "ErrnoError" !== A.name) {
3137
+ throw A;
3131
3138
  }
3132
- return z.aa;
3139
+ return A.aa;
3133
3140
  }
3134
3141
  }, framebufferPixelLocalClearValuefvWEBGL:function(a, b, c, d, e, f) {
3135
3142
  (a = w[a].D.ja) && a.framebufferPixelLocalClearValuefvWEBGL(b, [c, d, e, f]);
3136
3143
  }, framebufferTexturePixelLocalStorageWEBGL:function(a, b, c, d, e) {
3137
- (a = w[a].D.ja) && a.framebufferTexturePixelLocalStorageWEBGL(b, yd[c], d, e);
3144
+ (a = w[a].D.ja) && a.framebufferTexturePixelLocalStorageWEBGL(b, zd[c], d, e);
3138
3145
  }, glActiveTexture:function(a) {
3139
- Y.activeTexture(a);
3146
+ Z.activeTexture(a);
3140
3147
  }, glAttachShader:function(a, b) {
3141
- Y.attachShader(W[a], zd[b]);
3148
+ Z.attachShader(X[a], Ad[b]);
3142
3149
  }, glBindBuffer:function(a, b) {
3143
- 35051 == a ? Y.Ya = b : 35052 == a && (Y.Ma = b);
3144
- Y.bindBuffer(a, vd[b]);
3150
+ 35051 == a ? Z.Ya = b : 35052 == a && (Z.Ma = b);
3151
+ Z.bindBuffer(a, wd[b]);
3145
3152
  }, glBindBufferRange:function(a, b, c, d, e) {
3146
- Y.bindBufferRange(a, b, vd[c], d, e);
3153
+ Z.bindBufferRange(a, b, wd[c], d, e);
3147
3154
  }, glBindFramebuffer:function(a, b) {
3148
- Y.bindFramebuffer(a, wd[b]);
3155
+ Z.bindFramebuffer(a, xd[b]);
3149
3156
  }, glBindRenderbuffer:function(a, b) {
3150
- Y.bindRenderbuffer(a, xd[b]);
3157
+ Z.bindRenderbuffer(a, yd[b]);
3151
3158
  }, glBindTexture:function(a, b) {
3152
- Y.bindTexture(a, yd[b]);
3159
+ Z.bindTexture(a, zd[b]);
3153
3160
  }, glBindVertexArray:function(a) {
3154
- Y.bindVertexArray(Ad[a]);
3161
+ Z.bindVertexArray(Bd[a]);
3155
3162
  }, glBlendEquation:function(a) {
3156
- Y.blendEquation(a);
3163
+ Z.blendEquation(a);
3157
3164
  }, glBlendFunc:function(a, b) {
3158
- Y.blendFunc(a, b);
3159
- }, glBlitFramebuffer:function(a, b, c, d, e, f, g, n, p, l) {
3160
- Y.blitFramebuffer(a, b, c, d, e, f, g, n, p, l);
3165
+ Z.blendFunc(a, b);
3166
+ }, glBlitFramebuffer:function(a, b, c, d, e, f, g, l, p, m) {
3167
+ Z.blitFramebuffer(a, b, c, d, e, f, g, l, p, m);
3161
3168
  }, glBufferData:function(a, b, c, d) {
3162
- c && b ? Y.bufferData(a, G, d, c, b) : Y.bufferData(a, b, d);
3169
+ c && b ? Z.bufferData(a, F, d, c, b) : Z.bufferData(a, b, d);
3163
3170
  }, glBufferSubData:function(a, b, c, d) {
3164
- c && Y.bufferSubData(a, b, G, d, c);
3171
+ c && Z.bufferSubData(a, b, F, d, c);
3165
3172
  }, glClear:function(a) {
3166
- Y.clear(a);
3173
+ Z.clear(a);
3167
3174
  }, glClearColor:function(a, b, c, d) {
3168
- Y.clearColor(a, b, c, d);
3175
+ Z.clearColor(a, b, c, d);
3169
3176
  }, glClearDepthf:function(a) {
3170
- Y.clearDepth(a);
3177
+ Z.clearDepth(a);
3171
3178
  }, glClearStencil:function(a) {
3172
- Y.clearStencil(a);
3179
+ Z.clearStencil(a);
3173
3180
  }, glColorMask:function(a, b, c, d) {
3174
- Y.colorMask(!!a, !!b, !!c, !!d);
3181
+ Z.colorMask(!!a, !!b, !!c, !!d);
3175
3182
  }, glCompileShader:function(a) {
3176
- Y.compileShader(zd[a]);
3183
+ Z.compileShader(Ad[a]);
3177
3184
  }, glCreateProgram:function() {
3178
- var a = Dd(W), b = Y.createProgram();
3185
+ var a = Ed(X), b = Z.createProgram();
3179
3186
  b.name = a;
3180
- b.Gc = b.Ec = b.Fc = 0;
3187
+ b.Hc = b.Fc = b.Gc = 0;
3181
3188
  b.Ua = 1;
3182
- W[a] = b;
3189
+ X[a] = b;
3183
3190
  return a;
3184
3191
  }, glCreateShader:function(a) {
3185
- var b = Dd(zd);
3186
- zd[b] = Y.createShader(a);
3192
+ var b = Ed(Ad);
3193
+ Ad[b] = Z.createShader(a);
3187
3194
  return b;
3188
3195
  }, glCullFace:function(a) {
3189
- Y.cullFace(a);
3196
+ Z.cullFace(a);
3190
3197
  }, glDeleteBuffers:function(a, b) {
3191
3198
  for (var c = 0; c < a; c++) {
3192
- var d = J[b + 4 * c >> 2], e = vd[d];
3193
- e && (Y.deleteBuffer(e), e.name = 0, vd[d] = null, d == Y.Ya && (Y.Ya = 0), d == Y.Ma && (Y.Ma = 0));
3199
+ var d = J[b + 4 * c >> 2], e = wd[d];
3200
+ e && (Z.deleteBuffer(e), e.name = 0, wd[d] = null, d == Z.Ya && (Z.Ya = 0), d == Z.Ma && (Z.Ma = 0));
3194
3201
  }
3195
3202
  }, glDeleteFramebuffers:function(a, b) {
3196
3203
  for (var c = 0; c < a; ++c) {
3197
- var d = J[b + 4 * c >> 2], e = wd[d];
3198
- e && (Y.deleteFramebuffer(e), e.name = 0, wd[d] = null);
3204
+ var d = J[b + 4 * c >> 2], e = xd[d];
3205
+ e && (Z.deleteFramebuffer(e), e.name = 0, xd[d] = null);
3199
3206
  }
3200
3207
  }, glDeleteProgram:function(a) {
3201
3208
  if (a) {
3202
- var b = W[a];
3203
- b ? (Y.deleteProgram(b), b.name = 0, W[a] = null) : X(1281);
3209
+ var b = X[a];
3210
+ b ? (Z.deleteProgram(b), b.name = 0, X[a] = null) : Y(1281);
3204
3211
  }
3205
3212
  }, glDeleteRenderbuffers:function(a, b) {
3206
3213
  for (var c = 0; c < a; c++) {
3207
- var d = J[b + 4 * c >> 2], e = xd[d];
3208
- e && (Y.deleteRenderbuffer(e), e.name = 0, xd[d] = null);
3214
+ var d = J[b + 4 * c >> 2], e = yd[d];
3215
+ e && (Z.deleteRenderbuffer(e), e.name = 0, yd[d] = null);
3209
3216
  }
3210
3217
  }, glDeleteShader:function(a) {
3211
3218
  if (a) {
3212
- var b = zd[a];
3213
- b ? (Y.deleteShader(b), zd[a] = null) : X(1281);
3219
+ var b = Ad[a];
3220
+ b ? (Z.deleteShader(b), Ad[a] = null) : Y(1281);
3214
3221
  }
3215
3222
  }, glDeleteTextures:function(a, b) {
3216
3223
  for (var c = 0; c < a; c++) {
3217
- var d = J[b + 4 * c >> 2], e = yd[d];
3218
- e && (Y.deleteTexture(e), e.name = 0, yd[d] = null);
3224
+ var d = J[b + 4 * c >> 2], e = zd[d];
3225
+ e && (Z.deleteTexture(e), e.name = 0, zd[d] = null);
3219
3226
  }
3220
3227
  }, glDeleteVertexArrays:function(a, b) {
3221
3228
  for (var c = 0; c < a; c++) {
3222
3229
  var d = J[b + 4 * c >> 2];
3223
- Y.deleteVertexArray(Ad[d]);
3224
- Ad[d] = null;
3230
+ Z.deleteVertexArray(Bd[d]);
3231
+ Bd[d] = null;
3225
3232
  }
3226
3233
  }, glDepthFunc:function(a) {
3227
- Y.depthFunc(a);
3234
+ Z.depthFunc(a);
3228
3235
  }, glDepthMask:function(a) {
3229
- Y.depthMask(!!a);
3236
+ Z.depthMask(!!a);
3230
3237
  }, glDepthRangef:function(a, b) {
3231
- Y.depthRange(a, b);
3238
+ Z.depthRange(a, b);
3232
3239
  }, glDisable:function(a) {
3233
- Y.disable(a);
3240
+ Z.disable(a);
3234
3241
  }, glDrawArrays:function(a, b, c) {
3235
- Y.drawArrays(a, b, c);
3242
+ Z.drawArrays(a, b, c);
3236
3243
  }, glDrawArraysInstanced:function(a, b, c, d) {
3237
- Y.drawArraysInstanced(a, b, c, d);
3244
+ Z.drawArraysInstanced(a, b, c, d);
3238
3245
  }, glDrawBuffers:function(a, b) {
3239
- for (var c = Jd[a], d = 0; d < a; d++) {
3246
+ for (var c = Kd[a], d = 0; d < a; d++) {
3240
3247
  c[d] = J[b + 4 * d >> 2];
3241
3248
  }
3242
- Y.drawBuffers(c);
3249
+ Z.drawBuffers(c);
3243
3250
  }, glDrawElements:function(a, b, c, d) {
3244
- Y.drawElements(a, b, c, d);
3251
+ Z.drawElements(a, b, c, d);
3245
3252
  }, glDrawElementsInstanced:function(a, b, c, d, e) {
3246
- Y.drawElementsInstanced(a, b, c, d, e);
3253
+ Z.drawElementsInstanced(a, b, c, d, e);
3247
3254
  }, glEnable:function(a) {
3248
- Y.enable(a);
3255
+ Z.enable(a);
3249
3256
  }, glEnableVertexAttribArray:function(a) {
3250
- Y.enableVertexAttribArray(a);
3257
+ Z.enableVertexAttribArray(a);
3251
3258
  }, glFlush:function() {
3252
- Y.flush();
3259
+ Z.flush();
3253
3260
  }, glFramebufferRenderbuffer:function(a, b, c, d) {
3254
- Y.framebufferRenderbuffer(a, b, c, xd[d]);
3261
+ Z.framebufferRenderbuffer(a, b, c, yd[d]);
3255
3262
  }, glFramebufferTexture2D:function(a, b, c, d, e) {
3256
- Y.framebufferTexture2D(a, b, c, yd[d], e);
3263
+ Z.framebufferTexture2D(a, b, c, zd[d], e);
3257
3264
  }, glFrontFace:function(a) {
3258
- Y.frontFace(a);
3265
+ Z.frontFace(a);
3259
3266
  }, glGenBuffers:function(a, b) {
3260
- Kd(a, b, "createBuffer", vd);
3267
+ Ld(a, b, "createBuffer", wd);
3261
3268
  }, glGenFramebuffers:function(a, b) {
3262
- Kd(a, b, "createFramebuffer", wd);
3269
+ Ld(a, b, "createFramebuffer", xd);
3263
3270
  }, glGenRenderbuffers:function(a, b) {
3264
- Kd(a, b, "createRenderbuffer", xd);
3271
+ Ld(a, b, "createRenderbuffer", yd);
3265
3272
  }, glGenTextures:function(a, b) {
3266
- Kd(a, b, "createTexture", yd);
3273
+ Ld(a, b, "createTexture", zd);
3267
3274
  }, glGenVertexArrays:function(a, b) {
3268
- Kd(a, b, "createVertexArray", Ad);
3275
+ Ld(a, b, "createVertexArray", Bd);
3269
3276
  }, glGenerateMipmap:function(a) {
3270
- Y.generateMipmap(a);
3277
+ Z.generateMipmap(a);
3271
3278
  }, glGetIntegerv:function(a, b) {
3272
- Ld(a, b);
3279
+ Md(a, b);
3273
3280
  }, glGetString:function(a) {
3274
- var b = Bd[a];
3281
+ var b = Cd[a];
3275
3282
  if (!b) {
3276
3283
  switch(a) {
3277
3284
  case 7939:
3278
- b = Y.getSupportedExtensions() || [];
3285
+ b = Z.getSupportedExtensions() || [];
3279
3286
  b = b.concat(b.map(function(d) {
3280
3287
  return "GL_" + d;
3281
3288
  }));
3282
- b = Nd(b.join(" "));
3289
+ b = Od(b.join(" "));
3283
3290
  break;
3284
3291
  case 7936:
3285
3292
  case 7937:
3286
3293
  case 37445:
3287
3294
  case 37446:
3288
- (b = Y.getParameter(a)) || X(1280);
3289
- b = b && Nd(b);
3295
+ (b = Z.getParameter(a)) || Y(1280);
3296
+ b = b && Od(b);
3290
3297
  break;
3291
3298
  case 7938:
3292
- b = Nd("OpenGL ES 3.0 (" + Y.getParameter(7938) + ")");
3299
+ b = Od("OpenGL ES 3.0 (" + Z.getParameter(7938) + ")");
3293
3300
  break;
3294
3301
  case 35724:
3295
- b = Y.getParameter(35724);
3302
+ b = Z.getParameter(35724);
3296
3303
  var c = b.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);
3297
3304
  null !== c && (3 == c[1].length && (c[1] += "0"), b = "OpenGL ES GLSL ES " + c[1] + " (" + b + ")");
3298
- b = Nd(b);
3305
+ b = Od(b);
3299
3306
  break;
3300
3307
  default:
3301
- X(1280);
3308
+ Y(1280);
3302
3309
  }
3303
- Bd[a] = b;
3310
+ Cd[a] = b;
3304
3311
  }
3305
3312
  return b;
3306
3313
  }, glGetUniformBlockIndex:function(a, b) {
3307
- return Y.getUniformBlockIndex(W[a], b ? L(G, b) : "");
3314
+ return Z.getUniformBlockIndex(X[a], b ? M(F, b) : "");
3308
3315
  }, glGetUniformLocation:function(a, b) {
3309
- b = b ? L(G, b) : "";
3310
- if (a = W[a]) {
3316
+ b = b ? M(F, b) : "";
3317
+ if (a = X[a]) {
3311
3318
  var c = a, d = c.oa, e = c.vb, f;
3312
3319
  if (!d) {
3313
- for (c.oa = d = {}, c.ub = {}, f = 0; f < Y.getProgramParameter(c, 35718); ++f) {
3314
- var g = Y.getActiveUniform(c, f);
3315
- var n = g.name;
3320
+ for (c.oa = d = {}, c.ub = {}, f = 0; f < Z.getProgramParameter(c, 35718); ++f) {
3321
+ var g = Z.getActiveUniform(c, f);
3322
+ var l = g.name;
3316
3323
  g = g.size;
3317
- var p = Od(n);
3318
- p = 0 < p ? n.slice(0, p) : n;
3319
- var l = c.Ua;
3324
+ var p = Pd(l);
3325
+ p = 0 < p ? l.slice(0, p) : l;
3326
+ var m = c.Ua;
3320
3327
  c.Ua += g;
3321
- e[p] = [g, l];
3322
- for (n = 0; n < g; ++n) {
3323
- d[l] = n, c.ub[l++] = p;
3328
+ e[p] = [g, m];
3329
+ for (l = 0; l < g; ++l) {
3330
+ d[m] = l, c.ub[m++] = p;
3324
3331
  }
3325
3332
  }
3326
3333
  }
3327
3334
  c = a.oa;
3328
3335
  d = 0;
3329
3336
  e = b;
3330
- f = Od(b);
3337
+ f = Pd(b);
3331
3338
  0 < f && (d = parseInt(b.slice(f + 1)) >>> 0, e = b.slice(0, f));
3332
- if ((e = a.vb[e]) && d < e[0] && (d += e[1], c[d] = c[d] || Y.getUniformLocation(a, b))) {
3339
+ if ((e = a.vb[e]) && d < e[0] && (d += e[1], c[d] = c[d] || Z.getUniformLocation(a, b))) {
3333
3340
  return d;
3334
3341
  }
3335
3342
  } else {
3336
- X(1281);
3343
+ Y(1281);
3337
3344
  }
3338
3345
  return -1;
3339
3346
  }, glInvalidateFramebuffer:function(a, b, c) {
3340
- for (var d = Jd[b], e = 0; e < b; e++) {
3347
+ for (var d = Kd[b], e = 0; e < b; e++) {
3341
3348
  d[e] = J[c + 4 * e >> 2];
3342
3349
  }
3343
- Y.invalidateFramebuffer(a, d);
3350
+ Z.invalidateFramebuffer(a, d);
3344
3351
  }, glLinkProgram:function(a) {
3345
- a = W[a];
3346
- Y.linkProgram(a);
3352
+ a = X[a];
3353
+ Z.linkProgram(a);
3347
3354
  a.oa = 0;
3348
3355
  a.vb = {};
3349
3356
  }, glPixelStorei:function(a, b) {
3350
- Y.pixelStorei(a, b);
3357
+ Z.pixelStorei(a, b);
3351
3358
  }, glRenderbufferStorageMultisample:function(a, b, c, d, e) {
3352
- Y.renderbufferStorageMultisample(a, b, c, d, e);
3359
+ Z.renderbufferStorageMultisample(a, b, c, d, e);
3353
3360
  }, glScissor:function(a, b, c, d) {
3354
- Y.scissor(a, b, c, d);
3361
+ Z.scissor(a, b, c, d);
3355
3362
  }, glShaderSource:function(a, b, c, d) {
3356
3363
  for (var e = "", f = 0; f < b; ++f) {
3357
- var g = d ? J[d + 4 * f >> 2] : -1, n = J[c + 4 * f >> 2];
3358
- g = n ? L(G, n, 0 > g ? void 0 : g) : "";
3364
+ var g = d ? J[d + 4 * f >> 2] : -1, l = J[c + 4 * f >> 2];
3365
+ g = l ? M(F, l, 0 > g ? void 0 : g) : "";
3359
3366
  e += g;
3360
3367
  }
3361
- Y.shaderSource(zd[a], e);
3368
+ Z.shaderSource(Ad[a], e);
3362
3369
  }, glStencilFunc:function(a, b, c) {
3363
- Y.stencilFunc(a, b, c);
3370
+ Z.stencilFunc(a, b, c);
3364
3371
  }, glStencilFuncSeparate:function(a, b, c, d) {
3365
- Y.stencilFuncSeparate(a, b, c, d);
3372
+ Z.stencilFuncSeparate(a, b, c, d);
3366
3373
  }, glStencilMask:function(a) {
3367
- Y.stencilMask(a);
3374
+ Z.stencilMask(a);
3368
3375
  }, glStencilOp:function(a, b, c) {
3369
- Y.stencilOp(a, b, c);
3376
+ Z.stencilOp(a, b, c);
3370
3377
  }, glStencilOpSeparate:function(a, b, c, d) {
3371
- Y.stencilOpSeparate(a, b, c, d);
3378
+ Z.stencilOpSeparate(a, b, c, d);
3372
3379
  }, glTexParameteri:function(a, b, c) {
3373
- Y.texParameteri(a, b, c);
3380
+ Z.texParameteri(a, b, c);
3374
3381
  }, glTexStorage2D:function(a, b, c, d, e) {
3375
- Y.texStorage2D(a, b, c, d, e);
3376
- }, glTexSubImage2D:function(a, b, c, d, e, f, g, n, p) {
3377
- if (Y.Ma) {
3378
- Y.texSubImage2D(a, b, c, d, e, f, g, n, p);
3382
+ Z.texStorage2D(a, b, c, d, e);
3383
+ }, glTexSubImage2D:function(a, b, c, d, e, f, g, l, p) {
3384
+ if (Z.Ma) {
3385
+ Z.texSubImage2D(a, b, c, d, e, f, g, l, p);
3379
3386
  } else if (p) {
3380
- var l = n - 5120;
3381
- l = 0 == l ? D : 1 == l ? G : 2 == l ? I : 4 == l ? J : 6 == l ? wa : 5 == l || 28922 == l || 28520 == l || 30779 == l || 30782 == l ? K : va;
3382
- Y.texSubImage2D(a, b, c, d, e, f, g, n, l, p >> 31 - Math.clz32(l.BYTES_PER_ELEMENT));
3387
+ var m = l - 5120;
3388
+ m = 0 == m ? D : 1 == m ? F : 2 == m ? H : 4 == m ? J : 6 == m ? xa : 5 == m || 28922 == m || 28520 == m || 30779 == m || 30782 == m ? K : wa;
3389
+ Z.texSubImage2D(a, b, c, d, e, f, g, l, m, p >> 31 - Math.clz32(m.BYTES_PER_ELEMENT));
3383
3390
  } else {
3384
- Y.texSubImage2D(a, b, c, d, e, f, g, n, null);
3391
+ Z.texSubImage2D(a, b, c, d, e, f, g, l, null);
3385
3392
  }
3386
3393
  }, glUniform1i:function(a, b) {
3387
- var c = Y, d = c.uniform1i;
3388
- var e = Y.Gb;
3394
+ var c = Z, d = c.uniform1i;
3395
+ var e = Z.Hb;
3389
3396
  if (e) {
3390
3397
  var f = e.oa[a];
3391
- "number" == typeof f && (e.oa[a] = f = Y.getUniformLocation(e, e.ub[a] + (0 < f ? "[" + f + "]" : "")));
3398
+ "number" == typeof f && (e.oa[a] = f = Z.getUniformLocation(e, e.ub[a] + (0 < f ? "[" + f + "]" : "")));
3392
3399
  a = f;
3393
3400
  } else {
3394
- X(1282), a = void 0;
3401
+ Y(1282), a = void 0;
3395
3402
  }
3396
3403
  d.call(c, a, b);
3397
3404
  }, glUniformBlockBinding:function(a, b, c) {
3398
- a = W[a];
3399
- Y.uniformBlockBinding(a, b, c);
3405
+ a = X[a];
3406
+ Z.uniformBlockBinding(a, b, c);
3400
3407
  }, glUseProgram:function(a) {
3401
- a = W[a];
3402
- Y.useProgram(a);
3403
- Y.Gb = a;
3408
+ a = X[a];
3409
+ Z.useProgram(a);
3410
+ Z.Hb = a;
3404
3411
  }, glVertexAttribDivisor:function(a, b) {
3405
- Y.vertexAttribDivisor(a, b);
3412
+ Z.vertexAttribDivisor(a, b);
3406
3413
  }, glVertexAttribIPointer:function(a, b, c, d, e) {
3407
- Y.vertexAttribIPointer(a, b, c, d, e);
3414
+ Z.vertexAttribIPointer(a, b, c, d, e);
3408
3415
  }, glVertexAttribPointer:function(a, b, c, d, e, f) {
3409
- Y.vertexAttribPointer(a, b, c, !!d, e, f);
3416
+ Z.vertexAttribPointer(a, b, c, !!d, e, f);
3410
3417
  }, glViewport:function(a, b, c, d) {
3411
- Y.viewport(a, b, c, d);
3418
+ Z.viewport(a, b, c, d);
3412
3419
  }, provokingVertexWEBGL:function(a, b) {
3413
3420
  (a = w[a].D.nb) && a.provokingVertexWEBGL(b);
3414
- }, strftime_l:(a, b, c, d) => Sd(a, b, c, d), upload_image:function(a, b) {
3415
- var c = m.images;
3421
+ }, strftime_l:(a, b, c, d) => Td(a, b, c, d), upload_image:function(a, b) {
3422
+ var c = k.images;
3416
3423
  c && (b = c.get(b)) && (a = w[a].D, a.texImage2D(a.TEXTURE_2D, 0, a.RGBA, a.RGBA, a.UNSIGNED_BYTE, b));
3417
3424
  }};
3418
3425
  (function() {
3419
3426
  function a(c) {
3420
- B = c = c.exports;
3421
- ta = B.memory;
3422
- ya();
3423
- za = B.__indirect_function_table;
3424
- Ba.unshift(B.__wasm_call_ctors);
3425
- Ea--;
3426
- m.monitorRunDependencies && m.monitorRunDependencies(Ea);
3427
- if (0 == Ea && (null !== Fa && (clearInterval(Fa), Fa = null), Ga)) {
3428
- var d = Ga;
3429
- Ga = null;
3427
+ C = c = c.exports;
3428
+ ua = C.memory;
3429
+ za();
3430
+ Aa = C.__indirect_function_table;
3431
+ Ca.unshift(C.__wasm_call_ctors);
3432
+ Fa--;
3433
+ k.monitorRunDependencies && k.monitorRunDependencies(Fa);
3434
+ if (0 == Fa && (null !== Ga && (clearInterval(Ga), Ga = null), Ha)) {
3435
+ var d = Ha;
3436
+ Ha = null;
3430
3437
  d();
3431
3438
  }
3432
3439
  return c;
3433
3440
  }
3434
- var b = {env:Xd, wasi_snapshot_preview1:Xd,};
3435
- Ea++;
3436
- m.monitorRunDependencies && m.monitorRunDependencies(Ea);
3437
- if (m.instantiateWasm) {
3441
+ var b = {env:Yd, wasi_snapshot_preview1:Yd,};
3442
+ Fa++;
3443
+ k.monitorRunDependencies && k.monitorRunDependencies(Fa);
3444
+ if (k.instantiateWasm) {
3438
3445
  try {
3439
- return m.instantiateWasm(b, a);
3446
+ return k.instantiateWasm(b, a);
3440
3447
  } catch (c) {
3441
- qa("Module.instantiateWasm callback failed with error: " + c), ba(c);
3448
+ ra("Module.instantiateWasm callback failed with error: " + c), ca(c);
3442
3449
  }
3443
3450
  }
3444
- Na(b, function(c) {
3451
+ Oa(b, function(c) {
3445
3452
  a(c.instance);
3446
- }).catch(ba);
3453
+ }).catch(ca);
3447
3454
  return {};
3448
3455
  })();
3449
- var nc = a => (nc = B.free)(a), Md = a => (Md = B.malloc)(a);
3450
- m._setWebImage = (a, b, c) => (m._setWebImage = B.setWebImage)(a, b, c);
3451
- var Qa = m._ma_device__on_notification_unlocked = a => (Qa = m._ma_device__on_notification_unlocked = B.ma_device__on_notification_unlocked)(a);
3452
- m._ma_malloc_emscripten = (a, b) => (m._ma_malloc_emscripten = B.ma_malloc_emscripten)(a, b);
3453
- m._ma_free_emscripten = (a, b) => (m._ma_free_emscripten = B.ma_free_emscripten)(a, b);
3454
- var Ra = m._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (Ra = m._ma_device_process_pcm_frames_capture__webaudio = B.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), Sa = m._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (Sa = m._ma_device_process_pcm_frames_playback__webaudio = B.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Wd = () => (Wd = B.__errno_location)(), mc = a => (mc = B.__getTypeName)(a);
3455
- m.__embind_initialize_bindings = () => (m.__embind_initialize_bindings = B._embind_initialize_bindings)();
3456
- m.dynCall_iiji = (a, b, c, d, e) => (m.dynCall_iiji = B.dynCall_iiji)(a, b, c, d, e);
3457
- m.dynCall_iiiji = (a, b, c, d, e, f) => (m.dynCall_iiiji = B.dynCall_iiiji)(a, b, c, d, e, f);
3458
- m.dynCall_iij = (a, b, c, d) => (m.dynCall_iij = B.dynCall_iij)(a, b, c, d);
3459
- m.dynCall_jii = (a, b, c) => (m.dynCall_jii = B.dynCall_jii)(a, b, c);
3460
- m.dynCall_jiji = (a, b, c, d, e) => (m.dynCall_jiji = B.dynCall_jiji)(a, b, c, d, e);
3461
- m.dynCall_viijii = (a, b, c, d, e, f, g) => (m.dynCall_viijii = B.dynCall_viijii)(a, b, c, d, e, f, g);
3462
- m.dynCall_iiiiij = (a, b, c, d, e, f, g) => (m.dynCall_iiiiij = B.dynCall_iiiiij)(a, b, c, d, e, f, g);
3463
- m.dynCall_iiiiijj = (a, b, c, d, e, f, g, n, p) => (m.dynCall_iiiiijj = B.dynCall_iiiiijj)(a, b, c, d, e, f, g, n, p);
3464
- m.dynCall_iiiiiijj = (a, b, c, d, e, f, g, n, p, l) => (m.dynCall_iiiiiijj = B.dynCall_iiiiiijj)(a, b, c, d, e, f, g, n, p, l);
3465
- m.___start_em_js = 502876;
3466
- m.___stop_em_js = 505310;
3467
- var Yd;
3468
- Ga = function Zd() {
3469
- Yd || $d();
3470
- Yd || (Ga = Zd);
3456
+ var oc = a => (oc = C.free)(a), Nd = a => (Nd = C.malloc)(a);
3457
+ k._setWebImage = (a, b, c) => (k._setWebImage = C.setWebImage)(a, b, c);
3458
+ var Ra = k._ma_device__on_notification_unlocked = a => (Ra = k._ma_device__on_notification_unlocked = C.ma_device__on_notification_unlocked)(a);
3459
+ k._ma_malloc_emscripten = (a, b) => (k._ma_malloc_emscripten = C.ma_malloc_emscripten)(a, b);
3460
+ k._ma_free_emscripten = (a, b) => (k._ma_free_emscripten = C.ma_free_emscripten)(a, b);
3461
+ var Sa = k._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (Sa = k._ma_device_process_pcm_frames_capture__webaudio = C.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), Ta = k._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (Ta = k._ma_device_process_pcm_frames_playback__webaudio = C.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Xd = () => (Xd = C.__errno_location)(), nc = a => (nc = C.__getTypeName)(a);
3462
+ k.__embind_initialize_bindings = () => (k.__embind_initialize_bindings = C._embind_initialize_bindings)();
3463
+ k.dynCall_iiji = (a, b, c, d, e) => (k.dynCall_iiji = C.dynCall_iiji)(a, b, c, d, e);
3464
+ k.dynCall_iiiji = (a, b, c, d, e, f) => (k.dynCall_iiiji = C.dynCall_iiiji)(a, b, c, d, e, f);
3465
+ k.dynCall_iij = (a, b, c, d) => (k.dynCall_iij = C.dynCall_iij)(a, b, c, d);
3466
+ k.dynCall_jii = (a, b, c) => (k.dynCall_jii = C.dynCall_jii)(a, b, c);
3467
+ k.dynCall_jiji = (a, b, c, d, e) => (k.dynCall_jiji = C.dynCall_jiji)(a, b, c, d, e);
3468
+ k.dynCall_viijii = (a, b, c, d, e, f, g) => (k.dynCall_viijii = C.dynCall_viijii)(a, b, c, d, e, f, g);
3469
+ k.dynCall_iiiiij = (a, b, c, d, e, f, g) => (k.dynCall_iiiiij = C.dynCall_iiiiij)(a, b, c, d, e, f, g);
3470
+ k.dynCall_iiiiijj = (a, b, c, d, e, f, g, l, p) => (k.dynCall_iiiiijj = C.dynCall_iiiiijj)(a, b, c, d, e, f, g, l, p);
3471
+ k.dynCall_iiiiiijj = (a, b, c, d, e, f, g, l, p, m) => (k.dynCall_iiiiiijj = C.dynCall_iiiiiijj)(a, b, c, d, e, f, g, l, p, m);
3472
+ k.___start_em_js = 505484;
3473
+ k.___stop_em_js = 507918;
3474
+ var Zd;
3475
+ Ha = function $d() {
3476
+ Zd || ae();
3477
+ Zd || (Ha = $d);
3471
3478
  };
3472
- function $d() {
3479
+ function ae() {
3473
3480
  function a() {
3474
- if (!Yd && (Yd = !0, m.calledRun = !0, !ua)) {
3475
- m.noFSInit || Sb || (Sb = !0, Rb(), m.stdin = m.stdin, m.stdout = m.stdout, m.stderr = m.stderr, m.stdin ? Ub("stdin", m.stdin) : Nb("/dev/tty", "/dev/stdin"), m.stdout ? Ub("stdout", null, m.stdout) : Nb("/dev/tty", "/dev/stdout"), m.stderr ? Ub("stderr", null, m.stderr) : Nb("/dev/tty1", "/dev/stderr"), Pb("/dev/stdin", 0), Pb("/dev/stdout", 1), Pb("/dev/stderr", 1));
3476
- yb = !1;
3477
- Ua(Ba);
3478
- aa(m);
3479
- if (m.onRuntimeInitialized) {
3480
- m.onRuntimeInitialized();
3481
+ if (!Zd && (Zd = !0, k.calledRun = !0, !va)) {
3482
+ k.noFSInit || Tb || (Tb = !0, Sb(), k.stdin = k.stdin, k.stdout = k.stdout, k.stderr = k.stderr, k.stdin ? Vb("stdin", k.stdin) : Ob("/dev/tty", "/dev/stdin"), k.stdout ? Vb("stdout", null, k.stdout) : Ob("/dev/tty", "/dev/stdout"), k.stderr ? Vb("stderr", null, k.stderr) : Ob("/dev/tty1", "/dev/stderr"), Qb("/dev/stdin", 0), Qb("/dev/stdout", 1), Qb("/dev/stderr", 1));
3483
+ zb = !1;
3484
+ Va(Ca);
3485
+ ba(k);
3486
+ if (k.onRuntimeInitialized) {
3487
+ k.onRuntimeInitialized();
3481
3488
  }
3482
- if (m.postRun) {
3483
- for ("function" == typeof m.postRun && (m.postRun = [m.postRun]); m.postRun.length;) {
3484
- var b = m.postRun.shift();
3485
- Ca.unshift(b);
3489
+ if (k.postRun) {
3490
+ for ("function" == typeof k.postRun && (k.postRun = [k.postRun]); k.postRun.length;) {
3491
+ var b = k.postRun.shift();
3492
+ Da.unshift(b);
3486
3493
  }
3487
3494
  }
3488
- Ua(Ca);
3495
+ Va(Da);
3489
3496
  }
3490
3497
  }
3491
- if (!(0 < Ea)) {
3492
- if (m.preRun) {
3493
- for ("function" == typeof m.preRun && (m.preRun = [m.preRun]); m.preRun.length;) {
3494
- Da();
3498
+ if (!(0 < Fa)) {
3499
+ if (k.preRun) {
3500
+ for ("function" == typeof k.preRun && (k.preRun = [k.preRun]); k.preRun.length;) {
3501
+ Ea();
3495
3502
  }
3496
3503
  }
3497
- Ua(Aa);
3498
- 0 < Ea || (m.setStatus ? (m.setStatus("Running..."), setTimeout(function() {
3504
+ Va(Ba);
3505
+ 0 < Fa || (k.setStatus ? (k.setStatus("Running..."), setTimeout(function() {
3499
3506
  setTimeout(function() {
3500
- m.setStatus("");
3507
+ k.setStatus("");
3501
3508
  }, 1);
3502
3509
  a();
3503
3510
  }, 1)) : a());
3504
3511
  }
3505
3512
  }
3506
- if (m.preInit) {
3507
- for ("function" == typeof m.preInit && (m.preInit = [m.preInit]); 0 < m.preInit.length;) {
3508
- m.preInit.pop()();
3513
+ if (k.preInit) {
3514
+ for ("function" == typeof k.preInit && (k.preInit = [k.preInit]); 0 < k.preInit.length;) {
3515
+ k.preInit.pop()();
3509
3516
  }
3510
3517
  }
3511
- $d();
3518
+ ae();
3512
3519
 
3513
3520
 
3514
3521