Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.1 to 1.2.2

dist/core-d57ac805.js

848

dist/full/index.js

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

import { g as ui, r as fi, d as N, a as ci, w as li, c as q } from "../core-a879f5a9.js";
import { Z as mi, b as wi, p as bi, s as Pi } from "../core-a879f5a9.js";
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";
var De = (() => {

@@ -13,3 +13,3 @@ var W = import.meta.url;

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

@@ -27,40 +27,40 @@ }

var _e, Ze = !1;
function Wt(e, t) {
function jt(e, t) {
e || Q(t);
}
var U, D, K, ge, T, E, Ge, qe;
var U, D, K, ge, S, F, Ge, qe;
function Je() {
var e = _e.buffer;
u.HEAP8 = U = new Int8Array(e), u.HEAP16 = K = new Int16Array(e), u.HEAP32 = T = new Int32Array(e), u.HEAPU8 = D = new Uint8Array(e), u.HEAPU16 = ge = new Uint16Array(e), u.HEAPU32 = E = new Uint32Array(e), u.HEAPF32 = Ge = new Float32Array(e), u.HEAPF64 = qe = new Float64Array(e);
u.HEAP8 = U = new Int8Array(e), u.HEAP16 = K = new Int16Array(e), u.HEAP32 = S = new Int32Array(e), u.HEAPU8 = D = new Uint8Array(e), u.HEAPU16 = ge = new Uint16Array(e), u.HEAPU32 = F = new Uint32Array(e), u.HEAPF32 = Ge = new Float32Array(e), u.HEAPF64 = qe = new Float64Array(e);
}
var Ke, Qe = [], et = [], tt = [];
function jt() {
function Ut() {
if (u.preRun)
for (typeof u.preRun == "function" && (u.preRun = [u.preRun]); u.preRun.length; )
Mt(u.preRun.shift());
It(u.preRun.shift());
Oe(Qe);
}
function Ut() {
function Ht() {
Oe(et);
}
function Ht() {
function Mt() {
if (u.postRun)
for (typeof u.postRun == "function" && (u.postRun = [u.postRun]); u.postRun.length; )
xt(u.postRun.shift());
Yt(u.postRun.shift());
Oe(tt);
}
function Mt(e) {
function It(e) {
Qe.unshift(e);
}
function It(e) {
function xt(e) {
et.unshift(e);
}
function xt(e) {
function Yt(e) {
tt.unshift(e);
}
var z = 0, ae = null;
function Yt(e) {
function Vt(e) {
z++, u.monitorRunDependencies && u.monitorRunDependencies(z);
}
function Vt(e) {
function Bt(e) {
if (z--, u.monitorRunDependencies && u.monitorRunDependencies(z), z == 0 && ae) {

@@ -76,8 +76,8 @@ var t = ae;

}
var Bt = "data:application/octet-stream;base64,";
var Lt = "data:application/octet-stream;base64,";
function rt(e) {
return e.startsWith(Bt);
return e.startsWith(Lt);
}
var X;
u.locateFile ? (X = "zxing_full.wasm", rt(X) || (X = Ot(X))) : X = new URL("/full/zxing_full.wasm", self.location).href;
u.locateFile ? (X = "zxing_full.wasm", rt(X) || (X = Wt(X))) : X = new URL("/full/zxing_full.wasm", self.location).href;
function nt(e) {

@@ -94,3 +94,3 @@ try {

}
function Lt(e) {
function Nt(e) {
return !ie && (Xe || he) && typeof fetch == "function" ? fetch(e, { credentials: "same-origin" }).then(function(t) {

@@ -107,3 +107,3 @@ if (!t.ok)

function it(e, t, r) {
return Lt(e).then(function(n) {
return Nt(e).then(function(n) {
return WebAssembly.instantiate(n, t);

@@ -116,3 +116,3 @@ }).then(function(n) {

}
function Nt(e, t, r, 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) {

@@ -125,9 +125,9 @@ var a = WebAssembly.instantiateStreaming(i, r);

}
function zt() {
var e = { a: Rn };
function Xt() {
var e = { a: Sn };
function t(n, i) {
var a = n.exports;
return u.asm = a, _e = u.asm.oa, Je(), Ke = u.asm.ta, It(u.asm.pa), Vt(), a;
return u.asm = a, _e = u.asm.oa, Je(), Ke = u.asm.sa, xt(u.asm.pa), Bt(), a;
}
Yt();
Vt();
function r(n) {

@@ -142,3 +142,3 @@ t(n.instance);

}
return Nt(ie, X, e, r).catch(J), {};
return zt(ie, X, e, r).catch(J), {};
}

@@ -149,38 +149,22 @@ function Oe(e) {

}
var ye = [];
function Xt(e) {
e.add_ref();
}
var me = 0;
var ye = [], me = 0;
function Zt(e) {
var t = new be(e);
return t.get_caught() || (t.set_caught(!0), me--), t.set_rethrown(!1), ye.push(t), Xt(t), t.get_exception_ptr();
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();
}
var M = 0, we = [];
function m(e) {
var t = we[e];
return t || (e >= we.length && (we.length = e + 1), we[e] = t = Ke.get(e)), t;
}
function Gt(e) {
if (e.release_ref() && !e.get_rethrown()) {
var t = e.get_destructor();
t && m(t)(e.excPtr), At(e.excPtr);
}
}
function qt() {
var M = 0;
function Gt() {
y(0);
var e = ye.pop();
Gt(e), M = 0;
Ft(e.excPtr), M = 0;
}
function be(e) {
function we(e) {
this.excPtr = e, this.ptr = e - 24, this.set_type = function(t) {
E[this.ptr + 4 >> 2] = t;
F[this.ptr + 4 >> 2] = t;
}, this.get_type = function() {
return E[this.ptr + 4 >> 2];
return F[this.ptr + 4 >> 2];
}, this.set_destructor = function(t) {
E[this.ptr + 8 >> 2] = t;
F[this.ptr + 8 >> 2] = t;
}, this.get_destructor = function() {
return E[this.ptr + 8 >> 2];
}, this.set_refcount = function(t) {
T[this.ptr >> 2] = t;
return F[this.ptr + 8 >> 2];
}, this.set_caught = function(t) {

@@ -195,17 +179,11 @@ t = t ? 1 : 0, U[this.ptr + 12 >> 0] = t;

}, this.init = function(t, r) {
this.set_adjusted_ptr(0), this.set_type(t), this.set_destructor(r), this.set_refcount(0), this.set_caught(!1), this.set_rethrown(!1);
}, this.add_ref = function() {
var t = T[this.ptr >> 2];
T[this.ptr >> 2] = t + 1;
}, this.release_ref = function() {
var t = T[this.ptr >> 2];
return T[this.ptr >> 2] = t - 1, t === 1;
this.set_adjusted_ptr(0), this.set_type(t), this.set_destructor(r);
}, this.set_adjusted_ptr = function(t) {
E[this.ptr + 16 >> 2] = t;
F[this.ptr + 16 >> 2] = t;
}, this.get_adjusted_ptr = function() {
return E[this.ptr + 16 >> 2];
return F[this.ptr + 16 >> 2];
}, this.get_exception_ptr = function() {
var t = St(this.get_type());
var t = Rt(this.get_type());
if (t)
return E[this.excPtr >> 2];
return F[this.excPtr >> 2];
var r = this.get_adjusted_ptr();

@@ -215,3 +193,3 @@ return r !== 0 ? r : this.excPtr;

}
function Jt(e) {
function qt(e) {
throw M || (M = e), M;

@@ -223,3 +201,3 @@ }

return de(0), 0;
var t = new be(e);
var t = new we(e);
t.set_adjusted_ptr(e);

@@ -234,3 +212,3 @@ var r = t.get_type();

var a = t.ptr + 16;
if (Et(i, r, a))
if (St(i, r, a))
return de(i), e;

@@ -240,7 +218,8 @@ }

}
var Kt = We, Qt = We, er = We;
function tr(e) {
return new be(e).get_exception_ptr();
var Jt = We, Kt = We, Qt = We;
function er(e) {
var t = new we(e).get_exception_ptr();
return t;
}
function rr() {
function tr() {
var e = ye.pop();

@@ -251,10 +230,10 @@ e || Q("no exception to throw");

}
function nr(e, t, r) {
var n = new be(e);
function rr(e, t, r) {
var n = new we(e);
throw n.init(t, r), M = e, me++, M;
}
function ir() {
function nr() {
return me;
}
var Pe = {};
var be = {};
function je(e) {

@@ -267,5 +246,5 @@ for (; e.length; ) {

function oe(e) {
return this.fromWireType(T[e >> 2]);
return this.fromWireType(S[e >> 2]);
}
var ee = {}, Z = {}, Ce = {}, ar = 48, or = 57;
var ee = {}, Z = {}, Pe = {}, ir = 48, ar = 57;
function at(e) {

@@ -276,3 +255,3 @@ if (e === void 0)

var t = e.charCodeAt(0);
return t >= ar && t <= or ? "_" + e : e;
return t >= ir && t <= ar ? "_" + e : e;
}

@@ -296,3 +275,3 @@ function ot(e, t) {

var st = void 0;
function Te(e) {
function Ce(e) {
throw new st(e);

@@ -302,7 +281,7 @@ }

e.forEach(function(o) {
Ce[o] = t;
Pe[o] = t;
});
function n(o) {
var f = r(o);
f.length !== e.length && Te("Mismatched type converter count");
f.length !== e.length && Ce("Mismatched type converter count");
for (var c = 0; c < e.length; ++c)

@@ -318,5 +297,5 @@ x(e[c], f[c]);

}
function sr(e) {
var t = Pe[e];
delete Pe[e];
function or(e) {
var t = 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));

@@ -326,6 +305,6 @@ I([e], a, (s) => {

return i.forEach((f, c) => {
var d = f.fieldName, v = s[c], h = f.getter, _ = f.getterContext, P = s[c + i.length], A = f.setter, C = f.setterContext;
o[d] = { read: ($) => v.fromWireType(h(_, $)), write: ($, l) => {
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 = [];
A(C, $, P.toWireType(p, l)), je(p);
$(C, T, P.toWireType(p, l)), je(p);
} };

@@ -348,3 +327,3 @@ }), [{ name: t.name, fromWireType: function(f) {

}
function ur(e, t, r, n, i) {
function sr(e, t, r, n, i) {
}

@@ -365,3 +344,3 @@ function He(e) {

}
function fr() {
function ur() {
for (var e = new Array(256), t = 0; t < 256; ++t)

@@ -390,3 +369,3 @@ e[t] = String.fromCharCode(t);

}
if (Z[e] = t, delete Ce[e], ee.hasOwnProperty(e)) {
if (Z[e] = t, delete Pe[e], ee.hasOwnProperty(e)) {
var i = ee[e];

@@ -396,3 +375,3 @@ delete ee[e], i.forEach((a) => a());

}
function cr(e, t, r, n, i) {
function fr(e, t, r, n, i) {
var a = He(r);

@@ -410,3 +389,3 @@ t = R(t), x(e, { name: t, fromWireType: function(s) {

else if (r === 4)
o = T;
o = S;
else

@@ -417,3 +396,3 @@ throw new TypeError("Unknown boolean type size: " + t);

}
function lr(e) {
function cr(e) {
if (!(this instanceof L) || !(e instanceof L))

@@ -427,3 +406,3 @@ return !1;

}
function dr(e) {
function lr(e) {
return { count: e.count, deleteScheduled: e.deleteScheduled, preservePointerOnDelete: e.preservePointerOnDelete, ptr: e.ptr, ptrType: e.ptrType, smartPtr: e.smartPtr, smartPtrType: e.smartPtrType };

@@ -440,3 +419,3 @@ }

}
function vr(e) {
function dr(e) {
e.smartPtr ? e.smartPtrType.rawDestructor(e.smartPtr) : e.ptrType.registeredClass.rawDestructor(e.ptr);

@@ -447,3 +426,3 @@ }

var t = e.count.value === 0;
t && vr(e);
t && dr(e);
}

@@ -459,6 +438,6 @@ function lt(e, t, r) {

var dt = {};
function pr() {
function vr() {
return Object.keys(fe).length;
}
function hr() {
function pr() {
var e = [];

@@ -477,10 +456,10 @@ for (var t in fe)

var ue = void 0;
function _r(e) {
function hr(e) {
ue = e, se.length && ue && ue(xe);
}
function gr() {
u.getInheritedInstanceCount = pr, u.getLiveInheritedInstances = hr, u.flushPendingDeletes = xe, u.setDelayFunction = _r;
function _r() {
u.getInheritedInstanceCount = vr, u.getLiveInheritedInstances = pr, u.flushPendingDeletes = xe, u.setDelayFunction = hr;
}
var fe = {};
function yr(e, t) {
function gr(e, t) {
for (t === void 0 && g("ptr should not be undefined"); e.baseClass; )

@@ -490,15 +469,15 @@ t = e.upcast(t), e = e.baseClass;

}
function mr(e, t) {
return t = yr(e, t), fe[t];
function yr(e, t) {
return t = gr(e, t), fe[t];
}
function $e(e, t) {
(!t.ptrType || !t.ptr) && Te("makeClassHandle requires ptr and ptrType");
function Te(e, t) {
(!t.ptrType || !t.ptr) && Ce("makeClassHandle requires ptr and ptrType");
var r = !!t.smartPtrType, n = !!t.smartPtr;
return r !== n && Te("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, ce(Object.create(e, { $$: { value: t } }));
return r !== n && Ce("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, ce(Object.create(e, { $$: { value: t } }));
}
function wr(e) {
function mr(e) {
var t = this.getPointee(e);
if (!t)
return this.destructor(e), null;
var r = mr(this.registeredClass, t);
var r = yr(this.registeredClass, t);
if (r !== void 0) {

@@ -511,3 +490,3 @@ if (r.$$.count.value === 0)

function i() {
return this.isSmartPointer ? $e(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: t, smartPtrType: this, smartPtr: e }) : $e(this.registeredClass.instancePrototype, { ptrType: this, ptr: e });
return this.isSmartPointer ? Te(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: t, smartPtrType: this, smartPtr: e }) : Te(this.registeredClass.instancePrototype, { ptrType: this, ptr: e });
}

@@ -520,3 +499,3 @@ var a = this.registeredClass.getActualType(t), s = dt[a];

var f = lt(t, this.registeredClass, o.registeredClass);
return f === null ? i.call(this) : this.isSmartPointer ? $e(o.registeredClass.instancePrototype, { ptrType: o, ptr: f, smartPtrType: this, smartPtr: e }) : $e(o.registeredClass.instancePrototype, { ptrType: o, ptr: f });
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 });
}

@@ -535,19 +514,19 @@ function ce(e) {

}
function br() {
function wr() {
if (this.$$.ptr || Me(this), this.$$.preservePointerOnDelete)
return this.$$.count.value += 1, this;
var e = ce(Object.create(Object.getPrototypeOf(this), { $$: { value: dr(this.$$) } }));
var e = ce(Object.create(Object.getPrototypeOf(this), { $$: { value: lr(this.$$) } }));
return e.$$.count.value += 1, e.$$.deleteScheduled = !1, e;
}
function Pr() {
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 Cr() {
function Pr() {
return !this.$$.ptr;
}
function Tr() {
function Cr() {
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 $r() {
L.prototype.isAliasOf = lr, L.prototype.clone = br, L.prototype.delete = Pr, L.prototype.isDeleted = Cr, L.prototype.deleteLater = Tr;
function Tr() {
L.prototype.isAliasOf = cr, L.prototype.clone = wr, L.prototype.delete = br, L.prototype.isDeleted = Pr, L.prototype.deleteLater = Cr;
}

@@ -567,6 +546,6 @@ function L() {

}
function Ar(e, t, r, n, i, a, s, o) {
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 Ae(e, t, r) {
function $e(e, t, r) {
for (; t !== r; )

@@ -576,10 +555,10 @@ t.upcast || g("Expected null or instance of " + r.name + ", got an instance of " + t.name), e = t.upcast(e), t = t.baseClass;

}
function Fr(e, t) {
function Ar(e, t) {
if (t === 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 = Ae(t.$$.ptr, r, this.registeredClass);
var r = t.$$.ptrType.registeredClass, n = $e(t.$$.ptr, r, this.registeredClass);
return n;
}
function Er(e, t) {
function Fr(e, t) {
var r;

@@ -590,3 +569,3 @@ if (t === null)

var n = t.$$.ptrType.registeredClass;
if (r = Ae(t.$$.ptr, n, this.registeredClass), this.isSmartPointer)
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) {

@@ -614,41 +593,46 @@ case 0:

}
function Sr(e, t) {
function Er(e, t) {
if (t === 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 = Ae(t.$$.ptr, r, this.registeredClass);
var r = t.$$.ptrType.registeredClass, n = $e(t.$$.ptr, r, this.registeredClass);
return n;
}
function Rr(e) {
function Sr(e) {
return this.rawGetPointee && (e = this.rawGetPointee(e)), e;
}
function Dr(e) {
function Rr(e) {
this.rawDestructor && this.rawDestructor(e);
}
function kr(e) {
function Dr(e) {
e !== null && e.delete();
}
function Or() {
Y.prototype.getPointee = Rr, Y.prototype.destructor = Dr, Y.prototype.argPackAdvance = 8, Y.prototype.readValueFromPointer = oe, Y.prototype.deleteObject = kr, Y.prototype.fromWireType = wr;
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 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 = Fr, this.destructorFunction = null) : (this.toWireType = Sr, this.destructorFunction = null) : this.toWireType = Er;
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 ht(e, t, r) {
u.hasOwnProperty(e) || Te("Replacing nonexistant public symbol"), u[e].overloadTable !== void 0 && r !== void 0 ? u[e].overloadTable[r] = t : (u[e] = t, u[e].argCount = 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 Wr(e, t, r) {
function Or(e, t, r) {
var n = u["dynCall_" + e];
return r && r.length ? n.apply(null, [t].concat(r)) : n.call(null, t);
}
function jr(e, t, 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;
}
function Wr(e, t, r) {
if (e.includes("j"))
return Wr(e, t, r);
var n = m(t).apply(null, r);
return Or(e, t, r);
var n = b(t).apply(null, r);
return n;
}
function Ur(e, t) {
function jr(e, t) {
var r = [];
return function() {
return r.length = 0, Object.assign(r, arguments), jr(e, t, r);
return r.length = 0, Object.assign(r, arguments), Wr(e, t, r);
};

@@ -659,3 +643,3 @@ }

function r() {
return e.includes("j") ? Ur(e, t) : m(t);
return e.includes("j") ? jr(e, t) : b(t);
}

@@ -667,3 +651,3 @@ var n = r();

function gt(e) {
var t = Ft(e), r = R(t);
var t = At(e), r = R(t);
return V(t), r;

@@ -675,4 +659,4 @@ }

if (!n[a] && !Z[a]) {
if (Ce[a]) {
Ce[a].forEach(i);
if (Pe[a]) {
Pe[a].forEach(i);
return;

@@ -685,3 +669,3 @@ }

}
function Hr(e, t, r, n, i, a, s, o, f, c, d, v, h) {
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);

@@ -693,5 +677,5 @@ var _ = at(d);

P = P[0];
var A, C;
n ? (A = P.registeredClass, C = A.instancePrototype) : C = L.prototype;
var $ = ot(_, function() {
var $, C;
n ? ($ = P.registeredClass, C = $.instancePrototype) : C = L.prototype;
var T = ot(_, function() {
if (Object.getPrototypeOf(this) !== l)

@@ -705,6 +689,6 @@ throw new te("Use 'new' to construct " + d);

return Re.apply(this, arguments);
}), l = Object.create(C, { constructor: { value: $ } });
$.prototype = l;
var p = new Ar(d, $, l, h, A, a, o, c), F = new Y(d, p, !0, !1, !1), S = new Y(d + "*", p, !1, !1, !1), G = new Y(d + " const*", p, !1, !0, !1);
return dt[e] = { pointerType: S, constPointerType: G }, ht(_, $), [F, S, G];
}), 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];
});

@@ -714,3 +698,3 @@ }

for (var r = [], n = 0; n < e; n++)
r.push(E[t + n * 4 >> 2]);
r.push(F[t + n * 4 >> 2]);
return r;

@@ -729,7 +713,7 @@ }

arguments.length !== v && g("function " + e + " called with " + arguments.length + " arguments, expected " + v + " args!"), P.length = 0;
var A;
_.length = o ? 2 : 1, _[0] = i, o && (A = t[1].toWireType(P, this), _[1] = A);
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 $ = n.apply(null, _);
var T = n.apply(null, _);
function l(p) {

@@ -739,5 +723,5 @@ if (f)

else
for (var F = o ? 1 : 2; F < t.length; F++) {
var S = F === 1 ? A : h[F - 2];
t[F].destructorFunction !== null && t[F].destructorFunction(S);
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);
}

@@ -747,7 +731,7 @@ if (d)

}
return l($);
return l(T);
};
}
function Mr(e, t, r, n, i, a) {
Wt(t > 0);
function Hr(e, t, r, n, i, a) {
jt(t > 0);
var s = Ye(t, r);

@@ -766,3 +750,3 @@ i = k(n, i), I([], [e], function(o) {

}
function Ir(e, t, r, n, i, a, s, o, f) {
function Mr(e, t, r, n, i, a, s, o, f) {
var c = Ye(r, n);

@@ -777,4 +761,4 @@ t = R(t), a = k(i, a), I([], [e], function(d) {

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(A) {
var C = Ve(v, A, d, a, s);
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, [];

@@ -785,5 +769,5 @@ }), [];

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"), Ae(e.$$.ptr, e.$$.ptrType.registeredClass, t.registeredClass);
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 xr(e, t, r, n, i, a, s, o, f, c) {
function Ir(e, t, r, n, i, a, s, o, f, c) {
t = R(t), i = k(n, i), I([], [e], function(d) {

@@ -799,5 +783,5 @@ d = d[0];

}, Object.defineProperty(d.registeredClass.instancePrototype, t, h), I([], f ? [r, s] : [r], function(_) {
var P = _[0], A = { get: function() {
var $ = yt(this, d, v + " getter");
return P.fromWireType(i(a, $));
var P = _[0], $ = { get: function() {
var T = yt(this, d, v + " getter");
return P.fromWireType(i(a, T));
}, enumerable: !0 };

@@ -807,12 +791,12 @@ if (f) {

var C = _[1];
A.set = function($) {
$.set = function(T) {
var l = yt(this, d, v + " setter"), p = [];
f(c, l, C.toWireType(p, $)), je(p);
f(c, l, C.toWireType(p, T)), je(p);
};
}
return Object.defineProperty(d.registeredClass.instancePrototype, t, A), [];
return Object.defineProperty(d.registeredClass.instancePrototype, t, $), [];
}), [];
});
}
function Yr() {
function xr() {
this.allocated = [void 0], this.freelist = [], this.get = function(e) {

@@ -827,7 +811,7 @@ return this.allocated[e];

}
var O = new Yr();
var O = new xr();
function mt(e) {
e >= O.reserved && --O.get(e).refcount === 0 && O.free(e);
}
function Vr() {
function Yr() {
for (var e = 0, t = O.reserved; t < O.allocated.length; ++t)

@@ -837,4 +821,4 @@ O.allocated[t] !== void 0 && ++e;

}
function Br() {
O.allocated.push({ value: void 0 }, { value: null }, { value: !0 }, { value: !1 }), O.reserved = O.allocated.length, u.count_emval_handles = Vr;
function Vr() {
O.allocated.push({ value: void 0 }, { value: null }, { value: !0 }, { value: !1 }), O.reserved = O.allocated.length, u.count_emval_handles = Yr;
}

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

} };
function Lr(e, t) {
function Br(e, t) {
t = R(t), x(e, { name: t, fromWireType: function(r) {

@@ -870,3 +854,3 @@ var n = Fe.toValue(r);

}
function Nr(e, t) {
function Lr(e, t) {
switch (t) {

@@ -885,3 +869,3 @@ case 2:

}
function zr(e, t, r) {
function Nr(e, t, r) {
var n = He(r);

@@ -892,5 +876,5 @@ t = R(t), x(e, { name: t, fromWireType: function(i) {

return a;
}, argPackAdvance: 8, readValueFromPointer: Nr(t, n), destructorFunction: null });
}, argPackAdvance: 8, readValueFromPointer: Lr(t, n), destructorFunction: null });
}
function Xr(e, t, r, n, i, a, s) {
function zr(e, t, r, n, i, a, s) {
var o = Ye(t, r);

@@ -904,3 +888,3 @@ e = R(e), i = k(n, i), pt(e, function() {

}
function Zr(e, t, r) {
function Xr(e, t, r) {
switch (t) {

@@ -921,5 +905,5 @@ case 0:

return r ? function(i) {
return T[i >> 2];
return S[i >> 2];
} : function(i) {
return E[i >> 2];
return F[i >> 2];
};

@@ -930,3 +914,3 @@ default:

}
function Gr(e, t, r, n, i) {
function Zr(e, t, r, n, i) {
t = R(t);

@@ -944,9 +928,9 @@ var a = He(r), s = (v) => v;

return c(h, this.name), h;
}, x(e, { name: t, fromWireType: s, toWireType: d, argPackAdvance: 8, readValueFromPointer: Zr(t, a, n !== 0), destructorFunction: null });
}, x(e, { name: t, fromWireType: s, toWireType: d, argPackAdvance: 8, readValueFromPointer: Xr(t, a, n !== 0), destructorFunction: null });
}
function qr(e, t, r) {
function Gr(e, t, r) {
var n = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array], i = n[t];
function a(s) {
s = s >> 2;
var o = E, f = o[s], c = o[s + 1];
var o = F, f = o[s], c = o[s + 1];
return new i(o.buffer, c, f);

@@ -985,3 +969,3 @@ }

}
function Jr(e, t, r) {
function qr(e, t, r) {
return wt(e, D, t, r);

@@ -997,3 +981,3 @@ }

var Pt = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0;
function Kr(e, t, r) {
function Jr(e, t, r) {
for (var n = t + r, i = t; e[i] && !(i >= n); )

@@ -1025,9 +1009,9 @@ ++i;

function Le(e, t) {
return e ? Kr(D, e, t) : "";
return e ? Jr(D, e, t) : "";
}
function Qr(e, t) {
function Kr(e, t) {
t = R(t);
var r = t === "std::string";
x(e, { name: t, fromWireType: function(n) {
var i = E[n >> 2], a = n + 4, s;
var i = F[n >> 2], a = n + 4, s;
if (r)

@@ -1052,4 +1036,4 @@ for (var o = a, f = 0; f <= i; ++f) {

var o = ze(4 + a + 1), f = o + 4;
if (E[o >> 2] = a, r && s)
Jr(i, f, a + 1);
if (F[o >> 2] = a, r && s)
qr(i, f, a + 1);
else if (s)

@@ -1069,3 +1053,3 @@ for (var c = 0; c < a; ++c) {

var Ct = typeof TextDecoder < "u" ? new TextDecoder("utf-16le") : void 0;
function en(e, t) {
function Qr(e, t) {
for (var r = e, n = r >> 1, i = n + t / 2; !(n >= i) && ge[n]; )

@@ -1083,3 +1067,3 @@ ++n;

}
function tn(e, t, r) {
function en(e, t, r) {
if (r === void 0 && (r = 2147483647), r < 2)

@@ -1094,8 +1078,8 @@ return 0;

}
function rn(e) {
function tn(e) {
return e.length * 2;
}
function nn(e, t) {
function rn(e, t) {
for (var r = 0, n = ""; !(r >= t / 4); ) {
var i = T[e + r * 4 >> 2];
var i = S[e + r * 4 >> 2];
if (i == 0)

@@ -1111,3 +1095,3 @@ break;

}
function an(e, t, r) {
function nn(e, t, r) {
if (r === void 0 && (r = 2147483647), r < 4)

@@ -1121,8 +1105,8 @@ return 0;

}
if (T[t >> 2] = s, t += 4, t + 4 > i)
if (S[t >> 2] = s, t += 4, t + 4 > i)
break;
}
return T[t >> 2] = 0, t - n;
return S[t >> 2] = 0, t - n;
}
function on(e) {
function an(e) {
for (var t = 0, r = 0; r < e.length; ++r) {

@@ -1134,10 +1118,10 @@ var n = e.charCodeAt(r);

}
function sn(e, t, r) {
function on(e, t, r) {
r = R(r);
var n, i, a, s, o;
t === 2 ? (n = en, i = tn, s = rn, a = () => ge, o = 1) : t === 4 && (n = nn, i = an, s = on, a = () => E, o = 2), x(e, { name: r, fromWireType: function(f) {
for (var c = E[f >> 2], d = a(), v, h = f + 4, _ = 0; _ <= c; ++_) {
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 A = P - h, C = n(h, A);
var $ = P - h, C = n(h, $);
v === void 0 ? v = C : (v += String.fromCharCode(0), v += C), h = P + t;

@@ -1150,3 +1134,3 @@ }

var d = s(c), v = ze(4 + d + t);
return E[v >> 2] = d >> o, i(c, v + 4, d + t), f !== null && f.push(V, v), v;
return F[v >> 2] = d >> o, i(c, v + 4, d + t), f !== null && f.push(V, v), v;
}, argPackAdvance: 8, readValueFromPointer: oe, destructorFunction: function(f) {

@@ -1156,9 +1140,9 @@ V(f);

}
function un(e, t, r, n, i, a) {
Pe[e] = { name: R(t), rawConstructor: k(r, n), rawDestructor: k(i, a), fields: [] };
function sn(e, t, r, n, i, a) {
be[e] = { name: R(t), rawConstructor: k(r, n), rawDestructor: k(i, a), fields: [] };
}
function fn(e, t, r, n, i, a, s, o, f, c) {
Pe[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, 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 cn(e, t) {
function fn(e, t) {
t = R(t), x(e, { isVoid: !0, name: t, argPackAdvance: 0, fromWireType: function() {

@@ -1168,24 +1152,24 @@ }, toWireType: function(r, n) {

}
function ln(e) {
function cn(e) {
e > 4 && (O.get(e).refcount += 1);
}
function dn(e, t) {
function ln(e, t) {
var r = Z[e];
return r === void 0 && g(t + " has unknown type " + gt(e)), r;
}
function vn(e, t) {
e = dn(e, "_emval_take_value");
function dn(e, t) {
e = ln(e, "_emval_take_value");
var r = e.readValueFromPointer(t);
return Fe.toHandle(r);
}
function pn() {
function vn() {
Q("");
}
function hn(e, t, r) {
function pn(e, t, r) {
D.copyWithin(e, t, t + r);
}
function _n() {
function hn() {
return 2147483648;
}
function gn(e) {
function _n(e) {
var t = _e.buffer;

@@ -1197,6 +1181,6 @@ try {

}
function yn(e) {
function gn(e) {
var t = D.length;
e = e >>> 0;
var r = _n();
var r = hn();
if (e > r)

@@ -1208,3 +1192,3 @@ return !1;

a = Math.min(a, e + 100663296);
var s = Math.min(r, n(Math.max(e, a), 65536)), o = gn(s);
var s = Math.min(r, n(Math.max(e, a), 65536)), o = _n(s);
if (o)

@@ -1216,3 +1200,3 @@ return !0;

var Ne = {};
function mn() {
function yn() {
return pe || "./this.program";

@@ -1222,3 +1206,3 @@ }

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, _: mn() };
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)

@@ -1233,3 +1217,3 @@ Ne[r] === void 0 ? delete t[r] : t[r] = Ne[r];

}
function wn(e, t) {
function mn(e, t) {
for (var r = 0; r < e.length; ++r)

@@ -1239,18 +1223,18 @@ U[t++ >> 0] = e.charCodeAt(r);

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

@@ -1261,3 +1245,3 @@ }

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

@@ -1268,3 +1252,3 @@ ;

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 $n(e, t) {
function Tn(e, t) {
for (var r = new Date(e.getTime()); t > 0; ) {

@@ -1279,18 +1263,18 @@ var n = Ee(r.getFullYear()), i = r.getMonth(), a = (n ? Tt : $t)[i];

}
function An(e, t, r) {
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 Fn(e, t) {
function An(e, t) {
U.set(e, t);
}
function En(e, t, r, n) {
var i = T[n + 40 >> 2], a = { tm_sec: T[n >> 2], tm_min: T[n + 4 >> 2], tm_hour: T[n + 8 >> 2], tm_mday: T[n + 12 >> 2], tm_mon: T[n + 16 >> 2], tm_year: T[n + 20 >> 2], tm_wday: T[n + 24 >> 2], tm_yday: T[n + 28 >> 2], tm_isdst: T[n + 32 >> 2], tm_gmtoff: T[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, 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" };
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, F) {
for (var S = typeof l == "number" ? l.toString() : l || ""; S.length < p; )
S = F[0] + S;
return S;
function v(l, p, A) {
for (var E = typeof l == "number" ? l.toString() : l || ""; E.length < p; )
E = A[0] + E;
return E;
}

@@ -1301,7 +1285,7 @@ function h(l, p) {

function _(l, p) {
function F(G) {
function A(G) {
return G < 0 ? -1 : G > 0 ? 1 : 0;
}
var S;
return (S = F(l.getFullYear() - p.getFullYear())) === 0 && (S = F(l.getMonth() - p.getMonth())) === 0 && (S = F(l.getDate() - p.getDate())), S;
var E;
return (E = A(l.getFullYear() - p.getFullYear())) === 0 && (E = A(l.getMonth() - p.getMonth())) === 0 && (E = A(l.getDate() - p.getDate())), E;
}

@@ -1326,4 +1310,4 @@ function P(l) {

}
function A(l) {
var p = $n(new Date(l.tm_year + 1900, 0, 1), l.tm_yday), F = new Date(p.getFullYear(), 0, 4), S = new Date(p.getFullYear() + 1, 0, 4), G = P(F), Re = P(S);
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;

@@ -1347,5 +1331,5 @@ }

}, "%g": function(l) {
return A(l).toString().substring(2);
return $(l).toString().substring(2);
}, "%G": function(l) {
return A(l);
return $(l);
}, "%H": function(l) {

@@ -1357,3 +1341,3 @@ return h(l.tm_hour, 2);

}, "%j": function(l) {
return h(l.tm_mday + Tn(Ee(l.tm_year + 1900) ? Tt : $t, l.tm_mon - 1), 3);
return h(l.tm_mday + Cn(Ee(l.tm_year + 1900) ? Tt : $t, l.tm_mon - 1), 3);
}, "%m": function(l) {

@@ -1381,9 +1365,9 @@ return h(l.tm_mon + 1, 2);

if (p == 53) {
var S = (l.tm_wday + 371 - l.tm_yday) % 7;
S != 4 && (S != 3 || !Ee(l.tm_year)) && (p = 1);
var E = (l.tm_wday + 371 - l.tm_yday) % 7;
E != 4 && (E != 3 || !Ee(l.tm_year)) && (p = 1);
}
} else {
p = 52;
var F = (l.tm_wday + 7 - l.tm_yday - 1) % 7;
(F == 4 || F == 5 && Ee(l.tm_year % 400 - 1)) && p++;
var A = (l.tm_wday + 7 - l.tm_yday - 1) % 7;
(A == 4 || A == 5 && Ee(l.tm_year % 400 - 1)) && p++;
}

@@ -1401,4 +1385,4 @@ return h(p, 2);

}, "%z": function(l) {
var p = l.tm_gmtoff, F = p >= 0;
return p = Math.abs(p) / 60, p = p / 60 * 100 + p % 60, (F ? "+" : "-") + ("0000" + p).slice(-4);
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);
}, "%Z": function(l) {

@@ -1413,11 +1397,11 @@ return l.tm_zone;

s = s.replace(/\0\0/g, "%");
var $ = An(s, !1);
return $.length > t ? 0 : (Fn($, e), $.length - 1);
var T = $n(s, !1);
return T.length > t ? 0 : (An(T, e), T.length - 1);
}
function Sn(e, t, r, n, i) {
return En(e, t, r, n);
function En(e, t, r, n, i) {
return Fn(e, t, r, n);
}
st = u.InternalError = Ue(Error, "InternalError"), fr(), te = u.BindingError = Ue(Error, "BindingError"), $r(), gr(), Or(), _t = u.UnboundTypeError = Ue(Error, "UnboundTypeError"), Br();
var Rn = { r: Zt, v: qt, a: Kt, i: Qt, n: er, I: tr, W: rr, o: nr, ba: ir, d: Jt, ma: sr, Y: ur, fa: cr, V: Hr, la: Mr, D: Ir, T: xr, ea: Lr, R: zr, N: Xr, x: Gr, t: qr, Q: Qr, K: sn, O: un, na: fn, ga: cn, ja: mt, ka: ln, U: vn, J: pn, da: hn, ca: yn, $: bn, aa: Pn, H: Gn, P: ni, B: qn, q: Xn, b: Dn, C: Zn, ha: Kn, c: jn, h: Bn, j: Nn, l: Ln, w: zn, G: ei, M: ti, A: Jn, F: ii, Z: oi, X: si, k: Un, g: Wn, e: On, f: kn, L: ri, m: Yn, p: Hn, ia: In, u: xn, S: Vn, z: Qn, s: Mn, E: ai, y: Cn, _: Sn };
zt();
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();
var V = u._free = function() {

@@ -1427,18 +1411,18 @@ return (V = u._free = u.asm.qa).apply(null, arguments);

return (ze = u._malloc = u.asm.ra).apply(null, arguments);
}, At = function() {
return (At = u.asm.sa).apply(null, arguments);
}, Ft = u.___getTypeName = function() {
return (Ft = u.___getTypeName = u.asm.ua).apply(null, arguments);
}, At = u.___getTypeName = function() {
return (At = u.___getTypeName = u.asm.ta).apply(null, arguments);
};
u.__embind_initialize_bindings = function() {
return (u.__embind_initialize_bindings = u.asm.va).apply(null, arguments);
return (u.__embind_initialize_bindings = u.asm.ua).apply(null, arguments);
};
var y = function() {
return (y = u.asm.wa).apply(null, arguments);
return (y = u.asm.va).apply(null, arguments);
}, de = function() {
return (de = u.asm.xa).apply(null, arguments);
return (de = u.asm.wa).apply(null, arguments);
}, m = function() {
return (m = u.asm.xa).apply(null, arguments);
}, w = function() {
return (w = u.asm.ya).apply(null, arguments);
}, b = function() {
return (b = u.asm.za).apply(null, arguments);
}, Ft = function() {
return (Ft = u.asm.za).apply(null, arguments);
}, Et = function() {

@@ -1448,24 +1432,26 @@ return (Et = u.asm.Aa).apply(null, arguments);

return (St = u.asm.Ba).apply(null, arguments);
}, Rt = function() {
return (Rt = u.asm.Ca).apply(null, arguments);
};
u.dynCall_viijii = function() {
return (u.dynCall_viijii = u.asm.Ca).apply(null, arguments);
return (u.dynCall_viijii = u.asm.Da).apply(null, arguments);
};
var Rt = u.dynCall_jiii = function() {
return (Rt = u.dynCall_jiii = u.asm.Da).apply(null, arguments);
}, Dt = u.dynCall_jiiii = function() {
return (Dt = u.dynCall_jiiii = u.asm.Ea).apply(null, arguments);
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);
};
u.dynCall_iiiiij = function() {
return (u.dynCall_iiiiij = u.asm.Fa).apply(null, arguments);
return (u.dynCall_iiiiij = u.asm.Ga).apply(null, arguments);
}, u.dynCall_iiiiijj = function() {
return (u.dynCall_iiiiijj = u.asm.Ga).apply(null, arguments);
return (u.dynCall_iiiiijj = u.asm.Ha).apply(null, arguments);
}, u.dynCall_iiiiiijj = function() {
return (u.dynCall_iiiiiijj = u.asm.Ha).apply(null, arguments);
return (u.dynCall_iiiiiijj = u.asm.Ia).apply(null, arguments);
};
function Dn(e, t) {
var r = w();
function Rn(e, t) {
var r = m();
try {
return m(e)(t);
return b(e)(t);
} catch (n) {
if (b(r), n !== n + 0)
if (w(r), n !== n + 0)
throw n;

@@ -1475,8 +1461,8 @@ y(1, 0);

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

@@ -1486,8 +1472,8 @@ y(1, 0);

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

@@ -1497,8 +1483,8 @@ y(1, 0);

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

@@ -1508,8 +1494,8 @@ y(1, 0);

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

@@ -1519,8 +1505,8 @@ y(1, 0);

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

@@ -1530,8 +1516,8 @@ y(1, 0);

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

@@ -1541,8 +1527,8 @@ y(1, 0);

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

@@ -1552,8 +1538,8 @@ y(1, 0);

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

@@ -1563,8 +1549,8 @@ y(1, 0);

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

@@ -1574,8 +1560,8 @@ y(1, 0);

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

@@ -1585,8 +1571,8 @@ y(1, 0);

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

@@ -1596,8 +1582,8 @@ y(1, 0);

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

@@ -1607,8 +1593,8 @@ y(1, 0);

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

@@ -1618,8 +1604,8 @@ y(1, 0);

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

@@ -1629,8 +1615,8 @@ y(1, 0);

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

@@ -1640,8 +1626,8 @@ y(1, 0);

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

@@ -1651,8 +1637,8 @@ y(1, 0);

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

@@ -1662,8 +1648,8 @@ y(1, 0);

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

@@ -1673,8 +1659,8 @@ y(1, 0);

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

@@ -1684,8 +1670,8 @@ y(1, 0);

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

@@ -1695,8 +1681,8 @@ y(1, 0);

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

@@ -1706,8 +1692,8 @@ y(1, 0);

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

@@ -1717,8 +1703,8 @@ y(1, 0);

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

@@ -1728,8 +1714,8 @@ y(1, 0);

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

@@ -1739,8 +1725,8 @@ y(1, 0);

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

@@ -1750,8 +1736,8 @@ y(1, 0);

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

@@ -1761,8 +1747,8 @@ y(1, 0);

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

@@ -1772,18 +1758,18 @@ y(1, 0);

}
function ai(e, t, r, n, i, a, s, o, f, c, d, v, h, _, P, A) {
var C = w();
function ii(e, t, r, n, i, a, s, o, f, c, d, v, h, _, P, $) {
var C = m();
try {
m(e)(t, r, n, i, a, s, o, f, c, d, v, h, _, P, A);
} catch ($) {
if (b(C), $ !== $ + 0)
throw $;
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;
y(1, 0);
}
}
function oi(e, t, r, n) {
var i = w();
function ai(e, t, r, n) {
var i = m();
try {
return Rt(e, t, r, n);
return Dt(e, t, r, n);
} catch (a) {
if (b(i), a !== a + 0)
if (w(i), a !== a + 0)
throw a;

@@ -1793,8 +1779,8 @@ y(1, 0);

}
function si(e, t, r, n, i) {
var a = w();
function oi(e, t, r, n, i) {
var a = m();
try {
return Dt(e, t, r, n, i);
return kt(e, t, r, n, i);
} catch (s) {
if (b(a), s !== s + 0)
if (w(a), s !== s + 0)
throw s;

@@ -1806,9 +1792,9 @@ y(1, 0);

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

@@ -1824,9 +1810,9 @@ u.setStatus ? (u.setStatus("Running..."), setTimeout(function() {

u.preInit.pop()();
return kt(), H.ready;
return Ot(), H.ready;
};
})();
function vi(W) {
return ui(De, W);
function di(W) {
return si(De, W);
}
async function pi(W, {
async function vi(W, {
tryHarder: H = N.tryHarder,

@@ -1836,3 +1822,3 @@ formats: u = N.formats,

} = N) {
return fi(
return ui(
W,

@@ -1847,3 +1833,3 @@ {

}
async function hi(W, {
async function pi(W, {
tryHarder: H = N.tryHarder,

@@ -1853,3 +1839,3 @@ formats: u = N.formats,

} = N) {
return ci(
return fi(
W,

@@ -1864,3 +1850,3 @@ {

}
async function _i(W, {
async function hi(W, {
format: H = q.format,

@@ -1873,3 +1859,3 @@ charset: u = q.charset,

} = q) {
return li(
return ci(
W,

@@ -1888,12 +1874,12 @@ {

export {
mi as ZXING_BARCODE_FORMAT_NAMES,
wi as ZXING_CHARACTOR_SET_NAMES,
yi as ZXING_BARCODE_FORMAT_NAMES,
mi as ZXING_CHARACTOR_SET_NAMES,
N as defaultZXingReadOptions,
q as defaultZXingWriteOptions,
vi as getZXingModule,
bi as purgeZXingModule,
hi as readBarcodeFromImageData,
pi as readBarcodeFromImageFile,
Pi as setZXingModuleOverrides,
_i as writeBarcodeToImageFile
di as getZXingModule,
wi as purgeZXingModule,
pi as readBarcodeFromImageData,
vi as readBarcodeFromImageFile,
bi as setZXingModuleOverrides,
hi as writeBarcodeToImageFile
};

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

import { g as ai, r as oi, d as V, a as si } from "../core-a879f5a9.js";
import { Z as pi, b as hi, c as _i, p as gi, s as yi } from "../core-a879f5a9.js";
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";
var Ve = (() => {

@@ -13,3 +13,3 @@ var x = import.meta.url;

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

@@ -27,12 +27,12 @@ }

var de, ze = !1;
function kt(e, t) {
function Ot(e, t) {
e || J(t);
}
var U, D, q, ve, T, $, Xe, Ze;
var U, D, q, ve, F, A, Xe, Ze;
function Ge() {
var e = de.buffer;
u.HEAP8 = U = new Int8Array(e), u.HEAP16 = q = new Int16Array(e), u.HEAP32 = T = new Int32Array(e), u.HEAPU8 = D = new Uint8Array(e), u.HEAPU16 = ve = new Uint16Array(e), u.HEAPU32 = $ = 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 = A = new Uint32Array(e), u.HEAPF32 = Xe = new Float32Array(e), u.HEAPF64 = Ze = new Float64Array(e);
}
var qe, Je = [], Ke = [], Qe = [];
function Ot() {
function Wt() {
if (u.preRun)

@@ -43,9 +43,9 @@ for (typeof u.preRun == "function" && (u.preRun = [u.preRun]); u.preRun.length; )

}
function Wt() {
function Ut() {
Ee(Ke);
}
function Ut() {
function Ht() {
if (u.postRun)
for (typeof u.postRun == "function" && (u.postRun = [u.postRun]); u.postRun.length; )
Mt(u.postRun.shift());
It(u.postRun.shift());
Ee(Qe);

@@ -56,13 +56,13 @@ }

}
function Ht(e) {
function Mt(e) {
Ke.unshift(e);
}
function Mt(e) {
function It(e) {
Qe.unshift(e);
}
var B = 0, re = null;
function It(e) {
function xt(e) {
B++, u.monitorRunDependencies && u.monitorRunDependencies(B);
}
function xt(e) {
function Yt(e) {
if (B--, u.monitorRunDependencies && u.monitorRunDependencies(B), B == 0 && re) {

@@ -78,8 +78,8 @@ var t = re;

}
var Yt = "data:application/octet-stream;base64,";
var Vt = "data:application/octet-stream;base64,";
function et(e) {
return e.startsWith(Yt);
return e.startsWith(Vt);
}
var L;
u.locateFile ? (L = "zxing_reader.wasm", et(L) || (L = Dt(L))) : L = new URL("/reader/zxing_reader.wasm", self.location).href;
u.locateFile ? (L = "zxing_reader.wasm", et(L) || (L = kt(L))) : L = new URL("/reader/zxing_reader.wasm", self.location).href;
function tt(e) {

@@ -96,3 +96,3 @@ try {

}
function Vt(e) {
function Nt(e) {
return !te && (Le || le) && typeof fetch == "function" ? fetch(e, { credentials: "same-origin" }).then(function(t) {

@@ -109,3 +109,3 @@ if (!t.ok)

function rt(e, t, r) {
return Vt(e).then(function(n) {
return Nt(e).then(function(n) {
return WebAssembly.instantiate(n, t);

@@ -118,3 +118,3 @@ }).then(function(n) {

}
function Nt(e, t, r, 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) {

@@ -127,9 +127,9 @@ var a = WebAssembly.instantiateStreaming(i, r);

}
function Bt() {
var e = { a: Fn };
function Lt() {
var e = { a: $n };
function t(n, i) {
var a = n.exports;
return u.asm = a, de = u.asm.na, Ge(), qe = u.asm.sa, Ht(u.asm.oa), xt(), a;
return u.asm = a, de = u.asm.na, Ge(), qe = u.asm.ra, Mt(u.asm.oa), Yt(), a;
}
It();
xt();
function r(n) {

@@ -144,3 +144,3 @@ t(n.instance);

}
return Nt(te, L, e, r).catch(ce), {};
return Bt(te, L, e, r).catch(ce), {};
}

@@ -151,38 +151,22 @@ function Ee(e) {

}
var pe = [];
function Lt(e) {
e.add_ref();
}
var he = 0;
var pe = [], he = 0;
function zt(e) {
var t = new ge(e);
return t.get_caught() || (t.set_caught(!0), he--), t.set_rethrown(!1), pe.push(t), Lt(t), t.get_exception_ptr();
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();
}
var j = 0, _e = [];
function y(e) {
var t = _e[e];
return t || (e >= _e.length && (_e.length = e + 1), _e[e] = t = qe.get(e)), t;
}
function Xt(e) {
if (e.release_ref() && !e.get_rethrown()) {
var t = e.get_destructor();
t && y(t)(e.excPtr), Tt(e.excPtr);
}
}
function Zt() {
var H = 0;
function Xt() {
_(0);
var e = pe.pop();
Xt(e), j = 0;
At(e.excPtr), H = 0;
}
function ge(e) {
function _e(e) {
this.excPtr = e, this.ptr = e - 24, this.set_type = function(t) {
$[this.ptr + 4 >> 2] = t;
A[this.ptr + 4 >> 2] = t;
}, this.get_type = function() {
return $[this.ptr + 4 >> 2];
return A[this.ptr + 4 >> 2];
}, this.set_destructor = function(t) {
$[this.ptr + 8 >> 2] = t;
A[this.ptr + 8 >> 2] = t;
}, this.get_destructor = function() {
return $[this.ptr + 8 >> 2];
}, this.set_refcount = function(t) {
T[this.ptr >> 2] = t;
return A[this.ptr + 8 >> 2];
}, this.set_caught = function(t) {

@@ -197,17 +181,11 @@ t = t ? 1 : 0, U[this.ptr + 12 >> 0] = t;

}, this.init = function(t, r) {
this.set_adjusted_ptr(0), this.set_type(t), this.set_destructor(r), this.set_refcount(0), this.set_caught(!1), this.set_rethrown(!1);
}, this.add_ref = function() {
var t = T[this.ptr >> 2];
T[this.ptr >> 2] = t + 1;
}, this.release_ref = function() {
var t = T[this.ptr >> 2];
return T[this.ptr >> 2] = t - 1, t === 1;
this.set_adjusted_ptr(0), this.set_type(t), this.set_destructor(r);
}, this.set_adjusted_ptr = function(t) {
$[this.ptr + 16 >> 2] = t;
A[this.ptr + 16 >> 2] = t;
}, this.get_adjusted_ptr = function() {
return $[this.ptr + 16 >> 2];
return A[this.ptr + 16 >> 2];
}, this.get_exception_ptr = function() {
var t = Ft(this.get_type());
var t = Et(this.get_type());
if (t)
return $[this.excPtr >> 2];
return A[this.excPtr >> 2];
var r = this.get_adjusted_ptr();

@@ -217,10 +195,10 @@ return r !== 0 ? r : this.excPtr;

}
function Gt(e) {
throw j || (j = e), j;
function Zt(e) {
throw H || (H = e), H;
}
function Re() {
var e = j;
function Se() {
var e = H;
if (!e)
return fe(0), 0;
var t = new ge(e);
var t = new _e(e);
t.set_adjusted_ptr(e);

@@ -235,3 +213,3 @@ var r = t.get_type();

var a = t.ptr + 16;
if ($t(i, r, a))
if (Ft(i, r, a))
return fe(i), e;

@@ -241,20 +219,21 @@ }

}
var qt = Re, Jt = Re, Kt = Re;
function Qt(e) {
return new ge(e).get_exception_ptr();
var Gt = Se, qt = Se, Jt = Se;
function Kt(e) {
var t = new _e(e).get_exception_ptr();
return t;
}
function er() {
function Qt() {
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++), j = t, j;
throw e.get_rethrown() || (pe.push(e), e.set_rethrown(!0), e.set_caught(!1), he++), H = t, H;
}
function tr(e, t, r) {
var n = new ge(e);
throw n.init(t, r), j = e, he++, j;
function er(e, t, r) {
var n = new _e(e);
throw n.init(t, r), H = e, he++, H;
}
function rr() {
function tr() {
return he;
}
var ye = {};
var ge = {};
function nt(e) {

@@ -267,5 +246,5 @@ for (; e.length; ) {

function ne(e) {
return this.fromWireType(T[e >> 2]);
return this.fromWireType(F[e >> 2]);
}
var K = {}, z = {}, me = {}, nr = 48, ir = 57;
var K = {}, z = {}, ye = {}, rr = 48, nr = 57;
function it(e) {

@@ -276,3 +255,3 @@ if (e === void 0)

var t = e.charCodeAt(0);
return t >= nr && t <= ir ? "_" + e : e;
return t >= rr && t <= nr ? "_" + e : e;
}

@@ -284,3 +263,3 @@ function at(e, t) {

}
function Se(e, t) {
function Re(e, t) {
var r = at(t, function(n) {

@@ -297,3 +276,3 @@ this.name = t, this.message = n;

var ot = void 0;
function we(e) {
function me(e) {
throw new ot(e);

@@ -303,9 +282,9 @@ }

e.forEach(function(o) {
me[o] = t;
ye[o] = t;
});
function n(o) {
var f = r(o);
f.length !== e.length && we("Mismatched type converter count");
f.length !== e.length && me("Mismatched type converter count");
for (var c = 0; c < e.length; ++c)
H(e[c], f[c]);
j(e[c], f[c]);
}

@@ -319,5 +298,5 @@ var i = new Array(t.length), a = [], s = 0;

}
function ar(e) {
var t = ye[e];
delete ye[e];
function ir(e) {
var t = 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));

@@ -328,5 +307,5 @@ X([e], a, (s) => {

var d = f.fieldName, p = s[c], h = f.getter, g = f.getterContext, P = s[c + i.length], E = f.setter, C = f.setterContext;
o[d] = { read: (R) => p.fromWireType(h(g, R)), write: (R, l) => {
o[d] = { read: (S) => p.fromWireType(h(g, S)), write: (S, l) => {
var v = [];
E(C, R, P.toWireType(v, l)), nt(v);
E(C, S, P.toWireType(v, l)), nt(v);
} };

@@ -349,3 +328,3 @@ }), [{ name: t.name, fromWireType: function(f) {

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

@@ -366,3 +345,3 @@ function De(e) {

}
function sr() {
function or() {
for (var e = new Array(256), t = 0; t < 256; ++t)

@@ -373,3 +352,3 @@ e[t] = String.fromCharCode(t);

var st = void 0;
function S(e) {
function R(e) {
for (var t = "", r = e; D[r]; )

@@ -380,15 +359,15 @@ t += st[D[r++]];

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

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

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

@@ -412,3 +391,3 @@ }, toWireType: function(s, o) {

else if (r === 4)
o = T;
o = F;
else

@@ -419,3 +398,3 @@ throw new TypeError("Unknown boolean type size: " + t);

}
function fr(e) {
function ur(e) {
if (!(this instanceof Y) || !(e instanceof Y))

@@ -429,3 +408,3 @@ return !1;

}
function cr(e) {
function fr(e) {
return { count: e.count, deleteScheduled: e.deleteScheduled, preservePointerOnDelete: e.preservePointerOnDelete, ptr: e.ptr, ptrType: e.ptrType, smartPtr: e.smartPtr, smartPtrType: e.smartPtrType };

@@ -437,3 +416,3 @@ }

}
m(t(e) + " instance already deleted");
y(t(e) + " instance already deleted");
}

@@ -443,3 +422,3 @@ var Oe = !1;

}
function lr(e) {
function cr(e) {
e.smartPtr ? e.smartPtrType.rawDestructor(e.smartPtr) : e.ptrType.registeredClass.rawDestructor(e.ptr);

@@ -450,3 +429,3 @@ }

var t = e.count.value === 0;
t && lr(e);
t && cr(e);
}

@@ -462,6 +441,6 @@ function ct(e, t, r) {

var lt = {};
function dr() {
function lr() {
return Object.keys(oe).length;
}
function vr() {
function dr() {
var e = [];

@@ -480,27 +459,27 @@ for (var t in oe)

var ae = void 0;
function pr(e) {
function vr(e) {
ae = e, ie.length && ae && ae(We);
}
function hr() {
u.getInheritedInstanceCount = dr, u.getLiveInheritedInstances = vr, u.flushPendingDeletes = We, u.setDelayFunction = pr;
function pr() {
u.getInheritedInstanceCount = lr, u.getLiveInheritedInstances = dr, u.flushPendingDeletes = We, u.setDelayFunction = vr;
}
var oe = {};
function _r(e, t) {
for (t === void 0 && m("ptr should not be undefined"); e.baseClass; )
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 gr(e, t) {
return t = _r(e, t), oe[t];
function _r(e, t) {
return t = hr(e, t), oe[t];
}
function be(e, t) {
(!t.ptrType || !t.ptr) && we("makeClassHandle requires ptr and ptrType");
function we(e, t) {
(!t.ptrType || !t.ptr) && me("makeClassHandle requires ptr and ptrType");
var r = !!t.smartPtrType, n = !!t.smartPtr;
return r !== n && we("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, se(Object.create(e, { $$: { value: t } }));
return r !== n && me("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, se(Object.create(e, { $$: { value: t } }));
}
function yr(e) {
function gr(e) {
var t = this.getPointee(e);
if (!t)
return this.destructor(e), null;
var r = gr(this.registeredClass, t);
var r = _r(this.registeredClass, t);
if (r !== void 0) {

@@ -513,3 +492,3 @@ if (r.$$.count.value === 0)

function i() {
return this.isSmartPointer ? be(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: t, smartPtrType: this, smartPtr: e }) : be(this.registeredClass.instancePrototype, { ptrType: this, ptr: e });
return this.isSmartPointer ? we(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: t, smartPtrType: this, smartPtr: e }) : we(this.registeredClass.instancePrototype, { ptrType: this, ptr: e });
}

@@ -522,3 +501,3 @@ var a = this.registeredClass.getActualType(t), s = lt[a];

var f = ct(t, this.registeredClass, o.registeredClass);
return f === null ? i.call(this) : this.isSmartPointer ? be(o.registeredClass.instancePrototype, { ptrType: o, ptr: f, smartPtrType: this, smartPtr: e }) : be(o.registeredClass.instancePrototype, { ptrType: o, ptr: f });
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 });
}

@@ -537,20 +516,20 @@ function se(e) {

}
function mr() {
function yr() {
if (this.$$.ptr || ke(this), this.$$.preservePointerOnDelete)
return this.$$.count.value += 1, this;
var e = se(Object.create(Object.getPrototypeOf(this), { $$: { value: cr(this.$$) } }));
var e = se(Object.create(Object.getPrototypeOf(this), { $$: { value: fr(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 wr() {
this.$$.ptr || ke(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && m("Object already scheduled for deletion"), ut(this), ft(this.$$), this.$$.preservePointerOnDelete || (this.$$.smartPtr = void 0, this.$$.ptr = void 0);
return !this.$$.ptr;
}
function br() {
return !this.$$.ptr;
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() {
return this.$$.ptr || ke(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && m("Object already scheduled for deletion"), ie.push(this), ie.length === 1 && ae && ae(We), this.$$.deleteScheduled = !0, this;
Y.prototype.isAliasOf = ur, Y.prototype.clone = yr, Y.prototype.delete = mr, Y.prototype.isDeleted = wr, Y.prototype.deleteLater = br;
}
function Cr() {
Y.prototype.isAliasOf = fr, Y.prototype.clone = mr, Y.prototype.delete = wr, Y.prototype.isDeleted = br, Y.prototype.deleteLater = Pr;
}
function Y() {

@@ -562,3 +541,3 @@ }

e[t] = function() {
return e[t].overloadTable.hasOwnProperty(arguments.length) || m("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) || 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;

@@ -568,5 +547,5 @@ }

function vt(e, t, r) {
u.hasOwnProperty(e) ? ((r === void 0 || u[e].overloadTable !== void 0 && u[e].overloadTable[r] !== void 0) && m("Cannot register public name '" + e + "' twice"), dt(u, e, e), u.hasOwnProperty(r) && m("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));
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 Tr(e, t, r, n, i, a, s, o) {
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 = [];

@@ -576,22 +555,22 @@ }

for (; t !== r; )
t.upcast || m("Expected null or instance of " + r.name + ", got an instance of " + t.name), e = t.upcast(e), t = t.baseClass;
t.upcast || y("Expected null or instance of " + r.name + ", got an instance of " + t.name), e = t.upcast(e), t = t.baseClass;
return e;
}
function Ar(e, t) {
function Tr(e, t) {
if (t === null)
return this.isReference && m("null is not a valid " + this.name), 0;
t.$$ || m('Cannot pass "' + Me(t) + '" as a ' + this.name), t.$$.ptr || m("Cannot pass deleted object as a pointer of type " + this.name);
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);
return n;
}
function $r(e, t) {
function Ar(e, t) {
var r;
if (t === null)
return this.isReference && m("null is not a valid " + this.name), this.isSmartPointer ? (r = this.rawConstructor(), e !== null && e.push(this.rawDestructor, r), r) : 0;
t.$$ || m('Cannot pass "' + Me(t) + '" as a ' + this.name), t.$$.ptr || m("Cannot pass deleted object as a pointer of type " + this.name), !this.isConst && t.$$.ptrType.isConst && m("Cannot convert argument of type " + (t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name) + " to parameter type " + this.name);
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 && m("Passing raw pointer to smart pointer is illegal"), this.sharingPolicy) {
switch (t.$$.smartPtr === void 0 && y("Passing raw pointer to smart pointer is illegal"), this.sharingPolicy) {
case 0:
t.$$.smartPtrType === this ? r = t.$$.smartPtr : m("Cannot convert argument of type " + (t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name) + " to parameter type " + this.name);
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);
break;

@@ -612,17 +591,17 @@ case 1:

default:
m("Unsupporting sharing policy");
y("Unsupporting sharing policy");
}
return r;
}
function Fr(e, t) {
function $r(e, t) {
if (t === null)
return this.isReference && m("null is not a valid " + this.name), 0;
t.$$ || m('Cannot pass "' + Me(t) + '" as a ' + this.name), t.$$.ptr || m("Cannot pass deleted object as a pointer of type " + this.name), t.$$.ptrType.isConst && m("Cannot convert argument of type " + t.$$.ptrType.name + " to parameter type " + this.name);
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);
return n;
}
function Er(e) {
function Fr(e) {
return this.rawGetPointee && (e = this.rawGetPointee(e)), e;
}
function Rr(e) {
function Er(e) {
this.rawDestructor && this.rawDestructor(e);

@@ -633,38 +612,43 @@ }

}
function Dr() {
M.prototype.getPointee = Er, M.prototype.destructor = Rr, M.prototype.argPackAdvance = 8, M.prototype.readValueFromPointer = ne, M.prototype.deleteObject = Sr, M.prototype.fromWireType = yr;
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 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 = Ar, this.destructorFunction = null) : (this.toWireType = Fr, this.destructorFunction = null) : this.toWireType = $r;
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 pt(e, t, r) {
u.hasOwnProperty(e) || we("Replacing nonexistant public symbol"), u[e].overloadTable !== void 0 && r !== void 0 ? u[e].overloadTable[r] = t : (u[e] = t, u[e].argCount = 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 kr(e, t, r) {
function Dr(e, t, r) {
var n = u["dynCall_" + e];
return r && r.length ? n.apply(null, [t].concat(r)) : n.call(null, t);
}
function Or(e, t, 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;
}
function kr(e, t, r) {
if (e.includes("j"))
return kr(e, t, r);
var n = y(t).apply(null, r);
return Dr(e, t, r);
var n = b(t).apply(null, r);
return n;
}
function Wr(e, t) {
function Or(e, t) {
var r = [];
return function() {
return r.length = 0, Object.assign(r, arguments), Or(e, t, r);
return r.length = 0, Object.assign(r, arguments), kr(e, t, r);
};
}
function O(e, t) {
e = S(e);
e = R(e);
function r() {
return e.includes("j") ? Wr(e, t) : y(t);
return e.includes("j") ? Or(e, t) : b(t);
}
var n = r();
return typeof n != "function" && m("unknown function pointer with signature " + e + ": " + t), n;
return typeof n != "function" && y("unknown function pointer with signature " + e + ": " + t), n;
}
var ht = void 0;
function _t(e) {
var t = At(e), r = S(t);
var t = Tt(e), r = R(t);
return I(t), r;

@@ -676,4 +660,4 @@ }

if (!n[a] && !z[a]) {
if (me[a]) {
me[a].forEach(i);
if (ye[a]) {
ye[a].forEach(i);
return;

@@ -686,4 +670,4 @@ }

}
function Ur(e, t, r, n, i, a, s, o, f, c, d, p, h) {
d = S(d), a = O(i, a), o && (o = O(s, o)), c && (c = O(f, c)), h = O(p, h);
function Wr(e, t, r, 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);

@@ -696,3 +680,3 @@ vt(g, function() {

n ? (E = P.registeredClass, C = E.instancePrototype) : C = Y.prototype;
var R = at(g, function() {
var S = at(g, function() {
if (Object.getPrototypeOf(this) !== l)

@@ -706,16 +690,16 @@ throw new Q("Use 'new' to construct " + d);

return $e.apply(this, arguments);
}), l = Object.create(C, { constructor: { value: R } });
R.prototype = l;
var v = new Tr(d, R, l, h, E, a, o, c), A = new M(d, v, !0, !1, !1), F = new M(d + "*", v, !1, !1, !1), Z = new M(d + " const*", v, !1, !0, !1);
return lt[e] = { pointerType: F, constPointerType: Z }, pt(g, R), [A, F, Z];
}), l = Object.create(C, { 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];
});
}
function je(e, t) {
function He(e, t) {
for (var r = [], n = 0; n < e; n++)
r.push($[t + n * 4 >> 2]);
r.push(A[t + n * 4 >> 2]);
return r;
}
function He(e, t, r, n, i, a) {
function je(e, t, r, n, i, a) {
var s = t.length;
s < 2 && m("argTypes array size mismatch! Must at least get return value and 'this' types!");
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)

@@ -728,3 +712,3 @@ if (t[c] !== null && t[c].destructorFunction === void 0) {

return function() {
arguments.length !== p && m("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!"), P.length = 0;
var E;

@@ -734,3 +718,3 @@ g.length = o ? 2 : 1, g[0] = i, o && (E = t[1].toWireType(P, this), g[1] = E);

h[C] = t[C + 2].toWireType(P, arguments[C]), g.push(h[C]);
var R = n.apply(null, g);
var S = n.apply(null, g);
function l(v) {

@@ -740,5 +724,5 @@ if (f)

else
for (var A = o ? 1 : 2; A < t.length; A++) {
var F = A === 1 ? E : h[A - 2];
t[A].destructorFunction !== null && t[A].destructorFunction(F);
for (var T = o ? 1 : 2; T < t.length; T++) {
var $ = T === 1 ? E : h[T - 2];
t[T].destructorFunction !== null && t[T].destructorFunction($);
}

@@ -748,8 +732,8 @@ if (d)

}
return l(R);
return l(S);
};
}
function jr(e, t, r, n, i, a) {
kt(t > 0);
var s = je(t, r);
function Ur(e, t, r, n, i, a) {
Ot(t > 0);
var s = He(t, r);
i = O(n, i), X([], [e], function(o) {

@@ -763,3 +747,3 @@ o = o[0];

}, X([], s, function(c) {
return c.splice(1, 0, null), o.registeredClass.constructor_body[t - 1] = He(f, c, null, i, a), [];
return c.splice(1, 0, null), o.registeredClass.constructor_body[t - 1] = je(f, c, null, i, a), [];
}), [];

@@ -769,4 +753,4 @@ });

function Hr(e, t, r, n, i, a, s, o, f) {
var c = je(r, n);
t = S(t), a = O(i, a), X([], [e], function(d) {
var c = He(r, n);
t = R(t), a = O(i, a), X([], [e], function(d) {
d = d[0];

@@ -780,3 +764,3 @@ var p = d.name + "." + 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 = He(p, E, d, a, s);
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, [];

@@ -786,3 +770,3 @@ }), [];

}
function Mr() {
function jr() {
this.allocated = [void 0], this.freelist = [], this.get = function(e) {

@@ -797,7 +781,7 @@ return this.allocated[e];

}
var k = new Mr();
var k = new jr();
function gt(e) {
e >= k.reserved && --k.get(e).refcount === 0 && k.free(e);
}
function Ir() {
function Mr() {
for (var e = 0, t = k.reserved; t < k.allocated.length; ++t)

@@ -807,6 +791,6 @@ k.allocated[t] !== void 0 && ++e;

}
function xr() {
k.allocated.push({ value: void 0 }, { value: null }, { value: !0 }, { value: !1 }), k.reserved = k.allocated.length, u.count_emval_handles = Ir;
function Ir() {
k.allocated.push({ value: void 0 }, { value: null }, { value: !0 }, { value: !1 }), k.reserved = k.allocated.length, u.count_emval_handles = Mr;
}
var Ce = { toValue: (e) => (e || m("Cannot use deleted val. handle = " + e), k.get(e).value), toHandle: (e) => {
var Ce = { toValue: (e) => (e || y("Cannot use deleted val. handle = " + e), k.get(e).value), toHandle: (e) => {
switch (e) {

@@ -825,4 +809,4 @@ case void 0:

} };
function Yr(e, t) {
t = S(t), H(e, { name: t, fromWireType: function(r) {
function xr(e, t) {
t = R(t), j(e, { name: t, fromWireType: function(r) {
var n = Ce.toValue(r);

@@ -840,3 +824,3 @@ return gt(r), n;

}
function Vr(e, t) {
function Yr(e, t) {
switch (t) {

@@ -855,20 +839,20 @@ case 2:

}
function Nr(e, t, r) {
function Vr(e, t, r) {
var n = De(r);
t = S(t), H(e, { name: t, fromWireType: function(i) {
t = R(t), j(e, { name: t, fromWireType: function(i) {
return i;
}, toWireType: function(i, a) {
return a;
}, argPackAdvance: 8, readValueFromPointer: Vr(t, n), destructorFunction: null });
}, argPackAdvance: 8, readValueFromPointer: Yr(t, n), destructorFunction: null });
}
function Br(e, t, r, n, i, a, s) {
var o = je(t, r);
e = S(e), i = O(n, i), vt(e, function() {
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) {
var c = [f[0], null].concat(f.slice(1));
return pt(e, He(e, c, null, i, a), t - 1), [];
return pt(e, je(e, c, null, i, a), t - 1), [];
});
}
function Lr(e, t, r) {
function Br(e, t, r) {
switch (t) {

@@ -889,5 +873,5 @@ case 0:

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

@@ -898,4 +882,4 @@ default:

}
function zr(e, t, r, n, i) {
t = S(t);
function Lr(e, t, r, n, i) {
t = R(t);
var a = De(r), s = (p) => p;

@@ -912,12 +896,12 @@ if (n === 0) {

return c(h, this.name), h;
}, H(e, { name: t, fromWireType: s, toWireType: d, argPackAdvance: 8, readValueFromPointer: Lr(t, a, n !== 0), destructorFunction: null });
}, j(e, { name: t, fromWireType: s, toWireType: d, argPackAdvance: 8, readValueFromPointer: Br(t, a, n !== 0), destructorFunction: null });
}
function Xr(e, t, r) {
function zr(e, t, r) {
var n = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array], i = n[t];
function a(s) {
s = s >> 2;
var o = $, f = o[s], c = o[s + 1];
var o = A, f = o[s], c = o[s + 1];
return new i(o.buffer, c, f);
}
r = S(r), H(e, { name: r, fromWireType: a, argPackAdvance: 8, readValueFromPointer: a }, { ignoreDuplicateRegistrations: !0 });
r = R(r), j(e, { name: r, fromWireType: a, argPackAdvance: 8, readValueFromPointer: a }, { ignoreDuplicateRegistrations: !0 });
}

@@ -953,3 +937,3 @@ function yt(e, t, r, n) {

}
function Zr(e, t, r) {
function Xr(e, t, r) {
return yt(e, D, t, r);

@@ -965,3 +949,3 @@ }

var wt = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0;
function Gr(e, t, r) {
function Zr(e, t, r) {
for (var n = t + r, i = t; e[i] && !(i >= n); )

@@ -993,9 +977,9 @@ ++i;

function Ie(e, t) {
return e ? Gr(D, e, t) : "";
return e ? Zr(D, e, t) : "";
}
function qr(e, t) {
t = S(t);
function Gr(e, t) {
t = R(t);
var r = t === "std::string";
H(e, { name: t, fromWireType: function(n) {
var i = $[n >> 2], a = n + 4, s;
j(e, { name: t, fromWireType: function(n) {
var i = A[n >> 2], a = n + 4, s;
if (r)

@@ -1018,10 +1002,10 @@ for (var o = a, f = 0; f <= i; ++f) {

var a, s = typeof i == "string";
s || i instanceof Uint8Array || i instanceof Uint8ClampedArray || i instanceof Int8Array || m("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"), r && s ? a = mt(i) : a = i.length;
var o = Ye(4 + a + 1), f = o + 4;
if ($[o >> 2] = a, r && s)
Zr(i, f, a + 1);
if (A[o >> 2] = a, r && s)
Xr(i, f, a + 1);
else if (s)
for (var c = 0; c < a; ++c) {
var d = i.charCodeAt(c);
d > 255 && (I(f), m("String has UTF-16 code units that do not fit in 8 bits")), D[f + c] = d;
d > 255 && (I(f), y("String has UTF-16 code units that do not fit in 8 bits")), D[f + c] = d;
}

@@ -1037,3 +1021,3 @@ else

var bt = typeof TextDecoder < "u" ? new TextDecoder("utf-16le") : void 0;
function Jr(e, t) {
function qr(e, t) {
for (var r = e, n = r >> 1, i = n + t / 2; !(n >= i) && ve[n]; )

@@ -1051,3 +1035,3 @@ ++n;

}
function Kr(e, t, r) {
function Jr(e, t, r) {
if (r === void 0 && (r = 2147483647), r < 2)

@@ -1062,8 +1046,8 @@ return 0;

}
function Qr(e) {
function Kr(e) {
return e.length * 2;
}
function en(e, t) {
function Qr(e, t) {
for (var r = 0, n = ""; !(r >= t / 4); ) {
var i = T[e + r * 4 >> 2];
var i = F[e + r * 4 >> 2];
if (i == 0)

@@ -1079,3 +1063,3 @@ break;

}
function tn(e, t, r) {
function en(e, t, r) {
if (r === void 0 && (r = 2147483647), r < 4)

@@ -1089,8 +1073,8 @@ return 0;

}
if (T[t >> 2] = s, t += 4, t + 4 > i)
if (F[t >> 2] = s, t += 4, t + 4 > i)
break;
}
return T[t >> 2] = 0, t - n;
return F[t >> 2] = 0, t - n;
}
function rn(e) {
function tn(e) {
for (var t = 0, r = 0; r < e.length; ++r) {

@@ -1102,7 +1086,7 @@ var n = e.charCodeAt(r);

}
function nn(e, t, r) {
r = S(r);
function rn(e, t, r) {
r = R(r);
var n, i, a, s, o;
t === 2 ? (n = Jr, i = Kr, s = Qr, a = () => ve, o = 1) : t === 4 && (n = en, i = tn, s = rn, a = () => $, o = 2), H(e, { name: r, fromWireType: function(f) {
for (var c = $[f >> 2], d = a(), p, h = f + 4, g = 0; g <= c; ++g) {
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;

@@ -1116,5 +1100,5 @@ if (g == c || d[P >> o] == 0) {

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

@@ -1124,35 +1108,35 @@ I(f);

}
function an(e, t, r, n, i, a) {
ye[e] = { name: S(t), rawConstructor: O(r, n), rawDestructor: O(i, a), fields: [] };
function nn(e, t, r, n, i, a) {
ge[e] = { name: R(t), rawConstructor: O(r, n), rawDestructor: O(i, a), fields: [] };
}
function on(e, t, r, n, i, a, s, o, f, c) {
ye[e].fields.push({ fieldName: S(t), getterReturnType: r, getter: O(n, i), getterContext: a, setterArgumentType: s, setter: O(o, f), setterContext: c });
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 sn(e, t) {
t = S(t), H(e, { isVoid: !0, name: t, argPackAdvance: 0, fromWireType: function() {
function on(e, t) {
t = R(t), j(e, { isVoid: !0, name: t, argPackAdvance: 0, fromWireType: function() {
}, toWireType: function(r, n) {
} });
}
function un(e) {
function sn(e) {
e > 4 && (k.get(e).refcount += 1);
}
function fn(e, t) {
function un(e, t) {
var r = z[e];
return r === void 0 && m(t + " has unknown type " + _t(e)), r;
return r === void 0 && y(t + " has unknown type " + _t(e)), r;
}
function cn(e, t) {
e = fn(e, "_emval_take_value");
function fn(e, t) {
e = un(e, "_emval_take_value");
var r = e.readValueFromPointer(t);
return Ce.toHandle(r);
}
function ln() {
function cn() {
J("");
}
function dn(e, t, r) {
function ln(e, t, r) {
D.copyWithin(e, t, t + r);
}
function vn() {
function dn() {
return 2147483648;
}
function pn(e) {
function vn(e) {
var t = de.buffer;

@@ -1164,6 +1148,6 @@ try {

}
function hn(e) {
function pn(e) {
var t = D.length;
e = e >>> 0;
var r = vn();
var r = dn();
if (e > r)

@@ -1175,3 +1159,3 @@ return !1;

a = Math.min(a, e + 100663296);
var s = Math.min(r, n(Math.max(e, a), 65536)), o = pn(s);
var s = Math.min(r, n(Math.max(e, a), 65536)), o = vn(s);
if (o)

@@ -1183,3 +1167,3 @@ return !0;

var xe = {};
function _n() {
function hn() {
return Be || "./this.program";

@@ -1189,3 +1173,3 @@ }

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, _: _n() };
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)

@@ -1200,3 +1184,3 @@ xe[r] === void 0 ? delete t[r] : t[r] = xe[r];

}
function gn(e, t) {
function _n(e, t) {
for (var r = 0; r < e.length; ++r)

@@ -1206,18 +1190,18 @@ U[t++ >> 0] = e.charCodeAt(r);

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

@@ -1228,3 +1212,3 @@ }

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

@@ -1235,3 +1219,3 @@ ;

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 Pn(e, t) {
function bn(e, t) {
for (var r = new Date(e.getTime()); t > 0; ) {

@@ -1246,18 +1230,18 @@ var n = Te(r.getFullYear()), i = r.getMonth(), a = (n ? Pt : Ct)[i];

}
function Cn(e, t, r) {
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 Tn(e, t) {
function Cn(e, t) {
U.set(e, t);
}
function An(e, t, r, n) {
var i = T[n + 40 >> 2], a = { tm_sec: T[n >> 2], tm_min: T[n + 4 >> 2], tm_hour: T[n + 8 >> 2], tm_mday: T[n + 12 >> 2], tm_mon: T[n + 16 >> 2], tm_year: T[n + 20 >> 2], tm_wday: T[n + 24 >> 2], tm_yday: T[n + 28 >> 2], tm_isdst: T[n + 32 >> 2], tm_gmtoff: T[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 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" };
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, A) {
for (var F = typeof l == "number" ? l.toString() : l || ""; F.length < v; )
F = A[0] + F;
return F;
function p(l, v, T) {
for (var $ = typeof l == "number" ? l.toString() : l || ""; $.length < v; )
$ = T[0] + $;
return $;
}

@@ -1268,7 +1252,7 @@ function h(l, v) {

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

@@ -1294,3 +1278,3 @@ function P(l) {

function E(l) {
var v = Pn(new Date(l.tm_year + 1900, 0, 1), l.tm_yday), A = new Date(v.getFullYear(), 0, 4), F = new Date(v.getFullYear() + 1, 0, 4), Z = P(A), $e = P(F);
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;

@@ -1323,3 +1307,3 @@ }

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

@@ -1347,9 +1331,9 @@ return h(l.tm_mon + 1, 2);

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

@@ -1367,4 +1351,4 @@ return h(v, 2);

}, "%z": function(l) {
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);
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);
}, "%Z": function(l) {

@@ -1379,11 +1363,11 @@ return l.tm_zone;

s = s.replace(/\0\0/g, "%");
var R = Cn(s, !1);
return R.length > t ? 0 : (Tn(R, e), R.length - 1);
var S = Pn(s, !1);
return S.length > t ? 0 : (Cn(S, e), S.length - 1);
}
function $n(e, t, r, n, i) {
return An(e, t, r, n);
function An(e, t, r, n, i) {
return Tn(e, t, r, n);
}
ot = u.InternalError = Se(Error, "InternalError"), sr(), Q = u.BindingError = Se(Error, "BindingError"), Cr(), hr(), Dr(), ht = u.UnboundTypeError = Se(Error, "UnboundTypeError"), xr();
var Fn = { q: zt, v: Zt, a: qt, h: Jt, l: Kt, I: Qt, S: er, n: tr, Z: rr, d: Gt, la: ar, U: or, ba: ur, ka: Ur, ja: jr, D: Hr, aa: Yr, Q: Nr, R: Br, x: zr, t: Xr, P: qr, K: nn, N: an, ma: on, ca: sn, ga: gt, ha: un, ia: cn, J: ln, $: dn, _: hn, X: yn, Y: mn, H: Ln, O: ei, B: zn, o: Nn, b: En, C: Bn, ea: Zn, c: kn, i: Mn, j: Yn, r: In, w: Vn, G: qn, M: Jn, A: Xn, F: ti, V: ni, T: ii, k: On, g: Dn, e: Sn, f: Rn, L: Qn, m: xn, p: Wn, fa: jn, u: Hn, da: Kn, z: Gn, s: Un, E: ri, y: wn, W: $n };
Bt();
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();
var I = u._free = function() {

@@ -1393,18 +1377,18 @@ return (I = u._free = u.asm.pa).apply(null, arguments);

return (Ye = u._malloc = u.asm.qa).apply(null, arguments);
}, Tt = function() {
return (Tt = u.asm.ra).apply(null, arguments);
}, At = u.___getTypeName = function() {
return (At = u.___getTypeName = u.asm.ta).apply(null, arguments);
}, Tt = u.___getTypeName = function() {
return (Tt = u.___getTypeName = u.asm.sa).apply(null, arguments);
};
u.__embind_initialize_bindings = function() {
return (u.__embind_initialize_bindings = u.asm.ua).apply(null, arguments);
return (u.__embind_initialize_bindings = u.asm.ta).apply(null, arguments);
};
var _ = function() {
return (_ = u.asm.va).apply(null, arguments);
return (_ = u.asm.ua).apply(null, arguments);
}, fe = function() {
return (fe = u.asm.wa).apply(null, arguments);
return (fe = u.asm.va).apply(null, arguments);
}, m = function() {
return (m = u.asm.wa).apply(null, arguments);
}, w = function() {
return (w = u.asm.xa).apply(null, arguments);
}, b = function() {
return (b = u.asm.ya).apply(null, arguments);
}, At = function() {
return (At = u.asm.ya).apply(null, arguments);
}, $t = function() {

@@ -1414,24 +1398,26 @@ return ($t = u.asm.za).apply(null, arguments);

return (Ft = u.asm.Aa).apply(null, arguments);
}, Et = function() {
return (Et = u.asm.Ba).apply(null, arguments);
};
u.dynCall_viijii = function() {
return (u.dynCall_viijii = u.asm.Ba).apply(null, arguments);
return (u.dynCall_viijii = u.asm.Ca).apply(null, arguments);
};
var Et = u.dynCall_jiii = function() {
return (Et = u.dynCall_jiii = u.asm.Ca).apply(null, arguments);
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.Da).apply(null, arguments);
return (Rt = u.dynCall_jiiii = u.asm.Ea).apply(null, arguments);
};
u.dynCall_iiiiij = function() {
return (u.dynCall_iiiiij = u.asm.Ea).apply(null, arguments);
return (u.dynCall_iiiiij = u.asm.Fa).apply(null, arguments);
}, u.dynCall_iiiiijj = function() {
return (u.dynCall_iiiiijj = u.asm.Fa).apply(null, arguments);
return (u.dynCall_iiiiijj = u.asm.Ga).apply(null, arguments);
}, u.dynCall_iiiiiijj = function() {
return (u.dynCall_iiiiiijj = u.asm.Ga).apply(null, arguments);
return (u.dynCall_iiiiiijj = u.asm.Ha).apply(null, arguments);
};
function En(e, t) {
var r = w();
function Fn(e, t) {
var r = m();
try {
return y(e)(t);
return b(e)(t);
} catch (n) {
if (b(r), n !== n + 0)
if (w(r), n !== n + 0)
throw n;

@@ -1441,8 +1427,8 @@ _(1, 0);

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

@@ -1453,7 +1439,7 @@ _(1, 0);

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

@@ -1463,8 +1449,8 @@ _(1, 0);

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

@@ -1474,8 +1460,8 @@ _(1, 0);

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

@@ -1485,8 +1471,8 @@ _(1, 0);

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

@@ -1496,8 +1482,8 @@ _(1, 0);

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

@@ -1507,8 +1493,8 @@ _(1, 0);

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

@@ -1518,8 +1504,8 @@ _(1, 0);

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

@@ -1530,7 +1516,7 @@ _(1, 0);

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

@@ -1540,8 +1526,8 @@ _(1, 0);

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

@@ -1551,8 +1537,8 @@ _(1, 0);

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

@@ -1562,8 +1548,8 @@ _(1, 0);

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

@@ -1573,8 +1559,8 @@ _(1, 0);

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

@@ -1584,8 +1570,8 @@ _(1, 0);

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

@@ -1595,8 +1581,8 @@ _(1, 0);

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

@@ -1606,8 +1592,8 @@ _(1, 0);

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

@@ -1617,8 +1603,8 @@ _(1, 0);

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

@@ -1628,8 +1614,8 @@ _(1, 0);

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

@@ -1639,8 +1625,8 @@ _(1, 0);

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

@@ -1650,8 +1636,8 @@ _(1, 0);

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

@@ -1661,8 +1647,8 @@ _(1, 0);

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

@@ -1672,8 +1658,8 @@ _(1, 0);

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

@@ -1683,8 +1669,8 @@ _(1, 0);

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

@@ -1694,8 +1680,8 @@ _(1, 0);

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

@@ -1705,8 +1691,8 @@ _(1, 0);

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

@@ -1716,8 +1702,8 @@ _(1, 0);

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

@@ -1727,8 +1713,8 @@ _(1, 0);

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

@@ -1738,18 +1724,18 @@ _(1, 0);

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

@@ -1759,8 +1745,8 @@ _(1, 0);

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

@@ -1772,9 +1758,9 @@ _(1, 0);

re = function e() {
Ae || St(), Ae || (re = e);
Ae || Dt(), Ae || (re = e);
};
function St() {
if (B > 0 || (Ot(), B > 0))
function Dt() {
if (B > 0 || (Wt(), B > 0))
return;
function e() {
Ae || (Ae = !0, u.calledRun = !0, !ze && (Wt(), G(u), u.onRuntimeInitialized && u.onRuntimeInitialized(), Ut()));
Ae || (Ae = !0, u.calledRun = !0, !ze && (Ut(), G(u), u.onRuntimeInitialized && u.onRuntimeInitialized(), Ht()));
}

@@ -1790,9 +1776,9 @@ u.setStatus ? (u.setStatus("Running..."), setTimeout(function() {

u.preInit.pop()();
return St(), N.ready;
return Dt(), N.ready;
};
})();
function fi(x) {
return ai(Ve, x);
function ui(x) {
return ii(Ve, x);
}
async function ci(x, {
async function fi(x, {
tryHarder: N = V.tryHarder,

@@ -1802,3 +1788,3 @@ formats: u = V.formats,

} = V) {
return oi(
return ai(
x,

@@ -1813,3 +1799,3 @@ {

}
async function li(x, {
async function ci(x, {
tryHarder: N = V.tryHarder,

@@ -1819,3 +1805,3 @@ formats: u = V.formats,

} = V) {
return si(
return oi(
x,

@@ -1831,11 +1817,11 @@ {

export {
pi as ZXING_BARCODE_FORMAT_NAMES,
hi as ZXING_CHARACTOR_SET_NAMES,
vi as ZXING_BARCODE_FORMAT_NAMES,
pi as ZXING_CHARACTOR_SET_NAMES,
V as defaultZXingReadOptions,
_i as defaultZXingWriteOptions,
fi as getZXingModule,
gi as purgeZXingModule,
li as readBarcodeFromImageData,
ci as readBarcodeFromImageFile,
yi as setZXingModuleOverrides
hi as defaultZXingWriteOptions,
ui as getZXingModule,
_i as purgeZXingModule,
ci as readBarcodeFromImageData,
fi as readBarcodeFromImageFile,
gi as setZXingModuleOverrides
};

@@ -1,4 +0,4 @@

import { g as gn, w as yn, c as L } from "../core-a879f5a9.js";
import { Z as Cn, b as Tn, d as $n, p as An, s as Rn } from "../core-a879f5a9.js";
var vt = (() => {
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";
var gt = (() => {
var N = import.meta.url;

@@ -12,8 +12,8 @@ return function(q = {}) {

typeof process == "object" && typeof process.versions == "object" && process.versions.node;
var E = "";
function gt(e) {
return o.locateFile ? o.locateFile(e, E) : E + e;
var F = "";
function yt(e) {
return o.locateFile ? o.locateFile(e, F) : F + e;
}
var Ce;
(se || ue) && (ue ? E = self.location.href : typeof document < "u" && document.currentScript && (E = document.currentScript.src), N && (E = N), E.indexOf("blob:") !== 0 ? E = E.substr(0, E.replace(/[?#].*/, "").lastIndexOf("/") + 1) : E = "", ue && (Ce = (e) => {
(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 t = new XMLHttpRequest();

@@ -26,24 +26,24 @@ return t.open("GET", e, !1), t.responseType = "arraybuffer", t.send(null), new Uint8Array(t.response);

o.wasmBinary && (K = o.wasmBinary), o.noExitRuntime, typeof WebAssembly != "object" && J("no native wasm support detected");
var fe, Ue = !1, j, C, X, ce, $, y, We, Ie;
var fe, Ue = !1, I, C, X, ce, j, g, We, Ie;
function je() {
var e = fe.buffer;
o.HEAP8 = j = new Int8Array(e), o.HEAP16 = X = new Int16Array(e), o.HEAP32 = $ = new Int32Array(e), o.HEAPU8 = C = new Uint8Array(e), o.HEAPU16 = ce = new Uint16Array(e), o.HEAPU32 = y = new Uint32Array(e), o.HEAPF32 = We = new Float32Array(e), o.HEAPF64 = Ie = new Float64Array(e);
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);
}
var He, xe = [], Me = [], Ve = [];
function yt() {
function _t() {
if (o.preRun)
for (typeof o.preRun == "function" && (o.preRun = [o.preRun]); o.preRun.length; )
wt(o.preRun.shift());
bt(o.preRun.shift());
Te(xe);
}
function _t() {
function mt() {
Te(Me);
}
function mt() {
function wt() {
if (o.postRun)
for (typeof o.postRun == "function" && (o.postRun = [o.postRun]); o.postRun.length; )
bt(o.postRun.shift());
Ct(o.postRun.shift());
Te(Ve);
}
function wt(e) {
function bt(e) {
xe.unshift(e);

@@ -54,10 +54,10 @@ }

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

@@ -73,8 +73,8 @@ var t = Q;

}
var $t = "data:application/octet-stream;base64,";
var At = "data:application/octet-stream;base64,";
function Be(e) {
return e.startsWith($t);
return e.startsWith(At);
}
var x;
o.locateFile ? (x = "zxing_writer.wasm", Be(x) || (x = gt(x))) : x = new URL("/writer/zxing_writer.wasm", self.location).href;
o.locateFile ? (x = "zxing_writer.wasm", Be(x) || (x = yt(x))) : x = new URL("/writer/zxing_writer.wasm", self.location).href;
function Le(e) {

@@ -91,3 +91,3 @@ try {

}
function At(e) {
function Rt(e) {
return !K && (se || ue) && typeof fetch == "function" ? fetch(e, { credentials: "same-origin" }).then(function(t) {

@@ -104,3 +104,3 @@ if (!t.ok)

function Ne(e, t, r) {
return At(e).then(function(n) {
return Rt(e).then(function(n) {
return WebAssembly.instantiate(n, t);

@@ -113,3 +113,3 @@ }).then(function(n) {

}
function Rt(e, t, r, n) {
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) {

@@ -122,9 +122,9 @@ var a = WebAssembly.instantiateStreaming(i, r);

}
function Ft() {
var e = { a: en };
function Et() {
var e = { a: Yr };
function t(n, i) {
var a = n.exports;
return o.asm = a, fe = o.asm.P, je(), He = o.asm.U, Pt(o.asm.Q), Tt(), a;
return o.asm = a, fe = o.asm.P, je(), He = o.asm.T, Pt(o.asm.Q), $t(), a;
}
Ct();
Tt();
function r(n) {

@@ -139,3 +139,3 @@ t(n.instance);

}
return Rt(K, x, e, r).catch(Z), {};
return Ft(K, x, e, r).catch(Z), {};
}

@@ -147,60 +147,39 @@ function Te(e) {

var le = [];
function Et(e) {
e.add_ref();
}
function kt(e) {
var t = new $e(e);
return t.get_caught() || t.set_caught(!0), t.set_rethrown(!1), le.push(t), Et(t), t.get_exception_ptr();
return t.get_caught() || t.set_caught(!0), t.set_rethrown(!1), le.push(t), ct(t.excPtr), t.get_exception_ptr();
}
var S = 0, de = [];
function g(e) {
var t = de[e];
return t || (e >= de.length && (de.length = e + 1), de[e] = t = He.get(e)), t;
}
function St(e) {
if (e.release_ref() && !e.get_rethrown()) {
var t = e.get_destructor();
t && g(t)(e.excPtr), ut(e.excPtr);
}
}
function Ot() {
var k = 0;
function St() {
_(0);
var e = le.pop();
St(e), S = 0;
ft(e.excPtr), k = 0;
}
function $e(e) {
this.excPtr = e, this.ptr = e - 24, this.set_type = function(t) {
y[this.ptr + 4 >> 2] = t;
g[this.ptr + 4 >> 2] = t;
}, this.get_type = function() {
return y[this.ptr + 4 >> 2];
return g[this.ptr + 4 >> 2];
}, this.set_destructor = function(t) {
y[this.ptr + 8 >> 2] = t;
g[this.ptr + 8 >> 2] = t;
}, this.get_destructor = function() {
return y[this.ptr + 8 >> 2];
}, this.set_refcount = function(t) {
$[this.ptr >> 2] = t;
return g[this.ptr + 8 >> 2];
}, this.set_caught = function(t) {
t = t ? 1 : 0, j[this.ptr + 12 >> 0] = t;
t = t ? 1 : 0, I[this.ptr + 12 >> 0] = t;
}, this.get_caught = function() {
return j[this.ptr + 12 >> 0] != 0;
return I[this.ptr + 12 >> 0] != 0;
}, this.set_rethrown = function(t) {
t = t ? 1 : 0, j[this.ptr + 13 >> 0] = t;
t = t ? 1 : 0, I[this.ptr + 13 >> 0] = t;
}, this.get_rethrown = function() {
return j[this.ptr + 13 >> 0] != 0;
return I[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_refcount(0), this.set_caught(!1), this.set_rethrown(!1);
}, this.add_ref = function() {
var t = $[this.ptr >> 2];
$[this.ptr >> 2] = t + 1;
}, this.release_ref = function() {
var t = $[this.ptr >> 2];
return $[this.ptr >> 2] = t - 1, t === 1;
this.set_adjusted_ptr(0), this.set_type(t), this.set_destructor(r);
}, this.set_adjusted_ptr = function(t) {
y[this.ptr + 16 >> 2] = t;
g[this.ptr + 16 >> 2] = t;
}, this.get_adjusted_ptr = function() {
return y[this.ptr + 16 >> 2];
return g[this.ptr + 16 >> 2];
}, this.get_exception_ptr = function() {
var t = lt(this.get_type());
var t = dt(this.get_type());
if (t)
return y[this.excPtr >> 2];
return g[this.excPtr >> 2];
var r = this.get_adjusted_ptr();

@@ -210,7 +189,7 @@ return r !== 0 ? r : this.excPtr;

}
function Dt(e) {
throw S || (S = e), S;
function Ot(e) {
throw k || (k = e), k;
}
function Ae() {
var e = S;
var e = k;
if (!e)

@@ -228,3 +207,3 @@ return ie(0), 0;

var a = t.ptr + 16;
if (ct(i, r, a))
if (lt(i, r, a))
return ie(i), e;

@@ -234,14 +213,14 @@ }

}
var Ut = Ae, Wt = Ae, It = Ae;
function jt() {
var Dt = Ae, Ut = Ae, Wt = Ae;
function It() {
var e = le.pop();
e || J("no exception to throw");
var t = e.excPtr;
throw e.get_rethrown() || (le.push(e), e.set_rethrown(!0), e.set_caught(!1)), S = t, S;
throw e.get_rethrown() || (le.push(e), e.set_rethrown(!0), e.set_caught(!1)), k = t, k;
}
function Ht(e, t, r) {
function jt(e, t, r) {
var n = new $e(e);
throw n.init(t, r), S = e, S;
throw n.init(t, r), k = e, k;
}
function xt(e, t, r, n, i) {
function Ht(e, t, r, n, i) {
}

@@ -262,3 +241,3 @@ function Re(e) {

}
function Mt() {
function xt() {
for (var e = new Array(256), t = 0; t < 256; ++t)

@@ -274,3 +253,3 @@ e[t] = String.fromCharCode(t);

}
var z = {}, M = {}, pe = {}, Vt = 48, Bt = 57;
var z = {}, M = {}, de = {}, Mt = 48, Vt = 57;
function Xe(e) {

@@ -281,3 +260,3 @@ if (e === void 0)

var t = e.charCodeAt(0);
return t >= Vt && t <= Bt ? "_" + e : e;
return t >= Mt && t <= Vt ? "_" + e : e;
}

@@ -305,14 +284,14 @@ function ze(e, t) {

var qe = void 0;
function he(e) {
function pe(e) {
throw new qe(e);
}
function ve(e, t, r) {
function he(e, t, r) {
e.forEach(function(s) {
pe[s] = t;
de[s] = t;
});
function n(s) {
var f = r(s);
f.length !== e.length && he("Mismatched type converter count");
f.length !== e.length && pe("Mismatched type converter count");
for (var c = 0; c < e.length; ++c)
O(e[c], f[c]);
S(e[c], f[c]);
}

@@ -326,3 +305,3 @@ var i = new Array(t.length), a = [], u = 0;

}
function O(e, t, r = {}) {
function S(e, t, r = {}) {
if (!("argPackAdvance" in t))

@@ -336,3 +315,3 @@ throw new TypeError("registerType registeredInstance requires argPackAdvance");

}
if (M[e] = t, delete pe[e], z.hasOwnProperty(e)) {
if (M[e] = t, delete de[e], z.hasOwnProperty(e)) {
var i = z[e];

@@ -342,5 +321,5 @@ delete z[e], i.forEach((a) => a());

}
function Lt(e, t, r, n, i) {
function Bt(e, t, r, n, i) {
var a = Re(r);
t = T(t), O(e, { name: t, fromWireType: function(u) {
t = T(t), S(e, { name: t, fromWireType: function(u) {
return !!u;

@@ -352,7 +331,7 @@ }, toWireType: function(u, s) {

if (r === 1)
s = j;
s = I;
else if (r === 2)
s = X;
else if (r === 4)
s = $;
s = j;
else

@@ -363,4 +342,4 @@ throw new TypeError("Unknown boolean type size: " + t);

}
function Nt(e) {
if (!(this instanceof W) || !(e instanceof W))
function Lt(e) {
if (!(this instanceof U) || !(e instanceof U))
return !1;

@@ -373,3 +352,3 @@ for (var t = this.$$.ptrType.registeredClass, r = this.$$.ptr, n = e.$$.ptrType.registeredClass, i = e.$$.ptr; t.baseClass; )

}
function Zt(e) {
function Nt(e) {
return { count: e.count, deleteScheduled: e.deleteScheduled, preservePointerOnDelete: e.preservePointerOnDelete, ptr: e.ptr, ptrType: e.ptrType, smartPtr: e.smartPtr, smartPtrType: e.smartPtrType };

@@ -386,3 +365,3 @@ }

}
function Xt(e) {
function Zt(e) {
e.smartPtr ? e.smartPtrType.rawDestructor(e.smartPtr) : e.ptrType.registeredClass.rawDestructor(e.ptr);

@@ -393,3 +372,3 @@ }

var t = e.count.value === 0;
t && Xt(e);
t && Zt(e);
}

@@ -405,6 +384,6 @@ function Qe(e, t, r) {

var Je = {};
function zt() {
function Xt() {
return Object.keys(re).length;
}
function qt() {
function zt() {
var e = [];

@@ -423,10 +402,10 @@ for (var t in re)

var te = void 0;
function Gt(e) {
function qt(e) {
te = e, ee.length && te && te(Se);
}
function Kt() {
o.getInheritedInstanceCount = zt, o.getLiveInheritedInstances = qt, o.flushPendingDeletes = Se, o.setDelayFunction = Gt;
function Gt() {
o.getInheritedInstanceCount = Xt, o.getLiveInheritedInstances = zt, o.flushPendingDeletes = Se, o.setDelayFunction = qt;
}
var re = {};
function Qt(e, t) {
function Kt(e, t) {
for (t === void 0 && d("ptr should not be undefined"); e.baseClass; )

@@ -436,15 +415,15 @@ t = e.upcast(t), e = e.baseClass;

}
function Jt(e, t) {
return t = Qt(e, t), re[t];
function Qt(e, t) {
return t = Kt(e, t), re[t];
}
function ge(e, t) {
(!t.ptrType || !t.ptr) && he("makeClassHandle requires ptr and ptrType");
function ve(e, t) {
(!t.ptrType || !t.ptr) && pe("makeClassHandle requires ptr and ptrType");
var r = !!t.smartPtrType, n = !!t.smartPtr;
return r !== n && he("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, ne(Object.create(e, { $$: { value: t } }));
return r !== n && pe("Both smartPtrType and smartPtr must be specified"), t.count = { value: 1 }, ne(Object.create(e, { $$: { value: t } }));
}
function Yt(e) {
function Jt(e) {
var t = this.getPointee(e);
if (!t)
return this.destructor(e), null;
var r = Jt(this.registeredClass, t);
var r = Qt(this.registeredClass, t);
if (r !== void 0) {

@@ -457,3 +436,3 @@ if (r.$$.count.value === 0)

function i() {
return this.isSmartPointer ? ge(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: t, smartPtrType: this, smartPtr: e }) : ge(this.registeredClass.instancePrototype, { ptrType: this, ptr: e });
return this.isSmartPointer ? ve(this.registeredClass.instancePrototype, { ptrType: this.pointeeType, ptr: t, smartPtrType: this, smartPtr: e }) : ve(this.registeredClass.instancePrototype, { ptrType: this, ptr: e });
}

@@ -466,3 +445,3 @@ var a = this.registeredClass.getActualType(t), u = Je[a];

var f = Qe(t, this.registeredClass, s.registeredClass);
return f === null ? i.call(this) : this.isSmartPointer ? ge(s.registeredClass.instancePrototype, { ptrType: s, ptr: f, smartPtrType: this, smartPtr: e }) : ge(s.registeredClass.instancePrototype, { ptrType: s, ptr: f });
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 });
}

@@ -481,23 +460,23 @@ function ne(e) {

}
function er() {
function Yt() {
if (this.$$.ptr || Ee(this), this.$$.preservePointerOnDelete)
return this.$$.count.value += 1, this;
var e = ne(Object.create(Object.getPrototypeOf(this), { $$: { value: Zt(this.$$) } }));
var e = ne(Object.create(Object.getPrototypeOf(this), { $$: { value: Nt(this.$$) } }));
return e.$$.count.value += 1, e.$$.deleteScheduled = !1, e;
}
function tr() {
function er() {
this.$$.ptr || Ee(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && d("Object already scheduled for deletion"), Ge(this), Ke(this.$$), this.$$.preservePointerOnDelete || (this.$$.smartPtr = void 0, this.$$.ptr = void 0);
}
function rr() {
function tr() {
return !this.$$.ptr;
}
function nr() {
function rr() {
return this.$$.ptr || Ee(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && d("Object already scheduled for deletion"), ee.push(this), ee.length === 1 && te && te(Se), this.$$.deleteScheduled = !0, this;
}
function ir() {
W.prototype.isAliasOf = Nt, W.prototype.clone = er, W.prototype.delete = tr, W.prototype.isDeleted = rr, W.prototype.deleteLater = nr;
function nr() {
U.prototype.isAliasOf = Lt, U.prototype.clone = Yt, U.prototype.delete = er, U.prototype.isDeleted = tr, U.prototype.deleteLater = rr;
}
function W() {
function U() {
}
function ar(e, t, r) {
function ir(e, t, r) {
if (e[t].overloadTable === void 0) {

@@ -511,8 +490,8 @@ var n = e[t];

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"), ar(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));
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));
}
function or(e, t, r, n, i, a, u, s) {
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 ye(e, t, r) {
function ge(e, t, r) {
for (; t !== r; )

@@ -522,10 +501,10 @@ t.upcast || d("Expected null or instance of " + r.name + ", got an instance of " + t.name), e = t.upcast(e), t = t.baseClass;

}
function sr(e, t) {
function or(e, t) {
if (t === null)
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);
var r = t.$$.ptrType.registeredClass, n = ye(t.$$.ptr, r, this.registeredClass);
var r = t.$$.ptrType.registeredClass, n = ge(t.$$.ptr, r, this.registeredClass);
return n;
}
function ur(e, t) {
function sr(e, t) {
var r;

@@ -536,3 +515,3 @@ if (t === null)

var n = t.$$.ptrType.registeredClass;
if (r = ye(t.$$.ptr, n, this.registeredClass), this.isSmartPointer)
if (r = ge(t.$$.ptr, n, this.registeredClass), this.isSmartPointer)
switch (t.$$.smartPtr === void 0 && d("Passing raw pointer to smart pointer is illegal"), this.sharingPolicy) {

@@ -560,44 +539,49 @@ case 0:

}
function fr(e, t) {
function ur(e, t) {
if (t === null)
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);
var r = t.$$.ptrType.registeredClass, n = ye(t.$$.ptr, r, this.registeredClass);
var r = t.$$.ptrType.registeredClass, n = ge(t.$$.ptr, r, this.registeredClass);
return n;
}
function _e(e) {
return this.fromWireType($[e >> 2]);
function ye(e) {
return this.fromWireType(j[e >> 2]);
}
function cr(e) {
function fr(e) {
return this.rawGetPointee && (e = this.rawGetPointee(e)), e;
}
function lr(e) {
function cr(e) {
this.rawDestructor && this.rawDestructor(e);
}
function dr(e) {
function lr(e) {
e !== null && e.delete();
}
function pr() {
D.prototype.getPointee = cr, D.prototype.destructor = lr, D.prototype.argPackAdvance = 8, D.prototype.readValueFromPointer = _e, D.prototype.deleteObject = dr, D.prototype.fromWireType = Yt;
function dr() {
O.prototype.getPointee = fr, O.prototype.destructor = cr, O.prototype.argPackAdvance = 8, O.prototype.readValueFromPointer = ye, O.prototype.deleteObject = lr, O.prototype.fromWireType = Jt;
}
function D(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 = sr, this.destructorFunction = null) : (this.toWireType = fr, this.destructorFunction = null) : this.toWireType = ur;
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 et(e, t, r) {
o.hasOwnProperty(e) || he("Replacing nonexistant public symbol"), o[e].overloadTable !== void 0 && r !== void 0 ? o[e].overloadTable[r] = t : (o[e] = t, o[e].argCount = 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);
}
function hr(e, t, r) {
function pr(e, t, r) {
var n = o["dynCall_" + e];
return r && r.length ? n.apply(null, [t].concat(r)) : n.call(null, t);
}
function vr(e, t, r) {
var _e = [];
function y(e) {
var t = _e[e];
return t || (e >= _e.length && (_e.length = e + 1), _e[e] = t = He.get(e)), t;
}
function hr(e, t, r) {
if (e.includes("j"))
return hr(e, t, r);
var n = g(t).apply(null, r);
return pr(e, t, r);
var n = y(t).apply(null, r);
return n;
}
function gr(e, t) {
function vr(e, t) {
var r = [];
return function() {
return r.length = 0, Object.assign(r, arguments), vr(e, t, r);
return r.length = 0, Object.assign(r, arguments), hr(e, t, r);
};

@@ -608,3 +592,3 @@ }

function r() {
return e.includes("j") ? gr(e, t) : g(t);
return e.includes("j") ? vr(e, t) : y(t);
}

@@ -616,4 +600,4 @@ var n = r();

function rt(e) {
var t = ft(e), r = T(t);
return U(t), r;
var t = ut(e), r = T(t);
return D(t), r;
}

@@ -624,4 +608,4 @@ function me(e, t) {

if (!n[a] && !M[a]) {
if (pe[a]) {
pe[a].forEach(i);
if (de[a]) {
de[a].forEach(i);
return;

@@ -634,3 +618,3 @@ }

}
function yr(e, t, r, n, i, a, u, s, f, c, l, p, h) {
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);

@@ -640,19 +624,19 @@ var v = Xe(l);

me("Cannot construct " + l + " due to unbound types", [n]);
}), ve([e, t, r], n ? [n] : [], function(b) {
b = b[0];
var R, P;
n ? (R = b.registeredClass, P = R.instancePrototype) : P = W.prototype;
var k = ze(v, function() {
}), 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 E = ze(v, function() {
if (Object.getPrototypeOf(this) !== B)
throw new Y("Use 'new' to construct " + l);
if (F.constructor_body === void 0)
if (R.constructor_body === void 0)
throw new Y(l + " has no accessible constructor");
var ht = F.constructor_body[arguments.length];
if (ht === void 0)
throw new Y("Tried to invoke ctor of " + l + " with invalid number of parameters (" + arguments.length + ") - expected (" + Object.keys(F.constructor_body).toString() + ") parameters instead!");
return ht.apply(this, arguments);
}), B = Object.create(P, { constructor: { value: k } });
k.prototype = B;
var F = new or(l, k, B, h, R, a, s, c), I = new D(l, F, !0, !1, !1), be = new D(l + "*", F, !1, !1, !1), pt = new D(l + " const*", F, !1, !0, !1);
return Je[e] = { pointerType: be, constPointerType: pt }, et(v, k), [I, be, pt];
var vt = R.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!");
return vt.apply(this, arguments);
}), B = Object.create(b, { 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];
});

@@ -667,6 +651,6 @@ }

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"), ye(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 _r(e, t, r, n, i, a, u, s, f, c) {
t = T(t), i = V(n, i), ve([], [e], function(l) {
function yr(e, t, r, n, i, a, u, s, f, c) {
t = T(t), i = V(n, i), he([], [e], function(l) {
l = l[0];

@@ -680,20 +664,20 @@ var p = l.name + "." + t, h = { get: function() {

d(p + " is a read-only property");
}, Object.defineProperty(l.registeredClass.instancePrototype, t, h), ve([], f ? [r, u] : [r], function(v) {
var b = v[0], R = { get: function() {
var k = it(this, l, p + " getter");
return b.fromWireType(i(a, k));
}, Object.defineProperty(l.registeredClass.instancePrototype, t, h), he([], f ? [r, u] : [r], function(v) {
var P = v[0], A = { get: function() {
var E = it(this, l, p + " getter");
return P.fromWireType(i(a, E));
}, enumerable: !0 };
if (f) {
f = V(s, f);
var P = v[1];
R.set = function(k) {
var B = it(this, l, p + " setter"), F = [];
f(c, B, P.toWireType(F, k)), nt(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);
};
}
return Object.defineProperty(l.registeredClass.instancePrototype, t, R), [];
return Object.defineProperty(l.registeredClass.instancePrototype, t, A), [];
}), [];
});
}
function mr() {
function _r() {
this.allocated = [void 0], this.freelist = [], this.get = function(e) {

@@ -708,15 +692,15 @@ return this.allocated[e];

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

@@ -732,7 +716,7 @@ case void 0:

default:
return A.allocate({ refcount: 1, value: e });
return $.allocate({ refcount: 1, value: e });
}
} };
function br(e, t) {
t = T(t), O(e, { name: t, fromWireType: function(r) {
t = T(t), S(e, { name: t, fromWireType: function(r) {
var n = we.toValue(r);

@@ -742,3 +726,3 @@ return at(r), n;

return we.toHandle(n);
}, argPackAdvance: 8, readValueFromPointer: _e, destructorFunction: null });
}, argPackAdvance: 8, readValueFromPointer: ye, destructorFunction: null });
}

@@ -751,3 +735,3 @@ function Oe(e) {

}
function Cr(e, t) {
function Pr(e, t) {
switch (t) {

@@ -766,11 +750,11 @@ case 2:

}
function Tr(e, t, r) {
function Cr(e, t, r) {
var n = Re(r);
t = T(t), O(e, { name: t, fromWireType: function(i) {
t = T(t), S(e, { name: t, fromWireType: function(i) {
return i;
}, toWireType: function(i, a) {
return a;
}, argPackAdvance: 8, readValueFromPointer: Cr(t, n), destructorFunction: null });
}, argPackAdvance: 8, readValueFromPointer: Pr(t, n), destructorFunction: null });
}
function $r(e, t, r, n, i, a) {
function Tr(e, t, r, n, i, a) {
var u = t.length;

@@ -783,43 +767,43 @@ u < 2 && d("argTypes array size mismatch! Must at least get return value and 'this' types!");

}
var l = t[0].name !== "void", p = u - 2, h = new Array(p), v = [], b = [];
var l = t[0].name !== "void", p = u - 2, h = new Array(p), v = [], P = [];
return function() {
arguments.length !== p && d("function " + e + " called with " + arguments.length + " arguments, expected " + p + " args!"), b.length = 0;
var R;
v.length = s ? 2 : 1, v[0] = i, s && (R = t[1].toWireType(b, this), v[1] = R);
for (var P = 0; P < p; ++P)
h[P] = t[P + 2].toWireType(b, arguments[P]), v.push(h[P]);
var k = n.apply(null, v);
function B(F) {
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]);
var E = n.apply(null, v);
function B(R) {
if (f)
nt(b);
nt(P);
else
for (var I = s ? 1 : 2; I < t.length; I++) {
var be = I === 1 ? R : h[I - 2];
t[I].destructorFunction !== null && t[I].destructorFunction(be);
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);
}
if (l)
return t[0].fromWireType(F);
return t[0].fromWireType(R);
}
return B(k);
return B(E);
};
}
function Ar(e, t) {
function $r(e, t) {
for (var r = [], n = 0; n < e; n++)
r.push(y[t + n * 4 >> 2]);
r.push(g[t + n * 4 >> 2]);
return r;
}
function Rr(e, t, r, n, i, a, u) {
var s = Ar(t, r);
function Ar(e, t, r, n, i, a, u) {
var s = $r(t, r);
e = T(e), i = V(n, i), Ye(e, function() {
me("Cannot call " + e + " due to unbound types", s);
}, t - 1), ve([], s, function(f) {
}, t - 1), he([], s, function(f) {
var c = [f[0], null].concat(f.slice(1));
return et(e, $r(e, c, null, i, a), t - 1), [];
return et(e, Tr(e, c, null, i, a), t - 1), [];
});
}
function Fr(e, t, r) {
function Rr(e, t, r) {
switch (t) {
case 0:
return r ? function(i) {
return j[i];
return I[i];
} : function(i) {

@@ -836,5 +820,5 @@ return C[i];

return r ? function(i) {
return $[i >> 2];
return j[i >> 2];
} : function(i) {
return y[i >> 2];
return g[i >> 2];
};

@@ -845,3 +829,3 @@ default:

}
function Er(e, t, r, n, i) {
function Fr(e, t, r, n, i) {
t = T(t);

@@ -859,14 +843,14 @@ var a = Re(r), u = (p) => p;

return c(h, this.name), h;
}, O(e, { name: t, fromWireType: u, toWireType: l, argPackAdvance: 8, readValueFromPointer: Fr(t, a, n !== 0), destructorFunction: null });
}, S(e, { name: t, fromWireType: u, toWireType: l, argPackAdvance: 8, readValueFromPointer: Rr(t, a, n !== 0), destructorFunction: null });
}
function kr(e, t, r) {
function Er(e, t, r) {
var n = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array], i = n[t];
function a(u) {
u = u >> 2;
var s = y, f = s[u], c = s[u + 1];
var s = g, f = s[u], c = s[u + 1];
return new i(s.buffer, c, f);
}
r = T(r), O(e, { name: r, fromWireType: a, argPackAdvance: 8, readValueFromPointer: a }, { ignoreDuplicateRegistrations: !0 });
r = T(r), S(e, { name: r, fromWireType: a, argPackAdvance: 8, readValueFromPointer: a }, { ignoreDuplicateRegistrations: !0 });
}
function Sr(e, t, r, n) {
function kr(e, t, r, n) {
if (!(n > 0))

@@ -900,6 +884,6 @@ return 0;

}
function Or(e, t, r) {
return Sr(e, C, t, r);
function Sr(e, t, r) {
return kr(e, C, t, r);
}
function Dr(e) {
function Or(e) {
for (var t = 0, r = 0; r < e.length; ++r) {

@@ -912,3 +896,3 @@ var n = e.charCodeAt(r);

var ot = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0;
function Ur(e, t, r) {
function Dr(e, t, r) {
for (var n = t + r, i = t; e[i] && !(i >= n); )

@@ -939,10 +923,10 @@ ++i;

}
function Ur(e, t) {
return e ? Dr(C, e, t) : "";
}
function Wr(e, t) {
return e ? Ur(C, e, t) : "";
}
function Ir(e, t) {
t = T(t);
var r = t === "std::string";
O(e, { name: t, fromWireType: function(n) {
var i = y[n >> 2], a = n + 4, u;
S(e, { name: t, fromWireType: function(n) {
var i = g[n >> 2], a = n + 4, u;
if (r)

@@ -952,3 +936,3 @@ for (var s = a, f = 0; f <= i; ++f) {

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

@@ -962,14 +946,14 @@ }

}
return U(n), u;
return D(n), u;
}, toWireType: function(n, i) {
i instanceof ArrayBuffer && (i = new Uint8Array(i));
var a, u = typeof i == "string";
u || i instanceof Uint8Array || i instanceof Uint8ClampedArray || i instanceof Int8Array || d("Cannot pass non-string to std::string"), r && u ? a = Dr(i) : a = i.length;
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 (y[s >> 2] = a, r && u)
Or(i, f, a + 1);
if (g[s >> 2] = a, r && u)
Sr(i, f, a + 1);
else if (u)
for (var c = 0; c < a; ++c) {
var l = i.charCodeAt(c);
l > 255 && (U(f), d("String has UTF-16 code units that do not fit in 8 bits")), C[f + c] = l;
l > 255 && (D(f), d("String has UTF-16 code units that do not fit in 8 bits")), C[f + c] = l;
}

@@ -979,9 +963,9 @@ else

C[f + c] = i[c];
return n !== null && n.push(U, s), s;
}, argPackAdvance: 8, readValueFromPointer: _e, destructorFunction: function(n) {
U(n);
return n !== null && n.push(D, s), s;
}, argPackAdvance: 8, readValueFromPointer: ye, destructorFunction: function(n) {
D(n);
} });
}
var st = typeof TextDecoder < "u" ? new TextDecoder("utf-16le") : void 0;
function jr(e, t) {
function Ir(e, t) {
for (var r = e, n = r >> 1, i = n + t / 2; !(n >= i) && ce[n]; )

@@ -999,3 +983,3 @@ ++n;

}
function Hr(e, t, r) {
function jr(e, t, r) {
if (r === void 0 && (r = 2147483647), r < 2)

@@ -1010,8 +994,8 @@ return 0;

}
function xr(e) {
function Hr(e) {
return e.length * 2;
}
function Mr(e, t) {
function xr(e, t) {
for (var r = 0, n = ""; !(r >= t / 4); ) {
var i = $[e + r * 4 >> 2];
var i = j[e + r * 4 >> 2];
if (i == 0)

@@ -1027,3 +1011,3 @@ break;

}
function Vr(e, t, r) {
function Mr(e, t, r) {
if (r === void 0 && (r = 2147483647), r < 4)

@@ -1037,8 +1021,8 @@ return 0;

}
if ($[t >> 2] = u, t += 4, t + 4 > i)
if (j[t >> 2] = u, t += 4, t + 4 > i)
break;
}
return $[t >> 2] = 0, t - n;
return j[t >> 2] = 0, t - n;
}
function Br(e) {
function Vr(e) {
for (var t = 0, r = 0; r < e.length; ++r) {

@@ -1050,49 +1034,49 @@ var n = e.charCodeAt(r);

}
function Lr(e, t, r) {
function Br(e, t, r) {
r = T(r);
var n, i, a, u, s;
t === 2 ? (n = jr, i = Hr, u = xr, a = () => ce, s = 1) : t === 4 && (n = Mr, i = Vr, u = Br, a = () => y, s = 2), O(e, { name: r, fromWireType: function(f) {
for (var c = y[f >> 2], l = a(), p, h = f + 4, v = 0; v <= c; ++v) {
var b = f + 4 + v * t;
if (v == c || l[b >> s] == 0) {
var R = b - h, P = n(h, R);
p === void 0 ? p = P : (p += String.fromCharCode(0), p += P), h = b + t;
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) {
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;
}
}
return U(f), p;
return D(f), p;
}, toWireType: function(f, c) {
typeof c != "string" && d("Cannot pass non-string to C++ string type " + r);
var l = u(c), p = De(4 + l + t);
return y[p >> 2] = l >> s, i(c, p + 4, l + t), f !== null && f.push(U, p), p;
}, argPackAdvance: 8, readValueFromPointer: _e, destructorFunction: function(f) {
U(f);
return g[p >> 2] = l >> s, i(c, p + 4, l + t), f !== null && f.push(D, p), p;
}, argPackAdvance: 8, readValueFromPointer: ye, destructorFunction: function(f) {
D(f);
} });
}
function Nr(e, t) {
t = T(t), O(e, { isVoid: !0, name: t, argPackAdvance: 0, fromWireType: function() {
function Lr(e, t) {
t = T(t), S(e, { isVoid: !0, name: t, argPackAdvance: 0, fromWireType: function() {
}, toWireType: function(r, n) {
} });
}
function Zr(e) {
e > 4 && (A.get(e).refcount += 1);
function Nr(e) {
e > 4 && ($.get(e).refcount += 1);
}
function Xr(e, t) {
function Zr(e, t) {
var r = M[e];
return r === void 0 && d(t + " has unknown type " + rt(e)), r;
}
function zr(e, t) {
e = Xr(e, "_emval_take_value");
function Xr(e, t) {
e = Zr(e, "_emval_take_value");
var r = e.readValueFromPointer(t);
return we.toHandle(r);
}
function qr() {
function zr() {
J("");
}
function Gr(e, t, r) {
function qr(e, t, r) {
C.copyWithin(e, t, t + r);
}
function Kr() {
function Gr() {
return 2147483648;
}
function Qr(e) {
function Kr(e) {
var t = fe.buffer;

@@ -1104,6 +1088,6 @@ try {

}
function Jr(e) {
function Qr(e) {
var t = C.length;
e = e >>> 0;
var r = Kr();
var r = Gr();
if (e > r)

@@ -1115,3 +1099,3 @@ return !1;

a = Math.min(a, e + 100663296);
var u = Math.min(r, n(Math.max(e, a), 65536)), s = Qr(u);
var u = Math.min(r, n(Math.max(e, a), 65536)), s = Kr(u);
if (s)

@@ -1122,28 +1106,28 @@ return !0;

}
function Yr(e) {
function Jr(e) {
return e;
}
Mt(), Y = o.BindingError = Fe(Error, "BindingError"), qe = o.InternalError = Fe(Error, "InternalError"), ir(), Kt(), pr(), tt = o.UnboundTypeError = Fe(Error, "UnboundTypeError"), Pr();
var en = { r: kt, u: Ot, a: Ut, m: Wt, t: It, I: jt, l: Ht, f: Dt, B: xt, F: Lt, O: yr, z: _r, E: br, y: Tr, N: Rr, q: Er, p: kr, x: Ir, v: Lr, G: Nr, K: at, L: Zr, M: zr, w: qr, D: Gr, C: Jr, s: hn, b: tn, c: on, i: ln, j: vn, h: dn, H: pn, k: sn, d: un, g: cn, e: rn, o: an, n: nn, J: fn, A: Yr };
Ft();
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 };
Et();
var De = o._malloc = function() {
return (De = o._malloc = o.asm.R).apply(null, arguments);
}, U = o._free = function() {
return (U = o._free = o.asm.S).apply(null, arguments);
}, ut = function() {
return (ut = o.asm.T).apply(null, arguments);
}, ft = o.___getTypeName = function() {
return (ft = o.___getTypeName = o.asm.V).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);
};
o.__embind_initialize_bindings = function() {
return (o.__embind_initialize_bindings = o.asm.W).apply(null, arguments);
return (o.__embind_initialize_bindings = o.asm.V).apply(null, arguments);
};
var _ = function() {
return (_ = o.asm.X).apply(null, arguments);
return (_ = o.asm.W).apply(null, arguments);
}, ie = function() {
return (ie = o.asm.Y).apply(null, arguments);
return (ie = o.asm.X).apply(null, arguments);
}, m = function() {
return (m = o.asm.Z).apply(null, arguments);
return (m = o.asm.Y).apply(null, arguments);
}, w = function() {
return (w = o.asm._).apply(null, arguments);
return (w = o.asm.Z).apply(null, arguments);
}, ft = function() {
return (ft = o.asm._).apply(null, arguments);
}, ct = function() {

@@ -1153,7 +1137,9 @@ return (ct = o.asm.$).apply(null, arguments);

return (lt = o.asm.aa).apply(null, arguments);
}, dt = function() {
return (dt = o.asm.ba).apply(null, arguments);
};
function tn(e, t) {
function en(e, t) {
var r = m();
try {
return g(e)(t);
return y(e)(t);
} catch (n) {

@@ -1165,6 +1151,6 @@ if (w(r), n !== n + 0)

}
function rn(e, t, r, n) {
function tn(e, t, r, n) {
var i = m();
try {
g(e)(t, r, n);
y(e)(t, r, n);
} catch (a) {

@@ -1176,6 +1162,6 @@ if (w(i), a !== a + 0)

}
function nn(e, t, r, n, i, a) {
function rn(e, t, r, n, i, a) {
var u = m();
try {
g(e)(t, r, n, i, a);
y(e)(t, r, n, i, a);
} catch (s) {

@@ -1187,6 +1173,6 @@ if (w(u), s !== s + 0)

}
function an(e, t, r, n, i) {
function nn(e, t, r, n, i) {
var a = m();
try {
g(e)(t, r, n, i);
y(e)(t, r, n, i);
} catch (u) {

@@ -1198,6 +1184,6 @@ if (w(a), u !== u + 0)

}
function on(e, t, r) {
function an(e, t, r) {
var n = m();
try {
return g(e)(t, r);
return y(e)(t, r);
} catch (i) {

@@ -1209,6 +1195,6 @@ if (w(n), i !== i + 0)

}
function sn(e) {
function on(e) {
var t = m();
try {
g(e)();
y(e)();
} catch (r) {

@@ -1220,6 +1206,6 @@ if (w(t), r !== r + 0)

}
function un(e, t) {
function sn(e, t) {
var r = m();
try {
g(e)(t);
y(e)(t);
} catch (n) {

@@ -1231,6 +1217,6 @@ if (w(r), n !== n + 0)

}
function fn(e, t, r, n, i, a, u, s, f) {
function un(e, t, r, n, i, a, u, s, f) {
var c = m();
try {
g(e)(t, r, n, i, a, u, s, f);
y(e)(t, r, n, i, a, u, s, f);
} catch (l) {

@@ -1242,6 +1228,6 @@ if (w(c), l !== l + 0)

}
function cn(e, t, r) {
function fn(e, t, r) {
var n = m();
try {
g(e)(t, r);
y(e)(t, r);
} catch (i) {

@@ -1253,6 +1239,6 @@ if (w(n), i !== i + 0)

}
function ln(e, t, r, n) {
function cn(e, t, r, n) {
var i = m();
try {
return g(e)(t, r, n);
return y(e)(t, r, n);
} catch (a) {

@@ -1264,6 +1250,6 @@ if (w(i), a !== a + 0)

}
function dn(e, t, r, n, i, a) {
function ln(e, t, r, n, i, a) {
var u = m();
try {
return g(e)(t, r, n, i, a);
return y(e)(t, r, n, i, a);
} catch (s) {

@@ -1275,6 +1261,6 @@ if (w(u), s !== s + 0)

}
function pn(e, t, r, n, i, a, u) {
function dn(e, t, r, n, i, a, u) {
var s = m();
try {
return g(e)(t, r, n, i, a, u);
return y(e)(t, r, n, i, a, u);
} catch (f) {

@@ -1286,6 +1272,6 @@ if (w(s), f !== f + 0)

}
function hn(e) {
function pn(e) {
var t = m();
try {
return g(e)();
return y(e)();
} catch (r) {

@@ -1297,6 +1283,6 @@ if (w(t), r !== r + 0)

}
function vn(e, t, r, n, i) {
function hn(e, t, r, n, i) {
var a = m();
try {
return g(e)(t, r, n, i);
return y(e)(t, r, n, i);
} catch (u) {

@@ -1308,11 +1294,11 @@ if (w(a), u !== u + 0)

}
var Pe;
var be;
Q = function e() {
Pe || dt(), Pe || (Q = e);
be || pt(), be || (Q = e);
};
function dt() {
if (H > 0 || (yt(), H > 0))
function pt() {
if (H > 0 || (_t(), H > 0))
return;
function e() {
Pe || (Pe = !0, o.calledRun = !0, !Ue && (_t(), ae(o), o.onRuntimeInitialized && o.onRuntimeInitialized(), mt()));
be || (be = !0, o.calledRun = !0, !Ue && (mt(), ae(o), o.onRuntimeInitialized && o.onRuntimeInitialized(), wt()));
}

@@ -1328,9 +1314,9 @@ o.setStatus ? (o.setStatus("Running..."), setTimeout(function() {

o.preInit.pop()();
return dt(), q.ready;
return pt(), q.ready;
};
})();
function mn(N) {
return gn(vt, N);
function _n(N) {
return vn(gt, N);
}
async function wn(N, {
async function mn(N, {
format: q = L.format,

@@ -1343,3 +1329,3 @@ charset: o = L.charset,

} = L) {
return yn(
return gn(
N,

@@ -1354,14 +1340,14 @@ {

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

@@ -53,5 +53,5 @@ "files": [

"replace-in-file": "^6.3.5",
"typescript": "^5.0.3",
"vite": "^4.2.1",
"vite-plugin-dts": "^2.1.0"
"typescript": "^5.0.4",
"vite": "^4.2.2",
"vite-plugin-dts": "^2.3.0"
},

@@ -58,0 +58,0 @@ "dependencies": {

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