@work-zhanguo/light-file-preview 0.0.4 → 0.0.6
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/README.md +14 -2
- package/dist/{DocxRenderer-B8Ed3qFw.js → DocxRenderer-D0ngcG2T.js} +2 -2
- package/dist/{PdfRenderer-CYtwJLrP.js → PdfRenderer-SICIjXYT.js} +2 -2
- package/dist/{SheetRenderer-C9AKQiKN.js → SheetRenderer-D4Y1dYZX.js} +2 -2
- package/dist/{TextRenderer-W4uPsa5O.js → TextRenderer-KUhpnf63.js} +14 -14
- package/dist/{UnsupportedRenderer-BpyBTIIE.js → UnsupportedRenderer-Y2AgN0-l.js} +1 -1
- package/dist/{docx-preview-B2OPGnfm.js → docx-preview-D_8kC8vU.js} +666 -652
- package/dist/{index-BlBE9ZR-.js → index-DZOrV9D_.js} +86 -85
- package/dist/light-file-preview.js +1 -1
- package/dist/light-file-preview.umd.cjs +29 -29
- package/dist/{marked.esm-toXckLRC.js → marked.esm-CRmQbSOC.js} +15 -15
- package/dist/{pdf-B2JYpzlX.js → pdf-CV932zwQ.js} +1863 -1849
- package/dist/{purify.es-D5dazAgD.js → purify.es-CCmmh-Lt.js} +10 -10
- package/dist/standalone/light-file-preview.iife.js +68 -68
- package/dist/standalone/style.css +1 -1
- package/dist/style.css +1 -1
- package/dist/{text-CcxmtFce.js → text-Bqxn_tMI.js} +5 -5
- package/dist/vue2/{DocxRenderer-IkLQeCjg.js → DocxRenderer-D-MItvaP.js} +3 -3
- package/dist/vue2/{PdfRenderer-DmgMRpqS.js → PdfRenderer-rw-3PY9w.js} +3 -3
- package/dist/vue2/{SheetRenderer-CuAyFgj9.js → SheetRenderer-BxfF54Q3.js} +3 -3
- package/dist/vue2/{TextRenderer-Bxqs7APd.js → TextRenderer-DOzgi4YR.js} +14 -14
- package/dist/vue2/{UnsupportedRenderer-Cs2uPl_6.js → UnsupportedRenderer-VozD1bVb.js} +1 -1
- package/dist/vue2/{docx-preview-B2OPGnfm.js → docx-preview-D_8kC8vU.js} +666 -652
- package/dist/vue2/light-file-preview-vue2.js +1 -1
- package/dist/vue2/light-file-preview-vue2.umd.cjs +76 -76
- package/dist/vue2/{marked.esm-toXckLRC.js → marked.esm-CRmQbSOC.js} +15 -15
- package/dist/vue2/{pdf-B2JYpzlX.js → pdf-CV932zwQ.js} +1863 -1849
- package/dist/vue2/{purify.es-D5dazAgD.js → purify.es-CCmmh-Lt.js} +10 -10
- package/dist/vue2/{text-CcxmtFce.js → text-Bqxn_tMI.js} +5 -5
- package/dist/vue2/{vue2-CzAkhodr.js → vue2-rrMAk2-n.js} +119 -118
- package/dist/vue2/{xlsx-CZNBZqms.js → xlsx-j9Zzywas.js} +82 -82
- package/dist/{xlsx-CZNBZqms.js → xlsx-j9Zzywas.js} +82 -82
- package/package.json +4 -2
- package/style.css +1 -0
- package/vue2.js +2 -0
|
@@ -14,7 +14,7 @@ const te = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Rt =
|
|
|
14
14
|
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), pn = (e) => e.startsWith("onUpdate:"), re = Object.assign, Wo = (e, t) => {
|
|
15
15
|
const n = e.indexOf(t);
|
|
16
16
|
n > -1 && e.splice(n, 1);
|
|
17
|
-
}, Ui = Object.prototype.hasOwnProperty,
|
|
17
|
+
}, Ui = Object.prototype.hasOwnProperty, G = (e, t) => Ui.call(e, t), I = Array.isArray, Ot = (e) => yn(e) === "[object Map]", vs = (e) => yn(e) === "[object Set]", br = (e) => yn(e) === "[object Date]", R = (e) => typeof e == "function", ne = (e) => typeof e == "string", Ze = (e) => typeof e == "symbol", U = (e) => e !== null && typeof e == "object", qo = (e) => (U(e) || R(e)) && R(e.then) && R(e.catch), _s = Object.prototype.toString, yn = (e) => _s.call(e), Go = (e) => yn(e).slice(8, -1), Es = (e) => yn(e) === "[object Object]", Jo = (e) => ne(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, sn = /* @__PURE__ */ st(
|
|
18
18
|
// the leading comma is intentional so empty string "" is also included
|
|
19
19
|
",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
|
|
20
20
|
), Ki = /* @__PURE__ */ st(
|
|
@@ -46,7 +46,7 @@ const te = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {}, Rt =
|
|
|
46
46
|
return isNaN(t) ? e : t;
|
|
47
47
|
};
|
|
48
48
|
let yr;
|
|
49
|
-
const Nn = () => yr || (yr = typeof globalThis
|
|
49
|
+
const Nn = () => yr || (yr = typeof globalThis != "undefined" ? globalThis : typeof self != "undefined" ? self : typeof window != "undefined" ? window : typeof global != "undefined" ? global : {});
|
|
50
50
|
function Yo(e) {
|
|
51
51
|
if (I(e)) {
|
|
52
52
|
const t = {};
|
|
@@ -736,7 +736,7 @@ class Ps extends $s {
|
|
|
736
736
|
t[n]
|
|
737
737
|
), !0) : (s.value = o, !0);
|
|
738
738
|
}
|
|
739
|
-
const l = i ? Number(n) < t.length :
|
|
739
|
+
const l = i ? Number(n) < t.length : G(t, n), u = Reflect.set(
|
|
740
740
|
t,
|
|
741
741
|
n,
|
|
742
742
|
o,
|
|
@@ -745,7 +745,7 @@ class Ps extends $s {
|
|
|
745
745
|
return t === /* @__PURE__ */ k(r) && (l ? Je(o, s) && Ye(t, "set", n, o, s) : Ye(t, "add", n, o)), u;
|
|
746
746
|
}
|
|
747
747
|
deleteProperty(t, n) {
|
|
748
|
-
const o =
|
|
748
|
+
const o = G(t, n), r = t[n], s = Reflect.deleteProperty(t, n);
|
|
749
749
|
return s && o && Ye(t, "delete", n, void 0, r), s;
|
|
750
750
|
}
|
|
751
751
|
has(t, n) {
|
|
@@ -888,7 +888,7 @@ function yl(e, t) {
|
|
|
888
888
|
function so(e, t) {
|
|
889
889
|
const n = yl(e, t);
|
|
890
890
|
return (o, r, s) => r === "__v_isReactive" ? !e : r === "__v_isReadonly" ? e : r === "__v_raw" ? o : Reflect.get(
|
|
891
|
-
|
|
891
|
+
G(n, r) && r in o ? n : o,
|
|
892
892
|
r,
|
|
893
893
|
s
|
|
894
894
|
);
|
|
@@ -1012,7 +1012,7 @@ function k(e) {
|
|
|
1012
1012
|
return t ? /* @__PURE__ */ k(t) : e;
|
|
1013
1013
|
}
|
|
1014
1014
|
function Tl(e) {
|
|
1015
|
-
return !
|
|
1015
|
+
return !G(e, "__v_skip") && Object.isExtensible(e) && Un(e, "__v_skip", !0), e;
|
|
1016
1016
|
}
|
|
1017
1017
|
const Fe = (e) => U(e) ? /* @__PURE__ */ On(e) : e, jt = (e) => U(e) ? /* @__PURE__ */ Co(e) : e;
|
|
1018
1018
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -1154,9 +1154,9 @@ function Rl(e, t, n = te) {
|
|
|
1154
1154
|
if (!(!(a.flags & 1) || !a.dirty && !S))
|
|
1155
1155
|
if (t) {
|
|
1156
1156
|
const F = a.run();
|
|
1157
|
-
if (r || v || (j ? F.some((
|
|
1157
|
+
if (r || v || (j ? F.some((K, z) => Je(K, A[z])) : Je(F, A))) {
|
|
1158
1158
|
m && m();
|
|
1159
|
-
const
|
|
1159
|
+
const K = Et;
|
|
1160
1160
|
Et = a;
|
|
1161
1161
|
try {
|
|
1162
1162
|
const z = [
|
|
@@ -1170,7 +1170,7 @@ function Rl(e, t, n = te) {
|
|
|
1170
1170
|
t(...z)
|
|
1171
1171
|
);
|
|
1172
1172
|
} finally {
|
|
1173
|
-
Et =
|
|
1173
|
+
Et = K;
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
1176
|
} else
|
|
@@ -1528,7 +1528,7 @@ function Yl(e, t) {
|
|
|
1528
1528
|
let l = Rn.get(i);
|
|
1529
1529
|
l || (i !== n.initialDef && Vr(i, t), Rn.set(i, l = /* @__PURE__ */ new Set())), l.add(s), s.appContext.propsCache.delete(s.type), s.appContext.emitsCache.delete(s.type), s.appContext.optionsCache.delete(s.type), s.ceReload ? (l.add(s), s.ceReload(t.styles), l.delete(s)) : s.parent ? lo(() => {
|
|
1530
1530
|
s.job.flags & 8 || (Ne = !0, s.parent.update(), Ne = !1, l.delete(s));
|
|
1531
|
-
}) : s.appContext.reload ? s.appContext.reload() : typeof window
|
|
1531
|
+
}) : s.appContext.reload ? s.appContext.reload() : typeof window != "undefined" ? window.location.reload() : console.warn(
|
|
1532
1532
|
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
1533
1533
|
), s.root.ce && s !== s.root && s.root.ce._removeChildStyle(i);
|
|
1534
1534
|
}
|
|
@@ -1558,7 +1558,7 @@ function wn(e, ...t) {
|
|
|
1558
1558
|
}
|
|
1559
1559
|
function or(e, t) {
|
|
1560
1560
|
var n, o;
|
|
1561
|
-
Ae = e, Ae ? (Ae.enabled = !0, on.forEach(({ event: r, args: s }) => Ae.emit(r, ...s)), on = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window
|
|
1561
|
+
Ae = e, Ae ? (Ae.enabled = !0, on.forEach(({ event: r, args: s }) => Ae.emit(r, ...s)), on = []) : /* handle late devtools injection - only do this if we are in an actual */ /* browser environment to avoid the timer handle stalling test runner exit */ /* (#4815) */ typeof window != "undefined" && // some envs mock window but not fully
|
|
1562
1562
|
window.HTMLElement && // also exclude jsdom
|
|
1563
1563
|
// eslint-disable-next-line no-restricted-syntax
|
|
1564
1564
|
!((o = (n = window.navigator) == null ? void 0 : n.userAgent) != null && o.includes("jsdom")) ? ((t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push((s) => {
|
|
@@ -1745,7 +1745,7 @@ function Qs(e, t) {
|
|
|
1745
1745
|
return o;
|
|
1746
1746
|
};
|
|
1747
1747
|
}
|
|
1748
|
-
const ei = /* @__PURE__ */ Symbol("_vte"), ti = (e) => e.__isTeleport, Dt = (e) => e && (e.disabled || e.disabled === ""), cc = (e) => e && (e.defer || e.defer === ""), Sr = (e) => typeof SVGElement
|
|
1748
|
+
const ei = /* @__PURE__ */ Symbol("_vte"), ti = (e) => e.__isTeleport, Dt = (e) => e && (e.disabled || e.disabled === ""), cc = (e) => e && (e.defer || e.defer === ""), Sr = (e) => typeof SVGElement != "undefined" && e instanceof SVGElement, Tr = (e) => typeof MathMLElement == "function" && e instanceof MathMLElement, $o = (e, t) => {
|
|
1749
1749
|
const n = e && e.to;
|
|
1750
1750
|
if (ne(n))
|
|
1751
1751
|
if (t) {
|
|
@@ -1773,7 +1773,7 @@ const ei = /* @__PURE__ */ Symbol("_vte"), ti = (e) => e.__isTeleport, Dt = (e)
|
|
|
1773
1773
|
if (process.env.NODE_ENV !== "production" && Ne && (u = !1, Y = null), e == null) {
|
|
1774
1774
|
const S = t.el = process.env.NODE_ENV !== "production" ? j("teleport start") : v(""), F = t.anchor = process.env.NODE_ENV !== "production" ? j("teleport end") : v("");
|
|
1775
1775
|
m(S, n, o), m(F, n, o);
|
|
1776
|
-
const
|
|
1776
|
+
const K = (C, B) => {
|
|
1777
1777
|
$ & 16 && f(
|
|
1778
1778
|
A,
|
|
1779
1779
|
C,
|
|
@@ -1786,18 +1786,18 @@ const ei = /* @__PURE__ */ Symbol("_vte"), ti = (e) => e.__isTeleport, Dt = (e)
|
|
|
1786
1786
|
);
|
|
1787
1787
|
}, z = () => {
|
|
1788
1788
|
const C = t.target = $o(t.props, O), B = Po(C, t, v, m);
|
|
1789
|
-
C ? (i !== "svg" && Sr(C) ? i = "svg" : i !== "mathml" && Tr(C) && (i = "mathml"), r && r.isCE && (r.ce._teleportTargets || (r.ce._teleportTargets = /* @__PURE__ */ new Set())).add(C), P || (
|
|
1789
|
+
C ? (i !== "svg" && Sr(C) ? i = "svg" : i !== "mathml" && Tr(C) && (i = "mathml"), r && r.isCE && (r.ce._teleportTargets || (r.ce._teleportTargets = /* @__PURE__ */ new Set())).add(C), P || (K(C, B), jn(t, !1))) : process.env.NODE_ENV !== "production" && !P && N(
|
|
1790
1790
|
"Invalid Teleport target on mount:",
|
|
1791
1791
|
C,
|
|
1792
1792
|
`(${typeof C})`
|
|
1793
1793
|
);
|
|
1794
1794
|
};
|
|
1795
|
-
P && (
|
|
1795
|
+
P && (K(n, F), jn(t, !0)), cc(t.props) || s && s.pendingBranch ? (t.el.__isMounted = !1, me(() => {
|
|
1796
1796
|
t.el.__isMounted === !1 && (z(), delete t.el.__isMounted);
|
|
1797
1797
|
}, s)) : z();
|
|
1798
1798
|
} else {
|
|
1799
1799
|
t.el = e.el, t.targetStart = e.targetStart;
|
|
1800
|
-
const S = t.anchor = e.anchor, F = t.target = e.target,
|
|
1800
|
+
const S = t.anchor = e.anchor, F = t.target = e.target, K = t.targetAnchor = e.targetAnchor;
|
|
1801
1801
|
if (e.el.__isMounted === !1) {
|
|
1802
1802
|
me(() => {
|
|
1803
1803
|
ni.process(
|
|
@@ -1815,7 +1815,7 @@ const ei = /* @__PURE__ */ Symbol("_vte"), ti = (e) => e.__isTeleport, Dt = (e)
|
|
|
1815
1815
|
}, s);
|
|
1816
1816
|
return;
|
|
1817
1817
|
}
|
|
1818
|
-
const z = Dt(e.props), C = z ? n : F, B = z ? S :
|
|
1818
|
+
const z = Dt(e.props), C = z ? n : F, B = z ? S : K;
|
|
1819
1819
|
if (i === "svg" || Sr(F) ? i = "svg" : (i === "mathml" || Tr(F)) && (i = "mathml"), Y ? (h(
|
|
1820
1820
|
e.dynamicChildren,
|
|
1821
1821
|
Y,
|
|
@@ -1861,7 +1861,7 @@ const ei = /* @__PURE__ */ Symbol("_vte"), ti = (e) => e.__isTeleport, Dt = (e)
|
|
|
1861
1861
|
} else z && $n(
|
|
1862
1862
|
t,
|
|
1863
1863
|
F,
|
|
1864
|
-
|
|
1864
|
+
K,
|
|
1865
1865
|
p,
|
|
1866
1866
|
1
|
|
1867
1867
|
);
|
|
@@ -2111,7 +2111,7 @@ function Io(e, t, n, o, r) {
|
|
|
2111
2111
|
9,
|
|
2112
2112
|
B
|
|
2113
2113
|
);
|
|
2114
|
-
},
|
|
2114
|
+
}, K = (C, B) => {
|
|
2115
2115
|
const Q = B[1];
|
|
2116
2116
|
F(C, B), I(C) ? C.every((T) => T.length <= 1) && Q() : C.length <= 1 && Q();
|
|
2117
2117
|
}, z = {
|
|
@@ -2144,7 +2144,7 @@ function Io(e, t, n, o, r) {
|
|
|
2144
2144
|
oe || (oe = !0, _e ? F(T, [C]) : F(Q, [C]), z.delayedLeave && z.delayedLeave(), C[Zt] = void 0);
|
|
2145
2145
|
};
|
|
2146
2146
|
const ve = C[Zt].bind(null, !1);
|
|
2147
|
-
B ?
|
|
2147
|
+
B ? K(B, [C, ve]) : ve();
|
|
2148
2148
|
},
|
|
2149
2149
|
leave(C, B) {
|
|
2150
2150
|
const Q = String(e.key);
|
|
@@ -2159,7 +2159,7 @@ function Io(e, t, n, o, r) {
|
|
|
2159
2159
|
T || (T = !0, B(), ve ? F(v, [C]) : F(O, [C]), C[qe] = void 0, S[Q] === e && delete S[Q]);
|
|
2160
2160
|
};
|
|
2161
2161
|
const oe = C[qe].bind(null, !1);
|
|
2162
|
-
S[Q] = e, m ?
|
|
2162
|
+
S[Q] = e, m ? K(m, [C, oe]) : oe();
|
|
2163
2163
|
},
|
|
2164
2164
|
clone(C) {
|
|
2165
2165
|
const B = Io(
|
|
@@ -2249,9 +2249,9 @@ function un(e, t, n, o, r = !1) {
|
|
|
2249
2249
|
);
|
|
2250
2250
|
return;
|
|
2251
2251
|
}
|
|
2252
|
-
const p = t && t.r, f = l.refs === te ? l.refs = {} : l.refs, a = l.setupState, h = /* @__PURE__ */ k(a), m = a === te ? ms : (v) => process.env.NODE_ENV !== "production" && (
|
|
2252
|
+
const p = t && t.r, f = l.refs === te ? l.refs = {} : l.refs, a = l.setupState, h = /* @__PURE__ */ k(a), m = a === te ? ms : (v) => process.env.NODE_ENV !== "production" && (G(h, v) && !/* @__PURE__ */ ce(h[v]) && N(
|
|
2253
2253
|
`Template ref "${v}" used on a non-ref value. It will not work in the production build.`
|
|
2254
|
-
), Ar.has(h[v])) || $r(f, v) ? !1 :
|
|
2254
|
+
), Ar.has(h[v])) || $r(f, v) ? !1 : G(h, v), O = (v, j) => !(process.env.NODE_ENV !== "production" && Ar.has(v) || j && $r(f, j));
|
|
2255
2255
|
if (p != null && p !== u) {
|
|
2256
2256
|
if (Pr(t), ne(p))
|
|
2257
2257
|
f[p] = null, m(p) && (a[p] = null);
|
|
@@ -2550,7 +2550,7 @@ const Mo = (e) => e ? Ii(e) ? pr(e) : Mo(e.parent) : null, Vt = (
|
|
|
2550
2550
|
$nextTick: (e) => e.n || (e.n = Kl.bind(e.proxy)),
|
|
2551
2551
|
$watch: (e) => lc.bind(e)
|
|
2552
2552
|
})
|
|
2553
|
-
), lr = (e) => e === "_" || e === "$", yo = (e, t) => e !== te && !e.__isScriptSetup &&
|
|
2553
|
+
), lr = (e) => e === "_" || e === "$", yo = (e, t) => e !== te && !e.__isScriptSetup && G(e, t), di = {
|
|
2554
2554
|
get({ _: e }, t) {
|
|
2555
2555
|
if (t === "__v_skip")
|
|
2556
2556
|
return !0;
|
|
@@ -2573,11 +2573,11 @@ const Mo = (e) => e ? Ii(e) ? pr(e) : Mo(e.parent) : null, Vt = (
|
|
|
2573
2573
|
else {
|
|
2574
2574
|
if (yo(o, t))
|
|
2575
2575
|
return i[t] = 1, o[t];
|
|
2576
|
-
if (r !== te &&
|
|
2576
|
+
if (r !== te && G(r, t))
|
|
2577
2577
|
return i[t] = 2, r[t];
|
|
2578
|
-
if (
|
|
2578
|
+
if (G(s, t))
|
|
2579
2579
|
return i[t] = 3, s[t];
|
|
2580
|
-
if (n !== te &&
|
|
2580
|
+
if (n !== te && G(n, t))
|
|
2581
2581
|
return i[t] = 4, n[t];
|
|
2582
2582
|
Ro && (i[t] = 0);
|
|
2583
2583
|
}
|
|
@@ -2591,16 +2591,16 @@ const Mo = (e) => e ? Ii(e) ? pr(e) : Mo(e.parent) : null, Vt = (
|
|
|
2591
2591
|
(f = l.__cssModules) && (f = f[t])
|
|
2592
2592
|
)
|
|
2593
2593
|
return f;
|
|
2594
|
-
if (n !== te &&
|
|
2594
|
+
if (n !== te && G(n, t))
|
|
2595
2595
|
return i[t] = 4, n[t];
|
|
2596
2596
|
if (
|
|
2597
2597
|
// global properties
|
|
2598
|
-
a = u.config.globalProperties,
|
|
2598
|
+
a = u.config.globalProperties, G(a, t)
|
|
2599
2599
|
)
|
|
2600
2600
|
return a[t];
|
|
2601
2601
|
process.env.NODE_ENV !== "production" && De && (!ne(t) || // #1091 avoid internal isRef/isVNode checks on component instance leading
|
|
2602
2602
|
// to infinite warning loop
|
|
2603
|
-
t.indexOf("__v") !== 0) && (r !== te && lr(t[0]) &&
|
|
2603
|
+
t.indexOf("__v") !== 0) && (r !== te && lr(t[0]) && G(r, t) ? N(
|
|
2604
2604
|
`Property ${JSON.stringify(
|
|
2605
2605
|
t
|
|
2606
2606
|
)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`
|
|
@@ -2610,7 +2610,7 @@ const Mo = (e) => e ? Ii(e) ? pr(e) : Mo(e.parent) : null, Vt = (
|
|
|
2610
2610
|
},
|
|
2611
2611
|
set({ _: e }, t, n) {
|
|
2612
2612
|
const { data: o, setupState: r, ctx: s } = e;
|
|
2613
|
-
return yo(r, t) ? (r[t] = n, !0) : process.env.NODE_ENV !== "production" && r.__isScriptSetup &&
|
|
2613
|
+
return yo(r, t) ? (r[t] = n, !0) : process.env.NODE_ENV !== "production" && r.__isScriptSetup && G(r, t) ? (N(`Cannot mutate <script setup> binding "${t}" from Options API.`), !1) : o !== te && G(o, t) ? (o[t] = n, !0) : G(e.props, t) ? (process.env.NODE_ENV !== "production" && N(`Attempting to mutate prop "${t}". Props are readonly.`), !1) : t[0] === "$" && t.slice(1) in e ? (process.env.NODE_ENV !== "production" && N(
|
|
2614
2614
|
`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`
|
|
2615
2615
|
), !1) : (process.env.NODE_ENV !== "production" && t in e.appContext.config.globalProperties ? Object.defineProperty(s, t, {
|
|
2616
2616
|
enumerable: !0,
|
|
@@ -2622,10 +2622,10 @@ const Mo = (e) => e ? Ii(e) ? pr(e) : Mo(e.parent) : null, Vt = (
|
|
|
2622
2622
|
_: { data: e, setupState: t, accessCache: n, ctx: o, appContext: r, props: s, type: i }
|
|
2623
2623
|
}, l) {
|
|
2624
2624
|
let u;
|
|
2625
|
-
return !!(n[l] || e !== te && l[0] !== "$" &&
|
|
2625
|
+
return !!(n[l] || e !== te && l[0] !== "$" && G(e, l) || yo(t, l) || G(s, l) || G(o, l) || G(Vt, l) || G(r.config.globalProperties, l) || (u = i.__cssModules) && u[l]);
|
|
2626
2626
|
},
|
|
2627
2627
|
defineProperty(e, t, n) {
|
|
2628
|
-
return n.get != null ? e._.accessCache[t] = 0 :
|
|
2628
|
+
return n.get != null ? e._.accessCache[t] = 0 : G(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
|
|
2629
2629
|
}
|
|
2630
2630
|
};
|
|
2631
2631
|
process.env.NODE_ENV !== "production" && (di.ownKeys = (e) => (N(
|
|
@@ -2721,7 +2721,7 @@ function Cc(e) {
|
|
|
2721
2721
|
unmounted: Y,
|
|
2722
2722
|
render: S,
|
|
2723
2723
|
renderTracked: F,
|
|
2724
|
-
renderTriggered:
|
|
2724
|
+
renderTriggered: K,
|
|
2725
2725
|
errorCaptured: z,
|
|
2726
2726
|
serverPrefetch: C,
|
|
2727
2727
|
// public API
|
|
@@ -2733,80 +2733,80 @@ function Cc(e) {
|
|
|
2733
2733
|
filters: ve
|
|
2734
2734
|
} = t, _e = process.env.NODE_ENV !== "production" ? Tc() : null;
|
|
2735
2735
|
if (process.env.NODE_ENV !== "production") {
|
|
2736
|
-
const [
|
|
2737
|
-
if (
|
|
2738
|
-
for (const
|
|
2739
|
-
_e("Props",
|
|
2736
|
+
const [q] = e.propsOptions;
|
|
2737
|
+
if (q)
|
|
2738
|
+
for (const W in q)
|
|
2739
|
+
_e("Props", W);
|
|
2740
2740
|
}
|
|
2741
2741
|
if (p && Ac(p, o, _e), i)
|
|
2742
|
-
for (const
|
|
2743
|
-
const
|
|
2744
|
-
R(
|
|
2745
|
-
value:
|
|
2742
|
+
for (const q in i) {
|
|
2743
|
+
const W = i[q];
|
|
2744
|
+
R(W) ? (process.env.NODE_ENV !== "production" ? Object.defineProperty(o, q, {
|
|
2745
|
+
value: W.bind(n),
|
|
2746
2746
|
configurable: !0,
|
|
2747
2747
|
enumerable: !0,
|
|
2748
2748
|
writable: !0
|
|
2749
|
-
}) : o[
|
|
2750
|
-
`Method "${
|
|
2749
|
+
}) : o[q] = W.bind(n), process.env.NODE_ENV !== "production" && _e("Methods", q)) : process.env.NODE_ENV !== "production" && N(
|
|
2750
|
+
`Method "${q}" has type "${typeof W}" in the component definition. Did you reference the function correctly?`
|
|
2751
2751
|
);
|
|
2752
2752
|
}
|
|
2753
2753
|
if (r) {
|
|
2754
2754
|
process.env.NODE_ENV !== "production" && !R(r) && N(
|
|
2755
2755
|
"The data option must be a function. Plain object usage is no longer supported."
|
|
2756
2756
|
);
|
|
2757
|
-
const
|
|
2758
|
-
if (process.env.NODE_ENV !== "production" && qo(
|
|
2757
|
+
const q = r.call(n, n);
|
|
2758
|
+
if (process.env.NODE_ENV !== "production" && qo(q) && N(
|
|
2759
2759
|
"data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."
|
|
2760
|
-
), !U(
|
|
2760
|
+
), !U(q))
|
|
2761
2761
|
process.env.NODE_ENV !== "production" && N("data() should return an object.");
|
|
2762
|
-
else if (e.data = /* @__PURE__ */ On(
|
|
2763
|
-
for (const
|
|
2764
|
-
_e("Data",
|
|
2762
|
+
else if (e.data = /* @__PURE__ */ On(q), process.env.NODE_ENV !== "production")
|
|
2763
|
+
for (const W in q)
|
|
2764
|
+
_e("Data", W), lr(W[0]) || Object.defineProperty(o, W, {
|
|
2765
2765
|
configurable: !0,
|
|
2766
2766
|
enumerable: !0,
|
|
2767
|
-
get: () => W
|
|
2767
|
+
get: () => q[W],
|
|
2768
2768
|
set: ae
|
|
2769
2769
|
});
|
|
2770
2770
|
}
|
|
2771
2771
|
if (Ro = !0, s)
|
|
2772
|
-
for (const
|
|
2773
|
-
const
|
|
2774
|
-
process.env.NODE_ENV !== "production" && je === ae && N(`Computed property "${
|
|
2775
|
-
const fo = !R(
|
|
2772
|
+
for (const q in s) {
|
|
2773
|
+
const W = s[q], je = R(W) ? W.bind(n, n) : R(W.get) ? W.get.bind(n, n) : ae;
|
|
2774
|
+
process.env.NODE_ENV !== "production" && je === ae && N(`Computed property "${q}" has no getter.`);
|
|
2775
|
+
const fo = !R(W) && R(W.set) ? W.set.bind(n) : process.env.NODE_ENV !== "production" ? () => {
|
|
2776
2776
|
N(
|
|
2777
|
-
`Write operation failed: computed property "${
|
|
2777
|
+
`Write operation failed: computed property "${q}" is readonly.`
|
|
2778
2778
|
);
|
|
2779
2779
|
} : ae, Wt = Mt({
|
|
2780
2780
|
get: je,
|
|
2781
2781
|
set: fo
|
|
2782
2782
|
});
|
|
2783
|
-
Object.defineProperty(o,
|
|
2783
|
+
Object.defineProperty(o, q, {
|
|
2784
2784
|
enumerable: !0,
|
|
2785
2785
|
configurable: !0,
|
|
2786
2786
|
get: () => Wt.value,
|
|
2787
2787
|
set: (Tt) => Wt.value = Tt
|
|
2788
|
-
}), process.env.NODE_ENV !== "production" && _e("Computed",
|
|
2788
|
+
}), process.env.NODE_ENV !== "production" && _e("Computed", q);
|
|
2789
2789
|
}
|
|
2790
2790
|
if (l)
|
|
2791
|
-
for (const
|
|
2792
|
-
pi(l[
|
|
2791
|
+
for (const q in l)
|
|
2792
|
+
pi(l[q], o, n, q);
|
|
2793
2793
|
if (u) {
|
|
2794
|
-
const
|
|
2795
|
-
Reflect.ownKeys(
|
|
2796
|
-
rc(
|
|
2794
|
+
const q = R(u) ? u.call(n) : u;
|
|
2795
|
+
Reflect.ownKeys(q).forEach((W) => {
|
|
2796
|
+
rc(W, q[W]);
|
|
2797
2797
|
});
|
|
2798
2798
|
}
|
|
2799
2799
|
f && Rr(f, e, "c");
|
|
2800
|
-
function de(
|
|
2801
|
-
I(
|
|
2800
|
+
function de(q, W) {
|
|
2801
|
+
I(W) ? W.forEach((je) => q(je.bind(n))) : W && q(W.bind(n));
|
|
2802
2802
|
}
|
|
2803
|
-
if (de(_c, a), de(fi, h), de(Ec, m), de(bc, O), de(gc, v), de(mc, j), de(wc, z), de(Oc, F), de(Nc,
|
|
2803
|
+
if (de(_c, a), de(fi, h), de(Ec, m), de(bc, O), de(gc, v), de(mc, j), de(wc, z), de(Oc, F), de(Nc, K), de(ir, $), de(ai, Y), de(yc, C), I(B))
|
|
2804
2804
|
if (B.length) {
|
|
2805
|
-
const
|
|
2806
|
-
B.forEach((
|
|
2807
|
-
Object.defineProperty(
|
|
2808
|
-
get: () => n[
|
|
2809
|
-
set: (je) => n[
|
|
2805
|
+
const q = e.exposed || (e.exposed = {});
|
|
2806
|
+
B.forEach((W) => {
|
|
2807
|
+
Object.defineProperty(q, W, {
|
|
2808
|
+
get: () => n[W],
|
|
2809
|
+
set: (je) => n[W] = je,
|
|
2810
2810
|
enumerable: !0
|
|
2811
2811
|
});
|
|
2812
2812
|
});
|
|
@@ -2941,7 +2941,7 @@ function Lr(e, t) {
|
|
|
2941
2941
|
return e ? I(e) && I(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : re(
|
|
2942
2942
|
/* @__PURE__ */ Object.create(null),
|
|
2943
2943
|
Mr(e),
|
|
2944
|
-
Mr(t
|
|
2944
|
+
Mr(t != null ? t : {})
|
|
2945
2945
|
) : t;
|
|
2946
2946
|
}
|
|
2947
2947
|
function Ic(e, t) {
|
|
@@ -3040,7 +3040,7 @@ function Rc(e, t) {
|
|
|
3040
3040
|
), e(null, p._container), process.env.NODE_ENV !== "production" && (p._instance = null, Zl(p)), delete p._container.__vue_app__) : process.env.NODE_ENV !== "production" && N("Cannot unmount an app that is not mounted.");
|
|
3041
3041
|
},
|
|
3042
3042
|
provide(f, a) {
|
|
3043
|
-
return process.env.NODE_ENV !== "production" && f in s.provides && (
|
|
3043
|
+
return process.env.NODE_ENV !== "production" && f in s.provides && (G(s.provides, f) ? N(
|
|
3044
3044
|
`App already provides property with key "${String(f)}". It will be overwritten with the new value.`
|
|
3045
3045
|
) : N(
|
|
3046
3046
|
`App already provides property with key "${String(f)}" inherited from its parent element. It will be overwritten with the new value.`
|
|
@@ -3133,7 +3133,7 @@ function mi(e, t, n = !1) {
|
|
|
3133
3133
|
return !s && !l ? (U(e) && o.set(e, null), null) : (I(s) ? s.forEach((u) => i[u] = null) : re(i, s), U(e) && o.set(e, i), i);
|
|
3134
3134
|
}
|
|
3135
3135
|
function uo(e, t) {
|
|
3136
|
-
return !e || !bn(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""),
|
|
3136
|
+
return !e || !bn(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), G(e, t[0].toLowerCase() + t.slice(1)) || G(e, dt(t)) || G(e, t));
|
|
3137
3137
|
}
|
|
3138
3138
|
let Lo = !1;
|
|
3139
3139
|
function Zn() {
|
|
@@ -3162,12 +3162,12 @@ function jr(e) {
|
|
|
3162
3162
|
try {
|
|
3163
3163
|
if (n.shapeFlag & 4) {
|
|
3164
3164
|
const S = r || o, F = process.env.NODE_ENV !== "production" && m.__isScriptSetup ? new Proxy(S, {
|
|
3165
|
-
get(
|
|
3165
|
+
get(K, z, C) {
|
|
3166
3166
|
return N(
|
|
3167
3167
|
`Property '${String(
|
|
3168
3168
|
z
|
|
3169
3169
|
)}' was accessed via 'this'. Avoid using 'this' in templates.`
|
|
3170
|
-
), Reflect.get(
|
|
3170
|
+
), Reflect.get(K, z, C);
|
|
3171
3171
|
}
|
|
3172
3172
|
}) : S;
|
|
3173
3173
|
P = Ce(
|
|
@@ -3212,9 +3212,9 @@ function jr(e) {
|
|
|
3212
3212
|
s
|
|
3213
3213
|
)), A = Xe(A, $, !1, !0);
|
|
3214
3214
|
else if (process.env.NODE_ENV !== "production" && !Lo && A.type !== le) {
|
|
3215
|
-
const
|
|
3216
|
-
for (let B = 0, Q =
|
|
3217
|
-
const T =
|
|
3215
|
+
const K = Object.keys(l), z = [], C = [];
|
|
3216
|
+
for (let B = 0, Q = K.length; B < Q; B++) {
|
|
3217
|
+
const T = K[B];
|
|
3218
3218
|
bn(T) ? pn(T) || z.push(T[2].toLowerCase() + T.slice(3)) : C.push(T);
|
|
3219
3219
|
}
|
|
3220
3220
|
C.length && N(
|
|
@@ -3350,7 +3350,7 @@ function qc(e, t, n, o) {
|
|
|
3350
3350
|
continue;
|
|
3351
3351
|
const m = t[h];
|
|
3352
3352
|
if (u)
|
|
3353
|
-
if (
|
|
3353
|
+
if (G(s, h))
|
|
3354
3354
|
m !== s[h] && (s[h] = m, p = !0);
|
|
3355
3355
|
else {
|
|
3356
3356
|
const O = xe(h);
|
|
@@ -3372,9 +3372,9 @@ function qc(e, t, n, o) {
|
|
|
3372
3372
|
let f;
|
|
3373
3373
|
for (const a in l)
|
|
3374
3374
|
(!t || // for camelCase
|
|
3375
|
-
!
|
|
3375
|
+
!G(t, a) && // it's possible the original props was passed in as kebab-case
|
|
3376
3376
|
// and converted to camelCase (#955)
|
|
3377
|
-
((f = dt(a)) === a || !
|
|
3377
|
+
((f = dt(a)) === a || !G(t, f))) && (u ? n && // for camelCase
|
|
3378
3378
|
(n[a] !== void 0 || // for kebab-case
|
|
3379
3379
|
n[f] !== void 0) && (r[a] = jo(
|
|
3380
3380
|
u,
|
|
@@ -3386,7 +3386,7 @@ function qc(e, t, n, o) {
|
|
|
3386
3386
|
)) : delete r[a]);
|
|
3387
3387
|
if (s !== l)
|
|
3388
3388
|
for (const a in s)
|
|
3389
|
-
(!t || !
|
|
3389
|
+
(!t || !G(t, a)) && (delete s[a], p = !0);
|
|
3390
3390
|
}
|
|
3391
3391
|
p && Ye(e.attrs, "set", ""), process.env.NODE_ENV !== "production" && wi(t || {}, r, e);
|
|
3392
3392
|
}
|
|
@@ -3399,7 +3399,7 @@ function Ni(e, t, n, o) {
|
|
|
3399
3399
|
continue;
|
|
3400
3400
|
const p = t[u];
|
|
3401
3401
|
let f;
|
|
3402
|
-
r &&
|
|
3402
|
+
r && G(r, f = xe(u)) ? !s || !s.includes(f) ? n[f] = p : (l || (l = {}))[f] = p : uo(e.emitsOptions, u) || (!(u in o) || p !== o[u]) && (o[u] = p, i = !0);
|
|
3403
3403
|
}
|
|
3404
3404
|
if (s) {
|
|
3405
3405
|
const u = /* @__PURE__ */ k(n), p = l || te;
|
|
@@ -3411,7 +3411,7 @@ function Ni(e, t, n, o) {
|
|
|
3411
3411
|
a,
|
|
3412
3412
|
p[a],
|
|
3413
3413
|
e,
|
|
3414
|
-
!
|
|
3414
|
+
!G(p, a)
|
|
3415
3415
|
);
|
|
3416
3416
|
}
|
|
3417
3417
|
}
|
|
@@ -3420,7 +3420,7 @@ function Ni(e, t, n, o) {
|
|
|
3420
3420
|
function jo(e, t, n, o, r, s) {
|
|
3421
3421
|
const i = e[n];
|
|
3422
3422
|
if (i != null) {
|
|
3423
|
-
const l =
|
|
3423
|
+
const l = G(i, "default");
|
|
3424
3424
|
if (l && o === void 0) {
|
|
3425
3425
|
const u = i.default;
|
|
3426
3426
|
if (i.type !== Function && !i.skipFactory && R(u)) {
|
|
@@ -3494,7 +3494,7 @@ function Oi(e, t, n = !1) {
|
|
|
3494
3494
|
] = v, m[
|
|
3495
3495
|
1
|
|
3496
3496
|
/* shouldCastTrue */
|
|
3497
|
-
] = j, (v ||
|
|
3497
|
+
] = j, (v || G(m, "default")) && l.push(a);
|
|
3498
3498
|
}
|
|
3499
3499
|
}
|
|
3500
3500
|
}
|
|
@@ -3635,7 +3635,7 @@ function $t(e, t) {
|
|
|
3635
3635
|
process.env.NODE_ENV !== "production" && nc(e, t, Xn() ? nt.now() : Date.now());
|
|
3636
3636
|
}
|
|
3637
3637
|
function Xn() {
|
|
3638
|
-
return Qt !== void 0 || (typeof window
|
|
3638
|
+
return Qt !== void 0 || (typeof window != "undefined" && window.performance ? (Qt = !0, nt = window.performance) : Qt = !1), Qt;
|
|
3639
3639
|
}
|
|
3640
3640
|
function ou() {
|
|
3641
3641
|
const e = [];
|
|
@@ -3781,7 +3781,7 @@ function su(e, t) {
|
|
|
3781
3781
|
r(d);
|
|
3782
3782
|
}, F = (c, d, g, y, _, E, D, x, w) => {
|
|
3783
3783
|
if (d.type === "svg" ? D = "svg" : d.type === "math" && (D = "mathml"), c == null)
|
|
3784
|
-
|
|
3784
|
+
K(
|
|
3785
3785
|
d,
|
|
3786
3786
|
g,
|
|
3787
3787
|
y,
|
|
@@ -3807,7 +3807,7 @@ function su(e, t) {
|
|
|
3807
3807
|
b && b._endPatch();
|
|
3808
3808
|
}
|
|
3809
3809
|
}
|
|
3810
|
-
},
|
|
3810
|
+
}, K = (c, d, g, y, _, E, D, x) => {
|
|
3811
3811
|
let w, b;
|
|
3812
3812
|
const { props: L, shapeFlag: V, transition: M, dirs: H } = c;
|
|
3813
3813
|
if (w = c.el = i(
|
|
@@ -4034,12 +4034,12 @@ function su(e, t) {
|
|
|
4034
4034
|
_
|
|
4035
4035
|
);
|
|
4036
4036
|
if (process.env.NODE_ENV !== "production" && x.type.__hmrId && ql(x), process.env.NODE_ENV !== "production" && (In(c), At(x, "mount")), Kt(c) && (x.ctx.renderer = Gt), process.env.NODE_ENV !== "production" && At(x, "init"), _u(x, !1, D), process.env.NODE_ENV !== "production" && $t(x, "init"), process.env.NODE_ENV !== "production" && Ne && (c.el = null), x.asyncDep) {
|
|
4037
|
-
if (_ && _.registerDep(x,
|
|
4037
|
+
if (_ && _.registerDep(x, q, D), !c.el) {
|
|
4038
4038
|
const w = x.subTree = ge(le);
|
|
4039
4039
|
P(null, w, d, g), c.placeholder = w.el;
|
|
4040
4040
|
}
|
|
4041
4041
|
} else
|
|
4042
|
-
|
|
4042
|
+
q(
|
|
4043
4043
|
x,
|
|
4044
4044
|
c,
|
|
4045
4045
|
d,
|
|
@@ -4053,20 +4053,20 @@ function su(e, t) {
|
|
|
4053
4053
|
const y = d.component = c.component;
|
|
4054
4054
|
if (Bc(c, d, g))
|
|
4055
4055
|
if (y.asyncDep && !y.asyncResolved) {
|
|
4056
|
-
process.env.NODE_ENV !== "production" && In(d),
|
|
4056
|
+
process.env.NODE_ENV !== "production" && In(d), W(y, d, g), process.env.NODE_ENV !== "production" && Mn();
|
|
4057
4057
|
return;
|
|
4058
4058
|
} else
|
|
4059
4059
|
y.next = d, y.update();
|
|
4060
4060
|
else
|
|
4061
4061
|
d.el = c.el, y.vnode = d;
|
|
4062
|
-
},
|
|
4062
|
+
}, q = (c, d, g, y, _, E, D) => {
|
|
4063
4063
|
const x = () => {
|
|
4064
4064
|
if (c.isMounted) {
|
|
4065
4065
|
let { next: V, bu: M, u: H, parent: J, vnode: Z } = c;
|
|
4066
4066
|
{
|
|
4067
4067
|
const ke = Vi(c);
|
|
4068
4068
|
if (ke) {
|
|
4069
|
-
V && (V.el = Z.el,
|
|
4069
|
+
V && (V.el = Z.el, W(c, V, D)), ke.asyncDep.then(() => {
|
|
4070
4070
|
me(() => {
|
|
4071
4071
|
c.isUnmounted || b();
|
|
4072
4072
|
}, _);
|
|
@@ -4075,7 +4075,7 @@ function su(e, t) {
|
|
|
4075
4075
|
}
|
|
4076
4076
|
}
|
|
4077
4077
|
let ee = V, se;
|
|
4078
|
-
process.env.NODE_ENV !== "production" && In(V || c.vnode), ht(c, !1), V ? (V.el = Z.el,
|
|
4078
|
+
process.env.NODE_ENV !== "production" && In(V || c.vnode), ht(c, !1), V ? (V.el = Z.el, W(c, V, D)) : V = Z, M && Yt(M), (se = V.props && V.props.onVnodeBeforeUpdate) && Ke(se, J, V, Z), ht(c, !0), process.env.NODE_ENV !== "production" && At(c, "render");
|
|
4079
4079
|
const pe = jr(c);
|
|
4080
4080
|
process.env.NODE_ENV !== "production" && $t(c, "render");
|
|
4081
4081
|
const He = c.subTree;
|
|
@@ -4128,7 +4128,7 @@ function su(e, t) {
|
|
|
4128
4128
|
c.scope.off();
|
|
4129
4129
|
const b = c.update = w.run.bind(w), L = c.job = w.runIfDirty.bind(w);
|
|
4130
4130
|
L.i = c, L.id = c.uid, w.scheduler = () => lo(L), ht(c, !0), process.env.NODE_ENV !== "production" && (w.onTrack = c.rtc ? (V) => Yt(c.rtc, V) : void 0, w.onTrigger = c.rtg ? (V) => Yt(c.rtg, V) : void 0), b();
|
|
4131
|
-
},
|
|
4131
|
+
}, W = (c, d, g) => {
|
|
4132
4132
|
d.component = c;
|
|
4133
4133
|
const y = c.vnode.props;
|
|
4134
4134
|
c.vnode = d, c.next = null, qc(c, d.props, y, g), nu(c, d.children, g), Ie(), xr(c), Me();
|
|
@@ -4615,7 +4615,7 @@ function yt(e, t) {
|
|
|
4615
4615
|
}
|
|
4616
4616
|
const fu = (...e) => $i(
|
|
4617
4617
|
...e
|
|
4618
|
-
), Ai = ({ key: e }) => e
|
|
4618
|
+
), Ai = ({ key: e }) => e != null ? e : null, kn = ({
|
|
4619
4619
|
ref: e,
|
|
4620
4620
|
ref_key: t,
|
|
4621
4621
|
ref_for: n
|
|
@@ -5116,7 +5116,7 @@ function gr(e, t, n) {
|
|
|
5116
5116
|
}
|
|
5117
5117
|
}
|
|
5118
5118
|
function xu() {
|
|
5119
|
-
if (process.env.NODE_ENV === "production" || typeof window
|
|
5119
|
+
if (process.env.NODE_ENV === "production" || typeof window == "undefined")
|
|
5120
5120
|
return;
|
|
5121
5121
|
const e = { style: "color:#3ba776" }, t = { style: "color:#1677ff" }, n = { style: "color:#f5222d" }, o = { style: "color:#eb2f96" }, r = {
|
|
5122
5122
|
__vue_custom_formatter: !0,
|
|
@@ -5245,7 +5245,7 @@ process.env.NODE_ENV;
|
|
|
5245
5245
|
* @license MIT
|
|
5246
5246
|
**/
|
|
5247
5247
|
let Uo;
|
|
5248
|
-
const zr = typeof window
|
|
5248
|
+
const zr = typeof window != "undefined" && window.trustedTypes;
|
|
5249
5249
|
if (zr)
|
|
5250
5250
|
try {
|
|
5251
5251
|
Uo = /* @__PURE__ */ zr.createPolicy("vue", {
|
|
@@ -5254,7 +5254,7 @@ if (zr)
|
|
|
5254
5254
|
} catch (e) {
|
|
5255
5255
|
process.env.NODE_ENV !== "production" && rt(`Error creating trusted types policy: ${e}`);
|
|
5256
5256
|
}
|
|
5257
|
-
const Fi = Uo ? (e) => Uo.createHTML(e) : (e) => e, Du = "http://www.w3.org/2000/svg", Vu = "http://www.w3.org/1998/Math/MathML", tt = typeof document
|
|
5257
|
+
const Fi = Uo ? (e) => Uo.createHTML(e) : (e) => e, Du = "http://www.w3.org/2000/svg", Vu = "http://www.w3.org/1998/Math/MathML", tt = typeof document != "undefined" ? document : null, Zr = tt && /* @__PURE__ */ tt.createElement("template"), Su = {
|
|
5258
5258
|
insert: (e, t, n) => {
|
|
5259
5259
|
t.insertBefore(e, n || null);
|
|
5260
5260
|
},
|
|
@@ -5361,14 +5361,14 @@ function $u(e) {
|
|
|
5361
5361
|
onLeave: Y,
|
|
5362
5362
|
onLeaveCancelled: S,
|
|
5363
5363
|
onBeforeAppear: F = P,
|
|
5364
|
-
onAppear:
|
|
5364
|
+
onAppear: K = $,
|
|
5365
5365
|
onAppearCancelled: z = A
|
|
5366
5366
|
} = t, C = (T, oe, ve, _e) => {
|
|
5367
5367
|
T._enterCancelled = _e, mt(T, oe ? f : l), mt(T, oe ? p : i), ve && ve();
|
|
5368
5368
|
}, B = (T, oe) => {
|
|
5369
5369
|
T._isLeaving = !1, mt(T, a), mt(T, m), mt(T, h), oe && oe();
|
|
5370
5370
|
}, Q = (T) => (oe, ve) => {
|
|
5371
|
-
const _e = T ?
|
|
5371
|
+
const _e = T ? K : $, de = () => C(oe, T, ve);
|
|
5372
5372
|
gt(_e, [oe, de]), Qr(() => {
|
|
5373
5373
|
mt(oe, T ? u : s), et(oe, T ? f : l), Xr(_e) || es(oe, o, v, de);
|
|
5374
5374
|
});
|
|
@@ -5765,21 +5765,22 @@ function ff(e) {
|
|
|
5765
5765
|
try {
|
|
5766
5766
|
const t = new URL(e, window.location.href);
|
|
5767
5767
|
return t.pathname = t.pathname.split("/").map((n) => encodeURIComponent(decodeURIComponent(n))).join("/"), t.toString();
|
|
5768
|
-
} catch {
|
|
5769
|
-
return e.split("/").map((
|
|
5768
|
+
} catch (t) {
|
|
5769
|
+
return e.split("/").map((n) => encodeURIComponent(decodeURIComponent(n))).join("/");
|
|
5770
5770
|
}
|
|
5771
5771
|
}
|
|
5772
5772
|
function gs(e, t) {
|
|
5773
|
+
var r;
|
|
5773
5774
|
if (typeof e == "string") {
|
|
5774
|
-
const
|
|
5775
|
+
const s = ff(e), i = e.split("/"), l = (r = t != null ? t : i[i.length - 1]) != null ? r : "unknown";
|
|
5775
5776
|
return {
|
|
5776
5777
|
source: e,
|
|
5777
|
-
src:
|
|
5778
|
-
name: decodeURIComponent(
|
|
5779
|
-
extension: Ko(
|
|
5778
|
+
src: s,
|
|
5779
|
+
name: decodeURIComponent(l.split("?")[0].split("#")[0]),
|
|
5780
|
+
extension: Ko(l)
|
|
5780
5781
|
};
|
|
5781
5782
|
}
|
|
5782
|
-
const n = URL.createObjectURL(e), o = t
|
|
5783
|
+
const n = URL.createObjectURL(e), o = t != null ? t : "name" in e && typeof e.name == "string" ? e.name : "blob";
|
|
5783
5784
|
return {
|
|
5784
5785
|
source: e,
|
|
5785
5786
|
src: n,
|
|
@@ -5819,12 +5820,12 @@ const df = ["aria-modal"], pf = {
|
|
|
5819
5820
|
},
|
|
5820
5821
|
emits: ["update:visible", "error"],
|
|
5821
5822
|
setup(e, { emit: t }) {
|
|
5822
|
-
const n = /* @__PURE__ */ Xt(() => import("./PdfRenderer-
|
|
5823
|
+
const n = /* @__PURE__ */ Xt(() => import("./PdfRenderer-rw-3PY9w.js")), o = /* @__PURE__ */ Xt(() => import("./TextRenderer-DOzgi4YR.js")), r = /* @__PURE__ */ Xt(() => import("./DocxRenderer-D-MItvaP.js")), s = /* @__PURE__ */ Xt(() => import("./SheetRenderer-BxfF54Q3.js")), i = /* @__PURE__ */ Xt(() => import("./UnsupportedRenderer-VozD1bVb.js")), l = e, u = t, p = /* @__PURE__ */ Nt(null), f = /* @__PURE__ */ Nt(!1), a = /* @__PURE__ */ Nt(""), h = /* @__PURE__ */ Nt(gs(l.source, l.fileName)), m = Mt(() => uf(h.value.name)), O = Mt(() => l.fileName || h.value.name || l.dialogTitle), v = Mt(() => l.mode === "dialog"), j = Mt(() => v.value ? l.visible : !0), P = Mt(() => m.value === "image" ? "img" : m.value === "video" ? "video" : m.value === "audio" ? "audio" : null);
|
|
5823
5824
|
Ln(
|
|
5824
5825
|
() => [l.source, l.fileName],
|
|
5825
5826
|
() => {
|
|
5826
|
-
var F;
|
|
5827
|
-
(F = p.value) == null || F.call(p), h.value = gs(l.source, l.fileName), p.value = h.value.cleanup
|
|
5827
|
+
var F, K;
|
|
5828
|
+
(F = p.value) == null || F.call(p), h.value = gs(l.source, l.fileName), p.value = (K = h.value.cleanup) != null ? K : null, a.value = "";
|
|
5828
5829
|
},
|
|
5829
5830
|
{ immediate: !0 }
|
|
5830
5831
|
), ir(() => {
|
|
@@ -5843,7 +5844,7 @@ const df = ["aria-modal"], pf = {
|
|
|
5843
5844
|
function S(F) {
|
|
5844
5845
|
f.value = F;
|
|
5845
5846
|
}
|
|
5846
|
-
return (F,
|
|
5847
|
+
return (F, K) => (he(), bt(fc, {
|
|
5847
5848
|
to: "body",
|
|
5848
5849
|
disabled: !v.value
|
|
5849
5850
|
}, [
|
|
@@ -5873,7 +5874,7 @@ const df = ["aria-modal"], pf = {
|
|
|
5873
5874
|
"aria-label": "Download",
|
|
5874
5875
|
title: "Download",
|
|
5875
5876
|
onClick: A
|
|
5876
|
-
}, [...
|
|
5877
|
+
}, [...K[0] || (K[0] = [
|
|
5877
5878
|
ue("svg", {
|
|
5878
5879
|
viewBox: "0 0 24 24",
|
|
5879
5880
|
"aria-hidden": "true"
|
|
@@ -5888,7 +5889,7 @@ const df = ["aria-modal"], pf = {
|
|
|
5888
5889
|
"aria-label": "Close",
|
|
5889
5890
|
title: "Close",
|
|
5890
5891
|
onClick: $
|
|
5891
|
-
}, [...
|
|
5892
|
+
}, [...K[1] || (K[1] = [
|
|
5892
5893
|
ue("svg", {
|
|
5893
5894
|
viewBox: "0 0 24 24",
|
|
5894
5895
|
"aria-hidden": "true"
|
|
@@ -5902,7 +5903,7 @@ const df = ["aria-modal"], pf = {
|
|
|
5902
5903
|
ge(Au, { name: "lfp-fade" }, {
|
|
5903
5904
|
default: zs(() => [
|
|
5904
5905
|
f.value ? (he(), Ue("div", Ef, [
|
|
5905
|
-
|
|
5906
|
+
K[2] || (K[2] = ue("span", { class: "lfp-spinner" }, null, -1)),
|
|
5906
5907
|
ue("span", null, nn(e.loadingText), 1)
|
|
5907
5908
|
])) : en("", !0)
|
|
5908
5909
|
]),
|
|
@@ -5916,7 +5917,7 @@ const df = ["aria-modal"], pf = {
|
|
|
5916
5917
|
"aria-label": "Download",
|
|
5917
5918
|
title: "Download",
|
|
5918
5919
|
onClick: A
|
|
5919
|
-
}, [...
|
|
5920
|
+
}, [...K[3] || (K[3] = [
|
|
5920
5921
|
ue("svg", {
|
|
5921
5922
|
viewBox: "0 0 24 24",
|
|
5922
5923
|
"aria-hidden": "true"
|