@10yun/open-sdk 0.3.99 → 0.3.100

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.
@@ -1,29 +1,29 @@
1
1
  import { defineStore as De, mapState as Le } from "pinia";
2
- import { effectScope as Ds, ref as Rs, shallowRef as ks, computed as gt, watch as wn, isRef as Ps, defineComponent as Jn, getCurrentInstance as Nt, h as Sa, Fragment as he, inject as Fs, onMounted as Ms, onUnmounted as Us, createVNode as w, Text as Bs, resolveComponent as B, createBlock as J, openBlock as U, withCtx as D, createElementVNode as k, createElementBlock as Q, renderList as Xe, createTextVNode as te, toDisplayString as ne, createCommentVNode as ue, Transition as xs, normalizeClass as va, resolveDynamicComponent as Vs, withDirectives as Aa, withModifiers as Gs, normalizeStyle as Dn, vShow as ya, mergeProps as $s, renderSlot as Ws } from "vue";
3
- import Ys, { ElMessage as vr, ElMessageBox as Hs, ElNotification as Ks } from "element-plus";
4
- import * as js from "@element-plus/icons-vue";
2
+ import { effectScope as ks, ref as Ps, shallowRef as Fs, computed as gt, watch as wn, isRef as Ms, defineComponent as Jn, getCurrentInstance as Nt, h as Aa, Fragment as he, inject as Us, onMounted as Bs, onUnmounted as xs, createVNode as w, Text as Vs, resolveComponent as B, createBlock as J, openBlock as U, withCtx as D, createElementVNode as k, createElementBlock as Q, renderList as Xe, createTextVNode as te, toDisplayString as ne, createCommentVNode as ue, Transition as Gs, normalizeClass as ya, resolveDynamicComponent as $s, withDirectives as Na, withModifiers as Ws, normalizeStyle as Dn, vShow as Ta, mergeProps as Ys, renderSlot as Hs } from "vue";
3
+ import Ks, { ElMessage as vr, ElMessageBox as js, ElNotification as qs } from "element-plus";
4
+ import * as Xs 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 qs from "@10yun/cv-pc-ui";
7
+ import Qs from "@10yun/cv-pc-ui";
8
8
  import "@10yun/cv-pc-ui/lib/cv-ui.css";
