@cregis/ui 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import * as xn from "vue";
2
- import { effectScope as Hs, computed as A, watch as be, isRef as js, ref as G, shallowRef as Gs, defineComponent as de, h as wt, getCurrentScope as Ys, onScopeDispose as zs, Fragment as Be, inject as ir, onMounted as Dt, onUnmounted as Je, createVNode as ie, Text as Ks, useSlots as xa, openBlock as k, createElementBlock as x, normalizeClass as te, createElementVNode as U, mergeProps as gt, createBlock as Te, resolveDynamicComponent as sn, normalizeStyle as ve, renderSlot as ye, toDisplayString as J, createCommentVNode as X, unref as ee, withDirectives as Ut, vModelDynamic as Xs, withModifiers as Wt, vModelText as qs, withCtx as Oe, createTextVNode as qe, nextTick as dt, reactive as Mt, provide as Pa, toRef as Qs, renderList as vt, onBeforeUnmount as Ra, Transition as wn, render as Bt, toHandlers as Pn, Teleport as cr, vShow as kn, createSlots as Pr } from "vue";
3
- import { EdsLoad as Gn, EdsCloseCircleFill as Js, EdsTickFill as $a, EdsWarningFill as Zs, EdsSearch as Ma, EdsArrowDownMiniIos as ur, EdsArrowRightMiniIos as eo, EdsAdd as Rr, EdsClose as Va, EdsWarningLonely as to, EdsTick as no, EdsNoData as ro } from "@cregis/icon";
1
+ import * as Pn from "vue";
2
+ import { effectScope as js, ref as G, shallowRef as Gs, computed as A, watch as be, isRef as Ys, defineComponent as de, h as wt, getCurrentScope as zs, onScopeDispose as Ks, Fragment as Be, inject as ir, onMounted as Dt, onUnmounted as Je, createVNode as ie, Text as Xs, useSlots as xa, createElementBlock as x, openBlock as w, normalizeClass as te, createElementVNode as U, createCommentVNode as X, mergeProps as gt, createBlock as Te, resolveDynamicComponent as sn, normalizeStyle as ve, renderSlot as ye, toDisplayString as J, unref as ee, withDirectives as Ut, vModelDynamic as qs, withModifiers as Wt, vModelText as Qs, withCtx as Oe, createTextVNode as qe, nextTick as dt, reactive as Mt, provide as Pa, toRef as Js, renderList as vt, onBeforeUnmount as Ra, Transition as kn, render as Bt, toHandlers as Rn, Teleport as cr, vShow as Sn, createSlots as Pr } from "vue";
3
+ import { EdsLoad as Gn, EdsCloseCircleFill as Zs, EdsTickFill as $a, EdsWarningFill as eo, EdsSearch as Ma, EdsArrowDownMiniIos as ur, EdsArrowRightMiniIos as to, EdsAdd as Rr, EdsClose as Va, EdsWarningLonely as no, EdsTick as ro, EdsNoData as ao } from "@cregis/icon";
4
4
  /*!
5
5
  * shared v11.4.8
6
6
  * (c) 2026 kazuya kawaguchi
@@ -17,22 +17,22 @@ if (process.env.NODE_ENV !== "production") {
17
17
  e.measure(t, n, a), e.clearMarks(n), e.clearMarks(a);
18
18
  });
19
19
  }
20
- const ao = /\{([0-9a-zA-Z]+)\}/g;
21
- function Sn(e, ...t) {
22
- return t.length === 1 && ae(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ao, (n, a) => t.hasOwnProperty(a) ? t[a] : "");
20
+ const so = /\{([0-9a-zA-Z]+)\}/g;
21
+ function In(e, ...t) {
22
+ return t.length === 1 && ae(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(so, (n, a) => t.hasOwnProperty(a) ? t[a] : "");
23
23
  }
24
- const ot = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), so = (e, t, n) => oo({ l: e, k: t, s: n }), oo = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), Le = (e) => typeof e == "number" && isFinite(e), Fa = (e) => fr(e) === "[object Date]", Ht = (e) => fr(e) === "[object RegExp]", dr = (e) => le(e) && Object.keys(e).length === 0, Ce = Object.assign, lo = Object.create, ce = (e = null) => lo(e);
24
+ const ot = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), oo = (e, t, n) => lo({ l: e, k: t, s: n }), lo = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), Le = (e) => typeof e == "number" && isFinite(e), Fa = (e) => fr(e) === "[object Date]", Ht = (e) => fr(e) === "[object RegExp]", dr = (e) => le(e) && Object.keys(e).length === 0, Ce = Object.assign, io = Object.create, ce = (e = null) => io(e);
25
25
  let $r;
26
- const Lt = () => $r || ($r = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : ce()), io = Object.prototype.hasOwnProperty;
26
+ const Lt = () => $r || ($r = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : ce()), co = Object.prototype.hasOwnProperty;
27
27
  function Ge(e, t) {
28
- return io.call(e, t);
28
+ return co.call(e, t);
29
29
  }
30
- const Ne = Array.isArray, pe = (e) => typeof e == "function", M = (e) => typeof e == "string", se = (e) => typeof e == "boolean", ae = (e) => e !== null && typeof e == "object", co = (e) => ae(e) && pe(e.then) && pe(e.catch), Ua = Object.prototype.toString, fr = (e) => Ua.call(e), le = (e) => fr(e) === "[object Object]", uo = (e) => e == null ? "" : Ne(e) || le(e) && e.toString === Ua ? JSON.stringify(e, null, 2) : String(e);
30
+ const Ne = Array.isArray, pe = (e) => typeof e == "function", M = (e) => typeof e == "string", se = (e) => typeof e == "boolean", ae = (e) => e !== null && typeof e == "object", uo = (e) => ae(e) && pe(e.then) && pe(e.catch), Ua = Object.prototype.toString, fr = (e) => Ua.call(e), le = (e) => fr(e) === "[object Object]", fo = (e) => e == null ? "" : Ne(e) || le(e) && e.toString === Ua ? JSON.stringify(e, null, 2) : String(e);
31
31
  function mr(e, t = "") {
32
32
  return e.reduce((n, a, r) => r === 0 ? n + a : n + t + a, "");
33
33
  }
34
34
  const Mr = 2;
35
- function fo(e, t = 0, n = e.length) {
35
+ function mo(e, t = 0, n = e.length) {
36
36
  const a = e.split(/\r?\n/);
37
37
  let r = 0;
38
38
  const s = [];
@@ -70,11 +70,11 @@ function pr(e) {
70
70
  function Fr(e) {
71
71
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
72
72
  }
73
- function mo(e) {
73
+ function po(e) {
74
74
  return e.replace(/&(?![a-z0-9#]{2,6};)/gi, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
75
75
  }
76
- const po = /^javascript:/i, vo = /^(?:href|src|action|formaction)$/i, go = /&#(?:x([0-9a-f]+)|(\d+));?/gi, ho = /&(?:Tab|NewLine);/g, _o = /&colon;?/gi, bo = /[\u0000-\u0020\u007f-\u009f]/g, yo = /(?:^|[\s"'<>/])on\w+\s*=\s*["']?[^"'>]+["']?/i, Eo = /(^|[\s"'<>/])on(\w+\s*=)/gi, To = /(^|[\s"'<>/])((?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi;
77
- function No(e, t, n) {
76
+ const vo = /^javascript:/i, go = /^(?:href|src|action|formaction)$/i, ho = /&#(?:x([0-9a-f]+)|(\d+));?/gi, _o = /&(?:Tab|NewLine);/g, bo = /&colon;?/gi, yo = /[\u0000-\u0020\u007f-\u009f]/g, Eo = /(?:^|[\s"'<>/])on\w+\s*=\s*["']?[^"'>]+["']?/i, To = /(^|[\s"'<>/])on(\w+\s*=)/gi, No = /(^|[\s"'<>/])((?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi;
77
+ function Oo(e, t, n) {
78
78
  const a = t || n;
79
79
  if (!a)
80
80
  return e;
@@ -82,10 +82,10 @@ function No(e, t, n) {
82
82
  return r <= 127 ? String.fromCharCode(r) : e;
83
83
  }
84
84
  function vr(e) {
85
- const t = e.replace(go, No).replace(ho, "").replace(_o, ":").replace(bo, "");
86
- return po.test(t);
85
+ const t = e.replace(ho, Oo).replace(_o, "").replace(bo, ":").replace(yo, "");
86
+ return vo.test(t);
87
87
  }
88
- function Oo(e) {
88
+ function Lo(e) {
89
89
  const t = /url\s*\(/gi;
90
90
  let n = "", a = 0, r;
91
91
  for (; (r = t.exec(e)) !== null; ) {
@@ -112,15 +112,15 @@ function Oo(e) {
112
112
  return n + e.slice(a);
113
113
  }
114
114
  function Ur(e, t) {
115
- if (vo.test(e) && vr(t))
115
+ if (go.test(e) && vr(t))
116
116
  return "about:blank";
117
- const n = e.toLowerCase() === "style" ? Oo(t) : t;
118
- return mo(n);
117
+ const n = e.toLowerCase() === "style" ? Lo(t) : t;
118
+ return po(n);
119
119
  }
120
- function Lo(e) {
121
- return e = e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g, (t, n, a) => `${n}="${Ur(n, a)}"`), e = e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g, (t, n, a) => `${n}='${Ur(n, a)}'`), yo.test(e) && (process.env.NODE_ENV !== "production" && at("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(Eo, "$1&#111;n$2")), e = e.replace(To, (t, n, a, r) => vr(r) ? `${n}${a}about:blank` : t), e;
120
+ function Co(e) {
121
+ return e = e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g, (t, n, a) => `${n}="${Ur(n, a)}"`), e = e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g, (t, n, a) => `${n}='${Ur(n, a)}'`), Eo.test(e) && (process.env.NODE_ENV !== "production" && at("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(To, "$1&#111;n$2")), e = e.replace(No, (t, n, a, r) => vr(r) ? `${n}${a}about:blank` : t), e;
122
122
  }
123
- function In() {
123
+ function An() {
124
124
  const e = /* @__PURE__ */ new Map();
