@linagora/linid-im-front-corelib 0.0.16 → 0.0.18

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 Mt from "vue";
2
- import { defineAsyncComponent as kr, hasInjectionContext as Yt, inject as at, getCurrentInstance as Mr, ref as Be, reactive as Fr, markRaw as xe, effectScope as wr, isRef as Ke, isReactive as rn, toRef as Ft, toRaw as Ur, nextTick as En, computed as ge, getCurrentScope as Vr, onScopeDispose as $r, watch as Gt, toRefs as pn, defineComponent as Ot, watchEffect as Wr, createElementBlock as Nn, openBlock as wt, Fragment as it, renderSlot as Yr, createCommentVNode as Gr, renderList as Hr, createBlock as xr, resolveDynamicComponent as jr, mergeProps as Br, createElementVNode as Kr, shallowRef as Xr, onMounted as Jr, onUnmounted as qr, h as Zn, createVNode as Qr, Text as Zr } from "vue";
2
+ import { defineAsyncComponent as Mr, hasInjectionContext as Gt, inject as at, getCurrentInstance as Fr, ref as Be, reactive as wr, markRaw as xe, effectScope as Ur, isRef as Ke, isReactive as rn, toRef as Ft, toRaw as Vr, nextTick as Nn, computed as ge, getCurrentScope as $r, onScopeDispose as Wr, watch as Yt, toRefs as gn, defineComponent as Ot, watchEffect as Gr, createElementBlock as On, openBlock as wt, Fragment as it, renderSlot as Yr, createCommentVNode as Hr, renderList as xr, createBlock as jr, resolveDynamicComponent as Br, mergeProps as Kr, createElementVNode as Xr, shallowRef as qr, onMounted as Qr, onUnmounted as Jr, h as tr, createVNode as Zr, Text as zr } from "vue";
3
3
  let lt = null;
