@10yun/open-sdk 0.3.96 → 0.3.97
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/{404-7T86Vz-_.js → 404-DE7Pk-6G.js} +1 -1
- package/dist/{404-DL8QEwH-.cjs → 404-DIY1-gwa.cjs} +1 -1
- package/dist/{alone_run-CZzjYo2-.js → alone_run-B72RhBny.js} +1 -1
- package/dist/{alone_run-BwAdIqCh.cjs → alone_run-BR__Dya8.cjs} +1 -1
- package/dist/index-BcokQifq.cjs +25 -0
- package/dist/{index-RkPPXn1C.js → index-eCmAf5ru.js} +589 -574
- package/dist/{login-Djw_cyao.js → login-BCLKLSlo.js} +1 -1
- package/dist/{login-jBWicOdk.cjs → login-DbsijHDN.cjs} +1 -1
- package/dist/{none-C-tlXdgu.cjs → none-CEhsRvE2.cjs} +1 -1
- package/dist/{none-CQwv0UHB.js → none-wMSqEt4-.js} +1 -1
- package/dist/open-sdk.cjs.js +1 -1
- package/dist/open-sdk.es.js +1 -1
- package/package.json +1 -1
- package/dist/index-CbeSDAAQ.cjs +0 -25
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineStore as Be, mapState as Fe } from "pinia";
|
|
2
|
-
import { effectScope as
|
|
3
|
-
import
|
|
4
|
-
import * as
|
|
2
|
+
import { effectScope as Rs, ref as Ps, shallowRef as ks, computed as gt, watch as wn, isRef as Fs, defineComponent as Jn, getCurrentInstance as yt, h as Sa, Fragment as he, inject as Ms, onMounted as Us, onUnmounted as Bs, createVNode as w, Text as xs, resolveComponent as B, createBlock as J, openBlock as U, withCtx as R, Transition as Vs, createElementBlock as Q, normalizeClass as va, resolveDynamicComponent as Gs, createElementVNode as k, renderList as Xe, createTextVNode as te, toDisplayString as ne, createCommentVNode as ue, withDirectives as Aa, withModifiers as $s, normalizeStyle as Dn, vShow as ya, mergeProps as Ws, renderSlot as Ys } from "vue";
|
|
3
|
+
import Hs, { ElMessage as vr, ElMessageBox as Ks, ElNotification as js } from "element-plus";
|
|
4
|
+
import * as qs from "@element-plus/icons-vue";
|
|
5
5
|
import "element-plus/dist/index.css";
|
|
6
6
|
import "element-plus/theme-chalk/dark/css-vars.css";
|
|
7
|
-
import
|
|
7
|
+
import Xs from "@10yun/cv-pc-ui";
|
|
8
8
|
import "@10yun/cv-pc-ui/lib/cv-ui.css";
|
|
9
|
-
import * as
|
|
10
|
-
import
|
|
9
|
+
import * as Qs from "@10yun/cv-icons-vue";
|
|
10
|
+
import Js from "axios";
|
|
11
11
|
let Na = {};
|
|
12
|
-
function
|
|
12
|
+
function zs(e = {}) {
|
|
13
13
|
Na = e;
|
|
14
14
|
}
|
|
15
15
|
function Nt() {
|
|
@@ -20,10 +20,10 @@ function Nt() {
|
|
|
20
20
|
* (c) 2021-2022 Teng Mao Qing
|
|
21
21
|
* Released under the MIT License.
|
|
22
22
|
*/
|
|
23
|
-
var me = typeof window < "u" ? window.proxy || window : {},
|
|
23
|
+
var me = typeof window < "u" ? window.proxy || window : {}, Zs = function(e) {
|
|
24
24
|
me != null && me.__POWERED_BY_QIANKUN__ && (window.moudleQiankunAppLifeCycles || (window.moudleQiankunAppLifeCycles = {}), me.qiankunName && (window.moudleQiankunAppLifeCycles[me.qiankunName] = e));
|
|
25
25
|
};
|
|
26
|
-
function
|
|
26
|
+
function eo(e = "/", t = null, n = {}) {
|
|
27
27
|
e == "/" && (e = "/" + (window.localStorage.getItem("__syCacheMicroCurrSign__") || "base")), window.history.pushState(n, t, e);
|
|
28
28
|
}
|
|
29
29
|
var At = {};
|
|
@@ -39,7 +39,7 @@ function Ut(e) {
|
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function to(e) {
|
|
43
43
|
let t = Te();
|
|
44
44
|
e && e.onGlobalStateChange && e.onGlobalStateChange((n, r) => {
|
|
45
45
|
if (n && n.msg)
|
|
@@ -52,8 +52,8 @@ function Zs(e) {
|
|
|
52
52
|
Tt().SA_MSG_CONTENT(n.msg);
|
|
53
53
|
}, !0), At.setGlobalState = e && e.setGlobalState, At.name = e && e.name;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
56
|
-
|
|
55
|
+
function no(e, t, n) {
|
|
56
|
+
Zs({
|
|
57
57
|
/**
|
|
58
58
|
* @name 微应用初始化
|
|
59
59
|
* @param {Object} props 主应用下发的props
|
|
@@ -68,7 +68,7 @@ function eo(e, t, n) {
|
|
|
68
68
|
* @description 应用每次进入都会调用 mount 方法,通常我们在这里触发应用的渲染方法
|
|
69
69
|
*/
|
|
70
70
|
mount(r) {
|
|
71
|
-
|
|
71
|
+
to(r), t(r, !0);
|
|
72
72
|
},
|
|
73
73
|
/**
|
|
74
74
|
* @name 微应用卸载/切出
|
|
@@ -163,26 +163,26 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
163
163
|
e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
const
|
|
166
|
+
const ro = /\{([0-9a-zA-Z]+)\}/g;
|
|
167
167
|
function Xt(e, ...t) {
|
|
168
|
-
return t.length === 1 && G(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(
|
|
168
|
+
return t.length === 1 && G(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ro, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
|
|
169
169
|
}
|
|
170
|
-
const Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e),
|
|
170
|
+
const Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), ao = (e, t, n) => so({ l: e, k: t, s: n }), so = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ae = (e) => typeof e == "number" && isFinite(e), oo = (e) => zn(e) === "[object Date]", lt = (e) => zn(e) === "[object RegExp]", Qt = (e) => V(e) && Object.keys(e).length === 0, ie = Object.assign, io = Object.create, K = (e = null) => io(e);
|
|
171
171
|
let Ar;
|
|
172
172
|
const je = () => Ar || (Ar = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : K());
|
|
173
173
|
function yr(e) {
|
|
174
174
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
175
175
|
}
|
|
176
|
-
const
|
|
176
|
+
const lo = Object.prototype.hasOwnProperty;
|
|
177
177
|
function ve(e, t) {
|
|
178
|
-
return
|
|
178
|
+
return lo.call(e, t);
|
|
179
179
|
}
|
|
180
|
-
const re = Array.isArray, q = (e) => typeof e == "function", I = (e) => typeof e == "string", $ = (e) => typeof e == "boolean", G = (e) => e !== null && typeof e == "object",
|
|
180
|
+
const re = Array.isArray, q = (e) => typeof e == "function", I = (e) => typeof e == "string", $ = (e) => typeof e == "boolean", G = (e) => e !== null && typeof e == "object", co = (e) => G(e) && q(e.then) && q(e.catch), Ta = Object.prototype.toString, zn = (e) => Ta.call(e), V = (e) => zn(e) === "[object Object]", uo = (e) => e == null ? "" : re(e) || V(e) && e.toString === Ta ? JSON.stringify(e, null, 2) : String(e);
|
|
181
181
|
function Zn(e, t = "") {
|
|
182
182
|
return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
|
|
183
183
|
}
|
|
184
184
|
const Nr = 2;
|
|
185
|
-
function
|
|
185
|
+
function fo(e, t = 0, n = e.length) {
|
|
186
186
|
const r = e.split(/\r?\n/);
|
|
187
187
|
let a = 0;
|
|
188
188
|
const s = [];
|
|
@@ -210,7 +210,7 @@ function co(e, t = 0, n = e.length) {
|
|
|
210
210
|
return s.join(`
|
|
211
211
|
`);
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function _o(e, t) {
|
|
214
214
|
}
|
|
215
215
|
const Tr = {};
|
|
216
216
|
function er(e) {
|
|
@@ -250,7 +250,7 @@ function Wt(e, t) {
|
|
|
250
250
|
* (c) 2025 kazuya kawaguchi
|
|
251
251
|
* Released under the MIT License.
|
|
252
252
|
*/
|
|
253
|
-
function
|
|
253
|
+
function mo(e, t, n) {
|
|
254
254
|
return { line: e, column: t, offset: n };
|
|
255
255
|
}
|
|
256
256
|
function Rn(e, t, n) {
|
|
@@ -277,7 +277,7 @@ const M = {
|
|
|
277
277
|
UNHANDLED_CODEGEN_NODE_TYPE: 15,
|
|
278
278
|
// minifier error codes
|
|
279
279
|
UNHANDLED_MINIFIER_NODE_TYPE: 16
|
|
280
|
-
},
|
|
280
|
+
}, ho = 17, go = {
|
|
281
281
|
// tokenizer error messages
|
|
282
282
|
[M.EXPECTED_TOKEN]: "Expected token: '{0}'",
|
|
283
283
|
[M.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
|
|
@@ -300,18 +300,18 @@ const M = {
|
|
|
300
300
|
[M.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
|
|
301
301
|
};
|
|
302
302
|
function ft(e, t, n = {}) {
|
|
303
|
-
const { domain: r, messages: a, args: s } = n, o = process.env.NODE_ENV !== "production" ? Xt((a ||
|
|
303
|
+
const { domain: r, messages: a, args: s } = n, o = process.env.NODE_ENV !== "production" ? Xt((a || go)[e] || "", ...s || []) : e, i = new SyntaxError(String(o));
|
|
304
304
|
return i.code = e, t && (i.location = t), i.domain = r, i;
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function po(e) {
|
|
307
307
|
throw e;
|
|
308
308
|
}
|
|
309
|
-
const
|
|
310
|
-
`,
|
|
311
|
-
function
|
|
309
|
+
const Eo = /<\/?[\w\s="/.':;#-\/]+>/, bo = (e) => Eo.test(e), Ce = " ", So = "\r", ce = `
|
|
310
|
+
`, vo = "\u2028", Ao = "\u2029";
|
|
311
|
+
function yo(e) {
|
|
312
312
|
const t = e;
|
|
313
313
|
let n = 0, r = 1, a = 1, s = 0;
|
|
314
|
-
const o = (v) => t[v] ===
|
|
314
|
+
const o = (v) => t[v] === So && t[v + 1] === ce, i = (v) => t[v] === ce, l = (v) => t[v] === Ao, c = (v) => t[v] === vo, f = (v) => o(v) || i(v) || l(v) || c(v), u = () => n, m = () => r, p = () => a, A = () => s, E = (v) => o(v) || l(v) || c(v) ? ce : t[v], C = () => E(n), h = () => E(n + s);
|
|
315
315
|
function g() {
|
|
316
316
|
return s = 0, f(n) && (r++, a = 0), o(n) && n++, n++, a++, t[n];
|
|
317
317
|
}
|
|
@@ -345,9 +345,9 @@ function vo(e) {
|
|
|
345
345
|
skipToPeek: L
|
|
346
346
|
};
|
|
347
347
|
}
|
|
348
|
-
const Pe = void 0,
|
|
349
|
-
function
|
|
350
|
-
const n = t.location !== !1, r =
|
|
348
|
+
const Pe = void 0, No = ".", Or = "'", To = "tokenizer";
|
|
349
|
+
function Oo(e, t = {}) {
|
|
350
|
+
const n = t.location !== !1, r = yo(e), a = () => r.index(), s = () => mo(r.line(), r.column(), r.index()), o = s(), i = a(), l = {
|
|
351
351
|
currentType: 13,
|
|
352
352
|
offset: i,
|
|
353
353
|
startLoc: o,
|
|
@@ -364,7 +364,7 @@ function No(e, t = {}) {
|
|
|
364
364
|
const z = c();
|
|
365
365
|
if (d.column += y, d.offset += y, f) {
|
|
366
366
|
const Z = n ? Rn(z.startLoc, d) : null, W = ft(_, Z, {
|
|
367
|
-
domain:
|
|
367
|
+
domain: To,
|
|
368
368
|
args: P
|
|
369
369
|
});
|
|
370
370
|
f(W);
|
|
@@ -741,8 +741,8 @@ function No(e, t = {}) {
|
|
|
741
741
|
context: c
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
|
-
const
|
|
745
|
-
function
|
|
744
|
+
const Io = "parser", Co = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
745
|
+
function Lo(e, t, n) {
|
|
746
746
|
switch (e) {
|
|
747
747
|
case "\\\\":
|
|
748
748
|
return "\\";
|
|
@@ -755,13 +755,13 @@ function Io(e, t, n) {
|
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function wo(e = {}) {
|
|
759
759
|
const t = e.location !== !1, { onError: n } = e;
|
|
760
760
|
function r(h, g, N, S, ...O) {
|
|
761
761
|
const L = h.currentPosition();
|
|
762
762
|
if (L.offset += S, L.column += S, n) {
|
|
763
763
|
const v = t ? Rn(N, L) : null, x = ft(g, v, {
|
|
764
|
-
domain:
|
|
764
|
+
domain: Io,
|
|
765
765
|
args: O
|
|
766
766
|
});
|
|
767
767
|
n(x);
|
|
@@ -788,7 +788,7 @@ function Co(e = {}) {
|
|
|
788
788
|
}
|
|
789
789
|
function c(h, g) {
|
|
790
790
|
const N = h.context(), { lastOffset: S, lastStartLoc: O } = N, L = a(9, S, O);
|
|
791
|
-
return L.value = g.replace(
|
|
791
|
+
return L.value = g.replace(Co, Lo), h.nextToken(), s(L, h.currentOffset(), h.currentPosition()), L;
|
|
792
792
|
}
|
|
793
793
|
function f(h) {
|
|
794
794
|
const g = h.nextToken(), N = h.context(), { lastOffset: S, lastStartLoc: O } = N, L = a(8, S, O);
|
|
@@ -881,7 +881,7 @@ function Co(e = {}) {
|
|
|
881
881
|
return g.currentType === 13 ? O : A(h, N, S, O);
|
|
882
882
|
}
|
|
883
883
|
function C(h) {
|
|
884
|
-
const g =
|
|
884
|
+
const g = Oo(h, ie({}, e)), N = g.context(), S = a(0, N.offset, N.startLoc);
|
|
885
885
|
return t && S.loc && (S.loc.source = h), S.body = E(g), e.onCacheKey && (S.cacheKey = e.onCacheKey(h)), N.currentType !== 13 && r(g, M.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, h[N.offset] || ""), s(S, g.currentOffset(), g.currentPosition()), S;
|
|
886
886
|
}
|
|
887
887
|
return { parse: C };
|
|
@@ -892,7 +892,7 @@ function ye(e) {
|
|
|
892
892
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
893
893
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
894
894
|
}
|
|
895
|
-
function
|
|
895
|
+
function Do(e, t = {}) {
|
|
896
896
|
const n = {
|
|
897
897
|
ast: e,
|
|
898
898
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -944,8 +944,8 @@ function nr(e, t) {
|
|
|
944
944
|
break;
|
|
945
945
|
}
|
|
946
946
|
}
|
|
947
|
-
function
|
|
948
|
-
const n =
|
|
947
|
+
function Ro(e, t = {}) {
|
|
948
|
+
const n = Do(e);
|
|
949
949
|
n.helper(
|
|
950
950
|
"normalize"
|
|
951
951
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -953,7 +953,7 @@ function wo(e, t = {}) {
|
|
|
953
953
|
const r = n.context();
|
|
954
954
|
e.helpers = Array.from(r.helpers);
|
|
955
955
|
}
|
|
956
|
-
function
|
|
956
|
+
function Po(e) {
|
|
957
957
|
const t = e.body;
|
|
958
958
|
return t.type === 2 ? Cr(t) : t.cases.forEach((n) => Cr(n)), e;
|
|
959
959
|
}
|
|
@@ -978,7 +978,7 @@ function Cr(e) {
|
|
|
978
978
|
}
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
|
-
const
|
|
981
|
+
const ko = "minifier";
|
|
982
982
|
function st(e) {
|
|
983
983
|
switch (e.t = e.type, e.type) {
|
|
984
984
|
case 0: {
|
|
@@ -1026,14 +1026,14 @@ function st(e) {
|
|
|
1026
1026
|
default:
|
|
1027
1027
|
if (process.env.NODE_ENV !== "production")
|
|
1028
1028
|
throw ft(M.UNHANDLED_MINIFIER_NODE_TYPE, null, {
|
|
1029
|
-
domain:
|
|
1029
|
+
domain: ko,
|
|
1030
1030
|
args: [e.type]
|
|
1031
1031
|
});
|
|
1032
1032
|
}
|
|
1033
1033
|
delete e.type;
|
|
1034
1034
|
}
|
|
1035
|
-
const
|
|
1036
|
-
function
|
|
1035
|
+
const Fo = "parser";
|
|
1036
|
+
function Mo(e, t) {
|
|
1037
1037
|
const { filename: n, breakLineCode: r, needIndent: a } = t, s = t.location !== !1, o = {
|
|
1038
1038
|
filename: n,
|
|
1039
1039
|
code: "",
|
|
@@ -1075,14 +1075,14 @@ function ko(e, t) {
|
|
|
1075
1075
|
needIndent: () => o.needIndent
|
|
1076
1076
|
};
|
|
1077
1077
|
}
|
|
1078
|
-
function
|
|
1078
|
+
function Uo(e, t) {
|
|
1079
1079
|
const { helper: n } = e;
|
|
1080
1080
|
e.push(`${n(
|
|
1081
1081
|
"linked"
|
|
1082
1082
|
/* HelperNameMap.LINKED */
|
|
1083
1083
|
)}(`), ct(e, t.key), t.modifier ? (e.push(", "), ct(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
1084
1084
|
}
|
|
1085
|
-
function
|
|
1085
|
+
function Bo(e, t) {
|
|
1086
1086
|
const { helper: n, needIndent: r } = e;
|
|
1087
1087
|
e.push(`${n(
|
|
1088
1088
|
"normalize"
|
|
@@ -1093,7 +1093,7 @@ function Mo(e, t) {
|
|
|
1093
1093
|
e.push(", ");
|
|
1094
1094
|
e.deindent(r()), e.push("])");
|
|
1095
1095
|
}
|
|
1096
|
-
function
|
|
1096
|
+
function xo(e, t) {
|
|
1097
1097
|
const { helper: n, needIndent: r } = e;
|
|
1098
1098
|
if (t.cases.length > 1) {
|
|
1099
1099
|
e.push(`${n(
|
|
@@ -1106,23 +1106,23 @@ function Uo(e, t) {
|
|
|
1106
1106
|
e.deindent(r()), e.push("])");
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1109
|
+
function Vo(e, t) {
|
|
1110
1110
|
t.body ? ct(e, t.body) : e.push("null");
|
|
1111
1111
|
}
|
|
1112
1112
|
function ct(e, t) {
|
|
1113
1113
|
const { helper: n } = e;
|
|
1114
1114
|
switch (t.type) {
|
|
1115
1115
|
case 0:
|
|
1116
|
-
|
|
1116
|
+
Vo(e, t);
|
|
1117
1117
|
break;
|
|
1118
1118
|
case 1:
|
|
1119
|
-
|
|
1119
|
+
xo(e, t);
|
|
1120
1120
|
break;
|
|
1121
1121
|
case 2:
|
|
1122
|
-
|
|
1122
|
+
Bo(e, t);
|
|
1123
1123
|
break;
|
|
1124
1124
|
case 6:
|
|
1125
|
-
|
|
1125
|
+
Uo(e, t);
|
|
1126
1126
|
break;
|
|
1127
1127
|
case 8:
|
|
1128
1128
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -1157,16 +1157,16 @@ function ct(e, t) {
|
|
|
1157
1157
|
default:
|
|
1158
1158
|
if (process.env.NODE_ENV !== "production")
|
|
1159
1159
|
throw ft(M.UNHANDLED_CODEGEN_NODE_TYPE, null, {
|
|
1160
|
-
domain:
|
|
1160
|
+
domain: Fo,
|
|
1161
1161
|
args: [t.type]
|
|
1162
1162
|
});
|
|
1163
1163
|
}
|
|
1164
1164
|
}
|
|
1165
|
-
const
|
|
1165
|
+
const Go = (e, t = {}) => {
|
|
1166
1166
|
const n = I(t.mode) ? t.mode : "normal", r = I(t.filename) ? t.filename : "message.intl";
|
|
1167
1167
|
t.sourceMap;
|
|
1168
1168
|
const a = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
1169
|
-
`, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i =
|
|
1169
|
+
`, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = Mo(e, {
|
|
1170
1170
|
filename: r,
|
|
1171
1171
|
breakLineCode: a,
|
|
1172
1172
|
needIndent: s
|
|
@@ -1180,35 +1180,35 @@ const xo = (e, t = {}) => {
|
|
|
1180
1180
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1181
1181
|
};
|
|
1182
1182
|
};
|
|
1183
|
-
function
|
|
1184
|
-
const n = ie({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, i =
|
|
1185
|
-
return r ? (s &&
|
|
1183
|
+
function $o(e, t = {}) {
|
|
1184
|
+
const n = ie({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, i = wo(n).parse(e);
|
|
1185
|
+
return r ? (s && Po(i), a && st(i), { ast: i, code: "" }) : (Ro(i, n), Go(i, n));
|
|
1186
1186
|
}
|
|
1187
1187
|
/*!
|
|
1188
1188
|
* core-base v11.1.3
|
|
1189
1189
|
* (c) 2025 kazuya kawaguchi
|
|
1190
1190
|
* Released under the MIT License.
|
|
1191
1191
|
*/
|
|
1192
|
-
function
|
|
1192
|
+
function Wo() {
|
|
1193
1193
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
1194
1194
|
}
|
|
1195
1195
|
function Ee(e) {
|
|
1196
1196
|
return G(e) && rr(e) === 0 && (ve(e, "b") || ve(e, "body"));
|
|
1197
1197
|
}
|
|
1198
1198
|
const Oa = ["b", "body"];
|
|
1199
|
-
function
|
|
1199
|
+
function Yo(e) {
|
|
1200
1200
|
return xe(e, Oa);
|
|
1201
1201
|
}
|
|
1202
1202
|
const Ia = ["c", "cases"];
|
|
1203
|
-
function
|
|
1203
|
+
function Ho(e) {
|
|
1204
1204
|
return xe(e, Ia, []);
|
|
1205
1205
|
}
|
|
1206
1206
|
const Ca = ["s", "static"];
|
|
1207
|
-
function
|
|
1207
|
+
function Ko(e) {
|
|
1208
1208
|
return xe(e, Ca);
|
|
1209
1209
|
}
|
|
1210
1210
|
const La = ["i", "items"];
|
|
1211
|
-
function
|
|
1211
|
+
function jo(e) {
|
|
1212
1212
|
return xe(e, La, []);
|
|
1213
1213
|
}
|
|
1214
1214
|
const wa = ["t", "type"];
|
|
@@ -1223,11 +1223,11 @@ function xt(e, t) {
|
|
|
1223
1223
|
throw Ot(t);
|
|
1224
1224
|
}
|
|
1225
1225
|
const Ra = ["m", "modifier"];
|
|
1226
|
-
function
|
|
1226
|
+
function qo(e) {
|
|
1227
1227
|
return xe(e, Ra);
|
|
1228
1228
|
}
|
|
1229
1229
|
const Pa = ["k", "key"];
|
|
1230
|
-
function
|
|
1230
|
+
function Xo(e) {
|
|
1231
1231
|
const t = xe(e, Pa);
|
|
1232
1232
|
if (t)
|
|
1233
1233
|
return t;
|
|
@@ -1258,17 +1258,17 @@ function Ot(e) {
|
|
|
1258
1258
|
return new Error(`unhandled node type: ${e}`);
|
|
1259
1259
|
}
|
|
1260
1260
|
function Sn(e) {
|
|
1261
|
-
return (n) =>
|
|
1261
|
+
return (n) => Qo(n, e);
|
|
1262
1262
|
}
|
|
1263
|
-
function
|
|
1264
|
-
const n =
|
|
1263
|
+
function Qo(e, t) {
|
|
1264
|
+
const n = Yo(t);
|
|
1265
1265
|
if (n == null)
|
|
1266
1266
|
throw Ot(
|
|
1267
1267
|
0
|
|
1268
1268
|
/* NodeTypes.Resource */
|
|
1269
1269
|
);
|
|
1270
1270
|
if (rr(n) === 1) {
|
|
1271
|
-
const s =
|
|
1271
|
+
const s = Ho(n);
|
|
1272
1272
|
return e.plural(s.reduce((o, i) => [
|
|
1273
1273
|
...o,
|
|
1274
1274
|
Lr(e, i)
|
|
@@ -1277,11 +1277,11 @@ function qo(e, t) {
|
|
|
1277
1277
|
return Lr(e, n);
|
|
1278
1278
|
}
|
|
1279
1279
|
function Lr(e, t) {
|
|
1280
|
-
const n =
|
|
1280
|
+
const n = Ko(t);
|
|
1281
1281
|
if (n != null)
|
|
1282
1282
|
return e.type === "text" ? n : e.normalize([n]);
|
|
1283
1283
|
{
|
|
1284
|
-
const r =
|
|
1284
|
+
const r = jo(t).reduce((a, s) => [...a, Pn(e, s)], []);
|
|
1285
1285
|
return e.normalize(r);
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
@@ -1309,7 +1309,7 @@ function Pn(e, t) {
|
|
|
1309
1309
|
throw Ot(n);
|
|
1310
1310
|
}
|
|
1311
1311
|
case 6: {
|
|
1312
|
-
const r = t, a =
|
|
1312
|
+
const r = t, a = qo(r), s = Xo(r);
|
|
1313
1313
|
return e.linked(Pn(e, s), a ? Pn(e, a) : void 0, e.type);
|
|
1314
1314
|
}
|
|
1315
1315
|
case 7:
|
|
@@ -1320,28 +1320,28 @@ function Pn(e, t) {
|
|
|
1320
1320
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1321
1321
|
}
|
|
1322
1322
|
}
|
|
1323
|
-
const
|
|
1324
|
-
function
|
|
1325
|
-
t &&
|
|
1323
|
+
const Jo = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
1324
|
+
function zo(e, t) {
|
|
1325
|
+
t && bo(e) && (Xt(Jo, { source: e }), void 0);
|
|
1326
1326
|
}
|
|
1327
|
-
const
|
|
1327
|
+
const Zo = (e) => e;
|
|
1328
1328
|
let Vt = K();
|
|
1329
|
-
function
|
|
1329
|
+
function ei(e, t = {}) {
|
|
1330
1330
|
let n = !1;
|
|
1331
|
-
const r = t.onError ||
|
|
1331
|
+
const r = t.onError || po;
|
|
1332
1332
|
return t.onError = (a) => {
|
|
1333
1333
|
n = !0, r(a);
|
|
1334
|
-
}, {
|
|
1334
|
+
}, { ...$o(e, t), detectError: n };
|
|
1335
1335
|
}
|
|
1336
1336
|
// @__NO_SIDE_EFFECTS__
|
|
1337
|
-
function
|
|
1337
|
+
function ti(e, t) {
|
|
1338
1338
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
|
|
1339
1339
|
const n = $(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
|
|
1340
|
-
process.env.NODE_ENV !== "production" &&
|
|
1341
|
-
const a = (t.onCacheKey ||
|
|
1340
|
+
process.env.NODE_ENV !== "production" && zo(e, n);
|
|
1341
|
+
const a = (t.onCacheKey || Zo)(e), s = Vt[a];
|
|
1342
1342
|
if (s)
|
|
1343
1343
|
return s;
|
|
1344
|
-
const { ast: o, detectError: i } =
|
|
1344
|
+
const { ast: o, detectError: i } = ei(e, {
|
|
1345
1345
|
...t,
|
|
1346
1346
|
location: process.env.NODE_ENV !== "production",
|
|
1347
1347
|
jit: !0
|
|
@@ -1359,10 +1359,10 @@ function Zo(e, t) {
|
|
|
1359
1359
|
}
|
|
1360
1360
|
}
|
|
1361
1361
|
let It = null;
|
|
1362
|
-
function
|
|
1362
|
+
function ni(e) {
|
|
1363
1363
|
It = e;
|
|
1364
1364
|
}
|
|
1365
|
-
function
|
|
1365
|
+
function ri(e, t, n) {
|
|
1366
1366
|
It && It.emit("i18n:init", {
|
|
1367
1367
|
timestamp: Date.now(),
|
|
1368
1368
|
i18n: e,
|
|
@@ -1370,12 +1370,12 @@ function ti(e, t, n) {
|
|
|
1370
1370
|
meta: n
|
|
1371
1371
|
});
|
|
1372
1372
|
}
|
|
1373
|
-
const
|
|
1374
|
-
function
|
|
1373
|
+
const ai = /* @__PURE__ */ si("function:translate");
|
|
1374
|
+
function si(e) {
|
|
1375
1375
|
return (t) => It && It.emit(e, t);
|
|
1376
1376
|
}
|
|
1377
1377
|
const le = {
|
|
1378
|
-
INVALID_ARGUMENT:
|
|
1378
|
+
INVALID_ARGUMENT: ho,
|
|
1379
1379
|
// 17
|
|
1380
1380
|
INVALID_DATE_ARGUMENT: 18,
|
|
1381
1381
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1383,11 +1383,11 @@ const le = {
|
|
|
1383
1383
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1384
1384
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1385
1385
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1386
|
-
},
|
|
1386
|
+
}, oi = 24;
|
|
1387
1387
|
function Le(e) {
|
|
1388
|
-
return ft(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
1388
|
+
return ft(e, null, process.env.NODE_ENV !== "production" ? { messages: ii } : void 0);
|
|
1389
1389
|
}
|
|
1390
|
-
const
|
|
1390
|
+
const ii = {
|
|
1391
1391
|
[le.INVALID_ARGUMENT]: "Invalid arguments",
|
|
1392
1392
|
[le.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
|
|
1393
1393
|
[le.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
|
|
@@ -1408,7 +1408,7 @@ function wr(e) {
|
|
|
1408
1408
|
return vn;
|
|
1409
1409
|
if (e.constructor.name === "Function") {
|
|
1410
1410
|
const t = e();
|
|
1411
|
-
if (
|
|
1411
|
+
if (co(t))
|
|
1412
1412
|
throw Le(le.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1413
1413
|
return vn = t;
|
|
1414
1414
|
} else
|
|
@@ -1416,7 +1416,7 @@ function wr(e) {
|
|
|
1416
1416
|
} else
|
|
1417
1417
|
throw Le(le.NOT_SUPPORT_LOCALE_TYPE);
|
|
1418
1418
|
}
|
|
1419
|
-
function
|
|
1419
|
+
function li(e, t, n) {
|
|
1420
1420
|
return [.../* @__PURE__ */ new Set([
|
|
1421
1421
|
n,
|
|
1422
1422
|
...re(t) ? t : G(t) ? Object.keys(t) : I(t) ? [t] : [n]
|
|
@@ -1440,20 +1440,20 @@ function Dr(e, t, n) {
|
|
|
1440
1440
|
let r = !0;
|
|
1441
1441
|
for (let a = 0; a < t.length && $(r); a++) {
|
|
1442
1442
|
const s = t[a];
|
|
1443
|
-
I(s) && (r =
|
|
1443
|
+
I(s) && (r = ci(e, t[a], n));
|
|
1444
1444
|
}
|
|
1445
1445
|
return r;
|
|
1446
1446
|
}
|
|
1447
|
-
function
|
|
1447
|
+
function ci(e, t, n) {
|
|
1448
1448
|
let r;
|
|
1449
1449
|
const a = t.split("-");
|
|
1450
1450
|
do {
|
|
1451
1451
|
const s = a.join("-");
|
|
1452
|
-
r =
|
|
1452
|
+
r = ui(e, s, n), a.splice(-1, 1);
|
|
1453
1453
|
} while (a.length && r === !0);
|
|
1454
1454
|
return r;
|
|
1455
1455
|
}
|
|
1456
|
-
function
|
|
1456
|
+
function ui(e, t, n) {
|
|
1457
1457
|
let r = !1;
|
|
1458
1458
|
if (!e.includes(t) && (r = !0, t)) {
|
|
1459
1459
|
r = t[t.length - 1] !== "!";
|
|
@@ -1623,15 +1623,15 @@ Ve[
|
|
|
1623
1623
|
/* Actions.APPEND */
|
|
1624
1624
|
]
|
|
1625
1625
|
};
|
|
1626
|
-
const
|
|
1627
|
-
function
|
|
1628
|
-
return
|
|
1626
|
+
const fi = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1627
|
+
function _i(e) {
|
|
1628
|
+
return fi.test(e);
|
|
1629
1629
|
}
|
|
1630
|
-
function
|
|
1630
|
+
function di(e) {
|
|
1631
1631
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1632
1632
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1634
|
+
function mi(e) {
|
|
1635
1635
|
if (e == null)
|
|
1636
1636
|
return "o";
|
|
1637
1637
|
switch (e.charCodeAt(0)) {
|
|
@@ -1668,11 +1668,11 @@ function _i(e) {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
return "i";
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function hi(e) {
|
|
1672
1672
|
const t = e.trim();
|
|
1673
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1673
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : _i(t) ? di(t) : "*" + t;
|
|
1674
1674
|
}
|
|
1675
|
-
function
|
|
1675
|
+
function gi(e) {
|
|
1676
1676
|
const t = [];
|
|
1677
1677
|
let n = -1, r = 0, a = 0, s, o, i, l, c, f, u;
|
|
1678
1678
|
const m = [];
|
|
@@ -1704,7 +1704,7 @@ function mi(e) {
|
|
|
1704
1704
|
/* Actions.APPEND */
|
|
1705
1705
|
]();
|
|
1706
1706
|
else {
|
|
1707
|
-
if (a = 0, o === void 0 || (o =
|
|
1707
|
+
if (a = 0, o === void 0 || (o = hi(o), o === !1))
|
|
1708
1708
|
return !1;
|
|
1709
1709
|
m[
|
|
1710
1710
|
1
|
|
@@ -1722,21 +1722,21 @@ function mi(e) {
|
|
|
1722
1722
|
}
|
|
1723
1723
|
for (; r !== null; )
|
|
1724
1724
|
if (n++, s = e[n], !(s === "\\" && p())) {
|
|
1725
|
-
if (l =
|
|
1725
|
+
if (l = mi(s), u = Ve[r], c = u[l] || u.l || 8, c === 8 || (r = c[0], c[1] !== void 0 && (f = m[c[1]], f && (i = s, f() === !1))))
|
|
1726
1726
|
return;
|
|
1727
1727
|
if (r === 7)
|
|
1728
1728
|
return t;
|
|
1729
1729
|
}
|
|
1730
1730
|
}
|
|
1731
1731
|
const Rr = /* @__PURE__ */ new Map();
|
|
1732
|
-
function
|
|
1732
|
+
function pi(e, t) {
|
|
1733
1733
|
return G(e) ? e[t] : null;
|
|
1734
1734
|
}
|
|
1735
|
-
function
|
|
1735
|
+
function Ei(e, t) {
|
|
1736
1736
|
if (!G(e))
|
|
1737
1737
|
return null;
|
|
1738
1738
|
let n = Rr.get(t);
|
|
1739
|
-
if (n || (n =
|
|
1739
|
+
if (n || (n = gi(t), n && Rr.set(t, n)), !n)
|
|
1740
1740
|
return null;
|
|
1741
1741
|
const r = n.length;
|
|
1742
1742
|
let a = e, s = 0;
|
|
@@ -1759,7 +1759,7 @@ const _e = {
|
|
|
1759
1759
|
CANNOT_FORMAT_DATE: 5,
|
|
1760
1760
|
FALLBACK_TO_DATE_FORMAT: 6,
|
|
1761
1761
|
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
|
|
1762
|
-
},
|
|
1762
|
+
}, bi = 8, Si = {
|
|
1763
1763
|
[_e.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
1764
1764
|
[_e.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
1765
1765
|
[_e.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
@@ -1769,10 +1769,10 @@ const _e = {
|
|
|
1769
1769
|
[_e.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
|
|
1770
1770
|
};
|
|
1771
1771
|
function Je(e, ...t) {
|
|
1772
|
-
return Xt(
|
|
1772
|
+
return Xt(Si[e], ...t);
|
|
1773
1773
|
}
|
|
1774
|
-
const
|
|
1775
|
-
function
|
|
1774
|
+
const vi = "11.1.3", Jt = -1, Ct = "en-US", Ht = "", Pr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1775
|
+
function Ai() {
|
|
1776
1776
|
return {
|
|
1777
1777
|
upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && G(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1778
1778
|
lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && G(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -1780,30 +1780,30 @@ function Si() {
|
|
|
1780
1780
|
};
|
|
1781
1781
|
}
|
|
1782
1782
|
let Ma;
|
|
1783
|
-
function
|
|
1783
|
+
function yi(e) {
|
|
1784
1784
|
Ma = e;
|
|
1785
1785
|
}
|
|
1786
1786
|
let Ua;
|
|
1787
|
-
function
|
|
1787
|
+
function Ni(e) {
|
|
1788
1788
|
Ua = e;
|
|
1789
1789
|
}
|
|
1790
1790
|
let Ba;
|
|
1791
|
-
function
|
|
1791
|
+
function Ti(e) {
|
|
1792
1792
|
Ba = e;
|
|
1793
1793
|
}
|
|
1794
1794
|
let xa = null;
|
|
1795
|
-
const
|
|
1795
|
+
const Oi = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1796
1796
|
xa = e;
|
|
1797
|
-
},
|
|
1797
|
+
}, Ii = /* @__NO_SIDE_EFFECTS__ */ () => xa;
|
|
1798
1798
|
let Va = null;
|
|
1799
1799
|
const kr = (e) => {
|
|
1800
1800
|
Va = e;
|
|
1801
|
-
},
|
|
1801
|
+
}, Ci = () => Va;
|
|
1802
1802
|
let Fr = 0;
|
|
1803
|
-
function
|
|
1804
|
-
const t = q(e.onWarn) ? e.onWarn :
|
|
1803
|
+
function Li(e = {}) {
|
|
1804
|
+
const t = q(e.onWarn) ? e.onWarn : _o, n = I(e.version) ? e.version : vi, r = I(e.locale) || q(e.locale) ? e.locale : Ct, a = q(r) ? Ct : r, s = re(e.fallbackLocale) || V(e.fallbackLocale) || I(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, o = V(e.messages) ? e.messages : An(a), i = V(e.datetimeFormats) ? e.datetimeFormats : An(a), l = V(e.numberFormats) ? e.numberFormats : An(a), c = ie(K(), e.modifiers, Ai()), f = e.pluralRules || K(), u = q(e.missing) ? e.missing : null, m = $(e.missingWarn) || lt(e.missingWarn) ? e.missingWarn : !0, p = $(e.fallbackWarn) || lt(e.fallbackWarn) ? e.fallbackWarn : !0, A = !!e.fallbackFormat, E = !!e.unresolving, C = q(e.postTranslation) ? e.postTranslation : null, h = V(e.processor) ? e.processor : null, g = $(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, S = q(e.messageCompiler) ? e.messageCompiler : Ma;
|
|
1805
1805
|
process.env.NODE_ENV !== "production" && q(e.messageCompiler) && er(Je(_e.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
1806
|
-
const O = q(e.messageResolver) ? e.messageResolver : Ua ||
|
|
1806
|
+
const O = q(e.messageResolver) ? e.messageResolver : Ua || pi, L = q(e.localeFallbacker) ? e.localeFallbacker : Ba || li, v = G(e.fallbackContext) ? e.fallbackContext : void 0, x = e, Y = G(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), se = G(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), Se = G(x.__meta) ? x.__meta : {};
|
|
1807
1807
|
Fr++;
|
|
1808
1808
|
const oe = {
|
|
1809
1809
|
version: n,
|
|
@@ -1829,7 +1829,7 @@ function Ii(e = {}) {
|
|
|
1829
1829
|
onWarn: t,
|
|
1830
1830
|
__meta: Se
|
|
1831
1831
|
};
|
|
1832
|
-
return oe.datetimeFormats = i, oe.numberFormats = l, oe.__datetimeFormatters = Y, oe.__numberFormatters = se, process.env.NODE_ENV !== "production" && (oe.__v_emitter = x.__v_emitter != null ? x.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) &&
|
|
1832
|
+
return oe.datetimeFormats = i, oe.numberFormats = l, oe.__datetimeFormatters = Y, oe.__numberFormatters = se, process.env.NODE_ENV !== "production" && (oe.__v_emitter = x.__v_emitter != null ? x.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && ri(oe, n, Se), oe;
|
|
1833
1833
|
}
|
|
1834
1834
|
const An = (e) => ({ [e]: K() });
|
|
1835
1835
|
function zt(e, t) {
|
|
@@ -1862,7 +1862,7 @@ function pt(e, t, n) {
|
|
|
1862
1862
|
function $a(e, t) {
|
|
1863
1863
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1865
|
+
function wi(e, t) {
|
|
1866
1866
|
const n = t.indexOf(e);
|
|
1867
1867
|
if (n === -1)
|
|
1868
1868
|
return !1;
|
|
@@ -1950,7 +1950,7 @@ function kn(...e) {
|
|
|
1950
1950
|
} catch {
|
|
1951
1951
|
throw Le(le.INVALID_ISO_DATE_ARGUMENT);
|
|
1952
1952
|
}
|
|
1953
|
-
} else if (
|
|
1953
|
+
} else if (oo(t)) {
|
|
1954
1954
|
if (isNaN(t.getTime()))
|
|
1955
1955
|
throw Le(le.INVALID_DATE_ARGUMENT);
|
|
1956
1956
|
i = t;
|
|
@@ -2047,26 +2047,26 @@ function Vr(e, t, n) {
|
|
|
2047
2047
|
r.__numberFormatters.has(s) && r.__numberFormatters.delete(s);
|
|
2048
2048
|
}
|
|
2049
2049
|
}
|
|
2050
|
-
const
|
|
2050
|
+
const Di = (e) => e, Ri = (e) => "", Pi = "text", ki = (e) => e.length === 0 ? "" : Zn(e), Fi = uo;
|
|
2051
2051
|
function Gr(e, t) {
|
|
2052
2052
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
2053
2053
|
}
|
|
2054
|
-
function
|
|
2054
|
+
function Mi(e) {
|
|
2055
2055
|
const t = ae(e.pluralIndex) ? e.pluralIndex : -1;
|
|
2056
2056
|
return e.named && (ae(e.named.count) || ae(e.named.n)) ? ae(e.named.count) ? e.named.count : ae(e.named.n) ? e.named.n : t : t;
|
|
2057
2057
|
}
|
|
2058
|
-
function
|
|
2058
|
+
function Ui(e, t) {
|
|
2059
2059
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
2060
2060
|
}
|
|
2061
|
-
function
|
|
2062
|
-
const t = e.locale, n =
|
|
2063
|
-
ae(e.pluralIndex) &&
|
|
2061
|
+
function Bi(e = {}) {
|
|
2062
|
+
const t = e.locale, n = Mi(e), r = G(e.pluralRules) && I(t) && q(e.pluralRules[t]) ? e.pluralRules[t] : Gr, a = G(e.pluralRules) && I(t) && q(e.pluralRules[t]) ? Gr : void 0, s = (h) => h[r(n, h.length, a)], o = e.list || [], i = (h) => o[h], l = e.named || K();
|
|
2063
|
+
ae(e.pluralIndex) && Ui(n, l);
|
|
2064
2064
|
const c = (h) => l[h];
|
|
2065
2065
|
function f(h, g) {
|
|
2066
2066
|
const N = q(e.messages) ? e.messages(h, !!g) : G(e.messages) ? e.messages[h] : !1;
|
|
2067
|
-
return N || (e.parent ? e.parent.message(h) :
|
|
2067
|
+
return N || (e.parent ? e.parent.message(h) : Ri);
|
|
2068
2068
|
}
|
|
2069
|
-
const u = (h) => e.modifiers ? e.modifiers[h] :
|
|
2069
|
+
const u = (h) => e.modifiers ? e.modifiers[h] : Di, m = V(e.processor) && q(e.processor.normalize) ? e.processor.normalize : ki, p = V(e.processor) && q(e.processor.interpolate) ? e.processor.interpolate : Fi, A = V(e.processor) && I(e.processor.type) ? e.processor.type : Pi, C = {
|
|
2070
2070
|
list: i,
|
|
2071
2071
|
named: c,
|
|
2072
2072
|
plural: s,
|
|
@@ -2091,7 +2091,7 @@ function Mi(e = {}) {
|
|
|
2091
2091
|
const $r = () => "", pe = (e) => q(e);
|
|
2092
2092
|
function Wr(e, ...t) {
|
|
2093
2093
|
const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: s, fallbackLocale: o, messages: i } = e, [l, c] = Mn(...t), f = $(c.missingWarn) ? c.missingWarn : e.missingWarn, u = $(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, m = $(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, p = !!c.resolvedMessage, A = I(c.default) || $(c.default) ? $(c.default) ? s ? l : () => l : c.default : n ? s ? l : () => l : null, E = n || A != null && (I(A) || q(A)), C = ar(e, c);
|
|
2094
|
-
m &&
|
|
2094
|
+
m && xi(c);
|
|
2095
2095
|
let [h, g, N] = p ? [
|
|
2096
2096
|
l,
|
|
2097
2097
|
C,
|
|
@@ -2107,7 +2107,7 @@ function Wr(e, ...t) {
|
|
|
2107
2107
|
}, x = pe(S) ? S : ja(e, l, g, S, O, v);
|
|
2108
2108
|
if (L)
|
|
2109
2109
|
return S;
|
|
2110
|
-
const Y =
|
|
2110
|
+
const Y = Wi(e, g, N, c), se = Bi(Y), Se = Vi(e, x, se), oe = r ? r(Se, l) : Se;
|
|
2111
2111
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
2112
2112
|
const Ze = {
|
|
2113
2113
|
timestamp: Date.now(),
|
|
@@ -2116,11 +2116,11 @@ function Wr(e, ...t) {
|
|
|
2116
2116
|
format: I(S) ? S : pe(S) ? S.source : "",
|
|
2117
2117
|
message: oe
|
|
2118
2118
|
};
|
|
2119
|
-
Ze.meta = ie({}, e.__meta, /* @__PURE__ */
|
|
2119
|
+
Ze.meta = ie({}, e.__meta, /* @__PURE__ */ Ii() || {}), ai(Ze);
|
|
2120
2120
|
}
|
|
2121
2121
|
return oe;
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function xi(e) {
|
|
2124
2124
|
re(e.list) ? e.list = e.list.map((t) => I(t) ? yr(t) : t) : G(e.named) && Object.keys(e.named).forEach((t) => {
|
|
2125
2125
|
I(e.named[t]) && (e.named[t] = yr(e.named[t]));
|
|
2126
2126
|
});
|
|
@@ -2157,7 +2157,7 @@ function Ka(e, t, n, r, a, s) {
|
|
|
2157
2157
|
}
|
|
2158
2158
|
if (I(p) || Ee(p) || pe(p))
|
|
2159
2159
|
break;
|
|
2160
|
-
if (!
|
|
2160
|
+
if (!wi(m, f)) {
|
|
2161
2161
|
const O = sr(
|
|
2162
2162
|
e,
|
|
2163
2163
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -2184,7 +2184,7 @@ function ja(e, t, n, r, a, s) {
|
|
|
2184
2184
|
}
|
|
2185
2185
|
let l = null, c, f;
|
|
2186
2186
|
process.env.NODE_ENV !== "production" && Ae && (l = window.performance.now(), c = "intlify-message-compilation-start", f = "intlify-message-compilation-end", ge && ge(c));
|
|
2187
|
-
const u = o(r,
|
|
2187
|
+
const u = o(r, Gi(e, n, a, r, i, s));
|
|
2188
2188
|
if (process.env.NODE_ENV !== "production" && Ae) {
|
|
2189
2189
|
const m = window.performance.now(), p = e.__v_emitter;
|
|
2190
2190
|
p && l && p.emit("message-compilation", {
|
|
@@ -2196,7 +2196,7 @@ function ja(e, t, n, r, a, s) {
|
|
|
2196
2196
|
}
|
|
2197
2197
|
return u.locale = n, u.key = t, u.source = r, u;
|
|
2198
2198
|
}
|
|
2199
|
-
function
|
|
2199
|
+
function Vi(e, t, n) {
|
|
2200
2200
|
let r = null, a, s;
|
|
2201
2201
|
process.env.NODE_ENV !== "production" && Ae && (r = window.performance.now(), a = "intlify-message-evaluation-start", s = "intlify-message-evaluation-end", ge && ge(a));
|
|
2202
2202
|
const o = t(n);
|
|
@@ -2218,14 +2218,14 @@ function Mn(...e) {
|
|
|
2218
2218
|
const s = ae(t) ? String(t) : (pe(t), t);
|
|
2219
2219
|
return ae(n) ? a.plural = n : I(n) ? a.default = n : V(n) && !Qt(n) ? a.named = n : re(n) && (a.list = n), ae(r) ? a.plural = r : I(r) ? a.default = r : V(r) && ie(a, r), [s, a];
|
|
2220
2220
|
}
|
|
2221
|
-
function
|
|
2221
|
+
function Gi(e, t, n, r, a, s) {
|
|
2222
2222
|
return {
|
|
2223
2223
|
locale: t,
|
|
2224
2224
|
key: n,
|
|
2225
2225
|
warnHtmlMessage: a,
|
|
2226
2226
|
onError: (o) => {
|
|
2227
2227
|
if (s && s(o), process.env.NODE_ENV !== "production") {
|
|
2228
|
-
const i =
|
|
2228
|
+
const i = $i(r), l = `Message compilation error: ${o.message}`, c = o.location && i && fo(i, o.location.start.offset, o.location.end.offset), f = e.__v_emitter;
|
|
2229
2229
|
f && i && f.emit("compile-error", {
|
|
2230
2230
|
message: i,
|
|
2231
2231
|
error: o.message,
|
|
@@ -2236,16 +2236,16 @@ function xi(e, t, n, r, a, s) {
|
|
|
2236
2236
|
} else
|
|
2237
2237
|
throw o;
|
|
2238
2238
|
},
|
|
2239
|
-
onCacheKey: (o) =>
|
|
2239
|
+
onCacheKey: (o) => ao(t, n, o)
|
|
2240
2240
|
};
|
|
2241
2241
|
}
|
|
2242
|
-
function
|
|
2242
|
+
function $i(e) {
|
|
2243
2243
|
if (I(e))
|
|
2244
2244
|
return e;
|
|
2245
2245
|
if (e.loc && e.loc.source)
|
|
2246
2246
|
return e.loc.source;
|
|
2247
2247
|
}
|
|
2248
|
-
function
|
|
2248
|
+
function Wi(e, t, n, r) {
|
|
2249
2249
|
const { modifiers: a, pluralRules: s, messageResolver: o, fallbackLocale: i, fallbackWarn: l, missingWarn: c, fallbackContext: f } = e, m = {
|
|
2250
2250
|
locale: t,
|
|
2251
2251
|
modifiers: a,
|
|
@@ -2275,23 +2275,23 @@ function Gi(e, t, n, r) {
|
|
|
2275
2275
|
};
|
|
2276
2276
|
return e.processor && (m.processor = e.processor), r.list && (m.list = r.list), r.named && (m.named = r.named), ae(r.plural) && (m.pluralIndex = r.plural), m;
|
|
2277
2277
|
}
|
|
2278
|
-
|
|
2279
|
-
function
|
|
2278
|
+
Wo();
|
|
2279
|
+
function Yi() {
|
|
2280
2280
|
return qa().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
2281
2281
|
}
|
|
2282
2282
|
function qa() {
|
|
2283
2283
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
2284
2284
|
}
|
|
2285
|
-
const
|
|
2285
|
+
const Hi = typeof Proxy == "function", Ki = "devtools-plugin:setup", ji = "plugin:settings:set";
|
|
2286
2286
|
let tt, Un;
|
|
2287
|
-
function
|
|
2287
|
+
function qi() {
|
|
2288
2288
|
var e;
|
|
2289
2289
|
return tt !== void 0 || (typeof window < "u" && window.performance ? (tt = !0, Un = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (tt = !0, Un = globalThis.perf_hooks.performance) : tt = !1), tt;
|
|
2290
2290
|
}
|
|
2291
|
-
function
|
|
2292
|
-
return
|
|
2291
|
+
function Xi() {
|
|
2292
|
+
return qi() ? Un.now() : Date.now();
|
|
2293
2293
|
}
|
|
2294
|
-
class
|
|
2294
|
+
class Qi {
|
|
2295
2295
|
constructor(t, n) {
|
|
2296
2296
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
|
|
2297
2297
|
const r = {};
|
|
@@ -2319,9 +2319,9 @@ class qi {
|
|
|
2319
2319
|
s = o;
|
|
2320
2320
|
},
|
|
2321
2321
|
now() {
|
|
2322
|
-
return
|
|
2322
|
+
return Xi();
|
|
2323
2323
|
}
|
|
2324
|
-
}, n && n.on(
|
|
2324
|
+
}, n && n.on(ji, (o, i) => {
|
|
2325
2325
|
o === this.plugin.id && this.fallbacks.setSettings(i);
|
|
2326
2326
|
}), this.proxiedOn = new Proxy({}, {
|
|
2327
2327
|
get: (o, i) => this.target ? this.target.on[i] : (...l) => {
|
|
@@ -2353,12 +2353,12 @@ class qi {
|
|
|
2353
2353
|
n.resolve(await this.target[n.method](...n.args));
|
|
2354
2354
|
}
|
|
2355
2355
|
}
|
|
2356
|
-
function
|
|
2357
|
-
const n = e, r = qa(), a =
|
|
2356
|
+
function Ji(e, t) {
|
|
2357
|
+
const n = e, r = qa(), a = Yi(), s = Hi && n.enableEarlyProxy;
|
|
2358
2358
|
if (a && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !s))
|
|
2359
|
-
a.emit(
|
|
2359
|
+
a.emit(Ki, e, t);
|
|
2360
2360
|
else {
|
|
2361
|
-
const o = s ? new
|
|
2361
|
+
const o = s ? new Qi(n, a) : null;
|
|
2362
2362
|
(r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
2363
2363
|
pluginDescriptor: n,
|
|
2364
2364
|
setupFn: t,
|
|
@@ -2371,13 +2371,13 @@ function Xi(e, t) {
|
|
|
2371
2371
|
* (c) 2025 kazuya kawaguchi
|
|
2372
2372
|
* Released under the MIT License.
|
|
2373
2373
|
*/
|
|
2374
|
-
const
|
|
2375
|
-
function
|
|
2374
|
+
const zi = "11.1.3";
|
|
2375
|
+
function Zi() {
|
|
2376
2376
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (je().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (je().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
2377
2377
|
}
|
|
2378
2378
|
const X = {
|
|
2379
2379
|
// composer module errors
|
|
2380
|
-
UNEXPECTED_RETURN_TYPE:
|
|
2380
|
+
UNEXPECTED_RETURN_TYPE: oi,
|
|
2381
2381
|
// 24
|
|
2382
2382
|
// legacy module errors
|
|
2383
2383
|
INVALID_ARGUMENT: 25,
|
|
@@ -2398,9 +2398,9 @@ const X = {
|
|
|
2398
2398
|
NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
|
|
2399
2399
|
};
|
|
2400
2400
|
function de(e, ...t) {
|
|
2401
|
-
return ft(e, null, process.env.NODE_ENV !== "production" ? { messages:
|
|
2401
|
+
return ft(e, null, process.env.NODE_ENV !== "production" ? { messages: el, args: t } : void 0);
|
|
2402
2402
|
}
|
|
2403
|
-
const
|
|
2403
|
+
const el = {
|
|
2404
2404
|
[X.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
2405
2405
|
[X.INVALID_ARGUMENT]: "Invalid argument",
|
|
2406
2406
|
[X.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
|
|
@@ -2413,7 +2413,7 @@ const zi = {
|
|
|
2413
2413
|
[X.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
|
|
2414
2414
|
[X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
2415
2415
|
}, Bn = /* @__PURE__ */ Oe("__translateVNode"), xn = /* @__PURE__ */ Oe("__datetimeParts"), Vn = /* @__PURE__ */ Oe("__numberParts"), ze = /* @__PURE__ */ Oe("__enableEmitter"), Lt = /* @__PURE__ */ Oe("__disableEmitter"), Xa = Oe("__setPluralRules"), Qa = /* @__PURE__ */ Oe("__injectWithOption"), Gn = /* @__PURE__ */ Oe("__dispose"), Ne = {
|
|
2416
|
-
FALLBACK_TO_ROOT:
|
|
2416
|
+
FALLBACK_TO_ROOT: bi,
|
|
2417
2417
|
// 8
|
|
2418
2418
|
NOT_FOUND_PARENT_SCOPE: 9,
|
|
2419
2419
|
IGNORE_OBJ_FLATTEN: 10,
|
|
@@ -2425,7 +2425,7 @@ const zi = {
|
|
|
2425
2425
|
* @deprecated will be removed at vue-i18n v12
|
|
2426
2426
|
*/
|
|
2427
2427
|
DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12
|
|
2428
|
-
},
|
|
2428
|
+
}, tl = {
|
|
2429
2429
|
[Ne.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
|
|
2430
2430
|
[Ne.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
|
|
2431
2431
|
[Ne.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
|
|
@@ -2440,7 +2440,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
|
|
|
2440
2440
|
[Ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."
|
|
2441
2441
|
};
|
|
2442
2442
|
function Rt(e, ...t) {
|
|
2443
|
-
return Xt(
|
|
2443
|
+
return Xt(tl[e], ...t);
|
|
2444
2444
|
}
|
|
2445
2445
|
function wt(e) {
|
|
2446
2446
|
if (!G(e) || Ee(e))
|
|
@@ -2512,20 +2512,20 @@ function za(e, t, n) {
|
|
|
2512
2512
|
}
|
|
2513
2513
|
}
|
|
2514
2514
|
function Yr(e) {
|
|
2515
|
-
return w(
|
|
2515
|
+
return w(xs, null, e, 0);
|
|
2516
2516
|
}
|
|
2517
|
-
const Hr = "__INTLIFY_META__", Kr = () => [],
|
|
2517
|
+
const Hr = "__INTLIFY_META__", Kr = () => [], nl = () => !1;
|
|
2518
2518
|
let jr = 0;
|
|
2519
2519
|
function qr(e) {
|
|
2520
2520
|
return (t, n, r, a) => e(n, r, yt() || void 0, a);
|
|
2521
2521
|
}
|
|
2522
|
-
const
|
|
2522
|
+
const rl = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
2523
2523
|
const e = yt();
|
|
2524
2524
|
let t = null;
|
|
2525
2525
|
return e && (t = Ja(e)[Hr]) ? { [Hr]: t } : null;
|
|
2526
2526
|
};
|
|
2527
2527
|
function ir(e = {}) {
|
|
2528
|
-
const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, s = Ae ?
|
|
2528
|
+
const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, s = Ae ? Ps : ks;
|
|
2529
2529
|
let o = $(e.inheritLocale) ? e.inheritLocale : !0;
|
|
2530
2530
|
const i = s(
|
|
2531
2531
|
// prettier-ignore
|
|
@@ -2540,7 +2540,7 @@ function ir(e = {}) {
|
|
|
2540
2540
|
v = (() => {
|
|
2541
2541
|
r && kr(null);
|
|
2542
2542
|
const b = {
|
|
2543
|
-
version:
|
|
2543
|
+
version: zi,
|
|
2544
2544
|
locale: i.value,
|
|
2545
2545
|
fallbackLocale: l.value,
|
|
2546
2546
|
messages: c.value,
|
|
@@ -2559,7 +2559,7 @@ function ir(e = {}) {
|
|
|
2559
2559
|
__meta: { framework: "vue" }
|
|
2560
2560
|
};
|
|
2561
2561
|
b.datetimeFormats = f.value, b.numberFormats = u.value, b.__datetimeFormatters = V(v) ? v.__datetimeFormatters : void 0, b.__numberFormatters = V(v) ? v.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (b.__v_emitter = V(v) ? v.__v_emitter : void 0);
|
|
2562
|
-
const T =
|
|
2562
|
+
const T = Li(b);
|
|
2563
2563
|
return r && kr(T), T;
|
|
2564
2564
|
})(), pt(v, i.value, l.value);
|
|
2565
2565
|
function Y() {
|
|
@@ -2601,14 +2601,14 @@ function ir(e = {}) {
|
|
|
2601
2601
|
Y();
|
|
2602
2602
|
let et;
|
|
2603
2603
|
try {
|
|
2604
|
-
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (v.fallbackContext = t ?
|
|
2604
|
+
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (v.fallbackContext = t ? Ci() : void 0), et = b(v);
|
|
2605
2605
|
} finally {
|
|
2606
2606
|
process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (v.fallbackContext = void 0);
|
|
2607
2607
|
}
|
|
2608
2608
|
if (H !== "translate exists" && // for not `te` (e.g `t`)
|
|
2609
2609
|
ae(et) && et === Jt || H === "translate exists" && !et) {
|
|
2610
|
-
const [Ye,
|
|
2611
|
-
if (process.env.NODE_ENV !== "production" && t && I(Ye) && cn(H,
|
|
2610
|
+
const [Ye, Ds] = T();
|
|
2611
|
+
if (process.env.NODE_ENV !== "production" && t && I(Ye) && cn(H, Ds) && (A && (zt(p, Ye) || Ga(m, Ye)) && (Rt(Ne.FALLBACK_TO_ROOT, {
|
|
2612
2612
|
key: Ye,
|
|
2613
2613
|
type: H
|
|
2614
2614
|
}), void 0), process.env.NODE_ENV !== "production")) {
|
|
@@ -2677,7 +2677,7 @@ function ir(e = {}) {
|
|
|
2677
2677
|
return !1;
|
|
2678
2678
|
const H = I(T) ? T : i.value, ee = $e(H), We = v.messageResolver(ee, b);
|
|
2679
2679
|
return Ee(We) || pe(We) || I(We);
|
|
2680
|
-
}, () => [b], "translate exists", (H) => Reflect.apply(H.te, H, [b, T]),
|
|
2680
|
+
}, () => [b], "translate exists", (H) => Reflect.apply(H.te, H, [b, T]), nl, (H) => $(H));
|
|
2681
2681
|
}
|
|
2682
2682
|
function dt(b) {
|
|
2683
2683
|
let T = null;
|
|
@@ -2817,16 +2817,16 @@ const Za = "vue-i18n: composer properties", yn = {
|
|
|
2817
2817
|
"vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
|
|
2818
2818
|
"vue-i18n-resource-inspector": "Vue I18n DevTools",
|
|
2819
2819
|
"vue-i18n-timeline": "Vue I18n"
|
|
2820
|
-
},
|
|
2820
|
+
}, al = {
|
|
2821
2821
|
"vue-i18n-resource-inspector": "Search for scopes ..."
|
|
2822
|
-
},
|
|
2822
|
+
}, sl = {
|
|
2823
2823
|
"vue-i18n-timeline": 16764185
|
|
2824
2824
|
};
|
|
2825
2825
|
let $n;
|
|
2826
|
-
async function
|
|
2826
|
+
async function ol(e, t) {
|
|
2827
2827
|
return new Promise((n, r) => {
|
|
2828
2828
|
try {
|
|
2829
|
-
|
|
2829
|
+
Ji({
|
|
2830
2830
|
id: "vue-devtools-plugin-vue-i18n",
|
|
2831
2831
|
label: yn["vue-devtools-plugin-vue-i18n"],
|
|
2832
2832
|
packageName: "vue-i18n",
|
|
@@ -2837,36 +2837,36 @@ async function al(e, t) {
|
|
|
2837
2837
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
2838
2838
|
}, (a) => {
|
|
2839
2839
|
$n = a, a.on.visitComponentTree(({ componentInstance: o, treeNode: i }) => {
|
|
2840
|
-
|
|
2840
|
+
il(o, i, t);
|
|
2841
2841
|
}), a.on.inspectComponent(({ componentInstance: o, instanceData: i }) => {
|
|
2842
2842
|
o.vnode.el && o.vnode.el.__VUE_I18N__ && i && (t.mode === "legacy" ? o.vnode.el.__VUE_I18N__ !== t.global.__composer && Xr(i, o.vnode.el.__VUE_I18N__) : Xr(i, o.vnode.el.__VUE_I18N__));
|
|
2843
2843
|
}), a.addInspector({
|
|
2844
2844
|
id: "vue-i18n-resource-inspector",
|
|
2845
2845
|
label: yn["vue-i18n-resource-inspector"],
|
|
2846
2846
|
icon: "language",
|
|
2847
|
-
treeFilterPlaceholder:
|
|
2847
|
+
treeFilterPlaceholder: al["vue-i18n-resource-inspector"]
|
|
2848
2848
|
}), a.on.getInspectorTree((o) => {
|
|
2849
|
-
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" &&
|
|
2849
|
+
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && _l(o, t);
|
|
2850
2850
|
});
|
|
2851
2851
|
const s = /* @__PURE__ */ new Map();
|
|
2852
2852
|
a.on.getInspectorState(async (o) => {
|
|
2853
2853
|
if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
|
|
2854
|
-
if (a.unhighlightElement(),
|
|
2854
|
+
if (a.unhighlightElement(), ml(o, t), o.nodeId === "global") {
|
|
2855
2855
|
if (!s.has(o.app)) {
|
|
2856
2856
|
const [i] = await a.getComponentInstances(o.app);
|
|
2857
2857
|
s.set(o.app, i);
|
|
2858
2858
|
}
|
|
2859
2859
|
a.highlightElement(s.get(o.app));
|
|
2860
2860
|
} else {
|
|
2861
|
-
const i =
|
|
2861
|
+
const i = dl(o.nodeId, t);
|
|
2862
2862
|
i && a.highlightElement(i);
|
|
2863
2863
|
}
|
|
2864
2864
|
}), a.on.editInspectorState((o) => {
|
|
2865
|
-
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" &&
|
|
2865
|
+
o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && gl(o, t);
|
|
2866
2866
|
}), a.addTimelineLayer({
|
|
2867
2867
|
id: "vue-i18n-timeline",
|
|
2868
2868
|
label: yn["vue-i18n-timeline"],
|
|
2869
|
-
color:
|
|
2869
|
+
color: sl["vue-i18n-timeline"]
|
|
2870
2870
|
}), n(!0);
|
|
2871
2871
|
});
|
|
2872
2872
|
} catch {
|
|
@@ -2877,7 +2877,7 @@ async function al(e, t) {
|
|
|
2877
2877
|
function es(e) {
|
|
2878
2878
|
return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
|
|
2879
2879
|
}
|
|
2880
|
-
function
|
|
2880
|
+
function il(e, t, n) {
|
|
2881
2881
|
const r = n.mode === "composition" ? n.global : n.global.__composer;
|
|
2882
2882
|
if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== r) {
|
|
2883
2883
|
const a = {
|
|
@@ -2931,30 +2931,30 @@ function lr(e) {
|
|
|
2931
2931
|
const t = {};
|
|
2932
2932
|
return Object.keys(e).forEach((n) => {
|
|
2933
2933
|
const r = e[n];
|
|
2934
|
-
q(r) && "source" in r ? t[n] =
|
|
2934
|
+
q(r) && "source" in r ? t[n] = fl(r) : Ee(r) && r.loc && r.loc.source ? t[n] = r.loc.source : G(r) ? t[n] = lr(r) : t[n] = r;
|
|
2935
2935
|
}), t;
|
|
2936
2936
|
}
|
|
2937
|
-
const
|
|
2937
|
+
const ll = {
|
|
2938
2938
|
"<": "<",
|
|
2939
2939
|
">": ">",
|
|
2940
2940
|
'"': """,
|
|
2941
2941
|
"&": "&"
|
|
2942
2942
|
};
|
|
2943
|
-
function
|
|
2944
|
-
return e.replace(/[<>"&]/g,
|
|
2943
|
+
function cl(e) {
|
|
2944
|
+
return e.replace(/[<>"&]/g, ul);
|
|
2945
2945
|
}
|
|
2946
|
-
function
|
|
2947
|
-
return
|
|
2946
|
+
function ul(e) {
|
|
2947
|
+
return ll[e] || e;
|
|
2948
2948
|
}
|
|
2949
|
-
function
|
|
2949
|
+
function fl(e) {
|
|
2950
2950
|
return {
|
|
2951
2951
|
_custom: {
|
|
2952
2952
|
type: "function",
|
|
2953
|
-
display: `<span>ƒ</span> ${e.source ? `("${
|
|
2953
|
+
display: `<span>ƒ</span> ${e.source ? `("${cl(e.source)}")` : "(?)"}`
|
|
2954
2954
|
}
|
|
2955
2955
|
};
|
|
2956
2956
|
}
|
|
2957
|
-
function
|
|
2957
|
+
function _l(e, t) {
|
|
2958
2958
|
e.rootNodes.push({
|
|
2959
2959
|
id: "global",
|
|
2960
2960
|
label: "Global Scope"
|
|
@@ -2968,7 +2968,7 @@ function ul(e, t) {
|
|
|
2968
2968
|
});
|
|
2969
2969
|
}
|
|
2970
2970
|
}
|
|
2971
|
-
function
|
|
2971
|
+
function dl(e, t) {
|
|
2972
2972
|
let n = null;
|
|
2973
2973
|
if (e !== "global") {
|
|
2974
2974
|
for (const [r, a] of t.__instances.entries())
|
|
@@ -2987,11 +2987,11 @@ function ts(e, t) {
|
|
|
2987
2987
|
return n ? t.mode === "composition" ? n : n.__composer : null;
|
|
2988
2988
|
}
|
|
2989
2989
|
}
|
|
2990
|
-
function
|
|
2990
|
+
function ml(e, t) {
|
|
2991
2991
|
const n = ts(e.nodeId, t);
|
|
2992
|
-
return n && (e.state =
|
|
2992
|
+
return n && (e.state = hl(n)), null;
|
|
2993
2993
|
}
|
|
2994
|
-
function
|
|
2994
|
+
function hl(e) {
|
|
2995
2995
|
const t = {}, n = "Locale related info", r = [
|
|
2996
2996
|
{
|
|
2997
2997
|
type: n,
|
|
@@ -3066,14 +3066,14 @@ function Dt(e, t) {
|
|
|
3066
3066
|
});
|
|
3067
3067
|
}
|
|
3068
3068
|
}
|
|
3069
|
-
function
|
|
3069
|
+
function gl(e, t) {
|
|
3070
3070
|
const n = ts(e.nodeId, t);
|
|
3071
3071
|
if (n) {
|
|
3072
3072
|
const [r] = e.path;
|
|
3073
3073
|
r === "locale" && I(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (I(e.state.value) || re(e.state.value) || G(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && $(e.state.value) && (n.inheritLocale = e.state.value);
|
|
3074
3074
|
}
|
|
3075
3075
|
}
|
|
3076
|
-
function
|
|
3076
|
+
function pl(e) {
|
|
3077
3077
|
const t = I(e.locale) ? e.locale : Ct, n = I(e.fallbackLocale) || re(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = q(e.missing) ? e.missing : void 0, a = $(e.silentTranslationWarn) || lt(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, s = $(e.silentFallbackWarn) || lt(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = $(e.fallbackRoot) ? e.fallbackRoot : !0, i = !!e.formatFallbackMessages, l = V(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, f = q(e.postTranslation) ? e.postTranslation : void 0, u = I(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, m = !!e.escapeParameterHtml, p = $(e.sync) ? e.sync : !0;
|
|
3078
3078
|
let A = e.messages;
|
|
3079
3079
|
if (V(e.sharedMessages)) {
|
|
@@ -3109,7 +3109,7 @@ function hl(e) {
|
|
|
3109
3109
|
};
|
|
3110
3110
|
}
|
|
3111
3111
|
function Wn(e = {}) {
|
|
3112
|
-
const t = ir(
|
|
3112
|
+
const t = ir(pl(e)), { __extender: n } = e, r = {
|
|
3113
3113
|
// id
|
|
3114
3114
|
id: t.id,
|
|
3115
3115
|
// locale
|
|
@@ -3277,7 +3277,7 @@ function Wn(e = {}) {
|
|
|
3277
3277
|
a[Lt] && a[Lt]();
|
|
3278
3278
|
}), r;
|
|
3279
3279
|
}
|
|
3280
|
-
function
|
|
3280
|
+
function El(e, t, n) {
|
|
3281
3281
|
return {
|
|
3282
3282
|
beforeCreate() {
|
|
3283
3283
|
const r = yt();
|
|
@@ -3353,7 +3353,7 @@ const cr = {
|
|
|
3353
3353
|
type: Object
|
|
3354
3354
|
}
|
|
3355
3355
|
};
|
|
3356
|
-
function
|
|
3356
|
+
function bl({ slots: e }, t) {
|
|
3357
3357
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, a) => [
|
|
3358
3358
|
...r,
|
|
3359
3359
|
// prettier-ignore
|
|
@@ -3366,7 +3366,7 @@ function pl({ slots: e }, t) {
|
|
|
3366
3366
|
function ns() {
|
|
3367
3367
|
return he;
|
|
3368
3368
|
}
|
|
3369
|
-
const
|
|
3369
|
+
const Sl = /* @__PURE__ */ Jn({
|
|
3370
3370
|
/* eslint-disable */
|
|
3371
3371
|
name: "i18n-t",
|
|
3372
3372
|
props: ie({
|
|
@@ -3389,12 +3389,12 @@ const El = /* @__PURE__ */ Jn({
|
|
|
3389
3389
|
return () => {
|
|
3390
3390
|
const s = Object.keys(n).filter((u) => u !== "_"), o = K();
|
|
3391
3391
|
e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = I(e.plural) ? +e.plural : e.plural);
|
|
3392
|
-
const i =
|
|
3392
|
+
const i = bl(t, s), l = a[Bn](e.keypath, i, o), c = ie(K(), r), f = I(e.tag) || G(e.tag) ? e.tag : ns();
|
|
3393
3393
|
return Sa(f, c, l);
|
|
3394
3394
|
};
|
|
3395
3395
|
}
|
|
3396
|
-
}), Jr =
|
|
3397
|
-
function
|
|
3396
|
+
}), Jr = Sl;
|
|
3397
|
+
function vl(e) {
|
|
3398
3398
|
return re(e) && !I(e[0]);
|
|
3399
3399
|
}
|
|
3400
3400
|
function rs(e, t, n, r) {
|
|
@@ -3407,13 +3407,13 @@ function rs(e, t, n, r) {
|
|
|
3407
3407
|
let c = [o.key];
|
|
3408
3408
|
re(l) ? c = l.map((m, p) => {
|
|
3409
3409
|
const A = a[m.type], E = A ? A({ [m.type]: m.value, index: p, parts: l }) : [m.value];
|
|
3410
|
-
return
|
|
3410
|
+
return vl(E) && (E[0].key = `${m.type}-${p}`), E;
|
|
3411
3411
|
}) : I(l) && (c = [l]);
|
|
3412
3412
|
const f = ie(K(), s), u = I(e.tag) || G(e.tag) ? e.tag : ns();
|
|
3413
3413
|
return Sa(u, f, c);
|
|
3414
3414
|
};
|
|
3415
3415
|
}
|
|
3416
|
-
const
|
|
3416
|
+
const Al = /* @__PURE__ */ Jn({
|
|
3417
3417
|
/* eslint-disable */
|
|
3418
3418
|
name: "i18n-n",
|
|
3419
3419
|
props: ie({
|
|
@@ -3437,8 +3437,8 @@ const Sl = /* @__PURE__ */ Jn({
|
|
|
3437
3437
|
n[Vn](...r)
|
|
3438
3438
|
));
|
|
3439
3439
|
}
|
|
3440
|
-
}), zr =
|
|
3441
|
-
function
|
|
3440
|
+
}), zr = Al;
|
|
3441
|
+
function yl(e, t) {
|
|
3442
3442
|
const n = e;
|
|
3443
3443
|
if (e.mode === "composition")
|
|
3444
3444
|
return n.__getInstance(t) || e.global;
|
|
@@ -3447,13 +3447,13 @@ function vl(e, t) {
|
|
|
3447
3447
|
return r != null ? r.__composer : e.global.__composer;
|
|
3448
3448
|
}
|
|
3449
3449
|
}
|
|
3450
|
-
function
|
|
3450
|
+
function Nl(e) {
|
|
3451
3451
|
const t = (o) => {
|
|
3452
3452
|
process.env.NODE_ENV !== "production" && er(Rt(Ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
|
|
3453
3453
|
const { instance: i, value: l } = o;
|
|
3454
3454
|
if (!i || !i.$)
|
|
3455
3455
|
throw de(X.UNEXPECTED_ERROR);
|
|
3456
|
-
const c =
|
|
3456
|
+
const c = yl(e, i.$), f = Zr(l);
|
|
3457
3457
|
return [
|
|
3458
3458
|
Reflect.apply(c.t, c, [...ea(f)]),
|
|
3459
3459
|
c
|
|
@@ -3497,15 +3497,15 @@ function ea(e) {
|
|
|
3497
3497
|
const { path: t, locale: n, args: r, choice: a, plural: s } = e, o = {}, i = r || {};
|
|
3498
3498
|
return I(n) && (o.locale = n), ae(a) && (o.plural = a), ae(s) && (o.plural = s), [t, i, o];
|
|
3499
3499
|
}
|
|
3500
|
-
function
|
|
3500
|
+
function Tl(e, t, ...n) {
|
|
3501
3501
|
const r = V(n[0]) ? n[0] : {};
|
|
3502
|
-
($(r.globalInstall) ? r.globalInstall : !0) && ([Jr.name, "I18nT"].forEach((s) => e.component(s, Jr)), [zr.name, "I18nN"].forEach((s) => e.component(s, zr)), [na.name, "I18nD"].forEach((s) => e.component(s, na))), e.directive("t",
|
|
3502
|
+
($(r.globalInstall) ? r.globalInstall : !0) && ([Jr.name, "I18nT"].forEach((s) => e.component(s, Jr)), [zr.name, "I18nN"].forEach((s) => e.component(s, zr)), [na.name, "I18nD"].forEach((s) => e.component(s, na))), e.directive("t", Nl(t));
|
|
3503
3503
|
}
|
|
3504
|
-
const
|
|
3505
|
-
function
|
|
3504
|
+
const Ol = /* @__PURE__ */ Oe("global-vue-i18n");
|
|
3505
|
+
function Il(e = {}) {
|
|
3506
3506
|
const t = __VUE_I18N_LEGACY_API__ && $(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
|
|
3507
3507
|
process.env.NODE_ENV !== "production" && t && er(Rt(Ne.DEPRECATE_LEGACY_MODE));
|
|
3508
|
-
const n = $(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, s] =
|
|
3508
|
+
const n = $(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, s] = Cl(e, t), o = /* @__PURE__ */ Oe(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
3509
3509
|
function i(u) {
|
|
3510
3510
|
return r.get(u) || null;
|
|
3511
3511
|
}
|
|
@@ -3527,12 +3527,12 @@ function Tl(e = {}) {
|
|
|
3527
3527
|
f.__composerExtend = E.__composerExtend, f.__vueI18nExtend = E.__vueI18nExtend;
|
|
3528
3528
|
}
|
|
3529
3529
|
let p = null;
|
|
3530
|
-
!t && n && (p =
|
|
3530
|
+
!t && n && (p = Ml(u, f.global)), __VUE_I18N_FULL_INSTALL__ && Tl(u, f, ...m), __VUE_I18N_LEGACY_API__ && t && u.mixin(El(s, s.__composer, f));
|
|
3531
3531
|
const A = u.unmount;
|
|
3532
3532
|
if (u.unmount = () => {
|
|
3533
3533
|
p && p(), f.dispose(), A();
|
|
3534
3534
|
}, process.env.NODE_ENV !== "production") {
|
|
3535
|
-
if (!await
|
|
3535
|
+
if (!await ol(u, f))
|
|
3536
3536
|
throw de(X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
3537
3537
|
const C = tr();
|
|
3538
3538
|
if (t) {
|
|
@@ -3569,43 +3569,43 @@ function ur(e = {}) {
|
|
|
3569
3569
|
throw de(X.MUST_BE_CALL_SETUP_TOP);
|
|
3570
3570
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
3571
3571
|
throw de(X.NOT_INSTALLED);
|
|
3572
|
-
const n =
|
|
3572
|
+
const n = Ll(t), r = Dl(n), a = Ja(t), s = wl(e, a);
|
|
3573
3573
|
if (s === "global")
|
|
3574
3574
|
return za(r, e, a), r;
|
|
3575
3575
|
if (s === "parent") {
|
|
3576
|
-
let l =
|
|
3576
|
+
let l = Rl(n, t, e.__useComponent);
|
|
3577
3577
|
return l == null && (process.env.NODE_ENV !== "production" && (Rt(Ne.NOT_FOUND_PARENT_SCOPE), void 0), l = r), l;
|
|
3578
3578
|
}
|
|
3579
3579
|
const o = n;
|
|
3580
3580
|
let i = o.__getInstance(t);
|
|
3581
3581
|
if (i == null) {
|
|
3582
3582
|
const l = ie({}, e);
|
|
3583
|
-
"__i18n" in a && (l.__i18n = a.__i18n), r && (l.__root = r), i = ir(l), o.__composerExtend && (i[Gn] = o.__composerExtend(i)),
|
|
3583
|
+
"__i18n" in a && (l.__i18n = a.__i18n), r && (l.__root = r), i = ir(l), o.__composerExtend && (i[Gn] = o.__composerExtend(i)), kl(o, t, i), o.__setInstance(t, i);
|
|
3584
3584
|
}
|
|
3585
3585
|
return i;
|
|
3586
3586
|
}
|
|
3587
|
-
function
|
|
3588
|
-
const n =
|
|
3587
|
+
function Cl(e, t) {
|
|
3588
|
+
const n = Rs(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Wn(e)) : n.run(() => ir(e));
|
|
3589
3589
|
if (r == null)
|
|
3590
3590
|
throw de(X.UNEXPECTED_ERROR);
|
|
3591
3591
|
return [n, r];
|
|
3592
3592
|
}
|
|
3593
|
-
function
|
|
3594
|
-
const t =
|
|
3593
|
+
function Ll(e) {
|
|
3594
|
+
const t = Ms(e.isCE ? Ol : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
3595
3595
|
if (!t)
|
|
3596
3596
|
throw de(e.isCE ? X.NOT_INSTALLED_WITH_PROVIDE : X.UNEXPECTED_ERROR);
|
|
3597
3597
|
return t;
|
|
3598
3598
|
}
|
|
3599
|
-
function
|
|
3599
|
+
function wl(e, t) {
|
|
3600
3600
|
return Qt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
3601
3601
|
}
|
|
3602
|
-
function
|
|
3602
|
+
function Dl(e) {
|
|
3603
3603
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
3604
3604
|
}
|
|
3605
|
-
function
|
|
3605
|
+
function Rl(e, t, n = !1) {
|
|
3606
3606
|
let r = null;
|
|
3607
3607
|
const a = t.root;
|
|
3608
|
-
let s =
|
|
3608
|
+
let s = Pl(t, n);
|
|
3609
3609
|
for (; s != null; ) {
|
|
3610
3610
|
const o = e;
|
|
3611
3611
|
if (e.mode === "composition")
|
|
@@ -3620,36 +3620,36 @@ function wl(e, t, n = !1) {
|
|
|
3620
3620
|
}
|
|
3621
3621
|
return r;
|
|
3622
3622
|
}
|
|
3623
|
-
function
|
|
3623
|
+
function Pl(e, t = !1) {
|
|
3624
3624
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
3625
3625
|
}
|
|
3626
|
-
function
|
|
3626
|
+
function kl(e, t, n) {
|
|
3627
3627
|
let r = null;
|
|
3628
|
-
|
|
3628
|
+
Us(() => {
|
|
3629
3629
|
if (process.env.NODE_ENV !== "production" && t.vnode.el) {
|
|
3630
3630
|
t.vnode.el.__VUE_I18N__ = n, r = tr();
|
|
3631
3631
|
const a = n;
|
|
3632
3632
|
a[ze] && a[ze](r), r.on("*", Dt);
|
|
3633
3633
|
}
|
|
3634
|
-
}, t),
|
|
3634
|
+
}, t), Bs(() => {
|
|
3635
3635
|
const a = n;
|
|
3636
3636
|
process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (r && r.off("*", Dt), a[Lt] && a[Lt](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
|
|
3637
3637
|
const s = a[Gn];
|
|
3638
3638
|
s && (s(), delete a[Gn]);
|
|
3639
3639
|
}, t);
|
|
3640
3640
|
}
|
|
3641
|
-
const
|
|
3641
|
+
const Fl = [
|
|
3642
3642
|
"locale",
|
|
3643
3643
|
"fallbackLocale",
|
|
3644
3644
|
"availableLocales"
|
|
3645
3645
|
], ta = ["t", "rt", "d", "n", "tm", "te"];
|
|
3646
|
-
function
|
|
3646
|
+
function Ml(e, t) {
|
|
3647
3647
|
const n = /* @__PURE__ */ Object.create(null);
|
|
3648
|
-
return
|
|
3648
|
+
return Fl.forEach((a) => {
|
|
3649
3649
|
const s = Object.getOwnPropertyDescriptor(t, a);
|
|
3650
3650
|
if (!s)
|
|
3651
3651
|
throw de(X.UNEXPECTED_ERROR);
|
|
3652
|
-
const o =
|
|
3652
|
+
const o = Fs(s.value) ? {
|
|
3653
3653
|
get() {
|
|
3654
3654
|
return s.value.value;
|
|
3655
3655
|
},
|
|
@@ -3674,7 +3674,7 @@ function kl(e, t) {
|
|
|
3674
3674
|
});
|
|
3675
3675
|
};
|
|
3676
3676
|
}
|
|
3677
|
-
const
|
|
3677
|
+
const Ul = /* @__PURE__ */ Jn({
|
|
3678
3678
|
/* eslint-disable */
|
|
3679
3679
|
name: "i18n-d",
|
|
3680
3680
|
props: ie({
|
|
@@ -3698,17 +3698,17 @@ const Fl = /* @__PURE__ */ Jn({
|
|
|
3698
3698
|
n[xn](...r)
|
|
3699
3699
|
));
|
|
3700
3700
|
}
|
|
3701
|
-
}), na =
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3701
|
+
}), na = Ul;
|
|
3702
|
+
Zi();
|
|
3703
|
+
yi(ti);
|
|
3704
|
+
Ni(Ei);
|
|
3705
|
+
Ti(Fa);
|
|
3706
3706
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
3707
3707
|
const e = je();
|
|
3708
|
-
e.__INTLIFY__ = !0,
|
|
3708
|
+
e.__INTLIFY__ = !0, ni(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
3709
3709
|
}
|
|
3710
3710
|
process.env.NODE_ENV;
|
|
3711
|
-
const as =
|
|
3711
|
+
const as = Il({
|
|
3712
3712
|
legacy: !1,
|
|
3713
3713
|
locale: "zh",
|
|
3714
3714
|
//默认显示的语言
|
|
@@ -3725,15 +3725,15 @@ const as = Tl({
|
|
|
3725
3725
|
silentFallbackWarn: !0,
|
|
3726
3726
|
fallbackWarn: !1
|
|
3727
3727
|
}), Ke = as.global;
|
|
3728
|
-
async function
|
|
3728
|
+
async function Bl(e, t) {
|
|
3729
3729
|
const n = await t(e);
|
|
3730
3730
|
Ke.setLocaleMessage(e, n), Ke.locale && Ke.locale.value !== void 0 ? Ke.locale.value = e : Ke.locale = e;
|
|
3731
3731
|
}
|
|
3732
3732
|
const nt = "__system:language__", rt = "zh";
|
|
3733
|
-
function
|
|
3733
|
+
function xl() {
|
|
3734
3734
|
return (window.navigator.language || navigator.browserLanguage || navigator.userLanguage || "").toLowerCase().trim();
|
|
3735
3735
|
}
|
|
3736
|
-
function
|
|
3736
|
+
function Vl(e) {
|
|
3737
3737
|
return e ? e.toLowerCase().trim() : "";
|
|
3738
3738
|
}
|
|
3739
3739
|
const Pt = Be("cloudSdkLanguageStore", {
|
|
@@ -3769,10 +3769,10 @@ const Pt = Be("cloudSdkLanguageStore", {
|
|
|
3769
3769
|
actions: {
|
|
3770
3770
|
// 初始化
|
|
3771
3771
|
async init() {
|
|
3772
|
-
let e =
|
|
3772
|
+
let e = xl() || rt;
|
|
3773
3773
|
e = localStorage.getItem(nt) || e;
|
|
3774
3774
|
const t = cvUtils.urlGetParameterAll();
|
|
3775
|
-
t.language && (e = t.language), e =
|
|
3775
|
+
t.language && (e = t.language), e = Vl(e), Object.keys(this.languageList).includes(e) ? this.languageName = e === "zh-cn" ? "zh" : e : this.languageName = rt, localStorage.setItem(nt, this.languageName);
|
|
3776
3776
|
},
|
|
3777
3777
|
async clear_cache() {
|
|
3778
3778
|
D.localSet(nt, rt);
|
|
@@ -3806,7 +3806,7 @@ const Pt = Be("cloudSdkLanguageStore", {
|
|
|
3806
3806
|
this.languageName = e, D.localSet(nt, e), Ke.locale.value = e;
|
|
3807
3807
|
}
|
|
3808
3808
|
}
|
|
3809
|
-
}), ra = "__system:themes__",
|
|
3809
|
+
}), ra = "__system:themes__", Gl = "light", Nn = "__system:layoutSidebarState__", $l = "on", aa = "__system:layoutNavTabs__", Wl = "on", Yl = "__system:layoutWatermark__", Hl = "on";
|
|
3810
3810
|
function sa() {
|
|
3811
3811
|
let e = typeof window < "u" && window.navigator.userAgent.toLowerCase();
|
|
3812
3812
|
return `${e.match(/Chrome/i)}` == "chrome" ? "chrome" : `${e.match(/Webkit/i)}` == "webkit" ? "webkit" : null;
|
|
@@ -3817,17 +3817,17 @@ const Ue = Be("cloudSdkThemesStore", {
|
|
|
3817
3817
|
/**
|
|
3818
3818
|
* 上边切换卡
|
|
3819
3819
|
*/
|
|
3820
|
-
layoutNavTabs: D.localGet(aa) ||
|
|
3820
|
+
layoutNavTabs: D.localGet(aa) || Wl,
|
|
3821
3821
|
/**
|
|
3822
3822
|
* 左边侧栏
|
|
3823
3823
|
*/
|
|
3824
|
-
layoutSidebarState: D.localGet(Nn) ||
|
|
3824
|
+
layoutSidebarState: D.localGet(Nn) || $l,
|
|
3825
3825
|
/**
|
|
3826
3826
|
* 主题皮肤
|
|
3827
3827
|
* auto|light|dark
|
|
3828
3828
|
* 自动生成
|
|
3829
3829
|
*/
|
|
3830
|
-
themesName: D.localGet(ra) ||
|
|
3830
|
+
themesName: D.localGet(ra) || Gl,
|
|
3831
3831
|
themesList: [
|
|
3832
3832
|
{ name: "跟随系统", value: "auto" },
|
|
3833
3833
|
{ name: "明亮", value: "light" },
|
|
@@ -3836,7 +3836,7 @@ const Ue = Be("cloudSdkThemesStore", {
|
|
|
3836
3836
|
/**
|
|
3837
3837
|
* 水印
|
|
3838
3838
|
*/
|
|
3839
|
-
watermarkState: D.localGet(
|
|
3839
|
+
watermarkState: D.localGet(Yl) || Hl
|
|
3840
3840
|
}),
|
|
3841
3841
|
actions: {
|
|
3842
3842
|
async init() {
|
|
@@ -3903,7 +3903,17 @@ const Ue = Be("cloudSdkThemesStore", {
|
|
|
3903
3903
|
n.classList.remove(this.themesName == "dark" ? "light" : "dark"), n.classList.add(this.themesName), D.localSet(ra, this.themesName);
|
|
3904
3904
|
}
|
|
3905
3905
|
}
|
|
3906
|
-
})
|
|
3906
|
+
});
|
|
3907
|
+
function ss() {
|
|
3908
|
+
return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
|
|
3909
|
+
}
|
|
3910
|
+
function os() {
|
|
3911
|
+
return window.innerHeight;
|
|
3912
|
+
}
|
|
3913
|
+
function Kl() {
|
|
3914
|
+
return ss() - os() > 50 ? "landscape" : "portrait";
|
|
3915
|
+
}
|
|
3916
|
+
const Gt = ss(), jl = os(), Tn = Kl(), is = Be("cloudSdkWindowStore", {
|
|
3907
3917
|
state: () => ({
|
|
3908
3918
|
// 窗口是否激活
|
|
3909
3919
|
windowActive: !0,
|
|
@@ -3914,7 +3924,7 @@ const Ue = Be("cloudSdkThemesStore", {
|
|
|
3914
3924
|
// 浏览器尺寸信息
|
|
3915
3925
|
windowWidth: Gt,
|
|
3916
3926
|
// 窗口宽度
|
|
3917
|
-
windowHeight:
|
|
3927
|
+
windowHeight: jl,
|
|
3918
3928
|
// 浏览器窗口方向
|
|
3919
3929
|
windowOrientation: Tn,
|
|
3920
3930
|
windowLandscape: Tn === "landscape",
|
|
@@ -3933,6 +3943,10 @@ const Ue = Be("cloudSdkThemesStore", {
|
|
|
3933
3943
|
winCalcSizeName: (e) => (void 0).SA_GET_SIZE_TYPE()
|
|
3934
3944
|
},
|
|
3935
3945
|
actions: {
|
|
3946
|
+
async init() {
|
|
3947
|
+
},
|
|
3948
|
+
init_refresh() {
|
|
3949
|
+
},
|
|
3936
3950
|
isSingle() {
|
|
3937
3951
|
return document.querySelector(".electron-single-micro-apps") ? 1 : 0;
|
|
3938
3952
|
},
|
|
@@ -4077,7 +4091,7 @@ const Ue = Be("cloudSdkThemesStore", {
|
|
|
4077
4091
|
const o = {
|
|
4078
4092
|
keyId: s || e
|
|
4079
4093
|
};
|
|
4080
|
-
fe.setTimeout(8e3).flagGet("
|
|
4094
|
+
fe.setTimeout(8e3).flagGet("BASE_SYS_COMMON_SYS_INFO", { ip: e }).then(() => {
|
|
4081
4095
|
D.localSet(n, o), typeof t == "function" && t(s);
|
|
4082
4096
|
});
|
|
4083
4097
|
}
|
|
@@ -4237,7 +4251,7 @@ const at = "syCacheAppInfo", ke = "syCacheAppToken", bt = "syCacheAppJwt", St =
|
|
|
4237
4251
|
function ua(e) {
|
|
4238
4252
|
return e = e.replace(/^\//, ""), e = e.replace(/\//g, "_"), e;
|
|
4239
4253
|
}
|
|
4240
|
-
function
|
|
4254
|
+
function ls(e, t) {
|
|
4241
4255
|
t = t || 1;
|
|
4242
4256
|
let n = "";
|
|
4243
4257
|
e.path ? n = e.path : e.component && (n = e.component), e.component || (n = "");
|
|
@@ -4254,8 +4268,8 @@ function os(e, t) {
|
|
|
4254
4268
|
name: r
|
|
4255
4269
|
};
|
|
4256
4270
|
}
|
|
4257
|
-
const
|
|
4258
|
-
function
|
|
4271
|
+
const ql = {}, Xl = ql, Ql = Xl.VITE_SY_PRODUCT_SIGN;
|
|
4272
|
+
function cs(e) {
|
|
4259
4273
|
let t = Object.prototype.toString.call(e);
|
|
4260
4274
|
if (t != "[object String]" && t != "[object Array]")
|
|
4261
4275
|
return !1;
|
|
@@ -4273,7 +4287,7 @@ function is(e) {
|
|
|
4273
4287
|
function Kt(e, t) {
|
|
4274
4288
|
if (e = e || "", e = e.trim(), e == "")
|
|
4275
4289
|
return !1;
|
|
4276
|
-
e.includes("@") || (e = `${
|
|
4290
|
+
e.includes("@") || (e = `${Ql}@${e}`);
|
|
4277
4291
|
let n = t || D.localGet("syCacheAppRbac") || "";
|
|
4278
4292
|
return n = n.trim(), Yn(n) ? n == '"all@all"' || n == "all@all" ? !0 : n.split(",").map((a) => a.trim()).includes(e) : !1;
|
|
4279
4293
|
}
|
|
@@ -4283,9 +4297,9 @@ const fa = {
|
|
|
4283
4297
|
"org-agent": "代理商平台",
|
|
4284
4298
|
"org-admin": "超管平台"
|
|
4285
4299
|
};
|
|
4286
|
-
let
|
|
4287
|
-
const
|
|
4288
|
-
system_type:
|
|
4300
|
+
let us = fa[Nt().syAppConnectRole] ? fa[Nt().syAppConnectRole] : "管理系统";
|
|
4301
|
+
const Jl = window.shiyunProductInfo || {
|
|
4302
|
+
system_type: us
|
|
4289
4303
|
}, Zt = Be("cloudSdkProductStore", {
|
|
4290
4304
|
state: () => ({
|
|
4291
4305
|
// 默认应用信息
|
|
@@ -4313,7 +4327,7 @@ const ql = window.shiyunProductInfo || {
|
|
|
4313
4327
|
*
|
|
4314
4328
|
*/
|
|
4315
4329
|
privacy_url: "//api.10yun.com/privacy.html",
|
|
4316
|
-
system_type:
|
|
4330
|
+
system_type: us
|
|
4317
4331
|
// 后台系统类型
|
|
4318
4332
|
},
|
|
4319
4333
|
currMenuInfo: {},
|
|
@@ -4324,7 +4338,7 @@ const ql = window.shiyunProductInfo || {
|
|
|
4324
4338
|
menuOriginal: []
|
|
4325
4339
|
}),
|
|
4326
4340
|
getters: {
|
|
4327
|
-
openProductInfo: (e) => Object.assign({}, e.defaultProductInfo,
|
|
4341
|
+
openProductInfo: (e) => Object.assign({}, e.defaultProductInfo, Jl),
|
|
4328
4342
|
// 当前展开
|
|
4329
4343
|
menuCurrOpeneds: (e) => e.menuOpeneds,
|
|
4330
4344
|
// 当前拥有
|
|
@@ -4355,7 +4369,7 @@ const ql = window.shiyunProductInfo || {
|
|
|
4355
4369
|
let i = [];
|
|
4356
4370
|
for (let l in s) {
|
|
4357
4371
|
let c = s[l];
|
|
4358
|
-
c =
|
|
4372
|
+
c = ls(c, l), c.isMenu === !0 && (c.isRbac && !c.path || (c.children && c.children.length > 0 && (c.children = t(c.children, o)), c.collapsable === !1 && e.push(c.name), Kt(c.name, o) && i.push(c)));
|
|
4359
4373
|
}
|
|
4360
4374
|
return i;
|
|
4361
4375
|
}
|
|
@@ -4367,36 +4381,36 @@ const ql = window.shiyunProductInfo || {
|
|
|
4367
4381
|
return this.menuTree;
|
|
4368
4382
|
}
|
|
4369
4383
|
}
|
|
4370
|
-
}),
|
|
4384
|
+
}), zl = [
|
|
4371
4385
|
{
|
|
4372
4386
|
meta: { title: "登录", isAlone: !0 },
|
|
4373
4387
|
isAlone: !0,
|
|
4374
4388
|
name: "login",
|
|
4375
4389
|
path: "/login",
|
|
4376
|
-
component: () => import("./login-
|
|
4390
|
+
component: () => import("./login-BCLKLSlo.js")
|
|
4377
4391
|
}
|
|
4378
|
-
],
|
|
4392
|
+
], Zl = [
|
|
4379
4393
|
{
|
|
4380
4394
|
meta: { title: "不建议单独运行", isAlone: !0 },
|
|
4381
4395
|
isAlone: !0,
|
|
4382
4396
|
name: "alone_run",
|
|
4383
4397
|
path: "/alone_run",
|
|
4384
|
-
component: () => import("./alone_run-
|
|
4398
|
+
component: () => import("./alone_run-B72RhBny.js")
|
|
4385
4399
|
},
|
|
4386
4400
|
{
|
|
4387
4401
|
meta: { title: "错误", isAlone: !0 },
|
|
4388
4402
|
isAlone: !0,
|
|
4389
4403
|
name: "404",
|
|
4390
4404
|
path: "/:catchAll(.*)",
|
|
4391
|
-
component: () => import("./404-
|
|
4405
|
+
component: () => import("./404-DE7Pk-6G.js")
|
|
4392
4406
|
}
|
|
4393
|
-
],
|
|
4407
|
+
], ec = [
|
|
4394
4408
|
{
|
|
4395
4409
|
meta: { title: "空页面", isAlone: !1 },
|
|
4396
4410
|
isAlone: !1,
|
|
4397
4411
|
name: "none",
|
|
4398
4412
|
path: "/none",
|
|
4399
|
-
component: () => import("./none-
|
|
4413
|
+
component: () => import("./none-wMSqEt4-.js")
|
|
4400
4414
|
}
|
|
4401
4415
|
], en = Be("cloudSdkPermissionStore", {
|
|
4402
4416
|
state: () => ({
|
|
@@ -4427,13 +4441,13 @@ const ql = window.shiyunProductInfo || {
|
|
|
4427
4441
|
* @param {*} router
|
|
4428
4442
|
*/
|
|
4429
4443
|
SA_PERMS_ROUTER_ADD(e, t) {
|
|
4430
|
-
t = t || "", t != "console_passport" && e.addRoute(...
|
|
4444
|
+
t = t || "", t != "console_passport" && e.addRoute(...zl), e.addRoute(...Zl), e.addRoute(...ec);
|
|
4431
4445
|
},
|
|
4432
4446
|
/**
|
|
4433
4447
|
* 验证路由
|
|
4434
4448
|
*/
|
|
4435
4449
|
SA_PERMS_ROUTER_CHECK(e) {
|
|
4436
|
-
let n =
|
|
4450
|
+
let n = ls(e).name;
|
|
4437
4451
|
return !!(this.whiteList.includes(n) || Kt(n, this.rbacLastStr));
|
|
4438
4452
|
},
|
|
4439
4453
|
SA_PERMS_ROUTER_SET(e) {
|
|
@@ -4442,20 +4456,20 @@ const ql = window.shiyunProductInfo || {
|
|
|
4442
4456
|
}
|
|
4443
4457
|
}
|
|
4444
4458
|
});
|
|
4445
|
-
function
|
|
4459
|
+
function tc() {
|
|
4446
4460
|
return new Promise(async (e) => {
|
|
4447
4461
|
Pt().clear_cache(), Ue().clear_cache(), fr().clear_cache(), Te().clear_cache(), Zt().clear_cache(), window.gbIdbObj.idbSetItem("clear_cache", "handle").then((t) => {
|
|
4448
4462
|
e();
|
|
4449
4463
|
});
|
|
4450
4464
|
});
|
|
4451
4465
|
}
|
|
4452
|
-
function
|
|
4466
|
+
function nc() {
|
|
4453
4467
|
return {
|
|
4454
4468
|
computed: {
|
|
4455
4469
|
...Fe(Tt, ["qiankunExistState"]),
|
|
4456
4470
|
...Fe(Pt, ["languageName", "languageList", "languageSelect"]),
|
|
4457
4471
|
...Fe(Ue, ["themesName", "themesList", "layoutNavTabs", "layoutSidebarState"]),
|
|
4458
|
-
...Fe(
|
|
4472
|
+
...Fe(is, [
|
|
4459
4473
|
"windowWidth",
|
|
4460
4474
|
"windowHeight",
|
|
4461
4475
|
"windowActive",
|
|
@@ -4497,7 +4511,7 @@ const we = (e, t) => {
|
|
|
4497
4511
|
for (const [r, a] of t)
|
|
4498
4512
|
n[r] = a;
|
|
4499
4513
|
return n;
|
|
4500
|
-
},
|
|
4514
|
+
}, rc = {
|
|
4501
4515
|
props: {
|
|
4502
4516
|
className: ""
|
|
4503
4517
|
},
|
|
@@ -4519,11 +4533,11 @@ const we = (e, t) => {
|
|
|
4519
4533
|
},
|
|
4520
4534
|
methods: {}
|
|
4521
4535
|
};
|
|
4522
|
-
function
|
|
4536
|
+
function ac(e, t, n, r, a, s) {
|
|
4523
4537
|
const o = B("router-view");
|
|
4524
4538
|
return U(), J(o, { key: a.routeRefreshNum }, {
|
|
4525
4539
|
default: R(({ Component: i, route: l }) => [
|
|
4526
|
-
w(
|
|
4540
|
+
w(Vs, {
|
|
4527
4541
|
name: a.routeRefreshAnimation,
|
|
4528
4542
|
mode: "out-in",
|
|
4529
4543
|
appear: ""
|
|
@@ -4533,7 +4547,7 @@ function tc(e, t, n, r, a, s) {
|
|
|
4533
4547
|
class: va(n.className),
|
|
4534
4548
|
key: l.path
|
|
4535
4549
|
}, [
|
|
4536
|
-
(U(), J(
|
|
4550
|
+
(U(), J(Gs(i)))
|
|
4537
4551
|
], 2))
|
|
4538
4552
|
]),
|
|
4539
4553
|
_: 2
|
|
@@ -4542,7 +4556,7 @@ function tc(e, t, n, r, a, s) {
|
|
|
4542
4556
|
_: 1
|
|
4543
4557
|
});
|
|
4544
4558
|
}
|
|
4545
|
-
const
|
|
4559
|
+
const sc = /* @__PURE__ */ we(rc, [["render", ac]]), oc = {
|
|
4546
4560
|
name: "HeaderSysSettDrawer",
|
|
4547
4561
|
components: {},
|
|
4548
4562
|
props: {
|
|
@@ -4593,8 +4607,8 @@ const nc = /* @__PURE__ */ we(ec, [["render", tc]]), rc = {
|
|
|
4593
4607
|
this.$parent.frameHandleCommand("clearCache");
|
|
4594
4608
|
}
|
|
4595
4609
|
}
|
|
4596
|
-
},
|
|
4597
|
-
function
|
|
4610
|
+
}, ic = { class: "cloud-sett-drawer-body" }, lc = { class: "cloud-sett-drawer-skin" };
|
|
4611
|
+
function cc(e, t, n, r, a, s) {
|
|
4598
4612
|
const o = B("el-card"), i = B("el-form-item"), l = B("el-option"), c = B("el-select"), f = B("cv-icons"), u = B("el-button"), m = B("el-switch"), p = B("el-form"), A = B("el-drawer");
|
|
4599
4613
|
return U(), J(A, {
|
|
4600
4614
|
title: "系统设置",
|
|
@@ -4605,7 +4619,7 @@ function oc(e, t, n, r, a, s) {
|
|
|
4605
4619
|
"before-close": s.frameTopSysSettClose
|
|
4606
4620
|
}, {
|
|
4607
4621
|
default: R(() => [
|
|
4608
|
-
k("div",
|
|
4622
|
+
k("div", ic, [
|
|
4609
4623
|
w(p, {
|
|
4610
4624
|
labelWidth: "auto",
|
|
4611
4625
|
"label-position": "left"
|
|
@@ -4616,7 +4630,7 @@ function oc(e, t, n, r, a, s) {
|
|
|
4616
4630
|
"label-position": "top"
|
|
4617
4631
|
}, {
|
|
4618
4632
|
default: R(() => [
|
|
4619
|
-
k("div",
|
|
4633
|
+
k("div", lc, [
|
|
4620
4634
|
w(o),
|
|
4621
4635
|
w(o),
|
|
4622
4636
|
w(o)
|
|
@@ -4754,7 +4768,7 @@ function oc(e, t, n, r, a, s) {
|
|
|
4754
4768
|
_: 1
|
|
4755
4769
|
}, 8, ["modelValue", "before-close"]);
|
|
4756
4770
|
}
|
|
4757
|
-
const
|
|
4771
|
+
const uc = /* @__PURE__ */ we(oc, [["render", cc]]), _a = (e) => Math.pow(e, 3), fc = (e) => e < 0.5 ? _a(e * 2) / 2 : 1 - _a((1 - e) * 2) / 2, _c = {
|
|
4758
4772
|
name: "SameNavTabs",
|
|
4759
4773
|
data() {
|
|
4760
4774
|
return {
|
|
@@ -4804,7 +4818,7 @@ const ic = /* @__PURE__ */ we(rc, [["render", oc]]), _a = (e) => Math.pow(e, 3),
|
|
|
4804
4818
|
changeGdtBase() {
|
|
4805
4819
|
const e = this.$refs.navScroll1.wrap, t = Date.now(), n = e.scrollLeft, r = window.requestAnimationFrame || ((s) => setTimeout(s, 16)), a = () => {
|
|
4806
4820
|
const s = (Date.now() - t) / 500;
|
|
4807
|
-
s < 1 ? (e.scrollLeft = n * (1 -
|
|
4821
|
+
s < 1 ? (e.scrollLeft = n * (1 - fc(s)), r(a)) : e.scrollLeft = 0;
|
|
4808
4822
|
};
|
|
4809
4823
|
r(a);
|
|
4810
4824
|
},
|
|
@@ -4876,11 +4890,11 @@ const ic = /* @__PURE__ */ we(rc, [["render", oc]]), _a = (e) => Math.pow(e, 3),
|
|
|
4876
4890
|
this.contextMenuVisible = !1;
|
|
4877
4891
|
}
|
|
4878
4892
|
}
|
|
4879
|
-
},
|
|
4880
|
-
function
|
|
4893
|
+
}, dc = { class: "cloud-navtabs__wrap" }, mc = { class: "cloud-navtabs__box" }, hc = { class: "cloud-navtabs__main" }, gc = { class: "cloud-navtabs__tags" };
|
|
4894
|
+
function pc(e, t, n, r, a, s) {
|
|
4881
4895
|
const o = B("cv-icons"), i = B("cv-btn-base"), l = B("el-tag"), c = B("el-scrollbar"), f = B("cv-btn-text");
|
|
4882
|
-
return U(), Q("div",
|
|
4883
|
-
k("div",
|
|
4896
|
+
return U(), Q("div", dc, [
|
|
4897
|
+
k("div", mc, [
|
|
4884
4898
|
w(i, {
|
|
4885
4899
|
class: "btn-opt-left",
|
|
4886
4900
|
onClick: s.changeGdtLeft
|
|
@@ -4890,10 +4904,10 @@ function mc(e, t, n, r, a, s) {
|
|
|
4890
4904
|
]),
|
|
4891
4905
|
_: 1
|
|
4892
4906
|
}, 8, ["onClick"]),
|
|
4893
|
-
k("div",
|
|
4907
|
+
k("div", hc, [
|
|
4894
4908
|
w(c, { ref: "navScroll1" }, {
|
|
4895
4909
|
default: R(() => [
|
|
4896
|
-
k("div",
|
|
4910
|
+
k("div", gc, [
|
|
4897
4911
|
(U(!0), Q(he, null, Xe(a.sett_tags, (u, m) => (U(), J(l, {
|
|
4898
4912
|
id: a.activeTag == u.name ? "tagId" : "",
|
|
4899
4913
|
class: va(["tag xxxxxx-tag", a.activeTag == u.name ? "active" : ""]),
|
|
@@ -4902,7 +4916,7 @@ function mc(e, t, n, r, a, s) {
|
|
|
4902
4916
|
onClose: (p) => s.removeTag(u, m),
|
|
4903
4917
|
onClick: (p) => s.changeMenu(u),
|
|
4904
4918
|
"disable-transitions": "",
|
|
4905
|
-
onContextmenu:
|
|
4919
|
+
onContextmenu: $s(s.openContextMenu, ["prevent"])
|
|
4906
4920
|
}, {
|
|
4907
4921
|
default: R(() => [
|
|
4908
4922
|
te(ne(u.title), 1)
|
|
@@ -4996,7 +5010,7 @@ function mc(e, t, n, r, a, s) {
|
|
|
4996
5010
|
])
|
|
4997
5011
|
]);
|
|
4998
5012
|
}
|
|
4999
|
-
const
|
|
5013
|
+
const Ec = /* @__PURE__ */ we(_c, [["render", pc]]), bc = {
|
|
5000
5014
|
name: "SidebarMenuItem",
|
|
5001
5015
|
props: {
|
|
5002
5016
|
menuData: {
|
|
@@ -5041,14 +5055,14 @@ const hc = /* @__PURE__ */ we(cc, [["render", mc]]), gc = {
|
|
|
5041
5055
|
this.jumpsAuth(e.path);
|
|
5042
5056
|
}
|
|
5043
5057
|
}
|
|
5044
|
-
},
|
|
5058
|
+
}, Sc = { class: "cloud-subapp-menu-icon" }, vc = { key: 1 }, Ac = {
|
|
5045
5059
|
key: 0,
|
|
5046
5060
|
class: "cloud-subapp-menu-icon"
|
|
5047
|
-
},
|
|
5061
|
+
}, yc = {
|
|
5048
5062
|
key: 1,
|
|
5049
5063
|
class: "cloud-subapp-menu-icon"
|
|
5050
5064
|
};
|
|
5051
|
-
function
|
|
5065
|
+
function Nc(e, t, n, r, a, s) {
|
|
5052
5066
|
const o = B("cv-icons"), i = B("SidebarMenuItem", !0), l = B("el-sub-menu"), c = B("cv-badge"), f = B("el-menu-item");
|
|
5053
5067
|
return U(!0), Q(he, null, Xe(n.menuData, (u) => (U(), Q(he, null, [
|
|
5054
5068
|
u.isMenu == !0 ? (U(), Q(he, { key: 0 }, [
|
|
@@ -5057,13 +5071,13 @@ function vc(e, t, n, r, a, s) {
|
|
|
5057
5071
|
index: u.name
|
|
5058
5072
|
}, {
|
|
5059
5073
|
title: R(() => [
|
|
5060
|
-
k("div",
|
|
5074
|
+
k("div", Sc, [
|
|
5061
5075
|
u.meta.icon ? (U(), J(o, {
|
|
5062
5076
|
key: 0,
|
|
5063
5077
|
type: u.meta.icon,
|
|
5064
5078
|
size: "16"
|
|
5065
5079
|
}, null, 8, ["type"])) : ue("", !0),
|
|
5066
|
-
!u.meta.icon && n.collapse ? (U(), Q("span",
|
|
5080
|
+
!u.meta.icon && n.collapse ? (U(), Q("span", vc, ne(u.meta.short || u.meta.title), 1)) : ue("", !0)
|
|
5067
5081
|
]),
|
|
5068
5082
|
k("span", null, ne(u.meta.title || u.meta.short), 1)
|
|
5069
5083
|
]),
|
|
@@ -5085,7 +5099,7 @@ function vc(e, t, n, r, a, s) {
|
|
|
5085
5099
|
te(ne(u.meta.short || u.meta.title), 1)
|
|
5086
5100
|
]),
|
|
5087
5101
|
default: R(() => [
|
|
5088
|
-
!u.meta.icon && n.collapse && !n.isChildren ? (U(), Q("div",
|
|
5102
|
+
!u.meta.icon && n.collapse && !n.isChildren ? (U(), Q("div", Ac, ne(u.meta.short || u.meta.title), 1)) : (U(), Q("div", yc, [
|
|
5089
5103
|
u.meta.icon ? (U(), J(o, {
|
|
5090
5104
|
key: 0,
|
|
5091
5105
|
type: u.meta.icon,
|
|
@@ -5108,10 +5122,10 @@ function vc(e, t, n, r, a, s) {
|
|
|
5108
5122
|
], 64)) : ue("", !0)
|
|
5109
5123
|
], 64))), 256);
|
|
5110
5124
|
}
|
|
5111
|
-
const
|
|
5125
|
+
const Tc = /* @__PURE__ */ we(bc, [["render", Nc]]), Oc = {
|
|
5112
5126
|
name: "SidebarMenuBox",
|
|
5113
5127
|
components: {
|
|
5114
|
-
SidebarMenuItem:
|
|
5128
|
+
SidebarMenuItem: Tc
|
|
5115
5129
|
},
|
|
5116
5130
|
props: {
|
|
5117
5131
|
collapse: {
|
|
@@ -5152,12 +5166,12 @@ const Ac = /* @__PURE__ */ we(gc, [["render", vc]]), yc = {
|
|
|
5152
5166
|
handleClose(e, t) {
|
|
5153
5167
|
}
|
|
5154
5168
|
}
|
|
5155
|
-
},
|
|
5156
|
-
function
|
|
5169
|
+
}, Ic = { class: "cloud-subapp-wrap" }, Cc = { class: "cloud-sidebar__title" }, Lc = { class: "cloud-subapp-menu-box" };
|
|
5170
|
+
function wc(e, t, n, r, a, s) {
|
|
5157
5171
|
const o = B("SidebarMenuItem"), i = B("el-menu");
|
|
5158
|
-
return U(), Q("div",
|
|
5159
|
-
k("div",
|
|
5160
|
-
k("div",
|
|
5172
|
+
return U(), Q("div", Ic, [
|
|
5173
|
+
k("div", Cc, ne(e.openProductInfo.info_title), 1),
|
|
5174
|
+
k("div", Lc, [
|
|
5161
5175
|
w(i, {
|
|
5162
5176
|
collapse: n.collapse,
|
|
5163
5177
|
"default-openeds": a.menuDefaultOpeneds,
|
|
@@ -5177,7 +5191,7 @@ function Ic(e, t, n, r, a, s) {
|
|
|
5177
5191
|
])
|
|
5178
5192
|
]);
|
|
5179
5193
|
}
|
|
5180
|
-
const
|
|
5194
|
+
const Dc = /* @__PURE__ */ we(Oc, [["render", wc]]), Rc = {
|
|
5181
5195
|
name: "ChangePassword",
|
|
5182
5196
|
props: {
|
|
5183
5197
|
modelValue: {
|
|
@@ -5228,8 +5242,8 @@ const Cc = /* @__PURE__ */ we(yc, [["render", Ic]]), Lc = {
|
|
|
5228
5242
|
});
|
|
5229
5243
|
}
|
|
5230
5244
|
}
|
|
5231
|
-
},
|
|
5232
|
-
function
|
|
5245
|
+
}, Pc = { class: "dialog-footer" };
|
|
5246
|
+
function kc(e, t, n, r, a, s) {
|
|
5233
5247
|
const o = B("el-input"), i = B("el-form-item"), l = B("el-form"), c = B("el-button"), f = B("el-dialog");
|
|
5234
5248
|
return U(), J(f, {
|
|
5235
5249
|
width: 520,
|
|
@@ -5239,7 +5253,7 @@ function Dc(e, t, n, r, a, s) {
|
|
|
5239
5253
|
onClose: s.handleCancel
|
|
5240
5254
|
}, {
|
|
5241
5255
|
footer: R(() => [
|
|
5242
|
-
k("div",
|
|
5256
|
+
k("div", Pc, [
|
|
5243
5257
|
w(c, { onClick: s.handleCancel }, {
|
|
5244
5258
|
default: R(() => t[4] || (t[4] = [
|
|
5245
5259
|
te("取 消")
|
|
@@ -5312,7 +5326,7 @@ function Dc(e, t, n, r, a, s) {
|
|
|
5312
5326
|
_: 1
|
|
5313
5327
|
}, 8, ["modelValue", "onClose"]);
|
|
5314
5328
|
}
|
|
5315
|
-
const
|
|
5329
|
+
const Fc = /* @__PURE__ */ we(Rc, [["render", kc]]), Mc = {
|
|
5316
5330
|
name: "SwitchBusiness",
|
|
5317
5331
|
props: {
|
|
5318
5332
|
modelValue: {
|
|
@@ -5396,11 +5410,11 @@ const Rc = /* @__PURE__ */ we(Lc, [["render", Dc]]), Pc = {
|
|
|
5396
5410
|
// return segs
|
|
5397
5411
|
// }
|
|
5398
5412
|
}
|
|
5399
|
-
},
|
|
5400
|
-
function
|
|
5413
|
+
}, Uc = { class: "cloud-login-change-wrap" }, Bc = { class: "cloud-login-change-box1" }, xc = { class: "cloud-login-change-search" }, Vc = { class: "cloud-login-change-box2" }, Gc = { class: "cloud-login-change-group-box" }, $c = { class: "cloud-login-change-group-title" }, Wc = { class: "cloud-login-change-group-sublist" }, Yc = ["onClick"], Hc = { class: "cloud-login-change-item-left" }, Kc = { class: "cloud-login-change-item-left-icon" }, jc = ["src"], qc = { class: "cloud-login-change-item-right" }, Xc = { class: "cloud-login-change-item-right-label" }, Qc = { class: "cloud-login-change-item-right-label2" }, Jc = { class: "cloud-login-change-item-more" };
|
|
5414
|
+
function zc(e, t, n, r, a, s) {
|
|
5401
5415
|
const o = B("el-input"), i = B("el-button"), l = B("cv-icons");
|
|
5402
|
-
return U(), Q("div",
|
|
5403
|
-
k("div",
|
|
5416
|
+
return U(), Q("div", Uc, [
|
|
5417
|
+
k("div", Bc, [
|
|
5404
5418
|
k("div", {
|
|
5405
5419
|
class: "cloud-login-change-reset",
|
|
5406
5420
|
onClick: t[0] || (t[0] = (...c) => s.chainReselection && s.chainReselection(...c))
|
|
@@ -5410,7 +5424,7 @@ function Xc(e, t, n, r, a, s) {
|
|
|
5410
5424
|
k("p", null, "为规范平台操作、统一平台账号;以便后续提供更多的功能体验;"),
|
|
5411
5425
|
k("p", null, "后续商户人员(含管理员)登录,需进一步通过 短信 或 扫码 进行验证。")
|
|
5412
5426
|
], -1)),
|
|
5413
|
-
k("div",
|
|
5427
|
+
k("div", xc, [
|
|
5414
5428
|
w(o, {
|
|
5415
5429
|
modelValue: a.chainKeyword,
|
|
5416
5430
|
"onUpdate:modelValue": t[1] || (t[1] = (c) => a.chainKeyword = c),
|
|
@@ -5430,34 +5444,34 @@ function Xc(e, t, n, r, a, s) {
|
|
|
5430
5444
|
_: 1
|
|
5431
5445
|
}, 8, ["onClick"])
|
|
5432
5446
|
]),
|
|
5433
|
-
k("div",
|
|
5434
|
-
k("div",
|
|
5447
|
+
k("div", Vc, [
|
|
5448
|
+
k("div", Gc, [
|
|
5435
5449
|
(U(!0), Q(he, null, Xe(a.chainLastList, (c, f) => (U(), Q("div", {
|
|
5436
5450
|
class: "cloud-login-change-group-item",
|
|
5437
5451
|
key: f
|
|
5438
5452
|
}, [
|
|
5439
|
-
k("div",
|
|
5440
|
-
k("div",
|
|
5453
|
+
k("div", $c, ne(c.title || "无") + "(" + ne(c.total) + ")", 1),
|
|
5454
|
+
k("div", Wc, [
|
|
5441
5455
|
(U(!0), Q(he, null, Xe(c.list, (u, m) => (U(), Q("div", {
|
|
5442
5456
|
class: "cloud-login-change-item-bao",
|
|
5443
5457
|
key: m,
|
|
5444
5458
|
onClick: (p) => s.chainSelection(u)
|
|
5445
5459
|
}, [
|
|
5446
|
-
k("div",
|
|
5447
|
-
k("div",
|
|
5460
|
+
k("div", Hc, [
|
|
5461
|
+
k("div", Kc, [
|
|
5448
5462
|
k("img", {
|
|
5449
5463
|
src: u.business_icon_cdn
|
|
5450
|
-
}, null, 8,
|
|
5464
|
+
}, null, 8, jc)
|
|
5451
5465
|
])
|
|
5452
5466
|
]),
|
|
5453
|
-
k("div", Hc, [
|
|
5454
|
-
k("div", Kc, ne(u.business_name), 1),
|
|
5455
|
-
k("div", jc, "【" + ne(u.acc_role_type_str) + "】", 1)
|
|
5456
|
-
]),
|
|
5457
5467
|
k("div", qc, [
|
|
5468
|
+
k("div", Xc, ne(u.business_name), 1),
|
|
5469
|
+
k("div", Qc, "【" + ne(u.acc_role_type_str) + "】", 1)
|
|
5470
|
+
]),
|
|
5471
|
+
k("div", Jc, [
|
|
5458
5472
|
w(l, { type: "ElIconArrowRight" })
|
|
5459
5473
|
])
|
|
5460
|
-
], 8,
|
|
5474
|
+
], 8, Yc))), 128))
|
|
5461
5475
|
])
|
|
5462
5476
|
]))), 128))
|
|
5463
5477
|
])
|
|
@@ -5465,15 +5479,15 @@ function Xc(e, t, n, r, a, s) {
|
|
|
5465
5479
|
])
|
|
5466
5480
|
]);
|
|
5467
5481
|
}
|
|
5468
|
-
const
|
|
5482
|
+
const Zc = /* @__PURE__ */ we(Mc, [["render", zc]]), eu = {
|
|
5469
5483
|
name: "SameFrame",
|
|
5470
5484
|
components: {
|
|
5471
|
-
SidebarMenuBox:
|
|
5472
|
-
SameNavTabs:
|
|
5473
|
-
SameRouteView:
|
|
5474
|
-
HeaderSysSettDrawer:
|
|
5475
|
-
ChangePassword:
|
|
5476
|
-
SwitchBusiness:
|
|
5485
|
+
SidebarMenuBox: Dc,
|
|
5486
|
+
SameNavTabs: Ec,
|
|
5487
|
+
SameRouteView: sc,
|
|
5488
|
+
HeaderSysSettDrawer: uc,
|
|
5489
|
+
ChangePassword: Fc,
|
|
5490
|
+
SwitchBusiness: Zc
|
|
5477
5491
|
},
|
|
5478
5492
|
props: {},
|
|
5479
5493
|
data() {
|
|
@@ -5510,7 +5524,7 @@ const Qc = /* @__PURE__ */ we(Pc, [["render", Xc]]), Jc = {
|
|
|
5510
5524
|
created() {
|
|
5511
5525
|
},
|
|
5512
5526
|
mounted() {
|
|
5513
|
-
this.frameSidebarOpen = this.layoutSidebarState,
|
|
5527
|
+
this.frameSidebarOpen = this.layoutSidebarState, is().$subscribe((t, n) => {
|
|
5514
5528
|
n.windowWidth < 1061 ? this.frameSidebarOpen = "off" : this.frameSidebarOpen = "on", Ue().SA_LAYOUT_SLIDEBAR_SET(this.frameSidebarOpen);
|
|
5515
5529
|
}), window.onresize = () => {
|
|
5516
5530
|
(document.mozFullScreen || document.fullScreen || //谷歌浏览器及Webkit内核浏览器
|
|
@@ -5560,7 +5574,7 @@ const Qc = /* @__PURE__ */ we(Pc, [["render", Xc]]), Jc = {
|
|
|
5560
5574
|
cancelButtonText: "取消",
|
|
5561
5575
|
type: "warning"
|
|
5562
5576
|
}).then(() => {
|
|
5563
|
-
|
|
5577
|
+
tc().then((n) => {
|
|
5564
5578
|
window.location.reload();
|
|
5565
5579
|
});
|
|
5566
5580
|
}).catch((n) => {
|
|
@@ -5606,30 +5620,30 @@ const Qc = /* @__PURE__ */ we(Pc, [["render", Xc]]), Jc = {
|
|
|
5606
5620
|
});
|
|
5607
5621
|
}
|
|
5608
5622
|
}
|
|
5609
|
-
},
|
|
5623
|
+
}, tu = { class: "cloud-layout__wrap" }, nu = { class: "cloud-header__wrap" }, ru = { class: "cloud-header__logo" }, au = {
|
|
5610
5624
|
href: "/",
|
|
5611
5625
|
title: "官网",
|
|
5612
5626
|
class: "cloud-header__logo-a"
|
|
5613
|
-
},
|
|
5627
|
+
}, su = ["src"], ou = { class: "cloud-header__logo-title" }, iu = { class: "cloud-header__breadcrumb" }, lu = {
|
|
5614
5628
|
key: 0,
|
|
5615
5629
|
class: "chopt-num"
|
|
5616
|
-
},
|
|
5630
|
+
}, cu = {
|
|
5617
5631
|
key: 0,
|
|
5618
5632
|
class: "chopt-num"
|
|
5619
|
-
},
|
|
5620
|
-
function
|
|
5633
|
+
}, uu = { class: "cloud-header__info" }, fu = ["src"], _u = { class: "chinfo-infoname" }, du = { class: "cloud-sidebar__wrap" }, mu = { class: "cloud-pages__wrap" };
|
|
5634
|
+
function hu(e, t, n, r, a, s) {
|
|
5621
5635
|
const o = B("cv-icons"), i = B("el-breadcrumb-item"), l = B("el-breadcrumb"), c = B("el-dropdown-item"), f = B("el-dropdown-menu"), u = B("el-dropdown"), m = B("SidebarMenuBox"), p = B("SameNavTabs"), A = B("SameRouteView"), E = B("HeaderSysSettDrawer"), C = B("ChangePassword"), h = B("SwitchBusiness");
|
|
5622
|
-
return U(), Q("div",
|
|
5623
|
-
k("header",
|
|
5624
|
-
k("div",
|
|
5625
|
-
k("a",
|
|
5636
|
+
return U(), Q("div", tu, [
|
|
5637
|
+
k("header", nu, [
|
|
5638
|
+
k("div", ru, [
|
|
5639
|
+
k("a", au, [
|
|
5626
5640
|
k("img", {
|
|
5627
5641
|
class: "cloud-header__logo-img",
|
|
5628
5642
|
src: e.openProductInfo.platinfo_logo,
|
|
5629
5643
|
alt: ""
|
|
5630
|
-
}, null, 8,
|
|
5644
|
+
}, null, 8, su)
|
|
5631
5645
|
]),
|
|
5632
|
-
k("div",
|
|
5646
|
+
k("div", ou, ne(e.openProductInfo.info_title), 1)
|
|
5633
5647
|
]),
|
|
5634
5648
|
k("div", {
|
|
5635
5649
|
class: "cloud-header__opt",
|
|
@@ -5655,7 +5669,7 @@ function _u(e, t, n, r, a, s) {
|
|
|
5655
5669
|
size: "20"
|
|
5656
5670
|
})
|
|
5657
5671
|
]),
|
|
5658
|
-
k("div",
|
|
5672
|
+
k("div", iu, [
|
|
5659
5673
|
w(l, { separator: "/" }, {
|
|
5660
5674
|
default: R(() => [
|
|
5661
5675
|
(U(!0), Q(he, null, Xe(a.breadcrumbPath, (g, N) => (U(), Q(he, null, [
|
|
@@ -5690,7 +5704,7 @@ function _u(e, t, n, r, a, s) {
|
|
|
5690
5704
|
type: "ElIconChatLineRound",
|
|
5691
5705
|
size: "20"
|
|
5692
5706
|
}),
|
|
5693
|
-
a.chatUnreadTotal > 0 ? (U(), Q("em",
|
|
5707
|
+
a.chatUnreadTotal > 0 ? (U(), Q("em", lu, ne(a.chatUnreadTotal > 99 ? "99+" : a.chatUnreadTotal), 1)) : ue("", !0)
|
|
5694
5708
|
]),
|
|
5695
5709
|
k("div", {
|
|
5696
5710
|
class: "cloud-header__opt chopt-relative",
|
|
@@ -5700,9 +5714,9 @@ function _u(e, t, n, r, a, s) {
|
|
|
5700
5714
|
type: "ElIconMessage",
|
|
5701
5715
|
size: "20"
|
|
5702
5716
|
}),
|
|
5703
|
-
a.emailUnreadTotal > 0 ? (U(), Q("em",
|
|
5717
|
+
a.emailUnreadTotal > 0 ? (U(), Q("em", cu, ne(a.emailUnreadTotal > 99 ? "99+" : a.emailUnreadTotal), 1)) : ue("", !0)
|
|
5704
5718
|
]),
|
|
5705
|
-
k("div",
|
|
5719
|
+
k("div", uu, [
|
|
5706
5720
|
w(u, {
|
|
5707
5721
|
onCommand: s.frameHandleCommand,
|
|
5708
5722
|
"popper-class": "cloud-header__info_dropdown"
|
|
@@ -5763,8 +5777,8 @@ function _u(e, t, n, r, a, s) {
|
|
|
5763
5777
|
class: "chinfo-avatar",
|
|
5764
5778
|
src: e.accountInfo.account_avatar_cdn,
|
|
5765
5779
|
title: "头像"
|
|
5766
|
-
}, null, 8,
|
|
5767
|
-
k("div",
|
|
5780
|
+
}, null, 8, fu),
|
|
5781
|
+
k("div", _u, ne(s.headerInfoName), 1),
|
|
5768
5782
|
w(o, { type: "ElIconArrowDown" })
|
|
5769
5783
|
])
|
|
5770
5784
|
]),
|
|
@@ -5800,12 +5814,12 @@ function _u(e, t, n, r, a, s) {
|
|
|
5800
5814
|
})
|
|
5801
5815
|
])
|
|
5802
5816
|
]),
|
|
5803
|
-
k("section",
|
|
5817
|
+
k("section", du, [
|
|
5804
5818
|
w(m, {
|
|
5805
5819
|
collapse: a.frameSidebarOpen == "off"
|
|
5806
5820
|
}, null, 8, ["collapse"])
|
|
5807
5821
|
]),
|
|
5808
|
-
k("section",
|
|
5822
|
+
k("section", mu, [
|
|
5809
5823
|
Aa(w(p, null, null, 512), [
|
|
5810
5824
|
[ya, e.layoutNavTabs == "on"]
|
|
5811
5825
|
]),
|
|
@@ -5830,7 +5844,7 @@ function _u(e, t, n, r, a, s) {
|
|
|
5830
5844
|
}, null, 8, ["modelValue", "onReselectFunc", "onSelectFunc"])) : ue("", !0)
|
|
5831
5845
|
]);
|
|
5832
5846
|
}
|
|
5833
|
-
const
|
|
5847
|
+
const Yf = /* @__PURE__ */ we(eu, [["render", hu]]), gu = {
|
|
5834
5848
|
data() {
|
|
5835
5849
|
return {
|
|
5836
5850
|
watemarkText: "shiyun"
|
|
@@ -5856,16 +5870,16 @@ const Gf = /* @__PURE__ */ we(Jc, [["render", _u]]), du = {
|
|
|
5856
5870
|
}
|
|
5857
5871
|
}
|
|
5858
5872
|
};
|
|
5859
|
-
function
|
|
5873
|
+
function pu(e, t, n, r, a, s) {
|
|
5860
5874
|
const o = B("el-watermark");
|
|
5861
|
-
return U(), J(o,
|
|
5875
|
+
return U(), J(o, Ws(s.watemarkConf, { style: { height: "100%" } }), {
|
|
5862
5876
|
default: R(() => [
|
|
5863
|
-
|
|
5877
|
+
Ys(e.$slots, "default")
|
|
5864
5878
|
]),
|
|
5865
5879
|
_: 3
|
|
5866
5880
|
}, 16);
|
|
5867
5881
|
}
|
|
5868
|
-
const
|
|
5882
|
+
const Hf = /* @__PURE__ */ we(gu, [["render", pu]]);
|
|
5869
5883
|
(function() {
|
|
5870
5884
|
if (typeof EventTarget < "u") {
|
|
5871
5885
|
let e = EventTarget.prototype.addEventListener;
|
|
@@ -5874,10 +5888,10 @@ const $f = /* @__PURE__ */ we(du, [["render", mu]]);
|
|
|
5874
5888
|
};
|
|
5875
5889
|
}
|
|
5876
5890
|
})();
|
|
5877
|
-
const
|
|
5878
|
-
class
|
|
5891
|
+
const Eu = 60 * 60 * 24 * 7;
|
|
5892
|
+
class bu {
|
|
5879
5893
|
constructor(t) {
|
|
5880
|
-
this.prefix = t.prefix || "", this.expired = t.expired ||
|
|
5894
|
+
this.prefix = t.prefix || "", this.expired = t.expired || Eu, this.crypto = !!t.crypto, this.merge = !!t.merge, this.keyExpired = {
|
|
5881
5895
|
session: {},
|
|
5882
5896
|
local: {}
|
|
5883
5897
|
}, this.keyGroup = {
|
|
@@ -5994,7 +6008,7 @@ class gu {
|
|
|
5994
6008
|
this._deleteKey("local");
|
|
5995
6009
|
}
|
|
5996
6010
|
}
|
|
5997
|
-
function
|
|
6011
|
+
function Su() {
|
|
5998
6012
|
try {
|
|
5999
6013
|
if (typeof indexedDB < "u")
|
|
6000
6014
|
return indexedDB;
|
|
@@ -6010,8 +6024,8 @@ function pu() {
|
|
|
6010
6024
|
return;
|
|
6011
6025
|
}
|
|
6012
6026
|
}
|
|
6013
|
-
var ut =
|
|
6014
|
-
function
|
|
6027
|
+
var ut = Su();
|
|
6028
|
+
function vu() {
|
|
6015
6029
|
try {
|
|
6016
6030
|
if (!ut || !ut.open)
|
|
6017
6031
|
return !1;
|
|
@@ -6061,13 +6075,13 @@ function dr() {
|
|
|
6061
6075
|
}
|
|
6062
6076
|
const Hn = "local-forage-detect-blob-support";
|
|
6063
6077
|
let $t;
|
|
6064
|
-
const be = {},
|
|
6065
|
-
function
|
|
6078
|
+
const be = {}, Au = Object.prototype.toString, kt = "readonly", tn = "readwrite";
|
|
6079
|
+
function yu(e) {
|
|
6066
6080
|
for (var t = e.length, n = new ArrayBuffer(t), r = new Uint8Array(n), a = 0; a < t; a++)
|
|
6067
6081
|
r[a] = e.charCodeAt(a);
|
|
6068
6082
|
return n;
|
|
6069
6083
|
}
|
|
6070
|
-
function
|
|
6084
|
+
function Nu(e) {
|
|
6071
6085
|
return new F(function(t) {
|
|
6072
6086
|
var n = e.transaction(Hn, tn), r = _r([""]);
|
|
6073
6087
|
n.objectStore(Hn).put(r, "key"), n.onabort = function(a) {
|
|
@@ -6082,8 +6096,8 @@ function vu(e) {
|
|
|
6082
6096
|
return !1;
|
|
6083
6097
|
});
|
|
6084
6098
|
}
|
|
6085
|
-
function
|
|
6086
|
-
return typeof $t == "boolean" ? F.resolve($t) :
|
|
6099
|
+
function Tu(e) {
|
|
6100
|
+
return typeof $t == "boolean" ? F.resolve($t) : Nu(e).then(function(t) {
|
|
6087
6101
|
return $t = t, $t;
|
|
6088
6102
|
});
|
|
6089
6103
|
}
|
|
@@ -6105,9 +6119,9 @@ function jn(e, t) {
|
|
|
6105
6119
|
if (r)
|
|
6106
6120
|
return r.reject(t), r.promise;
|
|
6107
6121
|
}
|
|
6108
|
-
function
|
|
6122
|
+
function fs(e, t) {
|
|
6109
6123
|
return new F(function(n, r) {
|
|
6110
|
-
if (be[e.name] = be[e.name] ||
|
|
6124
|
+
if (be[e.name] = be[e.name] || hs(), e.db)
|
|
6111
6125
|
if (t)
|
|
6112
6126
|
jt(e), e.db.close();
|
|
6113
6127
|
else
|
|
@@ -6134,12 +6148,12 @@ function cs(e, t) {
|
|
|
6134
6148
|
});
|
|
6135
6149
|
}
|
|
6136
6150
|
function mr(e) {
|
|
6137
|
-
return
|
|
6151
|
+
return fs(e, !1);
|
|
6138
6152
|
}
|
|
6139
6153
|
function hr(e) {
|
|
6140
|
-
return
|
|
6154
|
+
return fs(e, !0);
|
|
6141
6155
|
}
|
|
6142
|
-
function
|
|
6156
|
+
function _s(e, t) {
|
|
6143
6157
|
if (!e.db)
|
|
6144
6158
|
return !0;
|
|
6145
6159
|
var n = !e.db.objectStoreNames.contains(e.storeName), r = e.version < e.db.version, a = e.version > e.db.version;
|
|
@@ -6152,7 +6166,7 @@ function us(e, t) {
|
|
|
6152
6166
|
}
|
|
6153
6167
|
return !1;
|
|
6154
6168
|
}
|
|
6155
|
-
function
|
|
6169
|
+
function Ou(e) {
|
|
6156
6170
|
return new F(function(t, n) {
|
|
6157
6171
|
var r = new FileReader();
|
|
6158
6172
|
r.onerror = n, r.onloadend = function(a) {
|
|
@@ -6165,14 +6179,14 @@ function yu(e) {
|
|
|
6165
6179
|
}, r.readAsBinaryString(e);
|
|
6166
6180
|
});
|
|
6167
6181
|
}
|
|
6168
|
-
function
|
|
6169
|
-
var t =
|
|
6182
|
+
function ds(e) {
|
|
6183
|
+
var t = yu(atob(e.data));
|
|
6170
6184
|
return _r([t], { type: e.type });
|
|
6171
6185
|
}
|
|
6172
|
-
function
|
|
6186
|
+
function ms(e) {
|
|
6173
6187
|
return e && e.__local_forage_encoded_blob;
|
|
6174
6188
|
}
|
|
6175
|
-
function
|
|
6189
|
+
function Iu(e) {
|
|
6176
6190
|
var t = this, n = t._initReady().then(function() {
|
|
6177
6191
|
var r = be[t._dbInfo.name];
|
|
6178
6192
|
if (r && r.dbReady)
|
|
@@ -6180,13 +6194,13 @@ function Nu(e) {
|
|
|
6180
6194
|
});
|
|
6181
6195
|
return ot(n, e, e), n;
|
|
6182
6196
|
}
|
|
6183
|
-
function
|
|
6197
|
+
function Cu(e) {
|
|
6184
6198
|
jt(e);
|
|
6185
6199
|
for (var t = be[e.name], n = t.forages, r = 0; r < n.length; r++) {
|
|
6186
6200
|
const a = n[r];
|
|
6187
6201
|
a._dbInfo.db && (a._dbInfo.db.close(), a._dbInfo.db = null);
|
|
6188
6202
|
}
|
|
6189
|
-
return e.db = null, mr(e).then((a) => (e.db = a,
|
|
6203
|
+
return e.db = null, mr(e).then((a) => (e.db = a, _s(e) ? hr(e) : a)).then((a) => {
|
|
6190
6204
|
e.db = t.db = a;
|
|
6191
6205
|
for (var s = 0; s < n.length; s++)
|
|
6192
6206
|
n[s]._dbInfo.db = a;
|
|
@@ -6206,13 +6220,13 @@ function Re(e, t, n, r) {
|
|
|
6206
6220
|
e.storeName
|
|
6207
6221
|
) && e.version <= e.db.version)
|
|
6208
6222
|
return e.db && (e.version = e.db.version + 1), hr(e);
|
|
6209
|
-
}).then(() =>
|
|
6223
|
+
}).then(() => Cu(e).then(function() {
|
|
6210
6224
|
Re(e, t, n, r - 1);
|
|
6211
6225
|
})).catch(n);
|
|
6212
6226
|
n(s);
|
|
6213
6227
|
}
|
|
6214
6228
|
}
|
|
6215
|
-
function
|
|
6229
|
+
function hs() {
|
|
6216
6230
|
return {
|
|
6217
6231
|
// Running localForages sharing a database.
|
|
6218
6232
|
forages: [],
|
|
@@ -6224,7 +6238,7 @@ function ds() {
|
|
|
6224
6238
|
deferredOperations: []
|
|
6225
6239
|
};
|
|
6226
6240
|
}
|
|
6227
|
-
function
|
|
6241
|
+
function Lu(e) {
|
|
6228
6242
|
var t = this, n = {
|
|
6229
6243
|
db: null
|
|
6230
6244
|
};
|
|
@@ -6232,7 +6246,7 @@ function Ou(e) {
|
|
|
6232
6246
|
for (var r in e)
|
|
6233
6247
|
n[r] = e[r];
|
|
6234
6248
|
var a = be[n.name];
|
|
6235
|
-
a || (a =
|
|
6249
|
+
a || (a = hs(), be[n.name] = a), a.forages.push(t), t._initReady || (t._initReady = t.ready, t.ready = Iu);
|
|
6236
6250
|
var s = [];
|
|
6237
6251
|
function o() {
|
|
6238
6252
|
return F.resolve();
|
|
@@ -6245,7 +6259,7 @@ function Ou(e) {
|
|
|
6245
6259
|
return F.all(s).then(function() {
|
|
6246
6260
|
return n.db = a.db, mr(n);
|
|
6247
6261
|
}).then(function(f) {
|
|
6248
|
-
return n.db = f,
|
|
6262
|
+
return n.db = f, _s(n, t._defaultConfig.version) ? hr(n) : f;
|
|
6249
6263
|
}).then(function(f) {
|
|
6250
6264
|
n.db = a.db = f, t._dbInfo = n;
|
|
6251
6265
|
for (var u = 0; u < c.length; u++) {
|
|
@@ -6254,7 +6268,7 @@ function Ou(e) {
|
|
|
6254
6268
|
}
|
|
6255
6269
|
});
|
|
6256
6270
|
}
|
|
6257
|
-
function
|
|
6271
|
+
function wu(e, t) {
|
|
6258
6272
|
var n = this;
|
|
6259
6273
|
e = De(e);
|
|
6260
6274
|
var r = new F(function(a, s) {
|
|
@@ -6268,7 +6282,7 @@ function Iu(e, t) {
|
|
|
6268
6282
|
), c = l.get(e);
|
|
6269
6283
|
c.onsuccess = function() {
|
|
6270
6284
|
var f = c.result;
|
|
6271
|
-
f === void 0 && (f = null),
|
|
6285
|
+
f === void 0 && (f = null), ms(f) && (f = ds(f)), a(f);
|
|
6272
6286
|
}, c.onerror = function() {
|
|
6273
6287
|
s(c.error);
|
|
6274
6288
|
};
|
|
@@ -6280,7 +6294,7 @@ function Iu(e, t) {
|
|
|
6280
6294
|
});
|
|
6281
6295
|
return j(r, t), r;
|
|
6282
6296
|
}
|
|
6283
|
-
function
|
|
6297
|
+
function Du(e, t) {
|
|
6284
6298
|
var n = this, r = new F(function(a, s) {
|
|
6285
6299
|
n.ready().then(function() {
|
|
6286
6300
|
Re(n._dbInfo, kt, function(o, i) {
|
|
@@ -6294,7 +6308,7 @@ function Cu(e, t) {
|
|
|
6294
6308
|
var u = c.result;
|
|
6295
6309
|
if (u) {
|
|
6296
6310
|
var m = u.value;
|
|
6297
|
-
|
|
6311
|
+
ms(m) && (m = ds(m));
|
|
6298
6312
|
var p = e(
|
|
6299
6313
|
m,
|
|
6300
6314
|
u.key,
|
|
@@ -6314,14 +6328,14 @@ function Cu(e, t) {
|
|
|
6314
6328
|
});
|
|
6315
6329
|
return j(r, t), r;
|
|
6316
6330
|
}
|
|
6317
|
-
function
|
|
6331
|
+
function Ru(e, t, n) {
|
|
6318
6332
|
var r = this;
|
|
6319
6333
|
e = De(e);
|
|
6320
6334
|
var a = new F(function(s, o) {
|
|
6321
6335
|
var i;
|
|
6322
6336
|
r.ready().then(function() {
|
|
6323
|
-
return i = r._dbInfo,
|
|
6324
|
-
return l ? t :
|
|
6337
|
+
return i = r._dbInfo, Au.call(t) === "[object Blob]" ? Tu(i.db).then(function(l) {
|
|
6338
|
+
return l ? t : Ou(t);
|
|
6325
6339
|
}) : t;
|
|
6326
6340
|
}).then(function(l) {
|
|
6327
6341
|
Re(r._dbInfo, tn, function(c, f) {
|
|
@@ -6347,7 +6361,7 @@ function Lu(e, t, n) {
|
|
|
6347
6361
|
});
|
|
6348
6362
|
return j(a, n), a;
|
|
6349
6363
|
}
|
|
6350
|
-
function
|
|
6364
|
+
function Pu(e, t) {
|
|
6351
6365
|
var n = this;
|
|
6352
6366
|
e = De(e);
|
|
6353
6367
|
var r = new F(function(a, s) {
|
|
@@ -6375,7 +6389,7 @@ function wu(e, t) {
|
|
|
6375
6389
|
});
|
|
6376
6390
|
return j(r, t), r;
|
|
6377
6391
|
}
|
|
6378
|
-
function
|
|
6392
|
+
function ku(e) {
|
|
6379
6393
|
var t = this, n = new F(function(r, a) {
|
|
6380
6394
|
t.ready().then(function() {
|
|
6381
6395
|
Re(t._dbInfo, tn, function(s, o) {
|
|
@@ -6399,7 +6413,7 @@ function Du(e) {
|
|
|
6399
6413
|
});
|
|
6400
6414
|
return j(n, e), n;
|
|
6401
6415
|
}
|
|
6402
|
-
function
|
|
6416
|
+
function Fu(e) {
|
|
6403
6417
|
var t = this, n = new F(function(r, a) {
|
|
6404
6418
|
t.ready().then(function() {
|
|
6405
6419
|
Re(t._dbInfo, kt, function(s, o) {
|
|
@@ -6422,7 +6436,7 @@ function Ru(e) {
|
|
|
6422
6436
|
});
|
|
6423
6437
|
return j(n, e), n;
|
|
6424
6438
|
}
|
|
6425
|
-
function
|
|
6439
|
+
function Mu(e, t) {
|
|
6426
6440
|
var n = this, r = new F(function(a, s) {
|
|
6427
6441
|
if (e < 0) {
|
|
6428
6442
|
a(null);
|
|
@@ -6454,7 +6468,7 @@ function Pu(e, t) {
|
|
|
6454
6468
|
});
|
|
6455
6469
|
return j(r, t), r;
|
|
6456
6470
|
}
|
|
6457
|
-
function
|
|
6471
|
+
function Uu(e) {
|
|
6458
6472
|
var t = this, n = new F(function(r, a) {
|
|
6459
6473
|
t.ready().then(function() {
|
|
6460
6474
|
Re(t._dbInfo, kt, function(s, o) {
|
|
@@ -6482,7 +6496,7 @@ function ku(e) {
|
|
|
6482
6496
|
});
|
|
6483
6497
|
return j(n, e), n;
|
|
6484
6498
|
}
|
|
6485
|
-
function
|
|
6499
|
+
function Bu(e, t) {
|
|
6486
6500
|
t = dr.apply(this, arguments);
|
|
6487
6501
|
var n = this.config();
|
|
6488
6502
|
e = typeof e != "function" && e || {}, e.name || (e.name = e.name || n.name, e.storeName = e.storeName || n.storeName);
|
|
@@ -6561,25 +6575,25 @@ function Fu(e, t) {
|
|
|
6561
6575
|
}
|
|
6562
6576
|
return j(a, t), a;
|
|
6563
6577
|
}
|
|
6564
|
-
var
|
|
6578
|
+
var xu = {
|
|
6565
6579
|
_driver: "asyncStorage",
|
|
6566
|
-
_initStorage:
|
|
6567
|
-
_support:
|
|
6568
|
-
iterate:
|
|
6569
|
-
getItem:
|
|
6570
|
-
setItem:
|
|
6571
|
-
removeItem:
|
|
6572
|
-
clear:
|
|
6573
|
-
length:
|
|
6574
|
-
key:
|
|
6575
|
-
keys:
|
|
6576
|
-
dropInstance:
|
|
6580
|
+
_initStorage: Lu,
|
|
6581
|
+
_support: vu(),
|
|
6582
|
+
iterate: Du,
|
|
6583
|
+
getItem: wu,
|
|
6584
|
+
setItem: Ru,
|
|
6585
|
+
removeItem: Pu,
|
|
6586
|
+
clear: ku,
|
|
6587
|
+
length: Fu,
|
|
6588
|
+
key: Mu,
|
|
6589
|
+
keys: Uu,
|
|
6590
|
+
dropInstance: Bu
|
|
6577
6591
|
};
|
|
6578
|
-
function
|
|
6592
|
+
function Vu() {
|
|
6579
6593
|
return typeof openDatabase == "function";
|
|
6580
6594
|
}
|
|
6581
|
-
var Me = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
|
|
6582
|
-
function
|
|
6595
|
+
var Me = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Gu = "~~local_forage_type~", da = /^~~local_forage_type~([^~]+)~/, qt = "__lfsc__:", qn = qt.length, gr = "arbf", Xn = "blob", gs = "si08", ps = "ui08", Es = "uic8", bs = "si16", Ss = "si32", vs = "ur16", As = "ui32", ys = "fl32", Ns = "fl64", ma = qn + gr.length, ha = Object.prototype.toString;
|
|
6596
|
+
function Ts(e) {
|
|
6583
6597
|
var t = e.length * 0.75, n = e.length, r, a = 0, s, o, i, l;
|
|
6584
6598
|
e[e.length - 1] === "=" && (t--, e[e.length - 2] === "=" && t--);
|
|
6585
6599
|
var c = new ArrayBuffer(t), f = new Uint8Array(c);
|
|
@@ -6593,15 +6607,15 @@ function Qn(e) {
|
|
|
6593
6607
|
n += Me[t[r] >> 2], n += Me[(t[r] & 3) << 4 | t[r + 1] >> 4], n += Me[(t[r + 1] & 15) << 2 | t[r + 2] >> 6], n += Me[t[r + 2] & 63];
|
|
6594
6608
|
return t.length % 3 === 2 ? n = n.substring(0, n.length - 1) + "=" : t.length % 3 === 1 && (n = n.substring(0, n.length - 2) + "=="), n;
|
|
6595
6609
|
}
|
|
6596
|
-
function
|
|
6610
|
+
function $u(e, t) {
|
|
6597
6611
|
var n = "";
|
|
6598
6612
|
if (e && (n = ha.call(e)), e && (n === "[object ArrayBuffer]" || e.buffer && ha.call(e.buffer) === "[object ArrayBuffer]")) {
|
|
6599
6613
|
var r, a = qt;
|
|
6600
|
-
e instanceof ArrayBuffer ? (r = e, a += gr) : (r = e.buffer, n === "[object Int8Array]" ? a +=
|
|
6614
|
+
e instanceof ArrayBuffer ? (r = e, a += gr) : (r = e.buffer, n === "[object Int8Array]" ? a += gs : n === "[object Uint8Array]" ? a += ps : n === "[object Uint8ClampedArray]" ? a += Es : n === "[object Int16Array]" ? a += bs : n === "[object Uint16Array]" ? a += vs : n === "[object Int32Array]" ? a += Ss : n === "[object Uint32Array]" ? a += As : n === "[object Float32Array]" ? a += ys : n === "[object Float64Array]" ? a += Ns : t(new Error("Failed to get type for BinaryArray"))), t(a + Qn(r));
|
|
6601
6615
|
} else if (n === "[object Blob]") {
|
|
6602
6616
|
var s = new FileReader();
|
|
6603
6617
|
s.onload = function() {
|
|
6604
|
-
var o =
|
|
6618
|
+
var o = Gu + e.type + "~" + Qn(this.result);
|
|
6605
6619
|
t(qt + Xn + o);
|
|
6606
6620
|
}, s.readAsArrayBuffer(e);
|
|
6607
6621
|
} else
|
|
@@ -6611,7 +6625,7 @@ function xu(e, t) {
|
|
|
6611
6625
|
t(null, o);
|
|
6612
6626
|
}
|
|
6613
6627
|
}
|
|
6614
|
-
function
|
|
6628
|
+
function Wu(e) {
|
|
6615
6629
|
if (e.substring(0, qn) !== qt)
|
|
6616
6630
|
return JSON.parse(e);
|
|
6617
6631
|
var t = e.substring(ma), n = e.substring(
|
|
@@ -6622,41 +6636,41 @@ function Vu(e) {
|
|
|
6622
6636
|
var a = t.match(da);
|
|
6623
6637
|
r = a[1], t = t.substring(a[0].length);
|
|
6624
6638
|
}
|
|
6625
|
-
var s =
|
|
6639
|
+
var s = Ts(t);
|
|
6626
6640
|
switch (n) {
|
|
6627
6641
|
case gr:
|
|
6628
6642
|
return s;
|
|
6629
6643
|
case Xn:
|
|
6630
6644
|
return _r([s], { type: r });
|
|
6631
|
-
case
|
|
6645
|
+
case gs:
|
|
6632
6646
|
return new Int8Array(s);
|
|
6633
|
-
case
|
|
6647
|
+
case ps:
|
|
6634
6648
|
return new Uint8Array(s);
|
|
6635
|
-
case
|
|
6649
|
+
case Es:
|
|
6636
6650
|
return new Uint8ClampedArray(s);
|
|
6637
|
-
case ps:
|
|
6638
|
-
return new Int16Array(s);
|
|
6639
6651
|
case bs:
|
|
6652
|
+
return new Int16Array(s);
|
|
6653
|
+
case vs:
|
|
6640
6654
|
return new Uint16Array(s);
|
|
6641
|
-
case Es:
|
|
6642
|
-
return new Int32Array(s);
|
|
6643
6655
|
case Ss:
|
|
6656
|
+
return new Int32Array(s);
|
|
6657
|
+
case As:
|
|
6644
6658
|
return new Uint32Array(s);
|
|
6645
|
-
case
|
|
6659
|
+
case ys:
|
|
6646
6660
|
return new Float32Array(s);
|
|
6647
|
-
case
|
|
6661
|
+
case Ns:
|
|
6648
6662
|
return new Float64Array(s);
|
|
6649
6663
|
default:
|
|
6650
6664
|
throw new Error("Unkown type: " + n);
|
|
6651
6665
|
}
|
|
6652
6666
|
}
|
|
6653
6667
|
var pr = {
|
|
6654
|
-
serialize:
|
|
6655
|
-
deserialize:
|
|
6656
|
-
stringToBuffer:
|
|
6668
|
+
serialize: $u,
|
|
6669
|
+
deserialize: Wu,
|
|
6670
|
+
stringToBuffer: Ts,
|
|
6657
6671
|
bufferToString: Qn
|
|
6658
6672
|
};
|
|
6659
|
-
function
|
|
6673
|
+
function Os(e, t, n, r) {
|
|
6660
6674
|
e.executeSql(
|
|
6661
6675
|
`CREATE TABLE IF NOT EXISTS ${t.storeName} (id INTEGER PRIMARY KEY, key unique, value)`,
|
|
6662
6676
|
[],
|
|
@@ -6664,7 +6678,7 @@ function Ns(e, t, n, r) {
|
|
|
6664
6678
|
r
|
|
6665
6679
|
);
|
|
6666
6680
|
}
|
|
6667
|
-
function
|
|
6681
|
+
function Yu(e) {
|
|
6668
6682
|
var t = this, n = {
|
|
6669
6683
|
db: null
|
|
6670
6684
|
};
|
|
@@ -6683,7 +6697,7 @@ function Gu(e) {
|
|
|
6683
6697
|
return o(i);
|
|
6684
6698
|
}
|
|
6685
6699
|
n.db.transaction(function(i) {
|
|
6686
|
-
|
|
6700
|
+
Os(
|
|
6687
6701
|
i,
|
|
6688
6702
|
n,
|
|
6689
6703
|
function() {
|
|
@@ -6707,7 +6721,7 @@ function Ge(e, t, n, r, a, s) {
|
|
|
6707
6721
|
"SELECT name FROM sqlite_master WHERE type='table' AND name = ?",
|
|
6708
6722
|
[t.storeName],
|
|
6709
6723
|
function(l, c) {
|
|
6710
|
-
c.rows.length ? s(l, i) :
|
|
6724
|
+
c.rows.length ? s(l, i) : Os(
|
|
6711
6725
|
l,
|
|
6712
6726
|
t,
|
|
6713
6727
|
function() {
|
|
@@ -6727,7 +6741,7 @@ function Ge(e, t, n, r, a, s) {
|
|
|
6727
6741
|
s
|
|
6728
6742
|
);
|
|
6729
6743
|
}
|
|
6730
|
-
function
|
|
6744
|
+
function Hu(e, t) {
|
|
6731
6745
|
var n = this;
|
|
6732
6746
|
e = De(e);
|
|
6733
6747
|
var r = new F(function(a, s) {
|
|
@@ -6752,7 +6766,7 @@ function $u(e, t) {
|
|
|
6752
6766
|
});
|
|
6753
6767
|
return j(r, t), r;
|
|
6754
6768
|
}
|
|
6755
|
-
function
|
|
6769
|
+
function Ku(e, t) {
|
|
6756
6770
|
var n = this, r = new F(function(a, s) {
|
|
6757
6771
|
n.ready().then(function() {
|
|
6758
6772
|
var o = n._dbInfo;
|
|
@@ -6783,7 +6797,7 @@ function Wu(e, t) {
|
|
|
6783
6797
|
});
|
|
6784
6798
|
return j(r, t), r;
|
|
6785
6799
|
}
|
|
6786
|
-
function
|
|
6800
|
+
function Is(e, t, n, r) {
|
|
6787
6801
|
var a = this;
|
|
6788
6802
|
e = De(e);
|
|
6789
6803
|
var s = new F(function(o, i) {
|
|
@@ -6810,7 +6824,7 @@ function Ts(e, t, n, r) {
|
|
|
6810
6824
|
if (m.code === m.QUOTA_ERR) {
|
|
6811
6825
|
if (r > 0) {
|
|
6812
6826
|
o(
|
|
6813
|
-
|
|
6827
|
+
Is.apply(a, [
|
|
6814
6828
|
e,
|
|
6815
6829
|
l,
|
|
6816
6830
|
n,
|
|
@@ -6828,10 +6842,10 @@ function Ts(e, t, n, r) {
|
|
|
6828
6842
|
});
|
|
6829
6843
|
return j(s, n), s;
|
|
6830
6844
|
}
|
|
6831
|
-
function
|
|
6832
|
-
return
|
|
6845
|
+
function ju(e, t, n) {
|
|
6846
|
+
return Is.apply(this, [e, t, n, 1]);
|
|
6833
6847
|
}
|
|
6834
|
-
function
|
|
6848
|
+
function qu(e, t) {
|
|
6835
6849
|
var n = this;
|
|
6836
6850
|
e = De(e);
|
|
6837
6851
|
var r = new F(function(a, s) {
|
|
@@ -6855,7 +6869,7 @@ function Hu(e, t) {
|
|
|
6855
6869
|
});
|
|
6856
6870
|
return j(r, t), r;
|
|
6857
6871
|
}
|
|
6858
|
-
function
|
|
6872
|
+
function Xu(e) {
|
|
6859
6873
|
var t = this, n = new F(function(r, a) {
|
|
6860
6874
|
t.ready().then(function() {
|
|
6861
6875
|
var s = t._dbInfo;
|
|
@@ -6877,7 +6891,7 @@ function Ku(e) {
|
|
|
6877
6891
|
});
|
|
6878
6892
|
return j(n, e), n;
|
|
6879
6893
|
}
|
|
6880
|
-
function
|
|
6894
|
+
function Qu(e) {
|
|
6881
6895
|
var t = this, n = new F(function(r, a) {
|
|
6882
6896
|
t.ready().then(function() {
|
|
6883
6897
|
var s = t._dbInfo;
|
|
@@ -6900,7 +6914,7 @@ function ju(e) {
|
|
|
6900
6914
|
});
|
|
6901
6915
|
return j(n, e), n;
|
|
6902
6916
|
}
|
|
6903
|
-
function
|
|
6917
|
+
function Ju(e, t) {
|
|
6904
6918
|
var n = this, r = new F(function(a, s) {
|
|
6905
6919
|
n.ready().then(function() {
|
|
6906
6920
|
var o = n._dbInfo;
|
|
@@ -6923,7 +6937,7 @@ function qu(e, t) {
|
|
|
6923
6937
|
});
|
|
6924
6938
|
return j(r, t), r;
|
|
6925
6939
|
}
|
|
6926
|
-
function
|
|
6940
|
+
function zu(e) {
|
|
6927
6941
|
var t = this, n = new F(function(r, a) {
|
|
6928
6942
|
t.ready().then(function() {
|
|
6929
6943
|
var s = t._dbInfo;
|
|
@@ -6947,7 +6961,7 @@ function Xu(e) {
|
|
|
6947
6961
|
});
|
|
6948
6962
|
return j(n, e), n;
|
|
6949
6963
|
}
|
|
6950
|
-
function
|
|
6964
|
+
function Zu(e) {
|
|
6951
6965
|
return new F(function(t, n) {
|
|
6952
6966
|
e.transaction(
|
|
6953
6967
|
function(r) {
|
|
@@ -6973,7 +6987,7 @@ function Qu(e) {
|
|
|
6973
6987
|
);
|
|
6974
6988
|
});
|
|
6975
6989
|
}
|
|
6976
|
-
function
|
|
6990
|
+
function ef(e, t) {
|
|
6977
6991
|
t = dr.apply(this, arguments);
|
|
6978
6992
|
var n = this.config();
|
|
6979
6993
|
e = typeof e != "function" && e || {}, e.name || (e.name = e.name || n.name, e.storeName = e.storeName || n.storeName);
|
|
@@ -6983,7 +6997,7 @@ function Ju(e, t) {
|
|
|
6983
6997
|
e.name === n.name ? o = r._dbInfo.db : o = openDatabase(e.name, "", "", 0), e.storeName ? s({
|
|
6984
6998
|
db: o,
|
|
6985
6999
|
storeNames: [e.storeName]
|
|
6986
|
-
}) : s(
|
|
7000
|
+
}) : s(Zu(o));
|
|
6987
7001
|
}).then(function(s) {
|
|
6988
7002
|
return new F(function(o, i) {
|
|
6989
7003
|
s.db.transaction(
|
|
@@ -7019,21 +7033,21 @@ function Ju(e, t) {
|
|
|
7019
7033
|
});
|
|
7020
7034
|
}) : a = F.reject("Invalid arguments"), j(a, t), a;
|
|
7021
7035
|
}
|
|
7022
|
-
var
|
|
7036
|
+
var tf = {
|
|
7023
7037
|
_driver: "webSQLStorage",
|
|
7024
|
-
_initStorage:
|
|
7025
|
-
_support:
|
|
7026
|
-
iterate:
|
|
7027
|
-
getItem:
|
|
7028
|
-
setItem:
|
|
7029
|
-
removeItem:
|
|
7030
|
-
clear:
|
|
7031
|
-
length:
|
|
7032
|
-
key:
|
|
7033
|
-
keys:
|
|
7034
|
-
dropInstance:
|
|
7038
|
+
_initStorage: Yu,
|
|
7039
|
+
_support: Vu(),
|
|
7040
|
+
iterate: Ku,
|
|
7041
|
+
getItem: Hu,
|
|
7042
|
+
setItem: ju,
|
|
7043
|
+
removeItem: qu,
|
|
7044
|
+
clear: Xu,
|
|
7045
|
+
length: Qu,
|
|
7046
|
+
key: Ju,
|
|
7047
|
+
keys: zu,
|
|
7048
|
+
dropInstance: ef
|
|
7035
7049
|
};
|
|
7036
|
-
function
|
|
7050
|
+
function nf() {
|
|
7037
7051
|
try {
|
|
7038
7052
|
return typeof localStorage < "u" && "setItem" in localStorage && // in IE8 typeof localStorage.setItem === 'object'
|
|
7039
7053
|
!!localStorage.setItem;
|
|
@@ -7041,11 +7055,11 @@ function Zu() {
|
|
|
7041
7055
|
return !1;
|
|
7042
7056
|
}
|
|
7043
7057
|
}
|
|
7044
|
-
function
|
|
7058
|
+
function Cs(e, t) {
|
|
7045
7059
|
var n = e.name + "/";
|
|
7046
7060
|
return e.storeName !== t.storeName && (n += e.storeName + "/"), n;
|
|
7047
7061
|
}
|
|
7048
|
-
function
|
|
7062
|
+
function rf() {
|
|
7049
7063
|
var e = "_localforage_support_test";
|
|
7050
7064
|
try {
|
|
7051
7065
|
return localStorage.setItem(e, !0), localStorage.removeItem(e), !1;
|
|
@@ -7053,17 +7067,17 @@ function ef() {
|
|
|
7053
7067
|
return !0;
|
|
7054
7068
|
}
|
|
7055
7069
|
}
|
|
7056
|
-
function
|
|
7057
|
-
return !
|
|
7070
|
+
function af() {
|
|
7071
|
+
return !rf() || localStorage.length > 0;
|
|
7058
7072
|
}
|
|
7059
|
-
function
|
|
7073
|
+
function sf(e) {
|
|
7060
7074
|
var t = this, n = {};
|
|
7061
7075
|
if (e)
|
|
7062
7076
|
for (var r in e)
|
|
7063
7077
|
n[r] = e[r];
|
|
7064
|
-
return n.keyPrefix =
|
|
7078
|
+
return n.keyPrefix = Cs(e, t._defaultConfig), af() ? (t._dbInfo = n, n.serializer = pr, F.resolve()) : F.reject();
|
|
7065
7079
|
}
|
|
7066
|
-
function
|
|
7080
|
+
function of(e) {
|
|
7067
7081
|
var t = this, n = t.ready().then(function() {
|
|
7068
7082
|
for (var r = t._dbInfo.keyPrefix, a = localStorage.length - 1; a >= 0; a--) {
|
|
7069
7083
|
var s = localStorage.key(a);
|
|
@@ -7072,7 +7086,7 @@ function rf(e) {
|
|
|
7072
7086
|
});
|
|
7073
7087
|
return j(n, e), n;
|
|
7074
7088
|
}
|
|
7075
|
-
function
|
|
7089
|
+
function lf(e, t) {
|
|
7076
7090
|
var n = this;
|
|
7077
7091
|
e = De(e);
|
|
7078
7092
|
var r = n.ready().then(function() {
|
|
@@ -7081,7 +7095,7 @@ function af(e, t) {
|
|
|
7081
7095
|
});
|
|
7082
7096
|
return j(r, t), r;
|
|
7083
7097
|
}
|
|
7084
|
-
function
|
|
7098
|
+
function cf(e, t) {
|
|
7085
7099
|
var n = this, r = n.ready().then(function() {
|
|
7086
7100
|
for (var a = n._dbInfo, s = a.keyPrefix, o = s.length, i = localStorage.length, l = 1, c = 0; c < i; c++) {
|
|
7087
7101
|
var f = localStorage.key(c);
|
|
@@ -7098,7 +7112,7 @@ function sf(e, t) {
|
|
|
7098
7112
|
});
|
|
7099
7113
|
return j(r, t), r;
|
|
7100
7114
|
}
|
|
7101
|
-
function
|
|
7115
|
+
function uf(e, t) {
|
|
7102
7116
|
var n = this, r = n.ready().then(function() {
|
|
7103
7117
|
var a = n._dbInfo, s;
|
|
7104
7118
|
try {
|
|
@@ -7110,7 +7124,7 @@ function of(e, t) {
|
|
|
7110
7124
|
});
|
|
7111
7125
|
return j(r, t), r;
|
|
7112
7126
|
}
|
|
7113
|
-
function
|
|
7127
|
+
function ff(e) {
|
|
7114
7128
|
var t = this, n = t.ready().then(function() {
|
|
7115
7129
|
for (var r = t._dbInfo, a = localStorage.length, s = [], o = 0; o < a; o++) {
|
|
7116
7130
|
var i = localStorage.key(o);
|
|
@@ -7120,13 +7134,13 @@ function lf(e) {
|
|
|
7120
7134
|
});
|
|
7121
7135
|
return j(n, e), n;
|
|
7122
7136
|
}
|
|
7123
|
-
function
|
|
7137
|
+
function _f(e) {
|
|
7124
7138
|
var t = this, n = t.keys().then(function(r) {
|
|
7125
7139
|
return r.length;
|
|
7126
7140
|
});
|
|
7127
7141
|
return j(n, e), n;
|
|
7128
7142
|
}
|
|
7129
|
-
function
|
|
7143
|
+
function df(e, t) {
|
|
7130
7144
|
var n = this;
|
|
7131
7145
|
e = De(e);
|
|
7132
7146
|
var r = n.ready().then(function() {
|
|
@@ -7135,7 +7149,7 @@ function uf(e, t) {
|
|
|
7135
7149
|
});
|
|
7136
7150
|
return j(r, t), r;
|
|
7137
7151
|
}
|
|
7138
|
-
function
|
|
7152
|
+
function mf(e, t, n) {
|
|
7139
7153
|
var r = this;
|
|
7140
7154
|
e = De(e);
|
|
7141
7155
|
var a = r.ready().then(function() {
|
|
@@ -7157,14 +7171,14 @@ function ff(e, t, n) {
|
|
|
7157
7171
|
});
|
|
7158
7172
|
return j(a, n), a;
|
|
7159
7173
|
}
|
|
7160
|
-
function
|
|
7174
|
+
function hf(e, t) {
|
|
7161
7175
|
if (t = dr.apply(this, arguments), e = typeof e != "function" && e || {}, !e.name) {
|
|
7162
7176
|
var n = this.config();
|
|
7163
7177
|
e.name = e.name || n.name, e.storeName = e.storeName || n.storeName;
|
|
7164
7178
|
}
|
|
7165
7179
|
var r = this, a;
|
|
7166
7180
|
return e.name ? a = new F(function(s) {
|
|
7167
|
-
e.storeName ? s(
|
|
7181
|
+
e.storeName ? s(Cs(e, r._defaultConfig)) : s(`${e.name}/`);
|
|
7168
7182
|
}).then(function(s) {
|
|
7169
7183
|
for (var o = localStorage.length - 1; o >= 0; o--) {
|
|
7170
7184
|
var i = localStorage.key(o);
|
|
@@ -7172,36 +7186,36 @@ function _f(e, t) {
|
|
|
7172
7186
|
}
|
|
7173
7187
|
}) : a = F.reject("Invalid arguments"), j(a, t), a;
|
|
7174
7188
|
}
|
|
7175
|
-
var
|
|
7189
|
+
var gf = {
|
|
7176
7190
|
_driver: "localStorageWrapper",
|
|
7177
|
-
_initStorage:
|
|
7178
|
-
_support:
|
|
7179
|
-
iterate:
|
|
7180
|
-
getItem:
|
|
7181
|
-
setItem:
|
|
7182
|
-
removeItem:
|
|
7183
|
-
clear:
|
|
7184
|
-
length:
|
|
7185
|
-
key:
|
|
7186
|
-
keys:
|
|
7187
|
-
dropInstance:
|
|
7191
|
+
_initStorage: sf,
|
|
7192
|
+
_support: nf(),
|
|
7193
|
+
iterate: cf,
|
|
7194
|
+
getItem: lf,
|
|
7195
|
+
setItem: mf,
|
|
7196
|
+
removeItem: df,
|
|
7197
|
+
clear: of,
|
|
7198
|
+
length: _f,
|
|
7199
|
+
key: uf,
|
|
7200
|
+
keys: ff,
|
|
7201
|
+
dropInstance: hf
|
|
7188
7202
|
};
|
|
7189
|
-
const
|
|
7203
|
+
const pf = (e, t) => e === t || typeof e == "number" && typeof t == "number" && isNaN(e) && isNaN(t), Ef = (e, t) => {
|
|
7190
7204
|
const n = e.length;
|
|
7191
7205
|
let r = 0;
|
|
7192
7206
|
for (; r < n; ) {
|
|
7193
|
-
if (
|
|
7207
|
+
if (pf(e[r], t))
|
|
7194
7208
|
return !0;
|
|
7195
7209
|
r++;
|
|
7196
7210
|
}
|
|
7197
7211
|
return !1;
|
|
7198
|
-
},
|
|
7212
|
+
}, Ls = Array.isArray || function(e) {
|
|
7199
7213
|
return Object.prototype.toString.call(e) === "[object Array]";
|
|
7200
7214
|
}, vt = {}, ga = {}, it = {
|
|
7201
|
-
INDEXEDDB:
|
|
7202
|
-
WEBSQL:
|
|
7203
|
-
LOCALSTORAGE:
|
|
7204
|
-
},
|
|
7215
|
+
INDEXEDDB: xu,
|
|
7216
|
+
WEBSQL: tf,
|
|
7217
|
+
LOCALSTORAGE: gf
|
|
7218
|
+
}, bf = [
|
|
7205
7219
|
it.INDEXEDDB._driver,
|
|
7206
7220
|
it.WEBSQL._driver,
|
|
7207
7221
|
it.LOCALSTORAGE._driver
|
|
@@ -7214,9 +7228,9 @@ const mf = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
|
|
|
7214
7228
|
"length",
|
|
7215
7229
|
"removeItem",
|
|
7216
7230
|
"setItem"
|
|
7217
|
-
].concat(Yt),
|
|
7231
|
+
].concat(Yt), Sf = {
|
|
7218
7232
|
description: "",
|
|
7219
|
-
driver:
|
|
7233
|
+
driver: bf.slice(),
|
|
7220
7234
|
name: "localforage",
|
|
7221
7235
|
// Default DB size is _JUST UNDER_ 5MB, as it's the highest size
|
|
7222
7236
|
// we can use without a prompt.
|
|
@@ -7224,7 +7238,7 @@ const mf = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
|
|
|
7224
7238
|
storeName: "keyvaluepairs",
|
|
7225
7239
|
version: 1
|
|
7226
7240
|
};
|
|
7227
|
-
function
|
|
7241
|
+
function vf(e, t) {
|
|
7228
7242
|
e[t] = function() {
|
|
7229
7243
|
const n = arguments;
|
|
7230
7244
|
return e.ready().then(function() {
|
|
@@ -7240,7 +7254,7 @@ function Ln() {
|
|
|
7240
7254
|
const t = arguments[e];
|
|
7241
7255
|
if (t)
|
|
7242
7256
|
for (let n in t)
|
|
7243
|
-
t.hasOwnProperty(n) && (
|
|
7257
|
+
t.hasOwnProperty(n) && (Ls(t[n]) ? arguments[0][n] = t[n].slice() : arguments[0][n] = t[n]);
|
|
7244
7258
|
}
|
|
7245
7259
|
return arguments[0];
|
|
7246
7260
|
}
|
|
@@ -7251,7 +7265,7 @@ class Er {
|
|
|
7251
7265
|
const r = it[n], a = r._driver;
|
|
7252
7266
|
this[n] = a, vt[a] || this.defineDriver(r);
|
|
7253
7267
|
}
|
|
7254
|
-
this._defaultConfig = Ln({},
|
|
7268
|
+
this._defaultConfig = Ln({}, Sf), this._config = Ln({}, this._defaultConfig, t), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(() => {
|
|
7255
7269
|
});
|
|
7256
7270
|
}
|
|
7257
7271
|
// Set any config values for localForage; can be called anytime before
|
|
@@ -7287,7 +7301,7 @@ class Er {
|
|
|
7287
7301
|
const c = Cn.concat("_initStorage");
|
|
7288
7302
|
for (let m = 0, p = c.length; m < p; m++) {
|
|
7289
7303
|
const A = c[m];
|
|
7290
|
-
if ((!
|
|
7304
|
+
if ((!Ef(
|
|
7291
7305
|
Yt,
|
|
7292
7306
|
A
|
|
7293
7307
|
) || t[A]) && typeof t[A] != "function") {
|
|
@@ -7341,7 +7355,7 @@ class Er {
|
|
|
7341
7355
|
}
|
|
7342
7356
|
setDriver(t, n, r) {
|
|
7343
7357
|
const a = this;
|
|
7344
|
-
|
|
7358
|
+
Ls(t) || (t = [t]);
|
|
7345
7359
|
const s = this._getSupportedDrivers(t);
|
|
7346
7360
|
function o() {
|
|
7347
7361
|
a._config.driver = a.driver();
|
|
@@ -7394,14 +7408,14 @@ class Er {
|
|
|
7394
7408
|
}
|
|
7395
7409
|
_wrapLibraryMethodsWithReady() {
|
|
7396
7410
|
for (let t = 0, n = Cn.length; t < n; t++)
|
|
7397
|
-
|
|
7411
|
+
vf(this, Cn[t]);
|
|
7398
7412
|
}
|
|
7399
7413
|
createInstance(t) {
|
|
7400
7414
|
return new Er(t);
|
|
7401
7415
|
}
|
|
7402
7416
|
}
|
|
7403
7417
|
const He = new Er();
|
|
7404
|
-
class
|
|
7418
|
+
class Af {
|
|
7405
7419
|
constructor(t) {
|
|
7406
7420
|
this.db_name = t.db_name || "cvjs", He.config({
|
|
7407
7421
|
name: this.db_name,
|
|
@@ -7461,7 +7475,7 @@ class bf {
|
|
|
7461
7475
|
return cvUtils.isTypeJson(r) ? r : n;
|
|
7462
7476
|
}
|
|
7463
7477
|
}
|
|
7464
|
-
class
|
|
7478
|
+
class yf {
|
|
7465
7479
|
constructor(t) {
|
|
7466
7480
|
this.keyExpired = {}, this.keyGroup = [], this.__open_log = !1, this.__timer = {};
|
|
7467
7481
|
}
|
|
@@ -7508,15 +7522,15 @@ class Sf {
|
|
|
7508
7522
|
}
|
|
7509
7523
|
}
|
|
7510
7524
|
}
|
|
7511
|
-
const D = new
|
|
7525
|
+
const D = new bu({
|
|
7512
7526
|
prefix: ""
|
|
7513
|
-
}),
|
|
7527
|
+
}), Nf = new Af({
|
|
7514
7528
|
db_name: "ShiyunConsole"
|
|
7515
7529
|
});
|
|
7516
|
-
window.gbIdbObj =
|
|
7517
|
-
const
|
|
7518
|
-
window.gbSessObj =
|
|
7519
|
-
function
|
|
7530
|
+
window.gbIdbObj = Nf;
|
|
7531
|
+
const Tf = new yf({});
|
|
7532
|
+
window.gbSessObj = Tf;
|
|
7533
|
+
function Of(e, t, n = !1) {
|
|
7520
7534
|
return n ? !!t.find((r) => r && r.indexOf("*") && new RegExp("^" + r.replace(/[-\/\\^$+?.()|[\]{}]/g, "\\$&").replace(/\*/g, ".*") + "$", "g").test(e) ? !0 : r == e) : t.includes(e);
|
|
7521
7535
|
}
|
|
7522
7536
|
const pa = {
|
|
@@ -7560,7 +7574,7 @@ class nn {
|
|
|
7560
7574
|
}
|
|
7561
7575
|
/* 初始化 request 句柄 */
|
|
7562
7576
|
_initReqHandle() {
|
|
7563
|
-
this.requestHandle =
|
|
7577
|
+
this.requestHandle = Js.create({
|
|
7564
7578
|
timeout: 1e4,
|
|
7565
7579
|
// request timeout
|
|
7566
7580
|
// 表示跨域请求时是否需要使用凭证;
|
|
@@ -7771,7 +7785,7 @@ class nn {
|
|
|
7771
7785
|
let a = this.canshuOpt || {};
|
|
7772
7786
|
this.canshuOpt = {};
|
|
7773
7787
|
let s = !1;
|
|
7774
|
-
if (this.encryptURL &&
|
|
7788
|
+
if (this.encryptURL && Of(n, this.encryptURL, !0) && (s = !0), this.encryptFlag && (s = !0), s) {
|
|
7775
7789
|
const o = window.navigator.userAgent;
|
|
7776
7790
|
(/Windows NT 5.1|Windows XP/.test(o) || o.indexOf("Windows NT 6.0") !== -1 || o.indexOf("Windows NT 6.1") !== -1 || o.indexOf("Windows NT 6.2") !== -1) && (s = !1);
|
|
7777
7791
|
}
|
|
@@ -7919,13 +7933,14 @@ class nn {
|
|
|
7919
7933
|
return new Promise((c, f) => f({ message: " 请求错误 " }));
|
|
7920
7934
|
}
|
|
7921
7935
|
}
|
|
7922
|
-
const
|
|
7936
|
+
const If = {
|
|
7923
7937
|
BASE_LOAD_COMMON_API_FLAG: "/base.base_load/common/api_flag",
|
|
7924
7938
|
BASE_LOAD_COMMON_API_AUTH: "/base.base_load/common/api_auth",
|
|
7925
7939
|
BASE_LOAD_COMMON_API_CODE: "/base.base_load/common/api_code",
|
|
7926
7940
|
BASE_ACCSYS_COMMON_KEYCLIENT: "/base.account_sys/common/key_client",
|
|
7927
|
-
BASE_SYS_COMMON_PLAT_SETTING: "/base.base_sys/common/plat_setting"
|
|
7928
|
-
|
|
7941
|
+
BASE_SYS_COMMON_PLAT_SETTING: "/base.base_sys/common/plat_setting",
|
|
7942
|
+
BASE_SYS_COMMON_SYS_INFO: "/base.base_sys/common/system_info"
|
|
7943
|
+
}, Cf = {
|
|
7929
7944
|
BASE_LOAD_COMMON_API_FLAG: "app:true;auth:false;",
|
|
7930
7945
|
BASE_LOAD_COMMON_API_AUTH: "app:true;auth:false;",
|
|
7931
7946
|
BASE_LOAD_COMMON_API_CODE: "app:true;auth:false;",
|
|
@@ -7934,7 +7949,7 @@ const Nf = {
|
|
|
7934
7949
|
};
|
|
7935
7950
|
nn.prototype.resetNetError = function(e) {
|
|
7936
7951
|
if (!me.__POWERED_BY_QIANKUN__ && e.status && e.status == 401)
|
|
7937
|
-
return Te().SA_ACCOUNT_LOGOUT(),
|
|
7952
|
+
return Te().SA_ACCOUNT_LOGOUT(), Ks.alert("未经授权,请登录", "友情提示", {
|
|
7938
7953
|
// if you want to disable its autofocus
|
|
7939
7954
|
// autofocus: false,
|
|
7940
7955
|
confirmButtonText: "OK",
|
|
@@ -7943,7 +7958,7 @@ nn.prototype.resetNetError = function(e) {
|
|
|
7943
7958
|
}
|
|
7944
7959
|
}), !1;
|
|
7945
7960
|
let t = (e.status ? `[ ${e.status} ] ` : "") + (e.title || "提示");
|
|
7946
|
-
|
|
7961
|
+
js({
|
|
7947
7962
|
title: t,
|
|
7948
7963
|
message: e.message,
|
|
7949
7964
|
type: e.type || "info",
|
|
@@ -7964,7 +7979,7 @@ nn.prototype.cancelRequest = function(e) {
|
|
|
7964
7979
|
}), t > 0 && (__ajaxList = __ajaxList.filter((n) => n.id !== e)), t;
|
|
7965
7980
|
};
|
|
7966
7981
|
let qe = null;
|
|
7967
|
-
function
|
|
7982
|
+
function ws(e = {}) {
|
|
7968
7983
|
const t = Nt();
|
|
7969
7984
|
qe = new nn({
|
|
7970
7985
|
// timeout: 60 * 1000, // 请求超时时间毫秒
|
|
@@ -7994,22 +8009,22 @@ function Cs(e = {}) {
|
|
|
7994
8009
|
});
|
|
7995
8010
|
let n = {}, r = {};
|
|
7996
8011
|
e && (n = e.ApiFlagSet || {}, r = e.ApiAuthSet || {});
|
|
7997
|
-
let a = Object.assign({},
|
|
8012
|
+
let a = Object.assign({}, If, n, t.syOpenApiFlag), s = Object.assign({}, Cf, r, t.syOpenApiAuth);
|
|
7998
8013
|
return qe.setApiFlag(a), qe.setApiAuth(s), qe;
|
|
7999
8014
|
}
|
|
8000
|
-
function
|
|
8001
|
-
return qe || (qe =
|
|
8015
|
+
function Lf() {
|
|
8016
|
+
return qe || (qe = ws()), qe;
|
|
8002
8017
|
}
|
|
8003
8018
|
const fe = new Proxy(
|
|
8004
8019
|
{},
|
|
8005
8020
|
{
|
|
8006
8021
|
get(e, t) {
|
|
8007
|
-
const n =
|
|
8022
|
+
const n = Lf();
|
|
8008
8023
|
return typeof n[t] == "function" ? n[t].bind(n) : n[t];
|
|
8009
8024
|
}
|
|
8010
8025
|
}
|
|
8011
8026
|
);
|
|
8012
|
-
var
|
|
8027
|
+
var wf = {
|
|
8013
8028
|
methods: {
|
|
8014
8029
|
// 返回上级
|
|
8015
8030
|
jumpsBack() {
|
|
@@ -8055,26 +8070,26 @@ var If = {
|
|
|
8055
8070
|
},
|
|
8056
8071
|
// 跨应用路由跳转
|
|
8057
8072
|
jumpsQiankun(e) {
|
|
8058
|
-
|
|
8073
|
+
eo(e);
|
|
8059
8074
|
}
|
|
8060
8075
|
}
|
|
8061
8076
|
};
|
|
8062
8077
|
function ba(e, t, n) {
|
|
8063
8078
|
const r = t.value;
|
|
8064
8079
|
if (r)
|
|
8065
|
-
|
|
8080
|
+
cs(r) || !1 || e.parentNode && e.parentNode.removeChild(e);
|
|
8066
8081
|
else
|
|
8067
8082
|
throw new Error(`需要指定权限标识! 如:v-auth="'xxxx_add'" 或 v-auth="['xxxx_xxx']"`);
|
|
8068
8083
|
}
|
|
8069
|
-
function
|
|
8084
|
+
function Df(e, t, n) {
|
|
8070
8085
|
n = n || "vue3", n == "vue2" ? e.directive("auth", {
|
|
8071
8086
|
inserted: ba
|
|
8072
8087
|
}) : e.directive("auth", {
|
|
8073
8088
|
mounted: ba
|
|
8074
|
-
}), t.$_auth =
|
|
8089
|
+
}), t.$_auth = cs;
|
|
8075
8090
|
}
|
|
8076
8091
|
/*! Element Plus v2.9.7 */
|
|
8077
|
-
var
|
|
8092
|
+
var Rf = {
|
|
8078
8093
|
name: "zh-cn",
|
|
8079
8094
|
el: {
|
|
8080
8095
|
breadcrumb: {
|
|
@@ -8252,16 +8267,16 @@ var Lf = {
|
|
|
8252
8267
|
}
|
|
8253
8268
|
}
|
|
8254
8269
|
};
|
|
8255
|
-
function
|
|
8256
|
-
e.use(
|
|
8270
|
+
function Pf(e) {
|
|
8271
|
+
e.use(Hs, {
|
|
8257
8272
|
// size: 'default',
|
|
8258
|
-
locale:
|
|
8273
|
+
locale: Rf
|
|
8259
8274
|
});
|
|
8260
|
-
for (const [t, n] of Object.entries(
|
|
8275
|
+
for (const [t, n] of Object.entries(qs))
|
|
8261
8276
|
e.component("ElIcon" + t, n);
|
|
8262
8277
|
}
|
|
8263
|
-
function
|
|
8264
|
-
e.use(
|
|
8278
|
+
function kf(e) {
|
|
8279
|
+
e.use(Xs, {
|
|
8265
8280
|
// 所有和上传相关(上传图片, 上传视频, 富文本中图片上传)
|
|
8266
8281
|
uploadImg: {
|
|
8267
8282
|
// fileSize: 5,
|
|
@@ -8290,22 +8305,22 @@ function Df(e) {
|
|
|
8290
8305
|
// }
|
|
8291
8306
|
}
|
|
8292
8307
|
});
|
|
8293
|
-
for (const [t, n] of Object.entries(
|
|
8308
|
+
for (const [t, n] of Object.entries(Qs))
|
|
8294
8309
|
e.component("cvSvg" + t, n);
|
|
8295
8310
|
}
|
|
8296
|
-
async function
|
|
8297
|
-
|
|
8311
|
+
async function Kf(e, t) {
|
|
8312
|
+
zs(t), ws(e), Pt().init(), Ue().init(), await fr().init(), await Te().init();
|
|
8298
8313
|
}
|
|
8299
|
-
async function
|
|
8314
|
+
async function jf(e, t, n, r, a = "", s = null) {
|
|
8300
8315
|
Zt().init(r), en().init(n);
|
|
8301
8316
|
let o = e.config.globalProperties;
|
|
8302
8317
|
o.$onLaunched = new Promise((l) => {
|
|
8303
8318
|
o.$isResolve = l;
|
|
8304
|
-
}), o.$request = fe, o.$cache = D,
|
|
8319
|
+
}), o.$request = fe, o.$cache = D, Pf(e), kf(e), Df(e, o), e.mixin(nc()), e.mixin(wf), await Ff(t, r, a), e.use(as);
|
|
8305
8320
|
let i = Pt().SA_LANGUAGE_GET();
|
|
8306
|
-
|
|
8321
|
+
Bl(i, s), window.$t = Ke.t;
|
|
8307
8322
|
}
|
|
8308
|
-
async function
|
|
8323
|
+
async function Ff(e, t, n) {
|
|
8309
8324
|
const r = Tt(), a = Te(), s = Zt(), o = en();
|
|
8310
8325
|
r.QK_SEND_MSG_REG_SUBMENU(t);
|
|
8311
8326
|
let i = Nt().syProductSign || "";
|
|
@@ -8337,30 +8352,30 @@ async function Rf(e, t, n) {
|
|
|
8337
8352
|
}
|
|
8338
8353
|
});
|
|
8339
8354
|
}
|
|
8340
|
-
async function
|
|
8341
|
-
me.__POWERED_BY_QIANKUN__ ?
|
|
8355
|
+
async function qf(e, t, n) {
|
|
8356
|
+
me.__POWERED_BY_QIANKUN__ ? no(e, t, n) : t();
|
|
8342
8357
|
}
|
|
8343
8358
|
export {
|
|
8344
8359
|
fe as H,
|
|
8345
|
-
|
|
8360
|
+
Zc as S,
|
|
8346
8361
|
we as _,
|
|
8347
8362
|
Ue as a,
|
|
8348
8363
|
Te as b,
|
|
8349
8364
|
fr as c,
|
|
8350
8365
|
Nt as d,
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
|
|
8366
|
+
Yf as e,
|
|
8367
|
+
sc as f,
|
|
8368
|
+
Hf as g,
|
|
8354
8369
|
Tt as h,
|
|
8355
|
-
|
|
8370
|
+
is as i,
|
|
8356
8371
|
Zt as j,
|
|
8357
8372
|
en as k,
|
|
8358
8373
|
D as l,
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8374
|
+
ws as m,
|
|
8375
|
+
Kf as n,
|
|
8376
|
+
jf as o,
|
|
8377
|
+
qf as p,
|
|
8363
8378
|
me as q,
|
|
8364
|
-
|
|
8379
|
+
zs as s,
|
|
8365
8380
|
Pt as u
|
|
8366
8381
|
};
|