125
125
  return {
126
126
  events: e,
@@ -154,7 +154,7 @@ function yn(e, t) {
154
154
  * (c) 2026 kazuya kawaguchi
155
155
  * Released under the MIT License.
156
156
  */
157
- function Co(e, t, n) {
157
+ function wo(e, t, n) {
158
158
  return { line: e, column: t, offset: n };
159
159
  }
160
160
  function Yn(e, t, n) {
@@ -181,7 +181,7 @@ const K = {
181
181
  UNHANDLED_CODEGEN_NODE_TYPE: 15,
182
182
  // minifier error codes
183
183
  UNHANDLED_MINIFIER_NODE_TYPE: 16
184
- }, wo = 17, ko = {
184
+ }, ko = 17, So = {
185
185
  // tokenizer error messages
186
186
  [K.EXPECTED_TOKEN]: "Expected token: '{0}'",
187
187
  [K.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
@@ -204,28 +204,28 @@ const K = {
204
204
  [K.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
205
205
  };
206
206
  function Qt(e, t, n = {}) {
207
- const { domain: a, messages: r, args: s } = n, o = process.env.NODE_ENV !== "production" ? Sn((r || ko)[e] || "", ...s || []) : e, l = new SyntaxError(String(o));
207
+ const { domain: a, messages: r, args: s } = n, o = process.env.NODE_ENV !== "production" ? In((r || So)[e] || "", ...s || []) : e, l = new SyntaxError(String(o));
208
208
  return l.code = e, t && (l.location = t), l.domain = a, l;
209
209
  }
210
- function So(e) {
210
+ function Io(e) {
211
211
  throw e;
212
212
  }
213
- const Io = /<\/?[\w\s="/.':;#-\/]+>/, Ao = (e) => Io.test(e), tt = " ", Do = "\r", Ae = `
214
- `, xo = "\u2028", Po = "\u2029";
215
- function Ro(e) {
213
+ const Ao = /<\/?[\w\s="/.':;#-\/]+>/, Do = (e) => Ao.test(e), tt = " ", xo = "\r", Ae = `
214
+ `, Po = "\u2028", Ro = "\u2029";
215
+ function $o(e) {
216
216
  const t = e;
217
217
  let n = 0, a = 1, r = 1, s = 0;
218
- const o = (y) => t[y] === Do && t[y + 1] === Ae, l = (y) => t[y] === Ae, i = (y) => t[y] === Po, f = (y) => t[y] === xo, m = (y) => o(y) || l(y) || i(y) || f(y), v = () => n, p = () => a, g = () => r, E = () => s, N = (y) => o(y) || i(y) || f(y) ? Ae : t[y], O = () => N(n), d = () => N(n + s);
218
+ const o = (y) => t[y] === xo && t[y + 1] === Ae, l = (y) => t[y] === Ae, i = (y) => t[y] === Ro, f = (y) => t[y] === Po, m = (y) => o(y) || l(y) || i(y) || f(y), v = () => n, p = () => a, g = () => r, E = () => s, N = (y) => o(y) || i(y) || f(y) ? Ae : t[y], L = () => N(n), d = () => N(n + s);
219
219
  function _() {
220
220
  return s = 0, m(n) && (a++, r = 0), o(n) && n++, n++, r++, t[n];
221
221
  }
222
- function C() {
222
+ function O() {
223
223
  return o(n + s) && s++, s++, t[n + s];
224
224
  }
225
225
  function h() {
226
226
  n = 0, a = 1, r = 1, s = 0;
227
227
  }
228
- function w(y = 0) {
228
+ function k(y = 0) {
229
229
  s = y;
230
230
  }
231
231
  function T() {
@@ -240,18 +240,18 @@ function Ro(e) {
240
240
  column: g,
241
241
  peekOffset: E,
242
242
  charAt: N,
243
- currentChar: O,
243
+ currentChar: L,
244
244
  currentPeek: d,
245
245
  next: _,
246
- peek: C,
246
+ peek: O,
247
247
  reset: h,
248
- resetPeek: w,
248
+ resetPeek: k,
249
249
  skipToPeek: T
250
250
  };
251
251
  }
252
- const ct = void 0, $o = ".", Wr = "'", Mo = "tokenizer";
253
- function Vo(e, t = {}) {
254
- const n = t.location !== !1, a = Ro(e), r = () => a.index(), s = () => Co(a.line(), a.column(), a.index()), o = s(), l = r(), i = {
252
+ const ct = void 0, Mo = ".", Wr = "'", Vo = "tokenizer";
253
+ function Fo(e, t = {}) {
254
+ const n = t.location !== !1, a = $o(e), r = () => a.index(), s = () => wo(a.line(), a.column(), a.index()), o = s(), l = r(), i = {
255
255
  currentType: 13,
256
256
  offset: l,
257
257
  startLoc: o,
@@ -268,7 +268,7 @@ function Vo(e, t = {}) {
268
268
  const Q = f();
269
269
  if (u.column += b, u.offset += b, m) {
270
270
  const me = n ? Yn(Q.startLoc, u) : null, ne = Qt(c, me, {
271
- domain: Mo,
271
+ domain: Vo,
272
272
  args: P
273
273
  });
274
274
  m(ne);
@@ -293,7 +293,7 @@ function Vo(e, t = {}) {
293
293
  u += c.currentPeek(), c.peek();
294
294
  return u;
295
295
  }
296
- function O(c) {
296
+ function L(c) {
297
297
  const u = N(c);
298
298
  return c.skipToPeek(), u;
299
299
  }
@@ -311,7 +311,7 @@ function Vo(e, t = {}) {
311
311
  const u = c.charCodeAt(0);
312
312
  return u >= 48 && u <= 57;
313
313
  }
314
- function C(c, u) {
314
+ function O(c, u) {
315
315
  const { currentType: b } = u;
316
316
  if (b !== 2)
317
317
  return !1;
@@ -327,7 +327,7 @@ function Vo(e, t = {}) {
327
327
  const P = c.currentPeek() === "-" ? c.peek() : c.currentPeek(), Q = _(P);
328
328
  return c.resetPeek(), Q;
329
329
  }
330
- function w(c, u) {
330
+ function k(c, u) {
331
331
  const { currentType: b } = u;
332
332
  if (b !== 2)
333
333
  return !1;
@@ -455,7 +455,7 @@ function Vo(e, t = {}) {
455
455
  return u;
456
456
  }
457
457
  function he(c) {
458
- O(c);
458
+ L(c);
459
459
  let u = "", b = "";
460
460
  for (; u = S(c); )
461
461
  b += u;
@@ -467,7 +467,7 @@ function Vo(e, t = {}) {
467
467
  return c.currentChar() === ct && v(K.UNTERMINATED_CLOSING_BRACE, s(), 0), b;
468
468
  }
469
469
  function Re(c) {
470
- O(c);
470
+ L(c);
471
471
  let u = "";
472
472
  return c.currentChar() === "-" ? (c.next(), u += `-${Z(c)}`) : u += Z(c), c.currentChar() === ct && v(K.UNTERMINATED_CLOSING_BRACE, s(), 0), u;
473
473
  }
@@ -475,7 +475,7 @@ function Vo(e, t = {}) {
475
475
  return c !== Wr && c !== Ae;
476
476
  }
477
477
  function xe(c) {
478
- O(c), E(c, "'");
478
+ L(c), E(c, "'");
479
479
  let u = "", b = "";
480
480
  for (; u = z(c, Se); )
481
481
  u === "\\" ? b += $(c) : b += u;
@@ -513,7 +513,7 @@ function Vo(e, t = {}) {
513
513
  return c !== "{" && c !== "}" && c !== tt && c !== Ae;
514
514
  }
515
515
  function Ie(c) {
516
- O(c);
516
+ L(c);
517
517
  let u = "", b = "";
518
518
  for (; u = z(c, Ee); )
519
519
  b += u;
@@ -533,13 +533,13 @@ function Vo(e, t = {}) {
533
533
  return u("");
534
534
  }
535
535
  function Ze(c) {
536
- O(c);
536
+ L(c);
537
537
  const u = E(
538
538
  c,
539
539
  "|"
540
540
  /* TokenChars.Pipe */
541
541
  );
542
- return O(c), u;
542
+ return L(c), u;
543
543
  }
544
544
  function it(c, u) {
545
545
  let b = null;
@@ -550,14 +550,14 @@ function Vo(e, t = {}) {
550
550
  2,
551
551
  "{"
552
552
  /* TokenChars.BraceLeft */
553
- ), O(c), u.braceNest++, b;
553
+ ), L(c), u.braceNest++, b;
554
554
  case "}":
555
555
  return u.braceNest > 0 && u.currentType === 2 && v(K.EMPTY_PLACEHOLDER, s(), 0), c.next(), b = p(
556
556
  u,
557
557
  3,
558
558
  "}"
559
559
  /* TokenChars.BraceRight */
560
- ), u.braceNest--, u.braceNest > 0 && O(c), u.inLinked && u.braceNest === 0 && (u.inLinked = !1), b;
560
+ ), u.braceNest--, u.braceNest > 0 && L(c), u.inLinked && u.braceNest === 0 && (u.inLinked = !1), b;
561
561
  case "@":
562
562
  return u.braceNest > 0 && v(K.UNTERMINATED_CLOSING_BRACE, s(), 0), b = Ue(c, u) || g(u), u.braceNest = 0, b;
563
563
  default: {
@@ -566,14 +566,14 @@ function Vo(e, t = {}) {
566
566
  return u.braceNest > 0 && v(K.UNTERMINATED_CLOSING_BRACE, s(), 0), b = p(u, 1, Ze(c)), u.braceNest = 0, u.inLinked = !1, b;
567
567
  if (u.braceNest > 0 && (u.currentType === 4 || u.currentType === 5 || u.currentType === 6))
568
568
  return v(K.UNTERMINATED_CLOSING_BRACE, s(), 0), u.braceNest = 0, et(c, u);
569
- if (Q = C(c, u))
570
- return b = p(u, 4, he(c)), O(c), b;
569
+ if (Q = O(c, u))
570
+ return b = p(u, 4, he(c)), L(c), b;
571
571
  if (me = h(c, u))
572
- return b = p(u, 5, Re(c)), O(c), b;
573
- if (ne = w(c, u))
574
- return b = p(u, 6, xe(c)), O(c), b;
572
+ return b = p(u, 5, Re(c)), L(c), b;
573
+ if (ne = k(c, u))
574
+ return b = p(u, 6, xe(c)), L(c), b;
575
575
  if (!Q && !me && !ne)
576
- return b = p(u, 12, Ie(c)), v(K.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, b.value), O(c), b;
576
+ return b = p(u, 12, Ie(c)), v(K.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, b.value), L(c), b;
577
577
  break;
578
578
  }
579
579
  }
@@ -592,21 +592,21 @@ function Vo(e, t = {}) {
592
592
  /* TokenChars.LinkedAlias */
593
593
  ), u.inLinked = !0, P;
594
594
  case ".":
595
- return O(c), c.next(), p(
595
+ return L(c), c.next(), p(
596
596
  u,
597
597
  8,
598
598
  "."
599
599
  /* TokenChars.LinkedDot */
600
600
  );
601
601
  case ":":
602
- return O(c), c.next(), p(
602
+ return L(c), c.next(), p(
603
603
  u,
604
604
  9,
605
605
  ":"
606
606
  /* TokenChars.LinkedDelimiter */
607
607
  );
608
608
  default:
609
- return Y(c) ? (P = p(u, 1, Ze(c)), u.braceNest = 0, u.inLinked = !1, P) : T(c, u) || W(c, u) ? (O(c), Ue(c, u)) : y(c, u) ? (O(c), p(u, 11, lt(c))) : B(c, u) ? (O(c), Q === "{" ? it(c, u) || P : p(u, 10, Et(c))) : (b === 7 && v(K.INVALID_LINKED_FORMAT, s(), 0), u.braceNest = 0, u.inLinked = !1, et(c, u));
609
+ return Y(c) ? (P = p(u, 1, Ze(c)), u.braceNest = 0, u.inLinked = !1, P) : T(c, u) || W(c, u) ? (L(c), Ue(c, u)) : y(c, u) ? (L(c), p(u, 11, lt(c))) : B(c, u) ? (L(c), Q === "{" ? it(c, u) || P : p(u, 10, Et(c))) : (b === 7 && v(K.INVALID_LINKED_FORMAT, s(), 0), u.braceNest = 0, u.inLinked = !1, et(c, u));
610
610
  }
611
611
  }
612
612
  function et(c, u) {
@@ -655,11 +655,11 @@ function Vo(e, t = {}) {
655
655
  context: f
656
656
  };
657
657
  }
658
- const Fo = "parser", Uo = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g, Wo = /\\([\\@{}|])/g;
659
- function Bo(e, t) {
658
+ const Uo = "parser", Wo = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g, Bo = /\\([\\@{}|])/g;
659
+ function Ho(e, t) {
660
660
  return t;
661
661
  }
662
- function Ho(e, t, n) {
662
+ function jo(e, t, n) {
663
663
  switch (e) {
664
664
  case "\\\\":
665
665
  return "\\";
@@ -672,136 +672,136 @@ function Ho(e, t, n) {
672
672
  }
673
673
  }
674
674
  }
675
- function jo(e = {}) {
675
+ function Go(e = {}) {
676
676
  const t = e.location !== !1, { onError: n } = e;
677
- function a(d, _, C, h, ...w) {
677
+ function a(d, _, O, h, ...k) {
678
678
  const T = d.currentPosition();
679
679
  if (T.offset += h, T.column += h, n) {
680
- const y = t ? Yn(C, T) : null, W = Qt(_, y, {
681
- domain: Fo,
682
- args: w
680
+ const y = t ? Yn(O, T) : null, W = Qt(_, y, {
681
+ domain: Uo,
682
+ args: k
683
683
  });
684
684
  n(W);
685
685
  }
686
686
  }
687
- function r(d, _, C) {
687
+ function r(d, _, O) {
688
688
  const h = { type: d };
689
- return t && (h.start = _, h.end = _, h.loc = { start: C, end: C }), h;
689
+ return t && (h.start = _, h.end = _, h.loc = { start: O, end: O }), h;
690
690
  }
691
- function s(d, _, C, h) {
692
- t && (d.end = _, d.loc && (d.loc.end = C));
691
+ function s(d, _, O, h) {
692
+ t && (d.end = _, d.loc && (d.loc.end = O));
693
693
  }
694
694
  function o(d, _) {
695
- const C = d.context(), h = r(3, C.offset, C.startLoc);
696
- return h.value = _.replace(Wo, Bo), s(h, d.currentOffset(), d.currentPosition()), h;
695
+ const O = d.context(), h = r(3, O.offset, O.startLoc);
696
+ return h.value = _.replace(Bo, Ho), s(h, d.currentOffset(), d.currentPosition()), h;
697
697
  }
698
698
  function l(d, _) {
699
- const C = d.context(), { lastOffset: h, lastStartLoc: w } = C, T = r(5, h, w);
699
+ const O = d.context(), { lastOffset: h, lastStartLoc: k } = O, T = r(5, h, k);
700
700
  return T.index = parseInt(_, 10), d.nextToken(), s(T, d.currentOffset(), d.currentPosition()), T;
701
701
  }
702
702
  function i(d, _) {
703
- const C = d.context(), { lastOffset: h, lastStartLoc: w } = C, T = r(4, h, w);
703
+ const O = d.context(), { lastOffset: h, lastStartLoc: k } = O, T = r(4, h, k);
704
704
  return T.key = _, d.nextToken(), s(T, d.currentOffset(), d.currentPosition()), T;
705
705
  }
706
706
  function f(d, _) {
707
- const C = d.context(), { lastOffset: h, lastStartLoc: w } = C, T = r(9, h, w);
708
- return T.value = _.replace(Uo, Ho), d.nextToken(), s(T, d.currentOffset(), d.currentPosition()), T;
707
+ const O = d.context(), { lastOffset: h, lastStartLoc: k } = O, T = r(9, h, k);
708
+ return T.value = _.replace(Wo, jo), d.nextToken(), s(T, d.currentOffset(), d.currentPosition()), T;
709
709
  }
710
710
  function m(d) {
711
- const _ = d.nextToken(), C = d.context(), { lastOffset: h, lastStartLoc: w } = C, T = r(8, h, w);
712
- return _.type !== 11 ? (a(d, K.UNEXPECTED_EMPTY_LINKED_MODIFIER, C.lastStartLoc, 0), T.value = "", s(T, h, w), {
711
+ const _ = d.nextToken(), O = d.context(), { lastOffset: h, lastStartLoc: k } = O, T = r(8, h, k);
712
+ return _.type !== 11 ? (a(d, K.UNEXPECTED_EMPTY_LINKED_MODIFIER, O.lastStartLoc, 0), T.value = "", s(T, h, k), {
713
713
  nextConsumeToken: _,
714
714
  node: T
715
- }) : (_.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, nt(_)), T.value = _.value || "", s(T, d.currentOffset(), d.currentPosition()), {
715
+ }) : (_.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, nt(_)), T.value = _.value || "", s(T, d.currentOffset(), d.currentPosition()), {
716
716
  node: T
717
717
  });
718
718
  }
719
719
  function v(d, _) {
720
- const C = d.context(), h = r(7, C.offset, C.startLoc);
720
+ const O = d.context(), h = r(7, O.offset, O.startLoc);
721
721
  return h.value = _, s(h, d.currentOffset(), d.currentPosition()), h;
722
722
  }
723
723
  function p(d) {
724
- const _ = d.context(), C = r(6, _.offset, _.startLoc);
724
+ const _ = d.context(), O = r(6, _.offset, _.startLoc);
725
725
  let h = d.nextToken();
726
726
  if (h.type === 8) {
727
- const w = m(d);
728
- C.modifier = w.node, h = w.nextConsumeToken || d.nextToken();
727
+ const k = m(d);
728
+ O.modifier = k.node, h = k.nextConsumeToken || d.nextToken();
729
729
  }
730
730
  switch (h.type !== 9 && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(h)), h = d.nextToken(), h.type === 2 && (h = d.nextToken()), h.type) {
731
731
  case 10:
732
- h.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(h)), C.key = v(d, h.value || "");
732
+ h.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(h)), O.key = v(d, h.value || "");
733
733
  break;
734
734
  case 4:
735
- h.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(h)), C.key = i(d, h.value || "");
735
+ h.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(h)), O.key = i(d, h.value || "");
736
736
  break;
737
737
  case 5:
738
- h.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(h)), C.key = l(d, h.value || "");
738
+ h.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(h)), O.key = l(d, h.value || "");
739
739
  break;
740
740
  case 6:
741
- h.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(h)), C.key = f(d, h.value || "");
741
+ h.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(h)), O.key = f(d, h.value || "");
742
742
  break;
743
743
  default: {
744
744
  a(d, K.UNEXPECTED_EMPTY_LINKED_KEY, _.lastStartLoc, 0);
745
- const w = d.context(), T = r(7, w.offset, w.startLoc);
746
- return T.value = "", s(T, w.offset, w.startLoc), C.key = T, s(C, w.offset, w.startLoc), {
745
+ const k = d.context(), T = r(7, k.offset, k.startLoc);
746
+ return T.value = "", s(T, k.offset, k.startLoc), O.key = T, s(O, k.offset, k.startLoc), {
747
747
  nextConsumeToken: h,
748
- node: C
748
+ node: O
749
749
  };
750
750
  }
751
751
  }
752
- return s(C, d.currentOffset(), d.currentPosition()), {
753
- node: C
752
+ return s(O, d.currentOffset(), d.currentPosition()), {
753
+ node: O
754
754
  };
755
755
  }
756
756
  function g(d) {
757
- const _ = d.context(), C = _.currentType === 1 ? d.currentOffset() : _.offset, h = _.currentType === 1 ? _.endLoc : _.startLoc, w = r(2, C, h);
758
- w.items = [];
757
+ const _ = d.context(), O = _.currentType === 1 ? d.currentOffset() : _.offset, h = _.currentType === 1 ? _.endLoc : _.startLoc, k = r(2, O, h);
758
+ k.items = [];
759
759
  let T = null;
760
760
  do {
761
761
  const B = T || d.nextToken();
762
762
  switch (T = null, B.type) {
763
763
  case 0:
764
- B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), w.items.push(o(d, B.value || ""));
764
+ B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), k.items.push(o(d, B.value || ""));
765
765
  break;
766
766
  case 5:
767
- B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), w.items.push(l(d, B.value || ""));
767
+ B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), k.items.push(l(d, B.value || ""));
768
768
  break;
769
769
  case 4:
770
- B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), w.items.push(i(d, B.value || ""));
770
+ B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), k.items.push(i(d, B.value || ""));
771
771
  break;
772
772
  case 6:
773
- B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), w.items.push(f(d, B.value || ""));
773
+ B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), k.items.push(f(d, B.value || ""));
774
774
  break;
775
775
  case 7: {
776
776
  const Y = p(d);
777
- w.items.push(Y.node), T = Y.nextConsumeToken || null;
777
+ k.items.push(Y.node), T = Y.nextConsumeToken || null;
778
778
  break;
779
779
  }
780
780
  }
781
781
  } while (_.currentType !== 13 && _.currentType !== 1);
782
782
  const y = _.currentType === 1 ? _.lastOffset : d.currentOffset(), W = _.currentType === 1 ? _.lastEndLoc : d.currentPosition();
783
- return s(w, y, W), w;
783
+ return s(k, y, W), k;
784
784
  }
785
- function E(d, _, C, h) {
786
- const w = d.context();
785
+ function E(d, _, O, h) {
786
+ const k = d.context();
787
787
  let T = h.items.length === 0;
788
- const y = r(1, _, C);
788
+ const y = r(1, _, O);
789
789
  y.cases = [], y.cases.push(h);
790
790
  do {
791
791
  const W = g(d);
792
792
  T || (T = W.items.length === 0), y.cases.push(W);
793
- } while (w.currentType !== 13);
794
- return T && a(d, K.MUST_HAVE_MESSAGES_IN_PLURAL, C, 0), s(y, d.currentOffset(), d.currentPosition()), y;
793
+ } while (k.currentType !== 13);
794
+ return T && a(d, K.MUST_HAVE_MESSAGES_IN_PLURAL, O, 0), s(y, d.currentOffset(), d.currentPosition()), y;
795
795
  }
796
796
  function N(d) {
797
- const _ = d.context(), { offset: C, startLoc: h } = _, w = g(d);
798
- return _.currentType === 13 ? w : E(d, C, h, w);
797
+ const _ = d.context(), { offset: O, startLoc: h } = _, k = g(d);
798
+ return _.currentType === 13 ? k : E(d, O, h, k);
799
799
  }
800
- function O(d) {
801
- const _ = Vo(d, Ce({}, e)), C = _.context(), h = r(0, C.offset, C.startLoc);
802
- return t && h.loc && (h.loc.source = d), h.body = N(_), e.onCacheKey && (h.cacheKey = e.onCacheKey(d)), C.currentType !== 13 && a(_, K.UNEXPECTED_LEXICAL_ANALYSIS, C.lastStartLoc, 0, d[C.offset] || ""), s(h, _.currentOffset(), _.currentPosition()), h;
800
+ function L(d) {
801
+ const _ = Fo(d, Ce({}, e)), O = _.context(), h = r(0, O.offset, O.startLoc);
802
+ return t && h.loc && (h.loc.source = d), h.body = N(_), e.onCacheKey && (h.cacheKey = e.onCacheKey(d)), O.currentType !== 13 && a(_, K.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, d[O.offset] || ""), s(h, _.currentOffset(), _.currentPosition()), h;
803
803
  }
804
- return { parse: O };
804
+ return { parse: L };
805
805
  }
806
806
  function nt(e) {
807
807
  if (e.type === 13)
@@ -809,7 +809,7 @@ function nt(e) {
809
809
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
810
810
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
811
811
  }
812
- function Go(e, t = {}) {
812
+ function Yo(e, t = {}) {
813
813
  const n = {
814
814
  ast: e,
815
815
  helpers: /* @__PURE__ */ new Set()
@@ -861,8 +861,8 @@ function gr(e, t) {
861
861
  break;
862
862
  }
863
863
  }
864
- function Yo(e, t = {}) {
865
- const n = Go(e);
864
+ function zo(e, t = {}) {
865
+ const n = Yo(e);
866
866
  n.helper(
867
867
  "normalize"
868
868
  /* HelperNameMap.NORMALIZE */
@@ -870,7 +870,7 @@ function Yo(e, t = {}) {
870
870
  const a = n.context();
871
871
  e.helpers = Array.from(a.helpers);
872
872
  }
873
- function zo(e) {
873
+ function Ko(e) {
874
874
  const t = e.body;
875
875
  return t.type === 2 ? Hr(t) : t.cases.forEach((n) => Hr(n)), e;
876
876
  }
@@ -895,7 +895,7 @@ function Hr(e) {
895
895
  }
896
896
  }
897
897
  }
898
- const Ko = "minifier";
898
+ const Xo = "minifier";
899
899
  function Rt(e) {
900
900
  switch (e.t = e.type, e.type) {
901
901
  case 0: {
@@ -943,14 +943,14 @@ function Rt(e) {
943
943
  default:
944
944
  if (process.env.NODE_ENV !== "production")
945
945
  throw Qt(K.UNHANDLED_MINIFIER_NODE_TYPE, null, {
946
- domain: Ko,
946
+ domain: Xo,
947
947
  args: [e.type]
948
948
  });
949
949
  }
950
950
  delete e.type;
951
951
  }
952
- const Xo = "parser";
953
- function qo(e, t) {
952
+ const qo = "parser";
953
+ function Qo(e, t) {
954
954
  const { filename: n, breakLineCode: a, needIndent: r } = t, s = t.location !== !1, o = {
955
955
  filename: n,
956
956
  code: "",
@@ -964,20 +964,20 @@ function qo(e, t) {
964
964
  };
965
965
  s && e.loc && (o.source = e.loc.source);
966
966
  const l = () => o;
967
- function i(N, O) {
967
+ function i(N, L) {
968
968
  o.code += N;
969
969
  }
970
- function f(N, O = !0) {
971
- const d = O ? a : "";
970
+ function f(N, L = !0) {
971
+ const d = L ? a : "";
972
972
  i(r ? d + " ".repeat(N) : d);
973
973
  }
974
974
  function m(N = !0) {
975
- const O = ++o.indentLevel;
976
- N && f(O);
975
+ const L = ++o.indentLevel;
976
+ N && f(L);
977
977
  }
978
978
  function v(N = !0) {
979
- const O = --o.indentLevel;
980
- N && f(O);
979
+ const L = --o.indentLevel;
980
+ N && f(L);
981
981
  }
982
982
  function p() {
983
983
  f(o.indentLevel);
@@ -992,14 +992,14 @@ function qo(e, t) {
992
992
  needIndent: () => o.needIndent
993
993
  };
994
994
  }
995
- function Qo(e, t) {
995
+ function Jo(e, t) {
996
996
  const { helper: n } = e;
997
997
  e.push(`${n(
998
998
  "linked"
999
999
  /* HelperNameMap.LINKED */
1000
1000
  )}(`), jt(e, t.key), t.modifier ? (e.push(", "), jt(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
1001
1001
  }
1002
- function Jo(e, t) {
1002
+ function Zo(e, t) {
1003
1003
  const { helper: n, needIndent: a } = e;
1004
1004
  e.push(`${n(
1005
1005
  "normalize"
@@ -1010,7 +1010,7 @@ function Jo(e, t) {
1010
1010
  e.push(", ");
1011
1011
  e.deindent(a()), e.push("])");
1012
1012
  }
1013
- function Zo(e, t) {
1013
+ function el(e, t) {
1014
1014
  const { helper: n, needIndent: a } = e;
1015
1015
  if (t.cases.length > 1) {
1016
1016
  e.push(`${n(
@@ -1023,23 +1023,23 @@ function Zo(e, t) {
1023
1023
  e.deindent(a()), e.push("])");
1024
1024
  }
1025
1025
  }
1026
- function el(e, t) {
1026
+ function tl(e, t) {
1027
1027
  t.body ? jt(e, t.body) : e.push("null");
1028
1028
  }
1029
1029
  function jt(e, t) {
1030
1030
  const { helper: n } = e;
1031
1031
  switch (t.type) {
1032
1032
  case 0:
1033
- el(e, t);
1033
+ tl(e, t);
1034
1034
  break;
1035
1035
  case 1:
1036
- Zo(e, t);
1036
+ el(e, t);
1037
1037
  break;
1038
1038
  case 2:
1039
- Jo(e, t);
1039
+ Zo(e, t);
1040
1040
  break;
1041
1041
  case 6:
1042
- Qo(e, t);
1042
+ Jo(e, t);
1043
1043
  break;
1044
1044
  case 8:
1045
1045
  e.push(JSON.stringify(t.value), t);
@@ -1074,16 +1074,16 @@ function jt(e, t) {
1074
1074
  default:
1075
1075
  if (process.env.NODE_ENV !== "production")
1076
1076
  throw Qt(K.UNHANDLED_CODEGEN_NODE_TYPE, null, {
1077
- domain: Xo,
1077
+ domain: qo,
1078
1078
  args: [t.type]
1079
1079
  });
1080
1080
  }
1081
1081
  }
1082
- const tl = (e, t = {}) => {
1082
+ const nl = (e, t = {}) => {
1083
1083
  const n = M(t.mode) ? t.mode : "normal", a = M(t.filename) ? t.filename : "message.intl";
1084
1084
  t.sourceMap;
1085
1085
  const r = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1086
- `, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], l = qo(e, {
1086
+ `, s = t.needIndent ? t.needIndent : n !== "arrow", o = e.helpers || [], l = Qo(e, {
1087
1087
  filename: a,
1088
1088
  breakLineCode: r,
1089
1089
  needIndent: s
@@ -1097,35 +1097,35 @@ const tl = (e, t = {}) => {
1097
1097
  // eslint-disable-line @typescript-eslint/no-explicit-any
1098
1098
  };
1099
1099
  };
1100
- function nl(e, t = {}) {
1101
- const n = Ce({}, t), a = !!n.jit, r = !!n.minify, s = n.optimize == null ? !0 : n.optimize, l = jo(n).parse(e);
1102
- return a ? (s && zo(l), r && Rt(l), { ast: l, code: "" }) : (Yo(l, n), tl(l, n));
1100
+ function rl(e, t = {}) {
1101
+ const n = Ce({}, t), a = !!n.jit, r = !!n.minify, s = n.optimize == null ? !0 : n.optimize, l = Go(n).parse(e);
1102
+ return a ? (s && Ko(l), r && Rt(l), { ast: l, code: "" }) : (zo(l, n), nl(l, n));
1103
1103
  }
1104
1104
  /*!
1105
1105
  * core-base v11.4.8
1106
1106
  * (c) 2026 kazuya kawaguchi
1107
1107
  * Released under the MIT License.
1108
1108
  */
1109
- function rl() {
1109
+ function al() {
1110
1110
  typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Lt().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Lt().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1111
1111
  }
1112
1112
  function Ye(e) {
1113
1113
  return ae(e) && hr(e) === 0 && (Ge(e, "b") || Ge(e, "body"));
1114
1114
  }
1115
1115
  const Wa = ["b", "body"];
1116
- function al(e) {
1116
+ function sl(e) {
1117
1117
  return _t(e, Wa);
1118
1118
  }
1119
1119
  const Ba = ["c", "cases"];
1120
- function sl(e) {
1120
+ function ol(e) {
1121
1121
  return _t(e, Ba, []);
1122
1122
  }
1123
1123
  const Ha = ["s", "static"];
1124
- function ol(e) {
1124
+ function ll(e) {
1125
1125
  return _t(e, Ha);
1126
1126
  }
1127
1127
  const ja = ["i", "items"];
1128
- function ll(e) {
1128
+ function il(e) {
1129
1129
  return _t(e, ja, []);
1130
1130
  }
1131
1131
  const Ga = ["t", "type"];
@@ -1140,11 +1140,11 @@ function gn(e, t) {
1140
1140
  throw on(t);
1141
1141
  }
1142
1142
  const za = ["m", "modifier"];
1143
- function il(e) {
1143
+ function cl(e) {
1144
1144
  return _t(e, za);
1145
1145
  }
1146
1146
  const Ka = ["k", "key"];
1147
- function cl(e) {
1147
+ function ul(e) {
1148
1148
  const t = _t(e, Ka);
1149
1149
  if (t)
1150
1150
  return t;
@@ -1174,18 +1174,18 @@ const Xa = [
1174
1174
  function on(e) {
1175
1175
  return new Error(`unhandled node type: ${e}`);
1176
1176
  }
1177
- function Rn(e) {
1178
- return (n) => ul(n, e);
1177
+ function $n(e) {
1178
+ return (n) => dl(n, e);
1179
1179
  }
1180
- function ul(e, t) {
1181
- const n = al(t);
1180
+ function dl(e, t) {
1181
+ const n = sl(t);
1182
1182
  if (n == null)
1183
1183
  throw on(
1184
1184
  0
1185
1185
  /* NodeTypes.Resource */
1186
1186
  );
1187
1187
  if (hr(n) === 1) {
1188
- const s = sl(n);
1188
+ const s = ol(n);
1189
1189
  return e.plural(s.reduce((o, l) => [
1190
1190
  ...o,
1191
1191
  jr(e, l)
@@ -1194,11 +1194,11 @@ function ul(e, t) {
1194
1194
  return jr(e, n);
1195
1195
  }
1196
1196
  function jr(e, t) {
1197
- const n = ol(t);
1197
+ const n = ll(t);
1198
1198
  if (n != null)
1199
1199
  return e.type === "text" ? n : e.normalize([n]);
1200
1200
  {
1201
- const a = ll(t).reduce((r, s) => [...r, zn(e, s)], []);
1201
+ const a = il(t).reduce((r, s) => [...r, zn(e, s)], []);
1202
1202
  return e.normalize(a);
1203
1203
  }
1204
1204
  }
@@ -1226,7 +1226,7 @@ function zn(e, t) {
1226
1226
  throw on(n);
1227
1227
  }
1228
1228
  case 6: {
1229
- const a = t, r = il(a), s = cl(a);
1229
+ const a = t, r = cl(a), s = ul(a);
1230
1230
  return e.linked(zn(e, s), r ? zn(e, r) : void 0, e.type);
1231
1231
  }
1232
1232
  case 7:
@@ -1237,32 +1237,32 @@ function zn(e, t) {
1237
1237
  throw new Error(`unhandled node on format message part: ${n}`);
1238
1238
  }
1239
1239
  }
1240
- const dl = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1241
- function fl(e, t) {
1242
- t && Ao(e) && at(Sn(dl, { source: e }));
1240
+ const fl = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
1241
+ function ml(e, t) {
1242
+ t && Do(e) && at(In(fl, { source: e }));
1243
1243
  }
1244
- const ml = (e) => e;
1244
+ const pl = (e) => e;
1245
1245
  let hn = ce();
1246
- function pl(e, t = {}) {
1246
+ function vl(e, t = {}) {
1247
1247
  let n = !1;
1248
- const a = t.onError || So;
1248
+ const a = t.onError || Io;
1249
1249
  return t.onError = (r) => {
1250
1250
  n = !0, a(r);
1251
- }, { ...nl(e, t), detectError: n };
1251
+ }, { ...rl(e, t), detectError: n };
1252
1252
  }
1253
1253
  // @__NO_SIDE_EFFECTS__
1254
- function vl(e, t) {
1254
+ function gl(e, t) {
1255
1255
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && M(e)) {
1256
1256
  const n = se(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1257
- process.env.NODE_ENV !== "production" && fl(e, n);
1258
- const r = (t.onCacheKey || ml)(e), s = hn[r];
1257
+ process.env.NODE_ENV !== "production" && ml(e, n);
1258
+ const r = (t.onCacheKey || pl)(e), s = hn[r];
1259
1259
  if (s)
1260
1260
  return s;
1261
- const { ast: o, detectError: l } = pl(e, {
1261
+ const { ast: o, detectError: l } = vl(e, {
1262
1262
  ...t,
1263
1263
  location: process.env.NODE_ENV !== "production",
1264
1264
  jit: !0
1265
- }), i = Rn(o);
1265
+ }), i = $n(o);
1266
1266
  return l ? i : hn[r] = i;
1267
1267
  } else {
1268
1268
  if (process.env.NODE_ENV !== "production" && !Ye(e))
@@ -1270,16 +1270,16 @@ function vl(e, t) {
1270
1270
  const n = e.cacheKey;
1271
1271
  if (n) {
1272
1272
  const a = hn[n];
1273
- return a || (hn[n] = Rn(e));
1273
+ return a || (hn[n] = $n(e));
1274
1274
  } else
1275
- return Rn(e);
1275
+ return $n(e);
1276
1276
  }
1277
1277
  }
1278
1278
  let ln = null;
1279
- function gl(e) {
1279
+ function hl(e) {
1280
1280
  ln = e;
1281
1281
  }
1282
- function hl(e, t, n) {
1282
+ function _l(e, t, n) {
1283
1283
  ln && ln.emit("i18n:init", {
1284
1284
  timestamp: Date.now(),
1285
1285
  i18n: e,
@@ -1287,12 +1287,12 @@ function hl(e, t, n) {
1287
1287
  meta: n
1288
1288
  });
1289
1289
  }
1290
- const _l = /* @__PURE__ */ bl("function:translate");
1291
- function bl(e) {
1290
+ const bl = /* @__PURE__ */ yl("function:translate");
1291
+ function yl(e) {
1292
1292
  return (t) => ln && ln.emit(e, t);
1293
1293
  }
1294
1294
  const De = {
1295
- INVALID_ARGUMENT: wo,
1295
+ INVALID_ARGUMENT: ko,
1296
1296
  // 17
1297
1297
  INVALID_DATE_ARGUMENT: 18,
1298
1298
  INVALID_ISO_DATE_ARGUMENT: 19,
@@ -1300,11 +1300,11 @@ const De = {
1300
1300
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
1301
1301
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
1302
1302
  NOT_SUPPORT_LOCALE_TYPE: 23
1303
- }, yl = 24;
1303
+ }, El = 24;
1304
1304
  function ut(e) {
1305
- return Qt(e, null, process.env.NODE_ENV !== "production" ? { messages: El } : void 0);
1305
+ return Qt(e, null, process.env.NODE_ENV !== "production" ? { messages: Tl } : void 0);
1306
1306
  }
1307
- const El = {
1307
+ const Tl = {
1308
1308
  [De.INVALID_ARGUMENT]: "Invalid arguments",
1309
1309
  [De.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
1310
1310
  [De.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
@@ -1316,24 +1316,24 @@ const El = {
1316
1316
  function _r(e, t) {
1317
1317
  return t.locale != null ? Gr(t.locale) : Gr(e.locale);
1318
1318
  }
1319
- let $n;
1319
+ let Mn;
1320
1320
  function Gr(e) {
1321
1321
  if (M(e))
1322
1322
  return e;
1323
1323
  if (pe(e)) {
1324
- if (e.resolvedOnce && $n != null)
1325
- return $n;
1324
+ if (e.resolvedOnce && Mn != null)
1325
+ return Mn;
1326
1326
  if (e.constructor.name === "Function") {
1327
1327
  const t = e();
1328
- if (co(t))
1328
+ if (uo(t))
1329
1329
  throw ut(De.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
1330
- return $n = t;
1330
+ return Mn = t;
1331
1331
  } else
1332
1332
  throw ut(De.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
1333
1333
  } else
1334
1334
  throw ut(De.NOT_SUPPORT_LOCALE_TYPE);
1335
1335
  }
1336
- function Tl(e, t, n) {
1336
+ function Nl(e, t, n) {
1337
1337
  return [.../* @__PURE__ */ new Set([
1338
1338
  n,
1339
1339
  ...Ne(t) ? t : ae(t) ? Object.keys(t) : M(t) ? [t] : [n]
@@ -1357,20 +1357,20 @@ function Yr(e, t, n) {
1357
1357
  let a = !0;
1358
1358
  for (let r = 0; r < t.length && se(a); r++) {
1359
1359
  const s = t[r];
1360
- M(s) && (a = Nl(e, t[r], n));
1360
+ M(s) && (a = Ol(e, t[r], n));
1361
1361
  }
1362
1362
  return a;
1363
1363
  }
1364
- function Nl(e, t, n) {
1364
+ function Ol(e, t, n) {
1365
1365
  let a;
1366
1366
  const r = t.split("-");
1367
1367
  do {
1368
1368
  const s = r.join("-");
1369
- a = Ol(e, s, n), r.splice(-1, 1);
1369
+ a = Ll(e, s, n), r.splice(-1, 1);
1370
1370
  } while (r.length && a === !0);
1371
1371
  return a;
1372
1372
  }
1373
- function Ol(e, t, n) {
1373
+ function Ll(e, t, n) {
1374
1374
  let a = !1;
1375
1375
  if (!e.includes(t) && (a = !0, t)) {
1376
1376
  a = t[t.length - 1] !== "!";
@@ -1540,15 +1540,15 @@ bt[
1540
1540
  /* Actions.APPEND */
1541
1541
  ]
1542
1542
  };
1543
- const Ll = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1544
- function Cl(e) {
1545
- return Ll.test(e);
1546
- }
1543
+ const Cl = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1547
1544
  function wl(e) {
1545
+ return Cl.test(e);
1546
+ }
1547
+ function kl(e) {
1548
1548
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1549
1549
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1550
1550
  }
1551
- function kl(e) {
1551
+ function Sl(e) {
1552
1552
  if (e == null)
1553
1553
  return "o";
1554
1554
  switch (e.charCodeAt(0)) {
@@ -1585,11 +1585,11 @@ function kl(e) {
1585
1585
  }
1586
1586
  return "i";
1587
1587
  }
1588
- function Sl(e) {
1588
+ function Il(e) {
1589
1589
  const t = e.trim();
1590
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Cl(t) ? wl(t) : "*" + t;
1590
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : wl(t) ? kl(t) : "*" + t;
1591
1591
  }
1592
- function Il(e) {
1592
+ function Al(e) {
1593
1593
  const t = [];
1594
1594
  let n = -1, a = 0, r = 0, s, o, l, i, f, m, v;
1595
1595
  const p = [];
@@ -1621,7 +1621,7 @@ function Il(e) {
1621
1621
  /* Actions.APPEND */
1622
1622
  ]();
1623
1623
  else {
1624
- if (r = 0, o === void 0 || (o = Sl(o), o === !1))
1624
+ if (r = 0, o === void 0 || (o = Il(o), o === !1))
1625
1625
  return !1;
1626
1626
  p[
1627
1627
  1
@@ -1639,21 +1639,21 @@ function Il(e) {
1639
1639
  }
1640
1640
  for (; a !== null; )
1641
1641
  if (n++, s = e[n], !(s === "\\" && g())) {
1642
- if (i = kl(s), v = bt[a], f = v[i] || v.l || 8, f === 8 || (a = f[0], f[1] !== void 0 && (m = p[f[1]], m && (l = s, m() === !1))))
1642
+ if (i = Sl(s), v = bt[a], f = v[i] || v.l || 8, f === 8 || (a = f[0], f[1] !== void 0 && (m = p[f[1]], m && (l = s, m() === !1))))
1643
1643
  return;
1644
1644
  if (a === 7)
1645
1645
  return t;
1646
1646
  }
1647
1647
  }
1648
1648
  const zr = /* @__PURE__ */ new Map();
1649
- function Al(e, t) {
1649
+ function Dl(e, t) {
1650
1650
  return ae(e) ? e[t] : null;
1651
1651
  }
1652
- function Dl(e, t) {
1652
+ function xl(e, t) {
1653
1653
  if (!ae(e))
1654
1654
  return null;
1655
1655
  let n = zr.get(t);
1656
- if (n || (n = Il(t), n && zr.set(t, n)), !n)
1656
+ if (n || (n = Al(t), n && zr.set(t, n)), !n)
1657
1657
  return null;
1658
1658
  const a = n.length;
1659
1659
  let r = e, s = 0;
@@ -1678,7 +1678,7 @@ const we = {
1678
1678
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7,
1679
1679
  INVALID_NUMBER_ARGUMENT: 8,
1680
1680
  INVALID_DATE_ARGUMENT: 9
1681
- }, xt = 10, xl = {
1681
+ }, xt = 10, Pl = {
1682
1682
  [we.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
1683
1683
  [we.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
1684
1684
  [we.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -1690,10 +1690,10 @@ const we = {
1690
1690
  [we.INVALID_DATE_ARGUMENT]: "Invalid argument for datetime formatting: expected a Date, number, or ISO string but received '{value}'."
1691
1691
  };
1692
1692
  function ht(e, ...t) {
1693
- return Sn(xl[e], ...t);
1693
+ return In(Pl[e], ...t);
1694
1694
  }
1695
- const Pl = "11.4.8", An = -1, cn = "en-US", Gt = "", Kr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1696
- function Rl() {
1695
+ const Rl = "11.4.8", Dn = -1, cn = "en-US", Gt = "", Kr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1696
+ function $l() {
1697
1697
  return {
1698
1698
  upper: (e, t) => t === "text" && M(e) ? e.toUpperCase() : t === "vnode" && ae(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
1699
1699
  lower: (e, t) => t === "text" && M(e) ? e.toLowerCase() : t === "vnode" && ae(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
@@ -1701,30 +1701,30 @@ function Rl() {
1701
1701
  };
1702
1702
  }
1703
1703
  let qa;
1704
- function $l(e) {
1704
+ function Ml(e) {
1705
1705
  qa = e;
1706
1706
  }
1707
1707
  let Qa;
1708
- function Ml(e) {
1708
+ function Vl(e) {
1709
1709
  Qa = e;
1710
1710
  }
1711
1711
  let Ja;
1712
- function Vl(e) {
1712
+ function Fl(e) {
1713
1713
  Ja = e;
1714
1714
  }
1715
1715
  let Za = null;
1716
- const Fl = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1716
+ const Ul = /* @__NO_SIDE_EFFECTS__ */ (e) => {
1717
1717
  Za = e;
1718
- }, Ul = /* @__NO_SIDE_EFFECTS__ */ () => Za;
1718
+ }, Wl = /* @__NO_SIDE_EFFECTS__ */ () => Za;
1719
1719
  let es = null;
1720
1720
  const Xr = (e) => {
1721
1721
  es = e;
1722
- }, Wl = () => es;
1722
+ }, Bl = () => es;
1723
1723
  let qr = 0;
1724
- function Bl(e = {}) {
1725
- const t = pe(e.onWarn) ? e.onWarn : at, n = M(e.version) ? e.version : Pl, a = M(e.locale) || pe(e.locale) ? e.locale : cn, r = pe(a) ? cn : a, s = Ne(e.fallbackLocale) || le(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, o = le(e.messages) ? e.messages : Mn(r), l = le(e.datetimeFormats) ? e.datetimeFormats : Mn(r), i = le(e.numberFormats) ? e.numberFormats : Mn(r), f = Ce(ce(), e.modifiers, Rl()), m = e.pluralRules || ce(), v = pe(e.missing) ? e.missing : null, p = se(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, g = se(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, N = !!e.unresolving, O = pe(e.postTranslation) ? e.postTranslation : null, d = le(e.processor) ? e.processor : null, _ = se(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, C = !!e.escapeParameter, h = pe(e.messageCompiler) ? e.messageCompiler : qa;
1724
+ function Hl(e = {}) {
1725
+ const t = pe(e.onWarn) ? e.onWarn : at, n = M(e.version) ? e.version : Rl, a = M(e.locale) || pe(e.locale) ? e.locale : cn, r = pe(a) ? cn : a, s = Ne(e.fallbackLocale) || le(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, o = le(e.messages) ? e.messages : Vn(r), l = le(e.datetimeFormats) ? e.datetimeFormats : Vn(r), i = le(e.numberFormats) ? e.numberFormats : Vn(r), f = Ce(ce(), e.modifiers, $l()), m = e.pluralRules || ce(), v = pe(e.missing) ? e.missing : null, p = se(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, g = se(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, N = !!e.unresolving, L = pe(e.postTranslation) ? e.postTranslation : null, d = le(e.processor) ? e.processor : null, _ = se(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, O = !!e.escapeParameter, h = pe(e.messageCompiler) ? e.messageCompiler : qa;
1726
1726
  process.env.NODE_ENV !== "production" && pe(e.messageCompiler) && pr(ht(we.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1727
- const w = pe(e.messageResolver) ? e.messageResolver : Qa || Al, T = pe(e.localeFallbacker) ? e.localeFallbacker : Ja || Tl, y = ae(e.fallbackContext) ? e.fallbackContext : void 0, W = e, B = ae(W.__datetimeFormatters) ? W.__datetimeFormatters : /* @__PURE__ */ new Map(), Y = ae(W.__numberFormatters) ? W.__numberFormatters : /* @__PURE__ */ new Map(), H = ae(W.__meta) ? W.__meta : {};
1727
+ const k = pe(e.messageResolver) ? e.messageResolver : Qa || Dl, T = pe(e.localeFallbacker) ? e.localeFallbacker : Ja || Nl, y = ae(e.fallbackContext) ? e.fallbackContext : void 0, W = e, B = ae(W.__datetimeFormatters) ? W.__datetimeFormatters : /* @__PURE__ */ new Map(), Y = ae(W.__numberFormatters) ? W.__numberFormatters : /* @__PURE__ */ new Map(), H = ae(W.__meta) ? W.__meta : {};
1728
1728
  qr++;
1729
1729
  const z = {
1730
1730
  version: n,
@@ -1739,20 +1739,20 @@ function Bl(e = {}) {
1739
1739
  fallbackWarn: g,
1740
1740
  fallbackFormat: E,
1741
1741
  unresolving: N,
1742
- postTranslation: O,
1742
+ postTranslation: L,
1743
1743
  processor: d,
1744
1744
  warnHtmlMessage: _,
1745
- escapeParameter: C,
1745
+ escapeParameter: O,
1746
1746
  messageCompiler: h,
1747
- messageResolver: w,
1747
+ messageResolver: k,
1748
1748
  localeFallbacker: T,
1749
1749
  fallbackContext: y,
1750
1750
  onWarn: t,
1751
1751
  __meta: H
1752
1752
  };
1753
- return z.datetimeFormats = l, z.numberFormats = i, z.__datetimeFormatters = B, z.__numberFormatters = Y, process.env.NODE_ENV !== "production" && (z.__v_emitter = W.__v_emitter != null ? W.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && hl(z, n, H), z;
1753
+ return z.datetimeFormats = l, z.numberFormats = i, z.__datetimeFormatters = B, z.__numberFormatters = Y, process.env.NODE_ENV !== "production" && (z.__v_emitter = W.__v_emitter != null ? W.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && _l(z, n, H), z;
1754
1754
  }
1755
- const Mn = (e) => ({ [e]: ce() });
1755
+ const Vn = (e) => ({ [e]: ce() });
1756
1756
  function br(e, t) {
1757
1757
  return e instanceof RegExp ? e.test(t) : e;
1758
1758
  }
@@ -1783,7 +1783,7 @@ function Jt(e, t, n) {
1783
1783
  function rs(e, t) {
1784
1784
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
1785
1785
  }
1786
- function Hl(e, t) {
1786
+ function jl(e, t) {
1787
1787
  const n = t.indexOf(e);
1788
1788
  if (n === -1)
1789
1789
  return !1;
@@ -1859,10 +1859,10 @@ function Jr(e, ...t) {
1859
1859
  }
1860
1860
  const E = as(e, o, g, n, m, v, "datetime format");
1861
1861
  if (!M(E))
1862
- return a ? An : o;
1863
- const N = n[E][o], O = ss(E, o, f);
1864
- let d = s.get(O);
1865
- return d || (d = new Intl.DateTimeFormat(E, Ce({}, N, f)), s.set(O, d)), p ? d.formatToParts(l) : d.format(l);
1862
+ return a ? Dn : o;
1863
+ const N = n[E][o], L = ss(E, o, f);
1864
+ let d = s.get(L);
1865
+ return d || (d = new Intl.DateTimeFormat(E, Ce({}, N, f)), s.set(L, d)), p ? d.formatToParts(l) : d.format(l);
1866
1866
  }
1867
1867
  const cs = [
1868
1868
  "localeMatcher",
@@ -1929,10 +1929,10 @@ function ea(e, ...t) {
1929
1929
  }
1930
1930
  const E = as(e, o, g, n, m, v, "number format");
1931
1931
  if (!M(E))
1932
- return a ? An : o;
1933
- const N = n[E][o], O = ss(E, o, f);
1934
- let d = s.get(O);
1935
- return d || (d = new Intl.NumberFormat(E, Ce({}, N, f)), s.set(O, d)), p ? d.formatToParts(l) : d.format(l);
1932
+ return a ? Dn : o;
1933
+ const N = n[E][o], L = ss(E, o, f);
1934
+ let d = s.get(L);
1935
+ return d || (d = new Intl.NumberFormat(E, Ce({}, N, f)), s.set(L, d)), p ? d.formatToParts(l) : d.format(l);
1936
1936
  }
1937
1937
  const us = [
1938
1938
  "localeMatcher",
@@ -1966,35 +1966,35 @@ function qn(...e) {
1966
1966
  function ta(e, t, n) {
1967
1967
  os(e.__numberFormatters, t, n);
1968
1968
  }
1969
- const jl = (e) => e, Gl = (e) => "", Yl = "text", zl = (e) => e.length === 0 ? "" : mr(e), Kl = uo;
1970
- function Vn(e, t) {
1969
+ const Gl = (e) => e, Yl = (e) => "", zl = "text", Kl = (e) => e.length === 0 ? "" : mr(e), Xl = fo;
1970
+ function Fn(e, t) {
1971
1971
  return e = Math.abs(e), t === 2 ? e === 1 ? 0 : 1 : Math.min(e, 2);
1972
1972
  }
1973
- function Xl(e) {
1973
+ function ql(e) {
1974
1974
  const t = Le(e.pluralIndex) ? e.pluralIndex : -1;
1975
1975
  return Le(e.named?.count) ? e.named.count : Le(e.named?.n) ? e.named.n : t;
1976
1976
  }
1977
- function ql(e = {}) {
1978
- const t = e.locale, n = Xl(e), a = M(t) && pe(e.pluralRules?.[t]) ? e.pluralRules[t] : Vn, r = a === Vn ? void 0 : Vn, s = (d) => d[a(n, d.length, r)], o = e.list || [], l = (d) => o[d], i = e.named || ce();
1977
+ function Ql(e = {}) {
1978
+ const t = e.locale, n = ql(e), a = M(t) && pe(e.pluralRules?.[t]) ? e.pluralRules[t] : Fn, r = a === Fn ? void 0 : Fn, s = (d) => d[a(n, d.length, r)], o = e.list || [], l = (d) => o[d], i = e.named || ce();
1979
1979
  Le(e.pluralIndex) && (i.count ||= e.pluralIndex, i.n ||= e.pluralIndex);
1980
1980
  const f = (d) => i[d];
1981
1981
  function m(d, _) {
1982
- const C = pe(e.messages) ? e.messages(d, !!_) : ae(e.messages) ? e.messages[d] : !1;
1983
- return C || (e.parent ? e.parent.message(d) : Gl);
1982
+ const O = pe(e.messages) ? e.messages(d, !!_) : ae(e.messages) ? e.messages[d] : !1;
1983
+ return O || (e.parent ? e.parent.message(d) : Yl);
1984
1984
  }
1985
- const v = (d) => e.modifiers ? e.modifiers[d] : jl, p = pe(e.processor?.normalize) ? e.processor.normalize : zl, g = pe(e.processor?.interpolate) ? e.processor.interpolate : Kl, E = M(e.processor?.type) ? e.processor.type : Yl, O = {
1985
+ const v = (d) => e.modifiers ? e.modifiers[d] : Gl, p = pe(e.processor?.normalize) ? e.processor.normalize : Kl, g = pe(e.processor?.interpolate) ? e.processor.interpolate : Xl, E = M(e.processor?.type) ? e.processor.type : zl, L = {
1986
1986
  list: l,
1987
1987
  named: f,
1988
1988
  plural: s,
1989
1989
  linked: (d, ..._) => {
1990
- const [C, h] = _;
1991
- let w = "text", T = "";
1992
- _.length === 1 ? ae(C) ? (T = C.modifier || T, w = C.type || w) : M(C) && (T = C || T) : _.length === 2 && (M(C) && (T = C || T), M(h) && (w = h || w));
1993
- const y = m(d, !0)(O), W = y === "" || y === void 0 ? d : y, B = (
1990
+ const [O, h] = _;
1991
+ let k = "text", T = "";
1992
+ _.length === 1 ? ae(O) ? (T = O.modifier || T, k = O.type || k) : M(O) && (T = O || T) : _.length === 2 && (M(O) && (T = O || T), M(h) && (k = h || k));
1993
+ const y = m(d, !0)(L), W = y === "" || y === void 0 ? d : y, B = (
1994
1994
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1995
- w === "vnode" && Ne(W) && T ? W[0] : W
1995
+ k === "vnode" && Ne(W) && T ? W[0] : W
1996
1996
  );
1997
- return T ? v(T)(B, w) : B;
1997
+ return T ? v(T)(B, k) : B;
1998
1998
  },
1999
1999
  message: m,
2000
2000
  type: E,
@@ -2002,30 +2002,30 @@ function ql(e = {}) {
2002
2002
  normalize: p,
2003
2003
  values: Ce(ce(), o, i)
2004
2004
  };
2005
- return O;
2005
+ return L;
2006
2006
  }
2007
2007
  const na = () => "", He = (e) => pe(e);
2008
2008
  function ra(e, ...t) {
2009
- const { fallbackFormat: n, postTranslation: a, unresolving: r, messageCompiler: s, fallbackLocale: o, messages: l } = e, [i, f] = Qn(...t), m = se(f.missingWarn) ? f.missingWarn : e.missingWarn, v = se(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, p = se(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, g = !!f.resolvedMessage, E = M(f.default) || se(f.default) ? se(f.default) ? s ? i : () => i : f.default : n ? s ? i : () => i : null, N = n || E != null && (M(E) || pe(E)), O = _r(e, f);
2010
- p && Ql(f);
2011
- let [d, _, C] = g ? [
2009
+ const { fallbackFormat: n, postTranslation: a, unresolving: r, messageCompiler: s, fallbackLocale: o, messages: l } = e, [i, f] = Qn(...t), m = se(f.missingWarn) ? f.missingWarn : e.missingWarn, v = se(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, p = se(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, g = !!f.resolvedMessage, E = M(f.default) || se(f.default) ? se(f.default) ? s ? i : () => i : f.default : n ? s ? i : () => i : null, N = n || E != null && (M(E) || pe(E)), L = _r(e, f);
2010
+ p && Jl(f);
2011
+ let [d, _, O] = g ? [
2012
2012
  i,
2013
- O,
2014
- l[O] || ce()
2015
- ] : ds(e, i, O, o, v, m), h = d, w = i;
2016
- if (!g && !(M(h) || Ye(h) || He(h)) && N && (h = E, w = h), !g && (!(M(h) || Ye(h) || He(h)) || !M(_)))
2017
- return r ? An : i;
2013
+ L,
2014
+ l[L] || ce()
2015
+ ] : ds(e, i, L, o, v, m), h = d, k = i;
2016
+ if (!g && !(M(h) || Ye(h) || He(h)) && N && (h = E, k = h), !g && (!(M(h) || Ye(h) || He(h)) || !M(_)))
2017
+ return r ? Dn : i;
2018
2018
  if (process.env.NODE_ENV !== "production" && M(h) && e.messageCompiler == null)
2019
2019
  return at(`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;
2020
2020
  let T = !1;
2021
2021
  const y = () => {
2022
2022
  T = !0;
2023
- }, W = He(h) ? h : fs(e, i, _, h, w, y);
2023
+ }, W = He(h) ? h : fs(e, i, _, h, k, y);
2024
2024
  if (T)
2025
2025
  return h;
2026
- const B = ti(e, _, C, f), Y = ql(B), H = Jl(e, W, Y);
2026
+ const B = ni(e, _, O, f), Y = Ql(B), H = Zl(e, W, Y);
2027
2027
  let z = a ? a(H, i) : H;
2028
- if (p && M(z) && (z = Lo(z)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2028
+ if (p && M(z) && (z = Co(z)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2029
2029
  const F = {
2030
2030
  timestamp: Date.now(),
2031
2031
  key: M(i) ? i : He(h) ? h.key : "",
@@ -2033,11 +2033,11 @@ function ra(e, ...t) {
2033
2033
  format: M(h) ? h : He(h) ? h.source : "",
2034
2034
  message: z
2035
2035
  };
2036
- F.meta = Ce({}, e.__meta, /* @__PURE__ */ Ul() || {}), _l(F);
2036
+ F.meta = Ce({}, e.__meta, /* @__PURE__ */ Wl() || {}), bl(F);
2037
2037
  }
2038
2038
  return z;
2039
2039
  }
2040
- function Ql(e) {
2040
+ function Jl(e) {
2041
2041
  Ne(e.list) ? e.list = e.list.map((t) => M(t) ? Fr(t) : t) : ae(e.named) && Object.keys(e.named).forEach((t) => {
2042
2042
  M(e.named[t]) && (e.named[t] = Fr(e.named[t]));
2043
2043
  });
@@ -2045,7 +2045,7 @@ function Ql(e) {
2045
2045
  function ds(e, t, n, a, r, s) {
2046
2046
  const { messages: o, onWarn: l, messageResolver: i, localeFallbacker: f } = e, m = f(e, a, n);
2047
2047
  let v = ce(), p, g = null, E = n, N = null;
2048
- const O = "translate";
2048
+ const L = "translate";
2049
2049
  for (let d = 0; d < m.length; d++) {
2050
2050
  p = N = m[d], process.env.NODE_ENV !== "production" && n !== p && !rs(n, p) && br(r, t) && l(ht(we.FALLBACK_TO_TRANSLATE, {
2051
2051
  key: t,
@@ -2053,33 +2053,33 @@ function ds(e, t, n, a, r, s) {
2053
2053
  }));
2054
2054
  const _ = process.env.NODE_ENV !== "production" ? e.__v_emitter : void 0;
2055
2055
  process.env.NODE_ENV !== "production" && n !== p && _ && _.emit("fallback", {
2056
- type: O,
2056
+ type: L,
2057
2057
  key: t,
2058
2058
  from: E,
2059
2059
  to: N,
2060
- groupId: `${O}:${t}`
2060
+ groupId: `${L}:${t}`
2061
2061
  }), v = o[p] || ce();
2062
- let C = null, h, w;
2063
- if (process.env.NODE_ENV !== "production" && Qe && _ && (C = window.performance.now(), h = "intlify-message-resolve-start", w = "intlify-message-resolve-end", Ve && Ve(h)), (g = i(v, t)) === null && (g = v[t]), process.env.NODE_ENV !== "production" && Qe && _) {
2062
+ let O = null, h, k;
2063
+ if (process.env.NODE_ENV !== "production" && Qe && _ && (O = window.performance.now(), h = "intlify-message-resolve-start", k = "intlify-message-resolve-end", Ve && Ve(h)), (g = i(v, t)) === null && (g = v[t]), process.env.NODE_ENV !== "production" && Qe && _) {
2064
2064
  const T = window.performance.now();
2065
- _ && C && g && _.emit("message-resolve", {
2065
+ _ && O && g && _.emit("message-resolve", {
2066
2066
  type: "message-resolve",
2067
2067
  key: t,
2068
2068
  message: g,
2069
- time: T - C,
2070
- groupId: `${O}:${t}`
2071
- }), h && w && Ve && kt && (Ve(w), kt("intlify message resolve", h, w));
2069
+ time: T - O,
2070
+ groupId: `${L}:${t}`
2071
+ }), h && k && Ve && kt && (Ve(k), kt("intlify message resolve", h, k));
2072
2072
  }
2073
2073
  if (M(g) || Ye(g) || He(g))
2074
2074
  break;
2075
- if (!Hl(p, m)) {
2075
+ if (!jl(p, m)) {
2076
2076
  const T = ns(
2077
2077
  e,
2078
2078
  // eslint-disable-line @typescript-eslint/no-explicit-any
2079
2079
  t,
2080
2080
  p,
2081
2081
  s,
2082
- O
2082
+ L
2083
2083
  );
2084
2084
  T !== t && (g = T);
2085
2085
  }
@@ -2100,7 +2100,7 @@ function fs(e, t, n, a, r, s) {
2100
2100
  const i = process.env.NODE_ENV !== "production" ? e.__v_emitter : void 0;
2101
2101
  let f = null, m, v;
2102
2102
  process.env.NODE_ENV !== "production" && Qe && i && (f = window.performance.now(), m = "intlify-message-compilation-start", v = "intlify-message-compilation-end", Ve && Ve(m));
2103
- const p = o(a, Zl(e, n, r, a, l, s));
2103
+ const p = o(a, ei(e, n, r, a, l, s));
2104
2104
  if (process.env.NODE_ENV !== "production" && Qe && i) {
2105
2105
  const g = window.performance.now();
2106
2106
  i && f && i.emit("message-compilation", {
@@ -2112,7 +2112,7 @@ function fs(e, t, n, a, r, s) {
2112
2112
  }
2113
2113
  return p.locale = n, p.key = t, p.source = a, p;
2114
2114
  }
2115
- function Jl(e, t, n) {
2115
+ function Zl(e, t, n) {
2116
2116
  const a = process.env.NODE_ENV !== "production" ? e.__v_emitter : void 0;
2117
2117
  let r = null, s, o;
2118
2118
  process.env.NODE_ENV !== "production" && Qe && a && (r = window.performance.now(), s = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", Ve && Ve(s));
@@ -2135,14 +2135,14 @@ function Qn(...e) {
2135
2135
  const s = Le(t) ? String(t) : (He(t), t);
2136
2136
  return Le(n) ? r.plural = n : M(n) ? r.default = n : le(n) && !dr(n) ? r.named = n : Ne(n) && (r.list = n), Le(a) ? r.plural = a : M(a) ? r.default = a : le(a) && Ce(r, a), [s, r];
2137
2137
  }
2138
- function Zl(e, t, n, a, r, s) {
2138
+ function ei(e, t, n, a, r, s) {
2139
2139
  return {
2140
2140
  locale: t,
2141
2141
  key: n,
2142
2142
  warnHtmlMessage: r,
2143
2143
  onError: (o) => {
2144
2144
  if (s && s(o), process.env.NODE_ENV !== "production") {
2145
- const l = ei(a), i = o.location && l && fo(l, o.location.start.offset, o.location.end.offset), f = e.__v_emitter;
2145
+ const l = ti(a), i = o.location && l && mo(l, o.location.start.offset, o.location.end.offset), f = e.__v_emitter;
2146
2146
  f && l && f.emit("compile-error", {
2147
2147
  message: l,
2148
2148
  error: o.message,
@@ -2156,16 +2156,16 @@ ${i}` : m);
2156
2156
  }
2157
2157
  throw o;
2158
2158
  },
2159
- onCacheKey: (o) => so(t, n, o)
2159
+ onCacheKey: (o) => oo(t, n, o)
2160
2160
  };
2161
2161
  }
2162
- function ei(e) {
2162
+ function ti(e) {
2163
2163
  if (M(e))
2164
2164
  return e;
2165
2165
  if (e.loc && e.loc.source)
2166
2166
  return e.loc.source;
2167
2167
  }
2168
- function ti(e, t, n, a) {
2168
+ function ni(e, t, n, a) {
2169
2169
  const { modifiers: r, pluralRules: s, messageResolver: o, fallbackLocale: l, fallbackWarn: i, missingWarn: f, fallbackContext: m } = e, p = {
2170
2170
  locale: t,
2171
2171
  modifiers: r,
@@ -2173,7 +2173,7 @@ function ti(e, t, n, a) {
2173
2173
  messages: (g, E) => {
2174
2174
  let N = o(n, g);
2175
2175
  if (N == null && (m || E)) {
2176
- const [O, , d] = ds(
2176
+ const [L, , d] = ds(
2177
2177
  m || e,
2178
2178
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2179
2179
  g,
@@ -2182,36 +2182,36 @@ function ti(e, t, n, a) {
2182
2182
  i,
2183
2183
  f
2184
2184
  );
2185
- N = O ?? o(d, g);
2185
+ N = L ?? o(d, g);
2186
2186
  }
2187
2187
  if (M(N) || Ye(N)) {
2188
- let O = !1;
2188
+ let L = !1;
2189
2189
  const _ = fs(e, g, t, N, g, () => {
2190
- O = !0;
2190
+ L = !0;
2191
2191
  });
2192
- return O ? na : _;
2192
+ return L ? na : _;
2193
2193
  } else return He(N) ? N : na;
2194
2194
  }
2195
2195
  };
2196
2196
  return e.processor && (p.processor = e.processor), a.list && (p.list = a.list), a.named && (p.named = a.named), Le(a.plural) && (p.pluralIndex = a.plural), p;
2197
2197
  }
2198
- rl();
2199
- function ni() {
2198
+ al();
2199
+ function ri() {
2200
2200
  return ms().__VUE_DEVTOOLS_GLOBAL_HOOK__;
2201
2201
  }
2202
2202
  function ms() {
2203
2203
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
2204
2204
  }
2205
- const ri = typeof Proxy == "function", ai = "devtools-plugin:setup", si = "plugin:settings:set";
2205
+ const ai = typeof Proxy == "function", si = "devtools-plugin:setup", oi = "plugin:settings:set";
2206
2206
  let Pt, Jn;
2207
- function oi() {
2207
+ function li() {
2208
2208
  var e;
2209
2209
  return Pt !== void 0 || (typeof window < "u" && window.performance ? (Pt = !0, Jn = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (Pt = !0, Jn = globalThis.perf_hooks.performance) : Pt = !1), Pt;
2210
2210
  }
2211
- function li() {
2212
- return oi() ? Jn.now() : Date.now();
2211
+ function ii() {
2212
+ return li() ? Jn.now() : Date.now();
2213
2213
  }
2214
- class ii {
2214
+ class ci {
2215
2215
  constructor(t, n) {
2216
2216
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
2217
2217
  const a = {};
@@ -2239,9 +2239,9 @@ class ii {
2239
2239
  s = o;
2240
2240
  },
2241
2241
  now() {
2242
- return li();
2242
+ return ii();
2243
2243
  }
2244
- }, n && n.on(si, (o, l) => {
2244
+ }, n && n.on(oi, (o, l) => {
2245
2245
  o === this.plugin.id && this.fallbacks.setSettings(l);
2246
2246
  }), this.proxiedOn = new Proxy({}, {
2247
2247
  get: (o, l) => this.target ? this.target.on[l] : (...i) => {
@@ -2273,12 +2273,12 @@ class ii {
2273
2273
  n.resolve(await this.target[n.method](...n.args));
2274
2274
  }
2275
2275
  }
2276
- function ci(e, t) {
2277
- const n = e, a = ms(), r = ni(), s = ri && n.enableEarlyProxy;
2276
+ function ui(e, t) {
2277
+ const n = e, a = ms(), r = ri(), s = ai && n.enableEarlyProxy;
2278
2278
  if (r && (a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !s))
2279
- r.emit(ai, e, t);
2279
+ r.emit(si, e, t);
2280
2280
  else {
2281
- const o = s ? new ii(n, r) : null;
2281
+ const o = s ? new ci(n, r) : null;
2282
2282
  (a.__VUE_DEVTOOLS_PLUGINS__ = a.__VUE_DEVTOOLS_PLUGINS__ || []).push({
2283
2283
  pluginDescriptor: n,
2284
2284
  setupFn: t,
@@ -2291,13 +2291,13 @@ function ci(e, t) {
2291
2291
  * (c) 2026 kazuya kawaguchi
2292
2292
  * Released under the MIT License.
2293
2293
  */
2294
- const ui = "11.4.8";
2295
- function di() {
2294
+ const di = "11.4.8";
2295
+ function fi() {
2296
2296
  typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Lt().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Lt().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Lt().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Lt().__INTLIFY_PROD_DEVTOOLS__ = !1);
2297
2297
  }
2298
2298
  const ue = {
2299
2299
  // composer module errors
2300
- UNEXPECTED_RETURN_TYPE: yl,
2300
+ UNEXPECTED_RETURN_TYPE: El,
2301
2301
  // 24
2302
2302
  // legacy module errors
2303
2303
  INVALID_ARGUMENT: 25,
@@ -2318,9 +2318,9 @@ const ue = {
2318
2318
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2319
2319
  };
2320
2320
  function Pe(e, ...t) {
2321
- return Qt(e, null, process.env.NODE_ENV !== "production" ? { messages: fi, args: t } : void 0);
2321
+ return Qt(e, null, process.env.NODE_ENV !== "production" ? { messages: mi, args: t } : void 0);
2322
2322
  }
2323
- const fi = {
2323
+ const mi = {
2324
2324
  [ue.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
2325
2325
  [ue.INVALID_ARGUMENT]: "Invalid argument",
2326
2326
  [ue.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -2347,7 +2347,7 @@ const fi = {
2347
2347
  DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: xt + 4,
2348
2348
  // duplicate `useI18n` calling
2349
2349
  DUPLICATE_USE_I18N_CALLING: xt + 5
2350
- }, mi = {
2350
+ }, pi = {
2351
2351
  [je.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
2352
2352
  [je.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
2353
2353
  [je.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
@@ -2363,7 +2363,7 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2363
2363
  [je.DUPLICATE_USE_I18N_CALLING]: "Duplicate `useI18n` calling by local scope. Please don't call it on local scope, due to it does not work properly in component."
2364
2364
  };
2365
2365
  function Yt(e, ...t) {
2366
- return Sn(mi[e], ...t);
2366
+ return In(pi[e], ...t);
2367
2367
  }
2368
2368
  function un(e) {
2369
2369
  if (!ae(e) || Ye(e))
@@ -2435,23 +2435,23 @@ function hs(e, t, n) {
2435
2435
  }
2436
2436
  }
2437
2437
  function aa(e) {
2438
- return ie(Ks, null, e, 0);
2438
+ return ie(Xs, null, e, 0);
2439
2439
  }
2440
2440
  function Vt() {
2441
2441
  const e = "currentInstance";
2442
- return e in xn ? xn[e] : xn.getCurrentInstance();
2442
+ return e in Pn ? Pn[e] : Pn.getCurrentInstance();
2443
2443
  }
2444
- const sa = "__INTLIFY_META__", oa = () => [], pi = () => !1;
2444
+ const sa = "__INTLIFY_META__", oa = () => [], vi = () => !1;
2445
2445
  let la = 0;
2446
2446
  function ia(e) {
2447
2447
  return ((t, n, a, r) => e(n, a, Vt() || void 0, r));
2448
2448
  }
2449
- const vi = /* @__NO_SIDE_EFFECTS__ */ () => {
2449
+ const gi = /* @__NO_SIDE_EFFECTS__ */ () => {
2450
2450
  const e = Vt();
2451
2451
  let t = null;
2452
2452
  return e && (t = gs(e)[sa]) ? { [sa]: t } : null;
2453
2453
  };
2454
- function Tn(e = {}) {
2454
+ function Nn(e = {}) {
2455
2455
  const { __root: t, __injectWithOption: n } = e, a = t === void 0, r = e.flatJson, s = Qe ? G : Gs;
2456
2456
  let o = se(e.inheritLocale) ? e.inheritLocale : !0;
2457
2457
  const l = s(
@@ -2461,17 +2461,17 @@ function Tn(e = {}) {
2461
2461
  // prettier-ignore
2462
2462
  t && o ? t.fallbackLocale.value : M(e.fallbackLocale) || Ne(e.fallbackLocale) || le(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
2463
2463
  ), f = s(yr(l.value, e)), m = s(le(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), v = s(le(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
2464
- let p = t ? t.missingWarn : se(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, g = t ? t.fallbackWarn : se(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = t ? t.fallbackRoot : se(e.fallbackRoot) ? e.fallbackRoot : !0, N = !!e.fallbackFormat, O = pe(e.missing) ? e.missing : null, d = pe(e.missing) ? ia(e.missing) : null, _ = pe(e.postTranslation) ? e.postTranslation : null, C = t ? t.warnHtmlMessage : se(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
2465
- const w = t ? t.modifiers : le(e.modifiers) ? e.modifiers : {};
2464
+ let p = t ? t.missingWarn : se(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, g = t ? t.fallbackWarn : se(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = t ? t.fallbackRoot : se(e.fallbackRoot) ? e.fallbackRoot : !0, N = !!e.fallbackFormat, L = pe(e.missing) ? e.missing : null, d = pe(e.missing) ? ia(e.missing) : null, _ = pe(e.postTranslation) ? e.postTranslation : null, O = t ? t.warnHtmlMessage : se(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
2465
+ const k = t ? t.modifiers : le(e.modifiers) ? e.modifiers : {};
2466
2466
  let T = e.pluralRules || t && t.pluralRules, y;
2467
2467
  y = (() => {
2468
2468
  a && Xr(null);
2469
- const L = {
2470
- version: ui,
2469
+ const C = {
2470
+ version: di,
2471
2471
  locale: l.value,
2472
2472
  fallbackLocale: i.value,
2473
2473
  messages: f.value,
2474
- modifiers: w,
2474
+ modifiers: k,
2475
2475
  pluralRules: T,
2476
2476
  missing: d === null ? void 0 : d,
2477
2477
  missingWarn: p,
@@ -2479,14 +2479,14 @@ function Tn(e = {}) {
2479
2479
  fallbackFormat: N,
2480
2480
  unresolving: !0,
2481
2481
  postTranslation: _ === null ? void 0 : _,
2482
- warnHtmlMessage: C,
2482
+ warnHtmlMessage: O,
2483
2483
  escapeParameter: h,
2484
2484
  messageResolver: e.messageResolver,
2485
2485
  messageCompiler: e.messageCompiler,
2486
2486
  __meta: { framework: "vue" }
2487
2487
  };
2488
- L.datetimeFormats = m.value, L.numberFormats = v.value, L.__datetimeFormatters = le(y) ? y.__datetimeFormatters : void 0, L.__numberFormatters = le(y) ? y.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (L.__v_emitter = le(y) ? y.__v_emitter : void 0);
2489
- const D = Bl(L);
2488
+ C.datetimeFormats = m.value, C.numberFormats = v.value, C.__datetimeFormatters = le(y) ? y.__datetimeFormatters : void 0, C.__numberFormatters = le(y) ? y.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (C.__v_emitter = le(y) ? y.__v_emitter : void 0);
2489
+ const D = Hl(C);
2490
2490
  return a && Xr(D), D;
2491
2491
  })(), Jt(y, l.value, i.value);
2492
2492
  function B() {
@@ -2500,42 +2500,42 @@ function Tn(e = {}) {
2500
2500
  }
2501
2501
  const Y = A({
2502
2502
  get: () => l.value,
2503
- set: (L) => {
2504
- y.locale = L, l.value = L;
2503
+ set: (C) => {
2504
+ y.locale = C, l.value = C;
2505
2505
  }
2506
2506
  }), H = A({
2507
2507
  get: () => i.value,
2508
- set: (L) => {
2509
- y.fallbackLocale = L, i.value = L, Jt(y, l.value, L);
2508
+ set: (C) => {
2509
+ y.fallbackLocale = C, i.value = C, Jt(y, l.value, C);
2510
2510
  }
2511
2511
  }), z = A(() => f.value), F = /* @__PURE__ */ A(() => m.value), q = /* @__PURE__ */ A(() => v.value);
2512
2512
  function ge() {
2513
2513
  return pe(_) ? _ : null;
2514
2514
  }
2515
- function S(L) {
2516
- _ = L, y.postTranslation = L;
2515
+ function S(C) {
2516
+ _ = C, y.postTranslation = C;
2517
2517
  }
2518
2518
  function I() {
2519
- return O;
2519
+ return L;
2520
2520
  }
2521
- function R(L) {
2522
- L !== null && (d = ia(L)), O = L, y.missing = d;
2521
+ function R(C) {
2522
+ C !== null && (d = ia(C)), L = C, y.missing = d;
2523
2523
  }
2524
- function V(L, D) {
2525
- return L !== "translate" || !D.resolvedMessage;
2524
+ function V(C, D) {
2525
+ return C !== "translate" || !D.resolvedMessage;
2526
2526
  }
2527
- const j = (L, D, re, _e, Tt, Nt) => {
2527
+ const j = (C, D, re, _e, Tt, Nt) => {
2528
2528
  B();
2529
2529
  let We;
2530
2530
  try {
2531
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (y.fallbackContext = t ? Wl() : void 0), We = L(y);
2531
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (y.fallbackContext = t ? Bl() : void 0), We = C(y);
2532
2532
  } finally {
2533
2533
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, a || (y.fallbackContext = void 0);
2534
2534
  }
2535
2535
  if (re !== "translate exists" && // for not `te` (e.g `t`)
2536
- Le(We) && We === An || re === "translate exists" && !We) {
2537
- const [Ot, Bs] = D();
2538
- if (process.env.NODE_ENV !== "production" && t && M(Ot) && V(re, Bs) && (E && (br(g, Ot) || ts(p, Ot)) && at(Yt(je.FALLBACK_TO_ROOT, {
2536
+ Le(We) && We === Dn || re === "translate exists" && !We) {
2537
+ const [Ot, Hs] = D();
2538
+ if (process.env.NODE_ENV !== "production" && t && M(Ot) && V(re, Hs) && (E && (br(g, Ot) || ts(p, Ot)) && at(Yt(je.FALLBACK_TO_ROOT, {
2539
2539
  key: Ot,
2540
2540
  type: re
2541
2541
  })), process.env.NODE_ENV !== "production")) {
@@ -2554,69 +2554,69 @@ function Tn(e = {}) {
2554
2554
  throw Pe(ue.UNEXPECTED_RETURN_TYPE);
2555
2555
  }
2556
2556
  };
2557
- function Z(...L) {
2558
- return j((D) => Reflect.apply(ra, null, [D, ...L]), () => Qn(...L), "translate", (D) => Reflect.apply(D.t, D, [...L]), (D) => D, (D) => M(D));
2557
+ function Z(...C) {
2558
+ return j((D) => Reflect.apply(ra, null, [D, ...C]), () => Qn(...C), "translate", (D) => Reflect.apply(D.t, D, [...C]), (D) => D, (D) => M(D));
2559
2559
  }
2560
- function oe(...L) {
2561
- const [D, re, _e] = L;
2560
+ function oe(...C) {
2561
+ const [D, re, _e] = C;
2562
2562
  if (_e && !ae(_e))
2563
2563
  throw Pe(ue.INVALID_ARGUMENT);
2564
2564
  return Z(D, re, Ce({ resolvedMessage: !0 }, _e || {}));
2565
2565
  }
2566
- function he(...L) {
2567
- return j((D) => Reflect.apply(Jr, null, [D, ...L]), () => Xn(...L), "datetime format", (D) => Reflect.apply(D.d, D, [...L]), () => Gt, (D) => M(D) || Ne(D));
2566
+ function he(...C) {
2567
+ return j((D) => Reflect.apply(Jr, null, [D, ...C]), () => Xn(...C), "datetime format", (D) => Reflect.apply(D.d, D, [...C]), () => Gt, (D) => M(D) || Ne(D));
2568
2568
  }
2569
- function Re(...L) {
2570
- return j((D) => Reflect.apply(ea, null, [D, ...L]), () => qn(...L), "number format", (D) => Reflect.apply(D.n, D, [...L]), () => Gt, (D) => M(D) || Ne(D));
2569
+ function Re(...C) {
2570
+ return j((D) => Reflect.apply(ea, null, [D, ...C]), () => qn(...C), "number format", (D) => Reflect.apply(D.n, D, [...C]), () => Gt, (D) => M(D) || Ne(D));
2571
2571
  }
2572
- function Se(L) {
2573
- return L.map((D) => M(D) || Le(D) || se(D) ? aa(String(D)) : D);
2572
+ function Se(C) {
2573
+ return C.map((D) => M(D) || Le(D) || se(D) ? aa(String(D)) : D);
2574
2574
  }
2575
2575
  const $ = {
2576
2576
  normalize: Se,
2577
- interpolate: (L) => L,
2577
+ interpolate: (C) => C,
2578
2578
  type: "vnode"
2579
2579
  };
2580
- function fe(...L) {
2580
+ function fe(...C) {
2581
2581
  return j((D) => {
2582
2582
  let re;
2583
2583
  const _e = D;
2584
2584
  try {
2585
- _e.processor = $, re = Reflect.apply(ra, null, [_e, ...L]);
2585
+ _e.processor = $, re = Reflect.apply(ra, null, [_e, ...C]);
2586
2586
  } finally {
2587
2587
  _e.processor = null;
2588
2588
  }
2589
2589
  return re;
2590
- }, () => Qn(...L), "translate", (D) => D[Zn](...L), (D) => [aa(D)], (D) => Ne(D));
2590
+ }, () => Qn(...C), "translate", (D) => D[Zn](...C), (D) => [aa(D)], (D) => Ne(D));
2591
2591
  }
2592
- function Ee(...L) {
2593
- return j((D) => Reflect.apply(ea, null, [D, ...L]), () => qn(...L), "number format", (D) => D[tr](...L), oa, (D) => M(D) || Ne(D));
2592
+ function Ee(...C) {
2593
+ return j((D) => Reflect.apply(ea, null, [D, ...C]), () => qn(...C), "number format", (D) => D[tr](...C), oa, (D) => M(D) || Ne(D));
2594
2594
  }
2595
- function Ie(...L) {
2596
- return j((D) => Reflect.apply(Jr, null, [D, ...L]), () => Xn(...L), "datetime format", (D) => D[er](...L), oa, (D) => M(D) || Ne(D));
2595
+ function Ie(...C) {
2596
+ return j((D) => Reflect.apply(Jr, null, [D, ...C]), () => Xn(...C), "datetime format", (D) => D[er](...C), oa, (D) => M(D) || Ne(D));
2597
2597
  }
2598
- function lt(L) {
2599
- T = L, y.pluralRules = T;
2598
+ function lt(C) {
2599
+ T = C, y.pluralRules = T;
2600
2600
  }
2601
- function Et(L, D) {
2601
+ function Et(C, D) {
2602
2602
  return j(() => {
2603
- if (!L)
2603
+ if (!C)
2604
2604
  return !1;
2605
2605
  const re = M(D) ? D : l.value, _e = M(D) ? [re] : Kn(y, i.value, re);
2606
2606
  for (let Tt = 0; Tt < _e.length; Tt++) {
2607
2607
  const Nt = Ue(_e[Tt]);
2608
- let We = y.messageResolver(Nt, L);
2609
- if (We === null && (We = Nt[L]), Ye(We) || He(We) || M(We))
2608
+ let We = y.messageResolver(Nt, C);
2609
+ if (We === null && (We = Nt[C]), Ye(We) || He(We) || M(We))
2610
2610
  return !0;
2611
2611
  }
2612
2612
  return !1;
2613
- }, () => [L], "translate exists", (re) => Reflect.apply(re.te, re, [L, D]), pi, (re) => se(re));
2613
+ }, () => [C], "translate exists", (re) => Reflect.apply(re.te, re, [C, D]), vi, (re) => se(re));
2614
2614
  }
2615
- function Ze(L) {
2615
+ function Ze(C) {
2616
2616
  let D = null;
2617
2617
  const re = Kn(y, i.value, l.value);
2618
2618
  for (let _e = 0; _e < re.length; _e++) {
2619
- const Tt = f.value[re[_e]] || {}, Nt = y.messageResolver(Tt, L);
2619
+ const Tt = f.value[re[_e]] || {}, Nt = y.messageResolver(Tt, C);
2620
2620
  if (Nt != null) {
2621
2621
  D = Nt;
2622
2622
  break;
@@ -2624,52 +2624,52 @@ function Tn(e = {}) {
2624
2624
  }
2625
2625
  return D;
2626
2626
  }
2627
- function it(L) {
2628
- const D = Ze(L);
2629
- return D ?? (t ? t.tm(L) || {} : {});
2627
+ function it(C) {
2628
+ const D = Ze(C);
2629
+ return D ?? (t ? t.tm(C) || {} : {});
2630
2630
  }
2631
- function Ue(L) {
2632
- return f.value[L] || {};
2631
+ function Ue(C) {
2632
+ return f.value[C] || {};
2633
2633
  }
2634
- function et(L, D) {
2634
+ function et(C, D) {
2635
2635
  if (r) {
2636
- const re = { [L]: D };
2636
+ const re = { [C]: D };
2637
2637
  for (const _e in re)
2638
2638
  Ge(re, _e) && un(re[_e]);
2639
- D = re[L];
2639
+ D = re[C];
2640
2640
  }
2641
- f.value[L] = D, y.messages = f.value;
2641
+ f.value[C] = D, y.messages = f.value;
2642
2642
  }
2643
- function pt(L, D) {
2644
- f.value[L] = f.value[L] || {};
2645
- const re = { [L]: D };
2643
+ function pt(C, D) {
2644
+ f.value[C] = f.value[C] || {};
2645
+ const re = { [C]: D };
2646
2646
  if (r)
2647
2647
  for (const _e in re)
2648
2648
  Ge(re, _e) && un(re[_e]);
2649
- D = re[L], yn(D, f.value[L]), y.messages = f.value;
2649
+ D = re[C], yn(D, f.value[C]), y.messages = f.value;
2650
2650
  }
2651
- function c(L) {
2652
- return m.value[L] || {};
2651
+ function c(C) {
2652
+ return m.value[C] || {};
2653
2653
  }
2654
- function u(L, D) {
2655
- m.value[L] = D, y.datetimeFormats = m.value, Zr(y, L, D);
2654
+ function u(C, D) {
2655
+ m.value[C] = D, y.datetimeFormats = m.value, Zr(y, C, D);
2656
2656
  }
2657
- function b(L, D) {
2658
- m.value[L] = Ce(m.value[L] || {}, D), y.datetimeFormats = m.value, Zr(y, L, D);
2657
+ function b(C, D) {
2658
+ m.value[C] = Ce(m.value[C] || {}, D), y.datetimeFormats = m.value, Zr(y, C, D);
2659
2659
  }
2660
- function P(L) {
2661
- return v.value[L] || {};
2660
+ function P(C) {
2661
+ return v.value[C] || {};
2662
2662
  }
2663
- function Q(L, D) {
2664
- v.value[L] = D, y.numberFormats = v.value, ta(y, L, D);
2663
+ function Q(C, D) {
2664
+ v.value[C] = D, y.numberFormats = v.value, ta(y, C, D);
2665
2665
  }
2666
- function me(L, D) {
2667
- v.value[L] = Ce(v.value[L] || {}, D), y.numberFormats = v.value, ta(y, L, D);
2666
+ function me(C, D) {
2667
+ v.value[C] = Ce(v.value[C] || {}, D), y.numberFormats = v.value, ta(y, C, D);
2668
2668
  }
2669
- la++, t && Qe && (be(t.locale, (L) => {
2670
- o && (l.value = L, y.locale = L, Jt(y, l.value, i.value));
2671
- }), be(t.fallbackLocale, (L) => {
2672
- o && (i.value = L, y.fallbackLocale = L, Jt(y, l.value, i.value));
2669
+ la++, t && Qe && (be(t.locale, (C) => {
2670
+ o && (l.value = C, y.locale = C, Jt(y, l.value, i.value));
2671
+ }), be(t.fallbackLocale, (C) => {
2672
+ o && (i.value = C, y.fallbackLocale = C, Jt(y, l.value, i.value));
2673
2673
  }));
2674
2674
  const ne = {
2675
2675
  id: la,
@@ -2678,15 +2678,15 @@ function Tn(e = {}) {
2678
2678
  get inheritLocale() {
2679
2679
  return o;
2680
2680
  },
2681
- set inheritLocale(L) {
2682
- o = L, L && t && (l.value = t.locale.value, i.value = t.fallbackLocale.value, Jt(y, l.value, i.value));
2681
+ set inheritLocale(C) {
2682
+ o = C, C && t && (l.value = t.locale.value, i.value = t.fallbackLocale.value, Jt(y, l.value, i.value));
2683
2683
  },
2684
2684
  get availableLocales() {
2685
2685
  return Object.keys(f.value).sort();
2686
2686
  },
2687
2687
  messages: z,
2688
2688
  get modifiers() {
2689
- return w;
2689
+ return k;
2690
2690
  },
2691
2691
  get pluralRules() {
2692
2692
  return T || {};
@@ -2697,38 +2697,38 @@ function Tn(e = {}) {
2697
2697
  get missingWarn() {
2698
2698
  return p;
2699
2699
  },
2700
- set missingWarn(L) {
2701
- p = L, y.missingWarn = p;
2700
+ set missingWarn(C) {
2701
+ p = C, y.missingWarn = p;
2702
2702
  },
2703
2703
  get fallbackWarn() {
2704
2704
  return g;
2705
2705
  },
2706
- set fallbackWarn(L) {
2707
- g = L, y.fallbackWarn = g;
2706
+ set fallbackWarn(C) {
2707
+ g = C, y.fallbackWarn = g;
2708
2708
  },
2709
2709
  get fallbackRoot() {
2710
2710
  return E;
2711
2711
  },
2712
- set fallbackRoot(L) {
2713
- E = L;
2712
+ set fallbackRoot(C) {
2713
+ E = C;
2714
2714
  },
2715
2715
  get fallbackFormat() {
2716
2716
  return N;
2717
2717
  },
2718
- set fallbackFormat(L) {
2719
- N = L, y.fallbackFormat = N;
2718
+ set fallbackFormat(C) {
2719
+ N = C, y.fallbackFormat = N;
2720
2720
  },
2721
2721
  get warnHtmlMessage() {
2722
- return C;
2722
+ return O;
2723
2723
  },
2724
- set warnHtmlMessage(L) {
2725
- C = L, y.warnHtmlMessage = L;
2724
+ set warnHtmlMessage(C) {
2725
+ O = C, y.warnHtmlMessage = C;
2726
2726
  },
2727
2727
  get escapeParameter() {
2728
2728
  return h;
2729
2729
  },
2730
- set escapeParameter(L) {
2731
- h = L, y.escapeParameter = L;
2730
+ set escapeParameter(C) {
2731
+ h = C, y.escapeParameter = C;
2732
2732
  },
2733
2733
  t: Z,
2734
2734
  getLocaleMessage: Ue,
@@ -2740,28 +2740,28 @@ function Tn(e = {}) {
2740
2740
  setMissingHandler: R,
2741
2741
  [ps]: lt
2742
2742
  };
2743
- return ne.datetimeFormats = F, ne.numberFormats = q, ne.rt = oe, ne.te = Et, ne.tm = it, ne.d = he, ne.n = Re, ne.getDateTimeFormat = c, ne.setDateTimeFormat = u, ne.mergeDateTimeFormat = b, ne.getNumberFormat = P, ne.setNumberFormat = Q, ne.mergeNumberFormat = me, ne[vs] = n, ne[Zn] = fe, ne[er] = Ie, ne[tr] = Ee, process.env.NODE_ENV !== "production" && (ne[ft] = (L) => {
2744
- y.__v_emitter = L;
2743
+ return ne.datetimeFormats = F, ne.numberFormats = q, ne.rt = oe, ne.te = Et, ne.tm = it, ne.d = he, ne.n = Re, ne.getDateTimeFormat = c, ne.setDateTimeFormat = u, ne.mergeDateTimeFormat = b, ne.getNumberFormat = P, ne.setNumberFormat = Q, ne.mergeNumberFormat = me, ne[vs] = n, ne[Zn] = fe, ne[er] = Ie, ne[tr] = Ee, process.env.NODE_ENV !== "production" && (ne[ft] = (C) => {
2744
+ y.__v_emitter = C;
2745
2745
  }, ne[St] = () => {
2746
2746
  y.__v_emitter = void 0;
2747
2747
  }), ne;
2748
2748
  }
2749
- const _s = "vue-i18n: composer properties", Fn = {
2749
+ const _s = "vue-i18n: composer properties", Un = {
2750
2750
  "vue-devtools-plugin-vue-i18n": "Vue I18n DevTools",
2751
2751
  "vue-i18n-resource-inspector": "Vue I18n DevTools",
2752
2752
  "vue-i18n-timeline": "Vue I18n"
2753
- }, gi = {
2754
- "vue-i18n-resource-inspector": "Search for scopes ..."
2755
2753
  }, hi = {
2754
+ "vue-i18n-resource-inspector": "Search for scopes ..."
2755
+ }, _i = {
2756
2756
  "vue-i18n-timeline": 16764185
2757
2757
  };
2758
2758
  let nr;
2759
- async function _i(e, t) {
2759
+ async function bi(e, t) {
2760
2760
  return new Promise((n, a) => {
2761
2761
  try {
2762
- ci({
2762
+ ui({
2763
2763
  id: "vue-devtools-plugin-vue-i18n",
2764
- label: Fn["vue-devtools-plugin-vue-i18n"],
2764
+ label: Un["vue-devtools-plugin-vue-i18n"],
2765
2765
  packageName: "vue-i18n",
2766
2766
  homepage: "https://vue-i18n.intlify.dev",
2767
2767
  logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
@@ -2770,36 +2770,36 @@ async function _i(e, t) {
2770
2770
  // eslint-disable-line @typescript-eslint/no-explicit-any
2771
2771
  }, (r) => {
2772
2772
  nr = r, r.on.visitComponentTree(({ componentInstance: o, treeNode: l }) => {
2773
- bi(o, l, t);
2773
+ yi(o, l, t);
2774
2774
  }), r.on.inspectComponent(({ componentInstance: o, instanceData: l }) => {
2775
2775
  o.__VUE_I18N__ && l && (t.mode === "legacy" ? o.__VUE_I18N__ !== t.global.__composer && ca(l, o.__VUE_I18N__) : ca(l, o.__VUE_I18N__));
2776
2776
  }), r.addInspector({
2777
2777
  id: "vue-i18n-resource-inspector",
2778
- label: Fn["vue-i18n-resource-inspector"],
2778
+ label: Un["vue-i18n-resource-inspector"],
2779
2779
  icon: "language",
2780
- treeFilterPlaceholder: gi["vue-i18n-resource-inspector"]
2780
+ treeFilterPlaceholder: hi["vue-i18n-resource-inspector"]
2781
2781
  }), r.on.getInspectorTree((o) => {
2782
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Oi(o, t);
2782
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Li(o, t);
2783
2783
  });
2784
2784
  const s = /* @__PURE__ */ new Map();
2785
2785
  r.on.getInspectorState(async (o) => {
2786
2786
  if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
2787
- if (r.unhighlightElement(), Ci(o, t), o.nodeId === "global") {
2787
+ if (r.unhighlightElement(), wi(o, t), o.nodeId === "global") {
2788
2788
  if (!s.has(o.app)) {
2789
2789
  const [l] = await r.getComponentInstances(o.app);
2790
2790
  s.set(o.app, l);
2791
2791
  }
2792
2792
  r.highlightElement(s.get(o.app));
2793
2793
  } else {
2794
- const l = Li(o.nodeId, t);
2794
+ const l = Ci(o.nodeId, t);
2795
2795
  l && r.highlightElement(l);
2796
2796
  }
2797
2797
  }), r.on.editInspectorState((o) => {
2798
- o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && ki(o, t);
2798
+ o.app === e && o.inspectorId === "vue-i18n-resource-inspector" && Si(o, t);
2799
2799
  }), r.addTimelineLayer({
2800
2800
  id: "vue-i18n-timeline",
2801
- label: Fn["vue-i18n-timeline"],
2802
- color: hi["vue-i18n-timeline"]
2801
+ label: Un["vue-i18n-timeline"],
2802
+ color: _i["vue-i18n-timeline"]
2803
2803
  }), n(!0);
2804
2804
  });
2805
2805
  } catch (r) {
@@ -2810,7 +2810,7 @@ async function _i(e, t) {
2810
2810
  function bs(e) {
2811
2811
  return e.type.name || e.type.displayName || e.type.__file || "Anonymous";
2812
2812
  }
2813
- function bi(e, t, n) {
2813
+ function yi(e, t, n) {
2814
2814
  const a = n.mode === "composition" ? n.global : n.global.__composer;
2815
2815
  if (e && e.__VUE_I18N__ && e.__VUE_I18N__ !== a) {
2816
2816
  const r = {
@@ -2864,30 +2864,30 @@ function Er(e) {
2864
2864
  const t = {};
2865
2865
  return Object.keys(e).forEach((n) => {
2866
2866
  const a = e[n];
2867
- pe(a) && "source" in a ? t[n] = Ni(a) : Ye(a) && a.loc && a.loc.source ? t[n] = a.loc.source : ae(a) ? t[n] = Er(a) : t[n] = a;
2867
+ pe(a) && "source" in a ? t[n] = Oi(a) : Ye(a) && a.loc && a.loc.source ? t[n] = a.loc.source : ae(a) ? t[n] = Er(a) : t[n] = a;
2868
2868
  }), t;
2869
2869
  }
2870
- const yi = {
2870
+ const Ei = {
2871
2871
  "<": "&lt;",
2872
2872
  ">": "&gt;",
2873
2873
  '"': "&quot;",
2874
2874
  "&": "&amp;"
2875
2875
  };
2876
- function Ei(e) {
2877
- return e.replace(/[<>"&]/g, Ti);
2878
- }
2879
2876
  function Ti(e) {
2880
- return yi[e] || e;
2877
+ return e.replace(/[<>"&]/g, Ni);
2881
2878
  }
2882
2879
  function Ni(e) {
2880
+ return Ei[e] || e;
2881
+ }
2882
+ function Oi(e) {
2883
2883
  return {
2884
2884
  _custom: {
2885
2885
  type: "function",
2886
- display: `<span>ƒ</span> ${e.source ? `("${Ei(e.source)}")` : "(?)"}`
2886
+ display: `<span>ƒ</span> ${e.source ? `("${Ti(e.source)}")` : "(?)"}`
2887
2887
  }
2888
2888
  };
2889
2889
  }
2890
- function Oi(e, t) {
2890
+ function Li(e, t) {
2891
2891
  e.rootNodes.push({
2892
2892
  id: "global",
2893
2893
  label: "Global Scope"
@@ -2901,7 +2901,7 @@ function Oi(e, t) {
2901
2901
  });
2902
2902
  }
2903
2903
  }
2904
- function Li(e, t) {
2904
+ function Ci(e, t) {
2905
2905
  let n = null;
2906
2906
  if (e !== "global") {
2907
2907
  for (const [a, r] of t.__instances.entries())
@@ -2920,11 +2920,11 @@ function ys(e, t) {
2920
2920
  return n ? t.mode === "composition" ? n : n.__composer : null;
2921
2921
  }
2922
2922
  }
2923
- function Ci(e, t) {
2923
+ function wi(e, t) {
2924
2924
  const n = ys(e.nodeId, t);
2925
- return n && (e.state = wi(n)), null;
2925
+ return n && (e.state = ki(n)), null;
2926
2926
  }
2927
- function wi(e) {
2927
+ function ki(e) {
2928
2928
  const t = {}, n = "Locale related info", a = [
2929
2929
  {
2930
2930
  type: n,
@@ -2999,31 +2999,31 @@ function It(e, t) {
2999
2999
  });
3000
3000
  }
3001
3001
  }
3002
- function ki(e, t) {
3002
+ function Si(e, t) {
3003
3003
  const n = ys(e.nodeId, t);
3004
3004
  if (n) {
3005
3005
  const [a] = e.path;
3006
3006
  a === "locale" && M(e.state.value) ? n.locale.value = e.state.value : a === "fallbackLocale" && (M(e.state.value) || Ne(e.state.value) || ae(e.state.value)) ? n.fallbackLocale.value = e.state.value : a === "inheritLocale" && se(e.state.value) && (n.inheritLocale = e.state.value);
3007
3007
  }
3008
3008
  }
3009
- function Si(e) {
3009
+ function Ii(e) {
3010
3010
  const t = M(e.locale) ? e.locale : cn, n = M(e.fallbackLocale) || Ne(e.fallbackLocale) || le(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a = pe(e.missing) ? e.missing : void 0, r = se(e.silentTranslationWarn) || Ht(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, s = se(e.silentFallbackWarn) || Ht(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = se(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = le(e.modifiers) ? e.modifiers : {}, f = e.pluralizationRules, m = pe(e.postTranslation) ? e.postTranslation : void 0, v = M(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, p = !!e.escapeParameterHtml, g = se(e.sync) ? e.sync : !0;
3011
3011
  let E = e.messages;
3012
3012
  if (le(e.sharedMessages)) {
3013
- const w = e.sharedMessages;
3014
- E = Object.keys(w).reduce((y, W) => {
3013
+ const k = e.sharedMessages;
3014
+ E = Object.keys(k).reduce((y, W) => {
3015
3015
  const B = y[W] || (y[W] = {});
3016
- return Ce(B, w[W]), y;
3016
+ return Ce(B, k[W]), y;
3017
3017
  }, E || {});
3018
3018
  }
3019
- const { __i18n: N, __root: O, __injectWithOption: d } = e, _ = e.datetimeFormats, C = e.numberFormats, h = e.flatJson;
3019
+ const { __i18n: N, __root: L, __injectWithOption: d } = e, _ = e.datetimeFormats, O = e.numberFormats, h = e.flatJson;
3020
3020
  return {
3021
3021
  locale: t,
3022
3022
  fallbackLocale: n,
3023
3023
  messages: E,
3024
3024
  flatJson: h,
3025
3025
  datetimeFormats: _,
3026
- numberFormats: C,
3026
+ numberFormats: O,
3027
3027
  missing: a,
3028
3028
  missingWarn: r,
3029
3029
  fallbackWarn: s,
@@ -3037,12 +3037,12 @@ function Si(e) {
3037
3037
  messageResolver: e.messageResolver,
3038
3038
  inheritLocale: g,
3039
3039
  __i18n: N,
3040
- __root: O,
3040
+ __root: L,
3041
3041
  __injectWithOption: d
3042
3042
  };
3043
3043
  }
3044
3044
  function rr(e = {}) {
3045
- const t = Tn(Si(e)), { __extender: n } = e, a = {
3045
+ const t = Nn(Ii(e)), { __extender: n } = e, a = {
3046
3046
  // id
3047
3047
  id: t.id,
3048
3048
  // locale
@@ -3210,7 +3210,7 @@ function rr(e = {}) {
3210
3210
  r[St] && r[St]();
3211
3211
  }), a;
3212
3212
  }
3213
- function Ii(e, t, n) {
3213
+ function Ai(e, t, n) {
3214
3214
  return {
3215
3215
  beforeCreate() {
3216
3216
  const a = Vt();
@@ -3250,7 +3250,7 @@ function Ii(e, t, n) {
3250
3250
  return;
3251
3251
  const r = this.$i18n;
3252
3252
  a.__VUE_I18N__ = r.__composer;
3253
- const s = this.__v_emitter = In();
3253
+ const s = this.__v_emitter = An();
3254
3254
  r.__enableEmitter && r.__enableEmitter(s), s.on("*", It);
3255
3255
  }
3256
3256
  },
@@ -3289,7 +3289,7 @@ const Tr = {
3289
3289
  type: Object
3290
3290
  }
3291
3291
  };
3292
- function Ai({ slots: e }, t) {
3292
+ function Di({ slots: e }, t) {
3293
3293
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((a, r) => [
3294
3294
  ...a,
3295
3295
  // prettier-ignore
@@ -3302,7 +3302,7 @@ function Ai({ slots: e }, t) {
3302
3302
  function Es() {
3303
3303
  return Be;
3304
3304
  }
3305
- const Di = /* @__PURE__ */ de({
3305
+ const xi = /* @__PURE__ */ de({
3306
3306
  /* eslint-disable */
3307
3307
  name: "i18n-t",
3308
3308
  props: Ce({
@@ -3326,14 +3326,14 @@ const Di = /* @__PURE__ */ de({
3326
3326
  const s = () => {
3327
3327
  const i = Object.keys(n).filter((v) => v[0] !== "_"), f = ce();
3328
3328
  e.locale && (f.locale = e.locale), e.plural !== void 0 && (f.plural = M(e.plural) ? +e.plural : e.plural);
3329
- const m = Ai(t, i);
3329
+ const m = Di(t, i);
3330
3330
  return r[Zn](e.keypath, m, f);
3331
3331
  }, o = Ce(ce(), a), l = M(e.tag) || ae(e.tag) ? e.tag : Es();
3332
3332
  return ae(l) ? wt(l, o, { default: s }) : wt(l, o, s());
3333
3333
  };
3334
3334
  }
3335
- }), da = Di;
3336
- function xi(e) {
3335
+ }), da = xi;
3336
+ function Pi(e) {
3337
3337
  return Ne(e) && !M(e[0]);
3338
3338
  }
3339
3339
  function Ts(e, t, n, a) {
@@ -3346,14 +3346,14 @@ function Ts(e, t, n, a) {
3346
3346
  const v = a(e.value, f, m);
3347
3347
  let p = [f.key];
3348
3348
  return Ne(v) ? p = v.map((g, E) => {
3349
- const N = r[g.type], O = N ? N({ [g.type]: g.value, index: E, parts: v }) : [g.value];
3350
- return xi(O) && (O[0].key = `${g.type}-${E}`), O;
3349
+ const N = r[g.type], L = N ? N({ [g.type]: g.value, index: E, parts: v }) : [g.value];
3350
+ return Pi(L) && (L[0].key = `${g.type}-${E}`), L;
3351
3351
  }) : M(v) && (p = [v]), p;
3352
3352
  }, l = Ce(ce(), s), i = M(e.tag) || ae(e.tag) ? e.tag : Es();
3353
3353
  return ae(i) ? wt(i, l, { default: o }) : wt(i, l, o());
3354
3354
  };
3355
3355
  }
3356
- const Pi = /* @__PURE__ */ de({
3356
+ const Ri = /* @__PURE__ */ de({
3357
3357
  /* eslint-disable */
3358
3358
  name: "i18n-n",
3359
3359
  props: Ce({
@@ -3377,8 +3377,8 @@ const Pi = /* @__PURE__ */ de({
3377
3377
  n[tr](...a)
3378
3378
  ));
3379
3379
  }
3380
- }), fa = Pi;
3381
- function Ri(e, t) {
3380
+ }), fa = Ri;
3381
+ function $i(e, t) {
3382
3382
  const n = e;
3383
3383
  if (e.mode === "composition")
3384
3384
  return n.__getInstance(t) || e.global;
@@ -3387,13 +3387,13 @@ function Ri(e, t) {
3387
3387
  return a != null ? a.__composer : e.global.__composer;
3388
3388
  }
3389
3389
  }
3390
- function $i(e) {
3390
+ function Mi(e) {
3391
3391
  const t = (o) => {
3392
3392
  process.env.NODE_ENV !== "production" && pr(Yt(je.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE));
3393
3393
  const { instance: l, value: i } = o;
3394
3394
  if (!l || !l.$)
3395
3395
  throw Pe(ue.UNEXPECTED_ERROR);
3396
- const f = Ri(e, l.$), m = ma(i);
3396
+ const f = $i(e, l.$), m = ma(i);
3397
3397
  return [
3398
3398
  Reflect.apply(f.t, f, [...pa(m)]),
3399
3399
  f
@@ -3437,15 +3437,15 @@ function pa(e) {
3437
3437
  const { path: t, locale: n, args: a, choice: r, plural: s } = e, o = {}, l = a || {};
3438
3438
  return M(n) && (o.locale = n), Le(r) && (o.plural = r), Le(s) && (o.plural = s), [t, l, o];
3439
3439
  }
3440
- function Mi(e, t, ...n) {
3440
+ function Vi(e, t, ...n) {
3441
3441
  const a = le(n[0]) ? n[0] : {};
3442
- (se(a.globalInstall) ? a.globalInstall : !0) && ([da.name, "I18nT"].forEach((s) => e.component(s, da)), [fa.name, "I18nN"].forEach((s) => e.component(s, fa)), [ha.name, "I18nD"].forEach((s) => e.component(s, ha))), e.directive("t", $i(t));
3442
+ (se(a.globalInstall) ? a.globalInstall : !0) && ([da.name, "I18nT"].forEach((s) => e.component(s, da)), [fa.name, "I18nN"].forEach((s) => e.component(s, fa)), [ha.name, "I18nD"].forEach((s) => e.component(s, ha))), e.directive("t", Mi(t));
3443
3443
  }
3444
- const Vi = /* @__PURE__ */ ot("global-vue-i18n");
3445
- function Fi(e = {}) {
3444
+ const Fi = /* @__PURE__ */ ot("global-vue-i18n");
3445
+ function Ui(e = {}) {
3446
3446
  const t = __VUE_I18N_LEGACY_API__ && se(e.legacy) ? e.legacy : __VUE_I18N_LEGACY_API__;
3447
3447
  process.env.NODE_ENV !== "production" && t && pr(Yt(je.DEPRECATE_LEGACY_MODE));
3448
- const n = se(e.globalInjection) ? e.globalInjection : !0, a = /* @__PURE__ */ new Map(), [r, s] = Ui(e, t), o = /* @__PURE__ */ ot(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3448
+ const n = se(e.globalInjection) ? e.globalInjection : !0, a = /* @__PURE__ */ new Map(), [r, s] = Wi(e, t), o = /* @__PURE__ */ ot(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
3449
3449
  function l(v) {
3450
3450
  return a.get(v) || null;
3451
3451
  }
@@ -3467,22 +3467,22 @@ function Fi(e = {}) {
3467
3467
  m.__composerExtend = N.__composerExtend, m.__vueI18nExtend = N.__vueI18nExtend;
3468
3468
  }
3469
3469
  let g = null;
3470
- !t && n && (g = zi(v, m.global)), __VUE_I18N_FULL_INSTALL__ && Mi(v, m, ...p), __VUE_I18N_LEGACY_API__ && t && v.mixin(Ii(s, s.__composer, m));
3470
+ !t && n && (g = Ki(v, m.global)), __VUE_I18N_FULL_INSTALL__ && Vi(v, m, ...p), __VUE_I18N_LEGACY_API__ && t && v.mixin(Ai(s, s.__composer, m));
3471
3471
  const E = v.unmount;
3472
3472
  if (v.unmount = () => {
3473
3473
  g && g(), m.dispose(), E();
3474
3474
  }, process.env.NODE_ENV !== "production") {
3475
- if (!await _i(v, m))
3475
+ if (!await bi(v, m))
3476
3476
  throw Pe(ue.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
3477
- const O = In();
3477
+ const L = An();
3478
3478
  if (t) {
3479
3479
  const d = s;
3480
- d.__enableEmitter && d.__enableEmitter(O);
3480
+ d.__enableEmitter && d.__enableEmitter(L);
3481
3481
  } else {
3482
3482
  const d = s;
3483
- d[ft] && d[ft](O);
3483
+ d[ft] && d[ft](L);
3484
3484
  }
3485
- O.on("*", It);
3485
+ L.on("*", It);
3486
3486
  }
3487
3487
  },
3488
3488
  // global accessor
@@ -3509,7 +3509,7 @@ function Nr(e = {}) {
3509
3509
  throw Pe(ue.MUST_BE_CALL_SETUP_TOP);
3510
3510
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3511
3511
  throw Pe(ue.NOT_INSTALLED);
3512
- const n = Wi(t), a = Hi(n), r = gs(t), s = Bi(e, r);
3512
+ const n = Bi(t), a = ji(n), r = gs(t), s = Hi(e, r);
3513
3513
  if (s === "global")
3514
3514
  return hs(a, e, r), a;
3515
3515
  if (s === "parent") {
@@ -3521,15 +3521,15 @@ function Nr(e = {}) {
3521
3521
  throw Pe(ue.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
3522
3522
  const i = n, f = Ce({}, e), m = va(n, t);
3523
3523
  f.__root = m || a;
3524
- const v = Tn(f);
3524
+ const v = Nn(f);
3525
3525
  i.__composerExtend && (v[$t] = i.__composerExtend(v));
3526
3526
  let p = null;
3527
3527
  if (process.env.NODE_ENV !== "production") {
3528
- p = In();
3528
+ p = An();
3529
3529
  const E = v;
3530
3530
  E[ft] && E[ft](p), p.on("*", It);
3531
3531
  }
3532
- return Ys() && zs(() => {
3532
+ return zs() && Ks(() => {
3533
3533
  if (process.env.NODE_ENV !== "production") {
3534
3534
  p && p.off("*", It);
3535
3535
  const N = v;
@@ -3543,33 +3543,33 @@ function Nr(e = {}) {
3543
3543
  let l = o.__getInstance(t);
3544
3544
  if (l == null) {
3545
3545
  const i = Ce({}, e);
3546
- "__i18n" in r && (i.__i18n = r.__i18n), a && (i.__root = a), l = Tn(i), o.__composerExtend && (l[$t] = o.__composerExtend(l)), Gi(o, t, l), o.__setInstance(t, l);
3546
+ "__i18n" in r && (i.__i18n = r.__i18n), a && (i.__root = a), l = Nn(i), o.__composerExtend && (l[$t] = o.__composerExtend(l)), Yi(o, t, l), o.__setInstance(t, l);
3547
3547
  } else
3548
3548
  process.env.NODE_ENV !== "production" && s === "local" && at(Yt(je.DUPLICATE_USE_I18N_CALLING));
3549
3549
  return l;
3550
3550
  }
3551
- function Ui(e, t) {
3552
- const n = Hs(), a = __VUE_I18N_LEGACY_API__ && t ? n.run(() => rr(e)) : n.run(() => Tn(e));
3551
+ function Wi(e, t) {
3552
+ const n = js(), a = __VUE_I18N_LEGACY_API__ && t ? n.run(() => rr(e)) : n.run(() => Nn(e));
3553
3553
  if (a == null)
3554
3554
  throw Pe(ue.UNEXPECTED_ERROR);
3555
3555
  return [n, a];
3556
3556
  }
3557
- function Wi(e) {
3558
- const t = ir(e.isCE ? Vi : e.appContext.app.__VUE_I18N_SYMBOL__);
3557
+ function Bi(e) {
3558
+ const t = ir(e.isCE ? Fi : e.appContext.app.__VUE_I18N_SYMBOL__);
3559
3559
  if (!t)
3560
3560
  throw Pe(e.isCE ? ue.NOT_INSTALLED_WITH_PROVIDE : ue.UNEXPECTED_ERROR);
3561
3561
  return t;
3562
3562
  }
3563
- function Bi(e, t) {
3563
+ function Hi(e, t) {
3564
3564
  return dr(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
3565
3565
  }
3566
- function Hi(e) {
3566
+ function ji(e) {
3567
3567
  return e.mode === "composition" ? e.global : e.global.__composer;
3568
3568
  }
3569
3569
  function va(e, t, n = !1) {
3570
3570
  let a = null;
3571
3571
  const r = t.root;
3572
- let s = ji(t, n);
3572
+ let s = Gi(t, n);
3573
3573
  for (; s != null; ) {
3574
3574
  const o = e;
3575
3575
  if (e.mode === "composition")
@@ -3584,14 +3584,14 @@ function va(e, t, n = !1) {
3584
3584
  }
3585
3585
  return a;
3586
3586
  }
3587
- function ji(e, t = !1) {
3587
+ function Gi(e, t = !1) {
3588
3588
  return e == null ? null : t && e.vnode.ctx || e.parent;
3589
3589
  }
3590
- function Gi(e, t, n) {
3590
+ function Yi(e, t, n) {
3591
3591
  let a = null;
3592
3592
  Dt(() => {
3593
3593
  if (process.env.NODE_ENV !== "production") {
3594
- t.__VUE_I18N__ = n, a = In();
3594
+ t.__VUE_I18N__ = n, a = An();
3595
3595
  const r = n;
3596
3596
  r[ft] && r[ft](a), a.on("*", It);
3597
3597
  }
@@ -3602,18 +3602,18 @@ function Gi(e, t, n) {
3602
3602
  s && (s(), delete r[$t]);
3603
3603
  }, t);
3604
3604
  }
3605
- const Yi = [
3605
+ const zi = [
3606
3606
  "locale",
3607
3607
  "fallbackLocale",
3608
3608
  "availableLocales"
3609
3609
  ], ga = ["t", "rt", "d", "n", "tm", "te"];
3610
- function zi(e, t) {
3610
+ function Ki(e, t) {
3611
3611
  const n = /* @__PURE__ */ Object.create(null);
3612
- return Yi.forEach((r) => {
3612
+ return zi.forEach((r) => {
3613
3613
  const s = Object.getOwnPropertyDescriptor(t, r);
3614
3614
  if (!s)
3615
3615
  throw Pe(ue.UNEXPECTED_ERROR);
3616
- const o = js(s.value) ? {
3616
+ const o = Ys(s.value) ? {
3617
3617
  get() {
3618
3618
  return s.value.value;
3619
3619
  },
@@ -3638,7 +3638,7 @@ function zi(e, t) {
3638
3638
  });
3639
3639
  };
3640
3640
  }
3641
- const Ki = /* @__PURE__ */ de({
3641
+ const Xi = /* @__PURE__ */ de({
3642
3642
  /* eslint-disable */
3643
3643
  name: "i18n-d",
3644
3644
  props: Ce({
@@ -3662,17 +3662,17 @@ const Ki = /* @__PURE__ */ de({
3662
3662
  n[er](...a)
3663
3663
  ));
3664
3664
  }
3665
- }), ha = Ki;
3666
- di();
3667
- $l(vl);
3668
- Ml(Dl);
3669
- Vl(Kn);
3665
+ }), ha = Xi;
3666
+ fi();
3667
+ Ml(gl);
3668
+ Vl(xl);
3669
+ Fl(Kn);
3670
3670
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3671
3671
  const e = Lt();
3672
- e.__INTLIFY__ = !0, gl(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3672
+ e.__INTLIFY__ = !0, hl(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3673
3673
  }
3674
3674
  process.env.NODE_ENV;
3675
- const Xi = {
3675
+ const qi = {
3676
3676
  input: {
3677
3677
  placeholder: "請輸入"
3678
3678
  },
@@ -3704,7 +3704,7 @@ const Xi = {
3704
3704
  selected: "已選擇",
3705
3705
  refreshed: "已刷新"
3706
3706
  }
3707
- }, qi = {
3707
+ }, Qi = {
3708
3708
  input: {
3709
3709
  placeholder: "请输入"
3710
3710
  },
@@ -3736,7 +3736,7 @@ const Xi = {
3736
3736
  selected: "已选择",
3737
3737
  refreshed: "已刷新"
3738
3738
  }
3739
- }, Qi = {
3739
+ }, Ji = {
3740
3740
  input: {
3741
3741
  placeholder: "Please enter"
3742
3742
  },
@@ -3769,19 +3769,19 @@ const Xi = {
3769
3769
  refreshed: "Refreshed"
3770
3770
  }
3771
3771
  };
3772
- let Un;
3773
- const Ns = () => (Un || (Un = Fi({
3772
+ let Wn;
3773
+ const Ns = () => (Wn || (Wn = Ui({
3774
3774
  locale: "en-US",
3775
3775
  fallbackLocale: "en-US",
3776
3776
  messages: {
3777
- "zh-CN": qi,
3778
- "zh-TW": Xi,
3779
- "en-US": Qi
3777
+ "zh-CN": Qi,
3778
+ "zh-TW": qi,
3779
+ "en-US": Ji
3780
3780
  },
3781
3781
  legacy: !1
3782
- })), Un), ff = (e) => {
3782
+ })), Wn), ff = (e) => {
3783
3783
  Ns().global.locale.value = e;
3784
- }, ke = (e, t) => Ns().global.t(e, t), Ji = ["disabled"], Zi = ["disabled"], ec = ["disabled"], Ft = /* @__PURE__ */ de({
3784
+ }, ke = (e, t) => Ns().global.t(e, t), Zi = ["disabled"], ec = ["disabled"], tc = ["disabled"], Ft = /* @__PURE__ */ de({
3785
3785
  name: "Button",
3786
3786
  inheritAttrs: !1,
3787
3787
  __name: "Button",
@@ -3826,7 +3826,7 @@ const Ns = () => (Un || (Un = Fi({
3826
3826
  else
3827
3827
  return t.type === "secondary" ? "var(--material-base-secondary)" : t.type === "foreground" ? "var(--text-face-primary)" : t.type === "sameWhite" ? "var(--text-same-black-primary)" : "var(--material-same-white-primary)";
3828
3828
  });
3829
- return (m, v) => e.icon || m.$slots.icon ? (k(), x("div", {
3829
+ return (m, v) => e.icon || m.$slots.icon ? (w(), x("div", {
3830
3830
  key: 0,
3831
3831
  class: te(["cregis-button__icon-wrapper", { "cregis-button__icon-wrapper--professional": e.iconType === "professional" }])
3832
3832
  }, [
@@ -3843,23 +3843,23 @@ const Ns = () => (Un || (Un = Fi({
3843
3843
  }],
3844
3844
  disabled: e.disabled || e.loading
3845
3845
  }), [
3846
- e.icon ? (k(), Te(sn(e.icon), {
3846
+ e.icon ? (w(), Te(sn(e.icon), {
3847
3847
  key: 0,
3848
3848
  size: o.value
3849
- }, null, 8, ["size"])) : (k(), x("span", {
3849
+ }, null, 8, ["size"])) : (w(), x("span", {
3850
3850
  key: 1,
3851
3851
  class: "cregis-button__icon-slot-inner",
3852
3852
  style: ve({ "--cregis-btn-icon-slot-size": o.value })
3853
3853
  }, [
3854
3854
  ye(m.$slots, "icon")
3855
3855
  ], 4))
3856
- ], 16, Ji),
3857
- e.iconText ? (k(), x("span", {
3856
+ ], 16, Zi),
3857
+ e.iconText ? (w(), x("span", {
3858
3858
  key: 0,
3859
3859
  class: te(["cregis-button__icon-text", { "is-disabled": e.disabled }]),
3860
3860
  onClick: r
3861
3861
  }, J(e.iconText), 3)) : X("", !0)
3862
- ], 2)) : e.link ? (k(), x("button", gt({ key: 1 }, m.$attrs, {
3862
+ ], 2)) : e.link ? (w(), x("button", gt({ key: 1 }, m.$attrs, {
3863
3863
  class: ["cregis-button__link", {
3864
3864
  [`cregis-button__link--${e.type}`]: e.type,
3865
3865
  [`cregis-button__link--${e.size}`]: e.size,
@@ -3869,7 +3869,7 @@ const Ns = () => (Un || (Un = Fi({
3869
3869
  disabled: e.disabled || e.loading
3870
3870
  }), [
3871
3871
  ye(m.$slots, "default")
3872
- ], 16, Zi)) : (k(), x("button", gt({
3872
+ ], 16, ec)) : (w(), x("button", gt({
3873
3873
  key: 2,
3874
3874
  ref: "buttonRef"
3875
3875
  }, m.$attrs, {
@@ -3887,21 +3887,21 @@ const Ns = () => (Un || (Un = Fi({
3887
3887
  }],
3888
3888
  disabled: e.disabled || e.loading
3889
3889
  }), [
3890
- e.loading ? (k(), Te(ee(Gn), {
3890
+ e.loading ? (w(), Te(ee(Gn), {
3891
3891
  key: 0,
3892
3892
  class: "loading",
3893
3893
  size: l.value,
3894
3894
  color: f.value
3895
3895
  }, null, 8, ["size", "color"])) : ye(m.$slots, "default", { key: 1 })
3896
- ], 16, ec));
3896
+ ], 16, tc));
3897
3897
  }
3898
- }), tc = {
3898
+ }), nc = {
3899
3899
  key: 0,
3900
3900
  class: "cregis-input__prefix"
3901
- }, nc = ["type", "inputmode", "placeholder", "min", "disabled"], rc = {
3901
+ }, rc = ["type", "inputmode", "placeholder", "min", "disabled"], ac = {
3902
3902
  key: 2,
3903
3903
  class: "cregis-input__suffix"
3904
- }, ac = ["disabled", "placeholder", "rows"], sc = {
3904
+ }, sc = ["disabled", "placeholder", "rows"], oc = {
3905
3905
  key: 0,
3906
3906
  class: "cregis-textarea__buttons"
3907
3907
  }, Os = /* @__PURE__ */ de({
@@ -3972,9 +3972,9 @@ const Ns = () => (Un || (Un = Fi({
3972
3972
  E.value = a.type === "number" ? g(S) : S;
3973
3973
  }
3974
3974
  );
3975
- const N = G(), O = G(0), d = G(!1);
3975
+ const N = G(), L = G(0), d = G(!1);
3976
3976
  let _ = null;
3977
- const C = async () => {
3977
+ const O = async () => {
3978
3978
  await dt(), N.value?.focus();
3979
3979
  }, h = async () => {
3980
3980
  if (a.type === "number") {
@@ -3982,7 +3982,7 @@ const Ns = () => (Un || (Un = Fi({
3982
3982
  S !== E.value && (E.value = S);
3983
3983
  }
3984
3984
  r("update:modelValue", E.value), r("input", E.value), await dt(), Y();
3985
- }, w = () => {
3985
+ }, k = () => {
3986
3986
  r("change", E.value);
3987
3987
  }, T = (S) => {
3988
3988
  d.value = !0, r("focus", S);
@@ -3994,11 +3994,11 @@ const Ns = () => (Un || (Un = Fi({
3994
3994
  _ && cancelAnimationFrame(_), _ = requestAnimationFrame(() => {
3995
3995
  if (!N.value || N.value.tagName !== "INPUT") return;
3996
3996
  const S = N.value, I = S.value, R = document.createElement("span");
3997
- R.style.position = "absolute", R.style.visibility = "hidden", R.style.whiteSpace = "pre", R.style.font = window.getComputedStyle(S).font, R.style.letterSpacing = window.getComputedStyle(S).letterSpacing, R.textContent = I || " ", document.body.appendChild(R), O.value = R.getBoundingClientRect().width, document.body.removeChild(R);
3997
+ R.style.position = "absolute", R.style.visibility = "hidden", R.style.whiteSpace = "pre", R.style.font = window.getComputedStyle(S).font, R.style.letterSpacing = window.getComputedStyle(S).letterSpacing, R.textContent = I || " ", document.body.appendChild(R), L.value = R.getBoundingClientRect().width, document.body.removeChild(R);
3998
3998
  });
3999
3999
  }, H = A(() => {
4000
4000
  const S = {};
4001
- return O.value > 0 && (S.position = "absolute", S.left = `${O.value + 16}px`), S;
4001
+ return L.value > 0 && (S.position = "absolute", S.left = `${L.value + 16}px`), S;
4002
4002
  }), z = async () => {
4003
4003
  try {
4004
4004
  E.value = await navigator.clipboard.readText(), r("update:modelValue", E.value);
@@ -4033,9 +4033,9 @@ const Ns = () => (Un || (Un = Fi({
4033
4033
  }
4034
4034
  };
4035
4035
  return t({
4036
- focus: C,
4036
+ focus: O,
4037
4037
  updateTextWidth: Y
4038
- }), (S, I) => e.type !== "textarea" ? (k(), x("div", {
4038
+ }), (S, I) => e.type !== "textarea" ? (w(), x("div", {
4039
4039
  key: 0,
4040
4040
  class: te(["cregis-input", {
4041
4041
  [`cregis-input--${e.size}`]: e.size,
@@ -4048,7 +4048,7 @@ const Ns = () => (Un || (Un = Fi({
4048
4048
  U("div", {
4049
4049
  class: te(["cregis-input__wrapper", { "is-focus": d.value }])
4050
4050
  }, [
4051
- S.$slots.prefix ? (k(), x("span", tc, [
4051
+ S.$slots.prefix ? (w(), x("span", nc, [
4052
4052
  ye(S.$slots, "prefix")
4053
4053
  ])) : X("", !0),
4054
4054
  Ut(U("input", gt({
@@ -4064,23 +4064,23 @@ const Ns = () => (Un || (Un = Fi({
4064
4064
  spellcheck: "false",
4065
4065
  disabled: e.disabled,
4066
4066
  onInput: h,
4067
- onChange: w,
4067
+ onChange: k,
4068
4068
  onFocus: T,
4069
4069
  onBlur: y,
4070
4070
  onKeydown: ge
4071
- }), null, 16, nc), [
4072
- [Xs, E.value]
4071
+ }), null, 16, rc), [
4072
+ [qs, E.value]
4073
4073
  ]),
4074
- e.unit && E.value ? (k(), x("span", {
4074
+ e.unit && E.value ? (w(), x("span", {
4075
4075
  key: 1,
4076
4076
  style: ve(H.value),
4077
4077
  class: "cregis-input__unit"
4078
4078
  }, J(e.unit), 5)) : X("", !0),
4079
- S.$slots.suffix || W.value ? (k(), x("span", rc, [
4079
+ S.$slots.suffix || W.value ? (w(), x("span", ac, [
4080
4080
  ye(S.$slots, "suffix"),
4081
- W.value ? (k(), Te(Ft, {
4081
+ W.value ? (w(), Te(Ft, {
4082
4082
  key: 0,
4083
- icon: ee(Js),
4083
+ icon: ee(Zs),
4084
4084
  "icon-type": "square",
4085
4085
  onClick: B,
4086
4086
  onMousedown: I[1] || (I[1] = Wt(() => {
@@ -4088,7 +4088,7 @@ const Ns = () => (Un || (Un = Fi({
4088
4088
  }, null, 8, ["icon"])) : X("", !0)
4089
4089
  ])) : X("", !0)
4090
4090
  ], 2)
4091
- ], 6)) : (k(), x("div", {
4091
+ ], 6)) : (w(), x("div", {
4092
4092
  key: 1,
4093
4093
  class: te(["cregis-textarea", { "is-disabled": e.disabled }]),
4094
4094
  style: ve([{ width: e.width }, e.inputStyle])
@@ -4102,13 +4102,13 @@ const Ns = () => (Un || (Un = Fi({
4102
4102
  rows: e.rows,
4103
4103
  "onUpdate:modelValue": I[2] || (I[2] = (R) => E.value = R),
4104
4104
  onInput: h,
4105
- onChange: w,
4105
+ onChange: k,
4106
4106
  onFocus: T,
4107
4107
  onBlur: y
4108
- }), null, 16, ac), [
4109
- [qs, E.value]
4108
+ }), null, 16, sc), [
4109
+ [Qs, E.value]
4110
4110
  ]),
4111
- e.disabled ? X("", !0) : (k(), x("div", sc, [
4111
+ e.disabled ? X("", !0) : (w(), x("div", oc, [
4112
4112
  ie(Ft, {
4113
4113
  class: "cregis-textarea__button",
4114
4114
  link: "",
@@ -4135,18 +4135,18 @@ const Ns = () => (Un || (Un = Fi({
4135
4135
  ]))
4136
4136
  ], 6));
4137
4137
  }
4138
- }), oc = ["width", "height"], lc = {
4138
+ }), lc = ["width", "height"], ic = {
4139
4139
  stroke: "none",
4140
4140
  "stroke-width": "1",
4141
4141
  fill: "none",
4142
4142
  "fill-rule": "evenodd"
4143
- }, ic = { transform: "translate(-394.000000, -457.000000)" }, cc = { transform: "translate(394.000000, 457.000000)" }, uc = ["width", "height"], dc = /* @__PURE__ */ de({
4143
+ }, cc = { transform: "translate(-394.000000, -457.000000)" }, uc = { transform: "translate(394.000000, 457.000000)" }, dc = ["width", "height"], fc = /* @__PURE__ */ de({
4144
4144
  __name: "checked-basis",
4145
4145
  props: {
4146
4146
  size: { default: "16px" }
4147
4147
  },
4148
4148
  setup(e) {
4149
- return (t, n) => (k(), x("svg", {
4149
+ return (t, n) => (w(), x("svg", {
4150
4150
  width: e.size,
4151
4151
  height: e.size,
4152
4152
  viewBox: "0 0 16 16",
@@ -4154,15 +4154,15 @@ const Ns = () => (Un || (Un = Fi({
4154
4154
  xmlns: "http://www.w3.org/2000/svg",
4155
4155
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
4156
4156
  }, [
4157
- U("g", lc, [
4158
- U("g", ic, [
4159
- U("g", cc, [
4157
+ U("g", ic, [
4158
+ U("g", cc, [
4159
+ U("g", uc, [
4160
4160
  U("rect", {
4161
4161
  x: "0",
4162
4162
  y: "0",
4163
4163
  width: e.size,
4164
4164
  height: e.size
4165
- }, null, 8, uc),
4165
+ }, null, 8, dc),
4166
4166
  n[0] || (n[0] = U("path", {
4167
4167
  d: "M6.67713976,13.5709642 C7.12567714,13.5709642 7.468039,13.3943662 7.70422535,13.0411701 L13.7562297,3.77789816 C13.8407367,3.65005417 13.9024919,3.52546046 13.9414951,3.40411701 C13.9804984,3.28277356 14,3.16468039 14,3.04983749 C14,2.74647887 13.8976165,2.49566631 13.6928494,2.29739978 C13.4880823,2.09913326 13.2307692,2 12.9209101,2 C12.7063922,2 12.5265439,2.04225352 12.3813651,2.12676056 C12.2361863,2.21126761 12.0975081,2.35536295 11.9653304,2.55904659 L6.65113759,10.9512459 L3.95016251,7.60346696 C3.71830986,7.32177681 3.43011918,7.18093174 3.08559047,7.18093174 C2.77139762,7.18093174 2.51191766,7.28169014 2.3071506,7.48320693 C2.10238353,7.68472373 2,7.93824485 2,8.24377031 C2,8.38028169 2.02329361,8.51083424 2.06988082,8.63542795 C2.11646804,8.76002167 2.19826652,8.88949079 2.31527627,9.02383532 L5.67280607,13.0899242 C5.94149512,13.4106176 6.27627302,13.5709642 6.67713976,13.5709642 Z",
4168
4168
  fill: "currentColor",
@@ -4171,9 +4171,9 @@ const Ns = () => (Un || (Un = Fi({
4171
4171
  ])
4172
4172
  ])
4173
4173
  ])
4174
- ], 8, oc));
4174
+ ], 8, lc));
4175
4175
  }
4176
- }), fc = {
4176
+ }), mc = {
4177
4177
  key: 0,
4178
4178
  class: "cregis-checkbox--indeterminate"
4179
4179
  }, Or = /* @__PURE__ */ de({
@@ -4196,7 +4196,7 @@ const Ns = () => (Un || (Un = Fi({
4196
4196
  () => {
4197
4197
  a("change", r.value);
4198
4198
  }
4199
- ), (o, l) => (k(), x("div", {
4199
+ ), (o, l) => (w(), x("div", {
4200
4200
  class: "cregis-checkbox__wrapper",
4201
4201
  onClick: s
4202
4202
  }, [
@@ -4208,12 +4208,12 @@ const Ns = () => (Un || (Un = Fi({
4208
4208
  "is-indeterminate": e.indeterminate
4209
4209
  }])
4210
4210
  }, [
4211
- e.indeterminate ? (k(), x("div", fc)) : (k(), Te(dc, {
4211
+ e.indeterminate ? (w(), x("div", mc)) : (w(), Te(fc, {
4212
4212
  key: 1,
4213
4213
  size: "10px"
4214
4214
  }))
4215
4215
  ], 2),
4216
- o.$slots.default || e.label ? (k(), x("span", {
4216
+ o.$slots.default || e.label ? (w(), x("span", {
4217
4217
  key: 0,
4218
4218
  class: te(["cregis-checkbox__label", { "is-disabled": e.disabled }])
4219
4219
  }, [
@@ -4237,7 +4237,7 @@ const Ns = () => (Un || (Un = Fi({
4237
4237
  const n = e, a = t, r = A(() => n.modelValue === n.value), s = () => {
4238
4238
  n.disabled || (a("update:modelValue", n.value), a("change", n.value));
4239
4239
  };
4240
- return (o, l) => (k(), x("div", {
4240
+ return (o, l) => (w(), x("div", {
4241
4241
  class: "cregis-radio__wrapper",
4242
4242
  onClick: s
4243
4243
  }, [
@@ -4249,7 +4249,7 @@ const Ns = () => (Un || (Un = Fi({
4249
4249
  }, [...l[0] || (l[0] = [
4250
4250
  U("div", { class: "cregis-radio__inner" }, null, -1)
4251
4251
  ])], 2),
4252
- o.$slots.default || e.label ? (k(), x("span", {
4252
+ o.$slots.default || e.label ? (w(), x("span", {
4253
4253
  key: 0,
4254
4254
  class: te(["cregis-radio__label", { "is-disabled": e.disabled }])
4255
4255
  }, [
@@ -4290,14 +4290,14 @@ const Ns = () => (Un || (Un = Fi({
4290
4290
  borderLeftColor: t.color,
4291
4291
  margin: n.value
4292
4292
  });
4293
- return (r, s) => (k(), x("div", {
4293
+ return (r, s) => (w(), x("div", {
4294
4294
  class: te(["cregis-divider", {
4295
4295
  [`cregis-divider--${e.direction}`]: e.direction
4296
4296
  }]),
4297
4297
  style: ve(a.value)
4298
4298
  }, null, 6));
4299
4299
  }
4300
- }), Ls = Symbol("TABS_KEY"), mc = ["onClick"], pc = { style: { display: "none" } }, vf = /* @__PURE__ */ de({
4300
+ }), Ls = Symbol("TABS_KEY"), pc = ["onClick"], vc = { style: { display: "none" } }, vf = /* @__PURE__ */ de({
4301
4301
  name: "Tabs",
4302
4302
  __name: "Tabs",
4303
4303
  props: {
@@ -4322,24 +4322,24 @@ const Ns = () => (Un || (Un = Fi({
4322
4322
  borderRadius: 0
4323
4323
  });
4324
4324
  return Pa(Ls, {
4325
- activeName: Qs(t, "modelValue"),
4325
+ activeName: Js(t, "modelValue"),
4326
4326
  registerTab: a,
4327
4327
  unregisterTab: r
4328
- }), (o, l) => (k(), x("div", {
4328
+ }), (o, l) => (w(), x("div", {
4329
4329
  class: te(["cregis-tabs", {
4330
4330
  [`cregis-tabs--${e.type}`]: e.type,
4331
4331
  [`cregis-tabs--${e.size}`]: e.size
4332
4332
  }])
4333
4333
  }, [
4334
- (k(!0), x(Be, null, vt(n, (i) => (k(), x("div", {
4334
+ (w(!0), x(Be, null, vt(n, (i) => (w(), x("div", {
4335
4335
  key: i.name,
4336
4336
  class: te(["cregis-tabs__item", { "is-active": e.modelValue === i.name }]),
4337
4337
  style: ve(s.value),
4338
4338
  onClick: (f) => o.$emit("update:modelValue", i.name)
4339
4339
  }, [
4340
4340
  U("span", null, J(i.label), 1)
4341
- ], 14, mc))), 128)),
4342
- U("div", pc, [
4341
+ ], 14, pc))), 128)),
4342
+ U("div", vc, [
4343
4343
  ye(o.$slots, "default")
4344
4344
  ])
4345
4345
  ], 2));
@@ -4365,12 +4365,12 @@ const Ns = () => (Un || (Un = Fi({
4365
4365
  n.unregisterTab(t.name);
4366
4366
  }), (a, r) => null;
4367
4367
  }
4368
- }), vc = {
4368
+ }), gc = {
4369
4369
  key: 1,
4370
4370
  class: "cregis-message--success",
4371
4371
  role: "status",
4372
4372
  "aria-live": "polite"
4373
- }, gc = { class: "cregis-message__icon" }, hc = /* @__PURE__ */ de({
4373
+ }, hc = { class: "cregis-message__icon" }, _c = /* @__PURE__ */ de({
4374
4374
  name: "Message",
4375
4375
  __name: "Message",
4376
4376
  props: {
@@ -4393,22 +4393,22 @@ const Ns = () => (Un || (Un = Fi({
4393
4393
  a !== void 0 && clearTimeout(a);
4394
4394
  }), dt(() => {
4395
4395
  n.value = !0;
4396
- }), (o, l) => (k(), x("div", {
4396
+ }), (o, l) => (w(), x("div", {
4397
4397
  class: te(["cregis-message__wrapper", { "cregis-message__wrapper--success": e.type === "success" }])
4398
4398
  }, [
4399
- ie(wn, {
4399
+ ie(kn, {
4400
4400
  name: "cregis-message",
4401
4401
  onAfterEnter: r,
4402
4402
  onAfterLeave: s
4403
4403
  }, {
4404
4404
  default: Oe(() => [
4405
- n.value && e.type !== "success" ? (k(), x("div", {
4405
+ n.value && e.type !== "success" ? (w(), x("div", {
4406
4406
  key: 0,
4407
4407
  class: te(["cregis-message", { "cregis-message--danger": e.type === "danger" }]),
4408
4408
  role: "status",
4409
4409
  "aria-live": "polite"
4410
- }, J(e.message), 3)) : n.value && e.type === "success" ? (k(), x("div", vc, [
4411
- U("div", gc, [
4410
+ }, J(e.message), 3)) : n.value && e.type === "success" ? (w(), x("div", gc, [
4411
+ U("div", hc, [
4412
4412
  ie(ee($a), {
4413
4413
  size: "16px",
4414
4414
  color: "var(--material-same-white-primary)"
@@ -4422,8 +4422,8 @@ const Ns = () => (Un || (Un = Fi({
4422
4422
  ], 2));
4423
4423
  }
4424
4424
  });
4425
- let Wn = !1;
4426
- function _c(e) {
4425
+ let Bn = !1;
4426
+ function bc(e) {
4427
4427
  return typeof e == "string" ? { message: e, duration: 1e3, type: "default" } : {
4428
4428
  message: e.message,
4429
4429
  duration: e.duration ?? 1e3,
@@ -4431,28 +4431,28 @@ function _c(e) {
4431
4431
  };
4432
4432
  }
4433
4433
  function _a(e) {
4434
- if (Wn) return;
4435
- const { message: t, duration: n, type: a } = _c(e);
4436
- Wn = !0;
4434
+ if (Bn) return;
4435
+ const { message: t, duration: n, type: a } = bc(e);
4436
+ Bn = !0;
4437
4437
  const r = document.createElement("div");
4438
4438
  document.body.appendChild(r), Bt(
4439
- wt(hc, {
4439
+ wt(_c, {
4440
4440
  message: t,
4441
4441
  duration: n,
4442
4442
  type: a,
4443
4443
  onVanish: () => {
4444
- Wn = !1, Bt(null, r), r.remove();
4444
+ Bn = !1, Bt(null, r), r.remove();
4445
4445
  }
4446
4446
  }),
4447
4447
  r
4448
4448
  );
4449
4449
  }
4450
- const bc = { class: "cregis-notification__wrapper" }, yc = {
4450
+ const yc = { class: "cregis-notification__wrapper" }, Ec = {
4451
4451
  key: 0,
4452
4452
  class: "cregis-notification",
4453
4453
  role: "status",
4454
4454
  "aria-live": "polite"
4455
- }, Ec = { class: "cregis-notification__content" }, Tc = { class: "cregis-notification__title" }, Nc = { class: "cregis-notification__message" }, Oc = /* @__PURE__ */ de({
4455
+ }, Tc = { class: "cregis-notification__content" }, Nc = { class: "cregis-notification__title" }, Oc = { class: "cregis-notification__message" }, Lc = /* @__PURE__ */ de({
4456
4456
  name: "Notification",
4457
4457
  __name: "Notification",
4458
4458
  props: {
@@ -4471,20 +4471,20 @@ const bc = { class: "cregis-notification__wrapper" }, yc = {
4471
4471
  return Ra(() => {
4472
4472
  }), dt(() => {
4473
4473
  n.value = !0;
4474
- }), (s, o) => (k(), x("div", bc, [
4475
- ie(wn, {
4474
+ }), (s, o) => (w(), x("div", yc, [
4475
+ ie(kn, {
4476
4476
  name: "cregis-notification",
4477
4477
  onAfterLeave: r
4478
4478
  }, {
4479
4479
  default: Oe(() => [
4480
- n.value ? (k(), x("div", yc, [
4481
- (k(), Te(sn(ee(Zs)), {
4480
+ n.value ? (w(), x("div", Ec, [
4481
+ (w(), Te(sn(ee(eo)), {
4482
4482
  size: "18px",
4483
4483
  color: "var(--material-danger-primary)"
4484
4484
  })),
4485
- U("div", Ec, [
4486
- U("div", Tc, J(e.title), 1),
4487
- U("div", Nc, J(e.message), 1)
4485
+ U("div", Tc, [
4486
+ U("div", Nc, J(e.title), 1),
4487
+ U("div", Oc, J(e.message), 1)
4488
4488
  ]),
4489
4489
  ie(Ft, {
4490
4490
  type: "sameWhite",
@@ -4502,26 +4502,26 @@ const bc = { class: "cregis-notification__wrapper" }, yc = {
4502
4502
  ]));
4503
4503
  }
4504
4504
  });
4505
- let Bn = !1;
4505
+ let Hn = !1;
4506
4506
  function hf(e) {
4507
- if (Bn) return;
4507
+ if (Hn) return;
4508
4508
  const { title: t, message: n, type: a, btnText: r } = e;
4509
- Bn = !0;
4509
+ Hn = !0;
4510
4510
  const s = document.createElement("div");
4511
4511
  document.body.appendChild(s), Bt(
4512
- wt(Oc, {
4512
+ wt(Lc, {
4513
4513
  title: t,
4514
4514
  message: n,
4515
4515
  type: a,
4516
4516
  btnText: r,
4517
4517
  onVanish: () => {
4518
- Bn = !1, Bt(null, s), s.remove();
4518
+ Hn = !1, Bt(null, s), s.remove();
4519
4519
  }
4520
4520
  }),
4521
4521
  s
4522
4522
  );
4523
4523
  }
4524
- const Lc = { class: "cregis-progress__wrapper" }, Cc = { class: "cregis-progress__track-wrap" }, wc = { class: "cregis-progress cregis-progress--striped active" }, kc = {
4524
+ const Cc = { class: "cregis-progress__wrapper" }, wc = { class: "cregis-progress__track-wrap" }, kc = { class: "cregis-progress cregis-progress--striped active" }, Sc = {
4525
4525
  key: 0,
4526
4526
  class: "cregis-progress__sliding-block"
4527
4527
  }, _f = /* @__PURE__ */ de({
@@ -4540,30 +4540,30 @@ const Lc = { class: "cregis-progress__wrapper" }, Cc = { class: "cregis-progress
4540
4540
  })), r = A(() => ({
4541
4541
  "--cregis-progress-tip-left": `${n.value}%`
4542
4542
  })), s = A(() => `${Math.round(t.percentage)}%`);
4543
- return (o, l) => (k(), x("div", Lc, [
4544
- U("div", Cc, [
4545
- e.showPercentage && !t.loading ? (k(), x("div", {
4543
+ return (o, l) => (w(), x("div", Cc, [
4544
+ U("div", wc, [
4545
+ e.showPercentage && !t.loading ? (w(), x("div", {
4546
4546
  key: 0,
4547
4547
  class: "cregis-progress__tip",
4548
4548
  style: ve(r.value),
4549
4549
  "aria-live": "polite"
4550
4550
  }, J(s.value), 5)) : X("", !0),
4551
- U("div", wc, [
4551
+ U("div", kc, [
4552
4552
  U("div", {
4553
4553
  class: "cregis-progress__bar",
4554
4554
  style: ve(a.value)
4555
4555
  }, null, 4),
4556
- t.loading ? (k(), x("div", kc)) : X("", !0)
4556
+ t.loading ? (w(), x("div", Sc)) : X("", !0)
4557
4557
  ])
4558
4558
  ])
4559
4559
  ]));
4560
4560
  }
4561
4561
  });
4562
- var $e = "top", Ke = "bottom", Xe = "right", Me = "left", Lr = "auto", mn = [$e, Ke, Xe, Me], zt = "start", dn = "end", Sc = "clippingParents", Cs = "viewport", Zt = "popper", Ic = "reference", ba = /* @__PURE__ */ mn.reduce(function(e, t) {
4562
+ var $e = "top", Ke = "bottom", Xe = "right", Me = "left", Lr = "auto", mn = [$e, Ke, Xe, Me], zt = "start", dn = "end", Ic = "clippingParents", Cs = "viewport", Zt = "popper", Ac = "reference", ba = /* @__PURE__ */ mn.reduce(function(e, t) {
4563
4563
  return e.concat([t + "-" + zt, t + "-" + dn]);
4564
4564
  }, []), ws = /* @__PURE__ */ [].concat(mn, [Lr]).reduce(function(e, t) {
4565
4565
  return e.concat([t, t + "-" + zt, t + "-" + dn]);
4566
- }, []), Ac = "beforeRead", Dc = "read", xc = "afterRead", Pc = "beforeMain", Rc = "main", $c = "afterMain", Mc = "beforeWrite", Vc = "write", Fc = "afterWrite", Uc = [Ac, Dc, xc, Pc, Rc, $c, Mc, Vc, Fc];
4566
+ }, []), Dc = "beforeRead", xc = "read", Pc = "afterRead", Rc = "beforeMain", $c = "main", Mc = "afterMain", Vc = "beforeWrite", Fc = "write", Uc = "afterWrite", Wc = [Dc, xc, Pc, Rc, $c, Mc, Vc, Fc, Uc];
4567
4567
  function st(e) {
4568
4568
  return e ? (e.nodeName || "").toLowerCase() : null;
4569
4569
  }
@@ -4590,7 +4590,7 @@ function Cr(e) {
4590
4590
  var t = Fe(e).ShadowRoot;
4591
4591
  return e instanceof t || e instanceof ShadowRoot;
4592
4592
  }
4593
- function Wc(e) {
4593
+ function Bc(e) {
4594
4594
  var t = e.state;
4595
4595
  Object.keys(t.elements).forEach(function(n) {
4596
4596
  var a = t.styles[n] || {}, r = t.attributes[n] || {}, s = t.elements[n];
@@ -4600,7 +4600,7 @@ function Wc(e) {
4600
4600
  }));
4601
4601
  });
4602
4602
  }
4603
- function Bc(e) {
4603
+ function Hc(e) {
4604
4604
  var t = e.state, n = {
4605
4605
  popper: {
4606
4606
  position: t.options.strategy,
@@ -4624,18 +4624,18 @@ function Bc(e) {
4624
4624
  });
4625
4625
  };
4626
4626
  }
4627
- const Hc = {
4627
+ const jc = {
4628
4628
  name: "applyStyles",
4629
4629
  enabled: !0,
4630
4630
  phase: "write",
4631
- fn: Wc,
4632
- effect: Bc,
4631
+ fn: Bc,
4632
+ effect: Hc,
4633
4633
  requires: ["computeStyles"]
4634
4634
  };
4635
4635
  function rt(e) {
4636
4636
  return e.split("-")[0];
4637
4637
  }
4638
- var Ct = Math.max, Nn = Math.min, Kt = Math.round;
4638
+ var Ct = Math.max, On = Math.min, Kt = Math.round;
4639
4639
  function ar() {
4640
4640
  var e = navigator.userAgentData;
4641
4641
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
@@ -4687,7 +4687,7 @@ function Ss(e, t) {
4687
4687
  function mt(e) {
4688
4688
  return Fe(e).getComputedStyle(e);
4689
4689
  }
4690
- function jc(e) {
4690
+ function Gc(e) {
4691
4691
  return ["table", "td", "th"].indexOf(st(e)) >= 0;
4692
4692
  }
4693
4693
  function yt(e) {
@@ -4696,7 +4696,7 @@ function yt(e) {
4696
4696
  e.document
4697
4697
  )) || window.document).documentElement;
4698
4698
  }
4699
- function Dn(e) {
4699
+ function xn(e) {
4700
4700
  return st(e) === "html" ? e : (
4701
4701
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
4702
4702
  // $FlowFixMe[incompatible-return]
@@ -4712,14 +4712,14 @@ function ya(e) {
4712
4712
  return !ze(e) || // https://github.com/popperjs/popper-core/issues/837
4713
4713
  mt(e).position === "fixed" ? null : e.offsetParent;
4714
4714
  }
4715
- function Gc(e) {
4715
+ function Yc(e) {
4716
4716
  var t = /firefox/i.test(ar()), n = /Trident/i.test(ar());
4717
4717
  if (n && ze(e)) {
4718
4718
  var a = mt(e);
4719
4719
  if (a.position === "fixed")
4720
4720
  return null;
4721
4721
  }
4722
- var r = Dn(e);
4722
+ var r = xn(e);
4723
4723
  for (Cr(r) && (r = r.host); ze(r) && ["html", "body"].indexOf(st(r)) < 0; ) {
4724
4724
  var s = mt(r);
4725
4725
  if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
@@ -4729,17 +4729,17 @@ function Gc(e) {
4729
4729
  return null;
4730
4730
  }
4731
4731
  function pn(e) {
4732
- for (var t = Fe(e), n = ya(e); n && jc(n) && mt(n).position === "static"; )
4732
+ for (var t = Fe(e), n = ya(e); n && Gc(n) && mt(n).position === "static"; )
4733
4733
  n = ya(n);
4734
- return n && (st(n) === "html" || st(n) === "body" && mt(n).position === "static") ? t : n || Gc(e) || t;
4734
+ return n && (st(n) === "html" || st(n) === "body" && mt(n).position === "static") ? t : n || Yc(e) || t;
4735
4735
  }
4736
4736
  function kr(e) {
4737
4737
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
4738
4738
  }
4739
4739
  function nn(e, t, n) {
4740
- return Ct(e, Nn(t, n));
4740
+ return Ct(e, On(t, n));
4741
4741
  }
4742
- function Yc(e, t, n) {
4742
+ function zc(e, t, n) {
4743
4743
  var a = nn(e, t, n);
4744
4744
  return a > n ? n : a;
4745
4745
  }
@@ -4759,41 +4759,41 @@ function Ds(e, t) {
4759
4759
  return n[a] = e, n;
4760
4760
  }, {});
4761
4761
  }
4762
- var zc = function(t, n) {
4762
+ var Kc = function(t, n) {
4763
4763
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
4764
4764
  placement: n.placement
4765
4765
  })) : t, As(typeof t != "number" ? t : Ds(t, mn));
4766
4766
  };
4767
- function Kc(e) {
4767
+ function Xc(e) {
4768
4768
  var t, n = e.state, a = e.name, r = e.options, s = n.elements.arrow, o = n.modifiersData.popperOffsets, l = rt(n.placement), i = kr(l), f = [Me, Xe].indexOf(l) >= 0, m = f ? "height" : "width";
4769
4769
  if (!(!s || !o)) {
4770
- var v = zc(r.padding, n), p = wr(s), g = i === "y" ? $e : Me, E = i === "y" ? Ke : Xe, N = n.rects.reference[m] + n.rects.reference[i] - o[i] - n.rects.popper[m], O = o[i] - n.rects.reference[i], d = pn(s), _ = d ? i === "y" ? d.clientHeight || 0 : d.clientWidth || 0 : 0, C = N / 2 - O / 2, h = v[g], w = _ - p[m] - v[E], T = _ / 2 - p[m] / 2 + C, y = nn(h, T, w), W = i;
4770
+ var v = Kc(r.padding, n), p = wr(s), g = i === "y" ? $e : Me, E = i === "y" ? Ke : Xe, N = n.rects.reference[m] + n.rects.reference[i] - o[i] - n.rects.popper[m], L = o[i] - n.rects.reference[i], d = pn(s), _ = d ? i === "y" ? d.clientHeight || 0 : d.clientWidth || 0 : 0, O = N / 2 - L / 2, h = v[g], k = _ - p[m] - v[E], T = _ / 2 - p[m] / 2 + O, y = nn(h, T, k), W = i;
4771
4771
  n.modifiersData[a] = (t = {}, t[W] = y, t.centerOffset = y - T, t);
4772
4772
  }
4773
4773
  }
4774
- function Xc(e) {
4774
+ function qc(e) {
4775
4775
  var t = e.state, n = e.options, a = n.element, r = a === void 0 ? "[data-popper-arrow]" : a;
4776
4776
  r != null && (typeof r == "string" && (r = t.elements.popper.querySelector(r), !r) || Ss(t.elements.popper, r) && (t.elements.arrow = r));
4777
4777
  }
4778
- const qc = {
4778
+ const Qc = {
4779
4779
  name: "arrow",
4780
4780
  enabled: !0,
4781
4781
  phase: "main",
4782
- fn: Kc,
4783
- effect: Xc,
4782
+ fn: Xc,
4783
+ effect: qc,
4784
4784
  requires: ["popperOffsets"],
4785
4785
  requiresIfExists: ["preventOverflow"]
4786
4786
  };
4787
4787
  function qt(e) {
4788
4788
  return e.split("-")[1];
4789
4789
  }
4790
- var Qc = {
4790
+ var Jc = {
4791
4791
  top: "auto",
4792
4792
  right: "auto",
4793
4793
  bottom: "auto",
4794
4794
  left: "auto"
4795
4795
  };
4796
- function Jc(e, t) {
4796
+ function Zc(e, t) {
4797
4797
  var n = e.x, a = e.y, r = t.devicePixelRatio || 1;
4798
4798
  return {
4799
4799
  x: Kt(n * r) / r || 0,
@@ -4801,28 +4801,28 @@ function Jc(e, t) {
4801
4801
  };
4802
4802
  }
4803
4803
  function Ea(e) {
4804
- var t, n = e.popper, a = e.popperRect, r = e.placement, s = e.variation, o = e.offsets, l = e.position, i = e.gpuAcceleration, f = e.adaptive, m = e.roundOffsets, v = e.isFixed, p = o.x, g = p === void 0 ? 0 : p, E = o.y, N = E === void 0 ? 0 : E, O = typeof m == "function" ? m({
4804
+ var t, n = e.popper, a = e.popperRect, r = e.placement, s = e.variation, o = e.offsets, l = e.position, i = e.gpuAcceleration, f = e.adaptive, m = e.roundOffsets, v = e.isFixed, p = o.x, g = p === void 0 ? 0 : p, E = o.y, N = E === void 0 ? 0 : E, L = typeof m == "function" ? m({
4805
4805
  x: g,
4806
4806
  y: N
4807
4807
  }) : {
4808
4808
  x: g,
4809
4809
  y: N
4810
4810
  };
4811
- g = O.x, N = O.y;
4812
- var d = o.hasOwnProperty("x"), _ = o.hasOwnProperty("y"), C = Me, h = $e, w = window;
4811
+ g = L.x, N = L.y;
4812
+ var d = o.hasOwnProperty("x"), _ = o.hasOwnProperty("y"), O = Me, h = $e, k = window;
4813
4813
  if (f) {
4814
4814
  var T = pn(n), y = "clientHeight", W = "clientWidth";
4815
4815
  if (T === Fe(n) && (T = yt(n), mt(T).position !== "static" && l === "absolute" && (y = "scrollHeight", W = "scrollWidth")), T = T, r === $e || (r === Me || r === Xe) && s === dn) {
4816
4816
  h = Ke;
4817
- var B = v && T === w && w.visualViewport ? w.visualViewport.height : (
4817
+ var B = v && T === k && k.visualViewport ? k.visualViewport.height : (
4818
4818
  // $FlowFixMe[prop-missing]
4819
4819
  T[y]
4820
4820
  );
4821
4821
  N -= B - a.height, N *= i ? 1 : -1;
4822
4822
  }
4823
4823
  if (r === Me || (r === $e || r === Ke) && s === dn) {
4824
- C = Xe;
4825
- var Y = v && T === w && w.visualViewport ? w.visualViewport.width : (
4824
+ O = Xe;
4825
+ var Y = v && T === k && k.visualViewport ? k.visualViewport.width : (
4826
4826
  // $FlowFixMe[prop-missing]
4827
4827
  T[W]
4828
4828
  );
@@ -4831,7 +4831,7 @@ function Ea(e) {
4831
4831
  }
4832
4832
  var H = Object.assign({
4833
4833
  position: l
4834
- }, f && Qc), z = m === !0 ? Jc({
4834
+ }, f && Jc), z = m === !0 ? Zc({
4835
4835
  x: g,
4836
4836
  y: N
4837
4837
  }, Fe(n)) : {
@@ -4840,11 +4840,11 @@ function Ea(e) {
4840
4840
  };
4841
4841
  if (g = z.x, N = z.y, i) {
4842
4842
  var F;
4843
- return Object.assign({}, H, (F = {}, F[h] = _ ? "0" : "", F[C] = d ? "0" : "", F.transform = (w.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + N + "px)" : "translate3d(" + g + "px, " + N + "px, 0)", F));
4843
+ return Object.assign({}, H, (F = {}, F[h] = _ ? "0" : "", F[O] = d ? "0" : "", F.transform = (k.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + N + "px)" : "translate3d(" + g + "px, " + N + "px, 0)", F));
4844
4844
  }
4845
- return Object.assign({}, H, (t = {}, t[h] = _ ? N + "px" : "", t[C] = d ? g + "px" : "", t.transform = "", t));
4845
+ return Object.assign({}, H, (t = {}, t[h] = _ ? N + "px" : "", t[O] = d ? g + "px" : "", t.transform = "", t));
4846
4846
  }
4847
- function Zc(e) {
4847
+ function eu(e) {
4848
4848
  var t = e.state, n = e.options, a = n.gpuAcceleration, r = a === void 0 ? !0 : a, s = n.adaptive, o = s === void 0 ? !0 : s, l = n.roundOffsets, i = l === void 0 ? !0 : l, f = {
4849
4849
  placement: rt(t.placement),
4850
4850
  variation: qt(t.placement),
@@ -4867,17 +4867,17 @@ function Zc(e) {
4867
4867
  "data-popper-placement": t.placement
4868
4868
  });
4869
4869
  }
4870
- const eu = {
4870
+ const tu = {
4871
4871
  name: "computeStyles",
4872
4872
  enabled: !0,
4873
4873
  phase: "beforeWrite",
4874
- fn: Zc,
4874
+ fn: eu,
4875
4875
  data: {}
4876
4876
  };
4877
4877
  var _n = {
4878
4878
  passive: !0
4879
4879
  };
4880
- function tu(e) {
4880
+ function nu(e) {
4881
4881
  var t = e.state, n = e.instance, a = e.options, r = a.scroll, s = r === void 0 ? !0 : r, o = a.resize, l = o === void 0 ? !0 : o, i = Fe(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
4882
4882
  return s && f.forEach(function(m) {
4883
4883
  m.addEventListener("scroll", n.update, _n);
@@ -4887,16 +4887,16 @@ function tu(e) {
4887
4887
  }), l && i.removeEventListener("resize", n.update, _n);
4888
4888
  };
4889
4889
  }
4890
- const nu = {
4890
+ const ru = {
4891
4891
  name: "eventListeners",
4892
4892
  enabled: !0,
4893
4893
  phase: "write",
4894
4894
  fn: function() {
4895
4895
  },
4896
- effect: tu,
4896
+ effect: nu,
4897
4897
  data: {}
4898
4898
  };
4899
- var ru = {
4899
+ var au = {
4900
4900
  left: "right",
4901
4901
  right: "left",
4902
4902
  bottom: "top",
@@ -4904,16 +4904,16 @@ var ru = {
4904
4904
  };
4905
4905
  function En(e) {
4906
4906
  return e.replace(/left|right|bottom|top/g, function(t) {
4907
- return ru[t];
4907
+ return au[t];
4908
4908
  });
4909
4909
  }
4910
- var au = {
4910
+ var su = {
4911
4911
  start: "end",
4912
4912
  end: "start"
4913
4913
  };
4914
4914
  function Ta(e) {
4915
4915
  return e.replace(/start|end/g, function(t) {
4916
- return au[t];
4916
+ return su[t];
4917
4917
  });
4918
4918
  }
4919
4919
  function Sr(e) {
@@ -4926,7 +4926,7 @@ function Sr(e) {
4926
4926
  function Ir(e) {
4927
4927
  return Xt(yt(e)).left + Sr(e).scrollLeft;
4928
4928
  }
4929
- function su(e, t) {
4929
+ function ou(e, t) {
4930
4930
  var n = Fe(e), a = yt(e), r = n.visualViewport, s = a.clientWidth, o = a.clientHeight, l = 0, i = 0;
4931
4931
  if (r) {
4932
4932
  s = r.width, o = r.height;
@@ -4940,7 +4940,7 @@ function su(e, t) {
4940
4940
  y: i
4941
4941
  };
4942
4942
  }
4943
- function ou(e) {
4943
+ function lu(e) {
4944
4944
  var t, n = yt(e), a = Sr(e), r = (t = e.ownerDocument) == null ? void 0 : t.body, s = Ct(n.scrollWidth, n.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), o = Ct(n.scrollHeight, n.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), l = -a.scrollLeft + Ir(e), i = -a.scrollTop;
4945
4945
  return mt(r || n).direction === "rtl" && (l += Ct(n.clientWidth, r ? r.clientWidth : 0) - s), {
4946
4946
  width: s,
@@ -4954,7 +4954,7 @@ function Ar(e) {
4954
4954
  return /auto|scroll|overlay|hidden/.test(n + r + a);
4955
4955
  }
4956
4956
  function xs(e) {
4957
- return ["html", "body", "#document"].indexOf(st(e)) >= 0 ? e.ownerDocument.body : ze(e) && Ar(e) ? e : xs(Dn(e));
4957
+ return ["html", "body", "#document"].indexOf(st(e)) >= 0 ? e.ownerDocument.body : ze(e) && Ar(e) ? e : xs(xn(e));
4958
4958
  }
4959
4959
  function rn(e, t) {
4960
4960
  var n;
@@ -4962,7 +4962,7 @@ function rn(e, t) {
4962
4962
  var a = xs(e), r = a === ((n = e.ownerDocument) == null ? void 0 : n.body), s = Fe(a), o = r ? [s].concat(s.visualViewport || [], Ar(a) ? a : []) : a, l = t.concat(o);
4963
4963
  return r ? l : (
4964
4964
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
4965
- l.concat(rn(Dn(o)))
4965
+ l.concat(rn(xn(o)))
4966
4966
  );
4967
4967
  }
4968
4968
  function sr(e) {
@@ -4973,23 +4973,23 @@ function sr(e) {
4973
4973
  bottom: e.y + e.height
4974
4974
  });
4975
4975
  }
4976
- function lu(e, t) {
4976
+ function iu(e, t) {
4977
4977
  var n = Xt(e, !1, t === "fixed");
4978
4978
  return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
4979
4979
  }
4980
4980
  function Na(e, t, n) {
4981
- return t === Cs ? sr(su(e, n)) : At(t) ? lu(t, n) : sr(ou(yt(e)));
4981
+ return t === Cs ? sr(ou(e, n)) : At(t) ? iu(t, n) : sr(lu(yt(e)));
4982
4982
  }
4983
- function iu(e) {
4984
- var t = rn(Dn(e)), n = ["absolute", "fixed"].indexOf(mt(e).position) >= 0, a = n && ze(e) ? pn(e) : e;
4983
+ function cu(e) {
4984
+ var t = rn(xn(e)), n = ["absolute", "fixed"].indexOf(mt(e).position) >= 0, a = n && ze(e) ? pn(e) : e;
4985
4985
  return At(a) ? t.filter(function(r) {
4986
4986
  return At(r) && Ss(r, a) && st(r) !== "body";
4987
4987
  }) : [];
4988
4988
  }
4989
- function cu(e, t, n, a) {
4990
- var r = t === "clippingParents" ? iu(e) : [].concat(t), s = [].concat(r, [n]), o = s[0], l = s.reduce(function(i, f) {
4989
+ function uu(e, t, n, a) {
4990
+ var r = t === "clippingParents" ? cu(e) : [].concat(t), s = [].concat(r, [n]), o = s[0], l = s.reduce(function(i, f) {
4991
4991
  var m = Na(e, f, a);
4992
- return i.top = Ct(m.top, i.top), i.right = Nn(m.right, i.right), i.bottom = Nn(m.bottom, i.bottom), i.left = Ct(m.left, i.left), i;
4992
+ return i.top = Ct(m.top, i.top), i.right = On(m.right, i.right), i.bottom = On(m.bottom, i.bottom), i.left = Ct(m.left, i.left), i;
4993
4993
  }, Na(e, o, a));
4994
4994
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
4995
4995
  }
@@ -5042,15 +5042,15 @@ function Ps(e) {
5042
5042
  }
5043
5043
  function fn(e, t) {
5044
5044
  t === void 0 && (t = {});
5045
- var n = t, a = n.placement, r = a === void 0 ? e.placement : a, s = n.strategy, o = s === void 0 ? e.strategy : s, l = n.boundary, i = l === void 0 ? Sc : l, f = n.rootBoundary, m = f === void 0 ? Cs : f, v = n.elementContext, p = v === void 0 ? Zt : v, g = n.altBoundary, E = g === void 0 ? !1 : g, N = n.padding, O = N === void 0 ? 0 : N, d = As(typeof O != "number" ? O : Ds(O, mn)), _ = p === Zt ? Ic : Zt, C = e.rects.popper, h = e.elements[E ? _ : p], w = cu(At(h) ? h : h.contextElement || yt(e.elements.popper), i, m, o), T = Xt(e.elements.reference), y = Ps({
5045
+ var n = t, a = n.placement, r = a === void 0 ? e.placement : a, s = n.strategy, o = s === void 0 ? e.strategy : s, l = n.boundary, i = l === void 0 ? Ic : l, f = n.rootBoundary, m = f === void 0 ? Cs : f, v = n.elementContext, p = v === void 0 ? Zt : v, g = n.altBoundary, E = g === void 0 ? !1 : g, N = n.padding, L = N === void 0 ? 0 : N, d = As(typeof L != "number" ? L : Ds(L, mn)), _ = p === Zt ? Ac : Zt, O = e.rects.popper, h = e.elements[E ? _ : p], k = uu(At(h) ? h : h.contextElement || yt(e.elements.popper), i, m, o), T = Xt(e.elements.reference), y = Ps({
5046
5046
  reference: T,
5047
- element: C,
5047
+ element: O,
5048
5048
  placement: r
5049
- }), W = sr(Object.assign({}, C, y)), B = p === Zt ? W : T, Y = {
5050
- top: w.top - B.top + d.top,
5051
- bottom: B.bottom - w.bottom + d.bottom,
5052
- left: w.left - B.left + d.left,
5053
- right: B.right - w.right + d.right
5049
+ }), W = sr(Object.assign({}, O, y)), B = p === Zt ? W : T, Y = {
5050
+ top: k.top - B.top + d.top,
5051
+ bottom: B.bottom - k.bottom + d.bottom,
5052
+ left: k.left - B.left + d.left,
5053
+ right: B.right - k.right + d.right
5054
5054
  }, H = e.modifiersData.offset;
5055
5055
  if (p === Zt && H) {
5056
5056
  var z = H[r];
@@ -5061,7 +5061,7 @@ function fn(e, t) {
5061
5061
  }
5062
5062
  return Y;
5063
5063
  }
5064
- function uu(e, t) {
5064
+ function du(e, t) {
5065
5065
  t === void 0 && (t = {});
5066
5066
  var n = t, a = n.placement, r = n.boundary, s = n.rootBoundary, o = n.padding, l = n.flipVariations, i = n.allowedAutoPlacements, f = i === void 0 ? ws : i, m = qt(a), v = m ? l ? ba : ba.filter(function(E) {
5067
5067
  return qt(E) === m;
@@ -5081,17 +5081,17 @@ function uu(e, t) {
5081
5081
  return g[E] - g[N];
5082
5082
  });
5083
5083
  }
5084
- function du(e) {
5084
+ function fu(e) {
5085
5085
  if (rt(e) === Lr)
5086
5086
  return [];
5087
5087
  var t = En(e);
5088
5088
  return [Ta(e), t, Ta(t)];
5089
5089
  }
5090
- function fu(e) {
5090
+ function mu(e) {
5091
5091
  var t = e.state, n = e.options, a = e.name;
5092
5092
  if (!t.modifiersData[a]._skip) {
5093
- for (var r = n.mainAxis, s = r === void 0 ? !0 : r, o = n.altAxis, l = o === void 0 ? !0 : o, i = n.fallbackPlacements, f = n.padding, m = n.boundary, v = n.rootBoundary, p = n.altBoundary, g = n.flipVariations, E = g === void 0 ? !0 : g, N = n.allowedAutoPlacements, O = t.options.placement, d = rt(O), _ = d === O, C = i || (_ || !E ? [En(O)] : du(O)), h = [O].concat(C).reduce(function(Re, Se) {
5094
- return Re.concat(rt(Se) === Lr ? uu(t, {
5093
+ for (var r = n.mainAxis, s = r === void 0 ? !0 : r, o = n.altAxis, l = o === void 0 ? !0 : o, i = n.fallbackPlacements, f = n.padding, m = n.boundary, v = n.rootBoundary, p = n.altBoundary, g = n.flipVariations, E = g === void 0 ? !0 : g, N = n.allowedAutoPlacements, L = t.options.placement, d = rt(L), _ = d === L, O = i || (_ || !E ? [En(L)] : fu(L)), h = [L].concat(O).reduce(function(Re, Se) {
5094
+ return Re.concat(rt(Se) === Lr ? du(t, {
5095
5095
  placement: Se,
5096
5096
  boundary: m,
5097
5097
  rootBoundary: v,
@@ -5099,7 +5099,7 @@ function fu(e) {
5099
5099
  flipVariations: E,
5100
5100
  allowedAutoPlacements: N
5101
5101
  }) : Se);
5102
- }, []), w = t.rects.reference, T = t.rects.popper, y = /* @__PURE__ */ new Map(), W = !0, B = h[0], Y = 0; Y < h.length; Y++) {
5102
+ }, []), k = t.rects.reference, T = t.rects.popper, y = /* @__PURE__ */ new Map(), W = !0, B = h[0], Y = 0; Y < h.length; Y++) {
5103
5103
  var H = h[Y], z = rt(H), F = qt(H) === zt, q = [$e, Ke].indexOf(z) >= 0, ge = q ? "width" : "height", S = fn(t, {
5104
5104
  placement: H,
5105
5105
  boundary: m,
@@ -5107,7 +5107,7 @@ function fu(e) {
5107
5107
  altBoundary: p,
5108
5108
  padding: f
5109
5109
  }), I = q ? F ? Xe : Me : F ? Ke : $e;
5110
- w[ge] > T[ge] && (I = En(I));
5110
+ k[ge] > T[ge] && (I = En(I));
5111
5111
  var R = En(I), V = [];
5112
5112
  if (s && V.push(S[z] <= 0), l && V.push(S[I] <= 0, S[R] <= 0), V.every(function(Re) {
5113
5113
  return Re;
@@ -5135,11 +5135,11 @@ function fu(e) {
5135
5135
  t.placement !== B && (t.modifiersData[a]._skip = !0, t.placement = B, t.reset = !0);
5136
5136
  }
5137
5137
  }
5138
- const mu = {
5138
+ const pu = {
5139
5139
  name: "flip",
5140
5140
  enabled: !0,
5141
5141
  phase: "main",
5142
- fn: fu,
5142
+ fn: mu,
5143
5143
  requiresIfExists: ["offset"],
5144
5144
  data: {
5145
5145
  _skip: !1
@@ -5161,7 +5161,7 @@ function La(e) {
5161
5161
  return e[t] >= 0;
5162
5162
  });
5163
5163
  }
5164
- function pu(e) {
5164
+ function vu(e) {
5165
5165
  var t = e.state, n = e.name, a = t.rects.reference, r = t.rects.popper, s = t.modifiersData.preventOverflow, o = fn(t, {
5166
5166
  elementContext: "reference"
5167
5167
  }), l = fn(t, {
@@ -5177,14 +5177,14 @@ function pu(e) {
5177
5177
  "data-popper-escaped": v
5178
5178
  });
5179
5179
  }
5180
- const vu = {
5180
+ const gu = {
5181
5181
  name: "hide",
5182
5182
  enabled: !0,
5183
5183
  phase: "main",
5184
5184
  requiresIfExists: ["preventOverflow"],
5185
- fn: pu
5185
+ fn: vu
5186
5186
  };
5187
- function gu(e, t, n) {
5187
+ function hu(e, t, n) {
5188
5188
  var a = rt(e), r = [Me, $e].indexOf(a) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
5189
5189
  placement: e
5190
5190
  })) : n, o = s[0], l = s[1];
@@ -5196,20 +5196,20 @@ function gu(e, t, n) {
5196
5196
  y: l
5197
5197
  };
5198
5198
  }
5199
- function hu(e) {
5199
+ function _u(e) {
5200
5200
  var t = e.state, n = e.options, a = e.name, r = n.offset, s = r === void 0 ? [0, 0] : r, o = ws.reduce(function(m, v) {
5201
- return m[v] = gu(v, t.rects, s), m;
5201
+ return m[v] = hu(v, t.rects, s), m;
5202
5202
  }, {}), l = o[t.placement], i = l.x, f = l.y;
5203
5203
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += i, t.modifiersData.popperOffsets.y += f), t.modifiersData[a] = o;
5204
5204
  }
5205
- const _u = {
5205
+ const bu = {
5206
5206
  name: "offset",
5207
5207
  enabled: !0,
5208
5208
  phase: "main",
5209
5209
  requires: ["popperOffsets"],
5210
- fn: hu
5210
+ fn: _u
5211
5211
  };
5212
- function bu(e) {
5212
+ function yu(e) {
5213
5213
  var t = e.state, n = e.name;
5214
5214
  t.modifiersData[n] = Ps({
5215
5215
  reference: t.rects.reference,
@@ -5217,23 +5217,23 @@ function bu(e) {
5217
5217
  placement: t.placement
5218
5218
  });
5219
5219
  }
5220
- const yu = {
5220
+ const Eu = {
5221
5221
  name: "popperOffsets",
5222
5222
  enabled: !0,
5223
5223
  phase: "read",
5224
- fn: bu,
5224
+ fn: yu,
5225
5225
  data: {}
5226
5226
  };
5227
- function Eu(e) {
5227
+ function Tu(e) {
5228
5228
  return e === "x" ? "y" : "x";
5229
5229
  }
5230
- function Tu(e) {
5231
- var t = e.state, n = e.options, a = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, o = n.altAxis, l = o === void 0 ? !1 : o, i = n.boundary, f = n.rootBoundary, m = n.altBoundary, v = n.padding, p = n.tether, g = p === void 0 ? !0 : p, E = n.tetherOffset, N = E === void 0 ? 0 : E, O = fn(t, {
5230
+ function Nu(e) {
5231
+ var t = e.state, n = e.options, a = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, o = n.altAxis, l = o === void 0 ? !1 : o, i = n.boundary, f = n.rootBoundary, m = n.altBoundary, v = n.padding, p = n.tether, g = p === void 0 ? !0 : p, E = n.tetherOffset, N = E === void 0 ? 0 : E, L = fn(t, {
5232
5232
  boundary: i,
5233
5233
  rootBoundary: f,
5234
5234
  padding: v,
5235
5235
  altBoundary: m
5236
- }), d = rt(t.placement), _ = qt(t.placement), C = !_, h = kr(d), w = Eu(h), T = t.modifiersData.popperOffsets, y = t.rects.reference, W = t.rects.popper, B = typeof N == "function" ? N(Object.assign({}, t.rects, {
5236
+ }), d = rt(t.placement), _ = qt(t.placement), O = !_, h = kr(d), k = Tu(h), T = t.modifiersData.popperOffsets, y = t.rects.reference, W = t.rects.popper, B = typeof N == "function" ? N(Object.assign({}, t.rects, {
5237
5237
  placement: t.placement
5238
5238
  })) : N, Y = typeof B == "number" ? {
5239
5239
  mainAxis: B,
@@ -5247,42 +5247,42 @@ function Tu(e) {
5247
5247
  };
5248
5248
  if (T) {
5249
5249
  if (s) {
5250
- var F, q = h === "y" ? $e : Me, ge = h === "y" ? Ke : Xe, S = h === "y" ? "height" : "width", I = T[h], R = I + O[q], V = I - O[ge], j = g ? -W[S] / 2 : 0, Z = _ === zt ? y[S] : W[S], oe = _ === zt ? -W[S] : -y[S], he = t.elements.arrow, Re = g && he ? wr(he) : {
5250
+ var F, q = h === "y" ? $e : Me, ge = h === "y" ? Ke : Xe, S = h === "y" ? "height" : "width", I = T[h], R = I + L[q], V = I - L[ge], j = g ? -W[S] / 2 : 0, Z = _ === zt ? y[S] : W[S], oe = _ === zt ? -W[S] : -y[S], he = t.elements.arrow, Re = g && he ? wr(he) : {
5251
5251
  width: 0,
5252
5252
  height: 0
5253
- }, Se = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Is(), xe = Se[q], $ = Se[ge], fe = nn(0, y[S], Re[S]), Ee = C ? y[S] / 2 - j - fe - xe - Y.mainAxis : Z - fe - xe - Y.mainAxis, Ie = C ? -y[S] / 2 + j + fe + $ + Y.mainAxis : oe + fe + $ + Y.mainAxis, lt = t.elements.arrow && pn(t.elements.arrow), Et = lt ? h === "y" ? lt.clientTop || 0 : lt.clientLeft || 0 : 0, Ze = (F = H?.[h]) != null ? F : 0, it = I + Ee - Ze - Et, Ue = I + Ie - Ze, et = nn(g ? Nn(R, it) : R, I, g ? Ct(V, Ue) : V);
5253
+ }, Se = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Is(), xe = Se[q], $ = Se[ge], fe = nn(0, y[S], Re[S]), Ee = O ? y[S] / 2 - j - fe - xe - Y.mainAxis : Z - fe - xe - Y.mainAxis, Ie = O ? -y[S] / 2 + j + fe + $ + Y.mainAxis : oe + fe + $ + Y.mainAxis, lt = t.elements.arrow && pn(t.elements.arrow), Et = lt ? h === "y" ? lt.clientTop || 0 : lt.clientLeft || 0 : 0, Ze = (F = H?.[h]) != null ? F : 0, it = I + Ee - Ze - Et, Ue = I + Ie - Ze, et = nn(g ? On(R, it) : R, I, g ? Ct(V, Ue) : V);
5254
5254
  T[h] = et, z[h] = et - I;
5255
5255
  }
5256
5256
  if (l) {
5257
- var pt, c = h === "x" ? $e : Me, u = h === "x" ? Ke : Xe, b = T[w], P = w === "y" ? "height" : "width", Q = b + O[c], me = b - O[u], ne = [$e, Me].indexOf(d) !== -1, L = (pt = H?.[w]) != null ? pt : 0, D = ne ? Q : b - y[P] - W[P] - L + Y.altAxis, re = ne ? b + y[P] + W[P] - L - Y.altAxis : me, _e = g && ne ? Yc(D, b, re) : nn(g ? D : Q, b, g ? re : me);
5258
- T[w] = _e, z[w] = _e - b;
5257
+ var pt, c = h === "x" ? $e : Me, u = h === "x" ? Ke : Xe, b = T[k], P = k === "y" ? "height" : "width", Q = b + L[c], me = b - L[u], ne = [$e, Me].indexOf(d) !== -1, C = (pt = H?.[k]) != null ? pt : 0, D = ne ? Q : b - y[P] - W[P] - C + Y.altAxis, re = ne ? b + y[P] + W[P] - C - Y.altAxis : me, _e = g && ne ? zc(D, b, re) : nn(g ? D : Q, b, g ? re : me);
5258
+ T[k] = _e, z[k] = _e - b;
5259
5259
  }
5260
5260
  t.modifiersData[a] = z;
5261
5261
  }
5262
5262
  }
5263
- const Nu = {
5263
+ const Ou = {
5264
5264
  name: "preventOverflow",
5265
5265
  enabled: !0,
5266
5266
  phase: "main",
5267
- fn: Tu,
5267
+ fn: Nu,
5268
5268
  requiresIfExists: ["offset"]
5269
5269
  };
5270
- function Ou(e) {
5270
+ function Lu(e) {
5271
5271
  return {
5272
5272
  scrollLeft: e.scrollLeft,
5273
5273
  scrollTop: e.scrollTop
5274
5274
  };
5275
5275
  }
5276
- function Lu(e) {
5277
- return e === Fe(e) || !ze(e) ? Sr(e) : Ou(e);
5278
- }
5279
5276
  function Cu(e) {
5277
+ return e === Fe(e) || !ze(e) ? Sr(e) : Lu(e);
5278
+ }
5279
+ function wu(e) {
5280
5280
  var t = e.getBoundingClientRect(), n = Kt(t.width) / e.offsetWidth || 1, a = Kt(t.height) / e.offsetHeight || 1;
5281
5281
  return n !== 1 || a !== 1;
5282
5282
  }
5283
- function wu(e, t, n) {
5283
+ function ku(e, t, n) {
5284
5284
  n === void 0 && (n = !1);
5285
- var a = ze(t), r = ze(t) && Cu(t), s = yt(t), o = Xt(e, r, n), l = {
5285
+ var a = ze(t), r = ze(t) && wu(t), s = yt(t), o = Xt(e, r, n), l = {
5286
5286
  scrollLeft: 0,
5287
5287
  scrollTop: 0
5288
5288
  }, i = {
@@ -5290,14 +5290,14 @@ function wu(e, t, n) {
5290
5290
  y: 0
5291
5291
  };
5292
5292
  return (a || !a && !n) && ((st(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
5293
- Ar(s)) && (l = Lu(t)), ze(t) ? (i = Xt(t, !0), i.x += t.clientLeft, i.y += t.clientTop) : s && (i.x = Ir(s))), {
5293
+ Ar(s)) && (l = Cu(t)), ze(t) ? (i = Xt(t, !0), i.x += t.clientLeft, i.y += t.clientTop) : s && (i.x = Ir(s))), {
5294
5294
  x: o.left + l.scrollLeft - i.x,
5295
5295
  y: o.top + l.scrollTop - i.y,
5296
5296
  width: o.width,
5297
5297
  height: o.height
5298
5298
  };
5299
5299
  }
5300
- function ku(e) {
5300
+ function Su(e) {
5301
5301
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), a = [];
5302
5302
  e.forEach(function(s) {
5303
5303
  t.set(s.name, s);
@@ -5316,15 +5316,15 @@ function ku(e) {
5316
5316
  n.has(s.name) || r(s);
5317
5317
  }), a;
5318
5318
  }
5319
- function Su(e) {
5320
- var t = ku(e);
5321
- return Uc.reduce(function(n, a) {
5319
+ function Iu(e) {
5320
+ var t = Su(e);
5321
+ return Wc.reduce(function(n, a) {
5322
5322
  return n.concat(t.filter(function(r) {
5323
5323
  return r.phase === a;
5324
5324
  }));
5325
5325
  }, []);
5326
5326
  }
5327
- function Iu(e) {
5327
+ function Au(e) {
5328
5328
  var t;
5329
5329
  return function() {
5330
5330
  return t || (t = new Promise(function(n) {
@@ -5334,7 +5334,7 @@ function Iu(e) {
5334
5334
  })), t;
5335
5335
  };
5336
5336
  }
5337
- function Au(e) {
5337
+ function Du(e) {
5338
5338
  var t = e.reduce(function(n, a) {
5339
5339
  var r = n[a.name];
5340
5340
  return n[a.name] = r ? Object.assign({}, r, a, {
@@ -5358,7 +5358,7 @@ function wa() {
5358
5358
  return !(a && typeof a.getBoundingClientRect == "function");
5359
5359
  });
5360
5360
  }
5361
- function Du(e) {
5361
+ function xu(e) {
5362
5362
  e === void 0 && (e = {});
5363
5363
  var t = e, n = t.defaultModifiers, a = n === void 0 ? [] : n, r = t.defaultOptions, s = r === void 0 ? Ca : r;
5364
5364
  return function(l, i, f) {
@@ -5382,8 +5382,8 @@ function Du(e) {
5382
5382
  reference: At(l) ? rn(l) : l.contextElement ? rn(l.contextElement) : [],
5383
5383
  popper: rn(i)
5384
5384
  };
5385
- var C = Su(Au([].concat(a, m.options.modifiers)));
5386
- return m.orderedModifiers = C.filter(function(h) {
5385
+ var O = Iu(Du([].concat(a, m.options.modifiers)));
5386
+ return m.orderedModifiers = O.filter(function(h) {
5387
5387
  return h.enabled;
5388
5388
  }), E(), g.update();
5389
5389
  },
@@ -5394,11 +5394,11 @@ function Du(e) {
5394
5394
  // prefer the async Popper#update method
5395
5395
  forceUpdate: function() {
5396
5396
  if (!p) {
5397
- var d = m.elements, _ = d.reference, C = d.popper;
5398
- if (wa(_, C)) {
5397
+ var d = m.elements, _ = d.reference, O = d.popper;
5398
+ if (wa(_, O)) {
5399
5399
  m.rects = {
5400
- reference: wu(_, pn(C), m.options.strategy === "fixed"),
5401
- popper: wr(C)
5400
+ reference: ku(_, pn(O), m.options.strategy === "fixed"),
5401
+ popper: wr(O)
5402
5402
  }, m.reset = !1, m.placement = m.options.placement, m.orderedModifiers.forEach(function(Y) {
5403
5403
  return m.modifiersData[Y.name] = Object.assign({}, Y.data);
5404
5404
  });
@@ -5407,7 +5407,7 @@ function Du(e) {
5407
5407
  m.reset = !1, h = -1;
5408
5408
  continue;
5409
5409
  }
5410
- var w = m.orderedModifiers[h], T = w.fn, y = w.options, W = y === void 0 ? {} : y, B = w.name;
5410
+ var k = m.orderedModifiers[h], T = k.fn, y = k.options, W = y === void 0 ? {} : y, B = k.name;
5411
5411
  typeof T == "function" && (m = T({
5412
5412
  state: m,
5413
5413
  options: W,
@@ -5420,9 +5420,9 @@ function Du(e) {
5420
5420
  },
5421
5421
  // Async and optimistically optimized update – it will not be executed if
5422
5422
  // not necessary (debounced to run at most once-per-tick)
5423
- update: Iu(function() {
5424
- return new Promise(function(O) {
5425
- g.forceUpdate(), O(m);
5423
+ update: Au(function() {
5424
+ return new Promise(function(L) {
5425
+ g.forceUpdate(), L(m);
5426
5426
  });
5427
5427
  }),
5428
5428
  destroy: function() {
@@ -5431,98 +5431,98 @@ function Du(e) {
5431
5431
  };
5432
5432
  if (!wa(l, i))
5433
5433
  return g;
5434
- g.setOptions(f).then(function(O) {
5435
- !p && f.onFirstUpdate && f.onFirstUpdate(O);
5434
+ g.setOptions(f).then(function(L) {
5435
+ !p && f.onFirstUpdate && f.onFirstUpdate(L);
5436
5436
  });
5437
5437
  function E() {
5438
- m.orderedModifiers.forEach(function(O) {
5439
- var d = O.name, _ = O.options, C = _ === void 0 ? {} : _, h = O.effect;
5438
+ m.orderedModifiers.forEach(function(L) {
5439
+ var d = L.name, _ = L.options, O = _ === void 0 ? {} : _, h = L.effect;
5440
5440
  if (typeof h == "function") {
5441
- var w = h({
5441
+ var k = h({
5442
5442
  state: m,
5443
5443
  name: d,
5444
5444
  instance: g,
5445
- options: C
5445
+ options: O
5446
5446
  }), T = function() {
5447
5447
  };
5448
- v.push(w || T);
5448
+ v.push(k || T);
5449
5449
  }
5450
5450
  });
5451
5451
  }
5452
5452
  function N() {
5453
- v.forEach(function(O) {
5454
- return O();
5453
+ v.forEach(function(L) {
5454
+ return L();
5455
5455
  }), v = [];
5456
5456
  }
5457
5457
  return g;
5458
5458
  };
5459
5459
  }
5460
- var xu = [nu, yu, eu, Hc, _u, mu, Nu, qc, vu], Rs = /* @__PURE__ */ Du({
5461
- defaultModifiers: xu
5462
- }), Pu = typeof global == "object" && global && global.Object === Object && global, Ru = typeof self == "object" && self && self.Object === Object && self, $s = Pu || Ru || Function("return this")(), On = $s.Symbol, Ms = Object.prototype, $u = Ms.hasOwnProperty, Mu = Ms.toString, en = On ? On.toStringTag : void 0;
5463
- function Vu(e) {
5464
- var t = $u.call(e, en), n = e[en];
5460
+ var Pu = [ru, Eu, tu, jc, bu, pu, Ou, Qc, gu], Rs = /* @__PURE__ */ xu({
5461
+ defaultModifiers: Pu
5462
+ }), Ru = typeof global == "object" && global && global.Object === Object && global, $u = typeof self == "object" && self && self.Object === Object && self, $s = Ru || $u || Function("return this")(), Ln = $s.Symbol, Ms = Object.prototype, Mu = Ms.hasOwnProperty, Vu = Ms.toString, en = Ln ? Ln.toStringTag : void 0;
5463
+ function Fu(e) {
5464
+ var t = Mu.call(e, en), n = e[en];
5465
5465
  try {
5466
5466
  e[en] = void 0;
5467
5467
  var a = !0;
5468
5468
  } catch {
5469
5469
  }
5470
- var r = Mu.call(e);
5470
+ var r = Vu.call(e);
5471
5471
  return a && (t ? e[en] = n : delete e[en]), r;
5472
5472
  }
5473
- var Fu = Object.prototype, Uu = Fu.toString;
5474
- function Wu(e) {
5475
- return Uu.call(e);
5476
- }
5477
- var Bu = "[object Null]", Hu = "[object Undefined]", ka = On ? On.toStringTag : void 0;
5478
- function ju(e) {
5479
- return e == null ? e === void 0 ? Hu : Bu : ka && ka in Object(e) ? Vu(e) : Wu(e);
5473
+ var Uu = Object.prototype, Wu = Uu.toString;
5474
+ function Bu(e) {
5475
+ return Wu.call(e);
5480
5476
  }
5477
+ var Hu = "[object Null]", ju = "[object Undefined]", ka = Ln ? Ln.toStringTag : void 0;
5481
5478
  function Gu(e) {
5479
+ return e == null ? e === void 0 ? ju : Hu : ka && ka in Object(e) ? Fu(e) : Bu(e);
5480
+ }
5481
+ function Yu(e) {
5482
5482
  return e != null && typeof e == "object";
5483
5483
  }
5484
- var Yu = "[object Symbol]";
5485
- function zu(e) {
5486
- return typeof e == "symbol" || Gu(e) && ju(e) == Yu;
5484
+ var zu = "[object Symbol]";
5485
+ function Ku(e) {
5486
+ return typeof e == "symbol" || Yu(e) && Gu(e) == zu;
5487
5487
  }
5488
- var Ku = /\s/;
5489
- function Xu(e) {
5490
- for (var t = e.length; t-- && Ku.test(e.charAt(t)); )
5488
+ var Xu = /\s/;
5489
+ function qu(e) {
5490
+ for (var t = e.length; t-- && Xu.test(e.charAt(t)); )
5491
5491
  ;
5492
5492
  return t;
5493
5493
  }
5494
- var qu = /^\s+/;
5495
- function Qu(e) {
5496
- return e && e.slice(0, Xu(e) + 1).replace(qu, "");
5494
+ var Qu = /^\s+/;
5495
+ function Ju(e) {
5496
+ return e && e.slice(0, qu(e) + 1).replace(Qu, "");
5497
5497
  }
5498
- function Ln(e) {
5498
+ function Cn(e) {
5499
5499
  var t = typeof e;
5500
5500
  return e != null && (t == "object" || t == "function");
5501
5501
  }
5502
- var Sa = NaN, Ju = /^[-+]0x[0-9a-f]+$/i, Zu = /^0b[01]+$/i, ed = /^0o[0-7]+$/i, td = parseInt;
5502
+ var Sa = NaN, Zu = /^[-+]0x[0-9a-f]+$/i, ed = /^0b[01]+$/i, td = /^0o[0-7]+$/i, nd = parseInt;
5503
5503
  function Ia(e) {
5504
5504
  if (typeof e == "number")
5505
5505
  return e;
5506
- if (zu(e))
5506
+ if (Ku(e))
5507
5507
  return Sa;
5508
- if (Ln(e)) {
5508
+ if (Cn(e)) {
5509
5509
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
5510
- e = Ln(t) ? t + "" : t;
5510
+ e = Cn(t) ? t + "" : t;
5511
5511
  }
5512
5512
  if (typeof e != "string")
5513
5513
  return e === 0 ? e : +e;
5514
- e = Qu(e);
5515
- var n = Zu.test(e);
5516
- return n || ed.test(e) ? td(e.slice(2), n ? 2 : 8) : Ju.test(e) ? Sa : +e;
5514
+ e = Ju(e);
5515
+ var n = ed.test(e);
5516
+ return n || td.test(e) ? nd(e.slice(2), n ? 2 : 8) : Zu.test(e) ? Sa : +e;
5517
5517
  }
5518
- var Hn = function() {
5518
+ var jn = function() {
5519
5519
  return $s.Date.now();
5520
- }, nd = "Expected a function", rd = Math.max, ad = Math.min;
5520
+ }, rd = "Expected a function", ad = Math.max, sd = Math.min;
5521
5521
  function or(e, t, n) {
5522
5522
  var a, r, s, o, l, i, f = 0, m = !1, v = !1, p = !0;
5523
5523
  if (typeof e != "function")
5524
- throw new TypeError(nd);
5525
- t = Ia(t) || 0, Ln(n) && (m = !!n.leading, v = "maxWait" in n, s = v ? rd(Ia(n.maxWait) || 0, t) : s, p = "trailing" in n ? !!n.trailing : p);
5524
+ throw new TypeError(rd);
5525
+ t = Ia(t) || 0, Cn(n) && (m = !!n.leading, v = "maxWait" in n, s = v ? ad(Ia(n.maxWait) || 0, t) : s, p = "trailing" in n ? !!n.trailing : p);
5526
5526
  function g(T) {
5527
5527
  var y = a, W = r;
5528
5528
  return a = r = void 0, f = T, o = e.apply(W, y), o;
@@ -5532,29 +5532,29 @@ function or(e, t, n) {
5532
5532
  }
5533
5533
  function N(T) {
5534
5534
  var y = T - i, W = T - f, B = t - y;
5535
- return v ? ad(B, s - W) : B;
5535
+ return v ? sd(B, s - W) : B;
5536
5536
  }
5537
- function O(T) {
5537
+ function L(T) {
5538
5538
  var y = T - i, W = T - f;
5539
5539
  return i === void 0 || y >= t || y < 0 || v && W >= s;
5540
5540
  }
5541
5541
  function d() {
5542
- var T = Hn();
5543
- if (O(T))
5542
+ var T = jn();
5543
+ if (L(T))
5544
5544
  return _(T);
5545
5545
  l = setTimeout(d, N(T));
5546
5546
  }
5547
5547
  function _(T) {
5548
5548
  return l = void 0, p && a ? g(T) : (a = r = void 0, o);
5549
5549
  }
5550
- function C() {
5550
+ function O() {
5551
5551
  l !== void 0 && clearTimeout(l), f = 0, a = i = r = l = void 0;
5552
5552
  }
5553
5553
  function h() {
5554
- return l === void 0 ? o : _(Hn());
5554
+ return l === void 0 ? o : _(jn());
5555
5555
  }
5556
- function w() {
5557
- var T = Hn(), y = O(T);
5556
+ function k() {
5557
+ var T = jn(), y = L(T);
5558
5558
  if (a = arguments, r = this, i = T, y) {
5559
5559
  if (l === void 0)
5560
5560
  return E(i);
@@ -5563,14 +5563,14 @@ function or(e, t, n) {
5563
5563
  }
5564
5564
  return l === void 0 && (l = setTimeout(d, t)), o;
5565
5565
  }
5566
- return w.cancel = C, w.flush = h, w;
5566
+ return k.cancel = O, k.flush = h, k;
5567
5567
  }
5568
- var sd = "Expected a function";
5569
- function od(e, t, n) {
5568
+ var od = "Expected a function";
5569
+ function ld(e, t, n) {
5570
5570
  var a = !0, r = !0;
5571
5571
  if (typeof e != "function")
5572
- throw new TypeError(sd);
5573
- return Ln(n) && (a = "leading" in n ? !!n.leading : a, r = "trailing" in n ? !!n.trailing : r), or(e, t, {
5572
+ throw new TypeError(od);
5573
+ return Cn(n) && (a = "leading" in n ? !!n.leading : a, r = "trailing" in n ? !!n.trailing : r), or(e, t, {
5574
5574
  leading: a,
5575
5575
  maxWait: t,
5576
5576
  trailing: r
@@ -5606,10 +5606,10 @@ function Vs(e, t, n = {}) {
5606
5606
  document.removeEventListener("pointerdown", f, r), document.removeEventListener("click", m, r);
5607
5607
  });
5608
5608
  }
5609
- let jn = 5e5;
5610
- const ld = () => ({
5611
- getDialogZIndex: () => (jn = jn + 1, jn)
5612
- }), id = 80, lr = /* @__PURE__ */ de({
5609
+ let Tn = 1e5;
5610
+ const Fs = () => (Tn = Tn + 1, Tn), bf = (e) => {
5611
+ Tn = e;
5612
+ }, id = 80, lr = /* @__PURE__ */ de({
5613
5613
  name: "Popover",
5614
5614
  __name: "Popover",
5615
5615
  props: {
@@ -5631,12 +5631,12 @@ const ld = () => ({
5631
5631
  setup(e, { expose: t, emit: n }) {
5632
5632
  const a = G(!1), r = e, s = A(() => r.preserveContentMount || a.value), o = A(() => !r.preserveContentMount || a.value), l = n, i = G(null), f = G(), m = G();
5633
5633
  let v = null, p = Mt({}), g = Mt({}), E = Mt({});
5634
- const N = (F) => typeof F == "number" ? `${F}px` : F, O = A(() => {
5634
+ const N = (F) => typeof F == "number" ? `${F}px` : F, L = A(() => {
5635
5635
  const F = r.maxPopperHeight;
5636
5636
  return F != null && F !== "";
5637
5637
  }), d = A(() => {
5638
5638
  const F = {}, q = r.popperWidth;
5639
- if (q != null && q !== "" && (F.width = N(q)), O.value) {
5639
+ if (q != null && q !== "" && (F.width = N(q)), L.value) {
5640
5640
  const ge = r.maxPopperHeight;
5641
5641
  F.maxHeight = N(ge), F.overflowY = "auto", F.scrollbarWidth = "none", F.msOverflowStyle = "none";
5642
5642
  }
@@ -5646,7 +5646,7 @@ const ld = () => ({
5646
5646
  if (!F) return null;
5647
5647
  const q = F.firstElementChild;
5648
5648
  return q instanceof HTMLElement ? q : F;
5649
- }, C = A(() => ({
5649
+ }, O = A(() => ({
5650
5650
  placement: r.placement,
5651
5651
  modifiers: [
5652
5652
  {
@@ -5659,9 +5659,9 @@ const ld = () => ({
5659
5659
  ...r.popoverOptions
5660
5660
  })), h = () => {
5661
5661
  r.disabled || (a.value = !0, l("visible-change", !0));
5662
- }, w = () => {
5662
+ }, k = () => {
5663
5663
  a.value = !1, l("visible-change", !1);
5664
- }, T = or(h, r.openDelay), y = or(w, r.closeDelay), W = () => {
5664
+ }, T = or(h, r.openDelay), y = or(k, r.closeDelay), W = () => {
5665
5665
  r.disabled || (y.cancel(), T());
5666
5666
  }, B = () => {
5667
5667
  T.cancel(), y();
@@ -5680,7 +5680,7 @@ const ld = () => ({
5680
5680
  (F) => {
5681
5681
  if (F) {
5682
5682
  const q = _();
5683
- q && m.value ? v = Rs(q, m.value, C.value) : v?.destroy();
5683
+ q && m.value ? v = Rs(q, m.value, O.value) : v?.destroy();
5684
5684
  }
5685
5685
  },
5686
5686
  { flush: "post" }
@@ -5707,7 +5707,7 @@ const ld = () => ({
5707
5707
  ), Dt(() => {
5708
5708
  r.manual || H();
5709
5709
  });
5710
- const z = od((F) => {
5710
+ const z = ld((F) => {
5711
5711
  const q = F.target;
5712
5712
  l("scroll", { scrollTop: q.scrollTop, scrollLeft: q.scrollLeft });
5713
5713
  }, id);
@@ -5717,37 +5717,37 @@ const ld = () => ({
5717
5717
  isOpen: a,
5718
5718
  open: W,
5719
5719
  close: B
5720
- }), (F, q) => (k(), x("div", gt({
5720
+ }), (F, q) => (w(), x("div", gt({
5721
5721
  class: "cregis-popover",
5722
5722
  ref_key: "popoverRef",
5723
5723
  ref: i
5724
- }, Pn(ee(p), !0)), [
5724
+ }, Rn(ee(p), !0)), [
5725
5725
  U("div", gt({
5726
5726
  class: ["cregis-popover__trigger", { "cregis-popover__trigger--disabled": e.disabled }],
5727
5727
  ref_key: "popoverTriggerRef",
5728
5728
  ref: f
5729
- }, Pn(ee(g), !0)), [
5729
+ }, Rn(ee(g), !0)), [
5730
5730
  ye(F.$slots, "reference")
5731
5731
  ], 16),
5732
- (k(), Te(cr, {
5732
+ (w(), Te(cr, {
5733
5733
  to: "body",
5734
5734
  disabled: !e.teleported
5735
5735
  }, [
5736
- ie(wn, { name: "fade" }, {
5736
+ ie(kn, { name: "fade" }, {
5737
5737
  default: Oe(() => [
5738
- s.value ? Ut((k(), x("div", gt({
5738
+ s.value ? Ut((w(), x("div", gt({
5739
5739
  key: 0,
5740
- class: ["cregis-popover__content", { "cregis-popover__content--hide-scrollbar": O.value }],
5740
+ class: ["cregis-popover__content", { "cregis-popover__content--hide-scrollbar": L.value }],
5741
5741
  ref_key: "popoverContentRef",
5742
5742
  ref: m,
5743
5743
  style: d.value
5744
- }, Pn(ee(E), !0), {
5744
+ }, Rn(ee(E), !0), {
5745
5745
  onScroll: q[0] || (q[0] = //@ts-ignore
5746
5746
  (...ge) => ee(z) && ee(z)(...ge))
5747
5747
  }), [
5748
5748
  ye(F.$slots, "default")
5749
5749
  ], 16)), [
5750
- [kn, o.value]
5750
+ [Sn, o.value]
5751
5751
  ]) : X("", !0)
5752
5752
  ]),
5753
5753
  _: 3
@@ -5755,7 +5755,7 @@ const ld = () => ({
5755
5755
  ], 8, ["disabled"]))
5756
5756
  ], 16));
5757
5757
  }
5758
- }), Fs = Symbol("CregisSelect"), cd = { class: "cregis-select__selected" }, ud = {
5758
+ }), Us = Symbol("CregisSelect"), cd = { class: "cregis-select__selected" }, ud = {
5759
5759
  key: 0,
5760
5760
  class: "cregis-select__count"
5761
5761
  }, dd = {
@@ -5767,7 +5767,7 @@ const ld = () => ({
5767
5767
  }, md = {
5768
5768
  key: 2,
5769
5769
  class: "cregis-select__dropdown-filter-empty"
5770
- }, pd = { class: "cregis-select__dropdown-content" }, bf = /* @__PURE__ */ de({
5770
+ }, pd = { class: "cregis-select__dropdown-content" }, yf = /* @__PURE__ */ de({
5771
5771
  name: "Select",
5772
5772
  __name: "Select",
5773
5773
  props: {
@@ -5799,10 +5799,10 @@ const ld = () => ({
5799
5799
  $ && (l.value = $.offsetWidth + 8);
5800
5800
  }, g = async ($) => {
5801
5801
  o.value = $, a("visible-change", $), $ && v(n.triggerWidth) && (await dt(), p()), !$ && n.filterable && (Y.value = "", H.value = "", m());
5802
- }, E = ($) => typeof $ == "number" ? `n:${$}` : `s:${$}`, N = Mt({}), O = Mt({}), d = G(0), _ = G(null), C = ($, fe, Ee) => {
5802
+ }, E = ($) => typeof $ == "number" ? `n:${$}` : `s:${$}`, N = Mt({}), L = Mt({}), d = G(0), _ = G(null), O = ($, fe, Ee) => {
5803
5803
  const Ie = E($);
5804
- return d.value++, N[Ie] = fe, O[Ie] = Ee ?? fe, () => {
5805
- d.value--, delete N[Ie], delete O[Ie];
5804
+ return d.value++, N[Ie] = fe, L[Ie] = Ee ?? fe, () => {
5805
+ d.value--, delete N[Ie], delete L[Ie];
5806
5806
  };
5807
5807
  }, h = A(() => d.value === 0);
5808
5808
  be(
@@ -5817,13 +5817,13 @@ const ld = () => ({
5817
5817
  }
5818
5818
  }
5819
5819
  );
5820
- const w = A(() => {
5820
+ const k = A(() => {
5821
5821
  if (n.multiple)
5822
5822
  return Array.isArray(n.modelValue) && n.modelValue.length > 0;
5823
5823
  const $ = n.modelValue;
5824
5824
  return $ != null && $ !== "";
5825
5825
  }), T = A(() => !n.multiple || !Array.isArray(n.modelValue) ? 0 : n.modelValue.length), y = A(() => {
5826
- if (!w.value) return "";
5826
+ if (!k.value) return "";
5827
5827
  if (n.multiple)
5828
5828
  return n.modelValue.map((Ee) => N[E(Ee)] ?? String(Ee)).join("、");
5829
5829
  const $ = n.modelValue;
@@ -5839,7 +5839,7 @@ const ld = () => ({
5839
5839
  }
5840
5840
  }, Y = G(""), H = G(""), z = A(() => H.value.trim().toLowerCase()), F = A(() => {
5841
5841
  const $ = z.value;
5842
- return !n.filterable || !$ ? !0 : Object.keys(N).some((fe) => (O[fe] ?? N[fe] ?? "").toLowerCase().includes($));
5842
+ return !n.filterable || !$ ? !0 : Object.keys(N).some((fe) => (L[fe] ?? N[fe] ?? "").toLowerCase().includes($));
5843
5843
  }), q = A(
5844
5844
  () => n.filterable && !!z.value && !F.value && !h.value
5845
5845
  ), ge = () => {
@@ -5879,13 +5879,13 @@ const ld = () => ({
5879
5879
  }, R = () => {
5880
5880
  H.value = "", m(), a("filter-clear");
5881
5881
  };
5882
- Pa(Fs, {
5882
+ Pa(Us, {
5883
5883
  modelValue: A(() => n.modelValue),
5884
5884
  multiple: A(() => !!n.multiple),
5885
5885
  disabled: A(() => !!n.disabled),
5886
5886
  selectOption: B,
5887
5887
  isOptionSelected: W,
5888
- registerOption: C,
5888
+ registerOption: O,
5889
5889
  filterQuery: z
5890
5890
  });
5891
5891
  const V = ($) => typeof $ == "number" ? `${$}px` : $, j = A(() => {
@@ -5901,7 +5901,7 @@ const ld = () => ({
5901
5901
  })), Re = A(() => n.size === "large" ? "20px" : n.size === "medium" ? "14px" : "12px"), Se = G(0), xe = ($) => {
5902
5902
  Se.value = $.scrollTop;
5903
5903
  };
5904
- return ($, fe) => (k(), x("div", {
5904
+ return ($, fe) => (w(), x("div", {
5905
5905
  class: te(["cregis-select", { "is-disabled": e.disabled, "is-percent-width": v(e.triggerWidth) }])
5906
5906
  }, [
5907
5907
  ie(lr, {
@@ -5926,17 +5926,17 @@ const ld = () => ({
5926
5926
  U("div", {
5927
5927
  class: te(["cregis-select__trigger-label", { "is-multiple": e.multiple }])
5928
5928
  }, [
5929
- w.value ? ye($.$slots, "label", {
5929
+ k.value ? ye($.$slots, "label", {
5930
5930
  key: 0,
5931
5931
  modelValue: e.modelValue,
5932
5932
  displayText: y.value,
5933
5933
  selectedCount: T.value,
5934
5934
  placeholder: e.placeholder,
5935
- hasSelection: w.value
5935
+ hasSelection: k.value
5936
5936
  }, () => [
5937
5937
  U("p", cd, J(y.value), 1),
5938
- e.multiple ? (k(), x("span", ud, J(T.value), 1)) : X("", !0)
5939
- ]) : (k(), x("p", dd, J(e.placeholder), 1))
5938
+ e.multiple ? (w(), x("span", ud, J(T.value), 1)) : X("", !0)
5939
+ ]) : (w(), x("p", dd, J(e.placeholder), 1))
5940
5940
  ], 2),
5941
5941
  U("span", {
5942
5942
  class: te(["cregis-select__icon", { "is-open": o.value }])
@@ -5952,8 +5952,8 @@ const ld = () => ({
5952
5952
  U("div", {
5953
5953
  class: te(["cregis-select__dropdown", { "is-empty": h.value }])
5954
5954
  }, [
5955
- h.value ? (k(), x("p", fd, J(e.noDataText || ee(ke)("select.noData")), 1)) : X("", !0),
5956
- e.filterable && !h.value ? (k(), x("div", {
5955
+ h.value ? (w(), x("p", fd, J(e.noDataText || ee(ke)("select.noData")), 1)) : X("", !0),
5956
+ e.filterable && !h.value ? (w(), x("div", {
5957
5957
  key: 1,
5958
5958
  class: te(["cregis-select__dropdown-filter", { "backdrop-fixed-header": Se.value > 10 }])
5959
5959
  }, [
@@ -5973,7 +5973,7 @@ const ld = () => ({
5973
5973
  _: 1
5974
5974
  }, 8, ["modelValue", "placeholder", "width"])
5975
5975
  ], 2)) : X("", !0),
5976
- q.value ? (k(), x("p", md, J(e.noMatchText || ee(ke)("select.noMatch")), 1)) : X("", !0),
5976
+ q.value ? (w(), x("p", md, J(e.noMatchText || ee(ke)("select.noMatch")), 1)) : X("", !0),
5977
5977
  U("div", pd, [
5978
5978
  ye($.$slots, "default")
5979
5979
  ])
@@ -5986,7 +5986,7 @@ const ld = () => ({
5986
5986
  }), vd = ["aria-selected"], gd = {
5987
5987
  key: 1,
5988
5988
  class: "cregis-select__option-content"
5989
- }, yf = /* @__PURE__ */ de({
5989
+ }, Ef = /* @__PURE__ */ de({
5990
5990
  name: "Option",
5991
5991
  __name: "Option",
5992
5992
  props: {
@@ -5996,7 +5996,7 @@ const ld = () => ({
5996
5996
  filterText: {}
5997
5997
  },
5998
5998
  setup(e) {
5999
- const t = e, n = ir(Fs, null);
5999
+ const t = e, n = ir(Us, null);
6000
6000
  let a;
6001
6001
  const r = () => t.filterText ?? t.label, s = () => {
6002
6002
  a?.(), n && (a = n.registerOption(t.value, t.label, r()));
@@ -6010,7 +6010,7 @@ const ld = () => ({
6010
6010
  const p = m.value;
6011
6011
  return p ? r().toLowerCase().includes(p) : !0;
6012
6012
  });
6013
- return (p, g) => Ut((k(), x("div", {
6013
+ return (p, g) => Ut((w(), x("div", {
6014
6014
  class: te(["cregis-select__option", {
6015
6015
  "is-selected": l.value && !o.value,
6016
6016
  "is-disabled": e.disabled,
@@ -6020,7 +6020,7 @@ const ld = () => ({
6020
6020
  "aria-selected": l.value,
6021
6021
  onClick: i
6022
6022
  }, [
6023
- o.value ? (k(), Te(Or, {
6023
+ o.value ? (w(), Te(Or, {
6024
6024
  key: 0,
6025
6025
  "model-value": l.value,
6026
6026
  disabled: e.disabled || !!ee(n)?.disabled.value,
@@ -6028,7 +6028,7 @@ const ld = () => ({
6028
6028
  }, ["stop"])),
6029
6029
  "onUpdate:modelValue": f
6030
6030
  }, null, 8, ["model-value", "disabled"])) : X("", !0),
6031
- o.value ? (k(), x("div", gd, [
6031
+ o.value ? (w(), x("div", gd, [
6032
6032
  ye(p.$slots, "default", {
6033
6033
  label: e.label,
6034
6034
  value: e.value,
@@ -6047,7 +6047,7 @@ const ld = () => ({
6047
6047
  qe(J(e.label), 1)
6048
6048
  ])
6049
6049
  ], 10, vd)), [
6050
- [kn, v.value]
6050
+ [Sn, v.value]
6051
6051
  ]);
6052
6052
  }
6053
6053
  }), hd = { class: "cregis-cascader__trigger-label" }, _d = { class: "cregis-cascader__selected" }, bd = {
@@ -6065,7 +6065,7 @@ const ld = () => ({
6065
6065
  }, Od = { class: "cregis-cascader__suboption-amount-container" }, Ld = {
6066
6066
  key: 0,
6067
6067
  class: "cregis-cascader__suboption-amount"
6068
- }, Cd = { class: "cregis-cascader__suboption-panel" }, wd = ["onClick"], kd = ["onClick"], Ef = /* @__PURE__ */ de({
6068
+ }, Cd = { class: "cregis-cascader__suboption-panel" }, wd = ["onClick"], kd = ["onClick"], Tf = /* @__PURE__ */ de({
6069
6069
  name: "Cascader",
6070
6070
  __name: "Cascader",
6071
6071
  props: {
@@ -6104,13 +6104,13 @@ const ld = () => ({
6104
6104
  let v = null;
6105
6105
  const p = () => {
6106
6106
  v !== null && (clearTimeout(v), v = null);
6107
- }, g = G(""), E = G(""), N = A(() => E.value.trim().toLowerCase()), O = () => {
6107
+ }, g = G(""), E = G(""), N = A(() => E.value.trim().toLowerCase()), L = () => {
6108
6108
  n.filterable && (p(), v = setTimeout(() => {
6109
6109
  E.value = g.value.trim(), v = null;
6110
6110
  }, n.filterDebounceMs));
6111
6111
  };
6112
6112
  be(g, () => {
6113
- n.filterable && O();
6113
+ n.filterable && L();
6114
6114
  }), be(
6115
6115
  () => n.filterable,
6116
6116
  (c) => {
@@ -6121,12 +6121,12 @@ const ld = () => ({
6121
6121
  a("filter-input", String(c ?? ""));
6122
6122
  }, _ = () => {
6123
6123
  E.value = "", p(), a("filter-clear");
6124
- }, C = (c) => (c.filterText ?? c.label).toLowerCase(), h = (c) => {
6124
+ }, O = (c) => (c.filterText ?? c.label).toLowerCase(), h = (c) => {
6125
6125
  const u = N.value;
6126
- return !u || C(c).includes(u) ? !0 : (c.children ?? []).some((P) => C(P).includes(u));
6127
- }, w = (c, u) => {
6126
+ return !u || O(c).includes(u) ? !0 : (c.children ?? []).some((P) => O(P).includes(u));
6127
+ }, k = (c, u) => {
6128
6128
  const b = N.value;
6129
- return !b || C(c).includes(b) ? !0 : C(u).includes(b);
6129
+ return !b || O(c).includes(b) ? !0 : O(u).includes(b);
6130
6130
  }, T = A(() => n.options.filter((c) => h(c))), y = A(() => n.options.length === 0), W = A(() => (N.value, n.options.some((c) => h(c)))), B = A(
6131
6131
  () => n.filterable && !!E.value.trim() && !W.value && !y.value
6132
6132
  ), Y = (c) => {
@@ -6201,7 +6201,7 @@ const ld = () => ({
6201
6201
  const u = c.target;
6202
6202
  Ue.value = u.scrollTop;
6203
6203
  }, pt = [-16, -8];
6204
- return (c, u) => (k(), x("div", {
6204
+ return (c, u) => (w(), x("div", {
6205
6205
  class: te(["cregis-cascader", { "is-disabled": e.disabled }])
6206
6206
  }, [
6207
6207
  ie(lr, {
@@ -6227,7 +6227,7 @@ const ld = () => ({
6227
6227
  hasSelection: q.value,
6228
6228
  open: s.value,
6229
6229
  disabled: !!e.disabled
6230
- }) : (k(), x("div", {
6230
+ }) : (w(), x("div", {
6231
6231
  key: 1,
6232
6232
  class: te(["cregis-cascader__trigger", { [`cregis-cascader__trigger--${e.size}`]: e.size, [`cregis-cascader__trigger--${e.type}`]: e.type }]),
6233
6233
  style: ve(Ze.value)
@@ -6244,7 +6244,7 @@ const ld = () => ({
6244
6244
  hasSelection: q.value
6245
6245
  }, () => [
6246
6246
  U("p", _d, J(ge.value), 1)
6247
- ]) : (k(), x("p", bd, J(e.placeholder), 1))
6247
+ ]) : (w(), x("p", bd, J(e.placeholder), 1))
6248
6248
  ]),
6249
6249
  U("span", {
6250
6250
  class: te(["cregis-cascader__icon", { "is-open": s.value }])
@@ -6262,8 +6262,8 @@ const ld = () => ({
6262
6262
  style: ve(Ie.value),
6263
6263
  onScroll: et
6264
6264
  }, [
6265
- y.value ? (k(), x("p", yd, J(e.noDataText || ee(ke)("cascader.noData")), 1)) : X("", !0),
6266
- e.filterable && !y.value ? (k(), x("div", {
6265
+ y.value ? (w(), x("p", yd, J(e.noDataText || ee(ke)("cascader.noData")), 1)) : X("", !0),
6266
+ e.filterable && !y.value ? (w(), x("div", {
6267
6267
  key: 1,
6268
6268
  class: te(["cregis-cascader__dropdown-filter", { "backdrop-fixed-header": Ue.value > 10 }])
6269
6269
  }, [
@@ -6283,13 +6283,13 @@ const ld = () => ({
6283
6283
  _: 1
6284
6284
  }, 8, ["modelValue", "placeholder", "width"])
6285
6285
  ], 2)) : X("", !0),
6286
- B.value ? (k(), x("p", Ed, J(e.noMatchText || ee(ke)("cascader.noMatch")), 1)) : X("", !0),
6286
+ B.value ? (w(), x("p", Ed, J(e.noMatchText || ee(ke)("cascader.noMatch")), 1)) : X("", !0),
6287
6287
  U("ul", Td, [
6288
- (k(!0), x(Be, null, vt(T.value, (b, P) => (k(), x("li", {
6288
+ (w(!0), x(Be, null, vt(T.value, (b, P) => (w(), x("li", {
6289
6289
  key: b.value,
6290
6290
  class: te(["cregis-cascader__dropdown-item", { "is-disabled": b.disabled, "is-sub-open": o.value === b.value }])
6291
6291
  }, [
6292
- Z(b) ? (k(), x("div", Nd, [
6292
+ Z(b) ? (w(), x("div", Nd, [
6293
6293
  ie(lr, {
6294
6294
  ref_for: !0,
6295
6295
  ref: (Q) => i(b.value, Q),
@@ -6324,8 +6324,8 @@ const ld = () => ({
6324
6324
  U("p", null, J(b.label), 1)
6325
6325
  ]),
6326
6326
  U("div", Od, [
6327
- e.showSubOptionAmount ? (k(), x("div", Ld, J(b.children.length), 1)) : X("", !0),
6328
- ie(ee(eo), {
6327
+ e.showSubOptionAmount ? (w(), x("div", Ld, J(b.children.length), 1)) : X("", !0),
6328
+ ie(ee(to), {
6329
6329
  size: "14px",
6330
6330
  color: "currentColor"
6331
6331
  })
@@ -6334,7 +6334,7 @@ const ld = () => ({
6334
6334
  ]),
6335
6335
  default: Oe(() => [
6336
6336
  U("div", Cd, [
6337
- (k(!0), x(Be, null, vt(b.children, (Q, me) => Ut((k(), x("div", {
6337
+ (w(!0), x(Be, null, vt(b.children, (Q, me) => Ut((w(), x("div", {
6338
6338
  key: Q.value,
6339
6339
  class: te(["cregis-cascader__suboption-row", {
6340
6340
  "is-active": oe(Q.value),
@@ -6359,13 +6359,13 @@ const ld = () => ({
6359
6359
  qe(J(Q.label), 1)
6360
6360
  ])
6361
6361
  ], 10, wd)), [
6362
- [kn, w(b, Q)]
6362
+ [Sn, k(b, Q)]
6363
6363
  ])), 128))
6364
6364
  ])
6365
6365
  ]),
6366
6366
  _: 2
6367
6367
  }, 1032, ["popper-width", "disabled", "onVisibleChange"])
6368
- ])) : (k(), x("div", {
6368
+ ])) : (w(), x("div", {
6369
6369
  key: 1,
6370
6370
  class: "cregis-cascader__leaf-only",
6371
6371
  onClick: (Q) => Se(b)
@@ -6393,7 +6393,7 @@ const ld = () => ({
6393
6393
  }, 8, ["popper-width", "placement", "offset", "disabled"])
6394
6394
  ], 2));
6395
6395
  }
6396
- }), Tf = /* @__PURE__ */ de({
6396
+ }), Nf = /* @__PURE__ */ de({
6397
6397
  name: "Tag",
6398
6398
  __name: "Tag",
6399
6399
  props: {
@@ -6402,7 +6402,7 @@ const ld = () => ({
6402
6402
  text: {}
6403
6403
  },
6404
6404
  setup(e) {
6405
- return (t, n) => (k(), x("div", {
6405
+ return (t, n) => (w(), x("div", {
6406
6406
  class: te(["cregis-tag", [`cregis-tag--${e.type}`, `cregis-tag--${e.size}`]])
6407
6407
  }, [
6408
6408
  ye(t.$slots, "default", {}, () => [
@@ -6410,7 +6410,7 @@ const ld = () => ({
6410
6410
  ])
6411
6411
  ], 2));
6412
6412
  }
6413
- }), Nf = /* @__PURE__ */ de({
6413
+ }), Of = /* @__PURE__ */ de({
6414
6414
  name: "Switch",
6415
6415
  __name: "Switch",
6416
6416
  props: {
@@ -6443,7 +6443,7 @@ const ld = () => ({
6443
6443
  (l) => {
6444
6444
  a("change", l);
6445
6445
  }
6446
- ), (l, i) => (k(), x("div", {
6446
+ ), (l, i) => (w(), x("div", {
6447
6447
  class: te(["cregis-switch", [
6448
6448
  `cregis-switch--${e.size}`,
6449
6449
  { "is-checked": s.value, "is-disabled": e.disabled || r.value }
@@ -6453,7 +6453,7 @@ const ld = () => ({
6453
6453
  U("div", { class: "cregis-switch__circle" }, null, -1)
6454
6454
  ])], 2));
6455
6455
  }
6456
- }), Sd = { class: "cregis-badge__wrapper" }, Of = /* @__PURE__ */ de({
6456
+ }), Sd = { class: "cregis-badge__wrapper" }, Lf = /* @__PURE__ */ de({
6457
6457
  name: "Badge",
6458
6458
  __name: "Badge",
6459
6459
  props: {
@@ -6472,8 +6472,8 @@ const ld = () => ({
6472
6472
  top: `${a.value[0]}px`,
6473
6473
  right: `${a.value[1]}px`
6474
6474
  }));
6475
- return (s, o) => (k(), x("div", Sd, [
6476
- e.hidden ? X("", !0) : (k(), x("div", {
6475
+ return (s, o) => (w(), x("div", Sd, [
6476
+ e.hidden ? X("", !0) : (w(), x("div", {
6477
6477
  key: 0,
6478
6478
  class: te(["cregis-badge", [`cregis-badge--${e.type}`, { "cregis-badge--dot": e.isDot }]]),
6479
6479
  style: ve(r.value)
@@ -6484,7 +6484,7 @@ const ld = () => ({
6484
6484
  }), Id = ["accept", "disabled"], Ad = ["src"], Dd = {
6485
6485
  key: 3,
6486
6486
  class: "cregis-upload__mask"
6487
- }, Lf = /* @__PURE__ */ de({
6487
+ }, Cf = /* @__PURE__ */ de({
6488
6488
  name: "Upload",
6489
6489
  __name: "Upload",
6490
6490
  props: {
@@ -6515,31 +6515,31 @@ const ld = () => ({
6515
6515
  const _ = d.lastIndexOf(".");
6516
6516
  return _ === -1 ? "" : d.slice(_ + 1).toLowerCase();
6517
6517
  }, v = (d, _) => {
6518
- const C = _.split(",").map((T) => T.trim()).filter(Boolean);
6519
- if (!C.length) return !0;
6520
- const h = m(d.name), w = d.type.toLowerCase();
6521
- return C.some((T) => {
6518
+ const O = _.split(",").map((T) => T.trim()).filter(Boolean);
6519
+ if (!O.length) return !0;
6520
+ const h = m(d.name), k = d.type.toLowerCase();
6521
+ return O.some((T) => {
6522
6522
  const y = T.toLowerCase();
6523
- return y.startsWith(".") ? h === y.slice(1) : y.includes("/") ? y.endsWith("/*") ? w.startsWith(y.slice(0, -1)) : w === y : h === y;
6523
+ return y.startsWith(".") ? h === y.slice(1) : y.includes("/") ? y.endsWith("/*") ? k.startsWith(y.slice(0, -1)) : k === y : h === y;
6524
6524
  });
6525
6525
  }, p = (d) => {
6526
6526
  d.value = "";
6527
6527
  };
6528
6528
  let g;
6529
6529
  const E = (d) => {
6530
- const _ = d.target, C = _.files?.[0];
6531
- if (!C) return;
6532
- if (n.accept && !v(C, n.accept)) {
6530
+ const _ = d.target, O = _.files?.[0];
6531
+ if (!O) return;
6532
+ if (n.accept && !v(O, n.accept)) {
6533
6533
  _a(n.exceedAcceptTip ?? ke("upload.formatError")), p(_);
6534
6534
  return;
6535
6535
  }
6536
- if (n.size !== void 0 && C.size > n.size * 1024 * 1024) {
6536
+ if (n.size !== void 0 && O.size > n.size * 1024 * 1024) {
6537
6537
  _a(n.exceedSizeTip ?? ke("upload.sizeError", { size: n.size })), p(_);
6538
6538
  return;
6539
6539
  }
6540
6540
  a("update:modelValue", "");
6541
6541
  const h = new FormData();
6542
- h.append("file", C, C.name), n.onChange?.(h), g = setInterval(() => {
6542
+ h.append("file", O, O.name), n.onChange?.(h), g = setInterval(() => {
6543
6543
  r.value += 30, r.value >= 90 && clearInterval(g);
6544
6544
  }, 200);
6545
6545
  };
@@ -6555,14 +6555,14 @@ const ld = () => ({
6555
6555
  const N = A(() => ({
6556
6556
  width: `${r.value}%`,
6557
6557
  borderRadius: r.value === 100 ? "0 0 6px 6px" : "0 0 0 6px"
6558
- })), O = A(() => n.disabled || r.value > 0 && r.value < 100);
6558
+ })), L = A(() => n.disabled || r.value > 0 && r.value < 100);
6559
6559
  return Je(() => {
6560
6560
  g && clearInterval(g);
6561
- }), (d, _) => (k(), x("div", {
6562
- class: te(["cregis-upload", { "cregis-upload--disabled": O.value }]),
6561
+ }), (d, _) => (w(), x("div", {
6562
+ class: te(["cregis-upload", { "cregis-upload--disabled": L.value }]),
6563
6563
  style: ve(f.value)
6564
6564
  }, [
6565
- i.value ? X("", !0) : (k(), Te(ee(Rr), {
6565
+ i.value ? X("", !0) : (w(), Te(ee(Rr), {
6566
6566
  key: 0,
6567
6567
  size: "16px",
6568
6568
  color: "var(--stroke-base-secondary)"
@@ -6571,20 +6571,20 @@ const ld = () => ({
6571
6571
  type: "file",
6572
6572
  title: "",
6573
6573
  accept: e.accept,
6574
- disabled: O.value,
6574
+ disabled: L.value,
6575
6575
  onChange: E
6576
6576
  }, null, 40, Id),
6577
- r.value > 0 && r.value < 100 ? (k(), x("div", {
6577
+ r.value > 0 && r.value < 100 ? (w(), x("div", {
6578
6578
  key: 1,
6579
6579
  class: "cregis-upload__progress",
6580
6580
  style: ve(N.value)
6581
6581
  }, null, 4)) : X("", !0),
6582
- i.value ? (k(), x("img", {
6582
+ i.value ? (w(), x("img", {
6583
6583
  key: 2,
6584
6584
  src: i.value,
6585
6585
  alt: ""
6586
6586
  }, null, 8, Ad)) : X("", !0),
6587
- i.value ? (k(), x("div", Dd, [
6587
+ i.value ? (w(), x("div", Dd, [
6588
6588
  ie(ee(Rr), {
6589
6589
  size: "16px",
6590
6590
  color: "var(--text-same-white-primary)"
@@ -6593,12 +6593,12 @@ const ld = () => ({
6593
6593
  ], 6));
6594
6594
  }
6595
6595
  });
6596
- let an = 0, Us = "";
6596
+ let an = 0, Ws = "";
6597
6597
  const xd = () => {
6598
- an === 0 && (Us = document.body.style.overflow, document.body.style.overflow = "hidden"), an++;
6598
+ an === 0 && (Ws = document.body.style.overflow, document.body.style.overflow = "hidden"), an++;
6599
6599
  }, Aa = () => {
6600
- an <= 0 || (an--, an === 0 && (document.body.style.overflow = Us));
6601
- }, Cn = /* @__PURE__ */ de({
6600
+ an <= 0 || (an--, an === 0 && (document.body.style.overflow = Ws));
6601
+ }, wn = /* @__PURE__ */ de({
6602
6602
  name: "Dialog",
6603
6603
  __name: "Dialog",
6604
6604
  props: {
@@ -6623,25 +6623,23 @@ const xd = () => {
6623
6623
  });
6624
6624
  const o = A(() => ({
6625
6625
  width: typeof n.width == "number" ? `${n.width}px` : n.width
6626
- })), l = A(() => {
6627
- if (!n.alignCenter)
6628
- return {
6629
- paddingTop: n.top
6630
- };
6631
- }), i = () => {
6626
+ })), l = A(() => ({
6627
+ zIndex: Fs(),
6628
+ ...n.alignCenter ? {} : { paddingTop: n.top }
6629
+ })), i = () => {
6632
6630
  a("update:modelValue", !1);
6633
6631
  }, f = () => {
6634
6632
  n.closeOnClickModal && i();
6635
6633
  }, m = () => {
6636
6634
  a("after-leave");
6637
6635
  };
6638
- return (v, p) => (k(), Te(cr, { to: "body" }, [
6639
- ie(wn, {
6636
+ return (v, p) => (w(), Te(cr, { to: "body" }, [
6637
+ ie(kn, {
6640
6638
  name: "cregis-dialog-fade",
6641
6639
  onAfterLeave: m
6642
6640
  }, {
6643
6641
  default: Oe(() => [
6644
- e.modelValue ? (k(), x("div", {
6642
+ e.modelValue ? (w(), x("div", {
6645
6643
  key: 0,
6646
6644
  class: te(["cregis-dialog__wrapper", {
6647
6645
  "cregis-dialog__wrapper--center": e.alignCenter,
@@ -6649,7 +6647,7 @@ const xd = () => {
6649
6647
  }]),
6650
6648
  style: ve(l.value)
6651
6649
  }, [
6652
- e.modal ? (k(), x("div", {
6650
+ e.modal ? (w(), x("div", {
6653
6651
  key: 0,
6654
6652
  class: "cregis-dialog__mask",
6655
6653
  onClick: f
@@ -6660,7 +6658,7 @@ const xd = () => {
6660
6658
  onClick: p[0] || (p[0] = Wt(() => {
6661
6659
  }, ["stop"]))
6662
6660
  }, [
6663
- e.showClose ? (k(), x("div", {
6661
+ e.showClose ? (w(), x("div", {
6664
6662
  key: 0,
6665
6663
  class: "cregis-dialog__close",
6666
6664
  onClick: i
@@ -6707,7 +6705,7 @@ const xd = () => {
6707
6705
  component: $a,
6708
6706
  color: "var(--text-same-white-primary)"
6709
6707
  } : {
6710
- component: to,
6708
+ component: no,
6711
6709
  color: "var(--text-base-primary)"
6712
6710
  }), i = async (p) => {
6713
6711
  if (!s.value) {
@@ -6723,7 +6721,7 @@ const xd = () => {
6723
6721
  };
6724
6722
  return dt(() => {
6725
6723
  r.value = !0;
6726
- }), (p, g) => (k(), Te(Cn, {
6724
+ }), (p, g) => (w(), Te(wn, {
6727
6725
  modelValue: r.value,
6728
6726
  "onUpdate:modelValue": g[0] || (g[0] = (E) => r.value = E),
6729
6727
  width: e.width,
@@ -6738,17 +6736,17 @@ const xd = () => {
6738
6736
  U("div", {
6739
6737
  class: te(`cregis-dialog-confirm__icon cregis-dialog-confirm__icon--${e.type}`)
6740
6738
  }, [
6741
- (k(), Te(sn(l.value.component), {
6739
+ (w(), Te(sn(l.value.component), {
6742
6740
  "stroke-width": 3.4,
6743
6741
  size: "24px",
6744
6742
  color: l.value.color
6745
6743
  }, null, 8, ["color"]))
6746
6744
  ], 2)
6747
6745
  ]),
6748
- e.title ? (k(), x("div", $d, J(e.title), 1)) : X("", !0),
6749
- e.message ? (k(), x("div", Md, J(e.message), 1)) : X("", !0),
6746
+ e.title ? (w(), x("div", $d, J(e.title), 1)) : X("", !0),
6747
+ e.message ? (w(), x("div", Md, J(e.message), 1)) : X("", !0),
6750
6748
  U("div", Vd, [
6751
- e.showConfirmButton ? (k(), Te(Ft, {
6749
+ e.showConfirmButton ? (w(), Te(Ft, {
6752
6750
  key: 0,
6753
6751
  type: "foreground",
6754
6752
  block: "",
@@ -6760,7 +6758,7 @@ const xd = () => {
6760
6758
  ]),
6761
6759
  _: 1
6762
6760
  }, 8, ["loading"])) : X("", !0),
6763
- e.showCancelButton ? (k(), Te(Ft, {
6761
+ e.showCancelButton ? (w(), Te(Ft, {
6764
6762
  key: 1,
6765
6763
  type: "secondary",
6766
6764
  text: "",
@@ -6813,11 +6811,11 @@ function Wd(e) {
6813
6811
  );
6814
6812
  });
6815
6813
  }
6816
- const Ws = Cn;
6817
- Ws.install = (e) => {
6818
- e.component(Cn.name, Cn);
6814
+ const Bs = wn;
6815
+ Bs.install = (e) => {
6816
+ e.component(wn.name, wn);
6819
6817
  };
6820
- Ws.confirm = Wd;
6818
+ Bs.confirm = Wd;
6821
6819
  const Bd = {
6822
6820
  key: 0,
6823
6821
  class: "select-content"
@@ -6837,28 +6835,28 @@ const Bd = {
6837
6835
  },
6838
6836
  emits: ["select-all-mode", "sort-change"],
6839
6837
  setup(e, { expose: t, emit: n }) {
6840
- const a = n, r = e, { getDialogZIndex: s } = ld(), o = G(!1), l = G(!1), i = G(""), f = G(), m = G();
6841
- let v = null;
6842
- const p = A(() => ({
6838
+ const a = n, r = e, s = G(!1), o = G(!1), l = G(""), i = G(), f = G();
6839
+ let m = null;
6840
+ const v = A(() => ({
6843
6841
  maxHeight: "180px",
6844
- zIndex: s()
6845
- })), g = A(() => r.selectMode ? "disabled" : ""), E = A(() => l.value ? "focus" : ""), N = A(() => ({
6842
+ zIndex: Fs()
6843
+ })), p = A(() => r.selectMode ? "disabled" : ""), g = A(() => o.value ? "focus" : ""), E = A(() => ({
6846
6844
  height: r.height,
6847
6845
  backgroundColor: r.bg || "var(--data-table-head)",
6848
6846
  backdropFilter: r.bg ? "none" : "saturate(120%) blur(50px)",
6849
6847
  ...r.width ? { width: "1%" } : {}
6850
- })), O = A(() => ({
6848
+ })), N = A(() => ({
6851
6849
  justifyContent: r.align === "left" ? "flex-start" : r.align === "center" ? "center" : "flex-end",
6852
6850
  ...r.width ? { width: r.width } : {}
6853
6851
  }));
6854
- Vs(f, () => {
6855
- o.value && setTimeout(() => {
6856
- o.value = !1, l.value = !1;
6852
+ Vs(i, () => {
6853
+ s.value && setTimeout(() => {
6854
+ s.value = !1, o.value = !1;
6857
6855
  }, 0);
6858
6856
  });
6859
- const d = () => {
6860
- r.selectMode || o.value || (o.value = !0, l.value = !0, dt(() => {
6861
- f.value && m.value && (v?.destroy(), v = Rs(m.value, f.value, {
6857
+ const L = () => {
6858
+ r.selectMode || s.value || (s.value = !0, o.value = !0, dt(() => {
6859
+ i.value && f.value && (m?.destroy(), m = Rs(f.value, i.value, {
6862
6860
  placement: "bottom-start",
6863
6861
  modifiers: [
6864
6862
  {
@@ -6870,65 +6868,65 @@ const Bd = {
6870
6868
  ]
6871
6869
  }));
6872
6870
  }));
6873
- }, _ = (h) => {
6874
- h !== i.value && a("sort-change", h), i.value = h, o.value = !1, l.value = !1;
6871
+ }, d = (O) => {
6872
+ O !== l.value && a("sort-change", O), l.value = O, s.value = !1, o.value = !1;
6875
6873
  };
6876
6874
  return t({
6877
6875
  resetSort: () => {
6878
- i.value = "";
6876
+ l.value = "";
6879
6877
  }
6880
6878
  }), Je(() => {
6881
- v?.destroy();
6882
- }), (h, w) => (k(), x("th", {
6879
+ m?.destroy();
6880
+ }), (O, h) => (w(), x("th", {
6883
6881
  class: "header-cell-wrapper",
6884
- style: ve(N.value)
6882
+ style: ve(E.value)
6885
6883
  }, [
6886
- e.type === "select" ? (k(), x("div", Bd, [
6884
+ e.type === "select" ? (w(), x("div", Bd, [
6887
6885
  ie(Or, {
6888
6886
  "model-value": e.selectAllMode === "all",
6889
6887
  indeterminate: e.selectAllMode === "some",
6890
- onClick: w[0] || (w[0] = Wt((T) => h.$emit("select-all-mode", e.selectAllMode), ["stop"]))
6888
+ onClick: h[0] || (h[0] = Wt((k) => O.$emit("select-all-mode", e.selectAllMode), ["stop"]))
6891
6889
  }, null, 8, ["model-value", "indeterminate"])
6892
6890
  ])) : X("", !0),
6893
- e.type === "default" ? (k(), x("div", {
6891
+ e.type === "default" ? (w(), x("div", {
6894
6892
  key: 1,
6895
6893
  class: "cell-content",
6896
- style: ve(O.value)
6894
+ style: ve(N.value)
6897
6895
  }, [
6898
- ye(h.$slots, "default", {}, () => [
6896
+ ye(O.$slots, "default", {}, () => [
6899
6897
  U("div", null, J(e.label), 1)
6900
6898
  ], !0),
6901
- e.sortable ? (k(), x("div", {
6899
+ e.sortable ? (w(), x("div", {
6902
6900
  key: 0,
6903
6901
  ref_key: "containerRef",
6904
- ref: m,
6905
- class: te(["sort-container", [E.value, g.value]]),
6906
- onClick: Wt(d, ["stop"])
6902
+ ref: f,
6903
+ class: te(["sort-container", [g.value, p.value]]),
6904
+ onClick: Wt(L, ["stop"])
6907
6905
  }, [
6908
6906
  U("span", {
6909
- class: te(["sort-icon", { "is-open": o.value }])
6907
+ class: te(["sort-icon", { "is-open": s.value }])
6910
6908
  }, [
6911
6909
  ie(ee(ur), { size: "12px" })
6912
6910
  ], 2)
6913
6911
  ], 2)) : X("", !0)
6914
6912
  ], 4)) : X("", !0),
6915
- (k(), Te(cr, { to: "body" }, [
6913
+ (w(), Te(cr, { to: "body" }, [
6916
6914
  Ut(U("div", {
6917
6915
  ref_key: "popRef",
6918
- ref: f,
6916
+ ref: i,
6919
6917
  class: "sort-popover no-scroll-bar popover-shadow",
6920
- style: ve(p.value)
6918
+ style: ve(v.value)
6921
6919
  }, [
6922
6920
  U("div", {
6923
- class: te(["sort-item font-15", { active: i.value === "asc" }]),
6924
- onClick: w[1] || (w[1] = (T) => _("asc"))
6921
+ class: te(["sort-item font-15", { active: l.value === "asc" }]),
6922
+ onClick: h[1] || (h[1] = (k) => d("asc"))
6925
6923
  }, J(ee(ke)("tableList.asc")), 3),
6926
6924
  U("div", {
6927
- class: te(["sort-item font-15", { active: i.value === "desc" }]),
6928
- onClick: w[2] || (w[2] = (T) => _("desc"))
6925
+ class: te(["sort-item font-15", { active: l.value === "desc" }]),
6926
+ onClick: h[2] || (h[2] = (k) => d("desc"))
6929
6927
  }, J(ee(ke)("tableList.desc")), 3)
6930
6928
  ], 4), [
6931
- [kn, o.value]
6929
+ [Sn, s.value]
6932
6930
  ])
6933
6931
  ]))
6934
6932
  ], 4));
@@ -6938,7 +6936,7 @@ const Bd = {
6938
6936
  for (const [a, r] of t)
6939
6937
  n[a] = r;
6940
6938
  return n;
6941
- }, Da = /* @__PURE__ */ Dr(Hd, [["__scopeId", "data-v-22bb3945"]]), jd = {
6939
+ }, Da = /* @__PURE__ */ Dr(Hd, [["__scopeId", "data-v-dc2b0e15"]]), jd = {
6942
6940
  key: 1,
6943
6941
  class: "cell-text"
6944
6942
  }, Gd = /* @__PURE__ */ de({
@@ -6974,15 +6972,15 @@ const Bd = {
6974
6972
  justifyContent: t.align === "left" ? "flex-start" : t.align === "center" ? "center" : "flex-end",
6975
6973
  ...t.width ? { width: t.width } : {}
6976
6974
  }));
6977
- return (l, i) => (k(), x("td", {
6975
+ return (l, i) => (w(), x("td", {
6978
6976
  class: te(["column-wrapper", { "is-striped": s.value }]),
6979
6977
  style: ve(a.value)
6980
6978
  }, [
6981
- e.blank ? (k(), x("div", {
6979
+ e.blank ? (w(), x("div", {
6982
6980
  key: 0,
6983
6981
  style: ve(o.value)
6984
- }, null, 4)) : (k(), x(Be, { key: 1 }, [
6985
- e.type === "select" ? (k(), x("div", {
6982
+ }, null, 4)) : (w(), x(Be, { key: 1 }, [
6983
+ e.type === "select" ? (w(), x("div", {
6986
6984
  key: 0,
6987
6985
  class: "select-content",
6988
6986
  style: ve(r.value)
@@ -6992,7 +6990,7 @@ const Bd = {
6992
6990
  onClick: i[0] || (i[0] = Wt((f) => l.$emit("selectChange", e.index), ["stop"]))
6993
6991
  }, null, 8, ["model-value"])
6994
6992
  ], 4)) : X("", !0),
6995
- e.type === "default" ? (k(), x("div", {
6993
+ e.type === "default" ? (w(), x("div", {
6996
6994
  key: 1,
6997
6995
  class: "cell-content",
6998
6996
  style: ve(o.value)
@@ -7000,7 +6998,7 @@ const Bd = {
7000
6998
  l.$slots.default ? ye(l.$slots, "default", {
7001
6999
  key: 0,
7002
7000
  data: n.value
7003
- }, void 0, !0) : (k(), x("div", jd, J(t.data?.[t.prop || ""]), 1))
7001
+ }, void 0, !0) : (w(), x("div", jd, J(t.data?.[t.prop || ""]), 1))
7004
7002
  ], 4)) : X("", !0)
7005
7003
  ], 64))
7006
7004
  ], 6));
@@ -7058,26 +7056,26 @@ const Bd = {
7058
7056
  immediate: !0
7059
7057
  }
7060
7058
  );
7061
- const O = G(!1), d = G(!1), _ = G();
7059
+ const L = G(!1), d = G(!1), _ = G();
7062
7060
  be(
7063
7061
  () => r.loading,
7064
7062
  (I) => {
7065
- I ? (clearTimeout(_.value), l.value?.scrollTo({ top: 0, behavior: "instant" }), d.value = !1, O.value = !0) : (l.value?.scrollTo({ top: 0, behavior: "instant" }), d.value = !0, _.value = window.setTimeout(() => {
7066
- O.value = !1;
7063
+ I ? (clearTimeout(_.value), l.value?.scrollTo({ top: 0, behavior: "instant" }), d.value = !1, L.value = !0) : (l.value?.scrollTo({ top: 0, behavior: "instant" }), d.value = !0, _.value = window.setTimeout(() => {
7064
+ L.value = !1;
7067
7065
  }, 500));
7068
7066
  },
7069
7067
  {
7070
7068
  immediate: !0
7071
7069
  }
7072
7070
  );
7073
- const C = A(() => {
7071
+ const O = A(() => {
7074
7072
  const I = f.value.height - r.headerHeight - 8, R = Math.floor(I / r.columnHeight), V = R - r.dataList.length > 0 ? R - r.dataList.length : 0;
7075
7073
  return Array.from({ length: V }).fill({});
7076
7074
  }), h = A(() => ({
7077
7075
  width: `${f.value.width}px`,
7078
- height: O.value ? "28px" : "0px",
7079
- opacity: O.value ? 1 : 0
7080
- })), w = () => (s.default?.()?.filter((V) => V.type?.name === "TableListColumn") || []).filter((V) => V.props?.hidden !== !0), T = () => w().filter((R) => {
7076
+ height: L.value ? "28px" : "0px",
7077
+ opacity: L.value ? 1 : 0
7078
+ })), k = () => (s.default?.()?.filter((V) => V.type?.name === "TableListColumn") || []).filter((V) => V.props?.hidden !== !0), T = () => k().filter((R) => {
7081
7079
  const V = tn(R.props, "minTableWidth");
7082
7080
  return !V || f.value.width >= V;
7083
7081
  }), y = A(() => T().map((R) => {
@@ -7136,12 +7134,12 @@ const Bd = {
7136
7134
  }), S.observe(o.value));
7137
7135
  }), Je(() => {
7138
7136
  S && S.disconnect();
7139
- }), (I, R) => (k(), x("div", {
7137
+ }), (I, R) => (w(), x("div", {
7140
7138
  ref_key: "tableWrapperRef",
7141
7139
  ref: o,
7142
7140
  class: "table-wrapper width-transition"
7143
7141
  }, [
7144
- E.value ? (k(), x("div", {
7142
+ E.value ? (w(), x("div", {
7145
7143
  key: 0,
7146
7144
  class: "initing-wrapper",
7147
7145
  style: ve({ top: v.value, height: `calc(100% - ${v.value})` })
@@ -7155,7 +7153,7 @@ const Bd = {
7155
7153
  U("div", zd, J(ee(ke)("tableList.loading")), 1)
7156
7154
  ])
7157
7155
  ], 4)) : X("", !0),
7158
- p.value ? (k(), x("div", Kd, [
7156
+ p.value ? (w(), x("div", Kd, [
7159
7157
  U("div", {
7160
7158
  class: "operation-item",
7161
7159
  hover: "bg-[--event-focus-secondary]",
@@ -7168,7 +7166,7 @@ const Bd = {
7168
7166
  U("div", qd, J(g.value.length), 1),
7169
7167
  U("div", Qd, J(ee(ke)("tableList.selected")), 1)
7170
7168
  ]),
7171
- s.operation ? (k(), x("div", Jd)) : X("", !0),
7169
+ s.operation ? (w(), x("div", Jd)) : X("", !0),
7172
7170
  ye(I.$slots, "operation", {}, void 0, !0)
7173
7171
  ])) : X("", !0),
7174
7172
  U("div", {
@@ -7176,7 +7174,7 @@ const Bd = {
7176
7174
  ref: l,
7177
7175
  class: "table-content-wrapper no-scroll-bar"
7178
7176
  }, [
7179
- (k(), x("table", {
7177
+ (w(), x("table", {
7180
7178
  key: m.value,
7181
7179
  class: "cg-table w-full border-separate"
7182
7180
  }, [
@@ -7184,7 +7182,7 @@ const Bd = {
7184
7182
  style: ve({ height: v.value })
7185
7183
  }, [
7186
7184
  U("tr", null, [
7187
- p.value ? (k(), Te(Da, {
7185
+ p.value ? (w(), Te(Da, {
7188
7186
  key: 0,
7189
7187
  type: "select",
7190
7188
  height: v.value,
@@ -7193,7 +7191,7 @@ const Bd = {
7193
7191
  "select-all-mode": g.value.length === 0 ? "none" : g.value.length === e.dataList.length ? "all" : "some",
7194
7192
  onSelectAllMode: z
7195
7193
  }, null, 8, ["height", "bg", "select-mode", "select-all-mode"])) : X("", !0),
7196
- (k(!0), x(Be, null, vt(y.value, (V, j) => (k(), Te(Da, {
7194
+ (w(!0), x(Be, null, vt(y.value, (V, j) => (w(), Te(Da, {
7197
7195
  ref_for: !0,
7198
7196
  ref_key: "headerCellRefs",
7199
7197
  ref: i,
@@ -7210,27 +7208,27 @@ const Bd = {
7210
7208
  V.headerSlot ? {
7211
7209
  name: "default",
7212
7210
  fn: Oe(() => [
7213
- (k(), Te(sn(() => V.headerSlot({}))))
7211
+ (w(), Te(sn(() => V.headerSlot({}))))
7214
7212
  ]),
7215
7213
  key: "0"
7216
7214
  } : void 0
7217
7215
  ]), 1032, ["label", "align", "height", "width", "sortable", "select-mode", "bg", "onSortChange"]))), 128))
7218
7216
  ])
7219
7217
  ], 4),
7220
- e.dataList.length > 0 ? (k(), x("tbody", Zd, [
7218
+ e.dataList.length > 0 ? (w(), x("tbody", Zd, [
7221
7219
  U("tr", {
7222
7220
  class: "loading-wrapper",
7223
7221
  style: ve(h.value)
7224
7222
  }, [
7225
7223
  U("td", { colspan: W.value }, [
7226
7224
  U("div", tf, [
7227
- d.value ? (k(), x(Be, { key: 0 }, [
7228
- ie(ee(no), {
7225
+ d.value ? (w(), x(Be, { key: 0 }, [
7226
+ ie(ee(ro), {
7229
7227
  size: "16px",
7230
7228
  color: "var(--stroke-color-success)"
7231
7229
  }),
7232
7230
  U("span", nf, J(ee(ke)("tableList.refreshed")), 1)
7233
- ], 64)) : (k(), Te(ee(Gn), {
7231
+ ], 64)) : (w(), Te(ee(Gn), {
7234
7232
  key: 1,
7235
7233
  class: "loading-icon",
7236
7234
  size: "16px",
@@ -7239,12 +7237,12 @@ const Bd = {
7239
7237
  ])
7240
7238
  ], 8, ef)
7241
7239
  ], 4),
7242
- (k(!0), x(Be, null, vt(e.dataList, (V, j) => (k(), x("tr", {
7240
+ (w(!0), x(Be, null, vt(e.dataList, (V, j) => (w(), x("tr", {
7243
7241
  key: j,
7244
7242
  class: "table-row",
7245
7243
  onClick: (Z) => F(V, j)
7246
7244
  }, [
7247
- p.value ? (k(), Te(bn, {
7245
+ p.value ? (w(), Te(bn, {
7248
7246
  key: 0,
7249
7247
  type: "select",
7250
7248
  index: j,
@@ -7253,7 +7251,7 @@ const Bd = {
7253
7251
  selected: g.value.findIndex((Z) => Z._index === j) !== -1,
7254
7252
  onSelectChange: H
7255
7253
  }, null, 8, ["index", "column-height", "data", "selected"])) : X("", !0),
7256
- (k(!0), x(Be, null, vt(B.value, (Z, oe) => (k(), Te(bn, {
7254
+ (w(!0), x(Be, null, vt(B.value, (Z, oe) => (w(), Te(bn, {
7257
7255
  key: `${j}-${oe}`,
7258
7256
  index: j,
7259
7257
  "column-height": e.columnHeight,
@@ -7267,23 +7265,23 @@ const Bd = {
7267
7265
  Z.slotDefault ? {
7268
7266
  name: "default",
7269
7267
  fn: Oe((he) => [
7270
- (k(), Te(sn(() => Z.slotDefault(he))))
7268
+ (w(), Te(sn(() => Z.slotDefault(he))))
7271
7269
  ]),
7272
7270
  key: "0"
7273
7271
  } : void 0
7274
7272
  ]), 1032, ["index", "column-height", "prop", "align", "width", "width-percent", "min-width", "data"]))), 128))
7275
7273
  ], 8, rf))), 128)),
7276
- (k(!0), x(Be, null, vt(C.value, (V, j) => (k(), x("tr", {
7274
+ (w(!0), x(Be, null, vt(O.value, (V, j) => (w(), x("tr", {
7277
7275
  key: j + e.dataList.length
7278
7276
  }, [
7279
- p.value ? (k(), Te(bn, {
7277
+ p.value ? (w(), Te(bn, {
7280
7278
  key: 0,
7281
7279
  type: "select",
7282
7280
  index: j + e.dataList.length,
7283
7281
  "column-height": e.columnHeight,
7284
7282
  blank: ""
7285
7283
  }, null, 8, ["index", "column-height"])) : X("", !0),
7286
- (k(!0), x(Be, null, vt(B.value, (Z, oe) => (k(), Te(bn, {
7284
+ (w(!0), x(Be, null, vt(B.value, (Z, oe) => (w(), Te(bn, {
7287
7285
  key: `${j + e.dataList.length}-${oe}`,
7288
7286
  index: j + e.dataList.length,
7289
7287
  "column-height": e.columnHeight,
@@ -7292,43 +7290,46 @@ const Bd = {
7292
7290
  ]))), 128))
7293
7291
  ])) : X("", !0)
7294
7292
  ])),
7295
- !e.loading && e.dataList.length === 0 ? (k(), x("div", af, [
7293
+ !e.loading && e.dataList.length === 0 ? (w(), x("div", af, [
7296
7294
  U("div", sf, [
7297
- ie(ee(ro), {
7295
+ ie(ee(ao), {
7298
7296
  size: "40px",
7299
7297
  color: "var(--text-base-quaternary)"
7300
7298
  }),
7301
7299
  U("div", of, J(ee(ke)("tableList.noData")), 1)
7302
7300
  ])
7303
- ])) : (k(), x("div", lf))
7301
+ ])) : (w(), x("div", lf))
7304
7302
  ], 512)
7305
7303
  ], 512));
7306
7304
  }
7307
- }), Cf = /* @__PURE__ */ Dr(cf, [["__scopeId", "data-v-30ce2ae3"]]);
7305
+ }), wf = /* @__PURE__ */ Dr(cf, [["__scopeId", "data-v-30ce2ae3"]]);
7308
7306
  export {
7309
- Of as Badge,
7307
+ Lf as Badge,
7310
7308
  Ft as Button,
7311
- Ef as Cascader,
7309
+ Tf as Cascader,
7312
7310
  Or as Checkbox,
7313
- Ws as Dialog,
7311
+ Bs as Dialog,
7314
7312
  pf as Divider,
7315
7313
  Os as Input,
7316
7314
  _a as Message,
7317
7315
  hf as Notification,
7318
- yf as Option,
7316
+ Ef as Option,
7319
7317
  lr as Popover,
7320
7318
  _f as Progress,
7321
7319
  mf as Radio,
7322
- bf as Select,
7323
- Nf as Switch,
7320
+ yf as Select,
7321
+ Of as Switch,
7324
7322
  Ls as TABS_KEY,
7325
7323
  gf as TabPane,
7326
- Cf as TableList,
7324
+ wf as TableList,
7327
7325
  bn as TableListColumn,
7328
7326
  vf as Tabs,
7329
- Tf as Tag,
7330
- Lf as Upload,
7327
+ Nf as Tag,
7328
+ Cf as Upload,
7331
7329
  Wd as confirm,
7332
- Fs as selectInjectKey,
7333
- ff as setCregisUILocale
7330
+ Fs as getDialogZIndex,
7331
+ Us as selectInjectKey,
7332
+ ff as setCregisUILocale,
7333
+ bf as setDialogZIndex,
7334
+ Vs as useClickOutside
7334
7335
  };