4
- function Ta(e) {
4
+ function Fa(e) {
5
5
  if (lt !== null) {
6
6
  console.warn(
7
7
  "[LinID CoreLib] Module Federation has already been initialized. Re-initialization is ignored."
@@ -10,23 +10,23 @@ function Ta(e) {
10
10
  }
11
11
  lt = e;
12
12
  }
13
- function zr() {
13
+ function es() {
14
14
  if (lt === null)
15
15
  throw new Error(
16
16
  "[LinID CoreLib] Module Federation is not initialized. Call setModuleFederation() first."
17
17
  );
18
18
  return lt;
19
19
  }
20
- const es = (e) => kr(
21
- () => zr().loadRemote(e).then((t) => {
20
+ const ts = (e) => Mr(
21
+ () => es().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 Me = typeof window < "u";
28
- let Ae;
29
- const ct = (e) => Ae = e;
28
+ let Ce;
29
+ const ct = (e) => Ce = e;
30
30
  process.env.NODE_ENV;
31
31
  const Ht = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
32
32
  /* istanbul ignore next */
@@ -39,31 +39,31 @@ var je;
39
39
  (function(e) {
40
40
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
41
41
  })(je || (je = {}));
42
- function zn(e, t) {
42
+ function nr(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
- ve(s) && ve(r) && !Ke(r) && !rn(r) ? e[n] = zn(s, r) : e[n] = r;
48
+ ve(s) && ve(r) && !Ke(r) && !rn(r) ? e[n] = nr(s, r) : e[n] = r;
49
49
  }
50
50
  return e;
51
51
  }
52
- const er = () => {
52
+ const rr = () => {
53
53
  };
54
- function gn(e, t, n, r = er) {
54
+ function Ln(e, t, n, r = rr) {
55
55
  e.add(t);
56
56
  const s = () => {
57
57
  e.delete(t) && r();
58
58
  };
59
- return !n && Vr() && $r(s), s;
59
+ return !n && $r() && Wr(s), s;
60
60
  }
61
61
  function Re(e, ...t) {
62
62
  e.forEach((n) => {
63
63
  n(...t);
64
64
  });
65
65
  }
66
- const ts = (e) => e(), On = Symbol(), Ut = Symbol();
66
+ const ns = (e) => e(), hn = Symbol(), Ut = Symbol();
67
67
  function xt(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,26 +74,26 @@ function xt(e, t) {
74
74
  }
75
75
  return e;
76
76
  }
77
- const ns = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
77
+ const rs = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
78
78
  /* istanbul ignore next */
79
79
  Symbol()
80
80
  );
81
- function rs(e) {
82
- return !ve(e) || !Object.prototype.hasOwnProperty.call(e, ns);
81
+ function ss(e) {
82
+ return !ve(e) || !Object.prototype.hasOwnProperty.call(e, rs);
83
83
  }
84
84
  const { assign: re } = Object;
85
- function Ln(e) {
85
+ function Tn(e) {
86
86
  return !!(Ke(e) && e.effect);
87
87
  }
88
- function hn(e, t, n, r) {
88
+ function In(e, t, n, r) {
89
89
  const { state: s, actions: o, getters: i } = t, c = n.state.value[e];
90
90
  let u;
91
91
  function p() {
92
92
  !c && (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
- pn(Be(s ? s() : {}).value)
96
- ) : pn(n.state.value[e]);
95
+ gn(Be(s ? s() : {}).value)
96
+ ) : gn(n.state.value[e]);
97
97
  return re(L, o, Object.keys(i || {}).reduce((T, 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}".`), T[g] = xe(ge(() => {
98
98
  ct(n);
99
99
  const v = n._s.get(e);
@@ -114,27 +114,27 @@ function jt(e, t, n = {}, r, s, o) {
114
114
  let p, L, T = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Set(), v;
115
115
  const R = r.state.value[e];
116
116
  !o && !R && (process.env.NODE_ENV === "production" || !s) && (r.state.value[e] = {});
117
- const y = Be({});
117
+ const S = Be({});
118
118
  let P;
119
119
  function _(b) {
120
- let C;
121
- p = L = !1, process.env.NODE_ENV !== "production" && (v = []), typeof b == "function" ? (b(r.state.value[e]), C = {
120
+ let A;
121
+ p = L = !1, process.env.NODE_ENV !== "production" && (v = []), typeof b == "function" ? (b(r.state.value[e]), A = {
122
122
  type: je.patchFunction,
123
123
  storeId: e,
124
124
  events: v
125
- }) : (xt(r.state.value[e], b), C = {
125
+ }) : (xt(r.state.value[e], b), A = {
126
126
  type: je.patchObject,
127
127
  payload: b,
128
128
  storeId: e,
129
129
  events: v
130
130
  });
131
131
  const M = P = Symbol();
132
- En().then(() => {
132
+ Nn().then(() => {
133
133
  P === M && (p = !0);
134
- }), L = !0, Re(T, C, r.state.value[e]);
134
+ }), L = !0, Re(T, A, r.state.value[e]);
135
135
  }
136
136
  const E = o ? function() {
137
- const { state: C } = n, M = C ? C() : {};
137
+ const { state: A } = n, M = A ? A() : {};
138
138
  this.$patch((X) => {
139
139
  re(X, M);
140
140
  });
@@ -142,14 +142,14 @@ function jt(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
- } : er
145
+ } : rr
146
146
  );
147
147
  function h() {
148
148
  i.stop(), T.clear(), g.clear(), r._s.delete(e);
149
149
  }
150
- const m = (b, C = "") => {
151
- if (On in b)
152
- return b[Ut] = C, b;
150
+ const m = (b, A = "") => {
151
+ if (hn in b)
152
+ return b[Ut] = A, b;
153
153
  const M = function() {
154
154
  ct(r);
155
155
  const X = Array.from(arguments), fe = /* @__PURE__ */ new Set(), he = /* @__PURE__ */ new Set();
@@ -174,93 +174,93 @@ function jt(e, t, n = {}, r, s, o) {
174
174
  }
175
175
  return _e instanceof Promise ? _e.then((Z) => (Re(fe, Z), Z)).catch((Z) => (Re(he, Z), Promise.reject(Z))) : (Re(fe, _e), _e);
176
176
  };
177
- return M[On] = !0, M[Ut] = C, M;
177
+ return M[hn] = !0, M[Ut] = A, M;
178
178
  }, I = /* @__PURE__ */ xe({
179
179
  actions: {},
180
180
  getters: {},
181
181
  state: [],
182
- hotState: y
183
- }), A = {
182
+ hotState: S
183
+ }), C = {
184
184
  _p: r,
185
185
  // _s: scope,
186
186
  $id: e,
187
- $onAction: gn.bind(null, g),
187
+ $onAction: Ln.bind(null, g),
188
188
  $patch: _,
189
189
  $reset: E,
190
- $subscribe(b, C = {}) {
191
- const M = gn(T, b, C.detached, () => X()), X = i.run(() => Gt(() => r.state.value[e], (fe) => {
192
- (C.flush === "sync" ? L : p) && b({
190
+ $subscribe(b, A = {}) {
191
+ const M = Ln(T, b, A.detached, () => X()), X = i.run(() => Yt(() => r.state.value[e], (fe) => {
192
+ (A.flush === "sync" ? L : p) && b({
193
193
  storeId: e,
194
194
  type: je.direct,
195
195
  events: v
196
196
  }, fe);
197
- }, re({}, u, C)));
197
+ }, re({}, u, A)));
198
198
  return M;
199
199
  },
200
200
  $dispose: h
201
- }, f = Fr(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Me ? re(
201
+ }, f = wr(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Me ? re(
202
202
  {
203
203
  _hmrPayload: I,
204
204
  _customProperties: xe(/* @__PURE__ */ new Set())
205
205
  // devtools custom properties
206
206
  },
207
- A
207
+ C
208
208
  // must be added later
209
209
  // setupStore
210
- ) : A);
210
+ ) : C);
211
211
  r._s.set(e, f);
212
- const F = (r._a && r._a.runWithContext || ts)(() => r._e.run(() => (i = wr()).run(() => t({ action: m }))));
212
+ const F = (r._a && r._a.runWithContext || ns)(() => r._e.run(() => (i = Ur()).run(() => t({ action: m }))));
213
213
  for (const b in F) {
214
- const C = F[b];
215
- if (Ke(C) && !Ln(C) || rn(C))
216
- process.env.NODE_ENV !== "production" && s ? y.value[b] = Ft(F, b) : o || (R && rs(C) && (Ke(C) ? C.value = R[b] : xt(C, R[b])), r.state.value[e][b] = C), process.env.NODE_ENV !== "production" && I.state.push(b);
217
- else if (typeof C == "function") {
218
- const M = process.env.NODE_ENV !== "production" && s ? C : m(C, b);
219
- F[b] = M, process.env.NODE_ENV !== "production" && (I.actions[b] = C), c.actions[b] = C;
220
- } else process.env.NODE_ENV !== "production" && Ln(C) && (I.getters[b] = o ? (
214
+ const A = F[b];
215
+ if (Ke(A) && !Tn(A) || rn(A))
216
+ process.env.NODE_ENV !== "production" && s ? S.value[b] = Ft(F, b) : o || (R && ss(A) && (Ke(A) ? A.value = R[b] : xt(A, R[b])), r.state.value[e][b] = A), process.env.NODE_ENV !== "production" && I.state.push(b);
217
+ else if (typeof A == "function") {
218
+ const M = process.env.NODE_ENV !== "production" && s ? A : m(A, b);
219
+ F[b] = M, process.env.NODE_ENV !== "production" && (I.actions[b] = A), c.actions[b] = A;
220
+ } else process.env.NODE_ENV !== "production" && Tn(A) && (I.getters[b] = o ? (
221
221
  // @ts-expect-error
222
222
  n.getters[b]
223
- ) : C, Me && (F._getters || // @ts-expect-error: same
223
+ ) : A, Me && (F._getters || // @ts-expect-error: same
224
224
  (F._getters = xe([]))).push(b));
225
225
  }
226
- if (re(f, F), re(Ur(f), F), Object.defineProperty(f, "$state", {
227
- get: () => process.env.NODE_ENV !== "production" && s ? y.value : r.state.value[e],
226
+ if (re(f, F), re(Vr(f), F), Object.defineProperty(f, "$state", {
227
+ get: () => process.env.NODE_ENV !== "production" && s ? S.value : r.state.value[e],
228
228
  set: (b) => {
229
229
  if (process.env.NODE_ENV !== "production" && s)
230
230
  throw new Error("cannot set hotState");
231
- _((C) => {
232
- re(C, b);
231
+ _((A) => {
232
+ re(A, b);
233
233
  });
234
234
  }
235
235
  }), process.env.NODE_ENV !== "production" && (f._hotUpdate = xe((b) => {
236
- f._hotUpdating = !0, b._hmrPayload.state.forEach((C) => {
237
- if (C in f.$state) {
238
- const M = b.$state[C], X = f.$state[C];
239
- typeof M == "object" && ve(M) && ve(X) ? zn(M, X) : b.$state[C] = X;
236
+ f._hotUpdating = !0, b._hmrPayload.state.forEach((A) => {
237
+ if (A in f.$state) {
238
+ const M = b.$state[A], X = f.$state[A];
239
+ typeof M == "object" && ve(M) && ve(X) ? nr(M, X) : b.$state[A] = X;
240
240
  }
241
- f[C] = Ft(b.$state, C);
242
- }), Object.keys(f.$state).forEach((C) => {
243
- C in b.$state || delete f[C];
244
- }), p = !1, L = !1, r.state.value[e] = Ft(b._hmrPayload, "hotState"), L = !0, En().then(() => {
241
+ f[A] = Ft(b.$state, A);
242
+ }), Object.keys(f.$state).forEach((A) => {
243
+ A in b.$state || delete f[A];
244
+ }), p = !1, L = !1, r.state.value[e] = Ft(b._hmrPayload, "hotState"), L = !0, Nn().then(() => {
245
245
  p = !0;
246
246
  });
247
- for (const C in b._hmrPayload.actions) {
248
- const M = b[C];
249
- f[C] = //
250
- m(M, C);
247
+ for (const A in b._hmrPayload.actions) {
248
+ const M = b[A];
249
+ f[A] = //
250
+ m(M, A);
251
251
  }
252
- for (const C in b._hmrPayload.getters) {
253
- const M = b._hmrPayload.getters[C], X = o ? (
252
+ for (const A in b._hmrPayload.getters) {
253
+ const M = b._hmrPayload.getters[A], X = o ? (
254
254
  // special handling of options api
255
255
  ge(() => (ct(r), M.call(f, f)))
256
256
  ) : M;
257
- f[C] = //
257
+ f[A] = //
258
258
  X;
259
259
  }
260
- Object.keys(f._hmrPayload.getters).forEach((C) => {
261
- C in b._hmrPayload.getters || delete f[C];
262
- }), Object.keys(f._hmrPayload.actions).forEach((C) => {
263
- C in b._hmrPayload.actions || delete f[C];
260
+ Object.keys(f._hmrPayload.getters).forEach((A) => {
261
+ A in b._hmrPayload.getters || delete f[A];
262
+ }), Object.keys(f._hmrPayload.actions).forEach((A) => {
263
+ A in b._hmrPayload.actions || delete f[A];
264
264
  }), f._hmrPayload = b._hmrPayload, f._getters = b._getters, f._hotUpdating = !1;
265
265
  })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Me) {
266
266
  const b = {
@@ -269,19 +269,19 @@ function jt(e, t, n = {}, r, s, o) {
269
269
  // avoid warning on devtools trying to display this property
270
270
  enumerable: !1
271
271
  };
272
- ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((C) => {
273
- Object.defineProperty(f, C, re({ value: f[C] }, b));
272
+ ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((A) => {
273
+ Object.defineProperty(f, A, re({ value: f[A] }, b));
274
274
  });
275
275
  }
276
276
  return r._p.forEach((b) => {
277
277
  if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Me) {
278
- const C = i.run(() => b({
278
+ const A = i.run(() => b({
279
279
  store: f,
280
280
  app: r._a,
281
281
  pinia: r,
282
282
  options: c
283
283
  }));
284
- Object.keys(C || {}).forEach((M) => f._customProperties.add(M)), re(f, C);
284
+ Object.keys(A || {}).forEach((M) => f._customProperties.add(M)), re(f, A);
285
285
  } else
286
286
  re(f, i.run(() => b({
287
287
  store: f,
@@ -294,26 +294,26 @@ function jt(e, t, n = {}, r, s, o) {
294
294
  Found in store "${f.$id}".`), R && o && n.hydrate && n.hydrate(f.$state, R), p = !0, L = !0, f;
295
295
  }
296
296
  // @__NO_SIDE_EFFECTS__
297
- function tr(e, t, n) {
297
+ function sn(e, t, n) {
298
298
  let r;
299
299
  const s = typeof t == "function";
300
300
  r = s ? n : t;
301
301
  function o(i, c) {
302
- const u = Yt();
302
+ const u = Gt();
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" && Ae && Ae._testing ? null : i) || (u ? at(Ht, null) : null), i && ct(i), process.env.NODE_ENV !== "production" && !Ae)
305
+ (process.env.NODE_ENV === "test" && Ce && Ce._testing ? null : i) || (u ? at(Ht, null) : null), i && ct(i), process.env.NODE_ENV !== "production" && !Ce)
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 = Ae, i._s.has(e) || (s ? jt(e, t, r, i) : hn(e, r, i), process.env.NODE_ENV !== "production" && (o._pinia = i));
309
+ i = Ce, i._s.has(e) || (s ? jt(e, t, r, i) : In(e, r, i), process.env.NODE_ENV !== "production" && (o._pinia = i));
310
310
  const p = i._s.get(e);
311
311
  if (process.env.NODE_ENV !== "production" && c) {
312
- const L = "__hot:" + e, T = s ? jt(L, t, r, i, !0) : hn(L, re({}, r), i, !0);
312
+ const L = "__hot:" + e, T = s ? jt(L, t, r, i, !0) : In(L, re({}, r), i, !0);
313
313
  c._hotUpdate(T), delete i.state.value[L], i._s.delete(L);
314
314
  }
315
315
  if (process.env.NODE_ENV !== "production" && Me) {
316
- const L = Mr();
316
+ const L = Fr();
317
317
  if (L && L.proxy && // avoid adding stores that are just built for hot module replacement
318
318
  !c) {
319
319
  const T = L.proxy, g = "_pStores" in T ? T._pStores : T._pStores = {};
@@ -325,7 +325,7 @@ This will fail in production.`);
325
325
  return o.$id = e, o;
326
326
  }
327
327
  let ut = null;
328
- function Ia(e) {
328
+ function wa(e) {
329
329
  if (ut !== null) {
330
330
  console.warn(
331
331
  "[LinID CoreLib] Pinia store has already been initialized. Re-initialization is ignored."
@@ -334,14 +334,14 @@ function Ia(e) {
334
334
  }
335
335
  ut = e;
336
336
  }
337
- function nr() {
337
+ function on() {
338
338
  if (ut === null)
339
339
  throw new Error(
340
340
  "[LinID CoreLib] Pinia store is not initialized. Call setPiniaStore() first."
341
341
  );
342
342
  return ut;
343
343
  }
344
- const ss = () => os(nr()), os = /* @__PURE__ */ tr("linidZoneStore", {
344
+ const os = () => as(on()), as = /* @__PURE__ */ sn("linidZoneStore", {
345
345
  state: () => ({
346
346
  zones: {}
347
347
  }),
@@ -355,33 +355,33 @@ const ss = () => os(nr()), os = /* @__PURE__ */ tr("linidZoneStore", {
355
355
  this.zones[e] || (this.zones[e] = []), this.zones[e].push(t);
356
356
  }
357
357
  }
358
- }), ba = /* @__PURE__ */ Ot({
358
+ }), Ua = /* @__PURE__ */ Ot({
359
359
  __name: "LinidZoneRenderer",
360
360
  props: {
361
361
  zone: {}
362
362
  },
363
363
  setup(e) {
364
- const t = e, n = ss(), r = Be([]), s = Be(!1);
365
- return Wr(() => {
364
+ const t = e, n = os(), r = Be([]), s = Be(!1);
365
+ return Gr(() => {
366
366
  s.value = !1;
367
367
  const o = n.zones[t.zone] || [];
368
368
  r.value = o.map((i) => ({
369
369
  ...i,
370
- component: es(i.plugin)
370
+ component: ts(i.plugin)
371
371
  })), Promise.resolve().then(() => {
372
372
  s.value = !0;
373
373
  });
374
- }), (o, i) => (wt(), Nn(it, null, [
375
- (wt(!0), Nn(it, null, Hr(r.value, (c, u) => (wt(), xr(jr(c.component), Br({
374
+ }), (o, i) => (wt(), On(it, null, [
375
+ (wt(!0), On(it, null, xr(r.value, (c, u) => (wt(), jr(Br(c.component), Kr({
376
376
  key: c.plugin + u
377
377
  }, { ref_for: !0 }, c.props), null, 16))), 128)),
378
378
  s.value && r.value.length === 0 ? Yr(o.$slots, "default", { key: 0 }, () => [
379
- i[0] || (i[0] = Kr("div", null, "No components to render in this zone.", -1))
380
- ]) : Gr("", !0)
379
+ i[0] || (i[0] = Xr("div", null, "No components to render in this zone.", -1))
380
+ ]) : Hr("", !0)
381
381
  ], 64));
382
382
  }
383
383
  });
384
- function Aa() {
384
+ function Va() {
385
385
  function e(n) {
386
386
  return {
387
387
  page: (n.page || 1) - 1,
@@ -402,60 +402,21 @@ function Aa() {
402
402
  toQuasarPagination: t
403
403
  };
404
404
  }
405
- let ft = null;
406
- function Ca(e) {
407
- if (ft !== null) {
408
- console.warn(
409
- "[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
410
- );
411
- return;
412
- }
413
- ft = e;
414
- }
415
- function as() {
416
- if (ft === null)
417
- throw new Error(
418
- "[LinID CoreLib] UI Design is not initialized. Call setUiDesign() first."
419
- );
420
- return ft;
421
- }
422
- function Tn(e, t) {
423
- return t.split(".").reduce((n, r) => {
424
- if (n && typeof n == "object")
425
- return n[r];
426
- }, e);
427
- }
428
- function va() {
429
- const e = ge(() => as());
430
- function t(n, r) {
431
- let s = Tn(e.value, `${n}.${r}`);
432
- if (s === void 0 && (s = Tn(e.value, `default.${r}`)), s === void 0)
433
- throw new Error(
434
- `[UiDesign] Value not found for '${n}.${r}' and no default fallback.`
435
- );
436
- if (typeof s == "object")
437
- throw new Error(
438
- `[UiDesign] Value for '${n}.${r}' is a nested object or null, expected a primitive.`
439
- );
440
- return s;
441
- }
442
- return { ui: t };
443
- }
444
405
  function ue(e, t) {
445
406
  typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
446
407
  }
447
- const In = {};
408
+ const bn = {};
448
409
  function is(e) {
449
- In[e] || (In[e] = !0, ue(e));
410
+ bn[e] || (bn[e] = !0, ue(e));
450
411
  }
451
412
  const pe = typeof window < "u";
452
- let ne, ye;
413
+ let ne, Se;
453
414
  if (process.env.NODE_ENV !== "production") {
454
415
  const e = pe && window.performance;
455
416
  e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
456
417
  e.clearMeasures && (ne = (t) => {
457
418
  e.mark(t);
458
- }, ye = (t, n, r) => {
419
+ }, Se = (t, n, r) => {
459
420
  e.measure(t, n, r), e.clearMarks(n), e.clearMarks(r);
460
421
  });
461
422
  }
@@ -463,17 +424,17 @@ const ls = /\{([0-9a-zA-Z]+)\}/g;
463
424
  function Lt(e, ...t) {
464
425
  return t.length === 1 && $(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(ls, (n, r) => t.hasOwnProperty(r) ? t[r] : "");
465
426
  }
466
- const Ne = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), cs = (e, t, n) => us({ l: e, k: t, s: n }), us = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), J = (e) => typeof e == "number" && isFinite(e), fs = (e) => sn(e) === "[object Date]", _t = (e) => sn(e) === "[object RegExp]", ht = (e) => V(e) && Object.keys(e).length === 0, q = Object.assign, _s = Object.create, Y = (e = null) => _s(e);
467
- let bn;
468
- const Ce = () => bn || (bn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : Y());
427
+ const Ne = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), cs = (e, t, n) => us({ l: e, k: t, s: n }), us = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), q = (e) => typeof e == "number" && isFinite(e), fs = (e) => an(e) === "[object Date]", ft = (e) => an(e) === "[object RegExp]", ht = (e) => V(e) && Object.keys(e).length === 0, Q = Object.assign, _s = Object.create, G = (e = null) => _s(e);
428
+ let Cn;
429
+ const Ae = () => Cn || (Cn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : G());
469
430
  function An(e) {
470
431
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/\//g, "&#x2F;").replace(/=/g, "&#x3D;");
471
432
  }
472
- function Cn(e) {
433
+ function vn(e) {
473
434
  return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g, "&amp;").replace(/"/g, "&quot;").replace(/'/g, "&apos;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
474
435
  }
475
436
  function ds(e) {
476
- return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, o) => `${s}="${Cn(o)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, o) => `${s}='${Cn(o)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && ue("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")), [
437
+ return e = e.replace(/(\w+)\s*=\s*"([^"]*)"/g, (r, s, o) => `${s}="${vn(o)}"`), e = e.replace(/(\w+)\s*=\s*'([^']*)'/g, (r, s, o) => `${s}='${vn(o)}'`), /\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e) && (process.env.NODE_ENV !== "production" && ue("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")), [
477
438
  // In href, src, action, formaction attributes
478
439
  /(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,
479
440
  // In style attributes within url()
@@ -486,18 +447,18 @@ const ms = Object.prototype.hasOwnProperty;
486
447
  function oe(e, t) {
487
448
  return ms.call(e, t);
488
449
  }
489
- const K = Array.isArray, H = (e) => typeof e == "function", D = (e) => typeof e == "string", B = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", Es = (e) => $(e) && H(e.then) && H(e.catch), rr = Object.prototype.toString, sn = (e) => rr.call(e), V = (e) => sn(e) === "[object Object]", ps = (e) => e == null ? "" : K(e) || V(e) && e.toString === rr ? JSON.stringify(e, null, 2) : String(e);
490
- function on(e, t = "") {
450
+ const K = Array.isArray, H = (e) => typeof e == "function", y = (e) => typeof e == "string", B = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", Es = (e) => $(e) && H(e.then) && H(e.catch), sr = Object.prototype.toString, an = (e) => sr.call(e), V = (e) => an(e) === "[object Object]", ps = (e) => e == null ? "" : K(e) || V(e) && e.toString === sr ? JSON.stringify(e, null, 2) : String(e);
451
+ function ln(e, t = "") {
491
452
  return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
492
453
  }
493
- const vn = 2;
454
+ const Sn = 2;
494
455
  function Ns(e, t = 0, n = e.length) {
495
456
  const r = e.split(/\r?\n/);
496
457
  let s = 0;
497
458
  const o = [];
498
459
  for (let i = 0; i < r.length; i++)
499
460
  if (s += r[i].length + 1, s >= t) {
500
- for (let c = i - vn; c <= i + vn || n > s; c++) {
461
+ for (let c = i - Sn; c <= i + Sn || n > s; c++) {
501
462
  if (c < 0 || c >= r.length)
502
463
  continue;
503
464
  const u = c + 1;
@@ -544,7 +505,7 @@ function ot(e, t) {
544
505
  for (; n.length; ) {
545
506
  const { src: r, des: s } = n.pop();
546
507
  Object.keys(r).forEach((o) => {
547
- o !== "__proto__" && ($(r[o]) && !$(s[o]) && (s[o] = Array.isArray(r[o]) ? [] : Y()), nt(s[o]) || nt(r[o]) ? s[o] = r[o] : n.push({ src: r[o], des: s[o] }));
508
+ o !== "__proto__" && ($(r[o]) && !$(s[o]) && (s[o] = Array.isArray(r[o]) ? [] : G()), nt(s[o]) || nt(r[o]) ? s[o] = r[o] : n.push({ src: r[o], des: s[o] }));
548
509
  });
549
510
  }
550
511
  }
@@ -604,12 +565,12 @@ function we(e, t, n = {}) {
604
565
  function Ts(e) {
605
566
  throw e;
606
567
  }
607
- const Is = /<\/?[\w\s="/.':;#-\/]+>/, bs = (e) => Is.test(e), ie = " ", As = "\r", z = `
608
- `, Cs = "\u2028", vs = "\u2029";
609
- function ys(e) {
568
+ const Is = /<\/?[\w\s="/.':;#-\/]+>/, bs = (e) => Is.test(e), ie = " ", Cs = "\r", z = `
569
+ `, As = "\u2028", vs = "\u2029";
570
+ function Ss(e) {
610
571
  const t = e;
611
572
  let n = 0, r = 1, s = 1, o = 0;
612
- const i = (f) => t[f] === As && t[f + 1] === z, c = (f) => t[f] === z, u = (f) => t[f] === vs, p = (f) => t[f] === Cs, L = (f) => i(f) || c(f) || u(f) || p(f), T = () => n, g = () => r, v = () => s, R = () => o, y = (f) => i(f) || u(f) || p(f) ? z : t[f], P = () => y(n), _ = () => y(n + o);
573
+ const i = (f) => t[f] === Cs && t[f + 1] === z, c = (f) => t[f] === z, u = (f) => t[f] === vs, p = (f) => t[f] === As, L = (f) => i(f) || c(f) || u(f) || p(f), T = () => n, g = () => r, v = () => s, R = () => o, S = (f) => i(f) || u(f) || p(f) ? z : t[f], P = () => S(n), _ = () => S(n + o);
613
574
  function E() {
614
575
  return o = 0, L(n) && (r++, s = 0), i(n) && n++, n++, s++, t[n];
615
576
  }
@@ -622,7 +583,7 @@ function ys(e) {
622
583
  function I(f = 0) {
623
584
  o = f;
624
585
  }
625
- function A() {
586
+ function C() {
626
587
  const f = n + o;
627
588
  for (; f !== n; )
628
589
  E();
@@ -633,19 +594,19 @@ function ys(e) {
633
594
  line: g,
634
595
  column: v,
635
596
  peekOffset: R,
636
- charAt: y,
597
+ charAt: S,
637
598
  currentChar: P,
638
599
  currentPeek: _,
639
600
  next: E,
640
601
  peek: h,
641
602
  reset: m,
642
603
  resetPeek: I,
643
- skipToPeek: A
604
+ skipToPeek: C
644
605
  };
645
606
  }
646
- const me = void 0, Ds = ".", yn = "'", Ss = "tokenizer";
607
+ const me = void 0, ys = ".", yn = "'", Ds = "tokenizer";
647
608
  function Ps(e, t = {}) {
648
- const n = t.location !== !1, r = ys(e), s = () => r.index(), o = () => Os(r.line(), r.column(), r.index()), i = o(), c = s(), u = {
609
+ const n = t.location !== !1, r = Ss(e), s = () => r.index(), o = () => Os(r.line(), r.column(), r.index()), i = o(), c = s(), u = {
649
610
  currentType: 13,
650
611
  offset: c,
651
612
  startLoc: i,
@@ -658,20 +619,20 @@ function Ps(e, t = {}) {
658
619
  inLinked: !1,
659
620
  text: ""
660
621
  }, p = () => u, { onError: L } = t;
661
- function T(a, l, N, ...S) {
662
- const G = p();
622
+ function T(a, l, N, ...D) {
623
+ const Y = p();
663
624
  if (l.column += N, l.offset += N, L) {
664
- const x = n ? Bt(G.startLoc, l) : null, U = we(a, x, {
665
- domain: Ss,
666
- args: S
625
+ const x = n ? Bt(Y.startLoc, l) : null, U = we(a, x, {
626
+ domain: Ds,
627
+ args: D
667
628
  });
668
629
  L(U);
669
630
  }
670
631
  }
671
632
  function g(a, l, N) {
672
633
  a.endLoc = o(), a.currentType = l;
673
- const S = { type: l };
674
- return n && (S.loc = Bt(a.startLoc, a.endLoc)), N != null && (S.value = N), S;
634
+ const D = { type: l };
635
+ return n && (D.loc = Bt(a.startLoc, a.endLoc)), N != null && (D.value = N), D;
675
636
  }
676
637
  const v = (a) => g(
677
638
  a,
@@ -681,14 +642,14 @@ function Ps(e, t = {}) {
681
642
  function R(a, l) {
682
643
  return a.currentChar() === l ? (a.next(), l) : (T(k.EXPECTED_TOKEN, o(), 0, l), "");
683
644
  }
684
- function y(a) {
645
+ function S(a) {
685
646
  let l = "";
686
647
  for (; a.currentPeek() === ie || a.currentPeek() === z; )
687
648
  l += a.currentPeek(), a.peek();
688
649
  return l;
689
650
  }
690
651
  function P(a) {
691
- const l = y(a);
652
+ const l = S(a);
692
653
  return a.skipToPeek(), l;
693
654
  }
694
655
  function _(a) {
@@ -709,71 +670,71 @@ function Ps(e, t = {}) {
709
670
  const { currentType: N } = l;
710
671
  if (N !== 2)
711
672
  return !1;
712
- y(a);
713
- const S = _(a.currentPeek());
714
- return a.resetPeek(), S;
673
+ S(a);
674
+ const D = _(a.currentPeek());
675
+ return a.resetPeek(), D;
715
676
  }
716
677
  function m(a, l) {
717
678
  const { currentType: N } = l;
718
679
  if (N !== 2)
719
680
  return !1;
720
- y(a);
721
- const S = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), G = E(S);
722
- return a.resetPeek(), G;
681
+ S(a);
682
+ const D = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), Y = E(D);
683
+ return a.resetPeek(), Y;
723
684
  }
724
685
  function I(a, l) {
725
686
  const { currentType: N } = l;
726
687
  if (N !== 2)
727
688
  return !1;
728
- y(a);
729
- const S = a.currentPeek() === yn;
730
- return a.resetPeek(), S;
689
+ S(a);
690
+ const D = a.currentPeek() === yn;
691
+ return a.resetPeek(), D;
731
692
  }
732
- function A(a, l) {
693
+ function C(a, l) {
733
694
  const { currentType: N } = l;
734
695
  if (N !== 7)
735
696
  return !1;
736
- y(a);
737
- const S = a.currentPeek() === ".";
738
- return a.resetPeek(), S;
697
+ S(a);
698
+ const D = a.currentPeek() === ".";
699
+ return a.resetPeek(), D;
739
700
  }
740
701
  function f(a, l) {
741
702
  const { currentType: N } = l;
742
703
  if (N !== 8)
743
704
  return !1;
744
- y(a);
745
- const S = _(a.currentPeek());
746
- return a.resetPeek(), S;
705
+ S(a);
706
+ const D = _(a.currentPeek());
707
+ return a.resetPeek(), D;
747
708
  }
748
709
  function w(a, l) {
749
710
  const { currentType: N } = l;
750
711
  if (!(N === 7 || N === 11))
751
712
  return !1;
752
- y(a);
753
- const S = a.currentPeek() === ":";
754
- return a.resetPeek(), S;
713
+ S(a);
714
+ const D = a.currentPeek() === ":";
715
+ return a.resetPeek(), D;
755
716
  }
756
717
  function F(a, l) {
757
718
  const { currentType: N } = l;
758
719
  if (N !== 9)
759
720
  return !1;
760
- const S = () => {
721
+ const D = () => {
761
722
  const x = a.currentPeek();
762
- return x === "{" ? _(a.peek()) : x === "@" || x === "|" || x === ":" || x === "." || x === ie || !x ? !1 : x === z ? (a.peek(), S()) : C(a, !1);
763
- }, G = S();
764
- return a.resetPeek(), G;
723
+ return x === "{" ? _(a.peek()) : x === "@" || x === "|" || x === ":" || x === "." || x === ie || !x ? !1 : x === z ? (a.peek(), D()) : A(a, !1);
724
+ }, Y = D();
725
+ return a.resetPeek(), Y;
765
726
  }
766
727
  function b(a) {
767
- y(a);
728
+ S(a);
768
729
  const l = a.currentPeek() === "|";
769
730
  return a.resetPeek(), l;
770
731
  }
771
- function C(a, l = !0) {
772
- const N = (G = !1, x = "") => {
732
+ function A(a, l = !0) {
733
+ const N = (Y = !1, x = "") => {
773
734
  const U = a.currentPeek();
774
- return U === "{" || U === "@" || !U ? G : U === "|" ? !(x === ie || x === z) : U === ie ? (a.peek(), N(!0, ie)) : U === z ? (a.peek(), N(!0, z)) : !0;
775
- }, S = N();
776
- return l && a.resetPeek(), S;
735
+ return U === "{" || U === "@" || !U ? Y : U === "|" ? !(x === ie || x === z) : U === ie ? (a.peek(), N(!0, ie)) : U === z ? (a.peek(), N(!0, z)) : !0;
736
+ }, D = N();
737
+ return l && a.resetPeek(), D;
777
738
  }
778
739
  function M(a, l) {
779
740
  const N = a.currentChar();
@@ -824,14 +785,14 @@ function Ps(e, t = {}) {
824
785
  N += l;
825
786
  return N;
826
787
  }
827
- function At(a) {
788
+ function Ct(a) {
828
789
  let l = "";
829
790
  for (; ; ) {
830
791
  const N = a.currentChar();
831
792
  if (N === "{" || N === "}" || N === "@" || N === "|" || !N)
832
793
  break;
833
794
  if (N === ie || N === z)
834
- if (C(a))
795
+ if (A(a))
835
796
  l += N, a.next();
836
797
  else {
837
798
  if (b(a))
@@ -843,15 +804,15 @@ function Ps(e, t = {}) {
843
804
  }
844
805
  return l;
845
806
  }
846
- function Ct(a) {
807
+ function At(a) {
847
808
  P(a);
848
809
  let l = "", N = "";
849
810
  for (; l = Ue(a); )
850
811
  N += l;
851
- const S = a.currentChar();
852
- if (S && S !== "}" && S !== me && S !== ie && S !== z && S !== " ") {
853
- const G = et(a);
854
- return T(k.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N + G), N + G;
812
+ const D = a.currentChar();
813
+ if (D && D !== "}" && D !== me && D !== ie && D !== z && D !== " ") {
814
+ const Y = et(a);
815
+ return T(k.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N + Y), N + Y;
855
816
  }
856
817
  return a.currentChar() === me && T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), N;
857
818
  }
@@ -860,18 +821,18 @@ function Ps(e, t = {}) {
860
821
  let l = "";
861
822
  return a.currentChar() === "-" ? (a.next(), l += `-${$e(a)}`) : l += $e(a), a.currentChar() === me && T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), l;
862
823
  }
863
- function yt(a) {
824
+ function St(a) {
864
825
  return a !== yn && a !== z;
865
826
  }
866
- function dn(a) {
827
+ function En(a) {
867
828
  P(a), R(a, "'");
868
829
  let l = "", N = "";
869
- for (; l = M(a, yt); )
870
- l === "\\" ? N += Dt(a) : N += l;
871
- const S = a.currentChar();
872
- return S === z || S === me ? (T(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), S === z && (a.next(), R(a, "'")), N) : (R(a, "'"), N);
830
+ for (; l = M(a, St); )
831
+ l === "\\" ? N += yt(a) : N += l;
832
+ const D = a.currentChar();
833
+ return D === z || D === me ? (T(k.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, o(), 0), D === z && (a.next(), R(a, "'")), N) : (R(a, "'"), N);
873
834
  }
874
- function Dt(a) {
835
+ function yt(a) {
875
836
  const l = a.currentChar();
876
837
  switch (l) {
877
838
  case "\\":
@@ -887,24 +848,24 @@ function Ps(e, t = {}) {
887
848
  }
888
849
  function ze(a, l, N) {
889
850
  R(a, l);
890
- let S = "";
891
- for (let G = 0; G < N; G++) {
851
+ let D = "";
852
+ for (let Y = 0; Y < N; Y++) {
892
853
  const x = de(a);
893
854
  if (!x) {
894
- T(k.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${l}${S}${a.currentChar()}`);
855
+ T(k.INVALID_UNICODE_ESCAPE_SEQUENCE, o(), 0, `\\${l}${D}${a.currentChar()}`);
895
856
  break;
896
857
  }
897
- S += x;
858
+ D += x;
898
859
  }
899
- return `\\${l}${S}`;
860
+ return `\\${l}${D}`;
900
861
  }
901
- function St(a) {
862
+ function Dt(a) {
902
863
  return a !== "{" && a !== "}" && a !== ie && a !== z;
903
864
  }
904
865
  function et(a) {
905
866
  P(a);
906
867
  let l = "", N = "";
907
- for (; l = M(a, St); )
868
+ for (; l = M(a, Dt); )
908
869
  N += l;
909
870
  return N;
910
871
  }
@@ -916,8 +877,8 @@ function Ps(e, t = {}) {
916
877
  }
917
878
  function Rt(a) {
918
879
  const l = (N) => {
919
- const S = a.currentChar();
920
- return S === "{" || S === "@" || S === "|" || S === "(" || S === ")" || !S || S === ie ? N : (N += S, a.next(), l(N));
880
+ const D = a.currentChar();
881
+ return D === "{" || D === "@" || D === "|" || D === "(" || D === ")" || !D || D === ie ? N : (N += D, a.next(), l(N));
921
882
  };
922
883
  return l("");
923
884
  }
@@ -930,7 +891,7 @@ function Ps(e, t = {}) {
930
891
  );
931
892
  return P(a), l;
932
893
  }
933
- function Ye(a, l) {
894
+ function Ge(a, l) {
934
895
  let N = null;
935
896
  switch (a.currentChar()) {
936
897
  case "{":
@@ -950,18 +911,18 @@ function Ps(e, t = {}) {
950
911
  case "@":
951
912
  return l.braceNest > 0 && T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), N = Te(a, l) || v(l), l.braceNest = 0, N;
952
913
  default: {
953
- let G = !0, x = !0, U = !0;
914
+ let Y = !0, x = !0, U = !0;
954
915
  if (b(a))
955
916
  return l.braceNest > 0 && T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), N = g(l, 1, We(a)), l.braceNest = 0, l.inLinked = !1, N;
956
917
  if (l.braceNest > 0 && (l.currentType === 4 || l.currentType === 5 || l.currentType === 6))
957
- return T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), l.braceNest = 0, Ge(a, l);
958
- if (G = h(a, l))
959
- return N = g(l, 4, Ct(a)), P(a), N;
918
+ return T(k.UNTERMINATED_CLOSING_BRACE, o(), 0), l.braceNest = 0, Ye(a, l);
919
+ if (Y = h(a, l))
920
+ return N = g(l, 4, At(a)), P(a), N;
960
921
  if (x = m(a, l))
961
922
  return N = g(l, 5, vt(a)), P(a), N;
962
923
  if (U = I(a, l))
963
- return N = g(l, 6, dn(a)), P(a), N;
964
- if (!G && !x && !U)
924
+ return N = g(l, 6, En(a)), P(a), N;
925
+ if (!Y && !x && !U)
965
926
  return N = g(l, 12, et(a)), T(k.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, N.value), P(a), N;
966
927
  break;
967
928
  }
@@ -970,16 +931,16 @@ function Ps(e, t = {}) {
970
931
  }
971
932
  function Te(a, l) {
972
933
  const { currentType: N } = l;
973
- let S = null;
974
- const G = a.currentChar();
975
- switch ((N === 7 || N === 8 || N === 11 || N === 9) && (G === z || G === ie) && T(k.INVALID_LINKED_FORMAT, o(), 0), G) {
934
+ let D = null;
935
+ const Y = a.currentChar();
936
+ switch ((N === 7 || N === 8 || N === 11 || N === 9) && (Y === z || Y === ie) && T(k.INVALID_LINKED_FORMAT, o(), 0), Y) {
976
937
  case "@":
977
- return a.next(), S = g(
938
+ return a.next(), D = g(
978
939
  l,
979
940
  7,
980
941
  "@"
981
942
  /* TokenChars.LinkedAlias */
982
- ), l.inLinked = !0, S;
943
+ ), l.inLinked = !0, D;
983
944
  case ".":
984
945
  return P(a), a.next(), g(
985
946
  l,
@@ -995,21 +956,21 @@ function Ps(e, t = {}) {
995
956
  /* TokenChars.LinkedDelimiter */
996
957
  );
997
958
  default:
998
- return b(a) ? (S = g(l, 1, We(a)), l.braceNest = 0, l.inLinked = !1, S) : A(a, l) || w(a, l) ? (P(a), Te(a, l)) : f(a, l) ? (P(a), g(l, 11, Pt(a))) : F(a, l) ? (P(a), G === "{" ? Ye(a, l) || S : g(l, 10, Rt(a))) : (N === 7 && T(k.INVALID_LINKED_FORMAT, o(), 0), l.braceNest = 0, l.inLinked = !1, Ge(a, l));
959
+ return b(a) ? (D = g(l, 1, We(a)), l.braceNest = 0, l.inLinked = !1, D) : C(a, l) || w(a, l) ? (P(a), Te(a, l)) : f(a, l) ? (P(a), g(l, 11, Pt(a))) : F(a, l) ? (P(a), Y === "{" ? Ge(a, l) || D : g(l, 10, Rt(a))) : (N === 7 && T(k.INVALID_LINKED_FORMAT, o(), 0), l.braceNest = 0, l.inLinked = !1, Ye(a, l));
999
960
  }
1000
961
  }
1001
- function Ge(a, l) {
962
+ function Ye(a, l) {
1002
963
  let N = {
1003
964
  type: 13
1004
965
  /* TokenTypes.EOF */
1005
966
  };
1006
967
  if (l.braceNest > 0)
1007
- return Ye(a, l) || v(l);
968
+ return Ge(a, l) || v(l);
1008
969
  if (l.inLinked)
1009
970
  return Te(a, l) || v(l);
1010
971
  switch (a.currentChar()) {
1011
972
  case "{":
1012
- return Ye(a, l) || v(l);
973
+ return Ge(a, l) || v(l);
1013
974
  case "}":
1014
975
  return T(k.UNBALANCED_CLOSING_BRACE, o(), 0), a.next(), g(
1015
976
  l,
@@ -1022,20 +983,20 @@ function Ps(e, t = {}) {
1022
983
  default: {
1023
984
  if (b(a))
1024
985
  return N = g(l, 1, We(a)), l.braceNest = 0, l.inLinked = !1, N;
1025
- if (C(a))
1026
- return g(l, 0, At(a));
986
+ if (A(a))
987
+ return g(l, 0, Ct(a));
1027
988
  break;
1028
989
  }
1029
990
  }
1030
991
  return N;
1031
992
  }
1032
993
  function kt() {
1033
- const { currentType: a, offset: l, startLoc: N, endLoc: S } = u;
1034
- return u.lastType = a, u.lastOffset = l, u.lastStartLoc = N, u.lastEndLoc = S, u.offset = s(), u.startLoc = o(), r.currentChar() === me ? g(
994
+ const { currentType: a, offset: l, startLoc: N, endLoc: D } = u;
995
+ return u.lastType = a, u.lastOffset = l, u.lastStartLoc = N, u.lastEndLoc = D, u.offset = s(), u.startLoc = o(), r.currentChar() === me ? g(
1035
996
  u,
1036
997
  13
1037
998
  /* TokenTypes.EOF */
1038
- ) : Ge(r, u);
999
+ ) : Ye(r, u);
1039
1000
  }
1040
1001
  return {
1041
1002
  nextToken: kt,
@@ -1061,9 +1022,9 @@ function Ms(e, t, n) {
1061
1022
  function Fs(e = {}) {
1062
1023
  const t = e.location !== !1, { onError: n } = e;
1063
1024
  function r(_, E, h, m, ...I) {
1064
- const A = _.currentPosition();
1065
- if (A.offset += m, A.column += m, n) {
1066
- const f = t ? Bt(h, A) : null, w = we(E, f, {
1025
+ const C = _.currentPosition();
1026
+ if (C.offset += m, C.column += m, n) {
1027
+ const f = t ? Bt(h, C) : null, w = we(E, f, {
1067
1028
  domain: Rs,
1068
1029
  args: I
1069
1030
  });
@@ -1082,24 +1043,24 @@ function Fs(e = {}) {
1082
1043
  return m.value = E, o(m, _.currentOffset(), _.currentPosition()), m;
1083
1044
  }
1084
1045
  function c(_, E) {
1085
- const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, A = s(5, m, I);
1086
- return A.index = parseInt(E, 10), _.nextToken(), o(A, _.currentOffset(), _.currentPosition()), A;
1046
+ const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, C = s(5, m, I);
1047
+ return C.index = parseInt(E, 10), _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
1087
1048
  }
1088
1049
  function u(_, E) {
1089
- const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, A = s(4, m, I);
1090
- return A.key = E, _.nextToken(), o(A, _.currentOffset(), _.currentPosition()), A;
1050
+ const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, C = s(4, m, I);
1051
+ return C.key = E, _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
1091
1052
  }
1092
1053
  function p(_, E) {
1093
- const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, A = s(9, m, I);
1094
- return A.value = E.replace(ks, Ms), _.nextToken(), o(A, _.currentOffset(), _.currentPosition()), A;
1054
+ const h = _.context(), { lastOffset: m, lastStartLoc: I } = h, C = s(9, m, I);
1055
+ return C.value = E.replace(ks, Ms), _.nextToken(), o(C, _.currentOffset(), _.currentPosition()), C;
1095
1056
  }
1096
1057
  function L(_) {
1097
- const E = _.nextToken(), h = _.context(), { lastOffset: m, lastStartLoc: I } = h, A = s(8, m, I);
1098
- return E.type !== 11 ? (r(_, k.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), A.value = "", o(A, m, I), {
1058
+ const E = _.nextToken(), h = _.context(), { lastOffset: m, lastStartLoc: I } = h, C = s(8, m, I);
1059
+ return E.type !== 11 ? (r(_, k.UNEXPECTED_EMPTY_LINKED_MODIFIER, h.lastStartLoc, 0), C.value = "", o(C, m, I), {
1099
1060
  nextConsumeToken: E,
1100
- node: A
1101
- }) : (E.value == null && r(_, k.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, le(E)), A.value = E.value || "", o(A, _.currentOffset(), _.currentPosition()), {
1102
- node: A
1061
+ node: C
1062
+ }) : (E.value == null && r(_, k.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, le(E)), C.value = E.value || "", o(C, _.currentOffset(), _.currentPosition()), {
1063
+ node: C
1103
1064
  });
1104
1065
  }
1105
1066
  function T(_, E) {
@@ -1128,8 +1089,8 @@ function Fs(e = {}) {
1128
1089
  break;
1129
1090
  default: {
1130
1091
  r(_, k.UNEXPECTED_EMPTY_LINKED_KEY, E.lastStartLoc, 0);
1131
- const I = _.context(), A = s(7, I.offset, I.startLoc);
1132
- return A.value = "", o(A, I.offset, I.startLoc), h.key = A, o(h, I.offset, I.startLoc), {
1092
+ const I = _.context(), C = s(7, I.offset, I.startLoc);
1093
+ return C.value = "", o(C, I.offset, I.startLoc), h.key = C, o(h, I.offset, I.startLoc), {
1133
1094
  nextConsumeToken: m,
1134
1095
  node: h
1135
1096
  };
@@ -1142,10 +1103,10 @@ function Fs(e = {}) {
1142
1103
  function v(_) {
1143
1104
  const E = _.context(), h = E.currentType === 1 ? _.currentOffset() : E.offset, m = E.currentType === 1 ? E.endLoc : E.startLoc, I = s(2, h, m);
1144
1105
  I.items = [];
1145
- let A = null;
1106
+ let C = null;
1146
1107
  do {
1147
- const F = A || _.nextToken();
1148
- switch (A = null, F.type) {
1108
+ const F = C || _.nextToken();
1109
+ switch (C = null, F.type) {
1149
1110
  case 0:
1150
1111
  F.value == null && r(_, k.UNEXPECTED_LEXICAL_ANALYSIS, E.lastStartLoc, 0, le(F)), I.items.push(i(_, F.value || ""));
1151
1112
  break;
@@ -1160,7 +1121,7 @@ function Fs(e = {}) {
1160
1121
  break;
1161
1122
  case 7: {
1162
1123
  const b = g(_);
1163
- I.items.push(b.node), A = b.nextConsumeToken || null;
1124
+ I.items.push(b.node), C = b.nextConsumeToken || null;
1164
1125
  break;
1165
1126
  }
1166
1127
  }
@@ -1170,22 +1131,22 @@ function Fs(e = {}) {
1170
1131
  }
1171
1132
  function R(_, E, h, m) {
1172
1133
  const I = _.context();
1173
- let A = m.items.length === 0;
1134
+ let C = m.items.length === 0;
1174
1135
  const f = s(1, E, h);
1175
1136
  f.cases = [], f.cases.push(m);
1176
1137
  do {
1177
1138
  const w = v(_);
1178
- A || (A = w.items.length === 0), f.cases.push(w);
1139
+ C || (C = w.items.length === 0), f.cases.push(w);
1179
1140
  } while (I.currentType !== 13);
1180
- return A && r(_, k.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), o(f, _.currentOffset(), _.currentPosition()), f;
1141
+ return C && r(_, k.MUST_HAVE_MESSAGES_IN_PLURAL, h, 0), o(f, _.currentOffset(), _.currentPosition()), f;
1181
1142
  }
1182
- function y(_) {
1143
+ function S(_) {
1183
1144
  const E = _.context(), { offset: h, startLoc: m } = E, I = v(_);
1184
1145
  return E.currentType === 13 ? I : R(_, h, m, I);
1185
1146
  }
1186
1147
  function P(_) {
1187
- const E = Ps(_, q({}, e)), h = E.context(), m = s(0, h.offset, h.startLoc);
1188
- return t && m.loc && (m.loc.source = _), m.body = y(E), e.onCacheKey && (m.cacheKey = e.onCacheKey(_)), h.currentType !== 13 && r(E, k.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, _[h.offset] || ""), o(m, E.currentOffset(), E.currentPosition()), m;
1148
+ const E = Ps(_, Q({}, e)), h = E.context(), m = s(0, h.offset, h.startLoc);
1149
+ return t && m.loc && (m.loc.source = _), m.body = S(E), e.onCacheKey && (m.cacheKey = e.onCacheKey(_)), h.currentType !== 13 && r(E, k.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, _[h.offset] || ""), o(m, E.currentOffset(), E.currentPosition()), m;
1189
1150
  }
1190
1151
  return { parse: P };
1191
1152
  }
@@ -1204,9 +1165,9 @@ function ws(e, t = {}) {
1204
1165
  }
1205
1166
  function Dn(e, t) {
1206
1167
  for (let n = 0; n < e.length; n++)
1207
- an(e[n], t);
1168
+ cn(e[n], t);
1208
1169
  }
1209
- function an(e, t) {
1170
+ function cn(e, t) {
1210
1171
  switch (e.type) {
1211
1172
  case 1:
1212
1173
  Dn(e.cases, t), t.helper(
@@ -1218,7 +1179,7 @@ function an(e, t) {
1218
1179
  Dn(e.items, t);
1219
1180
  break;
1220
1181
  case 6: {
1221
- an(e.key, t), t.helper(
1182
+ cn(e.key, t), t.helper(
1222
1183
  "linked"
1223
1184
  /* HelperNameMap.LINKED */
1224
1185
  ), t.helper(
@@ -1252,15 +1213,15 @@ function Us(e, t = {}) {
1252
1213
  n.helper(
1253
1214
  "normalize"
1254
1215
  /* HelperNameMap.NORMALIZE */
1255
- ), e.body && an(e.body, n);
1216
+ ), e.body && cn(e.body, n);
1256
1217
  const r = n.context();
1257
1218
  e.helpers = Array.from(r.helpers);
1258
1219
  }
1259
1220
  function Vs(e) {
1260
1221
  const t = e.body;
1261
- return t.type === 2 ? Sn(t) : t.cases.forEach((n) => Sn(n)), e;
1222
+ return t.type === 2 ? Pn(t) : t.cases.forEach((n) => Pn(n)), e;
1262
1223
  }
1263
- function Sn(e) {
1224
+ function Pn(e) {
1264
1225
  if (e.items.length === 1) {
1265
1226
  const t = e.items[0];
1266
1227
  (t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
@@ -1273,7 +1234,7 @@ function Sn(e) {
1273
1234
  t.push(r.value);
1274
1235
  }
1275
1236
  if (t.length === e.items.length) {
1276
- e.static = on(t);
1237
+ e.static = ln(t);
1277
1238
  for (let n = 0; n < e.items.length; n++) {
1278
1239
  const r = e.items[n];
1279
1240
  (r.type === 3 || r.type === 9) && delete r.value;
@@ -1336,7 +1297,7 @@ function ke(e) {
1336
1297
  delete e.type;
1337
1298
  }
1338
1299
  const Ws = "parser";
1339
- function Ys(e, t) {
1300
+ function Gs(e, t) {
1340
1301
  const { filename: n, breakLineCode: r, needIndent: s } = t, o = t.location !== !1, i = {
1341
1302
  filename: n,
1342
1303
  code: "",
@@ -1350,20 +1311,20 @@ function Ys(e, t) {
1350
1311
  };
1351
1312
  o && e.loc && (i.source = e.loc.source);
1352
1313
  const c = () => i;
1353
- function u(y, P) {
1354
- i.code += y;
1314
+ function u(S, P) {
1315
+ i.code += S;
1355
1316
  }
1356
- function p(y, P = !0) {
1317
+ function p(S, P = !0) {
1357
1318
  const _ = P ? r : "";
1358
- u(s ? _ + " ".repeat(y) : _);
1319
+ u(s ? _ + " ".repeat(S) : _);
1359
1320
  }
1360
- function L(y = !0) {
1321
+ function L(S = !0) {
1361
1322
  const P = ++i.indentLevel;
1362
- y && p(P);
1323
+ S && p(P);
1363
1324
  }
1364
- function T(y = !0) {
1325
+ function T(S = !0) {
1365
1326
  const P = --i.indentLevel;
1366
- y && p(P);
1327
+ S && p(P);
1367
1328
  }
1368
1329
  function g() {
1369
1330
  p(i.indentLevel);
@@ -1374,11 +1335,11 @@ function Ys(e, t) {
1374
1335
  indent: L,
1375
1336
  deindent: T,
1376
1337
  newline: g,
1377
- helper: (y) => `_${y}`,
1338
+ helper: (S) => `_${S}`,
1378
1339
  needIndent: () => i.needIndent
1379
1340
  };
1380
1341
  }
1381
- function Gs(e, t) {
1342
+ function Ys(e, t) {
1382
1343
  const { helper: n } = e;
1383
1344
  e.push(`${n(
1384
1345
  "linked"
@@ -1425,7 +1386,7 @@ function Fe(e, t) {
1425
1386
  Hs(e, t);
1426
1387
  break;
1427
1388
  case 6:
1428
- Gs(e, t);
1389
+ Ys(e, t);
1429
1390
  break;
1430
1391
  case 8:
1431
1392
  e.push(JSON.stringify(t.value), t);
@@ -1466,15 +1427,15 @@ function Fe(e, t) {
1466
1427
  }
1467
1428
  }
1468
1429
  const Bs = (e, t = {}) => {
1469
- const n = D(t.mode) ? t.mode : "normal", r = D(t.filename) ? t.filename : "message.intl";
1430
+ const n = y(t.mode) ? t.mode : "normal", r = y(t.filename) ? t.filename : "message.intl";
1470
1431
  t.sourceMap;
1471
1432
  const s = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
1472
- `, o = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], c = Ys(e, {
1433
+ `, o = t.needIndent ? t.needIndent : n !== "arrow", i = e.helpers || [], c = Gs(e, {
1473
1434
  filename: r,
1474
1435
  breakLineCode: s,
1475
1436
  needIndent: o
1476
1437
  });
1477
- c.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), c.indent(o), i.length > 0 && (c.push(`const { ${on(i.map((L) => `${L}: _${L}`), ", ")} } = ctx`), c.newline()), c.push("return "), Fe(c, e), c.deindent(o), c.push("}"), delete e.helpers;
1438
+ c.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), c.indent(o), i.length > 0 && (c.push(`const { ${ln(i.map((L) => `${L}: _${L}`), ", ")} } = ctx`), c.newline()), c.push("return "), Fe(c, e), c.deindent(o), c.push("}"), delete e.helpers;
1478
1439
  const { code: u, map: p } = c.context();
1479
1440
  return {
1480
1441
  ast: e,
@@ -1484,49 +1445,49 @@ const Bs = (e, t = {}) => {
1484
1445
  };
1485
1446
  };
1486
1447
  function Ks(e, t = {}) {
1487
- const n = q({}, t), r = !!n.jit, s = !!n.minify, o = n.optimize == null ? !0 : n.optimize, c = Fs(n).parse(e);
1448
+ const n = Q({}, t), r = !!n.jit, s = !!n.minify, o = n.optimize == null ? !0 : n.optimize, c = Fs(n).parse(e);
1488
1449
  return r ? (o && Vs(c), s && ke(c), { ast: c, code: "" }) : (Us(c, n), Bs(c, n));
1489
1450
  }
1490
1451
  function Xs() {
1491
- typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ce().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ce().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1452
+ typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ae().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ae().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
1492
1453
  }
1493
1454
  function ae(e) {
1494
- return $(e) && ln(e) === 0 && (oe(e, "b") || oe(e, "body"));
1455
+ return $(e) && un(e) === 0 && (oe(e, "b") || oe(e, "body"));
1495
1456
  }
1496
- const sr = ["b", "body"];
1497
- function Js(e) {
1498
- return Oe(e, sr);
1499
- }
1500
- const or = ["c", "cases"];
1457
+ const or = ["b", "body"];
1501
1458
  function qs(e) {
1502
- return Oe(e, or, []);
1459
+ return Oe(e, or);
1503
1460
  }
1504
- const ar = ["s", "static"];
1461
+ const ar = ["c", "cases"];
1505
1462
  function Qs(e) {
1506
- return Oe(e, ar);
1463
+ return Oe(e, ar, []);
1507
1464
  }
1508
- const ir = ["i", "items"];
1465
+ const ir = ["s", "static"];
1466
+ function Js(e) {
1467
+ return Oe(e, ir);
1468
+ }
1469
+ const lr = ["i", "items"];
1509
1470
  function Zs(e) {
1510
- return Oe(e, ir, []);
1471
+ return Oe(e, lr, []);
1511
1472
  }
1512
- const lr = ["t", "type"];
1513
- function ln(e) {
1514
- return Oe(e, lr);
1473
+ const cr = ["t", "type"];
1474
+ function un(e) {
1475
+ return Oe(e, cr);
1515
1476
  }
1516
- const cr = ["v", "value"];
1477
+ const ur = ["v", "value"];
1517
1478
  function rt(e, t) {
1518
- const n = Oe(e, cr);
1479
+ const n = Oe(e, ur);
1519
1480
  if (n != null)
1520
1481
  return n;
1521
1482
  throw Xe(t);
1522
1483
  }
1523
- const ur = ["m", "modifier"];
1484
+ const fr = ["m", "modifier"];
1524
1485
  function zs(e) {
1525
- return Oe(e, ur);
1486
+ return Oe(e, fr);
1526
1487
  }
1527
- const fr = ["k", "key"];
1488
+ const _r = ["k", "key"];
1528
1489
  function eo(e) {
1529
- const t = Oe(e, fr);
1490
+ const t = Oe(e, _r);
1530
1491
  if (t)
1531
1492
  return t;
1532
1493
  throw Xe(
@@ -1542,15 +1503,15 @@ function Oe(e, t, n) {
1542
1503
  }
1543
1504
  return n;
1544
1505
  }
1545
- const _r = [
1546
- ...sr,
1506
+ const dr = [
1547
1507
  ...or,
1548
1508
  ...ar,
1549
1509
  ...ir,
1510
+ ...lr,
1511
+ ..._r,
1550
1512
  ...fr,
1551
1513
  ...ur,
1552
- ...cr,
1553
- ...lr
1514
+ ...cr
1554
1515
  ];
1555
1516
  function Xe(e) {
1556
1517
  return new Error(`unhandled node type: ${e}`);
@@ -1559,23 +1520,23 @@ function Vt(e) {
1559
1520
  return (n) => to(n, e);
1560
1521
  }
1561
1522
  function to(e, t) {
1562
- const n = Js(t);
1523
+ const n = qs(t);
1563
1524
  if (n == null)
1564
1525
  throw Xe(
1565
1526
  0
1566
1527
  /* NodeTypes.Resource */
1567
1528
  );
1568
- if (ln(n) === 1) {
1569
- const o = qs(n);
1529
+ if (un(n) === 1) {
1530
+ const o = Qs(n);
1570
1531
  return e.plural(o.reduce((i, c) => [
1571
1532
  ...i,
1572
- Pn(e, c)
1533
+ Rn(e, c)
1573
1534
  ], []));
1574
1535
  } else
1575
- return Pn(e, n);
1536
+ return Rn(e, n);
1576
1537
  }
1577
- function Pn(e, t) {
1578
- const n = Qs(t);
1538
+ function Rn(e, t) {
1539
+ const n = Js(t);
1579
1540
  if (n != null)
1580
1541
  return e.type === "text" ? n : e.normalize([n]);
1581
1542
  {
@@ -1584,7 +1545,7 @@ function Pn(e, t) {
1584
1545
  }
1585
1546
  }
1586
1547
  function Kt(e, t) {
1587
- const n = ln(t);
1548
+ const n = un(t);
1588
1549
  switch (n) {
1589
1550
  case 3:
1590
1551
  return rt(t, n);
@@ -1600,9 +1561,9 @@ function Kt(e, t) {
1600
1561
  }
1601
1562
  case 5: {
1602
1563
  const r = t;
1603
- if (oe(r, "i") && J(r.i))
1564
+ if (oe(r, "i") && q(r.i))
1604
1565
  return e.interpolate(e.list(r.i));
1605
- if (oe(r, "index") && J(r.index))
1566
+ if (oe(r, "index") && q(r.index))
1606
1567
  return e.interpolate(e.list(r.index));
1607
1568
  throw Xe(n);
1608
1569
  }
@@ -1623,7 +1584,7 @@ function ro(e, t) {
1623
1584
  t && bs(e) && ue(Lt(no, { source: e }));
1624
1585
  }
1625
1586
  const so = (e) => e;
1626
- let st = Y();
1587
+ let st = G();
1627
1588
  function oo(e, t = {}) {
1628
1589
  let n = !1;
1629
1590
  const r = t.onError || Ts;
@@ -1633,7 +1594,7 @@ function oo(e, t = {}) {
1633
1594
  }
1634
1595
  // @__NO_SIDE_EFFECTS__
1635
1596
  function ao(e, t) {
1636
- if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && D(e)) {
1597
+ if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && y(e)) {
1637
1598
  const n = B(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1638
1599
  process.env.NODE_ENV !== "production" && ro(e, n);
1639
1600
  const s = (t.onCacheKey || so)(e), o = st[s];
@@ -1656,12 +1617,12 @@ function ao(e, t) {
1656
1617
  return Vt(e);
1657
1618
  }
1658
1619
  }
1659
- let Je = null;
1620
+ let qe = null;
1660
1621
  function io(e) {
1661
- Je = e;
1622
+ qe = e;
1662
1623
  }
1663
1624
  function lo(e, t, n) {
1664
- Je && Je.emit("i18n:init", {
1625
+ qe && qe.emit("i18n:init", {
1665
1626
  timestamp: Date.now(),
1666
1627
  i18n: e,
1667
1628
  version: t,
@@ -1670,7 +1631,7 @@ function lo(e, t, n) {
1670
1631
  }
1671
1632
  const co = /* @__PURE__ */ uo("function:translate");
1672
1633
  function uo(e) {
1673
- return (t) => Je && Je.emit(e, t);
1634
+ return (t) => qe && qe.emit(e, t);
1674
1635
  }
1675
1636
  const ee = {
1676
1637
  INVALID_ARGUMENT: Ls,
@@ -1694,12 +1655,12 @@ const _o = {
1694
1655
  [ee.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]: "cannot support async function",
1695
1656
  [ee.NOT_SUPPORT_LOCALE_TYPE]: "cannot support locale type"
1696
1657
  };
1697
- function cn(e, t) {
1698
- return t.locale != null ? Rn(t.locale) : Rn(e.locale);
1658
+ function fn(e, t) {
1659
+ return t.locale != null ? kn(t.locale) : kn(e.locale);
1699
1660
  }
1700
1661
  let $t;
1701
- function Rn(e) {
1702
- if (D(e))
1662
+ function kn(e) {
1663
+ if (y(e))
1703
1664
  return e;
1704
1665
  if (H(e)) {
1705
1666
  if (e.resolvedOnce && $t != null)
@@ -1717,28 +1678,28 @@ function Rn(e) {
1717
1678
  function mo(e, t, n) {
1718
1679
  return [.../* @__PURE__ */ new Set([
1719
1680
  n,
1720
- ...K(t) ? t : $(t) ? Object.keys(t) : D(t) ? [t] : [n]
1681
+ ...K(t) ? t : $(t) ? Object.keys(t) : y(t) ? [t] : [n]
1721
1682
  ])];
1722
1683
  }
1723
- function dr(e, t, n) {
1724
- const r = D(n) ? n : dt, s = e;
1684
+ function mr(e, t, n) {
1685
+ const r = y(n) ? n : _t, s = e;
1725
1686
  s.__localeChainCache || (s.__localeChainCache = /* @__PURE__ */ new Map());
1726
1687
  let o = s.__localeChainCache.get(r);
1727
1688
  if (!o) {
1728
1689
  o = [];
1729
1690
  let i = [n];
1730
1691
  for (; K(i); )
1731
- i = kn(o, i, t);
1692
+ i = Mn(o, i, t);
1732
1693
  const c = K(t) || !V(t) ? t : t.default ? t.default : null;
1733
- i = D(c) ? [c] : c, K(i) && kn(o, i, !1), s.__localeChainCache.set(r, o);
1694
+ i = y(c) ? [c] : c, K(i) && Mn(o, i, !1), s.__localeChainCache.set(r, o);
1734
1695
  }
1735
1696
  return o;
1736
1697
  }
1737
- function kn(e, t, n) {
1698
+ function Mn(e, t, n) {
1738
1699
  let r = !0;
1739
1700
  for (let s = 0; s < t.length && B(r); s++) {
1740
1701
  const o = t[s];
1741
- D(o) && (r = Eo(e, t[s], n));
1702
+ y(o) && (r = Eo(e, t[s], n));
1742
1703
  }
1743
1704
  return r;
1744
1705
  }
@@ -2026,21 +1987,21 @@ function To(e) {
2026
1987
  return t;
2027
1988
  }
2028
1989
  }
2029
- const Mn = /* @__PURE__ */ new Map();
1990
+ const Fn = /* @__PURE__ */ new Map();
2030
1991
  function Io(e, t) {
2031
1992
  return $(e) ? e[t] : null;
2032
1993
  }
2033
1994
  function bo(e, t) {
2034
1995
  if (!$(e))
2035
1996
  return null;
2036
- let n = Mn.get(t);
2037
- if (n || (n = To(t), n && Mn.set(t, n)), !n)
1997
+ let n = Fn.get(t);
1998
+ if (n || (n = To(t), n && Fn.set(t, n)), !n)
2038
1999
  return null;
2039
2000
  const r = n.length;
2040
2001
  let s = e, o = 0;
2041
2002
  for (; o < r; ) {
2042
2003
  const i = n[o];
2043
- if (_r.includes(i) && ae(s))
2004
+ if (dr.includes(i) && ae(s))
2044
2005
  return null;
2045
2006
  const c = s[i];
2046
2007
  if (c === void 0 || H(s))
@@ -2057,7 +2018,7 @@ const te = {
2057
2018
  CANNOT_FORMAT_DATE: 5,
2058
2019
  FALLBACK_TO_DATE_FORMAT: 6,
2059
2020
  EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
2060
- }, Ao = 8, Co = {
2021
+ }, Co = 8, Ao = {
2061
2022
  [te.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
2062
2023
  [te.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
2063
2024
  [te.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
@@ -2066,46 +2027,46 @@ const te = {
2066
2027
  [te.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale.",
2067
2028
  [te.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."
2068
2029
  };
2069
- function De(e, ...t) {
2070
- return Lt(Co[e], ...t);
2030
+ function ye(e, ...t) {
2031
+ return Lt(Ao[e], ...t);
2071
2032
  }
2072
- const vo = "11.2.2", Tt = -1, dt = "en-US", mt = "", Fn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
2073
- function yo() {
2033
+ const vo = "11.2.2", Tt = -1, _t = "en-US", dt = "", wn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
2034
+ function So() {
2074
2035
  return {
2075
- upper: (e, t) => t === "text" && D(e) ? e.toUpperCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
2076
- lower: (e, t) => t === "text" && D(e) ? e.toLowerCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
2077
- capitalize: (e, t) => t === "text" && D(e) ? Fn(e) : t === "vnode" && $(e) && "__v_isVNode" in e ? Fn(e.children) : e
2036
+ upper: (e, t) => t === "text" && y(e) ? e.toUpperCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
2037
+ lower: (e, t) => t === "text" && y(e) ? e.toLowerCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
2038
+ capitalize: (e, t) => t === "text" && y(e) ? wn(e) : t === "vnode" && $(e) && "__v_isVNode" in e ? wn(e.children) : e
2078
2039
  };
2079
2040
  }
2080
- let mr;
2081
- function Do(e) {
2082
- mr = e;
2083
- }
2084
2041
  let Er;
2085
- function So(e) {
2042
+ function yo(e) {
2086
2043
  Er = e;
2087
2044
  }
2088
2045
  let pr;
2089
- function Po(e) {
2046
+ function Do(e) {
2090
2047
  pr = e;
2091
2048
  }
2092
- let Nr = null;
2093
- const Ro = /* @__NO_SIDE_EFFECTS__ */ (e) => {
2049
+ let Nr;
2050
+ function Po(e) {
2094
2051
  Nr = e;
2095
- }, ko = /* @__NO_SIDE_EFFECTS__ */ () => Nr;
2052
+ }
2096
2053
  let gr = null;
2097
- const wn = (e) => {
2054
+ const Ro = /* @__NO_SIDE_EFFECTS__ */ (e) => {
2098
2055
  gr = e;
2099
- }, Mo = () => gr;
2100
- let Un = 0;
2056
+ }, ko = /* @__NO_SIDE_EFFECTS__ */ () => gr;
2057
+ let Or = null;
2058
+ const Un = (e) => {
2059
+ Or = e;
2060
+ }, Mo = () => Or;
2061
+ let Vn = 0;
2101
2062
  function Fo(e = {}) {
2102
- const t = H(e.onWarn) ? e.onWarn : ue, n = D(e.version) ? e.version : vo, r = D(e.locale) || H(e.locale) ? e.locale : dt, s = H(r) ? dt : r, o = K(e.fallbackLocale) || V(e.fallbackLocale) || D(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = V(e.messages) ? e.messages : Wt(s), c = V(e.datetimeFormats) ? e.datetimeFormats : Wt(s), u = V(e.numberFormats) ? e.numberFormats : Wt(s), p = q(Y(), e.modifiers, yo()), L = e.pluralRules || Y(), T = H(e.missing) ? e.missing : null, g = B(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, v = B(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, R = !!e.fallbackFormat, y = !!e.unresolving, P = H(e.postTranslation) ? e.postTranslation : null, _ = V(e.processor) ? e.processor : null, E = B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, m = H(e.messageCompiler) ? e.messageCompiler : mr;
2103
- process.env.NODE_ENV !== "production" && H(e.messageCompiler) && is(De(te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
2104
- const I = H(e.messageResolver) ? e.messageResolver : Er || Io, A = H(e.localeFallbacker) ? e.localeFallbacker : pr || mo, f = $(e.fallbackContext) ? e.fallbackContext : void 0, w = e, F = $(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), b = $(w.__numberFormatters) ? w.__numberFormatters : /* @__PURE__ */ new Map(), C = $(w.__meta) ? w.__meta : {};
2105
- Un++;
2063
+ const t = H(e.onWarn) ? e.onWarn : ue, n = y(e.version) ? e.version : vo, r = y(e.locale) || H(e.locale) ? e.locale : _t, s = H(r) ? _t : r, o = K(e.fallbackLocale) || V(e.fallbackLocale) || y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = V(e.messages) ? e.messages : Wt(s), c = V(e.datetimeFormats) ? e.datetimeFormats : Wt(s), u = V(e.numberFormats) ? e.numberFormats : Wt(s), p = Q(G(), e.modifiers, So()), L = e.pluralRules || G(), T = H(e.missing) ? e.missing : null, g = B(e.missingWarn) || ft(e.missingWarn) ? e.missingWarn : !0, v = B(e.fallbackWarn) || ft(e.fallbackWarn) ? e.fallbackWarn : !0, R = !!e.fallbackFormat, S = !!e.unresolving, P = H(e.postTranslation) ? e.postTranslation : null, _ = V(e.processor) ? e.processor : null, E = B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter, m = H(e.messageCompiler) ? e.messageCompiler : Er;
2064
+ process.env.NODE_ENV !== "production" && H(e.messageCompiler) && is(ye(te.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
2065
+ const I = H(e.messageResolver) ? e.messageResolver : pr || Io, C = H(e.localeFallbacker) ? e.localeFallbacker : Nr || mo, f = $(e.fallbackContext) ? e.fallbackContext : void 0, w = e, F = $(w.__datetimeFormatters) ? w.__datetimeFormatters : /* @__PURE__ */ new Map(), b = $(w.__numberFormatters) ? w.__numberFormatters : /* @__PURE__ */ new Map(), A = $(w.__meta) ? w.__meta : {};
2066
+ Vn++;
2106
2067
  const M = {
2107
2068
  version: n,
2108
- cid: Un,
2069
+ cid: Vn,
2109
2070
  locale: r,
2110
2071
  fallbackLocale: o,
2111
2072
  messages: i,
@@ -2115,28 +2076,28 @@ function Fo(e = {}) {
2115
2076
  missingWarn: g,
2116
2077
  fallbackWarn: v,
2117
2078
  fallbackFormat: R,
2118
- unresolving: y,
2079
+ unresolving: S,
2119
2080
  postTranslation: P,
2120
2081
  processor: _,
2121
2082
  warnHtmlMessage: E,
2122
2083
  escapeParameter: h,
2123
2084
  messageCompiler: m,
2124
2085
  messageResolver: I,
2125
- localeFallbacker: A,
2086
+ localeFallbacker: C,
2126
2087
  fallbackContext: f,
2127
2088
  onWarn: t,
2128
- __meta: C
2089
+ __meta: A
2129
2090
  };
2130
- return M.datetimeFormats = c, M.numberFormats = u, M.__datetimeFormatters = F, M.__numberFormatters = b, process.env.NODE_ENV !== "production" && (M.__v_emitter = w.__v_emitter != null ? w.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && lo(M, n, C), M;
2091
+ return M.datetimeFormats = c, M.numberFormats = u, M.__datetimeFormatters = F, M.__numberFormatters = b, process.env.NODE_ENV !== "production" && (M.__v_emitter = w.__v_emitter != null ? w.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && lo(M, n, A), M;
2131
2092
  }
2132
- const Wt = (e) => ({ [e]: Y() });
2093
+ const Wt = (e) => ({ [e]: G() });
2133
2094
  function It(e, t) {
2134
2095
  return e instanceof RegExp ? e.test(t) : e;
2135
2096
  }
2136
- function Or(e, t) {
2097
+ function Lr(e, t) {
2137
2098
  return e instanceof RegExp ? e.test(t) : e;
2138
2099
  }
2139
- function un(e, t, n, r, s) {
2100
+ function _n(e, t, n, r, s) {
2140
2101
  const { missing: o, onWarn: i } = e;
2141
2102
  if (process.env.NODE_ENV !== "production") {
2142
2103
  const c = e.__v_emitter;
@@ -2149,15 +2110,15 @@ function un(e, t, n, r, s) {
2149
2110
  }
2150
2111
  if (o !== null) {
2151
2112
  const c = o(e, n, t, s);
2152
- return D(c) ? c : t;
2113
+ return y(c) ? c : t;
2153
2114
  } else
2154
- return process.env.NODE_ENV !== "production" && Or(r, t) && i(De(te.NOT_FOUND_KEY, { key: t, locale: n })), t;
2115
+ return process.env.NODE_ENV !== "production" && Lr(r, t) && i(ye(te.NOT_FOUND_KEY, { key: t, locale: n })), t;
2155
2116
  }
2156
2117
  function He(e, t, n) {
2157
2118
  const r = e;
2158
2119
  r.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
2159
2120
  }
2160
- function Lr(e, t) {
2121
+ function hr(e, t) {
2161
2122
  return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
2162
2123
  }
2163
2124
  function wo(e, t) {
@@ -2165,54 +2126,54 @@ function wo(e, t) {
2165
2126
  if (n === -1)
2166
2127
  return !1;
2167
2128
  for (let r = n + 1; r < t.length; r++)
2168
- if (Lr(e, t[r]))
2129
+ if (hr(e, t[r]))
2169
2130
  return !0;
2170
2131
  return !1;
2171
2132
  }
2172
- const Vn = typeof Intl < "u", hr = {
2173
- dateTimeFormat: Vn && typeof Intl.DateTimeFormat < "u",
2174
- numberFormat: Vn && typeof Intl.NumberFormat < "u"
2133
+ const $n = typeof Intl < "u", Tr = {
2134
+ dateTimeFormat: $n && typeof Intl.DateTimeFormat < "u",
2135
+ numberFormat: $n && typeof Intl.NumberFormat < "u"
2175
2136
  };
2176
- function $n(e, ...t) {
2137
+ function Wn(e, ...t) {
2177
2138
  const { datetimeFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: i } = e, { __datetimeFormatters: c } = e;
2178
- if (process.env.NODE_ENV !== "production" && !hr.dateTimeFormat)
2179
- return o(De(te.CANNOT_FORMAT_DATE)), mt;
2180
- const [u, p, L, T] = Xt(...t), g = B(L.missingWarn) ? L.missingWarn : e.missingWarn, v = B(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, R = !!L.part, y = cn(e, L), P = i(
2139
+ if (process.env.NODE_ENV !== "production" && !Tr.dateTimeFormat)
2140
+ return o(ye(te.CANNOT_FORMAT_DATE)), dt;
2141
+ const [u, p, L, T] = Xt(...t), g = B(L.missingWarn) ? L.missingWarn : e.missingWarn, v = B(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, R = !!L.part, S = fn(e, L), P = i(
2181
2142
  e,
2182
2143
  // eslint-disable-line @typescript-eslint/no-explicit-any
2183
2144
  s,
2184
- y
2145
+ S
2185
2146
  );
2186
- if (!D(u) || u === "")
2187
- return new Intl.DateTimeFormat(y, T).format(p);
2188
- let _ = {}, E, h = null, m = y, I = null;
2189
- const A = "datetime format";
2147
+ if (!y(u) || u === "")
2148
+ return new Intl.DateTimeFormat(S, T).format(p);
2149
+ let _ = {}, E, h = null, m = S, I = null;
2150
+ const C = "datetime format";
2190
2151
  for (let F = 0; F < P.length; F++) {
2191
- if (E = I = P[F], process.env.NODE_ENV !== "production" && y !== E && It(v, u) && o(De(te.FALLBACK_TO_DATE_FORMAT, {
2152
+ if (E = I = P[F], process.env.NODE_ENV !== "production" && S !== E && It(v, u) && o(ye(te.FALLBACK_TO_DATE_FORMAT, {
2192
2153
  key: u,
2193
2154
  target: E
2194
- })), process.env.NODE_ENV !== "production" && y !== E) {
2155
+ })), process.env.NODE_ENV !== "production" && S !== E) {
2195
2156
  const b = e.__v_emitter;
2196
2157
  b && b.emit("fallback", {
2197
- type: A,
2158
+ type: C,
2198
2159
  key: u,
2199
2160
  from: m,
2200
2161
  to: I,
2201
- groupId: `${A}:${u}`
2162
+ groupId: `${C}:${u}`
2202
2163
  });
2203
2164
  }
2204
2165
  if (_ = n[E] || {}, h = _[u], V(h))
2205
2166
  break;
2206
- un(e, u, E, g, A), m = I;
2167
+ _n(e, u, E, g, C), m = I;
2207
2168
  }
2208
- if (!V(h) || !D(E))
2169
+ if (!V(h) || !y(E))
2209
2170
  return r ? Tt : u;
2210
2171
  let f = `${E}__${u}`;
2211
2172
  ht(T) || (f = `${f}__${JSON.stringify(T)}`);
2212
2173
  let w = c.get(f);
2213
- return w || (w = new Intl.DateTimeFormat(E, q({}, h, T)), c.set(f, w)), R ? w.formatToParts(p) : w.format(p);
2174
+ return w || (w = new Intl.DateTimeFormat(E, Q({}, h, T)), c.set(f, w)), R ? w.formatToParts(p) : w.format(p);
2214
2175
  }
2215
- const Tr = [
2176
+ const Ir = [
2216
2177
  "localeMatcher",
2217
2178
  "weekday",
2218
2179
  "era",
@@ -2235,9 +2196,9 @@ const Tr = [
2235
2196
  "fractionalSecondDigits"
2236
2197
  ];
2237
2198
  function Xt(...e) {
2238
- const [t, n, r, s] = e, o = Y();
2239
- let i = Y(), c;
2240
- if (D(t)) {
2199
+ const [t, n, r, s] = e, o = G();
2200
+ let i = G(), c;
2201
+ if (y(t)) {
2241
2202
  const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
2242
2203
  if (!u)
2243
2204
  throw Ee(ee.INVALID_ISO_DATE_ARGUMENT);
@@ -2252,15 +2213,15 @@ function Xt(...e) {
2252
2213
  if (isNaN(t.getTime()))
2253
2214
  throw Ee(ee.INVALID_DATE_ARGUMENT);
2254
2215
  c = t;
2255
- } else if (J(t))
2216
+ } else if (q(t))
2256
2217
  c = t;
2257
2218
  else
2258
2219
  throw Ee(ee.INVALID_ARGUMENT);
2259
- return D(n) ? o.key = n : V(n) && Object.keys(n).forEach((u) => {
2260
- Tr.includes(u) ? i[u] = n[u] : o[u] = n[u];
2261
- }), D(r) ? o.locale = r : V(r) && (i = r), V(s) && (i = s), [o.key || "", c, o, i];
2220
+ return y(n) ? o.key = n : V(n) && Object.keys(n).forEach((u) => {
2221
+ Ir.includes(u) ? i[u] = n[u] : o[u] = n[u];
2222
+ }), y(r) ? o.locale = r : V(r) && (i = r), V(s) && (i = s), [o.key || "", c, o, i];
2262
2223
  }
2263
- function Wn(e, t, n) {
2224
+ function Gn(e, t, n) {
2264
2225
  const r = e;
2265
2226
  for (const s in n) {
2266
2227
  const o = `${t}__${s}`;
@@ -2269,44 +2230,44 @@ function Wn(e, t, n) {
2269
2230
  }
2270
2231
  function Yn(e, ...t) {
2271
2232
  const { numberFormats: n, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: i } = e, { __numberFormatters: c } = e;
2272
- if (process.env.NODE_ENV !== "production" && !hr.numberFormat)
2273
- return o(De(te.CANNOT_FORMAT_NUMBER)), mt;
2274
- const [u, p, L, T] = Jt(...t), g = B(L.missingWarn) ? L.missingWarn : e.missingWarn, v = B(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, R = !!L.part, y = cn(e, L), P = i(
2233
+ if (process.env.NODE_ENV !== "production" && !Tr.numberFormat)
2234
+ return o(ye(te.CANNOT_FORMAT_NUMBER)), dt;
2235
+ const [u, p, L, T] = qt(...t), g = B(L.missingWarn) ? L.missingWarn : e.missingWarn, v = B(L.fallbackWarn) ? L.fallbackWarn : e.fallbackWarn, R = !!L.part, S = fn(e, L), P = i(
2275
2236
  e,
2276
2237
  // eslint-disable-line @typescript-eslint/no-explicit-any
2277
2238
  s,
2278
- y
2239
+ S
2279
2240
  );
2280
- if (!D(u) || u === "")
2281
- return new Intl.NumberFormat(y, T).format(p);
2282
- let _ = {}, E, h = null, m = y, I = null;
2283
- const A = "number format";
2241
+ if (!y(u) || u === "")
2242
+ return new Intl.NumberFormat(S, T).format(p);
2243
+ let _ = {}, E, h = null, m = S, I = null;
2244
+ const C = "number format";
2284
2245
  for (let F = 0; F < P.length; F++) {
2285
- if (E = I = P[F], process.env.NODE_ENV !== "production" && y !== E && It(v, u) && o(De(te.FALLBACK_TO_NUMBER_FORMAT, {
2246
+ if (E = I = P[F], process.env.NODE_ENV !== "production" && S !== E && It(v, u) && o(ye(te.FALLBACK_TO_NUMBER_FORMAT, {
2286
2247
  key: u,
2287
2248
  target: E
2288
- })), process.env.NODE_ENV !== "production" && y !== E) {
2249
+ })), process.env.NODE_ENV !== "production" && S !== E) {
2289
2250
  const b = e.__v_emitter;
2290
2251
  b && b.emit("fallback", {
2291
- type: A,
2252
+ type: C,
2292
2253
  key: u,
2293
2254
  from: m,
2294
2255
  to: I,
2295
- groupId: `${A}:${u}`
2256
+ groupId: `${C}:${u}`
2296
2257
  });
2297
2258
  }
2298
2259
  if (_ = n[E] || {}, h = _[u], V(h))
2299
2260
  break;
2300
- un(e, u, E, g, A), m = I;
2261
+ _n(e, u, E, g, C), m = I;
2301
2262
  }
2302
- if (!V(h) || !D(E))
2263
+ if (!V(h) || !y(E))
2303
2264
  return r ? Tt : u;
2304
2265
  let f = `${E}__${u}`;
2305
2266
  ht(T) || (f = `${f}__${JSON.stringify(T)}`);
2306
2267
  let w = c.get(f);
2307
- return w || (w = new Intl.NumberFormat(E, q({}, h, T)), c.set(f, w)), R ? w.formatToParts(p) : w.format(p);
2268
+ return w || (w = new Intl.NumberFormat(E, Q({}, h, T)), c.set(f, w)), R ? w.formatToParts(p) : w.format(p);
2308
2269
  }
2309
- const Ir = [
2270
+ const br = [
2310
2271
  "localeMatcher",
2311
2272
  "style",
2312
2273
  "currency",
@@ -2328,108 +2289,108 @@ const Ir = [
2328
2289
  "roundingIncrement",
2329
2290
  "trailingZeroDisplay"
2330
2291
  ];
2331
- function Jt(...e) {
2332
- const [t, n, r, s] = e, o = Y();
2333
- let i = Y();
2334
- if (!J(t))
2292
+ function qt(...e) {
2293
+ const [t, n, r, s] = e, o = G();
2294
+ let i = G();
2295
+ if (!q(t))
2335
2296
  throw Ee(ee.INVALID_ARGUMENT);
2336
2297
  const c = t;
2337
- return D(n) ? o.key = n : V(n) && Object.keys(n).forEach((u) => {
2338
- Ir.includes(u) ? i[u] = n[u] : o[u] = n[u];
2339
- }), D(r) ? o.locale = r : V(r) && (i = r), V(s) && (i = s), [o.key || "", c, o, i];
2298
+ return y(n) ? o.key = n : V(n) && Object.keys(n).forEach((u) => {
2299
+ br.includes(u) ? i[u] = n[u] : o[u] = n[u];
2300
+ }), y(r) ? o.locale = r : V(r) && (i = r), V(s) && (i = s), [o.key || "", c, o, i];
2340
2301
  }
2341
- function Gn(e, t, n) {
2302
+ function Hn(e, t, n) {
2342
2303
  const r = e;
2343
2304
  for (const s in n) {
2344
2305
  const o = `${t}__${s}`;
2345
2306
  r.__numberFormatters.has(o) && r.__numberFormatters.delete(o);
2346
2307
  }
2347
2308
  }
2348
- const Uo = (e) => e, Vo = (e) => "", $o = "text", Wo = (e) => e.length === 0 ? "" : on(e), Yo = ps;
2349
- function Hn(e, t) {
2309
+ const Uo = (e) => e, Vo = (e) => "", $o = "text", Wo = (e) => e.length === 0 ? "" : ln(e), Go = ps;
2310
+ function xn(e, t) {
2350
2311
  return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
2351
2312
  }
2352
- function Go(e) {
2353
- const t = J(e.pluralIndex) ? e.pluralIndex : -1;
2354
- return e.named && (J(e.named.count) || J(e.named.n)) ? J(e.named.count) ? e.named.count : J(e.named.n) ? e.named.n : t : t;
2313
+ function Yo(e) {
2314
+ const t = q(e.pluralIndex) ? e.pluralIndex : -1;
2315
+ return e.named && (q(e.named.count) || q(e.named.n)) ? q(e.named.count) ? e.named.count : q(e.named.n) ? e.named.n : t : t;
2355
2316
  }
2356
2317
  function Ho(e, t) {
2357
2318
  t.count || (t.count = e), t.n || (t.n = e);
2358
2319
  }
2359
2320
  function xo(e = {}) {
2360
- const t = e.locale, n = Go(e), r = $(e.pluralRules) && D(t) && H(e.pluralRules[t]) ? e.pluralRules[t] : Hn, s = $(e.pluralRules) && D(t) && H(e.pluralRules[t]) ? Hn : void 0, o = (_) => _[r(n, _.length, s)], i = e.list || [], c = (_) => i[_], u = e.named || Y();
2361
- J(e.pluralIndex) && Ho(n, u);
2321
+ const t = e.locale, n = Yo(e), r = $(e.pluralRules) && y(t) && H(e.pluralRules[t]) ? e.pluralRules[t] : xn, s = $(e.pluralRules) && y(t) && H(e.pluralRules[t]) ? xn : void 0, o = (_) => _[r(n, _.length, s)], i = e.list || [], c = (_) => i[_], u = e.named || G();
2322
+ q(e.pluralIndex) && Ho(n, u);
2362
2323
  const p = (_) => u[_];
2363
2324
  function L(_, E) {
2364
2325
  const h = H(e.messages) ? e.messages(_, !!E) : $(e.messages) ? e.messages[_] : !1;
2365
2326
  return h || (e.parent ? e.parent.message(_) : Vo);
2366
2327
  }
2367
- const T = (_) => e.modifiers ? e.modifiers[_] : Uo, g = V(e.processor) && H(e.processor.normalize) ? e.processor.normalize : Wo, v = V(e.processor) && H(e.processor.interpolate) ? e.processor.interpolate : Yo, R = V(e.processor) && D(e.processor.type) ? e.processor.type : $o, P = {
2328
+ const T = (_) => e.modifiers ? e.modifiers[_] : Uo, g = V(e.processor) && H(e.processor.normalize) ? e.processor.normalize : Wo, v = V(e.processor) && H(e.processor.interpolate) ? e.processor.interpolate : Go, R = V(e.processor) && y(e.processor.type) ? e.processor.type : $o, P = {
2368
2329
  list: c,
2369
2330
  named: p,
2370
2331
  plural: o,
2371
2332
  linked: (_, ...E) => {
2372
2333
  const [h, m] = E;
2373
- let I = "text", A = "";
2374
- E.length === 1 ? $(h) ? (A = h.modifier || A, I = h.type || I) : D(h) && (A = h || A) : E.length === 2 && (D(h) && (A = h || A), D(m) && (I = m || I));
2334
+ let I = "text", C = "";
2335
+ E.length === 1 ? $(h) ? (C = h.modifier || C, I = h.type || I) : y(h) && (C = h || C) : E.length === 2 && (y(h) && (C = h || C), y(m) && (I = m || I));
2375
2336
  const f = L(_, !0)(P), w = (
2376
2337
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
2377
- I === "vnode" && K(f) && A ? f[0] : f
2338
+ I === "vnode" && K(f) && C ? f[0] : f
2378
2339
  );
2379
- return A ? T(A)(w, I) : w;
2340
+ return C ? T(C)(w, I) : w;
2380
2341
  },
2381
2342
  message: L,
2382
2343
  type: R,
2383
2344
  interpolate: v,
2384
2345
  normalize: g,
2385
- values: q(Y(), i, u)
2346
+ values: Q(G(), i, u)
2386
2347
  };
2387
2348
  return P;
2388
2349
  }
2389
- const xn = () => "", se = (e) => H(e);
2390
- function jn(e, ...t) {
2391
- const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: i, messages: c } = e, [u, p] = qt(...t), L = B(p.missingWarn) ? p.missingWarn : e.missingWarn, T = B(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, g = B(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, v = !!p.resolvedMessage, R = D(p.default) || B(p.default) ? B(p.default) ? o ? u : () => u : p.default : n ? o ? u : () => u : null, y = n || R != null && (D(R) || H(R)), P = cn(e, p);
2350
+ const jn = () => "", se = (e) => H(e);
2351
+ function Bn(e, ...t) {
2352
+ const { fallbackFormat: n, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: i, messages: c } = e, [u, p] = Qt(...t), L = B(p.missingWarn) ? p.missingWarn : e.missingWarn, T = B(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, g = B(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, v = !!p.resolvedMessage, R = y(p.default) || B(p.default) ? B(p.default) ? o ? u : () => u : p.default : n ? o ? u : () => u : null, S = n || R != null && (y(R) || H(R)), P = fn(e, p);
2392
2353
  g && jo(p);
2393
2354
  let [_, E, h] = v ? [
2394
2355
  u,
2395
2356
  P,
2396
- c[P] || Y()
2397
- ] : br(e, u, P, i, T, L), m = _, I = u;
2398
- if (!v && !(D(m) || ae(m) || se(m)) && y && (m = R, I = m), !v && (!(D(m) || ae(m) || se(m)) || !D(E)))
2357
+ c[P] || G()
2358
+ ] : Cr(e, u, P, i, T, L), m = _, I = u;
2359
+ if (!v && !(y(m) || ae(m) || se(m)) && S && (m = R, I = m), !v && (!(y(m) || ae(m) || se(m)) || !y(E)))
2399
2360
  return s ? Tt : u;
2400
- if (process.env.NODE_ENV !== "production" && D(m) && e.messageCompiler == null)
2361
+ if (process.env.NODE_ENV !== "production" && y(m) && e.messageCompiler == null)
2401
2362
  return ue(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${u}'.`), u;
2402
- let A = !1;
2363
+ let C = !1;
2403
2364
  const f = () => {
2404
- A = !0;
2365
+ C = !0;
2405
2366
  }, w = se(m) ? m : Ar(e, u, E, m, I, f);
2406
- if (A)
2367
+ if (C)
2407
2368
  return m;
2408
- const F = Jo(e, E, h, p), b = xo(F), C = Bo(e, w, b);
2409
- let M = r ? r(C, u) : C;
2410
- if (g && D(M) && (M = ds(M)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2369
+ const F = qo(e, E, h, p), b = xo(F), A = Bo(e, w, b);
2370
+ let M = r ? r(A, u) : A;
2371
+ if (g && y(M) && (M = ds(M)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
2411
2372
  const X = {
2412
2373
  timestamp: Date.now(),
2413
- key: D(u) ? u : se(m) ? m.key : "",
2374
+ key: y(u) ? u : se(m) ? m.key : "",
2414
2375
  locale: E || (se(m) ? m.locale : ""),
2415
- format: D(m) ? m : se(m) ? m.source : "",
2376
+ format: y(m) ? m : se(m) ? m.source : "",
2416
2377
  message: M
2417
2378
  };
2418
- X.meta = q({}, e.__meta, /* @__PURE__ */ ko() || {}), co(X);
2379
+ X.meta = Q({}, e.__meta, /* @__PURE__ */ ko() || {}), co(X);
2419
2380
  }
2420
2381
  return M;
2421
2382
  }
2422
2383
  function jo(e) {
2423
- K(e.list) ? e.list = e.list.map((t) => D(t) ? An(t) : t) : $(e.named) && Object.keys(e.named).forEach((t) => {
2424
- D(e.named[t]) && (e.named[t] = An(e.named[t]));
2384
+ K(e.list) ? e.list = e.list.map((t) => y(t) ? An(t) : t) : $(e.named) && Object.keys(e.named).forEach((t) => {
2385
+ y(e.named[t]) && (e.named[t] = An(e.named[t]));
2425
2386
  });
2426
2387
  }
2427
- function br(e, t, n, r, s, o) {
2388
+ function Cr(e, t, n, r, s, o) {
2428
2389
  const { messages: i, onWarn: c, messageResolver: u, localeFallbacker: p } = e, L = p(e, r, n);
2429
- let T = Y(), g, v = null, R = n, y = null;
2390
+ let T = G(), g, v = null, R = n, S = null;
2430
2391
  const P = "translate";
2431
2392
  for (let _ = 0; _ < L.length; _++) {
2432
- if (g = y = L[_], process.env.NODE_ENV !== "production" && n !== g && !Lr(n, g) && It(s, t) && c(De(te.FALLBACK_TO_TRANSLATE, {
2393
+ if (g = S = L[_], process.env.NODE_ENV !== "production" && n !== g && !hr(n, g) && It(s, t) && c(ye(te.FALLBACK_TO_TRANSLATE, {
2433
2394
  key: t,
2434
2395
  target: g
2435
2396
  })), process.env.NODE_ENV !== "production" && n !== g) {
@@ -2438,26 +2399,26 @@ function br(e, t, n, r, s, o) {
2438
2399
  type: P,
2439
2400
  key: t,
2440
2401
  from: R,
2441
- to: y,
2402
+ to: S,
2442
2403
  groupId: `${P}:${t}`
2443
2404
  });
2444
2405
  }
2445
- T = i[g] || Y();
2406
+ T = i[g] || G();
2446
2407
  let E = null, h, m;
2447
2408
  if (process.env.NODE_ENV !== "production" && pe && (E = window.performance.now(), h = "intlify-message-resolve-start", m = "intlify-message-resolve-end", ne && ne(h)), (v = u(T, t)) === null && (v = T[t]), process.env.NODE_ENV !== "production" && pe) {
2448
- const I = window.performance.now(), A = e.__v_emitter;
2449
- A && E && v && A.emit("message-resolve", {
2409
+ const I = window.performance.now(), C = e.__v_emitter;
2410
+ C && E && v && C.emit("message-resolve", {
2450
2411
  type: "message-resolve",
2451
2412
  key: t,
2452
2413
  message: v,
2453
2414
  time: I - E,
2454
2415
  groupId: `${P}:${t}`
2455
- }), h && m && ne && ye && (ne(m), ye("intlify message resolve", h, m));
2416
+ }), h && m && ne && Se && (ne(m), Se("intlify message resolve", h, m));
2456
2417
  }
2457
- if (D(v) || ae(v) || se(v))
2418
+ if (y(v) || ae(v) || se(v))
2458
2419
  break;
2459
2420
  if (!wo(g, L)) {
2460
- const I = un(
2421
+ const I = _n(
2461
2422
  e,
2462
2423
  // eslint-disable-line @typescript-eslint/no-explicit-any
2463
2424
  t,
@@ -2467,7 +2428,7 @@ function br(e, t, n, r, s, o) {
2467
2428
  );
2468
2429
  I !== t && (v = I);
2469
2430
  }
2470
- R = y;
2431
+ R = S;
2471
2432
  }
2472
2433
  return [v, g, T];
2473
2434
  }
@@ -2491,7 +2452,7 @@ function Ar(e, t, n, r, s, o) {
2491
2452
  message: r,
2492
2453
  time: g - u,
2493
2454
  groupId: `translate:${t}`
2494
- }), p && L && ne && ye && (ne(L), ye("intlify message compilation", p, L));
2455
+ }), p && L && ne && Se && (ne(L), Se("intlify message compilation", p, L));
2495
2456
  }
2496
2457
  return T.locale = n, T.key = t, T.source = r, T;
2497
2458
  }
@@ -2506,16 +2467,16 @@ function Bo(e, t, n) {
2506
2467
  value: i,
2507
2468
  time: c - r,
2508
2469
  groupId: `translate:${t.key}`
2509
- }), s && o && ne && ye && (ne(o), ye("intlify message evaluation", s, o));
2470
+ }), s && o && ne && Se && (ne(o), Se("intlify message evaluation", s, o));
2510
2471
  }
2511
2472
  return i;
2512
2473
  }
2513
- function qt(...e) {
2514
- const [t, n, r] = e, s = Y();
2515
- if (!D(t) && !J(t) && !se(t) && !ae(t))
2474
+ function Qt(...e) {
2475
+ const [t, n, r] = e, s = G();
2476
+ if (!y(t) && !q(t) && !se(t) && !ae(t))
2516
2477
  throw Ee(ee.INVALID_ARGUMENT);
2517
- const o = J(t) ? String(t) : (se(t), t);
2518
- return J(n) ? s.plural = n : D(n) ? s.default = n : V(n) && !ht(n) ? s.named = n : K(n) && (s.list = n), J(r) ? s.plural = r : D(r) ? s.default = r : V(r) && q(s, r), [o, s];
2478
+ const o = q(t) ? String(t) : (se(t), t);
2479
+ return q(n) ? s.plural = n : y(n) ? s.default = n : V(n) && !ht(n) ? s.named = n : K(n) && (s.list = n), q(r) ? s.plural = r : y(r) ? s.default = r : V(r) && Q(s, r), [o, s];
2519
2480
  }
2520
2481
  function Ko(e, t, n, r, s, o) {
2521
2482
  return {
@@ -2540,20 +2501,20 @@ ${p}` : u);
2540
2501
  };
2541
2502
  }
2542
2503
  function Xo(e) {
2543
- if (D(e))
2504
+ if (y(e))
2544
2505
  return e;
2545
2506
  if (e.loc && e.loc.source)
2546
2507
  return e.loc.source;
2547
2508
  }
2548
- function Jo(e, t, n, r) {
2509
+ function qo(e, t, n, r) {
2549
2510
  const { modifiers: s, pluralRules: o, messageResolver: i, fallbackLocale: c, fallbackWarn: u, missingWarn: p, fallbackContext: L } = e, g = {
2550
2511
  locale: t,
2551
2512
  modifiers: s,
2552
2513
  pluralRules: o,
2553
2514
  messages: (v, R) => {
2554
- let y = i(n, v);
2555
- if (y == null && (L || R)) {
2556
- const [, , P] = br(
2515
+ let S = i(n, v);
2516
+ if (S == null && (L || R)) {
2517
+ const [, , P] = Cr(
2557
2518
  L || e,
2558
2519
  // NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
2559
2520
  v,
@@ -2562,25 +2523,25 @@ function Jo(e, t, n, r) {
2562
2523
  u,
2563
2524
  p
2564
2525
  );
2565
- y = i(P, v);
2526
+ S = i(P, v);
2566
2527
  }
2567
- if (D(y) || ae(y)) {
2528
+ if (y(S) || ae(S)) {
2568
2529
  let P = !1;
2569
- const E = Ar(e, v, t, y, v, () => {
2530
+ const E = Ar(e, v, t, S, v, () => {
2570
2531
  P = !0;
2571
2532
  });
2572
- return P ? xn : E;
2573
- } else return se(y) ? y : xn;
2533
+ return P ? jn : E;
2534
+ } else return se(S) ? S : jn;
2574
2535
  }
2575
2536
  };
2576
- return e.processor && (g.processor = e.processor), r.list && (g.list = r.list), r.named && (g.named = r.named), J(r.plural) && (g.pluralIndex = r.plural), g;
2537
+ return e.processor && (g.processor = e.processor), r.list && (g.list = r.list), r.named && (g.named = r.named), q(r.plural) && (g.pluralIndex = r.plural), g;
2577
2538
  }
2578
2539
  Xs();
2579
- const qo = "11.2.2";
2580
- function Qo() {
2581
- typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ce().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ce().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ce().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ce().__INTLIFY_PROD_DEVTOOLS__ = !1);
2540
+ const Qo = "11.2.2";
2541
+ function Jo() {
2542
+ typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ae().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ae().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ae().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ae().__INTLIFY_PROD_DEVTOOLS__ = !1);
2582
2543
  }
2583
- const Q = {
2544
+ const J = {
2584
2545
  // composer module errors
2585
2546
  UNEXPECTED_RETURN_TYPE: fo,
2586
2547
  // 24
@@ -2602,23 +2563,23 @@ const Q = {
2602
2563
  // Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly
2603
2564
  NOT_AVAILABLE_COMPOSITION_IN_LEGACY: 34
2604
2565
  };
2605
- function qe(e, ...t) {
2566
+ function Qe(e, ...t) {
2606
2567
  return we(e, null, process.env.NODE_ENV !== "production" ? { messages: Zo, args: t } : void 0);
2607
2568
  }
2608
2569
  const Zo = {
2609
- [Q.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
2610
- [Q.INVALID_ARGUMENT]: "Invalid argument",
2611
- [Q.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
2612
- [Q.NOT_INSTALLED]: "Need to install with `app.use` function",
2613
- [Q.UNEXPECTED_ERROR]: "Unexpected error",
2614
- [Q.REQUIRED_VALUE]: "Required in value: {0}",
2615
- [Q.INVALID_VALUE]: "Invalid value",
2616
- [Q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
2617
- [Q.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2618
- [Q.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2619
- [Q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2620
- }, Qt = /* @__PURE__ */ Ne("__translateVNode"), Zt = /* @__PURE__ */ Ne("__datetimeParts"), zt = /* @__PURE__ */ Ne("__numberParts"), en = /* @__PURE__ */ Ne("__enableEmitter"), tn = /* @__PURE__ */ Ne("__disableEmitter"), zo = Ne("__setPluralRules"), Cr = /* @__PURE__ */ Ne("__injectWithOption"), nn = /* @__PURE__ */ Ne("__dispose"), ce = {
2621
- FALLBACK_TO_ROOT: Ao,
2570
+ [J.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
2571
+ [J.INVALID_ARGUMENT]: "Invalid argument",
2572
+ [J.MUST_BE_CALL_SETUP_TOP]: "Must be called at the top of a `setup` function",
2573
+ [J.NOT_INSTALLED]: "Need to install with `app.use` function",
2574
+ [J.UNEXPECTED_ERROR]: "Unexpected error",
2575
+ [J.REQUIRED_VALUE]: "Required in value: {0}",
2576
+ [J.INVALID_VALUE]: "Invalid value",
2577
+ [J.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]: "Cannot setup vue-devtools plugin",
2578
+ [J.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2579
+ [J.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2580
+ [J.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2581
+ }, Jt = /* @__PURE__ */ Ne("__translateVNode"), Zt = /* @__PURE__ */ Ne("__datetimeParts"), zt = /* @__PURE__ */ Ne("__numberParts"), en = /* @__PURE__ */ Ne("__enableEmitter"), tn = /* @__PURE__ */ Ne("__disableEmitter"), zo = Ne("__setPluralRules"), vr = /* @__PURE__ */ Ne("__injectWithOption"), nn = /* @__PURE__ */ Ne("__dispose"), ce = {
2582
+ FALLBACK_TO_ROOT: Co,
2622
2583
  // 8
2623
2584
  NOT_FOUND_PARENT_SCOPE: 9,
2624
2585
  IGNORE_OBJ_FLATTEN: 10,
@@ -2647,56 +2608,56 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2647
2608
  [ce.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE]: "'v-t' has been deprecated in v11. Use translate APIs ('t' or '$t') instead.",
2648
2609
  [ce.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."
2649
2610
  };
2650
- function Et(e, ...t) {
2611
+ function mt(e, ...t) {
2651
2612
  return Lt(ea[e], ...t);
2652
2613
  }
2653
- function Qe(e) {
2614
+ function Je(e) {
2654
2615
  if (!$(e) || ae(e))
2655
2616
  return e;
2656
2617
  for (const t in e)
2657
2618
  if (oe(e, t))
2658
2619
  if (!t.includes("."))
2659
- $(e[t]) && Qe(e[t]);
2620
+ $(e[t]) && Je(e[t]);
2660
2621
  else {
2661
2622
  const n = t.split("."), r = n.length - 1;
2662
2623
  let s = e, o = !1;
2663
2624
  for (let i = 0; i < r; i++) {
2664
2625
  if (n[i] === "__proto__")
2665
2626
  throw new Error(`unsafe key: ${n[i]}`);
2666
- if (n[i] in s || (s[n[i]] = Y()), !$(s[n[i]])) {
2667
- process.env.NODE_ENV !== "production" && ue(Et(ce.IGNORE_OBJ_FLATTEN, {
2627
+ if (n[i] in s || (s[n[i]] = G()), !$(s[n[i]])) {
2628
+ process.env.NODE_ENV !== "production" && ue(mt(ce.IGNORE_OBJ_FLATTEN, {
2668
2629
  key: n[i]
2669
2630
  })), o = !0;
2670
2631
  break;
2671
2632
  }
2672
2633
  s = s[n[i]];
2673
2634
  }
2674
- if (o || (ae(s) ? _r.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !ae(s)) {
2635
+ if (o || (ae(s) ? dr.includes(n[r]) || delete e[t] : (s[n[r]] = e[t], delete e[t])), !ae(s)) {
2675
2636
  const i = s[n[r]];
2676
- $(i) && Qe(i);
2637
+ $(i) && Je(i);
2677
2638
  }
2678
2639
  }
2679
2640
  return e;
2680
2641
  }
2681
- function vr(e, t) {
2682
- const { messages: n, __i18n: r, messageResolver: s, flatJson: o } = t, i = V(n) ? n : K(r) ? Y() : { [e]: Y() };
2642
+ function Sr(e, t) {
2643
+ const { messages: n, __i18n: r, messageResolver: s, flatJson: o } = t, i = V(n) ? n : K(r) ? G() : { [e]: G() };
2683
2644
  if (K(r) && r.forEach((c) => {
2684
2645
  if ("locale" in c && "resource" in c) {
2685
2646
  const { locale: u, resource: p } = c;
2686
- u ? (i[u] = i[u] || Y(), ot(p, i[u])) : ot(p, i);
2647
+ u ? (i[u] = i[u] || G(), ot(p, i[u])) : ot(p, i);
2687
2648
  } else
2688
- D(c) && ot(JSON.parse(c), i);
2649
+ y(c) && ot(JSON.parse(c), i);
2689
2650
  }), s == null && o)
2690
2651
  for (const c in i)
2691
- oe(i, c) && Qe(i[c]);
2652
+ oe(i, c) && Je(i[c]);
2692
2653
  return i;
2693
2654
  }
2694
2655
  function yr(e) {
2695
2656
  return e.type;
2696
2657
  }
2697
2658
  function ta(e, t, n) {
2698
- let r = $(t.messages) ? t.messages : Y();
2699
- "__i18nGlobal" in n && (r = vr(e.locale.value, {
2659
+ let r = $(t.messages) ? t.messages : G();
2660
+ "__i18nGlobal" in n && (r = Sr(e.locale.value, {
2700
2661
  messages: r,
2701
2662
  __i18n: n.__i18nGlobal
2702
2663
  }));
@@ -2719,48 +2680,48 @@ function ta(e, t, n) {
2719
2680
  }
2720
2681
  }
2721
2682
  }
2722
- function Bn(e) {
2723
- return Qr(Zr, null, e, 0);
2683
+ function Kn(e) {
2684
+ return Zr(zr, null, e, 0);
2724
2685
  }
2725
- function fn() {
2686
+ function dn() {
2726
2687
  return "currentInstance" in Mt ? Mt["currentInstance"] : Mt.getCurrentInstance();
2727
2688
  }
2728
- const Kn = "__INTLIFY_META__", Xn = () => [], na = () => !1;
2729
- let Jn = 0;
2730
- function qn(e) {
2731
- return ((t, n, r, s) => e(n, r, fn() || void 0, s));
2689
+ const Xn = "__INTLIFY_META__", qn = () => [], na = () => !1;
2690
+ let Qn = 0;
2691
+ function Jn(e) {
2692
+ return ((t, n, r, s) => e(n, r, dn() || void 0, s));
2732
2693
  }
2733
2694
  const ra = /* @__NO_SIDE_EFFECTS__ */ () => {
2734
- const e = fn();
2695
+ const e = dn();
2735
2696
  let t = null;
2736
- return e && (t = yr(e)[Kn]) ? { [Kn]: t } : null;
2697
+ return e && (t = yr(e)[Xn]) ? { [Xn]: t } : null;
2737
2698
  };
2738
2699
  function sa(e = {}) {
2739
- const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, o = pe ? Be : Xr;
2700
+ const { __root: t, __injectWithOption: n } = e, r = t === void 0, s = e.flatJson, o = pe ? Be : qr;
2740
2701
  let i = B(e.inheritLocale) ? e.inheritLocale : !0;
2741
2702
  const c = o(
2742
2703
  // prettier-ignore
2743
- t && i ? t.locale.value : D(e.locale) ? e.locale : dt
2704
+ t && i ? t.locale.value : y(e.locale) ? e.locale : _t
2744
2705
  ), u = o(
2745
2706
  // prettier-ignore
2746
- t && i ? t.fallbackLocale.value : D(e.fallbackLocale) || K(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
2747
- ), p = o(vr(c.value, e)), L = o(V(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), T = o(V(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
2748
- let g = t ? t.missingWarn : B(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, v = t ? t.fallbackWarn : B(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, R = t ? t.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, y = !!e.fallbackFormat, P = H(e.missing) ? e.missing : null, _ = H(e.missing) ? qn(e.missing) : null, E = H(e.postTranslation) ? e.postTranslation : null, h = t ? t.warnHtmlMessage : B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
2707
+ t && i ? t.fallbackLocale.value : y(e.fallbackLocale) || K(e.fallbackLocale) || V(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : c.value
2708
+ ), p = o(Sr(c.value, e)), L = o(V(e.datetimeFormats) ? e.datetimeFormats : { [c.value]: {} }), T = o(V(e.numberFormats) ? e.numberFormats : { [c.value]: {} });
2709
+ let g = t ? t.missingWarn : B(e.missingWarn) || ft(e.missingWarn) ? e.missingWarn : !0, v = t ? t.fallbackWarn : B(e.fallbackWarn) || ft(e.fallbackWarn) ? e.fallbackWarn : !0, R = t ? t.fallbackRoot : B(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, P = H(e.missing) ? e.missing : null, _ = H(e.missing) ? Jn(e.missing) : null, E = H(e.postTranslation) ? e.postTranslation : null, h = t ? t.warnHtmlMessage : B(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, m = !!e.escapeParameter;
2749
2710
  const I = t ? t.modifiers : V(e.modifiers) ? e.modifiers : {};
2750
- let A = e.pluralRules || t && t.pluralRules, f;
2711
+ let C = e.pluralRules || t && t.pluralRules, f;
2751
2712
  f = (() => {
2752
- r && wn(null);
2713
+ r && Un(null);
2753
2714
  const d = {
2754
- version: qo,
2715
+ version: Qo,
2755
2716
  locale: c.value,
2756
2717
  fallbackLocale: u.value,
2757
2718
  messages: p.value,
2758
2719
  modifiers: I,
2759
- pluralRules: A,
2720
+ pluralRules: C,
2760
2721
  missing: _ === null ? void 0 : _,
2761
2722
  missingWarn: g,
2762
2723
  fallbackWarn: v,
2763
- fallbackFormat: y,
2724
+ fallbackFormat: S,
2764
2725
  unresolving: !0,
2765
2726
  postTranslation: E === null ? void 0 : E,
2766
2727
  warnHtmlMessage: h,
@@ -2771,7 +2732,7 @@ function sa(e = {}) {
2771
2732
  };
2772
2733
  d.datetimeFormats = L.value, d.numberFormats = T.value, d.__datetimeFormatters = V(f) ? f.__datetimeFormatters : void 0, d.__numberFormatters = V(f) ? f.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (d.__v_emitter = V(f) ? f.__v_emitter : void 0);
2773
2734
  const O = Fo(d);
2774
- return r && wn(O), O;
2735
+ return r && Un(O), O;
2775
2736
  })(), He(f, c.value, u.value);
2776
2737
  function F() {
2777
2738
  return [
@@ -2787,7 +2748,7 @@ function sa(e = {}) {
2787
2748
  set: (d) => {
2788
2749
  f.locale = d, c.value = d;
2789
2750
  }
2790
- }), C = ge({
2751
+ }), A = ge({
2791
2752
  get: () => u.value,
2792
2753
  set: (d) => {
2793
2754
  f.fallbackLocale = d, u.value = d, He(f, c.value, d);
@@ -2803,7 +2764,7 @@ function sa(e = {}) {
2803
2764
  return P;
2804
2765
  }
2805
2766
  function _e(d) {
2806
- d !== null && (_ = qn(d)), P = d, f.missing = _;
2767
+ d !== null && (_ = Jn(d)), P = d, f.missing = _;
2807
2768
  }
2808
2769
  function Z(d, O) {
2809
2770
  return d !== "translate" || !O.resolvedMessage;
@@ -2817,14 +2778,14 @@ function sa(e = {}) {
2817
2778
  process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (f.fallbackContext = void 0);
2818
2779
  }
2819
2780
  if (W !== "translate exists" && // for not `te` (e.g `t`)
2820
- J(Pe) && Pe === Tt || W === "translate exists" && !Pe) {
2821
- const [be, Rr] = O();
2822
- if (process.env.NODE_ENV !== "production" && t && D(be) && Z(W, Rr) && (R && (It(v, be) || Or(g, be)) && ue(Et(ce.FALLBACK_TO_ROOT, {
2781
+ q(Pe) && Pe === Tt || W === "translate exists" && !Pe) {
2782
+ const [be, kr] = O();
2783
+ if (process.env.NODE_ENV !== "production" && t && y(be) && Z(W, kr) && (R && (It(v, be) || Lr(g, be)) && ue(mt(ce.FALLBACK_TO_ROOT, {
2823
2784
  key: be,
2824
2785
  type: W
2825
2786
  })), process.env.NODE_ENV !== "production")) {
2826
- const { __v_emitter: mn } = f;
2827
- mn && R && mn.emit("fallback", {
2787
+ const { __v_emitter: pn } = f;
2788
+ pn && R && pn.emit("fallback", {
2828
2789
  type: W,
2829
2790
  key: be,
2830
2791
  to: "global",
@@ -2835,29 +2796,29 @@ function sa(e = {}) {
2835
2796
  } else {
2836
2797
  if (tt(Pe))
2837
2798
  return Pe;
2838
- throw qe(Q.UNEXPECTED_RETURN_TYPE);
2799
+ throw Qe(J.UNEXPECTED_RETURN_TYPE);
2839
2800
  }
2840
2801
  };
2841
2802
  function $e(...d) {
2842
- return de((O) => Reflect.apply(jn, null, [O, ...d]), () => qt(...d), "translate", (O) => Reflect.apply(O.t, O, [...d]), (O) => O, (O) => D(O));
2803
+ return de((O) => Reflect.apply(Bn, null, [O, ...d]), () => Qt(...d), "translate", (O) => Reflect.apply(O.t, O, [...d]), (O) => O, (O) => y(O));
2843
2804
  }
2844
- function At(...d) {
2805
+ function Ct(...d) {
2845
2806
  const [O, W, j] = d;
2846
2807
  if (j && !$(j))
2847
- throw qe(Q.INVALID_ARGUMENT);
2848
- return $e(O, W, q({ resolvedMessage: !0 }, j || {}));
2808
+ throw Qe(J.INVALID_ARGUMENT);
2809
+ return $e(O, W, Q({ resolvedMessage: !0 }, j || {}));
2849
2810
  }
2850
- function Ct(...d) {
2851
- return de((O) => Reflect.apply($n, null, [O, ...d]), () => Xt(...d), "datetime format", (O) => Reflect.apply(O.d, O, [...d]), () => mt, (O) => D(O) || K(O));
2811
+ function At(...d) {
2812
+ return de((O) => Reflect.apply(Wn, null, [O, ...d]), () => Xt(...d), "datetime format", (O) => Reflect.apply(O.d, O, [...d]), () => dt, (O) => y(O) || K(O));
2852
2813
  }
2853
2814
  function vt(...d) {
2854
- return de((O) => Reflect.apply(Yn, null, [O, ...d]), () => Jt(...d), "number format", (O) => Reflect.apply(O.n, O, [...d]), () => mt, (O) => D(O) || K(O));
2815
+ return de((O) => Reflect.apply(Yn, null, [O, ...d]), () => qt(...d), "number format", (O) => Reflect.apply(O.n, O, [...d]), () => dt, (O) => y(O) || K(O));
2855
2816
  }
2856
- function yt(d) {
2857
- return d.map((O) => D(O) || J(O) || B(O) ? Bn(String(O)) : O);
2817
+ function St(d) {
2818
+ return d.map((O) => y(O) || q(O) || B(O) ? Kn(String(O)) : O);
2858
2819
  }
2859
- const Dt = {
2860
- normalize: yt,
2820
+ const yt = {
2821
+ normalize: St,
2861
2822
  interpolate: (d) => d,
2862
2823
  type: "vnode"
2863
2824
  };
@@ -2866,33 +2827,33 @@ function sa(e = {}) {
2866
2827
  let W;
2867
2828
  const j = O;
2868
2829
  try {
2869
- j.processor = Dt, W = Reflect.apply(jn, null, [j, ...d]);
2830
+ j.processor = yt, W = Reflect.apply(Bn, null, [j, ...d]);
2870
2831
  } finally {
2871
2832
  j.processor = null;
2872
2833
  }
2873
2834
  return W;
2874
- }, () => qt(...d), "translate", (O) => O[Qt](...d), (O) => [Bn(O)], (O) => K(O));
2835
+ }, () => Qt(...d), "translate", (O) => O[Jt](...d), (O) => [Kn(O)], (O) => K(O));
2875
2836
  }
2876
- function St(...d) {
2877
- return de((O) => Reflect.apply(Yn, null, [O, ...d]), () => Jt(...d), "number format", (O) => O[zt](...d), Xn, (O) => D(O) || K(O));
2837
+ function Dt(...d) {
2838
+ return de((O) => Reflect.apply(Yn, null, [O, ...d]), () => qt(...d), "number format", (O) => O[zt](...d), qn, (O) => y(O) || K(O));
2878
2839
  }
2879
2840
  function et(...d) {
2880
- return de((O) => Reflect.apply($n, null, [O, ...d]), () => Xt(...d), "datetime format", (O) => O[Zt](...d), Xn, (O) => D(O) || K(O));
2841
+ return de((O) => Reflect.apply(Wn, null, [O, ...d]), () => Xt(...d), "datetime format", (O) => O[Zt](...d), qn, (O) => y(O) || K(O));
2881
2842
  }
2882
2843
  function Pt(d) {
2883
- A = d, f.pluralRules = A;
2844
+ C = d, f.pluralRules = C;
2884
2845
  }
2885
2846
  function Rt(d, O) {
2886
2847
  return de(() => {
2887
2848
  if (!d)
2888
2849
  return !1;
2889
- const W = D(O) ? O : c.value, j = Te(W), Ie = f.messageResolver(j, d);
2890
- return ae(Ie) || se(Ie) || D(Ie);
2850
+ const W = y(O) ? O : c.value, j = Te(W), Ie = f.messageResolver(j, d);
2851
+ return ae(Ie) || se(Ie) || y(Ie);
2891
2852
  }, () => [d], "translate exists", (W) => Reflect.apply(W.te, W, [d, O]), na, (W) => B(W));
2892
2853
  }
2893
2854
  function We(d) {
2894
2855
  let O = null;
2895
- const W = dr(f, u.value, c.value);
2856
+ const W = mr(f, u.value, c.value);
2896
2857
  for (let j = 0; j < W.length; j++) {
2897
2858
  const Ie = p.value[W[j]] || {}, tt = f.messageResolver(Ie, d);
2898
2859
  if (tt != null) {
@@ -2902,18 +2863,18 @@ function sa(e = {}) {
2902
2863
  }
2903
2864
  return O;
2904
2865
  }
2905
- function Ye(d) {
2866
+ function Ge(d) {
2906
2867
  const O = We(d);
2907
2868
  return O ?? (t ? t.tm(d) || {} : {});
2908
2869
  }
2909
2870
  function Te(d) {
2910
2871
  return p.value[d] || {};
2911
2872
  }
2912
- function Ge(d, O) {
2873
+ function Ye(d, O) {
2913
2874
  if (s) {
2914
2875
  const W = { [d]: O };
2915
2876
  for (const j in W)
2916
- oe(W, j) && Qe(W[j]);
2877
+ oe(W, j) && Je(W[j]);
2917
2878
  O = W[d];
2918
2879
  }
2919
2880
  p.value[d] = O, f.messages = p.value;
@@ -2923,36 +2884,36 @@ function sa(e = {}) {
2923
2884
  const W = { [d]: O };
2924
2885
  if (s)
2925
2886
  for (const j in W)
2926
- oe(W, j) && Qe(W[j]);
2887
+ oe(W, j) && Je(W[j]);
2927
2888
  O = W[d], ot(O, p.value[d]), f.messages = p.value;
2928
2889
  }
2929
2890
  function a(d) {
2930
2891
  return L.value[d] || {};
2931
2892
  }
2932
2893
  function l(d, O) {
2933
- L.value[d] = O, f.datetimeFormats = L.value, Wn(f, d, O);
2894
+ L.value[d] = O, f.datetimeFormats = L.value, Gn(f, d, O);
2934
2895
  }
2935
2896
  function N(d, O) {
2936
- L.value[d] = q(L.value[d] || {}, O), f.datetimeFormats = L.value, Wn(f, d, O);
2897
+ L.value[d] = Q(L.value[d] || {}, O), f.datetimeFormats = L.value, Gn(f, d, O);
2937
2898
  }
2938
- function S(d) {
2899
+ function D(d) {
2939
2900
  return T.value[d] || {};
2940
2901
  }
2941
- function G(d, O) {
2942
- T.value[d] = O, f.numberFormats = T.value, Gn(f, d, O);
2902
+ function Y(d, O) {
2903
+ T.value[d] = O, f.numberFormats = T.value, Hn(f, d, O);
2943
2904
  }
2944
2905
  function x(d, O) {
2945
- T.value[d] = q(T.value[d] || {}, O), f.numberFormats = T.value, Gn(f, d, O);
2906
+ T.value[d] = Q(T.value[d] || {}, O), f.numberFormats = T.value, Hn(f, d, O);
2946
2907
  }
2947
- Jn++, t && pe && (Gt(t.locale, (d) => {
2908
+ Qn++, t && pe && (Yt(t.locale, (d) => {
2948
2909
  i && (c.value = d, f.locale = d, He(f, c.value, u.value));
2949
- }), Gt(t.fallbackLocale, (d) => {
2910
+ }), Yt(t.fallbackLocale, (d) => {
2950
2911
  i && (u.value = d, f.fallbackLocale = d, He(f, c.value, u.value));
2951
2912
  }));
2952
2913
  const U = {
2953
- id: Jn,
2914
+ id: Qn,
2954
2915
  locale: b,
2955
- fallbackLocale: C,
2916
+ fallbackLocale: A,
2956
2917
  get inheritLocale() {
2957
2918
  return i;
2958
2919
  },
@@ -2967,7 +2928,7 @@ function sa(e = {}) {
2967
2928
  return I;
2968
2929
  },
2969
2930
  get pluralRules() {
2970
- return A || {};
2931
+ return C || {};
2971
2932
  },
2972
2933
  get isGlobal() {
2973
2934
  return r;
@@ -2991,10 +2952,10 @@ function sa(e = {}) {
2991
2952
  R = d;
2992
2953
  },
2993
2954
  get fallbackFormat() {
2994
- return y;
2955
+ return S;
2995
2956
  },
2996
2957
  set fallbackFormat(d) {
2997
- y = d, f.fallbackFormat = y;
2958
+ S = d, f.fallbackFormat = S;
2998
2959
  },
2999
2960
  get warnHtmlMessage() {
3000
2961
  return h;
@@ -3010,7 +2971,7 @@ function sa(e = {}) {
3010
2971
  },
3011
2972
  t: $e,
3012
2973
  getLocaleMessage: Te,
3013
- setLocaleMessage: Ge,
2974
+ setLocaleMessage: Ye,
3014
2975
  mergeLocaleMessage: kt,
3015
2976
  getPostTranslationHandler: he,
3016
2977
  setPostTranslationHandler: Ue,
@@ -3018,15 +2979,15 @@ function sa(e = {}) {
3018
2979
  setMissingHandler: _e,
3019
2980
  [zo]: Pt
3020
2981
  };
3021
- return U.datetimeFormats = X, U.numberFormats = fe, U.rt = At, U.te = Rt, U.tm = Ye, U.d = Ct, U.n = vt, U.getDateTimeFormat = a, U.setDateTimeFormat = l, U.mergeDateTimeFormat = N, U.getNumberFormat = S, U.setNumberFormat = G, U.mergeNumberFormat = x, U[Cr] = n, U[Qt] = ze, U[Zt] = et, U[zt] = St, process.env.NODE_ENV !== "production" && (U[en] = (d) => {
2982
+ return U.datetimeFormats = X, U.numberFormats = fe, U.rt = Ct, U.te = Rt, U.tm = Ge, U.d = At, U.n = vt, U.getDateTimeFormat = a, U.setDateTimeFormat = l, U.mergeDateTimeFormat = N, U.getNumberFormat = D, U.setNumberFormat = Y, U.mergeNumberFormat = x, U[vr] = n, U[Jt] = ze, U[Zt] = et, U[zt] = Dt, process.env.NODE_ENV !== "production" && (U[en] = (d) => {
3022
2983
  f.__v_emitter = d;
3023
2984
  }, U[tn] = () => {
3024
2985
  f.__v_emitter = void 0;
3025
2986
  }), U;
3026
2987
  }
3027
- function Qn(e, t) {
2988
+ function Zn(e, t) {
3028
2989
  }
3029
- const _n = {
2990
+ const mn = {
3030
2991
  tag: {
3031
2992
  type: [String, Object]
3032
2993
  },
@@ -3052,41 +3013,41 @@ function oa({ slots: e }, t) {
3052
3013
  ], []) : t.reduce((n, r) => {
3053
3014
  const s = e[r];
3054
3015
  return s && (n[r] = s()), n;
3055
- }, Y());
3016
+ }, G());
3056
3017
  }
3057
3018
  function Dr() {
3058
3019
  return it;
3059
3020
  }
3060
- q({
3021
+ Q({
3061
3022
  keypath: {
3062
3023
  type: String,
3063
3024
  required: !0
3064
3025
  },
3065
3026
  plural: {
3066
3027
  type: [Number, String],
3067
- validator: (e) => J(e) || !isNaN(e)
3028
+ validator: (e) => q(e) || !isNaN(e)
3068
3029
  }
3069
- }, _n);
3030
+ }, mn);
3070
3031
  function aa(e) {
3071
- return K(e) && !D(e[0]);
3032
+ return K(e) && !y(e[0]);
3072
3033
  }
3073
- function Sr(e, t, n, r) {
3034
+ function Pr(e, t, n, r) {
3074
3035
  const { slots: s, attrs: o } = t;
3075
3036
  return () => {
3076
3037
  const i = { part: !0 };
3077
- let c = Y();
3078
- e.locale && (i.locale = e.locale), D(e.format) ? i.key = e.format : $(e.format) && (D(e.format.key) && (i.key = e.format.key), c = Object.keys(e.format).reduce((g, v) => n.includes(v) ? q(Y(), g, { [v]: e.format[v] }) : g, Y()));
3038
+ let c = G();
3039
+ e.locale && (i.locale = e.locale), y(e.format) ? i.key = e.format : $(e.format) && (y(e.format.key) && (i.key = e.format.key), c = Object.keys(e.format).reduce((g, v) => n.includes(v) ? Q(G(), g, { [v]: e.format[v] }) : g, G()));
3079
3040
  const u = r(e.value, i, c);
3080
3041
  let p = [i.key];
3081
3042
  K(u) ? p = u.map((g, v) => {
3082
- const R = s[g.type], y = R ? R({ [g.type]: g.value, index: v, parts: u }) : [g.value];
3083
- return aa(y) && (y[0].key = `${g.type}-${v}`), y;
3084
- }) : D(u) && (p = [u]);
3085
- const L = q(Y(), o), T = D(e.tag) || $(e.tag) ? e.tag : Dr();
3086
- return Zn(T, L, p);
3043
+ const R = s[g.type], S = R ? R({ [g.type]: g.value, index: v, parts: u }) : [g.value];
3044
+ return aa(S) && (S[0].key = `${g.type}-${v}`), S;
3045
+ }) : y(u) && (p = [u]);
3046
+ const L = Q(G(), o), T = y(e.tag) || $(e.tag) ? e.tag : Dr();
3047
+ return tr(T, L, p);
3087
3048
  };
3088
3049
  }
3089
- q({
3050
+ Q({
3090
3051
  value: {
3091
3052
  type: Number,
3092
3053
  required: !0
@@ -3094,34 +3055,34 @@ q({
3094
3055
  format: {
3095
3056
  type: [String, Object]
3096
3057
  }
3097
- }, _n);
3058
+ }, mn);
3098
3059
  const ia = /* @__PURE__ */ Ne("global-vue-i18n");
3099
3060
  function bt(e = {}) {
3100
- const t = fn();
3061
+ const t = dn();
3101
3062
  if (t == null)
3102
- throw qe(Q.MUST_BE_CALL_SETUP_TOP);
3063
+ throw Qe(J.MUST_BE_CALL_SETUP_TOP);
3103
3064
  if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
3104
- throw qe(Q.NOT_INSTALLED);
3065
+ throw Qe(J.NOT_INSTALLED);
3105
3066
  const n = la(t), r = ua(n), s = yr(t), o = ca(e, s);
3106
3067
  if (o === "global")
3107
3068
  return ta(r, e, s), r;
3108
3069
  if (o === "parent") {
3109
3070
  let u = fa(n, t, e.__useComponent);
3110
- return u == null && (process.env.NODE_ENV !== "production" && ue(Et(ce.NOT_FOUND_PARENT_SCOPE)), u = r), u;
3071
+ return u == null && (process.env.NODE_ENV !== "production" && ue(mt(ce.NOT_FOUND_PARENT_SCOPE)), u = r), u;
3111
3072
  }
3112
3073
  const i = n;
3113
3074
  let c = i.__getInstance(t);
3114
3075
  if (c == null) {
3115
- const u = q({}, e);
3076
+ const u = Q({}, e);
3116
3077
  "__i18n" in s && (u.__i18n = s.__i18n), r && (u.__root = r), c = sa(u), i.__composerExtend && (c[nn] = i.__composerExtend(c)), da(i, t, c), i.__setInstance(t, c);
3117
3078
  } else
3118
- process.env.NODE_ENV !== "production" && o === "local" && ue(Et(ce.DUPLICATE_USE_I18N_CALLING));
3079
+ process.env.NODE_ENV !== "production" && o === "local" && ue(mt(ce.DUPLICATE_USE_I18N_CALLING));
3119
3080
  return c;
3120
3081
  }
3121
3082
  function la(e) {
3122
3083
  const t = at(e.isCE ? ia : e.appContext.app.__VUE_I18N_SYMBOL__);
3123
3084
  if (!t)
3124
- throw qe(e.isCE ? Q.NOT_INSTALLED_WITH_PROVIDE : Q.UNEXPECTED_ERROR);
3085
+ throw Qe(e.isCE ? J.NOT_INSTALLED_WITH_PROVIDE : J.UNEXPECTED_ERROR);
3125
3086
  return t;
3126
3087
  }
3127
3088
  function ca(e, t) {
@@ -3140,7 +3101,7 @@ function fa(e, t, n = !1) {
3140
3101
  r = i.__getInstance(o);
3141
3102
  else if (__VUE_I18N_LEGACY_API__) {
3142
3103
  const c = i.__getInstance(o);
3143
- c != null && (r = c.__composer, n && r && !r[Cr] && (r = null));
3104
+ c != null && (r = c.__composer, n && r && !r[vr] && (r = null));
3144
3105
  }
3145
3106
  if (r != null || s === o)
3146
3107
  break;
@@ -3153,20 +3114,20 @@ function _a(e, t = !1) {
3153
3114
  }
3154
3115
  function da(e, t, n) {
3155
3116
  let r = null;
3156
- Jr(() => {
3117
+ Qr(() => {
3157
3118
  if (process.env.NODE_ENV !== "production") {
3158
3119
  t.__VUE_I18N__ = n, r = gs();
3159
3120
  const s = n;
3160
- s[en] && s[en](r), r.on("*", Qn);
3121
+ s[en] && s[en](r), r.on("*", Zn);
3161
3122
  }
3162
- }, t), qr(() => {
3123
+ }, t), Jr(() => {
3163
3124
  const s = n;
3164
- process.env.NODE_ENV !== "production" && (r && r.off("*", Qn), s[tn] && s[tn](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3125
+ process.env.NODE_ENV !== "production" && (r && r.off("*", Zn), s[tn] && s[tn](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3165
3126
  const o = s[nn];
3166
3127
  o && (o(), delete s[nn]);
3167
3128
  }, t);
3168
3129
  }
3169
- q({
3130
+ Q({
3170
3131
  value: {
3171
3132
  type: [Number, Date],
3172
3133
  required: !0
@@ -3174,34 +3135,34 @@ q({
3174
3135
  format: {
3175
3136
  type: [String, Object]
3176
3137
  }
3177
- }, _n);
3178
- Qo();
3179
- Do(ao);
3180
- So(bo);
3181
- Po(dr);
3138
+ }, mn);
3139
+ Jo();
3140
+ yo(ao);
3141
+ Do(bo);
3142
+ Po(mr);
3182
3143
  if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
3183
- const e = Ce();
3144
+ const e = Ae();
3184
3145
  e.__INTLIFY__ = !0, io(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
3185
3146
  }
3186
3147
  process.env.NODE_ENV;
3187
- let pt = null;
3188
- function ya(e) {
3189
- if (pt !== null) {
3148
+ let Et = null;
3149
+ function $a(e) {
3150
+ if (Et !== null) {
3190
3151
  console.warn(
3191
3152
  "[LinID CoreLib] I18n has already been initialized. Re-initialization is ignored."
3192
3153
  );
3193
3154
  return;
3194
3155
  }
3195
- pt = e;
3156
+ Et = e;
3196
3157
  }
3197
3158
  function ma() {
3198
- if (pt === null)
3159
+ if (Et === null)
3199
3160
  throw new Error(
3200
3161
  "[LinID CoreLib] I18n is not initialized. Call setI18nInstance() first."
3201
3162
  );
3202
- return pt;
3163
+ return Et;
3203
3164
  }
3204
- function Da(e) {
3165
+ function Wa(e) {
3205
3166
  const { t } = bt({
3206
3167
  useScope: "global",
3207
3168
  __i18n: ma().global
@@ -3212,8 +3173,174 @@ function Da(e) {
3212
3173
  }
3213
3174
  return { t: n };
3214
3175
  }
3176
+ let pt = null;
3177
+ function Ga(e) {
3178
+ if (pt !== null) {
3179
+ console.warn(
3180
+ "[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
3181
+ );
3182
+ return;
3183
+ }
3184
+ pt = e;
3185
+ }
3186
+ function Ea() {
3187
+ if (pt === null)
3188
+ throw new Error(
3189
+ "[LinID CoreLib] UI Design is not initialized. Call setUiDesign() first."
3190
+ );
3191
+ return pt;
3192
+ }
3193
+ const pa = [
3194
+ "icon",
3195
+ "iconRight",
3196
+ "noCaps",
3197
+ "noWrap",
3198
+ "align",
3199
+ "stack",
3200
+ "stretch",
3201
+ "size",
3202
+ "outline",
3203
+ "flat",
3204
+ "unelevated",
3205
+ "rounded",
3206
+ "push",
3207
+ "square",
3208
+ "glossy",
3209
+ "fab",
3210
+ "fabMini",
3211
+ "padding",
3212
+ "color",
3213
+ "textColor",
3214
+ "dense",
3215
+ "ripple",
3216
+ "round"
3217
+ ], Na = [
3218
+ "vertical",
3219
+ "outsideArrows",
3220
+ "mobileArrows",
3221
+ "align",
3222
+ "breakpoint",
3223
+ "leftIcon",
3224
+ "rightIcon",
3225
+ "stretch",
3226
+ "shrink",
3227
+ "switchIndicator",
3228
+ "narrowIndicator",
3229
+ "inlineLabel",
3230
+ "noCaps",
3231
+ "activeColor",
3232
+ "activeBgColor",
3233
+ "indicatorColor",
3234
+ "contentClass",
3235
+ "activeClass",
3236
+ "dense"
3237
+ ], ga = [
3238
+ "icon",
3239
+ "activeClass",
3240
+ "exactActiveClass",
3241
+ "noCaps",
3242
+ "alert",
3243
+ "contentClass",
3244
+ "ripple"
3245
+ ], Oa = [
3246
+ "reveal",
3247
+ "revealOffset",
3248
+ "elevated",
3249
+ "bordered"
3250
+ ], La = ["inset"], ha = ["shrink"], Ta = [
3251
+ "icon",
3252
+ "size",
3253
+ "fontSize",
3254
+ "color",
3255
+ "textColor",
3256
+ "square",
3257
+ "rounded"
3258
+ ], Ia = [
3259
+ "floating",
3260
+ "multiLine",
3261
+ "align",
3262
+ "color",
3263
+ "textColor",
3264
+ "transparent",
3265
+ "outline",
3266
+ "rounded"
3267
+ ], ba = [
3268
+ "virtualScrollItemSize",
3269
+ "virtualScrollStickySizeStart",
3270
+ "virtualScrollStickySizeEnd",
3271
+ "color",
3272
+ "iconFirstPage",
3273
+ "iconPrevPage",
3274
+ "iconNextPage",
3275
+ "iconLastPage",
3276
+ "grid",
3277
+ "gridHeader",
3278
+ "dense",
3279
+ "hideHeader",
3280
+ "hideBottom",
3281
+ "hideSelectedBanner",
3282
+ "hideNoData",
3283
+ "hidePagination",
3284
+ "flat",
3285
+ "bordered",
3286
+ "square",
3287
+ "separator",
3288
+ "wrapCells",
3289
+ "tableStyle",
3290
+ "tableClass",
3291
+ "tableHeaderStyle",
3292
+ "tableHeaderClass",
3293
+ "cardContainerStyle",
3294
+ "cardContainerClass",
3295
+ "cardStyle",
3296
+ "cardClass",
3297
+ "titleClass"
3298
+ ], zn = {
3299
+ "q-btn": pa,
3300
+ "q-tabs": Na,
3301
+ "q-route-tab": ga,
3302
+ "q-header": Oa,
3303
+ "q-toolbar": La,
3304
+ "q-toolbar-title": ha,
3305
+ "q-avatar": Ta,
3306
+ "q-badge": Ia,
3307
+ "q-table": ba
3308
+ };
3309
+ function er(e, t) {
3310
+ return t.split(".").reduce((n, r) => {
3311
+ if (n && typeof n == "object")
3312
+ return n[r];
3313
+ }, e);
3314
+ }
3315
+ function Ca(e, t, n) {
3316
+ let r = er(e, `${t}.${n}`);
3317
+ if (r === void 0 && (r = er(e, `default.${n}`)), typeof r == "object")
3318
+ throw new Error(
3319
+ `[UiDesign] Value for '${t}.${n}' is a nested object or null, expected a primitive.`
3320
+ );
3321
+ return r;
3322
+ }
3323
+ function Aa(e) {
3324
+ if (!(e in zn))
3325
+ throw new Error(
3326
+ `[UiDesign] The component '${e}' is not supported for UI design retrieval.`
3327
+ );
3328
+ return zn[e];
3329
+ }
3330
+ function Ya() {
3331
+ const e = ge(() => Ea());
3332
+ function t(n, r, s) {
3333
+ const o = Aa(r), i = {};
3334
+ for (const c of o) {
3335
+ const u = s?.[c] ?? Ca(e.value, n, `${r}.${String(c)}`);
3336
+ u !== void 0 && (i[c] = u);
3337
+ }
3338
+ return i;
3339
+ }
3340
+ return { ui: t };
3341
+ }
3215
3342
  let Nt = null;
3216
- function Sa(e) {
3343
+ function Ha(e) {
3217
3344
  if (Nt !== null) {
3218
3345
  console.warn(
3219
3346
  "[LinID CoreLib] HTTP client has already been initialized. Re-initialization is ignored."
@@ -3222,22 +3349,22 @@ function Sa(e) {
3222
3349
  }
3223
3350
  Nt = e;
3224
3351
  }
3225
- function Se() {
3352
+ function De() {
3226
3353
  if (Nt === null)
3227
3354
  throw new Error(
3228
3355
  "[LinID CoreLib] HTTP client is not initialized. Call setHttpClient() first."
3229
3356
  );
3230
3357
  return Nt;
3231
3358
  }
3232
- async function Ea() {
3233
- return (await Se().get("/metadata/entities")).data;
3359
+ async function va() {
3360
+ return (await De().get("/metadata/entities")).data;
3234
3361
  }
3235
- async function pa() {
3236
- return (await Se().get(
3362
+ async function Sa() {
3363
+ return (await De().get(
3237
3364
  "/metadata/routes"
3238
3365
  )).data;
3239
3366
  }
3240
- const Pa = () => Na(nr()), Na = /* @__PURE__ */ tr("LinidConfigurationStore", {
3367
+ const xa = () => ya(on()), ya = /* @__PURE__ */ sn("LinidConfigurationStore", {
3241
3368
  state: () => ({
3242
3369
  entities: [],
3243
3370
  apiEndpoints: [],
@@ -3268,8 +3395,8 @@ const Pa = () => Na(nr()), Na = /* @__PURE__ */ tr("LinidConfigurationStore", {
3268
3395
  this.loading = !0, this.error = null;
3269
3396
  try {
3270
3397
  const [e, t] = await Promise.all([
3271
- Ea(),
3272
- pa()
3398
+ va(),
3399
+ Sa()
3273
3400
  ]);
3274
3401
  this.entities = e, this.apiEndpoints = t;
3275
3402
  } catch (e) {
@@ -3279,49 +3406,62 @@ const Pa = () => Na(nr()), Na = /* @__PURE__ */ tr("LinidConfigurationStore", {
3279
3406
  }
3280
3407
  }
3281
3408
  }
3282
- }), Pr = /* @__PURE__ */ new Map();
3283
- function Ra(e) {
3284
- Pr.set(e.instanceId, e);
3409
+ }), ja = () => Da(on()), Da = /* @__PURE__ */ sn("LinidUiStore", {
3410
+ state: () => ({
3411
+ mainNavigationItems: []
3412
+ }),
3413
+ actions: {
3414
+ /**
3415
+ * Add items to the main navigation menu.
3416
+ * @param items - The navigation menu items to add.
3417
+ */
3418
+ addMainNavigationMenuItems(...e) {
3419
+ this.mainNavigationItems.push(...e);
3420
+ }
3421
+ }
3422
+ }), Rr = /* @__PURE__ */ new Map();
3423
+ function Ba(e) {
3424
+ Rr.set(e.instanceId, e);
3285
3425
  }
3286
3426
  function Ze(e) {
3287
- const t = Pr.get(e);
3427
+ const t = Rr.get(e);
3288
3428
  if (!t)
3289
3429
  throw new Error(
3290
3430
  `[LinID CoreLib] No module host configuration found for instanceId: ${e}`
3291
3431
  );
3292
3432
  return t;
3293
3433
  }
3294
- async function ka(e, t) {
3434
+ async function Ka(e, t) {
3295
3435
  const n = Ze(e);
3296
- return Se().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
3436
+ return De().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
3297
3437
  }
3298
- async function Ma(e, t, n) {
3438
+ async function Xa(e, t, n) {
3299
3439
  const r = Ze(e);
3300
- return Se().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: s }) => s);
3440
+ return De().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: s }) => s);
3301
3441
  }
3302
- async function Fa(e, t, n) {
3442
+ async function qa(e, t, n) {
3303
3443
  const r = Ze(e);
3304
- return Se().get(`/${r.apiEndpoint}`, {
3444
+ return De().get(`/${r.apiEndpoint}`, {
3305
3445
  params: { ...t, ...n }
3306
3446
  }).then(({ data: s }) => s);
3307
3447
  }
3308
- async function wa(e, t) {
3448
+ async function Qa(e, t) {
3309
3449
  const n = Ze(e);
3310
- return Se().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
3450
+ return De().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
3311
3451
  }
3312
- async function Ua(e, t) {
3452
+ async function Ja(e, t) {
3313
3453
  const n = Ze(e);
3314
- return Se().delete(`/${n.apiEndpoint}/${t}`);
3454
+ return De().delete(`/${n.apiEndpoint}/${t}`);
3315
3455
  }
3316
- function ga(e, t) {
3456
+ function Pa(e, t) {
3317
3457
  if (!gt(e) || !gt(t))
3318
3458
  return t;
3319
3459
  const n = { ...e };
3320
3460
  for (const r of Object.keys(t))
3321
- n[r] = ga(e[r], t[r]);
3461
+ n[r] = Pa(e[r], t[r]);
3322
3462
  return n;
3323
3463
  }
3324
- function Va(e) {
3464
+ function Za(e) {
3325
3465
  const t = {};
3326
3466
  for (const [n, r] of Object.entries(e)) {
3327
3467
  const s = n.split(".");
@@ -3335,16 +3475,16 @@ function Va(e) {
3335
3475
  function gt(e) {
3336
3476
  return typeof e == "object" && e !== null && !Array.isArray(e);
3337
3477
  }
3338
- function Oa(e, t) {
3478
+ function Ra(e, t) {
3339
3479
  return typeof e != "object" || e === null ? e : Object.fromEntries(
3340
3480
  Object.entries(e).map(([n, r]) => {
3341
- const s = t(n), o = gt(r) ? Oa(r, t) : r;
3481
+ const s = t(n), o = gt(r) ? Ra(r, t) : r;
3342
3482
  return [s, o];
3343
3483
  })
3344
3484
  );
3345
3485
  }
3346
- var La = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(La || {});
3347
- class $a {
3486
+ var ka = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(ka || {});
3487
+ class za {
3348
3488
  /**
3349
3489
  * Unique identifier for the module.
3350
3490
  *
@@ -3404,13 +3544,14 @@ class $a {
3404
3544
  * Initialize phase - register stores and initialize resources.
3405
3545
  *
3406
3546
  * This is called after configuration.
3407
- * Use it to register Pinia stores and initialize module resources.
3547
+ * Use it to initialize module resources.
3408
3548
  *
3409
3549
  * Default implementation returns success.
3410
3550
  * Override this method to add custom initialization logic.
3551
+ * @param config - Module-specific configuration from host.
3411
3552
  * @returns Promise resolving to the lifecycle result.
3412
3553
  */
3413
- async initialize() {
3554
+ async initialize(t) {
3414
3555
  return { success: !0 };
3415
3556
  }
3416
3557
  /**
@@ -3421,9 +3562,10 @@ class $a {
3421
3562
  *
3422
3563
  * Default implementation returns success.
3423
3564
  * Override this method to add custom ready logic.
3565
+ * @param config - Module-specific configuration from host.
3424
3566
  * @returns Promise resolving to the lifecycle result.
3425
3567
  */
3426
- async ready() {
3568
+ async ready(t) {
3427
3569
  return { success: !0 };
3428
3570
  }
3429
3571
  /**
@@ -3434,41 +3576,43 @@ class $a {
3434
3576
  *
3435
3577
  * Default implementation returns success.
3436
3578
  * Override this method to add custom post-init logic.
3579
+ * @param config - Module-specific configuration from host.
3437
3580
  * @returns Promise resolving to the lifecycle result.
3438
3581
  */
3439
- async postInit() {
3582
+ async postInit(t) {
3440
3583
  return { success: !0 };
3441
3584
  }
3442
3585
  }
3443
3586
  export {
3444
- $a as BasicRemoteModule,
3445
- ba as LinidZoneRenderer,
3446
- La as ModuleLifecyclePhase,
3447
- Ua as deleteEntityById,
3448
- Va as fromDot,
3449
- Fa as getEntities,
3450
- wa as getEntityById,
3451
- Se as getHttpClient,
3587
+ za as BasicRemoteModule,
3588
+ Ua as LinidZoneRenderer,
3589
+ ka as ModuleLifecyclePhase,
3590
+ Ja as deleteEntityById,
3591
+ Za as fromDot,
3592
+ qa as getEntities,
3593
+ Qa as getEntityById,
3594
+ De as getHttpClient,
3452
3595
  ma as getI18nInstance,
3453
- zr as getModuleFederation,
3596
+ es as getModuleFederation,
3454
3597
  Ze as getModuleHostConfiguration,
3455
- nr as getPiniaStore,
3456
- as as getUiDesign,
3598
+ on as getPiniaStore,
3599
+ Ea as getUiDesign,
3457
3600
  gt as isObject,
3458
- es as loadAsyncComponent,
3459
- ga as merge,
3460
- Ra as registerModuleHostConfiguration,
3461
- Oa as renameKeys,
3462
- ka as saveEntity,
3463
- Sa as setHttpClient,
3464
- ya as setI18nInstance,
3465
- Ta as setModuleFederation,
3466
- Ia as setPiniaStore,
3467
- Ca as setUiDesign,
3468
- Ma as updateEntity,
3469
- Pa as useLinidConfigurationStore,
3470
- ss as useLinidZoneStore,
3471
- Aa as usePagination,
3472
- Da as useScopedI18n,
3473
- va as useUiDesign
3601
+ ts as loadAsyncComponent,
3602
+ Pa as merge,
3603
+ Ba as registerModuleHostConfiguration,
3604
+ Ra as renameKeys,
3605
+ Ka as saveEntity,
3606
+ Ha as setHttpClient,
3607
+ $a as setI18nInstance,
3608
+ Fa as setModuleFederation,
3609
+ wa as setPiniaStore,
3610
+ Ga as setUiDesign,
3611
+ Xa as updateEntity,
3612
+ xa as useLinidConfigurationStore,
3613
+ ja as useLinidUiStore,
3614
+ os as useLinidZoneStore,
3615
+ Va as usePagination,
3616
+ Wa as useScopedI18n,
3617
+ Ya as useUiDesign
3474
3618
  };