@10yun/open-sdk 0.3.122 → 0.3.123

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,5 +1,5 @@
1
1
  import { defineStore as Le, mapState as Re } from "pinia";
2
- import { effectScope as xo, ref as Vo, shallowRef as Bo, computed as Et, watch as Pn, isRef as Go, defineComponent as ta, getCurrentInstance as Nt, h as Ir, Fragment as le, inject as $o, onMounted as Wo, onUnmounted as Yo, createVNode as b, Text as Ho, resolveComponent as L, createBlock as $, openBlock as F, withCtx as C, createElementVNode as D, createElementBlock as W, renderList as Ne, createTextVNode as V, toDisplayString as z, createCommentVNode as te, Transition as Ko, normalizeClass as Kt, resolveDynamicComponent as jo, withDirectives as Rt, withModifiers as qo, normalizeStyle as Fn, vShow as Lr, mergeProps as Xo, renderSlot as Qo, createSlots as Jo, resolveDirective as na } from "vue";
2
+ import { effectScope as Vo, ref as xo, shallowRef as Bo, computed as Et, watch as Pn, isRef as Go, defineComponent as ta, getCurrentInstance as Nt, h as Ir, Fragment as le, inject as $o, onMounted as Wo, onUnmounted as Yo, createVNode as S, Text as Ho, resolveComponent as L, createBlock as $, openBlock as F, withCtx as C, createElementVNode as D, createElementBlock as W, renderList as Ne, createTextVNode as x, toDisplayString as z, createCommentVNode as te, Transition as Ko, normalizeClass as Kt, resolveDynamicComponent as jo, withDirectives as Rt, withModifiers as qo, normalizeStyle as Fn, vShow as Lr, mergeProps as Xo, renderSlot as Qo, createSlots as Jo, resolveDirective as na } from "vue";
3
3
  import zo, { ElMessage as Na, ElMessageBox as Zo, ElNotification as es } from "element-plus";
4
4
  import * as ts from "@element-plus/icons-vue";
5
5
  import "element-plus/dist/index.css";
@@ -201,14 +201,14 @@ function ra() {
201
201
  return arguments[arguments.length - 1];
202
202
  }
203
203
  const Mn = "local-forage-detect-blob-support";
204
- let Vt;
204
+ let xt;
205
205
  const ve = {}, us = Object.prototype.toString, Pt = "readonly", zt = "readwrite";
206
206
  function fs(e) {
207
207
  for (var t = e.length, n = new ArrayBuffer(t), r = new Uint8Array(n), a = 0; a < t; a++)
208
208
  r[a] = e.charCodeAt(a);
209
209
  return n;
210
210
  }
