@rive-app/webgl2 2.25.1 → 2.25.2

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 (4) hide show
  1. package/package.json +1 -1
  2. package/rive.js +272 -267
  3. package/rive.js.map +1 -1
  4. package/rive.wasm +0 -0
package/rive.js CHANGED
@@ -26,17 +26,17 @@ var Rive = (() => {
26
26
  return (
27
27
  function(moduleArg = {}) {
28
28
 
29
- var m = moduleArg, aa, ba;
30
- m.ready = new Promise((a, b) => {
29
+ var n = moduleArg, aa, ba;
30
+ n.ready = new Promise((a, b) => {
31
31
  aa = a;
32
32
  ba = b;
33
33
  });
34
34
  function ca() {
35
35
  function a(g) {
36
- const n = d;
36
+ const m = d;
37
37
  c = b = 0;
38
38
  d = new Map();
39
- n.forEach(p => {
39
+ m.forEach(p => {
40
40
  try {
41
41
  p(g);
42
42
  } catch (l) {
@@ -49,9 +49,9 @@ function ca() {
49
49
  let b = 0, c = 0, d = new Map(), e = null, f = null;
50
50
  this.requestAnimationFrame = function(g) {
51
51
  b || (b = requestAnimationFrame(a.bind(this)));
52
- const n = ++c;
53
- d.set(n, g);
54
- return n;
52
+ const m = ++c;
53
+ d.set(m, g);
54
+ return m;
55
55
  };
56
56
  this.cancelAnimationFrame = function(g) {
57
57
  d.delete(g);
@@ -59,14 +59,14 @@ function ca() {
59
59
  };
60
60
  this.Jb = function(g) {
61
61
  f && (document.body.remove(f), f = null);
62
- 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) {
63
- f.innerHTML = "RIVE FPS " + n.toFixed(1);
62
+ 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(m) {
63
+ f.innerHTML = "RIVE FPS " + m.toFixed(1);
64
64
  }, document.body.appendChild(f));
65
65
  e = new function() {
66
- let n = 0, p = 0;
66
+ let m = 0, p = 0;
67
67
  this.Lb = function() {
68
68
  var l = performance.now();
69
- p ? (++n, l -= p, 1000 < l && (g(1000 * n / l), n = p = 0)) : (p = l, n = 0);
69
+ p ? (++m, l -= p, 1000 < l && (g(1000 * m / l), m = p = 0)) : (p = l, m = 0);
70
70
  };
71
71
  }();
72
72
  };
@@ -88,44 +88,44 @@ function da() {
88
88
  return b << 8;
89
89
  };
90
90
  }
91
- const ea = m.onRuntimeInitialized;
92
- m.onRuntimeInitialized = function() {
91
+ const ea = n.onRuntimeInitialized;
92
+ n.onRuntimeInitialized = function() {
93
93
  ea && ea();
94
- let a = m.decodeAudio;
95
- m.decodeAudio = function(e, f) {
94
+ let a = n.decodeAudio;
95
+ n.decodeAudio = function(e, f) {
96
96
  e = a(e);
97
97
  f(e);
98
98
  };
99
- let b = m.decodeFont;
100
- m.decodeFont = function(e, f) {
99
+ let b = n.decodeFont;
100
+ n.decodeFont = function(e, f) {
101
101
  e = b(e);
102
102
  f(e);
103
103
  };
104
- const c = m.FileAssetLoader;
105
- m.ptrToAsset = e => {
106
- let f = m.ptrToFileAsset(e);
107
- return f.isImage ? m.ptrToImageAsset(e) : f.isFont ? m.ptrToFontAsset(e) : f.isAudio ? m.ptrToAudioAsset(e) : f;
104
+ const c = n.FileAssetLoader;
105
+ n.ptrToAsset = e => {
106
+ let f = n.ptrToFileAsset(e);
107
+ return f.isImage ? n.ptrToImageAsset(e) : f.isFont ? n.ptrToFontAsset(e) : f.isAudio ? n.ptrToAudioAsset(e) : f;
108
108
  };
109
- m.CustomFileAssetLoader = c.extend("CustomFileAssetLoader", {__construct:function({loadContents:e}) {
109
+ n.CustomFileAssetLoader = c.extend("CustomFileAssetLoader", {__construct:function({loadContents:e}) {
110
110
  this.__parent.__construct.call(this);
111
111
  this.Ab = e;
112
112
  }, loadContents:function(e, f) {
113
- e = m.ptrToAsset(e);
113
+ e = n.ptrToAsset(e);
114
114
  return this.Ab(e, f);
115
115
  },});
116
- m.CDNFileAssetLoader = c.extend("CDNFileAssetLoader", {__construct:function() {
116
+ n.CDNFileAssetLoader = c.extend("CDNFileAssetLoader", {__construct:function() {
117
117
  this.__parent.__construct.call(this);
118
118
  }, loadContents:function(e) {
119
- let f = m.ptrToAsset(e);
119
+ let f = n.ptrToAsset(e);
120
120
  e = f.cdnUuid;
121
121
  if ("" === e) {
122
122
  return !1;
123
123
  }
124
- (function(g, n) {
124
+ (function(g, m) {
125
125
  var p = new XMLHttpRequest();
126
126
  p.responseType = "arraybuffer";
127
127
  p.onreadystatechange = function() {
128
- 4 == p.readyState && 200 == p.status && n(p);
128
+ 4 == p.readyState && 200 == p.status && m(p);
129
129
  };
130
130
  p.open("GET", g, !0);
131
131
  p.send(null);
@@ -134,7 +134,7 @@ m.onRuntimeInitialized = function() {
134
134
  });
135
135
  return !0;
136
136
  },});
137
- m.FallbackFileAssetLoader = c.extend("FallbackFileAssetLoader", {__construct:function() {
137
+ n.FallbackFileAssetLoader = c.extend("FallbackFileAssetLoader", {__construct:function() {
138
138
  this.__parent.__construct.call(this);
139
139
  this.fb = [];
140
140
  }, addLoader:function(e) {
@@ -147,13 +147,13 @@ m.onRuntimeInitialized = function() {
147
147
  }
148
148
  return !1;
149
149
  },});
150
- let d = m.computeAlignment;
151
- m.computeAlignment = function(e, f, g, n, p = 1.0) {
152
- return d.call(this, e, f, g, n, p);
150
+ let d = n.computeAlignment;
151
+ n.computeAlignment = function(e, f, g, m, p = 1.0) {
152
+ return d.call(this, e, f, g, m, p);
153
153
  };
154
154
  };
155
- const fa = m.onRuntimeInitialized;
156
- m.onRuntimeInitialized = function() {
155
+ const fa = n.onRuntimeInitialized;
156
+ n.onRuntimeInitialized = function() {
157
157
  function a(k) {
158
158
  this.F = k;
159
159
  this.yb = k.getContext("2d");
@@ -217,8 +217,8 @@ m.onRuntimeInitialized = function() {
217
217
  }
218
218
  q = Math.min(q, k);
219
219
  q = Math.min(v, k);
220
- B.sort((Y, rb) => rb.Ia - Y.Ia);
221
- y = new m.DynamicRectanizer(k);
220
+ B.sort((Y, sb) => sb.Ia - Y.Ia);
221
+ y = new n.DynamicRectanizer(k);
222
222
  for (E = 0; E < B.length;) {
223
223
  y.reset(q, v);
224
224
  for (D = E; D < B.length; ++D) {
@@ -230,7 +230,7 @@ m.onRuntimeInitialized = function() {
230
230
  H.ra = F & 65535;
231
231
  H.sa = F >> 16;
232
232
  }
233
- H = n.push(y.drawWidth());
233
+ H = m.push(y.drawWidth());
234
234
  F = p.push(y.drawHeight());
235
235
  console.assert(H >= y.drawWidth());
236
236
  console.assert(F >= y.drawHeight());
@@ -242,15 +242,15 @@ m.onRuntimeInitialized = function() {
242
242
  for (H = E; H < D; ++H) {
243
243
  F = B[H];
244
244
  d.saveClipRect(F.ra, F.sa, F.ra + F.fa, F.sa + F.ea);
245
- let Y = new m.Mat2D();
245
+ let Y = new n.Mat2D();
246
246
  Y.xx = F.fa / F.F.width;
247
247
  Y.yy = F.ea / F.F.height;
248
248
  Y.xy = Y.yx = 0;
249
249
  Y.tx = F.ra;
250
250
  Y.ty = F.sa;
251
251
  d.transform(Y);
252
- for (const rb of F.S) {
253
- rb();
252
+ for (const sb of F.S) {
253
+ sb();
254
254
  }
255
255
  d.restoreClipRect();
256
256
  F.S = [];
@@ -265,8 +265,8 @@ m.onRuntimeInitialized = function() {
265
265
  }
266
266
  fa && fa();
267
267
  let d = null;
268
- const e = new Set(), f = m.makeRenderer;
269
- m.makeRenderer = function(k, q) {
268
+ const e = new Set(), f = n.makeRenderer;
269
+ n.makeRenderer = function(k, q) {
270
270
  if (!d) {
271
271
  function v(y) {
272
272
  var B = document.createElement("canvas");
@@ -286,25 +286,25 @@ m.onRuntimeInitialized = function() {
286
286
  }
287
287
  return q ? new a(k) : b(k, d.Ja);
288
288
  };
289
- const g = m.Artboard.prototype.draw;
290
- m.Artboard.prototype.draw = function(k) {
289
+ const g = n.Artboard.prototype.draw;
290
+ n.Artboard.prototype.draw = function(k) {
291
291
  k.S ? k.S.push(g.bind(this, k.Cb)) : g.call(this, k);
292
292
  };
293
- const n = new da(), p = new da(), l = new ca();
294
- m.requestAnimationFrame = l.requestAnimationFrame.bind(l);
295
- m.cancelAnimationFrame = l.cancelAnimationFrame.bind(l);
296
- m.enableFPSCounter = l.Jb.bind(l);
293
+ const m = new da(), p = new da(), l = new ca();
294
+ n.requestAnimationFrame = l.requestAnimationFrame.bind(l);
295
+ n.cancelAnimationFrame = l.cancelAnimationFrame.bind(l);
296
+ n.enableFPSCounter = l.Jb.bind(l);
297
297
  l.jb = c;
298
- m.resolveAnimationFrame = c;
299
- let t = m.load;
300
- m.load = function(k, q, v = !0) {
301
- const y = new m.FallbackFileAssetLoader();
298
+ n.resolveAnimationFrame = c;
299
+ let t = n.load;
300
+ n.load = function(k, q, v = !0) {
301
+ const y = new n.FallbackFileAssetLoader();
302
302
  void 0 !== q && y.addLoader(q);
303
- v && (q = new m.CDNFileAssetLoader(), y.addLoader(q));
303
+ v && (q = new n.CDNFileAssetLoader(), y.addLoader(q));
304
304
  return Promise.resolve(t(k, y));
305
305
  };
306
- const u = m.WebGL2Renderer.prototype.clear;
307
- m.WebGL2Renderer.prototype.clear = function() {
306
+ const u = n.WebGL2Renderer.prototype.clear;
307
+ n.WebGL2Renderer.prototype.clear = function() {
308
308
  ja(this.zb);
309
309
  const k = this.F;
310
310
  if (this.Va != k.width || this.Ua != k.height) {
@@ -312,16 +312,16 @@ m.onRuntimeInitialized = function() {
312
312
  }
313
313
  u.call(this);
314
314
  };
315
- m.decodeImage = function(k, q) {
316
- k = m.decodeWebGL2Image(k);
315
+ n.decodeImage = function(k, q) {
316
+ k = n.decodeWebGL2Image(k);
317
317
  q(k);
318
318
  };
319
- let x = m.Renderer.prototype.align;
320
- m.Renderer.prototype.align = function(k, q, v, y, B = 1.0) {
319
+ let x = n.Renderer.prototype.align;
320
+ n.Renderer.prototype.align = function(k, q, v, y, B = 1.0) {
321
321
  x.call(this, k, q, v, y, B);
322
322
  };
323
323
  };
324
- var ka = Object.assign({}, m), la = "./this.program", ma = "object" == typeof window, na = "function" == typeof importScripts, w = "", oa, pa;
324
+ var ka = Object.assign({}, n), la = "./this.program", ma = "object" == typeof window, na = "function" == typeof importScripts, w = "", oa, pa;
325
325
  if (ma || na) {
326
326
  na ? w = self.location.href : "undefined" != typeof document && document.currentScript && (w = document.currentScript.src), _scriptDir && (w = _scriptDir), 0 !== w.indexOf("blob:") ? w = w.substr(0, w.replace(/[?#].*/, "").lastIndexOf("/") + 1) : w = "", na && (pa = a => {
327
327
  var b = new XMLHttpRequest();
@@ -340,35 +340,35 @@ if (ma || na) {
340
340
  d.send(null);
341
341
  };
342
342
  }
343
- var qa = m.print || console.log.bind(console), z = m.printErr || console.error.bind(console);
344
- Object.assign(m, ka);
343
+ var qa = n.print || console.log.bind(console), z = n.printErr || console.error.bind(console);
344
+ Object.assign(n, ka);
345
345
  ka = null;
346
- m.thisProgram && (la = m.thisProgram);
346
+ n.thisProgram && (la = n.thisProgram);
347
347
  var ra;
348
- m.wasmBinary && (ra = m.wasmBinary);
349
- var noExitRuntime = m.noExitRuntime || !0;
348
+ n.wasmBinary && (ra = n.wasmBinary);
349
+ var noExitRuntime = n.noExitRuntime || !0;
350
350
  "object" != typeof WebAssembly && sa("no native wasm support detected");
351
351
  var ta, A, ua = !1, C, G, I, va, J, K, wa, xa;
352
352
  function ya() {
353
353
  var a = ta.buffer;
354
- m.HEAP8 = C = new Int8Array(a);
355
- m.HEAP16 = I = new Int16Array(a);
356
- m.HEAP32 = J = new Int32Array(a);
357
- m.HEAPU8 = G = new Uint8Array(a);
358
- m.HEAPU16 = va = new Uint16Array(a);
359
- m.HEAPU32 = K = new Uint32Array(a);
360
- m.HEAPF32 = wa = new Float32Array(a);
361
- m.HEAPF64 = xa = new Float64Array(a);
354
+ n.HEAP8 = C = new Int8Array(a);
355
+ n.HEAP16 = I = new Int16Array(a);
356
+ n.HEAP32 = J = new Int32Array(a);
357
+ n.HEAPU8 = G = new Uint8Array(a);
358
+ n.HEAPU16 = va = new Uint16Array(a);
359
+ n.HEAPU32 = K = new Uint32Array(a);
360
+ n.HEAPF32 = wa = new Float32Array(a);
361
+ n.HEAPF64 = xa = new Float64Array(a);
362
362
  }
363
363
  var za, Aa = [], Ba = [], Ca = [];
364
364
  function Da() {
365
- var a = m.preRun.shift();
365
+ var a = n.preRun.shift();
366
366
  Aa.unshift(a);
367
367
  }
368
368
  var Ea = 0, Fa = null, Ga = null;
369
369
  function sa(a) {
370
- if (m.onAbort) {
371
- m.onAbort(a);
370
+ if (n.onAbort) {
371
+ n.onAbort(a);
372
372
  }
373
373
  a = "Aborted(" + a + ")";
374
374
  z(a);
@@ -384,7 +384,7 @@ var Ia;
384
384
  Ia = "webgl2_advanced.wasm";
385
385
  if (!Ha(Ia)) {
386
386
  var Ja = Ia;
387
- Ia = m.locateFile ? m.locateFile(Ja, w) : w + Ja;
387
+ Ia = n.locateFile ? n.locateFile(Ja, w) : w + Ja;
388
388
  }
389
389
  function Ka(a) {
390
390
  if (a == Ia && ra) {
@@ -427,7 +427,7 @@ function Na(a, b) {
427
427
  return Ma(c, a, b);
428
428
  }));
429
429
  }
430
- var Oa, Pa, Ta = {494414:(a, b, c, d, e) => {
430
+ var Oa, Pa, Ta = {494542:(a, b, c, d, e) => {
431
431
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
432
432
  return 0;
433
433
  }
@@ -443,9 +443,9 @@ var Oa, Pa, Ta = {494414:(a, b, c, d, e) => {
443
443
  let f = window.h;
444
444
  f.C = [];
445
445
  f.mc = function(g) {
446
- for (var n = 0; n < f.C.length; ++n) {
447
- if (null == f.C[n]) {
448
- return f.C[n] = g, n;
446
+ for (var m = 0; m < f.C.length; ++m) {
447
+ if (null == f.C[m]) {
448
+ return f.C[m] = g, m;
449
449
  }
450
450
  }
451
451
  f.C.push(g);
@@ -461,9 +461,9 @@ var Oa, Pa, Ta = {494414:(a, b, c, d, e) => {
461
461
  }
462
462
  };
463
463
  f.Oc = function(g) {
464
- for (var n = 0; n < f.C.length; ++n) {
465
- if (f.C[n] == g) {
466
- return f.xb(n);
464
+ for (var m = 0; m < f.C.length; ++m) {
465
+ if (f.C[m] == g) {
466
+ return f.xb(m);
467
467
  }
468
468
  }
469
469
  };
@@ -473,9 +473,9 @@ var Oa, Pa, Ta = {494414:(a, b, c, d, e) => {
473
473
  f.wb = ["touchend", "click"];
474
474
  f.unlock = function() {
475
475
  for (var g = 0; g < f.C.length; ++g) {
476
- var n = f.C[g];
477
- null != n && null != n.I && n.state === f.ia.sb && n.I.resume().then(() => {
478
- Qa(n.kb);
476
+ var m = f.C[g];
477
+ null != m && null != m.I && m.state === f.ia.sb && m.I.resume().then(() => {
478
+ Qa(m.kb);
479
479
  }, p => {
480
480
  console.error("Failed to resume audiocontext", p);
481
481
  });
@@ -490,9 +490,9 @@ var Oa, Pa, Ta = {494414:(a, b, c, d, e) => {
490
490
  }
491
491
  window.h.Da += 1;
492
492
  return 1;
493
- }, 496592:() => {
493
+ }, 496720:() => {
494
494
  "undefined" !== typeof window.h && (--window.h.Da, 0 === window.h.Da && delete window.h);
495
- }, 496756:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 496860:() => {
495
+ }, 496884:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 496988:() => {
496
496
  try {
497
497
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
498
498
  a.close();
@@ -500,13 +500,13 @@ var Oa, Pa, Ta = {494414:(a, b, c, d, e) => {
500
500
  } catch (c) {
501
501
  return 0;
502
502
  }
503
- }, 497031:(a, b, c, d, e, f) => {
503
+ }, 497159:(a, b, c, d, e, f) => {
504
504
  if ("undefined" === typeof window.h) {
505
505
  return -1;
506
506
  }
507
- var g = {}, n = {};
508
- a == window.h.H.Ba && 0 != c && (n.sampleRate = c);
509
- g.I = new (window.AudioContext || window.webkitAudioContext)(n);
507
+ var g = {}, m = {};
508
+ a == window.h.H.Ba && 0 != c && (m.sampleRate = c);
509
+ g.I = new (window.AudioContext || window.webkitAudioContext)(m);
510
510
  g.I.suspend();
511
511
  g.state = window.h.ia.stopped;
512
512
  c = 0;
@@ -546,7 +546,7 @@ var Oa, Pa, Ta = {494414:(a, b, c, d, e) => {
546
546
  a == window.h.H.Ba && g.Z.connect(g.I.destination);
547
547
  g.kb = f;
548
548
  return window.h.mc(g);
549
- }, 499908:a => window.h.va(a).I.sampleRate, 499981:a => {
549
+ }, 500036:a => window.h.va(a).I.sampleRate, 500109:a => {
550
550
  a = window.h.va(a);
551
551
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
552
552
  }, a.Z.disconnect(), a.Z = void 0);
@@ -554,19 +554,19 @@ var Oa, Pa, Ta = {494414:(a, b, c, d, e) => {
554
554
  a.I.close();
555
555
  a.I = void 0;
556
556
  a.kb = void 0;
557
- }, 500381:a => {
557
+ }, 500509:a => {
558
558
  window.h.xb(a);
559
- }, 500431:a => {
559
+ }, 500559:a => {
560
560
  a = window.h.va(a);
561
561
  a.I.resume();
562
562
  a.state = window.h.ia.sb;
563
- }, 500570:a => {
563
+ }, 500698:a => {
564
564
  a = window.h.va(a);
565
565
  a.I.suspend();
566
566
  a.state = window.h.ia.stopped;
567
567
  }}, Ua = a => {
568
568
  for (; 0 < a.length;) {
569
- a.shift()(m);
569
+ a.shift()(n);
570
570
  }
571
571
  }, Va = (a, b) => {
572
572
  for (var c = 0, d = a.length - 1; 0 <= d; d--) {
@@ -661,8 +661,8 @@ var bb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, L
661
661
  for (var f = 0; f < a.length; ++f) {
662
662
  var g = a.charCodeAt(f);
663
663
  if (55296 <= g && 57343 >= g) {
664
- var n = a.charCodeAt(++f);
665
- g = 65536 + ((g & 1023) << 10) | n & 1023;
664
+ var m = a.charCodeAt(++f);
665
+ g = 65536 + ((g & 1023) << 10) | m & 1023;
666
666
  }
667
667
  if (127 >= g) {
668
668
  if (c >= d) {
@@ -725,7 +725,7 @@ var jb = {open:function(a) {
725
725
  for (var e = 0, f = 0; f < d; f++) {
726
726
  try {
727
727
  var g = a.s.U.eb(a.s);
728
- } catch (n) {
728
+ } catch (m) {
729
729
  throw new M(29);
730
730
  }
731
731
  if (void 0 === g && 0 === e) {
@@ -950,7 +950,7 @@ var N = {O:null, T() {
950
950
  N.m.write(a, b, 0, d, c, !1);
951
951
  return 0;
952
952
  },},};
953
- function sb(a, b) {
953
+ function rb(a, b) {
954
954
  var c = 0;
955
955
  a && (c |= 365);
956
956
  b && (c |= 146);
@@ -1200,7 +1200,7 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1200
1200
  b &= -131713;
1201
1201
  e = Kb({node:e, path:Bb(e), flags:b, seekable:!0, position:0, m:e.m, nc:[], error:!1});
1202
1202
  e.m.open && e.m.open(e);
1203
- !m.logReadFiles || b & 1 || (Ob || (Ob = {}), a in Ob || (Ob[a] = 1));
1203
+ !n.logReadFiles || b & 1 || (Ob || (Ob = {}), a in Ob || (Ob[a] = 1));
1204
1204
  return e;
1205
1205
  }, Qb = (a, b, c) => {
1206
1206
  if (null === a.X) {
@@ -1229,14 +1229,14 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1229
1229
  }));
1230
1230
  }, Sb, Ub = (a, b, c) => {
1231
1231
  a = Wa("/dev/" + a);
1232
- var d = sb(!!b, !!c);
1232
+ var d = rb(!!b, !!c);
1233
1233
  Tb || (Tb = 64);
1234
1234
  var e = Tb++ << 8 | 0;
1235
1235
  ib(e, {open:f => {
1236
1236
  f.seekable = !1;
1237
1237
  }, close:() => {
1238
1238
  c && c.buffer && c.buffer.length && c(10);
1239
- }, read:(f, g, n, p) => {
1239
+ }, read:(f, g, m, p) => {
1240
1240
  for (var l = 0, t = 0; t < p; t++) {
1241
1241
  try {
1242
1242
  var u = b();
@@ -1250,14 +1250,14 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1250
1250
  break;
1251
1251
  }
1252
1252
  l++;
1253
- g[n + t] = u;
1253
+ g[m + t] = u;
1254
1254
  }
1255
1255
  l && (f.node.timestamp = Date.now());
1256
1256
  return l;
1257
- }, write:(f, g, n, p) => {
1257
+ }, write:(f, g, m, p) => {
1258
1258
  for (var l = 0; l < p; l++) {
1259
1259
  try {
1260
- c(g[n + l]);
1260
+ c(g[m + l]);
1261
1261
  } catch (t) {
1262
1262
  throw new M(29);
1263
1263
  }
@@ -1419,20 +1419,20 @@ function Bc(a) {
1419
1419
  }
1420
1420
  var Cc = {}, Dc = {};
1421
1421
  function T(a, b, c) {
1422
- function d(n) {
1423
- n = c(n);
1424
- n.length !== a.length && wc("Mismatched type converter count");
1422
+ function d(m) {
1423
+ m = c(m);
1424
+ m.length !== a.length && wc("Mismatched type converter count");
1425
1425
  for (var p = 0; p < a.length; ++p) {
1426
- U(a[p], n[p]);
1426
+ U(a[p], m[p]);
1427
1427
  }
1428
1428
  }
1429
- a.forEach(function(n) {
1430
- Dc[n] = b;
1429
+ a.forEach(function(m) {
1430
+ Dc[m] = b;
1431
1431
  });
1432
1432
  var e = Array(b.length), f = [], g = 0;
1433
- b.forEach((n, p) => {
1434
- kc.hasOwnProperty(n) ? e[p] = kc[n] : (f.push(n), Cc.hasOwnProperty(n) || (Cc[n] = []), Cc[n].push(() => {
1435
- e[p] = kc[n];
1433
+ b.forEach((m, p) => {
1434
+ kc.hasOwnProperty(m) ? e[p] = kc[m] : (f.push(m), Cc.hasOwnProperty(m) || (Cc[m] = []), Cc[m].push(() => {
1435
+ e[p] = kc[m];
1436
1436
  ++g;
1437
1437
  g === f.length && d(e);
1438
1438
  }));
@@ -1489,9 +1489,9 @@ function Ic(a, b, c) {
1489
1489
  }
1490
1490
  }
1491
1491
  function Jc(a, b, c) {
1492
- 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));
1492
+ n.hasOwnProperty(a) ? ((void 0 === c || void 0 !== n[a].B && void 0 !== n[a].B[c]) && Q(`Cannot register public name '${a}' twice`), Ic(n, a, a), n.hasOwnProperty(c) && Q(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`), n[a].B[c] = b) : (n[a] = b, void 0 !== c && (n[a].Lc = c));
1493
1493
  }
1494
- function Kc(a, b, c, d, e, f, g, n) {
1494
+ function Kc(a, b, c, d, e, f, g, m) {
1495
1495
  this.name = a;
1496
1496
  this.constructor = b;
1497
1497
  this.N = c;
@@ -1499,7 +1499,7 @@ function Kc(a, b, c, d, e, f, g, n) {
1499
1499
  this.A = e;
1500
1500
  this.Mb = f;
1501
1501
  this.pa = g;
1502
- this.Hb = n;
1502
+ this.Hb = m;
1503
1503
  this.lb = [];
1504
1504
  }
1505
1505
  function Lc(a, b, c) {
@@ -1574,8 +1574,8 @@ function Qc(a, b, c, d) {
1574
1574
  void 0 !== b.A ? this.toWireType = Oc : (this.toWireType = d ? Mc : Pc, this.K = null);
1575
1575
  }
1576
1576
  function Rc(a, b, c) {
1577
- m.hasOwnProperty(a) || wc("Replacing nonexistant public symbol");
1578
- void 0 !== m[a].B && void 0 !== c ? m[a].B[c] = b : (m[a] = b, m[a].ga = c);
1577
+ n.hasOwnProperty(a) || wc("Replacing nonexistant public symbol");
1578
+ void 0 !== n[a].B && void 0 !== c ? n[a].B[c] = b : (n[a] = b, n[a].ga = c);
1579
1579
  }
1580
1580
  var Sc = [], Tc = a => {
1581
1581
  var b = Sc[a];
@@ -1587,7 +1587,7 @@ var Sc = [], Tc = a => {
1587
1587
  c.length = 0;
1588
1588
  Object.assign(c, arguments);
1589
1589
  if (a.includes("j")) {
1590
- var d = m["dynCall_" + a];
1590
+ var d = n["dynCall_" + a];
1591
1591
  d = c && c.length ? d.apply(null, [b].concat(c)) : d.call(null, b);
1592
1592
  } else {
1593
1593
  d = Tc(b).apply(null, c);
@@ -1613,10 +1613,10 @@ function Wc(a, b) {
1613
1613
  function Xc(a, b, c, d, e) {
1614
1614
  var f = b.length;
1615
1615
  2 > f && Q("argTypes array size mismatch! Must at least get return value and 'this' types!");
1616
- var g = null !== b[1] && null !== c, n = !1;
1616
+ var g = null !== b[1] && null !== c, m = !1;
1617
1617
  for (c = 1; c < b.length; ++c) {
1618
1618
  if (null !== b[c] && void 0 === b[c].K) {
1619
- n = !0;
1619
+ m = !0;
1620
1620
  break;
1621
1621
  }
1622
1622
  }
@@ -1634,7 +1634,7 @@ function Xc(a, b, c, d, e) {
1634
1634
  t[q] = b[q + 2].toWireType(x, arguments[q]), u.push(t[q]);
1635
1635
  }
1636
1636
  q = d.apply(null, u);
1637
- if (n) {
1637
+ if (m) {
1638
1638
  Ac(x);
1639
1639
  } else {
1640
1640
  for (var v = g ? 1 : 2; v < b.length; v++) {
@@ -1829,7 +1829,7 @@ function ha(a) {
1829
1829
  }
1830
1830
  function ja(a) {
1831
1831
  Dd = r[a];
1832
- m.xc = Z = Dd && Dd.J;
1832
+ n.xc = Z = Dd && Dd.J;
1833
1833
  return !(a && !Z);
1834
1834
  }
1835
1835
  function ia(a) {
@@ -1998,7 +1998,7 @@ var Od = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), Pd = [31, 29, 31,
1998
1998
  0 === (y = v(k.getFullYear() - q.getFullYear())) && 0 === (y = v(k.getMonth() - q.getMonth())) && (y = v(k.getDate() - q.getDate()));
1999
1999
  return y;
2000
2000
  }
2001
- function n(k) {
2001
+ function m(k) {
2002
2002
  switch(k.getDay()) {
2003
2003
  case 0:
2004
2004
  return new Date(k.getFullYear() - 1, 11, 29);
@@ -2028,8 +2028,8 @@ var Od = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), Pd = [31, 29, 31,
2028
2028
  }
2029
2029
  }
2030
2030
  v = new Date(k.getFullYear() + 1, 0, 4);
2031
- q = n(new Date(k.getFullYear(), 0, 4));
2032
- v = n(v);
2031
+ q = m(new Date(k.getFullYear(), 0, 4));
2032
+ v = m(v);
2033
2033
  return 0 >= g(q, k) ? 0 >= g(v, k) ? k.getFullYear() + 1 : k.getFullYear() : k.getFullYear() - 1;
2034
2034
  }
2035
2035
  var l = J[d + 40 >> 2];
@@ -2147,7 +2147,7 @@ Object.assign($b.prototype, {get(a) {
2147
2147
  this.M[a] = void 0;
2148
2148
  this.cb.push(a);
2149
2149
  }});
2150
- ac = m.BindingError = class extends Error {
2150
+ ac = n.BindingError = class extends Error {
2151
2151
  constructor(a) {
2152
2152
  super(a);
2153
2153
  this.name = "BindingError";
@@ -2155,33 +2155,33 @@ ac = m.BindingError = class extends Error {
2155
2155
  };
2156
2156
  P.M.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2157
2157
  P.h = P.M.length;
2158
- m.count_emval_handles = function() {
2158
+ n.count_emval_handles = function() {
2159
2159
  for (var a = 0, b = P.h; b < P.M.length; ++b) {
2160
2160
  void 0 !== P.M[b] && ++a;
2161
2161
  }
2162
2162
  return a;
2163
2163
  };
2164
- dc = m.PureVirtualError = cc("PureVirtualError");
2164
+ dc = n.PureVirtualError = cc("PureVirtualError");
2165
2165
  for (var Sd = Array(256), Td = 0; 256 > Td; ++Td) {
2166
2166
  Sd[Td] = String.fromCharCode(Td);
2167
2167
  }
2168
2168
  ec = Sd;
2169
- m.getInheritedInstanceCount = function() {
2169
+ n.getInheritedInstanceCount = function() {
2170
2170
  return Object.keys(ic).length;
2171
2171
  };
2172
- m.getLiveInheritedInstances = function() {
2172
+ n.getLiveInheritedInstances = function() {
2173
2173
  var a = [], b;
2174
2174
  for (b in ic) {
2175
2175
  ic.hasOwnProperty(b) && a.push(ic[b]);
2176
2176
  }
2177
2177
  return a;
2178
2178
  };
2179
- m.flushPendingDeletes = gc;
2180
- m.setDelayFunction = function(a) {
2179
+ n.flushPendingDeletes = gc;
2180
+ n.setDelayFunction = function(a) {
2181
2181
  hc = a;
2182
2182
  fc.length && hc && hc(gc);
2183
2183
  };
2184
- vc = m.InternalError = class extends Error {
2184
+ vc = n.InternalError = class extends Error {
2185
2185
  constructor(a) {
2186
2186
  super(a);
2187
2187
  this.name = "InternalError";
@@ -2269,7 +2269,7 @@ Qc.prototype.fromWireType = function(a) {
2269
2269
  var e = sc(c, this.i, d.i);
2270
2270
  return null === e ? b.call(this) : this.ya ? xc(d.i.N, {u:d, o:e, L:this, G:a,}) : xc(d.i.N, {u:d, o:e,});
2271
2271
  };
2272
- Vc = m.UnboundTypeError = cc("UnboundTypeError");
2272
+ Vc = n.UnboundTypeError = cc("UnboundTypeError");
2273
2273
  for (var Z, Ud = 0; 32 > Ud; ++Ud) {
2274
2274
  Id.push(Array(Ud));
2275
2275
  }
@@ -2395,17 +2395,17 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2395
2395
  }
2396
2396
  var g = d ? Xb() : 0;
2397
2397
  return Pb(b, c, g).X;
2398
- } catch (n) {
2399
- if ("undefined" == typeof Vb || "ErrnoError" !== n.name) {
2400
- throw n;
2398
+ } catch (m) {
2399
+ if ("undefined" == typeof Vb || "ErrnoError" !== m.name) {
2400
+ throw m;
2401
2401
  }
2402
- return -n.aa;
2402
+ return -m.aa;
2403
2403
  }
2404
2404
  }, _embind_create_inheriting_constructor:function(a, b, c) {
2405
2405
  a = S(a);
2406
2406
  b = oc(b, "wrapper");
2407
2407
  c = R(c);
2408
- var d = [].slice, e = b.i, f = e.N, g = e.A.N, n = e.A.constructor;
2408
+ var d = [].slice, e = b.i, f = e.N, g = e.A.N, m = e.A.constructor;
2409
2409
  a = Zb(a, function() {
2410
2410
  e.A.lb.forEach(function(l) {
2411
2411
  if (this[l] === g[l]) {
@@ -2417,7 +2417,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2417
2417
  });
2418
2418
  f.__construct = function() {
2419
2419
  this === f && Q("Pass correct 'this' to __construct");
2420
- var l = n.implement.apply(void 0, [this].concat(d.call(arguments)));
2420
+ var l = m.implement.apply(void 0, [this].concat(d.call(arguments)));
2421
2421
  pc(l);
2422
2422
  var t = l.g;
2423
2423
  l.notifyOnDestruction();
@@ -2445,10 +2445,10 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2445
2445
  delete zc[a];
2446
2446
  var c = b.Pa, d = b.V, e = b.$a, f = e.map(g => g.Qb).concat(e.map(g => g.ec));
2447
2447
  T([a], f, g => {
2448
- var n = {};
2448
+ var m = {};
2449
2449
  e.forEach((p, l) => {
2450
2450
  var t = g[l], u = p.Ob, x = p.Pb, k = g[l + e.length], q = p.dc, v = p.fc;
2451
- n[p.Kb] = {read:y => t.fromWireType(u(x, y)), write:(y, B) => {
2451
+ m[p.Kb] = {read:y => t.fromWireType(u(x, y)), write:(y, B) => {
2452
2452
  var D = [];
2453
2453
  q(v, y, k.toWireType(D, B));
2454
2454
  Ac(D);
@@ -2456,20 +2456,20 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2456
2456
  });
2457
2457
  return [{name:b.name, fromWireType:function(p) {
2458
2458
  var l = {}, t;
2459
- for (t in n) {
2460
- l[t] = n[t].read(p);
2459
+ for (t in m) {
2460
+ l[t] = m[t].read(p);
2461
2461
  }
2462
2462
  d(p);
2463
2463
  return l;
2464
2464
  }, toWireType:function(p, l) {
2465
- for (var t in n) {
2465
+ for (var t in m) {
2466
2466
  if (!(t in l)) {
2467
2467
  throw new TypeError(`Missing field: "${t}"`);
2468
2468
  }
2469
2469
  }
2470
2470
  var u = c();
2471
- for (t in n) {
2472
- n[t].write(u, l[t]);
2471
+ for (t in m) {
2472
+ m[t].write(u, l[t]);
2473
2473
  }
2474
2474
  null !== p && p.push(d, u);
2475
2475
  return u;
@@ -2481,24 +2481,24 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2481
2481
  b = S(b);
2482
2482
  U(a, {name:b, fromWireType:function(g) {
2483
2483
  return !!g;
2484
- }, toWireType:function(g, n) {
2485
- return n ? d : e;
2484
+ }, toWireType:function(g, m) {
2485
+ return m ? d : e;
2486
2486
  }, argPackAdvance:8, readValueFromPointer:function(g) {
2487
2487
  if (1 === c) {
2488
- var n = C;
2488
+ var m = C;
2489
2489
  } else if (2 === c) {
2490
- n = I;
2490
+ m = I;
2491
2491
  } else if (4 === c) {
2492
- n = J;
2492
+ m = J;
2493
2493
  } else {
2494
2494
  throw new TypeError("Unknown boolean type size: " + b);
2495
2495
  }
2496
- return this.fromWireType(n[g >> f]);
2496
+ return this.fromWireType(m[g >> f]);
2497
2497
  }, K:null,});
2498
- }, _embind_register_class:function(a, b, c, d, e, f, g, n, p, l, t, u, x) {
2498
+ }, _embind_register_class:function(a, b, c, d, e, f, g, m, p, l, t, u, x) {
2499
2499
  t = S(t);
2500
2500
  f = V(e, f);
2501
- n && (n = V(g, n));
2501
+ m && (m = V(g, m));
2502
2502
  l && (l = V(p, l));
2503
2503
  x = V(u, x);
2504
2504
  var k = Yb(t);
@@ -2528,7 +2528,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2528
2528
  });
2529
2529
  var B = Object.create(y, {constructor:{value:q},});
2530
2530
  q.prototype = B;
2531
- var D = new Kc(t, q, B, x, v, f, n, l);
2531
+ var D = new Kc(t, q, B, x, v, f, m, l);
2532
2532
  D.A && (void 0 === D.A.qa && (D.A.qa = []), D.A.qa.push(D));
2533
2533
  v = new Qc(t, D, !0, !1);
2534
2534
  y = new Qc(t + "*", D, !1, !1);
@@ -2538,19 +2538,19 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2538
2538
  return [v, y, E];
2539
2539
  });
2540
2540
  }, _embind_register_class_class_function:function(a, b, c, d, e, f, g) {
2541
- var n = Yc(c, d);
2541
+ var m = Yc(c, d);
2542
2542
  b = S(b);
2543
2543
  f = V(e, f);
2544
2544
  T([], [a], function(p) {
2545
2545
  function l() {
2546
- Wc(`Cannot call ${t} due to unbound types`, n);
2546
+ Wc(`Cannot call ${t} due to unbound types`, m);
2547
2547
  }
2548
2548
  p = p[0];
2549
2549
  var t = `${p.name}.${b}`;
2550
2550
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2551
2551
  var u = p.i.constructor;
2552
2552
  void 0 === u[b] ? (l.ga = c - 1, u[b] = l) : (Ic(u, b, t), u[b].B[c - 1] = l);
2553
- T([], n, function(x) {
2553
+ T([], m, function(x) {
2554
2554
  x = Xc(t, [x[0], null].concat(x.slice(1)), null, f, g);
2555
2555
  void 0 === u[b].B ? (x.ga = c - 1, u[b] = x) : u[b].B[c - 1] = x;
2556
2556
  if (p.i.qa) {
@@ -2562,7 +2562,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2562
2562
  });
2563
2563
  return [];
2564
2564
  });
2565
- }, _embind_register_class_class_property:function(a, b, c, d, e, f, g, n) {
2565
+ }, _embind_register_class_class_property:function(a, b, c, d, e, f, g, m) {
2566
2566
  b = S(b);
2567
2567
  f = V(e, f);
2568
2568
  T([], [a], function(p) {
@@ -2570,7 +2570,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2570
2570
  var l = `${p.name}.${b}`, t = {get() {
2571
2571
  Wc(`Cannot access ${l} due to unbound types`, [c]);
2572
2572
  }, enumerable:!0, configurable:!0};
2573
- t.set = n ? () => {
2573
+ t.set = m ? () => {
2574
2574
  Wc(`Cannot access ${l} due to unbound types`, [c]);
2575
2575
  } : () => {
2576
2576
  Q(`${l} is a read-only property`);
@@ -2581,9 +2581,9 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2581
2581
  var x = {get() {
2582
2582
  return u.fromWireType(f(d));
2583
2583
  }, enumerable:!0};
2584
- n && (n = V(g, n), x.set = k => {
2584
+ m && (m = V(g, m), x.set = k => {
2585
2585
  var q = [];
2586
- n(d, u.toWireType(q, k));
2586
+ m(d, u.toWireType(q, k));
2587
2587
  Ac(q);
2588
2588
  });
2589
2589
  Object.defineProperty(p.i.constructor, b, x);
@@ -2594,24 +2594,24 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2594
2594
  }, _embind_register_class_constructor:function(a, b, c, d, e, f) {
2595
2595
  var g = Yc(b, c);
2596
2596
  e = V(d, e);
2597
- T([], [a], function(n) {
2598
- n = n[0];
2599
- var p = `constructor ${n.name}`;
2600
- void 0 === n.i.$ && (n.i.$ = []);
2601
- if (void 0 !== n.i.$[b - 1]) {
2602
- 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!`);
2603
- }
2604
- n.i.$[b - 1] = () => {
2605
- Wc(`Cannot construct ${n.name} due to unbound types`, g);
2597
+ T([], [a], function(m) {
2598
+ m = m[0];
2599
+ var p = `constructor ${m.name}`;
2600
+ void 0 === m.i.$ && (m.i.$ = []);
2601
+ if (void 0 !== m.i.$[b - 1]) {
2602
+ throw new ac(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${m.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
2603
+ }
2604
+ m.i.$[b - 1] = () => {
2605
+ Wc(`Cannot construct ${m.name} due to unbound types`, g);
2606
2606
  };
2607
2607
  T([], g, function(l) {
2608
2608
  l.splice(1, 0, null);
2609
- n.i.$[b - 1] = Xc(p, l, null, e, f);
2609
+ m.i.$[b - 1] = Xc(p, l, null, e, f);
2610
2610
  return [];
2611
2611
  });
2612
2612
  return [];
2613
2613
  });
2614
- }, _embind_register_class_function:function(a, b, c, d, e, f, g, n) {
2614
+ }, _embind_register_class_function:function(a, b, c, d, e, f, g, m) {
2615
2615
  var p = Yc(c, d);
2616
2616
  b = S(b);
2617
2617
  f = V(e, f);
@@ -2622,7 +2622,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2622
2622
  l = l[0];
2623
2623
  var u = `${l.name}.${b}`;
2624
2624
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2625
- n && l.i.lb.push(b);
2625
+ m && l.i.lb.push(b);
2626
2626
  var x = l.i.N, k = x[b];
2627
2627
  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);
2628
2628
  T([], p, function(q) {
@@ -2632,7 +2632,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2632
2632
  });
2633
2633
  return [];
2634
2634
  });
2635
- }, _embind_register_class_property:function(a, b, c, d, e, f, g, n, p, l) {
2635
+ }, _embind_register_class_property:function(a, b, c, d, e, f, g, m, p, l) {
2636
2636
  b = S(b);
2637
2637
  e = V(d, e);
2638
2638
  T([], [a], function(t) {
@@ -2652,7 +2652,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2652
2652
  return q.fromWireType(e(f, B));
2653
2653
  }, enumerable:!0};
2654
2654
  if (p) {
2655
- p = V(n, p);
2655
+ p = V(m, p);
2656
2656
  var y = k[1];
2657
2657
  v.set = function(B) {
2658
2658
  var D = Zc(this, t, u + " setter"), E = [];
@@ -2709,22 +2709,22 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2709
2709
  Jc(a, function() {
2710
2710
  Wc(`Cannot call ${a} due to unbound types`, g);
2711
2711
  }, b - 1);
2712
- T([], g, function(n) {
2713
- Rc(a, Xc(a, [n[0], null].concat(n.slice(1)), null, e, f), b - 1);
2712
+ T([], g, function(m) {
2713
+ Rc(a, Xc(a, [m[0], null].concat(m.slice(1)), null, e, f), b - 1);
2714
2714
  return [];
2715
2715
  });
2716
2716
  }, _embind_register_integer:function(a, b, c, d, e) {
2717
2717
  b = S(b);
2718
2718
  -1 === e && (e = 4294967295);
2719
2719
  e = Ec(c);
2720
- var f = n => n;
2720
+ var f = m => m;
2721
2721
  if (0 === d) {
2722
2722
  var g = 32 - 8 * c;
2723
- f = n => n << g >>> g;
2723
+ f = m => m << g >>> g;
2724
2724
  }
2725
- c = b.includes("unsigned") ? function(n, p) {
2725
+ c = b.includes("unsigned") ? function(m, p) {
2726
2726
  return p >>> 0;
2727
- } : function(n, p) {
2727
+ } : function(m, p) {
2728
2728
  return p;
2729
2729
  };
2730
2730
  U(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:cd(b, e, 0 !== d), K:null,});
@@ -2743,9 +2743,9 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2743
2743
  U(a, {name:b, fromWireType:function(d) {
2744
2744
  var e = K[d >> 2], f = d + 4;
2745
2745
  if (c) {
2746
- for (var g = f, n = 0; n <= e; ++n) {
2747
- var p = f + n;
2748
- if (n == e || 0 == G[p]) {
2746
+ for (var g = f, m = 0; m <= e; ++m) {
2747
+ var p = f + m;
2748
+ if (m == e || 0 == G[p]) {
2749
2749
  g = g ? L(G, g, p - g) : "";
2750
2750
  if (void 0 === l) {
2751
2751
  var l = g;
@@ -2757,8 +2757,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2757
2757
  }
2758
2758
  } else {
2759
2759
  l = Array(e);
2760
- for (n = 0; n < e; ++n) {
2761
- l[n] = String.fromCharCode(G[f + n]);
2760
+ for (m = 0; m < e; ++m) {
2761
+ l[m] = String.fromCharCode(G[f + m]);
2762
2762
  }
2763
2763
  l = l.join("");
2764
2764
  }
@@ -2769,8 +2769,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2769
2769
  var f = "string" == typeof e;
2770
2770
  f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || Q("Cannot pass non-string to std::string");
2771
2771
  var g = c && f ? db(e) : e.length;
2772
- var n = Ld(4 + g + 1), p = n + 4;
2773
- K[n >> 2] = g;
2772
+ var m = Ld(4 + g + 1), p = m + 4;
2773
+ K[m >> 2] = g;
2774
2774
  if (c && f) {
2775
2775
  eb(e, G, p, g + 1);
2776
2776
  } else {
@@ -2786,8 +2786,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2786
2786
  }
2787
2787
  }
2788
2788
  }
2789
- null !== d && d.push(nc, n);
2790
- return n;
2789
+ null !== d && d.push(nc, m);
2790
+ return m;
2791
2791
  }, argPackAdvance:8, readValueFromPointer:Bc, K:function(d) {
2792
2792
  nc(d);
2793
2793
  },});
@@ -2798,14 +2798,14 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2798
2798
  var e = fd;
2799
2799
  var f = gd;
2800
2800
  var g = () => va;
2801
- var n = 1;
2801
+ var m = 1;
2802
2802
  } else {
2803
- 4 === b && (d = hd, e = jd, f = kd, g = () => K, n = 2);
2803
+ 4 === b && (d = hd, e = jd, f = kd, g = () => K, m = 2);
2804
2804
  }
2805
2805
  U(a, {name:c, fromWireType:function(p) {
2806
2806
  for (var l = K[p >> 2], t = g(), u, x = p + 4, k = 0; k <= l; ++k) {
2807
2807
  var q = p + 4 + k * b;
2808
- if (k == l || 0 == t[q >> n]) {
2808
+ if (k == l || 0 == t[q >> m]) {
2809
2809
  x = d(x, q - x), void 0 === u ? u = x : (u += String.fromCharCode(0), u += x), x = q + b;
2810
2810
  }
2811
2811
  }
@@ -2814,7 +2814,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2814
2814
  }, toWireType:function(p, l) {
2815
2815
  "string" != typeof l && Q(`Cannot pass non-string to C++ string type ${c}`);
2816
2816
  var t = f(l), u = Ld(4 + t + b);
2817
- K[u >> 2] = t >> n;
2817
+ K[u >> 2] = t >> m;
2818
2818
  e(l, u + 4, t + b);
2819
2819
  null !== p && p.push(nc, u);
2820
2820
  return u;
@@ -2823,8 +2823,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2823
2823
  },});
2824
2824
  }, _embind_register_value_object:function(a, b, c, d, e, f) {
2825
2825
  zc[a] = {name:S(b), Pa:V(c, d), V:V(e, f), $a:[],};
2826
- }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, n, p, l) {
2827
- zc[a].$a.push({Kb:S(b), Qb:c, Ob:V(d, e), Pb:f, ec:g, dc:V(n, p), fc:l,});
2826
+ }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, m, p, l) {
2827
+ zc[a].$a.push({Kb:S(b), Qb:c, Ob:V(d, e), Pb:f, ec:g, dc:V(m, p), fc:l,});
2828
2828
  }, _embind_register_void:function(a, b) {
2829
2829
  b = S(b);
2830
2830
  U(a, {Yb:!0, name:b, argPackAdvance:0, fromWireType:function() {
@@ -2858,11 +2858,11 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2858
2858
  return e;
2859
2859
  }
2860
2860
  var f = Array(a - 1);
2861
- e = od((g, n, p, l) => {
2861
+ e = od((g, m, p, l) => {
2862
2862
  for (var t = 0, u = 0; u < a - 1; ++u) {
2863
2863
  f[u] = c[u + 1].readValueFromPointer(l + t), t += c[u + 1].argPackAdvance;
2864
2864
  }
2865
- g = g[n].apply(g, f);
2865
+ g = g[m].apply(g, f);
2866
2866
  for (u = 0; u < a - 1; ++u) {
2867
2867
  c[u + 1].Gb && c[u + 1].Gb(f[u]);
2868
2868
  }
@@ -2897,21 +2897,21 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2897
2897
  }, abort:() => {
2898
2898
  sa("");
2899
2899
  }, beginPixelLocalStorageWEBGL:function(a, b, c) {
2900
- (a = r[a].J.ja) && a.beginPixelLocalStorageWEBGL(m.HEAPU32.subarray(c, c + b));
2900
+ (a = r[a].J.ja) && a.beginPixelLocalStorageWEBGL(n.HEAPU32.subarray(c, c + b));
2901
2901
  }, decode_image:function(a, b, c) {
2902
- var d = m.images;
2903
- d || (d = new Map(), m.images = d);
2902
+ var d = n.images;
2903
+ d || (d = new Map(), n.images = d);
2904
2904
  var e = new Image();
2905
2905
  d.set(a, e);
2906
- b = m.HEAP8.subarray(b, b + c);
2906
+ b = n.HEAP8.subarray(b, b + c);
2907
2907
  c = new Uint8Array(c);
2908
2908
  c.set(b);
2909
2909
  e.src = URL.createObjectURL(new Blob([c], {type:"image/png"}));
2910
2910
  e.onload = function() {
2911
- m._setWebImage(a, e.width, e.height);
2911
+ n._setWebImage(a, e.width, e.height);
2912
2912
  };
2913
2913
  }, delete_image:function(a) {
2914
- var b = m.images;
2914
+ var b = n.images;
2915
2915
  b && b.get(a) && b.delete(a);
2916
2916
  }, emscripten_asm_const_int:(a, b, c) => {
2917
2917
  rd.length = 0;
@@ -2970,7 +2970,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2970
2970
  a.ja = a.getExtension("WEBGL_shader_pixel_local_storage");
2971
2971
  return !(!a.ja || !a.ja.isCoherent());
2972
2972
  }, endPixelLocalStorageWEBGL:function(a, b, c) {
2973
- (a = r[a].J.ja) && a.endPixelLocalStorageWEBGL(m.HEAPU32.subarray(c, c + b));
2973
+ (a = r[a].J.ja) && a.endPixelLocalStorageWEBGL(n.HEAPU32.subarray(c, c + b));
2974
2974
  }, environ_get:(a, b) => {
2975
2975
  var c = 0;
2976
2976
  Hd().forEach(function(d, e) {
@@ -3020,9 +3020,9 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3020
3020
  var e = Ib(a);
3021
3021
  a = b;
3022
3022
  for (var f, g = b = 0; g < c; g++) {
3023
- var n = K[a >> 2], p = K[a + 4 >> 2];
3023
+ var m = K[a >> 2], p = K[a + 4 >> 2];
3024
3024
  a += 8;
3025
- var l = e, t = n, u = p, x = f, k = C;
3025
+ var l = e, t = m, u = p, x = f, k = C;
3026
3026
  if (0 > u || 0 > x) {
3027
3027
  throw new M(28);
3028
3028
  }
@@ -3092,9 +3092,9 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3092
3092
  var e = Ib(a);
3093
3093
  a = b;
3094
3094
  for (var f, g = b = 0; g < c; g++) {
3095
- var n = K[a >> 2], p = K[a + 4 >> 2];
3095
+ var m = K[a >> 2], p = K[a + 4 >> 2];
3096
3096
  a += 8;
3097
- var l = e, t = n, u = p, x = f, k = C;
3097
+ var l = e, t = m, u = p, x = f, k = C;
3098
3098
  if (0 > u || 0 > x) {
3099
3099
  throw new M(28);
3100
3100
  }
@@ -3162,8 +3162,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3162
3162
  Z.blendEquation(a);
3163
3163
  }, glBlendFunc:function(a, b) {
3164
3164
  Z.blendFunc(a, b);
3165
- }, glBlitFramebuffer:function(a, b, c, d, e, f, g, n, p, l) {
3166
- Z.blitFramebuffer(a, b, c, d, e, f, g, n, p, l);
3165
+ }, glBlitFramebuffer:function(a, b, c, d, e, f, g, m, p, l) {
3166
+ Z.blitFramebuffer(a, b, c, d, e, f, g, m, p, l);
3167
3167
  }, glBufferData:function(a, b, c, d) {
3168
3168
  c && b ? Z.bufferData(a, G, d, c, b) : Z.bufferData(a, b, d);
3169
3169
  }, glBufferSubData:function(a, b, c, d) {
@@ -3316,15 +3316,15 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3316
3316
  if (!d) {
3317
3317
  for (c.oa = d = {}, c.tb = {}, f = 0; f < Z.getProgramParameter(c, 35718); ++f) {
3318
3318
  var g = Z.getActiveUniform(c, f);
3319
- var n = g.name;
3319
+ var m = g.name;
3320
3320
  g = g.size;
3321
- var p = Nd(n);
3322
- p = 0 < p ? n.slice(0, p) : n;
3321
+ var p = Nd(m);
3322
+ p = 0 < p ? m.slice(0, p) : m;
3323
3323
  var l = c.Sa;
3324
3324
  c.Sa += g;
3325
3325
  e[p] = [g, l];
3326
- for (n = 0; n < g; ++n) {
3327
- d[l] = n, c.tb[l++] = p;
3326
+ for (m = 0; m < g; ++m) {
3327
+ d[l] = m, c.tb[l++] = p;
3328
3328
  }
3329
3329
  }
3330
3330
  }
@@ -3345,6 +3345,11 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3345
3345
  d[e] = J[c + 4 * e >> 2];
3346
3346
  }
3347
3347
  Z.invalidateFramebuffer(a, d);
3348
+ }, glInvalidateSubFramebuffer:function(a, b, c, d, e, f, g) {
3349
+ for (var m = Id[b], p = 0; p < b; p++) {
3350
+ m[p] = J[c + 4 * p >> 2];
3351
+ }
3352
+ Z.invalidateSubFramebuffer(a, m, d, e, f, g);
3348
3353
  }, glLinkProgram:function(a) {
3349
3354
  a = W[a];
3350
3355
  Z.linkProgram(a);
@@ -3358,8 +3363,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3358
3363
  Z.scissor(a, b, c, d);
3359
3364
  }, glShaderSource:function(a, b, c, d) {
3360
3365
  for (var e = "", f = 0; f < b; ++f) {
3361
- var g = d ? J[d + 4 * f >> 2] : -1, n = J[c + 4 * f >> 2];
3362
- g = n ? L(G, n, 0 > g ? void 0 : g) : "";
3366
+ var g = d ? J[d + 4 * f >> 2] : -1, m = J[c + 4 * f >> 2];
3367
+ g = m ? L(G, m, 0 > g ? void 0 : g) : "";
3363
3368
  e += g;
3364
3369
  }
3365
3370
  Z.shaderSource(zd[a], e);
@@ -3377,15 +3382,15 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3377
3382
  Z.texParameteri(a, b, c);
3378
3383
  }, glTexStorage2D:function(a, b, c, d, e) {
3379
3384
  Z.texStorage2D(a, b, c, d, e);
3380
- }, glTexSubImage2D:function(a, b, c, d, e, f, g, n, p) {
3385
+ }, glTexSubImage2D:function(a, b, c, d, e, f, g, m, p) {
3381
3386
  if (Z.Ka) {
3382
- Z.texSubImage2D(a, b, c, d, e, f, g, n, p);
3387
+ Z.texSubImage2D(a, b, c, d, e, f, g, m, p);
3383
3388
  } else if (p) {
3384
- var l = n - 5120;
3389
+ var l = m - 5120;
3385
3390
  l = 0 == l ? C : 1 == l ? G : 2 == l ? I : 4 == l ? J : 6 == l ? wa : 5 == l || 28922 == l || 28520 == l || 30779 == l || 30782 == l ? K : va;
3386
- Z.texSubImage2D(a, b, c, d, e, f, g, n, l, p >> 31 - Math.clz32(l.BYTES_PER_ELEMENT));
3391
+ Z.texSubImage2D(a, b, c, d, e, f, g, m, l, p >> 31 - Math.clz32(l.BYTES_PER_ELEMENT));
3387
3392
  } else {
3388
- Z.texSubImage2D(a, b, c, d, e, f, g, n, null);
3393
+ Z.texSubImage2D(a, b, c, d, e, f, g, m, null);
3389
3394
  }
3390
3395
  }, glUniform1i:function(a, b) {
3391
3396
  var c = Z, d = c.uniform1i;
@@ -3416,7 +3421,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3416
3421
  }, provokingVertexWEBGL:function(a, b) {
3417
3422
  (a = r[a].J.mb) && a.provokingVertexWEBGL(b);
3418
3423
  }, strftime_l:(a, b, c, d) => Rd(a, b, c, d), upload_image:function(a, b) {
3419
- var c = m.images;
3424
+ var c = n.images;
3420
3425
  c && (b = c.get(b)) && (a = r[a].J, a.texImage2D(a.TEXTURE_2D, 0, a.RGBA, a.RGBA, a.UNSIGNED_BYTE, b));
3421
3426
  }};
3422
3427
  (function() {
@@ -3427,7 +3432,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3427
3432
  za = A.__indirect_function_table;
3428
3433
  Ba.unshift(A.__wasm_call_ctors);
3429
3434
  Ea--;
3430
- m.monitorRunDependencies && m.monitorRunDependencies(Ea);
3435
+ n.monitorRunDependencies && n.monitorRunDependencies(Ea);
3431
3436
  if (0 == Ea && (null !== Fa && (clearInterval(Fa), Fa = null), Ga)) {
3432
3437
  var d = Ga;
3433
3438
  Ga = null;
@@ -3437,10 +3442,10 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3437
3442
  }
3438
3443
  var b = {env:Wd, wasi_snapshot_preview1:Wd,};
3439
3444
  Ea++;
3440
- m.monitorRunDependencies && m.monitorRunDependencies(Ea);
3441
- if (m.instantiateWasm) {
3445
+ n.monitorRunDependencies && n.monitorRunDependencies(Ea);
3446
+ if (n.instantiateWasm) {
3442
3447
  try {
3443
- return m.instantiateWasm(b, a);
3448
+ return n.instantiateWasm(b, a);
3444
3449
  } catch (c) {
3445
3450
  z("Module.instantiateWasm callback failed with error: " + c), ba(c);
3446
3451
  }
@@ -3451,23 +3456,23 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3451
3456
  return {};
3452
3457
  })();
3453
3458
  var nc = a => (nc = A.free)(a), Ld = a => (Ld = A.malloc)(a);
3454
- m._setWebImage = (a, b, c) => (m._setWebImage = A.setWebImage)(a, b, c);
3455
- var Qa = m._ma_device__on_notification_unlocked = a => (Qa = m._ma_device__on_notification_unlocked = A.ma_device__on_notification_unlocked)(a);
3456
- m._ma_malloc_emscripten = (a, b) => (m._ma_malloc_emscripten = A.ma_malloc_emscripten)(a, b);
3457
- m._ma_free_emscripten = (a, b) => (m._ma_free_emscripten = A.ma_free_emscripten)(a, b);
3458
- var Ra = m._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (Ra = m._ma_device_process_pcm_frames_capture__webaudio = A.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 = A.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Vd = () => (Vd = A.__errno_location)(), mc = a => (mc = A.__getTypeName)(a);
3459
- m.__embind_initialize_bindings = () => (m.__embind_initialize_bindings = A._embind_initialize_bindings)();
3460
- m.dynCall_iiji = (a, b, c, d, e) => (m.dynCall_iiji = A.dynCall_iiji)(a, b, c, d, e);
3461
- m.dynCall_iiiji = (a, b, c, d, e, f) => (m.dynCall_iiiji = A.dynCall_iiiji)(a, b, c, d, e, f);
3462
- m.dynCall_iij = (a, b, c, d) => (m.dynCall_iij = A.dynCall_iij)(a, b, c, d);
3463
- m.dynCall_jii = (a, b, c) => (m.dynCall_jii = A.dynCall_jii)(a, b, c);
3464
- m.dynCall_jiji = (a, b, c, d, e) => (m.dynCall_jiji = A.dynCall_jiji)(a, b, c, d, e);
3465
- m.dynCall_viijii = (a, b, c, d, e, f, g) => (m.dynCall_viijii = A.dynCall_viijii)(a, b, c, d, e, f, g);
3466
- m.dynCall_iiiiij = (a, b, c, d, e, f, g) => (m.dynCall_iiiiij = A.dynCall_iiiiij)(a, b, c, d, e, f, g);
3467
- m.dynCall_iiiiijj = (a, b, c, d, e, f, g, n, p) => (m.dynCall_iiiiijj = A.dynCall_iiiiijj)(a, b, c, d, e, f, g, n, p);
3468
- m.dynCall_iiiiiijj = (a, b, c, d, e, f, g, n, p, l) => (m.dynCall_iiiiiijj = A.dynCall_iiiiiijj)(a, b, c, d, e, f, g, n, p, l);
3469
- m.___start_em_js = 491980;
3470
- m.___stop_em_js = 494414;
3459
+ n._setWebImage = (a, b, c) => (n._setWebImage = A.setWebImage)(a, b, c);
3460
+ var Qa = n._ma_device__on_notification_unlocked = a => (Qa = n._ma_device__on_notification_unlocked = A.ma_device__on_notification_unlocked)(a);
3461
+ n._ma_malloc_emscripten = (a, b) => (n._ma_malloc_emscripten = A.ma_malloc_emscripten)(a, b);
3462
+ n._ma_free_emscripten = (a, b) => (n._ma_free_emscripten = A.ma_free_emscripten)(a, b);
3463
+ var Ra = n._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (Ra = n._ma_device_process_pcm_frames_capture__webaudio = A.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), Sa = n._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (Sa = n._ma_device_process_pcm_frames_playback__webaudio = A.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Vd = () => (Vd = A.__errno_location)(), mc = a => (mc = A.__getTypeName)(a);
3464
+ n.__embind_initialize_bindings = () => (n.__embind_initialize_bindings = A._embind_initialize_bindings)();
3465
+ n.dynCall_iiji = (a, b, c, d, e) => (n.dynCall_iiji = A.dynCall_iiji)(a, b, c, d, e);
3466
+ n.dynCall_iiiji = (a, b, c, d, e, f) => (n.dynCall_iiiji = A.dynCall_iiiji)(a, b, c, d, e, f);
3467
+ n.dynCall_iij = (a, b, c, d) => (n.dynCall_iij = A.dynCall_iij)(a, b, c, d);
3468
+ n.dynCall_jii = (a, b, c) => (n.dynCall_jii = A.dynCall_jii)(a, b, c);
3469
+ n.dynCall_jiji = (a, b, c, d, e) => (n.dynCall_jiji = A.dynCall_jiji)(a, b, c, d, e);
3470
+ n.dynCall_viijii = (a, b, c, d, e, f, g) => (n.dynCall_viijii = A.dynCall_viijii)(a, b, c, d, e, f, g);
3471
+ n.dynCall_iiiiij = (a, b, c, d, e, f, g) => (n.dynCall_iiiiij = A.dynCall_iiiiij)(a, b, c, d, e, f, g);
3472
+ n.dynCall_iiiiijj = (a, b, c, d, e, f, g, m, p) => (n.dynCall_iiiiijj = A.dynCall_iiiiijj)(a, b, c, d, e, f, g, m, p);
3473
+ n.dynCall_iiiiiijj = (a, b, c, d, e, f, g, m, p, l) => (n.dynCall_iiiiiijj = A.dynCall_iiiiiijj)(a, b, c, d, e, f, g, m, p, l);
3474
+ n.___start_em_js = 492108;
3475
+ n.___stop_em_js = 494542;
3471
3476
  var Xd;
3472
3477
  Ga = function Yd() {
3473
3478
  Xd || Zd();
@@ -3475,17 +3480,17 @@ Ga = function Yd() {
3475
3480
  };
3476
3481
  function Zd() {
3477
3482
  function a() {
3478
- if (!Xd && (Xd = !0, m.calledRun = !0, !ua)) {
3479
- 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));
3483
+ if (!Xd && (Xd = !0, n.calledRun = !0, !ua)) {
3484
+ n.noFSInit || Sb || (Sb = !0, Rb(), n.stdin = n.stdin, n.stdout = n.stdout, n.stderr = n.stderr, n.stdin ? Ub("stdin", n.stdin) : Nb("/dev/tty", "/dev/stdin"), n.stdout ? Ub("stdout", null, n.stdout) : Nb("/dev/tty", "/dev/stdout"), n.stderr ? Ub("stderr", null, n.stderr) : Nb("/dev/tty1", "/dev/stderr"), Pb("/dev/stdin", 0), Pb("/dev/stdout", 1), Pb("/dev/stderr", 1));
3480
3485
  yb = !1;
3481
3486
  Ua(Ba);
3482
- aa(m);
3483
- if (m.onRuntimeInitialized) {
3484
- m.onRuntimeInitialized();
3487
+ aa(n);
3488
+ if (n.onRuntimeInitialized) {
3489
+ n.onRuntimeInitialized();
3485
3490
  }
3486
- if (m.postRun) {
3487
- for ("function" == typeof m.postRun && (m.postRun = [m.postRun]); m.postRun.length;) {
3488
- var b = m.postRun.shift();
3491
+ if (n.postRun) {
3492
+ for ("function" == typeof n.postRun && (n.postRun = [n.postRun]); n.postRun.length;) {
3493
+ var b = n.postRun.shift();
3489
3494
  Ca.unshift(b);
3490
3495
  }
3491
3496
  }
@@ -3493,23 +3498,23 @@ function Zd() {
3493
3498
  }
3494
3499
  }
3495
3500
  if (!(0 < Ea)) {
3496
- if (m.preRun) {
3497
- for ("function" == typeof m.preRun && (m.preRun = [m.preRun]); m.preRun.length;) {
3501
+ if (n.preRun) {
3502
+ for ("function" == typeof n.preRun && (n.preRun = [n.preRun]); n.preRun.length;) {
3498
3503
  Da();
3499
3504
  }
3500
3505
  }
3501
3506
  Ua(Aa);
3502
- 0 < Ea || (m.setStatus ? (m.setStatus("Running..."), setTimeout(function() {
3507
+ 0 < Ea || (n.setStatus ? (n.setStatus("Running..."), setTimeout(function() {
3503
3508
  setTimeout(function() {
3504
- m.setStatus("");
3509
+ n.setStatus("");
3505
3510
  }, 1);
3506
3511
  a();
3507
3512
  }, 1)) : a());
3508
3513
  }
3509
3514
  }
3510
- if (m.preInit) {
3511
- for ("function" == typeof m.preInit && (m.preInit = [m.preInit]); 0 < m.preInit.length;) {
3512
- m.preInit.pop()();
3515
+ if (n.preInit) {
3516
+ for ("function" == typeof n.preInit && (n.preInit = [n.preInit]); 0 < n.preInit.length;) {
3517
+ n.preInit.pop()();
3513
3518
  }
3514
3519
  }
3515
3520
  Zd();
@@ -3527,7 +3532,7 @@ Zd();
3527
3532
  /* 2 */
3528
3533
  /***/ ((module) => {
3529
3534
 
3530
- module.exports = JSON.parse('{"name":"@rive-app/webgl2","version":"2.25.1","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)","Chris Dalton <chris@rive.app> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3535
+ module.exports = JSON.parse('{"name":"@rive-app/webgl2","version":"2.25.2","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)","Chris Dalton <chris@rive.app> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3531
3536
 
3532
3537
  /***/ }),
3533
3538
  /* 3 */