mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-03 22:01:45 +01:00
1 line
212 KiB
Plaintext
1 line
212 KiB
Plaintext
{"version":3,"file":"Capture-x-RcmcHd.js","sources":["../../../node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js","../../../resources/js/views/twofaccounts/Capture.vue"],"sourcesContent":["import { defineComponent as jt, ref as we, watch as We, onMounted as vo, onUnmounted as yo, computed as Ut, openBlock as Lt, createElementBlock as Ht, createElementVNode as nt, normalizeStyle as go, withDirectives as wo, vShow as bo, renderSlot as Dr, withModifiers as at } from \"vue\";\nvar Mr = (r, o, i) => {\n if (!o.has(r))\n throw TypeError(\"Cannot \" + i);\n}, br = (r, o, i) => (Mr(r, o, \"read from private field\"), i ? i.call(r) : o.get(r)), Co = (r, o, i) => {\n if (o.has(r))\n throw TypeError(\"Cannot add the same private member more than once\");\n o instanceof WeakSet ? o.add(r) : o.set(r, i);\n}, $o = (r, o, i, c) => (Mr(r, o, \"write to private field\"), o.set(r, i), i);\nconst Ar = [\n [\"aztec\", \"Aztec\"],\n [\"code_128\", \"Code128\"],\n [\"code_39\", \"Code39\"],\n [\"code_93\", \"Code93\"],\n [\"codabar\", \"Codabar\"],\n [\"databar\", \"DataBar\"],\n [\"databar_expanded\", \"DataBarExpanded\"],\n [\"data_matrix\", \"DataMatrix\"],\n [\"dx_film_edge\", \"DXFilmEdge\"],\n [\"ean_13\", \"EAN-13\"],\n [\"ean_8\", \"EAN-8\"],\n [\"itf\", \"ITF\"],\n [\"maxi_code\", \"MaxiCode\"],\n [\"micro_qr_code\", \"MicroQRCode\"],\n [\"pdf417\", \"PDF417\"],\n [\"qr_code\", \"QRCode\"],\n [\"rm_qr_code\", \"rMQRCode\"],\n [\"upc_a\", \"UPC-A\"],\n [\"upc_e\", \"UPC-E\"],\n [\"linear_codes\", \"Linear-Codes\"],\n [\"matrix_codes\", \"Matrix-Codes\"]\n], _o = [...Ar, [\"unknown\"]].map((r) => r[0]), it = new Map(\n Ar\n);\nfunction So(r) {\n for (const [o, i] of it)\n if (r === i)\n return o;\n return \"unknown\";\n}\nfunction Po(r) {\n if (xr(r))\n return {\n width: r.naturalWidth,\n height: r.naturalHeight\n };\n if (Rr(r))\n return {\n width: r.width.baseVal.value,\n height: r.height.baseVal.value\n };\n if (kr(r))\n return {\n width: r.videoWidth,\n height: r.videoHeight\n };\n if (Fr(r))\n return {\n width: r.width,\n height: r.height\n };\n if (Wr(r))\n return {\n width: r.displayWidth,\n height: r.displayHeight\n };\n if (Ir(r))\n return {\n width: r.width,\n height: r.height\n };\n if (Ur(r))\n return {\n width: r.width,\n height: r.height\n };\n throw new TypeError(\n \"The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.\"\n );\n}\nfunction xr(r) {\n try {\n return r instanceof HTMLImageElement;\n } catch (o) {\n return !1;\n }\n}\nfunction Rr(r) {\n try {\n return r instanceof SVGImageElement;\n } catch (o) {\n return !1;\n }\n}\nfunction kr(r) {\n try {\n return r instanceof HTMLVideoElement;\n } catch (o) {\n return !1;\n }\n}\nfunction Ir(r) {\n try {\n return r instanceof HTMLCanvasElement;\n } catch (o) {\n return !1;\n }\n}\nfunction Fr(r) {\n try {\n return r instanceof ImageBitmap;\n } catch (o) {\n return !1;\n }\n}\nfunction Ur(r) {\n try {\n return r instanceof OffscreenCanvas;\n } catch (o) {\n return !1;\n }\n}\nfunction Wr(r) {\n try {\n return r instanceof VideoFrame;\n } catch (o) {\n return !1;\n }\n}\nfunction jr(r) {\n try {\n return r instanceof Blob;\n } catch (o) {\n return !1;\n }\n}\nfunction To(r) {\n try {\n return r instanceof ImageData;\n } catch (o) {\n return !1;\n }\n}\nfunction Eo(r, o) {\n try {\n const i = new OffscreenCanvas(r, o);\n if (i.getContext(\"2d\") instanceof OffscreenCanvasRenderingContext2D)\n return i;\n throw void 0;\n } catch (i) {\n const c = document.createElement(\"canvas\");\n return c.width = r, c.height = o, c;\n }\n}\nasync function Lr(r) {\n if (xr(r) && !await Ao(r))\n throw new DOMException(\n \"Failed to load or decode HTMLImageElement.\",\n \"InvalidStateError\"\n );\n if (Rr(r) && !await xo(r))\n throw new DOMException(\n \"Failed to load or decode SVGImageElement.\",\n \"InvalidStateError\"\n );\n if (Wr(r) && Ro(r))\n throw new DOMException(\"VideoFrame is closed.\", \"InvalidStateError\");\n if (kr(r) && (r.readyState === 0 || r.readyState === 1))\n throw new DOMException(\"Invalid element or state.\", \"InvalidStateError\");\n if (Fr(r) && Io(r))\n throw new DOMException(\n \"The image source is detached.\",\n \"InvalidStateError\"\n );\n const { width: o, height: i } = Po(r);\n if (o === 0 || i === 0)\n return null;\n const c = Eo(o, i).getContext(\"2d\");\n c.drawImage(r, 0, 0);\n try {\n return c.getImageData(0, 0, o, i);\n } catch (l) {\n throw new DOMException(\"Source would taint origin.\", \"SecurityError\");\n }\n}\nasync function Oo(r) {\n let o;\n try {\n if (globalThis.createImageBitmap)\n o = await createImageBitmap(r);\n else if (globalThis.Image) {\n o = new Image();\n let i = \"\";\n try {\n i = URL.createObjectURL(r), o.src = i, await o.decode();\n } finally {\n URL.revokeObjectURL(i);\n }\n } else\n return r;\n } catch (i) {\n throw new DOMException(\n \"Failed to load or decode Blob.\",\n \"InvalidStateError\"\n );\n }\n return await Lr(o);\n}\nfunction Do(r) {\n const { width: o, height: i } = r;\n if (o === 0 || i === 0)\n return null;\n const c = r.getContext(\"2d\");\n try {\n return c.getImageData(0, 0, o, i);\n } catch (l) {\n throw new DOMException(\"Source would taint origin.\", \"SecurityError\");\n }\n}\nasync function Mo(r) {\n if (jr(r))\n return await Oo(r);\n if (To(r)) {\n if (ko(r))\n throw new DOMException(\n \"The image data has been detached.\",\n \"InvalidStateError\"\n );\n return r;\n }\n return Ir(r) || Ur(r) ? Do(r) : await Lr(r);\n}\nasync function Ao(r) {\n try {\n return await r.decode(), !0;\n } catch (o) {\n return !1;\n }\n}\nasync function xo(r) {\n var o;\n try {\n return await ((o = r.decode) == null ? void 0 : o.call(r)), !0;\n } catch (i) {\n return !1;\n }\n}\nfunction Ro(r) {\n return r.format === null;\n}\nfunction ko(r) {\n return r.data.buffer.byteLength === 0;\n}\nfunction Io(r) {\n return r.width === 0 && r.height === 0;\n}\nfunction Cr(r, o) {\n return r instanceof DOMException ? new DOMException(`${o}: ${r.message}`, r.name) : r instanceof Error ? new r.constructor(`${o}: ${r.message}`) : new Error(`${o}: ${r}`);\n}\nconst $r = [\n \"Aztec\",\n \"Codabar\",\n \"Code128\",\n \"Code39\",\n \"Code93\",\n \"DataBar\",\n \"DataBarExpanded\",\n \"DataMatrix\",\n \"DXFilmEdge\",\n \"EAN-13\",\n \"EAN-8\",\n \"ITF\",\n \"Linear-Codes\",\n \"Matrix-Codes\",\n \"MaxiCode\",\n \"MicroQRCode\",\n \"None\",\n \"PDF417\",\n \"QRCode\",\n \"rMQRCode\",\n \"UPC-A\",\n \"UPC-E\"\n];\nfunction Fo(r) {\n return r.join(\"|\");\n}\nfunction Uo(r) {\n const o = _r(r);\n let i = 0, c = $r.length - 1;\n for (; i <= c; ) {\n const l = Math.floor((i + c) / 2), h = $r[l], v = _r(h);\n if (v === o)\n return h;\n v < o ? i = l + 1 : c = l - 1;\n }\n return \"None\";\n}\nfunction _r(r) {\n return r.toLowerCase().replace(/_-\\[\\]/g, \"\");\n}\nfunction Wo(r, o) {\n return r.Binarizer[o];\n}\nfunction jo(r, o) {\n return r.CharacterSet[o];\n}\nconst Lo = [\n \"Text\",\n \"Binary\",\n \"Mixed\",\n \"GS1\",\n \"ISO15434\",\n \"UnknownECI\"\n];\nfunction Ho(r) {\n return Lo[r.value];\n}\nfunction Bo(r, o) {\n return r.EanAddOnSymbol[o];\n}\nfunction Vo(r, o) {\n return r.TextMode[o];\n}\nconst Ee = {\n formats: [],\n tryHarder: !0,\n tryRotate: !0,\n tryInvert: !0,\n tryDownscale: !0,\n binarizer: \"LocalAverage\",\n isPure: !1,\n downscaleFactor: 3,\n downscaleThreshold: 500,\n minLineCount: 2,\n maxNumberOfSymbols: 255,\n tryCode39ExtendedMode: !1,\n validateCode39CheckSum: !1,\n validateITFCheckSum: !1,\n returnCodabarStartEnd: !1,\n returnErrors: !1,\n eanAddOnSymbol: \"Read\",\n textMode: \"Plain\",\n characterSet: \"Unknown\"\n};\nfunction Hr(r, o) {\n return {\n ...o,\n formats: Fo(o.formats),\n binarizer: Wo(r, o.binarizer),\n eanAddOnSymbol: Bo(\n r,\n o.eanAddOnSymbol\n ),\n textMode: Vo(r, o.textMode),\n characterSet: jo(\n r,\n o.characterSet\n )\n };\n}\nfunction Br(r) {\n return {\n ...r,\n format: Uo(r.format),\n eccLevel: r.eccLevel,\n contentType: Ho(r.contentType)\n };\n}\nconst qo = {\n locateFile: (r, o) => {\n const i = r.match(/_(.+?)\\.wasm$/);\n return i ? `https://fastly.jsdelivr.net/npm/zxing-wasm@1.1.3/dist/${i[1]}/${r}` : o + r;\n }\n};\nlet Wt = /* @__PURE__ */ new WeakMap();\nfunction Bt(r, o) {\n var i;\n const c = Wt.get(r);\n if (c != null && c.modulePromise && o === void 0)\n return c.modulePromise;\n const l = (i = c == null ? void 0 : c.moduleOverrides) != null ? i : qo, h = r({\n ...l\n });\n return Wt.set(r, {\n moduleOverrides: l,\n modulePromise: h\n }), h;\n}\nfunction No(r, o) {\n Wt.set(r, {\n moduleOverrides: o\n });\n}\nasync function zo(r, o, i = Ee) {\n const c = {\n ...Ee,\n ...i\n }, l = await Bt(r), { size: h } = o, v = new Uint8Array(await o.arrayBuffer()), g = l._malloc(h);\n l.HEAPU8.set(v, g);\n const b = l.readBarcodesFromImage(\n g,\n h,\n Hr(l, c)\n );\n l._free(g);\n const p = [];\n for (let C = 0; C < b.size(); ++C)\n p.push(\n Br(b.get(C))\n );\n return p;\n}\nasync function Go(r, o, i = Ee) {\n const c = {\n ...Ee,\n ...i\n }, l = await Bt(r), {\n data: h,\n width: v,\n height: g,\n data: { byteLength: b }\n } = o, p = l._malloc(b);\n l.HEAPU8.set(h, p);\n const C = l.readBarcodesFromPixmap(\n p,\n v,\n g,\n Hr(l, c)\n );\n l._free(p);\n const S = [];\n for (let $ = 0; $ < C.size(); ++$)\n S.push(\n Br(C.get($))\n );\n return S;\n}\n({\n ...Ee,\n formats: [...Ee.formats]\n});\nvar lt = (() => {\n var r = typeof document < \"u\" && document.currentScript ? document.currentScript.src : void 0;\n return function(o = {}) {\n var i = o, c, l;\n i.ready = new Promise((e, t) => {\n c = e, l = t;\n });\n var h = Object.assign({}, i), v = \"./this.program\", g = typeof window == \"object\", b = typeof importScripts == \"function\";\n typeof process == \"object\" && typeof process.versions == \"object\" && process.versions.node;\n var p = \"\";\n function C(e) {\n return i.locateFile ? i.locateFile(e, p) : p + e;\n }\n var S;\n (g || b) && (b ? p = self.location.href : typeof document < \"u\" && document.currentScript && (p = document.currentScript.src), r && (p = r), p.indexOf(\"blob:\") !== 0 ? p = p.substr(0, p.replace(/[?#].*/, \"\").lastIndexOf(\"/\") + 1) : p = \"\", b && (S = (e) => {\n var t = new XMLHttpRequest();\n return t.open(\"GET\", e, !1), t.responseType = \"arraybuffer\", t.send(null), new Uint8Array(t.response);\n })), i.print || console.log.bind(console);\n var $ = i.printErr || console.error.bind(console);\n Object.assign(i, h), h = null, i.arguments && i.arguments, i.thisProgram && (v = i.thisProgram), i.quit && i.quit;\n var F;\n i.wasmBinary && (F = i.wasmBinary), typeof WebAssembly != \"object\" && Z(\"no native wasm support detected\");\n var U, W = !1, R, A, X, k, D, M, le, oe;\n function be() {\n var e = U.buffer;\n i.HEAP8 = R = new Int8Array(e), i.HEAP16 = X = new Int16Array(e), i.HEAPU8 = A = new Uint8Array(e), i.HEAPU16 = k = new Uint16Array(e), i.HEAP32 = D = new Int32Array(e), i.HEAPU32 = M = new Uint32Array(e), i.HEAPF32 = le = new Float32Array(e), i.HEAPF64 = oe = new Float64Array(e);\n }\n var Ce = [], Oe = [], De = [];\n function Le() {\n if (i.preRun)\n for (typeof i.preRun == \"function\" && (i.preRun = [i.preRun]); i.preRun.length; )\n ht(i.preRun.shift());\n gt(Ce);\n }\n function dt() {\n gt(Oe);\n }\n function ft() {\n if (i.postRun)\n for (typeof i.postRun == \"function\" && (i.postRun = [i.postRun]); i.postRun.length; )\n Me(i.postRun.shift());\n gt(De);\n }\n function ht(e) {\n Ce.unshift(e);\n }\n function pt(e) {\n Oe.unshift(e);\n }\n function Me(e) {\n De.unshift(e);\n }\n var te = 0, ve = null;\n function mt(e) {\n var t;\n te++, (t = i.monitorRunDependencies) === null || t === void 0 || t.call(i, te);\n }\n function de(e) {\n var t;\n if (te--, (t = i.monitorRunDependencies) === null || t === void 0 || t.call(i, te), te == 0 && ve) {\n var n = ve;\n ve = null, n();\n }\n }\n function Z(e) {\n var t;\n (t = i.onAbort) === null || t === void 0 || t.call(i, e), e = \"Aborted(\" + e + \")\", $(e), W = !0, e += \". Build with -sASSERTIONS for more info.\";\n var n = new WebAssembly.RuntimeError(e);\n throw l(n), n;\n }\n var vt = \"data:application/octet-stream;base64,\", He = (e) => e.startsWith(vt), fe;\n fe = \"zxing_reader.wasm\", He(fe) || (fe = C(fe));\n function Be(e) {\n if (e == fe && F)\n return new Uint8Array(F);\n if (S)\n return S(e);\n throw \"both async and sync fetching of the wasm failed\";\n }\n function yt(e) {\n return !F && (g || b) && typeof fetch == \"function\" ? fetch(e, {\n credentials: \"same-origin\"\n }).then((t) => {\n if (!t.ok)\n throw \"failed to load wasm binary file at '\" + e + \"'\";\n return t.arrayBuffer();\n }).catch(() => Be(e)) : Promise.resolve().then(() => Be(e));\n }\n function Ve(e, t, n) {\n return yt(e).then((a) => WebAssembly.instantiate(a, t)).then((a) => a).then(n, (a) => {\n $(`failed to asynchronously prepare wasm: ${a}`), Z(a);\n });\n }\n function an(e, t, n, a) {\n return !e && typeof WebAssembly.instantiateStreaming == \"function\" && !He(t) && typeof fetch == \"function\" ? fetch(t, {\n credentials: \"same-origin\"\n }).then((s) => {\n var u = WebAssembly.instantiateStreaming(s, n);\n return u.then(a, function(d) {\n return $(`wasm streaming compile failed: ${d}`), $(\"falling back to ArrayBuffer instantiation\"), Ve(t, n, a);\n });\n }) : Ve(t, n, a);\n }\n function on() {\n var e = {\n a: Ga\n };\n function t(a, s) {\n return z = a.exports, U = z.ia, be(), Kt = z.ma, pt(z.ja), de(), z;\n }\n mt();\n function n(a) {\n t(a.instance);\n }\n if (i.instantiateWasm)\n try {\n return i.instantiateWasm(e, t);\n } catch (a) {\n $(`Module.instantiateWasm callback failed with error: ${a}`), l(a);\n }\n return an(F, fe, e, n).catch(l), {};\n }\n var gt = (e) => {\n for (; e.length > 0; )\n e.shift()(i);\n };\n i.noExitRuntime;\n var qe = [], Ne = 0, sn = (e) => {\n var t = new wt(e);\n return t.get_caught() || (t.set_caught(!0), Ne--), t.set_rethrown(!1), qe.push(t), hr(t.excPtr), t.get_exception_ptr();\n }, ie = 0, cn = () => {\n j(0, 0);\n var e = qe.pop();\n fr(e.excPtr), ie = 0;\n };\n function wt(e) {\n this.excPtr = e, this.ptr = e - 24, this.set_type = function(t) {\n M[this.ptr + 4 >> 2] = t;\n }, this.get_type = function() {\n return M[this.ptr + 4 >> 2];\n }, this.set_destructor = function(t) {\n M[this.ptr + 8 >> 2] = t;\n }, this.get_destructor = function() {\n return M[this.ptr + 8 >> 2];\n }, this.set_caught = function(t) {\n t = t ? 1 : 0, R[this.ptr + 12 >> 0] = t;\n }, this.get_caught = function() {\n return R[this.ptr + 12 >> 0] != 0;\n }, this.set_rethrown = function(t) {\n t = t ? 1 : 0, R[this.ptr + 13 >> 0] = t;\n }, this.get_rethrown = function() {\n return R[this.ptr + 13 >> 0] != 0;\n }, this.init = function(t, n) {\n this.set_adjusted_ptr(0), this.set_type(t), this.set_destructor(n);\n }, this.set_adjusted_ptr = function(t) {\n M[this.ptr + 16 >> 2] = t;\n }, this.get_adjusted_ptr = function() {\n return M[this.ptr + 16 >> 2];\n }, this.get_exception_ptr = function() {\n var t = mr(this.get_type());\n if (t)\n return M[this.excPtr >> 2];\n var n = this.get_adjusted_ptr();\n return n !== 0 ? n : this.excPtr;\n };\n }\n var un = (e) => {\n throw ie || (ie = e), ie;\n }, bt = (e) => {\n var t = ie;\n if (!t)\n return Ue(0), 0;\n var n = new wt(t);\n n.set_adjusted_ptr(t);\n var a = n.get_type();\n if (!a)\n return Ue(0), t;\n for (var s in e) {\n var u = e[s];\n if (u === 0 || u === a)\n break;\n var d = n.ptr + 16;\n if (pr(u, a, d))\n return Ue(u), t;\n }\n return Ue(a), t;\n }, ln = () => bt([]), dn = (e) => bt([e]), fn = (e, t) => bt([e, t]), hn = () => {\n var e = qe.pop();\n e || Z(\"no exception to throw\");\n var t = e.excPtr;\n throw e.get_rethrown() || (qe.push(e), e.set_rethrown(!0), e.set_caught(!1), Ne++), ie = t, ie;\n }, pn = (e, t, n) => {\n var a = new wt(e);\n throw a.init(t, n), ie = e, Ne++, ie;\n }, mn = () => Ne, ze = {}, Ct = (e) => {\n for (; e.length; ) {\n var t = e.pop(), n = e.pop();\n n(t);\n }\n };\n function $t(e) {\n return this.fromWireType(D[e >> 2]);\n }\n var $e = {}, ye = {}, Ge = {}, qt, Ye = (e) => {\n throw new qt(e);\n }, ge = (e, t, n) => {\n e.forEach(function(f) {\n Ge[f] = t;\n });\n function a(f) {\n var m = n(f);\n m.length !== e.length && Ye(\"Mismatched type converter count\");\n for (var w = 0; w < e.length; ++w)\n re(e[w], m[w]);\n }\n var s = new Array(t.length), u = [], d = 0;\n t.forEach((f, m) => {\n ye.hasOwnProperty(f) ? s[m] = ye[f] : (u.push(f), $e.hasOwnProperty(f) || ($e[f] = []), $e[f].push(() => {\n s[m] = ye[f], ++d, d === u.length && a(s);\n }));\n }), u.length === 0 && a(s);\n }, vn = (e) => {\n var t = ze[e];\n delete ze[e];\n var n = t.rawConstructor, a = t.rawDestructor, s = t.fields, u = s.map((d) => d.getterReturnType).concat(s.map((d) => d.setterArgumentType));\n ge([e], u, (d) => {\n var f = {};\n return s.forEach((m, w) => {\n var _ = m.fieldName, T = d[w], E = m.getter, O = m.getterContext, L = d[w + s.length], q = m.setter, I = m.setterContext;\n f[_] = {\n read: (J) => T.fromWireType(E(O, J)),\n write: (J, y) => {\n var P = [];\n q(I, J, L.toWireType(P, y)), Ct(P);\n }\n };\n }), [{\n name: t.name,\n fromWireType: (m) => {\n var w = {};\n for (var _ in f)\n w[_] = f[_].read(m);\n return a(m), w;\n },\n toWireType: (m, w) => {\n for (var _ in f)\n if (!(_ in w))\n throw new TypeError(`Missing field: \"${_}\"`);\n var T = n();\n for (_ in f)\n f[_].write(T, w[_]);\n return m !== null && m.push(a, T), T;\n },\n argPackAdvance: ne,\n readValueFromPointer: $t,\n destructorFunction: a\n }];\n });\n }, yn = (e, t, n, a, s) => {\n }, gn = () => {\n for (var e = new Array(256), t = 0; t < 256; ++t)\n e[t] = String.fromCharCode(t);\n Nt = e;\n }, Nt, Y = (e) => {\n for (var t = \"\", n = e; A[n]; )\n t += Nt[A[n++]];\n return t;\n }, _e, x = (e) => {\n throw new _e(e);\n };\n function wn(e, t) {\n let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};\n var a = t.name;\n if (e || x(`type \"${a}\" must have a positive integer typeid pointer`), ye.hasOwnProperty(e)) {\n if (n.ignoreDuplicateRegistrations)\n return;\n x(`Cannot register type '${a}' twice`);\n }\n if (ye[e] = t, delete Ge[e], $e.hasOwnProperty(e)) {\n var s = $e[e];\n delete $e[e], s.forEach((u) => u());\n }\n }\n function re(e, t) {\n let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};\n if (!(\"argPackAdvance\" in t))\n throw new TypeError(\"registerType registeredInstance requires argPackAdvance\");\n return wn(e, t, n);\n }\n var ne = 8, bn = (e, t, n, a) => {\n t = Y(t), re(e, {\n name: t,\n fromWireType: function(s) {\n return !!s;\n },\n toWireType: function(s, u) {\n return u ? n : a;\n },\n argPackAdvance: ne,\n readValueFromPointer: function(s) {\n return this.fromWireType(A[s]);\n },\n destructorFunction: null\n });\n }, Cn = (e) => ({\n count: e.count,\n deleteScheduled: e.deleteScheduled,\n preservePointerOnDelete: e.preservePointerOnDelete,\n ptr: e.ptr,\n ptrType: e.ptrType,\n smartPtr: e.smartPtr,\n smartPtrType: e.smartPtrType\n }), _t = (e) => {\n function t(n) {\n return n.$$.ptrType.registeredClass.name;\n }\n x(t(e) + \" instance already deleted\");\n }, St = !1, zt = (e) => {\n }, $n = (e) => {\n e.smartPtr ? e.smartPtrType.rawDestructor(e.smartPtr) : e.ptrType.registeredClass.rawDestructor(e.ptr);\n }, Gt = (e) => {\n e.count.value -= 1;\n var t = e.count.value === 0;\n t && $n(e);\n }, Yt = (e, t, n) => {\n if (t === n)\n return e;\n if (n.baseClass === void 0)\n return null;\n var a = Yt(e, t, n.baseClass);\n return a === null ? null : n.downcast(a);\n }, Jt = {}, _n = () => Object.keys(Re).length, Sn = () => {\n var e = [];\n for (var t in Re)\n Re.hasOwnProperty(t) && e.push(Re[t]);\n return e;\n }, Ae = [], Pt = () => {\n for (; Ae.length; ) {\n var e = Ae.pop();\n e.$$.deleteScheduled = !1, e.delete();\n }\n }, xe, Pn = (e) => {\n xe = e, Ae.length && xe && xe(Pt);\n }, Tn = () => {\n i.getInheritedInstanceCount = _n, i.getLiveInheritedInstances = Sn, i.flushPendingDeletes = Pt, i.setDelayFunction = Pn;\n }, Re = {}, En = (e, t) => {\n for (t === void 0 && x(\"ptr should not be undefined\"); e.baseClass; )\n t = e.upcast(t), e = e.baseClass;\n return t;\n }, On = (e, t) => (t = En(e, t), Re[t]), Je = (e, t) => {\n (!t.ptrType || !t.ptr) && Ye(\"makeClassHandle requires ptr and ptrType\");\n var n = !!t.smartPtrType, a = !!t.smartPtr;\n return n !== a && Ye(\"Both smartPtrType and smartPtr must be specified\"), t.count = {\n value: 1\n }, ke(Object.create(e, {\n $$: {\n value: t,\n writable: !0\n }\n }));\n };\n function Dn(e) {\n var t = this.getPointee(e);\n if (!t)\n return this.destructor(e), null;\n var n = On(this.registeredClass, t);\n if (n !== void 0) {\n if (n.$$.count.value === 0)\n return n.$$.ptr = t, n.$$.smartPtr = e, n.clone();\n var a = n.clone();\n return this.destructor(e), a;\n }\n function s() {\n return this.isSmartPointer ? Je(this.registeredClass.instancePrototype, {\n ptrType: this.pointeeType,\n ptr: t,\n smartPtrType: this,\n smartPtr: e\n }) : Je(this.registeredClass.instancePrototype, {\n ptrType: this,\n ptr: e\n });\n }\n var u = this.registeredClass.getActualType(t), d = Jt[u];\n if (!d)\n return s.call(this);\n var f;\n this.isConst ? f = d.constPointerType : f = d.pointerType;\n var m = Yt(t, this.registeredClass, f.registeredClass);\n return m === null ? s.call(this) : this.isSmartPointer ? Je(f.registeredClass.instancePrototype, {\n ptrType: f,\n ptr: m,\n smartPtrType: this,\n smartPtr: e\n }) : Je(f.registeredClass.instancePrototype, {\n ptrType: f,\n ptr: m\n });\n }\n var ke = (e) => typeof FinalizationRegistry > \"u\" ? (ke = (t) => t, e) : (St = new FinalizationRegistry((t) => {\n Gt(t.$$);\n }), ke = (t) => {\n var n = t.$$, a = !!n.smartPtr;\n if (a) {\n var s = {\n $$: n\n };\n St.register(t, s, t);\n }\n return t;\n }, zt = (t) => St.unregister(t), ke(e)), Mn = () => {\n Object.assign(Qe.prototype, {\n isAliasOf(e) {\n if (!(this instanceof Qe) || !(e instanceof Qe))\n return !1;\n var t = this.$$.ptrType.registeredClass, n = this.$$.ptr;\n e.$$ = e.$$;\n for (var a = e.$$.ptrType.registeredClass, s = e.$$.ptr; t.baseClass; )\n n = t.upcast(n), t = t.baseClass;\n for (; a.baseClass; )\n s = a.upcast(s), a = a.baseClass;\n return t === a && n === s;\n },\n clone() {\n if (this.$$.ptr || _t(this), this.$$.preservePointerOnDelete)\n return this.$$.count.value += 1, this;\n var e = ke(Object.create(Object.getPrototypeOf(this), {\n $$: {\n value: Cn(this.$$)\n }\n }));\n return e.$$.count.value += 1, e.$$.deleteScheduled = !1, e;\n },\n delete() {\n this.$$.ptr || _t(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && x(\"Object already scheduled for deletion\"), zt(this), Gt(this.$$), this.$$.preservePointerOnDelete || (this.$$.smartPtr = void 0, this.$$.ptr = void 0);\n },\n isDeleted() {\n return !this.$$.ptr;\n },\n deleteLater() {\n return this.$$.ptr || _t(this), this.$$.deleteScheduled && !this.$$.preservePointerOnDelete && x(\"Object already scheduled for deletion\"), Ae.push(this), Ae.length === 1 && xe && xe(Pt), this.$$.deleteScheduled = !0, this;\n }\n });\n };\n function Qe() {\n }\n var Ie = (e, t) => Object.defineProperty(t, \"name\", {\n value: e\n }), Qt = (e, t, n) => {\n if (e[t].overloadTable === void 0) {\n var a = e[t];\n e[t] = function() {\n return e[t].overloadTable.hasOwnProperty(arguments.length) || x(`Function '${n}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`), e[t].overloadTable[arguments.length].apply(this, arguments);\n }, e[t].overloadTable = [], e[t].overloadTable[a.argCount] = a;\n }\n }, Tt = (e, t, n) => {\n i.hasOwnProperty(e) ? ((n === void 0 || i[e].overloadTable !== void 0 && i[e].overloadTable[n] !== void 0) && x(`Cannot register public name '${e}' twice`), Qt(i, e, e), i.hasOwnProperty(n) && x(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`), i[e].overloadTable[n] = t) : (i[e] = t, n !== void 0 && (i[e].numArguments = n));\n }, An = 48, xn = 57, Rn = (e) => {\n if (e === void 0)\n return \"_unknown\";\n e = e.replace(/[^a-zA-Z0-9_]/g, \"$\");\n var t = e.charCodeAt(0);\n return t >= An && t <= xn ? `_${e}` : e;\n };\n function kn(e, t, n, a, s, u, d, f) {\n this.name = e, this.constructor = t, this.instancePrototype = n, this.rawDestructor = a, this.baseClass = s, this.getActualType = u, this.upcast = d, this.downcast = f, this.pureVirtualFunctions = [];\n }\n var Et = (e, t, n) => {\n for (; t !== n; )\n t.upcast || x(`Expected null or instance of ${n.name}, got an instance of ${t.name}`), e = t.upcast(e), t = t.baseClass;\n return e;\n };\n function In(e, t) {\n if (t === null)\n return this.isReference && x(`null is not a valid ${this.name}`), 0;\n t.$$ || x(`Cannot pass \"${xt(t)}\" as a ${this.name}`), t.$$.ptr || x(`Cannot pass deleted object as a pointer of type ${this.name}`);\n var n = t.$$.ptrType.registeredClass, a = Et(t.$$.ptr, n, this.registeredClass);\n return a;\n }\n function Fn(e, t) {\n var n;\n if (t === null)\n return this.isReference && x(`null is not a valid ${this.name}`), this.isSmartPointer ? (n = this.rawConstructor(), e !== null && e.push(this.rawDestructor, n), n) : 0;\n (!t || !t.$$) && x(`Cannot pass \"${xt(t)}\" as a ${this.name}`), t.$$.ptr || x(`Cannot pass deleted object as a pointer of type ${this.name}`), !this.isConst && t.$$.ptrType.isConst && x(`Cannot convert argument of type ${t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name} to parameter type ${this.name}`);\n var a = t.$$.ptrType.registeredClass;\n if (n = Et(t.$$.ptr, a, this.registeredClass), this.isSmartPointer)\n switch (t.$$.smartPtr === void 0 && x(\"Passing raw pointer to smart pointer is illegal\"), this.sharingPolicy) {\n case 0:\n t.$$.smartPtrType === this ? n = t.$$.smartPtr : x(`Cannot convert argument of type ${t.$$.smartPtrType ? t.$$.smartPtrType.name : t.$$.ptrType.name} to parameter type ${this.name}`);\n break;\n case 1:\n n = t.$$.smartPtr;\n break;\n case 2:\n if (t.$$.smartPtrType === this)\n n = t.$$.smartPtr;\n else {\n var s = t.clone();\n n = this.rawShare(n, se.toHandle(() => s.delete())), e !== null && e.push(this.rawDestructor, n);\n }\n break;\n default:\n x(\"Unsupporting sharing policy\");\n }\n return n;\n }\n function Un(e, t) {\n if (t === null)\n return this.isReference && x(`null is not a valid ${this.name}`), 0;\n t.$$ || x(`Cannot pass \"${xt(t)}\" as a ${this.name}`), t.$$.ptr || x(`Cannot pass deleted object as a pointer of type ${this.name}`), t.$$.ptrType.isConst && x(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);\n var n = t.$$.ptrType.registeredClass, a = Et(t.$$.ptr, n, this.registeredClass);\n return a;\n }\n function Xt(e) {\n return this.fromWireType(M[e >> 2]);\n }\n var Wn = () => {\n Object.assign(Xe.prototype, {\n getPointee(e) {\n return this.rawGetPointee && (e = this.rawGetPointee(e)), e;\n },\n destructor(e) {\n var t;\n (t = this.rawDestructor) === null || t === void 0 || t.call(this, e);\n },\n argPackAdvance: ne,\n readValueFromPointer: Xt,\n deleteObject(e) {\n e !== null && e.delete();\n },\n fromWireType: Dn\n });\n };\n function Xe(e, t, n, a, s, u, d, f, m, w, _) {\n this.name = e, this.registeredClass = t, this.isReference = n, this.isConst = a, this.isSmartPointer = s, this.pointeeType = u, this.sharingPolicy = d, this.rawGetPointee = f, this.rawConstructor = m, this.rawShare = w, this.rawDestructor = _, !s && t.baseClass === void 0 ? a ? (this.toWireType = In, this.destructorFunction = null) : (this.toWireType = Un, this.destructorFunction = null) : this.toWireType = Fn;\n }\n var Zt = (e, t, n) => {\n i.hasOwnProperty(e) || Ye(\"Replacing nonexistant public symbol\"), i[e].overloadTable !== void 0 && n !== void 0 ? i[e].overloadTable[n] = t : (i[e] = t, i[e].argCount = n);\n }, jn = (e, t, n) => {\n var a = i[\"dynCall_\" + e];\n return n && n.length ? a.apply(null, [t].concat(n)) : a.call(null, t);\n }, Ze = [], Kt, H = (e) => {\n var t = Ze[e];\n return t || (e >= Ze.length && (Ze.length = e + 1), Ze[e] = t = Kt.get(e)), t;\n }, Ln = (e, t, n) => {\n if (e.includes(\"j\"))\n return jn(e, t, n);\n var a = H(t).apply(null, n);\n return a;\n }, Hn = (e, t) => {\n var n = [];\n return function() {\n return n.length = 0, Object.assign(n, arguments), Ln(e, t, n);\n };\n }, ee = (e, t) => {\n e = Y(e);\n function n() {\n return e.includes(\"j\") ? Hn(e, t) : H(t);\n }\n var a = n();\n return typeof a != \"function\" && x(`unknown function pointer with signature ${e}: ${t}`), a;\n }, Bn = (e, t) => {\n var n = Ie(t, function(a) {\n this.name = t, this.message = a;\n var s = new Error(a).stack;\n s !== void 0 && (this.stack = this.toString() + `\n` + s.replace(/^Error(:[^\\n]*)?\\n/, \"\"));\n });\n return n.prototype = Object.create(e.prototype), n.prototype.constructor = n, n.prototype.toString = function() {\n return this.message === void 0 ? this.name : `${this.name}: ${this.message}`;\n }, n;\n }, er, tr = (e) => {\n var t = dr(e), n = Y(t);\n return ce(t), n;\n }, Ke = (e, t) => {\n var n = [], a = {};\n function s(u) {\n if (!a[u] && !ye[u]) {\n if (Ge[u]) {\n Ge[u].forEach(s);\n return;\n }\n n.push(u), a[u] = !0;\n }\n }\n throw t.forEach(s), new er(`${e}: ` + n.map(tr).join([\", \"]));\n }, Vn = (e, t, n, a, s, u, d, f, m, w, _, T, E) => {\n _ = Y(_), u = ee(s, u), f && (f = ee(d, f)), w && (w = ee(m, w)), E = ee(T, E);\n var O = Rn(_);\n Tt(O, function() {\n Ke(`Cannot construct ${_} due to unbound types`, [a]);\n }), ge([e, t, n], a ? [a] : [], function(L) {\n L = L[0];\n var q, I;\n a ? (q = L.registeredClass, I = q.instancePrototype) : I = Qe.prototype;\n var J = Ie(_, function() {\n if (Object.getPrototypeOf(this) !== y)\n throw new _e(\"Use 'new' to construct \" + _);\n if (P.constructor_body === void 0)\n throw new _e(_ + \" has no accessible constructor\");\n var wr = P.constructor_body[arguments.length];\n if (wr === void 0)\n throw new _e(`Tried to invoke ctor of ${_} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(P.constructor_body).toString()}) parameters instead!`);\n return wr.apply(this, arguments);\n }), y = Object.create(I, {\n constructor: {\n value: J\n }\n });\n J.prototype = y;\n var P = new kn(_, J, y, E, q, u, f, w);\n if (P.baseClass) {\n var N, G;\n (G = (N = P.baseClass).__derivedClasses) !== null && G !== void 0 || (N.__derivedClasses = []), P.baseClass.__derivedClasses.push(P);\n }\n var Se = new Xe(_, P, !0, !1, !1), rt = new Xe(_ + \"*\", P, !1, !1, !1), gr = new Xe(_ + \" const*\", P, !1, !0, !1);\n return Jt[e] = {\n pointerType: rt,\n constPointerType: gr\n }, Zt(O, J), [Se, rt, gr];\n });\n }, Ot = (e, t) => {\n for (var n = [], a = 0; a < e; a++)\n n.push(M[t + a * 4 >> 2]);\n return n;\n };\n function qn(e) {\n for (var t = 1; t < e.length; ++t)\n if (e[t] !== null && e[t].destructorFunction === void 0)\n return !0;\n return !1;\n }\n function Dt(e, t, n, a, s, u) {\n var d = t.length;\n d < 2 && x(\"argTypes array size mismatch! Must at least get return value and 'this' types!\");\n var f = t[1] !== null && n !== null, m = qn(t), w = t[0].name !== \"void\", _ = d - 2, T = new Array(_), E = [], O = [], L = function() {\n arguments.length !== _ && x(`function ${e} called with ${arguments.length} arguments, expected ${_}`), O.length = 0;\n var q;\n E.length = f ? 2 : 1, E[0] = s, f && (q = t[1].toWireType(O, this), E[1] = q);\n for (var I = 0; I < _; ++I)\n T[I] = t[I + 2].toWireType(O, arguments[I]), E.push(T[I]);\n var J = a.apply(null, E);\n function y(P) {\n if (m)\n Ct(O);\n else\n for (var N = f ? 1 : 2; N < t.length; N++) {\n var G = N === 1 ? q : T[N - 2];\n t[N].destructorFunction !== null && t[N].destructorFunction(G);\n }\n if (w)\n return t[0].fromWireType(P);\n }\n return y(J);\n };\n return Ie(e, L);\n }\n var Nn = (e, t, n, a, s, u) => {\n var d = Ot(t, n);\n s = ee(a, s), ge([], [e], function(f) {\n f = f[0];\n var m = `constructor ${f.name}`;\n if (f.registeredClass.constructor_body === void 0 && (f.registeredClass.constructor_body = []), f.registeredClass.constructor_body[t - 1] !== void 0)\n throw new _e(`Cannot register multiple constructors with identical number of parameters (${t - 1}) for class '${f.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);\n return f.registeredClass.constructor_body[t - 1] = () => {\n Ke(`Cannot construct ${f.name} due to unbound types`, d);\n }, ge([], d, (w) => (w.splice(1, 0, null), f.registeredClass.constructor_body[t - 1] = Dt(m, w, null, s, u), [])), [];\n });\n }, rr = (e) => {\n e = e.trim();\n const t = e.indexOf(\"(\");\n return t !== -1 ? e.substr(0, t) : e;\n }, zn = (e, t, n, a, s, u, d, f, m) => {\n var w = Ot(n, a);\n t = Y(t), t = rr(t), u = ee(s, u), ge([], [e], function(_) {\n _ = _[0];\n var T = `${_.name}.${t}`;\n t.startsWith(\"@@\") && (t = Symbol[t.substring(2)]), f && _.registeredClass.pureVirtualFunctions.push(t);\n function E() {\n Ke(`Cannot call ${T} due to unbound types`, w);\n }\n var O = _.registeredClass.instancePrototype, L = O[t];\n return L === void 0 || L.overloadTable === void 0 && L.className !== _.name && L.argCount === n - 2 ? (E.argCount = n - 2, E.className = _.name, O[t] = E) : (Qt(O, t, T), O[t].overloadTable[n - 2] = E), ge([], w, function(q) {\n var I = Dt(T, q, _, u, d);\n return O[t].overloadTable === void 0 ? (I.argCount = n - 2, O[t] = I) : O[t].overloadTable[n - 2] = I, [];\n }), [];\n });\n };\n function Gn() {\n Object.assign(nr.prototype, {\n get(e) {\n return this.allocated[e];\n },\n has(e) {\n return this.allocated[e] !== void 0;\n },\n allocate(e) {\n var t = this.freelist.pop() || this.allocated.length;\n return this.allocated[t] = e, t;\n },\n free(e) {\n this.allocated[e] = void 0, this.freelist.push(e);\n }\n });\n }\n function nr() {\n this.allocated = [void 0], this.freelist = [];\n }\n var K = new nr(), Mt = (e) => {\n e >= K.reserved && --K.get(e).refcount === 0 && K.free(e);\n }, Yn = () => {\n for (var e = 0, t = K.reserved; t < K.allocated.length; ++t)\n K.allocated[t] !== void 0 && ++e;\n return e;\n }, Jn = () => {\n K.allocated.push({\n value: void 0\n }, {\n value: null\n }, {\n value: !0\n }, {\n value: !1\n }), K.reserved = K.allocated.length, i.count_emval_handles = Yn;\n }, se = {\n toValue: (e) => (e || x(\"Cannot use deleted val. handle = \" + e), K.get(e).value),\n toHandle: (e) => {\n switch (e) {\n case void 0:\n return 1;\n case null:\n return 2;\n case !0:\n return 3;\n case !1:\n return 4;\n default:\n return K.allocate({\n refcount: 1,\n value: e\n });\n }\n }\n }, Qn = (e, t) => {\n t = Y(t), re(e, {\n name: t,\n fromWireType: (n) => {\n var a = se.toValue(n);\n return Mt(n), a;\n },\n toWireType: (n, a) => se.toHandle(a),\n argPackAdvance: ne,\n readValueFromPointer: $t,\n destructorFunction: null\n });\n }, Xn = (e, t, n) => {\n switch (t) {\n case 1:\n return n ? function(a) {\n return this.fromWireType(R[a >> 0]);\n } : function(a) {\n return this.fromWireType(A[a >> 0]);\n };\n case 2:\n return n ? function(a) {\n return this.fromWireType(X[a >> 1]);\n } : function(a) {\n return this.fromWireType(k[a >> 1]);\n };\n case 4:\n return n ? function(a) {\n return this.fromWireType(D[a >> 2]);\n } : function(a) {\n return this.fromWireType(M[a >> 2]);\n };\n default:\n throw new TypeError(`invalid integer width (${t}): ${e}`);\n }\n }, Zn = (e, t, n, a) => {\n t = Y(t);\n function s() {\n }\n s.values = {}, re(e, {\n name: t,\n constructor: s,\n fromWireType: function(u) {\n return this.constructor.values[u];\n },\n toWireType: (u, d) => d.value,\n argPackAdvance: ne,\n readValueFromPointer: Xn(t, n, a),\n destructorFunction: null\n }), Tt(t, s);\n }, At = (e, t) => {\n var n = ye[e];\n return n === void 0 && x(t + \" has unknown type \" + tr(e)), n;\n }, Kn = (e, t, n) => {\n var a = At(e, \"enum\");\n t = Y(t);\n var s = a.constructor, u = Object.create(a.constructor.prototype, {\n value: {\n value: n\n },\n constructor: {\n value: Ie(`${a.name}_${t}`, function() {\n })\n }\n });\n s.values[n] = u, s[t] = u;\n }, xt = (e) => {\n if (e === null)\n return \"null\";\n var t = typeof e;\n return t === \"object\" || t === \"array\" || t === \"function\" ? e.toString() : \"\" + e;\n }, ea = (e, t) => {\n switch (t) {\n case 4:\n return function(n) {\n return this.fromWireType(le[n >> 2]);\n };\n case 8:\n return function(n) {\n return this.fromWireType(oe[n >> 3]);\n };\n default:\n throw new TypeError(`invalid float width (${t}): ${e}`);\n }\n }, ta = (e, t, n) => {\n t = Y(t), re(e, {\n name: t,\n fromWireType: (a) => a,\n toWireType: (a, s) => s,\n argPackAdvance: ne,\n readValueFromPointer: ea(t, n),\n destructorFunction: null\n });\n }, ra = (e, t, n, a, s, u, d) => {\n var f = Ot(t, n);\n e = Y(e), e = rr(e), s = ee(a, s), Tt(e, function() {\n Ke(`Cannot call ${e} due to unbound types`, f);\n }, t - 1), ge([], f, function(m) {\n var w = [m[0], null].concat(m.slice(1));\n return Zt(e, Dt(e, w, null, s, u), t - 1), [];\n });\n }, na = (e, t, n) => {\n switch (t) {\n case 1:\n return n ? (a) => R[a >> 0] : (a) => A[a >> 0];\n case 2:\n return n ? (a) => X[a >> 1] : (a) => k[a >> 1];\n case 4:\n return n ? (a) => D[a >> 2] : (a) => M[a >> 2];\n default:\n throw new TypeError(`invalid integer width (${t}): ${e}`);\n }\n }, aa = (e, t, n, a, s) => {\n t = Y(t);\n var u = (_) => _;\n if (a === 0) {\n var d = 32 - 8 * n;\n u = (_) => _ << d >>> d;\n }\n var f = t.includes(\"unsigned\"), m = (_, T) => {\n }, w;\n f ? w = function(_, T) {\n return m(T, this.name), T >>> 0;\n } : w = function(_, T) {\n return m(T, this.name), T;\n }, re(e, {\n name: t,\n fromWireType: u,\n toWireType: w,\n argPackAdvance: ne,\n readValueFromPointer: na(t, n, a !== 0),\n destructorFunction: null\n });\n }, oa = (e, t, n) => {\n var a = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array], s = a[t];\n function u(d) {\n var f = M[d >> 2], m = M[d + 4 >> 2];\n return new s(R.buffer, m, f);\n }\n n = Y(n), re(e, {\n name: n,\n fromWireType: u,\n argPackAdvance: ne,\n readValueFromPointer: u\n }, {\n ignoreDuplicateRegistrations: !0\n });\n }, ar = (e, t, n, a) => {\n if (!(a > 0))\n return 0;\n for (var s = n, u = n + a - 1, d = 0; d < e.length; ++d) {\n var f = e.charCodeAt(d);\n if (f >= 55296 && f <= 57343) {\n var m = e.charCodeAt(++d);\n f = 65536 + ((f & 1023) << 10) | m & 1023;\n }\n if (f <= 127) {\n if (n >= u)\n break;\n t[n++] = f;\n } else if (f <= 2047) {\n if (n + 1 >= u)\n break;\n t[n++] = 192 | f >> 6, t[n++] = 128 | f & 63;\n } else if (f <= 65535) {\n if (n + 2 >= u)\n break;\n t[n++] = 224 | f >> 12, t[n++] = 128 | f >> 6 & 63, t[n++] = 128 | f & 63;\n } else {\n if (n + 3 >= u)\n break;\n t[n++] = 240 | f >> 18, t[n++] = 128 | f >> 12 & 63, t[n++] = 128 | f >> 6 & 63, t[n++] = 128 | f & 63;\n }\n }\n return t[n] = 0, n - s;\n }, ia = (e, t, n) => ar(e, A, t, n), or = (e) => {\n for (var t = 0, n = 0; n < e.length; ++n) {\n var a = e.charCodeAt(n);\n a <= 127 ? t++ : a <= 2047 ? t += 2 : a >= 55296 && a <= 57343 ? (t += 4, ++n) : t += 3;\n }\n return t;\n }, ir = typeof TextDecoder < \"u\" ? new TextDecoder(\"utf8\") : void 0, sa = (e, t, n) => {\n for (var a = t + n, s = t; e[s] && !(s >= a); )\n ++s;\n if (s - t > 16 && e.buffer && ir)\n return ir.decode(e.subarray(t, s));\n for (var u = \"\"; t < s; ) {\n var d = e[t++];\n if (!(d & 128)) {\n u += String.fromCharCode(d);\n continue;\n }\n var f = e[t++] & 63;\n if ((d & 224) == 192) {\n u += String.fromCharCode((d & 31) << 6 | f);\n continue;\n }\n var m = e[t++] & 63;\n if ((d & 240) == 224 ? d = (d & 15) << 12 | f << 6 | m : d = (d & 7) << 18 | f << 12 | m << 6 | e[t++] & 63, d < 65536)\n u += String.fromCharCode(d);\n else {\n var w = d - 65536;\n u += String.fromCharCode(55296 | w >> 10, 56320 | w & 1023);\n }\n }\n return u;\n }, Rt = (e, t) => e ? sa(A, e, t) : \"\", ca = (e, t) => {\n t = Y(t);\n var n = t === \"std::string\";\n re(e, {\n name: t,\n fromWireType(a) {\n var s = M[a >> 2], u = a + 4, d;\n if (n)\n for (var f = u, m = 0; m <= s; ++m) {\n var w = u + m;\n if (m == s || A[w] == 0) {\n var _ = w - f, T = Rt(f, _);\n d === void 0 ? d = T : (d += \"\\0\", d += T), f = w + 1;\n }\n }\n else {\n for (var E = new Array(s), m = 0; m < s; ++m)\n E[m] = String.fromCharCode(A[u + m]);\n d = E.join(\"\");\n }\n return ce(a), d;\n },\n toWireType(a, s) {\n s instanceof ArrayBuffer && (s = new Uint8Array(s));\n var u, d = typeof s == \"string\";\n d || s instanceof Uint8Array || s instanceof Uint8ClampedArray || s instanceof Int8Array || x(\"Cannot pass non-string to std::string\"), n && d ? u = or(s) : u = s.length;\n var f = Ft(4 + u + 1), m = f + 4;\n if (M[f >> 2] = u, n && d)\n ia(s, m, u + 1);\n else if (d)\n for (var w = 0; w < u; ++w) {\n var _ = s.charCodeAt(w);\n _ > 255 && (ce(m), x(\"String has UTF-16 code units that do not fit in 8 bits\")), A[m + w] = _;\n }\n else\n for (var w = 0; w < u; ++w)\n A[m + w] = s[w];\n return a !== null && a.push(ce, f), f;\n },\n argPackAdvance: ne,\n readValueFromPointer: Xt,\n destructorFunction(a) {\n ce(a);\n }\n });\n }, sr = typeof TextDecoder < \"u\" ? new TextDecoder(\"utf-16le\") : void 0, ua = (e, t) => {\n for (var n = e, a = n >> 1, s = a + t / 2; !(a >= s) && k[a]; )\n ++a;\n if (n = a << 1, n - e > 32 && sr)\n return sr.decode(A.subarray(e, n));\n for (var u = \"\", d = 0; !(d >= t / 2); ++d) {\n var f = X[e + d * 2 >> 1];\n if (f == 0)\n break;\n u += String.fromCharCode(f);\n }\n return u;\n }, la = (e, t, n) => {\n var a;\n if ((a = n) !== null && a !== void 0 || (n = 2147483647), n < 2)\n return 0;\n n -= 2;\n for (var s = t, u = n < e.length * 2 ? n / 2 : e.length, d = 0; d < u; ++d) {\n var f = e.charCodeAt(d);\n X[t >> 1] = f, t += 2;\n }\n return X[t >> 1] = 0, t - s;\n }, da = (e) => e.length * 2, fa = (e, t) => {\n for (var n = 0, a = \"\"; !(n >= t / 4); ) {\n var s = D[e + n * 4 >> 2];\n if (s == 0)\n break;\n if (++n, s >= 65536) {\n var u = s - 65536;\n a += String.fromCharCode(55296 | u >> 10, 56320 | u & 1023);\n } else\n a += String.fromCharCode(s);\n }\n return a;\n }, ha = (e, t, n) => {\n var a;\n if ((a = n) !== null && a !== void 0 || (n = 2147483647), n < 4)\n return 0;\n for (var s = t, u = s + n - 4, d = 0; d < e.length; ++d) {\n var f = e.charCodeAt(d);\n if (f >= 55296 && f <= 57343) {\n var m = e.charCodeAt(++d);\n f = 65536 + ((f & 1023) << 10) | m & 1023;\n }\n if (D[t >> 2] = f, t += 4, t + 4 > u)\n break;\n }\n return D[t >> 2] = 0, t - s;\n }, pa = (e) => {\n for (var t = 0, n = 0; n < e.length; ++n) {\n var a = e.charCodeAt(n);\n a >= 55296 && a <= 57343 && ++n, t += 4;\n }\n return t;\n }, ma = (e, t, n) => {\n n = Y(n);\n var a, s, u, d, f;\n t === 2 ? (a = ua, s = la, d = da, u = () => k, f = 1) : t === 4 && (a = fa, s = ha, d = pa, u = () => M, f = 2), re(e, {\n name: n,\n fromWireType: (m) => {\n for (var w = M[m >> 2], _ = u(), T, E = m + 4, O = 0; O <= w; ++O) {\n var L = m + 4 + O * t;\n if (O == w || _[L >> f] == 0) {\n var q = L - E, I = a(E, q);\n T === void 0 ? T = I : (T += \"\\0\", T += I), E = L + t;\n }\n }\n return ce(m), T;\n },\n toWireType: (m, w) => {\n typeof w != \"string\" && x(`Cannot pass non-string to C++ string type ${n}`);\n var _ = d(w), T = Ft(4 + _ + t);\n return M[T >> 2] = _ >> f, s(w, T + 4, _ + t), m !== null && m.push(ce, T), T;\n },\n argPackAdvance: ne,\n readValueFromPointer: $t,\n destructorFunction(m) {\n ce(m);\n }\n });\n }, va = (e, t, n, a, s, u) => {\n ze[e] = {\n name: Y(t),\n rawConstructor: ee(n, a),\n rawDestructor: ee(s, u),\n fields: []\n };\n }, ya = (e, t, n, a, s, u, d, f, m, w) => {\n ze[e].fields.push({\n fieldName: Y(t),\n getterReturnType: n,\n getter: ee(a, s),\n getterContext: u,\n setterArgumentType: d,\n setter: ee(f, m),\n setterContext: w\n });\n }, ga = (e, t) => {\n t = Y(t), re(e, {\n isVoid: !0,\n name: t,\n argPackAdvance: 0,\n fromWireType: () => {\n },\n toWireType: (n, a) => {\n }\n });\n }, kt = [], wa = (e, t, n, a) => (e = kt[e], t = se.toValue(t), e(null, t, n, a)), ba = {}, Ca = (e) => {\n var t = ba[e];\n return t === void 0 ? Y(e) : t;\n }, cr = () => {\n if (typeof globalThis == \"object\")\n return globalThis;\n function e(t) {\n t.$$$embind_global$$$ = t;\n var n = typeof $$$embind_global$$$ == \"object\" && t.$$$embind_global$$$ == t;\n return n || delete t.$$$embind_global$$$, n;\n }\n if (typeof $$$embind_global$$$ == \"object\" || (typeof global == \"object\" && e(global) ? $$$embind_global$$$ = global : typeof self == \"object\" && e(self) && ($$$embind_global$$$ = self), typeof $$$embind_global$$$ == \"object\"))\n return $$$embind_global$$$;\n throw Error(\"unable to get global object.\");\n }, $a = (e) => e === 0 ? se.toHandle(cr()) : (e = Ca(e), se.toHandle(cr()[e])), _a = (e) => {\n var t = kt.length;\n return kt.push(e), t;\n }, Sa = (e, t) => {\n for (var n = new Array(e), a = 0; a < e; ++a)\n n[a] = At(M[t + a * 4 >> 2], \"parameter \" + a);\n return n;\n }, Pa = Reflect.construct, Ta = (e, t, n) => {\n var a = [], s = e.toWireType(a, n);\n return a.length && (M[t >> 2] = se.toHandle(a)), s;\n }, Ea = (e, t, n) => {\n var a = Sa(e, t), s = a.shift();\n e--;\n var u = new Array(e), d = (m, w, _, T) => {\n for (var E = 0, O = 0; O < e; ++O)\n u[O] = a[O].readValueFromPointer(T + E), E += a[O].argPackAdvance;\n for (var L = n === 1 ? Pa(w, u) : w.apply(m, u), O = 0; O < e; ++O) {\n var q, I;\n (q = (I = a[O]).deleteObject) === null || q === void 0 || q.call(I, u[O]);\n }\n return Ta(s, _, L);\n }, f = `methodCaller<(${a.map((m) => m.name).join(\", \")}) => ${s.name}>`;\n return _a(Ie(f, d));\n }, Oa = (e) => {\n e > 4 && (K.get(e).refcount += 1);\n }, Da = (e) => {\n var t = se.toValue(e);\n Ct(t), Mt(e);\n }, Ma = (e, t) => {\n e = At(e, \"_emval_take_value\");\n var n = e.readValueFromPointer(t);\n return se.toHandle(n);\n }, Aa = () => {\n Z(\"\");\n }, xa = (e, t, n) => A.copyWithin(e, t, t + n), Ra = () => 2147483648, ka = (e) => {\n var t = U.buffer, n = (e - t.byteLength + 65535) / 65536;\n try {\n return U.grow(n), be(), 1;\n } catch (a) {\n }\n }, Ia = (e) => {\n var t = A.length;\n e >>>= 0;\n var n = Ra();\n if (e > n)\n return !1;\n for (var a = (m, w) => m + (w - m % w) % w, s = 1; s <= 4; s *= 2) {\n var u = t * (1 + 0.2 / s);\n u = Math.min(u, e + 100663296);\n var d = Math.min(n, a(Math.max(e, u), 65536)), f = ka(d);\n if (f)\n return !0;\n }\n return !1;\n }, It = {}, Fa = () => v || \"./this.program\", Fe = () => {\n if (!Fe.strings) {\n var e = (typeof navigator == \"object\" && navigator.languages && navigator.languages[0] || \"C\").replace(\"-\", \"_\") + \".UTF-8\", t = {\n USER: \"web_user\",\n LOGNAME: \"web_user\",\n PATH: \"/\",\n PWD: \"/\",\n HOME: \"/home/web_user\",\n LANG: e,\n _: Fa()\n };\n for (var n in It)\n It[n] === void 0 ? delete t[n] : t[n] = It[n];\n var a = [];\n for (var n in t)\n a.push(`${n}=${t[n]}`);\n Fe.strings = a;\n }\n return Fe.strings;\n }, Ua = (e, t) => {\n for (var n = 0; n < e.length; ++n)\n R[t++ >> 0] = e.charCodeAt(n);\n R[t >> 0] = 0;\n }, Wa = (e, t) => {\n var n = 0;\n return Fe().forEach((a, s) => {\n var u = t + n;\n M[e + s * 4 >> 2] = u, Ua(a, u), n += a.length + 1;\n }), 0;\n }, ja = (e, t) => {\n var n = Fe();\n M[e >> 2] = n.length;\n var a = 0;\n return n.forEach((s) => a += s.length + 1), M[t >> 2] = a, 0;\n }, La = (e) => e, et = (e) => e % 4 === 0 && (e % 100 !== 0 || e % 400 === 0), Ha = (e, t) => {\n for (var n = 0, a = 0; a <= t; n += e[a++])\n ;\n return n;\n }, ur = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], lr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Ba = (e, t) => {\n for (var n = new Date(e.getTime()); t > 0; ) {\n var a = et(n.getFullYear()), s = n.getMonth(), u = (a ? ur : lr)[s];\n if (t > u - n.getDate())\n t -= u - n.getDate() + 1, n.setDate(1), s < 11 ? n.setMonth(s + 1) : (n.setMonth(0), n.setFullYear(n.getFullYear() + 1));\n else\n return n.setDate(n.getDate() + t), n;\n }\n return n;\n };\n function Va(e, t, n) {\n var a = or(e) + 1, s = new Array(a);\n return ar(e, s, 0, s.length), s;\n }\n var qa = (e, t) => {\n R.set(e, t);\n }, Na = (e, t, n, a) => {\n var s = M[a + 40 >> 2], u = {\n tm_sec: D[a >> 2],\n tm_min: D[a + 4 >> 2],\n tm_hour: D[a + 8 >> 2],\n tm_mday: D[a + 12 >> 2],\n tm_mon: D[a + 16 >> 2],\n tm_year: D[a + 20 >> 2],\n tm_wday: D[a + 24 >> 2],\n tm_yday: D[a + 28 >> 2],\n tm_isdst: D[a + 32 >> 2],\n tm_gmtoff: D[a + 36 >> 2],\n tm_zone: s ? Rt(s) : \"\"\n }, d = Rt(n), f = {\n \"%c\": \"%a %b %d %H:%M:%S %Y\",\n \"%D\": \"%m/%d/%y\",\n \"%F\": \"%Y-%m-%d\",\n \"%h\": \"%b\",\n \"%r\": \"%I:%M:%S %p\",\n \"%R\": \"%H:%M\",\n \"%T\": \"%H:%M:%S\",\n \"%x\": \"%m/%d/%y\",\n \"%X\": \"%H:%M:%S\",\n \"%Ec\": \"%c\",\n \"%EC\": \"%C\",\n \"%Ex\": \"%m/%d/%y\",\n \"%EX\": \"%H:%M:%S\",\n \"%Ey\": \"%y\",\n \"%EY\": \"%Y\",\n \"%Od\": \"%d\",\n \"%Oe\": \"%e\",\n \"%OH\": \"%H\",\n \"%OI\": \"%I\",\n \"%Om\": \"%m\",\n \"%OM\": \"%M\",\n \"%OS\": \"%S\",\n \"%Ou\": \"%u\",\n \"%OU\": \"%U\",\n \"%OV\": \"%V\",\n \"%Ow\": \"%w\",\n \"%OW\": \"%W\",\n \"%Oy\": \"%y\"\n };\n for (var m in f)\n d = d.replace(new RegExp(m, \"g\"), f[m]);\n var w = [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"], _ = [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"];\n function T(y, P, N) {\n for (var G = typeof y == \"number\" ? y.toString() : y || \"\"; G.length < P; )\n G = N[0] + G;\n return G;\n }\n function E(y, P) {\n return T(y, P, \"0\");\n }\n function O(y, P) {\n function N(Se) {\n return Se < 0 ? -1 : Se > 0 ? 1 : 0;\n }\n var G;\n return (G = N(y.getFullYear() - P.getFullYear())) === 0 && (G = N(y.getMonth() - P.getMonth())) === 0 && (G = N(y.getDate() - P.getDate())), G;\n }\n function L(y) {\n switch (y.getDay()) {\n case 0:\n return new Date(y.getFullYear() - 1, 11, 29);\n case 1:\n return y;\n case 2:\n return new Date(y.getFullYear(), 0, 3);\n case 3:\n return new Date(y.getFullYear(), 0, 2);\n case 4:\n return new Date(y.getFullYear(), 0, 1);\n case 5:\n return new Date(y.getFullYear() - 1, 11, 31);\n case 6:\n return new Date(y.getFullYear() - 1, 11, 30);\n }\n }\n function q(y) {\n var P = Ba(new Date(y.tm_year + 1900, 0, 1), y.tm_yday), N = new Date(P.getFullYear(), 0, 4), G = new Date(P.getFullYear() + 1, 0, 4), Se = L(N), rt = L(G);\n return O(Se, P) <= 0 ? O(rt, P) <= 0 ? P.getFullYear() + 1 : P.getFullYear() : P.getFullYear() - 1;\n }\n var I = {\n \"%a\": (y) => w[y.tm_wday].substring(0, 3),\n \"%A\": (y) => w[y.tm_wday],\n \"%b\": (y) => _[y.tm_mon].substring(0, 3),\n \"%B\": (y) => _[y.tm_mon],\n \"%C\": (y) => {\n var P = y.tm_year + 1900;\n return E(P / 100 | 0, 2);\n },\n \"%d\": (y) => E(y.tm_mday, 2),\n \"%e\": (y) => T(y.tm_mday, 2, \" \"),\n \"%g\": (y) => q(y).toString().substring(2),\n \"%G\": (y) => q(y),\n \"%H\": (y) => E(y.tm_hour, 2),\n \"%I\": (y) => {\n var P = y.tm_hour;\n return P == 0 ? P = 12 : P > 12 && (P -= 12), E(P, 2);\n },\n \"%j\": (y) => E(y.tm_mday + Ha(et(y.tm_year + 1900) ? ur : lr, y.tm_mon - 1), 3),\n \"%m\": (y) => E(y.tm_mon + 1, 2),\n \"%M\": (y) => E(y.tm_min, 2),\n \"%n\": () => `\n`,\n \"%p\": (y) => y.tm_hour >= 0 && y.tm_hour < 12 ? \"AM\" : \"PM\",\n \"%S\": (y) => E(y.tm_sec, 2),\n \"%t\": () => \"\t\",\n \"%u\": (y) => y.tm_wday || 7,\n \"%U\": (y) => {\n var P = y.tm_yday + 7 - y.tm_wday;\n return E(Math.floor(P / 7), 2);\n },\n \"%V\": (y) => {\n var P = Math.floor((y.tm_yday + 7 - (y.tm_wday + 6) % 7) / 7);\n if ((y.tm_wday + 371 - y.tm_yday - 2) % 7 <= 2 && P++, P) {\n if (P == 53) {\n var N = (y.tm_wday + 371 - y.tm_yday) % 7;\n N != 4 && (N != 3 || !et(y.tm_year)) && (P = 1);\n }\n } else {\n P = 52;\n var G = (y.tm_wday + 7 - y.tm_yday - 1) % 7;\n (G == 4 || G == 5 && et(y.tm_year % 400 - 1)) && P++;\n }\n return E(P, 2);\n },\n \"%w\": (y) => y.tm_wday,\n \"%W\": (y) => {\n var P = y.tm_yday + 7 - (y.tm_wday + 6) % 7;\n return E(Math.floor(P / 7), 2);\n },\n \"%y\": (y) => (y.tm_year + 1900).toString().substring(2),\n \"%Y\": (y) => y.tm_year + 1900,\n \"%z\": (y) => {\n var P = y.tm_gmtoff, N = P >= 0;\n return P = Math.abs(P) / 60, P = P / 60 * 100 + P % 60, (N ? \"+\" : \"-\") + (\"0000\" + P).slice(-4);\n },\n \"%Z\": (y) => y.tm_zone,\n \"%%\": () => \"%\"\n };\n d = d.replace(/%%/g, \"\\0\\0\");\n for (var m in I)\n d.includes(m) && (d = d.replace(new RegExp(m, \"g\"), I[m](u)));\n d = d.replace(/\\0\\0/g, \"%\");\n var J = Va(d);\n return J.length > t ? 0 : (qa(J, e), J.length - 1);\n }, za = (e, t, n, a, s) => Na(e, t, n, a);\n qt = i.InternalError = class extends Error {\n constructor(e) {\n super(e), this.name = \"InternalError\";\n }\n }, gn(), _e = i.BindingError = class extends Error {\n constructor(e) {\n super(e), this.name = \"BindingError\";\n }\n }, Mn(), Tn(), Wn(), er = i.UnboundTypeError = Bn(Error, \"UnboundTypeError\"), Gn(), Jn();\n var Ga = {\n s: sn,\n u: cn,\n b: ln,\n g: dn,\n q: fn,\n J: hn,\n f: pn,\n V: mn,\n d: un,\n da: vn,\n Q: yn,\n _: bn,\n ca: Vn,\n ba: Nn,\n w: zn,\n Y: Qn,\n x: Zn,\n h: Kn,\n L: ta,\n M: ra,\n t: aa,\n o: oa,\n K: ca,\n C: ma,\n A: va,\n ea: ya,\n $: ga,\n R: wa,\n ha: Mt,\n fa: $a,\n Z: Ea,\n N: Oa,\n O: Da,\n aa: Ma,\n B: Aa,\n X: xa,\n W: Ia,\n T: Wa,\n U: ja,\n E: uo,\n D: Za,\n F: co,\n n: lo,\n a: Ya,\n e: eo,\n m: Xa,\n k: ro,\n H: io,\n v: ao,\n G: so,\n z: ho,\n P: mo,\n l: to,\n j: Ka,\n c: Qa,\n p: Ja,\n I: oo,\n r: fo,\n i: no,\n y: po,\n ga: La,\n S: za\n }, z = on(), ce = i._free = (e) => (ce = i._free = z.ka)(e), Ft = i._malloc = (e) => (Ft = i._malloc = z.la)(e), dr = (e) => (dr = z.na)(e), j = (e, t) => (j = z.oa)(e, t), Ue = (e) => (Ue = z.pa)(e), B = () => (B = z.qa)(), V = (e) => (V = z.ra)(e), fr = (e) => (fr = z.sa)(e), hr = (e) => (hr = z.ta)(e), pr = (e, t, n) => (pr = z.ua)(e, t, n), mr = (e) => (mr = z.va)(e);\n i.dynCall_viijii = (e, t, n, a, s, u, d) => (i.dynCall_viijii = z.wa)(e, t, n, a, s, u, d);\n var vr = i.dynCall_jiiii = (e, t, n, a, s) => (vr = i.dynCall_jiiii = z.xa)(e, t, n, a, s);\n i.dynCall_iiiiij = (e, t, n, a, s, u, d) => (i.dynCall_iiiiij = z.ya)(e, t, n, a, s, u, d), i.dynCall_iiiiijj = (e, t, n, a, s, u, d, f, m) => (i.dynCall_iiiiijj = z.za)(e, t, n, a, s, u, d, f, m), i.dynCall_iiiiiijj = (e, t, n, a, s, u, d, f, m, w) => (i.dynCall_iiiiiijj = z.Aa)(e, t, n, a, s, u, d, f, m, w);\n function Ya(e, t) {\n var n = B();\n try {\n return H(e)(t);\n } catch (a) {\n if (V(n), a !== a + 0)\n throw a;\n j(1, 0);\n }\n }\n function Ja(e, t, n, a) {\n var s = B();\n try {\n H(e)(t, n, a);\n } catch (u) {\n if (V(s), u !== u + 0)\n throw u;\n j(1, 0);\n }\n }\n function Qa(e, t, n) {\n var a = B();\n try {\n H(e)(t, n);\n } catch (s) {\n if (V(a), s !== s + 0)\n throw s;\n j(1, 0);\n }\n }\n function Xa(e, t, n, a) {\n var s = B();\n try {\n return H(e)(t, n, a);\n } catch (u) {\n if (V(s), u !== u + 0)\n throw u;\n j(1, 0);\n }\n }\n function Za(e, t, n, a, s) {\n var u = B();\n try {\n return H(e)(t, n, a, s);\n } catch (d) {\n if (V(u), d !== d + 0)\n throw d;\n j(1, 0);\n }\n }\n function Ka(e, t) {\n var n = B();\n try {\n H(e)(t);\n } catch (a) {\n if (V(n), a !== a + 0)\n throw a;\n j(1, 0);\n }\n }\n function eo(e, t, n) {\n var a = B();\n try {\n return H(e)(t, n);\n } catch (s) {\n if (V(a), s !== s + 0)\n throw s;\n j(1, 0);\n }\n }\n function to(e) {\n var t = B();\n try {\n H(e)();\n } catch (n) {\n if (V(t), n !== n + 0)\n throw n;\n j(1, 0);\n }\n }\n function ro(e, t, n, a, s) {\n var u = B();\n try {\n return H(e)(t, n, a, s);\n } catch (d) {\n if (V(u), d !== d + 0)\n throw d;\n j(1, 0);\n }\n }\n function no(e, t, n, a, s, u, d, f, m, w, _) {\n var T = B();\n try {\n H(e)(t, n, a, s, u, d, f, m, w, _);\n } catch (E) {\n if (V(T), E !== E + 0)\n throw E;\n j(1, 0);\n }\n }\n function ao(e, t, n, a, s, u, d) {\n var f = B();\n try {\n return H(e)(t, n, a, s, u, d);\n } catch (m) {\n if (V(f), m !== m + 0)\n throw m;\n j(1, 0);\n }\n }\n function oo(e, t, n, a, s) {\n var u = B();\n try {\n H(e)(t, n, a, s);\n } catch (d) {\n if (V(u), d !== d + 0)\n throw d;\n j(1, 0);\n }\n }\n function io(e, t, n, a, s, u) {\n var d = B();\n try {\n return H(e)(t, n, a, s, u);\n } catch (f) {\n if (V(d), f !== f + 0)\n throw f;\n j(1, 0);\n }\n }\n function so(e, t, n, a, s, u, d, f) {\n var m = B();\n try {\n return H(e)(t, n, a, s, u, d, f);\n } catch (w) {\n if (V(m), w !== w + 0)\n throw w;\n j(1, 0);\n }\n }\n function co(e, t, n, a) {\n var s = B();\n try {\n return H(e)(t, n, a);\n } catch (u) {\n if (V(s), u !== u + 0)\n throw u;\n j(1, 0);\n }\n }\n function uo(e, t, n, a) {\n var s = B();\n try {\n return H(e)(t, n, a);\n } catch (u) {\n if (V(s), u !== u + 0)\n throw u;\n j(1, 0);\n }\n }\n function lo(e) {\n var t = B();\n try {\n return H(e)();\n } catch (n) {\n if (V(t), n !== n + 0)\n throw n;\n j(1, 0);\n }\n }\n function fo(e, t, n, a, s, u, d, f) {\n var m = B();\n try {\n H(e)(t, n, a, s, u, d, f);\n } catch (w) {\n if (V(m), w !== w + 0)\n throw w;\n j(1, 0);\n }\n }\n function ho(e, t, n, a, s, u, d, f, m, w, _, T) {\n var E = B();\n try {\n return H(e)(t, n, a, s, u, d, f, m, w, _, T);\n } catch (O) {\n if (V(E), O !== O + 0)\n throw O;\n j(1, 0);\n }\n }\n function po(e, t, n, a, s, u, d, f, m, w, _, T, E, O, L, q) {\n var I = B();\n try {\n H(e)(t, n, a, s, u, d, f, m, w, _, T, E, O, L, q);\n } catch (J) {\n if (V(I), J !== J + 0)\n throw J;\n j(1, 0);\n }\n }\n function mo(e, t, n, a, s) {\n var u = B();\n try {\n return vr(e, t, n, a, s);\n } catch (d) {\n if (V(u), d !== d + 0)\n throw d;\n j(1, 0);\n }\n }\n var tt;\n ve = function e() {\n tt || yr(), tt || (ve = e);\n };\n function yr() {\n if (te > 0 || (Le(), te > 0))\n return;\n function e() {\n tt || (tt = !0, i.calledRun = !0, !W && (dt(), c(i), i.onRuntimeInitialized && i.onRuntimeInitialized(), ft()));\n }\n i.setStatus ? (i.setStatus(\"Running...\"), setTimeout(function() {\n setTimeout(function() {\n i.setStatus(\"\");\n }, 1), e();\n }, 1)) : e();\n }\n if (i.preInit)\n for (typeof i.preInit == \"function\" && (i.preInit = [i.preInit]); i.preInit.length > 0; )\n i.preInit.pop()();\n return yr(), o.ready;\n };\n})();\nfunction Yo(r) {\n return Bt(\n lt,\n r\n );\n}\nfunction Hi(r) {\n return No(\n lt,\n r\n );\n}\nasync function Jo(r, o) {\n return zo(\n lt,\n r,\n o\n );\n}\nasync function Qo(r, o) {\n return Go(\n lt,\n r,\n o\n );\n}\nvar je;\nclass ct extends EventTarget {\n constructor(o = {}) {\n var i;\n super(), Co(this, je, void 0);\n try {\n const c = (i = o == null ? void 0 : o.formats) == null ? void 0 : i.filter(\n (l) => l !== \"unknown\"\n );\n if ((c == null ? void 0 : c.length) === 0)\n throw new TypeError(\"Hint option provided, but is empty.\");\n c == null || c.forEach((l) => {\n if (!it.has(l))\n throw new TypeError(\n `Failed to read the 'formats' property from 'BarcodeDetectorOptions': The provided value '${l}' is not a valid enum value of type BarcodeFormat.`\n );\n }), $o(this, je, c != null ? c : []), Yo().then((l) => {\n this.dispatchEvent(\n new CustomEvent(\"load\", {\n detail: l\n })\n );\n }).catch((l) => {\n this.dispatchEvent(new CustomEvent(\"error\", { detail: l }));\n });\n } catch (c) {\n throw Cr(\n c,\n \"Failed to construct 'BarcodeDetector'\"\n );\n }\n }\n static async getSupportedFormats() {\n return _o.filter((o) => o !== \"unknown\");\n }\n async detect(o) {\n try {\n const i = await Mo(o);\n if (i === null)\n return [];\n let c;\n try {\n jr(i) ? c = await Jo(i, {\n tryHarder: !0,\n formats: br(this, je).map((l) => it.get(l))\n }) : c = await Qo(i, {\n tryHarder: !0,\n formats: br(this, je).map((l) => it.get(l))\n });\n } catch (l) {\n throw console.error(l), new DOMException(\n \"Barcode detection service unavailable.\",\n \"NotSupportedError\"\n );\n }\n return c.map((l) => {\n const {\n topLeft: { x: h, y: v },\n topRight: { x: g, y: b },\n bottomLeft: { x: p, y: C },\n bottomRight: { x: S, y: $ }\n } = l.position, F = Math.min(h, g, p, S), U = Math.min(v, b, C, $), W = Math.max(h, g, p, S), R = Math.max(v, b, C, $);\n return {\n boundingBox: new DOMRectReadOnly(\n F,\n U,\n W - F,\n R - U\n ),\n rawValue: l.text,\n format: So(l.format),\n cornerPoints: [\n {\n x: h,\n y: v\n },\n {\n x: g,\n y: b\n },\n {\n x: S,\n y: $\n },\n {\n x: p,\n y: C\n }\n ]\n };\n });\n } catch (i) {\n throw Cr(\n i,\n \"Failed to execute 'detect' on 'BarcodeDetector'\"\n );\n }\n }\n}\nje = /* @__PURE__ */ new WeakMap();\nconst Vt = (r, o, i = \"error\") => {\n let c, l;\n const h = new Promise(\n (v, g) => {\n c = v, l = g, r.addEventListener(o, c), r.addEventListener(i, l);\n }\n );\n return h.finally(() => {\n r.removeEventListener(o, c), r.removeEventListener(i, l);\n }), h;\n}, Sr = (r) => new Promise((o) => setTimeout(o, r));\nclass Xo extends Error {\n constructor() {\n super(\"can't process cross-origin image\"), this.name = \"DropImageFetchError\";\n }\n}\nclass Vr extends Error {\n constructor() {\n super(\"this browser has no Stream API support\"), this.name = \"StreamApiNotSupportedError\";\n }\n}\nclass Zo extends Error {\n constructor() {\n super(\n \"camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.\"\n ), this.name = \"InsecureContextError\";\n }\n}\nclass Ko extends Error {\n constructor() {\n super(\n \"Loading camera stream timed out after 6 seconds. If you are on iOS in PWA mode, this is a known issue (see https://github.com/gruhn/vue-qrcode-reader/issues/298)\"\n ), this.name = \"StreamLoadTimeoutError\";\n }\n}\nlet qr;\nasync function ei(r) {\n if (window.BarcodeDetector === void 0)\n return console.debug(\"[vue-qrcode-reader] Native BarcodeDetector not supported. Will use polyfill.\"), new ct({ formats: r });\n const o = await window.BarcodeDetector.getSupportedFormats(), i = r.filter((c) => !o.includes(c));\n return i.length > 0 ? (console.debug(`[vue-qrcode-reader] Native BarcodeDetector does not support formats ${JSON.stringify(i)}. Will use polyfill.`), new ct({ formats: r })) : (console.debug(\"[vue-qrcode-reader] Will use native BarcodeDetector.\"), new window.BarcodeDetector({ formats: r }));\n}\nasync function Nr(r) {\n qr = await ei(r);\n}\nconst ti = async (r, {\n detectHandler: o,\n locateHandler: i,\n minDelay: c,\n formats: l\n}) => {\n console.debug(\"[vue-qrcode-reader] start scanning\"), await Nr(l);\n const h = (v) => async (g) => {\n if (r.readyState === 0)\n console.debug(\"[vue-qrcode-reader] stop scanning: video element readyState is 0\");\n else {\n const { lastScanned: b, contentBefore: p, lastScanHadContent: C } = v;\n if (g - b < c)\n window.requestAnimationFrame(h(v));\n else {\n const S = await qr.detect(r), $ = S.some((W) => !p.includes(W.rawValue));\n $ && o(S);\n const F = S.length > 0;\n F && i(S), !F && C && i(S);\n const U = {\n lastScanned: g,\n lastScanHadContent: F,\n // It can happen that a QR code is constantly in view of the camera but\n // maybe a scanned frame is a bit blurry and we detect nothing but in the\n // next frame we detect the code again. We also want to avoid emitting\n // a `detect` event in such a case. So we don't reset `contentBefore`,\n // if we detect nothing, only if we detect something new.\n contentBefore: $ ? S.map((W) => W.rawValue) : p\n };\n window.requestAnimationFrame(h(U));\n }\n }\n };\n h({\n lastScanned: performance.now(),\n contentBefore: [],\n lastScanHadContent: !1\n })(performance.now());\n}, ri = async (r) => {\n if (r.startsWith(\"http\") && r.includes(location.host) === !1)\n throw new Xo();\n const o = document.createElement(\"img\");\n return o.src = r, await Vt(o, \"load\"), o;\n}, zr = async (r, o = [\"qr_code\"]) => await new ct({ formats: o }).detect(r), ni = async (r, o = [\"qr_code\"]) => {\n const i = new ct({ formats: o }), c = await ri(r);\n return await i.detect(c);\n};\nvar Gr = {}, Q = {};\nObject.defineProperty(Q, \"__esModule\", {\n value: !0\n});\nQ.compactObject = Qr;\nQ.deprecated = fi;\nvar ai = Q.detectBrowser = hi;\nQ.disableLog = ui;\nQ.disableWarnings = li;\nQ.extractVersion = st;\nQ.filterStats = pi;\nQ.log = di;\nQ.walkStats = ut;\nQ.wrapPeerConnectionEvent = ci;\nfunction oi(r, o, i) {\n return o = ii(o), o in r ? Object.defineProperty(r, o, { value: i, enumerable: !0, configurable: !0, writable: !0 }) : r[o] = i, r;\n}\nfunction ii(r) {\n var o = si(r, \"string\");\n return pe(o) === \"symbol\" ? o : String(o);\n}\nfunction si(r, o) {\n if (pe(r) !== \"object\" || r === null)\n return r;\n var i = r[Symbol.toPrimitive];\n if (i !== void 0) {\n var c = i.call(r, o || \"default\");\n if (pe(c) !== \"object\")\n return c;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (o === \"string\" ? String : Number)(r);\n}\nfunction pe(r) {\n \"@babel/helpers - typeof\";\n return pe = typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\" ? function(o) {\n return typeof o;\n } : function(o) {\n return o && typeof Symbol == \"function\" && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, pe(r);\n}\nvar Yr = !0, Jr = !0;\nfunction st(r, o, i) {\n var c = r.match(o);\n return c && c.length >= i && parseInt(c[i], 10);\n}\nfunction ci(r, o, i) {\n if (r.RTCPeerConnection) {\n var c = r.RTCPeerConnection.prototype, l = c.addEventListener;\n c.addEventListener = function(v, g) {\n if (v !== o)\n return l.apply(this, arguments);\n var b = function(C) {\n var S = i(C);\n S && (g.handleEvent ? g.handleEvent(S) : g(S));\n };\n return this._eventMap = this._eventMap || {}, this._eventMap[o] || (this._eventMap[o] = /* @__PURE__ */ new Map()), this._eventMap[o].set(g, b), l.apply(this, [v, b]);\n };\n var h = c.removeEventListener;\n c.removeEventListener = function(v, g) {\n if (v !== o || !this._eventMap || !this._eventMap[o])\n return h.apply(this, arguments);\n if (!this._eventMap[o].has(g))\n return h.apply(this, arguments);\n var b = this._eventMap[o].get(g);\n return this._eventMap[o].delete(g), this._eventMap[o].size === 0 && delete this._eventMap[o], Object.keys(this._eventMap).length === 0 && delete this._eventMap, h.apply(this, [v, b]);\n }, Object.defineProperty(c, \"on\" + o, {\n get: function() {\n return this[\"_on\" + o];\n },\n set: function(g) {\n this[\"_on\" + o] && (this.removeEventListener(o, this[\"_on\" + o]), delete this[\"_on\" + o]), g && this.addEventListener(o, this[\"_on\" + o] = g);\n },\n enumerable: !0,\n configurable: !0\n });\n }\n}\nfunction ui(r) {\n return typeof r != \"boolean\" ? new Error(\"Argument type: \" + pe(r) + \". Please use a boolean.\") : (Yr = r, r ? \"adapter.js logging disabled\" : \"adapter.js logging enabled\");\n}\nfunction li(r) {\n return typeof r != \"boolean\" ? new Error(\"Argument type: \" + pe(r) + \". Please use a boolean.\") : (Jr = !r, \"adapter.js deprecation warnings \" + (r ? \"disabled\" : \"enabled\"));\n}\nfunction di() {\n if ((typeof window > \"u\" ? \"undefined\" : pe(window)) === \"object\") {\n if (Yr)\n return;\n typeof console < \"u\" && typeof console.log == \"function\" && console.log.apply(console, arguments);\n }\n}\nfunction fi(r, o) {\n Jr && console.warn(r + \" is deprecated, please use \" + o + \" instead.\");\n}\nfunction hi(r) {\n var o = {\n browser: null,\n version: null\n };\n if (typeof r > \"u\" || !r.navigator || !r.navigator.userAgent)\n return o.browser = \"Not a browser.\", o;\n var i = r.navigator;\n if (i.mozGetUserMedia)\n o.browser = \"firefox\", o.version = st(i.userAgent, /Firefox\\/(\\d+)\\./, 1);\n else if (i.webkitGetUserMedia || r.isSecureContext === !1 && r.webkitRTCPeerConnection)\n o.browser = \"chrome\", o.version = st(i.userAgent, /Chrom(e|ium)\\/(\\d+)\\./, 2);\n else if (r.RTCPeerConnection && i.userAgent.match(/AppleWebKit\\/(\\d+)\\./))\n o.browser = \"safari\", o.version = st(i.userAgent, /AppleWebKit\\/(\\d+)\\./, 1), o.supportsUnifiedPlan = r.RTCRtpTransceiver && \"currentDirection\" in r.RTCRtpTransceiver.prototype;\n else\n return o.browser = \"Not a supported browser.\", o;\n return o;\n}\nfunction Pr(r) {\n return Object.prototype.toString.call(r) === \"[object Object]\";\n}\nfunction Qr(r) {\n return Pr(r) ? Object.keys(r).reduce(function(o, i) {\n var c = Pr(r[i]), l = c ? Qr(r[i]) : r[i], h = c && !Object.keys(l).length;\n return l === void 0 || h ? o : Object.assign(o, oi({}, i, l));\n }, {}) : r;\n}\nfunction ut(r, o, i) {\n !o || i.has(o.id) || (i.set(o.id, o), Object.keys(o).forEach(function(c) {\n c.endsWith(\"Id\") ? ut(r, r.get(o[c]), i) : c.endsWith(\"Ids\") && o[c].forEach(function(l) {\n ut(r, r.get(l), i);\n });\n }));\n}\nfunction pi(r, o, i) {\n var c = i ? \"outbound-rtp\" : \"inbound-rtp\", l = /* @__PURE__ */ new Map();\n if (o === null)\n return l;\n var h = [];\n return r.forEach(function(v) {\n v.type === \"track\" && v.trackIdentifier === o.id && h.push(v);\n }), h.forEach(function(v) {\n r.forEach(function(g) {\n g.type === c && g.trackId === v.id && ut(r, g, l);\n });\n }), l;\n}\nObject.defineProperty(Gr, \"__esModule\", {\n value: !0\n});\nvar mi = Gr.shimGetUserMedia = gi, vi = yi(Q);\nfunction Xr(r) {\n if (typeof WeakMap != \"function\")\n return null;\n var o = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new WeakMap();\n return (Xr = function(l) {\n return l ? i : o;\n })(r);\n}\nfunction yi(r, o) {\n if (r && r.__esModule)\n return r;\n if (r === null || he(r) !== \"object\" && typeof r != \"function\")\n return { default: r };\n var i = Xr(o);\n if (i && i.has(r))\n return i.get(r);\n var c = {}, l = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var h in r)\n if (h !== \"default\" && Object.prototype.hasOwnProperty.call(r, h)) {\n var v = l ? Object.getOwnPropertyDescriptor(r, h) : null;\n v && (v.get || v.set) ? Object.defineProperty(c, h, v) : c[h] = r[h];\n }\n return c.default = r, i && i.set(r, c), c;\n}\nfunction he(r) {\n \"@babel/helpers - typeof\";\n return he = typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\" ? function(o) {\n return typeof o;\n } : function(o) {\n return o && typeof Symbol == \"function\" && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, he(r);\n}\nvar Tr = vi.log;\nfunction gi(r, o) {\n var i = r && r.navigator;\n if (i.mediaDevices) {\n var c = function(p) {\n if (he(p) !== \"object\" || p.mandatory || p.optional)\n return p;\n var C = {};\n return Object.keys(p).forEach(function(S) {\n if (!(S === \"require\" || S === \"advanced\" || S === \"mediaSource\")) {\n var $ = he(p[S]) === \"object\" ? p[S] : {\n ideal: p[S]\n };\n $.exact !== void 0 && typeof $.exact == \"number\" && ($.min = $.max = $.exact);\n var F = function(R, A) {\n return R ? R + A.charAt(0).toUpperCase() + A.slice(1) : A === \"deviceId\" ? \"sourceId\" : A;\n };\n if ($.ideal !== void 0) {\n C.optional = C.optional || [];\n var U = {};\n typeof $.ideal == \"number\" ? (U[F(\"min\", S)] = $.ideal, C.optional.push(U), U = {}, U[F(\"max\", S)] = $.ideal, C.optional.push(U)) : (U[F(\"\", S)] = $.ideal, C.optional.push(U));\n }\n $.exact !== void 0 && typeof $.exact != \"number\" ? (C.mandatory = C.mandatory || {}, C.mandatory[F(\"\", S)] = $.exact) : [\"min\", \"max\"].forEach(function(W) {\n $[W] !== void 0 && (C.mandatory = C.mandatory || {}, C.mandatory[F(W, S)] = $[W]);\n });\n }\n }), p.advanced && (C.optional = (C.optional || []).concat(p.advanced)), C;\n }, l = function(p, C) {\n if (o.version >= 61)\n return C(p);\n if (p = JSON.parse(JSON.stringify(p)), p && he(p.audio) === \"object\") {\n var S = function(R, A, X) {\n A in R && !(X in R) && (R[X] = R[A], delete R[A]);\n };\n p = JSON.parse(JSON.stringify(p)), S(p.audio, \"autoGainControl\", \"googAutoGainControl\"), S(p.audio, \"noiseSuppression\", \"googNoiseSuppression\"), p.audio = c(p.audio);\n }\n if (p && he(p.video) === \"object\") {\n var $ = p.video.facingMode;\n $ = $ && (he($) === \"object\" ? $ : {\n ideal: $\n });\n var F = o.version < 66;\n if ($ && ($.exact === \"user\" || $.exact === \"environment\" || $.ideal === \"user\" || $.ideal === \"environment\") && !(i.mediaDevices.getSupportedConstraints && i.mediaDevices.getSupportedConstraints().facingMode && !F)) {\n delete p.video.facingMode;\n var U;\n if ($.exact === \"environment\" || $.ideal === \"environment\" ? U = [\"back\", \"rear\"] : ($.exact === \"user\" || $.ideal === \"user\") && (U = [\"front\"]), U)\n return i.mediaDevices.enumerateDevices().then(function(W) {\n W = W.filter(function(A) {\n return A.kind === \"videoinput\";\n });\n var R = W.find(function(A) {\n return U.some(function(X) {\n return A.label.toLowerCase().includes(X);\n });\n });\n return !R && W.length && U.includes(\"back\") && (R = W[W.length - 1]), R && (p.video.deviceId = $.exact ? {\n exact: R.deviceId\n } : {\n ideal: R.deviceId\n }), p.video = c(p.video), Tr(\"chrome: \" + JSON.stringify(p)), C(p);\n });\n }\n p.video = c(p.video);\n }\n return Tr(\"chrome: \" + JSON.stringify(p)), C(p);\n }, h = function(p) {\n return o.version >= 64 ? p : {\n name: {\n PermissionDeniedError: \"NotAllowedError\",\n PermissionDismissedError: \"NotAllowedError\",\n InvalidStateError: \"NotAllowedError\",\n DevicesNotFoundError: \"NotFoundError\",\n ConstraintNotSatisfiedError: \"OverconstrainedError\",\n TrackStartError: \"NotReadableError\",\n MediaDeviceFailedDueToShutdown: \"NotAllowedError\",\n MediaDeviceKillSwitchOn: \"NotAllowedError\",\n TabCaptureError: \"AbortError\",\n ScreenCaptureError: \"AbortError\",\n DeviceCaptureError: \"AbortError\"\n }[p.name] || p.name,\n message: p.message,\n constraint: p.constraint || p.constraintName,\n toString: function() {\n return this.name + (this.message && \": \") + this.message;\n }\n };\n }, v = function(p, C, S) {\n l(p, function($) {\n i.webkitGetUserMedia($, C, function(F) {\n S && S(h(F));\n });\n });\n };\n if (i.getUserMedia = v.bind(i), i.mediaDevices.getUserMedia) {\n var g = i.mediaDevices.getUserMedia.bind(i.mediaDevices);\n i.mediaDevices.getUserMedia = function(b) {\n return l(b, function(p) {\n return g(p).then(function(C) {\n if (p.audio && !C.getAudioTracks().length || p.video && !C.getVideoTracks().length)\n throw C.getTracks().forEach(function(S) {\n S.stop();\n }), new DOMException(\"\", \"NotFoundError\");\n return C;\n }, function(C) {\n return Promise.reject(h(C));\n });\n });\n };\n }\n }\n}\nvar Zr = {};\nObject.defineProperty(Zr, \"__esModule\", {\n value: !0\n});\nvar wi = Zr.shimGetUserMedia = $i, bi = Ci(Q);\nfunction Kr(r) {\n if (typeof WeakMap != \"function\")\n return null;\n var o = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new WeakMap();\n return (Kr = function(l) {\n return l ? i : o;\n })(r);\n}\nfunction Ci(r, o) {\n if (r && r.__esModule)\n return r;\n if (r === null || Pe(r) !== \"object\" && typeof r != \"function\")\n return { default: r };\n var i = Kr(o);\n if (i && i.has(r))\n return i.get(r);\n var c = {}, l = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var h in r)\n if (h !== \"default\" && Object.prototype.hasOwnProperty.call(r, h)) {\n var v = l ? Object.getOwnPropertyDescriptor(r, h) : null;\n v && (v.get || v.set) ? Object.defineProperty(c, h, v) : c[h] = r[h];\n }\n return c.default = r, i && i.set(r, c), c;\n}\nfunction Pe(r) {\n \"@babel/helpers - typeof\";\n return Pe = typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\" ? function(o) {\n return typeof o;\n } : function(o) {\n return o && typeof Symbol == \"function\" && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, Pe(r);\n}\nfunction $i(r, o) {\n var i = r && r.navigator, c = r && r.MediaStreamTrack;\n if (i.getUserMedia = function(b, p, C) {\n bi.deprecated(\"navigator.getUserMedia\", \"navigator.mediaDevices.getUserMedia\"), i.mediaDevices.getUserMedia(b).then(p, C);\n }, !(o.version > 55 && \"autoGainControl\" in i.mediaDevices.getSupportedConstraints())) {\n var l = function(p, C, S) {\n C in p && !(S in p) && (p[S] = p[C], delete p[C]);\n }, h = i.mediaDevices.getUserMedia.bind(i.mediaDevices);\n if (i.mediaDevices.getUserMedia = function(b) {\n return Pe(b) === \"object\" && Pe(b.audio) === \"object\" && (b = JSON.parse(JSON.stringify(b)), l(b.audio, \"autoGainControl\", \"mozAutoGainControl\"), l(b.audio, \"noiseSuppression\", \"mozNoiseSuppression\")), h(b);\n }, c && c.prototype.getSettings) {\n var v = c.prototype.getSettings;\n c.prototype.getSettings = function() {\n var b = v.apply(this, arguments);\n return l(b, \"mozAutoGainControl\", \"autoGainControl\"), l(b, \"mozNoiseSuppression\", \"noiseSuppression\"), b;\n };\n }\n if (c && c.prototype.applyConstraints) {\n var g = c.prototype.applyConstraints;\n c.prototype.applyConstraints = function(b) {\n return this.kind === \"audio\" && Pe(b) === \"object\" && (b = JSON.parse(JSON.stringify(b)), l(b, \"autoGainControl\", \"mozAutoGainControl\"), l(b, \"noiseSuppression\", \"mozNoiseSuppression\")), g.apply(this, [b]);\n };\n }\n }\n}\nvar ae = {};\nObject.defineProperty(ae, \"__esModule\", {\n value: !0\n});\nae.shimAudioContext = xi;\nae.shimCallbacksAPI = Ei;\nae.shimConstraints = rn;\nae.shimCreateOfferLegacy = Ai;\nvar _i = ae.shimGetUserMedia = Oi;\nae.shimLocalStreamsAPI = Pi;\nae.shimRTCIceServerUrls = Di;\nae.shimRemoteStreamsAPI = Ti;\nae.shimTrackEventTransceiver = Mi;\nvar en = Si(Q);\nfunction tn(r) {\n if (typeof WeakMap != \"function\")\n return null;\n var o = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new WeakMap();\n return (tn = function(l) {\n return l ? i : o;\n })(r);\n}\nfunction Si(r, o) {\n if (r && r.__esModule)\n return r;\n if (r === null || me(r) !== \"object\" && typeof r != \"function\")\n return { default: r };\n var i = tn(o);\n if (i && i.has(r))\n return i.get(r);\n var c = {}, l = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var h in r)\n if (h !== \"default\" && Object.prototype.hasOwnProperty.call(r, h)) {\n var v = l ? Object.getOwnPropertyDescriptor(r, h) : null;\n v && (v.get || v.set) ? Object.defineProperty(c, h, v) : c[h] = r[h];\n }\n return c.default = r, i && i.set(r, c), c;\n}\nfunction me(r) {\n \"@babel/helpers - typeof\";\n return me = typeof Symbol == \"function\" && typeof Symbol.iterator == \"symbol\" ? function(o) {\n return typeof o;\n } : function(o) {\n return o && typeof Symbol == \"function\" && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;\n }, me(r);\n}\nfunction Pi(r) {\n if (!(me(r) !== \"object\" || !r.RTCPeerConnection)) {\n if (\"getLocalStreams\" in r.RTCPeerConnection.prototype || (r.RTCPeerConnection.prototype.getLocalStreams = function() {\n return this._localStreams || (this._localStreams = []), this._localStreams;\n }), !(\"addStream\" in r.RTCPeerConnection.prototype)) {\n var o = r.RTCPeerConnection.prototype.addTrack;\n r.RTCPeerConnection.prototype.addStream = function(c) {\n var l = this;\n this._localStreams || (this._localStreams = []), this._localStreams.includes(c) || this._localStreams.push(c), c.getAudioTracks().forEach(function(h) {\n return o.call(l, h, c);\n }), c.getVideoTracks().forEach(function(h) {\n return o.call(l, h, c);\n });\n }, r.RTCPeerConnection.prototype.addTrack = function(c) {\n for (var l = this, h = arguments.length, v = new Array(h > 1 ? h - 1 : 0), g = 1; g < h; g++)\n v[g - 1] = arguments[g];\n return v && v.forEach(function(b) {\n l._localStreams ? l._localStreams.includes(b) || l._localStreams.push(b) : l._localStreams = [b];\n }), o.apply(this, arguments);\n };\n }\n \"removeStream\" in r.RTCPeerConnection.prototype || (r.RTCPeerConnection.prototype.removeStream = function(c) {\n var l = this;\n this._localStreams || (this._localStreams = []);\n var h = this._localStreams.indexOf(c);\n if (h !== -1) {\n this._localStreams.splice(h, 1);\n var v = c.getTracks();\n this.getSenders().forEach(function(g) {\n v.includes(g.track) && l.removeTrack(g);\n });\n }\n });\n }\n}\nfunction Ti(r) {\n if (!(me(r) !== \"object\" || !r.RTCPeerConnection) && (\"getRemoteStreams\" in r.RTCPeerConnection.prototype || (r.RTCPeerConnection.prototype.getRemoteStreams = function() {\n return this._remoteStreams ? this._remoteStreams : [];\n }), !(\"onaddstream\" in r.RTCPeerConnection.prototype))) {\n Object.defineProperty(r.RTCPeerConnection.prototype, \"onaddstream\", {\n get: function() {\n return this._onaddstream;\n },\n set: function(c) {\n var l = this;\n this._onaddstream && (this.removeEventListener(\"addstream\", this._onaddstream), this.removeEventListener(\"track\", this._onaddstreampoly)), this.addEventListener(\"addstream\", this._onaddstream = c), this.addEventListener(\"track\", this._onaddstreampoly = function(h) {\n h.streams.forEach(function(v) {\n if (l._remoteStreams || (l._remoteStreams = []), !l._remoteStreams.includes(v)) {\n l._remoteStreams.push(v);\n var g = new Event(\"addstream\");\n g.stream = v, l.dispatchEvent(g);\n }\n });\n });\n }\n });\n var o = r.RTCPeerConnection.prototype.setRemoteDescription;\n r.RTCPeerConnection.prototype.setRemoteDescription = function() {\n var c = this;\n return this._onaddstreampoly || this.addEventListener(\"track\", this._onaddstreampoly = function(l) {\n l.streams.forEach(function(h) {\n if (c._remoteStreams || (c._remoteStreams = []), !(c._remoteStreams.indexOf(h) >= 0)) {\n c._remoteStreams.push(h);\n var v = new Event(\"addstream\");\n v.stream = h, c.dispatchEvent(v);\n }\n });\n }), o.apply(c, arguments);\n };\n }\n}\nfunction Ei(r) {\n if (!(me(r) !== \"object\" || !r.RTCPeerConnection)) {\n var o = r.RTCPeerConnection.prototype, i = o.createOffer, c = o.createAnswer, l = o.setLocalDescription, h = o.setRemoteDescription, v = o.addIceCandidate;\n o.createOffer = function(p, C) {\n var S = arguments.length >= 2 ? arguments[2] : arguments[0], $ = i.apply(this, [S]);\n return C ? ($.then(p, C), Promise.resolve()) : $;\n }, o.createAnswer = function(p, C) {\n var S = arguments.length >= 2 ? arguments[2] : arguments[0], $ = c.apply(this, [S]);\n return C ? ($.then(p, C), Promise.resolve()) : $;\n };\n var g = function(p, C, S) {\n var $ = l.apply(this, [p]);\n return S ? ($.then(C, S), Promise.resolve()) : $;\n };\n o.setLocalDescription = g, g = function(p, C, S) {\n var $ = h.apply(this, [p]);\n return S ? ($.then(C, S), Promise.resolve()) : $;\n }, o.setRemoteDescription = g, g = function(p, C, S) {\n var $ = v.apply(this, [p]);\n return S ? ($.then(C, S), Promise.resolve()) : $;\n }, o.addIceCandidate = g;\n }\n}\nfunction Oi(r) {\n var o = r && r.navigator;\n if (o.mediaDevices && o.mediaDevices.getUserMedia) {\n var i = o.mediaDevices, c = i.getUserMedia.bind(i);\n o.mediaDevices.getUserMedia = function(l) {\n return c(rn(l));\n };\n }\n !o.getUserMedia && o.mediaDevices && o.mediaDevices.getUserMedia && (o.getUserMedia = (function(h, v, g) {\n o.mediaDevices.getUserMedia(h).then(v, g);\n }).bind(o));\n}\nfunction rn(r) {\n return r && r.video !== void 0 ? Object.assign({}, r, {\n video: en.compactObject(r.video)\n }) : r;\n}\nfunction Di(r) {\n if (r.RTCPeerConnection) {\n var o = r.RTCPeerConnection;\n r.RTCPeerConnection = function(c, l) {\n if (c && c.iceServers) {\n for (var h = [], v = 0; v < c.iceServers.length; v++) {\n var g = c.iceServers[v];\n g.urls === void 0 && g.url ? (en.deprecated(\"RTCIceServer.url\", \"RTCIceServer.urls\"), g = JSON.parse(JSON.stringify(g)), g.urls = g.url, delete g.url, h.push(g)) : h.push(c.iceServers[v]);\n }\n c.iceServers = h;\n }\n return new o(c, l);\n }, r.RTCPeerConnection.prototype = o.prototype, \"generateCertificate\" in o && Object.defineProperty(r.RTCPeerConnection, \"generateCertificate\", {\n get: function() {\n return o.generateCertificate;\n }\n });\n }\n}\nfunction Mi(r) {\n me(r) === \"object\" && r.RTCTrackEvent && \"receiver\" in r.RTCTrackEvent.prototype && !(\"transceiver\" in r.RTCTrackEvent.prototype) && Object.defineProperty(r.RTCTrackEvent.prototype, \"transceiver\", {\n get: function() {\n return {\n receiver: this.receiver\n };\n }\n });\n}\nfunction Ai(r) {\n var o = r.RTCPeerConnection.prototype.createOffer;\n r.RTCPeerConnection.prototype.createOffer = function(c) {\n if (c) {\n typeof c.offerToReceiveAudio < \"u\" && (c.offerToReceiveAudio = !!c.offerToReceiveAudio);\n var l = this.getTransceivers().find(function(v) {\n return v.receiver.track.kind === \"audio\";\n });\n c.offerToReceiveAudio === !1 && l ? l.direction === \"sendrecv\" ? l.setDirection ? l.setDirection(\"sendonly\") : l.direction = \"sendonly\" : l.direction === \"recvonly\" && (l.setDirection ? l.setDirection(\"inactive\") : l.direction = \"inactive\") : c.offerToReceiveAudio === !0 && !l && this.addTransceiver(\"audio\", {\n direction: \"recvonly\"\n }), typeof c.offerToReceiveVideo < \"u\" && (c.offerToReceiveVideo = !!c.offerToReceiveVideo);\n var h = this.getTransceivers().find(function(v) {\n return v.receiver.track.kind === \"video\";\n });\n c.offerToReceiveVideo === !1 && h ? h.direction === \"sendrecv\" ? h.setDirection ? h.setDirection(\"sendonly\") : h.direction = \"sendonly\" : h.direction === \"recvonly\" && (h.setDirection ? h.setDirection(\"inactive\") : h.direction = \"inactive\") : c.offerToReceiveVideo === !0 && !h && this.addTransceiver(\"video\", {\n direction: \"recvonly\"\n });\n }\n return o.apply(this, arguments);\n };\n}\nfunction xi(r) {\n me(r) !== \"object\" || r.AudioContext || (r.AudioContext = r.webkitAudioContext);\n}\nconst Ri = (r) => {\n let o = !1, i;\n return (...c) => (o || (i = r(c), o = !0), i);\n};\nfunction ue(r, o) {\n if (r === !1)\n throw new Error(o != null ? o : \"assertion failure\");\n}\nfunction Er(r) {\n throw new Error(\"this code should be unreachable\");\n}\nconst ki = Ri(() => {\n const r = ai(window);\n switch (r.browser) {\n case \"chrome\":\n mi(window, r);\n break;\n case \"firefox\":\n wi(window, r);\n break;\n case \"safari\":\n _i(window, r);\n break;\n default:\n throw new Vr();\n }\n});\nlet Te = Promise.resolve({ type: \"stop\", data: {} });\nasync function Or(r, o, i) {\n var g, b, p;\n if (console.debug(\n \"[vue-qrcode-reader] starting camera with constraints: \",\n JSON.stringify(o)\n ), window.isSecureContext !== !0)\n throw new Zo();\n if (((g = navigator == null ? void 0 : navigator.mediaDevices) == null ? void 0 : g.getUserMedia) === void 0)\n throw new Vr();\n ki(), console.debug(\"[vue-qrcode-reader] calling getUserMedia\");\n const c = await navigator.mediaDevices.getUserMedia({\n audio: !1,\n video: o\n });\n r.srcObject !== void 0 ? r.srcObject = c : r.mozSrcObject !== void 0 ? r.mozSrcObject = c : window.URL.createObjectURL ? r.src = window.URL.createObjectURL(c) : window.webkitURL ? r.src = window.webkitURL.createObjectURL(c) : r.src = c.id, r.play(), console.debug(\"[vue-qrcode-reader] waiting for video element to load\"), await Promise.race([\n Vt(r, \"loadeddata\"),\n // On iOS devices in PWA mode, QrcodeStream works initially, but after\n // killing and restarting the PWA, all video elements fail to load camera\n // streams and never emit the `loadeddata` event. Looks like this is\n // related to a WebKit issue (see #298). No workarounds at the moment.\n // To at least detect this situation, we throw an error if the event\n // has not been emitted after a 6 second timeout.\n Sr(6e3).then(() => {\n throw new Ko();\n })\n ]), console.debug(\"[vue-qrcode-reader] video element loaded\"), await Sr(500);\n const [l] = c.getVideoTracks(), h = (p = (b = l == null ? void 0 : l.getCapabilities) == null ? void 0 : b.call(l)) != null ? p : {};\n let v = !1;\n return i && h.torch && (await l.applyConstraints({ advanced: [{ torch: !0 }] }), v = !0), console.debug(\"[vue-qrcode-reader] camera ready\"), {\n type: \"start\",\n data: {\n videoEl: r,\n stream: c,\n capabilities: h,\n constraints: o,\n isTorchOn: v\n }\n };\n}\nasync function Ii(r, {\n constraints: o,\n torch: i,\n restart: c = !1\n}) {\n Te = Te.then((h) => {\n if (h.type === \"start\") {\n const {\n data: {\n videoEl: v,\n stream: g,\n constraints: b,\n isTorchOn: p\n }\n } = h;\n return !c && r === v && o === b && i === p ? h : nn(v, g, p).then(\n () => Or(r, o, i)\n );\n } else if (h.type === \"stop\" || h.type === \"failed\")\n return Or(r, o, i);\n Er();\n }).catch((h) => (console.debug(`[vue-qrcode-reader] starting camera failed with \"${h}\"`), { type: \"failed\", error: h }));\n const l = await Te;\n if (l.type === \"stop\")\n throw new Error(\"Something went wrong with the camera task queue (start task).\");\n if (l.type === \"failed\")\n throw l.error;\n if (l.type === \"start\")\n return l.data.capabilities;\n Er();\n}\nasync function nn(r, o, i) {\n console.debug(\"[vue-qrcode-reader] stopping camera\"), r.src = \"\", r.srcObject = null, r.load(), await Vt(r, \"error\");\n for (const c of o.getTracks())\n i != null || await c.applyConstraints({ advanced: [{ torch: !1 }] }), o.removeTrack(c), c.stop();\n return {\n type: \"stop\",\n data: {}\n };\n}\nasync function ot() {\n if (Te = Te.then((o) => {\n if (o.type === \"stop\" || o.type === \"failed\")\n return o;\n const {\n data: { videoEl: i, stream: c, isTorchOn: l }\n } = o;\n return nn(i, c, l);\n }), (await Te).type === \"start\")\n throw new Error(\"Something went wrong with the camera task queue (stop task).\");\n}\nconst Fi = /* @__PURE__ */ jt({\n __name: \"QrcodeStream\",\n props: {\n // in this file: don't use `props.constraints` directly. Use `constraintsCached`.\n constraints: {\n type: Object,\n default() {\n return { facingMode: \"environment\" };\n }\n },\n // in this file: don't use `props.formats` directly. Use `formatsCached`.\n formats: {\n type: Array,\n default: () => [\"qr_code\"]\n },\n paused: {\n type: Boolean,\n default: !1\n },\n torch: {\n type: Boolean,\n default: !1\n },\n track: {\n type: Function\n }\n },\n emits: [\"detect\", \"camera-on\", \"camera-off\", \"error\"],\n setup(r, { emit: o }) {\n const i = r, c = o, l = we(i.constraints), h = we(i.formats);\n We(\n () => i.constraints,\n (k, D) => {\n JSON.stringify(k) !== JSON.stringify(D) && (l.value = k);\n },\n { deep: !0 }\n ), We(\n () => i.formats,\n (k, D) => {\n JSON.stringify(k) !== JSON.stringify(D) && (h.value = k);\n },\n { deep: !0 }\n );\n const v = we(), g = we(), b = we(), p = we(!1), C = we(!1);\n vo(() => {\n C.value = !0;\n }), yo(() => {\n ot();\n });\n const S = Ut(() => ({\n torch: i.torch,\n constraints: l.value,\n shouldStream: C.value && !i.paused\n }));\n We(\n S,\n async (k) => {\n const D = b.value;\n ue(\n D !== void 0,\n \"cameraSettings watcher should never be triggered when component is not mounted. Thus video element should always be defined.\"\n );\n const M = v.value;\n ue(\n M !== void 0,\n \"cameraSettings watcher should never be triggered when component is not mounted. Thus canvas should always be defined.\"\n );\n const le = M.getContext(\"2d\");\n if (ue(le !== null, \"if cavnas is defined, canvas 2d context should also be non-null\"), k.shouldStream) {\n ot(), p.value = !1;\n try {\n const oe = await Ii(D, k);\n C.value ? (p.value = !0, c(\"camera-on\", oe)) : await ot();\n } catch (oe) {\n c(\"error\", oe);\n }\n } else\n M.width = D.videoWidth, M.height = D.videoHeight, le.drawImage(D, 0, 0, D.videoWidth, D.videoHeight), ot(), p.value = !1, c(\"camera-off\");\n },\n { deep: !0 }\n ), We(h, async (k) => {\n C.value && await Nr(k);\n });\n const $ = Ut(() => S.value.shouldStream && p.value);\n We($, (k) => {\n if (k) {\n ue(\n v.value !== void 0,\n \"shouldScan watcher should only be triggered when component is mounted. Thus pause frame canvas is defined\"\n ), F(v.value), ue(\n g.value !== void 0,\n \"shouldScan watcher should only be triggered when component is mounted. Thus tracking canvas is defined\"\n ), F(g.value);\n const D = () => i.track === void 0 ? 500 : 40;\n ue(\n b.value !== void 0,\n \"shouldScan watcher should only be triggered when component is mounted. Thus video element is defined\"\n ), ti(b.value, {\n detectHandler: (M) => c(\"detect\", M),\n formats: h.value,\n locateHandler: U,\n minDelay: D()\n });\n }\n });\n const F = (k) => {\n const D = k.getContext(\"2d\");\n ue(D !== null, \"canvas 2d context should always be non-null\"), D.clearRect(0, 0, k.width, k.height);\n }, U = (k) => {\n const D = g.value;\n ue(\n D !== void 0,\n \"onLocate handler should only be called when component is mounted. Thus tracking canvas is always defined.\"\n );\n const M = b.value;\n if (ue(\n M !== void 0,\n \"onLocate handler should only be called when component is mounted. Thus video element is always defined.\"\n ), k.length === 0 || i.track === void 0)\n F(D);\n else {\n const le = M.offsetWidth, oe = M.offsetHeight, be = M.videoWidth, Ce = M.videoHeight, Oe = Math.max(le / be, oe / Ce), De = be * Oe, Le = Ce * Oe, dt = De / be, ft = Le / Ce, ht = (le - De) / 2, pt = (oe - Le) / 2, Me = ({ x: de, y: Z }) => ({\n x: Math.floor(de * dt),\n y: Math.floor(Z * ft)\n }), te = ({ x: de, y: Z }) => ({\n x: Math.floor(de + ht),\n y: Math.floor(Z + pt)\n }), ve = k.map((de) => {\n const { boundingBox: Z, cornerPoints: vt } = de, { x: He, y: fe } = te(\n Me({\n x: Z.x,\n y: Z.y\n })\n ), { x: Be, y: yt } = Me({\n x: Z.width,\n y: Z.height\n });\n return {\n ...de,\n cornerPoints: vt.map((Ve) => te(Me(Ve))),\n boundingBox: DOMRectReadOnly.fromRect({ x: He, y: fe, width: Be, height: yt })\n };\n });\n D.width = M.offsetWidth, D.height = M.offsetHeight;\n const mt = D.getContext(\"2d\");\n i.track(ve, mt);\n }\n }, W = {\n width: \"100%\",\n height: \"100%\",\n position: \"relative\",\n // notice that we use z-index only once for the wrapper div.\n // If z-index is not defined, elements are stacked in the order they appear in the DOM.\n // The first element is at the very bottom and subsequent elements are added on top.\n \"z-index\": \"0\"\n }, R = {\n width: \"100%\",\n height: \"100%\",\n position: \"absolute\",\n top: \"0\",\n left: \"0\"\n }, A = {\n width: \"100%\",\n height: \"100%\",\n \"object-fit\": \"cover\"\n }, X = Ut(() => $.value ? A : {\n ...A,\n visibility: \"hidden\",\n position: \"absolute\"\n });\n return (k, D) => (Lt(), Ht(\"div\", { style: W }, [\n nt(\"video\", {\n ref_key: \"videoRef\",\n ref: b,\n style: go(X.value),\n autoplay: \"\",\n muted: \"\",\n playsinline: \"\"\n }, null, 4),\n wo(nt(\"canvas\", {\n id: \"qrcode-stream-pause-frame\",\n ref_key: \"pauseFrameRef\",\n ref: v,\n style: A\n }, null, 512), [\n [bo, !$.value]\n ]),\n nt(\"canvas\", {\n id: \"qrcode-stream-tracking-layer\",\n ref_key: \"trackingLayerRef\",\n ref: g,\n style: R\n }, null, 512),\n nt(\"div\", { style: R }, [\n Dr(k.$slots, \"default\")\n ])\n ]));\n }\n}), Ui = /* @__PURE__ */ jt({\n __name: \"QrcodeCapture\",\n props: {\n formats: {\n type: Array,\n default: () => [\"qr_code\"]\n }\n },\n emits: [\"detect\"],\n setup(r, { emit: o }) {\n const i = r, c = o, l = (h) => {\n if (!(!(h.target instanceof HTMLInputElement) || !h.target.files))\n for (const v of Array.from(h.target.files))\n zr(v, i.formats).then((g) => {\n c(\"detect\", g);\n });\n };\n return (h, v) => (Lt(), Ht(\"input\", {\n onChange: l,\n type: \"file\",\n name: \"image\",\n accept: \"image/*\",\n capture: \"environment\",\n multiple: \"\"\n }, null, 32));\n }\n}), Wi = /* @__PURE__ */ jt({\n __name: \"QrcodeDropZone\",\n props: {\n formats: {\n type: Array,\n default: () => [\"qr_code\"]\n }\n },\n emits: [\"detect\", \"dragover\", \"error\"],\n setup(r, { emit: o }) {\n const i = r, c = o, l = async (g) => {\n try {\n const b = await g;\n c(\"detect\", b);\n } catch (b) {\n c(\"error\", b);\n }\n }, h = (g) => {\n c(\"dragover\", g);\n }, v = ({ dataTransfer: g }) => {\n if (!g)\n return;\n h(!1);\n const b = [...Array.from(g.files)], p = g.getData(\"text/uri-list\");\n b.forEach((C) => {\n l(zr(C, i.formats));\n }), p !== \"\" && l(ni(p, i.formats));\n };\n return (g, b) => (Lt(), Ht(\"div\", {\n onDrop: at(v, [\"prevent\", \"stop\"]),\n onDragenter: b[0] || (b[0] = at((p) => h(!0), [\"prevent\", \"stop\"])),\n onDragleave: b[1] || (b[1] = at((p) => h(!1), [\"prevent\", \"stop\"])),\n onDragover: b[2] || (b[2] = at(() => {\n }, [\"prevent\", \"stop\"]))\n }, [\n Dr(g.$slots, \"default\")\n ], 32));\n }\n});\nfunction ji(r) {\n r.component(\"qrcode-stream\", Fi), r.component(\"qrcode-capture\", Ui), r.component(\"qrcode-drop-zone\", Wi);\n}\nconst Bi = { install: ji };\nexport {\n Ui as QrcodeCapture,\n Wi as QrcodeDropZone,\n Fi as QrcodeStream,\n Bi as VueQrcodeReader,\n ji as install,\n Hi as setZXingModuleOverrides\n};\n","<script setup>\n import Form from '@/components/formElements/Form'\n import Spinner from '@/components/Spinner.vue'\n import QrContentDisplay from '@/components/QrContentDisplay.vue'\n import { useBusStore } from '@/stores/bus'\n import { UseColorMode } from '@vueuse/components'\n import { useNotifyStore } from '@/stores/notify'\n import { QrcodeStream } from 'vue-qrcode-reader'\n \n const router = useRouter()\n const bus = useBusStore()\n const notify = useNotifyStore()\n\n const cameraIsOn = ref(false)\n const selectedCamera = ref(null)\n const cameras = ref([])\n const errorPhrase = ref('')\n const form = reactive(new Form({\n qrcode: null,\n uri: '',\n }))\n const showQrContent = ref(false)\n\n onMounted(async () => {\n if (!navigator.mediaDevices?.enumerateDevices) {\n errorPhrase.value = 'secured_context_required'\n } else {\n await navigator.mediaDevices.enumerateDevices().then((devices) => {\n cameras.value = devices.filter(({ kind }) => kind === 'videoinput')\n\n if (cameras.value.length > 0) {\n selectedCamera.value = cameras.value[0]\n }\n else errorPhrase.value = 'no_cam_on_device'\n })\n .catch((err) => {\n onError(err)\n })\n }\n })\n\n const onError = error => {\n if (error.name === 'NotAllowedError') {\n errorPhrase.value = 'need_grant_permission'\n } else if (error.name === 'NotFoundError') {\n errorPhrase.value = 'no_cam_on_device'\n } else if (error.name === 'NotSupportedError' || error.name === 'InsecureContextError') {\n errorPhrase.value = 'secured_context_required'\n } else if (error.name === 'NotReadableError') {\n errorPhrase.value = 'not_readable'\n } else if (error.name === 'OverconstrainedError') {\n errorPhrase.value = 'camera_not_suitable'\n } else if (error.name === 'StreamApiNotSupportedError') {\n errorPhrase.value = 'stream_api_not_supported'\n } else {\n notify.error(error)\n }\n }\n\n /**\n * Pushes a decoded URI to the Create or Import form\n * \n * The basicQRcodeReader option is Off, so qrcode decoding has already be done by vue-qrcode-reader, whether\n * from livescan or file input.\n * We simply check the uri validity to prevent useless push to the form, but the form will check uri validity too.\n */\n const onDetect = async (detectedCodes) => {\n const [ firstCode ] = detectedCodes\n form.uri = firstCode.rawValue\n\n if (! form.uri) {\n notify.warn({ text: trans('errors.qrcode_cannot_be_read') })\n }\n else if (form.uri.slice(0, 33).toLowerCase() == \"otpauth-migration://offline?data=\") {\n bus.migrationUri = form.uri\n router.push({ name: 'importAccounts' })\n }\n else if (form.uri.slice(0, 15).toLowerCase() !== \"otpauth://totp/\" && form.uri.slice(0, 15).toLowerCase() !== \"otpauth://hotp/\") {\n showQrContent.value = true\n notify.warn({ text: trans('errors.no_valid_otp') })\n }\n else {\n bus.decodedUri = form.uri\n router.push({ name: 'createAccount' })\n }\n }\n\n /**\n * Triggered when camera goes On\n */\n function cameraOn(event) {\n cameraIsOn.value = true\n }\n\n /**\n * Triggered when camera goes Off\n */\n function cameraOff(event) {\n cameraIsOn.value = false\n }\n\n /**\n * Exits the stream view\n */\n function exitStream() {\n // this.camera = 'off'\n router.go(-1)\n }\n\n /**\n * Paints the red outline during scan\n */\n const paintOutline = (detectedCodes, ctx) => {\n for (const detectedCode of detectedCodes) {\n const [firstPoint, ...otherPoints] = detectedCode.cornerPoints\n\n ctx.strokeStyle = 'red'\n\n ctx.beginPath()\n ctx.moveTo(firstPoint.x, firstPoint.y)\n for (const { x, y } of otherPoints) {\n ctx.lineTo(x, y)\n }\n ctx.lineTo(firstPoint.x, firstPoint.y)\n ctx.closePath()\n ctx.stroke()\n }\n }\n\n function reloadLocation() {\n location.reload()\n }\n</script>\n\n<template>\n <div class=\"modal is-active\">\n <div class=\"modal-background\"></div>\n <div class=\"modal-content\">\n <section class=\"section\">\n <div class=\"columns is-centered\">\n <div class=\"column is-three-quarters\">\n <div class=\"modal-slot has-text-centered is-shadowless\">\n <UseColorMode v-slot=\"{ mode }\">\n <div v-if=\"errorPhrase\">\n <p class=\"block is-size-5\">{{ $t('twofaccounts.stream.live_scan_cant_start') }}</p>\n <p class=\"block\" :class=\"{'has-text-light': mode == 'dark'}\">{{ $t('twofaccounts.stream.' + errorPhrase + '.reason') }}</p>\n <div v-if=\"errorPhrase == 'need_grant_permission'\" >\n <p class=\"is-size-7 mb-3\">{{ $t('twofaccounts.stream.need_grant_permission.solution') }}</p>\n <p class=\"is-size-7 mb-3\">{{ $t('twofaccounts.stream.need_grant_permission.click_camera_icon') }}</p>\n \n <div class=\"addressbar columns is-mobile is-gapless\">\n <div class=\"column is-narrow has-text-left circled\">\n <FontAwesomeIcon :icon=\"['fas', 'lock']\" class=\"ml-1\" size=\"xs\" />\n <FontAwesomeIcon :icon=\"['fas', 'video-slash']\" class=\"ml-3\" size=\"xs\" />\n </div>\n <div class=\"column has-text-left ml-3\">\n http://my.2fauth.app/...\n </div>\n <div class=\"column is-narrow has-text-right\">\n <FontAwesomeIcon :icon=\"['far', 'star']\" class=\"mr-1\" />\n </div>\n </div>\n <p>\n <a @click.stop=\"reloadLocation\">{{ $t('commons.refresh') }}</a>\n </p>\n \n <!-- <div class=\"addressbar\">\n <FontAwesomeIcon :icon=\"['fas', 'video-slash']\" class=\"mr-3 ml-2\" size=\"xs\" />\n <span class=\"circled\">http://my.2fauth.app/...</span>\n <FontAwesomeIcon :icon=\"['far', 'star']\" class=\"mr-3\" size=\"xs\" />\n </div> -->\n </div>\n <p v-else class=\"is-size-7\">{{ $t('twofaccounts.stream.' + errorPhrase + '.solution') }}</p>\n </div>\n <span v-else class=\"is-size-4\" :class=\"mode == 'dark' ? 'has-text-light':'has-text-grey-dark'\">\n <Spinner :isVisible=\"true\" :type=\"'raw'\" class=\"is-size-1\" />\n </span>\n </UseColorMode>\n </div>\n </div>\n </div>\n </section>\n </div>\n <div v-show=\"!errorPhrase\" class=\"fullscreen-streamer\">\n <qrcode-stream\n v-if=\"selectedCamera !== null\"\n :track=\"paintOutline\"\n @detect=\"onDetect\"\n @error=\"onError\"\n @camera-on=\"cameraOn\"\n @camera-off=\"cameraOff\"\n ></qrcode-stream>\n <!-- device selector -->\n <div v-if=\"cameraIsOn && cameras.length > 1\" class=\"field has-addons has-addons-centered mt-3\">\n <p class=\"control has-icons-left\">\n <span class=\"select\">\n <select v-model=\"selectedCamera\">\n <option v-for=\"camera in cameras\" :key=\"camera.label\" :value=\"camera\">\n {{ camera.label ? camera.label : $t('commons.default') }}\n </option>\n </select>\n </span>\n <span class=\"icon is-small is-left\">\n <FontAwesomeIcon :icon=\"['fas', 'camera']\" />\n </span>\n </p>\n </div>\n </div>\n <div class=\"fullscreen-footer\">\n <ButtonBackCloseCancel action=\"cancel\" :isCapture=\"true\" :useLinkTag=\"false\" @canceled=\"exitStream()\" />\n </div>\n </div>\n <modal v-model=\"showQrContent\">\n <QrContentDisplay :qrContent=\"form.uri\" />\n </modal>\n</template>"],"names":["Mr","o","i","br","Co","$o","Ar","_o","it","So","Po","xr","Rr","kr","Fr","Wr","Ir","Ur","jr","To","Eo","Lr","Ao","xo","Ro","Io","Oo","Do","Mo","ko","Cr","$r","Fo","Uo","_r","l","h","Wo","jo","Lo","Ho","Bo","Vo","Ee","Hr","Br","qo","Wt","Bt","zo","g","b","p","C","Go","S","$","lt","F","Z","U","W","R","A","X","k","D","le","oe","be","Ce","Oe","De","Le","ht","gt","dt","ft","Me","pt","te","ve","mt","de","vt","He","fe","Be","yt","Ve","a","an","d","on","Ga","z","Kt","qe","Ne","sn","wt","ie","cn","j","un","bt","Ue","ln","dn","fn","hn","pn","mn","ze","Ct","$e","ye","Ge","qt","Ye","ge","f","w","re","vn","_","T","E","O","L","q","I","J","P","ne","yn","gn","Nt","Y","_e","x","wn","bn","Cn","_t","St","zt","$n","Gt","Yt","Jt","_n","Re","Sn","Ae","Pt","xe","Pn","Tn","En","On","Je","ke","Dn","Mn","Qe","Ie","Tt","An","xn","Rn","kn","Et","In","xt","Fn","se","Un","Wn","Xe","Zt","jn","Ze","H","Ln","Hn","ee","Bn","ce","Ke","Vn","N","G","Se","rt","Ot","qn","Dt","Nn","zn","Gn","K","Mt","Yn","Jn","Qn","Xn","Zn","At","Kn","ea","ta","ra","na","aa","oa","ia","sa","ca","Ft","ua","la","da","fa","ha","pa","ma","va","ya","ga","kt","wa","ba","Ca","$a","_a","Sa","Pa","Ta","Ea","Oa","Da","Ma","Aa","xa","Ra","ka","Ia","Fa","Fe","Ua","Wa","ja","La","et","Ha","Ba","Va","qa","Na","za","uo","Za","co","lo","Ya","eo","Xa","ro","io","ao","so","ho","mo","to","Ka","Qa","Ja","oo","fo","no","po","B","V","tt","Yo","Jo","Qo","je","ct","Vt","Sr","Vr","Zo","Ko","qr","ei","Nr","ti","Gr","Q","Qr","fi","ai","hi","ui","li","st","pi","di","ut","ci","oi","ii","si","pe","Yr","Jr","Pr","mi","gi","vi","yi","Xr","he","Tr","Zr","wi","$i","bi","Ci","Kr","Pe","ae","xi","Ei","rn","Ai","_i","Oi","Pi","Di","Ti","Mi","en","Si","tn","me","c","v","Ri","ue","Er","ki","Te","Or","Ii","nn","ot","Fi","jt","we","We","vo","yo","Ut","Lt","Ht","nt","go","wo","bo","Dr","router","useRouter","bus","useBusStore","notify","useNotifyStore","cameraIsOn","ref","selectedCamera","cameras","errorPhrase","form","reactive","Form","showQrContent","onMounted","devices","kind","err","onError","error","onDetect","detectedCodes","firstCode","trans","cameraOn","event","cameraOff","exitStream","paintOutline","ctx","detectedCode","firstPoint","otherPoints","y","reloadLocation"],"mappings":"2hBACA,IAAIA,GAAK,CAAC,EAAGC,EAAGC,IAAM,CACpB,GAAI,CAACD,EAAE,IAAI,CAAC,EACV,MAAM,UAAU,UAAYC,CAAC,CACjC,EAAGC,GAAK,CAAC,EAAGF,EAAGC,KAAOF,GAAG,EAAGC,EAAG,yBAAyB,EAAGC,EAAIA,EAAE,KAAK,CAAC,EAAID,EAAE,IAAI,CAAC,GAAIG,GAAK,CAAC,EAAGH,EAAGC,IAAM,CACtG,GAAID,EAAE,IAAI,CAAC,EACT,MAAM,UAAU,mDAAmD,EACrEA,aAAa,QAAUA,EAAE,IAAI,CAAC,EAAIA,EAAE,IAAI,EAAGC,CAAC,CAC9C,EAAGG,GAAK,CAAC,EAAGJ,EAAGC,EAAG,KAAOF,GAAG,EAAGC,EAAG,wBAAwB,EAAGA,EAAE,IAAI,EAAGC,CAAC,EAAGA,GAC1E,MAAMI,GAAK,CACT,CAAC,QAAS,OAAO,EACjB,CAAC,WAAY,SAAS,EACtB,CAAC,UAAW,QAAQ,EACpB,CAAC,UAAW,QAAQ,EACpB,CAAC,UAAW,SAAS,EACrB,CAAC,UAAW,SAAS,EACrB,CAAC,mBAAoB,iBAAiB,EACtC,CAAC,cAAe,YAAY,EAC5B,CAAC,eAAgB,YAAY,EAC7B,CAAC,SAAU,QAAQ,EACnB,CAAC,QAAS,OAAO,EACjB,CAAC,MAAO,KAAK,EACb,CAAC,YAAa,UAAU,EACxB,CAAC,gBAAiB,aAAa,EAC/B,CAAC,SAAU,QAAQ,EACnB,CAAC,UAAW,QAAQ,EACpB,CAAC,aAAc,UAAU,EACzB,CAAC,QAAS,OAAO,EACjB,CAAC,QAAS,OAAO,EACjB,CAAC,eAAgB,cAAc,EAC/B,CAAC,eAAgB,cAAc,C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