211
- function ds(e) {
211
+ function _s(e) {
212
212
  return new U(function(t) {
213
213
  var n = e.transaction(Mn, zt), r = aa([""]);
214
214
  n.objectStore(Mn).put(r, "key"), n.onabort = function(a) {
@@ -223,9 +223,9 @@ function ds(e) {
223
223
  return !1;
224
224
  });
225
225
  }
226
- function _s(e) {
227
- return typeof Vt == "boolean" ? U.resolve(Vt) : ds(e).then(function(t) {
228
- return Vt = t, Vt;
226
+ function ds(e) {
227
+ return typeof xt == "boolean" ? U.resolve(xt) : _s(e).then(function(t) {
228
+ return xt = t, xt;
229
229
  });
230
230
  }
231
231
  function jt(e) {
@@ -241,7 +241,7 @@ function Un(e) {
241
241
  if (n)
242
242
  return n.resolve(), n.promise;
243
243
  }
244
- function xn(e, t) {
244
+ function Vn(e, t) {
245
245
  var n = ve[e.name], r = n.deferredOperations.pop();
246
246
  if (r)
247
247
  return r.reject(t), r.promise;
@@ -332,7 +332,7 @@ function gs(e) {
332
332
  for (var o = 0; o < n.length; o++)
333
333
  n[o]._dbInfo.db = a;
334
334
  }).catch((a) => {
335
- throw xn(e, a), a;
335
+ throw Vn(e, a), a;
336
336
  });
337
337
  }
338
338
  function Ue(e, t, n, r) {
@@ -390,8 +390,8 @@ function ps(e) {
390
390
  }).then(function(f) {
391
391
  n.db = a.db = f, t._dbInfo = n;
392
392
  for (var u = 0; u < c.length; u++) {
393
- var _ = c[u];
394
- _ !== t && (_._dbInfo.db = n.db, _._dbInfo.version = n.version);
393
+ var d = c[u];
394
+ d !== t && (d._dbInfo.db = n.db, d._dbInfo.version = n.version);
395
395
  }
396
396
  });
397
397
  }
@@ -421,7 +421,7 @@ function Es(e, t) {
421
421
  });
422
422
  return Q(r, t), r;
423
423
  }
424
- function Ss(e, t) {
424
+ function bs(e, t) {
425
425
  var n = this, r = new U(function(a, o) {
426
426
  n.ready().then(function() {
427
427
  Ue(n._dbInfo, Pt, function(s, l) {
@@ -434,10 +434,10 @@ function Ss(e, t) {
434
434
  c.onsuccess = function() {
435
435
  var u = c.result;
436
436
  if (u) {
437
- var _ = u.value;
438
- Pr(_) && (_ = Rr(_));
437
+ var d = u.value;
438
+ Pr(d) && (d = Rr(d));
439
439
  var g = e(
440
- _,
440
+ d,
441
441
  u.key,
442
442
  f++
443
443
  );
@@ -455,13 +455,13 @@ function Ss(e, t) {
455
455
  });
456
456
  return Q(r, t), r;
457
457
  }
458
- function bs(e, t, n) {
458
+ function Ss(e, t, n) {
459
459
  var r = this;
460
460
  e = Me(e);
461
461
  var a = new U(function(o, s) {
462
462
  var l;
463
463
  r.ready().then(function() {
464
- return l = r._dbInfo, us.call(t) === "[object Blob]" ? _s(l.db).then(function(i) {
464
+ return l = r._dbInfo, us.call(t) === "[object Blob]" ? ds(l.db).then(function(i) {
465
465
  return i ? t : ms(t);
466
466
  }) : t;
467
467
  }).then(function(i) {
@@ -473,11 +473,11 @@ function bs(e, t, n) {
473
473
  r._dbInfo.storeName
474
474
  );
475
475
  i === null && (i = void 0);
476
- var _ = u.put(i, e);
476
+ var d = u.put(i, e);
477
477
  f.oncomplete = function() {
478
478
  i === void 0 && (i = null), o(i);
479
479
  }, f.onabort = f.onerror = function() {
480
- var g = _.error ? _.error : _.transaction.error;
480
+ var g = d.error ? d.error : d.transaction.error;
481
481
  s(g);
482
482
  };
483
483
  } catch (g) {
@@ -645,11 +645,11 @@ function Cs(e, t) {
645
645
  jt(e);
646
646
  const c = ve[e.name], f = c.forages;
647
647
  l.close();
648
- for (let _ = 0; _ < f.length; _++) {
649
- const g = f[_];
648
+ for (let d = 0; d < f.length; d++) {
649
+ const g = f[d];
650
650
  g._dbInfo.db = null, g._dbInfo.version = i;
651
651
  }
652
- return new U((_, g) => {
652
+ return new U((d, g) => {
653
653
  const T = ct.open(e.name, i);
654
654
  T.onerror = (p) => {
655
655
  T.result.close(), g(p);
@@ -658,27 +658,27 @@ function Cs(e, t) {
658
658
  p.deleteObjectStore(e.storeName);
659
659
  }, T.onsuccess = () => {
660
660
  const p = T.result;
661
- p.close(), _(p);
661
+ p.close(), d(p);
662
662
  };
663
- }).then((_) => {
664
- c.db = _;
663
+ }).then((d) => {
664
+ c.db = d;
665
665
  for (let g = 0; g < f.length; g++) {
666
666
  const T = f[g];
667
- T._dbInfo.db = _, Un(T._dbInfo);
667
+ T._dbInfo.db = d, Un(T._dbInfo);
668
668
  }
669
- }).catch((_) => {
670
- throw (xn(e, _) || U.resolve()).catch(() => {
671
- }), _;
669
+ }).catch((d) => {
670
+ throw (Vn(e, d) || U.resolve()).catch(() => {
671
+ }), d;
672
672
  });
673
673
  }) : a = s.then((l) => {
674
674
  jt(e);
675
675
  const i = ve[e.name], c = i.forages;
676
676
  l.close();
677
677
  for (var f = 0; f < c.length; f++) {
678
- const _ = c[f];
679
- _._dbInfo.db = null;
678
+ const d = c[f];
679
+ d._dbInfo.db = null;
680
680
  }
681
- return new U((_, g) => {
681
+ return new U((d, g) => {
682
682
  var T = ct.deleteDatabase(e.name);
683
683
  T.onerror = () => {
684
684
  const p = T.result;
@@ -686,17 +686,17 @@ function Cs(e, t) {
686
686
  }, T.onblocked = () => {
687
687
  }, T.onsuccess = () => {
688
688
  const p = T.result;
689
- p && p.close(), _(p);
689
+ p && p.close(), d(p);
690
690
  };
691
- }).then((_) => {
692
- i.db = _;
691
+ }).then((d) => {
692
+ i.db = d;
693
693
  for (var g = 0; g < c.length; g++) {
694
694
  const T = c[g];
695
695
  Un(T._dbInfo);
696
696
  }
697
- }).catch((_) => {
698
- throw (xn(e, _) || U.resolve()).catch(() => {
699
- }), _;
697
+ }).catch((d) => {
698
+ throw (Vn(e, d) || U.resolve()).catch(() => {
699
+ }), d;
700
700
  });
701
701
  });
702
702
  }
@@ -706,9 +706,9 @@ var Os = {
706
706
  _driver: "asyncStorage",
707
707
  _initStorage: ps,
708
708
  _support: cs(),
709
- iterate: Ss,
709
+ iterate: bs,
710
710
  getItem: Es,
711
- setItem: bs,
711
+ setItem: Ss,
712
712
  removeItem: vs,
713
713
  clear: ys,
714
714
  length: Ts,
@@ -719,7 +719,7 @@ var Os = {
719
719
  function Is() {
720
720
  return typeof openDatabase == "function";
721
721
  }
722
- var Be = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ls = "~~local_forage_type~", Ca = /^~~local_forage_type~([^~]+)~/, qt = "__lfsc__:", Vn = qt.length, ia = "arbf", Bn = "blob", Mr = "si08", Ur = "ui08", xr = "uic8", Vr = "si16", Br = "si32", Gr = "ur16", $r = "ui32", Wr = "fl32", Yr = "fl64", Oa = Vn + ia.length, Ia = Object.prototype.toString;
722
+ var Be = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", Ls = "~~local_forage_type~", Ca = /^~~local_forage_type~([^~]+)~/, qt = "__lfsc__:", xn = qt.length, ia = "arbf", Bn = "blob", Mr = "si08", Ur = "ui08", Vr = "uic8", xr = "si16", Br = "si32", Gr = "ur16", $r = "ui32", Wr = "fl32", Yr = "fl64", Oa = xn + ia.length, Ia = Object.prototype.toString;
723
723
  function Hr(e) {
724
724
  var t = e.length * 0.75, n = e.length, r, a = 0, o, s, l, i;
725
725
  e[e.length - 1] === "=" && (t--, e[e.length - 2] === "=" && t--);
@@ -738,7 +738,7 @@ function ws(e, t) {
738
738
  var n = "";
739
739
  if (e && (n = Ia.call(e)), e && (n === "[object ArrayBuffer]" || e.buffer && Ia.call(e.buffer) === "[object ArrayBuffer]")) {
740
740
  var r, a = qt;
741
- e instanceof ArrayBuffer ? (r = e, a += ia) : (r = e.buffer, n === "[object Int8Array]" ? a += Mr : n === "[object Uint8Array]" ? a += Ur : n === "[object Uint8ClampedArray]" ? a += xr : n === "[object Int16Array]" ? a += Vr : n === "[object Uint16Array]" ? a += Gr : n === "[object Int32Array]" ? a += Br : n === "[object Uint32Array]" ? a += $r : n === "[object Float32Array]" ? a += Wr : n === "[object Float64Array]" ? a += Yr : t(new Error("Failed to get type for BinaryArray"))), t(a + Gn(r));
741
+ e instanceof ArrayBuffer ? (r = e, a += ia) : (r = e.buffer, n === "[object Int8Array]" ? a += Mr : n === "[object Uint8Array]" ? a += Ur : n === "[object Uint8ClampedArray]" ? a += Vr : n === "[object Int16Array]" ? a += xr : n === "[object Uint16Array]" ? a += Gr : n === "[object Int32Array]" ? a += Br : n === "[object Uint32Array]" ? a += $r : n === "[object Float32Array]" ? a += Wr : n === "[object Float64Array]" ? a += Yr : t(new Error("Failed to get type for BinaryArray"))), t(a + Gn(r));
742
742
  } else if (n === "[object Blob]") {
743
743
  var o = new FileReader();
744
744
  o.onload = function() {
@@ -753,10 +753,10 @@ function ws(e, t) {
753
753
  }
754
754
  }
755
755
  function Ds(e) {
756
- if (e.substring(0, Vn) !== qt)
756
+ if (e.substring(0, xn) !== qt)
757
757
  return JSON.parse(e);
758
758
  var t = e.substring(Oa), n = e.substring(
759
- Vn,
759
+ xn,
760
760
  Oa
761
761
  ), r;
762
762
  if (n === Bn && Ca.test(t)) {
@@ -773,9 +773,9 @@ function Ds(e) {
773
773
  return new Int8Array(o);
774
774
  case Ur:
775
775
  return new Uint8Array(o);
776
- case xr:
777
- return new Uint8ClampedArray(o);
778
776
  case Vr:
777
+ return new Uint8ClampedArray(o);
778
+ case xr:
779
779
  return new Int16Array(o);
780
780
  case Gr:
781
781
  return new Uint16Array(o);
@@ -904,11 +904,11 @@ function Ps(e, t) {
904
904
  `SELECT * FROM ${s.storeName}`,
905
905
  [],
906
906
  function(i, c) {
907
- for (var f = c.rows, u = f.length, _ = 0; _ < u; _++) {
908
- var g = f.item(_), T = g.value;
907
+ for (var f = c.rows, u = f.length, d = 0; d < u; d++) {
908
+ var g = f.item(d), T = g.value;
909
909
  if (T && (T = s.serializer.deserialize(
910
910
  T
911
- )), T = e(T, g.key, _ + 1), T !== void 0) {
911
+ )), T = e(T, g.key, d + 1), T !== void 0) {
912
912
  a(T);
913
913
  return;
914
914
  }
@@ -933,9 +933,9 @@ function jr(e, t, n, r) {
933
933
  var i = t, c = a._dbInfo;
934
934
  c.serializer.serialize(t, function(f, u) {
935
935
  u ? l(u) : c.db.transaction(
936
- function(_) {
936
+ function(d) {
937
937
  $e(
938
- _,
938
+ d,
939
939
  c,
940
940
  `INSERT OR REPLACE INTO ${c.storeName} (key, value) VALUES (?, ?)`,
941
941
  [e, f],
@@ -947,8 +947,8 @@ function jr(e, t, n, r) {
947
947
  }
948
948
  );
949
949
  },
950
- function(_) {
951
- if (_.code === _.QUOTA_ERR) {
950
+ function(d) {
951
+ if (d.code === d.QUOTA_ERR) {
952
952
  if (r > 0) {
953
953
  s(
954
954
  jr.apply(a, [
@@ -960,7 +960,7 @@ function jr(e, t, n, r) {
960
960
  );
961
961
  return;
962
962
  }
963
- l(_);
963
+ l(d);
964
964
  }
965
965
  }
966
966
  );
@@ -1018,7 +1018,7 @@ function Us(e) {
1018
1018
  });
1019
1019
  return Q(n, e), n;
1020
1020
  }
1021
- function xs(e) {
1021
+ function Vs(e) {
1022
1022
  var t = this, n = new U(function(r, a) {
1023
1023
  t.ready().then(function() {
1024
1024
  var o = t._dbInfo;
@@ -1041,7 +1041,7 @@ function xs(e) {
1041
1041
  });
1042
1042
  return Q(n, e), n;
1043
1043
  }
1044
- function Vs(e, t) {
1044
+ function xs(e, t) {
1045
1045
  var n = this, r = new U(function(a, o) {
1046
1046
  n.ready().then(function() {
1047
1047
  var s = n._dbInfo;
@@ -1143,7 +1143,7 @@ function $s(e, t) {
1143
1143
  );
1144
1144
  });
1145
1145
  }
1146
- for (var f = [], u = 0, _ = o.storeNames.length; u < _; u++)
1146
+ for (var f = [], u = 0, d = o.storeNames.length; u < d; u++)
1147
1147
  f.push(
1148
1148
  c(o.storeNames[u])
1149
1149
  );
@@ -1169,8 +1169,8 @@ var Ws = {
1169
1169
  setItem: Fs,
1170
1170
  removeItem: Ms,
1171
1171
  clear: Us,
1172
- length: xs,
1173
- key: Vs,
1172
+ length: Vs,
1173
+ key: xs,
1174
1174
  keys: Bs,
1175
1175
  dropInstance: $s
1176
1176
  };
@@ -1338,7 +1338,7 @@ const ri = (e, t) => e === t || typeof e == "number" && typeof t == "number" &&
1338
1338
  return !1;
1339
1339
  }, Xr = Array.isArray || function(e) {
1340
1340
  return Object.prototype.toString.call(e) === "[object Array]";
1341
- }, St = {}, La = {}, lt = {
1341
+ }, bt = {}, La = {}, lt = {
1342
1342
  INDEXEDDB: Os,
1343
1343
  WEBSQL: Ws,
1344
1344
  LOCALSTORAGE: ai
@@ -1390,7 +1390,7 @@ class ca {
1390
1390
  for (let n in lt)
1391
1391
  if (lt.hasOwnProperty(n)) {
1392
1392
  const r = lt[n], a = r._driver;
1393
- this[n] = a, St[a] || this.defineDriver(r);
1393
+ this[n] = a, bt[a] || this.defineDriver(r);
1394
1394
  }
1395
1395
  this._defaultConfig = Tn({}, ii), this._config = Tn({}, this._defaultConfig, t), this._driverSet = null, this._initDriver = null, this._ready = !1, this._dbInfo = null, this._wrapLibraryMethodsWithReady(), this.setDriver(this._config.driver).catch(() => {
1396
1396
  });
@@ -1426,8 +1426,8 @@ class ca {
1426
1426
  return;
1427
1427
  }
1428
1428
  const c = yn.concat("_initStorage");
1429
- for (let _ = 0, g = c.length; _ < g; _++) {
1430
- const T = c[_];
1429
+ for (let d = 0, g = c.length; d < g; d++) {
1430
+ const T = c[d];
1431
1431
  if ((!oi(
1432
1432
  Yt,
1433
1433
  T
@@ -1437,7 +1437,7 @@ class ca {
1437
1437
  }
1438
1438
  }
1439
1439
  (function() {
1440
- const _ = function(g) {
1440
+ const d = function(g) {
1441
1441
  return function() {
1442
1442
  const T = new Error(
1443
1443
  `Method ${g} is not implemented by the current driver`
@@ -1450,13 +1450,13 @@ class ca {
1450
1450
  };
1451
1451
  for (let g = 0, T = Yt.length; g < T; g++) {
1452
1452
  const p = Yt[g];
1453
- t[p] || (t[p] = _(
1453
+ t[p] || (t[p] = d(
1454
1454
  p
1455
1455
  ));
1456
1456
  }
1457
1457
  })();
1458
- const u = function(_) {
1459
- St[l], St[l] = t, La[l] = _, o();
1458
+ const u = function(d) {
1459
+ bt[l], bt[l] = t, La[l] = d, o();
1460
1460
  };
1461
1461
  "_support" in t ? t._support && typeof t._support == "function" ? t._support().then(u, s) : u(!!t._support) : u(!0);
1462
1462
  } catch (l) {
@@ -1469,7 +1469,7 @@ class ca {
1469
1469
  return this._driver || null;
1470
1470
  }
1471
1471
  getDriver(t, n, r) {
1472
- const a = St[t] ? U.resolve(St[t]) : U.reject(new Error("Driver not found."));
1472
+ const a = bt[t] ? U.resolve(bt[t]) : U.reject(new Error("Driver not found."));
1473
1473
  return st(a, n, r), a;
1474
1474
  }
1475
1475
  getSerializer(t) {
@@ -1493,10 +1493,10 @@ class ca {
1493
1493
  function i(f) {
1494
1494
  return function() {
1495
1495
  let u = 0;
1496
- function _() {
1496
+ function d() {
1497
1497
  for (; u < f.length; ) {
1498
1498
  let T = f[u];
1499
- return u++, a._dbInfo = null, a._ready = null, a.getDriver(T).then(l).catch(_);
1499
+ return u++, a._dbInfo = null, a._ready = null, a.getDriver(T).then(l).catch(d);
1500
1500
  }
1501
1501
  s();
1502
1502
  const g = new Error(
@@ -1504,7 +1504,7 @@ class ca {
1504
1504
  );
1505
1505
  return a._driverSet = U.reject(g), a._driverSet;
1506
1506
  }
1507
- return _();
1507
+ return d();
1508
1508
  };
1509
1509
  }
1510
1510
  const c = this._driverSet !== null ? this._driverSet.catch(() => U.resolve()) : U.resolve();
@@ -1655,8 +1655,8 @@ const I = new is({
1655
1655
  db_name: "ShiyunConsole"
1656
1656
  });
1657
1657
  window.gbIdbObj = fi;
1658
- const di = new ui({});
1659
- window.gbSessObj = di;
1658
+ const _i = new ui({});
1659
+ window.gbSessObj = _i;
1660
1660
  I.idbGetItem = function(e) {
1661
1661
  return window.gbIdbObj.idbGetItem(e);
1662
1662
  };
@@ -1683,14 +1683,14 @@ I.idbGetJson = function(e, t) {
1683
1683
  * (c) 2021-2022 Teng Mao Qing
1684
1684
  * Released under the MIT License.
1685
1685
  */
1686
- var pe = typeof window < "u" ? window.proxy || window : {}, _i = function(e) {
1686
+ var pe = typeof window < "u" ? window.proxy || window : {}, di = function(e) {
1687
1687
  pe != null && pe.__POWERED_BY_QIANKUN__ && (window.moudleQiankunAppLifeCycles || (window.moudleQiankunAppLifeCycles = {}), pe.qiankunName && (window.moudleQiankunAppLifeCycles[pe.qiankunName] = e));
1688
1688
  };
1689
1689
  function mi(e = "/", t = null, n = {}) {
1690
1690
  e == "/" && (e = "/" + (window.localStorage.getItem("__syCacheMicroCurrSign__") || "base")), window.history.pushState(n, t, e);
1691
1691
  }
1692
1692
  var At = {};
1693
- function bt(e) {
1693
+ function St(e) {
1694
1694
  if (!pe.__POWERED_BY_QIANKUN__)
1695
1695
  return !1;
1696
1696
  if (!Object.prototype.toString.call(e) === "[object Object]")
@@ -1716,7 +1716,7 @@ function hi(e) {
1716
1716
  }, !0), At.setGlobalState = e && e.setGlobalState, At.name = e && e.name;
1717
1717
  }
1718
1718
  function gi(e, t, n) {
1719
- _i({
1719
+ di({
1720
1720
  /**
1721
1721
  * @name 微应用初始化
1722
1722
  * @param {Object} props 主应用下发的props
@@ -1763,24 +1763,24 @@ const Ct = Le("cloudSdkQiankunStore", {
1763
1763
  async init() {
1764
1764
  },
1765
1765
  QK_SEND_LOGIN_MSG() {
1766
- bt({
1766
+ St({
1767
1767
  COMM_TYPE: "LoginSucc"
1768
1768
  });
1769
1769
  },
1770
1770
  QK_SEND_LOGOUT_MSG() {
1771
- bt({
1771
+ St({
1772
1772
  COMM_TYPE: "LoginLogout"
1773
1773
  });
1774
1774
  },
1775
1775
  QK_SEND_MSG_REG_SUBMENU(e) {
1776
- bt({
1776
+ St({
1777
1777
  COMM_TYPE: "MicroRegisterMenu",
1778
1778
  COMM_TYPESTR: "注册子应用菜单",
1779
1779
  data: e || []
1780
1780
  });
1781
1781
  },
1782
1782
  QK_SEND_MSG_ROUTER_BEFORE(e) {
1783
- bt({
1783
+ St({
1784
1784
  COMM_TYPE: "routerBefore",
1785
1785
  routerBase: e
1786
1786
  // toData: toPath
@@ -1799,7 +1799,7 @@ const Ct = Le("cloudSdkQiankunStore", {
1799
1799
  },
1800
1800
  // 发送消息给主应用
1801
1801
  QIANKUN_SEND_MSG_TO_MAIN(e, t) {
1802
- bt({
1802
+ St({
1803
1803
  COMM_TYPE: e,
1804
1804
  data: t || ""
1805
1805
  });
@@ -1840,7 +1840,7 @@ const Ei = /\{([0-9a-zA-Z]+)\}/g;
1840
1840
  function Zt(e, ...t) {
1841
1841
  return t.length === 1 && H(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Ei, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
1842
1842
  }
1843
- const we = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Si = (e, t, n) => bi({ l: e, k: t, s: n }), bi = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ie = (e) => typeof e == "number" && isFinite(e), vi = (e) => fa(e) === "[object Date]", ut = (e) => fa(e) === "[object RegExp]", en = (e) => G(e) && Object.keys(e).length === 0, ce = Object.assign, yi = Object.create, X = (e = null) => yi(e);
1843
+ const we = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), bi = (e, t, n) => Si({ l: e, k: t, s: n }), Si = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ie = (e) => typeof e == "number" && isFinite(e), vi = (e) => fa(e) === "[object Date]", ut = (e) => fa(e) === "[object RegExp]", en = (e) => G(e) && Object.keys(e).length === 0, ce = Object.assign, yi = Object.create, X = (e = null) => yi(e);
1844
1844
  let Da;
1845
1845
  const Qe = () => Da || (Da = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : X());
1846
1846
  function ka(e) {
@@ -1864,7 +1864,7 @@ function Ae(e, t) {
1864
1864
  return Ai.call(e, t);
1865
1865
  }
1866
1866
  const ae = Array.isArray, J = (e) => typeof e == "function", P = (e) => typeof e == "string", K = (e) => typeof e == "boolean", H = (e) => e !== null && typeof e == "object", Ni = (e) => H(e) && J(e.then) && J(e.catch), Qr = Object.prototype.toString, fa = (e) => Qr.call(e), G = (e) => fa(e) === "[object Object]", Ci = (e) => e == null ? "" : ae(e) || G(e) && e.toString === Qr ? JSON.stringify(e, null, 2) : String(e);
1867
- function da(e, t = "") {
1867
+ function _a(e, t = "") {
1868
1868
  return e.reduce((n, r, a) => a === 0 ? n + r : n + t + r, "");
1869
1869
  }
1870
1870
  const Pa = 2;
@@ -1896,7 +1896,7 @@ function Oi(e, t = 0, n = e.length) {
1896
1896
  return o.join(`
1897
1897
  `);
1898
1898
  }
1899
- function _a() {
1899
+ function da() {
1900
1900
  const e = /* @__PURE__ */ new Map();
1901
1901
  return {
1902
1902
  events: e,
@@ -1936,7 +1936,7 @@ function Ii(e, t, n) {
1936
1936
  function $n(e, t, n) {
1937
1937
  return { start: e, end: t };
1938
1938
  }
1939
- const x = {
1939
+ const V = {
1940
1940
  // tokenizer error codes
1941
1941
  EXPECTED_TOKEN: 1,
1942
1942
  INVALID_TOKEN_IN_PLACEHOLDER: 2,
@@ -1959,27 +1959,27 @@ const x = {
1959
1959
  UNHANDLED_MINIFIER_NODE_TYPE: 16
1960
1960
  }, Li = 17, wi = {
1961
1961
  // tokenizer error messages
1962
- [x.EXPECTED_TOKEN]: "Expected token: '{0}'",
1963
- [x.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
1964
- [x.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
1965
- [x.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
1966
- [x.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
1967
- [x.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
1968
- [x.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
1969
- [x.EMPTY_PLACEHOLDER]: "Empty placeholder",
1970
- [x.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
1971
- [x.INVALID_LINKED_FORMAT]: "Invalid linked format",
1962
+ [V.EXPECTED_TOKEN]: "Expected token: '{0}'",
1963
+ [V.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
1964
+ [V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
1965
+ [V.UNKNOWN_ESCAPE_SEQUENCE]: "Unknown escape sequence: \\{0}",
1966
+ [V.INVALID_UNICODE_ESCAPE_SEQUENCE]: "Invalid unicode escape sequence: {0}",
1967
+ [V.UNBALANCED_CLOSING_BRACE]: "Unbalanced closing brace",
1968
+ [V.UNTERMINATED_CLOSING_BRACE]: "Unterminated closing brace",
1969
+ [V.EMPTY_PLACEHOLDER]: "Empty placeholder",
1970
+ [V.NOT_ALLOW_NEST_PLACEHOLDER]: "Not allowed nest placeholder",
1971
+ [V.INVALID_LINKED_FORMAT]: "Invalid linked format",
1972
1972
  // parser error messages
1973
- [x.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
1974
- [x.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
1975
- [x.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
1976
- [x.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
1973
+ [V.MUST_HAVE_MESSAGES_IN_PLURAL]: "Plural must have messages",
1974
+ [V.UNEXPECTED_EMPTY_LINKED_MODIFIER]: "Unexpected empty linked modifier",
1975
+ [V.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
1976
+ [V.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'",
1977
1977
  // generator error messages
1978
- [x.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
1978
+ [V.UNHANDLED_CODEGEN_NODE_TYPE]: "unhandled codegen node type: '{0}'",
1979
1979
  // minimizer error messages
1980
- [x.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
1980
+ [V.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
1981
1981
  };
1982
- function _t(e, t, n = {}) {
1982
+ function dt(e, t, n = {}) {
1983
1983
  const { domain: r, messages: a, args: o } = n, s = process.env.NODE_ENV !== "production" ? Zt((a || wi)[e] || "", ...o || []) : e, l = new SyntaxError(String(s));
1984
1984
  return l.code = e, t && (l.location = t), l.domain = r, l;
1985
1985
  }
@@ -1991,11 +1991,11 @@ const ki = /<\/?[\w\s="/.':;#-\/]+>/, Ri = (e) => ki.test(e), Oe = " ", Pi = "\r
1991
1991
  function Ui(e) {
1992
1992
  const t = e;
1993
1993
  let n = 0, r = 1, a = 1, o = 0;
1994
- const s = (A) => t[A] === Pi && t[A + 1] === fe, l = (A) => t[A] === fe, i = (A) => t[A] === Mi, c = (A) => t[A] === Fi, f = (A) => s(A) || l(A) || i(A) || c(A), u = () => n, _ = () => r, g = () => a, T = () => o, p = (A) => s(A) || i(A) || c(A) ? fe : t[A], w = () => p(n), m = () => p(n + o);
1994
+ const s = (A) => t[A] === Pi && t[A + 1] === fe, l = (A) => t[A] === fe, i = (A) => t[A] === Mi, c = (A) => t[A] === Fi, f = (A) => s(A) || l(A) || i(A) || c(A), u = () => n, d = () => r, g = () => a, T = () => o, p = (A) => s(A) || i(A) || c(A) ? fe : t[A], w = () => p(n), m = () => p(n + o);
1995
1995
  function E() {
1996
1996
  return o = 0, f(n) && (r++, a = 0), s(n) && n++, n++, a++, t[n];
1997
1997
  }
1998
- function S() {
1998
+ function b() {
1999
1999
  return s(n + o) && o++, o++, t[n + o];
2000
2000
  }
2001
2001
  function y() {
@@ -2012,20 +2012,20 @@ function Ui(e) {
2012
2012
  }
2013
2013
  return {
2014
2014
  index: u,
2015
- line: _,
2015
+ line: d,
2016
2016
  column: g,
2017
2017
  peekOffset: T,
2018
2018
  charAt: p,
2019
2019
  currentChar: w,
2020
2020
  currentPeek: m,
2021
2021
  next: E,
2022
- peek: S,
2022
+ peek: b,
2023
2023
  reset: y,
2024
2024
  resetPeek: k,
2025
2025
  skipToPeek: R
2026
2026
  };
2027
2027
  }
2028
- const ke = void 0, xi = ".", Fa = "'", Vi = "tokenizer";
2028
+ const ke = void 0, Vi = ".", Fa = "'", xi = "tokenizer";
2029
2029
  function Bi(e, t = {}) {
2030
2030
  const n = t.location !== !1, r = Ui(e), a = () => r.index(), o = () => Ii(r.line(), r.column(), r.index()), s = o(), l = a(), i = {
2031
2031
  currentType: 13,
@@ -2040,140 +2040,140 @@ function Bi(e, t = {}) {
2040
2040
  inLinked: !1,
2041
2041
  text: ""
2042
2042
  }, c = () => i, { onError: f } = t;
2043
- function u(d, h, N, ...M) {
2043
+ function u(_, h, N, ...M) {
2044
2044
  const ne = c();
2045
2045
  if (h.column += N, h.offset += N, f) {
2046
- const oe = n ? $n(ne.startLoc, h) : null, j = _t(d, oe, {
2047
- domain: Vi,
2046
+ const oe = n ? $n(ne.startLoc, h) : null, j = dt(_, oe, {
2047
+ domain: xi,
2048
2048
  args: M
2049
2049
  });
2050
2050
  f(j);
2051
2051
  }
2052
2052
  }
2053
- function _(d, h, N) {
2054
- d.endLoc = o(), d.currentType = h;
2053
+ function d(_, h, N) {
2054
+ _.endLoc = o(), _.currentType = h;
2055
2055
  const M = { type: h };
2056
- return n && (M.loc = $n(d.startLoc, d.endLoc)), N != null && (M.value = N), M;
2056
+ return n && (M.loc = $n(_.startLoc, _.endLoc)), N != null && (M.value = N), M;
2057
2057
  }
2058
- const g = (d) => _(
2059
- d,
2058
+ const g = (_) => d(
2059
+ _,
2060
2060
  13
2061
2061
  /* TokenTypes.EOF */
2062
2062
  );
2063
- function T(d, h) {
2064
- return d.currentChar() === h ? (d.next(), h) : (u(x.EXPECTED_TOKEN, o(), 0, h), "");
2063
+ function T(_, h) {
2064
+ return _.currentChar() === h ? (_.next(), h) : (u(V.EXPECTED_TOKEN, o(), 0, h), "");
2065
2065
  }
2066
- function p(d) {
2066
+ function p(_) {
2067
2067
  let h = "";
2068
- for (; d.currentPeek() === Oe || d.currentPeek() === fe; )
2069
- h += d.currentPeek(), d.peek();
2068
+ for (; _.currentPeek() === Oe || _.currentPeek() === fe; )
2069
+ h += _.currentPeek(), _.peek();
2070
2070
  return h;
2071
2071
  }
2072
- function w(d) {
2073
- const h = p(d);
2074
- return d.skipToPeek(), h;
2072
+ function w(_) {
2073
+ const h = p(_);
2074
+ return _.skipToPeek(), h;
2075
2075
  }
2076
- function m(d) {
2077
- if (d === ke)
2076
+ function m(_) {
2077
+ if (_ === ke)
2078
2078
  return !1;
2079
- const h = d.charCodeAt(0);
2079
+ const h = _.charCodeAt(0);
2080
2080
  return h >= 97 && h <= 122 || // a-z
2081
2081
  h >= 65 && h <= 90 || // A-Z
2082
2082
  h === 95;
2083
2083
  }
2084
- function E(d) {
2085
- if (d === ke)
2084
+ function E(_) {
2085
+ if (_ === ke)
2086
2086
  return !1;
2087
- const h = d.charCodeAt(0);
2087
+ const h = _.charCodeAt(0);
2088
2088
  return h >= 48 && h <= 57;
2089
2089
  }
2090
- function S(d, h) {
2090
+ function b(_, h) {
2091
2091
  const { currentType: N } = h;
2092
2092
  if (N !== 2)
2093
2093
  return !1;
2094
- p(d);
2095
- const M = m(d.currentPeek());
2096
- return d.resetPeek(), M;
2094
+ p(_);
2095
+ const M = m(_.currentPeek());
2096
+ return _.resetPeek(), M;
2097
2097
  }
2098
- function y(d, h) {
2098
+ function y(_, h) {
2099
2099
  const { currentType: N } = h;
2100
2100
  if (N !== 2)
2101
2101
  return !1;
2102
- p(d);
2103
- const M = d.currentPeek() === "-" ? d.peek() : d.currentPeek(), ne = E(M);
2104
- return d.resetPeek(), ne;
2102
+ p(_);
2103
+ const M = _.currentPeek() === "-" ? _.peek() : _.currentPeek(), ne = E(M);
2104
+ return _.resetPeek(), ne;
2105
2105
  }
2106
- function k(d, h) {
2106
+ function k(_, h) {
2107
2107
  const { currentType: N } = h;
2108
2108
  if (N !== 2)
2109
2109
  return !1;
2110
- p(d);
2111
- const M = d.currentPeek() === Fa;
2112
- return d.resetPeek(), M;
2110
+ p(_);
2111
+ const M = _.currentPeek() === Fa;
2112
+ return _.resetPeek(), M;
2113
2113
  }
2114
- function R(d, h) {
2114
+ function R(_, h) {
2115
2115
  const { currentType: N } = h;
2116
2116
  if (N !== 7)
2117
2117
  return !1;
2118
- p(d);
2119
- const M = d.currentPeek() === ".";
2120
- return d.resetPeek(), M;
2118
+ p(_);
2119
+ const M = _.currentPeek() === ".";
2120
+ return _.resetPeek(), M;
2121
2121
  }
2122
- function A(d, h) {
2122
+ function A(_, h) {
2123
2123
  const { currentType: N } = h;
2124
2124
  if (N !== 8)
2125
2125
  return !1;
2126
- p(d);
2127
- const M = m(d.currentPeek());
2128
- return d.resetPeek(), M;
2126
+ p(_);
2127
+ const M = m(_.currentPeek());
2128
+ return _.resetPeek(), M;
2129
2129
  }
2130
- function B(d, h) {
2130
+ function B(_, h) {
2131
2131
  const { currentType: N } = h;
2132
2132
  if (!(N === 7 || N === 11))
2133
2133
  return !1;
2134
- p(d);
2135
- const M = d.currentPeek() === ":";
2136
- return d.resetPeek(), M;
2134
+ p(_);
2135
+ const M = _.currentPeek() === ":";
2136
+ return _.resetPeek(), M;
2137
2137
  }
2138
- function Y(d, h) {
2138
+ function Y(_, h) {
2139
2139
  const { currentType: N } = h;
2140
2140
  if (N !== 9)
2141
2141
  return !1;
2142
2142
  const M = () => {
2143
- const oe = d.currentPeek();
2144
- return oe === "{" ? m(d.peek()) : oe === "@" || oe === "|" || oe === ":" || oe === "." || oe === Oe || !oe ? !1 : oe === fe ? (d.peek(), M()) : _e(d, !1);
2143
+ const oe = _.currentPeek();
2144
+ return oe === "{" ? m(_.peek()) : oe === "@" || oe === "|" || oe === ":" || oe === "." || oe === Oe || !oe ? !1 : oe === fe ? (_.peek(), M()) : de(_, !1);
2145
2145
  }, ne = M();
2146
- return d.resetPeek(), ne;
2146
+ return _.resetPeek(), ne;
2147
2147
  }
2148
- function re(d) {
2149
- p(d);
2150
- const h = d.currentPeek() === "|";
2151
- return d.resetPeek(), h;
2148
+ function re(_) {
2149
+ p(_);
2150
+ const h = _.currentPeek() === "|";
2151
+ return _.resetPeek(), h;
2152
2152
  }
2153
- function _e(d, h = !0) {
2153
+ function de(_, h = !0) {
2154
2154
  const N = (ne = !1, oe = "") => {
2155
- const j = d.currentPeek();
2156
- return j === "{" || j === "@" || !j ? ne : j === "|" ? !(oe === Oe || oe === fe) : j === Oe ? (d.peek(), N(!0, Oe)) : j === fe ? (d.peek(), N(!0, fe)) : !0;
2155
+ const j = _.currentPeek();
2156
+ return j === "{" || j === "@" || !j ? ne : j === "|" ? !(oe === Oe || oe === fe) : j === Oe ? (_.peek(), N(!0, Oe)) : j === fe ? (_.peek(), N(!0, fe)) : !0;
2157
2157
  }, M = N();
2158
- return h && d.resetPeek(), M;
2158
+ return h && _.resetPeek(), M;
2159
2159
  }
2160
- function ee(d, h) {
2161
- const N = d.currentChar();
2162
- return N === ke ? ke : h(N) ? (d.next(), N) : null;
2160
+ function ee(_, h) {
2161
+ const N = _.currentChar();
2162
+ return N === ke ? ke : h(N) ? (_.next(), N) : null;
2163
2163
  }
2164
- function et(d) {
2165
- const h = d.charCodeAt(0);
2164
+ function et(_) {
2165
+ const h = _.charCodeAt(0);
2166
2166
  return h >= 97 && h <= 122 || // a-z
2167
2167
  h >= 65 && h <= 90 || // A-Z
2168
2168
  h >= 48 && h <= 57 || // 0-9
2169
2169
  h === 95 || // _
2170
2170
  h === 36;
2171
2171
  }
2172
- function sn(d) {
2173
- return ee(d, et);
2172
+ function sn(_) {
2173
+ return ee(_, et);
2174
2174
  }
2175
- function ln(d) {
2176
- const h = d.charCodeAt(0);
2175
+ function ln(_) {
2176
+ const h = _.charCodeAt(0);
2177
2177
  return h >= 97 && h <= 122 || // a-z
2178
2178
  h >= 65 && h <= 90 || // A-Z
2179
2179
  h >= 48 && h <= 57 || // 0-9
@@ -2181,239 +2181,239 @@ function Bi(e, t = {}) {
2181
2181
  h === 36 || // $
2182
2182
  h === 45;
2183
2183
  }
2184
- function cn(d) {
2185
- return ee(d, ln);
2184
+ function cn(_) {
2185
+ return ee(_, ln);
2186
2186
  }
2187
- function un(d) {
2188
- const h = d.charCodeAt(0);
2187
+ function un(_) {
2188
+ const h = _.charCodeAt(0);
2189
2189
  return h >= 48 && h <= 57;
2190
2190
  }
2191
- function fn(d) {
2192
- return ee(d, un);
2191
+ function fn(_) {
2192
+ return ee(_, un);
2193
2193
  }
2194
- function dn(d) {
2195
- const h = d.charCodeAt(0);
2194
+ function _n(_) {
2195
+ const h = _.charCodeAt(0);
2196
2196
  return h >= 48 && h <= 57 || // 0-9
2197
2197
  h >= 65 && h <= 70 || // A-F
2198
2198
  h >= 97 && h <= 102;
2199
2199
  }
2200
- function De(d) {
2201
- return ee(d, dn);
2200
+ function De(_) {
2201
+ return ee(_, _n);
2202
2202
  }
2203
- function mt(d) {
2203
+ function mt(_) {
2204
2204
  let h = "", N = "";
2205
- for (; h = fn(d); )
2205
+ for (; h = fn(_); )
2206
2206
  N += h;
2207
2207
  return N;
2208
2208
  }
2209
- function _n(d) {
2209
+ function dn(_) {
2210
2210
  let h = "";
2211
2211
  for (; ; ) {
2212
- const N = d.currentChar();
2212
+ const N = _.currentChar();
2213
2213
  if (N === "{" || N === "}" || N === "@" || N === "|" || !N)
2214
2214
  break;
2215
2215
  if (N === Oe || N === fe)
2216
- if (_e(d))
2217
- h += N, d.next();
2216
+ if (de(_))
2217
+ h += N, _.next();
2218
2218
  else {
2219
- if (re(d))
2219
+ if (re(_))
2220
2220
  break;
2221
- h += N, d.next();
2221
+ h += N, _.next();
2222
2222
  }
2223
2223
  else
2224
- h += N, d.next();
2224
+ h += N, _.next();
2225
2225
  }
2226
2226
  return h;
2227
2227
  }
2228
- function mn(d) {
2229
- w(d);
2228
+ function mn(_) {
2229
+ w(_);
2230
2230
  let h = "", N = "";
2231
- for (; h = cn(d); )
2231
+ for (; h = cn(_); )
2232
2232
  N += h;
2233
- const M = d.currentChar();
2233
+ const M = _.currentChar();
2234
2234
  if (M && M !== "}" && M !== ke && M !== Oe && M !== fe && M !== " ") {
2235
- const ne = Ut(d);
2236
- return u(x.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N + ne), N + ne;
2235
+ const ne = Ut(_);
2236
+ return u(V.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N + ne), N + ne;
2237
2237
  }
2238
- return d.currentChar() === ke && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), N;
2238
+ return _.currentChar() === ke && u(V.UNTERMINATED_CLOSING_BRACE, o(), 0), N;
2239
2239
  }
2240
- function hn(d) {
2241
- w(d);
2240
+ function hn(_) {
2241
+ w(_);
2242
2242
  let h = "";
2243
- return d.currentChar() === "-" ? (d.next(), h += `-${mt(d)}`) : h += mt(d), d.currentChar() === ke && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), h;
2243
+ return _.currentChar() === "-" ? (_.next(), h += `-${mt(_)}`) : h += mt(_), _.currentChar() === ke && u(V.UNTERMINATED_CLOSING_BRACE, o(), 0), h;
2244
2244
  }
2245
- function gn(d) {
2246
- return d !== Fa && d !== fe;
2245
+ function gn(_) {
2246
+ return _ !== Fa && _ !== fe;
2247
2247
  }
2248
- function Ta(d) {
2249
- w(d), T(d, "'");
2248
+ function Ta(_) {
2249
+ w(_), T(_, "'");
2250
2250
  let h = "", N = "";
2251
- for (; h = ee(d, gn); )
2252
- h === "\\" ? N += pn(d) : N += h;
2253
- const M = d.currentChar();
2254
- return M === fe || M === ke ? (u(x.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), M === fe && (d.next(), T(d, "'")), N) : (T(d, "'"), N);
2251
+ for (; h = ee(_, gn); )
2252
+ h === "\\" ? N += pn(_) : N += h;
2253
+ const M = _.currentChar();
2254
+ return M === fe || M === ke ? (u(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), M === fe && (_.next(), T(_, "'")), N) : (T(_, "'"), N);
2255
2255
  }
2256
- function pn(d) {
2257
- const h = d.currentChar();
2256
+ function pn(_) {
2257
+ const h = _.currentChar();
2258
2258
  switch (h) {
2259
2259
  case "\\":
2260
2260
  case "'":
2261
- return d.next(), `\\${h}`;
2261
+ return _.next(), `\\${h}`;
2262
2262
  case "u":
2263
- return Mt(d, h, 4);
2263
+ return Mt(_, h, 4);
2264
2264
  case "U":
2265
- return Mt(d, h, 6);
2265
+ return Mt(_, h, 6);
2266
2266
  default:
2267
- return u(x.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, h), "";
2267
+ return u(V.UNKNOWN_ESCAPE_SEQUENCE, o(), 0, h), "";
2268
2268
  }
2269
2269
  }
2270
- function Mt(d, h, N) {
2271
- T(d, h);
2270
+ function Mt(_, h, N) {
2271
+ T(_, h);
2272
2272
  let M = "";
2273
2273
  for (let ne = 0; ne < N; ne++) {
2274
- const oe = De(d);
2274
+ const oe = De(_);
2275
2275
  if (!oe) {
2276
- u(x.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${h}${M}${d.currentChar()}`);
2276
+ u(V.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${h}${M}${_.currentChar()}`);
2277
2277
  break;
2278
2278
  }
2279
2279
  M += oe;
2280
2280
  }
2281
2281
  return `\\${h}${M}`;
2282
2282
  }
2283
- function En(d) {
2284
- return d !== "{" && d !== "}" && d !== Oe && d !== fe;
2283
+ function En(_) {
2284
+ return _ !== "{" && _ !== "}" && _ !== Oe && _ !== fe;
2285
2285
  }
2286
- function Ut(d) {
2287
- w(d);
2286
+ function Ut(_) {
2287
+ w(_);
2288
2288
  let h = "", N = "";
2289
- for (; h = ee(d, En); )
2289
+ for (; h = ee(_, En); )
2290
2290
  N += h;
2291
2291
  return N;
2292
2292
  }
2293
- function Sn(d) {
2293
+ function bn(_) {
2294
2294
  let h = "", N = "";
2295
- for (; h = sn(d); )
2295
+ for (; h = sn(_); )
2296
2296
  N += h;
2297
2297
  return N;
2298
2298
  }
2299
- function bn(d) {
2299
+ function Sn(_) {
2300
2300
  const h = (N) => {
2301
- const M = d.currentChar();
2302
- return M === "{" || M === "@" || M === "|" || M === "(" || M === ")" || !M || M === Oe ? N : (N += M, d.next(), h(N));
2301
+ const M = _.currentChar();
2302
+ return M === "{" || M === "@" || M === "|" || M === "(" || M === ")" || !M || M === Oe ? N : (N += M, _.next(), h(N));
2303
2303
  };
2304
2304
  return h("");
2305
2305
  }
2306
- function ht(d) {
2307
- w(d);
2306
+ function ht(_) {
2307
+ w(_);
2308
2308
  const h = T(
2309
- d,
2309
+ _,
2310
2310
  "|"
2311
2311
  /* TokenChars.Pipe */
2312
2312
  );
2313
- return w(d), h;
2313
+ return w(_), h;
2314
2314
  }
2315
- function gt(d, h) {
2315
+ function gt(_, h) {
2316
2316
  let N = null;
2317
- switch (d.currentChar()) {
2317
+ switch (_.currentChar()) {
2318
2318
  case "{":
2319
- return h.braceNest >= 1 && u(x.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), d.next(), N = _(
2319
+ return h.braceNest >= 1 && u(V.NOT_ALLOW_NEST_PLACEHOLDER, o(), 0), _.next(), N = d(
2320
2320
  h,
2321
2321
  2,
2322
2322
  "{"
2323
2323
  /* TokenChars.BraceLeft */
2324
- ), w(d), h.braceNest++, N;
2324
+ ), w(_), h.braceNest++, N;
2325
2325
  case "}":
2326
- return h.braceNest > 0 && h.currentType === 2 && u(x.EMPTY_PLACEHOLDER, o(), 0), d.next(), N = _(
2326
+ return h.braceNest > 0 && h.currentType === 2 && u(V.EMPTY_PLACEHOLDER, o(), 0), _.next(), N = d(
2327
2327
  h,
2328
2328
  3,
2329
2329
  "}"
2330
2330
  /* TokenChars.BraceRight */
2331
- ), h.braceNest--, h.braceNest > 0 && w(d), h.inLinked && h.braceNest === 0 && (h.inLinked = !1), N;
2331
+ ), h.braceNest--, h.braceNest > 0 && w(_), h.inLinked && h.braceNest === 0 && (h.inLinked = !1), N;
2332
2332
  case "@":
2333
- return h.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), N = He(d, h) || g(h), h.braceNest = 0, N;
2333
+ return h.braceNest > 0 && u(V.UNTERMINATED_CLOSING_BRACE, o(), 0), N = He(_, h) || g(h), h.braceNest = 0, N;
2334
2334
  default: {
2335
2335
  let ne = !0, oe = !0, j = !0;
2336
- if (re(d))
2337
- return h.braceNest > 0 && u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), N = _(h, 1, ht(d)), h.braceNest = 0, h.inLinked = !1, N;
2336
+ if (re(_))
2337
+ return h.braceNest > 0 && u(V.UNTERMINATED_CLOSING_BRACE, o(), 0), N = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, N;
2338
2338
  if (h.braceNest > 0 && (h.currentType === 4 || h.currentType === 5 || h.currentType === 6))
2339
- return u(x.UNTERMINATED_CLOSING_BRACE, o(), 0), h.braceNest = 0, pt(d, h);
2340
- if (ne = S(d, h))
2341
- return N = _(h, 4, mn(d)), w(d), N;
2342
- if (oe = y(d, h))
2343
- return N = _(h, 5, hn(d)), w(d), N;
2344
- if (j = k(d, h))
2345
- return N = _(h, 6, Ta(d)), w(d), N;
2339
+ return u(V.UNTERMINATED_CLOSING_BRACE, o(), 0), h.braceNest = 0, pt(_, h);
2340
+ if (ne = b(_, h))
2341
+ return N = d(h, 4, mn(_)), w(_), N;
2342
+ if (oe = y(_, h))
2343
+ return N = d(h, 5, hn(_)), w(_), N;
2344
+ if (j = k(_, h))
2345
+ return N = d(h, 6, Ta(_)), w(_), N;
2346
2346
  if (!ne && !oe && !j)
2347
- return N = _(h, 12, Ut(d)), u(x.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N.value), w(d), N;
2347
+ return N = d(h, 12, Ut(_)), u(V.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N.value), w(_), N;
2348
2348
  break;
2349
2349
  }
2350
2350
  }
2351
2351
  return N;
2352
2352
  }
2353
- function He(d, h) {
2353
+ function He(_, h) {
2354
2354
  const { currentType: N } = h;
2355
2355
  let M = null;
2356
- const ne = d.currentChar();
2357
- switch ((N === 7 || N === 8 || N === 11 || N === 9) && (ne === fe || ne === Oe) && u(x.INVALID_LINKED_FORMAT, o(), 0), ne) {
2356
+ const ne = _.currentChar();
2357
+ switch ((N === 7 || N === 8 || N === 11 || N === 9) && (ne === fe || ne === Oe) && u(V.INVALID_LINKED_FORMAT, o(), 0), ne) {
2358
2358
  case "@":
2359
- return d.next(), M = _(
2359
+ return _.next(), M = d(
2360
2360
  h,
2361
2361
  7,
2362
2362
  "@"
2363
2363
  /* TokenChars.LinkedAlias */
2364
2364
  ), h.inLinked = !0, M;
2365
2365
  case ".":
2366
- return w(d), d.next(), _(
2366
+ return w(_), _.next(), d(
2367
2367
  h,
2368
2368
  8,
2369
2369
  "."
2370
2370
  /* TokenChars.LinkedDot */
2371
2371
  );
2372
2372
  case ":":
2373
- return w(d), d.next(), _(
2373
+ return w(_), _.next(), d(
2374
2374
  h,
2375
2375
  9,
2376
2376
  ":"
2377
2377
  /* TokenChars.LinkedDelimiter */
2378
2378
  );
2379
2379
  default:
2380
- return re(d) ? (M = _(h, 1, ht(d)), h.braceNest = 0, h.inLinked = !1, M) : R(d, h) || B(d, h) ? (w(d), He(d, h)) : A(d, h) ? (w(d), _(h, 11, Sn(d))) : Y(d, h) ? (w(d), ne === "{" ? gt(d, h) || M : _(h, 10, bn(d))) : (N === 7 && u(x.INVALID_LINKED_FORMAT, o(), 0), h.braceNest = 0, h.inLinked = !1, pt(d, h));
2380
+ return re(_) ? (M = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, M) : R(_, h) || B(_, h) ? (w(_), He(_, h)) : A(_, h) ? (w(_), d(h, 11, bn(_))) : Y(_, h) ? (w(_), ne === "{" ? gt(_, h) || M : d(h, 10, Sn(_))) : (N === 7 && u(V.INVALID_LINKED_FORMAT, o(), 0), h.braceNest = 0, h.inLinked = !1, pt(_, h));
2381
2381
  }
2382
2382
  }
2383
- function pt(d, h) {
2383
+ function pt(_, h) {
2384
2384
  let N = {
2385
2385
  type: 13
2386
2386
  /* TokenTypes.EOF */
2387
2387
  };
2388
2388
  if (h.braceNest > 0)
2389
- return gt(d, h) || g(h);
2389
+ return gt(_, h) || g(h);
2390
2390
  if (h.inLinked)
2391
- return He(d, h) || g(h);
2392
- switch (d.currentChar()) {
2391
+ return He(_, h) || g(h);
2392
+ switch (_.currentChar()) {
2393
2393
  case "{":
2394
- return gt(d, h) || g(h);
2394
+ return gt(_, h) || g(h);
2395
2395
  case "}":
2396
- return u(x.UNBALANCED_CLOSING_BRACE, o(), 0), d.next(), _(
2396
+ return u(V.UNBALANCED_CLOSING_BRACE, o(), 0), _.next(), d(
2397
2397
  h,
2398
2398
  3,
2399
2399
  "}"
2400
2400
  /* TokenChars.BraceRight */
2401
2401
  );
2402
2402
  case "@":
2403
- return He(d, h) || g(h);
2403
+ return He(_, h) || g(h);
2404
2404
  default: {
2405
- if (re(d))
2406
- return N = _(h, 1, ht(d)), h.braceNest = 0, h.inLinked = !1, N;
2407
- if (_e(d))
2408
- return _(h, 0, _n(d));
2405
+ if (re(_))
2406
+ return N = d(h, 1, ht(_)), h.braceNest = 0, h.inLinked = !1, N;
2407
+ if (de(_))
2408
+ return d(h, 0, dn(_));
2409
2409
  break;
2410
2410
  }
2411
2411
  }
2412
2412
  return N;
2413
2413
  }
2414
2414
  function vn() {
2415
- const { currentType: d, offset: h, startLoc: N, endLoc: M } = i;
2416
- return i.lastType = d, i.lastOffset = h, i.lastStartLoc = N, i.lastEndLoc = M, i.offset = a(), i.startLoc = o(), r.currentChar() === ke ? _(
2415
+ const { currentType: _, offset: h, startLoc: N, endLoc: M } = i;
2416
+ return i.lastType = _, i.lastOffset = h, i.lastStartLoc = N, i.lastEndLoc = M, i.offset = a(), i.startLoc = o(), r.currentChar() === ke ? d(
2417
2417
  i,
2418
2418
  13
2419
2419
  /* TokenTypes.EOF */
@@ -2442,106 +2442,106 @@ function Wi(e, t, n) {
2442
2442
  }
2443
2443
  function Yi(e = {}) {
2444
2444
  const t = e.location !== !1, { onError: n } = e;
2445
- function r(m, E, S, y, ...k) {
2445
+ function r(m, E, b, y, ...k) {
2446
2446
  const R = m.currentPosition();
2447
2447
  if (R.offset += y, R.column += y, n) {
2448
- const A = t ? $n(S, R) : null, B = _t(E, A, {
2448
+ const A = t ? $n(b, R) : null, B = dt(E, A, {
2449
2449
  domain: Gi,
2450
2450
  args: k
2451
2451
  });
2452
2452
  n(B);
2453
2453
  }
2454
2454
  }
2455
- function a(m, E, S) {
2455
+ function a(m, E, b) {
2456
2456
  const y = { type: m };
2457
- return t && (y.start = E, y.end = E, y.loc = { start: S, end: S }), y;
2457
+ return t && (y.start = E, y.end = E, y.loc = { start: b, end: b }), y;
2458
2458
  }
2459
- function o(m, E, S, y) {
2460
- t && (m.end = E, m.loc && (m.loc.end = S));
2459
+ function o(m, E, b, y) {
2460
+ t && (m.end = E, m.loc && (m.loc.end = b));
2461
2461
  }
2462
2462
  function s(m, E) {
2463
- const S = m.context(), y = a(3, S.offset, S.startLoc);
2463
+ const b = m.context(), y = a(3, b.offset, b.startLoc);
2464
2464
  return y.value = E, o(y, m.currentOffset(), m.currentPosition()), y;
2465
2465
  }
2466
2466
  function l(m, E) {
2467
- const S = m.context(), { lastOffset: y, lastStartLoc: k } = S, R = a(5, y, k);
2467
+ const b = m.context(), { lastOffset: y, lastStartLoc: k } = b, R = a(5, y, k);
2468
2468
  return R.index = parseInt(E, 10), m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
2469
2469
  }
2470
2470
  function i(m, E) {
2471
- const S = m.context(), { lastOffset: y, lastStartLoc: k } = S, R = a(4, y, k);
2471
+ const b = m.context(), { lastOffset: y, lastStartLoc: k } = b, R = a(4, y, k);
2472
2472
  return R.key = E, m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
2473
2473
  }
2474
2474
  function c(m, E) {
2475
- const S = m.context(), { lastOffset: y, lastStartLoc: k } = S, R = a(9, y, k);
2475
+ const b = m.context(), { lastOffset: y, lastStartLoc: k } = b, R = a(9, y, k);
2476
2476
  return R.value = E.replace($i, Wi), m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
2477
2477
  }
2478
2478
  function f(m) {
2479
- const E = m.nextToken(), S = m.context(), { lastOffset: y, lastStartLoc: k } = S, R = a(8, y, k);
2480
- return E.type !== 11 ? (r(m, x.UNEXPECTED_EMPTY_LINKED_MODIFIER, S.lastStartLoc, 0), R.value = "", o(R, y, k), {
2479
+ const E = m.nextToken(), b = m.context(), { lastOffset: y, lastStartLoc: k } = b, R = a(8, y, k);
2480
+ return E.type !== 11 ? (r(m, V.UNEXPECTED_EMPTY_LINKED_MODIFIER, b.lastStartLoc, 0), R.value = "", o(R, y, k), {
2481
2481
  nextConsumeToken: E,
2482
2482
  node: R
2483
- }) : (E.value == null && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, Ie(E)), R.value = E.value || "", o(R, m.currentOffset(), m.currentPosition()), {
2483
+ }) : (E.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, Ie(E)), R.value = E.value || "", o(R, m.currentOffset(), m.currentPosition()), {
2484
2484
  node: R
2485
2485
  });
2486
2486
  }
2487
2487
  function u(m, E) {
2488
- const S = m.context(), y = a(7, S.offset, S.startLoc);
2488
+ const b = m.context(), y = a(7, b.offset, b.startLoc);
2489
2489
  return y.value = E, o(y, m.currentOffset(), m.currentPosition()), y;
2490
2490
  }
2491
- function _(m) {
2492
- const E = m.context(), S = a(6, E.offset, E.startLoc);
2491
+ function d(m) {
2492
+ const E = m.context(), b = a(6, E.offset, E.startLoc);
2493
2493
  let y = m.nextToken();
2494
2494
  if (y.type === 8) {
2495
2495
  const k = f(m);
2496
- S.modifier = k.node, y = k.nextConsumeToken || m.nextToken();
2496
+ b.modifier = k.node, y = k.nextConsumeToken || m.nextToken();
2497
2497
  }
2498
- switch (y.type !== 9 && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), y = m.nextToken(), y.type === 2 && (y = m.nextToken()), y.type) {
2498
+ switch (y.type !== 9 && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), y = m.nextToken(), y.type === 2 && (y = m.nextToken()), y.type) {
2499
2499
  case 10:
2500
- y.value == null && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), S.key = u(m, y.value || "");
2500
+ y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), b.key = u(m, y.value || "");
2501
2501
  break;
2502
2502
  case 4:
2503
- y.value == null && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), S.key = i(m, y.value || "");
2503
+ y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), b.key = i(m, y.value || "");
2504
2504
  break;
2505
2505
  case 5:
2506
- y.value == null && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), S.key = l(m, y.value || "");
2506
+ y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), b.key = l(m, y.value || "");
2507
2507
  break;
2508
2508
  case 6:
2509
- y.value == null && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), S.key = c(m, y.value || "");
2509
+ y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(y)), b.key = c(m, y.value || "");
2510
2510
  break;
2511
2511
  default: {
2512
- r(m, x.UNEXPECTED_EMPTY_LINKED_KEY, E.lastStartLoc, 0);
2512
+ r(m, V.UNEXPECTED_EMPTY_LINKED_KEY, E.lastStartLoc, 0);
2513
2513
  const k = m.context(), R = a(7, k.offset, k.startLoc);
2514
- return R.value = "", o(R, k.offset, k.startLoc), S.key = R, o(S, k.offset, k.startLoc), {
2514
+ return R.value = "", o(R, k.offset, k.startLoc), b.key = R, o(b, k.offset, k.startLoc), {
2515
2515
  nextConsumeToken: y,
2516
- node: S
2516
+ node: b
2517
2517
  };
2518
2518
  }
2519
2519
  }
2520
- return o(S, m.currentOffset(), m.currentPosition()), {
2521
- node: S
2520
+ return o(b, m.currentOffset(), m.currentPosition()), {
2521
+ node: b
2522
2522
  };
2523
2523
  }
2524
2524
  function g(m) {
2525
- const E = m.context(), S = E.currentType === 1 ? m.currentOffset() : E.offset, y = E.currentType === 1 ? E.endLoc : E.startLoc, k = a(2, S, y);
2525
+ const E = m.context(), b = E.currentType === 1 ? m.currentOffset() : E.offset, y = E.currentType === 1 ? E.endLoc : E.startLoc, k = a(2, b, y);
2526
2526
  k.items = [];
2527
2527
  let R = null;
2528
2528
  do {
2529
2529
  const Y = R || m.nextToken();
2530
2530
  switch (R = null, Y.type) {
2531
2531
  case 0:
2532
- Y.value == null && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(s(m, Y.value || ""));
2532
+ Y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(s(m, Y.value || ""));
2533
2533
  break;
2534
2534
  case 5:
2535
- Y.value == null && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(l(m, Y.value || ""));
2535
+ Y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(l(m, Y.value || ""));
2536
2536
  break;
2537
2537
  case 4:
2538
- Y.value == null && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(i(m, Y.value || ""));
2538
+ Y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(i(m, Y.value || ""));
2539
2539
  break;
2540
2540
  case 6:
2541
- Y.value == null && r(m, x.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(c(m, Y.value || ""));
2541
+ Y.value == null && r(m, V.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, Ie(Y)), k.items.push(c(m, Y.value || ""));
2542
2542
  break;
2543
2543
  case 7: {
2544
- const re = _(m);
2544
+ const re = d(m);
2545
2545
  k.items.push(re.node), R = re.nextConsumeToken || null;
2546
2546
  break;
2547
2547
  }
@@ -2550,24 +2550,24 @@ function Yi(e = {}) {
2550
2550
  const A = E.currentType === 1 ? E.lastOffset : m.currentOffset(), B = E.currentType === 1 ? E.lastEndLoc : m.currentPosition();
2551
2551
  return o(k, A, B), k;
2552
2552
  }
2553
- function T(m, E, S, y) {
2553
+ function T(m, E, b, y) {
2554
2554
  const k = m.context();
2555
2555
  let R = y.items.length === 0;
2556
- const A = a(1, E, S);
2556
+ const A = a(1, E, b);
2557
2557
  A.cases = [], A.cases.push(y);
2558
2558
  do {
2559
2559
  const B = g(m);
2560
2560
  R || (R = B.items.length === 0), A.cases.push(B);
2561
2561
  } while (k.currentType !== 13);
2562
- return R && r(m, x.MUST_HAVE_MESSAGES_IN_PLURAL, S, 0), o(A, m.currentOffset(), m.currentPosition()), A;
2562
+ return R && r(m, V.MUST_HAVE_MESSAGES_IN_PLURAL, b, 0), o(A, m.currentOffset(), m.currentPosition()), A;
2563
2563
  }
2564
2564
  function p(m) {
2565
- const E = m.context(), { offset: S, startLoc: y } = E, k = g(m);
2566
- return E.currentType === 13 ? k : T(m, S, y, k);
2565
+ const E = m.context(), { offset: b, startLoc: y } = E, k = g(m);
2566
+ return E.currentType === 13 ? k : T(m, b, y, k);
2567
2567
  }
2568
2568
  function w(m) {
2569
- const E = Bi(m, ce({}, e)), S = E.context(), y = a(0, S.offset, S.startLoc);
2570
- return t && y.loc && (y.loc.source = m), y.body = p(E), e.onCacheKey && (y.cacheKey = e.onCacheKey(m)), S.currentType !== 13 && r(E, x.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, m[S.offset] || ""), o(y, E.currentOffset(), E.currentPosition()), y;
2569
+ const E = Bi(m, ce({}, e)), b = E.context(), y = a(0, b.offset, b.startLoc);
2570
+ return t && y.loc && (y.loc.source = m), y.body = p(E), e.onCacheKey && (y.cacheKey = e.onCacheKey(m)), b.currentType !== 13 && r(E, V.UNEXPECTED_LEXICAL_ANALYSIS, b.lastStartLoc, 0, m[b.offset] || ""), o(y, E.currentOffset(), E.currentPosition()), y;
2571
2571
  }
2572
2572
  return { parse: w };
2573
2573
  }
@@ -2655,7 +2655,7 @@ function Ua(e) {
2655
2655
  t.push(r.value);
2656
2656
  }
2657
2657
  if (t.length === e.items.length) {
2658
- e.static = da(t);
2658
+ e.static = _a(t);
2659
2659
  for (let n = 0; n < e.items.length; n++) {
2660
2660
  const r = e.items[n];
2661
2661
  (r.type === 3 || r.type === 9) && delete r.value;
@@ -2710,7 +2710,7 @@ function it(e) {
2710
2710
  }
2711
2711
  default:
2712
2712
  if (process.env.NODE_ENV !== "production")
2713
- throw _t(x.UNHANDLED_MINIFIER_NODE_TYPE, null, {
2713
+ throw dt(V.UNHANDLED_MINIFIER_NODE_TYPE, null, {
2714
2714
  domain: qi,
2715
2715
  args: [e.type]
2716
2716
  });
@@ -2747,7 +2747,7 @@ function Qi(e, t) {
2747
2747
  const w = --s.indentLevel;
2748
2748
  p && c(w);
2749
2749
  }
2750
- function _() {
2750
+ function d() {
2751
2751
  c(s.indentLevel);
2752
2752
  }
2753
2753
  return {
@@ -2755,7 +2755,7 @@ function Qi(e, t) {
2755
2755
  push: i,
2756
2756
  indent: f,
2757
2757
  deindent: u,
2758
- newline: _,
2758
+ newline: d,
2759
2759
  helper: (p) => `_${p}`,
2760
2760
  needIndent: () => s.needIndent
2761
2761
  };
@@ -2841,7 +2841,7 @@ function ft(e, t) {
2841
2841
  break;
2842
2842
  default:
2843
2843
  if (process.env.NODE_ENV !== "production")
2844
- throw _t(x.UNHANDLED_CODEGEN_NODE_TYPE, null, {
2844
+ throw dt(V.UNHANDLED_CODEGEN_NODE_TYPE, null, {
2845
2845
  domain: Xi,
2846
2846
  args: [t.type]
2847
2847
  });
@@ -2856,7 +2856,7 @@ const tl = (e, t = {}) => {
2856
2856
  breakLineCode: a,
2857
2857
  needIndent: o
2858
2858
  });
2859
- l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), s.length > 0 && (l.push(`const { ${da(s.map((f) => `${f}: _${f}`), ", ")} } = ctx`), l.newline()), l.push("return "), ft(l, e), l.deindent(o), l.push("}"), delete e.helpers;
2859
+ l.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), l.indent(o), s.length > 0 && (l.push(`const { ${_a(s.map((f) => `${f}: _${f}`), ", ")} } = ctx`), l.newline()), l.push("return "), ft(l, e), l.deindent(o), l.push("}"), delete e.helpers;
2860
2860
  const { code: i, map: c } = l.context();
2861
2861
  return {
2862
2862
  ast: e,
@@ -2956,12 +2956,12 @@ function ul(e, t) {
2956
2956
  const o = ol(n);
2957
2957
  return e.plural(o.reduce((s, l) => [
2958
2958
  ...s,
2959
- xa(e, l)
2959
+ Va(e, l)
2960
2960
  ], []));
2961
2961
  } else
2962
- return xa(e, n);
2962
+ return Va(e, n);
2963
2963
  }
2964
- function xa(e, t) {
2964
+ function Va(e, t) {
2965
2965
  const n = sl(t);
2966
2966
  if (n != null)
2967
2967
  return e.type === "text" ? n : e.normalize([n]);
@@ -3006,10 +3006,10 @@ function Wn(e, t) {
3006
3006
  }
3007
3007
  }
3008
3008
  const fl = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
3009
- function dl(e, t) {
3009
+ function _l(e, t) {
3010
3010
  t && Ri(e) && (Zt(fl, { source: e }), void 0);
3011
3011
  }
3012
- const _l = (e) => e;
3012
+ const dl = (e) => e;
3013
3013
  let $t = X();
3014
3014
  function ml(e, t = {}) {
3015
3015
  let n = !1;
@@ -3022,8 +3022,8 @@ function ml(e, t = {}) {
3022
3022
  function hl(e, t) {
3023
3023
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && P(e)) {
3024
3024
  const n = K(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
3025
- process.env.NODE_ENV !== "production" && dl(e, n);
3026
- const a = (t.onCacheKey || _l)(e), o = $t[a];
3025
+ process.env.NODE_ENV !== "production" && _l(e, n);
3026
+ const a = (t.onCacheKey || dl)(e), o = $t[a];
3027
3027
  if (o)
3028
3028
  return o;
3029
3029
  const { ast: s, detectError: l } = ml(e, {
@@ -3055,11 +3055,11 @@ function pl(e, t, n) {
3055
3055
  meta: n
3056
3056
  });
3057
3057
  }
3058
- const El = /* @__PURE__ */ Sl("function:translate");
3059
- function Sl(e) {
3058
+ const El = /* @__PURE__ */ bl("function:translate");
3059
+ function bl(e) {
3060
3060
  return (t) => It && It.emit(e, t);
3061
3061
  }
3062
- const de = {
3062
+ const _e = {
3063
3063
  INVALID_ARGUMENT: Li,
3064
3064
  // 17
3065
3065
  INVALID_DATE_ARGUMENT: 18,
@@ -3068,24 +3068,24 @@ const de = {
3068
3068
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
3069
3069
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
3070
3070
  NOT_SUPPORT_LOCALE_TYPE: 23
3071
- }, bl = 24;
3071
+ }, Sl = 24;
3072
3072
  function Fe(e) {
3073
- return _t(e, null, process.env.NODE_ENV !== "production" ? { messages: vl } : void 0);
3073
+ return dt(e, null, process.env.NODE_ENV !== "production" ? { messages: vl } : void 0);
3074
3074
  }
3075
3075
  const vl = {
3076
- [de.INVALID_ARGUMENT]: "Invalid arguments",
3077
- [de.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
3078
- [de.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
3079
- [de.NOT_SUPPORT_NON_STRING_MESSAGE]: "Not support non-string message",
3080
- [de.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: "cannot support promise value",
3081
- [de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
3082
- [de.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
3076
+ [_e.INVALID_ARGUMENT]: "Invalid arguments",
3077
+ [_e.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
3078
+ [_e.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
3079
+ [_e.NOT_SUPPORT_NON_STRING_MESSAGE]: "Not support non-string message",
3080
+ [_e.NOT_SUPPORT_LOCALE_PROMISE_VALUE]: "cannot support promise value",
3081
+ [_e.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
3082
+ [_e.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
3083
3083
  };
3084
3084
  function ga(e, t) {
3085
- return t.locale != null ? Va(t.locale) : Va(e.locale);
3085
+ return t.locale != null ? xa(t.locale) : xa(e.locale);
3086
3086
  }
3087
3087
  let Nn;
3088
- function Va(e) {
3088
+ function xa(e) {
3089
3089
  if (P(e))
3090
3090
  return e;
3091
3091
  if (J(e)) {
@@ -3094,12 +3094,12 @@ function Va(e) {
3094
3094
  if (e.constructor.name === "Function") {
3095
3095
  const t = e();
3096
3096
  if (Ni(t))
3097
- throw Fe(de.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
3097
+ throw Fe(_e.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
3098
3098
  return Nn = t;
3099
3099
  } else
3100
- throw Fe(de.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
3100
+ throw Fe(_e.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
3101
3101
  } else
3102
- throw Fe(de.NOT_SUPPORT_LOCALE_TYPE);
3102
+ throw Fe(_e.NOT_SUPPORT_LOCALE_TYPE);
3103
3103
  }
3104
3104
  function yl(e, t, n) {
3105
3105
  return [.../* @__PURE__ */ new Set([
@@ -3360,38 +3360,38 @@ function Ll(e) {
3360
3360
  function wl(e) {
3361
3361
  const t = [];
3362
3362
  let n = -1, r = 0, a = 0, o, s, l, i, c, f, u;
3363
- const _ = [];
3364
- _[
3363
+ const d = [];
3364
+ d[
3365
3365
  0
3366
3366
  /* Actions.APPEND */
3367
3367
  ] = () => {
3368
3368
  s === void 0 ? s = l : s += l;
3369
- }, _[
3369
+ }, d[
3370
3370
  1
3371
3371
  /* Actions.PUSH */
3372
3372
  ] = () => {
3373
3373
  s !== void 0 && (t.push(s), s = void 0);
3374
- }, _[
3374
+ }, d[
3375
3375
  2
3376
3376
  /* Actions.INC_SUB_PATH_DEPTH */
3377
3377
  ] = () => {
3378
- _[
3378
+ d[
3379
3379
  0
3380
3380
  /* Actions.APPEND */
3381
3381
  ](), a++;
3382
- }, _[
3382
+ }, d[
3383
3383
  3
3384
3384
  /* Actions.PUSH_SUB_PATH */
3385
3385
  ] = () => {
3386
3386
  if (a > 0)
3387
- a--, r = 4, _[
3387
+ a--, r = 4, d[
3388
3388
  0
3389
3389
  /* Actions.APPEND */
3390
3390
  ]();
3391
3391
  else {
3392
3392
  if (a = 0, s === void 0 || (s = Ll(s), s === !1))
3393
3393
  return !1;
3394
- _[
3394
+ d[
3395
3395
  1
3396
3396
  /* Actions.PUSH */
3397
3397
  ]();
@@ -3400,14 +3400,14 @@ function wl(e) {
3400
3400
  function g() {
3401
3401
  const T = e[n + 1];
3402
3402
  if (r === 5 && T === "'" || r === 6 && T === '"')
3403
- return n++, l = "\\" + T, _[
3403
+ return n++, l = "\\" + T, d[
3404
3404
  0
3405
3405
  /* Actions.APPEND */
3406
3406
  ](), !0;
3407
3407
  }
3408
3408
  for (; r !== null; )
3409
3409
  if (n++, o = e[n], !(o === "\\" && g())) {
3410
- if (i = Il(o), u = Ye[r], c = u[i] || u.l || 8, c === 8 || (r = c[0], c[1] !== void 0 && (f = _[c[1]], f && (l = o, f() === !1))))
3410
+ if (i = Il(o), u = Ye[r], c = u[i] || u.l || 8, c === 8 || (r = c[0], c[1] !== void 0 && (f = d[c[1]], f && (l = o, f() === !1))))
3411
3411
  return;
3412
3412
  if (r === 7)
3413
3413
  return t;
@@ -3469,11 +3469,11 @@ function Ul(e) {
3469
3469
  io = e;
3470
3470
  }
3471
3471
  let lo;
3472
- function xl(e) {
3472
+ function Vl(e) {
3473
3473
  lo = e;
3474
3474
  }
3475
3475
  let co;
3476
- function Vl(e) {
3476
+ function xl(e) {
3477
3477
  co = e;
3478
3478
  }
3479
3479
  let uo = null;
@@ -3486,9 +3486,9 @@ const Wa = (e) => {
3486
3486
  }, $l = () => fo;
3487
3487
  let Ya = 0;
3488
3488
  function Wl(e = {}) {
3489
- const t = J(e.onWarn) ? e.onWarn : pi, n = P(e.version) ? e.version : Fl, r = P(e.locale) || J(e.locale) ? e.locale : Lt, a = J(r) ? Lt : r, o = ae(e.fallbackLocale) || G(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, s = G(e.messages) ? e.messages : Cn(a), l = G(e.datetimeFormats) ? e.datetimeFormats : Cn(a), i = G(e.numberFormats) ? e.numberFormats : Cn(a), c = ce(X(), e.modifiers, Ml()), f = e.pluralRules || X(), u = J(e.missing) ? e.missing : null, _ = K(e.missingWarn) || ut(e.missingWarn) ? e.missingWarn : !0, g = K(e.fallbackWarn) || ut(e.fallbackWarn) ? e.fallbackWarn : !0, T = !!e.fallbackFormat, p = !!e.unresolving, w = J(e.postTranslation) ? e.postTranslation : null, m = G(e.processor) ? e.processor : null, E = K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, y = J(e.messageCompiler) ? e.messageCompiler : io;
3489
+ const t = J(e.onWarn) ? e.onWarn : pi, n = P(e.version) ? e.version : Fl, r = P(e.locale) || J(e.locale) ? e.locale : Lt, a = J(r) ? Lt : r, o = ae(e.fallbackLocale) || G(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a, s = G(e.messages) ? e.messages : Cn(a), l = G(e.datetimeFormats) ? e.datetimeFormats : Cn(a), i = G(e.numberFormats) ? e.numberFormats : Cn(a), c = ce(X(), e.modifiers, Ml()), f = e.pluralRules || X(), u = J(e.missing) ? e.missing : null, d = K(e.missingWarn) || ut(e.missingWarn) ? e.missingWarn : !0, g = K(e.fallbackWarn) || ut(e.fallbackWarn) ? e.fallbackWarn : !0, T = !!e.fallbackFormat, p = !!e.unresolving, w = J(e.postTranslation) ? e.postTranslation : null, m = G(e.processor) ? e.processor : null, E = K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter, y = J(e.messageCompiler) ? e.messageCompiler : io;
3490
3490
  process.env.NODE_ENV !== "production" && J(e.messageCompiler) && ua(ze(me.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
3491
- const k = J(e.messageResolver) ? e.messageResolver : lo || Dl, R = J(e.localeFallbacker) ? e.localeFallbacker : co || yl, A = H(e.fallbackContext) ? e.fallbackContext : void 0, B = e, Y = H(B.__datetimeFormatters) ? B.__datetimeFormatters : /* @__PURE__ */ new Map(), re = H(B.__numberFormatters) ? B.__numberFormatters : /* @__PURE__ */ new Map(), _e = H(B.__meta) ? B.__meta : {};
3491
+ const k = J(e.messageResolver) ? e.messageResolver : lo || Dl, R = J(e.localeFallbacker) ? e.localeFallbacker : co || yl, A = H(e.fallbackContext) ? e.fallbackContext : void 0, B = e, Y = H(B.__datetimeFormatters) ? B.__datetimeFormatters : /* @__PURE__ */ new Map(), re = H(B.__numberFormatters) ? B.__numberFormatters : /* @__PURE__ */ new Map(), de = H(B.__meta) ? B.__meta : {};
3492
3492
  Ya++;
3493
3493
  const ee = {
3494
3494
  version: n,
@@ -3499,22 +3499,22 @@ function Wl(e = {}) {
3499
3499
  modifiers: c,
3500
3500
  pluralRules: f,
3501
3501
  missing: u,
3502
- missingWarn: _,
3502
+ missingWarn: d,
3503
3503
  fallbackWarn: g,
3504
3504
  fallbackFormat: T,
3505
3505
  unresolving: p,
3506
3506
  postTranslation: w,
3507
3507
  processor: m,
3508
3508
  warnHtmlMessage: E,
3509
- escapeParameter: S,
3509
+ escapeParameter: b,
3510
3510
  messageCompiler: y,
3511
3511
  messageResolver: k,
3512
3512
  localeFallbacker: R,
3513
3513
  fallbackContext: A,
3514
3514
  onWarn: t,
3515
- __meta: _e
3515
+ __meta: de
3516
3516
  };
3517
- return ee.datetimeFormats = l, ee.numberFormats = i, ee.__datetimeFormatters = Y, ee.__numberFormatters = re, process.env.NODE_ENV !== "production" && (ee.__v_emitter = B.__v_emitter != null ? B.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && pl(ee, n, _e), ee;
3517
+ return ee.datetimeFormats = l, ee.numberFormats = i, ee.__datetimeFormatters = Y, ee.__numberFormatters = re, process.env.NODE_ENV !== "production" && (ee.__v_emitter = B.__v_emitter != null ? B.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && pl(ee, n, de), ee;
3518
3518
  }
3519
3519
  const Cn = (e) => ({ [e]: X() });
3520
3520
  function nn(e, t) {
@@ -3564,7 +3564,7 @@ function Ka(e, ...t) {
3564
3564
  const { datetimeFormats: n, unresolving: r, fallbackLocale: a, onWarn: o, localeFallbacker: s } = e, { __datetimeFormatters: l } = e;
3565
3565
  if (process.env.NODE_ENV !== "production" && !ho.dateTimeFormat)
3566
3566
  return o(ze(me.CANNOT_FORMAT_DATE)), Xt;
3567
- const [i, c, f, u] = Yn(...t), _ = K(f.missingWarn) ? f.missingWarn : e.missingWarn, g = K(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, T = !!f.part, p = ga(e, f), w = s(
3567
+ const [i, c, f, u] = Yn(...t), d = K(f.missingWarn) ? f.missingWarn : e.missingWarn, g = K(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, T = !!f.part, p = ga(e, f), w = s(
3568
3568
  e,
3569
3569
  // eslint-disable-line @typescript-eslint/no-explicit-any
3570
3570
  a,
@@ -3572,7 +3572,7 @@ function Ka(e, ...t) {
3572
3572
  );
3573
3573
  if (!P(i) || i === "")
3574
3574
  return new Intl.DateTimeFormat(p, u).format(c);
3575
- let m = {}, E, S = null, y = p, k = null;
3575
+ let m = {}, E, b = null, y = p, k = null;
3576
3576
  const R = "datetime format";
3577
3577
  for (let Y = 0; Y < w.length; Y++) {
3578
3578
  if (E = k = w[Y], process.env.NODE_ENV !== "production" && p !== E && nn(g, i) && o(ze(me.FALLBACK_TO_DATE_FORMAT, {
@@ -3588,16 +3588,16 @@ function Ka(e, ...t) {
3588
3588
  groupId: `${R}:${i}`
3589
3589
  });
3590
3590
  }
3591
- if (m = n[E] || {}, S = m[i], G(S))
3591
+ if (m = n[E] || {}, b = m[i], G(b))
3592
3592
  break;
3593
- pa(e, i, E, _, R), y = k;
3593
+ pa(e, i, E, d, R), y = k;
3594
3594
  }
3595
- if (!G(S) || !P(E))
3595
+ if (!G(b) || !P(E))
3596
3596
  return r ? tn : i;
3597
3597
  let A = `${E}__${i}`;
3598
3598
  en(u) || (A = `${A}__${JSON.stringify(u)}`);
3599
3599
  let B = l.get(A);
3600
- return B || (B = new Intl.DateTimeFormat(E, ce({}, S, u)), l.set(A, B)), T ? B.formatToParts(c) : B.format(c);
3600
+ return B || (B = new Intl.DateTimeFormat(E, ce({}, b, u)), l.set(A, B)), T ? B.formatToParts(c) : B.format(c);
3601
3601
  }
3602
3602
  const go = [
3603
3603
  "localeMatcher",
@@ -3627,22 +3627,22 @@ function Yn(...e) {
3627
3627
  if (P(t)) {
3628
3628
  const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
3629
3629
  if (!i)
3630
- throw Fe(de.INVALID_ISO_DATE_ARGUMENT);
3630
+ throw Fe(_e.INVALID_ISO_DATE_ARGUMENT);
3631
3631
  const c = i[3] ? i[3].trim().startsWith("T") ? `${i[1].trim()}${i[3].trim()}` : `${i[1].trim()}T${i[3].trim()}` : i[1].trim();
3632
3632
  l = new Date(c);
3633
3633
  try {
3634
3634
  l.toISOString();
3635
3635
  } catch {
3636
- throw Fe(de.INVALID_ISO_DATE_ARGUMENT);
3636
+ throw Fe(_e.INVALID_ISO_DATE_ARGUMENT);
3637
3637
  }
3638
3638
  } else if (vi(t)) {
3639
3639
  if (isNaN(t.getTime()))
3640
- throw Fe(de.INVALID_DATE_ARGUMENT);
3640
+ throw Fe(_e.INVALID_DATE_ARGUMENT);
3641
3641
  l = t;
3642
3642
  } else if (ie(t))
3643
3643
  l = t;
3644
3644
  else
3645
- throw Fe(de.INVALID_ARGUMENT);
3645
+ throw Fe(_e.INVALID_ARGUMENT);
3646
3646
  return P(n) ? o.key = n : G(n) && Object.keys(n).forEach((i) => {
3647
3647
  go.includes(i) ? s[i] = n[i] : o[i] = n[i];
3648
3648
  }), P(r) ? o.locale = r : G(r) && (s = r), G(a) && (s = a), [o.key || "", l, o, s];
@@ -3658,7 +3658,7 @@ function qa(e, ...t) {
3658
3658
  const { numberFormats: n, unresolving: r, fallbackLocale: a, onWarn: o, localeFallbacker: s } = e, { __numberFormatters: l } = e;
3659
3659
  if (process.env.NODE_ENV !== "production" && !ho.numberFormat)
3660
3660
  return o(ze(me.CANNOT_FORMAT_NUMBER)), Xt;
3661
- const [i, c, f, u] = Hn(...t), _ = K(f.missingWarn) ? f.missingWarn : e.missingWarn, g = K(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, T = !!f.part, p = ga(e, f), w = s(
3661
+ const [i, c, f, u] = Hn(...t), d = K(f.missingWarn) ? f.missingWarn : e.missingWarn, g = K(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, T = !!f.part, p = ga(e, f), w = s(
3662
3662
  e,
3663
3663
  // eslint-disable-line @typescript-eslint/no-explicit-any
3664
3664
  a,
@@ -3666,7 +3666,7 @@ function qa(e, ...t) {
3666
3666
  );
3667
3667
  if (!P(i) || i === "")
3668
3668
  return new Intl.NumberFormat(p, u).format(c);
3669
- let m = {}, E, S = null, y = p, k = null;
3669
+ let m = {}, E, b = null, y = p, k = null;
3670
3670
  const R = "number format";
3671
3671
  for (let Y = 0; Y < w.length; Y++) {
3672
3672
  if (E = k = w[Y], process.env.NODE_ENV !== "production" && p !== E && nn(g, i) && o(ze(me.FALLBACK_TO_NUMBER_FORMAT, {
@@ -3682,16 +3682,16 @@ function qa(e, ...t) {
3682
3682
  groupId: `${R}:${i}`
3683
3683
  });
3684
3684
  }
3685
- if (m = n[E] || {}, S = m[i], G(S))
3685
+ if (m = n[E] || {}, b = m[i], G(b))
3686
3686
  break;
3687
- pa(e, i, E, _, R), y = k;
3687
+ pa(e, i, E, d, R), y = k;
3688
3688
  }
3689
- if (!G(S) || !P(E))
3689
+ if (!G(b) || !P(E))
3690
3690
  return r ? tn : i;
3691
3691
  let A = `${E}__${i}`;
3692
3692
  en(u) || (A = `${A}__${JSON.stringify(u)}`);
3693
3693
  let B = l.get(A);
3694
- return B || (B = new Intl.NumberFormat(E, ce({}, S, u)), l.set(A, B)), T ? B.formatToParts(c) : B.format(c);
3694
+ return B || (B = new Intl.NumberFormat(E, ce({}, b, u)), l.set(A, B)), T ? B.formatToParts(c) : B.format(c);
3695
3695
  }
3696
3696
  const po = [
3697
3697
  "localeMatcher",
@@ -3719,7 +3719,7 @@ function Hn(...e) {
3719
3719
  const [t, n, r, a] = e, o = X();
3720
3720
  let s = X();
3721
3721
  if (!ie(t))
3722
- throw Fe(de.INVALID_ARGUMENT);
3722
+ throw Fe(_e.INVALID_ARGUMENT);
3723
3723
  const l = t;
3724
3724
  return P(n) ? o.key = n : G(n) && Object.keys(n).forEach((i) => {
3725
3725
  po.includes(i) ? s[i] = n[i] : o[i] = n[i];
@@ -3732,7 +3732,7 @@ function Xa(e, t, n) {
3732
3732
  r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
3733
3733
  }
3734
3734
  }
3735
- const Hl = (e) => e, Kl = (e) => "", jl = "text", ql = (e) => e.length === 0 ? "" : da(e), Xl = Ci;
3735
+ const Hl = (e) => e, Kl = (e) => "", jl = "text", ql = (e) => e.length === 0 ? "" : _a(e), Xl = Ci;
3736
3736
  function Qa(e, t) {
3737
3737
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
3738
3738
  }
@@ -3748,17 +3748,17 @@ function zl(e = {}) {
3748
3748
  ie(e.pluralIndex) && Jl(n, i);
3749
3749
  const c = (m) => i[m];
3750
3750
  function f(m, E) {
3751
- const S = J(e.messages) ? e.messages(m, !!E) : H(e.messages) ? e.messages[m] : !1;
3752
- return S || (e.parent ? e.parent.message(m) : Kl);
3751
+ const b = J(e.messages) ? e.messages(m, !!E) : H(e.messages) ? e.messages[m] : !1;
3752
+ return b || (e.parent ? e.parent.message(m) : Kl);
3753
3753
  }
3754
- const u = (m) => e.modifiers ? e.modifiers[m] : Hl, _ = G(e.processor) && J(e.processor.normalize) ? e.processor.normalize : ql, g = G(e.processor) && J(e.processor.interpolate) ? e.processor.interpolate : Xl, T = G(e.processor) && P(e.processor.type) ? e.processor.type : jl, w = {
3754
+ const u = (m) => e.modifiers ? e.modifiers[m] : Hl, d = G(e.processor) && J(e.processor.normalize) ? e.processor.normalize : ql, g = G(e.processor) && J(e.processor.interpolate) ? e.processor.interpolate : Xl, T = G(e.processor) && P(e.processor.type) ? e.processor.type : jl, w = {
3755
3755
  list: l,
3756
3756
  named: c,
3757
3757
  plural: o,
3758
3758
  linked: (m, ...E) => {
3759
- const [S, y] = E;
3759
+ const [b, y] = E;
3760
3760
  let k = "text", R = "";
3761
- E.length === 1 ? H(S) ? (R = S.modifier || R, k = S.type || k) : P(S) && (R = S || R) : E.length === 2 && (P(S) && (R = S || R), P(y) && (k = y || k));
3761
+ E.length === 1 ? H(b) ? (R = b.modifier || R, k = b.type || k) : P(b) && (R = b || R) : E.length === 2 && (P(b) && (R = b || R), P(y) && (k = y || k));
3762
3762
  const A = f(m, !0)(w), B = (
3763
3763
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
3764
3764
  k === "vnode" && ae(A) && R ? A[0] : A
@@ -3768,38 +3768,38 @@ function zl(e = {}) {
3768
3768
  message: f,
3769
3769
  type: T,
3770
3770
  interpolate: g,
3771
- normalize: _,
3771
+ normalize: d,
3772
3772
  values: ce(X(), s, i)
3773
3773
  };
3774
3774
  return w;
3775
3775
  }
3776
- const Ja = () => "", Se = (e) => J(e);
3776
+ const Ja = () => "", be = (e) => J(e);
3777
3777
  function za(e, ...t) {
3778
- const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: o, fallbackLocale: s, messages: l } = e, [i, c] = Kn(...t), f = K(c.missingWarn) ? c.missingWarn : e.missingWarn, u = K(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, _ = K(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, g = !!c.resolvedMessage, T = P(c.default) || K(c.default) ? K(c.default) ? o ? i : () => i : c.default : n ? o ? i : () => i : null, p = n || T != null && (P(T) || J(T)), w = ga(e, c);
3779
- _ && Zl(c);
3780
- let [m, E, S] = g ? [
3778
+ const { fallbackFormat: n, postTranslation: r, unresolving: a, messageCompiler: o, fallbackLocale: s, messages: l } = e, [i, c] = Kn(...t), f = K(c.missingWarn) ? c.missingWarn : e.missingWarn, u = K(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, d = K(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, g = !!c.resolvedMessage, T = P(c.default) || K(c.default) ? K(c.default) ? o ? i : () => i : c.default : n ? o ? i : () => i : null, p = n || T != null && (P(T) || J(T)), w = ga(e, c);
3779
+ d && Zl(c);
3780
+ let [m, E, b] = g ? [
3781
3781
  i,
3782
3782
  w,
3783
3783
  l[w] || X()
3784
3784
  ] : Eo(e, i, w, s, u, f), y = m, k = i;
3785
- if (!g && !(P(y) || ye(y) || Se(y)) && p && (y = T, k = y), !g && (!(P(y) || ye(y) || Se(y)) || !P(E)))
3785
+ if (!g && !(P(y) || ye(y) || be(y)) && p && (y = T, k = y), !g && (!(P(y) || ye(y) || be(y)) || !P(E)))
3786
3786
  return a ? tn : i;
3787
3787
  if (process.env.NODE_ENV !== "production" && P(y) && e.messageCompiler == null)
3788
3788
  return `${i}`, i;
3789
3789
  let R = !1;
3790
3790
  const A = () => {
3791
3791
  R = !0;
3792
- }, B = Se(y) ? y : So(e, i, E, y, k, A);
3792
+ }, B = be(y) ? y : bo(e, i, E, y, k, A);
3793
3793
  if (R)
3794
3794
  return y;
3795
- const Y = ac(e, E, S, c), re = zl(Y), _e = ec(e, B, re);
3796
- let ee = r ? r(_e, i) : _e;
3797
- if (_ && P(ee) && (ee = Ti(ee)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3795
+ const Y = ac(e, E, b, c), re = zl(Y), de = ec(e, B, re);
3796
+ let ee = r ? r(de, i) : de;
3797
+ if (d && P(ee) && (ee = Ti(ee)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3798
3798
  const et = {
3799
3799
  timestamp: Date.now(),
3800
- key: P(i) ? i : Se(y) ? y.key : "",
3801
- locale: E || (Se(y) ? y.locale : ""),
3802
- format: P(y) ? y : Se(y) ? y.source : "",
3800
+ key: P(i) ? i : be(y) ? y.key : "",
3801
+ locale: E || (be(y) ? y.locale : ""),
3802
+ format: P(y) ? y : be(y) ? y.source : "",
3803
3803
  message: ee
3804
3804
  };
3805
3805
  et.meta = ce({}, e.__meta, /* @__PURE__ */ Gl() || {}), El(et);
@@ -3813,13 +3813,13 @@ function Zl(e) {
3813
3813
  }
3814
3814
  function Eo(e, t, n, r, a, o) {
3815
3815
  const { messages: s, onWarn: l, messageResolver: i, localeFallbacker: c } = e, f = c(e, r, n);
3816
- let u = X(), _, g = null, T = n, p = null;
3816
+ let u = X(), d, g = null, T = n, p = null;
3817
3817
  const w = "translate";
3818
3818
  for (let m = 0; m < f.length; m++) {
3819
- if (_ = p = f[m], process.env.NODE_ENV !== "production" && n !== _ && !mo(n, _) && nn(a, t) && l(ze(me.FALLBACK_TO_TRANSLATE, {
3819
+ if (d = p = f[m], process.env.NODE_ENV !== "production" && n !== d && !mo(n, d) && nn(a, t) && l(ze(me.FALLBACK_TO_TRANSLATE, {
3820
3820
  key: t,
3821
- target: _
3822
- })), process.env.NODE_ENV !== "production" && n !== _) {
3821
+ target: d
3822
+ })), process.env.NODE_ENV !== "production" && n !== d) {
3823
3823
  const k = e.__v_emitter;
3824
3824
  k && k.emit("fallback", {
3825
3825
  type: w,
@@ -3829,9 +3829,9 @@ function Eo(e, t, n, r, a, o) {
3829
3829
  groupId: `${w}:${t}`
3830
3830
  });
3831
3831
  }
3832
- u = s[_] || X();
3833
- let E = null, S, y;
3834
- if (process.env.NODE_ENV !== "production" && Ce && (E = window.performance.now(), S = "intlify-message-resolve-start", y = "intlify-message-resolve-end", Ee && Ee(S)), (g = i(u, t)) === null && (g = u[t]), process.env.NODE_ENV !== "production" && Ce) {
3832
+ u = s[d] || X();
3833
+ let E = null, b, y;
3834
+ if (process.env.NODE_ENV !== "production" && Ce && (E = window.performance.now(), b = "intlify-message-resolve-start", y = "intlify-message-resolve-end", Ee && Ee(b)), (g = i(u, t)) === null && (g = u[t]), process.env.NODE_ENV !== "production" && Ce) {
3835
3835
  const k = window.performance.now(), R = e.__v_emitter;
3836
3836
  R && E && g && R.emit("message-resolve", {
3837
3837
  type: "message-resolve",
@@ -3839,16 +3839,16 @@ function Eo(e, t, n, r, a, o) {
3839
3839
  message: g,
3840
3840
  time: k - E,
3841
3841
  groupId: `${w}:${t}`
3842
- }), S && y && Ee && Je && (Ee(y), Je("intlify message resolve", S, y));
3842
+ }), b && y && Ee && Je && (Ee(y), Je("intlify message resolve", b, y));
3843
3843
  }
3844
- if (P(g) || ye(g) || Se(g))
3844
+ if (P(g) || ye(g) || be(g))
3845
3845
  break;
3846
- if (!Yl(_, f)) {
3846
+ if (!Yl(d, f)) {
3847
3847
  const k = pa(
3848
3848
  e,
3849
3849
  // eslint-disable-line @typescript-eslint/no-explicit-any
3850
3850
  t,
3851
- _,
3851
+ d,
3852
3852
  o,
3853
3853
  w
3854
3854
  );
@@ -3856,27 +3856,27 @@ function Eo(e, t, n, r, a, o) {
3856
3856
  }
3857
3857
  T = p;
3858
3858
  }
3859
- return [g, _, u];
3859
+ return [g, d, u];
3860
3860
  }
3861
- function So(e, t, n, r, a, o) {
3861
+ function bo(e, t, n, r, a, o) {
3862
3862
  const { messageCompiler: s, warnHtmlMessage: l } = e;
3863
- if (Se(r)) {
3864
- const _ = r;
3865
- return _.locale = _.locale || n, _.key = _.key || t, _;
3863
+ if (be(r)) {
3864
+ const d = r;
3865
+ return d.locale = d.locale || n, d.key = d.key || t, d;
3866
3866
  }
3867
3867
  if (s == null) {
3868
- const _ = () => r;
3869
- return _.locale = n, _.key = t, _;
3868
+ const d = () => r;
3869
+ return d.locale = n, d.key = t, d;
3870
3870
  }
3871
3871
  let i = null, c, f;
3872
3872
  process.env.NODE_ENV !== "production" && Ce && (i = window.performance.now(), c = "intlify-message-compilation-start", f = "intlify-message-compilation-end", Ee && Ee(c));
3873
3873
  const u = s(r, tc(e, n, a, r, l, o));
3874
3874
  if (process.env.NODE_ENV !== "production" && Ce) {
3875
- const _ = window.performance.now(), g = e.__v_emitter;
3875
+ const d = window.performance.now(), g = e.__v_emitter;
3876
3876
  g && i && g.emit("message-compilation", {
3877
3877
  type: "message-compilation",
3878
3878
  message: r,
3879
- time: _ - i,
3879
+ time: d - i,
3880
3880
  groupId: `translate:${t}`
3881
3881
  }), c && f && Ee && Je && (Ee(f), Je("intlify message compilation", c, f));
3882
3882
  }
@@ -3899,9 +3899,9 @@ function ec(e, t, n) {
3899
3899
  }
3900
3900
  function Kn(...e) {
3901
3901
  const [t, n, r] = e, a = X();
3902
- if (!P(t) && !ie(t) && !Se(t) && !ye(t))
3903
- throw Fe(de.INVALID_ARGUMENT);
3904
- const o = ie(t) ? String(t) : (Se(t), t);
3902
+ if (!P(t) && !ie(t) && !be(t) && !ye(t))
3903
+ throw Fe(_e.INVALID_ARGUMENT);
3904
+ const o = ie(t) ? String(t) : (be(t), t);
3905
3905
  return ie(n) ? a.plural = n : P(n) ? a.default = n : G(n) && !en(n) ? a.named = n : ae(n) && (a.list = n), ie(r) ? a.plural = r : P(r) ? a.default = r : G(r) && ce(a, r), [o, a];
3906
3906
  }
3907
3907
  function tc(e, t, n, r, a, o) {
@@ -3922,7 +3922,7 @@ function tc(e, t, n, r, a, o) {
3922
3922
  } else
3923
3923
  throw s;
3924
3924
  },
3925
- onCacheKey: (s) => Si(t, n, s)
3925
+ onCacheKey: (s) => bi(t, n, s)
3926
3926
  };
3927
3927
  }
3928
3928
  function nc(e) {
@@ -3932,7 +3932,7 @@ function nc(e) {
3932
3932
  return e.loc.source;
3933
3933
  }
3934
3934
  function ac(e, t, n, r) {
3935
- const { modifiers: a, pluralRules: o, messageResolver: s, fallbackLocale: l, fallbackWarn: i, missingWarn: c, fallbackContext: f } = e, _ = {
3935
+ const { modifiers: a, pluralRules: o, messageResolver: s, fallbackLocale: l, fallbackWarn: i, missingWarn: c, fallbackContext: f } = e, d = {
3936
3936
  locale: t,
3937
3937
  modifiers: a,
3938
3938
  pluralRules: o,
@@ -3952,20 +3952,20 @@ function ac(e, t, n, r) {
3952
3952
  }
3953
3953
  if (P(p) || ye(p)) {
3954
3954
  let w = !1;
3955
- const E = So(e, g, t, p, g, () => {
3955
+ const E = bo(e, g, t, p, g, () => {
3956
3956
  w = !0;
3957
3957
  });
3958
3958
  return w ? Ja : E;
3959
- } else return Se(p) ? p : Ja;
3959
+ } else return be(p) ? p : Ja;
3960
3960
  }
3961
3961
  };
3962
- return e.processor && (_.processor = e.processor), r.list && (_.list = r.list), r.named && (_.named = r.named), ie(r.plural) && (_.pluralIndex = r.plural), _;
3962
+ return e.processor && (d.processor = e.processor), r.list && (d.list = r.list), r.named && (d.named = r.named), ie(r.plural) && (d.pluralIndex = r.plural), d;
3963
3963
  }
3964
3964
  al();
3965
3965
  function rc() {
3966
- return bo().__VUE_DEVTOOLS_GLOBAL_HOOK__;
3966
+ return So().__VUE_DEVTOOLS_GLOBAL_HOOK__;
3967
3967
  }
3968
- function bo() {
3968
+ function So() {
3969
3969
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
3970
3970
  }
3971
3971
  const oc = typeof Proxy == "function", sc = "devtools-plugin:setup", ic = "plugin:settings:set";
@@ -4040,7 +4040,7 @@ class uc {
4040
4040
  }
4041
4041
  }
4042
4042
  function fc(e, t) {
4043
- const n = e, r = bo(), a = rc(), o = oc && n.enableEarlyProxy;
4043
+ const n = e, r = So(), a = rc(), o = oc && n.enableEarlyProxy;
4044
4044
  if (a && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !o))
4045
4045
  a.emit(sc, e, t);
4046
4046
  else {
@@ -4057,13 +4057,13 @@ function fc(e, t) {
4057
4057
  * (c) 2025 kazuya kawaguchi
4058
4058
  * Released under the MIT License.
4059
4059
  */
4060
- const dc = "11.1.12";
4061
- function _c() {
4060
+ const _c = "11.1.12";
4061
+ function dc() {
4062
4062
  typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Qe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Qe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Qe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Qe().__INTLIFY_PROD_DEVTOOLS__ = !1);
4063
4063
  }
4064
4064
  const Z = {
4065
4065
  // composer module errors
4066
- UNEXPECTED_RETURN_TYPE: bl,
4066
+ UNEXPECTED_RETURN_TYPE: Sl,
4067
4067
  // 24
4068
4068
  // legacy module errors
4069
4069
  INVALID_ARGUMENT: 25,
@@ -4084,7 +4084,7 @@ const Z = {
4084
4084
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
4085
4085
  };
4086
4086
  function he(e, ...t) {
4087
- return _t(e, null, process.env.NODE_ENV !== "production" ? { messages: mc, args: t } : void 0);
4087
+ return dt(e, null, process.env.NODE_ENV !== "production" ? { messages: mc, args: t } : void 0);
4088
4088
  }
4089
4089
  const mc = {
4090
4090
  [Z.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
@@ -4098,7 +4098,7 @@ const mc = {
4098
4098
  [Z.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
4099
4099
  [Z.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
4100
4100
  [Z.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
4101
- }, qn = /* @__PURE__ */ we("__translateVNode"), Xn = /* @__PURE__ */ we("__datetimeParts"), Qn = /* @__PURE__ */ we("__numberParts"), Ze = /* @__PURE__ */ we("__enableEmitter"), wt = /* @__PURE__ */ we("__disableEmitter"), vo = we("__setPluralRules"), yo = /* @__PURE__ */ we("__injectWithOption"), Jn = /* @__PURE__ */ we("__dispose"), be = {
4101
+ }, qn = /* @__PURE__ */ we("__translateVNode"), Xn = /* @__PURE__ */ we("__datetimeParts"), Qn = /* @__PURE__ */ we("__numberParts"), Ze = /* @__PURE__ */ we("__enableEmitter"), wt = /* @__PURE__ */ we("__disableEmitter"), vo = we("__setPluralRules"), yo = /* @__PURE__ */ we("__injectWithOption"), Jn = /* @__PURE__ */ we("__dispose"), Se = {
4102
4102
  FALLBACK_TO_ROOT: Rl,
4103
4103
  // 8
4104
4104
  NOT_FOUND_PARENT_SCOPE: 9,
@@ -4114,21 +4114,21 @@ const mc = {
4114
4114
  // duplicate `useI18n` calling
4115
4115
  DUPLICATE_USE_I18N_CALLING: 13
4116
4116
  }, hc = {
4117
- [be.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
4118
- [be.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
4119
- [be.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
4117
+ [Se.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
4118
+ [Se.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
4119
+ [Se.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
4120
4120
  /**
4121
4121
  * @deprecated will be removed at vue-i18n v12
4122
4122
  */
4123
- [be.DEPRECATE_LEGACY_MODE]: `Legacy API mode has been deprecated in v11. Use Composition API mode instead.
4123
+ [Se.DEPRECATE_LEGACY_MODE]: `Legacy API mode has been deprecated in v11. Use Composition API mode instead.
4124
4124
  About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guide/advanced/composition.html`,
4125
4125
  /**
4126
4126
  * @deprecated will be removed at vue-i18n v12
4127
4127
  */
4128
- [be.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
4129
- [be.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
4128
+ [Se.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
4129
+ [Se.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
4130
4130
  };
4131
- function dt(e, ...t) {
4131
+ function _t(e, ...t) {
4132
4132
  return Zt(hc[e], ...t);
4133
4133
  }
4134
4134
  function Dt(e) {
@@ -4145,7 +4145,7 @@ function Dt(e) {
4145
4145
  if (n[s] === "__proto__")
4146
4146
  throw new Error(`unsafe key: ${n[s]}`);
4147
4147
  if (n[s] in a || (a[n[s]] = X()), !H(a[n[s]])) {
4148
- process.env.NODE_ENV !== "production" && (dt(be.IGNORE_OBJ_FLATTEN, {
4148
+ process.env.NODE_ENV !== "production" && (_t(Se.IGNORE_OBJ_FLATTEN, {
4149
4149
  key: n[s]
4150
4150
  }), void 0), o = !0;
4151
4151
  break;
@@ -4201,7 +4201,7 @@ function Ao(e, t, n) {
4201
4201
  }
4202
4202
  }
4203
4203
  function Za(e) {
4204
- return b(Ho, null, e, 0);
4204
+ return S(Ho, null, e, 0);
4205
4205
  }
4206
4206
  const er = "__INTLIFY_META__", tr = () => [], gc = () => !1;
4207
4207
  let nr = 0;
@@ -4213,8 +4213,8 @@ const pc = /* @__NO_SIDE_EFFECTS__ */ () => {
4213
4213
  let t = null;
4214
4214
  return e && (t = To(e)[er]) ? { [er]: t } : null;
4215
4215
  };
4216
- function Sa(e = {}) {
4217
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, o = Ce ? Vo : Bo;
4216
+ function ba(e = {}) {
4217
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, a = e.flatJson, o = Ce ? xo : Bo;
4218
4218
  let s = K(e.inheritLocale) ? e.inheritLocale : !0;
4219
4219
  const l = o(
4220
4220
  // prettier-ignore
@@ -4223,25 +4223,25 @@ function Sa(e = {}) {
4223
4223
  // prettier-ignore
4224
4224
  t && s ? t.fallbackLocale.value : P(e.fallbackLocale) || ae(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
4225
4225
  ), c = o(Ea(l.value, e)), f = o(G(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), u = o(G(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
4226
- let _ = t ? t.missingWarn : K(e.missingWarn) || ut(e.missingWarn) ? e.missingWarn : !0, g = t ? t.fallbackWarn : K(e.fallbackWarn) || ut(e.fallbackWarn) ? e.fallbackWarn : !0, T = t ? t.fallbackRoot : K(e.fallbackRoot) ? e.fallbackRoot : !0, p = !!e.fallbackFormat, w = J(e.missing) ? e.missing : null, m = J(e.missing) ? ar(e.missing) : null, E = J(e.postTranslation) ? e.postTranslation : null, S = t ? t.warnHtmlMessage : K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
4226
+ let d = t ? t.missingWarn : K(e.missingWarn) || ut(e.missingWarn) ? e.missingWarn : !0, g = t ? t.fallbackWarn : K(e.fallbackWarn) || ut(e.fallbackWarn) ? e.fallbackWarn : !0, T = t ? t.fallbackRoot : K(e.fallbackRoot) ? e.fallbackRoot : !0, p = !!e.fallbackFormat, w = J(e.missing) ? e.missing : null, m = J(e.missing) ? ar(e.missing) : null, E = J(e.postTranslation) ? e.postTranslation : null, b = t ? t.warnHtmlMessage : K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
4227
4227
  const k = t ? t.modifiers : G(e.modifiers) ? e.modifiers : {};
4228
4228
  let R = e.pluralRules || t && t.pluralRules, A;
4229
4229
  A = (() => {
4230
4230
  r && Wa(null);
4231
4231
  const v = {
4232
- version: dc,
4232
+ version: _c,
4233
4233
  locale: l.value,
4234
4234
  fallbackLocale: i.value,
4235
4235
  messages: c.value,
4236
4236
  modifiers: k,
4237
4237
  pluralRules: R,
4238
4238
  missing: m === null ? void 0 : m,
4239
- missingWarn: _,
4239
+ missingWarn: d,
4240
4240
  fallbackWarn: g,
4241
4241
  fallbackFormat: p,
4242
4242
  unresolving: !0,
4243
4243
  postTranslation: E === null ? void 0 : E,
4244
- warnHtmlMessage: S,
4244
+ warnHtmlMessage: b,
4245
4245
  escapeParameter: y,
4246
4246
  messageResolver: e.messageResolver,
4247
4247
  messageCompiler: e.messageCompiler,
@@ -4265,7 +4265,7 @@ function Sa(e = {}) {
4265
4265
  set: (v) => {
4266
4266
  A.locale = v, l.value = v;
4267
4267
  }
4268
- }), _e = Et({
4268
+ }), de = Et({
4269
4269
  get: () => i.value,
4270
4270
  set: (v) => {
4271
4271
  A.fallbackLocale = v, i.value = v, vt(A, l.value, v);
@@ -4283,10 +4283,10 @@ function Sa(e = {}) {
4283
4283
  function fn(v) {
4284
4284
  v !== null && (m = ar(v)), w = v, A.missing = m;
4285
4285
  }
4286
- function dn(v, O) {
4286
+ function _n(v, O) {
4287
4287
  return v !== "translate" || !O.resolvedMessage;
4288
4288
  }
4289
- const De = (v, O, q, se, Ke, xt) => {
4289
+ const De = (v, O, q, se, Ke, Vt) => {
4290
4290
  Y();
4291
4291
  let tt;
4292
4292
  try {
@@ -4297,7 +4297,7 @@ function Sa(e = {}) {
4297
4297
  if (q !== "translate exists" && // for not `te` (e.g `t`)
4298
4298
  ie(tt) && tt === tn || q === "translate exists" && !tt) {
4299
4299
  const [je, Uo] = O();
4300
- if (process.env.NODE_ENV !== "production" && t && P(je) && dn(q, Uo) && (T && (nn(g, je) || _o(_, je)) && (dt(be.FALLBACK_TO_ROOT, {
4300
+ if (process.env.NODE_ENV !== "production" && t && P(je) && _n(q, Uo) && (T && (nn(g, je) || _o(d, je)) && (_t(Se.FALLBACK_TO_ROOT, {
4301
4301
  key: je,
4302
4302
  type: q
4303
4303
  }), void 0), process.env.NODE_ENV !== "production")) {
@@ -4311,7 +4311,7 @@ function Sa(e = {}) {
4311
4311
  }
4312
4312
  return t && T ? se(t) : Ke(je);
4313
4313
  } else {
4314
- if (xt(tt))
4314
+ if (Vt(tt))
4315
4315
  return tt;
4316
4316
  throw he(Z.UNEXPECTED_RETURN_TYPE);
4317
4317
  }
@@ -4319,7 +4319,7 @@ function Sa(e = {}) {
4319
4319
  function mt(...v) {
4320
4320
  return De((O) => Reflect.apply(za, null, [O, ...v]), () => Kn(...v), "translate", (O) => Reflect.apply(O.t, O, [...v]), (O) => O, (O) => P(O));
4321
4321
  }
4322
- function _n(...v) {
4322
+ function dn(...v) {
4323
4323
  const [O, q, se] = v;
4324
4324
  if (se && !H(se))
4325
4325
  throw he(Z.INVALID_ARGUMENT);
@@ -4357,24 +4357,24 @@ function Sa(e = {}) {
4357
4357
  function Ut(...v) {
4358
4358
  return De((O) => Reflect.apply(Ka, null, [O, ...v]), () => Yn(...v), "datetime format", (O) => O[Xn](...v), tr, (O) => P(O) || ae(O));
4359
4359
  }
4360
- function Sn(v) {
4360
+ function bn(v) {
4361
4361
  R = v, A.pluralRules = R;
4362
4362
  }
4363
- function bn(v, O) {
4363
+ function Sn(v, O) {
4364
4364
  return De(() => {
4365
4365
  if (!v)
4366
4366
  return !1;
4367
4367
  const q = P(O) ? O : l.value, se = He(q), Ke = A.messageResolver(se, v);
4368
- return ye(Ke) || Se(Ke) || P(Ke);
4368
+ return ye(Ke) || be(Ke) || P(Ke);
4369
4369
  }, () => [v], "translate exists", (q) => Reflect.apply(q.te, q, [v, O]), gc, (q) => K(q));
4370
4370
  }
4371
4371
  function ht(v) {
4372
4372
  let O = null;
4373
4373
  const q = so(A, i.value, l.value);
4374
4374
  for (let se = 0; se < q.length; se++) {
4375
- const Ke = c.value[q[se]] || {}, xt = A.messageResolver(Ke, v);
4376
- if (xt != null) {
4377
- O = xt;
4375
+ const Ke = c.value[q[se]] || {}, Vt = A.messageResolver(Ke, v);
4376
+ if (Vt != null) {
4377
+ O = Vt;
4378
4378
  break;
4379
4379
  }
4380
4380
  }
@@ -4404,7 +4404,7 @@ function Sa(e = {}) {
4404
4404
  Ae(q, se) && Dt(q[se]);
4405
4405
  O = q[v], Ht(O, c.value[v]), A.messages = c.value;
4406
4406
  }
4407
- function d(v) {
4407
+ function _(v) {
4408
4408
  return f.value[v] || {};
4409
4409
  }
4410
4410
  function h(v, O) {
@@ -4430,7 +4430,7 @@ function Sa(e = {}) {
4430
4430
  const j = {
4431
4431
  id: nr,
4432
4432
  locale: re,
4433
- fallbackLocale: _e,
4433
+ fallbackLocale: de,
4434
4434
  get inheritLocale() {
4435
4435
  return s;
4436
4436
  },
@@ -4451,10 +4451,10 @@ function Sa(e = {}) {
4451
4451
  return r;
4452
4452
  },
4453
4453
  get missingWarn() {
4454
- return _;
4454
+ return d;
4455
4455
  },
4456
4456
  set missingWarn(v) {
4457
- _ = v, A.missingWarn = _;
4457
+ d = v, A.missingWarn = d;
4458
4458
  },
4459
4459
  get fallbackWarn() {
4460
4460
  return g;
@@ -4475,10 +4475,10 @@ function Sa(e = {}) {
4475
4475
  p = v, A.fallbackFormat = p;
4476
4476
  },
4477
4477
  get warnHtmlMessage() {
4478
- return S;
4478
+ return b;
4479
4479
  },
4480
4480
  set warnHtmlMessage(v) {
4481
- S = v, A.warnHtmlMessage = v;
4481
+ b = v, A.warnHtmlMessage = v;
4482
4482
  },
4483
4483
  get escapeParameter() {
4484
4484
  return y;
@@ -4494,9 +4494,9 @@ function Sa(e = {}) {
4494
4494
  setPostTranslationHandler: cn,
4495
4495
  getMissingHandler: un,
4496
4496
  setMissingHandler: fn,
4497
- [vo]: Sn
4497
+ [vo]: bn
4498
4498
  };
4499
- return j.datetimeFormats = et, j.numberFormats = sn, j.rt = _n, j.te = bn, j.tm = gt, j.d = mn, j.n = hn, j.getDateTimeFormat = d, j.setDateTimeFormat = h, j.mergeDateTimeFormat = N, j.getNumberFormat = M, j.setNumberFormat = ne, j.mergeNumberFormat = oe, j[yo] = n, j[qn] = Mt, j[Xn] = Ut, j[Qn] = En, process.env.NODE_ENV !== "production" && (j[Ze] = (v) => {
4499
+ return j.datetimeFormats = et, j.numberFormats = sn, j.rt = dn, j.te = Sn, j.tm = gt, j.d = mn, j.n = hn, j.getDateTimeFormat = _, j.setDateTimeFormat = h, j.mergeDateTimeFormat = N, j.getNumberFormat = M, j.setNumberFormat = ne, j.mergeNumberFormat = oe, j[yo] = n, j[qn] = Mt, j[Xn] = Ut, j[Qn] = En, process.env.NODE_ENV !== "production" && (j[Ze] = (v) => {
4500
4500
  A.__v_emitter = v;
4501
4501
  }, j[wt] = () => {
4502
4502
  A.__v_emitter = void 0;
@@ -4508,11 +4508,11 @@ const No = "vue-i18n: composer properties", On = {
4508
4508
  "vue-i18n-timeline": "Vue I18n"
4509
4509
  }, Ec = {
4510
4510
  "vue-i18n-resource-inspector": "Search for scopes ..."
4511
- }, Sc = {
4511
+ }, bc = {
4512
4512
  "vue-i18n-timeline": 16764185
4513
4513
  };
4514
4514
  let zn;
4515
- async function bc(e, t) {
4515
+ async function Sc(e, t) {
4516
4516
  return new Promise((n, r) => {
4517
4517
  try {
4518
4518
  fc({
@@ -4555,7 +4555,7 @@ async function bc(e, t) {
4555
4555
  }), a.addTimelineLayer({
4556
4556
  id: "vue-i18n-timeline",
4557
4557
  label: On["vue-i18n-timeline"],
4558
- color: Sc["vue-i18n-timeline"]
4558
+ color: bc["vue-i18n-timeline"]
4559
4559
  }), n(!0);
4560
4560
  });
4561
4561
  } catch {
@@ -4603,7 +4603,7 @@ function rr(e, t) {
4603
4603
  type: n,
4604
4604
  key: "messages",
4605
4605
  editable: !1,
4606
- value: ba(t.messages.value)
4606
+ value: Sa(t.messages.value)
4607
4607
  }), e.state.push({
4608
4608
  type: n,
4609
4609
  key: "datetimeFormats",
@@ -4616,11 +4616,11 @@ function rr(e, t) {
4616
4616
  value: t.numberFormats.value
4617
4617
  });
4618
4618
  }
4619
- function ba(e) {
4619
+ function Sa(e) {
4620
4620
  const t = {};
4621
4621
  return Object.keys(e).forEach((n) => {
4622
4622
  const r = e[n];
4623
- J(r) && "source" in r ? t[n] = Nc(r) : ye(r) && r.loc && r.loc.source ? t[n] = r.loc.source : H(r) ? t[n] = ba(r) : t[n] = r;
4623
+ J(r) && "source" in r ? t[n] = Nc(r) : ye(r) && r.loc && r.loc.source ? t[n] = r.loc.source : H(r) ? t[n] = Sa(r) : t[n] = r;
4624
4624
  }), t;
4625
4625
  }
4626
4626
  const yc = {
@@ -4713,7 +4713,7 @@ function Lc(e) {
4713
4713
  type: a,
4714
4714
  key: "messages",
4715
4715
  editable: !1,
4716
- value: ba(e.messages.value)
4716
+ value: Sa(e.messages.value)
4717
4717
  }
4718
4718
  ];
4719
4719
  t[a] = o;
@@ -4763,7 +4763,7 @@ function wc(e, t) {
4763
4763
  }
4764
4764
  }
4765
4765
  function Dc(e) {
4766
- const t = P(e.locale) ? e.locale : Lt, n = P(e.fallbackLocale) || ae(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = J(e.missing) ? e.missing : void 0, a = K(e.silentTranslationWarn) || ut(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = K(e.silentFallbackWarn) || ut(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = K(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = G(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, f = J(e.postTranslation) ? e.postTranslation : void 0, u = P(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, _ = !!e.escapeParameterHtml, g = K(e.sync) ? e.sync : !0;
4766
+ const t = P(e.locale) ? e.locale : Lt, n = P(e.fallbackLocale) || ae(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, r = J(e.missing) ? e.missing : void 0, a = K(e.silentTranslationWarn) || ut(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, o = K(e.silentFallbackWarn) || ut(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, s = K(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = G(e.modifiers) ? e.modifiers : {}, c = e.pluralizationRules, f = J(e.postTranslation) ? e.postTranslation : void 0, u = P(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, d = !!e.escapeParameterHtml, g = K(e.sync) ? e.sync : !0;
4767
4767
  let T = e.messages;
4768
4768
  if (G(e.sharedMessages)) {
4769
4769
  const k = e.sharedMessages;
@@ -4772,14 +4772,14 @@ function Dc(e) {
4772
4772
  return ce(Y, k[B]), A;
4773
4773
  }, T || {});
4774
4774
  }
4775
- const { __i18n: p, __root: w, __injectWithOption: m } = e, E = e.datetimeFormats, S = e.numberFormats, y = e.flatJson;
4775
+ const { __i18n: p, __root: w, __injectWithOption: m } = e, E = e.datetimeFormats, b = e.numberFormats, y = e.flatJson;
4776
4776
  return {
4777
4777
  locale: t,
4778
4778
  fallbackLocale: n,
4779
4779
  messages: T,
4780
4780
  flatJson: y,
4781
4781
  datetimeFormats: E,
4782
- numberFormats: S,
4782
+ numberFormats: b,
4783
4783
  missing: r,
4784
4784
  missingWarn: a,
4785
4785
  fallbackWarn: o,
@@ -4789,7 +4789,7 @@ function Dc(e) {
4789
4789
  pluralRules: c,
4790
4790
  postTranslation: f,
4791
4791
  warnHtmlMessage: u,
4792
- escapeParameter: _,
4792
+ escapeParameter: d,
4793
4793
  messageResolver: e.messageResolver,
4794
4794
  inheritLocale: g,
4795
4795
  __i18n: p,
@@ -4798,7 +4798,7 @@ function Dc(e) {
4798
4798
  };
4799
4799
  }
4800
4800
  function Zn(e = {}) {
4801
- const t = Sa(Dc(e)), { __extender: n } = e, r = {
4801
+ const t = ba(Dc(e)), { __extender: n } = e, r = {
4802
4802
  // id
4803
4803
  id: t.id,
4804
4804
  // locale
@@ -5003,7 +5003,7 @@ function kc(e, t, n) {
5003
5003
  if (process.env.NODE_ENV !== "production" && this.$el && this.$i18n) {
5004
5004
  const r = this.$i18n;
5005
5005
  this.$el.__VUE_I18N__ = r.__composer;
5006
- const a = this.__v_emitter = _a();
5006
+ const a = this.__v_emitter = da();
5007
5007
  r.__enableEmitter && r.__enableEmitter(a), a.on("*", kt);
5008
5008
  }
5009
5009
  },
@@ -5091,12 +5091,12 @@ function Lo(e, t, n, r) {
5091
5091
  return () => {
5092
5092
  const s = { part: !0 };
5093
5093
  let l = X();
5094
- e.locale && (s.locale = e.locale), P(e.format) ? s.key = e.format : H(e.format) && (P(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((_, g) => n.includes(g) ? ce(X(), _, { [g]: e.format[g] }) : _, X()));
5094
+ e.locale && (s.locale = e.locale), P(e.format) ? s.key = e.format : H(e.format) && (P(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((d, g) => n.includes(g) ? ce(X(), d, { [g]: e.format[g] }) : d, X()));
5095
5095
  const i = r(e.value, s, l);
5096
5096
  let c = [s.key];
5097
- ae(i) ? c = i.map((_, g) => {
5098
- const T = a[_.type], p = T ? T({ [_.type]: _.value, index: g, parts: i }) : [_.value];
5099
- return Fc(p) && (p[0].key = `${_.type}-${g}`), p;
5097
+ ae(i) ? c = i.map((d, g) => {
5098
+ const T = a[d.type], p = T ? T({ [d.type]: d.value, index: g, parts: i }) : [d.value];
5099
+ return Fc(p) && (p[0].key = `${d.type}-${g}`), p;
5100
5100
  }) : P(i) && (c = [i]);
5101
5101
  const f = ce(X(), o), u = P(e.tag) || H(e.tag) ? e.tag : Io();
5102
5102
  return Ir(u, f, c);
@@ -5136,9 +5136,9 @@ function Uc(e, t) {
5136
5136
  return r != null ? r.__composer : e.global.__composer;
5137
5137
  }
5138
5138
  }
5139
- function xc(e) {
5139
+ function Vc(e) {
5140
5140
  const t = (s) => {
5141
- process.env.NODE_ENV !== "production" && ua(dt(be.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
5141
+ process.env.NODE_ENV !== "production" && ua(_t(Se.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
5142
5142
  const { instance: l, value: i } = s;
5143
5143
  if (!l || !l.$)
5144
5144
  throw he(Z.UNEXPECTED_ERROR);
@@ -5186,20 +5186,20 @@ function cr(e) {
5186
5186
  const { path: t, locale: n, args: r, choice: a, plural: o } = e, s = {}, l = r || {};
5187
5187
  return P(n) && (s.locale = n), ie(a) && (s.plural = a), ie(o) && (s.plural = o), [t, l, s];
5188
5188
  }
5189
- function Vc(e, t, ...n) {
5189
+ function xc(e, t, ...n) {
5190
5190
  const r = G(n[0]) ? n[0] : {};
5191
- (K(r.globalInstall) ? r.globalInstall : !0) && ([sr.name, "I18nT"].forEach((o) => e.component(o, sr)), [ir.name, "I18nN"].forEach((o) => e.component(o, ir)), [fr.name, "I18nD"].forEach((o) => e.component(o, fr))), e.directive("t", xc(t));
5191
+ (K(r.globalInstall) ? r.globalInstall : !0) && ([sr.name, "I18nT"].forEach((o) => e.component(o, sr)), [ir.name, "I18nN"].forEach((o) => e.component(o, ir)), [fr.name, "I18nD"].forEach((o) => e.component(o, fr))), e.directive("t", Vc(t));
5192
5192
  }
5193
5193
  const Bc = /* @__PURE__ */ we("global-vue-i18n");
5194
5194
  function Gc(e = {}) {
5195
5195
  const t = __VUE_I18N_LEGACY_API__ && K(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
5196
- process.env.NODE_ENV !== "production" && t && ua(dt(be.DEPRECATE_LEGACY_MODE));
5196
+ process.env.NODE_ENV !== "production" && t && ua(_t(Se.DEPRECATE_LEGACY_MODE));
5197
5197
  const n = K(e.globalInjection) ? e.globalInjection : !0, r = /* @__PURE__ */ new Map(), [a, o] = $c(e, t), s = /* @__PURE__ */ we(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
5198
5198
  function l(u) {
5199
5199
  return r.get(u) || null;
5200
5200
  }
5201
- function i(u, _) {
5202
- r.set(u, _);
5201
+ function i(u, d) {
5202
+ r.set(u, d);
5203
5203
  }
5204
5204
  function c(u) {
5205
5205
  r.delete(u);
@@ -5210,20 +5210,20 @@ function Gc(e = {}) {
5210
5210
  return __VUE_I18N_LEGACY_API__ && t ? "legacy" : "composition";
5211
5211
  },
5212
5212
  // install plugin
5213
- async install(u, ..._) {
5214
- if (process.env.NODE_ENV !== "production" && (u.__VUE_I18N__ = f), u.__VUE_I18N_SYMBOL__ = s, u.provide(u.__VUE_I18N_SYMBOL__, f), G(_[0])) {
5215
- const p = _[0];
5213
+ async install(u, ...d) {
5214
+ if (process.env.NODE_ENV !== "production" && (u.__VUE_I18N__ = f), u.__VUE_I18N_SYMBOL__ = s, u.provide(u.__VUE_I18N_SYMBOL__, f), G(d[0])) {
5215
+ const p = d[0];
5216
5216
  f.__composerExtend = p.__composerExtend, f.__vueI18nExtend = p.__vueI18nExtend;
5217
5217
  }
5218
5218
  let g = null;
5219
- !t && n && (g = Qc(u, f.global)), __VUE_I18N_FULL_INSTALL__ && Vc(u, f, ..._), __VUE_I18N_LEGACY_API__ && t && u.mixin(kc(o, o.__composer, f));
5219
+ !t && n && (g = Qc(u, f.global)), __VUE_I18N_FULL_INSTALL__ && xc(u, f, ...d), __VUE_I18N_LEGACY_API__ && t && u.mixin(kc(o, o.__composer, f));
5220
5220
  const T = u.unmount;
5221
5221
  if (u.unmount = () => {
5222
5222
  g && g(), f.dispose(), T();
5223
5223
  }, process.env.NODE_ENV !== "production") {
5224
- if (!await bc(u, f))
5224
+ if (!await Sc(u, f))
5225
5225
  throw he(Z.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
5226
- const w = _a();
5226
+ const w = da();
5227
5227
  if (t) {
5228
5228
  const m = o;
5229
5229
  m.__enableEmitter && m.__enableEmitter(w);
@@ -5263,19 +5263,19 @@ function ya(e = {}) {
5263
5263
  return Ao(r, e, a), r;
5264
5264
  if (o === "parent") {
5265
5265
  let i = Kc(n, t, e.__useComponent);
5266
- return i == null && (process.env.NODE_ENV !== "production" && (dt(be.NOT_FOUND_PARENT_SCOPE), void 0), i = r), i;
5266
+ return i == null && (process.env.NODE_ENV !== "production" && (_t(Se.NOT_FOUND_PARENT_SCOPE), void 0), i = r), i;
5267
5267
  }
5268
5268
  const s = n;
5269
5269
  let l = s.__getInstance(t);
5270
5270
  if (l == null) {
5271
5271
  const i = ce({}, e);
5272
- "__i18n" in a && (i.__i18n = a.__i18n), r && (i.__root = r), l = Sa(i), s.__composerExtend && (l[Jn] = s.__composerExtend(l)), qc(s, t, l), s.__setInstance(t, l);
5272
+ "__i18n" in a && (i.__i18n = a.__i18n), r && (i.__root = r), l = ba(i), s.__composerExtend && (l[Jn] = s.__composerExtend(l)), qc(s, t, l), s.__setInstance(t, l);
5273
5273
  } else
5274
- process.env.NODE_ENV !== "production" && o === "local" && (dt(be.DUPLICATE_USE_I18N_CALLING), void 0);
5274
+ process.env.NODE_ENV !== "production" && o === "local" && (_t(Se.DUPLICATE_USE_I18N_CALLING), void 0);
5275
5275
  return l;
5276
5276
  }
5277
5277
  function $c(e, t) {
5278
- const n = xo(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Zn(e)) : n.run(() => Sa(e));
5278
+ const n = Vo(), r = __VUE_I18N_LEGACY_API__ && t ? n.run(() => Zn(e)) : n.run(() => ba(e));
5279
5279
  if (r == null)
5280
5280
  throw he(Z.UNEXPECTED_ERROR);
5281
5281
  return [n, r];
@@ -5317,7 +5317,7 @@ function qc(e, t, n) {
5317
5317
  let r = null;
5318
5318
  Wo(() => {
5319
5319
  if (process.env.NODE_ENV !== "production" && t.vnode.el) {
5320
- t.vnode.el.__VUE_I18N__ = n, r = _a();
5320
+ t.vnode.el.__VUE_I18N__ = n, r = da();
5321
5321
  const a = n;
5322
5322
  a[Ze] && a[Ze](r), r.on("*", kt);
5323
5323
  }
@@ -5389,10 +5389,10 @@ const Jc = /* @__PURE__ */ ta({
5389
5389
  ));
5390
5390
  }
5391
5391
  }), fr = Jc;
5392
- _c();
5392
+ dc();
5393
5393
  Ul(hl);
5394
- xl(kl);
5395
- Vl(so);
5394
+ Vl(kl);
5395
+ xl(so);
5396
5396
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
5397
5397
  const e = Qe();
5398
5398
  e.__INTLIFY__ = !0, gl(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
@@ -5496,7 +5496,7 @@ const Ft = Le("cloudSdkLanguageStore", {
5496
5496
  this.languageName = e, I.localSet(at, e), Xe.locale.value = e;
5497
5497
  }
5498
5498
  }
5499
- }), dr = "__system:themes__", tu = "light", In = "__system:layoutSidebarState__", nu = "on", _r = "__system:layoutNavTabs__", au = "on", ru = "__system:layoutWatermark__", ou = "on";
5499
+ }), _r = "__system:themes__", tu = "light", In = "__system:layoutSidebarState__", nu = "on", dr = "__system:layoutNavTabs__", au = "on", ru = "__system:layoutWatermark__", ou = "on";
5500
5500
  function mr() {
5501
5501
  let e = typeof window < "u" && window.navigator.userAgent.toLowerCase();
5502
5502
  return `${e.match(/Chrome/i)}` == "chrome" ? "chrome" : `${e.match(/Webkit/i)}` == "webkit" ? "webkit" : null;
@@ -5507,7 +5507,7 @@ const Ge = Le("cloudSdkThemesStore", {
5507
5507
  /**
5508
5508
  * 上边切换卡
5509
5509
  */
5510
- layoutNavTabs: I.localGet(_r) || au,
5510
+ layoutNavTabs: I.localGet(dr) || au,
5511
5511
  /**
5512
5512
  * 左边侧栏
5513
5513
  */
@@ -5517,7 +5517,7 @@ const Ge = Le("cloudSdkThemesStore", {
5517
5517
  * auto|light|dark
5518
5518
  * 自动生成
5519
5519
  */
5520
- themesName: I.localGet(dr) || tu,
5520
+ themesName: I.localGet(_r) || tu,
5521
5521
  themesList: [
5522
5522
  { name: "跟随系统", value: "auto" },
5523
5523
  { name: "明亮", value: "light" },
@@ -5554,7 +5554,7 @@ const Ge = Le("cloudSdkThemesStore", {
5554
5554
  SA_LAYOUT_NAVTABS_SET(e) {
5555
5555
  pe.__POWERED_BY_QIANKUN__ && (e = "off"), this.layoutNavTabs = e;
5556
5556
  const t = document.querySelector("html");
5557
- t.classList.remove(e == "off" ? "openNavtabs" : "hideNavtabs"), t.classList.add(e == "on" ? "openNavtabs" : "hideNavtabs"), pe.__POWERED_BY_QIANKUN__ || I.localSet(_r, e);
5557
+ t.classList.remove(e == "off" ? "openNavtabs" : "hideNavtabs"), t.classList.add(e == "on" ? "openNavtabs" : "hideNavtabs"), pe.__POWERED_BY_QIANKUN__ || I.localSet(dr, e);
5558
5558
  },
5559
5559
  /**
5560
5560
  * 设置主题
@@ -5590,7 +5590,7 @@ const Ge = Le("cloudSdkThemesStore", {
5590
5590
  break;
5591
5591
  }
5592
5592
  const n = document.querySelector("html");
5593
- n.classList.remove(this.themesName == "dark" ? "light" : "dark"), n.classList.add(this.themesName), I.localSet(dr, this.themesName);
5593
+ n.classList.remove(this.themesName == "dark" ? "light" : "dark"), n.classList.add(this.themesName), I.localSet(_r, this.themesName);
5594
5594
  }
5595
5595
  }
5596
5596
  });
@@ -5726,14 +5726,14 @@ const gr = {
5726
5726
  };
5727
5727
  function fu(e, t) {
5728
5728
  e = parseInt(e);
5729
- let n = "提示", r = "程序异常,请检查网络或联系管理员";
5729
+ let n = "提示", r = "请检查网络或联系管理员";
5730
5730
  return gr[e] && (n = gr[e]), pr[e] && (r = pr[e]), {
5731
5731
  title: n,
5732
5732
  status: e,
5733
5733
  message: r
5734
5734
  };
5735
5735
  }
5736
- class du {
5736
+ class _u {
5737
5737
  constructor(t = {}) {
5738
5738
  this.flagMap = t.flagMap || {}, this.flagAuth = t.flagAuth || {}, this.flagCurr = "", this.baseURL = t.baseURL || "", this.baseMock = t.baseMock || "", this.requests = Object.assign({}, t.requests || {}), this.requestTemp = {}, this.headers = Object.assign({}, t.headers || {}), this.headerTemp = {}, this.configs = Object.assign({}, t.configs || {}), this.configTemp = {}, this.customs = Object.assign({}, t.customs || {}), this.customTemp = {}, this.encryptURL = t.encryptURL || [], this.encryptFlag = !1, this.retries = 3, this.debugState = t.debug || !1, this.requestHandle = null, this._initReqHandle(t);
5739
5739
  }
@@ -5896,9 +5896,9 @@ class du {
5896
5896
  let a = hr(n, this.baseURL);
5897
5897
  this.__encryp_parse(n);
5898
5898
  let o = this.__parse_method_type(t), s = this.flagAuth[this.flagCurr] || null, l = {};
5899
- s && (l = s.split(",").reduce((_, g) => {
5899
+ s && (l = s.split(",").reduce((d, g) => {
5900
5900
  const [T, p] = g.split("=");
5901
- return _[T] = p, _;
5901
+ return d[T] = p, d;
5902
5902
  }, {}));
5903
5903
  let i = Object.assign({}, this.headers, this.headerTemp, {}), c = Object.assign({}, this.requests, this.requestTemp, r || {}), f = Object.assign({}, this.configs, this.configTemp, {}), u = Object.assign({}, this.customs, this.customTemp, {
5904
5904
  flag: this.flagCurr,
@@ -5920,17 +5920,14 @@ class du {
5920
5920
  });
5921
5921
  if (o != "DOWNLOAD") if (o == "MOCK")
5922
5922
  try {
5923
- let _ = n.includes(".json") ? `${n}` : `${n}.json`, g = hr(_, this.baseMock + "/");
5924
- const T = await fetch(g);
5925
- responseInfo.statusCode = T.status, responseInfo.errMsg = "request:ok";
5926
- const p = await T.json();
5927
- responseInfo.data = p;
5928
- } catch (_) {
5929
- let g = _.message;
5930
- g.includes("Unexpected token") && g.includes("is not valid JSON") && (responseInfo.data = {
5931
- code: 200,
5932
- data: {}
5923
+ let d = n.includes(".json") ? `${n}` : `${n}.json`, g = hr(d, this.baseMock + "/");
5924
+ return await this.requestHandle.get(g, {
5925
+ baseURL: ""
5926
+ // 这里会覆盖全局配置,让 URL 基于当前页面域名拼接
5933
5927
  });
5928
+ } catch (d) {
5929
+ let g = d.message;
5930
+ g.includes("Unexpected token") && g.includes("is not valid JSON");
5934
5931
  }
5935
5932
  else
5936
5933
  return ["GET", "POST", "PUT", "PATCH", "DELETE"].includes(o) ? this.requestHandle.request({
@@ -6063,8 +6060,8 @@ class du {
6063
6060
  if (f === "[object String]" || f === "[object Number]") {
6064
6061
  let u = String(c).trim();
6065
6062
  if (/^\d+$/.test(u) && (s.endsWith("/") || (s += "/"), s += u), o == 3) {
6066
- let _ = r[2];
6067
- Object.prototype.toString.call(_) === "[object Object]" && (i = _ || {});
6063
+ let d = r[2];
6064
+ Object.prototype.toString.call(d) === "[object Object]" && (i = d || {});
6068
6065
  }
6069
6066
  } else f === "[object Object]" ? i = c || {} : f === "[object FormData]" && (i = c || new FormData());
6070
6067
  return a.apiAll(n, s, i);
@@ -6072,7 +6069,7 @@ class du {
6072
6069
  return new Promise((i, c) => c({ message: " 请求错误 " }));
6073
6070
  }
6074
6071
  }
6075
- const _u = Le("cloudSdkCommonStore", {
6072
+ const du = Le("cloudSdkCommonStore", {
6076
6073
  state: () => ({
6077
6074
  loginBaseShow: !1,
6078
6075
  // 控制是否打开登录弹窗
@@ -6137,7 +6134,7 @@ function pu(e) {
6137
6134
  let Pe = null;
6138
6135
  function Po(e = {}) {
6139
6136
  const t = Jt();
6140
- Pe = new du({
6137
+ Pe = new _u({
6141
6138
  // timeout: 60 * 1000, // 请求超时时间毫秒
6142
6139
  // withCredentials: true, // true|false 异步请求携带cookie(Check cross-site Access-Control)
6143
6140
  baseURL: t.syApiBaseUrl || "",
@@ -6174,7 +6171,7 @@ function Po(e = {}) {
6174
6171
  e && (n = e.ApiFlagSet || {}, r = e.ApiAuthSet || {});
6175
6172
  let a = Object.assign({}, mu, n, t.syOpenApiFlag), o = Object.assign({}, hu, r, t.syOpenApiAuth);
6176
6173
  Pe.setApiFlag(a), Pe.setApiAuth(o);
6177
- const s = _u(), l = Te();
6174
+ const s = du(), l = Te();
6178
6175
  return Pe.interceptors.request.use(
6179
6176
  (i) => {
6180
6177
  const c = i.customs || {};
@@ -6188,8 +6185,8 @@ function Po(e = {}) {
6188
6185
  (i) => Promise.reject(i)
6189
6186
  ), Pe.interceptors.response.use(
6190
6187
  (i) => {
6191
- var _;
6192
- s.SA_LOADING_SHOW(!1), (_ = i.config) != null && _.customs;
6188
+ var d;
6189
+ s.SA_LOADING_SHOW(!1), (d = i.config) != null && d.customs;
6193
6190
  let c = i.status || -1, f = i.data || {}, u = f.status || f.code || -1;
6194
6191
  if (u = parseInt(u), f.msg || f.message, c != 200)
6195
6192
  return Promise.reject(i);
@@ -6198,19 +6195,19 @@ function Po(e = {}) {
6198
6195
  throw { message: "请求出错,稍后重试" };
6199
6196
  },
6200
6197
  (i) => {
6201
- var m, E, S, y, k, R, A, B, Y, re, _e, ee;
6202
- let c = ((m = i == null ? void 0 : i.response) == null ? void 0 : m.status) || i.status || -1, f = (i == null ? void 0 : i.code) || "", u = i.message || ((S = (E = i == null ? void 0 : i.response) == null ? void 0 : E.data) == null ? void 0 : S.message) || ((y = i == null ? void 0 : i.response) == null ? void 0 : y.statusText) || "";
6198
+ var m, E, b, y, k, R, A, B, Y, re, de, ee;
6199
+ let c = ((m = i == null ? void 0 : i.response) == null ? void 0 : m.status) || i.status || -1, f = (i == null ? void 0 : i.code) || "", u = i.message || ((b = (E = i == null ? void 0 : i.response) == null ? void 0 : E.data) == null ? void 0 : b.message) || ((y = i == null ? void 0 : i.response) == null ? void 0 : y.statusText) || "";
6203
6200
  c == -1 && (u.includes("timeout") || f.includes("ECONNABORTED") ? c = 504 : u.includes("Network Error") ? c = 408 : u.includes("Not Found") && (c = 404));
6204
- let _ = ((R = (k = i == null ? void 0 : i.response) == null ? void 0 : k.data) == null ? void 0 : R.errorCode) || -1, g = ((B = (A = i == null ? void 0 : i.response) == null ? void 0 : A.data) == null ? void 0 : B.errorMessage) || ((re = (Y = i == null ? void 0 : i.response) == null ? void 0 : Y.data) == null ? void 0 : re.message), T = ((ee = (_e = i == null ? void 0 : i.config) == null ? void 0 : _e.customs) == null ? void 0 : ee.flag) || "", p = fu(c), w = {
6201
+ let d = ((R = (k = i == null ? void 0 : i.response) == null ? void 0 : k.data) == null ? void 0 : R.errorCode) || -1, g = ((B = (A = i == null ? void 0 : i.response) == null ? void 0 : A.data) == null ? void 0 : B.errorMessage) || ((re = (Y = i == null ? void 0 : i.response) == null ? void 0 : Y.data) == null ? void 0 : re.message), T = ((ee = (de = i == null ? void 0 : i.config) == null ? void 0 : de.customs) == null ? void 0 : ee.flag) || "", p = fu(c), w = {
6205
6202
  type: "error",
6206
6203
  title: p.title,
6207
6204
  message: p.message,
6208
6205
  status: c,
6209
- code: _,
6206
+ code: d,
6210
6207
  error: g || u,
6211
6208
  flag: T
6212
6209
  };
6213
- return (c == 400 || c == 422) && (_ == 400 || _ == 422 || _.toString().startsWith("400")) && (w.message = g || p.message), pu(w), Promise.reject(w);
6210
+ return (c == 400 || c == 422) && (d == 400 || d == 422 || d.toString().startsWith("400")) && (w.message = g || p.message), pu(w), Promise.reject(w);
6214
6211
  }
6215
6212
  ), Pe;
6216
6213
  }
@@ -6229,7 +6226,7 @@ const ue = new Proxy(
6229
6226
  function ea(e) {
6230
6227
  return typeof e == "string" && e.trim() !== "" && e !== "undefined";
6231
6228
  }
6232
- const xe = "syCacheAppInfo", Ve = "syCacheAppToken", yt = "syCacheAppJwt", ot = "syCacheAppRbac", Er = {
6229
+ const Ve = "syCacheAppInfo", xe = "syCacheAppToken", yt = "syCacheAppJwt", ot = "syCacheAppRbac", Er = {
6233
6230
  nickname: "",
6234
6231
  staff_nickname: "",
6235
6232
  id: 0,
@@ -6250,7 +6247,7 @@ const xe = "syCacheAppInfo", Ve = "syCacheAppToken", yt = "syCacheAppJwt", ot =
6250
6247
  account_avatar_cdn: "https://10ui.cn/default/avatar/avatar4.jpg",
6251
6248
  business_name: ""
6252
6249
  };
6253
- function Su(e) {
6250
+ function bu(e) {
6254
6251
  return Math.floor(Date.now() / 1e3) >= e;
6255
6252
  }
6256
6253
  const Te = Le("cloudSdkAccountStore", {
@@ -6260,8 +6257,8 @@ const Te = Le("cloudSdkAccountStore", {
6260
6257
  // 权限
6261
6258
  accountRbacData: [],
6262
6259
  // 账号信息
6263
- accountInfo: I.localGet(xe) || {},
6264
- accountToken: I.localGet(Ve) || "",
6260
+ accountInfo: I.localGet(Ve) || {},
6261
+ accountToken: I.localGet(xe) || "",
6265
6262
  accountJwt: I.localGet(yt) || ""
6266
6263
  }),
6267
6264
  getters: {
@@ -6280,7 +6277,7 @@ const Te = Le("cloudSdkAccountStore", {
6280
6277
  accountIsLogin: (e) => {
6281
6278
  var n;
6282
6279
  const t = ((n = e == null ? void 0 : e.accountInfo) == null ? void 0 : n.token_time) || 0;
6283
- return !!(ea(e.accountToken) && !Su(t));
6280
+ return !!(ea(e.accountToken) && !bu(t));
6284
6281
  },
6285
6282
  // identity 身份
6286
6283
  accountRole: (e) => {
@@ -6301,7 +6298,7 @@ const Te = Le("cloudSdkAccountStore", {
6301
6298
  I.localDel(ot), this.ACCOUNT_SET_PREV();
6302
6299
  },
6303
6300
  SA_ACCOUNT_IS_LOGGED() {
6304
- return this.accountToken = I.localGet(Ve) || "", !!ea(this.accountToken);
6301
+ return this.accountToken = I.localGet(xe) || "", !!ea(this.accountToken);
6305
6302
  },
6306
6303
  SA_ACCOUNT_JWT_GET() {
6307
6304
  return this.accountJwt || "";
@@ -6311,7 +6308,7 @@ const Te = Le("cloudSdkAccountStore", {
6311
6308
  return this.accountToken || "";
6312
6309
  },
6313
6310
  SA_ACCOUNT_TOKEN_SET(e) {
6314
- this.accountToken = e, I.localSet(Ve, this.accountToken);
6311
+ this.accountToken = e, I.localSet(xe, this.accountToken);
6315
6312
  },
6316
6313
  SA_ACCOUNT_CHECK_EXPIRED(e) {
6317
6314
  var r;
@@ -6324,7 +6321,7 @@ const Te = Le("cloudSdkAccountStore", {
6324
6321
  * @returns Object
6325
6322
  */
6326
6323
  SA_ACCOUNT_INFO_GET() {
6327
- return I.localGet(xe);
6324
+ return I.localGet(Ve);
6328
6325
  },
6329
6326
  SA_ACCOUNT_INFO_REFRESH() {
6330
6327
  return new Promise((e, t) => {
@@ -6346,28 +6343,28 @@ const Te = Le("cloudSdkAccountStore", {
6346
6343
  SA_ACCOUNT_INFO_SET(e) {
6347
6344
  return new Promise(async (t) => {
6348
6345
  const n = JSON.parse(JSON.stringify(e));
6349
- this.accountInfo = this.SA_ACCOUNT_INFO_PARSE(n), this.accountToken = n.token_access, await I.idbSetItem(xe, n), I.localSet(xe, this.accountInfo), t();
6346
+ this.accountInfo = this.SA_ACCOUNT_INFO_PARSE(n), this.accountToken = n.token_access, await I.idbSetItem(Ve, n), I.localSet(Ve, this.accountInfo), t();
6350
6347
  });
6351
6348
  },
6352
6349
  SA_ACCOUNT_GET_NICK() {
6353
6350
  return this.account_nick;
6354
6351
  },
6355
6352
  SA_ACCOUNT_REFRESH() {
6356
- this.accountInfo = I.localGet(xe) || Er, this.accountToken = I.localGet(Ve) || "", this.accountJwt = I.localGet(yt) || "", ue.setDefHeaders({
6353
+ this.accountInfo = I.localGet(Ve) || Er, this.accountToken = I.localGet(xe) || "", this.accountJwt = I.localGet(yt) || "", ue.setDefHeaders({
6357
6354
  syOpenAppToken: this.accountToken || "",
6358
6355
  Authorization: "Bearer " + this.accountJwt || ""
6359
6356
  });
6360
6357
  },
6361
6358
  // 登录
6362
6359
  async SA_ACCOUNT_SIGNIN(e) {
6363
- e = this.SA_ACCOUNT_INFO_PARSE(e), I.localSet(xe, e), I.localSet(Ve, e.token_access || ""), I.localSet(yt, e.token_jwt || ""), I.localSet(ot, ""), I.idbSave(Ve, e.token_access || ""), await this.SA_ACCOUNT_REFRESH(), await this.SA_ACCOUNT_RBAC_REFRESH(!0), Ct().QK_SEND_LOGIN_MSG();
6360
+ e = this.SA_ACCOUNT_INFO_PARSE(e), I.localSet(Ve, e), I.localSet(xe, e.token_access || ""), I.localSet(yt, e.token_jwt || ""), I.localSet(ot, ""), I.idbSave(xe, e.token_access || ""), await this.SA_ACCOUNT_REFRESH(), await this.SA_ACCOUNT_RBAC_REFRESH(!0), Ct().QK_SEND_LOGIN_MSG();
6364
6361
  },
6365
6362
  /**
6366
6363
  * 退出登录(打开登录页面)
6367
6364
  * @param appendFrom
6368
6365
  */
6369
6366
  async SA_ACCOUNT_LOGOUT(e) {
6370
- this.ACCOUNT_SET_PREV(), I.sessionClear(), I.localSet(xe, ""), I.localSet(Ve, ""), I.localSet(yt, ""), I.localSet(ot, ""), I.localDel(xe), I.localDel(Ve), I.localDel(yt), I.localDel(ot), this.SA_ACCOUNT_REFRESH(), Ct().QK_SEND_LOGOUT_MSG();
6367
+ this.ACCOUNT_SET_PREV(), I.sessionClear(), I.localSet(Ve, ""), I.localSet(xe, ""), I.localSet(yt, ""), I.localSet(ot, ""), I.localDel(Ve), I.localDel(xe), I.localDel(yt), I.localDel(ot), this.SA_ACCOUNT_REFRESH(), Ct().QK_SEND_LOGOUT_MSG();
6371
6368
  },
6372
6369
  /**
6373
6370
  * @param {Boolean} isForce 是否强制刷新
@@ -6383,7 +6380,7 @@ const Te = Le("cloudSdkAccountStore", {
6383
6380
  ACCOUNT_SET_PREV() {
6384
6381
  }
6385
6382
  }
6386
- }), Tt = "__system:keyboardConf__", wn = "__syCacheApiFlag__", Dn = "__syCacheApiAuth__", Sr = "__syCacheApiCode__", br = "__syCacheApiKey__", kn = "__syCacheSdkConfig__", Rn = "__syCacheSystemConfig__", vr = "cacheClientId", yr = "cacheClientVersion", an = Le("cloudSdkSystemStore", {
6383
+ }), Tt = "__system:keyboardConf__", wn = "__syCacheApiFlag__", Dn = "__syCacheApiAuth__", br = "__syCacheApiCode__", Sr = "__syCacheApiKey__", kn = "__syCacheSdkConfig__", Rn = "__syCacheSystemConfig__", vr = "cacheClientId", yr = "cacheClientVersion", an = Le("cloudSdkSystemStore", {
6387
6384
  state: () => ({
6388
6385
  // ServerUrl
6389
6386
  cacheServerUrl: "",
@@ -6458,17 +6455,17 @@ const Te = Le("cloudSdkAccountStore", {
6458
6455
  }), await ue.appendApiAuth(e);
6459
6456
  },
6460
6457
  async __load_api_code() {
6461
- let e = await I.idbGetItem(Sr);
6458
+ let e = await I.idbGetItem(br);
6462
6459
  e || await ue.flagGet("BASE_LOAD_COMMON_API_CODE", {}).then((t) => {
6463
- e = t.data || {}, I.idbSetItem(Sr, e);
6460
+ e = t.data || {}, I.idbSetItem(br, e);
6464
6461
  });
6465
6462
  },
6466
6463
  async __load_api_key() {
6467
6464
  let e = await I.idbGetString(vr);
6468
- e || (e = cvUtils.randomString(6), await I.idbSetItem(vr, e)), this.cacheClientId = e, this.apiKeyData = await I.idbGetItem(br), this.apiKeyData || await ue.setOptions({ encrypt: !1 }).flagGet("BASE_ACCSYS_COMMON_KEYCLIENT", {
6465
+ e || (e = cvUtils.randomString(6), await I.idbSetItem(vr, e)), this.cacheClientId = e, this.apiKeyData = await I.idbGetItem(Sr), this.apiKeyData || await ue.setOptions({ encrypt: !1 }).flagGet("BASE_ACCSYS_COMMON_KEYCLIENT", {
6469
6466
  client_id: e
6470
6467
  }).then(({ data: t }) => {
6471
- this.apiKeyData = t, I.idbSetItem(br, this.apiKeyData);
6468
+ this.apiKeyData = t, I.idbSetItem(Sr, this.apiKeyData);
6472
6469
  });
6473
6470
  },
6474
6471
  /**
@@ -6544,7 +6541,7 @@ function Fo(e, t) {
6544
6541
  name: r
6545
6542
  };
6546
6543
  }
6547
- const bu = {}, vu = bu, yu = vu.VITE_SY_PRODUCT_SIGN;
6544
+ const Su = {}, vu = Su, yu = vu.VITE_SY_PRODUCT_SIGN;
6548
6545
  function Mo(e) {
6549
6546
  let t = Object.prototype.toString.call(e);
6550
6547
  if (t != "[object String]" && t != "[object Array]")
@@ -6625,7 +6622,7 @@ const rn = Le("cloudSdkProductStore", {
6625
6622
  isAlone: !0,
6626
6623
  name: "login",
6627
6624
  path: "/login",
6628
- component: () => import("./login-1tlYEiXY.js")
6625
+ component: () => import("./login-CLxZ-SbY.js")
6629
6626
  }
6630
6627
  ], Au = [
6631
6628
  {
@@ -6633,14 +6630,14 @@ const rn = Le("cloudSdkProductStore", {
6633
6630
  isAlone: !0,
6634
6631
  name: "alone_run",
6635
6632
  path: "/alone_run",
6636
- component: () => import("./alone_run-D6iWzaJ1.js")
6633
+ component: () => import("./alone_run-DM0g1Rfb.js")
6637
6634
  },
6638
6635
  {
6639
6636
  meta: { title: "错误", isAlone: !0 },
6640
6637
  isAlone: !0,
6641
6638
  name: "404",
6642
6639
  path: "/:catchAll(.*)",
6643
- component: () => import("./404-BzS1uV1B.js")
6640
+ component: () => import("./404-B9GU-b7N.js")
6644
6641
  }
6645
6642
  ], Nu = [
6646
6643
  {
@@ -6648,7 +6645,7 @@ const rn = Le("cloudSdkProductStore", {
6648
6645
  isAlone: !1,
6649
6646
  name: "none",
6650
6647
  path: "/none",
6651
- component: () => import("./none-CX-nyJTn.js")
6648
+ component: () => import("./none-CaMalHPX.js")
6652
6649
  }
6653
6650
  ], on = Le("cloudSdkPermissionStore", {
6654
6651
  state: () => ({
@@ -6734,13 +6731,13 @@ const Ou = Le("cloudSdkApplicationStore", {
6734
6731
  const c = r.PLAT_BRAND || (o == null ? void 0 : o.PLAT_BRAND), f = r.PLAT_LOGO_CDN || o.PLAT_LOGO_CDN;
6735
6732
  f && Cu(f);
6736
6733
  const u = l || "十云";
6737
- let _ = "";
6738
- return a == "org-business" && (_ = r.BIZS_LOGIN_BG || o.platinfo_login_bg), {
6734
+ let d = "";
6735
+ return a == "org-business" && (d = r.BIZS_LOGIN_BG || o.platinfo_login_bg), {
6739
6736
  LAST_IP_LOGO: f,
6740
6737
  LAST_IP_TITLE: i,
6741
6738
  LAST_IP_TYPE: u,
6742
6739
  LAST_IP_BRAND: c || i,
6743
- LAST_IP_LOGIN_BG: _
6740
+ LAST_IP_LOGIN_BG: d
6744
6741
  };
6745
6742
  }
6746
6743
  },
@@ -6854,7 +6851,7 @@ const ge = (e, t) => {
6854
6851
  }
6855
6852
  }, Du = { class: "cloud-sett-drawer-body" }, ku = { class: "cloud-sett-drawer-skin" };
6856
6853
  function Ru(e, t, n, r, a, o) {
6857
- const s = L("el-card"), l = L("el-form-item"), i = L("el-option"), c = L("el-select"), f = L("cv-icons"), u = L("el-button"), _ = L("el-switch"), g = L("el-form"), T = L("el-drawer");
6854
+ const s = L("el-card"), l = L("el-form-item"), i = L("el-option"), c = L("el-select"), f = L("cv-icons"), u = L("el-button"), d = L("el-switch"), g = L("el-form"), T = L("el-drawer");
6858
6855
  return F(), $(T, {
6859
6856
  title: "系统设置",
6860
6857
  modelValue: a.localVal,
@@ -6865,27 +6862,27 @@ function Ru(e, t, n, r, a, o) {
6865
6862
  }, {
6866
6863
  default: C(() => [
6867
6864
  D("div", Du, [
6868
- b(g, {
6865
+ S(g, {
6869
6866
  labelWidth: "auto",
6870
6867
  "label-position": "left"
6871
6868
  }, {
6872
6869
  default: C(() => [
6873
- b(l, {
6870
+ S(l, {
6874
6871
  label: "风格",
6875
6872
  "label-position": "top"
6876
6873
  }, {
6877
6874
  default: C(() => [
6878
6875
  D("div", ku, [
6879
- b(s),
6880
- b(s),
6881
- b(s)
6876
+ S(s),
6877
+ S(s),
6878
+ S(s)
6882
6879
  ])
6883
6880
  ]),
6884
6881
  _: 1
6885
6882
  }),
6886
- b(l, { label: "主题" }, {
6883
+ S(l, { label: "主题" }, {
6887
6884
  default: C(() => [
6888
- b(c, {
6885
+ S(c, {
6889
6886
  modelValue: a.frameSysTheme,
6890
6887
  "onUpdate:modelValue": t[0] || (t[0] = (p) => a.frameSysTheme = p),
6891
6888
  placeholder: e.$t("选项主题"),
@@ -6898,7 +6895,7 @@ function Ru(e, t, n, r, a, o) {
6898
6895
  key: w
6899
6896
  }, {
6900
6897
  default: C(() => [
6901
- V(z(e.$t(p.name)), 1)
6898
+ x(z(e.$t(p.name)), 1)
6902
6899
  ]),
6903
6900
  _: 2
6904
6901
  }, 1032, ["label", "value"]))), 128))
@@ -6908,7 +6905,7 @@ function Ru(e, t, n, r, a, o) {
6908
6905
  ]),
6909
6906
  _: 1
6910
6907
  }),
6911
- b(l, { label: "暗黑模式" }, {
6908
+ S(l, { label: "暗黑模式" }, {
6912
6909
  default: C(() => [
6913
6910
  a.frameSysTheme == "light" ? (F(), $(u, {
6914
6911
  key: 0,
@@ -6916,7 +6913,7 @@ function Ru(e, t, n, r, a, o) {
6916
6913
  class: "light-switch"
6917
6914
  }, {
6918
6915
  default: C(() => [
6919
- b(f, { type: "cvSvgViewModeDark" })
6916
+ S(f, { type: "cvSvgViewModeDark" })
6920
6917
  ]),
6921
6918
  _: 1
6922
6919
  })) : te("", !0),
@@ -6926,16 +6923,16 @@ function Ru(e, t, n, r, a, o) {
6926
6923
  class: "dark-switch"
6927
6924
  }, {
6928
6925
  default: C(() => [
6929
- b(f, { type: "cvSvgViewModeLight" })
6926
+ S(f, { type: "cvSvgViewModeLight" })
6930
6927
  ]),
6931
6928
  _: 1
6932
6929
  })) : te("", !0)
6933
6930
  ]),
6934
6931
  _: 1
6935
6932
  }),
6936
- b(l, { label: "侧栏显示" }, {
6933
+ S(l, { label: "侧栏显示" }, {
6937
6934
  default: C(() => [
6938
- b(_, {
6935
+ S(d, {
6939
6936
  modelValue: a.frameSidebarState,
6940
6937
  "onUpdate:modelValue": t[3] || (t[3] = (p) => a.frameSidebarState = p),
6941
6938
  "active-text": "显示",
@@ -6946,9 +6943,9 @@ function Ru(e, t, n, r, a, o) {
6946
6943
  ]),
6947
6944
  _: 1
6948
6945
  }),
6949
- b(l, { label: "导航标签栏" }, {
6946
+ S(l, { label: "导航标签栏" }, {
6950
6947
  default: C(() => [
6951
- b(_, {
6948
+ S(d, {
6952
6949
  modelValue: a.frameSysNavTabs,
6953
6950
  "onUpdate:modelValue": t[4] || (t[4] = (p) => a.frameSysNavTabs = p),
6954
6951
  "active-text": "显示",
@@ -6959,9 +6956,9 @@ function Ru(e, t, n, r, a, o) {
6959
6956
  ]),
6960
6957
  _: 1
6961
6958
  }),
6962
- b(l, { label: "语言" }, {
6959
+ S(l, { label: "语言" }, {
6963
6960
  default: C(() => [
6964
- b(c, {
6961
+ S(c, {
6965
6962
  modelValue: a.frameSysLanguage,
6966
6963
  "onUpdate:modelValue": t[5] || (t[5] = (p) => a.frameSysLanguage = p),
6967
6964
  placeholder: e.$t("选项语言"),
@@ -6973,7 +6970,7 @@ function Ru(e, t, n, r, a, o) {
6973
6970
  value: p.value
6974
6971
  }, {
6975
6972
  default: C(() => [
6976
- V(z(p.label), 1)
6973
+ x(z(p.label), 1)
6977
6974
  ]),
6978
6975
  _: 2
6979
6976
  }, 1032, ["label", "value"]))), 256))
@@ -6983,22 +6980,22 @@ function Ru(e, t, n, r, a, o) {
6983
6980
  ]),
6984
6981
  _: 1
6985
6982
  }),
6986
- b(l, { label: "版本" }, {
6983
+ S(l, { label: "版本" }, {
6987
6984
  default: C(() => [
6988
- b(u, { onClick: o.frameUpdateVersion }, {
6985
+ S(u, { onClick: o.frameUpdateVersion }, {
6989
6986
  default: C(() => [
6990
- V(z(e.$t("更新版本")), 1)
6987
+ x(z(e.$t("更新版本")), 1)
6991
6988
  ]),
6992
6989
  _: 1
6993
6990
  }, 8, ["onClick"])
6994
6991
  ]),
6995
6992
  _: 1
6996
6993
  }),
6997
- b(l, { label: "缓存" }, {
6994
+ S(l, { label: "缓存" }, {
6998
6995
  default: C(() => [
6999
- b(u, { onClick: o.frameClearCache }, {
6996
+ S(u, { onClick: o.frameClearCache }, {
7000
6997
  default: C(() => [
7001
- V(z(e.$t("清除缓存")), 1)
6998
+ x(z(e.$t("清除缓存")), 1)
7002
6999
  ]),
7003
7000
  _: 1
7004
7001
  }, 8, ["onClick"])
@@ -7039,7 +7036,7 @@ function Mu(e, t, n, r, a, o) {
7039
7036
  const s = L("router-view");
7040
7037
  return F(), $(s, { key: a.routeRefreshNum }, {
7041
7038
  default: C(({ Component: l, route: i }) => [
7042
- b(Ko, {
7039
+ S(Ko, {
7043
7040
  name: a.routeRefreshAnimation,
7044
7041
  mode: "out-in",
7045
7042
  appear: ""
@@ -7058,7 +7055,7 @@ function Mu(e, t, n, r, a, o) {
7058
7055
  _: 1
7059
7056
  });
7060
7057
  }
7061
- const Uu = /* @__PURE__ */ ge(Fu, [["render", Mu]]), Nr = (e) => Math.pow(e, 3), xu = (e) => e < 0.5 ? Nr(e * 2) / 2 : 1 - Nr((1 - e) * 2) / 2, Vu = {
7058
+ const Uu = /* @__PURE__ */ ge(Fu, [["render", Mu]]), Nr = (e) => Math.pow(e, 3), Vu = (e) => e < 0.5 ? Nr(e * 2) / 2 : 1 - Nr((1 - e) * 2) / 2, xu = {
7062
7059
  name: "SameNavTabs",
7063
7060
  data() {
7064
7061
  return {
@@ -7108,7 +7105,7 @@ const Uu = /* @__PURE__ */ ge(Fu, [["render", Mu]]), Nr = (e) => Math.pow(e, 3),
7108
7105
  changeGdtBase() {
7109
7106
  const e = this.$refs.navScroll1.wrap, t = Date.now(), n = e.scrollLeft, r = window.requestAnimationFrame || ((o) => setTimeout(o, 16)), a = () => {
7110
7107
  const o = (Date.now() - t) / 500;
7111
- o < 1 ? (e.scrollLeft = n * (1 - xu(o)), r(a)) : e.scrollLeft = 0;
7108
+ o < 1 ? (e.scrollLeft = n * (1 - Vu(o)), r(a)) : e.scrollLeft = 0;
7112
7109
  };
7113
7110
  r(a);
7114
7111
  },
@@ -7185,31 +7182,31 @@ function Yu(e, t, n, r, a, o) {
7185
7182
  const s = L("cv-icons"), l = L("cv-btn-base"), i = L("el-tag"), c = L("el-scrollbar"), f = L("cv-btn-text");
7186
7183
  return F(), W("div", Bu, [
7187
7184
  D("div", Gu, [
7188
- b(l, {
7185
+ S(l, {
7189
7186
  class: "btn-opt-left",
7190
7187
  onClick: o.changeGdtLeft
7191
7188
  }, {
7192
7189
  default: C(() => [
7193
- b(s, { type: "ElIconArrowLeft" })
7190
+ S(s, { type: "ElIconArrowLeft" })
7194
7191
  ]),
7195
7192
  _: 1
7196
7193
  }, 8, ["onClick"]),
7197
7194
  D("div", $u, [
7198
- b(c, { ref: "navScroll1" }, {
7195
+ S(c, { ref: "navScroll1" }, {
7199
7196
  default: C(() => [
7200
7197
  D("div", Wu, [
7201
- (F(!0), W(le, null, Ne(a.sett_tags, (u, _) => (F(), $(i, {
7198
+ (F(!0), W(le, null, Ne(a.sett_tags, (u, d) => (F(), $(i, {
7202
7199
  id: a.activeTag == u.name ? "tagId" : "",
7203
7200
  class: Kt(["tag xxxxxx-tag", a.activeTag == u.name ? "active" : ""]),
7204
7201
  key: u.name,
7205
7202
  closable: u.path !== "/index",
7206
- onClose: (g) => o.removeTag(u, _),
7203
+ onClose: (g) => o.removeTag(u, d),
7207
7204
  onClick: (g) => o.changeMenu(u),
7208
7205
  "disable-transitions": "",
7209
7206
  onContextmenu: qo(o.openContextMenu, ["prevent"])
7210
7207
  }, {
7211
7208
  default: C(() => [
7212
- V(z(u.title), 1)
7209
+ x(z(u.title), 1)
7213
7210
  ]),
7214
7211
  _: 2
7215
7212
  }, 1032, ["id", "class", "closable", "onClose", "onClick", "onContextmenu"]))), 128))
@@ -7218,19 +7215,19 @@ function Yu(e, t, n, r, a, o) {
7218
7215
  _: 1
7219
7216
  }, 512)
7220
7217
  ]),
7221
- b(l, {
7218
+ S(l, {
7222
7219
  class: "btn-opt-right",
7223
7220
  onClick: o.changeGdtRight
7224
7221
  }, {
7225
7222
  default: C(() => [
7226
- b(s, { type: "ElIconArrowRight" })
7223
+ S(s, { type: "ElIconArrowRight" })
7227
7224
  ]),
7228
7225
  _: 1
7229
7226
  }, 8, ["onClick"]),
7230
- b(l, { class: "btn-opt-close" }, {
7227
+ S(l, { class: "btn-opt-close" }, {
7231
7228
  default: C(() => [
7232
- t[5] || (t[5] = V(" 关闭操作 ", -1)),
7233
- b(s, { type: "ElIconCaretBottom" })
7229
+ t[5] || (t[5] = x(" 关闭操作 ", -1)),
7230
+ S(s, { type: "ElIconCaretBottom" })
7234
7231
  ]),
7235
7232
  _: 1
7236
7233
  }),
@@ -7242,53 +7239,53 @@ function Yu(e, t, n, r, a, o) {
7242
7239
  style: Fn({ left: a.left + "px", top: a.top + "px" })
7243
7240
  }, [
7244
7241
  D("li", null, [
7245
- b(f, {
7242
+ S(f, {
7246
7243
  onClick: t[0] || (t[0] = (u) => o.curTabReload())
7247
7244
  }, {
7248
7245
  default: C(() => [...t[6] || (t[6] = [
7249
- V("重新加载", -1)
7246
+ x("重新加载", -1)
7250
7247
  ])]),
7251
7248
  _: 1
7252
7249
  })
7253
7250
  ]),
7254
7251
  D("li", null, [
7255
- b(f, {
7252
+ S(f, {
7256
7253
  onClick: t[1] || (t[1] = (u) => o.closeAllTabs())
7257
7254
  }, {
7258
7255
  default: C(() => [...t[7] || (t[7] = [
7259
- V("关闭所有", -1)
7256
+ x("关闭所有", -1)
7260
7257
  ])]),
7261
7258
  _: 1
7262
7259
  })
7263
7260
  ]),
7264
7261
  D("li", null, [
7265
- b(f, {
7262
+ S(f, {
7266
7263
  onClick: t[2] || (t[2] = (u) => o.closeOtherTabs("left")),
7267
7264
  disabled: a.isDisabledCloseLeftBtnFlag
7268
7265
  }, {
7269
7266
  default: C(() => [...t[8] || (t[8] = [
7270
- V("关闭左边", -1)
7267
+ x("关闭左边", -1)
7271
7268
  ])]),
7272
7269
  _: 1
7273
7270
  }, 8, ["disabled"])
7274
7271
  ]),
7275
7272
  D("li", null, [
7276
- b(f, {
7273
+ S(f, {
7277
7274
  onClick: t[3] || (t[3] = (u) => o.closeOtherTabs("right")),
7278
7275
  disabled: a.isDisabledCloseRightBtnFlag
7279
7276
  }, {
7280
7277
  default: C(() => [...t[9] || (t[9] = [
7281
- V("关闭右边", -1)
7278
+ x("关闭右边", -1)
7282
7279
  ])]),
7283
7280
  _: 1
7284
7281
  }, 8, ["disabled"])
7285
7282
  ]),
7286
7283
  D("li", null, [
7287
- b(f, {
7284
+ S(f, {
7288
7285
  onClick: t[4] || (t[4] = (u) => o.closeOtherTabs("other"))
7289
7286
  }, {
7290
7287
  default: C(() => [...t[10] || (t[10] = [
7291
- V("关闭其他", -1)
7288
+ x("关闭其他", -1)
7292
7289
  ])]),
7293
7290
  _: 1
7294
7291
  })
@@ -7300,7 +7297,7 @@ function Yu(e, t, n, r, a, o) {
7300
7297
  ])
7301
7298
  ]);
7302
7299
  }
7303
- const Hu = /* @__PURE__ */ ge(Vu, [["render", Yu]]), Ku = {
7300
+ const Hu = /* @__PURE__ */ ge(xu, [["render", Yu]]), Ku = {
7304
7301
  name: "SidebarMenuItem",
7305
7302
  props: {
7306
7303
  menuData: {
@@ -7372,7 +7369,7 @@ function Ju(e, t, n, r, a, o) {
7372
7369
  D("span", null, z(u.meta.title || u.meta.short), 1)
7373
7370
  ]),
7374
7371
  default: C(() => [
7375
- b(l, {
7372
+ S(l, {
7376
7373
  appData: n.appData,
7377
7374
  menuData: u.children,
7378
7375
  collapse: n.collapse,
@@ -7383,10 +7380,10 @@ function Ju(e, t, n, r, a, o) {
7383
7380
  }, 1032, ["index"])) : (F(), $(f, {
7384
7381
  index: u.name,
7385
7382
  key: "b" + u.name,
7386
- onClick: (_) => o.handleOpenMenu(u)
7383
+ onClick: (d) => o.handleOpenMenu(u)
7387
7384
  }, {
7388
7385
  title: C(() => [
7389
- V(z(u.meta.short || u.meta.title), 1)
7386
+ x(z(u.meta.short || u.meta.title), 1)
7390
7387
  ]),
7391
7388
  default: C(() => [
7392
7389
  !u.meta.icon && n.collapse && !n.isChildren ? (F(), W("div", Xu, z(u.meta.short || u.meta.title), 1)) : (F(), W("div", Qu, [
@@ -7462,7 +7459,7 @@ function af(e, t, n, r, a, o) {
7462
7459
  return F(), W("div", ef, [
7463
7460
  D("div", tf, z(e.openCaseInfo.LAST_IP_TITLE), 1),
7464
7461
  D("div", nf, [
7465
- b(l, {
7462
+ S(l, {
7466
7463
  collapse: n.collapse,
7467
7464
  "default-openeds": a.menuDefaultOpeneds,
7468
7465
  "default-active": a.activeName,
@@ -7470,7 +7467,7 @@ function af(e, t, n, r, a, o) {
7470
7467
  onClose: o.handleClose
7471
7468
  }, {
7472
7469
  default: C(() => [
7473
- b(s, {
7470
+ S(s, {
7474
7471
  appData: e.openCaseInfo,
7475
7472
  menuData: a.menuCurrList,
7476
7473
  collapse: n.collapse
@@ -7554,35 +7551,35 @@ function lf(e, t, n, r, a, o) {
7554
7551
  }, {
7555
7552
  footer: C(() => [
7556
7553
  D("div", sf, [
7557
- b(c, { onClick: o.handleCancel }, {
7554
+ S(c, { onClick: o.handleCancel }, {
7558
7555
  default: C(() => [...t[4] || (t[4] = [
7559
- V("取 消", -1)
7556
+ x("取 消", -1)
7560
7557
  ])]),
7561
7558
  _: 1
7562
7559
  }, 8, ["onClick"]),
7563
- b(c, {
7560
+ S(c, {
7564
7561
  type: "primary",
7565
7562
  onClick: o.handleBeforeOk
7566
7563
  }, {
7567
7564
  default: C(() => [...t[5] || (t[5] = [
7568
- V("确 定", -1)
7565
+ x("确 定", -1)
7569
7566
  ])]),
7570
7567
  _: 1
7571
7568
  }, 8, ["onClick"])
7572
7569
  ])
7573
7570
  ]),
7574
7571
  default: C(() => [
7575
- b(i, {
7572
+ S(i, {
7576
7573
  model: a.formData,
7577
7574
  "label-width": "auto"
7578
7575
  }, {
7579
7576
  default: C(() => [
7580
- b(l, {
7577
+ S(l, {
7581
7578
  prop: "old_pwd",
7582
7579
  label: "原密码"
7583
7580
  }, {
7584
7581
  default: C(() => [
7585
- b(s, {
7582
+ S(s, {
7586
7583
  type: "password",
7587
7584
  "show-password": "",
7588
7585
  modelValue: a.formData.old_pwd,
@@ -7591,12 +7588,12 @@ function lf(e, t, n, r, a, o) {
7591
7588
  ]),
7592
7589
  _: 1
7593
7590
  }),
7594
- b(l, {
7591
+ S(l, {
7595
7592
  prop: "new_pwd1",
7596
7593
  label: "新密码"
7597
7594
  }, {
7598
7595
  default: C(() => [
7599
- b(s, {
7596
+ S(s, {
7600
7597
  type: "password",
7601
7598
  "show-password": "",
7602
7599
  modelValue: a.formData.new_pwd1,
@@ -7605,12 +7602,12 @@ function lf(e, t, n, r, a, o) {
7605
7602
  ]),
7606
7603
  _: 1
7607
7604
  }),
7608
- b(l, {
7605
+ S(l, {
7609
7606
  prop: "new_pwd2",
7610
7607
  label: "确认密码"
7611
7608
  }, {
7612
7609
  default: C(() => [
7613
- b(s, {
7610
+ S(s, {
7614
7611
  type: "password",
7615
7612
  "show-password": "",
7616
7613
  modelValue: a.formData.new_pwd2,
@@ -7714,11 +7711,11 @@ const cf = /* @__PURE__ */ ge(of, [["render", lf]]), uf = {
7714
7711
  // return segs
7715
7712
  // }
7716
7713
  }
7717
- }, ff = { class: "cloud-login-change-wrap" }, df = { class: "cloud-login-change-box1" }, _f = { class: "cloud-login-change-search" }, mf = { class: "cloud-login-change-box2" }, hf = { class: "cloud-login-change-group-box" }, gf = { class: "cloud-login-change-group-title" }, pf = { class: "cloud-login-change-group-sublist" }, Ef = ["onClick"], Sf = { class: "cloud-login-change-item-left" }, bf = { class: "cloud-login-change-item-left-icon" }, vf = ["src"], yf = { class: "cloud-login-change-item-right" }, Tf = { class: "cloud-login-change-item-right-label" }, Af = { class: "cloud-login-change-item-right-label2" }, Nf = { class: "cloud-login-change-item-more" };
7714
+ }, ff = { class: "cloud-login-change-wrap" }, _f = { class: "cloud-login-change-box1" }, df = { class: "cloud-login-change-search" }, mf = { class: "cloud-login-change-box2" }, hf = { class: "cloud-login-change-group-box" }, gf = { class: "cloud-login-change-group-title" }, pf = { class: "cloud-login-change-group-sublist" }, Ef = ["onClick"], bf = { class: "cloud-login-change-item-left" }, Sf = { class: "cloud-login-change-item-left-icon" }, vf = ["src"], yf = { class: "cloud-login-change-item-right" }, Tf = { class: "cloud-login-change-item-right-label" }, Af = { class: "cloud-login-change-item-right-label2" }, Nf = { class: "cloud-login-change-item-more" };
7718
7715
  function Cf(e, t, n, r, a, o) {
7719
7716
  const s = L("el-input"), l = L("el-button"), i = L("cv-icons");
7720
7717
  return F(), W("div", ff, [
7721
- D("div", df, [
7718
+ D("div", _f, [
7722
7719
  D("div", {
7723
7720
  class: "cloud-login-change-refresh",
7724
7721
  onClick: t[0] || (t[0] = (...c) => o.chainForceRefresh && o.chainForceRefresh(...c))
@@ -7732,8 +7729,8 @@ function Cf(e, t, n, r, a, o) {
7732
7729
  D("p", null, "为规范平台操作、统一平台账号;以便后续提供更多的功能体验;"),
7733
7730
  D("p", null, "后续商户人员(含管理员)登录,需进一步通过 短信 或 扫码 进行验证。")
7734
7731
  ], -1)),
7735
- D("div", _f, [
7736
- b(s, {
7732
+ D("div", df, [
7733
+ S(s, {
7737
7734
  modelValue: a.chainKeyword,
7738
7735
  "onUpdate:modelValue": t[2] || (t[2] = (c) => a.chainKeyword = c),
7739
7736
  size: "large",
@@ -7742,12 +7739,12 @@ function Cf(e, t, n, r, a, o) {
7742
7739
  style: { "max-width": "500px" },
7743
7740
  onInput: o.handleSearch
7744
7741
  }, null, 8, ["modelValue", "onInput"]),
7745
- b(l, {
7742
+ S(l, {
7746
7743
  size: "large",
7747
7744
  onClick: o.handleSearch
7748
7745
  }, {
7749
7746
  default: C(() => [...t[3] || (t[3] = [
7750
- V("搜索", -1)
7747
+ x("搜索", -1)
7751
7748
  ])]),
7752
7749
  _: 1
7753
7750
  }, 8, ["onClick"])
@@ -7760,13 +7757,13 @@ function Cf(e, t, n, r, a, o) {
7760
7757
  }, [
7761
7758
  D("div", gf, z(c.title || "无") + "(" + z(c.total) + ")", 1),
7762
7759
  D("div", pf, [
7763
- (F(!0), W(le, null, Ne(c.list, (u, _) => (F(), W("div", {
7760
+ (F(!0), W(le, null, Ne(c.list, (u, d) => (F(), W("div", {
7764
7761
  class: "cloud-login-change-item-bao",
7765
- key: _,
7762
+ key: d,
7766
7763
  onClick: (g) => o.chainSelection(u)
7767
7764
  }, [
7768
- D("div", Sf, [
7769
- D("div", bf, [
7765
+ D("div", bf, [
7766
+ D("div", Sf, [
7770
7767
  D("img", {
7771
7768
  src: u.business_icon_cdn
7772
7769
  }, null, 8, vf)
@@ -7777,7 +7774,7 @@ function Cf(e, t, n, r, a, o) {
7777
7774
  D("div", Af, "【" + z(u.acc_rules_type_str) + "】", 1)
7778
7775
  ]),
7779
7776
  D("div", Nf, [
7780
- b(i, { type: "ElIconArrowRight" })
7777
+ S(i, { type: "ElIconArrowRight" })
7781
7778
  ])
7782
7779
  ], 8, Ef))), 128))
7783
7780
  ])
@@ -7944,9 +7941,9 @@ const Of = /* @__PURE__ */ ge(uf, [["render", Cf]]), If = {
7944
7941
  }, Uf = {
7945
7942
  key: 0,
7946
7943
  class: "chopt-num"
7947
- }, xf = { class: "cloud-header__info" }, Vf = ["src"], Bf = { class: "chinfo-infoname" }, Gf = { class: "chinfo-infobname" }, $f = { class: "chinfo-infouname" }, Wf = { class: "cloud-sidebar__wrap" }, Yf = { class: "cloud-pages__wrap" };
7944
+ }, Vf = { class: "cloud-header__info" }, xf = ["src"], Bf = { class: "chinfo-infoname" }, Gf = { class: "chinfo-infobname" }, $f = { class: "chinfo-infouname" }, Wf = { class: "cloud-sidebar__wrap" }, Yf = { class: "cloud-pages__wrap" };
7948
7945
  function Hf(e, t, n, r, a, o) {
7949
- const s = L("cv-icons"), l = L("el-breadcrumb-item"), i = L("el-breadcrumb"), c = L("el-dropdown-item"), f = L("el-dropdown-menu"), u = L("el-dropdown"), _ = L("SidebarMenuBox"), g = L("SameNavTabs"), T = L("SameRouteView"), p = L("HeaderSysSettDrawer"), w = L("ChangePassword"), m = L("SwitchBusiness");
7946
+ const s = L("cv-icons"), l = L("el-breadcrumb-item"), i = L("el-breadcrumb"), c = L("el-dropdown-item"), f = L("el-dropdown-menu"), u = L("el-dropdown"), d = L("SidebarMenuBox"), g = L("SameNavTabs"), T = L("SameRouteView"), p = L("HeaderSysSettDrawer"), w = L("ChangePassword"), m = L("SwitchBusiness");
7950
7947
  return F(), W("div", Lf, [
7951
7948
  D("header", wf, [
7952
7949
  D("div", Df, [
@@ -7978,29 +7975,29 @@ function Hf(e, t, n, r, a, o) {
7978
7975
  class: "cloud-header__opt",
7979
7976
  onClick: t[1] || (t[1] = (...E) => o.framePageRefresh && o.framePageRefresh(...E))
7980
7977
  }, [
7981
- b(s, {
7978
+ S(s, {
7982
7979
  type: "ElIconRefreshRight",
7983
7980
  size: "20"
7984
7981
  })
7985
7982
  ]),
7986
7983
  D("div", Ff, [
7987
- b(i, { separator: "/" }, {
7984
+ S(i, { separator: "/" }, {
7988
7985
  default: C(() => [
7989
- (F(!0), W(le, null, Ne(a.breadcrumbPath, (E, S) => (F(), W(le, null, [
7990
- S == a.breadcrumbPath.length - 1 || !E.path || E.path == "" ? (F(), $(l, {
7991
- key: S,
7986
+ (F(!0), W(le, null, Ne(a.breadcrumbPath, (E, b) => (F(), W(le, null, [
7987
+ b == a.breadcrumbPath.length - 1 || !E.path || E.path == "" ? (F(), $(l, {
7988
+ key: b,
7992
7989
  class: "no-redirect"
7993
7990
  }, {
7994
7991
  default: C(() => [
7995
- V(z(E.title), 1)
7992
+ x(z(E.title), 1)
7996
7993
  ]),
7997
7994
  _: 2
7998
7995
  }, 1024)) : (F(), $(l, {
7999
- key: "b" + S,
7996
+ key: "b" + b,
8000
7997
  to: { path: E.path }
8001
7998
  }, {
8002
7999
  default: C(() => [
8003
- V(z(E.title), 1)
8000
+ x(z(E.title), 1)
8004
8001
  ]),
8005
8002
  _: 2
8006
8003
  }, 1032, ["to"]))
@@ -8014,7 +8011,7 @@ function Hf(e, t, n, r, a, o) {
8014
8011
  class: "cloud-header__opt chopt-relative",
8015
8012
  onClick: t[2] || (t[2] = (E) => o.frameHandleCommand("msg"))
8016
8013
  }, [
8017
- b(s, {
8014
+ S(s, {
8018
8015
  type: "ElIconChatLineRound",
8019
8016
  size: "20"
8020
8017
  }),
@@ -8024,60 +8021,60 @@ function Hf(e, t, n, r, a, o) {
8024
8021
  class: "cloud-header__opt chopt-relative",
8025
8022
  onClick: t[3] || (t[3] = (E) => o.frameHandleCommand("gongdan"))
8026
8023
  }, [
8027
- b(s, {
8024
+ S(s, {
8028
8025
  type: "ElIconMessage",
8029
8026
  size: "20"
8030
8027
  }),
8031
8028
  a.emailUnreadTotal > 0 ? (F(), W("em", Uf, z(a.emailUnreadTotal > 99 ? "99+" : a.emailUnreadTotal), 1)) : te("", !0)
8032
8029
  ]),
8033
- D("div", xf, [
8034
- b(u, {
8030
+ D("div", Vf, [
8031
+ S(u, {
8035
8032
  onCommand: o.frameHandleCommand,
8036
8033
  "popper-class": "cloud-header__info_dropdown"
8037
8034
  }, {
8038
8035
  dropdown: C(() => [
8039
- b(f, null, {
8036
+ S(f, null, {
8040
8037
  default: C(() => [
8041
- b(c, { command: "account_change" }, {
8038
+ S(c, { command: "account_change" }, {
8042
8039
  default: C(() => [
8043
- b(s, {
8040
+ S(s, {
8044
8041
  type: "cvSvgPeopleSwitch",
8045
8042
  size: "15"
8046
8043
  }),
8047
- t[9] || (t[9] = V(" 切换账号 ", -1))
8044
+ t[9] || (t[9] = x(" 切换账号 ", -1))
8048
8045
  ]),
8049
8046
  _: 1
8050
8047
  }),
8051
- b(c, { command: "account_chgpwd" }, {
8048
+ S(c, { command: "account_chgpwd" }, {
8052
8049
  default: C(() => [
8053
- b(s, {
8050
+ S(s, {
8054
8051
  type: "cvSvgBaseLockOff",
8055
8052
  size: "15"
8056
8053
  }),
8057
- t[10] || (t[10] = V(" 修改密码 ", -1))
8054
+ t[10] || (t[10] = x(" 修改密码 ", -1))
8058
8055
  ]),
8059
8056
  _: 1
8060
8057
  }),
8061
- b(c, {
8058
+ S(c, {
8062
8059
  command: "clearCache",
8063
8060
  divided: ""
8064
8061
  }, {
8065
8062
  default: C(() => [
8066
- b(s, {
8063
+ S(s, {
8067
8064
  type: "ElIconDelete",
8068
8065
  size: "15"
8069
8066
  }),
8070
- t[11] || (t[11] = V(" 清除缓存 ", -1))
8067
+ t[11] || (t[11] = x(" 清除缓存 ", -1))
8071
8068
  ]),
8072
8069
  _: 1
8073
8070
  }),
8074
- b(c, { command: "logout" }, {
8071
+ S(c, { command: "logout" }, {
8075
8072
  default: C(() => [
8076
- b(s, {
8073
+ S(s, {
8077
8074
  type: "cvSvgArrowExportRight",
8078
8075
  size: "14"
8079
8076
  }),
8080
- t[12] || (t[12] = V(" 退出登录 ", -1))
8077
+ t[12] || (t[12] = x(" 退出登录 ", -1))
8081
8078
  ]),
8082
8079
  _: 1
8083
8080
  })
@@ -8091,12 +8088,12 @@ function Hf(e, t, n, r, a, o) {
8091
8088
  class: "chinfo-avatar",
8092
8089
  src: e.accountInfo.account_avatar_cdn,
8093
8090
  title: "头像"
8094
- }, null, 8, Vf),
8091
+ }, null, 8, xf),
8095
8092
  D("div", Bf, [
8096
8093
  D("div", Gf, z(o.headerInfoName), 1),
8097
8094
  D("div", $f, z(o.headerInfoNick), 1)
8098
8095
  ]),
8099
- b(s, { type: "ElIconArrowDown" })
8096
+ S(s, { type: "ElIconArrowDown" })
8100
8097
  ])
8101
8098
  ]),
8102
8099
  _: 1
@@ -8125,28 +8122,28 @@ function Hf(e, t, n, r, a, o) {
8125
8122
  onClick: t[5] || (t[5] = (...E) => o.frameTopSysSettOpen && o.frameTopSysSettOpen(...E)),
8126
8123
  style: { "min-width": "50px" }
8127
8124
  }, [
8128
- b(s, {
8125
+ S(s, {
8129
8126
  type: "cvSvgBaseSetting",
8130
8127
  size: "20"
8131
8128
  })
8132
8129
  ])
8133
8130
  ]),
8134
8131
  D("section", Wf, [
8135
- b(_, {
8132
+ S(d, {
8136
8133
  collapse: a.frameSidebarOpen == "off"
8137
8134
  }, null, 8, ["collapse"])
8138
8135
  ]),
8139
8136
  D("section", Yf, [
8140
- Rt(b(g, null, null, 512), [
8137
+ Rt(S(g, null, null, 512), [
8141
8138
  [Lr, e.layoutNavTabs == "on"]
8142
8139
  ]),
8143
- b(T, { className: "cloud-pages__box" })
8140
+ S(T, { className: "cloud-pages__box" })
8144
8141
  ]),
8145
- b(p, {
8142
+ S(p, {
8146
8143
  modelValue: a.frameHeadSysSettDia,
8147
8144
  "onUpdate:modelValue": t[6] || (t[6] = (E) => a.frameHeadSysSettDia = E)
8148
8145
  }, null, 8, ["modelValue"]),
8149
- b(w, {
8146
+ S(w, {
8150
8147
  modelValue: a.changeShowFlag,
8151
8148
  "onUpdate:modelValue": t[7] || (t[7] = (E) => a.changeShowFlag = E)
8152
8149
  }, null, 8, ["modelValue"]),
@@ -8162,7 +8159,7 @@ function Hf(e, t, n, r, a, o) {
8162
8159
  }, null, 8, ["modelValue", "onRefreshFunc", "onReselectFunc", "onSelectFunc"])) : te("", !0)
8163
8160
  ]);
8164
8161
  }
8165
- const Qd = /* @__PURE__ */ ge(If, [["render", Hf]]), Kf = {
8162
+ const Q_ = /* @__PURE__ */ ge(If, [["render", Hf]]), Kf = {
8166
8163
  data() {
8167
8164
  return {
8168
8165
  watemarkText: "shiyun"
@@ -8197,7 +8194,7 @@ function jf(e, t, n, r, a, o) {
8197
8194
  _: 3
8198
8195
  }, 16);
8199
8196
  }
8200
- const Jd = /* @__PURE__ */ ge(Kf, [["render", jf]]), qf = {
8197
+ const J_ = /* @__PURE__ */ ge(Kf, [["render", jf]]), qf = {
8201
8198
  name: "SdkFormEdit",
8202
8199
  props: {
8203
8200
  modelValue: {
@@ -8246,7 +8243,7 @@ const Jd = /* @__PURE__ */ ge(Kf, [["render", jf]]), qf = {
8246
8243
  }
8247
8244
  }, Xf = { style: { "font-size": "12px" } }, Qf = { style: { color: "red", "font-weight": "bold" } }, Jf = { class: "multiline-text" };
8248
8245
  function zf(e, t, n, r, a, o) {
8249
- const s = L("cv-upload-image"), l = L("cv-input-text"), i = L("cv-input-number"), c = L("cv-input-digit"), f = L("cv-textarea"), u = L("cv-radio-opt-base"), _ = L("cv-radio-group"), g = L("cv-checkbox-opt-base"), T = L("cv-checkbox-group"), p = L("cv-form-item"), w = L("cv-form-base");
8246
+ const s = L("cv-input-text"), l = L("cv-input-number"), i = L("cv-input-digit"), c = L("cv-textarea"), f = L("cv-radio-opt-base"), u = L("cv-radio-group"), d = L("cv-checkbox-opt-base"), g = L("cv-checkbox-group"), T = L("cv-upload-image"), p = L("cv-form-item"), w = L("cv-form-base");
8250
8247
  return F(), $(w, {
8251
8248
  ref: "refFormBase",
8252
8249
  rules: a.formRules,
@@ -8259,119 +8256,119 @@ function zf(e, t, n, r, a, o) {
8259
8256
  required: m.field_form_require == "on"
8260
8257
  }, Jo({
8261
8258
  default: C(() => [
8262
- m.field_form_type == "upload_image" ? (F(), $(s, {
8259
+ m.field_form_type == "input_text" ? (F(), $(s, {
8263
8260
  key: 0,
8264
8261
  modelValue: a.formData[m.field_form_key],
8265
- "onUpdate:modelValue": (S) => a.formData[m.field_form_key] = S,
8266
- initValue: a.formData[m.field_form_key + "_CDN"],
8267
- "onUpdate:initValue": (S) => a.formData[m.field_form_key + "_CDN"] = S
8268
- }, null, 8, ["modelValue", "onUpdate:modelValue", "initValue", "onUpdate:initValue"])) : te("", !0),
8269
- m.field_form_type == "input_text" ? (F(), $(l, {
8262
+ "onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
8263
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
8264
+ m.field_form_type == "input_number" ? (F(), $(l, {
8270
8265
  key: 1,
8271
8266
  modelValue: a.formData[m.field_form_key],
8272
- "onUpdate:modelValue": (S) => a.formData[m.field_form_key] = S
8267
+ "onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
8273
8268
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
8274
- m.field_form_type == "input_number" ? (F(), $(i, {
8269
+ m.field_form_type == "input_digit" ? (F(), $(i, {
8275
8270
  key: 2,
8276
8271
  modelValue: a.formData[m.field_form_key],
8277
- "onUpdate:modelValue": (S) => a.formData[m.field_form_key] = S
8278
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
8279
- m.field_form_type == "input_digit" ? (F(), $(c, {
8280
- key: 3,
8281
- modelValue: a.formData[m.field_form_key],
8282
- "onUpdate:modelValue": (S) => a.formData[m.field_form_key] = S
8272
+ "onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
8283
8273
  }, {
8284
8274
  append: C(() => [...t[0] || (t[0] = [
8285
- V("元", -1)
8275
+ x("元", -1)
8286
8276
  ])]),
8287
8277
  _: 1
8288
8278
  }, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
8289
- m.field_form_type == "input_second" ? (F(), W(le, { key: 4 }, [
8290
- b(i, {
8279
+ m.field_form_type == "input_second" ? (F(), W(le, { key: 3 }, [
8280
+ S(l, {
8291
8281
  modelValue: a.formData[m.field_form_key],
8292
- "onUpdate:modelValue": (S) => a.formData[m.field_form_key] = S
8282
+ "onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
8293
8283
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
8294
8284
  D("span", Xf, [
8295
- t[1] || (t[1] = V(" 计算为 ", -1)),
8285
+ t[1] || (t[1] = x(" 计算为 ", -1)),
8296
8286
  D("span", Qf, ":" + z(a.miaoToShichang[m.field_form_key]), 1)
8297
8287
  ])
8298
8288
  ], 64)) : te("", !0),
8299
- m.field_form_type == "textarea_base" ? (F(), $(f, {
8300
- key: 5,
8289
+ m.field_form_type == "textarea_base" ? (F(), $(c, {
8290
+ key: 4,
8301
8291
  modelValue: a.formData[m.field_form_key],
8302
- "onUpdate:modelValue": (S) => a.formData[m.field_form_key] = S
8292
+ "onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
8303
8293
  }, null, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
8304
- m.field_form_type == "encryption" ? (F(), W(le, { key: 6 }, [
8305
- b(f, {
8294
+ m.field_form_type == "encryption" ? (F(), W(le, { key: 5 }, [
8295
+ S(c, {
8306
8296
  modelValue: a.formData[m.field_form_key],
8307
- "onUpdate:modelValue": (S) => a.formData[m.field_form_key] = S
8297
+ "onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
8308
8298
  }, null, 8, ["modelValue", "onUpdate:modelValue"]),
8309
8299
  t[2] || (t[2] = D("div", { style: { color: "#999", "font-size": "12px" } }, "加密字段配置后,下次呈现加密内容,请自行保存加密原数据", -1))
8310
8300
  ], 64)) : te("", !0),
8311
- m.field_form_type == "radio_switch" ? (F(), $(_, {
8312
- key: 7,
8301
+ m.field_form_type == "radio_switch" ? (F(), $(u, {
8302
+ key: 6,
8313
8303
  modelValue: a.formData[m.field_form_key],
8314
- "onUpdate:modelValue": (S) => a.formData[m.field_form_key] = S
8304
+ "onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
8315
8305
  }, {
8316
8306
  default: C(() => [
8317
- b(u, {
8307
+ S(f, {
8318
8308
  label: "开启",
8319
8309
  value: "on"
8320
8310
  }, {
8321
8311
  default: C(() => [...t[3] || (t[3] = [
8322
- V("开启", -1)
8312
+ x("开启", -1)
8323
8313
  ])]),
8324
8314
  _: 1
8325
8315
  }),
8326
- b(u, {
8316
+ S(f, {
8327
8317
  label: "关闭",
8328
8318
  value: "off"
8329
8319
  }, {
8330
8320
  default: C(() => [...t[4] || (t[4] = [
8331
- V("关闭", -1)
8321
+ x("关闭", -1)
8332
8322
  ])]),
8333
8323
  _: 1
8334
8324
  })
8335
8325
  ]),
8336
8326
  _: 1
8337
8327
  }, 8, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
8338
- m.field_form_type == "radio_base" ? (F(), $(_, {
8339
- key: 8,
8328
+ m.field_form_type == "radio_base" ? (F(), $(u, {
8329
+ key: 7,
8340
8330
  modelValue: a.formData[m.field_form_key],
8341
- "onUpdate:modelValue": (S) => a.formData[m.field_form_key] = S
8331
+ "onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
8342
8332
  }, {
8343
8333
  default: C(() => [
8344
- (F(!0), W(le, null, Ne(m.field_form_option, (S, y) => (F(), $(u, {
8334
+ (F(!0), W(le, null, Ne(m.field_form_option, (b, y) => (F(), $(f, {
8345
8335
  key: y,
8346
- value: S.value
8336
+ value: b.value
8347
8337
  }, {
8348
8338
  default: C(() => [
8349
- V(z(S.label), 1)
8339
+ x(z(b.label), 1)
8350
8340
  ]),
8351
8341
  _: 2
8352
8342
  }, 1032, ["value"]))), 128))
8353
8343
  ]),
8354
8344
  _: 2
8355
8345
  }, 1032, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
8356
- m.field_form_type == "checkbox_base" ? (F(), $(T, {
8357
- key: 9,
8346
+ m.field_form_type == "checkbox_base" ? (F(), $(g, {
8347
+ key: 8,
8358
8348
  modelValue: a.formData[m.field_form_key],
8359
- "onUpdate:modelValue": (S) => a.formData[m.field_form_key] = S
8349
+ "onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b
8360
8350
  }, {
8361
8351
  default: C(() => [
8362
- (F(!0), W(le, null, Ne(m.field_form_option, (S, y) => (F(), $(g, {
8352
+ (F(!0), W(le, null, Ne(m.field_form_option, (b, y) => (F(), $(d, {
8363
8353
  key: y,
8364
- label: S.label,
8365
- value: S.value
8354
+ label: b.label,
8355
+ value: b.value
8366
8356
  }, {
8367
8357
  default: C(() => [
8368
- V(z(S.label), 1)
8358
+ x(z(b.label), 1)
8369
8359
  ]),
8370
8360
  _: 2
8371
8361
  }, 1032, ["label", "value"]))), 128))
8372
8362
  ]),
8373
8363
  _: 2
8374
- }, 1032, ["modelValue", "onUpdate:modelValue"])) : te("", !0)
8364
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : te("", !0),
8365
+ m.field_form_type == "upload_image" ? (F(), $(T, {
8366
+ key: 9,
8367
+ modelValue: a.formData[m.field_form_key],
8368
+ "onUpdate:modelValue": (b) => a.formData[m.field_form_key] = b,
8369
+ initValue: a.formData[m.field_form_key + "_CDN"],
8370
+ "onUpdate:initValue": (b) => a.formData[m.field_form_key + "_CDN"] = b
8371
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "initValue", "onUpdate:initValue"])) : te("", !0)
8375
8372
  ]),
8376
8373
  _: 2
8377
8374
  }, [
@@ -8387,7 +8384,7 @@ function zf(e, t, n, r, a, o) {
8387
8384
  _: 1
8388
8385
  }, 8, ["rules", "model"]);
8389
8386
  }
8390
- const Zf = /* @__PURE__ */ ge(qf, [["render", zf]]), ed = {
8387
+ const Zf = /* @__PURE__ */ ge(qf, [["render", zf]]), e_ = {
8391
8388
  emits: ["handleCallback", "close"],
8392
8389
  props: {
8393
8390
  limit: {
@@ -8530,26 +8527,26 @@ const Zf = /* @__PURE__ */ ge(qf, [["render", zf]]), ed = {
8530
8527
  }
8531
8528
  }
8532
8529
  }
8533
- }, td = {
8530
+ }, t_ = {
8534
8531
  "element-loading-text": "加载中",
8535
8532
  "element-loading-spinner": "el-icon-loading",
8536
8533
  class: "cloud-dialog-choice-wrap"
8537
- }, nd = { style: { width: "100%", height: "500px" } }, ad = { class: "cloud-dia-choice-box" }, rd = { class: "cloud-dia-choice-left" }, od = { class: "cloud-dia-choice-right" }, sd = { class: "cloud-dia-right-tools" }, id = { class: "cloud-dia-right-list" }, ld = ["src", "onClick"], cd = { class: "cloud-dia-right-item_text" }, ud = { key: 1 }, fd = { style: { padding: "10px 20px 0 0", "text-align": "right", "box-sizing": "border-box" } };
8538
- function dd(e, t, n, r, a, o) {
8539
- const s = L("el-input"), l = L("el-tree"), i = L("cv-btn-base"), c = L("el-upload"), f = L("cv-select-tree"), u = L("el-badge"), _ = L("cv-icons"), g = L("el-pagination"), T = na("loading");
8540
- return Rt((F(), W("div", td, [
8541
- D("div", nd, [
8542
- D("section", ad, [
8543
- D("section", rd, [
8534
+ }, n_ = { style: { width: "100%", height: "500px" } }, a_ = { class: "cloud-dia-choice-box" }, r_ = { class: "cloud-dia-choice-left" }, o_ = { class: "cloud-dia-choice-right" }, s_ = { class: "cloud-dia-right-tools" }, i_ = { class: "cloud-dia-right-list" }, l_ = ["src", "onClick"], c_ = { class: "cloud-dia-right-item_text" }, u_ = { key: 1 }, f_ = { style: { padding: "10px 20px 0 0", "text-align": "right", "box-sizing": "border-box" } };
8535
+ function __(e, t, n, r, a, o) {
8536
+ const s = L("el-input"), l = L("el-tree"), i = L("cv-btn-base"), c = L("el-upload"), f = L("cv-select-tree"), u = L("el-badge"), d = L("cv-icons"), g = L("el-pagination"), T = na("loading");
8537
+ return Rt((F(), W("div", t_, [
8538
+ D("div", n_, [
8539
+ D("section", a_, [
8540
+ D("section", r_, [
8544
8541
  t[1] || (t[1] = D("div", { class: "cloud-dia-left-title" }, "类别", -1)),
8545
- b(s, {
8542
+ S(s, {
8546
8543
  class: "cloud-dia-left-filter",
8547
8544
  modelValue: a.leftFilterText,
8548
8545
  "onUpdate:modelValue": t[0] || (t[0] = (p) => a.leftFilterText = p),
8549
8546
  placeholder: "请搜索",
8550
8547
  clearable: ""
8551
8548
  }, null, 8, ["modelValue"]),
8552
- b(l, {
8549
+ S(l, {
8553
8550
  ref: "refDiaSelectLeft",
8554
8551
  class: "cloud-dia-left-tree",
8555
8552
  data: a.leftTreeList,
@@ -8559,9 +8556,9 @@ function dd(e, t, n, r, a, o) {
8559
8556
  onNodeClick: o.leftClickNode
8560
8557
  }, null, 8, ["data", "props", "filter-node-method", "onNodeClick"])
8561
8558
  ]),
8562
- D("section", od, [
8563
- D("div", sd, [
8564
- b(c, {
8559
+ D("section", o_, [
8560
+ D("div", s_, [
8561
+ S(c, {
8565
8562
  class: "dialog-choice-image-upload",
8566
8563
  action: a.upAction,
8567
8564
  "on-preview": o.upHandlePreview,
@@ -8570,46 +8567,46 @@ function dd(e, t, n, r, a, o) {
8570
8567
  "file-list": a.upFileList
8571
8568
  }, {
8572
8569
  default: C(() => [
8573
- b(i, { type: "primary" }, {
8570
+ S(i, { type: "primary" }, {
8574
8571
  default: C(() => [...t[2] || (t[2] = [
8575
- V("上传图片", -1)
8572
+ x("上传图片", -1)
8576
8573
  ])]),
8577
8574
  _: 1
8578
8575
  })
8579
8576
  ]),
8580
8577
  _: 1
8581
8578
  }, 8, ["action", "on-preview", "on-remove", "file-list"]),
8582
- b(i, {
8579
+ S(i, {
8583
8580
  type: "primary",
8584
8581
  disabled: a.activeImageUrl.length === 0
8585
8582
  }, {
8586
8583
  default: C(() => [...t[3] || (t[3] = [
8587
- V("使用选中图片", -1)
8584
+ x("使用选中图片", -1)
8588
8585
  ])]),
8589
8586
  _: 1
8590
8587
  }, 8, ["disabled"]),
8591
- b(i, {
8588
+ S(i, {
8592
8589
  type: "danger",
8593
8590
  disabled: a.activeImageUrl.length === 0
8594
8591
  }, {
8595
8592
  default: C(() => [...t[4] || (t[4] = [
8596
- V("删除图片", -1)
8593
+ x("删除图片", -1)
8597
8594
  ])]),
8598
8595
  _: 1
8599
8596
  }, 8, ["disabled"]),
8600
- b(f, {
8597
+ S(f, {
8601
8598
  dataField: a.leftTreeProps,
8602
8599
  dataLists: a.leftTreeList,
8603
8600
  placeholder: "图片移动至",
8604
8601
  style: { "margin-left": "10px", width: "160px" }
8605
8602
  }, null, 8, ["dataField", "dataLists"])
8606
8603
  ]),
8607
- D("div", id, [
8604
+ D("div", i_, [
8608
8605
  (F(!0), W(le, null, Ne(a.imageList, (p, w) => (F(), W("div", {
8609
8606
  class: "cloud-dia-right-item",
8610
8607
  key: w
8611
8608
  }, [
8612
- b(u, {
8609
+ S(u, {
8613
8610
  class: Kt(o.badgeValue(p.filelog_id) == 0 && "isshowBadge"),
8614
8611
  value: o.badgeValue(p.filelog_id)
8615
8612
  }, {
@@ -8619,25 +8616,25 @@ function dd(e, t, n, r, a, o) {
8619
8616
  src: p.cdn_full_path,
8620
8617
  alt: "",
8621
8618
  onClick: (m) => o.handleClickImage(p, w)
8622
- }, null, 10, ld)
8619
+ }, null, 10, l_)
8623
8620
  ]),
8624
8621
  _: 2
8625
8622
  }, 1032, ["class", "value"]),
8626
- D("div", cd, [
8623
+ D("div", c_, [
8627
8624
  a.imageTextEditState[w] ? (F(), $(s, {
8628
8625
  key: 0,
8629
8626
  label: "文本输入",
8630
8627
  modelValue: p.filelog_full_name,
8631
8628
  "onUpdate:modelValue": (m) => p.filelog_full_name = m
8632
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (F(), W("p", ud, z(p.filelog_full_name), 1)),
8633
- b(_, {
8629
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (F(), W("p", u_, z(p.filelog_full_name), 1)),
8630
+ S(d, {
8634
8631
  type: "ElIconEdit",
8635
8632
  onClick: (m) => o.handleClickEditImageText(w)
8636
8633
  }, null, 8, ["onClick"])
8637
8634
  ])
8638
8635
  ]))), 128))
8639
8636
  ]),
8640
- b(g, {
8637
+ S(g, {
8641
8638
  background: "",
8642
8639
  onSizeChange: o.handleSizeChange,
8643
8640
  onCurrentChange: o.handleCurrentChange,
@@ -8649,20 +8646,20 @@ function dd(e, t, n, r, a, o) {
8649
8646
  ])
8650
8647
  ])
8651
8648
  ]),
8652
- D("div", fd, [
8653
- b(i, { onClick: o.handleClose }, {
8649
+ D("div", f_, [
8650
+ S(i, { onClick: o.handleClose }, {
8654
8651
  default: C(() => [...t[5] || (t[5] = [
8655
- V("取 消", -1)
8652
+ x("取 消", -1)
8656
8653
  ])]),
8657
8654
  _: 1
8658
8655
  }, 8, ["onClick"]),
8659
- b(i, {
8656
+ S(i, {
8660
8657
  type: "primary",
8661
8658
  onClick: o.handleConfirm,
8662
8659
  autoLoading: ""
8663
8660
  }, {
8664
8661
  default: C(() => [...t[6] || (t[6] = [
8665
- V("确 定", -1)
8662
+ x("确 定", -1)
8666
8663
  ])]),
8667
8664
  _: 1
8668
8665
  }, 8, ["onClick"])
@@ -8671,7 +8668,7 @@ function dd(e, t, n, r, a, o) {
8671
8668
  [T, a.isLoading]
8672
8669
  ]);
8673
8670
  }
8674
- const _d = /* @__PURE__ */ ge(ed, [["render", dd]]), md = {
8671
+ const d_ = /* @__PURE__ */ ge(e_, [["render", __]]), m_ = {
8675
8672
  name: "SdkManageImage",
8676
8673
  emits: ["update:modelValue", "update:initValue"],
8677
8674
  props: {
@@ -8716,12 +8713,15 @@ const _d = /* @__PURE__ */ ge(ed, [["render", dd]]), md = {
8716
8713
  this.$emit("update:initValue", e);
8717
8714
  }
8718
8715
  },
8716
+ mounted() {
8717
+ this.localValue = this.modelValue || "", this.localInitVal = this.initValue || "";
8718
+ },
8719
8719
  created() {
8720
8720
  },
8721
8721
  methods: {
8722
8722
  handleDiaImage(e) {
8723
8723
  this.$cvDialogRender(
8724
- _d,
8724
+ d_,
8725
8725
  { title: "选择图片", width: "1100px" },
8726
8726
  { limit: this.multiple ? this.limit : 1, initData: this.localValue },
8727
8727
  {
@@ -8741,20 +8741,20 @@ const _d = /* @__PURE__ */ ge(ed, [["render", dd]]), md = {
8741
8741
  ).show();
8742
8742
  }
8743
8743
  }
8744
- }, hd = { style: { display: "flex", "flex-direction": "column", gap: "10px" } };
8745
- function gd(e, t, n, r, a, o) {
8744
+ }, h_ = { style: { display: "flex", "flex-direction": "column", gap: "10px" } };
8745
+ function g_(e, t, n, r, a, o) {
8746
8746
  const s = L("cv-btn-base"), l = L("cv-upload-image");
8747
- return F(), W("view", hd, [
8748
- b(s, {
8747
+ return F(), W("view", h_, [
8748
+ S(s, {
8749
8749
  onClick: o.handleDiaImage,
8750
8750
  style: { width: "150px" }
8751
8751
  }, {
8752
8752
  default: C(() => [...t[2] || (t[2] = [
8753
- V("选择图片", -1)
8753
+ x("选择图片", -1)
8754
8754
  ])]),
8755
8755
  _: 1
8756
8756
  }, 8, ["onClick"]),
8757
- b(l, {
8757
+ S(l, {
8758
8758
  showBig: n.showBig,
8759
8759
  multiple: n.multiple,
8760
8760
  limit: n.limit,
@@ -8765,7 +8765,7 @@ function gd(e, t, n, r, a, o) {
8765
8765
  }, null, 8, ["showBig", "multiple", "limit", "modelValue", "initValue"])
8766
8766
  ]);
8767
8767
  }
8768
- const pd = /* @__PURE__ */ ge(md, [["render", gd]]), Ed = {
8768
+ const p_ = /* @__PURE__ */ ge(m_, [["render", g_]]), E_ = {
8769
8769
  emits: ["handleCallback", "close"],
8770
8770
  props: {
8771
8771
  // 选一个就关闭
@@ -8833,26 +8833,26 @@ const pd = /* @__PURE__ */ ge(md, [["render", gd]]), Ed = {
8833
8833
  this.$emit("close");
8834
8834
  }
8835
8835
  }
8836
- }, Sd = {
8836
+ }, b_ = {
8837
8837
  "element-loading-text": "加载中",
8838
8838
  "element-loading-spinner": "el-icon-loading",
8839
8839
  class: "cloud-dialog-choice-wrap"
8840
- }, bd = { style: { width: "100%", height: "500px" } }, vd = { class: "cloud-dia-choice-box" }, yd = { class: "cloud-dia-choice-left" }, Td = { class: "cloud-dia-choice-right" }, Ad = { style: { padding: "10px 20px 0 0", "text-align": "right", "box-sizing": "border-box" } };
8841
- function Nd(e, t, n, r, a, o) {
8842
- const s = L("el-input"), l = L("el-tree"), i = L("cv-input-text"), c = L("cv-form-item"), f = L("cv-btn-base"), u = L("cv-form-inline"), _ = L("cvTbColumnCheck"), g = L("cvTbColumnText"), T = L("cvTbColumnImg"), p = L("cv-btn-text"), w = L("cvTbColumnOpt"), m = L("cvTableBase"), E = na("loading");
8843
- return Rt((F(), W("div", Sd, [
8844
- D("div", bd, [
8845
- D("section", vd, [
8846
- D("section", yd, [
8840
+ }, S_ = { style: { width: "100%", height: "500px" } }, v_ = { class: "cloud-dia-choice-box" }, y_ = { class: "cloud-dia-choice-left" }, T_ = { class: "cloud-dia-choice-right" }, A_ = { style: { padding: "10px 20px 0 0", "text-align": "right", "box-sizing": "border-box" } };
8841
+ function N_(e, t, n, r, a, o) {
8842
+ const s = L("el-input"), l = L("el-tree"), i = L("cv-input-text"), c = L("cv-form-item"), f = L("cv-btn-base"), u = L("cv-form-inline"), d = L("cvTbColumnCheck"), g = L("cvTbColumnText"), T = L("cvTbColumnImg"), p = L("cv-btn-text"), w = L("cvTbColumnOpt"), m = L("cvTableBase"), E = na("loading");
8843
+ return Rt((F(), W("div", b_, [
8844
+ D("div", S_, [
8845
+ D("section", v_, [
8846
+ D("section", y_, [
8847
8847
  t[4] || (t[4] = D("div", { class: "cloud-dia-left-title" }, "分类", -1)),
8848
- b(s, {
8848
+ S(s, {
8849
8849
  class: "cloud-dia-left-filter",
8850
8850
  modelValue: a.leftFilterText,
8851
- "onUpdate:modelValue": t[0] || (t[0] = (S) => a.leftFilterText = S),
8851
+ "onUpdate:modelValue": t[0] || (t[0] = (b) => a.leftFilterText = b),
8852
8852
  placeholder: "请搜索",
8853
8853
  clearable: ""
8854
8854
  }, null, 8, ["modelValue"]),
8855
- b(l, {
8855
+ S(l, {
8856
8856
  ref: "refDiaSelectLeft",
8857
8857
  class: "cloud-dia-left-tree",
8858
8858
  data: a.leftTreeList,
@@ -8862,41 +8862,41 @@ function Nd(e, t, n, r, a, o) {
8862
8862
  onNodeClick: o.leftClickNode
8863
8863
  }, null, 8, ["data", "props", "filter-node-method", "onNodeClick"])
8864
8864
  ]),
8865
- D("section", Td, [
8866
- b(u, {
8865
+ D("section", T_, [
8866
+ S(u, {
8867
8867
  ref: "refFormBase",
8868
8868
  rules: a.rightSoRules,
8869
8869
  model: a.rightSoData
8870
8870
  }, {
8871
8871
  default: C(() => [
8872
- b(c, { label: "商品搜索" }, {
8872
+ S(c, { label: "商品搜索" }, {
8873
8873
  default: C(() => [
8874
- b(i, {
8874
+ S(i, {
8875
8875
  modelValue: a.rightSoData.key_goods_name,
8876
- "onUpdate:modelValue": t[1] || (t[1] = (S) => a.rightSoData.key_goods_name = S),
8876
+ "onUpdate:modelValue": t[1] || (t[1] = (b) => a.rightSoData.key_goods_name = b),
8877
8877
  placeholder: "请输入商品名称,关键字"
8878
8878
  }, null, 8, ["modelValue"])
8879
8879
  ]),
8880
8880
  _: 1
8881
8881
  }),
8882
- b(c, null, {
8882
+ S(c, null, {
8883
8883
  default: C(() => [
8884
- b(f, {
8884
+ S(f, {
8885
8885
  icon: "ElIconSearch",
8886
8886
  type: "primary",
8887
- onClick: t[2] || (t[2] = (S) => e.$refs.refDiaSelectTb.searchSubmit(a.rightSoData))
8887
+ onClick: t[2] || (t[2] = (b) => e.$refs.refDiaSelectTb.searchSubmit(a.rightSoData))
8888
8888
  }, {
8889
8889
  default: C(() => [...t[5] || (t[5] = [
8890
- V(" 搜索 ", -1)
8890
+ x(" 搜索 ", -1)
8891
8891
  ])]),
8892
8892
  _: 1
8893
8893
  }),
8894
- b(f, {
8894
+ S(f, {
8895
8895
  icon: "el-icon-refresh-left",
8896
- onClick: t[3] || (t[3] = (S) => (a.rightSoData = {}, e.$refs.refDiaSelectTb.searchSubmit()))
8896
+ onClick: t[3] || (t[3] = (b) => (a.rightSoData = {}, e.$refs.refDiaSelectTb.searchSubmit()))
8897
8897
  }, {
8898
8898
  default: C(() => [...t[6] || (t[6] = [
8899
- V(" 重置 ", -1)
8899
+ x(" 重置 ", -1)
8900
8900
  ])]),
8901
8901
  _: 1
8902
8902
  })
@@ -8906,48 +8906,48 @@ function Nd(e, t, n, r, a, o) {
8906
8906
  ]),
8907
8907
  _: 1
8908
8908
  }, 8, ["rules", "model"]),
8909
- b(m, {
8909
+ S(m, {
8910
8910
  ref: "refDiaSelectTb",
8911
8911
  tableConfig: a.tableConfig,
8912
8912
  tableRefresh: a.tableRefresh,
8913
8913
  height: "390"
8914
8914
  }, {
8915
8915
  default: C(() => [
8916
- b(_, { label: "选择" }),
8917
- b(g, {
8916
+ S(d, { label: "选择" }),
8917
+ S(g, {
8918
8918
  label: "商品分类",
8919
8919
  prop: "cat_name"
8920
8920
  }),
8921
- b(T, {
8921
+ S(T, {
8922
8922
  label: "封面图",
8923
8923
  prop: "goods_thumb_cdn"
8924
8924
  }),
8925
- b(g, {
8925
+ S(g, {
8926
8926
  label: "商品ID",
8927
8927
  prop: "goods_id"
8928
8928
  }),
8929
- b(g, {
8929
+ S(g, {
8930
8930
  label: "商品名称",
8931
8931
  prop: "goods_name"
8932
8932
  }),
8933
- b(g, {
8933
+ S(g, {
8934
8934
  label: "商品售价",
8935
8935
  prop: "goods_price_market"
8936
8936
  }),
8937
- b(g, {
8937
+ S(g, {
8938
8938
  label: "扩展ID",
8939
8939
  prop: "goods_expand_id"
8940
8940
  }),
8941
- b(w, {
8941
+ S(w, {
8942
8942
  label: "操作",
8943
8943
  width: "100"
8944
8944
  }, {
8945
- default: C(({ row: S, $index: y }) => [
8946
- b(p, {
8947
- onClick: (k) => o.handleSelect(S)
8945
+ default: C(({ row: b, $index: y }) => [
8946
+ S(p, {
8947
+ onClick: (k) => o.handleSelect(b)
8948
8948
  }, {
8949
8949
  default: C(() => [...t[7] || (t[7] = [
8950
- V("选择", -1)
8950
+ x("选择", -1)
8951
8951
  ])]),
8952
8952
  _: 1
8953
8953
  }, 8, ["onClick"])
@@ -8960,20 +8960,20 @@ function Nd(e, t, n, r, a, o) {
8960
8960
  ])
8961
8961
  ])
8962
8962
  ]),
8963
- D("div", Ad, [
8964
- b(f, { onClick: o.handleClose }, {
8963
+ D("div", A_, [
8964
+ S(f, { onClick: o.handleClose }, {
8965
8965
  default: C(() => [...t[8] || (t[8] = [
8966
- V("取 消", -1)
8966
+ x("取 消", -1)
8967
8967
  ])]),
8968
8968
  _: 1
8969
8969
  }, 8, ["onClick"]),
8970
- b(f, {
8970
+ S(f, {
8971
8971
  type: "primary",
8972
8972
  onClick: o.handleConfirm,
8973
8973
  autoLoading: ""
8974
8974
  }, {
8975
8975
  default: C(() => [...t[9] || (t[9] = [
8976
- V("确 定", -1)
8976
+ x("确 定", -1)
8977
8977
  ])]),
8978
8978
  _: 1
8979
8979
  }, 8, ["onClick"])
@@ -8982,7 +8982,7 @@ function Nd(e, t, n, r, a, o) {
8982
8982
  [E, a.isLoading]
8983
8983
  ]);
8984
8984
  }
8985
- const zd = /* @__PURE__ */ ge(Ed, [["render", Nd]]), Cd = {
8985
+ const z_ = /* @__PURE__ */ ge(E_, [["render", N_]]), C_ = {
8986
8986
  emits: ["handleCallback", "close"],
8987
8987
  props: {
8988
8988
  // 选一个就关闭
@@ -9050,26 +9050,26 @@ const zd = /* @__PURE__ */ ge(Ed, [["render", Nd]]), Cd = {
9050
9050
  this.$emit("close");
9051
9051
  }
9052
9052
  }
9053
- }, Od = {
9053
+ }, O_ = {
9054
9054
  "element-loading-text": "加载中",
9055
9055
  "element-loading-spinner": "el-icon-loading",
9056
9056
  class: "cloud-dialog-choice-wrap"
9057
- }, Id = { style: { width: "100%", height: "500px" } }, Ld = { class: "cloud-dia-choice-box" }, wd = { class: "cloud-dia-choice-left" }, Dd = { class: "cloud-dia-choice-right" }, kd = { style: { padding: "10px 20px 0 0", "text-align": "right", "box-sizing": "border-box" } };
9058
- function Rd(e, t, n, r, a, o) {
9059
- const s = L("el-input"), l = L("el-tree"), i = L("cv-input-text"), c = L("cv-form-item"), f = L("cv-btn-base"), u = L("cv-form-inline"), _ = L("cvTbColumnCheck"), g = L("cvTbColumnText"), T = L("cvTbColumnImg"), p = L("cv-btn-text"), w = L("cvTbColumnOpt"), m = L("cvTableBase"), E = na("loading");
9060
- return Rt((F(), W("div", Od, [
9061
- D("div", Id, [
9062
- D("section", Ld, [
9063
- D("section", wd, [
9057
+ }, I_ = { style: { width: "100%", height: "500px" } }, L_ = { class: "cloud-dia-choice-box" }, w_ = { class: "cloud-dia-choice-left" }, D_ = { class: "cloud-dia-choice-right" }, k_ = { style: { padding: "10px 20px 0 0", "text-align": "right", "box-sizing": "border-box" } };
9058
+ function R_(e, t, n, r, a, o) {
9059
+ const s = L("el-input"), l = L("el-tree"), i = L("cv-input-text"), c = L("cv-form-item"), f = L("cv-btn-base"), u = L("cv-form-inline"), d = L("cvTbColumnCheck"), g = L("cvTbColumnText"), T = L("cvTbColumnImg"), p = L("cv-btn-text"), w = L("cvTbColumnOpt"), m = L("cvTableBase"), E = na("loading");
9060
+ return Rt((F(), W("div", O_, [
9061
+ D("div", I_, [
9062
+ D("section", L_, [
9063
+ D("section", w_, [
9064
9064
  t[4] || (t[4] = D("div", { class: "cloud-dia-left-title" }, "部门", -1)),
9065
- b(s, {
9065
+ S(s, {
9066
9066
  class: "cloud-dia-left-filter",
9067
9067
  modelValue: a.leftFilterText,
9068
- "onUpdate:modelValue": t[0] || (t[0] = (S) => a.leftFilterText = S),
9068
+ "onUpdate:modelValue": t[0] || (t[0] = (b) => a.leftFilterText = b),
9069
9069
  placeholder: "请搜索",
9070
9070
  clearable: ""
9071
9071
  }, null, 8, ["modelValue"]),
9072
- b(l, {
9072
+ S(l, {
9073
9073
  ref: "refDiaSelectLeft",
9074
9074
  class: "cloud-dia-left-tree",
9075
9075
  data: a.leftTreeList,
@@ -9079,40 +9079,40 @@ function Rd(e, t, n, r, a, o) {
9079
9079
  onNodeClick: o.leftClickNode
9080
9080
  }, null, 8, ["data", "props", "filter-node-method", "onNodeClick"])
9081
9081
  ]),
9082
- D("section", Dd, [
9083
- b(u, {
9082
+ D("section", D_, [
9083
+ S(u, {
9084
9084
  ref: "refFormBase",
9085
9085
  rules: a.rightSoRules,
9086
9086
  model: a.rightSoData
9087
9087
  }, {
9088
9088
  default: C(() => [
9089
- b(c, { label: "名称" }, {
9089
+ S(c, { label: "名称" }, {
9090
9090
  default: C(() => [
9091
- b(i, {
9091
+ S(i, {
9092
9092
  modelValue: a.rightSoData.key_staff_name,
9093
- "onUpdate:modelValue": t[1] || (t[1] = (S) => a.rightSoData.key_staff_name = S)
9093
+ "onUpdate:modelValue": t[1] || (t[1] = (b) => a.rightSoData.key_staff_name = b)
9094
9094
  }, null, 8, ["modelValue"])
9095
9095
  ]),
9096
9096
  _: 1
9097
9097
  }),
9098
- b(c, null, {
9098
+ S(c, null, {
9099
9099
  default: C(() => [
9100
- b(f, {
9100
+ S(f, {
9101
9101
  icon: "ElIconSearch",
9102
9102
  type: "primary",
9103
- onClick: t[2] || (t[2] = (S) => e.$refs.refDiaSelectTb.searchSubmit(a.rightSoData))
9103
+ onClick: t[2] || (t[2] = (b) => e.$refs.refDiaSelectTb.searchSubmit(a.rightSoData))
9104
9104
  }, {
9105
9105
  default: C(() => [...t[5] || (t[5] = [
9106
- V(" 搜索 ", -1)
9106
+ x(" 搜索 ", -1)
9107
9107
  ])]),
9108
9108
  _: 1
9109
9109
  }),
9110
- b(f, {
9110
+ S(f, {
9111
9111
  icon: "el-icon-refresh-left",
9112
- onClick: t[3] || (t[3] = (S) => (a.rightSoData = {}, e.$refs.refDiaSelectTb.searchSubmit()))
9112
+ onClick: t[3] || (t[3] = (b) => (a.rightSoData = {}, e.$refs.refDiaSelectTb.searchSubmit()))
9113
9113
  }, {
9114
9114
  default: C(() => [...t[6] || (t[6] = [
9115
- V(" 重置 ", -1)
9115
+ x(" 重置 ", -1)
9116
9116
  ])]),
9117
9117
  _: 1
9118
9118
  })
@@ -9122,50 +9122,50 @@ function Rd(e, t, n, r, a, o) {
9122
9122
  ]),
9123
9123
  _: 1
9124
9124
  }, 8, ["rules", "model"]),
9125
- b(m, {
9125
+ S(m, {
9126
9126
  ref: "refDiaSelectTb",
9127
9127
  tableConfig: a.tableConfig,
9128
9128
  tableRefresh: a.tableRefresh,
9129
9129
  height: "390"
9130
9130
  }, {
9131
9131
  default: C(() => [
9132
- b(_, { label: "选择" }),
9133
- b(g, {
9132
+ S(d, { label: "选择" }),
9133
+ S(g, {
9134
9134
  label: "ID",
9135
9135
  prop: "staff_id",
9136
9136
  width: "80"
9137
9137
  }),
9138
- b(g, {
9138
+ S(g, {
9139
9139
  label: "名称",
9140
9140
  prop: "staff_name"
9141
9141
  }),
9142
- b(T, {
9142
+ S(T, {
9143
9143
  label: "头像",
9144
9144
  prop: "staff_avatar_cdn"
9145
9145
  }),
9146
- b(g, {
9146
+ S(g, {
9147
9147
  label: "部门",
9148
9148
  prop: "dept_name"
9149
9149
  }),
9150
- b(g, {
9150
+ S(g, {
9151
9151
  label: "角色",
9152
9152
  prop: "role_name"
9153
9153
  }),
9154
- b(g, {
9154
+ S(g, {
9155
9155
  label: "性别",
9156
9156
  prop: "staff_sex",
9157
9157
  width: "60"
9158
9158
  }),
9159
- b(w, {
9159
+ S(w, {
9160
9160
  label: "操作",
9161
9161
  width: "100"
9162
9162
  }, {
9163
- default: C(({ row: S, $index: y }) => [
9164
- b(p, {
9165
- onClick: (k) => o.handleSelect(S)
9163
+ default: C(({ row: b, $index: y }) => [
9164
+ S(p, {
9165
+ onClick: (k) => o.handleSelect(b)
9166
9166
  }, {
9167
9167
  default: C(() => [...t[7] || (t[7] = [
9168
- V("选择", -1)
9168
+ x("选择", -1)
9169
9169
  ])]),
9170
9170
  _: 1
9171
9171
  }, 8, ["onClick"])
@@ -9178,20 +9178,20 @@ function Rd(e, t, n, r, a, o) {
9178
9178
  ])
9179
9179
  ])
9180
9180
  ]),
9181
- D("div", kd, [
9182
- b(f, { onClick: o.handleClose }, {
9181
+ D("div", k_, [
9182
+ S(f, { onClick: o.handleClose }, {
9183
9183
  default: C(() => [...t[8] || (t[8] = [
9184
- V("取 消", -1)
9184
+ x("取 消", -1)
9185
9185
  ])]),
9186
9186
  _: 1
9187
9187
  }, 8, ["onClick"]),
9188
- b(f, {
9188
+ S(f, {
9189
9189
  type: "primary",
9190
9190
  onClick: o.handleConfirm,
9191
9191
  autoLoading: ""
9192
9192
  }, {
9193
9193
  default: C(() => [...t[9] || (t[9] = [
9194
- V("确 定", -1)
9194
+ x("确 定", -1)
9195
9195
  ])]),
9196
9196
  _: 1
9197
9197
  }, 8, ["onClick"])
@@ -9200,7 +9200,7 @@ function Rd(e, t, n, r, a, o) {
9200
9200
  [E, a.isLoading]
9201
9201
  ]);
9202
9202
  }
9203
- const Zd = /* @__PURE__ */ ge(Cd, [["render", Rd]]);
9203
+ const Z_ = /* @__PURE__ */ ge(C_, [["render", R_]]);
9204
9204
  (function() {
9205
9205
  if (typeof EventTarget < "u") {
9206
9206
  let e = EventTarget.prototype.addEventListener;
@@ -9209,7 +9209,7 @@ const Zd = /* @__PURE__ */ ge(Cd, [["render", Rd]]);
9209
9209
  };
9210
9210
  }
9211
9211
  })();
9212
- var Pd = {
9212
+ var P_ = {
9213
9213
  methods: {
9214
9214
  // 打开协议
9215
9215
  jumpsXieyi(e) {
@@ -9262,8 +9262,8 @@ var Pd = {
9262
9262
  }
9263
9263
  }
9264
9264
  };
9265
- function Fd(e) {
9266
- e.mixin(Pd);
9265
+ function F_(e) {
9266
+ e.mixin(P_);
9267
9267
  }
9268
9268
  function Cr(e, t, n) {
9269
9269
  const r = t.value;
@@ -9272,7 +9272,7 @@ function Cr(e, t, n) {
9272
9272
  else
9273
9273
  throw new Error(`需要指定权限标识! 如:v-auth="'xxxx_add'" 或 v-auth="['xxxx_xxx']"`);
9274
9274
  }
9275
- function Md(e, t, n) {
9275
+ function M_(e, t, n) {
9276
9276
  n = n || "vue3", n == "vue2" ? e.directive("auth", {
9277
9277
  inserted: Cr
9278
9278
  }) : e.directive("auth", {
@@ -9280,7 +9280,7 @@ function Md(e, t, n) {
9280
9280
  }), t.$_auth = Mo;
9281
9281
  }
9282
9282
  /*! Element Plus v2.11.5 */
9283
- var Ud = {
9283
+ var U_ = {
9284
9284
  name: "zh-cn",
9285
9285
  el: {
9286
9286
  breadcrumb: {
@@ -9462,17 +9462,17 @@ var Ud = {
9462
9462
  }
9463
9463
  }
9464
9464
  };
9465
- function xd(e) {
9465
+ function V_(e) {
9466
9466
  e.use(zo, {
9467
9467
  // size: 'default',
9468
- locale: Ud
9468
+ locale: U_
9469
9469
  });
9470
9470
  for (const [t, n] of Object.entries(ts))
9471
9471
  e.component("ElIcon" + t, n);
9472
9472
  }
9473
- const Vd = "__syCacheSdkConfig__";
9474
- async function Bd(e) {
9475
- const t = await I.idbGetItem(Vd), n = {
9473
+ const x_ = "__syCacheSdkConfig__";
9474
+ async function B_(e) {
9475
+ const t = await I.idbGetItem(x_), n = {
9476
9476
  // upAction: lastConfig.VITE_SY_API_URL + 'sdks.sdk_file/common/upload_image',
9477
9477
  signatureFn: ue.flagPost("SDK_FILE_COMMON_UPLOAD_SIGNATURE"),
9478
9478
  upHeaders: {
@@ -9540,26 +9540,26 @@ async function Bd(e) {
9540
9540
  for (const [r, a] of Object.entries(as))
9541
9541
  e.component("cvSvg" + r, a);
9542
9542
  }
9543
- async function e_(e, t) {
9543
+ async function ed(e, t) {
9544
9544
  os(t), Po(e), Ft().init(), Ge().init(), await an().init(), await Te().init();
9545
9545
  }
9546
- async function t_(e, t, n, r, a = "", o = null) {
9546
+ async function td(e, t, n, r, a = "", o = null) {
9547
9547
  rn().init(r), on().init(n);
9548
9548
  let s = e.config.globalProperties;
9549
9549
  s.$onLaunched = new Promise((i) => {
9550
9550
  s.$isResolve = i;
9551
- }), s.$request = ue, s.$cache = I, xd(e), await Bd(e), Md(e, s), e.mixin(Lu()), e.component("SdkFormEdit", Zf), e.component("SdkManageImage", pd), Fd(e), await Gd(t, r, a), e.use(wo);
9551
+ }), s.$request = ue, s.$cache = I, V_(e), await B_(e), M_(e, s), e.mixin(Lu()), e.component("SdkFormEdit", Zf), e.component("SdkManageImage", p_), F_(e), await G_(t, r, a), e.use(wo);
9552
9552
  let l = Ft().SA_LANGUAGE_GET();
9553
9553
  zc(l, o), window.$t = Xe.t;
9554
9554
  }
9555
- async function Gd(e, t, n) {
9555
+ async function G_(e, t, n) {
9556
9556
  const r = Ct(), a = Te(), o = rn(), s = on();
9557
9557
  r.QK_SEND_MSG_REG_SUBMENU(t);
9558
9558
  let l = Jt().syProductSign || "";
9559
9559
  s.SA_PERMS_ROUTER_ADD(e, l), o.SA_MENU_PARSE(), r.QK_SEND_MSG_ROUTER_BEFORE(n);
9560
9560
  let i = !1, c = !1, f = !1;
9561
- e.beforeEach((u, _, g) => {
9562
- const T = u.path || "", p = _.path, w = u.query || {};
9561
+ e.beforeEach((u, d, g) => {
9562
+ const T = u.path || "", p = d.path, w = u.query || {};
9563
9563
  let m = a.accountIsLogin;
9564
9564
  if (pe.__POWERED_BY_QIANKUN__ && (m = a.SA_ACCOUNT_IS_LOGGED()), w.token, m) {
9565
9565
  if (i || (o.SA_MENU_PARSE(), i = !0), p == "/" && T == "/none") {
@@ -9576,7 +9576,7 @@ async function Gd(e, t, n) {
9576
9576
  g();
9577
9577
  }
9578
9578
  }), e.isReady().then(async () => {
9579
- }), e.afterEach(function(u, _) {
9579
+ }), e.afterEach(function(u, d) {
9580
9580
  var g;
9581
9581
  if ((g = u == null ? void 0 : u.meta) != null && g.title && !pe.__POWERED_BY_QIANKUN__) {
9582
9582
  let T = "管理系统", p = u.meta.title;
@@ -9584,7 +9584,7 @@ async function Gd(e, t, n) {
9584
9584
  }
9585
9585
  });
9586
9586
  }
9587
- async function n_(e, t, n) {
9587
+ async function nd(e, t, n) {
9588
9588
  pe.__POWERED_BY_QIANKUN__ ? gi(e, t, n) : t();
9589
9589
  }
9590
9590
  export {
@@ -9596,21 +9596,21 @@ export {
9596
9596
  Te as c,
9597
9597
  an as d,
9598
9598
  Jt as e,
9599
- Qd as f,
9599
+ Q_ as f,
9600
9600
  Uu as g,
9601
- Jd as h,
9602
- zd as i,
9603
- Zd as j,
9604
- _d as k,
9601
+ J_ as h,
9602
+ z_ as i,
9603
+ Z_ as j,
9604
+ d_ as k,
9605
9605
  Ct as l,
9606
9606
  Ro as m,
9607
9607
  rn as n,
9608
9608
  on as o,
9609
9609
  Po as p,
9610
9610
  pe as q,
9611
- e_ as r,
9611
+ ed as r,
9612
9612
  os as s,
9613
- t_ as t,
9613
+ td as t,
9614
9614
  Ft as u,
9615
- n_ as v
9615
+ nd as v
9616
9616
  };