Socket
Socket
Sign inDemoInstall

@sec-ant/zxing-wasm

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sec-ant/zxing-wasm - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

dist/core-8cd818a8.js

1403

dist/full/index.js

@@ -1,3 +0,3 @@

import { g as si, r as ui, d as N, a as fi, w as ci, c as q } from "../core-d57ac805.js";
import { Z as yi, b as mi, p as wi, s as bi } from "../core-d57ac805.js";
import { g as si, r as ui, d as N, a as fi, w as ci, c as q } from "../core-8cd818a8.js";
import { Z as yi, b as mi, p as wi, s as bi } from "../core-8cd818a8.js";
var De = (() => {

@@ -7,4 +7,4 @@ var W = import.meta.url;

var u = typeof H < "u" ? H : {}, B, J;
u.ready = new Promise(function(e, t) {
B = e, J = t;
u.ready = new Promise((e, r) => {
B = e, J = r;
});

@@ -14,3 +14,3 @@ var ve = Object.assign({}, u), pe = "./this.program", Xe = typeof window == "object", he = typeof importScripts == "function";

var j = "";
function Wt(e) {
function Wr(e) {
return u.locateFile ? u.locateFile(e, j) : j + e;

@@ -20,4 +20,4 @@ }

(Xe || he) && (he ? j = self.location.href : typeof document < "u" && document.currentScript && (j = document.currentScript.src), W && (j = W), j.indexOf("blob:") !== 0 ? j = j.substr(0, j.replace(/[?#].*/, "").lastIndexOf("/") + 1) : j = "", he && (ke = (e) => {
var t = new XMLHttpRequest();
return t.open("GET", e, !1), t.responseType = "arraybuffer", t.send(null), new Uint8Array(t.response);
var r = new XMLHttpRequest();
return r.open("GET", e, !1), r.responseType = "arraybuffer", r.send(null), new Uint8Array(r.response);
})), u.print || console.log.bind(console);

@@ -29,4 +29,4 @@ var ne = u.printErr || console.warn.bind(console);

var _e, Ze = !1;
function jt(e, t) {
e || Q(t);
function jr(e, r) {
e || Q(r);
}

@@ -38,35 +38,35 @@ var U, D, K, ge, S, F, Ge, qe;

}
var Ke, Qe = [], et = [], tt = [];
function Ut() {
var Ke, Qe = [], er = [], rr = [];
function Ur() {
if (u.preRun)
for (typeof u.preRun == "function" && (u.preRun = [u.preRun]); u.preRun.length; )
It(u.preRun.shift());
Ir(u.preRun.shift());
Oe(Qe);
}
function Ht() {
Oe(et);
function Hr() {
Oe(er);
}
function Mt() {
function Mr() {
if (u.postRun)
for (typeof u.postRun == "function" && (u.postRun = [u.postRun]); u.postRun.length; )
Yt(u.postRun.shift());
Oe(tt);
Yr(u.postRun.shift());
Oe(rr);
}
function It(e) {
function Ir(e) {
Qe.unshift(e);
}
function xt(e) {
et.unshift(e);
function xr(e) {
er.unshift(e);
}
function Yt(e) {
tt.unshift(e);
function Yr(e) {
rr.unshift(e);
}
var z = 0, ae = null;
function Vt(e) {
function Vr(e) {
z++, u.monitorRunDependencies && u.monitorRunDependencies(z);
}
function Bt(e) {
function Br(e) {
if (z--, u.monitorRunDependencies && u.monitorRunDependencies(z), z == 0 && ae) {
var t = ae;
ae = null, t();
var r = ae;
ae = null, r();
}

@@ -76,12 +76,12 @@ }

u.onAbort && u.onAbort(e), e = "Aborted(" + e + ")", ne(e), Ze = !0, e += ". Build with -sASSERTIONS for more info.";
var t = new WebAssembly.RuntimeError(e);
throw J(t), t;
var r = new WebAssembly.RuntimeError(e);
throw J(r), r;
}
var Lt = "data:application/octet-stream;base64,";
function rt(e) {
return e.startsWith(Lt);
var Lr = "data:application/octet-stream;base64,";
function tr(e) {
return e.startsWith(Lr);
}
var X;
u.locateFile ? (X = "zxing_full.wasm", rt(X) || (X = Wt(X))) : X = new URL("/full/zxing_full.wasm", self.location).href;
function nt(e) {
u.locateFile ? (X = "zxing_full.wasm", tr(X) || (X = Wr(X))) : X = new URL("/full/zxing_full.wasm", self.location).href;
function nr(e) {
try {

@@ -93,51 +93,43 @@ if (e == X && ie)

throw "both async and sync fetching of the wasm failed";
} catch (t) {
Q(t);
} catch (r) {
Q(r);
}
}
function Nt(e) {
return !ie && (Xe || he) && typeof fetch == "function" ? fetch(e, { credentials: "same-origin" }).then(function(t) {
if (!t.ok)
function Nr(e) {
return !ie && (Xe || he) && typeof fetch == "function" ? fetch(e, { credentials: "same-origin" }).then((r) => {
if (!r.ok)
throw "failed to load wasm binary file at '" + e + "'";
return t.arrayBuffer();
}).catch(function() {
return nt(e);
}) : Promise.resolve().then(function() {
return nt(e);
});
return r.arrayBuffer();
}).catch(() => nr(e)) : Promise.resolve().then(() => nr(e));
}
function it(e, t, r) {
return Nt(e).then(function(n) {
return WebAssembly.instantiate(n, t);
}).then(function(n) {
return n;
}).then(r, function(n) {
function ir(e, r, t) {
return Nr(e).then((n) => WebAssembly.instantiate(n, r)).then((n) => n).then(t, (n) => {
ne("failed to asynchronously prepare wasm: " + n), Q(n);
});
}
function zt(e, t, r, n) {
return !e && typeof WebAssembly.instantiateStreaming == "function" && !rt(t) && typeof fetch == "function" ? fetch(t, { credentials: "same-origin" }).then(function(i) {
var a = WebAssembly.instantiateStreaming(i, r);
function zr(e, r, t, n) {
return !e && typeof WebAssembly.instantiateStreaming == "function" && !tr(r) && typeof fetch == "function" ? fetch(r, { credentials: "same-origin" }).then((i) => {
var a = WebAssembly.instantiateStreaming(i, t);
return a.then(n, function(s) {
return ne("wasm streaming compile failed: " + s), ne("falling back to ArrayBuffer instantiation"), it(t, r, n);
return ne("wasm streaming compile failed: " + s), ne("falling back to ArrayBuffer instantiation"), ir(r, t, n);
});
}) : it(t, r, n);
}) : ir(r, t, n);
}
function Xt() {
function Xr() {
var e = { a: Sn };
function t(n, i) {
function r(n, i) {
var a = n.exports;
return u.asm = a, _e = u.asm.oa, Je(), Ke = u.asm.sa, xt(u.asm.pa), Bt(), a;
return u.asm = a, _e = u.asm.oa, Je(), Ke = u.asm.sa, xr(u.asm.pa), Br(), a;
}
Vt();
function r(n) {
t(n.instance);
Vr();
function t(n) {
r(n.instance);
}
if (u.instantiateWasm)
try {
return u.instantiateWasm(e, t);
return u.instantiateWasm(e, r);
} catch (n) {
ne("Module.instantiateWasm callback failed with error: " + n), J(n);
}
return zt(ie, X, e, r).catch(J), {};
return zr(ie, X, e, t).catch(J), {};
}

@@ -149,44 +141,44 @@ function Oe(e) {

var ye = [], me = 0;
function Zt(e) {
var t = new we(e);
return t.get_caught() || (t.set_caught(!0), me--), t.set_rethrown(!1), ye.push(t), Et(t.excPtr), t.get_exception_ptr();
function Zr(e) {
var r = new we(e);
return r.get_caught() || (r.set_caught(!0), me--), r.set_rethrown(!1), ye.push(r), Er(r.excPtr), r.get_exception_ptr();
}
var M = 0;
function Gt() {
function Gr() {
y(0);
var e = ye.pop();
Ft(e.excPtr), M = 0;
Fr(e.excPtr), M = 0;
}
function we(e) {
this.excPtr = e, this.ptr = e - 24, this.set_type = function(t) {
F[this.ptr + 4 >> 2] = t;
this.excPtr = e, this.ptr = e - 24, this.set_type = function(r) {
F[this.ptr + 4 >> 2] = r;
}, this.get_type = function() {
return F[this.ptr + 4 >> 2];
}, this.set_destructor = function(t) {
F[this.ptr + 8 >> 2] = t;
}, this.set_destructor = function(r) {
F[this.ptr + 8 >> 2] = r;
}, this.get_destructor = function() {
return F[this.ptr + 8 >> 2];
}, this.set_caught = function(t) {
t = t ? 1 : 0, U[this.ptr + 12 >> 0] = t;
}, this.set_caught = function(r) {
r = r ? 1 : 0, U[this.ptr + 12 >> 0] = r;
}, this.get_caught = function() {
return U[this.ptr + 12 >> 0] != 0;
}, this.set_rethrown = function(t) {
t = t ? 1 : 0, U[this.ptr + 13 >> 0] = t;
}, this.set_rethrown = function(r) {
r = r ? 1 : 0, U[this.ptr + 13 >> 0] = r;
}, this.get_rethrown = function() {
return U[this.ptr + 13 >> 0] != 0;
}, this.init = function(t, r) {
this.set_adjusted_ptr(0), this.set_type(t), this.set_destructor(r);
}, this.set_adjusted_ptr = function(t) {
F[this.ptr + 16 >> 2] = t;
}, this.init = function(r, t) {
this.set_adjusted_ptr(0), this.set_type(r), this.set_destructor(t);
}, this.set_adjusted_ptr = function(r) {
F[this.ptr + 16 >> 2] = r;
}, this.get_adjusted_ptr = function() {
return F[this.ptr + 16 >> 2];
}, this.get_exception_ptr = function() {
var t = Rt(this.get_type());
if (t)
var r = Rr(this.get_type());
if (r)
return F[this.excPtr >> 2];
var r = this.get_adjusted_ptr();
return r !== 0 ? r : this.excPtr;
var t = this.get_adjusted_ptr();
return t !== 0 ? t : this.excPtr;
};
}
function qt(e) {
function qr(e) {
throw M || (M = e), M;

@@ -198,33 +190,33 @@ }

return de(0), 0;
var t = new we(e);
t.set_adjusted_ptr(e);
var r = t.get_type();
if (!r)
var r = new we(e);
r.set_adjusted_ptr(e);
var t = r.get_type();
if (!t)
return de(0), e;
for (var n = 0; n < arguments.length; n++) {
var i = arguments[n];
if (i === 0 || i === r)
if (i === 0 || i === t)
break;
var a = t.ptr + 16;
if (St(i, r, a))
var a = r.ptr + 16;
if (Sr(i, t, a))
return de(i), e;
}
return de(r), e;
return de(t), e;
}
var Jt = We, Kt = We, Qt = We;
function er(e) {
var t = new we(e).get_exception_ptr();
return t;
var Jr = We, Kr = We, Qr = We;
function et(e) {
var r = new we(e).get_exception_ptr();
return r;
}
function tr() {
function rt() {
var e = ye.pop();
e || Q("no exception to throw");
var t = e.excPtr;
throw e.get_rethrown() || (ye.push(e), e.set_rethrown(!0), e.set_caught(!1), me++), M = t, M;
var r = e.excPtr;
throw e.get_rethrown() || (ye.push(e), e.set_rethrown(!0), e.set_caught(!1), me++), M = r, M;
}
function rr(e, t, r) {
function tt(e, r, t) {
var n = new we(e);
throw n.init(t, r), M = e, me++, M;
throw n.init(r, t), M = e, me++, M;
}
function nr() {
function nt() {
return me;

@@ -235,4 +227,4 @@ }

for (; e.length; ) {
var t = e.pop(), r = e.pop();
r(t);
var r = e.pop(), t = e.pop();
t(r);
}

@@ -243,18 +235,18 @@ }

}
var ee = {}, Z = {}, Pe = {}, ir = 48, ar = 57;
function at(e) {
var ee = {}, Z = {}, Ce = {}, it = 48, at = 57;
function ar(e) {
if (e === void 0)
return "_unknown";
e = e.replace(/[^a-zA-Z0-9_]/g, "$");
var t = e.charCodeAt(0);
return t >= ir && t <= ar ? "_" + e : e;
var r = e.charCodeAt(0);
return r >= it && r <= at ? "_" + e : e;
}
function ot(e, t) {
return e = at(e), { [e]: function() {
return t.apply(this, arguments);
function or(e, r) {
return e = ar(e), { [e]: function() {
return r.apply(this, arguments);
} }[e];
}
function Ue(e, t) {
var r = ot(t, function(n) {
this.name = t, this.message = n;
function Ue(e, r) {
var t = or(r, function(n) {
this.name = r, this.message = n;
var i = new Error(n).stack;

@@ -264,22 +256,22 @@ i !== void 0 && (this.stack = this.toString() + `

});
return r.prototype = Object.create(e.prototype), r.prototype.constructor = r, r.prototype.toString = function() {
return t.prototype = Object.create(e.prototype), t.prototype.constructor = t, t.prototype.toString = function() {
return this.message === void 0 ? this.name : this.name + ": " + this.message;
}, r;
}, t;
}
var st = void 0;
function Ce(e) {
throw new st(e);
var sr = void 0;
function $e(e) {
throw new sr(e);
}
function I(e, t, r) {
function I(e, r, t) {
e.forEach(function(o) {
Pe[o] = t;
Ce[o] = r;
});
function n(o) {
var f = r(o);
f.length !== e.length && Ce("Mismatched type converter count");
var f = t(o);
f.length !== e.length && $e("Mismatched type converter count");
for (var c = 0; c < e.length; ++c)
x(e[c], f[c]);
}
var i = new Array(t.length), a = [], s = 0;
t.forEach((o, f) => {
var i = new Array(r.length), a = [], s = 0;
r.forEach((o, f) => {
Z.hasOwnProperty(o) ? i[f] = Z[o] : (a.push(o), ee.hasOwnProperty(o) || (ee[o] = []), ee[o].push(() => {

@@ -290,15 +282,15 @@ i[f] = Z[o], ++s, s === a.length && n(i);

}
function or(e) {
var t = be[e];
function ot(e) {
var r = be[e];
delete be[e];
var r = t.rawConstructor, n = t.rawDestructor, i = t.fields, a = i.map((s) => s.getterReturnType).concat(i.map((s) => s.setterArgumentType));
var t = r.rawConstructor, n = r.rawDestructor, i = r.fields, a = i.map((s) => s.getterReturnType).concat(i.map((s) => s.setterArgumentType));
I([e], a, (s) => {
var o = {};
return i.forEach((f, c) => {
var d = f.fieldName, v = s[c], h = f.getter, _ = f.getterContext, P = s[c + i.length], $ = f.setter, C = f.setterContext;
o[d] = { read: (T) => v.fromWireType(h(_, T)), write: (T, l) => {
var p = [];
$(C, T, P.toWireType(p, l)), je(p);
var d = f.fieldName, p = s[c], h = f.getter, _ = f.getterContext, C = s[c + i.length], T = f.setter, $ = f.setterContext;
o[d] = { read: (P) => p.fromWireType(h(_, P)), write: (P, l) => {
var v = [];
T($, P, C.toWireType(v, l)), je(v);
} };
}), [{ name: t.name, fromWireType: function(f) {
}), [{ name: r.name, fromWireType: function(f) {
var c = {};

@@ -311,11 +303,11 @@ for (var d in o)

if (!(d in c))
throw new TypeError('Missing field: "' + d + '"');
var v = r();
throw new TypeError(`Missing field: "${d}"`);
var p = t();
for (d in o)
o[d].write(v, c[d]);
return f !== null && f.push(n, v), v;
o[d].write(p, c[d]);
return f !== null && f.push(n, p), p;
}, argPackAdvance: 8, readValueFromPointer: oe, destructorFunction: n }];
});
}
function sr(e, t, r, n, i) {
function st(e, r, t, n, i) {
}

@@ -336,27 +328,27 @@ function He(e) {

}
function ur() {
for (var e = new Array(256), t = 0; t < 256; ++t)
e[t] = String.fromCharCode(t);
ut = e;
function ut() {
for (var e = new Array(256), r = 0; r < 256; ++r)
e[r] = String.fromCharCode(r);
ur = e;
}
var ut = void 0;
var ur = void 0;
function R(e) {
for (var t = "", r = e; D[r]; )
t += ut[D[r++]];
return t;
for (var r = "", t = e; D[t]; )
r += ur[D[t++]];
return r;
}
var te = void 0;
var re = void 0;
function g(e) {
throw new te(e);
throw new re(e);
}
function x(e, t, r = {}) {
if (!("argPackAdvance" in t))
function x(e, r, t = {}) {
if (!("argPackAdvance" in r))
throw new TypeError("registerType registeredInstance requires argPackAdvance");
var n = t.name;
if (e || g('type "' + n + '" must have a positive integer typeid pointer'), Z.hasOwnProperty(e)) {
if (r.ignoreDuplicateRegistrations)
var n = r.name;
if (e || g(`type "${n}" must have a positive integer typeid pointer`), Z.hasOwnProperty(e)) {
if (t.ignoreDuplicateRegistrations)
return;
g("Cannot register type '" + n + "' twice");
g(`Cannot register type '${n}' twice`);
}
if (Z[e] = t, delete Pe[e], ee.hasOwnProperty(e)) {
if (Z[e] = r, delete Ce[e], ee.hasOwnProperty(e)) {
var i = ee[e];

@@ -366,5 +358,5 @@ delete ee[e], i.forEach((a) => a());

}
function fr(e, t, r, n, i) {
var a = He(r);
t = R(t), x(e, { name: t, fromWireType: function(s) {
function ft(e, r, t, n, i) {
var a = He(t);
r = R(r), x(e, { name: r, fromWireType: function(s) {
return !!s;

@@ -375,58 +367,58 @@ }, toWireType: function(s, o) {

var o;
if (r === 1)
if (t === 1)
o = U;
else if (r === 2)
else if (t === 2)
o = K;
else if (r === 4)
else if (t === 4)
o = S;
else
throw new TypeError("Unknown boolean type size: " + t);
throw new TypeError("Unknown boolean type size: " + r);
return this.fromWireType(o[s >> a]);
}, destructorFunction: null });
}
function cr(e) {
function ct(e) {
if (!(this instanceof L) || !(e instanceof L))
return !1;
for (var t = this.$$.ptrType.registeredClass, r = this.$$.ptr, n = e.$$.ptrType.registeredClass, i = e.$$.ptr; t.baseClass; )
r = t.upcast(r), t = t.baseClass;
for (var r = this.$$.ptrType.registeredClass, t = this.$$.ptr, n = e.$$.ptrType.registeredClass, i = e.$$.ptr; r.baseClass; )
t = r.upcast(t), r = r.baseClass;
for (; n.baseClass; )
i = n.upcast(i), n = n.baseClass;
return t === n && r === i;
return r === n && t === i;
}
function lr(e) {
function lt(e) {
return { count: e.count, deleteScheduled: e.deleteScheduled, preservePointerOnDelete: e.preservePointerOnDelete, ptr: e.ptr, ptrType: e.ptrType, smartPtr: e.smartPtr, smartPtrType: e.smartPtrType };
}
function Me(e) {
function t(r) {
return r.$$.ptrType.registeredClass.name;
function r(t) {
return t.$$.ptrType.registeredClass.name;
}
g(t(e) + " instance already deleted");
g(r(e) + " instance already deleted");
}
var Ie = !1;
function ft(e) {
function fr(e) {
}
function dr(e) {
function dt(e) {
e.smartPtr ? e.smartPtrType.rawDestructor(e.smartPtr) : e.ptrType.registeredClass.rawDestructor(e.ptr);
}
function ct(e) {
function cr(e) {
e.count.value -= 1;
var t = e.count.value === 0;
t && dr(e);
var r = e.count.value === 0;
r && dt(e);
}
function lt(e, t, r) {
if (t === r)
function lr(e, r, t) {
if (r === t)
return e;
if (r.baseClass === void 0)
if (t.baseClass === void 0)
return null;
var n = lt(e, t, r.baseClass);
return n === null ? null : r.downcast(n);
var n = lr(e, r, t.baseClass);
return n === null ? null : t.downcast(n);
}
var dt = {};
function vr() {
var dr = {};
function vt() {
return Object.keys(fe).length;
}
function pr() {
function pt() {
var e = [];
for (var t in fe)
fe.hasOwnProperty(t) && e.push(fe[t]);
for (var r in fe)
fe.hasOwnProperty(r) && e.push(fe[r]);
return e;

@@ -442,37 +434,37 @@ }

var ue = void 0;
function hr(e) {
function ht(e) {
ue = e, se.length && ue && ue(xe);
}
function _r() {
u.getInheritedInstanceCount = vr, u.getLiveInheritedInstances = pr, u.flushPendingDeletes = xe, u.setDelayFunction = hr;
function _t() {
u.getInheritedInstanceCount = vt, u.getLiveInheritedInstances = pt, u.flushPendingDeletes = xe, u.setDelayFunction = ht;
}
var fe = {};
function gr(e, t) {
for (t === void 0 && g("ptr should not be undefined"); e.baseClass; )
t = e.upcast(t), e = e.baseClass;
return t;
function gt(e, r) {
for (r === void 0 && g("ptr should not be undefined"); e.baseClass; )
r = e.upcast(r), e = e.baseClass;
return r;
}
function yr(e, t) {
return t = gr(e, t), fe[t];
function yt(e, r) {
return r = gt(e, r), fe[r];
}
function Te(e, t) {
(!t.ptrType || !t.ptr) && Ce("makeClassHandle requires ptr and ptrType");
var r = !!t.smartPtrType, n = !!t.smartPtr;
return r !== n && Ce("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, ce(Object.create(e, { $$: { value: t } }));
function Pe(e, r) {
(!r.ptrType || !r.ptr) && $e("makeClassHandle requires ptr and ptrType");
var t = !!r.smartPtrType, n = !!r.smartPtr;
return t !== n && $e("Both smartPtrType and smartPtr must be specified"), r.count = { value: 1 }, ce(Object.create(e, { $$: { value: r } }));
}
function mr(e) {
var t = this.getPointee(e);
if (!t)
function mt(e) {
var r = this.getPointee(e);
if (!r)
return this.destructor(e), null;
var r = yr(this.registeredClass, t);
if (r !== void 0) {
if (r.$$.count.value === 0)
return r.$$.ptr = t, r.$$.smartPtr = e, r.clone();
var n = r.clone();
var t = yt(this.registeredClass, r);
if (t !== void 0) {
if (t.$$.count.value === 0)
return t.$$.ptr = r, t.$$.smartPtr = e, t.clone();
var n = t.clone();
return this.destructor(e), n;
}
function i() {
return this.isSmartPointer ? Te(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: t, smartPtrType: this, smartPtr: e }) : Te(this.registeredClass.instancePrototype, { ptrType: this, ptr: e });
return this.isSmartPointer ? Pe(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: r, smartPtrType: this, smartPtr: e }) : Pe(this.registeredClass.instancePrototype, { ptrType: this, ptr: e });
}
var a = this.registeredClass.getActualType(t), s = dt[a];
var a = this.registeredClass.getActualType(r), s = dr[a];
if (!s)

@@ -482,85 +474,85 @@ return i.call(this);

this.isConst ? o = s.constPointerType : o = s.pointerType;
var f = lt(t, this.registeredClass, o.registeredClass);
return f === null ? i.call(this) : this.isSmartPointer ? Te(o.registeredClass.instancePrototype, { ptrType: o, ptr: f, smartPtrType: this, smartPtr: e }) : Te(o.registeredClass.instancePrototype, { ptrType: o, ptr: f });
var f = lr(r, this.registeredClass, o.registeredClass);
return f === null ? i.call(this) : this.isSmartPointer ? Pe(o.registeredClass.instancePrototype, { ptrType: o, ptr: f, smartPtrType: this, smartPtr: e }) : Pe(o.registeredClass.instancePrototype, { ptrType: o, ptr: f });
}
function ce(e) {
return typeof FinalizationRegistry > "u" ? (ce = (t) => t, e) : (Ie = new FinalizationRegistry((t) => {
ct(t.$$);
}), ce = (t) => {
var r = t.$$, n = !!r.smartPtr;
return typeof FinalizationRegistry > "u" ? (ce = (r) => r, e) : (Ie = new FinalizationRegistry((r) => {
cr(r.$$);
}), ce = (r) => {
var t = r.$$, n = !!t.smartPtr;
if (n) {
var i = { $$: r };
Ie.register(t, i, t);
var i = { $$: t };
Ie.register(r, i, r);
}
return t;
}, ft = (t) => Ie.unregister(t), ce(e));
return r;
}, fr = (r) => Ie.unregister(r), ce(e));
}
function wr() {
function wt() {
if (this.$$.ptr || Me(this), this.$$.preservePointerOnDelete)
return this.$$.count.value += 1, this;
var e = ce(Object.create(Object.getPrototypeOf(this), { $$: { value: lr(this.$$) } }));
var e = ce(Object.create(Object.getPrototypeOf(this), { $$: { value: lt(this.$$) } }));
return e.$$.count.value += 1, e.$$.deleteScheduled = !1, e;
}
function br() {
this.$$.ptr || Me(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && g("Object already scheduled for deletion"), ft(this), ct(this.$$), this.$$.preservePointerOnDelete || (this.$$.smartPtr = void 0, this.$$.ptr = void 0);
function bt() {
this.$$.ptr || Me(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && g("Object already scheduled for deletion"), fr(this), cr(this.$$), this.$$.preservePointerOnDelete || (this.$$.smartPtr = void 0, this.$$.ptr = void 0);
}
function Pr() {
function Ct() {
return !this.$$.ptr;
}
function Cr() {
function $t() {
return this.$$.ptr || Me(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && g("Object already scheduled for deletion"), se.push(this), se.length === 1 && ue && ue(xe), this.$$.deleteScheduled = !0, this;
}
function Tr() {
L.prototype.isAliasOf = cr, L.prototype.clone = wr, L.prototype.delete = br, L.prototype.isDeleted = Pr, L.prototype.deleteLater = Cr;
function Pt() {
L.prototype.isAliasOf = ct, L.prototype.clone = wt, L.prototype.delete = bt, L.prototype.isDeleted = Ct, L.prototype.deleteLater = $t;
}
function L() {
}
function vt(e, t, r) {
if (e[t].overloadTable === void 0) {
var n = e[t];
e[t] = function() {
return e[t].overloadTable.hasOwnProperty(arguments.length) || g("Function '" + r + "' called with an invalid number of arguments (" + arguments.length + ") - expects one of (" + e[t].overloadTable + ")!"), e[t].overloadTable[arguments.length].apply(this, arguments);
}, e[t].overloadTable = [], e[t].overloadTable[n.argCount] = n;
function vr(e, r, t) {
if (e[r].overloadTable === void 0) {
var n = e[r];
e[r] = function() {
return e[r].overloadTable.hasOwnProperty(arguments.length) || g(`Function '${t}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[r].overloadTable})!`), e[r].overloadTable[arguments.length].apply(this, arguments);
}, e[r].overloadTable = [], e[r].overloadTable[n.argCount] = n;
}
}
function pt(e, t, r) {
u.hasOwnProperty(e) ? ((r === void 0 || u[e].overloadTable !== void 0 && u[e].overloadTable[r] !== void 0) && g("Cannot register public name '" + e + "' twice"), vt(u, e, e), u.hasOwnProperty(r) && g("Cannot register multiple overloads of a function with the same number of arguments (" + r + ")!"), u[e].overloadTable[r] = t) : (u[e] = t, r !== void 0 && (u[e].numArguments = r));
function pr(e, r, t) {
u.hasOwnProperty(e) ? ((t === void 0 || u[e].overloadTable !== void 0 && u[e].overloadTable[t] !== void 0) && g(`Cannot register public name '${e}' twice`), vr(u, e, e), u.hasOwnProperty(t) && g(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`), u[e].overloadTable[t] = r) : (u[e] = r, t !== void 0 && (u[e].numArguments = t));
}
function $r(e, t, r, n, i, a, s, o) {
this.name = e, this.constructor = t, this.instancePrototype = r, this.rawDestructor = n, this.baseClass = i, this.getActualType = a, this.upcast = s, this.downcast = o, this.pureVirtualFunctions = [];
function Tt(e, r, t, n, i, a, s, o) {
this.name = e, this.constructor = r, this.instancePrototype = t, this.rawDestructor = n, this.baseClass = i, this.getActualType = a, this.upcast = s, this.downcast = o, this.pureVirtualFunctions = [];
}
function $e(e, t, r) {
for (; t !== r; )
t.upcast || g("Expected null or instance of " + r.name + ", got an instance of " + t.name), e = t.upcast(e), t = t.baseClass;
function Te(e, r, t) {
for (; r !== t; )
r.upcast || g(`Expected null or instance of ${t.name}, got an instance of ${r.name}`), e = r.upcast(e), r = r.baseClass;
return e;
}
function Ar(e, t) {
if (t === null)
function At(e, r) {
if (r === null)
return this.isReference && g("null is not a valid " + this.name), 0;
t.$$ || g('Cannot pass "' + Be(t) + '" as a ' + this.name), t.$$.ptr || g("Cannot pass deleted object as a pointer of type " + this.name);
var r = t.$$.ptrType.registeredClass, n = $e(t.$$.ptr, r, this.registeredClass);
r.$$ || g(`Cannot pass "${Be(r)}" as a ${this.name}`), r.$$.ptr || g("Cannot pass deleted object as a pointer of type " + this.name);
var t = r.$$.ptrType.registeredClass, n = Te(r.$$.ptr, t, this.registeredClass);
return n;
}
function Fr(e, t) {
var r;
if (t === null)
return this.isReference && g("null is not a valid " + this.name), this.isSmartPointer ? (r = this.rawConstructor(), e !== null && e.push(this.rawDestructor, r), r) : 0;
t.$$ || g('Cannot pass "' + Be(t) + '" as a ' + this.name), t.$$.ptr || g("Cannot pass deleted object as a pointer of type " + this.name), !this.isConst && t.$$.ptrType.isConst && g("Cannot convert argument of type " + (t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name) + " to parameter type " + this.name);
var n = t.$$.ptrType.registeredClass;
if (r = $e(t.$$.ptr, n, this.registeredClass), this.isSmartPointer)
switch (t.$$.smartPtr === void 0 && g("Passing raw pointer to smart pointer is illegal"), this.sharingPolicy) {
function Ft(e, r) {
var t;
if (r === null)
return this.isReference && g("null is not a valid " + this.name), this.isSmartPointer ? (t = this.rawConstructor(), e !== null && e.push(this.rawDestructor, t), t) : 0;
r.$$ || g(`Cannot pass "${Be(r)}" as a ${this.name}`), r.$$.ptr || g(`Cannot pass deleted object as a pointer of type ${this.name}`), !this.isConst && r.$$.ptrType.isConst && g(`Cannot convert argument of type ${r.$$.smartPtrType ? r.$$.smartPtrType.name : r.$$.ptrType.name} to parameter type ${this.name}`);
var n = r.$$.ptrType.registeredClass;
if (t = Te(r.$$.ptr, n, this.registeredClass), this.isSmartPointer)
switch (r.$$.smartPtr === void 0 && g("Passing raw pointer to smart pointer is illegal"), this.sharingPolicy) {
case 0:
t.$$.smartPtrType === this ? r = t.$$.smartPtr : g("Cannot convert argument of type " + (t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name) + " to parameter type " + this.name);
r.$$.smartPtrType === this ? t = r.$$.smartPtr : g(`Cannot convert argument of type ${r.$$.smartPtrType ? r.$$.smartPtrType.name : r.$$.ptrType.name} to parameter type ${this.name}`);
break;
case 1:
r = t.$$.smartPtr;
t = r.$$.smartPtr;
break;
case 2:
if (t.$$.smartPtrType === this)
r = t.$$.smartPtr;
if (r.$$.smartPtrType === this)
t = r.$$.smartPtr;
else {
var i = t.clone();
r = this.rawShare(r, Fe.toHandle(function() {
var i = r.clone();
t = this.rawShare(t, Fe.toHandle(function() {
i.delete();
})), e !== null && e.push(this.rawDestructor, r);
})), e !== null && e.push(this.rawDestructor, t);
}

@@ -571,202 +563,204 @@ break;

}
return r;
return t;
}
function Er(e, t) {
if (t === null)
function Et(e, r) {
if (r === null)
return this.isReference && g("null is not a valid " + this.name), 0;
t.$$ || g('Cannot pass "' + Be(t) + '" as a ' + this.name), t.$$.ptr || g("Cannot pass deleted object as a pointer of type " + this.name), t.$$.ptrType.isConst && g("Cannot convert argument of type " + t.$$.ptrType.name + " to parameter type " + this.name);
var r = t.$$.ptrType.registeredClass, n = $e(t.$$.ptr, r, this.registeredClass);
r.$$ || g(`Cannot pass "${Be(r)}" as a ${this.name}`), r.$$.ptr || g(`Cannot pass deleted object as a pointer of type ${this.name}`), r.$$.ptrType.isConst && g(`Cannot convert argument of type ${r.$$.ptrType.name} to parameter type ${this.name}`);
var t = r.$$.ptrType.registeredClass, n = Te(r.$$.ptr, t, this.registeredClass);
return n;
}
function Sr(e) {
function St(e) {
return this.rawGetPointee && (e = this.rawGetPointee(e)), e;
}
function Rr(e) {
function Rt(e) {
this.rawDestructor && this.rawDestructor(e);
}
function Dr(e) {
function Dt(e) {
e !== null && e.delete();
}
function kr() {
Y.prototype.getPointee = Sr, Y.prototype.destructor = Rr, Y.prototype.argPackAdvance = 8, Y.prototype.readValueFromPointer = oe, Y.prototype.deleteObject = Dr, Y.prototype.fromWireType = mr;
function kt() {
Y.prototype.getPointee = St, Y.prototype.destructor = Rt, Y.prototype.argPackAdvance = 8, Y.prototype.readValueFromPointer = oe, Y.prototype.deleteObject = Dt, Y.prototype.fromWireType = mt;
}
function Y(e, t, r, n, i, a, s, o, f, c, d) {
this.name = e, this.registeredClass = t, this.isReference = r, this.isConst = n, this.isSmartPointer = i, this.pointeeType = a, this.sharingPolicy = s, this.rawGetPointee = o, this.rawConstructor = f, this.rawShare = c, this.rawDestructor = d, !i && t.baseClass === void 0 ? n ? (this.toWireType = Ar, this.destructorFunction = null) : (this.toWireType = Er, this.destructorFunction = null) : this.toWireType = Fr;
function Y(e, r, t, n, i, a, s, o, f, c, d) {
this.name = e, this.registeredClass = r, this.isReference = t, this.isConst = n, this.isSmartPointer = i, this.pointeeType = a, this.sharingPolicy = s, this.rawGetPointee = o, this.rawConstructor = f, this.rawShare = c, this.rawDestructor = d, !i && r.baseClass === void 0 ? n ? (this.toWireType = At, this.destructorFunction = null) : (this.toWireType = Et, this.destructorFunction = null) : this.toWireType = Ft;
}
function ht(e, t, r) {
u.hasOwnProperty(e) || Ce("Replacing nonexistant public symbol"), u[e].overloadTable !== void 0 && r !== void 0 ? u[e].overloadTable[r] = t : (u[e] = t, u[e].argCount = r);
function hr(e, r, t) {
u.hasOwnProperty(e) || $e("Replacing nonexistant public symbol"), u[e].overloadTable !== void 0 && t !== void 0 ? u[e].overloadTable[t] = r : (u[e] = r, u[e].argCount = t);
}
function Or(e, t, r) {
function Ot(e, r, t) {
var n = u["dynCall_" + e];
return r && r.length ? n.apply(null, [t].concat(r)) : n.call(null, t);
return t && t.length ? n.apply(null, [r].concat(t)) : n.call(null, r);
}
var Ae = [];
function b(e) {
var t = Ae[e];
return t || (e >= Ae.length && (Ae.length = e + 1), Ae[e] = t = Ke.get(e)), t;
var r = Ae[e];
return r || (e >= Ae.length && (Ae.length = e + 1), Ae[e] = r = Ke.get(e)), r;
}
function Wr(e, t, r) {
function Wt(e, r, t) {
if (e.includes("j"))
return Or(e, t, r);
var n = b(t).apply(null, r);
return Ot(e, r, t);
var n = b(r).apply(null, t);
return n;
}
function jr(e, t) {
var r = [];
function jt(e, r) {
var t = [];
return function() {
return r.length = 0, Object.assign(r, arguments), Wr(e, t, r);
return t.length = 0, Object.assign(t, arguments), Wt(e, r, t);
};
}
function k(e, t) {
function k(e, r) {
e = R(e);
function r() {
return e.includes("j") ? jr(e, t) : b(t);
function t() {
return e.includes("j") ? jt(e, r) : b(r);
}
var n = r();
return typeof n != "function" && g("unknown function pointer with signature " + e + ": " + t), n;
var n = t();
return typeof n != "function" && g(`unknown function pointer with signature ${e}: ${r}`), n;
}
var _t = void 0;
function gt(e) {
var t = At(e), r = R(t);
return V(t), r;
var _r = void 0;
function gr(e) {
var r = Ar(e), t = R(r);
return V(r), t;
}
function re(e, t) {
var r = [], n = {};
function te(e, r) {
var t = [], n = {};
function i(a) {
if (!n[a] && !Z[a]) {
if (Pe[a]) {
Pe[a].forEach(i);
if (Ce[a]) {
Ce[a].forEach(i);
return;
}
r.push(a), n[a] = !0;
t.push(a), n[a] = !0;
}
}
throw t.forEach(i), new _t(e + ": " + r.map(gt).join([", "]));
throw r.forEach(i), new _r(e + ": " + t.map(gr).join([", "]));
}
function Ur(e, t, r, n, i, a, s, o, f, c, d, v, h) {
d = R(d), a = k(i, a), o && (o = k(s, o)), c && (c = k(f, c)), h = k(v, h);
var _ = at(d);
pt(_, function() {
re("Cannot construct " + d + " due to unbound types", [n]);
}), I([e, t, r], n ? [n] : [], function(P) {
P = P[0];
var $, C;
n ? ($ = P.registeredClass, C = $.instancePrototype) : C = L.prototype;
var T = ot(_, function() {
function Ut(e, r, t, n, i, a, s, o, f, c, d, p, h) {
d = R(d), a = k(i, a), o && (o = k(s, o)), c && (c = k(f, c)), h = k(p, h);
var _ = ar(d);
pr(_, function() {
te(`Cannot construct ${d} due to unbound types`, [n]);
}), I([e, r, t], n ? [n] : [], function(C) {
C = C[0];
var T, $;
n ? (T = C.registeredClass, $ = T.instancePrototype) : $ = L.prototype;
var P = or(_, function() {
if (Object.getPrototypeOf(this) !== l)
throw new te("Use 'new' to construct " + d);
if (p.constructor_body === void 0)
throw new te(d + " has no accessible constructor");
var Re = p.constructor_body[arguments.length];
throw new re("Use 'new' to construct " + d);
if (v.constructor_body === void 0)
throw new re(d + " has no accessible constructor");
var Re = v.constructor_body[arguments.length];
if (Re === void 0)
throw new te("Tried to invoke ctor of " + d + " with invalid number of parameters (" + arguments.length + ") - expected (" + Object.keys(p.constructor_body).toString() + ") parameters instead!");
throw new re(`Tried to invoke ctor of ${d} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(v.constructor_body).toString()}) parameters instead!`);
return Re.apply(this, arguments);
}), l = Object.create(C, { constructor: { value: T } });
T.prototype = l;
var p = new $r(d, T, l, h, $, a, o, c), A = new Y(d, p, !0, !1, !1), E = new Y(d + "*", p, !1, !1, !1), G = new Y(d + " const*", p, !1, !0, !1);
return dt[e] = { pointerType: E, constPointerType: G }, ht(_, T), [A, E, G];
}), l = Object.create($, { constructor: { value: P } });
P.prototype = l;
var v = new Tt(d, P, l, h, T, a, o, c);
v.baseClass && (v.baseClass.__derivedClasses === void 0 && (v.baseClass.__derivedClasses = []), v.baseClass.__derivedClasses.push(v));
var A = new Y(d, v, !0, !1, !1), E = new Y(d + "*", v, !1, !1, !1), G = new Y(d + " const*", v, !1, !0, !1);
return dr[e] = { pointerType: E, constPointerType: G }, hr(_, P), [A, E, G];
});
}
function Ye(e, t) {
for (var r = [], n = 0; n < e; n++)
r.push(F[t + n * 4 >> 2]);
return r;
function Ye(e, r) {
for (var t = [], n = 0; n < e; n++)
t.push(F[r + n * 4 >> 2]);
return t;
}
function Ve(e, t, r, n, i, a) {
var s = t.length;
function Ve(e, r, t, n, i, a) {
var s = r.length;
s < 2 && g("argTypes array size mismatch! Must at least get return value and 'this' types!");
for (var o = t[1] !== null && r !== null, f = !1, c = 1; c < t.length; ++c)
if (t[c] !== null && t[c].destructorFunction === void 0) {
for (var o = r[1] !== null && t !== null, f = !1, c = 1; c < r.length; ++c)
if (r[c] !== null && r[c].destructorFunction === void 0) {
f = !0;
break;
}
var d = t[0].name !== "void", v = s - 2, h = new Array(v), _ = [], P = [];
var d = r[0].name !== "void", p = s - 2, h = new Array(p), _ = [], C = [];
return function() {
arguments.length !== v && g("function " + e + " called with " + arguments.length + " arguments, expected " + v + " args!"), P.length = 0;
var $;
_.length = o ? 2 : 1, _[0] = i, o && ($ = t[1].toWireType(P, this), _[1] = $);
for (var C = 0; C < v; ++C)
h[C] = t[C + 2].toWireType(P, arguments[C]), _.push(h[C]);
var T = n.apply(null, _);
function l(p) {
arguments.length !== p && g(`function ${e} called with ${arguments.length} arguments, expected ${p} args!`), C.length = 0;
var T;
_.length = o ? 2 : 1, _[0] = i, o && (T = r[1].toWireType(C, this), _[1] = T);
for (var $ = 0; $ < p; ++$)
h[$] = r[$ + 2].toWireType(C, arguments[$]), _.push(h[$]);
var P = n.apply(null, _);
function l(v) {
if (f)
je(P);
je(C);
else
for (var A = o ? 1 : 2; A < t.length; A++) {
var E = A === 1 ? $ : h[A - 2];
t[A].destructorFunction !== null && t[A].destructorFunction(E);
for (var A = o ? 1 : 2; A < r.length; A++) {
var E = A === 1 ? T : h[A - 2];
r[A].destructorFunction !== null && r[A].destructorFunction(E);
}
if (d)
return t[0].fromWireType(p);
return r[0].fromWireType(v);
}
return l(T);
return l(P);
};
}
function Hr(e, t, r, n, i, a) {
jt(t > 0);
var s = Ye(t, r);
function Ht(e, r, t, n, i, a) {
jr(r > 0);
var s = Ye(r, t);
i = k(n, i), I([], [e], function(o) {
o = o[0];
var f = "constructor " + o.name;
if (o.registeredClass.constructor_body === void 0 && (o.registeredClass.constructor_body = []), o.registeredClass.constructor_body[t - 1] !== void 0)
throw new te("Cannot register multiple constructors with identical number of parameters (" + (t - 1) + ") for class '" + o.name + "'! Overload resolution is currently only performed using the parameter count, not actual type info!");
return o.registeredClass.constructor_body[t - 1] = () => {
re("Cannot construct " + o.name + " due to unbound types", s);
if (o.registeredClass.constructor_body === void 0 && (o.registeredClass.constructor_body = []), o.registeredClass.constructor_body[r - 1] !== void 0)
throw new re(`Cannot register multiple constructors with identical number of parameters (${r - 1}) for class '${o.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
return o.registeredClass.constructor_body[r - 1] = () => {
te(`Cannot construct ${o.name} due to unbound types`, s);
}, I([], s, function(c) {
return c.splice(1, 0, null), o.registeredClass.constructor_body[t - 1] = Ve(f, c, null, i, a), [];
return c.splice(1, 0, null), o.registeredClass.constructor_body[r - 1] = Ve(f, c, null, i, a), [];
}), [];
});
}
function Mr(e, t, r, n, i, a, s, o, f) {
var c = Ye(r, n);
t = R(t), a = k(i, a), I([], [e], function(d) {
function Mt(e, r, t, n, i, a, s, o, f) {
var c = Ye(t, n);
r = R(r), a = k(i, a), I([], [e], function(d) {
d = d[0];
var v = d.name + "." + t;
t.startsWith("@@") && (t = Symbol[t.substring(2)]), o && d.registeredClass.pureVirtualFunctions.push(t);
var p = d.name + "." + r;
r.startsWith("@@") && (r = Symbol[r.substring(2)]), o && d.registeredClass.pureVirtualFunctions.push(r);
function h() {
re("Cannot call " + v + " due to unbound types", c);
te(`Cannot call ${p} due to unbound types`, c);
}
var _ = d.registeredClass.instancePrototype, P = _[t];
return P === void 0 || P.overloadTable === void 0 && P.className !== d.name && P.argCount === r - 2 ? (h.argCount = r - 2, h.className = d.name, _[t] = h) : (vt(_, t, v), _[t].overloadTable[r - 2] = h), I([], c, function($) {
var C = Ve(v, $, d, a, s);
return _[t].overloadTable === void 0 ? (C.argCount = r - 2, _[t] = C) : _[t].overloadTable[r - 2] = C, [];
var _ = d.registeredClass.instancePrototype, C = _[r];
return C === void 0 || C.overloadTable === void 0 && C.className !== d.name && C.argCount === t - 2 ? (h.argCount = t - 2, h.className = d.name, _[r] = h) : (vr(_, r, p), _[r].overloadTable[t - 2] = h), I([], c, function(T) {
var $ = Ve(p, T, d, a, s);
return _[r].overloadTable === void 0 ? ($.argCount = t - 2, _[r] = $) : _[r].overloadTable[t - 2] = $, [];
}), [];
});
}
function yt(e, t, r) {
return e instanceof Object || g(r + ' with invalid "this": ' + e), e instanceof t.registeredClass.constructor || g(r + ' incompatible with "this" of type ' + e.constructor.name), e.$$.ptr || g("cannot call emscripten binding method " + r + " on deleted object"), $e(e.$$.ptr, e.$$.ptrType.registeredClass, t.registeredClass);
function yr(e, r, t) {
return e instanceof Object || g(t + ' with invalid "this": ' + e), e instanceof r.registeredClass.constructor || g(t + ' incompatible with "this" of type ' + e.constructor.name), e.$$.ptr || g(`cannot call emscripten binding method ${t} on deleted object`), Te(e.$$.ptr, e.$$.ptrType.registeredClass, r.registeredClass);
}
function Ir(e, t, r, n, i, a, s, o, f, c) {
t = R(t), i = k(n, i), I([], [e], function(d) {
function It(e, r, t, n, i, a, s, o, f, c) {
r = R(r), i = k(n, i), I([], [e], function(d) {
d = d[0];
var v = d.name + "." + t, h = { get: function() {
re("Cannot access " + v + " due to unbound types", [r, s]);
var p = d.name + "." + r, h = { get: function() {
te(`Cannot access ${p} due to unbound types`, [t, s]);
}, enumerable: !0, configurable: !0 };
return f ? h.set = () => {
re("Cannot access " + v + " due to unbound types", [r, s]);
te(`Cannot access ${p} due to unbound types`, [t, s]);
} : h.set = (_) => {
g(v + " is a read-only property");
}, Object.defineProperty(d.registeredClass.instancePrototype, t, h), I([], f ? [r, s] : [r], function(_) {
var P = _[0], $ = { get: function() {
var T = yt(this, d, v + " getter");
return P.fromWireType(i(a, T));
g(p + " is a read-only property");
}, Object.defineProperty(d.registeredClass.instancePrototype, r, h), I([], f ? [t, s] : [t], function(_) {
var C = _[0], T = { get: function() {
var P = yr(this, d, p + " getter");
return C.fromWireType(i(a, P));
}, enumerable: !0 };
if (f) {
f = k(o, f);
var C = _[1];
$.set = function(T) {
var l = yt(this, d, v + " setter"), p = [];
f(c, l, C.toWireType(p, T)), je(p);
var $ = _[1];
T.set = function(P) {
var l = yr(this, d, p + " setter"), v = [];
f(c, l, $.toWireType(v, P)), je(v);
};
}
return Object.defineProperty(d.registeredClass.instancePrototype, t, $), [];
return Object.defineProperty(d.registeredClass.instancePrototype, r, T), [];
}), [];
});
}
function xr() {
function xt() {
this.allocated = [void 0], this.freelist = [], this.get = function(e) {
return this.allocated[e];
}, this.allocate = function(e) {
let t = this.freelist.pop() || this.allocated.length;
return this.allocated[t] = e, t;
var r = this.freelist.pop() || this.allocated.length;
return this.allocated[r] = e, r;
}, this.free = function(e) {

@@ -776,13 +770,13 @@ this.allocated[e] = void 0, this.freelist.push(e);

}
var O = new xr();
function mt(e) {
var O = new xt();
function mr(e) {
e >= O.reserved && --O.get(e).refcount === 0 && O.free(e);
}
function Yr() {
for (var e = 0, t = O.reserved; t < O.allocated.length; ++t)
O.allocated[t] !== void 0 && ++e;
function Yt() {
for (var e = 0, r = O.reserved; r < O.allocated.length; ++r)
O.allocated[r] !== void 0 && ++e;
return e;
}
function Vr() {
O.allocated.push({ value: void 0 }, { value: null }, { value: !0 }, { value: !1 }), O.reserved = O.allocated.length, u.count_emval_handles = Yr;
function Vt() {
O.allocated.push({ value: void 0 }, { value: null }, { value: !0 }, { value: !1 }), O.reserved = O.allocated.length, u.count_emval_handles = Yt;
}

@@ -803,7 +797,7 @@ var Fe = { toValue: (e) => (e || g("Cannot use deleted val. handle = " + e), O.get(e).value), toHandle: (e) => {

} };
function Br(e, t) {
t = R(t), x(e, { name: t, fromWireType: function(r) {
var n = Fe.toValue(r);
return mt(r), n;
}, toWireType: function(r, n) {
function Bt(e, r) {
r = R(r), x(e, { name: r, fromWireType: function(t) {
var n = Fe.toValue(t);
return mr(t), n;
}, toWireType: function(t, n) {
return Fe.toHandle(n);

@@ -815,14 +809,14 @@ }, argPackAdvance: 8, readValueFromPointer: oe, destructorFunction: null });

return "null";
var t = typeof e;
return t === "object" || t === "array" || t === "function" ? e.toString() : "" + e;
var r = typeof e;
return r === "object" || r === "array" || r === "function" ? e.toString() : "" + e;
}
function Lr(e, t) {
switch (t) {
function Lt(e, r) {
switch (r) {
case 2:
return function(r) {
return this.fromWireType(Ge[r >> 2]);
return function(t) {
return this.fromWireType(Ge[t >> 2]);
};
case 3:
return function(r) {
return this.fromWireType(qe[r >> 3]);
return function(t) {
return this.fromWireType(qe[t >> 3]);
};

@@ -833,23 +827,23 @@ default:

}
function Nr(e, t, r) {
var n = He(r);
t = R(t), x(e, { name: t, fromWireType: function(i) {
function Nt(e, r, t) {
var n = He(t);
r = R(r), x(e, { name: r, fromWireType: function(i) {
return i;
}, toWireType: function(i, a) {
return a;
}, argPackAdvance: 8, readValueFromPointer: Lr(t, n), destructorFunction: null });
}, argPackAdvance: 8, readValueFromPointer: Lt(r, n), destructorFunction: null });
}
function zr(e, t, r, n, i, a, s) {
var o = Ye(t, r);
e = R(e), i = k(n, i), pt(e, function() {
re("Cannot call " + e + " due to unbound types", o);
}, t - 1), I([], o, function(f) {
function zt(e, r, t, n, i, a, s) {
var o = Ye(r, t);
e = R(e), i = k(n, i), pr(e, function() {
te(`Cannot call ${e} due to unbound types`, o);
}, r - 1), I([], o, function(f) {
var c = [f[0], null].concat(f.slice(1));
return ht(e, Ve(e, c, null, i, a), t - 1), [];
return hr(e, Ve(e, c, null, i, a), r - 1), [];
});
}
function Xr(e, t, r) {
switch (t) {
function Xt(e, r, t) {
switch (r) {
case 0:
return r ? function(i) {
return t ? function(i) {
return U[i];

@@ -860,3 +854,3 @@ } : function(i) {

case 1:
return r ? function(i) {
return t ? function(i) {
return K[i >> 1];

@@ -867,3 +861,3 @@ } : function(i) {

case 2:
return r ? function(i) {
return t ? function(i) {
return S[i >> 2];

@@ -877,19 +871,19 @@ } : function(i) {

}
function Zr(e, t, r, n, i) {
t = R(t);
var a = He(r), s = (v) => v;
function Zt(e, r, t, n, i) {
r = R(r);
var a = He(t), s = (p) => p;
if (n === 0) {
var o = 32 - 8 * r;
s = (v) => v << o >>> o;
var o = 32 - 8 * t;
s = (p) => p << o >>> o;
}
var f = t.includes("unsigned"), c = (v, h) => {
var f = r.includes("unsigned"), c = (p, h) => {
}, d;
f ? d = function(v, h) {
f ? d = function(p, h) {
return c(h, this.name), h >>> 0;
} : d = function(v, h) {
} : d = function(p, h) {
return c(h, this.name), h;
}, x(e, { name: t, fromWireType: s, toWireType: d, argPackAdvance: 8, readValueFromPointer: Xr(t, a, n !== 0), destructorFunction: null });
}, x(e, { name: r, fromWireType: s, toWireType: d, argPackAdvance: 8, readValueFromPointer: Xt(r, a, n !== 0), destructorFunction: null });
}
function Gr(e, t, r) {
var n = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array], i = n[t];
function Gt(e, r, t) {
var n = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array], i = n[r];
function a(s) {

@@ -900,8 +894,8 @@ s = s >> 2;

}
r = R(r), x(e, { name: r, fromWireType: a, argPackAdvance: 8, readValueFromPointer: a }, { ignoreDuplicateRegistrations: !0 });
t = R(t), x(e, { name: t, fromWireType: a, argPackAdvance: 8, readValueFromPointer: a }, { ignoreDuplicateRegistrations: !0 });
}
function wt(e, t, r, n) {
function wr(e, r, t, n) {
if (!(n > 0))
return 0;
for (var i = r, a = r + n - 1, s = 0; s < e.length; ++s) {
for (var i = t, a = t + n - 1, s = 0; s < e.length; ++s) {
var o = e.charCodeAt(s);

@@ -913,39 +907,39 @@ if (o >= 55296 && o <= 57343) {

if (o <= 127) {
if (r >= a)
if (t >= a)
break;
t[r++] = o;
r[t++] = o;
} else if (o <= 2047) {
if (r + 1 >= a)
if (t + 1 >= a)
break;
t[r++] = 192 | o >> 6, t[r++] = 128 | o & 63;
r[t++] = 192 | o >> 6, r[t++] = 128 | o & 63;
} else if (o <= 65535) {
if (r + 2 >= a)
if (t + 2 >= a)
break;
t[r++] = 224 | o >> 12, t[r++] = 128 | o >> 6 & 63, t[r++] = 128 | o & 63;
r[t++] = 224 | o >> 12, r[t++] = 128 | o >> 6 & 63, r[t++] = 128 | o & 63;
} else {
if (r + 3 >= a)
if (t + 3 >= a)
break;
t[r++] = 240 | o >> 18, t[r++] = 128 | o >> 12 & 63, t[r++] = 128 | o >> 6 & 63, t[r++] = 128 | o & 63;
r[t++] = 240 | o >> 18, r[t++] = 128 | o >> 12 & 63, r[t++] = 128 | o >> 6 & 63, r[t++] = 128 | o & 63;
}
}
return t[r] = 0, r - i;
return r[t] = 0, t - i;
}
function qr(e, t, r) {
return wt(e, D, t, r);
function qt(e, r, t) {
return wr(e, D, r, t);
}
function bt(e) {
for (var t = 0, r = 0; r < e.length; ++r) {
var n = e.charCodeAt(r);
n <= 127 ? t++ : n <= 2047 ? t += 2 : n >= 55296 && n <= 57343 ? (t += 4, ++r) : t += 3;
function br(e) {
for (var r = 0, t = 0; t < e.length; ++t) {
var n = e.charCodeAt(t);
n <= 127 ? r++ : n <= 2047 ? r += 2 : n >= 55296 && n <= 57343 ? (r += 4, ++t) : r += 3;
}
return t;
return r;
}
var Pt = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0;
function Jr(e, t, r) {
for (var n = t + r, i = t; e[i] && !(i >= n); )
var Cr = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0;
function Jt(e, r, t) {
for (var n = r + t, i = r; e[i] && !(i >= n); )
++i;
if (i - t > 16 && e.buffer && Pt)
return Pt.decode(e.subarray(t, i));
for (var a = ""; t < i; ) {
var s = e[t++];
if (i - r > 16 && e.buffer && Cr)
return Cr.decode(e.subarray(r, i));
for (var a = ""; r < i; ) {
var s = e[r++];
if (!(s & 128)) {

@@ -955,3 +949,3 @@ a += String.fromCharCode(s);

}
var o = e[t++] & 63;
var o = e[r++] & 63;
if ((s & 224) == 192) {

@@ -961,4 +955,4 @@ a += String.fromCharCode((s & 31) << 6 | o);

}
var f = e[t++] & 63;
if ((s & 240) == 224 ? s = (s & 15) << 12 | o << 6 | f : s = (s & 7) << 18 | o << 12 | f << 6 | e[t++] & 63, s < 65536)
var f = e[r++] & 63;
if ((s & 240) == 224 ? s = (s & 15) << 12 | o << 6 | f : s = (s & 7) << 18 | o << 12 | f << 6 | e[r++] & 63, s < 65536)
a += String.fromCharCode(s);

@@ -972,16 +966,16 @@ else {

}
function Le(e, t) {
return e ? Jr(D, e, t) : "";
function Le(e, r) {
return e ? Jt(D, e, r) : "";
}
function Kr(e, t) {
t = R(t);
var r = t === "std::string";
x(e, { name: t, fromWireType: function(n) {
function Kt(e, r) {
r = R(r);
var t = r === "std::string";
x(e, { name: r, fromWireType: function(n) {
var i = F[n >> 2], a = n + 4, s;
if (r)
if (t)
for (var o = a, f = 0; f <= i; ++f) {
var c = a + f;
if (f == i || D[c] == 0) {
var d = c - o, v = Le(o, d);
s === void 0 ? s = v : (s += String.fromCharCode(0), s += v), o = c + 1;
var d = c - o, p = Le(o, d);
s === void 0 ? s = p : (s += String.fromCharCode(0), s += p), o = c + 1;
}

@@ -998,6 +992,6 @@ }

var a, s = typeof i == "string";
s || i instanceof Uint8Array || i instanceof Uint8ClampedArray || i instanceof Int8Array || g("Cannot pass non-string to std::string"), r && s ? a = bt(i) : a = i.length;
s || i instanceof Uint8Array || i instanceof Uint8ClampedArray || i instanceof Int8Array || g("Cannot pass non-string to std::string"), t && s ? a = br(i) : a = i.length;
var o = ze(4 + a + 1), f = o + 4;
if (F[o >> 2] = a, r && s)
qr(i, f, a + 1);
if (F[o >> 2] = a, t && s)
qt(i, f, a + 1);
else if (s)

@@ -1016,9 +1010,9 @@ for (var c = 0; c < a; ++c) {

}
var Ct = typeof TextDecoder < "u" ? new TextDecoder("utf-16le") : void 0;
function Qr(e, t) {
for (var r = e, n = r >> 1, i = n + t / 2; !(n >= i) && ge[n]; )
var $r = typeof TextDecoder < "u" ? new TextDecoder("utf-16le") : void 0;
function Qt(e, r) {
for (var t = e, n = t >> 1, i = n + r / 2; !(n >= i) && ge[n]; )
++n;
if (r = n << 1, r - e > 32 && Ct)
return Ct.decode(D.subarray(e, r));
for (var a = "", s = 0; !(s >= t / 2); ++s) {
if (t = n << 1, t - e > 32 && $r)
return $r.decode(D.subarray(e, t));
for (var a = "", s = 0; !(s >= r / 2); ++s) {
var o = K[e + s * 2 >> 1];

@@ -1031,21 +1025,21 @@ if (o == 0)

}
function en(e, t, r) {
if (r === void 0 && (r = 2147483647), r < 2)
function en(e, r, t) {
if (t === void 0 && (t = 2147483647), t < 2)
return 0;
r -= 2;
for (var n = t, i = r < e.length * 2 ? r / 2 : e.length, a = 0; a < i; ++a) {
t -= 2;
for (var n = r, i = t < e.length * 2 ? t / 2 : e.length, a = 0; a < i; ++a) {
var s = e.charCodeAt(a);
K[t >> 1] = s, t += 2;
K[r >> 1] = s, r += 2;
}
return K[t >> 1] = 0, t - n;
return K[r >> 1] = 0, r - n;
}
function tn(e) {
function rn(e) {
return e.length * 2;
}
function rn(e, t) {
for (var r = 0, n = ""; !(r >= t / 4); ) {
var i = S[e + r * 4 >> 2];
function tn(e, r) {
for (var t = 0, n = ""; !(t >= r / 4); ) {
var i = S[e + t * 4 >> 2];
if (i == 0)
break;
if (++r, i >= 65536) {
if (++t, i >= 65536) {
var a = i - 65536;

@@ -1058,6 +1052,6 @@ n += String.fromCharCode(55296 | a >> 10, 56320 | a & 1023);

}
function nn(e, t, r) {
if (r === void 0 && (r = 2147483647), r < 4)
function nn(e, r, t) {
if (t === void 0 && (t = 2147483647), t < 4)
return 0;
for (var n = t, i = n + r - 4, a = 0; a < e.length; ++a) {
for (var n = r, i = n + t - 4, a = 0; a < e.length; ++a) {
var s = e.charCodeAt(a);

@@ -1068,30 +1062,30 @@ if (s >= 55296 && s <= 57343) {

}
if (S[t >> 2] = s, t += 4, t + 4 > i)
if (S[r >> 2] = s, r += 4, r + 4 > i)
break;
}
return S[t >> 2] = 0, t - n;
return S[r >> 2] = 0, r - n;
}
function an(e) {
for (var t = 0, r = 0; r < e.length; ++r) {
var n = e.charCodeAt(r);
n >= 55296 && n <= 57343 && ++r, t += 4;
for (var r = 0, t = 0; t < e.length; ++t) {
var n = e.charCodeAt(t);
n >= 55296 && n <= 57343 && ++t, r += 4;
}
return t;
return r;
}
function on(e, t, r) {
r = R(r);
function on(e, r, t) {
t = R(t);
var n, i, a, s, o;
t === 2 ? (n = Qr, i = en, s = tn, a = () => ge, o = 1) : t === 4 && (n = rn, i = nn, s = an, a = () => F, o = 2), x(e, { name: r, fromWireType: function(f) {
for (var c = F[f >> 2], d = a(), v, h = f + 4, _ = 0; _ <= c; ++_) {
var P = f + 4 + _ * t;
if (_ == c || d[P >> o] == 0) {
var $ = P - h, C = n(h, $);
v === void 0 ? v = C : (v += String.fromCharCode(0), v += C), h = P + t;
r === 2 ? (n = Qt, i = en, s = rn, a = () => ge, o = 1) : r === 4 && (n = tn, i = nn, s = an, a = () => F, o = 2), x(e, { name: t, fromWireType: function(f) {
for (var c = F[f >> 2], d = a(), p, h = f + 4, _ = 0; _ <= c; ++_) {
var C = f + 4 + _ * r;
if (_ == c || d[C >> o] == 0) {
var T = C - h, $ = n(h, T);
p === void 0 ? p = $ : (p += String.fromCharCode(0), p += $), h = C + r;
}
}
return V(f), v;
return V(f), p;
}, toWireType: function(f, c) {
typeof c != "string" && g("Cannot pass non-string to C++ string type " + r);
var d = s(c), v = ze(4 + d + t);
return F[v >> 2] = d >> o, i(c, v + 4, d + t), f !== null && f.push(V, v), v;
typeof c != "string" && g("Cannot pass non-string to C++ string type " + t);
var d = s(c), p = ze(4 + d + r);
return F[p >> 2] = d >> o, i(c, p + 4, d + r), f !== null && f.push(V, p), p;
}, argPackAdvance: 8, readValueFromPointer: oe, destructorFunction: function(f) {

@@ -1101,11 +1095,11 @@ V(f);

}
function sn(e, t, r, n, i, a) {
be[e] = { name: R(t), rawConstructor: k(r, n), rawDestructor: k(i, a), fields: [] };
function sn(e, r, t, n, i, a) {
be[e] = { name: R(r), rawConstructor: k(t, n), rawDestructor: k(i, a), fields: [] };
}
function un(e, t, r, n, i, a, s, o, f, c) {
be[e].fields.push({ fieldName: R(t), getterReturnType: r, getter: k(n, i), getterContext: a, setterArgumentType: s, setter: k(o, f), setterContext: c });
function un(e, r, t, n, i, a, s, o, f, c) {
be[e].fields.push({ fieldName: R(r), getterReturnType: t, getter: k(n, i), getterContext: a, setterArgumentType: s, setter: k(o, f), setterContext: c });
}
function fn(e, t) {
t = R(t), x(e, { isVoid: !0, name: t, argPackAdvance: 0, fromWireType: function() {
}, toWireType: function(r, n) {
function fn(e, r) {
r = R(r), x(e, { isVoid: !0, name: r, argPackAdvance: 0, fromWireType: function() {
}, toWireType: function(t, n) {
} });

@@ -1116,10 +1110,10 @@ }

}
function ln(e, t) {
var r = Z[e];
return r === void 0 && g(t + " has unknown type " + gt(e)), r;
function ln(e, r) {
var t = Z[e];
return t === void 0 && g(r + " has unknown type " + gr(e)), t;
}
function dn(e, t) {
function dn(e, r) {
e = ln(e, "_emval_take_value");
var r = e.readValueFromPointer(t);
return Fe.toHandle(r);
var t = e.readValueFromPointer(r);
return Fe.toHandle(t);
}

@@ -1129,4 +1123,4 @@ function vn() {

}
function pn(e, t, r) {
D.copyWithin(e, t, t + r);
function pn(e, r, t) {
D.copyWithin(e, r, r + t);
}

@@ -1137,5 +1131,5 @@ function hn() {

function _n(e) {
var t = _e.buffer;
var r = _e.buffer;
try {
return _e.grow(e - t.byteLength + 65535 >>> 16), Je(), 1;
return _e.grow(e - r.byteLength + 65535 >>> 16), Je(), 1;
} catch {

@@ -1145,12 +1139,11 @@ }

function gn(e) {
var t = D.length;
var r = D.length;
e = e >>> 0;
var r = hn();
if (e > r)
var t = hn();
if (e > t)
return !1;
let n = (f, c) => f + (c - f % c) % c;
for (var i = 1; i <= 4; i *= 2) {
var a = t * (1 + 0.2 / i);
for (var n = (f, c) => f + (c - f % c) % c, i = 1; i <= 4; i *= 2) {
var a = r * (1 + 0.2 / i);
a = Math.min(a, e + 100663296);
var s = Math.min(r, n(Math.max(e, a), 65536)), o = _n(s);
var s = Math.min(t, n(Math.max(e, a), 65536)), o = _n(s);
if (o)

@@ -1167,8 +1160,8 @@ return !0;

if (!le.strings) {
var e = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", t = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: e, _: yn() };
for (var r in Ne)
Ne[r] === void 0 ? delete t[r] : t[r] = Ne[r];
var e = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", r = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: e, _: yn() };
for (var t in Ne)
Ne[t] === void 0 ? delete r[t] : r[t] = Ne[t];
var n = [];
for (var r in t)
n.push(r + "=" + t[r]);
for (var t in r)
n.push(t + "=" + r[t]);
le.strings = n;

@@ -1178,23 +1171,23 @@ }

}
function mn(e, t) {
for (var r = 0; r < e.length; ++r)
U[t++ >> 0] = e.charCodeAt(r);
U[t >> 0] = 0;
function mn(e, r) {
for (var t = 0; t < e.length; ++t)
U[r++ >> 0] = e.charCodeAt(t);
U[r >> 0] = 0;
}
function wn(e, t) {
var r = 0;
function wn(e, r) {
var t = 0;
return le().forEach(function(n, i) {
var a = t + r;
F[e + i * 4 >> 2] = a, mn(n, a), r += n.length + 1;
var a = r + t;
F[e + i * 4 >> 2] = a, mn(n, a), t += n.length + 1;
}), 0;
}
function bn(e, t) {
var r = le();
F[e >> 2] = r.length;
function bn(e, r) {
var t = le();
F[e >> 2] = t.length;
var n = 0;
return r.forEach(function(i) {
return t.forEach(function(i) {
n += i.length + 1;
}), F[t >> 2] = n, 0;
}), F[r >> 2] = n, 0;
}
function Pn(e) {
function Cn(e) {
return e;

@@ -1205,39 +1198,39 @@ }

}
function Cn(e, t) {
for (var r = 0, n = 0; n <= t; r += e[n++])
function $n(e, r) {
for (var t = 0, n = 0; n <= r; t += e[n++])
;
return r;
return t;
}
var Tt = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], $t = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
function Tn(e, t) {
for (var r = new Date(e.getTime()); t > 0; ) {
var n = Ee(r.getFullYear()), i = r.getMonth(), a = (n ? Tt : $t)[i];
if (t > a - r.getDate())
t -= a - r.getDate() + 1, r.setDate(1), i < 11 ? r.setMonth(i + 1) : (r.setMonth(0), r.setFullYear(r.getFullYear() + 1));
var Pr = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Tr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
function Pn(e, r) {
for (var t = new Date(e.getTime()); r > 0; ) {
var n = Ee(t.getFullYear()), i = t.getMonth(), a = (n ? Pr : Tr)[i];
if (r > a - t.getDate())
r -= a - t.getDate() + 1, t.setDate(1), i < 11 ? t.setMonth(i + 1) : (t.setMonth(0), t.setFullYear(t.getFullYear() + 1));
else
return r.setDate(r.getDate() + t), r;
return t.setDate(t.getDate() + r), t;
}
return r;
return t;
}
function $n(e, t, r) {
var n = r > 0 ? r : bt(e) + 1, i = new Array(n), a = wt(e, i, 0, i.length);
return t && (i.length = a), i;
function Tn(e, r, t) {
var n = t > 0 ? t : br(e) + 1, i = new Array(n), a = wr(e, i, 0, i.length);
return r && (i.length = a), i;
}
function An(e, t) {
U.set(e, t);
function An(e, r) {
U.set(e, r);
}
function Fn(e, t, r, n) {
var i = S[n + 40 >> 2], a = { tm_sec: S[n >> 2], tm_min: S[n + 4 >> 2], tm_hour: S[n + 8 >> 2], tm_mday: S[n + 12 >> 2], tm_mon: S[n + 16 >> 2], tm_year: S[n + 20 >> 2], tm_wday: S[n + 24 >> 2], tm_yday: S[n + 28 >> 2], tm_isdst: S[n + 32 >> 2], tm_gmtoff: S[n + 36 >> 2], tm_zone: i ? Le(i) : "" }, s = Le(r), o = { "%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" };
function Fn(e, r, t, n) {
var i = S[n + 40 >> 2], a = { tm_sec: S[n >> 2], tm_min: S[n + 4 >> 2], tm_hour: S[n + 8 >> 2], tm_mday: S[n + 12 >> 2], tm_mon: S[n + 16 >> 2], tm_year: S[n + 20 >> 2], tm_wday: S[n + 24 >> 2], tm_yday: S[n + 28 >> 2], tm_isdst: S[n + 32 >> 2], tm_gmtoff: S[n + 36 >> 2], tm_zone: i ? Le(i) : "" }, s = Le(t), o = { "%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" };
for (var f in o)
s = s.replace(new RegExp(f, "g"), o[f]);
var c = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], d = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
function v(l, p, A) {
for (var E = typeof l == "number" ? l.toString() : l || ""; E.length < p; )
function p(l, v, A) {
for (var E = typeof l == "number" ? l.toString() : l || ""; E.length < v; )
E = A[0] + E;
return E;
}
function h(l, p) {
return v(l, p, "0");
function h(l, v) {
return p(l, v, "0");
}
function _(l, p) {
function _(l, v) {
function A(G) {

@@ -1247,5 +1240,5 @@ return G < 0 ? -1 : G > 0 ? 1 : 0;

var E;
return (E = A(l.getFullYear() - p.getFullYear())) === 0 && (E = A(l.getMonth() - p.getMonth())) === 0 && (E = A(l.getDate() - p.getDate())), E;
return (E = A(l.getFullYear() - v.getFullYear())) === 0 && (E = A(l.getMonth() - v.getMonth())) === 0 && (E = A(l.getDate() - v.getDate())), E;
}
function P(l) {
function C(l) {
switch (l.getDay()) {

@@ -1268,7 +1261,7 @@ case 0:

}
function $(l) {
var p = Tn(new Date(l.tm_year + 1900, 0, 1), l.tm_yday), A = new Date(p.getFullYear(), 0, 4), E = new Date(p.getFullYear() + 1, 0, 4), G = P(A), Re = P(E);
return _(G, p) <= 0 ? _(Re, p) <= 0 ? p.getFullYear() + 1 : p.getFullYear() : p.getFullYear() - 1;
function T(l) {
var v = Pn(new Date(l.tm_year + 1900, 0, 1), l.tm_yday), A = new Date(v.getFullYear(), 0, 4), E = new Date(v.getFullYear() + 1, 0, 4), G = C(A), Re = C(E);
return _(G, v) <= 0 ? _(Re, v) <= 0 ? v.getFullYear() + 1 : v.getFullYear() : v.getFullYear() - 1;
}
var C = { "%a": function(l) {
var $ = { "%a": function(l) {
return c[l.tm_wday].substring(0, 3);

@@ -1282,19 +1275,19 @@ }, "%A": function(l) {

}, "%C": function(l) {
var p = l.tm_year + 1900;
return h(p / 100 | 0, 2);
var v = l.tm_year + 1900;
return h(v / 100 | 0, 2);
}, "%d": function(l) {
return h(l.tm_mday, 2);
}, "%e": function(l) {
return v(l.tm_mday, 2, " ");
return p(l.tm_mday, 2, " ");
}, "%g": function(l) {
return $(l).toString().substring(2);
return T(l).toString().substring(2);
}, "%G": function(l) {
return $(l);
return T(l);
}, "%H": function(l) {
return h(l.tm_hour, 2);
}, "%I": function(l) {
var p = l.tm_hour;
return p == 0 ? p = 12 : p > 12 && (p -= 12), h(p, 2);
var v = l.tm_hour;
return v == 0 ? v = 12 : v > 12 && (v -= 12), h(v, 2);
}, "%j": function(l) {
return h(l.tm_mday + Cn(Ee(l.tm_year + 1900) ? Tt : $t, l.tm_mon - 1), 3);
return h(l.tm_mday + $n(Ee(l.tm_year + 1900) ? Pr : Tr, l.tm_mon - 1), 3);
}, "%m": function(l) {

@@ -1316,22 +1309,22 @@ return h(l.tm_mon + 1, 2);

}, "%U": function(l) {
var p = l.tm_yday + 7 - l.tm_wday;
return h(Math.floor(p / 7), 2);
var v = l.tm_yday + 7 - l.tm_wday;
return h(Math.floor(v / 7), 2);
}, "%V": function(l) {
var p = Math.floor((l.tm_yday + 7 - (l.tm_wday + 6) % 7) / 7);
if ((l.tm_wday + 371 - l.tm_yday - 2) % 7 <= 2 && p++, p) {
if (p == 53) {
var v = Math.floor((l.tm_yday + 7 - (l.tm_wday + 6) % 7) / 7);
if ((l.tm_wday + 371 - l.tm_yday - 2) % 7 <= 2 && v++, v) {
if (v == 53) {
var E = (l.tm_wday + 371 - l.tm_yday) % 7;
E != 4 && (E != 3 || !Ee(l.tm_year)) && (p = 1);
E != 4 && (E != 3 || !Ee(l.tm_year)) && (v = 1);
}
} else {
p = 52;
v = 52;
var A = (l.tm_wday + 7 - l.tm_yday - 1) % 7;
(A == 4 || A == 5 && Ee(l.tm_year % 400 - 1)) && p++;
(A == 4 || A == 5 && Ee(l.tm_year % 400 - 1)) && v++;
}
return h(p, 2);
return h(v, 2);
}, "%w": function(l) {
return l.tm_wday;
}, "%W": function(l) {
var p = l.tm_yday + 7 - (l.tm_wday + 6) % 7;
return h(Math.floor(p / 7), 2);
var v = l.tm_yday + 7 - (l.tm_wday + 6) % 7;
return h(Math.floor(v / 7), 2);
}, "%y": function(l) {

@@ -1342,4 +1335,4 @@ return (l.tm_year + 1900).toString().substring(2);

}, "%z": function(l) {
var p = l.tm_gmtoff, A = p >= 0;
return p = Math.abs(p) / 60, p = p / 60 * 100 + p % 60, (A ? "+" : "-") + ("0000" + p).slice(-4);
var v = l.tm_gmtoff, A = v >= 0;
return v = Math.abs(v) / 60, v = v / 60 * 100 + v % 60, (A ? "+" : "-") + ("0000" + v).slice(-4);
}, "%Z": function(l) {

@@ -1351,14 +1344,14 @@ return l.tm_zone;

s = s.replace(/%%/g, "\0\0");
for (var f in C)
s.includes(f) && (s = s.replace(new RegExp(f, "g"), C[f](a)));
for (var f in $)
s.includes(f) && (s = s.replace(new RegExp(f, "g"), $[f](a)));
s = s.replace(/\0\0/g, "%");
var T = $n(s, !1);
return T.length > t ? 0 : (An(T, e), T.length - 1);
var P = Tn(s, !1);
return P.length > r ? 0 : (An(P, e), P.length - 1);
}
function En(e, t, r, n, i) {
return Fn(e, t, r, n);
function En(e, r, t, n, i) {
return Fn(e, r, t, n);
}
st = u.InternalError = Ue(Error, "InternalError"), ur(), te = u.BindingError = Ue(Error, "BindingError"), Tr(), _r(), kr(), _t = u.UnboundTypeError = Ue(Error, "UnboundTypeError"), Vr();
var Sn = { r: Zt, v: Gt, a: Jt, i: Kt, n: Qt, I: er, W: tr, o: rr, ba: nr, d: qt, ma: or, Y: sr, fa: fr, V: Ur, la: Hr, D: Mr, T: Ir, ea: Br, R: Nr, N: zr, x: Zr, t: Gr, Q: Kr, K: on, O: sn, na: un, ga: fn, ja: mt, ka: cn, U: dn, J: vn, da: pn, ca: gn, $: wn, aa: bn, H: Zn, P: ri, B: Gn, q: zn, b: Rn, C: Xn, ha: Jn, c: Wn, h: Vn, j: Ln, l: Bn, w: Nn, G: Qn, M: ei, A: qn, F: ni, Z: ai, X: oi, k: jn, g: On, e: kn, f: Dn, L: ti, m: xn, p: Un, ia: Mn, u: In, S: Yn, z: Kn, s: Hn, E: ii, y: Pn, _: En };
Xt();
sr = u.InternalError = Ue(Error, "InternalError"), ut(), re = u.BindingError = Ue(Error, "BindingError"), Pt(), _t(), kt(), _r = u.UnboundTypeError = Ue(Error, "UnboundTypeError"), Vt();
var Sn = { r: Zr, v: Gr, a: Jr, i: Kr, n: Qr, I: et, W: rt, p: tt, ba: nt, d: qr, ma: ot, Y: st, fa: ft, V: Ut, la: Ht, E: Mt, T: It, ea: Bt, R: Nt, N: zt, y: Zt, t: Gt, Q: Kt, K: on, O: sn, na: un, ga: fn, ja: mr, ka: cn, U: dn, J: vn, da: pn, ca: gn, $: wn, aa: bn, B: Zn, P: ti, D: Gn, q: zn, b: Rn, w: Xn, ha: Jn, c: Wn, h: Vn, j: Ln, l: Bn, x: Nn, H: Qn, M: ei, C: qn, G: ni, Z: ai, X: oi, k: jn, g: On, e: kn, f: Dn, L: ri, m: xn, o: Un, ia: Mn, u: In, S: Yn, A: Kn, s: Hn, F: ii, z: Cn, _: En };
Xr();
var V = u._free = function() {

@@ -1368,4 +1361,4 @@ return (V = u._free = u.asm.qa).apply(null, arguments);

return (ze = u._malloc = u.asm.ra).apply(null, arguments);
}, At = u.___getTypeName = function() {
return (At = u.___getTypeName = u.asm.ta).apply(null, arguments);
}, Ar = function() {
return (Ar = u.asm.ta).apply(null, arguments);
};

@@ -1383,10 +1376,10 @@ u.__embind_initialize_bindings = function() {

return (w = u.asm.ya).apply(null, arguments);
}, Ft = function() {
return (Ft = u.asm.za).apply(null, arguments);
}, Et = function() {
return (Et = u.asm.Aa).apply(null, arguments);
}, St = function() {
return (St = u.asm.Ba).apply(null, arguments);
}, Rt = function() {
return (Rt = u.asm.Ca).apply(null, arguments);
}, Fr = function() {
return (Fr = u.asm.za).apply(null, arguments);
}, Er = function() {
return (Er = u.asm.Aa).apply(null, arguments);
}, Sr = function() {
return (Sr = u.asm.Ba).apply(null, arguments);
}, Rr = function() {
return (Rr = u.asm.Ca).apply(null, arguments);
};

@@ -1396,6 +1389,6 @@ u.dynCall_viijii = function() {

};
var Dt = u.dynCall_jiii = function() {
return (Dt = u.dynCall_jiii = u.asm.Ea).apply(null, arguments);
}, kt = u.dynCall_jiiii = function() {
return (kt = u.dynCall_jiiii = u.asm.Fa).apply(null, arguments);
var Dr = u.dynCall_jiii = function() {
return (Dr = u.dynCall_jiii = u.asm.Ea).apply(null, arguments);
}, kr = u.dynCall_jiiii = function() {
return (kr = u.dynCall_jiiii = u.asm.Fa).apply(null, arguments);
};

@@ -1409,8 +1402,8 @@ u.dynCall_iiiiij = function() {

};
function Rn(e, t) {
var r = m();
function Rn(e, r) {
var t = m();
try {
return b(e)(t);
return b(e)(r);
} catch (n) {
if (w(r), n !== n + 0)
if (w(t), n !== n + 0)
throw n;

@@ -1420,6 +1413,6 @@ y(1, 0);

}
function Dn(e, t, r, n) {
function Dn(e, r, t, n) {
var i = m();
try {
b(e)(t, r, n);
b(e)(r, t, n);
} catch (a) {

@@ -1431,6 +1424,6 @@ if (w(i), a !== a + 0)

}
function kn(e, t, r) {
function kn(e, r, t) {
var n = m();
try {
b(e)(t, r);
b(e)(r, t);
} catch (i) {

@@ -1442,8 +1435,8 @@ if (w(n), i !== i + 0)

}
function On(e, t) {
var r = m();
function On(e, r) {
var t = m();
try {
b(e)(t);
b(e)(r);
} catch (n) {
if (w(r), n !== n + 0)
if (w(t), n !== n + 0)
throw n;

@@ -1453,6 +1446,6 @@ y(1, 0);

}
function Wn(e, t, r) {
function Wn(e, r, t) {
var n = m();
try {
return b(e)(t, r);
return b(e)(r, t);
} catch (i) {

@@ -1465,15 +1458,15 @@ if (w(n), i !== i + 0)

function jn(e) {
var t = m();
var r = m();
try {
b(e)();
} catch (r) {
if (w(t), r !== r + 0)
throw r;
} catch (t) {
if (w(r), t !== t + 0)
throw t;
y(1, 0);
}
}
function Un(e, t, r, n, i, a) {
function Un(e, r, t, n, i, a) {
var s = m();
try {
b(e)(t, r, n, i, a);
b(e)(r, t, n, i, a);
} catch (o) {

@@ -1485,8 +1478,8 @@ if (w(s), o !== o + 0)

}
function Hn(e, t, r, n, i, a, s, o, f, c, d) {
var v = m();
function Hn(e, r, t, n, i, a, s, o, f, c, d) {
var p = m();
try {
b(e)(t, r, n, i, a, s, o, f, c, d);
b(e)(r, t, n, i, a, s, o, f, c, d);
} catch (h) {
if (w(v), h !== h + 0)
if (w(p), h !== h + 0)
throw h;

@@ -1496,6 +1489,6 @@ y(1, 0);

}
function Mn(e, t, r, n, i, a, s) {
function Mn(e, r, t, n, i, a, s) {
var o = m();
try {
b(e)(t, r, n, i, a, s);
b(e)(r, t, n, i, a, s);
} catch (f) {

@@ -1507,6 +1500,6 @@ if (w(o), f !== f + 0)

}
function In(e, t, r, n, i, a, s, o) {
function In(e, r, t, n, i, a, s, o) {
var f = m();
try {
b(e)(t, r, n, i, a, s, o);
b(e)(r, t, n, i, a, s, o);
} catch (c) {

@@ -1518,6 +1511,6 @@ if (w(f), c !== c + 0)

}
function xn(e, t, r, n, i) {
function xn(e, r, t, n, i) {
var a = m();
try {
b(e)(t, r, n, i);
b(e)(r, t, n, i);
} catch (s) {

@@ -1529,6 +1522,6 @@ if (w(a), s !== s + 0)

}
function Yn(e, t, r, n, i, a, s, o, f) {
function Yn(e, r, t, n, i, a, s, o, f) {
var c = m();
try {
b(e)(t, r, n, i, a, s, o, f);
b(e)(r, t, n, i, a, s, o, f);
} catch (d) {

@@ -1540,6 +1533,6 @@ if (w(c), d !== d + 0)

}
function Vn(e, t, r, n) {
function Vn(e, r, t, n) {
var i = m();
try {
return b(e)(t, r, n);
return b(e)(r, t, n);
} catch (a) {

@@ -1551,6 +1544,6 @@ if (w(i), a !== a + 0)

}
function Bn(e, t, r, n, i, a) {
function Bn(e, r, t, n, i, a) {
var s = m();
try {
return b(e)(t, r, n, i, a);
return b(e)(r, t, n, i, a);
} catch (o) {

@@ -1562,6 +1555,6 @@ if (w(s), o !== o + 0)

}
function Ln(e, t, r, n, i) {
function Ln(e, r, t, n, i) {
var a = m();
try {
return b(e)(t, r, n, i);
return b(e)(r, t, n, i);
} catch (s) {

@@ -1573,6 +1566,6 @@ if (w(a), s !== s + 0)

}
function Nn(e, t, r, n, i, a, s) {
function Nn(e, r, t, n, i, a, s) {
var o = m();
try {
return b(e)(t, r, n, i, a, s);
return b(e)(r, t, n, i, a, s);
} catch (f) {

@@ -1585,15 +1578,15 @@ if (w(o), f !== f + 0)

function zn(e) {
var t = m();
var r = m();
try {
return b(e)();
} catch (r) {
if (w(t), r !== r + 0)
throw r;
} catch (t) {
if (w(r), t !== t + 0)
throw t;
y(1, 0);
}
}
function Xn(e, t, r, n) {
function Xn(e, r, t, n) {
var i = m();
try {
return b(e)(t, r, n);
return b(e)(r, t, n);
} catch (a) {

@@ -1605,6 +1598,6 @@ if (w(i), a !== a + 0)

}
function Zn(e, t, r, n) {
function Zn(e, r, t, n) {
var i = m();
try {
return b(e)(t, r, n);
return b(e)(r, t, n);
} catch (a) {

@@ -1616,6 +1609,6 @@ if (w(i), a !== a + 0)

}
function Gn(e, t, r, n, i, a) {
function Gn(e, r, t, n, i, a) {
var s = m();
try {
return b(e)(t, r, n, i, a);
return b(e)(r, t, n, i, a);
} catch (o) {

@@ -1627,16 +1620,16 @@ if (w(s), o !== o + 0)

}
function qn(e, t, r, n, i, a, s, o, f, c) {
function qn(e, r, t, n, i, a, s, o, f, c) {
var d = m();
try {
return b(e)(t, r, n, i, a, s, o, f, c);
} catch (v) {
if (w(d), v !== v + 0)
throw v;
return b(e)(r, t, n, i, a, s, o, f, c);
} catch (p) {
if (w(d), p !== p + 0)
throw p;
y(1, 0);
}
}
function Jn(e, t, r) {
function Jn(e, r, t) {
var n = m();
try {
return b(e)(t, r);
return b(e)(r, t);
} catch (i) {

@@ -1648,16 +1641,16 @@ if (w(n), i !== i + 0)

}
function Kn(e, t, r, n, i, a, s, o, f, c) {
function Kn(e, r, t, n, i, a, s, o, f, c) {
var d = m();
try {
b(e)(t, r, n, i, a, s, o, f, c);
} catch (v) {
if (w(d), v !== v + 0)
throw v;
b(e)(r, t, n, i, a, s, o, f, c);
} catch (p) {
if (w(d), p !== p + 0)
throw p;
y(1, 0);
}
}
function Qn(e, t, r, n, i, a, s, o) {
function Qn(e, r, t, n, i, a, s, o) {
var f = m();
try {
return b(e)(t, r, n, i, a, s, o);
return b(e)(r, t, n, i, a, s, o);
} catch (c) {

@@ -1669,6 +1662,6 @@ if (w(f), c !== c + 0)

}
function ei(e, t, r, n, i, a, s, o, f) {
function ei(e, r, t, n, i, a, s, o, f) {
var c = m();
try {
return b(e)(t, r, n, i, a, s, o, f);
return b(e)(r, t, n, i, a, s, o, f);
} catch (d) {

@@ -1680,6 +1673,6 @@ if (w(c), d !== d + 0)

}
function ti(e, t, r, n, i, a, s) {
function ri(e, r, t, n, i, a, s) {
var o = m();
try {
b(e)(t, r, n, i, a, s);
b(e)(r, t, n, i, a, s);
} catch (f) {

@@ -1691,6 +1684,6 @@ if (w(o), f !== f + 0)

}
function ri(e, t, r, n) {
function ti(e, r, t, n) {
var i = m();
try {
return b(e)(t, r, n);
return b(e)(r, t, n);
} catch (a) {

@@ -1702,6 +1695,6 @@ if (w(i), a !== a + 0)

}
function ni(e, t, r, n, i, a, s, o, f, c, d, v) {
function ni(e, r, t, n, i, a, s, o, f, c, d, p) {
var h = m();
try {
return b(e)(t, r, n, i, a, s, o, f, c, d, v);
return b(e)(r, t, n, i, a, s, o, f, c, d, p);
} catch (_) {

@@ -1713,16 +1706,16 @@ if (w(h), _ !== _ + 0)

}
function ii(e, t, r, n, i, a, s, o, f, c, d, v, h, _, P, $) {
var C = m();
function ii(e, r, t, n, i, a, s, o, f, c, d, p, h, _, C, T) {
var $ = m();
try {
b(e)(t, r, n, i, a, s, o, f, c, d, v, h, _, P, $);
} catch (T) {
if (w(C), T !== T + 0)
throw T;
b(e)(r, t, n, i, a, s, o, f, c, d, p, h, _, C, T);
} catch (P) {
if (w($), P !== P + 0)
throw P;
y(1, 0);
}
}
function ai(e, t, r, n) {
function ai(e, r, t, n) {
var i = m();
try {
return Dt(e, t, r, n);
return Dr(e, r, t, n);
} catch (a) {

@@ -1734,6 +1727,6 @@ if (w(i), a !== a + 0)

}
function oi(e, t, r, n, i) {
function oi(e, r, t, n, i) {
var a = m();
try {
return kt(e, t, r, n, i);
return kr(e, r, t, n, i);
} catch (s) {

@@ -1747,9 +1740,9 @@ if (w(a), s !== s + 0)

ae = function e() {
Se || Ot(), Se || (ae = e);
Se || Or(), Se || (ae = e);
};
function Ot() {
if (z > 0 || (Ut(), z > 0))
function Or() {
if (z > 0 || (Ur(), z > 0))
return;
function e() {
Se || (Se = !0, u.calledRun = !0, !Ze && (Ht(), B(u), u.onRuntimeInitialized && u.onRuntimeInitialized(), Mt()));
Se || (Se = !0, u.calledRun = !0, !Ze && (Hr(), B(u), u.onRuntimeInitialized && u.onRuntimeInitialized(), Mr()));
}

@@ -1765,3 +1758,3 @@ u.setStatus ? (u.setStatus("Running..."), setTimeout(function() {

u.preInit.pop()();
return Ot(), H.ready;
return Or(), H.ready;
};

@@ -1768,0 +1761,0 @@ })();

@@ -1,3 +0,3 @@

import { g as ii, r as ai, d as V, a as oi } from "../core-d57ac805.js";
import { Z as vi, b as pi, c as hi, p as _i, s as gi } from "../core-d57ac805.js";
import { g as ii, r as ai, d as V, a as oi } from "../core-8cd818a8.js";
import { Z as vi, b as pi, c as hi, p as _i, s as gi } from "../core-8cd818a8.js";
var Ve = (() => {

@@ -7,4 +7,4 @@ var x = import.meta.url;

var u = typeof N < "u" ? N : {}, G, ce;
u.ready = new Promise(function(e, t) {
G = e, ce = t;
u.ready = new Promise((e, r) => {
G = e, ce = r;
});

@@ -14,3 +14,3 @@ var Ne = Object.assign({}, u), Be = "./this.program", Le = typeof window == "object", le = typeof importScripts == "function";

var W = "";
function kt(e) {
function kr(e) {
return u.locateFile ? u.locateFile(e, W) : W + e;

@@ -20,51 +20,51 @@ }

(Le || le) && (le ? W = self.location.href : typeof document < "u" && document.currentScript && (W = document.currentScript.src), x && (W = x), W.indexOf("blob:") !== 0 ? W = W.substr(0, W.replace(/[?#].*/, "").lastIndexOf("/") + 1) : W = "", le && (Fe = (e) => {
var t = new XMLHttpRequest();
return t.open("GET", e, !1), t.responseType = "arraybuffer", t.send(null), new Uint8Array(t.response);
var r = new XMLHttpRequest();
return r.open("GET", e, !1), r.responseType = "arraybuffer", r.send(null), new Uint8Array(r.response);
})), u.print || console.log.bind(console);
var ee = u.printErr || console.warn.bind(console);
Object.assign(u, Ne), Ne = null, u.arguments && u.arguments, u.thisProgram && (Be = u.thisProgram), u.quit && u.quit;
var te;
u.wasmBinary && (te = u.wasmBinary), u.noExitRuntime, typeof WebAssembly != "object" && J("no native wasm support detected");
var re;
u.wasmBinary && (re = u.wasmBinary), u.noExitRuntime, typeof WebAssembly != "object" && J("no native wasm support detected");
var de, ze = !1;
function Ot(e, t) {
e || J(t);
function Or(e, r) {
e || J(r);
}
var U, D, q, ve, F, A, Xe, Ze;
var U, D, q, ve, F, T, Xe, Ze;
function Ge() {
var e = de.buffer;
u.HEAP8 = U = new Int8Array(e), u.HEAP16 = q = new Int16Array(e), u.HEAP32 = F = new Int32Array(e), u.HEAPU8 = D = new Uint8Array(e), u.HEAPU16 = ve = new Uint16Array(e), u.HEAPU32 = A = new Uint32Array(e), u.HEAPF32 = Xe = new Float32Array(e), u.HEAPF64 = Ze = new Float64Array(e);
u.HEAP8 = U = new Int8Array(e), u.HEAP16 = q = new Int16Array(e), u.HEAP32 = F = new Int32Array(e), u.HEAPU8 = D = new Uint8Array(e), u.HEAPU16 = ve = new Uint16Array(e), u.HEAPU32 = T = new Uint32Array(e), u.HEAPF32 = Xe = new Float32Array(e), u.HEAPF64 = Ze = new Float64Array(e);
}
var qe, Je = [], Ke = [], Qe = [];
function Wt() {
function Wr() {
if (u.preRun)
for (typeof u.preRun == "function" && (u.preRun = [u.preRun]); u.preRun.length; )
jt(u.preRun.shift());
jr(u.preRun.shift());
Ee(Je);
}
function Ut() {
function Ur() {
Ee(Ke);
}
function Ht() {
function Hr() {
if (u.postRun)
for (typeof u.postRun == "function" && (u.postRun = [u.postRun]); u.postRun.length; )
It(u.postRun.shift());
Ir(u.postRun.shift());
Ee(Qe);
}
function jt(e) {
function jr(e) {
Je.unshift(e);
}
function Mt(e) {
function Mr(e) {
Ke.unshift(e);
}
function It(e) {
function Ir(e) {
Qe.unshift(e);
}
var B = 0, re = null;
function xt(e) {
var B = 0, te = null;
function xr(e) {
B++, u.monitorRunDependencies && u.monitorRunDependencies(B);
}
function Yt(e) {
if (B--, u.monitorRunDependencies && u.monitorRunDependencies(B), B == 0 && re) {
var t = re;
re = null, t();
function Yr(e) {
if (B--, u.monitorRunDependencies && u.monitorRunDependencies(B), B == 0 && te) {
var r = te;
te = null, r();
}

@@ -74,67 +74,59 @@ }

u.onAbort && u.onAbort(e), e = "Aborted(" + e + ")", ee(e), ze = !0, e += ". Build with -sASSERTIONS for more info.";
var t = new WebAssembly.RuntimeError(e);
throw ce(t), t;
var r = new WebAssembly.RuntimeError(e);
throw ce(r), r;
}
var Vt = "data:application/octet-stream;base64,";
function et(e) {
return e.startsWith(Vt);
var Vr = "data:application/octet-stream;base64,";
function er(e) {
return e.startsWith(Vr);
}
var L;
u.locateFile ? (L = "zxing_reader.wasm", et(L) || (L = kt(L))) : L = new URL("/reader/zxing_reader.wasm", self.location).href;
function tt(e) {
u.locateFile ? (L = "zxing_reader.wasm", er(L) || (L = kr(L))) : L = new URL("/reader/zxing_reader.wasm", self.location).href;
function rr(e) {
try {
if (e == L && te)
return new Uint8Array(te);
if (e == L && re)
return new Uint8Array(re);
if (Fe)
return Fe(e);
throw "both async and sync fetching of the wasm failed";
} catch (t) {
J(t);
} catch (r) {
J(r);
}
}
function Nt(e) {
return !te && (Le || le) && typeof fetch == "function" ? fetch(e, { credentials: "same-origin" }).then(function(t) {
if (!t.ok)
function Nr(e) {
return !re && (Le || le) && typeof fetch == "function" ? fetch(e, { credentials: "same-origin" }).then((r) => {
if (!r.ok)
throw "failed to load wasm binary file at '" + e + "'";
return t.arrayBuffer();
}).catch(function() {
return tt(e);
}) : Promise.resolve().then(function() {
return tt(e);
});
return r.arrayBuffer();
}).catch(() => rr(e)) : Promise.resolve().then(() => rr(e));
}
function rt(e, t, r) {
return Nt(e).then(function(n) {
return WebAssembly.instantiate(n, t);
}).then(function(n) {
return n;
}).then(r, function(n) {
function tr(e, r, t) {
return Nr(e).then((n) => WebAssembly.instantiate(n, r)).then((n) => n).then(t, (n) => {
ee("failed to asynchronously prepare wasm: " + n), J(n);
});
}
function Bt(e, t, r, n) {
return !e && typeof WebAssembly.instantiateStreaming == "function" && !et(t) && typeof fetch == "function" ? fetch(t, { credentials: "same-origin" }).then(function(i) {
var a = WebAssembly.instantiateStreaming(i, r);
function Br(e, r, t, n) {
return !e && typeof WebAssembly.instantiateStreaming == "function" && !er(r) && typeof fetch == "function" ? fetch(r, { credentials: "same-origin" }).then((i) => {
var a = WebAssembly.instantiateStreaming(i, t);
return a.then(n, function(s) {
return ee("wasm streaming compile failed: " + s), ee("falling back to ArrayBuffer instantiation"), rt(t, r, n);
return ee("wasm streaming compile failed: " + s), ee("falling back to ArrayBuffer instantiation"), tr(r, t, n);
});
}) : rt(t, r, n);
}) : tr(r, t, n);
}
function Lt() {
var e = { a: $n };
function t(n, i) {
function Lr() {
var e = { a: An };
function r(n, i) {
var a = n.exports;
return u.asm = a, de = u.asm.na, Ge(), qe = u.asm.ra, Mt(u.asm.oa), Yt(), a;
return u.asm = a, de = u.asm.na, Ge(), qe = u.asm.ra, Mr(u.asm.oa), Yr(), a;
}
xt();
function r(n) {
t(n.instance);
xr();
function t(n) {
r(n.instance);
}
if (u.instantiateWasm)
try {
return u.instantiateWasm(e, t);
return u.instantiateWasm(e, r);
} catch (n) {
ee("Module.instantiateWasm callback failed with error: " + n), ce(n);
}
return Bt(te, L, e, r).catch(ce), {};
return Br(re, L, e, t).catch(ce), {};
}

@@ -146,44 +138,44 @@ function Ee(e) {

var pe = [], he = 0;
function zt(e) {
var t = new _e(e);
return t.get_caught() || (t.set_caught(!0), he--), t.set_rethrown(!1), pe.push(t), $t(t.excPtr), t.get_exception_ptr();
function zr(e) {
var r = new _e(e);
return r.get_caught() || (r.set_caught(!0), he--), r.set_rethrown(!1), pe.push(r), Ar(r.excPtr), r.get_exception_ptr();
}
var H = 0;
function Xt() {
function Xr() {
_(0);
var e = pe.pop();
At(e.excPtr), H = 0;
Tr(e.excPtr), H = 0;
}
function _e(e) {
this.excPtr = e, this.ptr = e - 24, this.set_type = function(t) {
A[this.ptr + 4 >> 2] = t;
this.excPtr = e, this.ptr = e - 24, this.set_type = function(r) {
T[this.ptr + 4 >> 2] = r;
}, this.get_type = function() {
return A[this.ptr + 4 >> 2];
}, this.set_destructor = function(t) {
A[this.ptr + 8 >> 2] = t;
return T[this.ptr + 4 >> 2];
}, this.set_destructor = function(r) {
T[this.ptr + 8 >> 2] = r;
}, this.get_destructor = function() {
return A[this.ptr + 8 >> 2];
}, this.set_caught = function(t) {
t = t ? 1 : 0, U[this.ptr + 12 >> 0] = t;
return T[this.ptr + 8 >> 2];
}, this.set_caught = function(r) {
r = r ? 1 : 0, U[this.ptr + 12 >> 0] = r;
}, this.get_caught = function() {
return U[this.ptr + 12 >> 0] != 0;
}, this.set_rethrown = function(t) {
t = t ? 1 : 0, U[this.ptr + 13 >> 0] = t;
}, this.set_rethrown = function(r) {
r = r ? 1 : 0, U[this.ptr + 13 >> 0] = r;
}, this.get_rethrown = function() {
return U[this.ptr + 13 >> 0] != 0;
}, this.init = function(t, r) {
this.set_adjusted_ptr(0), this.set_type(t), this.set_destructor(r);
}, this.set_adjusted_ptr = function(t) {
A[this.ptr + 16 >> 2] = t;
}, this.init = function(r, t) {
this.set_adjusted_ptr(0), this.set_type(r), this.set_destructor(t);
}, this.set_adjusted_ptr = function(r) {
T[this.ptr + 16 >> 2] = r;
}, this.get_adjusted_ptr = function() {
return A[this.ptr + 16 >> 2];
return T[this.ptr + 16 >> 2];
}, this.get_exception_ptr = function() {
var t = Et(this.get_type());
if (t)
return A[this.excPtr >> 2];
var r = this.get_adjusted_ptr();
return r !== 0 ? r : this.excPtr;
var r = Er(this.get_type());
if (r)
return T[this.excPtr >> 2];
var t = this.get_adjusted_ptr();
return t !== 0 ? t : this.excPtr;
};
}
function Zt(e) {
function Zr(e) {
throw H || (H = e), H;

@@ -195,40 +187,40 @@ }

return fe(0), 0;
var t = new _e(e);
t.set_adjusted_ptr(e);
var r = t.get_type();
if (!r)
var r = new _e(e);
r.set_adjusted_ptr(e);
var t = r.get_type();
if (!t)
return fe(0), e;
for (var n = 0; n < arguments.length; n++) {
var i = arguments[n];
if (i === 0 || i === r)
if (i === 0 || i === t)
break;
var a = t.ptr + 16;
if (Ft(i, r, a))
var a = r.ptr + 16;
if (Fr(i, t, a))
return fe(i), e;
}
return fe(r), e;
return fe(t), e;
}
var Gt = Se, qt = Se, Jt = Se;
function Kt(e) {
var t = new _e(e).get_exception_ptr();
return t;
var Gr = Se, qr = Se, Jr = Se;
function Kr(e) {
var r = new _e(e).get_exception_ptr();
return r;
}
function Qt() {
function Qr() {
var e = pe.pop();
e || J("no exception to throw");
var t = e.excPtr;
throw e.get_rethrown() || (pe.push(e), e.set_rethrown(!0), e.set_caught(!1), he++), H = t, H;
var r = e.excPtr;
throw e.get_rethrown() || (pe.push(e), e.set_rethrown(!0), e.set_caught(!1), he++), H = r, H;
}
function er(e, t, r) {
function et(e, r, t) {
var n = new _e(e);
throw n.init(t, r), H = e, he++, H;
throw n.init(r, t), H = e, he++, H;
}
function tr() {
function rt() {
return he;
}
var ge = {};
function nt(e) {
function nr(e) {
for (; e.length; ) {
var t = e.pop(), r = e.pop();
r(t);
var r = e.pop(), t = e.pop();
t(r);
}

@@ -239,18 +231,18 @@ }

}
var K = {}, z = {}, ye = {}, rr = 48, nr = 57;
function it(e) {
var K = {}, z = {}, ye = {}, tt = 48, nt = 57;
function ir(e) {
if (e === void 0)
return "_unknown";
e = e.replace(/[^a-zA-Z0-9_]/g, "$");
var t = e.charCodeAt(0);
return t >= rr && t <= nr ? "_" + e : e;
var r = e.charCodeAt(0);
return r >= tt && r <= nt ? "_" + e : e;
}
function at(e, t) {
return e = it(e), { [e]: function() {
return t.apply(this, arguments);
function ar(e, r) {
return e = ir(e), { [e]: function() {
return r.apply(this, arguments);
} }[e];
}
function Re(e, t) {
var r = at(t, function(n) {
this.name = t, this.message = n;
function Re(e, r) {
var t = ar(r, function(n) {
this.name = r, this.message = n;
var i = new Error(n).stack;

@@ -260,16 +252,16 @@ i !== void 0 && (this.stack = this.toString() + `

});
return r.prototype = Object.create(e.prototype), r.prototype.constructor = r, r.prototype.toString = function() {
return t.prototype = Object.create(e.prototype), t.prototype.constructor = t, t.prototype.toString = function() {
return this.message === void 0 ? this.name : this.name + ": " + this.message;
}, r;
}, t;
}
var ot = void 0;
var or = void 0;
function me(e) {
throw new ot(e);
throw new or(e);
}
function X(e, t, r) {
function X(e, r, t) {
e.forEach(function(o) {
ye[o] = t;
ye[o] = r;
});
function n(o) {
var f = r(o);
var f = t(o);
f.length !== e.length && me("Mismatched type converter count");

@@ -279,4 +271,4 @@ for (var c = 0; c < e.length; ++c)

}
var i = new Array(t.length), a = [], s = 0;
t.forEach((o, f) => {
var i = new Array(r.length), a = [], s = 0;
r.forEach((o, f) => {
z.hasOwnProperty(o) ? i[f] = z[o] : (a.push(o), K.hasOwnProperty(o) || (K[o] = []), K[o].push(() => {

@@ -287,15 +279,15 @@ i[f] = z[o], ++s, s === a.length && n(i);

}
function ir(e) {
var t = ge[e];
function it(e) {
var r = ge[e];
delete ge[e];
var r = t.rawConstructor, n = t.rawDestructor, i = t.fields, a = i.map((s) => s.getterReturnType).concat(i.map((s) => s.setterArgumentType));
var t = r.rawConstructor, n = r.rawDestructor, i = r.fields, a = i.map((s) => s.getterReturnType).concat(i.map((s) => s.setterArgumentType));
X([e], a, (s) => {
var o = {};
return i.forEach((f, c) => {
var d = f.fieldName, p = s[c], h = f.getter, g = f.getterContext, P = s[c + i.length], E = f.setter, C = f.setterContext;
var d = f.fieldName, p = s[c], h = f.getter, g = f.getterContext, C = s[c + i.length], E = f.setter, P = f.setterContext;
o[d] = { read: (S) => p.fromWireType(h(g, S)), write: (S, l) => {
var v = [];
E(C, S, P.toWireType(v, l)), nt(v);
E(P, S, C.toWireType(v, l)), nr(v);
} };
}), [{ name: t.name, fromWireType: function(f) {
}), [{ name: r.name, fromWireType: function(f) {
var c = {};

@@ -308,4 +300,4 @@ for (var d in o)

if (!(d in c))
throw new TypeError('Missing field: "' + d + '"');
var p = r();
throw new TypeError(`Missing field: "${d}"`);
var p = t();
for (d in o)

@@ -317,3 +309,3 @@ o[d].write(p, c[d]);

}
function ar(e, t, r, n, i) {
function at(e, r, t, n, i) {
}

@@ -334,12 +326,12 @@ function De(e) {

}
function or() {
for (var e = new Array(256), t = 0; t < 256; ++t)
e[t] = String.fromCharCode(t);
st = e;
function ot() {
for (var e = new Array(256), r = 0; r < 256; ++r)
e[r] = String.fromCharCode(r);
sr = e;
}
var st = void 0;
var sr = void 0;
function R(e) {
for (var t = "", r = e; D[r]; )
t += st[D[r++]];
return t;
for (var r = "", t = e; D[t]; )
r += sr[D[t++]];
return r;
}

@@ -350,12 +342,12 @@ var Q = void 0;

}
function j(e, t, r = {}) {
if (!("argPackAdvance" in t))
function j(e, r, t = {}) {
if (!("argPackAdvance" in r))
throw new TypeError("registerType registeredInstance requires argPackAdvance");
var n = t.name;
if (e || y('type "' + n + '" must have a positive integer typeid pointer'), z.hasOwnProperty(e)) {
if (r.ignoreDuplicateRegistrations)
var n = r.name;
if (e || y(`type "${n}" must have a positive integer typeid pointer`), z.hasOwnProperty(e)) {
if (t.ignoreDuplicateRegistrations)
return;
y("Cannot register type '" + n + "' twice");
y(`Cannot register type '${n}' twice`);
}
if (z[e] = t, delete ye[e], K.hasOwnProperty(e)) {
if (z[e] = r, delete ye[e], K.hasOwnProperty(e)) {
var i = K[e];

@@ -365,5 +357,5 @@ delete K[e], i.forEach((a) => a());

}
function sr(e, t, r, n, i) {
var a = De(r);
t = R(t), j(e, { name: t, fromWireType: function(s) {
function st(e, r, t, n, i) {
var a = De(t);
r = R(r), j(e, { name: r, fromWireType: function(s) {
return !!s;

@@ -374,58 +366,58 @@ }, toWireType: function(s, o) {

var o;
if (r === 1)
if (t === 1)
o = U;
else if (r === 2)
else if (t === 2)
o = q;
else if (r === 4)
else if (t === 4)
o = F;
else
throw new TypeError("Unknown boolean type size: " + t);
throw new TypeError("Unknown boolean type size: " + r);
return this.fromWireType(o[s >> a]);
}, destructorFunction: null });
}
function ur(e) {
function ut(e) {
if (!(this instanceof Y) || !(e instanceof Y))
return !1;
for (var t = this.$$.ptrType.registeredClass, r = this.$$.ptr, n = e.$$.ptrType.registeredClass, i = e.$$.ptr; t.baseClass; )
r = t.upcast(r), t = t.baseClass;
for (var r = this.$$.ptrType.registeredClass, t = this.$$.ptr, n = e.$$.ptrType.registeredClass, i = e.$$.ptr; r.baseClass; )
t = r.upcast(t), r = r.baseClass;
for (; n.baseClass; )
i = n.upcast(i), n = n.baseClass;
return t === n && r === i;
return r === n && t === i;
}
function fr(e) {
function ft(e) {
return { count: e.count, deleteScheduled: e.deleteScheduled, preservePointerOnDelete: e.preservePointerOnDelete, ptr: e.ptr, ptrType: e.ptrType, smartPtr: e.smartPtr, smartPtrType: e.smartPtrType };
}
function ke(e) {
function t(r) {
return r.$$.ptrType.registeredClass.name;
function r(t) {
return t.$$.ptrType.registeredClass.name;
}
y(t(e) + " instance already deleted");
y(r(e) + " instance already deleted");
}
var Oe = !1;
function ut(e) {
function ur(e) {
}
function cr(e) {
function ct(e) {
e.smartPtr ? e.smartPtrType.rawDestructor(e.smartPtr) : e.ptrType.registeredClass.rawDestructor(e.ptr);
}
function ft(e) {
function fr(e) {
e.count.value -= 1;
var t = e.count.value === 0;
t && cr(e);
var r = e.count.value === 0;
r && ct(e);
}
function ct(e, t, r) {
if (t === r)
function cr(e, r, t) {
if (r === t)
return e;
if (r.baseClass === void 0)
if (t.baseClass === void 0)
return null;
var n = ct(e, t, r.baseClass);
return n === null ? null : r.downcast(n);
var n = cr(e, r, t.baseClass);
return n === null ? null : t.downcast(n);
}
var lt = {};
function lr() {
var lr = {};
function lt() {
return Object.keys(oe).length;
}
function dr() {
function dt() {
var e = [];
for (var t in oe)
oe.hasOwnProperty(t) && e.push(oe[t]);
for (var r in oe)
oe.hasOwnProperty(r) && e.push(oe[r]);
return e;

@@ -441,37 +433,37 @@ }

var ae = void 0;
function vr(e) {
function vt(e) {
ae = e, ie.length && ae && ae(We);
}
function pr() {
u.getInheritedInstanceCount = lr, u.getLiveInheritedInstances = dr, u.flushPendingDeletes = We, u.setDelayFunction = vr;
function pt() {
u.getInheritedInstanceCount = lt, u.getLiveInheritedInstances = dt, u.flushPendingDeletes = We, u.setDelayFunction = vt;
}
var oe = {};
function hr(e, t) {
for (t === void 0 && y("ptr should not be undefined"); e.baseClass; )
t = e.upcast(t), e = e.baseClass;
return t;
function ht(e, r) {
for (r === void 0 && y("ptr should not be undefined"); e.baseClass; )
r = e.upcast(r), e = e.baseClass;
return r;
}
function _r(e, t) {
return t = hr(e, t), oe[t];
function _t(e, r) {
return r = ht(e, r), oe[r];
}
function we(e, t) {
(!t.ptrType || !t.ptr) && me("makeClassHandle requires ptr and ptrType");
var r = !!t.smartPtrType, n = !!t.smartPtr;
return r !== n && me("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, se(Object.create(e, { $$: { value: t } }));
function we(e, r) {
(!r.ptrType || !r.ptr) && me("makeClassHandle requires ptr and ptrType");
var t = !!r.smartPtrType, n = !!r.smartPtr;
return t !== n && me("Both smartPtrType and smartPtr must be specified"), r.count = { value: 1 }, se(Object.create(e, { $$: { value: r } }));
}
function gr(e) {
var t = this.getPointee(e);
if (!t)
function gt(e) {
var r = this.getPointee(e);
if (!r)
return this.destructor(e), null;
var r = _r(this.registeredClass, t);
if (r !== void 0) {
if (r.$$.count.value === 0)
return r.$$.ptr = t, r.$$.smartPtr = e, r.clone();
var n = r.clone();
var t = _t(this.registeredClass, r);
if (t !== void 0) {
if (t.$$.count.value === 0)
return t.$$.ptr = r, t.$$.smartPtr = e, t.clone();
var n = t.clone();
return this.destructor(e), n;
}
function i() {
return this.isSmartPointer ? we(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: t, smartPtrType: this, smartPtr: e }) : we(this.registeredClass.instancePrototype, { ptrType: this, ptr: e });
return this.isSmartPointer ? we(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: r, smartPtrType: this, smartPtr: e }) : we(this.registeredClass.instancePrototype, { ptrType: this, ptr: e });
}
var a = this.registeredClass.getActualType(t), s = lt[a];
var a = this.registeredClass.getActualType(r), s = lr[a];
if (!s)

@@ -481,85 +473,85 @@ return i.call(this);

this.isConst ? o = s.constPointerType : o = s.pointerType;
var f = ct(t, this.registeredClass, o.registeredClass);
var f = cr(r, this.registeredClass, o.registeredClass);
return f === null ? i.call(this) : this.isSmartPointer ? we(o.registeredClass.instancePrototype, { ptrType: o, ptr: f, smartPtrType: this, smartPtr: e }) : we(o.registeredClass.instancePrototype, { ptrType: o, ptr: f });
}
function se(e) {
return typeof FinalizationRegistry > "u" ? (se = (t) => t, e) : (Oe = new FinalizationRegistry((t) => {
ft(t.$$);
}), se = (t) => {
var r = t.$$, n = !!r.smartPtr;
return typeof FinalizationRegistry > "u" ? (se = (r) => r, e) : (Oe = new FinalizationRegistry((r) => {
fr(r.$$);
}), se = (r) => {
var t = r.$$, n = !!t.smartPtr;
if (n) {
var i = { $$: r };
Oe.register(t, i, t);
var i = { $$: t };
Oe.register(r, i, r);
}
return t;
}, ut = (t) => Oe.unregister(t), se(e));
return r;
}, ur = (r) => Oe.unregister(r), se(e));
}
function yr() {
function yt() {
if (this.$$.ptr || ke(this), this.$$.preservePointerOnDelete)
return this.$$.count.value += 1, this;
var e = se(Object.create(Object.getPrototypeOf(this), { $$: { value: fr(this.$$) } }));
var e = se(Object.create(Object.getPrototypeOf(this), { $$: { value: ft(this.$$) } }));
return e.$$.count.value += 1, e.$$.deleteScheduled = !1, e;
}
function mr() {
this.$$.ptr || ke(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && y("Object already scheduled for deletion"), ut(this), ft(this.$$), this.$$.preservePointerOnDelete || (this.$$.smartPtr = void 0, this.$$.ptr = void 0);
function mt() {
this.$$.ptr || ke(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && y("Object already scheduled for deletion"), ur(this), fr(this.$$), this.$$.preservePointerOnDelete || (this.$$.smartPtr = void 0, this.$$.ptr = void 0);
}
function wr() {
function wt() {
return !this.$$.ptr;
}
function br() {
function bt() {
return this.$$.ptr || ke(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && y("Object already scheduled for deletion"), ie.push(this), ie.length === 1 && ae && ae(We), this.$$.deleteScheduled = !0, this;
}
function Pr() {
Y.prototype.isAliasOf = ur, Y.prototype.clone = yr, Y.prototype.delete = mr, Y.prototype.isDeleted = wr, Y.prototype.deleteLater = br;
function Ct() {
Y.prototype.isAliasOf = ut, Y.prototype.clone = yt, Y.prototype.delete = mt, Y.prototype.isDeleted = wt, Y.prototype.deleteLater = bt;
}
function Y() {
}
function dt(e, t, r) {
if (e[t].overloadTable === void 0) {
var n = e[t];
e[t] = function() {
return e[t].overloadTable.hasOwnProperty(arguments.length) || y("Function '" + r + "' called with an invalid number of arguments (" + arguments.length + ") - expects one of (" + e[t].overloadTable + ")!"), e[t].overloadTable[arguments.length].apply(this, arguments);
}, e[t].overloadTable = [], e[t].overloadTable[n.argCount] = n;
function dr(e, r, t) {
if (e[r].overloadTable === void 0) {
var n = e[r];
e[r] = function() {
return e[r].overloadTable.hasOwnProperty(arguments.length) || y(`Function '${t}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[r].overloadTable})!`), e[r].overloadTable[arguments.length].apply(this, arguments);
}, e[r].overloadTable = [], e[r].overloadTable[n.argCount] = n;
}
}
function vt(e, t, r) {
u.hasOwnProperty(e) ? ((r === void 0 || u[e].overloadTable !== void 0 && u[e].overloadTable[r] !== void 0) && y("Cannot register public name '" + e + "' twice"), dt(u, e, e), u.hasOwnProperty(r) && y("Cannot register multiple overloads of a function with the same number of arguments (" + r + ")!"), u[e].overloadTable[r] = t) : (u[e] = t, r !== void 0 && (u[e].numArguments = r));
function vr(e, r, t) {
u.hasOwnProperty(e) ? ((t === void 0 || u[e].overloadTable !== void 0 && u[e].overloadTable[t] !== void 0) && y(`Cannot register public name '${e}' twice`), dr(u, e, e), u.hasOwnProperty(t) && y(`Cannot register multiple overloads of a function with the same number of arguments (${t})!`), u[e].overloadTable[t] = r) : (u[e] = r, t !== void 0 && (u[e].numArguments = t));
}
function Cr(e, t, r, n, i, a, s, o) {
this.name = e, this.constructor = t, this.instancePrototype = r, this.rawDestructor = n, this.baseClass = i, this.getActualType = a, this.upcast = s, this.downcast = o, this.pureVirtualFunctions = [];
function Pt(e, r, t, n, i, a, s, o) {
this.name = e, this.constructor = r, this.instancePrototype = t, this.rawDestructor = n, this.baseClass = i, this.getActualType = a, this.upcast = s, this.downcast = o, this.pureVirtualFunctions = [];
}
function Ue(e, t, r) {
for (; t !== r; )
t.upcast || y("Expected null or instance of " + r.name + ", got an instance of " + t.name), e = t.upcast(e), t = t.baseClass;
function Ue(e, r, t) {
for (; r !== t; )
r.upcast || y(`Expected null or instance of ${t.name}, got an instance of ${r.name}`), e = r.upcast(e), r = r.baseClass;
return e;
}
function Tr(e, t) {
if (t === null)
function $t(e, r) {
if (r === null)
return this.isReference && y("null is not a valid " + this.name), 0;
t.$$ || y('Cannot pass "' + Me(t) + '" as a ' + this.name), t.$$.ptr || y("Cannot pass deleted object as a pointer of type " + this.name);
var r = t.$$.ptrType.registeredClass, n = Ue(t.$$.ptr, r, this.registeredClass);
r.$$ || y(`Cannot pass "${Me(r)}" as a ${this.name}`), r.$$.ptr || y("Cannot pass deleted object as a pointer of type " + this.name);
var t = r.$$.ptrType.registeredClass, n = Ue(r.$$.ptr, t, this.registeredClass);
return n;
}
function Ar(e, t) {
var r;
if (t === null)
return this.isReference && y("null is not a valid " + this.name), this.isSmartPointer ? (r = this.rawConstructor(), e !== null && e.push(this.rawDestructor, r), r) : 0;
t.$$ || y('Cannot pass "' + Me(t) + '" as a ' + this.name), t.$$.ptr || y("Cannot pass deleted object as a pointer of type " + this.name), !this.isConst && t.$$.ptrType.isConst && y("Cannot convert argument of type " + (t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name) + " to parameter type " + this.name);
var n = t.$$.ptrType.registeredClass;
if (r = Ue(t.$$.ptr, n, this.registeredClass), this.isSmartPointer)
switch (t.$$.smartPtr === void 0 && y("Passing raw pointer to smart pointer is illegal"), this.sharingPolicy) {
function Tt(e, r) {
var t;
if (r === null)
return this.isReference && y("null is not a valid " + this.name), this.isSmartPointer ? (t = this.rawConstructor(), e !== null && e.push(this.rawDestructor, t), t) : 0;
r.$$ || y(`Cannot pass "${Me(r)}" as a ${this.name}`), r.$$.ptr || y(`Cannot pass deleted object as a pointer of type ${this.name}`), !this.isConst && r.$$.ptrType.isConst && y(`Cannot convert argument of type ${r.$$.smartPtrType ? r.$$.smartPtrType.name : r.$$.ptrType.name} to parameter type ${this.name}`);
var n = r.$$.ptrType.registeredClass;
if (t = Ue(r.$$.ptr, n, this.registeredClass), this.isSmartPointer)
switch (r.$$.smartPtr === void 0 && y("Passing raw pointer to smart pointer is illegal"), this.sharingPolicy) {
case 0:
t.$$.smartPtrType === this ? r = t.$$.smartPtr : y("Cannot convert argument of type " + (t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name) + " to parameter type " + this.name);
r.$$.smartPtrType === this ? t = r.$$.smartPtr : y(`Cannot convert argument of type ${r.$$.smartPtrType ? r.$$.smartPtrType.name : r.$$.ptrType.name} to parameter type ${this.name}`);
break;
case 1:
r = t.$$.smartPtr;
t = r.$$.smartPtr;
break;
case 2:
if (t.$$.smartPtrType === this)
r = t.$$.smartPtr;
if (r.$$.smartPtrType === this)
t = r.$$.smartPtr;
else {
var i = t.clone();
r = this.rawShare(r, Ce.toHandle(function() {
var i = r.clone();
t = this.rawShare(t, Pe.toHandle(function() {
i.delete();
})), e !== null && e.push(this.rawDestructor, r);
})), e !== null && e.push(this.rawDestructor, t);
}

@@ -570,65 +562,65 @@ break;

}
return r;
return t;
}
function $r(e, t) {
if (t === null)
function At(e, r) {
if (r === null)
return this.isReference && y("null is not a valid " + this.name), 0;
t.$$ || y('Cannot pass "' + Me(t) + '" as a ' + this.name), t.$$.ptr || y("Cannot pass deleted object as a pointer of type " + this.name), t.$$.ptrType.isConst && y("Cannot convert argument of type " + t.$$.ptrType.name + " to parameter type " + this.name);
var r = t.$$.ptrType.registeredClass, n = Ue(t.$$.ptr, r, this.registeredClass);
r.$$ || y(`Cannot pass "${Me(r)}" as a ${this.name}`), r.$$.ptr || y(`Cannot pass deleted object as a pointer of type ${this.name}`), r.$$.ptrType.isConst && y(`Cannot convert argument of type ${r.$$.ptrType.name} to parameter type ${this.name}`);
var t = r.$$.ptrType.registeredClass, n = Ue(r.$$.ptr, t, this.registeredClass);
return n;
}
function Fr(e) {
function Ft(e) {
return this.rawGetPointee && (e = this.rawGetPointee(e)), e;
}
function Er(e) {
function Et(e) {
this.rawDestructor && this.rawDestructor(e);
}
function Sr(e) {
function St(e) {
e !== null && e.delete();
}
function Rr() {
M.prototype.getPointee = Fr, M.prototype.destructor = Er, M.prototype.argPackAdvance = 8, M.prototype.readValueFromPointer = ne, M.prototype.deleteObject = Sr, M.prototype.fromWireType = gr;
function Rt() {
M.prototype.getPointee = Ft, M.prototype.destructor = Et, M.prototype.argPackAdvance = 8, M.prototype.readValueFromPointer = ne, M.prototype.deleteObject = St, M.prototype.fromWireType = gt;
}
function M(e, t, r, n, i, a, s, o, f, c, d) {
this.name = e, this.registeredClass = t, this.isReference = r, this.isConst = n, this.isSmartPointer = i, this.pointeeType = a, this.sharingPolicy = s, this.rawGetPointee = o, this.rawConstructor = f, this.rawShare = c, this.rawDestructor = d, !i && t.baseClass === void 0 ? n ? (this.toWireType = Tr, this.destructorFunction = null) : (this.toWireType = $r, this.destructorFunction = null) : this.toWireType = Ar;
function M(e, r, t, n, i, a, s, o, f, c, d) {
this.name = e, this.registeredClass = r, this.isReference = t, this.isConst = n, this.isSmartPointer = i, this.pointeeType = a, this.sharingPolicy = s, this.rawGetPointee = o, this.rawConstructor = f, this.rawShare = c, this.rawDestructor = d, !i && r.baseClass === void 0 ? n ? (this.toWireType = $t, this.destructorFunction = null) : (this.toWireType = At, this.destructorFunction = null) : this.toWireType = Tt;
}
function pt(e, t, r) {
u.hasOwnProperty(e) || me("Replacing nonexistant public symbol"), u[e].overloadTable !== void 0 && r !== void 0 ? u[e].overloadTable[r] = t : (u[e] = t, u[e].argCount = r);
function pr(e, r, t) {
u.hasOwnProperty(e) || me("Replacing nonexistant public symbol"), u[e].overloadTable !== void 0 && t !== void 0 ? u[e].overloadTable[t] = r : (u[e] = r, u[e].argCount = t);
}
function Dr(e, t, r) {
function Dt(e, r, t) {
var n = u["dynCall_" + e];
return r && r.length ? n.apply(null, [t].concat(r)) : n.call(null, t);
return t && t.length ? n.apply(null, [r].concat(t)) : n.call(null, r);
}
var be = [];
function b(e) {
var t = be[e];
return t || (e >= be.length && (be.length = e + 1), be[e] = t = qe.get(e)), t;
var r = be[e];
return r || (e >= be.length && (be.length = e + 1), be[e] = r = qe.get(e)), r;
}
function kr(e, t, r) {
function kt(e, r, t) {
if (e.includes("j"))
return Dr(e, t, r);
var n = b(t).apply(null, r);
return Dt(e, r, t);
var n = b(r).apply(null, t);
return n;
}
function Or(e, t) {
var r = [];
function Ot(e, r) {
var t = [];
return function() {
return r.length = 0, Object.assign(r, arguments), kr(e, t, r);
return t.length = 0, Object.assign(t, arguments), kt(e, r, t);
};
}
function O(e, t) {
function O(e, r) {
e = R(e);
function r() {
return e.includes("j") ? Or(e, t) : b(t);
function t() {
return e.includes("j") ? Ot(e, r) : b(r);
}
var n = r();
return typeof n != "function" && y("unknown function pointer with signature " + e + ": " + t), n;
var n = t();
return typeof n != "function" && y(`unknown function pointer with signature ${e}: ${r}`), n;
}
var ht = void 0;
function _t(e) {
var t = Tt(e), r = R(t);
return I(t), r;
var hr = void 0;
function _r(e) {
var r = $r(e), t = R(r);
return I(r), t;
}
function Pe(e, t) {
var r = [], n = {};
function Ce(e, r) {
var t = [], n = {};
function i(a) {

@@ -640,17 +632,17 @@ if (!n[a] && !z[a]) {

}
r.push(a), n[a] = !0;
t.push(a), n[a] = !0;
}
}
throw t.forEach(i), new ht(e + ": " + r.map(_t).join([", "]));
throw r.forEach(i), new hr(e + ": " + t.map(_r).join([", "]));
}
function Wr(e, t, r, n, i, a, s, o, f, c, d, p, h) {
function Wt(e, r, t, n, i, a, s, o, f, c, d, p, h) {
d = R(d), a = O(i, a), o && (o = O(s, o)), c && (c = O(f, c)), h = O(p, h);
var g = it(d);
vt(g, function() {
Pe("Cannot construct " + d + " due to unbound types", [n]);
}), X([e, t, r], n ? [n] : [], function(P) {
P = P[0];
var E, C;
n ? (E = P.registeredClass, C = E.instancePrototype) : C = Y.prototype;
var S = at(g, function() {
var g = ir(d);
vr(g, function() {
Ce(`Cannot construct ${d} due to unbound types`, [n]);
}), X([e, r, t], n ? [n] : [], function(C) {
C = C[0];
var E, P;
n ? (E = C.registeredClass, P = E.instancePrototype) : P = Y.prototype;
var S = ar(g, function() {
if (Object.getPrototypeOf(this) !== l)

@@ -660,43 +652,45 @@ throw new Q("Use 'new' to construct " + d);

throw new Q(d + " has no accessible constructor");
var $e = v.constructor_body[arguments.length];
if ($e === void 0)
throw new Q("Tried to invoke ctor of " + d + " with invalid number of parameters (" + arguments.length + ") - expected (" + Object.keys(v.constructor_body).toString() + ") parameters instead!");
return $e.apply(this, arguments);
}), l = Object.create(C, { constructor: { value: S } });
var Ae = v.constructor_body[arguments.length];
if (Ae === void 0)
throw new Q(`Tried to invoke ctor of ${d} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(v.constructor_body).toString()}) parameters instead!`);
return Ae.apply(this, arguments);
}), l = Object.create(P, { constructor: { value: S } });
S.prototype = l;
var v = new Cr(d, S, l, h, E, a, o, c), T = new M(d, v, !0, !1, !1), $ = new M(d + "*", v, !1, !1, !1), Z = new M(d + " const*", v, !1, !0, !1);
return lt[e] = { pointerType: $, constPointerType: Z }, pt(g, S), [T, $, Z];
var v = new Pt(d, S, l, h, E, a, o, c);
v.baseClass && (v.baseClass.__derivedClasses === void 0 && (v.baseClass.__derivedClasses = []), v.baseClass.__derivedClasses.push(v));
var $ = new M(d, v, !0, !1, !1), A = new M(d + "*", v, !1, !1, !1), Z = new M(d + " const*", v, !1, !0, !1);
return lr[e] = { pointerType: A, constPointerType: Z }, pr(g, S), [$, A, Z];
});
}
function He(e, t) {
for (var r = [], n = 0; n < e; n++)
r.push(A[t + n * 4 >> 2]);
return r;
function He(e, r) {
for (var t = [], n = 0; n < e; n++)
t.push(T[r + n * 4 >> 2]);
return t;
}
function je(e, t, r, n, i, a) {
var s = t.length;
function je(e, r, t, n, i, a) {
var s = r.length;
s < 2 && y("argTypes array size mismatch! Must at least get return value and 'this' types!");
for (var o = t[1] !== null && r !== null, f = !1, c = 1; c < t.length; ++c)
if (t[c] !== null && t[c].destructorFunction === void 0) {
for (var o = r[1] !== null && t !== null, f = !1, c = 1; c < r.length; ++c)
if (r[c] !== null && r[c].destructorFunction === void 0) {
f = !0;
break;
}
var d = t[0].name !== "void", p = s - 2, h = new Array(p), g = [], P = [];
var d = r[0].name !== "void", p = s - 2, h = new Array(p), g = [], C = [];
return function() {
arguments.length !== p && y("function " + e + " called with " + arguments.length + " arguments, expected " + p + " args!"), P.length = 0;
arguments.length !== p && y(`function ${e} called with ${arguments.length} arguments, expected ${p} args!`), C.length = 0;
var E;
g.length = o ? 2 : 1, g[0] = i, o && (E = t[1].toWireType(P, this), g[1] = E);
for (var C = 0; C < p; ++C)
h[C] = t[C + 2].toWireType(P, arguments[C]), g.push(h[C]);
g.length = o ? 2 : 1, g[0] = i, o && (E = r[1].toWireType(C, this), g[1] = E);
for (var P = 0; P < p; ++P)
h[P] = r[P + 2].toWireType(C, arguments[P]), g.push(h[P]);
var S = n.apply(null, g);
function l(v) {
if (f)
nt(P);
nr(C);
else
for (var T = o ? 1 : 2; T < t.length; T++) {
var $ = T === 1 ? E : h[T - 2];
t[T].destructorFunction !== null && t[T].destructorFunction($);
for (var $ = o ? 1 : 2; $ < r.length; $++) {
var A = $ === 1 ? E : h[$ - 2];
r[$].destructorFunction !== null && r[$].destructorFunction(A);
}
if (d)
return t[0].fromWireType(v);
return r[0].fromWireType(v);
}

@@ -706,39 +700,39 @@ return l(S);

}
function Ur(e, t, r, n, i, a) {
Ot(t > 0);
var s = He(t, r);
function Ut(e, r, t, n, i, a) {
Or(r > 0);
var s = He(r, t);
i = O(n, i), X([], [e], function(o) {
o = o[0];
var f = "constructor " + o.name;
if (o.registeredClass.constructor_body === void 0 && (o.registeredClass.constructor_body = []), o.registeredClass.constructor_body[t - 1] !== void 0)
throw new Q("Cannot register multiple constructors with identical number of parameters (" + (t - 1) + ") for class '" + o.name + "'! Overload resolution is currently only performed using the parameter count, not actual type info!");
return o.registeredClass.constructor_body[t - 1] = () => {
Pe("Cannot construct " + o.name + " due to unbound types", s);
if (o.registeredClass.constructor_body === void 0 && (o.registeredClass.constructor_body = []), o.registeredClass.constructor_body[r - 1] !== void 0)
throw new Q(`Cannot register multiple constructors with identical number of parameters (${r - 1}) for class '${o.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
return o.registeredClass.constructor_body[r - 1] = () => {
Ce(`Cannot construct ${o.name} due to unbound types`, s);
}, X([], s, function(c) {
return c.splice(1, 0, null), o.registeredClass.constructor_body[t - 1] = je(f, c, null, i, a), [];
return c.splice(1, 0, null), o.registeredClass.constructor_body[r - 1] = je(f, c, null, i, a), [];
}), [];
});
}
function Hr(e, t, r, n, i, a, s, o, f) {
var c = He(r, n);
t = R(t), a = O(i, a), X([], [e], function(d) {
function Ht(e, r, t, n, i, a, s, o, f) {
var c = He(t, n);
r = R(r), a = O(i, a), X([], [e], function(d) {
d = d[0];
var p = d.name + "." + t;
t.startsWith("@@") && (t = Symbol[t.substring(2)]), o && d.registeredClass.pureVirtualFunctions.push(t);
var p = d.name + "." + r;
r.startsWith("@@") && (r = Symbol[r.substring(2)]), o && d.registeredClass.pureVirtualFunctions.push(r);
function h() {
Pe("Cannot call " + p + " due to unbound types", c);
Ce(`Cannot call ${p} due to unbound types`, c);
}
var g = d.registeredClass.instancePrototype, P = g[t];
return P === void 0 || P.overloadTable === void 0 && P.className !== d.name && P.argCount === r - 2 ? (h.argCount = r - 2, h.className = d.name, g[t] = h) : (dt(g, t, p), g[t].overloadTable[r - 2] = h), X([], c, function(E) {
var C = je(p, E, d, a, s);
return g[t].overloadTable === void 0 ? (C.argCount = r - 2, g[t] = C) : g[t].overloadTable[r - 2] = C, [];
var g = d.registeredClass.instancePrototype, C = g[r];
return C === void 0 || C.overloadTable === void 0 && C.className !== d.name && C.argCount === t - 2 ? (h.argCount = t - 2, h.className = d.name, g[r] = h) : (dr(g, r, p), g[r].overloadTable[t - 2] = h), X([], c, function(E) {
var P = je(p, E, d, a, s);
return g[r].overloadTable === void 0 ? (P.argCount = t - 2, g[r] = P) : g[r].overloadTable[t - 2] = P, [];
}), [];
});
}
function jr() {
function jt() {
this.allocated = [void 0], this.freelist = [], this.get = function(e) {
return this.allocated[e];
}, this.allocate = function(e) {
let t = this.freelist.pop() || this.allocated.length;
return this.allocated[t] = e, t;
var r = this.freelist.pop() || this.allocated.length;
return this.allocated[r] = e, r;
}, this.free = function(e) {

@@ -748,15 +742,15 @@ this.allocated[e] = void 0, this.freelist.push(e);

}
var k = new jr();
function gt(e) {
var k = new jt();
function gr(e) {
e >= k.reserved && --k.get(e).refcount === 0 && k.free(e);
}
function Mr() {
for (var e = 0, t = k.reserved; t < k.allocated.length; ++t)
k.allocated[t] !== void 0 && ++e;
function Mt() {
for (var e = 0, r = k.reserved; r < k.allocated.length; ++r)
k.allocated[r] !== void 0 && ++e;
return e;
}
function Ir() {
k.allocated.push({ value: void 0 }, { value: null }, { value: !0 }, { value: !1 }), k.reserved = k.allocated.length, u.count_emval_handles = Mr;
function It() {
k.allocated.push({ value: void 0 }, { value: null }, { value: !0 }, { value: !1 }), k.reserved = k.allocated.length, u.count_emval_handles = Mt;
}
var Ce = { toValue: (e) => (e || y("Cannot use deleted val. handle = " + e), k.get(e).value), toHandle: (e) => {
var Pe = { toValue: (e) => (e || y("Cannot use deleted val. handle = " + e), k.get(e).value), toHandle: (e) => {
switch (e) {

@@ -775,8 +769,8 @@ case void 0:

} };
function xr(e, t) {
t = R(t), j(e, { name: t, fromWireType: function(r) {
var n = Ce.toValue(r);
return gt(r), n;
}, toWireType: function(r, n) {
return Ce.toHandle(n);
function xt(e, r) {
r = R(r), j(e, { name: r, fromWireType: function(t) {
var n = Pe.toValue(t);
return gr(t), n;
}, toWireType: function(t, n) {
return Pe.toHandle(n);
}, argPackAdvance: 8, readValueFromPointer: ne, destructorFunction: null });

@@ -787,14 +781,14 @@ }

return "null";
var t = typeof e;
return t === "object" || t === "array" || t === "function" ? e.toString() : "" + e;
var r = typeof e;
return r === "object" || r === "array" || r === "function" ? e.toString() : "" + e;
}
function Yr(e, t) {
switch (t) {
function Yt(e, r) {
switch (r) {
case 2:
return function(r) {
return this.fromWireType(Xe[r >> 2]);
return function(t) {
return this.fromWireType(Xe[t >> 2]);
};
case 3:
return function(r) {
return this.fromWireType(Ze[r >> 3]);
return function(t) {
return this.fromWireType(Ze[t >> 3]);
};

@@ -805,23 +799,23 @@ default:

}
function Vr(e, t, r) {
var n = De(r);
t = R(t), j(e, { name: t, fromWireType: function(i) {
function Vt(e, r, t) {
var n = De(t);
r = R(r), j(e, { name: r, fromWireType: function(i) {
return i;
}, toWireType: function(i, a) {
return a;
}, argPackAdvance: 8, readValueFromPointer: Yr(t, n), destructorFunction: null });
}, argPackAdvance: 8, readValueFromPointer: Yt(r, n), destructorFunction: null });
}
function Nr(e, t, r, n, i, a, s) {
var o = He(t, r);
e = R(e), i = O(n, i), vt(e, function() {
Pe("Cannot call " + e + " due to unbound types", o);
}, t - 1), X([], o, function(f) {
function Nt(e, r, t, n, i, a, s) {
var o = He(r, t);
e = R(e), i = O(n, i), vr(e, function() {
Ce(`Cannot call ${e} due to unbound types`, o);
}, r - 1), X([], o, function(f) {
var c = [f[0], null].concat(f.slice(1));
return pt(e, je(e, c, null, i, a), t - 1), [];
return pr(e, je(e, c, null, i, a), r - 1), [];
});
}
function Br(e, t, r) {
switch (t) {
function Bt(e, r, t) {
switch (r) {
case 0:
return r ? function(i) {
return t ? function(i) {
return U[i];

@@ -832,3 +826,3 @@ } : function(i) {

case 1:
return r ? function(i) {
return t ? function(i) {
return q[i >> 1];

@@ -839,6 +833,6 @@ } : function(i) {

case 2:
return r ? function(i) {
return t ? function(i) {
return F[i >> 2];
} : function(i) {
return A[i >> 2];
return T[i >> 2];
};

@@ -849,10 +843,10 @@ default:

}
function Lr(e, t, r, n, i) {
t = R(t);
var a = De(r), s = (p) => p;
function Lt(e, r, t, n, i) {
r = R(r);
var a = De(t), s = (p) => p;
if (n === 0) {
var o = 32 - 8 * r;
var o = 32 - 8 * t;
s = (p) => p << o >>> o;
}
var f = t.includes("unsigned"), c = (p, h) => {
var f = r.includes("unsigned"), c = (p, h) => {
}, d;

@@ -863,17 +857,17 @@ f ? d = function(p, h) {

return c(h, this.name), h;
}, j(e, { name: t, fromWireType: s, toWireType: d, argPackAdvance: 8, readValueFromPointer: Br(t, a, n !== 0), destructorFunction: null });
}, j(e, { name: r, fromWireType: s, toWireType: d, argPackAdvance: 8, readValueFromPointer: Bt(r, a, n !== 0), destructorFunction: null });
}
function zr(e, t, r) {
var n = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array], i = n[t];
function zt(e, r, t) {
var n = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array], i = n[r];
function a(s) {
s = s >> 2;
var o = A, f = o[s], c = o[s + 1];
var o = T, f = o[s], c = o[s + 1];
return new i(o.buffer, c, f);
}
r = R(r), j(e, { name: r, fromWireType: a, argPackAdvance: 8, readValueFromPointer: a }, { ignoreDuplicateRegistrations: !0 });
t = R(t), j(e, { name: t, fromWireType: a, argPackAdvance: 8, readValueFromPointer: a }, { ignoreDuplicateRegistrations: !0 });
}
function yt(e, t, r, n) {
function yr(e, r, t, n) {
if (!(n > 0))
return 0;
for (var i = r, a = r + n - 1, s = 0; s < e.length; ++s) {
for (var i = t, a = t + n - 1, s = 0; s < e.length; ++s) {
var o = e.charCodeAt(s);

@@ -885,39 +879,39 @@ if (o >= 55296 && o <= 57343) {

if (o <= 127) {
if (r >= a)
if (t >= a)
break;
t[r++] = o;
r[t++] = o;
} else if (o <= 2047) {
if (r + 1 >= a)
if (t + 1 >= a)
break;
t[r++] = 192 | o >> 6, t[r++] = 128 | o & 63;
r[t++] = 192 | o >> 6, r[t++] = 128 | o & 63;
} else if (o <= 65535) {
if (r + 2 >= a)
if (t + 2 >= a)
break;
t[r++] = 224 | o >> 12, t[r++] = 128 | o >> 6 & 63, t[r++] = 128 | o & 63;
r[t++] = 224 | o >> 12, r[t++] = 128 | o >> 6 & 63, r[t++] = 128 | o & 63;
} else {
if (r + 3 >= a)
if (t + 3 >= a)
break;
t[r++] = 240 | o >> 18, t[r++] = 128 | o >> 12 & 63, t[r++] = 128 | o >> 6 & 63, t[r++] = 128 | o & 63;
r[t++] = 240 | o >> 18, r[t++] = 128 | o >> 12 & 63, r[t++] = 128 | o >> 6 & 63, r[t++] = 128 | o & 63;
}
}
return t[r] = 0, r - i;
return r[t] = 0, t - i;
}
function Xr(e, t, r) {
return yt(e, D, t, r);
function Xt(e, r, t) {
return yr(e, D, r, t);
}
function mt(e) {
for (var t = 0, r = 0; r < e.length; ++r) {
var n = e.charCodeAt(r);
n <= 127 ? t++ : n <= 2047 ? t += 2 : n >= 55296 && n <= 57343 ? (t += 4, ++r) : t += 3;
function mr(e) {
for (var r = 0, t = 0; t < e.length; ++t) {
var n = e.charCodeAt(t);
n <= 127 ? r++ : n <= 2047 ? r += 2 : n >= 55296 && n <= 57343 ? (r += 4, ++t) : r += 3;
}
return t;
return r;
}
var wt = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0;
function Zr(e, t, r) {
for (var n = t + r, i = t; e[i] && !(i >= n); )
var wr = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0;
function Zt(e, r, t) {
for (var n = r + t, i = r; e[i] && !(i >= n); )
++i;
if (i - t > 16 && e.buffer && wt)
return wt.decode(e.subarray(t, i));
for (var a = ""; t < i; ) {
var s = e[t++];
if (i - r > 16 && e.buffer && wr)
return wr.decode(e.subarray(r, i));
for (var a = ""; r < i; ) {
var s = e[r++];
if (!(s & 128)) {

@@ -927,3 +921,3 @@ a += String.fromCharCode(s);

}
var o = e[t++] & 63;
var o = e[r++] & 63;
if ((s & 224) == 192) {

@@ -933,4 +927,4 @@ a += String.fromCharCode((s & 31) << 6 | o);

}
var f = e[t++] & 63;
if ((s & 240) == 224 ? s = (s & 15) << 12 | o << 6 | f : s = (s & 7) << 18 | o << 12 | f << 6 | e[t++] & 63, s < 65536)
var f = e[r++] & 63;
if ((s & 240) == 224 ? s = (s & 15) << 12 | o << 6 | f : s = (s & 7) << 18 | o << 12 | f << 6 | e[r++] & 63, s < 65536)
a += String.fromCharCode(s);

@@ -944,11 +938,11 @@ else {

}
function Ie(e, t) {
return e ? Zr(D, e, t) : "";
function Ie(e, r) {
return e ? Zt(D, e, r) : "";
}
function Gr(e, t) {
t = R(t);
var r = t === "std::string";
j(e, { name: t, fromWireType: function(n) {
var i = A[n >> 2], a = n + 4, s;
if (r)
function Gt(e, r) {
r = R(r);
var t = r === "std::string";
j(e, { name: r, fromWireType: function(n) {
var i = T[n >> 2], a = n + 4, s;
if (t)
for (var o = a, f = 0; f <= i; ++f) {

@@ -970,6 +964,6 @@ var c = a + f;

var a, s = typeof i == "string";
s || i instanceof Uint8Array || i instanceof Uint8ClampedArray || i instanceof Int8Array || y("Cannot pass non-string to std::string"), r && s ? a = mt(i) : a = i.length;
s || i instanceof Uint8Array || i instanceof Uint8ClampedArray || i instanceof Int8Array || y("Cannot pass non-string to std::string"), t && s ? a = mr(i) : a = i.length;
var o = Ye(4 + a + 1), f = o + 4;
if (A[o >> 2] = a, r && s)
Xr(i, f, a + 1);
if (T[o >> 2] = a, t && s)
Xt(i, f, a + 1);
else if (s)

@@ -988,9 +982,9 @@ for (var c = 0; c < a; ++c) {

}
var bt = typeof TextDecoder < "u" ? new TextDecoder("utf-16le") : void 0;
function qr(e, t) {
for (var r = e, n = r >> 1, i = n + t / 2; !(n >= i) && ve[n]; )
var br = typeof TextDecoder < "u" ? new TextDecoder("utf-16le") : void 0;
function qt(e, r) {
for (var t = e, n = t >> 1, i = n + r / 2; !(n >= i) && ve[n]; )
++n;
if (r = n << 1, r - e > 32 && bt)
return bt.decode(D.subarray(e, r));
for (var a = "", s = 0; !(s >= t / 2); ++s) {
if (t = n << 1, t - e > 32 && br)
return br.decode(D.subarray(e, t));
for (var a = "", s = 0; !(s >= r / 2); ++s) {
var o = q[e + s * 2 >> 1];

@@ -1003,21 +997,21 @@ if (o == 0)

}
function Jr(e, t, r) {
if (r === void 0 && (r = 2147483647), r < 2)
function Jt(e, r, t) {
if (t === void 0 && (t = 2147483647), t < 2)
return 0;
r -= 2;
for (var n = t, i = r < e.length * 2 ? r / 2 : e.length, a = 0; a < i; ++a) {
t -= 2;
for (var n = r, i = t < e.length * 2 ? t / 2 : e.length, a = 0; a < i; ++a) {
var s = e.charCodeAt(a);
q[t >> 1] = s, t += 2;
q[r >> 1] = s, r += 2;
}
return q[t >> 1] = 0, t - n;
return q[r >> 1] = 0, r - n;
}
function Kr(e) {
function Kt(e) {
return e.length * 2;
}
function Qr(e, t) {
for (var r = 0, n = ""; !(r >= t / 4); ) {
var i = F[e + r * 4 >> 2];
function Qt(e, r) {
for (var t = 0, n = ""; !(t >= r / 4); ) {
var i = F[e + t * 4 >> 2];
if (i == 0)
break;
if (++r, i >= 65536) {
if (++t, i >= 65536) {
var a = i - 65536;

@@ -1030,6 +1024,6 @@ n += String.fromCharCode(55296 | a >> 10, 56320 | a & 1023);

}
function en(e, t, r) {
if (r === void 0 && (r = 2147483647), r < 4)
function en(e, r, t) {
if (t === void 0 && (t = 2147483647), t < 4)
return 0;
for (var n = t, i = n + r - 4, a = 0; a < e.length; ++a) {
for (var n = r, i = n + t - 4, a = 0; a < e.length; ++a) {
var s = e.charCodeAt(a);

@@ -1040,23 +1034,23 @@ if (s >= 55296 && s <= 57343) {

}
if (F[t >> 2] = s, t += 4, t + 4 > i)
if (F[r >> 2] = s, r += 4, r + 4 > i)
break;
}
return F[t >> 2] = 0, t - n;
return F[r >> 2] = 0, r - n;
}
function tn(e) {
for (var t = 0, r = 0; r < e.length; ++r) {
var n = e.charCodeAt(r);
n >= 55296 && n <= 57343 && ++r, t += 4;
function rn(e) {
for (var r = 0, t = 0; t < e.length; ++t) {
var n = e.charCodeAt(t);
n >= 55296 && n <= 57343 && ++t, r += 4;
}
return t;
return r;
}
function rn(e, t, r) {
r = R(r);
function tn(e, r, t) {
t = R(t);
var n, i, a, s, o;
t === 2 ? (n = qr, i = Jr, s = Kr, a = () => ve, o = 1) : t === 4 && (n = Qr, i = en, s = tn, a = () => A, o = 2), j(e, { name: r, fromWireType: function(f) {
for (var c = A[f >> 2], d = a(), p, h = f + 4, g = 0; g <= c; ++g) {
var P = f + 4 + g * t;
if (g == c || d[P >> o] == 0) {
var E = P - h, C = n(h, E);
p === void 0 ? p = C : (p += String.fromCharCode(0), p += C), h = P + t;
r === 2 ? (n = qt, i = Jt, s = Kt, a = () => ve, o = 1) : r === 4 && (n = Qt, i = en, s = rn, a = () => T, o = 2), j(e, { name: t, fromWireType: function(f) {
for (var c = T[f >> 2], d = a(), p, h = f + 4, g = 0; g <= c; ++g) {
var C = f + 4 + g * r;
if (g == c || d[C >> o] == 0) {
var E = C - h, P = n(h, E);
p === void 0 ? p = P : (p += String.fromCharCode(0), p += P), h = C + r;
}

@@ -1066,5 +1060,5 @@ }

}, toWireType: function(f, c) {
typeof c != "string" && y("Cannot pass non-string to C++ string type " + r);
var d = s(c), p = Ye(4 + d + t);
return A[p >> 2] = d >> o, i(c, p + 4, d + t), f !== null && f.push(I, p), p;
typeof c != "string" && y("Cannot pass non-string to C++ string type " + t);
var d = s(c), p = Ye(4 + d + r);
return T[p >> 2] = d >> o, i(c, p + 4, d + r), f !== null && f.push(I, p), p;
}, argPackAdvance: 8, readValueFromPointer: ne, destructorFunction: function(f) {

@@ -1074,11 +1068,11 @@ I(f);

}
function nn(e, t, r, n, i, a) {
ge[e] = { name: R(t), rawConstructor: O(r, n), rawDestructor: O(i, a), fields: [] };
function nn(e, r, t, n, i, a) {
ge[e] = { name: R(r), rawConstructor: O(t, n), rawDestructor: O(i, a), fields: [] };
}
function an(e, t, r, n, i, a, s, o, f, c) {
ge[e].fields.push({ fieldName: R(t), getterReturnType: r, getter: O(n, i), getterContext: a, setterArgumentType: s, setter: O(o, f), setterContext: c });
function an(e, r, t, n, i, a, s, o, f, c) {
ge[e].fields.push({ fieldName: R(r), getterReturnType: t, getter: O(n, i), getterContext: a, setterArgumentType: s, setter: O(o, f), setterContext: c });
}
function on(e, t) {
t = R(t), j(e, { isVoid: !0, name: t, argPackAdvance: 0, fromWireType: function() {
}, toWireType: function(r, n) {
function on(e, r) {
r = R(r), j(e, { isVoid: !0, name: r, argPackAdvance: 0, fromWireType: function() {
}, toWireType: function(t, n) {
} });

@@ -1089,10 +1083,10 @@ }

}
function un(e, t) {
var r = z[e];
return r === void 0 && y(t + " has unknown type " + _t(e)), r;
function un(e, r) {
var t = z[e];
return t === void 0 && y(r + " has unknown type " + _r(e)), t;
}
function fn(e, t) {
function fn(e, r) {
e = un(e, "_emval_take_value");
var r = e.readValueFromPointer(t);
return Ce.toHandle(r);
var t = e.readValueFromPointer(r);
return Pe.toHandle(t);
}

@@ -1102,4 +1096,4 @@ function cn() {

}
function ln(e, t, r) {
D.copyWithin(e, t, t + r);
function ln(e, r, t) {
D.copyWithin(e, r, r + t);
}

@@ -1110,5 +1104,5 @@ function dn() {

function vn(e) {
var t = de.buffer;
var r = de.buffer;
try {
return de.grow(e - t.byteLength + 65535 >>> 16), Ge(), 1;
return de.grow(e - r.byteLength + 65535 >>> 16), Ge(), 1;
} catch {

@@ -1118,12 +1112,11 @@ }

function pn(e) {
var t = D.length;
var r = D.length;
e = e >>> 0;
var r = dn();
if (e > r)
var t = dn();
if (e > t)
return !1;
let n = (f, c) => f + (c - f % c) % c;
for (var i = 1; i <= 4; i *= 2) {
var a = t * (1 + 0.2 / i);
for (var n = (f, c) => f + (c - f % c) % c, i = 1; i <= 4; i *= 2) {
var a = r * (1 + 0.2 / i);
a = Math.min(a, e + 100663296);
var s = Math.min(r, n(Math.max(e, a), 65536)), o = vn(s);
var s = Math.min(t, n(Math.max(e, a), 65536)), o = vn(s);
if (o)

@@ -1140,8 +1133,8 @@ return !0;

if (!ue.strings) {
var e = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", t = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: e, _: hn() };
for (var r in xe)
xe[r] === void 0 ? delete t[r] : t[r] = xe[r];
var e = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", r = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: e, _: hn() };
for (var t in xe)
xe[t] === void 0 ? delete r[t] : r[t] = xe[t];
var n = [];
for (var r in t)
n.push(r + "=" + t[r]);
for (var t in r)
n.push(t + "=" + r[t]);
ue.strings = n;

@@ -1151,21 +1144,21 @@ }

}
function _n(e, t) {
for (var r = 0; r < e.length; ++r)
U[t++ >> 0] = e.charCodeAt(r);
U[t >> 0] = 0;
function _n(e, r) {
for (var t = 0; t < e.length; ++t)
U[r++ >> 0] = e.charCodeAt(t);
U[r >> 0] = 0;
}
function gn(e, t) {
var r = 0;
function gn(e, r) {
var t = 0;
return ue().forEach(function(n, i) {
var a = t + r;
A[e + i * 4 >> 2] = a, _n(n, a), r += n.length + 1;
var a = r + t;
T[e + i * 4 >> 2] = a, _n(n, a), t += n.length + 1;
}), 0;
}
function yn(e, t) {
var r = ue();
A[e >> 2] = r.length;
function yn(e, r) {
var t = ue();
T[e >> 2] = t.length;
var n = 0;
return r.forEach(function(i) {
return t.forEach(function(i) {
n += i.length + 1;
}), A[t >> 2] = n, 0;
}), T[r >> 2] = n, 0;
}

@@ -1175,37 +1168,37 @@ function mn(e) {

}
function Te(e) {
function $e(e) {
return e % 4 === 0 && (e % 100 !== 0 || e % 400 === 0);
}
function wn(e, t) {
for (var r = 0, n = 0; n <= t; r += e[n++])
function wn(e, r) {
for (var t = 0, n = 0; n <= r; t += e[n++])
;
return r;
return t;
}
var Pt = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Ct = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
function bn(e, t) {
for (var r = new Date(e.getTime()); t > 0; ) {
var n = Te(r.getFullYear()), i = r.getMonth(), a = (n ? Pt : Ct)[i];
if (t > a - r.getDate())
t -= a - r.getDate() + 1, r.setDate(1), i < 11 ? r.setMonth(i + 1) : (r.setMonth(0), r.setFullYear(r.getFullYear() + 1));
var Cr = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Pr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
function bn(e, r) {
for (var t = new Date(e.getTime()); r > 0; ) {
var n = $e(t.getFullYear()), i = t.getMonth(), a = (n ? Cr : Pr)[i];
if (r > a - t.getDate())
r -= a - t.getDate() + 1, t.setDate(1), i < 11 ? t.setMonth(i + 1) : (t.setMonth(0), t.setFullYear(t.getFullYear() + 1));
else
return r.setDate(r.getDate() + t), r;
return t.setDate(t.getDate() + r), t;
}
return r;
return t;
}
function Pn(e, t, r) {
var n = r > 0 ? r : mt(e) + 1, i = new Array(n), a = yt(e, i, 0, i.length);
return t && (i.length = a), i;
function Cn(e, r, t) {
var n = t > 0 ? t : mr(e) + 1, i = new Array(n), a = yr(e, i, 0, i.length);
return r && (i.length = a), i;
}
function Cn(e, t) {
U.set(e, t);
function Pn(e, r) {
U.set(e, r);
}
function Tn(e, t, r, n) {
var i = F[n + 40 >> 2], a = { tm_sec: F[n >> 2], tm_min: F[n + 4 >> 2], tm_hour: F[n + 8 >> 2], tm_mday: F[n + 12 >> 2], tm_mon: F[n + 16 >> 2], tm_year: F[n + 20 >> 2], tm_wday: F[n + 24 >> 2], tm_yday: F[n + 28 >> 2], tm_isdst: F[n + 32 >> 2], tm_gmtoff: F[n + 36 >> 2], tm_zone: i ? Ie(i) : "" }, s = Ie(r), o = { "%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" };
function $n(e, r, t, n) {
var i = F[n + 40 >> 2], a = { tm_sec: F[n >> 2], tm_min: F[n + 4 >> 2], tm_hour: F[n + 8 >> 2], tm_mday: F[n + 12 >> 2], tm_mon: F[n + 16 >> 2], tm_year: F[n + 20 >> 2], tm_wday: F[n + 24 >> 2], tm_yday: F[n + 28 >> 2], tm_isdst: F[n + 32 >> 2], tm_gmtoff: F[n + 36 >> 2], tm_zone: i ? Ie(i) : "" }, s = Ie(t), o = { "%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" };
for (var f in o)
s = s.replace(new RegExp(f, "g"), o[f]);
var c = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], d = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
function p(l, v, T) {
for (var $ = typeof l == "number" ? l.toString() : l || ""; $.length < v; )
$ = T[0] + $;
return $;
function p(l, v, $) {
for (var A = typeof l == "number" ? l.toString() : l || ""; A.length < v; )
A = $[0] + A;
return A;
}

@@ -1216,9 +1209,9 @@ function h(l, v) {

function g(l, v) {
function T(Z) {
function $(Z) {
return Z < 0 ? -1 : Z > 0 ? 1 : 0;
}
var $;
return ($ = T(l.getFullYear() - v.getFullYear())) === 0 && ($ = T(l.getMonth() - v.getMonth())) === 0 && ($ = T(l.getDate() - v.getDate())), $;
var A;
return (A = $(l.getFullYear() - v.getFullYear())) === 0 && (A = $(l.getMonth() - v.getMonth())) === 0 && (A = $(l.getDate() - v.getDate())), A;
}
function P(l) {
function C(l) {
switch (l.getDay()) {

@@ -1242,6 +1235,6 @@ case 0:

function E(l) {
var v = bn(new Date(l.tm_year + 1900, 0, 1), l.tm_yday), T = new Date(v.getFullYear(), 0, 4), $ = new Date(v.getFullYear() + 1, 0, 4), Z = P(T), $e = P($);
return g(Z, v) <= 0 ? g($e, v) <= 0 ? v.getFullYear() + 1 : v.getFullYear() : v.getFullYear() - 1;
var v = bn(new Date(l.tm_year + 1900, 0, 1), l.tm_yday), $ = new Date(v.getFullYear(), 0, 4), A = new Date(v.getFullYear() + 1, 0, 4), Z = C($), Ae = C(A);
return g(Z, v) <= 0 ? g(Ae, v) <= 0 ? v.getFullYear() + 1 : v.getFullYear() : v.getFullYear() - 1;
}
var C = { "%a": function(l) {
var P = { "%a": function(l) {
return c[l.tm_wday].substring(0, 3);

@@ -1271,3 +1264,3 @@ }, "%A": function(l) {

}, "%j": function(l) {
return h(l.tm_mday + wn(Te(l.tm_year + 1900) ? Pt : Ct, l.tm_mon - 1), 3);
return h(l.tm_mday + wn($e(l.tm_year + 1900) ? Cr : Pr, l.tm_mon - 1), 3);
}, "%m": function(l) {

@@ -1295,9 +1288,9 @@ return h(l.tm_mon + 1, 2);

if (v == 53) {
var $ = (l.tm_wday + 371 - l.tm_yday) % 7;
$ != 4 && ($ != 3 || !Te(l.tm_year)) && (v = 1);
var A = (l.tm_wday + 371 - l.tm_yday) % 7;
A != 4 && (A != 3 || !$e(l.tm_year)) && (v = 1);
}
} else {
v = 52;
var T = (l.tm_wday + 7 - l.tm_yday - 1) % 7;
(T == 4 || T == 5 && Te(l.tm_year % 400 - 1)) && v++;
var $ = (l.tm_wday + 7 - l.tm_yday - 1) % 7;
($ == 4 || $ == 5 && $e(l.tm_year % 400 - 1)) && v++;
}

@@ -1315,4 +1308,4 @@ return h(v, 2);

}, "%z": function(l) {
var v = l.tm_gmtoff, T = v >= 0;
return v = Math.abs(v) / 60, v = v / 60 * 100 + v % 60, (T ? "+" : "-") + ("0000" + v).slice(-4);
var v = l.tm_gmtoff, $ = v >= 0;
return v = Math.abs(v) / 60, v = v / 60 * 100 + v % 60, ($ ? "+" : "-") + ("0000" + v).slice(-4);
}, "%Z": function(l) {

@@ -1324,14 +1317,14 @@ return l.tm_zone;

s = s.replace(/%%/g, "\0\0");
for (var f in C)
s.includes(f) && (s = s.replace(new RegExp(f, "g"), C[f](a)));
for (var f in P)
s.includes(f) && (s = s.replace(new RegExp(f, "g"), P[f](a)));
s = s.replace(/\0\0/g, "%");
var S = Pn(s, !1);
return S.length > t ? 0 : (Cn(S, e), S.length - 1);
var S = Cn(s, !1);
return S.length > r ? 0 : (Pn(S, e), S.length - 1);
}
function An(e, t, r, n, i) {
return Tn(e, t, r, n);
function Tn(e, r, t, n, i) {
return $n(e, r, t, n);
}
ot = u.InternalError = Re(Error, "InternalError"), or(), Q = u.BindingError = Re(Error, "BindingError"), Pr(), pr(), Rr(), ht = u.UnboundTypeError = Re(Error, "UnboundTypeError"), Ir();
var $n = { q: zt, v: Xt, a: Gt, h: qt, l: Jt, I: Kt, S: Qt, n: er, Z: tr, d: Zt, la: ir, U: ar, ba: sr, ka: Wr, ja: Ur, D: Hr, aa: xr, Q: Vr, R: Nr, x: Lr, t: zr, P: Gr, K: rn, N: nn, ma: an, ca: on, ga: gt, ha: sn, ia: fn, J: cn, $: ln, _: pn, X: gn, Y: yn, H: Bn, O: Qn, B: Ln, o: Vn, b: Fn, C: Nn, ea: Xn, c: Dn, i: jn, j: xn, r: Mn, w: Yn, G: Gn, M: qn, A: zn, F: ei, V: ri, T: ni, k: kn, g: Rn, e: Sn, f: En, L: Kn, m: In, p: On, fa: Un, u: Hn, da: Jn, z: Zn, s: Wn, E: ti, y: mn, W: An };
Lt();
or = u.InternalError = Re(Error, "InternalError"), ot(), Q = u.BindingError = Re(Error, "BindingError"), Ct(), pt(), Rt(), hr = u.UnboundTypeError = Re(Error, "UnboundTypeError"), It();
var An = { r: zr, v: Xr, a: Gr, h: qr, l: Jr, I: Kr, S: Qr, n: et, Z: rt, d: Zr, la: it, U: at, ba: st, ka: Wt, ja: Ut, E: Ht, aa: xt, Q: Vt, R: Nt, y: Lt, t: zt, P: Gt, K: tn, N: nn, ma: an, ca: on, ga: gr, ha: sn, ia: fn, J: cn, $: ln, _: pn, X: gn, Y: yn, A: Bn, O: Qn, D: Ln, q: Vn, b: Fn, w: Nn, ea: Xn, c: Dn, i: jn, j: xn, o: Mn, x: Yn, H: Gn, M: qn, C: zn, G: ei, V: ti, T: ni, k: kn, g: Rn, e: Sn, f: En, L: Kn, m: In, p: On, fa: Un, u: Hn, da: Jn, z: Zn, s: Wn, F: ri, B: mn, W: Tn };
Lr();
var I = u._free = function() {

@@ -1341,4 +1334,4 @@ return (I = u._free = u.asm.pa).apply(null, arguments);

return (Ye = u._malloc = u.asm.qa).apply(null, arguments);
}, Tt = u.___getTypeName = function() {
return (Tt = u.___getTypeName = u.asm.sa).apply(null, arguments);
}, $r = function() {
return ($r = u.asm.sa).apply(null, arguments);
};

@@ -1356,10 +1349,10 @@ u.__embind_initialize_bindings = function() {

return (w = u.asm.xa).apply(null, arguments);
}, At = function() {
return (At = u.asm.ya).apply(null, arguments);
}, $t = function() {
return ($t = u.asm.za).apply(null, arguments);
}, Ft = function() {
return (Ft = u.asm.Aa).apply(null, arguments);
}, Et = function() {
return (Et = u.asm.Ba).apply(null, arguments);
}, Tr = function() {
return (Tr = u.asm.ya).apply(null, arguments);
}, Ar = function() {
return (Ar = u.asm.za).apply(null, arguments);
}, Fr = function() {
return (Fr = u.asm.Aa).apply(null, arguments);
}, Er = function() {
return (Er = u.asm.Ba).apply(null, arguments);
};

@@ -1369,6 +1362,6 @@ u.dynCall_viijii = function() {

};
var St = u.dynCall_jiii = function() {
return (St = u.dynCall_jiii = u.asm.Da).apply(null, arguments);
}, Rt = u.dynCall_jiiii = function() {
return (Rt = u.dynCall_jiiii = u.asm.Ea).apply(null, arguments);
var Sr = u.dynCall_jiii = function() {
return (Sr = u.dynCall_jiii = u.asm.Da).apply(null, arguments);
}, Rr = u.dynCall_jiiii = function() {
return (Rr = u.dynCall_jiiii = u.asm.Ea).apply(null, arguments);
};

@@ -1382,8 +1375,8 @@ u.dynCall_iiiiij = function() {

};
function Fn(e, t) {
var r = m();
function Fn(e, r) {
var t = m();
try {
return b(e)(t);
return b(e)(r);
} catch (n) {
if (w(r), n !== n + 0)
if (w(t), n !== n + 0)
throw n;

@@ -1393,6 +1386,6 @@ _(1, 0);

}
function En(e, t, r, n) {
function En(e, r, t, n) {
var i = m();
try {
b(e)(t, r, n);
b(e)(r, t, n);
} catch (a) {

@@ -1404,6 +1397,6 @@ if (w(i), a !== a + 0)

}
function Sn(e, t, r) {
function Sn(e, r, t) {
var n = m();
try {
b(e)(t, r);
b(e)(r, t);
} catch (i) {

@@ -1415,8 +1408,8 @@ if (w(n), i !== i + 0)

}
function Rn(e, t) {
var r = m();
function Rn(e, r) {
var t = m();
try {
b(e)(t);
b(e)(r);
} catch (n) {
if (w(r), n !== n + 0)
if (w(t), n !== n + 0)
throw n;

@@ -1426,6 +1419,6 @@ _(1, 0);

}
function Dn(e, t, r) {
function Dn(e, r, t) {
var n = m();
try {
return b(e)(t, r);
return b(e)(r, t);
} catch (i) {

@@ -1438,15 +1431,15 @@ if (w(n), i !== i + 0)

function kn(e) {
var t = m();
var r = m();
try {
b(e)();
} catch (r) {
if (w(t), r !== r + 0)
throw r;
} catch (t) {
if (w(r), t !== t + 0)
throw t;
_(1, 0);
}
}
function On(e, t, r, n, i, a) {
function On(e, r, t, n, i, a) {
var s = m();
try {
b(e)(t, r, n, i, a);
b(e)(r, t, n, i, a);
} catch (o) {

@@ -1458,6 +1451,6 @@ if (w(s), o !== o + 0)

}
function Wn(e, t, r, n, i, a, s, o, f, c, d) {
function Wn(e, r, t, n, i, a, s, o, f, c, d) {
var p = m();
try {
b(e)(t, r, n, i, a, s, o, f, c, d);
b(e)(r, t, n, i, a, s, o, f, c, d);
} catch (h) {

@@ -1469,6 +1462,6 @@ if (w(p), h !== h + 0)

}
function Un(e, t, r, n, i, a, s) {
function Un(e, r, t, n, i, a, s) {
var o = m();
try {
b(e)(t, r, n, i, a, s);
b(e)(r, t, n, i, a, s);
} catch (f) {

@@ -1480,6 +1473,6 @@ if (w(o), f !== f + 0)

}
function Hn(e, t, r, n, i, a, s, o) {
function Hn(e, r, t, n, i, a, s, o) {
var f = m();
try {
b(e)(t, r, n, i, a, s, o);
b(e)(r, t, n, i, a, s, o);
} catch (c) {

@@ -1491,6 +1484,6 @@ if (w(f), c !== c + 0)

}
function jn(e, t, r, n) {
function jn(e, r, t, n) {
var i = m();
try {
return b(e)(t, r, n);
return b(e)(r, t, n);
} catch (a) {

@@ -1502,6 +1495,6 @@ if (w(i), a !== a + 0)

}
function Mn(e, t, r, n, i, a) {
function Mn(e, r, t, n, i, a) {
var s = m();
try {
return b(e)(t, r, n, i, a);
return b(e)(r, t, n, i, a);
} catch (o) {

@@ -1513,6 +1506,6 @@ if (w(s), o !== o + 0)

}
function In(e, t, r, n, i) {
function In(e, r, t, n, i) {
var a = m();
try {
b(e)(t, r, n, i);
b(e)(r, t, n, i);
} catch (s) {

@@ -1524,6 +1517,6 @@ if (w(a), s !== s + 0)

}
function xn(e, t, r, n, i) {
function xn(e, r, t, n, i) {
var a = m();
try {
return b(e)(t, r, n, i);
return b(e)(r, t, n, i);
} catch (s) {

@@ -1535,6 +1528,6 @@ if (w(a), s !== s + 0)

}
function Yn(e, t, r, n, i, a, s) {
function Yn(e, r, t, n, i, a, s) {
var o = m();
try {
return b(e)(t, r, n, i, a, s);
return b(e)(r, t, n, i, a, s);
} catch (f) {

@@ -1547,15 +1540,15 @@ if (w(o), f !== f + 0)

function Vn(e) {
var t = m();
var r = m();
try {
return b(e)();
} catch (r) {
if (w(t), r !== r + 0)
throw r;
} catch (t) {
if (w(r), t !== t + 0)
throw t;
_(1, 0);
}
}
function Nn(e, t, r, n) {
function Nn(e, r, t, n) {
var i = m();
try {
return b(e)(t, r, n);
return b(e)(r, t, n);
} catch (a) {

@@ -1567,6 +1560,6 @@ if (w(i), a !== a + 0)

}
function Bn(e, t, r, n) {
function Bn(e, r, t, n) {
var i = m();
try {
return b(e)(t, r, n);
return b(e)(r, t, n);
} catch (a) {

@@ -1578,6 +1571,6 @@ if (w(i), a !== a + 0)

}
function Ln(e, t, r, n, i, a) {
function Ln(e, r, t, n, i, a) {
var s = m();
try {
return b(e)(t, r, n, i, a);
return b(e)(r, t, n, i, a);
} catch (o) {

@@ -1589,6 +1582,6 @@ if (w(s), o !== o + 0)

}
function zn(e, t, r, n, i, a, s, o, f, c) {
function zn(e, r, t, n, i, a, s, o, f, c) {
var d = m();
try {
return b(e)(t, r, n, i, a, s, o, f, c);
return b(e)(r, t, n, i, a, s, o, f, c);
} catch (p) {

@@ -1600,6 +1593,6 @@ if (w(d), p !== p + 0)

}
function Xn(e, t, r) {
function Xn(e, r, t) {
var n = m();
try {
return b(e)(t, r);
return b(e)(r, t);
} catch (i) {

@@ -1611,6 +1604,6 @@ if (w(n), i !== i + 0)

}
function Zn(e, t, r, n, i, a, s, o, f, c) {
function Zn(e, r, t, n, i, a, s, o, f, c) {
var d = m();
try {
b(e)(t, r, n, i, a, s, o, f, c);
b(e)(r, t, n, i, a, s, o, f, c);
} catch (p) {

@@ -1622,6 +1615,6 @@ if (w(d), p !== p + 0)

}
function Gn(e, t, r, n, i, a, s, o) {
function Gn(e, r, t, n, i, a, s, o) {
var f = m();
try {
return b(e)(t, r, n, i, a, s, o);
return b(e)(r, t, n, i, a, s, o);
} catch (c) {

@@ -1633,6 +1626,6 @@ if (w(f), c !== c + 0)

}
function qn(e, t, r, n, i, a, s, o, f) {
function qn(e, r, t, n, i, a, s, o, f) {
var c = m();
try {
return b(e)(t, r, n, i, a, s, o, f);
return b(e)(r, t, n, i, a, s, o, f);
} catch (d) {

@@ -1644,6 +1637,6 @@ if (w(c), d !== d + 0)

}
function Jn(e, t, r, n, i, a, s, o, f) {
function Jn(e, r, t, n, i, a, s, o, f) {
var c = m();
try {
b(e)(t, r, n, i, a, s, o, f);
b(e)(r, t, n, i, a, s, o, f);
} catch (d) {

@@ -1655,6 +1648,6 @@ if (w(c), d !== d + 0)

}
function Kn(e, t, r, n, i, a, s) {
function Kn(e, r, t, n, i, a, s) {
var o = m();
try {
b(e)(t, r, n, i, a, s);
b(e)(r, t, n, i, a, s);
} catch (f) {

@@ -1666,6 +1659,6 @@ if (w(o), f !== f + 0)

}
function Qn(e, t, r, n) {
function Qn(e, r, t, n) {
var i = m();
try {
return b(e)(t, r, n);
return b(e)(r, t, n);
} catch (a) {

@@ -1677,6 +1670,6 @@ if (w(i), a !== a + 0)

}
function ei(e, t, r, n, i, a, s, o, f, c, d, p) {
function ei(e, r, t, n, i, a, s, o, f, c, d, p) {
var h = m();
try {
return b(e)(t, r, n, i, a, s, o, f, c, d, p);
return b(e)(r, t, n, i, a, s, o, f, c, d, p);
} catch (g) {

@@ -1688,8 +1681,8 @@ if (w(h), g !== g + 0)

}
function ti(e, t, r, n, i, a, s, o, f, c, d, p, h, g, P, E) {
var C = m();
function ri(e, r, t, n, i, a, s, o, f, c, d, p, h, g, C, E) {
var P = m();
try {
b(e)(t, r, n, i, a, s, o, f, c, d, p, h, g, P, E);
b(e)(r, t, n, i, a, s, o, f, c, d, p, h, g, C, E);
} catch (S) {
if (w(C), S !== S + 0)
if (w(P), S !== S + 0)
throw S;

@@ -1699,6 +1692,6 @@ _(1, 0);

}
function ri(e, t, r, n) {
function ti(e, r, t, n) {
var i = m();
try {
return St(e, t, r, n);
return Sr(e, r, t, n);
} catch (a) {

@@ -1710,6 +1703,6 @@ if (w(i), a !== a + 0)

}
function ni(e, t, r, n, i) {
function ni(e, r, t, n, i) {
var a = m();
try {
return Rt(e, t, r, n, i);
return Rr(e, r, t, n, i);
} catch (s) {

@@ -1721,11 +1714,11 @@ if (w(a), s !== s + 0)

}
var Ae;
re = function e() {
Ae || Dt(), Ae || (re = e);
var Te;
te = function e() {
Te || Dr(), Te || (te = e);
};
function Dt() {
if (B > 0 || (Wt(), B > 0))
function Dr() {
if (B > 0 || (Wr(), B > 0))
return;
function e() {
Ae || (Ae = !0, u.calledRun = !0, !ze && (Ut(), G(u), u.onRuntimeInitialized && u.onRuntimeInitialized(), Ht()));
Te || (Te = !0, u.calledRun = !0, !ze && (Ur(), G(u), u.onRuntimeInitialized && u.onRuntimeInitialized(), Hr()));
}

@@ -1741,3 +1734,3 @@ u.setStatus ? (u.setStatus("Running..."), setTimeout(function() {

u.preInit.pop()();
return Dt(), N.ready;
return Dr(), N.ready;
};

@@ -1744,0 +1737,0 @@ })();

@@ -1,45 +0,45 @@

import { g as vn, w as gn, c as L } from "../core-d57ac805.js";
import { Z as Pn, b as Cn, d as Tn, p as $n, s as An } from "../core-d57ac805.js";
import { g as vn, w as gn, c as L } from "../core-8cd818a8.js";
import { Z as $n, b as Pn, d as Cn, p as Tn, s as An } from "../core-8cd818a8.js";
var gt = (() => {
var N = import.meta.url;
return function(q = {}) {
var o = typeof q < "u" ? q : {}, ae, Z;
o.ready = new Promise(function(e, t) {
var s = typeof q < "u" ? q : {}, ae, Z;
s.ready = new Promise((e, t) => {
ae = e, Z = t;
});
var oe = Object.assign({}, o), se = typeof window == "object", ue = typeof importScripts == "function";
var oe = Object.assign({}, s), se = typeof window == "object", ue = typeof importScripts == "function";
typeof process == "object" && typeof process.versions == "object" && process.versions.node;
var F = "";
function yt(e) {
return o.locateFile ? o.locateFile(e, F) : F + e;
return s.locateFile ? s.locateFile(e, F) : F + e;
}
var Ce;
(se || ue) && (ue ? F = self.location.href : typeof document < "u" && document.currentScript && (F = document.currentScript.src), N && (F = N), F.indexOf("blob:") !== 0 ? F = F.substr(0, F.replace(/[?#].*/, "").lastIndexOf("/") + 1) : F = "", ue && (Ce = (e) => {
var Pe;
(se || ue) && (ue ? F = self.location.href : typeof document < "u" && document.currentScript && (F = document.currentScript.src), N && (F = N), F.indexOf("blob:") !== 0 ? F = F.substr(0, F.replace(/[?#].*/, "").lastIndexOf("/") + 1) : F = "", ue && (Pe = (e) => {
var t = new XMLHttpRequest();
return t.open("GET", e, !1), t.responseType = "arraybuffer", t.send(null), new Uint8Array(t.response);
})), o.print || console.log.bind(console);
var G = o.printErr || console.warn.bind(console);
Object.assign(o, oe), oe = null, o.arguments && o.arguments, o.thisProgram && o.thisProgram, o.quit && o.quit;
})), s.print || console.log.bind(console);
var G = s.printErr || console.warn.bind(console);
Object.assign(s, oe), oe = null, s.arguments && s.arguments, s.thisProgram && s.thisProgram, s.quit && s.quit;
var K;
o.wasmBinary && (K = o.wasmBinary), o.noExitRuntime, typeof WebAssembly != "object" && J("no native wasm support detected");
s.wasmBinary && (K = s.wasmBinary), s.noExitRuntime, typeof WebAssembly != "object" && J("no native wasm support detected");
var fe, Ue = !1, I, C, X, ce, j, g, We, Ie;
function je() {
var e = fe.buffer;
o.HEAP8 = I = new Int8Array(e), o.HEAP16 = X = new Int16Array(e), o.HEAP32 = j = new Int32Array(e), o.HEAPU8 = C = new Uint8Array(e), o.HEAPU16 = ce = new Uint16Array(e), o.HEAPU32 = g = new Uint32Array(e), o.HEAPF32 = We = new Float32Array(e), o.HEAPF64 = Ie = new Float64Array(e);
s.HEAP8 = I = new Int8Array(e), s.HEAP16 = X = new Int16Array(e), s.HEAP32 = j = new Int32Array(e), s.HEAPU8 = C = new Uint8Array(e), s.HEAPU16 = ce = new Uint16Array(e), s.HEAPU32 = g = new Uint32Array(e), s.HEAPF32 = We = new Float32Array(e), s.HEAPF64 = Ie = new Float64Array(e);
}
var He, xe = [], Me = [], Ve = [];
function _t() {
if (o.preRun)
for (typeof o.preRun == "function" && (o.preRun = [o.preRun]); o.preRun.length; )
bt(o.preRun.shift());
Te(xe);
if (s.preRun)
for (typeof s.preRun == "function" && (s.preRun = [s.preRun]); s.preRun.length; )
bt(s.preRun.shift());
Ce(xe);
}
function mt() {
Te(Me);
Ce(Me);
}
function wt() {
if (o.postRun)
for (typeof o.postRun == "function" && (o.postRun = [o.postRun]); o.postRun.length; )
Ct(o.postRun.shift());
Te(Ve);
if (s.postRun)
for (typeof s.postRun == "function" && (s.postRun = [s.postRun]); s.postRun.length; )
Pt(s.postRun.shift());
Ce(Ve);
}

@@ -49,14 +49,14 @@ function bt(e) {

}
function Pt(e) {
function $t(e) {
Me.unshift(e);
}
function Ct(e) {
function Pt(e) {
Ve.unshift(e);
}
var H = 0, Q = null;
function Ct(e) {
H++, s.monitorRunDependencies && s.monitorRunDependencies(H);
}
function Tt(e) {
H++, o.monitorRunDependencies && o.monitorRunDependencies(H);
}
function $t(e) {
if (H--, o.monitorRunDependencies && o.monitorRunDependencies(H), H == 0 && Q) {
if (H--, s.monitorRunDependencies && s.monitorRunDependencies(H), H == 0 && Q) {
var t = Q;

@@ -67,3 +67,3 @@ Q = null, t();

function J(e) {
o.onAbort && o.onAbort(e), e = "Aborted(" + e + ")", G(e), Ue = !0, e += ". Build with -sASSERTIONS for more info.";
s.onAbort && s.onAbort(e), e = "Aborted(" + e + ")", G(e), Ue = !0, e += ". Build with -sASSERTIONS for more info.";
var t = new WebAssembly.RuntimeError(e);

@@ -77,3 +77,3 @@ throw Z(t), t;

var x;
o.locateFile ? (x = "zxing_writer.wasm", Be(x) || (x = yt(x))) : x = new URL("/writer/zxing_writer.wasm", self.location).href;
s.locateFile ? (x = "zxing_writer.wasm", Be(x) || (x = yt(x))) : x = new URL("/writer/zxing_writer.wasm", self.location).href;
function Le(e) {

@@ -83,4 +83,4 @@ try {

return new Uint8Array(K);
if (Ce)
return Ce(e);
if (Pe)
return Pe(e);
throw "both async and sync fetching of the wasm failed";

@@ -92,18 +92,10 @@ } catch (t) {

function Rt(e) {
return !K && (se || ue) && typeof fetch == "function" ? fetch(e, { credentials: "same-origin" }).then(function(t) {
return !K && (se || ue) && typeof fetch == "function" ? fetch(e, { credentials: "same-origin" }).then((t) => {
if (!t.ok)
throw "failed to load wasm binary file at '" + e + "'";
return t.arrayBuffer();
}).catch(function() {
return Le(e);
}) : Promise.resolve().then(function() {
return Le(e);
});
}).catch(() => Le(e)) : Promise.resolve().then(() => Le(e));
}
function Ne(e, t, r) {
return Rt(e).then(function(n) {
return WebAssembly.instantiate(n, t);
}).then(function(n) {
return n;
}).then(r, function(n) {
return Rt(e).then((n) => WebAssembly.instantiate(n, t)).then((n) => n).then(r, (n) => {
G("failed to asynchronously prepare wasm: " + n), J(n);

@@ -113,3 +105,3 @@ });

function Ft(e, t, r, n) {
return !e && typeof WebAssembly.instantiateStreaming == "function" && !Be(t) && typeof fetch == "function" ? fetch(t, { credentials: "same-origin" }).then(function(i) {
return !e && typeof WebAssembly.instantiateStreaming == "function" && !Be(t) && typeof fetch == "function" ? fetch(t, { credentials: "same-origin" }).then((i) => {
var a = WebAssembly.instantiateStreaming(i, r);

@@ -125,11 +117,11 @@ return a.then(n, function(u) {

var a = n.exports;
return o.asm = a, fe = o.asm.P, je(), He = o.asm.T, Pt(o.asm.Q), $t(), a;
return s.asm = a, fe = s.asm.P, je(), He = s.asm.T, $t(s.asm.Q), Tt(), a;
}
Tt();
Ct();
function r(n) {
t(n.instance);
}
if (o.instantiateWasm)
if (s.instantiateWasm)
try {
return o.instantiateWasm(e, t);
return s.instantiateWasm(e, t);
} catch (n) {

@@ -140,9 +132,9 @@ G("Module.instantiateWasm callback failed with error: " + n), Z(n);

}
function Te(e) {
function Ce(e) {
for (; e.length > 0; )
e.shift()(o);
e.shift()(s);
}
var le = [];
function kt(e) {
var t = new $e(e);
var t = new Te(e);
return t.get_caught() || t.set_caught(!0), t.set_rethrown(!1), le.push(t), ct(t.excPtr), t.get_exception_ptr();

@@ -156,3 +148,3 @@ }

}
function $e(e) {
function Te(e) {
this.excPtr = e, this.ptr = e - 24, this.set_type = function(t) {

@@ -195,3 +187,3 @@ g[this.ptr + 4 >> 2] = t;

return ie(0), 0;
var t = new $e(e);
var t = new Te(e);
t.set_adjusted_ptr(e);

@@ -219,3 +211,3 @@ var r = t.get_type();

function jt(e, t, r) {
var n = new $e(e);
var n = new Te(e);
throw n.init(t, r), k = e, k;

@@ -283,7 +275,7 @@ }

function he(e, t, r) {
e.forEach(function(s) {
de[s] = t;
e.forEach(function(o) {
de[o] = t;
});
function n(s) {
var f = r(s);
function n(o) {
var f = r(o);
f.length !== e.length && pe("Mismatched type converter count");

@@ -294,5 +286,5 @@ for (var c = 0; c < e.length; ++c)

var i = new Array(t.length), a = [], u = 0;
t.forEach((s, f) => {
M.hasOwnProperty(s) ? i[f] = M[s] : (a.push(s), z.hasOwnProperty(s) || (z[s] = []), z[s].push(() => {
i[f] = M[s], ++u, u === a.length && n(i);
t.forEach((o, f) => {
M.hasOwnProperty(o) ? i[f] = M[o] : (a.push(o), z.hasOwnProperty(o) || (z[o] = []), z[o].push(() => {
i[f] = M[o], ++u, u === a.length && n(i);
}));

@@ -305,6 +297,6 @@ }), a.length === 0 && n(i);

var n = t.name;
if (e || d('type "' + n + '" must have a positive integer typeid pointer'), M.hasOwnProperty(e)) {
if (e || d(`type "${n}" must have a positive integer typeid pointer`), M.hasOwnProperty(e)) {
if (r.ignoreDuplicateRegistrations)
return;
d("Cannot register type '" + n + "' twice");
d(`Cannot register type '${n}' twice`);
}

@@ -320,15 +312,15 @@ if (M[e] = t, delete de[e], z.hasOwnProperty(e)) {

return !!u;
}, toWireType: function(u, s) {
return s ? n : i;
}, toWireType: function(u, o) {
return o ? n : i;
}, argPackAdvance: 8, readValueFromPointer: function(u) {
var s;
var o;
if (r === 1)
s = I;
o = I;
else if (r === 2)
s = X;
o = X;
else if (r === 4)
s = j;
o = j;
else
throw new TypeError("Unknown boolean type size: " + t);
return this.fromWireType(s[u >> a]);
return this.fromWireType(o[u >> a]);
}, destructorFunction: null });

@@ -395,3 +387,3 @@ }

function Gt() {
o.getInheritedInstanceCount = Xt, o.getLiveInheritedInstances = zt, o.flushPendingDeletes = Se, o.setDelayFunction = qt;
s.getInheritedInstanceCount = Xt, s.getLiveInheritedInstances = zt, s.flushPendingDeletes = Se, s.setDelayFunction = qt;
}

@@ -429,6 +421,6 @@ var re = {};

return i.call(this);
var s;
this.isConst ? s = u.constPointerType : s = u.pointerType;
var f = Qe(t, this.registeredClass, s.registeredClass);
return f === null ? i.call(this) : this.isSmartPointer ? ve(s.registeredClass.instancePrototype, { ptrType: s, ptr: f, smartPtrType: this, smartPtr: e }) : ve(s.registeredClass.instancePrototype, { ptrType: s, ptr: f });
var o;
this.isConst ? o = u.constPointerType : o = u.pointerType;
var f = Qe(t, this.registeredClass, o.registeredClass);
return f === null ? i.call(this) : this.isSmartPointer ? ve(o.registeredClass.instancePrototype, { ptrType: o, ptr: f, smartPtrType: this, smartPtr: e }) : ve(o.registeredClass.instancePrototype, { ptrType: o, ptr: f });
}

@@ -471,3 +463,3 @@ function ne(e) {

e[t] = function() {
return e[t].overloadTable.hasOwnProperty(arguments.length) || d("Function '" + r + "' called with an invalid number of arguments (" + arguments.length + ") - expects one of (" + e[t].overloadTable + ")!"), e[t].overloadTable[arguments.length].apply(this, arguments);
return e[t].overloadTable.hasOwnProperty(arguments.length) || d(`Function '${r}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`), e[t].overloadTable[arguments.length].apply(this, arguments);
}, e[t].overloadTable = [], e[t].overloadTable[n.argCount] = n;

@@ -477,10 +469,10 @@ }

function Ye(e, t, r) {
o.hasOwnProperty(e) ? ((r === void 0 || o[e].overloadTable !== void 0 && o[e].overloadTable[r] !== void 0) && d("Cannot register public name '" + e + "' twice"), ir(o, e, e), o.hasOwnProperty(r) && d("Cannot register multiple overloads of a function with the same number of arguments (" + r + ")!"), o[e].overloadTable[r] = t) : (o[e] = t, r !== void 0 && (o[e].numArguments = r));
s.hasOwnProperty(e) ? ((r === void 0 || s[e].overloadTable !== void 0 && s[e].overloadTable[r] !== void 0) && d(`Cannot register public name '${e}' twice`), ir(s, e, e), s.hasOwnProperty(r) && d(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`), s[e].overloadTable[r] = t) : (s[e] = t, r !== void 0 && (s[e].numArguments = r));
}
function ar(e, t, r, n, i, a, u, s) {
this.name = e, this.constructor = t, this.instancePrototype = r, this.rawDestructor = n, this.baseClass = i, this.getActualType = a, this.upcast = u, this.downcast = s, this.pureVirtualFunctions = [];
function ar(e, t, r, n, i, a, u, o) {
this.name = e, this.constructor = t, this.instancePrototype = r, this.rawDestructor = n, this.baseClass = i, this.getActualType = a, this.upcast = u, this.downcast = o, this.pureVirtualFunctions = [];
}
function ge(e, t, r) {
for (; t !== r; )
t.upcast || d("Expected null or instance of " + r.name + ", got an instance of " + t.name), e = t.upcast(e), t = t.baseClass;
t.upcast || d(`Expected null or instance of ${r.name}, got an instance of ${t.name}`), e = t.upcast(e), t = t.baseClass;
return e;

@@ -491,3 +483,3 @@ }

return this.isReference && d("null is not a valid " + this.name), 0;
t.$$ || d('Cannot pass "' + Oe(t) + '" as a ' + this.name), t.$$.ptr || d("Cannot pass deleted object as a pointer of type " + this.name);
t.$$ || d(`Cannot pass "${Oe(t)}" as a ${this.name}`), t.$$.ptr || d("Cannot pass deleted object as a pointer of type " + this.name);
var r = t.$$.ptrType.registeredClass, n = ge(t.$$.ptr, r, this.registeredClass);

@@ -500,3 +492,3 @@ return n;

return this.isReference && d("null is not a valid " + this.name), this.isSmartPointer ? (r = this.rawConstructor(), e !== null && e.push(this.rawDestructor, r), r) : 0;
t.$$ || d('Cannot pass "' + Oe(t) + '" as a ' + this.name), t.$$.ptr || d("Cannot pass deleted object as a pointer of type " + this.name), !this.isConst && t.$$.ptrType.isConst && d("Cannot convert argument of type " + (t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name) + " to parameter type " + this.name);
t.$$ || d(`Cannot pass "${Oe(t)}" as a ${this.name}`), t.$$.ptr || d(`Cannot pass deleted object as a pointer of type ${this.name}`), !this.isConst && t.$$.ptrType.isConst && d(`Cannot convert argument of type ${t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name} to parameter type ${this.name}`);
var n = t.$$.ptrType.registeredClass;

@@ -506,3 +498,3 @@ if (r = ge(t.$$.ptr, n, this.registeredClass), this.isSmartPointer)

case 0:
t.$$.smartPtrType === this ? r = t.$$.smartPtr : d("Cannot convert argument of type " + (t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name) + " to parameter type " + this.name);
t.$$.smartPtrType === this ? r = t.$$.smartPtr : d(`Cannot convert argument of type ${t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name} to parameter type ${this.name}`);
break;

@@ -530,3 +522,3 @@ case 1:

return this.isReference && d("null is not a valid " + this.name), 0;
t.$$ || d('Cannot pass "' + Oe(t) + '" as a ' + this.name), t.$$.ptr || d("Cannot pass deleted object as a pointer of type " + this.name), t.$$.ptrType.isConst && d("Cannot convert argument of type " + t.$$.ptrType.name + " to parameter type " + this.name);
t.$$ || d(`Cannot pass "${Oe(t)}" as a ${this.name}`), t.$$.ptr || d(`Cannot pass deleted object as a pointer of type ${this.name}`), t.$$.ptrType.isConst && d(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);
var r = t.$$.ptrType.registeredClass, n = ge(t.$$.ptr, r, this.registeredClass);

@@ -550,10 +542,10 @@ return n;

}
function O(e, t, r, n, i, a, u, s, f, c, l) {
this.name = e, this.registeredClass = t, this.isReference = r, this.isConst = n, this.isSmartPointer = i, this.pointeeType = a, this.sharingPolicy = u, this.rawGetPointee = s, this.rawConstructor = f, this.rawShare = c, this.rawDestructor = l, !i && t.baseClass === void 0 ? n ? (this.toWireType = or, this.destructorFunction = null) : (this.toWireType = ur, this.destructorFunction = null) : this.toWireType = sr;
function O(e, t, r, n, i, a, u, o, f, c, l) {
this.name = e, this.registeredClass = t, this.isReference = r, this.isConst = n, this.isSmartPointer = i, this.pointeeType = a, this.sharingPolicy = u, this.rawGetPointee = o, this.rawConstructor = f, this.rawShare = c, this.rawDestructor = l, !i && t.baseClass === void 0 ? n ? (this.toWireType = or, this.destructorFunction = null) : (this.toWireType = ur, this.destructorFunction = null) : this.toWireType = sr;
}
function et(e, t, r) {
o.hasOwnProperty(e) || pe("Replacing nonexistant public symbol"), o[e].overloadTable !== void 0 && r !== void 0 ? o[e].overloadTable[r] = t : (o[e] = t, o[e].argCount = r);
s.hasOwnProperty(e) || pe("Replacing nonexistant public symbol"), s[e].overloadTable !== void 0 && r !== void 0 ? s[e].overloadTable[r] = t : (s[e] = t, s[e].argCount = r);
}
function pr(e, t, r) {
var n = o["dynCall_" + e];
var n = s["dynCall_" + e];
return r && r.length ? n.apply(null, [t].concat(r)) : n.call(null, t);

@@ -584,3 +576,3 @@ }

var n = r();
return typeof n != "function" && d("unknown function pointer with signature " + e + ": " + t), n;
return typeof n != "function" && d(`unknown function pointer with signature ${e}: ${t}`), n;
}

@@ -605,24 +597,26 @@ var tt = void 0;

}
function gr(e, t, r, n, i, a, u, s, f, c, l, p, h) {
l = T(l), a = V(i, a), s && (s = V(u, s)), c && (c = V(f, c)), h = V(p, h);
function gr(e, t, r, n, i, a, u, o, f, c, l, p, h) {
l = T(l), a = V(i, a), o && (o = V(u, o)), c && (c = V(f, c)), h = V(p, h);
var v = Xe(l);
Ye(v, function() {
me("Cannot construct " + l + " due to unbound types", [n]);
me(`Cannot construct ${l} due to unbound types`, [n]);
}), he([e, t, r], n ? [n] : [], function(P) {
P = P[0];
var A, b;
n ? (A = P.registeredClass, b = A.instancePrototype) : b = U.prototype;
var R, $;
n ? (R = P.registeredClass, $ = R.instancePrototype) : $ = U.prototype;
var E = ze(v, function() {
if (Object.getPrototypeOf(this) !== B)
throw new Y("Use 'new' to construct " + l);
if (R.constructor_body === void 0)
if (m.constructor_body === void 0)
throw new Y(l + " has no accessible constructor");
var vt = R.constructor_body[arguments.length];
var vt = m.constructor_body[arguments.length];
if (vt === void 0)
throw new Y("Tried to invoke ctor of " + l + " with invalid number of parameters (" + arguments.length + ") - expected (" + Object.keys(R.constructor_body).toString() + ") parameters instead!");
throw new Y(`Tried to invoke ctor of ${l} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(m.constructor_body).toString()}) parameters instead!`);
return vt.apply(this, arguments);
}), B = Object.create(b, { constructor: { value: E } });
}), B = Object.create($, { constructor: { value: E } });
E.prototype = B;
var R = new ar(l, E, B, h, A, a, s, c), W = new O(l, R, !0, !1, !1), Pe = new O(l + "*", R, !1, !1, !1), ht = new O(l + " const*", R, !1, !0, !1);
return Je[e] = { pointerType: Pe, constPointerType: ht }, et(v, E), [W, Pe, ht];
var m = new ar(l, E, B, h, R, a, o, c);
m.baseClass && (m.baseClass.__derivedClasses === void 0 && (m.baseClass.__derivedClasses = []), m.baseClass.__derivedClasses.push(m));
var W = new O(l, m, !0, !1, !1), $e = new O(l + "*", m, !1, !1, !1), ht = new O(l + " const*", m, !1, !0, !1);
return Je[e] = { pointerType: $e, constPointerType: ht }, et(v, E), [W, $e, ht];
});

@@ -637,16 +631,16 @@ }

function it(e, t, r) {
return e instanceof Object || d(r + ' with invalid "this": ' + e), e instanceof t.registeredClass.constructor || d(r + ' incompatible with "this" of type ' + e.constructor.name), e.$$.ptr || d("cannot call emscripten binding method " + r + " on deleted object"), ge(e.$$.ptr, e.$$.ptrType.registeredClass, t.registeredClass);
return e instanceof Object || d(r + ' with invalid "this": ' + e), e instanceof t.registeredClass.constructor || d(r + ' incompatible with "this" of type ' + e.constructor.name), e.$$.ptr || d(`cannot call emscripten binding method ${r} on deleted object`), ge(e.$$.ptr, e.$$.ptrType.registeredClass, t.registeredClass);
}
function yr(e, t, r, n, i, a, u, s, f, c) {
function yr(e, t, r, n, i, a, u, o, f, c) {
t = T(t), i = V(n, i), he([], [e], function(l) {
l = l[0];
var p = l.name + "." + t, h = { get: function() {
me("Cannot access " + p + " due to unbound types", [r, u]);
me(`Cannot access ${p} due to unbound types`, [r, u]);
}, enumerable: !0, configurable: !0 };
return f ? h.set = () => {
me("Cannot access " + p + " due to unbound types", [r, u]);
me(`Cannot access ${p} due to unbound types`, [r, u]);
} : h.set = (v) => {
d(p + " is a read-only property");
}, Object.defineProperty(l.registeredClass.instancePrototype, t, h), he([], f ? [r, u] : [r], function(v) {
var P = v[0], A = { get: function() {
var P = v[0], R = { get: function() {
var E = it(this, l, p + " getter");

@@ -656,10 +650,10 @@ return P.fromWireType(i(a, E));

if (f) {
f = V(s, f);
var b = v[1];
A.set = function(E) {
var B = it(this, l, p + " setter"), R = [];
f(c, B, b.toWireType(R, E)), nt(R);
f = V(o, f);
var $ = v[1];
R.set = function(E) {
var B = it(this, l, p + " setter"), m = [];
f(c, B, $.toWireType(m, E)), nt(m);
};
}
return Object.defineProperty(l.registeredClass.instancePrototype, t, A), [];
return Object.defineProperty(l.registeredClass.instancePrototype, t, R), [];
}), [];

@@ -672,3 +666,3 @@ });

}, this.allocate = function(e) {
let t = this.freelist.pop() || this.allocated.length;
var t = this.freelist.pop() || this.allocated.length;
return this.allocated[t] = e, t;

@@ -679,15 +673,15 @@ }, this.free = function(e) {

}
var $ = new _r();
var A = new _r();
function at(e) {
e >= $.reserved && --$.get(e).refcount === 0 && $.free(e);
e >= A.reserved && --A.get(e).refcount === 0 && A.free(e);
}
function mr() {
for (var e = 0, t = $.reserved; t < $.allocated.length; ++t)
$.allocated[t] !== void 0 && ++e;
for (var e = 0, t = A.reserved; t < A.allocated.length; ++t)
A.allocated[t] !== void 0 && ++e;
return e;
}
function wr() {
$.allocated.push({ value: void 0 }, { value: null }, { value: !0 }, { value: !1 }), $.reserved = $.allocated.length, o.count_emval_handles = mr;
A.allocated.push({ value: void 0 }, { value: null }, { value: !0 }, { value: !1 }), A.reserved = A.allocated.length, s.count_emval_handles = mr;
}
var we = { toValue: (e) => (e || d("Cannot use deleted val. handle = " + e), $.get(e).value), toHandle: (e) => {
var we = { toValue: (e) => (e || d("Cannot use deleted val. handle = " + e), A.get(e).value), toHandle: (e) => {
switch (e) {

@@ -703,3 +697,3 @@ case void 0:

default:
return $.allocate({ refcount: 1, value: e });
return A.allocate({ refcount: 1, value: e });
}

@@ -721,3 +715,3 @@ } };

}
function Pr(e, t) {
function $r(e, t) {
switch (t) {

@@ -736,3 +730,3 @@ case 2:

}
function Cr(e, t, r) {
function Pr(e, t, r) {
var n = Re(r);

@@ -743,8 +737,8 @@ t = T(t), S(e, { name: t, fromWireType: function(i) {

return a;
}, argPackAdvance: 8, readValueFromPointer: Pr(t, n), destructorFunction: null });
}, argPackAdvance: 8, readValueFromPointer: $r(t, n), destructorFunction: null });
}
function Tr(e, t, r, n, i, a) {
function Cr(e, t, r, n, i, a) {
var u = t.length;
u < 2 && d("argTypes array size mismatch! Must at least get return value and 'this' types!");
for (var s = t[1] !== null && r !== null, f = !1, c = 1; c < t.length; ++c)
for (var o = t[1] !== null && r !== null, f = !1, c = 1; c < t.length; ++c)
if (t[c] !== null && t[c].destructorFunction === void 0) {

@@ -756,18 +750,18 @@ f = !0;

return function() {
arguments.length !== p && d("function " + e + " called with " + arguments.length + " arguments, expected " + p + " args!"), P.length = 0;
var A;
v.length = s ? 2 : 1, v[0] = i, s && (A = t[1].toWireType(P, this), v[1] = A);
for (var b = 0; b < p; ++b)
h[b] = t[b + 2].toWireType(P, arguments[b]), v.push(h[b]);
arguments.length !== p && d(`function ${e} called with ${arguments.length} arguments, expected ${p} args!`), P.length = 0;
var R;
v.length = o ? 2 : 1, v[0] = i, o && (R = t[1].toWireType(P, this), v[1] = R);
for (var $ = 0; $ < p; ++$)
h[$] = t[$ + 2].toWireType(P, arguments[$]), v.push(h[$]);
var E = n.apply(null, v);
function B(R) {
function B(m) {
if (f)
nt(P);
else
for (var W = s ? 1 : 2; W < t.length; W++) {
var Pe = W === 1 ? A : h[W - 2];
t[W].destructorFunction !== null && t[W].destructorFunction(Pe);
for (var W = o ? 1 : 2; W < t.length; W++) {
var $e = W === 1 ? R : h[W - 2];
t[W].destructorFunction !== null && t[W].destructorFunction($e);
}
if (l)
return t[0].fromWireType(R);
return t[0].fromWireType(m);
}

@@ -777,3 +771,3 @@ return B(E);

}
function $r(e, t) {
function Tr(e, t) {
for (var r = [], n = 0; n < e; n++)

@@ -784,8 +778,8 @@ r.push(g[t + n * 4 >> 2]);

function Ar(e, t, r, n, i, a, u) {
var s = $r(t, r);
var o = Tr(t, r);
e = T(e), i = V(n, i), Ye(e, function() {
me("Cannot call " + e + " due to unbound types", s);
}, t - 1), he([], s, function(f) {
me(`Cannot call ${e} due to unbound types`, o);
}, t - 1), he([], o, function(f) {
var c = [f[0], null].concat(f.slice(1));
return et(e, Tr(e, c, null, i, a), t - 1), [];
return et(e, Cr(e, c, null, i, a), t - 1), [];
});

@@ -821,4 +815,4 @@ }

if (n === 0) {
var s = 32 - 8 * r;
u = (p) => p << s >>> s;
var o = 32 - 8 * r;
u = (p) => p << o >>> o;
}

@@ -837,4 +831,4 @@ var f = t.includes("unsigned"), c = (p, h) => {

u = u >> 2;
var s = g, f = s[u], c = s[u + 1];
return new i(s.buffer, c, f);
var o = g, f = o[u], c = o[u + 1];
return new i(o.buffer, c, f);
}

@@ -847,23 +841,23 @@ r = T(r), S(e, { name: r, fromWireType: a, argPackAdvance: 8, readValueFromPointer: a }, { ignoreDuplicateRegistrations: !0 });

for (var i = r, a = r + n - 1, u = 0; u < e.length; ++u) {
var s = e.charCodeAt(u);
if (s >= 55296 && s <= 57343) {
var o = e.charCodeAt(u);
if (o >= 55296 && o <= 57343) {
var f = e.charCodeAt(++u);
s = 65536 + ((s & 1023) << 10) | f & 1023;
o = 65536 + ((o & 1023) << 10) | f & 1023;
}
if (s <= 127) {
if (o <= 127) {
if (r >= a)
break;
t[r++] = s;
} else if (s <= 2047) {
t[r++] = o;
} else if (o <= 2047) {
if (r + 1 >= a)
break;
t[r++] = 192 | s >> 6, t[r++] = 128 | s & 63;
} else if (s <= 65535) {
t[r++] = 192 | o >> 6, t[r++] = 128 | o & 63;
} else if (o <= 65535) {
if (r + 2 >= a)
break;
t[r++] = 224 | s >> 12, t[r++] = 128 | s >> 6 & 63, t[r++] = 128 | s & 63;
t[r++] = 224 | o >> 12, t[r++] = 128 | o >> 6 & 63, t[r++] = 128 | o & 63;
} else {
if (r + 3 >= a)
break;
t[r++] = 240 | s >> 18, t[r++] = 128 | s >> 12 & 63, t[r++] = 128 | s >> 6 & 63, t[r++] = 128 | s & 63;
t[r++] = 240 | o >> 18, t[r++] = 128 | o >> 12 & 63, t[r++] = 128 | o >> 6 & 63, t[r++] = 128 | o & 63;
}

@@ -895,9 +889,9 @@ }

}
var s = e[t++] & 63;
var o = e[t++] & 63;
if ((u & 224) == 192) {
a += String.fromCharCode((u & 31) << 6 | s);
a += String.fromCharCode((u & 31) << 6 | o);
continue;
}
var f = e[t++] & 63;
if ((u & 240) == 224 ? u = (u & 15) << 12 | s << 6 | f : u = (u & 7) << 18 | s << 12 | f << 6 | e[t++] & 63, u < 65536)
if ((u & 240) == 224 ? u = (u & 15) << 12 | o << 6 | f : u = (u & 7) << 18 | o << 12 | f << 6 | e[t++] & 63, u < 65536)
a += String.fromCharCode(u);

@@ -920,7 +914,7 @@ else {

if (r)
for (var s = a, f = 0; f <= i; ++f) {
for (var o = a, f = 0; f <= i; ++f) {
var c = a + f;
if (f == i || C[c] == 0) {
var l = c - s, p = Ur(s, l);
u === void 0 ? u = p : (u += String.fromCharCode(0), u += p), s = c + 1;
var l = c - o, p = Ur(o, l);
u === void 0 ? u = p : (u += String.fromCharCode(0), u += p), o = c + 1;
}

@@ -938,4 +932,4 @@ }

u || i instanceof Uint8Array || i instanceof Uint8ClampedArray || i instanceof Int8Array || d("Cannot pass non-string to std::string"), r && u ? a = Or(i) : a = i.length;
var s = De(4 + a + 1), f = s + 4;
if (g[s >> 2] = a, r && u)
var o = De(4 + a + 1), f = o + 4;
if (g[o >> 2] = a, r && u)
Sr(i, f, a + 1);

@@ -950,3 +944,3 @@ else if (u)

C[f + c] = i[c];
return n !== null && n.push(D, s), s;
return n !== null && n.push(D, o), o;
}, argPackAdvance: 8, readValueFromPointer: ye, destructorFunction: function(n) {

@@ -963,6 +957,6 @@ D(n);

for (var a = "", u = 0; !(u >= t / 2); ++u) {
var s = X[e + u * 2 >> 1];
if (s == 0)
var o = X[e + u * 2 >> 1];
if (o == 0)
break;
a += String.fromCharCode(s);
a += String.fromCharCode(o);
}

@@ -1003,4 +997,4 @@ return a;

if (u >= 55296 && u <= 57343) {
var s = e.charCodeAt(++a);
u = 65536 + ((u & 1023) << 10) | s & 1023;
var o = e.charCodeAt(++a);
u = 65536 + ((u & 1023) << 10) | o & 1023;
}

@@ -1021,9 +1015,9 @@ if (j[t >> 2] = u, t += 4, t + 4 > i)

r = T(r);
var n, i, a, u, s;
t === 2 ? (n = Ir, i = jr, u = Hr, a = () => ce, s = 1) : t === 4 && (n = xr, i = Mr, u = Vr, a = () => g, s = 2), S(e, { name: r, fromWireType: function(f) {
var n, i, a, u, o;
t === 2 ? (n = Ir, i = jr, u = Hr, a = () => ce, o = 1) : t === 4 && (n = xr, i = Mr, u = Vr, a = () => g, o = 2), S(e, { name: r, fromWireType: function(f) {
for (var c = g[f >> 2], l = a(), p, h = f + 4, v = 0; v <= c; ++v) {
var P = f + 4 + v * t;
if (v == c || l[P >> s] == 0) {
var A = P - h, b = n(h, A);
p === void 0 ? p = b : (p += String.fromCharCode(0), p += b), h = P + t;
if (v == c || l[P >> o] == 0) {
var R = P - h, $ = n(h, R);
p === void 0 ? p = $ : (p += String.fromCharCode(0), p += $), h = P + t;
}

@@ -1035,3 +1029,3 @@ }

var l = u(c), p = De(4 + l + t);
return g[p >> 2] = l >> s, i(c, p + 4, l + t), f !== null && f.push(D, p), p;
return g[p >> 2] = l >> o, i(c, p + 4, l + t), f !== null && f.push(D, p), p;
}, argPackAdvance: 8, readValueFromPointer: ye, destructorFunction: function(f) {

@@ -1047,3 +1041,3 @@ D(f);

function Nr(e) {
e > 4 && ($.get(e).refcount += 1);
e > 4 && (A.get(e).refcount += 1);
}

@@ -1081,8 +1075,7 @@ function Zr(e, t) {

return !1;
let n = (f, c) => f + (c - f % c) % c;
for (var i = 1; i <= 4; i *= 2) {
for (var n = (f, c) => f + (c - f % c) % c, i = 1; i <= 4; i *= 2) {
var a = t * (1 + 0.2 / i);
a = Math.min(a, e + 100663296);
var u = Math.min(r, n(Math.max(e, a), 65536)), s = Kr(u);
if (s)
var u = Math.min(r, n(Math.max(e, a), 65536)), o = Kr(u);
if (o)
return !0;

@@ -1095,38 +1088,38 @@ }

}
xt(), Y = o.BindingError = Fe(Error, "BindingError"), qe = o.InternalError = Fe(Error, "InternalError"), nr(), Gt(), dr(), tt = o.UnboundTypeError = Fe(Error, "UnboundTypeError"), wr();
var Yr = { r: kt, u: St, a: Dt, l: Ut, t: Wt, I: It, m: jt, f: Ot, B: Ht, F: Bt, O: gr, z: yr, E: br, y: Cr, N: Ar, q: Fr, p: Er, x: Wr, v: Br, G: Lr, K: at, L: Nr, M: Xr, w: zr, D: qr, C: Qr, s: pn, b: en, c: an, i: cn, j: hn, h: ln, H: dn, k: on, d: sn, g: fn, e: tn, o: nn, n: rn, J: un, A: Jr };
xt(), Y = s.BindingError = Fe(Error, "BindingError"), qe = s.InternalError = Fe(Error, "InternalError"), nr(), Gt(), dr(), tt = s.UnboundTypeError = Fe(Error, "UnboundTypeError"), wr();
var Yr = { r: kt, u: St, a: Dt, l: Ut, t: Wt, I: It, m: jt, f: Ot, B: Ht, F: Bt, O: gr, z: yr, E: br, y: Pr, N: Ar, q: Fr, p: Er, x: Wr, v: Br, G: Lr, K: at, L: Nr, M: Xr, w: zr, D: qr, C: Qr, s: pn, b: en, c: an, i: cn, j: hn, h: ln, H: dn, k: on, d: sn, g: fn, e: tn, o: nn, n: rn, J: un, A: Jr };
Et();
var De = o._malloc = function() {
return (De = o._malloc = o.asm.R).apply(null, arguments);
}, D = o._free = function() {
return (D = o._free = o.asm.S).apply(null, arguments);
}, ut = o.___getTypeName = function() {
return (ut = o.___getTypeName = o.asm.U).apply(null, arguments);
var De = s._malloc = function() {
return (De = s._malloc = s.asm.R).apply(null, arguments);
}, D = s._free = function() {
return (D = s._free = s.asm.S).apply(null, arguments);
}, ut = function() {
return (ut = s.asm.U).apply(null, arguments);
};
o.__embind_initialize_bindings = function() {
return (o.__embind_initialize_bindings = o.asm.V).apply(null, arguments);
s.__embind_initialize_bindings = function() {
return (s.__embind_initialize_bindings = s.asm.V).apply(null, arguments);
};
var _ = function() {
return (_ = o.asm.W).apply(null, arguments);
return (_ = s.asm.W).apply(null, arguments);
}, ie = function() {
return (ie = o.asm.X).apply(null, arguments);
}, m = function() {
return (m = o.asm.Y).apply(null, arguments);
return (ie = s.asm.X).apply(null, arguments);
}, w = function() {
return (w = o.asm.Z).apply(null, arguments);
return (w = s.asm.Y).apply(null, arguments);
}, b = function() {
return (b = s.asm.Z).apply(null, arguments);
}, ft = function() {
return (ft = o.asm._).apply(null, arguments);
return (ft = s.asm._).apply(null, arguments);
}, ct = function() {
return (ct = o.asm.$).apply(null, arguments);
return (ct = s.asm.$).apply(null, arguments);
}, lt = function() {
return (lt = o.asm.aa).apply(null, arguments);
return (lt = s.asm.aa).apply(null, arguments);
}, dt = function() {
return (dt = o.asm.ba).apply(null, arguments);
return (dt = s.asm.ba).apply(null, arguments);
};
function en(e, t) {
var r = m();
var r = w();
try {
return y(e)(t);
} catch (n) {
if (w(r), n !== n + 0)
if (b(r), n !== n + 0)
throw n;

@@ -1137,7 +1130,7 @@ _(1, 0);

function tn(e, t, r, n) {
var i = m();
var i = w();
try {
y(e)(t, r, n);
} catch (a) {
if (w(i), a !== a + 0)
if (b(i), a !== a + 0)
throw a;

@@ -1148,8 +1141,8 @@ _(1, 0);

function rn(e, t, r, n, i, a) {
var u = m();
var u = w();
try {
y(e)(t, r, n, i, a);
} catch (s) {
if (w(u), s !== s + 0)
throw s;
} catch (o) {
if (b(u), o !== o + 0)
throw o;
_(1, 0);

@@ -1159,7 +1152,7 @@ }

function nn(e, t, r, n, i) {
var a = m();
var a = w();
try {
y(e)(t, r, n, i);
} catch (u) {
if (w(a), u !== u + 0)
if (b(a), u !== u + 0)
throw u;

@@ -1170,7 +1163,7 @@ _(1, 0);

function an(e, t, r) {
var n = m();
var n = w();
try {
return y(e)(t, r);
} catch (i) {
if (w(n), i !== i + 0)
if (b(n), i !== i + 0)
throw i;

@@ -1181,7 +1174,7 @@ _(1, 0);

function on(e) {
var t = m();
var t = w();
try {
y(e)();
} catch (r) {
if (w(t), r !== r + 0)
if (b(t), r !== r + 0)
throw r;

@@ -1192,7 +1185,7 @@ _(1, 0);

function sn(e, t) {
var r = m();
var r = w();
try {
y(e)(t);
} catch (n) {
if (w(r), n !== n + 0)
if (b(r), n !== n + 0)
throw n;

@@ -1202,8 +1195,8 @@ _(1, 0);

}
function un(e, t, r, n, i, a, u, s, f) {
var c = m();
function un(e, t, r, n, i, a, u, o, f) {
var c = w();
try {
y(e)(t, r, n, i, a, u, s, f);
y(e)(t, r, n, i, a, u, o, f);
} catch (l) {
if (w(c), l !== l + 0)
if (b(c), l !== l + 0)
throw l;

@@ -1214,7 +1207,7 @@ _(1, 0);

function fn(e, t, r) {
var n = m();
var n = w();
try {
y(e)(t, r);
} catch (i) {
if (w(n), i !== i + 0)
if (b(n), i !== i + 0)
throw i;

@@ -1225,7 +1218,7 @@ _(1, 0);

function cn(e, t, r, n) {
var i = m();
var i = w();
try {
return y(e)(t, r, n);
} catch (a) {
if (w(i), a !== a + 0)
if (b(i), a !== a + 0)
throw a;

@@ -1236,8 +1229,8 @@ _(1, 0);

function ln(e, t, r, n, i, a) {
var u = m();
var u = w();
try {
return y(e)(t, r, n, i, a);
} catch (s) {
if (w(u), s !== s + 0)
throw s;
} catch (o) {
if (b(u), o !== o + 0)
throw o;
_(1, 0);

@@ -1247,7 +1240,7 @@ }

function dn(e, t, r, n, i, a, u) {
var s = m();
var o = w();
try {
return y(e)(t, r, n, i, a, u);
} catch (f) {
if (w(s), f !== f + 0)
if (b(o), f !== f + 0)
throw f;

@@ -1258,7 +1251,7 @@ _(1, 0);

function pn(e) {
var t = m();
var t = w();
try {
return y(e)();
} catch (r) {
if (w(t), r !== r + 0)
if (b(t), r !== r + 0)
throw r;

@@ -1269,7 +1262,7 @@ _(1, 0);

function hn(e, t, r, n, i) {
var a = m();
var a = w();
try {
return y(e)(t, r, n, i);
} catch (u) {
if (w(a), u !== u + 0)
if (b(a), u !== u + 0)
throw u;

@@ -1287,13 +1280,13 @@ _(1, 0);

function e() {
be || (be = !0, o.calledRun = !0, !Ue && (mt(), ae(o), o.onRuntimeInitialized && o.onRuntimeInitialized(), wt()));
be || (be = !0, s.calledRun = !0, !Ue && (mt(), ae(s), s.onRuntimeInitialized && s.onRuntimeInitialized(), wt()));
}
o.setStatus ? (o.setStatus("Running..."), setTimeout(function() {
s.setStatus ? (s.setStatus("Running..."), setTimeout(function() {
setTimeout(function() {
o.setStatus("");
s.setStatus("");
}, 1), e();
}, 1)) : e();
}
if (o.preInit)
for (typeof o.preInit == "function" && (o.preInit = [o.preInit]); o.preInit.length > 0; )
o.preInit.pop()();
if (s.preInit)
for (typeof s.preInit == "function" && (s.preInit = [s.preInit]); s.preInit.length > 0; )
s.preInit.pop()();
return pt(), q.ready;

@@ -1307,3 +1300,3 @@ };

format: q = L.format,
charset: o = L.charset,
charset: s = L.charset,
quietZone: ae = L.quietZone,

@@ -1318,3 +1311,3 @@ width: Z = L.width,

format: q,
charset: o,
charset: s,
quietZone: ae,

@@ -1329,10 +1322,10 @@ width: Z,

export {
Pn as ZXING_BARCODE_FORMAT_NAMES,
Cn as ZXING_CHARACTOR_SET_NAMES,
Tn as defaultZXingReadOptions,
$n as ZXING_BARCODE_FORMAT_NAMES,
Pn as ZXING_CHARACTOR_SET_NAMES,
Cn as defaultZXingReadOptions,
L as defaultZXingWriteOptions,
_n as getZXingModule,
$n as purgeZXingModule,
Tn as purgeZXingModule,
An as setZXingModuleOverrides,
mn as writeBarcodeToImageFile
};
{
"name": "@sec-ant/zxing-wasm",
"private": false,
"version": "1.2.2",
"version": "1.2.3",
"type": "module",

@@ -54,3 +54,3 @@ "files": [

"typescript": "^5.0.4",
"vite": "^4.2.2",
"vite": "^4.3.5",
"vite-plugin-dts": "^2.3.0"

@@ -60,4 +60,4 @@ },

"@types/emscripten": "^1.39.6",
"zustand": "^4.3.7"
"zustand": "^4.3.8"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc