@linagora/linid-im-front-corelib 0.0.39 → 0.0.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import * as _n from "vue";
2
- import { defineAsyncComponent as Io, hasInjectionContext as An, inject as Ut, getCurrentInstance as Po, ref as pt, reactive as wo, markRaw as ft, effectScope as Do, isRef as mt, isReactive as Qn, toRef as hn, toRaw as ko, nextTick as _r, getCurrentScope as Fo, onScopeDispose as Uo, watch as vn, computed as ke, toRefs as hr, defineComponent as Jt, watchEffect as Mo, openBlock as En, createElementBlock as Er, Fragment as Mt, renderList as xo, createBlock as Vo, resolveDynamicComponent as $o, mergeProps as jo, renderSlot as Bo, createElementVNode as Ho, createCommentVNode as Wo, onMounted as qo, onUnmounted as Go, shallowRef as Yo, h as Ns, createVNode as Ko, Text as Xo } from "vue";
2
+ import { defineAsyncComponent as Do, hasInjectionContext as An, inject as Ut, getCurrentInstance as ko, ref as et, reactive as Fo, markRaw as dt, effectScope as Uo, isRef as mt, isReactive as Qn, toRef as hn, toRaw as Mo, nextTick as _r, getCurrentScope as xo, onScopeDispose as Vo, watch as vn, computed as ke, toRefs as hr, defineComponent as Jt, watchEffect as $o, openBlock as En, createElementBlock as Er, Fragment as Mt, renderList as Bo, createBlock as jo, resolveDynamicComponent as Ho, mergeProps as Wo, renderSlot as qo, createElementVNode as Go, createCommentVNode as Yo, onMounted as Ns, onUnmounted as Os, shallowRef as Ko, h as Ss, createVNode as Xo, Text as Jo } from "vue";
3
3
  let xt = null;
