smarteye-e-components 0.0.80 → 0.0.82

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,4 +1,4 @@
1
- import { h as et, getCurrentInstance as Nt, effectScope as es, inject as St, onMounted as xe, onUnmounted as st, ref as k, computed as V, watch as Ie, Fragment as ue, isRef as ts, createVNode as B, Text as ns, defineComponent as q, openBlock as N, createElementBlock as C, normalizeClass as ke, renderSlot as Y, createElementVNode as b, toDisplayString as z, createCommentVNode as ge, normalizeStyle as me, renderList as Ee, resolveComponent as _e, withDirectives as Gn, withCtx as te, createBlock as Fe, vShow as zn, provide as os, reactive as we, createTextVNode as Ct, unref as ae, Teleport as Hn, toRaw as ze } from "vue";
1
+ import { h as et, getCurrentInstance as St, effectScope as es, inject as tt, onMounted as xe, onUnmounted as rt, ref as M, computed as V, watch as Ie, Fragment as ue, isRef as ts, createVNode as B, Text as ns, defineComponent as q, openBlock as S, createElementBlock as D, normalizeClass as ke, renderSlot as Y, createElementVNode as L, toDisplayString as z, createCommentVNode as ge, normalizeStyle as me, renderList as Ee, nextTick as os, resolveComponent as _e, withDirectives as Gn, withCtx as te, createBlock as Fe, vShow as zn, provide as ss, reactive as we, createTextVNode as Ct, unref as ae, Teleport as Hn, toRaw as ze } from "vue";
2
2
  /*!
3
3
  * shared v9.2.2
4
4
  * (c) 2022 kazuya kawaguchi
@@ -12,26 +12,26 @@ if (process.env.NODE_ENV !== "production") {
12
12
  e.measure(t, n, o), e.clearMarks(n), e.clearMarks(o);
13
13
  });
14
14
  }
15
- const ss = /\{([0-9a-zA-Z]+)\}/g;
16
- function At(e, ...t) {
17
- return t.length === 1 && x(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ss, (n, o) => t.hasOwnProperty(o) ? t[o] : "");
15
+ const rs = /\{([0-9a-zA-Z]+)\}/g;
16
+ function Dt(e, ...t) {
17
+ return t.length === 1 && x(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(rs, (n, o) => t.hasOwnProperty(o) ? t[o] : "");
18
18
  }
19
- const rs = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", ve = (e) => rs ? Symbol(e) : e, as = (e, t, n) => ls({ l: e, k: t, s: n }), ls = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), K = (e) => typeof e == "number" && isFinite(e), is = (e) => $t(e) === "[object Date]", tt = (e) => $t(e) === "[object RegExp]", rt = (e) => M(e) && Object.keys(e).length === 0;
19
+ const as = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", ve = (e) => as ? Symbol(e) : e, ls = (e, t, n) => is({ l: e, k: t, s: n }), is = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), K = (e) => typeof e == "number" && isFinite(e), cs = (e) => $t(e) === "[object Date]", nt = (e) => $t(e) === "[object RegExp]", at = (e) => k(e) && Object.keys(e).length === 0;
20
20
  function Ve(e, t) {
21
21
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
22
22
  }
23
23
  const ne = Object.assign;
24
24
  let Wt;
25
- const Dt = () => Wt || (Wt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
25
+ const At = () => Wt || (Wt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
26
26
  function Bt(e) {
27
27
  return e.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;");
28
28
  }
29
- const cs = Object.prototype.hasOwnProperty;
29
+ const us = Object.prototype.hasOwnProperty;
30
30
  function Pt(e, t) {
31
- return cs.call(e, t);
31
+ return us.call(e, t);
32
32
  }
33
- const H = Array.isArray, W = (e) => typeof e == "function", L = (e) => typeof e == "string", G = (e) => typeof e == "boolean", x = (e) => e !== null && typeof e == "object", jn = Object.prototype.toString, $t = (e) => jn.call(e), M = (e) => $t(e) === "[object Object]", us = (e) => e == null ? "" : H(e) || M(e) && e.toString === jn ? JSON.stringify(e, null, 2) : String(e), Kt = 2;
34
- function ds(e, t = 0, n = e.length) {
33
+ const H = Array.isArray, W = (e) => typeof e == "function", b = (e) => typeof e == "string", G = (e) => typeof e == "boolean", x = (e) => e !== null && typeof e == "object", jn = Object.prototype.toString, $t = (e) => jn.call(e), k = (e) => $t(e) === "[object Object]", ds = (e) => e == null ? "" : H(e) || k(e) && e.toString === jn ? JSON.stringify(e, null, 2) : String(e), Kt = 2;
34
+ function fs(e, t = 0, n = e.length) {
35
35
  const o = e.split(/\r?\n/);
36
36
  let s = 0;
37
37
  const a = [];
@@ -44,8 +44,8 @@ function ds(e, t = 0, n = e.length) {
44
44
  a.push(`${i}${" ".repeat(3 - String(i).length)}| ${o[l]}`);
45
45
  const c = o[l].length;
46
46
  if (l === r) {
47
- const m = t - (s - c) + 1, f = Math.max(1, n > s ? c - m : n - t);
48
- a.push(" | " + " ".repeat(m) + "^".repeat(f));
47
+ const m = t - (s - c) + 1, d = Math.max(1, n > s ? c - m : n - t);
48
+ a.push(" | " + " ".repeat(m) + "^".repeat(d));
49
49
  } else if (l > r) {
50
50
  if (n > s) {
51
51
  const m = Math.max(Math.min(n - s, c), 1);
@@ -97,7 +97,7 @@ const Q = {
97
97
  UNEXPECTED_EMPTY_LINKED_KEY: 13,
98
98
  UNEXPECTED_LEXICAL_ANALYSIS: 14,
99
99
  __EXTEND_POINT__: 15
100
- }, fs = {
100
+ }, _s = {
101
101
  [Q.EXPECTED_TOKEN]: "Expected token: '{0}'",
102
102
  [Q.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
103
103
  [Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]: "Unterminated single quote in placeholder",
@@ -114,7 +114,7 @@ const Q = {
114
114
  [Q.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'"
115
115
  };
116
116
  function Bn(e, t, n = {}) {
117
- const { domain: o, messages: s, args: a } = n, r = process.env.NODE_ENV !== "production" ? At((s || fs)[e] || "", ...a || []) : e, l = new SyntaxError(String(r));
117
+ const { domain: o, messages: s, args: a } = n, r = process.env.NODE_ENV !== "production" ? Dt((s || _s)[e] || "", ...a || []) : e, l = new SyntaxError(String(r));
118
118
  return l.code = e, t && (l.location = t), l.domain = o, l;
119
119
  }
120
120
  /*!
@@ -131,25 +131,25 @@ const Kn = {
131
131
  * (c) 2022 kazuya kawaguchi
132
132
  * Released under the MIT License.
133
133
  */
134
- const be = [];
135
- be[0] = {
134
+ const Le = [];
135
+ Le[0] = {
136
136
  w: [0],
137
137
  i: [3, 0],
138
138
  ["["]: [4],
139
139
  o: [7]
140
140
  };
141
- be[1] = {
141
+ Le[1] = {
142
142
  w: [1],
143
143
  ["."]: [2],
144
144
  ["["]: [4],
145
145
  o: [7]
146
146
  };
147
- be[2] = {
147
+ Le[2] = {
148
148
  w: [2],
149
149
  i: [3, 0],
150
150
  [0]: [3, 0]
151
151
  };
152
- be[3] = {
152
+ Le[3] = {
153
153
  i: [3, 0],
154
154
  [0]: [3, 0],
155
155
  w: [1, 1],
@@ -157,7 +157,7 @@ be[3] = {
157
157
  ["["]: [4, 1],
158
158
  o: [7, 1]
159
159
  };
160
- be[4] = {
160
+ Le[4] = {
161
161
  ["'"]: [5, 0],
162
162
  ['"']: [6, 0],
163
163
  ["["]: [
@@ -168,25 +168,25 @@ be[4] = {
168
168
  o: 8,
169
169
  l: [4, 0]
170
170
  };
171
- be[5] = {
171
+ Le[5] = {
172
172
  ["'"]: [4, 0],
173
173
  o: 8,
174
174
  l: [5, 0]
175
175
  };
176
- be[6] = {
176
+ Le[6] = {
177
177
  ['"']: [4, 0],
178
178
  o: 8,
179
179
  l: [6, 0]
180
180
  };
181
- const _s = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
182
- function ms(e) {
183
- return _s.test(e);
184
- }
181
+ const ms = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
185
182
  function ps(e) {
183
+ return ms.test(e);
184
+ }
185
+ function gs(e) {
186
186
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
187
187
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
188
188
  }
189
- function gs(e) {
189
+ function hs(e) {
190
190
  if (e == null)
191
191
  return "o";
192
192
  switch (e.charCodeAt(0)) {
@@ -211,13 +211,13 @@ function gs(e) {
211
211
  }
212
212
  return "i";
213
213
  }
214
- function hs(e) {
214
+ function vs(e) {
215
215
  const t = e.trim();
216
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ms(t) ? ps(t) : "*" + t;
216
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ps(t) ? gs(t) : "*" + t;
217
217
  }
218
- function vs(e) {
218
+ function ys(e) {
219
219
  const t = [];
220
- let n = -1, o = 0, s = 0, a, r, l, i, c, m, f;
220
+ let n = -1, o = 0, s = 0, a, r, l, i, c, m, d;
221
221
  const u = [];
222
222
  u[0] = () => {
223
223
  r === void 0 ? r = l : r += l;
@@ -229,33 +229,33 @@ function vs(e) {
229
229
  if (s > 0)
230
230
  s--, o = 4, u[0]();
231
231
  else {
232
- if (s = 0, r === void 0 || (r = hs(r), r === !1))
232
+ if (s = 0, r === void 0 || (r = vs(r), r === !1))
233
233
  return !1;
234
234
  u[1]();
235
235
  }
236
236
  };
237
- function d() {
238
- const g = e[n + 1];
239
- if (o === 5 && g === "'" || o === 6 && g === '"')
240
- return n++, l = "\\" + g, u[0](), !0;
237
+ function p() {
238
+ const y = e[n + 1];
239
+ if (o === 5 && y === "'" || o === 6 && y === '"')
240
+ return n++, l = "\\" + y, u[0](), !0;
241
241
  }
242
242
  for (; o !== null; )
243
- if (n++, a = e[n], !(a === "\\" && d())) {
244
- if (i = gs(a), f = be[o], c = f[i] || f.l || 8, c === 8 || (o = c[0], c[1] !== void 0 && (m = u[c[1]], m && (l = a, m() === !1))))
243
+ if (n++, a = e[n], !(a === "\\" && p())) {
244
+ if (i = hs(a), d = Le[o], c = d[i] || d.l || 8, c === 8 || (o = c[0], c[1] !== void 0 && (m = u[c[1]], m && (l = a, m() === !1))))
245
245
  return;
246
246
  if (o === 7)
247
247
  return t;
248
248
  }
249
249
  }
250
250
  const Yt = /* @__PURE__ */ new Map();
251
- function ys(e, t) {
251
+ function Es(e, t) {
252
252
  return x(e) ? e[t] : null;
253
253
  }
254
- function Es(e, t) {
254
+ function ws(e, t) {
255
255
  if (!x(e))
256
256
  return null;
257
257
  let n = Yt.get(t);
258
- if (n || (n = vs(t), n && Yt.set(t, n)), !n)
258
+ if (n || (n = ys(t), n && Yt.set(t, n)), !n)
259
259
  return null;
260
260
  const o = n.length;
261
261
  let s = e, a = 0;
@@ -267,45 +267,45 @@ function Es(e, t) {
267
267
  }
268
268
  return s;
269
269
  }
270
- const ws = (e) => e, bs = (e) => "", Ls = "text", Os = (e) => e.length === 0 ? "" : e.join(""), Is = us;
270
+ const Ls = (e) => e, bs = (e) => "", Os = "text", Is = (e) => e.length === 0 ? "" : e.join(""), Ts = ds;
271
271
  function Xt(e, t) {
272
272
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
273
273
  }
274
- function Ts(e) {
274
+ function Ns(e) {
275
275
  const t = K(e.pluralIndex) ? e.pluralIndex : -1;
276
276
  return e.named && (K(e.named.count) || K(e.named.n)) ? K(e.named.count) ? e.named.count : K(e.named.n) ? e.named.n : t : t;
277
277
  }
278
- function Ns(e, t) {
278
+ function Ss(e, t) {
279
279
  t.count || (t.count = e), t.n || (t.n = e);
280
280
  }
281
- function Ss(e = {}) {
282
- const t = e.locale, n = Ts(e), o = x(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Xt, s = x(e.pluralRules) && L(t) && W(e.pluralRules[t]) ? Xt : void 0, a = (p) => p[o(n, p.length, s)], r = e.list || [], l = (p) => r[p], i = e.named || {};
283
- K(e.pluralIndex) && Ns(n, i);
284
- const c = (p) => i[p];
285
- function m(p) {
286
- const w = W(e.messages) ? e.messages(p) : x(e.messages) ? e.messages[p] : !1;
287
- return w || (e.parent ? e.parent.message(p) : bs);
281
+ function Cs(e = {}) {
282
+ const t = e.locale, n = Ns(e), o = x(e.pluralRules) && b(t) && W(e.pluralRules[t]) ? e.pluralRules[t] : Xt, s = x(e.pluralRules) && b(t) && W(e.pluralRules[t]) ? Xt : void 0, a = (f) => f[o(n, f.length, s)], r = e.list || [], l = (f) => r[f], i = e.named || {};
283
+ K(e.pluralIndex) && Ss(n, i);
284
+ const c = (f) => i[f];
285
+ function m(f) {
286
+ const g = W(e.messages) ? e.messages(f) : x(e.messages) ? e.messages[f] : !1;
287
+ return g || (e.parent ? e.parent.message(f) : bs);
288
288
  }
289
- const f = (p) => e.modifiers ? e.modifiers[p] : ws, u = M(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Os, d = M(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : Is, g = M(e.processor) && L(e.processor.type) ? e.processor.type : Ls, y = {
289
+ const d = (f) => e.modifiers ? e.modifiers[f] : Ls, u = k(e.processor) && W(e.processor.normalize) ? e.processor.normalize : Is, p = k(e.processor) && W(e.processor.interpolate) ? e.processor.interpolate : Ts, y = k(e.processor) && b(e.processor.type) ? e.processor.type : Os, w = {
290
290
  list: l,
291
291
  named: c,
292
292
  plural: a,
293
- linked: (p, ...w) => {
294
- const [S, T] = w;
295
- let E = "text", P = "";
296
- w.length === 1 ? x(S) ? (P = S.modifier || P, E = S.type || E) : L(S) && (P = S || P) : w.length === 2 && (L(S) && (P = S || P), L(T) && (E = T || E));
297
- let $ = m(p)(y);
298
- return E === "vnode" && H($) && P && ($ = $[0]), P ? f(P)($, E) : $;
293
+ linked: (f, ...g) => {
294
+ const [T, O] = g;
295
+ let v = "text", A = "";
296
+ g.length === 1 ? x(T) ? (A = T.modifier || A, v = T.type || v) : b(T) && (A = T || A) : g.length === 2 && (b(T) && (A = T || A), b(O) && (v = O || v));
297
+ let $ = m(f)(w);
298
+ return v === "vnode" && H($) && A && ($ = $[0]), A ? d(A)($, v) : $;
299
299
  },
300
300
  message: m,
301
- type: g,
302
- interpolate: d,
301
+ type: y,
302
+ interpolate: p,
303
303
  normalize: u
304
304
  };
305
- return y;
305
+ return w;
306
306
  }
307
307
  let Be = null;
308
- function Cs(e) {
308
+ function Ds(e) {
309
309
  Be = e;
310
310
  }
311
311
  function As(e, t, n) {
@@ -316,8 +316,8 @@ function As(e, t, n) {
316
316
  meta: n
317
317
  });
318
318
  }
319
- const Ds = /* @__PURE__ */ Ps(Kn.FunctionTranslate);
320
- function Ps(e) {
319
+ const Ps = /* @__PURE__ */ $s(Kn.FunctionTranslate);
320
+ function $s(e) {
321
321
  return (t) => Be && Be.emit(e, t);
322
322
  }
323
323
  const le = {
@@ -328,7 +328,7 @@ const le = {
328
328
  CANNOT_FORMAT_DATE: 5,
329
329
  FALLBACK_TO_DATE_FORMAT: 6,
330
330
  __EXTEND_POINT__: 7
331
- }, $s = {
331
+ }, Ms = {
332
332
  [le.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
333
333
  [le.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
334
334
  [le.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -337,16 +337,16 @@ const le = {
337
337
  [le.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale."
338
338
  };
339
339
  function Re(e, ...t) {
340
- return At($s[e], ...t);
340
+ return Dt(Ms[e], ...t);
341
341
  }
342
- function Ms(e, t, n) {
342
+ function ks(e, t, n) {
343
343
  return [.../* @__PURE__ */ new Set([
344
344
  n,
345
- ...H(t) ? t : x(t) ? Object.keys(t) : L(t) ? [t] : [n]
345
+ ...H(t) ? t : x(t) ? Object.keys(t) : b(t) ? [t] : [n]
346
346
  ])];
347
347
  }
348
348
  function Yn(e, t, n) {
349
- const o = L(n) ? n : Mt, s = e;
349
+ const o = b(n) ? n : Mt, s = e;
350
350
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
351
351
  let a = s.__localeChainCache.get(o);
352
352
  if (!a) {
@@ -354,8 +354,8 @@ function Yn(e, t, n) {
354
354
  let r = [n];
355
355
  for (; H(r); )
356
356
  r = Jt(a, r, t);
357
- const l = H(t) || !M(t) ? t : t.default ? t.default : null;
358
- r = L(l) ? [l] : l, H(r) && Jt(a, r, !1), s.__localeChainCache.set(o, a);
357
+ const l = H(t) || !k(t) ? t : t.default ? t.default : null;
358
+ r = b(l) ? [l] : l, H(r) && Jt(a, r, !1), s.__localeChainCache.set(o, a);
359
359
  }
360
360
  return a;
361
361
  }
@@ -363,55 +363,55 @@ function Jt(e, t, n) {
363
363
  let o = !0;
364
364
  for (let s = 0; s < t.length && G(o); s++) {
365
365
  const a = t[s];
366
- L(a) && (o = ks(e, t[s], n));
366
+ b(a) && (o = Rs(e, t[s], n));
367
367
  }
368
368
  return o;
369
369
  }
370
- function ks(e, t, n) {
370
+ function Rs(e, t, n) {
371
371
  let o;
372
372
  const s = t.split("-");
373
373
  do {
374
374
  const a = s.join("-");
375
- o = Rs(e, a, n), s.splice(-1, 1);
375
+ o = xs(e, a, n), s.splice(-1, 1);
376
376
  } while (s.length && o === !0);
377
377
  return o;
378
378
  }
379
- function Rs(e, t, n) {
379
+ function xs(e, t, n) {
380
380
  let o = !1;
381
381
  if (!e.includes(t) && (o = !0, t)) {
382
382
  o = t[t.length - 1] !== "!";
383
383
  const s = t.replace(/!/g, "");
384
- e.push(s), (H(n) || M(n)) && n[s] && (o = n[s]);
384
+ e.push(s), (H(n) || k(n)) && n[s] && (o = n[s]);
385
385
  }
386
386
  return o;
387
387
  }
388
- const xs = "9.2.2", at = -1, Mt = "en-US", nt = "", Qt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
389
- function Fs() {
388
+ const Fs = "9.2.2", lt = -1, Mt = "en-US", ot = "", Qt = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
389
+ function Vs() {
390
390
  return {
391
- upper: (e, t) => t === "text" && L(e) ? e.toUpperCase() : t === "vnode" && x(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
392
- lower: (e, t) => t === "text" && L(e) ? e.toLowerCase() : t === "vnode" && x(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
393
- capitalize: (e, t) => t === "text" && L(e) ? Qt(e) : t === "vnode" && x(e) && "__v_isVNode" in e ? Qt(e.children) : e
391
+ upper: (e, t) => t === "text" && b(e) ? e.toUpperCase() : t === "vnode" && x(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
392
+ lower: (e, t) => t === "text" && b(e) ? e.toLowerCase() : t === "vnode" && x(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
393
+ capitalize: (e, t) => t === "text" && b(e) ? Qt(e) : t === "vnode" && x(e) && "__v_isVNode" in e ? Qt(e.children) : e
394
394
  };
395
395
  }
396
- let Vs, Xn;
397
- function Us(e) {
396
+ let Us, Xn;
397
+ function Gs(e) {
398
398
  Xn = e;
399
399
  }
400
400
  let Jn;
401
- function Gs(e) {
401
+ function zs(e) {
402
402
  Jn = e;
403
403
  }
404
404
  let Qn = null;
405
405
  const qt = (e) => {
406
406
  Qn = e;
407
- }, zs = () => Qn;
407
+ }, Hs = () => Qn;
408
408
  let qn = null;
409
409
  const Zt = (e) => {
410
410
  qn = e;
411
- }, Hs = () => qn;
411
+ }, js = () => qn;
412
412
  let en = 0;
413
- function js(e = {}) {
414
- const t = L(e.version) ? e.version : xs, n = L(e.locale) ? e.locale : Mt, o = H(e.fallbackLocale) || M(e.fallbackLocale) || L(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, s = M(e.messages) ? e.messages : { [n]: {} }, a = M(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, r = M(e.numberFormats) ? e.numberFormats : { [n]: {} }, l = ne({}, e.modifiers || {}, Fs()), i = e.pluralRules || {}, c = W(e.missing) ? e.missing : null, m = G(e.missingWarn) || tt(e.missingWarn) ? e.missingWarn : !0, f = G(e.fallbackWarn) || tt(e.fallbackWarn) ? e.fallbackWarn : !0, u = !!e.fallbackFormat, d = !!e.unresolving, g = W(e.postTranslation) ? e.postTranslation : null, v = M(e.processor) ? e.processor : null, y = G(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, p = !!e.escapeParameter, w = W(e.messageCompiler) ? e.messageCompiler : Vs, S = W(e.messageResolver) ? e.messageResolver : Xn || ys, T = W(e.localeFallbacker) ? e.localeFallbacker : Jn || Ms, E = x(e.fallbackContext) ? e.fallbackContext : void 0, P = W(e.onWarn) ? e.onWarn : Ve, $ = e, D = x($.__datetimeFormatters) ? $.__datetimeFormatters : /* @__PURE__ */ new Map(), X = x($.__numberFormatters) ? $.__numberFormatters : /* @__PURE__ */ new Map(), Z = x($.__meta) ? $.__meta : {};
413
+ function Ws(e = {}) {
414
+ const t = b(e.version) ? e.version : Fs, n = b(e.locale) ? e.locale : Mt, o = H(e.fallbackLocale) || k(e.fallbackLocale) || b(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : n, s = k(e.messages) ? e.messages : { [n]: {} }, a = k(e.datetimeFormats) ? e.datetimeFormats : { [n]: {} }, r = k(e.numberFormats) ? e.numberFormats : { [n]: {} }, l = ne({}, e.modifiers || {}, Vs()), i = e.pluralRules || {}, c = W(e.missing) ? e.missing : null, m = G(e.missingWarn) || nt(e.missingWarn) ? e.missingWarn : !0, d = G(e.fallbackWarn) || nt(e.fallbackWarn) ? e.fallbackWarn : !0, u = !!e.fallbackFormat, p = !!e.unresolving, y = W(e.postTranslation) ? e.postTranslation : null, E = k(e.processor) ? e.processor : null, w = G(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, f = !!e.escapeParameter, g = W(e.messageCompiler) ? e.messageCompiler : Us, T = W(e.messageResolver) ? e.messageResolver : Xn || Es, O = W(e.localeFallbacker) ? e.localeFallbacker : Jn || ks, v = x(e.fallbackContext) ? e.fallbackContext : void 0, A = W(e.onWarn) ? e.onWarn : Ve, $ = e, C = x($.__datetimeFormatters) ? $.__datetimeFormatters : /* @__PURE__ */ new Map(), X = x($.__numberFormatters) ? $.__numberFormatters : /* @__PURE__ */ new Map(), Z = x($.__meta) ? $.__meta : {};
415
415
  en++;
416
416
  const J = {
417
417
  version: t,
@@ -423,23 +423,23 @@ function js(e = {}) {
423
423
  pluralRules: i,
424
424
  missing: c,
425
425
  missingWarn: m,
426
- fallbackWarn: f,
426
+ fallbackWarn: d,
427
427
  fallbackFormat: u,
428
- unresolving: d,
429
- postTranslation: g,
430
- processor: v,
431
- warnHtmlMessage: y,
432
- escapeParameter: p,
433
- messageCompiler: w,
434
- messageResolver: S,
435
- localeFallbacker: T,
436
- fallbackContext: E,
437
- onWarn: P,
428
+ unresolving: p,
429
+ postTranslation: y,
430
+ processor: E,
431
+ warnHtmlMessage: w,
432
+ escapeParameter: f,
433
+ messageCompiler: g,
434
+ messageResolver: T,
435
+ localeFallbacker: O,
436
+ fallbackContext: v,
437
+ onWarn: A,
438
438
  __meta: Z
439
439
  };
440
- return J.datetimeFormats = a, J.numberFormats = r, J.__datetimeFormatters = D, J.__numberFormatters = X, process.env.NODE_ENV !== "production" && (J.__v_emitter = $.__v_emitter != null ? $.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && As(J, t, Z), J;
440
+ return J.datetimeFormats = a, J.numberFormats = r, J.__datetimeFormatters = C, J.__numberFormatters = X, process.env.NODE_ENV !== "production" && (J.__v_emitter = $.__v_emitter != null ? $.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && As(J, t, Z), J;
441
441
  }
442
- function lt(e, t) {
442
+ function it(e, t) {
443
443
  return e instanceof RegExp ? e.test(t) : e;
444
444
  }
445
445
  function Zn(e, t) {
@@ -458,7 +458,7 @@ function kt(e, t, n, o, s) {
458
458
  }
459
459
  if (a !== null) {
460
460
  const l = a(e, n, t, s);
461
- return L(l) ? l : t;
461
+ return b(l) ? l : t;
462
462
  } else
463
463
  return process.env.NODE_ENV !== "production" && Zn(o, t) && r(Re(le.NOT_FOUND_KEY, { key: t, locale: n })), t;
464
464
  }
@@ -467,98 +467,98 @@ function Ge(e, t, n) {
467
467
  o.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
468
468
  }
469
469
  let eo = Q.__EXTEND_POINT__;
470
- const ft = () => ++eo, ye = {
470
+ const _t = () => ++eo, ye = {
471
471
  INVALID_ARGUMENT: eo,
472
- INVALID_DATE_ARGUMENT: ft(),
473
- INVALID_ISO_DATE_ARGUMENT: ft(),
474
- __EXTEND_POINT__: ft()
472
+ INVALID_DATE_ARGUMENT: _t(),
473
+ INVALID_ISO_DATE_ARGUMENT: _t(),
474
+ __EXTEND_POINT__: _t()
475
475
  };
476
476
  function Me(e) {
477
- return Bn(e, null, process.env.NODE_ENV !== "production" ? { messages: Ws } : void 0);
477
+ return Bn(e, null, process.env.NODE_ENV !== "production" ? { messages: Bs } : void 0);
478
478
  }
479
- const Ws = {
479
+ const Bs = {
480
480
  [ye.INVALID_ARGUMENT]: "Invalid arguments",
481
481
  [ye.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
482
482
  [ye.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string"
483
483
  }, tn = () => "", pe = (e) => W(e);
484
484
  function nn(e, ...t) {
485
- const { fallbackFormat: n, postTranslation: o, unresolving: s, messageCompiler: a, fallbackLocale: r, messages: l } = e, [i, c] = pt(...t), m = G(c.missingWarn) ? c.missingWarn : e.missingWarn, f = G(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, u = G(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, d = !!c.resolvedMessage, g = L(c.default) || G(c.default) ? G(c.default) ? a ? i : () => i : c.default : n ? a ? i : () => i : "", v = n || g !== "", y = L(c.locale) ? c.locale : e.locale;
486
- u && Bs(c);
487
- let [p, w, S] = d ? [
485
+ const { fallbackFormat: n, postTranslation: o, unresolving: s, messageCompiler: a, fallbackLocale: r, messages: l } = e, [i, c] = gt(...t), m = G(c.missingWarn) ? c.missingWarn : e.missingWarn, d = G(c.fallbackWarn) ? c.fallbackWarn : e.fallbackWarn, u = G(c.escapeParameter) ? c.escapeParameter : e.escapeParameter, p = !!c.resolvedMessage, y = b(c.default) || G(c.default) ? G(c.default) ? a ? i : () => i : c.default : n ? a ? i : () => i : "", E = n || y !== "", w = b(c.locale) ? c.locale : e.locale;
486
+ u && Ks(c);
487
+ let [f, g, T] = p ? [
488
488
  i,
489
- y,
490
- l[y] || {}
491
- ] : to(e, i, y, r, f, m), T = p, E = i;
492
- if (!d && !(L(T) || pe(T)) && v && (T = g, E = T), !d && (!(L(T) || pe(T)) || !L(w)))
493
- return s ? at : i;
494
- if (process.env.NODE_ENV !== "production" && L(T) && e.messageCompiler == null)
489
+ w,
490
+ l[w] || {}
491
+ ] : to(e, i, w, r, d, m), O = f, v = i;
492
+ if (!p && !(b(O) || pe(O)) && E && (O = y, v = O), !p && (!(b(O) || pe(O)) || !b(g)))
493
+ return s ? lt : i;
494
+ if (process.env.NODE_ENV !== "production" && b(O) && e.messageCompiler == null)
495
495
  return Ve(`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;
496
- let P = !1;
496
+ let A = !1;
497
497
  const $ = () => {
498
- P = !0;
499
- }, D = pe(T) ? T : no(e, i, w, T, E, $);
500
- if (P)
501
- return T;
502
- const X = Xs(e, w, S, c), Z = Ss(X), J = Ks(e, D, Z), Ae = o ? o(J, i) : J;
498
+ A = !0;
499
+ }, C = pe(O) ? O : no(e, i, g, O, v, $);
500
+ if (A)
501
+ return O;
502
+ const X = Js(e, g, T, c), Z = Cs(X), J = Ys(e, C, Z), De = o ? o(J, i) : J;
503
503
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
504
- const O = {
504
+ const I = {
505
505
  timestamp: Date.now(),
506
- key: L(i) ? i : pe(T) ? T.key : "",
507
- locale: w || (pe(T) ? T.locale : ""),
508
- format: L(T) ? T : pe(T) ? T.source : "",
509
- message: Ae
506
+ key: b(i) ? i : pe(O) ? O.key : "",
507
+ locale: g || (pe(O) ? O.locale : ""),
508
+ format: b(O) ? O : pe(O) ? O.source : "",
509
+ message: De
510
510
  };
511
- O.meta = ne({}, e.__meta, zs() || {}), Ds(O);
511
+ I.meta = ne({}, e.__meta, Hs() || {}), Ps(I);
512
512
  }
513
- return Ae;
513
+ return De;
514
514
  }
515
- function Bs(e) {
516
- H(e.list) ? e.list = e.list.map((t) => L(t) ? Bt(t) : t) : x(e.named) && Object.keys(e.named).forEach((t) => {
517
- L(e.named[t]) && (e.named[t] = Bt(e.named[t]));
515
+ function Ks(e) {
516
+ H(e.list) ? e.list = e.list.map((t) => b(t) ? Bt(t) : t) : x(e.named) && Object.keys(e.named).forEach((t) => {
517
+ b(e.named[t]) && (e.named[t] = Bt(e.named[t]));
518
518
  });
519
519
  }
520
520
  function to(e, t, n, o, s, a) {
521
521
  const { messages: r, onWarn: l, messageResolver: i, localeFallbacker: c } = e, m = c(e, o, n);
522
- let f = {}, u, d = null, g = n, v = null;
523
- const y = "translate";
524
- for (let p = 0; p < m.length; p++) {
525
- if (u = v = m[p], process.env.NODE_ENV !== "production" && n !== u && lt(s, t) && l(Re(le.FALLBACK_TO_TRANSLATE, {
522
+ let d = {}, u, p = null, y = n, E = null;
523
+ const w = "translate";
524
+ for (let f = 0; f < m.length; f++) {
525
+ if (u = E = m[f], process.env.NODE_ENV !== "production" && n !== u && it(s, t) && l(Re(le.FALLBACK_TO_TRANSLATE, {
526
526
  key: t,
527
527
  target: u
528
528
  })), process.env.NODE_ENV !== "production" && n !== u) {
529
- const P = e.__v_emitter;
530
- P && P.emit("fallback", {
531
- type: y,
529
+ const A = e.__v_emitter;
530
+ A && A.emit("fallback", {
531
+ type: w,
532
532
  key: t,
533
- from: g,
534
- to: v,
535
- groupId: `${y}:${t}`
533
+ from: y,
534
+ to: E,
535
+ groupId: `${w}:${t}`
536
536
  });
537
537
  }
538
- f = r[u] || {};
539
- let w = null, S, T;
540
- if (process.env.NODE_ENV !== "production" && he && (w = window.performance.now(), S = "intlify-message-resolve-start", T = "intlify-message-resolve-end", ie && ie(S)), (d = i(f, t)) === null && (d = f[t]), process.env.NODE_ENV !== "production" && he) {
541
- const P = window.performance.now(), $ = e.__v_emitter;
542
- $ && w && d && $.emit("message-resolve", {
538
+ d = r[u] || {};
539
+ let g = null, T, O;
540
+ if (process.env.NODE_ENV !== "production" && he && (g = window.performance.now(), T = "intlify-message-resolve-start", O = "intlify-message-resolve-end", ie && ie(T)), (p = i(d, t)) === null && (p = d[t]), process.env.NODE_ENV !== "production" && he) {
541
+ const A = window.performance.now(), $ = e.__v_emitter;
542
+ $ && g && p && $.emit("message-resolve", {
543
543
  type: "message-resolve",
544
544
  key: t,
545
- message: d,
546
- time: P - w,
547
- groupId: `${y}:${t}`
548
- }), S && T && ie && Te && (ie(T), Te("intlify message resolve", S, T));
545
+ message: p,
546
+ time: A - g,
547
+ groupId: `${w}:${t}`
548
+ }), T && O && ie && Te && (ie(O), Te("intlify message resolve", T, O));
549
549
  }
550
- if (L(d) || W(d))
550
+ if (b(p) || W(p))
551
551
  break;
552
- const E = kt(
552
+ const v = kt(
553
553
  e,
554
554
  t,
555
555
  u,
556
556
  a,
557
- y
557
+ w
558
558
  );
559
- E !== t && (d = E), g = v;
559
+ v !== t && (p = v), y = E;
560
560
  }
561
- return [d, u, f];
561
+ return [p, u, d];
562
562
  }
563
563
  function no(e, t, n, o, s, a) {
564
564
  const { messageCompiler: r, warnHtmlMessage: l } = e;
@@ -572,19 +572,19 @@ function no(e, t, n, o, s, a) {
572
572
  }
573
573
  let i = null, c, m;
574
574
  process.env.NODE_ENV !== "production" && he && (i = window.performance.now(), c = "intlify-message-compilation-start", m = "intlify-message-compilation-end", ie && ie(c));
575
- const f = r(o, Ys(e, n, s, o, l, a));
575
+ const d = r(o, Xs(e, n, s, o, l, a));
576
576
  if (process.env.NODE_ENV !== "production" && he) {
577
- const u = window.performance.now(), d = e.__v_emitter;
578
- d && i && d.emit("message-compilation", {
577
+ const u = window.performance.now(), p = e.__v_emitter;
578
+ p && i && p.emit("message-compilation", {
579
579
  type: "message-compilation",
580
580
  message: o,
581
581
  time: u - i,
582
582
  groupId: `translate:${t}`
583
583
  }), c && m && ie && Te && (ie(m), Te("intlify message compilation", c, m));
584
584
  }
585
- return f.locale = n, f.key = t, f.source = o, f;
585
+ return d.locale = n, d.key = t, d.source = o, d;
586
586
  }
587
- function Ks(e, t, n) {
587
+ function Ys(e, t, n) {
588
588
  let o = null, s, a;
589
589
  process.env.NODE_ENV !== "production" && he && (o = window.performance.now(), s = "intlify-message-evaluation-start", a = "intlify-message-evaluation-end", ie && ie(s));
590
590
  const r = t(n);
@@ -599,19 +599,19 @@ function Ks(e, t, n) {
599
599
  }
600
600
  return r;
601
601
  }
602
- function pt(...e) {
602
+ function gt(...e) {
603
603
  const [t, n, o] = e, s = {};
604
- if (!L(t) && !K(t) && !pe(t))
604
+ if (!b(t) && !K(t) && !pe(t))
605
605
  throw Me(ye.INVALID_ARGUMENT);
606
606
  const a = K(t) ? String(t) : (pe(t), t);
607
- return K(n) ? s.plural = n : L(n) ? s.default = n : M(n) && !rt(n) ? s.named = n : H(n) && (s.list = n), K(o) ? s.plural = o : L(o) ? s.default = o : M(o) && ne(s, o), [a, s];
607
+ return K(n) ? s.plural = n : b(n) ? s.default = n : k(n) && !at(n) ? s.named = n : H(n) && (s.list = n), K(o) ? s.plural = o : b(o) ? s.default = o : k(o) && ne(s, o), [a, s];
608
608
  }
609
- function Ys(e, t, n, o, s, a) {
609
+ function Xs(e, t, n, o, s, a) {
610
610
  return {
611
611
  warnHtmlMessage: s,
612
612
  onError: (r) => {
613
613
  if (a && a(r), process.env.NODE_ENV !== "production") {
614
- const l = `Message compilation error: ${r.message}`, i = r.location && ds(o, r.location.start.offset, r.location.end.offset), c = e.__v_emitter;
614
+ const l = `Message compilation error: ${r.message}`, i = r.location && fs(o, r.location.start.offset, r.location.end.offset), c = e.__v_emitter;
615
615
  c && c.emit("compile-error", {
616
616
  message: o,
617
617
  error: r.message,
@@ -623,28 +623,28 @@ ${i}` : l);
623
623
  } else
624
624
  throw r;
625
625
  },
626
- onCacheKey: (r) => as(t, n, r)
626
+ onCacheKey: (r) => ls(t, n, r)
627
627
  };
628
628
  }
629
- function Xs(e, t, n, o) {
629
+ function Js(e, t, n, o) {
630
630
  const { modifiers: s, pluralRules: a, messageResolver: r, fallbackLocale: l, fallbackWarn: i, missingWarn: c, fallbackContext: m } = e, u = {
631
631
  locale: t,
632
632
  modifiers: s,
633
633
  pluralRules: a,
634
- messages: (d) => {
635
- let g = r(n, d);
636
- if (g == null && m) {
637
- const [, , v] = to(m, d, t, l, i, c);
638
- g = r(v, d);
634
+ messages: (p) => {
635
+ let y = r(n, p);
636
+ if (y == null && m) {
637
+ const [, , E] = to(m, p, t, l, i, c);
638
+ y = r(E, p);
639
639
  }
640
- if (L(g)) {
641
- let v = !1;
642
- const p = no(e, d, t, g, d, () => {
643
- v = !0;
640
+ if (b(y)) {
641
+ let E = !1;
642
+ const f = no(e, p, t, y, p, () => {
643
+ E = !0;
644
644
  });
645
- return v ? tn : p;
645
+ return E ? tn : f;
646
646
  } else
647
- return pe(g) ? g : tn;
647
+ return pe(y) ? y : tn;
648
648
  }
649
649
  };
650
650
  return e.processor && (u.processor = e.processor), o.list && (u.list = o.list), o.named && (u.named = o.named), K(o.plural) && (u.pluralIndex = o.plural), u;
@@ -656,40 +656,40 @@ const on = typeof Intl < "u", oo = {
656
656
  function sn(e, ...t) {
657
657
  const { datetimeFormats: n, unresolving: o, fallbackLocale: s, onWarn: a, localeFallbacker: r } = e, { __datetimeFormatters: l } = e;
658
658
  if (process.env.NODE_ENV !== "production" && !oo.dateTimeFormat)
659
- return a(Re(le.CANNOT_FORMAT_DATE)), nt;
660
- const [i, c, m, f] = gt(...t), u = G(m.missingWarn) ? m.missingWarn : e.missingWarn, d = G(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, g = !!m.part, v = L(m.locale) ? m.locale : e.locale, y = r(
659
+ return a(Re(le.CANNOT_FORMAT_DATE)), ot;
660
+ const [i, c, m, d] = ht(...t), u = G(m.missingWarn) ? m.missingWarn : e.missingWarn, p = G(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, y = !!m.part, E = b(m.locale) ? m.locale : e.locale, w = r(
661
661
  e,
662
662
  s,
663
- v
663
+ E
664
664
  );
665
- if (!L(i) || i === "")
666
- return new Intl.DateTimeFormat(v, f).format(c);
667
- let p = {}, w, S = null, T = v, E = null;
668
- const P = "datetime format";
669
- for (let X = 0; X < y.length; X++) {
670
- if (w = E = y[X], process.env.NODE_ENV !== "production" && v !== w && lt(d, i) && a(Re(le.FALLBACK_TO_DATE_FORMAT, {
665
+ if (!b(i) || i === "")
666
+ return new Intl.DateTimeFormat(E, d).format(c);
667
+ let f = {}, g, T = null, O = E, v = null;
668
+ const A = "datetime format";
669
+ for (let X = 0; X < w.length; X++) {
670
+ if (g = v = w[X], process.env.NODE_ENV !== "production" && E !== g && it(p, i) && a(Re(le.FALLBACK_TO_DATE_FORMAT, {
671
671
  key: i,
672
- target: w
673
- })), process.env.NODE_ENV !== "production" && v !== w) {
672
+ target: g
673
+ })), process.env.NODE_ENV !== "production" && E !== g) {
674
674
  const Z = e.__v_emitter;
675
675
  Z && Z.emit("fallback", {
676
- type: P,
676
+ type: A,
677
677
  key: i,
678
- from: T,
679
- to: E,
680
- groupId: `${P}:${i}`
678
+ from: O,
679
+ to: v,
680
+ groupId: `${A}:${i}`
681
681
  });
682
682
  }
683
- if (p = n[w] || {}, S = p[i], M(S))
683
+ if (f = n[g] || {}, T = f[i], k(T))
684
684
  break;
685
- kt(e, i, w, u, P), T = E;
685
+ kt(e, i, g, u, A), O = v;
686
686
  }
687
- if (!M(S) || !L(w))
688
- return o ? at : i;
689
- let $ = `${w}__${i}`;
690
- rt(f) || ($ = `${$}__${JSON.stringify(f)}`);
691
- let D = l.get($);
692
- return D || (D = new Intl.DateTimeFormat(w, ne({}, S, f)), l.set($, D)), g ? D.formatToParts(c) : D.format(c);
687
+ if (!k(T) || !b(g))
688
+ return o ? lt : i;
689
+ let $ = `${g}__${i}`;
690
+ at(d) || ($ = `${$}__${JSON.stringify(d)}`);
691
+ let C = l.get($);
692
+ return C || (C = new Intl.DateTimeFormat(g, ne({}, T, d)), l.set($, C)), y ? C.formatToParts(c) : C.format(c);
693
693
  }
694
694
  const so = [
695
695
  "localeMatcher",
@@ -713,10 +713,10 @@ const so = [
713
713
  "hourCycle",
714
714
  "fractionalSecondDigits"
715
715
  ];
716
- function gt(...e) {
716
+ function ht(...e) {
717
717
  const [t, n, o, s] = e, a = {};
718
718
  let r = {}, l;
719
- if (L(t)) {
719
+ if (b(t)) {
720
720
  const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
721
721
  if (!i)
722
722
  throw Me(ye.INVALID_ISO_DATE_ARGUMENT);
@@ -727,7 +727,7 @@ function gt(...e) {
727
727
  } catch {
728
728
  throw Me(ye.INVALID_ISO_DATE_ARGUMENT);
729
729
  }
730
- } else if (is(t)) {
730
+ } else if (cs(t)) {
731
731
  if (isNaN(t.getTime()))
732
732
  throw Me(ye.INVALID_DATE_ARGUMENT);
733
733
  l = t;
@@ -735,9 +735,9 @@ function gt(...e) {
735
735
  l = t;
736
736
  else
737
737
  throw Me(ye.INVALID_ARGUMENT);
738
- return L(n) ? a.key = n : M(n) && Object.keys(n).forEach((i) => {
738
+ return b(n) ? a.key = n : k(n) && Object.keys(n).forEach((i) => {
739
739
  so.includes(i) ? r[i] = n[i] : a[i] = n[i];
740
- }), L(o) ? a.locale = o : M(o) && (r = o), M(s) && (r = s), [a.key || "", l, a, r];
740
+ }), b(o) ? a.locale = o : k(o) && (r = o), k(s) && (r = s), [a.key || "", l, a, r];
741
741
  }
742
742
  function rn(e, t, n) {
743
743
  const o = e;
@@ -749,40 +749,40 @@ function rn(e, t, n) {
749
749
  function an(e, ...t) {
750
750
  const { numberFormats: n, unresolving: o, fallbackLocale: s, onWarn: a, localeFallbacker: r } = e, { __numberFormatters: l } = e;
751
751
  if (process.env.NODE_ENV !== "production" && !oo.numberFormat)
752
- return a(Re(le.CANNOT_FORMAT_NUMBER)), nt;
753
- const [i, c, m, f] = ht(...t), u = G(m.missingWarn) ? m.missingWarn : e.missingWarn, d = G(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, g = !!m.part, v = L(m.locale) ? m.locale : e.locale, y = r(
752
+ return a(Re(le.CANNOT_FORMAT_NUMBER)), ot;
753
+ const [i, c, m, d] = vt(...t), u = G(m.missingWarn) ? m.missingWarn : e.missingWarn, p = G(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, y = !!m.part, E = b(m.locale) ? m.locale : e.locale, w = r(
754
754
  e,
755
755
  s,
756
- v
756
+ E
757
757
  );
758
- if (!L(i) || i === "")
759
- return new Intl.NumberFormat(v, f).format(c);
760
- let p = {}, w, S = null, T = v, E = null;
761
- const P = "number format";
762
- for (let X = 0; X < y.length; X++) {
763
- if (w = E = y[X], process.env.NODE_ENV !== "production" && v !== w && lt(d, i) && a(Re(le.FALLBACK_TO_NUMBER_FORMAT, {
758
+ if (!b(i) || i === "")
759
+ return new Intl.NumberFormat(E, d).format(c);
760
+ let f = {}, g, T = null, O = E, v = null;
761
+ const A = "number format";
762
+ for (let X = 0; X < w.length; X++) {
763
+ if (g = v = w[X], process.env.NODE_ENV !== "production" && E !== g && it(p, i) && a(Re(le.FALLBACK_TO_NUMBER_FORMAT, {
764
764
  key: i,
765
- target: w
766
- })), process.env.NODE_ENV !== "production" && v !== w) {
765
+ target: g
766
+ })), process.env.NODE_ENV !== "production" && E !== g) {
767
767
  const Z = e.__v_emitter;
768
768
  Z && Z.emit("fallback", {
769
- type: P,
769
+ type: A,
770
770
  key: i,
771
- from: T,
772
- to: E,
773
- groupId: `${P}:${i}`
771
+ from: O,
772
+ to: v,
773
+ groupId: `${A}:${i}`
774
774
  });
775
775
  }
776
- if (p = n[w] || {}, S = p[i], M(S))
776
+ if (f = n[g] || {}, T = f[i], k(T))
777
777
  break;
778
- kt(e, i, w, u, P), T = E;
778
+ kt(e, i, g, u, A), O = v;
779
779
  }
780
- if (!M(S) || !L(w))
781
- return o ? at : i;
782
- let $ = `${w}__${i}`;
783
- rt(f) || ($ = `${$}__${JSON.stringify(f)}`);
784
- let D = l.get($);
785
- return D || (D = new Intl.NumberFormat(w, ne({}, S, f)), l.set($, D)), g ? D.formatToParts(c) : D.format(c);
780
+ if (!k(T) || !b(g))
781
+ return o ? lt : i;
782
+ let $ = `${g}__${i}`;
783
+ at(d) || ($ = `${$}__${JSON.stringify(d)}`);
784
+ let C = l.get($);
785
+ return C || (C = new Intl.NumberFormat(g, ne({}, T, d)), l.set($, C)), y ? C.formatToParts(c) : C.format(c);
786
786
  }
787
787
  const ro = [
788
788
  "localeMatcher",
@@ -806,15 +806,15 @@ const ro = [
806
806
  "roundingIncrement",
807
807
  "trailingZeroDisplay"
808
808
  ];
809
- function ht(...e) {
809
+ function vt(...e) {
810
810
  const [t, n, o, s] = e, a = {};
811
811
  let r = {};
812
812
  if (!K(t))
813
813
  throw Me(ye.INVALID_ARGUMENT);
814
814
  const l = t;
815
- return L(n) ? a.key = n : M(n) && Object.keys(n).forEach((i) => {
815
+ return b(n) ? a.key = n : k(n) && Object.keys(n).forEach((i) => {
816
816
  ro.includes(i) ? r[i] = n[i] : a[i] = n[i];
817
- }), L(o) ? a.locale = o : M(o) && (r = o), M(s) && (r = s), [a.key || "", l, a, r];
817
+ }), b(o) ? a.locale = o : k(o) && (r = o), k(s) && (r = s), [a.key || "", l, a, r];
818
818
  }
819
819
  function ln(e, t, n) {
820
820
  const o = e;
@@ -823,23 +823,23 @@ function ln(e, t, n) {
823
823
  !o.__numberFormatters.has(a) || o.__numberFormatters.delete(a);
824
824
  }
825
825
  }
826
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Dt().__INTLIFY_PROD_DEVTOOLS__ = !1);
827
- function Js() {
826
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (At().__INTLIFY_PROD_DEVTOOLS__ = !1);
827
+ function Qs() {
828
828
  return ao().__VUE_DEVTOOLS_GLOBAL_HOOK__;
829
829
  }
830
830
  function ao() {
831
831
  return typeof navigator < "u" && typeof window < "u" ? window : typeof global < "u" ? global : {};
832
832
  }
833
- const Qs = typeof Proxy == "function", qs = "devtools-plugin:setup", Zs = "plugin:settings:set";
834
- let Pe, vt;
835
- function er() {
833
+ const qs = typeof Proxy == "function", Zs = "devtools-plugin:setup", er = "plugin:settings:set";
834
+ let Pe, yt;
835
+ function tr() {
836
836
  var e;
837
- return Pe !== void 0 || (typeof window < "u" && window.performance ? (Pe = !0, vt = window.performance) : typeof global < "u" && ((e = global.perf_hooks) === null || e === void 0 ? void 0 : e.performance) ? (Pe = !0, vt = global.perf_hooks.performance) : Pe = !1), Pe;
837
+ return Pe !== void 0 || (typeof window < "u" && window.performance ? (Pe = !0, yt = window.performance) : typeof global < "u" && ((e = global.perf_hooks) === null || e === void 0 ? void 0 : e.performance) ? (Pe = !0, yt = global.perf_hooks.performance) : Pe = !1), Pe;
838
838
  }
839
- function tr() {
840
- return er() ? vt.now() : Date.now();
839
+ function nr() {
840
+ return tr() ? yt.now() : Date.now();
841
841
  }
842
- class nr {
842
+ class or {
843
843
  constructor(t, n) {
844
844
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
845
845
  const o = {};
@@ -867,9 +867,9 @@ class nr {
867
867
  a = r;
868
868
  },
869
869
  now() {
870
- return tr();
870
+ return nr();
871
871
  }
872
- }, n && n.on(Zs, (r, l) => {
872
+ }, n && n.on(er, (r, l) => {
873
873
  r === this.plugin.id && this.fallbacks.setSettings(l);
874
874
  }), this.proxiedOn = new Proxy({}, {
875
875
  get: (r, l) => this.target ? this.target.on[l] : (...i) => {
@@ -901,12 +901,12 @@ class nr {
901
901
  n.resolve(await this.target[n.method](...n.args));
902
902
  }
903
903
  }
904
- function or(e, t) {
905
- const n = e, o = ao(), s = Js(), a = Qs && n.enableEarlyProxy;
904
+ function sr(e, t) {
905
+ const n = e, o = ao(), s = Qs(), a = qs && n.enableEarlyProxy;
906
906
  if (s && (o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
907
- s.emit(qs, e, t);
907
+ s.emit(Zs, e, t);
908
908
  else {
909
- const r = a ? new nr(n, s) : null;
909
+ const r = a ? new or(n, s) : null;
910
910
  (o.__VUE_DEVTOOLS_PLUGINS__ = o.__VUE_DEVTOOLS_PLUGINS__ || []).push({
911
911
  pluginDescriptor: n,
912
912
  setupFn: t,
@@ -919,13 +919,13 @@ function or(e, t) {
919
919
  * (c) 2022 kazuya kawaguchi
920
920
  * Released under the MIT License.
921
921
  */
922
- const _t = {
922
+ const mt = {
923
923
  ["vue-devtools-plugin-vue-i18n"]: "Vue I18n devtools",
924
924
  ["vue-i18n-resource-inspector"]: "I18n Resources",
925
925
  ["vue-i18n-timeline"]: "Vue I18n"
926
- }, sr = {
927
- ["vue-i18n-resource-inspector"]: "Search for scopes ..."
928
926
  }, rr = {
927
+ ["vue-i18n-resource-inspector"]: "Search for scopes ..."
928
+ }, ar = {
929
929
  ["vue-i18n-timeline"]: 16764185
930
930
  };
931
931
  /*!
@@ -933,10 +933,10 @@ const _t = {
933
933
  * (c) 2022 kazuya kawaguchi
934
934
  * Released under the MIT License.
935
935
  */
936
- const ar = "9.2.2";
937
- function lr() {
936
+ const lr = "9.2.2";
937
+ function ir() {
938
938
  let e = !1;
939
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Dt().__INTLIFY_PROD_DEVTOOLS__ = !1), process.env.NODE_ENV !== "production" && e && console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.");
939
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (At().__INTLIFY_PROD_DEVTOOLS__ = !1), process.env.NODE_ENV !== "production" && e && console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.");
940
940
  }
941
941
  let lo = le.__EXTEND_POINT__;
942
942
  const $e = () => ++lo, fe = {
@@ -947,7 +947,7 @@ const $e = () => ++lo, fe = {
947
947
  NOT_SUPPORTED_GET_CHOICE_INDEX: $e(),
948
948
  COMPONENT_NAME_LEGACY_COMPATIBLE: $e(),
949
949
  NOT_FOUND_PARENT_SCOPE: $e()
950
- }, ir = {
950
+ }, cr = {
951
951
  [fe.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
952
952
  [fe.NOT_SUPPORTED_PRESERVE]: "Not supported 'preserve'.",
953
953
  [fe.NOT_SUPPORTED_FORMATTER]: "Not supported 'formatter'.",
@@ -956,8 +956,8 @@ const $e = () => ++lo, fe = {
956
956
  [fe.COMPONENT_NAME_LEGACY_COMPATIBLE]: "Component name legacy compatible: '{name}' -> 'i18n'",
957
957
  [fe.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope."
958
958
  };
959
- function it(e, ...t) {
960
- return At(ir[e], ...t);
959
+ function ct(e, ...t) {
960
+ return Dt(cr[e], ...t);
961
961
  }
962
962
  let io = Q.__EXTEND_POINT__;
963
963
  const re = () => ++io, F = {
@@ -978,9 +978,9 @@ const re = () => ++io, F = {
978
978
  __EXTEND_POINT__: re()
979
979
  };
980
980
  function ce(e, ...t) {
981
- return Bn(e, null, process.env.NODE_ENV !== "production" ? { messages: cr, args: t } : void 0);
981
+ return Bn(e, null, process.env.NODE_ENV !== "production" ? { messages: ur, args: t } : void 0);
982
982
  }
983
- const cr = {
983
+ const ur = {
984
984
  [F.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
985
985
  [F.INVALID_ARGUMENT]: "Invalid argument",
986
986
  [F.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -995,36 +995,36 @@ const cr = {
995
995
  [F.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
996
996
  [F.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",
997
997
  [F.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
998
- }, yt = /* @__PURE__ */ ve("__transrateVNode"), Et = /* @__PURE__ */ ve("__datetimeParts"), wt = /* @__PURE__ */ ve("__numberParts"), Ke = /* @__PURE__ */ ve("__enableEmitter"), bt = /* @__PURE__ */ ve("__disableEmitter"), ur = ve("__setPluralRules");
998
+ }, Et = /* @__PURE__ */ ve("__transrateVNode"), wt = /* @__PURE__ */ ve("__datetimeParts"), Lt = /* @__PURE__ */ ve("__numberParts"), Ke = /* @__PURE__ */ ve("__enableEmitter"), bt = /* @__PURE__ */ ve("__disableEmitter"), dr = ve("__setPluralRules");
999
999
  ve("__intlifyMeta");
1000
- const dr = /* @__PURE__ */ ve("__injectWithOption");
1001
- function Lt(e) {
1000
+ const fr = /* @__PURE__ */ ve("__injectWithOption");
1001
+ function Ot(e) {
1002
1002
  if (!x(e))
1003
1003
  return e;
1004
1004
  for (const t in e)
1005
1005
  if (!!Pt(e, t))
1006
1006
  if (!t.includes("."))
1007
- x(e[t]) && Lt(e[t]);
1007
+ x(e[t]) && Ot(e[t]);
1008
1008
  else {
1009
1009
  const n = t.split("."), o = n.length - 1;
1010
1010
  let s = e;
1011
1011
  for (let a = 0; a < o; a++)
1012
1012
  n[a] in s || (s[n[a]] = {}), s = s[n[a]];
1013
- s[n[o]] = e[t], delete e[t], x(s[n[o]]) && Lt(s[n[o]]);
1013
+ s[n[o]] = e[t], delete e[t], x(s[n[o]]) && Ot(s[n[o]]);
1014
1014
  }
1015
1015
  return e;
1016
1016
  }
1017
1017
  function co(e, t) {
1018
- const { messages: n, __i18n: o, messageResolver: s, flatJson: a } = t, r = M(n) ? n : H(o) ? {} : { [e]: {} };
1018
+ const { messages: n, __i18n: o, messageResolver: s, flatJson: a } = t, r = k(n) ? n : H(o) ? {} : { [e]: {} };
1019
1019
  if (H(o) && o.forEach((l) => {
1020
1020
  if ("locale" in l && "resource" in l) {
1021
1021
  const { locale: i, resource: c } = l;
1022
1022
  i ? (r[i] = r[i] || {}, je(c, r[i])) : je(c, r);
1023
1023
  } else
1024
- L(l) && je(JSON.parse(l), r);
1024
+ b(l) && je(JSON.parse(l), r);
1025
1025
  }), s == null && a)
1026
1026
  for (const l in r)
1027
- Pt(r, l) && Lt(r[l]);
1027
+ Pt(r, l) && Ot(r[l]);
1028
1028
  return r;
1029
1029
  }
1030
1030
  const Qe = (e) => !x(e) || H(e);
@@ -1037,7 +1037,7 @@ function je(e, t) {
1037
1037
  function uo(e) {
1038
1038
  return e.type;
1039
1039
  }
1040
- function fr(e, t, n) {
1040
+ function _r(e, t, n) {
1041
1041
  let o = x(t.messages) ? t.messages : {};
1042
1042
  "__i18nGlobal" in n && (o = co(e.locale.value, {
1043
1043
  messages: o,
@@ -1068,48 +1068,48 @@ function cn(e) {
1068
1068
  const un = "__INTLIFY_META__";
1069
1069
  let dn = 0;
1070
1070
  function fn(e) {
1071
- return (t, n, o, s) => e(n, o, Nt() || void 0, s);
1071
+ return (t, n, o, s) => e(n, o, St() || void 0, s);
1072
1072
  }
1073
- const _r = () => {
1074
- const e = Nt();
1073
+ const mr = () => {
1074
+ const e = St();
1075
1075
  let t = null;
1076
1076
  return e && (t = uo(e)[un]) ? { [un]: t } : null;
1077
1077
  };
1078
1078
  function fo(e = {}, t) {
1079
1079
  const { __root: n } = e, o = n === void 0;
1080
1080
  let s = G(e.inheritLocale) ? e.inheritLocale : !0;
1081
- const a = k(
1082
- n && s ? n.locale.value : L(e.locale) ? e.locale : Mt
1083
- ), r = k(
1084
- n && s ? n.fallbackLocale.value : L(e.fallbackLocale) || H(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
1085
- ), l = k(co(a.value, e)), i = k(M(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), c = k(M(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
1086
- let m = n ? n.missingWarn : G(e.missingWarn) || tt(e.missingWarn) ? e.missingWarn : !0, f = n ? n.fallbackWarn : G(e.fallbackWarn) || tt(e.fallbackWarn) ? e.fallbackWarn : !0, u = n ? n.fallbackRoot : G(e.fallbackRoot) ? e.fallbackRoot : !0, d = !!e.fallbackFormat, g = W(e.missing) ? e.missing : null, v = W(e.missing) ? fn(e.missing) : null, y = W(e.postTranslation) ? e.postTranslation : null, p = n ? n.warnHtmlMessage : G(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, w = !!e.escapeParameter;
1087
- const S = n ? n.modifiers : M(e.modifiers) ? e.modifiers : {};
1088
- let T = e.pluralRules || n && n.pluralRules, E;
1089
- E = (() => {
1081
+ const a = M(
1082
+ n && s ? n.locale.value : b(e.locale) ? e.locale : Mt
1083
+ ), r = M(
1084
+ n && s ? n.fallbackLocale.value : b(e.fallbackLocale) || H(e.fallbackLocale) || k(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
1085
+ ), l = M(co(a.value, e)), i = M(k(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), c = M(k(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
1086
+ let m = n ? n.missingWarn : G(e.missingWarn) || nt(e.missingWarn) ? e.missingWarn : !0, d = n ? n.fallbackWarn : G(e.fallbackWarn) || nt(e.fallbackWarn) ? e.fallbackWarn : !0, u = n ? n.fallbackRoot : G(e.fallbackRoot) ? e.fallbackRoot : !0, p = !!e.fallbackFormat, y = W(e.missing) ? e.missing : null, E = W(e.missing) ? fn(e.missing) : null, w = W(e.postTranslation) ? e.postTranslation : null, f = n ? n.warnHtmlMessage : G(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, g = !!e.escapeParameter;
1087
+ const T = n ? n.modifiers : k(e.modifiers) ? e.modifiers : {};
1088
+ let O = e.pluralRules || n && n.pluralRules, v;
1089
+ v = (() => {
1090
1090
  o && Zt(null);
1091
1091
  const _ = {
1092
- version: ar,
1092
+ version: lr,
1093
1093
  locale: a.value,
1094
1094
  fallbackLocale: r.value,
1095
1095
  messages: l.value,
1096
- modifiers: S,
1097
- pluralRules: T,
1098
- missing: v === null ? void 0 : v,
1096
+ modifiers: T,
1097
+ pluralRules: O,
1098
+ missing: E === null ? void 0 : E,
1099
1099
  missingWarn: m,
1100
- fallbackWarn: f,
1101
- fallbackFormat: d,
1100
+ fallbackWarn: d,
1101
+ fallbackFormat: p,
1102
1102
  unresolving: !0,
1103
- postTranslation: y === null ? void 0 : y,
1104
- warnHtmlMessage: p,
1105
- escapeParameter: w,
1103
+ postTranslation: w === null ? void 0 : w,
1104
+ warnHtmlMessage: f,
1105
+ escapeParameter: g,
1106
1106
  messageResolver: e.messageResolver,
1107
1107
  __meta: { framework: "vue" }
1108
1108
  };
1109
- _.datetimeFormats = i.value, _.numberFormats = c.value, _.__datetimeFormatters = M(E) ? E.__datetimeFormatters : void 0, _.__numberFormatters = M(E) ? E.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = M(E) ? E.__v_emitter : void 0);
1110
- const h = js(_);
1109
+ _.datetimeFormats = i.value, _.numberFormats = c.value, _.__datetimeFormatters = k(v) ? v.__datetimeFormatters : void 0, _.__numberFormatters = k(v) ? v.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (_.__v_emitter = k(v) ? v.__v_emitter : void 0);
1110
+ const h = Ws(_);
1111
1111
  return o && Zt(h), h;
1112
- })(), Ge(E, a.value, r.value);
1112
+ })(), Ge(v, a.value, r.value);
1113
1113
  function $() {
1114
1114
  return [
1115
1115
  a.value,
@@ -1119,50 +1119,50 @@ function fo(e = {}, t) {
1119
1119
  c.value
1120
1120
  ];
1121
1121
  }
1122
- const D = V({
1122
+ const C = V({
1123
1123
  get: () => a.value,
1124
1124
  set: (_) => {
1125
- a.value = _, E.locale = a.value;
1125
+ a.value = _, v.locale = a.value;
1126
1126
  }
1127
1127
  }), X = V({
1128
1128
  get: () => r.value,
1129
1129
  set: (_) => {
1130
- r.value = _, E.fallbackLocale = r.value, Ge(E, a.value, _);
1130
+ r.value = _, v.fallbackLocale = r.value, Ge(v, a.value, _);
1131
1131
  }
1132
- }), Z = V(() => l.value), J = /* @__PURE__ */ V(() => i.value), Ae = /* @__PURE__ */ V(() => c.value);
1133
- function O() {
1134
- return W(y) ? y : null;
1132
+ }), Z = V(() => l.value), J = /* @__PURE__ */ V(() => i.value), De = /* @__PURE__ */ V(() => c.value);
1133
+ function I() {
1134
+ return W(w) ? w : null;
1135
1135
  }
1136
- function A(_) {
1137
- y = _, E.postTranslation = _;
1136
+ function P(_) {
1137
+ w = _, v.postTranslation = _;
1138
1138
  }
1139
1139
  function R() {
1140
- return g;
1140
+ return y;
1141
1141
  }
1142
1142
  function U(_) {
1143
- _ !== null && (v = fn(_)), g = _, E.missing = v;
1143
+ _ !== null && (E = fn(_)), y = _, v.missing = E;
1144
1144
  }
1145
- function Le(_, h) {
1145
+ function be(_, h) {
1146
1146
  return _ !== "translate" || !h.resolvedMessage;
1147
1147
  }
1148
- const de = (_, h, se, ee, dt, Je) => {
1148
+ const de = (_, h, se, ee, ft, Je) => {
1149
1149
  $();
1150
- let De;
1150
+ let Ae;
1151
1151
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
1152
1152
  try {
1153
- qt(_r()), o || (E.fallbackContext = n ? Hs() : void 0), De = _(E);
1153
+ qt(mr()), o || (v.fallbackContext = n ? js() : void 0), Ae = _(v);
1154
1154
  } finally {
1155
- qt(null), o || (E.fallbackContext = void 0);
1155
+ qt(null), o || (v.fallbackContext = void 0);
1156
1156
  }
1157
1157
  else
1158
- De = _(E);
1159
- if (K(De) && De === at) {
1158
+ Ae = _(v);
1159
+ if (K(Ae) && Ae === lt) {
1160
1160
  const [Oe, Zo] = h();
1161
- if (process.env.NODE_ENV !== "production" && n && L(Oe) && Le(se, Zo) && (u && (lt(f, Oe) || Zn(m, Oe)) && Ve(it(fe.FALLBACK_TO_ROOT, {
1161
+ if (process.env.NODE_ENV !== "production" && n && b(Oe) && be(se, Zo) && (u && (it(d, Oe) || Zn(m, Oe)) && Ve(ct(fe.FALLBACK_TO_ROOT, {
1162
1162
  key: Oe,
1163
1163
  type: se
1164
1164
  })), process.env.NODE_ENV !== "production")) {
1165
- const { __v_emitter: jt } = E;
1165
+ const { __v_emitter: jt } = v;
1166
1166
  jt && u && jt.emit("fallback", {
1167
1167
  type: se,
1168
1168
  key: Oe,
@@ -1170,15 +1170,15 @@ function fo(e = {}, t) {
1170
1170
  groupId: `${se}:${Oe}`
1171
1171
  });
1172
1172
  }
1173
- return n && u ? ee(n) : dt(Oe);
1173
+ return n && u ? ee(n) : ft(Oe);
1174
1174
  } else {
1175
- if (Je(De))
1176
- return De;
1175
+ if (Je(Ae))
1176
+ return Ae;
1177
1177
  throw ce(F.UNEXPECTED_RETURN_TYPE);
1178
1178
  }
1179
1179
  };
1180
1180
  function Ue(..._) {
1181
- return de((h) => Reflect.apply(nn, null, [h, ..._]), () => pt(..._), "translate", (h) => Reflect.apply(h.t, h, [..._]), (h) => h, (h) => L(h));
1181
+ return de((h) => Reflect.apply(nn, null, [h, ..._]), () => gt(..._), "translate", (h) => Reflect.apply(h.t, h, [..._]), (h) => h, (h) => b(h));
1182
1182
  }
1183
1183
  function Ye(..._) {
1184
1184
  const [h, se, ee] = _;
@@ -1186,14 +1186,14 @@ function fo(e = {}, t) {
1186
1186
  throw ce(F.INVALID_ARGUMENT);
1187
1187
  return Ue(h, se, ne({ resolvedMessage: !0 }, ee || {}));
1188
1188
  }
1189
- function ut(..._) {
1190
- return de((h) => Reflect.apply(sn, null, [h, ..._]), () => gt(..._), "datetime format", (h) => Reflect.apply(h.d, h, [..._]), () => nt, (h) => L(h));
1189
+ function dt(..._) {
1190
+ return de((h) => Reflect.apply(sn, null, [h, ..._]), () => ht(..._), "datetime format", (h) => Reflect.apply(h.d, h, [..._]), () => ot, (h) => b(h));
1191
1191
  }
1192
1192
  function Gt(..._) {
1193
- return de((h) => Reflect.apply(an, null, [h, ..._]), () => ht(..._), "number format", (h) => Reflect.apply(h.n, h, [..._]), () => nt, (h) => L(h));
1193
+ return de((h) => Reflect.apply(an, null, [h, ..._]), () => vt(..._), "number format", (h) => Reflect.apply(h.n, h, [..._]), () => ot, (h) => b(h));
1194
1194
  }
1195
1195
  function Xe(_) {
1196
- return _.map((h) => L(h) || K(h) || G(h) ? cn(String(h)) : h);
1196
+ return _.map((h) => b(h) || K(h) || G(h) ? cn(String(h)) : h);
1197
1197
  }
1198
1198
  const xo = {
1199
1199
  normalize: Xe,
@@ -1212,9 +1212,9 @@ function fo(e = {}, t) {
1212
1212
  }
1213
1213
  return se;
1214
1214
  },
1215
- () => pt(..._),
1215
+ () => gt(..._),
1216
1216
  "translate",
1217
- (h) => h[yt](..._),
1217
+ (h) => h[Et](..._),
1218
1218
  (h) => [cn(h)],
1219
1219
  (h) => H(h)
1220
1220
  );
@@ -1222,35 +1222,35 @@ function fo(e = {}, t) {
1222
1222
  function Vo(..._) {
1223
1223
  return de(
1224
1224
  (h) => Reflect.apply(an, null, [h, ..._]),
1225
- () => ht(..._),
1225
+ () => vt(..._),
1226
1226
  "number format",
1227
- (h) => h[wt](..._),
1227
+ (h) => h[Lt](..._),
1228
1228
  () => [],
1229
- (h) => L(h) || H(h)
1229
+ (h) => b(h) || H(h)
1230
1230
  );
1231
1231
  }
1232
1232
  function Uo(..._) {
1233
1233
  return de(
1234
1234
  (h) => Reflect.apply(sn, null, [h, ..._]),
1235
- () => gt(..._),
1235
+ () => ht(..._),
1236
1236
  "datetime format",
1237
- (h) => h[Et](..._),
1237
+ (h) => h[wt](..._),
1238
1238
  () => [],
1239
- (h) => L(h) || H(h)
1239
+ (h) => b(h) || H(h)
1240
1240
  );
1241
1241
  }
1242
1242
  function Go(_) {
1243
- T = _, E.pluralRules = T;
1243
+ O = _, v.pluralRules = O;
1244
1244
  }
1245
1245
  function zo(_, h) {
1246
- const se = L(h) ? h : a.value, ee = Ht(se);
1247
- return E.messageResolver(ee, _) !== null;
1246
+ const se = b(h) ? h : a.value, ee = Ht(se);
1247
+ return v.messageResolver(ee, _) !== null;
1248
1248
  }
1249
1249
  function Ho(_) {
1250
1250
  let h = null;
1251
- const se = Yn(E, r.value, a.value);
1251
+ const se = Yn(v, r.value, a.value);
1252
1252
  for (let ee = 0; ee < se.length; ee++) {
1253
- const dt = l.value[se[ee]] || {}, Je = E.messageResolver(dt, _);
1253
+ const ft = l.value[se[ee]] || {}, Je = v.messageResolver(ft, _);
1254
1254
  if (Je != null) {
1255
1255
  h = Je;
1256
1256
  break;
@@ -1266,53 +1266,53 @@ function fo(e = {}, t) {
1266
1266
  return l.value[_] || {};
1267
1267
  }
1268
1268
  function Wo(_, h) {
1269
- l.value[_] = h, E.messages = l.value;
1269
+ l.value[_] = h, v.messages = l.value;
1270
1270
  }
1271
1271
  function Bo(_, h) {
1272
- l.value[_] = l.value[_] || {}, je(h, l.value[_]), E.messages = l.value;
1272
+ l.value[_] = l.value[_] || {}, je(h, l.value[_]), v.messages = l.value;
1273
1273
  }
1274
1274
  function Ko(_) {
1275
1275
  return i.value[_] || {};
1276
1276
  }
1277
1277
  function Yo(_, h) {
1278
- i.value[_] = h, E.datetimeFormats = i.value, rn(E, _, h);
1278
+ i.value[_] = h, v.datetimeFormats = i.value, rn(v, _, h);
1279
1279
  }
1280
1280
  function Xo(_, h) {
1281
- i.value[_] = ne(i.value[_] || {}, h), E.datetimeFormats = i.value, rn(E, _, h);
1281
+ i.value[_] = ne(i.value[_] || {}, h), v.datetimeFormats = i.value, rn(v, _, h);
1282
1282
  }
1283
1283
  function Jo(_) {
1284
1284
  return c.value[_] || {};
1285
1285
  }
1286
1286
  function Qo(_, h) {
1287
- c.value[_] = h, E.numberFormats = c.value, ln(E, _, h);
1287
+ c.value[_] = h, v.numberFormats = c.value, ln(v, _, h);
1288
1288
  }
1289
1289
  function qo(_, h) {
1290
- c.value[_] = ne(c.value[_] || {}, h), E.numberFormats = c.value, ln(E, _, h);
1290
+ c.value[_] = ne(c.value[_] || {}, h), v.numberFormats = c.value, ln(v, _, h);
1291
1291
  }
1292
1292
  dn++, n && he && (Ie(n.locale, (_) => {
1293
- s && (a.value = _, E.locale = _, Ge(E, a.value, r.value));
1293
+ s && (a.value = _, v.locale = _, Ge(v, a.value, r.value));
1294
1294
  }), Ie(n.fallbackLocale, (_) => {
1295
- s && (r.value = _, E.fallbackLocale = _, Ge(E, a.value, r.value));
1295
+ s && (r.value = _, v.fallbackLocale = _, Ge(v, a.value, r.value));
1296
1296
  }));
1297
1297
  const j = {
1298
1298
  id: dn,
1299
- locale: D,
1299
+ locale: C,
1300
1300
  fallbackLocale: X,
1301
1301
  get inheritLocale() {
1302
1302
  return s;
1303
1303
  },
1304
1304
  set inheritLocale(_) {
1305
- s = _, _ && n && (a.value = n.locale.value, r.value = n.fallbackLocale.value, Ge(E, a.value, r.value));
1305
+ s = _, _ && n && (a.value = n.locale.value, r.value = n.fallbackLocale.value, Ge(v, a.value, r.value));
1306
1306
  },
1307
1307
  get availableLocales() {
1308
1308
  return Object.keys(l.value).sort();
1309
1309
  },
1310
1310
  messages: Z,
1311
1311
  get modifiers() {
1312
- return S;
1312
+ return T;
1313
1313
  },
1314
1314
  get pluralRules() {
1315
- return T || {};
1315
+ return O || {};
1316
1316
  },
1317
1317
  get isGlobal() {
1318
1318
  return o;
@@ -1321,13 +1321,13 @@ function fo(e = {}, t) {
1321
1321
  return m;
1322
1322
  },
1323
1323
  set missingWarn(_) {
1324
- m = _, E.missingWarn = m;
1324
+ m = _, v.missingWarn = m;
1325
1325
  },
1326
1326
  get fallbackWarn() {
1327
- return f;
1327
+ return d;
1328
1328
  },
1329
1329
  set fallbackWarn(_) {
1330
- f = _, E.fallbackWarn = f;
1330
+ d = _, v.fallbackWarn = d;
1331
1331
  },
1332
1332
  get fallbackRoot() {
1333
1333
  return u;
@@ -1336,37 +1336,37 @@ function fo(e = {}, t) {
1336
1336
  u = _;
1337
1337
  },
1338
1338
  get fallbackFormat() {
1339
- return d;
1339
+ return p;
1340
1340
  },
1341
1341
  set fallbackFormat(_) {
1342
- d = _, E.fallbackFormat = d;
1342
+ p = _, v.fallbackFormat = p;
1343
1343
  },
1344
1344
  get warnHtmlMessage() {
1345
- return p;
1345
+ return f;
1346
1346
  },
1347
1347
  set warnHtmlMessage(_) {
1348
- p = _, E.warnHtmlMessage = _;
1348
+ f = _, v.warnHtmlMessage = _;
1349
1349
  },
1350
1350
  get escapeParameter() {
1351
- return w;
1351
+ return g;
1352
1352
  },
1353
1353
  set escapeParameter(_) {
1354
- w = _, E.escapeParameter = _;
1354
+ g = _, v.escapeParameter = _;
1355
1355
  },
1356
1356
  t: Ue,
1357
1357
  getLocaleMessage: Ht,
1358
1358
  setLocaleMessage: Wo,
1359
1359
  mergeLocaleMessage: Bo,
1360
- getPostTranslationHandler: O,
1361
- setPostTranslationHandler: A,
1360
+ getPostTranslationHandler: I,
1361
+ setPostTranslationHandler: P,
1362
1362
  getMissingHandler: R,
1363
1363
  setMissingHandler: U,
1364
- [ur]: Go
1364
+ [dr]: Go
1365
1365
  };
1366
- return j.datetimeFormats = J, j.numberFormats = Ae, j.rt = Ye, j.te = zo, j.tm = jo, j.d = ut, j.n = Gt, j.getDateTimeFormat = Ko, j.setDateTimeFormat = Yo, j.mergeDateTimeFormat = Xo, j.getNumberFormat = Jo, j.setNumberFormat = Qo, j.mergeNumberFormat = qo, j[dr] = e.__injectWithOption, j[yt] = Fo, j[Et] = Uo, j[wt] = Vo, process.env.NODE_ENV !== "production" && (j[Ke] = (_) => {
1367
- E.__v_emitter = _;
1366
+ return j.datetimeFormats = J, j.numberFormats = De, j.rt = Ye, j.te = zo, j.tm = jo, j.d = dt, j.n = Gt, j.getDateTimeFormat = Ko, j.setDateTimeFormat = Yo, j.mergeDateTimeFormat = Xo, j.getNumberFormat = Jo, j.setNumberFormat = Qo, j.mergeNumberFormat = qo, j[fr] = e.__injectWithOption, j[Et] = Fo, j[wt] = Uo, j[Lt] = Vo, process.env.NODE_ENV !== "production" && (j[Ke] = (_) => {
1367
+ v.__v_emitter = _;
1368
1368
  }, j[bt] = () => {
1369
- E.__v_emitter = void 0;
1369
+ v.__v_emitter = void 0;
1370
1370
  }), j;
1371
1371
  }
1372
1372
  const Rt = {
@@ -1385,7 +1385,7 @@ const Rt = {
1385
1385
  type: Object
1386
1386
  }
1387
1387
  };
1388
- function mr({ slots: e }, t) {
1388
+ function pr({ slots: e }, t) {
1389
1389
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((o, s) => o = [
1390
1390
  ...o,
1391
1391
  ...H(s.children) ? s.children : [s]
@@ -1397,7 +1397,7 @@ function mr({ slots: e }, t) {
1397
1397
  function _o(e) {
1398
1398
  return ue;
1399
1399
  }
1400
- const mt = {
1400
+ const pt = {
1401
1401
  name: "i18n-t",
1402
1402
  props: ne({
1403
1403
  keypath: {
@@ -1415,30 +1415,30 @@ const mt = {
1415
1415
  __useComponent: !0
1416
1416
  });
1417
1417
  return () => {
1418
- const a = Object.keys(n).filter((f) => f !== "_"), r = {};
1419
- e.locale && (r.locale = e.locale), e.plural !== void 0 && (r.plural = L(e.plural) ? +e.plural : e.plural);
1420
- const l = mr(t, a), i = s[yt](e.keypath, l, r), c = ne({}, o), m = L(e.tag) || x(e.tag) ? e.tag : _o();
1418
+ const a = Object.keys(n).filter((d) => d !== "_"), r = {};
1419
+ e.locale && (r.locale = e.locale), e.plural !== void 0 && (r.plural = b(e.plural) ? +e.plural : e.plural);
1420
+ const l = pr(t, a), i = s[Et](e.keypath, l, r), c = ne({}, o), m = b(e.tag) || x(e.tag) ? e.tag : _o();
1421
1421
  return et(m, c, i);
1422
1422
  };
1423
1423
  }
1424
1424
  };
1425
- function pr(e) {
1426
- return H(e) && !L(e[0]);
1425
+ function gr(e) {
1426
+ return H(e) && !b(e[0]);
1427
1427
  }
1428
1428
  function mo(e, t, n, o) {
1429
1429
  const { slots: s, attrs: a } = t;
1430
1430
  return () => {
1431
1431
  const r = { part: !0 };
1432
1432
  let l = {};
1433
- e.locale && (r.locale = e.locale), L(e.format) ? r.key = e.format : x(e.format) && (L(e.format.key) && (r.key = e.format.key), l = Object.keys(e.format).reduce((u, d) => n.includes(d) ? ne({}, u, { [d]: e.format[d] }) : u, {}));
1433
+ e.locale && (r.locale = e.locale), b(e.format) ? r.key = e.format : x(e.format) && (b(e.format.key) && (r.key = e.format.key), l = Object.keys(e.format).reduce((u, p) => n.includes(p) ? ne({}, u, { [p]: e.format[p] }) : u, {}));
1434
1434
  const i = o(e.value, r, l);
1435
1435
  let c = [r.key];
1436
- H(i) ? c = i.map((u, d) => {
1437
- const g = s[u.type], v = g ? g({ [u.type]: u.value, index: d, parts: i }) : [u.value];
1438
- return pr(v) && (v[0].key = `${u.type}-${d}`), v;
1439
- }) : L(i) && (c = [i]);
1440
- const m = ne({}, a), f = L(e.tag) || x(e.tag) ? e.tag : _o();
1441
- return et(f, m, c);
1436
+ H(i) ? c = i.map((u, p) => {
1437
+ const y = s[u.type], E = y ? y({ [u.type]: u.value, index: p, parts: i }) : [u.value];
1438
+ return gr(E) && (E[0].key = `${u.type}-${p}`), E;
1439
+ }) : b(i) && (c = [i]);
1440
+ const m = ne({}, a), d = b(e.tag) || x(e.tag) ? e.tag : _o();
1441
+ return et(d, m, c);
1442
1442
  };
1443
1443
  }
1444
1444
  const _n = {
@@ -1454,7 +1454,7 @@ const _n = {
1454
1454
  }, Rt),
1455
1455
  setup(e, t) {
1456
1456
  const n = e.i18n || Ft({ useScope: "parent", __useComponent: !0 });
1457
- return mo(e, t, ro, (...o) => n[wt](...o));
1457
+ return mo(e, t, ro, (...o) => n[Lt](...o));
1458
1458
  }
1459
1459
  }, mn = {
1460
1460
  name: "i18n-d",
@@ -1469,10 +1469,10 @@ const _n = {
1469
1469
  }, Rt),
1470
1470
  setup(e, t) {
1471
1471
  const n = e.i18n || Ft({ useScope: "parent", __useComponent: !0 });
1472
- return mo(e, t, so, (...o) => n[Et](...o));
1472
+ return mo(e, t, so, (...o) => n[wt](...o));
1473
1473
  }
1474
1474
  };
1475
- function gr(e, t) {
1475
+ function hr(e, t) {
1476
1476
  const n = e;
1477
1477
  if (e.mode === "composition")
1478
1478
  return n.__getInstance(t) || e.global;
@@ -1481,16 +1481,16 @@ function gr(e, t) {
1481
1481
  return o != null ? o.__composer : e.global.__composer;
1482
1482
  }
1483
1483
  }
1484
- function hr(e) {
1484
+ function vr(e) {
1485
1485
  const t = (r) => {
1486
1486
  const { instance: l, modifiers: i, value: c } = r;
1487
1487
  if (!l || !l.$)
1488
1488
  throw ce(F.UNEXPECTED_ERROR);
1489
- const m = gr(e, l.$);
1490
- process.env.NODE_ENV !== "production" && i.preserve && Ve(it(fe.NOT_SUPPORTED_PRESERVE));
1491
- const f = pn(c);
1489
+ const m = hr(e, l.$);
1490
+ process.env.NODE_ENV !== "production" && i.preserve && Ve(ct(fe.NOT_SUPPORTED_PRESERVE));
1491
+ const d = pn(c);
1492
1492
  return [
1493
- Reflect.apply(m.t, m, [...gn(f)]),
1493
+ Reflect.apply(m.t, m, [...gn(d)]),
1494
1494
  m
1495
1495
  ];
1496
1496
  };
@@ -1519,9 +1519,9 @@ function hr(e) {
1519
1519
  };
1520
1520
  }
1521
1521
  function pn(e) {
1522
- if (L(e))
1522
+ if (b(e))
1523
1523
  return { path: e };
1524
- if (M(e)) {
1524
+ if (k(e)) {
1525
1525
  if (!("path" in e))
1526
1526
  throw ce(F.REQUIRED_VALUE, "path");
1527
1527
  return e;
@@ -1530,59 +1530,59 @@ function pn(e) {
1530
1530
  }
1531
1531
  function gn(e) {
1532
1532
  const { path: t, locale: n, args: o, choice: s, plural: a } = e, r = {}, l = o || {};
1533
- return L(n) && (r.locale = n), K(s) && (r.plural = s), K(a) && (r.plural = a), [t, l, r];
1533
+ return b(n) && (r.locale = n), K(s) && (r.plural = s), K(a) && (r.plural = a), [t, l, r];
1534
1534
  }
1535
- function vr(e, t, ...n) {
1536
- const o = M(n[0]) ? n[0] : {}, s = !!o.useI18nComponentName, a = G(o.globalInstall) ? o.globalInstall : !0;
1537
- process.env.NODE_ENV !== "production" && a && s && Ve(it(fe.COMPONENT_NAME_LEGACY_COMPATIBLE, {
1538
- name: mt.name
1539
- })), a && (e.component(s ? "i18n" : mt.name, mt), e.component(_n.name, _n), e.component(mn.name, mn)), e.directive("t", hr(t));
1535
+ function yr(e, t, ...n) {
1536
+ const o = k(n[0]) ? n[0] : {}, s = !!o.useI18nComponentName, a = G(o.globalInstall) ? o.globalInstall : !0;
1537
+ process.env.NODE_ENV !== "production" && a && s && Ve(ct(fe.COMPONENT_NAME_LEGACY_COMPATIBLE, {
1538
+ name: pt.name
1539
+ })), a && (e.component(s ? "i18n" : pt.name, pt), e.component(_n.name, _n), e.component(mn.name, mn)), e.directive("t", vr(t));
1540
1540
  }
1541
1541
  const po = "vue-i18n: composer properties";
1542
- let Ot;
1543
- async function yr(e, t) {
1542
+ let It;
1543
+ async function Er(e, t) {
1544
1544
  return new Promise((n, o) => {
1545
1545
  try {
1546
- or({
1546
+ sr({
1547
1547
  id: "vue-devtools-plugin-vue-i18n",
1548
- label: _t["vue-devtools-plugin-vue-i18n"],
1548
+ label: mt["vue-devtools-plugin-vue-i18n"],
1549
1549
  packageName: "vue-i18n",
1550
1550
  homepage: "https://vue-i18n.intlify.dev",
1551
1551
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
1552
1552
  componentStateTypes: [po],
1553
1553
  app: e
1554
1554
  }, (s) => {
1555
- Ot = s, s.on.visitComponentTree(({ componentInstance: r, treeNode: l }) => {
1556
- Er(r, l, t);
1555
+ It = s, s.on.visitComponentTree(({ componentInstance: r, treeNode: l }) => {
1556
+ wr(r, l, t);
1557
1557
  }), s.on.inspectComponent(({ componentInstance: r, instanceData: l }) => {
1558
1558
  r.vnode.el && r.vnode.el.__VUE_I18N__ && l && (t.mode === "legacy" ? r.vnode.el.__VUE_I18N__ !== t.global.__composer && hn(l, r.vnode.el.__VUE_I18N__) : hn(l, r.vnode.el.__VUE_I18N__));
1559
1559
  }), s.addInspector({
1560
1560
  id: "vue-i18n-resource-inspector",
1561
- label: _t["vue-i18n-resource-inspector"],
1561
+ label: mt["vue-i18n-resource-inspector"],
1562
1562
  icon: "language",
1563
- treeFilterPlaceholder: sr["vue-i18n-resource-inspector"]
1563
+ treeFilterPlaceholder: rr["vue-i18n-resource-inspector"]
1564
1564
  }), s.on.getInspectorTree((r) => {
1565
- r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Ir(r, t);
1565
+ r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Tr(r, t);
1566
1566
  });
1567
1567
  const a = /* @__PURE__ */ new Map();
1568
1568
  s.on.getInspectorState(async (r) => {
1569
1569
  if (r.app === e && r.inspectorId === "vue-i18n-resource-inspector")
1570
- if (s.unhighlightElement(), Nr(r, t), r.nodeId === "global") {
1570
+ if (s.unhighlightElement(), Sr(r, t), r.nodeId === "global") {
1571
1571
  if (!a.has(r.app)) {
1572
1572
  const [l] = await s.getComponentInstances(r.app);
1573
1573
  a.set(r.app, l);
1574
1574
  }
1575
1575
  s.highlightElement(a.get(r.app));
1576
1576
  } else {
1577
- const l = Tr(r.nodeId, t);
1577
+ const l = Nr(r.nodeId, t);
1578
1578
  l && s.highlightElement(l);
1579
1579
  }
1580
1580
  }), s.on.editInspectorState((r) => {
1581
- r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Cr(r, t);
1581
+ r.app === e && r.inspectorId === "vue-i18n-resource-inspector" && Dr(r, t);
1582
1582
  }), s.addTimelineLayer({
1583
1583
  id: "vue-i18n-timeline",
1584
- label: _t["vue-i18n-timeline"],
1585
- color: rr["vue-i18n-timeline"]
1584
+ label: mt["vue-i18n-timeline"],
1585
+ color: ar["vue-i18n-timeline"]
1586
1586
  }), n(!0);
1587
1587
  });
1588
1588
  } catch (s) {
@@ -1593,7 +1593,7 @@ async function yr(e, t) {
1593
1593
  function go(e) {
1594
1594
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
1595
1595
  }
1596
- function Er(e, t, n) {
1596
+ function wr(e, t, n) {
1597
1597
  const o = n.mode === "composition" ? n.global : n.global.__composer;
1598
1598
  if (e && e.vnode.el && e.vnode.el.__VUE_I18N__ && e.vnode.el.__VUE_I18N__ !== o) {
1599
1599
  const s = {
@@ -1647,22 +1647,22 @@ function xt(e) {
1647
1647
  const t = {};
1648
1648
  return Object.keys(e).forEach((n) => {
1649
1649
  const o = e[n];
1650
- W(o) && "source" in o ? t[n] = Or(o) : x(o) ? t[n] = xt(o) : t[n] = o;
1650
+ W(o) && "source" in o ? t[n] = Ir(o) : x(o) ? t[n] = xt(o) : t[n] = o;
1651
1651
  }), t;
1652
1652
  }
1653
- const wr = {
1653
+ const Lr = {
1654
1654
  "<": "&lt;",
1655
1655
  ">": "&gt;",
1656
1656
  '"': "&quot;",
1657
1657
  "&": "&amp;"
1658
1658
  };
1659
1659
  function br(e) {
1660
- return e.replace(/[<>"&]/g, Lr);
1661
- }
1662
- function Lr(e) {
1663
- return wr[e] || e;
1660
+ return e.replace(/[<>"&]/g, Or);
1664
1661
  }
1665
1662
  function Or(e) {
1663
+ return Lr[e] || e;
1664
+ }
1665
+ function Ir(e) {
1666
1666
  const t = e.source ? `("${br(e.source)}")` : "(?)";
1667
1667
  return {
1668
1668
  _custom: {
@@ -1671,7 +1671,7 @@ function Or(e) {
1671
1671
  }
1672
1672
  };
1673
1673
  }
1674
- function Ir(e, t) {
1674
+ function Tr(e, t) {
1675
1675
  e.rootNodes.push({
1676
1676
  id: "global",
1677
1677
  label: "Global Scope"
@@ -1685,7 +1685,7 @@ function Ir(e, t) {
1685
1685
  });
1686
1686
  }
1687
1687
  }
1688
- function Tr(e, t) {
1688
+ function Nr(e, t) {
1689
1689
  let n = null;
1690
1690
  if (e !== "global") {
1691
1691
  for (const [o, s] of t.__instances.entries())
@@ -1704,11 +1704,11 @@ function ho(e, t) {
1704
1704
  return n ? t.mode === "composition" ? n : n.__composer : null;
1705
1705
  }
1706
1706
  }
1707
- function Nr(e, t) {
1707
+ function Sr(e, t) {
1708
1708
  const n = ho(e.nodeId, t);
1709
- return n && (e.state = Sr(n)), null;
1709
+ return n && (e.state = Cr(n)), null;
1710
1710
  }
1711
- function Sr(e) {
1711
+ function Cr(e) {
1712
1712
  const t = {}, n = "Locale related info", o = [
1713
1713
  {
1714
1714
  type: n,
@@ -1767,10 +1767,10 @@ function Sr(e) {
1767
1767
  }
1768
1768
  return t;
1769
1769
  }
1770
- function It(e, t) {
1771
- if (Ot) {
1770
+ function Tt(e, t) {
1771
+ if (It) {
1772
1772
  let n;
1773
- t && "groupId" in t && (n = t.groupId, delete t.groupId), Ot.addTimelineEvent({
1773
+ t && "groupId" in t && (n = t.groupId, delete t.groupId), It.addTimelineEvent({
1774
1774
  layerId: "vue-i18n-timeline",
1775
1775
  event: {
1776
1776
  title: e,
@@ -1783,47 +1783,47 @@ function It(e, t) {
1783
1783
  });
1784
1784
  }
1785
1785
  }
1786
- function Cr(e, t) {
1786
+ function Dr(e, t) {
1787
1787
  const n = ho(e.nodeId, t);
1788
1788
  if (n) {
1789
1789
  const [o] = e.path;
1790
- o === "locale" && L(e.state.value) ? n.locale.value = e.state.value : o === "fallbackLocale" && (L(e.state.value) || H(e.state.value) || x(e.state.value)) ? n.fallbackLocale.value = e.state.value : o === "inheritLocale" && G(e.state.value) && (n.inheritLocale = e.state.value);
1790
+ o === "locale" && b(e.state.value) ? n.locale.value = e.state.value : o === "fallbackLocale" && (b(e.state.value) || H(e.state.value) || x(e.state.value)) ? n.fallbackLocale.value = e.state.value : o === "inheritLocale" && G(e.state.value) && (n.inheritLocale = e.state.value);
1791
1791
  }
1792
1792
  }
1793
1793
  const Ar = /* @__PURE__ */ ve("global-vue-i18n");
1794
- function Dr(e = {}, t) {
1795
- const n = G(e.globalInjection) ? e.globalInjection : !0, o = !0, s = /* @__PURE__ */ new Map(), [a, r] = Pr(e), l = ve(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
1796
- function i(f) {
1797
- return s.get(f) || null;
1794
+ function Pr(e = {}, t) {
1795
+ const n = G(e.globalInjection) ? e.globalInjection : !0, o = !0, s = /* @__PURE__ */ new Map(), [a, r] = $r(e), l = ve(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
1796
+ function i(d) {
1797
+ return s.get(d) || null;
1798
1798
  }
1799
- function c(f, u) {
1800
- s.set(f, u);
1799
+ function c(d, u) {
1800
+ s.set(d, u);
1801
1801
  }
1802
- function m(f) {
1803
- s.delete(f);
1802
+ function m(d) {
1803
+ s.delete(d);
1804
1804
  }
1805
1805
  {
1806
- const f = {
1806
+ const d = {
1807
1807
  get mode() {
1808
1808
  return "composition";
1809
1809
  },
1810
1810
  get allowComposition() {
1811
1811
  return o;
1812
1812
  },
1813
- async install(u, ...d) {
1814
- process.env.NODE_ENV !== "production" && (u.__VUE_I18N__ = f), u.__VUE_I18N_SYMBOL__ = l, u.provide(u.__VUE_I18N_SYMBOL__, f), n && Ur(u, f.global), vr(u, f, ...d);
1815
- const g = u.unmount;
1813
+ async install(u, ...p) {
1814
+ process.env.NODE_ENV !== "production" && (u.__VUE_I18N__ = d), u.__VUE_I18N_SYMBOL__ = l, u.provide(u.__VUE_I18N_SYMBOL__, d), n && Gr(u, d.global), yr(u, d, ...p);
1815
+ const y = u.unmount;
1816
1816
  if (u.unmount = () => {
1817
- f.dispose(), g();
1817
+ d.dispose(), y();
1818
1818
  }, process.env.NODE_ENV !== "production" || !1) {
1819
- if (!await yr(u, f))
1819
+ if (!await Er(u, d))
1820
1820
  throw ce(F.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
1821
- const y = Wn();
1821
+ const w = Wn();
1822
1822
  {
1823
- const p = r;
1824
- p[Ke] && p[Ke](y);
1823
+ const f = r;
1824
+ f[Ke] && f[Ke](w);
1825
1825
  }
1826
- y.on("*", It);
1826
+ w.on("*", Tt);
1827
1827
  }
1828
1828
  },
1829
1829
  get global() {
@@ -1837,31 +1837,31 @@ function Dr(e = {}, t) {
1837
1837
  __setInstance: c,
1838
1838
  __deleteInstance: m
1839
1839
  };
1840
- return f;
1840
+ return d;
1841
1841
  }
1842
1842
  }
1843
1843
  function Ft(e = {}) {
1844
- const t = Nt();
1844
+ const t = St();
1845
1845
  if (t == null)
1846
1846
  throw ce(F.MUST_BE_CALL_SETUP_TOP);
1847
1847
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
1848
1848
  throw ce(F.NOT_INSLALLED);
1849
- const n = $r(t), o = kr(n), s = uo(t), a = Mr(e, s);
1849
+ const n = Mr(t), o = Rr(n), s = uo(t), a = kr(e, s);
1850
1850
  if (a === "global")
1851
- return fr(o, e, s), o;
1851
+ return _r(o, e, s), o;
1852
1852
  if (a === "parent") {
1853
- let i = Rr(n, t, e.__useComponent);
1854
- return i == null && (process.env.NODE_ENV !== "production" && Ve(it(fe.NOT_FOUND_PARENT_SCOPE)), i = o), i;
1853
+ let i = xr(n, t, e.__useComponent);
1854
+ return i == null && (process.env.NODE_ENV !== "production" && Ve(ct(fe.NOT_FOUND_PARENT_SCOPE)), i = o), i;
1855
1855
  }
1856
1856
  const r = n;
1857
1857
  let l = r.__getInstance(t);
1858
1858
  if (l == null) {
1859
1859
  const i = ne({}, e);
1860
- "__i18n" in s && (i.__i18n = s.__i18n), o && (i.__root = o), l = fo(i), xr(r, t, l), r.__setInstance(t, l);
1860
+ "__i18n" in s && (i.__i18n = s.__i18n), o && (i.__root = o), l = fo(i), Fr(r, t, l), r.__setInstance(t, l);
1861
1861
  }
1862
1862
  return l;
1863
1863
  }
1864
- function Pr(e, t, n) {
1864
+ function $r(e, t, n) {
1865
1865
  const o = es();
1866
1866
  {
1867
1867
  const s = o.run(() => fo(e));
@@ -1870,21 +1870,21 @@ function Pr(e, t, n) {
1870
1870
  return [o, s];
1871
1871
  }
1872
1872
  }
1873
- function $r(e) {
1873
+ function Mr(e) {
1874
1874
  {
1875
- const t = St(e.isCE ? Ar : e.appContext.app.__VUE_I18N_SYMBOL__);
1875
+ const t = tt(e.isCE ? Ar : e.appContext.app.__VUE_I18N_SYMBOL__);
1876
1876
  if (!t)
1877
1877
  throw ce(e.isCE ? F.NOT_INSLALLED_WITH_PROVIDE : F.UNEXPECTED_ERROR);
1878
1878
  return t;
1879
1879
  }
1880
1880
  }
1881
- function Mr(e, t) {
1882
- return rt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
1881
+ function kr(e, t) {
1882
+ return at(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
1883
1883
  }
1884
- function kr(e) {
1884
+ function Rr(e) {
1885
1885
  return e.mode === "composition" ? e.global : e.global.__composer;
1886
1886
  }
1887
- function Rr(e, t, n = !1) {
1887
+ function xr(e, t, n = !1) {
1888
1888
  let o = null;
1889
1889
  const s = t.root;
1890
1890
  let a = t.parent;
@@ -1896,31 +1896,31 @@ function Rr(e, t, n = !1) {
1896
1896
  }
1897
1897
  return o;
1898
1898
  }
1899
- function xr(e, t, n) {
1899
+ function Fr(e, t, n) {
1900
1900
  let o = null;
1901
1901
  xe(() => {
1902
1902
  if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el) {
1903
1903
  t.vnode.el.__VUE_I18N__ = n, o = Wn();
1904
1904
  const s = n;
1905
- s[Ke] && s[Ke](o), o.on("*", It);
1905
+ s[Ke] && s[Ke](o), o.on("*", Tt);
1906
1906
  }
1907
- }, t), st(() => {
1907
+ }, t), rt(() => {
1908
1908
  if ((process.env.NODE_ENV !== "production" || !1) && !0 && t.vnode.el && t.vnode.el.__VUE_I18N__) {
1909
- o && o.off("*", It);
1909
+ o && o.off("*", Tt);
1910
1910
  const s = n;
1911
1911
  s[bt] && s[bt](), delete t.vnode.el.__VUE_I18N__;
1912
1912
  }
1913
1913
  e.__deleteInstance(t);
1914
1914
  }, t);
1915
1915
  }
1916
- const Fr = [
1916
+ const Vr = [
1917
1917
  "locale",
1918
1918
  "fallbackLocale",
1919
1919
  "availableLocales"
1920
- ], Vr = ["t", "rt", "d", "n", "tm"];
1921
- function Ur(e, t) {
1920
+ ], Ur = ["t", "rt", "d", "n", "tm"];
1921
+ function Gr(e, t) {
1922
1922
  const n = /* @__PURE__ */ Object.create(null);
1923
- Fr.forEach((o) => {
1923
+ Vr.forEach((o) => {
1924
1924
  const s = Object.getOwnPropertyDescriptor(t, o);
1925
1925
  if (!s)
1926
1926
  throw ce(F.UNEXPECTED_ERROR);
@@ -1937,22 +1937,22 @@ function Ur(e, t) {
1937
1937
  }
1938
1938
  };
1939
1939
  Object.defineProperty(n, o, a);
1940
- }), e.config.globalProperties.$i18n = n, Vr.forEach((o) => {
1940
+ }), e.config.globalProperties.$i18n = n, Ur.forEach((o) => {
1941
1941
  const s = Object.getOwnPropertyDescriptor(t, o);
1942
1942
  if (!s || !s.value)
1943
1943
  throw ce(F.UNEXPECTED_ERROR);
1944
1944
  Object.defineProperty(e.config.globalProperties, `$${o}`, s);
1945
1945
  });
1946
1946
  }
1947
- Us(Es);
1948
- Gs(Yn);
1949
- lr();
1947
+ Gs(ws);
1948
+ zs(Yn);
1949
+ ir();
1950
1950
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
1951
- const e = Dt();
1952
- e.__INTLIFY__ = !0, Cs(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
1951
+ const e = At();
1952
+ e.__INTLIFY__ = !0, Ds(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
1953
1953
  }
1954
1954
  process.env.NODE_ENV;
1955
- const Gr = {
1955
+ const zr = {
1956
1956
  "zhi-xian-shi-zai-xian-she-bei": (e) => {
1957
1957
  const { normalize: t } = e;
1958
1958
  return t(["\u53EA\u663E\u793A\u5728\u7EBF\u7EC8\u7AEF"]);
@@ -1985,7 +1985,7 @@ const Gr = {
1985
1985
  const { normalize: t } = e;
1986
1986
  return t(["\u5217\u6570"]);
1987
1987
  }
1988
- }, zr = {
1988
+ }, Hr = {
1989
1989
  "zhi-xian-shi-zai-xian-she-bei": (e) => {
1990
1990
  const { normalize: t } = e;
1991
1991
  return t(["Online Only"]);
@@ -2021,50 +2021,50 @@ const Gr = {
2021
2021
  };
2022
2022
  var vo = /* @__PURE__ */ ((e) => (e.zh = "zh", e.en = "en", e))(vo || {});
2023
2023
  let We;
2024
- function Hr(e) {
2025
- We && We.dispose(), We = Dr({
2024
+ function jr(e) {
2025
+ We && We.dispose(), We = Pr({
2026
2026
  locale: e,
2027
2027
  messages: {
2028
- zh: Gr,
2029
- en: zr
2028
+ zh: zr,
2029
+ en: Hr
2030
2030
  },
2031
2031
  fallbackLocale: "en",
2032
2032
  silentTranslationWarn: !0,
2033
2033
  silentFallbackWarn: !0
2034
2034
  });
2035
2035
  }
2036
- function jr(e) {
2037
- Hr(e), We.global.locale = e;
2036
+ function Wr(e) {
2037
+ jr(e), We.global.locale = e;
2038
2038
  }
2039
2039
  function Ne(e) {
2040
2040
  return We.global.t(e);
2041
2041
  }
2042
2042
  var yo = /* @__PURE__ */ ((e) => (e.UserFirst = "UserFirst", e.PUFirst = "PUFirst", e))(yo || {}), Eo = /* @__PURE__ */ ((e) => (e.BACKGROUND_WHITE = "white", e.BACKGROUND_DRAK = "drak", e))(Eo || {});
2043
- const wo = k(
2043
+ const wo = M(
2044
2044
  "white"
2045
2045
  );
2046
- function Ki(e) {
2046
+ function Xi(e) {
2047
2047
  wo.value = e;
2048
2048
  }
2049
- function Wr() {
2049
+ function Br() {
2050
2050
  return wo;
2051
2051
  }
2052
- const bo = k(
2052
+ const Lo = M(
2053
2053
  "UserFirst"
2054
2054
  );
2055
- function Br(e) {
2056
- bo.value = e;
2057
- }
2058
- function Kr() {
2059
- return bo;
2060
- }
2061
- const Lo = k(!1);
2062
- function Yi(e) {
2055
+ function Kr(e) {
2063
2056
  Lo.value = e;
2064
2057
  }
2065
2058
  function Yr() {
2066
2059
  return Lo;
2067
2060
  }
2061
+ const bo = M(!1);
2062
+ function Ji(e) {
2063
+ bo.value = e;
2064
+ }
2065
+ function Xr() {
2066
+ return bo;
2067
+ }
2068
2068
  var vn;
2069
2069
  ((e) => {
2070
2070
  ((n) => {
@@ -2148,7 +2148,7 @@ var vn;
2148
2148
  n.AccessSession = o;
2149
2149
  })(e.Utils || (e.Utils = {}));
2150
2150
  })(vn || (vn = {}));
2151
- var I;
2151
+ var N;
2152
2152
  ((e) => {
2153
2153
  e.zeroLayout = {
2154
2154
  name: "0",
@@ -2226,19 +2226,19 @@ var I;
2226
2226
  }
2227
2227
  n.getTestLayout = s;
2228
2228
  })(e.Test || (e.Test = {}));
2229
- })(I || (I = {}));
2229
+ })(N || (N = {}));
2230
2230
  const Oo = String.prototype.includes, Io = function(e, t) {
2231
2231
  const n = this.toLocaleLowerCase(), o = e.toLocaleLowerCase();
2232
2232
  String.prototype.includes = Oo;
2233
2233
  const s = n.includes(o, t);
2234
2234
  return String.prototype.includes = Io, s;
2235
2235
  };
2236
- function ot(e) {
2236
+ function st(e) {
2237
2237
  String.prototype.includes = Io;
2238
2238
  const t = e();
2239
2239
  return String.prototype.includes = Oo, t;
2240
2240
  }
2241
- const Xr = q({
2241
+ const Jr = q({
2242
2242
  props: {
2243
2243
  countInfo: Object,
2244
2244
  controlParams: Object
@@ -2258,10 +2258,10 @@ const Xr = q({
2258
2258
  if (a.devices) {
2259
2259
  let i = (r = a.devices) == null ? void 0 : r.filter((m) => m.online);
2260
2260
  const c = (l = e.controlParams) == null ? void 0 : l.searchStr;
2261
- return c && (i = i.filter((m) => ot(
2261
+ return c && (i = i.filter((m) => st(
2262
2262
  () => {
2263
- var f;
2264
- return m.name.includes(c) || ((f = m.user) == null ? void 0 : f.includes(c)) || m.id.includes(c);
2263
+ var d;
2264
+ return m.name.includes(c) || ((d = m.user) == null ? void 0 : d.includes(c)) || m.id.includes(c);
2265
2265
  }
2266
2266
  ))), i.length;
2267
2267
  }
@@ -2271,7 +2271,7 @@ const Xr = q({
2271
2271
  if (a.devices) {
2272
2272
  let l = a.devices;
2273
2273
  const i = (r = e.controlParams) == null ? void 0 : r.searchStr;
2274
- return i && (l = l.filter((c) => ot(
2274
+ return i && (l = l.filter((c) => st(
2275
2275
  () => {
2276
2276
  var m;
2277
2277
  return c.name.includes(i) || ((m = c.user) == null ? void 0 : m.includes(i)) || c.id.includes(i);
@@ -2281,7 +2281,7 @@ const Xr = q({
2281
2281
  return a.totalCount;
2282
2282
  }, e.countInfo));
2283
2283
  return {
2284
- theme: St("theme"),
2284
+ theme: tt("theme"),
2285
2285
  totalCount: o,
2286
2286
  onlineCount: n
2287
2287
  };
@@ -2292,23 +2292,23 @@ const oe = (e, t) => {
2292
2292
  for (const [o, s] of t)
2293
2293
  n[o] = s;
2294
2294
  return n;
2295
- }, Jr = { class: "count-show" }, Qr = { class: "count-show-online" }, qr = { key: 0 };
2296
- function Zr(e, t, n, o, s, a) {
2295
+ }, Qr = { class: "count-show" }, qr = { class: "count-show-online" }, Zr = { key: 0 };
2296
+ function ea(e, t, n, o, s, a) {
2297
2297
  var r;
2298
- return N(), C("div", {
2298
+ return S(), D("div", {
2299
2299
  class: ke(`root ${e.theme}`)
2300
2300
  }, [
2301
2301
  Y(e.$slots, "default", {
2302
2302
  total: e.totalCount,
2303
2303
  online: e.onlineCount
2304
2304
  }, void 0, !0),
2305
- b("span", Jr, [
2306
- b("span", Qr, z(e.onlineCount), 1),
2307
- (r = e.controlParams) != null && r.onlyShowOnline ? ge("", !0) : (N(), C("span", qr, "/" + z(e.totalCount), 1))
2305
+ L("span", Qr, [
2306
+ L("span", qr, z(e.onlineCount), 1),
2307
+ (r = e.controlParams) != null && r.onlyShowOnline ? ge("", !0) : (S(), D("span", Zr, "/" + z(e.totalCount), 1))
2308
2308
  ])
2309
2309
  ], 2);
2310
2310
  }
2311
- const To = /* @__PURE__ */ oe(Xr, [["render", Zr], ["__scopeId", "data-v-378b853b"]]), No = Object.freeze(
2311
+ const To = /* @__PURE__ */ oe(Jr, [["render", ea], ["__scopeId", "data-v-378b853b"]]), No = Object.freeze(
2312
2312
  {
2313
2313
  left: 0,
2314
2314
  top: 0,
@@ -2334,11 +2334,11 @@ Object.freeze({
2334
2334
  const Co = Object.freeze({
2335
2335
  width: null,
2336
2336
  height: null
2337
- }), Ao = Object.freeze({
2337
+ }), Do = Object.freeze({
2338
2338
  ...Co,
2339
2339
  ...So
2340
2340
  });
2341
- function ea(e, t) {
2341
+ function ta(e, t) {
2342
2342
  const n = {
2343
2343
  ...e
2344
2344
  };
@@ -2348,9 +2348,9 @@ function ea(e, t) {
2348
2348
  }
2349
2349
  return n;
2350
2350
  }
2351
- const ta = /[\s,]+/;
2352
- function na(e, t) {
2353
- t.split(ta).forEach((n) => {
2351
+ const na = /[\s,]+/;
2352
+ function oa(e, t) {
2353
+ t.split(na).forEach((n) => {
2354
2354
  switch (n.trim()) {
2355
2355
  case "horizontal":
2356
2356
  e.hFlip = !0;
@@ -2361,7 +2361,7 @@ function na(e, t) {
2361
2361
  }
2362
2362
  });
2363
2363
  }
2364
- function oa(e, t = 0) {
2364
+ function sa(e, t = 0) {
2365
2365
  const n = e.replace(/^-?[0-9.]*/, "");
2366
2366
  function o(s) {
2367
2367
  for (; s < 0; )
@@ -2387,7 +2387,7 @@ function oa(e, t = 0) {
2387
2387
  }
2388
2388
  return t;
2389
2389
  }
2390
- const sa = /(-?[0-9.]*[0-9]+[0-9.]*)/g, ra = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2390
+ const ra = /(-?[0-9.]*[0-9]+[0-9.]*)/g, aa = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
2391
2391
  function yn(e, t, n) {
2392
2392
  if (t === 1)
2393
2393
  return e;
@@ -2395,11 +2395,11 @@ function yn(e, t, n) {
2395
2395
  return Math.ceil(e * t * n) / n;
2396
2396
  if (typeof e != "string")
2397
2397
  return e;
2398
- const o = e.split(sa);
2398
+ const o = e.split(ra);
2399
2399
  if (o === null || !o.length)
2400
2400
  return e;
2401
2401
  const s = [];
2402
- let a = o.shift(), r = ra.test(a);
2402
+ let a = o.shift(), r = aa.test(a);
2403
2403
  for (; ; ) {
2404
2404
  if (r) {
2405
2405
  const l = parseFloat(a);
@@ -2411,12 +2411,12 @@ function yn(e, t, n) {
2411
2411
  r = !r;
2412
2412
  }
2413
2413
  }
2414
- function aa(e, t) {
2414
+ function la(e, t) {
2415
2415
  const n = {
2416
2416
  ...Vt,
2417
2417
  ...e
2418
2418
  }, o = {
2419
- ...Ao,
2419
+ ...Do,
2420
2420
  ...t
2421
2421
  }, s = {
2422
2422
  left: n.left,
@@ -2425,97 +2425,97 @@ function aa(e, t) {
2425
2425
  height: n.height
2426
2426
  };
2427
2427
  let a = n.body;
2428
- [n, o].forEach((d) => {
2429
- const g = [], v = d.hFlip, y = d.vFlip;
2430
- let p = d.rotate;
2431
- v ? y ? p += 2 : (g.push(
2428
+ [n, o].forEach((p) => {
2429
+ const y = [], E = p.hFlip, w = p.vFlip;
2430
+ let f = p.rotate;
2431
+ E ? w ? f += 2 : (y.push(
2432
2432
  "translate(" + (s.width + s.left).toString() + " " + (0 - s.top).toString() + ")"
2433
- ), g.push("scale(-1 1)"), s.top = s.left = 0) : y && (g.push(
2433
+ ), y.push("scale(-1 1)"), s.top = s.left = 0) : w && (y.push(
2434
2434
  "translate(" + (0 - s.left).toString() + " " + (s.height + s.top).toString() + ")"
2435
- ), g.push("scale(1 -1)"), s.top = s.left = 0);
2436
- let w;
2437
- switch (p < 0 && (p -= Math.floor(p / 4) * 4), p = p % 4, p) {
2435
+ ), y.push("scale(1 -1)"), s.top = s.left = 0);
2436
+ let g;
2437
+ switch (f < 0 && (f -= Math.floor(f / 4) * 4), f = f % 4, f) {
2438
2438
  case 1:
2439
- w = s.height / 2 + s.top, g.unshift(
2440
- "rotate(90 " + w.toString() + " " + w.toString() + ")"
2439
+ g = s.height / 2 + s.top, y.unshift(
2440
+ "rotate(90 " + g.toString() + " " + g.toString() + ")"
2441
2441
  );
2442
2442
  break;
2443
2443
  case 2:
2444
- g.unshift(
2444
+ y.unshift(
2445
2445
  "rotate(180 " + (s.width / 2 + s.left).toString() + " " + (s.height / 2 + s.top).toString() + ")"
2446
2446
  );
2447
2447
  break;
2448
2448
  case 3:
2449
- w = s.width / 2 + s.left, g.unshift(
2450
- "rotate(-90 " + w.toString() + " " + w.toString() + ")"
2449
+ g = s.width / 2 + s.left, y.unshift(
2450
+ "rotate(-90 " + g.toString() + " " + g.toString() + ")"
2451
2451
  );
2452
2452
  break;
2453
2453
  }
2454
- p % 2 === 1 && (s.left !== s.top && (w = s.left, s.left = s.top, s.top = w), s.width !== s.height && (w = s.width, s.width = s.height, s.height = w)), g.length && (a = '<g transform="' + g.join(" ") + '">' + a + "</g>");
2454
+ f % 2 === 1 && (s.left !== s.top && (g = s.left, s.left = s.top, s.top = g), s.width !== s.height && (g = s.width, s.width = s.height, s.height = g)), y.length && (a = '<g transform="' + y.join(" ") + '">' + a + "</g>");
2455
2455
  });
2456
2456
  const r = o.width, l = o.height, i = s.width, c = s.height;
2457
- let m, f;
2458
- return r === null ? (f = l === null ? "1em" : l === "auto" ? c : l, m = yn(f, i / c)) : (m = r === "auto" ? i : r, f = l === null ? yn(m, c / i) : l === "auto" ? c : l), {
2457
+ let m, d;
2458
+ return r === null ? (d = l === null ? "1em" : l === "auto" ? c : l, m = yn(d, i / c)) : (m = r === "auto" ? i : r, d = l === null ? yn(m, c / i) : l === "auto" ? c : l), {
2459
2459
  attributes: {
2460
2460
  width: m.toString(),
2461
- height: f.toString(),
2461
+ height: d.toString(),
2462
2462
  viewBox: s.left.toString() + " " + s.top.toString() + " " + i.toString() + " " + c.toString()
2463
2463
  },
2464
2464
  body: a
2465
2465
  };
2466
2466
  }
2467
- const la = /\sid="(\S+)"/g, ia = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
2468
- let ca = 0;
2469
- function ua(e, t = ia) {
2467
+ const ia = /\sid="(\S+)"/g, ca = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
2468
+ let ua = 0;
2469
+ function da(e, t = ca) {
2470
2470
  const n = [];
2471
2471
  let o;
2472
- for (; o = la.exec(e); )
2472
+ for (; o = ia.exec(e); )
2473
2473
  n.push(o[1]);
2474
2474
  return n.length && n.forEach((s) => {
2475
- const a = typeof t == "function" ? t(s) : t + (ca++).toString(), r = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2475
+ const a = typeof t == "function" ? t(s) : t + (ua++).toString(), r = s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
2476
2476
  e = e.replace(
2477
2477
  new RegExp('([#;"])(' + r + ')([")]|\\.[a-z])', "g"),
2478
2478
  "$1" + a + "$3"
2479
2479
  );
2480
2480
  }), e;
2481
2481
  }
2482
- function da(e, t) {
2482
+ function fa(e, t) {
2483
2483
  let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
2484
2484
  for (const o in t)
2485
2485
  n += " " + o + '="' + t[o] + '"';
2486
2486
  return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
2487
2487
  }
2488
- function fa(e) {
2488
+ function _a(e) {
2489
2489
  return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
2490
2490
  }
2491
- function _a(e) {
2492
- return 'url("data:image/svg+xml,' + fa(e) + '")';
2491
+ function ma(e) {
2492
+ return 'url("data:image/svg+xml,' + _a(e) + '")';
2493
2493
  }
2494
2494
  const En = {
2495
- ...Ao,
2495
+ ...Do,
2496
2496
  inline: !1
2497
- }, ma = {
2497
+ }, pa = {
2498
2498
  xmlns: "http://www.w3.org/2000/svg",
2499
2499
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
2500
2500
  "aria-hidden": !0,
2501
2501
  role: "img"
2502
- }, pa = {
2502
+ }, ga = {
2503
2503
  display: "inline-block"
2504
- }, Tt = {
2504
+ }, Nt = {
2505
2505
  backgroundColor: "currentColor"
2506
- }, Do = {
2506
+ }, Ao = {
2507
2507
  backgroundColor: "transparent"
2508
2508
  }, wn = {
2509
2509
  Image: "var(--svg)",
2510
2510
  Repeat: "no-repeat",
2511
2511
  Size: "100% 100%"
2512
- }, bn = {
2513
- webkitMask: Tt,
2514
- mask: Tt,
2515
- background: Do
2512
+ }, Ln = {
2513
+ webkitMask: Nt,
2514
+ mask: Nt,
2515
+ background: Ao
2516
2516
  };
2517
- for (const e in bn) {
2518
- const t = bn[e];
2517
+ for (const e in Ln) {
2518
+ const t = Ln[e];
2519
2519
  for (const n in wn)
2520
2520
  t[e + n] = wn[n];
2521
2521
  }
@@ -2524,15 +2524,15 @@ const Ze = {};
2524
2524
  const t = e.slice(0, 1) + "Flip";
2525
2525
  Ze[e + "-flip"] = t, Ze[e.slice(0, 1) + "-flip"] = t, Ze[e + "Flip"] = t;
2526
2526
  });
2527
- function Ln(e) {
2527
+ function bn(e) {
2528
2528
  return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
2529
2529
  }
2530
- const ga = (e, t) => {
2531
- const n = ea(En, t), o = { ...ma }, s = t.mode || "svg", a = {}, r = t.style, l = typeof r == "object" && !(r instanceof Array) ? r : {};
2532
- for (let v in t) {
2533
- const y = t[v];
2534
- if (y !== void 0)
2535
- switch (v) {
2530
+ const ha = (e, t) => {
2531
+ const n = ta(En, t), o = { ...pa }, s = t.mode || "svg", a = {}, r = t.style, l = typeof r == "object" && !(r instanceof Array) ? r : {};
2532
+ for (let E in t) {
2533
+ const w = t[E];
2534
+ if (w !== void 0)
2535
+ switch (E) {
2536
2536
  case "icon":
2537
2537
  case "style":
2538
2538
  case "onLoad":
@@ -2541,72 +2541,72 @@ const ga = (e, t) => {
2541
2541
  case "inline":
2542
2542
  case "hFlip":
2543
2543
  case "vFlip":
2544
- n[v] = y === !0 || y === "true" || y === 1;
2544
+ n[E] = w === !0 || w === "true" || w === 1;
2545
2545
  break;
2546
2546
  case "flip":
2547
- typeof y == "string" && na(n, y);
2547
+ typeof w == "string" && oa(n, w);
2548
2548
  break;
2549
2549
  case "color":
2550
- a.color = y;
2550
+ a.color = w;
2551
2551
  break;
2552
2552
  case "rotate":
2553
- typeof y == "string" ? n[v] = oa(y) : typeof y == "number" && (n[v] = y);
2553
+ typeof w == "string" ? n[E] = sa(w) : typeof w == "number" && (n[E] = w);
2554
2554
  break;
2555
2555
  case "ariaHidden":
2556
2556
  case "aria-hidden":
2557
- y !== !0 && y !== "true" && delete o["aria-hidden"];
2557
+ w !== !0 && w !== "true" && delete o["aria-hidden"];
2558
2558
  break;
2559
2559
  default: {
2560
- const p = Ze[v];
2561
- p ? (y === !0 || y === "true" || y === 1) && (n[p] = !0) : En[v] === void 0 && (o[v] = y);
2560
+ const f = Ze[E];
2561
+ f ? (w === !0 || w === "true" || w === 1) && (n[f] = !0) : En[E] === void 0 && (o[E] = w);
2562
2562
  }
2563
2563
  }
2564
2564
  }
2565
- const i = aa(e, n), c = i.attributes;
2565
+ const i = la(e, n), c = i.attributes;
2566
2566
  if (n.inline && (a.verticalAlign = "-0.125em"), s === "svg") {
2567
2567
  o.style = {
2568
2568
  ...a,
2569
2569
  ...l
2570
2570
  }, Object.assign(o, c);
2571
- let v = 0, y = t.id;
2572
- return typeof y == "string" && (y = y.replace(/-/g, "_")), o.innerHTML = ua(i.body, y ? () => y + "ID" + v++ : "iconifyVue"), et("svg", o);
2571
+ let E = 0, w = t.id;
2572
+ return typeof w == "string" && (w = w.replace(/-/g, "_")), o.innerHTML = da(i.body, w ? () => w + "ID" + E++ : "iconifyVue"), et("svg", o);
2573
2573
  }
2574
- const { body: m, width: f, height: u } = e, d = s === "mask" || (s === "bg" ? !1 : m.indexOf("currentColor") !== -1), g = da(m, {
2574
+ const { body: m, width: d, height: u } = e, p = s === "mask" || (s === "bg" ? !1 : m.indexOf("currentColor") !== -1), y = fa(m, {
2575
2575
  ...c,
2576
- width: f + "",
2576
+ width: d + "",
2577
2577
  height: u + ""
2578
2578
  });
2579
2579
  return o.style = {
2580
2580
  ...a,
2581
- "--svg": _a(g),
2582
- width: Ln(c.width),
2583
- height: Ln(c.height),
2584
- ...pa,
2585
- ...d ? Tt : Do,
2581
+ "--svg": ma(y),
2582
+ width: bn(c.width),
2583
+ height: bn(c.height),
2584
+ ...ga,
2585
+ ...p ? Nt : Ao,
2586
2586
  ...l
2587
2587
  }, et("span", o);
2588
2588
  }, Po = /* @__PURE__ */ Object.create(null);
2589
2589
  function Ce(e, t) {
2590
2590
  Po[e] = t;
2591
2591
  }
2592
- const ct = q({
2592
+ const ut = q({
2593
2593
  inheritAttrs: !1,
2594
2594
  render() {
2595
2595
  const e = this.$attrs, t = e.icon, n = typeof t == "string" ? Po[t] : typeof t == "object" ? t : null;
2596
- return n === null || typeof n != "object" || typeof n.body != "string" ? this.$slots.default ? this.$slots.default() : null : ga({
2596
+ return n === null || typeof n != "object" || typeof n.body != "string" ? this.$slots.default ? this.$slots.default() : null : ha({
2597
2597
  ...Vt,
2598
2598
  ...n
2599
2599
  }, e);
2600
2600
  }
2601
2601
  });
2602
- var ha = Object.defineProperty, va = Object.defineProperties, ya = Object.getOwnPropertyDescriptors, On = Object.getOwnPropertySymbols, Ea = Object.prototype.hasOwnProperty, wa = Object.prototype.propertyIsEnumerable, In = (e, t, n) => t in e ? ha(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tn = (e, t) => {
2602
+ var va = Object.defineProperty, ya = Object.defineProperties, Ea = Object.getOwnPropertyDescriptors, On = Object.getOwnPropertySymbols, wa = Object.prototype.hasOwnProperty, La = Object.prototype.propertyIsEnumerable, In = (e, t, n) => t in e ? va(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Tn = (e, t) => {
2603
2603
  for (var n in t || (t = {}))
2604
- Ea.call(t, n) && In(e, n, t[n]);
2604
+ wa.call(t, n) && In(e, n, t[n]);
2605
2605
  if (On)
2606
2606
  for (var n of On(t))
2607
- wa.call(t, n) && In(e, n, t[n]);
2607
+ La.call(t, n) && In(e, n, t[n]);
2608
2608
  return e;
2609
- }, ba = (e, t) => va(e, ya(t)), La = (e, t, n) => new Promise((o, s) => {
2609
+ }, ba = (e, t) => ya(e, Ea(t)), Oa = (e, t, n) => new Promise((o, s) => {
2610
2610
  var a = (i) => {
2611
2611
  try {
2612
2612
  l(n.next(i));
@@ -2622,7 +2622,7 @@ var ha = Object.defineProperty, va = Object.defineProperties, ya = Object.getOwn
2622
2622
  }, l = (i) => i.done ? o(i.value) : Promise.resolve(i.value).then(a, r);
2623
2623
  l((n = n.apply(e, t)).next());
2624
2624
  });
2625
- const Oa = {
2625
+ const Ia = {
2626
2626
  name: "VirtualList",
2627
2627
  props: {
2628
2628
  listData: {
@@ -2632,15 +2632,21 @@ const Oa = {
2632
2632
  itemSize: {
2633
2633
  type: Number,
2634
2634
  default: 200
2635
+ },
2636
+ devicePanelHeight: {
2637
+ type: String,
2638
+ default: "0px"
2635
2639
  }
2636
2640
  },
2637
2641
  setup(e) {
2638
2642
  const t = {
2639
- screenHeight: k(0),
2640
- startOffset: k(0),
2641
- start: k(0),
2642
- end: k(0)
2643
- }, n = k(), o = {
2643
+ screenHeight: V(() => parseInt(e.devicePanelHeight.replace("px", ""))),
2644
+ startOffset: M(0),
2645
+ start: M(0),
2646
+ end: M(0),
2647
+ activeResetScrollOffset() {
2648
+ }
2649
+ }, n = M(), o = {
2644
2650
  listHeight: V(() => e.listData.length * e.itemSize),
2645
2651
  visibleCount: V(() => Math.ceil(t.screenHeight.value / e.itemSize)),
2646
2652
  getTransform: V(() => `translate3d(0,${t.startOffset.value}px,0)`),
@@ -2651,37 +2657,46 @@ const Oa = {
2651
2657
  }), t);
2652
2658
  },
2653
2659
  mounted() {
2654
- this.init(), Ie(() => this.listData.length, () => La(this, null, function* () {
2655
- yield this.$nextTick(), this.init();
2656
- }));
2660
+ setTimeout(() => {
2661
+ Ie(() => this.listData.length, () => Oa(this, null, function* () {
2662
+ yield this.$nextTick(), this.init();
2663
+ }), { immediate: !0 });
2664
+ }, 100);
2657
2665
  },
2666
+ activated() {
2667
+ this.activeResetScrollOffset();
2668
+ },
2669
+ inject: ["getDevicePanelEle"],
2658
2670
  methods: {
2659
2671
  init() {
2660
- this.screenHeight = this.$el.clientHeight, this.screenHeight == 0 && (this.screenHeight = 400), this.start = 0, this.end = this.start + this.visibleCount;
2672
+ this.start = 0, this.end = this.start + this.visibleCount;
2661
2673
  },
2662
2674
  scrollEvent() {
2663
2675
  if (this.virList) {
2664
- let e = this.virList.scrollTop;
2665
- this.start = Math.floor(e / this.itemSize), this.end = this.start + this.visibleCount, this.startOffset = e - e % this.itemSize;
2676
+ const e = this.virList.scrollTop;
2677
+ this.activeResetScrollOffset = () => {
2678
+ this.virList && (this.virList.scrollTop = e, this.activeResetScrollOffset = () => {
2679
+ });
2680
+ }, this.start = Math.floor(e / this.itemSize), this.end = this.start + this.visibleCount, this.startOffset = e - e % this.itemSize;
2666
2681
  }
2667
2682
  }
2668
2683
  }
2669
2684
  };
2670
- function Ia(e, t, n, o, s, a) {
2671
- return N(), C("div", {
2685
+ function Ta(e, t, n, o, s, a) {
2686
+ return S(), D("div", {
2672
2687
  ref: "virList",
2673
2688
  class: "infinite-list-container",
2674
- onScroll: t[0] || (t[0] = (r) => a.scrollEvent())
2689
+ onScroll: t[0] || (t[0] = () => a.scrollEvent())
2675
2690
  }, [
2676
- b("div", {
2691
+ L("div", {
2677
2692
  class: "infinite-list-phantom",
2678
2693
  style: me({ height: e.listHeight + "px" })
2679
2694
  }, null, 4),
2680
- b("div", {
2695
+ L("div", {
2681
2696
  class: "infinite-list",
2682
2697
  style: me({ transform: e.getTransform })
2683
2698
  }, [
2684
- (N(!0), C(ue, null, Ee(e.visibleData, (r) => (N(), C("div", {
2699
+ (S(!0), D(ue, null, Ee(e.visibleData, (r) => (S(), D("div", {
2685
2700
  ref_for: !0,
2686
2701
  ref: "items",
2687
2702
  class: "infinite-list-item",
@@ -2693,20 +2708,35 @@ function Ia(e, t, n, o, s, a) {
2693
2708
  ], 4)
2694
2709
  ], 544);
2695
2710
  }
2696
- const Ta = /* @__PURE__ */ oe(Oa, [["render", Ia], ["__scopeId", "data-v-12d2a294"]]);
2697
- var Na = Object.defineProperty, Sa = Object.defineProperties, Ca = Object.getOwnPropertyDescriptors, Nn = Object.getOwnPropertySymbols, Aa = Object.prototype.hasOwnProperty, Da = Object.prototype.propertyIsEnumerable, Sn = (e, t, n) => t in e ? Na(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Pa = (e, t) => {
2711
+ const Na = /* @__PURE__ */ oe(Ia, [["render", Ta], ["__scopeId", "data-v-f3099cfa"]]);
2712
+ var Sa = Object.defineProperty, Ca = Object.defineProperties, Da = Object.getOwnPropertyDescriptors, Nn = Object.getOwnPropertySymbols, Aa = Object.prototype.hasOwnProperty, Pa = Object.prototype.propertyIsEnumerable, Sn = (e, t, n) => t in e ? Sa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $a = (e, t) => {
2698
2713
  for (var n in t || (t = {}))
2699
2714
  Aa.call(t, n) && Sn(e, n, t[n]);
2700
2715
  if (Nn)
2701
2716
  for (var n of Nn(t))
2702
- Da.call(t, n) && Sn(e, n, t[n]);
2717
+ Pa.call(t, n) && Sn(e, n, t[n]);
2703
2718
  return e;
2704
- }, $a = (e, t) => Sa(e, Ca(t));
2705
- const Ma = q({
2719
+ }, Ma = (e, t) => Ca(e, Da(t)), ka = (e, t, n) => new Promise((o, s) => {
2720
+ var a = (i) => {
2721
+ try {
2722
+ l(n.next(i));
2723
+ } catch (c) {
2724
+ s(c);
2725
+ }
2726
+ }, r = (i) => {
2727
+ try {
2728
+ l(n.throw(i));
2729
+ } catch (c) {
2730
+ s(c);
2731
+ }
2732
+ }, l = (i) => i.done ? o(i.value) : Promise.resolve(i.value).then(a, r);
2733
+ l((n = n.apply(e, t)).next());
2734
+ });
2735
+ const Ra = q({
2706
2736
  components: {
2707
- VirtualList: Ta,
2737
+ VirtualList: Na,
2708
2738
  CountShow: To,
2709
- Icon: ct
2739
+ Icon: ut
2710
2740
  },
2711
2741
  name: "group-show",
2712
2742
  props: {
@@ -2715,88 +2745,99 @@ const Ma = q({
2715
2745
  uiParams: Object
2716
2746
  },
2717
2747
  setup(e, t) {
2718
- const n = Kr(), o = Yr(), s = k(), a = St("theme"), r = {
2719
- filterDevice(d) {
2748
+ const n = Yr(), o = Xr(), s = M(), a = tt("theme"), r = {
2749
+ filterDevice(f) {
2720
2750
  var g;
2721
- let v = !0;
2722
- v = ot(() => {
2723
- var p, w, S, T;
2724
- return (p = e.controlParams) != null && p.searchStr ? d.name.includes((w = e.controlParams) == null ? void 0 : w.searchStr) || d.id.includes((S = e.controlParams) == null ? void 0 : S.searchStr) || typeof d.user == "string" && d.user.includes((T = e.controlParams) == null ? void 0 : T.searchStr) : v;
2751
+ let T = !0;
2752
+ T = st(() => {
2753
+ var v, A, $, C;
2754
+ return (v = e.controlParams) != null && v.searchStr ? f.name.includes((A = e.controlParams) == null ? void 0 : A.searchStr) || f.id.includes(($ = e.controlParams) == null ? void 0 : $.searchStr) || typeof f.user == "string" && f.user.includes((C = e.controlParams) == null ? void 0 : C.searchStr) : T;
2725
2755
  });
2726
- let y = !0;
2727
- return (g = e.controlParams) != null && g.onlyShowOnline && (y = d.online), v && y;
2756
+ let O = !0;
2757
+ return (g = e.controlParams) != null && g.onlyShowOnline && (O = f.online), T && O;
2728
2758
  },
2729
- deviceText(d) {
2730
- const g = `${o.value ? "" : `[${d.id}] `}`;
2731
- return d.user ? n.value == yo.PUFirst ? d.name.length > 0 ? `${d.name} ${g}[${d.user}]` : ` ${g}[${d.user}]` : d.name.length > 0 ? `${d.user} ${g}[${d.name}]` : `${d.user} ${g}[]` : d.name.length > 0 ? `${d.name} ${g}` : ` ${g}`;
2759
+ deviceText(f) {
2760
+ const g = `${o.value ? "" : `[${f.id}] `}`;
2761
+ return f.user ? n.value == yo.PUFirst ? f.name.length > 0 ? `${f.name} ${g}[${f.user}]` : ` ${g}[${f.user}]` : f.name.length > 0 ? `${f.user} ${g}[${f.name}]` : `${f.user} ${g}[]` : f.name.length > 0 ? `${f.name} ${g}` : ` ${g}`;
2732
2762
  },
2733
- groupText(d) {
2734
- if (d)
2735
- return d.name.length > 0 ? d.name : d.id;
2763
+ groupText(f) {
2764
+ if (f)
2765
+ return f.name.length > 0 ? f.name : f.id;
2736
2766
  }
2737
- }, l = {
2767
+ }, l = tt("getDevicePanelEle"), i = {
2738
2768
  filteredDevices: V(() => {
2739
- var d;
2740
- const g = (d = e.deviceGroup) == null ? void 0 : d.devices, v = g && g.filter((p) => r.filterDevice(p)) || [];
2741
- return v.filter((p) => p.online).concat(v.filter((p) => !p.online));
2769
+ var f;
2770
+ const g = (f = e.deviceGroup) == null ? void 0 : f.devices, T = g && g.filter((v) => r.filterDevice(v)) || [];
2771
+ return T.filter((v) => v.online).concat(T.filter((v) => !v.online));
2742
2772
  })
2743
- }, i = V(() => l.filteredDevices.value.length > 10 ? "400px" : `${l.filteredDevices.value.length * 40}px`);
2744
- function c(d, g) {
2745
- return ot(() => {
2773
+ }, c = M(), m = M("0px");
2774
+ function d(f, g) {
2775
+ return st(() => {
2746
2776
  if (g.length == 0)
2747
2777
  return !0;
2748
- let v = !1;
2749
- if ((d == null ? void 0 : d.name.indexOf(g)) > 0 && (v = !0), v || (v = (d == null ? void 0 : d.devices.find(
2750
- (y) => y.name.includes(g) || y.id.includes(g) || y.user && y.user.includes(g)
2751
- )) != null), !v) {
2752
- for (let y = 0; y < d.items.length; y++)
2753
- if (c(d.items[y], g))
2778
+ let T = !1;
2779
+ if ((f == null ? void 0 : f.name.indexOf(g)) > 0 && (T = !0), T || (T = (f == null ? void 0 : f.devices.find(
2780
+ (O) => O.name.includes(g) || O.id.includes(g) || O.user && O.user.includes(g)
2781
+ )) != null), !T) {
2782
+ for (let O = 0; O < f.items.length; O++)
2783
+ if (d(f.items[O], g))
2754
2784
  return !0;
2755
2785
  }
2756
- return v;
2786
+ return T;
2757
2787
  });
2758
2788
  }
2759
- const m = V(() => {
2789
+ const u = V(() => {
2760
2790
  if (e.controlParams) {
2761
- const d = e.controlParams.searchStr;
2791
+ const f = e.controlParams.searchStr;
2762
2792
  if (e.deviceGroup)
2763
- return c(e.deviceGroup, d);
2793
+ return d(e.deviceGroup, f);
2764
2794
  }
2765
2795
  return !1;
2766
- }), f = k(!1);
2767
- function u() {
2768
- var d;
2769
- (d = e.uiParams) != null && d.dbclickExpandsDisable || (f.value = !f.value);
2796
+ }), p = M(!1), y = M(!1);
2797
+ function E() {
2798
+ return ka(this, null, function* () {
2799
+ y.value || (y.value = !0, p.value ? (m.value = "0px;", i.filteredDevices.value.length && (yield new Promise((f) => setTimeout(f, 300)))) : m.value = "0px", p.value = !p.value, y.value = !1, p.value && os(() => {
2800
+ var f, g;
2801
+ const T = l().clientHeight - ((f = c.value) != null && f.offsetTop ? ((g = c.value) == null ? void 0 : g.offsetTop) - l().scrollTop : 0);
2802
+ m.value = i.filteredDevices.value.length > 10 ? T > 400 ? `${T}px` : "400px" : `${i.filteredDevices.value.length * 40}px`;
2803
+ }));
2804
+ });
2805
+ }
2806
+ function w() {
2807
+ var f;
2808
+ (f = e.uiParams) != null && f.dbclickExpandsDisable || E();
2770
2809
  }
2771
- return $a(Pa({
2772
- OnHeadDbClick: u,
2810
+ return Ma($a({
2811
+ onShowClick: E,
2812
+ refDeviceShowDiv: c,
2813
+ OnHeadDbClick: w,
2773
2814
  innerUtils: r
2774
- }, l), {
2775
- devicePanelHeight: i,
2776
- showGroup: m,
2777
- bShow: f,
2815
+ }, i), {
2816
+ devicePanelHeight: m,
2817
+ showGroup: u,
2818
+ bShow: p,
2778
2819
  theme: a,
2779
2820
  countRef: s
2780
2821
  });
2781
2822
  }
2782
2823
  });
2783
- const ka = {
2824
+ const xa = {
2784
2825
  key: 0,
2785
2826
  class: "head-op"
2786
- }, Ra = {
2827
+ }, Fa = {
2787
2828
  key: 1,
2788
2829
  style: { display: "inline-block", width: "25px" }
2789
- }, xa = {
2830
+ }, Va = {
2790
2831
  key: 0,
2791
2832
  class: "group-head-count"
2792
- }, Fa = ["title"], Va = { class: "group-slot" }, Ua = {
2833
+ }, Ua = ["title"], Ga = { class: "group-slot" }, za = {
2793
2834
  key: 0,
2794
2835
  style: { "margin-left": "26px" }
2795
- }, Ga = ["title"], za = { class: "device-slot" };
2796
- function Ha(e, t, n, o, s, a) {
2836
+ }, Ha = ["title"], ja = { class: "device-slot" };
2837
+ function Wa(e, t, n, o, s, a) {
2797
2838
  var r, l, i;
2798
- const c = _e("Icon"), m = _e("CountShow"), f = _e("group-show"), u = _e("VirtualList");
2799
- return e.showGroup ? Gn((N(), C("div", {
2839
+ const c = _e("Icon"), m = _e("CountShow"), d = _e("group-show"), u = _e("VirtualList");
2840
+ return e.showGroup ? Gn((S(), D("div", {
2800
2841
  key: 0,
2801
2842
  class: ke("group " + e.theme)
2802
2843
  }, [
@@ -2805,78 +2846,80 @@ function Ha(e, t, n, o, s, a) {
2805
2846
  controlParams: e.controlParams,
2806
2847
  ref: "countRef"
2807
2848
  }, {
2808
- default: te(({ online: d, total: g }) => {
2809
- var v, y;
2849
+ default: te(({ online: p, total: y }) => {
2850
+ var E, w;
2810
2851
  return [
2811
- e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (N(), C("span", ka, [
2852
+ e.deviceGroup && e.deviceGroup.devices.length + e.deviceGroup.items.length > 0 ? (S(), D("span", xa, [
2812
2853
  B(c, {
2813
2854
  icon: e.bShow ? "minus" : "plus",
2814
2855
  width: "20",
2815
- onClick: t[0] || (t[0] = (p) => e.bShow = !e.bShow),
2856
+ onClick: e.onShowClick,
2816
2857
  class: "handle-ls-svg"
2817
- }, null, 8, ["icon"])
2818
- ])) : (N(), C("span", Ra)),
2819
- b("span", {
2858
+ }, null, 8, ["icon", "onClick"])
2859
+ ])) : (S(), D("span", Fa)),
2860
+ L("span", {
2820
2861
  class: "group-head-db-click",
2821
- onDblclick: t[1] || (t[1] = (...p) => e.OnHeadDbClick && e.OnHeadDbClick(...p))
2862
+ onDblclick: t[0] || (t[0] = (...f) => e.OnHeadDbClick && e.OnHeadDbClick(...f))
2822
2863
  }, [
2823
2864
  B(c, {
2824
2865
  icon: e.bShow ? "group" : "group-closed",
2825
2866
  width: "24",
2826
2867
  class: "group-avatar"
2827
2868
  }, null, 8, ["icon"]),
2828
- e.bShow ? ge("", !0) : (N(), C("span", xa, z((v = e.deviceGroup) == null ? void 0 : v.items.length), 1)),
2869
+ e.bShow ? ge("", !0) : (S(), D("span", Va, z((E = e.deviceGroup) == null ? void 0 : E.items.length), 1)),
2829
2870
  Y(e.$slots, "groupHead", { group: e.deviceGroup }, void 0, !0),
2830
- b("span", {
2871
+ L("span", {
2831
2872
  class: "group-name",
2832
- title: (y = e.deviceGroup) == null ? void 0 : y.name
2833
- }, z(e.innerUtils.groupText(e.deviceGroup)), 9, Fa)
2873
+ title: (w = e.deviceGroup) == null ? void 0 : w.name
2874
+ }, z(e.innerUtils.groupText(e.deviceGroup)), 9, Ua)
2834
2875
  ], 32),
2835
- b("div", Va, [
2876
+ L("div", Ga, [
2836
2877
  Y(e.$slots, "group", { group: e.deviceGroup }, void 0, !0)
2837
2878
  ])
2838
2879
  ];
2839
2880
  }),
2840
2881
  _: 3
2841
2882
  }, 8, ["countInfo", "controlParams"]),
2842
- e.bShow ? (N(), C("div", Ua, [
2843
- (N(!0), C(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (d, g) => (N(), Fe(f, {
2844
- key: d.id,
2845
- deviceGroup: d,
2883
+ e.bShow ? (S(), D("div", za, [
2884
+ (S(!0), D(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (p, y) => (S(), Fe(d, {
2885
+ key: p.id,
2886
+ deviceGroup: p,
2846
2887
  "ui-params": e.uiParams,
2847
2888
  controlParams: e.controlParams
2848
2889
  }, {
2849
- groupHead: te(({ group: v }) => [
2850
- Y(e.$slots, "groupHead", { group: v }, void 0, !0)
2890
+ groupHead: te(({ group: E }) => [
2891
+ Y(e.$slots, "groupHead", { group: E }, void 0, !0)
2851
2892
  ]),
2852
- group: te(({ group: v }) => [
2853
- Y(e.$slots, "group", { group: v }, void 0, !0)
2893
+ group: te(({ group: E }) => [
2894
+ Y(e.$slots, "group", { group: E }, void 0, !0)
2854
2895
  ]),
2855
- deviceHead: te(({ device: v, group: y }) => [
2896
+ deviceHead: te(({ device: E, group: w }) => [
2856
2897
  Y(e.$slots, "deviceHead", {
2857
- device: v,
2858
- group: y
2898
+ device: E,
2899
+ group: w
2859
2900
  }, void 0, !0)
2860
2901
  ]),
2861
- device: te(({ device: v, group: y }) => [
2902
+ device: te(({ device: E, group: w }) => [
2862
2903
  Y(e.$slots, "device", {
2863
- device: v,
2864
- group: y
2904
+ device: E,
2905
+ group: w
2865
2906
  }, void 0, !0)
2866
2907
  ]),
2867
2908
  _: 2
2868
2909
  }, 1032, ["deviceGroup", "ui-params", "controlParams"]))), 128)),
2869
- b("div", {
2910
+ L("div", {
2870
2911
  class: "device-show-div",
2871
- style: me(`height: ${e.filteredDevices.length > 10 ? "400px" : `${e.filteredDevices.length * 40}px`}`)
2912
+ style: me(`height: ${e.devicePanelHeight}`),
2913
+ ref: "refDeviceShowDiv"
2872
2914
  }, [
2873
2915
  B(u, {
2874
2916
  "list-data": e.filteredDevices,
2875
- "item-size": 40
2917
+ "item-size": 40,
2918
+ "device-panel-height": e.devicePanelHeight
2876
2919
  }, {
2877
- default: te(({ data: d }) => [
2878
- b("div", {
2879
- class: ke(d.online && "online-device")
2920
+ default: te(({ data: p }) => [
2921
+ L("div", {
2922
+ class: ke(p.online && "online-device")
2880
2923
  }, [
2881
2924
  B(c, {
2882
2925
  icon: "user",
@@ -2884,64 +2927,64 @@ function Ha(e, t, n, o, s, a) {
2884
2927
  class: "device-avatar"
2885
2928
  }),
2886
2929
  Y(e.$slots, "deviceHead", {
2887
- device: d,
2930
+ device: p,
2888
2931
  group: e.deviceGroup
2889
2932
  }, void 0, !0),
2890
- b("span", {
2891
- title: e.innerUtils.deviceText(d),
2933
+ L("span", {
2934
+ title: e.innerUtils.deviceText(p),
2892
2935
  class: "device-name"
2893
- }, z(e.innerUtils.deviceText(d)), 9, Ga),
2894
- b("div", za, [
2936
+ }, z(e.innerUtils.deviceText(p)), 9, Ha),
2937
+ L("div", ja, [
2895
2938
  Y(e.$slots, "device", {
2896
- device: d,
2939
+ device: p,
2897
2940
  group: e.deviceGroup
2898
2941
  }, void 0, !0)
2899
2942
  ])
2900
2943
  ], 2)
2901
2944
  ]),
2902
2945
  _: 3
2903
- }, 8, ["list-data"])
2946
+ }, 8, ["list-data", "device-panel-height"])
2904
2947
  ], 4)
2905
2948
  ])) : ge("", !0)
2906
2949
  ], 2)), [
2907
2950
  [zn, !((l = e.controlParams) != null && l.onlyShowOnline) || ((i = e.countRef) == null ? void 0 : i.onlineCount)]
2908
2951
  ]) : ge("", !0);
2909
2952
  }
2910
- const ja = /* @__PURE__ */ oe(Ma, [["render", Ha], ["__scopeId", "data-v-c816085d"]]), Wa = {
2953
+ const Ba = /* @__PURE__ */ oe(Ra, [["render", Wa], ["__scopeId", "data-v-6344ae1d"]]), Ka = {
2911
2954
  width: 1024,
2912
2955
  height: 1024,
2913
2956
  body: '<path fill="currentColor" d="M384 192v640l384-320.064z"/>'
2914
- }, Ba = {
2957
+ }, Ya = {
2915
2958
  width: 1024,
2916
2959
  height: 1024,
2917
2960
  body: '<path fill="currentColor" d="M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384H832zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896z"/>'
2918
- }, Ka = {
2961
+ }, Xa = {
2919
2962
  width: 1024,
2920
2963
  height: 1024,
2921
2964
  body: '<path fill="currentColor" d="M128 192v640h768V320H485.76L357.504 192H128zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32z"/>'
2922
- }, Ya = {
2965
+ }, Ja = {
2923
2966
  width: 1024,
2924
2967
  height: 1024,
2925
2968
  body: '<path fill="currentColor" d="M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704l116.736-175.104zM720 304a208 208 0 1 1-416 0a208 208 0 0 1 416 0z"/>'
2926
- }, Xa = {
2969
+ }, Qa = {
2927
2970
  width: 1024,
2928
2971
  height: 1024,
2929
2972
  body: '<path fill="currentColor" d="M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64h352z"/>'
2930
- }, Ja = {
2973
+ }, qa = {
2931
2974
  width: 1024,
2932
2975
  height: 1024,
2933
2976
  body: '<path fill="currentColor" d="M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z"/>'
2934
2977
  };
2935
- Ce("right", Wa);
2936
- Ce("group", Ba);
2937
- Ce("group-closed", Ka);
2938
- Ce("user", Ya);
2939
- Ce("plus", Xa);
2940
- Ce("minus", Ja);
2941
- const Qa = q({
2978
+ Ce("right", Ka);
2979
+ Ce("group", Ya);
2980
+ Ce("group-closed", Xa);
2981
+ Ce("user", Ja);
2982
+ Ce("plus", Qa);
2983
+ Ce("minus", qa);
2984
+ const Za = q({
2942
2985
  components: {
2943
2986
  CountShow: To,
2944
- GroupShow: ja
2987
+ GroupShow: Ba
2945
2988
  },
2946
2989
  props: {
2947
2990
  deviceGroup: Object,
@@ -2965,22 +3008,28 @@ const Qa = q({
2965
3008
  this.controlParams.searchStr = e;
2966
3009
  }
2967
3010
  },
3011
+ provide() {
3012
+ return {
3013
+ getDevicePanelEle: () => this.refDevicePanel
3014
+ };
3015
+ },
2968
3016
  setup(e) {
2969
- const t = Wr(), n = V(() => t.value == Eo.BACKGROUND_WHITE ? "" : "dark");
2970
- os("theme", n);
2971
- const o = k({
3017
+ const t = Br(), n = V(() => t.value == Eo.BACKGROUND_WHITE ? "" : "dark");
3018
+ ss("theme", n);
3019
+ const o = M({
2972
3020
  onlyShowOnline: !1,
2973
3021
  searchStr: ""
2974
3022
  });
2975
3023
  Ie(
2976
3024
  () => o.value.onlyShowOnline,
2977
3025
  () => {
2978
- var r;
2979
- s.value && ((r = s.value) == null ? void 0 : r.checked) != o.value.onlyShowOnline && (s.value.checked = o.value.onlyShowOnline);
3026
+ var l;
3027
+ s.value && ((l = s.value) == null ? void 0 : l.checked) != o.value.onlyShowOnline && (s.value.checked = o.value.onlyShowOnline);
2980
3028
  }
2981
3029
  );
2982
- const s = k(), a = k();
3030
+ const s = M(), a = M();
2983
3031
  return {
3032
+ refDevicePanel: M(),
2984
3033
  theme: n,
2985
3034
  i18nT: Ne,
2986
3035
  inputShowOnlineOnly: s,
@@ -2989,72 +3038,75 @@ const Qa = q({
2989
3038
  };
2990
3039
  }
2991
3040
  });
2992
- const qa = { class: "search-panel" }, Za = { for: "onlineShow" }, el = { class: "device-panel" };
2993
- function tl(e, t, n, o, s, a) {
3041
+ const el = { class: "search-panel" }, tl = { for: "onlineShow" }, nl = {
3042
+ class: "device-panel",
3043
+ ref: "refDevicePanel"
3044
+ };
3045
+ function ol(e, t, n, o, s, a) {
2994
3046
  var r;
2995
3047
  const l = _e("CountShow"), i = _e("group-show");
2996
- return N(), C("div", {
3048
+ return S(), D("div", {
2997
3049
  class: ke(`device-group-list ${e.theme}`)
2998
3050
  }, [
2999
- b("div", qa, [
3051
+ L("div", el, [
3000
3052
  B(l, {
3001
3053
  countInfo: e.deviceGroup,
3002
3054
  "control-params": e.controlParams
3003
3055
  }, {
3004
3056
  default: te(() => [
3005
- b("input", {
3057
+ L("input", {
3006
3058
  type: "checkbox",
3007
3059
  id: "onlineShow",
3008
3060
  value: "onlineShow",
3009
3061
  onChange: t[0] || (t[0] = () => e.onCheckBoxChange()),
3010
3062
  ref: "inputShowOnlineOnly"
3011
3063
  }, null, 544),
3012
- b("label", Za, z(e.i18nT("zhi-xian-shi-zai-xian-she-bei")), 1)
3064
+ L("label", tl, z(e.i18nT("zhi-xian-shi-zai-xian-she-bei")), 1)
3013
3065
  ]),
3014
3066
  _: 1
3015
3067
  }, 8, ["countInfo", "control-params"])
3016
3068
  ]),
3017
- b("div", el, [
3018
- (N(!0), C(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (c, m) => (N(), Fe(i, {
3069
+ L("div", nl, [
3070
+ (S(!0), D(ue, null, Ee((r = e.deviceGroup) == null ? void 0 : r.items, (c, m) => (S(), Fe(i, {
3019
3071
  controlParams: e.controlParams,
3020
3072
  key: c.id,
3021
3073
  "ui-params": e.uiControl,
3022
3074
  deviceGroup: c
3023
3075
  }, {
3024
- groupHead: te(({ group: f }) => [
3025
- Y(e.$slots, "groupHead", { group: f }, void 0, !0)
3076
+ groupHead: te(({ group: d }) => [
3077
+ Y(e.$slots, "groupHead", { group: d }, void 0, !0)
3026
3078
  ]),
3027
- group: te(({ group: f }) => [
3028
- Y(e.$slots, "group", { group: f }, void 0, !0)
3079
+ group: te(({ group: d }) => [
3080
+ Y(e.$slots, "group", { group: d }, void 0, !0)
3029
3081
  ]),
3030
- deviceHead: te(({ device: f, group: u }) => [
3082
+ deviceHead: te(({ device: d, group: u }) => [
3031
3083
  Y(e.$slots, "deviceHead", {
3032
- device: f,
3084
+ device: d,
3033
3085
  group: u
3034
3086
  }, void 0, !0)
3035
3087
  ]),
3036
- device: te(({ device: f, group: u }) => [
3088
+ device: te(({ device: d, group: u }) => [
3037
3089
  Y(e.$slots, "device", {
3038
- device: f,
3090
+ device: d,
3039
3091
  group: u
3040
3092
  }, void 0, !0)
3041
3093
  ]),
3042
3094
  _: 2
3043
3095
  }, 1032, ["controlParams", "ui-params", "deviceGroup"]))), 128))
3044
- ])
3096
+ ], 512)
3045
3097
  ], 2);
3046
3098
  }
3047
- const nl = /* @__PURE__ */ oe(Qa, [["render", tl], ["__scopeId", "data-v-d3dc39fb"]]);
3048
- var ol = Object.defineProperty, sl = Object.defineProperties, rl = Object.getOwnPropertyDescriptors, Cn = Object.getOwnPropertySymbols, al = Object.prototype.hasOwnProperty, ll = Object.prototype.propertyIsEnumerable, An = (e, t, n) => t in e ? ol(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $o = (e, t) => {
3099
+ const sl = /* @__PURE__ */ oe(Za, [["render", ol], ["__scopeId", "data-v-c7168f0f"]]);
3100
+ var rl = Object.defineProperty, al = Object.defineProperties, ll = Object.getOwnPropertyDescriptors, Cn = Object.getOwnPropertySymbols, il = Object.prototype.hasOwnProperty, cl = Object.prototype.propertyIsEnumerable, Dn = (e, t, n) => t in e ? rl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $o = (e, t) => {
3049
3101
  for (var n in t || (t = {}))
3050
- al.call(t, n) && An(e, n, t[n]);
3102
+ il.call(t, n) && Dn(e, n, t[n]);
3051
3103
  if (Cn)
3052
3104
  for (var n of Cn(t))
3053
- ll.call(t, n) && An(e, n, t[n]);
3105
+ cl.call(t, n) && Dn(e, n, t[n]);
3054
3106
  return e;
3055
- }, il = (e, t) => sl(e, rl(t));
3056
- const He = 6, Dn = He * 2;
3057
- function cl(e, t) {
3107
+ }, ul = (e, t) => al(e, ll(t));
3108
+ const He = 6, An = He * 2;
3109
+ function dl(e, t) {
3058
3110
  return e.map(
3059
3111
  ({
3060
3112
  leftTop: { col: n, row: o },
@@ -3062,12 +3114,12 @@ function cl(e, t) {
3062
3114
  }) => `<line x1="${n * t.col + He}" y1="${o * t.row + He}" x2="${s * t.col + He}" y2="${a * t.row + He}" stroke="black" stroke-width="5"/>`
3063
3115
  ).join(" ");
3064
3116
  }
3065
- function ul(e, t, n) {
3117
+ function fl(e, t, n) {
3066
3118
  return n.findIndex((o) => e >= o.leftTop.row && e < o.rightBottom.row && t >= o.leftTop.col && t < o.rightBottom.col) >= 0;
3067
3119
  }
3068
- function dl(e, t, n) {
3120
+ function _l(e, t, n) {
3069
3121
  n.forEach((o) => {
3070
- const s = il($o({}, o.leftTop), {
3122
+ const s = ul($o({}, o.leftTop), {
3071
3123
  id: Mo(o.leftTop),
3072
3124
  layout: {
3073
3125
  left: 100 / t.col * o.leftTop.col,
@@ -3085,7 +3137,7 @@ function Mo(e) {
3085
3137
  return `${e.row}-${e.col}`;
3086
3138
  }
3087
3139
  const Pn = "ComponentsDefaultLayoutKeyAF84566", $n = "ComponentsCustomLayoutsKeyAF84566";
3088
- function fl(e) {
3140
+ function ml(e) {
3089
3141
  const t = [], n = [];
3090
3142
  for (let o = 0; o < e.points.length / 2; o++)
3091
3143
  n.push(e.points.slice(o * 2, o * 2 + 2));
@@ -3116,7 +3168,7 @@ const Se = {
3116
3168
  const n = [];
3117
3169
  for (let o = 0; o < e.row; o++)
3118
3170
  for (let s = 0; s < e.col; s++) {
3119
- if (ul(o, s, t))
3171
+ if (fl(o, s, t))
3120
3172
  continue;
3121
3173
  const a = $o({
3122
3174
  layout: {
@@ -3129,7 +3181,7 @@ const Se = {
3129
3181
  }, { row: o, col: s, w: 1, h: 1 });
3130
3182
  n.push(a);
3131
3183
  }
3132
- return dl(n, e, t), n;
3184
+ return _l(n, e, t), n;
3133
3185
  },
3134
3186
  TransLayoutToSVG(e, t) {
3135
3187
  const n = [];
@@ -3148,23 +3200,23 @@ const Se = {
3148
3200
  n.forEach(
3149
3201
  ({
3150
3202
  leftTop: { row: c, col: m },
3151
- rightBottom: { row: f, col: u }
3203
+ rightBottom: { row: d, col: u }
3152
3204
  }) => {
3153
- for (let d = c + 1; d < f; d++)
3154
- o[d].points.push(m, u);
3155
- for (let d = m + 1; d < u; d++)
3156
- s[d].points.push(c, f);
3205
+ for (let p = c + 1; p < d; p++)
3206
+ o[p].points.push(m, u);
3207
+ for (let p = m + 1; p < u; p++)
3208
+ s[p].points.push(c, d);
3157
3209
  }
3158
3210
  );
3159
3211
  const a = o.concat(...s), r = [];
3160
3212
  a.forEach((c) => {
3161
- c.points = c.points.sort(), r.push(...fl(c));
3213
+ c.points = c.points.sort(), r.push(...ml(c));
3162
3214
  });
3163
3215
  const l = {
3164
3216
  row: t.height / e.row,
3165
3217
  col: t.width / e.col
3166
- }, i = cl(r, l);
3167
- return `<svg viewBox='0 0 ${t.width + Dn} ${t.height + Dn} ' width="100%" height="100%"> ${i} </svg>`;
3218
+ }, i = dl(r, l);
3219
+ return `<svg viewBox='0 0 ${t.width + An} ${t.height + An} ' width="100%" height="100%"> ${i} </svg>`;
3168
3220
  },
3169
3221
  StorageDefaultLayout: {
3170
3222
  get() {
@@ -3195,7 +3247,7 @@ const Se = {
3195
3247
  localStorage.setItem($n, JSON.stringify(e));
3196
3248
  }
3197
3249
  }
3198
- }, _l = q({
3250
+ }, pl = q({
3199
3251
  emits: {
3200
3252
  onselect(e, t) {
3201
3253
  return !0;
@@ -3254,24 +3306,24 @@ const Se = {
3254
3306
  }
3255
3307
  }
3256
3308
  });
3257
- const ml = ["onClick"], pl = { style: { position: "relative", display: "inline-block", margin: "10px" } }, gl = ["innerHTML"], hl = { style: { "vertical-align": "middle" } };
3258
- function vl(e, t, n, o, s, a) {
3259
- return N(), C("div", null, [
3260
- (N(!0), C(ue, null, Ee(e.layoutInfos, (r) => (N(), C("div", {
3309
+ const gl = ["onClick"], hl = { style: { position: "relative", display: "inline-block", margin: "10px" } }, vl = ["innerHTML"], yl = { style: { "vertical-align": "middle" } };
3310
+ function El(e, t, n, o, s, a) {
3311
+ return S(), D("div", null, [
3312
+ (S(!0), D(ue, null, Ee(e.layoutInfos, (r) => (S(), D("div", {
3261
3313
  class: ke(e.getClassLayout(r)),
3262
3314
  onClick: (l) => e.selectClick(r)
3263
3315
  }, [
3264
- b("div", pl, [
3265
- b("div", {
3316
+ L("div", hl, [
3317
+ L("div", {
3266
3318
  innerHTML: r.svg,
3267
3319
  class: "svg-style"
3268
- }, null, 8, gl),
3269
- b("span", hl, z(r.layout.name), 1)
3320
+ }, null, 8, vl),
3321
+ L("span", yl, z(r.layout.name), 1)
3270
3322
  ])
3271
- ], 10, ml))), 256))
3323
+ ], 10, gl))), 256))
3272
3324
  ]);
3273
3325
  }
3274
- const ko = /* @__PURE__ */ oe(_l, [["render", vl], ["__scopeId", "data-v-75abecd2"]]), yl = q({
3326
+ const ko = /* @__PURE__ */ oe(pl, [["render", El], ["__scopeId", "data-v-75abecd2"]]), wl = q({
3275
3327
  props: {
3276
3328
  layout: {
3277
3329
  type: Object
@@ -3291,10 +3343,10 @@ const ko = /* @__PURE__ */ oe(_l, [["render", vl], ["__scopeId", "data-v-75abecd
3291
3343
  };
3292
3344
  }
3293
3345
  });
3294
- const El = { style: { position: "relative", height: "100%", width: "100%" } };
3295
- function wl(e, t, n, o, s, a) {
3296
- return N(), C("div", El, [
3297
- (N(!0), C(ue, null, Ee(e.frameRef, ({ layout: r, id: l, row: i, col: c, w: m, h: f }, u) => (N(), C("div", {
3346
+ const Ll = { style: { position: "relative", height: "100%", width: "100%" } };
3347
+ function bl(e, t, n, o, s, a) {
3348
+ return S(), D("div", Ll, [
3349
+ (S(!0), D(ue, null, Ee(e.frameRef, ({ layout: r, id: l, row: i, col: c, w: m, h: d }, u) => (S(), D("div", {
3298
3350
  class: "play-area",
3299
3351
  key: u,
3300
3352
  style: me(`position: absolute; top: calc(${r.top}%); left: calc(${r.left}%); width: calc(${r.width}%); height: calc(${r.height}%);`)
@@ -3304,28 +3356,28 @@ function wl(e, t, n, o, s, a) {
3304
3356
  row: i,
3305
3357
  col: c,
3306
3358
  w: m,
3307
- h: f,
3359
+ h: d,
3308
3360
  index: u,
3309
3361
  areas: e.areas
3310
3362
  }, void 0, !0)
3311
3363
  ], 4))), 128))
3312
3364
  ]);
3313
3365
  }
3314
- const Ut = /* @__PURE__ */ oe(yl, [["render", wl], ["__scopeId", "data-v-e6baa31a"]]), bl = {
3366
+ const Ut = /* @__PURE__ */ oe(wl, [["render", bl], ["__scopeId", "data-v-e6baa31a"]]), Ol = {
3315
3367
  width: 1024,
3316
3368
  height: 1024,
3317
3369
  body: '<path fill="currentColor" d="M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504L738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512L828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496L285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512L195.2 285.696a64 64 0 0 1 0-90.496z"/>'
3318
3370
  };
3319
- Ce("close", bl);
3320
- const Ll = q({
3371
+ Ce("close", Ol);
3372
+ const Il = q({
3321
3373
  components: {
3322
3374
  VideoAreaLayoutShow: Ut,
3323
- Icon: ct
3375
+ Icon: ut
3324
3376
  },
3325
3377
  setup() {
3326
- const e = k(3), t = k(3), n = k(
3378
+ const e = M(3), t = M(3), n = M(
3327
3379
  []
3328
- ), o = V(() => I.genLayout(e.value, t.value, n.value)), s = k({}), a = k([]);
3380
+ ), o = V(() => N.genLayout(e.value, t.value, n.value)), s = M({}), a = M([]);
3329
3381
  return {
3330
3382
  areas: n,
3331
3383
  row: e,
@@ -3433,84 +3485,84 @@ const Ll = q({
3433
3485
  }
3434
3486
  }
3435
3487
  });
3436
- const Ol = { style: { height: "calc(100% - 80px)", width: "calc(100%)", position: "relative" } }, Il = ["onMouseenter", "onMousedown"], Tl = { style: { "font-size": "32px" } }, Nl = { style: { display: "inline-block", width: "40px", "text-align": "center" } }, Sl = { style: { display: "inline-block", width: "calc(100% - 40px)", "text-align": "right", "vertical-align": "middle" } }, Cl = ["onClick"];
3437
- function Al(e, t, n, o, s, a) {
3488
+ const Tl = { style: { height: "calc(100% - 80px)", width: "calc(100%)", position: "relative" } }, Nl = ["onMouseenter", "onMousedown"], Sl = { style: { "font-size": "32px" } }, Cl = { style: { display: "inline-block", width: "40px", "text-align": "center" } }, Dl = { style: { display: "inline-block", width: "calc(100% - 40px)", "text-align": "right", "vertical-align": "middle" } }, Al = ["onClick"];
3489
+ function Pl(e, t, n, o, s, a) {
3438
3490
  const r = _e("Icon"), l = _e("VideoAreaLayoutShow");
3439
- return N(), C("div", Ol, [
3491
+ return S(), D("div", Tl, [
3440
3492
  B(l, { layout: e.layout }, {
3441
3493
  default: te((i) => [
3442
- b("div", {
3494
+ L("div", {
3443
3495
  class: ke(e.genClass(i)),
3444
3496
  onMouseenter: (c) => e.onMouseOver(c, i),
3445
3497
  onMousedown: (c) => e.onMouseDown(i),
3446
3498
  style: { "user-select": "none" }
3447
3499
  }, [
3448
- b("div", Tl, [
3449
- b("div", Nl, z(i.index + 1), 1),
3450
- b("div", Sl, [
3451
- b("span", {
3500
+ L("div", Sl, [
3501
+ L("div", Cl, z(i.index + 1), 1),
3502
+ L("div", Dl, [
3503
+ L("span", {
3452
3504
  onClick: (c) => e.onDelLayout(i)
3453
3505
  }, [
3454
- i.w > 1 || i.h > 1 ? (N(), Fe(r, {
3506
+ i.w > 1 || i.h > 1 ? (S(), Fe(r, {
3455
3507
  key: 0,
3456
3508
  icon: "close",
3457
3509
  class: "close-btn"
3458
3510
  })) : ge("", !0)
3459
- ], 8, Cl)
3511
+ ], 8, Al)
3460
3512
  ])
3461
3513
  ])
3462
- ], 42, Il)
3514
+ ], 42, Nl)
3463
3515
  ]),
3464
3516
  _: 1
3465
3517
  }, 8, ["layout"])
3466
3518
  ]);
3467
3519
  }
3468
- const Dl = /* @__PURE__ */ oe(Ll, [["render", Al], ["__scopeId", "data-v-c3d9b21a"]]), Pl = q({
3520
+ const $l = /* @__PURE__ */ oe(Il, [["render", Pl], ["__scopeId", "data-v-c3d9b21a"]]), Ml = q({
3469
3521
  components: {
3470
- Icon: ct,
3522
+ Icon: ut,
3471
3523
  LayoutShow: ko,
3472
- CustomLayoutGen: Dl
3524
+ CustomLayoutGen: $l
3473
3525
  },
3474
3526
  setup() {
3475
3527
  return {
3476
- layout: k(
3528
+ layout: M(
3477
3529
  Se.CustomLayouts.get()
3478
3530
  ),
3479
3531
  i18nT: Ne
3480
3532
  };
3481
3533
  }
3482
3534
  });
3483
- const $l = { style: { "margin-left": "10px", "margin-top": "10px" } }, Ml = { class: "plus-custom-layout" }, kl = /* @__PURE__ */ Ct("\u6DFB\u52A0\u5E03\u5C40 "), Rl = { style: { "margin-top": "10px" } }, xl = { style: { height: "300px" } };
3484
- function Fl(e, t, n, o, s, a) {
3535
+ const kl = { style: { "margin-left": "10px", "margin-top": "10px" } }, Rl = { class: "plus-custom-layout" }, xl = /* @__PURE__ */ Ct("\u6DFB\u52A0\u5E03\u5C40 "), Fl = { style: { "margin-top": "10px" } }, Vl = { style: { height: "300px" } };
3536
+ function Ul(e, t, n, o, s, a) {
3485
3537
  const r = _e("Icon"), l = _e("CustomLayoutGen");
3486
- return N(), C("div", $l, [
3487
- b("span", null, [
3538
+ return S(), D("div", kl, [
3539
+ L("span", null, [
3488
3540
  Ct(z(e.i18nT("zi-ding-yi-bu-ju")) + "\uFF1A ", 1),
3489
- b("span", Ml, [
3541
+ L("span", Rl, [
3490
3542
  B(r, {
3491
3543
  icon: "plus",
3492
3544
  style: { "vertical-align": "text-top" }
3493
3545
  }),
3494
- kl
3546
+ xl
3495
3547
  ])
3496
3548
  ]),
3497
- b("div", Rl, [
3498
- b("div", xl, [
3549
+ L("div", Fl, [
3550
+ L("div", Vl, [
3499
3551
  B(l)
3500
3552
  ])
3501
3553
  ])
3502
3554
  ]);
3503
3555
  }
3504
- const Vl = /* @__PURE__ */ oe(Pl, [["render", Fl], ["__scopeId", "data-v-f8b51862"]]), Ul = q({
3556
+ const Gl = /* @__PURE__ */ oe(Ml, [["render", Ul], ["__scopeId", "data-v-f8b51862"]]), zl = q({
3505
3557
  emits: {
3506
3558
  LayoutChange(e, t, n) {
3507
3559
  return !0;
3508
3560
  }
3509
3561
  },
3510
3562
  components: {
3511
- UseCustomLayoutSelector: Vl,
3563
+ UseCustomLayoutSelector: Gl,
3512
3564
  LayoutShow: ko,
3513
- Icon: ct
3565
+ Icon: ut
3514
3566
  },
3515
3567
  props: {
3516
3568
  layouts: {
@@ -3520,25 +3572,25 @@ const Vl = /* @__PURE__ */ oe(Pl, [["render", Fl], ["__scopeId", "data-v-f8b5186
3520
3572
  setup(e, t) {
3521
3573
  const n = e.layouts, o = we(
3522
3574
  n && n.length > 0 ? n : [
3523
- I.Test.genLayout(1, 1),
3524
- I.Test.genLayout(1, 2),
3525
- I.Test.genLayout(2, 2),
3526
- I.Test.genLayout(2, 3),
3527
- I.genLayout(3, 3, [
3575
+ N.Test.genLayout(1, 1),
3576
+ N.Test.genLayout(1, 2),
3577
+ N.Test.genLayout(2, 2),
3578
+ N.Test.genLayout(2, 3),
3579
+ N.genLayout(3, 3, [
3528
3580
  [0, 0, 2, 2],
3529
3581
  [2, 0, 3, 2]
3530
3582
  ]),
3531
- I.Test.genLayout(3, 3, [0, 0, 2, 2]),
3532
- I.Test.genLayout(3, 3, [1, 0, 2, 3]),
3533
- I.Test.genLayout(4, 4, [0, 0, 3, 3]),
3534
- I.Test.genLayout(3, 3),
3535
- I.Test.genLayout(5, 5, [0, 0, 4, 4]),
3536
- I.Test.genLayout(6, 6, [0, 0, 5, 5]),
3537
- I.Test.genLayout(4, 4, [1, 1, 3, 3]),
3538
- I.Test.genLayout(4, 4),
3539
- I.Test.genLayout(5, 5),
3540
- I.Test.genLayout(6, 6),
3541
- I.genLayout(8, 8, [
3583
+ N.Test.genLayout(3, 3, [0, 0, 2, 2]),
3584
+ N.Test.genLayout(3, 3, [1, 0, 2, 3]),
3585
+ N.Test.genLayout(4, 4, [0, 0, 3, 3]),
3586
+ N.Test.genLayout(3, 3),
3587
+ N.Test.genLayout(5, 5, [0, 0, 4, 4]),
3588
+ N.Test.genLayout(6, 6, [0, 0, 5, 5]),
3589
+ N.Test.genLayout(4, 4, [1, 1, 3, 3]),
3590
+ N.Test.genLayout(4, 4),
3591
+ N.Test.genLayout(5, 5),
3592
+ N.Test.genLayout(6, 6),
3593
+ N.genLayout(8, 8, [
3542
3594
  [0, 0, 3, 3],
3543
3595
  [3, 0, 5, 2],
3544
3596
  [5, 0, 7, 2]
@@ -3549,83 +3601,83 @@ const Vl = /* @__PURE__ */ oe(Pl, [["render", Fl], ["__scopeId", "data-v-f8b5186
3549
3601
  () => e.layouts,
3550
3602
  () => {
3551
3603
  if (e.layouts && e.layouts.length > 0) {
3552
- const p = e.layouts;
3553
- o.splice(0, o.length, ...p);
3604
+ const f = e.layouts;
3605
+ o.splice(0, o.length, ...f);
3554
3606
  }
3555
3607
  },
3556
3608
  {
3557
3609
  deep: !0
3558
3610
  }
3559
3611
  );
3560
- const s = k();
3612
+ const s = M();
3561
3613
  let a = Se.StorageDefaultLayout.get();
3562
3614
  function r() {
3563
3615
  return a ? o.findIndex(
3564
- (p) => JSON.stringify(p) == JSON.stringify(a)
3616
+ (f) => JSON.stringify(f) == JSON.stringify(a)
3565
3617
  ) >= 0 : !1;
3566
3618
  }
3567
3619
  const l = r() ? a : o[2];
3568
- function i(p, w) {
3620
+ function i(f, g) {
3569
3621
  return t.emit(
3570
3622
  "LayoutChange",
3571
- JSON.stringify(p.layout),
3572
- p,
3623
+ JSON.stringify(f.layout),
3624
+ f,
3573
3625
  () => {
3574
- u.value && d();
3626
+ u.value && p();
3575
3627
  }
3576
- ), p.cancel || (f.value = w), !p.cancel;
3628
+ ), f.cancel || (d.value = g), !f.cancel;
3577
3629
  }
3578
3630
  let c = !0;
3579
- const m = function(p, w) {
3580
- JSON.stringify(a) != JSON.stringify(p) && i(p, w) && c && (a = p.layout, Se.StorageDefaultLayout.set(p.layout)), f.value.length == 0 && i(p, w);
3581
- }, f = k(""), u = k(!1), d = () => {
3582
- u.value = !u.value, u.value ? window.addEventListener("click", g) : window.removeEventListener("click", g);
3583
- }, g = (p) => {
3584
- u.value && p.composedPath().findIndex(({ className: S }) => S == "layout-switcher") < 0 && (u.value = !1, window.removeEventListener("click", g));
3631
+ const m = function(f, g) {
3632
+ JSON.stringify(a) != JSON.stringify(f) && i(f, g) && c && (a = f.layout, Se.StorageDefaultLayout.set(f.layout)), d.value.length == 0 && i(f, g);
3633
+ }, d = M(""), u = M(!1), p = () => {
3634
+ u.value = !u.value, u.value ? window.addEventListener("click", y) : window.removeEventListener("click", y);
3635
+ }, y = (f) => {
3636
+ u.value && f.composedPath().findIndex(({ className: T }) => T == "layout-switcher") < 0 && (u.value = !1, window.removeEventListener("click", y));
3585
3637
  };
3586
3638
  return {
3587
3639
  i18nT: Ne,
3588
- selectClassicalLayout: (p, w, S) => {
3589
- var T;
3590
- S || (c = !1);
3591
- const E = o.find((P) => P.row == p && P.col == w && typeof P.area > "u" && typeof P.areas > "u");
3592
- E && ((T = s.value) == null || T.SelectLayoutById(JSON.stringify(E))), S = !0;
3640
+ selectClassicalLayout: (f, g, T) => {
3641
+ var O;
3642
+ T || (c = !1);
3643
+ const v = o.find((A) => A.row == f && A.col == g && typeof A.area > "u" && typeof A.areas > "u");
3644
+ v && ((O = s.value) == null || O.SelectLayoutById(JSON.stringify(v))), T = !0;
3593
3645
  },
3594
- selectLoyoutById: (p, w) => {
3595
- var S;
3596
- w || (c = !1), (S = s.value) == null || S.SelectLayoutById(p), w = !0;
3646
+ selectLoyoutById: (f, g) => {
3647
+ var T;
3648
+ g || (c = !1), (T = s.value) == null || T.SelectLayoutById(f), g = !0;
3597
3649
  },
3598
3650
  refLayoutShow: s,
3599
- clickShowSelectPanel: d,
3651
+ clickShowSelectPanel: p,
3600
3652
  showSelectPanel: u,
3601
3653
  onselect: m,
3602
- svgSelect: f,
3654
+ svgSelect: d,
3603
3655
  layout: o,
3604
3656
  defaultLayout: l
3605
3657
  };
3606
3658
  },
3607
3659
  expose: ["selectLoyoutById", "selectClassicalLayout"]
3608
3660
  });
3609
- const Gl = { class: "layout-switcher" }, zl = ["innerHTML"], Hl = { class: "switch-panel" }, jl = { style: { "margin-left": "10px" } }, Wl = { style: { "margin-left": "10px", padding: "10px" } }, Bl = { style: { "margin-left": "10px" } };
3610
- function Kl(e, t, n, o, s, a) {
3661
+ const Hl = { class: "layout-switcher" }, jl = ["innerHTML"], Wl = { class: "switch-panel" }, Bl = { style: { "margin-left": "10px" } }, Kl = { style: { "margin-left": "10px", padding: "10px" } }, Yl = { style: { "margin-left": "10px" } };
3662
+ function Xl(e, t, n, o, s, a) {
3611
3663
  const r = _e("LayoutShow");
3612
- return N(), C("div", Gl, [
3613
- b("div", {
3664
+ return S(), D("div", Hl, [
3665
+ L("div", {
3614
3666
  onClick: t[0] || (t[0] = (...l) => e.clickShowSelectPanel && e.clickShowSelectPanel(...l)),
3615
3667
  class: "switch-switcher"
3616
3668
  }, [
3617
- b("div", {
3669
+ L("div", {
3618
3670
  innerHTML: e.svgSelect,
3619
3671
  style: { height: "32px", display: "inline-block", "vertical-align": "middle", width: "32px" }
3620
- }, null, 8, zl)
3672
+ }, null, 8, jl)
3621
3673
  ]),
3622
- Gn(b("div", Hl, [
3623
- b("div", jl, [
3624
- b("span", null, z(e.i18nT("qing-xuan-ze-bu-ju-yang-shi")), 1)
3674
+ Gn(L("div", Wl, [
3675
+ L("div", Bl, [
3676
+ L("span", null, z(e.i18nT("qing-xuan-ze-bu-ju-yang-shi")), 1)
3625
3677
  ]),
3626
- b("div", Wl, [
3627
- b("div", Bl, [
3628
- b("span", null, z(e.i18nT("biao-zhun-bu-ju")) + "\uFF1A", 1),
3678
+ L("div", Kl, [
3679
+ L("div", Yl, [
3680
+ L("span", null, z(e.i18nT("biao-zhun-bu-ju")) + "\uFF1A", 1),
3629
3681
  B(r, {
3630
3682
  ref: "refLayoutShow",
3631
3683
  layouts: e.layout,
@@ -3639,10 +3691,10 @@ function Kl(e, t, n, o, s, a) {
3639
3691
  ])
3640
3692
  ]);
3641
3693
  }
3642
- const Yl = /* @__PURE__ */ oe(Ul, [["render", Kl], ["__scopeId", "data-v-1b358304"]]), Xl = {
3694
+ const Jl = /* @__PURE__ */ oe(zl, [["render", Xl], ["__scopeId", "data-v-1b358304"]]), Ql = {
3643
3695
  key: 0,
3644
3696
  class: "layout-display"
3645
- }, Jl = ["innerHTML"], Ql = { style: { display: "inline-block", height: "32px", width: "32px", "line-height": "32px", "vertical-align": "top" } }, ql = /* @__PURE__ */ q({
3697
+ }, ql = ["innerHTML"], Zl = { style: { display: "inline-block", height: "32px", width: "32px", "line-height": "32px", "vertical-align": "top" } }, ei = /* @__PURE__ */ q({
3646
3698
  __name: "layoutDisplay",
3647
3699
  props: {
3648
3700
  layout: {
@@ -3669,50 +3721,50 @@ const Yl = /* @__PURE__ */ oe(Ul, [["render", Kl], ["__scopeId", "data-v-1b35830
3669
3721
  });
3670
3722
  return (s, a) => {
3671
3723
  var r;
3672
- return ae(o) ? (N(), C("div", Xl, [
3673
- b("span", {
3724
+ return ae(o) ? (S(), D("div", Ql, [
3725
+ L("span", {
3674
3726
  innerHTML: (r = ae(o)) == null ? void 0 : r.svg,
3675
3727
  style: { display: "inline-block", height: "32px", width: "32px", "line-height": "32px", "background-color": "rgb(201, 201, 201)" }
3676
- }, null, 8, Jl),
3677
- b("span", Ql, z(n(ae(o).frams.length)), 1)
3728
+ }, null, 8, ql),
3729
+ L("span", Zl, z(n(ae(o).frams.length)), 1)
3678
3730
  ])) : ge("", !0);
3679
3731
  };
3680
3732
  }
3681
3733
  });
3682
- const Ro = /* @__PURE__ */ oe(ql, [["__scopeId", "data-v-0cfd31aa"]]);
3683
- var Zl = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, Mn = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, kn = (e, t, n) => t in e ? Zl(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, si = (e, t) => {
3734
+ const Ro = /* @__PURE__ */ oe(ei, [["__scopeId", "data-v-0cfd31aa"]]);
3735
+ var ti = Object.defineProperty, ni = Object.defineProperties, oi = Object.getOwnPropertyDescriptors, Mn = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, ri = Object.prototype.propertyIsEnumerable, kn = (e, t, n) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ai = (e, t) => {
3684
3736
  for (var n in t || (t = {}))
3685
- ni.call(t, n) && kn(e, n, t[n]);
3737
+ si.call(t, n) && kn(e, n, t[n]);
3686
3738
  if (Mn)
3687
3739
  for (var n of Mn(t))
3688
- oi.call(t, n) && kn(e, n, t[n]);
3740
+ ri.call(t, n) && kn(e, n, t[n]);
3689
3741
  return e;
3690
- }, ri = (e, t) => ei(e, ti(t));
3742
+ }, li = (e, t) => ni(e, oi(t));
3691
3743
  const qe = [
3692
- I.Test.genLayout(1, 1),
3693
- I.Test.genLayout(1, 2),
3694
- I.Test.genLayout(2, 2),
3695
- I.Test.genLayout(2, 3),
3696
- I.genLayout(3, 3, [
3744
+ N.Test.genLayout(1, 1),
3745
+ N.Test.genLayout(1, 2),
3746
+ N.Test.genLayout(2, 2),
3747
+ N.Test.genLayout(2, 3),
3748
+ N.genLayout(3, 3, [
3697
3749
  [0, 0, 2, 2],
3698
3750
  [2, 0, 3, 2]
3699
3751
  ]),
3700
- I.Test.genLayout(3, 3, [0, 0, 2, 2]),
3701
- I.Test.genLayout(3, 3, [1, 0, 2, 3]),
3702
- I.Test.genLayout(4, 4, [0, 0, 3, 3]),
3703
- I.Test.genLayout(3, 3),
3704
- I.Test.genLayout(5, 5, [0, 0, 4, 4]),
3705
- I.Test.genLayout(6, 6, [0, 0, 5, 5]),
3706
- I.Test.genLayout(4, 4, [1, 1, 3, 3]),
3707
- I.Test.genLayout(4, 4),
3708
- I.Test.genLayout(5, 5),
3709
- I.Test.genLayout(6, 6),
3710
- I.genLayout(8, 8, [
3752
+ N.Test.genLayout(3, 3, [0, 0, 2, 2]),
3753
+ N.Test.genLayout(3, 3, [1, 0, 2, 3]),
3754
+ N.Test.genLayout(4, 4, [0, 0, 3, 3]),
3755
+ N.Test.genLayout(3, 3),
3756
+ N.Test.genLayout(5, 5, [0, 0, 4, 4]),
3757
+ N.Test.genLayout(6, 6, [0, 0, 5, 5]),
3758
+ N.Test.genLayout(4, 4, [1, 1, 3, 3]),
3759
+ N.Test.genLayout(4, 4),
3760
+ N.Test.genLayout(5, 5),
3761
+ N.Test.genLayout(6, 6),
3762
+ N.genLayout(8, 8, [
3711
3763
  [0, 0, 3, 3],
3712
3764
  [3, 0, 5, 2],
3713
3765
  [5, 0, 7, 2]
3714
3766
  ])
3715
- ], ai = /* @__PURE__ */ q({
3767
+ ], ii = /* @__PURE__ */ q({
3716
3768
  __name: "preLayout",
3717
3769
  props: {
3718
3770
  zIndexModal: {
@@ -3720,81 +3772,81 @@ const qe = [
3720
3772
  }
3721
3773
  },
3722
3774
  setup(e) {
3723
- const t = e, n = k(!1), o = we({
3775
+ const t = e, n = M(!1), o = we({
3724
3776
  top: "",
3725
3777
  left: ""
3726
3778
  });
3727
3779
  xe(() => {
3728
3780
  });
3729
3781
  let s;
3730
- function a(f) {
3731
- s == null || s(f);
3782
+ function a(d) {
3783
+ s == null || s(d);
3732
3784
  }
3733
3785
  function r() {
3734
3786
  n.value = !1, window.document.removeEventListener("click", r);
3735
3787
  }
3736
- function l(f, u) {
3737
- window.document.removeEventListener("click", r), s = u, n.value = !0, o.left = `${f.x}px`, o.top = `${f.y}px`, setTimeout(() => {
3788
+ function l(d, u) {
3789
+ window.document.removeEventListener("click", r), s = u, n.value = !0, o.left = `${d.x}px`, o.top = `${d.y}px`, setTimeout(() => {
3738
3790
  window.document.addEventListener("click", r);
3739
3791
  }, 50);
3740
3792
  }
3741
3793
  const i = we([
3742
- I.Test.genLayout(1, 1),
3743
- I.Test.genLayout(1, 2),
3744
- I.Test.genLayout(2, 2),
3745
- I.Test.genLayout(2, 3),
3746
- I.genLayout(3, 3, [
3794
+ N.Test.genLayout(1, 1),
3795
+ N.Test.genLayout(1, 2),
3796
+ N.Test.genLayout(2, 2),
3797
+ N.Test.genLayout(2, 3),
3798
+ N.genLayout(3, 3, [
3747
3799
  [0, 0, 2, 2],
3748
3800
  [2, 0, 3, 2]
3749
3801
  ]),
3750
- I.Test.genLayout(3, 3, [0, 0, 2, 2]),
3751
- I.Test.genLayout(3, 3, [1, 0, 2, 3]),
3752
- I.Test.genLayout(4, 4, [0, 0, 3, 3]),
3753
- I.Test.genLayout(3, 3),
3754
- I.Test.genLayout(5, 5, [0, 0, 4, 4]),
3755
- I.Test.genLayout(6, 6, [0, 0, 5, 5]),
3756
- I.Test.genLayout(4, 4, [1, 1, 3, 3]),
3757
- I.Test.genLayout(4, 4),
3758
- I.Test.genLayout(5, 5),
3759
- I.Test.genLayout(6, 6),
3760
- I.genLayout(8, 8, [
3802
+ N.Test.genLayout(3, 3, [0, 0, 2, 2]),
3803
+ N.Test.genLayout(3, 3, [1, 0, 2, 3]),
3804
+ N.Test.genLayout(4, 4, [0, 0, 3, 3]),
3805
+ N.Test.genLayout(3, 3),
3806
+ N.Test.genLayout(5, 5, [0, 0, 4, 4]),
3807
+ N.Test.genLayout(6, 6, [0, 0, 5, 5]),
3808
+ N.Test.genLayout(4, 4, [1, 1, 3, 3]),
3809
+ N.Test.genLayout(4, 4),
3810
+ N.Test.genLayout(5, 5),
3811
+ N.Test.genLayout(6, 6),
3812
+ N.genLayout(8, 8, [
3761
3813
  [0, 0, 3, 3],
3762
3814
  [3, 0, 5, 2],
3763
3815
  [5, 0, 7, 2]
3764
3816
  ])
3765
- ]), c = V(() => i.map((f) => ({
3766
- layout: f
3817
+ ]), c = V(() => i.map((d) => ({
3818
+ layout: d
3767
3819
  }))), m = document.body;
3768
- return st(() => {
3820
+ return rt(() => {
3769
3821
  window.document.removeEventListener("click", r);
3770
- }), (f, u) => (N(), C(ue, null, [
3771
- (N(), Fe(Hn, { to: ae(m) }, [
3772
- n.value ? (N(), C("div", {
3822
+ }), (d, u) => (S(), D(ue, null, [
3823
+ (S(), Fe(Hn, { to: ae(m) }, [
3824
+ n.value ? (S(), D("div", {
3773
3825
  key: 0,
3774
- style: me([{ width: "330px", position: "absolute", "background-color": "white", "padding-left": "25px", border: "1px solid", "padding-top": "20px", "padding-bottom": "20px", "border-radius": "5px" }, ri(si({}, o), { zIndex: t.zIndexModal })]),
3775
- onClick: u[0] || (u[0] = (d) => d.stopPropagation())
3826
+ style: me([{ width: "330px", position: "absolute", "background-color": "white", "padding-left": "25px", border: "1px solid", "padding-top": "20px", "padding-bottom": "20px", "border-radius": "5px" }, li(ai({}, o), { zIndex: t.zIndexModal })]),
3827
+ onClick: u[0] || (u[0] = (p) => p.stopPropagation())
3776
3828
  }, [
3777
- (N(!0), C(ue, null, Ee(ae(c), (d, g) => (N(), C("span", {
3778
- key: g,
3829
+ (S(!0), D(ue, null, Ee(ae(c), (p, y) => (S(), D("span", {
3830
+ key: y,
3779
3831
  class: "layout-panel-item-container",
3780
3832
  style: { border: "1px solid" }
3781
3833
  }, [
3782
3834
  B(Ro, {
3783
- layout: d.layout,
3784
- onClick: (v) => a(d.layout)
3835
+ layout: p.layout,
3836
+ onClick: (E) => a(p.layout)
3785
3837
  }, null, 8, ["layout", "onClick"])
3786
3838
  ]))), 128))
3787
3839
  ], 4)) : ge("", !0)
3788
3840
  ], 8, ["to"])),
3789
- Y(f.$slots, "default", { addPreSetLayout: l }, void 0, !0)
3841
+ Y(d.$slots, "default", { addPreSetLayout: l }, void 0, !0)
3790
3842
  ], 64));
3791
3843
  }
3792
3844
  });
3793
- const li = /* @__PURE__ */ oe(ai, [["__scopeId", "data-v-954fc7ec"]]), ii = {
3845
+ const ci = /* @__PURE__ */ oe(ii, [["__scopeId", "data-v-954fc7ec"]]), ui = {
3794
3846
  key: 0,
3795
3847
  style: { position: "relative" },
3796
3848
  class: "layout-container"
3797
- }, ci = { key: 1 }, ui = /* @__PURE__ */ q({
3849
+ }, di = { key: 1 }, fi = /* @__PURE__ */ q({
3798
3850
  __name: "layoutSelector",
3799
3851
  props: {
3800
3852
  row: {
@@ -3820,24 +3872,24 @@ const li = /* @__PURE__ */ oe(ai, [["__scopeId", "data-v-954fc7ec"]]), ii = {
3820
3872
  },
3821
3873
  setup(e, { expose: t, emit: n }) {
3822
3874
  const o = e, s = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="white" fill-rule="evenodd" d="m6.774 6.4l.812 13.648a.8.8 0 0 0 .798.752h7.232a.8.8 0 0 0 .798-.752L17.226 6.4zm11.655 0l-.817 13.719A2 2 0 0 1 15.616 22H8.384a2 2 0 0 1-1.996-1.881L5.571 6.4H3.5v-.7a.5.5 0 0 1 .5-.5h16a.5.5 0 0 1 .5.5v.7zM14 3a.5.5 0 0 1 .5.5v.7h-5v-.7A.5.5 0 0 1 10 3zM9.5 9h1.2l.5 9H10zm3.8 0h1.2l-.5 9h-1.2z"/></svg>';
3823
- function a(f) {
3824
- l.value = f;
3875
+ function a(d) {
3876
+ l.value = d;
3825
3877
  }
3826
- function r(f) {
3827
- n("addCustom", f, a);
3878
+ function r(d) {
3879
+ n("addCustom", d, a);
3828
3880
  }
3829
- const l = k();
3830
- function i(f) {
3831
- l.value = f;
3881
+ const l = M();
3882
+ function i(d) {
3883
+ l.value = d;
3832
3884
  }
3833
3885
  function c() {
3834
3886
  l.value = void 0;
3835
3887
  }
3836
- function m(f) {
3837
- n("addPreset", f, i, { row: o.row, col: o.col });
3888
+ function m(d) {
3889
+ n("addPreset", d, i, { row: o.row, col: o.col });
3838
3890
  }
3839
3891
  return xe(() => {
3840
- o.layout ? o.layout == I.zeroLayout ? l.value = void 0 : l.value = o.layout : typeof o.index == "number" && o.index < qe.length && (l.value = qe[o.index]);
3892
+ o.layout ? o.layout == N.zeroLayout ? l.value = void 0 : l.value = o.layout : typeof o.index == "number" && o.index < qe.length && (l.value = qe[o.index]);
3841
3893
  }), Ie(
3842
3894
  () => o.index,
3843
3895
  () => {
@@ -3854,34 +3906,34 @@ const li = /* @__PURE__ */ oe(ai, [["__scopeId", "data-v-954fc7ec"]]), ii = {
3854
3906
  }
3855
3907
  };
3856
3908
  }
3857
- }), (f, u) => l.value ? (N(), C("div", ii, [
3909
+ }), (d, u) => l.value ? (S(), D("div", ui, [
3858
3910
  B(Ro, { layout: l.value }, null, 8, ["layout"]),
3859
- b("div", {
3911
+ L("div", {
3860
3912
  class: "close-btn",
3861
- onClick: u[0] || (u[0] = (d) => c())
3913
+ onClick: u[0] || (u[0] = (p) => c())
3862
3914
  }, [
3863
- b("span", {
3915
+ L("span", {
3864
3916
  innerHTML: s,
3865
3917
  class: "close-svg"
3866
3918
  })
3867
3919
  ])
3868
- ])) : (N(), C("div", ci, [
3869
- b("div", null, [
3870
- b("div", {
3920
+ ])) : (S(), D("div", di, [
3921
+ L("div", null, [
3922
+ L("div", {
3871
3923
  class: "options",
3872
3924
  style: { "margin-bottom": "1px", "line-height": "18px", height: "18px" },
3873
- onClick: u[1] || (u[1] = (d) => m(d))
3925
+ onClick: u[1] || (u[1] = (p) => m(p))
3874
3926
  }, z(ae(Ne)("yu-she")), 1),
3875
- b("div", {
3927
+ L("div", {
3876
3928
  class: "options",
3877
- onClick: u[2] || (u[2] = (d) => r(d)),
3929
+ onClick: u[2] || (u[2] = (p) => r(p)),
3878
3930
  style: { "line-height": "19px", height: "19px" }
3879
3931
  }, z(ae(Ne)("zi-ding-yi")), 1)
3880
3932
  ])
3881
3933
  ]));
3882
3934
  }
3883
3935
  });
3884
- const di = /* @__PURE__ */ oe(ui, [["__scopeId", "data-v-d1d54937"]]), fi = { style: { height: "100%", width: "100%", "min-width": "522px", position: "relative", padding: "5px", border: "1px solid", "border-radius": "5px", "background-color": "white" } }, _i = { style: { height: "40px" } }, mi = { style: { display: "inline-block", width: "180px", "margin-left": "30px" } }, pi = { style: { display: "inline-block", width: "40px" } }, gi = { style: { display: "inline-block", width: "20px" } }, hi = { style: { display: "inline-block", width: "180px" } }, vi = { style: { display: "inline-block", width: "40px" } }, yi = { style: { display: "inline-block", width: "20px" } }, Ei = { style: { height: "calc(100% - 60px)", width: "calc(100% - 60px)", "margin-left": "30px", position: "relative" } }, wi = ["onMousemove", "onMousedown"], bi = { style: { "text-align": "center", color: "white", "font-size": "48px", "margin-left": "20px", "margin-top": "20px" } }, Li = ["onClick"], Oi = /* @__PURE__ */ q({
3936
+ const _i = /* @__PURE__ */ oe(fi, [["__scopeId", "data-v-d1d54937"]]), mi = { style: { height: "100%", width: "100%", "min-width": "522px", position: "relative", padding: "5px", border: "1px solid", "border-radius": "5px", "background-color": "white" } }, pi = { style: { height: "40px" } }, gi = { style: { display: "inline-block", width: "180px", "margin-left": "30px" } }, hi = { style: { display: "inline-block", width: "40px" } }, vi = { style: { display: "inline-block", width: "20px" } }, yi = { style: { display: "inline-block", width: "180px" } }, Ei = { style: { display: "inline-block", width: "40px" } }, wi = { style: { display: "inline-block", width: "20px" } }, Li = { style: { height: "calc(100% - 60px)", width: "calc(100% - 60px)", "margin-left": "30px", position: "relative" } }, bi = ["onMousemove", "onMousedown"], Oi = { style: { "text-align": "center", color: "white", "font-size": "48px", "margin-left": "20px", "margin-top": "20px" } }, Ii = ["onClick"], Ti = /* @__PURE__ */ q({
3885
3937
  __name: "index",
3886
3938
  props: {
3887
3939
  row: {
@@ -3903,214 +3955,214 @@ const di = /* @__PURE__ */ oe(ui, [["__scopeId", "data-v-d1d54937"]]), fi = { st
3903
3955
  },
3904
3956
  setup(e, { expose: t, emit: n }) {
3905
3957
  const o = e, s = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="black" d="M24 2.4L21.6 0L12 9.6L2.4 0L0 2.4L9.6 12L0 21.6L2.4 24l9.6-9.6l9.6 9.6l2.4-2.4l-9.6-9.6z"/></svg>', a = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 1200 1200"><path fill="#539d65" d="m1004.237 99.152l-611.44 611.441l-198.305-198.305L0 706.779l198.305 198.306l195.762 195.763L588.56 906.355L1200 294.916z"/></svg>';
3906
- function r(O) {
3907
- g.splice(O, 1), $();
3958
+ function r(I) {
3959
+ y.splice(I, 1), $();
3908
3960
  }
3909
3961
  function l() {
3910
3962
  n("ApplyLayoutCustom", J());
3911
3963
  }
3912
3964
  function i() {
3913
- var O;
3914
- o.row && ((O = o.updataLayoutInfo) == null || O.call(o, o.row + 1, o.col));
3965
+ var I;
3966
+ o.row && ((I = o.updataLayoutInfo) == null || I.call(o, o.row + 1, o.col));
3915
3967
  }
3916
3968
  function c() {
3917
- var O;
3918
- o.row > 2 && d.value.row < o.row && ((O = o.updataLayoutInfo) == null || O.call(o, o.row - 1, o.col));
3969
+ var I;
3970
+ o.row > 2 && p.value.row < o.row && ((I = o.updataLayoutInfo) == null || I.call(o, o.row - 1, o.col));
3919
3971
  }
3920
3972
  function m() {
3921
- var O;
3922
- o.col && ((O = o.updataLayoutInfo) == null || O.call(o, o.row, o.col + 1));
3973
+ var I;
3974
+ o.col && ((I = o.updataLayoutInfo) == null || I.call(o, o.row, o.col + 1));
3923
3975
  }
3924
- function f() {
3925
- var O;
3926
- o.col > 2 && d.value.col < o.col && ((O = o.updataLayoutInfo) == null || O.call(o, o.row, o.col - 1));
3976
+ function d() {
3977
+ var I;
3978
+ o.col > 2 && p.value.col < o.col && ((I = o.updataLayoutInfo) == null || I.call(o, o.row, o.col - 1));
3927
3979
  }
3928
- const u = V(() => I.genLayout(o.row, o.col)), d = V(() => ({
3929
- col: Math.max(...g.map((O) => O.area.colsMax)),
3930
- row: Math.max(...g.map((O) => O.area.rowsMax))
3931
- })), g = we(new Array()), v = ["green", "red", "blue"];
3932
- function y() {
3933
- return v[g.length % v.length];
3980
+ const u = V(() => N.genLayout(o.row, o.col)), p = V(() => ({
3981
+ col: Math.max(...y.map((I) => I.area.colsMax)),
3982
+ row: Math.max(...y.map((I) => I.area.rowsMax))
3983
+ })), y = we(new Array()), E = ["green", "red", "blue"];
3984
+ function w() {
3985
+ return E[y.length % E.length];
3934
3986
  }
3935
- const p = 0.125, w = V(() => {
3936
- if (D.first && D.last) {
3937
- const O = {
3938
- colsMin: Math.min(D.first.colsMin, D.last.colsMin),
3939
- colsMax: Math.max(D.first.colsMax, D.last.colsMax),
3940
- rowsMin: Math.min(D.first.rowsMin, D.last.rowsMin),
3941
- rowsMax: Math.max(D.first.rowsMax, D.last.rowsMax)
3942
- }, A = y();
3987
+ const f = 0.125, g = V(() => {
3988
+ if (C.first && C.last) {
3989
+ const I = {
3990
+ colsMin: Math.min(C.first.colsMin, C.last.colsMin),
3991
+ colsMax: Math.max(C.first.colsMax, C.last.colsMax),
3992
+ rowsMin: Math.min(C.first.rowsMin, C.last.rowsMin),
3993
+ rowsMax: Math.max(C.first.rowsMax, C.last.rowsMax)
3994
+ }, P = w();
3943
3995
  return {
3944
3996
  infoGetter() {
3945
- const U = (O.colsMax - O.colsMin) / u.value.col * 100, Le = (O.rowsMax - O.rowsMin) / u.value.row * 100, de = U / 100 * u.value.col, Ue = Le / 100 * u.value.row;
3997
+ const U = (I.colsMax - I.colsMin) / u.value.col * 100, be = (I.rowsMax - I.rowsMin) / u.value.row * 100, de = U / 100 * u.value.col, Ue = be / 100 * u.value.row;
3946
3998
  return {
3947
3999
  style: {
3948
- left: `calc(${(O.colsMin + p) / u.value.col * 100}%)`,
3949
- top: `calc(${(O.rowsMin + p) / u.value.row * 100}% `,
3950
- width: `calc(${U - p * 2 / u.value.col * 100}% )`,
3951
- height: `calc(${Le - p * 2 / u.value.row * 100}%)`,
3952
- backgroundColor: A
4000
+ left: `calc(${(I.colsMin + f) / u.value.col * 100}%)`,
4001
+ top: `calc(${(I.rowsMin + f) / u.value.row * 100}% `,
4002
+ width: `calc(${U - f * 2 / u.value.col * 100}% )`,
4003
+ height: `calc(${be - f * 2 / u.value.row * 100}%)`,
4004
+ backgroundColor: P
3953
4005
  },
3954
4006
  areaCount: de * Ue
3955
4007
  };
3956
4008
  },
3957
- area: O
4009
+ area: I
3958
4010
  };
3959
4011
  }
3960
4012
  });
3961
- function S(O) {
3962
- const [A, R] = [O.colsMin, O.colsMax], [U, Le] = [O.rowsMin, O.rowsMax], de = [];
3963
- return Array.from({ length: R - A }).map((Ue, Ye) => {
3964
- const ut = `${Ye + A}-${Ye + A + 1}`;
3965
- Array.from({ length: Le - U }).map((Gt, Xe) => {
4013
+ function T(I) {
4014
+ const [P, R] = [I.colsMin, I.colsMax], [U, be] = [I.rowsMin, I.rowsMax], de = [];
4015
+ return Array.from({ length: R - P }).map((Ue, Ye) => {
4016
+ const dt = `${Ye + P}-${Ye + P + 1}`;
4017
+ Array.from({ length: be - U }).map((Gt, Xe) => {
3966
4018
  const zt = `${Xe + U}-${Xe + U + 1}`;
3967
- de.push(`${ut}|${zt}`);
4019
+ de.push(`${dt}|${zt}`);
3968
4020
  });
3969
4021
  }), de;
3970
4022
  }
3971
- function T(O, A) {
3972
- return S(O).findIndex((R) => S(A).findIndex((U) => R == U) >= 0) >= 0;
4023
+ function O(I, P) {
4024
+ return T(I).findIndex((R) => T(P).findIndex((U) => R == U) >= 0) >= 0;
3973
4025
  }
3974
- function E(O, A) {
4026
+ function v(I, P) {
3975
4027
  const R = {
3976
- colsMin: Math.min(O.colsMin, A.colsMin),
3977
- colsMax: Math.max(O.colsMax, A.colsMax),
3978
- rowsMin: Math.min(O.rowsMin, A.rowsMin),
3979
- rowsMax: Math.max(O.rowsMax, A.rowsMax)
4028
+ colsMin: Math.min(I.colsMin, P.colsMin),
4029
+ colsMax: Math.max(I.colsMax, P.colsMax),
4030
+ rowsMin: Math.min(I.rowsMin, P.rowsMin),
4031
+ rowsMax: Math.max(I.rowsMax, P.rowsMax)
3980
4032
  };
3981
- return g.findIndex((U) => T(R, U.area)) >= 0;
4033
+ return y.findIndex((U) => O(R, U.area)) >= 0;
3982
4034
  }
3983
- function P(O) {
3984
- const A = {
3985
- colsMin: O.col,
3986
- colsMax: O.col + O.w,
3987
- rowsMin: O.row,
3988
- rowsMax: O.row + O.h
4035
+ function A(I) {
4036
+ const P = {
4037
+ colsMin: I.col,
4038
+ colsMax: I.col + I.w,
4039
+ rowsMin: I.row,
4040
+ rowsMax: I.row + I.h
3989
4041
  };
3990
- !D.first && E(A, A) || (D.first || (D.first = A), !E(D.first, A) && (D.last && Object.keys(A).findIndex(
4042
+ !C.first && v(P, P) || (C.first || (C.first = P), !v(C.first, P) && (C.last && Object.keys(P).findIndex(
3991
4043
  (R) => {
3992
4044
  var U;
3993
- return ((U = D.last) == null ? void 0 : U[R]) != A[R];
4045
+ return ((U = C.last) == null ? void 0 : U[R]) != P[R];
3994
4046
  }
3995
- ) < 0 || (D.last = A)));
4047
+ ) < 0 || (C.last = P)));
3996
4048
  }
3997
4049
  function $() {
3998
- D.first = void 0, D.last = void 0;
4050
+ C.first = void 0, C.last = void 0;
3999
4051
  }
4000
- const D = we({});
4001
- function X(O, A) {
4002
- O.buttons && P(A);
4052
+ const C = we({});
4053
+ function X(I, P) {
4054
+ I.buttons && A(P);
4003
4055
  }
4004
4056
  function Z() {
4005
- if (w.value) {
4006
- const O = w.value;
4007
- if (O && O.infoGetter().areaCount > 1) {
4008
- g.push(O);
4009
- const A = g.sort((R, U) => (R.area.rowsMin - U.area.rowsMin) * 1e3 + R.area.colsMin - U.area.colsMin);
4010
- g.splice(0, g.length, ...A);
4057
+ if (g.value) {
4058
+ const I = g.value;
4059
+ if (I && I.infoGetter().areaCount > 1) {
4060
+ y.push(I);
4061
+ const P = y.sort((R, U) => (R.area.rowsMin - U.area.rowsMin) * 1e3 + R.area.colsMin - U.area.colsMin);
4062
+ y.splice(0, y.length, ...P);
4011
4063
  }
4012
4064
  $();
4013
4065
  }
4014
4066
  }
4015
4067
  xe(() => {
4016
4068
  window.document.addEventListener("mouseup", Z);
4017
- }), st(() => {
4069
+ }), rt(() => {
4018
4070
  window.document.removeEventListener("mouseup", Z);
4019
4071
  });
4020
4072
  function J() {
4021
- const O = g.map((R) => [
4073
+ const I = y.map((R) => [
4022
4074
  R.area.colsMin,
4023
4075
  R.area.rowsMin,
4024
4076
  R.area.colsMax,
4025
4077
  R.area.rowsMax
4026
4078
  ]);
4027
- return I.genLayout(
4079
+ return N.genLayout(
4028
4080
  u.value.row,
4029
4081
  u.value.col,
4030
- O
4082
+ I
4031
4083
  );
4032
4084
  }
4033
- const Ae = V(() => J().count);
4085
+ const De = V(() => J().count);
4034
4086
  return t({
4035
4087
  getLayout: J
4036
- }), (O, A) => (N(), C("div", fi, [
4037
- b("div", _i, [
4038
- b("div", mi, [
4039
- b("span", pi, z(ae(Ne)("hang-shu")), 1),
4040
- b("span", gi, z(o.row), 1),
4041
- b("button", {
4042
- onClick: A[0] || (A[0] = (R) => i()),
4088
+ }), (I, P) => (S(), D("div", mi, [
4089
+ L("div", pi, [
4090
+ L("div", gi, [
4091
+ L("span", hi, z(ae(Ne)("hang-shu")), 1),
4092
+ L("span", vi, z(o.row), 1),
4093
+ L("button", {
4094
+ onClick: P[0] || (P[0] = (R) => i()),
4043
4095
  style: { cursor: "pointer" }
4044
4096
  }, "+"),
4045
- b("button", {
4097
+ L("button", {
4046
4098
  style: { "margin-left": "2px", cursor: "pointer" },
4047
- onClick: A[1] || (A[1] = (R) => c())
4099
+ onClick: P[1] || (P[1] = (R) => c())
4048
4100
  }, " - ")
4049
4101
  ]),
4050
- b("div", hi, [
4051
- b("span", vi, z(ae(Ne)("lie-shu")), 1),
4052
- b("span", yi, z(o.col), 1),
4053
- b("button", {
4054
- onClick: A[2] || (A[2] = (R) => m()),
4102
+ L("div", yi, [
4103
+ L("span", Ei, z(ae(Ne)("lie-shu")), 1),
4104
+ L("span", wi, z(o.col), 1),
4105
+ L("button", {
4106
+ onClick: P[2] || (P[2] = (R) => m()),
4055
4107
  style: { cursor: "pointer" }
4056
4108
  }, "+"),
4057
- b("button", {
4058
- onClick: A[3] || (A[3] = (R) => f()),
4109
+ L("button", {
4110
+ onClick: P[3] || (P[3] = (R) => d()),
4059
4111
  style: { "margin-left": "2px", cursor: "pointer" }
4060
4112
  }, " - ")
4061
4113
  ]),
4062
- Ct(" " + z(ae(Ae)) + " ", 1),
4063
- b("button", {
4114
+ Ct(" " + z(ae(De)) + " ", 1),
4115
+ L("button", {
4064
4116
  style: { cursor: "pointer", "margin-left": "20px" },
4065
- onClick: A[4] || (A[4] = (R) => l())
4117
+ onClick: P[4] || (P[4] = (R) => l())
4066
4118
  }, [
4067
- b("span", { innerHTML: a })
4119
+ L("span", { innerHTML: a })
4068
4120
  ])
4069
4121
  ]),
4070
- b("div", Ei, [
4122
+ L("div", Li, [
4071
4123
  B(Ut, {
4072
4124
  layout: ae(u),
4073
4125
  class: "area-layout"
4074
4126
  }, {
4075
4127
  default: te((R) => [
4076
- b("div", {
4128
+ L("div", {
4077
4129
  class: "area-item",
4078
4130
  onMousemove: (U) => X(U, R),
4079
4131
  onMousedown: (U) => X(U, R)
4080
- }, z(R.id), 41, wi)
4132
+ }, z(R.id), 41, bi)
4081
4133
  ]),
4082
4134
  _: 1
4083
4135
  }, 8, ["layout"]),
4084
- ae(w) ? (N(), C("div", {
4136
+ ae(g) ? (S(), D("div", {
4085
4137
  key: 0,
4086
- style: me(ae(w).infoGetter().style),
4138
+ style: me(ae(g).infoGetter().style),
4087
4139
  class: "current-area"
4088
4140
  }, null, 4)) : ge("", !0),
4089
- (N(!0), C(ue, null, Ee(g, (R, U) => (N(), C("div", {
4141
+ (S(!0), D(ue, null, Ee(y, (R, U) => (S(), D("div", {
4090
4142
  style: me([R.infoGetter().style, {}]),
4091
4143
  class: "current-area"
4092
4144
  }, [
4093
- b("span", bi, z(U + 1), 1),
4094
- b("span", {
4145
+ L("span", Oi, z(U + 1), 1),
4146
+ L("span", {
4095
4147
  class: "close-svg",
4096
4148
  innerHTML: s,
4097
- onClick: (Le) => r(U)
4098
- }, null, 8, Li)
4149
+ onClick: (be) => r(U)
4150
+ }, null, 8, Ii)
4099
4151
  ], 4))), 256))
4100
4152
  ])
4101
4153
  ]));
4102
4154
  }
4103
4155
  });
4104
- const Ii = /* @__PURE__ */ oe(Oi, [["__scopeId", "data-v-27292e2e"]]);
4105
- var Ti = Object.defineProperty, Ni = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, Rn = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, xn = (e, t, n) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Di = (e, t) => {
4156
+ const Ni = /* @__PURE__ */ oe(Ti, [["__scopeId", "data-v-27292e2e"]]);
4157
+ var Si = Object.defineProperty, Ci = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, Rn = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, xn = (e, t, n) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $i = (e, t) => {
4106
4158
  for (var n in t || (t = {}))
4107
- Ci.call(t, n) && xn(e, n, t[n]);
4159
+ Ai.call(t, n) && xn(e, n, t[n]);
4108
4160
  if (Rn)
4109
4161
  for (var n of Rn(t))
4110
- Ai.call(t, n) && xn(e, n, t[n]);
4162
+ Pi.call(t, n) && xn(e, n, t[n]);
4111
4163
  return e;
4112
- }, Pi = (e, t) => Ni(e, Si(t));
4113
- const $i = /* @__PURE__ */ q({
4164
+ }, Mi = (e, t) => Ci(e, Di(t));
4165
+ const ki = /* @__PURE__ */ q({
4114
4166
  __name: "layout-custom-editor",
4115
4167
  props: {
4116
4168
  zIndexModal: {
@@ -4118,12 +4170,12 @@ const $i = /* @__PURE__ */ q({
4118
4170
  }
4119
4171
  },
4120
4172
  setup(e) {
4121
- const t = e, n = k();
4122
- function o(u, d) {
4123
- a.row = u, a.col = d;
4173
+ const t = e, n = M();
4174
+ function o(u, p) {
4175
+ a.row = u, a.col = p;
4124
4176
  }
4125
4177
  function s(u) {
4126
- r == null || r(u), f.value = !1;
4178
+ r == null || r(u), d.value = !1;
4127
4179
  }
4128
4180
  const a = we({
4129
4181
  row: 5,
@@ -4131,7 +4183,7 @@ const $i = /* @__PURE__ */ q({
4131
4183
  });
4132
4184
  let r;
4133
4185
  function l() {
4134
- f.value = !1, window.document.removeEventListener("click", l);
4186
+ d.value = !1, window.document.removeEventListener("click", l);
4135
4187
  }
4136
4188
  const i = V(() => c.value ? {
4137
4189
  position: "absolute",
@@ -4139,28 +4191,28 @@ const $i = /* @__PURE__ */ q({
4139
4191
  left: `${c.value.x * 0 + 40}px`,
4140
4192
  height: `${a.row * 50 + 60}px`,
4141
4193
  width: `${a.col * 80 + 60}px`
4142
- } : {}), c = k();
4143
- function m(u, d) {
4144
- window.document.removeEventListener("click", l), r = d, c.value = u, f.value = !0, setTimeout(() => {
4194
+ } : {}), c = M();
4195
+ function m(u, p) {
4196
+ window.document.removeEventListener("click", l), r = p, c.value = u, d.value = !0, setTimeout(() => {
4145
4197
  window.document.addEventListener("click", l);
4146
4198
  }, 50);
4147
4199
  }
4148
- const f = k(!1);
4200
+ const d = M(!1);
4149
4201
  return xe(() => {
4150
4202
  n.value = document.body;
4151
- }), st(() => {
4203
+ }), rt(() => {
4152
4204
  window.document.removeEventListener("click", l);
4153
- }), (u, d) => (N(), C(ue, null, [
4154
- n.value ? (N(), Fe(Hn, {
4205
+ }), (u, p) => (S(), D(ue, null, [
4206
+ n.value ? (S(), Fe(Hn, {
4155
4207
  key: 0,
4156
4208
  to: n.value
4157
4209
  }, [
4158
- f.value ? (N(), C("div", {
4210
+ d.value ? (S(), D("div", {
4159
4211
  key: 0,
4160
- style: me([{ "background-color": "white" }, Pi(Di({}, ae(i)), { zIndex: t.zIndexModal })]),
4161
- onClick: d[0] || (d[0] = (g) => g.stopPropagation())
4212
+ style: me([{ "background-color": "white" }, Mi($i({}, ae(i)), { zIndex: t.zIndexModal })]),
4213
+ onClick: p[0] || (p[0] = (y) => y.stopPropagation())
4162
4214
  }, [
4163
- B(Ii, {
4215
+ B(Ni, {
4164
4216
  row: a.row,
4165
4217
  col: a.col,
4166
4218
  updataLayoutInfo: o,
@@ -4172,21 +4224,21 @@ const $i = /* @__PURE__ */ q({
4172
4224
  ], 64));
4173
4225
  }
4174
4226
  });
4175
- var Mi = Object.defineProperty, Fn = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Ri = Object.prototype.propertyIsEnumerable, Vn = (e, t, n) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, xi = (e, t) => {
4227
+ var Ri = Object.defineProperty, Fn = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, Vn = (e, t, n) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Vi = (e, t) => {
4176
4228
  for (var n in t || (t = {}))
4177
- ki.call(t, n) && Vn(e, n, t[n]);
4229
+ xi.call(t, n) && Vn(e, n, t[n]);
4178
4230
  if (Fn)
4179
4231
  for (var n of Fn(t))
4180
- Ri.call(t, n) && Vn(e, n, t[n]);
4232
+ Fi.call(t, n) && Vn(e, n, t[n]);
4181
4233
  return e;
4182
4234
  };
4183
- const Fi = {
4235
+ const Ui = {
4184
4236
  class: "dash-border",
4185
4237
  style: {
4186
4238
  width: "78px",
4187
4239
  height: "48px"
4188
4240
  }
4189
- }, Vi = { style: { width: "100%", height: "40px" } }, Ui = { class: "add-row-panel" }, Gi = /* @__PURE__ */ q({
4241
+ }, Gi = { style: { width: "100%", height: "40px" } }, zi = { class: "add-row-panel" }, Hi = /* @__PURE__ */ q({
4190
4242
  __name: "layoutGen",
4191
4243
  props: {
4192
4244
  savedLayout: {
@@ -4207,65 +4259,65 @@ const Fi = {
4207
4259
  function a() {
4208
4260
  o.row > 2 && o.row--;
4209
4261
  }
4210
- const r = k([]);
4262
+ const r = M([]);
4211
4263
  t({
4212
4264
  getLayouts() {
4213
4265
  return {
4214
4266
  layouts: r.value.map((m) => m.getLayout()).filter((m) => !!m),
4215
- meta: xi({}, ze(o))
4267
+ meta: Vi({}, ze(o))
4216
4268
  };
4217
4269
  }
4218
4270
  });
4219
4271
  function l(i, c) {
4220
4272
  var m;
4221
- const f = (m = n.savedLayout) == null ? void 0 : m.layouts.find(
4273
+ const d = (m = n.savedLayout) == null ? void 0 : m.layouts.find(
4222
4274
  (u) => u.locatoin.col == c && u.locatoin.row == i
4223
4275
  );
4224
- if (f != null && f.layout)
4225
- return f == null ? void 0 : f.layout;
4276
+ if (d != null && d.layout)
4277
+ return d == null ? void 0 : d.layout;
4226
4278
  if (n.savedLayout)
4227
- return I.zeroLayout;
4279
+ return N.zeroLayout;
4228
4280
  }
4229
4281
  return xe(() => {
4230
4282
  n.savedLayout && (o.row = n.savedLayout.meta.row, o.col = n.savedLayout.meta.col);
4231
- }), (i, c) => (N(), Fe($i, {
4283
+ }), (i, c) => (S(), Fe(ki, {
4232
4284
  zIndexModal: n.zIndexModal
4233
4285
  }, {
4234
4286
  default: te(({ addCustomLayoutGen: m }) => [
4235
- B(li, {
4287
+ B(ci, {
4236
4288
  zIndexModal: n.zIndexModal
4237
4289
  }, {
4238
- default: te(({ addPreSetLayout: f }) => [
4239
- b("div", null, [
4240
- b("div", {
4290
+ default: te(({ addPreSetLayout: d }) => [
4291
+ L("div", null, [
4292
+ L("div", {
4241
4293
  style: me([{ display: "inline-block", "vertical-align": "top" }, { width: `${80 * o.col}px` }])
4242
4294
  }, [
4243
- (N(!0), C(ue, null, Ee(Array.from({ length: o.row }), (u, d) => (N(), C("div", {
4295
+ (S(!0), D(ue, null, Ee(Array.from({ length: o.row }), (u, p) => (S(), D("div", {
4244
4296
  style: me({ width: `${80 * o.col}px` })
4245
4297
  }, [
4246
- (N(!0), C(ue, null, Ee(Array.from({ length: o.col }), (g, v) => (N(), C("div", Fi, [
4247
- b("div", Vi, [
4248
- B(di, {
4298
+ (S(!0), D(ue, null, Ee(Array.from({ length: o.col }), (y, E) => (S(), D("div", Ui, [
4299
+ L("div", Gi, [
4300
+ B(_i, {
4249
4301
  ref_for: !0,
4250
4302
  ref_key: "layoutSelectorRefs",
4251
4303
  ref: r,
4252
- row: d,
4253
- col: v,
4254
- index: o.col * d + v,
4255
- onAddPreset: f,
4304
+ row: p,
4305
+ col: E,
4306
+ index: o.col * p + E,
4307
+ onAddPreset: d,
4256
4308
  onAddCustom: m,
4257
- layout: l(d, v)
4309
+ layout: l(p, E)
4258
4310
  }, null, 8, ["row", "col", "index", "onAddPreset", "onAddCustom", "layout"])
4259
4311
  ])
4260
4312
  ]))), 256))
4261
4313
  ], 4))), 256)),
4262
- b("div", Ui, [
4263
- b("div", {
4314
+ L("div", zi, [
4315
+ L("div", {
4264
4316
  onClick: c[0] || (c[0] = (u) => a()),
4265
4317
  style: { display: "inline-block", width: "calc(50% - 5px)" },
4266
4318
  class: "add-row-panel-remove"
4267
4319
  }, " - "),
4268
- b("div", {
4320
+ L("div", {
4269
4321
  onClick: c[1] || (c[1] = (u) => s()),
4270
4322
  style: { display: "inline-block", width: "calc(50% - 5px)" },
4271
4323
  class: "add-row-panel-add"
@@ -4281,7 +4333,7 @@ const Fi = {
4281
4333
  }, 8, ["zIndexModal"]));
4282
4334
  }
4283
4335
  });
4284
- const zi = /* @__PURE__ */ oe(Gi, [["__scopeId", "data-v-c71da28e"]]), Hi = { style: { "background-color": "white" } }, ji = /* @__PURE__ */ q({
4336
+ const ji = /* @__PURE__ */ oe(Hi, [["__scopeId", "data-v-c71da28e"]]), Wi = { style: { "background-color": "white" } }, Bi = /* @__PURE__ */ q({
4285
4337
  __name: "index",
4286
4338
  props: {
4287
4339
  savedLayout: {
@@ -4292,14 +4344,14 @@ const zi = /* @__PURE__ */ oe(Gi, [["__scopeId", "data-v-c71da28e"]]), Hi = { st
4292
4344
  }
4293
4345
  },
4294
4346
  setup(e, { expose: t }) {
4295
- const n = k();
4347
+ const n = M();
4296
4348
  return t({
4297
4349
  getLayout() {
4298
4350
  var o;
4299
4351
  return (o = n.value) == null ? void 0 : o.getLayouts();
4300
4352
  }
4301
- }), (o, s) => (N(), C("div", Hi, [
4302
- B(zi, {
4353
+ }), (o, s) => (S(), D("div", Wi, [
4354
+ B(ji, {
4303
4355
  ref_key: "refLayoutGen",
4304
4356
  ref: n,
4305
4357
  savedLayout: e.savedLayout,
@@ -4308,16 +4360,16 @@ const zi = /* @__PURE__ */ oe(Gi, [["__scopeId", "data-v-c71da28e"]]), Hi = { st
4308
4360
  ]));
4309
4361
  }
4310
4362
  });
4311
- const Wi = /* @__PURE__ */ oe(ji, [["__scopeId", "data-v-a049e2ea"]]), Un = {
4312
- RecursionDeviceGroup: nl,
4363
+ const Ki = /* @__PURE__ */ oe(Bi, [["__scopeId", "data-v-a049e2ea"]]), Un = {
4364
+ RecursionDeviceGroup: sl,
4313
4365
  VideoAreasLayoutShow: Ut,
4314
- MultiVideoAreaLayoutSwitch: Yl,
4315
- VideoAreasLayoutCustom: Wi
4316
- }, Xi = {
4366
+ MultiVideoAreaLayoutSwitch: Jl,
4367
+ VideoAreasLayoutCustom: Ki
4368
+ }, Qi = {
4317
4369
  install(e, t) {
4318
- jr(
4370
+ Wr(
4319
4371
  t && typeof t.locale < "u" ? t.locale : vo.en
4320
- ), t.deviceListDisplayStyle && Br(t.deviceListDisplayStyle);
4372
+ ), t.deviceListDisplayStyle && Kr(t.deviceListDisplayStyle);
4321
4373
  for (const n in Un) {
4322
4374
  const o = Un[n];
4323
4375
  e.component(n, o);
@@ -4327,14 +4379,14 @@ const Wi = /* @__PURE__ */ oe(ji, [["__scopeId", "data-v-a049e2ea"]]), Un = {
4327
4379
  export {
4328
4380
  yo as DeviceListNameDisplayStyle,
4329
4381
  Eo as DeviceListTheme,
4330
- Wr as GetGlobalDeviceListTheme,
4331
- Yr as GetIsHideDeviceIdInDeviceDisplay,
4382
+ Br as GetGlobalDeviceListTheme,
4383
+ Xr as GetIsHideDeviceIdInDeviceDisplay,
4332
4384
  vn as RecursionDeviceGroup,
4333
4385
  vn as RecursionDeviceGroupModel,
4334
- Br as SetDeviceListNameDisplayStyle,
4335
- Ki as SetGlobalDeviceListTheme,
4336
- Yi as SetIsHideDeviceIdInDeviceDisplay,
4337
- I as VideoAreaLayout,
4338
- Xi as default
4386
+ Kr as SetDeviceListNameDisplayStyle,
4387
+ Xi as SetGlobalDeviceListTheme,
4388
+ Ji as SetIsHideDeviceIdInDeviceDisplay,
4389
+ N as VideoAreaLayout,
4390
+ Qi as default
4339
4391
  };
4340
4392
  //# sourceMappingURL=smarteye-e-components.mjs.map