wallet-connect-button-vue 1.0.27 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +177 -177
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +177 -177
- package/dist/index.js.map +1 -1
- package/dist/nl-wallet-web.js +177 -177
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -407,7 +407,7 @@ const ee = {}, Ot = [], qe = () => {
|
|
|
407
407
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Sn = (e) => e.startsWith("onUpdate:"), le = Object.assign, Tn = (e, t) => {
|
|
408
408
|
const s = e.indexOf(t);
|
|
409
409
|
s > -1 && e.splice(s, 1);
|
|
410
|
-
},
|
|
410
|
+
}, zi = Object.prototype.hasOwnProperty, Z = (e, t) => zi.call(e, t), z = Array.isArray, Dt = (e) => Ds(e) === "[object Map]", lr = (e) => Ds(e) === "[object Set]", Y = (e) => typeof e == "function", ae = (e) => typeof e == "string", gt = (e) => typeof e == "symbol", re = (e) => e !== null && typeof e == "object", ar = (e) => (re(e) || Y(e)) && Y(e.then) && Y(e.catch), cr = Object.prototype.toString, Ds = (e) => cr.call(e), Hi = (e) => Ds(e).slice(8, -1), ks = (e) => Ds(e) === "[object Object]", Nn = (e) => ae(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, Jt = /* @__PURE__ */ xn(
|
|
411
411
|
// the leading comma is intentional so empty string "" is also included
|
|
412
412
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
413
413
|
), Ls = (e) => {
|
|
@@ -439,7 +439,7 @@ const ee = {}, Ot = [], qe = () => {
|
|
|
439
439
|
let uo;
|
|
440
440
|
const Us = () => uo || (uo = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof commonjsGlobal < "u" ? commonjsGlobal : {});
|
|
441
441
|
function Pn(e) {
|
|
442
|
-
if (
|
|
442
|
+
if (z(e)) {
|
|
443
443
|
const t = {};
|
|
444
444
|
for (let s = 0; s < e.length; s++) {
|
|
445
445
|
const n = e[s], o = ae(n) ? Ji(n) : Pn(n);
|
|
@@ -465,7 +465,7 @@ function rt(e) {
|
|
|
465
465
|
let t = "";
|
|
466
466
|
if (ae(e))
|
|
467
467
|
t = e;
|
|
468
|
-
else if (
|
|
468
|
+
else if (z(e))
|
|
469
469
|
for (let s = 0; s < e.length; s++) {
|
|
470
470
|
const n = rt(e[s]);
|
|
471
471
|
n && (t += n + " ");
|
|
@@ -479,14 +479,14 @@ const Ki = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,r
|
|
|
479
479
|
function dr(e) {
|
|
480
480
|
return !!e || e === "";
|
|
481
481
|
}
|
|
482
|
-
const hr = (e) => !!(e && e.__v_isRef === true), W = (e) => ae(e) ? e : e == null ? "" :
|
|
482
|
+
const hr = (e) => !!(e && e.__v_isRef === true), W = (e) => ae(e) ? e : e == null ? "" : z(e) || re(e) && (e.toString === cr || !Y(e.toString)) ? hr(e) ? W(e.value) : JSON.stringify(e, pr, 2) : String(e), pr = (e, t) => hr(t) ? pr(e, t.value) : Dt(t) ? {
|
|
483
483
|
[`Map(${t.size})`]: [...t.entries()].reduce(
|
|
484
484
|
(s, [n, o], r) => (s[qs(n, r) + " =>"] = o, s),
|
|
485
485
|
{}
|
|
486
486
|
)
|
|
487
487
|
} : lr(t) ? {
|
|
488
488
|
[`Set(${t.size})`]: [...t.values()].map((s) => qs(s))
|
|
489
|
-
} : gt(t) ? qs(t) : re(t) && !
|
|
489
|
+
} : gt(t) ? qs(t) : re(t) && !z(t) && !ks(t) ? String(t) : t, qs = (e, t = "") => {
|
|
490
490
|
var s;
|
|
491
491
|
return (
|
|
492
492
|
// Symbol.description in es2019+ so we need to cast here to pass
|
|
@@ -812,7 +812,7 @@ function nt(e, t, s, n, o, r) {
|
|
|
812
812
|
if (jn(), t === "clear")
|
|
813
813
|
i.forEach(c);
|
|
814
814
|
else {
|
|
815
|
-
const f =
|
|
815
|
+
const f = z(e), l = f && Nn(s);
|
|
816
816
|
if (f && s === "length") {
|
|
817
817
|
const a = Number(n);
|
|
818
818
|
i.forEach((u, h) => {
|
|
@@ -847,7 +847,7 @@ const tl = {
|
|
|
847
847
|
},
|
|
848
848
|
concat(...e) {
|
|
849
849
|
return Nt(this).concat(
|
|
850
|
-
...e.map((t) =>
|
|
850
|
+
...e.map((t) => z(t) ? Nt(t) : t)
|
|
851
851
|
);
|
|
852
852
|
},
|
|
853
853
|
entries() {
|
|
@@ -965,7 +965,7 @@ function en(e, t, s) {
|
|
|
965
965
|
const n = J(e);
|
|
966
966
|
pe(n, "iterate", os);
|
|
967
967
|
const o = n[t](...s);
|
|
968
|
-
return (o === -1 || o === false) &&
|
|
968
|
+
return (o === -1 || o === false) && zn(s[0]) ? (s[0] = J(s[0]), n[t](...s)) : o;
|
|
969
969
|
}
|
|
970
970
|
function Gt(e, t, s = []) {
|
|
971
971
|
it(), jn();
|
|
@@ -997,7 +997,7 @@ class Cr {
|
|
|
997
997
|
return n === (o ? r ? pl : Sr : r ? xr : Er).get(t) || // receiver is not the reactive proxy, but has the same prototype
|
|
998
998
|
// this means the receiver is a user proxy of the reactive proxy
|
|
999
999
|
Object.getPrototypeOf(t) === Object.getPrototypeOf(n) ? t : void 0;
|
|
1000
|
-
const i =
|
|
1000
|
+
const i = z(t);
|
|
1001
1001
|
if (!o) {
|
|
1002
1002
|
let f;
|
|
1003
1003
|
if (i && (f = tl[s]))
|
|
@@ -1030,10 +1030,10 @@ class Rr extends Cr {
|
|
|
1030
1030
|
let r = t[s];
|
|
1031
1031
|
if (!this._isShallow) {
|
|
1032
1032
|
const f = vt(r);
|
|
1033
|
-
if (!Be(n) && !vt(n) && (r = J(r), n = J(n)), !
|
|
1033
|
+
if (!Be(n) && !vt(n) && (r = J(r), n = J(n)), !z(t) && me(r) && !me(n))
|
|
1034
1034
|
return f || (r.value = n), true;
|
|
1035
1035
|
}
|
|
1036
|
-
const i =
|
|
1036
|
+
const i = z(t) && Nn(s) ? Number(s) < t.length : Z(t, s), c = Reflect.set(
|
|
1037
1037
|
t,
|
|
1038
1038
|
s,
|
|
1039
1039
|
n,
|
|
@@ -1055,7 +1055,7 @@ class Rr extends Cr {
|
|
|
1055
1055
|
return pe(
|
|
1056
1056
|
t,
|
|
1057
1057
|
"iterate",
|
|
1058
|
-
|
|
1058
|
+
z(t) ? "length" : At
|
|
1059
1059
|
), Reflect.ownKeys(t);
|
|
1060
1060
|
}
|
|
1061
1061
|
}
|
|
@@ -1203,7 +1203,7 @@ function gl(e) {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
}
|
|
1205
1205
|
function ml(e) {
|
|
1206
|
-
return e.__v_skip || !Object.isExtensible(e) ? 0 : gl(
|
|
1206
|
+
return e.__v_skip || !Object.isExtensible(e) ? 0 : gl(Hi(e));
|
|
1207
1207
|
}
|
|
1208
1208
|
function Bn(e) {
|
|
1209
1209
|
return vt(e) ? e : Fn(
|
|
@@ -1256,7 +1256,7 @@ function vt(e) {
|
|
|
1256
1256
|
function Be(e) {
|
|
1257
1257
|
return !!(e && e.__v_isShallow);
|
|
1258
1258
|
}
|
|
1259
|
-
function
|
|
1259
|
+
function zn(e) {
|
|
1260
1260
|
return e ? !!e.__v_raw : false;
|
|
1261
1261
|
}
|
|
1262
1262
|
function J(e) {
|
|
@@ -1336,7 +1336,7 @@ function Cl(e, t = false, s = bt) {
|
|
|
1336
1336
|
function Rl(e, t, s = ee) {
|
|
1337
1337
|
const { immediate: n, deep: o, once: r, scheduler: i, augmentJob: c, call: f } = s, l = (A) => o ? A : Be(A) || o === false || o === 0 ? dt(A, 1) : dt(A);
|
|
1338
1338
|
let a, u, h, m, g = false, b = false;
|
|
1339
|
-
if (me(e) ? (u = () => e.value, g = Be(e)) : qt(e) ? (u = () => l(e), g = true) :
|
|
1339
|
+
if (me(e) ? (u = () => e.value, g = Be(e)) : qt(e) ? (u = () => l(e), g = true) : z(e) ? (b = true, g = e.some((A) => qt(A) || Be(A)), u = () => e.map((A) => {
|
|
1340
1340
|
if (me(A))
|
|
1341
1341
|
return A.value;
|
|
1342
1342
|
if (qt(A))
|
|
@@ -1415,7 +1415,7 @@ function dt(e, t = 1 / 0, s) {
|
|
|
1415
1415
|
return e;
|
|
1416
1416
|
if (s.set(e, t), t--, me(e))
|
|
1417
1417
|
dt(e.value, t, s);
|
|
1418
|
-
else if (
|
|
1418
|
+
else if (z(e))
|
|
1419
1419
|
for (let n = 0; n < e.length; n++)
|
|
1420
1420
|
dt(e[n], t, s);
|
|
1421
1421
|
else if (lr(e) || Dt(e))
|
|
@@ -1449,7 +1449,7 @@ function _e(e, t, s, n) {
|
|
|
1449
1449
|
Bs(r, t, s);
|
|
1450
1450
|
}), o;
|
|
1451
1451
|
}
|
|
1452
|
-
if (
|
|
1452
|
+
if (z(e)) {
|
|
1453
1453
|
const o = [];
|
|
1454
1454
|
for (let r = 0; r < e.length; r++)
|
|
1455
1455
|
o.push(_e(e[r], t, s, n));
|
|
@@ -1504,7 +1504,7 @@ function xl(e) {
|
|
|
1504
1504
|
}
|
|
1505
1505
|
return t;
|
|
1506
1506
|
}
|
|
1507
|
-
function
|
|
1507
|
+
function Hn(e) {
|
|
1508
1508
|
if (!(e.flags & 1)) {
|
|
1509
1509
|
const t = rs(e), s = we[we.length - 1];
|
|
1510
1510
|
!s || // fast path when the job id is larger than the tail
|
|
@@ -1515,7 +1515,7 @@ function jr() {
|
|
|
1515
1515
|
xs || (xs = Nr.then(Dr));
|
|
1516
1516
|
}
|
|
1517
1517
|
function Sl(e) {
|
|
1518
|
-
|
|
1518
|
+
z(e) ? kt.push(...e) : ut && e.id === -1 ? ut.splice(Pt + 1, 0, e) : e.flags & 1 || (kt.push(e), e.flags |= 1), jr();
|
|
1519
1519
|
}
|
|
1520
1520
|
function po(e, t, s = Je + 1) {
|
|
1521
1521
|
for (; s < we.length; s++) {
|
|
@@ -1614,11 +1614,11 @@ function Lr(e) {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
const Ts = /* @__PURE__ */ new WeakMap();
|
|
1616
1616
|
function _t(e, t, s, n, o = false) {
|
|
1617
|
-
if (
|
|
1617
|
+
if (z(e)) {
|
|
1618
1618
|
e.forEach(
|
|
1619
1619
|
(g, b) => _t(
|
|
1620
1620
|
g,
|
|
1621
|
-
t && (
|
|
1621
|
+
t && (z(t) ? t[b] : t),
|
|
1622
1622
|
s,
|
|
1623
1623
|
n,
|
|
1624
1624
|
o
|
|
@@ -1649,8 +1649,8 @@ function _t(e, t, s, n, o = false) {
|
|
|
1649
1649
|
if (e.f) {
|
|
1650
1650
|
const x = g ? m(f) ? u[f] : a[f] : f.value;
|
|
1651
1651
|
if (o)
|
|
1652
|
-
|
|
1653
|
-
else if (
|
|
1652
|
+
z(x) && Tn(x, r);
|
|
1653
|
+
else if (z(x))
|
|
1654
1654
|
x.includes(r) || x.push(r);
|
|
1655
1655
|
else if (g)
|
|
1656
1656
|
a[f] = [r], m(f) && (u[f] = a[f]);
|
|
@@ -1727,9 +1727,9 @@ const at = (e) => (t, s = Ae) => {
|
|
|
1727
1727
|
"bu"
|
|
1728
1728
|
), Bl = at("u"), Fl = at(
|
|
1729
1729
|
"bum"
|
|
1730
|
-
), Gn = at("um"),
|
|
1730
|
+
), Gn = at("um"), zl = at(
|
|
1731
1731
|
"sp"
|
|
1732
|
-
),
|
|
1732
|
+
), Hl = at("rtg"), Yl = at("rtc");
|
|
1733
1733
|
function Wl(e, t = Ae) {
|
|
1734
1734
|
Fs("ec", e, t);
|
|
1735
1735
|
}
|
|
@@ -1748,9 +1748,9 @@ const Gl = Symbol.for("v-ndc"), yn = (e) => e ? ri(e) ? Jn(e) : yn(e.parent) : n
|
|
|
1748
1748
|
$root: (e) => yn(e.root),
|
|
1749
1749
|
$host: (e) => e.ce,
|
|
1750
1750
|
$emit: (e) => e.emit,
|
|
1751
|
-
$options: (e) =>
|
|
1751
|
+
$options: (e) => zr(e),
|
|
1752
1752
|
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1753
|
-
|
|
1753
|
+
Hn(e.update);
|
|
1754
1754
|
}),
|
|
1755
1755
|
$nextTick: (e) => e.n || (e.n = Pr.bind(e.proxy)),
|
|
1756
1756
|
$watch: (e) => fa.bind(e)
|
|
@@ -1822,14 +1822,14 @@ const Gl = Symbol.for("v-ndc"), yn = (e) => e ? ri(e) ? Jn(e) : yn(e.parent) : n
|
|
|
1822
1822
|
}
|
|
1823
1823
|
};
|
|
1824
1824
|
function mo(e) {
|
|
1825
|
-
return
|
|
1825
|
+
return z(e) ? e.reduce(
|
|
1826
1826
|
(t, s) => (t[s] = null, t),
|
|
1827
1827
|
{}
|
|
1828
1828
|
) : e;
|
|
1829
1829
|
}
|
|
1830
1830
|
let bn = true;
|
|
1831
1831
|
function Zl(e) {
|
|
1832
|
-
const t =
|
|
1832
|
+
const t = zr(e), s = e.proxy, n = e.ctx;
|
|
1833
1833
|
bn = false, t.beforeCreate && yo(t.beforeCreate, e, "bc");
|
|
1834
1834
|
const {
|
|
1835
1835
|
// state
|
|
@@ -1857,7 +1857,7 @@ function Zl(e) {
|
|
|
1857
1857
|
errorCaptured: Pe,
|
|
1858
1858
|
serverPrefetch: $e,
|
|
1859
1859
|
// public API
|
|
1860
|
-
expose:
|
|
1860
|
+
expose: He,
|
|
1861
1861
|
inheritAttrs: ct,
|
|
1862
1862
|
// assets
|
|
1863
1863
|
components: et,
|
|
@@ -1897,12 +1897,12 @@ function Zl(e) {
|
|
|
1897
1897
|
}
|
|
1898
1898
|
a && yo(a, e, "c");
|
|
1899
1899
|
function X(q, G) {
|
|
1900
|
-
|
|
1900
|
+
z(G) ? G.forEach((We) => q(We.bind(s))) : G && q(G.bind(s));
|
|
1901
1901
|
}
|
|
1902
|
-
if (X(Ll, u), X(Wn, h), X(Ul, m), X(Bl, g), X(Ol, b), X(Dl, M), X(Wl, Pe), X(Yl, oe), X(
|
|
1903
|
-
if (
|
|
1902
|
+
if (X(Ll, u), X(Wn, h), X(Ul, m), X(Bl, g), X(Ol, b), X(Dl, M), X(Wl, Pe), X(Yl, oe), X(Hl, te), X(Fl, L), X(Gn, A), X(zl, $e), z(He))
|
|
1903
|
+
if (He.length) {
|
|
1904
1904
|
const q = e.exposed || (e.exposed = {});
|
|
1905
|
-
|
|
1905
|
+
He.forEach((G) => {
|
|
1906
1906
|
Object.defineProperty(q, G, {
|
|
1907
1907
|
get: () => s[G],
|
|
1908
1908
|
set: (We) => s[G] = We,
|
|
@@ -1913,7 +1913,7 @@ function Zl(e) {
|
|
|
1913
1913
|
O && e.render === qe && (e.render = O), ct != null && (e.inheritAttrs = ct), et && (e.components = et), Ye && (e.directives = Ye), $e && Lr(e);
|
|
1914
1914
|
}
|
|
1915
1915
|
function Xl(e, t, s = qe) {
|
|
1916
|
-
|
|
1916
|
+
z(e) && (e = wn(e));
|
|
1917
1917
|
for (const n in e) {
|
|
1918
1918
|
const o = e[n];
|
|
1919
1919
|
let r;
|
|
@@ -1931,7 +1931,7 @@ function Xl(e, t, s = qe) {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
function yo(e, t, s) {
|
|
1933
1933
|
_e(
|
|
1934
|
-
|
|
1934
|
+
z(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy),
|
|
1935
1935
|
t,
|
|
1936
1936
|
s
|
|
1937
1937
|
);
|
|
@@ -1944,14 +1944,14 @@ function Fr(e, t, s, n) {
|
|
|
1944
1944
|
} else if (Y(e))
|
|
1945
1945
|
ts(o, e.bind(s));
|
|
1946
1946
|
else if (re(e))
|
|
1947
|
-
if (
|
|
1947
|
+
if (z(e))
|
|
1948
1948
|
e.forEach((r) => Fr(r, t, s, n));
|
|
1949
1949
|
else {
|
|
1950
1950
|
const r = Y(e.handler) ? e.handler.bind(s) : t[e.handler];
|
|
1951
1951
|
Y(r) && ts(o, r, e);
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
|
-
function
|
|
1954
|
+
function zr(e) {
|
|
1955
1955
|
const t = e.type, { mixins: s, extends: n } = t, {
|
|
1956
1956
|
mixins: o,
|
|
1957
1957
|
optionsCache: r,
|
|
@@ -2017,7 +2017,7 @@ function Kl(e, t) {
|
|
|
2017
2017
|
return Xt(wn(e), wn(t));
|
|
2018
2018
|
}
|
|
2019
2019
|
function wn(e) {
|
|
2020
|
-
if (
|
|
2020
|
+
if (z(e)) {
|
|
2021
2021
|
const t = {};
|
|
2022
2022
|
for (let s = 0; s < e.length; s++)
|
|
2023
2023
|
t[e[s]] = e[s];
|
|
@@ -2032,7 +2032,7 @@ function Xt(e, t) {
|
|
|
2032
2032
|
return e ? le(/* @__PURE__ */ Object.create(null), e, t) : t;
|
|
2033
2033
|
}
|
|
2034
2034
|
function wo(e, t) {
|
|
2035
|
-
return e ?
|
|
2035
|
+
return e ? z(e) && z(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : le(
|
|
2036
2036
|
/* @__PURE__ */ Object.create(null),
|
|
2037
2037
|
mo(e),
|
|
2038
2038
|
mo(t ?? {})
|
|
@@ -2046,7 +2046,7 @@ function Ql(e, t) {
|
|
|
2046
2046
|
s[n] = ye(e[n], t[n]);
|
|
2047
2047
|
return s;
|
|
2048
2048
|
}
|
|
2049
|
-
function
|
|
2049
|
+
function Hr() {
|
|
2050
2050
|
return {
|
|
2051
2051
|
app: null,
|
|
2052
2052
|
config: {
|
|
@@ -2071,7 +2071,7 @@ let ql = 0;
|
|
|
2071
2071
|
function _l(e, t) {
|
|
2072
2072
|
return function(n, o = null) {
|
|
2073
2073
|
Y(n) || (n = le({}, n)), o != null && !re(o) && (o = null);
|
|
2074
|
-
const r =
|
|
2074
|
+
const r = Hr(), i = /* @__PURE__ */ new WeakSet(), c = [];
|
|
2075
2075
|
let f = false;
|
|
2076
2076
|
const l = r.app = {
|
|
2077
2077
|
_uid: ql++,
|
|
@@ -2173,7 +2173,7 @@ function ea(e, t, s, n) {
|
|
|
2173
2173
|
const a = e.vnode.dynamicProps;
|
|
2174
2174
|
for (let u = 0; u < a.length; u++) {
|
|
2175
2175
|
let h = a[u];
|
|
2176
|
-
if (
|
|
2176
|
+
if (zs(e.emitsOptions, h))
|
|
2177
2177
|
continue;
|
|
2178
2178
|
const m = t[h];
|
|
2179
2179
|
if (f)
|
|
@@ -2226,7 +2226,7 @@ function Vr(e, t, s, n) {
|
|
|
2226
2226
|
continue;
|
|
2227
2227
|
const l = t[f];
|
|
2228
2228
|
let a;
|
|
2229
|
-
o && Z(o, a = Le(f)) ? !r || !r.includes(a) ? s[a] = l : (c || (c = {}))[a] = l :
|
|
2229
|
+
o && Z(o, a = Le(f)) ? !r || !r.includes(a) ? s[a] = l : (c || (c = {}))[a] = l : zs(e.emitsOptions, f) || (!(f in n) || l !== n[f]) && (n[f] = l, i = true);
|
|
2230
2230
|
}
|
|
2231
2231
|
if (r) {
|
|
2232
2232
|
const f = J(s), l = c || ee;
|
|
@@ -2292,7 +2292,7 @@ function Zr(e, t, s = false) {
|
|
|
2292
2292
|
}
|
|
2293
2293
|
if (!r && !f)
|
|
2294
2294
|
return re(e) && n.set(e, Ot), Ot;
|
|
2295
|
-
if (
|
|
2295
|
+
if (z(r))
|
|
2296
2296
|
for (let a = 0; a < r.length; a++) {
|
|
2297
2297
|
const u = Le(r[a]);
|
|
2298
2298
|
Ao(u) && (i[u] = ee);
|
|
@@ -2301,9 +2301,9 @@ function Zr(e, t, s = false) {
|
|
|
2301
2301
|
for (const a in r) {
|
|
2302
2302
|
const u = Le(a);
|
|
2303
2303
|
if (Ao(u)) {
|
|
2304
|
-
const h = r[a], m = i[u] =
|
|
2304
|
+
const h = r[a], m = i[u] = z(h) || Y(h) ? { type: h } : le({}, h), g = m.type;
|
|
2305
2305
|
let b = false, M = true;
|
|
2306
|
-
if (
|
|
2306
|
+
if (z(g))
|
|
2307
2307
|
for (let x = 0; x < g.length; ++x) {
|
|
2308
2308
|
const L = g[x], j = Y(L) && L.name;
|
|
2309
2309
|
if (j === "Boolean") {
|
|
@@ -2328,7 +2328,7 @@ function Zr(e, t, s = false) {
|
|
|
2328
2328
|
function Ao(e) {
|
|
2329
2329
|
return e[0] !== "$" && !Jt(e);
|
|
2330
2330
|
}
|
|
2331
|
-
const Vn = (e) => e === "_" || e === "_ctx" || e === "$stable", Zn = (e) =>
|
|
2331
|
+
const Vn = (e) => e === "_" || e === "_ctx" || e === "$stable", Zn = (e) => z(e) ? e.map(Ke) : [Ke(e)], sa = (e, t, s) => {
|
|
2332
2332
|
if (t._n)
|
|
2333
2333
|
return t;
|
|
2334
2334
|
const n = Tl((...o) => Zn(t(...o)), s);
|
|
@@ -2393,7 +2393,7 @@ function ia(e, t) {
|
|
|
2393
2393
|
d && !Vt(d, p) && (E = ms(d), de(d, v, I, true), d = null), p.patchFlag === -2 && (S = false, p.dynamicChildren = null);
|
|
2394
2394
|
const { type: C, ref: U, shapeFlag: P } = p;
|
|
2395
2395
|
switch (C) {
|
|
2396
|
-
case
|
|
2396
|
+
case Hs:
|
|
2397
2397
|
M(d, p, w, E);
|
|
2398
2398
|
break;
|
|
2399
2399
|
case pt:
|
|
@@ -2579,7 +2579,7 @@ function ia(e, t) {
|
|
|
2579
2579
|
S |= d.patchFlag & 16;
|
|
2580
2580
|
const P = d.props || ee, k = p.props || ee;
|
|
2581
2581
|
let F;
|
|
2582
|
-
if (w && yt(w, false), (F = k.onVnodeBeforeUpdate) && Xe(F, w, p, d), U && mt(p, d, w, "beforeUpdate"), w && yt(w, true), (P.innerHTML && k.innerHTML == null || P.textContent && k.textContent == null) && a(T, ""), C ?
|
|
2582
|
+
if (w && yt(w, false), (F = k.onVnodeBeforeUpdate) && Xe(F, w, p, d), U && mt(p, d, w, "beforeUpdate"), w && yt(w, true), (P.innerHTML && k.innerHTML == null || P.textContent && k.textContent == null) && a(T, ""), C ? He(
|
|
2583
2583
|
d.dynamicChildren,
|
|
2584
2584
|
C,
|
|
2585
2585
|
T,
|
|
@@ -2612,7 +2612,7 @@ function ia(e, t) {
|
|
|
2612
2612
|
((F = k.onVnodeUpdated) || U) && Se(() => {
|
|
2613
2613
|
F && Xe(F, w, p, d), U && mt(p, d, w, "updated");
|
|
2614
2614
|
}, E);
|
|
2615
|
-
},
|
|
2615
|
+
}, He = (d, p, w, E, v, I, N) => {
|
|
2616
2616
|
for (let T = 0; T < p.length; T++) {
|
|
2617
2617
|
const S = d[T], C = p[T], U = (
|
|
2618
2618
|
// oldVNode may be an errored async setup() component inside Suspense
|
|
@@ -2677,7 +2677,7 @@ function ia(e, t) {
|
|
|
2677
2677
|
S
|
|
2678
2678
|
)) : P > 0 && P & 64 && k && // #2715 the previous fragment could've been a BAILed one as a result
|
|
2679
2679
|
// of renderSlot() with no valid children
|
|
2680
|
-
d.dynamicChildren ? (
|
|
2680
|
+
d.dynamicChildren ? (He(
|
|
2681
2681
|
d.dynamicChildren,
|
|
2682
2682
|
k,
|
|
2683
2683
|
w,
|
|
@@ -2720,7 +2720,7 @@ function ia(e, t) {
|
|
|
2720
2720
|
I,
|
|
2721
2721
|
N,
|
|
2722
2722
|
S
|
|
2723
|
-
) :
|
|
2723
|
+
) : zt(d, p, S);
|
|
2724
2724
|
}, ke = (d, p, w, E, v, I, N) => {
|
|
2725
2725
|
const T = d.component = xa(
|
|
2726
2726
|
d,
|
|
@@ -2742,7 +2742,7 @@ function ia(e, t) {
|
|
|
2742
2742
|
I,
|
|
2743
2743
|
N
|
|
2744
2744
|
);
|
|
2745
|
-
},
|
|
2745
|
+
}, zt = (d, p, w) => {
|
|
2746
2746
|
const E = p.component = d.component;
|
|
2747
2747
|
if (ya(d, p, w))
|
|
2748
2748
|
if (E.asyncDep && !E.asyncResolved) {
|
|
@@ -2814,7 +2814,7 @@ function ia(e, t) {
|
|
|
2814
2814
|
const S = d.effect = new gr(T);
|
|
2815
2815
|
d.scope.off();
|
|
2816
2816
|
const C = d.update = S.run.bind(S), U = d.job = S.runIfDirty.bind(S);
|
|
2817
|
-
U.i = d, U.id = d.uid, S.scheduler = () =>
|
|
2817
|
+
U.i = d, U.id = d.uid, S.scheduler = () => Hn(U), yt(d, true), C();
|
|
2818
2818
|
}, q = (d, p, w) => {
|
|
2819
2819
|
p.component = d;
|
|
2820
2820
|
const E = d.vnode.props;
|
|
@@ -2850,7 +2850,7 @@ function ia(e, t) {
|
|
|
2850
2850
|
return;
|
|
2851
2851
|
}
|
|
2852
2852
|
}
|
|
2853
|
-
F & 8 ? (U & 16 &&
|
|
2853
|
+
F & 8 ? (U & 16 && Ht(C, v, I), P !== C && a(w, P)) : U & 16 ? F & 16 ? xt(
|
|
2854
2854
|
C,
|
|
2855
2855
|
P,
|
|
2856
2856
|
w,
|
|
@@ -2860,7 +2860,7 @@ function ia(e, t) {
|
|
|
2860
2860
|
N,
|
|
2861
2861
|
T,
|
|
2862
2862
|
S
|
|
2863
|
-
) :
|
|
2863
|
+
) : Ht(C, v, I, true) : (U & 8 && a(w, ""), F & 16 && Pe(
|
|
2864
2864
|
P,
|
|
2865
2865
|
w,
|
|
2866
2866
|
E,
|
|
@@ -2888,7 +2888,7 @@ function ia(e, t) {
|
|
|
2888
2888
|
S
|
|
2889
2889
|
);
|
|
2890
2890
|
}
|
|
2891
|
-
C > U ?
|
|
2891
|
+
C > U ? Ht(
|
|
2892
2892
|
d,
|
|
2893
2893
|
v,
|
|
2894
2894
|
I,
|
|
@@ -3102,13 +3102,13 @@ function ia(e, t) {
|
|
|
3102
3102
|
// so that it doesn't take the fast path during unmount - otherwise
|
|
3103
3103
|
// components nested in v-once are never unmounted.
|
|
3104
3104
|
!C.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
3105
|
-
(I !== ne || P > 0 && P & 64) ?
|
|
3105
|
+
(I !== ne || P > 0 && P & 64) ? Ht(
|
|
3106
3106
|
C,
|
|
3107
3107
|
p,
|
|
3108
3108
|
w,
|
|
3109
3109
|
false,
|
|
3110
3110
|
true
|
|
3111
|
-
) : (I === ne && P & 384 || !v && U & 16) &&
|
|
3111
|
+
) : (I === ne && P & 384 || !v && U & 16) && Ht(S, p, w), E && St(d);
|
|
3112
3112
|
}
|
|
3113
3113
|
(_ && (K = N && N.onVnodeUnmounted) || V) && Se(() => {
|
|
3114
3114
|
K && Xe(K, p, d), V && mt(d, null, p, "unmounted");
|
|
@@ -3141,7 +3141,7 @@ function ia(e, t) {
|
|
|
3141
3141
|
Mo(S), Mo(C), E && Qs(E), v.stop(), I && (I.flags |= 8, de(N, d, p, w)), T && Se(T, p), Se(() => {
|
|
3142
3142
|
d.isUnmounted = true;
|
|
3143
3143
|
}, p);
|
|
3144
|
-
},
|
|
3144
|
+
}, Ht = (d, p, w, E = false, v = false, I = 0) => {
|
|
3145
3145
|
for (let N = I; N < d.length; N++)
|
|
3146
3146
|
de(d[N], p, w, E, v);
|
|
3147
3147
|
}, ms = (d) => {
|
|
@@ -3171,7 +3171,7 @@ function ia(e, t) {
|
|
|
3171
3171
|
mt: ke,
|
|
3172
3172
|
mc: Pe,
|
|
3173
3173
|
pc: G,
|
|
3174
|
-
pbc:
|
|
3174
|
+
pbc: He,
|
|
3175
3175
|
n: ms,
|
|
3176
3176
|
o: e
|
|
3177
3177
|
};
|
|
@@ -3192,11 +3192,11 @@ function la(e, t) {
|
|
|
3192
3192
|
}
|
|
3193
3193
|
function Qr(e, t, s = false) {
|
|
3194
3194
|
const n = e.children, o = t.children;
|
|
3195
|
-
if (
|
|
3195
|
+
if (z(n) && z(o))
|
|
3196
3196
|
for (let r = 0; r < n.length; r++) {
|
|
3197
3197
|
const i = n[r];
|
|
3198
3198
|
let c = o[r];
|
|
3199
|
-
c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && (c = o[r] = ft(o[r]), c.el = i.el), !s && c.patchFlag !== -2 && Qr(i, c)), c.type ===
|
|
3199
|
+
c.shapeFlag & 1 && !c.dynamicChildren && ((c.patchFlag <= 0 || c.patchFlag === 32) && (c = o[r] = ft(o[r]), c.el = i.el), !s && c.patchFlag !== -2 && Qr(i, c)), c.type === Hs && // avoid cached text nodes retaining detached dom nodes
|
|
3200
3200
|
c.patchFlag !== -1 && (c.el = i.el), c.type === pt && !c.el && (c.el = i.el);
|
|
3201
3201
|
}
|
|
3202
3202
|
}
|
|
@@ -3253,7 +3253,7 @@ function _r(e, t, s = ee) {
|
|
|
3253
3253
|
r === "post" ? c.scheduler = (m) => {
|
|
3254
3254
|
Se(m, a && a.suspense);
|
|
3255
3255
|
} : r !== "sync" && (u = true, c.scheduler = (m, g) => {
|
|
3256
|
-
g ? m() :
|
|
3256
|
+
g ? m() : Hn(m);
|
|
3257
3257
|
}), c.augmentJob = (m) => {
|
|
3258
3258
|
t && (m.flags |= 4), u && (m.flags |= 2, a && (m.id = a.uid, m.i = a));
|
|
3259
3259
|
};
|
|
@@ -3319,9 +3319,9 @@ function ei(e, t, s = false) {
|
|
|
3319
3319
|
};
|
|
3320
3320
|
!s && t.mixins.length && t.mixins.forEach(f), e.extends && f(e.extends), e.mixins && e.mixins.forEach(f);
|
|
3321
3321
|
}
|
|
3322
|
-
return !r && !c ? (re(e) && n.set(e, null), null) : (
|
|
3322
|
+
return !r && !c ? (re(e) && n.set(e, null), null) : (z(r) ? r.forEach((f) => i[f] = null) : le(i, r), re(e) && n.set(e, i), i);
|
|
3323
3323
|
}
|
|
3324
|
-
function
|
|
3324
|
+
function zs(e, t) {
|
|
3325
3325
|
return !e || !Os(t) ? false : (t = t.slice(2).replace(/Once$/, ""), Z(e, t[0].toLowerCase() + t.slice(1)) || Z(e, Oe(t)) || Z(e, t));
|
|
3326
3326
|
}
|
|
3327
3327
|
function vo(e) {
|
|
@@ -3406,7 +3406,7 @@ function ya(e, t, s) {
|
|
|
3406
3406
|
const a = t.dynamicProps;
|
|
3407
3407
|
for (let u = 0; u < a.length; u++) {
|
|
3408
3408
|
const h = a[u];
|
|
3409
|
-
if (i[h] !== n[h] && !
|
|
3409
|
+
if (i[h] !== n[h] && !zs(l, h))
|
|
3410
3410
|
return true;
|
|
3411
3411
|
}
|
|
3412
3412
|
}
|
|
@@ -3420,7 +3420,7 @@ function Io(e, t, s) {
|
|
|
3420
3420
|
return true;
|
|
3421
3421
|
for (let o = 0; o < n.length; o++) {
|
|
3422
3422
|
const r = n[o];
|
|
3423
|
-
if (t[r] !== e[r] && !
|
|
3423
|
+
if (t[r] !== e[r] && !zs(s, r))
|
|
3424
3424
|
return true;
|
|
3425
3425
|
}
|
|
3426
3426
|
return false;
|
|
@@ -3436,11 +3436,11 @@ function ba({ vnode: e, parent: t }, s) {
|
|
|
3436
3436
|
}
|
|
3437
3437
|
const ti = (e) => e.__isSuspense;
|
|
3438
3438
|
function wa(e, t) {
|
|
3439
|
-
t && t.pendingBranch ?
|
|
3439
|
+
t && t.pendingBranch ? z(e) ? t.effects.push(...e) : t.effects.push(e) : Sl(e);
|
|
3440
3440
|
}
|
|
3441
|
-
const ne = Symbol.for("v-fgt"),
|
|
3441
|
+
const ne = Symbol.for("v-fgt"), Hs = Symbol.for("v-txt"), pt = Symbol.for("v-cmt"), nn = Symbol.for("v-stc"), ss = [];
|
|
3442
3442
|
let Ne = null;
|
|
3443
|
-
function
|
|
3443
|
+
function H(e = false) {
|
|
3444
3444
|
ss.push(Ne = e ? null : []);
|
|
3445
3445
|
}
|
|
3446
3446
|
function Aa() {
|
|
@@ -3543,7 +3543,7 @@ function Ma(e, t = null, s = null, n = 0, o = null, r = false) {
|
|
|
3543
3543
|
if (Oa(e) && (e = e.__vccOpts), t) {
|
|
3544
3544
|
t = va(t);
|
|
3545
3545
|
let { class: c, style: f } = t;
|
|
3546
|
-
c && !ae(c) && (t.class = rt(c)), re(f) && (
|
|
3546
|
+
c && !ae(c) && (t.class = rt(c)), re(f) && (zn(f) && !z(f) && (f = le({}, f)), t.style = Pn(f));
|
|
3547
3547
|
}
|
|
3548
3548
|
const i = ae(e) ? 1 : ti(e) ? 128 : Pl(e) ? 64 : re(e) ? 4 : Y(e) ? 2 : 0;
|
|
3549
3549
|
return R(
|
|
@@ -3558,7 +3558,7 @@ function Ma(e, t = null, s = null, n = 0, o = null, r = false) {
|
|
|
3558
3558
|
);
|
|
3559
3559
|
}
|
|
3560
3560
|
function va(e) {
|
|
3561
|
-
return e ?
|
|
3561
|
+
return e ? zn(e) || Gr(e) ? le({}, e) : e : null;
|
|
3562
3562
|
}
|
|
3563
3563
|
function Ut(e, t, s = false, n = false) {
|
|
3564
3564
|
const { props: o, ref: r, patchFlag: i, children: c, transition: f } = e, l = t ? Ca(o || {}, t) : o, a = {
|
|
@@ -3571,7 +3571,7 @@ function Ut(e, t, s = false, n = false) {
|
|
|
3571
3571
|
// #2078 in the case of <component :is="vnode" ref="extra"/>
|
|
3572
3572
|
// if the vnode itself already has a ref, cloneVNode will need to merge
|
|
3573
3573
|
// the refs so the single vnode can be set on multiple refs
|
|
3574
|
-
s && r ?
|
|
3574
|
+
s && r ? z(r) ? r.concat(Ms(t)) : [r, Ms(t)] : Ms(t)
|
|
3575
3575
|
) : r,
|
|
3576
3576
|
scopeId: e.scopeId,
|
|
3577
3577
|
slotScopeIds: e.slotScopeIds,
|
|
@@ -3611,18 +3611,18 @@ function Ut(e, t, s = false, n = false) {
|
|
|
3611
3611
|
), a;
|
|
3612
3612
|
}
|
|
3613
3613
|
function Ia(e = " ", t = 0) {
|
|
3614
|
-
return ce(
|
|
3614
|
+
return ce(Hs, null, e, t);
|
|
3615
3615
|
}
|
|
3616
3616
|
function ue(e = "", t = false) {
|
|
3617
|
-
return t ? (
|
|
3617
|
+
return t ? (H(), Te(pt, null, e)) : ce(pt, null, e);
|
|
3618
3618
|
}
|
|
3619
3619
|
function Ke(e) {
|
|
3620
|
-
return e == null || typeof e == "boolean" ? ce(pt) :
|
|
3620
|
+
return e == null || typeof e == "boolean" ? ce(pt) : z(e) ? ce(
|
|
3621
3621
|
ne,
|
|
3622
3622
|
null,
|
|
3623
3623
|
// #3666, avoid reference pollution when reusing vnode
|
|
3624
3624
|
e.slice()
|
|
3625
|
-
) : ni(e) ? ft(e) : ce(
|
|
3625
|
+
) : ni(e) ? ft(e) : ce(Hs, null, String(e));
|
|
3626
3626
|
}
|
|
3627
3627
|
function ft(e) {
|
|
3628
3628
|
return e.el === null && e.patchFlag !== -1 || e.memo ? e : Ut(e);
|
|
@@ -3632,7 +3632,7 @@ function Xn(e, t) {
|
|
|
3632
3632
|
const { shapeFlag: n } = e;
|
|
3633
3633
|
if (t == null)
|
|
3634
3634
|
t = null;
|
|
3635
|
-
else if (
|
|
3635
|
+
else if (z(t))
|
|
3636
3636
|
s = 16;
|
|
3637
3637
|
else if (typeof t == "object")
|
|
3638
3638
|
if (n & 65) {
|
|
@@ -3658,7 +3658,7 @@ function Ca(...e) {
|
|
|
3658
3658
|
t.style = Pn([t.style, n.style]);
|
|
3659
3659
|
else if (Os(o)) {
|
|
3660
3660
|
const r = t[o], i = n[o];
|
|
3661
|
-
i && r !== i && !(
|
|
3661
|
+
i && r !== i && !(z(r) && r.includes(i)) && (t[o] = r ? [].concat(r, i) : i);
|
|
3662
3662
|
} else o !== "" && (t[o] = n[o]);
|
|
3663
3663
|
}
|
|
3664
3664
|
return t;
|
|
@@ -3669,7 +3669,7 @@ function Xe(e, t, s, n = null) {
|
|
|
3669
3669
|
n
|
|
3670
3670
|
]);
|
|
3671
3671
|
}
|
|
3672
|
-
const Ra =
|
|
3672
|
+
const Ra = Hr();
|
|
3673
3673
|
let Ea = 0;
|
|
3674
3674
|
function xa(e, t, s) {
|
|
3675
3675
|
const n = e.type, o = (t ? t.appContext : e.appContext) || Ra, r = {
|
|
@@ -3938,7 +3938,7 @@ function Fa(e, t, s) {
|
|
|
3938
3938
|
const n = e[Ba];
|
|
3939
3939
|
n && (t = (t ? [t, ...n] : [...n]).join(" ")), t == null ? e.removeAttribute("class") : s ? e.setAttribute("class", t) : e.className = t;
|
|
3940
3940
|
}
|
|
3941
|
-
const To = Symbol("_vod"),
|
|
3941
|
+
const To = Symbol("_vod"), za = Symbol("_vsh"), Ha = Symbol(""), Ya = /(?:^|;)\s*display\s*:/;
|
|
3942
3942
|
function Wa(e, t, s) {
|
|
3943
3943
|
const n = e.style, o = ae(s);
|
|
3944
3944
|
let r = false;
|
|
@@ -3956,15 +3956,15 @@ function Wa(e, t, s) {
|
|
|
3956
3956
|
i === "display" && (r = true), vs(n, i, s[i]);
|
|
3957
3957
|
} else if (o) {
|
|
3958
3958
|
if (t !== s) {
|
|
3959
|
-
const i = n[
|
|
3959
|
+
const i = n[Ha];
|
|
3960
3960
|
i && (s += ";" + i), n.cssText = s, r = Ya.test(s);
|
|
3961
3961
|
}
|
|
3962
3962
|
} else t && e.removeAttribute("style");
|
|
3963
|
-
To in e && (e[To] = r ? n.display : "", e[
|
|
3963
|
+
To in e && (e[To] = r ? n.display : "", e[za] && (n.display = "none"));
|
|
3964
3964
|
}
|
|
3965
3965
|
const No = /\s*!important$/;
|
|
3966
3966
|
function vs(e, t, s) {
|
|
3967
|
-
if (
|
|
3967
|
+
if (z(s))
|
|
3968
3968
|
s.forEach((n) => vs(e, t, n));
|
|
3969
3969
|
else if (s == null && (s = ""), t.startsWith("--"))
|
|
3970
3970
|
e.setProperty(t, s);
|
|
@@ -4078,7 +4078,7 @@ function qa(e, t) {
|
|
|
4078
4078
|
return s.value = e, s.attached = Qa(), s;
|
|
4079
4079
|
}
|
|
4080
4080
|
function _a(e, t) {
|
|
4081
|
-
if (
|
|
4081
|
+
if (z(t)) {
|
|
4082
4082
|
const s = e.stopImmediatePropagation;
|
|
4083
4083
|
return e.stopImmediatePropagation = () => {
|
|
4084
4084
|
s.call(e), e._stopped = true;
|
|
@@ -4120,8 +4120,8 @@ function tc(e, t, s) {
|
|
|
4120
4120
|
const sc = typeof HTMLElement < "u" ? HTMLElement : class {
|
|
4121
4121
|
};
|
|
4122
4122
|
class Kn extends sc {
|
|
4123
|
-
constructor(t, s = {}, n =
|
|
4124
|
-
super(), this._def = t, this._props = s, this._createApp = n, this._isVueCE = true, this._instance = null, this._app = null, this._nonce = this._def.nonce, this._connected = false, this._resolved = false, this._patching = false, this._dirty = false, this._numberProps = null, this._styleChildren = /* @__PURE__ */ new WeakSet(), this._ob = null, this.shadowRoot && n !==
|
|
4123
|
+
constructor(t, s = {}, n = zo) {
|
|
4124
|
+
super(), this._def = t, this._props = s, this._createApp = n, this._isVueCE = true, this._instance = null, this._app = null, this._nonce = this._def.nonce, this._connected = false, this._resolved = false, this._patching = false, this._dirty = false, this._numberProps = null, this._styleChildren = /* @__PURE__ */ new WeakSet(), this._ob = null, this.shadowRoot && n !== zo ? this._root = this.shadowRoot : t.shadowRoot !== false ? (this.attachShadow(
|
|
4125
4125
|
le({}, t.shadowRootOptions, {
|
|
4126
4126
|
mode: "open"
|
|
4127
4127
|
})
|
|
@@ -4171,7 +4171,7 @@ class Kn extends sc {
|
|
|
4171
4171
|
this._resolved = true, this._pendingResolve = void 0;
|
|
4172
4172
|
const { props: r, styles: i } = n;
|
|
4173
4173
|
let c;
|
|
4174
|
-
if (r && !
|
|
4174
|
+
if (r && !z(r))
|
|
4175
4175
|
for (const f in r) {
|
|
4176
4176
|
const l = r[f];
|
|
4177
4177
|
(l === Number || l && l.type === Number) && (f in this._props && (this._props[f] = co(this._props[f])), (c || (c = /* @__PURE__ */ Object.create(null)))[Le(f)] = true);
|
|
@@ -4193,7 +4193,7 @@ class Kn extends sc {
|
|
|
4193
4193
|
});
|
|
4194
4194
|
}
|
|
4195
4195
|
_resolveProps(t) {
|
|
4196
|
-
const { props: s } = t, n =
|
|
4196
|
+
const { props: s } = t, n = z(s) ? s : Object.keys(s || {});
|
|
4197
4197
|
for (const o of Object.keys(this))
|
|
4198
4198
|
o[0] !== "_" && n.includes(o) && this._setProp(o, this[o]);
|
|
4199
4199
|
for (const o of n.map(Le))
|
|
@@ -4343,7 +4343,7 @@ function ai() {
|
|
|
4343
4343
|
}
|
|
4344
4344
|
const oc = ((...e) => {
|
|
4345
4345
|
ai().render(...e);
|
|
4346
|
-
}),
|
|
4346
|
+
}), zo = ((...e) => {
|
|
4347
4347
|
const t = ai().createApp(...e), { mount: s } = t;
|
|
4348
4348
|
return t.mount = (n) => {
|
|
4349
4349
|
const o = ic(n);
|
|
@@ -4397,7 +4397,7 @@ const cc = Gs("string"), Re = Gs("function"), di = Gs("number"), fs = (e) => e !
|
|
|
4397
4397
|
function wc() {
|
|
4398
4398
|
return typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof commonjsGlobal < "u" ? commonjsGlobal : {};
|
|
4399
4399
|
}
|
|
4400
|
-
const
|
|
4400
|
+
const Ho = wc(), Yo = typeof Ho.FormData < "u" ? Ho.FormData : void 0, Ac = (e) => {
|
|
4401
4401
|
let t;
|
|
4402
4402
|
return e && (Yo && e instanceof Yo || Re(e.append) && ((t = Ws(e)) === "formdata" || // detect form-data instance
|
|
4403
4403
|
t === "object" && Re(e.toString) && e.toString() === "[object FormData]"));
|
|
@@ -4530,14 +4530,14 @@ const xc = (e, t, s, { allOwnKeys: n } = {}) => (ds(
|
|
|
4530
4530
|
});
|
|
4531
4531
|
}
|
|
4532
4532
|
});
|
|
4533
|
-
},
|
|
4533
|
+
}, zc = (e, t) => {
|
|
4534
4534
|
const s = {}, n = (o) => {
|
|
4535
4535
|
o.forEach((r) => {
|
|
4536
4536
|
s[r] = true;
|
|
4537
4537
|
});
|
|
4538
4538
|
};
|
|
4539
4539
|
return Ft(e) ? n(e) : n(String(e).split(t)), s;
|
|
4540
|
-
},
|
|
4540
|
+
}, Hc = () => {
|
|
4541
4541
|
}, Yc = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
4542
4542
|
function Wc(e) {
|
|
4543
4543
|
return !!(e && Re(e.append) && e[ui] === "FormData" && e[Ys]);
|
|
@@ -4616,9 +4616,9 @@ const Gc = (e) => {
|
|
|
4616
4616
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
4617
4617
|
reduceDescriptors: gi,
|
|
4618
4618
|
freezeMethods: Fc,
|
|
4619
|
-
toObjectSet:
|
|
4619
|
+
toObjectSet: zc,
|
|
4620
4620
|
toCamelCase: Uc,
|
|
4621
|
-
noop:
|
|
4621
|
+
noop: Hc,
|
|
4622
4622
|
toFiniteNumber: Yc,
|
|
4623
4623
|
findKey: hi,
|
|
4624
4624
|
global: wt,
|
|
@@ -5703,7 +5703,7 @@ const Ei = (e) => {
|
|
|
5703
5703
|
responseType: te,
|
|
5704
5704
|
headers: Pe,
|
|
5705
5705
|
withCredentials: $e = "same-origin",
|
|
5706
|
-
fetchOptions:
|
|
5706
|
+
fetchOptions: He
|
|
5707
5707
|
} = Ei(g), ct = t || fetch;
|
|
5708
5708
|
te = te ? (te + "").toLowerCase() : "text";
|
|
5709
5709
|
let et = Su(
|
|
@@ -5713,9 +5713,9 @@ const Ei = (e) => {
|
|
|
5713
5713
|
const ke = et && et.unsubscribe && (() => {
|
|
5714
5714
|
et.unsubscribe();
|
|
5715
5715
|
});
|
|
5716
|
-
let
|
|
5716
|
+
let zt;
|
|
5717
5717
|
try {
|
|
5718
|
-
if (oe && l && M !== "get" && M !== "head" && (
|
|
5718
|
+
if (oe && l && M !== "get" && M !== "head" && (zt = await m(Pe, x)) !== 0) {
|
|
5719
5719
|
let he = new s(b, {
|
|
5720
5720
|
method: "POST",
|
|
5721
5721
|
body: x,
|
|
@@ -5723,7 +5723,7 @@ const Ei = (e) => {
|
|
|
5723
5723
|
}), de;
|
|
5724
5724
|
if (y.isFormData(x) && (de = he.headers.get("content-type")) && Pe.setContentType(de), he.body) {
|
|
5725
5725
|
const [St, Tt] = Xo(
|
|
5726
|
-
|
|
5726
|
+
zt,
|
|
5727
5727
|
js(Jo(oe))
|
|
5728
5728
|
);
|
|
5729
5729
|
x = Qo(he.body, qo, St, Tt);
|
|
@@ -5731,7 +5731,7 @@ const Ei = (e) => {
|
|
|
5731
5731
|
}
|
|
5732
5732
|
y.isString($e) || ($e = $e ? "include" : "omit");
|
|
5733
5733
|
const X = r && "credentials" in s.prototype, q = {
|
|
5734
|
-
...
|
|
5734
|
+
...He,
|
|
5735
5735
|
signal: et,
|
|
5736
5736
|
method: M.toUpperCase(),
|
|
5737
5737
|
headers: Pe.normalize().toJSON(),
|
|
@@ -5740,7 +5740,7 @@ const Ei = (e) => {
|
|
|
5740
5740
|
credentials: X ? $e : void 0
|
|
5741
5741
|
};
|
|
5742
5742
|
Ye = r && new s(b, q);
|
|
5743
|
-
let G = await (r ? ct(Ye,
|
|
5743
|
+
let G = await (r ? ct(Ye, He) : ct(b, q));
|
|
5744
5744
|
const We = a && (te === "stream" || te === "response");
|
|
5745
5745
|
if (a && (O || We && ke)) {
|
|
5746
5746
|
const he = {};
|
|
@@ -6154,7 +6154,7 @@ function Fu(e) {
|
|
|
6154
6154
|
return e.apply(null, s);
|
|
6155
6155
|
};
|
|
6156
6156
|
}
|
|
6157
|
-
function
|
|
6157
|
+
function zu(e) {
|
|
6158
6158
|
return y.isObject(e) && e.isAxiosError === true;
|
|
6159
6159
|
}
|
|
6160
6160
|
const En = {
|
|
@@ -6250,7 +6250,7 @@ ie.all = function(t) {
|
|
|
6250
6250
|
return Promise.all(t);
|
|
6251
6251
|
};
|
|
6252
6252
|
ie.spread = Fu;
|
|
6253
|
-
ie.isAxiosError =
|
|
6253
|
+
ie.isAxiosError = zu;
|
|
6254
6254
|
ie.mergeConfig = Ct;
|
|
6255
6255
|
ie.AxiosHeaders = Ee;
|
|
6256
6256
|
ie.formToJSON = (e) => Mi(y.isHTMLForm(e) ? new FormData(e) : e);
|
|
@@ -6276,7 +6276,7 @@ const {
|
|
|
6276
6276
|
mergeConfig: Bh
|
|
6277
6277
|
} = ie, to = 5e3, ji = (e) => {
|
|
6278
6278
|
throw console.error(e), e.code === "ECONNABORTED" || e.code === "ERR_NETWORK" ? "network" : "failed";
|
|
6279
|
-
},
|
|
6279
|
+
}, Hu = async (e) => await ie.delete(e.toString(), { timeout: to }), Yu = async (e, t) => {
|
|
6280
6280
|
try {
|
|
6281
6281
|
return await (await ie.post(e.toString(), t, {
|
|
6282
6282
|
timeout: to
|
|
@@ -6293,7 +6293,7 @@ const {
|
|
|
6293
6293
|
} catch (s) {
|
|
6294
6294
|
return ji(s);
|
|
6295
6295
|
}
|
|
6296
|
-
}, Gu = ["failed", "cancelled", "expired", "network"], Vu = (e) => Gu.includes(e), Zu = "Because you have stopped, no data has been shared.", Xu = "Stopped", Ju = "Close", Ku = "If you stop now, no data will be shared.", Qu = "Are you sure you want to stop?", qu = "On another device", _u = "On this device", $u = "On which device is your NP Wallet app installed?", ef = "This action has been stopped because too much time has passed. This happens to keep your data safe. Please try again.", tf = "Sorry, time is over", sf = "This action was unsuccessful. This may have several reasons. Please try again.", nf = "Sorry, something went wrong", of = "Download the app as director",
|
|
6296
|
+
}, Gu = ["failed", "cancelled", "expired", "network"], Vu = (e) => Gu.includes(e), Zu = "Because you have stopped, no data has been shared.", Xu = "Stopped", Ju = "Close", Ku = "If you stop now, no data will be shared.", Qu = "Are you sure you want to stop?", qu = "On another device", _u = "On this device", $u = "On which device is your NP Wallet app installed?", ef = "This action has been stopped because too much time has passed. This happens to keep your data safe. Please try again.", tf = "Sorry, time is over", sf = "This action was unsuccessful. This may have several reasons. Please try again.", nf = "Sorry, something went wrong", of = "And don't have the app yet?", rf = "Download the app as director", lf = "Are you the owner or a director of your organisation?", af = "With the app you can request an authorisation for this service from the owner or a director of your organisation.", cf = "Request an authorisation via the app", uf = "Are you an employee?", ff = "No NP Wallet App yet? Or need help?", df = "To NP Wallet website", hf = "Follow the steps in your NP Wallet app", pf = "Your request is being retrieved", gf = "Please wait", mf = "NP Wallet", yf = "Need help?", bf = "Your internet connection seems to be down or too slow. Check your connection and try again.", wf = "Sorry, no internet connection", Af = "No", Mf = "QR code", vf = "Scan the QR code with your NP Wallet app", If = "Try again", Cf = "Stop", Rf = "Close this page and continue in the new opened tab.", Ef = "Success!", xf = "Login with NP Wallet", Sf = "Yes, stop", Tf = {
|
|
6297
6297
|
cancelled_body: Zu,
|
|
6298
6298
|
cancelled_title: Xu,
|
|
6299
6299
|
close: Ju,
|
|
@@ -6306,9 +6306,9 @@ const {
|
|
|
6306
6306
|
expired_title: tf,
|
|
6307
6307
|
failed_body: sf,
|
|
6308
6308
|
failed_title: nf,
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
|
|
6309
|
+
help_director_description: of,
|
|
6310
|
+
help_director_link: rf,
|
|
6311
|
+
help_director_title: lf,
|
|
6312
6312
|
help_employee_description: af,
|
|
6313
6313
|
help_employee_link: cf,
|
|
6314
6314
|
help_employee_title: uf,
|
|
@@ -6330,7 +6330,7 @@ const {
|
|
|
6330
6330
|
success_title: Ef,
|
|
6331
6331
|
wallet_button_text: xf,
|
|
6332
6332
|
yes_stop: Sf
|
|
6333
|
-
}, Nf = "Omdat je bent gestopt zijn er geen gegevens gedeeld.", Pf = "Gestopt", jf = "Sluiten", Of = "Als je stopt worden er geen gegevens gedeeld.", Df = "Weet je zeker dat je wilt stoppen?", kf = "Op een ander apparaat", Lf = "Op dit apparaat", Uf = "Op welk apparaat staat je NP Wallet app?", Bf = "Deze actie is gestopt omdat er teveel tijd voorbij is gegaan. Dit is bedoeld om je gegevens veilig te houden. Probeer het opnieuw.", Ff = "Sorry, de tijd is voorbij",
|
|
6333
|
+
}, Nf = "Omdat je bent gestopt zijn er geen gegevens gedeeld.", Pf = "Gestopt", jf = "Sluiten", Of = "Als je stopt worden er geen gegevens gedeeld.", Df = "Weet je zeker dat je wilt stoppen?", kf = "Op een ander apparaat", Lf = "Op dit apparaat", Uf = "Op welk apparaat staat je NP Wallet app?", Bf = "Deze actie is gestopt omdat er teveel tijd voorbij is gegaan. Dit is bedoeld om je gegevens veilig te houden. Probeer het opnieuw.", Ff = "Sorry, de tijd is voorbij", zf = "Deze actie is niet gelukt. Dit kan verschillende redenen hebben. Probeer het opnieuw.", Hf = "Sorry, er gaat iets mis", Yf = "En heb je de app nog niet?", Wf = "Download de app als bestuurder", Gf = "Ben je eigenaar of bestuurder van je organisatie?", Vf = "Je kunt via de app een machtiging aanvragen voor deze service bij de eigenaar of bestuurder van je organisatie.", Zf = "Vraag een machtiging aan via de app", Xf = "Ben je medewerker?", Jf = "Nog geen NP Wallet app? Of hulp nodig?", Kf = "Naar NP Wallet website", Qf = "Volg de stappen in de NP Wallet app", qf = "De gegevens worden opgehaald", _f = "Even geduld", $f = "NP Wallet", ed = "Hulp nodig?", td = "Je verbinding met het internet lijkt niet te werken of is te traag. Controleer je verbinding en probeer het opnieuw.", sd = "Sorry, geen internet", nd = "Nee", od = "QR code", rd = "Scan de QR-code met je NP Wallet app", id = "Probeer opnieuw", ld = "Stoppen", ad = "Sluit deze pagina en ga verder in het nieuw geopende tabblad.", cd = "Gelukt!", ud = "Inloggen met NP Wallet", fd = "Ja, stop", dd = {
|
|
6334
6334
|
cancelled_body: Nf,
|
|
6335
6335
|
cancelled_title: Pf,
|
|
6336
6336
|
close: jf,
|
|
@@ -6341,11 +6341,11 @@ const {
|
|
|
6341
6341
|
device_choice_title: Uf,
|
|
6342
6342
|
expired_body: Bf,
|
|
6343
6343
|
expired_title: Ff,
|
|
6344
|
-
failed_body:
|
|
6345
|
-
failed_title:
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6344
|
+
failed_body: zf,
|
|
6345
|
+
failed_title: Hf,
|
|
6346
|
+
help_director_description: Yf,
|
|
6347
|
+
help_director_link: Wf,
|
|
6348
|
+
help_director_title: Gf,
|
|
6349
6349
|
help_employee_description: Vf,
|
|
6350
6350
|
help_employee_link: Zf,
|
|
6351
6351
|
help_employee_title: Xf,
|
|
@@ -6367,7 +6367,7 @@ const {
|
|
|
6367
6367
|
success_title: cd,
|
|
6368
6368
|
wallet_button_text: ud,
|
|
6369
6369
|
yes_stop: fd
|
|
6370
|
-
}, De = Symbol("TRANSLATIONS"), so = Symbol("IS_BUSINESS"), no = Symbol("IS_OVER18"), Xs = Symbol("IS_NBWALLET"),
|
|
6370
|
+
}, De = Symbol("TRANSLATIONS"), so = Symbol("IS_BUSINESS"), no = Symbol("IS_OVER18"), Xs = Symbol("IS_NBWALLET"), ze = (e, t) => {
|
|
6371
6371
|
const s = Ce(e, t);
|
|
6372
6372
|
if (!s)
|
|
6373
6373
|
throw new Error(`Could not resolve ${e.description}`);
|
|
@@ -6407,7 +6407,7 @@ const {
|
|
|
6407
6407
|
device_choice_title: "On which device is your NB Wallet app installed?",
|
|
6408
6408
|
help_title: "No NB Wallet App yet? Or need help?",
|
|
6409
6409
|
help_to_website: "To NB Wallet website",
|
|
6410
|
-
|
|
6410
|
+
help_director_description: "And don't have the NB Wallet app yet?",
|
|
6411
6411
|
help_employee_description: "With the NB Wallet app you can request an authorisation for this service from the owner or a director of your organisation.",
|
|
6412
6412
|
in_progress_title: "Follow the steps in your NB Wallet app",
|
|
6413
6413
|
qr_code_title: "Scan the QR code with your NB Wallet app"
|
|
@@ -6419,7 +6419,7 @@ const {
|
|
|
6419
6419
|
device_choice_title: "Op welk apparaat staat je NB Wallet app?",
|
|
6420
6420
|
help_title: "Nog geen NB Wallet app? Of hulp nodig?",
|
|
6421
6421
|
help_to_website: "Naar NB Wallet website",
|
|
6422
|
-
|
|
6422
|
+
help_director_description: "En heb je de NB Wallet app nog niet?",
|
|
6423
6423
|
help_employee_description: "Je kunt via de NB Wallet app een machtiging aanvragen voor deze service bij de eigenaar of bestuurder van je organisatie.",
|
|
6424
6424
|
in_progress_title: "Volg de stappen in de NB Wallet app",
|
|
6425
6425
|
qr_code_title: "Scan de QR-code met je NB Wallet app"
|
|
@@ -6457,9 +6457,9 @@ const {
|
|
|
6457
6457
|
},
|
|
6458
6458
|
emits: ["close", "stop", "confirm", "retry", "back"],
|
|
6459
6459
|
setup(e, { emit: t }) {
|
|
6460
|
-
const s =
|
|
6461
|
-
return (o, r) => (
|
|
6462
|
-
["creating", "loading", "in-progress"].includes(e.modalState.kind) ? (
|
|
6460
|
+
const s = ze(De), n = t;
|
|
6461
|
+
return (o, r) => (H(), Q("footer", null, [
|
|
6462
|
+
["creating", "loading", "in-progress"].includes(e.modalState.kind) ? (H(), Q("a", md, [
|
|
6463
6463
|
r[4] || (r[4] = R("svg", {
|
|
6464
6464
|
width: "16",
|
|
6465
6465
|
height: "16",
|
|
@@ -6470,7 +6470,7 @@ const {
|
|
|
6470
6470
|
], -1)),
|
|
6471
6471
|
R("span", null, W(D(s)("need_help")), 1)
|
|
6472
6472
|
])) : ue("", true),
|
|
6473
|
-
["creating", "loading", "in-progress", "confirm-stop"].includes(e.modalState.kind) ? (
|
|
6473
|
+
["creating", "loading", "in-progress", "confirm-stop"].includes(e.modalState.kind) ? (H(), Q("button", {
|
|
6474
6474
|
key: 1,
|
|
6475
6475
|
type: "button",
|
|
6476
6476
|
class: rt(["button", {
|
|
@@ -6490,7 +6490,7 @@ const {
|
|
|
6490
6490
|
], -1)),
|
|
6491
6491
|
R("span", null, W(e.modalState.kind === "confirm-stop" ? D(s)("yes_stop") : D(s)("stop")), 1)
|
|
6492
6492
|
], 2)) : ue("", true),
|
|
6493
|
-
e.modalState.kind === "error" ? (
|
|
6493
|
+
e.modalState.kind === "error" ? (H(), Q("button", {
|
|
6494
6494
|
key: 2,
|
|
6495
6495
|
type: "button",
|
|
6496
6496
|
class: "button primary",
|
|
@@ -6507,7 +6507,7 @@ const {
|
|
|
6507
6507
|
], -1)),
|
|
6508
6508
|
R("span", null, W(D(s)("retry")), 1)
|
|
6509
6509
|
])) : ue("", true),
|
|
6510
|
-
["created", "error", "success"].includes(e.modalState.kind) ? (
|
|
6510
|
+
["created", "error", "success"].includes(e.modalState.kind) ? (H(), Q("button", {
|
|
6511
6511
|
key: 3,
|
|
6512
6512
|
type: "button",
|
|
6513
6513
|
class: rt(["button", {
|
|
@@ -6527,7 +6527,7 @@ const {
|
|
|
6527
6527
|
], -1)),
|
|
6528
6528
|
R("span", null, W(D(s)("close")), 1)
|
|
6529
6529
|
], 2)) : ue("", true),
|
|
6530
|
-
e.modalState.kind === "confirm-stop" ? (
|
|
6530
|
+
e.modalState.kind === "confirm-stop" ? (H(), Q("button", {
|
|
6531
6531
|
key: 4,
|
|
6532
6532
|
type: "button",
|
|
6533
6533
|
class: "button link",
|
|
@@ -6549,8 +6549,8 @@ const {
|
|
|
6549
6549
|
}), Di = /* @__PURE__ */ fe({
|
|
6550
6550
|
__name: "ModalHeader",
|
|
6551
6551
|
setup(e) {
|
|
6552
|
-
const t =
|
|
6553
|
-
return (s, n) => (
|
|
6552
|
+
const t = ze(De);
|
|
6553
|
+
return (s, n) => (H(), Q("header", null, [
|
|
6554
6554
|
R("h1", null, W(D(t)("modal_header")), 1)
|
|
6555
6555
|
]));
|
|
6556
6556
|
}
|
|
@@ -6560,8 +6560,8 @@ const {
|
|
|
6560
6560
|
helpBaseUrl: {}
|
|
6561
6561
|
},
|
|
6562
6562
|
setup(e) {
|
|
6563
|
-
const t = e, s = new URL("/help", t.helpBaseUrl).toString(), n =
|
|
6564
|
-
return (o, r) => (
|
|
6563
|
+
const t = e, s = new URL("/help", t.helpBaseUrl).toString(), n = ze(De);
|
|
6564
|
+
return (o, r) => (H(), Q("a", {
|
|
6565
6565
|
href: D(s),
|
|
6566
6566
|
class: "link",
|
|
6567
6567
|
"data-testid": "help"
|
|
@@ -6583,8 +6583,8 @@ const {
|
|
|
6583
6583
|
helpBaseUrl: {}
|
|
6584
6584
|
},
|
|
6585
6585
|
setup(e) {
|
|
6586
|
-
const t =
|
|
6587
|
-
return (s, n) => (
|
|
6586
|
+
const t = ze(De);
|
|
6587
|
+
return (s, n) => (H(), Q(ne, null, [
|
|
6588
6588
|
R("section", bd, [
|
|
6589
6589
|
R("h2", wd, W(D(t)("confirm_stop_title")), 1),
|
|
6590
6590
|
R("p", null, W(D(t)("confirm_stop_body")), 1)
|
|
@@ -6602,8 +6602,8 @@ const {
|
|
|
6602
6602
|
},
|
|
6603
6603
|
emits: ["choice"],
|
|
6604
6604
|
setup(e, { emit: t }) {
|
|
6605
|
-
const s =
|
|
6606
|
-
return (o, r) => (
|
|
6605
|
+
const s = ze(De), n = t;
|
|
6606
|
+
return (o, r) => (H(), Q(ne, null, [
|
|
6607
6607
|
R("h2", null, W(D(s)("device_choice_title")), 1),
|
|
6608
6608
|
R("section", Md, [
|
|
6609
6609
|
R("a", {
|
|
@@ -7559,7 +7559,7 @@ const Cd = (e, t) => {
|
|
|
7559
7559
|
ul: {}
|
|
7560
7560
|
},
|
|
7561
7561
|
setup(e) {
|
|
7562
|
-
const t = e, s =
|
|
7562
|
+
const t = e, s = ze(De), n = It();
|
|
7563
7563
|
return ts(
|
|
7564
7564
|
[() => t.ul.toString(), n],
|
|
7565
7565
|
([o, r]) => {
|
|
@@ -7569,7 +7569,7 @@ const Cd = (e, t) => {
|
|
|
7569
7569
|
}
|
|
7570
7570
|
},
|
|
7571
7571
|
{ immediate: true }
|
|
7572
|
-
), (o, r) => (
|
|
7572
|
+
), (o, r) => (H(), Q(ne, null, [
|
|
7573
7573
|
R("h2", null, W(D(s)("qr_code_title")), 1),
|
|
7574
7574
|
R("div", Rd, [
|
|
7575
7575
|
R("canvas", {
|
|
@@ -7594,13 +7594,13 @@ const Cd = (e, t) => {
|
|
|
7594
7594
|
emits: ["choice"],
|
|
7595
7595
|
setup(e, { emit: t }) {
|
|
7596
7596
|
const s = t, n = (o) => s("choice", o);
|
|
7597
|
-
return (o, r) => (
|
|
7598
|
-
e.sessionType === "same_device" ? (
|
|
7597
|
+
return (o, r) => (H(), Q(ne, null, [
|
|
7598
|
+
e.sessionType === "same_device" ? (H(), Te(Id, {
|
|
7599
7599
|
key: 0,
|
|
7600
7600
|
ul: e.sameDeviceUl,
|
|
7601
7601
|
onChoice: n
|
|
7602
7602
|
}, null, 8, ["ul"])) : ue("", true),
|
|
7603
|
-
e.sessionType === "cross_device" ? (
|
|
7603
|
+
e.sessionType === "cross_device" ? (H(), Te(Ed, {
|
|
7604
7604
|
key: 1,
|
|
7605
7605
|
ul: e.crossDeviceUl
|
|
7606
7606
|
}, null, 8, ["ul"])) : ue("", true)
|
|
@@ -7613,8 +7613,8 @@ const Cd = (e, t) => {
|
|
|
7613
7613
|
helpBaseUrl: {}
|
|
7614
7614
|
},
|
|
7615
7615
|
setup(e) {
|
|
7616
|
-
const t =
|
|
7617
|
-
return (s, n) => (
|
|
7616
|
+
const t = ze(De);
|
|
7617
|
+
return (s, n) => (H(), Q(ne, null, [
|
|
7618
7618
|
n[0] || (n[0] = R("svg", {
|
|
7619
7619
|
class: "status",
|
|
7620
7620
|
width: "24",
|
|
@@ -7624,16 +7624,16 @@ const Cd = (e, t) => {
|
|
|
7624
7624
|
R("path", { d: "m13 8.2-1-1-4 4-4-4-1 1 4 4-4 4 1 1 4-4 4 4 1-1-4-4zM19 1H9c-1.1 0-2 .9-2 2v3h2V4h10v16H9v-2H7v3c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2" })
|
|
7625
7625
|
], -1)),
|
|
7626
7626
|
R("section", Sd, [
|
|
7627
|
-
e.errorType === "expired" ? (
|
|
7627
|
+
e.errorType === "expired" ? (H(), Q(ne, { key: 0 }, [
|
|
7628
7628
|
R("h2", Td, W(D(t)("expired_title")), 1),
|
|
7629
7629
|
R("p", null, W(D(t)("expired_body")), 1)
|
|
7630
|
-
], 64)) : e.errorType === "failed" ? (
|
|
7630
|
+
], 64)) : e.errorType === "failed" ? (H(), Q(ne, { key: 1 }, [
|
|
7631
7631
|
R("h2", Nd, W(D(t)("failed_title")), 1),
|
|
7632
7632
|
R("p", null, W(D(t)("failed_body")), 1)
|
|
7633
|
-
], 64)) : e.errorType === "cancelled" ? (
|
|
7633
|
+
], 64)) : e.errorType === "cancelled" ? (H(), Q(ne, { key: 2 }, [
|
|
7634
7634
|
R("h2", Pd, W(D(t)("cancelled_title")), 1),
|
|
7635
7635
|
R("p", null, W(D(t)("cancelled_body")), 1)
|
|
7636
|
-
], 64)) : e.errorType === "network" ? (
|
|
7636
|
+
], 64)) : e.errorType === "network" ? (H(), Q(ne, { key: 3 }, [
|
|
7637
7637
|
R("h2", jd, W(D(t)("network_title")), 1),
|
|
7638
7638
|
R("p", null, W(D(t)("network_body")), 1)
|
|
7639
7639
|
], 64)) : ue("", true)
|
|
@@ -7651,7 +7651,7 @@ const Cd = (e, t) => {
|
|
|
7651
7651
|
}, Ud = { class: "option-title" }, Bd = ["href"], Fd = {
|
|
7652
7652
|
class: "option",
|
|
7653
7653
|
"data-testid": "download_employee"
|
|
7654
|
-
},
|
|
7654
|
+
}, zd = { class: "option-title" }, Hd = ["href"], Yd = {
|
|
7655
7655
|
key: 1,
|
|
7656
7656
|
class: "website",
|
|
7657
7657
|
"data-testid": "website_link"
|
|
@@ -7663,14 +7663,14 @@ const Cd = (e, t) => {
|
|
|
7663
7663
|
},
|
|
7664
7664
|
setup(e) {
|
|
7665
7665
|
const t = e, s = Ce(Xs, false), n = ot(() => s && !!t.clientId), o = (l) => {
|
|
7666
|
-
const a = new URL(t.helpBaseUrl
|
|
7666
|
+
const a = new URL("/deeplink/onboarding", t.helpBaseUrl);
|
|
7667
7667
|
return a.searchParams.set("client_id", t.clientId), a.searchParams.set("role", l), a.toString();
|
|
7668
|
-
}, r = ot(() => t.helpBaseUrl.toString()), i = ot(() => o("director")), c = ot(() => o("employee")), f =
|
|
7669
|
-
return (l, a) => n.value ? (
|
|
7670
|
-
R("h3", null, W(D(f)("help_download_title")), 1),
|
|
7668
|
+
}, r = ot(() => t.helpBaseUrl.toString()), i = ot(() => o("director")), c = ot(() => o("employee")), f = ze(De);
|
|
7669
|
+
return (l, a) => n.value ? (H(), Q("section", Dd, [
|
|
7671
7670
|
R("div", kd, [
|
|
7672
7671
|
R("div", Ld, [
|
|
7673
7672
|
R("p", Ud, W(D(f)("help_director_title")), 1),
|
|
7673
|
+
R("p", null, W(D(f)("help_director_description")), 1),
|
|
7674
7674
|
R("a", {
|
|
7675
7675
|
href: i.value,
|
|
7676
7676
|
class: "link"
|
|
@@ -7687,7 +7687,7 @@ const Cd = (e, t) => {
|
|
|
7687
7687
|
], 8, Bd)
|
|
7688
7688
|
]),
|
|
7689
7689
|
R("div", Fd, [
|
|
7690
|
-
R("p",
|
|
7690
|
+
R("p", zd, W(D(f)("help_employee_title")), 1),
|
|
7691
7691
|
R("p", null, W(D(f)("help_employee_description")), 1),
|
|
7692
7692
|
R("a", {
|
|
7693
7693
|
href: c.value,
|
|
@@ -7702,10 +7702,10 @@ const Cd = (e, t) => {
|
|
|
7702
7702
|
R("path", { d: "M6.4 18.5 5 17.1l9.6-9.6H6v-2h12v12h-2V8.9z" })
|
|
7703
7703
|
], -1)),
|
|
7704
7704
|
R("span", null, W(D(f)("help_employee_link")), 1)
|
|
7705
|
-
], 8,
|
|
7705
|
+
], 8, Hd)
|
|
7706
7706
|
])
|
|
7707
7707
|
])
|
|
7708
|
-
])) : (
|
|
7708
|
+
])) : (H(), Q("section", Yd, [
|
|
7709
7709
|
R("p", null, W(D(f)("help_title")), 1),
|
|
7710
7710
|
R("p", null, [
|
|
7711
7711
|
R("a", {
|
|
@@ -7728,8 +7728,8 @@ const Cd = (e, t) => {
|
|
|
7728
7728
|
}), Vd = { "data-testid": "in_progress" }, Zd = /* @__PURE__ */ fe({
|
|
7729
7729
|
__name: "InProgressSection",
|
|
7730
7730
|
setup(e) {
|
|
7731
|
-
const t =
|
|
7732
|
-
return (s, n) => (
|
|
7731
|
+
const t = ze(De);
|
|
7732
|
+
return (s, n) => (H(), Q(ne, null, [
|
|
7733
7733
|
n[0] || (n[0] = R("svg", {
|
|
7734
7734
|
class: "status",
|
|
7735
7735
|
width: "24",
|
|
@@ -7753,7 +7753,7 @@ const Cd = (e, t) => {
|
|
|
7753
7753
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7754
7754
|
};
|
|
7755
7755
|
function Kd(e, t) {
|
|
7756
|
-
return
|
|
7756
|
+
return H(), Q("svg", Jd, [...t[0] || (t[0] = [
|
|
7757
7757
|
R("circle", {
|
|
7758
7758
|
cx: "50",
|
|
7759
7759
|
cy: "50",
|
|
@@ -7767,8 +7767,8 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
7767
7767
|
}, _d = /* @__PURE__ */ fe({
|
|
7768
7768
|
__name: "LoadingSection",
|
|
7769
7769
|
setup(e) {
|
|
7770
|
-
const t =
|
|
7771
|
-
return (s, n) => (
|
|
7770
|
+
const t = ze(De);
|
|
7771
|
+
return (s, n) => (H(), Q(ne, null, [
|
|
7772
7772
|
R("section", qd, [
|
|
7773
7773
|
R("h2", null, W(D(t)("loading_title")), 1),
|
|
7774
7774
|
R("p", null, W(D(t)("loading_body")), 1)
|
|
@@ -7788,8 +7788,8 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
7788
7788
|
sessionType: {}
|
|
7789
7789
|
},
|
|
7790
7790
|
setup(e) {
|
|
7791
|
-
const t =
|
|
7792
|
-
return (s, n) => e.sessionType === "same_device" ? (
|
|
7791
|
+
const t = ze(De);
|
|
7792
|
+
return (s, n) => e.sessionType === "same_device" ? (H(), Q(ne, { key: 0 }, [
|
|
7793
7793
|
n[0] || (n[0] = R("svg", {
|
|
7794
7794
|
class: "status",
|
|
7795
7795
|
width: "24",
|
|
@@ -7802,7 +7802,7 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
7802
7802
|
R("h2", null, W(D(t)("success_title")), 1),
|
|
7803
7803
|
R("p", null, W(D(t)("success_body")), 1)
|
|
7804
7804
|
])
|
|
7805
|
-
], 64)) : (
|
|
7805
|
+
], 64)) : (H(), Q(ne, { key: 1 }, [
|
|
7806
7806
|
n[1] || (n[1] = R("svg", {
|
|
7807
7807
|
class: "status",
|
|
7808
7808
|
width: "72",
|
|
@@ -7826,36 +7826,36 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
7826
7826
|
emits: ["choice"],
|
|
7827
7827
|
setup(e, { emit: t }) {
|
|
7828
7828
|
const s = t, n = It(null), o = (r) => s("choice", r);
|
|
7829
|
-
return Wn(async () => setTimeout(() => n.value && n.value.focus(), 0)), (r, i) => (
|
|
7829
|
+
return Wn(async () => setTimeout(() => n.value && n.value.focus(), 0)), (r, i) => (H(), Q(ne, null, [
|
|
7830
7830
|
R("main", {
|
|
7831
7831
|
ref_key: "main",
|
|
7832
7832
|
ref: n,
|
|
7833
7833
|
tabindex: "0"
|
|
7834
7834
|
}, [
|
|
7835
|
-
["creating", "loading"].includes(e.modalState.kind) ? (
|
|
7836
|
-
e.modalState.kind === "created" ? (
|
|
7835
|
+
["creating", "loading"].includes(e.modalState.kind) ? (H(), Te(_d, { key: 0 })) : ue("", true),
|
|
7836
|
+
e.modalState.kind === "created" ? (H(), Te(xd, {
|
|
7837
7837
|
key: 1,
|
|
7838
7838
|
"same-device-ul": e.modalState.sameDeviceUl,
|
|
7839
7839
|
"cross-device-ul": e.modalState.crossDeviceUl,
|
|
7840
7840
|
sessionType: e.modalState.session.sessionType,
|
|
7841
7841
|
onChoice: o
|
|
7842
7842
|
}, null, 8, ["same-device-ul", "cross-device-ul", "sessionType"])) : ue("", true),
|
|
7843
|
-
e.modalState.kind === "in-progress" ? (
|
|
7844
|
-
e.modalState.kind === "confirm-stop" ? (
|
|
7843
|
+
e.modalState.kind === "in-progress" ? (H(), Te(Zd, { key: 2 })) : ue("", true),
|
|
7844
|
+
e.modalState.kind === "confirm-stop" ? (H(), Te(Ad, {
|
|
7845
7845
|
key: 3,
|
|
7846
7846
|
helpBaseUrl: e.helpBaseUrl
|
|
7847
7847
|
}, null, 8, ["helpBaseUrl"])) : ue("", true),
|
|
7848
|
-
e.modalState.kind === "success" ? (
|
|
7848
|
+
e.modalState.kind === "success" ? (H(), Te(th, {
|
|
7849
7849
|
key: 4,
|
|
7850
7850
|
sessionType: e.modalState.session.sessionType
|
|
7851
7851
|
}, null, 8, ["sessionType"])) : ue("", true),
|
|
7852
|
-
e.modalState.kind === "error" ? (
|
|
7852
|
+
e.modalState.kind === "error" ? (H(), Te(Od, {
|
|
7853
7853
|
key: 5,
|
|
7854
7854
|
errorType: e.modalState.errorType,
|
|
7855
7855
|
helpBaseUrl: e.helpBaseUrl
|
|
7856
7856
|
}, null, 8, ["errorType", "helpBaseUrl"])) : ue("", true)
|
|
7857
7857
|
], 512),
|
|
7858
|
-
e.modalState.kind === "created" ? (
|
|
7858
|
+
e.modalState.kind === "created" ? (H(), Te(Gd, {
|
|
7859
7859
|
key: 0,
|
|
7860
7860
|
helpBaseUrl: e.helpBaseUrl,
|
|
7861
7861
|
clientId: e.clientId
|
|
@@ -8016,7 +8016,7 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
8016
8016
|
l.value = {
|
|
8017
8017
|
kind: "loading",
|
|
8018
8018
|
session: l.value.session
|
|
8019
|
-
}, await
|
|
8019
|
+
}, await Hu(l.value.session.statusUrl), A === "created" ? n("close") : await m(l.value.session);
|
|
8020
8020
|
} else
|
|
8021
8021
|
l.value = {
|
|
8022
8022
|
kind: "error",
|
|
@@ -8052,7 +8052,7 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
8052
8052
|
};
|
|
8053
8053
|
return Wn(async () => {
|
|
8054
8054
|
await h();
|
|
8055
|
-
}), Gn(u), (A, O) => (
|
|
8055
|
+
}), Gn(u), (A, O) => (H(), Q("div", {
|
|
8056
8056
|
class: rt(["modal-anchor", { business: D(r), over18: D(i), nbwallet: D(c) }])
|
|
8057
8057
|
}, [
|
|
8058
8058
|
R("aside", {
|
|
@@ -8111,7 +8111,7 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
8111
8111
|
session: f.value.kind !== "creating" ? f.value.session : void 0
|
|
8112
8112
|
};
|
|
8113
8113
|
};
|
|
8114
|
-
return (a, u) => (
|
|
8114
|
+
return (a, u) => (H(), Q("div", {
|
|
8115
8115
|
class: rt(["modal-anchor", { business: D(r), over18: D(i), nbwallet: D(c) }])
|
|
8116
8116
|
}, [
|
|
8117
8117
|
R("aside", {
|
|
@@ -8145,8 +8145,8 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
8145
8145
|
emits: ["close", "success", "failed"],
|
|
8146
8146
|
setup(e, { emit: t }) {
|
|
8147
8147
|
const s = t;
|
|
8148
|
-
return (n, o) => (
|
|
8149
|
-
e.modalType.strategy === "dynamic" ? (
|
|
8148
|
+
return (n, o) => (H(), Q(ne, null, [
|
|
8149
|
+
e.modalType.strategy === "dynamic" ? (H(), Te(rh, {
|
|
8150
8150
|
key: 0,
|
|
8151
8151
|
startUrl: e.modalType.startUrl,
|
|
8152
8152
|
usecase: e.modalType.usecase,
|
|
@@ -8156,7 +8156,7 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
8156
8156
|
onSuccess: o[1] || (o[1] = (...r) => s("success", ...r)),
|
|
8157
8157
|
onFailed: o[2] || (o[2] = (...r) => s("failed", ...r))
|
|
8158
8158
|
}, null, 8, ["startUrl", "usecase", "helpBaseUrl", "clientId"])) : ue("", true),
|
|
8159
|
-
e.modalType.strategy === "static" ? (
|
|
8159
|
+
e.modalType.strategy === "static" ? (H(), Te(lh, {
|
|
8160
8160
|
key: 1,
|
|
8161
8161
|
sameDeviceUl: e.modalType.sameDeviceUl,
|
|
8162
8162
|
crossDeviceUl: e.modalType.crossDeviceUl,
|
|
@@ -8208,7 +8208,7 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
8208
8208
|
font-weight: bold;
|
|
8209
8209
|
font-style: normal;
|
|
8210
8210
|
src: url(data:application/font-woff2;charset=utf-8;base64,${uh}) format('woff2');
|
|
8211
|
-
}`), document.adoptedStyleSheets = [...document.adoptedStyleSheets, x], (L, j) => (
|
|
8211
|
+
}`), document.adoptedStyleSheets = [...document.adoptedStyleSheets, x], (L, j) => (H(), Q(ne, null, [
|
|
8212
8212
|
R("meta", {
|
|
8213
8213
|
itemprop: "version",
|
|
8214
8214
|
content: D(M)
|
|
@@ -8225,7 +8225,7 @@ const Qd = /* @__PURE__ */ Li(Xd, [["render", Kd]]), qd = {
|
|
|
8225
8225
|
}, [
|
|
8226
8226
|
R("span", hh, W(i.value), 1)
|
|
8227
8227
|
], 8, dh),
|
|
8228
|
-
a.value ? (
|
|
8228
|
+
a.value ? (H(), Te(ah, {
|
|
8229
8229
|
key: 0,
|
|
8230
8230
|
modalType: D(f),
|
|
8231
8231
|
helpBaseUrl: e.helpBaseUrl,
|