4
- function ku(e) {
4
+ function Fu(e) {
5
5
  if (xt !== null) {
6
6
  console.warn(
7
7
  "[LinID CoreLib] Module Federation has already been initialized. Re-initialization is ignored."
@@ -10,23 +10,23 @@ function ku(e) {
10
10
  }
11
11
  xt = e;
12
12
  }
13
- function Jo() {
13
+ function zo() {
14
14
  if (xt === null)
15
15
  throw new Error(
16
16
  "[LinID CoreLib] Module Federation is not initialized. Call setModuleFederation() first."
17
17
  );
18
18
  return xt;
19
19
  }
20
- const zo = (e) => Io(
21
- () => Jo().loadRemote(e).then((t) => {
20
+ const Qo = (e) => Do(
21
+ () => zo().loadRemote(e).then((t) => {
22
22
  if (!t?.default)
23
23
  throw new Error(`Failed to load component from ${e}`);
24
24
  return t.default;
25
25
  })
26
26
  );
27
27
  const Ze = typeof window < "u";
28
- let je;
29
- const Vt = (e) => je = e;
28
+ let Be;
29
+ const Vt = (e) => Be = e;
30
30
  process.env.NODE_ENV;
31
31
  const Cn = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
32
32
  /* istanbul ignore next */
@@ -35,35 +35,35 @@ const Cn = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
35
35
  function qe(e) {
36
36
  return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
37
37
  }
38
- var dt;
38
+ var pt;
39
39
  (function(e) {
40
40
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
41
- })(dt || (dt = {}));
42
- function Os(e, t) {
41
+ })(pt || (pt = {}));
42
+ function Ts(e, t) {
43
43
  for (const n in t) {
44
44
  const r = t[n];
45
45
  if (!(n in e))
46
46
  continue;
47
47
  const s = e[n];
48
- qe(s) && qe(r) && !mt(r) && !Qn(r) ? e[n] = Os(s, r) : e[n] = r;
48
+ qe(s) && qe(r) && !mt(r) && !Qn(r) ? e[n] = Ts(s, r) : e[n] = r;
49
49
  }
50
50
  return e;
51
51
  }
52
- const Ss = () => {
52
+ const Ls = () => {
53
53
  };
54
- function gr(e, t, n, r = Ss) {
54
+ function gr(e, t, n, r = Ls) {
55
55
  e.add(t);
56
56
  const s = () => {
57
57
  e.delete(t) && r();
58
58
  };
59
- return !n && Fo() && Uo(s), s;
59
+ return !n && xo() && Vo(s), s;
60
60
  }
61
61
  function ze(e, ...t) {
62
62
  e.forEach((n) => {
63
63
  n(...t);
64
64
  });
65
65
  }
66
- const Qo = (e) => e(), br = Symbol(), gn = Symbol();
66
+ const Zo = (e) => e(), br = Symbol(), gn = Symbol();
67
67
  function Rn(e, t) {
68
68
  e instanceof Map && t instanceof Map ? t.forEach((n, r) => e.set(r, n)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
69
69
  for (const n in t) {
@@ -74,12 +74,12 @@ function Rn(e, t) {
74
74
  }
75
75
  return e;
76
76
  }
77
- const Zo = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
77
+ const ei = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
78
78
  /* istanbul ignore next */
79
79
  Symbol()
80
80
  );
81
- function ei(e) {
82
- return !qe(e) || !Object.prototype.hasOwnProperty.call(e, Zo);
81
+ function ti(e) {
82
+ return !qe(e) || !Object.prototype.hasOwnProperty.call(e, ei);
83
83
  }
84
84
  const { assign: pe } = Object;
85
85
  function yr(e) {
@@ -92,9 +92,9 @@ function Nr(e, t, n, r) {
92
92
  !a && (process.env.NODE_ENV === "production" || !r) && (n.state.value[e] = s ? s() : {});
93
93
  const l = process.env.NODE_ENV !== "production" && r ? (
94
94
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
95
- hr(pt(s ? s() : {}).value)
95
+ hr(et(s ? s() : {}).value)
96
96
  ) : hr(n.state.value[e]);
97
- return pe(l, o, Object.keys(i || {}).reduce((p, g) => (process.env.NODE_ENV !== "production" && g in l && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${e}".`), p[g] = ft(ke(() => {
97
+ return pe(l, o, Object.keys(i || {}).reduce((p, g) => (process.env.NODE_ENV !== "production" && g in l && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${g}" in store "${e}".`), p[g] = dt(ke(() => {
98
98
  Vt(n);
99
99
  const A = n._s.get(e);
100
100
  return i[g].call(A, A);
@@ -114,16 +114,16 @@ function In(e, t, n = {}, r, s, o) {
114
114
  let u, l, p = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Set(), A;
115
115
  const E = r.state.value[e];
116
116
  !o && !E && (process.env.NODE_ENV === "production" || !s) && (r.state.value[e] = {});
117
- const b = pt({});
117
+ const b = et({});
118
118
  let S;
119
119
  function m(I) {
120
120
  let P;
121
121
  u = l = !1, process.env.NODE_ENV !== "production" && (A = []), typeof I == "function" ? (I(r.state.value[e]), P = {
122
- type: dt.patchFunction,
122
+ type: pt.patchFunction,
123
123
  storeId: e,
124
124
  events: A
125
125
  }) : (Rn(r.state.value[e], I), P = {
126
- type: dt.patchObject,
126
+ type: pt.patchObject,
127
127
  payload: I,
128
128
  storeId: e,
129
129
  events: A
@@ -142,7 +142,7 @@ function In(e, t, n = {}, r, s, o) {
142
142
  /* istanbul ignore next */
143
143
  process.env.NODE_ENV !== "production" ? () => {
144
144
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
145
- } : Ss
145
+ } : Ls
146
146
  );
147
147
  function T() {
148
148
  i.stop(), p.clear(), g.clear(), r._s.delete(e);
@@ -175,7 +175,7 @@ function In(e, t, n = {}, r, s, o) {
175
175
  return Z instanceof Promise ? Z.then((Q) => (ze(ne, Q), Q)).catch((Q) => (ze(be, Q), Promise.reject(Q))) : (ze(ne, Z), Z);
176
176
  };
177
177
  return k[br] = !0, k[gn] = P, k;
178
- }, C = /* @__PURE__ */ ft({
178
+ }, C = /* @__PURE__ */ dt({
179
179
  actions: {},
180
180
  getters: {},
181
181
  state: [],
@@ -191,17 +191,17 @@ function In(e, t, n = {}, r, s, o) {
191
191
  const k = gr(p, I, P.detached, () => W()), W = i.run(() => vn(() => r.state.value[e], (ne) => {
192
192
  (P.flush === "sync" ? l : u) && I({
193
193
  storeId: e,
194
- type: dt.direct,
194
+ type: pt.direct,
195
195
  events: A
196
196
  }, ne);
197
197
  }, pe({}, c, P)));
198
198
  return k;
199
199
  },
200
200
  $dispose: T
201
- }, _ = wo(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ze ? pe(
201
+ }, _ = Fo(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Ze ? pe(
202
202
  {
203
203
  _hmrPayload: C,
204
- _customProperties: ft(/* @__PURE__ */ new Set())
204
+ _customProperties: dt(/* @__PURE__ */ new Set())
205
205
  // devtools custom properties
206
206
  },
207
207
  R
@@ -209,11 +209,11 @@ function In(e, t, n = {}, r, s, o) {
209
209
  // setupStore
210
210
  ) : R);
211
211
  r._s.set(e, _);
212
- const U = (r._a && r._a.runWithContext || Qo)(() => r._e.run(() => (i = Do()).run(() => t({ action: y }))));
212
+ const U = (r._a && r._a.runWithContext || Zo)(() => r._e.run(() => (i = Uo()).run(() => t({ action: y }))));
213
213
  for (const I in U) {
214
214
  const P = U[I];
215
215
  if (mt(P) && !yr(P) || Qn(P))
216
- process.env.NODE_ENV !== "production" && s ? b.value[I] = hn(U, I) : o || (E && ei(P) && (mt(P) ? P.value = E[I] : Rn(P, E[I])), r.state.value[e][I] = P), process.env.NODE_ENV !== "production" && C.state.push(I);
216
+ process.env.NODE_ENV !== "production" && s ? b.value[I] = hn(U, I) : o || (E && ti(P) && (mt(P) ? P.value = E[I] : Rn(P, E[I])), r.state.value[e][I] = P), process.env.NODE_ENV !== "production" && C.state.push(I);
217
217
  else if (typeof P == "function") {
218
218
  const k = process.env.NODE_ENV !== "production" && s ? P : y(P, I);
219
219
  U[I] = k, process.env.NODE_ENV !== "production" && (C.actions[I] = P), a.actions[I] = P;
@@ -221,9 +221,9 @@ function In(e, t, n = {}, r, s, o) {
221
221
  // @ts-expect-error
222
222
  n.getters[I]
223
223
  ) : P, Ze && (U._getters || // @ts-expect-error: same
224
- (U._getters = ft([]))).push(I));
224
+ (U._getters = dt([]))).push(I));
225
225
  }
226
- if (pe(_, U), pe(ko(_), U), Object.defineProperty(_, "$state", {
226
+ if (pe(_, U), pe(Mo(_), U), Object.defineProperty(_, "$state", {
227
227
  get: () => process.env.NODE_ENV !== "production" && s ? b.value : r.state.value[e],
228
228
  set: (I) => {
229
229
  if (process.env.NODE_ENV !== "production" && s)
@@ -232,11 +232,11 @@ function In(e, t, n = {}, r, s, o) {
232
232
  pe(P, I);
233
233
  });
234
234
  }
235
- }), process.env.NODE_ENV !== "production" && (_._hotUpdate = ft((I) => {
235
+ }), process.env.NODE_ENV !== "production" && (_._hotUpdate = dt((I) => {
236
236
  _._hotUpdating = !0, I._hmrPayload.state.forEach((P) => {
237
237
  if (P in _.$state) {
238
238
  const k = I.$state[P], W = _.$state[P];
239
- typeof k == "object" && qe(k) && qe(W) ? Os(k, W) : I.$state[P] = W;
239
+ typeof k == "object" && qe(k) && qe(W) ? Ts(k, W) : I.$state[P] = W;
240
240
  }
241
241
  _[P] = hn(I.$state, P);
242
242
  }), Object.keys(_.$state).forEach((P) => {
@@ -302,18 +302,18 @@ function Zn(e, t, n) {
302
302
  const c = An();
303
303
  if (i = // in test mode, ignore the argument provided as we can always retrieve a
304
304
  // pinia instance with getActivePinia()
305
- (process.env.NODE_ENV === "test" && je && je._testing ? null : i) || (c ? Ut(Cn, null) : null), i && Vt(i), process.env.NODE_ENV !== "production" && !je)
305
+ (process.env.NODE_ENV === "test" && Be && Be._testing ? null : i) || (c ? Ut(Cn, null) : null), i && Vt(i), process.env.NODE_ENV !== "production" && !Be)
306
306
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
307
307
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
308
308
  This will fail in production.`);
309
- i = je, i._s.has(e) || (s ? In(e, t, r, i) : Nr(e, r, i), process.env.NODE_ENV !== "production" && (o._pinia = i));
309
+ i = Be, i._s.has(e) || (s ? In(e, t, r, i) : Nr(e, r, i), process.env.NODE_ENV !== "production" && (o._pinia = i));
310
310
  const u = i._s.get(e);
311
311
  if (process.env.NODE_ENV !== "production" && a) {
312
312
  const l = "__hot:" + e, p = s ? In(l, t, r, i, !0) : Nr(l, pe({}, r), i, !0);
313
313
  a._hotUpdate(p), delete i.state.value[l], i._s.delete(l);
314
314
  }
315
315
  if (process.env.NODE_ENV !== "production" && Ze) {
316
- const l = Po();
316
+ const l = ko();
317
317
  if (l && l.proxy && // avoid adding stores that are just built for hot module replacement
318
318
  !a) {
319
319
  const p = l.proxy, g = "_pStores" in p ? p._pStores : p._pStores = {};
@@ -325,7 +325,7 @@ This will fail in production.`);
325
325
  return o.$id = e, o;
326
326
  }
327
327
  let $t = null;
328
- function Fu(e) {
328
+ function Uu(e) {
329
329
  if ($t !== null) {
330
330
  console.warn(
331
331
  "[LinID CoreLib] Pinia store has already been initialized. Re-initialization is ignored."
@@ -341,7 +341,7 @@ function er() {
341
341
  );
342
342
  return $t;
343
343
  }
344
- const ti = () => ni(er()), ni = /* @__PURE__ */ Zn("linidZoneStore", {
344
+ const ni = () => ri(er()), ri = /* @__PURE__ */ Zn("linidZoneStore", {
345
345
  state: () => ({
346
346
  zones: {}
347
347
  }),
@@ -353,57 +353,66 @@ const ti = () => ni(er()), ni = /* @__PURE__ */ Zn("linidZoneStore", {
353
353
  */
354
354
  register(e, t) {
355
355
  this.zones[e] || (this.zones[e] = []), this.zones[e].push(t);
356
+ },
357
+ /**
358
+ * Register a new entry only if the plugin
359
+ * is not already registered in the zone.
360
+ * @param zone - The name of the zone.
361
+ * @param entry - The entry to register.
362
+ */
363
+ registerOnce(e, t) {
364
+ this.zones[e]?.some(({ plugin: n }) => n === t.plugin) || this.register(e, t);
356
365
  }
357
366
  }
358
- }), Uu = /* @__PURE__ */ Jt({
367
+ }), Mu = /* @__PURE__ */ Jt({
359
368
  __name: "LinidZoneRenderer",
360
369
  props: {
361
370
  zone: {}
362
371
  },
363
372
  setup(e) {
364
- const t = e, n = ti(), r = pt([]), s = pt(!1);
365
- return Mo(() => {
373
+ const t = e, n = ni(), r = et([]), s = et(!1);
374
+ return $o(() => {
366
375
  s.value = !1;
367
376
  const o = n.zones[t.zone] || [];
368
377
  r.value = o.map((i) => ({
369
378
  ...i,
370
- component: zo(i.plugin)
379
+ component: Qo(i.plugin)
371
380
  })), Promise.resolve().then(() => {
372
381
  s.value = !0;
373
382
  });
374
383
  }), (o, i) => (En(), Er(Mt, null, [
375
- (En(!0), Er(Mt, null, xo(r.value, (a, c) => (En(), Vo($o(a.component), jo({
384
+ (En(!0), Er(Mt, null, Bo(r.value, (a, c) => (En(), jo(Ho(a.component), Wo({
376
385
  key: a.plugin + c
377
386
  }, { ref_for: !0 }, a.props), null, 16))), 128)),
378
- s.value && r.value.length === 0 ? Bo(o.$slots, "default", { key: 0 }, () => [
379
- i[0] || (i[0] = Ho("div", null, "No components to render in this zone.", -1))
380
- ]) : Wo("", !0)
387
+ s.value && r.value.length === 0 ? qo(o.$slots, "default", { key: 0 }, () => [
388
+ i[0] || (i[0] = Go("div", null, "No components to render in this zone.", -1))
389
+ ]) : Yo("", !0)
381
390
  ], 64));
382
391
  }
383
392
  });
384
- function Ts(e, t) {
393
+ function As(e, t) {
385
394
  return function() {
386
395
  return e.apply(t, arguments);
387
396
  };
388
397
  }
389
- const { toString: ri } = Object.prototype, { getPrototypeOf: tr } = Object, { iterator: zt, toStringTag: Ls } = Symbol, Qt = /* @__PURE__ */ ((e) => (t) => {
390
- const n = ri.call(t);
398
+ const { toString: si } = Object.prototype, { getPrototypeOf: tr } = Object, { iterator: zt, toStringTag: vs } = Symbol, Qt = /* @__PURE__ */ ((e) => (t) => {
399
+ const n = si.call(t);
391
400
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
392
- })(/* @__PURE__ */ Object.create(null)), ge = (e) => (e = e.toLowerCase(), (t) => Qt(t) === e), Zt = (e) => (t) => typeof t === e, { isArray: nt } = Array, et = Zt("undefined");
401
+ })(/* @__PURE__ */ Object.create(null)), ge = (e) => (e = e.toLowerCase(), (t) => Qt(t) === e), Zt = (e) => (t) => typeof t === e, { isArray: rt } = Array, tt = Zt("undefined");
393
402
  function bt(e) {
394
- return e !== null && !et(e) && e.constructor !== null && !et(e.constructor) && ue(e.constructor.isBuffer) && e.constructor.isBuffer(e);
403
+ return e !== null && !tt(e) && e.constructor !== null && !tt(e.constructor) && ue(e.constructor.isBuffer) && e.constructor.isBuffer(e);
395
404
  }
396
- const As = ge("ArrayBuffer");
397
- function si(e) {
405
+ const Cs = ge("ArrayBuffer");
406
+ function oi(e) {
398
407
  let t;
399
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && As(e.buffer), t;
408
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Cs(e.buffer), t;
400
409
  }
401
- const oi = Zt("string"), ue = Zt("function"), vs = Zt("number"), yt = (e) => e !== null && typeof e == "object", ii = (e) => e === !0 || e === !1, Pt = (e) => {
410
+ const ii = Zt("string"), ue = Zt("function"), Rs = Zt("number"), yt = (e) => e !== null && typeof e == "object", ai = (e) => e === !0 || e === !1, Pt = (e) => {
402
411
  if (Qt(e) !== "object")
403
412
  return !1;
404
413
  const t = tr(e);
405
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ls in e) && !(zt in e);
406
- }, ai = (e) => {
414
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(vs in e) && !(zt in e);
415
+ }, ci = (e) => {
407
416
  if (!yt(e) || bt(e))
408
417
  return !1;
409
418
  try {
@@ -411,16 +420,16 @@ const oi = Zt("string"), ue = Zt("function"), vs = Zt("number"), yt = (e) => e !
411
420
  } catch {
412
421
  return !1;
413
422
  }
414
- }, ci = ge("Date"), li = ge("File"), ui = ge("Blob"), fi = ge("FileList"), di = (e) => yt(e) && ue(e.pipe), pi = (e) => {
423
+ }, li = ge("Date"), ui = ge("File"), fi = ge("Blob"), di = ge("FileList"), pi = (e) => yt(e) && ue(e.pipe), mi = (e) => {
415
424
  let t;
416
425
  return e && (typeof FormData == "function" && e instanceof FormData || ue(e.append) && ((t = Qt(e)) === "formdata" || // detect form-data instance
417
426
  t === "object" && ue(e.toString) && e.toString() === "[object FormData]"));
418
- }, mi = ge("URLSearchParams"), [_i, hi, Ei, gi] = ["ReadableStream", "Request", "Response", "Headers"].map(ge), bi = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
427
+ }, _i = ge("URLSearchParams"), [hi, Ei, gi, bi] = ["ReadableStream", "Request", "Response", "Headers"].map(ge), yi = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
419
428
  function Nt(e, t, { allOwnKeys: n = !1 } = {}) {
420
429
  if (e === null || typeof e > "u")
421
430
  return;
422
431
  let r, s;
423
- if (typeof e != "object" && (e = [e]), nt(e))
432
+ if (typeof e != "object" && (e = [e]), rt(e))
424
433
  for (r = 0, s = e.length; r < s; r++)
425
434
  t.call(null, e[r], r, e);
426
435
  else {
@@ -432,7 +441,7 @@ function Nt(e, t, { allOwnKeys: n = !1 } = {}) {
432
441
  a = o[r], t.call(null, e[a], a, e);
433
442
  }
434
443
  }
435
- function Cs(e, t) {
444
+ function Is(e, t) {
436
445
  if (bt(e))
437
446
  return null;
438
447
  t = t.toLowerCase();
@@ -443,23 +452,23 @@ function Cs(e, t) {
443
452
  return s;
444
453
  return null;
445
454
  }
446
- const Be = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Rs = (e) => !et(e) && e !== Be;
455
+ const je = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ps = (e) => !tt(e) && e !== je;
447
456
  function Pn() {
448
- const { caseless: e, skipUndefined: t } = Rs(this) && this || {}, n = {}, r = (s, o) => {
449
- const i = e && Cs(n, o) || o;
450
- Pt(n[i]) && Pt(s) ? n[i] = Pn(n[i], s) : Pt(s) ? n[i] = Pn({}, s) : nt(s) ? n[i] = s.slice() : (!t || !et(s)) && (n[i] = s);
457
+ const { caseless: e, skipUndefined: t } = Ps(this) && this || {}, n = {}, r = (s, o) => {
458
+ const i = e && Is(n, o) || o;
459
+ Pt(n[i]) && Pt(s) ? n[i] = Pn(n[i], s) : Pt(s) ? n[i] = Pn({}, s) : rt(s) ? n[i] = s.slice() : (!t || !tt(s)) && (n[i] = s);
451
460
  };
452
461
  for (let s = 0, o = arguments.length; s < o; s++)
453
462
  arguments[s] && Nt(arguments[s], r);
454
463
  return n;
455
464
  }
456
- const yi = (e, t, n, { allOwnKeys: r } = {}) => (Nt(t, (s, o) => {
457
- n && ue(s) ? e[o] = Ts(s, n) : e[o] = s;
458
- }, { allOwnKeys: r }), e), Ni = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Oi = (e, t, n, r) => {
465
+ const Ni = (e, t, n, { allOwnKeys: r } = {}) => (Nt(t, (s, o) => {
466
+ n && ue(s) ? e[o] = As(s, n) : e[o] = s;
467
+ }, { allOwnKeys: r }), e), Oi = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Si = (e, t, n, r) => {
459
468
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
460
469
  value: t.prototype
461
470
  }), n && Object.assign(e.prototype, n);
462
- }, Si = (e, t, n, r) => {
471
+ }, Ti = (e, t, n, r) => {
463
472
  let s, o, i;
464
473
  const a = {};
465
474
  if (t = t || {}, e == null) return t;
@@ -469,45 +478,45 @@ const yi = (e, t, n, { allOwnKeys: r } = {}) => (Nt(t, (s, o) => {
469
478
  e = n !== !1 && tr(e);
470
479
  } while (e && (!n || n(e, t)) && e !== Object.prototype);
471
480
  return t;
472
- }, Ti = (e, t, n) => {
481
+ }, Li = (e, t, n) => {
473
482
  e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
474
483
  const r = e.indexOf(t, n);
475
484
  return r !== -1 && r === n;
476
- }, Li = (e) => {
485
+ }, Ai = (e) => {
477
486
  if (!e) return null;
478
- if (nt(e)) return e;
487
+ if (rt(e)) return e;
479
488
  let t = e.length;
480
- if (!vs(t)) return null;
489
+ if (!Rs(t)) return null;
481
490
  const n = new Array(t);
482
491
  for (; t-- > 0; )
483
492
  n[t] = e[t];
484
493
  return n;
485
- }, Ai = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && tr(Uint8Array)), vi = (e, t) => {
494
+ }, vi = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && tr(Uint8Array)), Ci = (e, t) => {
486
495
  const r = (e && e[zt]).call(e);
487
496
  let s;
488
497
  for (; (s = r.next()) && !s.done; ) {
489
498
  const o = s.value;
490
499
  t.call(e, o[0], o[1]);
491
500
  }
492
- }, Ci = (e, t) => {
501
+ }, Ri = (e, t) => {
493
502
  let n;
494
503
  const r = [];
495
504
  for (; (n = e.exec(t)) !== null; )
496
505
  r.push(n);
497
506
  return r;
498
- }, Ri = ge("HTMLFormElement"), Ii = (e) => e.toLowerCase().replace(
507
+ }, Ii = ge("HTMLFormElement"), Pi = (e) => e.toLowerCase().replace(
499
508
  /[-_\s]([a-z\d])(\w*)/g,
500
509
  function(n, r, s) {
501
510
  return r.toUpperCase() + s;
502
511
  }
503
- ), Or = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Pi = ge("RegExp"), Is = (e, t) => {
512
+ ), Or = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), wi = ge("RegExp"), ws = (e, t) => {
504
513
  const n = Object.getOwnPropertyDescriptors(e), r = {};
505
514
  Nt(n, (s, o) => {
506
515
  let i;
507
516
  (i = t(s, o, e)) !== !1 && (r[o] = i || s);
508
517
  }), Object.defineProperties(e, r);
509
- }, wi = (e) => {
510
- Is(e, (t, n) => {
518
+ }, Di = (e) => {
519
+ ws(e, (t, n) => {
511
520
  if (ue(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
512
521
  return !1;
513
522
  const r = e[n];
@@ -521,19 +530,19 @@ const yi = (e, t, n, { allOwnKeys: r } = {}) => (Nt(t, (s, o) => {
521
530
  });
522
531
  }
523
532
  });
524
- }, Di = (e, t) => {
533
+ }, ki = (e, t) => {
525
534
  const n = {}, r = (s) => {
526
535
  s.forEach((o) => {
527
536
  n[o] = !0;
528
537
  });
529
538
  };
530
- return nt(e) ? r(e) : r(String(e).split(t)), n;
531
- }, ki = () => {
532
- }, Fi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
533
- function Ui(e) {
534
- return !!(e && ue(e.append) && e[Ls] === "FormData" && e[zt]);
539
+ return rt(e) ? r(e) : r(String(e).split(t)), n;
540
+ }, Fi = () => {
541
+ }, Ui = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
542
+ function Mi(e) {
543
+ return !!(e && ue(e.append) && e[vs] === "FormData" && e[zt]);
535
544
  }
536
- const Mi = (e) => {
545
+ const xi = (e) => {
537
546
  const t = new Array(10), n = (r, s) => {
538
547
  if (yt(r)) {
539
548
  if (t.indexOf(r) >= 0)
@@ -542,81 +551,81 @@ const Mi = (e) => {
542
551
  return r;
543
552
  if (!("toJSON" in r)) {
544
553
  t[s] = r;
545
- const o = nt(r) ? [] : {};
554
+ const o = rt(r) ? [] : {};
546
555
  return Nt(r, (i, a) => {
547
556
  const c = n(i, s + 1);
548
- !et(c) && (o[a] = c);
557
+ !tt(c) && (o[a] = c);
549
558
  }), t[s] = void 0, o;
550
559
  }
551
560
  }
552
561
  return r;
553
562
  };
554
563
  return n(e, 0);
555
- }, xi = ge("AsyncFunction"), Vi = (e) => e && (yt(e) || ue(e)) && ue(e.then) && ue(e.catch), Ps = ((e, t) => e ? setImmediate : t ? ((n, r) => (Be.addEventListener("message", ({ source: s, data: o }) => {
556
- s === Be && o === n && r.length && r.shift()();
564
+ }, Vi = ge("AsyncFunction"), $i = (e) => e && (yt(e) || ue(e)) && ue(e.then) && ue(e.catch), Ds = ((e, t) => e ? setImmediate : t ? ((n, r) => (je.addEventListener("message", ({ source: s, data: o }) => {
565
+ s === je && o === n && r.length && r.shift()();
557
566
  }, !1), (s) => {
558
- r.push(s), Be.postMessage(n, "*");
567
+ r.push(s), je.postMessage(n, "*");
559
568
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
560
569
  typeof setImmediate == "function",
561
- ue(Be.postMessage)
562
- ), $i = typeof queueMicrotask < "u" ? queueMicrotask.bind(Be) : typeof process < "u" && process.nextTick || Ps, ji = (e) => e != null && ue(e[zt]), h = {
563
- isArray: nt,
564
- isArrayBuffer: As,
570
+ ue(je.postMessage)
571
+ ), Bi = typeof queueMicrotask < "u" ? queueMicrotask.bind(je) : typeof process < "u" && process.nextTick || Ds, ji = (e) => e != null && ue(e[zt]), h = {
572
+ isArray: rt,
573
+ isArrayBuffer: Cs,
565
574
  isBuffer: bt,
566
- isFormData: pi,
567
- isArrayBufferView: si,
568
- isString: oi,
569
- isNumber: vs,
570
- isBoolean: ii,
575
+ isFormData: mi,
576
+ isArrayBufferView: oi,
577
+ isString: ii,
578
+ isNumber: Rs,
579
+ isBoolean: ai,
571
580
  isObject: yt,
572
581
  isPlainObject: Pt,
573
- isEmptyObject: ai,
574
- isReadableStream: _i,
575
- isRequest: hi,
576
- isResponse: Ei,
577
- isHeaders: gi,
578
- isUndefined: et,
579
- isDate: ci,
580
- isFile: li,
581
- isBlob: ui,
582
- isRegExp: Pi,
582
+ isEmptyObject: ci,
583
+ isReadableStream: hi,
584
+ isRequest: Ei,
585
+ isResponse: gi,
586
+ isHeaders: bi,
587
+ isUndefined: tt,
588
+ isDate: li,
589
+ isFile: ui,
590
+ isBlob: fi,
591
+ isRegExp: wi,
583
592
  isFunction: ue,
584
- isStream: di,
585
- isURLSearchParams: mi,
586
- isTypedArray: Ai,
587
- isFileList: fi,
593
+ isStream: pi,
594
+ isURLSearchParams: _i,
595
+ isTypedArray: vi,
596
+ isFileList: di,
588
597
  forEach: Nt,
589
598
  merge: Pn,
590
- extend: yi,
591
- trim: bi,
592
- stripBOM: Ni,
593
- inherits: Oi,
594
- toFlatObject: Si,
599
+ extend: Ni,
600
+ trim: yi,
601
+ stripBOM: Oi,
602
+ inherits: Si,
603
+ toFlatObject: Ti,
595
604
  kindOf: Qt,
596
605
  kindOfTest: ge,
597
- endsWith: Ti,
598
- toArray: Li,
599
- forEachEntry: vi,
600
- matchAll: Ci,
601
- isHTMLForm: Ri,
606
+ endsWith: Li,
607
+ toArray: Ai,
608
+ forEachEntry: Ci,
609
+ matchAll: Ri,
610
+ isHTMLForm: Ii,
602
611
  hasOwnProperty: Or,
603
612
  hasOwnProp: Or,
604
613
  // an alias to avoid ESLint no-prototype-builtins detection
605
- reduceDescriptors: Is,
606
- freezeMethods: wi,
607
- toObjectSet: Di,
608
- toCamelCase: Ii,
609
- noop: ki,
610
- toFiniteNumber: Fi,
611
- findKey: Cs,
612
- global: Be,
613
- isContextDefined: Rs,
614
- isSpecCompliantForm: Ui,
615
- toJSONObject: Mi,
616
- isAsyncFn: xi,
617
- isThenable: Vi,
618
- setImmediate: Ps,
619
- asap: $i,
614
+ reduceDescriptors: ws,
615
+ freezeMethods: Di,
616
+ toObjectSet: ki,
617
+ toCamelCase: Pi,
618
+ noop: Fi,
619
+ toFiniteNumber: Ui,
620
+ findKey: Is,
621
+ global: je,
622
+ isContextDefined: Ps,
623
+ isSpecCompliantForm: Mi,
624
+ toJSONObject: xi,
625
+ isAsyncFn: Vi,
626
+ isThenable: $i,
627
+ setImmediate: Ds,
628
+ asap: Bi,
620
629
  isIterable: ji
621
630
  };
622
631
  function M(e, t, n, r, s) {
@@ -643,7 +652,7 @@ h.inherits(M, Error, {
643
652
  };
644
653
  }
645
654
  });
646
- const ws = M.prototype, Ds = {};
655
+ const ks = M.prototype, Fs = {};
647
656
  [
648
657
  "ERR_BAD_OPTION_VALUE",
649
658
  "ERR_BAD_OPTION",
@@ -659,34 +668,34 @@ const ws = M.prototype, Ds = {};
659
668
  "ERR_INVALID_URL"
660
669
  // eslint-disable-next-line func-names
661
670
  ].forEach((e) => {
662
- Ds[e] = { value: e };
671
+ Fs[e] = { value: e };
663
672
  });
664
- Object.defineProperties(M, Ds);
665
- Object.defineProperty(ws, "isAxiosError", { value: !0 });
673
+ Object.defineProperties(M, Fs);
674
+ Object.defineProperty(ks, "isAxiosError", { value: !0 });
666
675
  M.from = (e, t, n, r, s, o) => {
667
- const i = Object.create(ws);
676
+ const i = Object.create(ks);
668
677
  h.toFlatObject(e, i, function(l) {
669
678
  return l !== Error.prototype;
670
679
  }, (u) => u !== "isAxiosError");
671
680
  const a = e && e.message ? e.message : "Error", c = t == null && e ? e.code : t;
672
681
  return M.call(i, a, c, n, r, s), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", o && Object.assign(i, o), i;
673
682
  };
674
- const Bi = null;
683
+ const Hi = null;
675
684
  function wn(e) {
676
685
  return h.isPlainObject(e) || h.isArray(e);
677
686
  }
678
- function ks(e) {
687
+ function Us(e) {
679
688
  return h.endsWith(e, "[]") ? e.slice(0, -2) : e;
680
689
  }
681
690
  function Sr(e, t, n) {
682
691
  return e ? e.concat(t).map(function(s, o) {
683
- return s = ks(s), !n && o ? "[" + s + "]" : s;
692
+ return s = Us(s), !n && o ? "[" + s + "]" : s;
684
693
  }).join(n ? "." : "") : t;
685
694
  }
686
- function Hi(e) {
695
+ function Wi(e) {
687
696
  return h.isArray(e) && !e.some(wn);
688
697
  }
689
- const Wi = h.toFlatObject(h, {}, null, function(t) {
698
+ const qi = h.toFlatObject(h, {}, null, function(t) {
690
699
  return /^is[A-Z]/.test(t);
691
700
  });
692
701
  function en(e, t, n) {
@@ -717,8 +726,8 @@ function en(e, t, n) {
717
726
  if (E && !S && typeof E == "object") {
718
727
  if (h.endsWith(b, "{}"))
719
728
  b = r ? b : b.slice(0, -2), E = JSON.stringify(E);
720
- else if (h.isArray(E) && Hi(E) || (h.isFileList(E) || h.endsWith(b, "[]")) && (m = h.toArray(E)))
721
- return b = ks(b), m.forEach(function(T, y) {
729
+ else if (h.isArray(E) && Wi(E) || (h.isFileList(E) || h.endsWith(b, "[]")) && (m = h.toArray(E)))
730
+ return b = Us(b), m.forEach(function(T, y) {
722
731
  !(h.isUndefined(T) || T === null) && t.append(
723
732
  // eslint-disable-next-line no-nested-ternary
724
733
  i === !0 ? Sr([b], y, o) : i === null ? b : b + "[]",
@@ -728,7 +737,7 @@ function en(e, t, n) {
728
737
  }
729
738
  return wn(E) ? !0 : (t.append(Sr(S, b, o), u(E)), !1);
730
739
  }
731
- const p = [], g = Object.assign(Wi, {
740
+ const p = [], g = Object.assign(qi, {
732
741
  defaultVisitor: l,
733
742
  convertValue: u,
734
743
  isVisitable: wn
@@ -769,11 +778,11 @@ function Tr(e) {
769
778
  function nr(e, t) {
770
779
  this._pairs = [], e && en(e, this, t);
771
780
  }
772
- const Fs = nr.prototype;
773
- Fs.append = function(t, n) {
781
+ const Ms = nr.prototype;
782
+ Ms.append = function(t, n) {
774
783
  this._pairs.push([t, n]);
775
784
  };
776
- Fs.toString = function(t) {
785
+ Ms.toString = function(t) {
777
786
  const n = t ? function(r) {
778
787
  return t.call(this, r, Tr);
779
788
  } : Tr;
@@ -781,13 +790,13 @@ Fs.toString = function(t) {
781
790
  return n(s[0]) + "=" + n(s[1]);
782
791
  }, "").join("&");
783
792
  };
784
- function qi(e) {
793
+ function Gi(e) {
785
794
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
786
795
  }
787
- function Us(e, t, n) {
796
+ function xs(e, t, n) {
788
797
  if (!t)
789
798
  return e;
790
- const r = n && n.encode || qi;
799
+ const r = n && n.encode || Gi;
791
800
  h.isFunction(n) && (n = {
792
801
  serialize: n
793
802
  });
@@ -853,31 +862,31 @@ class Lr {
853
862
  });
854
863
  }
855
864
  }
856
- const Ms = {
865
+ const Vs = {
857
866
  silentJSONParsing: !0,
858
867
  forcedJSONParsing: !0,
859
868
  clarifyTimeoutError: !1
860
- }, Gi = typeof URLSearchParams < "u" ? URLSearchParams : nr, Yi = typeof FormData < "u" ? FormData : null, Ki = typeof Blob < "u" ? Blob : null, Xi = {
869
+ }, Yi = typeof URLSearchParams < "u" ? URLSearchParams : nr, Ki = typeof FormData < "u" ? FormData : null, Xi = typeof Blob < "u" ? Blob : null, Ji = {
861
870
  isBrowser: !0,
862
871
  classes: {
863
- URLSearchParams: Gi,
864
- FormData: Yi,
865
- Blob: Ki
872
+ URLSearchParams: Yi,
873
+ FormData: Ki,
874
+ Blob: Xi
866
875
  },
867
876
  protocols: ["http", "https", "file", "blob", "url", "data"]
868
- }, rr = typeof window < "u" && typeof document < "u", Dn = typeof navigator == "object" && navigator || void 0, Ji = rr && (!Dn || ["ReactNative", "NativeScript", "NS"].indexOf(Dn.product) < 0), zi = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
869
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Qi = rr && window.location.href || "http://localhost", Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
877
+ }, rr = typeof window < "u" && typeof document < "u", Dn = typeof navigator == "object" && navigator || void 0, zi = rr && (!Dn || ["ReactNative", "NativeScript", "NS"].indexOf(Dn.product) < 0), Qi = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
878
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Zi = rr && window.location.href || "http://localhost", ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
870
879
  __proto__: null,
871
880
  hasBrowserEnv: rr,
872
- hasStandardBrowserEnv: Ji,
873
- hasStandardBrowserWebWorkerEnv: zi,
881
+ hasStandardBrowserEnv: zi,
882
+ hasStandardBrowserWebWorkerEnv: Qi,
874
883
  navigator: Dn,
875
- origin: Qi
884
+ origin: Zi
876
885
  }, Symbol.toStringTag, { value: "Module" })), ae = {
877
- ...Zi,
878
- ...Xi
886
+ ...ea,
887
+ ...Ji
879
888
  };
880
- function ea(e, t) {
889
+ function ta(e, t) {
881
890
  return en(e, new ae.classes.URLSearchParams(), {
882
891
  visitor: function(n, r, s, o) {
883
892
  return ae.isNode && h.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : o.defaultVisitor.apply(this, arguments);
@@ -885,10 +894,10 @@ function ea(e, t) {
885
894
  ...t
886
895
  });
887
896
  }
888
- function ta(e) {
897
+ function na(e) {
889
898
  return h.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
890
899
  }
891
- function na(e) {
900
+ function ra(e) {
892
901
  const t = {}, n = Object.keys(e);
893
902
  let r;
894
903
  const s = n.length;
@@ -897,22 +906,22 @@ function na(e) {
897
906
  o = n[r], t[o] = e[o];
898
907
  return t;
899
908
  }
900
- function xs(e) {
909
+ function $s(e) {
901
910
  function t(n, r, s, o) {
902
911
  let i = n[o++];
903
912
  if (i === "__proto__") return !0;
904
913
  const a = Number.isFinite(+i), c = o >= n.length;
905
- return i = !i && h.isArray(s) ? s.length : i, c ? (h.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !a) : ((!s[i] || !h.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && h.isArray(s[i]) && (s[i] = na(s[i])), !a);
914
+ return i = !i && h.isArray(s) ? s.length : i, c ? (h.hasOwnProp(s, i) ? s[i] = [s[i], r] : s[i] = r, !a) : ((!s[i] || !h.isObject(s[i])) && (s[i] = []), t(n, r, s[i], o) && h.isArray(s[i]) && (s[i] = ra(s[i])), !a);
906
915
  }
907
916
  if (h.isFormData(e) && h.isFunction(e.entries)) {
908
917
  const n = {};
909
918
  return h.forEachEntry(e, (r, s) => {
910
- t(ta(r), s, n, 0);
919
+ t(na(r), s, n, 0);
911
920
  }), n;
912
921
  }
913
922
  return null;
914
923
  }
915
- function ra(e, t, n) {
924
+ function sa(e, t, n) {
916
925
  if (h.isString(e))
917
926
  try {
918
927
  return (t || JSON.parse)(e), h.trim(e);
@@ -923,12 +932,12 @@ function ra(e, t, n) {
923
932
  return (n || JSON.stringify)(e);
924
933
  }
925
934
  const Ot = {
926
- transitional: Ms,
935
+ transitional: Vs,
927
936
  adapter: ["xhr", "http", "fetch"],
928
937
  transformRequest: [function(t, n) {
929
938
  const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = h.isObject(t);
930
939
  if (o && h.isHTMLForm(t) && (t = new FormData(t)), h.isFormData(t))
931
- return s ? JSON.stringify(xs(t)) : t;
940
+ return s ? JSON.stringify($s(t)) : t;
932
941
  if (h.isArrayBuffer(t) || h.isBuffer(t) || h.isStream(t) || h.isFile(t) || h.isBlob(t) || h.isReadableStream(t))
933
942
  return t;
934
943
  if (h.isArrayBufferView(t))
@@ -938,7 +947,7 @@ const Ot = {
938
947
  let a;
939
948
  if (o) {
940
949
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
941
- return ea(t, this.formSerializer).toString();
950
+ return ta(t, this.formSerializer).toString();
942
951
  if ((a = h.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
943
952
  const c = this.env && this.env.FormData;
944
953
  return en(
@@ -948,7 +957,7 @@ const Ot = {
948
957
  );
949
958
  }
950
959
  }
951
- return o || s ? (n.setContentType("application/json", !1), ra(t)) : t;
960
+ return o || s ? (n.setContentType("application/json", !1), sa(t)) : t;
952
961
  }],
953
962
  transformResponse: [function(t) {
954
963
  const n = this.transitional || Ot.transitional, r = n && n.forcedJSONParsing, s = this.responseType === "json";
@@ -991,7 +1000,7 @@ const Ot = {
991
1000
  h.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
992
1001
  Ot.headers[e] = {};
993
1002
  });
994
- const sa = h.toObjectSet([
1003
+ const oa = h.toObjectSet([
995
1004
  "age",
996
1005
  "authorization",
997
1006
  "content-length",
@@ -1009,28 +1018,28 @@ const sa = h.toObjectSet([
1009
1018
  "referer",
1010
1019
  "retry-after",
1011
1020
  "user-agent"
1012
- ]), oa = (e) => {
1021
+ ]), ia = (e) => {
1013
1022
  const t = {};
1014
1023
  let n, r, s;
1015
1024
  return e && e.split(`
1016
1025
  `).forEach(function(i) {
1017
- s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && sa[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
1026
+ s = i.indexOf(":"), n = i.substring(0, s).trim().toLowerCase(), r = i.substring(s + 1).trim(), !(!n || t[n] && oa[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
1018
1027
  }), t;
1019
1028
  }, Ar = Symbol("internals");
1020
- function lt(e) {
1029
+ function ut(e) {
1021
1030
  return e && String(e).trim().toLowerCase();
1022
1031
  }
1023
1032
  function wt(e) {
1024
1033
  return e === !1 || e == null ? e : h.isArray(e) ? e.map(wt) : String(e);
1025
1034
  }
1026
- function ia(e) {
1035
+ function aa(e) {
1027
1036
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
1028
1037
  let r;
1029
1038
  for (; r = n.exec(e); )
1030
1039
  t[r[1]] = r[2];
1031
1040
  return t;
1032
1041
  }
1033
- const aa = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1042
+ const ca = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
1034
1043
  function bn(e, t, n, r, s) {
1035
1044
  if (h.isFunction(r))
1036
1045
  return r.call(this, t, n);
@@ -1041,10 +1050,10 @@ function bn(e, t, n, r, s) {
1041
1050
  return r.test(t);
1042
1051
  }
1043
1052
  }
1044
- function ca(e) {
1053
+ function la(e) {
1045
1054
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
1046
1055
  }
1047
- function la(e, t) {
1056
+ function ua(e, t) {
1048
1057
  const n = h.toCamelCase(" " + t);
1049
1058
  ["get", "set", "has"].forEach((r) => {
1050
1059
  Object.defineProperty(e, r + n, {
@@ -1062,7 +1071,7 @@ let fe = class {
1062
1071
  set(t, n, r) {
1063
1072
  const s = this;
1064
1073
  function o(a, c, u) {
1065
- const l = lt(c);
1074
+ const l = ut(c);
1066
1075
  if (!l)
1067
1076
  throw new Error("header name must be a non-empty string");
1068
1077
  const p = h.findKey(s, l);
@@ -1071,8 +1080,8 @@ let fe = class {
1071
1080
  const i = (a, c) => h.forEach(a, (u, l) => o(u, l, c));
1072
1081
  if (h.isPlainObject(t) || t instanceof this.constructor)
1073
1082
  i(t, n);
1074
- else if (h.isString(t) && (t = t.trim()) && !aa(t))
1075
- i(oa(t), n);
1083
+ else if (h.isString(t) && (t = t.trim()) && !ca(t))
1084
+ i(ia(t), n);
1076
1085
  else if (h.isObject(t) && h.isIterable(t)) {
1077
1086
  let a = {}, c, u;
1078
1087
  for (const l of t) {
@@ -1086,14 +1095,14 @@ let fe = class {
1086
1095
  return this;
1087
1096
  }
1088
1097
  get(t, n) {
1089
- if (t = lt(t), t) {
1098
+ if (t = ut(t), t) {
1090
1099
  const r = h.findKey(this, t);
1091
1100
  if (r) {
1092
1101
  const s = this[r];
1093
1102
  if (!n)
1094
1103
  return s;
1095
1104
  if (n === !0)
1096
- return ia(s);
1105
+ return aa(s);
1097
1106
  if (h.isFunction(n))
1098
1107
  return n.call(this, s, r);
1099
1108
  if (h.isRegExp(n))
@@ -1103,7 +1112,7 @@ let fe = class {
1103
1112
  }
1104
1113
  }
1105
1114
  has(t, n) {
1106
- if (t = lt(t), t) {
1115
+ if (t = ut(t), t) {
1107
1116
  const r = h.findKey(this, t);
1108
1117
  return !!(r && this[r] !== void 0 && (!n || bn(this, this[r], r, n)));
1109
1118
  }
@@ -1113,7 +1122,7 @@ let fe = class {
1113
1122
  const r = this;
1114
1123
  let s = !1;
1115
1124
  function o(i) {
1116
- if (i = lt(i), i) {
1125
+ if (i = ut(i), i) {
1117
1126
  const a = h.findKey(r, i);
1118
1127
  a && (!n || bn(r, r[a], a, n)) && (delete r[a], s = !0);
1119
1128
  }
@@ -1137,7 +1146,7 @@ let fe = class {
1137
1146
  n[i] = wt(s), delete n[o];
1138
1147
  return;
1139
1148
  }
1140
- const a = t ? ca(o) : String(o).trim();
1149
+ const a = t ? la(o) : String(o).trim();
1141
1150
  a !== o && delete n[o], n[a] = wt(s), r[a] = !0;
1142
1151
  }), this;
1143
1152
  }
@@ -1175,8 +1184,8 @@ let fe = class {
1175
1184
  accessors: {}
1176
1185
  }).accessors, s = this.prototype;
1177
1186
  function o(i) {
1178
- const a = lt(i);
1179
- r[a] || (la(s, i), r[a] = !0);
1187
+ const a = ut(i);
1188
+ r[a] || (ua(s, i), r[a] = !0);
1180
1189
  }
1181
1190
  return h.isArray(t) ? t.forEach(o) : o(t), this;
1182
1191
  }
@@ -1199,16 +1208,16 @@ function yn(e, t) {
1199
1208
  o = a.call(n, o, s.normalize(), t ? t.status : void 0);
1200
1209
  }), s.normalize(), o;
1201
1210
  }
1202
- function Vs(e) {
1211
+ function Bs(e) {
1203
1212
  return !!(e && e.__CANCEL__);
1204
1213
  }
1205
- function rt(e, t, n) {
1214
+ function st(e, t, n) {
1206
1215
  M.call(this, e ?? "canceled", M.ERR_CANCELED, t, n), this.name = "CanceledError";
1207
1216
  }
1208
- h.inherits(rt, M, {
1217
+ h.inherits(st, M, {
1209
1218
  __CANCEL__: !0
1210
1219
  });
1211
- function $s(e, t, n) {
1220
+ function js(e, t, n) {
1212
1221
  const r = n.config.validateStatus;
1213
1222
  !n.status || !r || r(n.status) ? e(n) : t(new M(
1214
1223
  "Request failed with status code " + n.status,
@@ -1218,11 +1227,11 @@ function $s(e, t, n) {
1218
1227
  n
1219
1228
  ));
1220
1229
  }
1221
- function ua(e) {
1230
+ function fa(e) {
1222
1231
  const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
1223
1232
  return t && t[1] || "";
1224
1233
  }
1225
- function fa(e, t) {
1234
+ function da(e, t) {
1226
1235
  e = e || 10;
1227
1236
  const n = new Array(e), r = new Array(e);
1228
1237
  let s = 0, o = 0, i;
@@ -1238,7 +1247,7 @@ function fa(e, t) {
1238
1247
  return A ? Math.round(g * 1e3 / A) : void 0;
1239
1248
  };
1240
1249
  }
1241
- function da(e, t) {
1250
+ function pa(e, t) {
1242
1251
  let n = 0, r = 1e3 / t, s, o;
1243
1252
  const i = (u, l = Date.now()) => {
1244
1253
  n = l, s = null, o && (clearTimeout(o), o = null), e(...u);
@@ -1250,10 +1259,10 @@ function da(e, t) {
1250
1259
  }, r - p)));
1251
1260
  }, () => s && i(s)];
1252
1261
  }
1253
- const jt = (e, t, n = 3) => {
1262
+ const Bt = (e, t, n = 3) => {
1254
1263
  let r = 0;
1255
- const s = fa(50, 250);
1256
- return da((o) => {
1264
+ const s = da(50, 250);
1265
+ return pa((o) => {
1257
1266
  const i = o.loaded, a = o.lengthComputable ? o.total : void 0, c = i - r, u = s(c), l = i <= a;
1258
1267
  r = i;
1259
1268
  const p = {
@@ -1276,10 +1285,10 @@ const jt = (e, t, n = 3) => {
1276
1285
  total: e,
1277
1286
  loaded: r
1278
1287
  }), t[1]];
1279
- }, Cr = (e) => (...t) => h.asap(() => e(...t)), pa = ae.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, ae.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1288
+ }, Cr = (e) => (...t) => h.asap(() => e(...t)), ma = ae.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, ae.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1280
1289
  new URL(ae.origin),
1281
1290
  ae.navigator && /(msie|trident)/i.test(ae.navigator.userAgent)
1282
- ) : () => !0, ma = ae.hasStandardBrowserEnv ? (
1291
+ ) : () => !0, _a = ae.hasStandardBrowserEnv ? (
1283
1292
  // Standard browser envs support document.cookie
1284
1293
  {
1285
1294
  write(e, t, n, r, s, o, i) {
@@ -1308,15 +1317,15 @@ const jt = (e, t, n = 3) => {
1308
1317
  }
1309
1318
  }
1310
1319
  );
1311
- function _a(e) {
1320
+ function ha(e) {
1312
1321
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
1313
1322
  }
1314
- function ha(e, t) {
1323
+ function Ea(e, t) {
1315
1324
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
1316
1325
  }
1317
- function js(e, t, n) {
1318
- let r = !_a(t);
1319
- return e && (r || n == !1) ? ha(e, t) : t;
1326
+ function Hs(e, t, n) {
1327
+ let r = !ha(t);
1328
+ return e && (r || n == !1) ? Ea(e, t) : t;
1320
1329
  }
1321
1330
  const Rr = (e) => e instanceof fe ? { ...e } : e;
1322
1331
  function Ge(e, t) {
@@ -1383,10 +1392,10 @@ function Ge(e, t) {
1383
1392
  h.isUndefined(g) && p !== a || (n[l] = g);
1384
1393
  }), n;
1385
1394
  }
1386
- const Bs = (e) => {
1395
+ const Ws = (e) => {
1387
1396
  const t = Ge({}, e);
1388
1397
  let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: i, auth: a } = t;
1389
- if (t.headers = i = fe.from(i), t.url = Us(js(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
1398
+ if (t.headers = i = fe.from(i), t.url = xs(Hs(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
1390
1399
  "Authorization",
1391
1400
  "Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
1392
1401
  ), h.isFormData(n)) {
@@ -1399,14 +1408,14 @@ const Bs = (e) => {
1399
1408
  });
1400
1409
  }
1401
1410
  }
1402
- if (ae.hasStandardBrowserEnv && (r && h.isFunction(r) && (r = r(t)), r || r !== !1 && pa(t.url))) {
1403
- const c = s && o && ma.read(o);
1411
+ if (ae.hasStandardBrowserEnv && (r && h.isFunction(r) && (r = r(t)), r || r !== !1 && ma(t.url))) {
1412
+ const c = s && o && _a.read(o);
1404
1413
  c && i.set(s, c);
1405
1414
  }
1406
1415
  return t;
1407
- }, Ea = typeof XMLHttpRequest < "u", ga = Ea && function(e) {
1416
+ }, ga = typeof XMLHttpRequest < "u", ba = ga && function(e) {
1408
1417
  return new Promise(function(n, r) {
1409
- const s = Bs(e);
1418
+ const s = Ws(e);
1410
1419
  let o = s.data;
1411
1420
  const i = fe.from(s.headers).normalize();
1412
1421
  let { responseType: a, onUploadProgress: c, onDownloadProgress: u } = s, l, p, g, A, E;
@@ -1428,7 +1437,7 @@ const Bs = (e) => {
1428
1437
  config: e,
1429
1438
  request: S
1430
1439
  };
1431
- $s(function(_) {
1440
+ js(function(_) {
1432
1441
  n(_), b();
1433
1442
  }, function(_) {
1434
1443
  r(_), b();
@@ -1443,7 +1452,7 @@ const Bs = (e) => {
1443
1452
  R.event = y || null, r(R), S = null;
1444
1453
  }, S.ontimeout = function() {
1445
1454
  let y = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
1446
- const C = s.transitional || Ms;
1455
+ const C = s.transitional || Vs;
1447
1456
  s.timeoutErrorMessage && (y = s.timeoutErrorMessage), r(new M(
1448
1457
  y,
1449
1458
  C.clarifyTimeoutError ? M.ETIMEDOUT : M.ECONNABORTED,
@@ -1452,17 +1461,17 @@ const Bs = (e) => {
1452
1461
  )), S = null;
1453
1462
  }, o === void 0 && i.setContentType(null), "setRequestHeader" in S && h.forEach(i.toJSON(), function(y, C) {
1454
1463
  S.setRequestHeader(C, y);
1455
- }), h.isUndefined(s.withCredentials) || (S.withCredentials = !!s.withCredentials), a && a !== "json" && (S.responseType = s.responseType), u && ([g, E] = jt(u, !0), S.addEventListener("progress", g)), c && S.upload && ([p, A] = jt(c), S.upload.addEventListener("progress", p), S.upload.addEventListener("loadend", A)), (s.cancelToken || s.signal) && (l = (T) => {
1456
- S && (r(!T || T.type ? new rt(null, e, S) : T), S.abort(), S = null);
1464
+ }), h.isUndefined(s.withCredentials) || (S.withCredentials = !!s.withCredentials), a && a !== "json" && (S.responseType = s.responseType), u && ([g, E] = Bt(u, !0), S.addEventListener("progress", g)), c && S.upload && ([p, A] = Bt(c), S.upload.addEventListener("progress", p), S.upload.addEventListener("loadend", A)), (s.cancelToken || s.signal) && (l = (T) => {
1465
+ S && (r(!T || T.type ? new st(null, e, S) : T), S.abort(), S = null);
1457
1466
  }, s.cancelToken && s.cancelToken.subscribe(l), s.signal && (s.signal.aborted ? l() : s.signal.addEventListener("abort", l)));
1458
- const N = ua(s.url);
1467
+ const N = fa(s.url);
1459
1468
  if (N && ae.protocols.indexOf(N) === -1) {
1460
1469
  r(new M("Unsupported protocol " + N + ":", M.ERR_BAD_REQUEST, e));
1461
1470
  return;
1462
1471
  }
1463
1472
  S.send(o || null);
1464
1473
  });
1465
- }, ba = (e, t) => {
1474
+ }, ya = (e, t) => {
1466
1475
  const { length: n } = e = e ? e.filter(Boolean) : [];
1467
1476
  if (t || n) {
1468
1477
  let r = new AbortController(), s;
@@ -1470,7 +1479,7 @@ const Bs = (e) => {
1470
1479
  if (!s) {
1471
1480
  s = !0, a();
1472
1481
  const l = u instanceof Error ? u : this.reason;
1473
- r.abort(l instanceof M ? l : new rt(l instanceof Error ? l.message : l));
1482
+ r.abort(l instanceof M ? l : new st(l instanceof Error ? l.message : l));
1474
1483
  }
1475
1484
  };
1476
1485
  let i = t && setTimeout(() => {
@@ -1485,7 +1494,7 @@ const Bs = (e) => {
1485
1494
  const { signal: c } = r;
1486
1495
  return c.unsubscribe = () => h.asap(a), c;
1487
1496
  }
1488
- }, ya = function* (e, t) {
1497
+ }, Na = function* (e, t) {
1489
1498
  let n = e.byteLength;
1490
1499
  if (n < t) {
1491
1500
  yield e;
@@ -1494,10 +1503,10 @@ const Bs = (e) => {
1494
1503
  let r = 0, s;
1495
1504
  for (; r < n; )
1496
1505
  s = r + t, yield e.slice(r, s), r = s;
1497
- }, Na = async function* (e, t) {
1498
- for await (const n of Oa(e))
1499
- yield* ya(n, t);
1500
- }, Oa = async function* (e) {
1506
+ }, Oa = async function* (e, t) {
1507
+ for await (const n of Sa(e))
1508
+ yield* Na(n, t);
1509
+ }, Sa = async function* (e) {
1501
1510
  if (e[Symbol.asyncIterator]) {
1502
1511
  yield* e;
1503
1512
  return;
@@ -1514,7 +1523,7 @@ const Bs = (e) => {
1514
1523
  await t.cancel();
1515
1524
  }
1516
1525
  }, Ir = (e, t, n, r) => {
1517
- const s = Na(e, t);
1526
+ const s = Oa(e, t);
1518
1527
  let o = 0, i, a = (c) => {
1519
1528
  i || (i = !0, r && r(c));
1520
1529
  };
@@ -1542,7 +1551,7 @@ const Bs = (e) => {
1542
1551
  }, {
1543
1552
  highWaterMark: 2
1544
1553
  });
1545
- }, Pr = 64 * 1024, { isFunction: At } = h, Sa = (({ Request: e, Response: t }) => ({
1554
+ }, Pr = 64 * 1024, { isFunction: At } = h, Ta = (({ Request: e, Response: t }) => ({
1546
1555
  Request: e,
1547
1556
  Response: t
1548
1557
  }))(h.global), {
@@ -1554,10 +1563,10 @@ const Bs = (e) => {
1554
1563
  } catch {
1555
1564
  return !1;
1556
1565
  }
1557
- }, Ta = (e) => {
1566
+ }, La = (e) => {
1558
1567
  e = h.merge.call({
1559
1568
  skipUndefined: !0
1560
- }, Sa, e);
1569
+ }, Ta, e);
1561
1570
  const { fetch: t, Request: n, Response: r } = e, s = t ? At(t) : typeof fetch == "function", o = At(n), i = At(r);
1562
1571
  if (!s)
1563
1572
  return !1;
@@ -1614,9 +1623,9 @@ const Bs = (e) => {
1614
1623
  headers: x,
1615
1624
  withCredentials: U = "same-origin",
1616
1625
  fetchOptions: I
1617
- } = Bs(E), P = t || fetch;
1626
+ } = Ws(E), P = t || fetch;
1618
1627
  _ = _ ? (_ + "").toLowerCase() : "text";
1619
- let k = ba([N, T && T.toAbortSignal()], y), W = null;
1628
+ let k = ya([N, T && T.toAbortSignal()], y), W = null;
1620
1629
  const ne = k && k.unsubscribe && (() => {
1621
1630
  k.unsubscribe();
1622
1631
  });
@@ -1631,7 +1640,7 @@ const Bs = (e) => {
1631
1640
  if (h.isFormData(m) && (ye = ce.headers.get("content-type")) && x.setContentType(ye), ce.body) {
1632
1641
  const [Me, De] = vr(
1633
1642
  be,
1634
- jt(Cr(R))
1643
+ Bt(Cr(R))
1635
1644
  );
1636
1645
  m = Ir(ce.body, Pr, Me, De);
1637
1646
  }
@@ -1656,7 +1665,7 @@ const Bs = (e) => {
1656
1665
  });
1657
1666
  const ye = h.toFiniteNumber(Z.headers.get("content-length")), [Me, De] = C && vr(
1658
1667
  ye,
1659
- jt(Cr(C), !0)
1668
+ Bt(Cr(C), !0)
1660
1669
  ) || [];
1661
1670
  Z = new r(
1662
1671
  Ir(Z.body, Pr, Me, () => {
@@ -1668,7 +1677,7 @@ const Bs = (e) => {
1668
1677
  _ = _ || "text";
1669
1678
  let _e = await p[h.findKey(p, _) || "text"](Z, E);
1670
1679
  return !Q && ne && ne(), await new Promise((ce, ye) => {
1671
- $s(ce, ye, {
1680
+ js(ce, ye, {
1672
1681
  data: _e,
1673
1682
  headers: fe.from(Z.headers),
1674
1683
  status: Z.status,
@@ -1686,24 +1695,24 @@ const Bs = (e) => {
1686
1695
  ) : M.from(se, se && se.code, E, W);
1687
1696
  }
1688
1697
  };
1689
- }, La = /* @__PURE__ */ new Map(), Hs = (e) => {
1698
+ }, Aa = /* @__PURE__ */ new Map(), qs = (e) => {
1690
1699
  let t = e && e.env || {};
1691
1700
  const { fetch: n, Request: r, Response: s } = t, o = [
1692
1701
  r,
1693
1702
  s,
1694
1703
  n
1695
1704
  ];
1696
- let i = o.length, a = i, c, u, l = La;
1705
+ let i = o.length, a = i, c, u, l = Aa;
1697
1706
  for (; a--; )
1698
- c = o[a], u = l.get(c), u === void 0 && l.set(c, u = a ? /* @__PURE__ */ new Map() : Ta(t)), l = u;
1707
+ c = o[a], u = l.get(c), u === void 0 && l.set(c, u = a ? /* @__PURE__ */ new Map() : La(t)), l = u;
1699
1708
  return u;
1700
1709
  };
1701
- Hs();
1710
+ qs();
1702
1711
  const sr = {
1703
- http: Bi,
1704
- xhr: ga,
1712
+ http: Hi,
1713
+ xhr: ba,
1705
1714
  fetch: {
1706
- get: Hs
1715
+ get: qs
1707
1716
  }
1708
1717
  };
1709
1718
  h.forEach(sr, (e, t) => {
@@ -1715,8 +1724,8 @@ h.forEach(sr, (e, t) => {
1715
1724
  Object.defineProperty(e, "adapterName", { value: t });
1716
1725
  }
1717
1726
  });
1718
- const Fr = (e) => `- ${e}`, Aa = (e) => h.isFunction(e) || e === null || e === !1;
1719
- function va(e, t) {
1727
+ const Fr = (e) => `- ${e}`, va = (e) => h.isFunction(e) || e === null || e === !1;
1728
+ function Ca(e, t) {
1720
1729
  e = h.isArray(e) ? e : [e];
1721
1730
  const { length: n } = e;
1722
1731
  let r, s;
@@ -1724,7 +1733,7 @@ function va(e, t) {
1724
1733
  for (let i = 0; i < n; i++) {
1725
1734
  r = e[i];
1726
1735
  let a;
1727
- if (s = r, !Aa(r) && (s = sr[(a = String(r)).toLowerCase()], s === void 0))
1736
+ if (s = r, !va(r) && (s = sr[(a = String(r)).toLowerCase()], s === void 0))
1728
1737
  throw new M(`Unknown adapter '${a}'`);
1729
1738
  if (s && (h.isFunction(s) || (s = s.get(t))))
1730
1739
  break;
@@ -1744,12 +1753,12 @@ function va(e, t) {
1744
1753
  }
1745
1754
  return s;
1746
1755
  }
1747
- const Ws = {
1756
+ const Gs = {
1748
1757
  /**
1749
1758
  * Resolve an adapter from a list of adapter names or functions.
1750
1759
  * @type {Function}
1751
1760
  */
1752
- getAdapter: va,
1761
+ getAdapter: Ca,
1753
1762
  /**
1754
1763
  * Exposes all known adapters
1755
1764
  * @type {Object<string, Function|Object>}
@@ -1758,27 +1767,27 @@ const Ws = {
1758
1767
  };
1759
1768
  function Nn(e) {
1760
1769
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1761
- throw new rt(null, e);
1770
+ throw new st(null, e);
1762
1771
  }
1763
1772
  function Ur(e) {
1764
1773
  return Nn(e), e.headers = fe.from(e.headers), e.data = yn.call(
1765
1774
  e,
1766
1775
  e.transformRequest
1767
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Ws.getAdapter(e.adapter || Ot.adapter, e)(e).then(function(r) {
1776
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Gs.getAdapter(e.adapter || Ot.adapter, e)(e).then(function(r) {
1768
1777
  return Nn(e), r.data = yn.call(
1769
1778
  e,
1770
1779
  e.transformResponse,
1771
1780
  r
1772
1781
  ), r.headers = fe.from(r.headers), r;
1773
1782
  }, function(r) {
1774
- return Vs(r) || (Nn(e), r && r.response && (r.response.data = yn.call(
1783
+ return Bs(r) || (Nn(e), r && r.response && (r.response.data = yn.call(
1775
1784
  e,
1776
1785
  e.transformResponse,
1777
1786
  r.response
1778
1787
  ), r.response.headers = fe.from(r.response.headers))), Promise.reject(r);
1779
1788
  });
1780
1789
  }
1781
- const qs = "1.13.2", tn = {};
1790
+ const Ys = "1.13.2", tn = {};
1782
1791
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1783
1792
  tn[e] = function(r) {
1784
1793
  return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -1787,7 +1796,7 @@ const qs = "1.13.2", tn = {};
1787
1796
  const Mr = {};
1788
1797
  tn.transitional = function(t, n, r) {
1789
1798
  function s(o, i) {
1790
- return "[Axios v" + qs + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1799
+ return "[Axios v" + Ys + "] Transitional option '" + o + "'" + i + (r ? ". " + r : "");
1791
1800
  }
1792
1801
  return (o, i, a) => {
1793
1802
  if (t === !1)
@@ -1806,7 +1815,7 @@ tn.transitional = function(t, n, r) {
1806
1815
  tn.spelling = function(t) {
1807
1816
  return (n, r) => (console.warn(`${r} is likely a misspelling of ${t}`), !0);
1808
1817
  };
1809
- function Ca(e, t, n) {
1818
+ function Ra(e, t, n) {
1810
1819
  if (typeof e != "object")
1811
1820
  throw new M("options must be an object", M.ERR_BAD_OPTION_VALUE);
1812
1821
  const r = Object.keys(e);
@@ -1824,7 +1833,7 @@ function Ca(e, t, n) {
1824
1833
  }
1825
1834
  }
1826
1835
  const Dt = {
1827
- assertOptions: Ca,
1836
+ assertOptions: Ra,
1828
1837
  validators: tn
1829
1838
  }, Ne = Dt.validators;
1830
1839
  let We = class {
@@ -1923,8 +1932,8 @@ let We = class {
1923
1932
  }
1924
1933
  getUri(t) {
1925
1934
  t = Ge(this.defaults, t);
1926
- const n = js(t.baseURL, t.url, t.allowAbsoluteUrls);
1927
- return Us(n, t.params, t.paramsSerializer);
1935
+ const n = Hs(t.baseURL, t.url, t.allowAbsoluteUrls);
1936
+ return xs(n, t.params, t.paramsSerializer);
1928
1937
  }
1929
1938
  };
1930
1939
  h.forEach(["delete", "get", "head", "options"], function(t) {
@@ -1951,7 +1960,7 @@ h.forEach(["post", "put", "patch"], function(t) {
1951
1960
  }
1952
1961
  We.prototype[t] = n(), We.prototype[t + "Form"] = n(!0);
1953
1962
  });
1954
- let Ra = class Gs {
1963
+ let Ia = class Ks {
1955
1964
  constructor(t) {
1956
1965
  if (typeof t != "function")
1957
1966
  throw new TypeError("executor must be a function.");
@@ -1975,7 +1984,7 @@ let Ra = class Gs {
1975
1984
  r.unsubscribe(o);
1976
1985
  }, i;
1977
1986
  }, t(function(o, i, a) {
1978
- r.reason || (r.reason = new rt(o, i, a), n(r.reason));
1987
+ r.reason || (r.reason = new st(o, i, a), n(r.reason));
1979
1988
  });
1980
1989
  }
1981
1990
  /**
@@ -2017,19 +2026,19 @@ let Ra = class Gs {
2017
2026
  static source() {
2018
2027
  let t;
2019
2028
  return {
2020
- token: new Gs(function(s) {
2029
+ token: new Ks(function(s) {
2021
2030
  t = s;
2022
2031
  }),
2023
2032
  cancel: t
2024
2033
  };
2025
2034
  }
2026
2035
  };
2027
- function Ia(e) {
2036
+ function Pa(e) {
2028
2037
  return function(n) {
2029
2038
  return e.apply(null, n);
2030
2039
  };
2031
2040
  }
2032
- function Pa(e) {
2041
+ function wa(e) {
2033
2042
  return h.isObject(e) && e.isAxiosError === !0;
2034
2043
  }
2035
2044
  const kn = {
@@ -2106,103 +2115,103 @@ const kn = {
2106
2115
  Object.entries(kn).forEach(([e, t]) => {
2107
2116
  kn[t] = e;
2108
2117
  });
2109
- function Ys(e) {
2110
- const t = new We(e), n = Ts(We.prototype.request, t);
2118
+ function Xs(e) {
2119
+ const t = new We(e), n = As(We.prototype.request, t);
2111
2120
  return h.extend(n, We.prototype, t, { allOwnKeys: !0 }), h.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
2112
- return Ys(Ge(e, s));
2121
+ return Xs(Ge(e, s));
2113
2122
  }, n;
2114
2123
  }
2115
- const z = Ys(Ot);
2124
+ const z = Xs(Ot);
2116
2125
  z.Axios = We;
2117
- z.CanceledError = rt;
2118
- z.CancelToken = Ra;
2119
- z.isCancel = Vs;
2120
- z.VERSION = qs;
2126
+ z.CanceledError = st;
2127
+ z.CancelToken = Ia;
2128
+ z.isCancel = Bs;
2129
+ z.VERSION = Ys;
2121
2130
  z.toFormData = en;
2122
2131
  z.AxiosError = M;
2123
2132
  z.Cancel = z.CanceledError;
2124
2133
  z.all = function(t) {
2125
2134
  return Promise.all(t);
2126
2135
  };
2127
- z.spread = Ia;
2128
- z.isAxiosError = Pa;
2136
+ z.spread = Pa;
2137
+ z.isAxiosError = wa;
2129
2138
  z.mergeConfig = Ge;
2130
2139
  z.AxiosHeaders = fe;
2131
- z.formToJSON = (e) => xs(h.isHTMLForm(e) ? new FormData(e) : e);
2132
- z.getAdapter = Ws.getAdapter;
2140
+ z.formToJSON = (e) => $s(h.isHTMLForm(e) ? new FormData(e) : e);
2141
+ z.getAdapter = Gs.getAdapter;
2133
2142
  z.HttpStatusCode = kn;
2134
2143
  z.default = z;
2135
2144
  const {
2136
- Axios: Vu,
2137
- AxiosError: $u,
2145
+ Axios: $u,
2146
+ AxiosError: Bu,
2138
2147
  CanceledError: ju,
2139
- isCancel: Bu,
2140
- CancelToken: Hu,
2141
- VERSION: Wu,
2142
- all: qu,
2143
- Cancel: Gu,
2144
- isAxiosError: Yu,
2145
- spread: Ku,
2146
- toFormData: Xu,
2147
- AxiosHeaders: Ju,
2148
+ isCancel: Hu,
2149
+ CancelToken: Wu,
2150
+ VERSION: qu,
2151
+ all: Gu,
2152
+ Cancel: Yu,
2153
+ isAxiosError: Ku,
2154
+ spread: Xu,
2155
+ toFormData: Ju,
2156
+ AxiosHeaders: zu,
2148
2157
  HttpStatusCode: xr,
2149
- formToJSON: zu,
2150
- getAdapter: Qu,
2151
- mergeConfig: Zu
2158
+ formToJSON: Qu,
2159
+ getAdapter: Zu,
2160
+ mergeConfig: ef
2152
2161
  } = z;
2153
- let Bt = null;
2154
- function ef(e) {
2155
- if (Bt !== null) {
2162
+ let jt = null;
2163
+ function tf(e) {
2164
+ if (jt !== null) {
2156
2165
  console.warn(
2157
2166
  "[LinID CoreLib] HTTP client has already been initialized. Re-initialization is ignored."
2158
2167
  );
2159
2168
  return;
2160
2169
  }
2161
- Bt = e;
2170
+ jt = e;
2162
2171
  }
2163
2172
  function Ie() {
2164
- if (Bt === null)
2173
+ if (jt === null)
2165
2174
  throw new Error(
2166
2175
  "[LinID CoreLib] HTTP client is not initialized. Call setHttpClient() first."
2167
2176
  );
2168
- return Bt;
2177
+ return jt;
2169
2178
  }
2170
- const Ks = /* @__PURE__ */ new Map();
2171
- function tf(e) {
2172
- Ks.set(e.instanceId, e);
2179
+ const Js = /* @__PURE__ */ new Map();
2180
+ function nf(e) {
2181
+ Js.set(e.instanceId, e);
2173
2182
  }
2174
- function st(e) {
2175
- const t = Ks.get(e);
2183
+ function ot(e) {
2184
+ const t = Js.get(e);
2176
2185
  if (!t)
2177
2186
  throw new Error(
2178
2187
  `[LinID CoreLib] No module host configuration found for instanceId: ${e}`
2179
2188
  );
2180
2189
  return t;
2181
2190
  }
2182
- async function nf(e, t) {
2183
- const n = st(e);
2191
+ async function rf(e, t) {
2192
+ const n = ot(e);
2184
2193
  return Ie().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
2185
2194
  }
2186
- async function rf(e, t, n) {
2187
- const r = st(e);
2195
+ async function sf(e, t, n) {
2196
+ const r = ot(e);
2188
2197
  return Ie().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: s }) => s);
2189
2198
  }
2190
- async function sf(e, t, n) {
2191
- const r = st(e);
2199
+ async function of(e, t, n) {
2200
+ const r = ot(e);
2192
2201
  return Ie().get(`/${r.apiEndpoint}`, {
2193
2202
  params: { ...t, ...n }
2194
2203
  }).then(({ data: s }) => s);
2195
2204
  }
2196
- async function of(e, t) {
2197
- const n = st(e);
2205
+ async function af(e, t) {
2206
+ const n = ot(e);
2198
2207
  return Ie().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
2199
2208
  }
2200
- async function af(e, t) {
2201
- const n = st(e);
2209
+ async function cf(e, t) {
2210
+ const n = ot(e);
2202
2211
  return Ie().delete(`/${n.apiEndpoint}/${t}`);
2203
2212
  }
2204
- async function wa(e, t, n) {
2205
- const r = st(e);
2213
+ async function Da(e, t, n) {
2214
+ const r = ot(e);
2206
2215
  await Ie().post(
2207
2216
  `/${r.apiEndpoint}/validate/${t}`,
2208
2217
  n,
@@ -2213,7 +2222,7 @@ function Le(e, t) {
2213
2222
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
2214
2223
  }
2215
2224
  const Vr = {};
2216
- function Da(e) {
2225
+ function ka(e) {
2217
2226
  Vr[e] || (Vr[e] = !0, Le(e));
2218
2227
  }
2219
2228
  const Re = typeof window < "u";
@@ -2227,21 +2236,21 @@ if (process.env.NODE_ENV !== "production") {
2227
2236
  e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
2228
2237
  });
2229
2238
  }
2230
- const ka = /\{([0-9a-zA-Z]+)\}/g;
2239
+ const Fa = /\{([0-9a-zA-Z]+)\}/g;
2231
2240
  function nn(e, ...t) {
2232
- return t.length === 1 && j(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ka, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
2241
+ return t.length === 1 && B(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(Fa, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
2233
2242
  }
2234
- const Pe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Fa = (e, t, n) => Ua({ l: e, k: t, s: n }), Ua = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), Ma = (e) => or(e) === "[object Date]", Ht = (e) => or(e) === "[object RegExp]", rn = (e) => $(e) && Object.keys(e).length === 0, te = Object.assign, xa = Object.create, H = (e = null) => xa(e);
2243
+ const Pe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Ua = (e, t, n) => Ma({ l: e, k: t, s: n }), Ma = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), xa = (e) => or(e) === "[object Date]", Ht = (e) => or(e) === "[object RegExp]", rn = (e) => $(e) && Object.keys(e).length === 0, te = Object.assign, Va = Object.create, H = (e = null) => Va(e);
2235
2244
  let $r;
2236
2245
  const He = () => $r || ($r = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : H());
2237
- function jr(e) {
2246
+ function Br(e) {
2238
2247
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
2239
2248
  }
2240
- function Br(e) {
2249
+ function jr(e) {
2241
2250
  return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
2242
2251
  }
2243
- function Va(e) {
2244
- return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, o) => `${s}="${Br(o)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, o) => `${s}='${Br(o)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && Le("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [
2252
+ function $a(e) {
2253
+ return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, o) => `${s}="${jr(o)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, o) => `${s}='${jr(o)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && Le("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."), e = e.replace(/(\s+)(on)(\w+\s*=)/gi, "$1&#111;n$3")), [
2245
2254
  // In href, src, action, formaction attributes
2246
2255
  /(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
2247
2256
  // In style attributes within url()
@@ -2250,16 +2259,16 @@ function Va(e) {
2250
2259
  e = e.replace(r, "$1javascript&#58;");
2251
2260
  }), e;
2252
2261
  }
2253
- const $a = Object.prototype.hasOwnProperty;
2262
+ const Ba = Object.prototype.hasOwnProperty;
2254
2263
  function he(e, t) {
2255
- return $a.call(e, t);
2264
+ return Ba.call(e, t);
2256
2265
  }
2257
- const J = Array.isArray, G = (e) => typeof e == "function", w = (e) => typeof e == "string", X = (e) => typeof e == "boolean", j = (e) => e !== null && typeof e == "object", ja = (e) => j(e) && G(e.then) && G(e.catch), Xs = Object.prototype.toString, or = (e) => Xs.call(e), $ = (e) => or(e) === "[object Object]", Ba = (e) => e == null ? "" : J(e) || $(e) && e.toString === Xs ? JSON.stringify(e, null, 2) : String(e);
2266
+ const J = Array.isArray, G = (e) => typeof e == "function", w = (e) => typeof e == "string", X = (e) => typeof e == "boolean", B = (e) => e !== null && typeof e == "object", ja = (e) => B(e) && G(e.then) && G(e.catch), zs = Object.prototype.toString, or = (e) => zs.call(e), $ = (e) => or(e) === "[object Object]", Ha = (e) => e == null ? "" : J(e) || $(e) && e.toString === zs ? JSON.stringify(e, null, 2) : String(e);
2258
2267
  function ir(e, t = "") {
2259
2268
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
2260
2269
  }
2261
2270
  const Hr = 2;
2262
- function Ha(e, t = 0, n = e.length) {
2271
+ function Wa(e, t = 0, n = e.length) {
2263
2272
  const r = e.split(/\r?\n/);
2264
2273
  let s = 0;
2265
2274
  const o = [];
@@ -2287,7 +2296,7 @@ function Ha(e, t = 0, n = e.length) {
2287
2296
  return o.join(`
2288
2297
  `);
2289
2298
  }
2290
- function Wa() {
2299
+ function qa() {
2291
2300
  const e = /* @__PURE__ */ new Map();
2292
2301
  return {
2293
2302
  events: e,
@@ -2304,7 +2313,7 @@ function Wa() {
2304
2313
  }
2305
2314
  };
2306
2315
  }
2307
- const vt = (e) => !j(e) || J(e);
2316
+ const vt = (e) => !B(e) || J(e);
2308
2317
  function kt(e, t) {
2309
2318
  if (vt(e) || vt(t))
2310
2319
  throw new Error("Invalid value");
@@ -2312,11 +2321,11 @@ function kt(e, t) {
2312
2321
  for (; n.length; ) {
2313
2322
  const { src: r, des: s } = n.pop();
2314
2323
  Object.keys(r).forEach((o) => {
2315
- o !== "__proto__" && (j(r[o]) && !j(s[o]) && (s[o] = Array.isArray(r[o]) ? [] : H()), vt(s[o]) || vt(r[o]) ? s[o] = r[o] : n.push({ src: r[o], des: s[o] }));
2324
+ o !== "__proto__" && (B(r[o]) && !B(s[o]) && (s[o] = Array.isArray(r[o]) ? [] : H()), vt(s[o]) || vt(r[o]) ? s[o] = r[o] : n.push({ src: r[o], des: s[o] }));
2316
2325
  });
2317
2326
  }
2318
2327
  }
2319
- function qa(e, t, n) {
2328
+ function Ga(e, t, n) {
2320
2329
  return { line: e, column: t, offset: n };
2321
2330
  }
2322
2331
  function Fn(e, t, n) {
@@ -2343,7 +2352,7 @@ const F = {
2343
2352
  UNHANDLED_CODEGEN_NODE_TYPE: 15,
2344
2353
  // minifier error codes
2345
2354
  UNHANDLED_MINIFIER_NODE_TYPE: 16
2346
- }, Ga = 17, Ya = {
2355
+ }, Ya = 17, Ka = {
2347
2356
  // tokenizer error messages
2348
2357
  [F.EXPECTED_TOKEN]: "Expected token: '{0}'",
2349
2358
  [F.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
@@ -2365,19 +2374,19 @@ const F = {
2365
2374
  // minimizer error messages
2366
2375
  [F.UNHANDLED_MINIFIER_NODE_TYPE]: "unhandled mimifier node type: '{0}'"
2367
2376
  };
2368
- function ot(e, t, n = {}) {
2369
- const { domain: r, messages: s, args: o } = n, i = process.env.NODE_ENV !== "production" ? nn((s || Ya)[e] || "", ...o || []) : e, a = new SyntaxError(String(i));
2377
+ function it(e, t, n = {}) {
2378
+ const { domain: r, messages: s, args: o } = n, i = process.env.NODE_ENV !== "production" ? nn((s || Ka)[e] || "", ...o || []) : e, a = new SyntaxError(String(i));
2370
2379
  return a.code = e, t && (a.location = t), a.domain = r, a;
2371
2380
  }
2372
- function Ka(e) {
2381
+ function Xa(e) {
2373
2382
  throw e;
2374
2383
  }
2375
- const Xa = /<\/?[\w\s="/.':;#-\/]+>/, Ja = (e) => Xa.test(e), Oe = " ", za = "\r", oe = `
2376
- `, Qa = "\u2028", Za = "\u2029";
2377
- function ec(e) {
2384
+ const Ja = /<\/?[\w\s="/.':;#-\/]+>/, za = (e) => Ja.test(e), Oe = " ", Qa = "\r", oe = `
2385
+ `, Za = "\u2028", ec = "\u2029";
2386
+ function tc(e) {
2378
2387
  const t = e;
2379
2388
  let n = 0, r = 1, s = 1, o = 0;
2380
- const i = (_) => t[_] === za && t[_ + 1] === oe, a = (_) => t[_] === oe, c = (_) => t[_] === Za, u = (_) => t[_] === Qa, l = (_) => i(_) || a(_) || c(_) || u(_), p = () => n, g = () => r, A = () => s, E = () => o, b = (_) => i(_) || c(_) || u(_) ? oe : t[_], S = () => b(n), m = () => b(n + o);
2389
+ const i = (_) => t[_] === Qa && t[_ + 1] === oe, a = (_) => t[_] === oe, c = (_) => t[_] === ec, u = (_) => t[_] === Za, l = (_) => i(_) || a(_) || c(_) || u(_), p = () => n, g = () => r, A = () => s, E = () => o, b = (_) => i(_) || c(_) || u(_) ? oe : t[_], S = () => b(n), m = () => b(n + o);
2381
2390
  function N() {
2382
2391
  return o = 0, l(n) && (r++, s = 0), i(n) && n++, n++, s++, t[n];
2383
2392
  }
@@ -2411,9 +2420,9 @@ function ec(e) {
2411
2420
  skipToPeek: R
2412
2421
  };
2413
2422
  }
2414
- const Ae = void 0, tc = ".", Wr = "'", nc = "tokenizer";
2415
- function rc(e, t = {}) {
2416
- const n = t.location !== !1, r = ec(e), s = () => r.index(), o = () => qa(r.line(), r.column(), r.index()), i = o(), a = s(), c = {
2423
+ const Ae = void 0, nc = ".", Wr = "'", rc = "tokenizer";
2424
+ function sc(e, t = {}) {
2425
+ const n = t.location !== !1, r = tc(e), s = () => r.index(), o = () => Ga(r.line(), r.column(), r.index()), i = o(), a = s(), c = {
2417
2426
  currentType: 13,
2418
2427
  offset: a,
2419
2428
  startLoc: i,
@@ -2429,8 +2438,8 @@ function rc(e, t = {}) {
2429
2438
  function p(f, d, L, ...D) {
2430
2439
  const q = u();
2431
2440
  if (d.column += L, d.offset += L, l) {
2432
- const Y = n ? Fn(q.startLoc, d) : null, V = ot(f, Y, {
2433
- domain: nc,
2441
+ const Y = n ? Fn(q.startLoc, d) : null, V = it(f, Y, {
2442
+ domain: rc,
2434
2443
  args: D
2435
2444
  });
2436
2445
  l(V);
@@ -2689,7 +2698,7 @@ function rc(e, t = {}) {
2689
2698
  };
2690
2699
  return d("");
2691
2700
  }
2692
- function it(f) {
2701
+ function at(f) {
2693
2702
  S(f);
2694
2703
  const d = E(
2695
2704
  f,
@@ -2698,7 +2707,7 @@ function rc(e, t = {}) {
2698
2707
  );
2699
2708
  return S(f), d;
2700
2709
  }
2701
- function at(f, d) {
2710
+ function ct(f, d) {
2702
2711
  let L = null;
2703
2712
  switch (f.currentChar()) {
2704
2713
  case "{":
@@ -2720,9 +2729,9 @@ function rc(e, t = {}) {
2720
2729
  default: {
2721
2730
  let q = !0, Y = !0, V = !0;
2722
2731
  if (I(f))
2723
- return d.braceNest > 0 && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), L = g(d, 1, it(f)), d.braceNest = 0, d.inLinked = !1, L;
2732
+ return d.braceNest > 0 && p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), L = g(d, 1, at(f)), d.braceNest = 0, d.inLinked = !1, L;
2724
2733
  if (d.braceNest > 0 && (d.currentType === 4 || d.currentType === 5 || d.currentType === 6))
2725
- return p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), d.braceNest = 0, ct(f, d);
2734
+ return p(F.UNTERMINATED_CLOSING_BRACE, o(), 0), d.braceNest = 0, lt(f, d);
2726
2735
  if (q = T(f, d))
2727
2736
  return L = g(d, 4, Me(f)), S(f), L;
2728
2737
  if (Y = y(f, d))
@@ -2763,21 +2772,21 @@ function rc(e, t = {}) {
2763
2772
  /* TokenChars.LinkedDelimiter */
2764
2773
  );
2765
2774
  default:
2766
- return I(f) ? (D = g(d, 1, it(f)), d.braceNest = 0, d.inLinked = !1, D) : R(f, d) || x(f, d) ? (S(f), xe(f, d)) : _(f, d) ? (S(f), g(d, 11, dn(f))) : U(f, d) ? (S(f), q === "{" ? at(f, d) || D : g(d, 10, pn(f))) : (L === 7 && p(F.INVALID_LINKED_FORMAT, o(), 0), d.braceNest = 0, d.inLinked = !1, ct(f, d));
2775
+ return I(f) ? (D = g(d, 1, at(f)), d.braceNest = 0, d.inLinked = !1, D) : R(f, d) || x(f, d) ? (S(f), xe(f, d)) : _(f, d) ? (S(f), g(d, 11, dn(f))) : U(f, d) ? (S(f), q === "{" ? ct(f, d) || D : g(d, 10, pn(f))) : (L === 7 && p(F.INVALID_LINKED_FORMAT, o(), 0), d.braceNest = 0, d.inLinked = !1, lt(f, d));
2767
2776
  }
2768
2777
  }
2769
- function ct(f, d) {
2778
+ function lt(f, d) {
2770
2779
  let L = {
2771
2780
  type: 13
2772
2781
  /* TokenTypes.EOF */
2773
2782
  };
2774
2783
  if (d.braceNest > 0)
2775
- return at(f, d) || A(d);
2784
+ return ct(f, d) || A(d);
2776
2785
  if (d.inLinked)
2777
2786
  return xe(f, d) || A(d);
2778
2787
  switch (f.currentChar()) {
2779
2788
  case "{":
2780
- return at(f, d) || A(d);
2789
+ return ct(f, d) || A(d);
2781
2790
  case "}":
2782
2791
  return p(F.UNBALANCED_CLOSING_BRACE, o(), 0), f.next(), g(
2783
2792
  d,
@@ -2789,7 +2798,7 @@ function rc(e, t = {}) {
2789
2798
  return xe(f, d) || A(d);
2790
2799
  default: {
2791
2800
  if (I(f))
2792
- return L = g(d, 1, it(f)), d.braceNest = 0, d.inLinked = !1, L;
2801
+ return L = g(d, 1, at(f)), d.braceNest = 0, d.inLinked = !1, L;
2793
2802
  if (P(f))
2794
2803
  return g(d, 0, ye(f));
2795
2804
  break;
@@ -2803,7 +2812,7 @@ function rc(e, t = {}) {
2803
2812
  c,
2804
2813
  13
2805
2814
  /* TokenTypes.EOF */
2806
- ) : ct(r, c);
2815
+ ) : lt(r, c);
2807
2816
  }
2808
2817
  return {
2809
2818
  nextToken: mn,
@@ -2812,8 +2821,8 @@ function rc(e, t = {}) {
2812
2821
  context: u
2813
2822
  };
2814
2823
  }
2815
- const sc = "parser", oc = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
2816
- function ic(e, t, n) {
2824
+ const oc = "parser", ic = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
2825
+ function ac(e, t, n) {
2817
2826
  switch (e) {
2818
2827
  case "\\\\":
2819
2828
  return "\\";
@@ -2826,13 +2835,13 @@ function ic(e, t, n) {
2826
2835
  }
2827
2836
  }
2828
2837
  }
2829
- function ac(e = {}) {
2838
+ function cc(e = {}) {
2830
2839
  const t = e.location !== !1, { onError: n } = e;
2831
2840
  function r(m, N, T, y, ...C) {
2832
2841
  const R = m.currentPosition();
2833
2842
  if (R.offset += y, R.column += y, n) {
2834
- const _ = t ? Fn(T, R) : null, x = ot(N, _, {
2835
- domain: sc,
2843
+ const _ = t ? Fn(T, R) : null, x = it(N, _, {
2844
+ domain: oc,
2836
2845
  args: C
2837
2846
  });
2838
2847
  n(x);
@@ -2859,7 +2868,7 @@ function ac(e = {}) {
2859
2868
  }
2860
2869
  function u(m, N) {
2861
2870
  const T = m.context(), { lastOffset: y, lastStartLoc: C } = T, R = s(9, y, C);
2862
- return R.value = N.replace(oc, ic), m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
2871
+ return R.value = N.replace(ic, ac), m.nextToken(), o(R, m.currentOffset(), m.currentPosition()), R;
2863
2872
  }
2864
2873
  function l(m) {
2865
2874
  const N = m.nextToken(), T = m.context(), { lastOffset: y, lastStartLoc: C } = T, R = s(8, y, C);
@@ -2952,7 +2961,7 @@ function ac(e = {}) {
2952
2961
  return N.currentType === 13 ? C : E(m, T, y, C);
2953
2962
  }
2954
2963
  function S(m) {
2955
- const N = rc(m, te({}, e)), T = N.context(), y = s(0, T.offset, T.startLoc);
2964
+ const N = sc(m, te({}, e)), T = N.context(), y = s(0, T.offset, T.startLoc);
2956
2965
  return t && y.loc && (y.loc.source = m), y.body = b(N), e.onCacheKey && (y.cacheKey = e.onCacheKey(m)), T.currentType !== 13 && r(N, F.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, m[T.offset] || ""), o(y, N.currentOffset(), N.currentPosition()), y;
2957
2966
  }
2958
2967
  return { parse: S };
@@ -2963,7 +2972,7 @@ function Se(e) {
2963
2972
  const t = (e.value || "").replace(/\r?\n/gu, "\\n");
2964
2973
  return t.length > 10 ? t.slice(0, 9) + "…" : t;
2965
2974
  }
2966
- function cc(e, t = {}) {
2975
+ function lc(e, t = {}) {
2967
2976
  const n = {
2968
2977
  ast: e,
2969
2978
  helpers: /* @__PURE__ */ new Set()
@@ -3015,8 +3024,8 @@ function ar(e, t) {
3015
3024
  break;
3016
3025
  }
3017
3026
  }
3018
- function lc(e, t = {}) {
3019
- const n = cc(e);
3027
+ function uc(e, t = {}) {
3028
+ const n = lc(e);
3020
3029
  n.helper(
3021
3030
  "normalize"
3022
3031
  /* HelperNameMap.NORMALIZE */
@@ -3024,7 +3033,7 @@ function lc(e, t = {}) {
3024
3033
  const r = n.context();
3025
3034
  e.helpers = Array.from(r.helpers);
3026
3035
  }
3027
- function uc(e) {
3036
+ function fc(e) {
3028
3037
  const t = e.body;
3029
3038
  return t.type === 2 ? Gr(t) : t.cases.forEach((n) => Gr(n)), e;
3030
3039
  }
@@ -3049,7 +3058,7 @@ function Gr(e) {
3049
3058
  }
3050
3059
  }
3051
3060
  }
3052
- const fc = "minifier";
3061
+ const dc = "minifier";
3053
3062
  function Qe(e) {
3054
3063
  switch (e.t = e.type, e.type) {
3055
3064
  case 0: {
@@ -3096,15 +3105,15 @@ function Qe(e) {
3096
3105
  }
3097
3106
  default:
3098
3107
  if (process.env.NODE_ENV !== "production")
3099
- throw ot(F.UNHANDLED_MINIFIER_NODE_TYPE, null, {
3100
- domain: fc,
3108
+ throw it(F.UNHANDLED_MINIFIER_NODE_TYPE, null, {
3109
+ domain: dc,
3101
3110
  args: [e.type]
3102
3111
  });
3103
3112
  }
3104
3113
  delete e.type;
3105
3114
  }
3106
- const dc = "parser";
3107
- function pc(e, t) {
3115
+ const pc = "parser";
3116
+ function mc(e, t) {
3108
3117
  const { filename: n, breakLineCode: r, needIndent: s } = t, o = t.location !== !1, i = {
3109
3118
  filename: n,
3110
3119
  code: "",
@@ -3146,25 +3155,25 @@ function pc(e, t) {
3146
3155
  needIndent: () => i.needIndent
3147
3156
  };
3148
3157
  }
3149
- function mc(e, t) {
3158
+ function _c(e, t) {
3150
3159
  const { helper: n } = e;
3151
3160
  e.push(`${n(
3152
3161
  "linked"
3153
3162
  /* HelperNameMap.LINKED */
3154
- )}(`), tt(e, t.key), t.modifier ? (e.push(", "), tt(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
3163
+ )}(`), nt(e, t.key), t.modifier ? (e.push(", "), nt(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
3155
3164
  }
3156
- function _c(e, t) {
3165
+ function hc(e, t) {
3157
3166
  const { helper: n, needIndent: r } = e;
3158
3167
  e.push(`${n(
3159
3168
  "normalize"
3160
3169
  /* HelperNameMap.NORMALIZE */
3161
3170
  )}([`), e.indent(r());
3162
3171
  const s = t.items.length;
3163
- for (let o = 0; o < s && (tt(e, t.items[o]), o !== s - 1); o++)
3172
+ for (let o = 0; o < s && (nt(e, t.items[o]), o !== s - 1); o++)
3164
3173
  e.push(", ");
3165
3174
  e.deindent(r()), e.push("])");
3166
3175
  }
3167
- function hc(e, t) {
3176
+ function Ec(e, t) {
3168
3177
  const { helper: n, needIndent: r } = e;
3169
3178
  if (t.cases.length > 1) {
3170
3179
  e.push(`${n(
@@ -3172,28 +3181,28 @@ function hc(e, t) {
3172
3181
  /* HelperNameMap.PLURAL */
3173
3182
  )}([`), e.indent(r());
3174
3183
  const s = t.cases.length;
3175
- for (let o = 0; o < s && (tt(e, t.cases[o]), o !== s - 1); o++)
3184
+ for (let o = 0; o < s && (nt(e, t.cases[o]), o !== s - 1); o++)
3176
3185
  e.push(", ");
3177
3186
  e.deindent(r()), e.push("])");
3178
3187
  }
3179
3188
  }
3180
- function Ec(e, t) {
3181
- t.body ? tt(e, t.body) : e.push("null");
3189
+ function gc(e, t) {
3190
+ t.body ? nt(e, t.body) : e.push("null");
3182
3191
  }
3183
- function tt(e, t) {
3192
+ function nt(e, t) {
3184
3193
  const { helper: n } = e;
3185
3194
  switch (t.type) {
3186
3195
  case 0:
3187
- Ec(e, t);
3196
+ gc(e, t);
3188
3197
  break;
3189
3198
  case 1:
3190
- hc(e, t);
3199
+ Ec(e, t);
3191
3200
  break;
3192
3201
  case 2:
3193
- _c(e, t);
3202
+ hc(e, t);
3194
3203
  break;
3195
3204
  case 6:
3196
- mc(e, t);
3205
+ _c(e, t);
3197
3206
  break;
3198
3207
  case 8:
3199
3208
  e.push(JSON.stringify(t.value), t);
@@ -3227,22 +3236,22 @@ function tt(e, t) {
3227
3236
  break;
3228
3237
  default:
3229
3238
  if (process.env.NODE_ENV !== "production")
3230
- throw ot(F.UNHANDLED_CODEGEN_NODE_TYPE, null, {
3231
- domain: dc,
3239
+ throw it(F.UNHANDLED_CODEGEN_NODE_TYPE, null, {
3240
+ domain: pc,
3232
3241
  args: [t.type]
3233
3242
  });
3234
3243
  }
3235
3244
  }
3236
- const gc = (e, t = {}) => {
3245
+ const bc = (e, t = {}) => {
3237
3246
  const n = w(t.mode) ? t.mode : "normal", r = w(t.filename) ? t.filename : "message.intl";
3238
3247
  t.sourceMap;
3239
3248
  const s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
3240
- `, o = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], a = pc(e, {
3249
+ `, o = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], a = mc(e, {
3241
3250
  filename: r,
3242
3251
  breakLineCode: s,
3243
3252
  needIndent: o
3244
3253
  });
3245
- a.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), a.indent(o), i.length > 0 && (a.push(`const { ${ir(i.map((l) => `${l}: _${l}`), ", ")} } = ctx`), a.newline()), a.push("return "), tt(a, e), a.deindent(o), a.push("}"), delete e.helpers;
3254
+ a.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), a.indent(o), i.length > 0 && (a.push(`const { ${ir(i.map((l) => `${l}: _${l}`), ", ")} } = ctx`), a.newline()), a.push("return "), nt(a, e), a.deindent(o), a.push("}"), delete e.helpers;
3246
3255
  const { code: c, map: u } = a.context();
3247
3256
  return {
3248
3257
  ast: e,
@@ -3251,50 +3260,50 @@ const gc = (e, t = {}) => {
3251
3260
  // eslint-disable-line @typescript-eslint/no-explicit-any
3252
3261
  };
3253
3262
  };
3254
- function bc(e, t = {}) {
3255
- const n = te({}, t), r = !!n.jit, s = !!n.minify, o = n.optimize == null ? !0 : n.optimize, a = ac(n).parse(e);
3256
- return r ? (o && uc(a), s && Qe(a), { ast: a, code: "" }) : (lc(a, n), gc(a, n));
3263
+ function yc(e, t = {}) {
3264
+ const n = te({}, t), r = !!n.jit, s = !!n.minify, o = n.optimize == null ? !0 : n.optimize, a = cc(n).parse(e);
3265
+ return r ? (o && fc(a), s && Qe(a), { ast: a, code: "" }) : (uc(a, n), bc(a, n));
3257
3266
  }
3258
- function yc() {
3267
+ function Nc() {
3259
3268
  typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (He().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (He().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
3260
3269
  }
3261
3270
  function Ee(e) {
3262
- return j(e) && cr(e) === 0 && (he(e, "b") || he(e, "body"));
3263
- }
3264
- const Js = ["b", "body"];
3265
- function Nc(e) {
3266
- return Fe(e, Js);
3271
+ return B(e) && cr(e) === 0 && (he(e, "b") || he(e, "body"));
3267
3272
  }
3268
- const zs = ["c", "cases"];
3273
+ const Qs = ["b", "body"];
3269
3274
  function Oc(e) {
3270
- return Fe(e, zs, []);
3275
+ return Fe(e, Qs);
3271
3276
  }
3272
- const Qs = ["s", "static"];
3277
+ const Zs = ["c", "cases"];
3273
3278
  function Sc(e) {
3274
- return Fe(e, Qs);
3279
+ return Fe(e, Zs, []);
3275
3280
  }
3276
- const Zs = ["i", "items"];
3281
+ const eo = ["s", "static"];
3277
3282
  function Tc(e) {
3278
- return Fe(e, Zs, []);
3283
+ return Fe(e, eo);
3284
+ }
3285
+ const to = ["i", "items"];
3286
+ function Lc(e) {
3287
+ return Fe(e, to, []);
3279
3288
  }
3280
- const eo = ["t", "type"];
3289
+ const no = ["t", "type"];
3281
3290
  function cr(e) {
3282
- return Fe(e, eo);
3291
+ return Fe(e, no);
3283
3292
  }
3284
- const to = ["v", "value"];
3293
+ const ro = ["v", "value"];
3285
3294
  function Ct(e, t) {
3286
- const n = Fe(e, to);
3295
+ const n = Fe(e, ro);
3287
3296
  if (n != null)
3288
3297
  return n;
3289
3298
  throw _t(t);
3290
3299
  }
3291
- const no = ["m", "modifier"];
3292
- function Lc(e) {
3293
- return Fe(e, no);
3294
- }
3295
- const ro = ["k", "key"];
3300
+ const so = ["m", "modifier"];
3296
3301
  function Ac(e) {
3297
- const t = Fe(e, ro);
3302
+ return Fe(e, so);
3303
+ }
3304
+ const oo = ["k", "key"];
3305
+ function vc(e) {
3306
+ const t = Fe(e, oo);
3298
3307
  if (t)
3299
3308
  return t;
3300
3309
  throw _t(
@@ -3310,31 +3319,31 @@ function Fe(e, t, n) {
3310
3319
  }
3311
3320
  return n;
3312
3321
  }
3313
- const so = [
3314
- ...Js,
3315
- ...zs,
3322
+ const io = [
3316
3323
  ...Qs,
3317
3324
  ...Zs,
3318
- ...ro,
3319
- ...no,
3325
+ ...eo,
3320
3326
  ...to,
3321
- ...eo
3327
+ ...oo,
3328
+ ...so,
3329
+ ...ro,
3330
+ ...no
3322
3331
  ];
3323
3332
  function _t(e) {
3324
3333
  return new Error(`unhandled node type: ${e}`);
3325
3334
  }
3326
3335
  function On(e) {
3327
- return (n) => vc(n, e);
3336
+ return (n) => Cc(n, e);
3328
3337
  }
3329
- function vc(e, t) {
3330
- const n = Nc(t);
3338
+ function Cc(e, t) {
3339
+ const n = Oc(t);
3331
3340
  if (n == null)
3332
3341
  throw _t(
3333
3342
  0
3334
3343
  /* NodeTypes.Resource */
3335
3344
  );
3336
3345
  if (cr(n) === 1) {
3337
- const o = Oc(n);
3346
+ const o = Sc(n);
3338
3347
  return e.plural(o.reduce((i, a) => [
3339
3348
  ...i,
3340
3349
  Yr(e, a)
@@ -3343,11 +3352,11 @@ function vc(e, t) {
3343
3352
  return Yr(e, n);
3344
3353
  }
3345
3354
  function Yr(e, t) {
3346
- const n = Sc(t);
3355
+ const n = Tc(t);
3347
3356
  if (n != null)
3348
3357
  return e.type === "text" ? n : e.normalize([n]);
3349
3358
  {
3350
- const r = Tc(t).reduce((s, o) => [...s, Un(e, o)], []);
3359
+ const r = Lc(t).reduce((s, o) => [...s, Un(e, o)], []);
3351
3360
  return e.normalize(r);
3352
3361
  }
3353
3362
  }
@@ -3375,7 +3384,7 @@ function Un(e, t) {
3375
3384
  throw _t(n);
3376
3385
  }
3377
3386
  case 6: {
3378
- const r = t, s = Lc(r), o = Ac(r);
3387
+ const r = t, s = Ac(r), o = vc(r);
3379
3388
  return e.linked(Un(e, o), s ? Un(e, s) : void 0, e.type);
3380
3389
  }
3381
3390
  case 7:
@@ -3386,28 +3395,28 @@ function Un(e, t) {
3386
3395
  throw new Error(`unhandled node on format message part: ${n}`);
3387
3396
  }
3388
3397
  }
3389
- const Cc = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
3390
- function Rc(e, t) {
3391
- t && Ja(e) && Le(nn(Cc, { source: e }));
3398
+ const Rc = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
3399
+ function Ic(e, t) {
3400
+ t && za(e) && Le(nn(Rc, { source: e }));
3392
3401
  }
3393
- const Ic = (e) => e;
3402
+ const Pc = (e) => e;
3394
3403
  let Rt = H();
3395
- function Pc(e, t = {}) {
3404
+ function wc(e, t = {}) {
3396
3405
  let n = !1;
3397
- const r = t.onError || Ka;
3406
+ const r = t.onError || Xa;
3398
3407
  return t.onError = (s) => {
3399
3408
  n = !0, r(s);
3400
- }, { ...bc(e, t), detectError: n };
3409
+ }, { ...yc(e, t), detectError: n };
3401
3410
  }
3402
3411
  // @__NO_SIDE_EFFECTS__
3403
- function wc(e, t) {
3412
+ function Dc(e, t) {
3404
3413
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && w(e)) {
3405
3414
  const n = X(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
3406
- process.env.NODE_ENV !== "production" && Rc(e, n);
3407
- const s = (t.onCacheKey || Ic)(e), o = Rt[s];
3415
+ process.env.NODE_ENV !== "production" && Ic(e, n);
3416
+ const s = (t.onCacheKey || Pc)(e), o = Rt[s];
3408
3417
  if (o)
3409
3418
  return o;
3410
- const { ast: i, detectError: a } = Pc(e, {
3419
+ const { ast: i, detectError: a } = wc(e, {
3411
3420
  ...t,
3412
3421
  location: process.env.NODE_ENV !== "production",
3413
3422
  jit: !0
@@ -3425,10 +3434,10 @@ function wc(e, t) {
3425
3434
  }
3426
3435
  }
3427
3436
  let ht = null;
3428
- function Dc(e) {
3437
+ function kc(e) {
3429
3438
  ht = e;
3430
3439
  }
3431
- function kc(e, t, n) {
3440
+ function Fc(e, t, n) {
3432
3441
  ht && ht.emit("i18n:init", {
3433
3442
  timestamp: Date.now(),
3434
3443
  i18n: e,
@@ -3436,12 +3445,12 @@ function kc(e, t, n) {
3436
3445
  meta: n
3437
3446
  });
3438
3447
  }
3439
- const Fc = /* @__PURE__ */ Uc("function:translate");
3440
- function Uc(e) {
3448
+ const Uc = /* @__PURE__ */ Mc("function:translate");
3449
+ function Mc(e) {
3441
3450
  return (t) => ht && ht.emit(e, t);
3442
3451
  }
3443
3452
  const ie = {
3444
- INVALID_ARGUMENT: Ga,
3453
+ INVALID_ARGUMENT: Ya,
3445
3454
  // 17
3446
3455
  INVALID_DATE_ARGUMENT: 18,
3447
3456
  INVALID_ISO_DATE_ARGUMENT: 19,
@@ -3449,11 +3458,11 @@ const ie = {
3449
3458
  NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
3450
3459
  NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
3451
3460
  NOT_SUPPORT_LOCALE_TYPE: 23
3452
- }, Mc = 24;
3461
+ }, xc = 24;
3453
3462
  function ve(e) {
3454
- return ot(e, null, process.env.NODE_ENV !== "production" ? { messages: xc } : void 0);
3463
+ return it(e, null, process.env.NODE_ENV !== "production" ? { messages: Vc } : void 0);
3455
3464
  }
3456
- const xc = {
3465
+ const Vc = {
3457
3466
  [ie.INVALID_ARGUMENT]: "Invalid arguments",
3458
3467
  [ie.INVALID_DATE_ARGUMENT]: "The date provided is an invalid Date object.Make sure your Date represents a valid date.",
3459
3468
  [ie.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string",
@@ -3482,13 +3491,13 @@ function Kr(e) {
3482
3491
  } else
3483
3492
  throw ve(ie.NOT_SUPPORT_LOCALE_TYPE);
3484
3493
  }
3485
- function Vc(e, t, n) {
3494
+ function $c(e, t, n) {
3486
3495
  return [.../* @__PURE__ */ new Set([
3487
3496
  n,
3488
- ...J(t) ? t : j(t) ? Object.keys(t) : w(t) ? [t] : [n]
3497
+ ...J(t) ? t : B(t) ? Object.keys(t) : w(t) ? [t] : [n]
3489
3498
  ])];
3490
3499
  }
3491
- function oo(e, t, n) {
3500
+ function ao(e, t, n) {
3492
3501
  const r = w(n) ? n : Wt, s = e;
3493
3502
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
3494
3503
  let o = s.__localeChainCache.get(r);
@@ -3506,11 +3515,11 @@ function Xr(e, t, n) {
3506
3515
  let r = !0;
3507
3516
  for (let s = 0; s < t.length && X(r); s++) {
3508
3517
  const o = t[s];
3509
- w(o) && (r = $c(e, t[s], n));
3518
+ w(o) && (r = Bc(e, t[s], n));
3510
3519
  }
3511
3520
  return r;
3512
3521
  }
3513
- function $c(e, t, n) {
3522
+ function Bc(e, t, n) {
3514
3523
  let r;
3515
3524
  const s = t.split("-");
3516
3525
  do {
@@ -3689,15 +3698,15 @@ Ue[
3689
3698
  /* Actions.APPEND */
3690
3699
  ]
3691
3700
  };
3692
- const Bc = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
3693
- function Hc(e) {
3694
- return Bc.test(e);
3695
- }
3701
+ const Hc = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
3696
3702
  function Wc(e) {
3703
+ return Hc.test(e);
3704
+ }
3705
+ function qc(e) {
3697
3706
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
3698
3707
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
3699
3708
  }
3700
- function qc(e) {
3709
+ function Gc(e) {
3701
3710
  if (e == null)
3702
3711
  return "o";
3703
3712
  switch (e.charCodeAt(0)) {
@@ -3734,11 +3743,11 @@ function qc(e) {
3734
3743
  }
3735
3744
  return "i";
3736
3745
  }
3737
- function Gc(e) {
3746
+ function Yc(e) {
3738
3747
  const t = e.trim();
3739
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Hc(t) ? Wc(t) : "*" + t;
3748
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Wc(t) ? qc(t) : "*" + t;
3740
3749
  }
3741
- function Yc(e) {
3750
+ function Kc(e) {
3742
3751
  const t = [];
3743
3752
  let n = -1, r = 0, s = 0, o, i, a, c, u, l, p;
3744
3753
  const g = [];
@@ -3770,7 +3779,7 @@ function Yc(e) {
3770
3779
  /* Actions.APPEND */
3771
3780
  ]();
3772
3781
  else {
3773
- if (s = 0, i === void 0 || (i = Gc(i), i === !1))
3782
+ if (s = 0, i === void 0 || (i = Yc(i), i === !1))
3774
3783
  return !1;
3775
3784
  g[
3776
3785
  1
@@ -3788,27 +3797,27 @@ function Yc(e) {
3788
3797
  }
3789
3798
  for (; r !== null; )
3790
3799
  if (n++, o = e[n], !(o === "\\" && A())) {
3791
- if (c = qc(o), p = Ue[r], u = p[c] || p.l || 8, u === 8 || (r = u[0], u[1] !== void 0 && (l = g[u[1]], l && (a = o, l() === !1))))
3800
+ if (c = Gc(o), p = Ue[r], u = p[c] || p.l || 8, u === 8 || (r = u[0], u[1] !== void 0 && (l = g[u[1]], l && (a = o, l() === !1))))
3792
3801
  return;
3793
3802
  if (r === 7)
3794
3803
  return t;
3795
3804
  }
3796
3805
  }
3797
3806
  const Jr = /* @__PURE__ */ new Map();
3798
- function Kc(e, t) {
3799
- return j(e) ? e[t] : null;
3800
- }
3801
3807
  function Xc(e, t) {
3802
- if (!j(e))
3808
+ return B(e) ? e[t] : null;
3809
+ }
3810
+ function Jc(e, t) {
3811
+ if (!B(e))
3803
3812
  return null;
3804
3813
  let n = Jr.get(t);
3805
- if (n || (n = Yc(t), n && Jr.set(t, n)), !n)
3814
+ if (n || (n = Kc(t), n && Jr.set(t, n)), !n)
3806
3815
  return null;
3807
3816
  const r = n.length;
3808
3817
  let s = e, o = 0;
3809
3818
  for (; o < r; ) {
3810
3819
  const i = n[o];
3811
- if (so.includes(i) && Ee(s))
3820
+ if (io.includes(i) && Ee(s))
3812
3821
  return null;
3813
3822
  const a = s[i];
3814
3823
  if (a === void 0 || G(s))
@@ -3825,7 +3834,7 @@ const le = {
3825
3834
  CANNOT_FORMAT_DATE: 5,
3826
3835
  FALLBACK_TO_DATE_FORMAT: 6,
3827
3836
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
3828
- }, Jc = 8, zc = {
3837
+ }, zc = 8, Qc = {
3829
3838
  [le.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
3830
3839
  [le.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
3831
3840
  [le.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -3835,41 +3844,41 @@ const le = {
3835
3844
  [le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
3836
3845
  };
3837
3846
  function Ke(e, ...t) {
3838
- return nn(zc[e], ...t);
3847
+ return nn(Qc[e], ...t);
3839
3848
  }
3840
- const Qc = "11.2.2", sn = -1, Wt = "en-US", qt = "", zr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
3841
- function Zc() {
3849
+ const Zc = "11.2.2", sn = -1, Wt = "en-US", qt = "", zr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
3850
+ function el() {
3842
3851
  return {
3843
- upper: (e, t) => t === "text" && w(e) ? e.toUpperCase() : t === "vnode" && j(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
3844
- lower: (e, t) => t === "text" && w(e) ? e.toLowerCase() : t === "vnode" && j(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
3845
- capitalize: (e, t) => t === "text" && w(e) ? zr(e) : t === "vnode" && j(e) && "__v_isVNode" in e ? zr(e.children) : e
3852
+ upper: (e, t) => t === "text" && w(e) ? e.toUpperCase() : t === "vnode" && B(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
3853
+ lower: (e, t) => t === "text" && w(e) ? e.toLowerCase() : t === "vnode" && B(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
3854
+ capitalize: (e, t) => t === "text" && w(e) ? zr(e) : t === "vnode" && B(e) && "__v_isVNode" in e ? zr(e.children) : e
3846
3855
  };
3847
3856
  }
3848
- let io;
3849
- function el(e) {
3850
- io = e;
3851
- }
3852
- let ao;
3853
- function tl(e) {
3854
- ao = e;
3855
- }
3856
3857
  let co;
3857
- function nl(e) {
3858
+ function tl(e) {
3858
3859
  co = e;
3859
3860
  }
3860
- let lo = null;
3861
- const rl = /* @__NO_SIDE_EFFECTS__ */ (e) => {
3861
+ let lo;
3862
+ function nl(e) {
3862
3863
  lo = e;
3863
- }, sl = /* @__NO_SIDE_EFFECTS__ */ () => lo;
3864
- let uo = null;
3865
- const Qr = (e) => {
3864
+ }
3865
+ let uo;
3866
+ function rl(e) {
3866
3867
  uo = e;
3867
- }, ol = () => uo;
3868
+ }
3869
+ let fo = null;
3870
+ const sl = /* @__NO_SIDE_EFFECTS__ */ (e) => {
3871
+ fo = e;
3872
+ }, ol = /* @__NO_SIDE_EFFECTS__ */ () => fo;
3873
+ let po = null;
3874
+ const Qr = (e) => {
3875
+ po = e;
3876
+ }, il = () => po;
3868
3877
  let Zr = 0;
3869
- function il(e = {}) {
3870
- const t = G(e.onWarn) ? e.onWarn : Le, n = w(e.version) ? e.version : Qc, r = w(e.locale) || G(e.locale) ? e.locale : Wt, s = G(r) ? Wt : r, o = J(e.fallbackLocale) || $(e.fallbackLocale) || w(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = $(e.messages) ? e.messages : Tn(s), a = $(e.datetimeFormats) ? e.datetimeFormats : Tn(s), c = $(e.numberFormats) ? e.numberFormats : Tn(s), u = te(H(), e.modifiers, Zc()), l = e.pluralRules || H(), p = G(e.missing) ? e.missing : null, g = X(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, A = X(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, b = !!e.unresolving, S = G(e.postTranslation) ? e.postTranslation : null, m = $(e.processor) ? e.processor : null, N = X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, y = G(e.messageCompiler) ? e.messageCompiler : io;
3871
- process.env.NODE_ENV !== "production" && G(e.messageCompiler) && Da(Ke(le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
3872
- const C = G(e.messageResolver) ? e.messageResolver : ao || Kc, R = G(e.localeFallbacker) ? e.localeFallbacker : co || Vc, _ = j(e.fallbackContext) ? e.fallbackContext : void 0, x = e, U = j(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), I = j(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), P = j(x.__meta) ? x.__meta : {};
3878
+ function al(e = {}) {
3879
+ const t = G(e.onWarn) ? e.onWarn : Le, n = w(e.version) ? e.version : Zc, r = w(e.locale) || G(e.locale) ? e.locale : Wt, s = G(r) ? Wt : r, o = J(e.fallbackLocale) || $(e.fallbackLocale) || w(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = $(e.messages) ? e.messages : Tn(s), a = $(e.datetimeFormats) ? e.datetimeFormats : Tn(s), c = $(e.numberFormats) ? e.numberFormats : Tn(s), u = te(H(), e.modifiers, el()), l = e.pluralRules || H(), p = G(e.missing) ? e.missing : null, g = X(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, A = X(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, b = !!e.unresolving, S = G(e.postTranslation) ? e.postTranslation : null, m = $(e.processor) ? e.processor : null, N = X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, y = G(e.messageCompiler) ? e.messageCompiler : co;
3880
+ process.env.NODE_ENV !== "production" && G(e.messageCompiler) && ka(Ke(le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
3881
+ const C = G(e.messageResolver) ? e.messageResolver : lo || Xc, R = G(e.localeFallbacker) ? e.localeFallbacker : uo || $c, _ = B(e.fallbackContext) ? e.fallbackContext : void 0, x = e, U = B(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), I = B(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), P = B(x.__meta) ? x.__meta : {};
3873
3882
  Zr++;
3874
3883
  const k = {
3875
3884
  version: n,
@@ -3895,13 +3904,13 @@ function il(e = {}) {
3895
3904
  onWarn: t,
3896
3905
  __meta: P
3897
3906
  };
3898
- return k.datetimeFormats = a, k.numberFormats = c, k.__datetimeFormatters = U, k.__numberFormatters = I, process.env.NODE_ENV !== "production" && (k.__v_emitter = x.__v_emitter != null ? x.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && kc(k, n, P), k;
3907
+ return k.datetimeFormats = a, k.numberFormats = c, k.__datetimeFormatters = U, k.__numberFormatters = I, process.env.NODE_ENV !== "production" && (k.__v_emitter = x.__v_emitter != null ? x.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && Fc(k, n, P), k;
3899
3908
  }
3900
3909
  const Tn = (e) => ({ [e]: H() });
3901
3910
  function on(e, t) {
3902
3911
  return e instanceof RegExp ? e.test(t) : e;
3903
3912
  }
3904
- function fo(e, t) {
3913
+ function mo(e, t) {
3905
3914
  return e instanceof RegExp ? e.test(t) : e;
3906
3915
  }
3907
3916
  function ur(e, t, n, r, s) {
@@ -3919,31 +3928,31 @@ function ur(e, t, n, r, s) {
3919
3928
  const a = o(e, n, t, s);
3920
3929
  return w(a) ? a : t;
3921
3930
  } else
3922
- return process.env.NODE_ENV !== "production" && fo(r, t) && i(Ke(le.NOT_FOUND_KEY, { key: t, locale: n })), t;
3931
+ return process.env.NODE_ENV !== "production" && mo(r, t) && i(Ke(le.NOT_FOUND_KEY, { key: t, locale: n })), t;
3923
3932
  }
3924
- function ut(e, t, n) {
3933
+ function ft(e, t, n) {
3925
3934
  const r = e;
3926
3935
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
3927
3936
  }
3928
- function po(e, t) {
3937
+ function _o(e, t) {
3929
3938
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
3930
3939
  }
3931
- function al(e, t) {
3940
+ function cl(e, t) {
3932
3941
  const n = t.indexOf(e);
3933
3942
  if (n === -1)
3934
3943
  return !1;
3935
3944
  for (let r = n + 1; r < t.length; r++)
3936
- if (po(e, t[r]))
3945
+ if (_o(e, t[r]))
3937
3946
  return !0;
3938
3947
  return !1;
3939
3948
  }
3940
- const es = typeof Intl < "u", mo = {
3949
+ const es = typeof Intl < "u", ho = {
3941
3950
  dateTimeFormat: es && typeof Intl.DateTimeFormat < "u",
3942
3951
  numberFormat: es && typeof Intl.NumberFormat < "u"
3943
3952
  };
3944
3953
  function ts(e, ...t) {
3945
3954
  const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: i } = e, { __datetimeFormatters: a } = e;
3946
- if (process.env.NODE_ENV !== "production" && !mo.dateTimeFormat)
3955
+ if (process.env.NODE_ENV !== "production" && !ho.dateTimeFormat)
3947
3956
  return o(Ke(le.CANNOT_FORMAT_DATE)), qt;
3948
3957
  const [c, u, l, p] = Mn(...t), g = X(l.missingWarn) ? l.missingWarn : e.missingWarn, A = X(l.fallbackWarn) ? l.fallbackWarn : e.fallbackWarn, E = !!l.part, b = lr(e, l), S = i(
3949
3958
  e,
@@ -3980,7 +3989,7 @@ function ts(e, ...t) {
3980
3989
  let x = a.get(_);
3981
3990
  return x || (x = new Intl.DateTimeFormat(N, te({}, T, p)), a.set(_, x)), E ? x.formatToParts(u) : x.format(u);
3982
3991
  }
3983
- const _o = [
3992
+ const Eo = [
3984
3993
  "localeMatcher",
3985
3994
  "weekday",
3986
3995
  "era",
@@ -4016,7 +4025,7 @@ function Mn(...e) {
4016
4025
  } catch {
4017
4026
  throw ve(ie.INVALID_ISO_DATE_ARGUMENT);
4018
4027
  }
4019
- } else if (Ma(t)) {
4028
+ } else if (xa(t)) {
4020
4029
  if (isNaN(t.getTime()))
4021
4030
  throw ve(ie.INVALID_DATE_ARGUMENT);
4022
4031
  a = t;
@@ -4025,7 +4034,7 @@ function Mn(...e) {
4025
4034
  else
4026
4035
  throw ve(ie.INVALID_ARGUMENT);
4027
4036
  return w(n) ? o.key = n : $(n) && Object.keys(n).forEach((c) => {
4028
- _o.includes(c) ? i[c] = n[c] : o[c] = n[c];
4037
+ Eo.includes(c) ? i[c] = n[c] : o[c] = n[c];
4029
4038
  }), w(r) ? o.locale = r : $(r) && (i = r), $(s) && (i = s), [o.key || "", a, o, i];
4030
4039
  }
4031
4040
  function ns(e, t, n) {
@@ -4037,7 +4046,7 @@ function ns(e, t, n) {
4037
4046
  }
4038
4047
  function rs(e, ...t) {
4039
4048
  const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: i } = e, { __numberFormatters: a } = e;
4040
- if (process.env.NODE_ENV !== "production" && !mo.numberFormat)
4049
+ if (process.env.NODE_ENV !== "production" && !ho.numberFormat)
4041
4050
  return o(Ke(le.CANNOT_FORMAT_NUMBER)), qt;
4042
4051
  const [c, u, l, p] = xn(...t), g = X(l.missingWarn) ? l.missingWarn : e.missingWarn, A = X(l.fallbackWarn) ? l.fallbackWarn : e.fallbackWarn, E = !!l.part, b = lr(e, l), S = i(
4043
4052
  e,
@@ -4074,7 +4083,7 @@ function rs(e, ...t) {
4074
4083
  let x = a.get(_);
4075
4084
  return x || (x = new Intl.NumberFormat(N, te({}, T, p)), a.set(_, x)), E ? x.formatToParts(u) : x.format(u);
4076
4085
  }
4077
- const ho = [
4086
+ const go = [
4078
4087
  "localeMatcher",
4079
4088
  "style",
4080
4089
  "currency",
@@ -4103,7 +4112,7 @@ function xn(...e) {
4103
4112
  throw ve(ie.INVALID_ARGUMENT);
4104
4113
  const a = t;
4105
4114
  return w(n) ? o.key = n : $(n) && Object.keys(n).forEach((c) => {
4106
- ho.includes(c) ? i[c] = n[c] : o[c] = n[c];
4115
+ go.includes(c) ? i[c] = n[c] : o[c] = n[c];
4107
4116
  }), w(r) ? o.locale = r : $(r) && (i = r), $(s) && (i = s), [o.key || "", a, o, i];
4108
4117
  }
4109
4118
  function ss(e, t, n) {
@@ -4113,33 +4122,33 @@ function ss(e, t, n) {
4113
4122
  r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
4114
4123
  }
4115
4124
  }
4116
- const cl = (e) => e, ll = (e) => "", ul = "text", fl = (e) => e.length === 0 ? "" : ir(e), dl = Ba;
4125
+ const ll = (e) => e, ul = (e) => "", fl = "text", dl = (e) => e.length === 0 ? "" : ir(e), pl = Ha;
4117
4126
  function os(e, t) {
4118
4127
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
4119
4128
  }
4120
- function pl(e) {
4129
+ function ml(e) {
4121
4130
  const t = ee(e.pluralIndex) ? e.pluralIndex : -1;
4122
4131
  return e.named && (ee(e.named.count) || ee(e.named.n)) ? ee(e.named.count) ? e.named.count : ee(e.named.n) ? e.named.n : t : t;
4123
4132
  }
4124
- function ml(e, t) {
4133
+ function _l(e, t) {
4125
4134
  t.count || (t.count = e), t.n || (t.n = e);
4126
4135
  }
4127
- function _l(e = {}) {
4128
- const t = e.locale, n = pl(e), r = j(e.pluralRules) && w(t) && G(e.pluralRules[t]) ? e.pluralRules[t] : os, s = j(e.pluralRules) && w(t) && G(e.pluralRules[t]) ? os : void 0, o = (m) => m[r(n, m.length, s)], i = e.list || [], a = (m) => i[m], c = e.named || H();
4129
- ee(e.pluralIndex) && ml(n, c);
4136
+ function hl(e = {}) {
4137
+ const t = e.locale, n = ml(e), r = B(e.pluralRules) && w(t) && G(e.pluralRules[t]) ? e.pluralRules[t] : os, s = B(e.pluralRules) && w(t) && G(e.pluralRules[t]) ? os : void 0, o = (m) => m[r(n, m.length, s)], i = e.list || [], a = (m) => i[m], c = e.named || H();
4138
+ ee(e.pluralIndex) && _l(n, c);
4130
4139
  const u = (m) => c[m];
4131
4140
  function l(m, N) {
4132
- const T = G(e.messages) ? e.messages(m, !!N) : j(e.messages) ? e.messages[m] : !1;
4133
- return T || (e.parent ? e.parent.message(m) : ll);
4141
+ const T = G(e.messages) ? e.messages(m, !!N) : B(e.messages) ? e.messages[m] : !1;
4142
+ return T || (e.parent ? e.parent.message(m) : ul);
4134
4143
  }
4135
- const p = (m) => e.modifiers ? e.modifiers[m] : cl, g = $(e.processor) && G(e.processor.normalize) ? e.processor.normalize : fl, A = $(e.processor) && G(e.processor.interpolate) ? e.processor.interpolate : dl, E = $(e.processor) && w(e.processor.type) ? e.processor.type : ul, S = {
4144
+ const p = (m) => e.modifiers ? e.modifiers[m] : ll, g = $(e.processor) && G(e.processor.normalize) ? e.processor.normalize : dl, A = $(e.processor) && G(e.processor.interpolate) ? e.processor.interpolate : pl, E = $(e.processor) && w(e.processor.type) ? e.processor.type : fl, S = {
4136
4145
  list: a,
4137
4146
  named: u,
4138
4147
  plural: o,
4139
4148
  linked: (m, ...N) => {
4140
4149
  const [T, y] = N;
4141
4150
  let C = "text", R = "";
4142
- N.length === 1 ? j(T) ? (R = T.modifier || R, C = T.type || C) : w(T) && (R = T || R) : N.length === 2 && (w(T) && (R = T || R), w(y) && (C = y || C));
4151
+ N.length === 1 ? B(T) ? (R = T.modifier || R, C = T.type || C) : w(T) && (R = T || R) : N.length === 2 && (w(T) && (R = T || R), w(y) && (C = y || C));
4143
4152
  const _ = l(m, !0)(S), x = (
4144
4153
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
4145
4154
  C === "vnode" && J(_) && R ? _[0] : _
@@ -4157,12 +4166,12 @@ function _l(e = {}) {
4157
4166
  const is = () => "", me = (e) => G(e);
4158
4167
  function as(e, ...t) {
4159
4168
  const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: i, messages: a } = e, [c, u] = Vn(...t), l = X(u.missingWarn) ? u.missingWarn : e.missingWarn, p = X(u.fallbackWarn) ? u.fallbackWarn : e.fallbackWarn, g = X(u.escapeParameter) ? u.escapeParameter : e.escapeParameter, A = !!u.resolvedMessage, E = w(u.default) || X(u.default) ? X(u.default) ? o ? c : () => c : u.default : n ? o ? c : () => c : null, b = n || E != null && (w(E) || G(E)), S = lr(e, u);
4160
- g && hl(u);
4169
+ g && El(u);
4161
4170
  let [m, N, T] = A ? [
4162
4171
  c,
4163
4172
  S,
4164
4173
  a[S] || H()
4165
- ] : Eo(e, c, S, i, p, l), y = m, C = c;
4174
+ ] : bo(e, c, S, i, p, l), y = m, C = c;
4166
4175
  if (!A && !(w(y) || Ee(y) || me(y)) && b && (y = E, C = y), !A && (!(w(y) || Ee(y) || me(y)) || !w(N)))
4167
4176
  return s ? sn : c;
4168
4177
  if (process.env.NODE_ENV !== "production" && w(y) && e.messageCompiler == null)
@@ -4170,12 +4179,12 @@ function as(e, ...t) {
4170
4179
  let R = !1;
4171
4180
  const _ = () => {
4172
4181
  R = !0;
4173
- }, x = me(y) ? y : go(e, c, N, y, C, _);
4182
+ }, x = me(y) ? y : yo(e, c, N, y, C, _);
4174
4183
  if (R)
4175
4184
  return y;
4176
- const U = yl(e, N, T, u), I = _l(U), P = El(e, x, I);
4185
+ const U = Nl(e, N, T, u), I = hl(U), P = gl(e, x, I);
4177
4186
  let k = r ? r(P, c) : P;
4178
- if (g && w(k) && (k = Va(k)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
4187
+ if (g && w(k) && (k = $a(k)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
4179
4188
  const W = {
4180
4189
  timestamp: Date.now(),
4181
4190
  key: w(c) ? c : me(y) ? y.key : "",
@@ -4183,21 +4192,21 @@ function as(e, ...t) {
4183
4192
  format: w(y) ? y : me(y) ? y.source : "",
4184
4193
  message: k
4185
4194
  };
4186
- W.meta = te({}, e.__meta, /* @__PURE__ */ sl() || {}), Fc(W);
4195
+ W.meta = te({}, e.__meta, /* @__PURE__ */ ol() || {}), Uc(W);
4187
4196
  }
4188
4197
  return k;
4189
4198
  }
4190
- function hl(e) {
4191
- J(e.list) ? e.list = e.list.map((t) => w(t) ? jr(t) : t) : j(e.named) && Object.keys(e.named).forEach((t) => {
4192
- w(e.named[t]) && (e.named[t] = jr(e.named[t]));
4199
+ function El(e) {
4200
+ J(e.list) ? e.list = e.list.map((t) => w(t) ? Br(t) : t) : B(e.named) && Object.keys(e.named).forEach((t) => {
4201
+ w(e.named[t]) && (e.named[t] = Br(e.named[t]));
4193
4202
  });
4194
4203
  }
4195
- function Eo(e, t, n, r, s, o) {
4204
+ function bo(e, t, n, r, s, o) {
4196
4205
  const { messages: i, onWarn: a, messageResolver: c, localeFallbacker: u } = e, l = u(e, r, n);
4197
4206
  let p = H(), g, A = null, E = n, b = null;
4198
4207
  const S = "translate";
4199
4208
  for (let m = 0; m < l.length; m++) {
4200
- if (g = b = l[m], process.env.NODE_ENV !== "production" && n !== g && !po(n, g) && on(s, t) && a(Ke(le.FALLBACK_TO_TRANSLATE, {
4209
+ if (g = b = l[m], process.env.NODE_ENV !== "production" && n !== g && !_o(n, g) && on(s, t) && a(Ke(le.FALLBACK_TO_TRANSLATE, {
4201
4210
  key: t,
4202
4211
  target: g
4203
4212
  })), process.env.NODE_ENV !== "production" && n !== g) {
@@ -4224,7 +4233,7 @@ function Eo(e, t, n, r, s, o) {
4224
4233
  }
4225
4234
  if (w(A) || Ee(A) || me(A))
4226
4235
  break;
4227
- if (!al(g, l)) {
4236
+ if (!cl(g, l)) {
4228
4237
  const C = ur(
4229
4238
  e,
4230
4239
  // eslint-disable-line @typescript-eslint/no-explicit-any
@@ -4239,7 +4248,7 @@ function Eo(e, t, n, r, s, o) {
4239
4248
  }
4240
4249
  return [A, g, p];
4241
4250
  }
4242
- function go(e, t, n, r, s, o) {
4251
+ function yo(e, t, n, r, s, o) {
4243
4252
  const { messageCompiler: i, warnHtmlMessage: a } = e;
4244
4253
  if (me(r)) {
4245
4254
  const g = r;
@@ -4251,7 +4260,7 @@ function go(e, t, n, r, s, o) {
4251
4260
  }
4252
4261
  let c = null, u, l;
4253
4262
  process.env.NODE_ENV !== "production" && Re && (c = window.performance.now(), u = "intlify-message-compilation-start", l = "intlify-message-compilation-end", de && de(u));
4254
- const p = i(r, gl(e, n, s, r, a, o));
4263
+ const p = i(r, bl(e, n, s, r, a, o));
4255
4264
  if (process.env.NODE_ENV !== "production" && Re) {
4256
4265
  const g = window.performance.now(), A = e.__v_emitter;
4257
4266
  A && c && A.emit("message-compilation", {
@@ -4263,7 +4272,7 @@ function go(e, t, n, r, s, o) {
4263
4272
  }
4264
4273
  return p.locale = n, p.key = t, p.source = r, p;
4265
4274
  }
4266
- function El(e, t, n) {
4275
+ function gl(e, t, n) {
4267
4276
  let r = null, s, o;
4268
4277
  process.env.NODE_ENV !== "production" && Re && (r = window.performance.now(), s = "intlify-message-evaluation-start", o = "intlify-message-evaluation-end", de && de(s));
4269
4278
  const i = t(n);
@@ -4285,14 +4294,14 @@ function Vn(...e) {
4285
4294
  const o = ee(t) ? String(t) : (me(t), t);
4286
4295
  return ee(n) ? s.plural = n : w(n) ? s.default = n : $(n) && !rn(n) ? s.named = n : J(n) && (s.list = n), ee(r) ? s.plural = r : w(r) ? s.default = r : $(r) && te(s, r), [o, s];
4287
4296
  }
4288
- function gl(e, t, n, r, s, o) {
4297
+ function bl(e, t, n, r, s, o) {
4289
4298
  return {
4290
4299
  locale: t,
4291
4300
  key: n,
4292
4301
  warnHtmlMessage: s,
4293
4302
  onError: (i) => {
4294
4303
  if (o && o(i), process.env.NODE_ENV !== "production") {
4295
- const a = bl(r), c = `Message compilation error: ${i.message}`, u = i.location && a && Ha(a, i.location.start.offset, i.location.end.offset), l = e.__v_emitter;
4304
+ const a = yl(r), c = `Message compilation error: ${i.message}`, u = i.location && a && Wa(a, i.location.start.offset, i.location.end.offset), l = e.__v_emitter;
4296
4305
  l && a && l.emit("compile-error", {
4297
4306
  message: a,
4298
4307
  error: i.message,
@@ -4304,16 +4313,16 @@ ${u}` : c);
4304
4313
  } else
4305
4314
  throw i;
4306
4315
  },
4307
- onCacheKey: (i) => Fa(t, n, i)
4316
+ onCacheKey: (i) => Ua(t, n, i)
4308
4317
  };
4309
4318
  }
4310
- function bl(e) {
4319
+ function yl(e) {
4311
4320
  if (w(e))
4312
4321
  return e;
4313
4322
  if (e.loc && e.loc.source)
4314
4323
  return e.loc.source;
4315
4324
  }
4316
- function yl(e, t, n, r) {
4325
+ function Nl(e, t, n, r) {
4317
4326
  const { modifiers: s, pluralRules: o, messageResolver: i, fallbackLocale: a, fallbackWarn: c, missingWarn: u, fallbackContext: l } = e, g = {
4318
4327
  locale: t,
4319
4328
  modifiers: s,
@@ -4321,7 +4330,7 @@ function yl(e, t, n, r) {
4321
4330
  messages: (A, E) => {
4322
4331
  let b = i(n, A);
4323
4332
  if (b == null && (l || E)) {
4324
- const [, , S] = Eo(
4333
+ const [, , S] = bo(
4325
4334
  l || e,
4326
4335
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
4327
4336
  A,
@@ -4334,7 +4343,7 @@ function yl(e, t, n, r) {
4334
4343
  }
4335
4344
  if (w(b) || Ee(b)) {
4336
4345
  let S = !1;
4337
- const N = go(e, A, t, b, A, () => {
4346
+ const N = yo(e, A, t, b, A, () => {
4338
4347
  S = !0;
4339
4348
  });
4340
4349
  return S ? is : N;
@@ -4343,14 +4352,14 @@ function yl(e, t, n, r) {
4343
4352
  };
4344
4353
  return e.processor && (g.processor = e.processor), r.list && (g.list = r.list), r.named && (g.named = r.named), ee(r.plural) && (g.pluralIndex = r.plural), g;
4345
4354
  }
4346
- yc();
4347
- const Nl = "11.2.2";
4348
- function Ol() {
4355
+ Nc();
4356
+ const Ol = "11.2.2";
4357
+ function Sl() {
4349
4358
  typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (He().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (He().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (He().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (He().__INTLIFY_PROD_DEVTOOLS__ = !1);
4350
4359
  }
4351
4360
  const re = {
4352
4361
  // composer module errors
4353
- UNEXPECTED_RETURN_TYPE: Mc,
4362
+ UNEXPECTED_RETURN_TYPE: xc,
4354
4363
  // 24
4355
4364
  // legacy module errors
4356
4365
  INVALID_ARGUMENT: 25,
@@ -4371,9 +4380,9 @@ const re = {
4371
4380
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
4372
4381
  };
4373
4382
  function Et(e, ...t) {
4374
- return ot(e, null, process.env.NODE_ENV !== "production" ? { messages: Sl, args: t } : void 0);
4383
+ return it(e, null, process.env.NODE_ENV !== "production" ? { messages: Tl, args: t } : void 0);
4375
4384
  }
4376
- const Sl = {
4385
+ const Tl = {
4377
4386
  [re.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
4378
4387
  [re.INVALID_ARGUMENT]: "Invalid argument",
4379
4388
  [re.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
@@ -4385,8 +4394,8 @@ const Sl = {
4385
4394
  [re.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
4386
4395
  [re.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
4387
4396
  [re.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
4388
- }, $n = /* @__PURE__ */ Pe("__translateVNode"), jn = /* @__PURE__ */ Pe("__datetimeParts"), Bn = /* @__PURE__ */ Pe("__numberParts"), Hn = /* @__PURE__ */ Pe("__enableEmitter"), Wn = /* @__PURE__ */ Pe("__disableEmitter"), Tl = Pe("__setPluralRules"), bo = /* @__PURE__ */ Pe("__injectWithOption"), qn = /* @__PURE__ */ Pe("__dispose"), Te = {
4389
- FALLBACK_TO_ROOT: Jc,
4397
+ }, $n = /* @__PURE__ */ Pe("__translateVNode"), Bn = /* @__PURE__ */ Pe("__datetimeParts"), jn = /* @__PURE__ */ Pe("__numberParts"), Hn = /* @__PURE__ */ Pe("__enableEmitter"), Wn = /* @__PURE__ */ Pe("__disableEmitter"), Ll = Pe("__setPluralRules"), No = /* @__PURE__ */ Pe("__injectWithOption"), qn = /* @__PURE__ */ Pe("__dispose"), Te = {
4398
+ FALLBACK_TO_ROOT: zc,
4390
4399
  // 8
4391
4400
  NOT_FOUND_PARENT_SCOPE: 9,
4392
4401
  IGNORE_OBJ_FLATTEN: 10,
@@ -4400,7 +4409,7 @@ const Sl = {
4400
4409
  DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE: 12,
4401
4410
  // duplicate `useI18n` calling
4402
4411
  DUPLICATE_USE_I18N_CALLING: 13
4403
- }, Ll = {
4412
+ }, Al = {
4404
4413
  [Te.FALLBACK_TO_ROOT]: "Fall back to {type} '{key}' with root locale.",
4405
4414
  [Te.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope.",
4406
4415
  [Te.IGNORE_OBJ_FLATTEN]: "Ignore object flatten: '{key}' key has an string value",
@@ -4416,22 +4425,22 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
4416
4425
  [Te.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."
4417
4426
  };
4418
4427
  function Gt(e, ...t) {
4419
- return nn(Ll[e], ...t);
4428
+ return nn(Al[e], ...t);
4420
4429
  }
4421
4430
  function gt(e) {
4422
- if (!j(e) || Ee(e))
4431
+ if (!B(e) || Ee(e))
4423
4432
  return e;
4424
4433
  for (const t in e)
4425
4434
  if (he(e, t))
4426
4435
  if (!t.includes("."))
4427
- j(e[t]) && gt(e[t]);
4436
+ B(e[t]) && gt(e[t]);
4428
4437
  else {
4429
4438
  const n = t.split("."), r = n.length - 1;
4430
4439
  let s = e, o = !1;
4431
4440
  for (let i = 0; i < r; i++) {
4432
4441
  if (n[i] === "__proto__")
4433
4442
  throw new Error(`unsafe key: ${n[i]}`);
4434
- if (n[i] in s || (s[n[i]] = H()), !j(s[n[i]])) {
4443
+ if (n[i] in s || (s[n[i]] = H()), !B(s[n[i]])) {
4435
4444
  process.env.NODE_ENV !== "production" && Le(Gt(Te.IGNORE_OBJ_FLATTEN, {
4436
4445
  key: n[i]
4437
4446
  })), o = !0;
@@ -4439,14 +4448,14 @@ function gt(e) {
4439
4448
  }
4440
4449
  s = s[n[i]];
4441
4450
  }
4442
- if (o || (Ee(s) ? so.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !Ee(s)) {
4451
+ if (o || (Ee(s) ? io.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !Ee(s)) {
4443
4452
  const i = s[n[r]];
4444
- j(i) && gt(i);
4453
+ B(i) && gt(i);
4445
4454
  }
4446
4455
  }
4447
4456
  return e;
4448
4457
  }
4449
- function yo(e, t) {
4458
+ function Oo(e, t) {
4450
4459
  const { messages: n, __i18n: r, messageResolver: s, flatJson: o } = t, i = $(n) ? n : J(r) ? H() : { [e]: H() };
4451
4460
  if (J(r) && r.forEach((a) => {
4452
4461
  if ("locale" in a && "resource" in a) {
@@ -4459,12 +4468,12 @@ function yo(e, t) {
4459
4468
  he(i, a) && gt(i[a]);
4460
4469
  return i;
4461
4470
  }
4462
- function No(e) {
4471
+ function So(e) {
4463
4472
  return e.type;
4464
4473
  }
4465
- function Al(e, t, n) {
4466
- let r = j(t.messages) ? t.messages : H();
4467
- "__i18nGlobal" in n && (r = yo(e.locale.value, {
4474
+ function vl(e, t, n) {
4475
+ let r = B(t.messages) ? t.messages : H();
4476
+ "__i18nGlobal" in n && (r = Oo(e.locale.value, {
4468
4477
  messages: r,
4469
4478
  __i18n: n.__i18nGlobal
4470
4479
  }));
@@ -4473,13 +4482,13 @@ function Al(e, t, n) {
4473
4482
  e.mergeLocaleMessage(o, r[o]);
4474
4483
  });
4475
4484
  {
4476
- if (j(t.datetimeFormats)) {
4485
+ if (B(t.datetimeFormats)) {
4477
4486
  const o = Object.keys(t.datetimeFormats);
4478
4487
  o.length && o.forEach((i) => {
4479
4488
  e.mergeDateTimeFormat(i, t.datetimeFormats[i]);
4480
4489
  });
4481
4490
  }
4482
- if (j(t.numberFormats)) {
4491
+ if (B(t.numberFormats)) {
4483
4492
  const o = Object.keys(t.numberFormats);
4484
4493
  o.length && o.forEach((i) => {
4485
4494
  e.mergeNumberFormat(i, t.numberFormats[i]);
@@ -4488,23 +4497,23 @@ function Al(e, t, n) {
4488
4497
  }
4489
4498
  }
4490
4499
  function cs(e) {
4491
- return Ko(Xo, null, e, 0);
4500
+ return Xo(Jo, null, e, 0);
4492
4501
  }
4493
4502
  function fr() {
4494
4503
  return "currentInstance" in _n ? _n["currentInstance"] : _n.getCurrentInstance();
4495
4504
  }
4496
- const ls = "__INTLIFY_META__", us = () => [], vl = () => !1;
4505
+ const ls = "__INTLIFY_META__", us = () => [], Cl = () => !1;
4497
4506
  let fs = 0;
4498
4507
  function ds(e) {
4499
4508
  return ((t, n, r, s) => e(n, r, fr() || void 0, s));
4500
4509
  }
4501
- const Cl = /* @__NO_SIDE_EFFECTS__ */ () => {
4510
+ const Rl = /* @__NO_SIDE_EFFECTS__ */ () => {
4502
4511
  const e = fr();
4503
4512
  let t = null;
4504
- return e && (t = No(e)[ls]) ? { [ls]: t } : null;
4513
+ return e && (t = So(e)[ls]) ? { [ls]: t } : null;
4505
4514
  };
4506
- function Rl(e = {}) {
4507
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, o = Re ? pt : Yo;
4515
+ function Il(e = {}) {
4516
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, o = Re ? et : Ko;
4508
4517
  let i = X(e.inheritLocale) ? e.inheritLocale : !0;
4509
4518
  const a = o(
4510
4519
  // prettier-ignore
@@ -4512,14 +4521,14 @@ function Rl(e = {}) {
4512
4521
  ), c = o(
4513
4522
  // prettier-ignore
4514
4523
  t && i ? t.fallbackLocale.value : w(e.fallbackLocale) || J(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : a.value
4515
- ), u = o(yo(a.value, e)), l = o($(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), p = o($(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
4524
+ ), u = o(Oo(a.value, e)), l = o($(e.datetimeFormats) ? e.datetimeFormats : { [a.value]: {} }), p = o($(e.numberFormats) ? e.numberFormats : { [a.value]: {} });
4516
4525
  let g = t ? t.missingWarn : X(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, A = t ? t.fallbackWarn : X(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = t ? t.fallbackRoot : X(e.fallbackRoot) ? e.fallbackRoot : !0, b = !!e.fallbackFormat, S = G(e.missing) ? e.missing : null, m = G(e.missing) ? ds(e.missing) : null, N = G(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter;
4517
4526
  const C = t ? t.modifiers : $(e.modifiers) ? e.modifiers : {};
4518
4527
  let R = e.pluralRules || t && t.pluralRules, _;
4519
4528
  _ = (() => {
4520
4529
  r && Qr(null);
4521
4530
  const O = {
4522
- version: Nl,
4531
+ version: Ol,
4523
4532
  locale: a.value,
4524
4533
  fallbackLocale: c.value,
4525
4534
  messages: u.value,
@@ -4538,9 +4547,9 @@ function Rl(e = {}) {
4538
4547
  __meta: { framework: "vue" }
4539
4548
  };
4540
4549
  O.datetimeFormats = l.value, O.numberFormats = p.value, O.__datetimeFormatters = $(_) ? _.__datetimeFormatters : void 0, O.__numberFormatters = $(_) ? _.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (O.__v_emitter = $(_) ? _.__v_emitter : void 0);
4541
- const v = il(O);
4550
+ const v = al(O);
4542
4551
  return r && Qr(v), v;
4543
- })(), ut(_, a.value, c.value);
4552
+ })(), ft(_, a.value, c.value);
4544
4553
  function U() {
4545
4554
  return [
4546
4555
  a.value,
@@ -4558,7 +4567,7 @@ function Rl(e = {}) {
4558
4567
  }), P = ke({
4559
4568
  get: () => c.value,
4560
4569
  set: (O) => {
4561
- _.fallbackLocale = O, c.value = O, ut(_, a.value, O);
4570
+ _.fallbackLocale = O, c.value = O, ft(_, a.value, O);
4562
4571
  }
4563
4572
  }), k = ke(() => u.value), W = /* @__PURE__ */ ke(() => l.value), ne = /* @__PURE__ */ ke(() => p.value);
4564
4573
  function be() {
@@ -4576,27 +4585,27 @@ function Rl(e = {}) {
4576
4585
  function Q(O, v) {
4577
4586
  return O !== "translate" || !v.resolvedMessage;
4578
4587
  }
4579
- const _e = (O, v, B, K, Ve, Lt) => {
4588
+ const _e = (O, v, j, K, Ve, Lt) => {
4580
4589
  U();
4581
4590
  let Je;
4582
4591
  try {
4583
- process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (_.fallbackContext = t ? ol() : void 0), Je = O(_);
4592
+ process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (_.fallbackContext = t ? il() : void 0), Je = O(_);
4584
4593
  } finally {
4585
4594
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (_.fallbackContext = void 0);
4586
4595
  }
4587
- if (B !== "translate exists" && // for not `te` (e.g `t`)
4588
- ee(Je) && Je === sn || B === "translate exists" && !Je) {
4589
- const [$e, Ro] = v();
4590
- if (process.env.NODE_ENV !== "production" && t && w($e) && Q(B, Ro) && (E && (on(A, $e) || fo(g, $e)) && Le(Gt(Te.FALLBACK_TO_ROOT, {
4596
+ if (j !== "translate exists" && // for not `te` (e.g `t`)
4597
+ ee(Je) && Je === sn || j === "translate exists" && !Je) {
4598
+ const [$e, wo] = v();
4599
+ if (process.env.NODE_ENV !== "production" && t && w($e) && Q(j, wo) && (E && (on(A, $e) || mo(g, $e)) && Le(Gt(Te.FALLBACK_TO_ROOT, {
4591
4600
  key: $e,
4592
- type: B
4601
+ type: j
4593
4602
  })), process.env.NODE_ENV !== "production")) {
4594
4603
  const { __v_emitter: mr } = _;
4595
4604
  mr && E && mr.emit("fallback", {
4596
- type: B,
4605
+ type: j,
4597
4606
  key: $e,
4598
4607
  to: "global",
4599
- groupId: `${B}:${$e}`
4608
+ groupId: `${j}:${$e}`
4600
4609
  });
4601
4610
  }
4602
4611
  return t && E ? K(t) : Ve($e);
@@ -4610,10 +4619,10 @@ function Rl(e = {}) {
4610
4619
  return _e((v) => Reflect.apply(as, null, [v, ...O]), () => Vn(...O), "translate", (v) => Reflect.apply(v.t, v, [...O]), (v) => v, (v) => w(v));
4611
4620
  }
4612
4621
  function ye(...O) {
4613
- const [v, B, K] = O;
4614
- if (K && !j(K))
4622
+ const [v, j, K] = O;
4623
+ if (K && !B(K))
4615
4624
  throw Et(re.INVALID_ARGUMENT);
4616
- return ce(v, B, te({ resolvedMessage: !0 }, K || {}));
4625
+ return ce(v, j, te({ resolvedMessage: !0 }, K || {}));
4617
4626
  }
4618
4627
  function Me(...O) {
4619
4628
  return _e((v) => Reflect.apply(ts, null, [v, ...O]), () => Mn(...O), "datetime format", (v) => Reflect.apply(v.d, v, [...O]), () => qt, (v) => w(v) || J(v));
@@ -4631,21 +4640,21 @@ function Rl(e = {}) {
4631
4640
  };
4632
4641
  function St(...O) {
4633
4642
  return _e((v) => {
4634
- let B;
4643
+ let j;
4635
4644
  const K = v;
4636
4645
  try {
4637
- K.processor = un, B = Reflect.apply(as, null, [K, ...O]);
4646
+ K.processor = un, j = Reflect.apply(as, null, [K, ...O]);
4638
4647
  } finally {
4639
4648
  K.processor = null;
4640
4649
  }
4641
- return B;
4650
+ return j;
4642
4651
  }, () => Vn(...O), "translate", (v) => v[$n](...O), (v) => [cs(v)], (v) => J(v));
4643
4652
  }
4644
4653
  function fn(...O) {
4645
- return _e((v) => Reflect.apply(rs, null, [v, ...O]), () => xn(...O), "number format", (v) => v[Bn](...O), us, (v) => w(v) || J(v));
4654
+ return _e((v) => Reflect.apply(rs, null, [v, ...O]), () => xn(...O), "number format", (v) => v[jn](...O), us, (v) => w(v) || J(v));
4646
4655
  }
4647
4656
  function Tt(...O) {
4648
- return _e((v) => Reflect.apply(ts, null, [v, ...O]), () => Mn(...O), "datetime format", (v) => v[jn](...O), us, (v) => w(v) || J(v));
4657
+ return _e((v) => Reflect.apply(ts, null, [v, ...O]), () => Mn(...O), "datetime format", (v) => v[Bn](...O), us, (v) => w(v) || J(v));
4649
4658
  }
4650
4659
  function dn(O) {
4651
4660
  R = O, _.pluralRules = R;
@@ -4654,15 +4663,15 @@ function Rl(e = {}) {
4654
4663
  return _e(() => {
4655
4664
  if (!O)
4656
4665
  return !1;
4657
- const B = w(v) ? v : a.value, K = xe(B), Ve = _.messageResolver(K, O);
4666
+ const j = w(v) ? v : a.value, K = xe(j), Ve = _.messageResolver(K, O);
4658
4667
  return Ee(Ve) || me(Ve) || w(Ve);
4659
- }, () => [O], "translate exists", (B) => Reflect.apply(B.te, B, [O, v]), vl, (B) => X(B));
4668
+ }, () => [O], "translate exists", (j) => Reflect.apply(j.te, j, [O, v]), Cl, (j) => X(j));
4660
4669
  }
4661
- function it(O) {
4670
+ function at(O) {
4662
4671
  let v = null;
4663
- const B = oo(_, c.value, a.value);
4664
- for (let K = 0; K < B.length; K++) {
4665
- const Ve = u.value[B[K]] || {}, Lt = _.messageResolver(Ve, O);
4672
+ const j = ao(_, c.value, a.value);
4673
+ for (let K = 0; K < j.length; K++) {
4674
+ const Ve = u.value[j[K]] || {}, Lt = _.messageResolver(Ve, O);
4666
4675
  if (Lt != null) {
4667
4676
  v = Lt;
4668
4677
  break;
@@ -4670,29 +4679,29 @@ function Rl(e = {}) {
4670
4679
  }
4671
4680
  return v;
4672
4681
  }
4673
- function at(O) {
4674
- const v = it(O);
4682
+ function ct(O) {
4683
+ const v = at(O);
4675
4684
  return v ?? (t ? t.tm(O) || {} : {});
4676
4685
  }
4677
4686
  function xe(O) {
4678
4687
  return u.value[O] || {};
4679
4688
  }
4680
- function ct(O, v) {
4689
+ function lt(O, v) {
4681
4690
  if (s) {
4682
- const B = { [O]: v };
4683
- for (const K in B)
4684
- he(B, K) && gt(B[K]);
4685
- v = B[O];
4691
+ const j = { [O]: v };
4692
+ for (const K in j)
4693
+ he(j, K) && gt(j[K]);
4694
+ v = j[O];
4686
4695
  }
4687
4696
  u.value[O] = v, _.messages = u.value;
4688
4697
  }
4689
4698
  function mn(O, v) {
4690
4699
  u.value[O] = u.value[O] || {};
4691
- const B = { [O]: v };
4700
+ const j = { [O]: v };
4692
4701
  if (s)
4693
- for (const K in B)
4694
- he(B, K) && gt(B[K]);
4695
- v = B[O], kt(v, u.value[O]), _.messages = u.value;
4702
+ for (const K in j)
4703
+ he(j, K) && gt(j[K]);
4704
+ v = j[O], kt(v, u.value[O]), _.messages = u.value;
4696
4705
  }
4697
4706
  function f(O) {
4698
4707
  return l.value[O] || {};
@@ -4713,9 +4722,9 @@ function Rl(e = {}) {
4713
4722
  p.value[O] = te(p.value[O] || {}, v), _.numberFormats = p.value, ss(_, O, v);
4714
4723
  }
4715
4724
  fs++, t && Re && (vn(t.locale, (O) => {
4716
- i && (a.value = O, _.locale = O, ut(_, a.value, c.value));
4725
+ i && (a.value = O, _.locale = O, ft(_, a.value, c.value));
4717
4726
  }), vn(t.fallbackLocale, (O) => {
4718
- i && (c.value = O, _.fallbackLocale = O, ut(_, a.value, c.value));
4727
+ i && (c.value = O, _.fallbackLocale = O, ft(_, a.value, c.value));
4719
4728
  }));
4720
4729
  const V = {
4721
4730
  id: fs,
@@ -4725,7 +4734,7 @@ function Rl(e = {}) {
4725
4734
  return i;
4726
4735
  },
4727
4736
  set inheritLocale(O) {
4728
- i = O, O && t && (a.value = t.locale.value, c.value = t.fallbackLocale.value, ut(_, a.value, c.value));
4737
+ i = O, O && t && (a.value = t.locale.value, c.value = t.fallbackLocale.value, ft(_, a.value, c.value));
4729
4738
  },
4730
4739
  get availableLocales() {
4731
4740
  return Object.keys(u.value).sort();
@@ -4778,15 +4787,15 @@ function Rl(e = {}) {
4778
4787
  },
4779
4788
  t: ce,
4780
4789
  getLocaleMessage: xe,
4781
- setLocaleMessage: ct,
4790
+ setLocaleMessage: lt,
4782
4791
  mergeLocaleMessage: mn,
4783
4792
  getPostTranslationHandler: be,
4784
4793
  setPostTranslationHandler: se,
4785
4794
  getMissingHandler: we,
4786
4795
  setMissingHandler: Z,
4787
- [Tl]: dn
4796
+ [Ll]: dn
4788
4797
  };
4789
- return V.datetimeFormats = W, V.numberFormats = ne, V.rt = ye, V.te = pn, V.tm = at, V.d = Me, V.n = De, V.getDateTimeFormat = f, V.setDateTimeFormat = d, V.mergeDateTimeFormat = L, V.getNumberFormat = D, V.setNumberFormat = q, V.mergeNumberFormat = Y, V[bo] = n, V[$n] = St, V[jn] = Tt, V[Bn] = fn, process.env.NODE_ENV !== "production" && (V[Hn] = (O) => {
4798
+ return V.datetimeFormats = W, V.numberFormats = ne, V.rt = ye, V.te = pn, V.tm = ct, V.d = Me, V.n = De, V.getDateTimeFormat = f, V.setDateTimeFormat = d, V.mergeDateTimeFormat = L, V.getNumberFormat = D, V.setNumberFormat = q, V.mergeNumberFormat = Y, V[No] = n, V[$n] = St, V[Bn] = Tt, V[jn] = fn, process.env.NODE_ENV !== "production" && (V[Hn] = (O) => {
4790
4799
  _.__v_emitter = O;
4791
4800
  }, V[Wn] = () => {
4792
4801
  _.__v_emitter = void 0;
@@ -4812,7 +4821,7 @@ const dr = {
4812
4821
  type: Object
4813
4822
  }
4814
4823
  };
4815
- function Il({ slots: e }, t) {
4824
+ function Pl({ slots: e }, t) {
4816
4825
  return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, s) => [
4817
4826
  ...r,
4818
4827
  // prettier-ignore
@@ -4822,7 +4831,7 @@ function Il({ slots: e }, t) {
4822
4831
  return s && (n[r] = s()), n;
4823
4832
  }, H());
4824
4833
  }
4825
- function Oo() {
4834
+ function To() {
4826
4835
  return Mt;
4827
4836
  }
4828
4837
  te({
@@ -4835,23 +4844,23 @@ te({
4835
4844
  validator: (e) => ee(e) || !isNaN(e)
4836
4845
  }
4837
4846
  }, dr);
4838
- function Pl(e) {
4847
+ function wl(e) {
4839
4848
  return J(e) && !w(e[0]);
4840
4849
  }
4841
- function So(e, t, n, r) {
4850
+ function Lo(e, t, n, r) {
4842
4851
  const { slots: s, attrs: o } = t;
4843
4852
  return () => {
4844
4853
  const i = { part: !0 };
4845
4854
  let a = H();
4846
- e.locale && (i.locale = e.locale), w(e.format) ? i.key = e.format : j(e.format) && (w(e.format.key) && (i.key = e.format.key), a = Object.keys(e.format).reduce((g, A) => n.includes(A) ? te(H(), g, { [A]: e.format[A] }) : g, H()));
4855
+ e.locale && (i.locale = e.locale), w(e.format) ? i.key = e.format : B(e.format) && (w(e.format.key) && (i.key = e.format.key), a = Object.keys(e.format).reduce((g, A) => n.includes(A) ? te(H(), g, { [A]: e.format[A] }) : g, H()));
4847
4856
  const c = r(e.value, i, a);
4848
4857
  let u = [i.key];
4849
4858
  J(c) ? u = c.map((g, A) => {
4850
4859
  const E = s[g.type], b = E ? E({ [g.type]: g.value, index: A, parts: c }) : [g.value];
4851
- return Pl(b) && (b[0].key = `${g.type}-${A}`), b;
4860
+ return wl(b) && (b[0].key = `${g.type}-${A}`), b;
4852
4861
  }) : w(c) && (u = [c]);
4853
- const l = te(H(), o), p = w(e.tag) || j(e.tag) ? e.tag : Oo();
4854
- return Ns(p, l, u);
4862
+ const l = te(H(), o), p = w(e.tag) || B(e.tag) ? e.tag : To();
4863
+ return Ss(p, l, u);
4855
4864
  };
4856
4865
  }
4857
4866
  te({
@@ -4863,52 +4872,52 @@ te({
4863
4872
  type: [String, Object]
4864
4873
  }
4865
4874
  }, dr);
4866
- const wl = /* @__PURE__ */ Pe("global-vue-i18n");
4875
+ const Dl = /* @__PURE__ */ Pe("global-vue-i18n");
4867
4876
  function an(e = {}) {
4868
4877
  const t = fr();
4869
4878
  if (t == null)
4870
4879
  throw Et(re.MUST_BE_CALL_SETUP_TOP);
4871
4880
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
4872
4881
  throw Et(re.NOT_INSTALLED);
4873
- const n = Dl(t), r = Fl(n), s = No(t), o = kl(e, s);
4882
+ const n = kl(t), r = Ul(n), s = So(t), o = Fl(e, s);
4874
4883
  if (o === "global")
4875
- return Al(r, e, s), r;
4884
+ return vl(r, e, s), r;
4876
4885
  if (o === "parent") {
4877
- let c = Ul(n, t, e.__useComponent);
4886
+ let c = Ml(n, t, e.__useComponent);
4878
4887
  return c == null && (process.env.NODE_ENV !== "production" && Le(Gt(Te.NOT_FOUND_PARENT_SCOPE)), c = r), c;
4879
4888
  }
4880
4889
  const i = n;
4881
4890
  let a = i.__getInstance(t);
4882
4891
  if (a == null) {
4883
4892
  const c = te({}, e);
4884
- "__i18n" in s && (c.__i18n = s.__i18n), r && (c.__root = r), a = Rl(c), i.__composerExtend && (a[qn] = i.__composerExtend(a)), xl(i, t, a), i.__setInstance(t, a);
4893
+ "__i18n" in s && (c.__i18n = s.__i18n), r && (c.__root = r), a = Il(c), i.__composerExtend && (a[qn] = i.__composerExtend(a)), Vl(i, t, a), i.__setInstance(t, a);
4885
4894
  } else
4886
4895
  process.env.NODE_ENV !== "production" && o === "local" && Le(Gt(Te.DUPLICATE_USE_I18N_CALLING));
4887
4896
  return a;
4888
4897
  }
4889
- function Dl(e) {
4890
- const t = Ut(e.isCE ? wl : e.appContext.app.__VUE_I18N_SYMBOL__);
4898
+ function kl(e) {
4899
+ const t = Ut(e.isCE ? Dl : e.appContext.app.__VUE_I18N_SYMBOL__);
4891
4900
  if (!t)
4892
4901
  throw Et(e.isCE ? re.NOT_INSTALLED_WITH_PROVIDE : re.UNEXPECTED_ERROR);
4893
4902
  return t;
4894
4903
  }
4895
- function kl(e, t) {
4904
+ function Fl(e, t) {
4896
4905
  return rn(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
4897
4906
  }
4898
- function Fl(e) {
4907
+ function Ul(e) {
4899
4908
  return e.mode === "composition" ? e.global : e.global.__composer;
4900
4909
  }
4901
- function Ul(e, t, n = !1) {
4910
+ function Ml(e, t, n = !1) {
4902
4911
  let r = null;
4903
4912
  const s = t.root;
4904
- let o = Ml(t, n);
4913
+ let o = xl(t, n);
4905
4914
  for (; o != null; ) {
4906
4915
  const i = e;
4907
4916
  if (e.mode === "composition")
4908
4917
  r = i.__getInstance(o);
4909
4918
  else if (__VUE_I18N_LEGACY_API__) {
4910
4919
  const a = i.__getInstance(o);
4911
- a != null && (r = a.__composer, n && r && !r[bo] && (r = null));
4920
+ a != null && (r = a.__composer, n && r && !r[No] && (r = null));
4912
4921
  }
4913
4922
  if (r != null || s === o)
4914
4923
  break;
@@ -4916,18 +4925,18 @@ function Ul(e, t, n = !1) {
4916
4925
  }
4917
4926
  return r;
4918
4927
  }
4919
- function Ml(e, t = !1) {
4928
+ function xl(e, t = !1) {
4920
4929
  return e == null ? null : t && e.vnode.ctx || e.parent;
4921
4930
  }
4922
- function xl(e, t, n) {
4931
+ function Vl(e, t, n) {
4923
4932
  let r = null;
4924
- qo(() => {
4933
+ Ns(() => {
4925
4934
  if (process.env.NODE_ENV !== "production") {
4926
- t.__VUE_I18N__ = n, r = Wa();
4935
+ t.__VUE_I18N__ = n, r = qa();
4927
4936
  const s = n;
4928
4937
  s[Hn] && s[Hn](r), r.on("*", ps);
4929
4938
  }
4930
- }, t), Go(() => {
4939
+ }, t), Os(() => {
4931
4940
  const s = n;
4932
4941
  process.env.NODE_ENV !== "production" && (r && r.off("*", ps), s[Wn] && s[Wn](), delete t.__VUE_I18N__), e.__deleteInstance(t);
4933
4942
  const o = s[qn];
@@ -4943,17 +4952,17 @@ te({
4943
4952
  type: [String, Object]
4944
4953
  }
4945
4954
  }, dr);
4946
- Ol();
4947
- el(wc);
4948
- tl(Xc);
4949
- nl(oo);
4955
+ Sl();
4956
+ tl(Dc);
4957
+ nl(Jc);
4958
+ rl(ao);
4950
4959
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
4951
4960
  const e = He();
4952
- e.__INTLIFY__ = !0, Dc(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
4961
+ e.__INTLIFY__ = !0, kc(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
4953
4962
  }
4954
4963
  process.env.NODE_ENV;
4955
4964
  let Yt = null;
4956
- function cf(e) {
4965
+ function lf(e) {
4957
4966
  if (Yt !== null) {
4958
4967
  console.warn(
4959
4968
  "[LinID CoreLib] I18n has already been initialized. Re-initialization is ignored."
@@ -4962,17 +4971,17 @@ function cf(e) {
4962
4971
  }
4963
4972
  Yt = e;
4964
4973
  }
4965
- function Vl() {
4974
+ function $l() {
4966
4975
  if (Yt === null)
4967
4976
  throw new Error(
4968
4977
  "[LinID CoreLib] I18n is not initialized. Call setI18nInstance() first."
4969
4978
  );
4970
4979
  return Yt;
4971
4980
  }
4972
- function $l(e) {
4981
+ function Bl(e) {
4973
4982
  const { t, te: n, tm: r } = an({
4974
4983
  useScope: "global",
4975
- __i18n: Vl().global
4984
+ __i18n: $l().global
4976
4985
  });
4977
4986
  function s(...c) {
4978
4987
  const [u, l, p] = c;
@@ -4998,16 +5007,16 @@ const jl = /* @__PURE__ */ new Set([
4998
5007
  xr.BadRequest,
4999
5008
  xr.NotFound
5000
5009
  ]);
5001
- function Bl(e) {
5010
+ function Hl(e) {
5002
5011
  return z.isAxiosError(e) && e.response?.status != null && jl.has(e.response.status);
5003
5012
  }
5004
- function Hl(e, t) {
5005
- const { t: n } = $l(`${e}.fields.${t}`);
5013
+ function Wl(e, t) {
5014
+ const { t: n } = Bl(`${e}.fields.${t}`);
5006
5015
  async function r(l) {
5007
5016
  try {
5008
- return await wa(e, t, l), !0;
5017
+ return await Da(e, t, l), !0;
5009
5018
  } catch (p) {
5010
- return Bl(p) ? p.response.data.error : n("validation.unknownError");
5019
+ return Hl(p) ? p.response.data.error : n("validation.unknownError");
5011
5020
  }
5012
5021
  }
5013
5022
  function s(l) {
@@ -5081,13 +5090,13 @@ function Xn(e, t, n) {
5081
5090
  function Ce(e) {
5082
5091
  return typeof e == "function";
5083
5092
  }
5084
- function To(e) {
5093
+ function Ao(e) {
5085
5094
  var t = function(r) {
5086
5095
  Error.call(r), r.stack = new Error().stack;
5087
5096
  }, n = e(t);
5088
5097
  return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
5089
5098
  }
5090
- var Ln = To(function(e) {
5099
+ var Ln = Ao(function(e) {
5091
5100
  return function(n) {
5092
5101
  e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
5093
5102
  ` + n.map(function(r, s) {
@@ -5190,16 +5199,16 @@ var ln = (function() {
5190
5199
  var t = new e();
5191
5200
  return t.closed = !0, t;
5192
5201
  })(), e;
5193
- })(), Lo = ln.EMPTY;
5194
- function Ao(e) {
5202
+ })(), vo = ln.EMPTY;
5203
+ function Co(e) {
5195
5204
  return e instanceof ln || e && "closed" in e && Ce(e.remove) && Ce(e.add) && Ce(e.unsubscribe);
5196
5205
  }
5197
5206
  function ms(e) {
5198
5207
  Ce(e) ? e() : e.unsubscribe();
5199
5208
  }
5200
- var Wl = {
5209
+ var ql = {
5201
5210
  Promise: void 0
5202
- }, ql = {
5211
+ }, Gl = {
5203
5212
  setTimeout: function(e, t) {
5204
5213
  for (var n = [], r = 2; r < arguments.length; r++)
5205
5214
  n[r - 2] = arguments[r];
@@ -5210,8 +5219,8 @@ var Wl = {
5210
5219
  },
5211
5220
  delegate: void 0
5212
5221
  };
5213
- function Gl(e) {
5214
- ql.setTimeout(function() {
5222
+ function Yl(e) {
5223
+ Gl.setTimeout(function() {
5215
5224
  throw e;
5216
5225
  });
5217
5226
  }
@@ -5220,11 +5229,11 @@ function _s() {
5220
5229
  function Ft(e) {
5221
5230
  e();
5222
5231
  }
5223
- var vo = (function(e) {
5232
+ var Ro = (function(e) {
5224
5233
  cn(t, e);
5225
5234
  function t(n) {
5226
5235
  var r = e.call(this) || this;
5227
- return r.isStopped = !1, n ? (r.destination = n, Ao(n) && n.add(r)) : r.destination = Xl, r;
5236
+ return r.isStopped = !1, n ? (r.destination = n, Co(n) && n.add(r)) : r.destination = Jl, r;
5228
5237
  }
5229
5238
  return t.create = function(n, r, s) {
5230
5239
  return new zn(n, r, s);
@@ -5251,7 +5260,7 @@ var vo = (function(e) {
5251
5260
  this.unsubscribe();
5252
5261
  }
5253
5262
  }, t;
5254
- })(ln), Yl = (function() {
5263
+ })(ln), Kl = (function() {
5255
5264
  function e(t) {
5256
5265
  this.partialObserver = t;
5257
5266
  }
@@ -5290,29 +5299,29 @@ var vo = (function(e) {
5290
5299
  next: n ?? void 0,
5291
5300
  error: r ?? void 0,
5292
5301
  complete: s ?? void 0
5293
- } : i = n, o.destination = new Yl(i), o;
5302
+ } : i = n, o.destination = new Kl(i), o;
5294
5303
  }
5295
5304
  return t;
5296
- })(vo);
5305
+ })(Ro);
5297
5306
  function It(e) {
5298
- Gl(e);
5307
+ Yl(e);
5299
5308
  }
5300
- function Kl(e) {
5309
+ function Xl(e) {
5301
5310
  throw e;
5302
5311
  }
5303
- var Xl = {
5312
+ var Jl = {
5304
5313
  closed: !0,
5305
5314
  next: _s,
5306
- error: Kl,
5315
+ error: Xl,
5307
5316
  complete: _s
5308
- }, Jl = (function() {
5317
+ }, zl = (function() {
5309
5318
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
5310
5319
  })();
5311
- function zl(e) {
5320
+ function Ql(e) {
5312
5321
  return e;
5313
5322
  }
5314
- function Ql(e) {
5315
- return e.length === 0 ? zl : e.length === 1 ? e[0] : function(n) {
5323
+ function Zl(e) {
5324
+ return e.length === 0 ? Ql : e.length === 1 ? e[0] : function(n) {
5316
5325
  return e.reduce(function(r, s) {
5317
5326
  return s(r);
5318
5327
  }, n);
@@ -5326,7 +5335,7 @@ var hs = (function() {
5326
5335
  var n = new e();
5327
5336
  return n.source = this, n.operator = t, n;
5328
5337
  }, e.prototype.subscribe = function(t, n, r) {
5329
- var s = this, o = eu(t) ? t : new zn(t, n, r);
5338
+ var s = this, o = tu(t) ? t : new zn(t, n, r);
5330
5339
  return Ft(function() {
5331
5340
  var i = s, a = i.operator, c = i.source;
5332
5341
  o.add(a ? a.call(o, c) : c ? s._subscribe(o) : s._trySubscribe(o));
@@ -5356,12 +5365,12 @@ var hs = (function() {
5356
5365
  }, e.prototype._subscribe = function(t) {
5357
5366
  var n;
5358
5367
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
5359
- }, e.prototype[Jl] = function() {
5368
+ }, e.prototype[zl] = function() {
5360
5369
  return this;
5361
5370
  }, e.prototype.pipe = function() {
5362
5371
  for (var t = [], n = 0; n < arguments.length; n++)
5363
5372
  t[n] = arguments[n];
5364
- return Ql(t)(this);
5373
+ return Zl(t)(this);
5365
5374
  }, e.prototype.toPromise = function(t) {
5366
5375
  var n = this;
5367
5376
  return t = Es(t), new t(function(r, s) {
@@ -5380,19 +5389,19 @@ var hs = (function() {
5380
5389
  })();
5381
5390
  function Es(e) {
5382
5391
  var t;
5383
- return (t = e ?? Wl.Promise) !== null && t !== void 0 ? t : Promise;
5392
+ return (t = e ?? ql.Promise) !== null && t !== void 0 ? t : Promise;
5384
5393
  }
5385
- function Zl(e) {
5394
+ function eu(e) {
5386
5395
  return e && Ce(e.next) && Ce(e.error) && Ce(e.complete);
5387
5396
  }
5388
- function eu(e) {
5389
- return e && e instanceof vo || Zl(e) && Ao(e);
5397
+ function tu(e) {
5398
+ return e && e instanceof Ro || eu(e) && Co(e);
5390
5399
  }
5391
- var tu = To(function(e) {
5400
+ var nu = Ao(function(e) {
5392
5401
  return function() {
5393
5402
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
5394
5403
  };
5395
- }), Co = (function(e) {
5404
+ }), Io = (function(e) {
5396
5405
  cn(t, e);
5397
5406
  function t() {
5398
5407
  var n = e.call(this) || this;
@@ -5403,7 +5412,7 @@ var tu = To(function(e) {
5403
5412
  return r.operator = n, r;
5404
5413
  }, t.prototype._throwIfClosed = function() {
5405
5414
  if (this.closed)
5406
- throw new tu();
5415
+ throw new nu();
5407
5416
  }, t.prototype.next = function(n) {
5408
5417
  var r = this;
5409
5418
  Ft(function() {
@@ -5459,7 +5468,7 @@ var tu = To(function(e) {
5459
5468
  return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
5460
5469
  }, t.prototype._innerSubscribe = function(n) {
5461
5470
  var r = this, s = this, o = s.hasError, i = s.isStopped, a = s.observers;
5462
- return o || i ? Lo : (this.currentObservers = null, a.push(n), new ln(function() {
5471
+ return o || i ? vo : (this.currentObservers = null, a.push(n), new ln(function() {
5463
5472
  r.currentObservers = null, Jn(a, n);
5464
5473
  }));
5465
5474
  }, t.prototype._checkFinalizedStatuses = function(n) {
@@ -5488,20 +5497,39 @@ var tu = To(function(e) {
5488
5497
  (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
5489
5498
  }, t.prototype._subscribe = function(n) {
5490
5499
  var r, s;
5491
- return (s = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && s !== void 0 ? s : Lo;
5500
+ return (s = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && s !== void 0 ? s : vo;
5492
5501
  }, t;
5493
- })(Co);
5494
- const nu = new Co();
5495
- function lf() {
5502
+ })(Io);
5503
+ const Po = new Io();
5504
+ function uf() {
5496
5505
  function e(t) {
5497
- nu.next({
5506
+ Po.next({
5498
5507
  key: "notify",
5499
5508
  data: t
5500
5509
  });
5501
5510
  }
5502
5511
  return { Notify: e };
5503
5512
  }
5504
- function uf() {
5513
+ function ff(e, t) {
5514
+ const n = et(!1);
5515
+ let r;
5516
+ function s(o) {
5517
+ if (o.key !== e)
5518
+ return;
5519
+ const i = o.data;
5520
+ if (i.type === "close") {
5521
+ n.value = !1;
5522
+ return;
5523
+ }
5524
+ n.value = !0, t?.(i);
5525
+ }
5526
+ return Ns(() => {
5527
+ r = Po.subscribe(s);
5528
+ }), Os(() => {
5529
+ r?.unsubscribe();
5530
+ }), { show: n };
5531
+ }
5532
+ function df() {
5505
5533
  function e(n) {
5506
5534
  return {
5507
5535
  page: (n.page || 1) - 1,
@@ -5523,7 +5551,7 @@ function uf() {
5523
5551
  };
5524
5552
  }
5525
5553
  function ru(e, t) {
5526
- const { validateFromApi: n, required: r, minLength: s, maxLength: o, min: i, max: a, pattern: c } = Hl(e, t);
5554
+ const { validateFromApi: n, required: r, minLength: s, maxLength: o, min: i, max: a, pattern: c } = Wl(e, t);
5527
5555
  return {
5528
5556
  validateFromApi: n,
5529
5557
  required: r,
@@ -5534,7 +5562,7 @@ function ru(e, t) {
5534
5562
  pattern: (u) => (l) => c(l, u)
5535
5563
  };
5536
5564
  }
5537
- function ff(e, t, n) {
5565
+ function pf(e, t, n) {
5538
5566
  if (!t.hasValidations)
5539
5567
  return [];
5540
5568
  const { required: r, validateFromApi: s, ...o } = ru(e, t.name), i = n.filter((a) => t.inputSettings?.[a] != null).map(
@@ -5549,7 +5577,7 @@ function ff(e, t, n) {
5549
5577
  ];
5550
5578
  }
5551
5579
  let Kt = null;
5552
- function df(e) {
5580
+ function mf(e) {
5553
5581
  if (Kt !== null) {
5554
5582
  console.warn(
5555
5583
  "[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
@@ -5821,6 +5849,26 @@ const ou = [
5821
5849
  "virtualScrollItemSize",
5822
5850
  "virtualScrollStickySizeStart",
5823
5851
  "virtualScrollStickySizeEnd"
5852
+ ], Su = [
5853
+ "persistent",
5854
+ "noEscDismiss",
5855
+ "noBackdropDismiss",
5856
+ "noRouteDismiss",
5857
+ "autoClose",
5858
+ "noRefocus",
5859
+ "noFocus",
5860
+ "noShake",
5861
+ "allowFocusOutside",
5862
+ "seamless",
5863
+ "maximized",
5864
+ "fullWidth",
5865
+ "fullHeight",
5866
+ "position",
5867
+ "backdropFilter",
5868
+ "square",
5869
+ "transitionShow",
5870
+ "transitionHide",
5871
+ "transitionDuration"
5824
5872
  ], bs = {
5825
5873
  "q-btn": ou,
5826
5874
  "q-tabs": iu,
@@ -5839,7 +5887,8 @@ const ou = [
5839
5887
  "q-date": bu,
5840
5888
  "q-img": yu,
5841
5889
  "q-file": Nu,
5842
- "q-select": Ou
5890
+ "q-select": Ou,
5891
+ "q-dialog": Su
5843
5892
  };
5844
5893
  function ys(e, t) {
5845
5894
  return t.split(".").reduce((n, r) => {
@@ -5847,7 +5896,7 @@ function ys(e, t) {
5847
5896
  return n[r];
5848
5897
  }, e);
5849
5898
  }
5850
- function Su(e, t, n) {
5899
+ function Tu(e, t, n) {
5851
5900
  let r = ys(e, `${t}.${n}`);
5852
5901
  if (r === void 0 && (r = ys(e, `default.${n}`)), typeof r == "object")
5853
5902
  throw new Error(
@@ -5855,39 +5904,39 @@ function Su(e, t, n) {
5855
5904
  );
5856
5905
  return r;
5857
5906
  }
5858
- function Tu(e) {
5907
+ function Lu(e) {
5859
5908
  if (!(e in bs))
5860
5909
  throw new Error(
5861
5910
  `[UiDesign] The component '${e}' is not supported for UI design retrieval.`
5862
5911
  );
5863
5912
  return bs[e];
5864
5913
  }
5865
- function pf() {
5914
+ function _f() {
5866
5915
  const e = ke(() => su());
5867
5916
  function t(n, r, s) {
5868
- const o = Tu(r), i = {};
5917
+ const o = Lu(r), i = {};
5869
5918
  for (const a of o) {
5870
- const c = s?.[a] ?? Su(e.value, n, `${r}.${String(a)}`);
5919
+ const c = s?.[a] ?? Tu(e.value, n, `${r}.${String(a)}`);
5871
5920
  c !== void 0 && (i[a] = c);
5872
5921
  }
5873
5922
  return i;
5874
5923
  }
5875
5924
  return { ui: t };
5876
5925
  }
5877
- async function Lu() {
5926
+ async function Au() {
5878
5927
  return (await Ie().get("/metadata/entities")).data;
5879
5928
  }
5880
- async function mf(e) {
5929
+ async function hf(e) {
5881
5930
  return (await Ie().get(
5882
5931
  `/metadata/entities/${e}`
5883
5932
  )).data;
5884
5933
  }
5885
- async function Au() {
5934
+ async function vu() {
5886
5935
  return (await Ie().get(
5887
5936
  "/metadata/routes"
5888
5937
  )).data;
5889
5938
  }
5890
- const _f = () => vu(er()), vu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
5939
+ const Ef = () => Cu(er()), Cu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
5891
5940
  state: () => ({
5892
5941
  entities: [],
5893
5942
  apiEndpoints: [],
@@ -5918,8 +5967,8 @@ const _f = () => vu(er()), vu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
5918
5967
  this.loading = !0, this.error = null;
5919
5968
  try {
5920
5969
  const [e, t] = await Promise.all([
5921
- Lu(),
5922
- Au()
5970
+ Au(),
5971
+ vu()
5923
5972
  ]);
5924
5973
  this.entities = e, this.apiEndpoints = t;
5925
5974
  } catch (e) {
@@ -5929,7 +5978,7 @@ const _f = () => vu(er()), vu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
5929
5978
  }
5930
5979
  }
5931
5980
  }
5932
- }), hf = () => Cu(er()), Cu = /* @__PURE__ */ Zn("LinidUiStore", {
5981
+ }), gf = () => Ru(er()), Ru = /* @__PURE__ */ Zn("LinidUiStore", {
5933
5982
  state: () => ({
5934
5983
  mainNavigationItems: []
5935
5984
  }),
@@ -5943,15 +5992,15 @@ const _f = () => vu(er()), vu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
5943
5992
  }
5944
5993
  }
5945
5994
  });
5946
- function Ru(e, t) {
5995
+ function Iu(e, t) {
5947
5996
  if (!Xt(e) || !Xt(t))
5948
5997
  return t;
5949
5998
  const n = { ...e };
5950
5999
  for (const r of Object.keys(t))
5951
- n[r] = Ru(e[r], t[r]);
6000
+ n[r] = Iu(e[r], t[r]);
5952
6001
  return n;
5953
6002
  }
5954
- function Ef(e) {
6003
+ function bf(e) {
5955
6004
  const t = {};
5956
6005
  for (const [n, r] of Object.entries(e)) {
5957
6006
  const s = n.split(".");
@@ -5965,15 +6014,15 @@ function Ef(e) {
5965
6014
  function Xt(e) {
5966
6015
  return typeof e == "object" && e !== null && !Array.isArray(e);
5967
6016
  }
5968
- function Iu(e, t) {
6017
+ function Pu(e, t) {
5969
6018
  return typeof e != "object" || e === null ? e : Object.fromEntries(
5970
6019
  Object.entries(e).map(([n, r]) => {
5971
- const s = t(n), o = Xt(r) ? Iu(r, t) : r;
6020
+ const s = t(n), o = Xt(r) ? Pu(r, t) : r;
5972
6021
  return [s, o];
5973
6022
  })
5974
6023
  );
5975
6024
  }
5976
- function Pu(e, t) {
6025
+ function wu(e, t) {
5977
6026
  if (e === t || typeof e == "number" && typeof t == "number" && Number.isNaN(e) && Number.isNaN(t))
5978
6027
  return !0;
5979
6028
  if (e == null || t == null || typeof e != "object" || typeof t != "object" || Array.isArray(e) !== Array.isArray(t))
@@ -5983,11 +6032,11 @@ function Pu(e, t) {
5983
6032
  return !1;
5984
6033
  const s = e, o = t;
5985
6034
  return n.every(
5986
- (i) => Object.prototype.hasOwnProperty.call(o, i) && Pu(s[i], o[i])
6035
+ (i) => Object.prototype.hasOwnProperty.call(o, i) && wu(s[i], o[i])
5987
6036
  );
5988
6037
  }
5989
- var wu = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(wu || {});
5990
- class gf {
6038
+ var Du = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(Du || {});
6039
+ class yf {
5991
6040
  /**
5992
6041
  * Unique identifier for the module.
5993
6042
  *
@@ -6091,44 +6140,45 @@ class gf {
6091
6140
  }
6092
6141
  }
6093
6142
  export {
6094
- gf as BasicRemoteModule,
6095
- Uu as LinidZoneRenderer,
6096
- wu as ModuleLifecyclePhase,
6097
- Pu as deepEqual,
6098
- af as deleteEntityById,
6099
- Ef as fromDot,
6100
- Au as getApiEndpointsConfiguration,
6101
- sf as getEntities,
6102
- Lu as getEntitiesConfiguration,
6103
- of as getEntityById,
6104
- mf as getEntityConfiguration,
6143
+ yf as BasicRemoteModule,
6144
+ Mu as LinidZoneRenderer,
6145
+ Du as ModuleLifecyclePhase,
6146
+ wu as deepEqual,
6147
+ cf as deleteEntityById,
6148
+ bf as fromDot,
6149
+ vu as getApiEndpointsConfiguration,
6150
+ of as getEntities,
6151
+ Au as getEntitiesConfiguration,
6152
+ af as getEntityById,
6153
+ hf as getEntityConfiguration,
6105
6154
  Ie as getHttpClient,
6106
- Vl as getI18nInstance,
6107
- Jo as getModuleFederation,
6108
- st as getModuleHostConfiguration,
6155
+ $l as getI18nInstance,
6156
+ zo as getModuleFederation,
6157
+ ot as getModuleHostConfiguration,
6109
6158
  er as getPiniaStore,
6110
6159
  su as getUiDesign,
6111
6160
  Xt as isObject,
6112
- zo as loadAsyncComponent,
6113
- Ru as merge,
6114
- tf as registerModuleHostConfiguration,
6115
- Iu as renameKeys,
6116
- nf as saveEntity,
6117
- ef as setHttpClient,
6118
- cf as setI18nInstance,
6119
- ku as setModuleFederation,
6120
- Fu as setPiniaStore,
6121
- df as setUiDesign,
6122
- nu as uiEventSubject,
6123
- rf as updateEntity,
6124
- Hl as useFieldValidation,
6125
- _f as useLinidConfigurationStore,
6126
- hf as useLinidUiStore,
6127
- ti as useLinidZoneStore,
6128
- lf as useNotify,
6129
- uf as usePagination,
6161
+ Qo as loadAsyncComponent,
6162
+ Iu as merge,
6163
+ nf as registerModuleHostConfiguration,
6164
+ Pu as renameKeys,
6165
+ rf as saveEntity,
6166
+ tf as setHttpClient,
6167
+ lf as setI18nInstance,
6168
+ Fu as setModuleFederation,
6169
+ Uu as setPiniaStore,
6170
+ mf as setUiDesign,
6171
+ Po as uiEventSubject,
6172
+ sf as updateEntity,
6173
+ ff as useDialog,
6174
+ Wl as useFieldValidation,
6175
+ Ef as useLinidConfigurationStore,
6176
+ gf as useLinidUiStore,
6177
+ ni as useLinidZoneStore,
6178
+ uf as useNotify,
6179
+ df as usePagination,
6130
6180
  ru as useQuasarFieldValidation,
6131
- ff as useQuasarRules,
6132
- $l as useScopedI18n,
6133
- pf as useUiDesign
6181
+ pf as useQuasarRules,
6182
+ Bl as useScopedI18n,
6183
+ _f as useUiDesign
6134
6184
  };