9
- import * as Xs from "@10yun/cv-icons-vue";
10
- import Qs from "axios";
11
- let Na = {};
12
- function Js(e = {}) {
13
- Na = e;
9
+ import * as Js from "@10yun/cv-icons-vue";
10
+ import zs from "axios";
11
+ let Oa = {};
12
+ function Zs(e = {}) {
13
+ Oa = e;
14
14
  }
15
15
  function Tt() {
16
- return Na;
16
+ return Oa;
17
17
  }
18
18
  /*!
19
19
  * vite-plugin-qiankun.js v1.0.14
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 : {}, zs = function(e) {
23
+ var me = typeof window < "u" ? window.proxy || window : {}, eo = 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 Zs(e = "/", t = null, n = {}) {
26
+ function to(e = "/", t = null, n = {}) {
27
27
  e == "/" && (e = "/" + (window.localStorage.getItem("__syCacheMicroCurrSign__") || "base")), window.history.pushState(n, t, e);
28
28
  }
29
29
  var yt = {};
@@ -39,7 +39,7 @@ function pt(e) {
39
39
  }
40
40
  });
41
41
  }
42
- function eo(e) {
42
+ function no(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 eo(e) {
52
52
  Ot().SA_MSG_CONTENT(n.msg);
53
53
  }, !0), yt.setGlobalState = e && e.setGlobalState, yt.name = e && e.name;
54
54
  }
55
- function to(e, t, n) {
56
- zs({
55
+ function ro(e, t, n) {
56
+ eo({
57
57
  /**
58
58
  * @name 微应用初始化
59
59
  * @param {Object} props 主应用下发的props
@@ -68,7 +68,7 @@ function to(e, t, n) {
68
68
  * @description 应用每次进入都会调用 mount 方法,通常我们在这里触发应用的渲染方法
69
69
  */
70
70
  mount(r) {
71
- eo(r), t(r, !0);
71
+ no(r), t(r, !0);
72
72
  },
73
73
  /**
74
74
  * @name 微应用卸载/切出
@@ -167,26 +167,26 @@ if (process.env.NODE_ENV !== "production") {
167
167
  e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
168
168
  });
169
169
  }
170
- const no = /\{([0-9a-zA-Z]+)\}/g;
170
+ const ao = /\{([0-9a-zA-Z]+)\}/g;
171
171
  function Xt(e, ...t) {
172
- return t.length === 1 && G(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(no, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
172
+ return t.length === 1 && G(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ao, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
173
173
  }
174
- const Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), ro = (e, t, n) => ao({ l: e, k: t, s: n }), ao = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ae = (e) => typeof e == "number" && isFinite(e), so = (e) => zn(e) === "[object Date]", lt = (e) => zn(e) === "[object RegExp]", Qt = (e) => V(e) && Object.keys(e).length === 0, ie = Object.assign, oo = Object.create, K = (e = null) => oo(e);
174
+ const Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), so = (e, t, n) => oo({ l: e, k: t, s: n }), oo = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ae = (e) => typeof e == "number" && isFinite(e), io = (e) => zn(e) === "[object Date]", lt = (e) => zn(e) === "[object RegExp]", Qt = (e) => V(e) && Object.keys(e).length === 0, ie = Object.assign, lo = Object.create, K = (e = null) => lo(e);
175
175
  let Ar;
176
176
  const je = () => Ar || (Ar = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : K());
177
177
  function yr(e) {
178
178
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
179
179
  }
180
- const io = Object.prototype.hasOwnProperty;
180
+ const co = Object.prototype.hasOwnProperty;
181
181
  function ve(e, t) {
182
- return io.call(e, t);
182
+ return co.call(e, t);
183
183
  }
184
- 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", lo = (e) => G(e) && q(e.then) && q(e.catch), Ta = Object.prototype.toString, zn = (e) => Ta.call(e), V = (e) => zn(e) === "[object Object]", co = (e) => e == null ? "" : re(e) || V(e) && e.toString === Ta ? JSON.stringify(e, null, 2) : String(e);
184
+ 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", uo = (e) => G(e) && q(e.then) && q(e.catch), Ia = Object.prototype.toString, zn = (e) => Ia.call(e), V = (e) => zn(e) === "[object Object]", fo = (e) => e == null ? "" : re(e) || V(e) && e.toString === Ia ? JSON.stringify(e, null, 2) : String(e);
185
185
  function Zn(e, t = "") {
186
186
  return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
187
187
  }
188
188
  const Nr = 2;
189
- function uo(e, t = 0, n = e.length) {
189
+ function _o(e, t = 0, n = e.length) {
190
190
  const r = e.split(/\r?\n/);
191
191
  let a = 0;
192
192
  const s = [];
@@ -214,7 +214,7 @@ function uo(e, t = 0, n = e.length) {
214
214
  return s.join(`
215
215
  `);
216
216
  }
217
- function fo(e, t) {
217
+ function mo(e, t) {
218
218
  }
219
219
  const Tr = {};
220
220
  function er(e) {
@@ -254,7 +254,7 @@ function Wt(e, t) {
254
254
  * (c) 2025 kazuya kawaguchi
255
255
  * Released under the MIT License.
256
256
  */
257
- function _o(e, t, n) {
257
+ function ho(e, t, n) {
258
258
  return { line: e, column: t, offset: n };
259
259
  }
260
260
  function Rn(e, t, n) {
@@ -281,7 +281,7 @@ const M = {
281
281
  UNHANDLED_CODEGEN_NODE_TYPE: 15,
282
282
  // minifier error codes
283
283
  UNHANDLED_MINIFIER_NODE_TYPE: 16
284
- }, mo = 17, ho = {
284
+ }, go = 17, po = {
285
285
  // tokenizer error messages
286
286
  [M.EXPECTED_TOKEN]: "Expected token: '{0}'",
287
287
  [M.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
@@ -304,18 +304,18 @@ const M = {
304
304
  [M.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
305
305
  };
306
306
  function ft(e, t, n = {}) {
307
- const { domain: r, messages: a, args: s } = n, o = process.env.NODE_ENV !== "production" ? Xt((a || ho)[e] || "", ...s || []) : e, i = new SyntaxError(String(o));
307
+ const { domain: r, messages: a, args: s } = n, o = process.env.NODE_ENV !== "production" ? Xt((a || po)[e] || "", ...s || []) : e, i = new SyntaxError(String(o));
308
308
  return i.code = e, t && (i.location = t), i.domain = r, i;
309
309
  }
310
- function go(e) {
310
+ function Eo(e) {
311
311
  throw e;
312
312
  }
313
- const po = /<\/?[\w\s="/.':;#-\/]+>/, Eo = (e) => po.test(e), Ce = " ", bo = "\r", ce = `
314
- `, So = "\u2028", vo = "\u2029";
315
- function Ao(e) {
313
+ const bo = /<\/?[\w\s="/.':;#-\/]+>/, So = (e) => bo.test(e), Ce = " ", vo = "\r", ce = `
314
+ `, Ao = "\u2028", yo = "\u2029";
315
+ function No(e) {
316
316
  const t = e;
317
317
  let n = 0, r = 1, a = 1, s = 0;
318
- const o = (v) => t[v] === bo && t[v + 1] === ce, i = (v) => t[v] === ce, l = (v) => t[v] === vo, c = (v) => t[v] === So, 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);
318
+ const o = (v) => t[v] === vo && t[v + 1] === ce, i = (v) => t[v] === ce, l = (v) => t[v] === yo, c = (v) => t[v] === Ao, 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);
319
319
  function g() {
320
320
  return s = 0, f(n) && (r++, a = 0), o(n) && n++, n++, a++, t[n];
321
321
  }
@@ -349,9 +349,9 @@ function Ao(e) {
349
349
  skipToPeek: L
350
350
  };
351
351
  }
352
- const Fe = void 0, yo = ".", Or = "'", No = "tokenizer";
353
- function To(e, t = {}) {
354
- const n = t.location !== !1, r = Ao(e), a = () => r.index(), s = () => _o(r.line(), r.column(), r.index()), o = s(), i = a(), l = {
352
+ const Fe = void 0, To = ".", Or = "'", Oo = "tokenizer";
353
+ function Io(e, t = {}) {
354
+ const n = t.location !== !1, r = No(e), a = () => r.index(), s = () => ho(r.line(), r.column(), r.index()), o = s(), i = a(), l = {
355
355
  currentType: 13,
356
356
  offset: i,
357
357
  startLoc: o,
@@ -368,7 +368,7 @@ function To(e, t = {}) {
368
368
  const z = c();
369
369
  if (d.column += y, d.offset += y, f) {
370
370
  const Z = n ? Rn(z.startLoc, d) : null, W = ft(_, Z, {
371
- domain: No,
371
+ domain: Oo,
372
372
  args: R
373
373
  });
374
374
  f(W);
@@ -745,8 +745,8 @@ function To(e, t = {}) {
745
745
  context: c
746
746
  };
747
747
  }
748
- const Oo = "parser", Io = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
749
- function Co(e, t, n) {
748
+ const Co = "parser", Lo = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
749
+ function wo(e, t, n) {
750
750
  switch (e) {
751
751
  case "\\\\":
752
752
  return "\\";
@@ -759,13 +759,13 @@ function Co(e, t, n) {
759
759
  }
760
760
  }
761
761
  }
762
- function Lo(e = {}) {
762
+ function Do(e = {}) {
763
763
  const t = e.location !== !1, { onError: n } = e;
764
764
  function r(h, g, N, S, ...O) {
765
765
  const L = h.currentPosition();
766
766
  if (L.offset += S, L.column += S, n) {
767
767
  const v = t ? Rn(N, L) : null, x = ft(g, v, {
768
- domain: Oo,
768
+ domain: Co,
769
769
  args: O
770
770
  });
771
771
  n(x);
@@ -792,7 +792,7 @@ function Lo(e = {}) {
792
792
  }
793
793
  function c(h, g) {
794
794
  const N = h.context(), { lastOffset: S, lastStartLoc: O } = N, L = a(9, S, O);
795
- return L.value = g.replace(Io, Co), h.nextToken(), s(L, h.currentOffset(), h.currentPosition()), L;
795
+ return L.value = g.replace(Lo, wo), h.nextToken(), s(L, h.currentOffset(), h.currentPosition()), L;
796
796
  }
797
797
  function f(h) {
798
798
  const g = h.nextToken(), N = h.context(), { lastOffset: S, lastStartLoc: O } = N, L = a(8, S, O);
@@ -885,7 +885,7 @@ function Lo(e = {}) {
885
885
  return g.currentType === 13 ? O : A(h, N, S, O);
886
886
  }
887
887
  function C(h) {
888
- const g = To(h, ie({}, e)), N = g.context(), S = a(0, N.offset, N.startLoc);
888
+ const g = Io(h, ie({}, e)), N = g.context(), S = a(0, N.offset, N.startLoc);
889
889
  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;
890
890
  }
891
891
  return { parse: C };
@@ -896,7 +896,7 @@ function ye(e) {
896
896
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
897
897
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
898
898
  }
899
- function wo(e, t = {}) {
899
+ function Ro(e, t = {}) {
900
900
  const n = {
901
901
  ast: e,
902
902
  helpers: /* @__PURE__ */ new Set()
@@ -948,8 +948,8 @@ function nr(e, t) {
948
948
  break;
949
949
  }
950
950
  }
951
- function Do(e, t = {}) {
952
- const n = wo(e);
951
+ function ko(e, t = {}) {
952
+ const n = Ro(e);
953
953
  n.helper(
954
954
  "normalize"
955
955
  /* HelperNameMap.NORMALIZE */
@@ -957,7 +957,7 @@ function Do(e, t = {}) {
957
957
  const r = n.context();
958
958
  e.helpers = Array.from(r.helpers);
959
959
  }
960
- function Ro(e) {
960
+ function Po(e) {
961
961
  const t = e.body;
962
962
  return t.type === 2 ? Cr(t) : t.cases.forEach((n) => Cr(n)), e;
963
963
  }
@@ -982,7 +982,7 @@ function Cr(e) {
982
982
  }
983
983
  }
984
984
  }
985
- const ko = "minifier";
985
+ const Fo = "minifier";
986
986
  function st(e) {
987
987
  switch (e.t = e.type, e.type) {
988
988
  case 0: {
@@ -1030,14 +1030,14 @@ function st(e) {
1030
1030
  default:
1031
1031
  if (process.env.NODE_ENV !== "production")
1032
1032
  throw ft(M.UNHANDLED_MINIFIER_NODE_TYPE, null, {
1033
- domain: ko,
1033
+ domain: Fo,
1034
1034
  args: [e.type]
1035
1035
  });
1036
1036
  }
1037
1037
  delete e.type;
1038
1038
  }
1039
- const Po = "parser";
1040
- function Fo(e, t) {
1039
+ const Mo = "parser";
1040
+ function Uo(e, t) {
1041
1041
  const { filename: n, breakLineCode: r, needIndent: a } = t, s = t.location !== !1, o = {
1042
1042
  filename: n,
1043
1043
  code: "",
@@ -1079,14 +1079,14 @@ function Fo(e, t) {
1079
1079
  needIndent: () => o.needIndent
1080
1080
  };
1081
1081
  }
1082
- function Mo(e, t) {
1082
+ function Bo(e, t) {
1083
1083
  const { helper: n } = e;
1084
1084
  e.push(`${n(
1085
1085
  "linked"
1086
1086
  /* HelperNameMap.LINKED */
1087
1087
  )}(`), ct(e, t.key), t.modifier ? (e.push(", "), ct(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1088
1088
  }
1089
- function Uo(e, t) {
1089
+ function xo(e, t) {
1090
1090
  const { helper: n, needIndent: r } = e;
1091
1091
  e.push(`${n(
1092
1092
  "normalize"
@@ -1097,7 +1097,7 @@ function Uo(e, t) {
1097
1097
  e.push(", ");
1098
1098
  e.deindent(r()), e.push("])");
1099
1099
  }
1100
- function Bo(e, t) {
1100
+ function Vo(e, t) {
1101
1101
  const { helper: n, needIndent: r } = e;
1102
1102
  if (t.cases.length > 1) {
1103
1103
  e.push(`${n(
@@ -1110,23 +1110,23 @@ function Bo(e, t) {
1110
1110
  e.deindent(r()), e.push("])");
1111
1111
  }
1112
1112
  }
1113
- function xo(e, t) {
1113
+ function Go(e, t) {
1114
1114
  t.body ? ct(e, t.body) : e.push("null");
1115
1115
  }
1116
1116
  function ct(e, t) {
1117
1117
  const { helper: n } = e;
1118
1118
  switch (t.type) {
1119
1119
  case 0:
1120
- xo(e, t);
1120
+ Go(e, t);
1121
1121
  break;
1122
1122
  case 1:
1123
- Bo(e, t);
1123
+ Vo(e, t);
1124
1124
  break;
1125
1125
  case 2:
1126
- Uo(e, t);
1126
+ xo(e, t);
1127
1127
  break;
1128
1128
  case 6:
1129
- Mo(e, t);
1129
+ Bo(e, t);
1130
1130
  break;
1131
1131
  case 8:
1132
1132
  e.push(JSON.stringify(t.value), t);
@@ -1161,16 +1161,16 @@ function ct(e, t) {
1161
1161
  default:
1162
1162
  if (process.env.NODE_ENV !== "production")
1163
1163
  throw ft(M.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1164
- domain: Po,
1164
+ domain: Mo,
1165
1165
  args: [t.type]
1166
1166
  });
1167
1167
  }
1168
1168
  }
1169
- const Vo = (e, t = {}) => {
1169
+ const $o = (e, t = {}) => {
1170
1170
  const n = I(t.mode) ? t.mode : "normal", r = I(t.filename) ? t.filename : "message.intl";
1171
1171
  t.sourceMap;
1172
1172
  const a = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1173
- `, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = Fo(e, {
1173
+ `, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], i = Uo(e, {
1174
1174
  filename: r,
1175
1175
  breakLineCode: a,
1176
1176
  needIndent: s
@@ -1184,55 +1184,55 @@ const Vo = (e, t = {}) => {
1184
1184
  // eslint-disable-line @typescript-eslint/no-explicit-any
1185
1185
  };
1186
1186
  };
1187
- function Go(e, t = {}) {
1188
- const n = ie({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, i = Lo(n).parse(e);
1189
- return r ? (s && Ro(i), a && st(i), { ast: i, code: "" }) : (Do(i, n), Vo(i, n));
1187
+ function Wo(e, t = {}) {
1188
+ const n = ie({}, t), r = !!n.jit, a = !!n.minify, s = n.optimize == null ? !0 : n.optimize, i = Do(n).parse(e);
1189
+ return r ? (s && Po(i), a && st(i), { ast: i, code: "" }) : (ko(i, n), $o(i, n));
1190
1190
  }
1191
1191
  /*!
1192
1192
  * core-base v11.1.3
1193
1193
  * (c) 2025 kazuya kawaguchi
1194
1194
  * Released under the MIT License.
1195
1195
  */
1196
- function $o() {
1196
+ function Yo() {
1197
1197
  typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1198
1198
  }
1199
1199
  function Ee(e) {
1200
1200
  return G(e) && rr(e) === 0 && (ve(e, "b") || ve(e, "body"));
1201
1201
  }
1202
- const Oa = ["b", "body"];
1203
- function Wo(e) {
1204
- return xe(e, Oa);
1205
- }
1206
- const Ia = ["c", "cases"];
1207
- function Yo(e) {
1208
- return xe(e, Ia, []);
1209
- }
1210
- const Ca = ["s", "static"];
1202
+ const Ca = ["b", "body"];
1211
1203
  function Ho(e) {
1212
1204
  return xe(e, Ca);
1213
1205
  }
1214
- const La = ["i", "items"];
1206
+ const La = ["c", "cases"];
1215
1207
  function Ko(e) {
1216
1208
  return xe(e, La, []);
1217
1209
  }
1218
- const wa = ["t", "type"];
1219
- function rr(e) {
1210
+ const wa = ["s", "static"];
1211
+ function jo(e) {
1220
1212
  return xe(e, wa);
1221
1213
  }
1222
- const Da = ["v", "value"];
1214
+ const Da = ["i", "items"];
1215
+ function qo(e) {
1216
+ return xe(e, Da, []);
1217
+ }
1218
+ const Ra = ["t", "type"];
1219
+ function rr(e) {
1220
+ return xe(e, Ra);
1221
+ }
1222
+ const ka = ["v", "value"];
1223
1223
  function xt(e, t) {
1224
- const n = xe(e, Da);
1224
+ const n = xe(e, ka);
1225
1225
  if (n != null)
1226
1226
  return n;
1227
1227
  throw It(t);
1228
1228
  }
1229
- const Ra = ["m", "modifier"];
1230
- function jo(e) {
1231
- return xe(e, Ra);
1229
+ const Pa = ["m", "modifier"];
1230
+ function Xo(e) {
1231
+ return xe(e, Pa);
1232
1232
  }
1233
- const ka = ["k", "key"];
1234
- function qo(e) {
1235
- const t = xe(e, ka);
1233
+ const Fa = ["k", "key"];
1234
+ function Qo(e) {
1235
+ const t = xe(e, Fa);
1236
1236
  if (t)
1237
1237
  return t;
1238
1238
  throw It(
@@ -1248,31 +1248,31 @@ function xe(e, t, n) {
1248
1248
  }
1249
1249
  return n;
1250
1250
  }
1251
- const Pa = [
1252
- ...Oa,
1253
- ...Ia,
1251
+ const Ma = [
1254
1252
  ...Ca,
1255
1253
  ...La,
1256
- ...ka,
1257
- ...Ra,
1254
+ ...wa,
1258
1255
  ...Da,
1259
- ...wa
1256
+ ...Fa,
1257
+ ...Pa,
1258
+ ...ka,
1259
+ ...Ra
1260
1260
  ];
1261
1261
  function It(e) {
1262
1262
  return new Error(`unhandled node type: ${e}`);
1263
1263
  }
1264
1264
  function Sn(e) {
1265
- return (n) => Xo(n, e);
1265
+ return (n) => Jo(n, e);
1266
1266
  }
1267
- function Xo(e, t) {
1268
- const n = Wo(t);
1267
+ function Jo(e, t) {
1268
+ const n = Ho(t);
1269
1269
  if (n == null)
1270
1270
  throw It(
1271
1271
  0
1272
1272
  /* NodeTypes.Resource */
1273
1273
  );
1274
1274
  if (rr(n) === 1) {
1275
- const s = Yo(n);
1275
+ const s = Ko(n);
1276
1276
  return e.plural(s.reduce((o, i) => [
1277
1277
  ...o,
1278
1278
  Lr(e, i)
@@ -1281,11 +1281,11 @@ function Xo(e, t) {
1281
1281
  return Lr(e, n);
1282
1282
  }
1283
1283
  function Lr(e, t) {
1284
- const n = Ho(t);
1284
+ const n = jo(t);
1285
1285
  if (n != null)
1286
1286
  return e.type === "text" ? n : e.normalize([n]);
1287
1287
  {
1288
- const r = Ko(t).reduce((a, s) => [...a, kn(e, s)], []);
1288
+ const r = qo(t).reduce((a, s) => [...a, kn(e, s)], []);
1289
1289
  return e.normalize(r);
1290
1290
  }
1291
1291
  }
@@ -1313,7 +1313,7 @@ function kn(e, t) {
1313
1313
  throw It(n);
1314
1314
  }
1315
1315
  case 6: {
1316
- const r = t, a = jo(r), s = qo(r);
1316
+ const r = t, a = Xo(r), s = Qo(r);
1317
1317
  return e.linked(kn(e, s), a ? kn(e, a) : void 0, e.type);
1318
1318
  }
1319
1319
  case 7:
@@ -1324,28 +1324,28 @@ function kn(e, t) {
1324
1324
  throw new Error(`unhandled node on format message part: ${n}`);
1325
1325
  }
1326
1326
  }
1327
- const Qo = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1328
- function Jo(e, t) {
1329
- t && Eo(e) && (Xt(Qo, { source: e }), void 0);
1327
+ const zo = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1328
+ function Zo(e, t) {
1329
+ t && So(e) && (Xt(zo, { source: e }), void 0);
1330
1330
  }
1331
- const zo = (e) => e;
1331
+ const ei = (e) => e;
1332
1332
  let Vt = K();
1333
- function Zo(e, t = {}) {
1333
+ function ti(e, t = {}) {
1334
1334
  let n = !1;
1335
- const r = t.onError || go;
1335
+ const r = t.onError || Eo;
1336
1336
  return t.onError = (a) => {
1337
1337
  n = !0, r(a);
1338
- }, { ...Go(e, t), detectError: n };
1338
+ }, { ...Wo(e, t), detectError: n };
1339
1339
  }
1340
1340
  // @__NO_SIDE_EFFECTS__
1341
- function ei(e, t) {
1341
+ function ni(e, t) {
1342
1342
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && I(e)) {
1343
1343
  const n = $(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1344
- process.env.NODE_ENV !== "production" && Jo(e, n);
1345
- const a = (t.onCacheKey || zo)(e), s = Vt[a];
1344
+ process.env.NODE_ENV !== "production" && Zo(e, n);
1345
+ const a = (t.onCacheKey || ei)(e), s = Vt[a];
1346
1346
  if (s)
1347
1347
  return s;
1348
- const { ast: o, detectError: i } = Zo(e, {
1348
+ const { ast: o, detectError: i } = ti(e, {
1349
1349
  ...t,
1350
1350
  location: process.env.NODE_ENV !== "production",
1351
1351
  jit: !0
@@ -1363,10 +1363,10 @@ function ei(e, t) {
1363
1363
  }
1364
1364
  }
1365
1365
  let Ct = null;
1366
- function ti(e) {
1366
+ function ri(e) {
1367
1367
  Ct = e;
1368
1368
  }
1369
- function ni(e, t, n) {
1369
+ function ai(e, t, n) {
1370
1370
  Ct && Ct.emit("i18n:init", {
1371
1371
  timestamp: Date.now(),
1372
1372
  i18n: e,
@@ -1374,12 +1374,12 @@ function ni(e, t, n) {
1374
1374
  meta: n
1375
1375
  });
1376
1376
  }
1377
- const ri = /* @__PURE__ */ ai("function:translate");
1378
- function ai(e) {
1377
+ const si = /* @__PURE__ */ oi("function:translate");
1378
+ function oi(e) {
1379
1379
  return (t) => Ct && Ct.emit(e, t);
1380
1380
  }
1381
1381
  const le = {
1382
- INVALID_ARGUMENT: mo,
1382
+ INVALID_ARGUMENT: go,
1383
1383
  // 17
1384
1384
  INVALID_DATE_ARGUMENT: 18,
1385
1385
  INVALID_ISO_DATE_ARGUMENT: 19,
@@ -1387,11 +1387,11 @@ const le = {
1387
1387
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
1388
1388
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1389
1389
  NOT_SUPPORT_LOCALE_TYPE: 23
1390
- }, si = 24;
1390
+ }, ii = 24;
1391
1391
  function we(e) {
1392
- return ft(e, null, process.env.NODE_ENV !== "production" ? { messages: oi } : void 0);
1392
+ return ft(e, null, process.env.NODE_ENV !== "production" ? { messages: li } : void 0);
1393
1393
  }
1394
- const oi = {
1394
+ const li = {
1395
1395
  [le.INVALID_ARGUMENT]: "Invalid arguments",
1396
1396
  [le.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
1397
1397
  [le.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
@@ -1412,7 +1412,7 @@ function wr(e) {
1412
1412
  return vn;
1413
1413
  if (e.constructor.name === "Function") {
1414
1414
  const t = e();
1415
- if (lo(t))
1415
+ if (uo(t))
1416
1416
  throw we(le.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1417
1417
  return vn = t;
1418
1418
  } else
@@ -1420,13 +1420,13 @@ function wr(e) {
1420
1420
  } else
1421
1421
  throw we(le.NOT_SUPPORT_LOCALE_TYPE);
1422
1422
  }
1423
- function ii(e, t, n) {
1423
+ function ci(e, t, n) {
1424
1424
  return [.../* @__PURE__ */ new Set([
1425
1425
  n,
1426
1426
  ...re(t) ? t : G(t) ? Object.keys(t) : I(t) ? [t] : [n]
1427
1427
  ])];
1428
1428
  }
1429
- function Fa(e, t, n) {
1429
+ function Ua(e, t, n) {
1430
1430
  const r = I(n) ? n : Lt, a = e;
1431
1431
  a.__localeChainCache || (a.__localeChainCache = /* @__PURE__ */ new Map());
1432
1432
  let s = a.__localeChainCache.get(r);
@@ -1444,20 +1444,20 @@ function Dr(e, t, n) {
1444
1444
  let r = !0;
1445
1445
  for (let a = 0; a < t.length && $(r); a++) {
1446
1446
  const s = t[a];
1447
- I(s) && (r = li(e, t[a], n));
1447
+ I(s) && (r = ui(e, t[a], n));
1448
1448
  }
1449
1449
  return r;
1450
1450
  }
1451
- function li(e, t, n) {
1451
+ function ui(e, t, n) {
1452
1452
  let r;
1453
1453
  const a = t.split("-");
1454
1454
  do {
1455
1455
  const s = a.join("-");
1456
- r = ci(e, s, n), a.splice(-1, 1);
1456
+ r = fi(e, s, n), a.splice(-1, 1);
1457
1457
  } while (a.length && r === !0);
1458
1458
  return r;
1459
1459
  }
1460
- function ci(e, t, n) {
1460
+ function fi(e, t, n) {
1461
1461
  let r = !1;
1462
1462
  if (!e.includes(t) && (r = !0, t)) {
1463
1463
  r = t[t.length - 1] !== "!";
@@ -1627,15 +1627,15 @@ Ve[
1627
1627
  /* Actions.APPEND */
1628
1628
  ]
1629
1629
  };
1630
- const ui = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1631
- function fi(e) {
1632
- return ui.test(e);
1630
+ const _i = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1631
+ function di(e) {
1632
+ return _i.test(e);
1633
1633
  }
1634
- function _i(e) {
1634
+ function mi(e) {
1635
1635
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1636
1636
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1637
1637
  }
1638
- function di(e) {
1638
+ function hi(e) {
1639
1639
  if (e == null)
1640
1640
  return "o";
1641
1641
  switch (e.charCodeAt(0)) {
@@ -1672,11 +1672,11 @@ function di(e) {
1672
1672
  }
1673
1673
  return "i";
1674
1674
  }
1675
- function mi(e) {
1675
+ function gi(e) {
1676
1676
  const t = e.trim();
1677
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : fi(t) ? _i(t) : "*" + t;
1677
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : di(t) ? mi(t) : "*" + t;
1678
1678
  }
1679
- function hi(e) {
1679
+ function pi(e) {
1680
1680
  const t = [];
1681
1681
  let n = -1, r = 0, a = 0, s, o, i, l, c, f, u;
1682
1682
  const m = [];
@@ -1708,7 +1708,7 @@ function hi(e) {
1708
1708
  /* Actions.APPEND */
1709
1709
  ]();
1710
1710
  else {
1711
- if (a = 0, o === void 0 || (o = mi(o), o === !1))
1711
+ if (a = 0, o === void 0 || (o = gi(o), o === !1))
1712
1712
  return !1;
1713
1713
  m[
1714
1714
  1
@@ -1726,27 +1726,27 @@ function hi(e) {
1726
1726
  }
1727
1727
  for (; r !== null; )
1728
1728
  if (n++, s = e[n], !(s === "\\" && p())) {
1729
- if (l = di(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))))
1729
+ if (l = hi(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))))
1730
1730
  return;
1731
1731
  if (r === 7)
1732
1732
  return t;
1733
1733
  }
1734
1734
  }
1735
1735
  const Rr = /* @__PURE__ */ new Map();
1736
- function gi(e, t) {
1736
+ function Ei(e, t) {
1737
1737
  return G(e) ? e[t] : null;
1738
1738
  }
1739
- function pi(e, t) {
1739
+ function bi(e, t) {
1740
1740
  if (!G(e))
1741
1741
  return null;
1742
1742
  let n = Rr.get(t);
1743
- if (n || (n = hi(t), n && Rr.set(t, n)), !n)
1743
+ if (n || (n = pi(t), n && Rr.set(t, n)), !n)
1744
1744
  return null;
1745
1745
  const r = n.length;
1746
1746
  let a = e, s = 0;
1747
1747
  for (; s < r; ) {
1748
1748
  const o = n[s];
1749
- if (Pa.includes(o) && Ee(a))
1749
+ if (Ma.includes(o) && Ee(a))
1750
1750
  return null;
1751
1751
  const i = a[o];
1752
1752
  if (i === void 0 || q(a))
@@ -1763,7 +1763,7 @@ const _e = {
1763
1763
  CANNOT_FORMAT_DATE: 5,
1764
1764
  FALLBACK_TO_DATE_FORMAT: 6,
1765
1765
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
1766
- }, Ei = 8, bi = {
1766
+ }, Si = 8, vi = {
1767
1767
  [_e.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1768
1768
  [_e.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1769
1769
  [_e.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -1773,41 +1773,41 @@ const _e = {
1773
1773
  [_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."
1774
1774
  };
1775
1775
  function Je(e, ...t) {
1776
- return Xt(bi[e], ...t);
1776
+ return Xt(vi[e], ...t);
1777
1777
  }
1778
- const Si = "11.1.3", Jt = -1, Lt = "en-US", Ht = "", kr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1779
- function vi() {
1778
+ const Ai = "11.1.3", Jt = -1, Lt = "en-US", Ht = "", kr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1779
+ function yi() {
1780
1780
  return {
1781
1781
  upper: (e, t) => t === "text" && I(e) ? e.toUpperCase() : t === "vnode" && G(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1782
1782
  lower: (e, t) => t === "text" && I(e) ? e.toLowerCase() : t === "vnode" && G(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1783
1783
  capitalize: (e, t) => t === "text" && I(e) ? kr(e) : t === "vnode" && G(e) && "__v_isVNode" in e ? kr(e.children) : e
1784
1784
  };
1785
1785
  }
1786
- let Ma;
1787
- function Ai(e) {
1788
- Ma = e;
1789
- }
1790
- let Ua;
1791
- function yi(e) {
1792
- Ua = e;
1793
- }
1794
1786
  let Ba;
1795
1787
  function Ni(e) {
1796
1788
  Ba = e;
1797
1789
  }
1798
- let xa = null;
1799
- const Ti = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1790
+ let xa;
1791
+ function Ti(e) {
1800
1792
  xa = e;
1801
- }, Oi = /* @__NO_SIDE_EFFECTS__ */ () => xa;
1802
- let Va = null;
1803
- const Pr = (e) => {
1793
+ }
1794
+ let Va;
1795
+ function Oi(e) {
1804
1796
  Va = e;
1805
- }, Ii = () => Va;
1797
+ }
1798
+ let Ga = null;
1799
+ const Ii = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1800
+ Ga = e;
1801
+ }, Ci = /* @__NO_SIDE_EFFECTS__ */ () => Ga;
1802
+ let $a = null;
1803
+ const Pr = (e) => {
1804
+ $a = e;
1805
+ }, Li = () => $a;
1806
1806
  let Fr = 0;
1807
- function Ci(e = {}) {
1808
- const t = q(e.onWarn) ? e.onWarn : fo, n = I(e.version) ? e.version : Si, r = I(e.locale) || q(e.locale) ? e.locale : Lt, a = q(r) ? Lt : 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, vi()), 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;
1807
+ function wi(e = {}) {
1808
+ const t = q(e.onWarn) ? e.onWarn : mo, n = I(e.version) ? e.version : Ai, r = I(e.locale) || q(e.locale) ? e.locale : Lt, a = q(r) ? Lt : 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, yi()), 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 : Ba;
1809
1809
  process.env.NODE_ENV !== "production" && q(e.messageCompiler) && er(Je(_e.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1810
- const O = q(e.messageResolver) ? e.messageResolver : Ua || gi, L = q(e.localeFallbacker) ? e.localeFallbacker : Ba || ii, 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 : {};
1810
+ const O = q(e.messageResolver) ? e.messageResolver : xa || Ei, L = q(e.localeFallbacker) ? e.localeFallbacker : Va || ci, 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 : {};
1811
1811
  Fr++;
1812
1812
  const oe = {
1813
1813
  version: n,
@@ -1833,13 +1833,13 @@ function Ci(e = {}) {
1833
1833
  onWarn: t,
1834
1834
  __meta: Se
1835
1835
  };
1836
- 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__) && ni(oe, n, Se), oe;
1836
+ 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__) && ai(oe, n, Se), oe;
1837
1837
  }
1838
1838
  const An = (e) => ({ [e]: K() });
1839
1839
  function zt(e, t) {
1840
1840
  return e instanceof RegExp ? e.test(t) : e;
1841
1841
  }
1842
- function Ga(e, t) {
1842
+ function Wa(e, t) {
1843
1843
  return e instanceof RegExp ? e.test(t) : e;
1844
1844
  }
1845
1845
  function sr(e, t, n, r, a) {
@@ -1857,31 +1857,31 @@ function sr(e, t, n, r, a) {
1857
1857
  const i = s(e, n, t, a);
1858
1858
  return I(i) ? i : t;
1859
1859
  } else
1860
- return process.env.NODE_ENV !== "production" && Ga(r, t) && o(Je(_e.NOT_FOUND_KEY, { key: t, locale: n })), t;
1860
+ return process.env.NODE_ENV !== "production" && Wa(r, t) && o(Je(_e.NOT_FOUND_KEY, { key: t, locale: n })), t;
1861
1861
  }
1862
1862
  function Et(e, t, n) {
1863
1863
  const r = e;
1864
1864
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
1865
1865
  }
1866
- function $a(e, t) {
1866
+ function Ya(e, t) {
1867
1867
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1868
1868
  }
1869
- function Li(e, t) {
1869
+ function Di(e, t) {
1870
1870
  const n = t.indexOf(e);
1871
1871
  if (n === -1)
1872
1872
  return !1;
1873
1873
  for (let r = n + 1; r < t.length; r++)
1874
- if ($a(e, t[r]))
1874
+ if (Ya(e, t[r]))
1875
1875
  return !0;
1876
1876
  return !1;
1877
1877
  }
1878
- const Mr = typeof Intl < "u", Wa = {
1878
+ const Mr = typeof Intl < "u", Ha = {
1879
1879
  dateTimeFormat: Mr && typeof Intl.DateTimeFormat < "u",
1880
1880
  numberFormat: Mr && typeof Intl.NumberFormat < "u"
1881
1881
  };
1882
1882
  function Ur(e, ...t) {
1883
1883
  const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: o } = e, { __datetimeFormatters: i } = e;
1884
- if (process.env.NODE_ENV !== "production" && !Wa.dateTimeFormat)
1884
+ if (process.env.NODE_ENV !== "production" && !Ha.dateTimeFormat)
1885
1885
  return s(Je(_e.CANNOT_FORMAT_DATE)), Ht;
1886
1886
  const [l, c, f, u] = Pn(...t), m = $(f.missingWarn) ? f.missingWarn : e.missingWarn, p = $(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, A = !!f.part, E = ar(e, f), C = o(
1887
1887
  e,
@@ -1918,7 +1918,7 @@ function Ur(e, ...t) {
1918
1918
  let x = i.get(v);
1919
1919
  return x || (x = new Intl.DateTimeFormat(g, ie({}, N, u)), i.set(v, x)), A ? x.formatToParts(c) : x.format(c);
1920
1920
  }
1921
- const Ya = [
1921
+ const Ka = [
1922
1922
  "localeMatcher",
1923
1923
  "weekday",
1924
1924
  "era",
@@ -1954,7 +1954,7 @@ function Pn(...e) {
1954
1954
  } catch {
1955
1955
  throw we(le.INVALID_ISO_DATE_ARGUMENT);
1956
1956
  }
1957
- } else if (so(t)) {
1957
+ } else if (io(t)) {
1958
1958
  if (isNaN(t.getTime()))
1959
1959
  throw we(le.INVALID_DATE_ARGUMENT);
1960
1960
  i = t;
@@ -1963,7 +1963,7 @@ function Pn(...e) {
1963
1963
  else
1964
1964
  throw we(le.INVALID_ARGUMENT);
1965
1965
  return I(n) ? s.key = n : V(n) && Object.keys(n).forEach((l) => {
1966
- Ya.includes(l) ? o[l] = n[l] : s[l] = n[l];
1966
+ Ka.includes(l) ? o[l] = n[l] : s[l] = n[l];
1967
1967
  }), I(r) ? s.locale = r : V(r) && (o = r), V(a) && (o = a), [s.key || "", i, s, o];
1968
1968
  }
1969
1969
  function Br(e, t, n) {
@@ -1975,7 +1975,7 @@ function Br(e, t, n) {
1975
1975
  }
1976
1976
  function xr(e, ...t) {
1977
1977
  const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: s, localeFallbacker: o } = e, { __numberFormatters: i } = e;
1978
- if (process.env.NODE_ENV !== "production" && !Wa.numberFormat)
1978
+ if (process.env.NODE_ENV !== "production" && !Ha.numberFormat)
1979
1979
  return s(Je(_e.CANNOT_FORMAT_NUMBER)), Ht;
1980
1980
  const [l, c, f, u] = Fn(...t), m = $(f.missingWarn) ? f.missingWarn : e.missingWarn, p = $(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, A = !!f.part, E = ar(e, f), C = o(
1981
1981
  e,
@@ -2012,7 +2012,7 @@ function xr(e, ...t) {
2012
2012
  let x = i.get(v);
2013
2013
  return x || (x = new Intl.NumberFormat(g, ie({}, N, u)), i.set(v, x)), A ? x.formatToParts(c) : x.format(c);
2014
2014
  }
2015
- const Ha = [
2015
+ const ja = [
2016
2016
  "localeMatcher",
2017
2017
  "style",
2018
2018
  "currency",
@@ -2041,7 +2041,7 @@ function Fn(...e) {
2041
2041
  throw we(le.INVALID_ARGUMENT);
2042
2042
  const i = t;
2043
2043
  return I(n) ? s.key = n : V(n) && Object.keys(n).forEach((l) => {
2044
- Ha.includes(l) ? o[l] = n[l] : s[l] = n[l];
2044
+ ja.includes(l) ? o[l] = n[l] : s[l] = n[l];
2045
2045
  }), I(r) ? s.locale = r : V(r) && (o = r), V(a) && (o = a), [s.key || "", i, s, o];
2046
2046
  }
2047
2047
  function Vr(e, t, n) {
@@ -2051,26 +2051,26 @@ function Vr(e, t, n) {
2051
2051
  r.__numberFormatters.has(s) && r.__numberFormatters.delete(s);
2052
2052
  }
2053
2053
  }
2054
- const wi = (e) => e, Di = (e) => "", Ri = "text", ki = (e) => e.length === 0 ? "" : Zn(e), Pi = co;
2054
+ const Ri = (e) => e, ki = (e) => "", Pi = "text", Fi = (e) => e.length === 0 ? "" : Zn(e), Mi = fo;
2055
2055
  function Gr(e, t) {
2056
2056
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
2057
2057
  }
2058
- function Fi(e) {
2058
+ function Ui(e) {
2059
2059
  const t = ae(e.pluralIndex) ? e.pluralIndex : -1;
2060
2060
  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;
2061
2061
  }
2062
- function Mi(e, t) {
2062
+ function Bi(e, t) {
2063
2063
  t.count || (t.count = e), t.n || (t.n = e);
2064
2064
  }
2065
- function Ui(e = {}) {
2066
- const t = e.locale, n = Fi(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();
2067
- ae(e.pluralIndex) && Mi(n, l);
2065
+ function xi(e = {}) {
2066
+ const t = e.locale, n = Ui(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();
2067
+ ae(e.pluralIndex) && Bi(n, l);
2068
2068
  const c = (h) => l[h];
2069
2069
  function f(h, g) {
2070
2070
  const N = q(e.messages) ? e.messages(h, !!g) : G(e.messages) ? e.messages[h] : !1;
2071
- return N || (e.parent ? e.parent.message(h) : Di);
2071
+ return N || (e.parent ? e.parent.message(h) : ki);
2072
2072
  }
2073
- const u = (h) => e.modifiers ? e.modifiers[h] : wi, m = V(e.processor) && q(e.processor.normalize) ? e.processor.normalize : ki, p = V(e.processor) && q(e.processor.interpolate) ? e.processor.interpolate : Pi, A = V(e.processor) && I(e.processor.type) ? e.processor.type : Ri, C = {
2073
+ const u = (h) => e.modifiers ? e.modifiers[h] : Ri, m = V(e.processor) && q(e.processor.normalize) ? e.processor.normalize : Fi, p = V(e.processor) && q(e.processor.interpolate) ? e.processor.interpolate : Mi, A = V(e.processor) && I(e.processor.type) ? e.processor.type : Pi, C = {
2074
2074
  list: i,
2075
2075
  named: c,
2076
2076
  plural: s,
@@ -2095,12 +2095,12 @@ function Ui(e = {}) {
2095
2095
  const $r = () => "", pe = (e) => q(e);
2096
2096
  function Wr(e, ...t) {
2097
2097
  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);
2098
- m && Bi(c);
2098
+ m && Vi(c);
2099
2099
  let [h, g, N] = p ? [
2100
2100
  l,
2101
2101
  C,
2102
2102
  i[C] || K()
2103
- ] : Ka(e, l, C, o, u, f), S = h, O = l;
2103
+ ] : qa(e, l, C, o, u, f), S = h, O = l;
2104
2104
  if (!p && !(I(S) || Ee(S) || pe(S)) && E && (S = A, O = S), !p && (!(I(S) || Ee(S) || pe(S)) || !I(g)))
2105
2105
  return a ? Jt : l;
2106
2106
  if (process.env.NODE_ENV !== "production" && I(S) && e.messageCompiler == null)
@@ -2108,10 +2108,10 @@ function Wr(e, ...t) {
2108
2108
  let L = !1;
2109
2109
  const v = () => {
2110
2110
  L = !0;
2111
- }, x = pe(S) ? S : ja(e, l, g, S, O, v);
2111
+ }, x = pe(S) ? S : Xa(e, l, g, S, O, v);
2112
2112
  if (L)
2113
2113
  return S;
2114
- const Y = $i(e, g, N, c), se = Ui(Y), Se = xi(e, x, se), oe = r ? r(Se, l) : Se;
2114
+ const Y = Yi(e, g, N, c), se = xi(Y), Se = Gi(e, x, se), oe = r ? r(Se, l) : Se;
2115
2115
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2116
2116
  const Ze = {
2117
2117
  timestamp: Date.now(),
@@ -2120,21 +2120,21 @@ function Wr(e, ...t) {
2120
2120
  format: I(S) ? S : pe(S) ? S.source : "",
2121
2121
  message: oe
2122
2122
  };
2123
- Ze.meta = ie({}, e.__meta, /* @__PURE__ */ Oi() || {}), ri(Ze);
2123
+ Ze.meta = ie({}, e.__meta, /* @__PURE__ */ Ci() || {}), si(Ze);
2124
2124
  }
2125
2125
  return oe;
2126
2126
  }
2127
- function Bi(e) {
2127
+ function Vi(e) {
2128
2128
  re(e.list) ? e.list = e.list.map((t) => I(t) ? yr(t) : t) : G(e.named) && Object.keys(e.named).forEach((t) => {
2129
2129
  I(e.named[t]) && (e.named[t] = yr(e.named[t]));
2130
2130
  });
2131
2131
  }
2132
- function Ka(e, t, n, r, a, s) {
2132
+ function qa(e, t, n, r, a, s) {
2133
2133
  const { messages: o, onWarn: i, messageResolver: l, localeFallbacker: c } = e, f = c(e, r, n);
2134
2134
  let u = K(), m, p = null, A = n, E = null;
2135
2135
  const C = "translate";
2136
2136
  for (let h = 0; h < f.length; h++) {
2137
- if (m = E = f[h], process.env.NODE_ENV !== "production" && n !== m && !$a(n, m) && zt(a, t) && i(Je(_e.FALLBACK_TO_TRANSLATE, {
2137
+ if (m = E = f[h], process.env.NODE_ENV !== "production" && n !== m && !Ya(n, m) && zt(a, t) && i(Je(_e.FALLBACK_TO_TRANSLATE, {
2138
2138
  key: t,
2139
2139
  target: m
2140
2140
  })), process.env.NODE_ENV !== "production" && n !== m) {
@@ -2161,7 +2161,7 @@ function Ka(e, t, n, r, a, s) {
2161
2161
  }
2162
2162
  if (I(p) || Ee(p) || pe(p))
2163
2163
  break;
2164
- if (!Li(m, f)) {
2164
+ if (!Di(m, f)) {
2165
2165
  const O = sr(
2166
2166
  e,
2167
2167
  // eslint-disable-line @typescript-eslint/no-explicit-any
@@ -2176,7 +2176,7 @@ function Ka(e, t, n, r, a, s) {
2176
2176
  }
2177
2177
  return [p, m, u];
2178
2178
  }
2179
- function ja(e, t, n, r, a, s) {
2179
+ function Xa(e, t, n, r, a, s) {
2180
2180
  const { messageCompiler: o, warnHtmlMessage: i } = e;
2181
2181
  if (pe(r)) {
2182
2182
  const m = r;
@@ -2188,7 +2188,7 @@ function ja(e, t, n, r, a, s) {
2188
2188
  }
2189
2189
  let l = null, c, f;
2190
2190
  process.env.NODE_ENV !== "production" && Ae && (l = window.performance.now(), c = "intlify-message-compilation-start", f = "intlify-message-compilation-end", ge && ge(c));
2191
- const u = o(r, Vi(e, n, a, r, i, s));
2191
+ const u = o(r, $i(e, n, a, r, i, s));
2192
2192
  if (process.env.NODE_ENV !== "production" && Ae) {
2193
2193
  const m = window.performance.now(), p = e.__v_emitter;
2194
2194
  p && l && p.emit("message-compilation", {
@@ -2200,7 +2200,7 @@ function ja(e, t, n, r, a, s) {
2200
2200
  }
2201
2201
  return u.locale = n, u.key = t, u.source = r, u;
2202
2202
  }
2203
- function xi(e, t, n) {
2203
+ function Gi(e, t, n) {
2204
2204
  let r = null, a, s;
2205
2205
  process.env.NODE_ENV !== "production" && Ae && (r = window.performance.now(), a = "intlify-message-evaluation-start", s = "intlify-message-evaluation-end", ge && ge(a));
2206
2206
  const o = t(n);
@@ -2222,14 +2222,14 @@ function Mn(...e) {
2222
2222
  const s = ae(t) ? String(t) : (pe(t), t);
2223
2223
  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];
2224
2224
  }
2225
- function Vi(e, t, n, r, a, s) {
2225
+ function $i(e, t, n, r, a, s) {
2226
2226
  return {
2227
2227
  locale: t,
2228
2228
  key: n,
2229
2229
  warnHtmlMessage: a,
2230
2230
  onError: (o) => {
2231
2231
  if (s && s(o), process.env.NODE_ENV !== "production") {
2232
- const i = Gi(r), l = `Message compilation error: ${o.message}`, c = o.location && i && uo(i, o.location.start.offset, o.location.end.offset), f = e.__v_emitter;
2232
+ const i = Wi(r), l = `Message compilation error: ${o.message}`, c = o.location && i && _o(i, o.location.start.offset, o.location.end.offset), f = e.__v_emitter;
2233
2233
  f && i && f.emit("compile-error", {
2234
2234
  message: i,
2235
2235
  error: o.message,
@@ -2240,16 +2240,16 @@ function Vi(e, t, n, r, a, s) {
2240
2240
  } else
2241
2241
  throw o;
2242
2242
  },
2243
- onCacheKey: (o) => ro(t, n, o)
2243
+ onCacheKey: (o) => so(t, n, o)
2244
2244
  };
2245
2245
  }
2246
- function Gi(e) {
2246
+ function Wi(e) {
2247
2247
  if (I(e))
2248
2248
  return e;
2249
2249
  if (e.loc && e.loc.source)
2250
2250
  return e.loc.source;
2251
2251
  }
2252
- function $i(e, t, n, r) {
2252
+ function Yi(e, t, n, r) {
2253
2253
  const { modifiers: a, pluralRules: s, messageResolver: o, fallbackLocale: i, fallbackWarn: l, missingWarn: c, fallbackContext: f } = e, m = {
2254
2254
  locale: t,
2255
2255
  modifiers: a,
@@ -2257,7 +2257,7 @@ function $i(e, t, n, r) {
2257
2257
  messages: (p, A) => {
2258
2258
  let E = o(n, p);
2259
2259
  if (E == null && (f || A)) {
2260
- const [, , C] = Ka(
2260
+ const [, , C] = qa(
2261
2261
  f || e,
2262
2262
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2263
2263
  p,
@@ -2270,7 +2270,7 @@ function $i(e, t, n, r) {
2270
2270
  }
2271
2271
  if (I(E) || Ee(E)) {
2272
2272
  let C = !1;
2273
- const g = ja(e, p, t, E, p, () => {
2273
+ const g = Xa(e, p, t, E, p, () => {
2274
2274
  C = !0;
2275
2275
  });
2276
2276
  return C ? $r : g;
@@ -2279,23 +2279,23 @@ function $i(e, t, n, r) {
2279
2279
  };
2280
2280
  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;
2281
2281
  }
2282
- $o();
2283
- function Wi() {
2284
- return qa().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2282
+ Yo();
2283
+ function Hi() {
2284
+ return Qa().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2285
2285
  }
2286
- function qa() {
2286
+ function Qa() {
2287
2287
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2288
2288
  }
2289
- const Yi = typeof Proxy == "function", Hi = "devtools-plugin:setup", Ki = "plugin:settings:set";
2289
+ const Ki = typeof Proxy == "function", ji = "devtools-plugin:setup", qi = "plugin:settings:set";
2290
2290
  let tt, Un;
2291
- function ji() {
2291
+ function Xi() {
2292
2292
  var e;
2293
2293
  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;
2294
2294
  }
2295
- function qi() {
2296
- return ji() ? Un.now() : Date.now();
2295
+ function Qi() {
2296
+ return Xi() ? Un.now() : Date.now();
2297
2297
  }
2298
- class Xi {
2298
+ class Ji {
2299
2299
  constructor(t, n) {
2300
2300
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
2301
2301
  const r = {};
@@ -2323,9 +2323,9 @@ class Xi {
2323
2323
  s = o;
2324
2324
  },
2325
2325
  now() {
2326
- return qi();
2326
+ return Qi();
2327
2327
  }
2328
- }, n && n.on(Ki, (o, i) => {
2328
+ }, n && n.on(qi, (o, i) => {
2329
2329
  o === this.plugin.id && this.fallbacks.setSettings(i);
2330
2330
  }), this.proxiedOn = new Proxy({}, {
2331
2331
  get: (o, i) => this.target ? this.target.on[i] : (...l) => {
@@ -2357,12 +2357,12 @@ class Xi {
2357
2357
  n.resolve(await this.target[n.method](...n.args));
2358
2358
  }
2359
2359
  }
2360
- function Qi(e, t) {
2361
- const n = e, r = qa(), a = Wi(), s = Yi && n.enableEarlyProxy;
2360
+ function zi(e, t) {
2361
+ const n = e, r = Qa(), a = Hi(), s = Ki && n.enableEarlyProxy;
2362
2362
  if (a && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !s))
2363
- a.emit(Hi, e, t);
2363
+ a.emit(ji, e, t);
2364
2364
  else {
2365
- const o = s ? new Xi(n, a) : null;
2365
+ const o = s ? new Ji(n, a) : null;
2366
2366
  (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
2367
2367
  pluginDescriptor: n,
2368
2368
  setupFn: t,
@@ -2375,13 +2375,13 @@ function Qi(e, t) {
2375
2375
  * (c) 2025 kazuya kawaguchi
2376
2376
  * Released under the MIT License.
2377
2377
  */
2378
- const Ji = "11.1.3";
2379
- function zi() {
2378
+ const Zi = "11.1.3";
2379
+ function el() {
2380
2380
  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);
2381
2381
  }
2382
2382
  const X = {
2383
2383
  // composer module errors
2384
- UNEXPECTED_RETURN_TYPE: si,
2384
+ UNEXPECTED_RETURN_TYPE: ii,
2385
2385
  // 24
2386
2386
  // legacy module errors
2387
2387
  INVALID_ARGUMENT: 25,
@@ -2402,9 +2402,9 @@ const X = {
2402
2402
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2403
2403
  };
2404
2404
  function de(e, ...t) {
2405
- return ft(e, null, process.env.NODE_ENV !== "production" ? { messages: Zi, args: t } : void 0);
2405
+ return ft(e, null, process.env.NODE_ENV !== "production" ? { messages: tl, args: t } : void 0);
2406
2406
  }
2407
- const Zi = {
2407
+ const tl = {
2408
2408
  [X.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
2409
2409
  [X.INVALID_ARGUMENT]: "Invalid argument",
2410
2410
  [X.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -2416,8 +2416,8 @@ const Zi = {
2416
2416
  [X.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2417
2417
  [X.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2418
2418
  [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"
2419
- }, Bn = /* @__PURE__ */ Oe("__translateVNode"), xn = /* @__PURE__ */ Oe("__datetimeParts"), Vn = /* @__PURE__ */ Oe("__numberParts"), ze = /* @__PURE__ */ Oe("__enableEmitter"), wt = /* @__PURE__ */ Oe("__disableEmitter"), Xa = Oe("__setPluralRules"), Qa = /* @__PURE__ */ Oe("__injectWithOption"), Gn = /* @__PURE__ */ Oe("__dispose"), Ne = {
2420
- FALLBACK_TO_ROOT: Ei,
2419
+ }, Bn = /* @__PURE__ */ Oe("__translateVNode"), xn = /* @__PURE__ */ Oe("__datetimeParts"), Vn = /* @__PURE__ */ Oe("__numberParts"), ze = /* @__PURE__ */ Oe("__enableEmitter"), wt = /* @__PURE__ */ Oe("__disableEmitter"), Ja = Oe("__setPluralRules"), za = /* @__PURE__ */ Oe("__injectWithOption"), Gn = /* @__PURE__ */ Oe("__dispose"), Ne = {
2420
+ FALLBACK_TO_ROOT: Si,
2421
2421
  // 8
2422
2422
  NOT_FOUND_PARENT_SCOPE: 9,
2423
2423
  IGNORE_OBJ_FLATTEN: 10,
@@ -2429,7 +2429,7 @@ const Zi = {
2429
2429
  * @deprecated will be removed at vue-i18n v12
2430
2430
  */
2431
2431
  DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12
2432
- }, el = {
2432
+ }, nl = {
2433
2433
  [Ne.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
2434
2434
  [Ne.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
2435
2435
  [Ne.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
@@ -2444,7 +2444,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2444
2444
  [Ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead."
2445
2445
  };
2446
2446
  function kt(e, ...t) {
2447
- return Xt(el[e], ...t);
2447
+ return Xt(nl[e], ...t);
2448
2448
  }
2449
2449
  function Dt(e) {
2450
2450
  if (!G(e) || Ee(e))
@@ -2467,7 +2467,7 @@ function Dt(e) {
2467
2467
  }
2468
2468
  a = a[n[o]];
2469
2469
  }
2470
- if (s || (Ee(a) ? Pa.includes(n[r]) || delete e[t] : (a[n[r]] = e[t], delete e[t])), !Ee(a)) {
2470
+ if (s || (Ee(a) ? Ma.includes(n[r]) || delete e[t] : (a[n[r]] = e[t], delete e[t])), !Ee(a)) {
2471
2471
  const o = a[n[r]];
2472
2472
  G(o) && Dt(o);
2473
2473
  }
@@ -2487,10 +2487,10 @@ function or(e, t) {
2487
2487
  ve(o, i) && Dt(o[i]);
2488
2488
  return o;
2489
2489
  }
2490
- function Ja(e) {
2490
+ function Za(e) {
2491
2491
  return e.type;
2492
2492
  }
2493
- function za(e, t, n) {
2493
+ function es(e, t, n) {
2494
2494
  let r = G(t.messages) ? t.messages : K();
2495
2495
  "__i18nGlobal" in n && (r = or(e.locale.value, {
2496
2496
  messages: r,
@@ -2516,20 +2516,20 @@ function za(e, t, n) {
2516
2516
  }
2517
2517
  }
2518
2518
  function Yr(e) {
2519
- return w(Bs, null, e, 0);
2519
+ return w(Vs, null, e, 0);
2520
2520
  }
2521
- const Hr = "__INTLIFY_META__", Kr = () => [], tl = () => !1;
2521
+ const Hr = "__INTLIFY_META__", Kr = () => [], rl = () => !1;
2522
2522
  let jr = 0;
2523
2523
  function qr(e) {
2524
2524
  return (t, n, r, a) => e(n, r, Nt() || void 0, a);
2525
2525
  }
2526
- const nl = /* @__NO_SIDE_EFFECTS__ */ () => {
2526
+ const al = /* @__NO_SIDE_EFFECTS__ */ () => {
2527
2527
  const e = Nt();
2528
2528
  let t = null;
2529
- return e && (t = Ja(e)[Hr]) ? { [Hr]: t } : null;
2529
+ return e && (t = Za(e)[Hr]) ? { [Hr]: t } : null;
2530
2530
  };
2531
2531
  function ir(e = {}) {
2532
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, s = Ae ? Rs : ks;
2532
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, s = Ae ? Ps : Fs;
2533
2533
  let o = $(e.inheritLocale) ? e.inheritLocale : !0;
2534
2534
  const i = s(
2535
2535
  // prettier-ignore
@@ -2544,7 +2544,7 @@ function ir(e = {}) {
2544
2544
  v = (() => {
2545
2545
  r && Pr(null);
2546
2546
  const b = {
2547
- version: Ji,
2547
+ version: Zi,
2548
2548
  locale: i.value,
2549
2549
  fallbackLocale: l.value,
2550
2550
  messages: c.value,
@@ -2563,7 +2563,7 @@ function ir(e = {}) {
2563
2563
  __meta: { framework: "vue" }
2564
2564
  };
2565
2565
  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);
2566
- const T = Ci(b);
2566
+ const T = wi(b);
2567
2567
  return r && Pr(T), T;
2568
2568
  })(), Et(v, i.value, l.value);
2569
2569
  function Y() {
@@ -2605,14 +2605,14 @@ function ir(e = {}) {
2605
2605
  Y();
2606
2606
  let et;
2607
2607
  try {
2608
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (v.fallbackContext = t ? Ii() : void 0), et = b(v);
2608
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (v.fallbackContext = t ? Li() : void 0), et = b(v);
2609
2609
  } finally {
2610
2610
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (v.fallbackContext = void 0);
2611
2611
  }
2612
2612
  if (H !== "translate exists" && // for not `te` (e.g `t`)
2613
2613
  ae(et) && et === Jt || H === "translate exists" && !et) {
2614
- const [Ye, ws] = T();
2615
- if (process.env.NODE_ENV !== "production" && t && I(Ye) && cn(H, ws) && (A && (zt(p, Ye) || Ga(m, Ye)) && (kt(Ne.FALLBACK_TO_ROOT, {
2614
+ const [Ye, Rs] = T();
2615
+ if (process.env.NODE_ENV !== "production" && t && I(Ye) && cn(H, Rs) && (A && (zt(p, Ye) || Wa(m, Ye)) && (kt(Ne.FALLBACK_TO_ROOT, {
2616
2616
  key: Ye,
2617
2617
  type: H
2618
2618
  }), void 0), process.env.NODE_ENV !== "production")) {
@@ -2681,11 +2681,11 @@ function ir(e = {}) {
2681
2681
  return !1;
2682
2682
  const H = I(T) ? T : i.value, ee = $e(H), We = v.messageResolver(ee, b);
2683
2683
  return Ee(We) || pe(We) || I(We);
2684
- }, () => [b], "translate exists", (H) => Reflect.apply(H.te, H, [b, T]), tl, (H) => $(H));
2684
+ }, () => [b], "translate exists", (H) => Reflect.apply(H.te, H, [b, T]), rl, (H) => $(H));
2685
2685
  }
2686
2686
  function dt(b) {
2687
2687
  let T = null;
2688
- const H = Fa(v, l.value, i.value);
2688
+ const H = Ua(v, l.value, i.value);
2689
2689
  for (let ee = 0; ee < H.length; ee++) {
2690
2690
  const We = c.value[H[ee]] || {}, Ut = v.messageResolver(We, b);
2691
2691
  if (Ut != null) {
@@ -2809,68 +2809,68 @@ function ir(e = {}) {
2809
2809
  setPostTranslationHandler: sn,
2810
2810
  getMissingHandler: on,
2811
2811
  setMissingHandler: ln,
2812
- [Xa]: pn
2812
+ [Ja]: pn
2813
2813
  };
2814
- return W.datetimeFormats = Ze, W.numberFormats = rn, W.rt = un, W.te = En, W.tm = mt, W.d = fn, W.n = _n, W.getDateTimeFormat = _, W.setDateTimeFormat = d, W.mergeDateTimeFormat = y, W.getNumberFormat = R, W.setNumberFormat = z, W.mergeNumberFormat = Z, W[Qa] = n, W[Bn] = Mt, W[xn] = gn, W[Vn] = hn, process.env.NODE_ENV !== "production" && (W[ze] = (b) => {
2814
+ return W.datetimeFormats = Ze, W.numberFormats = rn, W.rt = un, W.te = En, W.tm = mt, W.d = fn, W.n = _n, W.getDateTimeFormat = _, W.setDateTimeFormat = d, W.mergeDateTimeFormat = y, W.getNumberFormat = R, W.setNumberFormat = z, W.mergeNumberFormat = Z, W[za] = n, W[Bn] = Mt, W[xn] = gn, W[Vn] = hn, process.env.NODE_ENV !== "production" && (W[ze] = (b) => {
2815
2815
  v.__v_emitter = b;
2816
2816
  }, W[wt] = () => {
2817
2817
  v.__v_emitter = void 0;
2818
2818
  }), W;
2819
2819
  }
2820
- const Za = "vue-i18n: composer properties", yn = {
2820
+ const ts = "vue-i18n: composer properties", yn = {
2821
2821
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
2822
2822
  "vue-i18n-resource-inspector": "Vue I18n DevTools",
2823
2823
  "vue-i18n-timeline": "Vue I18n"
2824
- }, rl = {
2824
+ }, sl = {
2825
2825
  "vue-i18n-resource-inspector": "Search for scopes ..."
2826
- }, al = {
2826
+ }, ol = {
2827
2827
  "vue-i18n-timeline": 16764185
2828
2828
  };
2829
2829
  let $n;
2830
- async function sl(e, t) {
2830
+ async function il(e, t) {
2831
2831
  return new Promise((n, r) => {
2832
2832
  try {
2833
- Qi({
2833
+ zi({
2834
2834
  id: "vue-devtools-plugin-vue-i18n",
2835
2835
  label: yn["vue-devtools-plugin-vue-i18n"],
2836
2836
  packageName: "vue-i18n",
2837
2837
  homepage: "https://vue-i18n.intlify.dev",
2838
2838
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
2839
- componentStateTypes: [Za],
2839
+ componentStateTypes: [ts],
2840
2840
  app: e
2841
2841
  // eslint-disable-line @typescript-eslint/no-explicit-any
2842
2842
  }, (a) => {
2843
2843
  $n = a, a.on.visitComponentTree(({ componentInstance: o, treeNode: i }) => {
2844
- ol(o, i, t);
2844
+ ll(o, i, t);
2845
2845
  }), a.on.inspectComponent(({ componentInstance: o, instanceData: i }) => {
2846
2846
  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__));
2847
2847
  }), a.addInspector({
2848
2848
  id: "vue-i18n-resource-inspector",
2849
2849
  label: yn["vue-i18n-resource-inspector"],
2850
2850
  icon: "language",
2851
- treeFilterPlaceholder: rl["vue-i18n-resource-inspector"]
2851
+ treeFilterPlaceholder: sl["vue-i18n-resource-inspector"]
2852
2852
  }), a.on.getInspectorTree((o) => {
2853
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && fl(o, t);
2853
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && dl(o, t);
2854
2854
  });
2855
2855
  const s = /* @__PURE__ */ new Map();
2856
2856
  a.on.getInspectorState(async (o) => {
2857
2857
  if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
2858
- if (a.unhighlightElement(), dl(o, t), o.nodeId === "global") {
2858
+ if (a.unhighlightElement(), hl(o, t), o.nodeId === "global") {
2859
2859
  if (!s.has(o.app)) {
2860
2860
  const [i] = await a.getComponentInstances(o.app);
2861
2861
  s.set(o.app, i);
2862
2862
  }
2863
2863
  a.highlightElement(s.get(o.app));
2864
2864
  } else {
2865
- const i = _l(o.nodeId, t);
2865
+ const i = ml(o.nodeId, t);
2866
2866
  i && a.highlightElement(i);
2867
2867
  }
2868
2868
  }), a.on.editInspectorState((o) => {
2869
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && hl(o, t);
2869
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && pl(o, t);
2870
2870
  }), a.addTimelineLayer({
2871
2871
  id: "vue-i18n-timeline",
2872
2872
  label: yn["vue-i18n-timeline"],
2873
- color: al["vue-i18n-timeline"]
2873
+ color: ol["vue-i18n-timeline"]
2874
2874
  }), n(!0);
2875
2875
  });
2876
2876
  } catch {
@@ -2878,14 +2878,14 @@ async function sl(e, t) {
2878
2878
  }
2879
2879
  });
2880
2880
  }
2881
- function es(e) {
2881
+ function ns(e) {
2882
2882
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
2883
2883
  }
2884
- function ol(e, t, n) {
2884
+ function ll(e, t, n) {
2885
2885
  const r = n.mode === "composition" ? n.global : n.global.__composer;
2886
2886
  if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== r) {
2887
2887
  const a = {
2888
- label: `i18n (${es(e)} Scope)`,
2888
+ label: `i18n (${ns(e)} Scope)`,
2889
2889
  textColor: 0,
2890
2890
  backgroundColor: 16764185
2891
2891
  };
@@ -2893,7 +2893,7 @@ function ol(e, t, n) {
2893
2893
  }
2894
2894
  }
2895
2895
  function Xr(e, t) {
2896
- const n = Za;
2896
+ const n = ts;
2897
2897
  e.state.push({
2898
2898
  type: n,
2899
2899
  key: "locale",
@@ -2935,30 +2935,30 @@ function lr(e) {
2935
2935
  const t = {};
2936
2936
  return Object.keys(e).forEach((n) => {
2937
2937
  const r = e[n];
2938
- q(r) && "source" in r ? t[n] = ul(r) : Ee(r) && r.loc && r.loc.source ? t[n] = r.loc.source : G(r) ? t[n] = lr(r) : t[n] = r;
2938
+ q(r) && "source" in r ? t[n] = _l(r) : Ee(r) && r.loc && r.loc.source ? t[n] = r.loc.source : G(r) ? t[n] = lr(r) : t[n] = r;
2939
2939
  }), t;
2940
2940
  }
2941
- const il = {
2941
+ const cl = {
2942
2942
  "<": "&lt;",
2943
2943
  ">": "&gt;",
2944
2944
  '"': "&quot;",
2945
2945
  "&": "&amp;"
2946
2946
  };
2947
- function ll(e) {
2948
- return e.replace(/[<>"&]/g, cl);
2947
+ function ul(e) {
2948
+ return e.replace(/[<>"&]/g, fl);
2949
2949
  }
2950
- function cl(e) {
2951
- return il[e] || e;
2950
+ function fl(e) {
2951
+ return cl[e] || e;
2952
2952
  }
2953
- function ul(e) {
2953
+ function _l(e) {
2954
2954
  return {
2955
2955
  _custom: {
2956
2956
  type: "function",
2957
- display: `<span>ƒ</span> ${e.source ? `("${ll(e.source)}")` : "(?)"}`
2957
+ display: `<span>ƒ</span> ${e.source ? `("${ul(e.source)}")` : "(?)"}`
2958
2958
  }
2959
2959
  };
2960
2960
  }
2961
- function fl(e, t) {
2961
+ function dl(e, t) {
2962
2962
  e.rootNodes.push({
2963
2963
  id: "global",
2964
2964
  label: "Global Scope"
@@ -2968,11 +2968,11 @@ function fl(e, t) {
2968
2968
  const s = t.mode === "composition" ? a : a.__composer;
2969
2969
  n !== s && e.rootNodes.push({
2970
2970
  id: s.id.toString(),
2971
- label: `${es(r)} Scope`
2971
+ label: `${ns(r)} Scope`
2972
2972
  });
2973
2973
  }
2974
2974
  }
2975
- function _l(e, t) {
2975
+ function ml(e, t) {
2976
2976
  let n = null;
2977
2977
  if (e !== "global") {
2978
2978
  for (const [r, a] of t.__instances.entries())
@@ -2983,7 +2983,7 @@ function _l(e, t) {
2983
2983
  }
2984
2984
  return n;
2985
2985
  }
2986
- function ts(e, t) {
2986
+ function rs(e, t) {
2987
2987
  if (e === "global")
2988
2988
  return t.mode === "composition" ? t.global : t.global.__composer;
2989
2989
  {
@@ -2991,11 +2991,11 @@ function ts(e, t) {
2991
2991
  return n ? t.mode === "composition" ? n : n.__composer : null;
2992
2992
  }
2993
2993
  }
2994
- function dl(e, t) {
2995
- const n = ts(e.nodeId, t);
2996
- return n && (e.state = ml(n)), null;
2994
+ function hl(e, t) {
2995
+ const n = rs(e.nodeId, t);
2996
+ return n && (e.state = gl(n)), null;
2997
2997
  }
2998
- function ml(e) {
2998
+ function gl(e) {
2999
2999
  const t = {}, n = "Locale related info", r = [
3000
3000
  {
3001
3001
  type: n,
@@ -3070,14 +3070,14 @@ function Rt(e, t) {
3070
3070
  });
3071
3071
  }
3072
3072
  }
3073
- function hl(e, t) {
3074
- const n = ts(e.nodeId, t);
3073
+ function pl(e, t) {
3074
+ const n = rs(e.nodeId, t);
3075
3075
  if (n) {
3076
3076
  const [r] = e.path;
3077
3077
  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);
3078
3078
  }
3079
3079
  }
3080
- function gl(e) {
3080
+ function El(e) {
3081
3081
  const t = I(e.locale) ? e.locale : Lt, 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;
3082
3082
  let A = e.messages;
3083
3083
  if (V(e.sharedMessages)) {
@@ -3113,7 +3113,7 @@ function gl(e) {
3113
3113
  };
3114
3114
  }
3115
3115
  function Wn(e = {}) {
3116
- const t = ir(gl(e)), { __extender: n } = e, r = {
3116
+ const t = ir(El(e)), { __extender: n } = e, r = {
3117
3117
  // id
3118
3118
  id: t.id,
3119
3119
  // locale
@@ -3281,7 +3281,7 @@ function Wn(e = {}) {
3281
3281
  a[wt] && a[wt]();
3282
3282
  }), r;
3283
3283
  }
3284
- function pl(e, t, n) {
3284
+ function bl(e, t, n) {
3285
3285
  return {
3286
3286
  beforeCreate() {
3287
3287
  const r = Nt();
@@ -3312,7 +3312,7 @@ function pl(e, t, n) {
3312
3312
  }
3313
3313
  else
3314
3314
  this.$i18n = e;
3315
- a.__i18nGlobal && za(t, a, a), this.$t = (...s) => this.$i18n.t(...s), this.$rt = (...s) => this.$i18n.rt(...s), this.$te = (s, o) => this.$i18n.te(s, o), this.$d = (...s) => this.$i18n.d(...s), this.$n = (...s) => this.$i18n.n(...s), this.$tm = (s) => this.$i18n.tm(s), n.__setInstance(r, this.$i18n);
3315
+ a.__i18nGlobal && es(t, a, a), this.$t = (...s) => this.$i18n.t(...s), this.$rt = (...s) => this.$i18n.rt(...s), this.$te = (s, o) => this.$i18n.te(s, o), this.$d = (...s) => this.$i18n.d(...s), this.$n = (...s) => this.$i18n.n(...s), this.$tm = (s) => this.$i18n.tm(s), n.__setInstance(r, this.$i18n);
3316
3316
  },
3317
3317
  mounted() {
3318
3318
  if (process.env.NODE_ENV !== "production" && this.$el && this.$i18n) {
@@ -3332,7 +3332,7 @@ function pl(e, t, n) {
3332
3332
  };
3333
3333
  }
3334
3334
  function Qr(e, t) {
3335
- e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[Xa](t.pluralizationRules || e.pluralizationRules);
3335
+ e.locale = t.locale || e.locale, e.fallbackLocale = t.fallbackLocale || e.fallbackLocale, e.missing = t.missing || e.missing, e.silentTranslationWarn = t.silentTranslationWarn || e.silentFallbackWarn, e.silentFallbackWarn = t.silentFallbackWarn || e.silentFallbackWarn, e.formatFallbackMessages = t.formatFallbackMessages || e.formatFallbackMessages, e.postTranslation = t.postTranslation || e.postTranslation, e.warnHtmlInMessage = t.warnHtmlInMessage || e.warnHtmlInMessage, e.escapeParameterHtml = t.escapeParameterHtml || e.escapeParameterHtml, e.sync = t.sync || e.sync, e.__composer[Ja](t.pluralizationRules || e.pluralizationRules);
3336
3336
  const n = or(e.locale, {
3337
3337
  messages: t.messages,
3338
3338
  __i18n: t.__i18n
@@ -3357,7 +3357,7 @@ const cr = {
3357
3357
  type: Object
3358
3358
  }
3359
3359
  };
3360
- function El({ slots: e }, t) {
3360
+ function Sl({ slots: e }, t) {
3361
3361
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, a) => [
3362
3362
  ...r,
3363
3363
  // prettier-ignore
@@ -3367,10 +3367,10 @@ function El({ slots: e }, t) {
3367
3367
  return a && (n[r] = a()), n;
3368
3368
  }, K());
3369
3369
  }
3370
- function ns() {
3370
+ function as() {
3371
3371
  return he;
3372
3372
  }
3373
- const bl = /* @__PURE__ */ Jn({
3373
+ const vl = /* @__PURE__ */ Jn({
3374
3374
  /* eslint-disable */
3375
3375
  name: "i18n-t",
3376
3376
  props: ie({
@@ -3393,15 +3393,15 @@ const bl = /* @__PURE__ */ Jn({
3393
3393
  return () => {
3394
3394
  const s = Object.keys(n).filter((u) => u !== "_"), o = K();
3395
3395
  e.locale && (o.locale = e.locale), e.plural !== void 0 && (o.plural = I(e.plural) ? +e.plural : e.plural);
3396
- const i = El(t, s), l = a[Bn](e.keypath, i, o), c = ie(K(), r), f = I(e.tag) || G(e.tag) ? e.tag : ns();
3397
- return Sa(f, c, l);
3396
+ const i = Sl(t, s), l = a[Bn](e.keypath, i, o), c = ie(K(), r), f = I(e.tag) || G(e.tag) ? e.tag : as();
3397
+ return Aa(f, c, l);
3398
3398
  };
3399
3399
  }
3400
- }), Jr = bl;
3401
- function Sl(e) {
3400
+ }), Jr = vl;
3401
+ function Al(e) {
3402
3402
  return re(e) && !I(e[0]);
3403
3403
  }
3404
- function rs(e, t, n, r) {
3404
+ function ss(e, t, n, r) {
3405
3405
  const { slots: a, attrs: s } = t;
3406
3406
  return () => {
3407
3407
  const o = { part: !0 };
@@ -3411,13 +3411,13 @@ function rs(e, t, n, r) {
3411
3411
  let c = [o.key];
3412
3412
  re(l) ? c = l.map((m, p) => {
3413
3413
  const A = a[m.type], E = A ? A({ [m.type]: m.value, index: p, parts: l }) : [m.value];
3414
- return Sl(E) && (E[0].key = `${m.type}-${p}`), E;
3414
+ return Al(E) && (E[0].key = `${m.type}-${p}`), E;
3415
3415
  }) : I(l) && (c = [l]);
3416
- const f = ie(K(), s), u = I(e.tag) || G(e.tag) ? e.tag : ns();
3417
- return Sa(u, f, c);
3416
+ const f = ie(K(), s), u = I(e.tag) || G(e.tag) ? e.tag : as();
3417
+ return Aa(u, f, c);
3418
3418
  };
3419
3419
  }
3420
- const vl = /* @__PURE__ */ Jn({
3420
+ const yl = /* @__PURE__ */ Jn({
3421
3421
  /* eslint-disable */
3422
3422
  name: "i18n-n",
3423
3423
  props: ie({
@@ -3436,13 +3436,13 @@ const vl = /* @__PURE__ */ Jn({
3436
3436
  useScope: e.scope,
3437
3437
  __useComponent: !0
3438
3438
  });
3439
- return rs(e, t, Ha, (...r) => (
3439
+ return ss(e, t, ja, (...r) => (
3440
3440
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3441
3441
  n[Vn](...r)
3442
3442
  ));
3443
3443
  }
3444
- }), zr = vl;
3445
- function Al(e, t) {
3444
+ }), zr = yl;
3445
+ function Nl(e, t) {
3446
3446
  const n = e;
3447
3447
  if (e.mode === "composition")
3448
3448
  return n.__getInstance(t) || e.global;
@@ -3451,13 +3451,13 @@ function Al(e, t) {
3451
3451
  return r != null ? r.__composer : e.global.__composer;
3452
3452
  }
3453
3453
  }
3454
- function yl(e) {
3454
+ function Tl(e) {
3455
3455
  const t = (o) => {
3456
3456
  process.env.NODE_ENV !== "production" && er(kt(Ne.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3457
3457
  const { instance: i, value: l } = o;
3458
3458
  if (!i || !i.$)
3459
3459
  throw de(X.UNEXPECTED_ERROR);
3460
- const c = Al(e, i.$), f = Zr(l);
3460
+ const c = Nl(e, i.$), f = Zr(l);
3461
3461
  return [
3462
3462
  Reflect.apply(c.t, c, [...ea(f)]),
3463
3463
  c
@@ -3501,15 +3501,15 @@ function ea(e) {
3501
3501
  const { path: t, locale: n, args: r, choice: a, plural: s } = e, o = {}, i = r || {};
3502
3502
  return I(n) && (o.locale = n), ae(a) && (o.plural = a), ae(s) && (o.plural = s), [t, i, o];
3503
3503
  }
3504
- function Nl(e, t, ...n) {
3504
+ function Ol(e, t, ...n) {
3505
3505
  const r = V(n[0]) ? n[0] : {};
3506
- ($(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", yl(t));
3506
+ ($(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", Tl(t));
3507
3507
  }
3508
- const Tl = /* @__PURE__ */ Oe("global-vue-i18n");
3509
- function Ol(e = {}) {
3508
+ const Il = /* @__PURE__ */ Oe("global-vue-i18n");
3509
+ function Cl(e = {}) {
3510
3510
  const t = __VUE_I18N_LEGACY_API__ && $(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3511
3511
  process.env.NODE_ENV !== "production" && t && er(kt(Ne.DEPRECATE_LEGACY_MODE));
3512
- const n = $(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, s] = Il(e, t), o = /* @__PURE__ */ Oe(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3512
+ const n = $(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, s] = Ll(e, t), o = /* @__PURE__ */ Oe(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3513
3513
  function i(u) {
3514
3514
  return r.get(u) || null;
3515
3515
  }
@@ -3531,12 +3531,12 @@ function Ol(e = {}) {
3531
3531
  f.__composerExtend = E.__composerExtend, f.__vueI18nExtend = E.__vueI18nExtend;
3532
3532
  }
3533
3533
  let p = null;
3534
- !t && n && (p = Fl(u, f.global)), __VUE_I18N_FULL_INSTALL__ && Nl(u, f, ...m), __VUE_I18N_LEGACY_API__ && t && u.mixin(pl(s, s.__composer, f));
3534
+ !t && n && (p = Ul(u, f.global)), __VUE_I18N_FULL_INSTALL__ && Ol(u, f, ...m), __VUE_I18N_LEGACY_API__ && t && u.mixin(bl(s, s.__composer, f));
3535
3535
  const A = u.unmount;
3536
3536
  if (u.unmount = () => {
3537
3537
  p && p(), f.dispose(), A();
3538
3538
  }, process.env.NODE_ENV !== "production") {
3539
- if (!await sl(u, f))
3539
+ if (!await il(u, f))
3540
3540
  throw de(X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
3541
3541
  const C = tr();
3542
3542
  if (t) {
@@ -3573,50 +3573,50 @@ function ur(e = {}) {
3573
3573
  throw de(X.MUST_BE_CALL_SETUP_TOP);
3574
3574
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3575
3575
  throw de(X.NOT_INSTALLED);
3576
- const n = Cl(t), r = wl(n), a = Ja(t), s = Ll(e, a);
3576
+ const n = wl(t), r = Rl(n), a = Za(t), s = Dl(e, a);
3577
3577
  if (s === "global")
3578
- return za(r, e, a), r;
3578
+ return es(r, e, a), r;
3579
3579
  if (s === "parent") {
3580
- let l = Dl(n, t, e.__useComponent);
3580
+ let l = kl(n, t, e.__useComponent);
3581
3581
  return l == null && (process.env.NODE_ENV !== "production" && (kt(Ne.NOT_FOUND_PARENT_SCOPE), void 0), l = r), l;
3582
3582
  }
3583
3583
  const o = n;
3584
3584
  let i = o.__getInstance(t);
3585
3585
  if (i == null) {
3586
3586
  const l = ie({}, e);
3587
- "__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);
3587
+ "__i18n" in a && (l.__i18n = a.__i18n), r && (l.__root = r), i = ir(l), o.__composerExtend && (i[Gn] = o.__composerExtend(i)), Fl(o, t, i), o.__setInstance(t, i);
3588
3588
  }
3589
3589
  return i;
3590
3590
  }
3591
- function Il(e, t) {
3592
- const n = Ds(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Wn(e)) : n.run(() => ir(e));
3591
+ function Ll(e, t) {
3592
+ const n = ks(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Wn(e)) : n.run(() => ir(e));
3593
3593
  if (r == null)
3594
3594
  throw de(X.UNEXPECTED_ERROR);
3595
3595
  return [n, r];
3596
3596
  }
3597
- function Cl(e) {
3598
- const t = Fs(e.isCE ? Tl : e.appContext.app.__VUE_I18N_SYMBOL__);
3597
+ function wl(e) {
3598
+ const t = Us(e.isCE ? Il : e.appContext.app.__VUE_I18N_SYMBOL__);
3599
3599
  if (!t)
3600
3600
  throw de(e.isCE ? X.NOT_INSTALLED_WITH_PROVIDE : X.UNEXPECTED_ERROR);
3601
3601
  return t;
3602
3602
  }
3603
- function Ll(e, t) {
3603
+ function Dl(e, t) {
3604
3604
  return Qt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3605
3605
  }
3606
- function wl(e) {
3606
+ function Rl(e) {
3607
3607
  return e.mode === "composition" ? e.global : e.global.__composer;
3608
3608
  }
3609
- function Dl(e, t, n = !1) {
3609
+ function kl(e, t, n = !1) {
3610
3610
  let r = null;
3611
3611
  const a = t.root;
3612
- let s = Rl(t, n);
3612
+ let s = Pl(t, n);
3613
3613
  for (; s != null; ) {
3614
3614
  const o = e;
3615
3615
  if (e.mode === "composition")
3616
3616
  r = o.__getInstance(s);
3617
3617
  else if (__VUE_I18N_LEGACY_API__) {
3618
3618
  const i = o.__getInstance(s);
3619
- i != null && (r = i.__composer, n && r && !r[Qa] && (r = null));
3619
+ i != null && (r = i.__composer, n && r && !r[za] && (r = null));
3620
3620
  }
3621
3621
  if (r != null || a === s)
3622
3622
  break;
@@ -3624,36 +3624,36 @@ function Dl(e, t, n = !1) {
3624
3624
  }
3625
3625
  return r;
3626
3626
  }
3627
- function Rl(e, t = !1) {
3627
+ function Pl(e, t = !1) {
3628
3628
  return e == null ? null : t && e.vnode.ctx || e.parent;
3629
3629
  }
3630
- function kl(e, t, n) {
3630
+ function Fl(e, t, n) {
3631
3631
  let r = null;
3632
- Ms(() => {
3632
+ Bs(() => {
3633
3633
  if (process.env.NODE_ENV !== "production" && t.vnode.el) {
3634
3634
  t.vnode.el.__VUE_I18N__ = n, r = tr();
3635
3635
  const a = n;
3636
3636
  a[ze] && a[ze](r), r.on("*", Rt);
3637
3637
  }
3638
- }, t), Us(() => {
3638
+ }, t), xs(() => {
3639
3639
  const a = n;
3640
3640
  process.env.NODE_ENV !== "production" && t.vnode.el && t.vnode.el.__VUE_I18N__ && (r && r.off("*", Rt), a[wt] && a[wt](), delete t.vnode.el.__VUE_I18N__), e.__deleteInstance(t);
3641
3641
  const s = a[Gn];
3642
3642
  s && (s(), delete a[Gn]);
3643
3643
  }, t);
3644
3644
  }
3645
- const Pl = [
3645
+ const Ml = [
3646
3646
  "locale",
3647
3647
  "fallbackLocale",
3648
3648
  "availableLocales"
3649
3649
  ], ta = ["t", "rt", "d", "n", "tm", "te"];
3650
- function Fl(e, t) {
3650
+ function Ul(e, t) {
3651
3651
  const n = /* @__PURE__ */ Object.create(null);
3652
- return Pl.forEach((a) => {
3652
+ return Ml.forEach((a) => {
3653
3653
  const s = Object.getOwnPropertyDescriptor(t, a);
3654
3654
  if (!s)
3655
3655
  throw de(X.UNEXPECTED_ERROR);
3656
- const o = Ps(s.value) ? {
3656
+ const o = Ms(s.value) ? {
3657
3657
  get() {
3658
3658
  return s.value.value;
3659
3659
  },
@@ -3678,7 +3678,7 @@ function Fl(e, t) {
3678
3678
  });
3679
3679
  };
3680
3680
  }
3681
- const Ml = /* @__PURE__ */ Jn({
3681
+ const Bl = /* @__PURE__ */ Jn({
3682
3682
  /* eslint-disable */
3683
3683
  name: "i18n-d",
3684
3684
  props: ie({
@@ -3697,22 +3697,22 @@ const Ml = /* @__PURE__ */ Jn({
3697
3697
  useScope: e.scope,
3698
3698
  __useComponent: !0
3699
3699
  });
3700
- return rs(e, t, Ya, (...r) => (
3700
+ return ss(e, t, Ka, (...r) => (
3701
3701
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3702
3702
  n[xn](...r)
3703
3703
  ));
3704
3704
  }
3705
- }), na = Ml;
3706
- zi();
3707
- Ai(ei);
3708
- yi(pi);
3709
- Ni(Fa);
3705
+ }), na = Bl;
3706
+ el();
3707
+ Ni(ni);
3708
+ Ti(bi);
3709
+ Oi(Ua);
3710
3710
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3711
3711
  const e = je();
3712
- e.__INTLIFY__ = !0, ti(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3712
+ e.__INTLIFY__ = !0, ri(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3713
3713
  }
3714
3714
  process.env.NODE_ENV;
3715
- const as = Ol({
3715
+ const os = Cl({
3716
3716
  legacy: !1,
3717
3717
  locale: "zh",
3718
3718
  //默认显示的语言
@@ -3728,16 +3728,16 @@ const as = Ol({
3728
3728
  missingWarn: !1,
3729
3729
  silentFallbackWarn: !0,
3730
3730
  fallbackWarn: !1
3731
- }), Ke = as.global;
3732
- async function Ul(e, t) {
3731
+ }), Ke = os.global;
3732
+ async function xl(e, t) {
3733
3733
  const n = await t(e);
3734
3734
  Ke.setLocaleMessage(e, n), Ke.locale && Ke.locale.value !== void 0 ? Ke.locale.value = e : Ke.locale = e;
3735
3735
  }
3736
3736
  const nt = "__system:language__", rt = "zh";
3737
- function Bl() {
3737
+ function Vl() {
3738
3738
  return (window.navigator.language || navigator.browserLanguage || navigator.userLanguage || "").toLowerCase().trim();
3739
3739
  }
3740
- function xl(e) {
3740
+ function Gl(e) {
3741
3741
  return e ? e.toLowerCase().trim() : "";
3742
3742
  }
3743
3743
  const Pt = De("cloudSdkLanguageStore", {
@@ -3773,10 +3773,10 @@ const Pt = De("cloudSdkLanguageStore", {
3773
3773
  actions: {
3774
3774
  // 初始化
3775
3775
  async init() {
3776
- let e = Bl() || rt;
3776
+ let e = Vl() || rt;
3777
3777
  e = localStorage.getItem(nt) || e;
3778
3778
  const t = cvUtils.urlGetParameterAll();
3779
- t.language && (e = t.language), e = xl(e), Object.keys(this.languageList).includes(e) ? this.languageName = e === "zh-cn" ? "zh" : e : this.languageName = rt, localStorage.setItem(nt, this.languageName);
3779
+ t.language && (e = t.language), e = Gl(e), Object.keys(this.languageList).includes(e) ? this.languageName = e === "zh-cn" ? "zh" : e : this.languageName = rt, localStorage.setItem(nt, this.languageName);
3780
3780
  },
3781
3781
  async clear_cache() {
3782
3782
  P.localSet(nt, rt);
@@ -3810,7 +3810,7 @@ const Pt = De("cloudSdkLanguageStore", {
3810
3810
  this.languageName = e, P.localSet(nt, e), Ke.locale.value = e;
3811
3811
  }
3812
3812
  }
3813
- }), ra = "__system:themes__", Vl = "light", Nn = "__system:layoutSidebarState__", Gl = "on", aa = "__system:layoutNavTabs__", $l = "on", Wl = "__system:layoutWatermark__", Yl = "on";
3813
+ }), ra = "__system:themes__", $l = "light", Nn = "__system:layoutSidebarState__", Wl = "on", aa = "__system:layoutNavTabs__", Yl = "on", Hl = "__system:layoutWatermark__", Kl = "on";
3814
3814
  function sa() {
3815
3815
  let e = typeof window < "u" && window.navigator.userAgent.toLowerCase();
3816
3816
  return `${e.match(/Chrome/i)}` == "chrome" ? "chrome" : `${e.match(/Webkit/i)}` == "webkit" ? "webkit" : null;
@@ -3821,17 +3821,17 @@ const Be = De("cloudSdkThemesStore", {
3821
3821
  /**
3822
3822
  * 上边切换卡
3823
3823
  */
3824
- layoutNavTabs: P.localGet(aa) || $l,
3824
+ layoutNavTabs: P.localGet(aa) || Yl,
3825
3825
  /**
3826
3826
  * 左边侧栏
3827
3827
  */
3828
- layoutSidebarState: P.localGet(Nn) || Gl,
3828
+ layoutSidebarState: P.localGet(Nn) || Wl,
3829
3829
  /**
3830
3830
  * 主题皮肤
3831
3831
  * auto|light|dark
3832
3832
  * 自动生成
3833
3833
  */
3834
- themesName: P.localGet(ra) || Vl,
3834
+ themesName: P.localGet(ra) || $l,
3835
3835
  themesList: [
3836
3836
  { name: "跟随系统", value: "auto" },
3837
3837
  { name: "明亮", value: "light" },
@@ -3840,7 +3840,7 @@ const Be = De("cloudSdkThemesStore", {
3840
3840
  /**
3841
3841
  * 水印
3842
3842
  */
3843
- watermarkState: P.localGet(Wl) || Yl
3843
+ watermarkState: P.localGet(Hl) || Kl
3844
3844
  }),
3845
3845
  actions: {
3846
3846
  async init() {
@@ -3908,16 +3908,16 @@ const Be = De("cloudSdkThemesStore", {
3908
3908
  }
3909
3909
  }
3910
3910
  });
3911
- function ss() {
3911
+ function is() {
3912
3912
  return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
3913
3913
  }
3914
- function os() {
3914
+ function ls() {
3915
3915
  return window.innerHeight;
3916
3916
  }
3917
- function Hl() {
3918
- return ss() - os() > 50 ? "landscape" : "portrait";
3917
+ function jl() {
3918
+ return is() - ls() > 50 ? "landscape" : "portrait";
3919
3919
  }
3920
- const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
3920
+ const Gt = is(), ql = ls(), Tn = jl(), cs = De("cloudSdkWindowStore", {
3921
3921
  state: () => ({
3922
3922
  // 窗口是否激活
3923
3923
  windowActive: !0,
@@ -3928,7 +3928,7 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
3928
3928
  // 浏览器尺寸信息
3929
3929
  windowWidth: Gt,
3930
3930
  // 窗口宽度
3931
- windowHeight: Kl,
3931
+ windowHeight: ql,
3932
3932
  // 浏览器窗口方向
3933
3933
  windowOrientation: Tn,
3934
3934
  windowLandscape: Tn === "landscape",
@@ -3974,14 +3974,14 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
3974
3974
  return this.winSizeName = this.SA_GET_SIZE_TYPE(), this.winSizeName;
3975
3975
  }
3976
3976
  }
3977
- }), bt = "__system:keyboardConf__", On = "__syCacheApiFlag__", In = "__syCacheApiAuth__", oa = "__syCacheApiCode__", ia = "__syCacheApiKey__", la = "__syCacheSystemConfig__", fr = De("cloudSdkSystemStore", {
3977
+ }), bt = "__system:keyboardConf__", On = "__syCacheApiFlag__", In = "__syCacheApiAuth__", oa = "__syCacheApiCode__", ia = "__syCacheApiKey__", la = "__syCacheSystemConfig__", ca = "cacheClientId", ua = "cacheClientVersion", fr = De("cloudSdkSystemStore", {
3978
3978
  state: () => ({
3979
3979
  // ServerUrl
3980
3980
  cacheServerUrl: "",
3981
3981
  // 客户端ID(希望不变的,除非清除浏览器缓存或者卸载应用)
3982
- clientId: "",
3982
+ cacheClientId: "",
3983
3983
  // 缓存版本号(如果想升级后清除客户端缓存则修改此参数值)
3984
- clientCacheVersion: "v7",
3984
+ cacheClientVersion: "v7",
3985
3985
  // 客户端新版本号
3986
3986
  clientNewVersion: null,
3987
3987
  // 键盘状态(仅iOS)
@@ -4017,15 +4017,15 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
4017
4017
  await gbIdbObj.idbGetString("clearCache");
4018
4018
  const e = await gbIdbObj.idbGetString("cacheServerUrl");
4019
4019
  await gbIdbObj.idbSetItem("cacheServerUrl", e);
4020
- const t = await gbIdbObj.idbGetString("clientCacheVersion");
4021
- await gbIdbObj.idbSetItem("clientCacheVersion", this.clientCacheVersion), t !== this.clientCacheVersion ? await this.clear_cache() : await this.cache_read(), await this.__load_api_flag(), await this.__load_api_auth(), await this.__load_api_code(), await this.__load_api_key(), await this.__load_system_config(), this.SA_KEYBOARD_SET();
4020
+ const t = await gbIdbObj.idbGetString(ua);
4021
+ await gbIdbObj.idbSetItem(ua, this.cacheClientVersion), t !== this.cacheClientVersion ? await this.clear_cache() : await this.cache_read(), await this.__load_api_flag(), await this.__load_api_auth(), await this.__load_api_code(), await this.__load_api_key(), await this.__load_system_config(), this.SA_KEYBOARD_SET();
4022
4022
  },
4023
4023
  async clear_cache() {
4024
4024
  const e = P.localGet(bt);
4025
- P.localSet(bt, e), await gbIdbObj.idbDelItem("clearCache"), await gbIdbObj.idbDelItem("clientCacheVersion"), await gbIdbObj.idbDelItem(On), await gbIdbObj.idbDelItem(In);
4025
+ P.localSet(bt, e), await gbIdbObj.idbDelItem("clearCache"), await gbIdbObj.idbDelItem(On), await gbIdbObj.idbDelItem(In);
4026
4026
  },
4027
4027
  async cache_read() {
4028
- this.clientId = await gbIdbObj.idbGetString("clientId"), this.cacheServerUrl = await gbIdbObj.idbGetString("cacheServerUrl"), this.cacheServerUrl && (window.systemInfo.apiUrl = this.cacheServerUrl);
4028
+ this.cacheServerUrl = await gbIdbObj.idbGetString("cacheServerUrl"), this.cacheServerUrl && (window.systemInfo.apiUrl = this.cacheServerUrl);
4029
4029
  },
4030
4030
  async __load_api_flag() {
4031
4031
  let e = await gbIdbObj.idbGetItem(On);
@@ -4046,12 +4046,13 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
4046
4046
  });
4047
4047
  },
4048
4048
  async __load_api_key() {
4049
- this.clientId = await gbIdbObj.idbGetString("clientId"), this.clientId || (this.clientId = cvUtils.randomString(6), await gbIdbObj.idbSetItem("clientId", this.clientId)), this.apiKeyData = await gbIdbObj.idbGetItem(ia), this.apiKeyData || await fe.setOptions({ encrypt: !1 }).flagGet("BASE_ACCSYS_COMMON_KEYCLIENT", {
4050
- client_id: this.clientId
4051
- }).then(({ data: e }) => {
4052
- this.apiKeyData = e, gbIdbObj.idbSetItem(ia, this.apiKeyData);
4049
+ let e = await gbIdbObj.idbGetString(ca);
4050
+ e || (e = cvUtils.randomString(6), await gbIdbObj.idbSetItem(ca, e)), this.cacheClientId = e, this.apiKeyData = await gbIdbObj.idbGetItem(ia), this.apiKeyData || await fe.setOptions({ encrypt: !1 }).flagGet("BASE_ACCSYS_COMMON_KEYCLIENT", {
4051
+ client_id: e
4052
+ }).then(({ data: t }) => {
4053
+ this.apiKeyData = t, gbIdbObj.idbSetItem(ia, this.apiKeyData);
4053
4054
  }), fe.setHeaders({
4054
- "Sy-Client-Id": this.clientId
4055
+ "Sy-Client-Id": e
4055
4056
  });
4056
4057
  },
4057
4058
  /**
@@ -4103,7 +4104,7 @@ const Gt = ss(), Kl = os(), Tn = Hl(), is = De("cloudSdkWindowStore", {
4103
4104
  function Yn(e) {
4104
4105
  return typeof e == "string" && e.trim() !== "" && e !== "undefined";
4105
4106
  }
4106
- const at = "syCacheAppInfo", Me = "syCacheAppToken", St = "syCacheAppJwt", vt = "syCacheAppRbac", ca = {
4107
+ const at = "syCacheAppInfo", Me = "syCacheAppToken", St = "syCacheAppJwt", vt = "syCacheAppRbac", fa = {
4107
4108
  nickname: "",
4108
4109
  staff_nickname: "",
4109
4110
  id: 0,
@@ -4137,7 +4138,7 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", St = "syCacheAppJwt", vt =
4137
4138
  getters: {
4138
4139
  cacheBizsId: (e) => {
4139
4140
  var t;
4140
- return ((t = (void 0).accountInfo) == null ? void 0 : t.business_id) || 0;
4141
+ return ((t = e.accountInfo) == null ? void 0 : t.business_id) || 0;
4141
4142
  },
4142
4143
  staffId: (e) => {
4143
4144
  var t;
@@ -4203,7 +4204,7 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", St = "syCacheAppJwt", vt =
4203
4204
  * @returns {Promise<unknown>}
4204
4205
  */
4205
4206
  SA_ACCOUNT_INFO_PARSE(e) {
4206
- return e = e || ca, cvUtils.isEmpty(e.acc_pre_name) && (e.acc_pre_name = e.acc_pre_nick), e.account_id = cvUtils.parseNumber(e.account_id), e.token_access = e.account_id > 0 ? e.token_access || this.accountToken : "", e.account_avatar_cdn = e.account_avatar_cdn || e.per_avatar_cdn, e.account_mobile_hide = e.account_mobile_hide || e.ucenter_mobile_hide || e.ucenter_mobile, this.accountInfo = e, e;
4207
+ return e = e || fa, cvUtils.isEmpty(e.acc_pre_name) && (e.acc_pre_name = e.acc_pre_nick), e.account_id = cvUtils.parseNumber(e.account_id), e.token_access = e.account_id > 0 ? e.token_access || this.accountToken : "", e.account_avatar_cdn = e.account_avatar_cdn || e.per_avatar_cdn, e.account_mobile_hide = e.account_mobile_hide || e.ucenter_mobile_hide || e.ucenter_mobile, this.accountInfo = e, e;
4207
4208
  },
4208
4209
  SA_ACCOUNT_INFO_SET(e) {
4209
4210
  return new Promise(async (t) => {
@@ -4215,7 +4216,7 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", St = "syCacheAppJwt", vt =
4215
4216
  return this.account_nick;
4216
4217
  },
4217
4218
  SA_ACCOUNT_REFRESH() {
4218
- this.accountInfo = P.localGet(at) || ca, this.accountToken = P.localGet(Me) || "", this.accountJwt = P.localGet(St) || "", fe.setDefHeaders({
4219
+ this.accountInfo = P.localGet(at) || fa, this.accountToken = P.localGet(Me) || "", this.accountJwt = P.localGet(St) || "", fe.setDefHeaders({
4219
4220
  syOpenAppToken: this.accountToken || "",
4220
4221
  Authorization: "Bearer " + this.accountJwt || ""
4221
4222
  });
@@ -4251,15 +4252,15 @@ const at = "syCacheAppInfo", Me = "syCacheAppToken", St = "syCacheAppJwt", vt =
4251
4252
  }
4252
4253
  }
4253
4254
  });
4254
- function ua(e) {
4255
+ function _a(e) {
4255
4256
  return e = e.replace(/^\//, ""), e = e.replace(/\//g, "_"), e;
4256
4257
  }
4257
- function ls(e, t) {
4258
+ function us(e, t) {
4258
4259
  t = t || 1;
4259
4260
  let n = "";
4260
4261
  e.path ? n = e.path : e.component && (n = e.component), e.component || (n = "");
4261
4262
  let r = "";
4262
- if (e.name ? r = e.name : n ? r = ua(n) : r = "temp_name_" + t, r = ua(r), e.children && e.children.length > 0) {
4263
+ if (e.name ? r = e.name : n ? r = _a(n) : r = "temp_name_" + t, r = _a(r), e.children && e.children.length > 0) {
4263
4264
  let a = e.children, s = 0, o = 0;
4264
4265
  a.forEach((i, l) => {
4265
4266
  i.isMenu == !0 && s++, i.isRbac == !0 && o++;
@@ -4271,8 +4272,8 @@ function ls(e, t) {
4271
4272
  name: r
4272
4273
  };
4273
4274
  }
4274
- const jl = {}, ql = jl, Xl = ql.VITE_SY_PRODUCT_SIGN;
4275
- function cs(e) {
4275
+ const Xl = {}, Ql = Xl, Jl = Ql.VITE_SY_PRODUCT_SIGN;
4276
+ function fs(e) {
4276
4277
  let t = Object.prototype.toString.call(e);
4277
4278
  if (t != "[object String]" && t != "[object Array]")
4278
4279
  return !1;
@@ -4290,7 +4291,7 @@ function cs(e) {
4290
4291
  function Kt(e, t) {
4291
4292
  if (e = e || "", e = e.trim(), e == "")
4292
4293
  return !1;
4293
- e.includes("@") || (e = `${Xl}@${e}`);
4294
+ e.includes("@") || (e = `${Jl}@${e}`);
4294
4295
  let n = t || P.localGet("syCacheAppRbac") || "";
4295
4296
  return n = n.trim(), Yn(n) ? n == '"all@all"' || n == "all@all" ? !0 : n.split(",").map((a) => a.trim()).includes(e) : !1;
4296
4297
  }
@@ -4347,7 +4348,7 @@ const Zt = De("cloudSdkProductStore", {
4347
4348
  let i = [];
4348
4349
  for (let l in s) {
4349
4350
  let c = s[l];
4350
- 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)));
4351
+ c = us(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)));
4351
4352
  }
4352
4353
  return i;
4353
4354
  }
@@ -4359,36 +4360,36 @@ const Zt = De("cloudSdkProductStore", {
4359
4360
  return this.menuTree;
4360
4361
  }
4361
4362
  }
4362
- }), Ql = [
4363
+ }), zl = [
4363
4364
  {
4364
4365
  meta: { title: "登录", isAlone: !0 },
4365
4366
  isAlone: !0,
4366
4367
  name: "login",
4367
4368
  path: "/login",
4368
- component: () => import("./login-BX16RcPj.js")
4369
+ component: () => import("./login-BAzOP8jW.js")
4369
4370
  }
4370
- ], Jl = [
4371
+ ], Zl = [
4371
4372
  {
4372
4373
  meta: { title: "不建议单独运行", isAlone: !0 },
4373
4374
  isAlone: !0,
4374
4375
  name: "alone_run",
4375
4376
  path: "/alone_run",
4376
- component: () => import("./alone_run-t8_0-4FT.js")
4377
+ component: () => import("./alone_run-D0vsS5Na.js")
4377
4378
  },
4378
4379
  {
4379
4380
  meta: { title: "错误", isAlone: !0 },
4380
4381
  isAlone: !0,
4381
4382
  name: "404",
4382
4383
  path: "/:catchAll(.*)",
4383
- component: () => import("./404-BLkrv3w1.js")
4384
+ component: () => import("./404-Dge6mEmg.js")
4384
4385
  }
4385
- ], zl = [
4386
+ ], ec = [
4386
4387
  {
4387
4388
  meta: { title: "空页面", isAlone: !1 },
4388
4389
  isAlone: !1,
4389
4390
  name: "none",
4390
4391
  path: "/none",
4391
- component: () => import("./none-Dalhv2Tk.js")
4392
+ component: () => import("./none-CrgAZnxI.js")
4392
4393
  }
4393
4394
  ], en = De("cloudSdkPermissionStore", {
4394
4395
  state: () => ({
@@ -4419,13 +4420,13 @@ const Zt = De("cloudSdkProductStore", {
4419
4420
  * @param {*} router
4420
4421
  */
4421
4422
  SA_PERMS_ROUTER_ADD(e, t) {
4422
- t = t || "", t != "console_passport" && e.addRoute(...Ql), e.addRoute(...Jl), e.addRoute(...zl);
4423
+ t = t || "", t != "console_passport" && e.addRoute(...zl), e.addRoute(...Zl), e.addRoute(...ec);
4423
4424
  },
4424
4425
  /**
4425
4426
  * 验证路由
4426
4427
  */
4427
4428
  SA_PERMS_ROUTER_CHECK(e) {
4428
- let n = ls(e).name;
4429
+ let n = us(e).name;
4429
4430
  return !!(this.whiteList.includes(n) || Kt(n, this.rbacLastStr));
4430
4431
  },
4431
4432
  SA_PERMS_ROUTER_SET(e) {
@@ -4433,14 +4434,14 @@ const Zt = De("cloudSdkProductStore", {
4433
4434
  async SA_PERMS_REFRESH() {
4434
4435
  }
4435
4436
  }
4436
- }), fa = {
4437
+ }), da = {
4437
4438
  "org-business": "商家平台",
4438
4439
  "org-operator": "运营平台",
4439
4440
  "org-agent": "代理商平台",
4440
4441
  "org-admin": "超管平台"
4441
4442
  };
4442
- let Zl = fa[Tt().syAppConnectRole] ? fa[Tt().syAppConnectRole] : "管理系统";
4443
- const ec = De("cloudSdkApplicationStore", {
4443
+ let tc = da[Tt().syAppConnectRole] ? da[Tt().syAppConnectRole] : "管理系统";
4444
+ const nc = De("cloudSdkApplicationStore", {
4444
4445
  state: () => ({
4445
4446
  /**
4446
4447
  * 平台信息
@@ -4456,7 +4457,7 @@ const ec = De("cloudSdkApplicationStore", {
4456
4457
  // 标题
4457
4458
  platinfo_short: "十云",
4458
4459
  privacy_url: "//api.10yun.com/privacy.html",
4459
- system_type: Zl
4460
+ system_type: tc
4460
4461
  // 后台系统类型
4461
4462
  }
4462
4463
  }),
@@ -4471,20 +4472,20 @@ const ec = De("cloudSdkApplicationStore", {
4471
4472
  }
4472
4473
  }
4473
4474
  });
4474
- function tc() {
4475
+ function rc() {
4475
4476
  return new Promise(async (e) => {
4476
4477
  Pt().clear_cache(), Be().clear_cache(), fr().clear_cache(), Te().clear_cache(), Zt().clear_cache(), window.gbIdbObj.idbSetItem("clear_cache", "handle").then((t) => {
4477
4478
  e();
4478
4479
  });
4479
4480
  });
4480
4481
  }
4481
- function nc() {
4482
+ function ac() {
4482
4483
  return {
4483
4484
  computed: {
4484
4485
  ...Le(Ot, ["qiankunExistState"]),
4485
4486
  ...Le(Pt, ["languageName", "languageList", "languageSelect"]),
4486
4487
  ...Le(Be, ["themesName", "themesList", "layoutNavTabs", "layoutSidebarState"]),
4487
- ...Le(is, [
4488
+ ...Le(cs, [
4488
4489
  "windowWidth",
4489
4490
  "windowHeight",
4490
4491
  "windowActive",
@@ -4512,7 +4513,7 @@ function nc() {
4512
4513
  "staffNick"
4513
4514
  ]),
4514
4515
  ...Le(Zt, ["openProductInfo", "menuBadge", "menuCurrOpeneds", "menuCurrOnly"]),
4515
- ...Le(ec, ["openCaseInfo"])
4516
+ ...Le(nc, ["openCaseInfo"])
4516
4517
  },
4517
4518
  watch: {
4518
4519
  windowActive(t) {
@@ -4527,7 +4528,7 @@ const Re = (e, t) => {
4527
4528
  for (const [r, a] of t)
4528
4529
  n[r] = a;
4529
4530
  return n;
4530
- }, rc = {
4531
+ }, sc = {
4531
4532
  name: "HeaderSysSettDrawer",
4532
4533
  components: {},
4533
4534
  props: {
@@ -4578,8 +4579,8 @@ const Re = (e, t) => {
4578
4579
  this.$parent.frameHandleCommand("clearCache");
4579
4580
  }
4580
4581
  }
4581
- }, ac = { class: "cloud-sett-drawer-body" }, sc = { class: "cloud-sett-drawer-skin" };
4582
- function oc(e, t, n, r, a, s) {
4582
+ }, oc = { class: "cloud-sett-drawer-body" }, ic = { class: "cloud-sett-drawer-skin" };
4583
+ function lc(e, t, n, r, a, s) {
4583
4584
  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");
4584
4585
  return U(), J(A, {
4585
4586
  title: "系统设置",
@@ -4590,7 +4591,7 @@ function oc(e, t, n, r, a, s) {
4590
4591
  "before-close": s.frameTopSysSettClose
4591
4592
  }, {
4592
4593
  default: D(() => [
4593
- k("div", ac, [
4594
+ k("div", oc, [
4594
4595
  w(p, {
4595
4596
  labelWidth: "auto",
4596
4597
  "label-position": "left"
@@ -4601,7 +4602,7 @@ function oc(e, t, n, r, a, s) {
4601
4602
  "label-position": "top"
4602
4603
  }, {
4603
4604
  default: D(() => [
4604
- k("div", sc, [
4605
+ k("div", ic, [
4605
4606
  w(o),
4606
4607
  w(o),
4607
4608
  w(o)
@@ -4739,7 +4740,7 @@ function oc(e, t, n, r, a, s) {
4739
4740
  _: 1
4740
4741
  }, 8, ["modelValue", "before-close"]);
4741
4742
  }
4742
- const ic = /* @__PURE__ */ Re(rc, [["render", oc]]), lc = {
4743
+ const cc = /* @__PURE__ */ Re(sc, [["render", lc]]), uc = {
4743
4744
  props: {
4744
4745
  className: ""
4745
4746
  },
@@ -4761,21 +4762,21 @@ const ic = /* @__PURE__ */ Re(rc, [["render", oc]]), lc = {
4761
4762
  },
4762
4763
  methods: {}
4763
4764
  };
4764
- function cc(e, t, n, r, a, s) {
4765
+ function fc(e, t, n, r, a, s) {
4765
4766
  const o = B("router-view");
4766
4767
  return U(), J(o, { key: a.routeRefreshNum }, {
4767
4768
  default: D(({ Component: i, route: l }) => [
4768
- w(xs, {
4769
+ w(Gs, {
4769
4770
  name: a.routeRefreshAnimation,
4770
4771
  mode: "out-in",
4771
4772
  appear: ""
4772
4773
  }, {
4773
4774
  default: D(() => [
4774
4775
  (U(), Q("div", {
4775
- class: va(n.className),
4776
+ class: ya(n.className),
4776
4777
  key: l.path
4777
4778
  }, [
4778
- (U(), J(Vs(i)))
4779
+ (U(), J($s(i)))
4779
4780
  ], 2))
4780
4781
  ]),
4781
4782
  _: 2
@@ -4784,7 +4785,7 @@ function cc(e, t, n, r, a, s) {
4784
4785
  _: 1
4785
4786
  });
4786
4787
  }
4787
- const uc = /* @__PURE__ */ Re(lc, [["render", cc]]), _a = (e) => Math.pow(e, 3), fc = (e) => e < 0.5 ? _a(e * 2) / 2 : 1 - _a((1 - e) * 2) / 2, _c = {
4788
+ const _c = /* @__PURE__ */ Re(uc, [["render", fc]]), ma = (e) => Math.pow(e, 3), dc = (e) => e < 0.5 ? ma(e * 2) / 2 : 1 - ma((1 - e) * 2) / 2, mc = {
4788
4789
  name: "SameNavTabs",
4789
4790
  data() {
4790
4791
  return {
@@ -4834,7 +4835,7 @@ const uc = /* @__PURE__ */ Re(lc, [["render", cc]]), _a = (e) => Math.pow(e, 3),
4834
4835
  changeGdtBase() {
4835
4836
  const e = this.$refs.navScroll1.wrap, t = Date.now(), n = e.scrollLeft, r = window.requestAnimationFrame || ((s) => setTimeout(s, 16)), a = () => {
4836
4837
  const s = (Date.now() - t) / 500;
4837
- s < 1 ? (e.scrollLeft = n * (1 - fc(s)), r(a)) : e.scrollLeft = 0;
4838
+ s < 1 ? (e.scrollLeft = n * (1 - dc(s)), r(a)) : e.scrollLeft = 0;
4838
4839
  };
4839
4840
  r(a);
4840
4841
  },
@@ -4906,11 +4907,11 @@ const uc = /* @__PURE__ */ Re(lc, [["render", cc]]), _a = (e) => Math.pow(e, 3),
4906
4907
  this.contextMenuVisible = !1;
4907
4908
  }
4908
4909
  }
4909
- }, dc = { class: "cloud-navtabs__wrap" }, mc = { class: "cloud-navtabs__box" }, hc = { class: "cloud-navtabs__main" }, gc = { class: "cloud-navtabs__tags" };
4910
- function pc(e, t, n, r, a, s) {
4910
+ }, hc = { class: "cloud-navtabs__wrap" }, gc = { class: "cloud-navtabs__box" }, pc = { class: "cloud-navtabs__main" }, Ec = { class: "cloud-navtabs__tags" };
4911
+ function bc(e, t, n, r, a, s) {
4911
4912
  const o = B("cv-icons"), i = B("cv-btn-base"), l = B("el-tag"), c = B("el-scrollbar"), f = B("cv-btn-text");
4912
- return U(), Q("div", dc, [
4913
- k("div", mc, [
4913
+ return U(), Q("div", hc, [
4914
+ k("div", gc, [
4914
4915
  w(i, {
4915
4916
  class: "btn-opt-left",
4916
4917
  onClick: s.changeGdtLeft
@@ -4920,19 +4921,19 @@ function pc(e, t, n, r, a, s) {
4920
4921
  ]),
4921
4922
  _: 1
4922
4923
  }, 8, ["onClick"]),
4923
- k("div", hc, [
4924
+ k("div", pc, [
4924
4925
  w(c, { ref: "navScroll1" }, {
4925
4926
  default: D(() => [
4926
- k("div", gc, [
4927
+ k("div", Ec, [
4927
4928
  (U(!0), Q(he, null, Xe(a.sett_tags, (u, m) => (U(), J(l, {
4928
4929
  id: a.activeTag == u.name ? "tagId" : "",
4929
- class: va(["tag xxxxxx-tag", a.activeTag == u.name ? "active" : ""]),
4930
+ class: ya(["tag xxxxxx-tag", a.activeTag == u.name ? "active" : ""]),
4930
4931
  key: u.name,
4931
4932
  closable: u.path !== "/index",
4932
4933
  onClose: (p) => s.removeTag(u, m),
4933
4934
  onClick: (p) => s.changeMenu(u),
4934
4935
  "disable-transitions": "",
4935
- onContextmenu: Gs(s.openContextMenu, ["prevent"])
4936
+ onContextmenu: Ws(s.openContextMenu, ["prevent"])
4936
4937
  }, {
4937
4938
  default: D(() => [
4938
4939
  te(ne(u.title), 1)
@@ -4960,7 +4961,7 @@ function pc(e, t, n, r, a, s) {
4960
4961
  ]),
4961
4962
  _: 1
4962
4963
  }),
4963
- Aa(k("div", {
4964
+ Na(k("div", {
4964
4965
  class: "cloud-navtabs__contextmenu",
4965
4966
  style: Dn(a.contextMenuStyle)
4966
4967
  }, [
@@ -5021,12 +5022,12 @@ function pc(e, t, n, r, a, s) {
5021
5022
  ])
5022
5023
  ], 4)
5023
5024
  ], 4), [
5024
- [ya, a.contextMenuVisible]
5025
+ [Ta, a.contextMenuVisible]
5025
5026
  ])
5026
5027
  ])
5027
5028
  ]);
5028
5029
  }
5029
- const Ec = /* @__PURE__ */ Re(_c, [["render", pc]]), bc = {
5030
+ const Sc = /* @__PURE__ */ Re(mc, [["render", bc]]), vc = {
5030
5031
  name: "SidebarMenuItem",
5031
5032
  props: {
5032
5033
  menuData: {
@@ -5071,14 +5072,14 @@ const Ec = /* @__PURE__ */ Re(_c, [["render", pc]]), bc = {
5071
5072
  this.jumpsAuth(e.path);
5072
5073
  }
5073
5074
  }
5074
- }, Sc = { class: "cloud-subapp-menu-icon" }, vc = { key: 1 }, Ac = {
5075
+ }, Ac = { class: "cloud-subapp-menu-icon" }, yc = { key: 1 }, Nc = {
5075
5076
  key: 0,
5076
5077
  class: "cloud-subapp-menu-icon"
5077
- }, yc = {
5078
+ }, Tc = {
5078
5079
  key: 1,
5079
5080
  class: "cloud-subapp-menu-icon"
5080
5081
  };
5081
- function Nc(e, t, n, r, a, s) {
5082
+ function Oc(e, t, n, r, a, s) {
5082
5083
  const o = B("cv-icons"), i = B("SidebarMenuItem", !0), l = B("el-sub-menu"), c = B("cv-badge"), f = B("el-menu-item");
5083
5084
  return U(!0), Q(he, null, Xe(n.menuData, (u) => (U(), Q(he, null, [
5084
5085
  u.isMenu == !0 ? (U(), Q(he, { key: 0 }, [
@@ -5087,13 +5088,13 @@ function Nc(e, t, n, r, a, s) {
5087
5088
  index: u.name
5088
5089
  }, {
5089
5090
  title: D(() => [
5090
- k("div", Sc, [
5091
+ k("div", Ac, [
5091
5092
  u.meta.icon ? (U(), J(o, {
5092
5093
  key: 0,
5093
5094
  type: u.meta.icon,
5094
5095
  size: "16"
5095
5096
  }, null, 8, ["type"])) : ue("", !0),
5096
- !u.meta.icon && n.collapse ? (U(), Q("span", vc, ne(u.meta.short || u.meta.title), 1)) : ue("", !0)
5097
+ !u.meta.icon && n.collapse ? (U(), Q("span", yc, ne(u.meta.short || u.meta.title), 1)) : ue("", !0)
5097
5098
  ]),
5098
5099
  k("span", null, ne(u.meta.title || u.meta.short), 1)
5099
5100
  ]),
@@ -5115,7 +5116,7 @@ function Nc(e, t, n, r, a, s) {
5115
5116
  te(ne(u.meta.short || u.meta.title), 1)
5116
5117
  ]),
5117
5118
  default: D(() => [
5118
- !u.meta.icon && n.collapse && !n.isChildren ? (U(), Q("div", Ac, ne(u.meta.short || u.meta.title), 1)) : (U(), Q("div", yc, [
5119
+ !u.meta.icon && n.collapse && !n.isChildren ? (U(), Q("div", Nc, ne(u.meta.short || u.meta.title), 1)) : (U(), Q("div", Tc, [
5119
5120
  u.meta.icon ? (U(), J(o, {
5120
5121
  key: 0,
5121
5122
  type: u.meta.icon,
@@ -5138,10 +5139,10 @@ function Nc(e, t, n, r, a, s) {
5138
5139
  ], 64)) : ue("", !0)
5139
5140
  ], 64))), 256);
5140
5141
  }
5141
- const Tc = /* @__PURE__ */ Re(bc, [["render", Nc]]), Oc = {
5142
+ const Ic = /* @__PURE__ */ Re(vc, [["render", Oc]]), Cc = {
5142
5143
  name: "SidebarMenuBox",
5143
5144
  components: {
5144
- SidebarMenuItem: Tc
5145
+ SidebarMenuItem: Ic
5145
5146
  },
5146
5147
  props: {
5147
5148
  collapse: {
@@ -5182,12 +5183,12 @@ const Tc = /* @__PURE__ */ Re(bc, [["render", Nc]]), Oc = {
5182
5183
  handleClose(e, t) {
5183
5184
  }
5184
5185
  }
5185
- }, Ic = { class: "cloud-subapp-wrap" }, Cc = { class: "cloud-sidebar__title" }, Lc = { class: "cloud-subapp-menu-box" };
5186
- function wc(e, t, n, r, a, s) {
5186
+ }, Lc = { class: "cloud-subapp-wrap" }, wc = { class: "cloud-sidebar__title" }, Dc = { class: "cloud-subapp-menu-box" };
5187
+ function Rc(e, t, n, r, a, s) {
5187
5188
  const o = B("SidebarMenuItem"), i = B("el-menu");
5188
- return U(), Q("div", Ic, [
5189
- k("div", Cc, ne(e.openProductInfo.info_title), 1),
5190
- k("div", Lc, [
5189
+ return U(), Q("div", Lc, [
5190
+ k("div", wc, ne(e.openProductInfo.info_title), 1),
5191
+ k("div", Dc, [
5191
5192
  w(i, {
5192
5193
  collapse: n.collapse,
5193
5194
  "default-openeds": a.menuDefaultOpeneds,
@@ -5207,7 +5208,7 @@ function wc(e, t, n, r, a, s) {
5207
5208
  ])
5208
5209
  ]);
5209
5210
  }
5210
- const Dc = /* @__PURE__ */ Re(Oc, [["render", wc]]), Rc = {
5211
+ const kc = /* @__PURE__ */ Re(Cc, [["render", Rc]]), Pc = {
5211
5212
  name: "ChangePassword",
5212
5213
  props: {
5213
5214
  modelValue: {
@@ -5258,8 +5259,8 @@ const Dc = /* @__PURE__ */ Re(Oc, [["render", wc]]), Rc = {
5258
5259
  });
5259
5260
  }
5260
5261
  }
5261
- }, kc = { class: "dialog-footer" };
5262
- function Pc(e, t, n, r, a, s) {
5262
+ }, Fc = { class: "dialog-footer" };
5263
+ function Mc(e, t, n, r, a, s) {
5263
5264
  const o = B("el-input"), i = B("el-form-item"), l = B("el-form"), c = B("el-button"), f = B("el-dialog");
5264
5265
  return U(), J(f, {
5265
5266
  width: 520,
@@ -5269,7 +5270,7 @@ function Pc(e, t, n, r, a, s) {
5269
5270
  onClose: s.handleCancel
5270
5271
  }, {
5271
5272
  footer: D(() => [
5272
- k("div", kc, [
5273
+ k("div", Fc, [
5273
5274
  w(c, { onClick: s.handleCancel }, {
5274
5275
  default: D(() => t[4] || (t[4] = [
5275
5276
  te("取 消")
@@ -5342,7 +5343,7 @@ function Pc(e, t, n, r, a, s) {
5342
5343
  _: 1
5343
5344
  }, 8, ["modelValue", "onClose"]);
5344
5345
  }
5345
- const Fc = /* @__PURE__ */ Re(Rc, [["render", Pc]]), Mc = {
5346
+ const Uc = /* @__PURE__ */ Re(Pc, [["render", Mc]]), Bc = {
5346
5347
  name: "SwitchBusiness",
5347
5348
  props: {
5348
5349
  modelValue: {
@@ -5426,11 +5427,11 @@ const Fc = /* @__PURE__ */ Re(Rc, [["render", Pc]]), Mc = {
5426
5427
  // return segs
5427
5428
  // }
5428
5429
  }
5429
- }, 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" };
5430
- function zc(e, t, n, r, a, s) {
5430
+ }, xc = { class: "cloud-login-change-wrap" }, Vc = { class: "cloud-login-change-box1" }, Gc = { class: "cloud-login-change-search" }, $c = { class: "cloud-login-change-box2" }, Wc = { class: "cloud-login-change-group-box" }, Yc = { class: "cloud-login-change-group-title" }, Hc = { class: "cloud-login-change-group-sublist" }, Kc = ["onClick"], jc = { class: "cloud-login-change-item-left" }, qc = { class: "cloud-login-change-item-left-icon" }, Xc = ["src"], Qc = { class: "cloud-login-change-item-right" }, Jc = { class: "cloud-login-change-item-right-label" }, zc = { class: "cloud-login-change-item-right-label2" }, Zc = { class: "cloud-login-change-item-more" };
5431
+ function eu(e, t, n, r, a, s) {
5431
5432
  const o = B("el-input"), i = B("el-button"), l = B("cv-icons");
5432
- return U(), Q("div", Uc, [
5433
- k("div", Bc, [
5433
+ return U(), Q("div", xc, [
5434
+ k("div", Vc, [
5434
5435
  k("div", {
5435
5436
  class: "cloud-login-change-reset",
5436
5437
  onClick: t[0] || (t[0] = (...c) => s.chainReselection && s.chainReselection(...c))
@@ -5440,7 +5441,7 @@ function zc(e, t, n, r, a, s) {
5440
5441
  k("p", null, "为规范平台操作、统一平台账号;以便后续提供更多的功能体验;"),
5441
5442
  k("p", null, "后续商户人员(含管理员)登录,需进一步通过 短信 或 扫码 进行验证。")
5442
5443
  ], -1)),
5443
- k("div", xc, [
5444
+ k("div", Gc, [
5444
5445
  w(o, {
5445
5446
  modelValue: a.chainKeyword,
5446
5447
  "onUpdate:modelValue": t[1] || (t[1] = (c) => a.chainKeyword = c),
@@ -5460,34 +5461,34 @@ function zc(e, t, n, r, a, s) {
5460
5461
  _: 1
5461
5462
  }, 8, ["onClick"])
5462
5463
  ]),
5463
- k("div", Vc, [
5464
- k("div", Gc, [
5464
+ k("div", $c, [
5465
+ k("div", Wc, [
5465
5466
  (U(!0), Q(he, null, Xe(a.chainLastList, (c, f) => (U(), Q("div", {
5466
5467
  class: "cloud-login-change-group-item",
5467
5468
  key: f
5468
5469
  }, [
5469
- k("div", $c, ne(c.title || "无") + "(" + ne(c.total) + ")", 1),
5470
- k("div", Wc, [
5470
+ k("div", Yc, ne(c.title || "无") + "(" + ne(c.total) + ")", 1),
5471
+ k("div", Hc, [
5471
5472
  (U(!0), Q(he, null, Xe(c.list, (u, m) => (U(), Q("div", {
5472
5473
  class: "cloud-login-change-item-bao",
5473
5474
  key: m,
5474
5475
  onClick: (p) => s.chainSelection(u)
5475
5476
  }, [
5476
- k("div", Hc, [
5477
- k("div", Kc, [
5477
+ k("div", jc, [
5478
+ k("div", qc, [
5478
5479
  k("img", {
5479
5480
  src: u.business_icon_cdn
5480
- }, null, 8, jc)
5481
+ }, null, 8, Xc)
5481
5482
  ])
5482
5483
  ]),
5483
- k("div", qc, [
5484
- k("div", Xc, ne(u.business_name), 1),
5485
- k("div", Qc, "【" + ne(u.acc_role_type_str) + "】", 1)
5484
+ k("div", Qc, [
5485
+ k("div", Jc, ne(u.business_name), 1),
5486
+ k("div", zc, "【" + ne(u.acc_role_type_str) + "】", 1)
5486
5487
  ]),
5487
- k("div", Jc, [
5488
+ k("div", Zc, [
5488
5489
  w(l, { type: "ElIconArrowRight" })
5489
5490
  ])
5490
- ], 8, Yc))), 128))
5491
+ ], 8, Kc))), 128))
5491
5492
  ])
5492
5493
  ]))), 128))
5493
5494
  ])
@@ -5495,15 +5496,15 @@ function zc(e, t, n, r, a, s) {
5495
5496
  ])
5496
5497
  ]);
5497
5498
  }
5498
- const Zc = /* @__PURE__ */ Re(Mc, [["render", zc]]), eu = {
5499
+ const tu = /* @__PURE__ */ Re(Bc, [["render", eu]]), nu = {
5499
5500
  name: "SameFrame",
5500
5501
  components: {
5501
- SidebarMenuBox: Dc,
5502
- SameNavTabs: Ec,
5503
- SameRouteView: uc,
5504
- HeaderSysSettDrawer: ic,
5505
- ChangePassword: Fc,
5506
- SwitchBusiness: Zc
5502
+ SidebarMenuBox: kc,
5503
+ SameNavTabs: Sc,
5504
+ SameRouteView: _c,
5505
+ HeaderSysSettDrawer: cc,
5506
+ ChangePassword: Uc,
5507
+ SwitchBusiness: tu
5507
5508
  },
5508
5509
  props: {},
5509
5510
  data() {
@@ -5540,7 +5541,7 @@ const Zc = /* @__PURE__ */ Re(Mc, [["render", zc]]), eu = {
5540
5541
  created() {
5541
5542
  },
5542
5543
  mounted() {
5543
- this.frameSidebarOpen = this.layoutSidebarState, is().$subscribe((t, n) => {
5544
+ this.frameSidebarOpen = this.layoutSidebarState, cs().$subscribe((t, n) => {
5544
5545
  n.windowWidth < 1061 ? this.frameSidebarOpen = "off" : this.frameSidebarOpen = "on", Be().SA_LAYOUT_SLIDEBAR_SET(this.frameSidebarOpen);
5545
5546
  }), window.onresize = () => {
5546
5547
  (document.mozFullScreen || document.fullScreen || //谷歌浏览器及Webkit内核浏览器
@@ -5590,7 +5591,7 @@ const Zc = /* @__PURE__ */ Re(Mc, [["render", zc]]), eu = {
5590
5591
  cancelButtonText: "取消",
5591
5592
  type: "warning"
5592
5593
  }).then(() => {
5593
- tc().then((n) => {
5594
+ rc().then((n) => {
5594
5595
  window.location.reload();
5595
5596
  });
5596
5597
  }).catch((n) => {
@@ -5636,30 +5637,30 @@ const Zc = /* @__PURE__ */ Re(Mc, [["render", zc]]), eu = {
5636
5637
  });
5637
5638
  }
5638
5639
  }
5639
- }, tu = { class: "cloud-layout__wrap" }, nu = { class: "cloud-header__wrap" }, ru = { class: "cloud-header__logo" }, au = {
5640
+ }, ru = { class: "cloud-layout__wrap" }, au = { class: "cloud-header__wrap" }, su = { class: "cloud-header__logo" }, ou = {
5640
5641
  href: "/",
5641
5642
  title: "官网",
5642
5643
  class: "cloud-header__logo-a"
5643
- }, su = ["src"], ou = { class: "cloud-header__logo-title" }, iu = { class: "cloud-header__breadcrumb" }, lu = {
5644
+ }, iu = ["src"], lu = { class: "cloud-header__logo-title" }, cu = { class: "cloud-header__breadcrumb" }, uu = {
5644
5645
  key: 0,
5645
5646
  class: "chopt-num"
5646
- }, cu = {
5647
+ }, fu = {
5647
5648
  key: 0,
5648
5649
  class: "chopt-num"
5649
- }, uu = { class: "cloud-header__info" }, fu = ["src"], _u = { class: "chinfo-infoname" }, du = { class: "cloud-sidebar__wrap" }, mu = { class: "cloud-pages__wrap" };
5650
- function hu(e, t, n, r, a, s) {
5650
+ }, _u = { class: "cloud-header__info" }, du = ["src"], mu = { class: "chinfo-infoname" }, hu = { class: "cloud-sidebar__wrap" }, gu = { class: "cloud-pages__wrap" };
5651
+ function pu(e, t, n, r, a, s) {
5651
5652
  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");
5652
- return U(), Q("div", tu, [
5653
- k("header", nu, [
5654
- k("div", ru, [
5655
- k("a", au, [
5653
+ return U(), Q("div", ru, [
5654
+ k("header", au, [
5655
+ k("div", su, [
5656
+ k("a", ou, [
5656
5657
  k("img", {
5657
5658
  class: "cloud-header__logo-img",
5658
5659
  src: e.openCaseInfo.platinfo_logo,
5659
5660
  alt: ""
5660
- }, null, 8, su)
5661
+ }, null, 8, iu)
5661
5662
  ]),
5662
- k("div", ou, ne(e.openCaseInfo.platinfo_title), 1)
5663
+ k("div", lu, ne(e.openCaseInfo.platinfo_title), 1)
5663
5664
  ]),
5664
5665
  k("div", {
5665
5666
  class: "cloud-header__opt",
@@ -5685,7 +5686,7 @@ function hu(e, t, n, r, a, s) {
5685
5686
  size: "20"
5686
5687
  })
5687
5688
  ]),
5688
- k("div", iu, [
5689
+ k("div", cu, [
5689
5690
  w(l, { separator: "/" }, {
5690
5691
  default: D(() => [
5691
5692
  (U(!0), Q(he, null, Xe(a.breadcrumbPath, (g, N) => (U(), Q(he, null, [
@@ -5720,7 +5721,7 @@ function hu(e, t, n, r, a, s) {
5720
5721
  type: "ElIconChatLineRound",
5721
5722
  size: "20"
5722
5723
  }),
5723
- a.chatUnreadTotal > 0 ? (U(), Q("em", lu, ne(a.chatUnreadTotal > 99 ? "99+" : a.chatUnreadTotal), 1)) : ue("", !0)
5724
+ a.chatUnreadTotal > 0 ? (U(), Q("em", uu, ne(a.chatUnreadTotal > 99 ? "99+" : a.chatUnreadTotal), 1)) : ue("", !0)
5724
5725
  ]),
5725
5726
  k("div", {
5726
5727
  class: "cloud-header__opt chopt-relative",
@@ -5730,9 +5731,9 @@ function hu(e, t, n, r, a, s) {
5730
5731
  type: "ElIconMessage",
5731
5732
  size: "20"
5732
5733
  }),
5733
- a.emailUnreadTotal > 0 ? (U(), Q("em", cu, ne(a.emailUnreadTotal > 99 ? "99+" : a.emailUnreadTotal), 1)) : ue("", !0)
5734
+ a.emailUnreadTotal > 0 ? (U(), Q("em", fu, ne(a.emailUnreadTotal > 99 ? "99+" : a.emailUnreadTotal), 1)) : ue("", !0)
5734
5735
  ]),
5735
- k("div", uu, [
5736
+ k("div", _u, [
5736
5737
  w(u, {
5737
5738
  onCommand: s.frameHandleCommand,
5738
5739
  "popper-class": "cloud-header__info_dropdown"
@@ -5793,8 +5794,8 @@ function hu(e, t, n, r, a, s) {
5793
5794
  class: "chinfo-avatar",
5794
5795
  src: e.accountInfo.account_avatar_cdn,
5795
5796
  title: "头像"
5796
- }, null, 8, fu),
5797
- k("div", _u, ne(s.headerInfoName), 1),
5797
+ }, null, 8, du),
5798
+ k("div", mu, ne(s.headerInfoName), 1),
5798
5799
  w(o, { type: "ElIconArrowDown" })
5799
5800
  ])
5800
5801
  ]),
@@ -5830,14 +5831,14 @@ function hu(e, t, n, r, a, s) {
5830
5831
  })
5831
5832
  ])
5832
5833
  ]),
5833
- k("section", du, [
5834
+ k("section", hu, [
5834
5835
  w(m, {
5835
5836
  collapse: a.frameSidebarOpen == "off"
5836
5837
  }, null, 8, ["collapse"])
5837
5838
  ]),
5838
- k("section", mu, [
5839
- Aa(w(p, null, null, 512), [
5840
- [ya, e.layoutNavTabs == "on"]
5839
+ k("section", gu, [
5840
+ Na(w(p, null, null, 512), [
5841
+ [Ta, e.layoutNavTabs == "on"]
5841
5842
  ]),
5842
5843
  w(A, { className: "cloud-pages__box" })
5843
5844
  ]),
@@ -5860,7 +5861,7 @@ function hu(e, t, n, r, a, s) {
5860
5861
  }, null, 8, ["modelValue", "onReselectFunc", "onSelectFunc"])) : ue("", !0)
5861
5862
  ]);
5862
5863
  }
5863
- const Yf = /* @__PURE__ */ Re(eu, [["render", hu]]), gu = {
5864
+ const Kf = /* @__PURE__ */ Re(nu, [["render", pu]]), Eu = {
5864
5865
  data() {
5865
5866
  return {
5866
5867
  watemarkText: "shiyun"
@@ -5886,16 +5887,16 @@ const Yf = /* @__PURE__ */ Re(eu, [["render", hu]]), gu = {
5886
5887
  }
5887
5888
  }
5888
5889
  };
5889
- function pu(e, t, n, r, a, s) {
5890
+ function bu(e, t, n, r, a, s) {
5890
5891
  const o = B("el-watermark");
5891
- return U(), J(o, $s(s.watemarkConf, { style: { height: "100%" } }), {
5892
+ return U(), J(o, Ys(s.watemarkConf, { style: { height: "100%" } }), {
5892
5893
  default: D(() => [
5893
- Ws(e.$slots, "default")
5894
+ Hs(e.$slots, "default")
5894
5895
  ]),
5895
5896
  _: 3
5896
5897
  }, 16);
5897
5898
  }
5898
- const Hf = /* @__PURE__ */ Re(gu, [["render", pu]]);
5899
+ const jf = /* @__PURE__ */ Re(Eu, [["render", bu]]);
5899
5900
  (function() {
5900
5901
  if (typeof EventTarget < "u") {
5901
5902
  let e = EventTarget.prototype.addEventListener;
@@ -5904,10 +5905,10 @@ const Hf = /* @__PURE__ */ Re(gu, [["render", pu]]);
5904
5905
  };
5905
5906
  }
5906
5907
  })();
5907
- const Eu = 60 * 60 * 24 * 7;
5908
- class bu {
5908
+ const Su = 60 * 60 * 24 * 7;
5909
+ class vu {
5909
5910
  constructor(t) {
5910
- this.prefix = t.prefix || "", this.expired = t.expired || Eu, this.crypto = !!t.crypto, this.merge = !!t.merge, this.keyExpired = {
5911
+ this.prefix = t.prefix || "", this.expired = t.expired || Su, this.crypto = !!t.crypto, this.merge = !!t.merge, this.keyExpired = {
5911
5912
  session: {},
5912
5913
  local: {}
5913
5914
  }, this.keyGroup = {
@@ -6024,7 +6025,7 @@ class bu {
6024
6025
  this._deleteKey("local");
6025
6026
  }
6026
6027
  }
6027
- function Su() {
6028
+ function Au() {
6028
6029
  try {
6029
6030
  if (typeof indexedDB < "u")
6030
6031
  return indexedDB;
@@ -6040,8 +6041,8 @@ function Su() {
6040
6041
  return;
6041
6042
  }
6042
6043
  }
6043
- var ut = Su();
6044
- function vu() {
6044
+ var ut = Au();
6045
+ function yu() {
6045
6046
  try {
6046
6047
  if (!ut || !ut.open)
6047
6048
  return !1;
@@ -6091,13 +6092,13 @@ function dr() {
6091
6092
  }
6092
6093
  const Hn = "local-forage-detect-blob-support";
6093
6094
  let $t;
6094
- const be = {}, Au = Object.prototype.toString, Ft = "readonly", tn = "readwrite";
6095
- function yu(e) {
6095
+ const be = {}, Nu = Object.prototype.toString, Ft = "readonly", tn = "readwrite";
6096
+ function Tu(e) {
6096
6097
  for (var t = e.length, n = new ArrayBuffer(t), r = new Uint8Array(n), a = 0; a < t; a++)
6097
6098
  r[a] = e.charCodeAt(a);
6098
6099
  return n;
6099
6100
  }
6100
- function Nu(e) {
6101
+ function Ou(e) {
6101
6102
  return new F(function(t) {
6102
6103
  var n = e.transaction(Hn, tn), r = _r([""]);
6103
6104
  n.objectStore(Hn).put(r, "key"), n.onabort = function(a) {
@@ -6112,8 +6113,8 @@ function Nu(e) {
6112
6113
  return !1;
6113
6114
  });
6114
6115
  }
6115
- function Tu(e) {
6116
- return typeof $t == "boolean" ? F.resolve($t) : Nu(e).then(function(t) {
6116
+ function Iu(e) {
6117
+ return typeof $t == "boolean" ? F.resolve($t) : Ou(e).then(function(t) {
6117
6118
  return $t = t, $t;
6118
6119
  });
6119
6120
  }
@@ -6135,9 +6136,9 @@ function jn(e, t) {
6135
6136
  if (r)
6136
6137
  return r.reject(t), r.promise;
6137
6138
  }
6138
- function us(e, t) {
6139
+ function _s(e, t) {
6139
6140
  return new F(function(n, r) {
6140
- if (be[e.name] = be[e.name] || ms(), e.db)
6141
+ if (be[e.name] = be[e.name] || gs(), e.db)
6141
6142
  if (t)
6142
6143
  jt(e), e.db.close();
6143
6144
  else
@@ -6164,12 +6165,12 @@ function us(e, t) {
6164
6165
  });
6165
6166
  }
6166
6167
  function mr(e) {
6167
- return us(e, !1);
6168
+ return _s(e, !1);
6168
6169
  }
6169
6170
  function hr(e) {
6170
- return us(e, !0);
6171
+ return _s(e, !0);
6171
6172
  }
6172
- function fs(e, t) {
6173
+ function ds(e, t) {
6173
6174
  if (!e.db)
6174
6175
  return !0;
6175
6176
  var n = !e.db.objectStoreNames.contains(e.storeName), r = e.version < e.db.version, a = e.version > e.db.version;
@@ -6182,7 +6183,7 @@ function fs(e, t) {
6182
6183
  }
6183
6184
  return !1;
6184
6185
  }
6185
- function Ou(e) {
6186
+ function Cu(e) {
6186
6187
  return new F(function(t, n) {
6187
6188
  var r = new FileReader();
6188
6189
  r.onerror = n, r.onloadend = function(a) {
@@ -6195,14 +6196,14 @@ function Ou(e) {
6195
6196
  }, r.readAsBinaryString(e);
6196
6197
  });
6197
6198
  }
6198
- function _s(e) {
6199
- var t = yu(atob(e.data));
6199
+ function ms(e) {
6200
+ var t = Tu(atob(e.data));
6200
6201
  return _r([t], { type: e.type });
6201
6202
  }
6202
- function ds(e) {
6203
+ function hs(e) {
6203
6204
  return e && e.__local_forage_encoded_blob;
6204
6205
  }
6205
- function Iu(e) {
6206
+ function Lu(e) {
6206
6207
  var t = this, n = t._initReady().then(function() {
6207
6208
  var r = be[t._dbInfo.name];
6208
6209
  if (r && r.dbReady)
@@ -6210,13 +6211,13 @@ function Iu(e) {
6210
6211
  });
6211
6212
  return ot(n, e, e), n;
6212
6213
  }
6213
- function Cu(e) {
6214
+ function wu(e) {
6214
6215
  jt(e);
6215
6216
  for (var t = be[e.name], n = t.forages, r = 0; r < n.length; r++) {
6216
6217
  const a = n[r];
6217
6218
  a._dbInfo.db && (a._dbInfo.db.close(), a._dbInfo.db = null);
6218
6219
  }
6219
- return e.db = null, mr(e).then((a) => (e.db = a, fs(e) ? hr(e) : a)).then((a) => {
6220
+ return e.db = null, mr(e).then((a) => (e.db = a, ds(e) ? hr(e) : a)).then((a) => {
6220
6221
  e.db = t.db = a;
6221
6222
  for (var s = 0; s < n.length; s++)
6222
6223
  n[s]._dbInfo.db = a;
@@ -6236,13 +6237,13 @@ function Pe(e, t, n, r) {
6236
6237
  e.storeName
6237
6238
  ) && e.version <= e.db.version)
6238
6239
  return e.db && (e.version = e.db.version + 1), hr(e);
6239
- }).then(() => Cu(e).then(function() {
6240
+ }).then(() => wu(e).then(function() {
6240
6241
  Pe(e, t, n, r - 1);
6241
6242
  })).catch(n);
6242
6243
  n(s);
6243
6244
  }
6244
6245
  }
6245
- function ms() {
6246
+ function gs() {
6246
6247
  return {
6247
6248
  // Running localForages sharing a database.
6248
6249
  forages: [],
@@ -6254,7 +6255,7 @@ function ms() {
6254
6255
  deferredOperations: []
6255
6256
  };
6256
6257
  }
6257
- function Lu(e) {
6258
+ function Du(e) {
6258
6259
  var t = this, n = {
6259
6260
  db: null
6260
6261
  };
@@ -6262,7 +6263,7 @@ function Lu(e) {
6262
6263
  for (var r in e)
6263
6264
  n[r] = e[r];
6264
6265
  var a = be[n.name];
6265
- a || (a = ms(), be[n.name] = a), a.forages.push(t), t._initReady || (t._initReady = t.ready, t.ready = Iu);
6266
+ a || (a = gs(), be[n.name] = a), a.forages.push(t), t._initReady || (t._initReady = t.ready, t.ready = Lu);
6266
6267
  var s = [];
6267
6268
  function o() {
6268
6269
  return F.resolve();
@@ -6275,7 +6276,7 @@ function Lu(e) {
6275
6276
  return F.all(s).then(function() {
6276
6277
  return n.db = a.db, mr(n);
6277
6278
  }).then(function(f) {
6278
- return n.db = f, fs(n, t._defaultConfig.version) ? hr(n) : f;
6279
+ return n.db = f, ds(n, t._defaultConfig.version) ? hr(n) : f;
6279
6280
  }).then(function(f) {
6280
6281
  n.db = a.db = f, t._dbInfo = n;
6281
6282
  for (var u = 0; u < c.length; u++) {
@@ -6284,7 +6285,7 @@ function Lu(e) {
6284
6285
  }
6285
6286
  });
6286
6287
  }
6287
- function wu(e, t) {
6288
+ function Ru(e, t) {
6288
6289
  var n = this;
6289
6290
  e = ke(e);
6290
6291
  var r = new F(function(a, s) {
@@ -6298,7 +6299,7 @@ function wu(e, t) {
6298
6299
  ), c = l.get(e);
6299
6300
  c.onsuccess = function() {
6300
6301
  var f = c.result;
6301
- f === void 0 && (f = null), ds(f) && (f = _s(f)), a(f);
6302
+ f === void 0 && (f = null), hs(f) && (f = ms(f)), a(f);
6302
6303
  }, c.onerror = function() {
6303
6304
  s(c.error);
6304
6305
  };
@@ -6310,7 +6311,7 @@ function wu(e, t) {
6310
6311
  });
6311
6312
  return j(r, t), r;
6312
6313
  }
6313
- function Du(e, t) {
6314
+ function ku(e, t) {
6314
6315
  var n = this, r = new F(function(a, s) {
6315
6316
  n.ready().then(function() {
6316
6317
  Pe(n._dbInfo, Ft, function(o, i) {
@@ -6324,7 +6325,7 @@ function Du(e, t) {
6324
6325
  var u = c.result;
6325
6326
  if (u) {
6326
6327
  var m = u.value;
6327
- ds(m) && (m = _s(m));
6328
+ hs(m) && (m = ms(m));
6328
6329
  var p = e(
6329
6330
  m,
6330
6331
  u.key,
@@ -6344,14 +6345,14 @@ function Du(e, t) {
6344
6345
  });
6345
6346
  return j(r, t), r;
6346
6347
  }
6347
- function Ru(e, t, n) {
6348
+ function Pu(e, t, n) {
6348
6349
  var r = this;
6349
6350
  e = ke(e);
6350
6351
  var a = new F(function(s, o) {
6351
6352
  var i;
6352
6353
  r.ready().then(function() {
6353
- return i = r._dbInfo, Au.call(t) === "[object Blob]" ? Tu(i.db).then(function(l) {
6354
- return l ? t : Ou(t);
6354
+ return i = r._dbInfo, Nu.call(t) === "[object Blob]" ? Iu(i.db).then(function(l) {
6355
+ return l ? t : Cu(t);
6355
6356
  }) : t;
6356
6357
  }).then(function(l) {
6357
6358
  Pe(r._dbInfo, tn, function(c, f) {
@@ -6377,7 +6378,7 @@ function Ru(e, t, n) {
6377
6378
  });
6378
6379
  return j(a, n), a;
6379
6380
  }
6380
- function ku(e, t) {
6381
+ function Fu(e, t) {
6381
6382
  var n = this;
6382
6383
  e = ke(e);
6383
6384
  var r = new F(function(a, s) {
@@ -6405,7 +6406,7 @@ function ku(e, t) {
6405
6406
  });
6406
6407
  return j(r, t), r;
6407
6408
  }
6408
- function Pu(e) {
6409
+ function Mu(e) {
6409
6410
  var t = this, n = new F(function(r, a) {
6410
6411
  t.ready().then(function() {
6411
6412
  Pe(t._dbInfo, tn, function(s, o) {
@@ -6429,7 +6430,7 @@ function Pu(e) {
6429
6430
  });
6430
6431
  return j(n, e), n;
6431
6432
  }
6432
- function Fu(e) {
6433
+ function Uu(e) {
6433
6434
  var t = this, n = new F(function(r, a) {
6434
6435
  t.ready().then(function() {
6435
6436
  Pe(t._dbInfo, Ft, function(s, o) {
@@ -6452,7 +6453,7 @@ function Fu(e) {
6452
6453
  });
6453
6454
  return j(n, e), n;
6454
6455
  }
6455
- function Mu(e, t) {
6456
+ function Bu(e, t) {
6456
6457
  var n = this, r = new F(function(a, s) {
6457
6458
  if (e < 0) {
6458
6459
  a(null);
@@ -6484,7 +6485,7 @@ function Mu(e, t) {
6484
6485
  });
6485
6486
  return j(r, t), r;
6486
6487
  }
6487
- function Uu(e) {
6488
+ function xu(e) {
6488
6489
  var t = this, n = new F(function(r, a) {
6489
6490
  t.ready().then(function() {
6490
6491
  Pe(t._dbInfo, Ft, function(s, o) {
@@ -6512,7 +6513,7 @@ function Uu(e) {
6512
6513
  });
6513
6514
  return j(n, e), n;
6514
6515
  }
6515
- function Bu(e, t) {
6516
+ function Vu(e, t) {
6516
6517
  t = dr.apply(this, arguments);
6517
6518
  var n = this.config();
6518
6519
  e = typeof e != "function" && e || {}, e.name || (e.name = e.name || n.name, e.storeName = e.storeName || n.storeName);
@@ -6591,25 +6592,25 @@ function Bu(e, t) {
6591
6592
  }
6592
6593
  return j(a, t), a;
6593
6594
  }
6594
- var xu = {
6595
+ var Gu = {
6595
6596
  _driver: "asyncStorage",
6596
- _initStorage: Lu,
6597
- _support: vu(),
6598
- iterate: Du,
6599
- getItem: wu,
6600
- setItem: Ru,
6601
- removeItem: ku,
6602
- clear: Pu,
6603
- length: Fu,
6604
- key: Mu,
6605
- keys: Uu,
6606
- dropInstance: Bu
6597
+ _initStorage: Du,
6598
+ _support: yu(),
6599
+ iterate: ku,
6600
+ getItem: Ru,
6601
+ setItem: Pu,
6602
+ removeItem: Fu,
6603
+ clear: Mu,
6604
+ length: Uu,
6605
+ key: Bu,
6606
+ keys: xu,
6607
+ dropInstance: Vu
6607
6608
  };
6608
- function Vu() {
6609
+ function $u() {
6609
6610
  return typeof openDatabase == "function";
6610
6611
  }
6611
- var Ue = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Gu = "~~local_forage_type~", da = /^~~local_forage_type~([^~]+)~/, qt = "__lfsc__:", qn = qt.length, gr = "arbf", Xn = "blob", hs = "si08", gs = "ui08", ps = "uic8", Es = "si16", bs = "si32", Ss = "ur16", vs = "ui32", As = "fl32", ys = "fl64", ma = qn + gr.length, ha = Object.prototype.toString;
6612
- function Ns(e) {
6612
+ var Ue = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Wu = "~~local_forage_type~", ha = /^~~local_forage_type~([^~]+)~/, qt = "__lfsc__:", qn = qt.length, gr = "arbf", Xn = "blob", ps = "si08", Es = "ui08", bs = "uic8", Ss = "si16", vs = "si32", As = "ur16", ys = "ui32", Ns = "fl32", Ts = "fl64", ga = qn + gr.length, pa = Object.prototype.toString;
6613
+ function Os(e) {
6613
6614
  var t = e.length * 0.75, n = e.length, r, a = 0, s, o, i, l;
6614
6615
  e[e.length - 1] === "=" && (t--, e[e.length - 2] === "=" && t--);
6615
6616
  var c = new ArrayBuffer(t), f = new Uint8Array(c);
@@ -6623,15 +6624,15 @@ function Qn(e) {
6623
6624
  n += Ue[t[r] >> 2], n += Ue[(t[r] & 3) << 4 | t[r + 1] >> 4], n += Ue[(t[r + 1] & 15) << 2 | t[r + 2] >> 6], n += Ue[t[r + 2] & 63];
6624
6625
  return t.length % 3 === 2 ? n = n.substring(0, n.length - 1) + "=" : t.length % 3 === 1 && (n = n.substring(0, n.length - 2) + "=="), n;
6625
6626
  }
6626
- function $u(e, t) {
6627
+ function Yu(e, t) {
6627
6628
  var n = "";
6628
- if (e && (n = ha.call(e)), e && (n === "[object ArrayBuffer]" || e.buffer && ha.call(e.buffer) === "[object ArrayBuffer]")) {
6629
+ if (e && (n = pa.call(e)), e && (n === "[object ArrayBuffer]" || e.buffer && pa.call(e.buffer) === "[object ArrayBuffer]")) {
6629
6630
  var r, a = qt;
6630
- e instanceof ArrayBuffer ? (r = e, a += gr) : (r = e.buffer, n === "[object Int8Array]" ? a += hs : n === "[object Uint8Array]" ? a += gs : n === "[object Uint8ClampedArray]" ? a += ps : n === "[object Int16Array]" ? a += Es : n === "[object Uint16Array]" ? a += Ss : n === "[object Int32Array]" ? a += bs : n === "[object Uint32Array]" ? a += vs : n === "[object Float32Array]" ? a += As : n === "[object Float64Array]" ? a += ys : t(new Error("Failed to get type for BinaryArray"))), t(a + Qn(r));
6631
+ e instanceof ArrayBuffer ? (r = e, a += gr) : (r = e.buffer, n === "[object Int8Array]" ? a += ps : n === "[object Uint8Array]" ? a += Es : n === "[object Uint8ClampedArray]" ? a += bs : n === "[object Int16Array]" ? a += Ss : n === "[object Uint16Array]" ? a += As : n === "[object Int32Array]" ? a += vs : n === "[object Uint32Array]" ? a += ys : n === "[object Float32Array]" ? a += Ns : n === "[object Float64Array]" ? a += Ts : t(new Error("Failed to get type for BinaryArray"))), t(a + Qn(r));
6631
6632
  } else if (n === "[object Blob]") {
6632
6633
  var s = new FileReader();
6633
6634
  s.onload = function() {
6634
- var o = Gu + e.type + "~" + Qn(this.result);
6635
+ var o = Wu + e.type + "~" + Qn(this.result);
6635
6636
  t(qt + Xn + o);
6636
6637
  }, s.readAsArrayBuffer(e);
6637
6638
  } else
@@ -6641,52 +6642,52 @@ function $u(e, t) {
6641
6642
  t(null, o);
6642
6643
  }
6643
6644
  }
6644
- function Wu(e) {
6645
+ function Hu(e) {
6645
6646
  if (e.substring(0, qn) !== qt)
6646
6647
  return JSON.parse(e);
6647
- var t = e.substring(ma), n = e.substring(
6648
+ var t = e.substring(ga), n = e.substring(
6648
6649
  qn,
6649
- ma
6650
+ ga
6650
6651
  ), r;
6651
- if (n === Xn && da.test(t)) {
6652
- var a = t.match(da);
6652
+ if (n === Xn && ha.test(t)) {
6653
+ var a = t.match(ha);
6653
6654
  r = a[1], t = t.substring(a[0].length);
6654
6655
  }
6655
- var s = Ns(t);
6656
+ var s = Os(t);
6656
6657
  switch (n) {
6657
6658
  case gr:
6658
6659
  return s;
6659
6660
  case Xn:
6660
6661
  return _r([s], { type: r });
6661
- case hs:
6662
+ case ps:
6662
6663
  return new Int8Array(s);
6663
- case gs:
6664
+ case Es:
6664
6665
  return new Uint8Array(s);
6665
- case ps:
6666
+ case bs:
6666
6667
  return new Uint8ClampedArray(s);
6667
- case Es:
6668
- return new Int16Array(s);
6669
6668
  case Ss:
6669
+ return new Int16Array(s);
6670
+ case As:
6670
6671
  return new Uint16Array(s);
6671
- case bs:
6672
- return new Int32Array(s);
6673
6672
  case vs:
6673
+ return new Int32Array(s);
6674
+ case ys:
6674
6675
  return new Uint32Array(s);
6675
- case As:
6676
+ case Ns:
6676
6677
  return new Float32Array(s);
6677
- case ys:
6678
+ case Ts:
6678
6679
  return new Float64Array(s);
6679
6680
  default:
6680
6681
  throw new Error("Unkown type: " + n);
6681
6682
  }
6682
6683
  }
6683
6684
  var pr = {
6684
- serialize: $u,
6685
- deserialize: Wu,
6686
- stringToBuffer: Ns,
6685
+ serialize: Yu,
6686
+ deserialize: Hu,
6687
+ stringToBuffer: Os,
6687
6688
  bufferToString: Qn
6688
6689
  };
6689
- function Ts(e, t, n, r) {
6690
+ function Is(e, t, n, r) {
6690
6691
  e.executeSql(
6691
6692
  `CREATE TABLE IF NOT EXISTS ${t.storeName} (id INTEGER PRIMARY KEY, key unique, value)`,
6692
6693
  [],
@@ -6694,7 +6695,7 @@ function Ts(e, t, n, r) {
6694
6695
  r
6695
6696
  );
6696
6697
  }
6697
- function Yu(e) {
6698
+ function Ku(e) {
6698
6699
  var t = this, n = {
6699
6700
  db: null
6700
6701
  };
@@ -6713,7 +6714,7 @@ function Yu(e) {
6713
6714
  return o(i);
6714
6715
  }
6715
6716
  n.db.transaction(function(i) {
6716
- Ts(
6717
+ Is(
6717
6718
  i,
6718
6719
  n,
6719
6720
  function() {
@@ -6737,7 +6738,7 @@ function Ge(e, t, n, r, a, s) {
6737
6738
  "SELECT name FROM sqlite_master WHERE type='table' AND name = ?",
6738
6739
  [t.storeName],
6739
6740
  function(l, c) {
6740
- c.rows.length ? s(l, i) : Ts(
6741
+ c.rows.length ? s(l, i) : Is(
6741
6742
  l,
6742
6743
  t,
6743
6744
  function() {
@@ -6757,7 +6758,7 @@ function Ge(e, t, n, r, a, s) {
6757
6758
  s
6758
6759
  );
6759
6760
  }
6760
- function Hu(e, t) {
6761
+ function ju(e, t) {
6761
6762
  var n = this;
6762
6763
  e = ke(e);
6763
6764
  var r = new F(function(a, s) {
@@ -6782,7 +6783,7 @@ function Hu(e, t) {
6782
6783
  });
6783
6784
  return j(r, t), r;
6784
6785
  }
6785
- function Ku(e, t) {
6786
+ function qu(e, t) {
6786
6787
  var n = this, r = new F(function(a, s) {
6787
6788
  n.ready().then(function() {
6788
6789
  var o = n._dbInfo;
@@ -6813,7 +6814,7 @@ function Ku(e, t) {
6813
6814
  });
6814
6815
  return j(r, t), r;
6815
6816
  }
6816
- function Os(e, t, n, r) {
6817
+ function Cs(e, t, n, r) {
6817
6818
  var a = this;
6818
6819
  e = ke(e);
6819
6820
  var s = new F(function(o, i) {
@@ -6840,7 +6841,7 @@ function Os(e, t, n, r) {
6840
6841
  if (m.code === m.QUOTA_ERR) {
6841
6842
  if (r > 0) {
6842
6843
  o(
6843
- Os.apply(a, [
6844
+ Cs.apply(a, [
6844
6845
  e,
6845
6846
  l,
6846
6847
  n,
@@ -6858,10 +6859,10 @@ function Os(e, t, n, r) {
6858
6859
  });
6859
6860
  return j(s, n), s;
6860
6861
  }
6861
- function ju(e, t, n) {
6862
- return Os.apply(this, [e, t, n, 1]);
6862
+ function Xu(e, t, n) {
6863
+ return Cs.apply(this, [e, t, n, 1]);
6863
6864
  }
6864
- function qu(e, t) {
6865
+ function Qu(e, t) {
6865
6866
  var n = this;
6866
6867
  e = ke(e);
6867
6868
  var r = new F(function(a, s) {
@@ -6885,7 +6886,7 @@ function qu(e, t) {
6885
6886
  });
6886
6887
  return j(r, t), r;
6887
6888
  }
6888
- function Xu(e) {
6889
+ function Ju(e) {
6889
6890
  var t = this, n = new F(function(r, a) {
6890
6891
  t.ready().then(function() {
6891
6892
  var s = t._dbInfo;
@@ -6907,7 +6908,7 @@ function Xu(e) {
6907
6908
  });
6908
6909
  return j(n, e), n;
6909
6910
  }
6910
- function Qu(e) {
6911
+ function zu(e) {
6911
6912
  var t = this, n = new F(function(r, a) {
6912
6913
  t.ready().then(function() {
6913
6914
  var s = t._dbInfo;
@@ -6930,7 +6931,7 @@ function Qu(e) {
6930
6931
  });
6931
6932
  return j(n, e), n;
6932
6933
  }
6933
- function Ju(e, t) {
6934
+ function Zu(e, t) {
6934
6935
  var n = this, r = new F(function(a, s) {
6935
6936
  n.ready().then(function() {
6936
6937
  var o = n._dbInfo;
@@ -6953,7 +6954,7 @@ function Ju(e, t) {
6953
6954
  });
6954
6955
  return j(r, t), r;
6955
6956
  }
6956
- function zu(e) {
6957
+ function ef(e) {
6957
6958
  var t = this, n = new F(function(r, a) {
6958
6959
  t.ready().then(function() {
6959
6960
  var s = t._dbInfo;
@@ -6977,7 +6978,7 @@ function zu(e) {
6977
6978
  });
6978
6979
  return j(n, e), n;
6979
6980
  }
6980
- function Zu(e) {
6981
+ function tf(e) {
6981
6982
  return new F(function(t, n) {
6982
6983
  e.transaction(
6983
6984
  function(r) {
@@ -7003,7 +7004,7 @@ function Zu(e) {
7003
7004
  );
7004
7005
  });
7005
7006
  }
7006
- function ef(e, t) {
7007
+ function nf(e, t) {
7007
7008
  t = dr.apply(this, arguments);
7008
7009
  var n = this.config();
7009
7010
  e = typeof e != "function" && e || {}, e.name || (e.name = e.name || n.name, e.storeName = e.storeName || n.storeName);
@@ -7013,7 +7014,7 @@ function ef(e, t) {
7013
7014
  e.name === n.name ? o = r._dbInfo.db : o = openDatabase(e.name, "", "", 0), e.storeName ? s({
7014
7015
  db: o,
7015
7016
  storeNames: [e.storeName]
7016
- }) : s(Zu(o));
7017
+ }) : s(tf(o));
7017
7018
  }).then(function(s) {
7018
7019
  return new F(function(o, i) {
7019
7020
  s.db.transaction(
@@ -7049,21 +7050,21 @@ function ef(e, t) {
7049
7050
  });
7050
7051
  }) : a = F.reject("Invalid arguments"), j(a, t), a;
7051
7052
  }
7052
- var tf = {
7053
+ var rf = {
7053
7054
  _driver: "webSQLStorage",
7054
- _initStorage: Yu,
7055
- _support: Vu(),
7056
- iterate: Ku,
7057
- getItem: Hu,
7058
- setItem: ju,
7059
- removeItem: qu,
7060
- clear: Xu,
7061
- length: Qu,
7062
- key: Ju,
7063
- keys: zu,
7064
- dropInstance: ef
7055
+ _initStorage: Ku,
7056
+ _support: $u(),
7057
+ iterate: qu,
7058
+ getItem: ju,
7059
+ setItem: Xu,
7060
+ removeItem: Qu,
7061
+ clear: Ju,
7062
+ length: zu,
7063
+ key: Zu,
7064
+ keys: ef,
7065
+ dropInstance: nf
7065
7066
  };
7066
- function nf() {
7067
+ function af() {
7067
7068
  try {
7068
7069
  return typeof localStorage < "u" && "setItem" in localStorage && // in IE8 typeof localStorage.setItem === 'object'
7069
7070
  !!localStorage.setItem;
@@ -7071,11 +7072,11 @@ function nf() {
7071
7072
  return !1;
7072
7073
  }
7073
7074
  }
7074
- function Is(e, t) {
7075
+ function Ls(e, t) {
7075
7076
  var n = e.name + "/";
7076
7077
  return e.storeName !== t.storeName && (n += e.storeName + "/"), n;
7077
7078
  }
7078
- function rf() {
7079
+ function sf() {
7079
7080
  var e = "_localforage_support_test";
7080
7081
  try {
7081
7082
  return localStorage.setItem(e, !0), localStorage.removeItem(e), !1;
@@ -7083,17 +7084,17 @@ function rf() {
7083
7084
  return !0;
7084
7085
  }
7085
7086
  }
7086
- function af() {
7087
- return !rf() || localStorage.length > 0;
7087
+ function of() {
7088
+ return !sf() || localStorage.length > 0;
7088
7089
  }
7089
- function sf(e) {
7090
+ function lf(e) {
7090
7091
  var t = this, n = {};
7091
7092
  if (e)
7092
7093
  for (var r in e)
7093
7094
  n[r] = e[r];
7094
- return n.keyPrefix = Is(e, t._defaultConfig), af() ? (t._dbInfo = n, n.serializer = pr, F.resolve()) : F.reject();
7095
+ return n.keyPrefix = Ls(e, t._defaultConfig), of() ? (t._dbInfo = n, n.serializer = pr, F.resolve()) : F.reject();
7095
7096
  }
7096
- function of(e) {
7097
+ function cf(e) {
7097
7098
  var t = this, n = t.ready().then(function() {
7098
7099
  for (var r = t._dbInfo.keyPrefix, a = localStorage.length - 1; a >= 0; a--) {
7099
7100
  var s = localStorage.key(a);
@@ -7102,7 +7103,7 @@ function of(e) {
7102
7103
  });
7103
7104
  return j(n, e), n;
7104
7105
  }
7105
- function lf(e, t) {
7106
+ function uf(e, t) {
7106
7107
  var n = this;
7107
7108
  e = ke(e);
7108
7109
  var r = n.ready().then(function() {
@@ -7111,7 +7112,7 @@ function lf(e, t) {
7111
7112
  });
7112
7113
  return j(r, t), r;
7113
7114
  }
7114
- function cf(e, t) {
7115
+ function ff(e, t) {
7115
7116
  var n = this, r = n.ready().then(function() {
7116
7117
  for (var a = n._dbInfo, s = a.keyPrefix, o = s.length, i = localStorage.length, l = 1, c = 0; c < i; c++) {
7117
7118
  var f = localStorage.key(c);
@@ -7128,7 +7129,7 @@ function cf(e, t) {
7128
7129
  });
7129
7130
  return j(r, t), r;
7130
7131
  }
7131
- function uf(e, t) {
7132
+ function _f(e, t) {
7132
7133
  var n = this, r = n.ready().then(function() {
7133
7134
  var a = n._dbInfo, s;
7134
7135
  try {
@@ -7140,7 +7141,7 @@ function uf(e, t) {
7140
7141
  });
7141
7142
  return j(r, t), r;
7142
7143
  }
7143
- function ff(e) {
7144
+ function df(e) {
7144
7145
  var t = this, n = t.ready().then(function() {
7145
7146
  for (var r = t._dbInfo, a = localStorage.length, s = [], o = 0; o < a; o++) {
7146
7147
  var i = localStorage.key(o);
@@ -7150,13 +7151,13 @@ function ff(e) {
7150
7151
  });
7151
7152
  return j(n, e), n;
7152
7153
  }
7153
- function _f(e) {
7154
+ function mf(e) {
7154
7155
  var t = this, n = t.keys().then(function(r) {
7155
7156
  return r.length;
7156
7157
  });
7157
7158
  return j(n, e), n;
7158
7159
  }
7159
- function df(e, t) {
7160
+ function hf(e, t) {
7160
7161
  var n = this;
7161
7162
  e = ke(e);
7162
7163
  var r = n.ready().then(function() {
@@ -7165,7 +7166,7 @@ function df(e, t) {
7165
7166
  });
7166
7167
  return j(r, t), r;
7167
7168
  }
7168
- function mf(e, t, n) {
7169
+ function gf(e, t, n) {
7169
7170
  var r = this;
7170
7171
  e = ke(e);
7171
7172
  var a = r.ready().then(function() {
@@ -7187,14 +7188,14 @@ function mf(e, t, n) {
7187
7188
  });
7188
7189
  return j(a, n), a;
7189
7190
  }
7190
- function hf(e, t) {
7191
+ function pf(e, t) {
7191
7192
  if (t = dr.apply(this, arguments), e = typeof e != "function" && e || {}, !e.name) {
7192
7193
  var n = this.config();
7193
7194
  e.name = e.name || n.name, e.storeName = e.storeName || n.storeName;
7194
7195
  }
7195
7196
  var r = this, a;
7196
7197
  return e.name ? a = new F(function(s) {
7197
- e.storeName ? s(Is(e, r._defaultConfig)) : s(`${e.name}/`);
7198
+ e.storeName ? s(Ls(e, r._defaultConfig)) : s(`${e.name}/`);
7198
7199
  }).then(function(s) {
7199
7200
  for (var o = localStorage.length - 1; o >= 0; o--) {
7200
7201
  var i = localStorage.key(o);
@@ -7202,36 +7203,36 @@ function hf(e, t) {
7202
7203
  }
7203
7204
  }) : a = F.reject("Invalid arguments"), j(a, t), a;
7204
7205
  }
7205
- var gf = {
7206
+ var Ef = {
7206
7207
  _driver: "localStorageWrapper",
7207
- _initStorage: sf,
7208
- _support: nf(),
7209
- iterate: cf,
7210
- getItem: lf,
7211
- setItem: mf,
7212
- removeItem: df,
7213
- clear: of,
7214
- length: _f,
7215
- key: uf,
7216
- keys: ff,
7217
- dropInstance: hf
7208
+ _initStorage: lf,
7209
+ _support: af(),
7210
+ iterate: ff,
7211
+ getItem: uf,
7212
+ setItem: gf,
7213
+ removeItem: hf,
7214
+ clear: cf,
7215
+ length: mf,
7216
+ key: _f,
7217
+ keys: df,
7218
+ dropInstance: pf
7218
7219
  };
7219
- const pf = (e, t) => e === t || typeof e == "number" && typeof t == "number" && isNaN(e) && isNaN(t), Ef = (e, t) => {
7220
+ const bf = (e, t) => e === t || typeof e == "number" && typeof t == "number" && isNaN(e) && isNaN(t), Sf = (e, t) => {
7220
7221
  const n = e.length;
7221
7222
  let r = 0;
7222
7223
  for (; r < n; ) {
7223
- if (pf(e[r], t))
7224
+ if (bf(e[r], t))
7224
7225
  return !0;
7225
7226
  r++;
7226
7227
  }
7227
7228
  return !1;
7228
- }, Cs = Array.isArray || function(e) {
7229
+ }, ws = Array.isArray || function(e) {
7229
7230
  return Object.prototype.toString.call(e) === "[object Array]";
7230
- }, At = {}, ga = {}, it = {
7231
- INDEXEDDB: xu,
7232
- WEBSQL: tf,
7233
- LOCALSTORAGE: gf
7234
- }, bf = [
7231
+ }, At = {}, Ea = {}, it = {
7232
+ INDEXEDDB: Gu,
7233
+ WEBSQL: rf,
7234
+ LOCALSTORAGE: Ef
7235
+ }, vf = [
7235
7236
  it.INDEXEDDB._driver,
7236
7237
  it.WEBSQL._driver,
7237
7238
  it.LOCALSTORAGE._driver
@@ -7244,9 +7245,9 @@ const pf = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
7244
7245
  "length",
7245
7246
  "removeItem",
7246
7247
  "setItem"
7247
- ].concat(Yt), Sf = {
7248
+ ].concat(Yt), Af = {
7248
7249
  description: "",
7249
- driver: bf.slice(),
7250
+ driver: vf.slice(),
7250
7251
  name: "localforage",
7251
7252
  // Default DB size is _JUST UNDER_ 5MB, as it's the highest size
7252
7253
  // we can use without a prompt.
@@ -7254,7 +7255,7 @@ const pf = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
7254
7255
  storeName: "keyvaluepairs",
7255
7256
  version: 1
7256
7257
  };
7257
- function vf(e, t) {
7258
+ function yf(e, t) {
7258
7259
  e[t] = function() {
7259
7260
  const n = arguments;
7260
7261
  return e.ready().then(function() {
@@ -7270,7 +7271,7 @@ function Ln() {
7270
7271
  const t = arguments[e];
7271
7272
  if (t)
7272
7273
  for (let n in t)
7273
- t.hasOwnProperty(n) && (Cs(t[n]) ? arguments[0][n] = t[n].slice() : arguments[0][n] = t[n]);
7274
+ t.hasOwnProperty(n) && (ws(t[n]) ? arguments[0][n] = t[n].slice() : arguments[0][n] = t[n]);
7274
7275
  }
7275
7276
  return arguments[0];
7276
7277
  }
@@ -7281,7 +7282,7 @@ class Er {
7281
7282
  const r = it[n], a = r._driver;
7282
7283
  this[n] = a, At[a] || this.defineDriver(r);
7283
7284
  }
7284
- 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(() => {
7285
+ this._defaultConfig = Ln({}, Af), 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(() => {
7285
7286
  });
7286
7287
  }
7287
7288
  // Set any config values for localForage; can be called anytime before
@@ -7317,7 +7318,7 @@ class Er {
7317
7318
  const c = Cn.concat("_initStorage");
7318
7319
  for (let m = 0, p = c.length; m < p; m++) {
7319
7320
  const A = c[m];
7320
- if ((!Ef(
7321
+ if ((!Sf(
7321
7322
  Yt,
7322
7323
  A
7323
7324
  ) || t[A]) && typeof t[A] != "function") {
@@ -7345,7 +7346,7 @@ class Er {
7345
7346
  }
7346
7347
  })();
7347
7348
  const u = function(m) {
7348
- At[i], At[i] = t, ga[i] = m, s();
7349
+ At[i], At[i] = t, Ea[i] = m, s();
7349
7350
  };
7350
7351
  "_support" in t ? t._support && typeof t._support == "function" ? t._support().then(u, o) : u(!!t._support) : u(!0);
7351
7352
  } catch (i) {
@@ -7371,7 +7372,7 @@ class Er {
7371
7372
  }
7372
7373
  setDriver(t, n, r) {
7373
7374
  const a = this;
7374
- Cs(t) || (t = [t]);
7375
+ ws(t) || (t = [t]);
7375
7376
  const s = this._getSupportedDrivers(t);
7376
7377
  function o() {
7377
7378
  a._config.driver = a.driver();
@@ -7409,7 +7410,7 @@ class Er {
7409
7410
  }), ot(this._driverSet, n, r), this._driverSet;
7410
7411
  }
7411
7412
  supports(t) {
7412
- return !!ga[t];
7413
+ return !!Ea[t];
7413
7414
  }
7414
7415
  _extend(t) {
7415
7416
  Ln(this, t);
@@ -7424,14 +7425,14 @@ class Er {
7424
7425
  }
7425
7426
  _wrapLibraryMethodsWithReady() {
7426
7427
  for (let t = 0, n = Cn.length; t < n; t++)
7427
- vf(this, Cn[t]);
7428
+ yf(this, Cn[t]);
7428
7429
  }
7429
7430
  createInstance(t) {
7430
7431
  return new Er(t);
7431
7432
  }
7432
7433
  }
7433
7434
  const He = new Er();
7434
- class Af {
7435
+ class Nf {
7435
7436
  constructor(t) {
7436
7437
  this.db_name = t.db_name || "cvjs", He.config({
7437
7438
  name: this.db_name,
@@ -7491,7 +7492,7 @@ class Af {
7491
7492
  return cvUtils.isTypeJson(r) ? r : n;
7492
7493
  }
7493
7494
  }
7494
- class yf {
7495
+ class Tf {
7495
7496
  constructor(t) {
7496
7497
  this.keyExpired = {}, this.keyGroup = [], this.__open_log = !1, this.__timer = {};
7497
7498
  }
@@ -7538,18 +7539,18 @@ class yf {
7538
7539
  }
7539
7540
  }
7540
7541
  }
7541
- const P = new bu({
7542
+ const P = new vu({
7542
7543
  prefix: ""
7543
- }), Nf = new Af({
7544
+ }), Of = new Nf({
7544
7545
  db_name: "ShiyunConsole"
7545
7546
  });
7546
- window.gbIdbObj = Nf;
7547
- const Tf = new yf({});
7548
- window.gbSessObj = Tf;
7549
- function Of(e, t, n = !1) {
7547
+ window.gbIdbObj = Of;
7548
+ const If = new Tf({});
7549
+ window.gbSessObj = If;
7550
+ function Cf(e, t, n = !1) {
7550
7551
  return n ? !!t.find((r) => r && r.indexOf("*") && new RegExp("^" + r.replace(/[-\/\\^$+?.()|[\]{}]/g, "\\$&").replace(/\*/g, ".*") + "$", "g").test(e) ? !0 : r == e) : t.includes(e);
7551
7552
  }
7552
- const pa = {
7553
+ const ba = {
7553
7554
  400: "请求错误",
7554
7555
  400: "无效请求",
7555
7556
  401: "未经授权",
@@ -7566,7 +7567,7 @@ const pa = {
7566
7567
  10001: "未登录",
7567
7568
  10002: "token过期",
7568
7569
  10009: "退出登录"
7569
- }, Ea = {
7570
+ }, Sa = {
7570
7571
  401: "没有权限,请重新登录"
7571
7572
  };
7572
7573
  class nn {
@@ -7590,7 +7591,7 @@ class nn {
7590
7591
  }
7591
7592
  /* 初始化 request 句柄 */
7592
7593
  _initReqHandle() {
7593
- this.requestHandle = Qs.create({
7594
+ this.requestHandle = zs.create({
7594
7595
  timeout: 1e4,
7595
7596
  // request timeout
7596
7597
  // 表示跨域请求时是否需要使用凭证;
@@ -7723,7 +7724,7 @@ class nn {
7723
7724
  this.debugLog("netResponseError ", t);
7724
7725
  const n = t && t.message || "", r = t && t.response && t.response.status || 0, a = t && t.response && (t.response.data.message || t.response.statusText) || "";
7725
7726
  let s = "提示", o = "请求异常,请检查网络或联系管理员";
7726
- return pa[r] && (s = pa[r]), Ea[r] ? o = Ea[r] : n.includes("Network Error") ? o = "网络异常" : n.includes("Not Found") ? o = "未找到该请求" : n.includes("timeout") && (o = "请求超时,请刷新重试"), this.resetNetError({
7727
+ return ba[r] && (s = ba[r]), Sa[r] ? o = Sa[r] : n.includes("Network Error") ? o = "网络异常" : n.includes("Not Found") ? o = "未找到该请求" : n.includes("timeout") && (o = "请求超时,请刷新重试"), this.resetNetError({
7727
7728
  title: s,
7728
7729
  status: r,
7729
7730
  type: "error",
@@ -7801,7 +7802,7 @@ class nn {
7801
7802
  let a = this.canshuOpt || {};
7802
7803
  this.canshuOpt = {};
7803
7804
  let s = !1;
7804
- if (this.encryptURL && Of(n, this.encryptURL, !0) && (s = !0), this.encryptFlag && (s = !0), s) {
7805
+ if (this.encryptURL && Cf(n, this.encryptURL, !0) && (s = !0), this.encryptFlag && (s = !0), s) {
7805
7806
  const o = window.navigator.userAgent;
7806
7807
  (/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);
7807
7808
  }
@@ -7949,14 +7950,14 @@ class nn {
7949
7950
  return new Promise((c, f) => f({ message: " 请求错误 " }));
7950
7951
  }
7951
7952
  }
7952
- const If = {
7953
+ const Lf = {
7953
7954
  BASE_LOAD_COMMON_API_FLAG: "/base.base_load/common/api_flag",
7954
7955
  BASE_LOAD_COMMON_API_AUTH: "/base.base_load/common/api_auth",
7955
7956
  BASE_LOAD_COMMON_API_CODE: "/base.base_load/common/api_code",
7956
7957
  BASE_ACCSYS_COMMON_KEYCLIENT: "/base.account_sys/common/key_client",
7957
7958
  BASE_SYS_COMMON_PLAT_SETTING: "/base.base_sys/common/plat_setting",
7958
7959
  BASE_SYS_COMMON_SYS_INFO: "/base.base_sys/common/system_info"
7959
- }, Cf = {
7960
+ }, wf = {
7960
7961
  BASE_LOAD_COMMON_API_FLAG: "app:true;auth:false;",
7961
7962
  BASE_LOAD_COMMON_API_AUTH: "app:true;auth:false;",
7962
7963
  BASE_LOAD_COMMON_API_CODE: "app:true;auth:false;",
@@ -7965,7 +7966,7 @@ const If = {
7965
7966
  };
7966
7967
  nn.prototype.resetNetError = function(e) {
7967
7968
  if (!me.__POWERED_BY_QIANKUN__ && e.status && e.status == 401)
7968
- return Te().SA_ACCOUNT_LOGOUT(), Hs.alert("未经授权,请登录", "友情提示", {
7969
+ return Te().SA_ACCOUNT_LOGOUT(), js.alert("未经授权,请登录", "友情提示", {
7969
7970
  // if you want to disable its autofocus
7970
7971
  // autofocus: false,
7971
7972
  confirmButtonText: "OK",
@@ -7974,7 +7975,7 @@ nn.prototype.resetNetError = function(e) {
7974
7975
  }
7975
7976
  }), !1;
7976
7977
  let t = (e.status ? `[ ${e.status} ] ` : "") + (e.title || "提示");
7977
- Ks({
7978
+ qs({
7978
7979
  title: t,
7979
7980
  message: e.message,
7980
7981
  type: e.type || "info",
@@ -7995,7 +7996,7 @@ nn.prototype.cancelRequest = function(e) {
7995
7996
  }), t > 0 && (__ajaxList = __ajaxList.filter((n) => n.id !== e)), t;
7996
7997
  };
7997
7998
  let qe = null;
7998
- function Ls(e = {}) {
7999
+ function Ds(e = {}) {
7999
8000
  const t = Tt();
8000
8001
  qe = new nn({
8001
8002
  // timeout: 60 * 1000, // 请求超时时间毫秒
@@ -8025,22 +8026,22 @@ function Ls(e = {}) {
8025
8026
  });
8026
8027
  let n = {}, r = {};
8027
8028
  e && (n = e.ApiFlagSet || {}, r = e.ApiAuthSet || {});
8028
- let a = Object.assign({}, If, n, t.syOpenApiFlag), s = Object.assign({}, Cf, r, t.syOpenApiAuth);
8029
+ let a = Object.assign({}, Lf, n, t.syOpenApiFlag), s = Object.assign({}, wf, r, t.syOpenApiAuth);
8029
8030
  return qe.setApiFlag(a), qe.setApiAuth(s), qe;
8030
8031
  }
8031
- function Lf() {
8032
- return qe || (qe = Ls()), qe;
8032
+ function Df() {
8033
+ return qe || (qe = Ds()), qe;
8033
8034
  }
8034
8035
  const fe = new Proxy(
8035
8036
  {},
8036
8037
  {
8037
8038
  get(e, t) {
8038
- const n = Lf();
8039
+ const n = Df();
8039
8040
  return typeof n[t] == "function" ? n[t].bind(n) : n[t];
8040
8041
  }
8041
8042
  }
8042
8043
  );
8043
- var wf = {
8044
+ var Rf = {
8044
8045
  methods: {
8045
8046
  // 返回上级
8046
8047
  jumpsBack() {
@@ -8086,26 +8087,26 @@ var wf = {
8086
8087
  },
8087
8088
  // 跨应用路由跳转
8088
8089
  jumpsQiankun(e) {
8089
- Zs(e);
8090
+ to(e);
8090
8091
  }
8091
8092
  }
8092
8093
  };
8093
- function ba(e, t, n) {
8094
+ function va(e, t, n) {
8094
8095
  const r = t.value;
8095
8096
  if (r)
8096
- cs(r) || !1 || e.parentNode && e.parentNode.removeChild(e);
8097
+ fs(r) || !1 || e.parentNode && e.parentNode.removeChild(e);
8097
8098
  else
8098
8099
  throw new Error(`需要指定权限标识! 如:v-auth="'xxxx_add'" 或 v-auth="['xxxx_xxx']"`);
8099
8100
  }
8100
- function Df(e, t, n) {
8101
+ function kf(e, t, n) {
8101
8102
  n = n || "vue3", n == "vue2" ? e.directive("auth", {
8102
- inserted: ba
8103
+ inserted: va
8103
8104
  }) : e.directive("auth", {
8104
- mounted: ba
8105
- }), t.$_auth = cs;
8105
+ mounted: va
8106
+ }), t.$_auth = fs;
8106
8107
  }
8107
8108
  /*! Element Plus v2.9.7 */
8108
- var Rf = {
8109
+ var Pf = {
8109
8110
  name: "zh-cn",
8110
8111
  el: {
8111
8112
  breadcrumb: {
@@ -8283,16 +8284,16 @@ var Rf = {
8283
8284
  }
8284
8285
  }
8285
8286
  };
8286
- function kf(e) {
8287
- e.use(Ys, {
8287
+ function Ff(e) {
8288
+ e.use(Ks, {
8288
8289
  // size: 'default',
8289
- locale: Rf
8290
+ locale: Pf
8290
8291
  });
8291
- for (const [t, n] of Object.entries(js))
8292
+ for (const [t, n] of Object.entries(Xs))
8292
8293
  e.component("ElIcon" + t, n);
8293
8294
  }
8294
- function Pf(e) {
8295
- e.use(qs, {
8295
+ function Mf(e) {
8296
+ e.use(Qs, {
8296
8297
  // 所有和上传相关(上传图片, 上传视频, 富文本中图片上传)
8297
8298
  uploadImg: {
8298
8299
  // fileSize: 5,
@@ -8321,22 +8322,22 @@ function Pf(e) {
8321
8322
  // }
8322
8323
  }
8323
8324
  });
8324
- for (const [t, n] of Object.entries(Xs))
8325
+ for (const [t, n] of Object.entries(Js))
8325
8326
  e.component("cvSvg" + t, n);
8326
8327
  }
8327
- async function Kf(e, t) {
8328
- Js(t), Ls(e), Pt().init(), Be().init(), await fr().init(), await Te().init();
8328
+ async function qf(e, t) {
8329
+ Zs(t), Ds(e), Pt().init(), Be().init(), await fr().init(), await Te().init();
8329
8330
  }
8330
- async function jf(e, t, n, r, a = "", s = null) {
8331
+ async function Xf(e, t, n, r, a = "", s = null) {
8331
8332
  Zt().init(r), en().init(n);
8332
8333
  let o = e.config.globalProperties;
8333
8334
  o.$onLaunched = new Promise((l) => {
8334
8335
  o.$isResolve = l;
8335
- }), o.$request = fe, o.$cache = P, kf(e), Pf(e), Df(e, o), e.mixin(nc()), e.mixin(wf), await Ff(t, r, a), e.use(as);
8336
+ }), o.$request = fe, o.$cache = P, Ff(e), Mf(e), kf(e, o), e.mixin(ac()), e.mixin(Rf), await Uf(t, r, a), e.use(os);
8336
8337
  let i = Pt().SA_LANGUAGE_GET();
8337
- Ul(i, s), window.$t = Ke.t;
8338
+ xl(i, s), window.$t = Ke.t;
8338
8339
  }
8339
- async function Ff(e, t, n) {
8340
+ async function Uf(e, t, n) {
8340
8341
  const r = Ot(), a = Te(), s = Zt(), o = en();
8341
8342
  r.QK_SEND_MSG_REG_SUBMENU(t);
8342
8343
  let i = Tt().syProductSign || "";
@@ -8368,30 +8369,30 @@ async function Ff(e, t, n) {
8368
8369
  }
8369
8370
  });
8370
8371
  }
8371
- async function qf(e, t, n) {
8372
- me.__POWERED_BY_QIANKUN__ ? to(e, t, n) : t();
8372
+ async function Qf(e, t, n) {
8373
+ me.__POWERED_BY_QIANKUN__ ? ro(e, t, n) : t();
8373
8374
  }
8374
8375
  export {
8375
8376
  fe as H,
8376
- Zc as S,
8377
+ tu as S,
8377
8378
  Re as _,
8378
8379
  Be as a,
8379
8380
  Te as b,
8380
8381
  fr as c,
8381
8382
  Tt as d,
8382
- Yf as e,
8383
- uc as f,
8384
- Hf as g,
8383
+ Kf as e,
8384
+ _c as f,
8385
+ jf as g,
8385
8386
  Ot as h,
8386
- is as i,
8387
+ cs as i,
8387
8388
  Zt as j,
8388
8389
  en as k,
8389
8390
  P as l,
8390
- Ls as m,
8391
- Kf as n,
8392
- jf as o,
8393
- qf as p,
8391
+ Ds as m,
8392
+ qf as n,
8393
+ Xf as o,
8394
+ Qf as p,
8394
8395
  me as q,
8395
- Js as s,
8396
+ Zs as s,
8396
8397
  Pt as u
8397
8398
  };