smarteye-e-components 0.0.52 → 0.0.54

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.
@@ -324,32 +324,32 @@ function Wo(e, t) {
324
324
  };
325
325
  let a = n.body;
326
326
  [n, r].forEach((g) => {
327
- const p = [], O = g.hFlip, E = g.vFlip;
327
+ const O = [], p = g.hFlip, h = g.vFlip;
328
328
  let N = g.rotate;
329
- O ? E ? N += 2 : (p.push(
329
+ p ? h ? N += 2 : (O.push(
330
330
  "translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
331
- ), p.push("scale(-1 1)"), o.top = o.left = 0) : E && (p.push(
331
+ ), O.push("scale(-1 1)"), o.top = o.left = 0) : h && (O.push(
332
332
  "translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
333
- ), p.push("scale(1 -1)"), o.top = o.left = 0);
333
+ ), O.push("scale(1 -1)"), o.top = o.left = 0);
334
334
  let b;
335
335
  switch (N < 0 && (N -= Math.floor(N / 4) * 4), N = N % 4, N) {
336
336
  case 1:
337
- b = o.height / 2 + o.top, p.unshift(
337
+ b = o.height / 2 + o.top, O.unshift(
338
338
  "rotate(90 " + b.toString() + " " + b.toString() + ")"
339
339
  );
340
340
  break;
341
341
  case 2:
342
- p.unshift(
342
+ O.unshift(
343
343
  "rotate(180 " + (o.width / 2 + o.left).toString() + " " + (o.height / 2 + o.top).toString() + ")"
344
344
  );
345
345
  break;
346
346
  case 3:
347
- b = o.width / 2 + o.left, p.unshift(
347
+ b = o.width / 2 + o.left, O.unshift(
348
348
  "rotate(-90 " + b.toString() + " " + b.toString() + ")"
349
349
  );
350
350
  break;
351
351
  }
352
- N % 2 === 1 && (o.left !== o.top && (b = o.left, o.left = o.top, o.top = b), o.width !== o.height && (b = o.width, o.width = o.height, o.height = b)), p.length && (a = '<g transform="' + p.join(" ") + '">' + a + "</g>");
352
+ N % 2 === 1 && (o.left !== o.top && (b = o.left, o.left = o.top, o.top = b), o.width !== o.height && (b = o.width, o.width = o.height, o.height = b)), O.length && (a = '<g transform="' + O.join(" ") + '">' + a + "</g>");
353
353
  });
354
354
  const s = r.width, l = r.height, i = o.width, c = o.height;
355
355
  let u, d;
@@ -427,10 +427,10 @@ function St(e) {
427
427
  }
428
428
  const qo = (e, t) => {
429
429
  const n = $o(yt, t), r = { ...Jo }, o = t.mode || "svg", a = {}, s = t.style, l = typeof s == "object" && !(s instanceof Array) ? s : {};
430
- for (let O in t) {
431
- const E = t[O];
432
- if (E !== void 0)
433
- switch (O) {
430
+ for (let p in t) {
431
+ const h = t[p];
432
+ if (h !== void 0)
433
+ switch (p) {
434
434
  case "icon":
435
435
  case "style":
436
436
  case "onLoad":
@@ -439,24 +439,24 @@ const qo = (e, t) => {
439
439
  case "inline":
440
440
  case "hFlip":
441
441
  case "vFlip":
442
- n[O] = E === !0 || E === "true" || E === 1;
442
+ n[p] = h === !0 || h === "true" || h === 1;
443
443
  break;
444
444
  case "flip":
445
- typeof E == "string" && Vo(n, E);
445
+ typeof h == "string" && Vo(n, h);
446
446
  break;
447
447
  case "color":
448
- a.color = E;
448
+ a.color = h;
449
449
  break;
450
450
  case "rotate":
451
- typeof E == "string" ? n[O] = Uo(E) : typeof E == "number" && (n[O] = E);
451
+ typeof h == "string" ? n[p] = Uo(h) : typeof h == "number" && (n[p] = h);
452
452
  break;
453
453
  case "ariaHidden":
454
454
  case "aria-hidden":
455
- E !== !0 && E !== "true" && delete r["aria-hidden"];
455
+ h !== !0 && h !== "true" && delete r["aria-hidden"];
456
456
  break;
457
457
  default: {
458
- const N = Re[O];
459
- N ? (E === !0 || E === "true" || E === 1) && (n[N] = !0) : yt[O] === void 0 && (r[O] = E);
458
+ const N = Re[p];
459
+ N ? (h === !0 || h === "true" || h === 1) && (n[N] = !0) : yt[p] === void 0 && (r[p] = h);
460
460
  }
461
461
  }
462
462
  }
@@ -466,17 +466,17 @@ const qo = (e, t) => {
466
466
  ...a,
467
467
  ...l
468
468
  }, Object.assign(r, c);
469
- let O = 0, E = t.id;
470
- return typeof E == "string" && (E = E.replace(/-/g, "_")), r.innerHTML = Yo(i.body, E ? () => E + "ID" + O++ : "iconifyVue"), Fe("svg", r);
469
+ let p = 0, h = t.id;
470
+ return typeof h == "string" && (h = h.replace(/-/g, "_")), r.innerHTML = Yo(i.body, h ? () => h + "ID" + p++ : "iconifyVue"), Fe("svg", r);
471
471
  }
472
- const { body: u, width: d, height: _ } = e, g = o === "mask" || (o === "bg" ? !1 : u.indexOf("currentColor") !== -1), p = zo(u, {
472
+ const { body: u, width: d, height: _ } = e, g = o === "mask" || (o === "bg" ? !1 : u.indexOf("currentColor") !== -1), O = zo(u, {
473
473
  ...c,
474
474
  width: d + "",
475
475
  height: _ + ""
476
476
  });
477
477
  return r.style = {
478
478
  ...a,
479
- "--svg": Xo(p),
479
+ "--svg": Xo(O),
480
480
  width: St(c.width),
481
481
  height: St(c.height),
482
482
  ...Qo,
@@ -614,11 +614,11 @@ const hr = _e({
614
614
  setup(e, t) {
615
615
  const n = M(), r = fn("theme"), o = {
616
616
  filterDevice(u) {
617
- var d, _, g, p, O;
618
- let E = !0;
619
- (d = e.controlParams) != null && d.searchStr && (E = u.name.indexOf((_ = e.controlParams) == null ? void 0 : _.searchStr) >= 0 || u.id.indexOf((g = e.controlParams) == null ? void 0 : g.searchStr) >= 0 || typeof u.user == "string" && u.user.indexOf((p = e.controlParams) == null ? void 0 : p.searchStr) >= 0);
617
+ var d, _, g, O, p;
618
+ let h = !0;
619
+ (d = e.controlParams) != null && d.searchStr && (h = u.name.indexOf((_ = e.controlParams) == null ? void 0 : _.searchStr) >= 0 || u.id.indexOf((g = e.controlParams) == null ? void 0 : g.searchStr) >= 0 || typeof u.user == "string" && u.user.indexOf((O = e.controlParams) == null ? void 0 : O.searchStr) >= 0);
620
620
  let N = !0;
621
- return (O = e.controlParams) != null && O.onlyShowOnline && (N = u.online), E && N;
621
+ return (p = e.controlParams) != null && p.onlyShowOnline && (N = u.online), h && N;
622
622
  },
623
623
  deviceText(u) {
624
624
  return u.user ? u.name.length > 0 ? `${u.user} [${u.id}] [${u.name}]` : `${u.user} [${u.id}] []` : u.name.length > 0 ? `${u.name} [${u.id}]` : ` [${u.id}]`;
@@ -630,8 +630,8 @@ const hr = _e({
630
630
  }, a = {
631
631
  filteredDevices: W(() => {
632
632
  var u;
633
- const d = (u = e.deviceGroup) == null ? void 0 : u.devices, _ = d && d.filter((p) => o.filterDevice(p)) || [];
634
- return _.filter((p) => p.online).concat(_.filter((p) => !p.online));
633
+ const d = (u = e.deviceGroup) == null ? void 0 : u.devices, _ = d && d.filter((O) => o.filterDevice(O)) || [];
634
+ return _.filter((O) => O.online).concat(_.filter((O) => !O.online));
635
635
  })
636
636
  }, s = W(() => a.filteredDevices.value.length > 10 ? "400px" : `${a.filteredDevices.value.length * 40}px`);
637
637
  function l(u, d) {
@@ -690,19 +690,19 @@ function Ir(e, t, n, r, o, a) {
690
690
  ref: "countRef"
691
691
  }, {
692
692
  default: ce(({ online: d, total: _ }) => {
693
- var g, p;
693
+ var g, O;
694
694
  return [
695
695
  e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (A(), F("span", vr, [
696
696
  se(l, {
697
697
  icon: e.bShow ? "minus" : "plus",
698
698
  width: "20",
699
- onClick: t[0] || (t[0] = (O) => e.bShow = !e.bShow),
699
+ onClick: t[0] || (t[0] = (p) => e.bShow = !e.bShow),
700
700
  class: "handle-ls-svg"
701
701
  }, null, 8, ["icon"])
702
702
  ])) : (A(), F("span", Er)),
703
703
  C("span", {
704
704
  class: "group-head-db-click",
705
- onDblclick: t[1] || (t[1] = (O) => e.bShow = !e.bShow)
705
+ onDblclick: t[1] || (t[1] = (p) => e.bShow = !e.bShow)
706
706
  }, [
707
707
  se(l, {
708
708
  icon: e.bShow ? "group" : "group-closed",
@@ -712,7 +712,7 @@ function Ir(e, t, n, r, o, a) {
712
712
  e.bShow ? Be("", !0) : (A(), F("span", Or, ue((g = e.deviceGroup) == null ? void 0 : g.items.length), 1)),
713
713
  C("span", {
714
714
  class: "group-name",
715
- title: (p = e.deviceGroup) == null ? void 0 : p.name
715
+ title: (O = e.deviceGroup) == null ? void 0 : O.name
716
716
  }, ue(e.innerUtils.groupText(e.deviceGroup)), 9, Nr)
717
717
  ], 32),
718
718
  C("div", br, [
@@ -731,10 +731,10 @@ function Ir(e, t, n, r, o, a) {
731
731
  group: ce(({ group: g }) => [
732
732
  oe(e.$slots, "group", { group: g }, void 0, !0)
733
733
  ]),
734
- device: ce(({ device: g, group: p }) => [
734
+ device: ce(({ device: g, group: O }) => [
735
735
  oe(e.$slots, "device", {
736
736
  device: g,
737
- group: p
737
+ group: O
738
738
  }, void 0, !0)
739
739
  ]),
740
740
  _: 2
@@ -830,7 +830,7 @@ const Ur = Object.prototype.hasOwnProperty;
830
830
  function _t(e, t) {
831
831
  return Ur.call(e, t);
832
832
  }
833
- const k = Array.isArray, $ = (e) => typeof e == "function", v = (e) => typeof e == "string", P = (e) => typeof e == "boolean", S = (e) => e !== null && typeof e == "object", On = Object.prototype.toString, dt = (e) => On.call(e), y = (e) => dt(e) === "[object Object]", xr = (e) => e == null ? "" : k(e) || y(e) && e.toString === On ? JSON.stringify(e, null, 2) : String(e), Ft = 2;
833
+ const k = Array.isArray, $ = (e) => typeof e == "function", E = (e) => typeof e == "string", P = (e) => typeof e == "boolean", S = (e) => e !== null && typeof e == "object", On = Object.prototype.toString, dt = (e) => On.call(e), y = (e) => dt(e) === "[object Object]", xr = (e) => e == null ? "" : k(e) || y(e) && e.toString === On ? JSON.stringify(e, null, 2) : String(e), Ft = 2;
834
834
  function Gr(e, t = 0, n = e.length) {
835
835
  const r = e.split(/\r?\n/);
836
836
  let o = 0;
@@ -1035,9 +1035,9 @@ function Kr(e) {
1035
1035
  }
1036
1036
  };
1037
1037
  function g() {
1038
- const p = e[n + 1];
1039
- if (r === 5 && p === "'" || r === 6 && p === '"')
1040
- return n++, l = "\\" + p, _[0](), !0;
1038
+ const O = e[n + 1];
1039
+ if (r === 5 && O === "'" || r === 6 && O === '"')
1040
+ return n++, l = "\\" + O, _[0](), !0;
1041
1041
  }
1042
1042
  for (; r !== null; )
1043
1043
  if (n++, a = e[n], !(a === "\\" && g())) {
@@ -1079,30 +1079,30 @@ function os(e, t) {
1079
1079
  t.count || (t.count = e), t.n || (t.n = e);
1080
1080
  }
1081
1081
  function rs(e = {}) {
1082
- const t = e.locale, n = ns(e), r = S(e.pluralRules) && v(t) && $(e.pluralRules[t]) ? e.pluralRules[t] : Mt, o = S(e.pluralRules) && v(t) && $(e.pluralRules[t]) ? Mt : void 0, a = (N) => N[r(n, N.length, o)], s = e.list || [], l = (N) => s[N], i = e.named || {};
1082
+ const t = e.locale, n = ns(e), r = S(e.pluralRules) && E(t) && $(e.pluralRules[t]) ? e.pluralRules[t] : Mt, o = S(e.pluralRules) && E(t) && $(e.pluralRules[t]) ? Mt : void 0, a = (N) => N[r(n, N.length, o)], s = e.list || [], l = (N) => s[N], i = e.named || {};
1083
1083
  V(e.pluralIndex) && os(n, i);
1084
1084
  const c = (N) => i[N];
1085
1085
  function u(N) {
1086
1086
  const b = $(e.messages) ? e.messages(N) : S(e.messages) ? e.messages[N] : !1;
1087
1087
  return b || (e.parent ? e.parent.message(N) : qr);
1088
1088
  }
1089
- const d = (N) => e.modifiers ? e.modifiers[N] : Qr, _ = y(e.processor) && $(e.processor.normalize) ? e.processor.normalize : es, g = y(e.processor) && $(e.processor.interpolate) ? e.processor.interpolate : ts, p = y(e.processor) && v(e.processor.type) ? e.processor.type : Zr, E = {
1089
+ const d = (N) => e.modifiers ? e.modifiers[N] : Qr, _ = y(e.processor) && $(e.processor.normalize) ? e.processor.normalize : es, g = y(e.processor) && $(e.processor.interpolate) ? e.processor.interpolate : ts, O = y(e.processor) && E(e.processor.type) ? e.processor.type : Zr, h = {
1090
1090
  list: l,
1091
1091
  named: c,
1092
1092
  plural: a,
1093
1093
  linked: (N, ...b) => {
1094
- const [I, T] = b;
1095
- let h = "text", w = "";
1096
- b.length === 1 ? S(I) ? (w = I.modifier || w, h = I.type || h) : v(I) && (w = I || w) : b.length === 2 && (v(I) && (w = I || w), v(T) && (h = T || h));
1097
- let L = u(N)(E);
1098
- return h === "vnode" && k(L) && w && (L = L[0]), w ? d(w)(L, h) : L;
1094
+ const [L, T] = b;
1095
+ let v = "text", w = "";
1096
+ b.length === 1 ? S(L) ? (w = L.modifier || w, v = L.type || v) : E(L) && (w = L || w) : b.length === 2 && (E(L) && (w = L || w), E(T) && (v = T || v));
1097
+ let I = u(N)(h);
1098
+ return v === "vnode" && k(I) && w && (I = I[0]), w ? d(w)(I, v) : I;
1099
1099
  },
1100
1100
  message: u,
1101
- type: p,
1101
+ type: O,
1102
1102
  interpolate: g,
1103
1103
  normalize: _
1104
1104
  };
1105
- return E;
1105
+ return h;
1106
1106
  }
1107
1107
  let Se = null;
1108
1108
  function ss(e) {
@@ -1142,11 +1142,11 @@ function Ee(e, ...t) {
1142
1142
  function us(e, t, n) {
1143
1143
  return [.../* @__PURE__ */ new Set([
1144
1144
  n,
1145
- ...k(t) ? t : S(t) ? Object.keys(t) : v(t) ? [t] : [n]
1145
+ ...k(t) ? t : S(t) ? Object.keys(t) : E(t) ? [t] : [n]
1146
1146
  ])];
1147
1147
  }
1148
1148
  function yn(e, t, n) {
1149
- const r = v(n) ? n : mt, o = e;
1149
+ const r = E(n) ? n : mt, o = e;
1150
1150
  o.__localeChainCache || (o.__localeChainCache = /* @__PURE__ */ new Map());
1151
1151
  let a = o.__localeChainCache.get(r);
1152
1152
  if (!a) {
@@ -1155,7 +1155,7 @@ function yn(e, t, n) {
1155
1155
  for (; k(s); )
1156
1156
  s = Vt(a, s, t);
1157
1157
  const l = k(t) || !y(t) ? t : t.default ? t.default : null;
1158
- s = v(l) ? [l] : l, k(s) && Vt(a, s, !1), o.__localeChainCache.set(r, a);
1158
+ s = E(l) ? [l] : l, k(s) && Vt(a, s, !1), o.__localeChainCache.set(r, a);
1159
1159
  }
1160
1160
  return a;
1161
1161
  }
@@ -1163,7 +1163,7 @@ function Vt(e, t, n) {
1163
1163
  let r = !0;
1164
1164
  for (let o = 0; o < t.length && P(r); o++) {
1165
1165
  const a = t[o];
1166
- v(a) && (r = fs(e, t[o], n));
1166
+ E(a) && (r = fs(e, t[o], n));
1167
1167
  }
1168
1168
  return r;
1169
1169
  }
@@ -1188,9 +1188,9 @@ function _s(e, t, n) {
1188
1188
  const ds = "9.2.2", Ge = -1, mt = "en-US", Ve = "", Ut = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1189
1189
  function ms() {
1190
1190
  return {
1191
- upper: (e, t) => t === "text" && v(e) ? e.toUpperCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1192
- lower: (e, t) => t === "text" && v(e) ? e.toLowerCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1193
- capitalize: (e, t) => t === "text" && v(e) ? Ut(e) : t === "vnode" && S(e) && "__v_isVNode" in e ? Ut(e.children) : e
1191
+ upper: (e, t) => t === "text" && E(e) ? e.toUpperCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1192
+ lower: (e, t) => t === "text" && E(e) ? e.toLowerCase() : t === "vnode" && S(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
1193
+ capitalize: (e, t) => t === "text" && E(e) ? Ut(e) : t === "vnode" && S(e) && "__v_isVNode" in e ? Ut(e.children) : e
1194
1194
  };
1195
1195
  }
1196
1196
  let gs, Ln;
@@ -1211,7 +1211,7 @@ const Gt = (e) => {
1211
1211
  }, Es = () => wn;
1212
1212
  let Wt = 0;
1213
1213
  function Os(e = {}) {
1214
- const t = v(e.version) ? e.version : ds, n = v(e.locale) ? e.locale : mt, r = k(e.fallbackLocale) || y(e.fallbackLocale) || v(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, o = y(e.messages) ? e.messages : { [n]: {} }, a = y(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, s = y(e.numberFormats) ? e.numberFormats : { [n]: {} }, l = j({}, e.modifiers || {}, ms()), i = e.pluralRules || {}, c = $(e.missing) ? e.missing : null, u = P(e.missingWarn) || Me(e.missingWarn) ? e.missingWarn : !0, d = P(e.fallbackWarn) || Me(e.fallbackWarn) ? e.fallbackWarn : !0, _ = !!e.fallbackFormat, g = !!e.unresolving, p = $(e.postTranslation) ? e.postTranslation : null, O = y(e.processor) ? e.processor : null, E = P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, b = $(e.messageCompiler) ? e.messageCompiler : gs, I = $(e.messageResolver) ? e.messageResolver : Ln || Xr, T = $(e.localeFallbacker) ? e.localeFallbacker : In || us, h = S(e.fallbackContext) ? e.fallbackContext : void 0, w = $(e.onWarn) ? e.onWarn : be, L = e, U = S(L.__datetimeFormatters) ? L.__datetimeFormatters : /* @__PURE__ */ new Map(), z = S(L.__numberFormatters) ? L.__numberFormatters : /* @__PURE__ */ new Map(), Q = S(L.__meta) ? L.__meta : {};
1214
+ const t = E(e.version) ? e.version : ds, n = E(e.locale) ? e.locale : mt, r = k(e.fallbackLocale) || y(e.fallbackLocale) || E(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, o = y(e.messages) ? e.messages : { [n]: {} }, a = y(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, s = y(e.numberFormats) ? e.numberFormats : { [n]: {} }, l = j({}, e.modifiers || {}, ms()), i = e.pluralRules || {}, c = $(e.missing) ? e.missing : null, u = P(e.missingWarn) || Me(e.missingWarn) ? e.missingWarn : !0, d = P(e.fallbackWarn) || Me(e.fallbackWarn) ? e.fallbackWarn : !0, _ = !!e.fallbackFormat, g = !!e.unresolving, O = $(e.postTranslation) ? e.postTranslation : null, p = y(e.processor) ? e.processor : null, h = P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, b = $(e.messageCompiler) ? e.messageCompiler : gs, L = $(e.messageResolver) ? e.messageResolver : Ln || Xr, T = $(e.localeFallbacker) ? e.localeFallbacker : In || us, v = S(e.fallbackContext) ? e.fallbackContext : void 0, w = $(e.onWarn) ? e.onWarn : be, I = e, U = S(I.__datetimeFormatters) ? I.__datetimeFormatters : /* @__PURE__ */ new Map(), z = S(I.__numberFormatters) ? I.__numberFormatters : /* @__PURE__ */ new Map(), Q = S(I.__meta) ? I.__meta : {};
1215
1215
  Wt++;
1216
1216
  const q = {
1217
1217
  version: t,
@@ -1226,18 +1226,18 @@ function Os(e = {}) {
1226
1226
  fallbackWarn: d,
1227
1227
  fallbackFormat: _,
1228
1228
  unresolving: g,
1229
- postTranslation: p,
1230
- processor: O,
1231
- warnHtmlMessage: E,
1229
+ postTranslation: O,
1230
+ processor: p,
1231
+ warnHtmlMessage: h,
1232
1232
  escapeParameter: N,
1233
1233
  messageCompiler: b,
1234
- messageResolver: I,
1234
+ messageResolver: L,
1235
1235
  localeFallbacker: T,
1236
- fallbackContext: h,
1236
+ fallbackContext: v,
1237
1237
  onWarn: w,
1238
1238
  __meta: Q
1239
1239
  };
1240
- return q.datetimeFormats = a, q.numberFormats = s, q.__datetimeFormatters = U, q.__numberFormatters = z, process.env.NODE_ENV !== "production" && (q.__v_emitter = L.__v_emitter != null ? L.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && as(q, t, Q), q;
1240
+ return q.datetimeFormats = a, q.numberFormats = s, q.__datetimeFormatters = U, q.__numberFormatters = z, process.env.NODE_ENV !== "production" && (q.__v_emitter = I.__v_emitter != null ? I.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && as(q, t, Q), q;
1241
1241
  }
1242
1242
  function We(e, t) {
1243
1243
  return e instanceof RegExp ? e.test(t) : e;
@@ -1258,7 +1258,7 @@ function gt(e, t, n, r, o) {
1258
1258
  }
1259
1259
  if (a !== null) {
1260
1260
  const l = a(e, n, t, o);
1261
- return v(l) ? l : t;
1261
+ return E(l) ? l : t;
1262
1262
  } else
1263
1263
  return process.env.NODE_ENV !== "production" && Dn(r, t) && s(Ee(K.NOT_FOUND_KEY, { key: t, locale: n })), t;
1264
1264
  }
@@ -1282,30 +1282,30 @@ const Ns = {
1282
1282
  [re.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string"
1283
1283
  }, Ht = () => "", ee = (e) => $(e);
1284
1284
  function jt(e, ...t) {
1285
- const { fallbackFormat: n, postTranslation: r, unresolving: o, messageCompiler: a, fallbackLocale: s, messages: l } = e, [i, c] = Qe(...t), u = P(c.missingWarn) ? c.missingWarn : e.missingWarn, d = P(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, _ = P(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, g = !!c.resolvedMessage, p = v(c.default) || P(c.default) ? P(c.default) ? a ? i : () => i : c.default : n ? a ? i : () => i : "", O = n || p !== "", E = v(c.locale) ? c.locale : e.locale;
1285
+ const { fallbackFormat: n, postTranslation: r, unresolving: o, messageCompiler: a, fallbackLocale: s, messages: l } = e, [i, c] = Qe(...t), u = P(c.missingWarn) ? c.missingWarn : e.missingWarn, d = P(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, _ = P(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, g = !!c.resolvedMessage, O = E(c.default) || P(c.default) ? P(c.default) ? a ? i : () => i : c.default : n ? a ? i : () => i : "", p = n || O !== "", h = E(c.locale) ? c.locale : e.locale;
1286
1286
  _ && bs(c);
1287
- let [N, b, I] = g ? [
1287
+ let [N, b, L] = g ? [
1288
1288
  i,
1289
- E,
1290
- l[E] || {}
1291
- ] : Pn(e, i, E, s, d, u), T = N, h = i;
1292
- if (!g && !(v(T) || ee(T)) && O && (T = p, h = T), !g && (!(v(T) || ee(T)) || !v(b)))
1289
+ h,
1290
+ l[h] || {}
1291
+ ] : Pn(e, i, h, s, d, u), T = N, v = i;
1292
+ if (!g && !(E(T) || ee(T)) && p && (T = O, v = T), !g && (!(E(T) || ee(T)) || !E(b)))
1293
1293
  return o ? Ge : i;
1294
- if (process.env.NODE_ENV !== "production" && v(T) && e.messageCompiler == null)
1294
+ if (process.env.NODE_ENV !== "production" && E(T) && e.messageCompiler == null)
1295
1295
  return be(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${i}'.`), i;
1296
1296
  let w = !1;
1297
- const L = () => {
1297
+ const I = () => {
1298
1298
  w = !0;
1299
- }, U = ee(T) ? T : An(e, i, b, T, h, L);
1299
+ }, U = ee(T) ? T : An(e, i, b, T, v, I);
1300
1300
  if (w)
1301
1301
  return T;
1302
- const z = Ls(e, b, I, c), Q = rs(z), q = Ts(e, U, Q), Ce = r ? r(q, i) : q;
1302
+ const z = Ls(e, b, L, c), Q = rs(z), q = Ts(e, U, Q), Ce = r ? r(q, i) : q;
1303
1303
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1304
1304
  const Pe = {
1305
1305
  timestamp: Date.now(),
1306
- key: v(i) ? i : ee(T) ? T.key : "",
1306
+ key: E(i) ? i : ee(T) ? T.key : "",
1307
1307
  locale: b || (ee(T) ? T.locale : ""),
1308
- format: v(T) ? T : ee(T) ? T.source : "",
1308
+ format: E(T) ? T : ee(T) ? T.source : "",
1309
1309
  message: Ce
1310
1310
  };
1311
1311
  Pe.meta = j({}, e.__meta, vs() || {}), ls(Pe);
@@ -1313,50 +1313,50 @@ function jt(e, ...t) {
1313
1313
  return Ce;
1314
1314
  }
1315
1315
  function bs(e) {
1316
- k(e.list) ? e.list = e.list.map((t) => v(t) ? Rt(t) : t) : S(e.named) && Object.keys(e.named).forEach((t) => {
1317
- v(e.named[t]) && (e.named[t] = Rt(e.named[t]));
1316
+ k(e.list) ? e.list = e.list.map((t) => E(t) ? Rt(t) : t) : S(e.named) && Object.keys(e.named).forEach((t) => {
1317
+ E(e.named[t]) && (e.named[t] = Rt(e.named[t]));
1318
1318
  });
1319
1319
  }
1320
1320
  function Pn(e, t, n, r, o, a) {
1321
1321
  const { messages: s, onWarn: l, messageResolver: i, localeFallbacker: c } = e, u = c(e, r, n);
1322
- let d = {}, _, g = null, p = n, O = null;
1323
- const E = "translate";
1322
+ let d = {}, _, g = null, O = n, p = null;
1323
+ const h = "translate";
1324
1324
  for (let N = 0; N < u.length; N++) {
1325
- if (_ = O = u[N], process.env.NODE_ENV !== "production" && n !== _ && We(o, t) && l(Ee(K.FALLBACK_TO_TRANSLATE, {
1325
+ if (_ = p = u[N], process.env.NODE_ENV !== "production" && n !== _ && We(o, t) && l(Ee(K.FALLBACK_TO_TRANSLATE, {
1326
1326
  key: t,
1327
1327
  target: _
1328
1328
  })), process.env.NODE_ENV !== "production" && n !== _) {
1329
1329
  const w = e.__v_emitter;
1330
1330
  w && w.emit("fallback", {
1331
- type: E,
1331
+ type: h,
1332
1332
  key: t,
1333
- from: p,
1334
- to: O,
1335
- groupId: `${E}:${t}`
1333
+ from: O,
1334
+ to: p,
1335
+ groupId: `${h}:${t}`
1336
1336
  });
1337
1337
  }
1338
1338
  d = s[_] || {};
1339
- let b = null, I, T;
1340
- if (process.env.NODE_ENV !== "production" && te && (b = window.performance.now(), I = "intlify-message-resolve-start", T = "intlify-message-resolve-end", X && X(I)), (g = i(d, t)) === null && (g = d[t]), process.env.NODE_ENV !== "production" && te) {
1341
- const w = window.performance.now(), L = e.__v_emitter;
1342
- L && b && g && L.emit("message-resolve", {
1339
+ let b = null, L, T;
1340
+ if (process.env.NODE_ENV !== "production" && te && (b = window.performance.now(), L = "intlify-message-resolve-start", T = "intlify-message-resolve-end", X && X(L)), (g = i(d, t)) === null && (g = d[t]), process.env.NODE_ENV !== "production" && te) {
1341
+ const w = window.performance.now(), I = e.__v_emitter;
1342
+ I && b && g && I.emit("message-resolve", {
1343
1343
  type: "message-resolve",
1344
1344
  key: t,
1345
1345
  message: g,
1346
1346
  time: w - b,
1347
- groupId: `${E}:${t}`
1348
- }), I && T && X && fe && (X(T), fe("intlify message resolve", I, T));
1347
+ groupId: `${h}:${t}`
1348
+ }), L && T && X && fe && (X(T), fe("intlify message resolve", L, T));
1349
1349
  }
1350
- if (v(g) || $(g))
1350
+ if (E(g) || $(g))
1351
1351
  break;
1352
- const h = gt(
1352
+ const v = gt(
1353
1353
  e,
1354
1354
  t,
1355
1355
  _,
1356
1356
  a,
1357
- E
1357
+ h
1358
1358
  );
1359
- h !== t && (g = h), p = O;
1359
+ v !== t && (g = v), O = p;
1360
1360
  }
1361
1361
  return [g, _, d];
1362
1362
  }
@@ -1401,10 +1401,10 @@ function Ts(e, t, n) {
1401
1401
  }
1402
1402
  function Qe(...e) {
1403
1403
  const [t, n, r] = e, o = {};
1404
- if (!v(t) && !V(t) && !ee(t))
1404
+ if (!E(t) && !V(t) && !ee(t))
1405
1405
  throw ve(re.INVALID_ARGUMENT);
1406
1406
  const a = V(t) ? String(t) : (ee(t), t);
1407
- return V(n) ? o.plural = n : v(n) ? o.default = n : y(n) && !xe(n) ? o.named = n : k(n) && (o.list = n), V(r) ? o.plural = r : v(r) ? o.default = r : y(r) && j(o, r), [a, o];
1407
+ return V(n) ? o.plural = n : E(n) ? o.default = n : y(n) && !xe(n) ? o.named = n : k(n) && (o.list = n), V(r) ? o.plural = r : E(r) ? o.default = r : y(r) && j(o, r), [a, o];
1408
1408
  }
1409
1409
  function ys(e, t, n, r, o, a) {
1410
1410
  return {
@@ -1432,19 +1432,19 @@ function Ls(e, t, n, r) {
1432
1432
  modifiers: o,
1433
1433
  pluralRules: a,
1434
1434
  messages: (g) => {
1435
- let p = s(n, g);
1436
- if (p == null && u) {
1437
- const [, , O] = Pn(u, g, t, l, i, c);
1438
- p = s(O, g);
1435
+ let O = s(n, g);
1436
+ if (O == null && u) {
1437
+ const [, , p] = Pn(u, g, t, l, i, c);
1438
+ O = s(p, g);
1439
1439
  }
1440
- if (v(p)) {
1441
- let O = !1;
1442
- const N = An(e, g, t, p, g, () => {
1443
- O = !0;
1440
+ if (E(O)) {
1441
+ let p = !1;
1442
+ const N = An(e, g, t, O, g, () => {
1443
+ p = !0;
1444
1444
  });
1445
- return O ? Ht : N;
1445
+ return p ? Ht : N;
1446
1446
  } else
1447
- return ee(p) ? p : Ht;
1447
+ return ee(O) ? O : Ht;
1448
1448
  }
1449
1449
  };
1450
1450
  return e.processor && (_.processor = e.processor), r.list && (_.list = r.list), r.named && (_.named = r.named), V(r.plural) && (_.pluralIndex = r.plural), _;
@@ -1457,39 +1457,39 @@ function Yt(e, ...t) {
1457
1457
  const { datetimeFormats: n, unresolving: r, fallbackLocale: o, onWarn: a, localeFallbacker: s } = e, { __datetimeFormatters: l } = e;
1458
1458
  if (process.env.NODE_ENV !== "production" && !kn.dateTimeFormat)
1459
1459
  return a(Ee(K.CANNOT_FORMAT_DATE)), Ve;
1460
- const [i, c, u, d] = qe(...t), _ = P(u.missingWarn) ? u.missingWarn : e.missingWarn, g = P(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, p = !!u.part, O = v(u.locale) ? u.locale : e.locale, E = s(
1460
+ const [i, c, u, d] = qe(...t), _ = P(u.missingWarn) ? u.missingWarn : e.missingWarn, g = P(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, O = !!u.part, p = E(u.locale) ? u.locale : e.locale, h = s(
1461
1461
  e,
1462
1462
  o,
1463
- O
1463
+ p
1464
1464
  );
1465
- if (!v(i) || i === "")
1466
- return new Intl.DateTimeFormat(O, d).format(c);
1467
- let N = {}, b, I = null, T = O, h = null;
1465
+ if (!E(i) || i === "")
1466
+ return new Intl.DateTimeFormat(p, d).format(c);
1467
+ let N = {}, b, L = null, T = p, v = null;
1468
1468
  const w = "datetime format";
1469
- for (let z = 0; z < E.length; z++) {
1470
- if (b = h = E[z], process.env.NODE_ENV !== "production" && O !== b && We(g, i) && a(Ee(K.FALLBACK_TO_DATE_FORMAT, {
1469
+ for (let z = 0; z < h.length; z++) {
1470
+ if (b = v = h[z], process.env.NODE_ENV !== "production" && p !== b && We(g, i) && a(Ee(K.FALLBACK_TO_DATE_FORMAT, {
1471
1471
  key: i,
1472
1472
  target: b
1473
- })), process.env.NODE_ENV !== "production" && O !== b) {
1473
+ })), process.env.NODE_ENV !== "production" && p !== b) {
1474
1474
  const Q = e.__v_emitter;
1475
1475
  Q && Q.emit("fallback", {
1476
1476
  type: w,
1477
1477
  key: i,
1478
1478
  from: T,
1479
- to: h,
1479
+ to: v,
1480
1480
  groupId: `${w}:${i}`
1481
1481
  });
1482
1482
  }
1483
- if (N = n[b] || {}, I = N[i], y(I))
1483
+ if (N = n[b] || {}, L = N[i], y(L))
1484
1484
  break;
1485
- gt(e, i, b, _, w), T = h;
1485
+ gt(e, i, b, _, w), T = v;
1486
1486
  }
1487
- if (!y(I) || !v(b))
1487
+ if (!y(L) || !E(b))
1488
1488
  return r ? Ge : i;
1489
- let L = `${b}__${i}`;
1490
- xe(d) || (L = `${L}__${JSON.stringify(d)}`);
1491
- let U = l.get(L);
1492
- return U || (U = new Intl.DateTimeFormat(b, j({}, I, d)), l.set(L, U)), p ? U.formatToParts(c) : U.format(c);
1489
+ let I = `${b}__${i}`;
1490
+ xe(d) || (I = `${I}__${JSON.stringify(d)}`);
1491
+ let U = l.get(I);
1492
+ return U || (U = new Intl.DateTimeFormat(b, j({}, L, d)), l.set(I, U)), O ? U.formatToParts(c) : U.format(c);
1493
1493
  }
1494
1494
  const Rn = [
1495
1495
  "localeMatcher",
@@ -1516,7 +1516,7 @@ const Rn = [
1516
1516
  function qe(...e) {
1517
1517
  const [t, n, r, o] = e, a = {};
1518
1518
  let s = {}, l;
1519
- if (v(t)) {
1519
+ if (E(t)) {
1520
1520
  const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
1521
1521
  if (!i)
1522
1522
  throw ve(re.INVALID_ISO_DATE_ARGUMENT);
@@ -1535,9 +1535,9 @@ function qe(...e) {
1535
1535
  l = t;
1536
1536
  else
1537
1537
  throw ve(re.INVALID_ARGUMENT);
1538
- return v(n) ? a.key = n : y(n) && Object.keys(n).forEach((i) => {
1538
+ return E(n) ? a.key = n : y(n) && Object.keys(n).forEach((i) => {
1539
1539
  Rn.includes(i) ? s[i] = n[i] : a[i] = n[i];
1540
- }), v(r) ? a.locale = r : y(r) && (s = r), y(o) && (s = o), [a.key || "", l, a, s];
1540
+ }), E(r) ? a.locale = r : y(r) && (s = r), y(o) && (s = o), [a.key || "", l, a, s];
1541
1541
  }
1542
1542
  function zt(e, t, n) {
1543
1543
  const r = e;
@@ -1550,39 +1550,39 @@ function Kt(e, ...t) {
1550
1550
  const { numberFormats: n, unresolving: r, fallbackLocale: o, onWarn: a, localeFallbacker: s } = e, { __numberFormatters: l } = e;
1551
1551
  if (process.env.NODE_ENV !== "production" && !kn.numberFormat)
1552
1552
  return a(Ee(K.CANNOT_FORMAT_NUMBER)), Ve;
1553
- const [i, c, u, d] = Ze(...t), _ = P(u.missingWarn) ? u.missingWarn : e.missingWarn, g = P(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, p = !!u.part, O = v(u.locale) ? u.locale : e.locale, E = s(
1553
+ const [i, c, u, d] = Ze(...t), _ = P(u.missingWarn) ? u.missingWarn : e.missingWarn, g = P(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, O = !!u.part, p = E(u.locale) ? u.locale : e.locale, h = s(
1554
1554
  e,
1555
1555
  o,
1556
- O
1556
+ p
1557
1557
  );
1558
- if (!v(i) || i === "")
1559
- return new Intl.NumberFormat(O, d).format(c);
1560
- let N = {}, b, I = null, T = O, h = null;
1558
+ if (!E(i) || i === "")
1559
+ return new Intl.NumberFormat(p, d).format(c);
1560
+ let N = {}, b, L = null, T = p, v = null;
1561
1561
  const w = "number format";
1562
- for (let z = 0; z < E.length; z++) {
1563
- if (b = h = E[z], process.env.NODE_ENV !== "production" && O !== b && We(g, i) && a(Ee(K.FALLBACK_TO_NUMBER_FORMAT, {
1562
+ for (let z = 0; z < h.length; z++) {
1563
+ if (b = v = h[z], process.env.NODE_ENV !== "production" && p !== b && We(g, i) && a(Ee(K.FALLBACK_TO_NUMBER_FORMAT, {
1564
1564
  key: i,
1565
1565
  target: b
1566
- })), process.env.NODE_ENV !== "production" && O !== b) {
1566
+ })), process.env.NODE_ENV !== "production" && p !== b) {
1567
1567
  const Q = e.__v_emitter;
1568
1568
  Q && Q.emit("fallback", {
1569
1569
  type: w,
1570
1570
  key: i,
1571
1571
  from: T,
1572
- to: h,
1572
+ to: v,
1573
1573
  groupId: `${w}:${i}`
1574
1574
  });
1575
1575
  }
1576
- if (N = n[b] || {}, I = N[i], y(I))
1576
+ if (N = n[b] || {}, L = N[i], y(L))
1577
1577
  break;
1578
- gt(e, i, b, _, w), T = h;
1578
+ gt(e, i, b, _, w), T = v;
1579
1579
  }
1580
- if (!y(I) || !v(b))
1580
+ if (!y(L) || !E(b))
1581
1581
  return r ? Ge : i;
1582
- let L = `${b}__${i}`;
1583
- xe(d) || (L = `${L}__${JSON.stringify(d)}`);
1584
- let U = l.get(L);
1585
- return U || (U = new Intl.NumberFormat(b, j({}, I, d)), l.set(L, U)), p ? U.formatToParts(c) : U.format(c);
1582
+ let I = `${b}__${i}`;
1583
+ xe(d) || (I = `${I}__${JSON.stringify(d)}`);
1584
+ let U = l.get(I);
1585
+ return U || (U = new Intl.NumberFormat(b, j({}, L, d)), l.set(I, U)), O ? U.formatToParts(c) : U.format(c);
1586
1586
  }
1587
1587
  const Fn = [
1588
1588
  "localeMatcher",
@@ -1612,9 +1612,9 @@ function Ze(...e) {
1612
1612
  if (!V(t))
1613
1613
  throw ve(re.INVALID_ARGUMENT);
1614
1614
  const l = t;
1615
- return v(n) ? a.key = n : y(n) && Object.keys(n).forEach((i) => {
1615
+ return E(n) ? a.key = n : y(n) && Object.keys(n).forEach((i) => {
1616
1616
  Fn.includes(i) ? s[i] = n[i] : a[i] = n[i];
1617
- }), v(r) ? a.locale = r : y(r) && (s = r), y(o) && (s = o), [a.key || "", l, a, s];
1617
+ }), E(r) ? a.locale = r : y(r) && (s = r), y(o) && (s = o), [a.key || "", l, a, s];
1618
1618
  }
1619
1619
  function Xt(e, t, n) {
1620
1620
  const r = e;
@@ -1821,7 +1821,7 @@ function Un(e, t) {
1821
1821
  const { locale: i, resource: c } = l;
1822
1822
  i ? (s[i] = s[i] || {}, Ie(c, s[i])) : Ie(c, s);
1823
1823
  } else
1824
- v(l) && Ie(JSON.parse(l), s);
1824
+ E(l) && Ie(JSON.parse(l), s);
1825
1825
  }), o == null && a)
1826
1826
  for (const l in s)
1827
1827
  _t(s, l) && st(s[l]);
@@ -1879,38 +1879,38 @@ function Gn(e = {}, t) {
1879
1879
  const { __root: n } = e, r = n === void 0;
1880
1880
  let o = P(e.inheritLocale) ? e.inheritLocale : !0;
1881
1881
  const a = M(
1882
- n && o ? n.locale.value : v(e.locale) ? e.locale : mt
1882
+ n && o ? n.locale.value : E(e.locale) ? e.locale : mt
1883
1883
  ), s = M(
1884
- n && o ? n.fallbackLocale.value : v(e.fallbackLocale) || k(e.fallbackLocale) || y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
1884
+ n && o ? n.fallbackLocale.value : E(e.fallbackLocale) || k(e.fallbackLocale) || y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
1885
1885
  ), l = M(Un(a.value, e)), i = M(y(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), c = M(y(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
1886
- let u = n ? n.missingWarn : P(e.missingWarn) || Me(e.missingWarn) ? e.missingWarn : !0, d = n ? n.fallbackWarn : P(e.fallbackWarn) || Me(e.fallbackWarn) ? e.fallbackWarn : !0, _ = n ? n.fallbackRoot : P(e.fallbackRoot) ? e.fallbackRoot : !0, g = !!e.fallbackFormat, p = $(e.missing) ? e.missing : null, O = $(e.missing) ? Zt(e.missing) : null, E = $(e.postTranslation) ? e.postTranslation : null, N = n ? n.warnHtmlMessage : P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter;
1887
- const I = n ? n.modifiers : y(e.modifiers) ? e.modifiers : {};
1888
- let T = e.pluralRules || n && n.pluralRules, h;
1889
- h = (() => {
1886
+ let u = n ? n.missingWarn : P(e.missingWarn) || Me(e.missingWarn) ? e.missingWarn : !0, d = n ? n.fallbackWarn : P(e.fallbackWarn) || Me(e.fallbackWarn) ? e.fallbackWarn : !0, _ = n ? n.fallbackRoot : P(e.fallbackRoot) ? e.fallbackRoot : !0, g = !!e.fallbackFormat, O = $(e.missing) ? e.missing : null, p = $(e.missing) ? Zt(e.missing) : null, h = $(e.postTranslation) ? e.postTranslation : null, N = n ? n.warnHtmlMessage : P(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter;
1887
+ const L = n ? n.modifiers : y(e.modifiers) ? e.modifiers : {};
1888
+ let T = e.pluralRules || n && n.pluralRules, v;
1889
+ v = (() => {
1890
1890
  r && Gt(null);
1891
1891
  const f = {
1892
1892
  version: $s,
1893
1893
  locale: a.value,
1894
1894
  fallbackLocale: s.value,
1895
1895
  messages: l.value,
1896
- modifiers: I,
1896
+ modifiers: L,
1897
1897
  pluralRules: T,
1898
- missing: O === null ? void 0 : O,
1898
+ missing: p === null ? void 0 : p,
1899
1899
  missingWarn: u,
1900
1900
  fallbackWarn: d,
1901
1901
  fallbackFormat: g,
1902
1902
  unresolving: !0,
1903
- postTranslation: E === null ? void 0 : E,
1903
+ postTranslation: h === null ? void 0 : h,
1904
1904
  warnHtmlMessage: N,
1905
1905
  escapeParameter: b,
1906
1906
  messageResolver: e.messageResolver,
1907
1907
  __meta: { framework: "vue" }
1908
1908
  };
1909
- f.datetimeFormats = i.value, f.numberFormats = c.value, f.__datetimeFormatters = y(h) ? h.__datetimeFormatters : void 0, f.__numberFormatters = y(h) ? h.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (f.__v_emitter = y(h) ? h.__v_emitter : void 0);
1909
+ f.datetimeFormats = i.value, f.numberFormats = c.value, f.__datetimeFormatters = y(v) ? v.__datetimeFormatters : void 0, f.__numberFormatters = y(v) ? v.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (f.__v_emitter = y(v) ? v.__v_emitter : void 0);
1910
1910
  const m = Os(f);
1911
1911
  return r && Gt(m), m;
1912
- })(), Te(h, a.value, s.value);
1913
- function L() {
1912
+ })(), Te(v, a.value, s.value);
1913
+ function I() {
1914
1914
  return [
1915
1915
  a.value,
1916
1916
  s.value,
@@ -1922,47 +1922,47 @@ function Gn(e = {}, t) {
1922
1922
  const U = W({
1923
1923
  get: () => a.value,
1924
1924
  set: (f) => {
1925
- a.value = f, h.locale = a.value;
1925
+ a.value = f, v.locale = a.value;
1926
1926
  }
1927
1927
  }), z = W({
1928
1928
  get: () => s.value,
1929
1929
  set: (f) => {
1930
- s.value = f, h.fallbackLocale = s.value, Te(h, a.value, f);
1930
+ s.value = f, v.fallbackLocale = s.value, Te(v, a.value, f);
1931
1931
  }
1932
1932
  }), Q = W(() => l.value), q = /* @__PURE__ */ W(() => i.value), Ce = /* @__PURE__ */ W(() => c.value);
1933
1933
  function Pe() {
1934
- return $(E) ? E : null;
1934
+ return $(h) ? h : null;
1935
1935
  }
1936
1936
  function Jn(f) {
1937
- E = f, h.postTranslation = f;
1937
+ h = f, v.postTranslation = f;
1938
1938
  }
1939
1939
  function Qn() {
1940
- return p;
1940
+ return O;
1941
1941
  }
1942
1942
  function qn(f) {
1943
- f !== null && (O = Zt(f)), p = f, h.missing = O;
1943
+ f !== null && (p = Zt(f)), O = f, v.missing = p;
1944
1944
  }
1945
1945
  function Zn(f, m) {
1946
1946
  return f !== "translate" || !m.resolvedMessage;
1947
1947
  }
1948
1948
  const me = (f, m, B, H, je, Ae) => {
1949
- L();
1949
+ I();
1950
1950
  let ge;
1951
1951
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
1952
1952
  try {
1953
- xt(Hs()), r || (h.fallbackContext = n ? Es() : void 0), ge = f(h);
1953
+ xt(Hs()), r || (v.fallbackContext = n ? Es() : void 0), ge = f(v);
1954
1954
  } finally {
1955
- xt(null), r || (h.fallbackContext = void 0);
1955
+ xt(null), r || (v.fallbackContext = void 0);
1956
1956
  }
1957
1957
  else
1958
- ge = f(h);
1958
+ ge = f(v);
1959
1959
  if (V(ge) && ge === Ge) {
1960
1960
  const [le, No] = m();
1961
- if (process.env.NODE_ENV !== "production" && n && v(le) && Zn(B, No) && (_ && (We(d, le) || Dn(u, le)) && be(He(Z.FALLBACK_TO_ROOT, {
1961
+ if (process.env.NODE_ENV !== "production" && n && E(le) && Zn(B, No) && (_ && (We(d, le) || Dn(u, le)) && be(He(Z.FALLBACK_TO_ROOT, {
1962
1962
  key: le,
1963
1963
  type: B
1964
1964
  })), process.env.NODE_ENV !== "production")) {
1965
- const { __v_emitter: Nt } = h;
1965
+ const { __v_emitter: Nt } = v;
1966
1966
  Nt && _ && Nt.emit("fallback", {
1967
1967
  type: B,
1968
1968
  key: le,
@@ -1978,7 +1978,7 @@ function Gn(e = {}, t) {
1978
1978
  }
1979
1979
  };
1980
1980
  function Et(...f) {
1981
- return me((m) => Reflect.apply(jt, null, [m, ...f]), () => Qe(...f), "translate", (m) => Reflect.apply(m.t, m, [...f]), (m) => m, (m) => v(m));
1981
+ return me((m) => Reflect.apply(jt, null, [m, ...f]), () => Qe(...f), "translate", (m) => Reflect.apply(m.t, m, [...f]), (m) => m, (m) => E(m));
1982
1982
  }
1983
1983
  function eo(...f) {
1984
1984
  const [m, B, H] = f;
@@ -1987,13 +1987,13 @@ function Gn(e = {}, t) {
1987
1987
  return Et(m, B, j({ resolvedMessage: !0 }, H || {}));
1988
1988
  }
1989
1989
  function to(...f) {
1990
- return me((m) => Reflect.apply(Yt, null, [m, ...f]), () => qe(...f), "datetime format", (m) => Reflect.apply(m.d, m, [...f]), () => Ve, (m) => v(m));
1990
+ return me((m) => Reflect.apply(Yt, null, [m, ...f]), () => qe(...f), "datetime format", (m) => Reflect.apply(m.d, m, [...f]), () => Ve, (m) => E(m));
1991
1991
  }
1992
1992
  function no(...f) {
1993
- return me((m) => Reflect.apply(Kt, null, [m, ...f]), () => Ze(...f), "number format", (m) => Reflect.apply(m.n, m, [...f]), () => Ve, (m) => v(m));
1993
+ return me((m) => Reflect.apply(Kt, null, [m, ...f]), () => Ze(...f), "number format", (m) => Reflect.apply(m.n, m, [...f]), () => Ve, (m) => E(m));
1994
1994
  }
1995
1995
  function oo(f) {
1996
- return f.map((m) => v(m) || V(m) || P(m) ? Jt(String(m)) : m);
1996
+ return f.map((m) => E(m) || V(m) || P(m) ? Jt(String(m)) : m);
1997
1997
  }
1998
1998
  const ro = {
1999
1999
  normalize: oo,
@@ -2026,7 +2026,7 @@ function Gn(e = {}, t) {
2026
2026
  "number format",
2027
2027
  (m) => m[ot](...f),
2028
2028
  () => [],
2029
- (m) => v(m) || k(m)
2029
+ (m) => E(m) || k(m)
2030
2030
  );
2031
2031
  }
2032
2032
  function lo(...f) {
@@ -2036,21 +2036,21 @@ function Gn(e = {}, t) {
2036
2036
  "datetime format",
2037
2037
  (m) => m[nt](...f),
2038
2038
  () => [],
2039
- (m) => v(m) || k(m)
2039
+ (m) => E(m) || k(m)
2040
2040
  );
2041
2041
  }
2042
2042
  function io(f) {
2043
- T = f, h.pluralRules = T;
2043
+ T = f, v.pluralRules = T;
2044
2044
  }
2045
2045
  function co(f, m) {
2046
- const B = v(m) ? m : a.value, H = Ot(B);
2047
- return h.messageResolver(H, f) !== null;
2046
+ const B = E(m) ? m : a.value, H = Ot(B);
2047
+ return v.messageResolver(H, f) !== null;
2048
2048
  }
2049
2049
  function uo(f) {
2050
2050
  let m = null;
2051
- const B = yn(h, s.value, a.value);
2051
+ const B = yn(v, s.value, a.value);
2052
2052
  for (let H = 0; H < B.length; H++) {
2053
- const je = l.value[B[H]] || {}, Ae = h.messageResolver(je, f);
2053
+ const je = l.value[B[H]] || {}, Ae = v.messageResolver(je, f);
2054
2054
  if (Ae != null) {
2055
2055
  m = Ae;
2056
2056
  break;
@@ -2066,33 +2066,33 @@ function Gn(e = {}, t) {
2066
2066
  return l.value[f] || {};
2067
2067
  }
2068
2068
  function _o(f, m) {
2069
- l.value[f] = m, h.messages = l.value;
2069
+ l.value[f] = m, v.messages = l.value;
2070
2070
  }
2071
2071
  function mo(f, m) {
2072
- l.value[f] = l.value[f] || {}, Ie(m, l.value[f]), h.messages = l.value;
2072
+ l.value[f] = l.value[f] || {}, Ie(m, l.value[f]), v.messages = l.value;
2073
2073
  }
2074
2074
  function go(f) {
2075
2075
  return i.value[f] || {};
2076
2076
  }
2077
2077
  function po(f, m) {
2078
- i.value[f] = m, h.datetimeFormats = i.value, zt(h, f, m);
2078
+ i.value[f] = m, v.datetimeFormats = i.value, zt(v, f, m);
2079
2079
  }
2080
2080
  function ho(f, m) {
2081
- i.value[f] = j(i.value[f] || {}, m), h.datetimeFormats = i.value, zt(h, f, m);
2081
+ i.value[f] = j(i.value[f] || {}, m), v.datetimeFormats = i.value, zt(v, f, m);
2082
2082
  }
2083
2083
  function vo(f) {
2084
2084
  return c.value[f] || {};
2085
2085
  }
2086
2086
  function Eo(f, m) {
2087
- c.value[f] = m, h.numberFormats = c.value, Xt(h, f, m);
2087
+ c.value[f] = m, v.numberFormats = c.value, Xt(v, f, m);
2088
2088
  }
2089
2089
  function Oo(f, m) {
2090
- c.value[f] = j(c.value[f] || {}, m), h.numberFormats = c.value, Xt(h, f, m);
2090
+ c.value[f] = j(c.value[f] || {}, m), v.numberFormats = c.value, Xt(v, f, m);
2091
2091
  }
2092
2092
  qt++, n && te && ($e(n.locale, (f) => {
2093
- o && (a.value = f, h.locale = f, Te(h, a.value, s.value));
2093
+ o && (a.value = f, v.locale = f, Te(v, a.value, s.value));
2094
2094
  }), $e(n.fallbackLocale, (f) => {
2095
- o && (s.value = f, h.fallbackLocale = f, Te(h, a.value, s.value));
2095
+ o && (s.value = f, v.fallbackLocale = f, Te(v, a.value, s.value));
2096
2096
  }));
2097
2097
  const R = {
2098
2098
  id: qt,
@@ -2102,14 +2102,14 @@ function Gn(e = {}, t) {
2102
2102
  return o;
2103
2103
  },
2104
2104
  set inheritLocale(f) {
2105
- o = f, f && n && (a.value = n.locale.value, s.value = n.fallbackLocale.value, Te(h, a.value, s.value));
2105
+ o = f, f && n && (a.value = n.locale.value, s.value = n.fallbackLocale.value, Te(v, a.value, s.value));
2106
2106
  },
2107
2107
  get availableLocales() {
2108
2108
  return Object.keys(l.value).sort();
2109
2109
  },
2110
2110
  messages: Q,
2111
2111
  get modifiers() {
2112
- return I;
2112
+ return L;
2113
2113
  },
2114
2114
  get pluralRules() {
2115
2115
  return T || {};
@@ -2121,13 +2121,13 @@ function Gn(e = {}, t) {
2121
2121
  return u;
2122
2122
  },
2123
2123
  set missingWarn(f) {
2124
- u = f, h.missingWarn = u;
2124
+ u = f, v.missingWarn = u;
2125
2125
  },
2126
2126
  get fallbackWarn() {
2127
2127
  return d;
2128
2128
  },
2129
2129
  set fallbackWarn(f) {
2130
- d = f, h.fallbackWarn = d;
2130
+ d = f, v.fallbackWarn = d;
2131
2131
  },
2132
2132
  get fallbackRoot() {
2133
2133
  return _;
@@ -2139,19 +2139,19 @@ function Gn(e = {}, t) {
2139
2139
  return g;
2140
2140
  },
2141
2141
  set fallbackFormat(f) {
2142
- g = f, h.fallbackFormat = g;
2142
+ g = f, v.fallbackFormat = g;
2143
2143
  },
2144
2144
  get warnHtmlMessage() {
2145
2145
  return N;
2146
2146
  },
2147
2147
  set warnHtmlMessage(f) {
2148
- N = f, h.warnHtmlMessage = f;
2148
+ N = f, v.warnHtmlMessage = f;
2149
2149
  },
2150
2150
  get escapeParameter() {
2151
2151
  return b;
2152
2152
  },
2153
2153
  set escapeParameter(f) {
2154
- b = f, h.escapeParameter = f;
2154
+ b = f, v.escapeParameter = f;
2155
2155
  },
2156
2156
  t: Et,
2157
2157
  getLocaleMessage: Ot,
@@ -2164,9 +2164,9 @@ function Gn(e = {}, t) {
2164
2164
  [xs]: io
2165
2165
  };
2166
2166
  return R.datetimeFormats = q, R.numberFormats = Ce, R.rt = eo, R.te = co, R.tm = fo, R.d = to, R.n = no, R.getDateTimeFormat = go, R.setDateTimeFormat = po, R.mergeDateTimeFormat = ho, R.getNumberFormat = vo, R.setNumberFormat = Eo, R.mergeNumberFormat = Oo, R[Gs] = e.__injectWithOption, R[tt] = so, R[nt] = lo, R[ot] = ao, process.env.NODE_ENV !== "production" && (R[we] = (f) => {
2167
- h.__v_emitter = f;
2167
+ v.__v_emitter = f;
2168
2168
  }, R[rt] = () => {
2169
- h.__v_emitter = void 0;
2169
+ v.__v_emitter = void 0;
2170
2170
  }), R;
2171
2171
  }
2172
2172
  const pt = {
@@ -2216,28 +2216,28 @@ const Ke = {
2216
2216
  });
2217
2217
  return () => {
2218
2218
  const a = Object.keys(n).filter((d) => d !== "_"), s = {};
2219
- e.locale && (s.locale = e.locale), e.plural !== void 0 && (s.plural = v(e.plural) ? +e.plural : e.plural);
2220
- const l = js(t, a), i = o[tt](e.keypath, l, s), c = j({}, r), u = v(e.tag) || S(e.tag) ? e.tag : Wn();
2219
+ e.locale && (s.locale = e.locale), e.plural !== void 0 && (s.plural = E(e.plural) ? +e.plural : e.plural);
2220
+ const l = js(t, a), i = o[tt](e.keypath, l, s), c = j({}, r), u = E(e.tag) || S(e.tag) ? e.tag : Wn();
2221
2221
  return Fe(u, c, i);
2222
2222
  };
2223
2223
  }
2224
2224
  };
2225
2225
  function Bs(e) {
2226
- return k(e) && !v(e[0]);
2226
+ return k(e) && !E(e[0]);
2227
2227
  }
2228
2228
  function Hn(e, t, n, r) {
2229
2229
  const { slots: o, attrs: a } = t;
2230
2230
  return () => {
2231
2231
  const s = { part: !0 };
2232
2232
  let l = {};
2233
- e.locale && (s.locale = e.locale), v(e.format) ? s.key = e.format : S(e.format) && (v(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((_, g) => n.includes(g) ? j({}, _, { [g]: e.format[g] }) : _, {}));
2233
+ e.locale && (s.locale = e.locale), E(e.format) ? s.key = e.format : S(e.format) && (E(e.format.key) && (s.key = e.format.key), l = Object.keys(e.format).reduce((_, g) => n.includes(g) ? j({}, _, { [g]: e.format[g] }) : _, {}));
2234
2234
  const i = r(e.value, s, l);
2235
2235
  let c = [s.key];
2236
2236
  k(i) ? c = i.map((_, g) => {
2237
- const p = o[_.type], O = p ? p({ [_.type]: _.value, index: g, parts: i }) : [_.value];
2238
- return Bs(O) && (O[0].key = `${_.type}-${g}`), O;
2239
- }) : v(i) && (c = [i]);
2240
- const u = j({}, a), d = v(e.tag) || S(e.tag) ? e.tag : Wn();
2237
+ const O = o[_.type], p = O ? O({ [_.type]: _.value, index: g, parts: i }) : [_.value];
2238
+ return Bs(p) && (p[0].key = `${_.type}-${g}`), p;
2239
+ }) : E(i) && (c = [i]);
2240
+ const u = j({}, a), d = E(e.tag) || S(e.tag) ? e.tag : Wn();
2241
2241
  return Fe(d, u, c);
2242
2242
  };
2243
2243
  }
@@ -2319,7 +2319,7 @@ function zs(e) {
2319
2319
  };
2320
2320
  }
2321
2321
  function nn(e) {
2322
- if (v(e))
2322
+ if (E(e))
2323
2323
  return { path: e };
2324
2324
  if (y(e)) {
2325
2325
  if (!("path" in e))
@@ -2330,7 +2330,7 @@ function nn(e) {
2330
2330
  }
2331
2331
  function on(e) {
2332
2332
  const { path: t, locale: n, args: r, choice: o, plural: a } = e, s = {}, l = r || {};
2333
- return v(n) && (s.locale = n), V(o) && (s.plural = o), V(a) && (s.plural = a), [t, l, s];
2333
+ return E(n) && (s.locale = n), V(o) && (s.plural = o), V(a) && (s.plural = a), [t, l, s];
2334
2334
  }
2335
2335
  function Ks(e, t, ...n) {
2336
2336
  const r = y(n[0]) ? n[0] : {}, o = !!r.useI18nComponentName, a = P(r.globalInstall) ? r.globalInstall : !0;
@@ -2587,7 +2587,7 @@ function sa(e, t) {
2587
2587
  const n = Yn(e.nodeId, t);
2588
2588
  if (n) {
2589
2589
  const [r] = e.path;
2590
- r === "locale" && v(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (v(e.state.value) || k(e.state.value) || S(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && P(e.state.value) && (n.inheritLocale = e.state.value);
2590
+ r === "locale" && E(e.state.value) ? n.locale.value = e.state.value : r === "fallbackLocale" && (E(e.state.value) || k(e.state.value) || S(e.state.value)) ? n.fallbackLocale.value = e.state.value : r === "inheritLocale" && P(e.state.value) && (n.inheritLocale = e.state.value);
2591
2591
  }
2592
2592
  }
2593
2593
  const aa = /* @__PURE__ */ ne("global-vue-i18n");
@@ -2612,18 +2612,18 @@ function la(e = {}, t) {
2612
2612
  },
2613
2613
  async install(_, ...g) {
2614
2614
  process.env.NODE_ENV !== "production" && (_.__VUE_I18N__ = d), _.__VUE_I18N_SYMBOL__ = l, _.provide(_.__VUE_I18N_SYMBOL__, d), n && pa(_, d.global), Ks(_, d, ...g);
2615
- const p = _.unmount;
2615
+ const O = _.unmount;
2616
2616
  if (_.unmount = () => {
2617
- d.dispose(), p();
2617
+ d.dispose(), O();
2618
2618
  }, process.env.NODE_ENV !== "production" || !1) {
2619
2619
  if (!await Xs(_, d))
2620
2620
  throw J(D.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
2621
- const E = Nn();
2621
+ const h = Nn();
2622
2622
  {
2623
2623
  const N = s;
2624
- N[we] && N[we](E);
2624
+ N[we] && N[we](h);
2625
2625
  }
2626
- E.on("*", lt);
2626
+ h.on("*", lt);
2627
2627
  }
2628
2628
  },
2629
2629
  get global() {
@@ -3087,28 +3087,34 @@ const Wa = /* @__PURE__ */ de($a, [["render", Ga], ["__scopeId", "data-v-36f7a9f
3087
3087
  ], r = M();
3088
3088
  let o = Ue.StorageDefaultLayout.get();
3089
3089
  const a = o || n[0];
3090
- function s(p, O) {
3090
+ function s(p, h) {
3091
3091
  return t.emit(
3092
3092
  "LayoutChange",
3093
3093
  JSON.stringify(p.layout),
3094
3094
  p,
3095
3095
  () => {
3096
- d();
3096
+ u.value && d();
3097
3097
  }
3098
- ), p.cancel || (c.value = O), !p.cancel;
3098
+ ), p.cancel || (c.value = h), !p.cancel;
3099
3099
  }
3100
3100
  let l = !0;
3101
- const i = function(p, O) {
3102
- JSON.stringify(o) != JSON.stringify(p) && s(p, O) && l && (o = p.layout, Ue.StorageDefaultLayout.set(p.layout)), c.value.length == 0 && s(p, O);
3101
+ const i = function(p, h) {
3102
+ JSON.stringify(o) != JSON.stringify(p) && s(p, h) && l && (o = p.layout, Ue.StorageDefaultLayout.set(p.layout)), c.value.length == 0 && s(p, h);
3103
3103
  }, c = M(""), u = M(!1), d = () => {
3104
3104
  u.value = !u.value, u.value ? window.addEventListener("click", _) : window.removeEventListener("click", _);
3105
3105
  }, _ = (p) => {
3106
- u.value && p.composedPath().findIndex(({ className: E }) => E == "layout-switcher") < 0 && (u.value = !1, window.removeEventListener("click", _));
3106
+ u.value && p.composedPath().findIndex(({ className: N }) => N == "layout-switcher") < 0 && (u.value = !1, window.removeEventListener("click", _));
3107
3107
  };
3108
3108
  return {
3109
- selectLoyoutById: (p, O) => {
3110
- var E;
3111
- O || (l = !1), (E = r.value) == null || E.SelectLayoutById(p), O = !0;
3109
+ selectClassicalLayout: (p, h, N) => {
3110
+ var b;
3111
+ N || (l = !1);
3112
+ const L = n.find((T) => T.row == p && T.col == h && typeof T.area > "u" && typeof T.areas > "u");
3113
+ L && ((b = r.value) == null || b.SelectLayoutById(JSON.stringify(L))), N = !0;
3114
+ },
3115
+ selectLoyoutById: (p, h) => {
3116
+ var N;
3117
+ h || (l = !1), (N = r.value) == null || N.SelectLayoutById(p), h = !0;
3112
3118
  },
3113
3119
  refLayoutShow: r,
3114
3120
  clickShowSelectPanel: d,
@@ -3121,7 +3127,7 @@ const Wa = /* @__PURE__ */ de($a, [["render", Ga], ["__scopeId", "data-v-36f7a9f
3121
3127
  },
3122
3128
  expose: ["selectLoyoutById"]
3123
3129
  });
3124
- const Xn = (e) => (Co("data-v-22d9dfa1"), e = e(), Po(), e), ja = { class: "layout-switcher" }, Ba = ["innerHTML"], Ya = { class: "switch-panel" }, za = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("div", { style: { "margin-left": "10px" } }, [
3130
+ const Xn = (e) => (Co("data-v-11aff58a"), e = e(), Po(), e), ja = { class: "layout-switcher" }, Ba = ["innerHTML"], Ya = { class: "switch-panel" }, za = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("div", { style: { "margin-left": "10px" } }, [
3125
3131
  /* @__PURE__ */ C("span", null, "\u8BF7\u9009\u62E9\u5E03\u5C40\u6837\u5F0F")
3126
3132
  ], -1)), Ka = { style: { "margin-left": "10px", padding: "10px" } }, Xa = { style: { "margin-left": "10px" } }, Ja = /* @__PURE__ */ Xn(() => /* @__PURE__ */ C("span", null, "\u6807\u51C6\u6A21\u5F0F\uFF1A", -1));
3127
3133
  function Qa(e, t, n, r, o, a) {
@@ -3154,7 +3160,7 @@ function Qa(e, t, n, r, o, a) {
3154
3160
  ])
3155
3161
  ]);
3156
3162
  }
3157
- const qa = /* @__PURE__ */ de(Ha, [["render", Qa], ["__scopeId", "data-v-22d9dfa1"]]), Za = _e({
3163
+ const qa = /* @__PURE__ */ de(Ha, [["render", Qa], ["__scopeId", "data-v-11aff58a"]]), Za = _e({
3158
3164
  props: {
3159
3165
  layout: {
3160
3166
  type: Object